@vainplex/openclaw-cortex 0.1.0 โ†’ 0.1.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.
Files changed (2) hide show
  1. package/README.md +42 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -17,6 +17,48 @@
17
17
 
18
18
  Works **alongside** `memory-core` (OpenClaw's built-in memory) โ€” doesn't replace it.
19
19
 
20
+ ## Demo
21
+
22
+ Try the interactive demo to see Cortex in action:
23
+
24
+ ```bash
25
+ git clone https://github.com/alberthild/openclaw-cortex.git
26
+ cd openclaw-cortex && npm install
27
+ npx tsx demo/demo.ts
28
+ ```
29
+
30
+ The demo simulates a bilingual (EN/DE) developer conversation and shows:
31
+
32
+ - **๐Ÿงต Thread Tracking** โ€” 3 threads detected, 1 auto-closed via "done โœ…"
33
+ - **๐ŸŽฏ Decision Extraction** โ€” 4 decisions found ("decided", "the plan is", "beschlossen")
34
+ - **๐Ÿ˜คโ†’๐Ÿ”ฅ Mood Detection** โ€” tracks emotional arc from frustrated to excited
35
+ - **๐Ÿ“ธ Pre-Compaction Snapshot** โ€” saves full conversation state before memory loss
36
+ - **๐Ÿ“‹ Boot Context** โ€” generates a dense BOOTSTRAP.md briefing (~800 tokens)
37
+
38
+ <details>
39
+ <summary>๐Ÿ“ธ Sample output</summary>
40
+
41
+ ```
42
+ โ”โ”โ” Phase 2: Thread Tracking Results โ”โ”โ”
43
+
44
+ Found 3 threads (2 open, 1 closed)
45
+
46
+ โ—‹ ๐ŸŸ  the auth migration โ†’ closed (detected "done โœ…")
47
+ โ— ๐ŸŸก dem Performance-Bug โ†’ open, mood: frustrated
48
+ โ— ๐ŸŸก the Kubernetes cluster โ†’ open, waiting for Hetzner estimate
49
+
50
+ โ”โ”โ” Phase 3: Decision Extraction โ”โ”โ”
51
+
52
+ Extracted 4 decisions:
53
+
54
+ ๐ŸŽฏ The plan is to keep backward compatibility for 2 weeks [medium]
55
+ ๐ŸŽฏ We decided to use Auth0 as the provider [medium]
56
+ ๐ŸŽฏ Wir machen Batched DataLoader [medium]
57
+ ๐ŸŽฏ Beschlossen โ€” warten auf Review von Alexey [high: deploy]
58
+ ```
59
+
60
+ </details>
61
+
20
62
  ## Install
21
63
 
22
64
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vainplex/openclaw-cortex",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "OpenClaw plugin: conversation intelligence โ€” thread tracking, decision extraction, boot context, pre-compaction snapshots",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",