Add JSON chat history export with full metadata - #1378
mikemikimike wants to merge 2 commits into
Conversation
nc-review: comments — 1 important, 1 nit@mikemikimike — a few things worth a look, none blocking. Adds 🟠 important · The lazy-registry entry for ⚪ nit ·
🔴 blocking · 🟠 a reviewer would ask for a change · ⚪ optional Automated code review — correctness, security, design, tests, plus duplicates and scope. A human still decides; this is not a substitute for review and is not exhaustive. The required status checks separately cover lint, formatting, types, unused dependencies, the test suite and the build. This bot never merges. Maintainers can rerun with |
|
/re-review |
Summary
/export --jsonsupport with a generated JSON filename..jsonfilenames as JSON exports while preserving Markdown exports.Message[]transcript and include session date, provider, model, token count, and session working directory metadata.Tests
pnpm exec ava source/commands/export.spec.tsx(32 passed)pnpm run test:formatpnpm run test:typespnpm run test:types:vscodepnpm run test:lintpnpm run test:knippnpm run test:auditpnpm exec changeset statuspnpm run test:avais not clean on Windows because of existing platform-specific failures; all export command tests pass.Fixes #1309
Issue: #1309