n2-soul 6.0.0 → 6.0.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/index.js +2 -2
- package/lib/ark/examples/README.md +7 -7
- package/lib/ark/index.js +1 -1
- package/package.json +1 -1
- package/sequences/boot.js +2 -2
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Soul MCP
|
|
1
|
+
// Soul MCP v6.0 — Entry point. Multi-agent session orchestrator with KV-Cache + Ark.
|
|
2
2
|
const path = require('path');
|
|
3
3
|
const { McpServer } = require('@modelcontextprotocol/sdk/server/mcp.js');
|
|
4
4
|
const { StdioServerTransport } = require('@modelcontextprotocol/sdk/server/stdio.js');
|
|
@@ -17,7 +17,7 @@ const { registerKVCacheTools } = require('./tools/kv-cache');
|
|
|
17
17
|
|
|
18
18
|
const server = new McpServer({
|
|
19
19
|
name: 'n2-soul',
|
|
20
|
-
version: '6.0.
|
|
20
|
+
version: '6.0.1',
|
|
21
21
|
});
|
|
22
22
|
|
|
23
23
|
// ═══════════════════════════════════════════════════════
|
|
@@ -5,10 +5,10 @@ Copy any file into your `rules/` directory to activate it.
|
|
|
5
5
|
|
|
6
6
|
| File | Domain | Description |
|
|
7
7
|
|------|--------|-------------|
|
|
8
|
-
| `financial.n2` |
|
|
9
|
-
| `system.n2` |
|
|
10
|
-
| `medical.n2` |
|
|
11
|
-
| `military.n2` |
|
|
12
|
-
| `privacy.n2` |
|
|
13
|
-
| `autonomous.n2` |
|
|
14
|
-
| `legal.n2` |
|
|
8
|
+
| `financial.n2` | Finance | Payment sequences, financial API blacklist |
|
|
9
|
+
| `system.n2` | DevOps | Deployment sequence, infrastructure protection |
|
|
10
|
+
| `medical.n2` | Healthcare | Prescription/surgical sequences, patient data |
|
|
11
|
+
| `military.n2` | Defense | Engagement/nuclear protocols, classified data |
|
|
12
|
+
| `privacy.n2` | Privacy | GDPR/CCPA compliance, PII protection |
|
|
13
|
+
| `autonomous.n2` | Autonomous | Self-driving/drone safety, vehicle control |
|
|
14
|
+
| `legal.n2` | Legal | Contract/litigation sequences, legal actions |
|
package/lib/ark/index.js
CHANGED
package/package.json
CHANGED
package/sequences/boot.js
CHANGED
|
@@ -32,12 +32,12 @@ function registerBootSequence(server, z, config) {
|
|
|
32
32
|
const agentName = agent || process.env.N2_AGENT_NAME || 'default';
|
|
33
33
|
setAgentName(agentName);
|
|
34
34
|
|
|
35
|
-
lines.push(`--- Soul Boot
|
|
35
|
+
lines.push(`--- Soul Boot v6.0 | ${agentName} | ${today()} ---`);
|
|
36
36
|
if (agents.length > 0) {
|
|
37
37
|
lines.push(`Agents: ${agents.map(a => `${a.name}[${a.model}]`).join(', ')}`);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
// Ark
|
|
40
|
+
// Ark safety status — always shown, no opt-out
|
|
41
41
|
try {
|
|
42
42
|
const rulesDir = config.ARK?.rulesDir || path.join(config.SOUL_ROOT, 'rules');
|
|
43
43
|
const ruleFiles = fs.readdirSync(rulesDir).filter(f => f.endsWith('.n2'));
|