@junctionpanel/server 0.1.91 → 0.1.93
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/server/client/daemon-client.d.ts +3 -0
- package/dist/server/client/daemon-client.d.ts.map +1 -1
- package/dist/server/client/daemon-client.js +55 -0
- package/dist/server/client/daemon-client.js.map +1 -1
- package/dist/server/server/agent/agent-manager.d.ts +1 -0
- package/dist/server/server/agent/agent-manager.d.ts.map +1 -1
- package/dist/server/server/agent/agent-manager.js +1 -0
- package/dist/server/server/agent/agent-manager.js.map +1 -1
- package/dist/server/server/agent/agent-projections.d.ts.map +1 -1
- package/dist/server/server/agent/agent-projections.js +1 -0
- package/dist/server/server/agent/agent-projections.js.map +1 -1
- package/dist/server/server/agent/agent-sdk-types.d.ts +3 -0
- package/dist/server/server/agent/agent-sdk-types.d.ts.map +1 -1
- package/dist/server/server/agent/agent-sdk-types.js.map +1 -1
- package/dist/server/server/agent/agent-storage.d.ts.map +1 -1
- package/dist/server/server/agent/agent-storage.js +49 -7
- package/dist/server/server/agent/agent-storage.js.map +1 -1
- package/dist/server/server/agent/harness/context.d.ts.map +1 -1
- package/dist/server/server/agent/harness/context.js +6 -6
- package/dist/server/server/agent/harness/context.js.map +1 -1
- package/dist/server/server/agent/providers/claude-agent.d.ts.map +1 -1
- package/dist/server/server/agent/providers/claude-agent.js +1 -0
- package/dist/server/server/agent/providers/claude-agent.js.map +1 -1
- package/dist/server/server/agent/providers/codex-app-server-agent.d.ts.map +1 -1
- package/dist/server/server/agent/providers/codex-app-server-agent.js +22 -0
- package/dist/server/server/agent/providers/codex-app-server-agent.js.map +1 -1
- package/dist/server/server/agent/providers/gemini-agent.d.ts.map +1 -1
- package/dist/server/server/agent/providers/gemini-agent.js +1 -0
- package/dist/server/server/agent/providers/gemini-agent.js.map +1 -1
- package/dist/server/server/agent/providers/opencode-agent.d.ts.map +1 -1
- package/dist/server/server/agent/providers/opencode-agent.js +1 -0
- package/dist/server/server/agent/providers/opencode-agent.js.map +1 -1
- package/dist/server/server/agent/providers/tool-call-detail-primitives.d.ts.map +1 -1
- package/dist/server/server/session.d.ts +3 -0
- package/dist/server/server/session.d.ts.map +1 -1
- package/dist/server/server/session.js +284 -17
- package/dist/server/server/session.js.map +1 -1
- package/dist/server/shared/messages.d.ts +2267 -26
- package/dist/server/shared/messages.d.ts.map +1 -1
- package/dist/server/shared/messages.js +45 -0
- package/dist/server/shared/messages.js.map +1 -1
- package/package.json +2 -2
|
@@ -194,6 +194,23 @@ export declare const AgentStreamEventPayloadSchema: z.ZodDiscriminatedUnion<"typ
|
|
|
194
194
|
body: string;
|
|
195
195
|
} | undefined;
|
|
196
196
|
}>]>;
|
|
197
|
+
export declare const QueuedAgentMessagePayloadSchema: z.ZodObject<{
|
|
198
|
+
id: z.ZodString;
|
|
199
|
+
text: z.ZodString;
|
|
200
|
+
queuedAt: z.ZodString;
|
|
201
|
+
images: z.ZodOptional<z.ZodArray<z.ZodType<AgentImageAttachment, z.ZodTypeDef, AgentImageAttachment>, "many">>;
|
|
202
|
+
}, "strip", z.ZodTypeAny, {
|
|
203
|
+
text: string;
|
|
204
|
+
id: string;
|
|
205
|
+
queuedAt: string;
|
|
206
|
+
images?: AgentImageAttachment[] | undefined;
|
|
207
|
+
}, {
|
|
208
|
+
text: string;
|
|
209
|
+
id: string;
|
|
210
|
+
queuedAt: string;
|
|
211
|
+
images?: AgentImageAttachment[] | undefined;
|
|
212
|
+
}>;
|
|
213
|
+
export type QueuedAgentMessagePayload = z.infer<typeof QueuedAgentMessagePayloadSchema>;
|
|
197
214
|
export declare const AgentSnapshotPayloadSchema: z.ZodObject<{
|
|
198
215
|
id: z.ZodString;
|
|
199
216
|
provider: z.ZodEnum<[string, ...string[]]>;
|
|
@@ -331,6 +348,22 @@ export declare const AgentSnapshotPayloadSchema: z.ZodObject<{
|
|
|
331
348
|
hasNonRequiredFailingChecks?: boolean | null | undefined;
|
|
332
349
|
} | null | undefined;
|
|
333
350
|
}>>>;
|
|
351
|
+
messageQueue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
352
|
+
id: z.ZodString;
|
|
353
|
+
text: z.ZodString;
|
|
354
|
+
queuedAt: z.ZodString;
|
|
355
|
+
images: z.ZodOptional<z.ZodArray<z.ZodType<AgentImageAttachment, z.ZodTypeDef, AgentImageAttachment>, "many">>;
|
|
356
|
+
}, "strip", z.ZodTypeAny, {
|
|
357
|
+
text: string;
|
|
358
|
+
id: string;
|
|
359
|
+
queuedAt: string;
|
|
360
|
+
images?: AgentImageAttachment[] | undefined;
|
|
361
|
+
}, {
|
|
362
|
+
text: string;
|
|
363
|
+
id: string;
|
|
364
|
+
queuedAt: string;
|
|
365
|
+
images?: AgentImageAttachment[] | undefined;
|
|
366
|
+
}>, "many">>;
|
|
334
367
|
}, "strip", z.ZodTypeAny, {
|
|
335
368
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
336
369
|
id: string;
|
|
@@ -388,6 +421,12 @@ export declare const AgentSnapshotPayloadSchema: z.ZodObject<{
|
|
|
388
421
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
389
422
|
lastTimelineAt?: string | null | undefined;
|
|
390
423
|
pendingPlanReview?: boolean | undefined;
|
|
424
|
+
messageQueue?: {
|
|
425
|
+
text: string;
|
|
426
|
+
id: string;
|
|
427
|
+
queuedAt: string;
|
|
428
|
+
images?: AgentImageAttachment[] | undefined;
|
|
429
|
+
}[] | undefined;
|
|
391
430
|
}, {
|
|
392
431
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
393
432
|
id: string;
|
|
@@ -445,6 +484,12 @@ export declare const AgentSnapshotPayloadSchema: z.ZodObject<{
|
|
|
445
484
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
446
485
|
lastTimelineAt?: string | null | undefined;
|
|
447
486
|
pendingPlanReview?: boolean | undefined;
|
|
487
|
+
messageQueue?: {
|
|
488
|
+
text: string;
|
|
489
|
+
id: string;
|
|
490
|
+
queuedAt: string;
|
|
491
|
+
images?: AgentImageAttachment[] | undefined;
|
|
492
|
+
}[] | undefined;
|
|
448
493
|
}>;
|
|
449
494
|
export type AgentSnapshotPayload = z.infer<typeof AgentSnapshotPayloadSchema>;
|
|
450
495
|
export type AgentStreamEventPayload = z.infer<typeof AgentStreamEventPayloadSchema>;
|
|
@@ -527,14 +572,14 @@ export declare const SendAgentMessageSchema: z.ZodObject<{
|
|
|
527
572
|
agentId: string;
|
|
528
573
|
text: string;
|
|
529
574
|
type: "send_agent_message";
|
|
530
|
-
messageId?: string | undefined;
|
|
531
575
|
images?: AgentImageAttachment[] | undefined;
|
|
576
|
+
messageId?: string | undefined;
|
|
532
577
|
}, {
|
|
533
578
|
agentId: string;
|
|
534
579
|
text: string;
|
|
535
580
|
type: "send_agent_message";
|
|
536
|
-
messageId?: string | undefined;
|
|
537
581
|
images?: AgentImageAttachment[] | undefined;
|
|
582
|
+
messageId?: string | undefined;
|
|
538
583
|
}>;
|
|
539
584
|
export declare const FetchAgentsRequestMessageSchema: z.ZodObject<{
|
|
540
585
|
type: z.ZodLiteral<"fetch_agents_request">;
|
|
@@ -725,13 +770,14 @@ export declare const SendAgentMessageRequestSchema: z.ZodObject<{
|
|
|
725
770
|
resumeFrom?: AgentPersistenceHandle | null | undefined;
|
|
726
771
|
maxThinkingTokens?: number | undefined;
|
|
727
772
|
}>>;
|
|
773
|
+
deliveryMode: z.ZodOptional<z.ZodEnum<["interrupt", "queue"]>>;
|
|
728
774
|
}, "strip", z.ZodTypeAny, {
|
|
729
775
|
agentId: string;
|
|
730
776
|
text: string;
|
|
731
777
|
type: "send_agent_message_request";
|
|
732
778
|
requestId: string;
|
|
733
|
-
messageId?: string | undefined;
|
|
734
779
|
images?: AgentImageAttachment[] | undefined;
|
|
780
|
+
messageId?: string | undefined;
|
|
735
781
|
suppressHistory?: boolean | undefined;
|
|
736
782
|
runOptions?: {
|
|
737
783
|
extra?: {
|
|
@@ -743,13 +789,14 @@ export declare const SendAgentMessageRequestSchema: z.ZodObject<{
|
|
|
743
789
|
resumeFrom?: AgentPersistenceHandle | null | undefined;
|
|
744
790
|
maxThinkingTokens?: number | undefined;
|
|
745
791
|
} | undefined;
|
|
792
|
+
deliveryMode?: "interrupt" | "queue" | undefined;
|
|
746
793
|
}, {
|
|
747
794
|
agentId: string;
|
|
748
795
|
text: string;
|
|
749
796
|
type: "send_agent_message_request";
|
|
750
797
|
requestId: string;
|
|
751
|
-
messageId?: string | undefined;
|
|
752
798
|
images?: AgentImageAttachment[] | undefined;
|
|
799
|
+
messageId?: string | undefined;
|
|
753
800
|
suppressHistory?: boolean | undefined;
|
|
754
801
|
runOptions?: {
|
|
755
802
|
extra?: {
|
|
@@ -761,6 +808,7 @@ export declare const SendAgentMessageRequestSchema: z.ZodObject<{
|
|
|
761
808
|
resumeFrom?: AgentPersistenceHandle | null | undefined;
|
|
762
809
|
maxThinkingTokens?: number | undefined;
|
|
763
810
|
} | undefined;
|
|
811
|
+
deliveryMode?: "interrupt" | "queue" | undefined;
|
|
764
812
|
}>;
|
|
765
813
|
export declare const WaitForFinishRequestSchema: z.ZodObject<{
|
|
766
814
|
type: z.ZodLiteral<"wait_for_finish_request">;
|
|
@@ -1119,8 +1167,8 @@ export declare const CreateAgentRequestMessageSchema: z.ZodObject<{
|
|
|
1119
1167
|
attachBranchSource?: "local" | "remote" | undefined;
|
|
1120
1168
|
} | undefined;
|
|
1121
1169
|
parentAgentId?: string | null | undefined;
|
|
1122
|
-
generalPreferencesApplied?: boolean | undefined;
|
|
1123
1170
|
images?: AgentImageAttachment[] | undefined;
|
|
1171
|
+
generalPreferencesApplied?: boolean | undefined;
|
|
1124
1172
|
outputSchema?: Record<string, unknown> | undefined;
|
|
1125
1173
|
worktreeName?: string | undefined;
|
|
1126
1174
|
initialPrompt?: string | undefined;
|
|
@@ -1183,8 +1231,8 @@ export declare const CreateAgentRequestMessageSchema: z.ZodObject<{
|
|
|
1183
1231
|
} | undefined;
|
|
1184
1232
|
parentAgentId?: string | null | undefined;
|
|
1185
1233
|
labels?: Record<string, string> | undefined;
|
|
1186
|
-
generalPreferencesApplied?: boolean | undefined;
|
|
1187
1234
|
images?: AgentImageAttachment[] | undefined;
|
|
1235
|
+
generalPreferencesApplied?: boolean | undefined;
|
|
1188
1236
|
outputSchema?: Record<string, unknown> | undefined;
|
|
1189
1237
|
worktreeName?: string | undefined;
|
|
1190
1238
|
initialPrompt?: string | undefined;
|
|
@@ -2751,6 +2799,38 @@ export declare const DetachTerminalStreamRequestSchema: z.ZodObject<{
|
|
|
2751
2799
|
requestId: string;
|
|
2752
2800
|
streamId: number;
|
|
2753
2801
|
}>;
|
|
2802
|
+
export declare const CancelQueuedAgentMessageRequestSchema: z.ZodObject<{
|
|
2803
|
+
type: z.ZodLiteral<"cancel_queued_agent_message_request">;
|
|
2804
|
+
requestId: z.ZodString;
|
|
2805
|
+
agentId: z.ZodString;
|
|
2806
|
+
messageId: z.ZodString;
|
|
2807
|
+
}, "strip", z.ZodTypeAny, {
|
|
2808
|
+
agentId: string;
|
|
2809
|
+
type: "cancel_queued_agent_message_request";
|
|
2810
|
+
requestId: string;
|
|
2811
|
+
messageId: string;
|
|
2812
|
+
}, {
|
|
2813
|
+
agentId: string;
|
|
2814
|
+
type: "cancel_queued_agent_message_request";
|
|
2815
|
+
requestId: string;
|
|
2816
|
+
messageId: string;
|
|
2817
|
+
}>;
|
|
2818
|
+
export declare const SteerQueuedAgentMessageRequestSchema: z.ZodObject<{
|
|
2819
|
+
type: z.ZodLiteral<"steer_queued_agent_message_request">;
|
|
2820
|
+
requestId: z.ZodString;
|
|
2821
|
+
agentId: z.ZodString;
|
|
2822
|
+
messageId: z.ZodString;
|
|
2823
|
+
}, "strip", z.ZodTypeAny, {
|
|
2824
|
+
agentId: string;
|
|
2825
|
+
type: "steer_queued_agent_message_request";
|
|
2826
|
+
requestId: string;
|
|
2827
|
+
messageId: string;
|
|
2828
|
+
}, {
|
|
2829
|
+
agentId: string;
|
|
2830
|
+
type: "steer_queued_agent_message_request";
|
|
2831
|
+
requestId: string;
|
|
2832
|
+
messageId: string;
|
|
2833
|
+
}>;
|
|
2754
2834
|
export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
2755
2835
|
type: z.ZodLiteral<"abort_request">;
|
|
2756
2836
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2999,13 +3079,14 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
2999
3079
|
resumeFrom?: AgentPersistenceHandle | null | undefined;
|
|
3000
3080
|
maxThinkingTokens?: number | undefined;
|
|
3001
3081
|
}>>;
|
|
3082
|
+
deliveryMode: z.ZodOptional<z.ZodEnum<["interrupt", "queue"]>>;
|
|
3002
3083
|
}, "strip", z.ZodTypeAny, {
|
|
3003
3084
|
agentId: string;
|
|
3004
3085
|
text: string;
|
|
3005
3086
|
type: "send_agent_message_request";
|
|
3006
3087
|
requestId: string;
|
|
3007
|
-
messageId?: string | undefined;
|
|
3008
3088
|
images?: AgentImageAttachment[] | undefined;
|
|
3089
|
+
messageId?: string | undefined;
|
|
3009
3090
|
suppressHistory?: boolean | undefined;
|
|
3010
3091
|
runOptions?: {
|
|
3011
3092
|
extra?: {
|
|
@@ -3017,13 +3098,14 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
3017
3098
|
resumeFrom?: AgentPersistenceHandle | null | undefined;
|
|
3018
3099
|
maxThinkingTokens?: number | undefined;
|
|
3019
3100
|
} | undefined;
|
|
3101
|
+
deliveryMode?: "interrupt" | "queue" | undefined;
|
|
3020
3102
|
}, {
|
|
3021
3103
|
agentId: string;
|
|
3022
3104
|
text: string;
|
|
3023
3105
|
type: "send_agent_message_request";
|
|
3024
3106
|
requestId: string;
|
|
3025
|
-
messageId?: string | undefined;
|
|
3026
3107
|
images?: AgentImageAttachment[] | undefined;
|
|
3108
|
+
messageId?: string | undefined;
|
|
3027
3109
|
suppressHistory?: boolean | undefined;
|
|
3028
3110
|
runOptions?: {
|
|
3029
3111
|
extra?: {
|
|
@@ -3035,6 +3117,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
3035
3117
|
resumeFrom?: AgentPersistenceHandle | null | undefined;
|
|
3036
3118
|
maxThinkingTokens?: number | undefined;
|
|
3037
3119
|
} | undefined;
|
|
3120
|
+
deliveryMode?: "interrupt" | "queue" | undefined;
|
|
3038
3121
|
}>, z.ZodObject<{
|
|
3039
3122
|
type: z.ZodLiteral<"wait_for_finish_request">;
|
|
3040
3123
|
requestId: z.ZodString;
|
|
@@ -3355,8 +3438,8 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
3355
3438
|
attachBranchSource?: "local" | "remote" | undefined;
|
|
3356
3439
|
} | undefined;
|
|
3357
3440
|
parentAgentId?: string | null | undefined;
|
|
3358
|
-
generalPreferencesApplied?: boolean | undefined;
|
|
3359
3441
|
images?: AgentImageAttachment[] | undefined;
|
|
3442
|
+
generalPreferencesApplied?: boolean | undefined;
|
|
3360
3443
|
outputSchema?: Record<string, unknown> | undefined;
|
|
3361
3444
|
worktreeName?: string | undefined;
|
|
3362
3445
|
initialPrompt?: string | undefined;
|
|
@@ -3419,8 +3502,8 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
3419
3502
|
} | undefined;
|
|
3420
3503
|
parentAgentId?: string | null | undefined;
|
|
3421
3504
|
labels?: Record<string, string> | undefined;
|
|
3422
|
-
generalPreferencesApplied?: boolean | undefined;
|
|
3423
3505
|
images?: AgentImageAttachment[] | undefined;
|
|
3506
|
+
generalPreferencesApplied?: boolean | undefined;
|
|
3424
3507
|
outputSchema?: Record<string, unknown> | undefined;
|
|
3425
3508
|
worktreeName?: string | undefined;
|
|
3426
3509
|
initialPrompt?: string | undefined;
|
|
@@ -4736,6 +4819,36 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
4736
4819
|
type: "detach_terminal_stream_request";
|
|
4737
4820
|
requestId: string;
|
|
4738
4821
|
streamId: number;
|
|
4822
|
+
}>, z.ZodObject<{
|
|
4823
|
+
type: z.ZodLiteral<"cancel_queued_agent_message_request">;
|
|
4824
|
+
requestId: z.ZodString;
|
|
4825
|
+
agentId: z.ZodString;
|
|
4826
|
+
messageId: z.ZodString;
|
|
4827
|
+
}, "strip", z.ZodTypeAny, {
|
|
4828
|
+
agentId: string;
|
|
4829
|
+
type: "cancel_queued_agent_message_request";
|
|
4830
|
+
requestId: string;
|
|
4831
|
+
messageId: string;
|
|
4832
|
+
}, {
|
|
4833
|
+
agentId: string;
|
|
4834
|
+
type: "cancel_queued_agent_message_request";
|
|
4835
|
+
requestId: string;
|
|
4836
|
+
messageId: string;
|
|
4837
|
+
}>, z.ZodObject<{
|
|
4838
|
+
type: z.ZodLiteral<"steer_queued_agent_message_request">;
|
|
4839
|
+
requestId: z.ZodString;
|
|
4840
|
+
agentId: z.ZodString;
|
|
4841
|
+
messageId: z.ZodString;
|
|
4842
|
+
}, "strip", z.ZodTypeAny, {
|
|
4843
|
+
agentId: string;
|
|
4844
|
+
type: "steer_queued_agent_message_request";
|
|
4845
|
+
requestId: string;
|
|
4846
|
+
messageId: string;
|
|
4847
|
+
}, {
|
|
4848
|
+
agentId: string;
|
|
4849
|
+
type: "steer_queued_agent_message_request";
|
|
4850
|
+
requestId: string;
|
|
4851
|
+
messageId: string;
|
|
4739
4852
|
}>]>;
|
|
4740
4853
|
export type SessionInboundMessage = z.infer<typeof SessionInboundMessageSchema>;
|
|
4741
4854
|
export declare const ActivityLogPayloadSchema: z.ZodObject<{
|
|
@@ -5297,6 +5410,22 @@ export declare const AgentCreatedStatusPayloadSchema: z.ZodObject<{
|
|
|
5297
5410
|
hasNonRequiredFailingChecks?: boolean | null | undefined;
|
|
5298
5411
|
} | null | undefined;
|
|
5299
5412
|
}>>>;
|
|
5413
|
+
messageQueue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5414
|
+
id: z.ZodString;
|
|
5415
|
+
text: z.ZodString;
|
|
5416
|
+
queuedAt: z.ZodString;
|
|
5417
|
+
images: z.ZodOptional<z.ZodArray<z.ZodType<AgentImageAttachment, z.ZodTypeDef, AgentImageAttachment>, "many">>;
|
|
5418
|
+
}, "strip", z.ZodTypeAny, {
|
|
5419
|
+
text: string;
|
|
5420
|
+
id: string;
|
|
5421
|
+
queuedAt: string;
|
|
5422
|
+
images?: AgentImageAttachment[] | undefined;
|
|
5423
|
+
}, {
|
|
5424
|
+
text: string;
|
|
5425
|
+
id: string;
|
|
5426
|
+
queuedAt: string;
|
|
5427
|
+
images?: AgentImageAttachment[] | undefined;
|
|
5428
|
+
}>, "many">>;
|
|
5300
5429
|
}, "strip", z.ZodTypeAny, {
|
|
5301
5430
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
5302
5431
|
id: string;
|
|
@@ -5354,6 +5483,12 @@ export declare const AgentCreatedStatusPayloadSchema: z.ZodObject<{
|
|
|
5354
5483
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
5355
5484
|
lastTimelineAt?: string | null | undefined;
|
|
5356
5485
|
pendingPlanReview?: boolean | undefined;
|
|
5486
|
+
messageQueue?: {
|
|
5487
|
+
text: string;
|
|
5488
|
+
id: string;
|
|
5489
|
+
queuedAt: string;
|
|
5490
|
+
images?: AgentImageAttachment[] | undefined;
|
|
5491
|
+
}[] | undefined;
|
|
5357
5492
|
}, {
|
|
5358
5493
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
5359
5494
|
id: string;
|
|
@@ -5411,6 +5546,12 @@ export declare const AgentCreatedStatusPayloadSchema: z.ZodObject<{
|
|
|
5411
5546
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
5412
5547
|
lastTimelineAt?: string | null | undefined;
|
|
5413
5548
|
pendingPlanReview?: boolean | undefined;
|
|
5549
|
+
messageQueue?: {
|
|
5550
|
+
text: string;
|
|
5551
|
+
id: string;
|
|
5552
|
+
queuedAt: string;
|
|
5553
|
+
images?: AgentImageAttachment[] | undefined;
|
|
5554
|
+
}[] | undefined;
|
|
5414
5555
|
}>;
|
|
5415
5556
|
} & {
|
|
5416
5557
|
agentId: z.ZodString;
|
|
@@ -5475,6 +5616,12 @@ export declare const AgentCreatedStatusPayloadSchema: z.ZodObject<{
|
|
|
5475
5616
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
5476
5617
|
lastTimelineAt?: string | null | undefined;
|
|
5477
5618
|
pendingPlanReview?: boolean | undefined;
|
|
5619
|
+
messageQueue?: {
|
|
5620
|
+
text: string;
|
|
5621
|
+
id: string;
|
|
5622
|
+
queuedAt: string;
|
|
5623
|
+
images?: AgentImageAttachment[] | undefined;
|
|
5624
|
+
}[] | undefined;
|
|
5478
5625
|
};
|
|
5479
5626
|
requestId: string;
|
|
5480
5627
|
reusedExisting: boolean;
|
|
@@ -5538,6 +5685,12 @@ export declare const AgentCreatedStatusPayloadSchema: z.ZodObject<{
|
|
|
5538
5685
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
5539
5686
|
lastTimelineAt?: string | null | undefined;
|
|
5540
5687
|
pendingPlanReview?: boolean | undefined;
|
|
5688
|
+
messageQueue?: {
|
|
5689
|
+
text: string;
|
|
5690
|
+
id: string;
|
|
5691
|
+
queuedAt: string;
|
|
5692
|
+
images?: AgentImageAttachment[] | undefined;
|
|
5693
|
+
}[] | undefined;
|
|
5541
5694
|
};
|
|
5542
5695
|
requestId: string;
|
|
5543
5696
|
reusedExisting: boolean;
|
|
@@ -5694,6 +5847,22 @@ export declare const AgentResumedStatusPayloadSchema: z.ZodObject<{
|
|
|
5694
5847
|
hasNonRequiredFailingChecks?: boolean | null | undefined;
|
|
5695
5848
|
} | null | undefined;
|
|
5696
5849
|
}>>>;
|
|
5850
|
+
messageQueue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5851
|
+
id: z.ZodString;
|
|
5852
|
+
text: z.ZodString;
|
|
5853
|
+
queuedAt: z.ZodString;
|
|
5854
|
+
images: z.ZodOptional<z.ZodArray<z.ZodType<AgentImageAttachment, z.ZodTypeDef, AgentImageAttachment>, "many">>;
|
|
5855
|
+
}, "strip", z.ZodTypeAny, {
|
|
5856
|
+
text: string;
|
|
5857
|
+
id: string;
|
|
5858
|
+
queuedAt: string;
|
|
5859
|
+
images?: AgentImageAttachment[] | undefined;
|
|
5860
|
+
}, {
|
|
5861
|
+
text: string;
|
|
5862
|
+
id: string;
|
|
5863
|
+
queuedAt: string;
|
|
5864
|
+
images?: AgentImageAttachment[] | undefined;
|
|
5865
|
+
}>, "many">>;
|
|
5697
5866
|
}, "strip", z.ZodTypeAny, {
|
|
5698
5867
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
5699
5868
|
id: string;
|
|
@@ -5751,6 +5920,12 @@ export declare const AgentResumedStatusPayloadSchema: z.ZodObject<{
|
|
|
5751
5920
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
5752
5921
|
lastTimelineAt?: string | null | undefined;
|
|
5753
5922
|
pendingPlanReview?: boolean | undefined;
|
|
5923
|
+
messageQueue?: {
|
|
5924
|
+
text: string;
|
|
5925
|
+
id: string;
|
|
5926
|
+
queuedAt: string;
|
|
5927
|
+
images?: AgentImageAttachment[] | undefined;
|
|
5928
|
+
}[] | undefined;
|
|
5754
5929
|
}, {
|
|
5755
5930
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
5756
5931
|
id: string;
|
|
@@ -5808,6 +5983,12 @@ export declare const AgentResumedStatusPayloadSchema: z.ZodObject<{
|
|
|
5808
5983
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
5809
5984
|
lastTimelineAt?: string | null | undefined;
|
|
5810
5985
|
pendingPlanReview?: boolean | undefined;
|
|
5986
|
+
messageQueue?: {
|
|
5987
|
+
text: string;
|
|
5988
|
+
id: string;
|
|
5989
|
+
queuedAt: string;
|
|
5990
|
+
images?: AgentImageAttachment[] | undefined;
|
|
5991
|
+
}[] | undefined;
|
|
5811
5992
|
}>;
|
|
5812
5993
|
} & {
|
|
5813
5994
|
agentId: z.ZodString;
|
|
@@ -5874,6 +6055,12 @@ export declare const AgentResumedStatusPayloadSchema: z.ZodObject<{
|
|
|
5874
6055
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
5875
6056
|
lastTimelineAt?: string | null | undefined;
|
|
5876
6057
|
pendingPlanReview?: boolean | undefined;
|
|
6058
|
+
messageQueue?: {
|
|
6059
|
+
text: string;
|
|
6060
|
+
id: string;
|
|
6061
|
+
queuedAt: string;
|
|
6062
|
+
images?: AgentImageAttachment[] | undefined;
|
|
6063
|
+
}[] | undefined;
|
|
5877
6064
|
};
|
|
5878
6065
|
requestId: string;
|
|
5879
6066
|
timelineSize?: number | undefined;
|
|
@@ -5937,6 +6124,12 @@ export declare const AgentResumedStatusPayloadSchema: z.ZodObject<{
|
|
|
5937
6124
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
5938
6125
|
lastTimelineAt?: string | null | undefined;
|
|
5939
6126
|
pendingPlanReview?: boolean | undefined;
|
|
6127
|
+
messageQueue?: {
|
|
6128
|
+
text: string;
|
|
6129
|
+
id: string;
|
|
6130
|
+
queuedAt: string;
|
|
6131
|
+
images?: AgentImageAttachment[] | undefined;
|
|
6132
|
+
}[] | undefined;
|
|
5940
6133
|
};
|
|
5941
6134
|
requestId: string;
|
|
5942
6135
|
timelineSize?: number | undefined;
|
|
@@ -6128,6 +6321,22 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
|
|
|
6128
6321
|
hasNonRequiredFailingChecks?: boolean | null | undefined;
|
|
6129
6322
|
} | null | undefined;
|
|
6130
6323
|
}>>>;
|
|
6324
|
+
messageQueue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6325
|
+
id: z.ZodString;
|
|
6326
|
+
text: z.ZodString;
|
|
6327
|
+
queuedAt: z.ZodString;
|
|
6328
|
+
images: z.ZodOptional<z.ZodArray<z.ZodType<AgentImageAttachment, z.ZodTypeDef, AgentImageAttachment>, "many">>;
|
|
6329
|
+
}, "strip", z.ZodTypeAny, {
|
|
6330
|
+
text: string;
|
|
6331
|
+
id: string;
|
|
6332
|
+
queuedAt: string;
|
|
6333
|
+
images?: AgentImageAttachment[] | undefined;
|
|
6334
|
+
}, {
|
|
6335
|
+
text: string;
|
|
6336
|
+
id: string;
|
|
6337
|
+
queuedAt: string;
|
|
6338
|
+
images?: AgentImageAttachment[] | undefined;
|
|
6339
|
+
}>, "many">>;
|
|
6131
6340
|
}, "strip", z.ZodTypeAny, {
|
|
6132
6341
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
6133
6342
|
id: string;
|
|
@@ -6185,6 +6394,12 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
|
|
|
6185
6394
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
6186
6395
|
lastTimelineAt?: string | null | undefined;
|
|
6187
6396
|
pendingPlanReview?: boolean | undefined;
|
|
6397
|
+
messageQueue?: {
|
|
6398
|
+
text: string;
|
|
6399
|
+
id: string;
|
|
6400
|
+
queuedAt: string;
|
|
6401
|
+
images?: AgentImageAttachment[] | undefined;
|
|
6402
|
+
}[] | undefined;
|
|
6188
6403
|
}, {
|
|
6189
6404
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
6190
6405
|
id: string;
|
|
@@ -6242,6 +6457,12 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
|
|
|
6242
6457
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
6243
6458
|
lastTimelineAt?: string | null | undefined;
|
|
6244
6459
|
pendingPlanReview?: boolean | undefined;
|
|
6460
|
+
messageQueue?: {
|
|
6461
|
+
text: string;
|
|
6462
|
+
id: string;
|
|
6463
|
+
queuedAt: string;
|
|
6464
|
+
images?: AgentImageAttachment[] | undefined;
|
|
6465
|
+
}[] | undefined;
|
|
6245
6466
|
}>;
|
|
6246
6467
|
} & {
|
|
6247
6468
|
agentId: z.ZodString;
|
|
@@ -6306,6 +6527,12 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
|
|
|
6306
6527
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
6307
6528
|
lastTimelineAt?: string | null | undefined;
|
|
6308
6529
|
pendingPlanReview?: boolean | undefined;
|
|
6530
|
+
messageQueue?: {
|
|
6531
|
+
text: string;
|
|
6532
|
+
id: string;
|
|
6533
|
+
queuedAt: string;
|
|
6534
|
+
images?: AgentImageAttachment[] | undefined;
|
|
6535
|
+
}[] | undefined;
|
|
6309
6536
|
};
|
|
6310
6537
|
requestId: string;
|
|
6311
6538
|
reusedExisting: boolean;
|
|
@@ -6369,6 +6596,12 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
|
|
|
6369
6596
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
6370
6597
|
lastTimelineAt?: string | null | undefined;
|
|
6371
6598
|
pendingPlanReview?: boolean | undefined;
|
|
6599
|
+
messageQueue?: {
|
|
6600
|
+
text: string;
|
|
6601
|
+
id: string;
|
|
6602
|
+
queuedAt: string;
|
|
6603
|
+
images?: AgentImageAttachment[] | undefined;
|
|
6604
|
+
}[] | undefined;
|
|
6372
6605
|
};
|
|
6373
6606
|
requestId: string;
|
|
6374
6607
|
reusedExisting: boolean;
|
|
@@ -6523,6 +6756,22 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
|
|
|
6523
6756
|
hasNonRequiredFailingChecks?: boolean | null | undefined;
|
|
6524
6757
|
} | null | undefined;
|
|
6525
6758
|
}>>>;
|
|
6759
|
+
messageQueue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6760
|
+
id: z.ZodString;
|
|
6761
|
+
text: z.ZodString;
|
|
6762
|
+
queuedAt: z.ZodString;
|
|
6763
|
+
images: z.ZodOptional<z.ZodArray<z.ZodType<AgentImageAttachment, z.ZodTypeDef, AgentImageAttachment>, "many">>;
|
|
6764
|
+
}, "strip", z.ZodTypeAny, {
|
|
6765
|
+
text: string;
|
|
6766
|
+
id: string;
|
|
6767
|
+
queuedAt: string;
|
|
6768
|
+
images?: AgentImageAttachment[] | undefined;
|
|
6769
|
+
}, {
|
|
6770
|
+
text: string;
|
|
6771
|
+
id: string;
|
|
6772
|
+
queuedAt: string;
|
|
6773
|
+
images?: AgentImageAttachment[] | undefined;
|
|
6774
|
+
}>, "many">>;
|
|
6526
6775
|
}, "strip", z.ZodTypeAny, {
|
|
6527
6776
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
6528
6777
|
id: string;
|
|
@@ -6580,6 +6829,12 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
|
|
|
6580
6829
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
6581
6830
|
lastTimelineAt?: string | null | undefined;
|
|
6582
6831
|
pendingPlanReview?: boolean | undefined;
|
|
6832
|
+
messageQueue?: {
|
|
6833
|
+
text: string;
|
|
6834
|
+
id: string;
|
|
6835
|
+
queuedAt: string;
|
|
6836
|
+
images?: AgentImageAttachment[] | undefined;
|
|
6837
|
+
}[] | undefined;
|
|
6583
6838
|
}, {
|
|
6584
6839
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
6585
6840
|
id: string;
|
|
@@ -6637,6 +6892,12 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
|
|
|
6637
6892
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
6638
6893
|
lastTimelineAt?: string | null | undefined;
|
|
6639
6894
|
pendingPlanReview?: boolean | undefined;
|
|
6895
|
+
messageQueue?: {
|
|
6896
|
+
text: string;
|
|
6897
|
+
id: string;
|
|
6898
|
+
queuedAt: string;
|
|
6899
|
+
images?: AgentImageAttachment[] | undefined;
|
|
6900
|
+
}[] | undefined;
|
|
6640
6901
|
}>;
|
|
6641
6902
|
} & {
|
|
6642
6903
|
agentId: z.ZodString;
|
|
@@ -6703,6 +6964,12 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
|
|
|
6703
6964
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
6704
6965
|
lastTimelineAt?: string | null | undefined;
|
|
6705
6966
|
pendingPlanReview?: boolean | undefined;
|
|
6967
|
+
messageQueue?: {
|
|
6968
|
+
text: string;
|
|
6969
|
+
id: string;
|
|
6970
|
+
queuedAt: string;
|
|
6971
|
+
images?: AgentImageAttachment[] | undefined;
|
|
6972
|
+
}[] | undefined;
|
|
6706
6973
|
};
|
|
6707
6974
|
requestId: string;
|
|
6708
6975
|
timelineSize?: number | undefined;
|
|
@@ -6766,6 +7033,12 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
|
|
|
6766
7033
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
6767
7034
|
lastTimelineAt?: string | null | undefined;
|
|
6768
7035
|
pendingPlanReview?: boolean | undefined;
|
|
7036
|
+
messageQueue?: {
|
|
7037
|
+
text: string;
|
|
7038
|
+
id: string;
|
|
7039
|
+
queuedAt: string;
|
|
7040
|
+
images?: AgentImageAttachment[] | undefined;
|
|
7041
|
+
}[] | undefined;
|
|
6769
7042
|
};
|
|
6770
7043
|
requestId: string;
|
|
6771
7044
|
timelineSize?: number | undefined;
|
|
@@ -7296,6 +7569,22 @@ export declare const AgentUpdateMessageSchema: z.ZodObject<{
|
|
|
7296
7569
|
hasNonRequiredFailingChecks?: boolean | null | undefined;
|
|
7297
7570
|
} | null | undefined;
|
|
7298
7571
|
}>>>;
|
|
7572
|
+
messageQueue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7573
|
+
id: z.ZodString;
|
|
7574
|
+
text: z.ZodString;
|
|
7575
|
+
queuedAt: z.ZodString;
|
|
7576
|
+
images: z.ZodOptional<z.ZodArray<z.ZodType<AgentImageAttachment, z.ZodTypeDef, AgentImageAttachment>, "many">>;
|
|
7577
|
+
}, "strip", z.ZodTypeAny, {
|
|
7578
|
+
text: string;
|
|
7579
|
+
id: string;
|
|
7580
|
+
queuedAt: string;
|
|
7581
|
+
images?: AgentImageAttachment[] | undefined;
|
|
7582
|
+
}, {
|
|
7583
|
+
text: string;
|
|
7584
|
+
id: string;
|
|
7585
|
+
queuedAt: string;
|
|
7586
|
+
images?: AgentImageAttachment[] | undefined;
|
|
7587
|
+
}>, "many">>;
|
|
7299
7588
|
}, "strip", z.ZodTypeAny, {
|
|
7300
7589
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
7301
7590
|
id: string;
|
|
@@ -7353,6 +7642,12 @@ export declare const AgentUpdateMessageSchema: z.ZodObject<{
|
|
|
7353
7642
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
7354
7643
|
lastTimelineAt?: string | null | undefined;
|
|
7355
7644
|
pendingPlanReview?: boolean | undefined;
|
|
7645
|
+
messageQueue?: {
|
|
7646
|
+
text: string;
|
|
7647
|
+
id: string;
|
|
7648
|
+
queuedAt: string;
|
|
7649
|
+
images?: AgentImageAttachment[] | undefined;
|
|
7650
|
+
}[] | undefined;
|
|
7356
7651
|
}, {
|
|
7357
7652
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
7358
7653
|
id: string;
|
|
@@ -7410,6 +7705,12 @@ export declare const AgentUpdateMessageSchema: z.ZodObject<{
|
|
|
7410
7705
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
7411
7706
|
lastTimelineAt?: string | null | undefined;
|
|
7412
7707
|
pendingPlanReview?: boolean | undefined;
|
|
7708
|
+
messageQueue?: {
|
|
7709
|
+
text: string;
|
|
7710
|
+
id: string;
|
|
7711
|
+
queuedAt: string;
|
|
7712
|
+
images?: AgentImageAttachment[] | undefined;
|
|
7713
|
+
}[] | undefined;
|
|
7413
7714
|
}>;
|
|
7414
7715
|
project: z.ZodObject<{
|
|
7415
7716
|
projectKey: z.ZodString;
|
|
@@ -7588,6 +7889,12 @@ export declare const AgentUpdateMessageSchema: z.ZodObject<{
|
|
|
7588
7889
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
7589
7890
|
lastTimelineAt?: string | null | undefined;
|
|
7590
7891
|
pendingPlanReview?: boolean | undefined;
|
|
7892
|
+
messageQueue?: {
|
|
7893
|
+
text: string;
|
|
7894
|
+
id: string;
|
|
7895
|
+
queuedAt: string;
|
|
7896
|
+
images?: AgentImageAttachment[] | undefined;
|
|
7897
|
+
}[] | undefined;
|
|
7591
7898
|
};
|
|
7592
7899
|
project: {
|
|
7593
7900
|
projectName: string;
|
|
@@ -7674,6 +7981,12 @@ export declare const AgentUpdateMessageSchema: z.ZodObject<{
|
|
|
7674
7981
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
7675
7982
|
lastTimelineAt?: string | null | undefined;
|
|
7676
7983
|
pendingPlanReview?: boolean | undefined;
|
|
7984
|
+
messageQueue?: {
|
|
7985
|
+
text: string;
|
|
7986
|
+
id: string;
|
|
7987
|
+
queuedAt: string;
|
|
7988
|
+
images?: AgentImageAttachment[] | undefined;
|
|
7989
|
+
}[] | undefined;
|
|
7677
7990
|
};
|
|
7678
7991
|
project: {
|
|
7679
7992
|
projectName: string;
|
|
@@ -7772,6 +8085,12 @@ export declare const AgentUpdateMessageSchema: z.ZodObject<{
|
|
|
7772
8085
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
7773
8086
|
lastTimelineAt?: string | null | undefined;
|
|
7774
8087
|
pendingPlanReview?: boolean | undefined;
|
|
8088
|
+
messageQueue?: {
|
|
8089
|
+
text: string;
|
|
8090
|
+
id: string;
|
|
8091
|
+
queuedAt: string;
|
|
8092
|
+
images?: AgentImageAttachment[] | undefined;
|
|
8093
|
+
}[] | undefined;
|
|
7775
8094
|
};
|
|
7776
8095
|
project: {
|
|
7777
8096
|
projectName: string;
|
|
@@ -7864,6 +8183,12 @@ export declare const AgentUpdateMessageSchema: z.ZodObject<{
|
|
|
7864
8183
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
7865
8184
|
lastTimelineAt?: string | null | undefined;
|
|
7866
8185
|
pendingPlanReview?: boolean | undefined;
|
|
8186
|
+
messageQueue?: {
|
|
8187
|
+
text: string;
|
|
8188
|
+
id: string;
|
|
8189
|
+
queuedAt: string;
|
|
8190
|
+
images?: AgentImageAttachment[] | undefined;
|
|
8191
|
+
}[] | undefined;
|
|
7867
8192
|
};
|
|
7868
8193
|
project: {
|
|
7869
8194
|
projectName: string;
|
|
@@ -8467,6 +8792,22 @@ export declare const AgentStatusMessageSchema: z.ZodObject<{
|
|
|
8467
8792
|
hasNonRequiredFailingChecks?: boolean | null | undefined;
|
|
8468
8793
|
} | null | undefined;
|
|
8469
8794
|
}>>>;
|
|
8795
|
+
messageQueue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8796
|
+
id: z.ZodString;
|
|
8797
|
+
text: z.ZodString;
|
|
8798
|
+
queuedAt: z.ZodString;
|
|
8799
|
+
images: z.ZodOptional<z.ZodArray<z.ZodType<AgentImageAttachment, z.ZodTypeDef, AgentImageAttachment>, "many">>;
|
|
8800
|
+
}, "strip", z.ZodTypeAny, {
|
|
8801
|
+
text: string;
|
|
8802
|
+
id: string;
|
|
8803
|
+
queuedAt: string;
|
|
8804
|
+
images?: AgentImageAttachment[] | undefined;
|
|
8805
|
+
}, {
|
|
8806
|
+
text: string;
|
|
8807
|
+
id: string;
|
|
8808
|
+
queuedAt: string;
|
|
8809
|
+
images?: AgentImageAttachment[] | undefined;
|
|
8810
|
+
}>, "many">>;
|
|
8470
8811
|
}, "strip", z.ZodTypeAny, {
|
|
8471
8812
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
8472
8813
|
id: string;
|
|
@@ -8524,6 +8865,12 @@ export declare const AgentStatusMessageSchema: z.ZodObject<{
|
|
|
8524
8865
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
8525
8866
|
lastTimelineAt?: string | null | undefined;
|
|
8526
8867
|
pendingPlanReview?: boolean | undefined;
|
|
8868
|
+
messageQueue?: {
|
|
8869
|
+
text: string;
|
|
8870
|
+
id: string;
|
|
8871
|
+
queuedAt: string;
|
|
8872
|
+
images?: AgentImageAttachment[] | undefined;
|
|
8873
|
+
}[] | undefined;
|
|
8527
8874
|
}, {
|
|
8528
8875
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
8529
8876
|
id: string;
|
|
@@ -8581,6 +8928,12 @@ export declare const AgentStatusMessageSchema: z.ZodObject<{
|
|
|
8581
8928
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
8582
8929
|
lastTimelineAt?: string | null | undefined;
|
|
8583
8930
|
pendingPlanReview?: boolean | undefined;
|
|
8931
|
+
messageQueue?: {
|
|
8932
|
+
text: string;
|
|
8933
|
+
id: string;
|
|
8934
|
+
queuedAt: string;
|
|
8935
|
+
images?: AgentImageAttachment[] | undefined;
|
|
8936
|
+
}[] | undefined;
|
|
8584
8937
|
}>;
|
|
8585
8938
|
}, "strip", z.ZodTypeAny, {
|
|
8586
8939
|
agentId: string;
|
|
@@ -8642,6 +8995,12 @@ export declare const AgentStatusMessageSchema: z.ZodObject<{
|
|
|
8642
8995
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
8643
8996
|
lastTimelineAt?: string | null | undefined;
|
|
8644
8997
|
pendingPlanReview?: boolean | undefined;
|
|
8998
|
+
messageQueue?: {
|
|
8999
|
+
text: string;
|
|
9000
|
+
id: string;
|
|
9001
|
+
queuedAt: string;
|
|
9002
|
+
images?: AgentImageAttachment[] | undefined;
|
|
9003
|
+
}[] | undefined;
|
|
8645
9004
|
};
|
|
8646
9005
|
}, {
|
|
8647
9006
|
agentId: string;
|
|
@@ -8703,6 +9062,12 @@ export declare const AgentStatusMessageSchema: z.ZodObject<{
|
|
|
8703
9062
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
8704
9063
|
lastTimelineAt?: string | null | undefined;
|
|
8705
9064
|
pendingPlanReview?: boolean | undefined;
|
|
9065
|
+
messageQueue?: {
|
|
9066
|
+
text: string;
|
|
9067
|
+
id: string;
|
|
9068
|
+
queuedAt: string;
|
|
9069
|
+
images?: AgentImageAttachment[] | undefined;
|
|
9070
|
+
}[] | undefined;
|
|
8706
9071
|
};
|
|
8707
9072
|
}>;
|
|
8708
9073
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8767,6 +9132,12 @@ export declare const AgentStatusMessageSchema: z.ZodObject<{
|
|
|
8767
9132
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
8768
9133
|
lastTimelineAt?: string | null | undefined;
|
|
8769
9134
|
pendingPlanReview?: boolean | undefined;
|
|
9135
|
+
messageQueue?: {
|
|
9136
|
+
text: string;
|
|
9137
|
+
id: string;
|
|
9138
|
+
queuedAt: string;
|
|
9139
|
+
images?: AgentImageAttachment[] | undefined;
|
|
9140
|
+
}[] | undefined;
|
|
8770
9141
|
};
|
|
8771
9142
|
};
|
|
8772
9143
|
}, {
|
|
@@ -8831,6 +9202,12 @@ export declare const AgentStatusMessageSchema: z.ZodObject<{
|
|
|
8831
9202
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
8832
9203
|
lastTimelineAt?: string | null | undefined;
|
|
8833
9204
|
pendingPlanReview?: boolean | undefined;
|
|
9205
|
+
messageQueue?: {
|
|
9206
|
+
text: string;
|
|
9207
|
+
id: string;
|
|
9208
|
+
queuedAt: string;
|
|
9209
|
+
images?: AgentImageAttachment[] | undefined;
|
|
9210
|
+
}[] | undefined;
|
|
8834
9211
|
};
|
|
8835
9212
|
};
|
|
8836
9213
|
}>;
|
|
@@ -8974,6 +9351,22 @@ export declare const AgentListMessageSchema: z.ZodObject<{
|
|
|
8974
9351
|
hasNonRequiredFailingChecks?: boolean | null | undefined;
|
|
8975
9352
|
} | null | undefined;
|
|
8976
9353
|
}>>>;
|
|
9354
|
+
messageQueue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9355
|
+
id: z.ZodString;
|
|
9356
|
+
text: z.ZodString;
|
|
9357
|
+
queuedAt: z.ZodString;
|
|
9358
|
+
images: z.ZodOptional<z.ZodArray<z.ZodType<AgentImageAttachment, z.ZodTypeDef, AgentImageAttachment>, "many">>;
|
|
9359
|
+
}, "strip", z.ZodTypeAny, {
|
|
9360
|
+
text: string;
|
|
9361
|
+
id: string;
|
|
9362
|
+
queuedAt: string;
|
|
9363
|
+
images?: AgentImageAttachment[] | undefined;
|
|
9364
|
+
}, {
|
|
9365
|
+
text: string;
|
|
9366
|
+
id: string;
|
|
9367
|
+
queuedAt: string;
|
|
9368
|
+
images?: AgentImageAttachment[] | undefined;
|
|
9369
|
+
}>, "many">>;
|
|
8977
9370
|
}, "strip", z.ZodTypeAny, {
|
|
8978
9371
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
8979
9372
|
id: string;
|
|
@@ -9031,6 +9424,12 @@ export declare const AgentListMessageSchema: z.ZodObject<{
|
|
|
9031
9424
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
9032
9425
|
lastTimelineAt?: string | null | undefined;
|
|
9033
9426
|
pendingPlanReview?: boolean | undefined;
|
|
9427
|
+
messageQueue?: {
|
|
9428
|
+
text: string;
|
|
9429
|
+
id: string;
|
|
9430
|
+
queuedAt: string;
|
|
9431
|
+
images?: AgentImageAttachment[] | undefined;
|
|
9432
|
+
}[] | undefined;
|
|
9034
9433
|
}, {
|
|
9035
9434
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
9036
9435
|
id: string;
|
|
@@ -9088,6 +9487,12 @@ export declare const AgentListMessageSchema: z.ZodObject<{
|
|
|
9088
9487
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
9089
9488
|
lastTimelineAt?: string | null | undefined;
|
|
9090
9489
|
pendingPlanReview?: boolean | undefined;
|
|
9490
|
+
messageQueue?: {
|
|
9491
|
+
text: string;
|
|
9492
|
+
id: string;
|
|
9493
|
+
queuedAt: string;
|
|
9494
|
+
images?: AgentImageAttachment[] | undefined;
|
|
9495
|
+
}[] | undefined;
|
|
9091
9496
|
}>, "many">;
|
|
9092
9497
|
}, "strip", z.ZodTypeAny, {
|
|
9093
9498
|
agents: {
|
|
@@ -9147,6 +9552,12 @@ export declare const AgentListMessageSchema: z.ZodObject<{
|
|
|
9147
9552
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
9148
9553
|
lastTimelineAt?: string | null | undefined;
|
|
9149
9554
|
pendingPlanReview?: boolean | undefined;
|
|
9555
|
+
messageQueue?: {
|
|
9556
|
+
text: string;
|
|
9557
|
+
id: string;
|
|
9558
|
+
queuedAt: string;
|
|
9559
|
+
images?: AgentImageAttachment[] | undefined;
|
|
9560
|
+
}[] | undefined;
|
|
9150
9561
|
}[];
|
|
9151
9562
|
}, {
|
|
9152
9563
|
agents: {
|
|
@@ -9206,6 +9617,12 @@ export declare const AgentListMessageSchema: z.ZodObject<{
|
|
|
9206
9617
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
9207
9618
|
lastTimelineAt?: string | null | undefined;
|
|
9208
9619
|
pendingPlanReview?: boolean | undefined;
|
|
9620
|
+
messageQueue?: {
|
|
9621
|
+
text: string;
|
|
9622
|
+
id: string;
|
|
9623
|
+
queuedAt: string;
|
|
9624
|
+
images?: AgentImageAttachment[] | undefined;
|
|
9625
|
+
}[] | undefined;
|
|
9209
9626
|
}[];
|
|
9210
9627
|
}>;
|
|
9211
9628
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -9268,6 +9685,12 @@ export declare const AgentListMessageSchema: z.ZodObject<{
|
|
|
9268
9685
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
9269
9686
|
lastTimelineAt?: string | null | undefined;
|
|
9270
9687
|
pendingPlanReview?: boolean | undefined;
|
|
9688
|
+
messageQueue?: {
|
|
9689
|
+
text: string;
|
|
9690
|
+
id: string;
|
|
9691
|
+
queuedAt: string;
|
|
9692
|
+
images?: AgentImageAttachment[] | undefined;
|
|
9693
|
+
}[] | undefined;
|
|
9271
9694
|
}[];
|
|
9272
9695
|
};
|
|
9273
9696
|
}, {
|
|
@@ -9330,6 +9753,12 @@ export declare const AgentListMessageSchema: z.ZodObject<{
|
|
|
9330
9753
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
9331
9754
|
lastTimelineAt?: string | null | undefined;
|
|
9332
9755
|
pendingPlanReview?: boolean | undefined;
|
|
9756
|
+
messageQueue?: {
|
|
9757
|
+
text: string;
|
|
9758
|
+
id: string;
|
|
9759
|
+
queuedAt: string;
|
|
9760
|
+
images?: AgentImageAttachment[] | undefined;
|
|
9761
|
+
}[] | undefined;
|
|
9333
9762
|
}[];
|
|
9334
9763
|
};
|
|
9335
9764
|
}>;
|
|
@@ -9476,6 +9905,22 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
|
|
|
9476
9905
|
hasNonRequiredFailingChecks?: boolean | null | undefined;
|
|
9477
9906
|
} | null | undefined;
|
|
9478
9907
|
}>>>;
|
|
9908
|
+
messageQueue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9909
|
+
id: z.ZodString;
|
|
9910
|
+
text: z.ZodString;
|
|
9911
|
+
queuedAt: z.ZodString;
|
|
9912
|
+
images: z.ZodOptional<z.ZodArray<z.ZodType<AgentImageAttachment, z.ZodTypeDef, AgentImageAttachment>, "many">>;
|
|
9913
|
+
}, "strip", z.ZodTypeAny, {
|
|
9914
|
+
text: string;
|
|
9915
|
+
id: string;
|
|
9916
|
+
queuedAt: string;
|
|
9917
|
+
images?: AgentImageAttachment[] | undefined;
|
|
9918
|
+
}, {
|
|
9919
|
+
text: string;
|
|
9920
|
+
id: string;
|
|
9921
|
+
queuedAt: string;
|
|
9922
|
+
images?: AgentImageAttachment[] | undefined;
|
|
9923
|
+
}>, "many">>;
|
|
9479
9924
|
}, "strip", z.ZodTypeAny, {
|
|
9480
9925
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
9481
9926
|
id: string;
|
|
@@ -9533,6 +9978,12 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
|
|
|
9533
9978
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
9534
9979
|
lastTimelineAt?: string | null | undefined;
|
|
9535
9980
|
pendingPlanReview?: boolean | undefined;
|
|
9981
|
+
messageQueue?: {
|
|
9982
|
+
text: string;
|
|
9983
|
+
id: string;
|
|
9984
|
+
queuedAt: string;
|
|
9985
|
+
images?: AgentImageAttachment[] | undefined;
|
|
9986
|
+
}[] | undefined;
|
|
9536
9987
|
}, {
|
|
9537
9988
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
9538
9989
|
id: string;
|
|
@@ -9590,6 +10041,12 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
|
|
|
9590
10041
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
9591
10042
|
lastTimelineAt?: string | null | undefined;
|
|
9592
10043
|
pendingPlanReview?: boolean | undefined;
|
|
10044
|
+
messageQueue?: {
|
|
10045
|
+
text: string;
|
|
10046
|
+
id: string;
|
|
10047
|
+
queuedAt: string;
|
|
10048
|
+
images?: AgentImageAttachment[] | undefined;
|
|
10049
|
+
}[] | undefined;
|
|
9593
10050
|
}>;
|
|
9594
10051
|
project: z.ZodObject<{
|
|
9595
10052
|
projectKey: z.ZodString;
|
|
@@ -9767,6 +10224,12 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
|
|
|
9767
10224
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
9768
10225
|
lastTimelineAt?: string | null | undefined;
|
|
9769
10226
|
pendingPlanReview?: boolean | undefined;
|
|
10227
|
+
messageQueue?: {
|
|
10228
|
+
text: string;
|
|
10229
|
+
id: string;
|
|
10230
|
+
queuedAt: string;
|
|
10231
|
+
images?: AgentImageAttachment[] | undefined;
|
|
10232
|
+
}[] | undefined;
|
|
9770
10233
|
};
|
|
9771
10234
|
project: {
|
|
9772
10235
|
projectName: string;
|
|
@@ -9852,6 +10315,12 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
|
|
|
9852
10315
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
9853
10316
|
lastTimelineAt?: string | null | undefined;
|
|
9854
10317
|
pendingPlanReview?: boolean | undefined;
|
|
10318
|
+
messageQueue?: {
|
|
10319
|
+
text: string;
|
|
10320
|
+
id: string;
|
|
10321
|
+
queuedAt: string;
|
|
10322
|
+
images?: AgentImageAttachment[] | undefined;
|
|
10323
|
+
}[] | undefined;
|
|
9855
10324
|
};
|
|
9856
10325
|
project: {
|
|
9857
10326
|
projectName: string;
|
|
@@ -9952,6 +10421,12 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
|
|
|
9952
10421
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
9953
10422
|
lastTimelineAt?: string | null | undefined;
|
|
9954
10423
|
pendingPlanReview?: boolean | undefined;
|
|
10424
|
+
messageQueue?: {
|
|
10425
|
+
text: string;
|
|
10426
|
+
id: string;
|
|
10427
|
+
queuedAt: string;
|
|
10428
|
+
images?: AgentImageAttachment[] | undefined;
|
|
10429
|
+
}[] | undefined;
|
|
9955
10430
|
};
|
|
9956
10431
|
project: {
|
|
9957
10432
|
projectName: string;
|
|
@@ -10046,6 +10521,12 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
|
|
|
10046
10521
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
10047
10522
|
lastTimelineAt?: string | null | undefined;
|
|
10048
10523
|
pendingPlanReview?: boolean | undefined;
|
|
10524
|
+
messageQueue?: {
|
|
10525
|
+
text: string;
|
|
10526
|
+
id: string;
|
|
10527
|
+
queuedAt: string;
|
|
10528
|
+
images?: AgentImageAttachment[] | undefined;
|
|
10529
|
+
}[] | undefined;
|
|
10049
10530
|
};
|
|
10050
10531
|
project: {
|
|
10051
10532
|
projectName: string;
|
|
@@ -10143,6 +10624,12 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
|
|
|
10143
10624
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
10144
10625
|
lastTimelineAt?: string | null | undefined;
|
|
10145
10626
|
pendingPlanReview?: boolean | undefined;
|
|
10627
|
+
messageQueue?: {
|
|
10628
|
+
text: string;
|
|
10629
|
+
id: string;
|
|
10630
|
+
queuedAt: string;
|
|
10631
|
+
images?: AgentImageAttachment[] | undefined;
|
|
10632
|
+
}[] | undefined;
|
|
10146
10633
|
};
|
|
10147
10634
|
project: {
|
|
10148
10635
|
projectName: string;
|
|
@@ -10240,6 +10727,12 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
|
|
|
10240
10727
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
10241
10728
|
lastTimelineAt?: string | null | undefined;
|
|
10242
10729
|
pendingPlanReview?: boolean | undefined;
|
|
10730
|
+
messageQueue?: {
|
|
10731
|
+
text: string;
|
|
10732
|
+
id: string;
|
|
10733
|
+
queuedAt: string;
|
|
10734
|
+
images?: AgentImageAttachment[] | undefined;
|
|
10735
|
+
}[] | undefined;
|
|
10243
10736
|
};
|
|
10244
10737
|
project: {
|
|
10245
10738
|
projectName: string;
|
|
@@ -10418,6 +10911,22 @@ export declare const FetchAgentResponseMessageSchema: z.ZodObject<{
|
|
|
10418
10911
|
hasNonRequiredFailingChecks?: boolean | null | undefined;
|
|
10419
10912
|
} | null | undefined;
|
|
10420
10913
|
}>>>;
|
|
10914
|
+
messageQueue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10915
|
+
id: z.ZodString;
|
|
10916
|
+
text: z.ZodString;
|
|
10917
|
+
queuedAt: z.ZodString;
|
|
10918
|
+
images: z.ZodOptional<z.ZodArray<z.ZodType<AgentImageAttachment, z.ZodTypeDef, AgentImageAttachment>, "many">>;
|
|
10919
|
+
}, "strip", z.ZodTypeAny, {
|
|
10920
|
+
text: string;
|
|
10921
|
+
id: string;
|
|
10922
|
+
queuedAt: string;
|
|
10923
|
+
images?: AgentImageAttachment[] | undefined;
|
|
10924
|
+
}, {
|
|
10925
|
+
text: string;
|
|
10926
|
+
id: string;
|
|
10927
|
+
queuedAt: string;
|
|
10928
|
+
images?: AgentImageAttachment[] | undefined;
|
|
10929
|
+
}>, "many">>;
|
|
10421
10930
|
}, "strip", z.ZodTypeAny, {
|
|
10422
10931
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
10423
10932
|
id: string;
|
|
@@ -10475,6 +10984,12 @@ export declare const FetchAgentResponseMessageSchema: z.ZodObject<{
|
|
|
10475
10984
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
10476
10985
|
lastTimelineAt?: string | null | undefined;
|
|
10477
10986
|
pendingPlanReview?: boolean | undefined;
|
|
10987
|
+
messageQueue?: {
|
|
10988
|
+
text: string;
|
|
10989
|
+
id: string;
|
|
10990
|
+
queuedAt: string;
|
|
10991
|
+
images?: AgentImageAttachment[] | undefined;
|
|
10992
|
+
}[] | undefined;
|
|
10478
10993
|
}, {
|
|
10479
10994
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
10480
10995
|
id: string;
|
|
@@ -10532,6 +11047,12 @@ export declare const FetchAgentResponseMessageSchema: z.ZodObject<{
|
|
|
10532
11047
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
10533
11048
|
lastTimelineAt?: string | null | undefined;
|
|
10534
11049
|
pendingPlanReview?: boolean | undefined;
|
|
11050
|
+
messageQueue?: {
|
|
11051
|
+
text: string;
|
|
11052
|
+
id: string;
|
|
11053
|
+
queuedAt: string;
|
|
11054
|
+
images?: AgentImageAttachment[] | undefined;
|
|
11055
|
+
}[] | undefined;
|
|
10535
11056
|
}>>;
|
|
10536
11057
|
project: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
10537
11058
|
projectKey: z.ZodString;
|
|
@@ -10711,6 +11232,12 @@ export declare const FetchAgentResponseMessageSchema: z.ZodObject<{
|
|
|
10711
11232
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
10712
11233
|
lastTimelineAt?: string | null | undefined;
|
|
10713
11234
|
pendingPlanReview?: boolean | undefined;
|
|
11235
|
+
messageQueue?: {
|
|
11236
|
+
text: string;
|
|
11237
|
+
id: string;
|
|
11238
|
+
queuedAt: string;
|
|
11239
|
+
images?: AgentImageAttachment[] | undefined;
|
|
11240
|
+
}[] | undefined;
|
|
10714
11241
|
} | null;
|
|
10715
11242
|
requestId: string;
|
|
10716
11243
|
project?: {
|
|
@@ -10798,6 +11325,12 @@ export declare const FetchAgentResponseMessageSchema: z.ZodObject<{
|
|
|
10798
11325
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
10799
11326
|
lastTimelineAt?: string | null | undefined;
|
|
10800
11327
|
pendingPlanReview?: boolean | undefined;
|
|
11328
|
+
messageQueue?: {
|
|
11329
|
+
text: string;
|
|
11330
|
+
id: string;
|
|
11331
|
+
queuedAt: string;
|
|
11332
|
+
images?: AgentImageAttachment[] | undefined;
|
|
11333
|
+
}[] | undefined;
|
|
10801
11334
|
} | null;
|
|
10802
11335
|
requestId: string;
|
|
10803
11336
|
project?: {
|
|
@@ -10888,6 +11421,12 @@ export declare const FetchAgentResponseMessageSchema: z.ZodObject<{
|
|
|
10888
11421
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
10889
11422
|
lastTimelineAt?: string | null | undefined;
|
|
10890
11423
|
pendingPlanReview?: boolean | undefined;
|
|
11424
|
+
messageQueue?: {
|
|
11425
|
+
text: string;
|
|
11426
|
+
id: string;
|
|
11427
|
+
queuedAt: string;
|
|
11428
|
+
images?: AgentImageAttachment[] | undefined;
|
|
11429
|
+
}[] | undefined;
|
|
10891
11430
|
} | null;
|
|
10892
11431
|
requestId: string;
|
|
10893
11432
|
project?: {
|
|
@@ -10978,6 +11517,12 @@ export declare const FetchAgentResponseMessageSchema: z.ZodObject<{
|
|
|
10978
11517
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
10979
11518
|
lastTimelineAt?: string | null | undefined;
|
|
10980
11519
|
pendingPlanReview?: boolean | undefined;
|
|
11520
|
+
messageQueue?: {
|
|
11521
|
+
text: string;
|
|
11522
|
+
id: string;
|
|
11523
|
+
queuedAt: string;
|
|
11524
|
+
images?: AgentImageAttachment[] | undefined;
|
|
11525
|
+
}[] | undefined;
|
|
10981
11526
|
} | null;
|
|
10982
11527
|
requestId: string;
|
|
10983
11528
|
project?: {
|
|
@@ -11187,6 +11732,22 @@ export declare const RestoreAgentCheckpointResponseMessageSchema: z.ZodObject<{
|
|
|
11187
11732
|
hasNonRequiredFailingChecks?: boolean | null | undefined;
|
|
11188
11733
|
} | null | undefined;
|
|
11189
11734
|
}>>>;
|
|
11735
|
+
messageQueue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11736
|
+
id: z.ZodString;
|
|
11737
|
+
text: z.ZodString;
|
|
11738
|
+
queuedAt: z.ZodString;
|
|
11739
|
+
images: z.ZodOptional<z.ZodArray<z.ZodType<AgentImageAttachment, z.ZodTypeDef, AgentImageAttachment>, "many">>;
|
|
11740
|
+
}, "strip", z.ZodTypeAny, {
|
|
11741
|
+
text: string;
|
|
11742
|
+
id: string;
|
|
11743
|
+
queuedAt: string;
|
|
11744
|
+
images?: AgentImageAttachment[] | undefined;
|
|
11745
|
+
}, {
|
|
11746
|
+
text: string;
|
|
11747
|
+
id: string;
|
|
11748
|
+
queuedAt: string;
|
|
11749
|
+
images?: AgentImageAttachment[] | undefined;
|
|
11750
|
+
}>, "many">>;
|
|
11190
11751
|
}, "strip", z.ZodTypeAny, {
|
|
11191
11752
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
11192
11753
|
id: string;
|
|
@@ -11244,6 +11805,12 @@ export declare const RestoreAgentCheckpointResponseMessageSchema: z.ZodObject<{
|
|
|
11244
11805
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
11245
11806
|
lastTimelineAt?: string | null | undefined;
|
|
11246
11807
|
pendingPlanReview?: boolean | undefined;
|
|
11808
|
+
messageQueue?: {
|
|
11809
|
+
text: string;
|
|
11810
|
+
id: string;
|
|
11811
|
+
queuedAt: string;
|
|
11812
|
+
images?: AgentImageAttachment[] | undefined;
|
|
11813
|
+
}[] | undefined;
|
|
11247
11814
|
}, {
|
|
11248
11815
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
11249
11816
|
id: string;
|
|
@@ -11301,6 +11868,12 @@ export declare const RestoreAgentCheckpointResponseMessageSchema: z.ZodObject<{
|
|
|
11301
11868
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
11302
11869
|
lastTimelineAt?: string | null | undefined;
|
|
11303
11870
|
pendingPlanReview?: boolean | undefined;
|
|
11871
|
+
messageQueue?: {
|
|
11872
|
+
text: string;
|
|
11873
|
+
id: string;
|
|
11874
|
+
queuedAt: string;
|
|
11875
|
+
images?: AgentImageAttachment[] | undefined;
|
|
11876
|
+
}[] | undefined;
|
|
11304
11877
|
}>>>;
|
|
11305
11878
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11306
11879
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -11366,6 +11939,12 @@ export declare const RestoreAgentCheckpointResponseMessageSchema: z.ZodObject<{
|
|
|
11366
11939
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
11367
11940
|
lastTimelineAt?: string | null | undefined;
|
|
11368
11941
|
pendingPlanReview?: boolean | undefined;
|
|
11942
|
+
messageQueue?: {
|
|
11943
|
+
text: string;
|
|
11944
|
+
id: string;
|
|
11945
|
+
queuedAt: string;
|
|
11946
|
+
images?: AgentImageAttachment[] | undefined;
|
|
11947
|
+
}[] | undefined;
|
|
11369
11948
|
} | null | undefined;
|
|
11370
11949
|
}, {
|
|
11371
11950
|
agentId: string;
|
|
@@ -11430,6 +12009,12 @@ export declare const RestoreAgentCheckpointResponseMessageSchema: z.ZodObject<{
|
|
|
11430
12009
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
11431
12010
|
lastTimelineAt?: string | null | undefined;
|
|
11432
12011
|
pendingPlanReview?: boolean | undefined;
|
|
12012
|
+
messageQueue?: {
|
|
12013
|
+
text: string;
|
|
12014
|
+
id: string;
|
|
12015
|
+
queuedAt: string;
|
|
12016
|
+
images?: AgentImageAttachment[] | undefined;
|
|
12017
|
+
}[] | undefined;
|
|
11433
12018
|
} | null | undefined;
|
|
11434
12019
|
}>;
|
|
11435
12020
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -11497,6 +12082,12 @@ export declare const RestoreAgentCheckpointResponseMessageSchema: z.ZodObject<{
|
|
|
11497
12082
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
11498
12083
|
lastTimelineAt?: string | null | undefined;
|
|
11499
12084
|
pendingPlanReview?: boolean | undefined;
|
|
12085
|
+
messageQueue?: {
|
|
12086
|
+
text: string;
|
|
12087
|
+
id: string;
|
|
12088
|
+
queuedAt: string;
|
|
12089
|
+
images?: AgentImageAttachment[] | undefined;
|
|
12090
|
+
}[] | undefined;
|
|
11500
12091
|
} | null | undefined;
|
|
11501
12092
|
};
|
|
11502
12093
|
}, {
|
|
@@ -11564,6 +12155,12 @@ export declare const RestoreAgentCheckpointResponseMessageSchema: z.ZodObject<{
|
|
|
11564
12155
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
11565
12156
|
lastTimelineAt?: string | null | undefined;
|
|
11566
12157
|
pendingPlanReview?: boolean | undefined;
|
|
12158
|
+
messageQueue?: {
|
|
12159
|
+
text: string;
|
|
12160
|
+
id: string;
|
|
12161
|
+
queuedAt: string;
|
|
12162
|
+
images?: AgentImageAttachment[] | undefined;
|
|
12163
|
+
}[] | undefined;
|
|
11567
12164
|
} | null | undefined;
|
|
11568
12165
|
};
|
|
11569
12166
|
}>;
|
|
@@ -12988,16 +13585,19 @@ export declare const SendAgentMessageResponseMessageSchema: z.ZodObject<{
|
|
|
12988
13585
|
agentId: z.ZodString;
|
|
12989
13586
|
accepted: z.ZodBoolean;
|
|
12990
13587
|
error: z.ZodNullable<z.ZodString>;
|
|
13588
|
+
queuePosition: z.ZodOptional<z.ZodNumber>;
|
|
12991
13589
|
}, "strip", z.ZodTypeAny, {
|
|
12992
13590
|
agentId: string;
|
|
12993
13591
|
error: string | null;
|
|
12994
13592
|
requestId: string;
|
|
12995
13593
|
accepted: boolean;
|
|
13594
|
+
queuePosition?: number | undefined;
|
|
12996
13595
|
}, {
|
|
12997
13596
|
agentId: string;
|
|
12998
13597
|
error: string | null;
|
|
12999
13598
|
requestId: string;
|
|
13000
13599
|
accepted: boolean;
|
|
13600
|
+
queuePosition?: number | undefined;
|
|
13001
13601
|
}>;
|
|
13002
13602
|
}, "strip", z.ZodTypeAny, {
|
|
13003
13603
|
type: "send_agent_message_response";
|
|
@@ -13006,6 +13606,7 @@ export declare const SendAgentMessageResponseMessageSchema: z.ZodObject<{
|
|
|
13006
13606
|
error: string | null;
|
|
13007
13607
|
requestId: string;
|
|
13008
13608
|
accepted: boolean;
|
|
13609
|
+
queuePosition?: number | undefined;
|
|
13009
13610
|
};
|
|
13010
13611
|
}, {
|
|
13011
13612
|
type: "send_agent_message_response";
|
|
@@ -13014,6 +13615,77 @@ export declare const SendAgentMessageResponseMessageSchema: z.ZodObject<{
|
|
|
13014
13615
|
error: string | null;
|
|
13015
13616
|
requestId: string;
|
|
13016
13617
|
accepted: boolean;
|
|
13618
|
+
queuePosition?: number | undefined;
|
|
13619
|
+
};
|
|
13620
|
+
}>;
|
|
13621
|
+
export declare const CancelQueuedAgentMessageResponseSchema: z.ZodObject<{
|
|
13622
|
+
type: z.ZodLiteral<"cancel_queued_agent_message_response">;
|
|
13623
|
+
payload: z.ZodObject<{
|
|
13624
|
+
requestId: z.ZodString;
|
|
13625
|
+
agentId: z.ZodString;
|
|
13626
|
+
cancelled: z.ZodBoolean;
|
|
13627
|
+
error: z.ZodNullable<z.ZodString>;
|
|
13628
|
+
}, "strip", z.ZodTypeAny, {
|
|
13629
|
+
agentId: string;
|
|
13630
|
+
error: string | null;
|
|
13631
|
+
requestId: string;
|
|
13632
|
+
cancelled: boolean;
|
|
13633
|
+
}, {
|
|
13634
|
+
agentId: string;
|
|
13635
|
+
error: string | null;
|
|
13636
|
+
requestId: string;
|
|
13637
|
+
cancelled: boolean;
|
|
13638
|
+
}>;
|
|
13639
|
+
}, "strip", z.ZodTypeAny, {
|
|
13640
|
+
type: "cancel_queued_agent_message_response";
|
|
13641
|
+
payload: {
|
|
13642
|
+
agentId: string;
|
|
13643
|
+
error: string | null;
|
|
13644
|
+
requestId: string;
|
|
13645
|
+
cancelled: boolean;
|
|
13646
|
+
};
|
|
13647
|
+
}, {
|
|
13648
|
+
type: "cancel_queued_agent_message_response";
|
|
13649
|
+
payload: {
|
|
13650
|
+
agentId: string;
|
|
13651
|
+
error: string | null;
|
|
13652
|
+
requestId: string;
|
|
13653
|
+
cancelled: boolean;
|
|
13654
|
+
};
|
|
13655
|
+
}>;
|
|
13656
|
+
export declare const SteerQueuedAgentMessageResponseSchema: z.ZodObject<{
|
|
13657
|
+
type: z.ZodLiteral<"steer_queued_agent_message_response">;
|
|
13658
|
+
payload: z.ZodObject<{
|
|
13659
|
+
requestId: z.ZodString;
|
|
13660
|
+
agentId: z.ZodString;
|
|
13661
|
+
steered: z.ZodBoolean;
|
|
13662
|
+
error: z.ZodNullable<z.ZodString>;
|
|
13663
|
+
}, "strip", z.ZodTypeAny, {
|
|
13664
|
+
agentId: string;
|
|
13665
|
+
error: string | null;
|
|
13666
|
+
steered: boolean;
|
|
13667
|
+
requestId: string;
|
|
13668
|
+
}, {
|
|
13669
|
+
agentId: string;
|
|
13670
|
+
error: string | null;
|
|
13671
|
+
steered: boolean;
|
|
13672
|
+
requestId: string;
|
|
13673
|
+
}>;
|
|
13674
|
+
}, "strip", z.ZodTypeAny, {
|
|
13675
|
+
type: "steer_queued_agent_message_response";
|
|
13676
|
+
payload: {
|
|
13677
|
+
agentId: string;
|
|
13678
|
+
error: string | null;
|
|
13679
|
+
steered: boolean;
|
|
13680
|
+
requestId: string;
|
|
13681
|
+
};
|
|
13682
|
+
}, {
|
|
13683
|
+
type: "steer_queued_agent_message_response";
|
|
13684
|
+
payload: {
|
|
13685
|
+
agentId: string;
|
|
13686
|
+
error: string | null;
|
|
13687
|
+
steered: boolean;
|
|
13688
|
+
requestId: string;
|
|
13017
13689
|
};
|
|
13018
13690
|
}>;
|
|
13019
13691
|
export declare const WaitForFinishResponseMessageSchema: z.ZodObject<{
|
|
@@ -13158,6 +13830,22 @@ export declare const WaitForFinishResponseMessageSchema: z.ZodObject<{
|
|
|
13158
13830
|
hasNonRequiredFailingChecks?: boolean | null | undefined;
|
|
13159
13831
|
} | null | undefined;
|
|
13160
13832
|
}>>>;
|
|
13833
|
+
messageQueue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
13834
|
+
id: z.ZodString;
|
|
13835
|
+
text: z.ZodString;
|
|
13836
|
+
queuedAt: z.ZodString;
|
|
13837
|
+
images: z.ZodOptional<z.ZodArray<z.ZodType<AgentImageAttachment, z.ZodTypeDef, AgentImageAttachment>, "many">>;
|
|
13838
|
+
}, "strip", z.ZodTypeAny, {
|
|
13839
|
+
text: string;
|
|
13840
|
+
id: string;
|
|
13841
|
+
queuedAt: string;
|
|
13842
|
+
images?: AgentImageAttachment[] | undefined;
|
|
13843
|
+
}, {
|
|
13844
|
+
text: string;
|
|
13845
|
+
id: string;
|
|
13846
|
+
queuedAt: string;
|
|
13847
|
+
images?: AgentImageAttachment[] | undefined;
|
|
13848
|
+
}>, "many">>;
|
|
13161
13849
|
}, "strip", z.ZodTypeAny, {
|
|
13162
13850
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
13163
13851
|
id: string;
|
|
@@ -13215,6 +13903,12 @@ export declare const WaitForFinishResponseMessageSchema: z.ZodObject<{
|
|
|
13215
13903
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
13216
13904
|
lastTimelineAt?: string | null | undefined;
|
|
13217
13905
|
pendingPlanReview?: boolean | undefined;
|
|
13906
|
+
messageQueue?: {
|
|
13907
|
+
text: string;
|
|
13908
|
+
id: string;
|
|
13909
|
+
queuedAt: string;
|
|
13910
|
+
images?: AgentImageAttachment[] | undefined;
|
|
13911
|
+
}[] | undefined;
|
|
13218
13912
|
}, {
|
|
13219
13913
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
13220
13914
|
id: string;
|
|
@@ -13272,6 +13966,12 @@ export declare const WaitForFinishResponseMessageSchema: z.ZodObject<{
|
|
|
13272
13966
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
13273
13967
|
lastTimelineAt?: string | null | undefined;
|
|
13274
13968
|
pendingPlanReview?: boolean | undefined;
|
|
13969
|
+
messageQueue?: {
|
|
13970
|
+
text: string;
|
|
13971
|
+
id: string;
|
|
13972
|
+
queuedAt: string;
|
|
13973
|
+
images?: AgentImageAttachment[] | undefined;
|
|
13974
|
+
}[] | undefined;
|
|
13275
13975
|
}>>;
|
|
13276
13976
|
error: z.ZodNullable<z.ZodString>;
|
|
13277
13977
|
lastMessage: z.ZodNullable<z.ZodString>;
|
|
@@ -13336,6 +14036,12 @@ export declare const WaitForFinishResponseMessageSchema: z.ZodObject<{
|
|
|
13336
14036
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
13337
14037
|
lastTimelineAt?: string | null | undefined;
|
|
13338
14038
|
pendingPlanReview?: boolean | undefined;
|
|
14039
|
+
messageQueue?: {
|
|
14040
|
+
text: string;
|
|
14041
|
+
id: string;
|
|
14042
|
+
queuedAt: string;
|
|
14043
|
+
images?: AgentImageAttachment[] | undefined;
|
|
14044
|
+
}[] | undefined;
|
|
13339
14045
|
} | null;
|
|
13340
14046
|
lastMessage: string | null;
|
|
13341
14047
|
}, {
|
|
@@ -13399,6 +14105,12 @@ export declare const WaitForFinishResponseMessageSchema: z.ZodObject<{
|
|
|
13399
14105
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
13400
14106
|
lastTimelineAt?: string | null | undefined;
|
|
13401
14107
|
pendingPlanReview?: boolean | undefined;
|
|
14108
|
+
messageQueue?: {
|
|
14109
|
+
text: string;
|
|
14110
|
+
id: string;
|
|
14111
|
+
queuedAt: string;
|
|
14112
|
+
images?: AgentImageAttachment[] | undefined;
|
|
14113
|
+
}[] | undefined;
|
|
13402
14114
|
} | null;
|
|
13403
14115
|
lastMessage: string | null;
|
|
13404
14116
|
}>;
|
|
@@ -13465,6 +14177,12 @@ export declare const WaitForFinishResponseMessageSchema: z.ZodObject<{
|
|
|
13465
14177
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
13466
14178
|
lastTimelineAt?: string | null | undefined;
|
|
13467
14179
|
pendingPlanReview?: boolean | undefined;
|
|
14180
|
+
messageQueue?: {
|
|
14181
|
+
text: string;
|
|
14182
|
+
id: string;
|
|
14183
|
+
queuedAt: string;
|
|
14184
|
+
images?: AgentImageAttachment[] | undefined;
|
|
14185
|
+
}[] | undefined;
|
|
13468
14186
|
} | null;
|
|
13469
14187
|
lastMessage: string | null;
|
|
13470
14188
|
};
|
|
@@ -13531,6 +14249,12 @@ export declare const WaitForFinishResponseMessageSchema: z.ZodObject<{
|
|
|
13531
14249
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
13532
14250
|
lastTimelineAt?: string | null | undefined;
|
|
13533
14251
|
pendingPlanReview?: boolean | undefined;
|
|
14252
|
+
messageQueue?: {
|
|
14253
|
+
text: string;
|
|
14254
|
+
id: string;
|
|
14255
|
+
queuedAt: string;
|
|
14256
|
+
images?: AgentImageAttachment[] | undefined;
|
|
14257
|
+
}[] | undefined;
|
|
13534
14258
|
} | null;
|
|
13535
14259
|
lastMessage: string | null;
|
|
13536
14260
|
};
|
|
@@ -19759,6 +20483,22 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
19759
20483
|
hasNonRequiredFailingChecks?: boolean | null | undefined;
|
|
19760
20484
|
} | null | undefined;
|
|
19761
20485
|
}>>>;
|
|
20486
|
+
messageQueue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
20487
|
+
id: z.ZodString;
|
|
20488
|
+
text: z.ZodString;
|
|
20489
|
+
queuedAt: z.ZodString;
|
|
20490
|
+
images: z.ZodOptional<z.ZodArray<z.ZodType<AgentImageAttachment, z.ZodTypeDef, AgentImageAttachment>, "many">>;
|
|
20491
|
+
}, "strip", z.ZodTypeAny, {
|
|
20492
|
+
text: string;
|
|
20493
|
+
id: string;
|
|
20494
|
+
queuedAt: string;
|
|
20495
|
+
images?: AgentImageAttachment[] | undefined;
|
|
20496
|
+
}, {
|
|
20497
|
+
text: string;
|
|
20498
|
+
id: string;
|
|
20499
|
+
queuedAt: string;
|
|
20500
|
+
images?: AgentImageAttachment[] | undefined;
|
|
20501
|
+
}>, "many">>;
|
|
19762
20502
|
}, "strip", z.ZodTypeAny, {
|
|
19763
20503
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
19764
20504
|
id: string;
|
|
@@ -19816,6 +20556,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
19816
20556
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
19817
20557
|
lastTimelineAt?: string | null | undefined;
|
|
19818
20558
|
pendingPlanReview?: boolean | undefined;
|
|
20559
|
+
messageQueue?: {
|
|
20560
|
+
text: string;
|
|
20561
|
+
id: string;
|
|
20562
|
+
queuedAt: string;
|
|
20563
|
+
images?: AgentImageAttachment[] | undefined;
|
|
20564
|
+
}[] | undefined;
|
|
19819
20565
|
}, {
|
|
19820
20566
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
19821
20567
|
id: string;
|
|
@@ -19873,6 +20619,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
19873
20619
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
19874
20620
|
lastTimelineAt?: string | null | undefined;
|
|
19875
20621
|
pendingPlanReview?: boolean | undefined;
|
|
20622
|
+
messageQueue?: {
|
|
20623
|
+
text: string;
|
|
20624
|
+
id: string;
|
|
20625
|
+
queuedAt: string;
|
|
20626
|
+
images?: AgentImageAttachment[] | undefined;
|
|
20627
|
+
}[] | undefined;
|
|
19876
20628
|
}>;
|
|
19877
20629
|
project: z.ZodObject<{
|
|
19878
20630
|
projectKey: z.ZodString;
|
|
@@ -20051,6 +20803,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
20051
20803
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
20052
20804
|
lastTimelineAt?: string | null | undefined;
|
|
20053
20805
|
pendingPlanReview?: boolean | undefined;
|
|
20806
|
+
messageQueue?: {
|
|
20807
|
+
text: string;
|
|
20808
|
+
id: string;
|
|
20809
|
+
queuedAt: string;
|
|
20810
|
+
images?: AgentImageAttachment[] | undefined;
|
|
20811
|
+
}[] | undefined;
|
|
20054
20812
|
};
|
|
20055
20813
|
project: {
|
|
20056
20814
|
projectName: string;
|
|
@@ -20137,6 +20895,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
20137
20895
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
20138
20896
|
lastTimelineAt?: string | null | undefined;
|
|
20139
20897
|
pendingPlanReview?: boolean | undefined;
|
|
20898
|
+
messageQueue?: {
|
|
20899
|
+
text: string;
|
|
20900
|
+
id: string;
|
|
20901
|
+
queuedAt: string;
|
|
20902
|
+
images?: AgentImageAttachment[] | undefined;
|
|
20903
|
+
}[] | undefined;
|
|
20140
20904
|
};
|
|
20141
20905
|
project: {
|
|
20142
20906
|
projectName: string;
|
|
@@ -20235,6 +20999,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
20235
20999
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
20236
21000
|
lastTimelineAt?: string | null | undefined;
|
|
20237
21001
|
pendingPlanReview?: boolean | undefined;
|
|
21002
|
+
messageQueue?: {
|
|
21003
|
+
text: string;
|
|
21004
|
+
id: string;
|
|
21005
|
+
queuedAt: string;
|
|
21006
|
+
images?: AgentImageAttachment[] | undefined;
|
|
21007
|
+
}[] | undefined;
|
|
20238
21008
|
};
|
|
20239
21009
|
project: {
|
|
20240
21010
|
projectName: string;
|
|
@@ -20327,6 +21097,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
20327
21097
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
20328
21098
|
lastTimelineAt?: string | null | undefined;
|
|
20329
21099
|
pendingPlanReview?: boolean | undefined;
|
|
21100
|
+
messageQueue?: {
|
|
21101
|
+
text: string;
|
|
21102
|
+
id: string;
|
|
21103
|
+
queuedAt: string;
|
|
21104
|
+
images?: AgentImageAttachment[] | undefined;
|
|
21105
|
+
}[] | undefined;
|
|
20330
21106
|
};
|
|
20331
21107
|
project: {
|
|
20332
21108
|
projectName: string;
|
|
@@ -20928,6 +21704,22 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
20928
21704
|
hasNonRequiredFailingChecks?: boolean | null | undefined;
|
|
20929
21705
|
} | null | undefined;
|
|
20930
21706
|
}>>>;
|
|
21707
|
+
messageQueue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
21708
|
+
id: z.ZodString;
|
|
21709
|
+
text: z.ZodString;
|
|
21710
|
+
queuedAt: z.ZodString;
|
|
21711
|
+
images: z.ZodOptional<z.ZodArray<z.ZodType<AgentImageAttachment, z.ZodTypeDef, AgentImageAttachment>, "many">>;
|
|
21712
|
+
}, "strip", z.ZodTypeAny, {
|
|
21713
|
+
text: string;
|
|
21714
|
+
id: string;
|
|
21715
|
+
queuedAt: string;
|
|
21716
|
+
images?: AgentImageAttachment[] | undefined;
|
|
21717
|
+
}, {
|
|
21718
|
+
text: string;
|
|
21719
|
+
id: string;
|
|
21720
|
+
queuedAt: string;
|
|
21721
|
+
images?: AgentImageAttachment[] | undefined;
|
|
21722
|
+
}>, "many">>;
|
|
20931
21723
|
}, "strip", z.ZodTypeAny, {
|
|
20932
21724
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
20933
21725
|
id: string;
|
|
@@ -20985,6 +21777,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
20985
21777
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
20986
21778
|
lastTimelineAt?: string | null | undefined;
|
|
20987
21779
|
pendingPlanReview?: boolean | undefined;
|
|
21780
|
+
messageQueue?: {
|
|
21781
|
+
text: string;
|
|
21782
|
+
id: string;
|
|
21783
|
+
queuedAt: string;
|
|
21784
|
+
images?: AgentImageAttachment[] | undefined;
|
|
21785
|
+
}[] | undefined;
|
|
20988
21786
|
}, {
|
|
20989
21787
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
20990
21788
|
id: string;
|
|
@@ -21042,6 +21840,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
21042
21840
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
21043
21841
|
lastTimelineAt?: string | null | undefined;
|
|
21044
21842
|
pendingPlanReview?: boolean | undefined;
|
|
21843
|
+
messageQueue?: {
|
|
21844
|
+
text: string;
|
|
21845
|
+
id: string;
|
|
21846
|
+
queuedAt: string;
|
|
21847
|
+
images?: AgentImageAttachment[] | undefined;
|
|
21848
|
+
}[] | undefined;
|
|
21045
21849
|
}>;
|
|
21046
21850
|
}, "strip", z.ZodTypeAny, {
|
|
21047
21851
|
agentId: string;
|
|
@@ -21103,6 +21907,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
21103
21907
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
21104
21908
|
lastTimelineAt?: string | null | undefined;
|
|
21105
21909
|
pendingPlanReview?: boolean | undefined;
|
|
21910
|
+
messageQueue?: {
|
|
21911
|
+
text: string;
|
|
21912
|
+
id: string;
|
|
21913
|
+
queuedAt: string;
|
|
21914
|
+
images?: AgentImageAttachment[] | undefined;
|
|
21915
|
+
}[] | undefined;
|
|
21106
21916
|
};
|
|
21107
21917
|
}, {
|
|
21108
21918
|
agentId: string;
|
|
@@ -21164,6 +21974,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
21164
21974
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
21165
21975
|
lastTimelineAt?: string | null | undefined;
|
|
21166
21976
|
pendingPlanReview?: boolean | undefined;
|
|
21977
|
+
messageQueue?: {
|
|
21978
|
+
text: string;
|
|
21979
|
+
id: string;
|
|
21980
|
+
queuedAt: string;
|
|
21981
|
+
images?: AgentImageAttachment[] | undefined;
|
|
21982
|
+
}[] | undefined;
|
|
21167
21983
|
};
|
|
21168
21984
|
}>;
|
|
21169
21985
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -21228,6 +22044,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
21228
22044
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
21229
22045
|
lastTimelineAt?: string | null | undefined;
|
|
21230
22046
|
pendingPlanReview?: boolean | undefined;
|
|
22047
|
+
messageQueue?: {
|
|
22048
|
+
text: string;
|
|
22049
|
+
id: string;
|
|
22050
|
+
queuedAt: string;
|
|
22051
|
+
images?: AgentImageAttachment[] | undefined;
|
|
22052
|
+
}[] | undefined;
|
|
21231
22053
|
};
|
|
21232
22054
|
};
|
|
21233
22055
|
}, {
|
|
@@ -21292,6 +22114,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
21292
22114
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
21293
22115
|
lastTimelineAt?: string | null | undefined;
|
|
21294
22116
|
pendingPlanReview?: boolean | undefined;
|
|
22117
|
+
messageQueue?: {
|
|
22118
|
+
text: string;
|
|
22119
|
+
id: string;
|
|
22120
|
+
queuedAt: string;
|
|
22121
|
+
images?: AgentImageAttachment[] | undefined;
|
|
22122
|
+
}[] | undefined;
|
|
21295
22123
|
};
|
|
21296
22124
|
};
|
|
21297
22125
|
}>, z.ZodObject<{
|
|
@@ -21437,6 +22265,22 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
21437
22265
|
hasNonRequiredFailingChecks?: boolean | null | undefined;
|
|
21438
22266
|
} | null | undefined;
|
|
21439
22267
|
}>>>;
|
|
22268
|
+
messageQueue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
22269
|
+
id: z.ZodString;
|
|
22270
|
+
text: z.ZodString;
|
|
22271
|
+
queuedAt: z.ZodString;
|
|
22272
|
+
images: z.ZodOptional<z.ZodArray<z.ZodType<AgentImageAttachment, z.ZodTypeDef, AgentImageAttachment>, "many">>;
|
|
22273
|
+
}, "strip", z.ZodTypeAny, {
|
|
22274
|
+
text: string;
|
|
22275
|
+
id: string;
|
|
22276
|
+
queuedAt: string;
|
|
22277
|
+
images?: AgentImageAttachment[] | undefined;
|
|
22278
|
+
}, {
|
|
22279
|
+
text: string;
|
|
22280
|
+
id: string;
|
|
22281
|
+
queuedAt: string;
|
|
22282
|
+
images?: AgentImageAttachment[] | undefined;
|
|
22283
|
+
}>, "many">>;
|
|
21440
22284
|
}, "strip", z.ZodTypeAny, {
|
|
21441
22285
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
21442
22286
|
id: string;
|
|
@@ -21494,6 +22338,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
21494
22338
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
21495
22339
|
lastTimelineAt?: string | null | undefined;
|
|
21496
22340
|
pendingPlanReview?: boolean | undefined;
|
|
22341
|
+
messageQueue?: {
|
|
22342
|
+
text: string;
|
|
22343
|
+
id: string;
|
|
22344
|
+
queuedAt: string;
|
|
22345
|
+
images?: AgentImageAttachment[] | undefined;
|
|
22346
|
+
}[] | undefined;
|
|
21497
22347
|
}, {
|
|
21498
22348
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
21499
22349
|
id: string;
|
|
@@ -21551,6 +22401,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
21551
22401
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
21552
22402
|
lastTimelineAt?: string | null | undefined;
|
|
21553
22403
|
pendingPlanReview?: boolean | undefined;
|
|
22404
|
+
messageQueue?: {
|
|
22405
|
+
text: string;
|
|
22406
|
+
id: string;
|
|
22407
|
+
queuedAt: string;
|
|
22408
|
+
images?: AgentImageAttachment[] | undefined;
|
|
22409
|
+
}[] | undefined;
|
|
21554
22410
|
}>;
|
|
21555
22411
|
project: z.ZodObject<{
|
|
21556
22412
|
projectKey: z.ZodString;
|
|
@@ -21728,6 +22584,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
21728
22584
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
21729
22585
|
lastTimelineAt?: string | null | undefined;
|
|
21730
22586
|
pendingPlanReview?: boolean | undefined;
|
|
22587
|
+
messageQueue?: {
|
|
22588
|
+
text: string;
|
|
22589
|
+
id: string;
|
|
22590
|
+
queuedAt: string;
|
|
22591
|
+
images?: AgentImageAttachment[] | undefined;
|
|
22592
|
+
}[] | undefined;
|
|
21731
22593
|
};
|
|
21732
22594
|
project: {
|
|
21733
22595
|
projectName: string;
|
|
@@ -21813,6 +22675,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
21813
22675
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
21814
22676
|
lastTimelineAt?: string | null | undefined;
|
|
21815
22677
|
pendingPlanReview?: boolean | undefined;
|
|
22678
|
+
messageQueue?: {
|
|
22679
|
+
text: string;
|
|
22680
|
+
id: string;
|
|
22681
|
+
queuedAt: string;
|
|
22682
|
+
images?: AgentImageAttachment[] | undefined;
|
|
22683
|
+
}[] | undefined;
|
|
21816
22684
|
};
|
|
21817
22685
|
project: {
|
|
21818
22686
|
projectName: string;
|
|
@@ -21913,6 +22781,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
21913
22781
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
21914
22782
|
lastTimelineAt?: string | null | undefined;
|
|
21915
22783
|
pendingPlanReview?: boolean | undefined;
|
|
22784
|
+
messageQueue?: {
|
|
22785
|
+
text: string;
|
|
22786
|
+
id: string;
|
|
22787
|
+
queuedAt: string;
|
|
22788
|
+
images?: AgentImageAttachment[] | undefined;
|
|
22789
|
+
}[] | undefined;
|
|
21916
22790
|
};
|
|
21917
22791
|
project: {
|
|
21918
22792
|
projectName: string;
|
|
@@ -22007,6 +22881,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
22007
22881
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
22008
22882
|
lastTimelineAt?: string | null | undefined;
|
|
22009
22883
|
pendingPlanReview?: boolean | undefined;
|
|
22884
|
+
messageQueue?: {
|
|
22885
|
+
text: string;
|
|
22886
|
+
id: string;
|
|
22887
|
+
queuedAt: string;
|
|
22888
|
+
images?: AgentImageAttachment[] | undefined;
|
|
22889
|
+
}[] | undefined;
|
|
22010
22890
|
};
|
|
22011
22891
|
project: {
|
|
22012
22892
|
projectName: string;
|
|
@@ -22104,6 +22984,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
22104
22984
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
22105
22985
|
lastTimelineAt?: string | null | undefined;
|
|
22106
22986
|
pendingPlanReview?: boolean | undefined;
|
|
22987
|
+
messageQueue?: {
|
|
22988
|
+
text: string;
|
|
22989
|
+
id: string;
|
|
22990
|
+
queuedAt: string;
|
|
22991
|
+
images?: AgentImageAttachment[] | undefined;
|
|
22992
|
+
}[] | undefined;
|
|
22107
22993
|
};
|
|
22108
22994
|
project: {
|
|
22109
22995
|
projectName: string;
|
|
@@ -22201,6 +23087,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
22201
23087
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
22202
23088
|
lastTimelineAt?: string | null | undefined;
|
|
22203
23089
|
pendingPlanReview?: boolean | undefined;
|
|
23090
|
+
messageQueue?: {
|
|
23091
|
+
text: string;
|
|
23092
|
+
id: string;
|
|
23093
|
+
queuedAt: string;
|
|
23094
|
+
images?: AgentImageAttachment[] | undefined;
|
|
23095
|
+
}[] | undefined;
|
|
22204
23096
|
};
|
|
22205
23097
|
project: {
|
|
22206
23098
|
projectName: string;
|
|
@@ -22378,6 +23270,22 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
22378
23270
|
hasNonRequiredFailingChecks?: boolean | null | undefined;
|
|
22379
23271
|
} | null | undefined;
|
|
22380
23272
|
}>>>;
|
|
23273
|
+
messageQueue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
23274
|
+
id: z.ZodString;
|
|
23275
|
+
text: z.ZodString;
|
|
23276
|
+
queuedAt: z.ZodString;
|
|
23277
|
+
images: z.ZodOptional<z.ZodArray<z.ZodType<AgentImageAttachment, z.ZodTypeDef, AgentImageAttachment>, "many">>;
|
|
23278
|
+
}, "strip", z.ZodTypeAny, {
|
|
23279
|
+
text: string;
|
|
23280
|
+
id: string;
|
|
23281
|
+
queuedAt: string;
|
|
23282
|
+
images?: AgentImageAttachment[] | undefined;
|
|
23283
|
+
}, {
|
|
23284
|
+
text: string;
|
|
23285
|
+
id: string;
|
|
23286
|
+
queuedAt: string;
|
|
23287
|
+
images?: AgentImageAttachment[] | undefined;
|
|
23288
|
+
}>, "many">>;
|
|
22381
23289
|
}, "strip", z.ZodTypeAny, {
|
|
22382
23290
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
22383
23291
|
id: string;
|
|
@@ -22435,6 +23343,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
22435
23343
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
22436
23344
|
lastTimelineAt?: string | null | undefined;
|
|
22437
23345
|
pendingPlanReview?: boolean | undefined;
|
|
23346
|
+
messageQueue?: {
|
|
23347
|
+
text: string;
|
|
23348
|
+
id: string;
|
|
23349
|
+
queuedAt: string;
|
|
23350
|
+
images?: AgentImageAttachment[] | undefined;
|
|
23351
|
+
}[] | undefined;
|
|
22438
23352
|
}, {
|
|
22439
23353
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
22440
23354
|
id: string;
|
|
@@ -22492,6 +23406,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
22492
23406
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
22493
23407
|
lastTimelineAt?: string | null | undefined;
|
|
22494
23408
|
pendingPlanReview?: boolean | undefined;
|
|
23409
|
+
messageQueue?: {
|
|
23410
|
+
text: string;
|
|
23411
|
+
id: string;
|
|
23412
|
+
queuedAt: string;
|
|
23413
|
+
images?: AgentImageAttachment[] | undefined;
|
|
23414
|
+
}[] | undefined;
|
|
22495
23415
|
}>>;
|
|
22496
23416
|
project: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
22497
23417
|
projectKey: z.ZodString;
|
|
@@ -22671,6 +23591,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
22671
23591
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
22672
23592
|
lastTimelineAt?: string | null | undefined;
|
|
22673
23593
|
pendingPlanReview?: boolean | undefined;
|
|
23594
|
+
messageQueue?: {
|
|
23595
|
+
text: string;
|
|
23596
|
+
id: string;
|
|
23597
|
+
queuedAt: string;
|
|
23598
|
+
images?: AgentImageAttachment[] | undefined;
|
|
23599
|
+
}[] | undefined;
|
|
22674
23600
|
} | null;
|
|
22675
23601
|
requestId: string;
|
|
22676
23602
|
project?: {
|
|
@@ -22758,6 +23684,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
22758
23684
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
22759
23685
|
lastTimelineAt?: string | null | undefined;
|
|
22760
23686
|
pendingPlanReview?: boolean | undefined;
|
|
23687
|
+
messageQueue?: {
|
|
23688
|
+
text: string;
|
|
23689
|
+
id: string;
|
|
23690
|
+
queuedAt: string;
|
|
23691
|
+
images?: AgentImageAttachment[] | undefined;
|
|
23692
|
+
}[] | undefined;
|
|
22761
23693
|
} | null;
|
|
22762
23694
|
requestId: string;
|
|
22763
23695
|
project?: {
|
|
@@ -22848,6 +23780,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
22848
23780
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
22849
23781
|
lastTimelineAt?: string | null | undefined;
|
|
22850
23782
|
pendingPlanReview?: boolean | undefined;
|
|
23783
|
+
messageQueue?: {
|
|
23784
|
+
text: string;
|
|
23785
|
+
id: string;
|
|
23786
|
+
queuedAt: string;
|
|
23787
|
+
images?: AgentImageAttachment[] | undefined;
|
|
23788
|
+
}[] | undefined;
|
|
22851
23789
|
} | null;
|
|
22852
23790
|
requestId: string;
|
|
22853
23791
|
project?: {
|
|
@@ -22938,6 +23876,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
22938
23876
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
22939
23877
|
lastTimelineAt?: string | null | undefined;
|
|
22940
23878
|
pendingPlanReview?: boolean | undefined;
|
|
23879
|
+
messageQueue?: {
|
|
23880
|
+
text: string;
|
|
23881
|
+
id: string;
|
|
23882
|
+
queuedAt: string;
|
|
23883
|
+
images?: AgentImageAttachment[] | undefined;
|
|
23884
|
+
}[] | undefined;
|
|
22941
23885
|
} | null;
|
|
22942
23886
|
requestId: string;
|
|
22943
23887
|
project?: {
|
|
@@ -23145,6 +24089,22 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
23145
24089
|
hasNonRequiredFailingChecks?: boolean | null | undefined;
|
|
23146
24090
|
} | null | undefined;
|
|
23147
24091
|
}>>>;
|
|
24092
|
+
messageQueue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
24093
|
+
id: z.ZodString;
|
|
24094
|
+
text: z.ZodString;
|
|
24095
|
+
queuedAt: z.ZodString;
|
|
24096
|
+
images: z.ZodOptional<z.ZodArray<z.ZodType<AgentImageAttachment, z.ZodTypeDef, AgentImageAttachment>, "many">>;
|
|
24097
|
+
}, "strip", z.ZodTypeAny, {
|
|
24098
|
+
text: string;
|
|
24099
|
+
id: string;
|
|
24100
|
+
queuedAt: string;
|
|
24101
|
+
images?: AgentImageAttachment[] | undefined;
|
|
24102
|
+
}, {
|
|
24103
|
+
text: string;
|
|
24104
|
+
id: string;
|
|
24105
|
+
queuedAt: string;
|
|
24106
|
+
images?: AgentImageAttachment[] | undefined;
|
|
24107
|
+
}>, "many">>;
|
|
23148
24108
|
}, "strip", z.ZodTypeAny, {
|
|
23149
24109
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
23150
24110
|
id: string;
|
|
@@ -23202,6 +24162,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
23202
24162
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
23203
24163
|
lastTimelineAt?: string | null | undefined;
|
|
23204
24164
|
pendingPlanReview?: boolean | undefined;
|
|
24165
|
+
messageQueue?: {
|
|
24166
|
+
text: string;
|
|
24167
|
+
id: string;
|
|
24168
|
+
queuedAt: string;
|
|
24169
|
+
images?: AgentImageAttachment[] | undefined;
|
|
24170
|
+
}[] | undefined;
|
|
23205
24171
|
}, {
|
|
23206
24172
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
23207
24173
|
id: string;
|
|
@@ -23259,6 +24225,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
23259
24225
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
23260
24226
|
lastTimelineAt?: string | null | undefined;
|
|
23261
24227
|
pendingPlanReview?: boolean | undefined;
|
|
24228
|
+
messageQueue?: {
|
|
24229
|
+
text: string;
|
|
24230
|
+
id: string;
|
|
24231
|
+
queuedAt: string;
|
|
24232
|
+
images?: AgentImageAttachment[] | undefined;
|
|
24233
|
+
}[] | undefined;
|
|
23262
24234
|
}>>>;
|
|
23263
24235
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23264
24236
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -23324,6 +24296,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
23324
24296
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
23325
24297
|
lastTimelineAt?: string | null | undefined;
|
|
23326
24298
|
pendingPlanReview?: boolean | undefined;
|
|
24299
|
+
messageQueue?: {
|
|
24300
|
+
text: string;
|
|
24301
|
+
id: string;
|
|
24302
|
+
queuedAt: string;
|
|
24303
|
+
images?: AgentImageAttachment[] | undefined;
|
|
24304
|
+
}[] | undefined;
|
|
23327
24305
|
} | null | undefined;
|
|
23328
24306
|
}, {
|
|
23329
24307
|
agentId: string;
|
|
@@ -23388,6 +24366,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
23388
24366
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
23389
24367
|
lastTimelineAt?: string | null | undefined;
|
|
23390
24368
|
pendingPlanReview?: boolean | undefined;
|
|
24369
|
+
messageQueue?: {
|
|
24370
|
+
text: string;
|
|
24371
|
+
id: string;
|
|
24372
|
+
queuedAt: string;
|
|
24373
|
+
images?: AgentImageAttachment[] | undefined;
|
|
24374
|
+
}[] | undefined;
|
|
23391
24375
|
} | null | undefined;
|
|
23392
24376
|
}>;
|
|
23393
24377
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -23455,6 +24439,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
23455
24439
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
23456
24440
|
lastTimelineAt?: string | null | undefined;
|
|
23457
24441
|
pendingPlanReview?: boolean | undefined;
|
|
24442
|
+
messageQueue?: {
|
|
24443
|
+
text: string;
|
|
24444
|
+
id: string;
|
|
24445
|
+
queuedAt: string;
|
|
24446
|
+
images?: AgentImageAttachment[] | undefined;
|
|
24447
|
+
}[] | undefined;
|
|
23458
24448
|
} | null | undefined;
|
|
23459
24449
|
};
|
|
23460
24450
|
}, {
|
|
@@ -23522,6 +24512,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
23522
24512
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
23523
24513
|
lastTimelineAt?: string | null | undefined;
|
|
23524
24514
|
pendingPlanReview?: boolean | undefined;
|
|
24515
|
+
messageQueue?: {
|
|
24516
|
+
text: string;
|
|
24517
|
+
id: string;
|
|
24518
|
+
queuedAt: string;
|
|
24519
|
+
images?: AgentImageAttachment[] | undefined;
|
|
24520
|
+
}[] | undefined;
|
|
23525
24521
|
} | null | undefined;
|
|
23526
24522
|
};
|
|
23527
24523
|
}>, z.ZodObject<{
|
|
@@ -24899,16 +25895,19 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
24899
25895
|
agentId: z.ZodString;
|
|
24900
25896
|
accepted: z.ZodBoolean;
|
|
24901
25897
|
error: z.ZodNullable<z.ZodString>;
|
|
25898
|
+
queuePosition: z.ZodOptional<z.ZodNumber>;
|
|
24902
25899
|
}, "strip", z.ZodTypeAny, {
|
|
24903
25900
|
agentId: string;
|
|
24904
25901
|
error: string | null;
|
|
24905
25902
|
requestId: string;
|
|
24906
25903
|
accepted: boolean;
|
|
25904
|
+
queuePosition?: number | undefined;
|
|
24907
25905
|
}, {
|
|
24908
25906
|
agentId: string;
|
|
24909
25907
|
error: string | null;
|
|
24910
25908
|
requestId: string;
|
|
24911
25909
|
accepted: boolean;
|
|
25910
|
+
queuePosition?: number | undefined;
|
|
24912
25911
|
}>;
|
|
24913
25912
|
}, "strip", z.ZodTypeAny, {
|
|
24914
25913
|
type: "send_agent_message_response";
|
|
@@ -24917,6 +25916,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
24917
25916
|
error: string | null;
|
|
24918
25917
|
requestId: string;
|
|
24919
25918
|
accepted: boolean;
|
|
25919
|
+
queuePosition?: number | undefined;
|
|
24920
25920
|
};
|
|
24921
25921
|
}, {
|
|
24922
25922
|
type: "send_agent_message_response";
|
|
@@ -24925,6 +25925,75 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
24925
25925
|
error: string | null;
|
|
24926
25926
|
requestId: string;
|
|
24927
25927
|
accepted: boolean;
|
|
25928
|
+
queuePosition?: number | undefined;
|
|
25929
|
+
};
|
|
25930
|
+
}>, z.ZodObject<{
|
|
25931
|
+
type: z.ZodLiteral<"cancel_queued_agent_message_response">;
|
|
25932
|
+
payload: z.ZodObject<{
|
|
25933
|
+
requestId: z.ZodString;
|
|
25934
|
+
agentId: z.ZodString;
|
|
25935
|
+
cancelled: z.ZodBoolean;
|
|
25936
|
+
error: z.ZodNullable<z.ZodString>;
|
|
25937
|
+
}, "strip", z.ZodTypeAny, {
|
|
25938
|
+
agentId: string;
|
|
25939
|
+
error: string | null;
|
|
25940
|
+
requestId: string;
|
|
25941
|
+
cancelled: boolean;
|
|
25942
|
+
}, {
|
|
25943
|
+
agentId: string;
|
|
25944
|
+
error: string | null;
|
|
25945
|
+
requestId: string;
|
|
25946
|
+
cancelled: boolean;
|
|
25947
|
+
}>;
|
|
25948
|
+
}, "strip", z.ZodTypeAny, {
|
|
25949
|
+
type: "cancel_queued_agent_message_response";
|
|
25950
|
+
payload: {
|
|
25951
|
+
agentId: string;
|
|
25952
|
+
error: string | null;
|
|
25953
|
+
requestId: string;
|
|
25954
|
+
cancelled: boolean;
|
|
25955
|
+
};
|
|
25956
|
+
}, {
|
|
25957
|
+
type: "cancel_queued_agent_message_response";
|
|
25958
|
+
payload: {
|
|
25959
|
+
agentId: string;
|
|
25960
|
+
error: string | null;
|
|
25961
|
+
requestId: string;
|
|
25962
|
+
cancelled: boolean;
|
|
25963
|
+
};
|
|
25964
|
+
}>, z.ZodObject<{
|
|
25965
|
+
type: z.ZodLiteral<"steer_queued_agent_message_response">;
|
|
25966
|
+
payload: z.ZodObject<{
|
|
25967
|
+
requestId: z.ZodString;
|
|
25968
|
+
agentId: z.ZodString;
|
|
25969
|
+
steered: z.ZodBoolean;
|
|
25970
|
+
error: z.ZodNullable<z.ZodString>;
|
|
25971
|
+
}, "strip", z.ZodTypeAny, {
|
|
25972
|
+
agentId: string;
|
|
25973
|
+
error: string | null;
|
|
25974
|
+
steered: boolean;
|
|
25975
|
+
requestId: string;
|
|
25976
|
+
}, {
|
|
25977
|
+
agentId: string;
|
|
25978
|
+
error: string | null;
|
|
25979
|
+
steered: boolean;
|
|
25980
|
+
requestId: string;
|
|
25981
|
+
}>;
|
|
25982
|
+
}, "strip", z.ZodTypeAny, {
|
|
25983
|
+
type: "steer_queued_agent_message_response";
|
|
25984
|
+
payload: {
|
|
25985
|
+
agentId: string;
|
|
25986
|
+
error: string | null;
|
|
25987
|
+
steered: boolean;
|
|
25988
|
+
requestId: string;
|
|
25989
|
+
};
|
|
25990
|
+
}, {
|
|
25991
|
+
type: "steer_queued_agent_message_response";
|
|
25992
|
+
payload: {
|
|
25993
|
+
agentId: string;
|
|
25994
|
+
error: string | null;
|
|
25995
|
+
steered: boolean;
|
|
25996
|
+
requestId: string;
|
|
24928
25997
|
};
|
|
24929
25998
|
}>, z.ZodObject<{
|
|
24930
25999
|
type: z.ZodLiteral<"set_agent_mode_response">;
|
|
@@ -25238,6 +26307,22 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
25238
26307
|
hasNonRequiredFailingChecks?: boolean | null | undefined;
|
|
25239
26308
|
} | null | undefined;
|
|
25240
26309
|
}>>>;
|
|
26310
|
+
messageQueue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
26311
|
+
id: z.ZodString;
|
|
26312
|
+
text: z.ZodString;
|
|
26313
|
+
queuedAt: z.ZodString;
|
|
26314
|
+
images: z.ZodOptional<z.ZodArray<z.ZodType<AgentImageAttachment, z.ZodTypeDef, AgentImageAttachment>, "many">>;
|
|
26315
|
+
}, "strip", z.ZodTypeAny, {
|
|
26316
|
+
text: string;
|
|
26317
|
+
id: string;
|
|
26318
|
+
queuedAt: string;
|
|
26319
|
+
images?: AgentImageAttachment[] | undefined;
|
|
26320
|
+
}, {
|
|
26321
|
+
text: string;
|
|
26322
|
+
id: string;
|
|
26323
|
+
queuedAt: string;
|
|
26324
|
+
images?: AgentImageAttachment[] | undefined;
|
|
26325
|
+
}>, "many">>;
|
|
25241
26326
|
}, "strip", z.ZodTypeAny, {
|
|
25242
26327
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
25243
26328
|
id: string;
|
|
@@ -25295,6 +26380,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
25295
26380
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
25296
26381
|
lastTimelineAt?: string | null | undefined;
|
|
25297
26382
|
pendingPlanReview?: boolean | undefined;
|
|
26383
|
+
messageQueue?: {
|
|
26384
|
+
text: string;
|
|
26385
|
+
id: string;
|
|
26386
|
+
queuedAt: string;
|
|
26387
|
+
images?: AgentImageAttachment[] | undefined;
|
|
26388
|
+
}[] | undefined;
|
|
25298
26389
|
}, {
|
|
25299
26390
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
25300
26391
|
id: string;
|
|
@@ -25352,6 +26443,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
25352
26443
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
25353
26444
|
lastTimelineAt?: string | null | undefined;
|
|
25354
26445
|
pendingPlanReview?: boolean | undefined;
|
|
26446
|
+
messageQueue?: {
|
|
26447
|
+
text: string;
|
|
26448
|
+
id: string;
|
|
26449
|
+
queuedAt: string;
|
|
26450
|
+
images?: AgentImageAttachment[] | undefined;
|
|
26451
|
+
}[] | undefined;
|
|
25355
26452
|
}>>;
|
|
25356
26453
|
error: z.ZodNullable<z.ZodString>;
|
|
25357
26454
|
lastMessage: z.ZodNullable<z.ZodString>;
|
|
@@ -25416,6 +26513,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
25416
26513
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
25417
26514
|
lastTimelineAt?: string | null | undefined;
|
|
25418
26515
|
pendingPlanReview?: boolean | undefined;
|
|
26516
|
+
messageQueue?: {
|
|
26517
|
+
text: string;
|
|
26518
|
+
id: string;
|
|
26519
|
+
queuedAt: string;
|
|
26520
|
+
images?: AgentImageAttachment[] | undefined;
|
|
26521
|
+
}[] | undefined;
|
|
25419
26522
|
} | null;
|
|
25420
26523
|
lastMessage: string | null;
|
|
25421
26524
|
}, {
|
|
@@ -25479,6 +26582,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
25479
26582
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
25480
26583
|
lastTimelineAt?: string | null | undefined;
|
|
25481
26584
|
pendingPlanReview?: boolean | undefined;
|
|
26585
|
+
messageQueue?: {
|
|
26586
|
+
text: string;
|
|
26587
|
+
id: string;
|
|
26588
|
+
queuedAt: string;
|
|
26589
|
+
images?: AgentImageAttachment[] | undefined;
|
|
26590
|
+
}[] | undefined;
|
|
25482
26591
|
} | null;
|
|
25483
26592
|
lastMessage: string | null;
|
|
25484
26593
|
}>;
|
|
@@ -25545,6 +26654,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
25545
26654
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
25546
26655
|
lastTimelineAt?: string | null | undefined;
|
|
25547
26656
|
pendingPlanReview?: boolean | undefined;
|
|
26657
|
+
messageQueue?: {
|
|
26658
|
+
text: string;
|
|
26659
|
+
id: string;
|
|
26660
|
+
queuedAt: string;
|
|
26661
|
+
images?: AgentImageAttachment[] | undefined;
|
|
26662
|
+
}[] | undefined;
|
|
25548
26663
|
} | null;
|
|
25549
26664
|
lastMessage: string | null;
|
|
25550
26665
|
};
|
|
@@ -25611,6 +26726,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
25611
26726
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
25612
26727
|
lastTimelineAt?: string | null | undefined;
|
|
25613
26728
|
pendingPlanReview?: boolean | undefined;
|
|
26729
|
+
messageQueue?: {
|
|
26730
|
+
text: string;
|
|
26731
|
+
id: string;
|
|
26732
|
+
queuedAt: string;
|
|
26733
|
+
images?: AgentImageAttachment[] | undefined;
|
|
26734
|
+
}[] | undefined;
|
|
25614
26735
|
} | null;
|
|
25615
26736
|
lastMessage: string | null;
|
|
25616
26737
|
};
|
|
@@ -31295,6 +32416,10 @@ export type ProviderChildThreadsChangedMessage = z.infer<typeof ProviderChildThr
|
|
|
31295
32416
|
export type FetchProviderThreadTimelineResponseMessage = z.infer<typeof FetchProviderThreadTimelineResponseMessageSchema>;
|
|
31296
32417
|
export type FetchAgentTimelineResponseMessage = z.infer<typeof FetchAgentTimelineResponseMessageSchema>;
|
|
31297
32418
|
export type SendAgentMessageResponseMessage = z.infer<typeof SendAgentMessageResponseMessageSchema>;
|
|
32419
|
+
export type CancelQueuedAgentMessageRequest = z.infer<typeof CancelQueuedAgentMessageRequestSchema>;
|
|
32420
|
+
export type CancelQueuedAgentMessageResponse = z.infer<typeof CancelQueuedAgentMessageResponseSchema>;
|
|
32421
|
+
export type SteerQueuedAgentMessageRequest = z.infer<typeof SteerQueuedAgentMessageRequestSchema>;
|
|
32422
|
+
export type SteerQueuedAgentMessageResponse = z.infer<typeof SteerQueuedAgentMessageResponseSchema>;
|
|
31298
32423
|
export type SetAgentPlanModeResponseMessage = z.infer<typeof SetAgentPlanModeResponseMessageSchema>;
|
|
31299
32424
|
export type UpdateAgentResponseMessage = z.infer<typeof UpdateAgentResponseMessageSchema>;
|
|
31300
32425
|
export type WaitForFinishResponseMessage = z.infer<typeof WaitForFinishResponseMessageSchema>;
|
|
@@ -31767,13 +32892,14 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
31767
32892
|
resumeFrom?: AgentPersistenceHandle | null | undefined;
|
|
31768
32893
|
maxThinkingTokens?: number | undefined;
|
|
31769
32894
|
}>>;
|
|
32895
|
+
deliveryMode: z.ZodOptional<z.ZodEnum<["interrupt", "queue"]>>;
|
|
31770
32896
|
}, "strip", z.ZodTypeAny, {
|
|
31771
32897
|
agentId: string;
|
|
31772
32898
|
text: string;
|
|
31773
32899
|
type: "send_agent_message_request";
|
|
31774
32900
|
requestId: string;
|
|
31775
|
-
messageId?: string | undefined;
|
|
31776
32901
|
images?: AgentImageAttachment[] | undefined;
|
|
32902
|
+
messageId?: string | undefined;
|
|
31777
32903
|
suppressHistory?: boolean | undefined;
|
|
31778
32904
|
runOptions?: {
|
|
31779
32905
|
extra?: {
|
|
@@ -31785,13 +32911,14 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
31785
32911
|
resumeFrom?: AgentPersistenceHandle | null | undefined;
|
|
31786
32912
|
maxThinkingTokens?: number | undefined;
|
|
31787
32913
|
} | undefined;
|
|
32914
|
+
deliveryMode?: "interrupt" | "queue" | undefined;
|
|
31788
32915
|
}, {
|
|
31789
32916
|
agentId: string;
|
|
31790
32917
|
text: string;
|
|
31791
32918
|
type: "send_agent_message_request";
|
|
31792
32919
|
requestId: string;
|
|
31793
|
-
messageId?: string | undefined;
|
|
31794
32920
|
images?: AgentImageAttachment[] | undefined;
|
|
32921
|
+
messageId?: string | undefined;
|
|
31795
32922
|
suppressHistory?: boolean | undefined;
|
|
31796
32923
|
runOptions?: {
|
|
31797
32924
|
extra?: {
|
|
@@ -31803,6 +32930,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
31803
32930
|
resumeFrom?: AgentPersistenceHandle | null | undefined;
|
|
31804
32931
|
maxThinkingTokens?: number | undefined;
|
|
31805
32932
|
} | undefined;
|
|
32933
|
+
deliveryMode?: "interrupt" | "queue" | undefined;
|
|
31806
32934
|
}>, z.ZodObject<{
|
|
31807
32935
|
type: z.ZodLiteral<"wait_for_finish_request">;
|
|
31808
32936
|
requestId: z.ZodString;
|
|
@@ -32123,8 +33251,8 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
32123
33251
|
attachBranchSource?: "local" | "remote" | undefined;
|
|
32124
33252
|
} | undefined;
|
|
32125
33253
|
parentAgentId?: string | null | undefined;
|
|
32126
|
-
generalPreferencesApplied?: boolean | undefined;
|
|
32127
33254
|
images?: AgentImageAttachment[] | undefined;
|
|
33255
|
+
generalPreferencesApplied?: boolean | undefined;
|
|
32128
33256
|
outputSchema?: Record<string, unknown> | undefined;
|
|
32129
33257
|
worktreeName?: string | undefined;
|
|
32130
33258
|
initialPrompt?: string | undefined;
|
|
@@ -32187,8 +33315,8 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
32187
33315
|
} | undefined;
|
|
32188
33316
|
parentAgentId?: string | null | undefined;
|
|
32189
33317
|
labels?: Record<string, string> | undefined;
|
|
32190
|
-
generalPreferencesApplied?: boolean | undefined;
|
|
32191
33318
|
images?: AgentImageAttachment[] | undefined;
|
|
33319
|
+
generalPreferencesApplied?: boolean | undefined;
|
|
32192
33320
|
outputSchema?: Record<string, unknown> | undefined;
|
|
32193
33321
|
worktreeName?: string | undefined;
|
|
32194
33322
|
initialPrompt?: string | undefined;
|
|
@@ -33504,6 +34632,36 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
33504
34632
|
type: "detach_terminal_stream_request";
|
|
33505
34633
|
requestId: string;
|
|
33506
34634
|
streamId: number;
|
|
34635
|
+
}>, z.ZodObject<{
|
|
34636
|
+
type: z.ZodLiteral<"cancel_queued_agent_message_request">;
|
|
34637
|
+
requestId: z.ZodString;
|
|
34638
|
+
agentId: z.ZodString;
|
|
34639
|
+
messageId: z.ZodString;
|
|
34640
|
+
}, "strip", z.ZodTypeAny, {
|
|
34641
|
+
agentId: string;
|
|
34642
|
+
type: "cancel_queued_agent_message_request";
|
|
34643
|
+
requestId: string;
|
|
34644
|
+
messageId: string;
|
|
34645
|
+
}, {
|
|
34646
|
+
agentId: string;
|
|
34647
|
+
type: "cancel_queued_agent_message_request";
|
|
34648
|
+
requestId: string;
|
|
34649
|
+
messageId: string;
|
|
34650
|
+
}>, z.ZodObject<{
|
|
34651
|
+
type: z.ZodLiteral<"steer_queued_agent_message_request">;
|
|
34652
|
+
requestId: z.ZodString;
|
|
34653
|
+
agentId: z.ZodString;
|
|
34654
|
+
messageId: z.ZodString;
|
|
34655
|
+
}, "strip", z.ZodTypeAny, {
|
|
34656
|
+
agentId: string;
|
|
34657
|
+
type: "steer_queued_agent_message_request";
|
|
34658
|
+
requestId: string;
|
|
34659
|
+
messageId: string;
|
|
34660
|
+
}, {
|
|
34661
|
+
agentId: string;
|
|
34662
|
+
type: "steer_queued_agent_message_request";
|
|
34663
|
+
requestId: string;
|
|
34664
|
+
messageId: string;
|
|
33507
34665
|
}>]>;
|
|
33508
34666
|
}, "strip", z.ZodTypeAny, {
|
|
33509
34667
|
message: {
|
|
@@ -33567,8 +34725,8 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
33567
34725
|
text: string;
|
|
33568
34726
|
type: "send_agent_message_request";
|
|
33569
34727
|
requestId: string;
|
|
33570
|
-
messageId?: string | undefined;
|
|
33571
34728
|
images?: AgentImageAttachment[] | undefined;
|
|
34729
|
+
messageId?: string | undefined;
|
|
33572
34730
|
suppressHistory?: boolean | undefined;
|
|
33573
34731
|
runOptions?: {
|
|
33574
34732
|
extra?: {
|
|
@@ -33580,6 +34738,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
33580
34738
|
resumeFrom?: AgentPersistenceHandle | null | undefined;
|
|
33581
34739
|
maxThinkingTokens?: number | undefined;
|
|
33582
34740
|
} | undefined;
|
|
34741
|
+
deliveryMode?: "interrupt" | "queue" | undefined;
|
|
33583
34742
|
} | {
|
|
33584
34743
|
agentId: string;
|
|
33585
34744
|
type: "wait_for_finish_request";
|
|
@@ -33649,8 +34808,8 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
33649
34808
|
attachBranchSource?: "local" | "remote" | undefined;
|
|
33650
34809
|
} | undefined;
|
|
33651
34810
|
parentAgentId?: string | null | undefined;
|
|
33652
|
-
generalPreferencesApplied?: boolean | undefined;
|
|
33653
34811
|
images?: AgentImageAttachment[] | undefined;
|
|
34812
|
+
generalPreferencesApplied?: boolean | undefined;
|
|
33654
34813
|
outputSchema?: Record<string, unknown> | undefined;
|
|
33655
34814
|
worktreeName?: string | undefined;
|
|
33656
34815
|
initialPrompt?: string | undefined;
|
|
@@ -34052,6 +35211,16 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
34052
35211
|
type: "detach_terminal_stream_request";
|
|
34053
35212
|
requestId: string;
|
|
34054
35213
|
streamId: number;
|
|
35214
|
+
} | {
|
|
35215
|
+
agentId: string;
|
|
35216
|
+
type: "cancel_queued_agent_message_request";
|
|
35217
|
+
requestId: string;
|
|
35218
|
+
messageId: string;
|
|
35219
|
+
} | {
|
|
35220
|
+
agentId: string;
|
|
35221
|
+
type: "steer_queued_agent_message_request";
|
|
35222
|
+
requestId: string;
|
|
35223
|
+
messageId: string;
|
|
34055
35224
|
};
|
|
34056
35225
|
type: "session";
|
|
34057
35226
|
}, {
|
|
@@ -34116,8 +35285,8 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
34116
35285
|
text: string;
|
|
34117
35286
|
type: "send_agent_message_request";
|
|
34118
35287
|
requestId: string;
|
|
34119
|
-
messageId?: string | undefined;
|
|
34120
35288
|
images?: AgentImageAttachment[] | undefined;
|
|
35289
|
+
messageId?: string | undefined;
|
|
34121
35290
|
suppressHistory?: boolean | undefined;
|
|
34122
35291
|
runOptions?: {
|
|
34123
35292
|
extra?: {
|
|
@@ -34129,6 +35298,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
34129
35298
|
resumeFrom?: AgentPersistenceHandle | null | undefined;
|
|
34130
35299
|
maxThinkingTokens?: number | undefined;
|
|
34131
35300
|
} | undefined;
|
|
35301
|
+
deliveryMode?: "interrupt" | "queue" | undefined;
|
|
34132
35302
|
} | {
|
|
34133
35303
|
agentId: string;
|
|
34134
35304
|
type: "wait_for_finish_request";
|
|
@@ -34198,8 +35368,8 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
34198
35368
|
} | undefined;
|
|
34199
35369
|
parentAgentId?: string | null | undefined;
|
|
34200
35370
|
labels?: Record<string, string> | undefined;
|
|
34201
|
-
generalPreferencesApplied?: boolean | undefined;
|
|
34202
35371
|
images?: AgentImageAttachment[] | undefined;
|
|
35372
|
+
generalPreferencesApplied?: boolean | undefined;
|
|
34203
35373
|
outputSchema?: Record<string, unknown> | undefined;
|
|
34204
35374
|
worktreeName?: string | undefined;
|
|
34205
35375
|
initialPrompt?: string | undefined;
|
|
@@ -34601,6 +35771,16 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
34601
35771
|
type: "detach_terminal_stream_request";
|
|
34602
35772
|
requestId: string;
|
|
34603
35773
|
streamId: number;
|
|
35774
|
+
} | {
|
|
35775
|
+
agentId: string;
|
|
35776
|
+
type: "cancel_queued_agent_message_request";
|
|
35777
|
+
requestId: string;
|
|
35778
|
+
messageId: string;
|
|
35779
|
+
} | {
|
|
35780
|
+
agentId: string;
|
|
35781
|
+
type: "steer_queued_agent_message_request";
|
|
35782
|
+
requestId: string;
|
|
35783
|
+
messageId: string;
|
|
34604
35784
|
};
|
|
34605
35785
|
type: "session";
|
|
34606
35786
|
}>;
|
|
@@ -35070,6 +36250,22 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
35070
36250
|
hasNonRequiredFailingChecks?: boolean | null | undefined;
|
|
35071
36251
|
} | null | undefined;
|
|
35072
36252
|
}>>>;
|
|
36253
|
+
messageQueue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
36254
|
+
id: z.ZodString;
|
|
36255
|
+
text: z.ZodString;
|
|
36256
|
+
queuedAt: z.ZodString;
|
|
36257
|
+
images: z.ZodOptional<z.ZodArray<z.ZodType<AgentImageAttachment, z.ZodTypeDef, AgentImageAttachment>, "many">>;
|
|
36258
|
+
}, "strip", z.ZodTypeAny, {
|
|
36259
|
+
text: string;
|
|
36260
|
+
id: string;
|
|
36261
|
+
queuedAt: string;
|
|
36262
|
+
images?: AgentImageAttachment[] | undefined;
|
|
36263
|
+
}, {
|
|
36264
|
+
text: string;
|
|
36265
|
+
id: string;
|
|
36266
|
+
queuedAt: string;
|
|
36267
|
+
images?: AgentImageAttachment[] | undefined;
|
|
36268
|
+
}>, "many">>;
|
|
35073
36269
|
}, "strip", z.ZodTypeAny, {
|
|
35074
36270
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
35075
36271
|
id: string;
|
|
@@ -35127,6 +36323,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
35127
36323
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
35128
36324
|
lastTimelineAt?: string | null | undefined;
|
|
35129
36325
|
pendingPlanReview?: boolean | undefined;
|
|
36326
|
+
messageQueue?: {
|
|
36327
|
+
text: string;
|
|
36328
|
+
id: string;
|
|
36329
|
+
queuedAt: string;
|
|
36330
|
+
images?: AgentImageAttachment[] | undefined;
|
|
36331
|
+
}[] | undefined;
|
|
35130
36332
|
}, {
|
|
35131
36333
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
35132
36334
|
id: string;
|
|
@@ -35184,6 +36386,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
35184
36386
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
35185
36387
|
lastTimelineAt?: string | null | undefined;
|
|
35186
36388
|
pendingPlanReview?: boolean | undefined;
|
|
36389
|
+
messageQueue?: {
|
|
36390
|
+
text: string;
|
|
36391
|
+
id: string;
|
|
36392
|
+
queuedAt: string;
|
|
36393
|
+
images?: AgentImageAttachment[] | undefined;
|
|
36394
|
+
}[] | undefined;
|
|
35187
36395
|
}>;
|
|
35188
36396
|
project: z.ZodObject<{
|
|
35189
36397
|
projectKey: z.ZodString;
|
|
@@ -35362,6 +36570,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
35362
36570
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
35363
36571
|
lastTimelineAt?: string | null | undefined;
|
|
35364
36572
|
pendingPlanReview?: boolean | undefined;
|
|
36573
|
+
messageQueue?: {
|
|
36574
|
+
text: string;
|
|
36575
|
+
id: string;
|
|
36576
|
+
queuedAt: string;
|
|
36577
|
+
images?: AgentImageAttachment[] | undefined;
|
|
36578
|
+
}[] | undefined;
|
|
35365
36579
|
};
|
|
35366
36580
|
project: {
|
|
35367
36581
|
projectName: string;
|
|
@@ -35448,6 +36662,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
35448
36662
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
35449
36663
|
lastTimelineAt?: string | null | undefined;
|
|
35450
36664
|
pendingPlanReview?: boolean | undefined;
|
|
36665
|
+
messageQueue?: {
|
|
36666
|
+
text: string;
|
|
36667
|
+
id: string;
|
|
36668
|
+
queuedAt: string;
|
|
36669
|
+
images?: AgentImageAttachment[] | undefined;
|
|
36670
|
+
}[] | undefined;
|
|
35451
36671
|
};
|
|
35452
36672
|
project: {
|
|
35453
36673
|
projectName: string;
|
|
@@ -35546,6 +36766,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
35546
36766
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
35547
36767
|
lastTimelineAt?: string | null | undefined;
|
|
35548
36768
|
pendingPlanReview?: boolean | undefined;
|
|
36769
|
+
messageQueue?: {
|
|
36770
|
+
text: string;
|
|
36771
|
+
id: string;
|
|
36772
|
+
queuedAt: string;
|
|
36773
|
+
images?: AgentImageAttachment[] | undefined;
|
|
36774
|
+
}[] | undefined;
|
|
35549
36775
|
};
|
|
35550
36776
|
project: {
|
|
35551
36777
|
projectName: string;
|
|
@@ -35638,6 +36864,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
35638
36864
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
35639
36865
|
lastTimelineAt?: string | null | undefined;
|
|
35640
36866
|
pendingPlanReview?: boolean | undefined;
|
|
36867
|
+
messageQueue?: {
|
|
36868
|
+
text: string;
|
|
36869
|
+
id: string;
|
|
36870
|
+
queuedAt: string;
|
|
36871
|
+
images?: AgentImageAttachment[] | undefined;
|
|
36872
|
+
}[] | undefined;
|
|
35641
36873
|
};
|
|
35642
36874
|
project: {
|
|
35643
36875
|
projectName: string;
|
|
@@ -36239,6 +37471,22 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
36239
37471
|
hasNonRequiredFailingChecks?: boolean | null | undefined;
|
|
36240
37472
|
} | null | undefined;
|
|
36241
37473
|
}>>>;
|
|
37474
|
+
messageQueue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
37475
|
+
id: z.ZodString;
|
|
37476
|
+
text: z.ZodString;
|
|
37477
|
+
queuedAt: z.ZodString;
|
|
37478
|
+
images: z.ZodOptional<z.ZodArray<z.ZodType<AgentImageAttachment, z.ZodTypeDef, AgentImageAttachment>, "many">>;
|
|
37479
|
+
}, "strip", z.ZodTypeAny, {
|
|
37480
|
+
text: string;
|
|
37481
|
+
id: string;
|
|
37482
|
+
queuedAt: string;
|
|
37483
|
+
images?: AgentImageAttachment[] | undefined;
|
|
37484
|
+
}, {
|
|
37485
|
+
text: string;
|
|
37486
|
+
id: string;
|
|
37487
|
+
queuedAt: string;
|
|
37488
|
+
images?: AgentImageAttachment[] | undefined;
|
|
37489
|
+
}>, "many">>;
|
|
36242
37490
|
}, "strip", z.ZodTypeAny, {
|
|
36243
37491
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
36244
37492
|
id: string;
|
|
@@ -36296,6 +37544,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
36296
37544
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
36297
37545
|
lastTimelineAt?: string | null | undefined;
|
|
36298
37546
|
pendingPlanReview?: boolean | undefined;
|
|
37547
|
+
messageQueue?: {
|
|
37548
|
+
text: string;
|
|
37549
|
+
id: string;
|
|
37550
|
+
queuedAt: string;
|
|
37551
|
+
images?: AgentImageAttachment[] | undefined;
|
|
37552
|
+
}[] | undefined;
|
|
36299
37553
|
}, {
|
|
36300
37554
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
36301
37555
|
id: string;
|
|
@@ -36353,6 +37607,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
36353
37607
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
36354
37608
|
lastTimelineAt?: string | null | undefined;
|
|
36355
37609
|
pendingPlanReview?: boolean | undefined;
|
|
37610
|
+
messageQueue?: {
|
|
37611
|
+
text: string;
|
|
37612
|
+
id: string;
|
|
37613
|
+
queuedAt: string;
|
|
37614
|
+
images?: AgentImageAttachment[] | undefined;
|
|
37615
|
+
}[] | undefined;
|
|
36356
37616
|
}>;
|
|
36357
37617
|
}, "strip", z.ZodTypeAny, {
|
|
36358
37618
|
agentId: string;
|
|
@@ -36414,6 +37674,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
36414
37674
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
36415
37675
|
lastTimelineAt?: string | null | undefined;
|
|
36416
37676
|
pendingPlanReview?: boolean | undefined;
|
|
37677
|
+
messageQueue?: {
|
|
37678
|
+
text: string;
|
|
37679
|
+
id: string;
|
|
37680
|
+
queuedAt: string;
|
|
37681
|
+
images?: AgentImageAttachment[] | undefined;
|
|
37682
|
+
}[] | undefined;
|
|
36417
37683
|
};
|
|
36418
37684
|
}, {
|
|
36419
37685
|
agentId: string;
|
|
@@ -36475,6 +37741,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
36475
37741
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
36476
37742
|
lastTimelineAt?: string | null | undefined;
|
|
36477
37743
|
pendingPlanReview?: boolean | undefined;
|
|
37744
|
+
messageQueue?: {
|
|
37745
|
+
text: string;
|
|
37746
|
+
id: string;
|
|
37747
|
+
queuedAt: string;
|
|
37748
|
+
images?: AgentImageAttachment[] | undefined;
|
|
37749
|
+
}[] | undefined;
|
|
36478
37750
|
};
|
|
36479
37751
|
}>;
|
|
36480
37752
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -36539,6 +37811,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
36539
37811
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
36540
37812
|
lastTimelineAt?: string | null | undefined;
|
|
36541
37813
|
pendingPlanReview?: boolean | undefined;
|
|
37814
|
+
messageQueue?: {
|
|
37815
|
+
text: string;
|
|
37816
|
+
id: string;
|
|
37817
|
+
queuedAt: string;
|
|
37818
|
+
images?: AgentImageAttachment[] | undefined;
|
|
37819
|
+
}[] | undefined;
|
|
36542
37820
|
};
|
|
36543
37821
|
};
|
|
36544
37822
|
}, {
|
|
@@ -36603,6 +37881,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
36603
37881
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
36604
37882
|
lastTimelineAt?: string | null | undefined;
|
|
36605
37883
|
pendingPlanReview?: boolean | undefined;
|
|
37884
|
+
messageQueue?: {
|
|
37885
|
+
text: string;
|
|
37886
|
+
id: string;
|
|
37887
|
+
queuedAt: string;
|
|
37888
|
+
images?: AgentImageAttachment[] | undefined;
|
|
37889
|
+
}[] | undefined;
|
|
36606
37890
|
};
|
|
36607
37891
|
};
|
|
36608
37892
|
}>, z.ZodObject<{
|
|
@@ -36748,6 +38032,22 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
36748
38032
|
hasNonRequiredFailingChecks?: boolean | null | undefined;
|
|
36749
38033
|
} | null | undefined;
|
|
36750
38034
|
}>>>;
|
|
38035
|
+
messageQueue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
38036
|
+
id: z.ZodString;
|
|
38037
|
+
text: z.ZodString;
|
|
38038
|
+
queuedAt: z.ZodString;
|
|
38039
|
+
images: z.ZodOptional<z.ZodArray<z.ZodType<AgentImageAttachment, z.ZodTypeDef, AgentImageAttachment>, "many">>;
|
|
38040
|
+
}, "strip", z.ZodTypeAny, {
|
|
38041
|
+
text: string;
|
|
38042
|
+
id: string;
|
|
38043
|
+
queuedAt: string;
|
|
38044
|
+
images?: AgentImageAttachment[] | undefined;
|
|
38045
|
+
}, {
|
|
38046
|
+
text: string;
|
|
38047
|
+
id: string;
|
|
38048
|
+
queuedAt: string;
|
|
38049
|
+
images?: AgentImageAttachment[] | undefined;
|
|
38050
|
+
}>, "many">>;
|
|
36751
38051
|
}, "strip", z.ZodTypeAny, {
|
|
36752
38052
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
36753
38053
|
id: string;
|
|
@@ -36805,6 +38105,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
36805
38105
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
36806
38106
|
lastTimelineAt?: string | null | undefined;
|
|
36807
38107
|
pendingPlanReview?: boolean | undefined;
|
|
38108
|
+
messageQueue?: {
|
|
38109
|
+
text: string;
|
|
38110
|
+
id: string;
|
|
38111
|
+
queuedAt: string;
|
|
38112
|
+
images?: AgentImageAttachment[] | undefined;
|
|
38113
|
+
}[] | undefined;
|
|
36808
38114
|
}, {
|
|
36809
38115
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
36810
38116
|
id: string;
|
|
@@ -36862,6 +38168,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
36862
38168
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
36863
38169
|
lastTimelineAt?: string | null | undefined;
|
|
36864
38170
|
pendingPlanReview?: boolean | undefined;
|
|
38171
|
+
messageQueue?: {
|
|
38172
|
+
text: string;
|
|
38173
|
+
id: string;
|
|
38174
|
+
queuedAt: string;
|
|
38175
|
+
images?: AgentImageAttachment[] | undefined;
|
|
38176
|
+
}[] | undefined;
|
|
36865
38177
|
}>;
|
|
36866
38178
|
project: z.ZodObject<{
|
|
36867
38179
|
projectKey: z.ZodString;
|
|
@@ -37039,6 +38351,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
37039
38351
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
37040
38352
|
lastTimelineAt?: string | null | undefined;
|
|
37041
38353
|
pendingPlanReview?: boolean | undefined;
|
|
38354
|
+
messageQueue?: {
|
|
38355
|
+
text: string;
|
|
38356
|
+
id: string;
|
|
38357
|
+
queuedAt: string;
|
|
38358
|
+
images?: AgentImageAttachment[] | undefined;
|
|
38359
|
+
}[] | undefined;
|
|
37042
38360
|
};
|
|
37043
38361
|
project: {
|
|
37044
38362
|
projectName: string;
|
|
@@ -37124,6 +38442,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
37124
38442
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
37125
38443
|
lastTimelineAt?: string | null | undefined;
|
|
37126
38444
|
pendingPlanReview?: boolean | undefined;
|
|
38445
|
+
messageQueue?: {
|
|
38446
|
+
text: string;
|
|
38447
|
+
id: string;
|
|
38448
|
+
queuedAt: string;
|
|
38449
|
+
images?: AgentImageAttachment[] | undefined;
|
|
38450
|
+
}[] | undefined;
|
|
37127
38451
|
};
|
|
37128
38452
|
project: {
|
|
37129
38453
|
projectName: string;
|
|
@@ -37224,6 +38548,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
37224
38548
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
37225
38549
|
lastTimelineAt?: string | null | undefined;
|
|
37226
38550
|
pendingPlanReview?: boolean | undefined;
|
|
38551
|
+
messageQueue?: {
|
|
38552
|
+
text: string;
|
|
38553
|
+
id: string;
|
|
38554
|
+
queuedAt: string;
|
|
38555
|
+
images?: AgentImageAttachment[] | undefined;
|
|
38556
|
+
}[] | undefined;
|
|
37227
38557
|
};
|
|
37228
38558
|
project: {
|
|
37229
38559
|
projectName: string;
|
|
@@ -37318,6 +38648,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
37318
38648
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
37319
38649
|
lastTimelineAt?: string | null | undefined;
|
|
37320
38650
|
pendingPlanReview?: boolean | undefined;
|
|
38651
|
+
messageQueue?: {
|
|
38652
|
+
text: string;
|
|
38653
|
+
id: string;
|
|
38654
|
+
queuedAt: string;
|
|
38655
|
+
images?: AgentImageAttachment[] | undefined;
|
|
38656
|
+
}[] | undefined;
|
|
37321
38657
|
};
|
|
37322
38658
|
project: {
|
|
37323
38659
|
projectName: string;
|
|
@@ -37415,6 +38751,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
37415
38751
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
37416
38752
|
lastTimelineAt?: string | null | undefined;
|
|
37417
38753
|
pendingPlanReview?: boolean | undefined;
|
|
38754
|
+
messageQueue?: {
|
|
38755
|
+
text: string;
|
|
38756
|
+
id: string;
|
|
38757
|
+
queuedAt: string;
|
|
38758
|
+
images?: AgentImageAttachment[] | undefined;
|
|
38759
|
+
}[] | undefined;
|
|
37418
38760
|
};
|
|
37419
38761
|
project: {
|
|
37420
38762
|
projectName: string;
|
|
@@ -37512,6 +38854,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
37512
38854
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
37513
38855
|
lastTimelineAt?: string | null | undefined;
|
|
37514
38856
|
pendingPlanReview?: boolean | undefined;
|
|
38857
|
+
messageQueue?: {
|
|
38858
|
+
text: string;
|
|
38859
|
+
id: string;
|
|
38860
|
+
queuedAt: string;
|
|
38861
|
+
images?: AgentImageAttachment[] | undefined;
|
|
38862
|
+
}[] | undefined;
|
|
37515
38863
|
};
|
|
37516
38864
|
project: {
|
|
37517
38865
|
projectName: string;
|
|
@@ -37689,6 +39037,22 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
37689
39037
|
hasNonRequiredFailingChecks?: boolean | null | undefined;
|
|
37690
39038
|
} | null | undefined;
|
|
37691
39039
|
}>>>;
|
|
39040
|
+
messageQueue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
39041
|
+
id: z.ZodString;
|
|
39042
|
+
text: z.ZodString;
|
|
39043
|
+
queuedAt: z.ZodString;
|
|
39044
|
+
images: z.ZodOptional<z.ZodArray<z.ZodType<AgentImageAttachment, z.ZodTypeDef, AgentImageAttachment>, "many">>;
|
|
39045
|
+
}, "strip", z.ZodTypeAny, {
|
|
39046
|
+
text: string;
|
|
39047
|
+
id: string;
|
|
39048
|
+
queuedAt: string;
|
|
39049
|
+
images?: AgentImageAttachment[] | undefined;
|
|
39050
|
+
}, {
|
|
39051
|
+
text: string;
|
|
39052
|
+
id: string;
|
|
39053
|
+
queuedAt: string;
|
|
39054
|
+
images?: AgentImageAttachment[] | undefined;
|
|
39055
|
+
}>, "many">>;
|
|
37692
39056
|
}, "strip", z.ZodTypeAny, {
|
|
37693
39057
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
37694
39058
|
id: string;
|
|
@@ -37746,6 +39110,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
37746
39110
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
37747
39111
|
lastTimelineAt?: string | null | undefined;
|
|
37748
39112
|
pendingPlanReview?: boolean | undefined;
|
|
39113
|
+
messageQueue?: {
|
|
39114
|
+
text: string;
|
|
39115
|
+
id: string;
|
|
39116
|
+
queuedAt: string;
|
|
39117
|
+
images?: AgentImageAttachment[] | undefined;
|
|
39118
|
+
}[] | undefined;
|
|
37749
39119
|
}, {
|
|
37750
39120
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
37751
39121
|
id: string;
|
|
@@ -37803,6 +39173,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
37803
39173
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
37804
39174
|
lastTimelineAt?: string | null | undefined;
|
|
37805
39175
|
pendingPlanReview?: boolean | undefined;
|
|
39176
|
+
messageQueue?: {
|
|
39177
|
+
text: string;
|
|
39178
|
+
id: string;
|
|
39179
|
+
queuedAt: string;
|
|
39180
|
+
images?: AgentImageAttachment[] | undefined;
|
|
39181
|
+
}[] | undefined;
|
|
37806
39182
|
}>>;
|
|
37807
39183
|
project: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
37808
39184
|
projectKey: z.ZodString;
|
|
@@ -37982,6 +39358,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
37982
39358
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
37983
39359
|
lastTimelineAt?: string | null | undefined;
|
|
37984
39360
|
pendingPlanReview?: boolean | undefined;
|
|
39361
|
+
messageQueue?: {
|
|
39362
|
+
text: string;
|
|
39363
|
+
id: string;
|
|
39364
|
+
queuedAt: string;
|
|
39365
|
+
images?: AgentImageAttachment[] | undefined;
|
|
39366
|
+
}[] | undefined;
|
|
37985
39367
|
} | null;
|
|
37986
39368
|
requestId: string;
|
|
37987
39369
|
project?: {
|
|
@@ -38069,6 +39451,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
38069
39451
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
38070
39452
|
lastTimelineAt?: string | null | undefined;
|
|
38071
39453
|
pendingPlanReview?: boolean | undefined;
|
|
39454
|
+
messageQueue?: {
|
|
39455
|
+
text: string;
|
|
39456
|
+
id: string;
|
|
39457
|
+
queuedAt: string;
|
|
39458
|
+
images?: AgentImageAttachment[] | undefined;
|
|
39459
|
+
}[] | undefined;
|
|
38072
39460
|
} | null;
|
|
38073
39461
|
requestId: string;
|
|
38074
39462
|
project?: {
|
|
@@ -38159,6 +39547,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
38159
39547
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
38160
39548
|
lastTimelineAt?: string | null | undefined;
|
|
38161
39549
|
pendingPlanReview?: boolean | undefined;
|
|
39550
|
+
messageQueue?: {
|
|
39551
|
+
text: string;
|
|
39552
|
+
id: string;
|
|
39553
|
+
queuedAt: string;
|
|
39554
|
+
images?: AgentImageAttachment[] | undefined;
|
|
39555
|
+
}[] | undefined;
|
|
38162
39556
|
} | null;
|
|
38163
39557
|
requestId: string;
|
|
38164
39558
|
project?: {
|
|
@@ -38249,6 +39643,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
38249
39643
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
38250
39644
|
lastTimelineAt?: string | null | undefined;
|
|
38251
39645
|
pendingPlanReview?: boolean | undefined;
|
|
39646
|
+
messageQueue?: {
|
|
39647
|
+
text: string;
|
|
39648
|
+
id: string;
|
|
39649
|
+
queuedAt: string;
|
|
39650
|
+
images?: AgentImageAttachment[] | undefined;
|
|
39651
|
+
}[] | undefined;
|
|
38252
39652
|
} | null;
|
|
38253
39653
|
requestId: string;
|
|
38254
39654
|
project?: {
|
|
@@ -38456,6 +39856,22 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
38456
39856
|
hasNonRequiredFailingChecks?: boolean | null | undefined;
|
|
38457
39857
|
} | null | undefined;
|
|
38458
39858
|
}>>>;
|
|
39859
|
+
messageQueue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
39860
|
+
id: z.ZodString;
|
|
39861
|
+
text: z.ZodString;
|
|
39862
|
+
queuedAt: z.ZodString;
|
|
39863
|
+
images: z.ZodOptional<z.ZodArray<z.ZodType<AgentImageAttachment, z.ZodTypeDef, AgentImageAttachment>, "many">>;
|
|
39864
|
+
}, "strip", z.ZodTypeAny, {
|
|
39865
|
+
text: string;
|
|
39866
|
+
id: string;
|
|
39867
|
+
queuedAt: string;
|
|
39868
|
+
images?: AgentImageAttachment[] | undefined;
|
|
39869
|
+
}, {
|
|
39870
|
+
text: string;
|
|
39871
|
+
id: string;
|
|
39872
|
+
queuedAt: string;
|
|
39873
|
+
images?: AgentImageAttachment[] | undefined;
|
|
39874
|
+
}>, "many">>;
|
|
38459
39875
|
}, "strip", z.ZodTypeAny, {
|
|
38460
39876
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
38461
39877
|
id: string;
|
|
@@ -38513,6 +39929,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
38513
39929
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
38514
39930
|
lastTimelineAt?: string | null | undefined;
|
|
38515
39931
|
pendingPlanReview?: boolean | undefined;
|
|
39932
|
+
messageQueue?: {
|
|
39933
|
+
text: string;
|
|
39934
|
+
id: string;
|
|
39935
|
+
queuedAt: string;
|
|
39936
|
+
images?: AgentImageAttachment[] | undefined;
|
|
39937
|
+
}[] | undefined;
|
|
38516
39938
|
}, {
|
|
38517
39939
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
38518
39940
|
id: string;
|
|
@@ -38570,6 +39992,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
38570
39992
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
38571
39993
|
lastTimelineAt?: string | null | undefined;
|
|
38572
39994
|
pendingPlanReview?: boolean | undefined;
|
|
39995
|
+
messageQueue?: {
|
|
39996
|
+
text: string;
|
|
39997
|
+
id: string;
|
|
39998
|
+
queuedAt: string;
|
|
39999
|
+
images?: AgentImageAttachment[] | undefined;
|
|
40000
|
+
}[] | undefined;
|
|
38573
40001
|
}>>>;
|
|
38574
40002
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38575
40003
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -38635,6 +40063,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
38635
40063
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
38636
40064
|
lastTimelineAt?: string | null | undefined;
|
|
38637
40065
|
pendingPlanReview?: boolean | undefined;
|
|
40066
|
+
messageQueue?: {
|
|
40067
|
+
text: string;
|
|
40068
|
+
id: string;
|
|
40069
|
+
queuedAt: string;
|
|
40070
|
+
images?: AgentImageAttachment[] | undefined;
|
|
40071
|
+
}[] | undefined;
|
|
38638
40072
|
} | null | undefined;
|
|
38639
40073
|
}, {
|
|
38640
40074
|
agentId: string;
|
|
@@ -38699,6 +40133,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
38699
40133
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
38700
40134
|
lastTimelineAt?: string | null | undefined;
|
|
38701
40135
|
pendingPlanReview?: boolean | undefined;
|
|
40136
|
+
messageQueue?: {
|
|
40137
|
+
text: string;
|
|
40138
|
+
id: string;
|
|
40139
|
+
queuedAt: string;
|
|
40140
|
+
images?: AgentImageAttachment[] | undefined;
|
|
40141
|
+
}[] | undefined;
|
|
38702
40142
|
} | null | undefined;
|
|
38703
40143
|
}>;
|
|
38704
40144
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -38766,6 +40206,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
38766
40206
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
38767
40207
|
lastTimelineAt?: string | null | undefined;
|
|
38768
40208
|
pendingPlanReview?: boolean | undefined;
|
|
40209
|
+
messageQueue?: {
|
|
40210
|
+
text: string;
|
|
40211
|
+
id: string;
|
|
40212
|
+
queuedAt: string;
|
|
40213
|
+
images?: AgentImageAttachment[] | undefined;
|
|
40214
|
+
}[] | undefined;
|
|
38769
40215
|
} | null | undefined;
|
|
38770
40216
|
};
|
|
38771
40217
|
}, {
|
|
@@ -38833,6 +40279,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
38833
40279
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
38834
40280
|
lastTimelineAt?: string | null | undefined;
|
|
38835
40281
|
pendingPlanReview?: boolean | undefined;
|
|
40282
|
+
messageQueue?: {
|
|
40283
|
+
text: string;
|
|
40284
|
+
id: string;
|
|
40285
|
+
queuedAt: string;
|
|
40286
|
+
images?: AgentImageAttachment[] | undefined;
|
|
40287
|
+
}[] | undefined;
|
|
38836
40288
|
} | null | undefined;
|
|
38837
40289
|
};
|
|
38838
40290
|
}>, z.ZodObject<{
|
|
@@ -40210,16 +41662,19 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
40210
41662
|
agentId: z.ZodString;
|
|
40211
41663
|
accepted: z.ZodBoolean;
|
|
40212
41664
|
error: z.ZodNullable<z.ZodString>;
|
|
41665
|
+
queuePosition: z.ZodOptional<z.ZodNumber>;
|
|
40213
41666
|
}, "strip", z.ZodTypeAny, {
|
|
40214
41667
|
agentId: string;
|
|
40215
41668
|
error: string | null;
|
|
40216
41669
|
requestId: string;
|
|
40217
41670
|
accepted: boolean;
|
|
41671
|
+
queuePosition?: number | undefined;
|
|
40218
41672
|
}, {
|
|
40219
41673
|
agentId: string;
|
|
40220
41674
|
error: string | null;
|
|
40221
41675
|
requestId: string;
|
|
40222
41676
|
accepted: boolean;
|
|
41677
|
+
queuePosition?: number | undefined;
|
|
40223
41678
|
}>;
|
|
40224
41679
|
}, "strip", z.ZodTypeAny, {
|
|
40225
41680
|
type: "send_agent_message_response";
|
|
@@ -40228,6 +41683,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
40228
41683
|
error: string | null;
|
|
40229
41684
|
requestId: string;
|
|
40230
41685
|
accepted: boolean;
|
|
41686
|
+
queuePosition?: number | undefined;
|
|
40231
41687
|
};
|
|
40232
41688
|
}, {
|
|
40233
41689
|
type: "send_agent_message_response";
|
|
@@ -40236,6 +41692,75 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
40236
41692
|
error: string | null;
|
|
40237
41693
|
requestId: string;
|
|
40238
41694
|
accepted: boolean;
|
|
41695
|
+
queuePosition?: number | undefined;
|
|
41696
|
+
};
|
|
41697
|
+
}>, z.ZodObject<{
|
|
41698
|
+
type: z.ZodLiteral<"cancel_queued_agent_message_response">;
|
|
41699
|
+
payload: z.ZodObject<{
|
|
41700
|
+
requestId: z.ZodString;
|
|
41701
|
+
agentId: z.ZodString;
|
|
41702
|
+
cancelled: z.ZodBoolean;
|
|
41703
|
+
error: z.ZodNullable<z.ZodString>;
|
|
41704
|
+
}, "strip", z.ZodTypeAny, {
|
|
41705
|
+
agentId: string;
|
|
41706
|
+
error: string | null;
|
|
41707
|
+
requestId: string;
|
|
41708
|
+
cancelled: boolean;
|
|
41709
|
+
}, {
|
|
41710
|
+
agentId: string;
|
|
41711
|
+
error: string | null;
|
|
41712
|
+
requestId: string;
|
|
41713
|
+
cancelled: boolean;
|
|
41714
|
+
}>;
|
|
41715
|
+
}, "strip", z.ZodTypeAny, {
|
|
41716
|
+
type: "cancel_queued_agent_message_response";
|
|
41717
|
+
payload: {
|
|
41718
|
+
agentId: string;
|
|
41719
|
+
error: string | null;
|
|
41720
|
+
requestId: string;
|
|
41721
|
+
cancelled: boolean;
|
|
41722
|
+
};
|
|
41723
|
+
}, {
|
|
41724
|
+
type: "cancel_queued_agent_message_response";
|
|
41725
|
+
payload: {
|
|
41726
|
+
agentId: string;
|
|
41727
|
+
error: string | null;
|
|
41728
|
+
requestId: string;
|
|
41729
|
+
cancelled: boolean;
|
|
41730
|
+
};
|
|
41731
|
+
}>, z.ZodObject<{
|
|
41732
|
+
type: z.ZodLiteral<"steer_queued_agent_message_response">;
|
|
41733
|
+
payload: z.ZodObject<{
|
|
41734
|
+
requestId: z.ZodString;
|
|
41735
|
+
agentId: z.ZodString;
|
|
41736
|
+
steered: z.ZodBoolean;
|
|
41737
|
+
error: z.ZodNullable<z.ZodString>;
|
|
41738
|
+
}, "strip", z.ZodTypeAny, {
|
|
41739
|
+
agentId: string;
|
|
41740
|
+
error: string | null;
|
|
41741
|
+
steered: boolean;
|
|
41742
|
+
requestId: string;
|
|
41743
|
+
}, {
|
|
41744
|
+
agentId: string;
|
|
41745
|
+
error: string | null;
|
|
41746
|
+
steered: boolean;
|
|
41747
|
+
requestId: string;
|
|
41748
|
+
}>;
|
|
41749
|
+
}, "strip", z.ZodTypeAny, {
|
|
41750
|
+
type: "steer_queued_agent_message_response";
|
|
41751
|
+
payload: {
|
|
41752
|
+
agentId: string;
|
|
41753
|
+
error: string | null;
|
|
41754
|
+
steered: boolean;
|
|
41755
|
+
requestId: string;
|
|
41756
|
+
};
|
|
41757
|
+
}, {
|
|
41758
|
+
type: "steer_queued_agent_message_response";
|
|
41759
|
+
payload: {
|
|
41760
|
+
agentId: string;
|
|
41761
|
+
error: string | null;
|
|
41762
|
+
steered: boolean;
|
|
41763
|
+
requestId: string;
|
|
40239
41764
|
};
|
|
40240
41765
|
}>, z.ZodObject<{
|
|
40241
41766
|
type: z.ZodLiteral<"set_agent_mode_response">;
|
|
@@ -40549,6 +42074,22 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
40549
42074
|
hasNonRequiredFailingChecks?: boolean | null | undefined;
|
|
40550
42075
|
} | null | undefined;
|
|
40551
42076
|
}>>>;
|
|
42077
|
+
messageQueue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
42078
|
+
id: z.ZodString;
|
|
42079
|
+
text: z.ZodString;
|
|
42080
|
+
queuedAt: z.ZodString;
|
|
42081
|
+
images: z.ZodOptional<z.ZodArray<z.ZodType<AgentImageAttachment, z.ZodTypeDef, AgentImageAttachment>, "many">>;
|
|
42082
|
+
}, "strip", z.ZodTypeAny, {
|
|
42083
|
+
text: string;
|
|
42084
|
+
id: string;
|
|
42085
|
+
queuedAt: string;
|
|
42086
|
+
images?: AgentImageAttachment[] | undefined;
|
|
42087
|
+
}, {
|
|
42088
|
+
text: string;
|
|
42089
|
+
id: string;
|
|
42090
|
+
queuedAt: string;
|
|
42091
|
+
images?: AgentImageAttachment[] | undefined;
|
|
42092
|
+
}>, "many">>;
|
|
40552
42093
|
}, "strip", z.ZodTypeAny, {
|
|
40553
42094
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
40554
42095
|
id: string;
|
|
@@ -40606,6 +42147,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
40606
42147
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
40607
42148
|
lastTimelineAt?: string | null | undefined;
|
|
40608
42149
|
pendingPlanReview?: boolean | undefined;
|
|
42150
|
+
messageQueue?: {
|
|
42151
|
+
text: string;
|
|
42152
|
+
id: string;
|
|
42153
|
+
queuedAt: string;
|
|
42154
|
+
images?: AgentImageAttachment[] | undefined;
|
|
42155
|
+
}[] | undefined;
|
|
40609
42156
|
}, {
|
|
40610
42157
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
40611
42158
|
id: string;
|
|
@@ -40663,6 +42210,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
40663
42210
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
40664
42211
|
lastTimelineAt?: string | null | undefined;
|
|
40665
42212
|
pendingPlanReview?: boolean | undefined;
|
|
42213
|
+
messageQueue?: {
|
|
42214
|
+
text: string;
|
|
42215
|
+
id: string;
|
|
42216
|
+
queuedAt: string;
|
|
42217
|
+
images?: AgentImageAttachment[] | undefined;
|
|
42218
|
+
}[] | undefined;
|
|
40666
42219
|
}>>;
|
|
40667
42220
|
error: z.ZodNullable<z.ZodString>;
|
|
40668
42221
|
lastMessage: z.ZodNullable<z.ZodString>;
|
|
@@ -40727,6 +42280,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
40727
42280
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
40728
42281
|
lastTimelineAt?: string | null | undefined;
|
|
40729
42282
|
pendingPlanReview?: boolean | undefined;
|
|
42283
|
+
messageQueue?: {
|
|
42284
|
+
text: string;
|
|
42285
|
+
id: string;
|
|
42286
|
+
queuedAt: string;
|
|
42287
|
+
images?: AgentImageAttachment[] | undefined;
|
|
42288
|
+
}[] | undefined;
|
|
40730
42289
|
} | null;
|
|
40731
42290
|
lastMessage: string | null;
|
|
40732
42291
|
}, {
|
|
@@ -40790,6 +42349,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
40790
42349
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
40791
42350
|
lastTimelineAt?: string | null | undefined;
|
|
40792
42351
|
pendingPlanReview?: boolean | undefined;
|
|
42352
|
+
messageQueue?: {
|
|
42353
|
+
text: string;
|
|
42354
|
+
id: string;
|
|
42355
|
+
queuedAt: string;
|
|
42356
|
+
images?: AgentImageAttachment[] | undefined;
|
|
42357
|
+
}[] | undefined;
|
|
40793
42358
|
} | null;
|
|
40794
42359
|
lastMessage: string | null;
|
|
40795
42360
|
}>;
|
|
@@ -40856,6 +42421,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
40856
42421
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
40857
42422
|
lastTimelineAt?: string | null | undefined;
|
|
40858
42423
|
pendingPlanReview?: boolean | undefined;
|
|
42424
|
+
messageQueue?: {
|
|
42425
|
+
text: string;
|
|
42426
|
+
id: string;
|
|
42427
|
+
queuedAt: string;
|
|
42428
|
+
images?: AgentImageAttachment[] | undefined;
|
|
42429
|
+
}[] | undefined;
|
|
40859
42430
|
} | null;
|
|
40860
42431
|
lastMessage: string | null;
|
|
40861
42432
|
};
|
|
@@ -40922,6 +42493,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
40922
42493
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
40923
42494
|
lastTimelineAt?: string | null | undefined;
|
|
40924
42495
|
pendingPlanReview?: boolean | undefined;
|
|
42496
|
+
messageQueue?: {
|
|
42497
|
+
text: string;
|
|
42498
|
+
id: string;
|
|
42499
|
+
queuedAt: string;
|
|
42500
|
+
images?: AgentImageAttachment[] | undefined;
|
|
42501
|
+
}[] | undefined;
|
|
40925
42502
|
} | null;
|
|
40926
42503
|
lastMessage: string | null;
|
|
40927
42504
|
};
|
|
@@ -46763,6 +48340,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
46763
48340
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
46764
48341
|
lastTimelineAt?: string | null | undefined;
|
|
46765
48342
|
pendingPlanReview?: boolean | undefined;
|
|
48343
|
+
messageQueue?: {
|
|
48344
|
+
text: string;
|
|
48345
|
+
id: string;
|
|
48346
|
+
queuedAt: string;
|
|
48347
|
+
images?: AgentImageAttachment[] | undefined;
|
|
48348
|
+
}[] | undefined;
|
|
46766
48349
|
};
|
|
46767
48350
|
project: {
|
|
46768
48351
|
projectName: string;
|
|
@@ -46916,6 +48499,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
46916
48499
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
46917
48500
|
lastTimelineAt?: string | null | undefined;
|
|
46918
48501
|
pendingPlanReview?: boolean | undefined;
|
|
48502
|
+
messageQueue?: {
|
|
48503
|
+
text: string;
|
|
48504
|
+
id: string;
|
|
48505
|
+
queuedAt: string;
|
|
48506
|
+
images?: AgentImageAttachment[] | undefined;
|
|
48507
|
+
}[] | undefined;
|
|
46919
48508
|
};
|
|
46920
48509
|
};
|
|
46921
48510
|
} | {
|
|
@@ -46979,6 +48568,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
46979
48568
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
46980
48569
|
lastTimelineAt?: string | null | undefined;
|
|
46981
48570
|
pendingPlanReview?: boolean | undefined;
|
|
48571
|
+
messageQueue?: {
|
|
48572
|
+
text: string;
|
|
48573
|
+
id: string;
|
|
48574
|
+
queuedAt: string;
|
|
48575
|
+
images?: AgentImageAttachment[] | undefined;
|
|
48576
|
+
}[] | undefined;
|
|
46982
48577
|
};
|
|
46983
48578
|
project: {
|
|
46984
48579
|
projectName: string;
|
|
@@ -47076,6 +48671,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
47076
48671
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
47077
48672
|
lastTimelineAt?: string | null | undefined;
|
|
47078
48673
|
pendingPlanReview?: boolean | undefined;
|
|
48674
|
+
messageQueue?: {
|
|
48675
|
+
text: string;
|
|
48676
|
+
id: string;
|
|
48677
|
+
queuedAt: string;
|
|
48678
|
+
images?: AgentImageAttachment[] | undefined;
|
|
48679
|
+
}[] | undefined;
|
|
47079
48680
|
} | null;
|
|
47080
48681
|
requestId: string;
|
|
47081
48682
|
project?: {
|
|
@@ -47178,6 +48779,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
47178
48779
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
47179
48780
|
lastTimelineAt?: string | null | undefined;
|
|
47180
48781
|
pendingPlanReview?: boolean | undefined;
|
|
48782
|
+
messageQueue?: {
|
|
48783
|
+
text: string;
|
|
48784
|
+
id: string;
|
|
48785
|
+
queuedAt: string;
|
|
48786
|
+
images?: AgentImageAttachment[] | undefined;
|
|
48787
|
+
}[] | undefined;
|
|
47181
48788
|
} | null | undefined;
|
|
47182
48789
|
};
|
|
47183
48790
|
} | {
|
|
@@ -47365,6 +48972,23 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
47365
48972
|
error: string | null;
|
|
47366
48973
|
requestId: string;
|
|
47367
48974
|
accepted: boolean;
|
|
48975
|
+
queuePosition?: number | undefined;
|
|
48976
|
+
};
|
|
48977
|
+
} | {
|
|
48978
|
+
type: "cancel_queued_agent_message_response";
|
|
48979
|
+
payload: {
|
|
48980
|
+
agentId: string;
|
|
48981
|
+
error: string | null;
|
|
48982
|
+
requestId: string;
|
|
48983
|
+
cancelled: boolean;
|
|
48984
|
+
};
|
|
48985
|
+
} | {
|
|
48986
|
+
type: "steer_queued_agent_message_response";
|
|
48987
|
+
payload: {
|
|
48988
|
+
agentId: string;
|
|
48989
|
+
error: string | null;
|
|
48990
|
+
steered: boolean;
|
|
48991
|
+
requestId: string;
|
|
47368
48992
|
};
|
|
47369
48993
|
} | {
|
|
47370
48994
|
type: "wait_for_finish_response";
|
|
@@ -47429,6 +49053,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
47429
49053
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
47430
49054
|
lastTimelineAt?: string | null | undefined;
|
|
47431
49055
|
pendingPlanReview?: boolean | undefined;
|
|
49056
|
+
messageQueue?: {
|
|
49057
|
+
text: string;
|
|
49058
|
+
id: string;
|
|
49059
|
+
queuedAt: string;
|
|
49060
|
+
images?: AgentImageAttachment[] | undefined;
|
|
49061
|
+
}[] | undefined;
|
|
47432
49062
|
} | null;
|
|
47433
49063
|
lastMessage: string | null;
|
|
47434
49064
|
};
|
|
@@ -48554,6 +50184,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
48554
50184
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
48555
50185
|
lastTimelineAt?: string | null | undefined;
|
|
48556
50186
|
pendingPlanReview?: boolean | undefined;
|
|
50187
|
+
messageQueue?: {
|
|
50188
|
+
text: string;
|
|
50189
|
+
id: string;
|
|
50190
|
+
queuedAt: string;
|
|
50191
|
+
images?: AgentImageAttachment[] | undefined;
|
|
50192
|
+
}[] | undefined;
|
|
48557
50193
|
};
|
|
48558
50194
|
project: {
|
|
48559
50195
|
projectName: string;
|
|
@@ -48707,6 +50343,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
48707
50343
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
48708
50344
|
lastTimelineAt?: string | null | undefined;
|
|
48709
50345
|
pendingPlanReview?: boolean | undefined;
|
|
50346
|
+
messageQueue?: {
|
|
50347
|
+
text: string;
|
|
50348
|
+
id: string;
|
|
50349
|
+
queuedAt: string;
|
|
50350
|
+
images?: AgentImageAttachment[] | undefined;
|
|
50351
|
+
}[] | undefined;
|
|
48710
50352
|
};
|
|
48711
50353
|
};
|
|
48712
50354
|
} | {
|
|
@@ -48770,6 +50412,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
48770
50412
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
48771
50413
|
lastTimelineAt?: string | null | undefined;
|
|
48772
50414
|
pendingPlanReview?: boolean | undefined;
|
|
50415
|
+
messageQueue?: {
|
|
50416
|
+
text: string;
|
|
50417
|
+
id: string;
|
|
50418
|
+
queuedAt: string;
|
|
50419
|
+
images?: AgentImageAttachment[] | undefined;
|
|
50420
|
+
}[] | undefined;
|
|
48773
50421
|
};
|
|
48774
50422
|
project: {
|
|
48775
50423
|
projectName: string;
|
|
@@ -48867,6 +50515,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
48867
50515
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
48868
50516
|
lastTimelineAt?: string | null | undefined;
|
|
48869
50517
|
pendingPlanReview?: boolean | undefined;
|
|
50518
|
+
messageQueue?: {
|
|
50519
|
+
text: string;
|
|
50520
|
+
id: string;
|
|
50521
|
+
queuedAt: string;
|
|
50522
|
+
images?: AgentImageAttachment[] | undefined;
|
|
50523
|
+
}[] | undefined;
|
|
48870
50524
|
} | null;
|
|
48871
50525
|
requestId: string;
|
|
48872
50526
|
project?: {
|
|
@@ -48969,6 +50623,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
48969
50623
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
48970
50624
|
lastTimelineAt?: string | null | undefined;
|
|
48971
50625
|
pendingPlanReview?: boolean | undefined;
|
|
50626
|
+
messageQueue?: {
|
|
50627
|
+
text: string;
|
|
50628
|
+
id: string;
|
|
50629
|
+
queuedAt: string;
|
|
50630
|
+
images?: AgentImageAttachment[] | undefined;
|
|
50631
|
+
}[] | undefined;
|
|
48972
50632
|
} | null | undefined;
|
|
48973
50633
|
};
|
|
48974
50634
|
} | {
|
|
@@ -49156,6 +50816,23 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
49156
50816
|
error: string | null;
|
|
49157
50817
|
requestId: string;
|
|
49158
50818
|
accepted: boolean;
|
|
50819
|
+
queuePosition?: number | undefined;
|
|
50820
|
+
};
|
|
50821
|
+
} | {
|
|
50822
|
+
type: "cancel_queued_agent_message_response";
|
|
50823
|
+
payload: {
|
|
50824
|
+
agentId: string;
|
|
50825
|
+
error: string | null;
|
|
50826
|
+
requestId: string;
|
|
50827
|
+
cancelled: boolean;
|
|
50828
|
+
};
|
|
50829
|
+
} | {
|
|
50830
|
+
type: "steer_queued_agent_message_response";
|
|
50831
|
+
payload: {
|
|
50832
|
+
agentId: string;
|
|
50833
|
+
error: string | null;
|
|
50834
|
+
steered: boolean;
|
|
50835
|
+
requestId: string;
|
|
49159
50836
|
};
|
|
49160
50837
|
} | {
|
|
49161
50838
|
type: "wait_for_finish_response";
|
|
@@ -49220,6 +50897,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
49220
50897
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
49221
50898
|
lastTimelineAt?: string | null | undefined;
|
|
49222
50899
|
pendingPlanReview?: boolean | undefined;
|
|
50900
|
+
messageQueue?: {
|
|
50901
|
+
text: string;
|
|
50902
|
+
id: string;
|
|
50903
|
+
queuedAt: string;
|
|
50904
|
+
images?: AgentImageAttachment[] | undefined;
|
|
50905
|
+
}[] | undefined;
|
|
49223
50906
|
} | null;
|
|
49224
50907
|
lastMessage: string | null;
|
|
49225
50908
|
};
|
|
@@ -50442,13 +52125,14 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
50442
52125
|
resumeFrom?: AgentPersistenceHandle | null | undefined;
|
|
50443
52126
|
maxThinkingTokens?: number | undefined;
|
|
50444
52127
|
}>>;
|
|
52128
|
+
deliveryMode: z.ZodOptional<z.ZodEnum<["interrupt", "queue"]>>;
|
|
50445
52129
|
}, "strip", z.ZodTypeAny, {
|
|
50446
52130
|
agentId: string;
|
|
50447
52131
|
text: string;
|
|
50448
52132
|
type: "send_agent_message_request";
|
|
50449
52133
|
requestId: string;
|
|
50450
|
-
messageId?: string | undefined;
|
|
50451
52134
|
images?: AgentImageAttachment[] | undefined;
|
|
52135
|
+
messageId?: string | undefined;
|
|
50452
52136
|
suppressHistory?: boolean | undefined;
|
|
50453
52137
|
runOptions?: {
|
|
50454
52138
|
extra?: {
|
|
@@ -50460,13 +52144,14 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
50460
52144
|
resumeFrom?: AgentPersistenceHandle | null | undefined;
|
|
50461
52145
|
maxThinkingTokens?: number | undefined;
|
|
50462
52146
|
} | undefined;
|
|
52147
|
+
deliveryMode?: "interrupt" | "queue" | undefined;
|
|
50463
52148
|
}, {
|
|
50464
52149
|
agentId: string;
|
|
50465
52150
|
text: string;
|
|
50466
52151
|
type: "send_agent_message_request";
|
|
50467
52152
|
requestId: string;
|
|
50468
|
-
messageId?: string | undefined;
|
|
50469
52153
|
images?: AgentImageAttachment[] | undefined;
|
|
52154
|
+
messageId?: string | undefined;
|
|
50470
52155
|
suppressHistory?: boolean | undefined;
|
|
50471
52156
|
runOptions?: {
|
|
50472
52157
|
extra?: {
|
|
@@ -50478,6 +52163,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
50478
52163
|
resumeFrom?: AgentPersistenceHandle | null | undefined;
|
|
50479
52164
|
maxThinkingTokens?: number | undefined;
|
|
50480
52165
|
} | undefined;
|
|
52166
|
+
deliveryMode?: "interrupt" | "queue" | undefined;
|
|
50481
52167
|
}>, z.ZodObject<{
|
|
50482
52168
|
type: z.ZodLiteral<"wait_for_finish_request">;
|
|
50483
52169
|
requestId: z.ZodString;
|
|
@@ -50798,8 +52484,8 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
50798
52484
|
attachBranchSource?: "local" | "remote" | undefined;
|
|
50799
52485
|
} | undefined;
|
|
50800
52486
|
parentAgentId?: string | null | undefined;
|
|
50801
|
-
generalPreferencesApplied?: boolean | undefined;
|
|
50802
52487
|
images?: AgentImageAttachment[] | undefined;
|
|
52488
|
+
generalPreferencesApplied?: boolean | undefined;
|
|
50803
52489
|
outputSchema?: Record<string, unknown> | undefined;
|
|
50804
52490
|
worktreeName?: string | undefined;
|
|
50805
52491
|
initialPrompt?: string | undefined;
|
|
@@ -50862,8 +52548,8 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
50862
52548
|
} | undefined;
|
|
50863
52549
|
parentAgentId?: string | null | undefined;
|
|
50864
52550
|
labels?: Record<string, string> | undefined;
|
|
50865
|
-
generalPreferencesApplied?: boolean | undefined;
|
|
50866
52551
|
images?: AgentImageAttachment[] | undefined;
|
|
52552
|
+
generalPreferencesApplied?: boolean | undefined;
|
|
50867
52553
|
outputSchema?: Record<string, unknown> | undefined;
|
|
50868
52554
|
worktreeName?: string | undefined;
|
|
50869
52555
|
initialPrompt?: string | undefined;
|
|
@@ -52179,6 +53865,36 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
52179
53865
|
type: "detach_terminal_stream_request";
|
|
52180
53866
|
requestId: string;
|
|
52181
53867
|
streamId: number;
|
|
53868
|
+
}>, z.ZodObject<{
|
|
53869
|
+
type: z.ZodLiteral<"cancel_queued_agent_message_request">;
|
|
53870
|
+
requestId: z.ZodString;
|
|
53871
|
+
agentId: z.ZodString;
|
|
53872
|
+
messageId: z.ZodString;
|
|
53873
|
+
}, "strip", z.ZodTypeAny, {
|
|
53874
|
+
agentId: string;
|
|
53875
|
+
type: "cancel_queued_agent_message_request";
|
|
53876
|
+
requestId: string;
|
|
53877
|
+
messageId: string;
|
|
53878
|
+
}, {
|
|
53879
|
+
agentId: string;
|
|
53880
|
+
type: "cancel_queued_agent_message_request";
|
|
53881
|
+
requestId: string;
|
|
53882
|
+
messageId: string;
|
|
53883
|
+
}>, z.ZodObject<{
|
|
53884
|
+
type: z.ZodLiteral<"steer_queued_agent_message_request">;
|
|
53885
|
+
requestId: z.ZodString;
|
|
53886
|
+
agentId: z.ZodString;
|
|
53887
|
+
messageId: z.ZodString;
|
|
53888
|
+
}, "strip", z.ZodTypeAny, {
|
|
53889
|
+
agentId: string;
|
|
53890
|
+
type: "steer_queued_agent_message_request";
|
|
53891
|
+
requestId: string;
|
|
53892
|
+
messageId: string;
|
|
53893
|
+
}, {
|
|
53894
|
+
agentId: string;
|
|
53895
|
+
type: "steer_queued_agent_message_request";
|
|
53896
|
+
requestId: string;
|
|
53897
|
+
messageId: string;
|
|
52182
53898
|
}>]>;
|
|
52183
53899
|
}, "strip", z.ZodTypeAny, {
|
|
52184
53900
|
message: {
|
|
@@ -52242,8 +53958,8 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
52242
53958
|
text: string;
|
|
52243
53959
|
type: "send_agent_message_request";
|
|
52244
53960
|
requestId: string;
|
|
52245
|
-
messageId?: string | undefined;
|
|
52246
53961
|
images?: AgentImageAttachment[] | undefined;
|
|
53962
|
+
messageId?: string | undefined;
|
|
52247
53963
|
suppressHistory?: boolean | undefined;
|
|
52248
53964
|
runOptions?: {
|
|
52249
53965
|
extra?: {
|
|
@@ -52255,6 +53971,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
52255
53971
|
resumeFrom?: AgentPersistenceHandle | null | undefined;
|
|
52256
53972
|
maxThinkingTokens?: number | undefined;
|
|
52257
53973
|
} | undefined;
|
|
53974
|
+
deliveryMode?: "interrupt" | "queue" | undefined;
|
|
52258
53975
|
} | {
|
|
52259
53976
|
agentId: string;
|
|
52260
53977
|
type: "wait_for_finish_request";
|
|
@@ -52324,8 +54041,8 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
52324
54041
|
attachBranchSource?: "local" | "remote" | undefined;
|
|
52325
54042
|
} | undefined;
|
|
52326
54043
|
parentAgentId?: string | null | undefined;
|
|
52327
|
-
generalPreferencesApplied?: boolean | undefined;
|
|
52328
54044
|
images?: AgentImageAttachment[] | undefined;
|
|
54045
|
+
generalPreferencesApplied?: boolean | undefined;
|
|
52329
54046
|
outputSchema?: Record<string, unknown> | undefined;
|
|
52330
54047
|
worktreeName?: string | undefined;
|
|
52331
54048
|
initialPrompt?: string | undefined;
|
|
@@ -52727,6 +54444,16 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
52727
54444
|
type: "detach_terminal_stream_request";
|
|
52728
54445
|
requestId: string;
|
|
52729
54446
|
streamId: number;
|
|
54447
|
+
} | {
|
|
54448
|
+
agentId: string;
|
|
54449
|
+
type: "cancel_queued_agent_message_request";
|
|
54450
|
+
requestId: string;
|
|
54451
|
+
messageId: string;
|
|
54452
|
+
} | {
|
|
54453
|
+
agentId: string;
|
|
54454
|
+
type: "steer_queued_agent_message_request";
|
|
54455
|
+
requestId: string;
|
|
54456
|
+
messageId: string;
|
|
52730
54457
|
};
|
|
52731
54458
|
type: "session";
|
|
52732
54459
|
}, {
|
|
@@ -52791,8 +54518,8 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
52791
54518
|
text: string;
|
|
52792
54519
|
type: "send_agent_message_request";
|
|
52793
54520
|
requestId: string;
|
|
52794
|
-
messageId?: string | undefined;
|
|
52795
54521
|
images?: AgentImageAttachment[] | undefined;
|
|
54522
|
+
messageId?: string | undefined;
|
|
52796
54523
|
suppressHistory?: boolean | undefined;
|
|
52797
54524
|
runOptions?: {
|
|
52798
54525
|
extra?: {
|
|
@@ -52804,6 +54531,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
52804
54531
|
resumeFrom?: AgentPersistenceHandle | null | undefined;
|
|
52805
54532
|
maxThinkingTokens?: number | undefined;
|
|
52806
54533
|
} | undefined;
|
|
54534
|
+
deliveryMode?: "interrupt" | "queue" | undefined;
|
|
52807
54535
|
} | {
|
|
52808
54536
|
agentId: string;
|
|
52809
54537
|
type: "wait_for_finish_request";
|
|
@@ -52873,8 +54601,8 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
52873
54601
|
} | undefined;
|
|
52874
54602
|
parentAgentId?: string | null | undefined;
|
|
52875
54603
|
labels?: Record<string, string> | undefined;
|
|
52876
|
-
generalPreferencesApplied?: boolean | undefined;
|
|
52877
54604
|
images?: AgentImageAttachment[] | undefined;
|
|
54605
|
+
generalPreferencesApplied?: boolean | undefined;
|
|
52878
54606
|
outputSchema?: Record<string, unknown> | undefined;
|
|
52879
54607
|
worktreeName?: string | undefined;
|
|
52880
54608
|
initialPrompt?: string | undefined;
|
|
@@ -53276,6 +55004,16 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
53276
55004
|
type: "detach_terminal_stream_request";
|
|
53277
55005
|
requestId: string;
|
|
53278
55006
|
streamId: number;
|
|
55007
|
+
} | {
|
|
55008
|
+
agentId: string;
|
|
55009
|
+
type: "cancel_queued_agent_message_request";
|
|
55010
|
+
requestId: string;
|
|
55011
|
+
messageId: string;
|
|
55012
|
+
} | {
|
|
55013
|
+
agentId: string;
|
|
55014
|
+
type: "steer_queued_agent_message_request";
|
|
55015
|
+
requestId: string;
|
|
55016
|
+
messageId: string;
|
|
53279
55017
|
};
|
|
53280
55018
|
type: "session";
|
|
53281
55019
|
}>]>;
|
|
@@ -53812,6 +55550,22 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
53812
55550
|
hasNonRequiredFailingChecks?: boolean | null | undefined;
|
|
53813
55551
|
} | null | undefined;
|
|
53814
55552
|
}>>>;
|
|
55553
|
+
messageQueue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
55554
|
+
id: z.ZodString;
|
|
55555
|
+
text: z.ZodString;
|
|
55556
|
+
queuedAt: z.ZodString;
|
|
55557
|
+
images: z.ZodOptional<z.ZodArray<z.ZodType<AgentImageAttachment, z.ZodTypeDef, AgentImageAttachment>, "many">>;
|
|
55558
|
+
}, "strip", z.ZodTypeAny, {
|
|
55559
|
+
text: string;
|
|
55560
|
+
id: string;
|
|
55561
|
+
queuedAt: string;
|
|
55562
|
+
images?: AgentImageAttachment[] | undefined;
|
|
55563
|
+
}, {
|
|
55564
|
+
text: string;
|
|
55565
|
+
id: string;
|
|
55566
|
+
queuedAt: string;
|
|
55567
|
+
images?: AgentImageAttachment[] | undefined;
|
|
55568
|
+
}>, "many">>;
|
|
53815
55569
|
}, "strip", z.ZodTypeAny, {
|
|
53816
55570
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
53817
55571
|
id: string;
|
|
@@ -53869,6 +55623,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
53869
55623
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
53870
55624
|
lastTimelineAt?: string | null | undefined;
|
|
53871
55625
|
pendingPlanReview?: boolean | undefined;
|
|
55626
|
+
messageQueue?: {
|
|
55627
|
+
text: string;
|
|
55628
|
+
id: string;
|
|
55629
|
+
queuedAt: string;
|
|
55630
|
+
images?: AgentImageAttachment[] | undefined;
|
|
55631
|
+
}[] | undefined;
|
|
53872
55632
|
}, {
|
|
53873
55633
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
53874
55634
|
id: string;
|
|
@@ -53926,6 +55686,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
53926
55686
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
53927
55687
|
lastTimelineAt?: string | null | undefined;
|
|
53928
55688
|
pendingPlanReview?: boolean | undefined;
|
|
55689
|
+
messageQueue?: {
|
|
55690
|
+
text: string;
|
|
55691
|
+
id: string;
|
|
55692
|
+
queuedAt: string;
|
|
55693
|
+
images?: AgentImageAttachment[] | undefined;
|
|
55694
|
+
}[] | undefined;
|
|
53929
55695
|
}>;
|
|
53930
55696
|
project: z.ZodObject<{
|
|
53931
55697
|
projectKey: z.ZodString;
|
|
@@ -54104,6 +55870,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
54104
55870
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
54105
55871
|
lastTimelineAt?: string | null | undefined;
|
|
54106
55872
|
pendingPlanReview?: boolean | undefined;
|
|
55873
|
+
messageQueue?: {
|
|
55874
|
+
text: string;
|
|
55875
|
+
id: string;
|
|
55876
|
+
queuedAt: string;
|
|
55877
|
+
images?: AgentImageAttachment[] | undefined;
|
|
55878
|
+
}[] | undefined;
|
|
54107
55879
|
};
|
|
54108
55880
|
project: {
|
|
54109
55881
|
projectName: string;
|
|
@@ -54190,6 +55962,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
54190
55962
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
54191
55963
|
lastTimelineAt?: string | null | undefined;
|
|
54192
55964
|
pendingPlanReview?: boolean | undefined;
|
|
55965
|
+
messageQueue?: {
|
|
55966
|
+
text: string;
|
|
55967
|
+
id: string;
|
|
55968
|
+
queuedAt: string;
|
|
55969
|
+
images?: AgentImageAttachment[] | undefined;
|
|
55970
|
+
}[] | undefined;
|
|
54193
55971
|
};
|
|
54194
55972
|
project: {
|
|
54195
55973
|
projectName: string;
|
|
@@ -54288,6 +56066,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
54288
56066
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
54289
56067
|
lastTimelineAt?: string | null | undefined;
|
|
54290
56068
|
pendingPlanReview?: boolean | undefined;
|
|
56069
|
+
messageQueue?: {
|
|
56070
|
+
text: string;
|
|
56071
|
+
id: string;
|
|
56072
|
+
queuedAt: string;
|
|
56073
|
+
images?: AgentImageAttachment[] | undefined;
|
|
56074
|
+
}[] | undefined;
|
|
54291
56075
|
};
|
|
54292
56076
|
project: {
|
|
54293
56077
|
projectName: string;
|
|
@@ -54380,6 +56164,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
54380
56164
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
54381
56165
|
lastTimelineAt?: string | null | undefined;
|
|
54382
56166
|
pendingPlanReview?: boolean | undefined;
|
|
56167
|
+
messageQueue?: {
|
|
56168
|
+
text: string;
|
|
56169
|
+
id: string;
|
|
56170
|
+
queuedAt: string;
|
|
56171
|
+
images?: AgentImageAttachment[] | undefined;
|
|
56172
|
+
}[] | undefined;
|
|
54383
56173
|
};
|
|
54384
56174
|
project: {
|
|
54385
56175
|
projectName: string;
|
|
@@ -54981,6 +56771,22 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
54981
56771
|
hasNonRequiredFailingChecks?: boolean | null | undefined;
|
|
54982
56772
|
} | null | undefined;
|
|
54983
56773
|
}>>>;
|
|
56774
|
+
messageQueue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
56775
|
+
id: z.ZodString;
|
|
56776
|
+
text: z.ZodString;
|
|
56777
|
+
queuedAt: z.ZodString;
|
|
56778
|
+
images: z.ZodOptional<z.ZodArray<z.ZodType<AgentImageAttachment, z.ZodTypeDef, AgentImageAttachment>, "many">>;
|
|
56779
|
+
}, "strip", z.ZodTypeAny, {
|
|
56780
|
+
text: string;
|
|
56781
|
+
id: string;
|
|
56782
|
+
queuedAt: string;
|
|
56783
|
+
images?: AgentImageAttachment[] | undefined;
|
|
56784
|
+
}, {
|
|
56785
|
+
text: string;
|
|
56786
|
+
id: string;
|
|
56787
|
+
queuedAt: string;
|
|
56788
|
+
images?: AgentImageAttachment[] | undefined;
|
|
56789
|
+
}>, "many">>;
|
|
54984
56790
|
}, "strip", z.ZodTypeAny, {
|
|
54985
56791
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
54986
56792
|
id: string;
|
|
@@ -55038,6 +56844,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
55038
56844
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
55039
56845
|
lastTimelineAt?: string | null | undefined;
|
|
55040
56846
|
pendingPlanReview?: boolean | undefined;
|
|
56847
|
+
messageQueue?: {
|
|
56848
|
+
text: string;
|
|
56849
|
+
id: string;
|
|
56850
|
+
queuedAt: string;
|
|
56851
|
+
images?: AgentImageAttachment[] | undefined;
|
|
56852
|
+
}[] | undefined;
|
|
55041
56853
|
}, {
|
|
55042
56854
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
55043
56855
|
id: string;
|
|
@@ -55095,6 +56907,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
55095
56907
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
55096
56908
|
lastTimelineAt?: string | null | undefined;
|
|
55097
56909
|
pendingPlanReview?: boolean | undefined;
|
|
56910
|
+
messageQueue?: {
|
|
56911
|
+
text: string;
|
|
56912
|
+
id: string;
|
|
56913
|
+
queuedAt: string;
|
|
56914
|
+
images?: AgentImageAttachment[] | undefined;
|
|
56915
|
+
}[] | undefined;
|
|
55098
56916
|
}>;
|
|
55099
56917
|
}, "strip", z.ZodTypeAny, {
|
|
55100
56918
|
agentId: string;
|
|
@@ -55156,6 +56974,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
55156
56974
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
55157
56975
|
lastTimelineAt?: string | null | undefined;
|
|
55158
56976
|
pendingPlanReview?: boolean | undefined;
|
|
56977
|
+
messageQueue?: {
|
|
56978
|
+
text: string;
|
|
56979
|
+
id: string;
|
|
56980
|
+
queuedAt: string;
|
|
56981
|
+
images?: AgentImageAttachment[] | undefined;
|
|
56982
|
+
}[] | undefined;
|
|
55159
56983
|
};
|
|
55160
56984
|
}, {
|
|
55161
56985
|
agentId: string;
|
|
@@ -55217,6 +57041,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
55217
57041
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
55218
57042
|
lastTimelineAt?: string | null | undefined;
|
|
55219
57043
|
pendingPlanReview?: boolean | undefined;
|
|
57044
|
+
messageQueue?: {
|
|
57045
|
+
text: string;
|
|
57046
|
+
id: string;
|
|
57047
|
+
queuedAt: string;
|
|
57048
|
+
images?: AgentImageAttachment[] | undefined;
|
|
57049
|
+
}[] | undefined;
|
|
55220
57050
|
};
|
|
55221
57051
|
}>;
|
|
55222
57052
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -55281,6 +57111,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
55281
57111
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
55282
57112
|
lastTimelineAt?: string | null | undefined;
|
|
55283
57113
|
pendingPlanReview?: boolean | undefined;
|
|
57114
|
+
messageQueue?: {
|
|
57115
|
+
text: string;
|
|
57116
|
+
id: string;
|
|
57117
|
+
queuedAt: string;
|
|
57118
|
+
images?: AgentImageAttachment[] | undefined;
|
|
57119
|
+
}[] | undefined;
|
|
55284
57120
|
};
|
|
55285
57121
|
};
|
|
55286
57122
|
}, {
|
|
@@ -55345,6 +57181,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
55345
57181
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
55346
57182
|
lastTimelineAt?: string | null | undefined;
|
|
55347
57183
|
pendingPlanReview?: boolean | undefined;
|
|
57184
|
+
messageQueue?: {
|
|
57185
|
+
text: string;
|
|
57186
|
+
id: string;
|
|
57187
|
+
queuedAt: string;
|
|
57188
|
+
images?: AgentImageAttachment[] | undefined;
|
|
57189
|
+
}[] | undefined;
|
|
55348
57190
|
};
|
|
55349
57191
|
};
|
|
55350
57192
|
}>, z.ZodObject<{
|
|
@@ -55490,6 +57332,22 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
55490
57332
|
hasNonRequiredFailingChecks?: boolean | null | undefined;
|
|
55491
57333
|
} | null | undefined;
|
|
55492
57334
|
}>>>;
|
|
57335
|
+
messageQueue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
57336
|
+
id: z.ZodString;
|
|
57337
|
+
text: z.ZodString;
|
|
57338
|
+
queuedAt: z.ZodString;
|
|
57339
|
+
images: z.ZodOptional<z.ZodArray<z.ZodType<AgentImageAttachment, z.ZodTypeDef, AgentImageAttachment>, "many">>;
|
|
57340
|
+
}, "strip", z.ZodTypeAny, {
|
|
57341
|
+
text: string;
|
|
57342
|
+
id: string;
|
|
57343
|
+
queuedAt: string;
|
|
57344
|
+
images?: AgentImageAttachment[] | undefined;
|
|
57345
|
+
}, {
|
|
57346
|
+
text: string;
|
|
57347
|
+
id: string;
|
|
57348
|
+
queuedAt: string;
|
|
57349
|
+
images?: AgentImageAttachment[] | undefined;
|
|
57350
|
+
}>, "many">>;
|
|
55493
57351
|
}, "strip", z.ZodTypeAny, {
|
|
55494
57352
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
55495
57353
|
id: string;
|
|
@@ -55547,6 +57405,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
55547
57405
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
55548
57406
|
lastTimelineAt?: string | null | undefined;
|
|
55549
57407
|
pendingPlanReview?: boolean | undefined;
|
|
57408
|
+
messageQueue?: {
|
|
57409
|
+
text: string;
|
|
57410
|
+
id: string;
|
|
57411
|
+
queuedAt: string;
|
|
57412
|
+
images?: AgentImageAttachment[] | undefined;
|
|
57413
|
+
}[] | undefined;
|
|
55550
57414
|
}, {
|
|
55551
57415
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
55552
57416
|
id: string;
|
|
@@ -55604,6 +57468,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
55604
57468
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
55605
57469
|
lastTimelineAt?: string | null | undefined;
|
|
55606
57470
|
pendingPlanReview?: boolean | undefined;
|
|
57471
|
+
messageQueue?: {
|
|
57472
|
+
text: string;
|
|
57473
|
+
id: string;
|
|
57474
|
+
queuedAt: string;
|
|
57475
|
+
images?: AgentImageAttachment[] | undefined;
|
|
57476
|
+
}[] | undefined;
|
|
55607
57477
|
}>;
|
|
55608
57478
|
project: z.ZodObject<{
|
|
55609
57479
|
projectKey: z.ZodString;
|
|
@@ -55781,6 +57651,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
55781
57651
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
55782
57652
|
lastTimelineAt?: string | null | undefined;
|
|
55783
57653
|
pendingPlanReview?: boolean | undefined;
|
|
57654
|
+
messageQueue?: {
|
|
57655
|
+
text: string;
|
|
57656
|
+
id: string;
|
|
57657
|
+
queuedAt: string;
|
|
57658
|
+
images?: AgentImageAttachment[] | undefined;
|
|
57659
|
+
}[] | undefined;
|
|
55784
57660
|
};
|
|
55785
57661
|
project: {
|
|
55786
57662
|
projectName: string;
|
|
@@ -55866,6 +57742,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
55866
57742
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
55867
57743
|
lastTimelineAt?: string | null | undefined;
|
|
55868
57744
|
pendingPlanReview?: boolean | undefined;
|
|
57745
|
+
messageQueue?: {
|
|
57746
|
+
text: string;
|
|
57747
|
+
id: string;
|
|
57748
|
+
queuedAt: string;
|
|
57749
|
+
images?: AgentImageAttachment[] | undefined;
|
|
57750
|
+
}[] | undefined;
|
|
55869
57751
|
};
|
|
55870
57752
|
project: {
|
|
55871
57753
|
projectName: string;
|
|
@@ -55966,6 +57848,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
55966
57848
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
55967
57849
|
lastTimelineAt?: string | null | undefined;
|
|
55968
57850
|
pendingPlanReview?: boolean | undefined;
|
|
57851
|
+
messageQueue?: {
|
|
57852
|
+
text: string;
|
|
57853
|
+
id: string;
|
|
57854
|
+
queuedAt: string;
|
|
57855
|
+
images?: AgentImageAttachment[] | undefined;
|
|
57856
|
+
}[] | undefined;
|
|
55969
57857
|
};
|
|
55970
57858
|
project: {
|
|
55971
57859
|
projectName: string;
|
|
@@ -56060,6 +57948,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
56060
57948
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
56061
57949
|
lastTimelineAt?: string | null | undefined;
|
|
56062
57950
|
pendingPlanReview?: boolean | undefined;
|
|
57951
|
+
messageQueue?: {
|
|
57952
|
+
text: string;
|
|
57953
|
+
id: string;
|
|
57954
|
+
queuedAt: string;
|
|
57955
|
+
images?: AgentImageAttachment[] | undefined;
|
|
57956
|
+
}[] | undefined;
|
|
56063
57957
|
};
|
|
56064
57958
|
project: {
|
|
56065
57959
|
projectName: string;
|
|
@@ -56157,6 +58051,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
56157
58051
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
56158
58052
|
lastTimelineAt?: string | null | undefined;
|
|
56159
58053
|
pendingPlanReview?: boolean | undefined;
|
|
58054
|
+
messageQueue?: {
|
|
58055
|
+
text: string;
|
|
58056
|
+
id: string;
|
|
58057
|
+
queuedAt: string;
|
|
58058
|
+
images?: AgentImageAttachment[] | undefined;
|
|
58059
|
+
}[] | undefined;
|
|
56160
58060
|
};
|
|
56161
58061
|
project: {
|
|
56162
58062
|
projectName: string;
|
|
@@ -56254,6 +58154,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
56254
58154
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
56255
58155
|
lastTimelineAt?: string | null | undefined;
|
|
56256
58156
|
pendingPlanReview?: boolean | undefined;
|
|
58157
|
+
messageQueue?: {
|
|
58158
|
+
text: string;
|
|
58159
|
+
id: string;
|
|
58160
|
+
queuedAt: string;
|
|
58161
|
+
images?: AgentImageAttachment[] | undefined;
|
|
58162
|
+
}[] | undefined;
|
|
56257
58163
|
};
|
|
56258
58164
|
project: {
|
|
56259
58165
|
projectName: string;
|
|
@@ -56431,6 +58337,22 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
56431
58337
|
hasNonRequiredFailingChecks?: boolean | null | undefined;
|
|
56432
58338
|
} | null | undefined;
|
|
56433
58339
|
}>>>;
|
|
58340
|
+
messageQueue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
58341
|
+
id: z.ZodString;
|
|
58342
|
+
text: z.ZodString;
|
|
58343
|
+
queuedAt: z.ZodString;
|
|
58344
|
+
images: z.ZodOptional<z.ZodArray<z.ZodType<AgentImageAttachment, z.ZodTypeDef, AgentImageAttachment>, "many">>;
|
|
58345
|
+
}, "strip", z.ZodTypeAny, {
|
|
58346
|
+
text: string;
|
|
58347
|
+
id: string;
|
|
58348
|
+
queuedAt: string;
|
|
58349
|
+
images?: AgentImageAttachment[] | undefined;
|
|
58350
|
+
}, {
|
|
58351
|
+
text: string;
|
|
58352
|
+
id: string;
|
|
58353
|
+
queuedAt: string;
|
|
58354
|
+
images?: AgentImageAttachment[] | undefined;
|
|
58355
|
+
}>, "many">>;
|
|
56434
58356
|
}, "strip", z.ZodTypeAny, {
|
|
56435
58357
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
56436
58358
|
id: string;
|
|
@@ -56488,6 +58410,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
56488
58410
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
56489
58411
|
lastTimelineAt?: string | null | undefined;
|
|
56490
58412
|
pendingPlanReview?: boolean | undefined;
|
|
58413
|
+
messageQueue?: {
|
|
58414
|
+
text: string;
|
|
58415
|
+
id: string;
|
|
58416
|
+
queuedAt: string;
|
|
58417
|
+
images?: AgentImageAttachment[] | undefined;
|
|
58418
|
+
}[] | undefined;
|
|
56491
58419
|
}, {
|
|
56492
58420
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
56493
58421
|
id: string;
|
|
@@ -56545,6 +58473,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
56545
58473
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
56546
58474
|
lastTimelineAt?: string | null | undefined;
|
|
56547
58475
|
pendingPlanReview?: boolean | undefined;
|
|
58476
|
+
messageQueue?: {
|
|
58477
|
+
text: string;
|
|
58478
|
+
id: string;
|
|
58479
|
+
queuedAt: string;
|
|
58480
|
+
images?: AgentImageAttachment[] | undefined;
|
|
58481
|
+
}[] | undefined;
|
|
56548
58482
|
}>>;
|
|
56549
58483
|
project: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
56550
58484
|
projectKey: z.ZodString;
|
|
@@ -56724,6 +58658,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
56724
58658
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
56725
58659
|
lastTimelineAt?: string | null | undefined;
|
|
56726
58660
|
pendingPlanReview?: boolean | undefined;
|
|
58661
|
+
messageQueue?: {
|
|
58662
|
+
text: string;
|
|
58663
|
+
id: string;
|
|
58664
|
+
queuedAt: string;
|
|
58665
|
+
images?: AgentImageAttachment[] | undefined;
|
|
58666
|
+
}[] | undefined;
|
|
56727
58667
|
} | null;
|
|
56728
58668
|
requestId: string;
|
|
56729
58669
|
project?: {
|
|
@@ -56811,6 +58751,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
56811
58751
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
56812
58752
|
lastTimelineAt?: string | null | undefined;
|
|
56813
58753
|
pendingPlanReview?: boolean | undefined;
|
|
58754
|
+
messageQueue?: {
|
|
58755
|
+
text: string;
|
|
58756
|
+
id: string;
|
|
58757
|
+
queuedAt: string;
|
|
58758
|
+
images?: AgentImageAttachment[] | undefined;
|
|
58759
|
+
}[] | undefined;
|
|
56814
58760
|
} | null;
|
|
56815
58761
|
requestId: string;
|
|
56816
58762
|
project?: {
|
|
@@ -56901,6 +58847,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
56901
58847
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
56902
58848
|
lastTimelineAt?: string | null | undefined;
|
|
56903
58849
|
pendingPlanReview?: boolean | undefined;
|
|
58850
|
+
messageQueue?: {
|
|
58851
|
+
text: string;
|
|
58852
|
+
id: string;
|
|
58853
|
+
queuedAt: string;
|
|
58854
|
+
images?: AgentImageAttachment[] | undefined;
|
|
58855
|
+
}[] | undefined;
|
|
56904
58856
|
} | null;
|
|
56905
58857
|
requestId: string;
|
|
56906
58858
|
project?: {
|
|
@@ -56991,6 +58943,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
56991
58943
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
56992
58944
|
lastTimelineAt?: string | null | undefined;
|
|
56993
58945
|
pendingPlanReview?: boolean | undefined;
|
|
58946
|
+
messageQueue?: {
|
|
58947
|
+
text: string;
|
|
58948
|
+
id: string;
|
|
58949
|
+
queuedAt: string;
|
|
58950
|
+
images?: AgentImageAttachment[] | undefined;
|
|
58951
|
+
}[] | undefined;
|
|
56994
58952
|
} | null;
|
|
56995
58953
|
requestId: string;
|
|
56996
58954
|
project?: {
|
|
@@ -57198,6 +59156,22 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
57198
59156
|
hasNonRequiredFailingChecks?: boolean | null | undefined;
|
|
57199
59157
|
} | null | undefined;
|
|
57200
59158
|
}>>>;
|
|
59159
|
+
messageQueue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
59160
|
+
id: z.ZodString;
|
|
59161
|
+
text: z.ZodString;
|
|
59162
|
+
queuedAt: z.ZodString;
|
|
59163
|
+
images: z.ZodOptional<z.ZodArray<z.ZodType<AgentImageAttachment, z.ZodTypeDef, AgentImageAttachment>, "many">>;
|
|
59164
|
+
}, "strip", z.ZodTypeAny, {
|
|
59165
|
+
text: string;
|
|
59166
|
+
id: string;
|
|
59167
|
+
queuedAt: string;
|
|
59168
|
+
images?: AgentImageAttachment[] | undefined;
|
|
59169
|
+
}, {
|
|
59170
|
+
text: string;
|
|
59171
|
+
id: string;
|
|
59172
|
+
queuedAt: string;
|
|
59173
|
+
images?: AgentImageAttachment[] | undefined;
|
|
59174
|
+
}>, "many">>;
|
|
57201
59175
|
}, "strip", z.ZodTypeAny, {
|
|
57202
59176
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
57203
59177
|
id: string;
|
|
@@ -57255,6 +59229,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
57255
59229
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
57256
59230
|
lastTimelineAt?: string | null | undefined;
|
|
57257
59231
|
pendingPlanReview?: boolean | undefined;
|
|
59232
|
+
messageQueue?: {
|
|
59233
|
+
text: string;
|
|
59234
|
+
id: string;
|
|
59235
|
+
queuedAt: string;
|
|
59236
|
+
images?: AgentImageAttachment[] | undefined;
|
|
59237
|
+
}[] | undefined;
|
|
57258
59238
|
}, {
|
|
57259
59239
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
57260
59240
|
id: string;
|
|
@@ -57312,6 +59292,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
57312
59292
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
57313
59293
|
lastTimelineAt?: string | null | undefined;
|
|
57314
59294
|
pendingPlanReview?: boolean | undefined;
|
|
59295
|
+
messageQueue?: {
|
|
59296
|
+
text: string;
|
|
59297
|
+
id: string;
|
|
59298
|
+
queuedAt: string;
|
|
59299
|
+
images?: AgentImageAttachment[] | undefined;
|
|
59300
|
+
}[] | undefined;
|
|
57315
59301
|
}>>>;
|
|
57316
59302
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57317
59303
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -57377,6 +59363,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
57377
59363
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
57378
59364
|
lastTimelineAt?: string | null | undefined;
|
|
57379
59365
|
pendingPlanReview?: boolean | undefined;
|
|
59366
|
+
messageQueue?: {
|
|
59367
|
+
text: string;
|
|
59368
|
+
id: string;
|
|
59369
|
+
queuedAt: string;
|
|
59370
|
+
images?: AgentImageAttachment[] | undefined;
|
|
59371
|
+
}[] | undefined;
|
|
57380
59372
|
} | null | undefined;
|
|
57381
59373
|
}, {
|
|
57382
59374
|
agentId: string;
|
|
@@ -57441,6 +59433,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
57441
59433
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
57442
59434
|
lastTimelineAt?: string | null | undefined;
|
|
57443
59435
|
pendingPlanReview?: boolean | undefined;
|
|
59436
|
+
messageQueue?: {
|
|
59437
|
+
text: string;
|
|
59438
|
+
id: string;
|
|
59439
|
+
queuedAt: string;
|
|
59440
|
+
images?: AgentImageAttachment[] | undefined;
|
|
59441
|
+
}[] | undefined;
|
|
57444
59442
|
} | null | undefined;
|
|
57445
59443
|
}>;
|
|
57446
59444
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -57508,6 +59506,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
57508
59506
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
57509
59507
|
lastTimelineAt?: string | null | undefined;
|
|
57510
59508
|
pendingPlanReview?: boolean | undefined;
|
|
59509
|
+
messageQueue?: {
|
|
59510
|
+
text: string;
|
|
59511
|
+
id: string;
|
|
59512
|
+
queuedAt: string;
|
|
59513
|
+
images?: AgentImageAttachment[] | undefined;
|
|
59514
|
+
}[] | undefined;
|
|
57511
59515
|
} | null | undefined;
|
|
57512
59516
|
};
|
|
57513
59517
|
}, {
|
|
@@ -57575,6 +59579,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
57575
59579
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
57576
59580
|
lastTimelineAt?: string | null | undefined;
|
|
57577
59581
|
pendingPlanReview?: boolean | undefined;
|
|
59582
|
+
messageQueue?: {
|
|
59583
|
+
text: string;
|
|
59584
|
+
id: string;
|
|
59585
|
+
queuedAt: string;
|
|
59586
|
+
images?: AgentImageAttachment[] | undefined;
|
|
59587
|
+
}[] | undefined;
|
|
57578
59588
|
} | null | undefined;
|
|
57579
59589
|
};
|
|
57580
59590
|
}>, z.ZodObject<{
|
|
@@ -58952,16 +60962,19 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
58952
60962
|
agentId: z.ZodString;
|
|
58953
60963
|
accepted: z.ZodBoolean;
|
|
58954
60964
|
error: z.ZodNullable<z.ZodString>;
|
|
60965
|
+
queuePosition: z.ZodOptional<z.ZodNumber>;
|
|
58955
60966
|
}, "strip", z.ZodTypeAny, {
|
|
58956
60967
|
agentId: string;
|
|
58957
60968
|
error: string | null;
|
|
58958
60969
|
requestId: string;
|
|
58959
60970
|
accepted: boolean;
|
|
60971
|
+
queuePosition?: number | undefined;
|
|
58960
60972
|
}, {
|
|
58961
60973
|
agentId: string;
|
|
58962
60974
|
error: string | null;
|
|
58963
60975
|
requestId: string;
|
|
58964
60976
|
accepted: boolean;
|
|
60977
|
+
queuePosition?: number | undefined;
|
|
58965
60978
|
}>;
|
|
58966
60979
|
}, "strip", z.ZodTypeAny, {
|
|
58967
60980
|
type: "send_agent_message_response";
|
|
@@ -58970,6 +60983,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
58970
60983
|
error: string | null;
|
|
58971
60984
|
requestId: string;
|
|
58972
60985
|
accepted: boolean;
|
|
60986
|
+
queuePosition?: number | undefined;
|
|
58973
60987
|
};
|
|
58974
60988
|
}, {
|
|
58975
60989
|
type: "send_agent_message_response";
|
|
@@ -58978,6 +60992,75 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
58978
60992
|
error: string | null;
|
|
58979
60993
|
requestId: string;
|
|
58980
60994
|
accepted: boolean;
|
|
60995
|
+
queuePosition?: number | undefined;
|
|
60996
|
+
};
|
|
60997
|
+
}>, z.ZodObject<{
|
|
60998
|
+
type: z.ZodLiteral<"cancel_queued_agent_message_response">;
|
|
60999
|
+
payload: z.ZodObject<{
|
|
61000
|
+
requestId: z.ZodString;
|
|
61001
|
+
agentId: z.ZodString;
|
|
61002
|
+
cancelled: z.ZodBoolean;
|
|
61003
|
+
error: z.ZodNullable<z.ZodString>;
|
|
61004
|
+
}, "strip", z.ZodTypeAny, {
|
|
61005
|
+
agentId: string;
|
|
61006
|
+
error: string | null;
|
|
61007
|
+
requestId: string;
|
|
61008
|
+
cancelled: boolean;
|
|
61009
|
+
}, {
|
|
61010
|
+
agentId: string;
|
|
61011
|
+
error: string | null;
|
|
61012
|
+
requestId: string;
|
|
61013
|
+
cancelled: boolean;
|
|
61014
|
+
}>;
|
|
61015
|
+
}, "strip", z.ZodTypeAny, {
|
|
61016
|
+
type: "cancel_queued_agent_message_response";
|
|
61017
|
+
payload: {
|
|
61018
|
+
agentId: string;
|
|
61019
|
+
error: string | null;
|
|
61020
|
+
requestId: string;
|
|
61021
|
+
cancelled: boolean;
|
|
61022
|
+
};
|
|
61023
|
+
}, {
|
|
61024
|
+
type: "cancel_queued_agent_message_response";
|
|
61025
|
+
payload: {
|
|
61026
|
+
agentId: string;
|
|
61027
|
+
error: string | null;
|
|
61028
|
+
requestId: string;
|
|
61029
|
+
cancelled: boolean;
|
|
61030
|
+
};
|
|
61031
|
+
}>, z.ZodObject<{
|
|
61032
|
+
type: z.ZodLiteral<"steer_queued_agent_message_response">;
|
|
61033
|
+
payload: z.ZodObject<{
|
|
61034
|
+
requestId: z.ZodString;
|
|
61035
|
+
agentId: z.ZodString;
|
|
61036
|
+
steered: z.ZodBoolean;
|
|
61037
|
+
error: z.ZodNullable<z.ZodString>;
|
|
61038
|
+
}, "strip", z.ZodTypeAny, {
|
|
61039
|
+
agentId: string;
|
|
61040
|
+
error: string | null;
|
|
61041
|
+
steered: boolean;
|
|
61042
|
+
requestId: string;
|
|
61043
|
+
}, {
|
|
61044
|
+
agentId: string;
|
|
61045
|
+
error: string | null;
|
|
61046
|
+
steered: boolean;
|
|
61047
|
+
requestId: string;
|
|
61048
|
+
}>;
|
|
61049
|
+
}, "strip", z.ZodTypeAny, {
|
|
61050
|
+
type: "steer_queued_agent_message_response";
|
|
61051
|
+
payload: {
|
|
61052
|
+
agentId: string;
|
|
61053
|
+
error: string | null;
|
|
61054
|
+
steered: boolean;
|
|
61055
|
+
requestId: string;
|
|
61056
|
+
};
|
|
61057
|
+
}, {
|
|
61058
|
+
type: "steer_queued_agent_message_response";
|
|
61059
|
+
payload: {
|
|
61060
|
+
agentId: string;
|
|
61061
|
+
error: string | null;
|
|
61062
|
+
steered: boolean;
|
|
61063
|
+
requestId: string;
|
|
58981
61064
|
};
|
|
58982
61065
|
}>, z.ZodObject<{
|
|
58983
61066
|
type: z.ZodLiteral<"set_agent_mode_response">;
|
|
@@ -59291,6 +61374,22 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
59291
61374
|
hasNonRequiredFailingChecks?: boolean | null | undefined;
|
|
59292
61375
|
} | null | undefined;
|
|
59293
61376
|
}>>>;
|
|
61377
|
+
messageQueue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
61378
|
+
id: z.ZodString;
|
|
61379
|
+
text: z.ZodString;
|
|
61380
|
+
queuedAt: z.ZodString;
|
|
61381
|
+
images: z.ZodOptional<z.ZodArray<z.ZodType<AgentImageAttachment, z.ZodTypeDef, AgentImageAttachment>, "many">>;
|
|
61382
|
+
}, "strip", z.ZodTypeAny, {
|
|
61383
|
+
text: string;
|
|
61384
|
+
id: string;
|
|
61385
|
+
queuedAt: string;
|
|
61386
|
+
images?: AgentImageAttachment[] | undefined;
|
|
61387
|
+
}, {
|
|
61388
|
+
text: string;
|
|
61389
|
+
id: string;
|
|
61390
|
+
queuedAt: string;
|
|
61391
|
+
images?: AgentImageAttachment[] | undefined;
|
|
61392
|
+
}>, "many">>;
|
|
59294
61393
|
}, "strip", z.ZodTypeAny, {
|
|
59295
61394
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
59296
61395
|
id: string;
|
|
@@ -59348,6 +61447,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
59348
61447
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
59349
61448
|
lastTimelineAt?: string | null | undefined;
|
|
59350
61449
|
pendingPlanReview?: boolean | undefined;
|
|
61450
|
+
messageQueue?: {
|
|
61451
|
+
text: string;
|
|
61452
|
+
id: string;
|
|
61453
|
+
queuedAt: string;
|
|
61454
|
+
images?: AgentImageAttachment[] | undefined;
|
|
61455
|
+
}[] | undefined;
|
|
59351
61456
|
}, {
|
|
59352
61457
|
status: "initializing" | "idle" | "running" | "error" | "closed";
|
|
59353
61458
|
id: string;
|
|
@@ -59405,6 +61510,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
59405
61510
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
59406
61511
|
lastTimelineAt?: string | null | undefined;
|
|
59407
61512
|
pendingPlanReview?: boolean | undefined;
|
|
61513
|
+
messageQueue?: {
|
|
61514
|
+
text: string;
|
|
61515
|
+
id: string;
|
|
61516
|
+
queuedAt: string;
|
|
61517
|
+
images?: AgentImageAttachment[] | undefined;
|
|
61518
|
+
}[] | undefined;
|
|
59408
61519
|
}>>;
|
|
59409
61520
|
error: z.ZodNullable<z.ZodString>;
|
|
59410
61521
|
lastMessage: z.ZodNullable<z.ZodString>;
|
|
@@ -59469,6 +61580,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
59469
61580
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
59470
61581
|
lastTimelineAt?: string | null | undefined;
|
|
59471
61582
|
pendingPlanReview?: boolean | undefined;
|
|
61583
|
+
messageQueue?: {
|
|
61584
|
+
text: string;
|
|
61585
|
+
id: string;
|
|
61586
|
+
queuedAt: string;
|
|
61587
|
+
images?: AgentImageAttachment[] | undefined;
|
|
61588
|
+
}[] | undefined;
|
|
59472
61589
|
} | null;
|
|
59473
61590
|
lastMessage: string | null;
|
|
59474
61591
|
}, {
|
|
@@ -59532,6 +61649,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
59532
61649
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
59533
61650
|
lastTimelineAt?: string | null | undefined;
|
|
59534
61651
|
pendingPlanReview?: boolean | undefined;
|
|
61652
|
+
messageQueue?: {
|
|
61653
|
+
text: string;
|
|
61654
|
+
id: string;
|
|
61655
|
+
queuedAt: string;
|
|
61656
|
+
images?: AgentImageAttachment[] | undefined;
|
|
61657
|
+
}[] | undefined;
|
|
59535
61658
|
} | null;
|
|
59536
61659
|
lastMessage: string | null;
|
|
59537
61660
|
}>;
|
|
@@ -59598,6 +61721,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
59598
61721
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
59599
61722
|
lastTimelineAt?: string | null | undefined;
|
|
59600
61723
|
pendingPlanReview?: boolean | undefined;
|
|
61724
|
+
messageQueue?: {
|
|
61725
|
+
text: string;
|
|
61726
|
+
id: string;
|
|
61727
|
+
queuedAt: string;
|
|
61728
|
+
images?: AgentImageAttachment[] | undefined;
|
|
61729
|
+
}[] | undefined;
|
|
59601
61730
|
} | null;
|
|
59602
61731
|
lastMessage: string | null;
|
|
59603
61732
|
};
|
|
@@ -59664,6 +61793,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
59664
61793
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
59665
61794
|
lastTimelineAt?: string | null | undefined;
|
|
59666
61795
|
pendingPlanReview?: boolean | undefined;
|
|
61796
|
+
messageQueue?: {
|
|
61797
|
+
text: string;
|
|
61798
|
+
id: string;
|
|
61799
|
+
queuedAt: string;
|
|
61800
|
+
images?: AgentImageAttachment[] | undefined;
|
|
61801
|
+
}[] | undefined;
|
|
59667
61802
|
} | null;
|
|
59668
61803
|
lastMessage: string | null;
|
|
59669
61804
|
};
|
|
@@ -65505,6 +67640,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
65505
67640
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
65506
67641
|
lastTimelineAt?: string | null | undefined;
|
|
65507
67642
|
pendingPlanReview?: boolean | undefined;
|
|
67643
|
+
messageQueue?: {
|
|
67644
|
+
text: string;
|
|
67645
|
+
id: string;
|
|
67646
|
+
queuedAt: string;
|
|
67647
|
+
images?: AgentImageAttachment[] | undefined;
|
|
67648
|
+
}[] | undefined;
|
|
65508
67649
|
};
|
|
65509
67650
|
project: {
|
|
65510
67651
|
projectName: string;
|
|
@@ -65658,6 +67799,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
65658
67799
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
65659
67800
|
lastTimelineAt?: string | null | undefined;
|
|
65660
67801
|
pendingPlanReview?: boolean | undefined;
|
|
67802
|
+
messageQueue?: {
|
|
67803
|
+
text: string;
|
|
67804
|
+
id: string;
|
|
67805
|
+
queuedAt: string;
|
|
67806
|
+
images?: AgentImageAttachment[] | undefined;
|
|
67807
|
+
}[] | undefined;
|
|
65661
67808
|
};
|
|
65662
67809
|
};
|
|
65663
67810
|
} | {
|
|
@@ -65721,6 +67868,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
65721
67868
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
65722
67869
|
lastTimelineAt?: string | null | undefined;
|
|
65723
67870
|
pendingPlanReview?: boolean | undefined;
|
|
67871
|
+
messageQueue?: {
|
|
67872
|
+
text: string;
|
|
67873
|
+
id: string;
|
|
67874
|
+
queuedAt: string;
|
|
67875
|
+
images?: AgentImageAttachment[] | undefined;
|
|
67876
|
+
}[] | undefined;
|
|
65724
67877
|
};
|
|
65725
67878
|
project: {
|
|
65726
67879
|
projectName: string;
|
|
@@ -65818,6 +67971,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
65818
67971
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
65819
67972
|
lastTimelineAt?: string | null | undefined;
|
|
65820
67973
|
pendingPlanReview?: boolean | undefined;
|
|
67974
|
+
messageQueue?: {
|
|
67975
|
+
text: string;
|
|
67976
|
+
id: string;
|
|
67977
|
+
queuedAt: string;
|
|
67978
|
+
images?: AgentImageAttachment[] | undefined;
|
|
67979
|
+
}[] | undefined;
|
|
65821
67980
|
} | null;
|
|
65822
67981
|
requestId: string;
|
|
65823
67982
|
project?: {
|
|
@@ -65920,6 +68079,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
65920
68079
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
65921
68080
|
lastTimelineAt?: string | null | undefined;
|
|
65922
68081
|
pendingPlanReview?: boolean | undefined;
|
|
68082
|
+
messageQueue?: {
|
|
68083
|
+
text: string;
|
|
68084
|
+
id: string;
|
|
68085
|
+
queuedAt: string;
|
|
68086
|
+
images?: AgentImageAttachment[] | undefined;
|
|
68087
|
+
}[] | undefined;
|
|
65923
68088
|
} | null | undefined;
|
|
65924
68089
|
};
|
|
65925
68090
|
} | {
|
|
@@ -66107,6 +68272,23 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
66107
68272
|
error: string | null;
|
|
66108
68273
|
requestId: string;
|
|
66109
68274
|
accepted: boolean;
|
|
68275
|
+
queuePosition?: number | undefined;
|
|
68276
|
+
};
|
|
68277
|
+
} | {
|
|
68278
|
+
type: "cancel_queued_agent_message_response";
|
|
68279
|
+
payload: {
|
|
68280
|
+
agentId: string;
|
|
68281
|
+
error: string | null;
|
|
68282
|
+
requestId: string;
|
|
68283
|
+
cancelled: boolean;
|
|
68284
|
+
};
|
|
68285
|
+
} | {
|
|
68286
|
+
type: "steer_queued_agent_message_response";
|
|
68287
|
+
payload: {
|
|
68288
|
+
agentId: string;
|
|
68289
|
+
error: string | null;
|
|
68290
|
+
steered: boolean;
|
|
68291
|
+
requestId: string;
|
|
66110
68292
|
};
|
|
66111
68293
|
} | {
|
|
66112
68294
|
type: "wait_for_finish_response";
|
|
@@ -66171,6 +68353,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
66171
68353
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
66172
68354
|
lastTimelineAt?: string | null | undefined;
|
|
66173
68355
|
pendingPlanReview?: boolean | undefined;
|
|
68356
|
+
messageQueue?: {
|
|
68357
|
+
text: string;
|
|
68358
|
+
id: string;
|
|
68359
|
+
queuedAt: string;
|
|
68360
|
+
images?: AgentImageAttachment[] | undefined;
|
|
68361
|
+
}[] | undefined;
|
|
66174
68362
|
} | null;
|
|
66175
68363
|
lastMessage: string | null;
|
|
66176
68364
|
};
|
|
@@ -67296,6 +69484,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
67296
69484
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
67297
69485
|
lastTimelineAt?: string | null | undefined;
|
|
67298
69486
|
pendingPlanReview?: boolean | undefined;
|
|
69487
|
+
messageQueue?: {
|
|
69488
|
+
text: string;
|
|
69489
|
+
id: string;
|
|
69490
|
+
queuedAt: string;
|
|
69491
|
+
images?: AgentImageAttachment[] | undefined;
|
|
69492
|
+
}[] | undefined;
|
|
67299
69493
|
};
|
|
67300
69494
|
project: {
|
|
67301
69495
|
projectName: string;
|
|
@@ -67449,6 +69643,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
67449
69643
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
67450
69644
|
lastTimelineAt?: string | null | undefined;
|
|
67451
69645
|
pendingPlanReview?: boolean | undefined;
|
|
69646
|
+
messageQueue?: {
|
|
69647
|
+
text: string;
|
|
69648
|
+
id: string;
|
|
69649
|
+
queuedAt: string;
|
|
69650
|
+
images?: AgentImageAttachment[] | undefined;
|
|
69651
|
+
}[] | undefined;
|
|
67452
69652
|
};
|
|
67453
69653
|
};
|
|
67454
69654
|
} | {
|
|
@@ -67512,6 +69712,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
67512
69712
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
67513
69713
|
lastTimelineAt?: string | null | undefined;
|
|
67514
69714
|
pendingPlanReview?: boolean | undefined;
|
|
69715
|
+
messageQueue?: {
|
|
69716
|
+
text: string;
|
|
69717
|
+
id: string;
|
|
69718
|
+
queuedAt: string;
|
|
69719
|
+
images?: AgentImageAttachment[] | undefined;
|
|
69720
|
+
}[] | undefined;
|
|
67515
69721
|
};
|
|
67516
69722
|
project: {
|
|
67517
69723
|
projectName: string;
|
|
@@ -67609,6 +69815,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
67609
69815
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
67610
69816
|
lastTimelineAt?: string | null | undefined;
|
|
67611
69817
|
pendingPlanReview?: boolean | undefined;
|
|
69818
|
+
messageQueue?: {
|
|
69819
|
+
text: string;
|
|
69820
|
+
id: string;
|
|
69821
|
+
queuedAt: string;
|
|
69822
|
+
images?: AgentImageAttachment[] | undefined;
|
|
69823
|
+
}[] | undefined;
|
|
67612
69824
|
} | null;
|
|
67613
69825
|
requestId: string;
|
|
67614
69826
|
project?: {
|
|
@@ -67711,6 +69923,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
67711
69923
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
67712
69924
|
lastTimelineAt?: string | null | undefined;
|
|
67713
69925
|
pendingPlanReview?: boolean | undefined;
|
|
69926
|
+
messageQueue?: {
|
|
69927
|
+
text: string;
|
|
69928
|
+
id: string;
|
|
69929
|
+
queuedAt: string;
|
|
69930
|
+
images?: AgentImageAttachment[] | undefined;
|
|
69931
|
+
}[] | undefined;
|
|
67714
69932
|
} | null | undefined;
|
|
67715
69933
|
};
|
|
67716
69934
|
} | {
|
|
@@ -67898,6 +70116,23 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
67898
70116
|
error: string | null;
|
|
67899
70117
|
requestId: string;
|
|
67900
70118
|
accepted: boolean;
|
|
70119
|
+
queuePosition?: number | undefined;
|
|
70120
|
+
};
|
|
70121
|
+
} | {
|
|
70122
|
+
type: "cancel_queued_agent_message_response";
|
|
70123
|
+
payload: {
|
|
70124
|
+
agentId: string;
|
|
70125
|
+
error: string | null;
|
|
70126
|
+
requestId: string;
|
|
70127
|
+
cancelled: boolean;
|
|
70128
|
+
};
|
|
70129
|
+
} | {
|
|
70130
|
+
type: "steer_queued_agent_message_response";
|
|
70131
|
+
payload: {
|
|
70132
|
+
agentId: string;
|
|
70133
|
+
error: string | null;
|
|
70134
|
+
steered: boolean;
|
|
70135
|
+
requestId: string;
|
|
67901
70136
|
};
|
|
67902
70137
|
} | {
|
|
67903
70138
|
type: "wait_for_finish_response";
|
|
@@ -67962,6 +70197,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
67962
70197
|
effectiveThinkingOptionId?: string | null | undefined;
|
|
67963
70198
|
lastTimelineAt?: string | null | undefined;
|
|
67964
70199
|
pendingPlanReview?: boolean | undefined;
|
|
70200
|
+
messageQueue?: {
|
|
70201
|
+
text: string;
|
|
70202
|
+
id: string;
|
|
70203
|
+
queuedAt: string;
|
|
70204
|
+
images?: AgentImageAttachment[] | undefined;
|
|
70205
|
+
}[] | undefined;
|
|
67965
70206
|
} | null;
|
|
67966
70207
|
lastMessage: string | null;
|
|
67967
70208
|
};
|