@otto-code/protocol 0.6.1 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-types.d.ts +30 -0
- package/dist/browser-automation/capabilities.d.ts +1 -1
- package/dist/browser-automation/rpc-schemas.d.ts +199 -1
- package/dist/browser-automation/rpc-schemas.js +71 -0
- package/dist/generated/validation/ws-outbound.aot.js +29483 -28473
- package/dist/messages.d.ts +491 -7
- package/dist/messages.js +127 -5
- package/dist/observed-subagent-title.d.ts +26 -0
- package/dist/observed-subagent-title.js +63 -0
- package/dist/tool-call-display.d.ts +9 -0
- package/dist/tool-call-display.js +60 -15
- package/dist/tool-name-normalization.d.ts +16 -0
- package/dist/tool-name-normalization.js +26 -0
- package/dist/validation/ws-outbound-schema-metadata.d.ts +66 -0
- package/package.json +1 -1
package/dist/messages.d.ts
CHANGED
|
@@ -57,6 +57,14 @@ declare const AgentPersonalityVoiceSchema: z.ZodObject<{
|
|
|
57
57
|
model: z.ZodString;
|
|
58
58
|
name: z.ZodString;
|
|
59
59
|
}, z.core.$loose>;
|
|
60
|
+
export declare const CUE_MOMENTS: readonly ["join", "thinking", "done"];
|
|
61
|
+
export type CueMoment = (typeof CUE_MOMENTS)[number];
|
|
62
|
+
declare const AgentPersonalityVoiceCuesSchema: z.ZodObject<{
|
|
63
|
+
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
64
|
+
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
65
|
+
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
66
|
+
}, z.core.$loose>;
|
|
67
|
+
export type AgentPersonalityVoiceCues = z.infer<typeof AgentPersonalityVoiceCuesSchema>;
|
|
60
68
|
export declare const AgentPersonalitySchema: z.ZodObject<{
|
|
61
69
|
id: z.ZodString;
|
|
62
70
|
name: z.ZodString;
|
|
@@ -76,6 +84,11 @@ export declare const AgentPersonalitySchema: z.ZodObject<{
|
|
|
76
84
|
model: z.ZodString;
|
|
77
85
|
name: z.ZodString;
|
|
78
86
|
}, z.core.$loose>>;
|
|
87
|
+
voiceCues: z.ZodOptional<z.ZodObject<{
|
|
88
|
+
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
89
|
+
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
90
|
+
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
91
|
+
}, z.core.$loose>>;
|
|
79
92
|
}, z.core.$loose>;
|
|
80
93
|
export type AgentPersonality = z.infer<typeof AgentPersonalitySchema>;
|
|
81
94
|
export type AgentPersonalityVoice = z.infer<typeof AgentPersonalityVoiceSchema>;
|
|
@@ -200,6 +213,11 @@ export declare const MutableDaemonConfigSchema: z.ZodObject<{
|
|
|
200
213
|
model: z.ZodString;
|
|
201
214
|
name: z.ZodString;
|
|
202
215
|
}, z.core.$loose>>;
|
|
216
|
+
voiceCues: z.ZodOptional<z.ZodObject<{
|
|
217
|
+
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
218
|
+
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
219
|
+
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
220
|
+
}, z.core.$loose>>;
|
|
203
221
|
}, z.core.$loose>>>;
|
|
204
222
|
}, z.core.$loose>>;
|
|
205
223
|
agentTeams: z.ZodDefault<z.ZodObject<{
|
|
@@ -319,6 +337,11 @@ export declare const MutableDaemonConfigPatchSchema: z.ZodObject<{
|
|
|
319
337
|
model: z.ZodString;
|
|
320
338
|
name: z.ZodString;
|
|
321
339
|
}, z.core.$loose>>;
|
|
340
|
+
voiceCues: z.ZodOptional<z.ZodObject<{
|
|
341
|
+
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
342
|
+
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
343
|
+
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
344
|
+
}, z.core.$loose>>;
|
|
322
345
|
}, z.core.$loose>>>;
|
|
323
346
|
}, z.core.$loose>>>;
|
|
324
347
|
agentTeams: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
@@ -350,6 +373,17 @@ export declare const AgentStatusSchema: z.ZodEnum<{
|
|
|
350
373
|
running: "running";
|
|
351
374
|
closed: "closed";
|
|
352
375
|
}>;
|
|
376
|
+
export declare const AgentRateLimitInfoSchema: z.ZodObject<{
|
|
377
|
+
status: z.ZodEnum<{
|
|
378
|
+
warning: "warning";
|
|
379
|
+
allowed: "allowed";
|
|
380
|
+
rejected: "rejected";
|
|
381
|
+
}>;
|
|
382
|
+
utilizationPercent: z.ZodOptional<z.ZodNumber>;
|
|
383
|
+
limitType: z.ZodOptional<z.ZodString>;
|
|
384
|
+
resetsAt: z.ZodOptional<z.ZodString>;
|
|
385
|
+
isUsingOverage: z.ZodOptional<z.ZodBoolean>;
|
|
386
|
+
}, z.core.$strip>;
|
|
353
387
|
export declare const AgentFeatureToggleSchema: z.ZodObject<{
|
|
354
388
|
type: z.ZodLiteral<"toggle">;
|
|
355
389
|
id: z.ZodString;
|
|
@@ -471,6 +505,24 @@ export declare const AgentStreamEventPayloadSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
471
505
|
}>;
|
|
472
506
|
}, z.core.$strip>;
|
|
473
507
|
}, z.core.$strip>>;
|
|
508
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
509
|
+
type: z.ZodLiteral<"prompt_suggestion">;
|
|
510
|
+
provider: z.ZodString;
|
|
511
|
+
suggestion: z.ZodString;
|
|
512
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
513
|
+
type: z.ZodLiteral<"rate_limit_updated">;
|
|
514
|
+
provider: z.ZodString;
|
|
515
|
+
info: z.ZodObject<{
|
|
516
|
+
status: z.ZodEnum<{
|
|
517
|
+
warning: "warning";
|
|
518
|
+
allowed: "allowed";
|
|
519
|
+
rejected: "rejected";
|
|
520
|
+
}>;
|
|
521
|
+
utilizationPercent: z.ZodOptional<z.ZodNumber>;
|
|
522
|
+
limitType: z.ZodOptional<z.ZodString>;
|
|
523
|
+
resetsAt: z.ZodOptional<z.ZodString>;
|
|
524
|
+
isUsingOverage: z.ZodOptional<z.ZodBoolean>;
|
|
525
|
+
}, z.core.$strip>;
|
|
474
526
|
}, z.core.$strip>], "type">;
|
|
475
527
|
export declare const AgentSnapshotPayloadSchema: z.ZodObject<{
|
|
476
528
|
id: z.ZodString;
|
|
@@ -1334,6 +1386,11 @@ export declare const SetDaemonConfigRequestMessageSchema: z.ZodObject<{
|
|
|
1334
1386
|
model: z.ZodString;
|
|
1335
1387
|
name: z.ZodString;
|
|
1336
1388
|
}, z.core.$loose>>;
|
|
1389
|
+
voiceCues: z.ZodOptional<z.ZodObject<{
|
|
1390
|
+
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1391
|
+
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1392
|
+
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1393
|
+
}, z.core.$loose>>;
|
|
1337
1394
|
}, z.core.$loose>>>;
|
|
1338
1395
|
}, z.core.$loose>>>;
|
|
1339
1396
|
agentTeams: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
@@ -1370,6 +1427,19 @@ export declare const SpeechTtsPreviewRequestSchema: z.ZodObject<{
|
|
|
1370
1427
|
name: z.ZodString;
|
|
1371
1428
|
}, z.core.$loose>>;
|
|
1372
1429
|
}, z.core.$strip>;
|
|
1430
|
+
export declare const VisualizerVoiceCuesGenerateRequestSchema: z.ZodObject<{
|
|
1431
|
+
type: z.ZodLiteral<"visualizer.voiceCues.generate.request">;
|
|
1432
|
+
requestId: z.ZodString;
|
|
1433
|
+
name: z.ZodString;
|
|
1434
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
1435
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
1436
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1437
|
+
moment: z.ZodOptional<z.ZodEnum<{
|
|
1438
|
+
done: "done";
|
|
1439
|
+
join: "join";
|
|
1440
|
+
thinking: "thinking";
|
|
1441
|
+
}>>;
|
|
1442
|
+
}, z.core.$strip>;
|
|
1373
1443
|
export declare const AgentPersonalitiesGetStatsRequestSchema: z.ZodObject<{
|
|
1374
1444
|
type: z.ZodLiteral<"agentPersonalities.get_stats.request">;
|
|
1375
1445
|
requestId: z.ZodString;
|
|
@@ -2063,7 +2133,8 @@ export declare const SuggestedTasksChangedSchema: z.ZodObject<{
|
|
|
2063
2133
|
}, z.core.$strip>;
|
|
2064
2134
|
export declare const TasksSuggestedStartModeSchema: z.ZodEnum<{
|
|
2065
2135
|
worktree: "worktree";
|
|
2066
|
-
|
|
2136
|
+
new_chat: "new_chat";
|
|
2137
|
+
subagent: "subagent";
|
|
2067
2138
|
in_session: "in_session";
|
|
2068
2139
|
}>;
|
|
2069
2140
|
export declare const TasksSuggestedStartRequestMessageSchema: z.ZodObject<{
|
|
@@ -2072,7 +2143,8 @@ export declare const TasksSuggestedStartRequestMessageSchema: z.ZodObject<{
|
|
|
2072
2143
|
taskIds: z.ZodArray<z.ZodString>;
|
|
2073
2144
|
mode: z.ZodEnum<{
|
|
2074
2145
|
worktree: "worktree";
|
|
2075
|
-
|
|
2146
|
+
new_chat: "new_chat";
|
|
2147
|
+
subagent: "subagent";
|
|
2076
2148
|
in_session: "in_session";
|
|
2077
2149
|
}>;
|
|
2078
2150
|
requestId: z.ZodString;
|
|
@@ -3532,6 +3604,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
3532
3604
|
dataBase64: z.ZodString;
|
|
3533
3605
|
width: z.ZodNumber;
|
|
3534
3606
|
height: z.ZodNumber;
|
|
3607
|
+
scale: z.ZodOptional<z.ZodNumber>;
|
|
3535
3608
|
}, z.core.$strip>, z.ZodObject<{
|
|
3536
3609
|
command: z.ZodLiteral<"upload">;
|
|
3537
3610
|
browserId: z.ZodString;
|
|
@@ -3635,6 +3708,38 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
3635
3708
|
}, z.core.$strip>, z.ZodObject<{
|
|
3636
3709
|
command: z.ZodLiteral<"close_tab">;
|
|
3637
3710
|
browserId: z.ZodString;
|
|
3711
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3712
|
+
command: z.ZodLiteral<"focus_tab">;
|
|
3713
|
+
browserId: z.ZodString;
|
|
3714
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3715
|
+
command: z.ZodLiteral<"page_text">;
|
|
3716
|
+
browserId: z.ZodString;
|
|
3717
|
+
url: z.ZodString;
|
|
3718
|
+
title: z.ZodString;
|
|
3719
|
+
source: z.ZodEnum<{
|
|
3720
|
+
body: "body";
|
|
3721
|
+
article: "article";
|
|
3722
|
+
main: "main";
|
|
3723
|
+
}>;
|
|
3724
|
+
text: z.ZodString;
|
|
3725
|
+
truncated: z.ZodBoolean;
|
|
3726
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3727
|
+
command: z.ZodLiteral<"set_color_scheme">;
|
|
3728
|
+
browserId: z.ZodString;
|
|
3729
|
+
colorScheme: z.ZodEnum<{
|
|
3730
|
+
auto: "auto";
|
|
3731
|
+
light: "light";
|
|
3732
|
+
dark: "dark";
|
|
3733
|
+
}>;
|
|
3734
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3735
|
+
command: z.ZodLiteral<"screenshot_element">;
|
|
3736
|
+
browserId: z.ZodString;
|
|
3737
|
+
ref: z.ZodString;
|
|
3738
|
+
mimeType: z.ZodLiteral<"image/png">;
|
|
3739
|
+
dataBase64: z.ZodString;
|
|
3740
|
+
width: z.ZodNumber;
|
|
3741
|
+
height: z.ZodNumber;
|
|
3742
|
+
scale: z.ZodOptional<z.ZodNumber>;
|
|
3638
3743
|
}, z.core.$strip>], "command">;
|
|
3639
3744
|
dialogs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3640
3745
|
type: z.ZodEnum<{
|
|
@@ -4063,6 +4168,11 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
4063
4168
|
model: z.ZodString;
|
|
4064
4169
|
name: z.ZodString;
|
|
4065
4170
|
}, z.core.$loose>>;
|
|
4171
|
+
voiceCues: z.ZodOptional<z.ZodObject<{
|
|
4172
|
+
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4173
|
+
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4174
|
+
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4175
|
+
}, z.core.$loose>>;
|
|
4066
4176
|
}, z.core.$loose>>>;
|
|
4067
4177
|
}, z.core.$loose>>>;
|
|
4068
4178
|
agentTeams: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
@@ -4096,6 +4206,18 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
4096
4206
|
model: z.ZodOptional<z.ZodString>;
|
|
4097
4207
|
name: z.ZodString;
|
|
4098
4208
|
}, z.core.$loose>>;
|
|
4209
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4210
|
+
type: z.ZodLiteral<"visualizer.voiceCues.generate.request">;
|
|
4211
|
+
requestId: z.ZodString;
|
|
4212
|
+
name: z.ZodString;
|
|
4213
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
4214
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
4215
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4216
|
+
moment: z.ZodOptional<z.ZodEnum<{
|
|
4217
|
+
done: "done";
|
|
4218
|
+
join: "join";
|
|
4219
|
+
thinking: "thinking";
|
|
4220
|
+
}>>;
|
|
4099
4221
|
}, z.core.$strip>, z.ZodObject<{
|
|
4100
4222
|
type: z.ZodLiteral<"agentPersonalities.get_stats.request">;
|
|
4101
4223
|
requestId: z.ZodString;
|
|
@@ -4488,7 +4610,8 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
4488
4610
|
taskIds: z.ZodArray<z.ZodString>;
|
|
4489
4611
|
mode: z.ZodEnum<{
|
|
4490
4612
|
worktree: "worktree";
|
|
4491
|
-
|
|
4613
|
+
new_chat: "new_chat";
|
|
4614
|
+
subagent: "subagent";
|
|
4492
4615
|
in_session: "in_session";
|
|
4493
4616
|
}>;
|
|
4494
4617
|
requestId: z.ZodString;
|
|
@@ -5679,6 +5802,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5679
5802
|
gitHostingProviders: z.ZodOptional<z.ZodBoolean>;
|
|
5680
5803
|
agentPersonalities: z.ZodOptional<z.ZodBoolean>;
|
|
5681
5804
|
ttsPreview: z.ZodOptional<z.ZodBoolean>;
|
|
5805
|
+
visualizerVoiceCues: z.ZodOptional<z.ZodBoolean>;
|
|
5682
5806
|
setAgentPersonality: z.ZodOptional<z.ZodBoolean>;
|
|
5683
5807
|
checkoutGitCommit: z.ZodOptional<z.ZodBoolean>;
|
|
5684
5808
|
checkoutGitCommitAgent: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5691,6 +5815,8 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5691
5815
|
runsClear: z.ZodOptional<z.ZodBoolean>;
|
|
5692
5816
|
projectLinks: z.ZodOptional<z.ZodBoolean>;
|
|
5693
5817
|
fileOutsideWorkspace: z.ZodOptional<z.ZodBoolean>;
|
|
5818
|
+
promptSuggestions: z.ZodOptional<z.ZodBoolean>;
|
|
5819
|
+
rateLimitEvents: z.ZodOptional<z.ZodBoolean>;
|
|
5694
5820
|
}, z.core.$strip>>;
|
|
5695
5821
|
}, z.core.$loose>, z.ZodTransform<{
|
|
5696
5822
|
hostname: string | null;
|
|
@@ -5741,6 +5867,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5741
5867
|
gitHostingProviders?: boolean | undefined;
|
|
5742
5868
|
agentPersonalities?: boolean | undefined;
|
|
5743
5869
|
ttsPreview?: boolean | undefined;
|
|
5870
|
+
visualizerVoiceCues?: boolean | undefined;
|
|
5744
5871
|
setAgentPersonality?: boolean | undefined;
|
|
5745
5872
|
checkoutGitCommit?: boolean | undefined;
|
|
5746
5873
|
checkoutGitCommitAgent?: boolean | undefined;
|
|
@@ -5753,6 +5880,8 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5753
5880
|
runsClear?: boolean | undefined;
|
|
5754
5881
|
projectLinks?: boolean | undefined;
|
|
5755
5882
|
fileOutsideWorkspace?: boolean | undefined;
|
|
5883
|
+
promptSuggestions?: boolean | undefined;
|
|
5884
|
+
rateLimitEvents?: boolean | undefined;
|
|
5756
5885
|
} | undefined;
|
|
5757
5886
|
}, {
|
|
5758
5887
|
[x: string]: unknown;
|
|
@@ -5804,6 +5933,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5804
5933
|
gitHostingProviders?: boolean | undefined;
|
|
5805
5934
|
agentPersonalities?: boolean | undefined;
|
|
5806
5935
|
ttsPreview?: boolean | undefined;
|
|
5936
|
+
visualizerVoiceCues?: boolean | undefined;
|
|
5807
5937
|
setAgentPersonality?: boolean | undefined;
|
|
5808
5938
|
checkoutGitCommit?: boolean | undefined;
|
|
5809
5939
|
checkoutGitCommitAgent?: boolean | undefined;
|
|
@@ -5816,6 +5946,8 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5816
5946
|
runsClear?: boolean | undefined;
|
|
5817
5947
|
projectLinks?: boolean | undefined;
|
|
5818
5948
|
fileOutsideWorkspace?: boolean | undefined;
|
|
5949
|
+
promptSuggestions?: boolean | undefined;
|
|
5950
|
+
rateLimitEvents?: boolean | undefined;
|
|
5819
5951
|
} | undefined;
|
|
5820
5952
|
}>>;
|
|
5821
5953
|
export declare const StatusMessageSchema: z.ZodObject<{
|
|
@@ -6122,6 +6254,11 @@ export declare const DaemonConfigChangedStatusPayloadSchema: z.ZodObject<{
|
|
|
6122
6254
|
model: z.ZodString;
|
|
6123
6255
|
name: z.ZodString;
|
|
6124
6256
|
}, z.core.$loose>>;
|
|
6257
|
+
voiceCues: z.ZodOptional<z.ZodObject<{
|
|
6258
|
+
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6259
|
+
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6260
|
+
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6261
|
+
}, z.core.$loose>>;
|
|
6125
6262
|
}, z.core.$loose>>>;
|
|
6126
6263
|
}, z.core.$loose>>;
|
|
6127
6264
|
agentTeams: z.ZodDefault<z.ZodObject<{
|
|
@@ -6418,6 +6555,11 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
6418
6555
|
model: z.ZodString;
|
|
6419
6556
|
name: z.ZodString;
|
|
6420
6557
|
}, z.core.$loose>>;
|
|
6558
|
+
voiceCues: z.ZodOptional<z.ZodObject<{
|
|
6559
|
+
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6560
|
+
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6561
|
+
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6562
|
+
}, z.core.$loose>>;
|
|
6421
6563
|
}, z.core.$loose>>>;
|
|
6422
6564
|
}, z.core.$loose>>;
|
|
6423
6565
|
agentTeams: z.ZodDefault<z.ZodObject<{
|
|
@@ -7371,6 +7513,24 @@ export declare const AgentStreamMessageSchema: z.ZodObject<{
|
|
|
7371
7513
|
}>;
|
|
7372
7514
|
}, z.core.$strip>;
|
|
7373
7515
|
}, z.core.$strip>>;
|
|
7516
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7517
|
+
type: z.ZodLiteral<"prompt_suggestion">;
|
|
7518
|
+
provider: z.ZodString;
|
|
7519
|
+
suggestion: z.ZodString;
|
|
7520
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7521
|
+
type: z.ZodLiteral<"rate_limit_updated">;
|
|
7522
|
+
provider: z.ZodString;
|
|
7523
|
+
info: z.ZodObject<{
|
|
7524
|
+
status: z.ZodEnum<{
|
|
7525
|
+
warning: "warning";
|
|
7526
|
+
allowed: "allowed";
|
|
7527
|
+
rejected: "rejected";
|
|
7528
|
+
}>;
|
|
7529
|
+
utilizationPercent: z.ZodOptional<z.ZodNumber>;
|
|
7530
|
+
limitType: z.ZodOptional<z.ZodString>;
|
|
7531
|
+
resetsAt: z.ZodOptional<z.ZodString>;
|
|
7532
|
+
isUsingOverage: z.ZodOptional<z.ZodBoolean>;
|
|
7533
|
+
}, z.core.$strip>;
|
|
7374
7534
|
}, z.core.$strip>], "type">;
|
|
7375
7535
|
timestamp: z.ZodString;
|
|
7376
7536
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
@@ -10455,6 +10615,11 @@ export declare const GetDaemonConfigResponseMessageSchema: z.ZodObject<{
|
|
|
10455
10615
|
model: z.ZodString;
|
|
10456
10616
|
name: z.ZodString;
|
|
10457
10617
|
}, z.core.$loose>>;
|
|
10618
|
+
voiceCues: z.ZodOptional<z.ZodObject<{
|
|
10619
|
+
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10620
|
+
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10621
|
+
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10622
|
+
}, z.core.$loose>>;
|
|
10458
10623
|
}, z.core.$loose>>>;
|
|
10459
10624
|
}, z.core.$loose>>;
|
|
10460
10625
|
agentTeams: z.ZodDefault<z.ZodObject<{
|
|
@@ -10527,6 +10692,19 @@ export declare const SpeechTtsPreviewResponseSchema: z.ZodObject<{
|
|
|
10527
10692
|
}, z.core.$loose>;
|
|
10528
10693
|
}, z.core.$strip>;
|
|
10529
10694
|
export type SpeechTtsPreviewResult = z.infer<typeof SpeechTtsPreviewResponseSchema>["payload"];
|
|
10695
|
+
export declare const VisualizerVoiceCuesGenerateResponseSchema: z.ZodObject<{
|
|
10696
|
+
type: z.ZodLiteral<"visualizer.voiceCues.generate.response">;
|
|
10697
|
+
payload: z.ZodObject<{
|
|
10698
|
+
requestId: z.ZodString;
|
|
10699
|
+
cues: z.ZodOptional<z.ZodObject<{
|
|
10700
|
+
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10701
|
+
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10702
|
+
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10703
|
+
}, z.core.$loose>>;
|
|
10704
|
+
error: z.ZodOptional<z.ZodString>;
|
|
10705
|
+
}, z.core.$loose>;
|
|
10706
|
+
}, z.core.$strip>;
|
|
10707
|
+
export type VisualizerVoiceCuesResult = z.infer<typeof VisualizerVoiceCuesGenerateResponseSchema>["payload"];
|
|
10530
10708
|
export declare const AgentPersonalitiesGetStatsResponseSchema: z.ZodObject<{
|
|
10531
10709
|
type: z.ZodLiteral<"agentPersonalities.get_stats.response">;
|
|
10532
10710
|
payload: z.ZodObject<{
|
|
@@ -10676,6 +10854,11 @@ export declare const SetDaemonConfigResponseMessageSchema: z.ZodObject<{
|
|
|
10676
10854
|
model: z.ZodString;
|
|
10677
10855
|
name: z.ZodString;
|
|
10678
10856
|
}, z.core.$loose>>;
|
|
10857
|
+
voiceCues: z.ZodOptional<z.ZodObject<{
|
|
10858
|
+
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10859
|
+
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10860
|
+
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10861
|
+
}, z.core.$loose>>;
|
|
10679
10862
|
}, z.core.$loose>>>;
|
|
10680
10863
|
}, z.core.$loose>>;
|
|
10681
10864
|
agentTeams: z.ZodDefault<z.ZodObject<{
|
|
@@ -13638,6 +13821,33 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
13638
13821
|
args: z.ZodObject<{
|
|
13639
13822
|
browserId: z.ZodString;
|
|
13640
13823
|
}, z.core.$strict>;
|
|
13824
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13825
|
+
command: z.ZodLiteral<"focus_tab">;
|
|
13826
|
+
args: z.ZodObject<{
|
|
13827
|
+
browserId: z.ZodString;
|
|
13828
|
+
}, z.core.$strict>;
|
|
13829
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13830
|
+
command: z.ZodLiteral<"page_text">;
|
|
13831
|
+
args: z.ZodObject<{
|
|
13832
|
+
browserId: z.ZodString;
|
|
13833
|
+
maxChars: z.ZodDefault<z.ZodNumber>;
|
|
13834
|
+
}, z.core.$strict>;
|
|
13835
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13836
|
+
command: z.ZodLiteral<"set_color_scheme">;
|
|
13837
|
+
args: z.ZodObject<{
|
|
13838
|
+
browserId: z.ZodString;
|
|
13839
|
+
colorScheme: z.ZodEnum<{
|
|
13840
|
+
auto: "auto";
|
|
13841
|
+
light: "light";
|
|
13842
|
+
dark: "dark";
|
|
13843
|
+
}>;
|
|
13844
|
+
}, z.core.$strict>;
|
|
13845
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13846
|
+
command: z.ZodLiteral<"screenshot_element">;
|
|
13847
|
+
args: z.ZodObject<{
|
|
13848
|
+
browserId: z.ZodString;
|
|
13849
|
+
ref: z.ZodString;
|
|
13850
|
+
}, z.core.$strict>;
|
|
13641
13851
|
}, z.core.$strip>], "command">;
|
|
13642
13852
|
}, z.core.$strict>, z.ZodObject<{
|
|
13643
13853
|
type: z.ZodLiteral<"activity_log">;
|
|
@@ -14528,6 +14738,24 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
14528
14738
|
}>;
|
|
14529
14739
|
}, z.core.$strip>;
|
|
14530
14740
|
}, z.core.$strip>>;
|
|
14741
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
14742
|
+
type: z.ZodLiteral<"prompt_suggestion">;
|
|
14743
|
+
provider: z.ZodString;
|
|
14744
|
+
suggestion: z.ZodString;
|
|
14745
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
14746
|
+
type: z.ZodLiteral<"rate_limit_updated">;
|
|
14747
|
+
provider: z.ZodString;
|
|
14748
|
+
info: z.ZodObject<{
|
|
14749
|
+
status: z.ZodEnum<{
|
|
14750
|
+
warning: "warning";
|
|
14751
|
+
allowed: "allowed";
|
|
14752
|
+
rejected: "rejected";
|
|
14753
|
+
}>;
|
|
14754
|
+
utilizationPercent: z.ZodOptional<z.ZodNumber>;
|
|
14755
|
+
limitType: z.ZodOptional<z.ZodString>;
|
|
14756
|
+
resetsAt: z.ZodOptional<z.ZodString>;
|
|
14757
|
+
isUsingOverage: z.ZodOptional<z.ZodBoolean>;
|
|
14758
|
+
}, z.core.$strip>;
|
|
14531
14759
|
}, z.core.$strip>], "type">;
|
|
14532
14760
|
timestamp: z.ZodString;
|
|
14533
14761
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
@@ -16901,6 +17129,11 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
16901
17129
|
model: z.ZodString;
|
|
16902
17130
|
name: z.ZodString;
|
|
16903
17131
|
}, z.core.$loose>>;
|
|
17132
|
+
voiceCues: z.ZodOptional<z.ZodObject<{
|
|
17133
|
+
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17134
|
+
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17135
|
+
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17136
|
+
}, z.core.$loose>>;
|
|
16904
17137
|
}, z.core.$loose>>>;
|
|
16905
17138
|
}, z.core.$loose>>;
|
|
16906
17139
|
agentTeams: z.ZodDefault<z.ZodObject<{
|
|
@@ -17025,6 +17258,11 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
17025
17258
|
model: z.ZodString;
|
|
17026
17259
|
name: z.ZodString;
|
|
17027
17260
|
}, z.core.$loose>>;
|
|
17261
|
+
voiceCues: z.ZodOptional<z.ZodObject<{
|
|
17262
|
+
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17263
|
+
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17264
|
+
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17265
|
+
}, z.core.$loose>>;
|
|
17028
17266
|
}, z.core.$loose>>>;
|
|
17029
17267
|
}, z.core.$loose>>;
|
|
17030
17268
|
agentTeams: z.ZodDefault<z.ZodObject<{
|
|
@@ -17092,6 +17330,17 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
17092
17330
|
format: z.ZodOptional<z.ZodString>;
|
|
17093
17331
|
error: z.ZodOptional<z.ZodString>;
|
|
17094
17332
|
}, z.core.$loose>;
|
|
17333
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
17334
|
+
type: z.ZodLiteral<"visualizer.voiceCues.generate.response">;
|
|
17335
|
+
payload: z.ZodObject<{
|
|
17336
|
+
requestId: z.ZodString;
|
|
17337
|
+
cues: z.ZodOptional<z.ZodObject<{
|
|
17338
|
+
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17339
|
+
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17340
|
+
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17341
|
+
}, z.core.$loose>>;
|
|
17342
|
+
error: z.ZodOptional<z.ZodString>;
|
|
17343
|
+
}, z.core.$loose>;
|
|
17095
17344
|
}, z.core.$strip>, z.ZodObject<{
|
|
17096
17345
|
type: z.ZodLiteral<"agentPersonalities.get_stats.response">;
|
|
17097
17346
|
payload: z.ZodObject<{
|
|
@@ -21326,6 +21575,7 @@ export type ProviderUsageBalance = z.infer<typeof ProviderUsageBalanceSchema>;
|
|
|
21326
21575
|
export type ProviderUsageDetail = z.infer<typeof ProviderUsageDetailSchema>;
|
|
21327
21576
|
export type AgentContextUsageCategory = z.infer<typeof AgentContextUsageCategorySchema>;
|
|
21328
21577
|
export type AgentContextUsage = z.infer<typeof AgentContextUsageSchema>;
|
|
21578
|
+
export type AgentRateLimitInfo = z.infer<typeof AgentRateLimitInfoSchema>;
|
|
21329
21579
|
export type AgentContextGetUsageResponseMessage = z.infer<typeof AgentContextGetUsageResponseMessageSchema>;
|
|
21330
21580
|
export type ProviderUsageListResponseMessage = z.infer<typeof ProviderUsageListResponseMessageSchema>;
|
|
21331
21581
|
export type ActivityCounters = z.infer<typeof ActivityCountersSchema>;
|
|
@@ -21613,7 +21863,7 @@ export declare const WSHelloMessageSchema: z.ZodObject<{
|
|
|
21613
21863
|
custom_mode_icons: z.ZodOptional<z.ZodBoolean>;
|
|
21614
21864
|
terminal_reflowable_snapshot: z.ZodOptional<z.ZodBoolean>;
|
|
21615
21865
|
browser_host: z.ZodOptional<z.ZodObject<{
|
|
21616
|
-
supportedCommands: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<("type" | "select" | "fill" | "logs" | "list_tabs" | "new_tab" | "snapshot" | "click" | "wait" | "keypress" | "navigate" | "back" | "forward" | "reload" | "screenshot" | "upload" | "hover" | "drag" | "evaluate" | "inspect" | "network" | "scroll" | "resize" | "close_tab")[], string[]>>;
|
|
21866
|
+
supportedCommands: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<("type" | "select" | "fill" | "logs" | "list_tabs" | "new_tab" | "snapshot" | "click" | "wait" | "keypress" | "navigate" | "back" | "forward" | "reload" | "screenshot" | "upload" | "hover" | "drag" | "evaluate" | "inspect" | "network" | "scroll" | "resize" | "close_tab" | "focus_tab" | "page_text" | "set_color_scheme" | "screenshot_element")[], string[]>>;
|
|
21617
21867
|
hostKind: z.ZodDefault<z.ZodString>;
|
|
21618
21868
|
}, z.core.$loose>>;
|
|
21619
21869
|
}, z.core.$loose>>;
|
|
@@ -21712,6 +21962,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
21712
21962
|
dataBase64: z.ZodString;
|
|
21713
21963
|
width: z.ZodNumber;
|
|
21714
21964
|
height: z.ZodNumber;
|
|
21965
|
+
scale: z.ZodOptional<z.ZodNumber>;
|
|
21715
21966
|
}, z.core.$strip>, z.ZodObject<{
|
|
21716
21967
|
command: z.ZodLiteral<"upload">;
|
|
21717
21968
|
browserId: z.ZodString;
|
|
@@ -21815,6 +22066,38 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
21815
22066
|
}, z.core.$strip>, z.ZodObject<{
|
|
21816
22067
|
command: z.ZodLiteral<"close_tab">;
|
|
21817
22068
|
browserId: z.ZodString;
|
|
22069
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22070
|
+
command: z.ZodLiteral<"focus_tab">;
|
|
22071
|
+
browserId: z.ZodString;
|
|
22072
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22073
|
+
command: z.ZodLiteral<"page_text">;
|
|
22074
|
+
browserId: z.ZodString;
|
|
22075
|
+
url: z.ZodString;
|
|
22076
|
+
title: z.ZodString;
|
|
22077
|
+
source: z.ZodEnum<{
|
|
22078
|
+
body: "body";
|
|
22079
|
+
article: "article";
|
|
22080
|
+
main: "main";
|
|
22081
|
+
}>;
|
|
22082
|
+
text: z.ZodString;
|
|
22083
|
+
truncated: z.ZodBoolean;
|
|
22084
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22085
|
+
command: z.ZodLiteral<"set_color_scheme">;
|
|
22086
|
+
browserId: z.ZodString;
|
|
22087
|
+
colorScheme: z.ZodEnum<{
|
|
22088
|
+
auto: "auto";
|
|
22089
|
+
light: "light";
|
|
22090
|
+
dark: "dark";
|
|
22091
|
+
}>;
|
|
22092
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22093
|
+
command: z.ZodLiteral<"screenshot_element">;
|
|
22094
|
+
browserId: z.ZodString;
|
|
22095
|
+
ref: z.ZodString;
|
|
22096
|
+
mimeType: z.ZodLiteral<"image/png">;
|
|
22097
|
+
dataBase64: z.ZodString;
|
|
22098
|
+
width: z.ZodNumber;
|
|
22099
|
+
height: z.ZodNumber;
|
|
22100
|
+
scale: z.ZodOptional<z.ZodNumber>;
|
|
21818
22101
|
}, z.core.$strip>], "command">;
|
|
21819
22102
|
dialogs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
21820
22103
|
type: z.ZodEnum<{
|
|
@@ -22243,6 +22526,11 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
22243
22526
|
model: z.ZodString;
|
|
22244
22527
|
name: z.ZodString;
|
|
22245
22528
|
}, z.core.$loose>>;
|
|
22529
|
+
voiceCues: z.ZodOptional<z.ZodObject<{
|
|
22530
|
+
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22531
|
+
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22532
|
+
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22533
|
+
}, z.core.$loose>>;
|
|
22246
22534
|
}, z.core.$loose>>>;
|
|
22247
22535
|
}, z.core.$loose>>>;
|
|
22248
22536
|
agentTeams: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
@@ -22276,6 +22564,18 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
22276
22564
|
model: z.ZodOptional<z.ZodString>;
|
|
22277
22565
|
name: z.ZodString;
|
|
22278
22566
|
}, z.core.$loose>>;
|
|
22567
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22568
|
+
type: z.ZodLiteral<"visualizer.voiceCues.generate.request">;
|
|
22569
|
+
requestId: z.ZodString;
|
|
22570
|
+
name: z.ZodString;
|
|
22571
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
22572
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
22573
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22574
|
+
moment: z.ZodOptional<z.ZodEnum<{
|
|
22575
|
+
done: "done";
|
|
22576
|
+
join: "join";
|
|
22577
|
+
thinking: "thinking";
|
|
22578
|
+
}>>;
|
|
22279
22579
|
}, z.core.$strip>, z.ZodObject<{
|
|
22280
22580
|
type: z.ZodLiteral<"agentPersonalities.get_stats.request">;
|
|
22281
22581
|
requestId: z.ZodString;
|
|
@@ -22668,7 +22968,8 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
22668
22968
|
taskIds: z.ZodArray<z.ZodString>;
|
|
22669
22969
|
mode: z.ZodEnum<{
|
|
22670
22970
|
worktree: "worktree";
|
|
22671
|
-
|
|
22971
|
+
new_chat: "new_chat";
|
|
22972
|
+
subagent: "subagent";
|
|
22672
22973
|
in_session: "in_session";
|
|
22673
22974
|
}>;
|
|
22674
22975
|
requestId: z.ZodString;
|
|
@@ -23857,6 +24158,33 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
23857
24158
|
args: z.ZodObject<{
|
|
23858
24159
|
browserId: z.ZodString;
|
|
23859
24160
|
}, z.core.$strict>;
|
|
24161
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24162
|
+
command: z.ZodLiteral<"focus_tab">;
|
|
24163
|
+
args: z.ZodObject<{
|
|
24164
|
+
browserId: z.ZodString;
|
|
24165
|
+
}, z.core.$strict>;
|
|
24166
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24167
|
+
command: z.ZodLiteral<"page_text">;
|
|
24168
|
+
args: z.ZodObject<{
|
|
24169
|
+
browserId: z.ZodString;
|
|
24170
|
+
maxChars: z.ZodDefault<z.ZodNumber>;
|
|
24171
|
+
}, z.core.$strict>;
|
|
24172
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24173
|
+
command: z.ZodLiteral<"set_color_scheme">;
|
|
24174
|
+
args: z.ZodObject<{
|
|
24175
|
+
browserId: z.ZodString;
|
|
24176
|
+
colorScheme: z.ZodEnum<{
|
|
24177
|
+
auto: "auto";
|
|
24178
|
+
light: "light";
|
|
24179
|
+
dark: "dark";
|
|
24180
|
+
}>;
|
|
24181
|
+
}, z.core.$strict>;
|
|
24182
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24183
|
+
command: z.ZodLiteral<"screenshot_element">;
|
|
24184
|
+
args: z.ZodObject<{
|
|
24185
|
+
browserId: z.ZodString;
|
|
24186
|
+
ref: z.ZodString;
|
|
24187
|
+
}, z.core.$strict>;
|
|
23860
24188
|
}, z.core.$strip>], "command">;
|
|
23861
24189
|
}, z.core.$strict>, z.ZodObject<{
|
|
23862
24190
|
type: z.ZodLiteral<"activity_log">;
|
|
@@ -24747,6 +25075,24 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
24747
25075
|
}>;
|
|
24748
25076
|
}, z.core.$strip>;
|
|
24749
25077
|
}, z.core.$strip>>;
|
|
25078
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
25079
|
+
type: z.ZodLiteral<"prompt_suggestion">;
|
|
25080
|
+
provider: z.ZodString;
|
|
25081
|
+
suggestion: z.ZodString;
|
|
25082
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
25083
|
+
type: z.ZodLiteral<"rate_limit_updated">;
|
|
25084
|
+
provider: z.ZodString;
|
|
25085
|
+
info: z.ZodObject<{
|
|
25086
|
+
status: z.ZodEnum<{
|
|
25087
|
+
warning: "warning";
|
|
25088
|
+
allowed: "allowed";
|
|
25089
|
+
rejected: "rejected";
|
|
25090
|
+
}>;
|
|
25091
|
+
utilizationPercent: z.ZodOptional<z.ZodNumber>;
|
|
25092
|
+
limitType: z.ZodOptional<z.ZodString>;
|
|
25093
|
+
resetsAt: z.ZodOptional<z.ZodString>;
|
|
25094
|
+
isUsingOverage: z.ZodOptional<z.ZodBoolean>;
|
|
25095
|
+
}, z.core.$strip>;
|
|
24750
25096
|
}, z.core.$strip>], "type">;
|
|
24751
25097
|
timestamp: z.ZodString;
|
|
24752
25098
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
@@ -27120,6 +27466,11 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
27120
27466
|
model: z.ZodString;
|
|
27121
27467
|
name: z.ZodString;
|
|
27122
27468
|
}, z.core.$loose>>;
|
|
27469
|
+
voiceCues: z.ZodOptional<z.ZodObject<{
|
|
27470
|
+
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27471
|
+
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27472
|
+
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27473
|
+
}, z.core.$loose>>;
|
|
27123
27474
|
}, z.core.$loose>>>;
|
|
27124
27475
|
}, z.core.$loose>>;
|
|
27125
27476
|
agentTeams: z.ZodDefault<z.ZodObject<{
|
|
@@ -27244,6 +27595,11 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
27244
27595
|
model: z.ZodString;
|
|
27245
27596
|
name: z.ZodString;
|
|
27246
27597
|
}, z.core.$loose>>;
|
|
27598
|
+
voiceCues: z.ZodOptional<z.ZodObject<{
|
|
27599
|
+
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27600
|
+
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27601
|
+
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27602
|
+
}, z.core.$loose>>;
|
|
27247
27603
|
}, z.core.$loose>>>;
|
|
27248
27604
|
}, z.core.$loose>>;
|
|
27249
27605
|
agentTeams: z.ZodDefault<z.ZodObject<{
|
|
@@ -27311,6 +27667,17 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
27311
27667
|
format: z.ZodOptional<z.ZodString>;
|
|
27312
27668
|
error: z.ZodOptional<z.ZodString>;
|
|
27313
27669
|
}, z.core.$loose>;
|
|
27670
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
27671
|
+
type: z.ZodLiteral<"visualizer.voiceCues.generate.response">;
|
|
27672
|
+
payload: z.ZodObject<{
|
|
27673
|
+
requestId: z.ZodString;
|
|
27674
|
+
cues: z.ZodOptional<z.ZodObject<{
|
|
27675
|
+
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27676
|
+
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27677
|
+
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27678
|
+
}, z.core.$loose>>;
|
|
27679
|
+
error: z.ZodOptional<z.ZodString>;
|
|
27680
|
+
}, z.core.$loose>;
|
|
27314
27681
|
}, z.core.$strip>, z.ZodObject<{
|
|
27315
27682
|
type: z.ZodLiteral<"agentPersonalities.get_stats.response">;
|
|
27316
27683
|
payload: z.ZodObject<{
|
|
@@ -31466,7 +31833,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
31466
31833
|
custom_mode_icons: z.ZodOptional<z.ZodBoolean>;
|
|
31467
31834
|
terminal_reflowable_snapshot: z.ZodOptional<z.ZodBoolean>;
|
|
31468
31835
|
browser_host: z.ZodOptional<z.ZodObject<{
|
|
31469
|
-
supportedCommands: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<("type" | "select" | "fill" | "logs" | "list_tabs" | "new_tab" | "snapshot" | "click" | "wait" | "keypress" | "navigate" | "back" | "forward" | "reload" | "screenshot" | "upload" | "hover" | "drag" | "evaluate" | "inspect" | "network" | "scroll" | "resize" | "close_tab")[], string[]>>;
|
|
31836
|
+
supportedCommands: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<("type" | "select" | "fill" | "logs" | "list_tabs" | "new_tab" | "snapshot" | "click" | "wait" | "keypress" | "navigate" | "back" | "forward" | "reload" | "screenshot" | "upload" | "hover" | "drag" | "evaluate" | "inspect" | "network" | "scroll" | "resize" | "close_tab" | "focus_tab" | "page_text" | "set_color_scheme" | "screenshot_element")[], string[]>>;
|
|
31470
31837
|
hostKind: z.ZodDefault<z.ZodString>;
|
|
31471
31838
|
}, z.core.$loose>>;
|
|
31472
31839
|
}, z.core.$loose>>;
|
|
@@ -31563,6 +31930,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
31563
31930
|
dataBase64: z.ZodString;
|
|
31564
31931
|
width: z.ZodNumber;
|
|
31565
31932
|
height: z.ZodNumber;
|
|
31933
|
+
scale: z.ZodOptional<z.ZodNumber>;
|
|
31566
31934
|
}, z.core.$strip>, z.ZodObject<{
|
|
31567
31935
|
command: z.ZodLiteral<"upload">;
|
|
31568
31936
|
browserId: z.ZodString;
|
|
@@ -31666,6 +32034,38 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
31666
32034
|
}, z.core.$strip>, z.ZodObject<{
|
|
31667
32035
|
command: z.ZodLiteral<"close_tab">;
|
|
31668
32036
|
browserId: z.ZodString;
|
|
32037
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
32038
|
+
command: z.ZodLiteral<"focus_tab">;
|
|
32039
|
+
browserId: z.ZodString;
|
|
32040
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
32041
|
+
command: z.ZodLiteral<"page_text">;
|
|
32042
|
+
browserId: z.ZodString;
|
|
32043
|
+
url: z.ZodString;
|
|
32044
|
+
title: z.ZodString;
|
|
32045
|
+
source: z.ZodEnum<{
|
|
32046
|
+
body: "body";
|
|
32047
|
+
article: "article";
|
|
32048
|
+
main: "main";
|
|
32049
|
+
}>;
|
|
32050
|
+
text: z.ZodString;
|
|
32051
|
+
truncated: z.ZodBoolean;
|
|
32052
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
32053
|
+
command: z.ZodLiteral<"set_color_scheme">;
|
|
32054
|
+
browserId: z.ZodString;
|
|
32055
|
+
colorScheme: z.ZodEnum<{
|
|
32056
|
+
auto: "auto";
|
|
32057
|
+
light: "light";
|
|
32058
|
+
dark: "dark";
|
|
32059
|
+
}>;
|
|
32060
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
32061
|
+
command: z.ZodLiteral<"screenshot_element">;
|
|
32062
|
+
browserId: z.ZodString;
|
|
32063
|
+
ref: z.ZodString;
|
|
32064
|
+
mimeType: z.ZodLiteral<"image/png">;
|
|
32065
|
+
dataBase64: z.ZodString;
|
|
32066
|
+
width: z.ZodNumber;
|
|
32067
|
+
height: z.ZodNumber;
|
|
32068
|
+
scale: z.ZodOptional<z.ZodNumber>;
|
|
31669
32069
|
}, z.core.$strip>], "command">;
|
|
31670
32070
|
dialogs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
31671
32071
|
type: z.ZodEnum<{
|
|
@@ -32094,6 +32494,11 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
32094
32494
|
model: z.ZodString;
|
|
32095
32495
|
name: z.ZodString;
|
|
32096
32496
|
}, z.core.$loose>>;
|
|
32497
|
+
voiceCues: z.ZodOptional<z.ZodObject<{
|
|
32498
|
+
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
32499
|
+
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
32500
|
+
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
32501
|
+
}, z.core.$loose>>;
|
|
32097
32502
|
}, z.core.$loose>>>;
|
|
32098
32503
|
}, z.core.$loose>>>;
|
|
32099
32504
|
agentTeams: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
@@ -32127,6 +32532,18 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
32127
32532
|
model: z.ZodOptional<z.ZodString>;
|
|
32128
32533
|
name: z.ZodString;
|
|
32129
32534
|
}, z.core.$loose>>;
|
|
32535
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
32536
|
+
type: z.ZodLiteral<"visualizer.voiceCues.generate.request">;
|
|
32537
|
+
requestId: z.ZodString;
|
|
32538
|
+
name: z.ZodString;
|
|
32539
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
32540
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
32541
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
32542
|
+
moment: z.ZodOptional<z.ZodEnum<{
|
|
32543
|
+
done: "done";
|
|
32544
|
+
join: "join";
|
|
32545
|
+
thinking: "thinking";
|
|
32546
|
+
}>>;
|
|
32130
32547
|
}, z.core.$strip>, z.ZodObject<{
|
|
32131
32548
|
type: z.ZodLiteral<"agentPersonalities.get_stats.request">;
|
|
32132
32549
|
requestId: z.ZodString;
|
|
@@ -32519,7 +32936,8 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
32519
32936
|
taskIds: z.ZodArray<z.ZodString>;
|
|
32520
32937
|
mode: z.ZodEnum<{
|
|
32521
32938
|
worktree: "worktree";
|
|
32522
|
-
|
|
32939
|
+
new_chat: "new_chat";
|
|
32940
|
+
subagent: "subagent";
|
|
32523
32941
|
in_session: "in_session";
|
|
32524
32942
|
}>;
|
|
32525
32943
|
requestId: z.ZodString;
|
|
@@ -33710,6 +34128,33 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
33710
34128
|
args: z.ZodObject<{
|
|
33711
34129
|
browserId: z.ZodString;
|
|
33712
34130
|
}, z.core.$strict>;
|
|
34131
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
34132
|
+
command: z.ZodLiteral<"focus_tab">;
|
|
34133
|
+
args: z.ZodObject<{
|
|
34134
|
+
browserId: z.ZodString;
|
|
34135
|
+
}, z.core.$strict>;
|
|
34136
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
34137
|
+
command: z.ZodLiteral<"page_text">;
|
|
34138
|
+
args: z.ZodObject<{
|
|
34139
|
+
browserId: z.ZodString;
|
|
34140
|
+
maxChars: z.ZodDefault<z.ZodNumber>;
|
|
34141
|
+
}, z.core.$strict>;
|
|
34142
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
34143
|
+
command: z.ZodLiteral<"set_color_scheme">;
|
|
34144
|
+
args: z.ZodObject<{
|
|
34145
|
+
browserId: z.ZodString;
|
|
34146
|
+
colorScheme: z.ZodEnum<{
|
|
34147
|
+
auto: "auto";
|
|
34148
|
+
light: "light";
|
|
34149
|
+
dark: "dark";
|
|
34150
|
+
}>;
|
|
34151
|
+
}, z.core.$strict>;
|
|
34152
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
34153
|
+
command: z.ZodLiteral<"screenshot_element">;
|
|
34154
|
+
args: z.ZodObject<{
|
|
34155
|
+
browserId: z.ZodString;
|
|
34156
|
+
ref: z.ZodString;
|
|
34157
|
+
}, z.core.$strict>;
|
|
33713
34158
|
}, z.core.$strip>], "command">;
|
|
33714
34159
|
}, z.core.$strict>, z.ZodObject<{
|
|
33715
34160
|
type: z.ZodLiteral<"activity_log">;
|
|
@@ -34600,6 +35045,24 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
34600
35045
|
}>;
|
|
34601
35046
|
}, z.core.$strip>;
|
|
34602
35047
|
}, z.core.$strip>>;
|
|
35048
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
35049
|
+
type: z.ZodLiteral<"prompt_suggestion">;
|
|
35050
|
+
provider: z.ZodString;
|
|
35051
|
+
suggestion: z.ZodString;
|
|
35052
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
35053
|
+
type: z.ZodLiteral<"rate_limit_updated">;
|
|
35054
|
+
provider: z.ZodString;
|
|
35055
|
+
info: z.ZodObject<{
|
|
35056
|
+
status: z.ZodEnum<{
|
|
35057
|
+
warning: "warning";
|
|
35058
|
+
allowed: "allowed";
|
|
35059
|
+
rejected: "rejected";
|
|
35060
|
+
}>;
|
|
35061
|
+
utilizationPercent: z.ZodOptional<z.ZodNumber>;
|
|
35062
|
+
limitType: z.ZodOptional<z.ZodString>;
|
|
35063
|
+
resetsAt: z.ZodOptional<z.ZodString>;
|
|
35064
|
+
isUsingOverage: z.ZodOptional<z.ZodBoolean>;
|
|
35065
|
+
}, z.core.$strip>;
|
|
34603
35066
|
}, z.core.$strip>], "type">;
|
|
34604
35067
|
timestamp: z.ZodString;
|
|
34605
35068
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
@@ -36973,6 +37436,11 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
36973
37436
|
model: z.ZodString;
|
|
36974
37437
|
name: z.ZodString;
|
|
36975
37438
|
}, z.core.$loose>>;
|
|
37439
|
+
voiceCues: z.ZodOptional<z.ZodObject<{
|
|
37440
|
+
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
37441
|
+
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
37442
|
+
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
37443
|
+
}, z.core.$loose>>;
|
|
36976
37444
|
}, z.core.$loose>>>;
|
|
36977
37445
|
}, z.core.$loose>>;
|
|
36978
37446
|
agentTeams: z.ZodDefault<z.ZodObject<{
|
|
@@ -37097,6 +37565,11 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
37097
37565
|
model: z.ZodString;
|
|
37098
37566
|
name: z.ZodString;
|
|
37099
37567
|
}, z.core.$loose>>;
|
|
37568
|
+
voiceCues: z.ZodOptional<z.ZodObject<{
|
|
37569
|
+
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
37570
|
+
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
37571
|
+
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
37572
|
+
}, z.core.$loose>>;
|
|
37100
37573
|
}, z.core.$loose>>>;
|
|
37101
37574
|
}, z.core.$loose>>;
|
|
37102
37575
|
agentTeams: z.ZodDefault<z.ZodObject<{
|
|
@@ -37164,6 +37637,17 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
37164
37637
|
format: z.ZodOptional<z.ZodString>;
|
|
37165
37638
|
error: z.ZodOptional<z.ZodString>;
|
|
37166
37639
|
}, z.core.$loose>;
|
|
37640
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
37641
|
+
type: z.ZodLiteral<"visualizer.voiceCues.generate.response">;
|
|
37642
|
+
payload: z.ZodObject<{
|
|
37643
|
+
requestId: z.ZodString;
|
|
37644
|
+
cues: z.ZodOptional<z.ZodObject<{
|
|
37645
|
+
join: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
37646
|
+
thinking: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
37647
|
+
done: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
37648
|
+
}, z.core.$loose>>;
|
|
37649
|
+
error: z.ZodOptional<z.ZodString>;
|
|
37650
|
+
}, z.core.$loose>;
|
|
37167
37651
|
}, z.core.$strip>, z.ZodObject<{
|
|
37168
37652
|
type: z.ZodLiteral<"agentPersonalities.get_stats.response">;
|
|
37169
37653
|
payload: z.ZodObject<{
|