Ovellum

v0.24.0
io.github.oinam/ovellum Checked 2 days ago Published 4 months ago

Auto, manual, or hybrid docs that never fall out of sync.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

ovellum_query_symbol

Look up a documented symbol in the persisted IR snapshot by exact anchor id or by name. Returns kind, signature, source location, description, params, and returns.

ParameterTypeDescription
idstringExact anchor id, e.g. "src/math.ts::add".
namestringSymbol name to match (returns all matches).

ovellum_diff

Compare the current source against the last build IR snapshot. Returns added / removed / changed / renamed symbols and which docs would change. Read-only.

ovellum_check

Validate the project without writing: broken internal links, unsafe URL schemes, and stale translations (and, with strict, id-less protected zones, stale anchors, and title-less pages). Returns counts and a per-issue list.

ParameterTypeDescription
strictbooleanRun the stricter validations too.

ovellum_list_orphans

List quarantined manual blocks under protect.orphanDir, with age, last-seen, and (vs the IR snapshot) whether each anchor is back in source. Optional stale filter.

ParameterTypeDescription
stalebooleanOnly orphans older than protect.orphanRetention days.

ovellum_get_page

Read a built page's Markdown from the output directory (the AI-friendly .md mirror). Path is relative to the output dir; must stay inside it.

ParameterTypeDescription
path *stringPath under the output dir, e.g. "guide/intro.md".

ovellum_search_docs

Full-text search over the built docs. Returns ranked pages with a path, title, score, and snippet. Run a build first so the output exists.

ParameterTypeDescription
query *stringSearch terms.
limitnumberMax results (default 10).

ovellum_build

Run an Ovellum build (parse + generate + merge, or site build). Returns the build summary.

ParameterTypeDescription
draftsbooleanInclude draft pages.

ovellum_write_zone

Write Markdown prose into a protected @manual zone under an anchor id, so it survives the next hybrid regeneration. Inserts a new block or replaces an existing one with the same blockId. Use dryRun to preview without writing. Survival requires hybrid mode.

ParameterTypeDescription
anchorId *stringAnchor the block attaches to, e.g. "src/math.ts::add".
content *stringMarkdown body of the protected block.
blockIdstringStable id for the block (default "agent-note").
dryRunbooleanPreview the change without writing.

ovellum_reattach

Rescue an orphaned manual block: splice its prose back into a @manual zone under a target anchor (defaulting to the suggested present-again / renamed anchor) and remove the archive, or delete the orphan. The non-interactive counterpart of `ovellum orphans --reattach`.

ParameterTypeDescription
anchorId *stringThe orphan to act on (its original anchor id).
deletebooleanDelete the orphan instead of reattaching.
targetstringAnchor id to reattach under (default: the suggested target).