GeezerVison is showing github.com — feat(web): export thread transcripts to Markdown by adampeterhiggins · Pull Request #87 · adampeterhiggins/t3code
Conversation
There was no way to get a thread's conversation out of T3 Code to bring it into another app.
How it works
- Export transcript… now appears in the shared thread action menu (sidebar thread rows, sidebar tab rows, and the chat header menu), in the legacy sidebar menu, and as Export transcript in the command palette.
- The dialog loads the full thread over HTTP (
loadFullThreadSnapshot), so it works for threads that aren't open, and for remote/relay environments through the same authenticated request path the thread view uses.
- When the thread has more than one chat tab, a picker in the options bar chooses which tab to export. It starts on the tab the dialog was opened from, and each tab loads once.
- It previews the Markdown live:
- Concise | Full: Concise keeps user prompts and assistant replies. Full also adds work-log entries (commands, tool calls, changed files) and proposed plans, in time order. Reasoning and system messages are always left out.
- Header: adds YAML front matter with thread, project, branch, provider, model, created and exported dates.
- A footer shows the suggested file name, message and tool-call counts, and a rough token estimate.
- Save… writes the file on the device running the client, never on the server:
- Desktop: new
saveTextFile IPC with the native save dialog. The success toast offers "Reveal in Finder", and it can only reveal a file this process just saved.
- Chromium browsers:
showSaveFilePicker.
- Other browsers: a normal download.
- Copy puts the same Markdown on the clipboard.
- Detail and Header choices are remembered for the rest of the session.
Surfaces
- Web and desktop: supported.
- Mobile: not in this PR.
- No keybinding has been added.
- Docs:
docs/fork-differences.md and docs/user/thread-sidebar.md are updated.
Verification
- New tests:
apps/web/src/lib/threadTranscript.test.ts: concise and full output, header, context-chip labels, attachments, file names.
apps/desktop/src/ipc/methods/window.test.ts: saving writes the chosen file, cancel writes nothing, reveal is limited to saved paths.
- Updated
threadActionMenu.logic.test.ts for the new menu item.
tsc --noEmit passes for contracts, client-runtime, desktop and web; lint is clean on the new files.
- Not yet exercised in a running client, so there are no screenshots here yet.
🤖 Generated with Claude Code
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Adds "Export transcript…" to the thread action menu (sidebar rows, tab
rows, chat header), the legacy sidebar, and the command palette. The
dialog loads the full thread, previews it as Markdown in Concise or Full
detail with an optional front matter header, and either saves a .md file
on the client device or copies it to the clipboard.
Desktop saves through a new native save-dialog IPC and can reveal the
saved file; browsers use the save picker where available and fall back
to a download.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This was referenced Oct 25, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|