@nexus-cortex/server 4.48.0 → 4.51.0

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.
@@ -16,7 +16,9 @@
16
16
  "list_files",
17
17
  "grep",
18
18
  "glob",
19
- "create_artifact"
19
+ "create_artifact",
20
+ "MemoryWrite",
21
+ "MemoryRecall"
20
22
  ]
21
23
  }
22
24
  },
@@ -68,4 +70,4 @@
68
70
  "maxRotatedFiles": 5
69
71
  },
70
72
  "enableLogging": false
71
- }
73
+ }
@@ -1,5 +1,5 @@
1
1
  {
2
- "$comment": "Production environment 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.",
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": ["./public", "./dist", "./build"],
38
- "blockedPaths": ["/etc", "/root", "/sys", "/.git", "/node_modules", "./config", "./secrets", "./.env"],
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.48.0",
3
+ "version": "4.51.0",
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.48.0",
24
- "@nexus-cortex/executors": "4.48.0",
23
+ "@nexus-cortex/core": "4.51.0",
24
+ "@nexus-cortex/executors": "4.51.0",
25
25
  "chalk": "^5.3.0",
26
26
  "cors": "^2.8.5",
27
27
  "dotenv": "^16.4.5",