Skip to content

v0.12.0 — Nested Directory Support

Latest

Choose a tag to compare

@yifanfeng97 yifanfeng97 released this 05 Nov 03:43
· 1 commit to main since this release

Feature release implementing #205: he parse / he feed directory mode now handles real-world knowledge-base layouts.

📁 Recursive Directory Mode

Directory inputs walk nested subdirectories — no more flattening or renaming files before ingestion:

knowledge-base/
├── README.md            → source: README
├── 制度/安全/安全总则.md  → source: 制度/安全/安全总则
└── 制度/环保/环保规定.md  → source: 制度/环保/环保规定
  • Per-file source ids are the path relative to the walked root, so same-named files in different subdirectories stay distinct in the provenance ledger — and he remove --document 制度/安全/安全总则 remains precise.
  • Top-level files keep their bare stem as the source id: existing KAs keep working without re-ingestion.
  • Hidden directories (.git, .venv, …) are pruned; symlinks are not followed.

↩️ Opt-out

--flat restores the legacy top-level-only scan on both he parse and he feed.

Full changelog: v0.11.2...v0.12.0