diff --git a/src/main/native-chat/agent-session-journal/journal-file-format-remnant.ts b/src/main/native-chat/agent-session-journal/journal-file-format-remnant.ts index a2d24800c62..69dcc04bf64 100644 --- a/src/main/native-chat/agent-session-journal/journal-file-format-remnant.ts +++ b/src/main/native-chat/agent-session-journal/journal-file-format-remnant.ts @@ -53,7 +53,7 @@ export function journalFileFormatRemnantDisclosure(input: { `This chat's history was saved in an older format Orca no longer reads, so it starts ` + `empty. The session still points at the same ${formatAgentTypeLabel(input.agent)} ` + `conversation — send a message to pick up where you left off. The original ` + - `transcript is on the session's host at ${input.transcriptPath}` + `transcript is on the session's host at \`${input.transcriptPath}\`` ) } } diff --git a/src/main/native-chat/agent-session-journal/journal-store-open.ts b/src/main/native-chat/agent-session-journal/journal-store-open.ts index 0aaf699302c..721e5f4ba7f 100644 --- a/src/main/native-chat/agent-session-journal/journal-store-open.ts +++ b/src/main/native-chat/agent-session-journal/journal-store-open.ts @@ -9,10 +9,7 @@ import { journalRepairDisclosure, type JournalRepairDisclosure } from './journal /** What any of this file's disclosures hands the store — a repair's, or the * pre-SQLite notice's. Same shape, and neither is only a repair. */ -type JournalDisclosure = { - identity: JournalRepairDisclosure['identity'] - body: JournalRepairDisclosure['body'] -} +type JournalDisclosure = JournalRepairDisclosure export async function ensureJournalDir(journalDir: string): Promise { await mkdir(journalDir, { recursive: true }) diff --git a/src/main/native-chat/agent-session-wire/structured-agent-session-read-restore.test.ts b/src/main/native-chat/agent-session-wire/structured-agent-session-read-restore.test.ts index e4cdc4bc526..34e3fb8a4cf 100644 --- a/src/main/native-chat/agent-session-wire/structured-agent-session-read-restore.test.ts +++ b/src/main/native-chat/agent-session-wire/structured-agent-session-read-restore.test.ts @@ -85,7 +85,7 @@ describe('a session whose journal is still the pre-SQLite format', () => { expect(restored!.hasProviderChild).toBe(false) }) - it('is published for a compacted remnant too, which has no log beside it', async () => { + it('is published for a remnant whose log is gone', async () => { await writeRemnant('snapshot.json') const restored = await restoreStructuredAgentSessionRead(store, journalRoot, SESSION_ID)