@brandry/claude-jsonl-compressor 1.0.0-rc.1 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +73 -27
- package/LICENSE +674 -674
- package/NOTICE +8 -8
- package/README.md +666 -593
- package/SKILL.md +230 -340
- package/agents/openai.yaml +7 -7
- package/bin/claude-jsonl-compressor.cjs +4 -4
- package/bin/claude-jsonl-repair-read-pages.cjs +4 -4
- package/bin/run-python.cjs +77 -77
- package/package.json +60 -60
- package/references/claude-jsonl-compression-format.md +635 -500
- package/scripts/claude_session_tools.py +304 -215
- package/scripts/compress_claude_jsonl.py +8608 -7652
- package/scripts/repair_claude_jsonl.py +627 -605
- package/templates/summary_template_en.md +78 -78
package/CHANGELOG.md
CHANGED
|
@@ -1,27 +1,73 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
Notable public changes are recorded here. This project follows Semantic Versioning.
|
|
4
|
-
|
|
5
|
-
## [1.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
-
|
|
12
|
-
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
|
|
16
|
-
-
|
|
17
|
-
|
|
18
|
-
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
Notable public changes are recorded here. This project follows Semantic Versioning.
|
|
4
|
+
|
|
5
|
+
## [1.1.0] - 2026-09-17
|
|
6
|
+
|
|
7
|
+
- Add read-only `--preflight` with separate topology, tool closure, partition,
|
|
8
|
+
evidence capacity, recent human-message and snapshot diagnostics.
|
|
9
|
+
- Add optional complete tool evidence with exact within-record string aliases,
|
|
10
|
+
scoped citations, strict prior-summary overflow and recent human-turn retention.
|
|
11
|
+
- Preserve the final session title across renames and forked session lineage;
|
|
12
|
+
use the same title resolver for session lookup and output projection.
|
|
13
|
+
- Preserve old-summary trailing whitespace and verify embedded text spans.
|
|
14
|
+
- Keep injected user-format text as mandatory evidence without calling it a
|
|
15
|
+
human instruction; accept source document identifiers and historical unknowns.
|
|
16
|
+
- Keep legacy CLI defaults, engine v10, model-pack v11, report 1 and zero runtime
|
|
17
|
+
dependencies. Upgrade between passes requires regenerating the evidence pack.
|
|
18
|
+
- Shorten skill instructions and make additional model review opt-in or driven
|
|
19
|
+
by a concrete unresolved issue; honor explicit user review requirements.
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [Unreleased]
|
|
23
|
+
|
|
24
|
+
## [1.0.0] - 2026-08-11
|
|
25
|
+
|
|
26
|
+
### Added
|
|
27
|
+
|
|
28
|
+
- Simplified Chinese and Japanese documentation for the public project.
|
|
29
|
+
- Stable machine-readable `reasonCode` values for resume-path rejection.
|
|
30
|
+
|
|
31
|
+
### Fixed
|
|
32
|
+
|
|
33
|
+
- Enumerate Claude project sessions correctly beneath Windows 8.3 short-name roots.
|
|
34
|
+
- Bound public diagnostics for malformed JSONL metadata without changing the
|
|
35
|
+
underlying validation or compression decisions.
|
|
36
|
+
- Preflight file hard-link capability in the target directory and any explicit
|
|
37
|
+
backup directory before a live session is staged, backed up, or moved.
|
|
38
|
+
- Retain and report live-transaction temporary paths whose observed identity or
|
|
39
|
+
bytes change before cleanup, including cleanup residue after an earlier
|
|
40
|
+
transaction failure.
|
|
41
|
+
|
|
42
|
+
### Changed
|
|
43
|
+
|
|
44
|
+
- Run the hard-link and transaction suite on Windows, Linux, and macOS CI
|
|
45
|
+
runner volumes and print their filesystem type as diagnostic evidence.
|
|
46
|
+
- Promote the public npm package from release candidate to stable `1.0.0` on
|
|
47
|
+
the `latest` dist-tag.
|
|
48
|
+
|
|
49
|
+
## [1.0.0-rc.1] - 2026-07-28
|
|
50
|
+
|
|
51
|
+
Initial public release candidate.
|
|
52
|
+
|
|
53
|
+
### Added
|
|
54
|
+
|
|
55
|
+
- Source-anchored, model-assisted semantic compression for one Claude Code JSONL session.
|
|
56
|
+
- Strict active-chain isolation that excludes rewound and inactive branches.
|
|
57
|
+
- Recent raw conversation retention and correlated file-history snapshots for rewind.
|
|
58
|
+
- Repeated compression, including explicit prior-summary verbatim preservation.
|
|
59
|
+
- Transactional live-session backup, replacement, validation, and recovery handling.
|
|
60
|
+
- Independent byte-preserving repair for historical `Read.pages` compatibility failures.
|
|
61
|
+
- Scoped npm packaging with two zero-dependency command wrappers.
|
|
62
|
+
- Anonymous regression coverage for topology, semantic evidence, transactions, repair, and packaging.
|
|
63
|
+
|
|
64
|
+
### Release Notes
|
|
65
|
+
|
|
66
|
+
- Internal engine: `v10`; model-pack schema: `v11`.
|
|
67
|
+
- The JSONL rules are based on observed Claude Code behavior, not a stable Anthropic storage API.
|
|
68
|
+
- Live replacement handles one closed session at a time and requires Python 3.10 or newer.
|
|
69
|
+
- Parent-directory durability is best effort where the platform does not support directory fsync.
|
|
70
|
+
|
|
71
|
+
[Unreleased]: https://github.com/brandrylabs/claude-jsonl-compressor/compare/v1.0.0...HEAD
|
|
72
|
+
[1.0.0]: https://github.com/brandrylabs/claude-jsonl-compressor/releases/tag/v1.0.0
|
|
73
|
+
[1.0.0-rc.1]: https://github.com/brandrylabs/claude-jsonl-compressor/releases/tag/v1.0.0-rc.1
|