Repository navigation
v0.1.3
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:
manual— set withzoo title <id> "..."summary— parsed from**Title:**in the AI-generated summaryai-title— extracted from Claude Code's nativeaiTitlerecords inside the jsonlfirst-message— first user message, truncated; matches what/resumefalls 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 restorewrites Windows session jsonls to the correct~/.claude/projects/D--work-foo/directory (was-D-work-foo), so/resumecan find restored sessions on Windowszoo summarizesubprocess pinned to UTF-8 so Chinese summaries fromclaude -pno 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