Documentation
¶
Overview ¶
Package main is the entry point for the knowing CLI.
The CLI provides three subcommands:
- serve: starts the daemon with file watching, reindexing, and MCP server
- index: one-shot indexing of a repository with optional LSP enrichment
- query: search the knowledge graph by symbol name prefix
The serve command wires together the full pipeline: SQLite store, snapshot manager, indexer (with tree-sitter and optional Python extractors), MCP server, and daemon (with git watching and background enrichment).
Source Files
¶
- audit.go
- audit_supply_chain.go
- bench_task.go
- context.go
- daemon.go
- debug_equiv.go
- debug_feedback.go
- debug_fts.go
- debug_pack.go
- debug_rwr_cache.go
- debug_seeds.go
- debug_vocab.go
- debug_walk.go
- diff.go
- enrich.go
- enrich_similarity.go
- fsck.go
- ingestscip.go
- init.go
- main.go
- mcp.go
- prove.go
- prove_absent.go
- rebuild_fts.go
- resolve.go
- roster.go
- setup.go
- stale.go
- testscope.go
- verify.go
- watch.go
- why.go
Click to show internal directories.
Click to hide internal directories.