GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(web): export thread transcripts to Markdown by adampeterhiggins · Pull Request #87 · adampeterhiggins/t3code

Conversation

@adampeterhiggins

@adampeterhiggins adampeterhiggins commented Sep 30, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Owner

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.

All reactions
adampeterhiggins and others added 2 commits September 30, 2026 15:52
@adampeterhiggins @claude
feat(web): export thread transcripts to Markdown
4ca776d
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]>
@adampeterhiggins @claude
feat(web): pick which chat tab a transcript exports
7afee62
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@adampeterhiggins
adampeterhiggins merged commit a02770d into main Sep 30, 2026
@adampeterhiggins adampeterhiggins mentioned this pull request Oct 5, 2026
feat: transcript export, conversation import picker, and subagent worktree setup on v2 #153
Merged
This was referenced Oct 25, 2026
chore(sync): merge upstream/main through e57c093cdd #488
Merged
merge upstream/main into fork #502
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

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.

1 participant

@adampeterhiggins
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.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.