@nexus-cortex/server 4.47.4 → 4.50.2
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.
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# .cortex/memory/ — per-fact memory detail files
|
|
2
|
+
|
|
3
|
+
One memory per file, frontmatter `name`/`description`/`type` — written by the
|
|
4
|
+
MemoryWrite tool, loaded by MemoryRecall. The one-line index lives in
|
|
5
|
+
`.cortex/MEMORY.md` (injected every session). See docs/configuration.md.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$comment": "Production environment
|
|
2
|
+
"$comment": "Production environment \u2014 strict deny-by-default. Whitelist allows the minimum read-only tools needed for read-only operation. defaultPolicy: deny + approvalHandler: deny-all means anything not on the allowlist is hard-blocked.",
|
|
3
3
|
"enabled": true,
|
|
4
4
|
"defaultPolicy": "deny",
|
|
5
5
|
"policies": [
|
|
@@ -25,7 +25,9 @@
|
|
|
25
25
|
"GetConversationSegment",
|
|
26
26
|
"ListCompactionBoundaries",
|
|
27
27
|
"TodoList",
|
|
28
|
-
"SearchTools"
|
|
28
|
+
"SearchTools",
|
|
29
|
+
"MemoryWrite",
|
|
30
|
+
"MemoryRecall"
|
|
29
31
|
]
|
|
30
32
|
}
|
|
31
33
|
},
|
|
@@ -34,8 +36,21 @@
|
|
|
34
36
|
"enabled": true,
|
|
35
37
|
"priority": 80,
|
|
36
38
|
"config": {
|
|
37
|
-
"allowedPaths": [
|
|
38
|
-
|
|
39
|
+
"allowedPaths": [
|
|
40
|
+
"./public",
|
|
41
|
+
"./dist",
|
|
42
|
+
"./build"
|
|
43
|
+
],
|
|
44
|
+
"blockedPaths": [
|
|
45
|
+
"/etc",
|
|
46
|
+
"/root",
|
|
47
|
+
"/sys",
|
|
48
|
+
"/.git",
|
|
49
|
+
"/node_modules",
|
|
50
|
+
"./config",
|
|
51
|
+
"./secrets",
|
|
52
|
+
"./.env"
|
|
53
|
+
],
|
|
39
54
|
"requireApprovalForDelete": false,
|
|
40
55
|
"requireApprovalForWrite": false
|
|
41
56
|
}
|
|
@@ -46,7 +61,9 @@
|
|
|
46
61
|
"priority": 50,
|
|
47
62
|
"config": {
|
|
48
63
|
"allowedCommands": [],
|
|
49
|
-
"blockedCommands": [
|
|
64
|
+
"blockedCommands": [
|
|
65
|
+
"*"
|
|
66
|
+
],
|
|
50
67
|
"requireApprovalForDangerous": false
|
|
51
68
|
}
|
|
52
69
|
}
|
|
@@ -60,4 +77,4 @@
|
|
|
60
77
|
"maxRotatedFiles": 5
|
|
61
78
|
},
|
|
62
79
|
"enableLogging": true
|
|
63
|
-
}
|
|
80
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexus-cortex/server",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.50.2",
|
|
4
4
|
"description": "Thin Express server wrapper for Nexus Cortex core library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"prepack": "node ../../scripts/copy-pkg-cortex-scaffold.mjs"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@nexus-cortex/core": "4.
|
|
24
|
-
"@nexus-cortex/executors": "4.
|
|
23
|
+
"@nexus-cortex/core": "4.50.2",
|
|
24
|
+
"@nexus-cortex/executors": "4.50.2",
|
|
25
25
|
"chalk": "^5.3.0",
|
|
26
26
|
"cors": "^2.8.5",
|
|
27
27
|
"dotenv": "^16.4.5",
|