Commit a38f578
Refactor commands into subpackage with unified local/cowork session picker
- Move all commands into commands/ subpackage with pkgutil auto-discovery
- Add shared decorator hierarchy: output_options < interactive_options < local_options
- Unify local and cowork pickers: local now shows both Code and Cowork sessions with source column
- Add --source flag to local (code/cowork/filepath) and all (same semantics)
- Add code and cowork proxy commands that delegate to local with preset source
- Add Cowork session support to all batch command with include_json support
- Make find_cowork_sessions limit optional (default: all)
- Add transcript_label to Session dataclass; batch HTML uses it per session
- Add pytest-cov; add htmlcov/ to .gitignore
- Add tests for source flag filtering, proxy commands, include_json behavior
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 9a79b45 commit a38f578
File tree
15 files changed
+1222
-701
lines changed- src/claude_code_transcripts
- commands
- html_generation
- tests
15 files changed
+1222
-701
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
0 commit comments