-
Notifications
You must be signed in to change notification settings - Fork 76
Detail levels and compact rendering of conversations #96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
ee9b7c4
Add --compact rendering option to show only user and assistant text
cboos 38122cb
Add tests for --compact rendering mode
cboos 638cb30
Fix compact mode to filter slash commands, sidechains, and other user…
cboos 860d0a6
Fix pyright type errors in compact filter
cboos 66f76ef
Fix ty type warnings in compact mode tests
cboos 8a88067
Rename --compact to --shallow across codebase
cboos b0e67dd
Fix rebase integration: session-id tuple unpack and shallow regeneration
cboos 3f362d0
Replace --shallow with --detail level system
cboos 70158c8
Add tests for HIGH and LOW detail levels
cboos 0433734
Add --compact flag for Markdown heading merging
cboos 076491c
Add compact to should_regenerate conditions
cboos dbf7293
Drop dead branch nav links and auto-expand on anchor jump
cboos fbd10c8
Collapse structural side-branches instead of faking forks
cboos c6aa714
Nest branch-headers under parent session for fold cascade
cboos b5daacc
Surface compact_boundary ruptures as nav landmarks
cboos 109388e
Update dev-docs/dag.md with phase-2 DAG remediation
cboos fe41768
Collapse mixed structural side-branches (regression fix)
cboos 4f13d1a
Enrich compact landmark labels with preTokens and timestamp
cboos 176a6ed
Document generalized structural collapse and enriched compact label
cboos 7f4c826
Preserve RenderingContext index invariant after detail filter
cboos b2a1455
Wire --detail and --compact into --session-id export path
cboos 590acc0
Reject boolean preTokens explicitly in compact-boundary parsing
cboos 29e191d
Track rendered heading category in compact mode
cboos 13c94b5
Fall back to fold-one-level when no fold-all-levels control exists
cboos 356b708
Broaden detail param type to DetailLevel | str
cboos File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: daaain/claude-code-log
Length of output: 10029
🏁 Script executed:
Repository: daaain/claude-code-log
Length of output: 478
🏁 Script executed:
Repository: daaain/claude-code-log
Length of output: 2552
🏁 Script executed:
Repository: daaain/claude-code-log
Length of output: 48
🏁 Script executed:
Repository: daaain/claude-code-log
Length of output: 153
🏁 Script executed:
Repository: daaain/claude-code-log
Length of output: 553
🏁 Script executed:
Repository: daaain/claude-code-log
Length of output: 3031
🏁 Script executed:
Repository: daaain/claude-code-log
Length of output: 2795
🏁 Script executed:
Repository: daaain/claude-code-log
Length of output: 3913
🏁 Script executed:
Repository: daaain/claude-code-log
Length of output: 48
🏁 Script executed:
Repository: daaain/claude-code-log
Length of output: 1216
🏁 Script executed:
Repository: daaain/claude-code-log
Length of output: 2492
🏁 Script executed:
Repository: daaain/claude-code-log
Length of output: 48
🏁 Script executed:
Repository: daaain/claude-code-log
Length of output: 1352
🏁 Script executed:
Repository: daaain/claude-code-log
Length of output: 2608
🏁 Script executed:
Repository: daaain/claude-code-log
Length of output: 1297
🏁 Script executed:
Repository: daaain/claude-code-log
Length of output: 3350
🏁 Script executed:
Repository: daaain/claude-code-log
Length of output: 48
🏁 Script executed:
Repository: daaain/claude-code-log
Length of output: 1643
🏁 Script executed:
Repository: daaain/claude-code-log
Length of output: 1027
🏁 Script executed:
Repository: daaain/claude-code-log
Length of output: 436
🏁 Script executed:
Repository: daaain/claude-code-log
Length of output: 1999
🏁 Script executed:
Repository: daaain/claude-code-log
Length of output: 3701
🏁 Script executed:
Repository: daaain/claude-code-log
Length of output: 1805
🏁 Script executed:
Repository: daaain/claude-code-log
Length of output: 2796
🏁 Script executed:
Repository: daaain/claude-code-log
Length of output: 133
🏁 Script executed:
Repository: daaain/claude-code-log
Length of output: 2612
🏁 Script executed:
Repository: daaain/claude-code-log
Length of output: 757
🏁 Script executed:
Repository: daaain/claude-code-log
Length of output: 2413
🏁 Script executed:
Repository: daaain/claude-code-log
Length of output: 1484
🏁 Script executed:
Repository: daaain/claude-code-log
Length of output: 478
Wire
--detailand--compactinto--session-idexports.The
--session-idbranch returns at line 733 before reaching theconvert_jsonl_to(...)calls that receive these options, soclaude-code-log --session-id ... --detail minimaland--compactare silently ignored. Thegenerate_single_session_file()function needs to accept these parameters and pass them toget_renderer().🔎 Required changes
generate_single_session_file()signature inconverter.pyto acceptdetailandcompactparametersget_renderer()at line 1951cli.py(lines 721–729) to passdetail=detail_levelandcompact=compact🤖 Prompt for AI Agents