dsh-agent-enhancer 0.3.8 → 0.3.10
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 +17 -13
- package/README.md +15 -11
- package/lib/client/browser-agent/chat-links.d.ts +9 -0
- package/lib/client/browser-agent/chat-links.d.ts.map +1 -0
- package/lib/client/browser-agent/guide-icon.d.ts +4 -0
- package/lib/client/browser-agent/guide-icon.d.ts.map +1 -0
- package/lib/client/browser-agent/kind.d.ts +3 -0
- package/lib/client/browser-agent/kind.d.ts.map +1 -0
- package/lib/client/browser-agent/overlay.d.ts +7 -0
- package/lib/client/browser-agent/overlay.d.ts.map +1 -0
- package/lib/client/browser-agent/tab.d.ts +16 -0
- package/lib/client/browser-agent/tab.d.ts.map +1 -0
- package/lib/client/dsh/settings-catalog.d.ts +2 -2
- package/lib/client/dsh/settings-catalog.d.ts.map +1 -1
- package/lib/client/dsh/settings-features.d.ts +2 -1
- package/lib/client/dsh/settings-features.d.ts.map +1 -1
- package/lib/client/dsh/settings.d.ts +2 -0
- 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 +332 -144
- package/lib/client/locales.d.ts.map +1 -1
- package/lib/client/manager-shell.d.ts +1 -0
- package/lib/client/manager-shell.d.ts.map +1 -1
- package/lib/client/remote.d.ts +49 -1
- package/lib/client/remote.d.ts.map +1 -1
- package/lib/client/run-alerts/copy.d.ts.map +1 -1
- package/lib/client/run-alerts/host.d.ts +2 -0
- package/lib/client/run-alerts/host.d.ts.map +1 -1
- package/lib/client/run-alerts/types.d.ts +2 -2
- package/lib/client/run-alerts/types.d.ts.map +1 -1
- package/lib/client/web-chat-bridge/capture-selectors.d.ts +47 -0
- package/lib/client/web-chat-bridge/capture-selectors.d.ts.map +1 -0
- package/lib/client/web-chat-bridge/capture.d.ts +14 -0
- package/lib/client/web-chat-bridge/capture.d.ts.map +1 -0
- package/lib/client/web-chat-bridge/export-markdown.d.ts +8 -0
- package/lib/client/web-chat-bridge/export-markdown.d.ts.map +1 -0
- package/lib/client/web-chat-bridge/export-markdown.test.d.ts +2 -0
- package/lib/client/web-chat-bridge/export-markdown.test.d.ts.map +1 -0
- package/lib/client/web-chat-bridge/guest-capture.d.ts +10 -0
- package/lib/client/web-chat-bridge/guest-capture.d.ts.map +1 -0
- package/lib/client/web-chat-bridge/guest-policy-clipboard.test.d.ts +2 -0
- package/lib/client/web-chat-bridge/guest-policy-clipboard.test.d.ts.map +1 -0
- package/lib/client/web-chat-bridge/guest-policy.d.ts +56 -0
- package/lib/client/web-chat-bridge/guest-policy.d.ts.map +1 -0
- package/lib/client/web-chat-bridge/guest.d.ts +39 -0
- package/lib/client/web-chat-bridge/guest.d.ts.map +1 -0
- package/lib/client/web-chat-bridge/guide-icon.d.ts +4 -0
- package/lib/client/web-chat-bridge/guide-icon.d.ts.map +1 -0
- package/lib/client/web-chat-bridge/kind.d.ts +4 -0
- package/lib/client/web-chat-bridge/kind.d.ts.map +1 -0
- package/lib/client/web-chat-bridge/left-nav.d.ts +27 -0
- package/lib/client/web-chat-bridge/left-nav.d.ts.map +1 -0
- package/lib/client/web-chat-bridge/panel.d.ts +13 -0
- package/lib/client/web-chat-bridge/panel.d.ts.map +1 -0
- package/lib/client/web-chat-bridge/preview-model.d.ts +7 -0
- package/lib/client/web-chat-bridge/preview-model.d.ts.map +1 -0
- package/lib/client/web-chat-bridge/preview.d.ts +14 -0
- package/lib/client/web-chat-bridge/preview.d.ts.map +1 -0
- package/lib/client/web-chat-bridge/remote.d.ts +33 -0
- package/lib/client/web-chat-bridge/remote.d.ts.map +1 -0
- package/lib/client/web-chat-bridge/share-fetch.d.ts +7 -0
- package/lib/client/web-chat-bridge/share-fetch.d.ts.map +1 -0
- package/lib/client/web-chat-bridge/slot-types.d.ts +16 -0
- package/lib/client/web-chat-bridge/slot-types.d.ts.map +1 -0
- package/lib/client.js +6671 -3861
- package/lib/client.js.map +1 -1
- package/lib/config.d.ts +7 -1
- package/lib/config.d.ts.map +1 -1
- package/lib/host/browser-agent/approval.d.ts +38 -0
- package/lib/host/browser-agent/approval.d.ts.map +1 -0
- package/lib/host/browser-agent/auto-nav.d.ts +16 -0
- package/lib/host/browser-agent/auto-nav.d.ts.map +1 -0
- package/lib/host/browser-agent/auto-nav.test.d.ts +2 -0
- package/lib/host/browser-agent/auto-nav.test.d.ts.map +1 -0
- package/lib/host/browser-agent/driver.d.ts +76 -0
- package/lib/host/browser-agent/driver.d.ts.map +1 -0
- package/lib/host/browser-agent/extract.test.d.ts +2 -0
- package/lib/host/browser-agent/extract.test.d.ts.map +1 -0
- package/lib/host/browser-agent/human-gate.d.ts +36 -0
- package/lib/host/browser-agent/human-gate.d.ts.map +1 -0
- package/lib/host/browser-agent/human-gate.test.d.ts +2 -0
- package/lib/host/browser-agent/human-gate.test.d.ts.map +1 -0
- package/lib/host/browser-agent/install.d.ts +71 -0
- package/lib/host/browser-agent/install.d.ts.map +1 -0
- package/lib/host/browser-agent/launch.d.ts +38 -0
- package/lib/host/browser-agent/launch.d.ts.map +1 -0
- package/lib/host/browser-agent/page-links.d.ts +12 -0
- package/lib/host/browser-agent/page-links.d.ts.map +1 -0
- package/lib/host/browser-agent/page-links.test.d.ts +2 -0
- package/lib/host/browser-agent/page-links.test.d.ts.map +1 -0
- package/lib/host/browser-agent/path-key.test.d.ts +2 -0
- package/lib/host/browser-agent/path-key.test.d.ts.map +1 -0
- package/lib/host/browser-agent/pick-auto-nav.test.d.ts +2 -0
- package/lib/host/browser-agent/pick-auto-nav.test.d.ts.map +1 -0
- package/lib/host/browser-agent/playwright-driver.d.ts +81 -0
- package/lib/host/browser-agent/playwright-driver.d.ts.map +1 -0
- package/lib/host/browser-agent/playwright-snapshot.d.ts +50 -0
- package/lib/host/browser-agent/playwright-snapshot.d.ts.map +1 -0
- package/lib/host/browser-agent/prompt.d.ts +7 -0
- package/lib/host/browser-agent/prompt.d.ts.map +1 -0
- package/lib/host/browser-agent/protocol.d.ts +139 -0
- package/lib/host/browser-agent/protocol.d.ts.map +1 -0
- package/lib/host/browser-agent/proximity.d.ts +27 -0
- package/lib/host/browser-agent/proximity.d.ts.map +1 -0
- package/lib/host/browser-agent/session-state.d.ts +60 -0
- package/lib/host/browser-agent/session-state.d.ts.map +1 -0
- package/lib/host/browser-agent/tools.d.ts +29 -0
- package/lib/host/browser-agent/tools.d.ts.map +1 -0
- package/lib/host/extra-folders/pick.d.ts +7 -0
- package/lib/host/extra-folders/pick.d.ts.map +1 -1
- package/lib/host/extra-folders/pick.test.d.ts +2 -0
- package/lib/host/extra-folders/pick.test.d.ts.map +1 -0
- package/lib/host/index.d.ts +74 -2
- package/lib/host/index.d.ts.map +1 -1
- package/lib/host/rpc.d.ts +738 -0
- package/lib/host/rpc.d.ts.map +1 -1
- package/lib/host/run-alerts/notify.d.ts.map +1 -1
- package/lib/host/web-chat-bridge/import-session.d.ts +112 -0
- package/lib/host/web-chat-bridge/import-session.d.ts.map +1 -0
- package/lib/host/web-chat-bridge/limits.d.ts +9 -0
- package/lib/host/web-chat-bridge/limits.d.ts.map +1 -0
- package/lib/host/web-chat-bridge/login-snapshot-policy.d.ts +5 -0
- package/lib/host/web-chat-bridge/login-snapshot-policy.d.ts.map +1 -0
- package/lib/host/web-chat-bridge/login-snapshot-types.d.ts +11 -0
- package/lib/host/web-chat-bridge/login-snapshot-types.d.ts.map +1 -0
- package/lib/host/web-chat-bridge/login-snapshot.d.ts +14 -0
- package/lib/host/web-chat-bridge/login-snapshot.d.ts.map +1 -0
- package/lib/host/web-chat-bridge/parse-export.d.ts +6 -0
- package/lib/host/web-chat-bridge/parse-export.d.ts.map +1 -0
- package/lib/host/web-chat-bridge/parse-export.test.d.ts +2 -0
- package/lib/host/web-chat-bridge/parse-export.test.d.ts.map +1 -0
- package/lib/host/web-chat-bridge/share-link.d.ts +29 -0
- package/lib/host/web-chat-bridge/share-link.d.ts.map +1 -0
- package/lib/host/web-chat-bridge/share-link.test.d.ts +2 -0
- package/lib/host/web-chat-bridge/share-link.test.d.ts.map +1 -0
- package/lib/host/web-chat-bridge/types.d.ts +37 -0
- package/lib/host/web-chat-bridge/types.d.ts.map +1 -0
- package/lib/identity.d.ts +1 -1
- package/lib/identity.d.ts.map +1 -1
- package/lib/index.js +8261 -3755
- package/lib/index.js.map +4 -4
- package/package.json +5 -1
package/lib/host/rpc.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { SessionId } from '@deepseek-ai/dsh-session/types';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import type { AuxiliaryErrorCode } from '../errors.ts';
|
|
4
|
+
import type { WebChatImportErrorCode } from './web-chat-bridge/import-session.ts';
|
|
4
5
|
import type { CheckpointRollbackErrorCode } from './checkpoint/service.ts';
|
|
5
6
|
export declare const auxiliaryRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6
7
|
operation: z.ZodLiteral<"optimize">;
|
|
@@ -137,6 +138,191 @@ export declare const deleteSessionResultSchema: z.ZodObject<{
|
|
|
137
138
|
}, z.core.$strict>>;
|
|
138
139
|
detail: z.ZodString;
|
|
139
140
|
}, z.core.$strict>;
|
|
141
|
+
export declare const webChatTranscriptSchema: z.ZodObject<{
|
|
142
|
+
title: z.ZodString;
|
|
143
|
+
partial: z.ZodBoolean;
|
|
144
|
+
turns: z.ZodArray<z.ZodObject<{
|
|
145
|
+
role: z.ZodEnum<{
|
|
146
|
+
user: "user";
|
|
147
|
+
assistant: "assistant";
|
|
148
|
+
}>;
|
|
149
|
+
text: z.ZodString;
|
|
150
|
+
}, z.core.$strict>>;
|
|
151
|
+
source: z.ZodObject<{
|
|
152
|
+
kind: z.ZodEnum<{
|
|
153
|
+
"rendered-capture": "rendered-capture";
|
|
154
|
+
"official-export": "official-export";
|
|
155
|
+
"share-link": "share-link";
|
|
156
|
+
"account-history": "account-history";
|
|
157
|
+
}>;
|
|
158
|
+
url: z.ZodOptional<z.ZodString>;
|
|
159
|
+
chatSessionId: z.ZodOptional<z.ZodString>;
|
|
160
|
+
capturedAt: z.ZodString;
|
|
161
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
162
|
+
}, z.core.$strict>;
|
|
163
|
+
}, z.core.$strict>;
|
|
164
|
+
export declare const listWebChatWorkspacesRequestSchema: z.ZodObject<{}, z.core.$strict>;
|
|
165
|
+
export declare const listWebChatWorkspacesResultSchema: z.ZodObject<{
|
|
166
|
+
items: z.ZodArray<z.ZodObject<{
|
|
167
|
+
id: z.ZodString;
|
|
168
|
+
title: z.ZodString;
|
|
169
|
+
cwd: z.ZodString;
|
|
170
|
+
}, z.core.$strict>>;
|
|
171
|
+
}, z.core.$strict>;
|
|
172
|
+
export declare const createWebChatWorkspaceRequestSchema: z.ZodObject<{}, z.core.$strict>;
|
|
173
|
+
export declare const createWebChatWorkspaceResultSchema: z.ZodObject<{
|
|
174
|
+
cancelled: z.ZodBoolean;
|
|
175
|
+
workspace: z.ZodNullable<z.ZodObject<{
|
|
176
|
+
id: z.ZodString;
|
|
177
|
+
title: z.ZodString;
|
|
178
|
+
cwd: z.ZodString;
|
|
179
|
+
}, z.core.$strict>>;
|
|
180
|
+
}, z.core.$strict>;
|
|
181
|
+
export declare const importWebChatHistoryRequestSchema: z.ZodObject<{
|
|
182
|
+
workspaceId: z.ZodString;
|
|
183
|
+
transcript: z.ZodObject<{
|
|
184
|
+
title: z.ZodString;
|
|
185
|
+
partial: z.ZodBoolean;
|
|
186
|
+
turns: z.ZodArray<z.ZodObject<{
|
|
187
|
+
role: z.ZodEnum<{
|
|
188
|
+
user: "user";
|
|
189
|
+
assistant: "assistant";
|
|
190
|
+
}>;
|
|
191
|
+
text: z.ZodString;
|
|
192
|
+
}, z.core.$strict>>;
|
|
193
|
+
source: z.ZodObject<{
|
|
194
|
+
kind: z.ZodEnum<{
|
|
195
|
+
"rendered-capture": "rendered-capture";
|
|
196
|
+
"official-export": "official-export";
|
|
197
|
+
"share-link": "share-link";
|
|
198
|
+
"account-history": "account-history";
|
|
199
|
+
}>;
|
|
200
|
+
url: z.ZodOptional<z.ZodString>;
|
|
201
|
+
chatSessionId: z.ZodOptional<z.ZodString>;
|
|
202
|
+
capturedAt: z.ZodString;
|
|
203
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
204
|
+
}, z.core.$strict>;
|
|
205
|
+
}, z.core.$strict>;
|
|
206
|
+
}, z.core.$strict>;
|
|
207
|
+
export declare const importWebChatHistoryResultSchema: z.ZodObject<{
|
|
208
|
+
sessionId: z.ZodPipe<z.ZodString, z.ZodTransform<SessionId, string>>;
|
|
209
|
+
}, z.core.$strict>;
|
|
210
|
+
export declare const parseWebChatExportRequestSchema: z.ZodObject<{
|
|
211
|
+
filename: z.ZodString;
|
|
212
|
+
bytesBase64: z.ZodString;
|
|
213
|
+
}, z.core.$strict>;
|
|
214
|
+
export declare const webChatExportCatalogItemSchema: z.ZodObject<{
|
|
215
|
+
id: z.ZodString;
|
|
216
|
+
title: z.ZodString;
|
|
217
|
+
turnCount: z.ZodNumber;
|
|
218
|
+
preview: z.ZodString;
|
|
219
|
+
transcript: z.ZodOptional<z.ZodObject<{
|
|
220
|
+
title: z.ZodString;
|
|
221
|
+
partial: z.ZodBoolean;
|
|
222
|
+
turns: z.ZodArray<z.ZodObject<{
|
|
223
|
+
role: z.ZodEnum<{
|
|
224
|
+
user: "user";
|
|
225
|
+
assistant: "assistant";
|
|
226
|
+
}>;
|
|
227
|
+
text: z.ZodString;
|
|
228
|
+
}, z.core.$strict>>;
|
|
229
|
+
source: z.ZodObject<{
|
|
230
|
+
kind: z.ZodEnum<{
|
|
231
|
+
"rendered-capture": "rendered-capture";
|
|
232
|
+
"official-export": "official-export";
|
|
233
|
+
"share-link": "share-link";
|
|
234
|
+
"account-history": "account-history";
|
|
235
|
+
}>;
|
|
236
|
+
url: z.ZodOptional<z.ZodString>;
|
|
237
|
+
chatSessionId: z.ZodOptional<z.ZodString>;
|
|
238
|
+
capturedAt: z.ZodString;
|
|
239
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
240
|
+
}, z.core.$strict>;
|
|
241
|
+
}, z.core.$strict>>;
|
|
242
|
+
}, z.core.$strict>;
|
|
243
|
+
export declare const parseWebChatExportResultSchema: z.ZodObject<{
|
|
244
|
+
items: z.ZodArray<z.ZodObject<{
|
|
245
|
+
id: z.ZodString;
|
|
246
|
+
title: z.ZodString;
|
|
247
|
+
turnCount: z.ZodNumber;
|
|
248
|
+
preview: z.ZodString;
|
|
249
|
+
transcript: z.ZodOptional<z.ZodObject<{
|
|
250
|
+
title: z.ZodString;
|
|
251
|
+
partial: z.ZodBoolean;
|
|
252
|
+
turns: z.ZodArray<z.ZodObject<{
|
|
253
|
+
role: z.ZodEnum<{
|
|
254
|
+
user: "user";
|
|
255
|
+
assistant: "assistant";
|
|
256
|
+
}>;
|
|
257
|
+
text: z.ZodString;
|
|
258
|
+
}, z.core.$strict>>;
|
|
259
|
+
source: z.ZodObject<{
|
|
260
|
+
kind: z.ZodEnum<{
|
|
261
|
+
"rendered-capture": "rendered-capture";
|
|
262
|
+
"official-export": "official-export";
|
|
263
|
+
"share-link": "share-link";
|
|
264
|
+
"account-history": "account-history";
|
|
265
|
+
}>;
|
|
266
|
+
url: z.ZodOptional<z.ZodString>;
|
|
267
|
+
chatSessionId: z.ZodOptional<z.ZodString>;
|
|
268
|
+
capturedAt: z.ZodString;
|
|
269
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
270
|
+
}, z.core.$strict>;
|
|
271
|
+
}, z.core.$strict>>;
|
|
272
|
+
}, z.core.$strict>>;
|
|
273
|
+
truncated: z.ZodBoolean;
|
|
274
|
+
}, z.core.$strict>;
|
|
275
|
+
export declare const resolveWebChatShareLinkRequestSchema: z.ZodObject<{
|
|
276
|
+
shareUrl: z.ZodString;
|
|
277
|
+
payloadJson: z.ZodOptional<z.ZodString>;
|
|
278
|
+
}, z.core.$strict>;
|
|
279
|
+
export declare const resolveWebChatShareLinkResultSchema: z.ZodObject<{
|
|
280
|
+
transcript: z.ZodObject<{
|
|
281
|
+
title: z.ZodString;
|
|
282
|
+
partial: z.ZodBoolean;
|
|
283
|
+
turns: z.ZodArray<z.ZodObject<{
|
|
284
|
+
role: z.ZodEnum<{
|
|
285
|
+
user: "user";
|
|
286
|
+
assistant: "assistant";
|
|
287
|
+
}>;
|
|
288
|
+
text: z.ZodString;
|
|
289
|
+
}, z.core.$strict>>;
|
|
290
|
+
source: z.ZodObject<{
|
|
291
|
+
kind: z.ZodEnum<{
|
|
292
|
+
"rendered-capture": "rendered-capture";
|
|
293
|
+
"official-export": "official-export";
|
|
294
|
+
"share-link": "share-link";
|
|
295
|
+
"account-history": "account-history";
|
|
296
|
+
}>;
|
|
297
|
+
url: z.ZodOptional<z.ZodString>;
|
|
298
|
+
chatSessionId: z.ZodOptional<z.ZodString>;
|
|
299
|
+
capturedAt: z.ZodString;
|
|
300
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
301
|
+
}, z.core.$strict>;
|
|
302
|
+
}, z.core.$strict>;
|
|
303
|
+
}, z.core.$strict>;
|
|
304
|
+
export declare const loadWebChatLoginSnapshotRequestSchema: z.ZodObject<{}, z.core.$strict>;
|
|
305
|
+
export declare const loadWebChatLoginSnapshotResultSchema: z.ZodObject<{
|
|
306
|
+
snapshot: z.ZodNullable<z.ZodObject<{
|
|
307
|
+
version: z.ZodLiteral<1>;
|
|
308
|
+
origin: z.ZodString;
|
|
309
|
+
localStorage: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
310
|
+
cookie: z.ZodString;
|
|
311
|
+
savedAt: z.ZodString;
|
|
312
|
+
}, z.core.$strict>>;
|
|
313
|
+
}, z.core.$strict>;
|
|
314
|
+
export declare const saveWebChatLoginSnapshotRequestSchema: z.ZodObject<{
|
|
315
|
+
localStorage: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
316
|
+
cookie: z.ZodString;
|
|
317
|
+
savedAt: z.ZodString;
|
|
318
|
+
}, z.core.$strict>;
|
|
319
|
+
export declare const saveWebChatLoginSnapshotResultSchema: z.ZodObject<{
|
|
320
|
+
ok: z.ZodLiteral<true>;
|
|
321
|
+
}, z.core.$strict>;
|
|
322
|
+
export declare const clearWebChatLoginSnapshotRequestSchema: z.ZodObject<{}, z.core.$strict>;
|
|
323
|
+
export declare const clearWebChatLoginSnapshotResultSchema: z.ZodObject<{
|
|
324
|
+
cleared: z.ZodBoolean;
|
|
325
|
+
}, z.core.$strict>;
|
|
140
326
|
export declare const readWorkspaceFileRequestSchema: z.ZodObject<{
|
|
141
327
|
sessionId: z.ZodPipe<z.ZodString, z.ZodTransform<SessionId, string>>;
|
|
142
328
|
path: z.ZodString;
|
|
@@ -406,6 +592,556 @@ export declare const showOsNotificationResultSchema: z.ZodObject<{
|
|
|
406
592
|
}>;
|
|
407
593
|
}, z.core.$strict>;
|
|
408
594
|
export type ShowOsNotificationResult = z.infer<typeof showOsNotificationResultSchema>;
|
|
595
|
+
export declare const browserAgentApprovalDecisionSchema: z.ZodEnum<{
|
|
596
|
+
"allow-once": "allow-once";
|
|
597
|
+
"allow-origin": "allow-origin";
|
|
598
|
+
deny: "deny";
|
|
599
|
+
}>;
|
|
600
|
+
export type BrowserAgentApprovalDecisionWire = z.infer<typeof browserAgentApprovalDecisionSchema>;
|
|
601
|
+
export declare const browserAgentPendingSchema: z.ZodObject<{
|
|
602
|
+
id: z.ZodString;
|
|
603
|
+
sessionId: z.ZodString;
|
|
604
|
+
tool: z.ZodString;
|
|
605
|
+
summary: z.ZodString;
|
|
606
|
+
url: z.ZodOptional<z.ZodString>;
|
|
607
|
+
origin: z.ZodOptional<z.ZodString>;
|
|
608
|
+
}, z.core.$strict>;
|
|
609
|
+
export type BrowserAgentPendingWire = z.infer<typeof browserAgentPendingSchema>;
|
|
610
|
+
export declare const browserAgentTabConflictSchema: z.ZodObject<{
|
|
611
|
+
sessionId: z.ZodString;
|
|
612
|
+
boundTabId: z.ZodNumber;
|
|
613
|
+
activeTabId: z.ZodNumber;
|
|
614
|
+
}, z.core.$strict>;
|
|
615
|
+
export type BrowserAgentTabConflictWire = z.infer<typeof browserAgentTabConflictSchema>;
|
|
616
|
+
export declare const browserAgentNeedsHumanSchema: z.ZodObject<{
|
|
617
|
+
sessionId: z.ZodString;
|
|
618
|
+
detail: z.ZodString;
|
|
619
|
+
}, z.core.$strict>;
|
|
620
|
+
export type BrowserAgentNeedsHumanWire = z.infer<typeof browserAgentNeedsHumanSchema>;
|
|
621
|
+
export declare const browserAgentAuditEntrySchema: z.ZodObject<{
|
|
622
|
+
at: z.ZodNumber;
|
|
623
|
+
sessionId: z.ZodString;
|
|
624
|
+
tool: z.ZodString;
|
|
625
|
+
summary: z.ZodString;
|
|
626
|
+
url: z.ZodOptional<z.ZodString>;
|
|
627
|
+
outcome: z.ZodEnum<{
|
|
628
|
+
ok: "ok";
|
|
629
|
+
error: "error";
|
|
630
|
+
denied: "denied";
|
|
631
|
+
needs_human: "needs_human";
|
|
632
|
+
}>;
|
|
633
|
+
}, z.core.$strict>;
|
|
634
|
+
export type BrowserAgentAuditEntryWire = z.infer<typeof browserAgentAuditEntrySchema>;
|
|
635
|
+
export declare const browserAgentSnapshotSchema: z.ZodObject<{
|
|
636
|
+
enabled: z.ZodBoolean;
|
|
637
|
+
browser: z.ZodEnum<{
|
|
638
|
+
auto: "auto";
|
|
639
|
+
chrome: "chrome";
|
|
640
|
+
edge: "edge";
|
|
641
|
+
}>;
|
|
642
|
+
launchedBrowser: z.ZodNullable<z.ZodEnum<{
|
|
643
|
+
chrome: "chrome";
|
|
644
|
+
edge: "edge";
|
|
645
|
+
}>>;
|
|
646
|
+
driver: z.ZodLiteral<"playwright">;
|
|
647
|
+
allowedOrigins: z.ZodArray<z.ZodString>;
|
|
648
|
+
bridge: z.ZodObject<{
|
|
649
|
+
listening: z.ZodBoolean;
|
|
650
|
+
port: z.ZodNumber;
|
|
651
|
+
extensionConnected: z.ZodBoolean;
|
|
652
|
+
lastError: z.ZodNullable<z.ZodString>;
|
|
653
|
+
}, z.core.$strict>;
|
|
654
|
+
pending: z.ZodNullable<z.ZodObject<{
|
|
655
|
+
id: z.ZodString;
|
|
656
|
+
sessionId: z.ZodString;
|
|
657
|
+
tool: z.ZodString;
|
|
658
|
+
summary: z.ZodString;
|
|
659
|
+
url: z.ZodOptional<z.ZodString>;
|
|
660
|
+
origin: z.ZodOptional<z.ZodString>;
|
|
661
|
+
}, z.core.$strict>>;
|
|
662
|
+
tabConflict: z.ZodNullable<z.ZodObject<{
|
|
663
|
+
sessionId: z.ZodString;
|
|
664
|
+
boundTabId: z.ZodNumber;
|
|
665
|
+
activeTabId: z.ZodNumber;
|
|
666
|
+
}, z.core.$strict>>;
|
|
667
|
+
needsHuman: z.ZodNullable<z.ZodObject<{
|
|
668
|
+
sessionId: z.ZodString;
|
|
669
|
+
detail: z.ZodString;
|
|
670
|
+
}, z.core.$strict>>;
|
|
671
|
+
boundTabId: z.ZodNullable<z.ZodNumber>;
|
|
672
|
+
audit: z.ZodArray<z.ZodObject<{
|
|
673
|
+
at: z.ZodNumber;
|
|
674
|
+
sessionId: z.ZodString;
|
|
675
|
+
tool: z.ZodString;
|
|
676
|
+
summary: z.ZodString;
|
|
677
|
+
url: z.ZodOptional<z.ZodString>;
|
|
678
|
+
outcome: z.ZodEnum<{
|
|
679
|
+
ok: "ok";
|
|
680
|
+
error: "error";
|
|
681
|
+
denied: "denied";
|
|
682
|
+
needs_human: "needs_human";
|
|
683
|
+
}>;
|
|
684
|
+
}, z.core.$strict>>;
|
|
685
|
+
profileDir: z.ZodString;
|
|
686
|
+
}, z.core.$strict>;
|
|
687
|
+
export type BrowserAgentSnapshot = z.infer<typeof browserAgentSnapshotSchema>;
|
|
688
|
+
export declare const browserAgentResolveRequestSchema: z.ZodObject<{
|
|
689
|
+
id: z.ZodString;
|
|
690
|
+
decision: z.ZodEnum<{
|
|
691
|
+
"allow-once": "allow-once";
|
|
692
|
+
"allow-origin": "allow-origin";
|
|
693
|
+
deny: "deny";
|
|
694
|
+
}>;
|
|
695
|
+
}, z.core.$strict>;
|
|
696
|
+
export type BrowserAgentResolveRequest = z.infer<typeof browserAgentResolveRequestSchema>;
|
|
697
|
+
export declare const browserAgentResolveResultSchema: z.ZodObject<{
|
|
698
|
+
ok: z.ZodBoolean;
|
|
699
|
+
snapshot: z.ZodObject<{
|
|
700
|
+
enabled: z.ZodBoolean;
|
|
701
|
+
browser: z.ZodEnum<{
|
|
702
|
+
auto: "auto";
|
|
703
|
+
chrome: "chrome";
|
|
704
|
+
edge: "edge";
|
|
705
|
+
}>;
|
|
706
|
+
launchedBrowser: z.ZodNullable<z.ZodEnum<{
|
|
707
|
+
chrome: "chrome";
|
|
708
|
+
edge: "edge";
|
|
709
|
+
}>>;
|
|
710
|
+
driver: z.ZodLiteral<"playwright">;
|
|
711
|
+
allowedOrigins: z.ZodArray<z.ZodString>;
|
|
712
|
+
bridge: z.ZodObject<{
|
|
713
|
+
listening: z.ZodBoolean;
|
|
714
|
+
port: z.ZodNumber;
|
|
715
|
+
extensionConnected: z.ZodBoolean;
|
|
716
|
+
lastError: z.ZodNullable<z.ZodString>;
|
|
717
|
+
}, z.core.$strict>;
|
|
718
|
+
pending: z.ZodNullable<z.ZodObject<{
|
|
719
|
+
id: z.ZodString;
|
|
720
|
+
sessionId: z.ZodString;
|
|
721
|
+
tool: z.ZodString;
|
|
722
|
+
summary: z.ZodString;
|
|
723
|
+
url: z.ZodOptional<z.ZodString>;
|
|
724
|
+
origin: z.ZodOptional<z.ZodString>;
|
|
725
|
+
}, z.core.$strict>>;
|
|
726
|
+
tabConflict: z.ZodNullable<z.ZodObject<{
|
|
727
|
+
sessionId: z.ZodString;
|
|
728
|
+
boundTabId: z.ZodNumber;
|
|
729
|
+
activeTabId: z.ZodNumber;
|
|
730
|
+
}, z.core.$strict>>;
|
|
731
|
+
needsHuman: z.ZodNullable<z.ZodObject<{
|
|
732
|
+
sessionId: z.ZodString;
|
|
733
|
+
detail: z.ZodString;
|
|
734
|
+
}, z.core.$strict>>;
|
|
735
|
+
boundTabId: z.ZodNullable<z.ZodNumber>;
|
|
736
|
+
audit: z.ZodArray<z.ZodObject<{
|
|
737
|
+
at: z.ZodNumber;
|
|
738
|
+
sessionId: z.ZodString;
|
|
739
|
+
tool: z.ZodString;
|
|
740
|
+
summary: z.ZodString;
|
|
741
|
+
url: z.ZodOptional<z.ZodString>;
|
|
742
|
+
outcome: z.ZodEnum<{
|
|
743
|
+
ok: "ok";
|
|
744
|
+
error: "error";
|
|
745
|
+
denied: "denied";
|
|
746
|
+
needs_human: "needs_human";
|
|
747
|
+
}>;
|
|
748
|
+
}, z.core.$strict>>;
|
|
749
|
+
profileDir: z.ZodString;
|
|
750
|
+
}, z.core.$strict>;
|
|
751
|
+
}, z.core.$strict>;
|
|
752
|
+
export type BrowserAgentResolveResult = z.infer<typeof browserAgentResolveResultSchema>;
|
|
753
|
+
export declare const browserAgentResolveTabConflictRequestSchema: z.ZodObject<{
|
|
754
|
+
decision: z.ZodEnum<{
|
|
755
|
+
follow: "follow";
|
|
756
|
+
stay: "stay";
|
|
757
|
+
}>;
|
|
758
|
+
}, z.core.$strict>;
|
|
759
|
+
export type BrowserAgentResolveTabConflictRequest = z.infer<typeof browserAgentResolveTabConflictRequestSchema>;
|
|
760
|
+
export declare const browserAgentResolveTabConflictResultSchema: z.ZodObject<{
|
|
761
|
+
ok: z.ZodBoolean;
|
|
762
|
+
snapshot: z.ZodObject<{
|
|
763
|
+
enabled: z.ZodBoolean;
|
|
764
|
+
browser: z.ZodEnum<{
|
|
765
|
+
auto: "auto";
|
|
766
|
+
chrome: "chrome";
|
|
767
|
+
edge: "edge";
|
|
768
|
+
}>;
|
|
769
|
+
launchedBrowser: z.ZodNullable<z.ZodEnum<{
|
|
770
|
+
chrome: "chrome";
|
|
771
|
+
edge: "edge";
|
|
772
|
+
}>>;
|
|
773
|
+
driver: z.ZodLiteral<"playwright">;
|
|
774
|
+
allowedOrigins: z.ZodArray<z.ZodString>;
|
|
775
|
+
bridge: z.ZodObject<{
|
|
776
|
+
listening: z.ZodBoolean;
|
|
777
|
+
port: z.ZodNumber;
|
|
778
|
+
extensionConnected: z.ZodBoolean;
|
|
779
|
+
lastError: z.ZodNullable<z.ZodString>;
|
|
780
|
+
}, z.core.$strict>;
|
|
781
|
+
pending: z.ZodNullable<z.ZodObject<{
|
|
782
|
+
id: z.ZodString;
|
|
783
|
+
sessionId: z.ZodString;
|
|
784
|
+
tool: z.ZodString;
|
|
785
|
+
summary: z.ZodString;
|
|
786
|
+
url: z.ZodOptional<z.ZodString>;
|
|
787
|
+
origin: z.ZodOptional<z.ZodString>;
|
|
788
|
+
}, z.core.$strict>>;
|
|
789
|
+
tabConflict: z.ZodNullable<z.ZodObject<{
|
|
790
|
+
sessionId: z.ZodString;
|
|
791
|
+
boundTabId: z.ZodNumber;
|
|
792
|
+
activeTabId: z.ZodNumber;
|
|
793
|
+
}, z.core.$strict>>;
|
|
794
|
+
needsHuman: z.ZodNullable<z.ZodObject<{
|
|
795
|
+
sessionId: z.ZodString;
|
|
796
|
+
detail: z.ZodString;
|
|
797
|
+
}, z.core.$strict>>;
|
|
798
|
+
boundTabId: z.ZodNullable<z.ZodNumber>;
|
|
799
|
+
audit: z.ZodArray<z.ZodObject<{
|
|
800
|
+
at: z.ZodNumber;
|
|
801
|
+
sessionId: z.ZodString;
|
|
802
|
+
tool: z.ZodString;
|
|
803
|
+
summary: z.ZodString;
|
|
804
|
+
url: z.ZodOptional<z.ZodString>;
|
|
805
|
+
outcome: z.ZodEnum<{
|
|
806
|
+
ok: "ok";
|
|
807
|
+
error: "error";
|
|
808
|
+
denied: "denied";
|
|
809
|
+
needs_human: "needs_human";
|
|
810
|
+
}>;
|
|
811
|
+
}, z.core.$strict>>;
|
|
812
|
+
profileDir: z.ZodString;
|
|
813
|
+
}, z.core.$strict>;
|
|
814
|
+
}, z.core.$strict>;
|
|
815
|
+
export type BrowserAgentResolveTabConflictResult = z.infer<typeof browserAgentResolveTabConflictResultSchema>;
|
|
816
|
+
export declare const browserAgentAcknowledgeHumanRequestSchema: z.ZodObject<{
|
|
817
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
818
|
+
}, z.core.$strict>;
|
|
819
|
+
export type BrowserAgentAcknowledgeHumanRequest = z.infer<typeof browserAgentAcknowledgeHumanRequestSchema>;
|
|
820
|
+
export declare const browserAgentAcknowledgeHumanResultSchema: z.ZodObject<{
|
|
821
|
+
ok: z.ZodBoolean;
|
|
822
|
+
snapshot: z.ZodObject<{
|
|
823
|
+
enabled: z.ZodBoolean;
|
|
824
|
+
browser: z.ZodEnum<{
|
|
825
|
+
auto: "auto";
|
|
826
|
+
chrome: "chrome";
|
|
827
|
+
edge: "edge";
|
|
828
|
+
}>;
|
|
829
|
+
launchedBrowser: z.ZodNullable<z.ZodEnum<{
|
|
830
|
+
chrome: "chrome";
|
|
831
|
+
edge: "edge";
|
|
832
|
+
}>>;
|
|
833
|
+
driver: z.ZodLiteral<"playwright">;
|
|
834
|
+
allowedOrigins: z.ZodArray<z.ZodString>;
|
|
835
|
+
bridge: z.ZodObject<{
|
|
836
|
+
listening: z.ZodBoolean;
|
|
837
|
+
port: z.ZodNumber;
|
|
838
|
+
extensionConnected: z.ZodBoolean;
|
|
839
|
+
lastError: z.ZodNullable<z.ZodString>;
|
|
840
|
+
}, z.core.$strict>;
|
|
841
|
+
pending: z.ZodNullable<z.ZodObject<{
|
|
842
|
+
id: z.ZodString;
|
|
843
|
+
sessionId: z.ZodString;
|
|
844
|
+
tool: z.ZodString;
|
|
845
|
+
summary: z.ZodString;
|
|
846
|
+
url: z.ZodOptional<z.ZodString>;
|
|
847
|
+
origin: z.ZodOptional<z.ZodString>;
|
|
848
|
+
}, z.core.$strict>>;
|
|
849
|
+
tabConflict: z.ZodNullable<z.ZodObject<{
|
|
850
|
+
sessionId: z.ZodString;
|
|
851
|
+
boundTabId: z.ZodNumber;
|
|
852
|
+
activeTabId: z.ZodNumber;
|
|
853
|
+
}, z.core.$strict>>;
|
|
854
|
+
needsHuman: z.ZodNullable<z.ZodObject<{
|
|
855
|
+
sessionId: z.ZodString;
|
|
856
|
+
detail: z.ZodString;
|
|
857
|
+
}, z.core.$strict>>;
|
|
858
|
+
boundTabId: z.ZodNullable<z.ZodNumber>;
|
|
859
|
+
audit: z.ZodArray<z.ZodObject<{
|
|
860
|
+
at: z.ZodNumber;
|
|
861
|
+
sessionId: z.ZodString;
|
|
862
|
+
tool: z.ZodString;
|
|
863
|
+
summary: z.ZodString;
|
|
864
|
+
url: z.ZodOptional<z.ZodString>;
|
|
865
|
+
outcome: z.ZodEnum<{
|
|
866
|
+
ok: "ok";
|
|
867
|
+
error: "error";
|
|
868
|
+
denied: "denied";
|
|
869
|
+
needs_human: "needs_human";
|
|
870
|
+
}>;
|
|
871
|
+
}, z.core.$strict>>;
|
|
872
|
+
profileDir: z.ZodString;
|
|
873
|
+
}, z.core.$strict>;
|
|
874
|
+
}, z.core.$strict>;
|
|
875
|
+
export type BrowserAgentAcknowledgeHumanResult = z.infer<typeof browserAgentAcknowledgeHumanResultSchema>;
|
|
876
|
+
export declare const browserAgentOpenUrlRequestSchema: z.ZodObject<{
|
|
877
|
+
sessionId: z.ZodString;
|
|
878
|
+
url: z.ZodString;
|
|
879
|
+
}, z.core.$strict>;
|
|
880
|
+
export type BrowserAgentOpenUrlRequest = z.infer<typeof browserAgentOpenUrlRequestSchema>;
|
|
881
|
+
export declare const browserAgentOpenUrlResultSchema: z.ZodObject<{
|
|
882
|
+
ok: z.ZodBoolean;
|
|
883
|
+
url: z.ZodOptional<z.ZodString>;
|
|
884
|
+
title: z.ZodOptional<z.ZodString>;
|
|
885
|
+
error: z.ZodOptional<z.ZodString>;
|
|
886
|
+
snapshot: z.ZodObject<{
|
|
887
|
+
enabled: z.ZodBoolean;
|
|
888
|
+
browser: z.ZodEnum<{
|
|
889
|
+
auto: "auto";
|
|
890
|
+
chrome: "chrome";
|
|
891
|
+
edge: "edge";
|
|
892
|
+
}>;
|
|
893
|
+
launchedBrowser: z.ZodNullable<z.ZodEnum<{
|
|
894
|
+
chrome: "chrome";
|
|
895
|
+
edge: "edge";
|
|
896
|
+
}>>;
|
|
897
|
+
driver: z.ZodLiteral<"playwright">;
|
|
898
|
+
allowedOrigins: z.ZodArray<z.ZodString>;
|
|
899
|
+
bridge: z.ZodObject<{
|
|
900
|
+
listening: z.ZodBoolean;
|
|
901
|
+
port: z.ZodNumber;
|
|
902
|
+
extensionConnected: z.ZodBoolean;
|
|
903
|
+
lastError: z.ZodNullable<z.ZodString>;
|
|
904
|
+
}, z.core.$strict>;
|
|
905
|
+
pending: z.ZodNullable<z.ZodObject<{
|
|
906
|
+
id: z.ZodString;
|
|
907
|
+
sessionId: z.ZodString;
|
|
908
|
+
tool: z.ZodString;
|
|
909
|
+
summary: z.ZodString;
|
|
910
|
+
url: z.ZodOptional<z.ZodString>;
|
|
911
|
+
origin: z.ZodOptional<z.ZodString>;
|
|
912
|
+
}, z.core.$strict>>;
|
|
913
|
+
tabConflict: z.ZodNullable<z.ZodObject<{
|
|
914
|
+
sessionId: z.ZodString;
|
|
915
|
+
boundTabId: z.ZodNumber;
|
|
916
|
+
activeTabId: z.ZodNumber;
|
|
917
|
+
}, z.core.$strict>>;
|
|
918
|
+
needsHuman: z.ZodNullable<z.ZodObject<{
|
|
919
|
+
sessionId: z.ZodString;
|
|
920
|
+
detail: z.ZodString;
|
|
921
|
+
}, z.core.$strict>>;
|
|
922
|
+
boundTabId: z.ZodNullable<z.ZodNumber>;
|
|
923
|
+
audit: z.ZodArray<z.ZodObject<{
|
|
924
|
+
at: z.ZodNumber;
|
|
925
|
+
sessionId: z.ZodString;
|
|
926
|
+
tool: z.ZodString;
|
|
927
|
+
summary: z.ZodString;
|
|
928
|
+
url: z.ZodOptional<z.ZodString>;
|
|
929
|
+
outcome: z.ZodEnum<{
|
|
930
|
+
ok: "ok";
|
|
931
|
+
error: "error";
|
|
932
|
+
denied: "denied";
|
|
933
|
+
needs_human: "needs_human";
|
|
934
|
+
}>;
|
|
935
|
+
}, z.core.$strict>>;
|
|
936
|
+
profileDir: z.ZodString;
|
|
937
|
+
}, z.core.$strict>;
|
|
938
|
+
}, z.core.$strict>;
|
|
939
|
+
export type BrowserAgentOpenUrlResult = z.infer<typeof browserAgentOpenUrlResultSchema>;
|
|
940
|
+
export declare const browserAgentQuotePageRequestSchema: z.ZodObject<{
|
|
941
|
+
sessionId: z.ZodString;
|
|
942
|
+
}, z.core.$strict>;
|
|
943
|
+
export type BrowserAgentQuotePageRequest = z.infer<typeof browserAgentQuotePageRequestSchema>;
|
|
944
|
+
export declare const browserAgentQuotePageResultSchema: z.ZodObject<{
|
|
945
|
+
ok: z.ZodBoolean;
|
|
946
|
+
text: z.ZodOptional<z.ZodString>;
|
|
947
|
+
url: z.ZodOptional<z.ZodString>;
|
|
948
|
+
title: z.ZodOptional<z.ZodString>;
|
|
949
|
+
error: z.ZodOptional<z.ZodString>;
|
|
950
|
+
snapshot: z.ZodObject<{
|
|
951
|
+
enabled: z.ZodBoolean;
|
|
952
|
+
browser: z.ZodEnum<{
|
|
953
|
+
auto: "auto";
|
|
954
|
+
chrome: "chrome";
|
|
955
|
+
edge: "edge";
|
|
956
|
+
}>;
|
|
957
|
+
launchedBrowser: z.ZodNullable<z.ZodEnum<{
|
|
958
|
+
chrome: "chrome";
|
|
959
|
+
edge: "edge";
|
|
960
|
+
}>>;
|
|
961
|
+
driver: z.ZodLiteral<"playwright">;
|
|
962
|
+
allowedOrigins: z.ZodArray<z.ZodString>;
|
|
963
|
+
bridge: z.ZodObject<{
|
|
964
|
+
listening: z.ZodBoolean;
|
|
965
|
+
port: z.ZodNumber;
|
|
966
|
+
extensionConnected: z.ZodBoolean;
|
|
967
|
+
lastError: z.ZodNullable<z.ZodString>;
|
|
968
|
+
}, z.core.$strict>;
|
|
969
|
+
pending: z.ZodNullable<z.ZodObject<{
|
|
970
|
+
id: z.ZodString;
|
|
971
|
+
sessionId: z.ZodString;
|
|
972
|
+
tool: z.ZodString;
|
|
973
|
+
summary: z.ZodString;
|
|
974
|
+
url: z.ZodOptional<z.ZodString>;
|
|
975
|
+
origin: z.ZodOptional<z.ZodString>;
|
|
976
|
+
}, z.core.$strict>>;
|
|
977
|
+
tabConflict: z.ZodNullable<z.ZodObject<{
|
|
978
|
+
sessionId: z.ZodString;
|
|
979
|
+
boundTabId: z.ZodNumber;
|
|
980
|
+
activeTabId: z.ZodNumber;
|
|
981
|
+
}, z.core.$strict>>;
|
|
982
|
+
needsHuman: z.ZodNullable<z.ZodObject<{
|
|
983
|
+
sessionId: z.ZodString;
|
|
984
|
+
detail: z.ZodString;
|
|
985
|
+
}, z.core.$strict>>;
|
|
986
|
+
boundTabId: z.ZodNullable<z.ZodNumber>;
|
|
987
|
+
audit: z.ZodArray<z.ZodObject<{
|
|
988
|
+
at: z.ZodNumber;
|
|
989
|
+
sessionId: z.ZodString;
|
|
990
|
+
tool: z.ZodString;
|
|
991
|
+
summary: z.ZodString;
|
|
992
|
+
url: z.ZodOptional<z.ZodString>;
|
|
993
|
+
outcome: z.ZodEnum<{
|
|
994
|
+
ok: "ok";
|
|
995
|
+
error: "error";
|
|
996
|
+
denied: "denied";
|
|
997
|
+
needs_human: "needs_human";
|
|
998
|
+
}>;
|
|
999
|
+
}, z.core.$strict>>;
|
|
1000
|
+
profileDir: z.ZodString;
|
|
1001
|
+
}, z.core.$strict>;
|
|
1002
|
+
}, z.core.$strict>;
|
|
1003
|
+
export type BrowserAgentQuotePageResult = z.infer<typeof browserAgentQuotePageResultSchema>;
|
|
1004
|
+
export declare const browserAgentLaunchBrowserRequestSchema: z.ZodObject<{
|
|
1005
|
+
browser: z.ZodOptional<z.ZodEnum<{
|
|
1006
|
+
auto: "auto";
|
|
1007
|
+
chrome: "chrome";
|
|
1008
|
+
edge: "edge";
|
|
1009
|
+
}>>;
|
|
1010
|
+
}, z.core.$strict>;
|
|
1011
|
+
export type BrowserAgentLaunchBrowserRequest = z.infer<typeof browserAgentLaunchBrowserRequestSchema>;
|
|
1012
|
+
export declare const browserAgentLaunchBrowserResultSchema: z.ZodObject<{
|
|
1013
|
+
ok: z.ZodBoolean;
|
|
1014
|
+
browser: z.ZodOptional<z.ZodEnum<{
|
|
1015
|
+
chrome: "chrome";
|
|
1016
|
+
edge: "edge";
|
|
1017
|
+
}>>;
|
|
1018
|
+
executable: z.ZodOptional<z.ZodString>;
|
|
1019
|
+
profileDir: z.ZodString;
|
|
1020
|
+
error: z.ZodOptional<z.ZodString>;
|
|
1021
|
+
snapshot: z.ZodObject<{
|
|
1022
|
+
enabled: z.ZodBoolean;
|
|
1023
|
+
browser: z.ZodEnum<{
|
|
1024
|
+
auto: "auto";
|
|
1025
|
+
chrome: "chrome";
|
|
1026
|
+
edge: "edge";
|
|
1027
|
+
}>;
|
|
1028
|
+
launchedBrowser: z.ZodNullable<z.ZodEnum<{
|
|
1029
|
+
chrome: "chrome";
|
|
1030
|
+
edge: "edge";
|
|
1031
|
+
}>>;
|
|
1032
|
+
driver: z.ZodLiteral<"playwright">;
|
|
1033
|
+
allowedOrigins: z.ZodArray<z.ZodString>;
|
|
1034
|
+
bridge: z.ZodObject<{
|
|
1035
|
+
listening: z.ZodBoolean;
|
|
1036
|
+
port: z.ZodNumber;
|
|
1037
|
+
extensionConnected: z.ZodBoolean;
|
|
1038
|
+
lastError: z.ZodNullable<z.ZodString>;
|
|
1039
|
+
}, z.core.$strict>;
|
|
1040
|
+
pending: z.ZodNullable<z.ZodObject<{
|
|
1041
|
+
id: z.ZodString;
|
|
1042
|
+
sessionId: z.ZodString;
|
|
1043
|
+
tool: z.ZodString;
|
|
1044
|
+
summary: z.ZodString;
|
|
1045
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1046
|
+
origin: z.ZodOptional<z.ZodString>;
|
|
1047
|
+
}, z.core.$strict>>;
|
|
1048
|
+
tabConflict: z.ZodNullable<z.ZodObject<{
|
|
1049
|
+
sessionId: z.ZodString;
|
|
1050
|
+
boundTabId: z.ZodNumber;
|
|
1051
|
+
activeTabId: z.ZodNumber;
|
|
1052
|
+
}, z.core.$strict>>;
|
|
1053
|
+
needsHuman: z.ZodNullable<z.ZodObject<{
|
|
1054
|
+
sessionId: z.ZodString;
|
|
1055
|
+
detail: z.ZodString;
|
|
1056
|
+
}, z.core.$strict>>;
|
|
1057
|
+
boundTabId: z.ZodNullable<z.ZodNumber>;
|
|
1058
|
+
audit: z.ZodArray<z.ZodObject<{
|
|
1059
|
+
at: z.ZodNumber;
|
|
1060
|
+
sessionId: z.ZodString;
|
|
1061
|
+
tool: z.ZodString;
|
|
1062
|
+
summary: z.ZodString;
|
|
1063
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1064
|
+
outcome: z.ZodEnum<{
|
|
1065
|
+
ok: "ok";
|
|
1066
|
+
error: "error";
|
|
1067
|
+
denied: "denied";
|
|
1068
|
+
needs_human: "needs_human";
|
|
1069
|
+
}>;
|
|
1070
|
+
}, z.core.$strict>>;
|
|
1071
|
+
profileDir: z.ZodString;
|
|
1072
|
+
}, z.core.$strict>;
|
|
1073
|
+
}, z.core.$strict>;
|
|
1074
|
+
export type BrowserAgentLaunchBrowserResult = z.infer<typeof browserAgentLaunchBrowserResultSchema>;
|
|
1075
|
+
/** Immediate live preference sync (sidebar select) so Agent tools do not wait on Cordis. */
|
|
1076
|
+
export declare const browserAgentSetBrowserRequestSchema: z.ZodObject<{
|
|
1077
|
+
browser: z.ZodEnum<{
|
|
1078
|
+
auto: "auto";
|
|
1079
|
+
chrome: "chrome";
|
|
1080
|
+
edge: "edge";
|
|
1081
|
+
}>;
|
|
1082
|
+
}, z.core.$strict>;
|
|
1083
|
+
export type BrowserAgentSetBrowserRequest = z.infer<typeof browserAgentSetBrowserRequestSchema>;
|
|
1084
|
+
export declare const browserAgentSetBrowserResultSchema: z.ZodObject<{
|
|
1085
|
+
ok: z.ZodBoolean;
|
|
1086
|
+
browser: z.ZodEnum<{
|
|
1087
|
+
auto: "auto";
|
|
1088
|
+
chrome: "chrome";
|
|
1089
|
+
edge: "edge";
|
|
1090
|
+
}>;
|
|
1091
|
+
snapshot: z.ZodObject<{
|
|
1092
|
+
enabled: z.ZodBoolean;
|
|
1093
|
+
browser: z.ZodEnum<{
|
|
1094
|
+
auto: "auto";
|
|
1095
|
+
chrome: "chrome";
|
|
1096
|
+
edge: "edge";
|
|
1097
|
+
}>;
|
|
1098
|
+
launchedBrowser: z.ZodNullable<z.ZodEnum<{
|
|
1099
|
+
chrome: "chrome";
|
|
1100
|
+
edge: "edge";
|
|
1101
|
+
}>>;
|
|
1102
|
+
driver: z.ZodLiteral<"playwright">;
|
|
1103
|
+
allowedOrigins: z.ZodArray<z.ZodString>;
|
|
1104
|
+
bridge: z.ZodObject<{
|
|
1105
|
+
listening: z.ZodBoolean;
|
|
1106
|
+
port: z.ZodNumber;
|
|
1107
|
+
extensionConnected: z.ZodBoolean;
|
|
1108
|
+
lastError: z.ZodNullable<z.ZodString>;
|
|
1109
|
+
}, z.core.$strict>;
|
|
1110
|
+
pending: z.ZodNullable<z.ZodObject<{
|
|
1111
|
+
id: z.ZodString;
|
|
1112
|
+
sessionId: z.ZodString;
|
|
1113
|
+
tool: z.ZodString;
|
|
1114
|
+
summary: z.ZodString;
|
|
1115
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1116
|
+
origin: z.ZodOptional<z.ZodString>;
|
|
1117
|
+
}, z.core.$strict>>;
|
|
1118
|
+
tabConflict: z.ZodNullable<z.ZodObject<{
|
|
1119
|
+
sessionId: z.ZodString;
|
|
1120
|
+
boundTabId: z.ZodNumber;
|
|
1121
|
+
activeTabId: z.ZodNumber;
|
|
1122
|
+
}, z.core.$strict>>;
|
|
1123
|
+
needsHuman: z.ZodNullable<z.ZodObject<{
|
|
1124
|
+
sessionId: z.ZodString;
|
|
1125
|
+
detail: z.ZodString;
|
|
1126
|
+
}, z.core.$strict>>;
|
|
1127
|
+
boundTabId: z.ZodNullable<z.ZodNumber>;
|
|
1128
|
+
audit: z.ZodArray<z.ZodObject<{
|
|
1129
|
+
at: z.ZodNumber;
|
|
1130
|
+
sessionId: z.ZodString;
|
|
1131
|
+
tool: z.ZodString;
|
|
1132
|
+
summary: z.ZodString;
|
|
1133
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1134
|
+
outcome: z.ZodEnum<{
|
|
1135
|
+
ok: "ok";
|
|
1136
|
+
error: "error";
|
|
1137
|
+
denied: "denied";
|
|
1138
|
+
needs_human: "needs_human";
|
|
1139
|
+
}>;
|
|
1140
|
+
}, z.core.$strict>>;
|
|
1141
|
+
profileDir: z.ZodString;
|
|
1142
|
+
}, z.core.$strict>;
|
|
1143
|
+
}, z.core.$strict>;
|
|
1144
|
+
export type BrowserAgentSetBrowserResult = z.infer<typeof browserAgentSetBrowserResultSchema>;
|
|
409
1145
|
export declare const listInstructionsSkillsRequestSchema: z.ZodObject<{
|
|
410
1146
|
sessionId: z.ZodPipe<z.ZodString, z.ZodTransform<SessionId, string>>;
|
|
411
1147
|
checkUpdates: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1254,6 +1990,8 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
|
1254
1990
|
'agent-enhancer/forbidden': {};
|
|
1255
1991
|
'agent-enhancer/failed': {
|
|
1256
1992
|
code: AuxiliaryErrorCode;
|
|
1993
|
+
webChatCode?: WebChatImportErrorCode;
|
|
1994
|
+
sessionId?: SessionId;
|
|
1257
1995
|
};
|
|
1258
1996
|
}
|
|
1259
1997
|
}
|