@myagentroam/protocol 0.11.39 → 0.11.41

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/index.d.ts CHANGED
@@ -13,6 +13,7 @@ export * from './git-identity.js';
13
13
  export * from './direct-transfer.js';
14
14
  export * from './terminal-direct.js';
15
15
  export * from './mail-notification.js';
16
+ export * from './marctl-execution-credential.js';
16
17
  export * from './notification-channels.js';
17
18
  export * from './web-push.js';
18
19
  export * from './workbench-notification.js';
@@ -497,17 +498,20 @@ export declare const nodeUpgradeStatusSchema: z.ZodObject<{
497
498
  state: z.ZodEnum<["IDLE", "WAITING_FOR_RUNS", "READY_TO_RESTART", "FAILED"]>;
498
499
  targetVersion: z.ZodOptional<z.ZodString>;
499
500
  activeRunCount: z.ZodOptional<z.ZodNumber>;
501
+ attemptId: z.ZodOptional<z.ZodString>;
500
502
  errorCode: z.ZodOptional<z.ZodString>;
501
503
  updatedAt: z.ZodNumber;
502
504
  }, "strip", z.ZodTypeAny, {
503
505
  updatedAt: number;
504
506
  state: "FAILED" | "IDLE" | "WAITING_FOR_RUNS" | "READY_TO_RESTART";
507
+ attemptId?: string | undefined;
505
508
  errorCode?: string | undefined;
506
509
  targetVersion?: string | undefined;
507
510
  activeRunCount?: number | undefined;
508
511
  }, {
509
512
  updatedAt: number;
510
513
  state: "FAILED" | "IDLE" | "WAITING_FOR_RUNS" | "READY_TO_RESTART";
514
+ attemptId?: string | undefined;
511
515
  errorCode?: string | undefined;
512
516
  targetVersion?: string | undefined;
513
517
  activeRunCount?: number | undefined;
@@ -593,21 +597,32 @@ export declare const nodeMetadataSchema: z.ZodOptional<z.ZodObject<{
593
597
  version?: string | undefined;
594
598
  }>, "many">>>;
595
599
  supervisedUpgrade: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
600
+ upgradeProgress: z.ZodOptional<z.ZodOptional<z.ZodObject<{
601
+ apiVersion: z.ZodLiteral<1>;
602
+ }, "strict", z.ZodTypeAny, {
603
+ apiVersion: 1;
604
+ }, {
605
+ apiVersion: 1;
606
+ }>>>;
607
+ upgradeAttemptId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
596
608
  upgrade: z.ZodOptional<z.ZodOptional<z.ZodObject<{
597
609
  state: z.ZodEnum<["IDLE", "WAITING_FOR_RUNS", "READY_TO_RESTART", "FAILED"]>;
598
610
  targetVersion: z.ZodOptional<z.ZodString>;
599
611
  activeRunCount: z.ZodOptional<z.ZodNumber>;
612
+ attemptId: z.ZodOptional<z.ZodString>;
600
613
  errorCode: z.ZodOptional<z.ZodString>;
601
614
  updatedAt: z.ZodNumber;
602
615
  }, "strip", z.ZodTypeAny, {
603
616
  updatedAt: number;
604
617
  state: "FAILED" | "IDLE" | "WAITING_FOR_RUNS" | "READY_TO_RESTART";
618
+ attemptId?: string | undefined;
605
619
  errorCode?: string | undefined;
606
620
  targetVersion?: string | undefined;
607
621
  activeRunCount?: number | undefined;
608
622
  }, {
609
623
  updatedAt: number;
610
624
  state: "FAILED" | "IDLE" | "WAITING_FOR_RUNS" | "READY_TO_RESTART";
625
+ attemptId?: string | undefined;
611
626
  errorCode?: string | undefined;
612
627
  targetVersion?: string | undefined;
613
628
  activeRunCount?: number | undefined;
@@ -643,9 +658,14 @@ export declare const nodeMetadataSchema: z.ZodOptional<z.ZodObject<{
643
658
  version?: string | undefined;
644
659
  }[] | undefined;
645
660
  supervisedUpgrade?: boolean | undefined;
661
+ upgradeProgress?: {
662
+ apiVersion: 1;
663
+ } | undefined;
664
+ upgradeAttemptId?: string | undefined;
646
665
  upgrade?: {
647
666
  updatedAt: number;
648
667
  state: "FAILED" | "IDLE" | "WAITING_FOR_RUNS" | "READY_TO_RESTART";
668
+ attemptId?: string | undefined;
649
669
  errorCode?: string | undefined;
650
670
  targetVersion?: string | undefined;
651
671
  activeRunCount?: number | undefined;
@@ -681,9 +701,14 @@ export declare const nodeMetadataSchema: z.ZodOptional<z.ZodObject<{
681
701
  version?: string | undefined;
682
702
  }[] | undefined;
683
703
  supervisedUpgrade?: boolean | undefined;
704
+ upgradeProgress?: {
705
+ apiVersion: 1;
706
+ } | undefined;
707
+ upgradeAttemptId?: string | undefined;
684
708
  upgrade?: {
685
709
  updatedAt: number;
686
710
  state: "FAILED" | "IDLE" | "WAITING_FOR_RUNS" | "READY_TO_RESTART";
711
+ attemptId?: string | undefined;
687
712
  errorCode?: string | undefined;
688
713
  targetVersion?: string | undefined;
689
714
  activeRunCount?: number | undefined;
@@ -761,21 +786,32 @@ export declare const nodeCapabilitiesSchema: z.ZodEffects<z.ZodObject<{
761
786
  version?: string | undefined;
762
787
  }>, "many">>>;
763
788
  supervisedUpgrade: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
789
+ upgradeProgress: z.ZodOptional<z.ZodOptional<z.ZodObject<{
790
+ apiVersion: z.ZodLiteral<1>;
791
+ }, "strict", z.ZodTypeAny, {
792
+ apiVersion: 1;
793
+ }, {
794
+ apiVersion: 1;
795
+ }>>>;
796
+ upgradeAttemptId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
764
797
  upgrade: z.ZodOptional<z.ZodOptional<z.ZodObject<{
765
798
  state: z.ZodEnum<["IDLE", "WAITING_FOR_RUNS", "READY_TO_RESTART", "FAILED"]>;
766
799
  targetVersion: z.ZodOptional<z.ZodString>;
767
800
  activeRunCount: z.ZodOptional<z.ZodNumber>;
801
+ attemptId: z.ZodOptional<z.ZodString>;
768
802
  errorCode: z.ZodOptional<z.ZodString>;
769
803
  updatedAt: z.ZodNumber;
770
804
  }, "strip", z.ZodTypeAny, {
771
805
  updatedAt: number;
772
806
  state: "FAILED" | "IDLE" | "WAITING_FOR_RUNS" | "READY_TO_RESTART";
807
+ attemptId?: string | undefined;
773
808
  errorCode?: string | undefined;
774
809
  targetVersion?: string | undefined;
775
810
  activeRunCount?: number | undefined;
776
811
  }, {
777
812
  updatedAt: number;
778
813
  state: "FAILED" | "IDLE" | "WAITING_FOR_RUNS" | "READY_TO_RESTART";
814
+ attemptId?: string | undefined;
779
815
  errorCode?: string | undefined;
780
816
  targetVersion?: string | undefined;
781
817
  activeRunCount?: number | undefined;
@@ -811,9 +847,14 @@ export declare const nodeCapabilitiesSchema: z.ZodEffects<z.ZodObject<{
811
847
  version?: string | undefined;
812
848
  }[] | undefined;
813
849
  supervisedUpgrade?: boolean | undefined;
850
+ upgradeProgress?: {
851
+ apiVersion: 1;
852
+ } | undefined;
853
+ upgradeAttemptId?: string | undefined;
814
854
  upgrade?: {
815
855
  updatedAt: number;
816
856
  state: "FAILED" | "IDLE" | "WAITING_FOR_RUNS" | "READY_TO_RESTART";
857
+ attemptId?: string | undefined;
817
858
  errorCode?: string | undefined;
818
859
  targetVersion?: string | undefined;
819
860
  activeRunCount?: number | undefined;
@@ -849,9 +890,14 @@ export declare const nodeCapabilitiesSchema: z.ZodEffects<z.ZodObject<{
849
890
  version?: string | undefined;
850
891
  }[] | undefined;
851
892
  supervisedUpgrade?: boolean | undefined;
893
+ upgradeProgress?: {
894
+ apiVersion: 1;
895
+ } | undefined;
896
+ upgradeAttemptId?: string | undefined;
852
897
  upgrade?: {
853
898
  updatedAt: number;
854
899
  state: "FAILED" | "IDLE" | "WAITING_FOR_RUNS" | "READY_TO_RESTART";
900
+ attemptId?: string | undefined;
855
901
  errorCode?: string | undefined;
856
902
  targetVersion?: string | undefined;
857
903
  activeRunCount?: number | undefined;
@@ -1143,9 +1189,14 @@ export declare const nodeCapabilitiesSchema: z.ZodEffects<z.ZodObject<{
1143
1189
  version?: string | undefined;
1144
1190
  }[] | undefined;
1145
1191
  supervisedUpgrade?: boolean | undefined;
1192
+ upgradeProgress?: {
1193
+ apiVersion: 1;
1194
+ } | undefined;
1195
+ upgradeAttemptId?: string | undefined;
1146
1196
  upgrade?: {
1147
1197
  updatedAt: number;
1148
1198
  state: "FAILED" | "IDLE" | "WAITING_FOR_RUNS" | "READY_TO_RESTART";
1199
+ attemptId?: string | undefined;
1149
1200
  errorCode?: string | undefined;
1150
1201
  targetVersion?: string | undefined;
1151
1202
  activeRunCount?: number | undefined;
@@ -1262,9 +1313,14 @@ export declare const nodeCapabilitiesSchema: z.ZodEffects<z.ZodObject<{
1262
1313
  version?: string | undefined;
1263
1314
  }[] | undefined;
1264
1315
  supervisedUpgrade?: boolean | undefined;
1316
+ upgradeProgress?: {
1317
+ apiVersion: 1;
1318
+ } | undefined;
1319
+ upgradeAttemptId?: string | undefined;
1265
1320
  upgrade?: {
1266
1321
  updatedAt: number;
1267
1322
  state: "FAILED" | "IDLE" | "WAITING_FOR_RUNS" | "READY_TO_RESTART";
1323
+ attemptId?: string | undefined;
1268
1324
  errorCode?: string | undefined;
1269
1325
  targetVersion?: string | undefined;
1270
1326
  activeRunCount?: number | undefined;
@@ -1381,9 +1437,14 @@ export declare const nodeCapabilitiesSchema: z.ZodEffects<z.ZodObject<{
1381
1437
  version?: string | undefined;
1382
1438
  }[] | undefined;
1383
1439
  supervisedUpgrade?: boolean | undefined;
1440
+ upgradeProgress?: {
1441
+ apiVersion: 1;
1442
+ } | undefined;
1443
+ upgradeAttemptId?: string | undefined;
1384
1444
  upgrade?: {
1385
1445
  updatedAt: number;
1386
1446
  state: "FAILED" | "IDLE" | "WAITING_FOR_RUNS" | "READY_TO_RESTART";
1447
+ attemptId?: string | undefined;
1387
1448
  errorCode?: string | undefined;
1388
1449
  targetVersion?: string | undefined;
1389
1450
  activeRunCount?: number | undefined;
@@ -1500,9 +1561,14 @@ export declare const nodeCapabilitiesSchema: z.ZodEffects<z.ZodObject<{
1500
1561
  version?: string | undefined;
1501
1562
  }[] | undefined;
1502
1563
  supervisedUpgrade?: boolean | undefined;
1564
+ upgradeProgress?: {
1565
+ apiVersion: 1;
1566
+ } | undefined;
1567
+ upgradeAttemptId?: string | undefined;
1503
1568
  upgrade?: {
1504
1569
  updatedAt: number;
1505
1570
  state: "FAILED" | "IDLE" | "WAITING_FOR_RUNS" | "READY_TO_RESTART";
1571
+ attemptId?: string | undefined;
1506
1572
  errorCode?: string | undefined;
1507
1573
  targetVersion?: string | undefined;
1508
1574
  activeRunCount?: number | undefined;
@@ -2960,6 +3026,7 @@ export declare const marAgentNodeModelSummarySchema: z.ZodEffects<z.ZodObject<{
2960
3026
  reasoningEfforts: z.ZodArray<z.ZodEnum<["low", "medium", "high", "xhigh", "max", "ultra"]>, "many">;
2961
3027
  defaultReasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max", "ultra"]>>;
2962
3028
  conversationModel: z.ZodDefault<z.ZodBoolean>;
3029
+ subagentModel: z.ZodDefault<z.ZodBoolean>;
2963
3030
  titleGeneration: z.ZodDefault<z.ZodBoolean>;
2964
3031
  codeMode: z.ZodDefault<z.ZodBoolean>;
2965
3032
  serviceTier: z.ZodOptional<z.ZodEnum<["auto", "default", "flex", "priority", "fast", "ultrafast"]>>;
@@ -2996,6 +3063,7 @@ export declare const marAgentNodeModelSummarySchema: z.ZodEffects<z.ZodObject<{
2996
3063
  outputCapabilities: ["TEXT"];
2997
3064
  reasoningEfforts: ("low" | "medium" | "high" | "xhigh" | "max" | "ultra")[];
2998
3065
  conversationModel: boolean;
3066
+ subagentModel: boolean;
2999
3067
  titleGeneration: boolean;
3000
3068
  codeMode: boolean;
3001
3069
  hostedWebSearch: boolean;
@@ -3050,6 +3118,7 @@ export declare const marAgentNodeModelSummarySchema: z.ZodEffects<z.ZodObject<{
3050
3118
  lastTestCode?: string | null | undefined;
3051
3119
  defaultReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
3052
3120
  conversationModel?: boolean | undefined;
3121
+ subagentModel?: boolean | undefined;
3053
3122
  titleGeneration?: boolean | undefined;
3054
3123
  codeMode?: boolean | undefined;
3055
3124
  serviceTier?: "auto" | "default" | "flex" | "priority" | "fast" | "ultrafast" | undefined;
@@ -3112,6 +3181,7 @@ export declare const marAgentModelSummarySchema: z.ZodEffects<z.ZodObject<{
3112
3181
  reasoningEfforts: z.ZodArray<z.ZodEnum<["low", "medium", "high", "xhigh", "max", "ultra"]>, "many">;
3113
3182
  defaultReasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max", "ultra"]>>;
3114
3183
  conversationModel: z.ZodDefault<z.ZodBoolean>;
3184
+ subagentModel: z.ZodDefault<z.ZodBoolean>;
3115
3185
  titleGeneration: z.ZodDefault<z.ZodBoolean>;
3116
3186
  codeMode: z.ZodDefault<z.ZodBoolean>;
3117
3187
  serviceTier: z.ZodOptional<z.ZodEnum<["auto", "default", "flex", "priority", "fast", "ultrafast"]>>;
@@ -3149,6 +3219,7 @@ export declare const marAgentModelSummarySchema: z.ZodEffects<z.ZodObject<{
3149
3219
  outputCapabilities: ["TEXT"];
3150
3220
  reasoningEfforts: ("low" | "medium" | "high" | "xhigh" | "max" | "ultra")[];
3151
3221
  conversationModel: boolean;
3222
+ subagentModel: boolean;
3152
3223
  titleGeneration: boolean;
3153
3224
  codeMode: boolean;
3154
3225
  hostedWebSearch: boolean;
@@ -3210,6 +3281,7 @@ export declare const marAgentModelSummarySchema: z.ZodEffects<z.ZodObject<{
3210
3281
  lastTestCode?: string | null | undefined;
3211
3282
  defaultReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
3212
3283
  conversationModel?: boolean | undefined;
3284
+ subagentModel?: boolean | undefined;
3213
3285
  titleGeneration?: boolean | undefined;
3214
3286
  codeMode?: boolean | undefined;
3215
3287
  serviceTier?: "auto" | "default" | "flex" | "priority" | "fast" | "ultrafast" | undefined;
@@ -3241,6 +3313,7 @@ export interface MarAgentModelSummary {
3241
3313
  reasoningEfforts: MarAgentReasoningEffort[];
3242
3314
  defaultReasoningEffort?: MarAgentReasoningEffort;
3243
3315
  conversationModel?: boolean;
3316
+ subagentModel?: boolean;
3244
3317
  titleGeneration: boolean;
3245
3318
  codeMode: boolean;
3246
3319
  serviceTier?: MarAgentResponsesServiceTier;
@@ -3660,6 +3733,7 @@ export declare const marAgentRuntimeModelConfigurationSchema: z.ZodEffects<z.Zod
3660
3733
  reasoningEfforts: z.ZodArray<z.ZodEnum<["low", "medium", "high", "xhigh", "max", "ultra"]>, "many">;
3661
3734
  defaultReasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max", "ultra"]>>;
3662
3735
  conversationModel: z.ZodDefault<z.ZodBoolean>;
3736
+ subagentModel: z.ZodDefault<z.ZodBoolean>;
3663
3737
  titleGeneration: z.ZodDefault<z.ZodBoolean>;
3664
3738
  codeMode: z.ZodDefault<z.ZodBoolean>;
3665
3739
  serviceTier: z.ZodOptional<z.ZodEnum<["auto", "default", "flex", "priority", "fast", "ultrafast"]>>;
@@ -3696,6 +3770,7 @@ export declare const marAgentRuntimeModelConfigurationSchema: z.ZodEffects<z.Zod
3696
3770
  outputCapabilities: ["TEXT"];
3697
3771
  reasoningEfforts: ("low" | "medium" | "high" | "xhigh" | "max" | "ultra")[];
3698
3772
  conversationModel: boolean;
3773
+ subagentModel: boolean;
3699
3774
  titleGeneration: boolean;
3700
3775
  codeMode: boolean;
3701
3776
  hostedWebSearch: boolean;
@@ -3848,6 +3923,7 @@ export declare const marAgentRuntimeModelConfigurationSchema: z.ZodEffects<z.Zod
3848
3923
  } | undefined;
3849
3924
  defaultReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
3850
3925
  conversationModel?: boolean | undefined;
3926
+ subagentModel?: boolean | undefined;
3851
3927
  titleGeneration?: boolean | undefined;
3852
3928
  codeMode?: boolean | undefined;
3853
3929
  serviceTier?: "auto" | "default" | "flex" | "priority" | "fast" | "ultrafast" | undefined;
@@ -4957,6 +5033,7 @@ export declare const promptCompletionRuntimeSchema: z.ZodObject<{
4957
5033
  reasoningEfforts: z.ZodArray<z.ZodEnum<["low", "medium", "high", "xhigh", "max", "ultra"]>, "many">;
4958
5034
  defaultReasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max", "ultra"]>>;
4959
5035
  conversationModel: z.ZodDefault<z.ZodBoolean>;
5036
+ subagentModel: z.ZodDefault<z.ZodBoolean>;
4960
5037
  titleGeneration: z.ZodDefault<z.ZodBoolean>;
4961
5038
  codeMode: z.ZodDefault<z.ZodBoolean>;
4962
5039
  serviceTier: z.ZodOptional<z.ZodEnum<["auto", "default", "flex", "priority", "fast", "ultrafast"]>>;
@@ -4993,6 +5070,7 @@ export declare const promptCompletionRuntimeSchema: z.ZodObject<{
4993
5070
  outputCapabilities: ["TEXT"];
4994
5071
  reasoningEfforts: ("low" | "medium" | "high" | "xhigh" | "max" | "ultra")[];
4995
5072
  conversationModel: boolean;
5073
+ subagentModel: boolean;
4996
5074
  titleGeneration: boolean;
4997
5075
  codeMode: boolean;
4998
5076
  hostedWebSearch: boolean;
@@ -5145,6 +5223,7 @@ export declare const promptCompletionRuntimeSchema: z.ZodObject<{
5145
5223
  } | undefined;
5146
5224
  defaultReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
5147
5225
  conversationModel?: boolean | undefined;
5226
+ subagentModel?: boolean | undefined;
5148
5227
  titleGeneration?: boolean | undefined;
5149
5228
  codeMode?: boolean | undefined;
5150
5229
  serviceTier?: "auto" | "default" | "flex" | "priority" | "fast" | "ultrafast" | undefined;
@@ -5593,6 +5672,7 @@ export declare const marAgentRuntimeCompactConfigurationSchema: z.ZodObject<{
5593
5672
  reasoningEfforts: z.ZodArray<z.ZodEnum<["low", "medium", "high", "xhigh", "max", "ultra"]>, "many">;
5594
5673
  defaultReasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max", "ultra"]>>;
5595
5674
  conversationModel: z.ZodDefault<z.ZodBoolean>;
5675
+ subagentModel: z.ZodDefault<z.ZodBoolean>;
5596
5676
  titleGeneration: z.ZodDefault<z.ZodBoolean>;
5597
5677
  codeMode: z.ZodDefault<z.ZodBoolean>;
5598
5678
  serviceTier: z.ZodOptional<z.ZodEnum<["auto", "default", "flex", "priority", "fast", "ultrafast"]>>;
@@ -5629,6 +5709,7 @@ export declare const marAgentRuntimeCompactConfigurationSchema: z.ZodObject<{
5629
5709
  outputCapabilities: ["TEXT"];
5630
5710
  reasoningEfforts: ("low" | "medium" | "high" | "xhigh" | "max" | "ultra")[];
5631
5711
  conversationModel: boolean;
5712
+ subagentModel: boolean;
5632
5713
  titleGeneration: boolean;
5633
5714
  codeMode: boolean;
5634
5715
  hostedWebSearch: boolean;
@@ -5781,6 +5862,7 @@ export declare const marAgentRuntimeCompactConfigurationSchema: z.ZodObject<{
5781
5862
  } | undefined;
5782
5863
  defaultReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
5783
5864
  conversationModel?: boolean | undefined;
5865
+ subagentModel?: boolean | undefined;
5784
5866
  titleGeneration?: boolean | undefined;
5785
5867
  codeMode?: boolean | undefined;
5786
5868
  serviceTier?: "auto" | "default" | "flex" | "priority" | "fast" | "ultrafast" | undefined;
@@ -6219,6 +6301,7 @@ export declare const marAgentModelTransportTestInputSchema: z.ZodObject<{
6219
6301
  reasoningEfforts: z.ZodArray<z.ZodEnum<["low", "medium", "high", "xhigh", "max", "ultra"]>, "many">;
6220
6302
  defaultReasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max", "ultra"]>>;
6221
6303
  conversationModel: z.ZodDefault<z.ZodBoolean>;
6304
+ subagentModel: z.ZodDefault<z.ZodBoolean>;
6222
6305
  titleGeneration: z.ZodDefault<z.ZodBoolean>;
6223
6306
  codeMode: z.ZodDefault<z.ZodBoolean>;
6224
6307
  serviceTier: z.ZodOptional<z.ZodEnum<["auto", "default", "flex", "priority", "fast", "ultrafast"]>>;
@@ -6255,6 +6338,7 @@ export declare const marAgentModelTransportTestInputSchema: z.ZodObject<{
6255
6338
  outputCapabilities: ["TEXT"];
6256
6339
  reasoningEfforts: ("low" | "medium" | "high" | "xhigh" | "max" | "ultra")[];
6257
6340
  conversationModel: boolean;
6341
+ subagentModel: boolean;
6258
6342
  titleGeneration: boolean;
6259
6343
  codeMode: boolean;
6260
6344
  hostedWebSearch: boolean;
@@ -6407,6 +6491,7 @@ export declare const marAgentModelTransportTestInputSchema: z.ZodObject<{
6407
6491
  } | undefined;
6408
6492
  defaultReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
6409
6493
  conversationModel?: boolean | undefined;
6494
+ subagentModel?: boolean | undefined;
6410
6495
  titleGeneration?: boolean | undefined;
6411
6496
  codeMode?: boolean | undefined;
6412
6497
  serviceTier?: "auto" | "default" | "flex" | "priority" | "fast" | "ultrafast" | undefined;
@@ -6552,6 +6637,7 @@ export declare const marAgentStoredModelConfigurationSchema: z.ZodEffects<z.ZodO
6552
6637
  reasoningEfforts: z.ZodArray<z.ZodEnum<["low", "medium", "high", "xhigh", "max", "ultra"]>, "many">;
6553
6638
  defaultReasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max", "ultra"]>>;
6554
6639
  conversationModel: z.ZodDefault<z.ZodBoolean>;
6640
+ subagentModel: z.ZodDefault<z.ZodBoolean>;
6555
6641
  titleGeneration: z.ZodDefault<z.ZodBoolean>;
6556
6642
  codeMode: z.ZodDefault<z.ZodBoolean>;
6557
6643
  serviceTier: z.ZodOptional<z.ZodEnum<["auto", "default", "flex", "priority", "fast", "ultrafast"]>>;
@@ -6594,6 +6680,7 @@ export declare const marAgentStoredModelConfigurationSchema: z.ZodEffects<z.ZodO
6594
6680
  outputCapabilities: ["TEXT"];
6595
6681
  reasoningEfforts: ("low" | "medium" | "high" | "xhigh" | "max" | "ultra")[];
6596
6682
  conversationModel: boolean;
6683
+ subagentModel: boolean;
6597
6684
  titleGeneration: boolean;
6598
6685
  codeMode: boolean;
6599
6686
  hostedWebSearch: boolean;
@@ -6634,6 +6721,7 @@ export declare const marAgentStoredModelConfigurationSchema: z.ZodEffects<z.ZodO
6634
6721
  } | undefined;
6635
6722
  defaultReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
6636
6723
  conversationModel?: boolean | undefined;
6724
+ subagentModel?: boolean | undefined;
6637
6725
  titleGeneration?: boolean | undefined;
6638
6726
  codeMode?: boolean | undefined;
6639
6727
  serviceTier?: "auto" | "default" | "flex" | "priority" | "fast" | "ultrafast" | undefined;
@@ -8561,16 +8649,19 @@ export declare const runnerProfileSchema: z.ZodObject<{
8561
8649
  supportedEfforts: z.ZodArray<z.ZodString, "many">;
8562
8650
  isDefault: z.ZodOptional<z.ZodBoolean>;
8563
8651
  defaultEffort: z.ZodOptional<z.ZodString>;
8652
+ subagentModel: z.ZodOptional<z.ZodBoolean>;
8564
8653
  }, "strip", z.ZodTypeAny, {
8565
8654
  label: string;
8566
8655
  id: string;
8567
8656
  supportedEfforts: string[];
8657
+ subagentModel?: boolean | undefined;
8568
8658
  isDefault?: boolean | undefined;
8569
8659
  defaultEffort?: string | undefined;
8570
8660
  }, {
8571
8661
  label: string;
8572
8662
  id: string;
8573
8663
  supportedEfforts: string[];
8664
+ subagentModel?: boolean | undefined;
8574
8665
  isDefault?: boolean | undefined;
8575
8666
  defaultEffort?: string | undefined;
8576
8667
  }>, "many">;
@@ -8652,6 +8743,7 @@ export declare const runnerProfileSchema: z.ZodObject<{
8652
8743
  label: string;
8653
8744
  id: string;
8654
8745
  supportedEfforts: string[];
8746
+ subagentModel?: boolean | undefined;
8655
8747
  isDefault?: boolean | undefined;
8656
8748
  defaultEffort?: string | undefined;
8657
8749
  }[];
@@ -8679,6 +8771,7 @@ export declare const runnerProfileSchema: z.ZodObject<{
8679
8771
  label: string;
8680
8772
  id: string;
8681
8773
  supportedEfforts: string[];
8774
+ subagentModel?: boolean | undefined;
8682
8775
  isDefault?: boolean | undefined;
8683
8776
  defaultEffort?: string | undefined;
8684
8777
  }[];
@@ -8806,16 +8899,19 @@ export declare const nodeWorkbenchCapabilitiesSchema: z.ZodObject<{
8806
8899
  supportedEfforts: z.ZodArray<z.ZodString, "many">;
8807
8900
  isDefault: z.ZodOptional<z.ZodBoolean>;
8808
8901
  defaultEffort: z.ZodOptional<z.ZodString>;
8902
+ subagentModel: z.ZodOptional<z.ZodBoolean>;
8809
8903
  }, "strip", z.ZodTypeAny, {
8810
8904
  label: string;
8811
8905
  id: string;
8812
8906
  supportedEfforts: string[];
8907
+ subagentModel?: boolean | undefined;
8813
8908
  isDefault?: boolean | undefined;
8814
8909
  defaultEffort?: string | undefined;
8815
8910
  }, {
8816
8911
  label: string;
8817
8912
  id: string;
8818
8913
  supportedEfforts: string[];
8914
+ subagentModel?: boolean | undefined;
8819
8915
  isDefault?: boolean | undefined;
8820
8916
  defaultEffort?: string | undefined;
8821
8917
  }>, "many">;
@@ -8897,6 +8993,7 @@ export declare const nodeWorkbenchCapabilitiesSchema: z.ZodObject<{
8897
8993
  label: string;
8898
8994
  id: string;
8899
8995
  supportedEfforts: string[];
8996
+ subagentModel?: boolean | undefined;
8900
8997
  isDefault?: boolean | undefined;
8901
8998
  defaultEffort?: string | undefined;
8902
8999
  }[];
@@ -8924,6 +9021,7 @@ export declare const nodeWorkbenchCapabilitiesSchema: z.ZodObject<{
8924
9021
  label: string;
8925
9022
  id: string;
8926
9023
  supportedEfforts: string[];
9024
+ subagentModel?: boolean | undefined;
8927
9025
  isDefault?: boolean | undefined;
8928
9026
  defaultEffort?: string | undefined;
8929
9027
  }[];
@@ -9131,6 +9229,7 @@ export declare const nodeWorkbenchCapabilitiesSchema: z.ZodObject<{
9131
9229
  label: string;
9132
9230
  id: string;
9133
9231
  supportedEfforts: string[];
9232
+ subagentModel?: boolean | undefined;
9134
9233
  isDefault?: boolean | undefined;
9135
9234
  defaultEffort?: string | undefined;
9136
9235
  }[];
@@ -9194,6 +9293,7 @@ export declare const nodeWorkbenchCapabilitiesSchema: z.ZodObject<{
9194
9293
  label: string;
9195
9294
  id: string;
9196
9295
  supportedEfforts: string[];
9296
+ subagentModel?: boolean | undefined;
9197
9297
  isDefault?: boolean | undefined;
9198
9298
  defaultEffort?: string | undefined;
9199
9299
  }[];
@@ -9408,7 +9508,146 @@ export declare const subagentLatestMessageSchema: z.ZodObject<{
9408
9508
  truncated?: boolean | undefined;
9409
9509
  }>;
9410
9510
  export type SubagentLatestMessage = z.infer<typeof subagentLatestMessageSchema>;
9411
- export declare const toolPresentationSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
9511
+ export declare const executionPresentationSchema: z.ZodEffects<z.ZodObject<{
9512
+ kind: z.ZodLiteral<"EXECUTION">;
9513
+ execution: z.ZodObject<{
9514
+ kind: z.ZodEnum<["SHELL", "CODE", "CONTROL"]>;
9515
+ output: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
9516
+ channel: z.ZodEnum<["STDOUT", "STDERR", "COMBINED", "TEXT"]>;
9517
+ text: z.ZodString;
9518
+ }, "strict", z.ZodTypeAny, {
9519
+ text: string;
9520
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
9521
+ }, {
9522
+ text: string;
9523
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
9524
+ }>, "many">, {
9525
+ text: string;
9526
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
9527
+ }[], {
9528
+ text: string;
9529
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
9530
+ }[]>>;
9531
+ error: z.ZodOptional<z.ZodObject<{
9532
+ code: z.ZodString;
9533
+ message: z.ZodString;
9534
+ }, "strict", z.ZodTypeAny, {
9535
+ code: string;
9536
+ message: string;
9537
+ }, {
9538
+ code: string;
9539
+ message: string;
9540
+ }>>;
9541
+ truncation: z.ZodOptional<z.ZodObject<{
9542
+ input: z.ZodOptional<z.ZodBoolean>;
9543
+ output: z.ZodOptional<z.ZodEnum<["HEAD", "SOURCE"]>>;
9544
+ }, "strict", z.ZodTypeAny, {
9545
+ input?: boolean | undefined;
9546
+ output?: "HEAD" | "SOURCE" | undefined;
9547
+ }, {
9548
+ input?: boolean | undefined;
9549
+ output?: "HEAD" | "SOURCE" | undefined;
9550
+ }>>;
9551
+ }, "strict", z.ZodTypeAny, {
9552
+ kind: "SHELL" | "CODE" | "CONTROL";
9553
+ error?: {
9554
+ code: string;
9555
+ message: string;
9556
+ } | undefined;
9557
+ output?: {
9558
+ text: string;
9559
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
9560
+ }[] | undefined;
9561
+ truncation?: {
9562
+ input?: boolean | undefined;
9563
+ output?: "HEAD" | "SOURCE" | undefined;
9564
+ } | undefined;
9565
+ }, {
9566
+ kind: "SHELL" | "CODE" | "CONTROL";
9567
+ error?: {
9568
+ code: string;
9569
+ message: string;
9570
+ } | undefined;
9571
+ output?: {
9572
+ text: string;
9573
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
9574
+ }[] | undefined;
9575
+ truncation?: {
9576
+ input?: boolean | undefined;
9577
+ output?: "HEAD" | "SOURCE" | undefined;
9578
+ } | undefined;
9579
+ }>;
9580
+ }, "strict", z.ZodTypeAny, {
9581
+ kind: "EXECUTION";
9582
+ execution: {
9583
+ kind: "SHELL" | "CODE" | "CONTROL";
9584
+ error?: {
9585
+ code: string;
9586
+ message: string;
9587
+ } | undefined;
9588
+ output?: {
9589
+ text: string;
9590
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
9591
+ }[] | undefined;
9592
+ truncation?: {
9593
+ input?: boolean | undefined;
9594
+ output?: "HEAD" | "SOURCE" | undefined;
9595
+ } | undefined;
9596
+ };
9597
+ }, {
9598
+ kind: "EXECUTION";
9599
+ execution: {
9600
+ kind: "SHELL" | "CODE" | "CONTROL";
9601
+ error?: {
9602
+ code: string;
9603
+ message: string;
9604
+ } | undefined;
9605
+ output?: {
9606
+ text: string;
9607
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
9608
+ }[] | undefined;
9609
+ truncation?: {
9610
+ input?: boolean | undefined;
9611
+ output?: "HEAD" | "SOURCE" | undefined;
9612
+ } | undefined;
9613
+ };
9614
+ }>, {
9615
+ kind: "EXECUTION";
9616
+ execution: {
9617
+ kind: "SHELL" | "CODE" | "CONTROL";
9618
+ error?: {
9619
+ code: string;
9620
+ message: string;
9621
+ } | undefined;
9622
+ output?: {
9623
+ text: string;
9624
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
9625
+ }[] | undefined;
9626
+ truncation?: {
9627
+ input?: boolean | undefined;
9628
+ output?: "HEAD" | "SOURCE" | undefined;
9629
+ } | undefined;
9630
+ };
9631
+ }, {
9632
+ kind: "EXECUTION";
9633
+ execution: {
9634
+ kind: "SHELL" | "CODE" | "CONTROL";
9635
+ error?: {
9636
+ code: string;
9637
+ message: string;
9638
+ } | undefined;
9639
+ output?: {
9640
+ text: string;
9641
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
9642
+ }[] | undefined;
9643
+ truncation?: {
9644
+ input?: boolean | undefined;
9645
+ output?: "HEAD" | "SOURCE" | undefined;
9646
+ } | undefined;
9647
+ };
9648
+ }>;
9649
+ export type ExecutionPresentation = z.infer<typeof executionPresentationSchema>;
9650
+ export declare const toolPresentationSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
9412
9651
  kind: z.ZodLiteral<"READ">;
9413
9652
  paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
9414
9653
  }, "strip", z.ZodTypeAny, {
@@ -9509,6 +9748,143 @@ export declare const toolPresentationSchema: z.ZodDiscriminatedUnion<"kind", [z.
9509
9748
  durationMs?: number | undefined;
9510
9749
  elapsedMs?: number | undefined;
9511
9750
  wakeReason?: "elapsed" | "steer" | "subagent_message" | undefined;
9751
+ }>]>, z.ZodEffects<z.ZodObject<{
9752
+ kind: z.ZodLiteral<"EXECUTION">;
9753
+ execution: z.ZodObject<{
9754
+ kind: z.ZodEnum<["SHELL", "CODE", "CONTROL"]>;
9755
+ output: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
9756
+ channel: z.ZodEnum<["STDOUT", "STDERR", "COMBINED", "TEXT"]>;
9757
+ text: z.ZodString;
9758
+ }, "strict", z.ZodTypeAny, {
9759
+ text: string;
9760
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
9761
+ }, {
9762
+ text: string;
9763
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
9764
+ }>, "many">, {
9765
+ text: string;
9766
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
9767
+ }[], {
9768
+ text: string;
9769
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
9770
+ }[]>>;
9771
+ error: z.ZodOptional<z.ZodObject<{
9772
+ code: z.ZodString;
9773
+ message: z.ZodString;
9774
+ }, "strict", z.ZodTypeAny, {
9775
+ code: string;
9776
+ message: string;
9777
+ }, {
9778
+ code: string;
9779
+ message: string;
9780
+ }>>;
9781
+ truncation: z.ZodOptional<z.ZodObject<{
9782
+ input: z.ZodOptional<z.ZodBoolean>;
9783
+ output: z.ZodOptional<z.ZodEnum<["HEAD", "SOURCE"]>>;
9784
+ }, "strict", z.ZodTypeAny, {
9785
+ input?: boolean | undefined;
9786
+ output?: "HEAD" | "SOURCE" | undefined;
9787
+ }, {
9788
+ input?: boolean | undefined;
9789
+ output?: "HEAD" | "SOURCE" | undefined;
9790
+ }>>;
9791
+ }, "strict", z.ZodTypeAny, {
9792
+ kind: "SHELL" | "CODE" | "CONTROL";
9793
+ error?: {
9794
+ code: string;
9795
+ message: string;
9796
+ } | undefined;
9797
+ output?: {
9798
+ text: string;
9799
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
9800
+ }[] | undefined;
9801
+ truncation?: {
9802
+ input?: boolean | undefined;
9803
+ output?: "HEAD" | "SOURCE" | undefined;
9804
+ } | undefined;
9805
+ }, {
9806
+ kind: "SHELL" | "CODE" | "CONTROL";
9807
+ error?: {
9808
+ code: string;
9809
+ message: string;
9810
+ } | undefined;
9811
+ output?: {
9812
+ text: string;
9813
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
9814
+ }[] | undefined;
9815
+ truncation?: {
9816
+ input?: boolean | undefined;
9817
+ output?: "HEAD" | "SOURCE" | undefined;
9818
+ } | undefined;
9819
+ }>;
9820
+ }, "strict", z.ZodTypeAny, {
9821
+ kind: "EXECUTION";
9822
+ execution: {
9823
+ kind: "SHELL" | "CODE" | "CONTROL";
9824
+ error?: {
9825
+ code: string;
9826
+ message: string;
9827
+ } | undefined;
9828
+ output?: {
9829
+ text: string;
9830
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
9831
+ }[] | undefined;
9832
+ truncation?: {
9833
+ input?: boolean | undefined;
9834
+ output?: "HEAD" | "SOURCE" | undefined;
9835
+ } | undefined;
9836
+ };
9837
+ }, {
9838
+ kind: "EXECUTION";
9839
+ execution: {
9840
+ kind: "SHELL" | "CODE" | "CONTROL";
9841
+ error?: {
9842
+ code: string;
9843
+ message: string;
9844
+ } | undefined;
9845
+ output?: {
9846
+ text: string;
9847
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
9848
+ }[] | undefined;
9849
+ truncation?: {
9850
+ input?: boolean | undefined;
9851
+ output?: "HEAD" | "SOURCE" | undefined;
9852
+ } | undefined;
9853
+ };
9854
+ }>, {
9855
+ kind: "EXECUTION";
9856
+ execution: {
9857
+ kind: "SHELL" | "CODE" | "CONTROL";
9858
+ error?: {
9859
+ code: string;
9860
+ message: string;
9861
+ } | undefined;
9862
+ output?: {
9863
+ text: string;
9864
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
9865
+ }[] | undefined;
9866
+ truncation?: {
9867
+ input?: boolean | undefined;
9868
+ output?: "HEAD" | "SOURCE" | undefined;
9869
+ } | undefined;
9870
+ };
9871
+ }, {
9872
+ kind: "EXECUTION";
9873
+ execution: {
9874
+ kind: "SHELL" | "CODE" | "CONTROL";
9875
+ error?: {
9876
+ code: string;
9877
+ message: string;
9878
+ } | undefined;
9879
+ output?: {
9880
+ text: string;
9881
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
9882
+ }[] | undefined;
9883
+ truncation?: {
9884
+ input?: boolean | undefined;
9885
+ output?: "HEAD" | "SOURCE" | undefined;
9886
+ } | undefined;
9887
+ };
9512
9888
  }>]>;
9513
9889
  export type ToolPresentation = z.infer<typeof toolPresentationSchema>;
9514
9890
  export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
@@ -9583,14 +9959,17 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
9583
9959
  text: z.ZodString;
9584
9960
  format: z.ZodLiteral<"markdown">;
9585
9961
  model: z.ZodNullable<z.ZodString>;
9962
+ phase: z.ZodOptional<z.ZodEnum<["commentary", "final_answer"]>>;
9586
9963
  }, "strip", z.ZodTypeAny, {
9587
9964
  text: string;
9588
9965
  model: string | null;
9589
9966
  format: "markdown";
9967
+ phase?: "commentary" | "final_answer" | undefined;
9590
9968
  }, {
9591
9969
  text: string;
9592
9970
  model: string | null;
9593
9971
  format: "markdown";
9972
+ phase?: "commentary" | "final_answer" | undefined;
9594
9973
  }>;
9595
9974
  }, "strip", z.ZodTypeAny, {
9596
9975
  status: "PENDING" | "FAILED" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
@@ -9599,6 +9978,7 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
9599
9978
  text: string;
9600
9979
  model: string | null;
9601
9980
  format: "markdown";
9981
+ phase?: "commentary" | "final_answer" | undefined;
9602
9982
  };
9603
9983
  kind: "assistant_message";
9604
9984
  id: string;
@@ -9633,6 +10013,7 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
9633
10013
  text: string;
9634
10014
  model: string | null;
9635
10015
  format: "markdown";
10016
+ phase?: "commentary" | "final_answer" | undefined;
9636
10017
  };
9637
10018
  kind: "assistant_message";
9638
10019
  id: string;
@@ -10517,6 +10898,16 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
10517
10898
  progressLabel: z.ZodNullable<z.ZodString>;
10518
10899
  errorCode: z.ZodNullable<z.ZodString>;
10519
10900
  truncated: z.ZodBoolean;
10901
+ output: z.ZodOptional<z.ZodObject<{
10902
+ text: z.ZodString;
10903
+ truncated: z.ZodBoolean;
10904
+ }, "strict", z.ZodTypeAny, {
10905
+ text: string;
10906
+ truncated: boolean;
10907
+ }, {
10908
+ text: string;
10909
+ truncated: boolean;
10910
+ }>>;
10520
10911
  toolCategory: z.ZodOptional<z.ZodEnum<["IMAGE_GENERATION"]>>;
10521
10912
  toolPresentation: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
10522
10913
  kind: z.ZodLiteral<"READ">;
@@ -10623,6 +11014,7 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
10623
11014
  subagentOperation: z.ZodOptional<z.ZodEnum<["START", "STATUS", "CANCEL", "MESSAGE", "RESUME"]>>;
10624
11015
  subagentWait: z.ZodOptional<z.ZodBoolean>;
10625
11016
  subagentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11017
+ subagentSessionId: z.ZodOptional<z.ZodString>;
10626
11018
  subagentModelId: z.ZodOptional<z.ZodString>;
10627
11019
  subagentModelName: z.ZodOptional<z.ZodString>;
10628
11020
  subagentReasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max", "ultra"]>>;
@@ -10701,6 +11093,10 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
10701
11093
  imageIndex?: number | undefined;
10702
11094
  imageRef?: string | undefined;
10703
11095
  }[] | undefined;
11096
+ output?: {
11097
+ text: string;
11098
+ truncated: boolean;
11099
+ } | undefined;
10704
11100
  toolCategory?: "IMAGE_GENERATION" | undefined;
10705
11101
  toolPresentation?: {
10706
11102
  kind: "READ";
@@ -10737,6 +11133,7 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
10737
11133
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
10738
11134
  subagentWait?: boolean | undefined;
10739
11135
  subagentId?: string | null | undefined;
11136
+ subagentSessionId?: string | undefined;
10740
11137
  subagentModelId?: string | undefined;
10741
11138
  subagentModelName?: string | undefined;
10742
11139
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -10765,6 +11162,10 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
10765
11162
  imageIndex?: number | undefined;
10766
11163
  imageRef?: string | undefined;
10767
11164
  }[] | undefined;
11165
+ output?: {
11166
+ text: string;
11167
+ truncated: boolean;
11168
+ } | undefined;
10768
11169
  toolCategory?: "IMAGE_GENERATION" | undefined;
10769
11170
  toolPresentation?: {
10770
11171
  kind: "READ";
@@ -10801,6 +11202,7 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
10801
11202
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
10802
11203
  subagentWait?: boolean | undefined;
10803
11204
  subagentId?: string | null | undefined;
11205
+ subagentSessionId?: string | undefined;
10804
11206
  subagentModelId?: string | undefined;
10805
11207
  subagentModelName?: string | undefined;
10806
11208
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -10833,6 +11235,10 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
10833
11235
  imageIndex?: number | undefined;
10834
11236
  imageRef?: string | undefined;
10835
11237
  }[] | undefined;
11238
+ output?: {
11239
+ text: string;
11240
+ truncated: boolean;
11241
+ } | undefined;
10836
11242
  toolCategory?: "IMAGE_GENERATION" | undefined;
10837
11243
  toolPresentation?: {
10838
11244
  kind: "READ";
@@ -10869,6 +11275,7 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
10869
11275
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
10870
11276
  subagentWait?: boolean | undefined;
10871
11277
  subagentId?: string | null | undefined;
11278
+ subagentSessionId?: string | undefined;
10872
11279
  subagentModelId?: string | undefined;
10873
11280
  subagentModelName?: string | undefined;
10874
11281
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -10927,6 +11334,10 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
10927
11334
  imageIndex?: number | undefined;
10928
11335
  imageRef?: string | undefined;
10929
11336
  }[] | undefined;
11337
+ output?: {
11338
+ text: string;
11339
+ truncated: boolean;
11340
+ } | undefined;
10930
11341
  toolCategory?: "IMAGE_GENERATION" | undefined;
10931
11342
  toolPresentation?: {
10932
11343
  kind: "READ";
@@ -10963,6 +11374,7 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
10963
11374
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
10964
11375
  subagentWait?: boolean | undefined;
10965
11376
  subagentId?: string | null | undefined;
11377
+ subagentSessionId?: string | undefined;
10966
11378
  subagentModelId?: string | undefined;
10967
11379
  subagentModelName?: string | undefined;
10968
11380
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -11078,6 +11490,154 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
11078
11490
  exitCode: z.ZodNullable<z.ZodNumber>;
11079
11491
  durationMs: z.ZodNullable<z.ZodNumber>;
11080
11492
  truncated: z.ZodBoolean;
11493
+ output: z.ZodOptional<z.ZodObject<{
11494
+ text: z.ZodString;
11495
+ truncated: z.ZodBoolean;
11496
+ }, "strict", z.ZodTypeAny, {
11497
+ text: string;
11498
+ truncated: boolean;
11499
+ }, {
11500
+ text: string;
11501
+ truncated: boolean;
11502
+ }>>;
11503
+ toolPresentation: z.ZodOptional<z.ZodEffects<z.ZodObject<{
11504
+ kind: z.ZodLiteral<"EXECUTION">;
11505
+ execution: z.ZodObject<{
11506
+ kind: z.ZodEnum<["SHELL", "CODE", "CONTROL"]>;
11507
+ output: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
11508
+ channel: z.ZodEnum<["STDOUT", "STDERR", "COMBINED", "TEXT"]>;
11509
+ text: z.ZodString;
11510
+ }, "strict", z.ZodTypeAny, {
11511
+ text: string;
11512
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
11513
+ }, {
11514
+ text: string;
11515
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
11516
+ }>, "many">, {
11517
+ text: string;
11518
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
11519
+ }[], {
11520
+ text: string;
11521
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
11522
+ }[]>>;
11523
+ error: z.ZodOptional<z.ZodObject<{
11524
+ code: z.ZodString;
11525
+ message: z.ZodString;
11526
+ }, "strict", z.ZodTypeAny, {
11527
+ code: string;
11528
+ message: string;
11529
+ }, {
11530
+ code: string;
11531
+ message: string;
11532
+ }>>;
11533
+ truncation: z.ZodOptional<z.ZodObject<{
11534
+ input: z.ZodOptional<z.ZodBoolean>;
11535
+ output: z.ZodOptional<z.ZodEnum<["HEAD", "SOURCE"]>>;
11536
+ }, "strict", z.ZodTypeAny, {
11537
+ input?: boolean | undefined;
11538
+ output?: "HEAD" | "SOURCE" | undefined;
11539
+ }, {
11540
+ input?: boolean | undefined;
11541
+ output?: "HEAD" | "SOURCE" | undefined;
11542
+ }>>;
11543
+ }, "strict", z.ZodTypeAny, {
11544
+ kind: "SHELL" | "CODE" | "CONTROL";
11545
+ error?: {
11546
+ code: string;
11547
+ message: string;
11548
+ } | undefined;
11549
+ output?: {
11550
+ text: string;
11551
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
11552
+ }[] | undefined;
11553
+ truncation?: {
11554
+ input?: boolean | undefined;
11555
+ output?: "HEAD" | "SOURCE" | undefined;
11556
+ } | undefined;
11557
+ }, {
11558
+ kind: "SHELL" | "CODE" | "CONTROL";
11559
+ error?: {
11560
+ code: string;
11561
+ message: string;
11562
+ } | undefined;
11563
+ output?: {
11564
+ text: string;
11565
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
11566
+ }[] | undefined;
11567
+ truncation?: {
11568
+ input?: boolean | undefined;
11569
+ output?: "HEAD" | "SOURCE" | undefined;
11570
+ } | undefined;
11571
+ }>;
11572
+ }, "strict", z.ZodTypeAny, {
11573
+ kind: "EXECUTION";
11574
+ execution: {
11575
+ kind: "SHELL" | "CODE" | "CONTROL";
11576
+ error?: {
11577
+ code: string;
11578
+ message: string;
11579
+ } | undefined;
11580
+ output?: {
11581
+ text: string;
11582
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
11583
+ }[] | undefined;
11584
+ truncation?: {
11585
+ input?: boolean | undefined;
11586
+ output?: "HEAD" | "SOURCE" | undefined;
11587
+ } | undefined;
11588
+ };
11589
+ }, {
11590
+ kind: "EXECUTION";
11591
+ execution: {
11592
+ kind: "SHELL" | "CODE" | "CONTROL";
11593
+ error?: {
11594
+ code: string;
11595
+ message: string;
11596
+ } | undefined;
11597
+ output?: {
11598
+ text: string;
11599
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
11600
+ }[] | undefined;
11601
+ truncation?: {
11602
+ input?: boolean | undefined;
11603
+ output?: "HEAD" | "SOURCE" | undefined;
11604
+ } | undefined;
11605
+ };
11606
+ }>, {
11607
+ kind: "EXECUTION";
11608
+ execution: {
11609
+ kind: "SHELL" | "CODE" | "CONTROL";
11610
+ error?: {
11611
+ code: string;
11612
+ message: string;
11613
+ } | undefined;
11614
+ output?: {
11615
+ text: string;
11616
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
11617
+ }[] | undefined;
11618
+ truncation?: {
11619
+ input?: boolean | undefined;
11620
+ output?: "HEAD" | "SOURCE" | undefined;
11621
+ } | undefined;
11622
+ };
11623
+ }, {
11624
+ kind: "EXECUTION";
11625
+ execution: {
11626
+ kind: "SHELL" | "CODE" | "CONTROL";
11627
+ error?: {
11628
+ code: string;
11629
+ message: string;
11630
+ } | undefined;
11631
+ output?: {
11632
+ text: string;
11633
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
11634
+ }[] | undefined;
11635
+ truncation?: {
11636
+ input?: boolean | undefined;
11637
+ output?: "HEAD" | "SOURCE" | undefined;
11638
+ } | undefined;
11639
+ };
11640
+ }>>;
11081
11641
  }, "strip", z.ZodTypeAny, {
11082
11642
  command: string;
11083
11643
  durationMs: number | null;
@@ -11087,6 +11647,28 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
11087
11647
  outputRef: string | null;
11088
11648
  exitCode: number | null;
11089
11649
  title?: string | undefined;
11650
+ output?: {
11651
+ text: string;
11652
+ truncated: boolean;
11653
+ } | undefined;
11654
+ toolPresentation?: {
11655
+ kind: "EXECUTION";
11656
+ execution: {
11657
+ kind: "SHELL" | "CODE" | "CONTROL";
11658
+ error?: {
11659
+ code: string;
11660
+ message: string;
11661
+ } | undefined;
11662
+ output?: {
11663
+ text: string;
11664
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
11665
+ }[] | undefined;
11666
+ truncation?: {
11667
+ input?: boolean | undefined;
11668
+ output?: "HEAD" | "SOURCE" | undefined;
11669
+ } | undefined;
11670
+ };
11671
+ } | undefined;
11090
11672
  }, {
11091
11673
  command: string;
11092
11674
  durationMs: number | null;
@@ -11096,6 +11678,28 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
11096
11678
  outputRef: string | null;
11097
11679
  exitCode: number | null;
11098
11680
  title?: string | undefined;
11681
+ output?: {
11682
+ text: string;
11683
+ truncated: boolean;
11684
+ } | undefined;
11685
+ toolPresentation?: {
11686
+ kind: "EXECUTION";
11687
+ execution: {
11688
+ kind: "SHELL" | "CODE" | "CONTROL";
11689
+ error?: {
11690
+ code: string;
11691
+ message: string;
11692
+ } | undefined;
11693
+ output?: {
11694
+ text: string;
11695
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
11696
+ }[] | undefined;
11697
+ truncation?: {
11698
+ input?: boolean | undefined;
11699
+ output?: "HEAD" | "SOURCE" | undefined;
11700
+ } | undefined;
11701
+ };
11702
+ } | undefined;
11099
11703
  }>;
11100
11704
  }, "strip", z.ZodTypeAny, {
11101
11705
  status: "PENDING" | "FAILED" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
@@ -11109,6 +11713,28 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
11109
11713
  outputRef: string | null;
11110
11714
  exitCode: number | null;
11111
11715
  title?: string | undefined;
11716
+ output?: {
11717
+ text: string;
11718
+ truncated: boolean;
11719
+ } | undefined;
11720
+ toolPresentation?: {
11721
+ kind: "EXECUTION";
11722
+ execution: {
11723
+ kind: "SHELL" | "CODE" | "CONTROL";
11724
+ error?: {
11725
+ code: string;
11726
+ message: string;
11727
+ } | undefined;
11728
+ output?: {
11729
+ text: string;
11730
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
11731
+ }[] | undefined;
11732
+ truncation?: {
11733
+ input?: boolean | undefined;
11734
+ output?: "HEAD" | "SOURCE" | undefined;
11735
+ } | undefined;
11736
+ };
11737
+ } | undefined;
11112
11738
  };
11113
11739
  kind: "command_execution";
11114
11740
  id: string;
@@ -11148,6 +11774,28 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
11148
11774
  outputRef: string | null;
11149
11775
  exitCode: number | null;
11150
11776
  title?: string | undefined;
11777
+ output?: {
11778
+ text: string;
11779
+ truncated: boolean;
11780
+ } | undefined;
11781
+ toolPresentation?: {
11782
+ kind: "EXECUTION";
11783
+ execution: {
11784
+ kind: "SHELL" | "CODE" | "CONTROL";
11785
+ error?: {
11786
+ code: string;
11787
+ message: string;
11788
+ } | undefined;
11789
+ output?: {
11790
+ text: string;
11791
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
11792
+ }[] | undefined;
11793
+ truncation?: {
11794
+ input?: boolean | undefined;
11795
+ output?: "HEAD" | "SOURCE" | undefined;
11796
+ } | undefined;
11797
+ };
11798
+ } | undefined;
11151
11799
  };
11152
11800
  kind: "command_execution";
11153
11801
  id: string;
@@ -12706,14 +13354,17 @@ export declare const conversationTurnSchema: z.ZodObject<{
12706
13354
  text: z.ZodString;
12707
13355
  format: z.ZodLiteral<"markdown">;
12708
13356
  model: z.ZodNullable<z.ZodString>;
13357
+ phase: z.ZodOptional<z.ZodEnum<["commentary", "final_answer"]>>;
12709
13358
  }, "strip", z.ZodTypeAny, {
12710
13359
  text: string;
12711
13360
  model: string | null;
12712
13361
  format: "markdown";
13362
+ phase?: "commentary" | "final_answer" | undefined;
12713
13363
  }, {
12714
13364
  text: string;
12715
13365
  model: string | null;
12716
13366
  format: "markdown";
13367
+ phase?: "commentary" | "final_answer" | undefined;
12717
13368
  }>;
12718
13369
  }, "strip", z.ZodTypeAny, {
12719
13370
  status: "PENDING" | "FAILED" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
@@ -12722,6 +13373,7 @@ export declare const conversationTurnSchema: z.ZodObject<{
12722
13373
  text: string;
12723
13374
  model: string | null;
12724
13375
  format: "markdown";
13376
+ phase?: "commentary" | "final_answer" | undefined;
12725
13377
  };
12726
13378
  kind: "assistant_message";
12727
13379
  id: string;
@@ -12756,6 +13408,7 @@ export declare const conversationTurnSchema: z.ZodObject<{
12756
13408
  text: string;
12757
13409
  model: string | null;
12758
13410
  format: "markdown";
13411
+ phase?: "commentary" | "final_answer" | undefined;
12759
13412
  };
12760
13413
  kind: "assistant_message";
12761
13414
  id: string;
@@ -13640,6 +14293,16 @@ export declare const conversationTurnSchema: z.ZodObject<{
13640
14293
  progressLabel: z.ZodNullable<z.ZodString>;
13641
14294
  errorCode: z.ZodNullable<z.ZodString>;
13642
14295
  truncated: z.ZodBoolean;
14296
+ output: z.ZodOptional<z.ZodObject<{
14297
+ text: z.ZodString;
14298
+ truncated: z.ZodBoolean;
14299
+ }, "strict", z.ZodTypeAny, {
14300
+ text: string;
14301
+ truncated: boolean;
14302
+ }, {
14303
+ text: string;
14304
+ truncated: boolean;
14305
+ }>>;
13643
14306
  toolCategory: z.ZodOptional<z.ZodEnum<["IMAGE_GENERATION"]>>;
13644
14307
  toolPresentation: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
13645
14308
  kind: z.ZodLiteral<"READ">;
@@ -13746,6 +14409,7 @@ export declare const conversationTurnSchema: z.ZodObject<{
13746
14409
  subagentOperation: z.ZodOptional<z.ZodEnum<["START", "STATUS", "CANCEL", "MESSAGE", "RESUME"]>>;
13747
14410
  subagentWait: z.ZodOptional<z.ZodBoolean>;
13748
14411
  subagentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14412
+ subagentSessionId: z.ZodOptional<z.ZodString>;
13749
14413
  subagentModelId: z.ZodOptional<z.ZodString>;
13750
14414
  subagentModelName: z.ZodOptional<z.ZodString>;
13751
14415
  subagentReasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max", "ultra"]>>;
@@ -13824,6 +14488,10 @@ export declare const conversationTurnSchema: z.ZodObject<{
13824
14488
  imageIndex?: number | undefined;
13825
14489
  imageRef?: string | undefined;
13826
14490
  }[] | undefined;
14491
+ output?: {
14492
+ text: string;
14493
+ truncated: boolean;
14494
+ } | undefined;
13827
14495
  toolCategory?: "IMAGE_GENERATION" | undefined;
13828
14496
  toolPresentation?: {
13829
14497
  kind: "READ";
@@ -13860,6 +14528,7 @@ export declare const conversationTurnSchema: z.ZodObject<{
13860
14528
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
13861
14529
  subagentWait?: boolean | undefined;
13862
14530
  subagentId?: string | null | undefined;
14531
+ subagentSessionId?: string | undefined;
13863
14532
  subagentModelId?: string | undefined;
13864
14533
  subagentModelName?: string | undefined;
13865
14534
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -13888,6 +14557,10 @@ export declare const conversationTurnSchema: z.ZodObject<{
13888
14557
  imageIndex?: number | undefined;
13889
14558
  imageRef?: string | undefined;
13890
14559
  }[] | undefined;
14560
+ output?: {
14561
+ text: string;
14562
+ truncated: boolean;
14563
+ } | undefined;
13891
14564
  toolCategory?: "IMAGE_GENERATION" | undefined;
13892
14565
  toolPresentation?: {
13893
14566
  kind: "READ";
@@ -13924,6 +14597,7 @@ export declare const conversationTurnSchema: z.ZodObject<{
13924
14597
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
13925
14598
  subagentWait?: boolean | undefined;
13926
14599
  subagentId?: string | null | undefined;
14600
+ subagentSessionId?: string | undefined;
13927
14601
  subagentModelId?: string | undefined;
13928
14602
  subagentModelName?: string | undefined;
13929
14603
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -13956,6 +14630,10 @@ export declare const conversationTurnSchema: z.ZodObject<{
13956
14630
  imageIndex?: number | undefined;
13957
14631
  imageRef?: string | undefined;
13958
14632
  }[] | undefined;
14633
+ output?: {
14634
+ text: string;
14635
+ truncated: boolean;
14636
+ } | undefined;
13959
14637
  toolCategory?: "IMAGE_GENERATION" | undefined;
13960
14638
  toolPresentation?: {
13961
14639
  kind: "READ";
@@ -13992,6 +14670,7 @@ export declare const conversationTurnSchema: z.ZodObject<{
13992
14670
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
13993
14671
  subagentWait?: boolean | undefined;
13994
14672
  subagentId?: string | null | undefined;
14673
+ subagentSessionId?: string | undefined;
13995
14674
  subagentModelId?: string | undefined;
13996
14675
  subagentModelName?: string | undefined;
13997
14676
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -14050,6 +14729,10 @@ export declare const conversationTurnSchema: z.ZodObject<{
14050
14729
  imageIndex?: number | undefined;
14051
14730
  imageRef?: string | undefined;
14052
14731
  }[] | undefined;
14732
+ output?: {
14733
+ text: string;
14734
+ truncated: boolean;
14735
+ } | undefined;
14053
14736
  toolCategory?: "IMAGE_GENERATION" | undefined;
14054
14737
  toolPresentation?: {
14055
14738
  kind: "READ";
@@ -14086,6 +14769,7 @@ export declare const conversationTurnSchema: z.ZodObject<{
14086
14769
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
14087
14770
  subagentWait?: boolean | undefined;
14088
14771
  subagentId?: string | null | undefined;
14772
+ subagentSessionId?: string | undefined;
14089
14773
  subagentModelId?: string | undefined;
14090
14774
  subagentModelName?: string | undefined;
14091
14775
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -14201,6 +14885,154 @@ export declare const conversationTurnSchema: z.ZodObject<{
14201
14885
  exitCode: z.ZodNullable<z.ZodNumber>;
14202
14886
  durationMs: z.ZodNullable<z.ZodNumber>;
14203
14887
  truncated: z.ZodBoolean;
14888
+ output: z.ZodOptional<z.ZodObject<{
14889
+ text: z.ZodString;
14890
+ truncated: z.ZodBoolean;
14891
+ }, "strict", z.ZodTypeAny, {
14892
+ text: string;
14893
+ truncated: boolean;
14894
+ }, {
14895
+ text: string;
14896
+ truncated: boolean;
14897
+ }>>;
14898
+ toolPresentation: z.ZodOptional<z.ZodEffects<z.ZodObject<{
14899
+ kind: z.ZodLiteral<"EXECUTION">;
14900
+ execution: z.ZodObject<{
14901
+ kind: z.ZodEnum<["SHELL", "CODE", "CONTROL"]>;
14902
+ output: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
14903
+ channel: z.ZodEnum<["STDOUT", "STDERR", "COMBINED", "TEXT"]>;
14904
+ text: z.ZodString;
14905
+ }, "strict", z.ZodTypeAny, {
14906
+ text: string;
14907
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
14908
+ }, {
14909
+ text: string;
14910
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
14911
+ }>, "many">, {
14912
+ text: string;
14913
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
14914
+ }[], {
14915
+ text: string;
14916
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
14917
+ }[]>>;
14918
+ error: z.ZodOptional<z.ZodObject<{
14919
+ code: z.ZodString;
14920
+ message: z.ZodString;
14921
+ }, "strict", z.ZodTypeAny, {
14922
+ code: string;
14923
+ message: string;
14924
+ }, {
14925
+ code: string;
14926
+ message: string;
14927
+ }>>;
14928
+ truncation: z.ZodOptional<z.ZodObject<{
14929
+ input: z.ZodOptional<z.ZodBoolean>;
14930
+ output: z.ZodOptional<z.ZodEnum<["HEAD", "SOURCE"]>>;
14931
+ }, "strict", z.ZodTypeAny, {
14932
+ input?: boolean | undefined;
14933
+ output?: "HEAD" | "SOURCE" | undefined;
14934
+ }, {
14935
+ input?: boolean | undefined;
14936
+ output?: "HEAD" | "SOURCE" | undefined;
14937
+ }>>;
14938
+ }, "strict", z.ZodTypeAny, {
14939
+ kind: "SHELL" | "CODE" | "CONTROL";
14940
+ error?: {
14941
+ code: string;
14942
+ message: string;
14943
+ } | undefined;
14944
+ output?: {
14945
+ text: string;
14946
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
14947
+ }[] | undefined;
14948
+ truncation?: {
14949
+ input?: boolean | undefined;
14950
+ output?: "HEAD" | "SOURCE" | undefined;
14951
+ } | undefined;
14952
+ }, {
14953
+ kind: "SHELL" | "CODE" | "CONTROL";
14954
+ error?: {
14955
+ code: string;
14956
+ message: string;
14957
+ } | undefined;
14958
+ output?: {
14959
+ text: string;
14960
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
14961
+ }[] | undefined;
14962
+ truncation?: {
14963
+ input?: boolean | undefined;
14964
+ output?: "HEAD" | "SOURCE" | undefined;
14965
+ } | undefined;
14966
+ }>;
14967
+ }, "strict", z.ZodTypeAny, {
14968
+ kind: "EXECUTION";
14969
+ execution: {
14970
+ kind: "SHELL" | "CODE" | "CONTROL";
14971
+ error?: {
14972
+ code: string;
14973
+ message: string;
14974
+ } | undefined;
14975
+ output?: {
14976
+ text: string;
14977
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
14978
+ }[] | undefined;
14979
+ truncation?: {
14980
+ input?: boolean | undefined;
14981
+ output?: "HEAD" | "SOURCE" | undefined;
14982
+ } | undefined;
14983
+ };
14984
+ }, {
14985
+ kind: "EXECUTION";
14986
+ execution: {
14987
+ kind: "SHELL" | "CODE" | "CONTROL";
14988
+ error?: {
14989
+ code: string;
14990
+ message: string;
14991
+ } | undefined;
14992
+ output?: {
14993
+ text: string;
14994
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
14995
+ }[] | undefined;
14996
+ truncation?: {
14997
+ input?: boolean | undefined;
14998
+ output?: "HEAD" | "SOURCE" | undefined;
14999
+ } | undefined;
15000
+ };
15001
+ }>, {
15002
+ kind: "EXECUTION";
15003
+ execution: {
15004
+ kind: "SHELL" | "CODE" | "CONTROL";
15005
+ error?: {
15006
+ code: string;
15007
+ message: string;
15008
+ } | undefined;
15009
+ output?: {
15010
+ text: string;
15011
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
15012
+ }[] | undefined;
15013
+ truncation?: {
15014
+ input?: boolean | undefined;
15015
+ output?: "HEAD" | "SOURCE" | undefined;
15016
+ } | undefined;
15017
+ };
15018
+ }, {
15019
+ kind: "EXECUTION";
15020
+ execution: {
15021
+ kind: "SHELL" | "CODE" | "CONTROL";
15022
+ error?: {
15023
+ code: string;
15024
+ message: string;
15025
+ } | undefined;
15026
+ output?: {
15027
+ text: string;
15028
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
15029
+ }[] | undefined;
15030
+ truncation?: {
15031
+ input?: boolean | undefined;
15032
+ output?: "HEAD" | "SOURCE" | undefined;
15033
+ } | undefined;
15034
+ };
15035
+ }>>;
14204
15036
  }, "strip", z.ZodTypeAny, {
14205
15037
  command: string;
14206
15038
  durationMs: number | null;
@@ -14210,6 +15042,28 @@ export declare const conversationTurnSchema: z.ZodObject<{
14210
15042
  outputRef: string | null;
14211
15043
  exitCode: number | null;
14212
15044
  title?: string | undefined;
15045
+ output?: {
15046
+ text: string;
15047
+ truncated: boolean;
15048
+ } | undefined;
15049
+ toolPresentation?: {
15050
+ kind: "EXECUTION";
15051
+ execution: {
15052
+ kind: "SHELL" | "CODE" | "CONTROL";
15053
+ error?: {
15054
+ code: string;
15055
+ message: string;
15056
+ } | undefined;
15057
+ output?: {
15058
+ text: string;
15059
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
15060
+ }[] | undefined;
15061
+ truncation?: {
15062
+ input?: boolean | undefined;
15063
+ output?: "HEAD" | "SOURCE" | undefined;
15064
+ } | undefined;
15065
+ };
15066
+ } | undefined;
14213
15067
  }, {
14214
15068
  command: string;
14215
15069
  durationMs: number | null;
@@ -14219,6 +15073,28 @@ export declare const conversationTurnSchema: z.ZodObject<{
14219
15073
  outputRef: string | null;
14220
15074
  exitCode: number | null;
14221
15075
  title?: string | undefined;
15076
+ output?: {
15077
+ text: string;
15078
+ truncated: boolean;
15079
+ } | undefined;
15080
+ toolPresentation?: {
15081
+ kind: "EXECUTION";
15082
+ execution: {
15083
+ kind: "SHELL" | "CODE" | "CONTROL";
15084
+ error?: {
15085
+ code: string;
15086
+ message: string;
15087
+ } | undefined;
15088
+ output?: {
15089
+ text: string;
15090
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
15091
+ }[] | undefined;
15092
+ truncation?: {
15093
+ input?: boolean | undefined;
15094
+ output?: "HEAD" | "SOURCE" | undefined;
15095
+ } | undefined;
15096
+ };
15097
+ } | undefined;
14222
15098
  }>;
14223
15099
  }, "strip", z.ZodTypeAny, {
14224
15100
  status: "PENDING" | "FAILED" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
@@ -14232,6 +15108,28 @@ export declare const conversationTurnSchema: z.ZodObject<{
14232
15108
  outputRef: string | null;
14233
15109
  exitCode: number | null;
14234
15110
  title?: string | undefined;
15111
+ output?: {
15112
+ text: string;
15113
+ truncated: boolean;
15114
+ } | undefined;
15115
+ toolPresentation?: {
15116
+ kind: "EXECUTION";
15117
+ execution: {
15118
+ kind: "SHELL" | "CODE" | "CONTROL";
15119
+ error?: {
15120
+ code: string;
15121
+ message: string;
15122
+ } | undefined;
15123
+ output?: {
15124
+ text: string;
15125
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
15126
+ }[] | undefined;
15127
+ truncation?: {
15128
+ input?: boolean | undefined;
15129
+ output?: "HEAD" | "SOURCE" | undefined;
15130
+ } | undefined;
15131
+ };
15132
+ } | undefined;
14235
15133
  };
14236
15134
  kind: "command_execution";
14237
15135
  id: string;
@@ -14271,6 +15169,28 @@ export declare const conversationTurnSchema: z.ZodObject<{
14271
15169
  outputRef: string | null;
14272
15170
  exitCode: number | null;
14273
15171
  title?: string | undefined;
15172
+ output?: {
15173
+ text: string;
15174
+ truncated: boolean;
15175
+ } | undefined;
15176
+ toolPresentation?: {
15177
+ kind: "EXECUTION";
15178
+ execution: {
15179
+ kind: "SHELL" | "CODE" | "CONTROL";
15180
+ error?: {
15181
+ code: string;
15182
+ message: string;
15183
+ } | undefined;
15184
+ output?: {
15185
+ text: string;
15186
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
15187
+ }[] | undefined;
15188
+ truncation?: {
15189
+ input?: boolean | undefined;
15190
+ output?: "HEAD" | "SOURCE" | undefined;
15191
+ } | undefined;
15192
+ };
15193
+ } | undefined;
14274
15194
  };
14275
15195
  kind: "command_execution";
14276
15196
  id: string;
@@ -15755,6 +16675,7 @@ export declare const conversationTurnSchema: z.ZodObject<{
15755
16675
  text: string;
15756
16676
  model: string | null;
15757
16677
  format: "markdown";
16678
+ phase?: "commentary" | "final_answer" | undefined;
15758
16679
  };
15759
16680
  kind: "assistant_message";
15760
16681
  id: string;
@@ -16031,6 +16952,10 @@ export declare const conversationTurnSchema: z.ZodObject<{
16031
16952
  imageIndex?: number | undefined;
16032
16953
  imageRef?: string | undefined;
16033
16954
  }[] | undefined;
16955
+ output?: {
16956
+ text: string;
16957
+ truncated: boolean;
16958
+ } | undefined;
16034
16959
  toolCategory?: "IMAGE_GENERATION" | undefined;
16035
16960
  toolPresentation?: {
16036
16961
  kind: "READ";
@@ -16067,6 +16992,7 @@ export declare const conversationTurnSchema: z.ZodObject<{
16067
16992
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
16068
16993
  subagentWait?: boolean | undefined;
16069
16994
  subagentId?: string | null | undefined;
16995
+ subagentSessionId?: string | undefined;
16070
16996
  subagentModelId?: string | undefined;
16071
16997
  subagentModelName?: string | undefined;
16072
16998
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -16117,6 +17043,28 @@ export declare const conversationTurnSchema: z.ZodObject<{
16117
17043
  outputRef: string | null;
16118
17044
  exitCode: number | null;
16119
17045
  title?: string | undefined;
17046
+ output?: {
17047
+ text: string;
17048
+ truncated: boolean;
17049
+ } | undefined;
17050
+ toolPresentation?: {
17051
+ kind: "EXECUTION";
17052
+ execution: {
17053
+ kind: "SHELL" | "CODE" | "CONTROL";
17054
+ error?: {
17055
+ code: string;
17056
+ message: string;
17057
+ } | undefined;
17058
+ output?: {
17059
+ text: string;
17060
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
17061
+ }[] | undefined;
17062
+ truncation?: {
17063
+ input?: boolean | undefined;
17064
+ output?: "HEAD" | "SOURCE" | undefined;
17065
+ } | undefined;
17066
+ };
17067
+ } | undefined;
16120
17068
  };
16121
17069
  kind: "command_execution";
16122
17070
  id: string;
@@ -16402,6 +17350,7 @@ export declare const conversationTurnSchema: z.ZodObject<{
16402
17350
  text: string;
16403
17351
  model: string | null;
16404
17352
  format: "markdown";
17353
+ phase?: "commentary" | "final_answer" | undefined;
16405
17354
  };
16406
17355
  kind: "assistant_message";
16407
17356
  id: string;
@@ -16678,6 +17627,10 @@ export declare const conversationTurnSchema: z.ZodObject<{
16678
17627
  imageIndex?: number | undefined;
16679
17628
  imageRef?: string | undefined;
16680
17629
  }[] | undefined;
17630
+ output?: {
17631
+ text: string;
17632
+ truncated: boolean;
17633
+ } | undefined;
16681
17634
  toolCategory?: "IMAGE_GENERATION" | undefined;
16682
17635
  toolPresentation?: {
16683
17636
  kind: "READ";
@@ -16714,6 +17667,7 @@ export declare const conversationTurnSchema: z.ZodObject<{
16714
17667
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
16715
17668
  subagentWait?: boolean | undefined;
16716
17669
  subagentId?: string | null | undefined;
17670
+ subagentSessionId?: string | undefined;
16717
17671
  subagentModelId?: string | undefined;
16718
17672
  subagentModelName?: string | undefined;
16719
17673
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -16764,6 +17718,28 @@ export declare const conversationTurnSchema: z.ZodObject<{
16764
17718
  outputRef: string | null;
16765
17719
  exitCode: number | null;
16766
17720
  title?: string | undefined;
17721
+ output?: {
17722
+ text: string;
17723
+ truncated: boolean;
17724
+ } | undefined;
17725
+ toolPresentation?: {
17726
+ kind: "EXECUTION";
17727
+ execution: {
17728
+ kind: "SHELL" | "CODE" | "CONTROL";
17729
+ error?: {
17730
+ code: string;
17731
+ message: string;
17732
+ } | undefined;
17733
+ output?: {
17734
+ text: string;
17735
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
17736
+ }[] | undefined;
17737
+ truncation?: {
17738
+ input?: boolean | undefined;
17739
+ output?: "HEAD" | "SOURCE" | undefined;
17740
+ } | undefined;
17741
+ };
17742
+ } | undefined;
16767
17743
  };
16768
17744
  kind: "command_execution";
16769
17745
  id: string;
@@ -18621,14 +19597,17 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
18621
19597
  text: z.ZodString;
18622
19598
  format: z.ZodLiteral<"markdown">;
18623
19599
  model: z.ZodNullable<z.ZodString>;
19600
+ phase: z.ZodOptional<z.ZodEnum<["commentary", "final_answer"]>>;
18624
19601
  }, "strip", z.ZodTypeAny, {
18625
19602
  text: string;
18626
19603
  model: string | null;
18627
19604
  format: "markdown";
19605
+ phase?: "commentary" | "final_answer" | undefined;
18628
19606
  }, {
18629
19607
  text: string;
18630
19608
  model: string | null;
18631
19609
  format: "markdown";
19610
+ phase?: "commentary" | "final_answer" | undefined;
18632
19611
  }>;
18633
19612
  }, "strip", z.ZodTypeAny, {
18634
19613
  status: "PENDING" | "FAILED" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
@@ -18637,6 +19616,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
18637
19616
  text: string;
18638
19617
  model: string | null;
18639
19618
  format: "markdown";
19619
+ phase?: "commentary" | "final_answer" | undefined;
18640
19620
  };
18641
19621
  kind: "assistant_message";
18642
19622
  id: string;
@@ -18671,6 +19651,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
18671
19651
  text: string;
18672
19652
  model: string | null;
18673
19653
  format: "markdown";
19654
+ phase?: "commentary" | "final_answer" | undefined;
18674
19655
  };
18675
19656
  kind: "assistant_message";
18676
19657
  id: string;
@@ -19555,6 +20536,16 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
19555
20536
  progressLabel: z.ZodNullable<z.ZodString>;
19556
20537
  errorCode: z.ZodNullable<z.ZodString>;
19557
20538
  truncated: z.ZodBoolean;
20539
+ output: z.ZodOptional<z.ZodObject<{
20540
+ text: z.ZodString;
20541
+ truncated: z.ZodBoolean;
20542
+ }, "strict", z.ZodTypeAny, {
20543
+ text: string;
20544
+ truncated: boolean;
20545
+ }, {
20546
+ text: string;
20547
+ truncated: boolean;
20548
+ }>>;
19558
20549
  toolCategory: z.ZodOptional<z.ZodEnum<["IMAGE_GENERATION"]>>;
19559
20550
  toolPresentation: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
19560
20551
  kind: z.ZodLiteral<"READ">;
@@ -19661,6 +20652,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
19661
20652
  subagentOperation: z.ZodOptional<z.ZodEnum<["START", "STATUS", "CANCEL", "MESSAGE", "RESUME"]>>;
19662
20653
  subagentWait: z.ZodOptional<z.ZodBoolean>;
19663
20654
  subagentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20655
+ subagentSessionId: z.ZodOptional<z.ZodString>;
19664
20656
  subagentModelId: z.ZodOptional<z.ZodString>;
19665
20657
  subagentModelName: z.ZodOptional<z.ZodString>;
19666
20658
  subagentReasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max", "ultra"]>>;
@@ -19739,6 +20731,10 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
19739
20731
  imageIndex?: number | undefined;
19740
20732
  imageRef?: string | undefined;
19741
20733
  }[] | undefined;
20734
+ output?: {
20735
+ text: string;
20736
+ truncated: boolean;
20737
+ } | undefined;
19742
20738
  toolCategory?: "IMAGE_GENERATION" | undefined;
19743
20739
  toolPresentation?: {
19744
20740
  kind: "READ";
@@ -19775,6 +20771,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
19775
20771
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
19776
20772
  subagentWait?: boolean | undefined;
19777
20773
  subagentId?: string | null | undefined;
20774
+ subagentSessionId?: string | undefined;
19778
20775
  subagentModelId?: string | undefined;
19779
20776
  subagentModelName?: string | undefined;
19780
20777
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -19803,6 +20800,10 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
19803
20800
  imageIndex?: number | undefined;
19804
20801
  imageRef?: string | undefined;
19805
20802
  }[] | undefined;
20803
+ output?: {
20804
+ text: string;
20805
+ truncated: boolean;
20806
+ } | undefined;
19806
20807
  toolCategory?: "IMAGE_GENERATION" | undefined;
19807
20808
  toolPresentation?: {
19808
20809
  kind: "READ";
@@ -19839,6 +20840,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
19839
20840
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
19840
20841
  subagentWait?: boolean | undefined;
19841
20842
  subagentId?: string | null | undefined;
20843
+ subagentSessionId?: string | undefined;
19842
20844
  subagentModelId?: string | undefined;
19843
20845
  subagentModelName?: string | undefined;
19844
20846
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -19871,6 +20873,10 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
19871
20873
  imageIndex?: number | undefined;
19872
20874
  imageRef?: string | undefined;
19873
20875
  }[] | undefined;
20876
+ output?: {
20877
+ text: string;
20878
+ truncated: boolean;
20879
+ } | undefined;
19874
20880
  toolCategory?: "IMAGE_GENERATION" | undefined;
19875
20881
  toolPresentation?: {
19876
20882
  kind: "READ";
@@ -19907,6 +20913,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
19907
20913
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
19908
20914
  subagentWait?: boolean | undefined;
19909
20915
  subagentId?: string | null | undefined;
20916
+ subagentSessionId?: string | undefined;
19910
20917
  subagentModelId?: string | undefined;
19911
20918
  subagentModelName?: string | undefined;
19912
20919
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -19965,6 +20972,10 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
19965
20972
  imageIndex?: number | undefined;
19966
20973
  imageRef?: string | undefined;
19967
20974
  }[] | undefined;
20975
+ output?: {
20976
+ text: string;
20977
+ truncated: boolean;
20978
+ } | undefined;
19968
20979
  toolCategory?: "IMAGE_GENERATION" | undefined;
19969
20980
  toolPresentation?: {
19970
20981
  kind: "READ";
@@ -20001,6 +21012,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
20001
21012
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
20002
21013
  subagentWait?: boolean | undefined;
20003
21014
  subagentId?: string | null | undefined;
21015
+ subagentSessionId?: string | undefined;
20004
21016
  subagentModelId?: string | undefined;
20005
21017
  subagentModelName?: string | undefined;
20006
21018
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -20116,6 +21128,154 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
20116
21128
  exitCode: z.ZodNullable<z.ZodNumber>;
20117
21129
  durationMs: z.ZodNullable<z.ZodNumber>;
20118
21130
  truncated: z.ZodBoolean;
21131
+ output: z.ZodOptional<z.ZodObject<{
21132
+ text: z.ZodString;
21133
+ truncated: z.ZodBoolean;
21134
+ }, "strict", z.ZodTypeAny, {
21135
+ text: string;
21136
+ truncated: boolean;
21137
+ }, {
21138
+ text: string;
21139
+ truncated: boolean;
21140
+ }>>;
21141
+ toolPresentation: z.ZodOptional<z.ZodEffects<z.ZodObject<{
21142
+ kind: z.ZodLiteral<"EXECUTION">;
21143
+ execution: z.ZodObject<{
21144
+ kind: z.ZodEnum<["SHELL", "CODE", "CONTROL"]>;
21145
+ output: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
21146
+ channel: z.ZodEnum<["STDOUT", "STDERR", "COMBINED", "TEXT"]>;
21147
+ text: z.ZodString;
21148
+ }, "strict", z.ZodTypeAny, {
21149
+ text: string;
21150
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
21151
+ }, {
21152
+ text: string;
21153
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
21154
+ }>, "many">, {
21155
+ text: string;
21156
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
21157
+ }[], {
21158
+ text: string;
21159
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
21160
+ }[]>>;
21161
+ error: z.ZodOptional<z.ZodObject<{
21162
+ code: z.ZodString;
21163
+ message: z.ZodString;
21164
+ }, "strict", z.ZodTypeAny, {
21165
+ code: string;
21166
+ message: string;
21167
+ }, {
21168
+ code: string;
21169
+ message: string;
21170
+ }>>;
21171
+ truncation: z.ZodOptional<z.ZodObject<{
21172
+ input: z.ZodOptional<z.ZodBoolean>;
21173
+ output: z.ZodOptional<z.ZodEnum<["HEAD", "SOURCE"]>>;
21174
+ }, "strict", z.ZodTypeAny, {
21175
+ input?: boolean | undefined;
21176
+ output?: "HEAD" | "SOURCE" | undefined;
21177
+ }, {
21178
+ input?: boolean | undefined;
21179
+ output?: "HEAD" | "SOURCE" | undefined;
21180
+ }>>;
21181
+ }, "strict", z.ZodTypeAny, {
21182
+ kind: "SHELL" | "CODE" | "CONTROL";
21183
+ error?: {
21184
+ code: string;
21185
+ message: string;
21186
+ } | undefined;
21187
+ output?: {
21188
+ text: string;
21189
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
21190
+ }[] | undefined;
21191
+ truncation?: {
21192
+ input?: boolean | undefined;
21193
+ output?: "HEAD" | "SOURCE" | undefined;
21194
+ } | undefined;
21195
+ }, {
21196
+ kind: "SHELL" | "CODE" | "CONTROL";
21197
+ error?: {
21198
+ code: string;
21199
+ message: string;
21200
+ } | undefined;
21201
+ output?: {
21202
+ text: string;
21203
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
21204
+ }[] | undefined;
21205
+ truncation?: {
21206
+ input?: boolean | undefined;
21207
+ output?: "HEAD" | "SOURCE" | undefined;
21208
+ } | undefined;
21209
+ }>;
21210
+ }, "strict", z.ZodTypeAny, {
21211
+ kind: "EXECUTION";
21212
+ execution: {
21213
+ kind: "SHELL" | "CODE" | "CONTROL";
21214
+ error?: {
21215
+ code: string;
21216
+ message: string;
21217
+ } | undefined;
21218
+ output?: {
21219
+ text: string;
21220
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
21221
+ }[] | undefined;
21222
+ truncation?: {
21223
+ input?: boolean | undefined;
21224
+ output?: "HEAD" | "SOURCE" | undefined;
21225
+ } | undefined;
21226
+ };
21227
+ }, {
21228
+ kind: "EXECUTION";
21229
+ execution: {
21230
+ kind: "SHELL" | "CODE" | "CONTROL";
21231
+ error?: {
21232
+ code: string;
21233
+ message: string;
21234
+ } | undefined;
21235
+ output?: {
21236
+ text: string;
21237
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
21238
+ }[] | undefined;
21239
+ truncation?: {
21240
+ input?: boolean | undefined;
21241
+ output?: "HEAD" | "SOURCE" | undefined;
21242
+ } | undefined;
21243
+ };
21244
+ }>, {
21245
+ kind: "EXECUTION";
21246
+ execution: {
21247
+ kind: "SHELL" | "CODE" | "CONTROL";
21248
+ error?: {
21249
+ code: string;
21250
+ message: string;
21251
+ } | undefined;
21252
+ output?: {
21253
+ text: string;
21254
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
21255
+ }[] | undefined;
21256
+ truncation?: {
21257
+ input?: boolean | undefined;
21258
+ output?: "HEAD" | "SOURCE" | undefined;
21259
+ } | undefined;
21260
+ };
21261
+ }, {
21262
+ kind: "EXECUTION";
21263
+ execution: {
21264
+ kind: "SHELL" | "CODE" | "CONTROL";
21265
+ error?: {
21266
+ code: string;
21267
+ message: string;
21268
+ } | undefined;
21269
+ output?: {
21270
+ text: string;
21271
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
21272
+ }[] | undefined;
21273
+ truncation?: {
21274
+ input?: boolean | undefined;
21275
+ output?: "HEAD" | "SOURCE" | undefined;
21276
+ } | undefined;
21277
+ };
21278
+ }>>;
20119
21279
  }, "strip", z.ZodTypeAny, {
20120
21280
  command: string;
20121
21281
  durationMs: number | null;
@@ -20125,6 +21285,28 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
20125
21285
  outputRef: string | null;
20126
21286
  exitCode: number | null;
20127
21287
  title?: string | undefined;
21288
+ output?: {
21289
+ text: string;
21290
+ truncated: boolean;
21291
+ } | undefined;
21292
+ toolPresentation?: {
21293
+ kind: "EXECUTION";
21294
+ execution: {
21295
+ kind: "SHELL" | "CODE" | "CONTROL";
21296
+ error?: {
21297
+ code: string;
21298
+ message: string;
21299
+ } | undefined;
21300
+ output?: {
21301
+ text: string;
21302
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
21303
+ }[] | undefined;
21304
+ truncation?: {
21305
+ input?: boolean | undefined;
21306
+ output?: "HEAD" | "SOURCE" | undefined;
21307
+ } | undefined;
21308
+ };
21309
+ } | undefined;
20128
21310
  }, {
20129
21311
  command: string;
20130
21312
  durationMs: number | null;
@@ -20134,6 +21316,28 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
20134
21316
  outputRef: string | null;
20135
21317
  exitCode: number | null;
20136
21318
  title?: string | undefined;
21319
+ output?: {
21320
+ text: string;
21321
+ truncated: boolean;
21322
+ } | undefined;
21323
+ toolPresentation?: {
21324
+ kind: "EXECUTION";
21325
+ execution: {
21326
+ kind: "SHELL" | "CODE" | "CONTROL";
21327
+ error?: {
21328
+ code: string;
21329
+ message: string;
21330
+ } | undefined;
21331
+ output?: {
21332
+ text: string;
21333
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
21334
+ }[] | undefined;
21335
+ truncation?: {
21336
+ input?: boolean | undefined;
21337
+ output?: "HEAD" | "SOURCE" | undefined;
21338
+ } | undefined;
21339
+ };
21340
+ } | undefined;
20137
21341
  }>;
20138
21342
  }, "strip", z.ZodTypeAny, {
20139
21343
  status: "PENDING" | "FAILED" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
@@ -20147,6 +21351,28 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
20147
21351
  outputRef: string | null;
20148
21352
  exitCode: number | null;
20149
21353
  title?: string | undefined;
21354
+ output?: {
21355
+ text: string;
21356
+ truncated: boolean;
21357
+ } | undefined;
21358
+ toolPresentation?: {
21359
+ kind: "EXECUTION";
21360
+ execution: {
21361
+ kind: "SHELL" | "CODE" | "CONTROL";
21362
+ error?: {
21363
+ code: string;
21364
+ message: string;
21365
+ } | undefined;
21366
+ output?: {
21367
+ text: string;
21368
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
21369
+ }[] | undefined;
21370
+ truncation?: {
21371
+ input?: boolean | undefined;
21372
+ output?: "HEAD" | "SOURCE" | undefined;
21373
+ } | undefined;
21374
+ };
21375
+ } | undefined;
20150
21376
  };
20151
21377
  kind: "command_execution";
20152
21378
  id: string;
@@ -20186,6 +21412,28 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
20186
21412
  outputRef: string | null;
20187
21413
  exitCode: number | null;
20188
21414
  title?: string | undefined;
21415
+ output?: {
21416
+ text: string;
21417
+ truncated: boolean;
21418
+ } | undefined;
21419
+ toolPresentation?: {
21420
+ kind: "EXECUTION";
21421
+ execution: {
21422
+ kind: "SHELL" | "CODE" | "CONTROL";
21423
+ error?: {
21424
+ code: string;
21425
+ message: string;
21426
+ } | undefined;
21427
+ output?: {
21428
+ text: string;
21429
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
21430
+ }[] | undefined;
21431
+ truncation?: {
21432
+ input?: boolean | undefined;
21433
+ output?: "HEAD" | "SOURCE" | undefined;
21434
+ } | undefined;
21435
+ };
21436
+ } | undefined;
20189
21437
  };
20190
21438
  kind: "command_execution";
20191
21439
  id: string;
@@ -21670,6 +22918,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
21670
22918
  text: string;
21671
22919
  model: string | null;
21672
22920
  format: "markdown";
22921
+ phase?: "commentary" | "final_answer" | undefined;
21673
22922
  };
21674
22923
  kind: "assistant_message";
21675
22924
  id: string;
@@ -21946,6 +23195,10 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
21946
23195
  imageIndex?: number | undefined;
21947
23196
  imageRef?: string | undefined;
21948
23197
  }[] | undefined;
23198
+ output?: {
23199
+ text: string;
23200
+ truncated: boolean;
23201
+ } | undefined;
21949
23202
  toolCategory?: "IMAGE_GENERATION" | undefined;
21950
23203
  toolPresentation?: {
21951
23204
  kind: "READ";
@@ -21982,6 +23235,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
21982
23235
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
21983
23236
  subagentWait?: boolean | undefined;
21984
23237
  subagentId?: string | null | undefined;
23238
+ subagentSessionId?: string | undefined;
21985
23239
  subagentModelId?: string | undefined;
21986
23240
  subagentModelName?: string | undefined;
21987
23241
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -22032,6 +23286,28 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
22032
23286
  outputRef: string | null;
22033
23287
  exitCode: number | null;
22034
23288
  title?: string | undefined;
23289
+ output?: {
23290
+ text: string;
23291
+ truncated: boolean;
23292
+ } | undefined;
23293
+ toolPresentation?: {
23294
+ kind: "EXECUTION";
23295
+ execution: {
23296
+ kind: "SHELL" | "CODE" | "CONTROL";
23297
+ error?: {
23298
+ code: string;
23299
+ message: string;
23300
+ } | undefined;
23301
+ output?: {
23302
+ text: string;
23303
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
23304
+ }[] | undefined;
23305
+ truncation?: {
23306
+ input?: boolean | undefined;
23307
+ output?: "HEAD" | "SOURCE" | undefined;
23308
+ } | undefined;
23309
+ };
23310
+ } | undefined;
22035
23311
  };
22036
23312
  kind: "command_execution";
22037
23313
  id: string;
@@ -22317,6 +23593,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
22317
23593
  text: string;
22318
23594
  model: string | null;
22319
23595
  format: "markdown";
23596
+ phase?: "commentary" | "final_answer" | undefined;
22320
23597
  };
22321
23598
  kind: "assistant_message";
22322
23599
  id: string;
@@ -22593,6 +23870,10 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
22593
23870
  imageIndex?: number | undefined;
22594
23871
  imageRef?: string | undefined;
22595
23872
  }[] | undefined;
23873
+ output?: {
23874
+ text: string;
23875
+ truncated: boolean;
23876
+ } | undefined;
22596
23877
  toolCategory?: "IMAGE_GENERATION" | undefined;
22597
23878
  toolPresentation?: {
22598
23879
  kind: "READ";
@@ -22629,6 +23910,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
22629
23910
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
22630
23911
  subagentWait?: boolean | undefined;
22631
23912
  subagentId?: string | null | undefined;
23913
+ subagentSessionId?: string | undefined;
22632
23914
  subagentModelId?: string | undefined;
22633
23915
  subagentModelName?: string | undefined;
22634
23916
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -22679,6 +23961,28 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
22679
23961
  outputRef: string | null;
22680
23962
  exitCode: number | null;
22681
23963
  title?: string | undefined;
23964
+ output?: {
23965
+ text: string;
23966
+ truncated: boolean;
23967
+ } | undefined;
23968
+ toolPresentation?: {
23969
+ kind: "EXECUTION";
23970
+ execution: {
23971
+ kind: "SHELL" | "CODE" | "CONTROL";
23972
+ error?: {
23973
+ code: string;
23974
+ message: string;
23975
+ } | undefined;
23976
+ output?: {
23977
+ text: string;
23978
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
23979
+ }[] | undefined;
23980
+ truncation?: {
23981
+ input?: boolean | undefined;
23982
+ output?: "HEAD" | "SOURCE" | undefined;
23983
+ } | undefined;
23984
+ };
23985
+ } | undefined;
22682
23986
  };
22683
23987
  kind: "command_execution";
22684
23988
  id: string;
@@ -23021,6 +24325,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
23021
24325
  reasoningEfforts: z.ZodArray<z.ZodEnum<["low", "medium", "high", "xhigh", "max", "ultra"]>, "many">;
23022
24326
  defaultReasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max", "ultra"]>>;
23023
24327
  conversationModel: z.ZodDefault<z.ZodBoolean>;
24328
+ subagentModel: z.ZodDefault<z.ZodBoolean>;
23024
24329
  titleGeneration: z.ZodDefault<z.ZodBoolean>;
23025
24330
  codeMode: z.ZodDefault<z.ZodBoolean>;
23026
24331
  serviceTier: z.ZodOptional<z.ZodEnum<["auto", "default", "flex", "priority", "fast", "ultrafast"]>>;
@@ -23057,6 +24362,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
23057
24362
  outputCapabilities: ["TEXT"];
23058
24363
  reasoningEfforts: ("low" | "medium" | "high" | "xhigh" | "max" | "ultra")[];
23059
24364
  conversationModel: boolean;
24365
+ subagentModel: boolean;
23060
24366
  titleGeneration: boolean;
23061
24367
  codeMode: boolean;
23062
24368
  hostedWebSearch: boolean;
@@ -23111,6 +24417,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
23111
24417
  lastTestCode?: string | null | undefined;
23112
24418
  defaultReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
23113
24419
  conversationModel?: boolean | undefined;
24420
+ subagentModel?: boolean | undefined;
23114
24421
  titleGeneration?: boolean | undefined;
23115
24422
  codeMode?: boolean | undefined;
23116
24423
  serviceTier?: "auto" | "default" | "flex" | "priority" | "fast" | "ultrafast" | undefined;
@@ -23203,6 +24510,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
23203
24510
  text: string;
23204
24511
  model: string | null;
23205
24512
  format: "markdown";
24513
+ phase?: "commentary" | "final_answer" | undefined;
23206
24514
  };
23207
24515
  kind: "assistant_message";
23208
24516
  id: string;
@@ -23479,6 +24787,10 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
23479
24787
  imageIndex?: number | undefined;
23480
24788
  imageRef?: string | undefined;
23481
24789
  }[] | undefined;
24790
+ output?: {
24791
+ text: string;
24792
+ truncated: boolean;
24793
+ } | undefined;
23482
24794
  toolCategory?: "IMAGE_GENERATION" | undefined;
23483
24795
  toolPresentation?: {
23484
24796
  kind: "READ";
@@ -23515,6 +24827,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
23515
24827
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
23516
24828
  subagentWait?: boolean | undefined;
23517
24829
  subagentId?: string | null | undefined;
24830
+ subagentSessionId?: string | undefined;
23518
24831
  subagentModelId?: string | undefined;
23519
24832
  subagentModelName?: string | undefined;
23520
24833
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -23565,6 +24878,28 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
23565
24878
  outputRef: string | null;
23566
24879
  exitCode: number | null;
23567
24880
  title?: string | undefined;
24881
+ output?: {
24882
+ text: string;
24883
+ truncated: boolean;
24884
+ } | undefined;
24885
+ toolPresentation?: {
24886
+ kind: "EXECUTION";
24887
+ execution: {
24888
+ kind: "SHELL" | "CODE" | "CONTROL";
24889
+ error?: {
24890
+ code: string;
24891
+ message: string;
24892
+ } | undefined;
24893
+ output?: {
24894
+ text: string;
24895
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
24896
+ }[] | undefined;
24897
+ truncation?: {
24898
+ input?: boolean | undefined;
24899
+ output?: "HEAD" | "SOURCE" | undefined;
24900
+ } | undefined;
24901
+ };
24902
+ } | undefined;
23568
24903
  };
23569
24904
  kind: "command_execution";
23570
24905
  id: string;
@@ -23915,6 +25250,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
23915
25250
  text: string;
23916
25251
  model: string | null;
23917
25252
  format: "markdown";
25253
+ phase?: "commentary" | "final_answer" | undefined;
23918
25254
  };
23919
25255
  kind: "assistant_message";
23920
25256
  id: string;
@@ -24191,6 +25527,10 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
24191
25527
  imageIndex?: number | undefined;
24192
25528
  imageRef?: string | undefined;
24193
25529
  }[] | undefined;
25530
+ output?: {
25531
+ text: string;
25532
+ truncated: boolean;
25533
+ } | undefined;
24194
25534
  toolCategory?: "IMAGE_GENERATION" | undefined;
24195
25535
  toolPresentation?: {
24196
25536
  kind: "READ";
@@ -24227,6 +25567,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
24227
25567
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
24228
25568
  subagentWait?: boolean | undefined;
24229
25569
  subagentId?: string | null | undefined;
25570
+ subagentSessionId?: string | undefined;
24230
25571
  subagentModelId?: string | undefined;
24231
25572
  subagentModelName?: string | undefined;
24232
25573
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -24277,6 +25618,28 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
24277
25618
  outputRef: string | null;
24278
25619
  exitCode: number | null;
24279
25620
  title?: string | undefined;
25621
+ output?: {
25622
+ text: string;
25623
+ truncated: boolean;
25624
+ } | undefined;
25625
+ toolPresentation?: {
25626
+ kind: "EXECUTION";
25627
+ execution: {
25628
+ kind: "SHELL" | "CODE" | "CONTROL";
25629
+ error?: {
25630
+ code: string;
25631
+ message: string;
25632
+ } | undefined;
25633
+ output?: {
25634
+ text: string;
25635
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
25636
+ }[] | undefined;
25637
+ truncation?: {
25638
+ input?: boolean | undefined;
25639
+ output?: "HEAD" | "SOURCE" | undefined;
25640
+ } | undefined;
25641
+ };
25642
+ } | undefined;
24280
25643
  };
24281
25644
  kind: "command_execution";
24282
25645
  id: string;
@@ -24627,6 +25990,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
24627
25990
  text: string;
24628
25991
  model: string | null;
24629
25992
  format: "markdown";
25993
+ phase?: "commentary" | "final_answer" | undefined;
24630
25994
  };
24631
25995
  kind: "assistant_message";
24632
25996
  id: string;
@@ -24903,6 +26267,10 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
24903
26267
  imageIndex?: number | undefined;
24904
26268
  imageRef?: string | undefined;
24905
26269
  }[] | undefined;
26270
+ output?: {
26271
+ text: string;
26272
+ truncated: boolean;
26273
+ } | undefined;
24906
26274
  toolCategory?: "IMAGE_GENERATION" | undefined;
24907
26275
  toolPresentation?: {
24908
26276
  kind: "READ";
@@ -24939,6 +26307,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
24939
26307
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
24940
26308
  subagentWait?: boolean | undefined;
24941
26309
  subagentId?: string | null | undefined;
26310
+ subagentSessionId?: string | undefined;
24942
26311
  subagentModelId?: string | undefined;
24943
26312
  subagentModelName?: string | undefined;
24944
26313
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -24989,6 +26358,28 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
24989
26358
  outputRef: string | null;
24990
26359
  exitCode: number | null;
24991
26360
  title?: string | undefined;
26361
+ output?: {
26362
+ text: string;
26363
+ truncated: boolean;
26364
+ } | undefined;
26365
+ toolPresentation?: {
26366
+ kind: "EXECUTION";
26367
+ execution: {
26368
+ kind: "SHELL" | "CODE" | "CONTROL";
26369
+ error?: {
26370
+ code: string;
26371
+ message: string;
26372
+ } | undefined;
26373
+ output?: {
26374
+ text: string;
26375
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
26376
+ }[] | undefined;
26377
+ truncation?: {
26378
+ input?: boolean | undefined;
26379
+ output?: "HEAD" | "SOURCE" | undefined;
26380
+ } | undefined;
26381
+ };
26382
+ } | undefined;
24992
26383
  };
24993
26384
  kind: "command_execution";
24994
26385
  id: string;
@@ -25339,6 +26730,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
25339
26730
  text: string;
25340
26731
  model: string | null;
25341
26732
  format: "markdown";
26733
+ phase?: "commentary" | "final_answer" | undefined;
25342
26734
  };
25343
26735
  kind: "assistant_message";
25344
26736
  id: string;
@@ -25615,6 +27007,10 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
25615
27007
  imageIndex?: number | undefined;
25616
27008
  imageRef?: string | undefined;
25617
27009
  }[] | undefined;
27010
+ output?: {
27011
+ text: string;
27012
+ truncated: boolean;
27013
+ } | undefined;
25618
27014
  toolCategory?: "IMAGE_GENERATION" | undefined;
25619
27015
  toolPresentation?: {
25620
27016
  kind: "READ";
@@ -25651,6 +27047,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
25651
27047
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
25652
27048
  subagentWait?: boolean | undefined;
25653
27049
  subagentId?: string | null | undefined;
27050
+ subagentSessionId?: string | undefined;
25654
27051
  subagentModelId?: string | undefined;
25655
27052
  subagentModelName?: string | undefined;
25656
27053
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -25701,6 +27098,28 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
25701
27098
  outputRef: string | null;
25702
27099
  exitCode: number | null;
25703
27100
  title?: string | undefined;
27101
+ output?: {
27102
+ text: string;
27103
+ truncated: boolean;
27104
+ } | undefined;
27105
+ toolPresentation?: {
27106
+ kind: "EXECUTION";
27107
+ execution: {
27108
+ kind: "SHELL" | "CODE" | "CONTROL";
27109
+ error?: {
27110
+ code: string;
27111
+ message: string;
27112
+ } | undefined;
27113
+ output?: {
27114
+ text: string;
27115
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
27116
+ }[] | undefined;
27117
+ truncation?: {
27118
+ input?: boolean | undefined;
27119
+ output?: "HEAD" | "SOURCE" | undefined;
27120
+ } | undefined;
27121
+ };
27122
+ } | undefined;
25704
27123
  };
25705
27124
  kind: "command_execution";
25706
27125
  id: string;
@@ -26040,6 +27459,7 @@ export declare const hostedConversationModelOptionsSchema: z.ZodEffects<z.ZodObj
26040
27459
  reasoningEfforts: z.ZodArray<z.ZodEnum<["low", "medium", "high", "xhigh", "max", "ultra"]>, "many">;
26041
27460
  defaultReasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max", "ultra"]>>;
26042
27461
  conversationModel: z.ZodDefault<z.ZodBoolean>;
27462
+ subagentModel: z.ZodDefault<z.ZodBoolean>;
26043
27463
  titleGeneration: z.ZodDefault<z.ZodBoolean>;
26044
27464
  codeMode: z.ZodDefault<z.ZodBoolean>;
26045
27465
  serviceTier: z.ZodOptional<z.ZodEnum<["auto", "default", "flex", "priority", "fast", "ultrafast"]>>;
@@ -26076,6 +27496,7 @@ export declare const hostedConversationModelOptionsSchema: z.ZodEffects<z.ZodObj
26076
27496
  outputCapabilities: ["TEXT"];
26077
27497
  reasoningEfforts: ("low" | "medium" | "high" | "xhigh" | "max" | "ultra")[];
26078
27498
  conversationModel: boolean;
27499
+ subagentModel: boolean;
26079
27500
  titleGeneration: boolean;
26080
27501
  codeMode: boolean;
26081
27502
  hostedWebSearch: boolean;
@@ -26130,6 +27551,7 @@ export declare const hostedConversationModelOptionsSchema: z.ZodEffects<z.ZodObj
26130
27551
  lastTestCode?: string | null | undefined;
26131
27552
  defaultReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
26132
27553
  conversationModel?: boolean | undefined;
27554
+ subagentModel?: boolean | undefined;
26133
27555
  titleGeneration?: boolean | undefined;
26134
27556
  codeMode?: boolean | undefined;
26135
27557
  serviceTier?: "auto" | "default" | "flex" | "priority" | "fast" | "ultrafast" | undefined;
@@ -26534,14 +27956,17 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
26534
27956
  text: z.ZodString;
26535
27957
  format: z.ZodLiteral<"markdown">;
26536
27958
  model: z.ZodNullable<z.ZodString>;
27959
+ phase: z.ZodOptional<z.ZodEnum<["commentary", "final_answer"]>>;
26537
27960
  }, "strip", z.ZodTypeAny, {
26538
27961
  text: string;
26539
27962
  model: string | null;
26540
27963
  format: "markdown";
27964
+ phase?: "commentary" | "final_answer" | undefined;
26541
27965
  }, {
26542
27966
  text: string;
26543
27967
  model: string | null;
26544
27968
  format: "markdown";
27969
+ phase?: "commentary" | "final_answer" | undefined;
26545
27970
  }>;
26546
27971
  }, "strip", z.ZodTypeAny, {
26547
27972
  status: "PENDING" | "FAILED" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
@@ -26550,6 +27975,7 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
26550
27975
  text: string;
26551
27976
  model: string | null;
26552
27977
  format: "markdown";
27978
+ phase?: "commentary" | "final_answer" | undefined;
26553
27979
  };
26554
27980
  kind: "assistant_message";
26555
27981
  id: string;
@@ -26584,6 +28010,7 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
26584
28010
  text: string;
26585
28011
  model: string | null;
26586
28012
  format: "markdown";
28013
+ phase?: "commentary" | "final_answer" | undefined;
26587
28014
  };
26588
28015
  kind: "assistant_message";
26589
28016
  id: string;
@@ -27468,6 +28895,16 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
27468
28895
  progressLabel: z.ZodNullable<z.ZodString>;
27469
28896
  errorCode: z.ZodNullable<z.ZodString>;
27470
28897
  truncated: z.ZodBoolean;
28898
+ output: z.ZodOptional<z.ZodObject<{
28899
+ text: z.ZodString;
28900
+ truncated: z.ZodBoolean;
28901
+ }, "strict", z.ZodTypeAny, {
28902
+ text: string;
28903
+ truncated: boolean;
28904
+ }, {
28905
+ text: string;
28906
+ truncated: boolean;
28907
+ }>>;
27471
28908
  toolCategory: z.ZodOptional<z.ZodEnum<["IMAGE_GENERATION"]>>;
27472
28909
  toolPresentation: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
27473
28910
  kind: z.ZodLiteral<"READ">;
@@ -27574,6 +29011,7 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
27574
29011
  subagentOperation: z.ZodOptional<z.ZodEnum<["START", "STATUS", "CANCEL", "MESSAGE", "RESUME"]>>;
27575
29012
  subagentWait: z.ZodOptional<z.ZodBoolean>;
27576
29013
  subagentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29014
+ subagentSessionId: z.ZodOptional<z.ZodString>;
27577
29015
  subagentModelId: z.ZodOptional<z.ZodString>;
27578
29016
  subagentModelName: z.ZodOptional<z.ZodString>;
27579
29017
  subagentReasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max", "ultra"]>>;
@@ -27652,6 +29090,10 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
27652
29090
  imageIndex?: number | undefined;
27653
29091
  imageRef?: string | undefined;
27654
29092
  }[] | undefined;
29093
+ output?: {
29094
+ text: string;
29095
+ truncated: boolean;
29096
+ } | undefined;
27655
29097
  toolCategory?: "IMAGE_GENERATION" | undefined;
27656
29098
  toolPresentation?: {
27657
29099
  kind: "READ";
@@ -27688,6 +29130,7 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
27688
29130
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
27689
29131
  subagentWait?: boolean | undefined;
27690
29132
  subagentId?: string | null | undefined;
29133
+ subagentSessionId?: string | undefined;
27691
29134
  subagentModelId?: string | undefined;
27692
29135
  subagentModelName?: string | undefined;
27693
29136
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -27716,6 +29159,10 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
27716
29159
  imageIndex?: number | undefined;
27717
29160
  imageRef?: string | undefined;
27718
29161
  }[] | undefined;
29162
+ output?: {
29163
+ text: string;
29164
+ truncated: boolean;
29165
+ } | undefined;
27719
29166
  toolCategory?: "IMAGE_GENERATION" | undefined;
27720
29167
  toolPresentation?: {
27721
29168
  kind: "READ";
@@ -27752,6 +29199,7 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
27752
29199
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
27753
29200
  subagentWait?: boolean | undefined;
27754
29201
  subagentId?: string | null | undefined;
29202
+ subagentSessionId?: string | undefined;
27755
29203
  subagentModelId?: string | undefined;
27756
29204
  subagentModelName?: string | undefined;
27757
29205
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -27784,6 +29232,10 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
27784
29232
  imageIndex?: number | undefined;
27785
29233
  imageRef?: string | undefined;
27786
29234
  }[] | undefined;
29235
+ output?: {
29236
+ text: string;
29237
+ truncated: boolean;
29238
+ } | undefined;
27787
29239
  toolCategory?: "IMAGE_GENERATION" | undefined;
27788
29240
  toolPresentation?: {
27789
29241
  kind: "READ";
@@ -27820,6 +29272,7 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
27820
29272
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
27821
29273
  subagentWait?: boolean | undefined;
27822
29274
  subagentId?: string | null | undefined;
29275
+ subagentSessionId?: string | undefined;
27823
29276
  subagentModelId?: string | undefined;
27824
29277
  subagentModelName?: string | undefined;
27825
29278
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -27878,6 +29331,10 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
27878
29331
  imageIndex?: number | undefined;
27879
29332
  imageRef?: string | undefined;
27880
29333
  }[] | undefined;
29334
+ output?: {
29335
+ text: string;
29336
+ truncated: boolean;
29337
+ } | undefined;
27881
29338
  toolCategory?: "IMAGE_GENERATION" | undefined;
27882
29339
  toolPresentation?: {
27883
29340
  kind: "READ";
@@ -27914,6 +29371,7 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
27914
29371
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
27915
29372
  subagentWait?: boolean | undefined;
27916
29373
  subagentId?: string | null | undefined;
29374
+ subagentSessionId?: string | undefined;
27917
29375
  subagentModelId?: string | undefined;
27918
29376
  subagentModelName?: string | undefined;
27919
29377
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -28029,6 +29487,154 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
28029
29487
  exitCode: z.ZodNullable<z.ZodNumber>;
28030
29488
  durationMs: z.ZodNullable<z.ZodNumber>;
28031
29489
  truncated: z.ZodBoolean;
29490
+ output: z.ZodOptional<z.ZodObject<{
29491
+ text: z.ZodString;
29492
+ truncated: z.ZodBoolean;
29493
+ }, "strict", z.ZodTypeAny, {
29494
+ text: string;
29495
+ truncated: boolean;
29496
+ }, {
29497
+ text: string;
29498
+ truncated: boolean;
29499
+ }>>;
29500
+ toolPresentation: z.ZodOptional<z.ZodEffects<z.ZodObject<{
29501
+ kind: z.ZodLiteral<"EXECUTION">;
29502
+ execution: z.ZodObject<{
29503
+ kind: z.ZodEnum<["SHELL", "CODE", "CONTROL"]>;
29504
+ output: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
29505
+ channel: z.ZodEnum<["STDOUT", "STDERR", "COMBINED", "TEXT"]>;
29506
+ text: z.ZodString;
29507
+ }, "strict", z.ZodTypeAny, {
29508
+ text: string;
29509
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
29510
+ }, {
29511
+ text: string;
29512
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
29513
+ }>, "many">, {
29514
+ text: string;
29515
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
29516
+ }[], {
29517
+ text: string;
29518
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
29519
+ }[]>>;
29520
+ error: z.ZodOptional<z.ZodObject<{
29521
+ code: z.ZodString;
29522
+ message: z.ZodString;
29523
+ }, "strict", z.ZodTypeAny, {
29524
+ code: string;
29525
+ message: string;
29526
+ }, {
29527
+ code: string;
29528
+ message: string;
29529
+ }>>;
29530
+ truncation: z.ZodOptional<z.ZodObject<{
29531
+ input: z.ZodOptional<z.ZodBoolean>;
29532
+ output: z.ZodOptional<z.ZodEnum<["HEAD", "SOURCE"]>>;
29533
+ }, "strict", z.ZodTypeAny, {
29534
+ input?: boolean | undefined;
29535
+ output?: "HEAD" | "SOURCE" | undefined;
29536
+ }, {
29537
+ input?: boolean | undefined;
29538
+ output?: "HEAD" | "SOURCE" | undefined;
29539
+ }>>;
29540
+ }, "strict", z.ZodTypeAny, {
29541
+ kind: "SHELL" | "CODE" | "CONTROL";
29542
+ error?: {
29543
+ code: string;
29544
+ message: string;
29545
+ } | undefined;
29546
+ output?: {
29547
+ text: string;
29548
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
29549
+ }[] | undefined;
29550
+ truncation?: {
29551
+ input?: boolean | undefined;
29552
+ output?: "HEAD" | "SOURCE" | undefined;
29553
+ } | undefined;
29554
+ }, {
29555
+ kind: "SHELL" | "CODE" | "CONTROL";
29556
+ error?: {
29557
+ code: string;
29558
+ message: string;
29559
+ } | undefined;
29560
+ output?: {
29561
+ text: string;
29562
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
29563
+ }[] | undefined;
29564
+ truncation?: {
29565
+ input?: boolean | undefined;
29566
+ output?: "HEAD" | "SOURCE" | undefined;
29567
+ } | undefined;
29568
+ }>;
29569
+ }, "strict", z.ZodTypeAny, {
29570
+ kind: "EXECUTION";
29571
+ execution: {
29572
+ kind: "SHELL" | "CODE" | "CONTROL";
29573
+ error?: {
29574
+ code: string;
29575
+ message: string;
29576
+ } | undefined;
29577
+ output?: {
29578
+ text: string;
29579
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
29580
+ }[] | undefined;
29581
+ truncation?: {
29582
+ input?: boolean | undefined;
29583
+ output?: "HEAD" | "SOURCE" | undefined;
29584
+ } | undefined;
29585
+ };
29586
+ }, {
29587
+ kind: "EXECUTION";
29588
+ execution: {
29589
+ kind: "SHELL" | "CODE" | "CONTROL";
29590
+ error?: {
29591
+ code: string;
29592
+ message: string;
29593
+ } | undefined;
29594
+ output?: {
29595
+ text: string;
29596
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
29597
+ }[] | undefined;
29598
+ truncation?: {
29599
+ input?: boolean | undefined;
29600
+ output?: "HEAD" | "SOURCE" | undefined;
29601
+ } | undefined;
29602
+ };
29603
+ }>, {
29604
+ kind: "EXECUTION";
29605
+ execution: {
29606
+ kind: "SHELL" | "CODE" | "CONTROL";
29607
+ error?: {
29608
+ code: string;
29609
+ message: string;
29610
+ } | undefined;
29611
+ output?: {
29612
+ text: string;
29613
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
29614
+ }[] | undefined;
29615
+ truncation?: {
29616
+ input?: boolean | undefined;
29617
+ output?: "HEAD" | "SOURCE" | undefined;
29618
+ } | undefined;
29619
+ };
29620
+ }, {
29621
+ kind: "EXECUTION";
29622
+ execution: {
29623
+ kind: "SHELL" | "CODE" | "CONTROL";
29624
+ error?: {
29625
+ code: string;
29626
+ message: string;
29627
+ } | undefined;
29628
+ output?: {
29629
+ text: string;
29630
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
29631
+ }[] | undefined;
29632
+ truncation?: {
29633
+ input?: boolean | undefined;
29634
+ output?: "HEAD" | "SOURCE" | undefined;
29635
+ } | undefined;
29636
+ };
29637
+ }>>;
28032
29638
  }, "strip", z.ZodTypeAny, {
28033
29639
  command: string;
28034
29640
  durationMs: number | null;
@@ -28038,6 +29644,28 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
28038
29644
  outputRef: string | null;
28039
29645
  exitCode: number | null;
28040
29646
  title?: string | undefined;
29647
+ output?: {
29648
+ text: string;
29649
+ truncated: boolean;
29650
+ } | undefined;
29651
+ toolPresentation?: {
29652
+ kind: "EXECUTION";
29653
+ execution: {
29654
+ kind: "SHELL" | "CODE" | "CONTROL";
29655
+ error?: {
29656
+ code: string;
29657
+ message: string;
29658
+ } | undefined;
29659
+ output?: {
29660
+ text: string;
29661
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
29662
+ }[] | undefined;
29663
+ truncation?: {
29664
+ input?: boolean | undefined;
29665
+ output?: "HEAD" | "SOURCE" | undefined;
29666
+ } | undefined;
29667
+ };
29668
+ } | undefined;
28041
29669
  }, {
28042
29670
  command: string;
28043
29671
  durationMs: number | null;
@@ -28047,6 +29675,28 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
28047
29675
  outputRef: string | null;
28048
29676
  exitCode: number | null;
28049
29677
  title?: string | undefined;
29678
+ output?: {
29679
+ text: string;
29680
+ truncated: boolean;
29681
+ } | undefined;
29682
+ toolPresentation?: {
29683
+ kind: "EXECUTION";
29684
+ execution: {
29685
+ kind: "SHELL" | "CODE" | "CONTROL";
29686
+ error?: {
29687
+ code: string;
29688
+ message: string;
29689
+ } | undefined;
29690
+ output?: {
29691
+ text: string;
29692
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
29693
+ }[] | undefined;
29694
+ truncation?: {
29695
+ input?: boolean | undefined;
29696
+ output?: "HEAD" | "SOURCE" | undefined;
29697
+ } | undefined;
29698
+ };
29699
+ } | undefined;
28050
29700
  }>;
28051
29701
  }, "strip", z.ZodTypeAny, {
28052
29702
  status: "PENDING" | "FAILED" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
@@ -28060,6 +29710,28 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
28060
29710
  outputRef: string | null;
28061
29711
  exitCode: number | null;
28062
29712
  title?: string | undefined;
29713
+ output?: {
29714
+ text: string;
29715
+ truncated: boolean;
29716
+ } | undefined;
29717
+ toolPresentation?: {
29718
+ kind: "EXECUTION";
29719
+ execution: {
29720
+ kind: "SHELL" | "CODE" | "CONTROL";
29721
+ error?: {
29722
+ code: string;
29723
+ message: string;
29724
+ } | undefined;
29725
+ output?: {
29726
+ text: string;
29727
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
29728
+ }[] | undefined;
29729
+ truncation?: {
29730
+ input?: boolean | undefined;
29731
+ output?: "HEAD" | "SOURCE" | undefined;
29732
+ } | undefined;
29733
+ };
29734
+ } | undefined;
28063
29735
  };
28064
29736
  kind: "command_execution";
28065
29737
  id: string;
@@ -28099,6 +29771,28 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
28099
29771
  outputRef: string | null;
28100
29772
  exitCode: number | null;
28101
29773
  title?: string | undefined;
29774
+ output?: {
29775
+ text: string;
29776
+ truncated: boolean;
29777
+ } | undefined;
29778
+ toolPresentation?: {
29779
+ kind: "EXECUTION";
29780
+ execution: {
29781
+ kind: "SHELL" | "CODE" | "CONTROL";
29782
+ error?: {
29783
+ code: string;
29784
+ message: string;
29785
+ } | undefined;
29786
+ output?: {
29787
+ text: string;
29788
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
29789
+ }[] | undefined;
29790
+ truncation?: {
29791
+ input?: boolean | undefined;
29792
+ output?: "HEAD" | "SOURCE" | undefined;
29793
+ } | undefined;
29794
+ };
29795
+ } | undefined;
28102
29796
  };
28103
29797
  kind: "command_execution";
28104
29798
  id: string;
@@ -29583,6 +31277,7 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
29583
31277
  text: string;
29584
31278
  model: string | null;
29585
31279
  format: "markdown";
31280
+ phase?: "commentary" | "final_answer" | undefined;
29586
31281
  };
29587
31282
  kind: "assistant_message";
29588
31283
  id: string;
@@ -29859,6 +31554,10 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
29859
31554
  imageIndex?: number | undefined;
29860
31555
  imageRef?: string | undefined;
29861
31556
  }[] | undefined;
31557
+ output?: {
31558
+ text: string;
31559
+ truncated: boolean;
31560
+ } | undefined;
29862
31561
  toolCategory?: "IMAGE_GENERATION" | undefined;
29863
31562
  toolPresentation?: {
29864
31563
  kind: "READ";
@@ -29895,6 +31594,7 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
29895
31594
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
29896
31595
  subagentWait?: boolean | undefined;
29897
31596
  subagentId?: string | null | undefined;
31597
+ subagentSessionId?: string | undefined;
29898
31598
  subagentModelId?: string | undefined;
29899
31599
  subagentModelName?: string | undefined;
29900
31600
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -29945,6 +31645,28 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
29945
31645
  outputRef: string | null;
29946
31646
  exitCode: number | null;
29947
31647
  title?: string | undefined;
31648
+ output?: {
31649
+ text: string;
31650
+ truncated: boolean;
31651
+ } | undefined;
31652
+ toolPresentation?: {
31653
+ kind: "EXECUTION";
31654
+ execution: {
31655
+ kind: "SHELL" | "CODE" | "CONTROL";
31656
+ error?: {
31657
+ code: string;
31658
+ message: string;
31659
+ } | undefined;
31660
+ output?: {
31661
+ text: string;
31662
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
31663
+ }[] | undefined;
31664
+ truncation?: {
31665
+ input?: boolean | undefined;
31666
+ output?: "HEAD" | "SOURCE" | undefined;
31667
+ } | undefined;
31668
+ };
31669
+ } | undefined;
29948
31670
  };
29949
31671
  kind: "command_execution";
29950
31672
  id: string;
@@ -30230,6 +31952,7 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
30230
31952
  text: string;
30231
31953
  model: string | null;
30232
31954
  format: "markdown";
31955
+ phase?: "commentary" | "final_answer" | undefined;
30233
31956
  };
30234
31957
  kind: "assistant_message";
30235
31958
  id: string;
@@ -30506,6 +32229,10 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
30506
32229
  imageIndex?: number | undefined;
30507
32230
  imageRef?: string | undefined;
30508
32231
  }[] | undefined;
32232
+ output?: {
32233
+ text: string;
32234
+ truncated: boolean;
32235
+ } | undefined;
30509
32236
  toolCategory?: "IMAGE_GENERATION" | undefined;
30510
32237
  toolPresentation?: {
30511
32238
  kind: "READ";
@@ -30542,6 +32269,7 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
30542
32269
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
30543
32270
  subagentWait?: boolean | undefined;
30544
32271
  subagentId?: string | null | undefined;
32272
+ subagentSessionId?: string | undefined;
30545
32273
  subagentModelId?: string | undefined;
30546
32274
  subagentModelName?: string | undefined;
30547
32275
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -30592,6 +32320,28 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
30592
32320
  outputRef: string | null;
30593
32321
  exitCode: number | null;
30594
32322
  title?: string | undefined;
32323
+ output?: {
32324
+ text: string;
32325
+ truncated: boolean;
32326
+ } | undefined;
32327
+ toolPresentation?: {
32328
+ kind: "EXECUTION";
32329
+ execution: {
32330
+ kind: "SHELL" | "CODE" | "CONTROL";
32331
+ error?: {
32332
+ code: string;
32333
+ message: string;
32334
+ } | undefined;
32335
+ output?: {
32336
+ text: string;
32337
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
32338
+ }[] | undefined;
32339
+ truncation?: {
32340
+ input?: boolean | undefined;
32341
+ output?: "HEAD" | "SOURCE" | undefined;
32342
+ } | undefined;
32343
+ };
32344
+ } | undefined;
30595
32345
  };
30596
32346
  kind: "command_execution";
30597
32347
  id: string;
@@ -30881,6 +32631,7 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
30881
32631
  text: string;
30882
32632
  model: string | null;
30883
32633
  format: "markdown";
32634
+ phase?: "commentary" | "final_answer" | undefined;
30884
32635
  };
30885
32636
  kind: "assistant_message";
30886
32637
  id: string;
@@ -31157,6 +32908,10 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
31157
32908
  imageIndex?: number | undefined;
31158
32909
  imageRef?: string | undefined;
31159
32910
  }[] | undefined;
32911
+ output?: {
32912
+ text: string;
32913
+ truncated: boolean;
32914
+ } | undefined;
31160
32915
  toolCategory?: "IMAGE_GENERATION" | undefined;
31161
32916
  toolPresentation?: {
31162
32917
  kind: "READ";
@@ -31193,6 +32948,7 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
31193
32948
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
31194
32949
  subagentWait?: boolean | undefined;
31195
32950
  subagentId?: string | null | undefined;
32951
+ subagentSessionId?: string | undefined;
31196
32952
  subagentModelId?: string | undefined;
31197
32953
  subagentModelName?: string | undefined;
31198
32954
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -31243,6 +32999,28 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
31243
32999
  outputRef: string | null;
31244
33000
  exitCode: number | null;
31245
33001
  title?: string | undefined;
33002
+ output?: {
33003
+ text: string;
33004
+ truncated: boolean;
33005
+ } | undefined;
33006
+ toolPresentation?: {
33007
+ kind: "EXECUTION";
33008
+ execution: {
33009
+ kind: "SHELL" | "CODE" | "CONTROL";
33010
+ error?: {
33011
+ code: string;
33012
+ message: string;
33013
+ } | undefined;
33014
+ output?: {
33015
+ text: string;
33016
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
33017
+ }[] | undefined;
33018
+ truncation?: {
33019
+ input?: boolean | undefined;
33020
+ output?: "HEAD" | "SOURCE" | undefined;
33021
+ } | undefined;
33022
+ };
33023
+ } | undefined;
31246
33024
  };
31247
33025
  kind: "command_execution";
31248
33026
  id: string;
@@ -31531,6 +33309,7 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
31531
33309
  text: string;
31532
33310
  model: string | null;
31533
33311
  format: "markdown";
33312
+ phase?: "commentary" | "final_answer" | undefined;
31534
33313
  };
31535
33314
  kind: "assistant_message";
31536
33315
  id: string;
@@ -31807,6 +33586,10 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
31807
33586
  imageIndex?: number | undefined;
31808
33587
  imageRef?: string | undefined;
31809
33588
  }[] | undefined;
33589
+ output?: {
33590
+ text: string;
33591
+ truncated: boolean;
33592
+ } | undefined;
31810
33593
  toolCategory?: "IMAGE_GENERATION" | undefined;
31811
33594
  toolPresentation?: {
31812
33595
  kind: "READ";
@@ -31843,6 +33626,7 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
31843
33626
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
31844
33627
  subagentWait?: boolean | undefined;
31845
33628
  subagentId?: string | null | undefined;
33629
+ subagentSessionId?: string | undefined;
31846
33630
  subagentModelId?: string | undefined;
31847
33631
  subagentModelName?: string | undefined;
31848
33632
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -31893,6 +33677,28 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
31893
33677
  outputRef: string | null;
31894
33678
  exitCode: number | null;
31895
33679
  title?: string | undefined;
33680
+ output?: {
33681
+ text: string;
33682
+ truncated: boolean;
33683
+ } | undefined;
33684
+ toolPresentation?: {
33685
+ kind: "EXECUTION";
33686
+ execution: {
33687
+ kind: "SHELL" | "CODE" | "CONTROL";
33688
+ error?: {
33689
+ code: string;
33690
+ message: string;
33691
+ } | undefined;
33692
+ output?: {
33693
+ text: string;
33694
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
33695
+ }[] | undefined;
33696
+ truncation?: {
33697
+ input?: boolean | undefined;
33698
+ output?: "HEAD" | "SOURCE" | undefined;
33699
+ } | undefined;
33700
+ };
33701
+ } | undefined;
31896
33702
  };
31897
33703
  kind: "command_execution";
31898
33704
  id: string;
@@ -32551,6 +34357,7 @@ export declare const hostedConversationTemplateSwitchResultSchema: z.ZodEffects<
32551
34357
  reasoningEfforts: z.ZodArray<z.ZodEnum<["low", "medium", "high", "xhigh", "max", "ultra"]>, "many">;
32552
34358
  defaultReasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max", "ultra"]>>;
32553
34359
  conversationModel: z.ZodDefault<z.ZodBoolean>;
34360
+ subagentModel: z.ZodDefault<z.ZodBoolean>;
32554
34361
  titleGeneration: z.ZodDefault<z.ZodBoolean>;
32555
34362
  codeMode: z.ZodDefault<z.ZodBoolean>;
32556
34363
  serviceTier: z.ZodOptional<z.ZodEnum<["auto", "default", "flex", "priority", "fast", "ultrafast"]>>;
@@ -32587,6 +34394,7 @@ export declare const hostedConversationTemplateSwitchResultSchema: z.ZodEffects<
32587
34394
  outputCapabilities: ["TEXT"];
32588
34395
  reasoningEfforts: ("low" | "medium" | "high" | "xhigh" | "max" | "ultra")[];
32589
34396
  conversationModel: boolean;
34397
+ subagentModel: boolean;
32590
34398
  titleGeneration: boolean;
32591
34399
  codeMode: boolean;
32592
34400
  hostedWebSearch: boolean;
@@ -32641,6 +34449,7 @@ export declare const hostedConversationTemplateSwitchResultSchema: z.ZodEffects<
32641
34449
  lastTestCode?: string | null | undefined;
32642
34450
  defaultReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
32643
34451
  conversationModel?: boolean | undefined;
34452
+ subagentModel?: boolean | undefined;
32644
34453
  titleGeneration?: boolean | undefined;
32645
34454
  codeMode?: boolean | undefined;
32646
34455
  serviceTier?: "auto" | "default" | "flex" | "priority" | "fast" | "ultrafast" | undefined;
@@ -33549,14 +35358,17 @@ export declare const conversationSegmentSchema: z.ZodObject<{
33549
35358
  text: z.ZodString;
33550
35359
  format: z.ZodLiteral<"markdown">;
33551
35360
  model: z.ZodNullable<z.ZodString>;
35361
+ phase: z.ZodOptional<z.ZodEnum<["commentary", "final_answer"]>>;
33552
35362
  }, "strip", z.ZodTypeAny, {
33553
35363
  text: string;
33554
35364
  model: string | null;
33555
35365
  format: "markdown";
35366
+ phase?: "commentary" | "final_answer" | undefined;
33556
35367
  }, {
33557
35368
  text: string;
33558
35369
  model: string | null;
33559
35370
  format: "markdown";
35371
+ phase?: "commentary" | "final_answer" | undefined;
33560
35372
  }>;
33561
35373
  }, "strip", z.ZodTypeAny, {
33562
35374
  status: "PENDING" | "FAILED" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
@@ -33565,6 +35377,7 @@ export declare const conversationSegmentSchema: z.ZodObject<{
33565
35377
  text: string;
33566
35378
  model: string | null;
33567
35379
  format: "markdown";
35380
+ phase?: "commentary" | "final_answer" | undefined;
33568
35381
  };
33569
35382
  kind: "assistant_message";
33570
35383
  id: string;
@@ -33599,6 +35412,7 @@ export declare const conversationSegmentSchema: z.ZodObject<{
33599
35412
  text: string;
33600
35413
  model: string | null;
33601
35414
  format: "markdown";
35415
+ phase?: "commentary" | "final_answer" | undefined;
33602
35416
  };
33603
35417
  kind: "assistant_message";
33604
35418
  id: string;
@@ -34483,6 +36297,16 @@ export declare const conversationSegmentSchema: z.ZodObject<{
34483
36297
  progressLabel: z.ZodNullable<z.ZodString>;
34484
36298
  errorCode: z.ZodNullable<z.ZodString>;
34485
36299
  truncated: z.ZodBoolean;
36300
+ output: z.ZodOptional<z.ZodObject<{
36301
+ text: z.ZodString;
36302
+ truncated: z.ZodBoolean;
36303
+ }, "strict", z.ZodTypeAny, {
36304
+ text: string;
36305
+ truncated: boolean;
36306
+ }, {
36307
+ text: string;
36308
+ truncated: boolean;
36309
+ }>>;
34486
36310
  toolCategory: z.ZodOptional<z.ZodEnum<["IMAGE_GENERATION"]>>;
34487
36311
  toolPresentation: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
34488
36312
  kind: z.ZodLiteral<"READ">;
@@ -34589,6 +36413,7 @@ export declare const conversationSegmentSchema: z.ZodObject<{
34589
36413
  subagentOperation: z.ZodOptional<z.ZodEnum<["START", "STATUS", "CANCEL", "MESSAGE", "RESUME"]>>;
34590
36414
  subagentWait: z.ZodOptional<z.ZodBoolean>;
34591
36415
  subagentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36416
+ subagentSessionId: z.ZodOptional<z.ZodString>;
34592
36417
  subagentModelId: z.ZodOptional<z.ZodString>;
34593
36418
  subagentModelName: z.ZodOptional<z.ZodString>;
34594
36419
  subagentReasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max", "ultra"]>>;
@@ -34667,6 +36492,10 @@ export declare const conversationSegmentSchema: z.ZodObject<{
34667
36492
  imageIndex?: number | undefined;
34668
36493
  imageRef?: string | undefined;
34669
36494
  }[] | undefined;
36495
+ output?: {
36496
+ text: string;
36497
+ truncated: boolean;
36498
+ } | undefined;
34670
36499
  toolCategory?: "IMAGE_GENERATION" | undefined;
34671
36500
  toolPresentation?: {
34672
36501
  kind: "READ";
@@ -34703,6 +36532,7 @@ export declare const conversationSegmentSchema: z.ZodObject<{
34703
36532
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
34704
36533
  subagentWait?: boolean | undefined;
34705
36534
  subagentId?: string | null | undefined;
36535
+ subagentSessionId?: string | undefined;
34706
36536
  subagentModelId?: string | undefined;
34707
36537
  subagentModelName?: string | undefined;
34708
36538
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -34731,6 +36561,10 @@ export declare const conversationSegmentSchema: z.ZodObject<{
34731
36561
  imageIndex?: number | undefined;
34732
36562
  imageRef?: string | undefined;
34733
36563
  }[] | undefined;
36564
+ output?: {
36565
+ text: string;
36566
+ truncated: boolean;
36567
+ } | undefined;
34734
36568
  toolCategory?: "IMAGE_GENERATION" | undefined;
34735
36569
  toolPresentation?: {
34736
36570
  kind: "READ";
@@ -34767,6 +36601,7 @@ export declare const conversationSegmentSchema: z.ZodObject<{
34767
36601
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
34768
36602
  subagentWait?: boolean | undefined;
34769
36603
  subagentId?: string | null | undefined;
36604
+ subagentSessionId?: string | undefined;
34770
36605
  subagentModelId?: string | undefined;
34771
36606
  subagentModelName?: string | undefined;
34772
36607
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -34799,6 +36634,10 @@ export declare const conversationSegmentSchema: z.ZodObject<{
34799
36634
  imageIndex?: number | undefined;
34800
36635
  imageRef?: string | undefined;
34801
36636
  }[] | undefined;
36637
+ output?: {
36638
+ text: string;
36639
+ truncated: boolean;
36640
+ } | undefined;
34802
36641
  toolCategory?: "IMAGE_GENERATION" | undefined;
34803
36642
  toolPresentation?: {
34804
36643
  kind: "READ";
@@ -34835,6 +36674,7 @@ export declare const conversationSegmentSchema: z.ZodObject<{
34835
36674
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
34836
36675
  subagentWait?: boolean | undefined;
34837
36676
  subagentId?: string | null | undefined;
36677
+ subagentSessionId?: string | undefined;
34838
36678
  subagentModelId?: string | undefined;
34839
36679
  subagentModelName?: string | undefined;
34840
36680
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -34893,6 +36733,10 @@ export declare const conversationSegmentSchema: z.ZodObject<{
34893
36733
  imageIndex?: number | undefined;
34894
36734
  imageRef?: string | undefined;
34895
36735
  }[] | undefined;
36736
+ output?: {
36737
+ text: string;
36738
+ truncated: boolean;
36739
+ } | undefined;
34896
36740
  toolCategory?: "IMAGE_GENERATION" | undefined;
34897
36741
  toolPresentation?: {
34898
36742
  kind: "READ";
@@ -34929,6 +36773,7 @@ export declare const conversationSegmentSchema: z.ZodObject<{
34929
36773
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
34930
36774
  subagentWait?: boolean | undefined;
34931
36775
  subagentId?: string | null | undefined;
36776
+ subagentSessionId?: string | undefined;
34932
36777
  subagentModelId?: string | undefined;
34933
36778
  subagentModelName?: string | undefined;
34934
36779
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -35044,6 +36889,154 @@ export declare const conversationSegmentSchema: z.ZodObject<{
35044
36889
  exitCode: z.ZodNullable<z.ZodNumber>;
35045
36890
  durationMs: z.ZodNullable<z.ZodNumber>;
35046
36891
  truncated: z.ZodBoolean;
36892
+ output: z.ZodOptional<z.ZodObject<{
36893
+ text: z.ZodString;
36894
+ truncated: z.ZodBoolean;
36895
+ }, "strict", z.ZodTypeAny, {
36896
+ text: string;
36897
+ truncated: boolean;
36898
+ }, {
36899
+ text: string;
36900
+ truncated: boolean;
36901
+ }>>;
36902
+ toolPresentation: z.ZodOptional<z.ZodEffects<z.ZodObject<{
36903
+ kind: z.ZodLiteral<"EXECUTION">;
36904
+ execution: z.ZodObject<{
36905
+ kind: z.ZodEnum<["SHELL", "CODE", "CONTROL"]>;
36906
+ output: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
36907
+ channel: z.ZodEnum<["STDOUT", "STDERR", "COMBINED", "TEXT"]>;
36908
+ text: z.ZodString;
36909
+ }, "strict", z.ZodTypeAny, {
36910
+ text: string;
36911
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
36912
+ }, {
36913
+ text: string;
36914
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
36915
+ }>, "many">, {
36916
+ text: string;
36917
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
36918
+ }[], {
36919
+ text: string;
36920
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
36921
+ }[]>>;
36922
+ error: z.ZodOptional<z.ZodObject<{
36923
+ code: z.ZodString;
36924
+ message: z.ZodString;
36925
+ }, "strict", z.ZodTypeAny, {
36926
+ code: string;
36927
+ message: string;
36928
+ }, {
36929
+ code: string;
36930
+ message: string;
36931
+ }>>;
36932
+ truncation: z.ZodOptional<z.ZodObject<{
36933
+ input: z.ZodOptional<z.ZodBoolean>;
36934
+ output: z.ZodOptional<z.ZodEnum<["HEAD", "SOURCE"]>>;
36935
+ }, "strict", z.ZodTypeAny, {
36936
+ input?: boolean | undefined;
36937
+ output?: "HEAD" | "SOURCE" | undefined;
36938
+ }, {
36939
+ input?: boolean | undefined;
36940
+ output?: "HEAD" | "SOURCE" | undefined;
36941
+ }>>;
36942
+ }, "strict", z.ZodTypeAny, {
36943
+ kind: "SHELL" | "CODE" | "CONTROL";
36944
+ error?: {
36945
+ code: string;
36946
+ message: string;
36947
+ } | undefined;
36948
+ output?: {
36949
+ text: string;
36950
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
36951
+ }[] | undefined;
36952
+ truncation?: {
36953
+ input?: boolean | undefined;
36954
+ output?: "HEAD" | "SOURCE" | undefined;
36955
+ } | undefined;
36956
+ }, {
36957
+ kind: "SHELL" | "CODE" | "CONTROL";
36958
+ error?: {
36959
+ code: string;
36960
+ message: string;
36961
+ } | undefined;
36962
+ output?: {
36963
+ text: string;
36964
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
36965
+ }[] | undefined;
36966
+ truncation?: {
36967
+ input?: boolean | undefined;
36968
+ output?: "HEAD" | "SOURCE" | undefined;
36969
+ } | undefined;
36970
+ }>;
36971
+ }, "strict", z.ZodTypeAny, {
36972
+ kind: "EXECUTION";
36973
+ execution: {
36974
+ kind: "SHELL" | "CODE" | "CONTROL";
36975
+ error?: {
36976
+ code: string;
36977
+ message: string;
36978
+ } | undefined;
36979
+ output?: {
36980
+ text: string;
36981
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
36982
+ }[] | undefined;
36983
+ truncation?: {
36984
+ input?: boolean | undefined;
36985
+ output?: "HEAD" | "SOURCE" | undefined;
36986
+ } | undefined;
36987
+ };
36988
+ }, {
36989
+ kind: "EXECUTION";
36990
+ execution: {
36991
+ kind: "SHELL" | "CODE" | "CONTROL";
36992
+ error?: {
36993
+ code: string;
36994
+ message: string;
36995
+ } | undefined;
36996
+ output?: {
36997
+ text: string;
36998
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
36999
+ }[] | undefined;
37000
+ truncation?: {
37001
+ input?: boolean | undefined;
37002
+ output?: "HEAD" | "SOURCE" | undefined;
37003
+ } | undefined;
37004
+ };
37005
+ }>, {
37006
+ kind: "EXECUTION";
37007
+ execution: {
37008
+ kind: "SHELL" | "CODE" | "CONTROL";
37009
+ error?: {
37010
+ code: string;
37011
+ message: string;
37012
+ } | undefined;
37013
+ output?: {
37014
+ text: string;
37015
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
37016
+ }[] | undefined;
37017
+ truncation?: {
37018
+ input?: boolean | undefined;
37019
+ output?: "HEAD" | "SOURCE" | undefined;
37020
+ } | undefined;
37021
+ };
37022
+ }, {
37023
+ kind: "EXECUTION";
37024
+ execution: {
37025
+ kind: "SHELL" | "CODE" | "CONTROL";
37026
+ error?: {
37027
+ code: string;
37028
+ message: string;
37029
+ } | undefined;
37030
+ output?: {
37031
+ text: string;
37032
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
37033
+ }[] | undefined;
37034
+ truncation?: {
37035
+ input?: boolean | undefined;
37036
+ output?: "HEAD" | "SOURCE" | undefined;
37037
+ } | undefined;
37038
+ };
37039
+ }>>;
35047
37040
  }, "strip", z.ZodTypeAny, {
35048
37041
  command: string;
35049
37042
  durationMs: number | null;
@@ -35053,6 +37046,28 @@ export declare const conversationSegmentSchema: z.ZodObject<{
35053
37046
  outputRef: string | null;
35054
37047
  exitCode: number | null;
35055
37048
  title?: string | undefined;
37049
+ output?: {
37050
+ text: string;
37051
+ truncated: boolean;
37052
+ } | undefined;
37053
+ toolPresentation?: {
37054
+ kind: "EXECUTION";
37055
+ execution: {
37056
+ kind: "SHELL" | "CODE" | "CONTROL";
37057
+ error?: {
37058
+ code: string;
37059
+ message: string;
37060
+ } | undefined;
37061
+ output?: {
37062
+ text: string;
37063
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
37064
+ }[] | undefined;
37065
+ truncation?: {
37066
+ input?: boolean | undefined;
37067
+ output?: "HEAD" | "SOURCE" | undefined;
37068
+ } | undefined;
37069
+ };
37070
+ } | undefined;
35056
37071
  }, {
35057
37072
  command: string;
35058
37073
  durationMs: number | null;
@@ -35062,6 +37077,28 @@ export declare const conversationSegmentSchema: z.ZodObject<{
35062
37077
  outputRef: string | null;
35063
37078
  exitCode: number | null;
35064
37079
  title?: string | undefined;
37080
+ output?: {
37081
+ text: string;
37082
+ truncated: boolean;
37083
+ } | undefined;
37084
+ toolPresentation?: {
37085
+ kind: "EXECUTION";
37086
+ execution: {
37087
+ kind: "SHELL" | "CODE" | "CONTROL";
37088
+ error?: {
37089
+ code: string;
37090
+ message: string;
37091
+ } | undefined;
37092
+ output?: {
37093
+ text: string;
37094
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
37095
+ }[] | undefined;
37096
+ truncation?: {
37097
+ input?: boolean | undefined;
37098
+ output?: "HEAD" | "SOURCE" | undefined;
37099
+ } | undefined;
37100
+ };
37101
+ } | undefined;
35065
37102
  }>;
35066
37103
  }, "strip", z.ZodTypeAny, {
35067
37104
  status: "PENDING" | "FAILED" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
@@ -35075,6 +37112,28 @@ export declare const conversationSegmentSchema: z.ZodObject<{
35075
37112
  outputRef: string | null;
35076
37113
  exitCode: number | null;
35077
37114
  title?: string | undefined;
37115
+ output?: {
37116
+ text: string;
37117
+ truncated: boolean;
37118
+ } | undefined;
37119
+ toolPresentation?: {
37120
+ kind: "EXECUTION";
37121
+ execution: {
37122
+ kind: "SHELL" | "CODE" | "CONTROL";
37123
+ error?: {
37124
+ code: string;
37125
+ message: string;
37126
+ } | undefined;
37127
+ output?: {
37128
+ text: string;
37129
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
37130
+ }[] | undefined;
37131
+ truncation?: {
37132
+ input?: boolean | undefined;
37133
+ output?: "HEAD" | "SOURCE" | undefined;
37134
+ } | undefined;
37135
+ };
37136
+ } | undefined;
35078
37137
  };
35079
37138
  kind: "command_execution";
35080
37139
  id: string;
@@ -35114,6 +37173,28 @@ export declare const conversationSegmentSchema: z.ZodObject<{
35114
37173
  outputRef: string | null;
35115
37174
  exitCode: number | null;
35116
37175
  title?: string | undefined;
37176
+ output?: {
37177
+ text: string;
37178
+ truncated: boolean;
37179
+ } | undefined;
37180
+ toolPresentation?: {
37181
+ kind: "EXECUTION";
37182
+ execution: {
37183
+ kind: "SHELL" | "CODE" | "CONTROL";
37184
+ error?: {
37185
+ code: string;
37186
+ message: string;
37187
+ } | undefined;
37188
+ output?: {
37189
+ text: string;
37190
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
37191
+ }[] | undefined;
37192
+ truncation?: {
37193
+ input?: boolean | undefined;
37194
+ output?: "HEAD" | "SOURCE" | undefined;
37195
+ } | undefined;
37196
+ };
37197
+ } | undefined;
35117
37198
  };
35118
37199
  kind: "command_execution";
35119
37200
  id: string;
@@ -36597,6 +38678,7 @@ export declare const conversationSegmentSchema: z.ZodObject<{
36597
38678
  text: string;
36598
38679
  model: string | null;
36599
38680
  format: "markdown";
38681
+ phase?: "commentary" | "final_answer" | undefined;
36600
38682
  };
36601
38683
  kind: "assistant_message";
36602
38684
  id: string;
@@ -36873,6 +38955,10 @@ export declare const conversationSegmentSchema: z.ZodObject<{
36873
38955
  imageIndex?: number | undefined;
36874
38956
  imageRef?: string | undefined;
36875
38957
  }[] | undefined;
38958
+ output?: {
38959
+ text: string;
38960
+ truncated: boolean;
38961
+ } | undefined;
36876
38962
  toolCategory?: "IMAGE_GENERATION" | undefined;
36877
38963
  toolPresentation?: {
36878
38964
  kind: "READ";
@@ -36909,6 +38995,7 @@ export declare const conversationSegmentSchema: z.ZodObject<{
36909
38995
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
36910
38996
  subagentWait?: boolean | undefined;
36911
38997
  subagentId?: string | null | undefined;
38998
+ subagentSessionId?: string | undefined;
36912
38999
  subagentModelId?: string | undefined;
36913
39000
  subagentModelName?: string | undefined;
36914
39001
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -36959,6 +39046,28 @@ export declare const conversationSegmentSchema: z.ZodObject<{
36959
39046
  outputRef: string | null;
36960
39047
  exitCode: number | null;
36961
39048
  title?: string | undefined;
39049
+ output?: {
39050
+ text: string;
39051
+ truncated: boolean;
39052
+ } | undefined;
39053
+ toolPresentation?: {
39054
+ kind: "EXECUTION";
39055
+ execution: {
39056
+ kind: "SHELL" | "CODE" | "CONTROL";
39057
+ error?: {
39058
+ code: string;
39059
+ message: string;
39060
+ } | undefined;
39061
+ output?: {
39062
+ text: string;
39063
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
39064
+ }[] | undefined;
39065
+ truncation?: {
39066
+ input?: boolean | undefined;
39067
+ output?: "HEAD" | "SOURCE" | undefined;
39068
+ } | undefined;
39069
+ };
39070
+ } | undefined;
36962
39071
  };
36963
39072
  kind: "command_execution";
36964
39073
  id: string;
@@ -37242,6 +39351,7 @@ export declare const conversationSegmentSchema: z.ZodObject<{
37242
39351
  text: string;
37243
39352
  model: string | null;
37244
39353
  format: "markdown";
39354
+ phase?: "commentary" | "final_answer" | undefined;
37245
39355
  };
37246
39356
  kind: "assistant_message";
37247
39357
  id: string;
@@ -37518,6 +39628,10 @@ export declare const conversationSegmentSchema: z.ZodObject<{
37518
39628
  imageIndex?: number | undefined;
37519
39629
  imageRef?: string | undefined;
37520
39630
  }[] | undefined;
39631
+ output?: {
39632
+ text: string;
39633
+ truncated: boolean;
39634
+ } | undefined;
37521
39635
  toolCategory?: "IMAGE_GENERATION" | undefined;
37522
39636
  toolPresentation?: {
37523
39637
  kind: "READ";
@@ -37554,6 +39668,7 @@ export declare const conversationSegmentSchema: z.ZodObject<{
37554
39668
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
37555
39669
  subagentWait?: boolean | undefined;
37556
39670
  subagentId?: string | null | undefined;
39671
+ subagentSessionId?: string | undefined;
37557
39672
  subagentModelId?: string | undefined;
37558
39673
  subagentModelName?: string | undefined;
37559
39674
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -37604,6 +39719,28 @@ export declare const conversationSegmentSchema: z.ZodObject<{
37604
39719
  outputRef: string | null;
37605
39720
  exitCode: number | null;
37606
39721
  title?: string | undefined;
39722
+ output?: {
39723
+ text: string;
39724
+ truncated: boolean;
39725
+ } | undefined;
39726
+ toolPresentation?: {
39727
+ kind: "EXECUTION";
39728
+ execution: {
39729
+ kind: "SHELL" | "CODE" | "CONTROL";
39730
+ error?: {
39731
+ code: string;
39732
+ message: string;
39733
+ } | undefined;
39734
+ output?: {
39735
+ text: string;
39736
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
39737
+ }[] | undefined;
39738
+ truncation?: {
39739
+ input?: boolean | undefined;
39740
+ output?: "HEAD" | "SOURCE" | undefined;
39741
+ } | undefined;
39742
+ };
39743
+ } | undefined;
37607
39744
  };
37608
39745
  kind: "command_execution";
37609
39746
  id: string;
@@ -37965,14 +40102,17 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
37965
40102
  text: z.ZodString;
37966
40103
  format: z.ZodLiteral<"markdown">;
37967
40104
  model: z.ZodNullable<z.ZodString>;
40105
+ phase: z.ZodOptional<z.ZodEnum<["commentary", "final_answer"]>>;
37968
40106
  }, "strip", z.ZodTypeAny, {
37969
40107
  text: string;
37970
40108
  model: string | null;
37971
40109
  format: "markdown";
40110
+ phase?: "commentary" | "final_answer" | undefined;
37972
40111
  }, {
37973
40112
  text: string;
37974
40113
  model: string | null;
37975
40114
  format: "markdown";
40115
+ phase?: "commentary" | "final_answer" | undefined;
37976
40116
  }>;
37977
40117
  }, "strip", z.ZodTypeAny, {
37978
40118
  status: "PENDING" | "FAILED" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
@@ -37981,6 +40121,7 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
37981
40121
  text: string;
37982
40122
  model: string | null;
37983
40123
  format: "markdown";
40124
+ phase?: "commentary" | "final_answer" | undefined;
37984
40125
  };
37985
40126
  kind: "assistant_message";
37986
40127
  id: string;
@@ -38015,6 +40156,7 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
38015
40156
  text: string;
38016
40157
  model: string | null;
38017
40158
  format: "markdown";
40159
+ phase?: "commentary" | "final_answer" | undefined;
38018
40160
  };
38019
40161
  kind: "assistant_message";
38020
40162
  id: string;
@@ -38899,6 +41041,16 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
38899
41041
  progressLabel: z.ZodNullable<z.ZodString>;
38900
41042
  errorCode: z.ZodNullable<z.ZodString>;
38901
41043
  truncated: z.ZodBoolean;
41044
+ output: z.ZodOptional<z.ZodObject<{
41045
+ text: z.ZodString;
41046
+ truncated: z.ZodBoolean;
41047
+ }, "strict", z.ZodTypeAny, {
41048
+ text: string;
41049
+ truncated: boolean;
41050
+ }, {
41051
+ text: string;
41052
+ truncated: boolean;
41053
+ }>>;
38902
41054
  toolCategory: z.ZodOptional<z.ZodEnum<["IMAGE_GENERATION"]>>;
38903
41055
  toolPresentation: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
38904
41056
  kind: z.ZodLiteral<"READ">;
@@ -39005,6 +41157,7 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
39005
41157
  subagentOperation: z.ZodOptional<z.ZodEnum<["START", "STATUS", "CANCEL", "MESSAGE", "RESUME"]>>;
39006
41158
  subagentWait: z.ZodOptional<z.ZodBoolean>;
39007
41159
  subagentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41160
+ subagentSessionId: z.ZodOptional<z.ZodString>;
39008
41161
  subagentModelId: z.ZodOptional<z.ZodString>;
39009
41162
  subagentModelName: z.ZodOptional<z.ZodString>;
39010
41163
  subagentReasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max", "ultra"]>>;
@@ -39083,6 +41236,10 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
39083
41236
  imageIndex?: number | undefined;
39084
41237
  imageRef?: string | undefined;
39085
41238
  }[] | undefined;
41239
+ output?: {
41240
+ text: string;
41241
+ truncated: boolean;
41242
+ } | undefined;
39086
41243
  toolCategory?: "IMAGE_GENERATION" | undefined;
39087
41244
  toolPresentation?: {
39088
41245
  kind: "READ";
@@ -39119,6 +41276,7 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
39119
41276
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
39120
41277
  subagentWait?: boolean | undefined;
39121
41278
  subagentId?: string | null | undefined;
41279
+ subagentSessionId?: string | undefined;
39122
41280
  subagentModelId?: string | undefined;
39123
41281
  subagentModelName?: string | undefined;
39124
41282
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -39147,6 +41305,10 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
39147
41305
  imageIndex?: number | undefined;
39148
41306
  imageRef?: string | undefined;
39149
41307
  }[] | undefined;
41308
+ output?: {
41309
+ text: string;
41310
+ truncated: boolean;
41311
+ } | undefined;
39150
41312
  toolCategory?: "IMAGE_GENERATION" | undefined;
39151
41313
  toolPresentation?: {
39152
41314
  kind: "READ";
@@ -39183,6 +41345,7 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
39183
41345
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
39184
41346
  subagentWait?: boolean | undefined;
39185
41347
  subagentId?: string | null | undefined;
41348
+ subagentSessionId?: string | undefined;
39186
41349
  subagentModelId?: string | undefined;
39187
41350
  subagentModelName?: string | undefined;
39188
41351
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -39215,6 +41378,10 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
39215
41378
  imageIndex?: number | undefined;
39216
41379
  imageRef?: string | undefined;
39217
41380
  }[] | undefined;
41381
+ output?: {
41382
+ text: string;
41383
+ truncated: boolean;
41384
+ } | undefined;
39218
41385
  toolCategory?: "IMAGE_GENERATION" | undefined;
39219
41386
  toolPresentation?: {
39220
41387
  kind: "READ";
@@ -39251,6 +41418,7 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
39251
41418
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
39252
41419
  subagentWait?: boolean | undefined;
39253
41420
  subagentId?: string | null | undefined;
41421
+ subagentSessionId?: string | undefined;
39254
41422
  subagentModelId?: string | undefined;
39255
41423
  subagentModelName?: string | undefined;
39256
41424
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -39309,6 +41477,10 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
39309
41477
  imageIndex?: number | undefined;
39310
41478
  imageRef?: string | undefined;
39311
41479
  }[] | undefined;
41480
+ output?: {
41481
+ text: string;
41482
+ truncated: boolean;
41483
+ } | undefined;
39312
41484
  toolCategory?: "IMAGE_GENERATION" | undefined;
39313
41485
  toolPresentation?: {
39314
41486
  kind: "READ";
@@ -39345,6 +41517,7 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
39345
41517
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
39346
41518
  subagentWait?: boolean | undefined;
39347
41519
  subagentId?: string | null | undefined;
41520
+ subagentSessionId?: string | undefined;
39348
41521
  subagentModelId?: string | undefined;
39349
41522
  subagentModelName?: string | undefined;
39350
41523
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -39460,6 +41633,154 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
39460
41633
  exitCode: z.ZodNullable<z.ZodNumber>;
39461
41634
  durationMs: z.ZodNullable<z.ZodNumber>;
39462
41635
  truncated: z.ZodBoolean;
41636
+ output: z.ZodOptional<z.ZodObject<{
41637
+ text: z.ZodString;
41638
+ truncated: z.ZodBoolean;
41639
+ }, "strict", z.ZodTypeAny, {
41640
+ text: string;
41641
+ truncated: boolean;
41642
+ }, {
41643
+ text: string;
41644
+ truncated: boolean;
41645
+ }>>;
41646
+ toolPresentation: z.ZodOptional<z.ZodEffects<z.ZodObject<{
41647
+ kind: z.ZodLiteral<"EXECUTION">;
41648
+ execution: z.ZodObject<{
41649
+ kind: z.ZodEnum<["SHELL", "CODE", "CONTROL"]>;
41650
+ output: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
41651
+ channel: z.ZodEnum<["STDOUT", "STDERR", "COMBINED", "TEXT"]>;
41652
+ text: z.ZodString;
41653
+ }, "strict", z.ZodTypeAny, {
41654
+ text: string;
41655
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
41656
+ }, {
41657
+ text: string;
41658
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
41659
+ }>, "many">, {
41660
+ text: string;
41661
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
41662
+ }[], {
41663
+ text: string;
41664
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
41665
+ }[]>>;
41666
+ error: z.ZodOptional<z.ZodObject<{
41667
+ code: z.ZodString;
41668
+ message: z.ZodString;
41669
+ }, "strict", z.ZodTypeAny, {
41670
+ code: string;
41671
+ message: string;
41672
+ }, {
41673
+ code: string;
41674
+ message: string;
41675
+ }>>;
41676
+ truncation: z.ZodOptional<z.ZodObject<{
41677
+ input: z.ZodOptional<z.ZodBoolean>;
41678
+ output: z.ZodOptional<z.ZodEnum<["HEAD", "SOURCE"]>>;
41679
+ }, "strict", z.ZodTypeAny, {
41680
+ input?: boolean | undefined;
41681
+ output?: "HEAD" | "SOURCE" | undefined;
41682
+ }, {
41683
+ input?: boolean | undefined;
41684
+ output?: "HEAD" | "SOURCE" | undefined;
41685
+ }>>;
41686
+ }, "strict", z.ZodTypeAny, {
41687
+ kind: "SHELL" | "CODE" | "CONTROL";
41688
+ error?: {
41689
+ code: string;
41690
+ message: string;
41691
+ } | undefined;
41692
+ output?: {
41693
+ text: string;
41694
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
41695
+ }[] | undefined;
41696
+ truncation?: {
41697
+ input?: boolean | undefined;
41698
+ output?: "HEAD" | "SOURCE" | undefined;
41699
+ } | undefined;
41700
+ }, {
41701
+ kind: "SHELL" | "CODE" | "CONTROL";
41702
+ error?: {
41703
+ code: string;
41704
+ message: string;
41705
+ } | undefined;
41706
+ output?: {
41707
+ text: string;
41708
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
41709
+ }[] | undefined;
41710
+ truncation?: {
41711
+ input?: boolean | undefined;
41712
+ output?: "HEAD" | "SOURCE" | undefined;
41713
+ } | undefined;
41714
+ }>;
41715
+ }, "strict", z.ZodTypeAny, {
41716
+ kind: "EXECUTION";
41717
+ execution: {
41718
+ kind: "SHELL" | "CODE" | "CONTROL";
41719
+ error?: {
41720
+ code: string;
41721
+ message: string;
41722
+ } | undefined;
41723
+ output?: {
41724
+ text: string;
41725
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
41726
+ }[] | undefined;
41727
+ truncation?: {
41728
+ input?: boolean | undefined;
41729
+ output?: "HEAD" | "SOURCE" | undefined;
41730
+ } | undefined;
41731
+ };
41732
+ }, {
41733
+ kind: "EXECUTION";
41734
+ execution: {
41735
+ kind: "SHELL" | "CODE" | "CONTROL";
41736
+ error?: {
41737
+ code: string;
41738
+ message: string;
41739
+ } | undefined;
41740
+ output?: {
41741
+ text: string;
41742
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
41743
+ }[] | undefined;
41744
+ truncation?: {
41745
+ input?: boolean | undefined;
41746
+ output?: "HEAD" | "SOURCE" | undefined;
41747
+ } | undefined;
41748
+ };
41749
+ }>, {
41750
+ kind: "EXECUTION";
41751
+ execution: {
41752
+ kind: "SHELL" | "CODE" | "CONTROL";
41753
+ error?: {
41754
+ code: string;
41755
+ message: string;
41756
+ } | undefined;
41757
+ output?: {
41758
+ text: string;
41759
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
41760
+ }[] | undefined;
41761
+ truncation?: {
41762
+ input?: boolean | undefined;
41763
+ output?: "HEAD" | "SOURCE" | undefined;
41764
+ } | undefined;
41765
+ };
41766
+ }, {
41767
+ kind: "EXECUTION";
41768
+ execution: {
41769
+ kind: "SHELL" | "CODE" | "CONTROL";
41770
+ error?: {
41771
+ code: string;
41772
+ message: string;
41773
+ } | undefined;
41774
+ output?: {
41775
+ text: string;
41776
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
41777
+ }[] | undefined;
41778
+ truncation?: {
41779
+ input?: boolean | undefined;
41780
+ output?: "HEAD" | "SOURCE" | undefined;
41781
+ } | undefined;
41782
+ };
41783
+ }>>;
39463
41784
  }, "strip", z.ZodTypeAny, {
39464
41785
  command: string;
39465
41786
  durationMs: number | null;
@@ -39469,6 +41790,28 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
39469
41790
  outputRef: string | null;
39470
41791
  exitCode: number | null;
39471
41792
  title?: string | undefined;
41793
+ output?: {
41794
+ text: string;
41795
+ truncated: boolean;
41796
+ } | undefined;
41797
+ toolPresentation?: {
41798
+ kind: "EXECUTION";
41799
+ execution: {
41800
+ kind: "SHELL" | "CODE" | "CONTROL";
41801
+ error?: {
41802
+ code: string;
41803
+ message: string;
41804
+ } | undefined;
41805
+ output?: {
41806
+ text: string;
41807
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
41808
+ }[] | undefined;
41809
+ truncation?: {
41810
+ input?: boolean | undefined;
41811
+ output?: "HEAD" | "SOURCE" | undefined;
41812
+ } | undefined;
41813
+ };
41814
+ } | undefined;
39472
41815
  }, {
39473
41816
  command: string;
39474
41817
  durationMs: number | null;
@@ -39478,6 +41821,28 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
39478
41821
  outputRef: string | null;
39479
41822
  exitCode: number | null;
39480
41823
  title?: string | undefined;
41824
+ output?: {
41825
+ text: string;
41826
+ truncated: boolean;
41827
+ } | undefined;
41828
+ toolPresentation?: {
41829
+ kind: "EXECUTION";
41830
+ execution: {
41831
+ kind: "SHELL" | "CODE" | "CONTROL";
41832
+ error?: {
41833
+ code: string;
41834
+ message: string;
41835
+ } | undefined;
41836
+ output?: {
41837
+ text: string;
41838
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
41839
+ }[] | undefined;
41840
+ truncation?: {
41841
+ input?: boolean | undefined;
41842
+ output?: "HEAD" | "SOURCE" | undefined;
41843
+ } | undefined;
41844
+ };
41845
+ } | undefined;
39481
41846
  }>;
39482
41847
  }, "strip", z.ZodTypeAny, {
39483
41848
  status: "PENDING" | "FAILED" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
@@ -39491,6 +41856,28 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
39491
41856
  outputRef: string | null;
39492
41857
  exitCode: number | null;
39493
41858
  title?: string | undefined;
41859
+ output?: {
41860
+ text: string;
41861
+ truncated: boolean;
41862
+ } | undefined;
41863
+ toolPresentation?: {
41864
+ kind: "EXECUTION";
41865
+ execution: {
41866
+ kind: "SHELL" | "CODE" | "CONTROL";
41867
+ error?: {
41868
+ code: string;
41869
+ message: string;
41870
+ } | undefined;
41871
+ output?: {
41872
+ text: string;
41873
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
41874
+ }[] | undefined;
41875
+ truncation?: {
41876
+ input?: boolean | undefined;
41877
+ output?: "HEAD" | "SOURCE" | undefined;
41878
+ } | undefined;
41879
+ };
41880
+ } | undefined;
39494
41881
  };
39495
41882
  kind: "command_execution";
39496
41883
  id: string;
@@ -39530,6 +41917,28 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
39530
41917
  outputRef: string | null;
39531
41918
  exitCode: number | null;
39532
41919
  title?: string | undefined;
41920
+ output?: {
41921
+ text: string;
41922
+ truncated: boolean;
41923
+ } | undefined;
41924
+ toolPresentation?: {
41925
+ kind: "EXECUTION";
41926
+ execution: {
41927
+ kind: "SHELL" | "CODE" | "CONTROL";
41928
+ error?: {
41929
+ code: string;
41930
+ message: string;
41931
+ } | undefined;
41932
+ output?: {
41933
+ text: string;
41934
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
41935
+ }[] | undefined;
41936
+ truncation?: {
41937
+ input?: boolean | undefined;
41938
+ output?: "HEAD" | "SOURCE" | undefined;
41939
+ } | undefined;
41940
+ };
41941
+ } | undefined;
39533
41942
  };
39534
41943
  kind: "command_execution";
39535
41944
  id: string;
@@ -41013,6 +43422,7 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
41013
43422
  text: string;
41014
43423
  model: string | null;
41015
43424
  format: "markdown";
43425
+ phase?: "commentary" | "final_answer" | undefined;
41016
43426
  };
41017
43427
  kind: "assistant_message";
41018
43428
  id: string;
@@ -41289,6 +43699,10 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
41289
43699
  imageIndex?: number | undefined;
41290
43700
  imageRef?: string | undefined;
41291
43701
  }[] | undefined;
43702
+ output?: {
43703
+ text: string;
43704
+ truncated: boolean;
43705
+ } | undefined;
41292
43706
  toolCategory?: "IMAGE_GENERATION" | undefined;
41293
43707
  toolPresentation?: {
41294
43708
  kind: "READ";
@@ -41325,6 +43739,7 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
41325
43739
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
41326
43740
  subagentWait?: boolean | undefined;
41327
43741
  subagentId?: string | null | undefined;
43742
+ subagentSessionId?: string | undefined;
41328
43743
  subagentModelId?: string | undefined;
41329
43744
  subagentModelName?: string | undefined;
41330
43745
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -41375,6 +43790,28 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
41375
43790
  outputRef: string | null;
41376
43791
  exitCode: number | null;
41377
43792
  title?: string | undefined;
43793
+ output?: {
43794
+ text: string;
43795
+ truncated: boolean;
43796
+ } | undefined;
43797
+ toolPresentation?: {
43798
+ kind: "EXECUTION";
43799
+ execution: {
43800
+ kind: "SHELL" | "CODE" | "CONTROL";
43801
+ error?: {
43802
+ code: string;
43803
+ message: string;
43804
+ } | undefined;
43805
+ output?: {
43806
+ text: string;
43807
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
43808
+ }[] | undefined;
43809
+ truncation?: {
43810
+ input?: boolean | undefined;
43811
+ output?: "HEAD" | "SOURCE" | undefined;
43812
+ } | undefined;
43813
+ };
43814
+ } | undefined;
41378
43815
  };
41379
43816
  kind: "command_execution";
41380
43817
  id: string;
@@ -41658,6 +44095,7 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
41658
44095
  text: string;
41659
44096
  model: string | null;
41660
44097
  format: "markdown";
44098
+ phase?: "commentary" | "final_answer" | undefined;
41661
44099
  };
41662
44100
  kind: "assistant_message";
41663
44101
  id: string;
@@ -41934,6 +44372,10 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
41934
44372
  imageIndex?: number | undefined;
41935
44373
  imageRef?: string | undefined;
41936
44374
  }[] | undefined;
44375
+ output?: {
44376
+ text: string;
44377
+ truncated: boolean;
44378
+ } | undefined;
41937
44379
  toolCategory?: "IMAGE_GENERATION" | undefined;
41938
44380
  toolPresentation?: {
41939
44381
  kind: "READ";
@@ -41970,6 +44412,7 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
41970
44412
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
41971
44413
  subagentWait?: boolean | undefined;
41972
44414
  subagentId?: string | null | undefined;
44415
+ subagentSessionId?: string | undefined;
41973
44416
  subagentModelId?: string | undefined;
41974
44417
  subagentModelName?: string | undefined;
41975
44418
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -42020,6 +44463,28 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
42020
44463
  outputRef: string | null;
42021
44464
  exitCode: number | null;
42022
44465
  title?: string | undefined;
44466
+ output?: {
44467
+ text: string;
44468
+ truncated: boolean;
44469
+ } | undefined;
44470
+ toolPresentation?: {
44471
+ kind: "EXECUTION";
44472
+ execution: {
44473
+ kind: "SHELL" | "CODE" | "CONTROL";
44474
+ error?: {
44475
+ code: string;
44476
+ message: string;
44477
+ } | undefined;
44478
+ output?: {
44479
+ text: string;
44480
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
44481
+ }[] | undefined;
44482
+ truncation?: {
44483
+ input?: boolean | undefined;
44484
+ output?: "HEAD" | "SOURCE" | undefined;
44485
+ } | undefined;
44486
+ };
44487
+ } | undefined;
42023
44488
  };
42024
44489
  kind: "command_execution";
42025
44490
  id: string;
@@ -42315,6 +44780,7 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
42315
44780
  text: string;
42316
44781
  model: string | null;
42317
44782
  format: "markdown";
44783
+ phase?: "commentary" | "final_answer" | undefined;
42318
44784
  };
42319
44785
  kind: "assistant_message";
42320
44786
  id: string;
@@ -42591,6 +45057,10 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
42591
45057
  imageIndex?: number | undefined;
42592
45058
  imageRef?: string | undefined;
42593
45059
  }[] | undefined;
45060
+ output?: {
45061
+ text: string;
45062
+ truncated: boolean;
45063
+ } | undefined;
42594
45064
  toolCategory?: "IMAGE_GENERATION" | undefined;
42595
45065
  toolPresentation?: {
42596
45066
  kind: "READ";
@@ -42627,6 +45097,7 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
42627
45097
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
42628
45098
  subagentWait?: boolean | undefined;
42629
45099
  subagentId?: string | null | undefined;
45100
+ subagentSessionId?: string | undefined;
42630
45101
  subagentModelId?: string | undefined;
42631
45102
  subagentModelName?: string | undefined;
42632
45103
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -42677,6 +45148,28 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
42677
45148
  outputRef: string | null;
42678
45149
  exitCode: number | null;
42679
45150
  title?: string | undefined;
45151
+ output?: {
45152
+ text: string;
45153
+ truncated: boolean;
45154
+ } | undefined;
45155
+ toolPresentation?: {
45156
+ kind: "EXECUTION";
45157
+ execution: {
45158
+ kind: "SHELL" | "CODE" | "CONTROL";
45159
+ error?: {
45160
+ code: string;
45161
+ message: string;
45162
+ } | undefined;
45163
+ output?: {
45164
+ text: string;
45165
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
45166
+ }[] | undefined;
45167
+ truncation?: {
45168
+ input?: boolean | undefined;
45169
+ output?: "HEAD" | "SOURCE" | undefined;
45170
+ } | undefined;
45171
+ };
45172
+ } | undefined;
42680
45173
  };
42681
45174
  kind: "command_execution";
42682
45175
  id: string;
@@ -42969,6 +45462,7 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
42969
45462
  text: string;
42970
45463
  model: string | null;
42971
45464
  format: "markdown";
45465
+ phase?: "commentary" | "final_answer" | undefined;
42972
45466
  };
42973
45467
  kind: "assistant_message";
42974
45468
  id: string;
@@ -43245,6 +45739,10 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
43245
45739
  imageIndex?: number | undefined;
43246
45740
  imageRef?: string | undefined;
43247
45741
  }[] | undefined;
45742
+ output?: {
45743
+ text: string;
45744
+ truncated: boolean;
45745
+ } | undefined;
43248
45746
  toolCategory?: "IMAGE_GENERATION" | undefined;
43249
45747
  toolPresentation?: {
43250
45748
  kind: "READ";
@@ -43281,6 +45779,7 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
43281
45779
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
43282
45780
  subagentWait?: boolean | undefined;
43283
45781
  subagentId?: string | null | undefined;
45782
+ subagentSessionId?: string | undefined;
43284
45783
  subagentModelId?: string | undefined;
43285
45784
  subagentModelName?: string | undefined;
43286
45785
  subagentReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
@@ -43331,6 +45830,28 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
43331
45830
  outputRef: string | null;
43332
45831
  exitCode: number | null;
43333
45832
  title?: string | undefined;
45833
+ output?: {
45834
+ text: string;
45835
+ truncated: boolean;
45836
+ } | undefined;
45837
+ toolPresentation?: {
45838
+ kind: "EXECUTION";
45839
+ execution: {
45840
+ kind: "SHELL" | "CODE" | "CONTROL";
45841
+ error?: {
45842
+ code: string;
45843
+ message: string;
45844
+ } | undefined;
45845
+ output?: {
45846
+ text: string;
45847
+ channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
45848
+ }[] | undefined;
45849
+ truncation?: {
45850
+ input?: boolean | undefined;
45851
+ output?: "HEAD" | "SOURCE" | undefined;
45852
+ } | undefined;
45853
+ };
45854
+ } | undefined;
43334
45855
  };
43335
45856
  kind: "command_execution";
43336
45857
  id: string;
@@ -44946,7 +47467,7 @@ export declare const gitHistoryFileSchema: z.ZodObject<{
44946
47467
  previousPath?: string | undefined;
44947
47468
  }>;
44948
47469
  export type GitHistoryFile = z.infer<typeof gitHistoryFileSchema>;
44949
- export declare const workbenchNodeOperationSchema: z.ZodEnum<["workspace.git.settings.get", "workspace.git.settings.update", "node.workbench.capabilities", "runner.usage.status", "runner.usage.read", "workspace.directories.list", "workspace.remove", "workspace.watch", "workspace.unwatch", "session.unwatch", "session.metadata.update", "session.schedule.get", "session.schedule.list", "session.schedule.agent.save", "session.cli.context", "session.graph", "session.goal.get", "session.schedule.save", "session.schedule.remove", "session.schedule.proposal.resolve", "session.pin.move", "session.rewind", "session.rollback", "session.remove", "workspace.sessions.cleanup", "session.config.update", "session.turns.list", "session.events.read", "session.context.read", "session.tool-resource.read", "session.command.execute", "runner.command.execute", "runner.profiles.list", "runner.defaults.save", "mar-agent.model.test", "prompt-completion.context", "prompt-completion.generate", "prompt-completion.cancel", "workspace.files.list", "workspace.file.read", "workspace.file.write", "workspace.file.content.read", "workspace.file.direct.metadata", "workspace.files.search", "workspace.files.mutate", "workspace.files.reveal", "workspace.content.search", "workspace.symbol.prepare", "workspace.symbol.definition", "workspace.files.upload.preflight", "workspace.files.upload.create", "workspace.files.upload.chunk", "workspace.files.upload.status", "workspace.files.upload.complete", "workspace.files.upload.cancel", "workspace.changes.current", "workspace.change.diff", "workspace.change.restore", "workspace.git.refs.list", "workspace.git.history.list", "workspace.git.commit.files", "workspace.git.commit.file.diff", "workspace.git.commit.file.content.read", "workspace.git.commit.file.direct.metadata", "run.image.read", "model.resource.read", "terminal.open", "terminal.command.open", "terminal.list", "terminal.close", "terminal.attach.authorize", "terminal.direct.preflight", "node.upgrade.request", "node.upgrade.cancel", "node.skills.inspect", "node.skills.install", "node.skills.remove", "workspace.skills.inspect", "workspace.skills.install", "workspace.skills.remove", "workspace.skills.git-exclude-repair", "skill.install.job.get", "node.mcps.inspect", "node.mcps.install", "node.mcps.remove", "workspace.mcps.inspect", "workspace.mcps.install", "workspace.mcps.remove", "conversation.template.source.inspect", "conversation.template.publish", "conversation.template.publish.status", "conversation.template.version.inspect", "conversation.hosting.enable", "conversation.hosting.disable", "conversation.hosting.storage.inspect", "conversation.hosting.cleanup.preview", "conversation.hosting.cleanup.execute", "computer.use.enable", "computer.use.disable", "conversation.hosted.list", "conversation.hosted.model-options", "conversation.hosted.create", "conversation.hosted.get", "conversation.hosted.history", "conversation.hosted.watch", "conversation.hosted.unwatch", "conversation.hosted.message", "conversation.hosted.rollback", "conversation.hosted.interrupt", "conversation.hosted.config.update", "conversation.hosted.template.switch", "conversation.hosted.metadata.update", "conversation.hosted.image.read", "conversation.hosted.tool-resource.read", "conversation.hosted.files.list", "conversation.hosted.file.read", "conversation.hosted.file.delete", "conversation.hosted.files.upload.preflight", "conversation.hosted.files.upload.create", "conversation.hosted.files.upload.chunk", "conversation.hosted.files.upload.status", "conversation.hosted.files.upload.complete", "conversation.hosted.files.upload.cancel", "conversation.hosted.delete"]>;
47470
+ export declare const workbenchNodeOperationSchema: z.ZodEnum<["agent.network", "workspace.git.settings.get", "workspace.git.settings.update", "node.workbench.capabilities", "runner.usage.status", "runner.usage.read", "workspace.directories.list", "workspace.remove", "workspace.watch", "workspace.unwatch", "session.unwatch", "session.metadata.update", "session.schedule.get", "session.schedule.list", "session.schedule.agent.save", "session.cli.context", "session.graph", "session.goal.get", "session.schedule.save", "session.schedule.remove", "session.schedule.proposal.resolve", "session.pin.move", "session.rewind", "session.rollback", "session.remove", "workspace.sessions.cleanup", "session.config.update", "session.turns.list", "session.events.read", "session.context.read", "session.tool-resource.read", "session.command.execute", "runner.command.execute", "runner.profiles.list", "runner.defaults.save", "mar-agent.model.test", "prompt-completion.context", "prompt-completion.generate", "prompt-completion.cancel", "workspace.files.list", "workspace.file.read", "workspace.file.write", "workspace.file.content.read", "workspace.file.direct.metadata", "workspace.files.search", "workspace.files.mutate", "workspace.files.reveal", "workspace.content.search", "workspace.symbol.prepare", "workspace.symbol.definition", "workspace.files.upload.preflight", "workspace.files.upload.create", "workspace.files.upload.chunk", "workspace.files.upload.status", "workspace.files.upload.complete", "workspace.files.upload.cancel", "workspace.changes.current", "workspace.change.diff", "workspace.change.restore", "workspace.git.refs.list", "workspace.git.history.list", "workspace.git.commit.files", "workspace.git.commit.file.diff", "workspace.git.commit.file.content.read", "workspace.git.commit.file.direct.metadata", "run.image.read", "model.resource.read", "terminal.open", "terminal.command.open", "terminal.list", "terminal.close", "terminal.attach.authorize", "terminal.direct.preflight", "node.upgrade.request", "node.upgrade.cancel", "node.skills.inspect", "node.skills.install", "node.skills.remove", "workspace.skills.inspect", "workspace.skills.install", "workspace.skills.remove", "workspace.skills.git-exclude-repair", "skill.install.job.get", "node.mcps.inspect", "node.mcps.install", "node.mcps.remove", "workspace.mcps.inspect", "workspace.mcps.install", "workspace.mcps.remove", "conversation.template.source.inspect", "conversation.template.publish", "conversation.template.publish.status", "conversation.template.version.inspect", "conversation.hosting.enable", "conversation.hosting.disable", "conversation.hosting.storage.inspect", "conversation.hosting.cleanup.preview", "conversation.hosting.cleanup.execute", "computer.use.enable", "computer.use.disable", "conversation.hosted.list", "conversation.hosted.model-options", "conversation.hosted.create", "conversation.hosted.get", "conversation.hosted.history", "conversation.hosted.watch", "conversation.hosted.unwatch", "conversation.hosted.message", "conversation.hosted.rollback", "conversation.hosted.interrupt", "conversation.hosted.config.update", "conversation.hosted.template.switch", "conversation.hosted.metadata.update", "conversation.hosted.image.read", "conversation.hosted.tool-resource.read", "conversation.hosted.files.list", "conversation.hosted.file.read", "conversation.hosted.file.delete", "conversation.hosted.files.upload.preflight", "conversation.hosted.files.upload.create", "conversation.hosted.files.upload.chunk", "conversation.hosted.files.upload.status", "conversation.hosted.files.upload.complete", "conversation.hosted.files.upload.cancel", "conversation.hosted.delete"]>;
44950
47471
  export type WorkbenchNodeOperation = z.infer<typeof workbenchNodeOperationSchema>;
44951
47472
  /**
44952
47473
  * A small, explicit envelope keeps WebSocket messages independently parseable