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
//! Personal knowledge base — typed AST with org-mode as projection, SQLite-backed.
//!
//! The crate provides:
//! - [`parser`] — org-mode text → AST
//! - [`generator`] — AST → org-mode text
//! - [`storage`] — `SQLite` persistence with FTS5 search
//! - [`api`] — HTTP handlers for `kb-server`
//! - [`mcp`] — Model Context Protocol server over stdio
//!
//! The org-mode AST types are re-used from the companion [`tftio_org`] crate;
//! the parser is kept in-crate (see the crate `README` for the rationale).