Skip to content

Releases: dudegladiator/claude-code-session-editor

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 12 Jun 06:47
947df98
feat(v1.0.0): fork-on-delete + heatmap + true token counts (#4)

Major rewrite. Every `delete` now produces a NEW session file with a
fresh UUID instead of mutating the source. Output prints a
`claude --resume <new-id>` command. The new id forces a fresh prefix-
cache slot in Claude Code, so /context immediately reflects the
smaller size — no stale cache.

- delete: forks instead of mutating; output adds new_session_id,
  new_path, resume_command. Source file is never touched.
- heatmap: new subcommand. Ranks conversational turns by true token
  count (tiktoken on whole JSONL line — text + tool args + tool
  stdout + metadata). Drop the heaviest first.
- info / show: token counts now reflect wire size (typically 2-3x
  the old text-only estimate).
- list / search: forked files are tagged with a cc-session-fork
  sentinel line and surface as is_fork=true with an [edited] title
  prefix.
- Removed: --force flag, lsof concurrent-open detection, .bak
  backup, restore subcommand. None are needed when the source is
  never mutated.
- AGENTS.md: agent guide moved out of source into a real markdown
  file at the repo root. `cc-session agent-guide` reads it via
  include_str! so GitHub renders it natively and the binary stays
  self-contained.
- v1.0.0 bump.

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 11 Jun 09:22
ci: cargo publish --allow-dirty (Cargo.lock regen in CI)

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 09 Jun 12:22
9702bf5
feat: parentUuid auto-relink on save + restore subcommand (#2)

* feat: parentUuid auto-relink on save + restore subcommand

Fixes the failure mode where scattered deletes left surviving messages
pointing to deleted ancestors, making Claude Code render the session as
empty on resume.

- Session::render_with_relink rewrites parentUuid for survivors whose
  ancestor was deleted, walking up to the nearest surviving ancestor (or
  null at the root). Foreign parent uuids are preserved verbatim.
- 'delete' output reports parent_uuid_relinked count.
- New 'cc-session restore <id> [--list]' rolls back from .bak with a
  pre-restore snapshot saved aside as <path>.pre-restore.<ts>.
- 4 new unit tests cover relink-skips-deleted, relink-to-root,
  no-change-byte-equal, and foreign-parent-preserved.

* release: v0.3.0

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 08 Jun 12:56
release: v0.2.0

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 08 Jun 12:37
ci: grant contents:write to release build job