@myagentroam/protocol 0.9.135 → 0.9.136

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -3131,6 +3131,7 @@ export declare const marAgentRuntimeModelConfigurationSchema: z.ZodEffects<z.Zod
3131
3131
  };
3132
3132
  }>]>>;
3133
3133
  responsesToolNamespace: z.ZodOptional<z.ZodString>;
3134
+ responsesConfigurationUpdates: z.ZodOptional<z.ZodBoolean>;
3134
3135
  imageGeneration: z.ZodOptional<z.ZodObject<{
3135
3136
  provider: z.ZodOptional<z.ZodString>;
3136
3137
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -3456,6 +3457,7 @@ export declare const marAgentRuntimeModelConfigurationSchema: z.ZodEffects<z.Zod
3456
3457
  } | undefined;
3457
3458
  responsesEncoding?: "STANDARD" | "LITE" | undefined;
3458
3459
  responsesToolNamespace?: string | undefined;
3460
+ responsesConfigurationUpdates?: boolean | undefined;
3459
3461
  }, {
3460
3462
  name: string;
3461
3463
  id: string;
@@ -3535,6 +3537,7 @@ export declare const marAgentRuntimeModelConfigurationSchema: z.ZodEffects<z.Zod
3535
3537
  responsesEncoding?: "STANDARD" | "LITE" | undefined;
3536
3538
  responsesPreviousResponseId?: boolean | undefined;
3537
3539
  responsesToolNamespace?: string | undefined;
3540
+ responsesConfigurationUpdates?: boolean | undefined;
3538
3541
  }>, {
3539
3542
  [x: string]: any;
3540
3543
  }, {
@@ -3699,6 +3702,7 @@ export declare const marAgentModelTransportTestInputSchema: z.ZodObject<{
3699
3702
  };
3700
3703
  }>]>>;
3701
3704
  responsesToolNamespace: z.ZodOptional<z.ZodString>;
3705
+ responsesConfigurationUpdates: z.ZodOptional<z.ZodBoolean>;
3702
3706
  imageGeneration: z.ZodOptional<z.ZodObject<{
3703
3707
  provider: z.ZodOptional<z.ZodString>;
3704
3708
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -4024,6 +4028,7 @@ export declare const marAgentModelTransportTestInputSchema: z.ZodObject<{
4024
4028
  } | undefined;
4025
4029
  responsesEncoding?: "STANDARD" | "LITE" | undefined;
4026
4030
  responsesToolNamespace?: string | undefined;
4031
+ responsesConfigurationUpdates?: boolean | undefined;
4027
4032
  }, {
4028
4033
  name: string;
4029
4034
  id: string;
@@ -4103,6 +4108,7 @@ export declare const marAgentModelTransportTestInputSchema: z.ZodObject<{
4103
4108
  responsesEncoding?: "STANDARD" | "LITE" | undefined;
4104
4109
  responsesPreviousResponseId?: boolean | undefined;
4105
4110
  responsesToolNamespace?: string | undefined;
4111
+ responsesConfigurationUpdates?: boolean | undefined;
4106
4112
  }>, {
4107
4113
  [x: string]: any;
4108
4114
  }, {
@@ -4306,12 +4312,6 @@ export declare const codexCredentialOwnershipSchema: z.ZodDiscriminatedUnion<"ow
4306
4312
  }, {
4307
4313
  ownerType: "ORGANIZATION";
4308
4314
  ownerOrganizationId: number;
4309
- }>, z.ZodObject<{
4310
- ownerType: z.ZodLiteral<"ENTERPRISE">;
4311
- }, "strict", z.ZodTypeAny, {
4312
- ownerType: "ENTERPRISE";
4313
- }, {
4314
- ownerType: "ENTERPRISE";
4315
4315
  }>]>;
4316
4316
  export type CodexCredentialOwnership = z.infer<typeof codexCredentialOwnershipSchema>;
4317
4317
  export declare const codexCredentialSummarySchema: z.ZodObject<{
@@ -4337,12 +4337,6 @@ export declare const codexCredentialSummarySchema: z.ZodObject<{
4337
4337
  }, {
4338
4338
  ownerType: "ORGANIZATION";
4339
4339
  ownerOrganizationId: number;
4340
- }>, z.ZodObject<{
4341
- ownerType: z.ZodLiteral<"ENTERPRISE">;
4342
- }, "strict", z.ZodTypeAny, {
4343
- ownerType: "ENTERPRISE";
4344
- }, {
4345
- ownerType: "ENTERPRISE";
4346
4340
  }>]>;
4347
4341
  status: z.ZodEnum<["ACTIVE", "DEGRADED", "REAUTH_REQUIRED"]>;
4348
4342
  accessTokenExpiresAt: z.ZodNullable<z.ZodNumber>;
@@ -4385,8 +4379,6 @@ export declare const codexCredentialSummarySchema: z.ZodObject<{
4385
4379
  } | {
4386
4380
  ownerType: "ORGANIZATION";
4387
4381
  ownerOrganizationId: number;
4388
- } | {
4389
- ownerType: "ENTERPRISE";
4390
4382
  };
4391
4383
  accessTokenExpiresAt: number | null;
4392
4384
  lastRefreshAt: number | null;
@@ -4414,8 +4406,6 @@ export declare const codexCredentialSummarySchema: z.ZodObject<{
4414
4406
  } | {
4415
4407
  ownerType: "ORGANIZATION";
4416
4408
  ownerOrganizationId: number;
4417
- } | {
4418
- ownerType: "ENTERPRISE";
4419
4409
  };
4420
4410
  accessTokenExpiresAt: number | null;
4421
4411
  lastRefreshAt: number | null;
@@ -4457,12 +4447,6 @@ export declare const codexCredentialDetailsSchema: z.ZodEffects<z.ZodObject<{
4457
4447
  }, {
4458
4448
  ownerType: "ORGANIZATION";
4459
4449
  ownerOrganizationId: number;
4460
- }>, z.ZodObject<{
4461
- ownerType: z.ZodLiteral<"ENTERPRISE">;
4462
- }, "strict", z.ZodTypeAny, {
4463
- ownerType: "ENTERPRISE";
4464
- }, {
4465
- ownerType: "ENTERPRISE";
4466
4450
  }>]>;
4467
4451
  status: z.ZodEnum<["ACTIVE", "DEGRADED", "REAUTH_REQUIRED"]>;
4468
4452
  accessTokenExpiresAt: z.ZodNullable<z.ZodNumber>;
@@ -4505,8 +4489,6 @@ export declare const codexCredentialDetailsSchema: z.ZodEffects<z.ZodObject<{
4505
4489
  } | {
4506
4490
  ownerType: "ORGANIZATION";
4507
4491
  ownerOrganizationId: number;
4508
- } | {
4509
- ownerType: "ENTERPRISE";
4510
4492
  };
4511
4493
  accessTokenExpiresAt: number | null;
4512
4494
  lastRefreshAt: number | null;
@@ -4534,8 +4516,6 @@ export declare const codexCredentialDetailsSchema: z.ZodEffects<z.ZodObject<{
4534
4516
  } | {
4535
4517
  ownerType: "ORGANIZATION";
4536
4518
  ownerOrganizationId: number;
4537
- } | {
4538
- ownerType: "ENTERPRISE";
4539
4519
  };
4540
4520
  accessTokenExpiresAt: number | null;
4541
4521
  lastRefreshAt: number | null;
@@ -4567,8 +4547,6 @@ export declare const codexCredentialDetailsSchema: z.ZodEffects<z.ZodObject<{
4567
4547
  } | {
4568
4548
  ownerType: "ORGANIZATION";
4569
4549
  ownerOrganizationId: number;
4570
- } | {
4571
- ownerType: "ENTERPRISE";
4572
4550
  };
4573
4551
  accessTokenExpiresAt: number | null;
4574
4552
  lastRefreshAt: number | null;
@@ -4599,8 +4577,6 @@ export declare const codexCredentialDetailsSchema: z.ZodEffects<z.ZodObject<{
4599
4577
  } | {
4600
4578
  ownerType: "ORGANIZATION";
4601
4579
  ownerOrganizationId: number;
4602
- } | {
4603
- ownerType: "ENTERPRISE";
4604
4580
  };
4605
4581
  accessTokenExpiresAt: number | null;
4606
4582
  lastRefreshAt: number | null;
@@ -4631,8 +4607,6 @@ export declare const codexCredentialDetailsSchema: z.ZodEffects<z.ZodObject<{
4631
4607
  } | {
4632
4608
  ownerType: "ORGANIZATION";
4633
4609
  ownerOrganizationId: number;
4634
- } | {
4635
- ownerType: "ENTERPRISE";
4636
4610
  };
4637
4611
  accessTokenExpiresAt: number | null;
4638
4612
  lastRefreshAt: number | null;
@@ -4663,8 +4637,6 @@ export declare const codexCredentialDetailsSchema: z.ZodEffects<z.ZodObject<{
4663
4637
  } | {
4664
4638
  ownerType: "ORGANIZATION";
4665
4639
  ownerOrganizationId: number;
4666
- } | {
4667
- ownerType: "ENTERPRISE";
4668
4640
  };
4669
4641
  accessTokenExpiresAt: number | null;
4670
4642
  lastRefreshAt: number | null;
@@ -5602,6 +5574,29 @@ export declare const runEventSchema: z.ZodObject<{
5602
5574
  payload?: unknown;
5603
5575
  }>;
5604
5576
  export type RunEvent = z.infer<typeof runEventSchema>;
5577
+ /** Ephemeral metrics for the currently observed model request, never a history item. */
5578
+ export declare const runPerformanceSchema: z.ZodEffects<z.ZodObject<{
5579
+ runId: z.ZodString;
5580
+ ttftMs: z.ZodOptional<z.ZodNumber>;
5581
+ tokensPerSecond: z.ZodOptional<z.ZodNumber>;
5582
+ }, "strip", z.ZodTypeAny, {
5583
+ runId: string;
5584
+ ttftMs?: number | undefined;
5585
+ tokensPerSecond?: number | undefined;
5586
+ }, {
5587
+ runId: string;
5588
+ ttftMs?: number | undefined;
5589
+ tokensPerSecond?: number | undefined;
5590
+ }>, {
5591
+ runId: string;
5592
+ ttftMs?: number | undefined;
5593
+ tokensPerSecond?: number | undefined;
5594
+ }, {
5595
+ runId: string;
5596
+ ttftMs?: number | undefined;
5597
+ tokensPerSecond?: number | undefined;
5598
+ }>;
5599
+ export type RunPerformance = z.infer<typeof runPerformanceSchema>;
5605
5600
  /**
5606
5601
  * Node-to-Workbench asynchronous notifications. This is deliberately a
5607
5602
  * small envelope: business payloads remain owned by the Node and Server only
@@ -6964,6 +6959,37 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
6964
6959
  startLine?: number | undefined;
6965
6960
  endLine?: number | undefined;
6966
6961
  }>, "many">>;
6962
+ attachments: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
6963
+ name: z.ZodString;
6964
+ mime: z.ZodString;
6965
+ byteSize: z.ZodOptional<z.ZodNumber>;
6966
+ runId: z.ZodOptional<z.ZodString>;
6967
+ imageIndex: z.ZodOptional<z.ZodNumber>;
6968
+ }, "strict", z.ZodTypeAny, {
6969
+ name: string;
6970
+ mime: string;
6971
+ runId?: string | undefined;
6972
+ byteSize?: number | undefined;
6973
+ imageIndex?: number | undefined;
6974
+ }, {
6975
+ name: string;
6976
+ mime: string;
6977
+ runId?: string | undefined;
6978
+ byteSize?: number | undefined;
6979
+ imageIndex?: number | undefined;
6980
+ }>, {
6981
+ name: string;
6982
+ mime: string;
6983
+ runId?: string | undefined;
6984
+ byteSize?: number | undefined;
6985
+ imageIndex?: number | undefined;
6986
+ }, {
6987
+ name: string;
6988
+ mime: string;
6989
+ runId?: string | undefined;
6990
+ byteSize?: number | undefined;
6991
+ imageIndex?: number | undefined;
6992
+ }>, "many">>;
6967
6993
  source: z.ZodOptional<z.ZodLiteral<"SCHEDULED">>;
6968
6994
  delivery: z.ZodEnum<["PENDING", "ACCEPTED", "STEERED", "QUEUED_NEXT_TURN", "REJECTED"]>;
6969
6995
  }, "strip", z.ZodTypeAny, {
@@ -6979,6 +7005,13 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
6979
7005
  }[];
6980
7006
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
6981
7007
  source?: "SCHEDULED" | undefined;
7008
+ attachments?: {
7009
+ name: string;
7010
+ mime: string;
7011
+ runId?: string | undefined;
7012
+ byteSize?: number | undefined;
7013
+ imageIndex?: number | undefined;
7014
+ }[] | undefined;
6982
7015
  }, {
6983
7016
  clientMessageId: string | null;
6984
7017
  text: string;
@@ -6992,6 +7025,13 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
6992
7025
  startLine?: number | undefined;
6993
7026
  endLine?: number | undefined;
6994
7027
  }[] | undefined;
7028
+ attachments?: {
7029
+ name: string;
7030
+ mime: string;
7031
+ runId?: string | undefined;
7032
+ byteSize?: number | undefined;
7033
+ imageIndex?: number | undefined;
7034
+ }[] | undefined;
6995
7035
  }>;
6996
7036
  }, "strip", z.ZodTypeAny, {
6997
7037
  status: "PENDING" | "FAILED" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
@@ -7015,6 +7055,13 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
7015
7055
  }[];
7016
7056
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
7017
7057
  source?: "SCHEDULED" | undefined;
7058
+ attachments?: {
7059
+ name: string;
7060
+ mime: string;
7061
+ runId?: string | undefined;
7062
+ byteSize?: number | undefined;
7063
+ imageIndex?: number | undefined;
7064
+ }[] | undefined;
7018
7065
  };
7019
7066
  turnId: string;
7020
7067
  parentItemId: string | null;
@@ -7043,6 +7090,13 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
7043
7090
  startLine?: number | undefined;
7044
7091
  endLine?: number | undefined;
7045
7092
  }[] | undefined;
7093
+ attachments?: {
7094
+ name: string;
7095
+ mime: string;
7096
+ runId?: string | undefined;
7097
+ byteSize?: number | undefined;
7098
+ imageIndex?: number | undefined;
7099
+ }[] | undefined;
7046
7100
  };
7047
7101
  turnId: string;
7048
7102
  parentItemId: string | null;
@@ -7391,6 +7445,13 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
7391
7445
  inputSummary: string | null;
7392
7446
  outputSummary: string | null;
7393
7447
  progressLabel: string | null;
7448
+ attachments?: {
7449
+ name: string;
7450
+ mime: string;
7451
+ runId?: string | undefined;
7452
+ byteSize?: number | undefined;
7453
+ imageIndex?: number | undefined;
7454
+ }[] | undefined;
7394
7455
  toolCategory?: "IMAGE_GENERATION" | undefined;
7395
7456
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
7396
7457
  subagentId?: string | null | undefined;
@@ -7405,13 +7466,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
7405
7466
  timestamp: string;
7406
7467
  truncated?: boolean | undefined;
7407
7468
  } | undefined;
7408
- attachments?: {
7409
- name: string;
7410
- mime: string;
7411
- runId?: string | undefined;
7412
- byteSize?: number | undefined;
7413
- imageIndex?: number | undefined;
7414
- }[] | undefined;
7415
7469
  }, {
7416
7470
  errorCode: string | null;
7417
7471
  title: string;
@@ -7421,6 +7475,13 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
7421
7475
  inputSummary: string | null;
7422
7476
  outputSummary: string | null;
7423
7477
  progressLabel: string | null;
7478
+ attachments?: {
7479
+ name: string;
7480
+ mime: string;
7481
+ runId?: string | undefined;
7482
+ byteSize?: number | undefined;
7483
+ imageIndex?: number | undefined;
7484
+ }[] | undefined;
7424
7485
  toolCategory?: "IMAGE_GENERATION" | undefined;
7425
7486
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
7426
7487
  subagentId?: string | null | undefined;
@@ -7435,13 +7496,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
7435
7496
  timestamp: string;
7436
7497
  truncated?: boolean | undefined;
7437
7498
  } | undefined;
7438
- attachments?: {
7439
- name: string;
7440
- mime: string;
7441
- runId?: string | undefined;
7442
- byteSize?: number | undefined;
7443
- imageIndex?: number | undefined;
7444
- }[] | undefined;
7445
7499
  }>;
7446
7500
  }, "strip", z.ZodTypeAny, {
7447
7501
  status: "PENDING" | "FAILED" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
@@ -7461,6 +7515,13 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
7461
7515
  inputSummary: string | null;
7462
7516
  outputSummary: string | null;
7463
7517
  progressLabel: string | null;
7518
+ attachments?: {
7519
+ name: string;
7520
+ mime: string;
7521
+ runId?: string | undefined;
7522
+ byteSize?: number | undefined;
7523
+ imageIndex?: number | undefined;
7524
+ }[] | undefined;
7464
7525
  toolCategory?: "IMAGE_GENERATION" | undefined;
7465
7526
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
7466
7527
  subagentId?: string | null | undefined;
@@ -7475,13 +7536,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
7475
7536
  timestamp: string;
7476
7537
  truncated?: boolean | undefined;
7477
7538
  } | undefined;
7478
- attachments?: {
7479
- name: string;
7480
- mime: string;
7481
- runId?: string | undefined;
7482
- byteSize?: number | undefined;
7483
- imageIndex?: number | undefined;
7484
- }[] | undefined;
7485
7539
  };
7486
7540
  turnId: string;
7487
7541
  parentItemId: string | null;
@@ -7506,6 +7560,13 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
7506
7560
  inputSummary: string | null;
7507
7561
  outputSummary: string | null;
7508
7562
  progressLabel: string | null;
7563
+ attachments?: {
7564
+ name: string;
7565
+ mime: string;
7566
+ runId?: string | undefined;
7567
+ byteSize?: number | undefined;
7568
+ imageIndex?: number | undefined;
7569
+ }[] | undefined;
7509
7570
  toolCategory?: "IMAGE_GENERATION" | undefined;
7510
7571
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
7511
7572
  subagentId?: string | null | undefined;
@@ -7520,13 +7581,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
7520
7581
  timestamp: string;
7521
7582
  truncated?: boolean | undefined;
7522
7583
  } | undefined;
7523
- attachments?: {
7524
- name: string;
7525
- mime: string;
7526
- runId?: string | undefined;
7527
- byteSize?: number | undefined;
7528
- imageIndex?: number | undefined;
7529
- }[] | undefined;
7530
7584
  };
7531
7585
  turnId: string;
7532
7586
  parentItemId: string | null;
@@ -8391,6 +8445,37 @@ export declare const conversationTurnSchema: z.ZodObject<{
8391
8445
  startLine?: number | undefined;
8392
8446
  endLine?: number | undefined;
8393
8447
  }>, "many">>;
8448
+ attachments: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
8449
+ name: z.ZodString;
8450
+ mime: z.ZodString;
8451
+ byteSize: z.ZodOptional<z.ZodNumber>;
8452
+ runId: z.ZodOptional<z.ZodString>;
8453
+ imageIndex: z.ZodOptional<z.ZodNumber>;
8454
+ }, "strict", z.ZodTypeAny, {
8455
+ name: string;
8456
+ mime: string;
8457
+ runId?: string | undefined;
8458
+ byteSize?: number | undefined;
8459
+ imageIndex?: number | undefined;
8460
+ }, {
8461
+ name: string;
8462
+ mime: string;
8463
+ runId?: string | undefined;
8464
+ byteSize?: number | undefined;
8465
+ imageIndex?: number | undefined;
8466
+ }>, {
8467
+ name: string;
8468
+ mime: string;
8469
+ runId?: string | undefined;
8470
+ byteSize?: number | undefined;
8471
+ imageIndex?: number | undefined;
8472
+ }, {
8473
+ name: string;
8474
+ mime: string;
8475
+ runId?: string | undefined;
8476
+ byteSize?: number | undefined;
8477
+ imageIndex?: number | undefined;
8478
+ }>, "many">>;
8394
8479
  source: z.ZodOptional<z.ZodLiteral<"SCHEDULED">>;
8395
8480
  delivery: z.ZodEnum<["PENDING", "ACCEPTED", "STEERED", "QUEUED_NEXT_TURN", "REJECTED"]>;
8396
8481
  }, "strip", z.ZodTypeAny, {
@@ -8406,6 +8491,13 @@ export declare const conversationTurnSchema: z.ZodObject<{
8406
8491
  }[];
8407
8492
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
8408
8493
  source?: "SCHEDULED" | undefined;
8494
+ attachments?: {
8495
+ name: string;
8496
+ mime: string;
8497
+ runId?: string | undefined;
8498
+ byteSize?: number | undefined;
8499
+ imageIndex?: number | undefined;
8500
+ }[] | undefined;
8409
8501
  }, {
8410
8502
  clientMessageId: string | null;
8411
8503
  text: string;
@@ -8419,6 +8511,13 @@ export declare const conversationTurnSchema: z.ZodObject<{
8419
8511
  startLine?: number | undefined;
8420
8512
  endLine?: number | undefined;
8421
8513
  }[] | undefined;
8514
+ attachments?: {
8515
+ name: string;
8516
+ mime: string;
8517
+ runId?: string | undefined;
8518
+ byteSize?: number | undefined;
8519
+ imageIndex?: number | undefined;
8520
+ }[] | undefined;
8422
8521
  }>;
8423
8522
  }, "strip", z.ZodTypeAny, {
8424
8523
  status: "PENDING" | "FAILED" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
@@ -8442,6 +8541,13 @@ export declare const conversationTurnSchema: z.ZodObject<{
8442
8541
  }[];
8443
8542
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
8444
8543
  source?: "SCHEDULED" | undefined;
8544
+ attachments?: {
8545
+ name: string;
8546
+ mime: string;
8547
+ runId?: string | undefined;
8548
+ byteSize?: number | undefined;
8549
+ imageIndex?: number | undefined;
8550
+ }[] | undefined;
8445
8551
  };
8446
8552
  turnId: string;
8447
8553
  parentItemId: string | null;
@@ -8470,6 +8576,13 @@ export declare const conversationTurnSchema: z.ZodObject<{
8470
8576
  startLine?: number | undefined;
8471
8577
  endLine?: number | undefined;
8472
8578
  }[] | undefined;
8579
+ attachments?: {
8580
+ name: string;
8581
+ mime: string;
8582
+ runId?: string | undefined;
8583
+ byteSize?: number | undefined;
8584
+ imageIndex?: number | undefined;
8585
+ }[] | undefined;
8473
8586
  };
8474
8587
  turnId: string;
8475
8588
  parentItemId: string | null;
@@ -8818,6 +8931,13 @@ export declare const conversationTurnSchema: z.ZodObject<{
8818
8931
  inputSummary: string | null;
8819
8932
  outputSummary: string | null;
8820
8933
  progressLabel: string | null;
8934
+ attachments?: {
8935
+ name: string;
8936
+ mime: string;
8937
+ runId?: string | undefined;
8938
+ byteSize?: number | undefined;
8939
+ imageIndex?: number | undefined;
8940
+ }[] | undefined;
8821
8941
  toolCategory?: "IMAGE_GENERATION" | undefined;
8822
8942
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
8823
8943
  subagentId?: string | null | undefined;
@@ -8832,13 +8952,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
8832
8952
  timestamp: string;
8833
8953
  truncated?: boolean | undefined;
8834
8954
  } | undefined;
8835
- attachments?: {
8836
- name: string;
8837
- mime: string;
8838
- runId?: string | undefined;
8839
- byteSize?: number | undefined;
8840
- imageIndex?: number | undefined;
8841
- }[] | undefined;
8842
8955
  }, {
8843
8956
  errorCode: string | null;
8844
8957
  title: string;
@@ -8848,6 +8961,13 @@ export declare const conversationTurnSchema: z.ZodObject<{
8848
8961
  inputSummary: string | null;
8849
8962
  outputSummary: string | null;
8850
8963
  progressLabel: string | null;
8964
+ attachments?: {
8965
+ name: string;
8966
+ mime: string;
8967
+ runId?: string | undefined;
8968
+ byteSize?: number | undefined;
8969
+ imageIndex?: number | undefined;
8970
+ }[] | undefined;
8851
8971
  toolCategory?: "IMAGE_GENERATION" | undefined;
8852
8972
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
8853
8973
  subagentId?: string | null | undefined;
@@ -8862,13 +8982,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
8862
8982
  timestamp: string;
8863
8983
  truncated?: boolean | undefined;
8864
8984
  } | undefined;
8865
- attachments?: {
8866
- name: string;
8867
- mime: string;
8868
- runId?: string | undefined;
8869
- byteSize?: number | undefined;
8870
- imageIndex?: number | undefined;
8871
- }[] | undefined;
8872
8985
  }>;
8873
8986
  }, "strip", z.ZodTypeAny, {
8874
8987
  status: "PENDING" | "FAILED" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
@@ -8888,6 +9001,13 @@ export declare const conversationTurnSchema: z.ZodObject<{
8888
9001
  inputSummary: string | null;
8889
9002
  outputSummary: string | null;
8890
9003
  progressLabel: string | null;
9004
+ attachments?: {
9005
+ name: string;
9006
+ mime: string;
9007
+ runId?: string | undefined;
9008
+ byteSize?: number | undefined;
9009
+ imageIndex?: number | undefined;
9010
+ }[] | undefined;
8891
9011
  toolCategory?: "IMAGE_GENERATION" | undefined;
8892
9012
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
8893
9013
  subagentId?: string | null | undefined;
@@ -8902,13 +9022,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
8902
9022
  timestamp: string;
8903
9023
  truncated?: boolean | undefined;
8904
9024
  } | undefined;
8905
- attachments?: {
8906
- name: string;
8907
- mime: string;
8908
- runId?: string | undefined;
8909
- byteSize?: number | undefined;
8910
- imageIndex?: number | undefined;
8911
- }[] | undefined;
8912
9025
  };
8913
9026
  turnId: string;
8914
9027
  parentItemId: string | null;
@@ -8933,6 +9046,13 @@ export declare const conversationTurnSchema: z.ZodObject<{
8933
9046
  inputSummary: string | null;
8934
9047
  outputSummary: string | null;
8935
9048
  progressLabel: string | null;
9049
+ attachments?: {
9050
+ name: string;
9051
+ mime: string;
9052
+ runId?: string | undefined;
9053
+ byteSize?: number | undefined;
9054
+ imageIndex?: number | undefined;
9055
+ }[] | undefined;
8936
9056
  toolCategory?: "IMAGE_GENERATION" | undefined;
8937
9057
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
8938
9058
  subagentId?: string | null | undefined;
@@ -8947,13 +9067,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
8947
9067
  timestamp: string;
8948
9068
  truncated?: boolean | undefined;
8949
9069
  } | undefined;
8950
- attachments?: {
8951
- name: string;
8952
- mime: string;
8953
- runId?: string | undefined;
8954
- byteSize?: number | undefined;
8955
- imageIndex?: number | undefined;
8956
- }[] | undefined;
8957
9070
  };
8958
9071
  turnId: string;
8959
9072
  parentItemId: string | null;
@@ -9743,6 +9856,13 @@ export declare const conversationTurnSchema: z.ZodObject<{
9743
9856
  }[];
9744
9857
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
9745
9858
  source?: "SCHEDULED" | undefined;
9859
+ attachments?: {
9860
+ name: string;
9861
+ mime: string;
9862
+ runId?: string | undefined;
9863
+ byteSize?: number | undefined;
9864
+ imageIndex?: number | undefined;
9865
+ }[] | undefined;
9746
9866
  };
9747
9867
  turnId: string;
9748
9868
  parentItemId: string | null;
@@ -9869,6 +9989,13 @@ export declare const conversationTurnSchema: z.ZodObject<{
9869
9989
  inputSummary: string | null;
9870
9990
  outputSummary: string | null;
9871
9991
  progressLabel: string | null;
9992
+ attachments?: {
9993
+ name: string;
9994
+ mime: string;
9995
+ runId?: string | undefined;
9996
+ byteSize?: number | undefined;
9997
+ imageIndex?: number | undefined;
9998
+ }[] | undefined;
9872
9999
  toolCategory?: "IMAGE_GENERATION" | undefined;
9873
10000
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
9874
10001
  subagentId?: string | null | undefined;
@@ -9883,13 +10010,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
9883
10010
  timestamp: string;
9884
10011
  truncated?: boolean | undefined;
9885
10012
  } | undefined;
9886
- attachments?: {
9887
- name: string;
9888
- mime: string;
9889
- runId?: string | undefined;
9890
- byteSize?: number | undefined;
9891
- imageIndex?: number | undefined;
9892
- }[] | undefined;
9893
10013
  };
9894
10014
  turnId: string;
9895
10015
  parentItemId: string | null;
@@ -10104,6 +10224,13 @@ export declare const conversationTurnSchema: z.ZodObject<{
10104
10224
  startLine?: number | undefined;
10105
10225
  endLine?: number | undefined;
10106
10226
  }[] | undefined;
10227
+ attachments?: {
10228
+ name: string;
10229
+ mime: string;
10230
+ runId?: string | undefined;
10231
+ byteSize?: number | undefined;
10232
+ imageIndex?: number | undefined;
10233
+ }[] | undefined;
10107
10234
  };
10108
10235
  turnId: string;
10109
10236
  parentItemId: string | null;
@@ -10230,6 +10357,13 @@ export declare const conversationTurnSchema: z.ZodObject<{
10230
10357
  inputSummary: string | null;
10231
10358
  outputSummary: string | null;
10232
10359
  progressLabel: string | null;
10360
+ attachments?: {
10361
+ name: string;
10362
+ mime: string;
10363
+ runId?: string | undefined;
10364
+ byteSize?: number | undefined;
10365
+ imageIndex?: number | undefined;
10366
+ }[] | undefined;
10233
10367
  toolCategory?: "IMAGE_GENERATION" | undefined;
10234
10368
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
10235
10369
  subagentId?: string | null | undefined;
@@ -10244,13 +10378,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
10244
10378
  timestamp: string;
10245
10379
  truncated?: boolean | undefined;
10246
10380
  } | undefined;
10247
- attachments?: {
10248
- name: string;
10249
- mime: string;
10250
- runId?: string | undefined;
10251
- byteSize?: number | undefined;
10252
- imageIndex?: number | undefined;
10253
- }[] | undefined;
10254
10381
  };
10255
10382
  turnId: string;
10256
10383
  parentItemId: string | null;
@@ -11748,7 +11875,7 @@ export declare const conversationFileProjectionSchema: z.ZodObject<{
11748
11875
  updatedAt: number;
11749
11876
  displayName: string;
11750
11877
  conversationId: string;
11751
- source: "USER" | "SYSTEM" | "AGENT";
11878
+ source: "SYSTEM" | "USER" | "AGENT";
11752
11879
  category: "UPLOAD" | "OUTPUT";
11753
11880
  relativePath: string;
11754
11881
  mimeType: string;
@@ -11761,7 +11888,7 @@ export declare const conversationFileProjectionSchema: z.ZodObject<{
11761
11888
  updatedAt: number;
11762
11889
  displayName: string;
11763
11890
  conversationId: string;
11764
- source: "USER" | "SYSTEM" | "AGENT";
11891
+ source: "SYSTEM" | "USER" | "AGENT";
11765
11892
  category: "UPLOAD" | "OUTPUT";
11766
11893
  relativePath: string;
11767
11894
  mimeType: string;
@@ -12038,6 +12165,37 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
12038
12165
  startLine?: number | undefined;
12039
12166
  endLine?: number | undefined;
12040
12167
  }>, "many">>;
12168
+ attachments: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
12169
+ name: z.ZodString;
12170
+ mime: z.ZodString;
12171
+ byteSize: z.ZodOptional<z.ZodNumber>;
12172
+ runId: z.ZodOptional<z.ZodString>;
12173
+ imageIndex: z.ZodOptional<z.ZodNumber>;
12174
+ }, "strict", z.ZodTypeAny, {
12175
+ name: string;
12176
+ mime: string;
12177
+ runId?: string | undefined;
12178
+ byteSize?: number | undefined;
12179
+ imageIndex?: number | undefined;
12180
+ }, {
12181
+ name: string;
12182
+ mime: string;
12183
+ runId?: string | undefined;
12184
+ byteSize?: number | undefined;
12185
+ imageIndex?: number | undefined;
12186
+ }>, {
12187
+ name: string;
12188
+ mime: string;
12189
+ runId?: string | undefined;
12190
+ byteSize?: number | undefined;
12191
+ imageIndex?: number | undefined;
12192
+ }, {
12193
+ name: string;
12194
+ mime: string;
12195
+ runId?: string | undefined;
12196
+ byteSize?: number | undefined;
12197
+ imageIndex?: number | undefined;
12198
+ }>, "many">>;
12041
12199
  source: z.ZodOptional<z.ZodLiteral<"SCHEDULED">>;
12042
12200
  delivery: z.ZodEnum<["PENDING", "ACCEPTED", "STEERED", "QUEUED_NEXT_TURN", "REJECTED"]>;
12043
12201
  }, "strip", z.ZodTypeAny, {
@@ -12053,6 +12211,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
12053
12211
  }[];
12054
12212
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
12055
12213
  source?: "SCHEDULED" | undefined;
12214
+ attachments?: {
12215
+ name: string;
12216
+ mime: string;
12217
+ runId?: string | undefined;
12218
+ byteSize?: number | undefined;
12219
+ imageIndex?: number | undefined;
12220
+ }[] | undefined;
12056
12221
  }, {
12057
12222
  clientMessageId: string | null;
12058
12223
  text: string;
@@ -12066,6 +12231,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
12066
12231
  startLine?: number | undefined;
12067
12232
  endLine?: number | undefined;
12068
12233
  }[] | undefined;
12234
+ attachments?: {
12235
+ name: string;
12236
+ mime: string;
12237
+ runId?: string | undefined;
12238
+ byteSize?: number | undefined;
12239
+ imageIndex?: number | undefined;
12240
+ }[] | undefined;
12069
12241
  }>;
12070
12242
  }, "strip", z.ZodTypeAny, {
12071
12243
  status: "PENDING" | "FAILED" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
@@ -12089,6 +12261,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
12089
12261
  }[];
12090
12262
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
12091
12263
  source?: "SCHEDULED" | undefined;
12264
+ attachments?: {
12265
+ name: string;
12266
+ mime: string;
12267
+ runId?: string | undefined;
12268
+ byteSize?: number | undefined;
12269
+ imageIndex?: number | undefined;
12270
+ }[] | undefined;
12092
12271
  };
12093
12272
  turnId: string;
12094
12273
  parentItemId: string | null;
@@ -12117,6 +12296,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
12117
12296
  startLine?: number | undefined;
12118
12297
  endLine?: number | undefined;
12119
12298
  }[] | undefined;
12299
+ attachments?: {
12300
+ name: string;
12301
+ mime: string;
12302
+ runId?: string | undefined;
12303
+ byteSize?: number | undefined;
12304
+ imageIndex?: number | undefined;
12305
+ }[] | undefined;
12120
12306
  };
12121
12307
  turnId: string;
12122
12308
  parentItemId: string | null;
@@ -12465,6 +12651,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
12465
12651
  inputSummary: string | null;
12466
12652
  outputSummary: string | null;
12467
12653
  progressLabel: string | null;
12654
+ attachments?: {
12655
+ name: string;
12656
+ mime: string;
12657
+ runId?: string | undefined;
12658
+ byteSize?: number | undefined;
12659
+ imageIndex?: number | undefined;
12660
+ }[] | undefined;
12468
12661
  toolCategory?: "IMAGE_GENERATION" | undefined;
12469
12662
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
12470
12663
  subagentId?: string | null | undefined;
@@ -12479,13 +12672,6 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
12479
12672
  timestamp: string;
12480
12673
  truncated?: boolean | undefined;
12481
12674
  } | undefined;
12482
- attachments?: {
12483
- name: string;
12484
- mime: string;
12485
- runId?: string | undefined;
12486
- byteSize?: number | undefined;
12487
- imageIndex?: number | undefined;
12488
- }[] | undefined;
12489
12675
  }, {
12490
12676
  errorCode: string | null;
12491
12677
  title: string;
@@ -12495,6 +12681,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
12495
12681
  inputSummary: string | null;
12496
12682
  outputSummary: string | null;
12497
12683
  progressLabel: string | null;
12684
+ attachments?: {
12685
+ name: string;
12686
+ mime: string;
12687
+ runId?: string | undefined;
12688
+ byteSize?: number | undefined;
12689
+ imageIndex?: number | undefined;
12690
+ }[] | undefined;
12498
12691
  toolCategory?: "IMAGE_GENERATION" | undefined;
12499
12692
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
12500
12693
  subagentId?: string | null | undefined;
@@ -12509,13 +12702,6 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
12509
12702
  timestamp: string;
12510
12703
  truncated?: boolean | undefined;
12511
12704
  } | undefined;
12512
- attachments?: {
12513
- name: string;
12514
- mime: string;
12515
- runId?: string | undefined;
12516
- byteSize?: number | undefined;
12517
- imageIndex?: number | undefined;
12518
- }[] | undefined;
12519
12705
  }>;
12520
12706
  }, "strip", z.ZodTypeAny, {
12521
12707
  status: "PENDING" | "FAILED" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
@@ -12535,6 +12721,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
12535
12721
  inputSummary: string | null;
12536
12722
  outputSummary: string | null;
12537
12723
  progressLabel: string | null;
12724
+ attachments?: {
12725
+ name: string;
12726
+ mime: string;
12727
+ runId?: string | undefined;
12728
+ byteSize?: number | undefined;
12729
+ imageIndex?: number | undefined;
12730
+ }[] | undefined;
12538
12731
  toolCategory?: "IMAGE_GENERATION" | undefined;
12539
12732
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
12540
12733
  subagentId?: string | null | undefined;
@@ -12549,13 +12742,6 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
12549
12742
  timestamp: string;
12550
12743
  truncated?: boolean | undefined;
12551
12744
  } | undefined;
12552
- attachments?: {
12553
- name: string;
12554
- mime: string;
12555
- runId?: string | undefined;
12556
- byteSize?: number | undefined;
12557
- imageIndex?: number | undefined;
12558
- }[] | undefined;
12559
12745
  };
12560
12746
  turnId: string;
12561
12747
  parentItemId: string | null;
@@ -12580,6 +12766,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
12580
12766
  inputSummary: string | null;
12581
12767
  outputSummary: string | null;
12582
12768
  progressLabel: string | null;
12769
+ attachments?: {
12770
+ name: string;
12771
+ mime: string;
12772
+ runId?: string | undefined;
12773
+ byteSize?: number | undefined;
12774
+ imageIndex?: number | undefined;
12775
+ }[] | undefined;
12583
12776
  toolCategory?: "IMAGE_GENERATION" | undefined;
12584
12777
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
12585
12778
  subagentId?: string | null | undefined;
@@ -12594,13 +12787,6 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
12594
12787
  timestamp: string;
12595
12788
  truncated?: boolean | undefined;
12596
12789
  } | undefined;
12597
- attachments?: {
12598
- name: string;
12599
- mime: string;
12600
- runId?: string | undefined;
12601
- byteSize?: number | undefined;
12602
- imageIndex?: number | undefined;
12603
- }[] | undefined;
12604
12790
  };
12605
12791
  turnId: string;
12606
12792
  parentItemId: string | null;
@@ -13390,6 +13576,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
13390
13576
  }[];
13391
13577
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
13392
13578
  source?: "SCHEDULED" | undefined;
13579
+ attachments?: {
13580
+ name: string;
13581
+ mime: string;
13582
+ runId?: string | undefined;
13583
+ byteSize?: number | undefined;
13584
+ imageIndex?: number | undefined;
13585
+ }[] | undefined;
13393
13586
  };
13394
13587
  turnId: string;
13395
13588
  parentItemId: string | null;
@@ -13516,6 +13709,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
13516
13709
  inputSummary: string | null;
13517
13710
  outputSummary: string | null;
13518
13711
  progressLabel: string | null;
13712
+ attachments?: {
13713
+ name: string;
13714
+ mime: string;
13715
+ runId?: string | undefined;
13716
+ byteSize?: number | undefined;
13717
+ imageIndex?: number | undefined;
13718
+ }[] | undefined;
13519
13719
  toolCategory?: "IMAGE_GENERATION" | undefined;
13520
13720
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
13521
13721
  subagentId?: string | null | undefined;
@@ -13530,13 +13730,6 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
13530
13730
  timestamp: string;
13531
13731
  truncated?: boolean | undefined;
13532
13732
  } | undefined;
13533
- attachments?: {
13534
- name: string;
13535
- mime: string;
13536
- runId?: string | undefined;
13537
- byteSize?: number | undefined;
13538
- imageIndex?: number | undefined;
13539
- }[] | undefined;
13540
13733
  };
13541
13734
  turnId: string;
13542
13735
  parentItemId: string | null;
@@ -13751,6 +13944,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
13751
13944
  startLine?: number | undefined;
13752
13945
  endLine?: number | undefined;
13753
13946
  }[] | undefined;
13947
+ attachments?: {
13948
+ name: string;
13949
+ mime: string;
13950
+ runId?: string | undefined;
13951
+ byteSize?: number | undefined;
13952
+ imageIndex?: number | undefined;
13953
+ }[] | undefined;
13754
13954
  };
13755
13955
  turnId: string;
13756
13956
  parentItemId: string | null;
@@ -13877,6 +14077,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
13877
14077
  inputSummary: string | null;
13878
14078
  outputSummary: string | null;
13879
14079
  progressLabel: string | null;
14080
+ attachments?: {
14081
+ name: string;
14082
+ mime: string;
14083
+ runId?: string | undefined;
14084
+ byteSize?: number | undefined;
14085
+ imageIndex?: number | undefined;
14086
+ }[] | undefined;
13880
14087
  toolCategory?: "IMAGE_GENERATION" | undefined;
13881
14088
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
13882
14089
  subagentId?: string | null | undefined;
@@ -13891,13 +14098,6 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
13891
14098
  timestamp: string;
13892
14099
  truncated?: boolean | undefined;
13893
14100
  } | undefined;
13894
- attachments?: {
13895
- name: string;
13896
- mime: string;
13897
- runId?: string | undefined;
13898
- byteSize?: number | undefined;
13899
- imageIndex?: number | undefined;
13900
- }[] | undefined;
13901
14101
  };
13902
14102
  turnId: string;
13903
14103
  parentItemId: string | null;
@@ -14085,7 +14285,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
14085
14285
  updatedAt: number;
14086
14286
  displayName: string;
14087
14287
  conversationId: string;
14088
- source: "USER" | "SYSTEM" | "AGENT";
14288
+ source: "SYSTEM" | "USER" | "AGENT";
14089
14289
  category: "UPLOAD" | "OUTPUT";
14090
14290
  relativePath: string;
14091
14291
  mimeType: string;
@@ -14098,7 +14298,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
14098
14298
  updatedAt: number;
14099
14299
  displayName: string;
14100
14300
  conversationId: string;
14101
- source: "USER" | "SYSTEM" | "AGENT";
14301
+ source: "SYSTEM" | "USER" | "AGENT";
14102
14302
  category: "UPLOAD" | "OUTPUT";
14103
14303
  relativePath: string;
14104
14304
  mimeType: string;
@@ -14287,7 +14487,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
14287
14487
  updatedAt: number;
14288
14488
  displayName: string;
14289
14489
  conversationId: string;
14290
- source: "USER" | "SYSTEM" | "AGENT";
14490
+ source: "SYSTEM" | "USER" | "AGENT";
14291
14491
  category: "UPLOAD" | "OUTPUT";
14292
14492
  relativePath: string;
14293
14493
  mimeType: string;
@@ -14344,6 +14544,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
14344
14544
  }[];
14345
14545
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
14346
14546
  source?: "SCHEDULED" | undefined;
14547
+ attachments?: {
14548
+ name: string;
14549
+ mime: string;
14550
+ runId?: string | undefined;
14551
+ byteSize?: number | undefined;
14552
+ imageIndex?: number | undefined;
14553
+ }[] | undefined;
14347
14554
  };
14348
14555
  turnId: string;
14349
14556
  parentItemId: string | null;
@@ -14470,6 +14677,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
14470
14677
  inputSummary: string | null;
14471
14678
  outputSummary: string | null;
14472
14679
  progressLabel: string | null;
14680
+ attachments?: {
14681
+ name: string;
14682
+ mime: string;
14683
+ runId?: string | undefined;
14684
+ byteSize?: number | undefined;
14685
+ imageIndex?: number | undefined;
14686
+ }[] | undefined;
14473
14687
  toolCategory?: "IMAGE_GENERATION" | undefined;
14474
14688
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
14475
14689
  subagentId?: string | null | undefined;
@@ -14484,13 +14698,6 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
14484
14698
  timestamp: string;
14485
14699
  truncated?: boolean | undefined;
14486
14700
  } | undefined;
14487
- attachments?: {
14488
- name: string;
14489
- mime: string;
14490
- runId?: string | undefined;
14491
- byteSize?: number | undefined;
14492
- imageIndex?: number | undefined;
14493
- }[] | undefined;
14494
14701
  };
14495
14702
  turnId: string;
14496
14703
  parentItemId: string | null;
@@ -14713,7 +14920,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
14713
14920
  updatedAt: number;
14714
14921
  displayName: string;
14715
14922
  conversationId: string;
14716
- source: "USER" | "SYSTEM" | "AGENT";
14923
+ source: "SYSTEM" | "USER" | "AGENT";
14717
14924
  category: "UPLOAD" | "OUTPUT";
14718
14925
  relativePath: string;
14719
14926
  mimeType: string;
@@ -14770,6 +14977,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
14770
14977
  startLine?: number | undefined;
14771
14978
  endLine?: number | undefined;
14772
14979
  }[] | undefined;
14980
+ attachments?: {
14981
+ name: string;
14982
+ mime: string;
14983
+ runId?: string | undefined;
14984
+ byteSize?: number | undefined;
14985
+ imageIndex?: number | undefined;
14986
+ }[] | undefined;
14773
14987
  };
14774
14988
  turnId: string;
14775
14989
  parentItemId: string | null;
@@ -14896,6 +15110,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
14896
15110
  inputSummary: string | null;
14897
15111
  outputSummary: string | null;
14898
15112
  progressLabel: string | null;
15113
+ attachments?: {
15114
+ name: string;
15115
+ mime: string;
15116
+ runId?: string | undefined;
15117
+ byteSize?: number | undefined;
15118
+ imageIndex?: number | undefined;
15119
+ }[] | undefined;
14899
15120
  toolCategory?: "IMAGE_GENERATION" | undefined;
14900
15121
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
14901
15122
  subagentId?: string | null | undefined;
@@ -14910,13 +15131,6 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
14910
15131
  timestamp: string;
14911
15132
  truncated?: boolean | undefined;
14912
15133
  } | undefined;
14913
- attachments?: {
14914
- name: string;
14915
- mime: string;
14916
- runId?: string | undefined;
14917
- byteSize?: number | undefined;
14918
- imageIndex?: number | undefined;
14919
- }[] | undefined;
14920
15134
  };
14921
15135
  turnId: string;
14922
15136
  parentItemId: string | null;
@@ -15139,7 +15353,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
15139
15353
  updatedAt: number;
15140
15354
  displayName: string;
15141
15355
  conversationId: string;
15142
- source: "USER" | "SYSTEM" | "AGENT";
15356
+ source: "SYSTEM" | "USER" | "AGENT";
15143
15357
  category: "UPLOAD" | "OUTPUT";
15144
15358
  relativePath: string;
15145
15359
  mimeType: string;
@@ -15196,6 +15410,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
15196
15410
  }[];
15197
15411
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
15198
15412
  source?: "SCHEDULED" | undefined;
15413
+ attachments?: {
15414
+ name: string;
15415
+ mime: string;
15416
+ runId?: string | undefined;
15417
+ byteSize?: number | undefined;
15418
+ imageIndex?: number | undefined;
15419
+ }[] | undefined;
15199
15420
  };
15200
15421
  turnId: string;
15201
15422
  parentItemId: string | null;
@@ -15322,6 +15543,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
15322
15543
  inputSummary: string | null;
15323
15544
  outputSummary: string | null;
15324
15545
  progressLabel: string | null;
15546
+ attachments?: {
15547
+ name: string;
15548
+ mime: string;
15549
+ runId?: string | undefined;
15550
+ byteSize?: number | undefined;
15551
+ imageIndex?: number | undefined;
15552
+ }[] | undefined;
15325
15553
  toolCategory?: "IMAGE_GENERATION" | undefined;
15326
15554
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
15327
15555
  subagentId?: string | null | undefined;
@@ -15336,13 +15564,6 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
15336
15564
  timestamp: string;
15337
15565
  truncated?: boolean | undefined;
15338
15566
  } | undefined;
15339
- attachments?: {
15340
- name: string;
15341
- mime: string;
15342
- runId?: string | undefined;
15343
- byteSize?: number | undefined;
15344
- imageIndex?: number | undefined;
15345
- }[] | undefined;
15346
15567
  };
15347
15568
  turnId: string;
15348
15569
  parentItemId: string | null;
@@ -15565,7 +15786,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
15565
15786
  updatedAt: number;
15566
15787
  displayName: string;
15567
15788
  conversationId: string;
15568
- source: "USER" | "SYSTEM" | "AGENT";
15789
+ source: "SYSTEM" | "USER" | "AGENT";
15569
15790
  category: "UPLOAD" | "OUTPUT";
15570
15791
  relativePath: string;
15571
15792
  mimeType: string;
@@ -15622,6 +15843,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
15622
15843
  startLine?: number | undefined;
15623
15844
  endLine?: number | undefined;
15624
15845
  }[] | undefined;
15846
+ attachments?: {
15847
+ name: string;
15848
+ mime: string;
15849
+ runId?: string | undefined;
15850
+ byteSize?: number | undefined;
15851
+ imageIndex?: number | undefined;
15852
+ }[] | undefined;
15625
15853
  };
15626
15854
  turnId: string;
15627
15855
  parentItemId: string | null;
@@ -15748,6 +15976,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
15748
15976
  inputSummary: string | null;
15749
15977
  outputSummary: string | null;
15750
15978
  progressLabel: string | null;
15979
+ attachments?: {
15980
+ name: string;
15981
+ mime: string;
15982
+ runId?: string | undefined;
15983
+ byteSize?: number | undefined;
15984
+ imageIndex?: number | undefined;
15985
+ }[] | undefined;
15751
15986
  toolCategory?: "IMAGE_GENERATION" | undefined;
15752
15987
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
15753
15988
  subagentId?: string | null | undefined;
@@ -15762,13 +15997,6 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
15762
15997
  timestamp: string;
15763
15998
  truncated?: boolean | undefined;
15764
15999
  } | undefined;
15765
- attachments?: {
15766
- name: string;
15767
- mime: string;
15768
- runId?: string | undefined;
15769
- byteSize?: number | undefined;
15770
- imageIndex?: number | undefined;
15771
- }[] | undefined;
15772
16000
  };
15773
16001
  turnId: string;
15774
16002
  parentItemId: string | null;
@@ -16362,6 +16590,37 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
16362
16590
  startLine?: number | undefined;
16363
16591
  endLine?: number | undefined;
16364
16592
  }>, "many">>;
16593
+ attachments: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
16594
+ name: z.ZodString;
16595
+ mime: z.ZodString;
16596
+ byteSize: z.ZodOptional<z.ZodNumber>;
16597
+ runId: z.ZodOptional<z.ZodString>;
16598
+ imageIndex: z.ZodOptional<z.ZodNumber>;
16599
+ }, "strict", z.ZodTypeAny, {
16600
+ name: string;
16601
+ mime: string;
16602
+ runId?: string | undefined;
16603
+ byteSize?: number | undefined;
16604
+ imageIndex?: number | undefined;
16605
+ }, {
16606
+ name: string;
16607
+ mime: string;
16608
+ runId?: string | undefined;
16609
+ byteSize?: number | undefined;
16610
+ imageIndex?: number | undefined;
16611
+ }>, {
16612
+ name: string;
16613
+ mime: string;
16614
+ runId?: string | undefined;
16615
+ byteSize?: number | undefined;
16616
+ imageIndex?: number | undefined;
16617
+ }, {
16618
+ name: string;
16619
+ mime: string;
16620
+ runId?: string | undefined;
16621
+ byteSize?: number | undefined;
16622
+ imageIndex?: number | undefined;
16623
+ }>, "many">>;
16365
16624
  source: z.ZodOptional<z.ZodLiteral<"SCHEDULED">>;
16366
16625
  delivery: z.ZodEnum<["PENDING", "ACCEPTED", "STEERED", "QUEUED_NEXT_TURN", "REJECTED"]>;
16367
16626
  }, "strip", z.ZodTypeAny, {
@@ -16377,6 +16636,13 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
16377
16636
  }[];
16378
16637
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
16379
16638
  source?: "SCHEDULED" | undefined;
16639
+ attachments?: {
16640
+ name: string;
16641
+ mime: string;
16642
+ runId?: string | undefined;
16643
+ byteSize?: number | undefined;
16644
+ imageIndex?: number | undefined;
16645
+ }[] | undefined;
16380
16646
  }, {
16381
16647
  clientMessageId: string | null;
16382
16648
  text: string;
@@ -16390,6 +16656,13 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
16390
16656
  startLine?: number | undefined;
16391
16657
  endLine?: number | undefined;
16392
16658
  }[] | undefined;
16659
+ attachments?: {
16660
+ name: string;
16661
+ mime: string;
16662
+ runId?: string | undefined;
16663
+ byteSize?: number | undefined;
16664
+ imageIndex?: number | undefined;
16665
+ }[] | undefined;
16393
16666
  }>;
16394
16667
  }, "strip", z.ZodTypeAny, {
16395
16668
  status: "PENDING" | "FAILED" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
@@ -16413,6 +16686,13 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
16413
16686
  }[];
16414
16687
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
16415
16688
  source?: "SCHEDULED" | undefined;
16689
+ attachments?: {
16690
+ name: string;
16691
+ mime: string;
16692
+ runId?: string | undefined;
16693
+ byteSize?: number | undefined;
16694
+ imageIndex?: number | undefined;
16695
+ }[] | undefined;
16416
16696
  };
16417
16697
  turnId: string;
16418
16698
  parentItemId: string | null;
@@ -16441,6 +16721,13 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
16441
16721
  startLine?: number | undefined;
16442
16722
  endLine?: number | undefined;
16443
16723
  }[] | undefined;
16724
+ attachments?: {
16725
+ name: string;
16726
+ mime: string;
16727
+ runId?: string | undefined;
16728
+ byteSize?: number | undefined;
16729
+ imageIndex?: number | undefined;
16730
+ }[] | undefined;
16444
16731
  };
16445
16732
  turnId: string;
16446
16733
  parentItemId: string | null;
@@ -16789,6 +17076,13 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
16789
17076
  inputSummary: string | null;
16790
17077
  outputSummary: string | null;
16791
17078
  progressLabel: string | null;
17079
+ attachments?: {
17080
+ name: string;
17081
+ mime: string;
17082
+ runId?: string | undefined;
17083
+ byteSize?: number | undefined;
17084
+ imageIndex?: number | undefined;
17085
+ }[] | undefined;
16792
17086
  toolCategory?: "IMAGE_GENERATION" | undefined;
16793
17087
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
16794
17088
  subagentId?: string | null | undefined;
@@ -16803,13 +17097,6 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
16803
17097
  timestamp: string;
16804
17098
  truncated?: boolean | undefined;
16805
17099
  } | undefined;
16806
- attachments?: {
16807
- name: string;
16808
- mime: string;
16809
- runId?: string | undefined;
16810
- byteSize?: number | undefined;
16811
- imageIndex?: number | undefined;
16812
- }[] | undefined;
16813
17100
  }, {
16814
17101
  errorCode: string | null;
16815
17102
  title: string;
@@ -16819,6 +17106,13 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
16819
17106
  inputSummary: string | null;
16820
17107
  outputSummary: string | null;
16821
17108
  progressLabel: string | null;
17109
+ attachments?: {
17110
+ name: string;
17111
+ mime: string;
17112
+ runId?: string | undefined;
17113
+ byteSize?: number | undefined;
17114
+ imageIndex?: number | undefined;
17115
+ }[] | undefined;
16822
17116
  toolCategory?: "IMAGE_GENERATION" | undefined;
16823
17117
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
16824
17118
  subagentId?: string | null | undefined;
@@ -16833,13 +17127,6 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
16833
17127
  timestamp: string;
16834
17128
  truncated?: boolean | undefined;
16835
17129
  } | undefined;
16836
- attachments?: {
16837
- name: string;
16838
- mime: string;
16839
- runId?: string | undefined;
16840
- byteSize?: number | undefined;
16841
- imageIndex?: number | undefined;
16842
- }[] | undefined;
16843
17130
  }>;
16844
17131
  }, "strip", z.ZodTypeAny, {
16845
17132
  status: "PENDING" | "FAILED" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
@@ -16859,6 +17146,13 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
16859
17146
  inputSummary: string | null;
16860
17147
  outputSummary: string | null;
16861
17148
  progressLabel: string | null;
17149
+ attachments?: {
17150
+ name: string;
17151
+ mime: string;
17152
+ runId?: string | undefined;
17153
+ byteSize?: number | undefined;
17154
+ imageIndex?: number | undefined;
17155
+ }[] | undefined;
16862
17156
  toolCategory?: "IMAGE_GENERATION" | undefined;
16863
17157
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
16864
17158
  subagentId?: string | null | undefined;
@@ -16873,13 +17167,6 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
16873
17167
  timestamp: string;
16874
17168
  truncated?: boolean | undefined;
16875
17169
  } | undefined;
16876
- attachments?: {
16877
- name: string;
16878
- mime: string;
16879
- runId?: string | undefined;
16880
- byteSize?: number | undefined;
16881
- imageIndex?: number | undefined;
16882
- }[] | undefined;
16883
17170
  };
16884
17171
  turnId: string;
16885
17172
  parentItemId: string | null;
@@ -16904,6 +17191,13 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
16904
17191
  inputSummary: string | null;
16905
17192
  outputSummary: string | null;
16906
17193
  progressLabel: string | null;
17194
+ attachments?: {
17195
+ name: string;
17196
+ mime: string;
17197
+ runId?: string | undefined;
17198
+ byteSize?: number | undefined;
17199
+ imageIndex?: number | undefined;
17200
+ }[] | undefined;
16907
17201
  toolCategory?: "IMAGE_GENERATION" | undefined;
16908
17202
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
16909
17203
  subagentId?: string | null | undefined;
@@ -16918,13 +17212,6 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
16918
17212
  timestamp: string;
16919
17213
  truncated?: boolean | undefined;
16920
17214
  } | undefined;
16921
- attachments?: {
16922
- name: string;
16923
- mime: string;
16924
- runId?: string | undefined;
16925
- byteSize?: number | undefined;
16926
- imageIndex?: number | undefined;
16927
- }[] | undefined;
16928
17215
  };
16929
17216
  turnId: string;
16930
17217
  parentItemId: string | null;
@@ -17714,6 +18001,13 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
17714
18001
  }[];
17715
18002
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
17716
18003
  source?: "SCHEDULED" | undefined;
18004
+ attachments?: {
18005
+ name: string;
18006
+ mime: string;
18007
+ runId?: string | undefined;
18008
+ byteSize?: number | undefined;
18009
+ imageIndex?: number | undefined;
18010
+ }[] | undefined;
17717
18011
  };
17718
18012
  turnId: string;
17719
18013
  parentItemId: string | null;
@@ -17840,6 +18134,13 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
17840
18134
  inputSummary: string | null;
17841
18135
  outputSummary: string | null;
17842
18136
  progressLabel: string | null;
18137
+ attachments?: {
18138
+ name: string;
18139
+ mime: string;
18140
+ runId?: string | undefined;
18141
+ byteSize?: number | undefined;
18142
+ imageIndex?: number | undefined;
18143
+ }[] | undefined;
17843
18144
  toolCategory?: "IMAGE_GENERATION" | undefined;
17844
18145
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
17845
18146
  subagentId?: string | null | undefined;
@@ -17854,13 +18155,6 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
17854
18155
  timestamp: string;
17855
18156
  truncated?: boolean | undefined;
17856
18157
  } | undefined;
17857
- attachments?: {
17858
- name: string;
17859
- mime: string;
17860
- runId?: string | undefined;
17861
- byteSize?: number | undefined;
17862
- imageIndex?: number | undefined;
17863
- }[] | undefined;
17864
18158
  };
17865
18159
  turnId: string;
17866
18160
  parentItemId: string | null;
@@ -18075,6 +18369,13 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
18075
18369
  startLine?: number | undefined;
18076
18370
  endLine?: number | undefined;
18077
18371
  }[] | undefined;
18372
+ attachments?: {
18373
+ name: string;
18374
+ mime: string;
18375
+ runId?: string | undefined;
18376
+ byteSize?: number | undefined;
18377
+ imageIndex?: number | undefined;
18378
+ }[] | undefined;
18078
18379
  };
18079
18380
  turnId: string;
18080
18381
  parentItemId: string | null;
@@ -18201,6 +18502,13 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
18201
18502
  inputSummary: string | null;
18202
18503
  outputSummary: string | null;
18203
18504
  progressLabel: string | null;
18505
+ attachments?: {
18506
+ name: string;
18507
+ mime: string;
18508
+ runId?: string | undefined;
18509
+ byteSize?: number | undefined;
18510
+ imageIndex?: number | undefined;
18511
+ }[] | undefined;
18204
18512
  toolCategory?: "IMAGE_GENERATION" | undefined;
18205
18513
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
18206
18514
  subagentId?: string | null | undefined;
@@ -18215,13 +18523,6 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
18215
18523
  timestamp: string;
18216
18524
  truncated?: boolean | undefined;
18217
18525
  } | undefined;
18218
- attachments?: {
18219
- name: string;
18220
- mime: string;
18221
- runId?: string | undefined;
18222
- byteSize?: number | undefined;
18223
- imageIndex?: number | undefined;
18224
- }[] | undefined;
18225
18526
  };
18226
18527
  turnId: string;
18227
18528
  parentItemId: string | null;
@@ -18439,6 +18740,13 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
18439
18740
  }[];
18440
18741
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
18441
18742
  source?: "SCHEDULED" | undefined;
18743
+ attachments?: {
18744
+ name: string;
18745
+ mime: string;
18746
+ runId?: string | undefined;
18747
+ byteSize?: number | undefined;
18748
+ imageIndex?: number | undefined;
18749
+ }[] | undefined;
18442
18750
  };
18443
18751
  turnId: string;
18444
18752
  parentItemId: string | null;
@@ -18565,6 +18873,13 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
18565
18873
  inputSummary: string | null;
18566
18874
  outputSummary: string | null;
18567
18875
  progressLabel: string | null;
18876
+ attachments?: {
18877
+ name: string;
18878
+ mime: string;
18879
+ runId?: string | undefined;
18880
+ byteSize?: number | undefined;
18881
+ imageIndex?: number | undefined;
18882
+ }[] | undefined;
18568
18883
  toolCategory?: "IMAGE_GENERATION" | undefined;
18569
18884
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
18570
18885
  subagentId?: string | null | undefined;
@@ -18579,13 +18894,6 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
18579
18894
  timestamp: string;
18580
18895
  truncated?: boolean | undefined;
18581
18896
  } | undefined;
18582
- attachments?: {
18583
- name: string;
18584
- mime: string;
18585
- runId?: string | undefined;
18586
- byteSize?: number | undefined;
18587
- imageIndex?: number | undefined;
18588
- }[] | undefined;
18589
18897
  };
18590
18898
  turnId: string;
18591
18899
  parentItemId: string | null;
@@ -18803,6 +19111,13 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
18803
19111
  startLine?: number | undefined;
18804
19112
  endLine?: number | undefined;
18805
19113
  }[] | undefined;
19114
+ attachments?: {
19115
+ name: string;
19116
+ mime: string;
19117
+ runId?: string | undefined;
19118
+ byteSize?: number | undefined;
19119
+ imageIndex?: number | undefined;
19120
+ }[] | undefined;
18806
19121
  };
18807
19122
  turnId: string;
18808
19123
  parentItemId: string | null;
@@ -18929,6 +19244,13 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
18929
19244
  inputSummary: string | null;
18930
19245
  outputSummary: string | null;
18931
19246
  progressLabel: string | null;
19247
+ attachments?: {
19248
+ name: string;
19249
+ mime: string;
19250
+ runId?: string | undefined;
19251
+ byteSize?: number | undefined;
19252
+ imageIndex?: number | undefined;
19253
+ }[] | undefined;
18932
19254
  toolCategory?: "IMAGE_GENERATION" | undefined;
18933
19255
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
18934
19256
  subagentId?: string | null | undefined;
@@ -18943,13 +19265,6 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
18943
19265
  timestamp: string;
18944
19266
  truncated?: boolean | undefined;
18945
19267
  } | undefined;
18946
- attachments?: {
18947
- name: string;
18948
- mime: string;
18949
- runId?: string | undefined;
18950
- byteSize?: number | undefined;
18951
- imageIndex?: number | undefined;
18952
- }[] | undefined;
18953
19268
  };
18954
19269
  turnId: string;
18955
19270
  parentItemId: string | null;
@@ -19279,7 +19594,7 @@ export declare const hostedConversationFilesSchema: z.ZodObject<{
19279
19594
  updatedAt: number;
19280
19595
  displayName: string;
19281
19596
  conversationId: string;
19282
- source: "USER" | "SYSTEM" | "AGENT";
19597
+ source: "SYSTEM" | "USER" | "AGENT";
19283
19598
  category: "UPLOAD" | "OUTPUT";
19284
19599
  relativePath: string;
19285
19600
  mimeType: string;
@@ -19292,7 +19607,7 @@ export declare const hostedConversationFilesSchema: z.ZodObject<{
19292
19607
  updatedAt: number;
19293
19608
  displayName: string;
19294
19609
  conversationId: string;
19295
- source: "USER" | "SYSTEM" | "AGENT";
19610
+ source: "SYSTEM" | "USER" | "AGENT";
19296
19611
  category: "UPLOAD" | "OUTPUT";
19297
19612
  relativePath: string;
19298
19613
  mimeType: string;
@@ -19307,7 +19622,7 @@ export declare const hostedConversationFilesSchema: z.ZodObject<{
19307
19622
  updatedAt: number;
19308
19623
  displayName: string;
19309
19624
  conversationId: string;
19310
- source: "USER" | "SYSTEM" | "AGENT";
19625
+ source: "SYSTEM" | "USER" | "AGENT";
19311
19626
  category: "UPLOAD" | "OUTPUT";
19312
19627
  relativePath: string;
19313
19628
  mimeType: string;
@@ -19322,7 +19637,7 @@ export declare const hostedConversationFilesSchema: z.ZodObject<{
19322
19637
  updatedAt: number;
19323
19638
  displayName: string;
19324
19639
  conversationId: string;
19325
- source: "USER" | "SYSTEM" | "AGENT";
19640
+ source: "SYSTEM" | "USER" | "AGENT";
19326
19641
  category: "UPLOAD" | "OUTPUT";
19327
19642
  relativePath: string;
19328
19643
  mimeType: string;
@@ -19383,7 +19698,7 @@ export declare const hostedConversationFileDeleteResultSchema: z.ZodEffects<z.Zo
19383
19698
  updatedAt: number;
19384
19699
  displayName: string;
19385
19700
  conversationId: string;
19386
- source: "USER" | "SYSTEM" | "AGENT";
19701
+ source: "SYSTEM" | "USER" | "AGENT";
19387
19702
  category: "UPLOAD" | "OUTPUT";
19388
19703
  relativePath: string;
19389
19704
  mimeType: string;
@@ -19396,7 +19711,7 @@ export declare const hostedConversationFileDeleteResultSchema: z.ZodEffects<z.Zo
19396
19711
  updatedAt: number;
19397
19712
  displayName: string;
19398
19713
  conversationId: string;
19399
- source: "USER" | "SYSTEM" | "AGENT";
19714
+ source: "SYSTEM" | "USER" | "AGENT";
19400
19715
  category: "UPLOAD" | "OUTPUT";
19401
19716
  relativePath: string;
19402
19717
  mimeType: string;
@@ -19411,7 +19726,7 @@ export declare const hostedConversationFileDeleteResultSchema: z.ZodEffects<z.Zo
19411
19726
  updatedAt: number;
19412
19727
  displayName: string;
19413
19728
  conversationId: string;
19414
- source: "USER" | "SYSTEM" | "AGENT";
19729
+ source: "SYSTEM" | "USER" | "AGENT";
19415
19730
  category: "UPLOAD" | "OUTPUT";
19416
19731
  relativePath: string;
19417
19732
  mimeType: string;
@@ -19427,7 +19742,7 @@ export declare const hostedConversationFileDeleteResultSchema: z.ZodEffects<z.Zo
19427
19742
  updatedAt: number;
19428
19743
  displayName: string;
19429
19744
  conversationId: string;
19430
- source: "USER" | "SYSTEM" | "AGENT";
19745
+ source: "SYSTEM" | "USER" | "AGENT";
19431
19746
  category: "UPLOAD" | "OUTPUT";
19432
19747
  relativePath: string;
19433
19748
  mimeType: string;
@@ -19443,7 +19758,7 @@ export declare const hostedConversationFileDeleteResultSchema: z.ZodEffects<z.Zo
19443
19758
  updatedAt: number;
19444
19759
  displayName: string;
19445
19760
  conversationId: string;
19446
- source: "USER" | "SYSTEM" | "AGENT";
19761
+ source: "SYSTEM" | "USER" | "AGENT";
19447
19762
  category: "UPLOAD" | "OUTPUT";
19448
19763
  relativePath: string;
19449
19764
  mimeType: string;
@@ -19459,7 +19774,7 @@ export declare const hostedConversationFileDeleteResultSchema: z.ZodEffects<z.Zo
19459
19774
  updatedAt: number;
19460
19775
  displayName: string;
19461
19776
  conversationId: string;
19462
- source: "USER" | "SYSTEM" | "AGENT";
19777
+ source: "SYSTEM" | "USER" | "AGENT";
19463
19778
  category: "UPLOAD" | "OUTPUT";
19464
19779
  relativePath: string;
19465
19780
  mimeType: string;
@@ -19490,7 +19805,7 @@ export declare const hostedConversationFileReadResultSchema: z.ZodEffects<z.ZodO
19490
19805
  updatedAt: number;
19491
19806
  displayName: string;
19492
19807
  conversationId: string;
19493
- source: "USER" | "SYSTEM" | "AGENT";
19808
+ source: "SYSTEM" | "USER" | "AGENT";
19494
19809
  category: "UPLOAD" | "OUTPUT";
19495
19810
  relativePath: string;
19496
19811
  mimeType: string;
@@ -19503,7 +19818,7 @@ export declare const hostedConversationFileReadResultSchema: z.ZodEffects<z.ZodO
19503
19818
  updatedAt: number;
19504
19819
  displayName: string;
19505
19820
  conversationId: string;
19506
- source: "USER" | "SYSTEM" | "AGENT";
19821
+ source: "SYSTEM" | "USER" | "AGENT";
19507
19822
  category: "UPLOAD" | "OUTPUT";
19508
19823
  relativePath: string;
19509
19824
  mimeType: string;
@@ -19525,7 +19840,7 @@ export declare const hostedConversationFileReadResultSchema: z.ZodEffects<z.ZodO
19525
19840
  updatedAt: number;
19526
19841
  displayName: string;
19527
19842
  conversationId: string;
19528
- source: "USER" | "SYSTEM" | "AGENT";
19843
+ source: "SYSTEM" | "USER" | "AGENT";
19529
19844
  category: "UPLOAD" | "OUTPUT";
19530
19845
  relativePath: string;
19531
19846
  mimeType: string;
@@ -19545,7 +19860,7 @@ export declare const hostedConversationFileReadResultSchema: z.ZodEffects<z.ZodO
19545
19860
  updatedAt: number;
19546
19861
  displayName: string;
19547
19862
  conversationId: string;
19548
- source: "USER" | "SYSTEM" | "AGENT";
19863
+ source: "SYSTEM" | "USER" | "AGENT";
19549
19864
  category: "UPLOAD" | "OUTPUT";
19550
19865
  relativePath: string;
19551
19866
  mimeType: string;
@@ -19565,7 +19880,7 @@ export declare const hostedConversationFileReadResultSchema: z.ZodEffects<z.ZodO
19565
19880
  updatedAt: number;
19566
19881
  displayName: string;
19567
19882
  conversationId: string;
19568
- source: "USER" | "SYSTEM" | "AGENT";
19883
+ source: "SYSTEM" | "USER" | "AGENT";
19569
19884
  category: "UPLOAD" | "OUTPUT";
19570
19885
  relativePath: string;
19571
19886
  mimeType: string;
@@ -19585,7 +19900,7 @@ export declare const hostedConversationFileReadResultSchema: z.ZodEffects<z.ZodO
19585
19900
  updatedAt: number;
19586
19901
  displayName: string;
19587
19902
  conversationId: string;
19588
- source: "USER" | "SYSTEM" | "AGENT";
19903
+ source: "SYSTEM" | "USER" | "AGENT";
19589
19904
  category: "UPLOAD" | "OUTPUT";
19590
19905
  relativePath: string;
19591
19906
  mimeType: string;
@@ -19731,7 +20046,7 @@ export declare const hostedConversationUploadSchema: z.ZodEffects<z.ZodObject<{
19731
20046
  updatedAt: number;
19732
20047
  displayName: string;
19733
20048
  conversationId: string;
19734
- source: "USER" | "SYSTEM" | "AGENT";
20049
+ source: "SYSTEM" | "USER" | "AGENT";
19735
20050
  category: "UPLOAD" | "OUTPUT";
19736
20051
  relativePath: string;
19737
20052
  mimeType: string;
@@ -19744,7 +20059,7 @@ export declare const hostedConversationUploadSchema: z.ZodEffects<z.ZodObject<{
19744
20059
  updatedAt: number;
19745
20060
  displayName: string;
19746
20061
  conversationId: string;
19747
- source: "USER" | "SYSTEM" | "AGENT";
20062
+ source: "SYSTEM" | "USER" | "AGENT";
19748
20063
  category: "UPLOAD" | "OUTPUT";
19749
20064
  relativePath: string;
19750
20065
  mimeType: string;
@@ -19766,7 +20081,7 @@ export declare const hostedConversationUploadSchema: z.ZodEffects<z.ZodObject<{
19766
20081
  updatedAt: number;
19767
20082
  displayName: string;
19768
20083
  conversationId: string;
19769
- source: "USER" | "SYSTEM" | "AGENT";
20084
+ source: "SYSTEM" | "USER" | "AGENT";
19770
20085
  category: "UPLOAD" | "OUTPUT";
19771
20086
  relativePath: string;
19772
20087
  mimeType: string;
@@ -19788,7 +20103,7 @@ export declare const hostedConversationUploadSchema: z.ZodEffects<z.ZodObject<{
19788
20103
  updatedAt: number;
19789
20104
  displayName: string;
19790
20105
  conversationId: string;
19791
- source: "USER" | "SYSTEM" | "AGENT";
20106
+ source: "SYSTEM" | "USER" | "AGENT";
19792
20107
  category: "UPLOAD" | "OUTPUT";
19793
20108
  relativePath: string;
19794
20109
  mimeType: string;
@@ -19810,7 +20125,7 @@ export declare const hostedConversationUploadSchema: z.ZodEffects<z.ZodObject<{
19810
20125
  updatedAt: number;
19811
20126
  displayName: string;
19812
20127
  conversationId: string;
19813
- source: "USER" | "SYSTEM" | "AGENT";
20128
+ source: "SYSTEM" | "USER" | "AGENT";
19814
20129
  category: "UPLOAD" | "OUTPUT";
19815
20130
  relativePath: string;
19816
20131
  mimeType: string;
@@ -19832,7 +20147,7 @@ export declare const hostedConversationUploadSchema: z.ZodEffects<z.ZodObject<{
19832
20147
  updatedAt: number;
19833
20148
  displayName: string;
19834
20149
  conversationId: string;
19835
- source: "USER" | "SYSTEM" | "AGENT";
20150
+ source: "SYSTEM" | "USER" | "AGENT";
19836
20151
  category: "UPLOAD" | "OUTPUT";
19837
20152
  relativePath: string;
19838
20153
  mimeType: string;
@@ -19964,35 +20279,80 @@ export declare const conversationSegmentSchema: z.ZodObject<{
19964
20279
  startLine?: number | undefined;
19965
20280
  endLine?: number | undefined;
19966
20281
  }>, "many">>;
19967
- source: z.ZodOptional<z.ZodLiteral<"SCHEDULED">>;
19968
- delivery: z.ZodEnum<["PENDING", "ACCEPTED", "STEERED", "QUEUED_NEXT_TURN", "REJECTED"]>;
19969
- }, "strip", z.ZodTypeAny, {
19970
- clientMessageId: string | null;
19971
- text: string;
19972
- contexts: {
19973
- type: "message" | "changes" | "file" | "directory" | "diff" | "turn" | "terminal_selection";
19974
- label: string;
19975
- referenceId: string;
19976
- path?: string | undefined;
19977
- startLine?: number | undefined;
19978
- endLine?: number | undefined;
19979
- }[];
19980
- delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
19981
- source?: "SCHEDULED" | undefined;
19982
- }, {
19983
- clientMessageId: string | null;
19984
- text: string;
19985
- delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
19986
- source?: "SCHEDULED" | undefined;
19987
- contexts?: {
19988
- type: "message" | "changes" | "file" | "directory" | "diff" | "turn" | "terminal_selection";
19989
- label: string;
19990
- referenceId: string;
19991
- path?: string | undefined;
19992
- startLine?: number | undefined;
19993
- endLine?: number | undefined;
19994
- }[] | undefined;
19995
- }>;
20282
+ attachments: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
20283
+ name: z.ZodString;
20284
+ mime: z.ZodString;
20285
+ byteSize: z.ZodOptional<z.ZodNumber>;
20286
+ runId: z.ZodOptional<z.ZodString>;
20287
+ imageIndex: z.ZodOptional<z.ZodNumber>;
20288
+ }, "strict", z.ZodTypeAny, {
20289
+ name: string;
20290
+ mime: string;
20291
+ runId?: string | undefined;
20292
+ byteSize?: number | undefined;
20293
+ imageIndex?: number | undefined;
20294
+ }, {
20295
+ name: string;
20296
+ mime: string;
20297
+ runId?: string | undefined;
20298
+ byteSize?: number | undefined;
20299
+ imageIndex?: number | undefined;
20300
+ }>, {
20301
+ name: string;
20302
+ mime: string;
20303
+ runId?: string | undefined;
20304
+ byteSize?: number | undefined;
20305
+ imageIndex?: number | undefined;
20306
+ }, {
20307
+ name: string;
20308
+ mime: string;
20309
+ runId?: string | undefined;
20310
+ byteSize?: number | undefined;
20311
+ imageIndex?: number | undefined;
20312
+ }>, "many">>;
20313
+ source: z.ZodOptional<z.ZodLiteral<"SCHEDULED">>;
20314
+ delivery: z.ZodEnum<["PENDING", "ACCEPTED", "STEERED", "QUEUED_NEXT_TURN", "REJECTED"]>;
20315
+ }, "strip", z.ZodTypeAny, {
20316
+ clientMessageId: string | null;
20317
+ text: string;
20318
+ contexts: {
20319
+ type: "message" | "changes" | "file" | "directory" | "diff" | "turn" | "terminal_selection";
20320
+ label: string;
20321
+ referenceId: string;
20322
+ path?: string | undefined;
20323
+ startLine?: number | undefined;
20324
+ endLine?: number | undefined;
20325
+ }[];
20326
+ delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
20327
+ source?: "SCHEDULED" | undefined;
20328
+ attachments?: {
20329
+ name: string;
20330
+ mime: string;
20331
+ runId?: string | undefined;
20332
+ byteSize?: number | undefined;
20333
+ imageIndex?: number | undefined;
20334
+ }[] | undefined;
20335
+ }, {
20336
+ clientMessageId: string | null;
20337
+ text: string;
20338
+ delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
20339
+ source?: "SCHEDULED" | undefined;
20340
+ contexts?: {
20341
+ type: "message" | "changes" | "file" | "directory" | "diff" | "turn" | "terminal_selection";
20342
+ label: string;
20343
+ referenceId: string;
20344
+ path?: string | undefined;
20345
+ startLine?: number | undefined;
20346
+ endLine?: number | undefined;
20347
+ }[] | undefined;
20348
+ attachments?: {
20349
+ name: string;
20350
+ mime: string;
20351
+ runId?: string | undefined;
20352
+ byteSize?: number | undefined;
20353
+ imageIndex?: number | undefined;
20354
+ }[] | undefined;
20355
+ }>;
19996
20356
  }, "strip", z.ZodTypeAny, {
19997
20357
  status: "PENDING" | "FAILED" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
19998
20358
  kind: "user_message";
@@ -20015,6 +20375,13 @@ export declare const conversationSegmentSchema: z.ZodObject<{
20015
20375
  }[];
20016
20376
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
20017
20377
  source?: "SCHEDULED" | undefined;
20378
+ attachments?: {
20379
+ name: string;
20380
+ mime: string;
20381
+ runId?: string | undefined;
20382
+ byteSize?: number | undefined;
20383
+ imageIndex?: number | undefined;
20384
+ }[] | undefined;
20018
20385
  };
20019
20386
  turnId: string;
20020
20387
  parentItemId: string | null;
@@ -20043,6 +20410,13 @@ export declare const conversationSegmentSchema: z.ZodObject<{
20043
20410
  startLine?: number | undefined;
20044
20411
  endLine?: number | undefined;
20045
20412
  }[] | undefined;
20413
+ attachments?: {
20414
+ name: string;
20415
+ mime: string;
20416
+ runId?: string | undefined;
20417
+ byteSize?: number | undefined;
20418
+ imageIndex?: number | undefined;
20419
+ }[] | undefined;
20046
20420
  };
20047
20421
  turnId: string;
20048
20422
  parentItemId: string | null;
@@ -20391,6 +20765,13 @@ export declare const conversationSegmentSchema: z.ZodObject<{
20391
20765
  inputSummary: string | null;
20392
20766
  outputSummary: string | null;
20393
20767
  progressLabel: string | null;
20768
+ attachments?: {
20769
+ name: string;
20770
+ mime: string;
20771
+ runId?: string | undefined;
20772
+ byteSize?: number | undefined;
20773
+ imageIndex?: number | undefined;
20774
+ }[] | undefined;
20394
20775
  toolCategory?: "IMAGE_GENERATION" | undefined;
20395
20776
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
20396
20777
  subagentId?: string | null | undefined;
@@ -20405,13 +20786,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
20405
20786
  timestamp: string;
20406
20787
  truncated?: boolean | undefined;
20407
20788
  } | undefined;
20408
- attachments?: {
20409
- name: string;
20410
- mime: string;
20411
- runId?: string | undefined;
20412
- byteSize?: number | undefined;
20413
- imageIndex?: number | undefined;
20414
- }[] | undefined;
20415
20789
  }, {
20416
20790
  errorCode: string | null;
20417
20791
  title: string;
@@ -20421,6 +20795,13 @@ export declare const conversationSegmentSchema: z.ZodObject<{
20421
20795
  inputSummary: string | null;
20422
20796
  outputSummary: string | null;
20423
20797
  progressLabel: string | null;
20798
+ attachments?: {
20799
+ name: string;
20800
+ mime: string;
20801
+ runId?: string | undefined;
20802
+ byteSize?: number | undefined;
20803
+ imageIndex?: number | undefined;
20804
+ }[] | undefined;
20424
20805
  toolCategory?: "IMAGE_GENERATION" | undefined;
20425
20806
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
20426
20807
  subagentId?: string | null | undefined;
@@ -20435,13 +20816,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
20435
20816
  timestamp: string;
20436
20817
  truncated?: boolean | undefined;
20437
20818
  } | undefined;
20438
- attachments?: {
20439
- name: string;
20440
- mime: string;
20441
- runId?: string | undefined;
20442
- byteSize?: number | undefined;
20443
- imageIndex?: number | undefined;
20444
- }[] | undefined;
20445
20819
  }>;
20446
20820
  }, "strip", z.ZodTypeAny, {
20447
20821
  status: "PENDING" | "FAILED" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
@@ -20461,6 +20835,13 @@ export declare const conversationSegmentSchema: z.ZodObject<{
20461
20835
  inputSummary: string | null;
20462
20836
  outputSummary: string | null;
20463
20837
  progressLabel: string | null;
20838
+ attachments?: {
20839
+ name: string;
20840
+ mime: string;
20841
+ runId?: string | undefined;
20842
+ byteSize?: number | undefined;
20843
+ imageIndex?: number | undefined;
20844
+ }[] | undefined;
20464
20845
  toolCategory?: "IMAGE_GENERATION" | undefined;
20465
20846
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
20466
20847
  subagentId?: string | null | undefined;
@@ -20475,13 +20856,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
20475
20856
  timestamp: string;
20476
20857
  truncated?: boolean | undefined;
20477
20858
  } | undefined;
20478
- attachments?: {
20479
- name: string;
20480
- mime: string;
20481
- runId?: string | undefined;
20482
- byteSize?: number | undefined;
20483
- imageIndex?: number | undefined;
20484
- }[] | undefined;
20485
20859
  };
20486
20860
  turnId: string;
20487
20861
  parentItemId: string | null;
@@ -20506,6 +20880,13 @@ export declare const conversationSegmentSchema: z.ZodObject<{
20506
20880
  inputSummary: string | null;
20507
20881
  outputSummary: string | null;
20508
20882
  progressLabel: string | null;
20883
+ attachments?: {
20884
+ name: string;
20885
+ mime: string;
20886
+ runId?: string | undefined;
20887
+ byteSize?: number | undefined;
20888
+ imageIndex?: number | undefined;
20889
+ }[] | undefined;
20509
20890
  toolCategory?: "IMAGE_GENERATION" | undefined;
20510
20891
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
20511
20892
  subagentId?: string | null | undefined;
@@ -20520,13 +20901,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
20520
20901
  timestamp: string;
20521
20902
  truncated?: boolean | undefined;
20522
20903
  } | undefined;
20523
- attachments?: {
20524
- name: string;
20525
- mime: string;
20526
- runId?: string | undefined;
20527
- byteSize?: number | undefined;
20528
- imageIndex?: number | undefined;
20529
- }[] | undefined;
20530
20904
  };
20531
20905
  turnId: string;
20532
20906
  parentItemId: string | null;
@@ -21314,6 +21688,13 @@ export declare const conversationSegmentSchema: z.ZodObject<{
21314
21688
  }[];
21315
21689
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
21316
21690
  source?: "SCHEDULED" | undefined;
21691
+ attachments?: {
21692
+ name: string;
21693
+ mime: string;
21694
+ runId?: string | undefined;
21695
+ byteSize?: number | undefined;
21696
+ imageIndex?: number | undefined;
21697
+ }[] | undefined;
21317
21698
  };
21318
21699
  turnId: string;
21319
21700
  parentItemId: string | null;
@@ -21440,6 +21821,13 @@ export declare const conversationSegmentSchema: z.ZodObject<{
21440
21821
  inputSummary: string | null;
21441
21822
  outputSummary: string | null;
21442
21823
  progressLabel: string | null;
21824
+ attachments?: {
21825
+ name: string;
21826
+ mime: string;
21827
+ runId?: string | undefined;
21828
+ byteSize?: number | undefined;
21829
+ imageIndex?: number | undefined;
21830
+ }[] | undefined;
21443
21831
  toolCategory?: "IMAGE_GENERATION" | undefined;
21444
21832
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
21445
21833
  subagentId?: string | null | undefined;
@@ -21454,13 +21842,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
21454
21842
  timestamp: string;
21455
21843
  truncated?: boolean | undefined;
21456
21844
  } | undefined;
21457
- attachments?: {
21458
- name: string;
21459
- mime: string;
21460
- runId?: string | undefined;
21461
- byteSize?: number | undefined;
21462
- imageIndex?: number | undefined;
21463
- }[] | undefined;
21464
21845
  };
21465
21846
  turnId: string;
21466
21847
  parentItemId: string | null;
@@ -21673,6 +22054,13 @@ export declare const conversationSegmentSchema: z.ZodObject<{
21673
22054
  startLine?: number | undefined;
21674
22055
  endLine?: number | undefined;
21675
22056
  }[] | undefined;
22057
+ attachments?: {
22058
+ name: string;
22059
+ mime: string;
22060
+ runId?: string | undefined;
22061
+ byteSize?: number | undefined;
22062
+ imageIndex?: number | undefined;
22063
+ }[] | undefined;
21676
22064
  };
21677
22065
  turnId: string;
21678
22066
  parentItemId: string | null;
@@ -21799,6 +22187,13 @@ export declare const conversationSegmentSchema: z.ZodObject<{
21799
22187
  inputSummary: string | null;
21800
22188
  outputSummary: string | null;
21801
22189
  progressLabel: string | null;
22190
+ attachments?: {
22191
+ name: string;
22192
+ mime: string;
22193
+ runId?: string | undefined;
22194
+ byteSize?: number | undefined;
22195
+ imageIndex?: number | undefined;
22196
+ }[] | undefined;
21802
22197
  toolCategory?: "IMAGE_GENERATION" | undefined;
21803
22198
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
21804
22199
  subagentId?: string | null | undefined;
@@ -21813,13 +22208,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
21813
22208
  timestamp: string;
21814
22209
  truncated?: boolean | undefined;
21815
22210
  } | undefined;
21816
- attachments?: {
21817
- name: string;
21818
- mime: string;
21819
- runId?: string | undefined;
21820
- byteSize?: number | undefined;
21821
- imageIndex?: number | undefined;
21822
- }[] | undefined;
21823
22211
  };
21824
22212
  turnId: string;
21825
22213
  parentItemId: string | null;
@@ -22112,6 +22500,37 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
22112
22500
  startLine?: number | undefined;
22113
22501
  endLine?: number | undefined;
22114
22502
  }>, "many">>;
22503
+ attachments: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
22504
+ name: z.ZodString;
22505
+ mime: z.ZodString;
22506
+ byteSize: z.ZodOptional<z.ZodNumber>;
22507
+ runId: z.ZodOptional<z.ZodString>;
22508
+ imageIndex: z.ZodOptional<z.ZodNumber>;
22509
+ }, "strict", z.ZodTypeAny, {
22510
+ name: string;
22511
+ mime: string;
22512
+ runId?: string | undefined;
22513
+ byteSize?: number | undefined;
22514
+ imageIndex?: number | undefined;
22515
+ }, {
22516
+ name: string;
22517
+ mime: string;
22518
+ runId?: string | undefined;
22519
+ byteSize?: number | undefined;
22520
+ imageIndex?: number | undefined;
22521
+ }>, {
22522
+ name: string;
22523
+ mime: string;
22524
+ runId?: string | undefined;
22525
+ byteSize?: number | undefined;
22526
+ imageIndex?: number | undefined;
22527
+ }, {
22528
+ name: string;
22529
+ mime: string;
22530
+ runId?: string | undefined;
22531
+ byteSize?: number | undefined;
22532
+ imageIndex?: number | undefined;
22533
+ }>, "many">>;
22115
22534
  source: z.ZodOptional<z.ZodLiteral<"SCHEDULED">>;
22116
22535
  delivery: z.ZodEnum<["PENDING", "ACCEPTED", "STEERED", "QUEUED_NEXT_TURN", "REJECTED"]>;
22117
22536
  }, "strip", z.ZodTypeAny, {
@@ -22127,6 +22546,13 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
22127
22546
  }[];
22128
22547
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
22129
22548
  source?: "SCHEDULED" | undefined;
22549
+ attachments?: {
22550
+ name: string;
22551
+ mime: string;
22552
+ runId?: string | undefined;
22553
+ byteSize?: number | undefined;
22554
+ imageIndex?: number | undefined;
22555
+ }[] | undefined;
22130
22556
  }, {
22131
22557
  clientMessageId: string | null;
22132
22558
  text: string;
@@ -22140,6 +22566,13 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
22140
22566
  startLine?: number | undefined;
22141
22567
  endLine?: number | undefined;
22142
22568
  }[] | undefined;
22569
+ attachments?: {
22570
+ name: string;
22571
+ mime: string;
22572
+ runId?: string | undefined;
22573
+ byteSize?: number | undefined;
22574
+ imageIndex?: number | undefined;
22575
+ }[] | undefined;
22143
22576
  }>;
22144
22577
  }, "strip", z.ZodTypeAny, {
22145
22578
  status: "PENDING" | "FAILED" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
@@ -22163,6 +22596,13 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
22163
22596
  }[];
22164
22597
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
22165
22598
  source?: "SCHEDULED" | undefined;
22599
+ attachments?: {
22600
+ name: string;
22601
+ mime: string;
22602
+ runId?: string | undefined;
22603
+ byteSize?: number | undefined;
22604
+ imageIndex?: number | undefined;
22605
+ }[] | undefined;
22166
22606
  };
22167
22607
  turnId: string;
22168
22608
  parentItemId: string | null;
@@ -22191,6 +22631,13 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
22191
22631
  startLine?: number | undefined;
22192
22632
  endLine?: number | undefined;
22193
22633
  }[] | undefined;
22634
+ attachments?: {
22635
+ name: string;
22636
+ mime: string;
22637
+ runId?: string | undefined;
22638
+ byteSize?: number | undefined;
22639
+ imageIndex?: number | undefined;
22640
+ }[] | undefined;
22194
22641
  };
22195
22642
  turnId: string;
22196
22643
  parentItemId: string | null;
@@ -22539,6 +22986,13 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
22539
22986
  inputSummary: string | null;
22540
22987
  outputSummary: string | null;
22541
22988
  progressLabel: string | null;
22989
+ attachments?: {
22990
+ name: string;
22991
+ mime: string;
22992
+ runId?: string | undefined;
22993
+ byteSize?: number | undefined;
22994
+ imageIndex?: number | undefined;
22995
+ }[] | undefined;
22542
22996
  toolCategory?: "IMAGE_GENERATION" | undefined;
22543
22997
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
22544
22998
  subagentId?: string | null | undefined;
@@ -22553,13 +23007,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
22553
23007
  timestamp: string;
22554
23008
  truncated?: boolean | undefined;
22555
23009
  } | undefined;
22556
- attachments?: {
22557
- name: string;
22558
- mime: string;
22559
- runId?: string | undefined;
22560
- byteSize?: number | undefined;
22561
- imageIndex?: number | undefined;
22562
- }[] | undefined;
22563
23010
  }, {
22564
23011
  errorCode: string | null;
22565
23012
  title: string;
@@ -22569,6 +23016,13 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
22569
23016
  inputSummary: string | null;
22570
23017
  outputSummary: string | null;
22571
23018
  progressLabel: string | null;
23019
+ attachments?: {
23020
+ name: string;
23021
+ mime: string;
23022
+ runId?: string | undefined;
23023
+ byteSize?: number | undefined;
23024
+ imageIndex?: number | undefined;
23025
+ }[] | undefined;
22572
23026
  toolCategory?: "IMAGE_GENERATION" | undefined;
22573
23027
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
22574
23028
  subagentId?: string | null | undefined;
@@ -22583,13 +23037,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
22583
23037
  timestamp: string;
22584
23038
  truncated?: boolean | undefined;
22585
23039
  } | undefined;
22586
- attachments?: {
22587
- name: string;
22588
- mime: string;
22589
- runId?: string | undefined;
22590
- byteSize?: number | undefined;
22591
- imageIndex?: number | undefined;
22592
- }[] | undefined;
22593
23040
  }>;
22594
23041
  }, "strip", z.ZodTypeAny, {
22595
23042
  status: "PENDING" | "FAILED" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
@@ -22609,6 +23056,13 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
22609
23056
  inputSummary: string | null;
22610
23057
  outputSummary: string | null;
22611
23058
  progressLabel: string | null;
23059
+ attachments?: {
23060
+ name: string;
23061
+ mime: string;
23062
+ runId?: string | undefined;
23063
+ byteSize?: number | undefined;
23064
+ imageIndex?: number | undefined;
23065
+ }[] | undefined;
22612
23066
  toolCategory?: "IMAGE_GENERATION" | undefined;
22613
23067
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
22614
23068
  subagentId?: string | null | undefined;
@@ -22623,13 +23077,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
22623
23077
  timestamp: string;
22624
23078
  truncated?: boolean | undefined;
22625
23079
  } | undefined;
22626
- attachments?: {
22627
- name: string;
22628
- mime: string;
22629
- runId?: string | undefined;
22630
- byteSize?: number | undefined;
22631
- imageIndex?: number | undefined;
22632
- }[] | undefined;
22633
23080
  };
22634
23081
  turnId: string;
22635
23082
  parentItemId: string | null;
@@ -22654,6 +23101,13 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
22654
23101
  inputSummary: string | null;
22655
23102
  outputSummary: string | null;
22656
23103
  progressLabel: string | null;
23104
+ attachments?: {
23105
+ name: string;
23106
+ mime: string;
23107
+ runId?: string | undefined;
23108
+ byteSize?: number | undefined;
23109
+ imageIndex?: number | undefined;
23110
+ }[] | undefined;
22657
23111
  toolCategory?: "IMAGE_GENERATION" | undefined;
22658
23112
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
22659
23113
  subagentId?: string | null | undefined;
@@ -22668,13 +23122,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
22668
23122
  timestamp: string;
22669
23123
  truncated?: boolean | undefined;
22670
23124
  } | undefined;
22671
- attachments?: {
22672
- name: string;
22673
- mime: string;
22674
- runId?: string | undefined;
22675
- byteSize?: number | undefined;
22676
- imageIndex?: number | undefined;
22677
- }[] | undefined;
22678
23125
  };
22679
23126
  turnId: string;
22680
23127
  parentItemId: string | null;
@@ -23462,6 +23909,13 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
23462
23909
  }[];
23463
23910
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
23464
23911
  source?: "SCHEDULED" | undefined;
23912
+ attachments?: {
23913
+ name: string;
23914
+ mime: string;
23915
+ runId?: string | undefined;
23916
+ byteSize?: number | undefined;
23917
+ imageIndex?: number | undefined;
23918
+ }[] | undefined;
23465
23919
  };
23466
23920
  turnId: string;
23467
23921
  parentItemId: string | null;
@@ -23588,6 +24042,13 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
23588
24042
  inputSummary: string | null;
23589
24043
  outputSummary: string | null;
23590
24044
  progressLabel: string | null;
24045
+ attachments?: {
24046
+ name: string;
24047
+ mime: string;
24048
+ runId?: string | undefined;
24049
+ byteSize?: number | undefined;
24050
+ imageIndex?: number | undefined;
24051
+ }[] | undefined;
23591
24052
  toolCategory?: "IMAGE_GENERATION" | undefined;
23592
24053
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
23593
24054
  subagentId?: string | null | undefined;
@@ -23602,13 +24063,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
23602
24063
  timestamp: string;
23603
24064
  truncated?: boolean | undefined;
23604
24065
  } | undefined;
23605
- attachments?: {
23606
- name: string;
23607
- mime: string;
23608
- runId?: string | undefined;
23609
- byteSize?: number | undefined;
23610
- imageIndex?: number | undefined;
23611
- }[] | undefined;
23612
24066
  };
23613
24067
  turnId: string;
23614
24068
  parentItemId: string | null;
@@ -23821,6 +24275,13 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
23821
24275
  startLine?: number | undefined;
23822
24276
  endLine?: number | undefined;
23823
24277
  }[] | undefined;
24278
+ attachments?: {
24279
+ name: string;
24280
+ mime: string;
24281
+ runId?: string | undefined;
24282
+ byteSize?: number | undefined;
24283
+ imageIndex?: number | undefined;
24284
+ }[] | undefined;
23824
24285
  };
23825
24286
  turnId: string;
23826
24287
  parentItemId: string | null;
@@ -23947,6 +24408,13 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
23947
24408
  inputSummary: string | null;
23948
24409
  outputSummary: string | null;
23949
24410
  progressLabel: string | null;
24411
+ attachments?: {
24412
+ name: string;
24413
+ mime: string;
24414
+ runId?: string | undefined;
24415
+ byteSize?: number | undefined;
24416
+ imageIndex?: number | undefined;
24417
+ }[] | undefined;
23950
24418
  toolCategory?: "IMAGE_GENERATION" | undefined;
23951
24419
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
23952
24420
  subagentId?: string | null | undefined;
@@ -23961,13 +24429,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
23961
24429
  timestamp: string;
23962
24430
  truncated?: boolean | undefined;
23963
24431
  } | undefined;
23964
- attachments?: {
23965
- name: string;
23966
- mime: string;
23967
- runId?: string | undefined;
23968
- byteSize?: number | undefined;
23969
- imageIndex?: number | undefined;
23970
- }[] | undefined;
23971
24432
  };
23972
24433
  turnId: string;
23973
24434
  parentItemId: string | null;
@@ -24192,6 +24653,13 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
24192
24653
  }[];
24193
24654
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
24194
24655
  source?: "SCHEDULED" | undefined;
24656
+ attachments?: {
24657
+ name: string;
24658
+ mime: string;
24659
+ runId?: string | undefined;
24660
+ byteSize?: number | undefined;
24661
+ imageIndex?: number | undefined;
24662
+ }[] | undefined;
24195
24663
  };
24196
24664
  turnId: string;
24197
24665
  parentItemId: string | null;
@@ -24318,6 +24786,13 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
24318
24786
  inputSummary: string | null;
24319
24787
  outputSummary: string | null;
24320
24788
  progressLabel: string | null;
24789
+ attachments?: {
24790
+ name: string;
24791
+ mime: string;
24792
+ runId?: string | undefined;
24793
+ byteSize?: number | undefined;
24794
+ imageIndex?: number | undefined;
24795
+ }[] | undefined;
24321
24796
  toolCategory?: "IMAGE_GENERATION" | undefined;
24322
24797
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
24323
24798
  subagentId?: string | null | undefined;
@@ -24332,13 +24807,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
24332
24807
  timestamp: string;
24333
24808
  truncated?: boolean | undefined;
24334
24809
  } | undefined;
24335
- attachments?: {
24336
- name: string;
24337
- mime: string;
24338
- runId?: string | undefined;
24339
- byteSize?: number | undefined;
24340
- imageIndex?: number | undefined;
24341
- }[] | undefined;
24342
24810
  };
24343
24811
  turnId: string;
24344
24812
  parentItemId: string | null;
@@ -24560,6 +25028,13 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
24560
25028
  startLine?: number | undefined;
24561
25029
  endLine?: number | undefined;
24562
25030
  }[] | undefined;
25031
+ attachments?: {
25032
+ name: string;
25033
+ mime: string;
25034
+ runId?: string | undefined;
25035
+ byteSize?: number | undefined;
25036
+ imageIndex?: number | undefined;
25037
+ }[] | undefined;
24563
25038
  };
24564
25039
  turnId: string;
24565
25040
  parentItemId: string | null;
@@ -24686,6 +25161,13 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
24686
25161
  inputSummary: string | null;
24687
25162
  outputSummary: string | null;
24688
25163
  progressLabel: string | null;
25164
+ attachments?: {
25165
+ name: string;
25166
+ mime: string;
25167
+ runId?: string | undefined;
25168
+ byteSize?: number | undefined;
25169
+ imageIndex?: number | undefined;
25170
+ }[] | undefined;
24689
25171
  toolCategory?: "IMAGE_GENERATION" | undefined;
24690
25172
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
24691
25173
  subagentId?: string | null | undefined;
@@ -24700,13 +25182,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
24700
25182
  timestamp: string;
24701
25183
  truncated?: boolean | undefined;
24702
25184
  } | undefined;
24703
- attachments?: {
24704
- name: string;
24705
- mime: string;
24706
- runId?: string | undefined;
24707
- byteSize?: number | undefined;
24708
- imageIndex?: number | undefined;
24709
- }[] | undefined;
24710
25185
  };
24711
25186
  turnId: string;
24712
25187
  parentItemId: string | null;