@digitalforgestudios/openclaw-sulcus 5.4.0 → 6.6.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 +1 -1
- package/hooks.defaults.json +99 -40
- package/index.js +5051 -0
- package/index.ts +5032 -176
- package/openclaw.plugin.json +275 -4
- package/package.json +9 -4
- package/wasm/sulcus_wasm.js +0 -0
- package/wasm/sulcus_wasm_bg.wasm +0 -0
package/README.md
CHANGED
package/hooks.defaults.json
CHANGED
|
@@ -1,45 +1,104 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
"$schema": "hooks-config",
|
|
3
|
+
"version": 1,
|
|
4
|
+
"hooks": {
|
|
5
|
+
"before_prompt_build": {
|
|
6
|
+
"action": "auto_recall",
|
|
7
|
+
"enabled": false,
|
|
8
|
+
"limit": 5,
|
|
9
|
+
"minScore": 0.3
|
|
10
|
+
},
|
|
11
|
+
"before_agent_start": {
|
|
12
|
+
"action": "auto_recall",
|
|
13
|
+
"enabled": false,
|
|
14
|
+
"limit": 5,
|
|
15
|
+
"minScore": 0.3,
|
|
16
|
+
"_deprecated": "Use before_prompt_build instead. Legacy compat only."
|
|
17
|
+
},
|
|
18
|
+
"agent_end": {
|
|
19
|
+
"action": "sivu_auto_capture",
|
|
20
|
+
"enabled": true,
|
|
21
|
+
"min_store_confidence": 0.4,
|
|
22
|
+
"fallback_on_error": true,
|
|
23
|
+
"_note": "SIVU gate: 0.4 = relaxed (captures technical/architectural content). 0.5 = strict (more noise rejection). < 0.3 not recommended."
|
|
24
|
+
},
|
|
25
|
+
"after_tool_call": {
|
|
26
|
+
"action": "auto_error_capture",
|
|
27
|
+
"enabled": true
|
|
28
|
+
},
|
|
29
|
+
"before_compaction": {
|
|
30
|
+
"action": "pre_compaction_capture",
|
|
31
|
+
"enabled": true
|
|
32
|
+
}
|
|
10
33
|
},
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
34
|
+
"tools": {
|
|
35
|
+
"memory_recall": {
|
|
36
|
+
"enabled": true
|
|
37
|
+
},
|
|
38
|
+
"memory_store": {
|
|
39
|
+
"enabled": true
|
|
40
|
+
},
|
|
41
|
+
"memory_status": {
|
|
42
|
+
"enabled": true
|
|
43
|
+
},
|
|
44
|
+
"consolidate": {
|
|
45
|
+
"enabled": false
|
|
46
|
+
},
|
|
47
|
+
"export_markdown": {
|
|
48
|
+
"enabled": false
|
|
49
|
+
},
|
|
50
|
+
"import_markdown": {
|
|
51
|
+
"enabled": false
|
|
52
|
+
},
|
|
53
|
+
"evaluate_triggers": {
|
|
54
|
+
"enabled": false
|
|
55
|
+
},
|
|
56
|
+
"memory_delete": {
|
|
57
|
+
"enabled": false
|
|
58
|
+
},
|
|
59
|
+
"memory_get": {
|
|
60
|
+
"enabled": true
|
|
61
|
+
},
|
|
62
|
+
"memory_list": {
|
|
63
|
+
"enabled": true
|
|
64
|
+
},
|
|
65
|
+
"memory_update": {
|
|
66
|
+
"enabled": true
|
|
67
|
+
},
|
|
68
|
+
"memory_profile": {
|
|
69
|
+
"enabled": true
|
|
70
|
+
},
|
|
71
|
+
"siu_label": {
|
|
72
|
+
"enabled": false
|
|
73
|
+
},
|
|
74
|
+
"siu_status": {
|
|
75
|
+
"enabled": false
|
|
76
|
+
},
|
|
77
|
+
"siu_retrain": {
|
|
78
|
+
"enabled": false
|
|
79
|
+
},
|
|
80
|
+
"trigger_feedback": {
|
|
81
|
+
"enabled": false
|
|
82
|
+
},
|
|
83
|
+
"__sulcus_workflow__": {
|
|
84
|
+
"enabled": true
|
|
85
|
+
},
|
|
86
|
+
"session_store": {
|
|
87
|
+
"enabled": true
|
|
88
|
+
},
|
|
89
|
+
"session_recall": {
|
|
90
|
+
"enabled": true
|
|
91
|
+
},
|
|
92
|
+
"memory_inspect": {
|
|
93
|
+
"enabled": true
|
|
94
|
+
}
|
|
17
95
|
},
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
},
|
|
26
|
-
"before_compaction": {
|
|
27
|
-
"action": "pre_compaction_capture",
|
|
28
|
-
"enabled": true
|
|
96
|
+
"dream": {
|
|
97
|
+
"enabled": true,
|
|
98
|
+
"sessionInterval": 10,
|
|
99
|
+
"minGapHours": 24,
|
|
100
|
+
"minMemories": 50,
|
|
101
|
+
"consolidateMinHeat": 0.1,
|
|
102
|
+
"_note": "Dream auto-trigger: fires consolidation every N sessions if enough time has passed and memory count exceeds threshold. All gates are cheap local checks except the final memory-count API call."
|
|
29
103
|
}
|
|
30
|
-
},
|
|
31
|
-
"tools": {
|
|
32
|
-
"memory_recall": { "enabled": true },
|
|
33
|
-
"memory_store": { "enabled": true },
|
|
34
|
-
"memory_status": { "enabled": true },
|
|
35
|
-
"consolidate": { "enabled": false },
|
|
36
|
-
"export_markdown": { "enabled": false },
|
|
37
|
-
"import_markdown": { "enabled": false },
|
|
38
|
-
"evaluate_triggers": { "enabled": false },
|
|
39
|
-
"siu_label": { "enabled": false },
|
|
40
|
-
"siu_status": { "enabled": false },
|
|
41
|
-
"siu_retrain": { "enabled": false },
|
|
42
|
-
"trigger_feedback": { "enabled": false },
|
|
43
|
-
"__sulcus_workflow__": { "enabled": true }
|
|
44
|
-
}
|
|
45
104
|
}
|