causantic 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -74,7 +74,7 @@ Vector search finds chunks that *look similar*. BM25 keyword search finds chunks
|
|
|
74
74
|
**3. Sequential Causal Graph with Episodic Chain Walking**
|
|
75
75
|
Chunks are connected in a sequential linked list — intra-turn chunks chained sequentially, inter-turn edges linking last→first, cross-session edges bridging sessions. The `recall` tool walks this graph backward to reconstruct episodic narratives; `predict` walks forward. Chains are scored by cosine similarity per token, producing ordered narratives where each chunk adds new information.
|
|
76
76
|
|
|
77
|
-
**
|
|
77
|
+
**4. HDBSCAN Cluster-Guided Expansion**
|
|
78
78
|
Topic clusters group semantically related chunks. During retrieval, results expand through cluster siblings — surfacing context that neither vector nor keyword search found independently. Native TypeScript implementation (130× faster than hdbscan-ts).
|
|
79
79
|
|
|
80
80
|
**5. Self-Benchmarking Suite**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill-templates.d.ts","sourceRoot":"","sources":["../../src/cli/skill-templates.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,WAAW,aAAa;IAC5B,6CAA6C;IAC7C,OAAO,EAAE,MAAM,CAAC;IAChB,qDAAqD;IACrD,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,gBAAgB,EAAE,aAAa,EA8xC3C,CAAC;AAEF;;;GAGG;AACH,wBAAgB,uBAAuB,IAAI,MAAM,
|
|
1
|
+
{"version":3,"file":"skill-templates.d.ts","sourceRoot":"","sources":["../../src/cli/skill-templates.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,WAAW,aAAa;IAC5B,6CAA6C;IAC7C,OAAO,EAAE,MAAM,CAAC;IAChB,qDAAqD;IACrD,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,gBAAgB,EAAE,aAAa,EA8xC3C,CAAC;AAEF;;;GAGG;AACH,wBAAgB,uBAAuB,IAAI,MAAM,CA8FhD"}
|
|
@@ -1380,6 +1380,31 @@ Long-term memory is available via the \`causantic\` MCP server.
|
|
|
1380
1380
|
- The user explicitly provides all needed context
|
|
1381
1381
|
- First attempt at resolving a new error (try solving it first, check memory if stuck)
|
|
1382
1382
|
|
|
1383
|
+
### CLI Commands
|
|
1384
|
+
|
|
1385
|
+
When the user asks to run Causantic operations from the command line:
|
|
1386
|
+
|
|
1387
|
+
\`\`\`
|
|
1388
|
+
npx causantic init — Setup wizard (MCP, hooks, skills, import)
|
|
1389
|
+
npx causantic serve — Start the MCP server
|
|
1390
|
+
npx causantic dashboard — Launch the web dashboard
|
|
1391
|
+
npx causantic batch-ingest [dir] — Ingest all sessions from a directory
|
|
1392
|
+
npx causantic ingest <path> — Ingest a single session or project
|
|
1393
|
+
npx causantic recall <query> — Query memory from the CLI
|
|
1394
|
+
npx causantic stats — Show memory statistics
|
|
1395
|
+
npx causantic health — Check system health
|
|
1396
|
+
npx causantic config [subcommand] — Manage configuration
|
|
1397
|
+
npx causantic maintenance [status|run|daemon] — Maintenance tasks
|
|
1398
|
+
npx causantic benchmark-collection [--quick|--standard|--full] — Run benchmarks
|
|
1399
|
+
npx causantic encryption [subcommand] — Manage database encryption
|
|
1400
|
+
npx causantic export — Export memory data
|
|
1401
|
+
npx causantic import <file> — Import memory data
|
|
1402
|
+
npx causantic hook <name> — Run a hook manually
|
|
1403
|
+
npx causantic uninstall — Remove Causantic and all its artifacts
|
|
1404
|
+
\`\`\`
|
|
1405
|
+
|
|
1406
|
+
Run \`npx causantic <command> --help\` for command-specific options.
|
|
1407
|
+
|
|
1383
1408
|
### Combining Memory with Other Tools
|
|
1384
1409
|
|
|
1385
1410
|
Memory provides historical context, not current code state. After retrieving memory:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill-templates.js","sourceRoot":"","sources":["../../src/cli/skill-templates.ts"],"names":[],"mappings":"AAAA;;;;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