@archastro/sdk 0.17.0 → 0.19.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 (89) 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/effective-access.d.ts +1 -1
  10. package/dist/effective-access.d.ts.map +1 -1
  11. package/dist/effective-access.js +2 -5
  12. package/dist/effective-access.js.map +1 -1
  13. package/dist/types/ai.d.ts +310 -0
  14. package/dist/types/ai.d.ts.map +1 -1
  15. package/dist/types/ai.js +51 -1
  16. package/dist/types/ai.js.map +1 -1
  17. package/dist/types/artifacts.d.ts +14 -2
  18. package/dist/types/artifacts.d.ts.map +1 -1
  19. package/dist/types/artifacts.js +5 -1
  20. package/dist/types/artifacts.js.map +1 -1
  21. package/dist/types/chat.d.ts +192 -168
  22. package/dist/types/chat.d.ts.map +1 -1
  23. package/dist/types/chat.js +10 -3
  24. package/dist/types/chat.js.map +1 -1
  25. package/dist/types/common.d.ts +347 -128
  26. package/dist/types/common.d.ts.map +1 -1
  27. package/dist/types/common.js +39 -20
  28. package/dist/types/common.js.map +1 -1
  29. package/dist/types/config.d.ts +2 -2
  30. package/dist/types/events.d.ts +32 -32
  31. package/dist/types/extractions.d.ts +12 -12
  32. package/dist/types/tasks.d.ts +34 -8
  33. package/dist/types/tasks.d.ts.map +1 -1
  34. package/dist/types/tasks.js +12 -3
  35. package/dist/types/tasks.js.map +1 -1
  36. package/dist/types/teams.d.ts +10 -10
  37. package/dist/types/threads.d.ts +18 -18
  38. package/dist/types/threads.d.ts.map +1 -1
  39. package/dist/types/threads.js +3 -3
  40. package/dist/types/threads.js.map +1 -1
  41. package/dist/v1/resources/agents.d.ts +8 -2
  42. package/dist/v1/resources/agents.d.ts.map +1 -1
  43. package/dist/v1/resources/agents.js +7 -2
  44. package/dist/v1/resources/agents.js.map +1 -1
  45. package/dist/v1/resources/ai.d.ts +72 -1
  46. package/dist/v1/resources/ai.d.ts.map +1 -1
  47. package/dist/v1/resources/ai.js +44 -1
  48. package/dist/v1/resources/ai.js.map +1 -1
  49. package/dist/v1/resources/artifacts.d.ts +52 -0
  50. package/dist/v1/resources/artifacts.d.ts.map +1 -1
  51. package/dist/v1/resources/artifacts.js +35 -1
  52. package/dist/v1/resources/artifacts.js.map +1 -1
  53. package/dist/v1/resources/files.d.ts +7 -0
  54. package/dist/v1/resources/files.d.ts.map +1 -1
  55. package/dist/v1/resources/files.js +8 -1
  56. package/dist/v1/resources/files.js.map +1 -1
  57. package/dist/v1/resources/knowledge_sources.d.ts +41 -0
  58. package/dist/v1/resources/knowledge_sources.d.ts.map +1 -1
  59. package/dist/v1/resources/knowledge_sources.js +31 -1
  60. package/dist/v1/resources/knowledge_sources.js.map +1 -1
  61. package/dist/v1/resources/orgs.d.ts +506 -0
  62. package/dist/v1/resources/orgs.d.ts.map +1 -1
  63. package/dist/v1/resources/orgs.js +71 -1
  64. package/dist/v1/resources/orgs.js.map +1 -1
  65. package/dist/v1/resources/sandboxes.d.ts +3 -2
  66. package/dist/v1/resources/sandboxes.d.ts.map +1 -1
  67. package/dist/v1/resources/sandboxes.js +4 -3
  68. package/dist/v1/resources/sandboxes.js.map +1 -1
  69. package/dist/v1/resources/scripts.d.ts +6 -2
  70. package/dist/v1/resources/scripts.d.ts.map +1 -1
  71. package/dist/v1/resources/scripts.js +5 -3
  72. package/dist/v1/resources/scripts.js.map +1 -1
  73. package/dist/v1/resources/tasks.d.ts +58 -3
  74. package/dist/v1/resources/tasks.d.ts.map +1 -1
  75. package/dist/v1/resources/tasks.js +61 -2
  76. package/dist/v1/resources/tasks.js.map +1 -1
  77. package/dist/v1/resources/teams.d.ts +46 -14
  78. package/dist/v1/resources/teams.d.ts.map +1 -1
  79. package/dist/v1/resources/teams.js +54 -16
  80. package/dist/v1/resources/teams.js.map +1 -1
  81. package/dist/v1/resources/threads.d.ts +16 -6
  82. package/dist/v1/resources/threads.d.ts.map +1 -1
  83. package/dist/v1/resources/threads.js +19 -8
  84. package/dist/v1/resources/threads.js.map +1 -1
  85. package/dist/v1/resources/users.d.ts +13 -3
  86. package/dist/v1/resources/users.d.ts.map +1 -1
  87. package/dist/v1/resources/users.js +13 -3
  88. package/dist/v1/resources/users.js.map +1 -1
  89. 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. */
@@ -5179,11 +5205,11 @@ export interface Attachment {
5179
5205
  media_type?: string | undefined;
5180
5206
  /** Display name of the media item. Present on `media` type only. `null` otherwise. */
5181
5207
  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. */
5208
+ /** 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
5209
  object?: Record<string, unknown> | undefined;
5184
5210
  /** 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
5211
  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. */
5212
+ /** The attachment type. One of `"file"`, `"scraped_link"`, `"artifact"`, `"task"`, `"media"`, `"action"`, `"chart"`, or `"structured_data"`. Determines which additional fields are present. */
5187
5213
  type: string;
5188
5214
  /** 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
5215
  url?: string | null | undefined;
@@ -5242,11 +5268,11 @@ export declare const attachmentSchema: z.ZodObject<{
5242
5268
  media_type: z.ZodOptional<z.ZodString>;
5243
5269
  /** Display name of the media item. Present on `media` type only. `null` otherwise. */
5244
5270
  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. */
5271
+ /** 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
5272
  object: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
5247
5273
  /** 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
5274
  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. */
5275
+ /** The attachment type. One of `"file"`, `"scraped_link"`, `"artifact"`, `"task"`, `"media"`, `"action"`, `"chart"`, or `"structured_data"`. Determines which additional fields are present. */
5250
5276
  type: z.ZodString;
5251
5277
  /** 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
5278
  url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5440,6 +5466,8 @@ export declare const attachmentSchema: z.ZodObject<{
5440
5466
  }>;
5441
5467
  /** Credential bundle returned after a successful authentication exchange. Contains the access token, refresh token, and the authenticated user. */
5442
5468
  export interface AuthTokens {
5469
+ /** `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`. */
5470
+ account_created: boolean;
5443
5471
  /** Number of seconds until `token` expires. After this period, use `refresh_token` to obtain a new access token. */
5444
5472
  expires_in: number;
5445
5473
  /** 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 +5483,8 @@ export interface AuthTokens {
5455
5483
  }
5456
5484
  /** Runtime validator for {@link AuthTokens}. */
5457
5485
  export declare const authTokensSchema: z.ZodObject<{
5486
+ /** `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`. */
5487
+ account_created: z.ZodBoolean;
5458
5488
  /** Number of seconds until `token` expires. After this period, use `refresh_token` to obtain a new access token. */
5459
5489
  expires_in: z.ZodNumber;
5460
5490
  /** 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 +5582,7 @@ export declare const authTokensSchema: z.ZodObject<{
5552
5582
  expires_in: number;
5553
5583
  refresh_token: string;
5554
5584
  token: string;
5585
+ account_created: boolean;
5555
5586
  token_type: string;
5556
5587
  metadata?: Record<string, {} | null> | undefined;
5557
5588
  }, {
@@ -5579,6 +5610,7 @@ export declare const authTokensSchema: z.ZodObject<{
5579
5610
  expires_in: number;
5580
5611
  refresh_token: string;
5581
5612
  token: string;
5613
+ account_created: boolean;
5582
5614
  token_type: string;
5583
5615
  metadata?: Record<string, {} | null> | undefined;
5584
5616
  }>;
@@ -5636,8 +5668,8 @@ export declare const bugReportSchema: z.ZodObject<{
5636
5668
  id: string;
5637
5669
  client: string;
5638
5670
  client_version: string;
5639
- team?: string | undefined;
5640
5671
  org?: string | undefined;
5672
+ team?: string | undefined;
5641
5673
  app?: string | undefined;
5642
5674
  created_at?: string | undefined;
5643
5675
  updated_at?: string | undefined;
@@ -5648,8 +5680,8 @@ export declare const bugReportSchema: z.ZodObject<{
5648
5680
  id: string;
5649
5681
  client: string;
5650
5682
  client_version: string;
5651
- team?: string | undefined;
5652
5683
  org?: string | undefined;
5684
+ team?: string | undefined;
5653
5685
  app?: string | undefined;
5654
5686
  created_at?: string | undefined;
5655
5687
  updated_at?: string | undefined;
@@ -5774,12 +5806,12 @@ export declare const cancelledSchema: z.ZodObject<{
5774
5806
  status: z.ZodLiteral<"cancelled">;
5775
5807
  }, "strip", z.ZodTypeAny, {
5776
5808
  status: "cancelled";
5777
- call_id: string;
5778
5809
  reason: string;
5810
+ call_id: string;
5779
5811
  }, {
5780
5812
  status: "cancelled";
5781
- call_id: string;
5782
5813
  reason: string;
5814
+ call_id: string;
5783
5815
  }>;
5784
5816
  /** Empty acknowledgement payload returned by channel message handlers that produce no data. The wire envelope is `{"status": "ok", "response": {}}`. */
5785
5817
  export interface ChannelAck {
@@ -6123,11 +6155,11 @@ export declare const messageSchema: z.ZodObject<{
6123
6155
  media_type: z.ZodOptional<z.ZodString>;
6124
6156
  /** Display name of the media item. Present on `media` type only. `null` otherwise. */
6125
6157
  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. */
6158
+ /** 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
6159
  object: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
6128
6160
  /** 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
6161
  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. */
6162
+ /** The attachment type. One of `"file"`, `"scraped_link"`, `"artifact"`, `"task"`, `"media"`, `"action"`, `"chart"`, or `"structured_data"`. Determines which additional fields are present. */
6131
6163
  type: z.ZodString;
6132
6164
  /** 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
6165
  url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6487,10 +6519,10 @@ export declare const messageSchema: z.ZodObject<{
6487
6519
  org_slug?: string | null | undefined;
6488
6520
  sandbox_name?: string | null | undefined;
6489
6521
  } | null | undefined;
6522
+ org?: string | null | undefined;
6490
6523
  agent?: string | null | undefined;
6491
6524
  thread?: string | undefined;
6492
6525
  team?: string | null | undefined;
6493
- org?: string | null | undefined;
6494
6526
  type?: string | null | undefined;
6495
6527
  created_at?: string | undefined;
6496
6528
  sandbox?: string | null | undefined;
@@ -6622,10 +6654,10 @@ export declare const messageSchema: z.ZodObject<{
6622
6654
  org_slug?: string | null | undefined;
6623
6655
  sandbox_name?: string | null | undefined;
6624
6656
  } | null | undefined;
6657
+ org?: string | null | undefined;
6625
6658
  agent?: string | null | undefined;
6626
6659
  thread?: string | undefined;
6627
6660
  team?: string | null | undefined;
6628
- org?: string | null | undefined;
6629
6661
  type?: string | null | undefined;
6630
6662
  created_at?: string | undefined;
6631
6663
  sandbox?: string | null | undefined;
@@ -6754,30 +6786,6 @@ export declare const okSchema: z.ZodObject<{
6754
6786
  status: "ok";
6755
6787
  call_id: string;
6756
6788
  }>;
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
6789
  /** A workflow command that a workflow node can invoke, including its identifier, human-readable name, and JSON schemas for its inputs and outputs. */
6782
6790
  export interface Command {
6783
6791
  /** Human-readable description of what the command does, shown alongside the name in the workflow builder. */
@@ -7129,23 +7137,78 @@ export declare const createdPrivateServiceEnrollmentSchema: z.ZodObject<{
7129
7137
  generation: number;
7130
7138
  private_service: string;
7131
7139
  }>;
7132
- /** Billing administration authority for one Viewer-derived principal kind. */
7140
+ /** Privacy-safe current trial state for one Viewer-derived billing principal. */
7141
+ export interface EffectiveAccessBillingTrial {
7142
+ /** Effective trial end: the earlier of its accepted boundary and enrollment end. */
7143
+ ends_at: string;
7144
+ /** Whether a provider webhook has confirmed a stored payment method. */
7145
+ payment_method_stored: boolean;
7146
+ /** Catalog plan whose trial is active. */
7147
+ plan: string;
7148
+ }
7149
+ /** Runtime validator for {@link EffectiveAccessBillingTrial}. */
7150
+ export declare const effectiveAccessBillingTrialSchema: z.ZodObject<{
7151
+ /** Effective trial end: the earlier of its accepted boundary and enrollment end. */
7152
+ ends_at: z.ZodString;
7153
+ /** Whether a provider webhook has confirmed a stored payment method. */
7154
+ payment_method_stored: z.ZodBoolean;
7155
+ /** Catalog plan whose trial is active. */
7156
+ plan: z.ZodString;
7157
+ }, "strip", z.ZodTypeAny, {
7158
+ ends_at: string;
7159
+ payment_method_stored: boolean;
7160
+ plan: string;
7161
+ }, {
7162
+ ends_at: string;
7163
+ payment_method_stored: boolean;
7164
+ plan: string;
7165
+ }>;
7166
+ /** Billing authority and relevant active trials for one Viewer-derived principal kind. */
7133
7167
  export interface EffectiveAccessBillingPrincipal {
7134
7168
  /** Whether the authenticated user may administer this principal's billing account. */
7135
7169
  administrator: boolean;
7136
7170
  principal_type: "user" | "org";
7171
+ /** Currently active trials for this Viewer-derived principal. Contains no billing-account or provider identifiers. */
7172
+ trials: EffectiveAccessBillingTrial[];
7137
7173
  }
7138
7174
  /** Runtime validator for {@link EffectiveAccessBillingPrincipal}. */
7139
7175
  export declare const effectiveAccessBillingPrincipalSchema: z.ZodObject<{
7140
7176
  /** Whether the authenticated user may administer this principal's billing account. */
7141
7177
  administrator: z.ZodBoolean;
7142
7178
  principal_type: z.ZodEnum<["user", "org"]>;
7179
+ /** Currently active trials for this Viewer-derived principal. Contains no billing-account or provider identifiers. */
7180
+ trials: z.ZodArray<z.ZodObject<{
7181
+ /** Effective trial end: the earlier of its accepted boundary and enrollment end. */
7182
+ ends_at: z.ZodString;
7183
+ /** Whether a provider webhook has confirmed a stored payment method. */
7184
+ payment_method_stored: z.ZodBoolean;
7185
+ /** Catalog plan whose trial is active. */
7186
+ plan: z.ZodString;
7187
+ }, "strip", z.ZodTypeAny, {
7188
+ ends_at: string;
7189
+ payment_method_stored: boolean;
7190
+ plan: string;
7191
+ }, {
7192
+ ends_at: string;
7193
+ payment_method_stored: boolean;
7194
+ plan: string;
7195
+ }>, "many">;
7143
7196
  }, "strip", z.ZodTypeAny, {
7144
7197
  principal_type: "user" | "org";
7145
7198
  administrator: boolean;
7199
+ trials: {
7200
+ ends_at: string;
7201
+ payment_method_stored: boolean;
7202
+ plan: string;
7203
+ }[];
7146
7204
  }, {
7147
7205
  principal_type: "user" | "org";
7148
7206
  administrator: boolean;
7207
+ trials: {
7208
+ ends_at: string;
7209
+ payment_method_stored: boolean;
7210
+ plan: string;
7211
+ }[];
7149
7212
  }>;
7150
7213
  /** A billing-derived effective entitlement for the authenticated user. */
7151
7214
  export interface EffectiveAccessEntitlement {
@@ -7185,26 +7248,53 @@ export declare const effectiveAccessEntitlementSchema: z.ZodObject<{
7185
7248
  value_type: "boolean";
7186
7249
  value?: boolean | null | undefined;
7187
7250
  }>;
7188
- /** Live effective access and billing authority for the authenticated user. */
7251
+ /** Live effective access, billing authority, and relevant trials for the authenticated user. */
7189
7252
  export interface EffectiveAccess {
7190
- /** Administration authority for the personal and current-organization principals. */
7253
+ /** Administration authority and requested-entitlement-relevant trials for the personal and current-organization principals. */
7191
7254
  billing: EffectiveAccessBillingPrincipal[];
7192
7255
  /** Requested catalog entitlements in request order. */
7193
7256
  entitlements: EffectiveAccessEntitlement[];
7194
7257
  }
7195
7258
  /** Runtime validator for {@link EffectiveAccess}. */
7196
7259
  export declare const effectiveAccessSchema: z.ZodObject<{
7197
- /** Administration authority for the personal and current-organization principals. */
7260
+ /** Administration authority and requested-entitlement-relevant trials for the personal and current-organization principals. */
7198
7261
  billing: z.ZodArray<z.ZodObject<{
7199
7262
  /** Whether the authenticated user may administer this principal's billing account. */
7200
7263
  administrator: z.ZodBoolean;
7201
7264
  principal_type: z.ZodEnum<["user", "org"]>;
7265
+ /** Currently active trials for this Viewer-derived principal. Contains no billing-account or provider identifiers. */
7266
+ trials: z.ZodArray<z.ZodObject<{
7267
+ /** Effective trial end: the earlier of its accepted boundary and enrollment end. */
7268
+ ends_at: z.ZodString;
7269
+ /** Whether a provider webhook has confirmed a stored payment method. */
7270
+ payment_method_stored: z.ZodBoolean;
7271
+ /** Catalog plan whose trial is active. */
7272
+ plan: z.ZodString;
7273
+ }, "strip", z.ZodTypeAny, {
7274
+ ends_at: string;
7275
+ payment_method_stored: boolean;
7276
+ plan: string;
7277
+ }, {
7278
+ ends_at: string;
7279
+ payment_method_stored: boolean;
7280
+ plan: string;
7281
+ }>, "many">;
7202
7282
  }, "strip", z.ZodTypeAny, {
7203
7283
  principal_type: "user" | "org";
7204
7284
  administrator: boolean;
7285
+ trials: {
7286
+ ends_at: string;
7287
+ payment_method_stored: boolean;
7288
+ plan: string;
7289
+ }[];
7205
7290
  }, {
7206
7291
  principal_type: "user" | "org";
7207
7292
  administrator: boolean;
7293
+ trials: {
7294
+ ends_at: string;
7295
+ payment_method_stored: boolean;
7296
+ plan: string;
7297
+ }[];
7208
7298
  }>, "many">;
7209
7299
  /** Requested catalog entitlements in request order. */
7210
7300
  entitlements: z.ZodArray<z.ZodObject<{
@@ -7235,6 +7325,11 @@ export declare const effectiveAccessSchema: z.ZodObject<{
7235
7325
  billing: {
7236
7326
  principal_type: "user" | "org";
7237
7327
  administrator: boolean;
7328
+ trials: {
7329
+ ends_at: string;
7330
+ payment_method_stored: boolean;
7331
+ plan: string;
7332
+ }[];
7238
7333
  }[];
7239
7334
  entitlements: {
7240
7335
  key: string;
@@ -7247,6 +7342,11 @@ export declare const effectiveAccessSchema: z.ZodObject<{
7247
7342
  billing: {
7248
7343
  principal_type: "user" | "org";
7249
7344
  administrator: boolean;
7345
+ trials: {
7346
+ ends_at: string;
7347
+ payment_method_stored: boolean;
7348
+ plan: string;
7349
+ }[];
7250
7350
  }[];
7251
7351
  entitlements: {
7252
7352
  key: string;
@@ -7280,6 +7380,8 @@ export interface CurrentUser {
7280
7380
  notification_settings: Record<string, unknown>;
7281
7381
  /** ID of the current organization (`org_...`). */
7282
7382
  org?: string | null | undefined;
7383
+ /** Whether the current organization is company-domain or person-owned. */
7384
+ org_kind?: "company" | "personal" | null | undefined;
7283
7385
  /** Display name of the current organization. */
7284
7386
  org_name?: string | null | undefined;
7285
7387
  /** The authenticated user's role in the current organization. */
@@ -7305,17 +7407,44 @@ export declare const currentUserSchema: z.ZodObject<{
7305
7407
  app_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7306
7408
  /** Present only when the request supplies one or more `entitlement[]` values. */
7307
7409
  effective_access: z.ZodOptional<z.ZodObject<{
7308
- /** Administration authority for the personal and current-organization principals. */
7410
+ /** Administration authority and requested-entitlement-relevant trials for the personal and current-organization principals. */
7309
7411
  billing: z.ZodArray<z.ZodObject<{
7310
7412
  /** Whether the authenticated user may administer this principal's billing account. */
7311
7413
  administrator: z.ZodBoolean;
7312
7414
  principal_type: z.ZodEnum<["user", "org"]>;
7415
+ /** Currently active trials for this Viewer-derived principal. Contains no billing-account or provider identifiers. */
7416
+ trials: z.ZodArray<z.ZodObject<{
7417
+ /** Effective trial end: the earlier of its accepted boundary and enrollment end. */
7418
+ ends_at: z.ZodString;
7419
+ /** Whether a provider webhook has confirmed a stored payment method. */
7420
+ payment_method_stored: z.ZodBoolean;
7421
+ /** Catalog plan whose trial is active. */
7422
+ plan: z.ZodString;
7423
+ }, "strip", z.ZodTypeAny, {
7424
+ ends_at: string;
7425
+ payment_method_stored: boolean;
7426
+ plan: string;
7427
+ }, {
7428
+ ends_at: string;
7429
+ payment_method_stored: boolean;
7430
+ plan: string;
7431
+ }>, "many">;
7313
7432
  }, "strip", z.ZodTypeAny, {
7314
7433
  principal_type: "user" | "org";
7315
7434
  administrator: boolean;
7435
+ trials: {
7436
+ ends_at: string;
7437
+ payment_method_stored: boolean;
7438
+ plan: string;
7439
+ }[];
7316
7440
  }, {
7317
7441
  principal_type: "user" | "org";
7318
7442
  administrator: boolean;
7443
+ trials: {
7444
+ ends_at: string;
7445
+ payment_method_stored: boolean;
7446
+ plan: string;
7447
+ }[];
7319
7448
  }>, "many">;
7320
7449
  /** Requested catalog entitlements in request order. */
7321
7450
  entitlements: z.ZodArray<z.ZodObject<{
@@ -7346,6 +7475,11 @@ export declare const currentUserSchema: z.ZodObject<{
7346
7475
  billing: {
7347
7476
  principal_type: "user" | "org";
7348
7477
  administrator: boolean;
7478
+ trials: {
7479
+ ends_at: string;
7480
+ payment_method_stored: boolean;
7481
+ plan: string;
7482
+ }[];
7349
7483
  }[];
7350
7484
  entitlements: {
7351
7485
  key: string;
@@ -7358,6 +7492,11 @@ export declare const currentUserSchema: z.ZodObject<{
7358
7492
  billing: {
7359
7493
  principal_type: "user" | "org";
7360
7494
  administrator: boolean;
7495
+ trials: {
7496
+ ends_at: string;
7497
+ payment_method_stored: boolean;
7498
+ plan: string;
7499
+ }[];
7361
7500
  }[];
7362
7501
  entitlements: {
7363
7502
  key: string;
@@ -7381,6 +7520,8 @@ export declare const currentUserSchema: z.ZodObject<{
7381
7520
  notification_settings: z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>;
7382
7521
  /** ID of the current organization (`org_...`). */
7383
7522
  org: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7523
+ /** Whether the current organization is company-domain or person-owned. */
7524
+ org_kind: z.ZodOptional<z.ZodNullable<z.ZodEnum<["company", "personal"]>>>;
7384
7525
  /** Display name of the current organization. */
7385
7526
  org_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7386
7527
  /** The authenticated user's role in the current organization. */
@@ -7449,6 +7590,11 @@ export declare const currentUserSchema: z.ZodObject<{
7449
7590
  billing: {
7450
7591
  principal_type: "user" | "org";
7451
7592
  administrator: boolean;
7593
+ trials: {
7594
+ ends_at: string;
7595
+ payment_method_stored: boolean;
7596
+ plan: string;
7597
+ }[];
7452
7598
  }[];
7453
7599
  entitlements: {
7454
7600
  key: string;
@@ -7458,6 +7604,7 @@ export declare const currentUserSchema: z.ZodObject<{
7458
7604
  value?: boolean | null | undefined;
7459
7605
  }[];
7460
7606
  } | undefined;
7607
+ org_kind?: "personal" | "company" | null | undefined;
7461
7608
  }, {
7462
7609
  id: string;
7463
7610
  is_system_user: boolean;
@@ -7488,6 +7635,11 @@ export declare const currentUserSchema: z.ZodObject<{
7488
7635
  billing: {
7489
7636
  principal_type: "user" | "org";
7490
7637
  administrator: boolean;
7638
+ trials: {
7639
+ ends_at: string;
7640
+ payment_method_stored: boolean;
7641
+ plan: string;
7642
+ }[];
7491
7643
  }[];
7492
7644
  entitlements: {
7493
7645
  key: string;
@@ -7497,6 +7649,7 @@ export declare const currentUserSchema: z.ZodObject<{
7497
7649
  value?: boolean | null | undefined;
7498
7650
  }[];
7499
7651
  } | undefined;
7652
+ org_kind?: "personal" | "company" | null | undefined;
7500
7653
  }>;
7501
7654
  /** A custom object belonging to an organization. Custom objects store arbitrary structured data defined by a schema type and are scoped to an org, team, or user. */
7502
7655
  export interface CustomObject {
@@ -7632,8 +7785,8 @@ export declare const customObjectSchema: z.ZodObject<{
7632
7785
  }, "strip", z.ZodTypeAny, {
7633
7786
  id: string;
7634
7787
  user?: string | undefined;
7635
- team?: string | undefined;
7636
7788
  org?: string | undefined;
7789
+ team?: string | undefined;
7637
7790
  created_at?: string | undefined;
7638
7791
  updated_at?: string | undefined;
7639
7792
  sandbox?: string | undefined;
@@ -7660,8 +7813,8 @@ export declare const customObjectSchema: z.ZodObject<{
7660
7813
  }, {
7661
7814
  id: string;
7662
7815
  user?: string | undefined;
7663
- team?: string | undefined;
7664
7816
  org?: string | undefined;
7817
+ team?: string | undefined;
7665
7818
  created_at?: string | undefined;
7666
7819
  updated_at?: string | undefined;
7667
7820
  sandbox?: string | undefined;
@@ -7850,8 +8003,8 @@ export declare const customObjectListResponseSchema: z.ZodObject<{
7850
8003
  }, "strip", z.ZodTypeAny, {
7851
8004
  id: string;
7852
8005
  user?: string | undefined;
7853
- team?: string | undefined;
7854
8006
  org?: string | undefined;
8007
+ team?: string | undefined;
7855
8008
  created_at?: string | undefined;
7856
8009
  updated_at?: string | undefined;
7857
8010
  sandbox?: string | undefined;
@@ -7878,8 +8031,8 @@ export declare const customObjectListResponseSchema: z.ZodObject<{
7878
8031
  }, {
7879
8032
  id: string;
7880
8033
  user?: string | undefined;
7881
- team?: string | undefined;
7882
8034
  org?: string | undefined;
8035
+ team?: string | undefined;
7883
8036
  created_at?: string | undefined;
7884
8037
  updated_at?: string | undefined;
7885
8038
  sandbox?: string | undefined;
@@ -7920,8 +8073,8 @@ export declare const customObjectListResponseSchema: z.ZodObject<{
7920
8073
  data: {
7921
8074
  id: string;
7922
8075
  user?: string | undefined;
7923
- team?: string | undefined;
7924
8076
  org?: string | undefined;
8077
+ team?: string | undefined;
7925
8078
  created_at?: string | undefined;
7926
8079
  updated_at?: string | undefined;
7927
8080
  sandbox?: string | undefined;
@@ -7956,8 +8109,8 @@ export declare const customObjectListResponseSchema: z.ZodObject<{
7956
8109
  data: {
7957
8110
  id: string;
7958
8111
  user?: string | undefined;
7959
- team?: string | undefined;
7960
8112
  org?: string | undefined;
8113
+ team?: string | undefined;
7961
8114
  created_at?: string | undefined;
7962
8115
  updated_at?: string | undefined;
7963
8116
  sandbox?: string | undefined;
@@ -8198,9 +8351,9 @@ export declare const domainEventSchema: z.ZodObject<{
8198
8351
  id: string;
8199
8352
  event_name: string;
8200
8353
  user?: string | undefined;
8354
+ org?: string | undefined;
8201
8355
  agent?: string | undefined;
8202
8356
  team?: string | undefined;
8203
- org?: string | undefined;
8204
8357
  sandbox?: string | undefined;
8205
8358
  idempotency_key?: string | undefined;
8206
8359
  }, {
@@ -8209,9 +8362,9 @@ export declare const domainEventSchema: z.ZodObject<{
8209
8362
  id: string;
8210
8363
  event_name: string;
8211
8364
  user?: string | undefined;
8365
+ org?: string | undefined;
8212
8366
  agent?: string | undefined;
8213
8367
  team?: string | undefined;
8214
- org?: string | undefined;
8215
8368
  sandbox?: string | undefined;
8216
8369
  idempotency_key?: string | undefined;
8217
8370
  }>;
@@ -8304,9 +8457,9 @@ export declare const externalObjectSchema: z.ZodObject<{
8304
8457
  integration: string;
8305
8458
  service: "cloudflare";
8306
8459
  user?: string | undefined;
8460
+ org?: string | undefined;
8307
8461
  agent?: string | undefined;
8308
8462
  team?: string | undefined;
8309
- org?: string | undefined;
8310
8463
  }, {
8311
8464
  object: {
8312
8465
  name: string;
@@ -8327,9 +8480,9 @@ export declare const externalObjectSchema: z.ZodObject<{
8327
8480
  integration: string;
8328
8481
  service: "cloudflare";
8329
8482
  user?: string | undefined;
8483
+ org?: string | undefined;
8330
8484
  agent?: string | undefined;
8331
8485
  team?: string | undefined;
8332
- org?: string | undefined;
8333
8486
  }>;
8334
8487
  /** A file stored in the platform's object storage, with metadata and a signed URL for downloading its contents. */
8335
8488
  export interface StorageFile {
@@ -8419,8 +8572,8 @@ export declare const storageFileSchema: z.ZodObject<{
8419
8572
  }, "strip", z.ZodTypeAny, {
8420
8573
  id: string;
8421
8574
  user?: string | undefined;
8422
- team?: string | undefined;
8423
8575
  org?: string | undefined;
8576
+ team?: string | undefined;
8424
8577
  app?: string | undefined;
8425
8578
  created_at?: string | undefined;
8426
8579
  updated_at?: string | undefined;
@@ -8442,8 +8595,8 @@ export declare const storageFileSchema: z.ZodObject<{
8442
8595
  }, {
8443
8596
  id: string;
8444
8597
  user?: string | undefined;
8445
- team?: string | undefined;
8446
8598
  org?: string | undefined;
8599
+ team?: string | undefined;
8447
8600
  app?: string | undefined;
8448
8601
  created_at?: string | undefined;
8449
8602
  updated_at?: string | undefined;
@@ -8548,8 +8701,8 @@ export declare const agentHealthActionSchema: z.ZodObject<{
8548
8701
  title: string;
8549
8702
  source: string;
8550
8703
  sort_order: number;
8551
- agent?: string | undefined;
8552
8704
  org?: string | undefined;
8705
+ agent?: string | undefined;
8553
8706
  description?: string | undefined;
8554
8707
  params?: Record<string, {} | null> | undefined;
8555
8708
  app?: string | undefined;
@@ -8567,8 +8720,8 @@ export declare const agentHealthActionSchema: z.ZodObject<{
8567
8720
  title: string;
8568
8721
  source: string;
8569
8722
  sort_order: number;
8570
- agent?: string | undefined;
8571
8723
  org?: string | undefined;
8724
+ agent?: string | undefined;
8572
8725
  description?: string | undefined;
8573
8726
  params?: Record<string, {} | null> | undefined;
8574
8727
  app?: string | undefined;
@@ -8632,8 +8785,8 @@ export declare const healthActionListResponseSchema: z.ZodObject<{
8632
8785
  title: string;
8633
8786
  source: string;
8634
8787
  sort_order: number;
8635
- agent?: string | undefined;
8636
8788
  org?: string | undefined;
8789
+ agent?: string | undefined;
8637
8790
  description?: string | undefined;
8638
8791
  params?: Record<string, {} | null> | undefined;
8639
8792
  app?: string | undefined;
@@ -8651,8 +8804,8 @@ export declare const healthActionListResponseSchema: z.ZodObject<{
8651
8804
  title: string;
8652
8805
  source: string;
8653
8806
  sort_order: number;
8654
- agent?: string | undefined;
8655
8807
  org?: string | undefined;
8808
+ agent?: string | undefined;
8656
8809
  description?: string | undefined;
8657
8810
  params?: Record<string, {} | null> | undefined;
8658
8811
  app?: string | undefined;
@@ -8672,8 +8825,8 @@ export declare const healthActionListResponseSchema: z.ZodObject<{
8672
8825
  title: string;
8673
8826
  source: string;
8674
8827
  sort_order: number;
8675
- agent?: string | undefined;
8676
8828
  org?: string | undefined;
8829
+ agent?: string | undefined;
8677
8830
  description?: string | undefined;
8678
8831
  params?: Record<string, {} | null> | undefined;
8679
8832
  app?: string | undefined;
@@ -8693,8 +8846,8 @@ export declare const healthActionListResponseSchema: z.ZodObject<{
8693
8846
  title: string;
8694
8847
  source: string;
8695
8848
  sort_order: number;
8696
- agent?: string | undefined;
8697
8849
  org?: string | undefined;
8850
+ agent?: string | undefined;
8698
8851
  description?: string | undefined;
8699
8852
  params?: Record<string, {} | null> | undefined;
8700
8853
  app?: string | undefined;
@@ -9414,10 +9567,10 @@ export declare const knowledgeSourceSchema: z.ZodObject<{
9414
9567
  id: string;
9415
9568
  state: string;
9416
9569
  user?: string | undefined;
9570
+ org?: string | undefined;
9417
9571
  agent?: string | undefined;
9418
9572
  thread?: string | undefined;
9419
9573
  team?: string | undefined;
9420
- org?: string | undefined;
9421
9574
  payload?: Record<string, {} | null> | undefined;
9422
9575
  created_at?: string | undefined;
9423
9576
  updated_at?: string | undefined;
@@ -9430,10 +9583,10 @@ export declare const knowledgeSourceSchema: z.ZodObject<{
9430
9583
  id: string;
9431
9584
  state: string;
9432
9585
  user?: string | undefined;
9586
+ org?: string | undefined;
9433
9587
  agent?: string | undefined;
9434
9588
  thread?: string | undefined;
9435
9589
  team?: string | undefined;
9436
- org?: string | undefined;
9437
9590
  payload?: Record<string, {} | null> | undefined;
9438
9591
  created_at?: string | undefined;
9439
9592
  updated_at?: string | undefined;
@@ -9886,11 +10039,11 @@ export declare const paginatedRepliesSchema: z.ZodObject<{
9886
10039
  media_type: z.ZodOptional<z.ZodString>;
9887
10040
  /** Display name of the media item. Present on `media` type only. `null` otherwise. */
9888
10041
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9889
- /** 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. */
10042
+ /** 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. */
9890
10043
  object: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
9891
10044
  /** Display title. The page title for `scraped_link`, the artifact name for `artifact`, and the task title for `task` types. `null` on other types. */
9892
10045
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9893
- /** The attachment type. One of `"file"`, `"scraped_link"`, `"artifact"`, `"task"`, `"media"`, `"action"`, or `"chart"`. Determines which additional fields are present. */
10046
+ /** The attachment type. One of `"file"`, `"scraped_link"`, `"artifact"`, `"task"`, `"media"`, `"action"`, `"chart"`, or `"structured_data"`. Determines which additional fields are present. */
9894
10047
  type: z.ZodString;
9895
10048
  /** 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. */
9896
10049
  url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -10250,10 +10403,10 @@ export declare const paginatedRepliesSchema: z.ZodObject<{
10250
10403
  org_slug?: string | null | undefined;
10251
10404
  sandbox_name?: string | null | undefined;
10252
10405
  } | null | undefined;
10406
+ org?: string | null | undefined;
10253
10407
  agent?: string | null | undefined;
10254
10408
  thread?: string | undefined;
10255
10409
  team?: string | null | undefined;
10256
- org?: string | null | undefined;
10257
10410
  type?: string | null | undefined;
10258
10411
  created_at?: string | undefined;
10259
10412
  sandbox?: string | null | undefined;
@@ -10385,10 +10538,10 @@ export declare const paginatedRepliesSchema: z.ZodObject<{
10385
10538
  org_slug?: string | null | undefined;
10386
10539
  sandbox_name?: string | null | undefined;
10387
10540
  } | null | undefined;
10541
+ org?: string | null | undefined;
10388
10542
  agent?: string | null | undefined;
10389
10543
  thread?: string | undefined;
10390
10544
  team?: string | null | undefined;
10391
- org?: string | null | undefined;
10392
10545
  type?: string | null | undefined;
10393
10546
  created_at?: string | undefined;
10394
10547
  sandbox?: string | null | undefined;
@@ -10524,10 +10677,10 @@ export declare const paginatedRepliesSchema: z.ZodObject<{
10524
10677
  org_slug?: string | null | undefined;
10525
10678
  sandbox_name?: string | null | undefined;
10526
10679
  } | null | undefined;
10680
+ org?: string | null | undefined;
10527
10681
  agent?: string | null | undefined;
10528
10682
  thread?: string | undefined;
10529
10683
  team?: string | null | undefined;
10530
- org?: string | null | undefined;
10531
10684
  type?: string | null | undefined;
10532
10685
  created_at?: string | undefined;
10533
10686
  sandbox?: string | null | undefined;
@@ -10665,10 +10818,10 @@ export declare const paginatedRepliesSchema: z.ZodObject<{
10665
10818
  org_slug?: string | null | undefined;
10666
10819
  sandbox_name?: string | null | undefined;
10667
10820
  } | null | undefined;
10821
+ org?: string | null | undefined;
10668
10822
  agent?: string | null | undefined;
10669
10823
  thread?: string | undefined;
10670
10824
  team?: string | null | undefined;
10671
- org?: string | null | undefined;
10672
10825
  type?: string | null | undefined;
10673
10826
  created_at?: string | undefined;
10674
10827
  sandbox?: string | null | undefined;
@@ -12122,8 +12275,8 @@ export declare const trajectorySchema: z.ZodObject<{
12122
12275
  updated_at: z.ZodOptional<z.ZodString>;
12123
12276
  }, "strip", z.ZodTypeAny, {
12124
12277
  id: string;
12125
- team?: string | null | undefined;
12126
12278
  org?: string | null | undefined;
12279
+ team?: string | null | undefined;
12127
12280
  created_at?: string | undefined;
12128
12281
  updated_at?: string | undefined;
12129
12282
  sandbox?: string | null | undefined;
@@ -12131,8 +12284,8 @@ export declare const trajectorySchema: z.ZodObject<{
12131
12284
  messages?: Record<string, {} | null>[] | undefined;
12132
12285
  }, {
12133
12286
  id: string;
12134
- team?: string | null | undefined;
12135
12287
  org?: string | null | undefined;
12288
+ team?: string | null | undefined;
12136
12289
  created_at?: string | undefined;
12137
12290
  updated_at?: string | undefined;
12138
12291
  sandbox?: string | null | undefined;
@@ -12781,7 +12934,7 @@ export interface SolutionSummary {
12781
12934
  events?: Record<string, unknown> | undefined;
12782
12935
  /** Solution config ID (`cfg_...`). */
12783
12936
  id: string;
12784
- /** 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. */
12937
+ /** 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. */
12785
12938
  image_url?: string | null | undefined;
12786
12939
  /** 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. */
12787
12940
  installed_config_ids: string[];
@@ -12840,7 +12993,7 @@ export declare const solutionSummarySchema: z.ZodObject<{
12840
12993
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
12841
12994
  /** Solution config ID (`cfg_...`). */
12842
12995
  id: z.ZodString;
12843
- /** 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. */
12996
+ /** 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. */
12844
12997
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12845
12998
  /** 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. */
12846
12999
  installed_config_ids: z.ZodArray<z.ZodString, "many">;
@@ -13228,7 +13381,7 @@ export declare const agentSourceSolutionSchema: z.ZodObject<{
13228
13381
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
13229
13382
  /** Solution config ID (`cfg_...`). */
13230
13383
  id: z.ZodString;
13231
- /** 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. */
13384
+ /** 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. */
13232
13385
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13233
13386
  /** 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. */
13234
13387
  installed_config_ids: z.ZodArray<z.ZodString, "many">;
@@ -13602,7 +13755,7 @@ export declare const agentSourceSolutionSchema: z.ZodObject<{
13602
13755
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
13603
13756
  /** Solution config ID (`cfg_...`). */
13604
13757
  id: z.ZodString;
13605
- /** 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. */
13758
+ /** 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. */
13606
13759
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13607
13760
  /** 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. */
13608
13761
  installed_config_ids: z.ZodArray<z.ZodString, "many">;
@@ -14461,7 +14614,7 @@ export declare const agentSchema: z.ZodObject<{
14461
14614
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
14462
14615
  /** Solution config ID (`cfg_...`). */
14463
14616
  id: z.ZodString;
14464
- /** 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. */
14617
+ /** 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. */
14465
14618
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14466
14619
  /** 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. */
14467
14620
  installed_config_ids: z.ZodArray<z.ZodString, "many">;
@@ -14835,7 +14988,7 @@ export declare const agentSchema: z.ZodObject<{
14835
14988
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
14836
14989
  /** Solution config ID (`cfg_...`). */
14837
14990
  id: z.ZodString;
14838
- /** 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. */
14991
+ /** 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. */
14839
14992
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14840
14993
  /** 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. */
14841
14994
  installed_config_ids: z.ZodArray<z.ZodString, "many">;
@@ -15532,8 +15685,8 @@ export declare const agentSchema: z.ZodObject<{
15532
15685
  user?: string | null | undefined;
15533
15686
  name?: string | undefined;
15534
15687
  email?: string | null | undefined;
15535
- team?: string | null | undefined;
15536
15688
  org?: string | null | undefined;
15689
+ team?: string | null | undefined;
15537
15690
  description?: string | null | undefined;
15538
15691
  app?: string | undefined;
15539
15692
  created_at?: string | undefined;
@@ -15710,8 +15863,8 @@ export declare const agentSchema: z.ZodObject<{
15710
15863
  user?: string | null | undefined;
15711
15864
  name?: string | undefined;
15712
15865
  email?: string | null | undefined;
15713
- team?: string | null | undefined;
15714
15866
  org?: string | null | undefined;
15867
+ team?: string | null | undefined;
15715
15868
  description?: string | null | undefined;
15716
15869
  app?: string | undefined;
15717
15870
  created_at?: string | undefined;
@@ -16270,8 +16423,8 @@ export declare const agentCreateResponseSchema: z.ZodObject<{
16270
16423
  user?: string | null | undefined;
16271
16424
  name?: string | undefined;
16272
16425
  email?: string | null | undefined;
16273
- team?: string | null | undefined;
16274
16426
  org?: string | null | undefined;
16427
+ team?: string | null | undefined;
16275
16428
  app?: string | undefined;
16276
16429
  created_at?: string | undefined;
16277
16430
  updated_at?: string | undefined;
@@ -16309,8 +16462,8 @@ export declare const agentCreateResponseSchema: z.ZodObject<{
16309
16462
  user?: string | null | undefined;
16310
16463
  name?: string | undefined;
16311
16464
  email?: string | null | undefined;
16312
- team?: string | null | undefined;
16313
16465
  org?: string | null | undefined;
16466
+ team?: string | null | undefined;
16314
16467
  app?: string | undefined;
16315
16468
  created_at?: string | undefined;
16316
16469
  updated_at?: string | undefined;
@@ -16518,9 +16671,9 @@ export declare const agentExportSchema: z.ZodObject<{
16518
16671
  kind: string;
16519
16672
  id: string;
16520
16673
  user?: string | undefined;
16674
+ org?: string | undefined;
16521
16675
  agent?: string | undefined;
16522
16676
  team?: string | undefined;
16523
- org?: string | undefined;
16524
16677
  created_at?: string | undefined;
16525
16678
  updated_at?: string | undefined;
16526
16679
  sandbox?: string | undefined;
@@ -16547,9 +16700,9 @@ export declare const agentExportSchema: z.ZodObject<{
16547
16700
  kind: string;
16548
16701
  id: string;
16549
16702
  user?: string | undefined;
16703
+ org?: string | undefined;
16550
16704
  agent?: string | undefined;
16551
16705
  team?: string | undefined;
16552
- org?: string | undefined;
16553
16706
  created_at?: string | undefined;
16554
16707
  updated_at?: string | undefined;
16555
16708
  sandbox?: string | undefined;
@@ -16581,9 +16734,9 @@ export declare const agentExportSchema: z.ZodObject<{
16581
16734
  kind: string;
16582
16735
  id: string;
16583
16736
  user?: string | undefined;
16737
+ org?: string | undefined;
16584
16738
  agent?: string | undefined;
16585
16739
  team?: string | undefined;
16586
- org?: string | undefined;
16587
16740
  created_at?: string | undefined;
16588
16741
  updated_at?: string | undefined;
16589
16742
  sandbox?: string | undefined;
@@ -16613,9 +16766,9 @@ export declare const agentExportSchema: z.ZodObject<{
16613
16766
  kind: string;
16614
16767
  id: string;
16615
16768
  user?: string | undefined;
16769
+ org?: string | undefined;
16616
16770
  agent?: string | undefined;
16617
16771
  team?: string | undefined;
16618
- org?: string | undefined;
16619
16772
  created_at?: string | undefined;
16620
16773
  updated_at?: string | undefined;
16621
16774
  sandbox?: string | undefined;
@@ -16793,7 +16946,7 @@ export declare const agentHealthSchema: z.ZodObject<{
16793
16946
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
16794
16947
  /** Solution config ID (`cfg_...`). */
16795
16948
  id: z.ZodString;
16796
- /** 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. */
16949
+ /** 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. */
16797
16950
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16798
16951
  /** 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. */
16799
16952
  installed_config_ids: z.ZodArray<z.ZodString, "many">;
@@ -17167,7 +17320,7 @@ export declare const agentHealthSchema: z.ZodObject<{
17167
17320
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
17168
17321
  /** Solution config ID (`cfg_...`). */
17169
17322
  id: z.ZodString;
17170
- /** 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. */
17323
+ /** 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. */
17171
17324
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17172
17325
  /** 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. */
17173
17326
  installed_config_ids: z.ZodArray<z.ZodString, "many">;
@@ -17864,8 +18017,8 @@ export declare const agentHealthSchema: z.ZodObject<{
17864
18017
  user?: string | null | undefined;
17865
18018
  name?: string | undefined;
17866
18019
  email?: string | null | undefined;
17867
- team?: string | null | undefined;
17868
18020
  org?: string | null | undefined;
18021
+ team?: string | null | undefined;
17869
18022
  description?: string | null | undefined;
17870
18023
  app?: string | undefined;
17871
18024
  created_at?: string | undefined;
@@ -18042,8 +18195,8 @@ export declare const agentHealthSchema: z.ZodObject<{
18042
18195
  user?: string | null | undefined;
18043
18196
  name?: string | undefined;
18044
18197
  email?: string | null | undefined;
18045
- team?: string | null | undefined;
18046
18198
  org?: string | null | undefined;
18199
+ team?: string | null | undefined;
18047
18200
  description?: string | null | undefined;
18048
18201
  app?: string | undefined;
18049
18202
  created_at?: string | undefined;
@@ -18268,8 +18421,8 @@ export declare const agentHealthSchema: z.ZodObject<{
18268
18421
  title: string;
18269
18422
  source: string;
18270
18423
  sort_order: number;
18271
- agent?: string | undefined;
18272
18424
  org?: string | undefined;
18425
+ agent?: string | undefined;
18273
18426
  description?: string | undefined;
18274
18427
  params?: Record<string, {} | null> | undefined;
18275
18428
  app?: string | undefined;
@@ -18287,8 +18440,8 @@ export declare const agentHealthSchema: z.ZodObject<{
18287
18440
  title: string;
18288
18441
  source: string;
18289
18442
  sort_order: number;
18290
- agent?: string | undefined;
18291
18443
  org?: string | undefined;
18444
+ agent?: string | undefined;
18292
18445
  description?: string | undefined;
18293
18446
  params?: Record<string, {} | null> | undefined;
18294
18447
  app?: string | undefined;
@@ -18311,8 +18464,8 @@ export declare const agentHealthSchema: z.ZodObject<{
18311
18464
  user?: string | null | undefined;
18312
18465
  name?: string | undefined;
18313
18466
  email?: string | null | undefined;
18314
- team?: string | null | undefined;
18315
18467
  org?: string | null | undefined;
18468
+ team?: string | null | undefined;
18316
18469
  description?: string | null | undefined;
18317
18470
  app?: string | undefined;
18318
18471
  created_at?: string | undefined;
@@ -18498,8 +18651,8 @@ export declare const agentHealthSchema: z.ZodObject<{
18498
18651
  title: string;
18499
18652
  source: string;
18500
18653
  sort_order: number;
18501
- agent?: string | undefined;
18502
18654
  org?: string | undefined;
18655
+ agent?: string | undefined;
18503
18656
  description?: string | undefined;
18504
18657
  params?: Record<string, {} | null> | undefined;
18505
18658
  app?: string | undefined;
@@ -18518,8 +18671,8 @@ export declare const agentHealthSchema: z.ZodObject<{
18518
18671
  user?: string | null | undefined;
18519
18672
  name?: string | undefined;
18520
18673
  email?: string | null | undefined;
18521
- team?: string | null | undefined;
18522
18674
  org?: string | null | undefined;
18675
+ team?: string | null | undefined;
18523
18676
  description?: string | null | undefined;
18524
18677
  app?: string | undefined;
18525
18678
  created_at?: string | undefined;
@@ -18705,8 +18858,8 @@ export declare const agentHealthSchema: z.ZodObject<{
18705
18858
  title: string;
18706
18859
  source: string;
18707
18860
  sort_order: number;
18708
- agent?: string | undefined;
18709
18861
  org?: string | undefined;
18862
+ agent?: string | undefined;
18710
18863
  description?: string | undefined;
18711
18864
  params?: Record<string, {} | null> | undefined;
18712
18865
  app?: string | undefined;
@@ -18867,7 +19020,7 @@ export declare const agentListResponseSchema: z.ZodObject<{
18867
19020
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
18868
19021
  /** Solution config ID (`cfg_...`). */
18869
19022
  id: z.ZodString;
18870
- /** 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. */
19023
+ /** 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. */
18871
19024
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18872
19025
  /** 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. */
18873
19026
  installed_config_ids: z.ZodArray<z.ZodString, "many">;
@@ -19241,7 +19394,7 @@ export declare const agentListResponseSchema: z.ZodObject<{
19241
19394
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
19242
19395
  /** Solution config ID (`cfg_...`). */
19243
19396
  id: z.ZodString;
19244
- /** 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. */
19397
+ /** 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. */
19245
19398
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19246
19399
  /** 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. */
19247
19400
  installed_config_ids: z.ZodArray<z.ZodString, "many">;
@@ -19938,8 +20091,8 @@ export declare const agentListResponseSchema: z.ZodObject<{
19938
20091
  user?: string | null | undefined;
19939
20092
  name?: string | undefined;
19940
20093
  email?: string | null | undefined;
19941
- team?: string | null | undefined;
19942
20094
  org?: string | null | undefined;
20095
+ team?: string | null | undefined;
19943
20096
  description?: string | null | undefined;
19944
20097
  app?: string | undefined;
19945
20098
  created_at?: string | undefined;
@@ -20116,8 +20269,8 @@ export declare const agentListResponseSchema: z.ZodObject<{
20116
20269
  user?: string | null | undefined;
20117
20270
  name?: string | undefined;
20118
20271
  email?: string | null | undefined;
20119
- team?: string | null | undefined;
20120
20272
  org?: string | null | undefined;
20273
+ team?: string | null | undefined;
20121
20274
  description?: string | null | undefined;
20122
20275
  app?: string | undefined;
20123
20276
  created_at?: string | undefined;
@@ -20308,8 +20461,8 @@ export declare const agentListResponseSchema: z.ZodObject<{
20308
20461
  user?: string | null | undefined;
20309
20462
  name?: string | undefined;
20310
20463
  email?: string | null | undefined;
20311
- team?: string | null | undefined;
20312
20464
  org?: string | null | undefined;
20465
+ team?: string | null | undefined;
20313
20466
  description?: string | null | undefined;
20314
20467
  app?: string | undefined;
20315
20468
  created_at?: string | undefined;
@@ -20494,8 +20647,8 @@ export declare const agentListResponseSchema: z.ZodObject<{
20494
20647
  user?: string | null | undefined;
20495
20648
  name?: string | undefined;
20496
20649
  email?: string | null | undefined;
20497
- team?: string | null | undefined;
20498
20650
  org?: string | null | undefined;
20651
+ team?: string | null | undefined;
20499
20652
  description?: string | null | undefined;
20500
20653
  app?: string | undefined;
20501
20654
  created_at?: string | undefined;
@@ -22623,7 +22776,9 @@ export interface AgentTool {
22623
22776
  parameters?: Record<string, unknown> | undefined;
22624
22777
  /** ID of the config record (`cfg_...`) storing the tool's parameter schema. `null` when parameters are defined inline. */
22625
22778
  parameters_config?: string | undefined;
22626
- /** Current status of the tool. One of `"active"` or `"disabled"`. */
22779
+ /** Current MCP setup assessment, not a historical downgrade reason or upstream protocol probe. */
22780
+ setup?: Setup | null | undefined;
22781
+ /** Current status of the tool. One of `"active"` or `"draft"`. */
22627
22782
  status?: string | undefined;
22628
22783
  /** When the tool was last modified (ISO 8601). */
22629
22784
  updated_at?: string | undefined;
@@ -22668,7 +22823,24 @@ export declare const agentToolSchema: z.ZodObject<{
22668
22823
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
22669
22824
  /** ID of the config record (`cfg_...`) storing the tool's parameter schema. `null` when parameters are defined inline. */
22670
22825
  parameters_config: z.ZodOptional<z.ZodString>;
22671
- /** Current status of the tool. One of `"active"` or `"disabled"`. */
22826
+ /** Current MCP setup assessment, not a historical downgrade reason or upstream protocol probe. */
22827
+ setup: z.ZodOptional<z.ZodNullable<z.ZodObject<{
22828
+ /** Recommended next step for MCP setup. */
22829
+ next_action: z.ZodString;
22830
+ /** MCP protocol health is not checked by this assessment. */
22831
+ protocol_status: z.ZodLiteral<"not_checked">;
22832
+ /** Reason for the current MCP setup state. */
22833
+ reason: z.ZodString;
22834
+ }, "strip", z.ZodTypeAny, {
22835
+ next_action: string;
22836
+ protocol_status: "not_checked";
22837
+ reason: string;
22838
+ }, {
22839
+ next_action: string;
22840
+ protocol_status: "not_checked";
22841
+ reason: string;
22842
+ }>>>;
22843
+ /** Current status of the tool. One of `"active"` or `"draft"`. */
22672
22844
  status: z.ZodOptional<z.ZodString>;
22673
22845
  /** When the tool was last modified (ISO 8601). */
22674
22846
  updated_at: z.ZodOptional<z.ZodString>;
@@ -22694,6 +22866,11 @@ export declare const agentToolSchema: z.ZodObject<{
22694
22866
  name_prefix?: string | undefined;
22695
22867
  parameters?: Record<string, {} | null> | undefined;
22696
22868
  parameters_config?: string | undefined;
22869
+ setup?: {
22870
+ next_action: string;
22871
+ protocol_status: "not_checked";
22872
+ reason: string;
22873
+ } | null | undefined;
22697
22874
  }, {
22698
22875
  id: string;
22699
22876
  name?: string | undefined;
@@ -22716,6 +22893,11 @@ export declare const agentToolSchema: z.ZodObject<{
22716
22893
  name_prefix?: string | undefined;
22717
22894
  parameters?: Record<string, {} | null> | undefined;
22718
22895
  parameters_config?: string | undefined;
22896
+ setup?: {
22897
+ next_action: string;
22898
+ protocol_status: "not_checked";
22899
+ reason: string;
22900
+ } | null | undefined;
22719
22901
  }>;
22720
22902
  /** Paginated list response containing the tools attached to an agent. */
22721
22903
  export interface AgentToolListResponse {
@@ -22764,7 +22946,24 @@ export declare const agentToolListResponseSchema: z.ZodObject<{
22764
22946
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
22765
22947
  /** ID of the config record (`cfg_...`) storing the tool's parameter schema. `null` when parameters are defined inline. */
22766
22948
  parameters_config: z.ZodOptional<z.ZodString>;
22767
- /** Current status of the tool. One of `"active"` or `"disabled"`. */
22949
+ /** Current MCP setup assessment, not a historical downgrade reason or upstream protocol probe. */
22950
+ setup: z.ZodOptional<z.ZodNullable<z.ZodObject<{
22951
+ /** Recommended next step for MCP setup. */
22952
+ next_action: z.ZodString;
22953
+ /** MCP protocol health is not checked by this assessment. */
22954
+ protocol_status: z.ZodLiteral<"not_checked">;
22955
+ /** Reason for the current MCP setup state. */
22956
+ reason: z.ZodString;
22957
+ }, "strip", z.ZodTypeAny, {
22958
+ next_action: string;
22959
+ protocol_status: "not_checked";
22960
+ reason: string;
22961
+ }, {
22962
+ next_action: string;
22963
+ protocol_status: "not_checked";
22964
+ reason: string;
22965
+ }>>>;
22966
+ /** Current status of the tool. One of `"active"` or `"draft"`. */
22768
22967
  status: z.ZodOptional<z.ZodString>;
22769
22968
  /** When the tool was last modified (ISO 8601). */
22770
22969
  updated_at: z.ZodOptional<z.ZodString>;
@@ -22790,6 +22989,11 @@ export declare const agentToolListResponseSchema: z.ZodObject<{
22790
22989
  name_prefix?: string | undefined;
22791
22990
  parameters?: Record<string, {} | null> | undefined;
22792
22991
  parameters_config?: string | undefined;
22992
+ setup?: {
22993
+ next_action: string;
22994
+ protocol_status: "not_checked";
22995
+ reason: string;
22996
+ } | null | undefined;
22793
22997
  }, {
22794
22998
  id: string;
22795
22999
  name?: string | undefined;
@@ -22812,6 +23016,11 @@ export declare const agentToolListResponseSchema: z.ZodObject<{
22812
23016
  name_prefix?: string | undefined;
22813
23017
  parameters?: Record<string, {} | null> | undefined;
22814
23018
  parameters_config?: string | undefined;
23019
+ setup?: {
23020
+ next_action: string;
23021
+ protocol_status: "not_checked";
23022
+ reason: string;
23023
+ } | null | undefined;
22815
23024
  }>, "many">;
22816
23025
  }, "strip", z.ZodTypeAny, {
22817
23026
  data: {
@@ -22836,6 +23045,11 @@ export declare const agentToolListResponseSchema: z.ZodObject<{
22836
23045
  name_prefix?: string | undefined;
22837
23046
  parameters?: Record<string, {} | null> | undefined;
22838
23047
  parameters_config?: string | undefined;
23048
+ setup?: {
23049
+ next_action: string;
23050
+ protocol_status: "not_checked";
23051
+ reason: string;
23052
+ } | null | undefined;
22839
23053
  }[];
22840
23054
  }, {
22841
23055
  data: {
@@ -22860,6 +23074,11 @@ export declare const agentToolListResponseSchema: z.ZodObject<{
22860
23074
  name_prefix?: string | undefined;
22861
23075
  parameters?: Record<string, {} | null> | undefined;
22862
23076
  parameters_config?: string | undefined;
23077
+ setup?: {
23078
+ next_action: string;
23079
+ protocol_status: "not_checked";
23080
+ reason: string;
23081
+ } | null | undefined;
22863
23082
  }[];
22864
23083
  }>;
22865
23084
  /**
@@ -23640,7 +23859,7 @@ export declare const agentUpgradeResponseSchema: z.ZodObject<{
23640
23859
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
23641
23860
  /** Solution config ID (`cfg_...`). */
23642
23861
  id: z.ZodString;
23643
- /** 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. */
23862
+ /** 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. */
23644
23863
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23645
23864
  /** 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. */
23646
23865
  installed_config_ids: z.ZodArray<z.ZodString, "many">;
@@ -24014,7 +24233,7 @@ export declare const agentUpgradeResponseSchema: z.ZodObject<{
24014
24233
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
24015
24234
  /** Solution config ID (`cfg_...`). */
24016
24235
  id: z.ZodString;
24017
- /** 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. */
24236
+ /** 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. */
24018
24237
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24019
24238
  /** 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. */
24020
24239
  installed_config_ids: z.ZodArray<z.ZodString, "many">;
@@ -24711,8 +24930,8 @@ export declare const agentUpgradeResponseSchema: z.ZodObject<{
24711
24930
  user?: string | null | undefined;
24712
24931
  name?: string | undefined;
24713
24932
  email?: string | null | undefined;
24714
- team?: string | null | undefined;
24715
24933
  org?: string | null | undefined;
24934
+ team?: string | null | undefined;
24716
24935
  description?: string | null | undefined;
24717
24936
  app?: string | undefined;
24718
24937
  created_at?: string | undefined;
@@ -24889,8 +25108,8 @@ export declare const agentUpgradeResponseSchema: z.ZodObject<{
24889
25108
  user?: string | null | undefined;
24890
25109
  name?: string | undefined;
24891
25110
  email?: string | null | undefined;
24892
- team?: string | null | undefined;
24893
25111
  org?: string | null | undefined;
25112
+ team?: string | null | undefined;
24894
25113
  description?: string | null | undefined;
24895
25114
  app?: string | undefined;
24896
25115
  created_at?: string | undefined;
@@ -25075,7 +25294,7 @@ export declare const agentUpgradeResponseSchema: z.ZodObject<{
25075
25294
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
25076
25295
  /** Solution config ID (`cfg_...`). */
25077
25296
  id: z.ZodString;
25078
- /** 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. */
25297
+ /** 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. */
25079
25298
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25080
25299
  /** 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. */
25081
25300
  installed_config_ids: z.ZodArray<z.ZodString, "many">;
@@ -25937,8 +26156,8 @@ export declare const agentUpgradeResponseSchema: z.ZodObject<{
25937
26156
  user?: string | null | undefined;
25938
26157
  name?: string | undefined;
25939
26158
  email?: string | null | undefined;
25940
- team?: string | null | undefined;
25941
26159
  org?: string | null | undefined;
26160
+ team?: string | null | undefined;
25942
26161
  description?: string | null | undefined;
25943
26162
  app?: string | undefined;
25944
26163
  created_at?: string | undefined;
@@ -26242,8 +26461,8 @@ export declare const agentUpgradeResponseSchema: z.ZodObject<{
26242
26461
  user?: string | null | undefined;
26243
26462
  name?: string | undefined;
26244
26463
  email?: string | null | undefined;
26245
- team?: string | null | undefined;
26246
26464
  org?: string | null | undefined;
26465
+ team?: string | null | undefined;
26247
26466
  description?: string | null | undefined;
26248
26467
  app?: string | undefined;
26249
26468
  created_at?: string | undefined;
@@ -27119,7 +27338,7 @@ export declare const solutionImportResponseSchema: z.ZodObject<{
27119
27338
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
27120
27339
  /** Solution config ID (`cfg_...`). */
27121
27340
  id: z.ZodString;
27122
- /** 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. */
27341
+ /** 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. */
27123
27342
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27124
27343
  /** 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. */
27125
27344
  installed_config_ids: z.ZodArray<z.ZodString, "many">;
@@ -27969,7 +28188,7 @@ export declare const solutionListResponseSchema: z.ZodObject<{
27969
28188
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
27970
28189
  /** Solution config ID (`cfg_...`). */
27971
28190
  id: z.ZodString;
27972
- /** 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. */
28191
+ /** 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. */
27973
28192
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27974
28193
  /** 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. */
27975
28194
  installed_config_ids: z.ZodArray<z.ZodString, "many">;
@@ -28988,7 +29207,7 @@ export declare const solutionUpgradeResponseSchema: z.ZodObject<{
28988
29207
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
28989
29208
  /** Solution config ID (`cfg_...`). */
28990
29209
  id: z.ZodString;
28991
- /** 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. */
29210
+ /** 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. */
28992
29211
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28993
29212
  /** 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. */
28994
29213
  installed_config_ids: z.ZodArray<z.ZodString, "many">;