Skip to content

v0.8.0

Choose a tag to compare

@youdie006 youdie006 released this 17 Jun 03:02
· 71 commits to main since this release

sessionwiki turns the AI coding sessions already on your disk into a searchable, linkable, resumable wiki - 100% local, no telemetry. This release adds file provenance and trace, an archive mode that keeps deleted sessions usable, real zero-setup Korean/CJK search, an agent-native --json surface with a Claude Code plugin, and a fourth tool adapter (OpenCode).

Provenance and trace

  • Sessions are now linked to the files they edited or created, read from their tool calls (Claude's Edit/Write/MultiEdit, Codex's apply_patch).
  • New files <id> lists a session's edits; new trace <path> lists the sessions that touched a file, newest first (matched by path suffix).
  • related also links sessions that edited the same file, even across projects; stats reports the count of files linked to a session.
  • Web UI: touched files appear as chips in a session's header; clicking one lists every session that touched it (new /api/trace endpoint).
  • Honest scope: this is sessions that touched a file, not line-level authorship.

Archive mode

  • When a tool deletes a session's original file, sessionwiki keeps the indexed copy so search, trace, and brief keep working. A durable archive table survives schema rebuilds; archived sessions are flagged [archived] and counted in stats, and sync reports how many were kept.
  • New forget <id> purges a session for good; re-appearing files un-archive automatically; SESSIONWIKI_NO_ARCHIVE reverts to delete-on-prune. A store that vanishes wholesale (uninstall, unmount) is not mass-archived.

Korean and CJK search

  • 2-syllable Korean words (회사, 검색) - the most common word length - are now searchable via a LIKE fallback below the trigram floor.
  • All indexed text and queries are NFC-normalized, so macOS NFD input no longer silently returns nothing. Zero-setup CJK search is now actually true.

Agent-native --json and Claude Code plugin

  • --json on search, list, related, brief, trace, and files: stable snake_case output matching the web API, with absolute paths hidden and control-code-free snippets (plus a snippet_marked variant).
  • New Claude Code plugin (/plugin marketplace add youdie006/sessionwiki): a session-recall skill and /sessionwiki:recall command let an agent recall past sessions as long-term memory, fully offline, degrading gracefully when the CLI isn't installed.

OpenCode adapter

  • Indexes sst/opencode sessions from ~/.local/share/opencode/storage (the multi-file session/message/part JSON layout), including the files each session edited for trace. Supported tools now number four: Claude Code, Codex, Gemini CLI, and OpenCode.

Quality of life

  • show pages long transcripts through your pager when stdout is a terminal (SESSIONWIKI_PAGER, then PAGER, default less -FRX), and falls back to plain printing when no pager is installed; piped output is unchanged.
  • summarize states up front that it pipes each transcript to the summarizer (the default claude -p sends them to the Anthropic API) - the one place data can leave the machine, and only on explicit summarize.

Fixed

  • tag now rejects a tag containing a comma or an empty tag (a comma corrupted the comma-joined tags array in --json/web; an empty tag emitted ""). JSON serialization of session rows in search/trace can no longer panic mid-array.

Install

One-line installer: curl -sSL https://raw.githubusercontent.com/youdie006/sessionwiki/main/scripts/install.sh | sh
Or from source: cargo install --git https://github.com/youdie006/sessionwiki

Full changelog: v0.7.0...v0.8.0