@getpaseo/protocol 0.1.106-beta.1 → 0.1.107
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/client-capabilities.d.ts +1 -0
- package/dist/client-capabilities.js +3 -0
- package/dist/generated/validation/ws-outbound.aot.js +19235 -11346
- package/dist/messages.d.ts +476 -0
- package/dist/messages.js +104 -0
- package/dist/validation/ws-outbound-schema-metadata.d.ts +89 -0
- package/package.json +1 -1
package/dist/messages.d.ts
CHANGED
|
@@ -1257,6 +1257,27 @@ export declare const FetchAgentTimelineRequestMessageSchema: z.ZodObject<{
|
|
|
1257
1257
|
canonical: "canonical";
|
|
1258
1258
|
}>>;
|
|
1259
1259
|
}, z.core.$strip>;
|
|
1260
|
+
export declare const ProviderSubagentListRequestMessageSchema: z.ZodObject<{
|
|
1261
|
+
type: z.ZodLiteral<"agent.provider_subagents.list.request">;
|
|
1262
|
+
parentAgentId: z.ZodString;
|
|
1263
|
+
requestId: z.ZodString;
|
|
1264
|
+
}, z.core.$strip>;
|
|
1265
|
+
export declare const ProviderSubagentTimelineRequestMessageSchema: z.ZodObject<{
|
|
1266
|
+
type: z.ZodLiteral<"agent.provider_subagents.timeline.get.request">;
|
|
1267
|
+
parentAgentId: z.ZodString;
|
|
1268
|
+
subagentId: z.ZodString;
|
|
1269
|
+
requestId: z.ZodString;
|
|
1270
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
1271
|
+
tail: "tail";
|
|
1272
|
+
before: "before";
|
|
1273
|
+
after: "after";
|
|
1274
|
+
}>>;
|
|
1275
|
+
cursor: z.ZodOptional<z.ZodObject<{
|
|
1276
|
+
epoch: z.ZodString;
|
|
1277
|
+
seq: z.ZodNumber;
|
|
1278
|
+
}, z.core.$strip>>;
|
|
1279
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
1280
|
+
}, z.core.$strip>;
|
|
1260
1281
|
export declare const AgentForkContextRequestMessageSchema: z.ZodObject<{
|
|
1261
1282
|
type: z.ZodLiteral<"agent.fork_context.request">;
|
|
1262
1283
|
agentId: z.ZodString;
|
|
@@ -2085,6 +2106,10 @@ export declare const CreateTerminalRequestSchema: z.ZodObject<{
|
|
|
2085
2106
|
agentId: z.ZodOptional<z.ZodString>;
|
|
2086
2107
|
command: z.ZodOptional<z.ZodString>;
|
|
2087
2108
|
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2109
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
2110
|
+
rows: z.ZodNumber;
|
|
2111
|
+
cols: z.ZodNumber;
|
|
2112
|
+
}, z.core.$strip>>;
|
|
2088
2113
|
requestId: z.ZodString;
|
|
2089
2114
|
}, z.core.$strip>;
|
|
2090
2115
|
export declare const RenameTerminalRequestSchema: z.ZodObject<{
|
|
@@ -2950,6 +2975,25 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
2950
2975
|
projected: "projected";
|
|
2951
2976
|
canonical: "canonical";
|
|
2952
2977
|
}>>;
|
|
2978
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2979
|
+
type: z.ZodLiteral<"agent.provider_subagents.list.request">;
|
|
2980
|
+
parentAgentId: z.ZodString;
|
|
2981
|
+
requestId: z.ZodString;
|
|
2982
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2983
|
+
type: z.ZodLiteral<"agent.provider_subagents.timeline.get.request">;
|
|
2984
|
+
parentAgentId: z.ZodString;
|
|
2985
|
+
subagentId: z.ZodString;
|
|
2986
|
+
requestId: z.ZodString;
|
|
2987
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
2988
|
+
tail: "tail";
|
|
2989
|
+
before: "before";
|
|
2990
|
+
after: "after";
|
|
2991
|
+
}>>;
|
|
2992
|
+
cursor: z.ZodOptional<z.ZodObject<{
|
|
2993
|
+
epoch: z.ZodString;
|
|
2994
|
+
seq: z.ZodNumber;
|
|
2995
|
+
}, z.core.$strip>>;
|
|
2996
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
2953
2997
|
}, z.core.$strip>, z.ZodObject<{
|
|
2954
2998
|
type: z.ZodLiteral<"agent.fork_context.request">;
|
|
2955
2999
|
agentId: z.ZodString;
|
|
@@ -3494,6 +3538,10 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
3494
3538
|
agentId: z.ZodOptional<z.ZodString>;
|
|
3495
3539
|
command: z.ZodOptional<z.ZodString>;
|
|
3496
3540
|
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3541
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
3542
|
+
rows: z.ZodNumber;
|
|
3543
|
+
cols: z.ZodNumber;
|
|
3544
|
+
}, z.core.$strip>>;
|
|
3497
3545
|
requestId: z.ZodString;
|
|
3498
3546
|
}, z.core.$strip>, z.ZodObject<{
|
|
3499
3547
|
type: z.ZodLiteral<"terminal.rename.request">;
|
|
@@ -3904,6 +3952,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3904
3952
|
daemonDiagnostics: z.ZodOptional<z.ZodBoolean>;
|
|
3905
3953
|
daemonSelfUpdate: z.ZodOptional<z.ZodBoolean>;
|
|
3906
3954
|
agentForkContext: z.ZodOptional<z.ZodBoolean>;
|
|
3955
|
+
providerSubagents: z.ZodOptional<z.ZodBoolean>;
|
|
3907
3956
|
}, z.core.$strip>>;
|
|
3908
3957
|
}, z.core.$loose>, z.ZodTransform<{
|
|
3909
3958
|
hostname: string | null;
|
|
@@ -3940,6 +3989,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3940
3989
|
daemonDiagnostics?: boolean | undefined;
|
|
3941
3990
|
daemonSelfUpdate?: boolean | undefined;
|
|
3942
3991
|
agentForkContext?: boolean | undefined;
|
|
3992
|
+
providerSubagents?: boolean | undefined;
|
|
3943
3993
|
} | undefined;
|
|
3944
3994
|
}, {
|
|
3945
3995
|
[x: string]: unknown;
|
|
@@ -3977,6 +4027,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3977
4027
|
daemonDiagnostics?: boolean | undefined;
|
|
3978
4028
|
daemonSelfUpdate?: boolean | undefined;
|
|
3979
4029
|
agentForkContext?: boolean | undefined;
|
|
4030
|
+
providerSubagents?: boolean | undefined;
|
|
3980
4031
|
} | undefined;
|
|
3981
4032
|
}>>;
|
|
3982
4033
|
export declare const StatusMessageSchema: z.ZodObject<{
|
|
@@ -7474,6 +7525,116 @@ export declare const FetchAgentTimelineResponseMessageSchema: z.ZodObject<{
|
|
|
7474
7525
|
error: z.ZodNullable<z.ZodString>;
|
|
7475
7526
|
}, z.core.$strip>;
|
|
7476
7527
|
}, z.core.$strip>;
|
|
7528
|
+
export declare const ProviderSubagentDescriptorPayloadSchema: z.ZodObject<{
|
|
7529
|
+
id: z.ZodString;
|
|
7530
|
+
parentAgentId: z.ZodString;
|
|
7531
|
+
provider: z.ZodString;
|
|
7532
|
+
title: z.ZodNullable<z.ZodString>;
|
|
7533
|
+
description: z.ZodNullable<z.ZodString>;
|
|
7534
|
+
status: z.ZodEnum<{
|
|
7535
|
+
running: "running";
|
|
7536
|
+
completed: "completed";
|
|
7537
|
+
failed: "failed";
|
|
7538
|
+
canceled: "canceled";
|
|
7539
|
+
}>;
|
|
7540
|
+
createdAt: z.ZodString;
|
|
7541
|
+
updatedAt: z.ZodString;
|
|
7542
|
+
toolCallId: z.ZodNullable<z.ZodString>;
|
|
7543
|
+
cwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7544
|
+
}, z.core.$strip>;
|
|
7545
|
+
export type ProviderSubagentDescriptorPayload = z.infer<typeof ProviderSubagentDescriptorPayloadSchema>;
|
|
7546
|
+
export declare const ProviderSubagentListResponseMessageSchema: z.ZodObject<{
|
|
7547
|
+
type: z.ZodLiteral<"agent.provider_subagents.list.response">;
|
|
7548
|
+
payload: z.ZodObject<{
|
|
7549
|
+
requestId: z.ZodString;
|
|
7550
|
+
parentAgentId: z.ZodString;
|
|
7551
|
+
subagents: z.ZodArray<z.ZodObject<{
|
|
7552
|
+
id: z.ZodString;
|
|
7553
|
+
parentAgentId: z.ZodString;
|
|
7554
|
+
provider: z.ZodString;
|
|
7555
|
+
title: z.ZodNullable<z.ZodString>;
|
|
7556
|
+
description: z.ZodNullable<z.ZodString>;
|
|
7557
|
+
status: z.ZodEnum<{
|
|
7558
|
+
running: "running";
|
|
7559
|
+
completed: "completed";
|
|
7560
|
+
failed: "failed";
|
|
7561
|
+
canceled: "canceled";
|
|
7562
|
+
}>;
|
|
7563
|
+
createdAt: z.ZodString;
|
|
7564
|
+
updatedAt: z.ZodString;
|
|
7565
|
+
toolCallId: z.ZodNullable<z.ZodString>;
|
|
7566
|
+
cwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7567
|
+
}, z.core.$strip>>;
|
|
7568
|
+
error: z.ZodNullable<z.ZodString>;
|
|
7569
|
+
}, z.core.$strip>;
|
|
7570
|
+
}, z.core.$strip>;
|
|
7571
|
+
export declare const ProviderSubagentTimelineResponseMessageSchema: z.ZodObject<{
|
|
7572
|
+
type: z.ZodLiteral<"agent.provider_subagents.timeline.get.response">;
|
|
7573
|
+
payload: z.ZodObject<{
|
|
7574
|
+
requestId: z.ZodString;
|
|
7575
|
+
parentAgentId: z.ZodString;
|
|
7576
|
+
subagentId: z.ZodString;
|
|
7577
|
+
provider: z.ZodNullable<z.ZodString>;
|
|
7578
|
+
direction: z.ZodEnum<{
|
|
7579
|
+
tail: "tail";
|
|
7580
|
+
before: "before";
|
|
7581
|
+
after: "after";
|
|
7582
|
+
}>;
|
|
7583
|
+
epoch: z.ZodString;
|
|
7584
|
+
reset: z.ZodBoolean;
|
|
7585
|
+
staleCursor: z.ZodBoolean;
|
|
7586
|
+
gap: z.ZodBoolean;
|
|
7587
|
+
window: z.ZodObject<{
|
|
7588
|
+
minSeq: z.ZodNumber;
|
|
7589
|
+
maxSeq: z.ZodNumber;
|
|
7590
|
+
nextSeq: z.ZodNumber;
|
|
7591
|
+
}, z.core.$strip>;
|
|
7592
|
+
hasOlder: z.ZodBoolean;
|
|
7593
|
+
hasNewer: z.ZodBoolean;
|
|
7594
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
7595
|
+
item: z.ZodType<AgentTimelineItem, unknown, z.core.$ZodTypeInternals<AgentTimelineItem, unknown>>;
|
|
7596
|
+
timestamp: z.ZodString;
|
|
7597
|
+
seq: z.ZodNumber;
|
|
7598
|
+
}, z.core.$strip>>;
|
|
7599
|
+
error: z.ZodNullable<z.ZodString>;
|
|
7600
|
+
}, z.core.$strip>;
|
|
7601
|
+
}, z.core.$strip>;
|
|
7602
|
+
export declare const ProviderSubagentUpdateMessageSchema: z.ZodObject<{
|
|
7603
|
+
type: z.ZodLiteral<"agent.provider_subagents.update">;
|
|
7604
|
+
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7605
|
+
kind: z.ZodLiteral<"upsert">;
|
|
7606
|
+
subagent: z.ZodObject<{
|
|
7607
|
+
id: z.ZodString;
|
|
7608
|
+
parentAgentId: z.ZodString;
|
|
7609
|
+
provider: z.ZodString;
|
|
7610
|
+
title: z.ZodNullable<z.ZodString>;
|
|
7611
|
+
description: z.ZodNullable<z.ZodString>;
|
|
7612
|
+
status: z.ZodEnum<{
|
|
7613
|
+
running: "running";
|
|
7614
|
+
completed: "completed";
|
|
7615
|
+
failed: "failed";
|
|
7616
|
+
canceled: "canceled";
|
|
7617
|
+
}>;
|
|
7618
|
+
createdAt: z.ZodString;
|
|
7619
|
+
updatedAt: z.ZodString;
|
|
7620
|
+
toolCallId: z.ZodNullable<z.ZodString>;
|
|
7621
|
+
cwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7622
|
+
}, z.core.$strip>;
|
|
7623
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7624
|
+
kind: z.ZodLiteral<"timeline">;
|
|
7625
|
+
parentAgentId: z.ZodString;
|
|
7626
|
+
subagentId: z.ZodString;
|
|
7627
|
+
provider: z.ZodString;
|
|
7628
|
+
item: z.ZodType<AgentTimelineItem, unknown, z.core.$ZodTypeInternals<AgentTimelineItem, unknown>>;
|
|
7629
|
+
timestamp: z.ZodString;
|
|
7630
|
+
seq: z.ZodNumber;
|
|
7631
|
+
epoch: z.ZodString;
|
|
7632
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7633
|
+
kind: z.ZodLiteral<"remove">;
|
|
7634
|
+
parentAgentId: z.ZodString;
|
|
7635
|
+
subagentId: z.ZodString;
|
|
7636
|
+
}, z.core.$strip>], "kind">;
|
|
7637
|
+
}, z.core.$strip>;
|
|
7477
7638
|
export declare const AgentForkContextResponseMessageSchema: z.ZodObject<{
|
|
7478
7639
|
type: z.ZodLiteral<"agent.fork_context.response">;
|
|
7479
7640
|
payload: z.ZodObject<{
|
|
@@ -12987,6 +13148,95 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
12987
13148
|
}, z.core.$strip>>;
|
|
12988
13149
|
error: z.ZodNullable<z.ZodString>;
|
|
12989
13150
|
}, z.core.$strip>;
|
|
13151
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13152
|
+
type: z.ZodLiteral<"agent.provider_subagents.list.response">;
|
|
13153
|
+
payload: z.ZodObject<{
|
|
13154
|
+
requestId: z.ZodString;
|
|
13155
|
+
parentAgentId: z.ZodString;
|
|
13156
|
+
subagents: z.ZodArray<z.ZodObject<{
|
|
13157
|
+
id: z.ZodString;
|
|
13158
|
+
parentAgentId: z.ZodString;
|
|
13159
|
+
provider: z.ZodString;
|
|
13160
|
+
title: z.ZodNullable<z.ZodString>;
|
|
13161
|
+
description: z.ZodNullable<z.ZodString>;
|
|
13162
|
+
status: z.ZodEnum<{
|
|
13163
|
+
running: "running";
|
|
13164
|
+
completed: "completed";
|
|
13165
|
+
failed: "failed";
|
|
13166
|
+
canceled: "canceled";
|
|
13167
|
+
}>;
|
|
13168
|
+
createdAt: z.ZodString;
|
|
13169
|
+
updatedAt: z.ZodString;
|
|
13170
|
+
toolCallId: z.ZodNullable<z.ZodString>;
|
|
13171
|
+
cwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13172
|
+
}, z.core.$strip>>;
|
|
13173
|
+
error: z.ZodNullable<z.ZodString>;
|
|
13174
|
+
}, z.core.$strip>;
|
|
13175
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13176
|
+
type: z.ZodLiteral<"agent.provider_subagents.timeline.get.response">;
|
|
13177
|
+
payload: z.ZodObject<{
|
|
13178
|
+
requestId: z.ZodString;
|
|
13179
|
+
parentAgentId: z.ZodString;
|
|
13180
|
+
subagentId: z.ZodString;
|
|
13181
|
+
provider: z.ZodNullable<z.ZodString>;
|
|
13182
|
+
direction: z.ZodEnum<{
|
|
13183
|
+
tail: "tail";
|
|
13184
|
+
before: "before";
|
|
13185
|
+
after: "after";
|
|
13186
|
+
}>;
|
|
13187
|
+
epoch: z.ZodString;
|
|
13188
|
+
reset: z.ZodBoolean;
|
|
13189
|
+
staleCursor: z.ZodBoolean;
|
|
13190
|
+
gap: z.ZodBoolean;
|
|
13191
|
+
window: z.ZodObject<{
|
|
13192
|
+
minSeq: z.ZodNumber;
|
|
13193
|
+
maxSeq: z.ZodNumber;
|
|
13194
|
+
nextSeq: z.ZodNumber;
|
|
13195
|
+
}, z.core.$strip>;
|
|
13196
|
+
hasOlder: z.ZodBoolean;
|
|
13197
|
+
hasNewer: z.ZodBoolean;
|
|
13198
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
13199
|
+
item: z.ZodType<AgentTimelineItem, unknown, z.core.$ZodTypeInternals<AgentTimelineItem, unknown>>;
|
|
13200
|
+
timestamp: z.ZodString;
|
|
13201
|
+
seq: z.ZodNumber;
|
|
13202
|
+
}, z.core.$strip>>;
|
|
13203
|
+
error: z.ZodNullable<z.ZodString>;
|
|
13204
|
+
}, z.core.$strip>;
|
|
13205
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13206
|
+
type: z.ZodLiteral<"agent.provider_subagents.update">;
|
|
13207
|
+
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
13208
|
+
kind: z.ZodLiteral<"upsert">;
|
|
13209
|
+
subagent: z.ZodObject<{
|
|
13210
|
+
id: z.ZodString;
|
|
13211
|
+
parentAgentId: z.ZodString;
|
|
13212
|
+
provider: z.ZodString;
|
|
13213
|
+
title: z.ZodNullable<z.ZodString>;
|
|
13214
|
+
description: z.ZodNullable<z.ZodString>;
|
|
13215
|
+
status: z.ZodEnum<{
|
|
13216
|
+
running: "running";
|
|
13217
|
+
completed: "completed";
|
|
13218
|
+
failed: "failed";
|
|
13219
|
+
canceled: "canceled";
|
|
13220
|
+
}>;
|
|
13221
|
+
createdAt: z.ZodString;
|
|
13222
|
+
updatedAt: z.ZodString;
|
|
13223
|
+
toolCallId: z.ZodNullable<z.ZodString>;
|
|
13224
|
+
cwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13225
|
+
}, z.core.$strip>;
|
|
13226
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13227
|
+
kind: z.ZodLiteral<"timeline">;
|
|
13228
|
+
parentAgentId: z.ZodString;
|
|
13229
|
+
subagentId: z.ZodString;
|
|
13230
|
+
provider: z.ZodString;
|
|
13231
|
+
item: z.ZodType<AgentTimelineItem, unknown, z.core.$ZodTypeInternals<AgentTimelineItem, unknown>>;
|
|
13232
|
+
timestamp: z.ZodString;
|
|
13233
|
+
seq: z.ZodNumber;
|
|
13234
|
+
epoch: z.ZodString;
|
|
13235
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13236
|
+
kind: z.ZodLiteral<"remove">;
|
|
13237
|
+
parentAgentId: z.ZodString;
|
|
13238
|
+
subagentId: z.ZodString;
|
|
13239
|
+
}, z.core.$strip>], "kind">;
|
|
12990
13240
|
}, z.core.$strip>, z.ZodObject<{
|
|
12991
13241
|
type: z.ZodLiteral<"agent.fork_context.response">;
|
|
12992
13242
|
payload: z.ZodObject<{
|
|
@@ -16974,6 +17224,7 @@ export declare const WSHelloMessageSchema: z.ZodObject<{
|
|
|
16974
17224
|
reasoning_merge_enum: z.ZodOptional<z.ZodBoolean>;
|
|
16975
17225
|
custom_mode_icons: z.ZodOptional<z.ZodBoolean>;
|
|
16976
17226
|
terminal_reflowable_snapshot: z.ZodOptional<z.ZodBoolean>;
|
|
17227
|
+
provider_subagents: z.ZodOptional<z.ZodBoolean>;
|
|
16977
17228
|
browser_host: z.ZodOptional<z.ZodObject<{
|
|
16978
17229
|
supportedCommands: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<("select" | "type" | "fill" | "logs" | "list_tabs" | "new_tab" | "snapshot" | "click" | "wait" | "keypress" | "navigate" | "back" | "forward" | "reload" | "screenshot" | "upload" | "hover" | "drag" | "evaluate" | "scroll" | "resize" | "close_tab")[], string[]>>;
|
|
16979
17230
|
hostKind: z.ZodDefault<z.ZodString>;
|
|
@@ -17781,6 +18032,25 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
17781
18032
|
projected: "projected";
|
|
17782
18033
|
canonical: "canonical";
|
|
17783
18034
|
}>>;
|
|
18035
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
18036
|
+
type: z.ZodLiteral<"agent.provider_subagents.list.request">;
|
|
18037
|
+
parentAgentId: z.ZodString;
|
|
18038
|
+
requestId: z.ZodString;
|
|
18039
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
18040
|
+
type: z.ZodLiteral<"agent.provider_subagents.timeline.get.request">;
|
|
18041
|
+
parentAgentId: z.ZodString;
|
|
18042
|
+
subagentId: z.ZodString;
|
|
18043
|
+
requestId: z.ZodString;
|
|
18044
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
18045
|
+
tail: "tail";
|
|
18046
|
+
before: "before";
|
|
18047
|
+
after: "after";
|
|
18048
|
+
}>>;
|
|
18049
|
+
cursor: z.ZodOptional<z.ZodObject<{
|
|
18050
|
+
epoch: z.ZodString;
|
|
18051
|
+
seq: z.ZodNumber;
|
|
18052
|
+
}, z.core.$strip>>;
|
|
18053
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
17784
18054
|
}, z.core.$strip>, z.ZodObject<{
|
|
17785
18055
|
type: z.ZodLiteral<"agent.fork_context.request">;
|
|
17786
18056
|
agentId: z.ZodString;
|
|
@@ -18325,6 +18595,10 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
18325
18595
|
agentId: z.ZodOptional<z.ZodString>;
|
|
18326
18596
|
command: z.ZodOptional<z.ZodString>;
|
|
18327
18597
|
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18598
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
18599
|
+
rows: z.ZodNumber;
|
|
18600
|
+
cols: z.ZodNumber;
|
|
18601
|
+
}, z.core.$strip>>;
|
|
18328
18602
|
requestId: z.ZodString;
|
|
18329
18603
|
}, z.core.$strip>, z.ZodObject<{
|
|
18330
18604
|
type: z.ZodLiteral<"terminal.rename.request">;
|
|
@@ -21111,6 +21385,95 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
21111
21385
|
}, z.core.$strip>>;
|
|
21112
21386
|
error: z.ZodNullable<z.ZodString>;
|
|
21113
21387
|
}, z.core.$strip>;
|
|
21388
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21389
|
+
type: z.ZodLiteral<"agent.provider_subagents.list.response">;
|
|
21390
|
+
payload: z.ZodObject<{
|
|
21391
|
+
requestId: z.ZodString;
|
|
21392
|
+
parentAgentId: z.ZodString;
|
|
21393
|
+
subagents: z.ZodArray<z.ZodObject<{
|
|
21394
|
+
id: z.ZodString;
|
|
21395
|
+
parentAgentId: z.ZodString;
|
|
21396
|
+
provider: z.ZodString;
|
|
21397
|
+
title: z.ZodNullable<z.ZodString>;
|
|
21398
|
+
description: z.ZodNullable<z.ZodString>;
|
|
21399
|
+
status: z.ZodEnum<{
|
|
21400
|
+
running: "running";
|
|
21401
|
+
completed: "completed";
|
|
21402
|
+
failed: "failed";
|
|
21403
|
+
canceled: "canceled";
|
|
21404
|
+
}>;
|
|
21405
|
+
createdAt: z.ZodString;
|
|
21406
|
+
updatedAt: z.ZodString;
|
|
21407
|
+
toolCallId: z.ZodNullable<z.ZodString>;
|
|
21408
|
+
cwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21409
|
+
}, z.core.$strip>>;
|
|
21410
|
+
error: z.ZodNullable<z.ZodString>;
|
|
21411
|
+
}, z.core.$strip>;
|
|
21412
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21413
|
+
type: z.ZodLiteral<"agent.provider_subagents.timeline.get.response">;
|
|
21414
|
+
payload: z.ZodObject<{
|
|
21415
|
+
requestId: z.ZodString;
|
|
21416
|
+
parentAgentId: z.ZodString;
|
|
21417
|
+
subagentId: z.ZodString;
|
|
21418
|
+
provider: z.ZodNullable<z.ZodString>;
|
|
21419
|
+
direction: z.ZodEnum<{
|
|
21420
|
+
tail: "tail";
|
|
21421
|
+
before: "before";
|
|
21422
|
+
after: "after";
|
|
21423
|
+
}>;
|
|
21424
|
+
epoch: z.ZodString;
|
|
21425
|
+
reset: z.ZodBoolean;
|
|
21426
|
+
staleCursor: z.ZodBoolean;
|
|
21427
|
+
gap: z.ZodBoolean;
|
|
21428
|
+
window: z.ZodObject<{
|
|
21429
|
+
minSeq: z.ZodNumber;
|
|
21430
|
+
maxSeq: z.ZodNumber;
|
|
21431
|
+
nextSeq: z.ZodNumber;
|
|
21432
|
+
}, z.core.$strip>;
|
|
21433
|
+
hasOlder: z.ZodBoolean;
|
|
21434
|
+
hasNewer: z.ZodBoolean;
|
|
21435
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
21436
|
+
item: z.ZodType<AgentTimelineItem, unknown, z.core.$ZodTypeInternals<AgentTimelineItem, unknown>>;
|
|
21437
|
+
timestamp: z.ZodString;
|
|
21438
|
+
seq: z.ZodNumber;
|
|
21439
|
+
}, z.core.$strip>>;
|
|
21440
|
+
error: z.ZodNullable<z.ZodString>;
|
|
21441
|
+
}, z.core.$strip>;
|
|
21442
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21443
|
+
type: z.ZodLiteral<"agent.provider_subagents.update">;
|
|
21444
|
+
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
21445
|
+
kind: z.ZodLiteral<"upsert">;
|
|
21446
|
+
subagent: z.ZodObject<{
|
|
21447
|
+
id: z.ZodString;
|
|
21448
|
+
parentAgentId: z.ZodString;
|
|
21449
|
+
provider: z.ZodString;
|
|
21450
|
+
title: z.ZodNullable<z.ZodString>;
|
|
21451
|
+
description: z.ZodNullable<z.ZodString>;
|
|
21452
|
+
status: z.ZodEnum<{
|
|
21453
|
+
running: "running";
|
|
21454
|
+
completed: "completed";
|
|
21455
|
+
failed: "failed";
|
|
21456
|
+
canceled: "canceled";
|
|
21457
|
+
}>;
|
|
21458
|
+
createdAt: z.ZodString;
|
|
21459
|
+
updatedAt: z.ZodString;
|
|
21460
|
+
toolCallId: z.ZodNullable<z.ZodString>;
|
|
21461
|
+
cwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21462
|
+
}, z.core.$strip>;
|
|
21463
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21464
|
+
kind: z.ZodLiteral<"timeline">;
|
|
21465
|
+
parentAgentId: z.ZodString;
|
|
21466
|
+
subagentId: z.ZodString;
|
|
21467
|
+
provider: z.ZodString;
|
|
21468
|
+
item: z.ZodType<AgentTimelineItem, unknown, z.core.$ZodTypeInternals<AgentTimelineItem, unknown>>;
|
|
21469
|
+
timestamp: z.ZodString;
|
|
21470
|
+
seq: z.ZodNumber;
|
|
21471
|
+
epoch: z.ZodString;
|
|
21472
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21473
|
+
kind: z.ZodLiteral<"remove">;
|
|
21474
|
+
parentAgentId: z.ZodString;
|
|
21475
|
+
subagentId: z.ZodString;
|
|
21476
|
+
}, z.core.$strip>], "kind">;
|
|
21114
21477
|
}, z.core.$strip>, z.ZodObject<{
|
|
21115
21478
|
type: z.ZodLiteral<"agent.fork_context.response">;
|
|
21116
21479
|
payload: z.ZodObject<{
|
|
@@ -24824,6 +25187,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
24824
25187
|
reasoning_merge_enum: z.ZodOptional<z.ZodBoolean>;
|
|
24825
25188
|
custom_mode_icons: z.ZodOptional<z.ZodBoolean>;
|
|
24826
25189
|
terminal_reflowable_snapshot: z.ZodOptional<z.ZodBoolean>;
|
|
25190
|
+
provider_subagents: z.ZodOptional<z.ZodBoolean>;
|
|
24827
25191
|
browser_host: z.ZodOptional<z.ZodObject<{
|
|
24828
25192
|
supportedCommands: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<("select" | "type" | "fill" | "logs" | "list_tabs" | "new_tab" | "snapshot" | "click" | "wait" | "keypress" | "navigate" | "back" | "forward" | "reload" | "screenshot" | "upload" | "hover" | "drag" | "evaluate" | "scroll" | "resize" | "close_tab")[], string[]>>;
|
|
24829
25193
|
hostKind: z.ZodDefault<z.ZodString>;
|
|
@@ -25629,6 +25993,25 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
25629
25993
|
projected: "projected";
|
|
25630
25994
|
canonical: "canonical";
|
|
25631
25995
|
}>>;
|
|
25996
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
25997
|
+
type: z.ZodLiteral<"agent.provider_subagents.list.request">;
|
|
25998
|
+
parentAgentId: z.ZodString;
|
|
25999
|
+
requestId: z.ZodString;
|
|
26000
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
26001
|
+
type: z.ZodLiteral<"agent.provider_subagents.timeline.get.request">;
|
|
26002
|
+
parentAgentId: z.ZodString;
|
|
26003
|
+
subagentId: z.ZodString;
|
|
26004
|
+
requestId: z.ZodString;
|
|
26005
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
26006
|
+
tail: "tail";
|
|
26007
|
+
before: "before";
|
|
26008
|
+
after: "after";
|
|
26009
|
+
}>>;
|
|
26010
|
+
cursor: z.ZodOptional<z.ZodObject<{
|
|
26011
|
+
epoch: z.ZodString;
|
|
26012
|
+
seq: z.ZodNumber;
|
|
26013
|
+
}, z.core.$strip>>;
|
|
26014
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
25632
26015
|
}, z.core.$strip>, z.ZodObject<{
|
|
25633
26016
|
type: z.ZodLiteral<"agent.fork_context.request">;
|
|
25634
26017
|
agentId: z.ZodString;
|
|
@@ -26173,6 +26556,10 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
26173
26556
|
agentId: z.ZodOptional<z.ZodString>;
|
|
26174
26557
|
command: z.ZodOptional<z.ZodString>;
|
|
26175
26558
|
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26559
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
26560
|
+
rows: z.ZodNumber;
|
|
26561
|
+
cols: z.ZodNumber;
|
|
26562
|
+
}, z.core.$strip>>;
|
|
26176
26563
|
requestId: z.ZodString;
|
|
26177
26564
|
}, z.core.$strip>, z.ZodObject<{
|
|
26178
26565
|
type: z.ZodLiteral<"terminal.rename.request">;
|
|
@@ -28961,6 +29348,95 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
28961
29348
|
}, z.core.$strip>>;
|
|
28962
29349
|
error: z.ZodNullable<z.ZodString>;
|
|
28963
29350
|
}, z.core.$strip>;
|
|
29351
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29352
|
+
type: z.ZodLiteral<"agent.provider_subagents.list.response">;
|
|
29353
|
+
payload: z.ZodObject<{
|
|
29354
|
+
requestId: z.ZodString;
|
|
29355
|
+
parentAgentId: z.ZodString;
|
|
29356
|
+
subagents: z.ZodArray<z.ZodObject<{
|
|
29357
|
+
id: z.ZodString;
|
|
29358
|
+
parentAgentId: z.ZodString;
|
|
29359
|
+
provider: z.ZodString;
|
|
29360
|
+
title: z.ZodNullable<z.ZodString>;
|
|
29361
|
+
description: z.ZodNullable<z.ZodString>;
|
|
29362
|
+
status: z.ZodEnum<{
|
|
29363
|
+
running: "running";
|
|
29364
|
+
completed: "completed";
|
|
29365
|
+
failed: "failed";
|
|
29366
|
+
canceled: "canceled";
|
|
29367
|
+
}>;
|
|
29368
|
+
createdAt: z.ZodString;
|
|
29369
|
+
updatedAt: z.ZodString;
|
|
29370
|
+
toolCallId: z.ZodNullable<z.ZodString>;
|
|
29371
|
+
cwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29372
|
+
}, z.core.$strip>>;
|
|
29373
|
+
error: z.ZodNullable<z.ZodString>;
|
|
29374
|
+
}, z.core.$strip>;
|
|
29375
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29376
|
+
type: z.ZodLiteral<"agent.provider_subagents.timeline.get.response">;
|
|
29377
|
+
payload: z.ZodObject<{
|
|
29378
|
+
requestId: z.ZodString;
|
|
29379
|
+
parentAgentId: z.ZodString;
|
|
29380
|
+
subagentId: z.ZodString;
|
|
29381
|
+
provider: z.ZodNullable<z.ZodString>;
|
|
29382
|
+
direction: z.ZodEnum<{
|
|
29383
|
+
tail: "tail";
|
|
29384
|
+
before: "before";
|
|
29385
|
+
after: "after";
|
|
29386
|
+
}>;
|
|
29387
|
+
epoch: z.ZodString;
|
|
29388
|
+
reset: z.ZodBoolean;
|
|
29389
|
+
staleCursor: z.ZodBoolean;
|
|
29390
|
+
gap: z.ZodBoolean;
|
|
29391
|
+
window: z.ZodObject<{
|
|
29392
|
+
minSeq: z.ZodNumber;
|
|
29393
|
+
maxSeq: z.ZodNumber;
|
|
29394
|
+
nextSeq: z.ZodNumber;
|
|
29395
|
+
}, z.core.$strip>;
|
|
29396
|
+
hasOlder: z.ZodBoolean;
|
|
29397
|
+
hasNewer: z.ZodBoolean;
|
|
29398
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
29399
|
+
item: z.ZodType<AgentTimelineItem, unknown, z.core.$ZodTypeInternals<AgentTimelineItem, unknown>>;
|
|
29400
|
+
timestamp: z.ZodString;
|
|
29401
|
+
seq: z.ZodNumber;
|
|
29402
|
+
}, z.core.$strip>>;
|
|
29403
|
+
error: z.ZodNullable<z.ZodString>;
|
|
29404
|
+
}, z.core.$strip>;
|
|
29405
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29406
|
+
type: z.ZodLiteral<"agent.provider_subagents.update">;
|
|
29407
|
+
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
29408
|
+
kind: z.ZodLiteral<"upsert">;
|
|
29409
|
+
subagent: z.ZodObject<{
|
|
29410
|
+
id: z.ZodString;
|
|
29411
|
+
parentAgentId: z.ZodString;
|
|
29412
|
+
provider: z.ZodString;
|
|
29413
|
+
title: z.ZodNullable<z.ZodString>;
|
|
29414
|
+
description: z.ZodNullable<z.ZodString>;
|
|
29415
|
+
status: z.ZodEnum<{
|
|
29416
|
+
running: "running";
|
|
29417
|
+
completed: "completed";
|
|
29418
|
+
failed: "failed";
|
|
29419
|
+
canceled: "canceled";
|
|
29420
|
+
}>;
|
|
29421
|
+
createdAt: z.ZodString;
|
|
29422
|
+
updatedAt: z.ZodString;
|
|
29423
|
+
toolCallId: z.ZodNullable<z.ZodString>;
|
|
29424
|
+
cwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29425
|
+
}, z.core.$strip>;
|
|
29426
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29427
|
+
kind: z.ZodLiteral<"timeline">;
|
|
29428
|
+
parentAgentId: z.ZodString;
|
|
29429
|
+
subagentId: z.ZodString;
|
|
29430
|
+
provider: z.ZodString;
|
|
29431
|
+
item: z.ZodType<AgentTimelineItem, unknown, z.core.$ZodTypeInternals<AgentTimelineItem, unknown>>;
|
|
29432
|
+
timestamp: z.ZodString;
|
|
29433
|
+
seq: z.ZodNumber;
|
|
29434
|
+
epoch: z.ZodString;
|
|
29435
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29436
|
+
kind: z.ZodLiteral<"remove">;
|
|
29437
|
+
parentAgentId: z.ZodString;
|
|
29438
|
+
subagentId: z.ZodString;
|
|
29439
|
+
}, z.core.$strip>], "kind">;
|
|
28964
29440
|
}, z.core.$strip>, z.ZodObject<{
|
|
28965
29441
|
type: z.ZodLiteral<"agent.fork_context.response">;
|
|
28966
29442
|
payload: z.ZodObject<{
|