@rudderhq/shared 0.7.14 → 0.7.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/dist/agent-run.d.ts +2 -0
  2. package/dist/agent-run.d.ts.map +1 -1
  3. package/dist/agent-run.js +13 -1
  4. package/dist/agent-run.js.map +1 -1
  5. package/dist/agent-run.test.js +27 -0
  6. package/dist/agent-run.test.js.map +1 -1
  7. package/dist/chat-subagents.d.ts.map +1 -1
  8. package/dist/chat-subagents.js +41 -0
  9. package/dist/chat-subagents.js.map +1 -1
  10. package/dist/chat-subagents.test.js +117 -0
  11. package/dist/chat-subagents.test.js.map +1 -1
  12. package/dist/constants.d.ts +7 -7
  13. package/dist/constants.d.ts.map +1 -1
  14. package/dist/constants.js +14 -1
  15. package/dist/constants.js.map +1 -1
  16. package/dist/index.d.ts +2 -2
  17. package/dist/index.d.ts.map +1 -1
  18. package/dist/index.js +2 -2
  19. package/dist/index.js.map +1 -1
  20. package/dist/project-mentions.d.ts +1 -0
  21. package/dist/project-mentions.d.ts.map +1 -1
  22. package/dist/project-mentions.js +36 -0
  23. package/dist/project-mentions.js.map +1 -1
  24. package/dist/project-mentions.test.js +18 -1
  25. package/dist/project-mentions.test.js.map +1 -1
  26. package/dist/types/heartbeat.d.ts +4 -0
  27. package/dist/types/heartbeat.d.ts.map +1 -1
  28. package/dist/types/plugin-v1.d.ts +1 -0
  29. package/dist/types/plugin-v1.d.ts.map +1 -1
  30. package/dist/types/run-intelligence.d.ts +5 -1
  31. package/dist/types/run-intelligence.d.ts.map +1 -1
  32. package/dist/validators/agent.d.ts +14 -0
  33. package/dist/validators/agent.d.ts.map +1 -1
  34. package/dist/validators/agent.js +6 -0
  35. package/dist/validators/agent.js.map +1 -1
  36. package/dist/validators/chat.d.ts +153 -148
  37. package/dist/validators/chat.d.ts.map +1 -1
  38. package/dist/validators/chat.js +1 -0
  39. package/dist/validators/chat.js.map +1 -1
  40. package/dist/validators/index.d.ts +2 -2
  41. package/dist/validators/index.d.ts.map +1 -1
  42. package/dist/validators/index.js +2 -2
  43. package/dist/validators/index.js.map +1 -1
  44. package/dist/validators/issue.d.ts +8 -0
  45. package/dist/validators/issue.d.ts.map +1 -1
  46. package/dist/validators/issue.js +3 -0
  47. package/dist/validators/issue.js.map +1 -1
  48. package/dist/validators/messenger.d.ts +112 -1
  49. package/dist/validators/messenger.d.ts.map +1 -1
  50. package/dist/validators/messenger.js +17 -1
  51. package/dist/validators/messenger.js.map +1 -1
  52. package/dist/validators/messenger.test.js +34 -0
  53. package/dist/validators/messenger.test.js.map +1 -1
  54. package/dist/validators/plugin-v1.d.ts.map +1 -1
  55. package/dist/validators/plugin-v1.js +2 -1
  56. package/dist/validators/plugin-v1.js.map +1 -1
  57. package/dist/validators/plugin-v1.test.d.ts +2 -0
  58. package/dist/validators/plugin-v1.test.d.ts.map +1 -0
  59. package/dist/validators/plugin-v1.test.js +14 -0
  60. package/dist/validators/plugin-v1.test.js.map +1 -0
  61. package/package.json +1 -1
@@ -127,23 +127,23 @@ export declare const chatInlineAnnotationSchema: z.ZodEffects<z.ZodDiscriminated
127
127
  attachmentIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
128
128
  }, "strict", z.ZodTypeAny, {
129
129
  id: string;
130
+ sourceRunId: string;
131
+ sourceAgentId: string;
130
132
  surface: "agent_run_transcript";
131
133
  selectedText: string;
132
134
  sourceHash: string;
133
135
  attachmentIds: string[];
134
- sourceRunId: string;
135
- sourceAgentId: string;
136
136
  anchorKind: "text" | "transition";
137
137
  sourceEntryId: string | number;
138
138
  sourceMemberIds: (string | number)[];
139
139
  comment?: string | null | undefined;
140
140
  }, {
141
141
  id: string;
142
+ sourceRunId: string;
143
+ sourceAgentId: string;
142
144
  surface: "agent_run_transcript";
143
145
  selectedText: string;
144
146
  sourceHash: string;
145
- sourceRunId: string;
146
- sourceAgentId: string;
147
147
  anchorKind: "text" | "transition";
148
148
  sourceEntryId: string | number;
149
149
  sourceMemberIds: (string | number)[];
@@ -268,12 +268,12 @@ export declare const chatInlineAnnotationSchema: z.ZodEffects<z.ZodDiscriminated
268
268
  comment?: string | null | undefined;
269
269
  } | {
270
270
  id: string;
271
+ sourceRunId: string;
272
+ sourceAgentId: string;
271
273
  surface: "agent_run_transcript";
272
274
  selectedText: string;
273
275
  sourceHash: string;
274
276
  attachmentIds: string[];
275
- sourceRunId: string;
276
- sourceAgentId: string;
277
277
  anchorKind: "text" | "transition";
278
278
  sourceEntryId: string | number;
279
279
  sourceMemberIds: (string | number)[];
@@ -339,11 +339,11 @@ export declare const chatInlineAnnotationSchema: z.ZodEffects<z.ZodDiscriminated
339
339
  attachmentIds?: string[] | undefined;
340
340
  } | {
341
341
  id: string;
342
+ sourceRunId: string;
343
+ sourceAgentId: string;
342
344
  surface: "agent_run_transcript";
343
345
  selectedText: string;
344
346
  sourceHash: string;
345
- sourceRunId: string;
346
- sourceAgentId: string;
347
347
  anchorKind: "text" | "transition";
348
348
  sourceEntryId: string | number;
349
349
  sourceMemberIds: (string | number)[];
@@ -493,12 +493,12 @@ export declare const chatInlineAnnotationInputSchema: z.ZodEffects<z.ZodDiscrimi
493
493
  attachmentFileIndexes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
494
494
  }, "strict", z.ZodTypeAny, {
495
495
  id: string;
496
+ sourceRunId: string;
497
+ sourceAgentId: string;
496
498
  surface: "agent_run_transcript";
497
499
  selectedText: string;
498
500
  sourceHash: string;
499
501
  attachmentIds: string[];
500
- sourceRunId: string;
501
- sourceAgentId: string;
502
502
  anchorKind: "text" | "transition";
503
503
  sourceEntryId: string | number;
504
504
  sourceMemberIds: (string | number)[];
@@ -506,11 +506,11 @@ export declare const chatInlineAnnotationInputSchema: z.ZodEffects<z.ZodDiscrimi
506
506
  attachmentFileIndexes?: number[] | undefined;
507
507
  }, {
508
508
  id: string;
509
+ sourceRunId: string;
510
+ sourceAgentId: string;
509
511
  surface: "agent_run_transcript";
510
512
  selectedText: string;
511
513
  sourceHash: string;
512
- sourceRunId: string;
513
- sourceAgentId: string;
514
514
  anchorKind: "text" | "transition";
515
515
  sourceEntryId: string | number;
516
516
  sourceMemberIds: (string | number)[];
@@ -646,12 +646,12 @@ export declare const chatInlineAnnotationInputSchema: z.ZodEffects<z.ZodDiscrimi
646
646
  attachmentFileIndexes?: number[] | undefined;
647
647
  } | {
648
648
  id: string;
649
+ sourceRunId: string;
650
+ sourceAgentId: string;
649
651
  surface: "agent_run_transcript";
650
652
  selectedText: string;
651
653
  sourceHash: string;
652
654
  attachmentIds: string[];
653
- sourceRunId: string;
654
- sourceAgentId: string;
655
655
  anchorKind: "text" | "transition";
656
656
  sourceEntryId: string | number;
657
657
  sourceMemberIds: (string | number)[];
@@ -722,11 +722,11 @@ export declare const chatInlineAnnotationInputSchema: z.ZodEffects<z.ZodDiscrimi
722
722
  attachmentFileIndexes?: number[] | undefined;
723
723
  } | {
724
724
  id: string;
725
+ sourceRunId: string;
726
+ sourceAgentId: string;
725
727
  surface: "agent_run_transcript";
726
728
  selectedText: string;
727
729
  sourceHash: string;
728
- sourceRunId: string;
729
- sourceAgentId: string;
730
730
  anchorKind: "text" | "transition";
731
731
  sourceEntryId: string | number;
732
732
  sourceMemberIds: (string | number)[];
@@ -869,23 +869,23 @@ export declare const chatInlineAnnotationsSchema: z.ZodEffects<z.ZodArray<z.ZodE
869
869
  attachmentIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
870
870
  }, "strict", z.ZodTypeAny, {
871
871
  id: string;
872
+ sourceRunId: string;
873
+ sourceAgentId: string;
872
874
  surface: "agent_run_transcript";
873
875
  selectedText: string;
874
876
  sourceHash: string;
875
877
  attachmentIds: string[];
876
- sourceRunId: string;
877
- sourceAgentId: string;
878
878
  anchorKind: "text" | "transition";
879
879
  sourceEntryId: string | number;
880
880
  sourceMemberIds: (string | number)[];
881
881
  comment?: string | null | undefined;
882
882
  }, {
883
883
  id: string;
884
+ sourceRunId: string;
885
+ sourceAgentId: string;
884
886
  surface: "agent_run_transcript";
885
887
  selectedText: string;
886
888
  sourceHash: string;
887
- sourceRunId: string;
888
- sourceAgentId: string;
889
889
  anchorKind: "text" | "transition";
890
890
  sourceEntryId: string | number;
891
891
  sourceMemberIds: (string | number)[];
@@ -1010,12 +1010,12 @@ export declare const chatInlineAnnotationsSchema: z.ZodEffects<z.ZodArray<z.ZodE
1010
1010
  comment?: string | null | undefined;
1011
1011
  } | {
1012
1012
  id: string;
1013
+ sourceRunId: string;
1014
+ sourceAgentId: string;
1013
1015
  surface: "agent_run_transcript";
1014
1016
  selectedText: string;
1015
1017
  sourceHash: string;
1016
1018
  attachmentIds: string[];
1017
- sourceRunId: string;
1018
- sourceAgentId: string;
1019
1019
  anchorKind: "text" | "transition";
1020
1020
  sourceEntryId: string | number;
1021
1021
  sourceMemberIds: (string | number)[];
@@ -1081,11 +1081,11 @@ export declare const chatInlineAnnotationsSchema: z.ZodEffects<z.ZodArray<z.ZodE
1081
1081
  attachmentIds?: string[] | undefined;
1082
1082
  } | {
1083
1083
  id: string;
1084
+ sourceRunId: string;
1085
+ sourceAgentId: string;
1084
1086
  surface: "agent_run_transcript";
1085
1087
  selectedText: string;
1086
1088
  sourceHash: string;
1087
- sourceRunId: string;
1088
- sourceAgentId: string;
1089
1089
  anchorKind: "text" | "transition";
1090
1090
  sourceEntryId: string | number;
1091
1091
  sourceMemberIds: (string | number)[];
@@ -1152,12 +1152,12 @@ export declare const chatInlineAnnotationsSchema: z.ZodEffects<z.ZodArray<z.ZodE
1152
1152
  comment?: string | null | undefined;
1153
1153
  } | {
1154
1154
  id: string;
1155
+ sourceRunId: string;
1156
+ sourceAgentId: string;
1155
1157
  surface: "agent_run_transcript";
1156
1158
  selectedText: string;
1157
1159
  sourceHash: string;
1158
1160
  attachmentIds: string[];
1159
- sourceRunId: string;
1160
- sourceAgentId: string;
1161
1161
  anchorKind: "text" | "transition";
1162
1162
  sourceEntryId: string | number;
1163
1163
  sourceMemberIds: (string | number)[];
@@ -1223,11 +1223,11 @@ export declare const chatInlineAnnotationsSchema: z.ZodEffects<z.ZodArray<z.ZodE
1223
1223
  attachmentIds?: string[] | undefined;
1224
1224
  } | {
1225
1225
  id: string;
1226
+ sourceRunId: string;
1227
+ sourceAgentId: string;
1226
1228
  surface: "agent_run_transcript";
1227
1229
  selectedText: string;
1228
1230
  sourceHash: string;
1229
- sourceRunId: string;
1230
- sourceAgentId: string;
1231
1231
  anchorKind: "text" | "transition";
1232
1232
  sourceEntryId: string | number;
1233
1233
  sourceMemberIds: (string | number)[];
@@ -1377,12 +1377,12 @@ export declare const chatInlineAnnotationsInputSchema: z.ZodEffects<z.ZodArray<z
1377
1377
  attachmentFileIndexes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1378
1378
  }, "strict", z.ZodTypeAny, {
1379
1379
  id: string;
1380
+ sourceRunId: string;
1381
+ sourceAgentId: string;
1380
1382
  surface: "agent_run_transcript";
1381
1383
  selectedText: string;
1382
1384
  sourceHash: string;
1383
1385
  attachmentIds: string[];
1384
- sourceRunId: string;
1385
- sourceAgentId: string;
1386
1386
  anchorKind: "text" | "transition";
1387
1387
  sourceEntryId: string | number;
1388
1388
  sourceMemberIds: (string | number)[];
@@ -1390,11 +1390,11 @@ export declare const chatInlineAnnotationsInputSchema: z.ZodEffects<z.ZodArray<z
1390
1390
  attachmentFileIndexes?: number[] | undefined;
1391
1391
  }, {
1392
1392
  id: string;
1393
+ sourceRunId: string;
1394
+ sourceAgentId: string;
1393
1395
  surface: "agent_run_transcript";
1394
1396
  selectedText: string;
1395
1397
  sourceHash: string;
1396
- sourceRunId: string;
1397
- sourceAgentId: string;
1398
1398
  anchorKind: "text" | "transition";
1399
1399
  sourceEntryId: string | number;
1400
1400
  sourceMemberIds: (string | number)[];
@@ -1530,12 +1530,12 @@ export declare const chatInlineAnnotationsInputSchema: z.ZodEffects<z.ZodArray<z
1530
1530
  attachmentFileIndexes?: number[] | undefined;
1531
1531
  } | {
1532
1532
  id: string;
1533
+ sourceRunId: string;
1534
+ sourceAgentId: string;
1533
1535
  surface: "agent_run_transcript";
1534
1536
  selectedText: string;
1535
1537
  sourceHash: string;
1536
1538
  attachmentIds: string[];
1537
- sourceRunId: string;
1538
- sourceAgentId: string;
1539
1539
  anchorKind: "text" | "transition";
1540
1540
  sourceEntryId: string | number;
1541
1541
  sourceMemberIds: (string | number)[];
@@ -1606,11 +1606,11 @@ export declare const chatInlineAnnotationsInputSchema: z.ZodEffects<z.ZodArray<z
1606
1606
  attachmentFileIndexes?: number[] | undefined;
1607
1607
  } | {
1608
1608
  id: string;
1609
+ sourceRunId: string;
1610
+ sourceAgentId: string;
1609
1611
  surface: "agent_run_transcript";
1610
1612
  selectedText: string;
1611
1613
  sourceHash: string;
1612
- sourceRunId: string;
1613
- sourceAgentId: string;
1614
1614
  anchorKind: "text" | "transition";
1615
1615
  sourceEntryId: string | number;
1616
1616
  sourceMemberIds: (string | number)[];
@@ -1682,12 +1682,12 @@ export declare const chatInlineAnnotationsInputSchema: z.ZodEffects<z.ZodArray<z
1682
1682
  attachmentFileIndexes?: number[] | undefined;
1683
1683
  } | {
1684
1684
  id: string;
1685
+ sourceRunId: string;
1686
+ sourceAgentId: string;
1685
1687
  surface: "agent_run_transcript";
1686
1688
  selectedText: string;
1687
1689
  sourceHash: string;
1688
1690
  attachmentIds: string[];
1689
- sourceRunId: string;
1690
- sourceAgentId: string;
1691
1691
  anchorKind: "text" | "transition";
1692
1692
  sourceEntryId: string | number;
1693
1693
  sourceMemberIds: (string | number)[];
@@ -1758,11 +1758,11 @@ export declare const chatInlineAnnotationsInputSchema: z.ZodEffects<z.ZodArray<z
1758
1758
  attachmentFileIndexes?: number[] | undefined;
1759
1759
  } | {
1760
1760
  id: string;
1761
+ sourceRunId: string;
1762
+ sourceAgentId: string;
1761
1763
  surface: "agent_run_transcript";
1762
1764
  selectedText: string;
1763
1765
  sourceHash: string;
1764
- sourceRunId: string;
1765
- sourceAgentId: string;
1766
1766
  anchorKind: "text" | "transition";
1767
1767
  sourceEntryId: string | number;
1768
1768
  sourceMemberIds: (string | number)[];
@@ -2066,12 +2066,12 @@ export declare const createChatFirstTurnSchema: z.ZodEffects<z.ZodObject<{
2066
2066
  attachmentFileIndexes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
2067
2067
  }, "strict", z.ZodTypeAny, {
2068
2068
  id: string;
2069
+ sourceRunId: string;
2070
+ sourceAgentId: string;
2069
2071
  surface: "agent_run_transcript";
2070
2072
  selectedText: string;
2071
2073
  sourceHash: string;
2072
2074
  attachmentIds: string[];
2073
- sourceRunId: string;
2074
- sourceAgentId: string;
2075
2075
  anchorKind: "text" | "transition";
2076
2076
  sourceEntryId: string | number;
2077
2077
  sourceMemberIds: (string | number)[];
@@ -2079,11 +2079,11 @@ export declare const createChatFirstTurnSchema: z.ZodEffects<z.ZodObject<{
2079
2079
  attachmentFileIndexes?: number[] | undefined;
2080
2080
  }, {
2081
2081
  id: string;
2082
+ sourceRunId: string;
2083
+ sourceAgentId: string;
2082
2084
  surface: "agent_run_transcript";
2083
2085
  selectedText: string;
2084
2086
  sourceHash: string;
2085
- sourceRunId: string;
2086
- sourceAgentId: string;
2087
2087
  anchorKind: "text" | "transition";
2088
2088
  sourceEntryId: string | number;
2089
2089
  sourceMemberIds: (string | number)[];
@@ -2219,12 +2219,12 @@ export declare const createChatFirstTurnSchema: z.ZodEffects<z.ZodObject<{
2219
2219
  attachmentFileIndexes?: number[] | undefined;
2220
2220
  } | {
2221
2221
  id: string;
2222
+ sourceRunId: string;
2223
+ sourceAgentId: string;
2222
2224
  surface: "agent_run_transcript";
2223
2225
  selectedText: string;
2224
2226
  sourceHash: string;
2225
2227
  attachmentIds: string[];
2226
- sourceRunId: string;
2227
- sourceAgentId: string;
2228
2228
  anchorKind: "text" | "transition";
2229
2229
  sourceEntryId: string | number;
2230
2230
  sourceMemberIds: (string | number)[];
@@ -2295,11 +2295,11 @@ export declare const createChatFirstTurnSchema: z.ZodEffects<z.ZodObject<{
2295
2295
  attachmentFileIndexes?: number[] | undefined;
2296
2296
  } | {
2297
2297
  id: string;
2298
+ sourceRunId: string;
2299
+ sourceAgentId: string;
2298
2300
  surface: "agent_run_transcript";
2299
2301
  selectedText: string;
2300
2302
  sourceHash: string;
2301
- sourceRunId: string;
2302
- sourceAgentId: string;
2303
2303
  anchorKind: "text" | "transition";
2304
2304
  sourceEntryId: string | number;
2305
2305
  sourceMemberIds: (string | number)[];
@@ -2371,12 +2371,12 @@ export declare const createChatFirstTurnSchema: z.ZodEffects<z.ZodObject<{
2371
2371
  attachmentFileIndexes?: number[] | undefined;
2372
2372
  } | {
2373
2373
  id: string;
2374
+ sourceRunId: string;
2375
+ sourceAgentId: string;
2374
2376
  surface: "agent_run_transcript";
2375
2377
  selectedText: string;
2376
2378
  sourceHash: string;
2377
2379
  attachmentIds: string[];
2378
- sourceRunId: string;
2379
- sourceAgentId: string;
2380
2380
  anchorKind: "text" | "transition";
2381
2381
  sourceEntryId: string | number;
2382
2382
  sourceMemberIds: (string | number)[];
@@ -2447,11 +2447,11 @@ export declare const createChatFirstTurnSchema: z.ZodEffects<z.ZodObject<{
2447
2447
  attachmentFileIndexes?: number[] | undefined;
2448
2448
  } | {
2449
2449
  id: string;
2450
+ sourceRunId: string;
2451
+ sourceAgentId: string;
2450
2452
  surface: "agent_run_transcript";
2451
2453
  selectedText: string;
2452
2454
  sourceHash: string;
2453
- sourceRunId: string;
2454
- sourceAgentId: string;
2455
2455
  anchorKind: "text" | "transition";
2456
2456
  sourceEntryId: string | number;
2457
2457
  sourceMemberIds: (string | number)[];
@@ -2531,12 +2531,12 @@ export declare const createChatFirstTurnSchema: z.ZodEffects<z.ZodObject<{
2531
2531
  attachmentFileIndexes?: number[] | undefined;
2532
2532
  } | {
2533
2533
  id: string;
2534
+ sourceRunId: string;
2535
+ sourceAgentId: string;
2534
2536
  surface: "agent_run_transcript";
2535
2537
  selectedText: string;
2536
2538
  sourceHash: string;
2537
2539
  attachmentIds: string[];
2538
- sourceRunId: string;
2539
- sourceAgentId: string;
2540
2540
  anchorKind: "text" | "transition";
2541
2541
  sourceEntryId: string | number;
2542
2542
  sourceMemberIds: (string | number)[];
@@ -2633,11 +2633,11 @@ export declare const createChatFirstTurnSchema: z.ZodEffects<z.ZodObject<{
2633
2633
  attachmentFileIndexes?: number[] | undefined;
2634
2634
  } | {
2635
2635
  id: string;
2636
+ sourceRunId: string;
2637
+ sourceAgentId: string;
2636
2638
  surface: "agent_run_transcript";
2637
2639
  selectedText: string;
2638
2640
  sourceHash: string;
2639
- sourceRunId: string;
2640
- sourceAgentId: string;
2641
2641
  anchorKind: "text" | "transition";
2642
2642
  sourceEntryId: string | number;
2643
2643
  sourceMemberIds: (string | number)[];
@@ -2717,12 +2717,12 @@ export declare const createChatFirstTurnSchema: z.ZodEffects<z.ZodObject<{
2717
2717
  attachmentFileIndexes?: number[] | undefined;
2718
2718
  } | {
2719
2719
  id: string;
2720
+ sourceRunId: string;
2721
+ sourceAgentId: string;
2720
2722
  surface: "agent_run_transcript";
2721
2723
  selectedText: string;
2722
2724
  sourceHash: string;
2723
2725
  attachmentIds: string[];
2724
- sourceRunId: string;
2725
- sourceAgentId: string;
2726
2726
  anchorKind: "text" | "transition";
2727
2727
  sourceEntryId: string | number;
2728
2728
  sourceMemberIds: (string | number)[];
@@ -2819,11 +2819,11 @@ export declare const createChatFirstTurnSchema: z.ZodEffects<z.ZodObject<{
2819
2819
  attachmentFileIndexes?: number[] | undefined;
2820
2820
  } | {
2821
2821
  id: string;
2822
+ sourceRunId: string;
2823
+ sourceAgentId: string;
2822
2824
  surface: "agent_run_transcript";
2823
2825
  selectedText: string;
2824
2826
  sourceHash: string;
2825
- sourceRunId: string;
2826
- sourceAgentId: string;
2827
2827
  anchorKind: "text" | "transition";
2828
2828
  sourceEntryId: string | number;
2829
2829
  sourceMemberIds: (string | number)[];
@@ -2956,6 +2956,7 @@ export declare const createSideChatSchema: z.ZodObject<{
2956
2956
  }>;
2957
2957
  export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
2958
2958
  body: z.ZodDefault<z.ZodString>;
2959
+ clientMutationId: z.ZodOptional<z.ZodString>;
2959
2960
  inlineAnnotations: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"surface", [z.ZodObject<{
2960
2961
  surface: z.ZodLiteral<"assistant_body">;
2961
2962
  sourceMessageId: z.ZodString;
@@ -3070,12 +3071,12 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
3070
3071
  attachmentFileIndexes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
3071
3072
  }, "strict", z.ZodTypeAny, {
3072
3073
  id: string;
3074
+ sourceRunId: string;
3075
+ sourceAgentId: string;
3073
3076
  surface: "agent_run_transcript";
3074
3077
  selectedText: string;
3075
3078
  sourceHash: string;
3076
3079
  attachmentIds: string[];
3077
- sourceRunId: string;
3078
- sourceAgentId: string;
3079
3080
  anchorKind: "text" | "transition";
3080
3081
  sourceEntryId: string | number;
3081
3082
  sourceMemberIds: (string | number)[];
@@ -3083,11 +3084,11 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
3083
3084
  attachmentFileIndexes?: number[] | undefined;
3084
3085
  }, {
3085
3086
  id: string;
3087
+ sourceRunId: string;
3088
+ sourceAgentId: string;
3086
3089
  surface: "agent_run_transcript";
3087
3090
  selectedText: string;
3088
3091
  sourceHash: string;
3089
- sourceRunId: string;
3090
- sourceAgentId: string;
3091
3092
  anchorKind: "text" | "transition";
3092
3093
  sourceEntryId: string | number;
3093
3094
  sourceMemberIds: (string | number)[];
@@ -3223,12 +3224,12 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
3223
3224
  attachmentFileIndexes?: number[] | undefined;
3224
3225
  } | {
3225
3226
  id: string;
3227
+ sourceRunId: string;
3228
+ sourceAgentId: string;
3226
3229
  surface: "agent_run_transcript";
3227
3230
  selectedText: string;
3228
3231
  sourceHash: string;
3229
3232
  attachmentIds: string[];
3230
- sourceRunId: string;
3231
- sourceAgentId: string;
3232
3233
  anchorKind: "text" | "transition";
3233
3234
  sourceEntryId: string | number;
3234
3235
  sourceMemberIds: (string | number)[];
@@ -3299,11 +3300,11 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
3299
3300
  attachmentFileIndexes?: number[] | undefined;
3300
3301
  } | {
3301
3302
  id: string;
3303
+ sourceRunId: string;
3304
+ sourceAgentId: string;
3302
3305
  surface: "agent_run_transcript";
3303
3306
  selectedText: string;
3304
3307
  sourceHash: string;
3305
- sourceRunId: string;
3306
- sourceAgentId: string;
3307
3308
  anchorKind: "text" | "transition";
3308
3309
  sourceEntryId: string | number;
3309
3310
  sourceMemberIds: (string | number)[];
@@ -3375,12 +3376,12 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
3375
3376
  attachmentFileIndexes?: number[] | undefined;
3376
3377
  } | {
3377
3378
  id: string;
3379
+ sourceRunId: string;
3380
+ sourceAgentId: string;
3378
3381
  surface: "agent_run_transcript";
3379
3382
  selectedText: string;
3380
3383
  sourceHash: string;
3381
3384
  attachmentIds: string[];
3382
- sourceRunId: string;
3383
- sourceAgentId: string;
3384
3385
  anchorKind: "text" | "transition";
3385
3386
  sourceEntryId: string | number;
3386
3387
  sourceMemberIds: (string | number)[];
@@ -3451,11 +3452,11 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
3451
3452
  attachmentFileIndexes?: number[] | undefined;
3452
3453
  } | {
3453
3454
  id: string;
3455
+ sourceRunId: string;
3456
+ sourceAgentId: string;
3454
3457
  surface: "agent_run_transcript";
3455
3458
  selectedText: string;
3456
3459
  sourceHash: string;
3457
- sourceRunId: string;
3458
- sourceAgentId: string;
3459
3460
  anchorKind: "text" | "transition";
3460
3461
  sourceEntryId: string | number;
3461
3462
  sourceMemberIds: (string | number)[];
@@ -3502,6 +3503,7 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
3502
3503
  body: string;
3503
3504
  modelOverride?: string | null | undefined;
3504
3505
  effortOverride?: string | null | undefined;
3506
+ clientMutationId?: string | undefined;
3505
3507
  inlineAnnotations?: ({
3506
3508
  start: number;
3507
3509
  end: number;
@@ -3536,12 +3538,12 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
3536
3538
  attachmentFileIndexes?: number[] | undefined;
3537
3539
  } | {
3538
3540
  id: string;
3541
+ sourceRunId: string;
3542
+ sourceAgentId: string;
3539
3543
  surface: "agent_run_transcript";
3540
3544
  selectedText: string;
3541
3545
  sourceHash: string;
3542
3546
  attachmentIds: string[];
3543
- sourceRunId: string;
3544
- sourceAgentId: string;
3545
3547
  anchorKind: "text" | "transition";
3546
3548
  sourceEntryId: string | number;
3547
3549
  sourceMemberIds: (string | number)[];
@@ -3585,6 +3587,7 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
3585
3587
  modelOverride?: string | null | undefined;
3586
3588
  effortOverride?: string | null | undefined;
3587
3589
  body?: string | undefined;
3590
+ clientMutationId?: string | undefined;
3588
3591
  inlineAnnotations?: ({
3589
3592
  start: number;
3590
3593
  end: number;
@@ -3619,11 +3622,11 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
3619
3622
  attachmentFileIndexes?: number[] | undefined;
3620
3623
  } | {
3621
3624
  id: string;
3625
+ sourceRunId: string;
3626
+ sourceAgentId: string;
3622
3627
  surface: "agent_run_transcript";
3623
3628
  selectedText: string;
3624
3629
  sourceHash: string;
3625
- sourceRunId: string;
3626
- sourceAgentId: string;
3627
3630
  anchorKind: "text" | "transition";
3628
3631
  sourceEntryId: string | number;
3629
3632
  sourceMemberIds: (string | number)[];
@@ -3668,6 +3671,7 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
3668
3671
  body: string;
3669
3672
  modelOverride?: string | null | undefined;
3670
3673
  effortOverride?: string | null | undefined;
3674
+ clientMutationId?: string | undefined;
3671
3675
  inlineAnnotations?: ({
3672
3676
  start: number;
3673
3677
  end: number;
@@ -3702,12 +3706,12 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
3702
3706
  attachmentFileIndexes?: number[] | undefined;
3703
3707
  } | {
3704
3708
  id: string;
3709
+ sourceRunId: string;
3710
+ sourceAgentId: string;
3705
3711
  surface: "agent_run_transcript";
3706
3712
  selectedText: string;
3707
3713
  sourceHash: string;
3708
3714
  attachmentIds: string[];
3709
- sourceRunId: string;
3710
- sourceAgentId: string;
3711
3715
  anchorKind: "text" | "transition";
3712
3716
  sourceEntryId: string | number;
3713
3717
  sourceMemberIds: (string | number)[];
@@ -3751,6 +3755,7 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
3751
3755
  modelOverride?: string | null | undefined;
3752
3756
  effortOverride?: string | null | undefined;
3753
3757
  body?: string | undefined;
3758
+ clientMutationId?: string | undefined;
3754
3759
  inlineAnnotations?: ({
3755
3760
  start: number;
3756
3761
  end: number;
@@ -3785,11 +3790,11 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
3785
3790
  attachmentFileIndexes?: number[] | undefined;
3786
3791
  } | {
3787
3792
  id: string;
3793
+ sourceRunId: string;
3794
+ sourceAgentId: string;
3788
3795
  surface: "agent_run_transcript";
3789
3796
  selectedText: string;
3790
3797
  sourceHash: string;
3791
- sourceRunId: string;
3792
- sourceAgentId: string;
3793
3798
  anchorKind: "text" | "transition";
3794
3799
  sourceEntryId: string | number;
3795
3800
  sourceMemberIds: (string | number)[];
@@ -3948,12 +3953,12 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
3948
3953
  attachmentFileIndexes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
3949
3954
  }, "strict", z.ZodTypeAny, {
3950
3955
  id: string;
3956
+ sourceRunId: string;
3957
+ sourceAgentId: string;
3951
3958
  surface: "agent_run_transcript";
3952
3959
  selectedText: string;
3953
3960
  sourceHash: string;
3954
3961
  attachmentIds: string[];
3955
- sourceRunId: string;
3956
- sourceAgentId: string;
3957
3962
  anchorKind: "text" | "transition";
3958
3963
  sourceEntryId: string | number;
3959
3964
  sourceMemberIds: (string | number)[];
@@ -3961,11 +3966,11 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
3961
3966
  attachmentFileIndexes?: number[] | undefined;
3962
3967
  }, {
3963
3968
  id: string;
3969
+ sourceRunId: string;
3970
+ sourceAgentId: string;
3964
3971
  surface: "agent_run_transcript";
3965
3972
  selectedText: string;
3966
3973
  sourceHash: string;
3967
- sourceRunId: string;
3968
- sourceAgentId: string;
3969
3974
  anchorKind: "text" | "transition";
3970
3975
  sourceEntryId: string | number;
3971
3976
  sourceMemberIds: (string | number)[];
@@ -4101,12 +4106,12 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
4101
4106
  attachmentFileIndexes?: number[] | undefined;
4102
4107
  } | {
4103
4108
  id: string;
4109
+ sourceRunId: string;
4110
+ sourceAgentId: string;
4104
4111
  surface: "agent_run_transcript";
4105
4112
  selectedText: string;
4106
4113
  sourceHash: string;
4107
4114
  attachmentIds: string[];
4108
- sourceRunId: string;
4109
- sourceAgentId: string;
4110
4115
  anchorKind: "text" | "transition";
4111
4116
  sourceEntryId: string | number;
4112
4117
  sourceMemberIds: (string | number)[];
@@ -4177,11 +4182,11 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
4177
4182
  attachmentFileIndexes?: number[] | undefined;
4178
4183
  } | {
4179
4184
  id: string;
4185
+ sourceRunId: string;
4186
+ sourceAgentId: string;
4180
4187
  surface: "agent_run_transcript";
4181
4188
  selectedText: string;
4182
4189
  sourceHash: string;
4183
- sourceRunId: string;
4184
- sourceAgentId: string;
4185
4190
  anchorKind: "text" | "transition";
4186
4191
  sourceEntryId: string | number;
4187
4192
  sourceMemberIds: (string | number)[];
@@ -4253,12 +4258,12 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
4253
4258
  attachmentFileIndexes?: number[] | undefined;
4254
4259
  } | {
4255
4260
  id: string;
4261
+ sourceRunId: string;
4262
+ sourceAgentId: string;
4256
4263
  surface: "agent_run_transcript";
4257
4264
  selectedText: string;
4258
4265
  sourceHash: string;
4259
4266
  attachmentIds: string[];
4260
- sourceRunId: string;
4261
- sourceAgentId: string;
4262
4267
  anchorKind: "text" | "transition";
4263
4268
  sourceEntryId: string | number;
4264
4269
  sourceMemberIds: (string | number)[];
@@ -4329,11 +4334,11 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
4329
4334
  attachmentFileIndexes?: number[] | undefined;
4330
4335
  } | {
4331
4336
  id: string;
4337
+ sourceRunId: string;
4338
+ sourceAgentId: string;
4332
4339
  surface: "agent_run_transcript";
4333
4340
  selectedText: string;
4334
4341
  sourceHash: string;
4335
- sourceRunId: string;
4336
- sourceAgentId: string;
4337
4342
  anchorKind: "text" | "transition";
4338
4343
  sourceEntryId: string | number;
4339
4344
  sourceMemberIds: (string | number)[];
@@ -4416,12 +4421,12 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
4416
4421
  attachmentFileIndexes?: number[] | undefined;
4417
4422
  } | {
4418
4423
  id: string;
4424
+ sourceRunId: string;
4425
+ sourceAgentId: string;
4419
4426
  surface: "agent_run_transcript";
4420
4427
  selectedText: string;
4421
4428
  sourceHash: string;
4422
4429
  attachmentIds: string[];
4423
- sourceRunId: string;
4424
- sourceAgentId: string;
4425
4430
  anchorKind: "text" | "transition";
4426
4431
  sourceEntryId: string | number;
4427
4432
  sourceMemberIds: (string | number)[];
@@ -4508,11 +4513,11 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
4508
4513
  attachmentFileIndexes?: number[] | undefined;
4509
4514
  } | {
4510
4515
  id: string;
4516
+ sourceRunId: string;
4517
+ sourceAgentId: string;
4511
4518
  surface: "agent_run_transcript";
4512
4519
  selectedText: string;
4513
4520
  sourceHash: string;
4514
- sourceRunId: string;
4515
- sourceAgentId: string;
4516
4521
  anchorKind: "text" | "transition";
4517
4522
  sourceEntryId: string | number;
4518
4523
  sourceMemberIds: (string | number)[];
@@ -4590,12 +4595,12 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
4590
4595
  attachmentFileIndexes?: number[] | undefined;
4591
4596
  } | {
4592
4597
  id: string;
4598
+ sourceRunId: string;
4599
+ sourceAgentId: string;
4593
4600
  surface: "agent_run_transcript";
4594
4601
  selectedText: string;
4595
4602
  sourceHash: string;
4596
4603
  attachmentIds: string[];
4597
- sourceRunId: string;
4598
- sourceAgentId: string;
4599
4604
  anchorKind: "text" | "transition";
4600
4605
  sourceEntryId: string | number;
4601
4606
  sourceMemberIds: (string | number)[];
@@ -4682,11 +4687,11 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
4682
4687
  attachmentFileIndexes?: number[] | undefined;
4683
4688
  } | {
4684
4689
  id: string;
4690
+ sourceRunId: string;
4691
+ sourceAgentId: string;
4685
4692
  surface: "agent_run_transcript";
4686
4693
  selectedText: string;
4687
4694
  sourceHash: string;
4688
- sourceRunId: string;
4689
- sourceAgentId: string;
4690
4695
  anchorKind: "text" | "transition";
4691
4696
  sourceEntryId: string | number;
4692
4697
  sourceMemberIds: (string | number)[];
@@ -4848,12 +4853,12 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
4848
4853
  attachmentFileIndexes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
4849
4854
  }, "strict", z.ZodTypeAny, {
4850
4855
  id: string;
4856
+ sourceRunId: string;
4857
+ sourceAgentId: string;
4851
4858
  surface: "agent_run_transcript";
4852
4859
  selectedText: string;
4853
4860
  sourceHash: string;
4854
4861
  attachmentIds: string[];
4855
- sourceRunId: string;
4856
- sourceAgentId: string;
4857
4862
  anchorKind: "text" | "transition";
4858
4863
  sourceEntryId: string | number;
4859
4864
  sourceMemberIds: (string | number)[];
@@ -4861,11 +4866,11 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
4861
4866
  attachmentFileIndexes?: number[] | undefined;
4862
4867
  }, {
4863
4868
  id: string;
4869
+ sourceRunId: string;
4870
+ sourceAgentId: string;
4864
4871
  surface: "agent_run_transcript";
4865
4872
  selectedText: string;
4866
4873
  sourceHash: string;
4867
- sourceRunId: string;
4868
- sourceAgentId: string;
4869
4874
  anchorKind: "text" | "transition";
4870
4875
  sourceEntryId: string | number;
4871
4876
  sourceMemberIds: (string | number)[];
@@ -5001,12 +5006,12 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
5001
5006
  attachmentFileIndexes?: number[] | undefined;
5002
5007
  } | {
5003
5008
  id: string;
5009
+ sourceRunId: string;
5010
+ sourceAgentId: string;
5004
5011
  surface: "agent_run_transcript";
5005
5012
  selectedText: string;
5006
5013
  sourceHash: string;
5007
5014
  attachmentIds: string[];
5008
- sourceRunId: string;
5009
- sourceAgentId: string;
5010
5015
  anchorKind: "text" | "transition";
5011
5016
  sourceEntryId: string | number;
5012
5017
  sourceMemberIds: (string | number)[];
@@ -5077,11 +5082,11 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
5077
5082
  attachmentFileIndexes?: number[] | undefined;
5078
5083
  } | {
5079
5084
  id: string;
5085
+ sourceRunId: string;
5086
+ sourceAgentId: string;
5080
5087
  surface: "agent_run_transcript";
5081
5088
  selectedText: string;
5082
5089
  sourceHash: string;
5083
- sourceRunId: string;
5084
- sourceAgentId: string;
5085
5090
  anchorKind: "text" | "transition";
5086
5091
  sourceEntryId: string | number;
5087
5092
  sourceMemberIds: (string | number)[];
@@ -5153,12 +5158,12 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
5153
5158
  attachmentFileIndexes?: number[] | undefined;
5154
5159
  } | {
5155
5160
  id: string;
5161
+ sourceRunId: string;
5162
+ sourceAgentId: string;
5156
5163
  surface: "agent_run_transcript";
5157
5164
  selectedText: string;
5158
5165
  sourceHash: string;
5159
5166
  attachmentIds: string[];
5160
- sourceRunId: string;
5161
- sourceAgentId: string;
5162
5167
  anchorKind: "text" | "transition";
5163
5168
  sourceEntryId: string | number;
5164
5169
  sourceMemberIds: (string | number)[];
@@ -5229,11 +5234,11 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
5229
5234
  attachmentFileIndexes?: number[] | undefined;
5230
5235
  } | {
5231
5236
  id: string;
5237
+ sourceRunId: string;
5238
+ sourceAgentId: string;
5232
5239
  surface: "agent_run_transcript";
5233
5240
  selectedText: string;
5234
5241
  sourceHash: string;
5235
- sourceRunId: string;
5236
- sourceAgentId: string;
5237
5242
  anchorKind: "text" | "transition";
5238
5243
  sourceEntryId: string | number;
5239
5244
  sourceMemberIds: (string | number)[];
@@ -5316,12 +5321,12 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
5316
5321
  attachmentFileIndexes?: number[] | undefined;
5317
5322
  } | {
5318
5323
  id: string;
5324
+ sourceRunId: string;
5325
+ sourceAgentId: string;
5319
5326
  surface: "agent_run_transcript";
5320
5327
  selectedText: string;
5321
5328
  sourceHash: string;
5322
5329
  attachmentIds: string[];
5323
- sourceRunId: string;
5324
- sourceAgentId: string;
5325
5330
  anchorKind: "text" | "transition";
5326
5331
  sourceEntryId: string | number;
5327
5332
  sourceMemberIds: (string | number)[];
@@ -5408,11 +5413,11 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
5408
5413
  attachmentFileIndexes?: number[] | undefined;
5409
5414
  } | {
5410
5415
  id: string;
5416
+ sourceRunId: string;
5417
+ sourceAgentId: string;
5411
5418
  surface: "agent_run_transcript";
5412
5419
  selectedText: string;
5413
5420
  sourceHash: string;
5414
- sourceRunId: string;
5415
- sourceAgentId: string;
5416
5421
  anchorKind: "text" | "transition";
5417
5422
  sourceEntryId: string | number;
5418
5423
  sourceMemberIds: (string | number)[];
@@ -5490,12 +5495,12 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
5490
5495
  attachmentFileIndexes?: number[] | undefined;
5491
5496
  } | {
5492
5497
  id: string;
5498
+ sourceRunId: string;
5499
+ sourceAgentId: string;
5493
5500
  surface: "agent_run_transcript";
5494
5501
  selectedText: string;
5495
5502
  sourceHash: string;
5496
5503
  attachmentIds: string[];
5497
- sourceRunId: string;
5498
- sourceAgentId: string;
5499
5504
  anchorKind: "text" | "transition";
5500
5505
  sourceEntryId: string | number;
5501
5506
  sourceMemberIds: (string | number)[];
@@ -5582,11 +5587,11 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
5582
5587
  attachmentFileIndexes?: number[] | undefined;
5583
5588
  } | {
5584
5589
  id: string;
5590
+ sourceRunId: string;
5591
+ sourceAgentId: string;
5585
5592
  surface: "agent_run_transcript";
5586
5593
  selectedText: string;
5587
5594
  sourceHash: string;
5588
- sourceRunId: string;
5589
- sourceAgentId: string;
5590
5595
  anchorKind: "text" | "transition";
5591
5596
  sourceEntryId: string | number;
5592
5597
  sourceMemberIds: (string | number)[];
@@ -5667,12 +5672,12 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
5667
5672
  attachmentFileIndexes?: number[] | undefined;
5668
5673
  } | {
5669
5674
  id: string;
5675
+ sourceRunId: string;
5676
+ sourceAgentId: string;
5670
5677
  surface: "agent_run_transcript";
5671
5678
  selectedText: string;
5672
5679
  sourceHash: string;
5673
5680
  attachmentIds: string[];
5674
- sourceRunId: string;
5675
- sourceAgentId: string;
5676
5681
  anchorKind: "text" | "transition";
5677
5682
  sourceEntryId: string | number;
5678
5683
  sourceMemberIds: (string | number)[];
@@ -5763,11 +5768,11 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
5763
5768
  attachmentFileIndexes?: number[] | undefined;
5764
5769
  } | {
5765
5770
  id: string;
5771
+ sourceRunId: string;
5772
+ sourceAgentId: string;
5766
5773
  surface: "agent_run_transcript";
5767
5774
  selectedText: string;
5768
5775
  sourceHash: string;
5769
- sourceRunId: string;
5770
- sourceAgentId: string;
5771
5776
  anchorKind: "text" | "transition";
5772
5777
  sourceEntryId: string | number;
5773
5778
  sourceMemberIds: (string | number)[];
@@ -5930,12 +5935,12 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
5930
5935
  attachmentFileIndexes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
5931
5936
  }, "strict", z.ZodTypeAny, {
5932
5937
  id: string;
5938
+ sourceRunId: string;
5939
+ sourceAgentId: string;
5933
5940
  surface: "agent_run_transcript";
5934
5941
  selectedText: string;
5935
5942
  sourceHash: string;
5936
5943
  attachmentIds: string[];
5937
- sourceRunId: string;
5938
- sourceAgentId: string;
5939
5944
  anchorKind: "text" | "transition";
5940
5945
  sourceEntryId: string | number;
5941
5946
  sourceMemberIds: (string | number)[];
@@ -5943,11 +5948,11 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
5943
5948
  attachmentFileIndexes?: number[] | undefined;
5944
5949
  }, {
5945
5950
  id: string;
5951
+ sourceRunId: string;
5952
+ sourceAgentId: string;
5946
5953
  surface: "agent_run_transcript";
5947
5954
  selectedText: string;
5948
5955
  sourceHash: string;
5949
- sourceRunId: string;
5950
- sourceAgentId: string;
5951
5956
  anchorKind: "text" | "transition";
5952
5957
  sourceEntryId: string | number;
5953
5958
  sourceMemberIds: (string | number)[];
@@ -6083,12 +6088,12 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
6083
6088
  attachmentFileIndexes?: number[] | undefined;
6084
6089
  } | {
6085
6090
  id: string;
6091
+ sourceRunId: string;
6092
+ sourceAgentId: string;
6086
6093
  surface: "agent_run_transcript";
6087
6094
  selectedText: string;
6088
6095
  sourceHash: string;
6089
6096
  attachmentIds: string[];
6090
- sourceRunId: string;
6091
- sourceAgentId: string;
6092
6097
  anchorKind: "text" | "transition";
6093
6098
  sourceEntryId: string | number;
6094
6099
  sourceMemberIds: (string | number)[];
@@ -6159,11 +6164,11 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
6159
6164
  attachmentFileIndexes?: number[] | undefined;
6160
6165
  } | {
6161
6166
  id: string;
6167
+ sourceRunId: string;
6168
+ sourceAgentId: string;
6162
6169
  surface: "agent_run_transcript";
6163
6170
  selectedText: string;
6164
6171
  sourceHash: string;
6165
- sourceRunId: string;
6166
- sourceAgentId: string;
6167
6172
  anchorKind: "text" | "transition";
6168
6173
  sourceEntryId: string | number;
6169
6174
  sourceMemberIds: (string | number)[];
@@ -6235,12 +6240,12 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
6235
6240
  attachmentFileIndexes?: number[] | undefined;
6236
6241
  } | {
6237
6242
  id: string;
6243
+ sourceRunId: string;
6244
+ sourceAgentId: string;
6238
6245
  surface: "agent_run_transcript";
6239
6246
  selectedText: string;
6240
6247
  sourceHash: string;
6241
6248
  attachmentIds: string[];
6242
- sourceRunId: string;
6243
- sourceAgentId: string;
6244
6249
  anchorKind: "text" | "transition";
6245
6250
  sourceEntryId: string | number;
6246
6251
  sourceMemberIds: (string | number)[];
@@ -6311,11 +6316,11 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
6311
6316
  attachmentFileIndexes?: number[] | undefined;
6312
6317
  } | {
6313
6318
  id: string;
6319
+ sourceRunId: string;
6320
+ sourceAgentId: string;
6314
6321
  surface: "agent_run_transcript";
6315
6322
  selectedText: string;
6316
6323
  sourceHash: string;
6317
- sourceRunId: string;
6318
- sourceAgentId: string;
6319
6324
  anchorKind: "text" | "transition";
6320
6325
  sourceEntryId: string | number;
6321
6326
  sourceMemberIds: (string | number)[];
@@ -6404,12 +6409,12 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
6404
6409
  attachmentFileIndexes?: number[] | undefined;
6405
6410
  } | {
6406
6411
  id: string;
6412
+ sourceRunId: string;
6413
+ sourceAgentId: string;
6407
6414
  surface: "agent_run_transcript";
6408
6415
  selectedText: string;
6409
6416
  sourceHash: string;
6410
6417
  attachmentIds: string[];
6411
- sourceRunId: string;
6412
- sourceAgentId: string;
6413
6418
  anchorKind: "text" | "transition";
6414
6419
  sourceEntryId: string | number;
6415
6420
  sourceMemberIds: (string | number)[];
@@ -6490,11 +6495,11 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
6490
6495
  attachmentFileIndexes?: number[] | undefined;
6491
6496
  } | {
6492
6497
  id: string;
6498
+ sourceRunId: string;
6499
+ sourceAgentId: string;
6493
6500
  surface: "agent_run_transcript";
6494
6501
  selectedText: string;
6495
6502
  sourceHash: string;
6496
- sourceRunId: string;
6497
- sourceAgentId: string;
6498
6503
  anchorKind: "text" | "transition";
6499
6504
  sourceEntryId: string | number;
6500
6505
  sourceMemberIds: (string | number)[];
@@ -6578,12 +6583,12 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
6578
6583
  attachmentFileIndexes?: number[] | undefined;
6579
6584
  } | {
6580
6585
  id: string;
6586
+ sourceRunId: string;
6587
+ sourceAgentId: string;
6581
6588
  surface: "agent_run_transcript";
6582
6589
  selectedText: string;
6583
6590
  sourceHash: string;
6584
6591
  attachmentIds: string[];
6585
- sourceRunId: string;
6586
- sourceAgentId: string;
6587
6592
  anchorKind: "text" | "transition";
6588
6593
  sourceEntryId: string | number;
6589
6594
  sourceMemberIds: (string | number)[];
@@ -6664,11 +6669,11 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
6664
6669
  attachmentFileIndexes?: number[] | undefined;
6665
6670
  } | {
6666
6671
  id: string;
6672
+ sourceRunId: string;
6673
+ sourceAgentId: string;
6667
6674
  surface: "agent_run_transcript";
6668
6675
  selectedText: string;
6669
6676
  sourceHash: string;
6670
- sourceRunId: string;
6671
- sourceAgentId: string;
6672
6677
  anchorKind: "text" | "transition";
6673
6678
  sourceEntryId: string | number;
6674
6679
  sourceMemberIds: (string | number)[];
@@ -6755,12 +6760,12 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
6755
6760
  attachmentFileIndexes?: number[] | undefined;
6756
6761
  } | {
6757
6762
  id: string;
6763
+ sourceRunId: string;
6764
+ sourceAgentId: string;
6758
6765
  surface: "agent_run_transcript";
6759
6766
  selectedText: string;
6760
6767
  sourceHash: string;
6761
6768
  attachmentIds: string[];
6762
- sourceRunId: string;
6763
- sourceAgentId: string;
6764
6769
  anchorKind: "text" | "transition";
6765
6770
  sourceEntryId: string | number;
6766
6771
  sourceMemberIds: (string | number)[];
@@ -6844,11 +6849,11 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
6844
6849
  attachmentFileIndexes?: number[] | undefined;
6845
6850
  } | {
6846
6851
  id: string;
6852
+ sourceRunId: string;
6853
+ sourceAgentId: string;
6847
6854
  surface: "agent_run_transcript";
6848
6855
  selectedText: string;
6849
6856
  sourceHash: string;
6850
- sourceRunId: string;
6851
- sourceAgentId: string;
6852
6857
  anchorKind: "text" | "transition";
6853
6858
  sourceEntryId: string | number;
6854
6859
  sourceMemberIds: (string | number)[];