@jini-ai/mcp 0.7.3-next.2 → 0.7.3-next.3
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/README.md +15 -0
- package/dist/agent-install/owned-json-install.d.ts +1 -1
- package/dist/client/client.js +1 -1
- package/dist/client/css-url-refs.d.ts +3 -1
- package/dist/client/css-url-refs.js +1 -1
- package/dist/external/access-review.d.ts +46 -0
- package/dist/external/access-review.js +175 -0
- package/dist/external/agent-tools.d.ts +72 -0
- package/dist/external/agent-tools.js +218 -0
- package/dist/external/built-in-connections.d.ts +17 -0
- package/dist/external/built-in-connections.js +15 -0
- package/dist/external/external-mcp-host-copy.d.ts +14 -0
- package/dist/external/external-mcp-host-copy.js +8 -0
- package/dist/external/operations-tools.d.ts +69 -0
- package/dist/external/operations-tools.js +96 -0
- package/dist/external/save-form.d.ts +105 -0
- package/dist/external/save-form.js +260 -0
- package/dist/external/save-input.d.ts +41 -0
- package/dist/external/save-input.js +149 -0
- package/dist/external/tool-registrations.d.ts +130 -0
- package/dist/external/tool-registrations.js +299 -0
- package/dist/federation/bootstrap.d.ts +18 -0
- package/dist/federation/bootstrap.js +2 -2
- package/dist/federation/external-mcp-admissions.d.ts +19 -0
- package/dist/federation/external-mcp-admissions.js +30 -0
- package/dist/federation/external-mcp-probe.d.ts +86 -0
- package/dist/federation/external-mcp-probe.js +75 -0
- package/dist/federation/hosted/external-mcp-repo.d.ts +108 -0
- package/dist/federation/hosted/external-mcp-repo.js +210 -0
- package/dist/federation/hosted/external-mcp-repo.writes.d.ts +75 -0
- package/dist/federation/hosted/external-mcp-repo.writes.js +131 -0
- package/dist/federation/hosted/store-credentials.d.ts +6 -1
- package/dist/federation/hosted/store-credentials.js +2 -2
- package/dist/federation/hosted/store-input.d.ts +11 -3
- package/dist/federation/hosted/store-input.js +5 -5
- package/dist/federation/hosted/store-oauth-fields.d.ts +10 -2
- package/dist/federation/hosted/store-oauth-fields.js +7 -7
- package/dist/federation/hosted/store-view.d.ts +6 -1
- package/dist/federation/hosted/store-view.js +2 -2
- package/dist/federation/hosted/store.js +7 -7
- package/dist/federation/hosted/store.memory.d.ts +2 -0
- package/dist/federation/hosted/store.memory.js +6 -2
- package/dist/federation/index.d.ts +2 -0
- package/dist/federation/index.js +2 -0
- package/dist/federation/registrations.js +73 -56
- package/dist/federation/roster-change.d.ts +63 -0
- package/dist/federation/roster-change.js +68 -0
- package/dist/federation/runtime.d.ts +140 -0
- package/dist/federation/runtime.js +118 -0
- package/dist/react/external-mcp/ExternalMcpAdmissionsBanner.d.ts +42 -0
- package/dist/react/external-mcp/ExternalMcpAdmissionsBanner.js +80 -0
- package/dist/react/external-mcp/ExternalMcpPanelSections.d.ts +50 -0
- package/dist/react/external-mcp/ExternalMcpPanelSections.js +35 -0
- package/dist/react/external-mcp/ExternalMcpSettingsPanel.d.ts +446 -0
- package/dist/react/external-mcp/ExternalMcpSettingsPanel.hooks.d.ts +135 -0
- package/dist/react/external-mcp/ExternalMcpSettingsPanel.hooks.js +122 -0
- package/dist/react/external-mcp/ExternalMcpSettingsPanel.js +63 -0
- package/dist/react/external-mcp/ExternalMcpSourceRow.d.ts +40 -0
- package/dist/react/external-mcp/ExternalMcpSourceRow.js +100 -0
- package/dist/react/external-mcp/hooks/external-mcp-form.rules.d.ts +58 -0
- package/dist/react/external-mcp/hooks/external-mcp-form.rules.js +209 -0
- package/dist/react/external-mcp/hooks/external-mcp-source-actions.d.ts +115 -0
- package/dist/react/external-mcp/hooks/external-mcp-source-actions.js +152 -0
- package/dist/react/external-mcp/hooks/use-external-mcp-admissions.hooks.d.ts +166 -0
- package/dist/react/external-mcp/hooks/use-external-mcp-admissions.hooks.js +209 -0
- package/dist/react/external-mcp/hooks/use-external-mcp.hooks.d.ts +132 -0
- package/dist/react/external-mcp/hooks/use-external-mcp.hooks.js +37 -0
- package/dist/server/tool-arguments.d.ts +5 -1
- package/dist/server/tool-arguments.js +13 -9
- package/dist/server/tool-protocol.js +7 -5
- package/dist/server/tools/tool-catalog-tools.js +6 -3
- package/dist/tools/ask-choice/custom-answer.d.ts +77 -0
- package/dist/tools/ask-choice/custom-answer.js +113 -0
- package/dist/tools/ask-choice/index.d.ts +2 -0
- package/dist/tools/ask-choice/index.js +1 -0
- package/package.json +122 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jini-ai/mcp",
|
|
3
|
-
"version": "0.7.3-next.
|
|
3
|
+
"version": "0.7.3-next.3",
|
|
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": {
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
"kind": "protocol-adapter",
|
|
14
14
|
"runtime": "node",
|
|
15
15
|
"entries": {
|
|
16
|
+
"./react/external-mcp/hooks/external-mcp-source-actions": "browser",
|
|
16
17
|
".": "node",
|
|
17
18
|
"./bin": "node",
|
|
18
19
|
"./tools/ask-choice": "universal",
|
|
@@ -20,7 +21,25 @@
|
|
|
20
21
|
"./federation/approvals": "node",
|
|
21
22
|
"./federation/stdio": "node",
|
|
22
23
|
"./federation/testing": "universal",
|
|
23
|
-
"./federation/hosted": "node"
|
|
24
|
+
"./federation/hosted": "node",
|
|
25
|
+
"./external/built-in-connections": "universal",
|
|
26
|
+
"./external/agent-tools": "universal",
|
|
27
|
+
"./external/operations-tools": "universal",
|
|
28
|
+
"./federation/external-mcp-admissions": "universal",
|
|
29
|
+
"./external/external-mcp-host-copy": "universal",
|
|
30
|
+
"./external/save-form": "universal",
|
|
31
|
+
"./federation/external-mcp-probe": "node",
|
|
32
|
+
"./federation/hosted/external-mcp-repo": "node",
|
|
33
|
+
"./react/external-mcp/ExternalMcpAdmissionsBanner": "browser",
|
|
34
|
+
"./react/external-mcp/ExternalMcpSettingsPanel.hooks": "browser",
|
|
35
|
+
"./react/external-mcp/ExternalMcpSettingsPanel": "browser",
|
|
36
|
+
"./react/external-mcp/hooks/use-external-mcp-admissions.hooks": "browser",
|
|
37
|
+
"./external/tool-registrations": "node",
|
|
38
|
+
"./react/external-mcp/hooks/use-external-mcp.hooks": "browser"
|
|
39
|
+
},
|
|
40
|
+
"optionalPeers": {
|
|
41
|
+
"kysely": "opt-in: hosted MCP SQL — Install kysely to use the hosted MCP SQL repository.",
|
|
42
|
+
"react": "opt-in: react browser bindings; import @jini-ai/mcp/react/external-mcp/ExternalMcpAdmissionsBanner — React browser bindings could not load react. Install react to enable this feature, or check its installed version."
|
|
24
43
|
}
|
|
25
44
|
},
|
|
26
45
|
"type": "module",
|
|
@@ -28,6 +47,11 @@
|
|
|
28
47
|
"main": "./dist/index.js",
|
|
29
48
|
"types": "./dist/index.d.ts",
|
|
30
49
|
"exports": {
|
|
50
|
+
"./react/external-mcp/hooks/external-mcp-source-actions": {
|
|
51
|
+
"types": "./dist/react/external-mcp/hooks/external-mcp-source-actions.d.ts",
|
|
52
|
+
"import": "./dist/react/external-mcp/hooks/external-mcp-source-actions.js",
|
|
53
|
+
"default": "./dist/react/external-mcp/hooks/external-mcp-source-actions.js"
|
|
54
|
+
},
|
|
31
55
|
".": {
|
|
32
56
|
"types": "./dist/index.d.ts",
|
|
33
57
|
"import": "./dist/index.js",
|
|
@@ -67,6 +91,76 @@
|
|
|
67
91
|
"types": "./dist/bin/serve.d.ts",
|
|
68
92
|
"import": "./dist/bin/serve.js",
|
|
69
93
|
"default": "./dist/bin/serve.js"
|
|
94
|
+
},
|
|
95
|
+
"./external/built-in-connections": {
|
|
96
|
+
"types": "./dist/external/built-in-connections.d.ts",
|
|
97
|
+
"import": "./dist/external/built-in-connections.js",
|
|
98
|
+
"default": "./dist/external/built-in-connections.js"
|
|
99
|
+
},
|
|
100
|
+
"./external/agent-tools": {
|
|
101
|
+
"types": "./dist/external/agent-tools.d.ts",
|
|
102
|
+
"import": "./dist/external/agent-tools.js",
|
|
103
|
+
"default": "./dist/external/agent-tools.js"
|
|
104
|
+
},
|
|
105
|
+
"./external/operations-tools": {
|
|
106
|
+
"types": "./dist/external/operations-tools.d.ts",
|
|
107
|
+
"import": "./dist/external/operations-tools.js",
|
|
108
|
+
"default": "./dist/external/operations-tools.js"
|
|
109
|
+
},
|
|
110
|
+
"./federation/external-mcp-admissions": {
|
|
111
|
+
"types": "./dist/federation/external-mcp-admissions.d.ts",
|
|
112
|
+
"import": "./dist/federation/external-mcp-admissions.js",
|
|
113
|
+
"default": "./dist/federation/external-mcp-admissions.js"
|
|
114
|
+
},
|
|
115
|
+
"./external/external-mcp-host-copy": {
|
|
116
|
+
"types": "./dist/external/external-mcp-host-copy.d.ts",
|
|
117
|
+
"import": "./dist/external/external-mcp-host-copy.js",
|
|
118
|
+
"default": "./dist/external/external-mcp-host-copy.js"
|
|
119
|
+
},
|
|
120
|
+
"./external/save-form": {
|
|
121
|
+
"types": "./dist/external/save-form.d.ts",
|
|
122
|
+
"import": "./dist/external/save-form.js",
|
|
123
|
+
"default": "./dist/external/save-form.js"
|
|
124
|
+
},
|
|
125
|
+
"./federation/external-mcp-probe": {
|
|
126
|
+
"types": "./dist/federation/external-mcp-probe.d.ts",
|
|
127
|
+
"import": "./dist/federation/external-mcp-probe.js",
|
|
128
|
+
"default": "./dist/federation/external-mcp-probe.js"
|
|
129
|
+
},
|
|
130
|
+
"./federation/hosted/external-mcp-repo": {
|
|
131
|
+
"types": "./dist/federation/hosted/external-mcp-repo.d.ts",
|
|
132
|
+
"import": "./dist/federation/hosted/external-mcp-repo.js",
|
|
133
|
+
"default": "./dist/federation/hosted/external-mcp-repo.js"
|
|
134
|
+
},
|
|
135
|
+
"./react/external-mcp/ExternalMcpAdmissionsBanner": {
|
|
136
|
+
"types": "./dist/react/external-mcp/ExternalMcpAdmissionsBanner.d.ts",
|
|
137
|
+
"import": "./dist/react/external-mcp/ExternalMcpAdmissionsBanner.js",
|
|
138
|
+
"default": "./dist/react/external-mcp/ExternalMcpAdmissionsBanner.js"
|
|
139
|
+
},
|
|
140
|
+
"./react/external-mcp/ExternalMcpSettingsPanel": {
|
|
141
|
+
"types": "./dist/react/external-mcp/ExternalMcpSettingsPanel.d.ts",
|
|
142
|
+
"import": "./dist/react/external-mcp/ExternalMcpSettingsPanel.js",
|
|
143
|
+
"default": "./dist/react/external-mcp/ExternalMcpSettingsPanel.js"
|
|
144
|
+
},
|
|
145
|
+
"./react/external-mcp/ExternalMcpSettingsPanel.hooks": {
|
|
146
|
+
"types": "./dist/react/external-mcp/ExternalMcpSettingsPanel.hooks.d.ts",
|
|
147
|
+
"import": "./dist/react/external-mcp/ExternalMcpSettingsPanel.hooks.js",
|
|
148
|
+
"default": "./dist/react/external-mcp/ExternalMcpSettingsPanel.hooks.js"
|
|
149
|
+
},
|
|
150
|
+
"./react/external-mcp/hooks/use-external-mcp-admissions.hooks": {
|
|
151
|
+
"types": "./dist/react/external-mcp/hooks/use-external-mcp-admissions.hooks.d.ts",
|
|
152
|
+
"import": "./dist/react/external-mcp/hooks/use-external-mcp-admissions.hooks.js",
|
|
153
|
+
"default": "./dist/react/external-mcp/hooks/use-external-mcp-admissions.hooks.js"
|
|
154
|
+
},
|
|
155
|
+
"./external/tool-registrations": {
|
|
156
|
+
"types": "./dist/external/tool-registrations.d.ts",
|
|
157
|
+
"import": "./dist/external/tool-registrations.js",
|
|
158
|
+
"default": "./dist/external/tool-registrations.js"
|
|
159
|
+
},
|
|
160
|
+
"./react/external-mcp/hooks/use-external-mcp.hooks": {
|
|
161
|
+
"types": "./dist/react/external-mcp/hooks/use-external-mcp.hooks.d.ts",
|
|
162
|
+
"import": "./dist/react/external-mcp/hooks/use-external-mcp.hooks.js",
|
|
163
|
+
"default": "./dist/react/external-mcp/hooks/use-external-mcp.hooks.js"
|
|
70
164
|
}
|
|
71
165
|
},
|
|
72
166
|
"bin": {
|
|
@@ -91,15 +185,36 @@
|
|
|
91
185
|
"dependencies": {
|
|
92
186
|
"@cfworker/json-schema": "^4.1.1",
|
|
93
187
|
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
94
|
-
"@jini-ai/core": "^0.7.3-next.
|
|
95
|
-
"@jini-ai/protocol": "^0.7.3-next.
|
|
188
|
+
"@jini-ai/core": "^0.7.3-next.3",
|
|
189
|
+
"@jini-ai/protocol": "^0.7.3-next.3"
|
|
96
190
|
},
|
|
97
191
|
"devDependencies": {
|
|
98
192
|
"@cfworker/json-schema": "^4.1.1",
|
|
99
193
|
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"@
|
|
194
|
+
"kysely": "^0.29.6",
|
|
195
|
+
"react": "^19.2.0",
|
|
196
|
+
"@types/react": "^19.2.0",
|
|
197
|
+
"@testing-library/react": "^16.3.0",
|
|
198
|
+
"react-dom": "^19.2.0",
|
|
199
|
+
"@types/react-dom": "^19.2.0",
|
|
200
|
+
"jsdom": "^26.1.0",
|
|
201
|
+
"@jini-ai/core": "^0.7.3-next.3",
|
|
202
|
+
"@jini-ai/daemon": "^0.7.3-next.3",
|
|
203
|
+
"@jini-ai/ui": "^0.7.3-next.3",
|
|
204
|
+
"@jini-ai/platform": "^0.7.3-next.3",
|
|
205
|
+
"@jini-ai/admin": "^0.7.3-next.3"
|
|
206
|
+
},
|
|
207
|
+
"peerDependencies": {
|
|
208
|
+
"kysely": "^0.29.6",
|
|
209
|
+
"react": "^18.3.0 || ^19.0.0"
|
|
210
|
+
},
|
|
211
|
+
"peerDependenciesMeta": {
|
|
212
|
+
"kysely": {
|
|
213
|
+
"optional": true
|
|
214
|
+
},
|
|
215
|
+
"react": {
|
|
216
|
+
"optional": true
|
|
217
|
+
}
|
|
103
218
|
},
|
|
104
219
|
"scripts": {
|
|
105
220
|
"build": "tsc -p tsconfig.json && chmod +x dist/bin/serve.js",
|