Skip to main content

Crate llm_wiki

Crate llm_wiki 

Source
Expand description

Git-backed wiki engine. Full-text search, typed pages, concept graph, MCP and ACP transports. The CLI is the primary interface; this crate also exposes the engine internals for embedding or testing.

Modulesยง

acp
ACP (Agent Client Protocol) transport and session handling.
cli
CLI argument structs and subcommand enums.
config
Global and per-wiki configuration types and loaders.
default_schemas
Embedded default JSON schemas and body templates.
engine
Central wiki engine โ€” mounts spaces and manages indexes.
frontmatter
Frontmatter parsing, scaffolding, and serialization helpers.
git
Git commit, history, and change-detection helpers.
graph
Concept graph construction, community detection, and renderers.
index_manager
Tantivy index lifecycle manager for a single wiki space.
index_schema
Tantivy schema builder and field classification.
ingest
File ingestion, validation, and optional redaction.
links
Wikilink and cross-wiki link extraction and classification.
markdown
Markdown page read/write, asset, and scaffolding helpers.
mcp
MCP server and tool handlers.
ops
High-level operations called by CLI and server handlers.
search
Full-text BM25 search and paginated list operations.
server
HTTP and stdio server entry points.
slug
Slug validation, resolution, and URI parsing.
space_builder
Builds SpaceTypeRegistry and IndexSchema from schema files.
spaces
Wiki space creation, registration, and management.
type_registry
Per-wiki type registry โ€” schema compilation and validation.
watch
Filesystem watcher for auto-ingest on file save.