@archastro/sdk 0.9.0 → 0.11.0

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 (102) hide show
  1. package/dist/client.d.ts +14 -0
  2. package/dist/client.d.ts.map +1 -1
  3. package/dist/client.js +15 -1
  4. package/dist/client.js.map +1 -1
  5. package/dist/types/ai.d.ts +2 -2
  6. package/dist/types/chat.d.ts +111 -50
  7. package/dist/types/chat.d.ts.map +1 -1
  8. package/dist/types/common.d.ts +1096 -468
  9. package/dist/types/common.d.ts.map +1 -1
  10. package/dist/types/common.js +155 -62
  11. package/dist/types/common.js.map +1 -1
  12. package/dist/types/extractions.d.ts +36 -0
  13. package/dist/types/extractions.d.ts.map +1 -1
  14. package/dist/types/index.d.ts +2 -0
  15. package/dist/types/index.d.ts.map +1 -1
  16. package/dist/types/index.js +3 -1
  17. package/dist/types/index.js.map +1 -1
  18. package/dist/types/status.d.ts +121 -0
  19. package/dist/types/status.d.ts.map +1 -0
  20. package/dist/types/status.js +18 -0
  21. package/dist/types/status.js.map +1 -0
  22. package/dist/types/tasks.d.ts +601 -0
  23. package/dist/types/tasks.d.ts.map +1 -0
  24. package/dist/types/tasks.js +118 -0
  25. package/dist/types/tasks.js.map +1 -0
  26. package/dist/types/threads.d.ts +542 -5
  27. package/dist/types/threads.d.ts.map +1 -1
  28. package/dist/types/threads.js +45 -2
  29. package/dist/types/threads.js.map +1 -1
  30. package/dist/v1/resources/activity_feed.d.ts +1 -1
  31. package/dist/v1/resources/activity_feed.js +2 -2
  32. package/dist/v1/resources/agents.d.ts +2 -2
  33. package/dist/v1/resources/agents.js +3 -3
  34. package/dist/v1/resources/custom_objects.d.ts +86 -20
  35. package/dist/v1/resources/custom_objects.d.ts.map +1 -1
  36. package/dist/v1/resources/custom_objects.js +41 -19
  37. package/dist/v1/resources/custom_objects.js.map +1 -1
  38. package/dist/v1/resources/files.d.ts +19 -0
  39. package/dist/v1/resources/files.d.ts.map +1 -1
  40. package/dist/v1/resources/files.js +3 -1
  41. package/dist/v1/resources/files.js.map +1 -1
  42. package/dist/v1/resources/index.d.ts +7 -0
  43. package/dist/v1/resources/index.d.ts.map +1 -1
  44. package/dist/v1/resources/index.js +8 -1
  45. package/dist/v1/resources/index.js.map +1 -1
  46. package/dist/v1/resources/private_service_definitions.d.ts +12 -0
  47. package/dist/v1/resources/private_service_definitions.d.ts.map +1 -0
  48. package/dist/v1/resources/private_service_definitions.js +18 -0
  49. package/dist/v1/resources/private_service_definitions.js.map +1 -0
  50. package/dist/v1/resources/private_service_enrollments.d.ts +42 -0
  51. package/dist/v1/resources/private_service_enrollments.d.ts.map +1 -0
  52. package/dist/v1/resources/private_service_enrollments.js +56 -0
  53. package/dist/v1/resources/private_service_enrollments.js.map +1 -0
  54. package/dist/v1/resources/private_services.d.ts +46 -0
  55. package/dist/v1/resources/private_services.d.ts.map +1 -0
  56. package/dist/v1/resources/private_services.js +55 -0
  57. package/dist/v1/resources/private_services.js.map +1 -0
  58. package/dist/v1/resources/sandboxes.d.ts +81 -0
  59. package/dist/v1/resources/sandboxes.d.ts.map +1 -0
  60. package/dist/v1/resources/sandboxes.js +84 -0
  61. package/dist/v1/resources/sandboxes.js.map +1 -0
  62. package/dist/v1/resources/slack_channel_bindings.d.ts +37 -0
  63. package/dist/v1/resources/slack_channel_bindings.d.ts.map +1 -1
  64. package/dist/v1/resources/slack_channel_bindings.js +31 -1
  65. package/dist/v1/resources/slack_channel_bindings.js.map +1 -1
  66. package/dist/v1/resources/solutions.d.ts +2 -0
  67. package/dist/v1/resources/solutions.d.ts.map +1 -1
  68. package/dist/v1/resources/solutions.js +2 -1
  69. package/dist/v1/resources/solutions.js.map +1 -1
  70. package/dist/v1/resources/status.d.ts +22 -0
  71. package/dist/v1/resources/status.d.ts.map +1 -0
  72. package/dist/v1/resources/status.js +27 -0
  73. package/dist/v1/resources/status.js.map +1 -0
  74. package/dist/v1/resources/tasks.d.ts +599 -0
  75. package/dist/v1/resources/tasks.d.ts.map +1 -0
  76. package/dist/v1/resources/tasks.js +436 -0
  77. package/dist/v1/resources/tasks.js.map +1 -0
  78. package/dist/v1/resources/teams.d.ts +463 -0
  79. package/dist/v1/resources/teams.d.ts.map +1 -1
  80. package/dist/v1/resources/teams.js +281 -1
  81. package/dist/v1/resources/teams.js.map +1 -1
  82. package/dist/v1/resources/thread_messages.d.ts +25 -3
  83. package/dist/v1/resources/thread_messages.d.ts.map +1 -1
  84. package/dist/v1/resources/thread_messages.js +25 -4
  85. package/dist/v1/resources/thread_messages.js.map +1 -1
  86. package/dist/v1/resources/threads.d.ts +40 -0
  87. package/dist/v1/resources/threads.d.ts.map +1 -1
  88. package/dist/v1/resources/threads.js +36 -1
  89. package/dist/v1/resources/threads.js.map +1 -1
  90. package/dist/v1/resources/trajectories.d.ts +34 -0
  91. package/dist/v1/resources/trajectories.d.ts.map +1 -0
  92. package/dist/v1/resources/trajectories.js +41 -0
  93. package/dist/v1/resources/trajectories.js.map +1 -0
  94. package/dist/v1/resources/users.d.ts +353 -0
  95. package/dist/v1/resources/users.d.ts.map +1 -1
  96. package/dist/v1/resources/users.js +208 -1
  97. package/dist/v1/resources/users.js.map +1 -1
  98. package/dist/v1.d.ts +14 -0
  99. package/dist/v1.d.ts.map +1 -1
  100. package/dist/v1.js +22 -1
  101. package/dist/v1.js.map +1 -1
  102. package/package.json +1 -1
@@ -5514,6 +5514,7 @@ export declare const chatRoomModelSchema: z.ZodObject<{
5514
5514
  replies_before_cursor: z.ZodOptional<z.ZodString>;
5515
5515
  reply_count: z.ZodOptional<z.ZodNumber>;
5516
5516
  reply_to: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5517
+ root_message_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5517
5518
  sandbox: z.ZodOptional<z.ZodString>;
5518
5519
  team: z.ZodOptional<z.ZodString>;
5519
5520
  thread: z.ZodOptional<z.ZodString>;
@@ -5628,6 +5629,7 @@ export declare const chatRoomModelSchema: z.ZodObject<{
5628
5629
  replies_before_cursor?: string | undefined;
5629
5630
  reply_count?: number | undefined;
5630
5631
  reply_to?: Record<string, unknown> | undefined;
5632
+ root_message_id?: string | null | undefined;
5631
5633
  }, {
5632
5634
  id: string;
5633
5635
  content?: string | undefined;
@@ -5736,6 +5738,7 @@ export declare const chatRoomModelSchema: z.ZodObject<{
5736
5738
  replies_before_cursor?: string | undefined;
5737
5739
  reply_count?: number | undefined;
5738
5740
  reply_to?: Record<string, unknown> | undefined;
5741
+ root_message_id?: string | null | undefined;
5739
5742
  }>, "many">;
5740
5743
  /** Number of messages that were added to the snapshot in the most recent incremental update. `null` on the initial load. */
5741
5744
  messages_loaded_on_last_update: z.ZodOptional<z.ZodNumber>;
@@ -6311,6 +6314,7 @@ export declare const chatRoomModelSchema: z.ZodObject<{
6311
6314
  replies_before_cursor: z.ZodOptional<z.ZodString>;
6312
6315
  reply_count: z.ZodOptional<z.ZodNumber>;
6313
6316
  reply_to: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6317
+ root_message_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6314
6318
  sandbox: z.ZodOptional<z.ZodString>;
6315
6319
  team: z.ZodOptional<z.ZodString>;
6316
6320
  thread: z.ZodOptional<z.ZodString>;
@@ -6425,6 +6429,7 @@ export declare const chatRoomModelSchema: z.ZodObject<{
6425
6429
  replies_before_cursor?: string | undefined;
6426
6430
  reply_count?: number | undefined;
6427
6431
  reply_to?: Record<string, unknown> | undefined;
6432
+ root_message_id?: string | null | undefined;
6428
6433
  }, {
6429
6434
  id: string;
6430
6435
  content?: string | undefined;
@@ -6533,6 +6538,7 @@ export declare const chatRoomModelSchema: z.ZodObject<{
6533
6538
  replies_before_cursor?: string | undefined;
6534
6539
  reply_count?: number | undefined;
6535
6540
  reply_to?: Record<string, unknown> | undefined;
6541
+ root_message_id?: string | null | undefined;
6536
6542
  }>>;
6537
6543
  participant: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6538
6544
  participants: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -8032,8 +8038,8 @@ export declare const chatRoomModelSchema: z.ZodObject<{
8032
8038
  sandbox?: string | undefined;
8033
8039
  metadata?: Record<string, unknown> | undefined;
8034
8040
  title?: string | undefined;
8041
+ slug?: string | undefined;
8035
8042
  muted?: boolean | undefined;
8036
- tags?: string[] | undefined;
8037
8043
  role?: string | undefined;
8038
8044
  agent_user?: string | undefined;
8039
8045
  creator?: string | {
@@ -8166,6 +8172,7 @@ export declare const chatRoomModelSchema: z.ZodObject<{
8166
8172
  replies_before_cursor?: string | undefined;
8167
8173
  reply_count?: number | undefined;
8168
8174
  reply_to?: Record<string, unknown> | undefined;
8175
+ root_message_id?: string | null | undefined;
8169
8176
  } | undefined;
8170
8177
  participant?: string[] | undefined;
8171
8178
  participating_actor?: string[] | undefined;
@@ -8349,8 +8356,8 @@ export declare const chatRoomModelSchema: z.ZodObject<{
8349
8356
  settings?: {
8350
8357
  agent_enabled?: boolean | undefined;
8351
8358
  } | undefined;
8352
- slug?: string | undefined;
8353
8359
  sub_threads?: Record<string, unknown>[] | undefined;
8360
+ tags?: string[] | undefined;
8354
8361
  ttl?: number | undefined;
8355
8362
  unread_count?: number | undefined;
8356
8363
  }, {
@@ -8382,8 +8389,8 @@ export declare const chatRoomModelSchema: z.ZodObject<{
8382
8389
  sandbox?: string | undefined;
8383
8390
  metadata?: Record<string, unknown> | undefined;
8384
8391
  title?: string | undefined;
8392
+ slug?: string | undefined;
8385
8393
  muted?: boolean | undefined;
8386
- tags?: string[] | undefined;
8387
8394
  role?: string | undefined;
8388
8395
  agent_user?: string | undefined;
8389
8396
  creator?: string | {
@@ -8516,6 +8523,7 @@ export declare const chatRoomModelSchema: z.ZodObject<{
8516
8523
  replies_before_cursor?: string | undefined;
8517
8524
  reply_count?: number | undefined;
8518
8525
  reply_to?: Record<string, unknown> | undefined;
8526
+ root_message_id?: string | null | undefined;
8519
8527
  } | undefined;
8520
8528
  participant?: string[] | undefined;
8521
8529
  participating_actor?: string[] | undefined;
@@ -8699,8 +8707,8 @@ export declare const chatRoomModelSchema: z.ZodObject<{
8699
8707
  settings?: {
8700
8708
  agent_enabled?: boolean | undefined;
8701
8709
  } | undefined;
8702
- slug?: string | undefined;
8703
8710
  sub_threads?: Record<string, unknown>[] | undefined;
8711
+ tags?: string[] | undefined;
8704
8712
  ttl?: number | undefined;
8705
8713
  unread_count?: number | undefined;
8706
8714
  }>;
@@ -8734,8 +8742,8 @@ export declare const chatRoomModelSchema: z.ZodObject<{
8734
8742
  sandbox?: string | undefined;
8735
8743
  metadata?: Record<string, unknown> | undefined;
8736
8744
  title?: string | undefined;
8745
+ slug?: string | undefined;
8737
8746
  muted?: boolean | undefined;
8738
- tags?: string[] | undefined;
8739
8747
  role?: string | undefined;
8740
8748
  agent_user?: string | undefined;
8741
8749
  creator?: string | {
@@ -8868,6 +8876,7 @@ export declare const chatRoomModelSchema: z.ZodObject<{
8868
8876
  replies_before_cursor?: string | undefined;
8869
8877
  reply_count?: number | undefined;
8870
8878
  reply_to?: Record<string, unknown> | undefined;
8879
+ root_message_id?: string | null | undefined;
8871
8880
  } | undefined;
8872
8881
  participant?: string[] | undefined;
8873
8882
  participating_actor?: string[] | undefined;
@@ -9051,12 +9060,11 @@ export declare const chatRoomModelSchema: z.ZodObject<{
9051
9060
  settings?: {
9052
9061
  agent_enabled?: boolean | undefined;
9053
9062
  } | undefined;
9054
- slug?: string | undefined;
9055
9063
  sub_threads?: Record<string, unknown>[] | undefined;
9064
+ tags?: string[] | undefined;
9056
9065
  ttl?: number | undefined;
9057
9066
  unread_count?: number | undefined;
9058
9067
  };
9059
- is_transient: boolean;
9060
9068
  messages: {
9061
9069
  id: string;
9062
9070
  content?: string | undefined;
@@ -9165,7 +9173,9 @@ export declare const chatRoomModelSchema: z.ZodObject<{
9165
9173
  replies_before_cursor?: string | undefined;
9166
9174
  reply_count?: number | undefined;
9167
9175
  reply_to?: Record<string, unknown> | undefined;
9176
+ root_message_id?: string | null | undefined;
9168
9177
  }[];
9178
+ is_transient: boolean;
9169
9179
  members: {
9170
9180
  type: string;
9171
9181
  agent?: {
@@ -9602,8 +9612,8 @@ export declare const chatRoomModelSchema: z.ZodObject<{
9602
9612
  sandbox?: string | undefined;
9603
9613
  metadata?: Record<string, unknown> | undefined;
9604
9614
  title?: string | undefined;
9615
+ slug?: string | undefined;
9605
9616
  muted?: boolean | undefined;
9606
- tags?: string[] | undefined;
9607
9617
  role?: string | undefined;
9608
9618
  agent_user?: string | undefined;
9609
9619
  creator?: string | {
@@ -9736,6 +9746,7 @@ export declare const chatRoomModelSchema: z.ZodObject<{
9736
9746
  replies_before_cursor?: string | undefined;
9737
9747
  reply_count?: number | undefined;
9738
9748
  reply_to?: Record<string, unknown> | undefined;
9749
+ root_message_id?: string | null | undefined;
9739
9750
  } | undefined;
9740
9751
  participant?: string[] | undefined;
9741
9752
  participating_actor?: string[] | undefined;
@@ -9919,12 +9930,11 @@ export declare const chatRoomModelSchema: z.ZodObject<{
9919
9930
  settings?: {
9920
9931
  agent_enabled?: boolean | undefined;
9921
9932
  } | undefined;
9922
- slug?: string | undefined;
9923
9933
  sub_threads?: Record<string, unknown>[] | undefined;
9934
+ tags?: string[] | undefined;
9924
9935
  ttl?: number | undefined;
9925
9936
  unread_count?: number | undefined;
9926
9937
  };
9927
- is_transient: boolean;
9928
9938
  messages: {
9929
9939
  id: string;
9930
9940
  content?: string | undefined;
@@ -10033,7 +10043,9 @@ export declare const chatRoomModelSchema: z.ZodObject<{
10033
10043
  replies_before_cursor?: string | undefined;
10034
10044
  reply_count?: number | undefined;
10035
10045
  reply_to?: Record<string, unknown> | undefined;
10046
+ root_message_id?: string | null | undefined;
10036
10047
  }[];
10048
+ is_transient: boolean;
10037
10049
  members: {
10038
10050
  type: string;
10039
10051
  agent?: {
@@ -14084,6 +14096,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
14084
14096
  replies_before_cursor: z.ZodOptional<z.ZodString>;
14085
14097
  reply_count: z.ZodOptional<z.ZodNumber>;
14086
14098
  reply_to: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
14099
+ root_message_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14087
14100
  sandbox: z.ZodOptional<z.ZodString>;
14088
14101
  team: z.ZodOptional<z.ZodString>;
14089
14102
  thread: z.ZodOptional<z.ZodString>;
@@ -14198,6 +14211,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
14198
14211
  replies_before_cursor?: string | undefined;
14199
14212
  reply_count?: number | undefined;
14200
14213
  reply_to?: Record<string, unknown> | undefined;
14214
+ root_message_id?: string | null | undefined;
14201
14215
  }, {
14202
14216
  id: string;
14203
14217
  content?: string | undefined;
@@ -14306,6 +14320,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
14306
14320
  replies_before_cursor?: string | undefined;
14307
14321
  reply_count?: number | undefined;
14308
14322
  reply_to?: Record<string, unknown> | undefined;
14323
+ root_message_id?: string | null | undefined;
14309
14324
  }>, "many">;
14310
14325
  /** Number of messages that were added to the snapshot in the most recent incremental update. `null` on the initial load. */
14311
14326
  messages_loaded_on_last_update: z.ZodOptional<z.ZodNumber>;
@@ -14881,6 +14896,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
14881
14896
  replies_before_cursor: z.ZodOptional<z.ZodString>;
14882
14897
  reply_count: z.ZodOptional<z.ZodNumber>;
14883
14898
  reply_to: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
14899
+ root_message_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14884
14900
  sandbox: z.ZodOptional<z.ZodString>;
14885
14901
  team: z.ZodOptional<z.ZodString>;
14886
14902
  thread: z.ZodOptional<z.ZodString>;
@@ -14995,6 +15011,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
14995
15011
  replies_before_cursor?: string | undefined;
14996
15012
  reply_count?: number | undefined;
14997
15013
  reply_to?: Record<string, unknown> | undefined;
15014
+ root_message_id?: string | null | undefined;
14998
15015
  }, {
14999
15016
  id: string;
15000
15017
  content?: string | undefined;
@@ -15103,6 +15120,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
15103
15120
  replies_before_cursor?: string | undefined;
15104
15121
  reply_count?: number | undefined;
15105
15122
  reply_to?: Record<string, unknown> | undefined;
15123
+ root_message_id?: string | null | undefined;
15106
15124
  }>>;
15107
15125
  participant: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15108
15126
  participants: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -16602,8 +16620,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
16602
16620
  sandbox?: string | undefined;
16603
16621
  metadata?: Record<string, unknown> | undefined;
16604
16622
  title?: string | undefined;
16623
+ slug?: string | undefined;
16605
16624
  muted?: boolean | undefined;
16606
- tags?: string[] | undefined;
16607
16625
  role?: string | undefined;
16608
16626
  agent_user?: string | undefined;
16609
16627
  creator?: string | {
@@ -16736,6 +16754,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
16736
16754
  replies_before_cursor?: string | undefined;
16737
16755
  reply_count?: number | undefined;
16738
16756
  reply_to?: Record<string, unknown> | undefined;
16757
+ root_message_id?: string | null | undefined;
16739
16758
  } | undefined;
16740
16759
  participant?: string[] | undefined;
16741
16760
  participating_actor?: string[] | undefined;
@@ -16919,8 +16938,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
16919
16938
  settings?: {
16920
16939
  agent_enabled?: boolean | undefined;
16921
16940
  } | undefined;
16922
- slug?: string | undefined;
16923
16941
  sub_threads?: Record<string, unknown>[] | undefined;
16942
+ tags?: string[] | undefined;
16924
16943
  ttl?: number | undefined;
16925
16944
  unread_count?: number | undefined;
16926
16945
  }, {
@@ -16952,8 +16971,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
16952
16971
  sandbox?: string | undefined;
16953
16972
  metadata?: Record<string, unknown> | undefined;
16954
16973
  title?: string | undefined;
16974
+ slug?: string | undefined;
16955
16975
  muted?: boolean | undefined;
16956
- tags?: string[] | undefined;
16957
16976
  role?: string | undefined;
16958
16977
  agent_user?: string | undefined;
16959
16978
  creator?: string | {
@@ -17086,6 +17105,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
17086
17105
  replies_before_cursor?: string | undefined;
17087
17106
  reply_count?: number | undefined;
17088
17107
  reply_to?: Record<string, unknown> | undefined;
17108
+ root_message_id?: string | null | undefined;
17089
17109
  } | undefined;
17090
17110
  participant?: string[] | undefined;
17091
17111
  participating_actor?: string[] | undefined;
@@ -17269,8 +17289,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
17269
17289
  settings?: {
17270
17290
  agent_enabled?: boolean | undefined;
17271
17291
  } | undefined;
17272
- slug?: string | undefined;
17273
17292
  sub_threads?: Record<string, unknown>[] | undefined;
17293
+ tags?: string[] | undefined;
17274
17294
  ttl?: number | undefined;
17275
17295
  unread_count?: number | undefined;
17276
17296
  }>;
@@ -17304,8 +17324,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
17304
17324
  sandbox?: string | undefined;
17305
17325
  metadata?: Record<string, unknown> | undefined;
17306
17326
  title?: string | undefined;
17327
+ slug?: string | undefined;
17307
17328
  muted?: boolean | undefined;
17308
- tags?: string[] | undefined;
17309
17329
  role?: string | undefined;
17310
17330
  agent_user?: string | undefined;
17311
17331
  creator?: string | {
@@ -17438,6 +17458,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
17438
17458
  replies_before_cursor?: string | undefined;
17439
17459
  reply_count?: number | undefined;
17440
17460
  reply_to?: Record<string, unknown> | undefined;
17461
+ root_message_id?: string | null | undefined;
17441
17462
  } | undefined;
17442
17463
  participant?: string[] | undefined;
17443
17464
  participating_actor?: string[] | undefined;
@@ -17621,12 +17642,11 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
17621
17642
  settings?: {
17622
17643
  agent_enabled?: boolean | undefined;
17623
17644
  } | undefined;
17624
- slug?: string | undefined;
17625
17645
  sub_threads?: Record<string, unknown>[] | undefined;
17646
+ tags?: string[] | undefined;
17626
17647
  ttl?: number | undefined;
17627
17648
  unread_count?: number | undefined;
17628
17649
  };
17629
- is_transient: boolean;
17630
17650
  messages: {
17631
17651
  id: string;
17632
17652
  content?: string | undefined;
@@ -17735,7 +17755,9 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
17735
17755
  replies_before_cursor?: string | undefined;
17736
17756
  reply_count?: number | undefined;
17737
17757
  reply_to?: Record<string, unknown> | undefined;
17758
+ root_message_id?: string | null | undefined;
17738
17759
  }[];
17760
+ is_transient: boolean;
17739
17761
  members: {
17740
17762
  type: string;
17741
17763
  agent?: {
@@ -18172,8 +18194,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
18172
18194
  sandbox?: string | undefined;
18173
18195
  metadata?: Record<string, unknown> | undefined;
18174
18196
  title?: string | undefined;
18197
+ slug?: string | undefined;
18175
18198
  muted?: boolean | undefined;
18176
- tags?: string[] | undefined;
18177
18199
  role?: string | undefined;
18178
18200
  agent_user?: string | undefined;
18179
18201
  creator?: string | {
@@ -18306,6 +18328,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
18306
18328
  replies_before_cursor?: string | undefined;
18307
18329
  reply_count?: number | undefined;
18308
18330
  reply_to?: Record<string, unknown> | undefined;
18331
+ root_message_id?: string | null | undefined;
18309
18332
  } | undefined;
18310
18333
  participant?: string[] | undefined;
18311
18334
  participating_actor?: string[] | undefined;
@@ -18489,12 +18512,11 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
18489
18512
  settings?: {
18490
18513
  agent_enabled?: boolean | undefined;
18491
18514
  } | undefined;
18492
- slug?: string | undefined;
18493
18515
  sub_threads?: Record<string, unknown>[] | undefined;
18516
+ tags?: string[] | undefined;
18494
18517
  ttl?: number | undefined;
18495
18518
  unread_count?: number | undefined;
18496
18519
  };
18497
- is_transient: boolean;
18498
18520
  messages: {
18499
18521
  id: string;
18500
18522
  content?: string | undefined;
@@ -18603,7 +18625,9 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
18603
18625
  replies_before_cursor?: string | undefined;
18604
18626
  reply_count?: number | undefined;
18605
18627
  reply_to?: Record<string, unknown> | undefined;
18628
+ root_message_id?: string | null | undefined;
18606
18629
  }[];
18630
+ is_transient: boolean;
18607
18631
  members: {
18608
18632
  type: string;
18609
18633
  agent?: {
@@ -19583,6 +19607,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
19583
19607
  replies_before_cursor: z.ZodOptional<z.ZodString>;
19584
19608
  reply_count: z.ZodOptional<z.ZodNumber>;
19585
19609
  reply_to: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
19610
+ root_message_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19586
19611
  sandbox: z.ZodOptional<z.ZodString>;
19587
19612
  team: z.ZodOptional<z.ZodString>;
19588
19613
  thread: z.ZodOptional<z.ZodString>;
@@ -19697,6 +19722,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
19697
19722
  replies_before_cursor?: string | undefined;
19698
19723
  reply_count?: number | undefined;
19699
19724
  reply_to?: Record<string, unknown> | undefined;
19725
+ root_message_id?: string | null | undefined;
19700
19726
  }, {
19701
19727
  id: string;
19702
19728
  content?: string | undefined;
@@ -19805,6 +19831,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
19805
19831
  replies_before_cursor?: string | undefined;
19806
19832
  reply_count?: number | undefined;
19807
19833
  reply_to?: Record<string, unknown> | undefined;
19834
+ root_message_id?: string | null | undefined;
19808
19835
  }>>;
19809
19836
  participant: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19810
19837
  participants: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -21304,8 +21331,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
21304
21331
  sandbox?: string | undefined;
21305
21332
  metadata?: Record<string, unknown> | undefined;
21306
21333
  title?: string | undefined;
21334
+ slug?: string | undefined;
21307
21335
  muted?: boolean | undefined;
21308
- tags?: string[] | undefined;
21309
21336
  role?: string | undefined;
21310
21337
  agent_user?: string | undefined;
21311
21338
  creator?: string | {
@@ -21438,6 +21465,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
21438
21465
  replies_before_cursor?: string | undefined;
21439
21466
  reply_count?: number | undefined;
21440
21467
  reply_to?: Record<string, unknown> | undefined;
21468
+ root_message_id?: string | null | undefined;
21441
21469
  } | undefined;
21442
21470
  participant?: string[] | undefined;
21443
21471
  participating_actor?: string[] | undefined;
@@ -21621,8 +21649,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
21621
21649
  settings?: {
21622
21650
  agent_enabled?: boolean | undefined;
21623
21651
  } | undefined;
21624
- slug?: string | undefined;
21625
21652
  sub_threads?: Record<string, unknown>[] | undefined;
21653
+ tags?: string[] | undefined;
21626
21654
  ttl?: number | undefined;
21627
21655
  unread_count?: number | undefined;
21628
21656
  }, {
@@ -21654,8 +21682,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
21654
21682
  sandbox?: string | undefined;
21655
21683
  metadata?: Record<string, unknown> | undefined;
21656
21684
  title?: string | undefined;
21685
+ slug?: string | undefined;
21657
21686
  muted?: boolean | undefined;
21658
- tags?: string[] | undefined;
21659
21687
  role?: string | undefined;
21660
21688
  agent_user?: string | undefined;
21661
21689
  creator?: string | {
@@ -21788,6 +21816,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
21788
21816
  replies_before_cursor?: string | undefined;
21789
21817
  reply_count?: number | undefined;
21790
21818
  reply_to?: Record<string, unknown> | undefined;
21819
+ root_message_id?: string | null | undefined;
21791
21820
  } | undefined;
21792
21821
  participant?: string[] | undefined;
21793
21822
  participating_actor?: string[] | undefined;
@@ -21971,8 +22000,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
21971
22000
  settings?: {
21972
22001
  agent_enabled?: boolean | undefined;
21973
22002
  } | undefined;
21974
- slug?: string | undefined;
21975
22003
  sub_threads?: Record<string, unknown>[] | undefined;
22004
+ tags?: string[] | undefined;
21976
22005
  ttl?: number | undefined;
21977
22006
  unread_count?: number | undefined;
21978
22007
  }>;
@@ -22006,8 +22035,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
22006
22035
  sandbox?: string | undefined;
22007
22036
  metadata?: Record<string, unknown> | undefined;
22008
22037
  title?: string | undefined;
22038
+ slug?: string | undefined;
22009
22039
  muted?: boolean | undefined;
22010
- tags?: string[] | undefined;
22011
22040
  role?: string | undefined;
22012
22041
  agent_user?: string | undefined;
22013
22042
  creator?: string | {
@@ -22140,6 +22169,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
22140
22169
  replies_before_cursor?: string | undefined;
22141
22170
  reply_count?: number | undefined;
22142
22171
  reply_to?: Record<string, unknown> | undefined;
22172
+ root_message_id?: string | null | undefined;
22143
22173
  } | undefined;
22144
22174
  participant?: string[] | undefined;
22145
22175
  participating_actor?: string[] | undefined;
@@ -22323,8 +22353,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
22323
22353
  settings?: {
22324
22354
  agent_enabled?: boolean | undefined;
22325
22355
  } | undefined;
22326
- slug?: string | undefined;
22327
22356
  sub_threads?: Record<string, unknown>[] | undefined;
22357
+ tags?: string[] | undefined;
22328
22358
  ttl?: number | undefined;
22329
22359
  unread_count?: number | undefined;
22330
22360
  };
@@ -22388,8 +22418,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
22388
22418
  sandbox?: string | undefined;
22389
22419
  metadata?: Record<string, unknown> | undefined;
22390
22420
  title?: string | undefined;
22421
+ slug?: string | undefined;
22391
22422
  muted?: boolean | undefined;
22392
- tags?: string[] | undefined;
22393
22423
  role?: string | undefined;
22394
22424
  agent_user?: string | undefined;
22395
22425
  creator?: string | {
@@ -22522,6 +22552,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
22522
22552
  replies_before_cursor?: string | undefined;
22523
22553
  reply_count?: number | undefined;
22524
22554
  reply_to?: Record<string, unknown> | undefined;
22555
+ root_message_id?: string | null | undefined;
22525
22556
  } | undefined;
22526
22557
  participant?: string[] | undefined;
22527
22558
  participating_actor?: string[] | undefined;
@@ -22705,12 +22736,11 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
22705
22736
  settings?: {
22706
22737
  agent_enabled?: boolean | undefined;
22707
22738
  } | undefined;
22708
- slug?: string | undefined;
22709
22739
  sub_threads?: Record<string, unknown>[] | undefined;
22740
+ tags?: string[] | undefined;
22710
22741
  ttl?: number | undefined;
22711
22742
  unread_count?: number | undefined;
22712
22743
  };
22713
- is_transient: boolean;
22714
22744
  messages: {
22715
22745
  id: string;
22716
22746
  content?: string | undefined;
@@ -22819,7 +22849,9 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
22819
22849
  replies_before_cursor?: string | undefined;
22820
22850
  reply_count?: number | undefined;
22821
22851
  reply_to?: Record<string, unknown> | undefined;
22852
+ root_message_id?: string | null | undefined;
22822
22853
  }[];
22854
+ is_transient: boolean;
22823
22855
  members: {
22824
22856
  type: string;
22825
22857
  agent?: {
@@ -23257,8 +23289,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
23257
23289
  sandbox?: string | undefined;
23258
23290
  metadata?: Record<string, unknown> | undefined;
23259
23291
  title?: string | undefined;
23292
+ slug?: string | undefined;
23260
23293
  muted?: boolean | undefined;
23261
- tags?: string[] | undefined;
23262
23294
  role?: string | undefined;
23263
23295
  agent_user?: string | undefined;
23264
23296
  creator?: string | {
@@ -23391,6 +23423,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
23391
23423
  replies_before_cursor?: string | undefined;
23392
23424
  reply_count?: number | undefined;
23393
23425
  reply_to?: Record<string, unknown> | undefined;
23426
+ root_message_id?: string | null | undefined;
23394
23427
  } | undefined;
23395
23428
  participant?: string[] | undefined;
23396
23429
  participating_actor?: string[] | undefined;
@@ -23574,8 +23607,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
23574
23607
  settings?: {
23575
23608
  agent_enabled?: boolean | undefined;
23576
23609
  } | undefined;
23577
- slug?: string | undefined;
23578
23610
  sub_threads?: Record<string, unknown>[] | undefined;
23611
+ tags?: string[] | undefined;
23579
23612
  ttl?: number | undefined;
23580
23613
  unread_count?: number | undefined;
23581
23614
  };
@@ -23639,8 +23672,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
23639
23672
  sandbox?: string | undefined;
23640
23673
  metadata?: Record<string, unknown> | undefined;
23641
23674
  title?: string | undefined;
23675
+ slug?: string | undefined;
23642
23676
  muted?: boolean | undefined;
23643
- tags?: string[] | undefined;
23644
23677
  role?: string | undefined;
23645
23678
  agent_user?: string | undefined;
23646
23679
  creator?: string | {
@@ -23773,6 +23806,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
23773
23806
  replies_before_cursor?: string | undefined;
23774
23807
  reply_count?: number | undefined;
23775
23808
  reply_to?: Record<string, unknown> | undefined;
23809
+ root_message_id?: string | null | undefined;
23776
23810
  } | undefined;
23777
23811
  participant?: string[] | undefined;
23778
23812
  participating_actor?: string[] | undefined;
@@ -23956,12 +23990,11 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
23956
23990
  settings?: {
23957
23991
  agent_enabled?: boolean | undefined;
23958
23992
  } | undefined;
23959
- slug?: string | undefined;
23960
23993
  sub_threads?: Record<string, unknown>[] | undefined;
23994
+ tags?: string[] | undefined;
23961
23995
  ttl?: number | undefined;
23962
23996
  unread_count?: number | undefined;
23963
23997
  };
23964
- is_transient: boolean;
23965
23998
  messages: {
23966
23999
  id: string;
23967
24000
  content?: string | undefined;
@@ -24070,7 +24103,9 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
24070
24103
  replies_before_cursor?: string | undefined;
24071
24104
  reply_count?: number | undefined;
24072
24105
  reply_to?: Record<string, unknown> | undefined;
24106
+ root_message_id?: string | null | undefined;
24073
24107
  }[];
24108
+ is_transient: boolean;
24074
24109
  members: {
24075
24110
  type: string;
24076
24111
  agent?: {
@@ -28118,6 +28153,7 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
28118
28153
  replies_before_cursor: z.ZodOptional<z.ZodString>;
28119
28154
  reply_count: z.ZodOptional<z.ZodNumber>;
28120
28155
  reply_to: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
28156
+ root_message_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28121
28157
  sandbox: z.ZodOptional<z.ZodString>;
28122
28158
  team: z.ZodOptional<z.ZodString>;
28123
28159
  thread: z.ZodOptional<z.ZodString>;
@@ -28232,6 +28268,7 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
28232
28268
  replies_before_cursor?: string | undefined;
28233
28269
  reply_count?: number | undefined;
28234
28270
  reply_to?: Record<string, unknown> | undefined;
28271
+ root_message_id?: string | null | undefined;
28235
28272
  }, {
28236
28273
  id: string;
28237
28274
  content?: string | undefined;
@@ -28340,6 +28377,7 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
28340
28377
  replies_before_cursor?: string | undefined;
28341
28378
  reply_count?: number | undefined;
28342
28379
  reply_to?: Record<string, unknown> | undefined;
28380
+ root_message_id?: string | null | undefined;
28343
28381
  }>, "many">;
28344
28382
  /** Number of messages that were added to the snapshot in the most recent incremental update. `null` on the initial load. */
28345
28383
  messages_loaded_on_last_update: z.ZodOptional<z.ZodNumber>;
@@ -28915,6 +28953,7 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
28915
28953
  replies_before_cursor: z.ZodOptional<z.ZodString>;
28916
28954
  reply_count: z.ZodOptional<z.ZodNumber>;
28917
28955
  reply_to: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
28956
+ root_message_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28918
28957
  sandbox: z.ZodOptional<z.ZodString>;
28919
28958
  team: z.ZodOptional<z.ZodString>;
28920
28959
  thread: z.ZodOptional<z.ZodString>;
@@ -29029,6 +29068,7 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
29029
29068
  replies_before_cursor?: string | undefined;
29030
29069
  reply_count?: number | undefined;
29031
29070
  reply_to?: Record<string, unknown> | undefined;
29071
+ root_message_id?: string | null | undefined;
29032
29072
  }, {
29033
29073
  id: string;
29034
29074
  content?: string | undefined;
@@ -29137,6 +29177,7 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
29137
29177
  replies_before_cursor?: string | undefined;
29138
29178
  reply_count?: number | undefined;
29139
29179
  reply_to?: Record<string, unknown> | undefined;
29180
+ root_message_id?: string | null | undefined;
29140
29181
  }>>;
29141
29182
  participant: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
29142
29183
  participants: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -30636,8 +30677,8 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
30636
30677
  sandbox?: string | undefined;
30637
30678
  metadata?: Record<string, unknown> | undefined;
30638
30679
  title?: string | undefined;
30680
+ slug?: string | undefined;
30639
30681
  muted?: boolean | undefined;
30640
- tags?: string[] | undefined;
30641
30682
  role?: string | undefined;
30642
30683
  agent_user?: string | undefined;
30643
30684
  creator?: string | {
@@ -30770,6 +30811,7 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
30770
30811
  replies_before_cursor?: string | undefined;
30771
30812
  reply_count?: number | undefined;
30772
30813
  reply_to?: Record<string, unknown> | undefined;
30814
+ root_message_id?: string | null | undefined;
30773
30815
  } | undefined;
30774
30816
  participant?: string[] | undefined;
30775
30817
  participating_actor?: string[] | undefined;
@@ -30953,8 +30995,8 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
30953
30995
  settings?: {
30954
30996
  agent_enabled?: boolean | undefined;
30955
30997
  } | undefined;
30956
- slug?: string | undefined;
30957
30998
  sub_threads?: Record<string, unknown>[] | undefined;
30999
+ tags?: string[] | undefined;
30958
31000
  ttl?: number | undefined;
30959
31001
  unread_count?: number | undefined;
30960
31002
  }, {
@@ -30986,8 +31028,8 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
30986
31028
  sandbox?: string | undefined;
30987
31029
  metadata?: Record<string, unknown> | undefined;
30988
31030
  title?: string | undefined;
31031
+ slug?: string | undefined;
30989
31032
  muted?: boolean | undefined;
30990
- tags?: string[] | undefined;
30991
31033
  role?: string | undefined;
30992
31034
  agent_user?: string | undefined;
30993
31035
  creator?: string | {
@@ -31120,6 +31162,7 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
31120
31162
  replies_before_cursor?: string | undefined;
31121
31163
  reply_count?: number | undefined;
31122
31164
  reply_to?: Record<string, unknown> | undefined;
31165
+ root_message_id?: string | null | undefined;
31123
31166
  } | undefined;
31124
31167
  participant?: string[] | undefined;
31125
31168
  participating_actor?: string[] | undefined;
@@ -31303,8 +31346,8 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
31303
31346
  settings?: {
31304
31347
  agent_enabled?: boolean | undefined;
31305
31348
  } | undefined;
31306
- slug?: string | undefined;
31307
31349
  sub_threads?: Record<string, unknown>[] | undefined;
31350
+ tags?: string[] | undefined;
31308
31351
  ttl?: number | undefined;
31309
31352
  unread_count?: number | undefined;
31310
31353
  }>;
@@ -31338,8 +31381,8 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
31338
31381
  sandbox?: string | undefined;
31339
31382
  metadata?: Record<string, unknown> | undefined;
31340
31383
  title?: string | undefined;
31384
+ slug?: string | undefined;
31341
31385
  muted?: boolean | undefined;
31342
- tags?: string[] | undefined;
31343
31386
  role?: string | undefined;
31344
31387
  agent_user?: string | undefined;
31345
31388
  creator?: string | {
@@ -31472,6 +31515,7 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
31472
31515
  replies_before_cursor?: string | undefined;
31473
31516
  reply_count?: number | undefined;
31474
31517
  reply_to?: Record<string, unknown> | undefined;
31518
+ root_message_id?: string | null | undefined;
31475
31519
  } | undefined;
31476
31520
  participant?: string[] | undefined;
31477
31521
  participating_actor?: string[] | undefined;
@@ -31655,12 +31699,11 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
31655
31699
  settings?: {
31656
31700
  agent_enabled?: boolean | undefined;
31657
31701
  } | undefined;
31658
- slug?: string | undefined;
31659
31702
  sub_threads?: Record<string, unknown>[] | undefined;
31703
+ tags?: string[] | undefined;
31660
31704
  ttl?: number | undefined;
31661
31705
  unread_count?: number | undefined;
31662
31706
  };
31663
- is_transient: boolean;
31664
31707
  messages: {
31665
31708
  id: string;
31666
31709
  content?: string | undefined;
@@ -31769,7 +31812,9 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
31769
31812
  replies_before_cursor?: string | undefined;
31770
31813
  reply_count?: number | undefined;
31771
31814
  reply_to?: Record<string, unknown> | undefined;
31815
+ root_message_id?: string | null | undefined;
31772
31816
  }[];
31817
+ is_transient: boolean;
31773
31818
  members: {
31774
31819
  type: string;
31775
31820
  agent?: {
@@ -32206,8 +32251,8 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
32206
32251
  sandbox?: string | undefined;
32207
32252
  metadata?: Record<string, unknown> | undefined;
32208
32253
  title?: string | undefined;
32254
+ slug?: string | undefined;
32209
32255
  muted?: boolean | undefined;
32210
- tags?: string[] | undefined;
32211
32256
  role?: string | undefined;
32212
32257
  agent_user?: string | undefined;
32213
32258
  creator?: string | {
@@ -32340,6 +32385,7 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
32340
32385
  replies_before_cursor?: string | undefined;
32341
32386
  reply_count?: number | undefined;
32342
32387
  reply_to?: Record<string, unknown> | undefined;
32388
+ root_message_id?: string | null | undefined;
32343
32389
  } | undefined;
32344
32390
  participant?: string[] | undefined;
32345
32391
  participating_actor?: string[] | undefined;
@@ -32523,12 +32569,11 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
32523
32569
  settings?: {
32524
32570
  agent_enabled?: boolean | undefined;
32525
32571
  } | undefined;
32526
- slug?: string | undefined;
32527
32572
  sub_threads?: Record<string, unknown>[] | undefined;
32573
+ tags?: string[] | undefined;
32528
32574
  ttl?: number | undefined;
32529
32575
  unread_count?: number | undefined;
32530
32576
  };
32531
- is_transient: boolean;
32532
32577
  messages: {
32533
32578
  id: string;
32534
32579
  content?: string | undefined;
@@ -32637,7 +32682,9 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
32637
32682
  replies_before_cursor?: string | undefined;
32638
32683
  reply_count?: number | undefined;
32639
32684
  reply_to?: Record<string, unknown> | undefined;
32685
+ root_message_id?: string | null | undefined;
32640
32686
  }[];
32687
+ is_transient: boolean;
32641
32688
  members: {
32642
32689
  type: string;
32643
32690
  agent?: {
@@ -33076,8 +33123,8 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
33076
33123
  sandbox?: string | undefined;
33077
33124
  metadata?: Record<string, unknown> | undefined;
33078
33125
  title?: string | undefined;
33126
+ slug?: string | undefined;
33079
33127
  muted?: boolean | undefined;
33080
- tags?: string[] | undefined;
33081
33128
  role?: string | undefined;
33082
33129
  agent_user?: string | undefined;
33083
33130
  creator?: string | {
@@ -33210,6 +33257,7 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
33210
33257
  replies_before_cursor?: string | undefined;
33211
33258
  reply_count?: number | undefined;
33212
33259
  reply_to?: Record<string, unknown> | undefined;
33260
+ root_message_id?: string | null | undefined;
33213
33261
  } | undefined;
33214
33262
  participant?: string[] | undefined;
33215
33263
  participating_actor?: string[] | undefined;
@@ -33393,12 +33441,11 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
33393
33441
  settings?: {
33394
33442
  agent_enabled?: boolean | undefined;
33395
33443
  } | undefined;
33396
- slug?: string | undefined;
33397
33444
  sub_threads?: Record<string, unknown>[] | undefined;
33445
+ tags?: string[] | undefined;
33398
33446
  ttl?: number | undefined;
33399
33447
  unread_count?: number | undefined;
33400
33448
  };
33401
- is_transient: boolean;
33402
33449
  messages: {
33403
33450
  id: string;
33404
33451
  content?: string | undefined;
@@ -33507,7 +33554,9 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
33507
33554
  replies_before_cursor?: string | undefined;
33508
33555
  reply_count?: number | undefined;
33509
33556
  reply_to?: Record<string, unknown> | undefined;
33557
+ root_message_id?: string | null | undefined;
33510
33558
  }[];
33559
+ is_transient: boolean;
33511
33560
  members: {
33512
33561
  type: string;
33513
33562
  agent?: {
@@ -33946,8 +33995,8 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
33946
33995
  sandbox?: string | undefined;
33947
33996
  metadata?: Record<string, unknown> | undefined;
33948
33997
  title?: string | undefined;
33998
+ slug?: string | undefined;
33949
33999
  muted?: boolean | undefined;
33950
- tags?: string[] | undefined;
33951
34000
  role?: string | undefined;
33952
34001
  agent_user?: string | undefined;
33953
34002
  creator?: string | {
@@ -34080,6 +34129,7 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
34080
34129
  replies_before_cursor?: string | undefined;
34081
34130
  reply_count?: number | undefined;
34082
34131
  reply_to?: Record<string, unknown> | undefined;
34132
+ root_message_id?: string | null | undefined;
34083
34133
  } | undefined;
34084
34134
  participant?: string[] | undefined;
34085
34135
  participating_actor?: string[] | undefined;
@@ -34263,12 +34313,11 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
34263
34313
  settings?: {
34264
34314
  agent_enabled?: boolean | undefined;
34265
34315
  } | undefined;
34266
- slug?: string | undefined;
34267
34316
  sub_threads?: Record<string, unknown>[] | undefined;
34317
+ tags?: string[] | undefined;
34268
34318
  ttl?: number | undefined;
34269
34319
  unread_count?: number | undefined;
34270
34320
  };
34271
- is_transient: boolean;
34272
34321
  messages: {
34273
34322
  id: string;
34274
34323
  content?: string | undefined;
@@ -34377,7 +34426,9 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
34377
34426
  replies_before_cursor?: string | undefined;
34378
34427
  reply_count?: number | undefined;
34379
34428
  reply_to?: Record<string, unknown> | undefined;
34429
+ root_message_id?: string | null | undefined;
34380
34430
  }[];
34431
+ is_transient: boolean;
34381
34432
  members: {
34382
34433
  type: string;
34383
34434
  agent?: {
@@ -35178,6 +35229,7 @@ export declare const chatMessageListResponseSchema: z.ZodObject<{
35178
35229
  replies_before_cursor: z.ZodOptional<z.ZodString>;
35179
35230
  reply_count: z.ZodOptional<z.ZodNumber>;
35180
35231
  reply_to: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
35232
+ root_message_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35181
35233
  sandbox: z.ZodOptional<z.ZodString>;
35182
35234
  team: z.ZodOptional<z.ZodString>;
35183
35235
  thread: z.ZodOptional<z.ZodString>;
@@ -35292,6 +35344,7 @@ export declare const chatMessageListResponseSchema: z.ZodObject<{
35292
35344
  replies_before_cursor?: string | undefined;
35293
35345
  reply_count?: number | undefined;
35294
35346
  reply_to?: Record<string, unknown> | undefined;
35347
+ root_message_id?: string | null | undefined;
35295
35348
  }, {
35296
35349
  id: string;
35297
35350
  content?: string | undefined;
@@ -35400,6 +35453,7 @@ export declare const chatMessageListResponseSchema: z.ZodObject<{
35400
35453
  replies_before_cursor?: string | undefined;
35401
35454
  reply_count?: number | undefined;
35402
35455
  reply_to?: Record<string, unknown> | undefined;
35456
+ root_message_id?: string | null | undefined;
35403
35457
  }>, "many">;
35404
35458
  }, "strip", z.ZodTypeAny, {
35405
35459
  messages: {
@@ -35510,6 +35564,7 @@ export declare const chatMessageListResponseSchema: z.ZodObject<{
35510
35564
  replies_before_cursor?: string | undefined;
35511
35565
  reply_count?: number | undefined;
35512
35566
  reply_to?: Record<string, unknown> | undefined;
35567
+ root_message_id?: string | null | undefined;
35513
35568
  }[];
35514
35569
  }, {
35515
35570
  messages: {
@@ -35620,6 +35675,7 @@ export declare const chatMessageListResponseSchema: z.ZodObject<{
35620
35675
  replies_before_cursor?: string | undefined;
35621
35676
  reply_count?: number | undefined;
35622
35677
  reply_to?: Record<string, unknown> | undefined;
35678
+ root_message_id?: string | null | undefined;
35623
35679
  }[];
35624
35680
  }>;
35625
35681
  /** Response returned after successfully posting a message to a chat thread. Contains the persisted message object echoed back to the sender. */
@@ -36000,6 +36056,7 @@ export declare const chatPostMessageResponseSchema: z.ZodObject<{
36000
36056
  replies_before_cursor: z.ZodOptional<z.ZodString>;
36001
36057
  reply_count: z.ZodOptional<z.ZodNumber>;
36002
36058
  reply_to: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
36059
+ root_message_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36003
36060
  sandbox: z.ZodOptional<z.ZodString>;
36004
36061
  team: z.ZodOptional<z.ZodString>;
36005
36062
  thread: z.ZodOptional<z.ZodString>;
@@ -36114,6 +36171,7 @@ export declare const chatPostMessageResponseSchema: z.ZodObject<{
36114
36171
  replies_before_cursor?: string | undefined;
36115
36172
  reply_count?: number | undefined;
36116
36173
  reply_to?: Record<string, unknown> | undefined;
36174
+ root_message_id?: string | null | undefined;
36117
36175
  }, {
36118
36176
  id: string;
36119
36177
  content?: string | undefined;
@@ -36222,6 +36280,7 @@ export declare const chatPostMessageResponseSchema: z.ZodObject<{
36222
36280
  replies_before_cursor?: string | undefined;
36223
36281
  reply_count?: number | undefined;
36224
36282
  reply_to?: Record<string, unknown> | undefined;
36283
+ root_message_id?: string | null | undefined;
36225
36284
  }>;
36226
36285
  }, "strip", z.ZodTypeAny, {
36227
36286
  message: {
@@ -36332,6 +36391,7 @@ export declare const chatPostMessageResponseSchema: z.ZodObject<{
36332
36391
  replies_before_cursor?: string | undefined;
36333
36392
  reply_count?: number | undefined;
36334
36393
  reply_to?: Record<string, unknown> | undefined;
36394
+ root_message_id?: string | null | undefined;
36335
36395
  };
36336
36396
  }, {
36337
36397
  message: {
@@ -36442,6 +36502,7 @@ export declare const chatPostMessageResponseSchema: z.ZodObject<{
36442
36502
  replies_before_cursor?: string | undefined;
36443
36503
  reply_count?: number | undefined;
36444
36504
  reply_to?: Record<string, unknown> | undefined;
36505
+ root_message_id?: string | null | undefined;
36445
36506
  };
36446
36507
  }>;
36447
36508
  //# sourceMappingURL=chat.d.ts.map