- Auto-detect embedding dimensions — query Ollama for model info instead of hardcoding
FLOAT[768] wiki_deletetool — remove a page + its vectorswiki_renametool — rename page + rewrite all incoming[[links]]in one atomic op- Validate links on write —
wiki_updatewarns when content references[[PageName]]that doesn't exist yet - PostInstall hook — run
npm install + rebuildautomatically on plugin install/update
wiki_context_for(file)tool — given a source file path, extracts filename + symbols and returns the most relevant wiki pages automaticallywiki_update({ dry_run: true })— preview changes without writing- Tag filtering —
wiki_search({ query, tags: ["auth", "mqtt"] })to scope results wiki_listtool — enumerate all pages with title, tags, updated date
- Batch ingest —
wiki_ingest({ files: ["a.md", "b.md"] })processes multiple files in one call - Ingest from URL — fetch a web page or GitHub file and ingest directly
- Ingest deduplication — before writing, check cosine sim against existing pages
wiki_lint --fix— auto-fix simple issues: missingupdateddate, broken link suggestionswiki_reembed_all— batch re-embed all stale pages in one call- Git integration — optionally
git add + commitwiki pages afterwiki_update - Incremental re-embedding — only re-embed chunks whose content changed
- Ollama fallback — hybrid search degrades to TF-IDF-only when Ollama is unavailable
- Ingest context — picks semantically relevant existing pages as context (was: first N pages)
- Raw file truncation — large sources capped at 40k chars to prevent context overflow
- Security —
execSync→execFileSyncto eliminate shell injection ingit_commitpath - Schema — replace custom
zodToJsonSchemawithzod-to-json-schema(arrayitemsnow correct) - Release script — atomic version bump across
package.json+plugin.json, build, tag, publish
wiki_patch— exact-string surgical page edit (old_string/new_string,replace_all), auto-bumpsupdated, re-embeds only affected chunks. Avoids full-page resends for small edits to long pages.- Content-hash staleness —
wiki_reembed_allandwiki_lintnow compare per-page body hashes (sha256 over body, excl. frontmatter) instead ofupdated:date vs embed timestamp. Same-day and out-of-band edits are detected reliably. - New
wiki_page_metatable holds the per-page hash; backwards-compat viaCREATE TABLE IF NOT EXISTS— first run after upgrade treats all pages as stale once, then stabilises. - Shared
reembedPageBodyhelper consolidates incremental re-embedding acrosswiki_update,wiki_patch,wiki_reembed_all.
- OpenAI / local embedding fallback — configurable embedding provider, not Ollama-only
- Obsidian-compatible graph export — JSON adjacency list for
[[link]]visualization - Multi-wiki support — single MCP server serving multiple
WIKI_ROOTpaths (monorepos) /wiki-updateslash command — convenience wrapper aroundwiki_updateMCP tool- Watch mode — auto-ingest on file change in
RAW_ROOT - Page templates — frontmatter scaffolding for common page types
wiki_patchheading mode — second mode keyed by## headingfor replace/append of whole sections. Deferred from v1.6; theold_string/new_stringpath covers the common case.