3 new subcommands: - facet-query <key=value> [<k2=v2>...] — AND-filter walks primitives - lineage <primitive-id> [--depth N] — BFS ancestors/descendants/forks - author <creator-id> [--limit N] — all primitives by creator facet_query.rs walks _capabilities/*/*/capability.toml + _manifests/*.toml via toml parser. Handles missing sections correctly (None != specific). lineage.rs BFS over parents[] wikilinks + fork-from + created-by edges. Tests: 34/34 (was 28, +6: 3 facet_smoke + 3 lineage_smoke). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
29 lines
715 B
TOML
29 lines
715 B
TOML
[package]
|
|
name = "kei-sage"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
rust-version = "1.75"
|
|
description = "Obsidian-style knowledge graph (SQLite + FTS5). Port of LBM internal/sage."
|
|
|
|
[[bin]]
|
|
name = "kei-sage"
|
|
path = "src/main.rs"
|
|
|
|
[lib]
|
|
name = "kei_sage"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
rusqlite = { version = "0.31", features = ["bundled"] }
|
|
clap = { version = "4", features = ["derive"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
anyhow = "1"
|
|
chrono = { version = "0.4", default-features = false, features = ["clock"] }
|
|
toml = "0.8"
|
|
walkdir = "2"
|
|
kei-atom-discovery = { path = "../kei-atom-discovery" }
|
|
kei-entity-store = { path = "../kei-entity-store" }
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3"
|