Import Augment (Augument) chat exports (Vibe Kanban)#1
Merged
abgyjaguo merged 1 commit intovk/d466-gh-3-support-impfrom Jan 10, 2026
Merged
Import Augment (Augument) chat exports (Vibe Kanban)#1abgyjaguo merged 1 commit intovk/d466-gh-3-support-impfrom
abgyjaguo merged 1 commit intovk/d466-gh-3-support-impfrom
Conversation
…e_transcripts/__init__.py:548` (see `_parse_augment_export_data` at `src/claude_code_transcripts/__init__.py:704`) so `claude-code-transcripts json <export>.json` produces normalized `loglines`. - Added a real-ish fixture + tests + HTML check: `tests/sample_augment_export.json:1`, `tests/test_augment_format.py:1`. - Added `black` to dev deps so `uv run black .` works: `pyproject.toml:35`. Run: - `uv run pytest` - `uv run claude-code-transcripts json path/to/augment-export.json -o out --open`
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
abgyjaguo
pushed a commit
that referenced
this pull request
Jan 11, 2026
@cct_issue_binding Issue: #1 Context: - Parse Cursor export format into normalized loglines Acceptance criteria: - [ ] Parsing works for real exports - [ ] Tests/fixtures added - [ ] HTML output renders correctly @cct_new_format_support @cct_tdd @cct_dev_commands @cct_pr_checklist
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
{ loglines: [...] }format used by the HTML renderer.blackto the dev dependency group souv run black .works in this repo.Why
Issue #3 asks for importing Augment exports and rendering them correctly in the existing HTML transcript output. This enables using
claude-code-transcripts json <export>.jsonon Augment exports the same way we already support Claude Code JSON/JSONL and Codex CLI JSONL.Implementation details
parse_session_file()now:loglinesis presentmessages,conversation.messages,conversations[].messages,chats[].messages, anddatarole/sender/from/authorwith case-insensitive mapping touserorassistantcontent/text/message/body, including list/dict shapes (best-effort text extraction)[{type:text,text: ...}]) so Markdown/code blocks render via the existing assistant rendering path.Testing
tests/test_augment_format.pycovers parsing the fixture and a couple common variant shapes, plus an end-to-endgenerate_html()sanity check.uv run pytestAcceptance criteria
This PR was written using Vibe Kanban