Upgrade to v3.0.0
v3.0.0 replaces provider-backed embeddings with default local FastEmbed + sqlite-vec retrieval. Existing Markdown stays untouched; only the disposable vector index changes.
No content migration
No page or frontmatter format changed. The old embeddings.jsonl cache is ignored and can be deleted; /wiki:upgrade builds embeddings.sqlite locally and synchronizes every current section.
Why it's a major version
The default section search now initializes a local model and sqlite-vec index instead of staying lexical unless a provider is configured. The data boundary becomes strictly local and the old provider environment variables and approval flag are removed. Direct python wiki_search.py "<query>" --no-embed preserves dependency-free BM25.
The upgrade
Pull v3.0.0. Update the plugin the same way you installed it — for Claude Code, re-run the marketplace install; for skill-only agents, re-run
npx skills add.Run the upgrade. In Claude Code:
bash/wiki:upgradeOr directly, pass the installed script and the target project as separate absolute paths (add
--wiki-dir/--raw-dirif you use non-default names):bashpython "${CLAUDE_PLUGIN_ROOT}/skills/llm-wiki/scripts/init_wiki.py" "<absolute-project-root>" --upgradeFor a skill-only install, replace
${CLAUDE_PLUGIN_ROOT}/skills/llm-wikiwith that agent's installedllm-wikiskill directory. Never use the plugin or skill directory as<absolute-project-root>.Expected — Idempotent file operations leave existing pages untouched. Runtime setup then reports
"status": "ready"with pinned dependency versions, model, page count, section count, and vector-index path before the command reports the missing SCHEMA marker.Approve the SCHEMA.md merge. Add the local semantic backend lines from the current template to your existing
## Retrievalsection. SCHEMA.md is co-evolved with you and is never modified silently.
Re-running the upgrade is idempotent: existing content stays unchanged, dependencies/model are verified, and only changed or missing vectors are embedded.
What changes for you
- Existing pages need no changes. Nothing canonical under
wiki/is rewritten. - Section search is local hybrid by default. FastEmbed + sqlite-vec semantic ranking is fused with BM25. Run the script directly with Python and
--no-embedfor dependency-free lexical retrieval, or use--granularity pagefor whole-page ranking. - Upgrade installs everything. The command resolves pinned FastEmbed, sqlite-vec, and PyYAML packages through
uv, downloads the pinned model if absent, builds the parse cache, and embeds all current sections. wiki/.wiki-cache/is regenerable.search-index.jsonandembeddings.sqliteare gitignored and safe to delete. Legacyembeddings.jsonlis ignored.- No provider setup remains. No API key, endpoint, data-transfer approval, or per-query charge is involved.
WARNING
No wiki yet? There's nothing to upgrade — run /wiki:init instead.