@executor-js/plugin-mcp 1.4.29 → 1.4.31
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/dist/{AddMcpSource-TLAL463B.js → AddMcpSource-3HUBFR3K.js} +68 -141
- package/dist/AddMcpSource-3HUBFR3K.js.map +1 -0
- package/dist/{EditMcpSource-FAWEECNU.js → EditMcpSource-UVGSSC2R.js} +106 -83
- package/dist/EditMcpSource-UVGSSC2R.js.map +1 -0
- package/dist/McpSourceSummary-UWVCAJOU.js +171 -0
- package/dist/McpSourceSummary-UWVCAJOU.js.map +1 -0
- package/dist/api/group.d.ts +92 -180
- package/dist/api/index.d.ts +97 -382
- package/dist/{chunk-4ORPFRLI.js → chunk-2A4H3UVR.js} +21 -80
- package/dist/chunk-2A4H3UVR.js.map +1 -0
- package/dist/{chunk-M6REVU6O.js → chunk-3TGDWTNE.js} +14 -40
- package/dist/chunk-3TGDWTNE.js.map +1 -0
- package/dist/{chunk-2DOCEPYN.js → chunk-H5PLTEMB.js} +632 -713
- package/dist/chunk-H5PLTEMB.js.map +1 -0
- package/dist/chunk-PZ5AY32C.js +10 -0
- package/dist/chunk-PZ5AY32C.js.map +1 -0
- package/dist/{chunk-SKSXXFOA.js → chunk-TW44CBXJ.js} +12 -1
- package/dist/chunk-TW44CBXJ.js.map +1 -0
- package/dist/client.js +5 -4
- package/dist/client.js.map +1 -1
- package/dist/core.js +4 -6
- package/dist/index.js +4 -2
- package/dist/promise.d.ts +1 -1
- package/dist/react/atoms.d.ts +198 -236
- package/dist/react/client.d.ts +91 -179
- package/dist/sdk/binding-store.d.ts +3 -163
- package/dist/sdk/index.d.ts +2 -2
- package/dist/sdk/plugin.d.ts +172 -225
- package/dist/sdk/presets.d.ts +1 -0
- package/dist/sdk/testing-fixtures.test.d.ts +1 -0
- package/dist/sdk/types.d.ts +58 -83
- package/dist/{stdio-connector-AA5S6UUJ.js → stdio-connector-MDW6PW36.js} +3 -1
- package/dist/{stdio-connector-AA5S6UUJ.js.map → stdio-connector-MDW6PW36.js.map} +1 -1
- package/dist/testing/index.d.ts +1 -1
- package/dist/testing/server.d.ts +70 -4
- package/dist/testing.js +14085 -30
- package/dist/testing.js.map +1 -1
- package/package.json +3 -4
- package/dist/AddMcpSource-TLAL463B.js.map +0 -1
- package/dist/EditMcpSource-FAWEECNU.js.map +0 -1
- package/dist/McpSourceSummary-257JNETP.js +0 -85
- package/dist/McpSourceSummary-257JNETP.js.map +0 -1
- package/dist/chunk-2DOCEPYN.js.map +0 -1
- package/dist/chunk-4ORPFRLI.js.map +0 -1
- package/dist/chunk-M6REVU6O.js.map +0 -1
- package/dist/chunk-SKSXXFOA.js.map +0 -1
package/dist/react/atoms.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ScopeId } from "@executor-js/sdk/
|
|
1
|
+
import type { ScopeId } from "@executor-js/sdk/shared";
|
|
2
2
|
import * as Atom from "effect/unstable/reactivity/Atom";
|
|
3
3
|
import * as AsyncResult from "effect/unstable/reactivity/AsyncResult";
|
|
4
4
|
export declare const mcpSourceAtom: (scopeId: ScopeId, namespace: string) => Atom.Atom<AsyncResult.AsyncResult<{
|
|
@@ -18,8 +18,8 @@ export declare const mcpSourceAtom: (scopeId: ScopeId, namespace: string) => Ato
|
|
|
18
18
|
} | {
|
|
19
19
|
readonly kind: "oauth2";
|
|
20
20
|
readonly connectionSlot: string;
|
|
21
|
-
readonly clientIdSlot?: string | undefined;
|
|
22
21
|
readonly clientSecretSlot?: string | undefined;
|
|
22
|
+
readonly clientIdSlot?: string | undefined;
|
|
23
23
|
};
|
|
24
24
|
readonly headers?: {
|
|
25
25
|
readonly [x: string]: string | {
|
|
@@ -28,7 +28,6 @@ export declare const mcpSourceAtom: (scopeId: ScopeId, namespace: string) => Ato
|
|
|
28
28
|
readonly prefix?: string | undefined;
|
|
29
29
|
};
|
|
30
30
|
} | undefined;
|
|
31
|
-
readonly remoteTransport?: "streamable-http" | "sse" | "auto" | undefined;
|
|
32
31
|
readonly queryParams?: {
|
|
33
32
|
readonly [x: string]: string | {
|
|
34
33
|
readonly kind: "binding";
|
|
@@ -36,6 +35,7 @@ export declare const mcpSourceAtom: (scopeId: ScopeId, namespace: string) => Ato
|
|
|
36
35
|
readonly prefix?: string | undefined;
|
|
37
36
|
};
|
|
38
37
|
} | undefined;
|
|
38
|
+
readonly remoteTransport?: "auto" | "streamable-http" | "sse" | undefined;
|
|
39
39
|
} | {
|
|
40
40
|
readonly transport: "stdio";
|
|
41
41
|
readonly command: string;
|
|
@@ -45,8 +45,9 @@ export declare const mcpSourceAtom: (scopeId: ScopeId, namespace: string) => Ato
|
|
|
45
45
|
} | undefined;
|
|
46
46
|
readonly cwd?: string | undefined;
|
|
47
47
|
};
|
|
48
|
-
} | null, import("@executor-js/
|
|
48
|
+
} | null, import("@executor-js/sdk").InternalError | import("../sdk/errors").McpConnectionError | import("../sdk/errors").McpToolDiscoveryError>>;
|
|
49
49
|
export declare const mcpSourceBindingsAtom: (scopeId: ScopeId, namespace: string, sourceScopeId: ScopeId) => Atom.Atom<AsyncResult.AsyncResult<readonly {
|
|
50
|
+
readonly id: string & import("effect/Brand").Brand<"CredentialBindingId">;
|
|
50
51
|
readonly value: {
|
|
51
52
|
readonly text: string;
|
|
52
53
|
readonly kind: "text";
|
|
@@ -59,12 +60,13 @@ export declare const mcpSourceBindingsAtom: (scopeId: ScopeId, namespace: string
|
|
|
59
60
|
readonly kind: "connection";
|
|
60
61
|
};
|
|
61
62
|
readonly createdAt: Date;
|
|
63
|
+
readonly pluginId: string;
|
|
62
64
|
readonly sourceId: string;
|
|
63
65
|
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
64
66
|
readonly updatedAt: Date;
|
|
65
|
-
readonly slot: string;
|
|
66
67
|
readonly sourceScopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
67
|
-
|
|
68
|
+
readonly slotKey: string;
|
|
69
|
+
}[], import("@executor-js/sdk").InternalError>>;
|
|
68
70
|
export declare const probeMcpEndpoint: Atom.AtomResultFn<{
|
|
69
71
|
readonly params: {
|
|
70
72
|
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
@@ -89,12 +91,12 @@ export declare const probeMcpEndpoint: Atom.AtomResultFn<{
|
|
|
89
91
|
}, {
|
|
90
92
|
readonly name: string;
|
|
91
93
|
readonly namespace: string;
|
|
94
|
+
readonly supportsDynamicRegistration: boolean;
|
|
92
95
|
readonly toolCount: number | null;
|
|
93
96
|
readonly serverName: string | null;
|
|
94
97
|
readonly connected: boolean;
|
|
95
98
|
readonly requiresOAuth: boolean;
|
|
96
|
-
|
|
97
|
-
}, import("@executor-js/api").InternalError | import("../sdk/errors").McpConnectionError | import("../sdk/errors").McpToolDiscoveryError>;
|
|
99
|
+
}, import("@executor-js/sdk").InternalError | import("../sdk/errors").McpConnectionError | import("../sdk/errors").McpToolDiscoveryError>;
|
|
98
100
|
export declare const addMcpSource: Atom.AtomResultFn<{
|
|
99
101
|
readonly params: {
|
|
100
102
|
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
@@ -102,66 +104,111 @@ export declare const addMcpSource: Atom.AtomResultFn<{
|
|
|
102
104
|
readonly payload: {
|
|
103
105
|
readonly name: string;
|
|
104
106
|
readonly endpoint: string;
|
|
105
|
-
readonly targetScope: string & import("effect/Brand").Brand<"ScopeId">;
|
|
106
107
|
readonly transport: "remote";
|
|
107
108
|
readonly namespace?: string | undefined;
|
|
109
|
+
readonly oauth2?: {
|
|
110
|
+
readonly kind: "oauth2";
|
|
111
|
+
readonly scopes: readonly string[];
|
|
112
|
+
readonly clientSecretSlot: string | null;
|
|
113
|
+
readonly securitySchemeName: string;
|
|
114
|
+
readonly flow: "authorizationCode" | "clientCredentials";
|
|
115
|
+
readonly tokenUrl: string;
|
|
116
|
+
readonly clientIdSlot: string;
|
|
117
|
+
readonly connectionSlot: string;
|
|
118
|
+
readonly issuerUrl?: string | null | undefined;
|
|
119
|
+
readonly authorizationUrl?: string | null | undefined;
|
|
120
|
+
} | undefined;
|
|
108
121
|
readonly headers?: {
|
|
109
122
|
readonly [x: string]: string | {
|
|
110
|
-
readonly
|
|
123
|
+
readonly kind: "secret";
|
|
111
124
|
readonly prefix?: string | undefined;
|
|
112
|
-
} | {
|
|
113
|
-
readonly kind: "binding";
|
|
114
|
-
readonly slot: string;
|
|
115
|
-
readonly prefix?: string | undefined;
|
|
116
|
-
} | {
|
|
117
|
-
readonly secretId: string;
|
|
118
|
-
readonly targetScope: string & import("effect/Brand").Brand<"ScopeId">;
|
|
119
|
-
readonly prefix?: string | undefined;
|
|
120
|
-
readonly secretScopeId?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
|
|
121
125
|
};
|
|
122
126
|
} | undefined;
|
|
123
|
-
readonly remoteTransport?: "streamable-http" | "sse" | "auto" | undefined;
|
|
124
127
|
readonly queryParams?: {
|
|
125
128
|
readonly [x: string]: string | {
|
|
126
|
-
readonly
|
|
127
|
-
readonly prefix?: string | undefined;
|
|
128
|
-
} | {
|
|
129
|
-
readonly kind: "binding";
|
|
130
|
-
readonly slot: string;
|
|
131
|
-
readonly prefix?: string | undefined;
|
|
132
|
-
} | {
|
|
133
|
-
readonly secretId: string;
|
|
134
|
-
readonly targetScope: string & import("effect/Brand").Brand<"ScopeId">;
|
|
129
|
+
readonly kind: "secret";
|
|
135
130
|
readonly prefix?: string | undefined;
|
|
136
|
-
readonly secretScopeId?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
|
|
137
131
|
};
|
|
138
132
|
} | undefined;
|
|
139
|
-
readonly
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
readonly
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
readonly
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
133
|
+
readonly remoteTransport?: "auto" | "streamable-http" | "sse" | undefined;
|
|
134
|
+
readonly credentials?: {
|
|
135
|
+
readonly scope: string & import("effect/Brand").Brand<"ScopeId">;
|
|
136
|
+
readonly headers?: {
|
|
137
|
+
readonly [x: string]: string | {
|
|
138
|
+
readonly text: string;
|
|
139
|
+
readonly kind: "text";
|
|
140
|
+
readonly prefix?: string | undefined;
|
|
141
|
+
} | {
|
|
142
|
+
readonly secretId: string;
|
|
143
|
+
readonly kind: "secret";
|
|
144
|
+
readonly prefix?: string | undefined;
|
|
145
|
+
readonly secretScope?: string | undefined;
|
|
146
|
+
} | {
|
|
147
|
+
readonly connectionId: string;
|
|
148
|
+
readonly kind: "connection";
|
|
149
|
+
};
|
|
150
|
+
} | undefined;
|
|
151
|
+
readonly queryParams?: {
|
|
152
|
+
readonly [x: string]: string | {
|
|
153
|
+
readonly text: string;
|
|
154
|
+
readonly kind: "text";
|
|
155
|
+
readonly prefix?: string | undefined;
|
|
156
|
+
} | {
|
|
157
|
+
readonly secretId: string;
|
|
158
|
+
readonly kind: "secret";
|
|
159
|
+
readonly prefix?: string | undefined;
|
|
160
|
+
readonly secretScope?: string | undefined;
|
|
161
|
+
} | {
|
|
162
|
+
readonly connectionId: string;
|
|
163
|
+
readonly kind: "connection";
|
|
164
|
+
};
|
|
165
|
+
} | undefined;
|
|
166
|
+
readonly auth?: {
|
|
167
|
+
readonly kind: "none";
|
|
168
|
+
} | {
|
|
169
|
+
readonly oauth2?: {
|
|
170
|
+
readonly connection?: string | {
|
|
171
|
+
readonly text: string;
|
|
172
|
+
readonly kind: "text";
|
|
173
|
+
readonly prefix?: string | undefined;
|
|
174
|
+
} | {
|
|
175
|
+
readonly secretId: string;
|
|
176
|
+
readonly kind: "secret";
|
|
177
|
+
readonly prefix?: string | undefined;
|
|
178
|
+
readonly secretScope?: string | undefined;
|
|
179
|
+
} | {
|
|
180
|
+
readonly connectionId: string;
|
|
181
|
+
readonly kind: "connection";
|
|
182
|
+
} | undefined;
|
|
183
|
+
readonly clientId?: string | {
|
|
184
|
+
readonly text: string;
|
|
185
|
+
readonly kind: "text";
|
|
186
|
+
readonly prefix?: string | undefined;
|
|
187
|
+
} | {
|
|
188
|
+
readonly secretId: string;
|
|
189
|
+
readonly kind: "secret";
|
|
190
|
+
readonly prefix?: string | undefined;
|
|
191
|
+
readonly secretScope?: string | undefined;
|
|
192
|
+
} | {
|
|
193
|
+
readonly connectionId: string;
|
|
194
|
+
readonly kind: "connection";
|
|
195
|
+
} | undefined;
|
|
196
|
+
readonly clientSecret?: string | {
|
|
197
|
+
readonly text: string;
|
|
198
|
+
readonly kind: "text";
|
|
199
|
+
readonly prefix?: string | undefined;
|
|
200
|
+
} | {
|
|
201
|
+
readonly secretId: string;
|
|
202
|
+
readonly kind: "secret";
|
|
203
|
+
readonly prefix?: string | undefined;
|
|
204
|
+
readonly secretScope?: string | undefined;
|
|
205
|
+
} | {
|
|
206
|
+
readonly connectionId: string;
|
|
207
|
+
readonly kind: "connection";
|
|
208
|
+
} | null | undefined;
|
|
209
|
+
} | undefined;
|
|
210
|
+
} | undefined;
|
|
163
211
|
} | undefined;
|
|
164
|
-
readonly credentialTargetScope?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
|
|
165
212
|
};
|
|
166
213
|
readonly responseMode?: "decoded-only" | undefined;
|
|
167
214
|
readonly reactivityKeys?: readonly unknown[] | import("effect/Record").ReadonlyRecord<string, readonly unknown[]> | undefined;
|
|
@@ -171,7 +218,6 @@ export declare const addMcpSource: Atom.AtomResultFn<{
|
|
|
171
218
|
};
|
|
172
219
|
readonly payload: {
|
|
173
220
|
readonly name: string;
|
|
174
|
-
readonly targetScope: string & import("effect/Brand").Brand<"ScopeId">;
|
|
175
221
|
readonly transport: "stdio";
|
|
176
222
|
readonly command: string;
|
|
177
223
|
readonly namespace?: string | undefined;
|
|
@@ -186,7 +232,7 @@ export declare const addMcpSource: Atom.AtomResultFn<{
|
|
|
186
232
|
}, {
|
|
187
233
|
readonly namespace: string;
|
|
188
234
|
readonly toolCount: number;
|
|
189
|
-
}, import("@executor-js/
|
|
235
|
+
}, import("@executor-js/sdk").InternalError | import("../sdk/errors").McpConnectionError | import("../sdk/errors").McpToolDiscoveryError>;
|
|
190
236
|
export declare const addMcpSourceOptimistic: (arg: string & import("effect/Brand").Brand<"ScopeId">) => Atom.AtomResultFn<{
|
|
191
237
|
readonly params: {
|
|
192
238
|
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
@@ -194,66 +240,111 @@ export declare const addMcpSourceOptimistic: (arg: string & import("effect/Brand
|
|
|
194
240
|
readonly payload: {
|
|
195
241
|
readonly name: string;
|
|
196
242
|
readonly endpoint: string;
|
|
197
|
-
readonly targetScope: string & import("effect/Brand").Brand<"ScopeId">;
|
|
198
243
|
readonly transport: "remote";
|
|
199
244
|
readonly namespace?: string | undefined;
|
|
245
|
+
readonly oauth2?: {
|
|
246
|
+
readonly kind: "oauth2";
|
|
247
|
+
readonly scopes: readonly string[];
|
|
248
|
+
readonly clientSecretSlot: string | null;
|
|
249
|
+
readonly securitySchemeName: string;
|
|
250
|
+
readonly flow: "authorizationCode" | "clientCredentials";
|
|
251
|
+
readonly tokenUrl: string;
|
|
252
|
+
readonly clientIdSlot: string;
|
|
253
|
+
readonly connectionSlot: string;
|
|
254
|
+
readonly issuerUrl?: string | null | undefined;
|
|
255
|
+
readonly authorizationUrl?: string | null | undefined;
|
|
256
|
+
} | undefined;
|
|
200
257
|
readonly headers?: {
|
|
201
258
|
readonly [x: string]: string | {
|
|
202
|
-
readonly
|
|
259
|
+
readonly kind: "secret";
|
|
203
260
|
readonly prefix?: string | undefined;
|
|
204
|
-
} | {
|
|
205
|
-
readonly kind: "binding";
|
|
206
|
-
readonly slot: string;
|
|
207
|
-
readonly prefix?: string | undefined;
|
|
208
|
-
} | {
|
|
209
|
-
readonly secretId: string;
|
|
210
|
-
readonly targetScope: string & import("effect/Brand").Brand<"ScopeId">;
|
|
211
|
-
readonly prefix?: string | undefined;
|
|
212
|
-
readonly secretScopeId?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
|
|
213
261
|
};
|
|
214
262
|
} | undefined;
|
|
215
|
-
readonly remoteTransport?: "streamable-http" | "sse" | "auto" | undefined;
|
|
216
263
|
readonly queryParams?: {
|
|
217
264
|
readonly [x: string]: string | {
|
|
218
|
-
readonly
|
|
265
|
+
readonly kind: "secret";
|
|
219
266
|
readonly prefix?: string | undefined;
|
|
220
|
-
} | {
|
|
221
|
-
readonly kind: "binding";
|
|
222
|
-
readonly slot: string;
|
|
223
|
-
readonly prefix?: string | undefined;
|
|
224
|
-
} | {
|
|
225
|
-
readonly secretId: string;
|
|
226
|
-
readonly targetScope: string & import("effect/Brand").Brand<"ScopeId">;
|
|
227
|
-
readonly prefix?: string | undefined;
|
|
228
|
-
readonly secretScopeId?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
|
|
229
267
|
};
|
|
230
268
|
} | undefined;
|
|
231
|
-
readonly
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
readonly
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
readonly
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
269
|
+
readonly remoteTransport?: "auto" | "streamable-http" | "sse" | undefined;
|
|
270
|
+
readonly credentials?: {
|
|
271
|
+
readonly scope: string & import("effect/Brand").Brand<"ScopeId">;
|
|
272
|
+
readonly headers?: {
|
|
273
|
+
readonly [x: string]: string | {
|
|
274
|
+
readonly text: string;
|
|
275
|
+
readonly kind: "text";
|
|
276
|
+
readonly prefix?: string | undefined;
|
|
277
|
+
} | {
|
|
278
|
+
readonly secretId: string;
|
|
279
|
+
readonly kind: "secret";
|
|
280
|
+
readonly prefix?: string | undefined;
|
|
281
|
+
readonly secretScope?: string | undefined;
|
|
282
|
+
} | {
|
|
283
|
+
readonly connectionId: string;
|
|
284
|
+
readonly kind: "connection";
|
|
285
|
+
};
|
|
286
|
+
} | undefined;
|
|
287
|
+
readonly queryParams?: {
|
|
288
|
+
readonly [x: string]: string | {
|
|
289
|
+
readonly text: string;
|
|
290
|
+
readonly kind: "text";
|
|
291
|
+
readonly prefix?: string | undefined;
|
|
292
|
+
} | {
|
|
293
|
+
readonly secretId: string;
|
|
294
|
+
readonly kind: "secret";
|
|
295
|
+
readonly prefix?: string | undefined;
|
|
296
|
+
readonly secretScope?: string | undefined;
|
|
297
|
+
} | {
|
|
298
|
+
readonly connectionId: string;
|
|
299
|
+
readonly kind: "connection";
|
|
300
|
+
};
|
|
301
|
+
} | undefined;
|
|
302
|
+
readonly auth?: {
|
|
303
|
+
readonly kind: "none";
|
|
304
|
+
} | {
|
|
305
|
+
readonly oauth2?: {
|
|
306
|
+
readonly connection?: string | {
|
|
307
|
+
readonly text: string;
|
|
308
|
+
readonly kind: "text";
|
|
309
|
+
readonly prefix?: string | undefined;
|
|
310
|
+
} | {
|
|
311
|
+
readonly secretId: string;
|
|
312
|
+
readonly kind: "secret";
|
|
313
|
+
readonly prefix?: string | undefined;
|
|
314
|
+
readonly secretScope?: string | undefined;
|
|
315
|
+
} | {
|
|
316
|
+
readonly connectionId: string;
|
|
317
|
+
readonly kind: "connection";
|
|
318
|
+
} | undefined;
|
|
319
|
+
readonly clientId?: string | {
|
|
320
|
+
readonly text: string;
|
|
321
|
+
readonly kind: "text";
|
|
322
|
+
readonly prefix?: string | undefined;
|
|
323
|
+
} | {
|
|
324
|
+
readonly secretId: string;
|
|
325
|
+
readonly kind: "secret";
|
|
326
|
+
readonly prefix?: string | undefined;
|
|
327
|
+
readonly secretScope?: string | undefined;
|
|
328
|
+
} | {
|
|
329
|
+
readonly connectionId: string;
|
|
330
|
+
readonly kind: "connection";
|
|
331
|
+
} | undefined;
|
|
332
|
+
readonly clientSecret?: string | {
|
|
333
|
+
readonly text: string;
|
|
334
|
+
readonly kind: "text";
|
|
335
|
+
readonly prefix?: string | undefined;
|
|
336
|
+
} | {
|
|
337
|
+
readonly secretId: string;
|
|
338
|
+
readonly kind: "secret";
|
|
339
|
+
readonly prefix?: string | undefined;
|
|
340
|
+
readonly secretScope?: string | undefined;
|
|
341
|
+
} | {
|
|
342
|
+
readonly connectionId: string;
|
|
343
|
+
readonly kind: "connection";
|
|
344
|
+
} | null | undefined;
|
|
345
|
+
} | undefined;
|
|
346
|
+
} | undefined;
|
|
255
347
|
} | undefined;
|
|
256
|
-
readonly credentialTargetScope?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
|
|
257
348
|
};
|
|
258
349
|
readonly responseMode?: "decoded-only" | undefined;
|
|
259
350
|
readonly reactivityKeys?: readonly unknown[] | import("effect/Record").ReadonlyRecord<string, readonly unknown[]> | undefined;
|
|
@@ -263,7 +354,6 @@ export declare const addMcpSourceOptimistic: (arg: string & import("effect/Brand
|
|
|
263
354
|
};
|
|
264
355
|
readonly payload: {
|
|
265
356
|
readonly name: string;
|
|
266
|
-
readonly targetScope: string & import("effect/Brand").Brand<"ScopeId">;
|
|
267
357
|
readonly transport: "stdio";
|
|
268
358
|
readonly command: string;
|
|
269
359
|
readonly namespace?: string | undefined;
|
|
@@ -278,7 +368,7 @@ export declare const addMcpSourceOptimistic: (arg: string & import("effect/Brand
|
|
|
278
368
|
}, {
|
|
279
369
|
readonly namespace: string;
|
|
280
370
|
readonly toolCount: number;
|
|
281
|
-
}, import("@executor-js/
|
|
371
|
+
}, import("@executor-js/sdk").InternalError | import("../sdk/errors").McpConnectionError | import("../sdk/errors").McpToolDiscoveryError>;
|
|
282
372
|
export declare const removeMcpSource: Atom.AtomResultFn<{
|
|
283
373
|
readonly params: {
|
|
284
374
|
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
@@ -290,7 +380,7 @@ export declare const removeMcpSource: Atom.AtomResultFn<{
|
|
|
290
380
|
readonly reactivityKeys?: readonly unknown[] | import("effect/Record").ReadonlyRecord<string, readonly unknown[]> | undefined;
|
|
291
381
|
}, {
|
|
292
382
|
readonly removed: boolean;
|
|
293
|
-
}, import("@executor-js/
|
|
383
|
+
}, import("@executor-js/sdk").InternalError | import("../sdk/errors").McpConnectionError | import("../sdk/errors").McpToolDiscoveryError>;
|
|
294
384
|
export declare const refreshMcpSource: Atom.AtomResultFn<{
|
|
295
385
|
readonly params: {
|
|
296
386
|
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
@@ -302,132 +392,4 @@ export declare const refreshMcpSource: Atom.AtomResultFn<{
|
|
|
302
392
|
readonly reactivityKeys?: readonly unknown[] | import("effect/Record").ReadonlyRecord<string, readonly unknown[]> | undefined;
|
|
303
393
|
}, {
|
|
304
394
|
readonly toolCount: number;
|
|
305
|
-
}, import("@executor-js/
|
|
306
|
-
export declare const updateMcpSource: Atom.AtomResultFn<{
|
|
307
|
-
readonly params: {
|
|
308
|
-
readonly namespace: string;
|
|
309
|
-
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
310
|
-
};
|
|
311
|
-
readonly payload: {
|
|
312
|
-
readonly sourceScope: string & import("effect/Brand").Brand<"ScopeId">;
|
|
313
|
-
readonly name?: string | undefined;
|
|
314
|
-
readonly endpoint?: string | undefined;
|
|
315
|
-
readonly headers?: {
|
|
316
|
-
readonly [x: string]: string | {
|
|
317
|
-
readonly secretId: string;
|
|
318
|
-
readonly prefix?: string | undefined;
|
|
319
|
-
} | {
|
|
320
|
-
readonly kind: "binding";
|
|
321
|
-
readonly slot: string;
|
|
322
|
-
readonly prefix?: string | undefined;
|
|
323
|
-
} | {
|
|
324
|
-
readonly secretId: string;
|
|
325
|
-
readonly targetScope: string & import("effect/Brand").Brand<"ScopeId">;
|
|
326
|
-
readonly prefix?: string | undefined;
|
|
327
|
-
readonly secretScopeId?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
|
|
328
|
-
};
|
|
329
|
-
} | undefined;
|
|
330
|
-
readonly queryParams?: {
|
|
331
|
-
readonly [x: string]: string | {
|
|
332
|
-
readonly secretId: string;
|
|
333
|
-
readonly prefix?: string | undefined;
|
|
334
|
-
} | {
|
|
335
|
-
readonly kind: "binding";
|
|
336
|
-
readonly slot: string;
|
|
337
|
-
readonly prefix?: string | undefined;
|
|
338
|
-
} | {
|
|
339
|
-
readonly secretId: string;
|
|
340
|
-
readonly targetScope: string & import("effect/Brand").Brand<"ScopeId">;
|
|
341
|
-
readonly prefix?: string | undefined;
|
|
342
|
-
readonly secretScopeId?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
|
|
343
|
-
};
|
|
344
|
-
} | undefined;
|
|
345
|
-
readonly auth?: {
|
|
346
|
-
readonly kind: "none";
|
|
347
|
-
} | {
|
|
348
|
-
readonly kind: "header";
|
|
349
|
-
readonly headerName: string;
|
|
350
|
-
readonly secretSlot: string;
|
|
351
|
-
readonly prefix?: string | undefined;
|
|
352
|
-
} | {
|
|
353
|
-
readonly kind: "oauth2";
|
|
354
|
-
readonly connectionSlot: string;
|
|
355
|
-
readonly clientIdSlot?: string | undefined;
|
|
356
|
-
readonly clientSecretSlot?: string | undefined;
|
|
357
|
-
} | {
|
|
358
|
-
readonly secretId: string;
|
|
359
|
-
readonly kind: "header";
|
|
360
|
-
readonly headerName: string;
|
|
361
|
-
readonly targetScope?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
|
|
362
|
-
readonly prefix?: string | undefined;
|
|
363
|
-
readonly secretScopeId?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
|
|
364
|
-
} | {
|
|
365
|
-
readonly connectionId: string;
|
|
366
|
-
readonly kind: "oauth2";
|
|
367
|
-
readonly clientSecretSecretId?: string | null | undefined;
|
|
368
|
-
readonly clientIdSecretId?: string | undefined;
|
|
369
|
-
} | undefined;
|
|
370
|
-
readonly credentialTargetScope?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
|
|
371
|
-
};
|
|
372
|
-
readonly responseMode?: "decoded-only" | undefined;
|
|
373
|
-
readonly reactivityKeys?: readonly unknown[] | import("effect/Record").ReadonlyRecord<string, readonly unknown[]> | undefined;
|
|
374
|
-
}, {
|
|
375
|
-
readonly updated: boolean;
|
|
376
|
-
}, import("@executor-js/api").InternalError | import("../sdk/errors").McpConnectionError | import("../sdk/errors").McpToolDiscoveryError>;
|
|
377
|
-
export declare const setMcpSourceBinding: Atom.AtomResultFn<{
|
|
378
|
-
readonly params: {
|
|
379
|
-
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
380
|
-
};
|
|
381
|
-
readonly payload: {
|
|
382
|
-
readonly value: {
|
|
383
|
-
readonly text: string;
|
|
384
|
-
readonly kind: "text";
|
|
385
|
-
} | {
|
|
386
|
-
readonly secretId: string & import("effect/Brand").Brand<"SecretId">;
|
|
387
|
-
readonly kind: "secret";
|
|
388
|
-
readonly secretScopeId?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
|
|
389
|
-
} | {
|
|
390
|
-
readonly connectionId: string & import("effect/Brand").Brand<"ConnectionId">;
|
|
391
|
-
readonly kind: "connection";
|
|
392
|
-
};
|
|
393
|
-
readonly sourceId: string;
|
|
394
|
-
readonly scope: string & import("effect/Brand").Brand<"ScopeId">;
|
|
395
|
-
readonly slot: string;
|
|
396
|
-
readonly sourceScope: string & import("effect/Brand").Brand<"ScopeId">;
|
|
397
|
-
};
|
|
398
|
-
readonly responseMode?: "decoded-only" | undefined;
|
|
399
|
-
readonly reactivityKeys?: readonly unknown[] | import("effect/Record").ReadonlyRecord<string, readonly unknown[]> | undefined;
|
|
400
|
-
}, {
|
|
401
|
-
readonly value: {
|
|
402
|
-
readonly text: string;
|
|
403
|
-
readonly kind: "text";
|
|
404
|
-
} | {
|
|
405
|
-
readonly secretId: string & import("effect/Brand").Brand<"SecretId">;
|
|
406
|
-
readonly kind: "secret";
|
|
407
|
-
readonly secretScopeId?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
|
|
408
|
-
} | {
|
|
409
|
-
readonly connectionId: string & import("effect/Brand").Brand<"ConnectionId">;
|
|
410
|
-
readonly kind: "connection";
|
|
411
|
-
};
|
|
412
|
-
readonly createdAt: Date;
|
|
413
|
-
readonly sourceId: string;
|
|
414
|
-
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
415
|
-
readonly updatedAt: Date;
|
|
416
|
-
readonly slot: string;
|
|
417
|
-
readonly sourceScopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
418
|
-
}, import("@executor-js/api").InternalError | import("../sdk/errors").McpConnectionError | import("../sdk/errors").McpToolDiscoveryError>;
|
|
419
|
-
export declare const removeMcpSourceBinding: Atom.AtomResultFn<{
|
|
420
|
-
readonly params: {
|
|
421
|
-
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
422
|
-
};
|
|
423
|
-
readonly payload: {
|
|
424
|
-
readonly sourceId: string;
|
|
425
|
-
readonly scope: string & import("effect/Brand").Brand<"ScopeId">;
|
|
426
|
-
readonly slot: string;
|
|
427
|
-
readonly sourceScope: string & import("effect/Brand").Brand<"ScopeId">;
|
|
428
|
-
};
|
|
429
|
-
readonly responseMode?: "decoded-only" | undefined;
|
|
430
|
-
readonly reactivityKeys?: readonly unknown[] | import("effect/Record").ReadonlyRecord<string, readonly unknown[]> | undefined;
|
|
431
|
-
}, {
|
|
432
|
-
readonly removed: boolean;
|
|
433
|
-
}, import("@executor-js/api").InternalError | import("../sdk/errors").McpConnectionError | import("../sdk/errors").McpToolDiscoveryError>;
|
|
395
|
+
}, import("@executor-js/sdk").InternalError | import("../sdk/errors").McpConnectionError | import("../sdk/errors").McpToolDiscoveryError>;
|