v0.8.0
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'sapply_patch). - New
files <id>lists a session's edits; newtrace <path>lists the sessions that touched a file, newest first (matched by path suffix). relatedalso links sessions that edited the same file, even across projects;statsreports 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/traceendpoint). - 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, andbriefkeep working. A durablearchivetable survives schema rebuilds; archived sessions are flagged[archived]and counted instats, andsyncreports how many were kept. - New
forget <id>purges a session for good; re-appearing files un-archive automatically;SESSIONWIKI_NO_ARCHIVEreverts 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
--jsononsearch,list,related,brief,trace, andfiles: stable snake_case output matching the web API, with absolute paths hidden and control-code-free snippets (plus asnippet_markedvariant).- New Claude Code plugin (
/plugin marketplace add youdie006/sessionwiki): a session-recall skill and/sessionwiki:recallcommand 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 fortrace. Supported tools now number four: Claude Code, Codex, Gemini CLI, and OpenCode.
Quality of life
showpages long transcripts through your pager when stdout is a terminal (SESSIONWIKI_PAGER, thenPAGER, defaultless -FRX), and falls back to plain printing when no pager is installed; piped output is unchanged.summarizestates up front that it pipes each transcript to the summarizer (the defaultclaude -psends them to the Anthropic API) - the one place data can leave the machine, and only on explicitsummarize.
Fixed
tagnow rejects a tag containing a comma or an empty tag (a comma corrupted the comma-joinedtagsarray in--json/web; an empty tag emitted""). JSON serialization of session rows insearch/tracecan 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