@myagentroam/protocol 0.11.42 → 0.11.43

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.
Files changed (3) hide show
  1. package/dist/index.d.ts +1140 -264
  2. package/dist/index.js +73 -10
  3. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -3002,7 +3002,6 @@ export declare const marAgentNodeModelSummarySchema: z.ZodEffects<z.ZodObject<{
3002
3002
  imageGeneration: z.ZodOptional<z.ZodNever>;
3003
3003
  baseUrl: z.ZodString;
3004
3004
  sortOrder: z.ZodNumber;
3005
- apiKeyConfigured: z.ZodOptional<z.ZodBoolean>;
3006
3005
  credentialType: z.ZodOptional<z.ZodEnum<["INLINE_API_KEY", "CREDENTIAL_REF"]>>;
3007
3006
  credentialConfigured: z.ZodOptional<z.ZodBoolean>;
3008
3007
  lastTestedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -3075,7 +3074,6 @@ export declare const marAgentNodeModelSummarySchema: z.ZodEffects<z.ZodObject<{
3075
3074
  apiKey?: undefined;
3076
3075
  access?: undefined;
3077
3076
  imageGeneration?: undefined;
3078
- apiKeyConfigured?: boolean | undefined;
3079
3077
  credentialType?: "INLINE_API_KEY" | "CREDENTIAL_REF" | undefined;
3080
3078
  credentialConfigured?: boolean | undefined;
3081
3079
  lastTestedAt?: number | null | undefined;
@@ -3110,7 +3108,6 @@ export declare const marAgentNodeModelSummarySchema: z.ZodEffects<z.ZodObject<{
3110
3108
  apiKey?: undefined;
3111
3109
  access?: undefined;
3112
3110
  imageGeneration?: undefined;
3113
- apiKeyConfigured?: boolean | undefined;
3114
3111
  credentialType?: "INLINE_API_KEY" | "CREDENTIAL_REF" | undefined;
3115
3112
  credentialConfigured?: boolean | undefined;
3116
3113
  lastTestedAt?: number | null | undefined;
@@ -3157,7 +3154,6 @@ export declare const marAgentModelSummarySchema: z.ZodEffects<z.ZodObject<{
3157
3154
  access: z.ZodEnum<["PUBLIC", "RESTRICTED"]>;
3158
3155
  baseUrl: z.ZodString;
3159
3156
  sortOrder: z.ZodNumber;
3160
- apiKeyConfigured: z.ZodOptional<z.ZodBoolean>;
3161
3157
  credentialType: z.ZodOptional<z.ZodEnum<["INLINE_API_KEY", "CREDENTIAL_REF"]>>;
3162
3158
  credentialConfigured: z.ZodOptional<z.ZodBoolean>;
3163
3159
  lastTestedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -3234,7 +3230,6 @@ export declare const marAgentModelSummarySchema: z.ZodEffects<z.ZodObject<{
3234
3230
  ownerType: "ORGANIZATION";
3235
3231
  ownerOrganizationId: number;
3236
3232
  } | undefined;
3237
- apiKeyConfigured?: boolean | undefined;
3238
3233
  credentialType?: "INLINE_API_KEY" | "CREDENTIAL_REF" | undefined;
3239
3234
  credentialConfigured?: boolean | undefined;
3240
3235
  lastTestedAt?: number | null | undefined;
@@ -3273,7 +3268,6 @@ export declare const marAgentModelSummarySchema: z.ZodEffects<z.ZodObject<{
3273
3268
  ownerType: "ORGANIZATION";
3274
3269
  ownerOrganizationId: number;
3275
3270
  } | undefined;
3276
- apiKeyConfigured?: boolean | undefined;
3277
3271
  credentialType?: "INLINE_API_KEY" | "CREDENTIAL_REF" | undefined;
3278
3272
  credentialConfigured?: boolean | undefined;
3279
3273
  lastTestedAt?: number | null | undefined;
@@ -3323,7 +3317,6 @@ export interface MarAgentModelSummary {
3323
3317
  enabled: boolean;
3324
3318
  sortOrder: number;
3325
3319
  access: 'PUBLIC' | 'RESTRICTED';
3326
- apiKeyConfigured?: boolean;
3327
3320
  credentialType?: 'INLINE_API_KEY' | 'CREDENTIAL_REF';
3328
3321
  credentialConfigured?: boolean;
3329
3322
  lastTestedAt?: number | null;
@@ -3334,9 +3327,8 @@ export interface MarAgentModelSummary {
3334
3327
  export type MarAgentNodeModelSummary = Omit<MarAgentModelSummary, 'access'>;
3335
3328
  export declare const marAgentRuntimeModelConfigurationSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
3336
3329
  baseUrl: z.ZodString;
3337
- apiKey: z.ZodOptional<z.ZodString>;
3338
3330
  useResourceUrl: z.ZodDefault<z.ZodBoolean>;
3339
- credential: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3331
+ credential: z.ZodUnion<[z.ZodObject<{
3340
3332
  type: z.ZodLiteral<"INLINE_API_KEY">;
3341
3333
  value: z.ZodString;
3342
3334
  }, "strict", z.ZodTypeAny, {
@@ -3482,7 +3474,7 @@ export declare const marAgentRuntimeModelConfigurationSchema: z.ZodEffects<z.Zod
3482
3474
  sessionId?: string | undefined;
3483
3475
  purpose?: "MODEL" | "IMAGE_GENERATION" | undefined;
3484
3476
  };
3485
- }>]>>;
3477
+ }>]>;
3486
3478
  responsesToolNamespace: z.ZodOptional<z.ZodString>;
3487
3479
  responsesConfigurationUpdates: z.ZodOptional<z.ZodBoolean>;
3488
3480
  responsesOptionalParameters: z.ZodOptional<z.ZodObject<{
@@ -3761,24 +3753,7 @@ export declare const marAgentRuntimeModelConfigurationSchema: z.ZodEffects<z.Zod
3761
3753
  id: string;
3762
3754
  modelId: string;
3763
3755
  protocol: "OPENAI_RESPONSES" | "ANTHROPIC_MESSAGES";
3764
- enabled: boolean;
3765
- useResourceUrl: boolean;
3766
- baseUrl: string;
3767
- contextWindowTokens: number;
3768
- maxOutputTokens: number;
3769
- inputCapabilities: ("TEXT" | "IMAGE")[];
3770
- outputCapabilities: ["TEXT"];
3771
- reasoningEfforts: ("low" | "medium" | "high" | "xhigh" | "max" | "ultra")[];
3772
- conversationModel: boolean;
3773
- subagentModel: boolean;
3774
- titleGeneration: boolean;
3775
- codeMode: boolean;
3776
- hostedWebSearch: boolean;
3777
- responsesPreviousResponseId: boolean;
3778
- metadata?: {
3779
- useResourceUrl: boolean;
3780
- } | undefined;
3781
- credential?: {
3756
+ credential: {
3782
3757
  value: string;
3783
3758
  type: "INLINE_API_KEY";
3784
3759
  } | {
@@ -3798,6 +3773,23 @@ export declare const marAgentRuntimeModelConfigurationSchema: z.ZodEffects<z.Zod
3798
3773
  sessionId?: string | undefined;
3799
3774
  purpose?: "MODEL" | "IMAGE_GENERATION" | undefined;
3800
3775
  };
3776
+ };
3777
+ enabled: boolean;
3778
+ useResourceUrl: boolean;
3779
+ baseUrl: string;
3780
+ contextWindowTokens: number;
3781
+ maxOutputTokens: number;
3782
+ inputCapabilities: ("TEXT" | "IMAGE")[];
3783
+ outputCapabilities: ["TEXT"];
3784
+ reasoningEfforts: ("low" | "medium" | "high" | "xhigh" | "max" | "ultra")[];
3785
+ conversationModel: boolean;
3786
+ subagentModel: boolean;
3787
+ titleGeneration: boolean;
3788
+ codeMode: boolean;
3789
+ hostedWebSearch: boolean;
3790
+ responsesPreviousResponseId: boolean;
3791
+ metadata?: {
3792
+ useResourceUrl: boolean;
3801
3793
  } | undefined;
3802
3794
  responsesOptionalParameters?: {
3803
3795
  reasoningEffort: boolean;
@@ -3806,7 +3798,6 @@ export declare const marAgentRuntimeModelConfigurationSchema: z.ZodEffects<z.Zod
3806
3798
  promptCacheKey: boolean;
3807
3799
  nativeTools?: boolean | undefined;
3808
3800
  } | undefined;
3809
- apiKey?: string | undefined;
3810
3801
  imageGeneration?: {
3811
3802
  imageModelId: string;
3812
3803
  httpVersion: "2" | "1.1";
@@ -3851,18 +3842,7 @@ export declare const marAgentRuntimeModelConfigurationSchema: z.ZodEffects<z.Zod
3851
3842
  id: string;
3852
3843
  modelId: string;
3853
3844
  protocol: "OPENAI_RESPONSES" | "ANTHROPIC_MESSAGES";
3854
- enabled: boolean;
3855
- baseUrl: string;
3856
- contextWindowTokens: number;
3857
- maxOutputTokens: number;
3858
- inputCapabilities: ("TEXT" | "IMAGE")[];
3859
- outputCapabilities: ["TEXT"];
3860
- reasoningEfforts: ("low" | "medium" | "high" | "xhigh" | "max" | "ultra")[];
3861
- hostedWebSearch: boolean;
3862
- metadata?: {
3863
- useResourceUrl?: boolean | undefined;
3864
- } | undefined;
3865
- credential?: {
3845
+ credential: {
3866
3846
  value: string;
3867
3847
  type: "INLINE_API_KEY";
3868
3848
  } | {
@@ -3882,6 +3862,17 @@ export declare const marAgentRuntimeModelConfigurationSchema: z.ZodEffects<z.Zod
3882
3862
  sessionId?: string | undefined;
3883
3863
  purpose?: "MODEL" | "IMAGE_GENERATION" | undefined;
3884
3864
  };
3865
+ };
3866
+ enabled: boolean;
3867
+ baseUrl: string;
3868
+ contextWindowTokens: number;
3869
+ maxOutputTokens: number;
3870
+ inputCapabilities: ("TEXT" | "IMAGE")[];
3871
+ outputCapabilities: ["TEXT"];
3872
+ reasoningEfforts: ("low" | "medium" | "high" | "xhigh" | "max" | "ultra")[];
3873
+ hostedWebSearch: boolean;
3874
+ metadata?: {
3875
+ useResourceUrl?: boolean | undefined;
3885
3876
  } | undefined;
3886
3877
  responsesOptionalParameters?: {
3887
3878
  reasoningEffort: boolean;
@@ -3890,7 +3881,6 @@ export declare const marAgentRuntimeModelConfigurationSchema: z.ZodEffects<z.Zod
3890
3881
  promptCacheKey: boolean;
3891
3882
  nativeTools?: boolean | undefined;
3892
3883
  } | undefined;
3893
- apiKey?: string | undefined;
3894
3884
  useResourceUrl?: boolean | undefined;
3895
3885
  imageGeneration?: {
3896
3886
  imageModelId: string;
@@ -4634,9 +4624,8 @@ export declare const promptCompletionRuntimeSchema: z.ZodObject<{
4634
4624
  credentialScope: z.ZodString;
4635
4625
  model: z.ZodEffects<z.ZodEffects<z.ZodObject<{
4636
4626
  baseUrl: z.ZodString;
4637
- apiKey: z.ZodOptional<z.ZodString>;
4638
4627
  useResourceUrl: z.ZodDefault<z.ZodBoolean>;
4639
- credential: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
4628
+ credential: z.ZodUnion<[z.ZodObject<{
4640
4629
  type: z.ZodLiteral<"INLINE_API_KEY">;
4641
4630
  value: z.ZodString;
4642
4631
  }, "strict", z.ZodTypeAny, {
@@ -4782,7 +4771,7 @@ export declare const promptCompletionRuntimeSchema: z.ZodObject<{
4782
4771
  sessionId?: string | undefined;
4783
4772
  purpose?: "MODEL" | "IMAGE_GENERATION" | undefined;
4784
4773
  };
4785
- }>]>>;
4774
+ }>]>;
4786
4775
  responsesToolNamespace: z.ZodOptional<z.ZodString>;
4787
4776
  responsesConfigurationUpdates: z.ZodOptional<z.ZodBoolean>;
4788
4777
  responsesOptionalParameters: z.ZodOptional<z.ZodObject<{
@@ -5061,24 +5050,7 @@ export declare const promptCompletionRuntimeSchema: z.ZodObject<{
5061
5050
  id: string;
5062
5051
  modelId: string;
5063
5052
  protocol: "OPENAI_RESPONSES" | "ANTHROPIC_MESSAGES";
5064
- enabled: boolean;
5065
- useResourceUrl: boolean;
5066
- baseUrl: string;
5067
- contextWindowTokens: number;
5068
- maxOutputTokens: number;
5069
- inputCapabilities: ("TEXT" | "IMAGE")[];
5070
- outputCapabilities: ["TEXT"];
5071
- reasoningEfforts: ("low" | "medium" | "high" | "xhigh" | "max" | "ultra")[];
5072
- conversationModel: boolean;
5073
- subagentModel: boolean;
5074
- titleGeneration: boolean;
5075
- codeMode: boolean;
5076
- hostedWebSearch: boolean;
5077
- responsesPreviousResponseId: boolean;
5078
- metadata?: {
5079
- useResourceUrl: boolean;
5080
- } | undefined;
5081
- credential?: {
5053
+ credential: {
5082
5054
  value: string;
5083
5055
  type: "INLINE_API_KEY";
5084
5056
  } | {
@@ -5098,6 +5070,23 @@ export declare const promptCompletionRuntimeSchema: z.ZodObject<{
5098
5070
  sessionId?: string | undefined;
5099
5071
  purpose?: "MODEL" | "IMAGE_GENERATION" | undefined;
5100
5072
  };
5073
+ };
5074
+ enabled: boolean;
5075
+ useResourceUrl: boolean;
5076
+ baseUrl: string;
5077
+ contextWindowTokens: number;
5078
+ maxOutputTokens: number;
5079
+ inputCapabilities: ("TEXT" | "IMAGE")[];
5080
+ outputCapabilities: ["TEXT"];
5081
+ reasoningEfforts: ("low" | "medium" | "high" | "xhigh" | "max" | "ultra")[];
5082
+ conversationModel: boolean;
5083
+ subagentModel: boolean;
5084
+ titleGeneration: boolean;
5085
+ codeMode: boolean;
5086
+ hostedWebSearch: boolean;
5087
+ responsesPreviousResponseId: boolean;
5088
+ metadata?: {
5089
+ useResourceUrl: boolean;
5101
5090
  } | undefined;
5102
5091
  responsesOptionalParameters?: {
5103
5092
  reasoningEffort: boolean;
@@ -5106,7 +5095,6 @@ export declare const promptCompletionRuntimeSchema: z.ZodObject<{
5106
5095
  promptCacheKey: boolean;
5107
5096
  nativeTools?: boolean | undefined;
5108
5097
  } | undefined;
5109
- apiKey?: string | undefined;
5110
5098
  imageGeneration?: {
5111
5099
  imageModelId: string;
5112
5100
  httpVersion: "2" | "1.1";
@@ -5151,18 +5139,7 @@ export declare const promptCompletionRuntimeSchema: z.ZodObject<{
5151
5139
  id: string;
5152
5140
  modelId: string;
5153
5141
  protocol: "OPENAI_RESPONSES" | "ANTHROPIC_MESSAGES";
5154
- enabled: boolean;
5155
- baseUrl: string;
5156
- contextWindowTokens: number;
5157
- maxOutputTokens: number;
5158
- inputCapabilities: ("TEXT" | "IMAGE")[];
5159
- outputCapabilities: ["TEXT"];
5160
- reasoningEfforts: ("low" | "medium" | "high" | "xhigh" | "max" | "ultra")[];
5161
- hostedWebSearch: boolean;
5162
- metadata?: {
5163
- useResourceUrl?: boolean | undefined;
5164
- } | undefined;
5165
- credential?: {
5142
+ credential: {
5166
5143
  value: string;
5167
5144
  type: "INLINE_API_KEY";
5168
5145
  } | {
@@ -5182,6 +5159,17 @@ export declare const promptCompletionRuntimeSchema: z.ZodObject<{
5182
5159
  sessionId?: string | undefined;
5183
5160
  purpose?: "MODEL" | "IMAGE_GENERATION" | undefined;
5184
5161
  };
5162
+ };
5163
+ enabled: boolean;
5164
+ baseUrl: string;
5165
+ contextWindowTokens: number;
5166
+ maxOutputTokens: number;
5167
+ inputCapabilities: ("TEXT" | "IMAGE")[];
5168
+ outputCapabilities: ["TEXT"];
5169
+ reasoningEfforts: ("low" | "medium" | "high" | "xhigh" | "max" | "ultra")[];
5170
+ hostedWebSearch: boolean;
5171
+ metadata?: {
5172
+ useResourceUrl?: boolean | undefined;
5185
5173
  } | undefined;
5186
5174
  responsesOptionalParameters?: {
5187
5175
  reasoningEffort: boolean;
@@ -5190,7 +5178,6 @@ export declare const promptCompletionRuntimeSchema: z.ZodObject<{
5190
5178
  promptCacheKey: boolean;
5191
5179
  nativeTools?: boolean | undefined;
5192
5180
  } | undefined;
5193
- apiKey?: string | undefined;
5194
5181
  useResourceUrl?: boolean | undefined;
5195
5182
  imageGeneration?: {
5196
5183
  imageModelId: string;
@@ -5273,9 +5260,8 @@ export type PromptCompletionRuntime = z.infer<typeof promptCompletionRuntimeSche
5273
5260
  export declare const marAgentRuntimeCompactConfigurationSchema: z.ZodObject<{
5274
5261
  model: z.ZodEffects<z.ZodEffects<z.ZodObject<{
5275
5262
  baseUrl: z.ZodString;
5276
- apiKey: z.ZodOptional<z.ZodString>;
5277
5263
  useResourceUrl: z.ZodDefault<z.ZodBoolean>;
5278
- credential: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
5264
+ credential: z.ZodUnion<[z.ZodObject<{
5279
5265
  type: z.ZodLiteral<"INLINE_API_KEY">;
5280
5266
  value: z.ZodString;
5281
5267
  }, "strict", z.ZodTypeAny, {
@@ -5421,7 +5407,7 @@ export declare const marAgentRuntimeCompactConfigurationSchema: z.ZodObject<{
5421
5407
  sessionId?: string | undefined;
5422
5408
  purpose?: "MODEL" | "IMAGE_GENERATION" | undefined;
5423
5409
  };
5424
- }>]>>;
5410
+ }>]>;
5425
5411
  responsesToolNamespace: z.ZodOptional<z.ZodString>;
5426
5412
  responsesConfigurationUpdates: z.ZodOptional<z.ZodBoolean>;
5427
5413
  responsesOptionalParameters: z.ZodOptional<z.ZodObject<{
@@ -5700,24 +5686,7 @@ export declare const marAgentRuntimeCompactConfigurationSchema: z.ZodObject<{
5700
5686
  id: string;
5701
5687
  modelId: string;
5702
5688
  protocol: "OPENAI_RESPONSES" | "ANTHROPIC_MESSAGES";
5703
- enabled: boolean;
5704
- useResourceUrl: boolean;
5705
- baseUrl: string;
5706
- contextWindowTokens: number;
5707
- maxOutputTokens: number;
5708
- inputCapabilities: ("TEXT" | "IMAGE")[];
5709
- outputCapabilities: ["TEXT"];
5710
- reasoningEfforts: ("low" | "medium" | "high" | "xhigh" | "max" | "ultra")[];
5711
- conversationModel: boolean;
5712
- subagentModel: boolean;
5713
- titleGeneration: boolean;
5714
- codeMode: boolean;
5715
- hostedWebSearch: boolean;
5716
- responsesPreviousResponseId: boolean;
5717
- metadata?: {
5718
- useResourceUrl: boolean;
5719
- } | undefined;
5720
- credential?: {
5689
+ credential: {
5721
5690
  value: string;
5722
5691
  type: "INLINE_API_KEY";
5723
5692
  } | {
@@ -5737,6 +5706,23 @@ export declare const marAgentRuntimeCompactConfigurationSchema: z.ZodObject<{
5737
5706
  sessionId?: string | undefined;
5738
5707
  purpose?: "MODEL" | "IMAGE_GENERATION" | undefined;
5739
5708
  };
5709
+ };
5710
+ enabled: boolean;
5711
+ useResourceUrl: boolean;
5712
+ baseUrl: string;
5713
+ contextWindowTokens: number;
5714
+ maxOutputTokens: number;
5715
+ inputCapabilities: ("TEXT" | "IMAGE")[];
5716
+ outputCapabilities: ["TEXT"];
5717
+ reasoningEfforts: ("low" | "medium" | "high" | "xhigh" | "max" | "ultra")[];
5718
+ conversationModel: boolean;
5719
+ subagentModel: boolean;
5720
+ titleGeneration: boolean;
5721
+ codeMode: boolean;
5722
+ hostedWebSearch: boolean;
5723
+ responsesPreviousResponseId: boolean;
5724
+ metadata?: {
5725
+ useResourceUrl: boolean;
5740
5726
  } | undefined;
5741
5727
  responsesOptionalParameters?: {
5742
5728
  reasoningEffort: boolean;
@@ -5745,7 +5731,6 @@ export declare const marAgentRuntimeCompactConfigurationSchema: z.ZodObject<{
5745
5731
  promptCacheKey: boolean;
5746
5732
  nativeTools?: boolean | undefined;
5747
5733
  } | undefined;
5748
- apiKey?: string | undefined;
5749
5734
  imageGeneration?: {
5750
5735
  imageModelId: string;
5751
5736
  httpVersion: "2" | "1.1";
@@ -5790,18 +5775,7 @@ export declare const marAgentRuntimeCompactConfigurationSchema: z.ZodObject<{
5790
5775
  id: string;
5791
5776
  modelId: string;
5792
5777
  protocol: "OPENAI_RESPONSES" | "ANTHROPIC_MESSAGES";
5793
- enabled: boolean;
5794
- baseUrl: string;
5795
- contextWindowTokens: number;
5796
- maxOutputTokens: number;
5797
- inputCapabilities: ("TEXT" | "IMAGE")[];
5798
- outputCapabilities: ["TEXT"];
5799
- reasoningEfforts: ("low" | "medium" | "high" | "xhigh" | "max" | "ultra")[];
5800
- hostedWebSearch: boolean;
5801
- metadata?: {
5802
- useResourceUrl?: boolean | undefined;
5803
- } | undefined;
5804
- credential?: {
5778
+ credential: {
5805
5779
  value: string;
5806
5780
  type: "INLINE_API_KEY";
5807
5781
  } | {
@@ -5821,6 +5795,17 @@ export declare const marAgentRuntimeCompactConfigurationSchema: z.ZodObject<{
5821
5795
  sessionId?: string | undefined;
5822
5796
  purpose?: "MODEL" | "IMAGE_GENERATION" | undefined;
5823
5797
  };
5798
+ };
5799
+ enabled: boolean;
5800
+ baseUrl: string;
5801
+ contextWindowTokens: number;
5802
+ maxOutputTokens: number;
5803
+ inputCapabilities: ("TEXT" | "IMAGE")[];
5804
+ outputCapabilities: ["TEXT"];
5805
+ reasoningEfforts: ("low" | "medium" | "high" | "xhigh" | "max" | "ultra")[];
5806
+ hostedWebSearch: boolean;
5807
+ metadata?: {
5808
+ useResourceUrl?: boolean | undefined;
5824
5809
  } | undefined;
5825
5810
  responsesOptionalParameters?: {
5826
5811
  reasoningEffort: boolean;
@@ -5829,7 +5814,6 @@ export declare const marAgentRuntimeCompactConfigurationSchema: z.ZodObject<{
5829
5814
  promptCacheKey: boolean;
5830
5815
  nativeTools?: boolean | undefined;
5831
5816
  } | undefined;
5832
- apiKey?: string | undefined;
5833
5817
  useResourceUrl?: boolean | undefined;
5834
5818
  imageGeneration?: {
5835
5819
  imageModelId: string;
@@ -5902,9 +5886,8 @@ export declare const marAgentModelTransportTestInputSchema: z.ZodObject<{
5902
5886
  executionId: z.ZodString;
5903
5887
  model: z.ZodEffects<z.ZodEffects<z.ZodObject<{
5904
5888
  baseUrl: z.ZodString;
5905
- apiKey: z.ZodOptional<z.ZodString>;
5906
5889
  useResourceUrl: z.ZodDefault<z.ZodBoolean>;
5907
- credential: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
5890
+ credential: z.ZodUnion<[z.ZodObject<{
5908
5891
  type: z.ZodLiteral<"INLINE_API_KEY">;
5909
5892
  value: z.ZodString;
5910
5893
  }, "strict", z.ZodTypeAny, {
@@ -6050,7 +6033,7 @@ export declare const marAgentModelTransportTestInputSchema: z.ZodObject<{
6050
6033
  sessionId?: string | undefined;
6051
6034
  purpose?: "MODEL" | "IMAGE_GENERATION" | undefined;
6052
6035
  };
6053
- }>]>>;
6036
+ }>]>;
6054
6037
  responsesToolNamespace: z.ZodOptional<z.ZodString>;
6055
6038
  responsesConfigurationUpdates: z.ZodOptional<z.ZodBoolean>;
6056
6039
  responsesOptionalParameters: z.ZodOptional<z.ZodObject<{
@@ -6329,24 +6312,7 @@ export declare const marAgentModelTransportTestInputSchema: z.ZodObject<{
6329
6312
  id: string;
6330
6313
  modelId: string;
6331
6314
  protocol: "OPENAI_RESPONSES" | "ANTHROPIC_MESSAGES";
6332
- enabled: boolean;
6333
- useResourceUrl: boolean;
6334
- baseUrl: string;
6335
- contextWindowTokens: number;
6336
- maxOutputTokens: number;
6337
- inputCapabilities: ("TEXT" | "IMAGE")[];
6338
- outputCapabilities: ["TEXT"];
6339
- reasoningEfforts: ("low" | "medium" | "high" | "xhigh" | "max" | "ultra")[];
6340
- conversationModel: boolean;
6341
- subagentModel: boolean;
6342
- titleGeneration: boolean;
6343
- codeMode: boolean;
6344
- hostedWebSearch: boolean;
6345
- responsesPreviousResponseId: boolean;
6346
- metadata?: {
6347
- useResourceUrl: boolean;
6348
- } | undefined;
6349
- credential?: {
6315
+ credential: {
6350
6316
  value: string;
6351
6317
  type: "INLINE_API_KEY";
6352
6318
  } | {
@@ -6366,6 +6332,23 @@ export declare const marAgentModelTransportTestInputSchema: z.ZodObject<{
6366
6332
  sessionId?: string | undefined;
6367
6333
  purpose?: "MODEL" | "IMAGE_GENERATION" | undefined;
6368
6334
  };
6335
+ };
6336
+ enabled: boolean;
6337
+ useResourceUrl: boolean;
6338
+ baseUrl: string;
6339
+ contextWindowTokens: number;
6340
+ maxOutputTokens: number;
6341
+ inputCapabilities: ("TEXT" | "IMAGE")[];
6342
+ outputCapabilities: ["TEXT"];
6343
+ reasoningEfforts: ("low" | "medium" | "high" | "xhigh" | "max" | "ultra")[];
6344
+ conversationModel: boolean;
6345
+ subagentModel: boolean;
6346
+ titleGeneration: boolean;
6347
+ codeMode: boolean;
6348
+ hostedWebSearch: boolean;
6349
+ responsesPreviousResponseId: boolean;
6350
+ metadata?: {
6351
+ useResourceUrl: boolean;
6369
6352
  } | undefined;
6370
6353
  responsesOptionalParameters?: {
6371
6354
  reasoningEffort: boolean;
@@ -6374,7 +6357,6 @@ export declare const marAgentModelTransportTestInputSchema: z.ZodObject<{
6374
6357
  promptCacheKey: boolean;
6375
6358
  nativeTools?: boolean | undefined;
6376
6359
  } | undefined;
6377
- apiKey?: string | undefined;
6378
6360
  imageGeneration?: {
6379
6361
  imageModelId: string;
6380
6362
  httpVersion: "2" | "1.1";
@@ -6419,18 +6401,7 @@ export declare const marAgentModelTransportTestInputSchema: z.ZodObject<{
6419
6401
  id: string;
6420
6402
  modelId: string;
6421
6403
  protocol: "OPENAI_RESPONSES" | "ANTHROPIC_MESSAGES";
6422
- enabled: boolean;
6423
- baseUrl: string;
6424
- contextWindowTokens: number;
6425
- maxOutputTokens: number;
6426
- inputCapabilities: ("TEXT" | "IMAGE")[];
6427
- outputCapabilities: ["TEXT"];
6428
- reasoningEfforts: ("low" | "medium" | "high" | "xhigh" | "max" | "ultra")[];
6429
- hostedWebSearch: boolean;
6430
- metadata?: {
6431
- useResourceUrl?: boolean | undefined;
6432
- } | undefined;
6433
- credential?: {
6404
+ credential: {
6434
6405
  value: string;
6435
6406
  type: "INLINE_API_KEY";
6436
6407
  } | {
@@ -6450,6 +6421,17 @@ export declare const marAgentModelTransportTestInputSchema: z.ZodObject<{
6450
6421
  sessionId?: string | undefined;
6451
6422
  purpose?: "MODEL" | "IMAGE_GENERATION" | undefined;
6452
6423
  };
6424
+ };
6425
+ enabled: boolean;
6426
+ baseUrl: string;
6427
+ contextWindowTokens: number;
6428
+ maxOutputTokens: number;
6429
+ inputCapabilities: ("TEXT" | "IMAGE")[];
6430
+ outputCapabilities: ["TEXT"];
6431
+ reasoningEfforts: ("low" | "medium" | "high" | "xhigh" | "max" | "ultra")[];
6432
+ hostedWebSearch: boolean;
6433
+ metadata?: {
6434
+ useResourceUrl?: boolean | undefined;
6453
6435
  } | undefined;
6454
6436
  responsesOptionalParameters?: {
6455
6437
  reasoningEffort: boolean;
@@ -6458,7 +6440,6 @@ export declare const marAgentModelTransportTestInputSchema: z.ZodObject<{
6458
6440
  promptCacheKey: boolean;
6459
6441
  nativeTools?: boolean | undefined;
6460
6442
  } | undefined;
6461
- apiKey?: string | undefined;
6462
6443
  useResourceUrl?: boolean | undefined;
6463
6444
  imageGeneration?: {
6464
6445
  imageModelId: string;
@@ -9512,6 +9493,25 @@ export declare const executionPresentationSchema: z.ZodEffects<z.ZodObject<{
9512
9493
  kind: z.ZodLiteral<"EXECUTION">;
9513
9494
  execution: z.ZodObject<{
9514
9495
  kind: z.ZodEnum<["SHELL", "CODE", "CONTROL"]>;
9496
+ toolName: z.ZodOptional<z.ZodString>;
9497
+ action: z.ZodOptional<z.ZodString>;
9498
+ targetId: z.ZodOptional<z.ZodString>;
9499
+ source: z.ZodOptional<z.ZodObject<{
9500
+ kind: z.ZodEnum<["SHELL", "CODE"]>;
9501
+ text: z.ZodString;
9502
+ cwd: z.ZodOptional<z.ZodString>;
9503
+ truncated: z.ZodBoolean;
9504
+ }, "strict", z.ZodTypeAny, {
9505
+ text: string;
9506
+ kind: "SHELL" | "CODE";
9507
+ truncated: boolean;
9508
+ cwd?: string | undefined;
9509
+ }, {
9510
+ text: string;
9511
+ kind: "SHELL" | "CODE";
9512
+ truncated: boolean;
9513
+ cwd?: string | undefined;
9514
+ }>>;
9515
9515
  output: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
9516
9516
  channel: z.ZodEnum<["STDOUT", "STDERR", "COMBINED", "TEXT"]>;
9517
9517
  text: z.ZodString;
@@ -9550,10 +9550,19 @@ export declare const executionPresentationSchema: z.ZodEffects<z.ZodObject<{
9550
9550
  }>>;
9551
9551
  }, "strict", z.ZodTypeAny, {
9552
9552
  kind: "SHELL" | "CODE" | "CONTROL";
9553
+ source?: {
9554
+ text: string;
9555
+ kind: "SHELL" | "CODE";
9556
+ truncated: boolean;
9557
+ cwd?: string | undefined;
9558
+ } | undefined;
9559
+ action?: string | undefined;
9560
+ targetId?: string | undefined;
9553
9561
  error?: {
9554
9562
  code: string;
9555
9563
  message: string;
9556
9564
  } | undefined;
9565
+ toolName?: string | undefined;
9557
9566
  output?: {
9558
9567
  text: string;
9559
9568
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -9564,10 +9573,19 @@ export declare const executionPresentationSchema: z.ZodEffects<z.ZodObject<{
9564
9573
  } | undefined;
9565
9574
  }, {
9566
9575
  kind: "SHELL" | "CODE" | "CONTROL";
9576
+ source?: {
9577
+ text: string;
9578
+ kind: "SHELL" | "CODE";
9579
+ truncated: boolean;
9580
+ cwd?: string | undefined;
9581
+ } | undefined;
9582
+ action?: string | undefined;
9583
+ targetId?: string | undefined;
9567
9584
  error?: {
9568
9585
  code: string;
9569
9586
  message: string;
9570
9587
  } | undefined;
9588
+ toolName?: string | undefined;
9571
9589
  output?: {
9572
9590
  text: string;
9573
9591
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -9581,10 +9599,19 @@ export declare const executionPresentationSchema: z.ZodEffects<z.ZodObject<{
9581
9599
  kind: "EXECUTION";
9582
9600
  execution: {
9583
9601
  kind: "SHELL" | "CODE" | "CONTROL";
9602
+ source?: {
9603
+ text: string;
9604
+ kind: "SHELL" | "CODE";
9605
+ truncated: boolean;
9606
+ cwd?: string | undefined;
9607
+ } | undefined;
9608
+ action?: string | undefined;
9609
+ targetId?: string | undefined;
9584
9610
  error?: {
9585
9611
  code: string;
9586
9612
  message: string;
9587
9613
  } | undefined;
9614
+ toolName?: string | undefined;
9588
9615
  output?: {
9589
9616
  text: string;
9590
9617
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -9598,10 +9625,19 @@ export declare const executionPresentationSchema: z.ZodEffects<z.ZodObject<{
9598
9625
  kind: "EXECUTION";
9599
9626
  execution: {
9600
9627
  kind: "SHELL" | "CODE" | "CONTROL";
9628
+ source?: {
9629
+ text: string;
9630
+ kind: "SHELL" | "CODE";
9631
+ truncated: boolean;
9632
+ cwd?: string | undefined;
9633
+ } | undefined;
9634
+ action?: string | undefined;
9635
+ targetId?: string | undefined;
9601
9636
  error?: {
9602
9637
  code: string;
9603
9638
  message: string;
9604
9639
  } | undefined;
9640
+ toolName?: string | undefined;
9605
9641
  output?: {
9606
9642
  text: string;
9607
9643
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -9615,10 +9651,19 @@ export declare const executionPresentationSchema: z.ZodEffects<z.ZodObject<{
9615
9651
  kind: "EXECUTION";
9616
9652
  execution: {
9617
9653
  kind: "SHELL" | "CODE" | "CONTROL";
9654
+ source?: {
9655
+ text: string;
9656
+ kind: "SHELL" | "CODE";
9657
+ truncated: boolean;
9658
+ cwd?: string | undefined;
9659
+ } | undefined;
9660
+ action?: string | undefined;
9661
+ targetId?: string | undefined;
9618
9662
  error?: {
9619
9663
  code: string;
9620
9664
  message: string;
9621
9665
  } | undefined;
9666
+ toolName?: string | undefined;
9622
9667
  output?: {
9623
9668
  text: string;
9624
9669
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -9632,10 +9677,19 @@ export declare const executionPresentationSchema: z.ZodEffects<z.ZodObject<{
9632
9677
  kind: "EXECUTION";
9633
9678
  execution: {
9634
9679
  kind: "SHELL" | "CODE" | "CONTROL";
9680
+ source?: {
9681
+ text: string;
9682
+ kind: "SHELL" | "CODE";
9683
+ truncated: boolean;
9684
+ cwd?: string | undefined;
9685
+ } | undefined;
9686
+ action?: string | undefined;
9687
+ targetId?: string | undefined;
9635
9688
  error?: {
9636
9689
  code: string;
9637
9690
  message: string;
9638
9691
  } | undefined;
9692
+ toolName?: string | undefined;
9639
9693
  output?: {
9640
9694
  text: string;
9641
9695
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -9647,6 +9701,8 @@ export declare const executionPresentationSchema: z.ZodEffects<z.ZodObject<{
9647
9701
  };
9648
9702
  }>;
9649
9703
  export type ExecutionPresentation = z.infer<typeof executionPresentationSchema>;
9704
+ /** Append output channels of the same call; snapshots and terminal items replace normally. */
9705
+ export declare function appendExecutionPresentation(previous: unknown, incoming: unknown): unknown;
9650
9706
  export declare const toolPresentationSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
9651
9707
  kind: z.ZodLiteral<"READ">;
9652
9708
  paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -9752,6 +9808,25 @@ export declare const toolPresentationSchema: z.ZodUnion<[z.ZodDiscriminatedUnion
9752
9808
  kind: z.ZodLiteral<"EXECUTION">;
9753
9809
  execution: z.ZodObject<{
9754
9810
  kind: z.ZodEnum<["SHELL", "CODE", "CONTROL"]>;
9811
+ toolName: z.ZodOptional<z.ZodString>;
9812
+ action: z.ZodOptional<z.ZodString>;
9813
+ targetId: z.ZodOptional<z.ZodString>;
9814
+ source: z.ZodOptional<z.ZodObject<{
9815
+ kind: z.ZodEnum<["SHELL", "CODE"]>;
9816
+ text: z.ZodString;
9817
+ cwd: z.ZodOptional<z.ZodString>;
9818
+ truncated: z.ZodBoolean;
9819
+ }, "strict", z.ZodTypeAny, {
9820
+ text: string;
9821
+ kind: "SHELL" | "CODE";
9822
+ truncated: boolean;
9823
+ cwd?: string | undefined;
9824
+ }, {
9825
+ text: string;
9826
+ kind: "SHELL" | "CODE";
9827
+ truncated: boolean;
9828
+ cwd?: string | undefined;
9829
+ }>>;
9755
9830
  output: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
9756
9831
  channel: z.ZodEnum<["STDOUT", "STDERR", "COMBINED", "TEXT"]>;
9757
9832
  text: z.ZodString;
@@ -9790,10 +9865,19 @@ export declare const toolPresentationSchema: z.ZodUnion<[z.ZodDiscriminatedUnion
9790
9865
  }>>;
9791
9866
  }, "strict", z.ZodTypeAny, {
9792
9867
  kind: "SHELL" | "CODE" | "CONTROL";
9868
+ source?: {
9869
+ text: string;
9870
+ kind: "SHELL" | "CODE";
9871
+ truncated: boolean;
9872
+ cwd?: string | undefined;
9873
+ } | undefined;
9874
+ action?: string | undefined;
9875
+ targetId?: string | undefined;
9793
9876
  error?: {
9794
9877
  code: string;
9795
9878
  message: string;
9796
9879
  } | undefined;
9880
+ toolName?: string | undefined;
9797
9881
  output?: {
9798
9882
  text: string;
9799
9883
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -9804,10 +9888,19 @@ export declare const toolPresentationSchema: z.ZodUnion<[z.ZodDiscriminatedUnion
9804
9888
  } | undefined;
9805
9889
  }, {
9806
9890
  kind: "SHELL" | "CODE" | "CONTROL";
9891
+ source?: {
9892
+ text: string;
9893
+ kind: "SHELL" | "CODE";
9894
+ truncated: boolean;
9895
+ cwd?: string | undefined;
9896
+ } | undefined;
9897
+ action?: string | undefined;
9898
+ targetId?: string | undefined;
9807
9899
  error?: {
9808
9900
  code: string;
9809
9901
  message: string;
9810
9902
  } | undefined;
9903
+ toolName?: string | undefined;
9811
9904
  output?: {
9812
9905
  text: string;
9813
9906
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -9821,10 +9914,19 @@ export declare const toolPresentationSchema: z.ZodUnion<[z.ZodDiscriminatedUnion
9821
9914
  kind: "EXECUTION";
9822
9915
  execution: {
9823
9916
  kind: "SHELL" | "CODE" | "CONTROL";
9917
+ source?: {
9918
+ text: string;
9919
+ kind: "SHELL" | "CODE";
9920
+ truncated: boolean;
9921
+ cwd?: string | undefined;
9922
+ } | undefined;
9923
+ action?: string | undefined;
9924
+ targetId?: string | undefined;
9824
9925
  error?: {
9825
9926
  code: string;
9826
9927
  message: string;
9827
9928
  } | undefined;
9929
+ toolName?: string | undefined;
9828
9930
  output?: {
9829
9931
  text: string;
9830
9932
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -9838,10 +9940,19 @@ export declare const toolPresentationSchema: z.ZodUnion<[z.ZodDiscriminatedUnion
9838
9940
  kind: "EXECUTION";
9839
9941
  execution: {
9840
9942
  kind: "SHELL" | "CODE" | "CONTROL";
9943
+ source?: {
9944
+ text: string;
9945
+ kind: "SHELL" | "CODE";
9946
+ truncated: boolean;
9947
+ cwd?: string | undefined;
9948
+ } | undefined;
9949
+ action?: string | undefined;
9950
+ targetId?: string | undefined;
9841
9951
  error?: {
9842
9952
  code: string;
9843
9953
  message: string;
9844
9954
  } | undefined;
9955
+ toolName?: string | undefined;
9845
9956
  output?: {
9846
9957
  text: string;
9847
9958
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -9855,10 +9966,19 @@ export declare const toolPresentationSchema: z.ZodUnion<[z.ZodDiscriminatedUnion
9855
9966
  kind: "EXECUTION";
9856
9967
  execution: {
9857
9968
  kind: "SHELL" | "CODE" | "CONTROL";
9969
+ source?: {
9970
+ text: string;
9971
+ kind: "SHELL" | "CODE";
9972
+ truncated: boolean;
9973
+ cwd?: string | undefined;
9974
+ } | undefined;
9975
+ action?: string | undefined;
9976
+ targetId?: string | undefined;
9858
9977
  error?: {
9859
9978
  code: string;
9860
9979
  message: string;
9861
9980
  } | undefined;
9981
+ toolName?: string | undefined;
9862
9982
  output?: {
9863
9983
  text: string;
9864
9984
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -9872,10 +9992,19 @@ export declare const toolPresentationSchema: z.ZodUnion<[z.ZodDiscriminatedUnion
9872
9992
  kind: "EXECUTION";
9873
9993
  execution: {
9874
9994
  kind: "SHELL" | "CODE" | "CONTROL";
9995
+ source?: {
9996
+ text: string;
9997
+ kind: "SHELL" | "CODE";
9998
+ truncated: boolean;
9999
+ cwd?: string | undefined;
10000
+ } | undefined;
10001
+ action?: string | undefined;
10002
+ targetId?: string | undefined;
9875
10003
  error?: {
9876
10004
  code: string;
9877
10005
  message: string;
9878
10006
  } | undefined;
10007
+ toolName?: string | undefined;
9879
10008
  output?: {
9880
10009
  text: string;
9881
10010
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -11482,11 +11611,11 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
11482
11611
  } & {
11483
11612
  kind: z.ZodLiteral<"command_execution">;
11484
11613
  payload: z.ZodObject<{
11614
+ toolName: z.ZodOptional<z.ZodString>;
11485
11615
  title: z.ZodOptional<z.ZodString>;
11486
11616
  command: z.ZodString;
11487
11617
  cwd: z.ZodNullable<z.ZodString>;
11488
11618
  outputPreview: z.ZodString;
11489
- outputRef: z.ZodNullable<z.ZodString>;
11490
11619
  exitCode: z.ZodNullable<z.ZodNumber>;
11491
11620
  durationMs: z.ZodNullable<z.ZodNumber>;
11492
11621
  truncated: z.ZodBoolean;
@@ -11504,6 +11633,25 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
11504
11633
  kind: z.ZodLiteral<"EXECUTION">;
11505
11634
  execution: z.ZodObject<{
11506
11635
  kind: z.ZodEnum<["SHELL", "CODE", "CONTROL"]>;
11636
+ toolName: z.ZodOptional<z.ZodString>;
11637
+ action: z.ZodOptional<z.ZodString>;
11638
+ targetId: z.ZodOptional<z.ZodString>;
11639
+ source: z.ZodOptional<z.ZodObject<{
11640
+ kind: z.ZodEnum<["SHELL", "CODE"]>;
11641
+ text: z.ZodString;
11642
+ cwd: z.ZodOptional<z.ZodString>;
11643
+ truncated: z.ZodBoolean;
11644
+ }, "strict", z.ZodTypeAny, {
11645
+ text: string;
11646
+ kind: "SHELL" | "CODE";
11647
+ truncated: boolean;
11648
+ cwd?: string | undefined;
11649
+ }, {
11650
+ text: string;
11651
+ kind: "SHELL" | "CODE";
11652
+ truncated: boolean;
11653
+ cwd?: string | undefined;
11654
+ }>>;
11507
11655
  output: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
11508
11656
  channel: z.ZodEnum<["STDOUT", "STDERR", "COMBINED", "TEXT"]>;
11509
11657
  text: z.ZodString;
@@ -11542,10 +11690,19 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
11542
11690
  }>>;
11543
11691
  }, "strict", z.ZodTypeAny, {
11544
11692
  kind: "SHELL" | "CODE" | "CONTROL";
11693
+ source?: {
11694
+ text: string;
11695
+ kind: "SHELL" | "CODE";
11696
+ truncated: boolean;
11697
+ cwd?: string | undefined;
11698
+ } | undefined;
11699
+ action?: string | undefined;
11700
+ targetId?: string | undefined;
11545
11701
  error?: {
11546
11702
  code: string;
11547
11703
  message: string;
11548
11704
  } | undefined;
11705
+ toolName?: string | undefined;
11549
11706
  output?: {
11550
11707
  text: string;
11551
11708
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -11556,10 +11713,19 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
11556
11713
  } | undefined;
11557
11714
  }, {
11558
11715
  kind: "SHELL" | "CODE" | "CONTROL";
11716
+ source?: {
11717
+ text: string;
11718
+ kind: "SHELL" | "CODE";
11719
+ truncated: boolean;
11720
+ cwd?: string | undefined;
11721
+ } | undefined;
11722
+ action?: string | undefined;
11723
+ targetId?: string | undefined;
11559
11724
  error?: {
11560
11725
  code: string;
11561
11726
  message: string;
11562
11727
  } | undefined;
11728
+ toolName?: string | undefined;
11563
11729
  output?: {
11564
11730
  text: string;
11565
11731
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -11573,10 +11739,19 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
11573
11739
  kind: "EXECUTION";
11574
11740
  execution: {
11575
11741
  kind: "SHELL" | "CODE" | "CONTROL";
11742
+ source?: {
11743
+ text: string;
11744
+ kind: "SHELL" | "CODE";
11745
+ truncated: boolean;
11746
+ cwd?: string | undefined;
11747
+ } | undefined;
11748
+ action?: string | undefined;
11749
+ targetId?: string | undefined;
11576
11750
  error?: {
11577
11751
  code: string;
11578
11752
  message: string;
11579
11753
  } | undefined;
11754
+ toolName?: string | undefined;
11580
11755
  output?: {
11581
11756
  text: string;
11582
11757
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -11590,10 +11765,19 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
11590
11765
  kind: "EXECUTION";
11591
11766
  execution: {
11592
11767
  kind: "SHELL" | "CODE" | "CONTROL";
11768
+ source?: {
11769
+ text: string;
11770
+ kind: "SHELL" | "CODE";
11771
+ truncated: boolean;
11772
+ cwd?: string | undefined;
11773
+ } | undefined;
11774
+ action?: string | undefined;
11775
+ targetId?: string | undefined;
11593
11776
  error?: {
11594
11777
  code: string;
11595
11778
  message: string;
11596
11779
  } | undefined;
11780
+ toolName?: string | undefined;
11597
11781
  output?: {
11598
11782
  text: string;
11599
11783
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -11607,10 +11791,19 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
11607
11791
  kind: "EXECUTION";
11608
11792
  execution: {
11609
11793
  kind: "SHELL" | "CODE" | "CONTROL";
11794
+ source?: {
11795
+ text: string;
11796
+ kind: "SHELL" | "CODE";
11797
+ truncated: boolean;
11798
+ cwd?: string | undefined;
11799
+ } | undefined;
11800
+ action?: string | undefined;
11801
+ targetId?: string | undefined;
11610
11802
  error?: {
11611
11803
  code: string;
11612
11804
  message: string;
11613
11805
  } | undefined;
11806
+ toolName?: string | undefined;
11614
11807
  output?: {
11615
11808
  text: string;
11616
11809
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -11624,10 +11817,19 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
11624
11817
  kind: "EXECUTION";
11625
11818
  execution: {
11626
11819
  kind: "SHELL" | "CODE" | "CONTROL";
11820
+ source?: {
11821
+ text: string;
11822
+ kind: "SHELL" | "CODE";
11823
+ truncated: boolean;
11824
+ cwd?: string | undefined;
11825
+ } | undefined;
11826
+ action?: string | undefined;
11827
+ targetId?: string | undefined;
11627
11828
  error?: {
11628
11829
  code: string;
11629
11830
  message: string;
11630
11831
  } | undefined;
11832
+ toolName?: string | undefined;
11631
11833
  output?: {
11632
11834
  text: string;
11633
11835
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -11644,9 +11846,9 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
11644
11846
  truncated: boolean;
11645
11847
  cwd: string | null;
11646
11848
  outputPreview: string;
11647
- outputRef: string | null;
11648
11849
  exitCode: number | null;
11649
11850
  title?: string | undefined;
11851
+ toolName?: string | undefined;
11650
11852
  output?: {
11651
11853
  text: string;
11652
11854
  truncated: boolean;
@@ -11655,10 +11857,19 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
11655
11857
  kind: "EXECUTION";
11656
11858
  execution: {
11657
11859
  kind: "SHELL" | "CODE" | "CONTROL";
11860
+ source?: {
11861
+ text: string;
11862
+ kind: "SHELL" | "CODE";
11863
+ truncated: boolean;
11864
+ cwd?: string | undefined;
11865
+ } | undefined;
11866
+ action?: string | undefined;
11867
+ targetId?: string | undefined;
11658
11868
  error?: {
11659
11869
  code: string;
11660
11870
  message: string;
11661
11871
  } | undefined;
11872
+ toolName?: string | undefined;
11662
11873
  output?: {
11663
11874
  text: string;
11664
11875
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -11675,9 +11886,9 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
11675
11886
  truncated: boolean;
11676
11887
  cwd: string | null;
11677
11888
  outputPreview: string;
11678
- outputRef: string | null;
11679
11889
  exitCode: number | null;
11680
11890
  title?: string | undefined;
11891
+ toolName?: string | undefined;
11681
11892
  output?: {
11682
11893
  text: string;
11683
11894
  truncated: boolean;
@@ -11686,10 +11897,19 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
11686
11897
  kind: "EXECUTION";
11687
11898
  execution: {
11688
11899
  kind: "SHELL" | "CODE" | "CONTROL";
11900
+ source?: {
11901
+ text: string;
11902
+ kind: "SHELL" | "CODE";
11903
+ truncated: boolean;
11904
+ cwd?: string | undefined;
11905
+ } | undefined;
11906
+ action?: string | undefined;
11907
+ targetId?: string | undefined;
11689
11908
  error?: {
11690
11909
  code: string;
11691
11910
  message: string;
11692
11911
  } | undefined;
11912
+ toolName?: string | undefined;
11693
11913
  output?: {
11694
11914
  text: string;
11695
11915
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -11710,9 +11930,9 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
11710
11930
  truncated: boolean;
11711
11931
  cwd: string | null;
11712
11932
  outputPreview: string;
11713
- outputRef: string | null;
11714
11933
  exitCode: number | null;
11715
11934
  title?: string | undefined;
11935
+ toolName?: string | undefined;
11716
11936
  output?: {
11717
11937
  text: string;
11718
11938
  truncated: boolean;
@@ -11721,10 +11941,19 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
11721
11941
  kind: "EXECUTION";
11722
11942
  execution: {
11723
11943
  kind: "SHELL" | "CODE" | "CONTROL";
11944
+ source?: {
11945
+ text: string;
11946
+ kind: "SHELL" | "CODE";
11947
+ truncated: boolean;
11948
+ cwd?: string | undefined;
11949
+ } | undefined;
11950
+ action?: string | undefined;
11951
+ targetId?: string | undefined;
11724
11952
  error?: {
11725
11953
  code: string;
11726
11954
  message: string;
11727
11955
  } | undefined;
11956
+ toolName?: string | undefined;
11728
11957
  output?: {
11729
11958
  text: string;
11730
11959
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -11771,9 +12000,9 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
11771
12000
  truncated: boolean;
11772
12001
  cwd: string | null;
11773
12002
  outputPreview: string;
11774
- outputRef: string | null;
11775
12003
  exitCode: number | null;
11776
12004
  title?: string | undefined;
12005
+ toolName?: string | undefined;
11777
12006
  output?: {
11778
12007
  text: string;
11779
12008
  truncated: boolean;
@@ -11782,10 +12011,19 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
11782
12011
  kind: "EXECUTION";
11783
12012
  execution: {
11784
12013
  kind: "SHELL" | "CODE" | "CONTROL";
12014
+ source?: {
12015
+ text: string;
12016
+ kind: "SHELL" | "CODE";
12017
+ truncated: boolean;
12018
+ cwd?: string | undefined;
12019
+ } | undefined;
12020
+ action?: string | undefined;
12021
+ targetId?: string | undefined;
11785
12022
  error?: {
11786
12023
  code: string;
11787
12024
  message: string;
11788
12025
  } | undefined;
12026
+ toolName?: string | undefined;
11789
12027
  output?: {
11790
12028
  text: string;
11791
12029
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -11897,7 +12135,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
11897
12135
  change: z.ZodEnum<["ADDED", "MODIFIED", "DELETED", "RENAMED", "COPIED", "TYPE_CHANGED"]>;
11898
12136
  additions: z.ZodNullable<z.ZodNumber>;
11899
12137
  deletions: z.ZodNullable<z.ZodNumber>;
11900
- diffAvailable: z.ZodBoolean;
11901
12138
  changeId: z.ZodOptional<z.ZodString>;
11902
12139
  diff: z.ZodOptional<z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
11903
12140
  status: z.ZodLiteral<"available">;
@@ -11935,7 +12172,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
11935
12172
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
11936
12173
  additions: number | null;
11937
12174
  deletions: number | null;
11938
- diffAvailable: boolean;
11939
12175
  diff?: {
11940
12176
  status: "available";
11941
12177
  source: "TOOL_CHANGE";
@@ -11953,7 +12189,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
11953
12189
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
11954
12190
  additions: number | null;
11955
12191
  deletions: number | null;
11956
- diffAvailable: boolean;
11957
12192
  diff?: {
11958
12193
  status: "available";
11959
12194
  source: "TOOL_CHANGE";
@@ -11973,7 +12208,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
11973
12208
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
11974
12209
  additions: number | null;
11975
12210
  deletions: number | null;
11976
- diffAvailable: boolean;
11977
12211
  diff?: {
11978
12212
  status: "available";
11979
12213
  source: "TOOL_CHANGE";
@@ -11993,7 +12227,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
11993
12227
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
11994
12228
  additions: number | null;
11995
12229
  deletions: number | null;
11996
- diffAvailable: boolean;
11997
12230
  diff?: {
11998
12231
  status: "available";
11999
12232
  source: "TOOL_CHANGE";
@@ -12017,7 +12250,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
12017
12250
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
12018
12251
  additions: number | null;
12019
12252
  deletions: number | null;
12020
- diffAvailable: boolean;
12021
12253
  diff?: {
12022
12254
  status: "available";
12023
12255
  source: "TOOL_CHANGE";
@@ -12067,7 +12299,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
12067
12299
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
12068
12300
  additions: number | null;
12069
12301
  deletions: number | null;
12070
- diffAvailable: boolean;
12071
12302
  diff?: {
12072
12303
  status: "available";
12073
12304
  source: "TOOL_CHANGE";
@@ -14877,11 +15108,11 @@ export declare const conversationTurnSchema: z.ZodObject<{
14877
15108
  } & {
14878
15109
  kind: z.ZodLiteral<"command_execution">;
14879
15110
  payload: z.ZodObject<{
15111
+ toolName: z.ZodOptional<z.ZodString>;
14880
15112
  title: z.ZodOptional<z.ZodString>;
14881
15113
  command: z.ZodString;
14882
15114
  cwd: z.ZodNullable<z.ZodString>;
14883
15115
  outputPreview: z.ZodString;
14884
- outputRef: z.ZodNullable<z.ZodString>;
14885
15116
  exitCode: z.ZodNullable<z.ZodNumber>;
14886
15117
  durationMs: z.ZodNullable<z.ZodNumber>;
14887
15118
  truncated: z.ZodBoolean;
@@ -14899,6 +15130,25 @@ export declare const conversationTurnSchema: z.ZodObject<{
14899
15130
  kind: z.ZodLiteral<"EXECUTION">;
14900
15131
  execution: z.ZodObject<{
14901
15132
  kind: z.ZodEnum<["SHELL", "CODE", "CONTROL"]>;
15133
+ toolName: z.ZodOptional<z.ZodString>;
15134
+ action: z.ZodOptional<z.ZodString>;
15135
+ targetId: z.ZodOptional<z.ZodString>;
15136
+ source: z.ZodOptional<z.ZodObject<{
15137
+ kind: z.ZodEnum<["SHELL", "CODE"]>;
15138
+ text: z.ZodString;
15139
+ cwd: z.ZodOptional<z.ZodString>;
15140
+ truncated: z.ZodBoolean;
15141
+ }, "strict", z.ZodTypeAny, {
15142
+ text: string;
15143
+ kind: "SHELL" | "CODE";
15144
+ truncated: boolean;
15145
+ cwd?: string | undefined;
15146
+ }, {
15147
+ text: string;
15148
+ kind: "SHELL" | "CODE";
15149
+ truncated: boolean;
15150
+ cwd?: string | undefined;
15151
+ }>>;
14902
15152
  output: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
14903
15153
  channel: z.ZodEnum<["STDOUT", "STDERR", "COMBINED", "TEXT"]>;
14904
15154
  text: z.ZodString;
@@ -14937,10 +15187,19 @@ export declare const conversationTurnSchema: z.ZodObject<{
14937
15187
  }>>;
14938
15188
  }, "strict", z.ZodTypeAny, {
14939
15189
  kind: "SHELL" | "CODE" | "CONTROL";
15190
+ source?: {
15191
+ text: string;
15192
+ kind: "SHELL" | "CODE";
15193
+ truncated: boolean;
15194
+ cwd?: string | undefined;
15195
+ } | undefined;
15196
+ action?: string | undefined;
15197
+ targetId?: string | undefined;
14940
15198
  error?: {
14941
15199
  code: string;
14942
15200
  message: string;
14943
15201
  } | undefined;
15202
+ toolName?: string | undefined;
14944
15203
  output?: {
14945
15204
  text: string;
14946
15205
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -14951,10 +15210,19 @@ export declare const conversationTurnSchema: z.ZodObject<{
14951
15210
  } | undefined;
14952
15211
  }, {
14953
15212
  kind: "SHELL" | "CODE" | "CONTROL";
15213
+ source?: {
15214
+ text: string;
15215
+ kind: "SHELL" | "CODE";
15216
+ truncated: boolean;
15217
+ cwd?: string | undefined;
15218
+ } | undefined;
15219
+ action?: string | undefined;
15220
+ targetId?: string | undefined;
14954
15221
  error?: {
14955
15222
  code: string;
14956
15223
  message: string;
14957
15224
  } | undefined;
15225
+ toolName?: string | undefined;
14958
15226
  output?: {
14959
15227
  text: string;
14960
15228
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -14968,10 +15236,19 @@ export declare const conversationTurnSchema: z.ZodObject<{
14968
15236
  kind: "EXECUTION";
14969
15237
  execution: {
14970
15238
  kind: "SHELL" | "CODE" | "CONTROL";
15239
+ source?: {
15240
+ text: string;
15241
+ kind: "SHELL" | "CODE";
15242
+ truncated: boolean;
15243
+ cwd?: string | undefined;
15244
+ } | undefined;
15245
+ action?: string | undefined;
15246
+ targetId?: string | undefined;
14971
15247
  error?: {
14972
15248
  code: string;
14973
15249
  message: string;
14974
15250
  } | undefined;
15251
+ toolName?: string | undefined;
14975
15252
  output?: {
14976
15253
  text: string;
14977
15254
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -14985,10 +15262,19 @@ export declare const conversationTurnSchema: z.ZodObject<{
14985
15262
  kind: "EXECUTION";
14986
15263
  execution: {
14987
15264
  kind: "SHELL" | "CODE" | "CONTROL";
15265
+ source?: {
15266
+ text: string;
15267
+ kind: "SHELL" | "CODE";
15268
+ truncated: boolean;
15269
+ cwd?: string | undefined;
15270
+ } | undefined;
15271
+ action?: string | undefined;
15272
+ targetId?: string | undefined;
14988
15273
  error?: {
14989
15274
  code: string;
14990
15275
  message: string;
14991
15276
  } | undefined;
15277
+ toolName?: string | undefined;
14992
15278
  output?: {
14993
15279
  text: string;
14994
15280
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -15002,10 +15288,19 @@ export declare const conversationTurnSchema: z.ZodObject<{
15002
15288
  kind: "EXECUTION";
15003
15289
  execution: {
15004
15290
  kind: "SHELL" | "CODE" | "CONTROL";
15291
+ source?: {
15292
+ text: string;
15293
+ kind: "SHELL" | "CODE";
15294
+ truncated: boolean;
15295
+ cwd?: string | undefined;
15296
+ } | undefined;
15297
+ action?: string | undefined;
15298
+ targetId?: string | undefined;
15005
15299
  error?: {
15006
15300
  code: string;
15007
15301
  message: string;
15008
15302
  } | undefined;
15303
+ toolName?: string | undefined;
15009
15304
  output?: {
15010
15305
  text: string;
15011
15306
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -15019,10 +15314,19 @@ export declare const conversationTurnSchema: z.ZodObject<{
15019
15314
  kind: "EXECUTION";
15020
15315
  execution: {
15021
15316
  kind: "SHELL" | "CODE" | "CONTROL";
15317
+ source?: {
15318
+ text: string;
15319
+ kind: "SHELL" | "CODE";
15320
+ truncated: boolean;
15321
+ cwd?: string | undefined;
15322
+ } | undefined;
15323
+ action?: string | undefined;
15324
+ targetId?: string | undefined;
15022
15325
  error?: {
15023
15326
  code: string;
15024
15327
  message: string;
15025
15328
  } | undefined;
15329
+ toolName?: string | undefined;
15026
15330
  output?: {
15027
15331
  text: string;
15028
15332
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -15039,9 +15343,9 @@ export declare const conversationTurnSchema: z.ZodObject<{
15039
15343
  truncated: boolean;
15040
15344
  cwd: string | null;
15041
15345
  outputPreview: string;
15042
- outputRef: string | null;
15043
15346
  exitCode: number | null;
15044
15347
  title?: string | undefined;
15348
+ toolName?: string | undefined;
15045
15349
  output?: {
15046
15350
  text: string;
15047
15351
  truncated: boolean;
@@ -15050,10 +15354,19 @@ export declare const conversationTurnSchema: z.ZodObject<{
15050
15354
  kind: "EXECUTION";
15051
15355
  execution: {
15052
15356
  kind: "SHELL" | "CODE" | "CONTROL";
15357
+ source?: {
15358
+ text: string;
15359
+ kind: "SHELL" | "CODE";
15360
+ truncated: boolean;
15361
+ cwd?: string | undefined;
15362
+ } | undefined;
15363
+ action?: string | undefined;
15364
+ targetId?: string | undefined;
15053
15365
  error?: {
15054
15366
  code: string;
15055
15367
  message: string;
15056
15368
  } | undefined;
15369
+ toolName?: string | undefined;
15057
15370
  output?: {
15058
15371
  text: string;
15059
15372
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -15070,9 +15383,9 @@ export declare const conversationTurnSchema: z.ZodObject<{
15070
15383
  truncated: boolean;
15071
15384
  cwd: string | null;
15072
15385
  outputPreview: string;
15073
- outputRef: string | null;
15074
15386
  exitCode: number | null;
15075
15387
  title?: string | undefined;
15388
+ toolName?: string | undefined;
15076
15389
  output?: {
15077
15390
  text: string;
15078
15391
  truncated: boolean;
@@ -15081,10 +15394,19 @@ export declare const conversationTurnSchema: z.ZodObject<{
15081
15394
  kind: "EXECUTION";
15082
15395
  execution: {
15083
15396
  kind: "SHELL" | "CODE" | "CONTROL";
15397
+ source?: {
15398
+ text: string;
15399
+ kind: "SHELL" | "CODE";
15400
+ truncated: boolean;
15401
+ cwd?: string | undefined;
15402
+ } | undefined;
15403
+ action?: string | undefined;
15404
+ targetId?: string | undefined;
15084
15405
  error?: {
15085
15406
  code: string;
15086
15407
  message: string;
15087
15408
  } | undefined;
15409
+ toolName?: string | undefined;
15088
15410
  output?: {
15089
15411
  text: string;
15090
15412
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -15105,9 +15427,9 @@ export declare const conversationTurnSchema: z.ZodObject<{
15105
15427
  truncated: boolean;
15106
15428
  cwd: string | null;
15107
15429
  outputPreview: string;
15108
- outputRef: string | null;
15109
15430
  exitCode: number | null;
15110
15431
  title?: string | undefined;
15432
+ toolName?: string | undefined;
15111
15433
  output?: {
15112
15434
  text: string;
15113
15435
  truncated: boolean;
@@ -15116,10 +15438,19 @@ export declare const conversationTurnSchema: z.ZodObject<{
15116
15438
  kind: "EXECUTION";
15117
15439
  execution: {
15118
15440
  kind: "SHELL" | "CODE" | "CONTROL";
15441
+ source?: {
15442
+ text: string;
15443
+ kind: "SHELL" | "CODE";
15444
+ truncated: boolean;
15445
+ cwd?: string | undefined;
15446
+ } | undefined;
15447
+ action?: string | undefined;
15448
+ targetId?: string | undefined;
15119
15449
  error?: {
15120
15450
  code: string;
15121
15451
  message: string;
15122
15452
  } | undefined;
15453
+ toolName?: string | undefined;
15123
15454
  output?: {
15124
15455
  text: string;
15125
15456
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -15166,9 +15497,9 @@ export declare const conversationTurnSchema: z.ZodObject<{
15166
15497
  truncated: boolean;
15167
15498
  cwd: string | null;
15168
15499
  outputPreview: string;
15169
- outputRef: string | null;
15170
15500
  exitCode: number | null;
15171
15501
  title?: string | undefined;
15502
+ toolName?: string | undefined;
15172
15503
  output?: {
15173
15504
  text: string;
15174
15505
  truncated: boolean;
@@ -15177,10 +15508,19 @@ export declare const conversationTurnSchema: z.ZodObject<{
15177
15508
  kind: "EXECUTION";
15178
15509
  execution: {
15179
15510
  kind: "SHELL" | "CODE" | "CONTROL";
15511
+ source?: {
15512
+ text: string;
15513
+ kind: "SHELL" | "CODE";
15514
+ truncated: boolean;
15515
+ cwd?: string | undefined;
15516
+ } | undefined;
15517
+ action?: string | undefined;
15518
+ targetId?: string | undefined;
15180
15519
  error?: {
15181
15520
  code: string;
15182
15521
  message: string;
15183
15522
  } | undefined;
15523
+ toolName?: string | undefined;
15184
15524
  output?: {
15185
15525
  text: string;
15186
15526
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -15292,7 +15632,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
15292
15632
  change: z.ZodEnum<["ADDED", "MODIFIED", "DELETED", "RENAMED", "COPIED", "TYPE_CHANGED"]>;
15293
15633
  additions: z.ZodNullable<z.ZodNumber>;
15294
15634
  deletions: z.ZodNullable<z.ZodNumber>;
15295
- diffAvailable: z.ZodBoolean;
15296
15635
  changeId: z.ZodOptional<z.ZodString>;
15297
15636
  diff: z.ZodOptional<z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
15298
15637
  status: z.ZodLiteral<"available">;
@@ -15330,7 +15669,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
15330
15669
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
15331
15670
  additions: number | null;
15332
15671
  deletions: number | null;
15333
- diffAvailable: boolean;
15334
15672
  diff?: {
15335
15673
  status: "available";
15336
15674
  source: "TOOL_CHANGE";
@@ -15348,7 +15686,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
15348
15686
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
15349
15687
  additions: number | null;
15350
15688
  deletions: number | null;
15351
- diffAvailable: boolean;
15352
15689
  diff?: {
15353
15690
  status: "available";
15354
15691
  source: "TOOL_CHANGE";
@@ -15368,7 +15705,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
15368
15705
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
15369
15706
  additions: number | null;
15370
15707
  deletions: number | null;
15371
- diffAvailable: boolean;
15372
15708
  diff?: {
15373
15709
  status: "available";
15374
15710
  source: "TOOL_CHANGE";
@@ -15388,7 +15724,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
15388
15724
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
15389
15725
  additions: number | null;
15390
15726
  deletions: number | null;
15391
- diffAvailable: boolean;
15392
15727
  diff?: {
15393
15728
  status: "available";
15394
15729
  source: "TOOL_CHANGE";
@@ -15412,7 +15747,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
15412
15747
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
15413
15748
  additions: number | null;
15414
15749
  deletions: number | null;
15415
- diffAvailable: boolean;
15416
15750
  diff?: {
15417
15751
  status: "available";
15418
15752
  source: "TOOL_CHANGE";
@@ -15462,7 +15796,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
15462
15796
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
15463
15797
  additions: number | null;
15464
15798
  deletions: number | null;
15465
- diffAvailable: boolean;
15466
15799
  diff?: {
15467
15800
  status: "available";
15468
15801
  source: "TOOL_CHANGE";
@@ -17040,9 +17373,9 @@ export declare const conversationTurnSchema: z.ZodObject<{
17040
17373
  truncated: boolean;
17041
17374
  cwd: string | null;
17042
17375
  outputPreview: string;
17043
- outputRef: string | null;
17044
17376
  exitCode: number | null;
17045
17377
  title?: string | undefined;
17378
+ toolName?: string | undefined;
17046
17379
  output?: {
17047
17380
  text: string;
17048
17381
  truncated: boolean;
@@ -17051,10 +17384,19 @@ export declare const conversationTurnSchema: z.ZodObject<{
17051
17384
  kind: "EXECUTION";
17052
17385
  execution: {
17053
17386
  kind: "SHELL" | "CODE" | "CONTROL";
17387
+ source?: {
17388
+ text: string;
17389
+ kind: "SHELL" | "CODE";
17390
+ truncated: boolean;
17391
+ cwd?: string | undefined;
17392
+ } | undefined;
17393
+ action?: string | undefined;
17394
+ targetId?: string | undefined;
17054
17395
  error?: {
17055
17396
  code: string;
17056
17397
  message: string;
17057
17398
  } | undefined;
17399
+ toolName?: string | undefined;
17058
17400
  output?: {
17059
17401
  text: string;
17060
17402
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -17101,7 +17443,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
17101
17443
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
17102
17444
  additions: number | null;
17103
17445
  deletions: number | null;
17104
- diffAvailable: boolean;
17105
17446
  diff?: {
17106
17447
  status: "available";
17107
17448
  source: "TOOL_CHANGE";
@@ -17715,9 +18056,9 @@ export declare const conversationTurnSchema: z.ZodObject<{
17715
18056
  truncated: boolean;
17716
18057
  cwd: string | null;
17717
18058
  outputPreview: string;
17718
- outputRef: string | null;
17719
18059
  exitCode: number | null;
17720
18060
  title?: string | undefined;
18061
+ toolName?: string | undefined;
17721
18062
  output?: {
17722
18063
  text: string;
17723
18064
  truncated: boolean;
@@ -17726,10 +18067,19 @@ export declare const conversationTurnSchema: z.ZodObject<{
17726
18067
  kind: "EXECUTION";
17727
18068
  execution: {
17728
18069
  kind: "SHELL" | "CODE" | "CONTROL";
18070
+ source?: {
18071
+ text: string;
18072
+ kind: "SHELL" | "CODE";
18073
+ truncated: boolean;
18074
+ cwd?: string | undefined;
18075
+ } | undefined;
18076
+ action?: string | undefined;
18077
+ targetId?: string | undefined;
17729
18078
  error?: {
17730
18079
  code: string;
17731
18080
  message: string;
17732
18081
  } | undefined;
18082
+ toolName?: string | undefined;
17733
18083
  output?: {
17734
18084
  text: string;
17735
18085
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -17776,7 +18126,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
17776
18126
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
17777
18127
  additions: number | null;
17778
18128
  deletions: number | null;
17779
- diffAvailable: boolean;
17780
18129
  diff?: {
17781
18130
  status: "available";
17782
18131
  source: "TOOL_CHANGE";
@@ -21120,11 +21469,11 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
21120
21469
  } & {
21121
21470
  kind: z.ZodLiteral<"command_execution">;
21122
21471
  payload: z.ZodObject<{
21472
+ toolName: z.ZodOptional<z.ZodString>;
21123
21473
  title: z.ZodOptional<z.ZodString>;
21124
21474
  command: z.ZodString;
21125
21475
  cwd: z.ZodNullable<z.ZodString>;
21126
21476
  outputPreview: z.ZodString;
21127
- outputRef: z.ZodNullable<z.ZodString>;
21128
21477
  exitCode: z.ZodNullable<z.ZodNumber>;
21129
21478
  durationMs: z.ZodNullable<z.ZodNumber>;
21130
21479
  truncated: z.ZodBoolean;
@@ -21142,6 +21491,25 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
21142
21491
  kind: z.ZodLiteral<"EXECUTION">;
21143
21492
  execution: z.ZodObject<{
21144
21493
  kind: z.ZodEnum<["SHELL", "CODE", "CONTROL"]>;
21494
+ toolName: z.ZodOptional<z.ZodString>;
21495
+ action: z.ZodOptional<z.ZodString>;
21496
+ targetId: z.ZodOptional<z.ZodString>;
21497
+ source: z.ZodOptional<z.ZodObject<{
21498
+ kind: z.ZodEnum<["SHELL", "CODE"]>;
21499
+ text: z.ZodString;
21500
+ cwd: z.ZodOptional<z.ZodString>;
21501
+ truncated: z.ZodBoolean;
21502
+ }, "strict", z.ZodTypeAny, {
21503
+ text: string;
21504
+ kind: "SHELL" | "CODE";
21505
+ truncated: boolean;
21506
+ cwd?: string | undefined;
21507
+ }, {
21508
+ text: string;
21509
+ kind: "SHELL" | "CODE";
21510
+ truncated: boolean;
21511
+ cwd?: string | undefined;
21512
+ }>>;
21145
21513
  output: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
21146
21514
  channel: z.ZodEnum<["STDOUT", "STDERR", "COMBINED", "TEXT"]>;
21147
21515
  text: z.ZodString;
@@ -21180,10 +21548,19 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
21180
21548
  }>>;
21181
21549
  }, "strict", z.ZodTypeAny, {
21182
21550
  kind: "SHELL" | "CODE" | "CONTROL";
21551
+ source?: {
21552
+ text: string;
21553
+ kind: "SHELL" | "CODE";
21554
+ truncated: boolean;
21555
+ cwd?: string | undefined;
21556
+ } | undefined;
21557
+ action?: string | undefined;
21558
+ targetId?: string | undefined;
21183
21559
  error?: {
21184
21560
  code: string;
21185
21561
  message: string;
21186
21562
  } | undefined;
21563
+ toolName?: string | undefined;
21187
21564
  output?: {
21188
21565
  text: string;
21189
21566
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -21194,10 +21571,19 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
21194
21571
  } | undefined;
21195
21572
  }, {
21196
21573
  kind: "SHELL" | "CODE" | "CONTROL";
21574
+ source?: {
21575
+ text: string;
21576
+ kind: "SHELL" | "CODE";
21577
+ truncated: boolean;
21578
+ cwd?: string | undefined;
21579
+ } | undefined;
21580
+ action?: string | undefined;
21581
+ targetId?: string | undefined;
21197
21582
  error?: {
21198
21583
  code: string;
21199
21584
  message: string;
21200
21585
  } | undefined;
21586
+ toolName?: string | undefined;
21201
21587
  output?: {
21202
21588
  text: string;
21203
21589
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -21211,10 +21597,19 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
21211
21597
  kind: "EXECUTION";
21212
21598
  execution: {
21213
21599
  kind: "SHELL" | "CODE" | "CONTROL";
21600
+ source?: {
21601
+ text: string;
21602
+ kind: "SHELL" | "CODE";
21603
+ truncated: boolean;
21604
+ cwd?: string | undefined;
21605
+ } | undefined;
21606
+ action?: string | undefined;
21607
+ targetId?: string | undefined;
21214
21608
  error?: {
21215
21609
  code: string;
21216
21610
  message: string;
21217
21611
  } | undefined;
21612
+ toolName?: string | undefined;
21218
21613
  output?: {
21219
21614
  text: string;
21220
21615
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -21228,10 +21623,19 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
21228
21623
  kind: "EXECUTION";
21229
21624
  execution: {
21230
21625
  kind: "SHELL" | "CODE" | "CONTROL";
21626
+ source?: {
21627
+ text: string;
21628
+ kind: "SHELL" | "CODE";
21629
+ truncated: boolean;
21630
+ cwd?: string | undefined;
21631
+ } | undefined;
21632
+ action?: string | undefined;
21633
+ targetId?: string | undefined;
21231
21634
  error?: {
21232
21635
  code: string;
21233
21636
  message: string;
21234
21637
  } | undefined;
21638
+ toolName?: string | undefined;
21235
21639
  output?: {
21236
21640
  text: string;
21237
21641
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -21245,10 +21649,19 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
21245
21649
  kind: "EXECUTION";
21246
21650
  execution: {
21247
21651
  kind: "SHELL" | "CODE" | "CONTROL";
21652
+ source?: {
21653
+ text: string;
21654
+ kind: "SHELL" | "CODE";
21655
+ truncated: boolean;
21656
+ cwd?: string | undefined;
21657
+ } | undefined;
21658
+ action?: string | undefined;
21659
+ targetId?: string | undefined;
21248
21660
  error?: {
21249
21661
  code: string;
21250
21662
  message: string;
21251
21663
  } | undefined;
21664
+ toolName?: string | undefined;
21252
21665
  output?: {
21253
21666
  text: string;
21254
21667
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -21262,10 +21675,19 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
21262
21675
  kind: "EXECUTION";
21263
21676
  execution: {
21264
21677
  kind: "SHELL" | "CODE" | "CONTROL";
21678
+ source?: {
21679
+ text: string;
21680
+ kind: "SHELL" | "CODE";
21681
+ truncated: boolean;
21682
+ cwd?: string | undefined;
21683
+ } | undefined;
21684
+ action?: string | undefined;
21685
+ targetId?: string | undefined;
21265
21686
  error?: {
21266
21687
  code: string;
21267
21688
  message: string;
21268
21689
  } | undefined;
21690
+ toolName?: string | undefined;
21269
21691
  output?: {
21270
21692
  text: string;
21271
21693
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -21282,9 +21704,9 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
21282
21704
  truncated: boolean;
21283
21705
  cwd: string | null;
21284
21706
  outputPreview: string;
21285
- outputRef: string | null;
21286
21707
  exitCode: number | null;
21287
21708
  title?: string | undefined;
21709
+ toolName?: string | undefined;
21288
21710
  output?: {
21289
21711
  text: string;
21290
21712
  truncated: boolean;
@@ -21293,10 +21715,19 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
21293
21715
  kind: "EXECUTION";
21294
21716
  execution: {
21295
21717
  kind: "SHELL" | "CODE" | "CONTROL";
21718
+ source?: {
21719
+ text: string;
21720
+ kind: "SHELL" | "CODE";
21721
+ truncated: boolean;
21722
+ cwd?: string | undefined;
21723
+ } | undefined;
21724
+ action?: string | undefined;
21725
+ targetId?: string | undefined;
21296
21726
  error?: {
21297
21727
  code: string;
21298
21728
  message: string;
21299
21729
  } | undefined;
21730
+ toolName?: string | undefined;
21300
21731
  output?: {
21301
21732
  text: string;
21302
21733
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -21313,9 +21744,9 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
21313
21744
  truncated: boolean;
21314
21745
  cwd: string | null;
21315
21746
  outputPreview: string;
21316
- outputRef: string | null;
21317
21747
  exitCode: number | null;
21318
21748
  title?: string | undefined;
21749
+ toolName?: string | undefined;
21319
21750
  output?: {
21320
21751
  text: string;
21321
21752
  truncated: boolean;
@@ -21324,10 +21755,19 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
21324
21755
  kind: "EXECUTION";
21325
21756
  execution: {
21326
21757
  kind: "SHELL" | "CODE" | "CONTROL";
21758
+ source?: {
21759
+ text: string;
21760
+ kind: "SHELL" | "CODE";
21761
+ truncated: boolean;
21762
+ cwd?: string | undefined;
21763
+ } | undefined;
21764
+ action?: string | undefined;
21765
+ targetId?: string | undefined;
21327
21766
  error?: {
21328
21767
  code: string;
21329
21768
  message: string;
21330
21769
  } | undefined;
21770
+ toolName?: string | undefined;
21331
21771
  output?: {
21332
21772
  text: string;
21333
21773
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -21348,9 +21788,9 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
21348
21788
  truncated: boolean;
21349
21789
  cwd: string | null;
21350
21790
  outputPreview: string;
21351
- outputRef: string | null;
21352
21791
  exitCode: number | null;
21353
21792
  title?: string | undefined;
21793
+ toolName?: string | undefined;
21354
21794
  output?: {
21355
21795
  text: string;
21356
21796
  truncated: boolean;
@@ -21359,10 +21799,19 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
21359
21799
  kind: "EXECUTION";
21360
21800
  execution: {
21361
21801
  kind: "SHELL" | "CODE" | "CONTROL";
21802
+ source?: {
21803
+ text: string;
21804
+ kind: "SHELL" | "CODE";
21805
+ truncated: boolean;
21806
+ cwd?: string | undefined;
21807
+ } | undefined;
21808
+ action?: string | undefined;
21809
+ targetId?: string | undefined;
21362
21810
  error?: {
21363
21811
  code: string;
21364
21812
  message: string;
21365
21813
  } | undefined;
21814
+ toolName?: string | undefined;
21366
21815
  output?: {
21367
21816
  text: string;
21368
21817
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -21409,9 +21858,9 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
21409
21858
  truncated: boolean;
21410
21859
  cwd: string | null;
21411
21860
  outputPreview: string;
21412
- outputRef: string | null;
21413
21861
  exitCode: number | null;
21414
21862
  title?: string | undefined;
21863
+ toolName?: string | undefined;
21415
21864
  output?: {
21416
21865
  text: string;
21417
21866
  truncated: boolean;
@@ -21420,10 +21869,19 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
21420
21869
  kind: "EXECUTION";
21421
21870
  execution: {
21422
21871
  kind: "SHELL" | "CODE" | "CONTROL";
21872
+ source?: {
21873
+ text: string;
21874
+ kind: "SHELL" | "CODE";
21875
+ truncated: boolean;
21876
+ cwd?: string | undefined;
21877
+ } | undefined;
21878
+ action?: string | undefined;
21879
+ targetId?: string | undefined;
21423
21880
  error?: {
21424
21881
  code: string;
21425
21882
  message: string;
21426
21883
  } | undefined;
21884
+ toolName?: string | undefined;
21427
21885
  output?: {
21428
21886
  text: string;
21429
21887
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -21535,7 +21993,6 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
21535
21993
  change: z.ZodEnum<["ADDED", "MODIFIED", "DELETED", "RENAMED", "COPIED", "TYPE_CHANGED"]>;
21536
21994
  additions: z.ZodNullable<z.ZodNumber>;
21537
21995
  deletions: z.ZodNullable<z.ZodNumber>;
21538
- diffAvailable: z.ZodBoolean;
21539
21996
  changeId: z.ZodOptional<z.ZodString>;
21540
21997
  diff: z.ZodOptional<z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
21541
21998
  status: z.ZodLiteral<"available">;
@@ -21573,7 +22030,6 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
21573
22030
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
21574
22031
  additions: number | null;
21575
22032
  deletions: number | null;
21576
- diffAvailable: boolean;
21577
22033
  diff?: {
21578
22034
  status: "available";
21579
22035
  source: "TOOL_CHANGE";
@@ -21591,7 +22047,6 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
21591
22047
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
21592
22048
  additions: number | null;
21593
22049
  deletions: number | null;
21594
- diffAvailable: boolean;
21595
22050
  diff?: {
21596
22051
  status: "available";
21597
22052
  source: "TOOL_CHANGE";
@@ -21611,7 +22066,6 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
21611
22066
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
21612
22067
  additions: number | null;
21613
22068
  deletions: number | null;
21614
- diffAvailable: boolean;
21615
22069
  diff?: {
21616
22070
  status: "available";
21617
22071
  source: "TOOL_CHANGE";
@@ -21631,7 +22085,6 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
21631
22085
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
21632
22086
  additions: number | null;
21633
22087
  deletions: number | null;
21634
- diffAvailable: boolean;
21635
22088
  diff?: {
21636
22089
  status: "available";
21637
22090
  source: "TOOL_CHANGE";
@@ -21655,7 +22108,6 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
21655
22108
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
21656
22109
  additions: number | null;
21657
22110
  deletions: number | null;
21658
- diffAvailable: boolean;
21659
22111
  diff?: {
21660
22112
  status: "available";
21661
22113
  source: "TOOL_CHANGE";
@@ -21705,7 +22157,6 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
21705
22157
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
21706
22158
  additions: number | null;
21707
22159
  deletions: number | null;
21708
- diffAvailable: boolean;
21709
22160
  diff?: {
21710
22161
  status: "available";
21711
22162
  source: "TOOL_CHANGE";
@@ -23283,9 +23734,9 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
23283
23734
  truncated: boolean;
23284
23735
  cwd: string | null;
23285
23736
  outputPreview: string;
23286
- outputRef: string | null;
23287
23737
  exitCode: number | null;
23288
23738
  title?: string | undefined;
23739
+ toolName?: string | undefined;
23289
23740
  output?: {
23290
23741
  text: string;
23291
23742
  truncated: boolean;
@@ -23294,10 +23745,19 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
23294
23745
  kind: "EXECUTION";
23295
23746
  execution: {
23296
23747
  kind: "SHELL" | "CODE" | "CONTROL";
23748
+ source?: {
23749
+ text: string;
23750
+ kind: "SHELL" | "CODE";
23751
+ truncated: boolean;
23752
+ cwd?: string | undefined;
23753
+ } | undefined;
23754
+ action?: string | undefined;
23755
+ targetId?: string | undefined;
23297
23756
  error?: {
23298
23757
  code: string;
23299
23758
  message: string;
23300
23759
  } | undefined;
23760
+ toolName?: string | undefined;
23301
23761
  output?: {
23302
23762
  text: string;
23303
23763
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -23344,7 +23804,6 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
23344
23804
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
23345
23805
  additions: number | null;
23346
23806
  deletions: number | null;
23347
- diffAvailable: boolean;
23348
23807
  diff?: {
23349
23808
  status: "available";
23350
23809
  source: "TOOL_CHANGE";
@@ -23958,9 +24417,9 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
23958
24417
  truncated: boolean;
23959
24418
  cwd: string | null;
23960
24419
  outputPreview: string;
23961
- outputRef: string | null;
23962
24420
  exitCode: number | null;
23963
24421
  title?: string | undefined;
24422
+ toolName?: string | undefined;
23964
24423
  output?: {
23965
24424
  text: string;
23966
24425
  truncated: boolean;
@@ -23969,10 +24428,19 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
23969
24428
  kind: "EXECUTION";
23970
24429
  execution: {
23971
24430
  kind: "SHELL" | "CODE" | "CONTROL";
24431
+ source?: {
24432
+ text: string;
24433
+ kind: "SHELL" | "CODE";
24434
+ truncated: boolean;
24435
+ cwd?: string | undefined;
24436
+ } | undefined;
24437
+ action?: string | undefined;
24438
+ targetId?: string | undefined;
23972
24439
  error?: {
23973
24440
  code: string;
23974
24441
  message: string;
23975
24442
  } | undefined;
24443
+ toolName?: string | undefined;
23976
24444
  output?: {
23977
24445
  text: string;
23978
24446
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -24019,7 +24487,6 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
24019
24487
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
24020
24488
  additions: number | null;
24021
24489
  deletions: number | null;
24022
- diffAvailable: boolean;
24023
24490
  diff?: {
24024
24491
  status: "available";
24025
24492
  source: "TOOL_CHANGE";
@@ -24301,7 +24768,6 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
24301
24768
  imageGeneration: z.ZodOptional<z.ZodNever>;
24302
24769
  baseUrl: z.ZodString;
24303
24770
  sortOrder: z.ZodNumber;
24304
- apiKeyConfigured: z.ZodOptional<z.ZodBoolean>;
24305
24771
  credentialType: z.ZodOptional<z.ZodEnum<["INLINE_API_KEY", "CREDENTIAL_REF"]>>;
24306
24772
  credentialConfigured: z.ZodOptional<z.ZodBoolean>;
24307
24773
  lastTestedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -24374,7 +24840,6 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
24374
24840
  apiKey?: undefined;
24375
24841
  access?: undefined;
24376
24842
  imageGeneration?: undefined;
24377
- apiKeyConfigured?: boolean | undefined;
24378
24843
  credentialType?: "INLINE_API_KEY" | "CREDENTIAL_REF" | undefined;
24379
24844
  credentialConfigured?: boolean | undefined;
24380
24845
  lastTestedAt?: number | null | undefined;
@@ -24409,7 +24874,6 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
24409
24874
  apiKey?: undefined;
24410
24875
  access?: undefined;
24411
24876
  imageGeneration?: undefined;
24412
- apiKeyConfigured?: boolean | undefined;
24413
24877
  credentialType?: "INLINE_API_KEY" | "CREDENTIAL_REF" | undefined;
24414
24878
  credentialConfigured?: boolean | undefined;
24415
24879
  lastTestedAt?: number | null | undefined;
@@ -24875,9 +25339,9 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
24875
25339
  truncated: boolean;
24876
25340
  cwd: string | null;
24877
25341
  outputPreview: string;
24878
- outputRef: string | null;
24879
25342
  exitCode: number | null;
24880
25343
  title?: string | undefined;
25344
+ toolName?: string | undefined;
24881
25345
  output?: {
24882
25346
  text: string;
24883
25347
  truncated: boolean;
@@ -24886,10 +25350,19 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
24886
25350
  kind: "EXECUTION";
24887
25351
  execution: {
24888
25352
  kind: "SHELL" | "CODE" | "CONTROL";
25353
+ source?: {
25354
+ text: string;
25355
+ kind: "SHELL" | "CODE";
25356
+ truncated: boolean;
25357
+ cwd?: string | undefined;
25358
+ } | undefined;
25359
+ action?: string | undefined;
25360
+ targetId?: string | undefined;
24889
25361
  error?: {
24890
25362
  code: string;
24891
25363
  message: string;
24892
25364
  } | undefined;
25365
+ toolName?: string | undefined;
24893
25366
  output?: {
24894
25367
  text: string;
24895
25368
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -24936,7 +25409,6 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
24936
25409
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
24937
25410
  additions: number | null;
24938
25411
  deletions: number | null;
24939
- diffAvailable: boolean;
24940
25412
  diff?: {
24941
25413
  status: "available";
24942
25414
  source: "TOOL_CHANGE";
@@ -25615,9 +26087,9 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
25615
26087
  truncated: boolean;
25616
26088
  cwd: string | null;
25617
26089
  outputPreview: string;
25618
- outputRef: string | null;
25619
26090
  exitCode: number | null;
25620
26091
  title?: string | undefined;
26092
+ toolName?: string | undefined;
25621
26093
  output?: {
25622
26094
  text: string;
25623
26095
  truncated: boolean;
@@ -25626,10 +26098,19 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
25626
26098
  kind: "EXECUTION";
25627
26099
  execution: {
25628
26100
  kind: "SHELL" | "CODE" | "CONTROL";
26101
+ source?: {
26102
+ text: string;
26103
+ kind: "SHELL" | "CODE";
26104
+ truncated: boolean;
26105
+ cwd?: string | undefined;
26106
+ } | undefined;
26107
+ action?: string | undefined;
26108
+ targetId?: string | undefined;
25629
26109
  error?: {
25630
26110
  code: string;
25631
26111
  message: string;
25632
26112
  } | undefined;
26113
+ toolName?: string | undefined;
25633
26114
  output?: {
25634
26115
  text: string;
25635
26116
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -25676,7 +26157,6 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
25676
26157
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
25677
26158
  additions: number | null;
25678
26159
  deletions: number | null;
25679
- diffAvailable: boolean;
25680
26160
  diff?: {
25681
26161
  status: "available";
25682
26162
  source: "TOOL_CHANGE";
@@ -26355,9 +26835,9 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
26355
26835
  truncated: boolean;
26356
26836
  cwd: string | null;
26357
26837
  outputPreview: string;
26358
- outputRef: string | null;
26359
26838
  exitCode: number | null;
26360
26839
  title?: string | undefined;
26840
+ toolName?: string | undefined;
26361
26841
  output?: {
26362
26842
  text: string;
26363
26843
  truncated: boolean;
@@ -26366,10 +26846,19 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
26366
26846
  kind: "EXECUTION";
26367
26847
  execution: {
26368
26848
  kind: "SHELL" | "CODE" | "CONTROL";
26849
+ source?: {
26850
+ text: string;
26851
+ kind: "SHELL" | "CODE";
26852
+ truncated: boolean;
26853
+ cwd?: string | undefined;
26854
+ } | undefined;
26855
+ action?: string | undefined;
26856
+ targetId?: string | undefined;
26369
26857
  error?: {
26370
26858
  code: string;
26371
26859
  message: string;
26372
26860
  } | undefined;
26861
+ toolName?: string | undefined;
26373
26862
  output?: {
26374
26863
  text: string;
26375
26864
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -26416,7 +26905,6 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
26416
26905
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
26417
26906
  additions: number | null;
26418
26907
  deletions: number | null;
26419
- diffAvailable: boolean;
26420
26908
  diff?: {
26421
26909
  status: "available";
26422
26910
  source: "TOOL_CHANGE";
@@ -27095,9 +27583,9 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
27095
27583
  truncated: boolean;
27096
27584
  cwd: string | null;
27097
27585
  outputPreview: string;
27098
- outputRef: string | null;
27099
27586
  exitCode: number | null;
27100
27587
  title?: string | undefined;
27588
+ toolName?: string | undefined;
27101
27589
  output?: {
27102
27590
  text: string;
27103
27591
  truncated: boolean;
@@ -27106,10 +27594,19 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
27106
27594
  kind: "EXECUTION";
27107
27595
  execution: {
27108
27596
  kind: "SHELL" | "CODE" | "CONTROL";
27597
+ source?: {
27598
+ text: string;
27599
+ kind: "SHELL" | "CODE";
27600
+ truncated: boolean;
27601
+ cwd?: string | undefined;
27602
+ } | undefined;
27603
+ action?: string | undefined;
27604
+ targetId?: string | undefined;
27109
27605
  error?: {
27110
27606
  code: string;
27111
27607
  message: string;
27112
27608
  } | undefined;
27609
+ toolName?: string | undefined;
27113
27610
  output?: {
27114
27611
  text: string;
27115
27612
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -27156,7 +27653,6 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
27156
27653
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
27157
27654
  additions: number | null;
27158
27655
  deletions: number | null;
27159
- diffAvailable: boolean;
27160
27656
  diff?: {
27161
27657
  status: "available";
27162
27658
  source: "TOOL_CHANGE";
@@ -27435,7 +27931,6 @@ export declare const hostedConversationModelOptionsSchema: z.ZodEffects<z.ZodObj
27435
27931
  imageGeneration: z.ZodOptional<z.ZodNever>;
27436
27932
  baseUrl: z.ZodString;
27437
27933
  sortOrder: z.ZodNumber;
27438
- apiKeyConfigured: z.ZodOptional<z.ZodBoolean>;
27439
27934
  credentialType: z.ZodOptional<z.ZodEnum<["INLINE_API_KEY", "CREDENTIAL_REF"]>>;
27440
27935
  credentialConfigured: z.ZodOptional<z.ZodBoolean>;
27441
27936
  lastTestedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -27508,7 +28003,6 @@ export declare const hostedConversationModelOptionsSchema: z.ZodEffects<z.ZodObj
27508
28003
  apiKey?: undefined;
27509
28004
  access?: undefined;
27510
28005
  imageGeneration?: undefined;
27511
- apiKeyConfigured?: boolean | undefined;
27512
28006
  credentialType?: "INLINE_API_KEY" | "CREDENTIAL_REF" | undefined;
27513
28007
  credentialConfigured?: boolean | undefined;
27514
28008
  lastTestedAt?: number | null | undefined;
@@ -27543,7 +28037,6 @@ export declare const hostedConversationModelOptionsSchema: z.ZodEffects<z.ZodObj
27543
28037
  apiKey?: undefined;
27544
28038
  access?: undefined;
27545
28039
  imageGeneration?: undefined;
27546
- apiKeyConfigured?: boolean | undefined;
27547
28040
  credentialType?: "INLINE_API_KEY" | "CREDENTIAL_REF" | undefined;
27548
28041
  credentialConfigured?: boolean | undefined;
27549
28042
  lastTestedAt?: number | null | undefined;
@@ -29479,11 +29972,11 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
29479
29972
  } & {
29480
29973
  kind: z.ZodLiteral<"command_execution">;
29481
29974
  payload: z.ZodObject<{
29975
+ toolName: z.ZodOptional<z.ZodString>;
29482
29976
  title: z.ZodOptional<z.ZodString>;
29483
29977
  command: z.ZodString;
29484
29978
  cwd: z.ZodNullable<z.ZodString>;
29485
29979
  outputPreview: z.ZodString;
29486
- outputRef: z.ZodNullable<z.ZodString>;
29487
29980
  exitCode: z.ZodNullable<z.ZodNumber>;
29488
29981
  durationMs: z.ZodNullable<z.ZodNumber>;
29489
29982
  truncated: z.ZodBoolean;
@@ -29501,6 +29994,25 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
29501
29994
  kind: z.ZodLiteral<"EXECUTION">;
29502
29995
  execution: z.ZodObject<{
29503
29996
  kind: z.ZodEnum<["SHELL", "CODE", "CONTROL"]>;
29997
+ toolName: z.ZodOptional<z.ZodString>;
29998
+ action: z.ZodOptional<z.ZodString>;
29999
+ targetId: z.ZodOptional<z.ZodString>;
30000
+ source: z.ZodOptional<z.ZodObject<{
30001
+ kind: z.ZodEnum<["SHELL", "CODE"]>;
30002
+ text: z.ZodString;
30003
+ cwd: z.ZodOptional<z.ZodString>;
30004
+ truncated: z.ZodBoolean;
30005
+ }, "strict", z.ZodTypeAny, {
30006
+ text: string;
30007
+ kind: "SHELL" | "CODE";
30008
+ truncated: boolean;
30009
+ cwd?: string | undefined;
30010
+ }, {
30011
+ text: string;
30012
+ kind: "SHELL" | "CODE";
30013
+ truncated: boolean;
30014
+ cwd?: string | undefined;
30015
+ }>>;
29504
30016
  output: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
29505
30017
  channel: z.ZodEnum<["STDOUT", "STDERR", "COMBINED", "TEXT"]>;
29506
30018
  text: z.ZodString;
@@ -29539,10 +30051,19 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
29539
30051
  }>>;
29540
30052
  }, "strict", z.ZodTypeAny, {
29541
30053
  kind: "SHELL" | "CODE" | "CONTROL";
30054
+ source?: {
30055
+ text: string;
30056
+ kind: "SHELL" | "CODE";
30057
+ truncated: boolean;
30058
+ cwd?: string | undefined;
30059
+ } | undefined;
30060
+ action?: string | undefined;
30061
+ targetId?: string | undefined;
29542
30062
  error?: {
29543
30063
  code: string;
29544
30064
  message: string;
29545
30065
  } | undefined;
30066
+ toolName?: string | undefined;
29546
30067
  output?: {
29547
30068
  text: string;
29548
30069
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -29553,10 +30074,19 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
29553
30074
  } | undefined;
29554
30075
  }, {
29555
30076
  kind: "SHELL" | "CODE" | "CONTROL";
30077
+ source?: {
30078
+ text: string;
30079
+ kind: "SHELL" | "CODE";
30080
+ truncated: boolean;
30081
+ cwd?: string | undefined;
30082
+ } | undefined;
30083
+ action?: string | undefined;
30084
+ targetId?: string | undefined;
29556
30085
  error?: {
29557
30086
  code: string;
29558
30087
  message: string;
29559
30088
  } | undefined;
30089
+ toolName?: string | undefined;
29560
30090
  output?: {
29561
30091
  text: string;
29562
30092
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -29570,10 +30100,19 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
29570
30100
  kind: "EXECUTION";
29571
30101
  execution: {
29572
30102
  kind: "SHELL" | "CODE" | "CONTROL";
30103
+ source?: {
30104
+ text: string;
30105
+ kind: "SHELL" | "CODE";
30106
+ truncated: boolean;
30107
+ cwd?: string | undefined;
30108
+ } | undefined;
30109
+ action?: string | undefined;
30110
+ targetId?: string | undefined;
29573
30111
  error?: {
29574
30112
  code: string;
29575
30113
  message: string;
29576
30114
  } | undefined;
30115
+ toolName?: string | undefined;
29577
30116
  output?: {
29578
30117
  text: string;
29579
30118
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -29587,10 +30126,19 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
29587
30126
  kind: "EXECUTION";
29588
30127
  execution: {
29589
30128
  kind: "SHELL" | "CODE" | "CONTROL";
30129
+ source?: {
30130
+ text: string;
30131
+ kind: "SHELL" | "CODE";
30132
+ truncated: boolean;
30133
+ cwd?: string | undefined;
30134
+ } | undefined;
30135
+ action?: string | undefined;
30136
+ targetId?: string | undefined;
29590
30137
  error?: {
29591
30138
  code: string;
29592
30139
  message: string;
29593
30140
  } | undefined;
30141
+ toolName?: string | undefined;
29594
30142
  output?: {
29595
30143
  text: string;
29596
30144
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -29604,10 +30152,19 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
29604
30152
  kind: "EXECUTION";
29605
30153
  execution: {
29606
30154
  kind: "SHELL" | "CODE" | "CONTROL";
30155
+ source?: {
30156
+ text: string;
30157
+ kind: "SHELL" | "CODE";
30158
+ truncated: boolean;
30159
+ cwd?: string | undefined;
30160
+ } | undefined;
30161
+ action?: string | undefined;
30162
+ targetId?: string | undefined;
29607
30163
  error?: {
29608
30164
  code: string;
29609
30165
  message: string;
29610
30166
  } | undefined;
30167
+ toolName?: string | undefined;
29611
30168
  output?: {
29612
30169
  text: string;
29613
30170
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -29621,10 +30178,19 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
29621
30178
  kind: "EXECUTION";
29622
30179
  execution: {
29623
30180
  kind: "SHELL" | "CODE" | "CONTROL";
30181
+ source?: {
30182
+ text: string;
30183
+ kind: "SHELL" | "CODE";
30184
+ truncated: boolean;
30185
+ cwd?: string | undefined;
30186
+ } | undefined;
30187
+ action?: string | undefined;
30188
+ targetId?: string | undefined;
29624
30189
  error?: {
29625
30190
  code: string;
29626
30191
  message: string;
29627
30192
  } | undefined;
30193
+ toolName?: string | undefined;
29628
30194
  output?: {
29629
30195
  text: string;
29630
30196
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -29641,9 +30207,9 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
29641
30207
  truncated: boolean;
29642
30208
  cwd: string | null;
29643
30209
  outputPreview: string;
29644
- outputRef: string | null;
29645
30210
  exitCode: number | null;
29646
30211
  title?: string | undefined;
30212
+ toolName?: string | undefined;
29647
30213
  output?: {
29648
30214
  text: string;
29649
30215
  truncated: boolean;
@@ -29652,10 +30218,19 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
29652
30218
  kind: "EXECUTION";
29653
30219
  execution: {
29654
30220
  kind: "SHELL" | "CODE" | "CONTROL";
30221
+ source?: {
30222
+ text: string;
30223
+ kind: "SHELL" | "CODE";
30224
+ truncated: boolean;
30225
+ cwd?: string | undefined;
30226
+ } | undefined;
30227
+ action?: string | undefined;
30228
+ targetId?: string | undefined;
29655
30229
  error?: {
29656
30230
  code: string;
29657
30231
  message: string;
29658
30232
  } | undefined;
30233
+ toolName?: string | undefined;
29659
30234
  output?: {
29660
30235
  text: string;
29661
30236
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -29672,9 +30247,9 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
29672
30247
  truncated: boolean;
29673
30248
  cwd: string | null;
29674
30249
  outputPreview: string;
29675
- outputRef: string | null;
29676
30250
  exitCode: number | null;
29677
30251
  title?: string | undefined;
30252
+ toolName?: string | undefined;
29678
30253
  output?: {
29679
30254
  text: string;
29680
30255
  truncated: boolean;
@@ -29683,10 +30258,19 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
29683
30258
  kind: "EXECUTION";
29684
30259
  execution: {
29685
30260
  kind: "SHELL" | "CODE" | "CONTROL";
30261
+ source?: {
30262
+ text: string;
30263
+ kind: "SHELL" | "CODE";
30264
+ truncated: boolean;
30265
+ cwd?: string | undefined;
30266
+ } | undefined;
30267
+ action?: string | undefined;
30268
+ targetId?: string | undefined;
29686
30269
  error?: {
29687
30270
  code: string;
29688
30271
  message: string;
29689
30272
  } | undefined;
30273
+ toolName?: string | undefined;
29690
30274
  output?: {
29691
30275
  text: string;
29692
30276
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -29707,9 +30291,9 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
29707
30291
  truncated: boolean;
29708
30292
  cwd: string | null;
29709
30293
  outputPreview: string;
29710
- outputRef: string | null;
29711
30294
  exitCode: number | null;
29712
30295
  title?: string | undefined;
30296
+ toolName?: string | undefined;
29713
30297
  output?: {
29714
30298
  text: string;
29715
30299
  truncated: boolean;
@@ -29718,10 +30302,19 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
29718
30302
  kind: "EXECUTION";
29719
30303
  execution: {
29720
30304
  kind: "SHELL" | "CODE" | "CONTROL";
30305
+ source?: {
30306
+ text: string;
30307
+ kind: "SHELL" | "CODE";
30308
+ truncated: boolean;
30309
+ cwd?: string | undefined;
30310
+ } | undefined;
30311
+ action?: string | undefined;
30312
+ targetId?: string | undefined;
29721
30313
  error?: {
29722
30314
  code: string;
29723
30315
  message: string;
29724
30316
  } | undefined;
30317
+ toolName?: string | undefined;
29725
30318
  output?: {
29726
30319
  text: string;
29727
30320
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -29768,9 +30361,9 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
29768
30361
  truncated: boolean;
29769
30362
  cwd: string | null;
29770
30363
  outputPreview: string;
29771
- outputRef: string | null;
29772
30364
  exitCode: number | null;
29773
30365
  title?: string | undefined;
30366
+ toolName?: string | undefined;
29774
30367
  output?: {
29775
30368
  text: string;
29776
30369
  truncated: boolean;
@@ -29779,10 +30372,19 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
29779
30372
  kind: "EXECUTION";
29780
30373
  execution: {
29781
30374
  kind: "SHELL" | "CODE" | "CONTROL";
30375
+ source?: {
30376
+ text: string;
30377
+ kind: "SHELL" | "CODE";
30378
+ truncated: boolean;
30379
+ cwd?: string | undefined;
30380
+ } | undefined;
30381
+ action?: string | undefined;
30382
+ targetId?: string | undefined;
29782
30383
  error?: {
29783
30384
  code: string;
29784
30385
  message: string;
29785
30386
  } | undefined;
30387
+ toolName?: string | undefined;
29786
30388
  output?: {
29787
30389
  text: string;
29788
30390
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -29894,7 +30496,6 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
29894
30496
  change: z.ZodEnum<["ADDED", "MODIFIED", "DELETED", "RENAMED", "COPIED", "TYPE_CHANGED"]>;
29895
30497
  additions: z.ZodNullable<z.ZodNumber>;
29896
30498
  deletions: z.ZodNullable<z.ZodNumber>;
29897
- diffAvailable: z.ZodBoolean;
29898
30499
  changeId: z.ZodOptional<z.ZodString>;
29899
30500
  diff: z.ZodOptional<z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
29900
30501
  status: z.ZodLiteral<"available">;
@@ -29932,7 +30533,6 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
29932
30533
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
29933
30534
  additions: number | null;
29934
30535
  deletions: number | null;
29935
- diffAvailable: boolean;
29936
30536
  diff?: {
29937
30537
  status: "available";
29938
30538
  source: "TOOL_CHANGE";
@@ -29950,7 +30550,6 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
29950
30550
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
29951
30551
  additions: number | null;
29952
30552
  deletions: number | null;
29953
- diffAvailable: boolean;
29954
30553
  diff?: {
29955
30554
  status: "available";
29956
30555
  source: "TOOL_CHANGE";
@@ -29970,7 +30569,6 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
29970
30569
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
29971
30570
  additions: number | null;
29972
30571
  deletions: number | null;
29973
- diffAvailable: boolean;
29974
30572
  diff?: {
29975
30573
  status: "available";
29976
30574
  source: "TOOL_CHANGE";
@@ -29990,7 +30588,6 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
29990
30588
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
29991
30589
  additions: number | null;
29992
30590
  deletions: number | null;
29993
- diffAvailable: boolean;
29994
30591
  diff?: {
29995
30592
  status: "available";
29996
30593
  source: "TOOL_CHANGE";
@@ -30014,7 +30611,6 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
30014
30611
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
30015
30612
  additions: number | null;
30016
30613
  deletions: number | null;
30017
- diffAvailable: boolean;
30018
30614
  diff?: {
30019
30615
  status: "available";
30020
30616
  source: "TOOL_CHANGE";
@@ -30064,7 +30660,6 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
30064
30660
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
30065
30661
  additions: number | null;
30066
30662
  deletions: number | null;
30067
- diffAvailable: boolean;
30068
30663
  diff?: {
30069
30664
  status: "available";
30070
30665
  source: "TOOL_CHANGE";
@@ -31642,9 +32237,9 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
31642
32237
  truncated: boolean;
31643
32238
  cwd: string | null;
31644
32239
  outputPreview: string;
31645
- outputRef: string | null;
31646
32240
  exitCode: number | null;
31647
32241
  title?: string | undefined;
32242
+ toolName?: string | undefined;
31648
32243
  output?: {
31649
32244
  text: string;
31650
32245
  truncated: boolean;
@@ -31653,10 +32248,19 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
31653
32248
  kind: "EXECUTION";
31654
32249
  execution: {
31655
32250
  kind: "SHELL" | "CODE" | "CONTROL";
32251
+ source?: {
32252
+ text: string;
32253
+ kind: "SHELL" | "CODE";
32254
+ truncated: boolean;
32255
+ cwd?: string | undefined;
32256
+ } | undefined;
32257
+ action?: string | undefined;
32258
+ targetId?: string | undefined;
31656
32259
  error?: {
31657
32260
  code: string;
31658
32261
  message: string;
31659
32262
  } | undefined;
32263
+ toolName?: string | undefined;
31660
32264
  output?: {
31661
32265
  text: string;
31662
32266
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -31703,7 +32307,6 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
31703
32307
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
31704
32308
  additions: number | null;
31705
32309
  deletions: number | null;
31706
- diffAvailable: boolean;
31707
32310
  diff?: {
31708
32311
  status: "available";
31709
32312
  source: "TOOL_CHANGE";
@@ -32317,9 +32920,9 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
32317
32920
  truncated: boolean;
32318
32921
  cwd: string | null;
32319
32922
  outputPreview: string;
32320
- outputRef: string | null;
32321
32923
  exitCode: number | null;
32322
32924
  title?: string | undefined;
32925
+ toolName?: string | undefined;
32323
32926
  output?: {
32324
32927
  text: string;
32325
32928
  truncated: boolean;
@@ -32328,10 +32931,19 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
32328
32931
  kind: "EXECUTION";
32329
32932
  execution: {
32330
32933
  kind: "SHELL" | "CODE" | "CONTROL";
32934
+ source?: {
32935
+ text: string;
32936
+ kind: "SHELL" | "CODE";
32937
+ truncated: boolean;
32938
+ cwd?: string | undefined;
32939
+ } | undefined;
32940
+ action?: string | undefined;
32941
+ targetId?: string | undefined;
32331
32942
  error?: {
32332
32943
  code: string;
32333
32944
  message: string;
32334
32945
  } | undefined;
32946
+ toolName?: string | undefined;
32335
32947
  output?: {
32336
32948
  text: string;
32337
32949
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -32378,7 +32990,6 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
32378
32990
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
32379
32991
  additions: number | null;
32380
32992
  deletions: number | null;
32381
- diffAvailable: boolean;
32382
32993
  diff?: {
32383
32994
  status: "available";
32384
32995
  source: "TOOL_CHANGE";
@@ -32996,9 +33607,9 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
32996
33607
  truncated: boolean;
32997
33608
  cwd: string | null;
32998
33609
  outputPreview: string;
32999
- outputRef: string | null;
33000
33610
  exitCode: number | null;
33001
33611
  title?: string | undefined;
33612
+ toolName?: string | undefined;
33002
33613
  output?: {
33003
33614
  text: string;
33004
33615
  truncated: boolean;
@@ -33007,10 +33618,19 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
33007
33618
  kind: "EXECUTION";
33008
33619
  execution: {
33009
33620
  kind: "SHELL" | "CODE" | "CONTROL";
33621
+ source?: {
33622
+ text: string;
33623
+ kind: "SHELL" | "CODE";
33624
+ truncated: boolean;
33625
+ cwd?: string | undefined;
33626
+ } | undefined;
33627
+ action?: string | undefined;
33628
+ targetId?: string | undefined;
33010
33629
  error?: {
33011
33630
  code: string;
33012
33631
  message: string;
33013
33632
  } | undefined;
33633
+ toolName?: string | undefined;
33014
33634
  output?: {
33015
33635
  text: string;
33016
33636
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -33057,7 +33677,6 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
33057
33677
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
33058
33678
  additions: number | null;
33059
33679
  deletions: number | null;
33060
- diffAvailable: boolean;
33061
33680
  diff?: {
33062
33681
  status: "available";
33063
33682
  source: "TOOL_CHANGE";
@@ -33674,9 +34293,9 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
33674
34293
  truncated: boolean;
33675
34294
  cwd: string | null;
33676
34295
  outputPreview: string;
33677
- outputRef: string | null;
33678
34296
  exitCode: number | null;
33679
34297
  title?: string | undefined;
34298
+ toolName?: string | undefined;
33680
34299
  output?: {
33681
34300
  text: string;
33682
34301
  truncated: boolean;
@@ -33685,10 +34304,19 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
33685
34304
  kind: "EXECUTION";
33686
34305
  execution: {
33687
34306
  kind: "SHELL" | "CODE" | "CONTROL";
34307
+ source?: {
34308
+ text: string;
34309
+ kind: "SHELL" | "CODE";
34310
+ truncated: boolean;
34311
+ cwd?: string | undefined;
34312
+ } | undefined;
34313
+ action?: string | undefined;
34314
+ targetId?: string | undefined;
33688
34315
  error?: {
33689
34316
  code: string;
33690
34317
  message: string;
33691
34318
  } | undefined;
34319
+ toolName?: string | undefined;
33692
34320
  output?: {
33693
34321
  text: string;
33694
34322
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -33735,7 +34363,6 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
33735
34363
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
33736
34364
  additions: number | null;
33737
34365
  deletions: number | null;
33738
- diffAvailable: boolean;
33739
34366
  diff?: {
33740
34367
  status: "available";
33741
34368
  source: "TOOL_CHANGE";
@@ -34333,7 +34960,6 @@ export declare const hostedConversationTemplateSwitchResultSchema: z.ZodEffects<
34333
34960
  imageGeneration: z.ZodOptional<z.ZodNever>;
34334
34961
  baseUrl: z.ZodString;
34335
34962
  sortOrder: z.ZodNumber;
34336
- apiKeyConfigured: z.ZodOptional<z.ZodBoolean>;
34337
34963
  credentialType: z.ZodOptional<z.ZodEnum<["INLINE_API_KEY", "CREDENTIAL_REF"]>>;
34338
34964
  credentialConfigured: z.ZodOptional<z.ZodBoolean>;
34339
34965
  lastTestedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -34406,7 +35032,6 @@ export declare const hostedConversationTemplateSwitchResultSchema: z.ZodEffects<
34406
35032
  apiKey?: undefined;
34407
35033
  access?: undefined;
34408
35034
  imageGeneration?: undefined;
34409
- apiKeyConfigured?: boolean | undefined;
34410
35035
  credentialType?: "INLINE_API_KEY" | "CREDENTIAL_REF" | undefined;
34411
35036
  credentialConfigured?: boolean | undefined;
34412
35037
  lastTestedAt?: number | null | undefined;
@@ -34441,7 +35066,6 @@ export declare const hostedConversationTemplateSwitchResultSchema: z.ZodEffects<
34441
35066
  apiKey?: undefined;
34442
35067
  access?: undefined;
34443
35068
  imageGeneration?: undefined;
34444
- apiKeyConfigured?: boolean | undefined;
34445
35069
  credentialType?: "INLINE_API_KEY" | "CREDENTIAL_REF" | undefined;
34446
35070
  credentialConfigured?: boolean | undefined;
34447
35071
  lastTestedAt?: number | null | undefined;
@@ -36881,11 +37505,11 @@ export declare const conversationSegmentSchema: z.ZodObject<{
36881
37505
  } & {
36882
37506
  kind: z.ZodLiteral<"command_execution">;
36883
37507
  payload: z.ZodObject<{
37508
+ toolName: z.ZodOptional<z.ZodString>;
36884
37509
  title: z.ZodOptional<z.ZodString>;
36885
37510
  command: z.ZodString;
36886
37511
  cwd: z.ZodNullable<z.ZodString>;
36887
37512
  outputPreview: z.ZodString;
36888
- outputRef: z.ZodNullable<z.ZodString>;
36889
37513
  exitCode: z.ZodNullable<z.ZodNumber>;
36890
37514
  durationMs: z.ZodNullable<z.ZodNumber>;
36891
37515
  truncated: z.ZodBoolean;
@@ -36903,6 +37527,25 @@ export declare const conversationSegmentSchema: z.ZodObject<{
36903
37527
  kind: z.ZodLiteral<"EXECUTION">;
36904
37528
  execution: z.ZodObject<{
36905
37529
  kind: z.ZodEnum<["SHELL", "CODE", "CONTROL"]>;
37530
+ toolName: z.ZodOptional<z.ZodString>;
37531
+ action: z.ZodOptional<z.ZodString>;
37532
+ targetId: z.ZodOptional<z.ZodString>;
37533
+ source: z.ZodOptional<z.ZodObject<{
37534
+ kind: z.ZodEnum<["SHELL", "CODE"]>;
37535
+ text: z.ZodString;
37536
+ cwd: z.ZodOptional<z.ZodString>;
37537
+ truncated: z.ZodBoolean;
37538
+ }, "strict", z.ZodTypeAny, {
37539
+ text: string;
37540
+ kind: "SHELL" | "CODE";
37541
+ truncated: boolean;
37542
+ cwd?: string | undefined;
37543
+ }, {
37544
+ text: string;
37545
+ kind: "SHELL" | "CODE";
37546
+ truncated: boolean;
37547
+ cwd?: string | undefined;
37548
+ }>>;
36906
37549
  output: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
36907
37550
  channel: z.ZodEnum<["STDOUT", "STDERR", "COMBINED", "TEXT"]>;
36908
37551
  text: z.ZodString;
@@ -36941,10 +37584,19 @@ export declare const conversationSegmentSchema: z.ZodObject<{
36941
37584
  }>>;
36942
37585
  }, "strict", z.ZodTypeAny, {
36943
37586
  kind: "SHELL" | "CODE" | "CONTROL";
37587
+ source?: {
37588
+ text: string;
37589
+ kind: "SHELL" | "CODE";
37590
+ truncated: boolean;
37591
+ cwd?: string | undefined;
37592
+ } | undefined;
37593
+ action?: string | undefined;
37594
+ targetId?: string | undefined;
36944
37595
  error?: {
36945
37596
  code: string;
36946
37597
  message: string;
36947
37598
  } | undefined;
37599
+ toolName?: string | undefined;
36948
37600
  output?: {
36949
37601
  text: string;
36950
37602
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -36955,10 +37607,19 @@ export declare const conversationSegmentSchema: z.ZodObject<{
36955
37607
  } | undefined;
36956
37608
  }, {
36957
37609
  kind: "SHELL" | "CODE" | "CONTROL";
37610
+ source?: {
37611
+ text: string;
37612
+ kind: "SHELL" | "CODE";
37613
+ truncated: boolean;
37614
+ cwd?: string | undefined;
37615
+ } | undefined;
37616
+ action?: string | undefined;
37617
+ targetId?: string | undefined;
36958
37618
  error?: {
36959
37619
  code: string;
36960
37620
  message: string;
36961
37621
  } | undefined;
37622
+ toolName?: string | undefined;
36962
37623
  output?: {
36963
37624
  text: string;
36964
37625
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -36972,10 +37633,19 @@ export declare const conversationSegmentSchema: z.ZodObject<{
36972
37633
  kind: "EXECUTION";
36973
37634
  execution: {
36974
37635
  kind: "SHELL" | "CODE" | "CONTROL";
37636
+ source?: {
37637
+ text: string;
37638
+ kind: "SHELL" | "CODE";
37639
+ truncated: boolean;
37640
+ cwd?: string | undefined;
37641
+ } | undefined;
37642
+ action?: string | undefined;
37643
+ targetId?: string | undefined;
36975
37644
  error?: {
36976
37645
  code: string;
36977
37646
  message: string;
36978
37647
  } | undefined;
37648
+ toolName?: string | undefined;
36979
37649
  output?: {
36980
37650
  text: string;
36981
37651
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -36989,10 +37659,19 @@ export declare const conversationSegmentSchema: z.ZodObject<{
36989
37659
  kind: "EXECUTION";
36990
37660
  execution: {
36991
37661
  kind: "SHELL" | "CODE" | "CONTROL";
37662
+ source?: {
37663
+ text: string;
37664
+ kind: "SHELL" | "CODE";
37665
+ truncated: boolean;
37666
+ cwd?: string | undefined;
37667
+ } | undefined;
37668
+ action?: string | undefined;
37669
+ targetId?: string | undefined;
36992
37670
  error?: {
36993
37671
  code: string;
36994
37672
  message: string;
36995
37673
  } | undefined;
37674
+ toolName?: string | undefined;
36996
37675
  output?: {
36997
37676
  text: string;
36998
37677
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -37006,10 +37685,19 @@ export declare const conversationSegmentSchema: z.ZodObject<{
37006
37685
  kind: "EXECUTION";
37007
37686
  execution: {
37008
37687
  kind: "SHELL" | "CODE" | "CONTROL";
37688
+ source?: {
37689
+ text: string;
37690
+ kind: "SHELL" | "CODE";
37691
+ truncated: boolean;
37692
+ cwd?: string | undefined;
37693
+ } | undefined;
37694
+ action?: string | undefined;
37695
+ targetId?: string | undefined;
37009
37696
  error?: {
37010
37697
  code: string;
37011
37698
  message: string;
37012
37699
  } | undefined;
37700
+ toolName?: string | undefined;
37013
37701
  output?: {
37014
37702
  text: string;
37015
37703
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -37023,10 +37711,19 @@ export declare const conversationSegmentSchema: z.ZodObject<{
37023
37711
  kind: "EXECUTION";
37024
37712
  execution: {
37025
37713
  kind: "SHELL" | "CODE" | "CONTROL";
37714
+ source?: {
37715
+ text: string;
37716
+ kind: "SHELL" | "CODE";
37717
+ truncated: boolean;
37718
+ cwd?: string | undefined;
37719
+ } | undefined;
37720
+ action?: string | undefined;
37721
+ targetId?: string | undefined;
37026
37722
  error?: {
37027
37723
  code: string;
37028
37724
  message: string;
37029
37725
  } | undefined;
37726
+ toolName?: string | undefined;
37030
37727
  output?: {
37031
37728
  text: string;
37032
37729
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -37043,9 +37740,9 @@ export declare const conversationSegmentSchema: z.ZodObject<{
37043
37740
  truncated: boolean;
37044
37741
  cwd: string | null;
37045
37742
  outputPreview: string;
37046
- outputRef: string | null;
37047
37743
  exitCode: number | null;
37048
37744
  title?: string | undefined;
37745
+ toolName?: string | undefined;
37049
37746
  output?: {
37050
37747
  text: string;
37051
37748
  truncated: boolean;
@@ -37054,10 +37751,19 @@ export declare const conversationSegmentSchema: z.ZodObject<{
37054
37751
  kind: "EXECUTION";
37055
37752
  execution: {
37056
37753
  kind: "SHELL" | "CODE" | "CONTROL";
37754
+ source?: {
37755
+ text: string;
37756
+ kind: "SHELL" | "CODE";
37757
+ truncated: boolean;
37758
+ cwd?: string | undefined;
37759
+ } | undefined;
37760
+ action?: string | undefined;
37761
+ targetId?: string | undefined;
37057
37762
  error?: {
37058
37763
  code: string;
37059
37764
  message: string;
37060
37765
  } | undefined;
37766
+ toolName?: string | undefined;
37061
37767
  output?: {
37062
37768
  text: string;
37063
37769
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -37074,9 +37780,9 @@ export declare const conversationSegmentSchema: z.ZodObject<{
37074
37780
  truncated: boolean;
37075
37781
  cwd: string | null;
37076
37782
  outputPreview: string;
37077
- outputRef: string | null;
37078
37783
  exitCode: number | null;
37079
37784
  title?: string | undefined;
37785
+ toolName?: string | undefined;
37080
37786
  output?: {
37081
37787
  text: string;
37082
37788
  truncated: boolean;
@@ -37085,10 +37791,19 @@ export declare const conversationSegmentSchema: z.ZodObject<{
37085
37791
  kind: "EXECUTION";
37086
37792
  execution: {
37087
37793
  kind: "SHELL" | "CODE" | "CONTROL";
37794
+ source?: {
37795
+ text: string;
37796
+ kind: "SHELL" | "CODE";
37797
+ truncated: boolean;
37798
+ cwd?: string | undefined;
37799
+ } | undefined;
37800
+ action?: string | undefined;
37801
+ targetId?: string | undefined;
37088
37802
  error?: {
37089
37803
  code: string;
37090
37804
  message: string;
37091
37805
  } | undefined;
37806
+ toolName?: string | undefined;
37092
37807
  output?: {
37093
37808
  text: string;
37094
37809
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -37109,9 +37824,9 @@ export declare const conversationSegmentSchema: z.ZodObject<{
37109
37824
  truncated: boolean;
37110
37825
  cwd: string | null;
37111
37826
  outputPreview: string;
37112
- outputRef: string | null;
37113
37827
  exitCode: number | null;
37114
37828
  title?: string | undefined;
37829
+ toolName?: string | undefined;
37115
37830
  output?: {
37116
37831
  text: string;
37117
37832
  truncated: boolean;
@@ -37120,10 +37835,19 @@ export declare const conversationSegmentSchema: z.ZodObject<{
37120
37835
  kind: "EXECUTION";
37121
37836
  execution: {
37122
37837
  kind: "SHELL" | "CODE" | "CONTROL";
37838
+ source?: {
37839
+ text: string;
37840
+ kind: "SHELL" | "CODE";
37841
+ truncated: boolean;
37842
+ cwd?: string | undefined;
37843
+ } | undefined;
37844
+ action?: string | undefined;
37845
+ targetId?: string | undefined;
37123
37846
  error?: {
37124
37847
  code: string;
37125
37848
  message: string;
37126
37849
  } | undefined;
37850
+ toolName?: string | undefined;
37127
37851
  output?: {
37128
37852
  text: string;
37129
37853
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -37170,9 +37894,9 @@ export declare const conversationSegmentSchema: z.ZodObject<{
37170
37894
  truncated: boolean;
37171
37895
  cwd: string | null;
37172
37896
  outputPreview: string;
37173
- outputRef: string | null;
37174
37897
  exitCode: number | null;
37175
37898
  title?: string | undefined;
37899
+ toolName?: string | undefined;
37176
37900
  output?: {
37177
37901
  text: string;
37178
37902
  truncated: boolean;
@@ -37181,10 +37905,19 @@ export declare const conversationSegmentSchema: z.ZodObject<{
37181
37905
  kind: "EXECUTION";
37182
37906
  execution: {
37183
37907
  kind: "SHELL" | "CODE" | "CONTROL";
37908
+ source?: {
37909
+ text: string;
37910
+ kind: "SHELL" | "CODE";
37911
+ truncated: boolean;
37912
+ cwd?: string | undefined;
37913
+ } | undefined;
37914
+ action?: string | undefined;
37915
+ targetId?: string | undefined;
37184
37916
  error?: {
37185
37917
  code: string;
37186
37918
  message: string;
37187
37919
  } | undefined;
37920
+ toolName?: string | undefined;
37188
37921
  output?: {
37189
37922
  text: string;
37190
37923
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -37296,7 +38029,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
37296
38029
  change: z.ZodEnum<["ADDED", "MODIFIED", "DELETED", "RENAMED", "COPIED", "TYPE_CHANGED"]>;
37297
38030
  additions: z.ZodNullable<z.ZodNumber>;
37298
38031
  deletions: z.ZodNullable<z.ZodNumber>;
37299
- diffAvailable: z.ZodBoolean;
37300
38032
  changeId: z.ZodOptional<z.ZodString>;
37301
38033
  diff: z.ZodOptional<z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
37302
38034
  status: z.ZodLiteral<"available">;
@@ -37334,7 +38066,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
37334
38066
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
37335
38067
  additions: number | null;
37336
38068
  deletions: number | null;
37337
- diffAvailable: boolean;
37338
38069
  diff?: {
37339
38070
  status: "available";
37340
38071
  source: "TOOL_CHANGE";
@@ -37352,7 +38083,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
37352
38083
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
37353
38084
  additions: number | null;
37354
38085
  deletions: number | null;
37355
- diffAvailable: boolean;
37356
38086
  diff?: {
37357
38087
  status: "available";
37358
38088
  source: "TOOL_CHANGE";
@@ -37372,7 +38102,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
37372
38102
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
37373
38103
  additions: number | null;
37374
38104
  deletions: number | null;
37375
- diffAvailable: boolean;
37376
38105
  diff?: {
37377
38106
  status: "available";
37378
38107
  source: "TOOL_CHANGE";
@@ -37392,7 +38121,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
37392
38121
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
37393
38122
  additions: number | null;
37394
38123
  deletions: number | null;
37395
- diffAvailable: boolean;
37396
38124
  diff?: {
37397
38125
  status: "available";
37398
38126
  source: "TOOL_CHANGE";
@@ -37416,7 +38144,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
37416
38144
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
37417
38145
  additions: number | null;
37418
38146
  deletions: number | null;
37419
- diffAvailable: boolean;
37420
38147
  diff?: {
37421
38148
  status: "available";
37422
38149
  source: "TOOL_CHANGE";
@@ -37466,7 +38193,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
37466
38193
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
37467
38194
  additions: number | null;
37468
38195
  deletions: number | null;
37469
- diffAvailable: boolean;
37470
38196
  diff?: {
37471
38197
  status: "available";
37472
38198
  source: "TOOL_CHANGE";
@@ -39043,9 +39769,9 @@ export declare const conversationSegmentSchema: z.ZodObject<{
39043
39769
  truncated: boolean;
39044
39770
  cwd: string | null;
39045
39771
  outputPreview: string;
39046
- outputRef: string | null;
39047
39772
  exitCode: number | null;
39048
39773
  title?: string | undefined;
39774
+ toolName?: string | undefined;
39049
39775
  output?: {
39050
39776
  text: string;
39051
39777
  truncated: boolean;
@@ -39054,10 +39780,19 @@ export declare const conversationSegmentSchema: z.ZodObject<{
39054
39780
  kind: "EXECUTION";
39055
39781
  execution: {
39056
39782
  kind: "SHELL" | "CODE" | "CONTROL";
39783
+ source?: {
39784
+ text: string;
39785
+ kind: "SHELL" | "CODE";
39786
+ truncated: boolean;
39787
+ cwd?: string | undefined;
39788
+ } | undefined;
39789
+ action?: string | undefined;
39790
+ targetId?: string | undefined;
39057
39791
  error?: {
39058
39792
  code: string;
39059
39793
  message: string;
39060
39794
  } | undefined;
39795
+ toolName?: string | undefined;
39061
39796
  output?: {
39062
39797
  text: string;
39063
39798
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -39104,7 +39839,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
39104
39839
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
39105
39840
  additions: number | null;
39106
39841
  deletions: number | null;
39107
- diffAvailable: boolean;
39108
39842
  diff?: {
39109
39843
  status: "available";
39110
39844
  source: "TOOL_CHANGE";
@@ -39716,9 +40450,9 @@ export declare const conversationSegmentSchema: z.ZodObject<{
39716
40450
  truncated: boolean;
39717
40451
  cwd: string | null;
39718
40452
  outputPreview: string;
39719
- outputRef: string | null;
39720
40453
  exitCode: number | null;
39721
40454
  title?: string | undefined;
40455
+ toolName?: string | undefined;
39722
40456
  output?: {
39723
40457
  text: string;
39724
40458
  truncated: boolean;
@@ -39727,10 +40461,19 @@ export declare const conversationSegmentSchema: z.ZodObject<{
39727
40461
  kind: "EXECUTION";
39728
40462
  execution: {
39729
40463
  kind: "SHELL" | "CODE" | "CONTROL";
40464
+ source?: {
40465
+ text: string;
40466
+ kind: "SHELL" | "CODE";
40467
+ truncated: boolean;
40468
+ cwd?: string | undefined;
40469
+ } | undefined;
40470
+ action?: string | undefined;
40471
+ targetId?: string | undefined;
39730
40472
  error?: {
39731
40473
  code: string;
39732
40474
  message: string;
39733
40475
  } | undefined;
40476
+ toolName?: string | undefined;
39734
40477
  output?: {
39735
40478
  text: string;
39736
40479
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -39777,7 +40520,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
39777
40520
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
39778
40521
  additions: number | null;
39779
40522
  deletions: number | null;
39780
- diffAvailable: boolean;
39781
40523
  diff?: {
39782
40524
  status: "available";
39783
40525
  source: "TOOL_CHANGE";
@@ -41625,11 +42367,11 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
41625
42367
  } & {
41626
42368
  kind: z.ZodLiteral<"command_execution">;
41627
42369
  payload: z.ZodObject<{
42370
+ toolName: z.ZodOptional<z.ZodString>;
41628
42371
  title: z.ZodOptional<z.ZodString>;
41629
42372
  command: z.ZodString;
41630
42373
  cwd: z.ZodNullable<z.ZodString>;
41631
42374
  outputPreview: z.ZodString;
41632
- outputRef: z.ZodNullable<z.ZodString>;
41633
42375
  exitCode: z.ZodNullable<z.ZodNumber>;
41634
42376
  durationMs: z.ZodNullable<z.ZodNumber>;
41635
42377
  truncated: z.ZodBoolean;
@@ -41647,6 +42389,25 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
41647
42389
  kind: z.ZodLiteral<"EXECUTION">;
41648
42390
  execution: z.ZodObject<{
41649
42391
  kind: z.ZodEnum<["SHELL", "CODE", "CONTROL"]>;
42392
+ toolName: z.ZodOptional<z.ZodString>;
42393
+ action: z.ZodOptional<z.ZodString>;
42394
+ targetId: z.ZodOptional<z.ZodString>;
42395
+ source: z.ZodOptional<z.ZodObject<{
42396
+ kind: z.ZodEnum<["SHELL", "CODE"]>;
42397
+ text: z.ZodString;
42398
+ cwd: z.ZodOptional<z.ZodString>;
42399
+ truncated: z.ZodBoolean;
42400
+ }, "strict", z.ZodTypeAny, {
42401
+ text: string;
42402
+ kind: "SHELL" | "CODE";
42403
+ truncated: boolean;
42404
+ cwd?: string | undefined;
42405
+ }, {
42406
+ text: string;
42407
+ kind: "SHELL" | "CODE";
42408
+ truncated: boolean;
42409
+ cwd?: string | undefined;
42410
+ }>>;
41650
42411
  output: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
41651
42412
  channel: z.ZodEnum<["STDOUT", "STDERR", "COMBINED", "TEXT"]>;
41652
42413
  text: z.ZodString;
@@ -41685,10 +42446,19 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
41685
42446
  }>>;
41686
42447
  }, "strict", z.ZodTypeAny, {
41687
42448
  kind: "SHELL" | "CODE" | "CONTROL";
42449
+ source?: {
42450
+ text: string;
42451
+ kind: "SHELL" | "CODE";
42452
+ truncated: boolean;
42453
+ cwd?: string | undefined;
42454
+ } | undefined;
42455
+ action?: string | undefined;
42456
+ targetId?: string | undefined;
41688
42457
  error?: {
41689
42458
  code: string;
41690
42459
  message: string;
41691
42460
  } | undefined;
42461
+ toolName?: string | undefined;
41692
42462
  output?: {
41693
42463
  text: string;
41694
42464
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -41699,10 +42469,19 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
41699
42469
  } | undefined;
41700
42470
  }, {
41701
42471
  kind: "SHELL" | "CODE" | "CONTROL";
42472
+ source?: {
42473
+ text: string;
42474
+ kind: "SHELL" | "CODE";
42475
+ truncated: boolean;
42476
+ cwd?: string | undefined;
42477
+ } | undefined;
42478
+ action?: string | undefined;
42479
+ targetId?: string | undefined;
41702
42480
  error?: {
41703
42481
  code: string;
41704
42482
  message: string;
41705
42483
  } | undefined;
42484
+ toolName?: string | undefined;
41706
42485
  output?: {
41707
42486
  text: string;
41708
42487
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -41716,10 +42495,19 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
41716
42495
  kind: "EXECUTION";
41717
42496
  execution: {
41718
42497
  kind: "SHELL" | "CODE" | "CONTROL";
42498
+ source?: {
42499
+ text: string;
42500
+ kind: "SHELL" | "CODE";
42501
+ truncated: boolean;
42502
+ cwd?: string | undefined;
42503
+ } | undefined;
42504
+ action?: string | undefined;
42505
+ targetId?: string | undefined;
41719
42506
  error?: {
41720
42507
  code: string;
41721
42508
  message: string;
41722
42509
  } | undefined;
42510
+ toolName?: string | undefined;
41723
42511
  output?: {
41724
42512
  text: string;
41725
42513
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -41733,10 +42521,19 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
41733
42521
  kind: "EXECUTION";
41734
42522
  execution: {
41735
42523
  kind: "SHELL" | "CODE" | "CONTROL";
42524
+ source?: {
42525
+ text: string;
42526
+ kind: "SHELL" | "CODE";
42527
+ truncated: boolean;
42528
+ cwd?: string | undefined;
42529
+ } | undefined;
42530
+ action?: string | undefined;
42531
+ targetId?: string | undefined;
41736
42532
  error?: {
41737
42533
  code: string;
41738
42534
  message: string;
41739
42535
  } | undefined;
42536
+ toolName?: string | undefined;
41740
42537
  output?: {
41741
42538
  text: string;
41742
42539
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -41750,10 +42547,19 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
41750
42547
  kind: "EXECUTION";
41751
42548
  execution: {
41752
42549
  kind: "SHELL" | "CODE" | "CONTROL";
42550
+ source?: {
42551
+ text: string;
42552
+ kind: "SHELL" | "CODE";
42553
+ truncated: boolean;
42554
+ cwd?: string | undefined;
42555
+ } | undefined;
42556
+ action?: string | undefined;
42557
+ targetId?: string | undefined;
41753
42558
  error?: {
41754
42559
  code: string;
41755
42560
  message: string;
41756
42561
  } | undefined;
42562
+ toolName?: string | undefined;
41757
42563
  output?: {
41758
42564
  text: string;
41759
42565
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -41767,10 +42573,19 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
41767
42573
  kind: "EXECUTION";
41768
42574
  execution: {
41769
42575
  kind: "SHELL" | "CODE" | "CONTROL";
42576
+ source?: {
42577
+ text: string;
42578
+ kind: "SHELL" | "CODE";
42579
+ truncated: boolean;
42580
+ cwd?: string | undefined;
42581
+ } | undefined;
42582
+ action?: string | undefined;
42583
+ targetId?: string | undefined;
41770
42584
  error?: {
41771
42585
  code: string;
41772
42586
  message: string;
41773
42587
  } | undefined;
42588
+ toolName?: string | undefined;
41774
42589
  output?: {
41775
42590
  text: string;
41776
42591
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -41787,9 +42602,9 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
41787
42602
  truncated: boolean;
41788
42603
  cwd: string | null;
41789
42604
  outputPreview: string;
41790
- outputRef: string | null;
41791
42605
  exitCode: number | null;
41792
42606
  title?: string | undefined;
42607
+ toolName?: string | undefined;
41793
42608
  output?: {
41794
42609
  text: string;
41795
42610
  truncated: boolean;
@@ -41798,10 +42613,19 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
41798
42613
  kind: "EXECUTION";
41799
42614
  execution: {
41800
42615
  kind: "SHELL" | "CODE" | "CONTROL";
42616
+ source?: {
42617
+ text: string;
42618
+ kind: "SHELL" | "CODE";
42619
+ truncated: boolean;
42620
+ cwd?: string | undefined;
42621
+ } | undefined;
42622
+ action?: string | undefined;
42623
+ targetId?: string | undefined;
41801
42624
  error?: {
41802
42625
  code: string;
41803
42626
  message: string;
41804
42627
  } | undefined;
42628
+ toolName?: string | undefined;
41805
42629
  output?: {
41806
42630
  text: string;
41807
42631
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -41818,9 +42642,9 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
41818
42642
  truncated: boolean;
41819
42643
  cwd: string | null;
41820
42644
  outputPreview: string;
41821
- outputRef: string | null;
41822
42645
  exitCode: number | null;
41823
42646
  title?: string | undefined;
42647
+ toolName?: string | undefined;
41824
42648
  output?: {
41825
42649
  text: string;
41826
42650
  truncated: boolean;
@@ -41829,10 +42653,19 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
41829
42653
  kind: "EXECUTION";
41830
42654
  execution: {
41831
42655
  kind: "SHELL" | "CODE" | "CONTROL";
42656
+ source?: {
42657
+ text: string;
42658
+ kind: "SHELL" | "CODE";
42659
+ truncated: boolean;
42660
+ cwd?: string | undefined;
42661
+ } | undefined;
42662
+ action?: string | undefined;
42663
+ targetId?: string | undefined;
41832
42664
  error?: {
41833
42665
  code: string;
41834
42666
  message: string;
41835
42667
  } | undefined;
42668
+ toolName?: string | undefined;
41836
42669
  output?: {
41837
42670
  text: string;
41838
42671
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -41853,9 +42686,9 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
41853
42686
  truncated: boolean;
41854
42687
  cwd: string | null;
41855
42688
  outputPreview: string;
41856
- outputRef: string | null;
41857
42689
  exitCode: number | null;
41858
42690
  title?: string | undefined;
42691
+ toolName?: string | undefined;
41859
42692
  output?: {
41860
42693
  text: string;
41861
42694
  truncated: boolean;
@@ -41864,10 +42697,19 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
41864
42697
  kind: "EXECUTION";
41865
42698
  execution: {
41866
42699
  kind: "SHELL" | "CODE" | "CONTROL";
42700
+ source?: {
42701
+ text: string;
42702
+ kind: "SHELL" | "CODE";
42703
+ truncated: boolean;
42704
+ cwd?: string | undefined;
42705
+ } | undefined;
42706
+ action?: string | undefined;
42707
+ targetId?: string | undefined;
41867
42708
  error?: {
41868
42709
  code: string;
41869
42710
  message: string;
41870
42711
  } | undefined;
42712
+ toolName?: string | undefined;
41871
42713
  output?: {
41872
42714
  text: string;
41873
42715
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -41914,9 +42756,9 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
41914
42756
  truncated: boolean;
41915
42757
  cwd: string | null;
41916
42758
  outputPreview: string;
41917
- outputRef: string | null;
41918
42759
  exitCode: number | null;
41919
42760
  title?: string | undefined;
42761
+ toolName?: string | undefined;
41920
42762
  output?: {
41921
42763
  text: string;
41922
42764
  truncated: boolean;
@@ -41925,10 +42767,19 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
41925
42767
  kind: "EXECUTION";
41926
42768
  execution: {
41927
42769
  kind: "SHELL" | "CODE" | "CONTROL";
42770
+ source?: {
42771
+ text: string;
42772
+ kind: "SHELL" | "CODE";
42773
+ truncated: boolean;
42774
+ cwd?: string | undefined;
42775
+ } | undefined;
42776
+ action?: string | undefined;
42777
+ targetId?: string | undefined;
41928
42778
  error?: {
41929
42779
  code: string;
41930
42780
  message: string;
41931
42781
  } | undefined;
42782
+ toolName?: string | undefined;
41932
42783
  output?: {
41933
42784
  text: string;
41934
42785
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -42040,7 +42891,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
42040
42891
  change: z.ZodEnum<["ADDED", "MODIFIED", "DELETED", "RENAMED", "COPIED", "TYPE_CHANGED"]>;
42041
42892
  additions: z.ZodNullable<z.ZodNumber>;
42042
42893
  deletions: z.ZodNullable<z.ZodNumber>;
42043
- diffAvailable: z.ZodBoolean;
42044
42894
  changeId: z.ZodOptional<z.ZodString>;
42045
42895
  diff: z.ZodOptional<z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
42046
42896
  status: z.ZodLiteral<"available">;
@@ -42078,7 +42928,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
42078
42928
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
42079
42929
  additions: number | null;
42080
42930
  deletions: number | null;
42081
- diffAvailable: boolean;
42082
42931
  diff?: {
42083
42932
  status: "available";
42084
42933
  source: "TOOL_CHANGE";
@@ -42096,7 +42945,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
42096
42945
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
42097
42946
  additions: number | null;
42098
42947
  deletions: number | null;
42099
- diffAvailable: boolean;
42100
42948
  diff?: {
42101
42949
  status: "available";
42102
42950
  source: "TOOL_CHANGE";
@@ -42116,7 +42964,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
42116
42964
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
42117
42965
  additions: number | null;
42118
42966
  deletions: number | null;
42119
- diffAvailable: boolean;
42120
42967
  diff?: {
42121
42968
  status: "available";
42122
42969
  source: "TOOL_CHANGE";
@@ -42136,7 +42983,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
42136
42983
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
42137
42984
  additions: number | null;
42138
42985
  deletions: number | null;
42139
- diffAvailable: boolean;
42140
42986
  diff?: {
42141
42987
  status: "available";
42142
42988
  source: "TOOL_CHANGE";
@@ -42160,7 +43006,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
42160
43006
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
42161
43007
  additions: number | null;
42162
43008
  deletions: number | null;
42163
- diffAvailable: boolean;
42164
43009
  diff?: {
42165
43010
  status: "available";
42166
43011
  source: "TOOL_CHANGE";
@@ -42210,7 +43055,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
42210
43055
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
42211
43056
  additions: number | null;
42212
43057
  deletions: number | null;
42213
- diffAvailable: boolean;
42214
43058
  diff?: {
42215
43059
  status: "available";
42216
43060
  source: "TOOL_CHANGE";
@@ -43787,9 +44631,9 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
43787
44631
  truncated: boolean;
43788
44632
  cwd: string | null;
43789
44633
  outputPreview: string;
43790
- outputRef: string | null;
43791
44634
  exitCode: number | null;
43792
44635
  title?: string | undefined;
44636
+ toolName?: string | undefined;
43793
44637
  output?: {
43794
44638
  text: string;
43795
44639
  truncated: boolean;
@@ -43798,10 +44642,19 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
43798
44642
  kind: "EXECUTION";
43799
44643
  execution: {
43800
44644
  kind: "SHELL" | "CODE" | "CONTROL";
44645
+ source?: {
44646
+ text: string;
44647
+ kind: "SHELL" | "CODE";
44648
+ truncated: boolean;
44649
+ cwd?: string | undefined;
44650
+ } | undefined;
44651
+ action?: string | undefined;
44652
+ targetId?: string | undefined;
43801
44653
  error?: {
43802
44654
  code: string;
43803
44655
  message: string;
43804
44656
  } | undefined;
44657
+ toolName?: string | undefined;
43805
44658
  output?: {
43806
44659
  text: string;
43807
44660
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -43848,7 +44701,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
43848
44701
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
43849
44702
  additions: number | null;
43850
44703
  deletions: number | null;
43851
- diffAvailable: boolean;
43852
44704
  diff?: {
43853
44705
  status: "available";
43854
44706
  source: "TOOL_CHANGE";
@@ -44460,9 +45312,9 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
44460
45312
  truncated: boolean;
44461
45313
  cwd: string | null;
44462
45314
  outputPreview: string;
44463
- outputRef: string | null;
44464
45315
  exitCode: number | null;
44465
45316
  title?: string | undefined;
45317
+ toolName?: string | undefined;
44466
45318
  output?: {
44467
45319
  text: string;
44468
45320
  truncated: boolean;
@@ -44471,10 +45323,19 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
44471
45323
  kind: "EXECUTION";
44472
45324
  execution: {
44473
45325
  kind: "SHELL" | "CODE" | "CONTROL";
45326
+ source?: {
45327
+ text: string;
45328
+ kind: "SHELL" | "CODE";
45329
+ truncated: boolean;
45330
+ cwd?: string | undefined;
45331
+ } | undefined;
45332
+ action?: string | undefined;
45333
+ targetId?: string | undefined;
44474
45334
  error?: {
44475
45335
  code: string;
44476
45336
  message: string;
44477
45337
  } | undefined;
45338
+ toolName?: string | undefined;
44478
45339
  output?: {
44479
45340
  text: string;
44480
45341
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -44521,7 +45382,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
44521
45382
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
44522
45383
  additions: number | null;
44523
45384
  deletions: number | null;
44524
- diffAvailable: boolean;
44525
45385
  diff?: {
44526
45386
  status: "available";
44527
45387
  source: "TOOL_CHANGE";
@@ -45145,9 +46005,9 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
45145
46005
  truncated: boolean;
45146
46006
  cwd: string | null;
45147
46007
  outputPreview: string;
45148
- outputRef: string | null;
45149
46008
  exitCode: number | null;
45150
46009
  title?: string | undefined;
46010
+ toolName?: string | undefined;
45151
46011
  output?: {
45152
46012
  text: string;
45153
46013
  truncated: boolean;
@@ -45156,10 +46016,19 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
45156
46016
  kind: "EXECUTION";
45157
46017
  execution: {
45158
46018
  kind: "SHELL" | "CODE" | "CONTROL";
46019
+ source?: {
46020
+ text: string;
46021
+ kind: "SHELL" | "CODE";
46022
+ truncated: boolean;
46023
+ cwd?: string | undefined;
46024
+ } | undefined;
46025
+ action?: string | undefined;
46026
+ targetId?: string | undefined;
45159
46027
  error?: {
45160
46028
  code: string;
45161
46029
  message: string;
45162
46030
  } | undefined;
46031
+ toolName?: string | undefined;
45163
46032
  output?: {
45164
46033
  text: string;
45165
46034
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -45206,7 +46075,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
45206
46075
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
45207
46076
  additions: number | null;
45208
46077
  deletions: number | null;
45209
- diffAvailable: boolean;
45210
46078
  diff?: {
45211
46079
  status: "available";
45212
46080
  source: "TOOL_CHANGE";
@@ -45827,9 +46695,9 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
45827
46695
  truncated: boolean;
45828
46696
  cwd: string | null;
45829
46697
  outputPreview: string;
45830
- outputRef: string | null;
45831
46698
  exitCode: number | null;
45832
46699
  title?: string | undefined;
46700
+ toolName?: string | undefined;
45833
46701
  output?: {
45834
46702
  text: string;
45835
46703
  truncated: boolean;
@@ -45838,10 +46706,19 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
45838
46706
  kind: "EXECUTION";
45839
46707
  execution: {
45840
46708
  kind: "SHELL" | "CODE" | "CONTROL";
46709
+ source?: {
46710
+ text: string;
46711
+ kind: "SHELL" | "CODE";
46712
+ truncated: boolean;
46713
+ cwd?: string | undefined;
46714
+ } | undefined;
46715
+ action?: string | undefined;
46716
+ targetId?: string | undefined;
45841
46717
  error?: {
45842
46718
  code: string;
45843
46719
  message: string;
45844
46720
  } | undefined;
46721
+ toolName?: string | undefined;
45845
46722
  output?: {
45846
46723
  text: string;
45847
46724
  channel: "TEXT" | "STDOUT" | "STDERR" | "COMBINED";
@@ -45888,7 +46765,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
45888
46765
  change: "ADDED" | "MODIFIED" | "DELETED" | "RENAMED" | "COPIED" | "TYPE_CHANGED";
45889
46766
  additions: number | null;
45890
46767
  deletions: number | null;
45891
- diffAvailable: boolean;
45892
46768
  diff?: {
45893
46769
  status: "available";
45894
46770
  source: "TOOL_CHANGE";