@jini-ai/mcp 0.6.22 → 0.7.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.
Files changed (56) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/agent-install/index.d.ts +1 -0
  3. package/dist/agent-install/index.js +1 -0
  4. package/dist/agent-install/install.d.ts +2 -1
  5. package/dist/agent-install/install.js +28 -6
  6. package/dist/agent-install/owned-json-install.d.ts +12 -0
  7. package/dist/agent-install/owned-json-install.js +48 -0
  8. package/dist/federation/adapter.http.d.ts +3 -6
  9. package/dist/federation/adapter.http.js +32 -12
  10. package/dist/federation/bootstrap.js +15 -2
  11. package/dist/federation/config.d.ts +3 -0
  12. package/dist/federation/frozen-grants.d.ts +11 -1
  13. package/dist/federation/frozen-grants.js +14 -0
  14. package/dist/federation/hosted/access.d.ts +92 -0
  15. package/dist/federation/hosted/access.js +116 -0
  16. package/dist/federation/hosted/auth.d.ts +69 -0
  17. package/dist/federation/hosted/auth.js +70 -0
  18. package/dist/federation/hosted/connection-gate.d.ts +83 -0
  19. package/dist/federation/hosted/connection-gate.js +107 -0
  20. package/dist/federation/hosted/index.d.ts +14 -0
  21. package/dist/federation/hosted/index.js +13 -0
  22. package/dist/federation/hosted/projections.d.ts +15 -0
  23. package/dist/federation/hosted/projections.js +15 -0
  24. package/dist/federation/hosted/revocation.d.ts +70 -0
  25. package/dist/federation/hosted/revocation.js +78 -0
  26. package/dist/federation/hosted/store-ports.d.ts +95 -0
  27. package/dist/federation/hosted/store-ports.js +2 -0
  28. package/dist/federation/hosted/store.d.ts +211 -0
  29. package/dist/federation/hosted/store.js +1441 -0
  30. package/dist/federation/hosted/store.memory.d.ts +41 -0
  31. package/dist/federation/hosted/store.memory.js +149 -0
  32. package/dist/federation/hosted/unconfigured-error.d.ts +7 -0
  33. package/dist/federation/hosted/unconfigured-error.js +10 -0
  34. package/dist/federation/hosted/validation-error.d.ts +8 -0
  35. package/dist/federation/hosted/validation-error.js +12 -0
  36. package/dist/federation/hosted/vault.d.ts +68 -0
  37. package/dist/federation/hosted/vault.js +106 -0
  38. package/dist/federation/hosted/vocabulary.d.ts +17 -0
  39. package/dist/federation/hosted/vocabulary.js +17 -0
  40. package/dist/federation/index.d.ts +1 -0
  41. package/dist/federation/index.js +1 -0
  42. package/dist/federation/ports.d.ts +4 -0
  43. package/dist/federation/registrations.js +1 -0
  44. package/dist/federation/result-secrets.d.ts +11 -0
  45. package/dist/federation/result-secrets.js +14 -0
  46. package/dist/federation/stdio/adapter.stdio.d.ts +3 -1
  47. package/dist/federation/stdio/adapter.stdio.js +12 -4
  48. package/dist/federation/stdio/default-connect.js +3 -2
  49. package/dist/index.d.ts +2 -2
  50. package/dist/index.js +2 -2
  51. package/dist/server/{http-tool-server.d.ts → http-tool-server.adapter.d.ts} +1 -1
  52. package/dist/server/{http-tool-server.js → http-tool-server.adapter.js} +1 -1
  53. package/dist/server/index.d.ts +1 -1
  54. package/dist/server/index.js +1 -1
  55. package/dist/server/tool-result-pages.d.ts +1 -1
  56. package/package.json +14 -8
package/dist/index.js CHANGED
@@ -24,8 +24,8 @@ export { searchComponentsTool, describeComponentTool, COMPONENT_CATALOG_TOOLS }
24
24
  // ── server: gap 3's MCP-callback delegated-tool-execution def ──────────────
25
25
  export { createExecuteDelegatedToolTool, createExecuteReadonlyDelegatedToolTool, DEFAULT_DELEGATED_TOOL_TIMEOUT_MS, } from './server/index.js';
26
26
  // ── agent-install: register an MCP server into external agents ──────────────
27
- export { CHROME_DEVTOOLS_MCP_PRESET, AGENT_SLUGS, isAgentSlug, planAgentInstall, verifyJsonAgentInstall, applyJsonInstall, removeJsonInstall, } from './agent-install/index.js';
27
+ export { CHROME_DEVTOOLS_MCP_PRESET, AGENT_SLUGS, isAgentSlug, planAgentInstall, verifyJsonAgentInstall, installOwnedJsonAgent, applyJsonInstall, removeJsonInstall, } from './agent-install/index.js';
28
28
  export { DaemonHttpError } from './server/daemon-client.js';
29
29
  export { assembleRunToolHost } from './server/run-tool-host.js';
30
- export { MCP_HTTP_SESSION_MODE_SUPPORTED } from './server/http-tool-server.js';
30
+ export { MCP_HTTP_SESSION_MODE_SUPPORTED } from './server/http-tool-server.adapter.js';
31
31
  //# sourceMappingURL=index.js.map
@@ -41,4 +41,4 @@ export interface McpHttpToolServerRuntime {
41
41
  export declare function createMcpHttpToolServerRuntime(required: McpToolServerRequiredArgs, { start, ...options }?: McpHttpToolServerOptions & {
42
42
  start?: typeof startMcpHttpToolServer;
43
43
  }): McpHttpToolServerRuntime;
44
- //# sourceMappingURL=http-tool-server.d.ts.map
44
+ //# sourceMappingURL=http-tool-server.adapter.d.ts.map
@@ -269,4 +269,4 @@ export function createMcpHttpToolServerRuntime(required, { start = startMcpHttpT
269
269
  },
270
270
  };
271
271
  }
272
- //# sourceMappingURL=http-tool-server.js.map
272
+ //# sourceMappingURL=http-tool-server.adapter.js.map
@@ -20,6 +20,6 @@ export * from './tools/tool-catalog-tools.js';
20
20
  export * from './tools/component-catalog-tools.js';
21
21
  export * from './resources/active-resource.js';
22
22
  export * from './resources/site-guide-resource.js';
23
- export * from './http-tool-server.js';
23
+ export * from './http-tool-server.adapter.js';
24
24
  export * from './run-tool-host.js';
25
25
  //# sourceMappingURL=index.d.ts.map
@@ -20,6 +20,6 @@ export * from './tools/tool-catalog-tools.js';
20
20
  export * from './tools/component-catalog-tools.js';
21
21
  export * from './resources/active-resource.js';
22
22
  export * from './resources/site-guide-resource.js';
23
- export * from './http-tool-server.js';
23
+ export * from './http-tool-server.adapter.js';
24
24
  export * from './run-tool-host.js';
25
25
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- import type { CallToolResult } from '@modelcontextprotocol/sdk/types.js';
1
+ import type { CallToolResult } from './adapters/protocol.js';
2
2
  import type { McpToolDef } from './tool-protocol.js';
3
3
  export interface ToolResultPages {
4
4
  readonly tool: McpToolDef;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jini-ai/mcp",
3
- "version": "0.6.22",
3
+ "version": "0.7.0",
4
4
  "description": "Model Context Protocol adapters: server config schema and IO, an MCP client, and agent-side MCP server installation.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -19,7 +19,8 @@
19
19
  "./federation": "node",
20
20
  "./federation/approvals": "node",
21
21
  "./federation/stdio": "node",
22
- "./federation/testing": "universal"
22
+ "./federation/testing": "universal",
23
+ "./federation/hosted": "node"
23
24
  }
24
25
  },
25
26
  "type": "module",
@@ -57,6 +58,11 @@
57
58
  "import": "./dist/federation/testing/index.js",
58
59
  "default": "./dist/federation/testing/index.js"
59
60
  },
61
+ "./federation/hosted": {
62
+ "types": "./dist/federation/hosted/index.d.ts",
63
+ "import": "./dist/federation/hosted/index.js",
64
+ "default": "./dist/federation/hosted/index.js"
65
+ },
60
66
  "./bin": {
61
67
  "types": "./dist/bin/serve.d.ts",
62
68
  "import": "./dist/bin/serve.js",
@@ -85,16 +91,16 @@
85
91
  "dependencies": {
86
92
  "@cfworker/json-schema": "^4.1.1",
87
93
  "@modelcontextprotocol/sdk": "^1.29.0",
88
- "@jini-ai/protocol": "^0.6.19",
89
- "@jini-ai/platform": "^0.6.22",
90
- "@jini-ai/core": "^0.6.22"
94
+ "@jini-ai/core": "^0.7.0",
95
+ "@jini-ai/protocol": "^0.7.0",
96
+ "@jini-ai/platform": "^0.7.0"
91
97
  },
92
98
  "devDependencies": {
93
99
  "@cfworker/json-schema": "^4.1.1",
94
100
  "@modelcontextprotocol/sdk": "^1.29.0",
95
- "@jini-ai/core": "^0.6.22",
96
- "@jini-ai/daemon": "^0.6.22",
97
- "@jini-ai/platform": "^0.6.22"
101
+ "@jini-ai/daemon": "^0.7.0",
102
+ "@jini-ai/core": "^0.7.0",
103
+ "@jini-ai/platform": "^0.7.0"
98
104
  },
99
105
  "scripts": {
100
106
  "build": "tsc -p tsconfig.json && chmod +x dist/bin/serve.js",