dsh-agent-enhancer 0.3.11 → 0.3.13
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.en.md +12 -11
- package/README.md +12 -11
- package/lib/client/browser-agent/overlay.d.ts.map +1 -1
- package/lib/client/browser-agent/tab.d.ts.map +1 -1
- package/lib/client/context/right-tab.d.ts.map +1 -1
- package/lib/client/dsh/controls.d.ts.map +1 -1
- package/lib/client/dsh/settings-about.d.ts +0 -3
- package/lib/client/dsh/settings-about.d.ts.map +1 -1
- package/lib/client/dsh/settings.d.ts +0 -3
- package/lib/client/dsh/settings.d.ts.map +1 -1
- package/lib/client/index.d.ts.map +1 -1
- package/lib/client/locales.d.ts +93 -55
- package/lib/client/locales.d.ts.map +1 -1
- package/lib/client/mcp-connectors/remote.d.ts +7 -1
- package/lib/client/mcp-connectors/remote.d.ts.map +1 -1
- package/lib/client/mcp-connectors/tab.d.ts.map +1 -1
- package/lib/client/quote/position.d.ts +8 -6
- package/lib/client/quote/position.d.ts.map +1 -1
- package/lib/client/remote.d.ts +4 -8
- package/lib/client/remote.d.ts.map +1 -1
- package/lib/client/soft-pause/action.d.ts.map +1 -1
- package/lib/client/web-chat-bridge/capture.d.ts +2 -0
- package/lib/client/web-chat-bridge/capture.d.ts.map +1 -1
- package/lib/client/web-chat-bridge/dom-to-markdown.d.ts +13 -0
- package/lib/client/web-chat-bridge/dom-to-markdown.d.ts.map +1 -0
- package/lib/client/web-chat-bridge/panel.d.ts.map +1 -1
- package/lib/client/web-chat-bridge/preview.d.ts.map +1 -1
- package/lib/client/web-chat-bridge/remote.d.ts.map +1 -1
- package/lib/client/web-chat-bridge/share-fetch.d.ts +15 -0
- package/lib/client/web-chat-bridge/share-fetch.d.ts.map +1 -1
- package/lib/client.js +1881 -1567
- package/lib/client.js.map +1 -1
- package/lib/errors.d.ts +1 -1
- package/lib/errors.d.ts.map +1 -1
- package/lib/host/auto-route/errors.d.ts +8 -0
- package/lib/host/auto-route/errors.d.ts.map +1 -0
- package/lib/host/auto-route/router.d.ts.map +1 -1
- package/lib/host/auto-route/session-hook.d.ts.map +1 -1
- package/lib/host/browser-agent/driver.d.ts +3 -1
- package/lib/host/browser-agent/driver.d.ts.map +1 -1
- package/lib/host/browser-agent/install.d.ts +17 -0
- package/lib/host/browser-agent/install.d.ts.map +1 -1
- package/lib/host/browser-agent/playwright-driver.d.ts +3 -1
- package/lib/host/browser-agent/playwright-driver.d.ts.map +1 -1
- package/lib/host/browser-agent/prompt.d.ts.map +1 -1
- package/lib/host/browser-agent/tools.d.ts.map +1 -1
- package/lib/host/context-compact.d.ts.map +1 -1
- package/lib/host/index.d.ts +5 -6
- package/lib/host/index.d.ts.map +1 -1
- package/lib/host/mcp-connectors/io.d.ts +3 -1
- package/lib/host/mcp-connectors/io.d.ts.map +1 -1
- package/lib/host/mcp-connectors/probe-message.d.ts +7 -0
- package/lib/host/mcp-connectors/probe-message.d.ts.map +1 -0
- package/lib/host/mcp-connectors/runtime.d.ts +11 -0
- package/lib/host/mcp-connectors/runtime.d.ts.map +1 -1
- package/lib/host/mcp-connectors/status.d.ts +32 -0
- package/lib/host/mcp-connectors/status.d.ts.map +1 -0
- package/lib/host/mcp-connectors/types.d.ts +33 -0
- package/lib/host/mcp-connectors/types.d.ts.map +1 -1
- package/lib/host/model.d.ts.map +1 -1
- package/lib/host/rpc.d.ts +625 -36
- package/lib/host/rpc.d.ts.map +1 -1
- package/lib/host/web-chat-bridge/convert-conversation.d.ts +38 -0
- package/lib/host/web-chat-bridge/convert-conversation.d.ts.map +1 -0
- package/lib/host/web-chat-bridge/fragments.d.ts +72 -0
- package/lib/host/web-chat-bridge/fragments.d.ts.map +1 -0
- package/lib/host/web-chat-bridge/import-session.d.ts +12 -2
- package/lib/host/web-chat-bridge/import-session.d.ts.map +1 -1
- package/lib/host/web-chat-bridge/share-link.d.ts +1 -0
- package/lib/host/web-chat-bridge/share-link.d.ts.map +1 -1
- package/lib/host/web-chat-bridge/types.d.ts +9 -0
- package/lib/host/web-chat-bridge/types.d.ts.map +1 -1
- package/lib/identity.d.ts +1 -1
- package/lib/index.js +1442 -590
- package/lib/index.js.map +4 -4
- package/package.json +60 -56
- package/lib/client/dsh/settings-update.d.ts +0 -9
- package/lib/client/dsh/settings-update.d.ts.map +0 -1
- package/lib/host/update/check.d.ts +0 -32
- package/lib/host/update/check.d.ts.map +0 -1
- package/lib/host/update/cli.d.ts +0 -41
- package/lib/host/update/cli.d.ts.map +0 -1
- package/lib/host/update/install-kind.d.ts +0 -3
- package/lib/host/update/install-kind.d.ts.map +0 -1
- package/lib/host/update/registry.d.ts +0 -16
- package/lib/host/update/registry.d.ts.map +0 -1
- package/lib/host/update/semver.d.ts +0 -2
- package/lib/host/update/semver.d.ts.map +0 -1
- package/lib/host/update/types.d.ts +0 -17
- package/lib/host/update/types.d.ts.map +0 -1
package/lib/host/rpc.d.ts
CHANGED
|
@@ -148,6 +148,54 @@ export declare const webChatTranscriptSchema: z.ZodObject<{
|
|
|
148
148
|
}>;
|
|
149
149
|
text: z.ZodString;
|
|
150
150
|
}, z.core.$strict>>;
|
|
151
|
+
messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
152
|
+
id: z.ZodNumber;
|
|
153
|
+
parent_id: z.ZodNullable<z.ZodNumber>;
|
|
154
|
+
role: z.ZodEnum<{
|
|
155
|
+
USER: "USER";
|
|
156
|
+
ASSISTANT: "ASSISTANT";
|
|
157
|
+
}>;
|
|
158
|
+
status: z.ZodString;
|
|
159
|
+
inserted_at: z.ZodOptional<z.ZodString>;
|
|
160
|
+
fragments: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
161
|
+
type: z.ZodLiteral<"REQUEST">;
|
|
162
|
+
content: z.ZodString;
|
|
163
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
164
|
+
type: z.ZodLiteral<"RESPONSE">;
|
|
165
|
+
content: z.ZodString;
|
|
166
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
167
|
+
type: z.ZodLiteral<"THINK">;
|
|
168
|
+
content: z.ZodString;
|
|
169
|
+
elapsed_secs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
170
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
171
|
+
type: z.ZodLiteral<"TEMPLATE_RESPONSE">;
|
|
172
|
+
content: z.ZodString;
|
|
173
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
174
|
+
type: z.ZodLiteral<"TOOL_SEARCH">;
|
|
175
|
+
queries: z.ZodArray<z.ZodString>;
|
|
176
|
+
results: z.ZodArray<z.ZodObject<{
|
|
177
|
+
url: z.ZodString;
|
|
178
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
179
|
+
snippet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
180
|
+
published_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
181
|
+
}, z.core.$strict>>;
|
|
182
|
+
status: z.ZodOptional<z.ZodString>;
|
|
183
|
+
stage_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
184
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
185
|
+
type: z.ZodLiteral<"TOOL_OPEN">;
|
|
186
|
+
status: z.ZodString;
|
|
187
|
+
url: z.ZodNullable<z.ZodString>;
|
|
188
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
189
|
+
stage_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
190
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
191
|
+
type: z.ZodLiteral<"READ_LINK">;
|
|
192
|
+
results: z.ZodArray<z.ZodObject<{
|
|
193
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
194
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
195
|
+
}, z.core.$strict>>;
|
|
196
|
+
}, z.core.$strict>], "type">>;
|
|
197
|
+
}, z.core.$strict>>>;
|
|
198
|
+
currentMessageId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
151
199
|
source: z.ZodObject<{
|
|
152
200
|
kind: z.ZodEnum<{
|
|
153
201
|
"rendered-capture": "rendered-capture";
|
|
@@ -190,6 +238,54 @@ export declare const importWebChatHistoryRequestSchema: z.ZodObject<{
|
|
|
190
238
|
}>;
|
|
191
239
|
text: z.ZodString;
|
|
192
240
|
}, z.core.$strict>>;
|
|
241
|
+
messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
242
|
+
id: z.ZodNumber;
|
|
243
|
+
parent_id: z.ZodNullable<z.ZodNumber>;
|
|
244
|
+
role: z.ZodEnum<{
|
|
245
|
+
USER: "USER";
|
|
246
|
+
ASSISTANT: "ASSISTANT";
|
|
247
|
+
}>;
|
|
248
|
+
status: z.ZodString;
|
|
249
|
+
inserted_at: z.ZodOptional<z.ZodString>;
|
|
250
|
+
fragments: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
251
|
+
type: z.ZodLiteral<"REQUEST">;
|
|
252
|
+
content: z.ZodString;
|
|
253
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
254
|
+
type: z.ZodLiteral<"RESPONSE">;
|
|
255
|
+
content: z.ZodString;
|
|
256
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
257
|
+
type: z.ZodLiteral<"THINK">;
|
|
258
|
+
content: z.ZodString;
|
|
259
|
+
elapsed_secs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
260
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
261
|
+
type: z.ZodLiteral<"TEMPLATE_RESPONSE">;
|
|
262
|
+
content: z.ZodString;
|
|
263
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
264
|
+
type: z.ZodLiteral<"TOOL_SEARCH">;
|
|
265
|
+
queries: z.ZodArray<z.ZodString>;
|
|
266
|
+
results: z.ZodArray<z.ZodObject<{
|
|
267
|
+
url: z.ZodString;
|
|
268
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
269
|
+
snippet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
270
|
+
published_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
271
|
+
}, z.core.$strict>>;
|
|
272
|
+
status: z.ZodOptional<z.ZodString>;
|
|
273
|
+
stage_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
274
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
275
|
+
type: z.ZodLiteral<"TOOL_OPEN">;
|
|
276
|
+
status: z.ZodString;
|
|
277
|
+
url: z.ZodNullable<z.ZodString>;
|
|
278
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
279
|
+
stage_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
280
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
281
|
+
type: z.ZodLiteral<"READ_LINK">;
|
|
282
|
+
results: z.ZodArray<z.ZodObject<{
|
|
283
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
284
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
285
|
+
}, z.core.$strict>>;
|
|
286
|
+
}, z.core.$strict>], "type">>;
|
|
287
|
+
}, z.core.$strict>>>;
|
|
288
|
+
currentMessageId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
193
289
|
source: z.ZodObject<{
|
|
194
290
|
kind: z.ZodEnum<{
|
|
195
291
|
"rendered-capture": "rendered-capture";
|
|
@@ -226,6 +322,54 @@ export declare const webChatExportCatalogItemSchema: z.ZodObject<{
|
|
|
226
322
|
}>;
|
|
227
323
|
text: z.ZodString;
|
|
228
324
|
}, z.core.$strict>>;
|
|
325
|
+
messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
326
|
+
id: z.ZodNumber;
|
|
327
|
+
parent_id: z.ZodNullable<z.ZodNumber>;
|
|
328
|
+
role: z.ZodEnum<{
|
|
329
|
+
USER: "USER";
|
|
330
|
+
ASSISTANT: "ASSISTANT";
|
|
331
|
+
}>;
|
|
332
|
+
status: z.ZodString;
|
|
333
|
+
inserted_at: z.ZodOptional<z.ZodString>;
|
|
334
|
+
fragments: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
335
|
+
type: z.ZodLiteral<"REQUEST">;
|
|
336
|
+
content: z.ZodString;
|
|
337
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
338
|
+
type: z.ZodLiteral<"RESPONSE">;
|
|
339
|
+
content: z.ZodString;
|
|
340
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
341
|
+
type: z.ZodLiteral<"THINK">;
|
|
342
|
+
content: z.ZodString;
|
|
343
|
+
elapsed_secs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
344
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
345
|
+
type: z.ZodLiteral<"TEMPLATE_RESPONSE">;
|
|
346
|
+
content: z.ZodString;
|
|
347
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
348
|
+
type: z.ZodLiteral<"TOOL_SEARCH">;
|
|
349
|
+
queries: z.ZodArray<z.ZodString>;
|
|
350
|
+
results: z.ZodArray<z.ZodObject<{
|
|
351
|
+
url: z.ZodString;
|
|
352
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
353
|
+
snippet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
354
|
+
published_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
355
|
+
}, z.core.$strict>>;
|
|
356
|
+
status: z.ZodOptional<z.ZodString>;
|
|
357
|
+
stage_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
358
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
359
|
+
type: z.ZodLiteral<"TOOL_OPEN">;
|
|
360
|
+
status: z.ZodString;
|
|
361
|
+
url: z.ZodNullable<z.ZodString>;
|
|
362
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
363
|
+
stage_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
364
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
365
|
+
type: z.ZodLiteral<"READ_LINK">;
|
|
366
|
+
results: z.ZodArray<z.ZodObject<{
|
|
367
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
368
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
369
|
+
}, z.core.$strict>>;
|
|
370
|
+
}, z.core.$strict>], "type">>;
|
|
371
|
+
}, z.core.$strict>>>;
|
|
372
|
+
currentMessageId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
229
373
|
source: z.ZodObject<{
|
|
230
374
|
kind: z.ZodEnum<{
|
|
231
375
|
"rendered-capture": "rendered-capture";
|
|
@@ -256,6 +400,54 @@ export declare const parseWebChatExportResultSchema: z.ZodObject<{
|
|
|
256
400
|
}>;
|
|
257
401
|
text: z.ZodString;
|
|
258
402
|
}, z.core.$strict>>;
|
|
403
|
+
messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
404
|
+
id: z.ZodNumber;
|
|
405
|
+
parent_id: z.ZodNullable<z.ZodNumber>;
|
|
406
|
+
role: z.ZodEnum<{
|
|
407
|
+
USER: "USER";
|
|
408
|
+
ASSISTANT: "ASSISTANT";
|
|
409
|
+
}>;
|
|
410
|
+
status: z.ZodString;
|
|
411
|
+
inserted_at: z.ZodOptional<z.ZodString>;
|
|
412
|
+
fragments: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
413
|
+
type: z.ZodLiteral<"REQUEST">;
|
|
414
|
+
content: z.ZodString;
|
|
415
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
416
|
+
type: z.ZodLiteral<"RESPONSE">;
|
|
417
|
+
content: z.ZodString;
|
|
418
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
419
|
+
type: z.ZodLiteral<"THINK">;
|
|
420
|
+
content: z.ZodString;
|
|
421
|
+
elapsed_secs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
422
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
423
|
+
type: z.ZodLiteral<"TEMPLATE_RESPONSE">;
|
|
424
|
+
content: z.ZodString;
|
|
425
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
426
|
+
type: z.ZodLiteral<"TOOL_SEARCH">;
|
|
427
|
+
queries: z.ZodArray<z.ZodString>;
|
|
428
|
+
results: z.ZodArray<z.ZodObject<{
|
|
429
|
+
url: z.ZodString;
|
|
430
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
431
|
+
snippet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
432
|
+
published_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
433
|
+
}, z.core.$strict>>;
|
|
434
|
+
status: z.ZodOptional<z.ZodString>;
|
|
435
|
+
stage_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
436
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
437
|
+
type: z.ZodLiteral<"TOOL_OPEN">;
|
|
438
|
+
status: z.ZodString;
|
|
439
|
+
url: z.ZodNullable<z.ZodString>;
|
|
440
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
441
|
+
stage_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
442
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
443
|
+
type: z.ZodLiteral<"READ_LINK">;
|
|
444
|
+
results: z.ZodArray<z.ZodObject<{
|
|
445
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
446
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
447
|
+
}, z.core.$strict>>;
|
|
448
|
+
}, z.core.$strict>], "type">>;
|
|
449
|
+
}, z.core.$strict>>>;
|
|
450
|
+
currentMessageId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
259
451
|
source: z.ZodObject<{
|
|
260
452
|
kind: z.ZodEnum<{
|
|
261
453
|
"rendered-capture": "rendered-capture";
|
|
@@ -287,6 +479,54 @@ export declare const resolveWebChatShareLinkResultSchema: z.ZodObject<{
|
|
|
287
479
|
}>;
|
|
288
480
|
text: z.ZodString;
|
|
289
481
|
}, z.core.$strict>>;
|
|
482
|
+
messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
483
|
+
id: z.ZodNumber;
|
|
484
|
+
parent_id: z.ZodNullable<z.ZodNumber>;
|
|
485
|
+
role: z.ZodEnum<{
|
|
486
|
+
USER: "USER";
|
|
487
|
+
ASSISTANT: "ASSISTANT";
|
|
488
|
+
}>;
|
|
489
|
+
status: z.ZodString;
|
|
490
|
+
inserted_at: z.ZodOptional<z.ZodString>;
|
|
491
|
+
fragments: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
492
|
+
type: z.ZodLiteral<"REQUEST">;
|
|
493
|
+
content: z.ZodString;
|
|
494
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
495
|
+
type: z.ZodLiteral<"RESPONSE">;
|
|
496
|
+
content: z.ZodString;
|
|
497
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
498
|
+
type: z.ZodLiteral<"THINK">;
|
|
499
|
+
content: z.ZodString;
|
|
500
|
+
elapsed_secs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
501
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
502
|
+
type: z.ZodLiteral<"TEMPLATE_RESPONSE">;
|
|
503
|
+
content: z.ZodString;
|
|
504
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
505
|
+
type: z.ZodLiteral<"TOOL_SEARCH">;
|
|
506
|
+
queries: z.ZodArray<z.ZodString>;
|
|
507
|
+
results: z.ZodArray<z.ZodObject<{
|
|
508
|
+
url: z.ZodString;
|
|
509
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
510
|
+
snippet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
511
|
+
published_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
512
|
+
}, z.core.$strict>>;
|
|
513
|
+
status: z.ZodOptional<z.ZodString>;
|
|
514
|
+
stage_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
515
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
516
|
+
type: z.ZodLiteral<"TOOL_OPEN">;
|
|
517
|
+
status: z.ZodString;
|
|
518
|
+
url: z.ZodNullable<z.ZodString>;
|
|
519
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
520
|
+
stage_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
521
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
522
|
+
type: z.ZodLiteral<"READ_LINK">;
|
|
523
|
+
results: z.ZodArray<z.ZodObject<{
|
|
524
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
525
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
526
|
+
}, z.core.$strict>>;
|
|
527
|
+
}, z.core.$strict>], "type">>;
|
|
528
|
+
}, z.core.$strict>>>;
|
|
529
|
+
currentMessageId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
290
530
|
source: z.ZodObject<{
|
|
291
531
|
kind: z.ZodEnum<{
|
|
292
532
|
"rendered-capture": "rendered-capture";
|
|
@@ -395,29 +635,6 @@ export declare const listExtraFolderEntriesResultSchema: z.ZodObject<{
|
|
|
395
635
|
}>;
|
|
396
636
|
}, z.core.$strict>>;
|
|
397
637
|
}, z.core.$strict>;
|
|
398
|
-
export declare const updateCheckResultSchema: z.ZodObject<{
|
|
399
|
-
current: z.ZodString;
|
|
400
|
-
latest: z.ZodNullable<z.ZodString>;
|
|
401
|
-
updateAvailable: z.ZodBoolean;
|
|
402
|
-
installKind: z.ZodEnum<{
|
|
403
|
-
link: "link";
|
|
404
|
-
unknown: "unknown";
|
|
405
|
-
npm: "npm";
|
|
406
|
-
}>;
|
|
407
|
-
canAutoApply: z.ZodBoolean;
|
|
408
|
-
command: z.ZodString;
|
|
409
|
-
}, z.core.$strict>;
|
|
410
|
-
export declare const applyUpdateResultSchema: z.ZodObject<{
|
|
411
|
-
ok: z.ZodBoolean;
|
|
412
|
-
message: z.ZodEnum<{
|
|
413
|
-
failed: "failed";
|
|
414
|
-
link: "link";
|
|
415
|
-
none: "none";
|
|
416
|
-
restart: "restart";
|
|
417
|
-
manual: "manual";
|
|
418
|
-
}>;
|
|
419
|
-
command: z.ZodOptional<z.ZodString>;
|
|
420
|
-
}, z.core.$strict>;
|
|
421
638
|
export declare const usageSummarySchema: z.ZodObject<{
|
|
422
639
|
inputTokens: z.ZodNumber;
|
|
423
640
|
outputTokens: z.ZodNumber;
|
|
@@ -632,6 +849,14 @@ export declare const browserAgentAuditEntrySchema: z.ZodObject<{
|
|
|
632
849
|
}>;
|
|
633
850
|
}, z.core.$strict>;
|
|
634
851
|
export type BrowserAgentAuditEntryWire = z.infer<typeof browserAgentAuditEntrySchema>;
|
|
852
|
+
export declare const browserAgentTabEntrySchema: z.ZodObject<{
|
|
853
|
+
tabId: z.ZodNumber;
|
|
854
|
+
title: z.ZodString;
|
|
855
|
+
url: z.ZodString;
|
|
856
|
+
active: z.ZodBoolean;
|
|
857
|
+
bound: z.ZodBoolean;
|
|
858
|
+
}, z.core.$strict>;
|
|
859
|
+
export type BrowserAgentTabEntryWire = z.infer<typeof browserAgentTabEntrySchema>;
|
|
635
860
|
export declare const browserAgentSnapshotSchema: z.ZodObject<{
|
|
636
861
|
enabled: z.ZodBoolean;
|
|
637
862
|
browser: z.ZodEnum<{
|
|
@@ -671,6 +896,13 @@ export declare const browserAgentSnapshotSchema: z.ZodObject<{
|
|
|
671
896
|
detail: z.ZodString;
|
|
672
897
|
}, z.core.$strict>>;
|
|
673
898
|
boundTabId: z.ZodNullable<z.ZodNumber>;
|
|
899
|
+
tabs: z.ZodArray<z.ZodObject<{
|
|
900
|
+
tabId: z.ZodNumber;
|
|
901
|
+
title: z.ZodString;
|
|
902
|
+
url: z.ZodString;
|
|
903
|
+
active: z.ZodBoolean;
|
|
904
|
+
bound: z.ZodBoolean;
|
|
905
|
+
}, z.core.$strict>>;
|
|
674
906
|
audit: z.ZodArray<z.ZodObject<{
|
|
675
907
|
at: z.ZodNumber;
|
|
676
908
|
sessionId: z.ZodString;
|
|
@@ -737,6 +969,13 @@ export declare const browserAgentResolveResultSchema: z.ZodObject<{
|
|
|
737
969
|
detail: z.ZodString;
|
|
738
970
|
}, z.core.$strict>>;
|
|
739
971
|
boundTabId: z.ZodNullable<z.ZodNumber>;
|
|
972
|
+
tabs: z.ZodArray<z.ZodObject<{
|
|
973
|
+
tabId: z.ZodNumber;
|
|
974
|
+
title: z.ZodString;
|
|
975
|
+
url: z.ZodString;
|
|
976
|
+
active: z.ZodBoolean;
|
|
977
|
+
bound: z.ZodBoolean;
|
|
978
|
+
}, z.core.$strict>>;
|
|
740
979
|
audit: z.ZodArray<z.ZodObject<{
|
|
741
980
|
at: z.ZodNumber;
|
|
742
981
|
sessionId: z.ZodString;
|
|
@@ -802,6 +1041,13 @@ export declare const browserAgentResolveTabConflictResultSchema: z.ZodObject<{
|
|
|
802
1041
|
detail: z.ZodString;
|
|
803
1042
|
}, z.core.$strict>>;
|
|
804
1043
|
boundTabId: z.ZodNullable<z.ZodNumber>;
|
|
1044
|
+
tabs: z.ZodArray<z.ZodObject<{
|
|
1045
|
+
tabId: z.ZodNumber;
|
|
1046
|
+
title: z.ZodString;
|
|
1047
|
+
url: z.ZodString;
|
|
1048
|
+
active: z.ZodBoolean;
|
|
1049
|
+
bound: z.ZodBoolean;
|
|
1050
|
+
}, z.core.$strict>>;
|
|
805
1051
|
audit: z.ZodArray<z.ZodObject<{
|
|
806
1052
|
at: z.ZodNumber;
|
|
807
1053
|
sessionId: z.ZodString;
|
|
@@ -864,6 +1110,13 @@ export declare const browserAgentAcknowledgeHumanResultSchema: z.ZodObject<{
|
|
|
864
1110
|
detail: z.ZodString;
|
|
865
1111
|
}, z.core.$strict>>;
|
|
866
1112
|
boundTabId: z.ZodNullable<z.ZodNumber>;
|
|
1113
|
+
tabs: z.ZodArray<z.ZodObject<{
|
|
1114
|
+
tabId: z.ZodNumber;
|
|
1115
|
+
title: z.ZodString;
|
|
1116
|
+
url: z.ZodString;
|
|
1117
|
+
active: z.ZodBoolean;
|
|
1118
|
+
bound: z.ZodBoolean;
|
|
1119
|
+
}, z.core.$strict>>;
|
|
867
1120
|
audit: z.ZodArray<z.ZodObject<{
|
|
868
1121
|
at: z.ZodNumber;
|
|
869
1122
|
sessionId: z.ZodString;
|
|
@@ -930,6 +1183,13 @@ export declare const browserAgentOpenUrlResultSchema: z.ZodObject<{
|
|
|
930
1183
|
detail: z.ZodString;
|
|
931
1184
|
}, z.core.$strict>>;
|
|
932
1185
|
boundTabId: z.ZodNullable<z.ZodNumber>;
|
|
1186
|
+
tabs: z.ZodArray<z.ZodObject<{
|
|
1187
|
+
tabId: z.ZodNumber;
|
|
1188
|
+
title: z.ZodString;
|
|
1189
|
+
url: z.ZodString;
|
|
1190
|
+
active: z.ZodBoolean;
|
|
1191
|
+
bound: z.ZodBoolean;
|
|
1192
|
+
}, z.core.$strict>>;
|
|
933
1193
|
audit: z.ZodArray<z.ZodObject<{
|
|
934
1194
|
at: z.ZodNumber;
|
|
935
1195
|
sessionId: z.ZodString;
|
|
@@ -996,6 +1256,13 @@ export declare const browserAgentQuotePageResultSchema: z.ZodObject<{
|
|
|
996
1256
|
detail: z.ZodString;
|
|
997
1257
|
}, z.core.$strict>>;
|
|
998
1258
|
boundTabId: z.ZodNullable<z.ZodNumber>;
|
|
1259
|
+
tabs: z.ZodArray<z.ZodObject<{
|
|
1260
|
+
tabId: z.ZodNumber;
|
|
1261
|
+
title: z.ZodString;
|
|
1262
|
+
url: z.ZodString;
|
|
1263
|
+
active: z.ZodBoolean;
|
|
1264
|
+
bound: z.ZodBoolean;
|
|
1265
|
+
}, z.core.$strict>>;
|
|
999
1266
|
audit: z.ZodArray<z.ZodObject<{
|
|
1000
1267
|
at: z.ZodNumber;
|
|
1001
1268
|
sessionId: z.ZodString;
|
|
@@ -1071,6 +1338,13 @@ export declare const browserAgentLaunchBrowserResultSchema: z.ZodObject<{
|
|
|
1071
1338
|
detail: z.ZodString;
|
|
1072
1339
|
}, z.core.$strict>>;
|
|
1073
1340
|
boundTabId: z.ZodNullable<z.ZodNumber>;
|
|
1341
|
+
tabs: z.ZodArray<z.ZodObject<{
|
|
1342
|
+
tabId: z.ZodNumber;
|
|
1343
|
+
title: z.ZodString;
|
|
1344
|
+
url: z.ZodString;
|
|
1345
|
+
active: z.ZodBoolean;
|
|
1346
|
+
bound: z.ZodBoolean;
|
|
1347
|
+
}, z.core.$strict>>;
|
|
1074
1348
|
audit: z.ZodArray<z.ZodObject<{
|
|
1075
1349
|
at: z.ZodNumber;
|
|
1076
1350
|
sessionId: z.ZodString;
|
|
@@ -1145,6 +1419,13 @@ export declare const browserAgentSetBrowserResultSchema: z.ZodObject<{
|
|
|
1145
1419
|
detail: z.ZodString;
|
|
1146
1420
|
}, z.core.$strict>>;
|
|
1147
1421
|
boundTabId: z.ZodNullable<z.ZodNumber>;
|
|
1422
|
+
tabs: z.ZodArray<z.ZodObject<{
|
|
1423
|
+
tabId: z.ZodNumber;
|
|
1424
|
+
title: z.ZodString;
|
|
1425
|
+
url: z.ZodString;
|
|
1426
|
+
active: z.ZodBoolean;
|
|
1427
|
+
bound: z.ZodBoolean;
|
|
1428
|
+
}, z.core.$strict>>;
|
|
1148
1429
|
audit: z.ZodArray<z.ZodObject<{
|
|
1149
1430
|
at: z.ZodNumber;
|
|
1150
1431
|
sessionId: z.ZodString;
|
|
@@ -1162,6 +1443,80 @@ export declare const browserAgentSetBrowserResultSchema: z.ZodObject<{
|
|
|
1162
1443
|
}, z.core.$strict>;
|
|
1163
1444
|
}, z.core.$strict>;
|
|
1164
1445
|
export type BrowserAgentSetBrowserResult = z.infer<typeof browserAgentSetBrowserResultSchema>;
|
|
1446
|
+
export declare const browserAgentSelectTabRequestSchema: z.ZodObject<{
|
|
1447
|
+
tabId: z.ZodNumber;
|
|
1448
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1449
|
+
}, z.core.$strict>;
|
|
1450
|
+
export type BrowserAgentSelectTabRequest = z.infer<typeof browserAgentSelectTabRequestSchema>;
|
|
1451
|
+
export declare const browserAgentSelectTabResultSchema: z.ZodObject<{
|
|
1452
|
+
ok: z.ZodBoolean;
|
|
1453
|
+
tabId: z.ZodOptional<z.ZodNumber>;
|
|
1454
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1455
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1456
|
+
error: z.ZodOptional<z.ZodString>;
|
|
1457
|
+
snapshot: z.ZodObject<{
|
|
1458
|
+
enabled: z.ZodBoolean;
|
|
1459
|
+
browser: z.ZodEnum<{
|
|
1460
|
+
auto: "auto";
|
|
1461
|
+
chrome: "chrome";
|
|
1462
|
+
edge: "edge";
|
|
1463
|
+
safari: "safari";
|
|
1464
|
+
}>;
|
|
1465
|
+
launchedBrowser: z.ZodNullable<z.ZodEnum<{
|
|
1466
|
+
chrome: "chrome";
|
|
1467
|
+
edge: "edge";
|
|
1468
|
+
safari: "safari";
|
|
1469
|
+
}>>;
|
|
1470
|
+
driver: z.ZodLiteral<"playwright">;
|
|
1471
|
+
allowedOrigins: z.ZodArray<z.ZodString>;
|
|
1472
|
+
bridge: z.ZodObject<{
|
|
1473
|
+
listening: z.ZodBoolean;
|
|
1474
|
+
port: z.ZodNumber;
|
|
1475
|
+
extensionConnected: z.ZodBoolean;
|
|
1476
|
+
lastError: z.ZodNullable<z.ZodString>;
|
|
1477
|
+
}, z.core.$strict>;
|
|
1478
|
+
pending: z.ZodNullable<z.ZodObject<{
|
|
1479
|
+
id: z.ZodString;
|
|
1480
|
+
sessionId: z.ZodString;
|
|
1481
|
+
tool: z.ZodString;
|
|
1482
|
+
summary: z.ZodString;
|
|
1483
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1484
|
+
origin: z.ZodOptional<z.ZodString>;
|
|
1485
|
+
}, z.core.$strict>>;
|
|
1486
|
+
tabConflict: z.ZodNullable<z.ZodObject<{
|
|
1487
|
+
sessionId: z.ZodString;
|
|
1488
|
+
boundTabId: z.ZodNumber;
|
|
1489
|
+
activeTabId: z.ZodNumber;
|
|
1490
|
+
}, z.core.$strict>>;
|
|
1491
|
+
needsHuman: z.ZodNullable<z.ZodObject<{
|
|
1492
|
+
sessionId: z.ZodString;
|
|
1493
|
+
detail: z.ZodString;
|
|
1494
|
+
}, z.core.$strict>>;
|
|
1495
|
+
boundTabId: z.ZodNullable<z.ZodNumber>;
|
|
1496
|
+
tabs: z.ZodArray<z.ZodObject<{
|
|
1497
|
+
tabId: z.ZodNumber;
|
|
1498
|
+
title: z.ZodString;
|
|
1499
|
+
url: z.ZodString;
|
|
1500
|
+
active: z.ZodBoolean;
|
|
1501
|
+
bound: z.ZodBoolean;
|
|
1502
|
+
}, z.core.$strict>>;
|
|
1503
|
+
audit: z.ZodArray<z.ZodObject<{
|
|
1504
|
+
at: z.ZodNumber;
|
|
1505
|
+
sessionId: z.ZodString;
|
|
1506
|
+
tool: z.ZodString;
|
|
1507
|
+
summary: z.ZodString;
|
|
1508
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1509
|
+
outcome: z.ZodEnum<{
|
|
1510
|
+
ok: "ok";
|
|
1511
|
+
error: "error";
|
|
1512
|
+
denied: "denied";
|
|
1513
|
+
needs_human: "needs_human";
|
|
1514
|
+
}>;
|
|
1515
|
+
}, z.core.$strict>>;
|
|
1516
|
+
profileDir: z.ZodString;
|
|
1517
|
+
}, z.core.$strict>;
|
|
1518
|
+
}, z.core.$strict>;
|
|
1519
|
+
export type BrowserAgentSelectTabResult = z.infer<typeof browserAgentSelectTabResultSchema>;
|
|
1165
1520
|
export declare const listInstructionsSkillsRequestSchema: z.ZodObject<{
|
|
1166
1521
|
sessionId: z.ZodPipe<z.ZodString, z.ZodTransform<SessionId, string>>;
|
|
1167
1522
|
checkUpdates: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1589,8 +1944,8 @@ export declare const mcpConnectorsSnapshotSchema: z.ZodObject<{
|
|
|
1589
1944
|
serverName: z.ZodString;
|
|
1590
1945
|
enabled: z.ZodBoolean;
|
|
1591
1946
|
channel: z.ZodEnum<{
|
|
1592
|
-
manual: "manual";
|
|
1593
1947
|
github: "github";
|
|
1948
|
+
manual: "manual";
|
|
1594
1949
|
npx: "npx";
|
|
1595
1950
|
mcpJson: "mcpJson";
|
|
1596
1951
|
}>;
|
|
@@ -1609,6 +1964,23 @@ export declare const mcpConnectorsSnapshotSchema: z.ZodObject<{
|
|
|
1609
1964
|
createdAt: z.ZodNumber;
|
|
1610
1965
|
updatedAt: z.ZodNumber;
|
|
1611
1966
|
}, z.core.$strict>>;
|
|
1967
|
+
statuses: z.ZodArray<z.ZodObject<{
|
|
1968
|
+
id: z.ZodString;
|
|
1969
|
+
status: z.ZodObject<{
|
|
1970
|
+
state: z.ZodEnum<{
|
|
1971
|
+
failed: "failed";
|
|
1972
|
+
disabled: "disabled";
|
|
1973
|
+
unmounted: "unmounted";
|
|
1974
|
+
connecting: "connecting";
|
|
1975
|
+
connected: "connected";
|
|
1976
|
+
reconnecting: "reconnecting";
|
|
1977
|
+
"waiting-credentials": "waiting-credentials";
|
|
1978
|
+
closed: "closed";
|
|
1979
|
+
}>;
|
|
1980
|
+
detail: z.ZodNullable<z.ZodString>;
|
|
1981
|
+
toolCount: z.ZodNullable<z.ZodNumber>;
|
|
1982
|
+
}, z.core.$strict>;
|
|
1983
|
+
}, z.core.$strict>>;
|
|
1612
1984
|
bridgeAvailable: z.ZodBoolean;
|
|
1613
1985
|
bridgeError: z.ZodNullable<z.ZodString>;
|
|
1614
1986
|
}, z.core.$strict>;
|
|
@@ -1620,8 +1992,8 @@ export declare const upsertMcpConnectorRequestSchema: z.ZodObject<{
|
|
|
1620
1992
|
serverName: z.ZodString;
|
|
1621
1993
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1622
1994
|
channel: z.ZodOptional<z.ZodEnum<{
|
|
1623
|
-
manual: "manual";
|
|
1624
1995
|
github: "github";
|
|
1996
|
+
manual: "manual";
|
|
1625
1997
|
npx: "npx";
|
|
1626
1998
|
mcpJson: "mcpJson";
|
|
1627
1999
|
}>>;
|
|
@@ -1645,8 +2017,8 @@ export declare const upsertMcpConnectorResultSchema: z.ZodObject<{
|
|
|
1645
2017
|
serverName: z.ZodString;
|
|
1646
2018
|
enabled: z.ZodBoolean;
|
|
1647
2019
|
channel: z.ZodEnum<{
|
|
1648
|
-
manual: "manual";
|
|
1649
2020
|
github: "github";
|
|
2021
|
+
manual: "manual";
|
|
1650
2022
|
npx: "npx";
|
|
1651
2023
|
mcpJson: "mcpJson";
|
|
1652
2024
|
}>;
|
|
@@ -1671,8 +2043,8 @@ export declare const upsertMcpConnectorResultSchema: z.ZodObject<{
|
|
|
1671
2043
|
serverName: z.ZodString;
|
|
1672
2044
|
enabled: z.ZodBoolean;
|
|
1673
2045
|
channel: z.ZodEnum<{
|
|
1674
|
-
manual: "manual";
|
|
1675
2046
|
github: "github";
|
|
2047
|
+
manual: "manual";
|
|
1676
2048
|
npx: "npx";
|
|
1677
2049
|
mcpJson: "mcpJson";
|
|
1678
2050
|
}>;
|
|
@@ -1691,6 +2063,23 @@ export declare const upsertMcpConnectorResultSchema: z.ZodObject<{
|
|
|
1691
2063
|
createdAt: z.ZodNumber;
|
|
1692
2064
|
updatedAt: z.ZodNumber;
|
|
1693
2065
|
}, z.core.$strict>>;
|
|
2066
|
+
statuses: z.ZodArray<z.ZodObject<{
|
|
2067
|
+
id: z.ZodString;
|
|
2068
|
+
status: z.ZodObject<{
|
|
2069
|
+
state: z.ZodEnum<{
|
|
2070
|
+
failed: "failed";
|
|
2071
|
+
disabled: "disabled";
|
|
2072
|
+
unmounted: "unmounted";
|
|
2073
|
+
connecting: "connecting";
|
|
2074
|
+
connected: "connected";
|
|
2075
|
+
reconnecting: "reconnecting";
|
|
2076
|
+
"waiting-credentials": "waiting-credentials";
|
|
2077
|
+
closed: "closed";
|
|
2078
|
+
}>;
|
|
2079
|
+
detail: z.ZodNullable<z.ZodString>;
|
|
2080
|
+
toolCount: z.ZodNullable<z.ZodNumber>;
|
|
2081
|
+
}, z.core.$strict>;
|
|
2082
|
+
}, z.core.$strict>>;
|
|
1694
2083
|
bridgeAvailable: z.ZodBoolean;
|
|
1695
2084
|
bridgeError: z.ZodNullable<z.ZodString>;
|
|
1696
2085
|
}, z.core.$strict>;
|
|
@@ -1707,8 +2096,8 @@ export declare const setMcpConnectorEnabledResultSchema: z.ZodObject<{
|
|
|
1707
2096
|
serverName: z.ZodString;
|
|
1708
2097
|
enabled: z.ZodBoolean;
|
|
1709
2098
|
channel: z.ZodEnum<{
|
|
1710
|
-
manual: "manual";
|
|
1711
2099
|
github: "github";
|
|
2100
|
+
manual: "manual";
|
|
1712
2101
|
npx: "npx";
|
|
1713
2102
|
mcpJson: "mcpJson";
|
|
1714
2103
|
}>;
|
|
@@ -1733,8 +2122,8 @@ export declare const setMcpConnectorEnabledResultSchema: z.ZodObject<{
|
|
|
1733
2122
|
serverName: z.ZodString;
|
|
1734
2123
|
enabled: z.ZodBoolean;
|
|
1735
2124
|
channel: z.ZodEnum<{
|
|
1736
|
-
manual: "manual";
|
|
1737
2125
|
github: "github";
|
|
2126
|
+
manual: "manual";
|
|
1738
2127
|
npx: "npx";
|
|
1739
2128
|
mcpJson: "mcpJson";
|
|
1740
2129
|
}>;
|
|
@@ -1753,6 +2142,23 @@ export declare const setMcpConnectorEnabledResultSchema: z.ZodObject<{
|
|
|
1753
2142
|
createdAt: z.ZodNumber;
|
|
1754
2143
|
updatedAt: z.ZodNumber;
|
|
1755
2144
|
}, z.core.$strict>>;
|
|
2145
|
+
statuses: z.ZodArray<z.ZodObject<{
|
|
2146
|
+
id: z.ZodString;
|
|
2147
|
+
status: z.ZodObject<{
|
|
2148
|
+
state: z.ZodEnum<{
|
|
2149
|
+
failed: "failed";
|
|
2150
|
+
disabled: "disabled";
|
|
2151
|
+
unmounted: "unmounted";
|
|
2152
|
+
connecting: "connecting";
|
|
2153
|
+
connected: "connected";
|
|
2154
|
+
reconnecting: "reconnecting";
|
|
2155
|
+
"waiting-credentials": "waiting-credentials";
|
|
2156
|
+
closed: "closed";
|
|
2157
|
+
}>;
|
|
2158
|
+
detail: z.ZodNullable<z.ZodString>;
|
|
2159
|
+
toolCount: z.ZodNullable<z.ZodNumber>;
|
|
2160
|
+
}, z.core.$strict>;
|
|
2161
|
+
}, z.core.$strict>>;
|
|
1756
2162
|
bridgeAvailable: z.ZodBoolean;
|
|
1757
2163
|
bridgeError: z.ZodNullable<z.ZodString>;
|
|
1758
2164
|
}, z.core.$strict>;
|
|
@@ -1770,8 +2176,8 @@ export declare const uninstallMcpConnectorResultSchema: z.ZodObject<{
|
|
|
1770
2176
|
serverName: z.ZodString;
|
|
1771
2177
|
enabled: z.ZodBoolean;
|
|
1772
2178
|
channel: z.ZodEnum<{
|
|
1773
|
-
manual: "manual";
|
|
1774
2179
|
github: "github";
|
|
2180
|
+
manual: "manual";
|
|
1775
2181
|
npx: "npx";
|
|
1776
2182
|
mcpJson: "mcpJson";
|
|
1777
2183
|
}>;
|
|
@@ -1790,6 +2196,23 @@ export declare const uninstallMcpConnectorResultSchema: z.ZodObject<{
|
|
|
1790
2196
|
createdAt: z.ZodNumber;
|
|
1791
2197
|
updatedAt: z.ZodNumber;
|
|
1792
2198
|
}, z.core.$strict>>;
|
|
2199
|
+
statuses: z.ZodArray<z.ZodObject<{
|
|
2200
|
+
id: z.ZodString;
|
|
2201
|
+
status: z.ZodObject<{
|
|
2202
|
+
state: z.ZodEnum<{
|
|
2203
|
+
failed: "failed";
|
|
2204
|
+
disabled: "disabled";
|
|
2205
|
+
unmounted: "unmounted";
|
|
2206
|
+
connecting: "connecting";
|
|
2207
|
+
connected: "connected";
|
|
2208
|
+
reconnecting: "reconnecting";
|
|
2209
|
+
"waiting-credentials": "waiting-credentials";
|
|
2210
|
+
closed: "closed";
|
|
2211
|
+
}>;
|
|
2212
|
+
detail: z.ZodNullable<z.ZodString>;
|
|
2213
|
+
toolCount: z.ZodNullable<z.ZodNumber>;
|
|
2214
|
+
}, z.core.$strict>;
|
|
2215
|
+
}, z.core.$strict>>;
|
|
1793
2216
|
bridgeAvailable: z.ZodBoolean;
|
|
1794
2217
|
bridgeError: z.ZodNullable<z.ZodString>;
|
|
1795
2218
|
}, z.core.$strict>;
|
|
@@ -1810,8 +2233,8 @@ export declare const installMcpFromNpxResultSchema: z.ZodObject<{
|
|
|
1810
2233
|
serverName: z.ZodString;
|
|
1811
2234
|
enabled: z.ZodBoolean;
|
|
1812
2235
|
channel: z.ZodEnum<{
|
|
1813
|
-
manual: "manual";
|
|
1814
2236
|
github: "github";
|
|
2237
|
+
manual: "manual";
|
|
1815
2238
|
npx: "npx";
|
|
1816
2239
|
mcpJson: "mcpJson";
|
|
1817
2240
|
}>;
|
|
@@ -1836,8 +2259,8 @@ export declare const installMcpFromNpxResultSchema: z.ZodObject<{
|
|
|
1836
2259
|
serverName: z.ZodString;
|
|
1837
2260
|
enabled: z.ZodBoolean;
|
|
1838
2261
|
channel: z.ZodEnum<{
|
|
1839
|
-
manual: "manual";
|
|
1840
2262
|
github: "github";
|
|
2263
|
+
manual: "manual";
|
|
1841
2264
|
npx: "npx";
|
|
1842
2265
|
mcpJson: "mcpJson";
|
|
1843
2266
|
}>;
|
|
@@ -1856,6 +2279,23 @@ export declare const installMcpFromNpxResultSchema: z.ZodObject<{
|
|
|
1856
2279
|
createdAt: z.ZodNumber;
|
|
1857
2280
|
updatedAt: z.ZodNumber;
|
|
1858
2281
|
}, z.core.$strict>>;
|
|
2282
|
+
statuses: z.ZodArray<z.ZodObject<{
|
|
2283
|
+
id: z.ZodString;
|
|
2284
|
+
status: z.ZodObject<{
|
|
2285
|
+
state: z.ZodEnum<{
|
|
2286
|
+
failed: "failed";
|
|
2287
|
+
disabled: "disabled";
|
|
2288
|
+
unmounted: "unmounted";
|
|
2289
|
+
connecting: "connecting";
|
|
2290
|
+
connected: "connected";
|
|
2291
|
+
reconnecting: "reconnecting";
|
|
2292
|
+
"waiting-credentials": "waiting-credentials";
|
|
2293
|
+
closed: "closed";
|
|
2294
|
+
}>;
|
|
2295
|
+
detail: z.ZodNullable<z.ZodString>;
|
|
2296
|
+
toolCount: z.ZodNullable<z.ZodNumber>;
|
|
2297
|
+
}, z.core.$strict>;
|
|
2298
|
+
}, z.core.$strict>>;
|
|
1859
2299
|
bridgeAvailable: z.ZodBoolean;
|
|
1860
2300
|
bridgeError: z.ZodNullable<z.ZodString>;
|
|
1861
2301
|
}, z.core.$strict>;
|
|
@@ -1877,8 +2317,8 @@ export declare const installMcpFromGitResultSchema: z.ZodObject<{
|
|
|
1877
2317
|
serverName: z.ZodString;
|
|
1878
2318
|
enabled: z.ZodBoolean;
|
|
1879
2319
|
channel: z.ZodEnum<{
|
|
1880
|
-
manual: "manual";
|
|
1881
2320
|
github: "github";
|
|
2321
|
+
manual: "manual";
|
|
1882
2322
|
npx: "npx";
|
|
1883
2323
|
mcpJson: "mcpJson";
|
|
1884
2324
|
}>;
|
|
@@ -1903,8 +2343,8 @@ export declare const installMcpFromGitResultSchema: z.ZodObject<{
|
|
|
1903
2343
|
serverName: z.ZodString;
|
|
1904
2344
|
enabled: z.ZodBoolean;
|
|
1905
2345
|
channel: z.ZodEnum<{
|
|
1906
|
-
manual: "manual";
|
|
1907
2346
|
github: "github";
|
|
2347
|
+
manual: "manual";
|
|
1908
2348
|
npx: "npx";
|
|
1909
2349
|
mcpJson: "mcpJson";
|
|
1910
2350
|
}>;
|
|
@@ -1923,6 +2363,23 @@ export declare const installMcpFromGitResultSchema: z.ZodObject<{
|
|
|
1923
2363
|
createdAt: z.ZodNumber;
|
|
1924
2364
|
updatedAt: z.ZodNumber;
|
|
1925
2365
|
}, z.core.$strict>>;
|
|
2366
|
+
statuses: z.ZodArray<z.ZodObject<{
|
|
2367
|
+
id: z.ZodString;
|
|
2368
|
+
status: z.ZodObject<{
|
|
2369
|
+
state: z.ZodEnum<{
|
|
2370
|
+
failed: "failed";
|
|
2371
|
+
disabled: "disabled";
|
|
2372
|
+
unmounted: "unmounted";
|
|
2373
|
+
connecting: "connecting";
|
|
2374
|
+
connected: "connected";
|
|
2375
|
+
reconnecting: "reconnecting";
|
|
2376
|
+
"waiting-credentials": "waiting-credentials";
|
|
2377
|
+
closed: "closed";
|
|
2378
|
+
}>;
|
|
2379
|
+
detail: z.ZodNullable<z.ZodString>;
|
|
2380
|
+
toolCount: z.ZodNullable<z.ZodNumber>;
|
|
2381
|
+
}, z.core.$strict>;
|
|
2382
|
+
}, z.core.$strict>>;
|
|
1926
2383
|
bridgeAvailable: z.ZodBoolean;
|
|
1927
2384
|
bridgeError: z.ZodNullable<z.ZodString>;
|
|
1928
2385
|
}, z.core.$strict>;
|
|
@@ -1940,8 +2397,8 @@ export declare const importMcpJsonResultSchema: z.ZodObject<{
|
|
|
1940
2397
|
serverName: z.ZodString;
|
|
1941
2398
|
enabled: z.ZodBoolean;
|
|
1942
2399
|
channel: z.ZodEnum<{
|
|
1943
|
-
manual: "manual";
|
|
1944
2400
|
github: "github";
|
|
2401
|
+
manual: "manual";
|
|
1945
2402
|
npx: "npx";
|
|
1946
2403
|
mcpJson: "mcpJson";
|
|
1947
2404
|
}>;
|
|
@@ -1967,8 +2424,8 @@ export declare const importMcpJsonResultSchema: z.ZodObject<{
|
|
|
1967
2424
|
serverName: z.ZodString;
|
|
1968
2425
|
enabled: z.ZodBoolean;
|
|
1969
2426
|
channel: z.ZodEnum<{
|
|
1970
|
-
manual: "manual";
|
|
1971
2427
|
github: "github";
|
|
2428
|
+
manual: "manual";
|
|
1972
2429
|
npx: "npx";
|
|
1973
2430
|
mcpJson: "mcpJson";
|
|
1974
2431
|
}>;
|
|
@@ -1987,6 +2444,23 @@ export declare const importMcpJsonResultSchema: z.ZodObject<{
|
|
|
1987
2444
|
createdAt: z.ZodNumber;
|
|
1988
2445
|
updatedAt: z.ZodNumber;
|
|
1989
2446
|
}, z.core.$strict>>;
|
|
2447
|
+
statuses: z.ZodArray<z.ZodObject<{
|
|
2448
|
+
id: z.ZodString;
|
|
2449
|
+
status: z.ZodObject<{
|
|
2450
|
+
state: z.ZodEnum<{
|
|
2451
|
+
failed: "failed";
|
|
2452
|
+
disabled: "disabled";
|
|
2453
|
+
unmounted: "unmounted";
|
|
2454
|
+
connecting: "connecting";
|
|
2455
|
+
connected: "connected";
|
|
2456
|
+
reconnecting: "reconnecting";
|
|
2457
|
+
"waiting-credentials": "waiting-credentials";
|
|
2458
|
+
closed: "closed";
|
|
2459
|
+
}>;
|
|
2460
|
+
detail: z.ZodNullable<z.ZodString>;
|
|
2461
|
+
toolCount: z.ZodNullable<z.ZodNumber>;
|
|
2462
|
+
}, z.core.$strict>;
|
|
2463
|
+
}, z.core.$strict>>;
|
|
1990
2464
|
bridgeAvailable: z.ZodBoolean;
|
|
1991
2465
|
bridgeError: z.ZodNullable<z.ZodString>;
|
|
1992
2466
|
}, z.core.$strict>;
|
|
@@ -2004,6 +2478,121 @@ export declare const listMcpConnectorToolsResultSchema: z.ZodObject<{
|
|
|
2004
2478
|
}, z.core.$strict>>;
|
|
2005
2479
|
}, z.core.$strict>;
|
|
2006
2480
|
export type ListMcpConnectorToolsResultWire = z.infer<typeof listMcpConnectorToolsResultSchema>;
|
|
2481
|
+
export declare const restartMcpConnectorRequestSchema: z.ZodObject<{
|
|
2482
|
+
id: z.ZodString;
|
|
2483
|
+
}, z.core.$strict>;
|
|
2484
|
+
export type RestartMcpConnectorRequestWire = z.infer<typeof restartMcpConnectorRequestSchema>;
|
|
2485
|
+
export declare const restartMcpConnectorResultSchema: z.ZodObject<{
|
|
2486
|
+
id: z.ZodString;
|
|
2487
|
+
ok: z.ZodBoolean;
|
|
2488
|
+
error: z.ZodNullable<z.ZodString>;
|
|
2489
|
+
snapshot: z.ZodObject<{
|
|
2490
|
+
connectors: z.ZodArray<z.ZodObject<{
|
|
2491
|
+
id: z.ZodString;
|
|
2492
|
+
serverName: z.ZodString;
|
|
2493
|
+
enabled: z.ZodBoolean;
|
|
2494
|
+
channel: z.ZodEnum<{
|
|
2495
|
+
github: "github";
|
|
2496
|
+
manual: "manual";
|
|
2497
|
+
npx: "npx";
|
|
2498
|
+
mcpJson: "mcpJson";
|
|
2499
|
+
}>;
|
|
2500
|
+
sourceLabel: z.ZodNullable<z.ZodString>;
|
|
2501
|
+
transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2502
|
+
transport: z.ZodLiteral<"stdio">;
|
|
2503
|
+
command: z.ZodString;
|
|
2504
|
+
args: z.ZodArray<z.ZodString>;
|
|
2505
|
+
env: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
2506
|
+
cwd: z.ZodString;
|
|
2507
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2508
|
+
transport: z.ZodLiteral<"streamable-http">;
|
|
2509
|
+
url: z.ZodString;
|
|
2510
|
+
headers: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
2511
|
+
}, z.core.$strict>], "transport">;
|
|
2512
|
+
createdAt: z.ZodNumber;
|
|
2513
|
+
updatedAt: z.ZodNumber;
|
|
2514
|
+
}, z.core.$strict>>;
|
|
2515
|
+
statuses: z.ZodArray<z.ZodObject<{
|
|
2516
|
+
id: z.ZodString;
|
|
2517
|
+
status: z.ZodObject<{
|
|
2518
|
+
state: z.ZodEnum<{
|
|
2519
|
+
failed: "failed";
|
|
2520
|
+
disabled: "disabled";
|
|
2521
|
+
unmounted: "unmounted";
|
|
2522
|
+
connecting: "connecting";
|
|
2523
|
+
connected: "connected";
|
|
2524
|
+
reconnecting: "reconnecting";
|
|
2525
|
+
"waiting-credentials": "waiting-credentials";
|
|
2526
|
+
closed: "closed";
|
|
2527
|
+
}>;
|
|
2528
|
+
detail: z.ZodNullable<z.ZodString>;
|
|
2529
|
+
toolCount: z.ZodNullable<z.ZodNumber>;
|
|
2530
|
+
}, z.core.$strict>;
|
|
2531
|
+
}, z.core.$strict>>;
|
|
2532
|
+
bridgeAvailable: z.ZodBoolean;
|
|
2533
|
+
bridgeError: z.ZodNullable<z.ZodString>;
|
|
2534
|
+
}, z.core.$strict>;
|
|
2535
|
+
}, z.core.$strict>;
|
|
2536
|
+
export type RestartMcpConnectorResultWire = z.infer<typeof restartMcpConnectorResultSchema>;
|
|
2537
|
+
export declare const probeMcpConnectorRequestSchema: z.ZodObject<{
|
|
2538
|
+
id: z.ZodString;
|
|
2539
|
+
}, z.core.$strict>;
|
|
2540
|
+
export type ProbeMcpConnectorRequestWire = z.infer<typeof probeMcpConnectorRequestSchema>;
|
|
2541
|
+
export declare const probeMcpConnectorResultSchema: z.ZodObject<{
|
|
2542
|
+
id: z.ZodString;
|
|
2543
|
+
ok: z.ZodBoolean;
|
|
2544
|
+
message: z.ZodString;
|
|
2545
|
+
toolNames: z.ZodArray<z.ZodString>;
|
|
2546
|
+
truncated: z.ZodBoolean;
|
|
2547
|
+
durationMs: z.ZodNumber;
|
|
2548
|
+
snapshot: z.ZodObject<{
|
|
2549
|
+
connectors: z.ZodArray<z.ZodObject<{
|
|
2550
|
+
id: z.ZodString;
|
|
2551
|
+
serverName: z.ZodString;
|
|
2552
|
+
enabled: z.ZodBoolean;
|
|
2553
|
+
channel: z.ZodEnum<{
|
|
2554
|
+
github: "github";
|
|
2555
|
+
manual: "manual";
|
|
2556
|
+
npx: "npx";
|
|
2557
|
+
mcpJson: "mcpJson";
|
|
2558
|
+
}>;
|
|
2559
|
+
sourceLabel: z.ZodNullable<z.ZodString>;
|
|
2560
|
+
transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2561
|
+
transport: z.ZodLiteral<"stdio">;
|
|
2562
|
+
command: z.ZodString;
|
|
2563
|
+
args: z.ZodArray<z.ZodString>;
|
|
2564
|
+
env: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
2565
|
+
cwd: z.ZodString;
|
|
2566
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2567
|
+
transport: z.ZodLiteral<"streamable-http">;
|
|
2568
|
+
url: z.ZodString;
|
|
2569
|
+
headers: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
2570
|
+
}, z.core.$strict>], "transport">;
|
|
2571
|
+
createdAt: z.ZodNumber;
|
|
2572
|
+
updatedAt: z.ZodNumber;
|
|
2573
|
+
}, z.core.$strict>>;
|
|
2574
|
+
statuses: z.ZodArray<z.ZodObject<{
|
|
2575
|
+
id: z.ZodString;
|
|
2576
|
+
status: z.ZodObject<{
|
|
2577
|
+
state: z.ZodEnum<{
|
|
2578
|
+
failed: "failed";
|
|
2579
|
+
disabled: "disabled";
|
|
2580
|
+
unmounted: "unmounted";
|
|
2581
|
+
connecting: "connecting";
|
|
2582
|
+
connected: "connected";
|
|
2583
|
+
reconnecting: "reconnecting";
|
|
2584
|
+
"waiting-credentials": "waiting-credentials";
|
|
2585
|
+
closed: "closed";
|
|
2586
|
+
}>;
|
|
2587
|
+
detail: z.ZodNullable<z.ZodString>;
|
|
2588
|
+
toolCount: z.ZodNullable<z.ZodNumber>;
|
|
2589
|
+
}, z.core.$strict>;
|
|
2590
|
+
}, z.core.$strict>>;
|
|
2591
|
+
bridgeAvailable: z.ZodBoolean;
|
|
2592
|
+
bridgeError: z.ZodNullable<z.ZodString>;
|
|
2593
|
+
}, z.core.$strict>;
|
|
2594
|
+
}, z.core.$strict>;
|
|
2595
|
+
export type ProbeMcpConnectorResultWire = z.infer<typeof probeMcpConnectorResultSchema>;
|
|
2007
2596
|
export declare const remoteInfo: import("@deepseek-ai/dsh-typert-protocol").TypertRemoteInfo<Readonly<Record<string, import("@deepseek-ai/dsh-typert-protocol").TypertRemoteMethod<object, unknown, "unary", never, unknown> | import("@deepseek-ai/dsh-typert-protocol").TypertRemoteMethod<object, unknown, "stream", unknown, unknown>>>>;
|
|
2008
2597
|
declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
2009
2598
|
interface RemoteErrorDetailsMap {
|