feat(web): add transcript export to the session menu#87
Merged
Conversation
Serialize the derived transcript rows to Markdown or JSON from the session context menu. The draft rows the screen shows are the export content, with a provenance header that records the host, model, freshness, and any completeness warnings. Markdown caps long tool output; JSON carries the rows verbatim. SessionMain hands the menu a row getter through a ref, so no second runtime subscription is needed.
Collaborator
|
Made a few more quick changes:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What this changes
Implements the export row of FEATURE_MATRIX §3 (Markdown and JSON formats; HTML and a native save dialog are not included).
Verification
pnpm checkpasses: release contract, provenance, lint, typecheck.pnpm --filter @t4-code/web testpasses: 74 files, 1094 tests. The 15 new tests cover the header warnings, every row kind, the output cap, unknown-entry preservation, JSON fidelity, and filename rules.Checklist
pnpm checkpasses (release contract, provenance, lint, typecheck)pnpm testpasses; new behavior has a test that fails without this change (ran the@t4-code/websuite; the knownpackages/clienttranscript-retention failure on main is unrelated)THIRD_PARTY_NOTICES.md(no ported files touched)