index-vault.mjs
22 lines 499 B
Raw
sha256:7fe782411f3a68b39f17777b274349b30752365c13438b26bfd602c687de2c65 feat(web): rebrand Parentier family to Ourware on landing Human minor ⚠ breaking 21 days ago
1 #!/usr/bin/env node
2 import '../lib/load-env.mjs';
3
4 /**
5 * Index vault: walk Markdown under vault_path → chunk → embed → upsert to Qdrant.
6 * Config: config/local.yaml or env (KNOWTATION_VAULT_PATH, QDRANT_URL).
7 * Exit 0 on success, 2 on failure. SPEC §5; Phase 2.
8 */
9
10 import { runIndex } from '../lib/indexer.mjs';
11
12 async function main() {
13 try {
14 await runIndex();
15 process.exit(0);
16 } catch (e) {
17 console.error('Index failed:', e.message);
18 process.exit(2);
19 }
20 }
21
22 main();
File History 1 commit
sha256:7fe782411f3a68b39f17777b274349b30752365c13438b26bfd602c687de2c65 feat(web): rebrand Parentier family to Ourware on landing Human minor 21 days ago