@executor-js/plugin-mcp 0.1.0 → 1.4.20
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 +762 -0
- package/dist/AddMcpSource-TLAL463B.js.map +1 -0
- package/dist/EditMcpSource-CWN6HIC4.js +259 -0
- package/dist/EditMcpSource-CWN6HIC4.js.map +1 -0
- package/dist/McpSourceSummary-257JNETP.js +85 -0
- package/dist/McpSourceSummary-257JNETP.js.map +1 -0
- package/dist/api/group.d.ts +183 -19
- package/dist/api/index.d.ts +501 -0
- package/dist/chunk-4ORPFRLI.js +238 -0
- package/dist/chunk-4ORPFRLI.js.map +1 -0
- package/dist/chunk-M6REVU6O.js +179 -0
- package/dist/chunk-M6REVU6O.js.map +1 -0
- package/dist/chunk-NQT7NAGE.js +2277 -0
- package/dist/chunk-NQT7NAGE.js.map +1 -0
- package/dist/chunk-SKSXXFOA.js +104 -0
- package/dist/chunk-SKSXXFOA.js.map +1 -0
- package/dist/chunk-ZIRGIRGP.js +115 -0
- package/dist/chunk-ZIRGIRGP.js.map +1 -0
- package/dist/client.js +51 -0
- package/dist/client.js.map +1 -0
- package/dist/core.js +26 -2
- package/dist/index.js +2 -1
- package/dist/react/McpRemoteSourceFields.d.ts +18 -0
- package/dist/react/McpSourceSummary.d.ts +5 -0
- package/dist/react/atoms.d.ts +286 -6
- package/dist/react/client.d.ts +187 -16
- package/dist/react/index.d.ts +1 -1
- package/dist/react/plugin-client.d.ts +9 -2
- package/dist/sdk/binding-store.d.ts +106 -1
- package/dist/sdk/index.d.ts +1 -1
- package/dist/sdk/invoke.d.ts +2 -0
- package/dist/sdk/plugin.d.ts +178 -114
- package/dist/sdk/probe-shape-real-servers.live.test.d.ts +1 -0
- package/dist/sdk/probe-shape.d.ts +17 -3
- package/dist/sdk/stored-source.d.ts +12 -11
- package/dist/sdk/types.d.ts +122 -17
- package/dist/{stdio-connector-KNHLETKM.js → stdio-connector-AA5S6UUJ.js} +1 -1
- package/dist/{stdio-connector-KNHLETKM.js.map → stdio-connector-AA5S6UUJ.js.map} +1 -1
- package/dist/testing/index.d.ts +1 -0
- package/dist/{sdk/test-utils.d.ts → testing/server.d.ts} +0 -6
- package/dist/testing.js +51 -0
- package/dist/testing.js.map +1 -0
- package/package.json +17 -4
- package/dist/chunk-C2GNZGFJ.js +0 -1622
- package/dist/chunk-C2GNZGFJ.js.map +0 -1
package/dist/react/atoms.d.ts
CHANGED
|
@@ -1,6 +1,71 @@
|
|
|
1
1
|
import type { ScopeId } from "@executor-js/sdk/core";
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
import * as Atom from "effect/unstable/reactivity/Atom";
|
|
3
|
+
import * as AsyncResult from "effect/unstable/reactivity/AsyncResult";
|
|
4
|
+
export declare const mcpSourceAtom: (scopeId: ScopeId, namespace: string) => Atom.Atom<AsyncResult.AsyncResult<{
|
|
5
|
+
readonly name: string;
|
|
6
|
+
readonly scope: string & import("effect/Brand").Brand<"ScopeId">;
|
|
7
|
+
readonly namespace: string;
|
|
8
|
+
readonly config: {
|
|
9
|
+
readonly endpoint: string;
|
|
10
|
+
readonly transport: "remote";
|
|
11
|
+
readonly auth: {
|
|
12
|
+
readonly kind: "none";
|
|
13
|
+
} | {
|
|
14
|
+
readonly kind: "header";
|
|
15
|
+
readonly headerName: string;
|
|
16
|
+
readonly secretSlot: string;
|
|
17
|
+
readonly prefix?: string | undefined;
|
|
18
|
+
} | {
|
|
19
|
+
readonly kind: "oauth2";
|
|
20
|
+
readonly connectionSlot: string;
|
|
21
|
+
readonly clientIdSlot?: string | undefined;
|
|
22
|
+
readonly clientSecretSlot?: string | undefined;
|
|
23
|
+
};
|
|
24
|
+
readonly headers?: {
|
|
25
|
+
readonly [x: string]: string | {
|
|
26
|
+
readonly kind: "binding";
|
|
27
|
+
readonly slot: string;
|
|
28
|
+
readonly prefix?: string | undefined;
|
|
29
|
+
};
|
|
30
|
+
} | undefined;
|
|
31
|
+
readonly remoteTransport?: "streamable-http" | "sse" | "auto" | undefined;
|
|
32
|
+
readonly queryParams?: {
|
|
33
|
+
readonly [x: string]: string | {
|
|
34
|
+
readonly kind: "binding";
|
|
35
|
+
readonly slot: string;
|
|
36
|
+
readonly prefix?: string | undefined;
|
|
37
|
+
};
|
|
38
|
+
} | undefined;
|
|
39
|
+
} | {
|
|
40
|
+
readonly transport: "stdio";
|
|
41
|
+
readonly command: string;
|
|
42
|
+
readonly args?: readonly string[] | undefined;
|
|
43
|
+
readonly env?: {
|
|
44
|
+
readonly [x: string]: string;
|
|
45
|
+
} | undefined;
|
|
46
|
+
readonly cwd?: string | undefined;
|
|
47
|
+
};
|
|
48
|
+
} | null, import("@executor-js/api").InternalError | import("../sdk/errors").McpConnectionError | import("../sdk/errors").McpToolDiscoveryError>>;
|
|
49
|
+
export declare const mcpSourceBindingsAtom: (scopeId: ScopeId, namespace: string, sourceScopeId: ScopeId) => Atom.Atom<AsyncResult.AsyncResult<readonly {
|
|
50
|
+
readonly value: {
|
|
51
|
+
readonly text: string;
|
|
52
|
+
readonly kind: "text";
|
|
53
|
+
} | {
|
|
54
|
+
readonly secretId: string & import("effect/Brand").Brand<"SecretId">;
|
|
55
|
+
readonly kind: "secret";
|
|
56
|
+
readonly secretScopeId?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
|
|
57
|
+
} | {
|
|
58
|
+
readonly connectionId: string & import("effect/Brand").Brand<"ConnectionId">;
|
|
59
|
+
readonly kind: "connection";
|
|
60
|
+
};
|
|
61
|
+
readonly createdAt: Date;
|
|
62
|
+
readonly sourceId: string;
|
|
63
|
+
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
64
|
+
readonly updatedAt: Date;
|
|
65
|
+
readonly slot: string;
|
|
66
|
+
readonly sourceScopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
67
|
+
}[], import("@executor-js/api").InternalError | import("../sdk/errors").McpConnectionError | import("../sdk/errors").McpToolDiscoveryError>>;
|
|
68
|
+
export declare const probeMcpEndpoint: Atom.AtomResultFn<{
|
|
4
69
|
readonly params: {
|
|
5
70
|
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
6
71
|
};
|
|
@@ -28,42 +93,167 @@ export declare const probeMcpEndpoint: import("effect/unstable/reactivity/Atom")
|
|
|
28
93
|
readonly serverName: string | null;
|
|
29
94
|
readonly connected: boolean;
|
|
30
95
|
readonly requiresOAuth: boolean;
|
|
96
|
+
readonly supportsDynamicRegistration: boolean;
|
|
31
97
|
}, import("@executor-js/api").InternalError | import("../sdk/errors").McpConnectionError | import("../sdk/errors").McpToolDiscoveryError>;
|
|
32
|
-
export declare const addMcpSource:
|
|
98
|
+
export declare const addMcpSource: Atom.AtomResultFn<{
|
|
33
99
|
readonly params: {
|
|
34
100
|
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
35
101
|
};
|
|
36
102
|
readonly payload: {
|
|
37
103
|
readonly name: string;
|
|
38
104
|
readonly endpoint: string;
|
|
105
|
+
readonly targetScope: string & import("effect/Brand").Brand<"ScopeId">;
|
|
39
106
|
readonly transport: "remote";
|
|
40
107
|
readonly namespace?: string | undefined;
|
|
41
108
|
readonly headers?: {
|
|
42
109
|
readonly [x: string]: string | {
|
|
43
110
|
readonly secretId: string;
|
|
44
111
|
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;
|
|
45
121
|
};
|
|
46
122
|
} | undefined;
|
|
123
|
+
readonly remoteTransport?: "streamable-http" | "sse" | "auto" | undefined;
|
|
47
124
|
readonly queryParams?: {
|
|
48
125
|
readonly [x: string]: string | {
|
|
49
126
|
readonly secretId: string;
|
|
50
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">;
|
|
135
|
+
readonly prefix?: string | undefined;
|
|
136
|
+
readonly secretScopeId?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
|
|
137
|
+
};
|
|
138
|
+
} | undefined;
|
|
139
|
+
readonly auth?: {
|
|
140
|
+
readonly kind: "none";
|
|
141
|
+
} | {
|
|
142
|
+
readonly kind: "header";
|
|
143
|
+
readonly headerName: string;
|
|
144
|
+
readonly secretSlot: string;
|
|
145
|
+
readonly prefix?: string | undefined;
|
|
146
|
+
} | {
|
|
147
|
+
readonly kind: "oauth2";
|
|
148
|
+
readonly connectionSlot: string;
|
|
149
|
+
readonly clientIdSlot?: string | undefined;
|
|
150
|
+
readonly clientSecretSlot?: string | undefined;
|
|
151
|
+
} | {
|
|
152
|
+
readonly secretId: string;
|
|
153
|
+
readonly kind: "header";
|
|
154
|
+
readonly headerName: string;
|
|
155
|
+
readonly targetScope?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
|
|
156
|
+
readonly prefix?: string | undefined;
|
|
157
|
+
readonly secretScopeId?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
|
|
158
|
+
} | {
|
|
159
|
+
readonly connectionId: string;
|
|
160
|
+
readonly kind: "oauth2";
|
|
161
|
+
readonly clientSecretSecretId?: string | null | undefined;
|
|
162
|
+
readonly clientIdSecretId?: string | undefined;
|
|
163
|
+
} | undefined;
|
|
164
|
+
readonly credentialTargetScope?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
|
|
165
|
+
};
|
|
166
|
+
readonly responseMode?: "decoded-only" | undefined;
|
|
167
|
+
readonly reactivityKeys?: readonly unknown[] | import("effect/Record").ReadonlyRecord<string, readonly unknown[]> | undefined;
|
|
168
|
+
} | {
|
|
169
|
+
readonly params: {
|
|
170
|
+
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
171
|
+
};
|
|
172
|
+
readonly payload: {
|
|
173
|
+
readonly name: string;
|
|
174
|
+
readonly targetScope: string & import("effect/Brand").Brand<"ScopeId">;
|
|
175
|
+
readonly transport: "stdio";
|
|
176
|
+
readonly command: string;
|
|
177
|
+
readonly namespace?: string | undefined;
|
|
178
|
+
readonly args?: readonly string[] | undefined;
|
|
179
|
+
readonly env?: {
|
|
180
|
+
readonly [x: string]: string;
|
|
181
|
+
} | undefined;
|
|
182
|
+
readonly cwd?: string | undefined;
|
|
183
|
+
};
|
|
184
|
+
readonly responseMode?: "decoded-only" | undefined;
|
|
185
|
+
readonly reactivityKeys?: readonly unknown[] | import("effect/Record").ReadonlyRecord<string, readonly unknown[]> | undefined;
|
|
186
|
+
}, {
|
|
187
|
+
readonly namespace: string;
|
|
188
|
+
readonly toolCount: number;
|
|
189
|
+
}, import("@executor-js/api").InternalError | import("../sdk/errors").McpConnectionError | import("../sdk/errors").McpToolDiscoveryError>;
|
|
190
|
+
export declare const addMcpSourceOptimistic: (arg: string & import("effect/Brand").Brand<"ScopeId">) => Atom.AtomResultFn<{
|
|
191
|
+
readonly params: {
|
|
192
|
+
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
193
|
+
};
|
|
194
|
+
readonly payload: {
|
|
195
|
+
readonly name: string;
|
|
196
|
+
readonly endpoint: string;
|
|
197
|
+
readonly targetScope: string & import("effect/Brand").Brand<"ScopeId">;
|
|
198
|
+
readonly transport: "remote";
|
|
199
|
+
readonly namespace?: string | undefined;
|
|
200
|
+
readonly headers?: {
|
|
201
|
+
readonly [x: string]: string | {
|
|
202
|
+
readonly secretId: string;
|
|
203
|
+
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;
|
|
51
213
|
};
|
|
52
214
|
} | undefined;
|
|
53
215
|
readonly remoteTransport?: "streamable-http" | "sse" | "auto" | undefined;
|
|
216
|
+
readonly queryParams?: {
|
|
217
|
+
readonly [x: string]: string | {
|
|
218
|
+
readonly secretId: string;
|
|
219
|
+
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
|
+
};
|
|
230
|
+
} | undefined;
|
|
54
231
|
readonly auth?: {
|
|
55
232
|
readonly kind: "none";
|
|
233
|
+
} | {
|
|
234
|
+
readonly kind: "header";
|
|
235
|
+
readonly headerName: string;
|
|
236
|
+
readonly secretSlot: string;
|
|
237
|
+
readonly prefix?: string | undefined;
|
|
238
|
+
} | {
|
|
239
|
+
readonly kind: "oauth2";
|
|
240
|
+
readonly connectionSlot: string;
|
|
241
|
+
readonly clientIdSlot?: string | undefined;
|
|
242
|
+
readonly clientSecretSlot?: string | undefined;
|
|
56
243
|
} | {
|
|
57
244
|
readonly secretId: string;
|
|
58
245
|
readonly kind: "header";
|
|
59
246
|
readonly headerName: string;
|
|
247
|
+
readonly targetScope?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
|
|
60
248
|
readonly prefix?: string | undefined;
|
|
249
|
+
readonly secretScopeId?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
|
|
61
250
|
} | {
|
|
62
251
|
readonly connectionId: string;
|
|
63
252
|
readonly kind: "oauth2";
|
|
64
253
|
readonly clientSecretSecretId?: string | null | undefined;
|
|
65
254
|
readonly clientIdSecretId?: string | undefined;
|
|
66
255
|
} | undefined;
|
|
256
|
+
readonly credentialTargetScope?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
|
|
67
257
|
};
|
|
68
258
|
readonly responseMode?: "decoded-only" | undefined;
|
|
69
259
|
readonly reactivityKeys?: readonly unknown[] | import("effect/Record").ReadonlyRecord<string, readonly unknown[]> | undefined;
|
|
@@ -73,6 +263,7 @@ export declare const addMcpSource: import("effect/unstable/reactivity/Atom").Ato
|
|
|
73
263
|
};
|
|
74
264
|
readonly payload: {
|
|
75
265
|
readonly name: string;
|
|
266
|
+
readonly targetScope: string & import("effect/Brand").Brand<"ScopeId">;
|
|
76
267
|
readonly transport: "stdio";
|
|
77
268
|
readonly command: string;
|
|
78
269
|
readonly namespace?: string | undefined;
|
|
@@ -88,7 +279,7 @@ export declare const addMcpSource: import("effect/unstable/reactivity/Atom").Ato
|
|
|
88
279
|
readonly namespace: string;
|
|
89
280
|
readonly toolCount: number;
|
|
90
281
|
}, import("@executor-js/api").InternalError | import("../sdk/errors").McpConnectionError | import("../sdk/errors").McpToolDiscoveryError>;
|
|
91
|
-
export declare const removeMcpSource:
|
|
282
|
+
export declare const removeMcpSource: Atom.AtomResultFn<{
|
|
92
283
|
readonly params: {
|
|
93
284
|
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
94
285
|
};
|
|
@@ -100,7 +291,7 @@ export declare const removeMcpSource: import("effect/unstable/reactivity/Atom").
|
|
|
100
291
|
}, {
|
|
101
292
|
readonly removed: boolean;
|
|
102
293
|
}, import("@executor-js/api").InternalError | import("../sdk/errors").McpConnectionError | import("../sdk/errors").McpToolDiscoveryError>;
|
|
103
|
-
export declare const refreshMcpSource:
|
|
294
|
+
export declare const refreshMcpSource: Atom.AtomResultFn<{
|
|
104
295
|
readonly params: {
|
|
105
296
|
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
106
297
|
};
|
|
@@ -112,42 +303,131 @@ export declare const refreshMcpSource: import("effect/unstable/reactivity/Atom")
|
|
|
112
303
|
}, {
|
|
113
304
|
readonly toolCount: number;
|
|
114
305
|
}, import("@executor-js/api").InternalError | import("../sdk/errors").McpConnectionError | import("../sdk/errors").McpToolDiscoveryError>;
|
|
115
|
-
export declare const updateMcpSource:
|
|
306
|
+
export declare const updateMcpSource: Atom.AtomResultFn<{
|
|
116
307
|
readonly params: {
|
|
117
308
|
readonly namespace: string;
|
|
118
309
|
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
119
310
|
};
|
|
120
311
|
readonly payload: {
|
|
312
|
+
readonly sourceScope: string & import("effect/Brand").Brand<"ScopeId">;
|
|
121
313
|
readonly name?: string | undefined;
|
|
122
314
|
readonly endpoint?: string | undefined;
|
|
123
315
|
readonly headers?: {
|
|
124
316
|
readonly [x: string]: string | {
|
|
125
317
|
readonly secretId: string;
|
|
126
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;
|
|
127
328
|
};
|
|
128
329
|
} | undefined;
|
|
129
330
|
readonly queryParams?: {
|
|
130
331
|
readonly [x: string]: string | {
|
|
131
332
|
readonly secretId: string;
|
|
132
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;
|
|
133
343
|
};
|
|
134
344
|
} | undefined;
|
|
135
345
|
readonly auth?: {
|
|
136
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;
|
|
137
357
|
} | {
|
|
138
358
|
readonly secretId: string;
|
|
139
359
|
readonly kind: "header";
|
|
140
360
|
readonly headerName: string;
|
|
361
|
+
readonly targetScope?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
|
|
141
362
|
readonly prefix?: string | undefined;
|
|
363
|
+
readonly secretScopeId?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
|
|
142
364
|
} | {
|
|
143
365
|
readonly connectionId: string;
|
|
144
366
|
readonly kind: "oauth2";
|
|
145
367
|
readonly clientSecretSecretId?: string | null | undefined;
|
|
146
368
|
readonly clientIdSecretId?: string | undefined;
|
|
147
369
|
} | undefined;
|
|
370
|
+
readonly credentialTargetScope?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
|
|
148
371
|
};
|
|
149
372
|
readonly responseMode?: "decoded-only" | undefined;
|
|
150
373
|
readonly reactivityKeys?: readonly unknown[] | import("effect/Record").ReadonlyRecord<string, readonly unknown[]> | undefined;
|
|
151
374
|
}, {
|
|
152
375
|
readonly updated: boolean;
|
|
153
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>;
|