0nmcp 2.2.0 → 2.4.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.
package/index.js CHANGED
@@ -32,30 +32,33 @@ import { registerContainerTools } from "./vault/tools-container.js";
32
32
  import { registerDeedTools } from "./vault/tools-deed.js";
33
33
  import { unsealedCache } from "./vault/cache.js";
34
34
  import { registerEngineTools } from "./engine/index.js";
35
+ import { CapabilityProxy } from "./capability-proxy.js";
36
+ import { SERVICE_CATALOG } from "./catalog.js";
35
37
 
36
38
  // ── Initialize ─────────────────────────────────────────────
37
39
  const connections = new ConnectionManager();
38
40
  connections._vaultCache = unsealedCache;
39
- const orchestrator = new Orchestrator(connections);
40
- const workflowRunner = new WorkflowRunner(connections);
41
+ const proxy = new CapabilityProxy(connections, SERVICE_CATALOG);
42
+ const orchestrator = new Orchestrator(connections, proxy);
43
+ const workflowRunner = new WorkflowRunner(connections, proxy);
41
44
 
42
45
  const server = new McpServer({
43
46
  name: "0nMCP",
44
- version: "2.1.0",
47
+ version: "2.2.0",
45
48
  });
46
49
 
47
50
  // ============================================================
48
51
  // REGISTER ALL TOOLS
49
52
  // ============================================================
50
53
 
51
- registerAllTools(server, connections, orchestrator, workflowRunner);
54
+ registerAllTools(server, connections, orchestrator, workflowRunner, proxy);
52
55
 
53
56
  // ============================================================
54
57
  // SERVICE-SPECIFIC TOOLS
55
58
  // ============================================================
56
59
 
57
60
  import { z } from "zod";
58
- registerCrmTools(server, z);
61
+ registerCrmTools(server, z, proxy);
59
62
 
60
63
  // ============================================================
61
64
  // VAULT TOOLS (machine-bound credential encryption)
package/lib/badges.json CHANGED
@@ -2,31 +2,31 @@
2
2
  "tools": {
3
3
  "schemaVersion": 1,
4
4
  "label": "tools",
5
- "message": "290",
5
+ "message": "545",
6
6
  "color": "00ff88"
7
7
  },
8
8
  "services": {
9
9
  "schemaVersion": 1,
10
10
  "label": "services",
11
- "message": "26",
11
+ "message": "48",
12
12
  "color": "00d4ff"
13
13
  },
14
14
  "actions": {
15
15
  "schemaVersion": 1,
16
16
  "label": "actions",
17
- "message": "65",
17
+ "message": "104",
18
18
  "color": "ff6b35"
19
19
  },
20
20
  "triggers": {
21
21
  "schemaVersion": 1,
22
22
  "label": "triggers",
23
- "message": "93",
23
+ "message": "155",
24
24
  "color": "9945ff"
25
25
  },
26
26
  "total": {
27
27
  "schemaVersion": 1,
28
28
  "label": "capabilities",
29
- "message": "708",
29
+ "message": "1078",
30
30
  "color": "00ff88"
31
31
  }
32
32
  }