@opengeni/contracts 0.44.1 → 1.0.1

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 (51) hide show
  1. package/dist/atlassian.js +10 -8
  2. package/dist/canonical-human-identities.d.ts +157 -0
  3. package/dist/canonical-human-identities.js +23 -0
  4. package/dist/canonical-human-identities.js.map +1 -0
  5. package/dist/chunk-CM6BMECR.js +24 -0
  6. package/dist/chunk-CM6BMECR.js.map +1 -0
  7. package/dist/{chunk-FJBG5E4O.js → chunk-JBCIY7QD.js} +12 -12
  8. package/dist/chunk-JUFK3T4Q.js +80 -0
  9. package/dist/chunk-JUFK3T4Q.js.map +1 -0
  10. package/dist/{chunk-H5BVCZKF.js → chunk-LW7OH6CS.js} +2 -2
  11. package/dist/{chunk-52SGB2QO.js → chunk-M5ZGRVIQ.js} +37 -6
  12. package/dist/chunk-M5ZGRVIQ.js.map +1 -0
  13. package/dist/{chunk-VA22KRHS.js → chunk-NX5JNF4L.js} +6533 -4923
  14. package/dist/chunk-NX5JNF4L.js.map +1 -0
  15. package/dist/codex-provider-account-authority.d.ts +23 -0
  16. package/dist/codex-provider-account-authority.js +23 -0
  17. package/dist/codex-provider-account-authority.js.map +1 -0
  18. package/dist/editable-artifact-codec-registry.js +5 -5
  19. package/dist/editable-artifact-live.js +3 -3
  20. package/dist/editable-artifact-serialized-commit.js +4 -4
  21. package/dist/editable-artifacts.js +27 -27
  22. package/dist/google-drive.d.ts +88 -1
  23. package/dist/google-drive.js +75 -13
  24. package/dist/google-drive.js.map +1 -1
  25. package/dist/index.d.ts +1385 -122
  26. package/dist/index.js +406 -80
  27. package/dist/interaction.d.ts +1415 -20
  28. package/dist/knowledge.d.ts +616 -0
  29. package/dist/slack-task-policy.d.ts +294 -0
  30. package/dist/task-notes.d.ts +128 -0
  31. package/dist/video-generation.d.ts +48 -0
  32. package/dist/video-generation.js +9 -1
  33. package/dist/xai-provider-account-authority.d.ts +23 -0
  34. package/dist/xai-provider-account-authority.js +9 -0
  35. package/dist/xai-provider-account-authority.js.map +1 -0
  36. package/package.json +13 -1
  37. package/src/artifacts.ts +1 -1
  38. package/src/canonical-human-identities.ts +93 -0
  39. package/src/codex-provider-account-authority.ts +37 -0
  40. package/src/google-drive.ts +76 -4
  41. package/src/index.ts +921 -270
  42. package/src/interaction.ts +886 -5
  43. package/src/knowledge.ts +222 -0
  44. package/src/slack-task-policy.ts +215 -0
  45. package/src/task-notes.ts +92 -0
  46. package/src/video-generation.ts +43 -6
  47. package/src/xai-provider-account-authority.ts +37 -0
  48. package/dist/chunk-52SGB2QO.js.map +0 -1
  49. package/dist/chunk-VA22KRHS.js.map +0 -1
  50. /package/dist/{chunk-FJBG5E4O.js.map → chunk-JBCIY7QD.js.map} +0 -0
  51. /package/dist/{chunk-H5BVCZKF.js.map → chunk-LW7OH6CS.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import { z } from "zod";
2
2
  import { type SessionEventBoundarySurface } from "./event-preview.js";
3
3
  export * from "./slack-bot-scopes.js";
4
+ export * from "./slack-task-policy.js";
4
5
  export * from "./atlassian.js";
5
6
  export * from "./connector-destinations.js";
6
7
  export * from "./memory-slack-delivery.js";
@@ -101,7 +102,7 @@ export type CapabilityDescriptor = {
101
102
  };
102
103
  Terminal: {
103
104
  available: boolean;
104
- transport: "sse-events" | "pty-ws" | null;
105
+ transport: "sse-events" | "pty-ws" | "relay-pty" | null;
105
106
  pty: boolean;
106
107
  };
107
108
  Git: {
@@ -195,6 +196,7 @@ export declare const ErrorEnvelope: z.ZodObject<{
195
196
  }>;
196
197
  message: z.ZodString;
197
198
  retryable: z.ZodBoolean;
199
+ outcomeUnknown: z.ZodOptional<z.ZodBoolean>;
198
200
  requestId: z.ZodOptional<z.ZodString>;
199
201
  details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
200
202
  }, z.core.$strip>;
@@ -306,7 +308,7 @@ export declare const DEFAULT_FIRST_PARTY_MCP_PERMISSIONS: readonly ["workspace:r
306
308
  * `files_get_download_url` intentionally is not in this catalog. It belongs to
307
309
  * the dedicated `files` MCP server.
308
310
  */
309
- export declare const FIRST_PARTY_MCP_TOOL_NAMES: readonly ["set_session_title", "goal_set", "goal_update", "goal_complete", "goal_pause", "memory_search", "memory_save", "memory_correct", "preference_registry_summary", "preference_registry_get", "sandboxes_list", "sandbox_attach", "sandbox_swap", "run_on", "sandbox_provision", "connected_machine_remove", "rig_list", "rig_get", "rig_propose_change", "rig_verify", "rig_promote", "sessions_list", "session_get", "session_events", "session_create", "session_send_message", "session_pause", "session_resume", "session_steer", "set_other_session_title", "interaction_discover", "browser_open", "browser_tabs", "browser_observe", "browser_act", "browser_debug", "browser_identity", "browser_publish", "browser_lifecycle", "computer_open", "computer_targets", "computer_observe", "computer_act", "computer_lifecycle", "variable_set_list", "environment_list", "variable_set_get_variable", "variable_set_set_variable", "environment_set_variable", "capability_catalog_search", "capability_authorization_request", "github_connect_link", "github_repositories_list", "social_connections_list", "social_posts_recent", "social_daily_analysis_context", "social_search_live", "social_mentions_live", "social_thread_fetch", "social_posts_sync", "social_post_reply", "x_accounts_list", "x_search_live", "x_mentions_live", "x_thread_fetch", "x_posts_sync", "x_post_reply", "reddit_accounts_list", "reddit_search_live", "reddit_mentions_live", "reddit_thread_fetch", "reddit_posts_sync", "reddit_post_reply", "scheduled_tasks_list", "scheduled_tasks_get", "scheduled_tasks_create", "scheduled_tasks_update", "scheduled_tasks_pause", "scheduled_tasks_resume", "scheduled_tasks_trigger", "scheduled_tasks_delete", "scheduled_task_runs_list", "slack_bot_list_channels", "slack_bot_channel_history", "slack_bot_thread_replies", "slack_bot_list_users", "slack_bot_list_files", "slack_bot_file_info", "slack_bot_file_content", "slack_bot_post_message", "slack_bot_delete_message", "atlassian_sources_list", "atlassian_search", "atlassian_get", "artifacts_list", "artifacts_get_source", "artifacts_create", "artifacts_publish", "artifacts_rollback", "editable_artifact_list", "editable_artifact_create", "editable_artifact_import", "editable_artifact_get", "editable_artifact_inspect", "editable_artifact_apply", "editable_artifact_export", "editable_artifact_export_status"];
311
+ export declare const FIRST_PARTY_MCP_TOOL_NAMES: readonly ["set_session_title", "goal_set", "goal_update", "goal_progress", "goal_complete", "goal_pause", "memory_search", "memory_save", "memory_correct", "preference_registry_summary", "preference_registry_get", "task_notes_list", "task_note_save", "task_note_archive", "sandboxes_list", "sandbox_attach", "sandbox_swap", "run_on", "sandbox_provision", "connected_machine_remove", "rig_list", "rig_get", "rig_propose_change", "rig_verify", "rig_promote", "sessions_list", "session_get", "session_events", "session_create", "session_send_message", "session_pause", "session_resume", "session_steer", "set_other_session_title", "interaction_discover", "browser_open", "browser_tabs", "browser_observe", "browser_act", "browser_clipboard", "browser_debug", "browser_auth", "interaction_request_human", "browser_identity", "browser_publish", "browser_lifecycle", "computer_open", "computer_targets", "computer_observe", "computer_clipboard", "computer_act", "computer_lifecycle", "variable_set_list", "environment_list", "variable_set_get_variable", "variable_set_set_variable", "environment_set_variable", "capability_catalog_search", "capability_authorization_request", "github_connect_link", "github_repositories_list", "social_connections_list", "social_posts_recent", "social_daily_analysis_context", "social_search_live", "social_mentions_live", "social_thread_fetch", "social_posts_sync", "social_post_reply", "x_accounts_list", "x_search_live", "x_mentions_live", "x_thread_fetch", "x_posts_sync", "x_post_reply", "reddit_accounts_list", "reddit_search_live", "reddit_mentions_live", "reddit_thread_fetch", "reddit_posts_sync", "reddit_post_reply", "scheduled_tasks_list", "scheduled_tasks_get", "scheduled_tasks_create", "scheduled_tasks_update", "scheduled_tasks_pause", "scheduled_tasks_resume", "scheduled_tasks_trigger", "scheduled_tasks_delete", "scheduled_task_runs_list", "slack_bot_list_channels", "slack_bot_channel_history", "slack_bot_thread_replies", "slack_bot_list_users", "slack_bot_list_files", "slack_bot_file_info", "slack_bot_file_content", "slack_bot_post_message", "slack_bot_delete_message", "fiken_companies_list", "fiken_contacts_list", "fiken_contact_create", "fiken_products_list", "fiken_invoices_list", "fiken_invoice_get", "fiken_invoice_draft_create", "fiken_bank_accounts_list", "fiken_purchases_list", "fiken_sales_list", "atlassian_sources_list", "atlassian_search", "atlassian_get", "artifacts_list", "artifacts_get_source", "artifacts_create", "artifacts_publish", "artifacts_rollback", "editable_artifact_list", "editable_artifact_create", "editable_artifact_import", "editable_artifact_get", "editable_artifact_inspect", "editable_artifact_apply", "editable_artifact_export", "editable_artifact_export_status"];
310
312
  export declare const FirstPartyMcpToolName: z.ZodEnum<{
311
313
  artifacts_create: "artifacts_create";
312
314
  artifacts_get_source: "artifacts_get_source";
@@ -317,6 +319,8 @@ export declare const FirstPartyMcpToolName: z.ZodEnum<{
317
319
  atlassian_search: "atlassian_search";
318
320
  atlassian_sources_list: "atlassian_sources_list";
319
321
  browser_act: "browser_act";
322
+ browser_auth: "browser_auth";
323
+ browser_clipboard: "browser_clipboard";
320
324
  browser_debug: "browser_debug";
321
325
  browser_identity: "browser_identity";
322
326
  browser_lifecycle: "browser_lifecycle";
@@ -327,6 +331,7 @@ export declare const FirstPartyMcpToolName: z.ZodEnum<{
327
331
  capability_authorization_request: "capability_authorization_request";
328
332
  capability_catalog_search: "capability_catalog_search";
329
333
  computer_act: "computer_act";
334
+ computer_clipboard: "computer_clipboard";
330
335
  computer_lifecycle: "computer_lifecycle";
331
336
  computer_observe: "computer_observe";
332
337
  computer_open: "computer_open";
@@ -342,13 +347,25 @@ export declare const FirstPartyMcpToolName: z.ZodEnum<{
342
347
  editable_artifact_list: "editable_artifact_list";
343
348
  environment_list: "environment_list";
344
349
  environment_set_variable: "environment_set_variable";
350
+ fiken_bank_accounts_list: "fiken_bank_accounts_list";
351
+ fiken_companies_list: "fiken_companies_list";
352
+ fiken_contact_create: "fiken_contact_create";
353
+ fiken_contacts_list: "fiken_contacts_list";
354
+ fiken_invoice_draft_create: "fiken_invoice_draft_create";
355
+ fiken_invoice_get: "fiken_invoice_get";
356
+ fiken_invoices_list: "fiken_invoices_list";
357
+ fiken_products_list: "fiken_products_list";
358
+ fiken_purchases_list: "fiken_purchases_list";
359
+ fiken_sales_list: "fiken_sales_list";
345
360
  github_connect_link: "github_connect_link";
346
361
  github_repositories_list: "github_repositories_list";
347
362
  goal_complete: "goal_complete";
348
363
  goal_pause: "goal_pause";
364
+ goal_progress: "goal_progress";
349
365
  goal_set: "goal_set";
350
366
  goal_update: "goal_update";
351
367
  interaction_discover: "interaction_discover";
368
+ interaction_request_human: "interaction_request_human";
352
369
  memory_correct: "memory_correct";
353
370
  memory_save: "memory_save";
354
371
  memory_search: "memory_search";
@@ -406,6 +423,9 @@ export declare const FirstPartyMcpToolName: z.ZodEnum<{
406
423
  social_posts_sync: "social_posts_sync";
407
424
  social_search_live: "social_search_live";
408
425
  social_thread_fetch: "social_thread_fetch";
426
+ task_note_archive: "task_note_archive";
427
+ task_note_save: "task_note_save";
428
+ task_notes_list: "task_notes_list";
409
429
  variable_set_get_variable: "variable_set_get_variable";
410
430
  variable_set_list: "variable_set_list";
411
431
  variable_set_set_variable: "variable_set_set_variable";
@@ -422,9 +442,9 @@ export type FirstPartyMcpToolName = z.infer<typeof FirstPartyMcpToolName>;
422
442
  * registered on the remote `opengeni` MCP server. They still belong to the
423
443
  * same user-selectable first-party catalog and use the same attempt executor.
424
444
  */
425
- export declare const FIRST_PARTY_IN_PROCESS_TOOL_NAMES: readonly ["interaction_discover", "browser_open", "browser_tabs", "browser_observe", "browser_act", "browser_debug", "browser_identity", "browser_publish", "browser_lifecycle", "computer_open", "computer_targets", "computer_observe", "computer_act", "computer_lifecycle"];
445
+ export declare const FIRST_PARTY_IN_PROCESS_TOOL_NAMES: readonly ["interaction_discover", "browser_open", "browser_tabs", "browser_observe", "browser_act", "browser_clipboard", "browser_debug", "browser_auth", "interaction_request_human", "browser_identity", "browser_publish", "browser_lifecycle", "computer_open", "computer_targets", "computer_observe", "computer_clipboard", "computer_act", "computer_lifecycle"];
426
446
  /** Exact catalog registered by the remote first-party `opengeni` MCP server. */
427
- export declare const FIRST_PARTY_REMOTE_MCP_TOOL_NAMES: ("artifacts_create" | "artifacts_get_source" | "artifacts_list" | "artifacts_publish" | "artifacts_rollback" | "atlassian_get" | "atlassian_search" | "atlassian_sources_list" | "browser_act" | "browser_debug" | "browser_identity" | "browser_lifecycle" | "browser_observe" | "browser_open" | "browser_publish" | "browser_tabs" | "capability_authorization_request" | "capability_catalog_search" | "computer_act" | "computer_lifecycle" | "computer_observe" | "computer_open" | "computer_targets" | "connected_machine_remove" | "editable_artifact_apply" | "editable_artifact_create" | "editable_artifact_export" | "editable_artifact_export_status" | "editable_artifact_get" | "editable_artifact_import" | "editable_artifact_inspect" | "editable_artifact_list" | "environment_list" | "environment_set_variable" | "github_connect_link" | "github_repositories_list" | "goal_complete" | "goal_pause" | "goal_set" | "goal_update" | "interaction_discover" | "memory_correct" | "memory_save" | "memory_search" | "preference_registry_get" | "preference_registry_summary" | "reddit_accounts_list" | "reddit_mentions_live" | "reddit_post_reply" | "reddit_posts_sync" | "reddit_search_live" | "reddit_thread_fetch" | "rig_get" | "rig_list" | "rig_promote" | "rig_propose_change" | "rig_verify" | "run_on" | "sandbox_attach" | "sandbox_provision" | "sandbox_swap" | "sandboxes_list" | "scheduled_task_runs_list" | "scheduled_tasks_create" | "scheduled_tasks_delete" | "scheduled_tasks_get" | "scheduled_tasks_list" | "scheduled_tasks_pause" | "scheduled_tasks_resume" | "scheduled_tasks_trigger" | "scheduled_tasks_update" | "session_create" | "session_events" | "session_get" | "session_pause" | "session_resume" | "session_send_message" | "session_steer" | "sessions_list" | "set_other_session_title" | "set_session_title" | "slack_bot_channel_history" | "slack_bot_delete_message" | "slack_bot_file_content" | "slack_bot_file_info" | "slack_bot_list_channels" | "slack_bot_list_files" | "slack_bot_list_users" | "slack_bot_post_message" | "slack_bot_thread_replies" | "social_connections_list" | "social_daily_analysis_context" | "social_mentions_live" | "social_post_reply" | "social_posts_recent" | "social_posts_sync" | "social_search_live" | "social_thread_fetch" | "variable_set_get_variable" | "variable_set_list" | "variable_set_set_variable" | "x_accounts_list" | "x_mentions_live" | "x_post_reply" | "x_posts_sync" | "x_search_live" | "x_thread_fetch")[];
447
+ export declare const FIRST_PARTY_REMOTE_MCP_TOOL_NAMES: ("artifacts_create" | "artifacts_get_source" | "artifacts_list" | "artifacts_publish" | "artifacts_rollback" | "atlassian_get" | "atlassian_search" | "atlassian_sources_list" | "browser_act" | "browser_auth" | "browser_clipboard" | "browser_debug" | "browser_identity" | "browser_lifecycle" | "browser_observe" | "browser_open" | "browser_publish" | "browser_tabs" | "capability_authorization_request" | "capability_catalog_search" | "computer_act" | "computer_clipboard" | "computer_lifecycle" | "computer_observe" | "computer_open" | "computer_targets" | "connected_machine_remove" | "editable_artifact_apply" | "editable_artifact_create" | "editable_artifact_export" | "editable_artifact_export_status" | "editable_artifact_get" | "editable_artifact_import" | "editable_artifact_inspect" | "editable_artifact_list" | "environment_list" | "environment_set_variable" | "fiken_bank_accounts_list" | "fiken_companies_list" | "fiken_contact_create" | "fiken_contacts_list" | "fiken_invoice_draft_create" | "fiken_invoice_get" | "fiken_invoices_list" | "fiken_products_list" | "fiken_purchases_list" | "fiken_sales_list" | "github_connect_link" | "github_repositories_list" | "goal_complete" | "goal_pause" | "goal_progress" | "goal_set" | "goal_update" | "interaction_discover" | "interaction_request_human" | "memory_correct" | "memory_save" | "memory_search" | "preference_registry_get" | "preference_registry_summary" | "reddit_accounts_list" | "reddit_mentions_live" | "reddit_post_reply" | "reddit_posts_sync" | "reddit_search_live" | "reddit_thread_fetch" | "rig_get" | "rig_list" | "rig_promote" | "rig_propose_change" | "rig_verify" | "run_on" | "sandbox_attach" | "sandbox_provision" | "sandbox_swap" | "sandboxes_list" | "scheduled_task_runs_list" | "scheduled_tasks_create" | "scheduled_tasks_delete" | "scheduled_tasks_get" | "scheduled_tasks_list" | "scheduled_tasks_pause" | "scheduled_tasks_resume" | "scheduled_tasks_trigger" | "scheduled_tasks_update" | "session_create" | "session_events" | "session_get" | "session_pause" | "session_resume" | "session_send_message" | "session_steer" | "sessions_list" | "set_other_session_title" | "set_session_title" | "slack_bot_channel_history" | "slack_bot_delete_message" | "slack_bot_file_content" | "slack_bot_file_info" | "slack_bot_list_channels" | "slack_bot_list_files" | "slack_bot_list_users" | "slack_bot_post_message" | "slack_bot_thread_replies" | "social_connections_list" | "social_daily_analysis_context" | "social_mentions_live" | "social_post_reply" | "social_posts_recent" | "social_posts_sync" | "social_search_live" | "social_thread_fetch" | "task_note_archive" | "task_note_save" | "task_notes_list" | "variable_set_get_variable" | "variable_set_list" | "variable_set_set_variable" | "x_accounts_list" | "x_mentions_live" | "x_post_reply" | "x_posts_sync" | "x_search_live" | "x_thread_fetch")[];
428
448
  /** Authored CodeMode paths for the canonical collaborative artifact surface. */
429
449
  export declare const EDITABLE_ARTIFACT_MCP_CODEMODE_PATHS: {
430
450
  readonly editable_artifact_list: readonly ["artifacts", "list"];
@@ -441,7 +461,7 @@ export declare const EDITABLE_ARTIFACT_MCP_CODEMODE_PATHS: {
441
461
  * the non-connector catalog, while an explicit session policy may still select
442
462
  * any catalogued connector tool and remains independently permission-gated.
443
463
  */
444
- export declare const DEFAULT_FIRST_PARTY_MCP_TOOLS: ("artifacts_create" | "artifacts_get_source" | "artifacts_list" | "artifacts_publish" | "artifacts_rollback" | "atlassian_get" | "atlassian_search" | "atlassian_sources_list" | "browser_act" | "browser_debug" | "browser_identity" | "browser_lifecycle" | "browser_observe" | "browser_open" | "browser_publish" | "browser_tabs" | "capability_authorization_request" | "capability_catalog_search" | "computer_act" | "computer_lifecycle" | "computer_observe" | "computer_open" | "computer_targets" | "connected_machine_remove" | "editable_artifact_apply" | "editable_artifact_create" | "editable_artifact_export" | "editable_artifact_export_status" | "editable_artifact_get" | "editable_artifact_import" | "editable_artifact_inspect" | "editable_artifact_list" | "environment_list" | "environment_set_variable" | "github_connect_link" | "github_repositories_list" | "goal_complete" | "goal_pause" | "goal_set" | "goal_update" | "interaction_discover" | "memory_correct" | "memory_save" | "memory_search" | "preference_registry_get" | "preference_registry_summary" | "reddit_accounts_list" | "reddit_mentions_live" | "reddit_post_reply" | "reddit_posts_sync" | "reddit_search_live" | "reddit_thread_fetch" | "rig_get" | "rig_list" | "rig_promote" | "rig_propose_change" | "rig_verify" | "run_on" | "sandbox_attach" | "sandbox_provision" | "sandbox_swap" | "sandboxes_list" | "scheduled_task_runs_list" | "scheduled_tasks_create" | "scheduled_tasks_delete" | "scheduled_tasks_get" | "scheduled_tasks_list" | "scheduled_tasks_pause" | "scheduled_tasks_resume" | "scheduled_tasks_trigger" | "scheduled_tasks_update" | "session_create" | "session_events" | "session_get" | "session_pause" | "session_resume" | "session_send_message" | "session_steer" | "sessions_list" | "set_other_session_title" | "set_session_title" | "slack_bot_channel_history" | "slack_bot_delete_message" | "slack_bot_file_content" | "slack_bot_file_info" | "slack_bot_list_channels" | "slack_bot_list_files" | "slack_bot_list_users" | "slack_bot_post_message" | "slack_bot_thread_replies" | "social_connections_list" | "social_daily_analysis_context" | "social_mentions_live" | "social_post_reply" | "social_posts_recent" | "social_posts_sync" | "social_search_live" | "social_thread_fetch" | "variable_set_get_variable" | "variable_set_list" | "variable_set_set_variable" | "x_accounts_list" | "x_mentions_live" | "x_post_reply" | "x_posts_sync" | "x_search_live" | "x_thread_fetch")[];
464
+ export declare const DEFAULT_FIRST_PARTY_MCP_TOOLS: ("artifacts_create" | "artifacts_get_source" | "artifacts_list" | "artifacts_publish" | "artifacts_rollback" | "atlassian_get" | "atlassian_search" | "atlassian_sources_list" | "browser_act" | "browser_auth" | "browser_clipboard" | "browser_debug" | "browser_identity" | "browser_lifecycle" | "browser_observe" | "browser_open" | "browser_publish" | "browser_tabs" | "capability_authorization_request" | "capability_catalog_search" | "computer_act" | "computer_clipboard" | "computer_lifecycle" | "computer_observe" | "computer_open" | "computer_targets" | "connected_machine_remove" | "editable_artifact_apply" | "editable_artifact_create" | "editable_artifact_export" | "editable_artifact_export_status" | "editable_artifact_get" | "editable_artifact_import" | "editable_artifact_inspect" | "editable_artifact_list" | "environment_list" | "environment_set_variable" | "fiken_bank_accounts_list" | "fiken_companies_list" | "fiken_contact_create" | "fiken_contacts_list" | "fiken_invoice_draft_create" | "fiken_invoice_get" | "fiken_invoices_list" | "fiken_products_list" | "fiken_purchases_list" | "fiken_sales_list" | "github_connect_link" | "github_repositories_list" | "goal_complete" | "goal_pause" | "goal_progress" | "goal_set" | "goal_update" | "interaction_discover" | "interaction_request_human" | "memory_correct" | "memory_save" | "memory_search" | "preference_registry_get" | "preference_registry_summary" | "reddit_accounts_list" | "reddit_mentions_live" | "reddit_post_reply" | "reddit_posts_sync" | "reddit_search_live" | "reddit_thread_fetch" | "rig_get" | "rig_list" | "rig_promote" | "rig_propose_change" | "rig_verify" | "run_on" | "sandbox_attach" | "sandbox_provision" | "sandbox_swap" | "sandboxes_list" | "scheduled_task_runs_list" | "scheduled_tasks_create" | "scheduled_tasks_delete" | "scheduled_tasks_get" | "scheduled_tasks_list" | "scheduled_tasks_pause" | "scheduled_tasks_resume" | "scheduled_tasks_trigger" | "scheduled_tasks_update" | "session_create" | "session_events" | "session_get" | "session_pause" | "session_resume" | "session_send_message" | "session_steer" | "sessions_list" | "set_other_session_title" | "set_session_title" | "slack_bot_channel_history" | "slack_bot_delete_message" | "slack_bot_file_content" | "slack_bot_file_info" | "slack_bot_list_channels" | "slack_bot_list_files" | "slack_bot_list_users" | "slack_bot_post_message" | "slack_bot_thread_replies" | "social_connections_list" | "social_daily_analysis_context" | "social_mentions_live" | "social_post_reply" | "social_posts_recent" | "social_posts_sync" | "social_search_live" | "social_thread_fetch" | "task_note_archive" | "task_note_save" | "task_notes_list" | "variable_set_get_variable" | "variable_set_list" | "variable_set_set_variable" | "x_accounts_list" | "x_mentions_live" | "x_post_reply" | "x_posts_sync" | "x_search_live" | "x_thread_fetch")[];
445
465
  export declare function prefixedMcpToolName(registryId: string, toolName: string): string;
446
466
  export declare const ProductAccessMode: z.ZodEnum<{
447
467
  configured: "configured";
@@ -472,6 +492,247 @@ export declare const AccountRole: z.ZodEnum<{
472
492
  owner: "owner";
473
493
  }>;
474
494
  export type AccountRole = z.infer<typeof AccountRole>;
495
+ /**
496
+ * Settled tenancy vocabulary for resources that may outlive or be used from
497
+ * more than one workspace. This names authority only; parsing one of these
498
+ * contracts never authorizes access by itself.
499
+ */
500
+ export declare const ResourceAuthorityScope: z.ZodEnum<{
501
+ organization: "organization";
502
+ user: "user";
503
+ workspace: "workspace";
504
+ }>;
505
+ export type ResourceAuthorityScope = z.infer<typeof ResourceAuthorityScope>;
506
+ export declare const ResourceAuthorityListScope: z.ZodEnum<{
507
+ effective: "effective";
508
+ organization: "organization";
509
+ user: "user";
510
+ workspace: "workspace";
511
+ }>;
512
+ export type ResourceAuthorityListScope = z.infer<typeof ResourceAuthorityListScope>;
513
+ export declare const OrganizationMembershipStatus: z.ZodEnum<{
514
+ active: "active";
515
+ provisioning: "provisioning";
516
+ revoked: "revoked";
517
+ suspended: "suspended";
518
+ }>;
519
+ export type OrganizationMembershipStatus = z.infer<typeof OrganizationMembershipStatus>;
520
+ export declare const PersonalResourceRetentionMode: z.ZodEnum<{
521
+ delete_after: "delete_after";
522
+ retain: "retain";
523
+ }>;
524
+ export type PersonalResourceRetentionMode = z.infer<typeof PersonalResourceRetentionMode>;
525
+ export declare const SessionTenancyVisibility: z.ZodEnum<{
526
+ user_private: "user_private";
527
+ workspace_shared: "workspace_shared";
528
+ }>;
529
+ export type SessionTenancyVisibility = z.infer<typeof SessionTenancyVisibility>;
530
+ /** Public/session API vocabulary. Persistence keeps the explicit tenancy names. */
531
+ export declare const SessionVisibility: z.ZodEnum<{
532
+ private: "private";
533
+ workspace: "workspace";
534
+ }>;
535
+ export type SessionVisibility = z.infer<typeof SessionVisibility>;
536
+ export declare function sessionVisibilityToPublic(value: SessionTenancyVisibility): SessionVisibility;
537
+ export declare function sessionVisibilityFromPublic(value: SessionVisibility): SessionTenancyVisibility;
538
+ export declare const UserResourceGrantMode: z.ZodEnum<{
539
+ always: "always";
540
+ once: "once";
541
+ session: "session";
542
+ }>;
543
+ export type UserResourceGrantMode = z.infer<typeof UserResourceGrantMode>;
544
+ /** Canonical non-wildcard action named by a personal-resource grant. */
545
+ export declare const UserResourceGrantAction: z.ZodString;
546
+ export type UserResourceGrantAction = z.infer<typeof UserResourceGrantAction>;
547
+ export declare const UserResourceGrantStatus: z.ZodEnum<{
548
+ active: "active";
549
+ consumed: "consumed";
550
+ expired: "expired";
551
+ revoked: "revoked";
552
+ }>;
553
+ export type UserResourceGrantStatus = z.infer<typeof UserResourceGrantStatus>;
554
+ /** Self-only organization membership projection; no subject identifier leaks. */
555
+ export declare const OrganizationMembershipProjection: z.ZodObject<{
556
+ id: z.ZodString;
557
+ organizationId: z.ZodString;
558
+ status: z.ZodEnum<{
559
+ active: "active";
560
+ provisioning: "provisioning";
561
+ revoked: "revoked";
562
+ suspended: "suspended";
563
+ }>;
564
+ personalWorkspaceId: z.ZodNullable<z.ZodString>;
565
+ personalRetentionUntil: z.ZodNullable<z.ZodString>;
566
+ }, z.core.$strip>;
567
+ export type OrganizationMembershipProjection = z.infer<typeof OrganizationMembershipProjection>;
568
+ /**
569
+ * Exact active-membership facts returned by managed-human login provisioning.
570
+ * Retention is intentionally absent because the narrow provisioning capability
571
+ * neither reads nor mutates offboarding policy.
572
+ */
573
+ export declare const ManagedOrganizationMembershipProjection: z.ZodObject<{
574
+ id: z.ZodString;
575
+ organizationId: z.ZodString;
576
+ status: z.ZodLiteral<"active">;
577
+ personalWorkspaceId: z.ZodString;
578
+ }, z.core.$strip>;
579
+ export type ManagedOrganizationMembershipProjection = z.infer<typeof ManagedOrganizationMembershipProjection>;
580
+ export declare const ListManagedOrganizationMembershipsResponse: z.ZodObject<{
581
+ memberships: z.ZodArray<z.ZodObject<{
582
+ id: z.ZodString;
583
+ organizationId: z.ZodString;
584
+ status: z.ZodLiteral<"active">;
585
+ personalWorkspaceId: z.ZodString;
586
+ }, z.core.$strip>>;
587
+ }, z.core.$strip>;
588
+ export type ListManagedOrganizationMembershipsResponse = z.infer<typeof ListManagedOrganizationMembershipsResponse>;
589
+ /**
590
+ * Opaque user-resource authority projection. Ownership is represented by the
591
+ * server-issued authority id, never a raw subject or membership id.
592
+ */
593
+ export declare const UserResourceAuthorityProjection: z.ZodObject<{
594
+ id: z.ZodString;
595
+ organizationId: z.ZodString;
596
+ scope: z.ZodLiteral<"user">;
597
+ resourceKind: z.ZodString;
598
+ originWorkspaceId: z.ZodNullable<z.ZodString>;
599
+ generation: z.ZodNumber;
600
+ status: z.ZodEnum<{
601
+ active: "active";
602
+ retained: "retained";
603
+ revoked: "revoked";
604
+ }>;
605
+ }, z.core.$strip>;
606
+ export type UserResourceAuthorityProjection = z.infer<typeof UserResourceAuthorityProjection>;
607
+ /**
608
+ * Opaque grant projection. A grant is still inert until a server-side access
609
+ * boundary proves the organization, owner, workspace, session context, and
610
+ * current authority epoch.
611
+ */
612
+ export declare const UserResourceGrantProjection: z.ZodObject<{
613
+ id: z.ZodString;
614
+ authorityId: z.ZodString;
615
+ organizationId: z.ZodString;
616
+ workspaceId: z.ZodString;
617
+ sessionId: z.ZodNullable<z.ZodString>;
618
+ action: z.ZodString;
619
+ mode: z.ZodEnum<{
620
+ always: "always";
621
+ once: "once";
622
+ session: "session";
623
+ }>;
624
+ context: z.ZodEnum<{
625
+ user_private: "user_private";
626
+ workspace_shared: "workspace_shared";
627
+ }>;
628
+ authorityEpoch: z.ZodNullable<z.ZodNumber>;
629
+ generation: z.ZodNumber;
630
+ status: z.ZodEnum<{
631
+ active: "active";
632
+ consumed: "consumed";
633
+ expired: "expired";
634
+ revoked: "revoked";
635
+ }>;
636
+ expiresAt: z.ZodNullable<z.ZodString>;
637
+ }, z.core.$strip>;
638
+ export type UserResourceGrantProjection = z.infer<typeof UserResourceGrantProjection>;
639
+ /**
640
+ * Extensible immutable delegation payload for accepted work. It contains only
641
+ * opaque authority/grant identity and execution fences, never owner identity
642
+ * or credential material.
643
+ */
644
+ export declare const UserResourceDelegation: z.ZodObject<{
645
+ authorityId: z.ZodString;
646
+ grantId: z.ZodString;
647
+ organizationId: z.ZodString;
648
+ workspaceId: z.ZodString;
649
+ sessionId: z.ZodNullable<z.ZodString>;
650
+ action: z.ZodString;
651
+ mode: z.ZodEnum<{
652
+ always: "always";
653
+ once: "once";
654
+ session: "session";
655
+ }>;
656
+ context: z.ZodEnum<{
657
+ user_private: "user_private";
658
+ workspace_shared: "workspace_shared";
659
+ }>;
660
+ authorityEpoch: z.ZodNullable<z.ZodNumber>;
661
+ authorityGeneration: z.ZodNumber;
662
+ grantGeneration: z.ZodNumber;
663
+ resourceVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
664
+ }, z.core.$strip>;
665
+ export type UserResourceDelegation = z.infer<typeof UserResourceDelegation>;
666
+ /**
667
+ * Compatibility envelope for future resource selectors. Omitted scope and
668
+ * authority parse to workspace-only behavior; user authority is impossible
669
+ * without one complete opaque delegation.
670
+ */
671
+ export declare const ResourceAuthorityEnvelope: z.ZodObject<{
672
+ scope: z.ZodDefault<z.ZodEnum<{
673
+ organization: "organization";
674
+ user: "user";
675
+ workspace: "workspace";
676
+ }>>;
677
+ userDelegation: z.ZodOptional<z.ZodObject<{
678
+ authorityId: z.ZodString;
679
+ grantId: z.ZodString;
680
+ organizationId: z.ZodString;
681
+ workspaceId: z.ZodString;
682
+ sessionId: z.ZodNullable<z.ZodString>;
683
+ action: z.ZodString;
684
+ mode: z.ZodEnum<{
685
+ always: "always";
686
+ once: "once";
687
+ session: "session";
688
+ }>;
689
+ context: z.ZodEnum<{
690
+ user_private: "user_private";
691
+ workspace_shared: "workspace_shared";
692
+ }>;
693
+ authorityEpoch: z.ZodNullable<z.ZodNumber>;
694
+ authorityGeneration: z.ZodNumber;
695
+ grantGeneration: z.ZodNumber;
696
+ resourceVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
697
+ }, z.core.$strip>>;
698
+ }, z.core.$strip>;
699
+ export type ResourceAuthorityEnvelope = z.infer<typeof ResourceAuthorityEnvelope>;
700
+ /** Secret-safe generic session tenancy metadata for an authorized viewer. */
701
+ export declare const SessionTenancyProjection: z.ZodObject<{
702
+ visibility: z.ZodEnum<{
703
+ user_private: "user_private";
704
+ workspace_shared: "workspace_shared";
705
+ }>;
706
+ authorityEpoch: z.ZodNumber;
707
+ ownedByCurrentUser: z.ZodBoolean;
708
+ fork: z.ZodNullable<z.ZodObject<{
709
+ sourceVisibility: z.ZodEnum<{
710
+ user_private: "user_private";
711
+ workspace_shared: "workspace_shared";
712
+ }>;
713
+ sourceAuthorityEpoch: z.ZodNumber;
714
+ forkedAt: z.ZodString;
715
+ }, z.core.$strip>>;
716
+ }, z.core.$strip>;
717
+ export type SessionTenancyProjection = z.infer<typeof SessionTenancyProjection>;
718
+ /** Secret-safe public projection used by activated session APIs. */
719
+ export declare const SessionTenancyPublicProjection: z.ZodObject<{
720
+ visibility: z.ZodEnum<{
721
+ private: "private";
722
+ workspace: "workspace";
723
+ }>;
724
+ authorityEpoch: z.ZodNumber;
725
+ ownedByCurrentUser: z.ZodBoolean;
726
+ fork: z.ZodNullable<z.ZodObject<{
727
+ sourceVisibility: z.ZodEnum<{
728
+ private: "private";
729
+ workspace: "workspace";
730
+ }>;
731
+ sourceAuthorityEpoch: z.ZodNumber;
732
+ forkedAt: z.ZodString;
733
+ }, z.core.$strip>>;
734
+ }, z.core.$strip>;
735
+ export type SessionTenancyPublicProjection = z.infer<typeof SessionTenancyPublicProjection>;
475
736
  export declare const ManagedAccount: z.ZodObject<{
476
737
  id: z.ZodString;
477
738
  name: z.ZodString;
@@ -858,8 +1119,17 @@ export declare const DEFAULT_WORKSPACE_SLACK_REACTION_SUMMON_SETTINGS: {
858
1119
  readonly mode: "bot_member";
859
1120
  };
860
1121
  };
1122
+ export declare const WorkspaceMemoryPromptMode: z.ZodEnum<{
1123
+ legacy_standing: "legacy_standing";
1124
+ retrieval_only: "retrieval_only";
1125
+ }>;
1126
+ export type WorkspaceMemoryPromptMode = z.infer<typeof WorkspaceMemoryPromptMode>;
861
1127
  export declare const WorkspaceSettingsSchema: z.ZodObject<{
862
1128
  memoryEnabled: z.ZodOptional<z.ZodBoolean>;
1129
+ memoryPromptMode: z.ZodOptional<z.ZodEnum<{
1130
+ legacy_standing: "legacy_standing";
1131
+ retrieval_only: "retrieval_only";
1132
+ }>>;
863
1133
  voiceInput: z.ZodOptional<z.ZodObject<{
864
1134
  enabled: z.ZodBoolean;
865
1135
  }, z.core.$strict>>;
@@ -934,6 +1204,8 @@ export declare const WorkspaceSettingsSchema: z.ZodObject<{
934
1204
  }, z.core.$loose>;
935
1205
  export type WorkspaceSettings = z.infer<typeof WorkspaceSettingsSchema>;
936
1206
  export declare function resolveWorkspaceMemoryEnabled(settings: unknown): boolean;
1207
+ /** Reversible Memory V1 prompt rollout. Absent preserves legacy composition. */
1208
+ export declare function resolveWorkspaceMemoryPromptMode(settings: unknown): WorkspaceMemoryPromptMode;
937
1209
  /** Default Codex compaction mode for new Codex sessions (remote_v2 when unset). */
938
1210
  export declare function resolveWorkspaceCodexCompactionDefault(settings: unknown): CodexCompactionMode;
939
1211
  /** Whether agents may request structured human input (enabled when unset). */
@@ -951,6 +1223,10 @@ export declare function resolveWorkspaceSlackReactionSummonSettings(settings: un
951
1223
  export declare function workspaceSlackReactionChannelAllowed(settings: WorkspaceSlackReactionSummonSettings, channelId: string): boolean;
952
1224
  export declare const UpdateWorkspaceSettingsRequest: z.ZodObject<{
953
1225
  memoryEnabled: z.ZodOptional<z.ZodBoolean>;
1226
+ memoryPromptMode: z.ZodOptional<z.ZodEnum<{
1227
+ legacy_standing: "legacy_standing";
1228
+ retrieval_only: "retrieval_only";
1229
+ }>>;
954
1230
  voiceInput: z.ZodOptional<z.ZodObject<{
955
1231
  enabled: z.ZodBoolean;
956
1232
  }, z.core.$strict>>;
@@ -1414,6 +1690,8 @@ export declare const DelegatedAccessTokenPayload: z.ZodObject<{
1414
1690
  atlassian_search: "atlassian_search";
1415
1691
  atlassian_sources_list: "atlassian_sources_list";
1416
1692
  browser_act: "browser_act";
1693
+ browser_auth: "browser_auth";
1694
+ browser_clipboard: "browser_clipboard";
1417
1695
  browser_debug: "browser_debug";
1418
1696
  browser_identity: "browser_identity";
1419
1697
  browser_lifecycle: "browser_lifecycle";
@@ -1424,6 +1702,7 @@ export declare const DelegatedAccessTokenPayload: z.ZodObject<{
1424
1702
  capability_authorization_request: "capability_authorization_request";
1425
1703
  capability_catalog_search: "capability_catalog_search";
1426
1704
  computer_act: "computer_act";
1705
+ computer_clipboard: "computer_clipboard";
1427
1706
  computer_lifecycle: "computer_lifecycle";
1428
1707
  computer_observe: "computer_observe";
1429
1708
  computer_open: "computer_open";
@@ -1439,13 +1718,25 @@ export declare const DelegatedAccessTokenPayload: z.ZodObject<{
1439
1718
  editable_artifact_list: "editable_artifact_list";
1440
1719
  environment_list: "environment_list";
1441
1720
  environment_set_variable: "environment_set_variable";
1721
+ fiken_bank_accounts_list: "fiken_bank_accounts_list";
1722
+ fiken_companies_list: "fiken_companies_list";
1723
+ fiken_contact_create: "fiken_contact_create";
1724
+ fiken_contacts_list: "fiken_contacts_list";
1725
+ fiken_invoice_draft_create: "fiken_invoice_draft_create";
1726
+ fiken_invoice_get: "fiken_invoice_get";
1727
+ fiken_invoices_list: "fiken_invoices_list";
1728
+ fiken_products_list: "fiken_products_list";
1729
+ fiken_purchases_list: "fiken_purchases_list";
1730
+ fiken_sales_list: "fiken_sales_list";
1442
1731
  github_connect_link: "github_connect_link";
1443
1732
  github_repositories_list: "github_repositories_list";
1444
1733
  goal_complete: "goal_complete";
1445
1734
  goal_pause: "goal_pause";
1735
+ goal_progress: "goal_progress";
1446
1736
  goal_set: "goal_set";
1447
1737
  goal_update: "goal_update";
1448
1738
  interaction_discover: "interaction_discover";
1739
+ interaction_request_human: "interaction_request_human";
1449
1740
  memory_correct: "memory_correct";
1450
1741
  memory_save: "memory_save";
1451
1742
  memory_search: "memory_search";
@@ -1503,6 +1794,9 @@ export declare const DelegatedAccessTokenPayload: z.ZodObject<{
1503
1794
  social_posts_sync: "social_posts_sync";
1504
1795
  social_search_live: "social_search_live";
1505
1796
  social_thread_fetch: "social_thread_fetch";
1797
+ task_note_archive: "task_note_archive";
1798
+ task_note_save: "task_note_save";
1799
+ task_notes_list: "task_notes_list";
1506
1800
  variable_set_get_variable: "variable_set_get_variable";
1507
1801
  variable_set_list: "variable_set_list";
1508
1802
  variable_set_set_variable: "variable_set_set_variable";
@@ -1513,6 +1807,8 @@ export declare const DelegatedAccessTokenPayload: z.ZodObject<{
1513
1807
  x_search_live: "x_search_live";
1514
1808
  x_thread_fetch: "x_thread_fetch";
1515
1809
  }>>>;
1810
+ nestedAgentDepth: z.ZodOptional<z.ZodNumber>;
1811
+ effectiveMaxNestedAgentDepth: z.ZodOptional<z.ZodNumber>;
1516
1812
  turnId: z.ZodOptional<z.ZodString>;
1517
1813
  attemptId: z.ZodOptional<z.ZodString>;
1518
1814
  executionGeneration: z.ZodOptional<z.ZodNumber>;
@@ -3581,6 +3877,18 @@ export declare const DocumentSearchResult: z.ZodObject<{
3581
3877
  }>;
3582
3878
  authorityWorkspaceId: z.ZodNullable<z.ZodString>;
3583
3879
  authoritySubjectId: z.ZodNullable<z.ZodString>;
3880
+ citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3881
+ provider: z.ZodLiteral<"google_drive">;
3882
+ externalObjectId: z.ZodString;
3883
+ providerRevision: z.ZodNullable<z.ZodString>;
3884
+ sourceVersion: z.ZodString;
3885
+ driveId: z.ZodNullable<z.ZodString>;
3886
+ deepLink: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodString>>;
3887
+ aclRevision: z.ZodString;
3888
+ authorizationObservedAt: z.ZodString;
3889
+ authorizationExpiresAt: z.ZodString;
3890
+ reauthorizedAt: z.ZodString;
3891
+ }, z.core.$strip>>>;
3584
3892
  }, z.core.$strip>;
3585
3893
  export type DocumentSearchResult = z.infer<typeof DocumentSearchResult>;
3586
3894
  export declare const DocumentSearchResponse: z.ZodObject<{
@@ -3627,6 +3935,18 @@ export declare const DocumentSearchResponse: z.ZodObject<{
3627
3935
  }>;
3628
3936
  authorityWorkspaceId: z.ZodNullable<z.ZodString>;
3629
3937
  authoritySubjectId: z.ZodNullable<z.ZodString>;
3938
+ citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3939
+ provider: z.ZodLiteral<"google_drive">;
3940
+ externalObjectId: z.ZodString;
3941
+ providerRevision: z.ZodNullable<z.ZodString>;
3942
+ sourceVersion: z.ZodString;
3943
+ driveId: z.ZodNullable<z.ZodString>;
3944
+ deepLink: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodString>>;
3945
+ aclRevision: z.ZodString;
3946
+ authorizationObservedAt: z.ZodString;
3947
+ authorizationExpiresAt: z.ZodString;
3948
+ reauthorizedAt: z.ZodString;
3949
+ }, z.core.$strip>>>;
3630
3950
  }, z.core.$strip>>;
3631
3951
  }, z.core.$strip>;
3632
3952
  export type DocumentSearchResponse = z.infer<typeof DocumentSearchResponse>;
@@ -3663,6 +3983,18 @@ export declare const IndexedDocumentProvenance: z.ZodObject<{
3663
3983
  authoritySubjectId: z.ZodNullable<z.ZodString>;
3664
3984
  createdBy: z.ZodNullable<z.ZodString>;
3665
3985
  createdAt: z.ZodString;
3986
+ citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3987
+ provider: z.ZodLiteral<"google_drive">;
3988
+ externalObjectId: z.ZodString;
3989
+ providerRevision: z.ZodNullable<z.ZodString>;
3990
+ sourceVersion: z.ZodString;
3991
+ driveId: z.ZodNullable<z.ZodString>;
3992
+ deepLink: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodString>>;
3993
+ aclRevision: z.ZodString;
3994
+ authorizationObservedAt: z.ZodString;
3995
+ authorizationExpiresAt: z.ZodString;
3996
+ reauthorizedAt: z.ZodString;
3997
+ }, z.core.$strip>>>;
3666
3998
  }, z.core.$strip>;
3667
3999
  export type IndexedDocumentProvenance = z.infer<typeof IndexedDocumentProvenance>;
3668
4000
  export declare const IndexedDocumentSummary: z.ZodObject<{
@@ -3705,6 +4037,18 @@ export declare const IndexedDocumentSummary: z.ZodObject<{
3705
4037
  authoritySubjectId: z.ZodNullable<z.ZodString>;
3706
4038
  createdBy: z.ZodNullable<z.ZodString>;
3707
4039
  createdAt: z.ZodString;
4040
+ citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4041
+ provider: z.ZodLiteral<"google_drive">;
4042
+ externalObjectId: z.ZodString;
4043
+ providerRevision: z.ZodNullable<z.ZodString>;
4044
+ sourceVersion: z.ZodString;
4045
+ driveId: z.ZodNullable<z.ZodString>;
4046
+ deepLink: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodString>>;
4047
+ aclRevision: z.ZodString;
4048
+ authorizationObservedAt: z.ZodString;
4049
+ authorizationExpiresAt: z.ZodString;
4050
+ reauthorizedAt: z.ZodString;
4051
+ }, z.core.$strip>>>;
3708
4052
  }, z.core.$strip>;
3709
4053
  }, z.core.$strip>;
3710
4054
  export type IndexedDocumentSummary = z.infer<typeof IndexedDocumentSummary>;
@@ -3754,6 +4098,18 @@ export declare const ListIndexedDocumentsResponse: z.ZodObject<{
3754
4098
  authoritySubjectId: z.ZodNullable<z.ZodString>;
3755
4099
  createdBy: z.ZodNullable<z.ZodString>;
3756
4100
  createdAt: z.ZodString;
4101
+ citation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4102
+ provider: z.ZodLiteral<"google_drive">;
4103
+ externalObjectId: z.ZodString;
4104
+ providerRevision: z.ZodNullable<z.ZodString>;
4105
+ sourceVersion: z.ZodString;
4106
+ driveId: z.ZodNullable<z.ZodString>;
4107
+ deepLink: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodString>>;
4108
+ aclRevision: z.ZodString;
4109
+ authorizationObservedAt: z.ZodString;
4110
+ authorizationExpiresAt: z.ZodString;
4111
+ reauthorizedAt: z.ZodString;
4112
+ }, z.core.$strip>>>;
3757
4113
  }, z.core.$strip>;
3758
4114
  }, z.core.$strip>>;
3759
4115
  nextCheckpoint: z.ZodString;
@@ -4392,6 +4748,86 @@ export declare const SessionGoalCreatedBy: z.ZodEnum<{
4392
4748
  scheduled_task: "scheduled_task";
4393
4749
  }>;
4394
4750
  export type SessionGoalCreatedBy = z.infer<typeof SessionGoalCreatedBy>;
4751
+ export declare const SessionGoalMutationPolicy: z.ZodEnum<{
4752
+ autonomous_adaptation: "autonomous_adaptation";
4753
+ preserve_intent: "preserve_intent";
4754
+ review_changes: "review_changes";
4755
+ }>;
4756
+ export type SessionGoalMutationPolicy = z.infer<typeof SessionGoalMutationPolicy>;
4757
+ export declare const SessionGoalChangeKind: z.ZodEnum<{
4758
+ adaptation: "adaptation";
4759
+ refinement: "refinement";
4760
+ replacement: "replacement";
4761
+ }>;
4762
+ export type SessionGoalChangeKind = z.infer<typeof SessionGoalChangeKind>;
4763
+ export declare const SESSION_GOAL_TEXT_MAX_BYTES: number;
4764
+ export declare const SESSION_GOAL_SUCCESS_CRITERIA_MAX_BYTES: number;
4765
+ export declare const SESSION_GOAL_RATIONALE_MAX_BYTES: number;
4766
+ export declare const SESSION_GOAL_PROGRESS_MAX_BYTES: number;
4767
+ export declare function sessionGoalUtf8Bytes(value: string): number;
4768
+ export declare const SessionGoalSnapshot: z.ZodDiscriminatedUnion<[z.ZodObject<{
4769
+ state: z.ZodLiteral<"none">;
4770
+ capturedAt: z.ZodString;
4771
+ }, z.core.$strip>, z.ZodObject<{
4772
+ state: z.ZodEnum<{
4773
+ active: "active";
4774
+ completed: "completed";
4775
+ paused: "paused";
4776
+ }>;
4777
+ goalId: z.ZodString;
4778
+ objectiveRevision: z.ZodNumber;
4779
+ text: z.ZodString;
4780
+ successCriteria: z.ZodNullable<z.ZodString>;
4781
+ mutationPolicy: z.ZodEnum<{
4782
+ autonomous_adaptation: "autonomous_adaptation";
4783
+ preserve_intent: "preserve_intent";
4784
+ review_changes: "review_changes";
4785
+ }>;
4786
+ capturedAt: z.ZodString;
4787
+ }, z.core.$strip>], "state">;
4788
+ export type SessionGoalSnapshot = z.infer<typeof SessionGoalSnapshot>;
4789
+ export declare const SessionGoalRevision: z.ZodObject<{
4790
+ id: z.ZodString;
4791
+ accountId: z.ZodString;
4792
+ workspaceId: z.ZodString;
4793
+ sessionId: z.ZodString;
4794
+ goalId: z.ZodString;
4795
+ disposition: z.ZodEnum<{
4796
+ applied: "applied";
4797
+ proposed: "proposed";
4798
+ rejected: "rejected";
4799
+ }>;
4800
+ changeKind: z.ZodEnum<{
4801
+ adaptation: "adaptation";
4802
+ refinement: "refinement";
4803
+ replacement: "replacement";
4804
+ }>;
4805
+ baseObjectiveRevision: z.ZodNumber;
4806
+ resultObjectiveRevision: z.ZodNullable<z.ZodNumber>;
4807
+ text: z.ZodString;
4808
+ successCriteria: z.ZodNullable<z.ZodString>;
4809
+ mutationPolicy: z.ZodEnum<{
4810
+ autonomous_adaptation: "autonomous_adaptation";
4811
+ preserve_intent: "preserve_intent";
4812
+ review_changes: "review_changes";
4813
+ }>;
4814
+ rationale: z.ZodString;
4815
+ actor: z.ZodEnum<{
4816
+ agent: "agent";
4817
+ api: "api";
4818
+ scheduled_task: "scheduled_task";
4819
+ }>;
4820
+ actorTurnId: z.ZodNullable<z.ZodString>;
4821
+ actorAttemptId: z.ZodNullable<z.ZodString>;
4822
+ proposalId: z.ZodNullable<z.ZodString>;
4823
+ createdAt: z.ZodString;
4824
+ }, z.core.$strip>;
4825
+ export type SessionGoalRevision = z.infer<typeof SessionGoalRevision>;
4826
+ export declare const ApplySessionGoalRevisionRequest: z.ZodObject<{
4827
+ expectedObjectiveRevision: z.ZodNumber;
4828
+ rationale: z.ZodOptional<z.ZodString>;
4829
+ }, z.core.$strip>;
4830
+ export type ApplySessionGoalRevisionRequest = z.infer<typeof ApplySessionGoalRevisionRequest>;
4395
4831
  export declare const SessionGoalPausedReason: z.ZodEnum<{
4396
4832
  agent: "agent";
4397
4833
  api: "api";
@@ -4473,6 +4909,12 @@ export declare const SessionGoal: z.ZodObject<{
4473
4909
  scheduled_task: "scheduled_task";
4474
4910
  }>;
4475
4911
  version: z.ZodNumber;
4912
+ objectiveRevision: z.ZodNumber;
4913
+ mutationPolicy: z.ZodEnum<{
4914
+ autonomous_adaptation: "autonomous_adaptation";
4915
+ preserve_intent: "preserve_intent";
4916
+ review_changes: "review_changes";
4917
+ }>;
4476
4918
  autoContinuations: z.ZodNumber;
4477
4919
  noProgressStreak: z.ZodNumber;
4478
4920
  maxAutoContinuations: z.ZodNullable<z.ZodNumber>;
@@ -4512,15 +4954,30 @@ export declare const GoalSpec: z.ZodObject<{
4512
4954
  text: z.ZodString;
4513
4955
  successCriteria: z.ZodOptional<z.ZodString>;
4514
4956
  maxAutoContinuations: z.ZodOptional<z.ZodNumber>;
4957
+ mutationPolicy: z.ZodOptional<z.ZodEnum<{
4958
+ autonomous_adaptation: "autonomous_adaptation";
4959
+ preserve_intent: "preserve_intent";
4960
+ review_changes: "review_changes";
4961
+ }>>;
4515
4962
  }, z.core.$strip>;
4516
4963
  export type GoalSpec = z.infer<typeof GoalSpec>;
4517
- export declare const UpdateSessionGoalRequest: z.ZodObject<{
4964
+ export declare const UpdateSessionGoalRequest: z.ZodUnion<readonly [z.ZodObject<{
4518
4965
  status: z.ZodEnum<{
4519
4966
  active: "active";
4520
4967
  paused: "paused";
4521
4968
  }>;
4522
4969
  rationale: z.ZodOptional<z.ZodString>;
4523
- }, z.core.$strip>;
4970
+ }, z.core.$strip>, z.ZodObject<{
4971
+ text: z.ZodString;
4972
+ successCriteria: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4973
+ mutationPolicy: z.ZodOptional<z.ZodEnum<{
4974
+ autonomous_adaptation: "autonomous_adaptation";
4975
+ preserve_intent: "preserve_intent";
4976
+ review_changes: "review_changes";
4977
+ }>>;
4978
+ rationale: z.ZodString;
4979
+ expectedObjectiveRevision: z.ZodNumber;
4980
+ }, z.core.$strip>]>;
4524
4981
  export type UpdateSessionGoalRequest = z.infer<typeof UpdateSessionGoalRequest>;
4525
4982
  export declare const UpdateSessionRequest: z.ZodObject<{
4526
4983
  title: z.ZodString;
@@ -4551,6 +5008,8 @@ export declare const UpdateSessionToolPolicyRequest: z.ZodUnion<readonly [z.ZodO
4551
5008
  atlassian_search: "atlassian_search";
4552
5009
  atlassian_sources_list: "atlassian_sources_list";
4553
5010
  browser_act: "browser_act";
5011
+ browser_auth: "browser_auth";
5012
+ browser_clipboard: "browser_clipboard";
4554
5013
  browser_debug: "browser_debug";
4555
5014
  browser_identity: "browser_identity";
4556
5015
  browser_lifecycle: "browser_lifecycle";
@@ -4561,6 +5020,7 @@ export declare const UpdateSessionToolPolicyRequest: z.ZodUnion<readonly [z.ZodO
4561
5020
  capability_authorization_request: "capability_authorization_request";
4562
5021
  capability_catalog_search: "capability_catalog_search";
4563
5022
  computer_act: "computer_act";
5023
+ computer_clipboard: "computer_clipboard";
4564
5024
  computer_lifecycle: "computer_lifecycle";
4565
5025
  computer_observe: "computer_observe";
4566
5026
  computer_open: "computer_open";
@@ -4576,13 +5036,25 @@ export declare const UpdateSessionToolPolicyRequest: z.ZodUnion<readonly [z.ZodO
4576
5036
  editable_artifact_list: "editable_artifact_list";
4577
5037
  environment_list: "environment_list";
4578
5038
  environment_set_variable: "environment_set_variable";
5039
+ fiken_bank_accounts_list: "fiken_bank_accounts_list";
5040
+ fiken_companies_list: "fiken_companies_list";
5041
+ fiken_contact_create: "fiken_contact_create";
5042
+ fiken_contacts_list: "fiken_contacts_list";
5043
+ fiken_invoice_draft_create: "fiken_invoice_draft_create";
5044
+ fiken_invoice_get: "fiken_invoice_get";
5045
+ fiken_invoices_list: "fiken_invoices_list";
5046
+ fiken_products_list: "fiken_products_list";
5047
+ fiken_purchases_list: "fiken_purchases_list";
5048
+ fiken_sales_list: "fiken_sales_list";
4579
5049
  github_connect_link: "github_connect_link";
4580
5050
  github_repositories_list: "github_repositories_list";
4581
5051
  goal_complete: "goal_complete";
4582
5052
  goal_pause: "goal_pause";
5053
+ goal_progress: "goal_progress";
4583
5054
  goal_set: "goal_set";
4584
5055
  goal_update: "goal_update";
4585
5056
  interaction_discover: "interaction_discover";
5057
+ interaction_request_human: "interaction_request_human";
4586
5058
  memory_correct: "memory_correct";
4587
5059
  memory_save: "memory_save";
4588
5060
  memory_search: "memory_search";
@@ -4640,6 +5112,9 @@ export declare const UpdateSessionToolPolicyRequest: z.ZodUnion<readonly [z.ZodO
4640
5112
  social_posts_sync: "social_posts_sync";
4641
5113
  social_search_live: "social_search_live";
4642
5114
  social_thread_fetch: "social_thread_fetch";
5115
+ task_note_archive: "task_note_archive";
5116
+ task_note_save: "task_note_save";
5117
+ task_notes_list: "task_notes_list";
4643
5118
  variable_set_get_variable: "variable_set_get_variable";
4644
5119
  variable_set_list: "variable_set_list";
4645
5120
  variable_set_set_variable: "variable_set_set_variable";
@@ -4898,6 +5373,7 @@ export declare const SessionRealtimeInboundEntry: z.ZodObject<{
4898
5373
  delegationItemId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4899
5374
  text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4900
5375
  payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5376
+ modelContext: z.ZodOptional<z.ZodString>;
4901
5377
  }, z.core.$strict>;
4902
5378
  export type SessionRealtimeInboundEntry = z.infer<typeof SessionRealtimeInboundEntry>;
4903
5379
  export declare const SyncSessionRealtimeLedgerRequest: z.ZodObject<{
@@ -4923,6 +5399,7 @@ export declare const SyncSessionRealtimeLedgerRequest: z.ZodObject<{
4923
5399
  delegationItemId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4924
5400
  text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4925
5401
  payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5402
+ modelContext: z.ZodOptional<z.ZodString>;
4926
5403
  }, z.core.$strict>>>;
4927
5404
  clientAckThroughSequence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4928
5405
  providerAckSequences: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
@@ -5015,6 +5492,7 @@ export declare const SessionRealtimeModel: z.ZodEnum<{
5015
5492
  "opengeni-gateway/openai/gpt-realtime-2.1": "opengeni-gateway/openai/gpt-realtime-2.1";
5016
5493
  "opengeni-gateway/openai/gpt-realtime-mini": "opengeni-gateway/openai/gpt-realtime-mini";
5017
5494
  "opengeni-gateway/xai/grok-voice-think-fast-2.0": "opengeni-gateway/xai/grok-voice-think-fast-2.0";
5495
+ "supergrok/grok-voice-think-fast-2.0": "supergrok/grok-voice-think-fast-2.0";
5018
5496
  "workspace-gateway/openai/gpt-realtime-2.1": "workspace-gateway/openai/gpt-realtime-2.1";
5019
5497
  "workspace-gateway/openai/gpt-realtime-mini": "workspace-gateway/openai/gpt-realtime-mini";
5020
5498
  "workspace-gateway/xai/grok-voice-think-fast-2.0": "workspace-gateway/xai/grok-voice-think-fast-2.0";
@@ -5026,6 +5504,7 @@ export declare const WorkspaceRealtimeModelCatalogItem: z.ZodObject<{
5026
5504
  "opengeni-gateway/openai/gpt-realtime-2.1": "opengeni-gateway/openai/gpt-realtime-2.1";
5027
5505
  "opengeni-gateway/openai/gpt-realtime-mini": "opengeni-gateway/openai/gpt-realtime-mini";
5028
5506
  "opengeni-gateway/xai/grok-voice-think-fast-2.0": "opengeni-gateway/xai/grok-voice-think-fast-2.0";
5507
+ "supergrok/grok-voice-think-fast-2.0": "supergrok/grok-voice-think-fast-2.0";
5029
5508
  "workspace-gateway/openai/gpt-realtime-2.1": "workspace-gateway/openai/gpt-realtime-2.1";
5030
5509
  "workspace-gateway/openai/gpt-realtime-mini": "workspace-gateway/openai/gpt-realtime-mini";
5031
5510
  "workspace-gateway/xai/grok-voice-think-fast-2.0": "workspace-gateway/xai/grok-voice-think-fast-2.0";
@@ -5033,6 +5512,7 @@ export declare const WorkspaceRealtimeModelCatalogItem: z.ZodObject<{
5033
5512
  label: z.ZodString;
5034
5513
  provider: z.ZodEnum<{
5035
5514
  "Connected Codex": "Connected Codex";
5515
+ "Connected SuperGrok": "Connected SuperGrok";
5036
5516
  OpenGeni: "OpenGeni";
5037
5517
  "Your Gateway": "Your Gateway";
5038
5518
  }>;
@@ -5049,6 +5529,7 @@ export declare const WorkspaceRealtimeModelCatalogResponse: z.ZodObject<{
5049
5529
  "opengeni-gateway/openai/gpt-realtime-2.1": "opengeni-gateway/openai/gpt-realtime-2.1";
5050
5530
  "opengeni-gateway/openai/gpt-realtime-mini": "opengeni-gateway/openai/gpt-realtime-mini";
5051
5531
  "opengeni-gateway/xai/grok-voice-think-fast-2.0": "opengeni-gateway/xai/grok-voice-think-fast-2.0";
5532
+ "supergrok/grok-voice-think-fast-2.0": "supergrok/grok-voice-think-fast-2.0";
5052
5533
  "workspace-gateway/openai/gpt-realtime-2.1": "workspace-gateway/openai/gpt-realtime-2.1";
5053
5534
  "workspace-gateway/openai/gpt-realtime-mini": "workspace-gateway/openai/gpt-realtime-mini";
5054
5535
  "workspace-gateway/xai/grok-voice-think-fast-2.0": "workspace-gateway/xai/grok-voice-think-fast-2.0";
@@ -5056,6 +5537,7 @@ export declare const WorkspaceRealtimeModelCatalogResponse: z.ZodObject<{
5056
5537
  label: z.ZodString;
5057
5538
  provider: z.ZodEnum<{
5058
5539
  "Connected Codex": "Connected Codex";
5540
+ "Connected SuperGrok": "Connected SuperGrok";
5059
5541
  OpenGeni: "OpenGeni";
5060
5542
  "Your Gateway": "Your Gateway";
5061
5543
  }>;
@@ -5087,6 +5569,7 @@ export declare const SessionRealtimeMode: z.ZodObject<{
5087
5569
  "opengeni-gateway/openai/gpt-realtime-2.1": "opengeni-gateway/openai/gpt-realtime-2.1";
5088
5570
  "opengeni-gateway/openai/gpt-realtime-mini": "opengeni-gateway/openai/gpt-realtime-mini";
5089
5571
  "opengeni-gateway/xai/grok-voice-think-fast-2.0": "opengeni-gateway/xai/grok-voice-think-fast-2.0";
5572
+ "supergrok/grok-voice-think-fast-2.0": "supergrok/grok-voice-think-fast-2.0";
5090
5573
  "workspace-gateway/openai/gpt-realtime-2.1": "workspace-gateway/openai/gpt-realtime-2.1";
5091
5574
  "workspace-gateway/openai/gpt-realtime-mini": "workspace-gateway/openai/gpt-realtime-mini";
5092
5575
  "workspace-gateway/xai/grok-voice-think-fast-2.0": "workspace-gateway/xai/grok-voice-think-fast-2.0";
@@ -5117,6 +5600,7 @@ export declare const BeginSessionRealtimeRequest: z.ZodObject<{
5117
5600
  "opengeni-gateway/openai/gpt-realtime-2.1": "opengeni-gateway/openai/gpt-realtime-2.1";
5118
5601
  "opengeni-gateway/openai/gpt-realtime-mini": "opengeni-gateway/openai/gpt-realtime-mini";
5119
5602
  "opengeni-gateway/xai/grok-voice-think-fast-2.0": "opengeni-gateway/xai/grok-voice-think-fast-2.0";
5603
+ "supergrok/grok-voice-think-fast-2.0": "supergrok/grok-voice-think-fast-2.0";
5120
5604
  "workspace-gateway/openai/gpt-realtime-2.1": "workspace-gateway/openai/gpt-realtime-2.1";
5121
5605
  "workspace-gateway/openai/gpt-realtime-mini": "workspace-gateway/openai/gpt-realtime-mini";
5122
5606
  "workspace-gateway/xai/grok-voice-think-fast-2.0": "workspace-gateway/xai/grok-voice-think-fast-2.0";
@@ -5150,6 +5634,7 @@ export declare const SessionRealtimeMutationResponse: z.ZodObject<{
5150
5634
  "opengeni-gateway/openai/gpt-realtime-2.1": "opengeni-gateway/openai/gpt-realtime-2.1";
5151
5635
  "opengeni-gateway/openai/gpt-realtime-mini": "opengeni-gateway/openai/gpt-realtime-mini";
5152
5636
  "opengeni-gateway/xai/grok-voice-think-fast-2.0": "opengeni-gateway/xai/grok-voice-think-fast-2.0";
5637
+ "supergrok/grok-voice-think-fast-2.0": "supergrok/grok-voice-think-fast-2.0";
5153
5638
  "workspace-gateway/openai/gpt-realtime-2.1": "workspace-gateway/openai/gpt-realtime-2.1";
5154
5639
  "workspace-gateway/openai/gpt-realtime-mini": "workspace-gateway/openai/gpt-realtime-mini";
5155
5640
  "workspace-gateway/xai/grok-voice-think-fast-2.0": "workspace-gateway/xai/grok-voice-think-fast-2.0";
@@ -5177,6 +5662,7 @@ export declare const SessionAuthorizationOperation: z.ZodEnum<{
5177
5662
  "session.append": "session.append";
5178
5663
  "session.approval.write": "session.approval.write";
5179
5664
  "session.capture.read": "session.capture.read";
5665
+ "session.channel.write": "session.channel.write";
5180
5666
  "session.child.create": "session.child.create";
5181
5667
  "session.codemode.call": "session.codemode.call";
5182
5668
  "session.codex_account.write": "session.codex_account.write";
@@ -5188,6 +5674,7 @@ export declare const SessionAuthorizationOperation: z.ZodEnum<{
5188
5674
  "session.files.read": "session.files.read";
5189
5675
  "session.files.write": "session.files.write";
5190
5676
  "session.first_party_mcp.call": "session.first_party_mcp.call";
5677
+ "session.fork.create": "session.fork.create";
5191
5678
  "session.git.read": "session.git.read";
5192
5679
  "session.goal.read": "session.goal.read";
5193
5680
  "session.goal.write": "session.goal.write";
@@ -5212,6 +5699,7 @@ export declare const SessionAuthorizationOperation: z.ZodEnum<{
5212
5699
  "session.turns.read": "session.turns.read";
5213
5700
  "session.viewer.control": "session.viewer.control";
5214
5701
  "session.viewer.read": "session.viewer.read";
5702
+ "session.visibility.write": "session.visibility.write";
5215
5703
  }>;
5216
5704
  export type SessionAuthorizationOperation = z.infer<typeof SessionAuthorizationOperation>;
5217
5705
  export declare const SessionAuthorizationActor: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -5497,6 +5985,17 @@ export declare const TimelineAnnotations: z.ZodArray<z.ZodObject<{
5497
5985
  export type TimelineAnnotations = z.infer<typeof TimelineAnnotations>;
5498
5986
  export declare function numberTimelineAnnotations(annotations: readonly SubmittedTimelineAnnotation[]): TimelineAnnotation[];
5499
5987
  export declare function renderTimelineAnnotationsForModel(text: string, annotations: readonly TimelineAnnotation[]): string;
5988
+ export declare const MODEL_CONTEXT_LABEL: "[Application context attached to this user message]";
5989
+ /**
5990
+ * Build one canonical user-role message body. `modelContext` is ordinary
5991
+ * message content: it is model-visible in the same chronological position as
5992
+ * the visible text, but presentation layers may omit it. It is not a secret or
5993
+ * an instruction-authority boundary.
5994
+ */
5995
+ export declare function renderUserMessageContentForModel(text: string, annotations: readonly TimelineAnnotation[], modelContext?: string | null): string | Array<{
5996
+ type: "input_text";
5997
+ text: string;
5998
+ }>;
5500
5999
  export declare const SessionTurn: z.ZodObject<{
5501
6000
  id: z.ZodString;
5502
6001
  workspaceId: z.ZodString;
@@ -5968,6 +6467,11 @@ export declare const NewSessionDraftOptions: z.ZodObject<{
5968
6467
  text: z.ZodString;
5969
6468
  successCriteria: z.ZodOptional<z.ZodString>;
5970
6469
  maxAutoContinuations: z.ZodOptional<z.ZodNumber>;
6470
+ mutationPolicy: z.ZodOptional<z.ZodEnum<{
6471
+ autonomous_adaptation: "autonomous_adaptation";
6472
+ preserve_intent: "preserve_intent";
6473
+ review_changes: "review_changes";
6474
+ }>>;
5971
6475
  }, z.core.$strip>>;
5972
6476
  firstPartyMcpPermissions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
5973
6477
  "account:admin": "account:admin";
@@ -6027,6 +6531,8 @@ export declare const NewSessionDraftOptions: z.ZodObject<{
6027
6531
  atlassian_search: "atlassian_search";
6028
6532
  atlassian_sources_list: "atlassian_sources_list";
6029
6533
  browser_act: "browser_act";
6534
+ browser_auth: "browser_auth";
6535
+ browser_clipboard: "browser_clipboard";
6030
6536
  browser_debug: "browser_debug";
6031
6537
  browser_identity: "browser_identity";
6032
6538
  browser_lifecycle: "browser_lifecycle";
@@ -6037,6 +6543,7 @@ export declare const NewSessionDraftOptions: z.ZodObject<{
6037
6543
  capability_authorization_request: "capability_authorization_request";
6038
6544
  capability_catalog_search: "capability_catalog_search";
6039
6545
  computer_act: "computer_act";
6546
+ computer_clipboard: "computer_clipboard";
6040
6547
  computer_lifecycle: "computer_lifecycle";
6041
6548
  computer_observe: "computer_observe";
6042
6549
  computer_open: "computer_open";
@@ -6052,13 +6559,25 @@ export declare const NewSessionDraftOptions: z.ZodObject<{
6052
6559
  editable_artifact_list: "editable_artifact_list";
6053
6560
  environment_list: "environment_list";
6054
6561
  environment_set_variable: "environment_set_variable";
6562
+ fiken_bank_accounts_list: "fiken_bank_accounts_list";
6563
+ fiken_companies_list: "fiken_companies_list";
6564
+ fiken_contact_create: "fiken_contact_create";
6565
+ fiken_contacts_list: "fiken_contacts_list";
6566
+ fiken_invoice_draft_create: "fiken_invoice_draft_create";
6567
+ fiken_invoice_get: "fiken_invoice_get";
6568
+ fiken_invoices_list: "fiken_invoices_list";
6569
+ fiken_products_list: "fiken_products_list";
6570
+ fiken_purchases_list: "fiken_purchases_list";
6571
+ fiken_sales_list: "fiken_sales_list";
6055
6572
  github_connect_link: "github_connect_link";
6056
6573
  github_repositories_list: "github_repositories_list";
6057
6574
  goal_complete: "goal_complete";
6058
6575
  goal_pause: "goal_pause";
6576
+ goal_progress: "goal_progress";
6059
6577
  goal_set: "goal_set";
6060
6578
  goal_update: "goal_update";
6061
6579
  interaction_discover: "interaction_discover";
6580
+ interaction_request_human: "interaction_request_human";
6062
6581
  memory_correct: "memory_correct";
6063
6582
  memory_save: "memory_save";
6064
6583
  memory_search: "memory_search";
@@ -6116,6 +6635,9 @@ export declare const NewSessionDraftOptions: z.ZodObject<{
6116
6635
  social_posts_sync: "social_posts_sync";
6117
6636
  social_search_live: "social_search_live";
6118
6637
  social_thread_fetch: "social_thread_fetch";
6638
+ task_note_archive: "task_note_archive";
6639
+ task_note_save: "task_note_save";
6640
+ task_notes_list: "task_notes_list";
6119
6641
  variable_set_get_variable: "variable_set_get_variable";
6120
6642
  variable_set_list: "variable_set_list";
6121
6643
  variable_set_set_variable: "variable_set_set_variable";
@@ -6202,6 +6724,11 @@ export declare const NewSessionDraft: z.ZodObject<{
6202
6724
  text: z.ZodString;
6203
6725
  successCriteria: z.ZodOptional<z.ZodString>;
6204
6726
  maxAutoContinuations: z.ZodOptional<z.ZodNumber>;
6727
+ mutationPolicy: z.ZodOptional<z.ZodEnum<{
6728
+ autonomous_adaptation: "autonomous_adaptation";
6729
+ preserve_intent: "preserve_intent";
6730
+ review_changes: "review_changes";
6731
+ }>>;
6205
6732
  }, z.core.$strip>>;
6206
6733
  firstPartyMcpPermissions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
6207
6734
  "account:admin": "account:admin";
@@ -6261,6 +6788,8 @@ export declare const NewSessionDraft: z.ZodObject<{
6261
6788
  atlassian_search: "atlassian_search";
6262
6789
  atlassian_sources_list: "atlassian_sources_list";
6263
6790
  browser_act: "browser_act";
6791
+ browser_auth: "browser_auth";
6792
+ browser_clipboard: "browser_clipboard";
6264
6793
  browser_debug: "browser_debug";
6265
6794
  browser_identity: "browser_identity";
6266
6795
  browser_lifecycle: "browser_lifecycle";
@@ -6271,6 +6800,7 @@ export declare const NewSessionDraft: z.ZodObject<{
6271
6800
  capability_authorization_request: "capability_authorization_request";
6272
6801
  capability_catalog_search: "capability_catalog_search";
6273
6802
  computer_act: "computer_act";
6803
+ computer_clipboard: "computer_clipboard";
6274
6804
  computer_lifecycle: "computer_lifecycle";
6275
6805
  computer_observe: "computer_observe";
6276
6806
  computer_open: "computer_open";
@@ -6286,13 +6816,25 @@ export declare const NewSessionDraft: z.ZodObject<{
6286
6816
  editable_artifact_list: "editable_artifact_list";
6287
6817
  environment_list: "environment_list";
6288
6818
  environment_set_variable: "environment_set_variable";
6819
+ fiken_bank_accounts_list: "fiken_bank_accounts_list";
6820
+ fiken_companies_list: "fiken_companies_list";
6821
+ fiken_contact_create: "fiken_contact_create";
6822
+ fiken_contacts_list: "fiken_contacts_list";
6823
+ fiken_invoice_draft_create: "fiken_invoice_draft_create";
6824
+ fiken_invoice_get: "fiken_invoice_get";
6825
+ fiken_invoices_list: "fiken_invoices_list";
6826
+ fiken_products_list: "fiken_products_list";
6827
+ fiken_purchases_list: "fiken_purchases_list";
6828
+ fiken_sales_list: "fiken_sales_list";
6289
6829
  github_connect_link: "github_connect_link";
6290
6830
  github_repositories_list: "github_repositories_list";
6291
6831
  goal_complete: "goal_complete";
6292
6832
  goal_pause: "goal_pause";
6833
+ goal_progress: "goal_progress";
6293
6834
  goal_set: "goal_set";
6294
6835
  goal_update: "goal_update";
6295
6836
  interaction_discover: "interaction_discover";
6837
+ interaction_request_human: "interaction_request_human";
6296
6838
  memory_correct: "memory_correct";
6297
6839
  memory_save: "memory_save";
6298
6840
  memory_search: "memory_search";
@@ -6350,6 +6892,9 @@ export declare const NewSessionDraft: z.ZodObject<{
6350
6892
  social_posts_sync: "social_posts_sync";
6351
6893
  social_search_live: "social_search_live";
6352
6894
  social_thread_fetch: "social_thread_fetch";
6895
+ task_note_archive: "task_note_archive";
6896
+ task_note_save: "task_note_save";
6897
+ task_notes_list: "task_notes_list";
6353
6898
  variable_set_get_variable: "variable_set_get_variable";
6354
6899
  variable_set_list: "variable_set_list";
6355
6900
  variable_set_set_variable: "variable_set_set_variable";
@@ -6436,6 +6981,11 @@ export declare const SaveNewSessionDraftRequest: z.ZodObject<{
6436
6981
  text: z.ZodString;
6437
6982
  successCriteria: z.ZodOptional<z.ZodString>;
6438
6983
  maxAutoContinuations: z.ZodOptional<z.ZodNumber>;
6984
+ mutationPolicy: z.ZodOptional<z.ZodEnum<{
6985
+ autonomous_adaptation: "autonomous_adaptation";
6986
+ preserve_intent: "preserve_intent";
6987
+ review_changes: "review_changes";
6988
+ }>>;
6439
6989
  }, z.core.$strip>>;
6440
6990
  firstPartyMcpPermissions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
6441
6991
  "account:admin": "account:admin";
@@ -6495,6 +7045,8 @@ export declare const SaveNewSessionDraftRequest: z.ZodObject<{
6495
7045
  atlassian_search: "atlassian_search";
6496
7046
  atlassian_sources_list: "atlassian_sources_list";
6497
7047
  browser_act: "browser_act";
7048
+ browser_auth: "browser_auth";
7049
+ browser_clipboard: "browser_clipboard";
6498
7050
  browser_debug: "browser_debug";
6499
7051
  browser_identity: "browser_identity";
6500
7052
  browser_lifecycle: "browser_lifecycle";
@@ -6505,6 +7057,7 @@ export declare const SaveNewSessionDraftRequest: z.ZodObject<{
6505
7057
  capability_authorization_request: "capability_authorization_request";
6506
7058
  capability_catalog_search: "capability_catalog_search";
6507
7059
  computer_act: "computer_act";
7060
+ computer_clipboard: "computer_clipboard";
6508
7061
  computer_lifecycle: "computer_lifecycle";
6509
7062
  computer_observe: "computer_observe";
6510
7063
  computer_open: "computer_open";
@@ -6520,13 +7073,25 @@ export declare const SaveNewSessionDraftRequest: z.ZodObject<{
6520
7073
  editable_artifact_list: "editable_artifact_list";
6521
7074
  environment_list: "environment_list";
6522
7075
  environment_set_variable: "environment_set_variable";
7076
+ fiken_bank_accounts_list: "fiken_bank_accounts_list";
7077
+ fiken_companies_list: "fiken_companies_list";
7078
+ fiken_contact_create: "fiken_contact_create";
7079
+ fiken_contacts_list: "fiken_contacts_list";
7080
+ fiken_invoice_draft_create: "fiken_invoice_draft_create";
7081
+ fiken_invoice_get: "fiken_invoice_get";
7082
+ fiken_invoices_list: "fiken_invoices_list";
7083
+ fiken_products_list: "fiken_products_list";
7084
+ fiken_purchases_list: "fiken_purchases_list";
7085
+ fiken_sales_list: "fiken_sales_list";
6523
7086
  github_connect_link: "github_connect_link";
6524
7087
  github_repositories_list: "github_repositories_list";
6525
7088
  goal_complete: "goal_complete";
6526
7089
  goal_pause: "goal_pause";
7090
+ goal_progress: "goal_progress";
6527
7091
  goal_set: "goal_set";
6528
7092
  goal_update: "goal_update";
6529
7093
  interaction_discover: "interaction_discover";
7094
+ interaction_request_human: "interaction_request_human";
6530
7095
  memory_correct: "memory_correct";
6531
7096
  memory_save: "memory_save";
6532
7097
  memory_search: "memory_search";
@@ -6584,6 +7149,9 @@ export declare const SaveNewSessionDraftRequest: z.ZodObject<{
6584
7149
  social_posts_sync: "social_posts_sync";
6585
7150
  social_search_live: "social_search_live";
6586
7151
  social_thread_fetch: "social_thread_fetch";
7152
+ task_note_archive: "task_note_archive";
7153
+ task_note_save: "task_note_save";
7154
+ task_notes_list: "task_notes_list";
6587
7155
  variable_set_get_variable: "variable_set_get_variable";
6588
7156
  variable_set_list: "variable_set_list";
6589
7157
  variable_set_set_variable: "variable_set_set_variable";
@@ -7827,6 +8395,31 @@ export declare const UpdateRigRequest: z.ZodObject<{
7827
8395
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7828
8396
  }, z.core.$strip>;
7829
8397
  export type UpdateRigRequest = z.infer<typeof UpdateRigRequest>;
8398
+ export declare const Channel: z.ZodObject<{
8399
+ id: z.ZodString;
8400
+ accountId: z.ZodString;
8401
+ workspaceId: z.ZodString;
8402
+ name: z.ZodString;
8403
+ description: z.ZodNullable<z.ZodString>;
8404
+ createdBy: z.ZodNullable<z.ZodString>;
8405
+ createdAt: z.ZodString;
8406
+ updatedAt: z.ZodString;
8407
+ }, z.core.$strip>;
8408
+ export type Channel = z.infer<typeof Channel>;
8409
+ export declare const CreateChannelRequest: z.ZodObject<{
8410
+ name: z.ZodString;
8411
+ description: z.ZodOptional<z.ZodString>;
8412
+ }, z.core.$strip>;
8413
+ export type CreateChannelRequest = z.infer<typeof CreateChannelRequest>;
8414
+ export declare const UpdateChannelRequest: z.ZodObject<{
8415
+ name: z.ZodOptional<z.ZodString>;
8416
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8417
+ }, z.core.$strip>;
8418
+ export type UpdateChannelRequest = z.infer<typeof UpdateChannelRequest>;
8419
+ export declare const UpdateSessionChannelRequest: z.ZodObject<{
8420
+ channelId: z.ZodNullable<z.ZodString>;
8421
+ }, z.core.$strip>;
8422
+ export type UpdateSessionChannelRequest = z.infer<typeof UpdateSessionChannelRequest>;
7830
8423
  export declare const RigSetupAppendPayload: z.ZodObject<{
7831
8424
  command: z.ZodString;
7832
8425
  note: z.ZodOptional<z.ZodString>;
@@ -8116,6 +8709,11 @@ export declare const ScheduledTaskAgentConfig: z.ZodObject<{
8116
8709
  text: z.ZodString;
8117
8710
  successCriteria: z.ZodOptional<z.ZodString>;
8118
8711
  maxAutoContinuations: z.ZodOptional<z.ZodNumber>;
8712
+ mutationPolicy: z.ZodOptional<z.ZodEnum<{
8713
+ autonomous_adaptation: "autonomous_adaptation";
8714
+ preserve_intent: "preserve_intent";
8715
+ review_changes: "review_changes";
8716
+ }>>;
8119
8717
  }, z.core.$strip>>;
8120
8718
  maxNestedAgentDepth: z.ZodOptional<z.ZodNumber>;
8121
8719
  }, z.core.$strip>;
@@ -8276,6 +8874,11 @@ export declare const ScheduledTask: z.ZodObject<{
8276
8874
  text: z.ZodString;
8277
8875
  successCriteria: z.ZodOptional<z.ZodString>;
8278
8876
  maxAutoContinuations: z.ZodOptional<z.ZodNumber>;
8877
+ mutationPolicy: z.ZodOptional<z.ZodEnum<{
8878
+ autonomous_adaptation: "autonomous_adaptation";
8879
+ preserve_intent: "preserve_intent";
8880
+ review_changes: "review_changes";
8881
+ }>>;
8279
8882
  }, z.core.$strip>>;
8280
8883
  maxNestedAgentDepth: z.ZodOptional<z.ZodNumber>;
8281
8884
  }, z.core.$strip>;
@@ -8779,6 +9382,11 @@ export declare const CreateScheduledTaskRequest: z.ZodUnion<readonly [z.ZodPipe<
8779
9382
  text: z.ZodString;
8780
9383
  successCriteria: z.ZodOptional<z.ZodString>;
8781
9384
  maxAutoContinuations: z.ZodOptional<z.ZodNumber>;
9385
+ mutationPolicy: z.ZodOptional<z.ZodEnum<{
9386
+ autonomous_adaptation: "autonomous_adaptation";
9387
+ preserve_intent: "preserve_intent";
9388
+ review_changes: "review_changes";
9389
+ }>>;
8782
9390
  }, z.core.$strip>>;
8783
9391
  maxNestedAgentDepth: z.ZodOptional<z.ZodNumber>;
8784
9392
  }, z.core.$strip>;
@@ -8941,6 +9549,11 @@ export declare const UpdateScheduledTaskRequest: z.ZodPreprocess<z.ZodObject<{
8941
9549
  text: z.ZodString;
8942
9550
  successCriteria: z.ZodOptional<z.ZodString>;
8943
9551
  maxAutoContinuations: z.ZodOptional<z.ZodNumber>;
9552
+ mutationPolicy: z.ZodOptional<z.ZodEnum<{
9553
+ autonomous_adaptation: "autonomous_adaptation";
9554
+ preserve_intent: "preserve_intent";
9555
+ review_changes: "review_changes";
9556
+ }>>;
8944
9557
  }, z.core.$strip>>;
8945
9558
  maxNestedAgentDepth: z.ZodOptional<z.ZodNumber>;
8946
9559
  }, z.core.$strip>>;
@@ -9110,10 +9723,10 @@ export declare const CapabilityPackComponentReference: z.ZodDiscriminatedUnion<[
9110
9723
  required: z.ZodDefault<z.ZodBoolean>;
9111
9724
  }, z.core.$strict>, z.ZodObject<{
9112
9725
  key: z.ZodString;
9113
- kind: z.ZodLiteral<"feature">;
9726
+ kind: z.ZodLiteral<"facet">;
9114
9727
  capabilityId: z.ZodString;
9115
9728
  instanceKey: z.ZodString;
9116
- featureKey: z.ZodString;
9729
+ facetKey: z.ZodString;
9117
9730
  bindingKey: z.ZodString;
9118
9731
  configDigest: z.ZodString;
9119
9732
  required: z.ZodDefault<z.ZodBoolean>;
@@ -9170,10 +9783,10 @@ export declare const CapabilityPack: z.ZodPreprocess<z.ZodObject<{
9170
9783
  required: z.ZodDefault<z.ZodBoolean>;
9171
9784
  }, z.core.$strict>, z.ZodObject<{
9172
9785
  key: z.ZodString;
9173
- kind: z.ZodLiteral<"feature">;
9786
+ kind: z.ZodLiteral<"facet">;
9174
9787
  capabilityId: z.ZodString;
9175
9788
  instanceKey: z.ZodString;
9176
- featureKey: z.ZodString;
9789
+ facetKey: z.ZodString;
9177
9790
  bindingKey: z.ZodString;
9178
9791
  configDigest: z.ZodString;
9179
9792
  required: z.ZodDefault<z.ZodBoolean>;
@@ -9305,10 +9918,10 @@ export declare const RegisterCapabilityPackRequest: z.ZodPreprocess<z.ZodObject<
9305
9918
  required: z.ZodDefault<z.ZodBoolean>;
9306
9919
  }, z.core.$strict>, z.ZodObject<{
9307
9920
  key: z.ZodString;
9308
- kind: z.ZodLiteral<"feature">;
9921
+ kind: z.ZodLiteral<"facet">;
9309
9922
  capabilityId: z.ZodString;
9310
9923
  instanceKey: z.ZodString;
9311
- featureKey: z.ZodString;
9924
+ facetKey: z.ZodString;
9312
9925
  bindingKey: z.ZodString;
9313
9926
  configDigest: z.ZodString;
9314
9927
  required: z.ZodDefault<z.ZodBoolean>;
@@ -9443,10 +10056,10 @@ export declare const WorkspaceRegisteredPack: z.ZodObject<{
9443
10056
  required: z.ZodDefault<z.ZodBoolean>;
9444
10057
  }, z.core.$strict>, z.ZodObject<{
9445
10058
  key: z.ZodString;
9446
- kind: z.ZodLiteral<"feature">;
10059
+ kind: z.ZodLiteral<"facet">;
9447
10060
  capabilityId: z.ZodString;
9448
10061
  instanceKey: z.ZodString;
9449
- featureKey: z.ZodString;
10062
+ facetKey: z.ZodString;
9450
10063
  bindingKey: z.ZodString;
9451
10064
  configDigest: z.ZodString;
9452
10065
  required: z.ZodDefault<z.ZodBoolean>;
@@ -9600,10 +10213,10 @@ export declare const PackInstallation: z.ZodObject<{
9600
10213
  required: z.ZodDefault<z.ZodBoolean>;
9601
10214
  }, z.core.$strict>, z.ZodObject<{
9602
10215
  key: z.ZodString;
9603
- kind: z.ZodLiteral<"feature">;
10216
+ kind: z.ZodLiteral<"facet">;
9604
10217
  capabilityId: z.ZodString;
9605
10218
  instanceKey: z.ZodString;
9606
- featureKey: z.ZodString;
10219
+ facetKey: z.ZodString;
9607
10220
  bindingKey: z.ZodString;
9608
10221
  configDigest: z.ZodString;
9609
10222
  required: z.ZodDefault<z.ZodBoolean>;
@@ -9713,7 +10326,7 @@ export type PackComponentResolutionStatus = z.infer<typeof PackComponentResoluti
9713
10326
  export declare const PackComponentResolution: z.ZodObject<{
9714
10327
  key: z.ZodString;
9715
10328
  kind: z.ZodEnum<{
9716
- feature: "feature";
10329
+ facet: "facet";
9717
10330
  inline_skill: "inline_skill";
9718
10331
  integration: "integration";
9719
10332
  plugin: "plugin";
@@ -9768,7 +10381,7 @@ export declare const PackInstallationPreview: z.ZodObject<{
9768
10381
  components: z.ZodArray<z.ZodObject<{
9769
10382
  key: z.ZodString;
9770
10383
  kind: z.ZodEnum<{
9771
- feature: "feature";
10384
+ facet: "facet";
9772
10385
  inline_skill: "inline_skill";
9773
10386
  integration: "integration";
9774
10387
  plugin: "plugin";
@@ -9822,7 +10435,7 @@ export declare const PackUninstallPreview: z.ZodObject<{
9822
10435
  components: z.ZodArray<z.ZodObject<{
9823
10436
  key: z.ZodString;
9824
10437
  kind: z.ZodEnum<{
9825
- feature: "feature";
10438
+ facet: "facet";
9826
10439
  inline_skill: "inline_skill";
9827
10440
  integration: "integration";
9828
10441
  plugin: "plugin";
@@ -10011,6 +10624,42 @@ export declare const OpenGeniSlackBotConnectionMetadata: z.ZodObject<{
10011
10624
  verifiedAt: z.ZodString;
10012
10625
  }, z.core.$loose>;
10013
10626
  export type OpenGeniSlackBotConnectionMetadata = z.infer<typeof OpenGeniSlackBotConnectionMetadata>;
10627
+ export declare const FIKEN_PROVIDER_DOMAIN: "fiken.no";
10628
+ export declare const FIKEN_CREDENTIAL_ROLE: "fiken_api_token";
10629
+ export declare const FIKEN_CREDENTIAL_LABEL: "Fiken API token";
10630
+ export declare const FikenCompanySummary: z.ZodObject<{
10631
+ slug: z.ZodString;
10632
+ name: z.ZodString;
10633
+ organizationNumber: z.ZodNullable<z.ZodString>;
10634
+ }, z.core.$strip>;
10635
+ export type FikenCompanySummary = z.infer<typeof FikenCompanySummary>;
10636
+ export declare const FikenConnectionMetadata: z.ZodObject<{
10637
+ credentialRole: z.ZodLiteral<"fiken_api_token">;
10638
+ credentialLabel: z.ZodLiteral<"Fiken API token">;
10639
+ companies: z.ZodArray<z.ZodObject<{
10640
+ slug: z.ZodString;
10641
+ name: z.ZodString;
10642
+ organizationNumber: z.ZodNullable<z.ZodString>;
10643
+ }, z.core.$strip>>;
10644
+ defaultCompanySlug: z.ZodNullable<z.ZodString>;
10645
+ verifiedAt: z.ZodString;
10646
+ }, z.core.$loose>;
10647
+ export type FikenConnectionMetadata = z.infer<typeof FikenConnectionMetadata>;
10648
+ export declare const FikenInstallRequest: z.ZodObject<{
10649
+ apiToken: z.ZodString;
10650
+ defaultCompanySlug: z.ZodOptional<z.ZodString>;
10651
+ connectionId: z.ZodOptional<z.ZodString>;
10652
+ }, z.core.$strip>;
10653
+ export type FikenInstallRequest = z.infer<typeof FikenInstallRequest>;
10654
+ export declare const FikenOAuthStartRequest: z.ZodObject<{
10655
+ connectionId: z.ZodOptional<z.ZodString>;
10656
+ }, z.core.$strip>;
10657
+ export type FikenOAuthStartRequest = z.infer<typeof FikenOAuthStartRequest>;
10658
+ export declare const FikenOAuthStartResponse: z.ZodObject<{
10659
+ authorizationUrl: z.ZodString;
10660
+ expiresAt: z.ZodString;
10661
+ }, z.core.$strip>;
10662
+ export type FikenOAuthStartResponse = z.infer<typeof FikenOAuthStartResponse>;
10014
10663
  export declare const ConnectionMetadata: z.ZodObject<{
10015
10664
  id: z.ZodString;
10016
10665
  accountId: z.ZodString;
@@ -10566,12 +11215,7 @@ export declare const CapabilityInstallation: z.ZodObject<{
10566
11215
  export type CapabilityInstallation = z.infer<typeof CapabilityInstallation>;
10567
11216
  export declare const CreateCapabilityCatalogItemRequest: z.ZodObject<{
10568
11217
  id: z.ZodOptional<z.ZodString>;
10569
- kind: z.ZodEnum<{
10570
- api: "api";
10571
- mcp: "mcp";
10572
- plugin: "plugin";
10573
- skill: "skill";
10574
- }>;
11218
+ kind: z.ZodLiteral<"mcp">;
10575
11219
  source: z.ZodDefault<z.ZodEnum<{
10576
11220
  built_in: "built_in";
10577
11221
  configured: "configured";
@@ -10591,7 +11235,7 @@ export declare const CreateCapabilityCatalogItemRequest: z.ZodObject<{
10591
11235
  metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10592
11236
  }, z.core.$strip>;
10593
11237
  export type CreateCapabilityCatalogItemRequest = z.infer<typeof CreateCapabilityCatalogItemRequest>;
10594
- export declare const EnableCapabilityRequest: z.ZodPreprocess<z.ZodObject<{
11238
+ export declare const EnableCapabilityRequest: z.ZodObject<{
10595
11239
  config: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10596
11240
  metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10597
11241
  connectionRef: z.ZodOptional<z.ZodObject<{
@@ -10616,9 +11260,7 @@ export declare const EnableCapabilityRequest: z.ZodPreprocess<z.ZodObject<{
10616
11260
  }>>;
10617
11261
  }, z.core.$strict>>;
10618
11262
  headers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
10619
- variableSetId: z.ZodOptional<z.ZodString>;
10620
- environmentId: z.ZodOptional<z.ZodString>;
10621
- }, z.core.$strip>>;
11263
+ }, z.core.$strip>;
10622
11264
  export type EnableCapabilityRequest = z.infer<typeof EnableCapabilityRequest>;
10623
11265
  export declare const CapabilityCatalogResponse: z.ZodObject<{
10624
11266
  items: z.ZodArray<z.ZodObject<{
@@ -10892,6 +11534,13 @@ export declare const SkillImportSource: z.ZodEnum<{
10892
11534
  skills_sh: "skills_sh";
10893
11535
  }>;
10894
11536
  export type SkillImportSource = z.infer<typeof SkillImportSource>;
11537
+ export declare const SkillInstallationSource: z.ZodEnum<{
11538
+ github: "github";
11539
+ library: "library";
11540
+ pack: "pack";
11541
+ skills_sh: "skills_sh";
11542
+ }>;
11543
+ export type SkillInstallationSource = z.infer<typeof SkillInstallationSource>;
10895
11544
  export declare const PreviewSkillImportRequest: z.ZodObject<{
10896
11545
  url: z.ZodString;
10897
11546
  }, z.core.$strip>;
@@ -10934,6 +11583,12 @@ export declare const InstallSkillRequest: z.ZodObject<{
10934
11583
  expectedInstallationVersion: z.ZodOptional<z.ZodNumber>;
10935
11584
  }, z.core.$strip>;
10936
11585
  export type InstallSkillRequest = z.infer<typeof InstallSkillRequest>;
11586
+ export declare const InstallLibrarySkillRequest: z.ZodObject<{
11587
+ expectedVersion: z.ZodString;
11588
+ expectedContentSha256: z.ZodString;
11589
+ expectedInstallationVersion: z.ZodOptional<z.ZodNumber>;
11590
+ }, z.core.$strict>;
11591
+ export type InstallLibrarySkillRequest = z.infer<typeof InstallLibrarySkillRequest>;
10937
11592
  export declare const InstalledSkill: z.ZodObject<{
10938
11593
  capabilityId: z.ZodString;
10939
11594
  pluginId: z.ZodString;
@@ -10944,8 +11599,11 @@ export declare const InstalledSkill: z.ZodObject<{
10944
11599
  installationVersion: z.ZodNumber;
10945
11600
  source: z.ZodEnum<{
10946
11601
  github: "github";
11602
+ library: "library";
11603
+ pack: "pack";
10947
11604
  skills_sh: "skills_sh";
10948
11605
  }>;
11606
+ version: z.ZodString;
10949
11607
  sourceUrl: z.ZodString;
10950
11608
  sourceCommit: z.ZodString;
10951
11609
  contentSha256: z.ZodString;
@@ -10964,11 +11622,33 @@ export declare const CapabilityComponentOwner: z.ZodObject<{
10964
11622
  removable: z.ZodBoolean;
10965
11623
  }, z.core.$strip>;
10966
11624
  export type CapabilityComponentOwner = z.infer<typeof CapabilityComponentOwner>;
10967
- export declare const SkillUninstallPreview: z.ZodObject<{
11625
+ export declare const InstalledSkillSummary: z.ZodObject<{
10968
11626
  capabilityId: z.ZodString;
10969
- installed: z.ZodBoolean;
10970
- installationVersion: z.ZodNullable<z.ZodNumber>;
10971
- directOwner: z.ZodNullable<z.ZodObject<{
11627
+ pluginKey: z.ZodString;
11628
+ installationVersion: z.ZodNumber;
11629
+ name: z.ZodString;
11630
+ description: z.ZodString;
11631
+ category: z.ZodString;
11632
+ tags: z.ZodArray<z.ZodString>;
11633
+ provenance: z.ZodString;
11634
+ source: z.ZodEnum<{
11635
+ github: "github";
11636
+ library: "library";
11637
+ pack: "pack";
11638
+ skills_sh: "skills_sh";
11639
+ }>;
11640
+ version: z.ZodString;
11641
+ sourceUrl: z.ZodString;
11642
+ repositoryUrl: z.ZodString;
11643
+ sourceCommit: z.ZodString;
11644
+ sourcePath: z.ZodString;
11645
+ contentSha256: z.ZodString;
11646
+ fileCount: z.ZodNumber;
11647
+ totalBytes: z.ZodNumber;
11648
+ license: z.ZodNullable<z.ZodString>;
11649
+ installedAt: z.ZodString;
11650
+ updatedAt: z.ZodString;
11651
+ owners: z.ZodArray<z.ZodObject<{
10972
11652
  kind: z.ZodEnum<{
10973
11653
  direct: "direct";
10974
11654
  migration: "migration";
@@ -10978,10 +11658,66 @@ export declare const SkillUninstallPreview: z.ZodObject<{
10978
11658
  id: z.ZodString;
10979
11659
  removable: z.ZodBoolean;
10980
11660
  }, z.core.$strip>>;
10981
- remainingOwners: z.ZodArray<z.ZodObject<{
10982
- kind: z.ZodEnum<{
10983
- direct: "direct";
10984
- migration: "migration";
11661
+ }, z.core.$strict>;
11662
+ export type InstalledSkillSummary = z.infer<typeof InstalledSkillSummary>;
11663
+ export declare const ListInstalledSkillsResponse: z.ZodObject<{
11664
+ skills: z.ZodArray<z.ZodObject<{
11665
+ capabilityId: z.ZodString;
11666
+ pluginKey: z.ZodString;
11667
+ installationVersion: z.ZodNumber;
11668
+ name: z.ZodString;
11669
+ description: z.ZodString;
11670
+ category: z.ZodString;
11671
+ tags: z.ZodArray<z.ZodString>;
11672
+ provenance: z.ZodString;
11673
+ source: z.ZodEnum<{
11674
+ github: "github";
11675
+ library: "library";
11676
+ pack: "pack";
11677
+ skills_sh: "skills_sh";
11678
+ }>;
11679
+ version: z.ZodString;
11680
+ sourceUrl: z.ZodString;
11681
+ repositoryUrl: z.ZodString;
11682
+ sourceCommit: z.ZodString;
11683
+ sourcePath: z.ZodString;
11684
+ contentSha256: z.ZodString;
11685
+ fileCount: z.ZodNumber;
11686
+ totalBytes: z.ZodNumber;
11687
+ license: z.ZodNullable<z.ZodString>;
11688
+ installedAt: z.ZodString;
11689
+ updatedAt: z.ZodString;
11690
+ owners: z.ZodArray<z.ZodObject<{
11691
+ kind: z.ZodEnum<{
11692
+ direct: "direct";
11693
+ migration: "migration";
11694
+ pack: "pack";
11695
+ plugin: "plugin";
11696
+ }>;
11697
+ id: z.ZodString;
11698
+ removable: z.ZodBoolean;
11699
+ }, z.core.$strip>>;
11700
+ }, z.core.$strict>>;
11701
+ }, z.core.$strict>;
11702
+ export type ListInstalledSkillsResponse = z.infer<typeof ListInstalledSkillsResponse>;
11703
+ export declare const SkillUninstallPreview: z.ZodObject<{
11704
+ capabilityId: z.ZodString;
11705
+ installed: z.ZodBoolean;
11706
+ installationVersion: z.ZodNullable<z.ZodNumber>;
11707
+ directOwner: z.ZodNullable<z.ZodObject<{
11708
+ kind: z.ZodEnum<{
11709
+ direct: "direct";
11710
+ migration: "migration";
11711
+ pack: "pack";
11712
+ plugin: "plugin";
11713
+ }>;
11714
+ id: z.ZodString;
11715
+ removable: z.ZodBoolean;
11716
+ }, z.core.$strip>>;
11717
+ remainingOwners: z.ZodArray<z.ZodObject<{
11718
+ kind: z.ZodEnum<{
11719
+ direct: "direct";
11720
+ migration: "migration";
10985
11721
  pack: "pack";
10986
11722
  plugin: "plugin";
10987
11723
  }>;
@@ -11019,25 +11755,30 @@ export declare const ApiIntegrationProtocol: z.ZodEnum<{
11019
11755
  openapi: "openapi";
11020
11756
  }>;
11021
11757
  export type ApiIntegrationProtocol = z.infer<typeof ApiIntegrationProtocol>;
11022
- export declare const IntegrationFeatureKey: z.ZodString;
11023
- export type IntegrationFeatureKey = z.infer<typeof IntegrationFeatureKey>;
11024
- export declare const IntegrationFeatureKind: z.ZodEnum<{
11758
+ export declare const IntegrationDefinitionProvenance: z.ZodEnum<{
11759
+ curated: "curated";
11760
+ workspace: "workspace";
11761
+ }>;
11762
+ export type IntegrationDefinitionProvenance = z.infer<typeof IntegrationDefinitionProvenance>;
11763
+ export declare const IntegrationFacetKey: z.ZodString;
11764
+ export type IntegrationFacetKey = z.infer<typeof IntegrationFacetKey>;
11765
+ export declare const IntegrationFacetKind: z.ZodEnum<{
11025
11766
  delivery_destination: "delivery_destination";
11026
11767
  identity_link: "identity_link";
11027
11768
  inbound_trigger: "inbound_trigger";
11028
11769
  knowledge_source: "knowledge_source";
11029
11770
  tools: "tools";
11030
11771
  }>;
11031
- export type IntegrationFeatureKind = z.infer<typeof IntegrationFeatureKind>;
11032
- export declare const IntegrationFeatureStatus: z.ZodEnum<{
11772
+ export type IntegrationFacetKind = z.infer<typeof IntegrationFacetKind>;
11773
+ export declare const IntegrationFacetStatus: z.ZodEnum<{
11033
11774
  active: "active";
11034
11775
  disabled: "disabled";
11035
11776
  needs_attention: "needs_attention";
11036
11777
  paused: "paused";
11037
11778
  }>;
11038
- export type IntegrationFeatureStatus = z.infer<typeof IntegrationFeatureStatus>;
11039
- export declare const IntegrationFeatureDefinitionSummary: z.ZodObject<{
11040
- featureKey: z.ZodString;
11779
+ export type IntegrationFacetStatus = z.infer<typeof IntegrationFacetStatus>;
11780
+ export declare const IntegrationFacetDefinitionSummary: z.ZodObject<{
11781
+ facetKey: z.ZodString;
11041
11782
  kind: z.ZodEnum<{
11042
11783
  delivery_destination: "delivery_destination";
11043
11784
  identity_link: "identity_link";
@@ -11047,20 +11788,25 @@ export declare const IntegrationFeatureDefinitionSummary: z.ZodObject<{
11047
11788
  configSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
11048
11789
  capabilities: z.ZodRecord<z.ZodString, z.ZodUnknown>;
11049
11790
  }, z.core.$strict>;
11050
- export type IntegrationFeatureDefinitionSummary = z.infer<typeof IntegrationFeatureDefinitionSummary>;
11051
- export declare const ApiIntegrationPresetSummary: z.ZodObject<{
11791
+ export type IntegrationFacetDefinitionSummary = z.infer<typeof IntegrationFacetDefinitionSummary>;
11792
+ export declare const IntegrationDefinitionSummary: z.ZodObject<{
11052
11793
  id: z.ZodString;
11053
11794
  name: z.ZodString;
11054
11795
  summary: z.ZodString;
11055
- family: z.ZodEnum<{
11056
- google: "google";
11057
- microsoft: "microsoft";
11058
- }>;
11059
11796
  protocol: z.ZodLiteral<"openapi">;
11060
- providerDomain: z.ZodString;
11061
- scopes: z.ZodArray<z.ZodString>;
11062
- features: z.ZodArray<z.ZodObject<{
11063
- featureKey: z.ZodString;
11797
+ provider: z.ZodObject<{
11798
+ id: z.ZodEnum<{
11799
+ google: "google";
11800
+ microsoft: "microsoft";
11801
+ }>;
11802
+ domain: z.ZodString;
11803
+ }, z.core.$strict>;
11804
+ authentication: z.ZodObject<{
11805
+ kind: z.ZodLiteral<"oauth2">;
11806
+ scopes: z.ZodArray<z.ZodString>;
11807
+ }, z.core.$strict>;
11808
+ facets: z.ZodArray<z.ZodObject<{
11809
+ facetKey: z.ZodString;
11064
11810
  kind: z.ZodEnum<{
11065
11811
  delivery_destination: "delivery_destination";
11066
11812
  identity_link: "identity_link";
@@ -11071,21 +11817,26 @@ export declare const ApiIntegrationPresetSummary: z.ZodObject<{
11071
11817
  capabilities: z.ZodRecord<z.ZodString, z.ZodUnknown>;
11072
11818
  }, z.core.$strict>>;
11073
11819
  }, z.core.$strict>;
11074
- export type ApiIntegrationPresetSummary = z.infer<typeof ApiIntegrationPresetSummary>;
11075
- export declare const ListApiIntegrationPresetsResponse: z.ZodObject<{
11076
- presets: z.ZodArray<z.ZodObject<{
11820
+ export type IntegrationDefinitionSummary = z.infer<typeof IntegrationDefinitionSummary>;
11821
+ export declare const ListIntegrationDefinitionsResponse: z.ZodObject<{
11822
+ definitions: z.ZodArray<z.ZodObject<{
11077
11823
  id: z.ZodString;
11078
11824
  name: z.ZodString;
11079
11825
  summary: z.ZodString;
11080
- family: z.ZodEnum<{
11081
- google: "google";
11082
- microsoft: "microsoft";
11083
- }>;
11084
11826
  protocol: z.ZodLiteral<"openapi">;
11085
- providerDomain: z.ZodString;
11086
- scopes: z.ZodArray<z.ZodString>;
11087
- features: z.ZodArray<z.ZodObject<{
11088
- featureKey: z.ZodString;
11827
+ provider: z.ZodObject<{
11828
+ id: z.ZodEnum<{
11829
+ google: "google";
11830
+ microsoft: "microsoft";
11831
+ }>;
11832
+ domain: z.ZodString;
11833
+ }, z.core.$strict>;
11834
+ authentication: z.ZodObject<{
11835
+ kind: z.ZodLiteral<"oauth2">;
11836
+ scopes: z.ZodArray<z.ZodString>;
11837
+ }, z.core.$strict>;
11838
+ facets: z.ZodArray<z.ZodObject<{
11839
+ facetKey: z.ZodString;
11089
11840
  kind: z.ZodEnum<{
11090
11841
  delivery_destination: "delivery_destination";
11091
11842
  identity_link: "identity_link";
@@ -11097,12 +11848,12 @@ export declare const ListApiIntegrationPresetsResponse: z.ZodObject<{
11097
11848
  }, z.core.$strict>>;
11098
11849
  }, z.core.$strict>>;
11099
11850
  }, z.core.$strict>;
11100
- export type ListApiIntegrationPresetsResponse = z.infer<typeof ListApiIntegrationPresetsResponse>;
11851
+ export type ListIntegrationDefinitionsResponse = z.infer<typeof ListIntegrationDefinitionsResponse>;
11101
11852
  export declare const IntegrationInstanceKey: z.ZodString;
11102
11853
  export type IntegrationInstanceKey = z.infer<typeof IntegrationInstanceKey>;
11103
- export declare const IntegrationFeatureBindingSummary: z.ZodObject<{
11854
+ export declare const IntegrationFacetBindingSummary: z.ZodObject<{
11104
11855
  id: z.ZodString;
11105
- featureKey: z.ZodString;
11856
+ facetKey: z.ZodString;
11106
11857
  kind: z.ZodEnum<{
11107
11858
  delivery_destination: "delivery_destination";
11108
11859
  identity_link: "identity_link";
@@ -11126,15 +11877,15 @@ export declare const IntegrationFeatureBindingSummary: z.ZodObject<{
11126
11877
  createdAt: z.ZodString;
11127
11878
  updatedAt: z.ZodString;
11128
11879
  }, z.core.$strict>;
11129
- export type IntegrationFeatureBindingSummary = z.infer<typeof IntegrationFeatureBindingSummary>;
11130
- export declare const IntegrationInstanceFeaturesResponse: z.ZodObject<{
11880
+ export type IntegrationFacetBindingSummary = z.infer<typeof IntegrationFacetBindingSummary>;
11881
+ export declare const IntegrationInstanceFacetsResponse: z.ZodObject<{
11131
11882
  capabilityId: z.ZodString;
11132
11883
  instanceKey: z.ZodString;
11133
11884
  providerDomain: z.ZodString;
11134
11885
  connectionId: z.ZodNullable<z.ZodString>;
11135
- features: z.ZodArray<z.ZodObject<{
11886
+ facets: z.ZodArray<z.ZodObject<{
11136
11887
  definition: z.ZodObject<{
11137
- featureKey: z.ZodString;
11888
+ facetKey: z.ZodString;
11138
11889
  kind: z.ZodEnum<{
11139
11890
  delivery_destination: "delivery_destination";
11140
11891
  identity_link: "identity_link";
@@ -11146,7 +11897,7 @@ export declare const IntegrationInstanceFeaturesResponse: z.ZodObject<{
11146
11897
  }, z.core.$strict>;
11147
11898
  binding: z.ZodNullable<z.ZodObject<{
11148
11899
  id: z.ZodString;
11149
- featureKey: z.ZodString;
11900
+ facetKey: z.ZodString;
11150
11901
  kind: z.ZodEnum<{
11151
11902
  delivery_destination: "delivery_destination";
11152
11903
  identity_link: "identity_link";
@@ -11172,23 +11923,23 @@ export declare const IntegrationInstanceFeaturesResponse: z.ZodObject<{
11172
11923
  }, z.core.$strict>>;
11173
11924
  }, z.core.$strict>>;
11174
11925
  }, z.core.$strict>;
11175
- export type IntegrationInstanceFeaturesResponse = z.infer<typeof IntegrationInstanceFeaturesResponse>;
11176
- export declare const UpsertIntegrationFeatureRequest: z.ZodObject<{
11926
+ export type IntegrationInstanceFacetsResponse = z.infer<typeof IntegrationInstanceFacetsResponse>;
11927
+ export declare const UpsertIntegrationFacetRequest: z.ZodObject<{
11177
11928
  displayName: z.ZodString;
11178
11929
  config: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
11179
11930
  expectedVersion: z.ZodOptional<z.ZodNumber>;
11180
11931
  idempotencyKey: z.ZodString;
11181
11932
  }, z.core.$strict>;
11182
- export type UpsertIntegrationFeatureRequest = z.infer<typeof UpsertIntegrationFeatureRequest>;
11183
- export declare const MutateIntegrationFeatureRequest: z.ZodObject<{
11933
+ export type UpsertIntegrationFacetRequest = z.infer<typeof UpsertIntegrationFacetRequest>;
11934
+ export declare const MutateIntegrationFacetRequest: z.ZodObject<{
11184
11935
  expectedVersion: z.ZodNumber;
11185
11936
  idempotencyKey: z.ZodString;
11186
11937
  }, z.core.$strict>;
11187
- export type MutateIntegrationFeatureRequest = z.infer<typeof MutateIntegrationFeatureRequest>;
11188
- export declare const IntegrationFeatureMutationResult: z.ZodObject<{
11938
+ export type MutateIntegrationFacetRequest = z.infer<typeof MutateIntegrationFacetRequest>;
11939
+ export declare const IntegrationFacetMutationResult: z.ZodObject<{
11189
11940
  capabilityId: z.ZodString;
11190
11941
  instanceKey: z.ZodString;
11191
- featureKey: z.ZodString;
11942
+ facetKey: z.ZodString;
11192
11943
  status: z.ZodEnum<{
11193
11944
  active: "active";
11194
11945
  configured: "configured";
@@ -11196,7 +11947,7 @@ export declare const IntegrationFeatureMutationResult: z.ZodObject<{
11196
11947
  }>;
11197
11948
  binding: z.ZodObject<{
11198
11949
  id: z.ZodString;
11199
- featureKey: z.ZodString;
11950
+ facetKey: z.ZodString;
11200
11951
  kind: z.ZodEnum<{
11201
11952
  delivery_destination: "delivery_destination";
11202
11953
  identity_link: "identity_link";
@@ -11221,11 +11972,11 @@ export declare const IntegrationFeatureMutationResult: z.ZodObject<{
11221
11972
  updatedAt: z.ZodString;
11222
11973
  }, z.core.$strict>;
11223
11974
  }, z.core.$strict>;
11224
- export type IntegrationFeatureMutationResult = z.infer<typeof IntegrationFeatureMutationResult>;
11225
- export declare const IntegrationFeatureRemovalResult: z.ZodObject<{
11975
+ export type IntegrationFacetMutationResult = z.infer<typeof IntegrationFacetMutationResult>;
11976
+ export declare const IntegrationFacetRemovalResult: z.ZodObject<{
11226
11977
  capabilityId: z.ZodString;
11227
11978
  instanceKey: z.ZodString;
11228
- featureKey: z.ZodString;
11979
+ facetKey: z.ZodString;
11229
11980
  status: z.ZodEnum<{
11230
11981
  not_configured: "not_configured";
11231
11982
  removed: "removed";
@@ -11233,7 +11984,7 @@ export declare const IntegrationFeatureRemovalResult: z.ZodObject<{
11233
11984
  }>;
11234
11985
  binding: z.ZodNullable<z.ZodObject<{
11235
11986
  id: z.ZodString;
11236
- featureKey: z.ZodString;
11987
+ facetKey: z.ZodString;
11237
11988
  kind: z.ZodEnum<{
11238
11989
  delivery_destination: "delivery_destination";
11239
11990
  identity_link: "identity_link";
@@ -11268,10 +12019,10 @@ export declare const IntegrationFeatureRemovalResult: z.ZodObject<{
11268
12019
  removable: z.ZodBoolean;
11269
12020
  }, z.core.$strip>>;
11270
12021
  }, z.core.$strict>;
11271
- export type IntegrationFeatureRemovalResult = z.infer<typeof IntegrationFeatureRemovalResult>;
11272
- export declare const ApiIntegrationSource: z.ZodDiscriminatedUnion<[z.ZodObject<{
11273
- kind: z.ZodLiteral<"preset">;
11274
- presetId: z.ZodString;
12022
+ export type IntegrationFacetRemovalResult = z.infer<typeof IntegrationFacetRemovalResult>;
12023
+ export declare const IntegrationSource: z.ZodDiscriminatedUnion<[z.ZodObject<{
12024
+ kind: z.ZodLiteral<"definition">;
12025
+ definitionId: z.ZodString;
11275
12026
  }, z.core.$strict>, z.ZodObject<{
11276
12027
  kind: z.ZodLiteral<"openapi">;
11277
12028
  url: z.ZodString;
@@ -11285,11 +12036,11 @@ export declare const ApiIntegrationSource: z.ZodDiscriminatedUnion<[z.ZodObject<
11285
12036
  url: z.ZodString;
11286
12037
  baseUrl: z.ZodOptional<z.ZodString>;
11287
12038
  }, z.core.$strict>], "kind">;
11288
- export type ApiIntegrationSource = z.infer<typeof ApiIntegrationSource>;
12039
+ export type IntegrationSource = z.infer<typeof IntegrationSource>;
11289
12040
  export declare const PreviewApiIntegrationRequest: z.ZodObject<{
11290
12041
  source: z.ZodDiscriminatedUnion<[z.ZodObject<{
11291
- kind: z.ZodLiteral<"preset">;
11292
- presetId: z.ZodString;
12042
+ kind: z.ZodLiteral<"definition">;
12043
+ definitionId: z.ZodString;
11293
12044
  }, z.core.$strict>, z.ZodObject<{
11294
12045
  kind: z.ZodLiteral<"openapi">;
11295
12046
  url: z.ZodString;
@@ -11311,7 +12062,7 @@ export declare const PreviewApiIntegrationRequest: z.ZodObject<{
11311
12062
  }, z.core.$strict>;
11312
12063
  export type PreviewApiIntegrationRequest = z.infer<typeof PreviewApiIntegrationRequest>;
11313
12064
  export declare const ApiIntegrationOAuthStartRequest: z.ZodObject<{
11314
- presetId: z.ZodString;
12065
+ definitionId: z.ZodString;
11315
12066
  ownership: z.ZodOptional<z.ZodEnum<{
11316
12067
  personal: "personal";
11317
12068
  workspace: "workspace";
@@ -11330,7 +12081,7 @@ export declare const ApiIntegrationOAuthConnectionMetadata: z.ZodObject<{
11330
12081
  providerPrincipalId: z.ZodString;
11331
12082
  providerEmail: z.ZodNullable<z.ZodString>;
11332
12083
  providerDisplayName: z.ZodNullable<z.ZodString>;
11333
- authorizedPresetIds: z.ZodArray<z.ZodString>;
12084
+ authorizedDefinitionIds: z.ZodArray<z.ZodString>;
11334
12085
  verifiedAt: z.ZodString;
11335
12086
  }, z.core.$loose>;
11336
12087
  export type ApiIntegrationOAuthConnectionMetadata = z.infer<typeof ApiIntegrationOAuthConnectionMetadata>;
@@ -11374,8 +12125,8 @@ export declare const ApiIntegrationToolPreview: z.ZodObject<{
11374
12125
  export type ApiIntegrationToolPreview = z.infer<typeof ApiIntegrationToolPreview>;
11375
12126
  export declare const ApiIntegrationPreview: z.ZodObject<{
11376
12127
  source: z.ZodDiscriminatedUnion<[z.ZodObject<{
11377
- kind: z.ZodLiteral<"preset">;
11378
- presetId: z.ZodString;
12128
+ kind: z.ZodLiteral<"definition">;
12129
+ definitionId: z.ZodString;
11379
12130
  }, z.core.$strict>, z.ZodObject<{
11380
12131
  kind: z.ZodLiteral<"openapi">;
11381
12132
  url: z.ZodString;
@@ -11389,12 +12140,15 @@ export declare const ApiIntegrationPreview: z.ZodObject<{
11389
12140
  url: z.ZodString;
11390
12141
  baseUrl: z.ZodOptional<z.ZodString>;
11391
12142
  }, z.core.$strict>], "kind">;
11392
- presetId: z.ZodNullable<z.ZodString>;
12143
+ definitionId: z.ZodString;
12144
+ definitionProvenance: z.ZodEnum<{
12145
+ curated: "curated";
12146
+ workspace: "workspace";
12147
+ }>;
11393
12148
  protocol: z.ZodEnum<{
11394
12149
  graphql: "graphql";
11395
12150
  openapi: "openapi";
11396
12151
  }>;
11397
- integrationId: z.ZodString;
11398
12152
  capabilityId: z.ZodString;
11399
12153
  pluginKey: z.ZodString;
11400
12154
  serverId: z.ZodString;
@@ -11452,8 +12206,8 @@ export declare const ApiIntegrationPreview: z.ZodObject<{
11452
12206
  export type ApiIntegrationPreview = z.infer<typeof ApiIntegrationPreview>;
11453
12207
  export declare const InstallApiIntegrationRequest: z.ZodObject<{
11454
12208
  source: z.ZodDiscriminatedUnion<[z.ZodObject<{
11455
- kind: z.ZodLiteral<"preset">;
11456
- presetId: z.ZodString;
12209
+ kind: z.ZodLiteral<"definition">;
12210
+ definitionId: z.ZodString;
11457
12211
  }, z.core.$strict>, z.ZodObject<{
11458
12212
  kind: z.ZodLiteral<"openapi">;
11459
12213
  url: z.ZodString;
@@ -11514,7 +12268,11 @@ export declare const ApiIntegrationInstallationSummary: z.ZodObject<{
11514
12268
  graphql: "graphql";
11515
12269
  openapi: "openapi";
11516
12270
  }>;
11517
- presetId: z.ZodNullable<z.ZodString>;
12271
+ definitionId: z.ZodString;
12272
+ definitionProvenance: z.ZodEnum<{
12273
+ curated: "curated";
12274
+ workspace: "workspace";
12275
+ }>;
11518
12276
  providerDomain: z.ZodString;
11519
12277
  baseUrl: z.ZodString;
11520
12278
  sourceUrl: z.ZodNullable<z.ZodString>;
@@ -11549,7 +12307,11 @@ export declare const ListApiIntegrationsResponse: z.ZodObject<{
11549
12307
  graphql: "graphql";
11550
12308
  openapi: "openapi";
11551
12309
  }>;
11552
- presetId: z.ZodNullable<z.ZodString>;
12310
+ definitionId: z.ZodString;
12311
+ definitionProvenance: z.ZodEnum<{
12312
+ curated: "curated";
12313
+ workspace: "workspace";
12314
+ }>;
11553
12315
  providerDomain: z.ZodString;
11554
12316
  baseUrl: z.ZodString;
11555
12317
  sourceUrl: z.ZodNullable<z.ZodString>;
@@ -11645,8 +12407,8 @@ export declare const PluginManifest: z.ZodObject<{
11645
12407
  key: z.ZodString;
11646
12408
  kind: z.ZodLiteral<"integration">;
11647
12409
  source: z.ZodDiscriminatedUnion<[z.ZodObject<{
11648
- kind: z.ZodLiteral<"preset">;
11649
- presetId: z.ZodString;
12410
+ kind: z.ZodLiteral<"definition">;
12411
+ definitionId: z.ZodString;
11650
12412
  }, z.core.$strict>, z.ZodObject<{
11651
12413
  kind: z.ZodLiteral<"openapi">;
11652
12414
  url: z.ZodString;
@@ -11726,8 +12488,8 @@ export declare const PluginPreview: z.ZodObject<{
11726
12488
  key: z.ZodString;
11727
12489
  kind: z.ZodLiteral<"integration">;
11728
12490
  source: z.ZodDiscriminatedUnion<[z.ZodObject<{
11729
- kind: z.ZodLiteral<"preset">;
11730
- presetId: z.ZodString;
12491
+ kind: z.ZodLiteral<"definition">;
12492
+ definitionId: z.ZodString;
11731
12493
  }, z.core.$strict>, z.ZodObject<{
11732
12494
  kind: z.ZodLiteral<"openapi">;
11733
12495
  url: z.ZodString;
@@ -11988,6 +12750,22 @@ export declare const Session: z.ZodObject<{
11988
12750
  idsTruncated: z.ZodBoolean;
11989
12751
  }, z.core.$strict>>;
11990
12752
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
12753
+ tenancy: z.ZodOptional<z.ZodObject<{
12754
+ visibility: z.ZodEnum<{
12755
+ private: "private";
12756
+ workspace: "workspace";
12757
+ }>;
12758
+ authorityEpoch: z.ZodNumber;
12759
+ ownedByCurrentUser: z.ZodBoolean;
12760
+ fork: z.ZodNullable<z.ZodObject<{
12761
+ sourceVisibility: z.ZodEnum<{
12762
+ private: "private";
12763
+ workspace: "workspace";
12764
+ }>;
12765
+ sourceAuthorityEpoch: z.ZodNumber;
12766
+ forkedAt: z.ZodString;
12767
+ }, z.core.$strip>>;
12768
+ }, z.core.$strip>>;
11991
12769
  createdBy: z.ZodObject<{
11992
12770
  subjectId: z.ZodString;
11993
12771
  label: z.ZodOptional<z.ZodString>;
@@ -12024,6 +12802,7 @@ export declare const Session: z.ZodObject<{
12024
12802
  environmentId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
12025
12803
  rigId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
12026
12804
  rigVersionId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
12805
+ channelId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
12027
12806
  firstPartyMcpPermissions: z.ZodNullable<z.ZodArray<z.ZodEnum<{
12028
12807
  "account:admin": "account:admin";
12029
12808
  "account:read": "account:read";
@@ -12082,6 +12861,8 @@ export declare const Session: z.ZodObject<{
12082
12861
  atlassian_search: "atlassian_search";
12083
12862
  atlassian_sources_list: "atlassian_sources_list";
12084
12863
  browser_act: "browser_act";
12864
+ browser_auth: "browser_auth";
12865
+ browser_clipboard: "browser_clipboard";
12085
12866
  browser_debug: "browser_debug";
12086
12867
  browser_identity: "browser_identity";
12087
12868
  browser_lifecycle: "browser_lifecycle";
@@ -12092,6 +12873,7 @@ export declare const Session: z.ZodObject<{
12092
12873
  capability_authorization_request: "capability_authorization_request";
12093
12874
  capability_catalog_search: "capability_catalog_search";
12094
12875
  computer_act: "computer_act";
12876
+ computer_clipboard: "computer_clipboard";
12095
12877
  computer_lifecycle: "computer_lifecycle";
12096
12878
  computer_observe: "computer_observe";
12097
12879
  computer_open: "computer_open";
@@ -12107,13 +12889,25 @@ export declare const Session: z.ZodObject<{
12107
12889
  editable_artifact_list: "editable_artifact_list";
12108
12890
  environment_list: "environment_list";
12109
12891
  environment_set_variable: "environment_set_variable";
12892
+ fiken_bank_accounts_list: "fiken_bank_accounts_list";
12893
+ fiken_companies_list: "fiken_companies_list";
12894
+ fiken_contact_create: "fiken_contact_create";
12895
+ fiken_contacts_list: "fiken_contacts_list";
12896
+ fiken_invoice_draft_create: "fiken_invoice_draft_create";
12897
+ fiken_invoice_get: "fiken_invoice_get";
12898
+ fiken_invoices_list: "fiken_invoices_list";
12899
+ fiken_products_list: "fiken_products_list";
12900
+ fiken_purchases_list: "fiken_purchases_list";
12901
+ fiken_sales_list: "fiken_sales_list";
12110
12902
  github_connect_link: "github_connect_link";
12111
12903
  github_repositories_list: "github_repositories_list";
12112
12904
  goal_complete: "goal_complete";
12113
12905
  goal_pause: "goal_pause";
12906
+ goal_progress: "goal_progress";
12114
12907
  goal_set: "goal_set";
12115
12908
  goal_update: "goal_update";
12116
12909
  interaction_discover: "interaction_discover";
12910
+ interaction_request_human: "interaction_request_human";
12117
12911
  memory_correct: "memory_correct";
12118
12912
  memory_save: "memory_save";
12119
12913
  memory_search: "memory_search";
@@ -12171,6 +12965,9 @@ export declare const Session: z.ZodObject<{
12171
12965
  social_posts_sync: "social_posts_sync";
12172
12966
  social_search_live: "social_search_live";
12173
12967
  social_thread_fetch: "social_thread_fetch";
12968
+ task_note_archive: "task_note_archive";
12969
+ task_note_save: "task_note_save";
12970
+ task_notes_list: "task_notes_list";
12174
12971
  variable_set_get_variable: "variable_set_get_variable";
12175
12972
  variable_set_list: "variable_set_list";
12176
12973
  variable_set_set_variable: "variable_set_set_variable";
@@ -12445,6 +13242,22 @@ export declare const CreateSessionResponse: z.ZodObject<{
12445
13242
  idsTruncated: z.ZodBoolean;
12446
13243
  }, z.core.$strict>>;
12447
13244
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
13245
+ tenancy: z.ZodOptional<z.ZodObject<{
13246
+ visibility: z.ZodEnum<{
13247
+ private: "private";
13248
+ workspace: "workspace";
13249
+ }>;
13250
+ authorityEpoch: z.ZodNumber;
13251
+ ownedByCurrentUser: z.ZodBoolean;
13252
+ fork: z.ZodNullable<z.ZodObject<{
13253
+ sourceVisibility: z.ZodEnum<{
13254
+ private: "private";
13255
+ workspace: "workspace";
13256
+ }>;
13257
+ sourceAuthorityEpoch: z.ZodNumber;
13258
+ forkedAt: z.ZodString;
13259
+ }, z.core.$strip>>;
13260
+ }, z.core.$strip>>;
12448
13261
  createdBy: z.ZodObject<{
12449
13262
  subjectId: z.ZodString;
12450
13263
  label: z.ZodOptional<z.ZodString>;
@@ -12481,6 +13294,7 @@ export declare const CreateSessionResponse: z.ZodObject<{
12481
13294
  environmentId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
12482
13295
  rigId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
12483
13296
  rigVersionId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
13297
+ channelId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
12484
13298
  firstPartyMcpPermissions: z.ZodNullable<z.ZodArray<z.ZodEnum<{
12485
13299
  "account:admin": "account:admin";
12486
13300
  "account:read": "account:read";
@@ -12539,6 +13353,8 @@ export declare const CreateSessionResponse: z.ZodObject<{
12539
13353
  atlassian_search: "atlassian_search";
12540
13354
  atlassian_sources_list: "atlassian_sources_list";
12541
13355
  browser_act: "browser_act";
13356
+ browser_auth: "browser_auth";
13357
+ browser_clipboard: "browser_clipboard";
12542
13358
  browser_debug: "browser_debug";
12543
13359
  browser_identity: "browser_identity";
12544
13360
  browser_lifecycle: "browser_lifecycle";
@@ -12549,6 +13365,7 @@ export declare const CreateSessionResponse: z.ZodObject<{
12549
13365
  capability_authorization_request: "capability_authorization_request";
12550
13366
  capability_catalog_search: "capability_catalog_search";
12551
13367
  computer_act: "computer_act";
13368
+ computer_clipboard: "computer_clipboard";
12552
13369
  computer_lifecycle: "computer_lifecycle";
12553
13370
  computer_observe: "computer_observe";
12554
13371
  computer_open: "computer_open";
@@ -12564,13 +13381,25 @@ export declare const CreateSessionResponse: z.ZodObject<{
12564
13381
  editable_artifact_list: "editable_artifact_list";
12565
13382
  environment_list: "environment_list";
12566
13383
  environment_set_variable: "environment_set_variable";
13384
+ fiken_bank_accounts_list: "fiken_bank_accounts_list";
13385
+ fiken_companies_list: "fiken_companies_list";
13386
+ fiken_contact_create: "fiken_contact_create";
13387
+ fiken_contacts_list: "fiken_contacts_list";
13388
+ fiken_invoice_draft_create: "fiken_invoice_draft_create";
13389
+ fiken_invoice_get: "fiken_invoice_get";
13390
+ fiken_invoices_list: "fiken_invoices_list";
13391
+ fiken_products_list: "fiken_products_list";
13392
+ fiken_purchases_list: "fiken_purchases_list";
13393
+ fiken_sales_list: "fiken_sales_list";
12567
13394
  github_connect_link: "github_connect_link";
12568
13395
  github_repositories_list: "github_repositories_list";
12569
13396
  goal_complete: "goal_complete";
12570
13397
  goal_pause: "goal_pause";
13398
+ goal_progress: "goal_progress";
12571
13399
  goal_set: "goal_set";
12572
13400
  goal_update: "goal_update";
12573
13401
  interaction_discover: "interaction_discover";
13402
+ interaction_request_human: "interaction_request_human";
12574
13403
  memory_correct: "memory_correct";
12575
13404
  memory_save: "memory_save";
12576
13405
  memory_search: "memory_search";
@@ -12628,6 +13457,9 @@ export declare const CreateSessionResponse: z.ZodObject<{
12628
13457
  social_posts_sync: "social_posts_sync";
12629
13458
  social_search_live: "social_search_live";
12630
13459
  social_thread_fetch: "social_thread_fetch";
13460
+ task_note_archive: "task_note_archive";
13461
+ task_note_save: "task_note_save";
13462
+ task_notes_list: "task_notes_list";
12631
13463
  variable_set_get_variable: "variable_set_get_variable";
12632
13464
  variable_set_list: "variable_set_list";
12633
13465
  variable_set_set_variable: "variable_set_set_variable";
@@ -12908,6 +13740,22 @@ export declare const SessionListResponse: z.ZodObject<{
12908
13740
  idsTruncated: z.ZodBoolean;
12909
13741
  }, z.core.$strict>>;
12910
13742
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
13743
+ tenancy: z.ZodOptional<z.ZodObject<{
13744
+ visibility: z.ZodEnum<{
13745
+ private: "private";
13746
+ workspace: "workspace";
13747
+ }>;
13748
+ authorityEpoch: z.ZodNumber;
13749
+ ownedByCurrentUser: z.ZodBoolean;
13750
+ fork: z.ZodNullable<z.ZodObject<{
13751
+ sourceVisibility: z.ZodEnum<{
13752
+ private: "private";
13753
+ workspace: "workspace";
13754
+ }>;
13755
+ sourceAuthorityEpoch: z.ZodNumber;
13756
+ forkedAt: z.ZodString;
13757
+ }, z.core.$strip>>;
13758
+ }, z.core.$strip>>;
12911
13759
  createdBy: z.ZodObject<{
12912
13760
  subjectId: z.ZodString;
12913
13761
  label: z.ZodOptional<z.ZodString>;
@@ -12944,6 +13792,7 @@ export declare const SessionListResponse: z.ZodObject<{
12944
13792
  environmentId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
12945
13793
  rigId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
12946
13794
  rigVersionId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
13795
+ channelId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
12947
13796
  firstPartyMcpPermissions: z.ZodNullable<z.ZodArray<z.ZodEnum<{
12948
13797
  "account:admin": "account:admin";
12949
13798
  "account:read": "account:read";
@@ -13002,6 +13851,8 @@ export declare const SessionListResponse: z.ZodObject<{
13002
13851
  atlassian_search: "atlassian_search";
13003
13852
  atlassian_sources_list: "atlassian_sources_list";
13004
13853
  browser_act: "browser_act";
13854
+ browser_auth: "browser_auth";
13855
+ browser_clipboard: "browser_clipboard";
13005
13856
  browser_debug: "browser_debug";
13006
13857
  browser_identity: "browser_identity";
13007
13858
  browser_lifecycle: "browser_lifecycle";
@@ -13012,6 +13863,7 @@ export declare const SessionListResponse: z.ZodObject<{
13012
13863
  capability_authorization_request: "capability_authorization_request";
13013
13864
  capability_catalog_search: "capability_catalog_search";
13014
13865
  computer_act: "computer_act";
13866
+ computer_clipboard: "computer_clipboard";
13015
13867
  computer_lifecycle: "computer_lifecycle";
13016
13868
  computer_observe: "computer_observe";
13017
13869
  computer_open: "computer_open";
@@ -13027,13 +13879,25 @@ export declare const SessionListResponse: z.ZodObject<{
13027
13879
  editable_artifact_list: "editable_artifact_list";
13028
13880
  environment_list: "environment_list";
13029
13881
  environment_set_variable: "environment_set_variable";
13882
+ fiken_bank_accounts_list: "fiken_bank_accounts_list";
13883
+ fiken_companies_list: "fiken_companies_list";
13884
+ fiken_contact_create: "fiken_contact_create";
13885
+ fiken_contacts_list: "fiken_contacts_list";
13886
+ fiken_invoice_draft_create: "fiken_invoice_draft_create";
13887
+ fiken_invoice_get: "fiken_invoice_get";
13888
+ fiken_invoices_list: "fiken_invoices_list";
13889
+ fiken_products_list: "fiken_products_list";
13890
+ fiken_purchases_list: "fiken_purchases_list";
13891
+ fiken_sales_list: "fiken_sales_list";
13030
13892
  github_connect_link: "github_connect_link";
13031
13893
  github_repositories_list: "github_repositories_list";
13032
13894
  goal_complete: "goal_complete";
13033
13895
  goal_pause: "goal_pause";
13896
+ goal_progress: "goal_progress";
13034
13897
  goal_set: "goal_set";
13035
13898
  goal_update: "goal_update";
13036
13899
  interaction_discover: "interaction_discover";
13900
+ interaction_request_human: "interaction_request_human";
13037
13901
  memory_correct: "memory_correct";
13038
13902
  memory_save: "memory_save";
13039
13903
  memory_search: "memory_search";
@@ -13091,6 +13955,9 @@ export declare const SessionListResponse: z.ZodObject<{
13091
13955
  social_posts_sync: "social_posts_sync";
13092
13956
  social_search_live: "social_search_live";
13093
13957
  social_thread_fetch: "social_thread_fetch";
13958
+ task_note_archive: "task_note_archive";
13959
+ task_note_save: "task_note_save";
13960
+ task_notes_list: "task_notes_list";
13094
13961
  variable_set_get_variable: "variable_set_get_variable";
13095
13962
  variable_set_list: "variable_set_list";
13096
13963
  variable_set_set_variable: "variable_set_set_variable";
@@ -13360,6 +14227,22 @@ export declare const SessionListResponse: z.ZodObject<{
13360
14227
  idsTruncated: z.ZodBoolean;
13361
14228
  }, z.core.$strict>>;
13362
14229
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14230
+ tenancy: z.ZodOptional<z.ZodObject<{
14231
+ visibility: z.ZodEnum<{
14232
+ private: "private";
14233
+ workspace: "workspace";
14234
+ }>;
14235
+ authorityEpoch: z.ZodNumber;
14236
+ ownedByCurrentUser: z.ZodBoolean;
14237
+ fork: z.ZodNullable<z.ZodObject<{
14238
+ sourceVisibility: z.ZodEnum<{
14239
+ private: "private";
14240
+ workspace: "workspace";
14241
+ }>;
14242
+ sourceAuthorityEpoch: z.ZodNumber;
14243
+ forkedAt: z.ZodString;
14244
+ }, z.core.$strip>>;
14245
+ }, z.core.$strip>>;
13363
14246
  createdBy: z.ZodObject<{
13364
14247
  subjectId: z.ZodString;
13365
14248
  label: z.ZodOptional<z.ZodString>;
@@ -13396,6 +14279,7 @@ export declare const SessionListResponse: z.ZodObject<{
13396
14279
  environmentId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
13397
14280
  rigId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
13398
14281
  rigVersionId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
14282
+ channelId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
13399
14283
  firstPartyMcpPermissions: z.ZodNullable<z.ZodArray<z.ZodEnum<{
13400
14284
  "account:admin": "account:admin";
13401
14285
  "account:read": "account:read";
@@ -13454,6 +14338,8 @@ export declare const SessionListResponse: z.ZodObject<{
13454
14338
  atlassian_search: "atlassian_search";
13455
14339
  atlassian_sources_list: "atlassian_sources_list";
13456
14340
  browser_act: "browser_act";
14341
+ browser_auth: "browser_auth";
14342
+ browser_clipboard: "browser_clipboard";
13457
14343
  browser_debug: "browser_debug";
13458
14344
  browser_identity: "browser_identity";
13459
14345
  browser_lifecycle: "browser_lifecycle";
@@ -13464,6 +14350,7 @@ export declare const SessionListResponse: z.ZodObject<{
13464
14350
  capability_authorization_request: "capability_authorization_request";
13465
14351
  capability_catalog_search: "capability_catalog_search";
13466
14352
  computer_act: "computer_act";
14353
+ computer_clipboard: "computer_clipboard";
13467
14354
  computer_lifecycle: "computer_lifecycle";
13468
14355
  computer_observe: "computer_observe";
13469
14356
  computer_open: "computer_open";
@@ -13479,13 +14366,25 @@ export declare const SessionListResponse: z.ZodObject<{
13479
14366
  editable_artifact_list: "editable_artifact_list";
13480
14367
  environment_list: "environment_list";
13481
14368
  environment_set_variable: "environment_set_variable";
14369
+ fiken_bank_accounts_list: "fiken_bank_accounts_list";
14370
+ fiken_companies_list: "fiken_companies_list";
14371
+ fiken_contact_create: "fiken_contact_create";
14372
+ fiken_contacts_list: "fiken_contacts_list";
14373
+ fiken_invoice_draft_create: "fiken_invoice_draft_create";
14374
+ fiken_invoice_get: "fiken_invoice_get";
14375
+ fiken_invoices_list: "fiken_invoices_list";
14376
+ fiken_products_list: "fiken_products_list";
14377
+ fiken_purchases_list: "fiken_purchases_list";
14378
+ fiken_sales_list: "fiken_sales_list";
13482
14379
  github_connect_link: "github_connect_link";
13483
14380
  github_repositories_list: "github_repositories_list";
13484
14381
  goal_complete: "goal_complete";
13485
14382
  goal_pause: "goal_pause";
14383
+ goal_progress: "goal_progress";
13486
14384
  goal_set: "goal_set";
13487
14385
  goal_update: "goal_update";
13488
14386
  interaction_discover: "interaction_discover";
14387
+ interaction_request_human: "interaction_request_human";
13489
14388
  memory_correct: "memory_correct";
13490
14389
  memory_save: "memory_save";
13491
14390
  memory_search: "memory_search";
@@ -13543,6 +14442,9 @@ export declare const SessionListResponse: z.ZodObject<{
13543
14442
  social_posts_sync: "social_posts_sync";
13544
14443
  social_search_live: "social_search_live";
13545
14444
  social_thread_fetch: "social_thread_fetch";
14445
+ task_note_archive: "task_note_archive";
14446
+ task_note_save: "task_note_save";
14447
+ task_notes_list: "task_notes_list";
13546
14448
  variable_set_get_variable: "variable_set_get_variable";
13547
14449
  variable_set_list: "variable_set_list";
13548
14450
  variable_set_set_variable: "variable_set_set_variable";
@@ -13930,6 +14832,22 @@ export declare const SessionLineageResponse: z.ZodObject<{
13930
14832
  idsTruncated: z.ZodBoolean;
13931
14833
  }, z.core.$strict>>;
13932
14834
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14835
+ tenancy: z.ZodOptional<z.ZodObject<{
14836
+ visibility: z.ZodEnum<{
14837
+ private: "private";
14838
+ workspace: "workspace";
14839
+ }>;
14840
+ authorityEpoch: z.ZodNumber;
14841
+ ownedByCurrentUser: z.ZodBoolean;
14842
+ fork: z.ZodNullable<z.ZodObject<{
14843
+ sourceVisibility: z.ZodEnum<{
14844
+ private: "private";
14845
+ workspace: "workspace";
14846
+ }>;
14847
+ sourceAuthorityEpoch: z.ZodNumber;
14848
+ forkedAt: z.ZodString;
14849
+ }, z.core.$strip>>;
14850
+ }, z.core.$strip>>;
13933
14851
  createdBy: z.ZodObject<{
13934
14852
  subjectId: z.ZodString;
13935
14853
  label: z.ZodOptional<z.ZodString>;
@@ -13966,6 +14884,7 @@ export declare const SessionLineageResponse: z.ZodObject<{
13966
14884
  environmentId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
13967
14885
  rigId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
13968
14886
  rigVersionId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
14887
+ channelId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
13969
14888
  firstPartyMcpPermissions: z.ZodNullable<z.ZodArray<z.ZodEnum<{
13970
14889
  "account:admin": "account:admin";
13971
14890
  "account:read": "account:read";
@@ -14024,6 +14943,8 @@ export declare const SessionLineageResponse: z.ZodObject<{
14024
14943
  atlassian_search: "atlassian_search";
14025
14944
  atlassian_sources_list: "atlassian_sources_list";
14026
14945
  browser_act: "browser_act";
14946
+ browser_auth: "browser_auth";
14947
+ browser_clipboard: "browser_clipboard";
14027
14948
  browser_debug: "browser_debug";
14028
14949
  browser_identity: "browser_identity";
14029
14950
  browser_lifecycle: "browser_lifecycle";
@@ -14034,6 +14955,7 @@ export declare const SessionLineageResponse: z.ZodObject<{
14034
14955
  capability_authorization_request: "capability_authorization_request";
14035
14956
  capability_catalog_search: "capability_catalog_search";
14036
14957
  computer_act: "computer_act";
14958
+ computer_clipboard: "computer_clipboard";
14037
14959
  computer_lifecycle: "computer_lifecycle";
14038
14960
  computer_observe: "computer_observe";
14039
14961
  computer_open: "computer_open";
@@ -14049,13 +14971,25 @@ export declare const SessionLineageResponse: z.ZodObject<{
14049
14971
  editable_artifact_list: "editable_artifact_list";
14050
14972
  environment_list: "environment_list";
14051
14973
  environment_set_variable: "environment_set_variable";
14974
+ fiken_bank_accounts_list: "fiken_bank_accounts_list";
14975
+ fiken_companies_list: "fiken_companies_list";
14976
+ fiken_contact_create: "fiken_contact_create";
14977
+ fiken_contacts_list: "fiken_contacts_list";
14978
+ fiken_invoice_draft_create: "fiken_invoice_draft_create";
14979
+ fiken_invoice_get: "fiken_invoice_get";
14980
+ fiken_invoices_list: "fiken_invoices_list";
14981
+ fiken_products_list: "fiken_products_list";
14982
+ fiken_purchases_list: "fiken_purchases_list";
14983
+ fiken_sales_list: "fiken_sales_list";
14052
14984
  github_connect_link: "github_connect_link";
14053
14985
  github_repositories_list: "github_repositories_list";
14054
14986
  goal_complete: "goal_complete";
14055
14987
  goal_pause: "goal_pause";
14988
+ goal_progress: "goal_progress";
14056
14989
  goal_set: "goal_set";
14057
14990
  goal_update: "goal_update";
14058
14991
  interaction_discover: "interaction_discover";
14992
+ interaction_request_human: "interaction_request_human";
14059
14993
  memory_correct: "memory_correct";
14060
14994
  memory_save: "memory_save";
14061
14995
  memory_search: "memory_search";
@@ -14113,6 +15047,9 @@ export declare const SessionLineageResponse: z.ZodObject<{
14113
15047
  social_posts_sync: "social_posts_sync";
14114
15048
  social_search_live: "social_search_live";
14115
15049
  social_thread_fetch: "social_thread_fetch";
15050
+ task_note_archive: "task_note_archive";
15051
+ task_note_save: "task_note_save";
15052
+ task_notes_list: "task_notes_list";
14116
15053
  variable_set_get_variable: "variable_set_get_variable";
14117
15054
  variable_set_list: "variable_set_list";
14118
15055
  variable_set_set_variable: "variable_set_set_variable";
@@ -14293,7 +15230,10 @@ export declare const SessionEventType: z.ZodEnum<{
14293
15230
  "goal.completed": "goal.completed";
14294
15231
  "goal.continuation": "goal.continuation";
14295
15232
  "goal.paused": "goal.paused";
15233
+ "goal.progress": "goal.progress";
14296
15234
  "goal.resumed": "goal.resumed";
15235
+ "goal.rewrite.proposed": "goal.rewrite.proposed";
15236
+ "goal.rewrite.rejected": "goal.rewrite.rejected";
14297
15237
  "goal.set": "goal.set";
14298
15238
  "goal.updated": "goal.updated";
14299
15239
  "machine.link.lost": "machine.link.lost";
@@ -14341,6 +15281,7 @@ export declare const SessionEventType: z.ZodEnum<{
14341
15281
  "session.status.changed": "session.status.changed";
14342
15282
  "session.title_set": "session.title_set";
14343
15283
  "session.tool_policy.updated": "session.tool_policy.updated";
15284
+ "session.visibility.changed": "session.visibility.changed";
14344
15285
  "stream.closed": "stream.closed";
14345
15286
  "stream.opened": "stream.opened";
14346
15287
  "stream.revoked": "stream.revoked";
@@ -14427,7 +15368,7 @@ export declare const SessionEventReadDirection: z.ZodEnum<{
14427
15368
  export type SessionEventReadDirection = z.infer<typeof SessionEventReadDirection>;
14428
15369
  export declare const SESSION_EVENT_RAW_DELTA_TYPES: readonly ["agent.message.delta", "agent.reasoning.delta", "sandbox.command.output.delta", "terminal.pty.output.delta"];
14429
15370
  export declare const SESSION_EVENT_SEMANTIC_CLASS_TYPES: {
14430
- readonly control: readonly ["session.status.changed", "session.requiresAction", "session.humanInput.requested", "user.pause", "user.approvalDecision", "user.humanInputResponse", "goal.set", "goal.updated", "goal.completed", "goal.paused", "goal.resumed", "goal.cleared", "goal.continuation", "system.update.pending", "system.update.delivered", "system.update.superseded", "system.update.cancelled", "system.update.settled", "session.control.paused", "session.control.resumed", "session.control.steer_requested", "workspace.inference.paused", "workspace.inference.resumed", "session.queue.changed", "session.queue.prompt.cancelled", "session.mcp.approval_policy.updated", "session.tool_policy.updated"];
15371
+ readonly control: readonly ["session.status.changed", "session.requiresAction", "session.humanInput.requested", "user.pause", "user.approvalDecision", "user.humanInputResponse", "goal.set", "goal.updated", "goal.progress", "goal.rewrite.proposed", "goal.rewrite.rejected", "goal.completed", "goal.paused", "goal.resumed", "goal.cleared", "goal.continuation", "system.update.pending", "system.update.delivered", "system.update.superseded", "system.update.cancelled", "system.update.settled", "session.control.paused", "session.control.resumed", "session.control.steer_requested", "workspace.inference.paused", "workspace.inference.resumed", "session.queue.changed", "session.queue.prompt.cancelled", "session.mcp.approval_policy.updated", "session.tool_policy.updated"];
14431
15372
  readonly terminal: readonly ["turn.completed", "agent.message.completed", "turn.failed", "turn.cancelled", "turn.superseded", "goal.completed", "goal.paused", "rig.setup.completed", "rig.setup.skipped", "rig.setup.failed", "sandbox.operation.completed", "sandbox.operation.failed", "recording.available", "recording.failed", "terminal.pty.exited"];
14432
15373
  readonly failure: readonly ["session.event.envelope_omitted", "turn.failed", "tool.auth_needed", "credential.auth_needed", "rig.setup.failed", "sandbox.operation.failed", "recording.failed", "sandbox.box.lost", "workspace.revision.degraded", "machine.op.failed", "machine.link.lost"];
14433
15374
  readonly checkpoint: readonly ["session.context.compaction.requested", "session.context.compaction.started", "session.context.compacted", "session.context.compaction.skipped", "session.context.cleared", "turn.recovery.requested", "session.queue.history", "sandbox.box.snapshot", "workspace.revision.captured"];
@@ -16042,7 +16983,10 @@ export declare const SessionEvent: z.ZodObject<{
16042
16983
  "goal.completed": "goal.completed";
16043
16984
  "goal.continuation": "goal.continuation";
16044
16985
  "goal.paused": "goal.paused";
16986
+ "goal.progress": "goal.progress";
16045
16987
  "goal.resumed": "goal.resumed";
16988
+ "goal.rewrite.proposed": "goal.rewrite.proposed";
16989
+ "goal.rewrite.rejected": "goal.rewrite.rejected";
16046
16990
  "goal.set": "goal.set";
16047
16991
  "goal.updated": "goal.updated";
16048
16992
  "machine.link.lost": "machine.link.lost";
@@ -16090,6 +17034,7 @@ export declare const SessionEvent: z.ZodObject<{
16090
17034
  "session.status.changed": "session.status.changed";
16091
17035
  "session.title_set": "session.title_set";
16092
17036
  "session.tool_policy.updated": "session.tool_policy.updated";
17037
+ "session.visibility.changed": "session.visibility.changed";
16093
17038
  "stream.closed": "stream.closed";
16094
17039
  "stream.opened": "stream.opened";
16095
17040
  "stream.revoked": "stream.revoked";
@@ -16910,7 +17855,7 @@ export declare const CreateSessionRequest: z.ZodPreprocess<z.ZodObject<{
16910
17855
  requestedSessionId: z.ZodOptional<z.ZodString>;
16911
17856
  initialMessage: z.ZodOptional<z.ZodString>;
16912
17857
  startMode: z.ZodOptional<z.ZodLiteral<"realtime">>;
16913
- turnInstructions: z.ZodOptional<z.ZodString>;
17858
+ modelContext: z.ZodOptional<z.ZodString>;
16914
17859
  instructions: z.ZodOptional<z.ZodString>;
16915
17860
  policyRole: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
16916
17861
  resources: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -17001,10 +17946,16 @@ export declare const CreateSessionRequest: z.ZodPreprocess<z.ZodObject<{
17001
17946
  variableSetId: z.ZodOptional<z.ZodString>;
17002
17947
  environmentId: z.ZodOptional<z.ZodString>;
17003
17948
  rigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17949
+ channelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17004
17950
  goal: z.ZodOptional<z.ZodObject<{
17005
17951
  text: z.ZodString;
17006
17952
  successCriteria: z.ZodOptional<z.ZodString>;
17007
17953
  maxAutoContinuations: z.ZodOptional<z.ZodNumber>;
17954
+ mutationPolicy: z.ZodOptional<z.ZodEnum<{
17955
+ autonomous_adaptation: "autonomous_adaptation";
17956
+ preserve_intent: "preserve_intent";
17957
+ review_changes: "review_changes";
17958
+ }>>;
17008
17959
  }, z.core.$strip>>;
17009
17960
  clientEventId: z.ZodOptional<z.ZodString>;
17010
17961
  idempotencyKey: z.ZodOptional<z.ZodString>;
@@ -17068,6 +18019,8 @@ export declare const CreateSessionRequest: z.ZodPreprocess<z.ZodObject<{
17068
18019
  atlassian_search: "atlassian_search";
17069
18020
  atlassian_sources_list: "atlassian_sources_list";
17070
18021
  browser_act: "browser_act";
18022
+ browser_auth: "browser_auth";
18023
+ browser_clipboard: "browser_clipboard";
17071
18024
  browser_debug: "browser_debug";
17072
18025
  browser_identity: "browser_identity";
17073
18026
  browser_lifecycle: "browser_lifecycle";
@@ -17078,6 +18031,7 @@ export declare const CreateSessionRequest: z.ZodPreprocess<z.ZodObject<{
17078
18031
  capability_authorization_request: "capability_authorization_request";
17079
18032
  capability_catalog_search: "capability_catalog_search";
17080
18033
  computer_act: "computer_act";
18034
+ computer_clipboard: "computer_clipboard";
17081
18035
  computer_lifecycle: "computer_lifecycle";
17082
18036
  computer_observe: "computer_observe";
17083
18037
  computer_open: "computer_open";
@@ -17093,13 +18047,25 @@ export declare const CreateSessionRequest: z.ZodPreprocess<z.ZodObject<{
17093
18047
  editable_artifact_list: "editable_artifact_list";
17094
18048
  environment_list: "environment_list";
17095
18049
  environment_set_variable: "environment_set_variable";
18050
+ fiken_bank_accounts_list: "fiken_bank_accounts_list";
18051
+ fiken_companies_list: "fiken_companies_list";
18052
+ fiken_contact_create: "fiken_contact_create";
18053
+ fiken_contacts_list: "fiken_contacts_list";
18054
+ fiken_invoice_draft_create: "fiken_invoice_draft_create";
18055
+ fiken_invoice_get: "fiken_invoice_get";
18056
+ fiken_invoices_list: "fiken_invoices_list";
18057
+ fiken_products_list: "fiken_products_list";
18058
+ fiken_purchases_list: "fiken_purchases_list";
18059
+ fiken_sales_list: "fiken_sales_list";
17096
18060
  github_connect_link: "github_connect_link";
17097
18061
  github_repositories_list: "github_repositories_list";
17098
18062
  goal_complete: "goal_complete";
17099
18063
  goal_pause: "goal_pause";
18064
+ goal_progress: "goal_progress";
17100
18065
  goal_set: "goal_set";
17101
18066
  goal_update: "goal_update";
17102
18067
  interaction_discover: "interaction_discover";
18068
+ interaction_request_human: "interaction_request_human";
17103
18069
  memory_correct: "memory_correct";
17104
18070
  memory_save: "memory_save";
17105
18071
  memory_search: "memory_search";
@@ -17157,6 +18123,9 @@ export declare const CreateSessionRequest: z.ZodPreprocess<z.ZodObject<{
17157
18123
  social_posts_sync: "social_posts_sync";
17158
18124
  social_search_live: "social_search_live";
17159
18125
  social_thread_fetch: "social_thread_fetch";
18126
+ task_note_archive: "task_note_archive";
18127
+ task_note_save: "task_note_save";
18128
+ task_notes_list: "task_notes_list";
17160
18129
  variable_set_get_variable: "variable_set_get_variable";
17161
18130
  variable_set_list: "variable_set_list";
17162
18131
  variable_set_set_variable: "variable_set_set_variable";
@@ -17397,7 +18366,7 @@ export declare const SessionUserMessagePayload: z.ZodObject<{
17397
18366
  quote: z.ZodString;
17398
18367
  note: z.ZodString;
17399
18368
  }, z.core.$strict>>>;
17400
- turnInstructions: z.ZodOptional<z.ZodString>;
18369
+ modelContext: z.ZodOptional<z.ZodString>;
17401
18370
  resources: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
17402
18371
  kind: z.ZodLiteral<"repository">;
17403
18372
  uri: z.ZodString;
@@ -17478,7 +18447,7 @@ export declare const ClientSessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
17478
18447
  quote: z.ZodString;
17479
18448
  note: z.ZodString;
17480
18449
  }, z.core.$strict>>>;
17481
- turnInstructions: z.ZodOptional<z.ZodString>;
18450
+ modelContext: z.ZodOptional<z.ZodString>;
17482
18451
  resources: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
17483
18452
  kind: z.ZodLiteral<"repository">;
17484
18453
  uri: z.ZodString;
@@ -17584,7 +18553,7 @@ export declare const SteerSessionMessageRequest: z.ZodObject<{
17584
18553
  quote: z.ZodString;
17585
18554
  note: z.ZodString;
17586
18555
  }, z.core.$strict>>>;
17587
- turnInstructions: z.ZodOptional<z.ZodString>;
18556
+ modelContext: z.ZodOptional<z.ZodString>;
17588
18557
  resources: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
17589
18558
  kind: z.ZodLiteral<"repository">;
17590
18559
  uri: z.ZodString;
@@ -17665,7 +18634,10 @@ export declare const SteerSessionMessageResponse: z.ZodObject<{
17665
18634
  "goal.completed": "goal.completed";
17666
18635
  "goal.continuation": "goal.continuation";
17667
18636
  "goal.paused": "goal.paused";
18637
+ "goal.progress": "goal.progress";
17668
18638
  "goal.resumed": "goal.resumed";
18639
+ "goal.rewrite.proposed": "goal.rewrite.proposed";
18640
+ "goal.rewrite.rejected": "goal.rewrite.rejected";
17669
18641
  "goal.set": "goal.set";
17670
18642
  "goal.updated": "goal.updated";
17671
18643
  "machine.link.lost": "machine.link.lost";
@@ -17713,6 +18685,7 @@ export declare const SteerSessionMessageResponse: z.ZodObject<{
17713
18685
  "session.status.changed": "session.status.changed";
17714
18686
  "session.title_set": "session.title_set";
17715
18687
  "session.tool_policy.updated": "session.tool_policy.updated";
18688
+ "session.visibility.changed": "session.visibility.changed";
17716
18689
  "stream.closed": "stream.closed";
17717
18690
  "stream.opened": "stream.opened";
17718
18691
  "stream.revoked": "stream.revoked";
@@ -17936,7 +18909,10 @@ export declare const SessionBusMessage: z.ZodObject<{
17936
18909
  "goal.completed": "goal.completed";
17937
18910
  "goal.continuation": "goal.continuation";
17938
18911
  "goal.paused": "goal.paused";
18912
+ "goal.progress": "goal.progress";
17939
18913
  "goal.resumed": "goal.resumed";
18914
+ "goal.rewrite.proposed": "goal.rewrite.proposed";
18915
+ "goal.rewrite.rejected": "goal.rewrite.rejected";
17940
18916
  "goal.set": "goal.set";
17941
18917
  "goal.updated": "goal.updated";
17942
18918
  "machine.link.lost": "machine.link.lost";
@@ -17984,6 +18960,7 @@ export declare const SessionBusMessage: z.ZodObject<{
17984
18960
  "session.status.changed": "session.status.changed";
17985
18961
  "session.title_set": "session.title_set";
17986
18962
  "session.tool_policy.updated": "session.tool_policy.updated";
18963
+ "session.visibility.changed": "session.visibility.changed";
17987
18964
  "stream.closed": "stream.closed";
17988
18965
  "stream.opened": "stream.opened";
17989
18966
  "stream.revoked": "stream.revoked";
@@ -18235,6 +19212,7 @@ export declare const SessionCapabilities: z.ZodObject<{
18235
19212
  Terminal: z.ZodObject<{
18236
19213
  transport: z.ZodNullable<z.ZodEnum<{
18237
19214
  "pty-ws": "pty-ws";
19215
+ "relay-pty": "relay-pty";
18238
19216
  "sse-events": "sse-events";
18239
19217
  }>>;
18240
19218
  ptyCapable: z.ZodBoolean;
@@ -18407,7 +19385,10 @@ export declare const AttachViewerResponse: z.ZodObject<{
18407
19385
  terminalUrl: z.ZodNullable<z.ZodString>;
18408
19386
  terminalToken: z.ZodNullable<z.ZodString>;
18409
19387
  terminalExpiresAt: z.ZodNullable<z.ZodString>;
18410
- terminalTransport: z.ZodNullable<z.ZodLiteral<"pty-ws">>;
19388
+ terminalTransport: z.ZodNullable<z.ZodEnum<{
19389
+ "pty-ws": "pty-ws";
19390
+ "relay-pty": "relay-pty";
19391
+ }>>;
18411
19392
  }, z.core.$strip>;
18412
19393
  export type AttachViewerResponse = z.infer<typeof AttachViewerResponse>;
18413
19394
  export declare const AcknowledgeStreamRequest: z.ZodObject<{
@@ -19049,7 +20030,10 @@ export declare const ModelCredentialSourceV1: z.ZodUnion<readonly [z.ZodObject<{
19049
20030
  }>;
19050
20031
  }, z.core.$strict>, z.ZodObject<{
19051
20032
  kind: z.ZodLiteral<"connected_subscription">;
19052
- provider: z.ZodLiteral<"codex">;
20033
+ provider: z.ZodEnum<{
20034
+ codex: "codex";
20035
+ xai: "xai";
20036
+ }>;
19053
20037
  }, z.core.$strict>, z.ZodObject<{
19054
20038
  kind: z.ZodLiteral<"workspace_connection">;
19055
20039
  mechanism: z.ZodLiteral<"api_key">;
@@ -19150,7 +20134,10 @@ export declare const TurnExecutionPolicyV1: z.ZodObject<{
19150
20134
  }>;
19151
20135
  }, z.core.$strict>, z.ZodObject<{
19152
20136
  kind: z.ZodLiteral<"connected_subscription">;
19153
- provider: z.ZodLiteral<"codex">;
20137
+ provider: z.ZodEnum<{
20138
+ codex: "codex";
20139
+ xai: "xai";
20140
+ }>;
19154
20141
  }, z.core.$strict>, z.ZodObject<{
19155
20142
  kind: z.ZodLiteral<"workspace_connection">;
19156
20143
  mechanism: z.ZodLiteral<"api_key">;
@@ -19235,6 +20222,7 @@ export declare const ClientModel: z.ZodObject<{
19235
20222
  source: z.ZodOptional<z.ZodEnum<{
19236
20223
  codex: "codex";
19237
20224
  opengeni: "opengeni";
20225
+ supergrok: "supergrok";
19238
20226
  workspace_gateway: "workspace_gateway";
19239
20227
  }>>;
19240
20228
  contextWindowTokens: z.ZodOptional<z.ZodNumber>;
@@ -19261,7 +20249,10 @@ export declare const ClientModel: z.ZodObject<{
19261
20249
  }>;
19262
20250
  }, z.core.$strict>, z.ZodObject<{
19263
20251
  kind: z.ZodLiteral<"connected_subscription">;
19264
- provider: z.ZodLiteral<"codex">;
20252
+ provider: z.ZodEnum<{
20253
+ codex: "codex";
20254
+ xai: "xai";
20255
+ }>;
19265
20256
  }, z.core.$strict>, z.ZodObject<{
19266
20257
  kind: z.ZodLiteral<"workspace_connection">;
19267
20258
  mechanism: z.ZodLiteral<"api_key">;
@@ -19486,6 +20477,7 @@ export declare const WorkspaceModelCatalogModel: z.ZodObject<{
19486
20477
  source: z.ZodOptional<z.ZodEnum<{
19487
20478
  codex: "codex";
19488
20479
  opengeni: "opengeni";
20480
+ supergrok: "supergrok";
19489
20481
  workspace_gateway: "workspace_gateway";
19490
20482
  }>>;
19491
20483
  contextWindowTokens: z.ZodOptional<z.ZodNumber>;
@@ -19512,7 +20504,10 @@ export declare const WorkspaceModelCatalogModel: z.ZodObject<{
19512
20504
  }>;
19513
20505
  }, z.core.$strict>, z.ZodObject<{
19514
20506
  kind: z.ZodLiteral<"connected_subscription">;
19515
- provider: z.ZodLiteral<"codex">;
20507
+ provider: z.ZodEnum<{
20508
+ codex: "codex";
20509
+ xai: "xai";
20510
+ }>;
19516
20511
  }, z.core.$strict>, z.ZodObject<{
19517
20512
  kind: z.ZodLiteral<"workspace_connection">;
19518
20513
  mechanism: z.ZodLiteral<"api_key">;
@@ -19736,6 +20731,7 @@ export declare const WorkspaceModelCatalogResponse: z.ZodObject<{
19736
20731
  source: z.ZodOptional<z.ZodEnum<{
19737
20732
  codex: "codex";
19738
20733
  opengeni: "opengeni";
20734
+ supergrok: "supergrok";
19739
20735
  workspace_gateway: "workspace_gateway";
19740
20736
  }>>;
19741
20737
  contextWindowTokens: z.ZodOptional<z.ZodNumber>;
@@ -19762,7 +20758,10 @@ export declare const WorkspaceModelCatalogResponse: z.ZodObject<{
19762
20758
  }>;
19763
20759
  }, z.core.$strict>, z.ZodObject<{
19764
20760
  kind: z.ZodLiteral<"connected_subscription">;
19765
- provider: z.ZodLiteral<"codex">;
20761
+ provider: z.ZodEnum<{
20762
+ codex: "codex";
20763
+ xai: "xai";
20764
+ }>;
19766
20765
  }, z.core.$strict>, z.ZodObject<{
19767
20766
  kind: z.ZodLiteral<"workspace_connection">;
19768
20767
  mechanism: z.ZodLiteral<"api_key">;
@@ -19981,13 +20980,13 @@ export type WorkspaceModelCatalogResponse = z.infer<typeof WorkspaceModelCatalog
19981
20980
  * that rollout boundary. Mutating clients send this value in
19982
20981
  * `x-opengeni-api-contract`; the API rejects any other value before routing.
19983
20982
  */
19984
- export declare const OPENGENI_API_CONTRACT_REVISION: "2026-08-social-provider-tools-v1";
20983
+ export declare const OPENGENI_API_CONTRACT_REVISION: "2026-08-model-context-v1";
19985
20984
  export declare const OPENGENI_API_CONTRACT_HEADER: "x-opengeni-api-contract";
19986
20985
  /** Bounded request/response identifier shared by browser, ingress, and API diagnostics. */
19987
20986
  export declare const OPENGENI_CORRELATION_HEADER: "x-opengeni-correlation-id";
19988
20987
  export declare const ClientConfig: z.ZodObject<{
19989
20988
  deploymentRevision: z.ZodString;
19990
- apiContractRevision: z.ZodLiteral<"2026-08-social-provider-tools-v1">;
20989
+ apiContractRevision: z.ZodLiteral<"2026-08-model-context-v1">;
19991
20990
  serverVersion: z.ZodOptional<z.ZodString>;
19992
20991
  defaultModel: z.ZodString;
19993
20992
  allowedModels: z.ZodArray<z.ZodString>;
@@ -20004,6 +21003,7 @@ export declare const ClientConfig: z.ZodObject<{
20004
21003
  source: z.ZodOptional<z.ZodEnum<{
20005
21004
  codex: "codex";
20006
21005
  opengeni: "opengeni";
21006
+ supergrok: "supergrok";
20007
21007
  workspace_gateway: "workspace_gateway";
20008
21008
  }>>;
20009
21009
  contextWindowTokens: z.ZodOptional<z.ZodNumber>;
@@ -20030,7 +21030,10 @@ export declare const ClientConfig: z.ZodObject<{
20030
21030
  }>;
20031
21031
  }, z.core.$strict>, z.ZodObject<{
20032
21032
  kind: z.ZodLiteral<"connected_subscription">;
20033
- provider: z.ZodLiteral<"codex">;
21033
+ provider: z.ZodEnum<{
21034
+ codex: "codex";
21035
+ xai: "xai";
21036
+ }>;
20034
21037
  }, z.core.$strict>, z.ZodObject<{
20035
21038
  kind: z.ZodLiteral<"workspace_connection">;
20036
21039
  mechanism: z.ZodLiteral<"api_key">;
@@ -20222,6 +21225,262 @@ export declare const ClientConfig: z.ZodObject<{
20222
21225
  id: z.ZodString;
20223
21226
  name: z.ZodString;
20224
21227
  }, z.core.$strip>>>;
21228
+ firstPartyMcpTools: z.ZodDefault<z.ZodObject<{
21229
+ default: z.ZodArray<z.ZodEnum<{
21230
+ artifacts_create: "artifacts_create";
21231
+ artifacts_get_source: "artifacts_get_source";
21232
+ artifacts_list: "artifacts_list";
21233
+ artifacts_publish: "artifacts_publish";
21234
+ artifacts_rollback: "artifacts_rollback";
21235
+ atlassian_get: "atlassian_get";
21236
+ atlassian_search: "atlassian_search";
21237
+ atlassian_sources_list: "atlassian_sources_list";
21238
+ browser_act: "browser_act";
21239
+ browser_auth: "browser_auth";
21240
+ browser_clipboard: "browser_clipboard";
21241
+ browser_debug: "browser_debug";
21242
+ browser_identity: "browser_identity";
21243
+ browser_lifecycle: "browser_lifecycle";
21244
+ browser_observe: "browser_observe";
21245
+ browser_open: "browser_open";
21246
+ browser_publish: "browser_publish";
21247
+ browser_tabs: "browser_tabs";
21248
+ capability_authorization_request: "capability_authorization_request";
21249
+ capability_catalog_search: "capability_catalog_search";
21250
+ computer_act: "computer_act";
21251
+ computer_clipboard: "computer_clipboard";
21252
+ computer_lifecycle: "computer_lifecycle";
21253
+ computer_observe: "computer_observe";
21254
+ computer_open: "computer_open";
21255
+ computer_targets: "computer_targets";
21256
+ connected_machine_remove: "connected_machine_remove";
21257
+ editable_artifact_apply: "editable_artifact_apply";
21258
+ editable_artifact_create: "editable_artifact_create";
21259
+ editable_artifact_export: "editable_artifact_export";
21260
+ editable_artifact_export_status: "editable_artifact_export_status";
21261
+ editable_artifact_get: "editable_artifact_get";
21262
+ editable_artifact_import: "editable_artifact_import";
21263
+ editable_artifact_inspect: "editable_artifact_inspect";
21264
+ editable_artifact_list: "editable_artifact_list";
21265
+ environment_list: "environment_list";
21266
+ environment_set_variable: "environment_set_variable";
21267
+ fiken_bank_accounts_list: "fiken_bank_accounts_list";
21268
+ fiken_companies_list: "fiken_companies_list";
21269
+ fiken_contact_create: "fiken_contact_create";
21270
+ fiken_contacts_list: "fiken_contacts_list";
21271
+ fiken_invoice_draft_create: "fiken_invoice_draft_create";
21272
+ fiken_invoice_get: "fiken_invoice_get";
21273
+ fiken_invoices_list: "fiken_invoices_list";
21274
+ fiken_products_list: "fiken_products_list";
21275
+ fiken_purchases_list: "fiken_purchases_list";
21276
+ fiken_sales_list: "fiken_sales_list";
21277
+ github_connect_link: "github_connect_link";
21278
+ github_repositories_list: "github_repositories_list";
21279
+ goal_complete: "goal_complete";
21280
+ goal_pause: "goal_pause";
21281
+ goal_progress: "goal_progress";
21282
+ goal_set: "goal_set";
21283
+ goal_update: "goal_update";
21284
+ interaction_discover: "interaction_discover";
21285
+ interaction_request_human: "interaction_request_human";
21286
+ memory_correct: "memory_correct";
21287
+ memory_save: "memory_save";
21288
+ memory_search: "memory_search";
21289
+ preference_registry_get: "preference_registry_get";
21290
+ preference_registry_summary: "preference_registry_summary";
21291
+ reddit_accounts_list: "reddit_accounts_list";
21292
+ reddit_mentions_live: "reddit_mentions_live";
21293
+ reddit_post_reply: "reddit_post_reply";
21294
+ reddit_posts_sync: "reddit_posts_sync";
21295
+ reddit_search_live: "reddit_search_live";
21296
+ reddit_thread_fetch: "reddit_thread_fetch";
21297
+ rig_get: "rig_get";
21298
+ rig_list: "rig_list";
21299
+ rig_promote: "rig_promote";
21300
+ rig_propose_change: "rig_propose_change";
21301
+ rig_verify: "rig_verify";
21302
+ run_on: "run_on";
21303
+ sandbox_attach: "sandbox_attach";
21304
+ sandbox_provision: "sandbox_provision";
21305
+ sandbox_swap: "sandbox_swap";
21306
+ sandboxes_list: "sandboxes_list";
21307
+ scheduled_task_runs_list: "scheduled_task_runs_list";
21308
+ scheduled_tasks_create: "scheduled_tasks_create";
21309
+ scheduled_tasks_delete: "scheduled_tasks_delete";
21310
+ scheduled_tasks_get: "scheduled_tasks_get";
21311
+ scheduled_tasks_list: "scheduled_tasks_list";
21312
+ scheduled_tasks_pause: "scheduled_tasks_pause";
21313
+ scheduled_tasks_resume: "scheduled_tasks_resume";
21314
+ scheduled_tasks_trigger: "scheduled_tasks_trigger";
21315
+ scheduled_tasks_update: "scheduled_tasks_update";
21316
+ session_create: "session_create";
21317
+ session_events: "session_events";
21318
+ session_get: "session_get";
21319
+ session_pause: "session_pause";
21320
+ session_resume: "session_resume";
21321
+ session_send_message: "session_send_message";
21322
+ session_steer: "session_steer";
21323
+ sessions_list: "sessions_list";
21324
+ set_other_session_title: "set_other_session_title";
21325
+ set_session_title: "set_session_title";
21326
+ slack_bot_channel_history: "slack_bot_channel_history";
21327
+ slack_bot_delete_message: "slack_bot_delete_message";
21328
+ slack_bot_file_content: "slack_bot_file_content";
21329
+ slack_bot_file_info: "slack_bot_file_info";
21330
+ slack_bot_list_channels: "slack_bot_list_channels";
21331
+ slack_bot_list_files: "slack_bot_list_files";
21332
+ slack_bot_list_users: "slack_bot_list_users";
21333
+ slack_bot_post_message: "slack_bot_post_message";
21334
+ slack_bot_thread_replies: "slack_bot_thread_replies";
21335
+ social_connections_list: "social_connections_list";
21336
+ social_daily_analysis_context: "social_daily_analysis_context";
21337
+ social_mentions_live: "social_mentions_live";
21338
+ social_post_reply: "social_post_reply";
21339
+ social_posts_recent: "social_posts_recent";
21340
+ social_posts_sync: "social_posts_sync";
21341
+ social_search_live: "social_search_live";
21342
+ social_thread_fetch: "social_thread_fetch";
21343
+ task_note_archive: "task_note_archive";
21344
+ task_note_save: "task_note_save";
21345
+ task_notes_list: "task_notes_list";
21346
+ variable_set_get_variable: "variable_set_get_variable";
21347
+ variable_set_list: "variable_set_list";
21348
+ variable_set_set_variable: "variable_set_set_variable";
21349
+ x_accounts_list: "x_accounts_list";
21350
+ x_mentions_live: "x_mentions_live";
21351
+ x_post_reply: "x_post_reply";
21352
+ x_posts_sync: "x_posts_sync";
21353
+ x_search_live: "x_search_live";
21354
+ x_thread_fetch: "x_thread_fetch";
21355
+ }>>;
21356
+ allowed: z.ZodArray<z.ZodEnum<{
21357
+ artifacts_create: "artifacts_create";
21358
+ artifacts_get_source: "artifacts_get_source";
21359
+ artifacts_list: "artifacts_list";
21360
+ artifacts_publish: "artifacts_publish";
21361
+ artifacts_rollback: "artifacts_rollback";
21362
+ atlassian_get: "atlassian_get";
21363
+ atlassian_search: "atlassian_search";
21364
+ atlassian_sources_list: "atlassian_sources_list";
21365
+ browser_act: "browser_act";
21366
+ browser_auth: "browser_auth";
21367
+ browser_clipboard: "browser_clipboard";
21368
+ browser_debug: "browser_debug";
21369
+ browser_identity: "browser_identity";
21370
+ browser_lifecycle: "browser_lifecycle";
21371
+ browser_observe: "browser_observe";
21372
+ browser_open: "browser_open";
21373
+ browser_publish: "browser_publish";
21374
+ browser_tabs: "browser_tabs";
21375
+ capability_authorization_request: "capability_authorization_request";
21376
+ capability_catalog_search: "capability_catalog_search";
21377
+ computer_act: "computer_act";
21378
+ computer_clipboard: "computer_clipboard";
21379
+ computer_lifecycle: "computer_lifecycle";
21380
+ computer_observe: "computer_observe";
21381
+ computer_open: "computer_open";
21382
+ computer_targets: "computer_targets";
21383
+ connected_machine_remove: "connected_machine_remove";
21384
+ editable_artifact_apply: "editable_artifact_apply";
21385
+ editable_artifact_create: "editable_artifact_create";
21386
+ editable_artifact_export: "editable_artifact_export";
21387
+ editable_artifact_export_status: "editable_artifact_export_status";
21388
+ editable_artifact_get: "editable_artifact_get";
21389
+ editable_artifact_import: "editable_artifact_import";
21390
+ editable_artifact_inspect: "editable_artifact_inspect";
21391
+ editable_artifact_list: "editable_artifact_list";
21392
+ environment_list: "environment_list";
21393
+ environment_set_variable: "environment_set_variable";
21394
+ fiken_bank_accounts_list: "fiken_bank_accounts_list";
21395
+ fiken_companies_list: "fiken_companies_list";
21396
+ fiken_contact_create: "fiken_contact_create";
21397
+ fiken_contacts_list: "fiken_contacts_list";
21398
+ fiken_invoice_draft_create: "fiken_invoice_draft_create";
21399
+ fiken_invoice_get: "fiken_invoice_get";
21400
+ fiken_invoices_list: "fiken_invoices_list";
21401
+ fiken_products_list: "fiken_products_list";
21402
+ fiken_purchases_list: "fiken_purchases_list";
21403
+ fiken_sales_list: "fiken_sales_list";
21404
+ github_connect_link: "github_connect_link";
21405
+ github_repositories_list: "github_repositories_list";
21406
+ goal_complete: "goal_complete";
21407
+ goal_pause: "goal_pause";
21408
+ goal_progress: "goal_progress";
21409
+ goal_set: "goal_set";
21410
+ goal_update: "goal_update";
21411
+ interaction_discover: "interaction_discover";
21412
+ interaction_request_human: "interaction_request_human";
21413
+ memory_correct: "memory_correct";
21414
+ memory_save: "memory_save";
21415
+ memory_search: "memory_search";
21416
+ preference_registry_get: "preference_registry_get";
21417
+ preference_registry_summary: "preference_registry_summary";
21418
+ reddit_accounts_list: "reddit_accounts_list";
21419
+ reddit_mentions_live: "reddit_mentions_live";
21420
+ reddit_post_reply: "reddit_post_reply";
21421
+ reddit_posts_sync: "reddit_posts_sync";
21422
+ reddit_search_live: "reddit_search_live";
21423
+ reddit_thread_fetch: "reddit_thread_fetch";
21424
+ rig_get: "rig_get";
21425
+ rig_list: "rig_list";
21426
+ rig_promote: "rig_promote";
21427
+ rig_propose_change: "rig_propose_change";
21428
+ rig_verify: "rig_verify";
21429
+ run_on: "run_on";
21430
+ sandbox_attach: "sandbox_attach";
21431
+ sandbox_provision: "sandbox_provision";
21432
+ sandbox_swap: "sandbox_swap";
21433
+ sandboxes_list: "sandboxes_list";
21434
+ scheduled_task_runs_list: "scheduled_task_runs_list";
21435
+ scheduled_tasks_create: "scheduled_tasks_create";
21436
+ scheduled_tasks_delete: "scheduled_tasks_delete";
21437
+ scheduled_tasks_get: "scheduled_tasks_get";
21438
+ scheduled_tasks_list: "scheduled_tasks_list";
21439
+ scheduled_tasks_pause: "scheduled_tasks_pause";
21440
+ scheduled_tasks_resume: "scheduled_tasks_resume";
21441
+ scheduled_tasks_trigger: "scheduled_tasks_trigger";
21442
+ scheduled_tasks_update: "scheduled_tasks_update";
21443
+ session_create: "session_create";
21444
+ session_events: "session_events";
21445
+ session_get: "session_get";
21446
+ session_pause: "session_pause";
21447
+ session_resume: "session_resume";
21448
+ session_send_message: "session_send_message";
21449
+ session_steer: "session_steer";
21450
+ sessions_list: "sessions_list";
21451
+ set_other_session_title: "set_other_session_title";
21452
+ set_session_title: "set_session_title";
21453
+ slack_bot_channel_history: "slack_bot_channel_history";
21454
+ slack_bot_delete_message: "slack_bot_delete_message";
21455
+ slack_bot_file_content: "slack_bot_file_content";
21456
+ slack_bot_file_info: "slack_bot_file_info";
21457
+ slack_bot_list_channels: "slack_bot_list_channels";
21458
+ slack_bot_list_files: "slack_bot_list_files";
21459
+ slack_bot_list_users: "slack_bot_list_users";
21460
+ slack_bot_post_message: "slack_bot_post_message";
21461
+ slack_bot_thread_replies: "slack_bot_thread_replies";
21462
+ social_connections_list: "social_connections_list";
21463
+ social_daily_analysis_context: "social_daily_analysis_context";
21464
+ social_mentions_live: "social_mentions_live";
21465
+ social_post_reply: "social_post_reply";
21466
+ social_posts_recent: "social_posts_recent";
21467
+ social_posts_sync: "social_posts_sync";
21468
+ social_search_live: "social_search_live";
21469
+ social_thread_fetch: "social_thread_fetch";
21470
+ task_note_archive: "task_note_archive";
21471
+ task_note_save: "task_note_save";
21472
+ task_notes_list: "task_notes_list";
21473
+ variable_set_get_variable: "variable_set_get_variable";
21474
+ variable_set_list: "variable_set_list";
21475
+ variable_set_set_variable: "variable_set_set_variable";
21476
+ x_accounts_list: "x_accounts_list";
21477
+ x_mentions_live: "x_mentions_live";
21478
+ x_post_reply: "x_post_reply";
21479
+ x_posts_sync: "x_posts_sync";
21480
+ x_search_live: "x_search_live";
21481
+ x_thread_fetch: "x_thread_fetch";
21482
+ }>>;
21483
+ }, z.core.$strip>>;
20225
21484
  fileUploads: z.ZodObject<{
20226
21485
  enabled: z.ZodBoolean;
20227
21486
  maxSizeBytes: z.ZodNumber;
@@ -20309,9 +21568,13 @@ export declare function evaluateWorkspaceModelPolicy(policy: WorkspaceModelPolic
20309
21568
  modelId: string;
20310
21569
  }): WorkspaceModelPolicyVerdict;
20311
21570
  export * from "./codex-fleet-policy.js";
21571
+ export * from "./xai-provider-account-authority.js";
20312
21572
  export * from "./workspace-instruction-policies.js";
20313
21573
  export * from "./company-profile.js";
20314
21574
  export * from "./workspace-learning-policy.js";
20315
21575
  export * from "./workspace-state.js";
20316
21576
  export * from "./preference-registry.js";
20317
21577
  export * from "./scoped-knowledge.js";
21578
+ export * from "./knowledge.js";
21579
+ export * from "./task-notes.js";
21580
+ export * from "./canonical-human-identities.js";