Commit 9a609ce
Refactor html_generation into subpackage with clean public API
- Move renderer, generator, templates, static/, and Jinja2 templates
into html_generation/ subpackage
- Expose public API via html_generation/__init__.py (Session, Project,
generate_html, generate_batch_html, inject_gist_preview_js, create_gist)
- Prefix all internal names with _ across renderer, generator, templates
- Add Session/Project dataclasses; callers now build and pass these in,
removing parse_session_file from generator
- parse_session_file now returns loglines list directly instead of dict
- Move detect_github_repo into generator as _detect_github_repo,
removing the html_generation -> api dependency
- Add Windows/Linux support for cowork sessions via platformdirs
- Handle _audit_timestamp fallback and isMeta/isSynthetic skipping
in parser
- Add platformdirs dependency
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 46adcb6 commit 9a609ce
File tree
35 files changed
+2642
-2541
lines changed- .idea
- codeStyles
- src/claude_code_transcripts
- html_generation
- static
- templates
- tests
- __snapshots__/test_generate_html
35 files changed
+2642
-2541
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
0 commit comments