@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.
- package/README.md +42 -0
- 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.
|
|
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",
|