Repository navigation
Releases
Releases · yigitkonur/cli-sessionr
v4.1.0
v4.0.3
v4.0.2
4.0.2 (2026-10-25)
Bug Fixes
- cli: closed pipes, missing --batch file, wait exit code, info text (c8edc89)
- library: read() rejects unknown roles like the CLI (7f8099e)
- opencode: emit the tool result stored in a tool part's state (56f0d8c)
- read: JSON output measures the token budget on the text it emits (c185b47)
- read: keep preset/detail-aware budgeting for --preset full and --detail meta|skeleton (b6f4e62)
- slicer: an explicit range that fits is returned whole; --page past the end is an error (d8066b8)
Performance
- search: parse listed sessions by path instead of re-scanning every source per session (005234e)
v4.0.1
4.0.1 (2026-10-20)
Bug Fixes
- antigravity resume uses --conversation -p, generated commands carry the full session id, doctor checks the spawned binary (bb681c4)
- build: make dist/cli.js executable (9c6a694)
- cli: help works and rejects unknown commands, source lists include antigravity (e6df2fc)
- context: reject an unknown --format with INVALID_FORMAT (exit 2) (719359d)
- jobs: filter by the displayed status and reject unknown --status values (66ad72f)
- turns: a Claude session started from a slash command gets turn 1 (01c188f)
v4.0.0
4.0.0 (2026-10-20)
⚠ BREAKING CHANGES
- --after/--before are now exclusive, by_role.user counts human prompts only, partial means budget truncation (see MIGRATION.md)
Features
- api: export programmatic read(), loadSessionByPath, and registerSource (closes #5) (c0709d2)
- claude: expose per-turn completion events outside messages (802d0ea)
- compaction: normalize compaction boundaries into system messages and stats.compactions (closes #9) (05737f9)
- parser: add agy (Antigravity CLI) source adapter (closes #4) (f55a258)
- tokens: track per-turn usage, context window size, effort, and rate limits (closes #8) (1e2a691)
- turns: extract per-turn execution facts, files changed, commands and errors (closes #13) (8a8d62a)
- turns: implement turn segmentation with stable IDs and --turn filtering (closes #12) (30d366c)
Bug Fixes
- agy: determine emptiness from conversation evidence (fe7b754)
- agy: include antigravity in the list source catalog (eea4b39)
- agy: link background task completions to their calls (6d2ab2f)
- agy: prefer transcript_full.jsonl over the truncated transcript (e74b7f9)
- agy: prefer user requests over system preambles in summaries (60d846a)
- agy: quote resume hints and mirror runner arguments (d6c3994)
- agy: recognize agent-started mission prompts (6db34b5)
- agy: skip malformed record shapes and field types (c5c329e)
- api: always close format-sniff file descriptors (4add128)
- api: detect sessions from canonical roots and record shapes (ef6a137)
- api: distinguish role-filtered views in etags (a415277)
- api: give read() the same slicing inputs as the CLI (4ffd08a)
- api: make read() honest about budgets, pages, empty sessions and exhausted cursors (4d9c4a6)
- api: preserve aliases after mixed-case source replacement (99481d0)
- api: preserve original indexes when filtering roles (bca9a09)
- api: refuse to load goose/opencode sessions from outside their own store (cabeca8)
- api: reject nonpositive and nonfinite token budgets (35d42c9)
- api: support typed custom adapter sources safely (f976385)
- api: surface invalid discovery source errors (905efdc)
- claude: anchor interrupt markers and honor human provenance (11dea58)
- claude: classify non-prompt user records and exclude from stats.byRole.user (fixes #16) (1470bc3)
- claude: classify observed cross-session peer preambles (8f57e3d)
- claude: classify queued task-notification attachments as notifications (6aa7b67), closes #21
- claude: distinguish notification attachments from absorbed prompts (cf31424)
- claude: honor hidden metadata on absorbed attachments (e0ad189)
- claude: ingest mid-turn absorbed commands and expose turn duration (fixes #14) (5449bfe)
- claude: keep usage from responses with no renderable content in session stats (e55e1e6)
- claude: normalize notifications with the system role (39ba265)
- claude: normalize unknown queued prompt content to text (4356278)
- claude: prefer physical raw indices for absorbed attachments (cff42b1)
- claude: preserve absorbed prompt origin kind (bb72ede)
- claude: preserve physical line index across streaming de-duplication (fixes #15) (e904c1e)
- claude: recognize exact unnamed tool-use interrupts (6304b1e)
- claude: report the physical line index on compaction messages (e80c6b4)
- claude: restrict durations to valid turn completion records (498dc0a)
- claude: skip turn_duration records with malformed timestamps (ae6a2e3)
- claude: treat peer-message wrappers as non-human (79253da)
- codex: decode JavaScript string literals without evaluation (1c7fa0b)
- codex: detect failures inside text-block exec results (311c169)
- codex: distinguish exec invocations from patch contents (828075d)
- codex: keep a forked session's own id instead of its parent's (8db8b8c)
- codex: preserve JSON command argv arrays (a35bd4d)
- codex: preserve literal patch paths and diff header context (7ac5590)
- codex: preserve quoted command keys in selected calls (58f2f20)
- codex: read only literal top-level invocation arguments (41d4053)
- codex: retain wrapped tool names and static arguments (f06b7d9)
- codex: store one canonical decoded patch argument ([c4db6af](https://github.c...
v3.0.0
3.0.0 (2026-05-28)
⚠ BREAKING CHANGES
- send: every command now emits the v2 envelope
{ ok, schema_version: "v2", result | error, meta, actions }. The v2.x shapes
are gone: no top-level api_version, nodatawrapper on send/job, error uses
class+retryable(wasretry), and all keys are snake_case. See
MIGRATION.md. This is the sessionr 3.0.0 release. - Phase 2 — close 13 HIGH agent-readiness issues + envelope sweep
- Phase 1 — close 12 CRITICAL agent-readiness issues
Features
- envelope: v3 canonical envelope + emit + --timing wiring (1b31f3c)
- Phase 1 — close 12 CRITICAL agent-readiness issues (a7070f5)
- Phase 2 — close 13 HIGH agent-readiness issues + envelope sweep (b5918d4)
- Phase 3 — close ~45 MEDIUM issues + 5 of my audit findings (ae7cd55)
Bug Fixes
- ci: enable npm OIDC trusted publishing (npm>=11.5.1, token-free) (7b9e2df)
- ci: suppress node:sqlite ExperimentalWarning + skip real-session tests on CI (4251010)
- close all 8 Codex adversarial-review findings (H1-H3, M4-M7, L8) (7711194)
- envelope: canonical snake_case via toExternal() — close H2/Phase 2 BLOCKING (d21ced2)
- errors: set errorClass on existing SessionReaderError subclasses (92e715d)
- prune: validate --output upfront so unknown formats hit oc/03 envelope (6732875)
- release: detect breaking changes so the v3 hard break bumps major (0687c1b)
- send: route success paths through the v2 envelope (final-review blocker) (3b5cfc0)