@archastro/sdk 0.18.0 → 0.20.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 (108) hide show
  1. package/dist/auth.d.ts +42 -18
  2. package/dist/auth.d.ts.map +1 -1
  3. package/dist/auth.js +53 -19
  4. package/dist/auth.js.map +1 -1
  5. package/dist/channels/api_chat_channel.d.ts +11 -1
  6. package/dist/channels/api_chat_channel.d.ts.map +1 -1
  7. package/dist/channels/api_chat_channel.js +14 -2
  8. package/dist/channels/api_chat_channel.js.map +1 -1
  9. package/dist/client.d.ts +1 -1
  10. package/dist/client.d.ts.map +1 -1
  11. package/dist/client.js +3 -3
  12. package/dist/client.js.map +1 -1
  13. package/dist/effective-access.d.ts +1 -1
  14. package/dist/effective-access.d.ts.map +1 -1
  15. package/dist/effective-access.js +2 -5
  16. package/dist/effective-access.js.map +1 -1
  17. package/dist/types/ai.d.ts +310 -0
  18. package/dist/types/ai.d.ts.map +1 -1
  19. package/dist/types/ai.js +51 -1
  20. package/dist/types/ai.js.map +1 -1
  21. package/dist/types/artifacts.d.ts +14 -2
  22. package/dist/types/artifacts.d.ts.map +1 -1
  23. package/dist/types/artifacts.js +5 -1
  24. package/dist/types/artifacts.js.map +1 -1
  25. package/dist/types/chat.d.ts +271 -168
  26. package/dist/types/chat.d.ts.map +1 -1
  27. package/dist/types/chat.js +10 -3
  28. package/dist/types/chat.js.map +1 -1
  29. package/dist/types/common.d.ts +361 -128
  30. package/dist/types/common.d.ts.map +1 -1
  31. package/dist/types/common.js +39 -20
  32. package/dist/types/common.js.map +1 -1
  33. package/dist/types/config.d.ts +2 -2
  34. package/dist/types/events.d.ts +32 -32
  35. package/dist/types/extractions.d.ts +12 -12
  36. package/dist/types/tasks.d.ts +34 -8
  37. package/dist/types/tasks.d.ts.map +1 -1
  38. package/dist/types/tasks.js +12 -3
  39. package/dist/types/tasks.js.map +1 -1
  40. package/dist/types/teams.d.ts +30 -10
  41. package/dist/types/teams.d.ts.map +1 -1
  42. package/dist/types/teams.js +8 -1
  43. package/dist/types/teams.js.map +1 -1
  44. package/dist/types/threads.d.ts +32 -20
  45. package/dist/types/threads.d.ts.map +1 -1
  46. package/dist/types/threads.js +5 -5
  47. package/dist/types/threads.js.map +1 -1
  48. package/dist/v1/resources/agents.d.ts +9 -3
  49. package/dist/v1/resources/agents.d.ts.map +1 -1
  50. package/dist/v1/resources/agents.js +7 -2
  51. package/dist/v1/resources/agents.js.map +1 -1
  52. package/dist/v1/resources/ai.d.ts +92 -3
  53. package/dist/v1/resources/ai.d.ts.map +1 -1
  54. package/dist/v1/resources/ai.js +54 -1
  55. package/dist/v1/resources/ai.js.map +1 -1
  56. package/dist/v1/resources/artifacts.d.ts +53 -0
  57. package/dist/v1/resources/artifacts.d.ts.map +1 -1
  58. package/dist/v1/resources/artifacts.js +35 -1
  59. package/dist/v1/resources/artifacts.js.map +1 -1
  60. package/dist/v1/resources/custom_objects.d.ts +5 -0
  61. package/dist/v1/resources/custom_objects.d.ts.map +1 -1
  62. package/dist/v1/resources/custom_objects.js +5 -1
  63. package/dist/v1/resources/custom_objects.js.map +1 -1
  64. package/dist/v1/resources/files.d.ts +7 -0
  65. package/dist/v1/resources/files.d.ts.map +1 -1
  66. package/dist/v1/resources/files.js +8 -1
  67. package/dist/v1/resources/files.js.map +1 -1
  68. package/dist/v1/resources/index.d.ts +1 -1
  69. package/dist/v1/resources/index.d.ts.map +1 -1
  70. package/dist/v1/resources/index.js +2 -2
  71. package/dist/v1/resources/index.js.map +1 -1
  72. package/dist/v1/resources/knowledge_sources.d.ts +41 -0
  73. package/dist/v1/resources/knowledge_sources.d.ts.map +1 -1
  74. package/dist/v1/resources/knowledge_sources.js +31 -1
  75. package/dist/v1/resources/knowledge_sources.js.map +1 -1
  76. package/dist/v1/resources/orgs.d.ts +537 -0
  77. package/dist/v1/resources/orgs.d.ts.map +1 -1
  78. package/dist/v1/resources/orgs.js +100 -1
  79. package/dist/v1/resources/orgs.js.map +1 -1
  80. package/dist/v1/resources/sandboxes.d.ts +3 -2
  81. package/dist/v1/resources/sandboxes.d.ts.map +1 -1
  82. package/dist/v1/resources/sandboxes.js +4 -3
  83. package/dist/v1/resources/sandboxes.js.map +1 -1
  84. package/dist/v1/resources/scripts.d.ts +6 -2
  85. package/dist/v1/resources/scripts.d.ts.map +1 -1
  86. package/dist/v1/resources/scripts.js +5 -3
  87. package/dist/v1/resources/scripts.js.map +1 -1
  88. package/dist/v1/resources/tasks.d.ts +58 -3
  89. package/dist/v1/resources/tasks.d.ts.map +1 -1
  90. package/dist/v1/resources/tasks.js +61 -2
  91. package/dist/v1/resources/tasks.js.map +1 -1
  92. package/dist/v1/resources/teams.d.ts +56 -14
  93. package/dist/v1/resources/teams.d.ts.map +1 -1
  94. package/dist/v1/resources/teams.js +62 -13
  95. package/dist/v1/resources/teams.js.map +1 -1
  96. package/dist/v1/resources/threads.d.ts +19 -6
  97. package/dist/v1/resources/threads.d.ts.map +1 -1
  98. package/dist/v1/resources/threads.js +21 -8
  99. package/dist/v1/resources/threads.js.map +1 -1
  100. package/dist/v1/resources/users.d.ts +15 -4
  101. package/dist/v1/resources/users.d.ts.map +1 -1
  102. package/dist/v1/resources/users.js +13 -3
  103. package/dist/v1/resources/users.js.map +1 -1
  104. package/dist/v1.d.ts +1 -1
  105. package/dist/v1.d.ts.map +1 -1
  106. package/dist/v1.js +3 -3
  107. package/dist/v1.js.map +1 -1
  108. package/package.json +1 -1
@@ -1450,8 +1450,8 @@ export declare const activityFeedEntrySchema: z.ZodObject<{
1450
1450
  user?: string | null | undefined;
1451
1451
  name?: string | undefined;
1452
1452
  email?: string | null | undefined;
1453
- team?: string | null | undefined;
1454
1453
  org?: string | null | undefined;
1454
+ team?: string | null | undefined;
1455
1455
  description?: string | null | undefined;
1456
1456
  app?: string | undefined;
1457
1457
  created_at?: string | undefined;
@@ -1628,8 +1628,8 @@ export declare const activityFeedEntrySchema: z.ZodObject<{
1628
1628
  user?: string | null | undefined;
1629
1629
  name?: string | undefined;
1630
1630
  email?: string | null | undefined;
1631
- team?: string | null | undefined;
1632
1631
  org?: string | null | undefined;
1632
+ team?: string | null | undefined;
1633
1633
  description?: string | null | undefined;
1634
1634
  app?: string | undefined;
1635
1635
  created_at?: string | undefined;
@@ -1924,6 +1924,7 @@ export declare const activityFeedEntrySchema: z.ZodObject<{
1924
1924
  org_slug?: string | null | undefined;
1925
1925
  sandbox_name?: string | null | undefined;
1926
1926
  } | undefined;
1927
+ org?: string | undefined;
1927
1928
  kind?: string | undefined;
1928
1929
  level?: string | undefined;
1929
1930
  agent?: string | {
@@ -1931,8 +1932,8 @@ export declare const activityFeedEntrySchema: z.ZodObject<{
1931
1932
  user?: string | null | undefined;
1932
1933
  name?: string | undefined;
1933
1934
  email?: string | null | undefined;
1934
- team?: string | null | undefined;
1935
1935
  org?: string | null | undefined;
1936
+ team?: string | null | undefined;
1936
1937
  description?: string | null | undefined;
1937
1938
  app?: string | undefined;
1938
1939
  created_at?: string | undefined;
@@ -2107,7 +2108,6 @@ export declare const activityFeedEntrySchema: z.ZodObject<{
2107
2108
  } | undefined;
2108
2109
  thread?: string | undefined;
2109
2110
  team?: string | undefined;
2110
- org?: string | undefined;
2111
2111
  correlation_id?: string | undefined;
2112
2112
  app?: string | undefined;
2113
2113
  created_at?: string | undefined;
@@ -2143,6 +2143,7 @@ export declare const activityFeedEntrySchema: z.ZodObject<{
2143
2143
  org_slug?: string | null | undefined;
2144
2144
  sandbox_name?: string | null | undefined;
2145
2145
  } | undefined;
2146
+ org?: string | undefined;
2146
2147
  kind?: string | undefined;
2147
2148
  level?: string | undefined;
2148
2149
  agent?: string | {
@@ -2150,8 +2151,8 @@ export declare const activityFeedEntrySchema: z.ZodObject<{
2150
2151
  user?: string | null | undefined;
2151
2152
  name?: string | undefined;
2152
2153
  email?: string | null | undefined;
2153
- team?: string | null | undefined;
2154
2154
  org?: string | null | undefined;
2155
+ team?: string | null | undefined;
2155
2156
  description?: string | null | undefined;
2156
2157
  app?: string | undefined;
2157
2158
  created_at?: string | undefined;
@@ -2326,7 +2327,6 @@ export declare const activityFeedEntrySchema: z.ZodObject<{
2326
2327
  } | undefined;
2327
2328
  thread?: string | undefined;
2328
2329
  team?: string | undefined;
2329
- org?: string | undefined;
2330
2330
  correlation_id?: string | undefined;
2331
2331
  app?: string | undefined;
2332
2332
  created_at?: string | undefined;
@@ -3426,8 +3426,8 @@ export declare const activityFeedEntryListResponseSchema: z.ZodObject<{
3426
3426
  user?: string | null | undefined;
3427
3427
  name?: string | undefined;
3428
3428
  email?: string | null | undefined;
3429
- team?: string | null | undefined;
3430
3429
  org?: string | null | undefined;
3430
+ team?: string | null | undefined;
3431
3431
  description?: string | null | undefined;
3432
3432
  app?: string | undefined;
3433
3433
  created_at?: string | undefined;
@@ -3604,8 +3604,8 @@ export declare const activityFeedEntryListResponseSchema: z.ZodObject<{
3604
3604
  user?: string | null | undefined;
3605
3605
  name?: string | undefined;
3606
3606
  email?: string | null | undefined;
3607
- team?: string | null | undefined;
3608
3607
  org?: string | null | undefined;
3608
+ team?: string | null | undefined;
3609
3609
  description?: string | null | undefined;
3610
3610
  app?: string | undefined;
3611
3611
  created_at?: string | undefined;
@@ -3900,6 +3900,7 @@ export declare const activityFeedEntryListResponseSchema: z.ZodObject<{
3900
3900
  org_slug?: string | null | undefined;
3901
3901
  sandbox_name?: string | null | undefined;
3902
3902
  } | undefined;
3903
+ org?: string | undefined;
3903
3904
  kind?: string | undefined;
3904
3905
  level?: string | undefined;
3905
3906
  agent?: string | {
@@ -3907,8 +3908,8 @@ export declare const activityFeedEntryListResponseSchema: z.ZodObject<{
3907
3908
  user?: string | null | undefined;
3908
3909
  name?: string | undefined;
3909
3910
  email?: string | null | undefined;
3910
- team?: string | null | undefined;
3911
3911
  org?: string | null | undefined;
3912
+ team?: string | null | undefined;
3912
3913
  description?: string | null | undefined;
3913
3914
  app?: string | undefined;
3914
3915
  created_at?: string | undefined;
@@ -4083,7 +4084,6 @@ export declare const activityFeedEntryListResponseSchema: z.ZodObject<{
4083
4084
  } | undefined;
4084
4085
  thread?: string | undefined;
4085
4086
  team?: string | undefined;
4086
- org?: string | undefined;
4087
4087
  correlation_id?: string | undefined;
4088
4088
  app?: string | undefined;
4089
4089
  created_at?: string | undefined;
@@ -4119,6 +4119,7 @@ export declare const activityFeedEntryListResponseSchema: z.ZodObject<{
4119
4119
  org_slug?: string | null | undefined;
4120
4120
  sandbox_name?: string | null | undefined;
4121
4121
  } | undefined;
4122
+ org?: string | undefined;
4122
4123
  kind?: string | undefined;
4123
4124
  level?: string | undefined;
4124
4125
  agent?: string | {
@@ -4126,8 +4127,8 @@ export declare const activityFeedEntryListResponseSchema: z.ZodObject<{
4126
4127
  user?: string | null | undefined;
4127
4128
  name?: string | undefined;
4128
4129
  email?: string | null | undefined;
4129
- team?: string | null | undefined;
4130
4130
  org?: string | null | undefined;
4131
+ team?: string | null | undefined;
4131
4132
  description?: string | null | undefined;
4132
4133
  app?: string | undefined;
4133
4134
  created_at?: string | undefined;
@@ -4302,7 +4303,6 @@ export declare const activityFeedEntryListResponseSchema: z.ZodObject<{
4302
4303
  } | undefined;
4303
4304
  thread?: string | undefined;
4304
4305
  team?: string | undefined;
4305
- org?: string | undefined;
4306
4306
  correlation_id?: string | undefined;
4307
4307
  app?: string | undefined;
4308
4308
  created_at?: string | undefined;
@@ -4342,6 +4342,7 @@ export declare const activityFeedEntryListResponseSchema: z.ZodObject<{
4342
4342
  org_slug?: string | null | undefined;
4343
4343
  sandbox_name?: string | null | undefined;
4344
4344
  } | undefined;
4345
+ org?: string | undefined;
4345
4346
  kind?: string | undefined;
4346
4347
  level?: string | undefined;
4347
4348
  agent?: string | {
@@ -4349,8 +4350,8 @@ export declare const activityFeedEntryListResponseSchema: z.ZodObject<{
4349
4350
  user?: string | null | undefined;
4350
4351
  name?: string | undefined;
4351
4352
  email?: string | null | undefined;
4352
- team?: string | null | undefined;
4353
4353
  org?: string | null | undefined;
4354
+ team?: string | null | undefined;
4354
4355
  description?: string | null | undefined;
4355
4356
  app?: string | undefined;
4356
4357
  created_at?: string | undefined;
@@ -4525,7 +4526,6 @@ export declare const activityFeedEntryListResponseSchema: z.ZodObject<{
4525
4526
  } | undefined;
4526
4527
  thread?: string | undefined;
4527
4528
  team?: string | undefined;
4528
- org?: string | undefined;
4529
4529
  correlation_id?: string | undefined;
4530
4530
  app?: string | undefined;
4531
4531
  created_at?: string | undefined;
@@ -4566,6 +4566,7 @@ export declare const activityFeedEntryListResponseSchema: z.ZodObject<{
4566
4566
  org_slug?: string | null | undefined;
4567
4567
  sandbox_name?: string | null | undefined;
4568
4568
  } | undefined;
4569
+ org?: string | undefined;
4569
4570
  kind?: string | undefined;
4570
4571
  level?: string | undefined;
4571
4572
  agent?: string | {
@@ -4573,8 +4574,8 @@ export declare const activityFeedEntryListResponseSchema: z.ZodObject<{
4573
4574
  user?: string | null | undefined;
4574
4575
  name?: string | undefined;
4575
4576
  email?: string | null | undefined;
4576
- team?: string | null | undefined;
4577
4577
  org?: string | null | undefined;
4578
+ team?: string | null | undefined;
4578
4579
  description?: string | null | undefined;
4579
4580
  app?: string | undefined;
4580
4581
  created_at?: string | undefined;
@@ -4749,7 +4750,6 @@ export declare const activityFeedEntryListResponseSchema: z.ZodObject<{
4749
4750
  } | undefined;
4750
4751
  thread?: string | undefined;
4751
4752
  team?: string | undefined;
4752
- org?: string | undefined;
4753
4753
  correlation_id?: string | undefined;
4754
4754
  app?: string | undefined;
4755
4755
  created_at?: string | undefined;
@@ -5041,6 +5041,32 @@ export declare const workerStatusSchema: z.ZodObject<{
5041
5041
  attempt: number;
5042
5042
  max_attempts: number;
5043
5043
  }>;
5044
+ /** Current MCP setup assessment, not a historical downgrade reason or upstream protocol probe. */
5045
+ export interface Setup {
5046
+ /** Recommended next step for MCP setup. */
5047
+ next_action: string;
5048
+ /** MCP protocol health is not checked by this assessment. */
5049
+ protocol_status: "not_checked";
5050
+ /** Reason for the current MCP setup state. */
5051
+ reason: string;
5052
+ }
5053
+ /** Runtime validator for {@link Setup}. */
5054
+ export declare const setupSchema: z.ZodObject<{
5055
+ /** Recommended next step for MCP setup. */
5056
+ next_action: z.ZodString;
5057
+ /** MCP protocol health is not checked by this assessment. */
5058
+ protocol_status: z.ZodLiteral<"not_checked">;
5059
+ /** Reason for the current MCP setup state. */
5060
+ reason: z.ZodString;
5061
+ }, "strip", z.ZodTypeAny, {
5062
+ next_action: string;
5063
+ protocol_status: "not_checked";
5064
+ reason: string;
5065
+ }, {
5066
+ next_action: string;
5067
+ protocol_status: "not_checked";
5068
+ reason: string;
5069
+ }>;
5044
5070
  /** A processed variant of a media item, such as the original upload or a resized thumbnail, including a signed download URL resolved at request time. */
5045
5071
  export interface MediaVariant {
5046
5072
  /** MIME type of this variant's file (e.g., `"image/jpeg"`, `"video/mp4"`). `null` if the file is not loaded. */
@@ -5175,15 +5201,17 @@ export interface Attachment {
5175
5201
  image_url?: string | null | undefined;
5176
5202
  /** Width in pixels of the scraped preview image. Present on `scraped_link` type only. `null` otherwise. */
5177
5203
  image_width?: number | null | undefined;
5204
+ /** For `structured_data` type, what the data is about as set by the sender (for example `"pr:14963"`), copied from the record so it can be read without `object`. Not unique. `null` when unset and on other types. */
5205
+ key?: string | null | undefined;
5178
5206
  /** The media category, e.g. `"video"` or `"audio"`. Present on `media` type only; omitted otherwise. */
5179
5207
  media_type?: string | undefined;
5180
5208
  /** Display name of the media item. Present on `media` type only. `null` otherwise. */
5181
5209
  name?: string | null | undefined;
5182
- /** The full embedded object payload. For `task` type, contains the task record. For `action` type, contains the action definition. For `chart` type, contains the chart with its inline `spec`. Omitted on other types. */
5210
+ /** The full embedded object payload. For `task` type, contains the task record. For `action` type, contains the action definition. For `chart` type, contains the chart with its inline `spec`. For `structured_data` type, contains the inline `data` and the `schema_url` or `schema_config` naming its JSON Schema. Omitted on other types. */
5183
5211
  object?: Record<string, unknown> | undefined;
5184
5212
  /** Display title. The page title for `scraped_link`, the artifact name for `artifact`, and the task title for `task` types. `null` on other types. */
5185
5213
  title?: string | null | undefined;
5186
- /** The attachment type. One of `"file"`, `"scraped_link"`, `"artifact"`, `"task"`, `"media"`, `"action"`, or `"chart"`. Determines which additional fields are present. */
5214
+ /** The attachment type. One of `"file"`, `"scraped_link"`, `"artifact"`, `"task"`, `"media"`, `"action"`, `"chart"`, or `"structured_data"`. Determines which additional fields are present. */
5187
5215
  type: string;
5188
5216
  /** URL to access the resource. A signed download URL for `file` and `artifact` types; the original URL for `scraped_link`; a media playback URL for `media`. `null` on `task` and `action` types. */
5189
5217
  url?: string | null | undefined;
@@ -5238,15 +5266,17 @@ export declare const attachmentSchema: z.ZodObject<{
5238
5266
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5239
5267
  /** Width in pixels of the scraped preview image. Present on `scraped_link` type only. `null` otherwise. */
5240
5268
  image_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5269
+ /** For `structured_data` type, what the data is about as set by the sender (for example `"pr:14963"`), copied from the record so it can be read without `object`. Not unique. `null` when unset and on other types. */
5270
+ key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5241
5271
  /** The media category, e.g. `"video"` or `"audio"`. Present on `media` type only; omitted otherwise. */
5242
5272
  media_type: z.ZodOptional<z.ZodString>;
5243
5273
  /** Display name of the media item. Present on `media` type only. `null` otherwise. */
5244
5274
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5245
- /** The full embedded object payload. For `task` type, contains the task record. For `action` type, contains the action definition. For `chart` type, contains the chart with its inline `spec`. Omitted on other types. */
5275
+ /** The full embedded object payload. For `task` type, contains the task record. For `action` type, contains the action definition. For `chart` type, contains the chart with its inline `spec`. For `structured_data` type, contains the inline `data` and the `schema_url` or `schema_config` naming its JSON Schema. Omitted on other types. */
5246
5276
  object: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
5247
5277
  /** Display title. The page title for `scraped_link`, the artifact name for `artifact`, and the task title for `task` types. `null` on other types. */
5248
5278
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5249
- /** The attachment type. One of `"file"`, `"scraped_link"`, `"artifact"`, `"task"`, `"media"`, `"action"`, or `"chart"`. Determines which additional fields are present. */
5279
+ /** The attachment type. One of `"file"`, `"scraped_link"`, `"artifact"`, `"task"`, `"media"`, `"action"`, `"chart"`, or `"structured_data"`. Determines which additional fields are present. */
5250
5280
  type: z.ZodString;
5251
5281
  /** URL to access the resource. A signed download URL for `file` and `artifact` types; the original URL for `scraped_link`; a media playback URL for `media`. `null` on `task` and `action` types. */
5252
5282
  url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5347,6 +5377,7 @@ export declare const attachmentSchema: z.ZodObject<{
5347
5377
  type: string;
5348
5378
  id: string;
5349
5379
  object?: Record<string, {} | null> | undefined;
5380
+ key?: string | null | undefined;
5350
5381
  name?: string | null | undefined;
5351
5382
  description?: string | null | undefined;
5352
5383
  height?: number | null | undefined;
@@ -5394,6 +5425,7 @@ export declare const attachmentSchema: z.ZodObject<{
5394
5425
  type: string;
5395
5426
  id: string;
5396
5427
  object?: Record<string, {} | null> | undefined;
5428
+ key?: string | null | undefined;
5397
5429
  name?: string | null | undefined;
5398
5430
  description?: string | null | undefined;
5399
5431
  height?: number | null | undefined;
@@ -5440,6 +5472,8 @@ export declare const attachmentSchema: z.ZodObject<{
5440
5472
  }>;
5441
5473
  /** Credential bundle returned after a successful authentication exchange. Contains the access token, refresh token, and the authenticated user. */
5442
5474
  export interface AuthTokens {
5475
+ /** `true` when this request created the account (the same moment the platform records the signup), `false` for a returning sign-in or a token refresh. Registration always returns `true`; password login and refresh always return `false`. */
5476
+ account_created: boolean;
5443
5477
  /** Number of seconds until `token` expires. After this period, use `refresh_token` to obtain a new access token. */
5444
5478
  expires_in: number;
5445
5479
  /** Optional auxiliary data associated with this authentication event, such as `onboarding_job_id` when the user is completing onboarding. `null` when no extra context is present. */
@@ -5455,6 +5489,8 @@ export interface AuthTokens {
5455
5489
  }
5456
5490
  /** Runtime validator for {@link AuthTokens}. */
5457
5491
  export declare const authTokensSchema: z.ZodObject<{
5492
+ /** `true` when this request created the account (the same moment the platform records the signup), `false` for a returning sign-in or a token refresh. Registration always returns `true`; password login and refresh always return `false`. */
5493
+ account_created: z.ZodBoolean;
5458
5494
  /** Number of seconds until `token` expires. After this period, use `refresh_token` to obtain a new access token. */
5459
5495
  expires_in: z.ZodNumber;
5460
5496
  /** Optional auxiliary data associated with this authentication event, such as `onboarding_job_id` when the user is completing onboarding. `null` when no extra context is present. */
@@ -5552,6 +5588,7 @@ export declare const authTokensSchema: z.ZodObject<{
5552
5588
  expires_in: number;
5553
5589
  refresh_token: string;
5554
5590
  token: string;
5591
+ account_created: boolean;
5555
5592
  token_type: string;
5556
5593
  metadata?: Record<string, {} | null> | undefined;
5557
5594
  }, {
@@ -5579,6 +5616,7 @@ export declare const authTokensSchema: z.ZodObject<{
5579
5616
  expires_in: number;
5580
5617
  refresh_token: string;
5581
5618
  token: string;
5619
+ account_created: boolean;
5582
5620
  token_type: string;
5583
5621
  metadata?: Record<string, {} | null> | undefined;
5584
5622
  }>;
@@ -5636,8 +5674,8 @@ export declare const bugReportSchema: z.ZodObject<{
5636
5674
  id: string;
5637
5675
  client: string;
5638
5676
  client_version: string;
5639
- team?: string | undefined;
5640
5677
  org?: string | undefined;
5678
+ team?: string | undefined;
5641
5679
  app?: string | undefined;
5642
5680
  created_at?: string | undefined;
5643
5681
  updated_at?: string | undefined;
@@ -5648,8 +5686,8 @@ export declare const bugReportSchema: z.ZodObject<{
5648
5686
  id: string;
5649
5687
  client: string;
5650
5688
  client_version: string;
5651
- team?: string | undefined;
5652
5689
  org?: string | undefined;
5690
+ team?: string | undefined;
5653
5691
  app?: string | undefined;
5654
5692
  created_at?: string | undefined;
5655
5693
  updated_at?: string | undefined;
@@ -5774,12 +5812,12 @@ export declare const cancelledSchema: z.ZodObject<{
5774
5812
  status: z.ZodLiteral<"cancelled">;
5775
5813
  }, "strip", z.ZodTypeAny, {
5776
5814
  status: "cancelled";
5777
- call_id: string;
5778
5815
  reason: string;
5816
+ call_id: string;
5779
5817
  }, {
5780
5818
  status: "cancelled";
5781
- call_id: string;
5782
5819
  reason: string;
5820
+ call_id: string;
5783
5821
  }>;
5784
5822
  /** Empty acknowledgement payload returned by channel message handlers that produce no data. The wire envelope is `{"status": "ok", "response": {}}`. */
5785
5823
  export interface ChannelAck {
@@ -6119,15 +6157,17 @@ export declare const messageSchema: z.ZodObject<{
6119
6157
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6120
6158
  /** Width in pixels of the scraped preview image. Present on `scraped_link` type only. `null` otherwise. */
6121
6159
  image_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
6160
+ /** For `structured_data` type, what the data is about as set by the sender (for example `"pr:14963"`), copied from the record so it can be read without `object`. Not unique. `null` when unset and on other types. */
6161
+ key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6122
6162
  /** The media category, e.g. `"video"` or `"audio"`. Present on `media` type only; omitted otherwise. */
6123
6163
  media_type: z.ZodOptional<z.ZodString>;
6124
6164
  /** Display name of the media item. Present on `media` type only. `null` otherwise. */
6125
6165
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6126
- /** The full embedded object payload. For `task` type, contains the task record. For `action` type, contains the action definition. For `chart` type, contains the chart with its inline `spec`. Omitted on other types. */
6166
+ /** The full embedded object payload. For `task` type, contains the task record. For `action` type, contains the action definition. For `chart` type, contains the chart with its inline `spec`. For `structured_data` type, contains the inline `data` and the `schema_url` or `schema_config` naming its JSON Schema. Omitted on other types. */
6127
6167
  object: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
6128
6168
  /** Display title. The page title for `scraped_link`, the artifact name for `artifact`, and the task title for `task` types. `null` on other types. */
6129
6169
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6130
- /** The attachment type. One of `"file"`, `"scraped_link"`, `"artifact"`, `"task"`, `"media"`, `"action"`, or `"chart"`. Determines which additional fields are present. */
6170
+ /** The attachment type. One of `"file"`, `"scraped_link"`, `"artifact"`, `"task"`, `"media"`, `"action"`, `"chart"`, or `"structured_data"`. Determines which additional fields are present. */
6131
6171
  type: z.ZodString;
6132
6172
  /** URL to access the resource. A signed download URL for `file` and `artifact` types; the original URL for `scraped_link`; a media playback URL for `media`. `null` on `task` and `action` types. */
6133
6173
  url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6228,6 +6268,7 @@ export declare const messageSchema: z.ZodObject<{
6228
6268
  type: string;
6229
6269
  id: string;
6230
6270
  object?: Record<string, {} | null> | undefined;
6271
+ key?: string | null | undefined;
6231
6272
  name?: string | null | undefined;
6232
6273
  description?: string | null | undefined;
6233
6274
  height?: number | null | undefined;
@@ -6275,6 +6316,7 @@ export declare const messageSchema: z.ZodObject<{
6275
6316
  type: string;
6276
6317
  id: string;
6277
6318
  object?: Record<string, {} | null> | undefined;
6319
+ key?: string | null | undefined;
6278
6320
  name?: string | null | undefined;
6279
6321
  description?: string | null | undefined;
6280
6322
  height?: number | null | undefined;
@@ -6487,10 +6529,10 @@ export declare const messageSchema: z.ZodObject<{
6487
6529
  org_slug?: string | null | undefined;
6488
6530
  sandbox_name?: string | null | undefined;
6489
6531
  } | null | undefined;
6532
+ org?: string | null | undefined;
6490
6533
  agent?: string | null | undefined;
6491
6534
  thread?: string | undefined;
6492
6535
  team?: string | null | undefined;
6493
- org?: string | null | undefined;
6494
6536
  type?: string | null | undefined;
6495
6537
  created_at?: string | undefined;
6496
6538
  sandbox?: string | null | undefined;
@@ -6515,6 +6557,7 @@ export declare const messageSchema: z.ZodObject<{
6515
6557
  type: string;
6516
6558
  id: string;
6517
6559
  object?: Record<string, {} | null> | undefined;
6560
+ key?: string | null | undefined;
6518
6561
  name?: string | null | undefined;
6519
6562
  description?: string | null | undefined;
6520
6563
  height?: number | null | undefined;
@@ -6622,10 +6665,10 @@ export declare const messageSchema: z.ZodObject<{
6622
6665
  org_slug?: string | null | undefined;
6623
6666
  sandbox_name?: string | null | undefined;
6624
6667
  } | null | undefined;
6668
+ org?: string | null | undefined;
6625
6669
  agent?: string | null | undefined;
6626
6670
  thread?: string | undefined;
6627
6671
  team?: string | null | undefined;
6628
- org?: string | null | undefined;
6629
6672
  type?: string | null | undefined;
6630
6673
  created_at?: string | undefined;
6631
6674
  sandbox?: string | null | undefined;
@@ -6650,6 +6693,7 @@ export declare const messageSchema: z.ZodObject<{
6650
6693
  type: string;
6651
6694
  id: string;
6652
6695
  object?: Record<string, {} | null> | undefined;
6696
+ key?: string | null | undefined;
6653
6697
  name?: string | null | undefined;
6654
6698
  description?: string | null | undefined;
6655
6699
  height?: number | null | undefined;
@@ -6754,30 +6798,6 @@ export declare const okSchema: z.ZodObject<{
6754
6798
  status: "ok";
6755
6799
  call_id: string;
6756
6800
  }>;
6757
- /** A failed local-tool outcome. */
6758
- export interface Error {
6759
- call_id: string;
6760
- code: string;
6761
- message: string;
6762
- status: "error";
6763
- }
6764
- /** Runtime validator for {@link Error}. */
6765
- export declare const errorSchema: z.ZodObject<{
6766
- call_id: z.ZodString;
6767
- code: z.ZodString;
6768
- message: z.ZodString;
6769
- status: z.ZodLiteral<"error">;
6770
- }, "strip", z.ZodTypeAny, {
6771
- message: string;
6772
- code: string;
6773
- status: "error";
6774
- call_id: string;
6775
- }, {
6776
- message: string;
6777
- code: string;
6778
- status: "error";
6779
- call_id: string;
6780
- }>;
6781
6801
  /** A workflow command that a workflow node can invoke, including its identifier, human-readable name, and JSON schemas for its inputs and outputs. */
6782
6802
  export interface Command {
6783
6803
  /** Human-readable description of what the command does, shown alongside the name in the workflow builder. */
@@ -7129,23 +7149,78 @@ export declare const createdPrivateServiceEnrollmentSchema: z.ZodObject<{
7129
7149
  generation: number;
7130
7150
  private_service: string;
7131
7151
  }>;
7132
- /** Billing administration authority for one Viewer-derived principal kind. */
7152
+ /** Privacy-safe current trial state for one Viewer-derived billing principal. */
7153
+ export interface EffectiveAccessBillingTrial {
7154
+ /** Effective trial end: the earlier of its accepted boundary and enrollment end. */
7155
+ ends_at: string;
7156
+ /** Whether a provider webhook has confirmed a stored payment method. */
7157
+ payment_method_stored: boolean;
7158
+ /** Catalog plan whose trial is active. */
7159
+ plan: string;
7160
+ }
7161
+ /** Runtime validator for {@link EffectiveAccessBillingTrial}. */
7162
+ export declare const effectiveAccessBillingTrialSchema: z.ZodObject<{
7163
+ /** Effective trial end: the earlier of its accepted boundary and enrollment end. */
7164
+ ends_at: z.ZodString;
7165
+ /** Whether a provider webhook has confirmed a stored payment method. */
7166
+ payment_method_stored: z.ZodBoolean;
7167
+ /** Catalog plan whose trial is active. */
7168
+ plan: z.ZodString;
7169
+ }, "strip", z.ZodTypeAny, {
7170
+ ends_at: string;
7171
+ payment_method_stored: boolean;
7172
+ plan: string;
7173
+ }, {
7174
+ ends_at: string;
7175
+ payment_method_stored: boolean;
7176
+ plan: string;
7177
+ }>;
7178
+ /** Billing authority and relevant active trials for one Viewer-derived principal kind. */
7133
7179
  export interface EffectiveAccessBillingPrincipal {
7134
7180
  /** Whether the authenticated user may administer this principal's billing account. */
7135
7181
  administrator: boolean;
7136
7182
  principal_type: "user" | "org";
7183
+ /** Currently active trials for this Viewer-derived principal. Contains no billing-account or provider identifiers. */
7184
+ trials: EffectiveAccessBillingTrial[];
7137
7185
  }
7138
7186
  /** Runtime validator for {@link EffectiveAccessBillingPrincipal}. */
7139
7187
  export declare const effectiveAccessBillingPrincipalSchema: z.ZodObject<{
7140
7188
  /** Whether the authenticated user may administer this principal's billing account. */
7141
7189
  administrator: z.ZodBoolean;
7142
7190
  principal_type: z.ZodEnum<["user", "org"]>;
7191
+ /** Currently active trials for this Viewer-derived principal. Contains no billing-account or provider identifiers. */
7192
+ trials: z.ZodArray<z.ZodObject<{
7193
+ /** Effective trial end: the earlier of its accepted boundary and enrollment end. */
7194
+ ends_at: z.ZodString;
7195
+ /** Whether a provider webhook has confirmed a stored payment method. */
7196
+ payment_method_stored: z.ZodBoolean;
7197
+ /** Catalog plan whose trial is active. */
7198
+ plan: z.ZodString;
7199
+ }, "strip", z.ZodTypeAny, {
7200
+ ends_at: string;
7201
+ payment_method_stored: boolean;
7202
+ plan: string;
7203
+ }, {
7204
+ ends_at: string;
7205
+ payment_method_stored: boolean;
7206
+ plan: string;
7207
+ }>, "many">;
7143
7208
  }, "strip", z.ZodTypeAny, {
7144
7209
  principal_type: "user" | "org";
7145
7210
  administrator: boolean;
7211
+ trials: {
7212
+ ends_at: string;
7213
+ payment_method_stored: boolean;
7214
+ plan: string;
7215
+ }[];
7146
7216
  }, {
7147
7217
  principal_type: "user" | "org";
7148
7218
  administrator: boolean;
7219
+ trials: {
7220
+ ends_at: string;
7221
+ payment_method_stored: boolean;
7222
+ plan: string;
7223
+ }[];
7149
7224
  }>;
7150
7225
  /** A billing-derived effective entitlement for the authenticated user. */
7151
7226
  export interface EffectiveAccessEntitlement {
@@ -7185,26 +7260,53 @@ export declare const effectiveAccessEntitlementSchema: z.ZodObject<{
7185
7260
  value_type: "boolean";
7186
7261
  value?: boolean | null | undefined;
7187
7262
  }>;
7188
- /** Live effective access and billing authority for the authenticated user. */
7263
+ /** Live effective access, billing authority, and relevant trials for the authenticated user. */
7189
7264
  export interface EffectiveAccess {
7190
- /** Administration authority for the personal and current-organization principals. */
7265
+ /** Administration authority and requested-entitlement-relevant trials for the personal and current-organization principals. */
7191
7266
  billing: EffectiveAccessBillingPrincipal[];
7192
7267
  /** Requested catalog entitlements in request order. */
7193
7268
  entitlements: EffectiveAccessEntitlement[];
7194
7269
  }
7195
7270
  /** Runtime validator for {@link EffectiveAccess}. */
7196
7271
  export declare const effectiveAccessSchema: z.ZodObject<{
7197
- /** Administration authority for the personal and current-organization principals. */
7272
+ /** Administration authority and requested-entitlement-relevant trials for the personal and current-organization principals. */
7198
7273
  billing: z.ZodArray<z.ZodObject<{
7199
7274
  /** Whether the authenticated user may administer this principal's billing account. */
7200
7275
  administrator: z.ZodBoolean;
7201
7276
  principal_type: z.ZodEnum<["user", "org"]>;
7277
+ /** Currently active trials for this Viewer-derived principal. Contains no billing-account or provider identifiers. */
7278
+ trials: z.ZodArray<z.ZodObject<{
7279
+ /** Effective trial end: the earlier of its accepted boundary and enrollment end. */
7280
+ ends_at: z.ZodString;
7281
+ /** Whether a provider webhook has confirmed a stored payment method. */
7282
+ payment_method_stored: z.ZodBoolean;
7283
+ /** Catalog plan whose trial is active. */
7284
+ plan: z.ZodString;
7285
+ }, "strip", z.ZodTypeAny, {
7286
+ ends_at: string;
7287
+ payment_method_stored: boolean;
7288
+ plan: string;
7289
+ }, {
7290
+ ends_at: string;
7291
+ payment_method_stored: boolean;
7292
+ plan: string;
7293
+ }>, "many">;
7202
7294
  }, "strip", z.ZodTypeAny, {
7203
7295
  principal_type: "user" | "org";
7204
7296
  administrator: boolean;
7297
+ trials: {
7298
+ ends_at: string;
7299
+ payment_method_stored: boolean;
7300
+ plan: string;
7301
+ }[];
7205
7302
  }, {
7206
7303
  principal_type: "user" | "org";
7207
7304
  administrator: boolean;
7305
+ trials: {
7306
+ ends_at: string;
7307
+ payment_method_stored: boolean;
7308
+ plan: string;
7309
+ }[];
7208
7310
  }>, "many">;
7209
7311
  /** Requested catalog entitlements in request order. */
7210
7312
  entitlements: z.ZodArray<z.ZodObject<{
@@ -7235,6 +7337,11 @@ export declare const effectiveAccessSchema: z.ZodObject<{
7235
7337
  billing: {
7236
7338
  principal_type: "user" | "org";
7237
7339
  administrator: boolean;
7340
+ trials: {
7341
+ ends_at: string;
7342
+ payment_method_stored: boolean;
7343
+ plan: string;
7344
+ }[];
7238
7345
  }[];
7239
7346
  entitlements: {
7240
7347
  key: string;
@@ -7247,6 +7354,11 @@ export declare const effectiveAccessSchema: z.ZodObject<{
7247
7354
  billing: {
7248
7355
  principal_type: "user" | "org";
7249
7356
  administrator: boolean;
7357
+ trials: {
7358
+ ends_at: string;
7359
+ payment_method_stored: boolean;
7360
+ plan: string;
7361
+ }[];
7250
7362
  }[];
7251
7363
  entitlements: {
7252
7364
  key: string;
@@ -7307,17 +7419,44 @@ export declare const currentUserSchema: z.ZodObject<{
7307
7419
  app_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7308
7420
  /** Present only when the request supplies one or more `entitlement[]` values. */
7309
7421
  effective_access: z.ZodOptional<z.ZodObject<{
7310
- /** Administration authority for the personal and current-organization principals. */
7422
+ /** Administration authority and requested-entitlement-relevant trials for the personal and current-organization principals. */
7311
7423
  billing: z.ZodArray<z.ZodObject<{
7312
7424
  /** Whether the authenticated user may administer this principal's billing account. */
7313
7425
  administrator: z.ZodBoolean;
7314
7426
  principal_type: z.ZodEnum<["user", "org"]>;
7427
+ /** Currently active trials for this Viewer-derived principal. Contains no billing-account or provider identifiers. */
7428
+ trials: z.ZodArray<z.ZodObject<{
7429
+ /** Effective trial end: the earlier of its accepted boundary and enrollment end. */
7430
+ ends_at: z.ZodString;
7431
+ /** Whether a provider webhook has confirmed a stored payment method. */
7432
+ payment_method_stored: z.ZodBoolean;
7433
+ /** Catalog plan whose trial is active. */
7434
+ plan: z.ZodString;
7435
+ }, "strip", z.ZodTypeAny, {
7436
+ ends_at: string;
7437
+ payment_method_stored: boolean;
7438
+ plan: string;
7439
+ }, {
7440
+ ends_at: string;
7441
+ payment_method_stored: boolean;
7442
+ plan: string;
7443
+ }>, "many">;
7315
7444
  }, "strip", z.ZodTypeAny, {
7316
7445
  principal_type: "user" | "org";
7317
7446
  administrator: boolean;
7447
+ trials: {
7448
+ ends_at: string;
7449
+ payment_method_stored: boolean;
7450
+ plan: string;
7451
+ }[];
7318
7452
  }, {
7319
7453
  principal_type: "user" | "org";
7320
7454
  administrator: boolean;
7455
+ trials: {
7456
+ ends_at: string;
7457
+ payment_method_stored: boolean;
7458
+ plan: string;
7459
+ }[];
7321
7460
  }>, "many">;
7322
7461
  /** Requested catalog entitlements in request order. */
7323
7462
  entitlements: z.ZodArray<z.ZodObject<{
@@ -7348,6 +7487,11 @@ export declare const currentUserSchema: z.ZodObject<{
7348
7487
  billing: {
7349
7488
  principal_type: "user" | "org";
7350
7489
  administrator: boolean;
7490
+ trials: {
7491
+ ends_at: string;
7492
+ payment_method_stored: boolean;
7493
+ plan: string;
7494
+ }[];
7351
7495
  }[];
7352
7496
  entitlements: {
7353
7497
  key: string;
@@ -7360,6 +7504,11 @@ export declare const currentUserSchema: z.ZodObject<{
7360
7504
  billing: {
7361
7505
  principal_type: "user" | "org";
7362
7506
  administrator: boolean;
7507
+ trials: {
7508
+ ends_at: string;
7509
+ payment_method_stored: boolean;
7510
+ plan: string;
7511
+ }[];
7363
7512
  }[];
7364
7513
  entitlements: {
7365
7514
  key: string;
@@ -7453,6 +7602,11 @@ export declare const currentUserSchema: z.ZodObject<{
7453
7602
  billing: {
7454
7603
  principal_type: "user" | "org";
7455
7604
  administrator: boolean;
7605
+ trials: {
7606
+ ends_at: string;
7607
+ payment_method_stored: boolean;
7608
+ plan: string;
7609
+ }[];
7456
7610
  }[];
7457
7611
  entitlements: {
7458
7612
  key: string;
@@ -7493,6 +7647,11 @@ export declare const currentUserSchema: z.ZodObject<{
7493
7647
  billing: {
7494
7648
  principal_type: "user" | "org";
7495
7649
  administrator: boolean;
7650
+ trials: {
7651
+ ends_at: string;
7652
+ payment_method_stored: boolean;
7653
+ plan: string;
7654
+ }[];
7496
7655
  }[];
7497
7656
  entitlements: {
7498
7657
  key: string;
@@ -7638,8 +7797,8 @@ export declare const customObjectSchema: z.ZodObject<{
7638
7797
  }, "strip", z.ZodTypeAny, {
7639
7798
  id: string;
7640
7799
  user?: string | undefined;
7641
- team?: string | undefined;
7642
7800
  org?: string | undefined;
7801
+ team?: string | undefined;
7643
7802
  created_at?: string | undefined;
7644
7803
  updated_at?: string | undefined;
7645
7804
  sandbox?: string | undefined;
@@ -7666,8 +7825,8 @@ export declare const customObjectSchema: z.ZodObject<{
7666
7825
  }, {
7667
7826
  id: string;
7668
7827
  user?: string | undefined;
7669
- team?: string | undefined;
7670
7828
  org?: string | undefined;
7829
+ team?: string | undefined;
7671
7830
  created_at?: string | undefined;
7672
7831
  updated_at?: string | undefined;
7673
7832
  sandbox?: string | undefined;
@@ -7856,8 +8015,8 @@ export declare const customObjectListResponseSchema: z.ZodObject<{
7856
8015
  }, "strip", z.ZodTypeAny, {
7857
8016
  id: string;
7858
8017
  user?: string | undefined;
7859
- team?: string | undefined;
7860
8018
  org?: string | undefined;
8019
+ team?: string | undefined;
7861
8020
  created_at?: string | undefined;
7862
8021
  updated_at?: string | undefined;
7863
8022
  sandbox?: string | undefined;
@@ -7884,8 +8043,8 @@ export declare const customObjectListResponseSchema: z.ZodObject<{
7884
8043
  }, {
7885
8044
  id: string;
7886
8045
  user?: string | undefined;
7887
- team?: string | undefined;
7888
8046
  org?: string | undefined;
8047
+ team?: string | undefined;
7889
8048
  created_at?: string | undefined;
7890
8049
  updated_at?: string | undefined;
7891
8050
  sandbox?: string | undefined;
@@ -7926,8 +8085,8 @@ export declare const customObjectListResponseSchema: z.ZodObject<{
7926
8085
  data: {
7927
8086
  id: string;
7928
8087
  user?: string | undefined;
7929
- team?: string | undefined;
7930
8088
  org?: string | undefined;
8089
+ team?: string | undefined;
7931
8090
  created_at?: string | undefined;
7932
8091
  updated_at?: string | undefined;
7933
8092
  sandbox?: string | undefined;
@@ -7962,8 +8121,8 @@ export declare const customObjectListResponseSchema: z.ZodObject<{
7962
8121
  data: {
7963
8122
  id: string;
7964
8123
  user?: string | undefined;
7965
- team?: string | undefined;
7966
8124
  org?: string | undefined;
8125
+ team?: string | undefined;
7967
8126
  created_at?: string | undefined;
7968
8127
  updated_at?: string | undefined;
7969
8128
  sandbox?: string | undefined;
@@ -8204,9 +8363,9 @@ export declare const domainEventSchema: z.ZodObject<{
8204
8363
  id: string;
8205
8364
  event_name: string;
8206
8365
  user?: string | undefined;
8366
+ org?: string | undefined;
8207
8367
  agent?: string | undefined;
8208
8368
  team?: string | undefined;
8209
- org?: string | undefined;
8210
8369
  sandbox?: string | undefined;
8211
8370
  idempotency_key?: string | undefined;
8212
8371
  }, {
@@ -8215,9 +8374,9 @@ export declare const domainEventSchema: z.ZodObject<{
8215
8374
  id: string;
8216
8375
  event_name: string;
8217
8376
  user?: string | undefined;
8377
+ org?: string | undefined;
8218
8378
  agent?: string | undefined;
8219
8379
  team?: string | undefined;
8220
- org?: string | undefined;
8221
8380
  sandbox?: string | undefined;
8222
8381
  idempotency_key?: string | undefined;
8223
8382
  }>;
@@ -8310,9 +8469,9 @@ export declare const externalObjectSchema: z.ZodObject<{
8310
8469
  integration: string;
8311
8470
  service: "cloudflare";
8312
8471
  user?: string | undefined;
8472
+ org?: string | undefined;
8313
8473
  agent?: string | undefined;
8314
8474
  team?: string | undefined;
8315
- org?: string | undefined;
8316
8475
  }, {
8317
8476
  object: {
8318
8477
  name: string;
@@ -8333,9 +8492,9 @@ export declare const externalObjectSchema: z.ZodObject<{
8333
8492
  integration: string;
8334
8493
  service: "cloudflare";
8335
8494
  user?: string | undefined;
8495
+ org?: string | undefined;
8336
8496
  agent?: string | undefined;
8337
8497
  team?: string | undefined;
8338
- org?: string | undefined;
8339
8498
  }>;
8340
8499
  /** A file stored in the platform's object storage, with metadata and a signed URL for downloading its contents. */
8341
8500
  export interface StorageFile {
@@ -8425,8 +8584,8 @@ export declare const storageFileSchema: z.ZodObject<{
8425
8584
  }, "strip", z.ZodTypeAny, {
8426
8585
  id: string;
8427
8586
  user?: string | undefined;
8428
- team?: string | undefined;
8429
8587
  org?: string | undefined;
8588
+ team?: string | undefined;
8430
8589
  app?: string | undefined;
8431
8590
  created_at?: string | undefined;
8432
8591
  updated_at?: string | undefined;
@@ -8448,8 +8607,8 @@ export declare const storageFileSchema: z.ZodObject<{
8448
8607
  }, {
8449
8608
  id: string;
8450
8609
  user?: string | undefined;
8451
- team?: string | undefined;
8452
8610
  org?: string | undefined;
8611
+ team?: string | undefined;
8453
8612
  app?: string | undefined;
8454
8613
  created_at?: string | undefined;
8455
8614
  updated_at?: string | undefined;
@@ -8554,8 +8713,8 @@ export declare const agentHealthActionSchema: z.ZodObject<{
8554
8713
  title: string;
8555
8714
  source: string;
8556
8715
  sort_order: number;
8557
- agent?: string | undefined;
8558
8716
  org?: string | undefined;
8717
+ agent?: string | undefined;
8559
8718
  description?: string | undefined;
8560
8719
  params?: Record<string, {} | null> | undefined;
8561
8720
  app?: string | undefined;
@@ -8573,8 +8732,8 @@ export declare const agentHealthActionSchema: z.ZodObject<{
8573
8732
  title: string;
8574
8733
  source: string;
8575
8734
  sort_order: number;
8576
- agent?: string | undefined;
8577
8735
  org?: string | undefined;
8736
+ agent?: string | undefined;
8578
8737
  description?: string | undefined;
8579
8738
  params?: Record<string, {} | null> | undefined;
8580
8739
  app?: string | undefined;
@@ -8638,8 +8797,8 @@ export declare const healthActionListResponseSchema: z.ZodObject<{
8638
8797
  title: string;
8639
8798
  source: string;
8640
8799
  sort_order: number;
8641
- agent?: string | undefined;
8642
8800
  org?: string | undefined;
8801
+ agent?: string | undefined;
8643
8802
  description?: string | undefined;
8644
8803
  params?: Record<string, {} | null> | undefined;
8645
8804
  app?: string | undefined;
@@ -8657,8 +8816,8 @@ export declare const healthActionListResponseSchema: z.ZodObject<{
8657
8816
  title: string;
8658
8817
  source: string;
8659
8818
  sort_order: number;
8660
- agent?: string | undefined;
8661
8819
  org?: string | undefined;
8820
+ agent?: string | undefined;
8662
8821
  description?: string | undefined;
8663
8822
  params?: Record<string, {} | null> | undefined;
8664
8823
  app?: string | undefined;
@@ -8678,8 +8837,8 @@ export declare const healthActionListResponseSchema: z.ZodObject<{
8678
8837
  title: string;
8679
8838
  source: string;
8680
8839
  sort_order: number;
8681
- agent?: string | undefined;
8682
8840
  org?: string | undefined;
8841
+ agent?: string | undefined;
8683
8842
  description?: string | undefined;
8684
8843
  params?: Record<string, {} | null> | undefined;
8685
8844
  app?: string | undefined;
@@ -8699,8 +8858,8 @@ export declare const healthActionListResponseSchema: z.ZodObject<{
8699
8858
  title: string;
8700
8859
  source: string;
8701
8860
  sort_order: number;
8702
- agent?: string | undefined;
8703
8861
  org?: string | undefined;
8862
+ agent?: string | undefined;
8704
8863
  description?: string | undefined;
8705
8864
  params?: Record<string, {} | null> | undefined;
8706
8865
  app?: string | undefined;
@@ -9420,10 +9579,10 @@ export declare const knowledgeSourceSchema: z.ZodObject<{
9420
9579
  id: string;
9421
9580
  state: string;
9422
9581
  user?: string | undefined;
9582
+ org?: string | undefined;
9423
9583
  agent?: string | undefined;
9424
9584
  thread?: string | undefined;
9425
9585
  team?: string | undefined;
9426
- org?: string | undefined;
9427
9586
  payload?: Record<string, {} | null> | undefined;
9428
9587
  created_at?: string | undefined;
9429
9588
  updated_at?: string | undefined;
@@ -9436,10 +9595,10 @@ export declare const knowledgeSourceSchema: z.ZodObject<{
9436
9595
  id: string;
9437
9596
  state: string;
9438
9597
  user?: string | undefined;
9598
+ org?: string | undefined;
9439
9599
  agent?: string | undefined;
9440
9600
  thread?: string | undefined;
9441
9601
  team?: string | undefined;
9442
- org?: string | undefined;
9443
9602
  payload?: Record<string, {} | null> | undefined;
9444
9603
  created_at?: string | undefined;
9445
9604
  updated_at?: string | undefined;
@@ -9888,15 +10047,17 @@ export declare const paginatedRepliesSchema: z.ZodObject<{
9888
10047
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9889
10048
  /** Width in pixels of the scraped preview image. Present on `scraped_link` type only. `null` otherwise. */
9890
10049
  image_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10050
+ /** For `structured_data` type, what the data is about as set by the sender (for example `"pr:14963"`), copied from the record so it can be read without `object`. Not unique. `null` when unset and on other types. */
10051
+ key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9891
10052
  /** The media category, e.g. `"video"` or `"audio"`. Present on `media` type only; omitted otherwise. */
9892
10053
  media_type: z.ZodOptional<z.ZodString>;
9893
10054
  /** Display name of the media item. Present on `media` type only. `null` otherwise. */
9894
10055
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9895
- /** The full embedded object payload. For `task` type, contains the task record. For `action` type, contains the action definition. For `chart` type, contains the chart with its inline `spec`. Omitted on other types. */
10056
+ /** The full embedded object payload. For `task` type, contains the task record. For `action` type, contains the action definition. For `chart` type, contains the chart with its inline `spec`. For `structured_data` type, contains the inline `data` and the `schema_url` or `schema_config` naming its JSON Schema. Omitted on other types. */
9896
10057
  object: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
9897
10058
  /** Display title. The page title for `scraped_link`, the artifact name for `artifact`, and the task title for `task` types. `null` on other types. */
9898
10059
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9899
- /** The attachment type. One of `"file"`, `"scraped_link"`, `"artifact"`, `"task"`, `"media"`, `"action"`, or `"chart"`. Determines which additional fields are present. */
10060
+ /** The attachment type. One of `"file"`, `"scraped_link"`, `"artifact"`, `"task"`, `"media"`, `"action"`, `"chart"`, or `"structured_data"`. Determines which additional fields are present. */
9900
10061
  type: z.ZodString;
9901
10062
  /** URL to access the resource. A signed download URL for `file` and `artifact` types; the original URL for `scraped_link`; a media playback URL for `media`. `null` on `task` and `action` types. */
9902
10063
  url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -9997,6 +10158,7 @@ export declare const paginatedRepliesSchema: z.ZodObject<{
9997
10158
  type: string;
9998
10159
  id: string;
9999
10160
  object?: Record<string, {} | null> | undefined;
10161
+ key?: string | null | undefined;
10000
10162
  name?: string | null | undefined;
10001
10163
  description?: string | null | undefined;
10002
10164
  height?: number | null | undefined;
@@ -10044,6 +10206,7 @@ export declare const paginatedRepliesSchema: z.ZodObject<{
10044
10206
  type: string;
10045
10207
  id: string;
10046
10208
  object?: Record<string, {} | null> | undefined;
10209
+ key?: string | null | undefined;
10047
10210
  name?: string | null | undefined;
10048
10211
  description?: string | null | undefined;
10049
10212
  height?: number | null | undefined;
@@ -10256,10 +10419,10 @@ export declare const paginatedRepliesSchema: z.ZodObject<{
10256
10419
  org_slug?: string | null | undefined;
10257
10420
  sandbox_name?: string | null | undefined;
10258
10421
  } | null | undefined;
10422
+ org?: string | null | undefined;
10259
10423
  agent?: string | null | undefined;
10260
10424
  thread?: string | undefined;
10261
10425
  team?: string | null | undefined;
10262
- org?: string | null | undefined;
10263
10426
  type?: string | null | undefined;
10264
10427
  created_at?: string | undefined;
10265
10428
  sandbox?: string | null | undefined;
@@ -10284,6 +10447,7 @@ export declare const paginatedRepliesSchema: z.ZodObject<{
10284
10447
  type: string;
10285
10448
  id: string;
10286
10449
  object?: Record<string, {} | null> | undefined;
10450
+ key?: string | null | undefined;
10287
10451
  name?: string | null | undefined;
10288
10452
  description?: string | null | undefined;
10289
10453
  height?: number | null | undefined;
@@ -10391,10 +10555,10 @@ export declare const paginatedRepliesSchema: z.ZodObject<{
10391
10555
  org_slug?: string | null | undefined;
10392
10556
  sandbox_name?: string | null | undefined;
10393
10557
  } | null | undefined;
10558
+ org?: string | null | undefined;
10394
10559
  agent?: string | null | undefined;
10395
10560
  thread?: string | undefined;
10396
10561
  team?: string | null | undefined;
10397
- org?: string | null | undefined;
10398
10562
  type?: string | null | undefined;
10399
10563
  created_at?: string | undefined;
10400
10564
  sandbox?: string | null | undefined;
@@ -10419,6 +10583,7 @@ export declare const paginatedRepliesSchema: z.ZodObject<{
10419
10583
  type: string;
10420
10584
  id: string;
10421
10585
  object?: Record<string, {} | null> | undefined;
10586
+ key?: string | null | undefined;
10422
10587
  name?: string | null | undefined;
10423
10588
  description?: string | null | undefined;
10424
10589
  height?: number | null | undefined;
@@ -10530,10 +10695,10 @@ export declare const paginatedRepliesSchema: z.ZodObject<{
10530
10695
  org_slug?: string | null | undefined;
10531
10696
  sandbox_name?: string | null | undefined;
10532
10697
  } | null | undefined;
10698
+ org?: string | null | undefined;
10533
10699
  agent?: string | null | undefined;
10534
10700
  thread?: string | undefined;
10535
10701
  team?: string | null | undefined;
10536
- org?: string | null | undefined;
10537
10702
  type?: string | null | undefined;
10538
10703
  created_at?: string | undefined;
10539
10704
  sandbox?: string | null | undefined;
@@ -10558,6 +10723,7 @@ export declare const paginatedRepliesSchema: z.ZodObject<{
10558
10723
  type: string;
10559
10724
  id: string;
10560
10725
  object?: Record<string, {} | null> | undefined;
10726
+ key?: string | null | undefined;
10561
10727
  name?: string | null | undefined;
10562
10728
  description?: string | null | undefined;
10563
10729
  height?: number | null | undefined;
@@ -10671,10 +10837,10 @@ export declare const paginatedRepliesSchema: z.ZodObject<{
10671
10837
  org_slug?: string | null | undefined;
10672
10838
  sandbox_name?: string | null | undefined;
10673
10839
  } | null | undefined;
10840
+ org?: string | null | undefined;
10674
10841
  agent?: string | null | undefined;
10675
10842
  thread?: string | undefined;
10676
10843
  team?: string | null | undefined;
10677
- org?: string | null | undefined;
10678
10844
  type?: string | null | undefined;
10679
10845
  created_at?: string | undefined;
10680
10846
  sandbox?: string | null | undefined;
@@ -10699,6 +10865,7 @@ export declare const paginatedRepliesSchema: z.ZodObject<{
10699
10865
  type: string;
10700
10866
  id: string;
10701
10867
  object?: Record<string, {} | null> | undefined;
10868
+ key?: string | null | undefined;
10702
10869
  name?: string | null | undefined;
10703
10870
  description?: string | null | undefined;
10704
10871
  height?: number | null | undefined;
@@ -12128,8 +12295,8 @@ export declare const trajectorySchema: z.ZodObject<{
12128
12295
  updated_at: z.ZodOptional<z.ZodString>;
12129
12296
  }, "strip", z.ZodTypeAny, {
12130
12297
  id: string;
12131
- team?: string | null | undefined;
12132
12298
  org?: string | null | undefined;
12299
+ team?: string | null | undefined;
12133
12300
  created_at?: string | undefined;
12134
12301
  updated_at?: string | undefined;
12135
12302
  sandbox?: string | null | undefined;
@@ -12137,8 +12304,8 @@ export declare const trajectorySchema: z.ZodObject<{
12137
12304
  messages?: Record<string, {} | null>[] | undefined;
12138
12305
  }, {
12139
12306
  id: string;
12140
- team?: string | null | undefined;
12141
12307
  org?: string | null | undefined;
12308
+ team?: string | null | undefined;
12142
12309
  created_at?: string | undefined;
12143
12310
  updated_at?: string | undefined;
12144
12311
  sandbox?: string | null | undefined;
@@ -12787,7 +12954,7 @@ export interface SolutionSummary {
12787
12954
  events?: Record<string, unknown> | undefined;
12788
12955
  /** Solution config ID (`cfg_...`). */
12789
12956
  id: string;
12790
- /** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image, and always `null` for org-scoped rows — the permanent URL is minted for system-scope (catalog) Solutions only. */
12957
+ /** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image. Org-only rows remain `null`; when a list entry merges an org copy with its system counterpart, it may reuse the system row's public cover URL. Permanent URLs are never minted for private org assets. */
12791
12958
  image_url?: string | null | undefined;
12792
12959
  /** Config IDs (`cfg_...`) of this Solution's installations in the viewer's organization. The array is empty when the Solution is visible only from the system catalog. */
12793
12960
  installed_config_ids: string[];
@@ -12846,7 +13013,7 @@ export declare const solutionSummarySchema: z.ZodObject<{
12846
13013
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
12847
13014
  /** Solution config ID (`cfg_...`). */
12848
13015
  id: z.ZodString;
12849
- /** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image, and always `null` for org-scoped rows — the permanent URL is minted for system-scope (catalog) Solutions only. */
13016
+ /** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image. Org-only rows remain `null`; when a list entry merges an org copy with its system counterpart, it may reuse the system row's public cover URL. Permanent URLs are never minted for private org assets. */
12850
13017
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12851
13018
  /** Config IDs (`cfg_...`) of this Solution's installations in the viewer's organization. The array is empty when the Solution is visible only from the system catalog. */
12852
13019
  installed_config_ids: z.ZodArray<z.ZodString, "many">;
@@ -13234,7 +13401,7 @@ export declare const agentSourceSolutionSchema: z.ZodObject<{
13234
13401
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
13235
13402
  /** Solution config ID (`cfg_...`). */
13236
13403
  id: z.ZodString;
13237
- /** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image, and always `null` for org-scoped rows — the permanent URL is minted for system-scope (catalog) Solutions only. */
13404
+ /** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image. Org-only rows remain `null`; when a list entry merges an org copy with its system counterpart, it may reuse the system row's public cover URL. Permanent URLs are never minted for private org assets. */
13238
13405
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13239
13406
  /** Config IDs (`cfg_...`) of this Solution's installations in the viewer's organization. The array is empty when the Solution is visible only from the system catalog. */
13240
13407
  installed_config_ids: z.ZodArray<z.ZodString, "many">;
@@ -13608,7 +13775,7 @@ export declare const agentSourceSolutionSchema: z.ZodObject<{
13608
13775
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
13609
13776
  /** Solution config ID (`cfg_...`). */
13610
13777
  id: z.ZodString;
13611
- /** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image, and always `null` for org-scoped rows — the permanent URL is minted for system-scope (catalog) Solutions only. */
13778
+ /** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image. Org-only rows remain `null`; when a list entry merges an org copy with its system counterpart, it may reuse the system row's public cover URL. Permanent URLs are never minted for private org assets. */
13612
13779
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13613
13780
  /** Config IDs (`cfg_...`) of this Solution's installations in the viewer's organization. The array is empty when the Solution is visible only from the system catalog. */
13614
13781
  installed_config_ids: z.ZodArray<z.ZodString, "many">;
@@ -14467,7 +14634,7 @@ export declare const agentSchema: z.ZodObject<{
14467
14634
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
14468
14635
  /** Solution config ID (`cfg_...`). */
14469
14636
  id: z.ZodString;
14470
- /** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image, and always `null` for org-scoped rows — the permanent URL is minted for system-scope (catalog) Solutions only. */
14637
+ /** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image. Org-only rows remain `null`; when a list entry merges an org copy with its system counterpart, it may reuse the system row's public cover URL. Permanent URLs are never minted for private org assets. */
14471
14638
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14472
14639
  /** Config IDs (`cfg_...`) of this Solution's installations in the viewer's organization. The array is empty when the Solution is visible only from the system catalog. */
14473
14640
  installed_config_ids: z.ZodArray<z.ZodString, "many">;
@@ -14841,7 +15008,7 @@ export declare const agentSchema: z.ZodObject<{
14841
15008
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
14842
15009
  /** Solution config ID (`cfg_...`). */
14843
15010
  id: z.ZodString;
14844
- /** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image, and always `null` for org-scoped rows — the permanent URL is minted for system-scope (catalog) Solutions only. */
15011
+ /** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image. Org-only rows remain `null`; when a list entry merges an org copy with its system counterpart, it may reuse the system row's public cover URL. Permanent URLs are never minted for private org assets. */
14845
15012
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14846
15013
  /** Config IDs (`cfg_...`) of this Solution's installations in the viewer's organization. The array is empty when the Solution is visible only from the system catalog. */
14847
15014
  installed_config_ids: z.ZodArray<z.ZodString, "many">;
@@ -15538,8 +15705,8 @@ export declare const agentSchema: z.ZodObject<{
15538
15705
  user?: string | null | undefined;
15539
15706
  name?: string | undefined;
15540
15707
  email?: string | null | undefined;
15541
- team?: string | null | undefined;
15542
15708
  org?: string | null | undefined;
15709
+ team?: string | null | undefined;
15543
15710
  description?: string | null | undefined;
15544
15711
  app?: string | undefined;
15545
15712
  created_at?: string | undefined;
@@ -15716,8 +15883,8 @@ export declare const agentSchema: z.ZodObject<{
15716
15883
  user?: string | null | undefined;
15717
15884
  name?: string | undefined;
15718
15885
  email?: string | null | undefined;
15719
- team?: string | null | undefined;
15720
15886
  org?: string | null | undefined;
15887
+ team?: string | null | undefined;
15721
15888
  description?: string | null | undefined;
15722
15889
  app?: string | undefined;
15723
15890
  created_at?: string | undefined;
@@ -16276,8 +16443,8 @@ export declare const agentCreateResponseSchema: z.ZodObject<{
16276
16443
  user?: string | null | undefined;
16277
16444
  name?: string | undefined;
16278
16445
  email?: string | null | undefined;
16279
- team?: string | null | undefined;
16280
16446
  org?: string | null | undefined;
16447
+ team?: string | null | undefined;
16281
16448
  app?: string | undefined;
16282
16449
  created_at?: string | undefined;
16283
16450
  updated_at?: string | undefined;
@@ -16315,8 +16482,8 @@ export declare const agentCreateResponseSchema: z.ZodObject<{
16315
16482
  user?: string | null | undefined;
16316
16483
  name?: string | undefined;
16317
16484
  email?: string | null | undefined;
16318
- team?: string | null | undefined;
16319
16485
  org?: string | null | undefined;
16486
+ team?: string | null | undefined;
16320
16487
  app?: string | undefined;
16321
16488
  created_at?: string | undefined;
16322
16489
  updated_at?: string | undefined;
@@ -16524,9 +16691,9 @@ export declare const agentExportSchema: z.ZodObject<{
16524
16691
  kind: string;
16525
16692
  id: string;
16526
16693
  user?: string | undefined;
16694
+ org?: string | undefined;
16527
16695
  agent?: string | undefined;
16528
16696
  team?: string | undefined;
16529
- org?: string | undefined;
16530
16697
  created_at?: string | undefined;
16531
16698
  updated_at?: string | undefined;
16532
16699
  sandbox?: string | undefined;
@@ -16553,9 +16720,9 @@ export declare const agentExportSchema: z.ZodObject<{
16553
16720
  kind: string;
16554
16721
  id: string;
16555
16722
  user?: string | undefined;
16723
+ org?: string | undefined;
16556
16724
  agent?: string | undefined;
16557
16725
  team?: string | undefined;
16558
- org?: string | undefined;
16559
16726
  created_at?: string | undefined;
16560
16727
  updated_at?: string | undefined;
16561
16728
  sandbox?: string | undefined;
@@ -16587,9 +16754,9 @@ export declare const agentExportSchema: z.ZodObject<{
16587
16754
  kind: string;
16588
16755
  id: string;
16589
16756
  user?: string | undefined;
16757
+ org?: string | undefined;
16590
16758
  agent?: string | undefined;
16591
16759
  team?: string | undefined;
16592
- org?: string | undefined;
16593
16760
  created_at?: string | undefined;
16594
16761
  updated_at?: string | undefined;
16595
16762
  sandbox?: string | undefined;
@@ -16619,9 +16786,9 @@ export declare const agentExportSchema: z.ZodObject<{
16619
16786
  kind: string;
16620
16787
  id: string;
16621
16788
  user?: string | undefined;
16789
+ org?: string | undefined;
16622
16790
  agent?: string | undefined;
16623
16791
  team?: string | undefined;
16624
- org?: string | undefined;
16625
16792
  created_at?: string | undefined;
16626
16793
  updated_at?: string | undefined;
16627
16794
  sandbox?: string | undefined;
@@ -16799,7 +16966,7 @@ export declare const agentHealthSchema: z.ZodObject<{
16799
16966
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
16800
16967
  /** Solution config ID (`cfg_...`). */
16801
16968
  id: z.ZodString;
16802
- /** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image, and always `null` for org-scoped rows — the permanent URL is minted for system-scope (catalog) Solutions only. */
16969
+ /** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image. Org-only rows remain `null`; when a list entry merges an org copy with its system counterpart, it may reuse the system row's public cover URL. Permanent URLs are never minted for private org assets. */
16803
16970
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16804
16971
  /** Config IDs (`cfg_...`) of this Solution's installations in the viewer's organization. The array is empty when the Solution is visible only from the system catalog. */
16805
16972
  installed_config_ids: z.ZodArray<z.ZodString, "many">;
@@ -17173,7 +17340,7 @@ export declare const agentHealthSchema: z.ZodObject<{
17173
17340
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
17174
17341
  /** Solution config ID (`cfg_...`). */
17175
17342
  id: z.ZodString;
17176
- /** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image, and always `null` for org-scoped rows — the permanent URL is minted for system-scope (catalog) Solutions only. */
17343
+ /** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image. Org-only rows remain `null`; when a list entry merges an org copy with its system counterpart, it may reuse the system row's public cover URL. Permanent URLs are never minted for private org assets. */
17177
17344
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17178
17345
  /** Config IDs (`cfg_...`) of this Solution's installations in the viewer's organization. The array is empty when the Solution is visible only from the system catalog. */
17179
17346
  installed_config_ids: z.ZodArray<z.ZodString, "many">;
@@ -17870,8 +18037,8 @@ export declare const agentHealthSchema: z.ZodObject<{
17870
18037
  user?: string | null | undefined;
17871
18038
  name?: string | undefined;
17872
18039
  email?: string | null | undefined;
17873
- team?: string | null | undefined;
17874
18040
  org?: string | null | undefined;
18041
+ team?: string | null | undefined;
17875
18042
  description?: string | null | undefined;
17876
18043
  app?: string | undefined;
17877
18044
  created_at?: string | undefined;
@@ -18048,8 +18215,8 @@ export declare const agentHealthSchema: z.ZodObject<{
18048
18215
  user?: string | null | undefined;
18049
18216
  name?: string | undefined;
18050
18217
  email?: string | null | undefined;
18051
- team?: string | null | undefined;
18052
18218
  org?: string | null | undefined;
18219
+ team?: string | null | undefined;
18053
18220
  description?: string | null | undefined;
18054
18221
  app?: string | undefined;
18055
18222
  created_at?: string | undefined;
@@ -18274,8 +18441,8 @@ export declare const agentHealthSchema: z.ZodObject<{
18274
18441
  title: string;
18275
18442
  source: string;
18276
18443
  sort_order: number;
18277
- agent?: string | undefined;
18278
18444
  org?: string | undefined;
18445
+ agent?: string | undefined;
18279
18446
  description?: string | undefined;
18280
18447
  params?: Record<string, {} | null> | undefined;
18281
18448
  app?: string | undefined;
@@ -18293,8 +18460,8 @@ export declare const agentHealthSchema: z.ZodObject<{
18293
18460
  title: string;
18294
18461
  source: string;
18295
18462
  sort_order: number;
18296
- agent?: string | undefined;
18297
18463
  org?: string | undefined;
18464
+ agent?: string | undefined;
18298
18465
  description?: string | undefined;
18299
18466
  params?: Record<string, {} | null> | undefined;
18300
18467
  app?: string | undefined;
@@ -18317,8 +18484,8 @@ export declare const agentHealthSchema: z.ZodObject<{
18317
18484
  user?: string | null | undefined;
18318
18485
  name?: string | undefined;
18319
18486
  email?: string | null | undefined;
18320
- team?: string | null | undefined;
18321
18487
  org?: string | null | undefined;
18488
+ team?: string | null | undefined;
18322
18489
  description?: string | null | undefined;
18323
18490
  app?: string | undefined;
18324
18491
  created_at?: string | undefined;
@@ -18504,8 +18671,8 @@ export declare const agentHealthSchema: z.ZodObject<{
18504
18671
  title: string;
18505
18672
  source: string;
18506
18673
  sort_order: number;
18507
- agent?: string | undefined;
18508
18674
  org?: string | undefined;
18675
+ agent?: string | undefined;
18509
18676
  description?: string | undefined;
18510
18677
  params?: Record<string, {} | null> | undefined;
18511
18678
  app?: string | undefined;
@@ -18524,8 +18691,8 @@ export declare const agentHealthSchema: z.ZodObject<{
18524
18691
  user?: string | null | undefined;
18525
18692
  name?: string | undefined;
18526
18693
  email?: string | null | undefined;
18527
- team?: string | null | undefined;
18528
18694
  org?: string | null | undefined;
18695
+ team?: string | null | undefined;
18529
18696
  description?: string | null | undefined;
18530
18697
  app?: string | undefined;
18531
18698
  created_at?: string | undefined;
@@ -18711,8 +18878,8 @@ export declare const agentHealthSchema: z.ZodObject<{
18711
18878
  title: string;
18712
18879
  source: string;
18713
18880
  sort_order: number;
18714
- agent?: string | undefined;
18715
18881
  org?: string | undefined;
18882
+ agent?: string | undefined;
18716
18883
  description?: string | undefined;
18717
18884
  params?: Record<string, {} | null> | undefined;
18718
18885
  app?: string | undefined;
@@ -18873,7 +19040,7 @@ export declare const agentListResponseSchema: z.ZodObject<{
18873
19040
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
18874
19041
  /** Solution config ID (`cfg_...`). */
18875
19042
  id: z.ZodString;
18876
- /** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image, and always `null` for org-scoped rows — the permanent URL is minted for system-scope (catalog) Solutions only. */
19043
+ /** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image. Org-only rows remain `null`; when a list entry merges an org copy with its system counterpart, it may reuse the system row's public cover URL. Permanent URLs are never minted for private org assets. */
18877
19044
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18878
19045
  /** Config IDs (`cfg_...`) of this Solution's installations in the viewer's organization. The array is empty when the Solution is visible only from the system catalog. */
18879
19046
  installed_config_ids: z.ZodArray<z.ZodString, "many">;
@@ -19247,7 +19414,7 @@ export declare const agentListResponseSchema: z.ZodObject<{
19247
19414
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
19248
19415
  /** Solution config ID (`cfg_...`). */
19249
19416
  id: z.ZodString;
19250
- /** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image, and always `null` for org-scoped rows — the permanent URL is minted for system-scope (catalog) Solutions only. */
19417
+ /** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image. Org-only rows remain `null`; when a list entry merges an org copy with its system counterpart, it may reuse the system row's public cover URL. Permanent URLs are never minted for private org assets. */
19251
19418
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19252
19419
  /** Config IDs (`cfg_...`) of this Solution's installations in the viewer's organization. The array is empty when the Solution is visible only from the system catalog. */
19253
19420
  installed_config_ids: z.ZodArray<z.ZodString, "many">;
@@ -19944,8 +20111,8 @@ export declare const agentListResponseSchema: z.ZodObject<{
19944
20111
  user?: string | null | undefined;
19945
20112
  name?: string | undefined;
19946
20113
  email?: string | null | undefined;
19947
- team?: string | null | undefined;
19948
20114
  org?: string | null | undefined;
20115
+ team?: string | null | undefined;
19949
20116
  description?: string | null | undefined;
19950
20117
  app?: string | undefined;
19951
20118
  created_at?: string | undefined;
@@ -20122,8 +20289,8 @@ export declare const agentListResponseSchema: z.ZodObject<{
20122
20289
  user?: string | null | undefined;
20123
20290
  name?: string | undefined;
20124
20291
  email?: string | null | undefined;
20125
- team?: string | null | undefined;
20126
20292
  org?: string | null | undefined;
20293
+ team?: string | null | undefined;
20127
20294
  description?: string | null | undefined;
20128
20295
  app?: string | undefined;
20129
20296
  created_at?: string | undefined;
@@ -20314,8 +20481,8 @@ export declare const agentListResponseSchema: z.ZodObject<{
20314
20481
  user?: string | null | undefined;
20315
20482
  name?: string | undefined;
20316
20483
  email?: string | null | undefined;
20317
- team?: string | null | undefined;
20318
20484
  org?: string | null | undefined;
20485
+ team?: string | null | undefined;
20319
20486
  description?: string | null | undefined;
20320
20487
  app?: string | undefined;
20321
20488
  created_at?: string | undefined;
@@ -20500,8 +20667,8 @@ export declare const agentListResponseSchema: z.ZodObject<{
20500
20667
  user?: string | null | undefined;
20501
20668
  name?: string | undefined;
20502
20669
  email?: string | null | undefined;
20503
- team?: string | null | undefined;
20504
20670
  org?: string | null | undefined;
20671
+ team?: string | null | undefined;
20505
20672
  description?: string | null | undefined;
20506
20673
  app?: string | undefined;
20507
20674
  created_at?: string | undefined;
@@ -22629,7 +22796,9 @@ export interface AgentTool {
22629
22796
  parameters?: Record<string, unknown> | undefined;
22630
22797
  /** ID of the config record (`cfg_...`) storing the tool's parameter schema. `null` when parameters are defined inline. */
22631
22798
  parameters_config?: string | undefined;
22632
- /** Current status of the tool. One of `"active"` or `"disabled"`. */
22799
+ /** Current MCP setup assessment, not a historical downgrade reason or upstream protocol probe. */
22800
+ setup?: Setup | null | undefined;
22801
+ /** Current status of the tool. One of `"active"` or `"draft"`. */
22633
22802
  status?: string | undefined;
22634
22803
  /** When the tool was last modified (ISO 8601). */
22635
22804
  updated_at?: string | undefined;
@@ -22674,7 +22843,24 @@ export declare const agentToolSchema: z.ZodObject<{
22674
22843
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
22675
22844
  /** ID of the config record (`cfg_...`) storing the tool's parameter schema. `null` when parameters are defined inline. */
22676
22845
  parameters_config: z.ZodOptional<z.ZodString>;
22677
- /** Current status of the tool. One of `"active"` or `"disabled"`. */
22846
+ /** Current MCP setup assessment, not a historical downgrade reason or upstream protocol probe. */
22847
+ setup: z.ZodOptional<z.ZodNullable<z.ZodObject<{
22848
+ /** Recommended next step for MCP setup. */
22849
+ next_action: z.ZodString;
22850
+ /** MCP protocol health is not checked by this assessment. */
22851
+ protocol_status: z.ZodLiteral<"not_checked">;
22852
+ /** Reason for the current MCP setup state. */
22853
+ reason: z.ZodString;
22854
+ }, "strip", z.ZodTypeAny, {
22855
+ next_action: string;
22856
+ protocol_status: "not_checked";
22857
+ reason: string;
22858
+ }, {
22859
+ next_action: string;
22860
+ protocol_status: "not_checked";
22861
+ reason: string;
22862
+ }>>>;
22863
+ /** Current status of the tool. One of `"active"` or `"draft"`. */
22678
22864
  status: z.ZodOptional<z.ZodString>;
22679
22865
  /** When the tool was last modified (ISO 8601). */
22680
22866
  updated_at: z.ZodOptional<z.ZodString>;
@@ -22700,6 +22886,11 @@ export declare const agentToolSchema: z.ZodObject<{
22700
22886
  name_prefix?: string | undefined;
22701
22887
  parameters?: Record<string, {} | null> | undefined;
22702
22888
  parameters_config?: string | undefined;
22889
+ setup?: {
22890
+ next_action: string;
22891
+ protocol_status: "not_checked";
22892
+ reason: string;
22893
+ } | null | undefined;
22703
22894
  }, {
22704
22895
  id: string;
22705
22896
  name?: string | undefined;
@@ -22722,6 +22913,11 @@ export declare const agentToolSchema: z.ZodObject<{
22722
22913
  name_prefix?: string | undefined;
22723
22914
  parameters?: Record<string, {} | null> | undefined;
22724
22915
  parameters_config?: string | undefined;
22916
+ setup?: {
22917
+ next_action: string;
22918
+ protocol_status: "not_checked";
22919
+ reason: string;
22920
+ } | null | undefined;
22725
22921
  }>;
22726
22922
  /** Paginated list response containing the tools attached to an agent. */
22727
22923
  export interface AgentToolListResponse {
@@ -22770,7 +22966,24 @@ export declare const agentToolListResponseSchema: z.ZodObject<{
22770
22966
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
22771
22967
  /** ID of the config record (`cfg_...`) storing the tool's parameter schema. `null` when parameters are defined inline. */
22772
22968
  parameters_config: z.ZodOptional<z.ZodString>;
22773
- /** Current status of the tool. One of `"active"` or `"disabled"`. */
22969
+ /** Current MCP setup assessment, not a historical downgrade reason or upstream protocol probe. */
22970
+ setup: z.ZodOptional<z.ZodNullable<z.ZodObject<{
22971
+ /** Recommended next step for MCP setup. */
22972
+ next_action: z.ZodString;
22973
+ /** MCP protocol health is not checked by this assessment. */
22974
+ protocol_status: z.ZodLiteral<"not_checked">;
22975
+ /** Reason for the current MCP setup state. */
22976
+ reason: z.ZodString;
22977
+ }, "strip", z.ZodTypeAny, {
22978
+ next_action: string;
22979
+ protocol_status: "not_checked";
22980
+ reason: string;
22981
+ }, {
22982
+ next_action: string;
22983
+ protocol_status: "not_checked";
22984
+ reason: string;
22985
+ }>>>;
22986
+ /** Current status of the tool. One of `"active"` or `"draft"`. */
22774
22987
  status: z.ZodOptional<z.ZodString>;
22775
22988
  /** When the tool was last modified (ISO 8601). */
22776
22989
  updated_at: z.ZodOptional<z.ZodString>;
@@ -22796,6 +23009,11 @@ export declare const agentToolListResponseSchema: z.ZodObject<{
22796
23009
  name_prefix?: string | undefined;
22797
23010
  parameters?: Record<string, {} | null> | undefined;
22798
23011
  parameters_config?: string | undefined;
23012
+ setup?: {
23013
+ next_action: string;
23014
+ protocol_status: "not_checked";
23015
+ reason: string;
23016
+ } | null | undefined;
22799
23017
  }, {
22800
23018
  id: string;
22801
23019
  name?: string | undefined;
@@ -22818,6 +23036,11 @@ export declare const agentToolListResponseSchema: z.ZodObject<{
22818
23036
  name_prefix?: string | undefined;
22819
23037
  parameters?: Record<string, {} | null> | undefined;
22820
23038
  parameters_config?: string | undefined;
23039
+ setup?: {
23040
+ next_action: string;
23041
+ protocol_status: "not_checked";
23042
+ reason: string;
23043
+ } | null | undefined;
22821
23044
  }>, "many">;
22822
23045
  }, "strip", z.ZodTypeAny, {
22823
23046
  data: {
@@ -22842,6 +23065,11 @@ export declare const agentToolListResponseSchema: z.ZodObject<{
22842
23065
  name_prefix?: string | undefined;
22843
23066
  parameters?: Record<string, {} | null> | undefined;
22844
23067
  parameters_config?: string | undefined;
23068
+ setup?: {
23069
+ next_action: string;
23070
+ protocol_status: "not_checked";
23071
+ reason: string;
23072
+ } | null | undefined;
22845
23073
  }[];
22846
23074
  }, {
22847
23075
  data: {
@@ -22866,6 +23094,11 @@ export declare const agentToolListResponseSchema: z.ZodObject<{
22866
23094
  name_prefix?: string | undefined;
22867
23095
  parameters?: Record<string, {} | null> | undefined;
22868
23096
  parameters_config?: string | undefined;
23097
+ setup?: {
23098
+ next_action: string;
23099
+ protocol_status: "not_checked";
23100
+ reason: string;
23101
+ } | null | undefined;
22869
23102
  }[];
22870
23103
  }>;
22871
23104
  /**
@@ -23646,7 +23879,7 @@ export declare const agentUpgradeResponseSchema: z.ZodObject<{
23646
23879
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
23647
23880
  /** Solution config ID (`cfg_...`). */
23648
23881
  id: z.ZodString;
23649
- /** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image, and always `null` for org-scoped rows — the permanent URL is minted for system-scope (catalog) Solutions only. */
23882
+ /** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image. Org-only rows remain `null`; when a list entry merges an org copy with its system counterpart, it may reuse the system row's public cover URL. Permanent URLs are never minted for private org assets. */
23650
23883
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23651
23884
  /** Config IDs (`cfg_...`) of this Solution's installations in the viewer's organization. The array is empty when the Solution is visible only from the system catalog. */
23652
23885
  installed_config_ids: z.ZodArray<z.ZodString, "many">;
@@ -24020,7 +24253,7 @@ export declare const agentUpgradeResponseSchema: z.ZodObject<{
24020
24253
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
24021
24254
  /** Solution config ID (`cfg_...`). */
24022
24255
  id: z.ZodString;
24023
- /** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image, and always `null` for org-scoped rows — the permanent URL is minted for system-scope (catalog) Solutions only. */
24256
+ /** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image. Org-only rows remain `null`; when a list entry merges an org copy with its system counterpart, it may reuse the system row's public cover URL. Permanent URLs are never minted for private org assets. */
24024
24257
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24025
24258
  /** Config IDs (`cfg_...`) of this Solution's installations in the viewer's organization. The array is empty when the Solution is visible only from the system catalog. */
24026
24259
  installed_config_ids: z.ZodArray<z.ZodString, "many">;
@@ -24717,8 +24950,8 @@ export declare const agentUpgradeResponseSchema: z.ZodObject<{
24717
24950
  user?: string | null | undefined;
24718
24951
  name?: string | undefined;
24719
24952
  email?: string | null | undefined;
24720
- team?: string | null | undefined;
24721
24953
  org?: string | null | undefined;
24954
+ team?: string | null | undefined;
24722
24955
  description?: string | null | undefined;
24723
24956
  app?: string | undefined;
24724
24957
  created_at?: string | undefined;
@@ -24895,8 +25128,8 @@ export declare const agentUpgradeResponseSchema: z.ZodObject<{
24895
25128
  user?: string | null | undefined;
24896
25129
  name?: string | undefined;
24897
25130
  email?: string | null | undefined;
24898
- team?: string | null | undefined;
24899
25131
  org?: string | null | undefined;
25132
+ team?: string | null | undefined;
24900
25133
  description?: string | null | undefined;
24901
25134
  app?: string | undefined;
24902
25135
  created_at?: string | undefined;
@@ -25081,7 +25314,7 @@ export declare const agentUpgradeResponseSchema: z.ZodObject<{
25081
25314
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
25082
25315
  /** Solution config ID (`cfg_...`). */
25083
25316
  id: z.ZodString;
25084
- /** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image, and always `null` for org-scoped rows — the permanent URL is minted for system-scope (catalog) Solutions only. */
25317
+ /** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image. Org-only rows remain `null`; when a list entry merges an org copy with its system counterpart, it may reuse the system row's public cover URL. Permanent URLs are never minted for private org assets. */
25085
25318
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25086
25319
  /** Config IDs (`cfg_...`) of this Solution's installations in the viewer's organization. The array is empty when the Solution is visible only from the system catalog. */
25087
25320
  installed_config_ids: z.ZodArray<z.ZodString, "many">;
@@ -25943,8 +26176,8 @@ export declare const agentUpgradeResponseSchema: z.ZodObject<{
25943
26176
  user?: string | null | undefined;
25944
26177
  name?: string | undefined;
25945
26178
  email?: string | null | undefined;
25946
- team?: string | null | undefined;
25947
26179
  org?: string | null | undefined;
26180
+ team?: string | null | undefined;
25948
26181
  description?: string | null | undefined;
25949
26182
  app?: string | undefined;
25950
26183
  created_at?: string | undefined;
@@ -26248,8 +26481,8 @@ export declare const agentUpgradeResponseSchema: z.ZodObject<{
26248
26481
  user?: string | null | undefined;
26249
26482
  name?: string | undefined;
26250
26483
  email?: string | null | undefined;
26251
- team?: string | null | undefined;
26252
26484
  org?: string | null | undefined;
26485
+ team?: string | null | undefined;
26253
26486
  description?: string | null | undefined;
26254
26487
  app?: string | undefined;
26255
26488
  created_at?: string | undefined;
@@ -27125,7 +27358,7 @@ export declare const solutionImportResponseSchema: z.ZodObject<{
27125
27358
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
27126
27359
  /** Solution config ID (`cfg_...`). */
27127
27360
  id: z.ZodString;
27128
- /** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image, and always `null` for org-scoped rows — the permanent URL is minted for system-scope (catalog) Solutions only. */
27361
+ /** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image. Org-only rows remain `null`; when a list entry merges an org copy with its system counterpart, it may reuse the system row's public cover URL. Permanent URLs are never minted for private org assets. */
27129
27362
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27130
27363
  /** Config IDs (`cfg_...`) of this Solution's installations in the viewer's organization. The array is empty when the Solution is visible only from the system catalog. */
27131
27364
  installed_config_ids: z.ZodArray<z.ZodString, "many">;
@@ -27975,7 +28208,7 @@ export declare const solutionListResponseSchema: z.ZodObject<{
27975
28208
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
27976
28209
  /** Solution config ID (`cfg_...`). */
27977
28210
  id: z.ZodString;
27978
- /** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image, and always `null` for org-scoped rows — the permanent URL is minted for system-scope (catalog) Solutions only. */
28211
+ /** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image. Org-only rows remain `null`; when a list entry merges an org copy with its system counterpart, it may reuse the system row's public cover URL. Permanent URLs are never minted for private org assets. */
27979
28212
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27980
28213
  /** Config IDs (`cfg_...`) of this Solution's installations in the viewer's organization. The array is empty when the Solution is visible only from the system catalog. */
27981
28214
  installed_config_ids: z.ZodArray<z.ZodString, "many">;
@@ -28994,7 +29227,7 @@ export declare const solutionUpgradeResponseSchema: z.ZodObject<{
28994
29227
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
28995
29228
  /** Solution config ID (`cfg_...`). */
28996
29229
  id: z.ZodString;
28997
- /** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image, and always `null` for org-scoped rows — the permanent URL is minted for system-scope (catalog) Solutions only. */
29230
+ /** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image. Org-only rows remain `null`; when a list entry merges an org copy with its system counterpart, it may reuse the system row's public cover URL. Permanent URLs are never minted for private org assets. */
28998
29231
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28999
29232
  /** Config IDs (`cfg_...`) of this Solution's installations in the viewer's organization. The array is empty when the Solution is visible only from the system catalog. */
29000
29233
  installed_config_ids: z.ZodArray<z.ZodString, "many">;