Skip to content

v0.1.3

Choose a tag to compare

@AndsGo AndsGo released this 01 May 11:22
· 11 commits to master since this release

Highlights

New: Session titles in zoo list

Sessions now have a real title. zoo list shows it in a Title column instead of the noisy markdown summary excerpt, and zoo show displays it with its source label.

Title resolution follows a 4-level priority:

  1. manual — set with zoo title <id> "..."
  2. summary — parsed from **Title:** in the AI-generated summary
  3. ai-title — extracted from Claude Code's native aiTitle records inside the jsonl
  4. first-message — first user message, truncated; matches what /resume falls back to

A priority guard ensures automated processes (zoo import, zoo summarize) never overwrite a manual title. zoo title --backfill populates titles for existing sessions in one shot.

New command

zoo title <id>                # show current
zoo title <id> "新标题"       # set (manual)
zoo title <id> --reset        # clear, allow auto-derivation
zoo title --backfill          # recompute for all sessions

Sync round-trip

zoo sync writes title and title_source into meta.json; zoo reindex restores them on a new machine.

Bug fixes

  • zoo restore writes Windows session jsonls to the correct ~/.claude/projects/D--work-foo/ directory (was -D-work-foo), so /resume can find restored sessions on Windows
  • zoo summarize subprocess pinned to UTF-8 so Chinese summaries from claude -p no longer corrupt on Windows GBK locales

Migration

Existing DBs auto-migrate (idempotent ALTER TABLE). After upgrade, run zoo title --backfill once to populate titles from your existing jsonls.

Full diff: v0.1.2...v0.1.3