Repository navigation
Releases
v0.6.0 — the conversation you are in, on screen
claudesessions open
A new verb that puts a conversation in the Claude Sessions window:
claudesessions open --current # the conversation this shell is in
claudesessions open 070e7a0c # or any handle from `claudesessions list`Every other verb rewrites files with the app closed. This is the one that
needs a window, so it starts the app if there isn't one and brings it forward
if there is. An id that matches nothing fails and opens nothing.
It exists for terminal buttons: reading a long conversation by scrolling a
terminal is miserable, and now one keystroke moves it to a window built for
reading.
The sidebar keeps itself current
The app re-scans every 30 seconds, so a conversation created while the window
is open appears on its own. No more Cmd+Shift+R.
compact is now supercompact
Which is what it was called everywhere except the command itself. The old name
still works, so nothing installed before this release breaks.
One install, not two
make install now installs the app and links claudesessions on your
PATH to the binary inside it. Previously make install-cli built a second
copy, and the two drifted apart the moment you built one and not the other.
For agents
A new claude-sessions-cli skill documents every verb, installed by
make install-agent.
v0.5.1 — the number was lying
Bug fix for compact --in-place, shipped in 0.5.0.
The compaction worked; the number lied
The preserved tail — the entries kept verbatim so a live session can go on
appending — kept its original usage blocks. Those describe the session before
the rewrite, and everything that reads a transcript takes its peak from them: the
context badge, a status line, the warning hook.
So a session compacted from 438k to 64k went on reporting 438k, forever. One real
204 KB session was still claiming 788,693 tokens. The compaction had worked
perfectly every time and looked like it had done nothing.
usage is metadata, not chain structure, so removing it from the tail cannot
affect the append path. ContextMetrics already falls back to a size estimate for
files with no usage, so the app now reports the real size.
--resume that would be refused
A session that is still running refuses claude --resume <id> — always the case
for a background agent, which never exits on its own. --in-place now checks
before printing the command, and offers --fork-session or ending the agent
first.
A wrong test
The regression check asserted a strictly linear parent chain. Real transcripts
never have one: every Esc-and-retry leaves a parent pointing at an earlier entry,
and an untouched 26 MB session "fails" that check 103 times. It now asserts what
actually matters — that no parentUuid points at an entry the rewrite removed.
60 checks in scripts/cli_check.sh.
v0.5.0 — the command line
Claude Sessions grows a command line. The same binary is now a headless CLI, so a
conversation can compact, search, edit or rehome itself without the app running.
Supercompact asks first
The toolbar button used to fire immediately. It now opens a sheet with the one
choice that changes the result: keep a line per tool call, or dialogue only.
With tool calls kept, each one survives as plain language in the turn where its
result used to sit:
You used tool Bash(command: swift build 2>&1 | tail -5, description: Build the package)
Parameters only — tool results are never included, since they are the bulk a
supercompact exists to shed. They come back as text rather than tool_use blocks
because the API rejects a tool_use with no matching tool_result, which would
break the fork on its next turn.
A headless CLI
make install-cli
claudesessions list --current # the active session for this directory
claudesessions search "context window" # find the thread, across conversations
claudesessions grep --current "tool_use" # find the message, within one
claudesessions show --current --last 6 # read the tail
claudesessions compact --current --tools # fork the dialogue into a new session
claudesessions compact --current --in-place # ...or rewrite this one, same id
claudesessions edit --current # rewrite or drop messages, forking
claudesessions move --current ../NewIdea # rehome it in another project
claudesessions count-tokens --file notes.md # exact with ANTHROPIC_API_KEY, else ≈Every verb runs appless and stateless: no GUI, no daemon, no MCP server.
compact, edit and move always fork — the source session is never modified.
edit pulls a bad turn out of a conversation before you resume it. It also
scrubs the metadata records that would otherwise keep a copy: Claude Code mirrors
user prompts into last-prompt entries, so a message deleted from the dialogue
was still sitting in the fork on disk. Tool output that quoted the removed text is
reported rather than silently left, since deleting it would orphan its tool call.
compact --in-place keeps the session id and name. It writes a full copy
titled <name> supercompact_copy_<date>_<time> first, then preserves the current
turn byte-for-byte — a live session appends to its own transcript, so the entries
it knows about have to keep existing. The saving lands on resume, not in the
window you are typing in.
move is for the idea that started in the wrong repo. --suggest prints the
parent directory and the projects beside it; a target that does not exist yet is
created.
Context warnings
Claude has no running token counter — it cannot feel a session getting long.
claudesessions hooks install --thresholds 140000,600000A UserPromptSubmit hook reads real usage from the transcript and, at each
threshold, asks Claude to offer you a supercompact. Once per threshold per
session. It only ever asks; it never compacts on its own. The first-launch wizard
now offers this alongside retention and the backup daemon.
Claude Code integration
make install-agent installs /supercompact, /supercompact-self and
/move-to-project. The latter two are user-invocable only, so Claude cannot
trigger them on its own.
Cycle 77 (headless agent CLI) ships complete. 59 regression checks in
scripts/cli_check.sh. Builds are ad-hoc signed, not notarized — if macOS
objects, right-click the app and choose Open.
v0.4.0
Claude Sessions 0.4.0
New: Duplicate a session
You can now make an instant, identical copy of a session in the same project — handy for branching off an experiment without disturbing the original.
- Toolbar: a new duplicate button (next to resume) duplicates the open session immediately — no dialog.
- Sidebar: right-click any session and choose Duplicate.
The copy keeps the full transcript with a fresh session ID, is titled <title> · copy, and is auto-selected. The original is never touched.
v0.3.2
Highlights
Redesigned message hover actions
Hovering a message now shows a single, polished action bar instead of three mismatched buttons:
- Opaque background — the bar no longer goes transparent over chat bubbles (the old "continue here" pill was unreadable over iMessage bubbles).
- New icons, accent-driven color, per-button hover/press feedback, and a spring entrance.
- The bar tracks the bubble width and lifts to straddle the top edge, so it no longer covers message text.
- Pointer cursor over the bar — the text-selection I-beam no longer bleeds through.
Other refinements
- Sidebar: persisted project sort order (recent / oldest / name / sessions) behind a ghosted hover control; relative-time labels driven by one shared clock.
- Session rows: cleaner titles (strip leading code fences and XML/HTML tags); compact mode for indented subagent rows.
- Toolbar: fixed layout replaces
ViewThatFits(no more stutter on resize); filter strip replaced with icon toggles. - Composer: user-resizable height via a top grab handle, persisted across launches.
- Bottom bar: tightened spacing and typography.
v0.3.1
Fixes
- Conversations no longer truncate. Long and heavily-compacted sessions now load in full. Previously a single unexpected field in the JSONL (e.g. a string-valued
toolUseResult) could throw out an entry and sever the parent-chain, leaving only the tail after the last compaction. Decoding is now resilient — no single field can discard an entry — and the message chain bridges cleanly across/compactboundaries.
Improvements
- True context size for compacted sessions. The context badge now shows the cumulative tokens a conversation has spanned across all compactions (uncapped), with the compaction count — instead of pinning at the model window (~1M).
- Clearer timestamp. The header date now reads "updated " with the full date and time on hover.
- Copy-command button. Copy
claude --resume <id>(orclaude --continue) to paste into any terminal. - Removed the non-functional "live" indicator.
v0.3.0
Claude Sessions 0.3.0
Two icons. One Dock.
New since 0.2.1:
- Added refreshed Amber and Violet app icons.
- Icons are inset to the macOS safe area so they sit correctly beside other Dock icons.
- Settings → General has a Dock icon picker.
- Switching icons updates the Dock immediately and persists across launches.
- README shows both icon variants.
Build:
- Universal macOS binary: arm64 + x86_64.
- Ad-hoc signed, not notarized. If Gatekeeper blocks first launch, right-click the app and choose Open.
v0.2.1
Claude Sessions 0.2.1
Icon pass.
New since 0.2.0:
- New branded Claude Sessions app icon.
- macOS bundle now uses the bundled icon asset for Dock/Finder.
- README now shows the app icon above the hero art.
- Icon generation now derives
AppIcon.icnsfromResources/AppIcon.png.
Build:
- Universal macOS binary: arm64 + x86_64.
- Ad-hoc signed, not notarized. If Gatekeeper blocks first launch, right-click the app and choose Open.
v0.2.0
Claude Sessions 0.2.0
The archive gets teeth.
New since 0.1.0:
- Custom scan locations — add extra Claude Code roots, backups, or restored archives.
- Subagent indexing — find and browse subagent conversations across projects.
- Subagents view — a dedicated cross-project browser with count badges and persisted filters.
- Starred dashboard section — favorites now surface on the home screen, not just the sidebar.
- Star polish — count pill, bounce, and symbol transition.
- Updated onboarding screenshot and public README.
- Old internal spec docs pruned; Stage 2 roadmap and cycle diary remain.
Build:
- Universal macOS binary: arm64 + x86_64.
- Ad-hoc signed, not notarized. If Gatekeeper blocks first launch, right-click the app and choose Open.
v0.1.0
Claude Sessions 0.1.0
Native macOS command center for Claude Code transcripts.
Highlights:
- Browse, read, favorite, archive, trash, copy, and rename Claude Code sessions.
- Supercompact huge JSONL sessions into clean resumable continuations.
- Export to Markdown, JSON, Codex CLI, and Gemini CLI.
- Edit safely: saves fork into a new session; originals survive.
- Continuous backup with optional LaunchAgent daemon.
- Optional localhost MCP server for agent control.
Build:
- Universal macOS binary: arm64 + x86_64.
- Ad-hoc signed, not notarized. If Gatekeeper blocks first launch, right-click the app and choose Open.