1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//! 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.
/// ACP (Agent Client Protocol) transport and session handling.
/// CLI argument structs and subcommand enums.
/// Global and per-wiki configuration types and loaders.
/// Embedded default JSON schemas and body templates.
/// Central wiki engine — mounts spaces and manages indexes.
/// Frontmatter parsing, scaffolding, and serialization helpers.
/// Git commit, history, and change-detection helpers.
/// Concept graph construction, community detection, and renderers.
/// Tantivy index lifecycle manager for a single wiki space.
/// Tantivy schema builder and field classification.
/// File ingestion, validation, and optional redaction.
/// Wikilink and cross-wiki link extraction and classification.
/// Markdown page read/write, asset, and scaffolding helpers.
/// MCP server and tool handlers.
/// High-level operations called by CLI and server handlers.
/// Full-text BM25 search and paginated list operations.
/// HTTP and stdio server entry points.
/// Slug validation, resolution, and URI parsing.
/// Builds SpaceTypeRegistry and IndexSchema from schema files.
/// Wiki space creation, registration, and management.
/// Per-wiki type registry — schema compilation and validation.
/// Filesystem watcher for auto-ingest on file save.