@opengeni/contracts 0.21.0 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1188,6 +1188,74 @@ type Permission = z.infer<typeof Permission>;
1188
1188
  * never fall back to a different runtime-local default.
1189
1189
  */
1190
1190
  declare const DEFAULT_FIRST_PARTY_MCP_PERMISSIONS: readonly ["workspace:read", "files:read", "documents:search", "scheduled_tasks:manage", "scheduled_tasks:run", "goals:manage", "sessions:read", "sessions:create", "sessions:control", "variable-sets:use", "variable-sets:manage", "rigs:use", "github:use"];
1191
+ /**
1192
+ * Exact public catalog for tools served by the broad first-party `opengeni`
1193
+ * MCP server. Adding a registration does not make it model-visible: the name
1194
+ * must be admitted here and selected by the session policy.
1195
+ *
1196
+ * `files_get_download_url` intentionally is not in this catalog. It belongs to
1197
+ * the dedicated `files` MCP server.
1198
+ */
1199
+ 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", "sandboxes_list", "sandbox_attach", "sandbox_swap", "run_on", "sandbox_provision", "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", "variable_set_list", "environment_list", "variable_set_set_variable", "environment_set_variable", "github_connect_link", "github_token", "github_repositories_list", "social_connections_list", "social_posts_recent", "social_daily_analysis_context", "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_list_users", "slack_bot_post_message"];
1200
+ declare const FirstPartyMcpToolName: z.ZodEnum<{
1201
+ set_session_title: "set_session_title";
1202
+ goal_set: "goal_set";
1203
+ goal_update: "goal_update";
1204
+ goal_complete: "goal_complete";
1205
+ goal_pause: "goal_pause";
1206
+ memory_search: "memory_search";
1207
+ memory_save: "memory_save";
1208
+ memory_correct: "memory_correct";
1209
+ sandboxes_list: "sandboxes_list";
1210
+ sandbox_attach: "sandbox_attach";
1211
+ sandbox_swap: "sandbox_swap";
1212
+ run_on: "run_on";
1213
+ sandbox_provision: "sandbox_provision";
1214
+ rig_list: "rig_list";
1215
+ rig_get: "rig_get";
1216
+ rig_propose_change: "rig_propose_change";
1217
+ rig_verify: "rig_verify";
1218
+ rig_promote: "rig_promote";
1219
+ sessions_list: "sessions_list";
1220
+ session_get: "session_get";
1221
+ session_events: "session_events";
1222
+ session_create: "session_create";
1223
+ session_send_message: "session_send_message";
1224
+ session_pause: "session_pause";
1225
+ session_resume: "session_resume";
1226
+ session_steer: "session_steer";
1227
+ set_other_session_title: "set_other_session_title";
1228
+ variable_set_list: "variable_set_list";
1229
+ environment_list: "environment_list";
1230
+ variable_set_set_variable: "variable_set_set_variable";
1231
+ environment_set_variable: "environment_set_variable";
1232
+ github_connect_link: "github_connect_link";
1233
+ github_token: "github_token";
1234
+ github_repositories_list: "github_repositories_list";
1235
+ social_connections_list: "social_connections_list";
1236
+ social_posts_recent: "social_posts_recent";
1237
+ social_daily_analysis_context: "social_daily_analysis_context";
1238
+ scheduled_tasks_list: "scheduled_tasks_list";
1239
+ scheduled_tasks_get: "scheduled_tasks_get";
1240
+ scheduled_tasks_create: "scheduled_tasks_create";
1241
+ scheduled_tasks_update: "scheduled_tasks_update";
1242
+ scheduled_tasks_pause: "scheduled_tasks_pause";
1243
+ scheduled_tasks_resume: "scheduled_tasks_resume";
1244
+ scheduled_tasks_trigger: "scheduled_tasks_trigger";
1245
+ scheduled_tasks_delete: "scheduled_tasks_delete";
1246
+ scheduled_task_runs_list: "scheduled_task_runs_list";
1247
+ slack_bot_list_channels: "slack_bot_list_channels";
1248
+ slack_bot_channel_history: "slack_bot_channel_history";
1249
+ slack_bot_list_users: "slack_bot_list_users";
1250
+ slack_bot_post_message: "slack_bot_post_message";
1251
+ }>;
1252
+ type FirstPartyMcpToolName = z.infer<typeof FirstPartyMcpToolName>;
1253
+ /**
1254
+ * Every catalogued OpenGeni tool is selected by default. Registration-time
1255
+ * authorization remains the independent access boundary; an explicit session
1256
+ * policy may narrow this model-visible set.
1257
+ */
1258
+ declare const DEFAULT_FIRST_PARTY_MCP_TOOLS: readonly ["set_session_title", "goal_set", "goal_update", "goal_complete", "goal_pause", "memory_search", "memory_save", "memory_correct", "sandboxes_list", "sandbox_attach", "sandbox_swap", "run_on", "sandbox_provision", "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", "variable_set_list", "environment_list", "variable_set_set_variable", "environment_set_variable", "github_connect_link", "github_token", "github_repositories_list", "social_connections_list", "social_posts_recent", "social_daily_analysis_context", "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_list_users", "slack_bot_post_message"];
1191
1259
  declare function prefixedMcpToolName(registryId: string, toolName: string): string;
1192
1260
  declare const ProductAccessMode: z.ZodEnum<{
1193
1261
  local: "local";
@@ -1920,6 +1988,58 @@ declare const DelegatedAccessTokenPayload: z.ZodObject<{
1920
1988
  }, z.core.$strip>>;
1921
1989
  serviceInitiatorContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1922
1990
  sessionId: z.ZodOptional<z.ZodString>;
1991
+ firstPartyMcpTools: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1992
+ set_session_title: "set_session_title";
1993
+ goal_set: "goal_set";
1994
+ goal_update: "goal_update";
1995
+ goal_complete: "goal_complete";
1996
+ goal_pause: "goal_pause";
1997
+ memory_search: "memory_search";
1998
+ memory_save: "memory_save";
1999
+ memory_correct: "memory_correct";
2000
+ sandboxes_list: "sandboxes_list";
2001
+ sandbox_attach: "sandbox_attach";
2002
+ sandbox_swap: "sandbox_swap";
2003
+ run_on: "run_on";
2004
+ sandbox_provision: "sandbox_provision";
2005
+ rig_list: "rig_list";
2006
+ rig_get: "rig_get";
2007
+ rig_propose_change: "rig_propose_change";
2008
+ rig_verify: "rig_verify";
2009
+ rig_promote: "rig_promote";
2010
+ sessions_list: "sessions_list";
2011
+ session_get: "session_get";
2012
+ session_events: "session_events";
2013
+ session_create: "session_create";
2014
+ session_send_message: "session_send_message";
2015
+ session_pause: "session_pause";
2016
+ session_resume: "session_resume";
2017
+ session_steer: "session_steer";
2018
+ set_other_session_title: "set_other_session_title";
2019
+ variable_set_list: "variable_set_list";
2020
+ environment_list: "environment_list";
2021
+ variable_set_set_variable: "variable_set_set_variable";
2022
+ environment_set_variable: "environment_set_variable";
2023
+ github_connect_link: "github_connect_link";
2024
+ github_token: "github_token";
2025
+ github_repositories_list: "github_repositories_list";
2026
+ social_connections_list: "social_connections_list";
2027
+ social_posts_recent: "social_posts_recent";
2028
+ social_daily_analysis_context: "social_daily_analysis_context";
2029
+ scheduled_tasks_list: "scheduled_tasks_list";
2030
+ scheduled_tasks_get: "scheduled_tasks_get";
2031
+ scheduled_tasks_create: "scheduled_tasks_create";
2032
+ scheduled_tasks_update: "scheduled_tasks_update";
2033
+ scheduled_tasks_pause: "scheduled_tasks_pause";
2034
+ scheduled_tasks_resume: "scheduled_tasks_resume";
2035
+ scheduled_tasks_trigger: "scheduled_tasks_trigger";
2036
+ scheduled_tasks_delete: "scheduled_tasks_delete";
2037
+ scheduled_task_runs_list: "scheduled_task_runs_list";
2038
+ slack_bot_list_channels: "slack_bot_list_channels";
2039
+ slack_bot_channel_history: "slack_bot_channel_history";
2040
+ slack_bot_list_users: "slack_bot_list_users";
2041
+ slack_bot_post_message: "slack_bot_post_message";
2042
+ }>>>;
1923
2043
  turnId: z.ZodOptional<z.ZodString>;
1924
2044
  attemptId: z.ZodOptional<z.ZodString>;
1925
2045
  executionGeneration: z.ZodOptional<z.ZodNumber>;
@@ -2740,6 +2860,10 @@ type GitHubInstallationSummary = {
2740
2860
  suspended: boolean;
2741
2861
  };
2742
2862
  type GitHubInstallationAuthorityKind = "personal_owner" | "organization_owner";
2863
+ interface GitHubInstallationBindingCandidate {
2864
+ installation: GitHubInstallationSummary;
2865
+ authorityKind: GitHubInstallationAuthorityKind;
2866
+ }
2743
2867
  interface GitHubInstallationBindingProof {
2744
2868
  actorId: number;
2745
2869
  actorLogin: string;
@@ -2773,6 +2897,15 @@ type GitHubAppApiPort = {
2773
2897
  code: string;
2774
2898
  installationId: number;
2775
2899
  }) => Promise<GitHubInstallationBindingProof>;
2900
+ /**
2901
+ * Exchange one fresh GitHub user-authorization code and return only existing
2902
+ * App installations for which that exact human is the personal owner or an
2903
+ * active organization owner. Visibility and repository permissions alone
2904
+ * must never produce a candidate.
2905
+ */
2906
+ discoverInstallationBindingCandidates?: (input: {
2907
+ code: string;
2908
+ }) => Promise<GitHubInstallationBindingCandidate[]>;
2776
2909
  authorizeUser?: (input: {
2777
2910
  code: string;
2778
2911
  }) => Promise<GitHubUserInstallationAccess[]>;
@@ -3540,7 +3673,6 @@ declare const SessionToolPolicy: z.ZodObject<{
3540
3673
  explicit: "explicit";
3541
3674
  workspace_default: "workspace_default";
3542
3675
  inherited: "inherited";
3543
- legacy: "legacy";
3544
3676
  }>;
3545
3677
  inheritedFromSessionId: z.ZodNullable<z.ZodString>;
3546
3678
  }, z.core.$strip>;
@@ -3552,7 +3684,6 @@ declare const SessionEffectiveToolPolicy: z.ZodObject<{
3552
3684
  explicit: "explicit";
3553
3685
  workspace_default: "workspace_default";
3554
3686
  inherited: "inherited";
3555
- legacy: "legacy";
3556
3687
  }>;
3557
3688
  inheritedFromSessionId: z.ZodNullable<z.ZodString>;
3558
3689
  selectedIds: z.ZodArray<z.ZodString>;
@@ -3881,21 +4012,72 @@ declare const UpdateSessionRequest: z.ZodObject<{
3881
4012
  }, z.core.$strip>;
3882
4013
  type UpdateSessionRequest = z.infer<typeof UpdateSessionRequest>;
3883
4014
  /**
3884
- * Replace an existing session's durable tool policy, or explicitly opt back in
3885
- * to the current workspace defaults. The mode-less explicit shape is retained
3886
- * for compatibility with clients released before workspace-default adoption
3887
- * was supported.
4015
+ * Replace the complete durable session tool policy, or explicitly opt back in
4016
+ * to current workspace defaults. MCP servers and individual OpenGeni tools
4017
+ * advance atomically under one policy version.
3888
4018
  */
3889
4019
  declare const UpdateSessionToolPolicyRequest: z.ZodUnion<readonly [z.ZodObject<{
3890
4020
  mode: z.ZodLiteral<"workspace_default">;
3891
4021
  expectedVersion: z.ZodNumber;
3892
4022
  }, z.core.$strict>, z.ZodObject<{
3893
- mode: z.ZodOptional<z.ZodLiteral<"explicit">>;
4023
+ mode: z.ZodLiteral<"explicit">;
3894
4024
  tools: z.ZodArray<z.ZodObject<{
3895
4025
  kind: z.ZodLiteral<"mcp">;
3896
4026
  id: z.ZodString;
3897
4027
  optional: z.ZodOptional<z.ZodBoolean>;
3898
4028
  }, z.core.$strip>>;
4029
+ firstPartyMcpTools: z.ZodArray<z.ZodEnum<{
4030
+ set_session_title: "set_session_title";
4031
+ goal_set: "goal_set";
4032
+ goal_update: "goal_update";
4033
+ goal_complete: "goal_complete";
4034
+ goal_pause: "goal_pause";
4035
+ memory_search: "memory_search";
4036
+ memory_save: "memory_save";
4037
+ memory_correct: "memory_correct";
4038
+ sandboxes_list: "sandboxes_list";
4039
+ sandbox_attach: "sandbox_attach";
4040
+ sandbox_swap: "sandbox_swap";
4041
+ run_on: "run_on";
4042
+ sandbox_provision: "sandbox_provision";
4043
+ rig_list: "rig_list";
4044
+ rig_get: "rig_get";
4045
+ rig_propose_change: "rig_propose_change";
4046
+ rig_verify: "rig_verify";
4047
+ rig_promote: "rig_promote";
4048
+ sessions_list: "sessions_list";
4049
+ session_get: "session_get";
4050
+ session_events: "session_events";
4051
+ session_create: "session_create";
4052
+ session_send_message: "session_send_message";
4053
+ session_pause: "session_pause";
4054
+ session_resume: "session_resume";
4055
+ session_steer: "session_steer";
4056
+ set_other_session_title: "set_other_session_title";
4057
+ variable_set_list: "variable_set_list";
4058
+ environment_list: "environment_list";
4059
+ variable_set_set_variable: "variable_set_set_variable";
4060
+ environment_set_variable: "environment_set_variable";
4061
+ github_connect_link: "github_connect_link";
4062
+ github_token: "github_token";
4063
+ github_repositories_list: "github_repositories_list";
4064
+ social_connections_list: "social_connections_list";
4065
+ social_posts_recent: "social_posts_recent";
4066
+ social_daily_analysis_context: "social_daily_analysis_context";
4067
+ scheduled_tasks_list: "scheduled_tasks_list";
4068
+ scheduled_tasks_get: "scheduled_tasks_get";
4069
+ scheduled_tasks_create: "scheduled_tasks_create";
4070
+ scheduled_tasks_update: "scheduled_tasks_update";
4071
+ scheduled_tasks_pause: "scheduled_tasks_pause";
4072
+ scheduled_tasks_resume: "scheduled_tasks_resume";
4073
+ scheduled_tasks_trigger: "scheduled_tasks_trigger";
4074
+ scheduled_tasks_delete: "scheduled_tasks_delete";
4075
+ scheduled_task_runs_list: "scheduled_task_runs_list";
4076
+ slack_bot_list_channels: "slack_bot_list_channels";
4077
+ slack_bot_channel_history: "slack_bot_channel_history";
4078
+ slack_bot_list_users: "slack_bot_list_users";
4079
+ slack_bot_post_message: "slack_bot_post_message";
4080
+ }>>;
3899
4081
  expectedVersion: z.ZodNumber;
3900
4082
  }, z.core.$strict>]>;
3901
4083
  type UpdateSessionToolPolicyRequest = z.infer<typeof UpdateSessionToolPolicyRequest>;
@@ -4362,12 +4544,6 @@ declare const ComposerDraft: z.ZodObject<{
4362
4544
  fileId: z.ZodString;
4363
4545
  mountPath: z.ZodOptional<z.ZodString>;
4364
4546
  }, z.core.$strip>], "kind">>;
4365
- tools: z.ZodArray<z.ZodObject<{
4366
- kind: z.ZodLiteral<"mcp">;
4367
- id: z.ZodString;
4368
- optional: z.ZodOptional<z.ZodBoolean>;
4369
- }, z.core.$strip>>;
4370
- toolsProvided: z.ZodDefault<z.ZodBoolean>;
4371
4547
  model: z.ZodString;
4372
4548
  reasoningEffort: z.ZodEnum<{
4373
4549
  none: "none";
@@ -4382,192 +4558,6 @@ declare const ComposerDraft: z.ZodObject<{
4382
4558
  updatedAt: z.ZodNullable<z.ZodString>;
4383
4559
  }, z.core.$strip>;
4384
4560
  type ComposerDraft = z.infer<typeof ComposerDraft>;
4385
- declare const SessionQueueSnapshot: z.ZodObject<{
4386
- version: z.ZodNumber;
4387
- effectiveControl: z.ZodObject<{
4388
- state: z.ZodEnum<{
4389
- active: "active";
4390
- paused: "paused";
4391
- }>;
4392
- controlVersion: z.ZodNumber;
4393
- controlEtag: z.ZodString;
4394
- directState: z.ZodEnum<{
4395
- active: "active";
4396
- paused: "paused";
4397
- }>;
4398
- primaryBlocker: z.ZodNullable<z.ZodObject<{
4399
- kind: z.ZodEnum<{
4400
- session: "session";
4401
- workspace: "workspace";
4402
- }>;
4403
- sessionId: z.ZodOptional<z.ZodString>;
4404
- displayName: z.ZodString;
4405
- actor: z.ZodNullable<z.ZodString>;
4406
- reason: z.ZodNullable<z.ZodString>;
4407
- changedAt: z.ZodNullable<z.ZodString>;
4408
- revision: z.ZodNumber;
4409
- }, z.core.$strip>>;
4410
- additionalBlockerCount: z.ZodNumber;
4411
- blockers: z.ZodArray<z.ZodObject<{
4412
- kind: z.ZodEnum<{
4413
- session: "session";
4414
- workspace: "workspace";
4415
- }>;
4416
- sessionId: z.ZodOptional<z.ZodString>;
4417
- displayName: z.ZodString;
4418
- actor: z.ZodNullable<z.ZodString>;
4419
- reason: z.ZodNullable<z.ZodString>;
4420
- changedAt: z.ZodNullable<z.ZodString>;
4421
- revision: z.ZodNumber;
4422
- }, z.core.$strip>>;
4423
- resumeOptions: z.ZodArray<z.ZodObject<{
4424
- scope: z.ZodEnum<{
4425
- session: "session";
4426
- workspace: "workspace";
4427
- selected: "selected";
4428
- }>;
4429
- targetId: z.ZodOptional<z.ZodString>;
4430
- selectedStateAfter: z.ZodEnum<{
4431
- active: "active";
4432
- paused: "paused";
4433
- }>;
4434
- remainingPrimaryBlocker: z.ZodOptional<z.ZodObject<{
4435
- kind: z.ZodEnum<{
4436
- session: "session";
4437
- workspace: "workspace";
4438
- }>;
4439
- sessionId: z.ZodOptional<z.ZodString>;
4440
- displayName: z.ZodString;
4441
- actor: z.ZodNullable<z.ZodString>;
4442
- reason: z.ZodNullable<z.ZodString>;
4443
- changedAt: z.ZodNullable<z.ZodString>;
4444
- revision: z.ZodNumber;
4445
- }, z.core.$strip>>;
4446
- impactCopy: z.ZodString;
4447
- }, z.core.$strip>>;
4448
- override: z.ZodNullable<z.ZodObject<{
4449
- rootSessionId: z.ZodString;
4450
- revision: z.ZodNumber;
4451
- }, z.core.$strip>>;
4452
- settlement: z.ZodNullable<z.ZodObject<{
4453
- state: z.ZodLiteral<"stopping">;
4454
- attemptCount: z.ZodNumber;
4455
- interruptionPendingCount: z.ZodNumber;
4456
- quiescencePendingCount: z.ZodNumber;
4457
- }, z.core.$strip>>;
4458
- }, z.core.$strip>;
4459
- stoppingPreviousAttempt: z.ZodBoolean;
4460
- items: z.ZodArray<z.ZodObject<{
4461
- id: z.ZodString;
4462
- workspaceId: z.ZodString;
4463
- sessionId: z.ZodString;
4464
- triggerEventId: z.ZodString;
4465
- temporalWorkflowId: z.ZodString;
4466
- status: z.ZodEnum<{
4467
- queued: "queued";
4468
- running: "running";
4469
- requires_action: "requires_action";
4470
- recovering: "recovering";
4471
- waiting_capacity: "waiting_capacity";
4472
- failed: "failed";
4473
- cancelled: "cancelled";
4474
- completed: "completed";
4475
- superseded: "superseded";
4476
- withdrawn_for_edit: "withdrawn_for_edit";
4477
- }>;
4478
- source: z.ZodEnum<{
4479
- user: "user";
4480
- scheduled_task: "scheduled_task";
4481
- api: "api";
4482
- goal: "goal";
4483
- system: "system";
4484
- compaction: "compaction";
4485
- }>;
4486
- position: z.ZodNumber;
4487
- prompt: z.ZodString;
4488
- resources: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4489
- kind: z.ZodLiteral<"repository">;
4490
- uri: z.ZodString;
4491
- ref: z.ZodString;
4492
- mountPath: z.ZodOptional<z.ZodString>;
4493
- subpath: z.ZodOptional<z.ZodString>;
4494
- provider: z.ZodOptional<z.ZodEnum<{
4495
- github: "github";
4496
- gitlab: "gitlab";
4497
- azure_devops: "azure_devops";
4498
- }>>;
4499
- credentialBindingId: z.ZodOptional<z.ZodString>;
4500
- access: z.ZodOptional<z.ZodEnum<{
4501
- read: "read";
4502
- write: "write";
4503
- }>>;
4504
- repositoryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
4505
- installationId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
4506
- projectId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
4507
- connectionId: z.ZodOptional<z.ZodString>;
4508
- githubInstallationId: z.ZodOptional<z.ZodNumber>;
4509
- githubRepositoryId: z.ZodOptional<z.ZodNumber>;
4510
- }, z.core.$strip>, z.ZodObject<{
4511
- kind: z.ZodLiteral<"file">;
4512
- fileId: z.ZodString;
4513
- mountPath: z.ZodOptional<z.ZodString>;
4514
- }, z.core.$strip>], "kind">>;
4515
- tools: z.ZodArray<z.ZodObject<{
4516
- kind: z.ZodLiteral<"mcp">;
4517
- id: z.ZodString;
4518
- optional: z.ZodOptional<z.ZodBoolean>;
4519
- }, z.core.$strip>>;
4520
- toolsProvided: z.ZodOptional<z.ZodBoolean>;
4521
- model: z.ZodString;
4522
- reasoningEffort: z.ZodEnum<{
4523
- none: "none";
4524
- minimal: "minimal";
4525
- low: "low";
4526
- medium: "medium";
4527
- high: "high";
4528
- xhigh: "xhigh";
4529
- }>;
4530
- sandboxBackend: z.ZodEnum<{
4531
- docker: "docker";
4532
- modal: "modal";
4533
- local: "local";
4534
- none: "none";
4535
- daytona: "daytona";
4536
- runloop: "runloop";
4537
- e2b: "e2b";
4538
- blaxel: "blaxel";
4539
- cloudflare: "cloudflare";
4540
- vercel: "vercel";
4541
- selfhosted: "selfhosted";
4542
- }>;
4543
- sandboxOs: z.ZodNullable<z.ZodEnum<{
4544
- linux: "linux";
4545
- macos: "macos";
4546
- windows: "windows";
4547
- }>>;
4548
- metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4549
- version: z.ZodNumber;
4550
- executionGeneration: z.ZodNumber;
4551
- activeAttemptId: z.ZodNullable<z.ZodString>;
4552
- lineage: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4553
- initiator: z.ZodObject<{
4554
- subjectId: z.ZodString;
4555
- label: z.ZodOptional<z.ZodString>;
4556
- kind: z.ZodEnum<{
4557
- service: "service";
4558
- subject: "subject";
4559
- }>;
4560
- }, z.core.$strip>;
4561
- initiatorContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4562
- cancelledBy: z.ZodNullable<z.ZodString>;
4563
- cancelReason: z.ZodNullable<z.ZodString>;
4564
- startedAt: z.ZodNullable<z.ZodString>;
4565
- finishedAt: z.ZodNullable<z.ZodString>;
4566
- createdAt: z.ZodString;
4567
- updatedAt: z.ZodString;
4568
- }, z.core.$strip>>;
4569
- }, z.core.$strip>;
4570
- type SessionQueueSnapshot = z.infer<typeof SessionQueueSnapshot>;
4571
4561
  declare const MoveSessionQueueItemRequest: z.ZodObject<{
4572
4562
  clientEventId: z.ZodString;
4573
4563
  expectedQueueVersion: z.ZodNumber;
@@ -4604,11 +4594,6 @@ declare const SaveComposerDraftRequest: z.ZodObject<{
4604
4594
  high: "high";
4605
4595
  xhigh: "xhigh";
4606
4596
  }>;
4607
- tools: z.ZodArray<z.ZodObject<{
4608
- kind: z.ZodLiteral<"mcp">;
4609
- id: z.ZodString;
4610
- optional: z.ZodOptional<z.ZodBoolean>;
4611
- }, z.core.$strip>>;
4612
4597
  resources: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4613
4598
  kind: z.ZodLiteral<"repository">;
4614
4599
  uri: z.ZodString;
@@ -4636,7 +4621,6 @@ declare const SaveComposerDraftRequest: z.ZodObject<{
4636
4621
  fileId: z.ZodString;
4637
4622
  mountPath: z.ZodOptional<z.ZodString>;
4638
4623
  }, z.core.$strip>], "kind">>;
4639
- toolsProvided: z.ZodDefault<z.ZodBoolean>;
4640
4624
  expectedRevision: z.ZodNumber;
4641
4625
  }, z.core.$strip>;
4642
4626
  type SaveComposerDraftRequest = z.infer<typeof SaveComposerDraftRequest>;
@@ -4708,6 +4692,58 @@ declare const NewSessionDraftOptions: z.ZodObject<{
4708
4692
  "rigs:use": "rigs:use";
4709
4693
  "rigs:manage": "rigs:manage";
4710
4694
  }>>>;
4695
+ firstPartyMcpTools: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4696
+ set_session_title: "set_session_title";
4697
+ goal_set: "goal_set";
4698
+ goal_update: "goal_update";
4699
+ goal_complete: "goal_complete";
4700
+ goal_pause: "goal_pause";
4701
+ memory_search: "memory_search";
4702
+ memory_save: "memory_save";
4703
+ memory_correct: "memory_correct";
4704
+ sandboxes_list: "sandboxes_list";
4705
+ sandbox_attach: "sandbox_attach";
4706
+ sandbox_swap: "sandbox_swap";
4707
+ run_on: "run_on";
4708
+ sandbox_provision: "sandbox_provision";
4709
+ rig_list: "rig_list";
4710
+ rig_get: "rig_get";
4711
+ rig_propose_change: "rig_propose_change";
4712
+ rig_verify: "rig_verify";
4713
+ rig_promote: "rig_promote";
4714
+ sessions_list: "sessions_list";
4715
+ session_get: "session_get";
4716
+ session_events: "session_events";
4717
+ session_create: "session_create";
4718
+ session_send_message: "session_send_message";
4719
+ session_pause: "session_pause";
4720
+ session_resume: "session_resume";
4721
+ session_steer: "session_steer";
4722
+ set_other_session_title: "set_other_session_title";
4723
+ variable_set_list: "variable_set_list";
4724
+ environment_list: "environment_list";
4725
+ variable_set_set_variable: "variable_set_set_variable";
4726
+ environment_set_variable: "environment_set_variable";
4727
+ github_connect_link: "github_connect_link";
4728
+ github_token: "github_token";
4729
+ github_repositories_list: "github_repositories_list";
4730
+ social_connections_list: "social_connections_list";
4731
+ social_posts_recent: "social_posts_recent";
4732
+ social_daily_analysis_context: "social_daily_analysis_context";
4733
+ scheduled_tasks_list: "scheduled_tasks_list";
4734
+ scheduled_tasks_get: "scheduled_tasks_get";
4735
+ scheduled_tasks_create: "scheduled_tasks_create";
4736
+ scheduled_tasks_update: "scheduled_tasks_update";
4737
+ scheduled_tasks_pause: "scheduled_tasks_pause";
4738
+ scheduled_tasks_resume: "scheduled_tasks_resume";
4739
+ scheduled_tasks_trigger: "scheduled_tasks_trigger";
4740
+ scheduled_tasks_delete: "scheduled_tasks_delete";
4741
+ scheduled_task_runs_list: "scheduled_task_runs_list";
4742
+ slack_bot_list_channels: "slack_bot_list_channels";
4743
+ slack_bot_channel_history: "slack_bot_channel_history";
4744
+ slack_bot_list_users: "slack_bot_list_users";
4745
+ slack_bot_post_message: "slack_bot_post_message";
4746
+ }>>>;
4711
4747
  }, z.core.$strip>;
4712
4748
  type NewSessionDraftOptions = z.infer<typeof NewSessionDraftOptions>;
4713
4749
  /** Actor-private, server-authoritative composer state before a session exists. */
@@ -4819,6 +4855,58 @@ declare const NewSessionDraft: z.ZodObject<{
4819
4855
  "rigs:use": "rigs:use";
4820
4856
  "rigs:manage": "rigs:manage";
4821
4857
  }>>>;
4858
+ firstPartyMcpTools: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4859
+ set_session_title: "set_session_title";
4860
+ goal_set: "goal_set";
4861
+ goal_update: "goal_update";
4862
+ goal_complete: "goal_complete";
4863
+ goal_pause: "goal_pause";
4864
+ memory_search: "memory_search";
4865
+ memory_save: "memory_save";
4866
+ memory_correct: "memory_correct";
4867
+ sandboxes_list: "sandboxes_list";
4868
+ sandbox_attach: "sandbox_attach";
4869
+ sandbox_swap: "sandbox_swap";
4870
+ run_on: "run_on";
4871
+ sandbox_provision: "sandbox_provision";
4872
+ rig_list: "rig_list";
4873
+ rig_get: "rig_get";
4874
+ rig_propose_change: "rig_propose_change";
4875
+ rig_verify: "rig_verify";
4876
+ rig_promote: "rig_promote";
4877
+ sessions_list: "sessions_list";
4878
+ session_get: "session_get";
4879
+ session_events: "session_events";
4880
+ session_create: "session_create";
4881
+ session_send_message: "session_send_message";
4882
+ session_pause: "session_pause";
4883
+ session_resume: "session_resume";
4884
+ session_steer: "session_steer";
4885
+ set_other_session_title: "set_other_session_title";
4886
+ variable_set_list: "variable_set_list";
4887
+ environment_list: "environment_list";
4888
+ variable_set_set_variable: "variable_set_set_variable";
4889
+ environment_set_variable: "environment_set_variable";
4890
+ github_connect_link: "github_connect_link";
4891
+ github_token: "github_token";
4892
+ github_repositories_list: "github_repositories_list";
4893
+ social_connections_list: "social_connections_list";
4894
+ social_posts_recent: "social_posts_recent";
4895
+ social_daily_analysis_context: "social_daily_analysis_context";
4896
+ scheduled_tasks_list: "scheduled_tasks_list";
4897
+ scheduled_tasks_get: "scheduled_tasks_get";
4898
+ scheduled_tasks_create: "scheduled_tasks_create";
4899
+ scheduled_tasks_update: "scheduled_tasks_update";
4900
+ scheduled_tasks_pause: "scheduled_tasks_pause";
4901
+ scheduled_tasks_resume: "scheduled_tasks_resume";
4902
+ scheduled_tasks_trigger: "scheduled_tasks_trigger";
4903
+ scheduled_tasks_delete: "scheduled_tasks_delete";
4904
+ scheduled_task_runs_list: "scheduled_task_runs_list";
4905
+ slack_bot_list_channels: "slack_bot_list_channels";
4906
+ slack_bot_channel_history: "slack_bot_channel_history";
4907
+ slack_bot_list_users: "slack_bot_list_users";
4908
+ slack_bot_post_message: "slack_bot_post_message";
4909
+ }>>>;
4822
4910
  }, z.core.$strip>;
4823
4911
  updatedAt: z.ZodNullable<z.ZodString>;
4824
4912
  }, z.core.$strip>;
@@ -4930,6 +5018,58 @@ declare const SaveNewSessionDraftRequest: z.ZodObject<{
4930
5018
  "rigs:use": "rigs:use";
4931
5019
  "rigs:manage": "rigs:manage";
4932
5020
  }>>>;
5021
+ firstPartyMcpTools: z.ZodOptional<z.ZodArray<z.ZodEnum<{
5022
+ set_session_title: "set_session_title";
5023
+ goal_set: "goal_set";
5024
+ goal_update: "goal_update";
5025
+ goal_complete: "goal_complete";
5026
+ goal_pause: "goal_pause";
5027
+ memory_search: "memory_search";
5028
+ memory_save: "memory_save";
5029
+ memory_correct: "memory_correct";
5030
+ sandboxes_list: "sandboxes_list";
5031
+ sandbox_attach: "sandbox_attach";
5032
+ sandbox_swap: "sandbox_swap";
5033
+ run_on: "run_on";
5034
+ sandbox_provision: "sandbox_provision";
5035
+ rig_list: "rig_list";
5036
+ rig_get: "rig_get";
5037
+ rig_propose_change: "rig_propose_change";
5038
+ rig_verify: "rig_verify";
5039
+ rig_promote: "rig_promote";
5040
+ sessions_list: "sessions_list";
5041
+ session_get: "session_get";
5042
+ session_events: "session_events";
5043
+ session_create: "session_create";
5044
+ session_send_message: "session_send_message";
5045
+ session_pause: "session_pause";
5046
+ session_resume: "session_resume";
5047
+ session_steer: "session_steer";
5048
+ set_other_session_title: "set_other_session_title";
5049
+ variable_set_list: "variable_set_list";
5050
+ environment_list: "environment_list";
5051
+ variable_set_set_variable: "variable_set_set_variable";
5052
+ environment_set_variable: "environment_set_variable";
5053
+ github_connect_link: "github_connect_link";
5054
+ github_token: "github_token";
5055
+ github_repositories_list: "github_repositories_list";
5056
+ social_connections_list: "social_connections_list";
5057
+ social_posts_recent: "social_posts_recent";
5058
+ social_daily_analysis_context: "social_daily_analysis_context";
5059
+ scheduled_tasks_list: "scheduled_tasks_list";
5060
+ scheduled_tasks_get: "scheduled_tasks_get";
5061
+ scheduled_tasks_create: "scheduled_tasks_create";
5062
+ scheduled_tasks_update: "scheduled_tasks_update";
5063
+ scheduled_tasks_pause: "scheduled_tasks_pause";
5064
+ scheduled_tasks_resume: "scheduled_tasks_resume";
5065
+ scheduled_tasks_trigger: "scheduled_tasks_trigger";
5066
+ scheduled_tasks_delete: "scheduled_tasks_delete";
5067
+ scheduled_task_runs_list: "scheduled_task_runs_list";
5068
+ slack_bot_list_channels: "slack_bot_list_channels";
5069
+ slack_bot_channel_history: "slack_bot_channel_history";
5070
+ slack_bot_list_users: "slack_bot_list_users";
5071
+ slack_bot_post_message: "slack_bot_post_message";
5072
+ }>>>;
4933
5073
  }, z.core.$strip>;
4934
5074
  expectedRevision: z.ZodNumber;
4935
5075
  }, z.core.$strip>;
@@ -5148,7 +5288,6 @@ declare const SessionSystemUpdateState: z.ZodEnum<{
5148
5288
  cancelled: "cancelled";
5149
5289
  pending: "pending";
5150
5290
  superseded: "superseded";
5151
- deferred: "deferred";
5152
5291
  delivered: "delivered";
5153
5292
  }>;
5154
5293
  type SessionSystemUpdateState = z.infer<typeof SessionSystemUpdateState>;
@@ -5236,14 +5375,261 @@ declare const SessionSystemUpdate: z.ZodObject<{
5236
5375
  cancelled: "cancelled";
5237
5376
  pending: "pending";
5238
5377
  superseded: "superseded";
5239
- deferred: "deferred";
5240
5378
  delivered: "delivered";
5241
5379
  }>;
5242
5380
  deliveredTurnId: z.ZodNullable<z.ZodString>;
5381
+ deliveredHistoryItemId: z.ZodNullable<z.ZodString>;
5243
5382
  deliveredAt: z.ZodNullable<z.ZodString>;
5244
5383
  createdAt: z.ZodString;
5245
5384
  }, z.core.$strip>;
5246
5385
  type SessionSystemUpdate = z.infer<typeof SessionSystemUpdate>;
5386
+ /**
5387
+ * Bounded queue projection of a canonical pending machine input. Full payload,
5388
+ * lineage, and dedupe data remain in canonical storage and never inflate the
5389
+ * hot queue response.
5390
+ */
5391
+ declare const SessionPendingInputPreview: z.ZodObject<{
5392
+ id: z.ZodString;
5393
+ createdAt: z.ZodString;
5394
+ kind: z.ZodEnum<{
5395
+ scheduled_occurrence: "scheduled_occurrence";
5396
+ goal_continuation: "goal_continuation";
5397
+ agent_message: "agent_message";
5398
+ agent_steer_instruction: "agent_steer_instruction";
5399
+ child_terminal_result: "child_terminal_result";
5400
+ }>;
5401
+ sessionId: z.ZodString;
5402
+ summary: z.ZodString;
5403
+ classification: z.ZodEnum<{
5404
+ success: "success";
5405
+ failure: "failure";
5406
+ action_required: "action_required";
5407
+ info: "info";
5408
+ }>;
5409
+ sourceId: z.ZodString;
5410
+ }, z.core.$strip>;
5411
+ type SessionPendingInputPreview = z.infer<typeof SessionPendingInputPreview>;
5412
+ declare const SessionQueueSnapshot: z.ZodObject<{
5413
+ version: z.ZodNumber;
5414
+ effectiveControl: z.ZodObject<{
5415
+ state: z.ZodEnum<{
5416
+ active: "active";
5417
+ paused: "paused";
5418
+ }>;
5419
+ controlVersion: z.ZodNumber;
5420
+ controlEtag: z.ZodString;
5421
+ directState: z.ZodEnum<{
5422
+ active: "active";
5423
+ paused: "paused";
5424
+ }>;
5425
+ primaryBlocker: z.ZodNullable<z.ZodObject<{
5426
+ kind: z.ZodEnum<{
5427
+ session: "session";
5428
+ workspace: "workspace";
5429
+ }>;
5430
+ sessionId: z.ZodOptional<z.ZodString>;
5431
+ displayName: z.ZodString;
5432
+ actor: z.ZodNullable<z.ZodString>;
5433
+ reason: z.ZodNullable<z.ZodString>;
5434
+ changedAt: z.ZodNullable<z.ZodString>;
5435
+ revision: z.ZodNumber;
5436
+ }, z.core.$strip>>;
5437
+ additionalBlockerCount: z.ZodNumber;
5438
+ blockers: z.ZodArray<z.ZodObject<{
5439
+ kind: z.ZodEnum<{
5440
+ session: "session";
5441
+ workspace: "workspace";
5442
+ }>;
5443
+ sessionId: z.ZodOptional<z.ZodString>;
5444
+ displayName: z.ZodString;
5445
+ actor: z.ZodNullable<z.ZodString>;
5446
+ reason: z.ZodNullable<z.ZodString>;
5447
+ changedAt: z.ZodNullable<z.ZodString>;
5448
+ revision: z.ZodNumber;
5449
+ }, z.core.$strip>>;
5450
+ resumeOptions: z.ZodArray<z.ZodObject<{
5451
+ scope: z.ZodEnum<{
5452
+ session: "session";
5453
+ workspace: "workspace";
5454
+ selected: "selected";
5455
+ }>;
5456
+ targetId: z.ZodOptional<z.ZodString>;
5457
+ selectedStateAfter: z.ZodEnum<{
5458
+ active: "active";
5459
+ paused: "paused";
5460
+ }>;
5461
+ remainingPrimaryBlocker: z.ZodOptional<z.ZodObject<{
5462
+ kind: z.ZodEnum<{
5463
+ session: "session";
5464
+ workspace: "workspace";
5465
+ }>;
5466
+ sessionId: z.ZodOptional<z.ZodString>;
5467
+ displayName: z.ZodString;
5468
+ actor: z.ZodNullable<z.ZodString>;
5469
+ reason: z.ZodNullable<z.ZodString>;
5470
+ changedAt: z.ZodNullable<z.ZodString>;
5471
+ revision: z.ZodNumber;
5472
+ }, z.core.$strip>>;
5473
+ impactCopy: z.ZodString;
5474
+ }, z.core.$strip>>;
5475
+ override: z.ZodNullable<z.ZodObject<{
5476
+ rootSessionId: z.ZodString;
5477
+ revision: z.ZodNumber;
5478
+ }, z.core.$strip>>;
5479
+ settlement: z.ZodNullable<z.ZodObject<{
5480
+ state: z.ZodLiteral<"stopping">;
5481
+ attemptCount: z.ZodNumber;
5482
+ interruptionPendingCount: z.ZodNumber;
5483
+ quiescencePendingCount: z.ZodNumber;
5484
+ }, z.core.$strip>>;
5485
+ }, z.core.$strip>;
5486
+ stoppingPreviousAttempt: z.ZodBoolean;
5487
+ items: z.ZodArray<z.ZodObject<{
5488
+ id: z.ZodString;
5489
+ workspaceId: z.ZodString;
5490
+ sessionId: z.ZodString;
5491
+ triggerEventId: z.ZodString;
5492
+ temporalWorkflowId: z.ZodString;
5493
+ status: z.ZodEnum<{
5494
+ queued: "queued";
5495
+ running: "running";
5496
+ requires_action: "requires_action";
5497
+ recovering: "recovering";
5498
+ waiting_capacity: "waiting_capacity";
5499
+ failed: "failed";
5500
+ cancelled: "cancelled";
5501
+ completed: "completed";
5502
+ superseded: "superseded";
5503
+ withdrawn_for_edit: "withdrawn_for_edit";
5504
+ }>;
5505
+ source: z.ZodEnum<{
5506
+ user: "user";
5507
+ scheduled_task: "scheduled_task";
5508
+ api: "api";
5509
+ goal: "goal";
5510
+ system: "system";
5511
+ compaction: "compaction";
5512
+ }>;
5513
+ position: z.ZodNumber;
5514
+ prompt: z.ZodString;
5515
+ resources: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5516
+ kind: z.ZodLiteral<"repository">;
5517
+ uri: z.ZodString;
5518
+ ref: z.ZodString;
5519
+ mountPath: z.ZodOptional<z.ZodString>;
5520
+ subpath: z.ZodOptional<z.ZodString>;
5521
+ provider: z.ZodOptional<z.ZodEnum<{
5522
+ github: "github";
5523
+ gitlab: "gitlab";
5524
+ azure_devops: "azure_devops";
5525
+ }>>;
5526
+ credentialBindingId: z.ZodOptional<z.ZodString>;
5527
+ access: z.ZodOptional<z.ZodEnum<{
5528
+ read: "read";
5529
+ write: "write";
5530
+ }>>;
5531
+ repositoryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
5532
+ installationId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
5533
+ projectId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
5534
+ connectionId: z.ZodOptional<z.ZodString>;
5535
+ githubInstallationId: z.ZodOptional<z.ZodNumber>;
5536
+ githubRepositoryId: z.ZodOptional<z.ZodNumber>;
5537
+ }, z.core.$strip>, z.ZodObject<{
5538
+ kind: z.ZodLiteral<"file">;
5539
+ fileId: z.ZodString;
5540
+ mountPath: z.ZodOptional<z.ZodString>;
5541
+ }, z.core.$strip>], "kind">>;
5542
+ tools: z.ZodArray<z.ZodObject<{
5543
+ kind: z.ZodLiteral<"mcp">;
5544
+ id: z.ZodString;
5545
+ optional: z.ZodOptional<z.ZodBoolean>;
5546
+ }, z.core.$strip>>;
5547
+ toolsProvided: z.ZodOptional<z.ZodBoolean>;
5548
+ model: z.ZodString;
5549
+ reasoningEffort: z.ZodEnum<{
5550
+ none: "none";
5551
+ minimal: "minimal";
5552
+ low: "low";
5553
+ medium: "medium";
5554
+ high: "high";
5555
+ xhigh: "xhigh";
5556
+ }>;
5557
+ sandboxBackend: z.ZodEnum<{
5558
+ docker: "docker";
5559
+ modal: "modal";
5560
+ local: "local";
5561
+ none: "none";
5562
+ daytona: "daytona";
5563
+ runloop: "runloop";
5564
+ e2b: "e2b";
5565
+ blaxel: "blaxel";
5566
+ cloudflare: "cloudflare";
5567
+ vercel: "vercel";
5568
+ selfhosted: "selfhosted";
5569
+ }>;
5570
+ sandboxOs: z.ZodNullable<z.ZodEnum<{
5571
+ linux: "linux";
5572
+ macos: "macos";
5573
+ windows: "windows";
5574
+ }>>;
5575
+ metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5576
+ version: z.ZodNumber;
5577
+ executionGeneration: z.ZodNumber;
5578
+ activeAttemptId: z.ZodNullable<z.ZodString>;
5579
+ lineage: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5580
+ initiator: z.ZodObject<{
5581
+ subjectId: z.ZodString;
5582
+ label: z.ZodOptional<z.ZodString>;
5583
+ kind: z.ZodEnum<{
5584
+ service: "service";
5585
+ subject: "subject";
5586
+ }>;
5587
+ }, z.core.$strip>;
5588
+ initiatorContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5589
+ cancelledBy: z.ZodNullable<z.ZodString>;
5590
+ cancelReason: z.ZodNullable<z.ZodString>;
5591
+ startedAt: z.ZodNullable<z.ZodString>;
5592
+ finishedAt: z.ZodNullable<z.ZodString>;
5593
+ createdAt: z.ZodString;
5594
+ updatedAt: z.ZodString;
5595
+ }, z.core.$strip>>;
5596
+ pendingInputs: z.ZodArray<z.ZodObject<{
5597
+ id: z.ZodString;
5598
+ createdAt: z.ZodString;
5599
+ kind: z.ZodEnum<{
5600
+ scheduled_occurrence: "scheduled_occurrence";
5601
+ goal_continuation: "goal_continuation";
5602
+ agent_message: "agent_message";
5603
+ agent_steer_instruction: "agent_steer_instruction";
5604
+ child_terminal_result: "child_terminal_result";
5605
+ }>;
5606
+ sessionId: z.ZodString;
5607
+ summary: z.ZodString;
5608
+ classification: z.ZodEnum<{
5609
+ success: "success";
5610
+ failure: "failure";
5611
+ action_required: "action_required";
5612
+ info: "info";
5613
+ }>;
5614
+ sourceId: z.ZodString;
5615
+ }, z.core.$strip>>;
5616
+ pendingInputAttachment: z.ZodNullable<z.ZodObject<{
5617
+ turnId: z.ZodString;
5618
+ inputIds: z.ZodArray<z.ZodString>;
5619
+ }, z.core.$strip>>;
5620
+ }, z.core.$strip>;
5621
+ type SessionQueueSnapshot = z.infer<typeof SessionQueueSnapshot>;
5622
+ /**
5623
+ * Deterministic, protocol-safe model representation of one claimed machine
5624
+ * input batch. This exact string is persisted before inference and replayed on
5625
+ * every later turn; callers must not synthesize an equivalent transient copy.
5626
+ */
5627
+ declare function renderSessionSystemUpdateBatch(updates: ReadonlyArray<Pick<SessionSystemUpdate, "id" | "kind" | "classification" | "sourceId" | "summary" | "payload" | "lineage">>): string;
5628
+ declare function sessionSystemUpdateBatchHistoryItem(updates: Parameters<typeof renderSessionSystemUpdateBatch>[0]): {
5629
+ type: "message";
5630
+ role: "system";
5631
+ content: string;
5632
+ };
5247
5633
  declare const VariableSetVariableName: z.ZodString;
5248
5634
  type VariableSetVariableName = z.infer<typeof VariableSetVariableName>;
5249
5635
  declare const VariableSetVariableMetadata: z.ZodObject<{
@@ -7278,22 +7664,20 @@ declare const Session: z.ZodObject<{
7278
7664
  id: z.ZodString;
7279
7665
  optional: z.ZodOptional<z.ZodBoolean>;
7280
7666
  }, z.core.$strip>>;
7281
- toolPolicy: z.ZodOptional<z.ZodObject<{
7667
+ toolPolicy: z.ZodObject<{
7282
7668
  mode: z.ZodEnum<{
7283
7669
  explicit: "explicit";
7284
7670
  workspace_default: "workspace_default";
7285
7671
  inherited: "inherited";
7286
- legacy: "legacy";
7287
7672
  }>;
7288
7673
  inheritedFromSessionId: z.ZodNullable<z.ZodString>;
7289
- }, z.core.$strip>>;
7290
- toolPolicyVersion: z.ZodOptional<z.ZodNumber>;
7674
+ }, z.core.$strip>;
7675
+ toolPolicyVersion: z.ZodNumber;
7291
7676
  effectiveToolPolicy: z.ZodOptional<z.ZodObject<{
7292
7677
  mode: z.ZodEnum<{
7293
7678
  explicit: "explicit";
7294
7679
  workspace_default: "workspace_default";
7295
7680
  inherited: "inherited";
7296
- legacy: "legacy";
7297
7681
  }>;
7298
7682
  inheritedFromSessionId: z.ZodNullable<z.ZodString>;
7299
7683
  selectedIds: z.ZodArray<z.ZodString>;
@@ -7394,6 +7778,58 @@ declare const Session: z.ZodObject<{
7394
7778
  "rigs:use": "rigs:use";
7395
7779
  "rigs:manage": "rigs:manage";
7396
7780
  }>>>;
7781
+ firstPartyMcpTools: z.ZodArray<z.ZodEnum<{
7782
+ set_session_title: "set_session_title";
7783
+ goal_set: "goal_set";
7784
+ goal_update: "goal_update";
7785
+ goal_complete: "goal_complete";
7786
+ goal_pause: "goal_pause";
7787
+ memory_search: "memory_search";
7788
+ memory_save: "memory_save";
7789
+ memory_correct: "memory_correct";
7790
+ sandboxes_list: "sandboxes_list";
7791
+ sandbox_attach: "sandbox_attach";
7792
+ sandbox_swap: "sandbox_swap";
7793
+ run_on: "run_on";
7794
+ sandbox_provision: "sandbox_provision";
7795
+ rig_list: "rig_list";
7796
+ rig_get: "rig_get";
7797
+ rig_propose_change: "rig_propose_change";
7798
+ rig_verify: "rig_verify";
7799
+ rig_promote: "rig_promote";
7800
+ sessions_list: "sessions_list";
7801
+ session_get: "session_get";
7802
+ session_events: "session_events";
7803
+ session_create: "session_create";
7804
+ session_send_message: "session_send_message";
7805
+ session_pause: "session_pause";
7806
+ session_resume: "session_resume";
7807
+ session_steer: "session_steer";
7808
+ set_other_session_title: "set_other_session_title";
7809
+ variable_set_list: "variable_set_list";
7810
+ environment_list: "environment_list";
7811
+ variable_set_set_variable: "variable_set_set_variable";
7812
+ environment_set_variable: "environment_set_variable";
7813
+ github_connect_link: "github_connect_link";
7814
+ github_token: "github_token";
7815
+ github_repositories_list: "github_repositories_list";
7816
+ social_connections_list: "social_connections_list";
7817
+ social_posts_recent: "social_posts_recent";
7818
+ social_daily_analysis_context: "social_daily_analysis_context";
7819
+ scheduled_tasks_list: "scheduled_tasks_list";
7820
+ scheduled_tasks_get: "scheduled_tasks_get";
7821
+ scheduled_tasks_create: "scheduled_tasks_create";
7822
+ scheduled_tasks_update: "scheduled_tasks_update";
7823
+ scheduled_tasks_pause: "scheduled_tasks_pause";
7824
+ scheduled_tasks_resume: "scheduled_tasks_resume";
7825
+ scheduled_tasks_trigger: "scheduled_tasks_trigger";
7826
+ scheduled_tasks_delete: "scheduled_tasks_delete";
7827
+ scheduled_task_runs_list: "scheduled_task_runs_list";
7828
+ slack_bot_list_channels: "slack_bot_list_channels";
7829
+ slack_bot_channel_history: "slack_bot_channel_history";
7830
+ slack_bot_list_users: "slack_bot_list_users";
7831
+ slack_bot_post_message: "slack_bot_post_message";
7832
+ }>>;
7397
7833
  mcpServers: z.ZodDefault<z.ZodArray<z.ZodObject<{
7398
7834
  id: z.ZodString;
7399
7835
  name: z.ZodNullable<z.ZodString>;
@@ -7614,22 +8050,20 @@ declare const CreateSessionResponse: z.ZodObject<{
7614
8050
  id: z.ZodString;
7615
8051
  optional: z.ZodOptional<z.ZodBoolean>;
7616
8052
  }, z.core.$strip>>;
7617
- toolPolicy: z.ZodOptional<z.ZodObject<{
8053
+ toolPolicy: z.ZodObject<{
7618
8054
  mode: z.ZodEnum<{
7619
8055
  explicit: "explicit";
7620
8056
  workspace_default: "workspace_default";
7621
8057
  inherited: "inherited";
7622
- legacy: "legacy";
7623
8058
  }>;
7624
8059
  inheritedFromSessionId: z.ZodNullable<z.ZodString>;
7625
- }, z.core.$strip>>;
7626
- toolPolicyVersion: z.ZodOptional<z.ZodNumber>;
8060
+ }, z.core.$strip>;
8061
+ toolPolicyVersion: z.ZodNumber;
7627
8062
  effectiveToolPolicy: z.ZodOptional<z.ZodObject<{
7628
8063
  mode: z.ZodEnum<{
7629
8064
  explicit: "explicit";
7630
8065
  workspace_default: "workspace_default";
7631
8066
  inherited: "inherited";
7632
- legacy: "legacy";
7633
8067
  }>;
7634
8068
  inheritedFromSessionId: z.ZodNullable<z.ZodString>;
7635
8069
  selectedIds: z.ZodArray<z.ZodString>;
@@ -7730,6 +8164,58 @@ declare const CreateSessionResponse: z.ZodObject<{
7730
8164
  "rigs:use": "rigs:use";
7731
8165
  "rigs:manage": "rigs:manage";
7732
8166
  }>>>;
8167
+ firstPartyMcpTools: z.ZodArray<z.ZodEnum<{
8168
+ set_session_title: "set_session_title";
8169
+ goal_set: "goal_set";
8170
+ goal_update: "goal_update";
8171
+ goal_complete: "goal_complete";
8172
+ goal_pause: "goal_pause";
8173
+ memory_search: "memory_search";
8174
+ memory_save: "memory_save";
8175
+ memory_correct: "memory_correct";
8176
+ sandboxes_list: "sandboxes_list";
8177
+ sandbox_attach: "sandbox_attach";
8178
+ sandbox_swap: "sandbox_swap";
8179
+ run_on: "run_on";
8180
+ sandbox_provision: "sandbox_provision";
8181
+ rig_list: "rig_list";
8182
+ rig_get: "rig_get";
8183
+ rig_propose_change: "rig_propose_change";
8184
+ rig_verify: "rig_verify";
8185
+ rig_promote: "rig_promote";
8186
+ sessions_list: "sessions_list";
8187
+ session_get: "session_get";
8188
+ session_events: "session_events";
8189
+ session_create: "session_create";
8190
+ session_send_message: "session_send_message";
8191
+ session_pause: "session_pause";
8192
+ session_resume: "session_resume";
8193
+ session_steer: "session_steer";
8194
+ set_other_session_title: "set_other_session_title";
8195
+ variable_set_list: "variable_set_list";
8196
+ environment_list: "environment_list";
8197
+ variable_set_set_variable: "variable_set_set_variable";
8198
+ environment_set_variable: "environment_set_variable";
8199
+ github_connect_link: "github_connect_link";
8200
+ github_token: "github_token";
8201
+ github_repositories_list: "github_repositories_list";
8202
+ social_connections_list: "social_connections_list";
8203
+ social_posts_recent: "social_posts_recent";
8204
+ social_daily_analysis_context: "social_daily_analysis_context";
8205
+ scheduled_tasks_list: "scheduled_tasks_list";
8206
+ scheduled_tasks_get: "scheduled_tasks_get";
8207
+ scheduled_tasks_create: "scheduled_tasks_create";
8208
+ scheduled_tasks_update: "scheduled_tasks_update";
8209
+ scheduled_tasks_pause: "scheduled_tasks_pause";
8210
+ scheduled_tasks_resume: "scheduled_tasks_resume";
8211
+ scheduled_tasks_trigger: "scheduled_tasks_trigger";
8212
+ scheduled_tasks_delete: "scheduled_tasks_delete";
8213
+ scheduled_task_runs_list: "scheduled_task_runs_list";
8214
+ slack_bot_list_channels: "slack_bot_list_channels";
8215
+ slack_bot_channel_history: "slack_bot_channel_history";
8216
+ slack_bot_list_users: "slack_bot_list_users";
8217
+ slack_bot_post_message: "slack_bot_post_message";
8218
+ }>>;
7733
8219
  mcpServers: z.ZodDefault<z.ZodArray<z.ZodObject<{
7734
8220
  id: z.ZodString;
7735
8221
  name: z.ZodNullable<z.ZodString>;
@@ -7956,22 +8442,20 @@ declare const SessionListResponse: z.ZodObject<{
7956
8442
  id: z.ZodString;
7957
8443
  optional: z.ZodOptional<z.ZodBoolean>;
7958
8444
  }, z.core.$strip>>;
7959
- toolPolicy: z.ZodOptional<z.ZodObject<{
8445
+ toolPolicy: z.ZodObject<{
7960
8446
  mode: z.ZodEnum<{
7961
8447
  explicit: "explicit";
7962
8448
  workspace_default: "workspace_default";
7963
8449
  inherited: "inherited";
7964
- legacy: "legacy";
7965
8450
  }>;
7966
8451
  inheritedFromSessionId: z.ZodNullable<z.ZodString>;
7967
- }, z.core.$strip>>;
7968
- toolPolicyVersion: z.ZodOptional<z.ZodNumber>;
8452
+ }, z.core.$strip>;
8453
+ toolPolicyVersion: z.ZodNumber;
7969
8454
  effectiveToolPolicy: z.ZodOptional<z.ZodObject<{
7970
8455
  mode: z.ZodEnum<{
7971
8456
  explicit: "explicit";
7972
8457
  workspace_default: "workspace_default";
7973
8458
  inherited: "inherited";
7974
- legacy: "legacy";
7975
8459
  }>;
7976
8460
  inheritedFromSessionId: z.ZodNullable<z.ZodString>;
7977
8461
  selectedIds: z.ZodArray<z.ZodString>;
@@ -8072,6 +8556,58 @@ declare const SessionListResponse: z.ZodObject<{
8072
8556
  "rigs:use": "rigs:use";
8073
8557
  "rigs:manage": "rigs:manage";
8074
8558
  }>>>;
8559
+ firstPartyMcpTools: z.ZodArray<z.ZodEnum<{
8560
+ set_session_title: "set_session_title";
8561
+ goal_set: "goal_set";
8562
+ goal_update: "goal_update";
8563
+ goal_complete: "goal_complete";
8564
+ goal_pause: "goal_pause";
8565
+ memory_search: "memory_search";
8566
+ memory_save: "memory_save";
8567
+ memory_correct: "memory_correct";
8568
+ sandboxes_list: "sandboxes_list";
8569
+ sandbox_attach: "sandbox_attach";
8570
+ sandbox_swap: "sandbox_swap";
8571
+ run_on: "run_on";
8572
+ sandbox_provision: "sandbox_provision";
8573
+ rig_list: "rig_list";
8574
+ rig_get: "rig_get";
8575
+ rig_propose_change: "rig_propose_change";
8576
+ rig_verify: "rig_verify";
8577
+ rig_promote: "rig_promote";
8578
+ sessions_list: "sessions_list";
8579
+ session_get: "session_get";
8580
+ session_events: "session_events";
8581
+ session_create: "session_create";
8582
+ session_send_message: "session_send_message";
8583
+ session_pause: "session_pause";
8584
+ session_resume: "session_resume";
8585
+ session_steer: "session_steer";
8586
+ set_other_session_title: "set_other_session_title";
8587
+ variable_set_list: "variable_set_list";
8588
+ environment_list: "environment_list";
8589
+ variable_set_set_variable: "variable_set_set_variable";
8590
+ environment_set_variable: "environment_set_variable";
8591
+ github_connect_link: "github_connect_link";
8592
+ github_token: "github_token";
8593
+ github_repositories_list: "github_repositories_list";
8594
+ social_connections_list: "social_connections_list";
8595
+ social_posts_recent: "social_posts_recent";
8596
+ social_daily_analysis_context: "social_daily_analysis_context";
8597
+ scheduled_tasks_list: "scheduled_tasks_list";
8598
+ scheduled_tasks_get: "scheduled_tasks_get";
8599
+ scheduled_tasks_create: "scheduled_tasks_create";
8600
+ scheduled_tasks_update: "scheduled_tasks_update";
8601
+ scheduled_tasks_pause: "scheduled_tasks_pause";
8602
+ scheduled_tasks_resume: "scheduled_tasks_resume";
8603
+ scheduled_tasks_trigger: "scheduled_tasks_trigger";
8604
+ scheduled_tasks_delete: "scheduled_tasks_delete";
8605
+ scheduled_task_runs_list: "scheduled_task_runs_list";
8606
+ slack_bot_list_channels: "slack_bot_list_channels";
8607
+ slack_bot_channel_history: "slack_bot_channel_history";
8608
+ slack_bot_list_users: "slack_bot_list_users";
8609
+ slack_bot_post_message: "slack_bot_post_message";
8610
+ }>>;
8075
8611
  mcpServers: z.ZodDefault<z.ZodArray<z.ZodObject<{
8076
8612
  id: z.ZodString;
8077
8613
  name: z.ZodNullable<z.ZodString>;
@@ -8287,22 +8823,20 @@ declare const SessionListResponse: z.ZodObject<{
8287
8823
  id: z.ZodString;
8288
8824
  optional: z.ZodOptional<z.ZodBoolean>;
8289
8825
  }, z.core.$strip>>;
8290
- toolPolicy: z.ZodOptional<z.ZodObject<{
8826
+ toolPolicy: z.ZodObject<{
8291
8827
  mode: z.ZodEnum<{
8292
8828
  explicit: "explicit";
8293
8829
  workspace_default: "workspace_default";
8294
8830
  inherited: "inherited";
8295
- legacy: "legacy";
8296
8831
  }>;
8297
8832
  inheritedFromSessionId: z.ZodNullable<z.ZodString>;
8298
- }, z.core.$strip>>;
8299
- toolPolicyVersion: z.ZodOptional<z.ZodNumber>;
8833
+ }, z.core.$strip>;
8834
+ toolPolicyVersion: z.ZodNumber;
8300
8835
  effectiveToolPolicy: z.ZodOptional<z.ZodObject<{
8301
8836
  mode: z.ZodEnum<{
8302
8837
  explicit: "explicit";
8303
8838
  workspace_default: "workspace_default";
8304
8839
  inherited: "inherited";
8305
- legacy: "legacy";
8306
8840
  }>;
8307
8841
  inheritedFromSessionId: z.ZodNullable<z.ZodString>;
8308
8842
  selectedIds: z.ZodArray<z.ZodString>;
@@ -8403,6 +8937,58 @@ declare const SessionListResponse: z.ZodObject<{
8403
8937
  "rigs:use": "rigs:use";
8404
8938
  "rigs:manage": "rigs:manage";
8405
8939
  }>>>;
8940
+ firstPartyMcpTools: z.ZodArray<z.ZodEnum<{
8941
+ set_session_title: "set_session_title";
8942
+ goal_set: "goal_set";
8943
+ goal_update: "goal_update";
8944
+ goal_complete: "goal_complete";
8945
+ goal_pause: "goal_pause";
8946
+ memory_search: "memory_search";
8947
+ memory_save: "memory_save";
8948
+ memory_correct: "memory_correct";
8949
+ sandboxes_list: "sandboxes_list";
8950
+ sandbox_attach: "sandbox_attach";
8951
+ sandbox_swap: "sandbox_swap";
8952
+ run_on: "run_on";
8953
+ sandbox_provision: "sandbox_provision";
8954
+ rig_list: "rig_list";
8955
+ rig_get: "rig_get";
8956
+ rig_propose_change: "rig_propose_change";
8957
+ rig_verify: "rig_verify";
8958
+ rig_promote: "rig_promote";
8959
+ sessions_list: "sessions_list";
8960
+ session_get: "session_get";
8961
+ session_events: "session_events";
8962
+ session_create: "session_create";
8963
+ session_send_message: "session_send_message";
8964
+ session_pause: "session_pause";
8965
+ session_resume: "session_resume";
8966
+ session_steer: "session_steer";
8967
+ set_other_session_title: "set_other_session_title";
8968
+ variable_set_list: "variable_set_list";
8969
+ environment_list: "environment_list";
8970
+ variable_set_set_variable: "variable_set_set_variable";
8971
+ environment_set_variable: "environment_set_variable";
8972
+ github_connect_link: "github_connect_link";
8973
+ github_token: "github_token";
8974
+ github_repositories_list: "github_repositories_list";
8975
+ social_connections_list: "social_connections_list";
8976
+ social_posts_recent: "social_posts_recent";
8977
+ social_daily_analysis_context: "social_daily_analysis_context";
8978
+ scheduled_tasks_list: "scheduled_tasks_list";
8979
+ scheduled_tasks_get: "scheduled_tasks_get";
8980
+ scheduled_tasks_create: "scheduled_tasks_create";
8981
+ scheduled_tasks_update: "scheduled_tasks_update";
8982
+ scheduled_tasks_pause: "scheduled_tasks_pause";
8983
+ scheduled_tasks_resume: "scheduled_tasks_resume";
8984
+ scheduled_tasks_trigger: "scheduled_tasks_trigger";
8985
+ scheduled_tasks_delete: "scheduled_tasks_delete";
8986
+ scheduled_task_runs_list: "scheduled_task_runs_list";
8987
+ slack_bot_list_channels: "slack_bot_list_channels";
8988
+ slack_bot_channel_history: "slack_bot_channel_history";
8989
+ slack_bot_list_users: "slack_bot_list_users";
8990
+ slack_bot_post_message: "slack_bot_post_message";
8991
+ }>>;
8406
8992
  mcpServers: z.ZodDefault<z.ZodArray<z.ZodObject<{
8407
8993
  id: z.ZodString;
8408
8994
  name: z.ZodNullable<z.ZodString>;
@@ -8626,22 +9212,20 @@ declare const SessionLineageResponse: z.ZodObject<{
8626
9212
  id: z.ZodString;
8627
9213
  optional: z.ZodOptional<z.ZodBoolean>;
8628
9214
  }, z.core.$strip>>;
8629
- toolPolicy: z.ZodOptional<z.ZodObject<{
9215
+ toolPolicy: z.ZodObject<{
8630
9216
  mode: z.ZodEnum<{
8631
9217
  explicit: "explicit";
8632
9218
  workspace_default: "workspace_default";
8633
9219
  inherited: "inherited";
8634
- legacy: "legacy";
8635
9220
  }>;
8636
9221
  inheritedFromSessionId: z.ZodNullable<z.ZodString>;
8637
- }, z.core.$strip>>;
8638
- toolPolicyVersion: z.ZodOptional<z.ZodNumber>;
9222
+ }, z.core.$strip>;
9223
+ toolPolicyVersion: z.ZodNumber;
8639
9224
  effectiveToolPolicy: z.ZodOptional<z.ZodObject<{
8640
9225
  mode: z.ZodEnum<{
8641
9226
  explicit: "explicit";
8642
9227
  workspace_default: "workspace_default";
8643
9228
  inherited: "inherited";
8644
- legacy: "legacy";
8645
9229
  }>;
8646
9230
  inheritedFromSessionId: z.ZodNullable<z.ZodString>;
8647
9231
  selectedIds: z.ZodArray<z.ZodString>;
@@ -8742,6 +9326,58 @@ declare const SessionLineageResponse: z.ZodObject<{
8742
9326
  "rigs:use": "rigs:use";
8743
9327
  "rigs:manage": "rigs:manage";
8744
9328
  }>>>;
9329
+ firstPartyMcpTools: z.ZodArray<z.ZodEnum<{
9330
+ set_session_title: "set_session_title";
9331
+ goal_set: "goal_set";
9332
+ goal_update: "goal_update";
9333
+ goal_complete: "goal_complete";
9334
+ goal_pause: "goal_pause";
9335
+ memory_search: "memory_search";
9336
+ memory_save: "memory_save";
9337
+ memory_correct: "memory_correct";
9338
+ sandboxes_list: "sandboxes_list";
9339
+ sandbox_attach: "sandbox_attach";
9340
+ sandbox_swap: "sandbox_swap";
9341
+ run_on: "run_on";
9342
+ sandbox_provision: "sandbox_provision";
9343
+ rig_list: "rig_list";
9344
+ rig_get: "rig_get";
9345
+ rig_propose_change: "rig_propose_change";
9346
+ rig_verify: "rig_verify";
9347
+ rig_promote: "rig_promote";
9348
+ sessions_list: "sessions_list";
9349
+ session_get: "session_get";
9350
+ session_events: "session_events";
9351
+ session_create: "session_create";
9352
+ session_send_message: "session_send_message";
9353
+ session_pause: "session_pause";
9354
+ session_resume: "session_resume";
9355
+ session_steer: "session_steer";
9356
+ set_other_session_title: "set_other_session_title";
9357
+ variable_set_list: "variable_set_list";
9358
+ environment_list: "environment_list";
9359
+ variable_set_set_variable: "variable_set_set_variable";
9360
+ environment_set_variable: "environment_set_variable";
9361
+ github_connect_link: "github_connect_link";
9362
+ github_token: "github_token";
9363
+ github_repositories_list: "github_repositories_list";
9364
+ social_connections_list: "social_connections_list";
9365
+ social_posts_recent: "social_posts_recent";
9366
+ social_daily_analysis_context: "social_daily_analysis_context";
9367
+ scheduled_tasks_list: "scheduled_tasks_list";
9368
+ scheduled_tasks_get: "scheduled_tasks_get";
9369
+ scheduled_tasks_create: "scheduled_tasks_create";
9370
+ scheduled_tasks_update: "scheduled_tasks_update";
9371
+ scheduled_tasks_pause: "scheduled_tasks_pause";
9372
+ scheduled_tasks_resume: "scheduled_tasks_resume";
9373
+ scheduled_tasks_trigger: "scheduled_tasks_trigger";
9374
+ scheduled_tasks_delete: "scheduled_tasks_delete";
9375
+ scheduled_task_runs_list: "scheduled_task_runs_list";
9376
+ slack_bot_list_channels: "slack_bot_list_channels";
9377
+ slack_bot_channel_history: "slack_bot_channel_history";
9378
+ slack_bot_list_users: "slack_bot_list_users";
9379
+ slack_bot_post_message: "slack_bot_post_message";
9380
+ }>>;
8745
9381
  mcpServers: z.ZodDefault<z.ZodArray<z.ZodObject<{
8746
9382
  id: z.ZodString;
8747
9383
  name: z.ZodNullable<z.ZodString>;
@@ -8935,6 +9571,9 @@ declare const SessionEventType: z.ZodEnum<{
8935
9571
  "goal.continuation": "goal.continuation";
8936
9572
  "system.update.pending": "system.update.pending";
8937
9573
  "system.update.delivered": "system.update.delivered";
9574
+ "system.update.superseded": "system.update.superseded";
9575
+ "system.update.cancelled": "system.update.cancelled";
9576
+ "system.update.settled": "system.update.settled";
8938
9577
  "session.control.paused": "session.control.paused";
8939
9578
  "session.control.resumed": "session.control.resumed";
8940
9579
  "session.control.steer_requested": "session.control.steer_requested";
@@ -9036,7 +9675,7 @@ declare const SessionEventReadDirection: z.ZodEnum<{
9036
9675
  type SessionEventReadDirection = z.infer<typeof SessionEventReadDirection>;
9037
9676
  declare const SESSION_EVENT_RAW_DELTA_TYPES: readonly ["agent.message.delta", "agent.reasoning.delta", "sandbox.command.output.delta", "terminal.pty.output.delta"];
9038
9677
  declare const SESSION_EVENT_SEMANTIC_CLASS_TYPES: {
9039
- 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", "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"];
9678
+ 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"];
9040
9679
  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"];
9041
9680
  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"];
9042
9681
  readonly checkpoint: readonly ["session.context.compaction.requested", "session.context.compacted", "session.context.compaction.skipped", "session.context.cleared", "turn.recovery.requested", "session.queue.history", "sandbox.box.snapshot", "workspace.revision.captured"];
@@ -10313,6 +10952,9 @@ declare const SessionEvent: z.ZodObject<{
10313
10952
  "goal.continuation": "goal.continuation";
10314
10953
  "system.update.pending": "system.update.pending";
10315
10954
  "system.update.delivered": "system.update.delivered";
10955
+ "system.update.superseded": "system.update.superseded";
10956
+ "system.update.cancelled": "system.update.cancelled";
10957
+ "system.update.settled": "system.update.settled";
10316
10958
  "session.control.paused": "session.control.paused";
10317
10959
  "session.control.resumed": "session.control.resumed";
10318
10960
  "session.control.steer_requested": "session.control.steer_requested";
@@ -10911,6 +11553,30 @@ declare const SessionQueueMutationResponse: z.ZodObject<{
10911
11553
  createdAt: z.ZodString;
10912
11554
  updatedAt: z.ZodString;
10913
11555
  }, z.core.$strip>>;
11556
+ pendingInputs: z.ZodArray<z.ZodObject<{
11557
+ id: z.ZodString;
11558
+ createdAt: z.ZodString;
11559
+ kind: z.ZodEnum<{
11560
+ scheduled_occurrence: "scheduled_occurrence";
11561
+ goal_continuation: "goal_continuation";
11562
+ agent_message: "agent_message";
11563
+ agent_steer_instruction: "agent_steer_instruction";
11564
+ child_terminal_result: "child_terminal_result";
11565
+ }>;
11566
+ sessionId: z.ZodString;
11567
+ summary: z.ZodString;
11568
+ classification: z.ZodEnum<{
11569
+ success: "success";
11570
+ failure: "failure";
11571
+ action_required: "action_required";
11572
+ info: "info";
11573
+ }>;
11574
+ sourceId: z.ZodString;
11575
+ }, z.core.$strip>>;
11576
+ pendingInputAttachment: z.ZodNullable<z.ZodObject<{
11577
+ turnId: z.ZodString;
11578
+ inputIds: z.ZodArray<z.ZodString>;
11579
+ }, z.core.$strip>>;
10914
11580
  }, z.core.$strip>;
10915
11581
  draft: z.ZodOptional<z.ZodObject<{
10916
11582
  revision: z.ZodNumber;
@@ -10942,12 +11608,6 @@ declare const SessionQueueMutationResponse: z.ZodObject<{
10942
11608
  fileId: z.ZodString;
10943
11609
  mountPath: z.ZodOptional<z.ZodString>;
10944
11610
  }, z.core.$strip>], "kind">>;
10945
- tools: z.ZodArray<z.ZodObject<{
10946
- kind: z.ZodLiteral<"mcp">;
10947
- id: z.ZodString;
10948
- optional: z.ZodOptional<z.ZodBoolean>;
10949
- }, z.core.$strip>>;
10950
- toolsProvided: z.ZodDefault<z.ZodBoolean>;
10951
11611
  model: z.ZodString;
10952
11612
  reasoningEffort: z.ZodEnum<{
10953
11613
  none: "none";
@@ -11188,6 +11848,58 @@ declare const CreateSessionRequest: z.ZodPreprocess<z.ZodObject<{
11188
11848
  "rigs:use": "rigs:use";
11189
11849
  "rigs:manage": "rigs:manage";
11190
11850
  }>>>;
11851
+ firstPartyMcpTools: z.ZodOptional<z.ZodArray<z.ZodEnum<{
11852
+ set_session_title: "set_session_title";
11853
+ goal_set: "goal_set";
11854
+ goal_update: "goal_update";
11855
+ goal_complete: "goal_complete";
11856
+ goal_pause: "goal_pause";
11857
+ memory_search: "memory_search";
11858
+ memory_save: "memory_save";
11859
+ memory_correct: "memory_correct";
11860
+ sandboxes_list: "sandboxes_list";
11861
+ sandbox_attach: "sandbox_attach";
11862
+ sandbox_swap: "sandbox_swap";
11863
+ run_on: "run_on";
11864
+ sandbox_provision: "sandbox_provision";
11865
+ rig_list: "rig_list";
11866
+ rig_get: "rig_get";
11867
+ rig_propose_change: "rig_propose_change";
11868
+ rig_verify: "rig_verify";
11869
+ rig_promote: "rig_promote";
11870
+ sessions_list: "sessions_list";
11871
+ session_get: "session_get";
11872
+ session_events: "session_events";
11873
+ session_create: "session_create";
11874
+ session_send_message: "session_send_message";
11875
+ session_pause: "session_pause";
11876
+ session_resume: "session_resume";
11877
+ session_steer: "session_steer";
11878
+ set_other_session_title: "set_other_session_title";
11879
+ variable_set_list: "variable_set_list";
11880
+ environment_list: "environment_list";
11881
+ variable_set_set_variable: "variable_set_set_variable";
11882
+ environment_set_variable: "environment_set_variable";
11883
+ github_connect_link: "github_connect_link";
11884
+ github_token: "github_token";
11885
+ github_repositories_list: "github_repositories_list";
11886
+ social_connections_list: "social_connections_list";
11887
+ social_posts_recent: "social_posts_recent";
11888
+ social_daily_analysis_context: "social_daily_analysis_context";
11889
+ scheduled_tasks_list: "scheduled_tasks_list";
11890
+ scheduled_tasks_get: "scheduled_tasks_get";
11891
+ scheduled_tasks_create: "scheduled_tasks_create";
11892
+ scheduled_tasks_update: "scheduled_tasks_update";
11893
+ scheduled_tasks_pause: "scheduled_tasks_pause";
11894
+ scheduled_tasks_resume: "scheduled_tasks_resume";
11895
+ scheduled_tasks_trigger: "scheduled_tasks_trigger";
11896
+ scheduled_tasks_delete: "scheduled_tasks_delete";
11897
+ scheduled_task_runs_list: "scheduled_task_runs_list";
11898
+ slack_bot_list_channels: "slack_bot_list_channels";
11899
+ slack_bot_channel_history: "slack_bot_channel_history";
11900
+ slack_bot_list_users: "slack_bot_list_users";
11901
+ slack_bot_post_message: "slack_bot_post_message";
11902
+ }>>>;
11191
11903
  mcpServers: z.ZodDefault<z.ZodArray<z.ZodObject<{
11192
11904
  id: z.ZodString;
11193
11905
  name: z.ZodOptional<z.ZodString>;
@@ -11430,11 +12142,6 @@ declare const ClientSessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
11430
12142
  fileId: z.ZodString;
11431
12143
  mountPath: z.ZodOptional<z.ZodString>;
11432
12144
  }, z.core.$strip>], "kind">>>;
11433
- tools: z.ZodDefault<z.ZodArray<z.ZodObject<{
11434
- kind: z.ZodLiteral<"mcp">;
11435
- id: z.ZodString;
11436
- optional: z.ZodOptional<z.ZodBoolean>;
11437
- }, z.core.$strip>>>;
11438
12145
  model: z.ZodOptional<z.ZodString>;
11439
12146
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
11440
12147
  none: "none";
@@ -11450,7 +12157,7 @@ declare const ClientSessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
11450
12157
  id: z.ZodString;
11451
12158
  headers: z.ZodRecord<z.ZodString, z.ZodString>;
11452
12159
  }, z.core.$strip>>>;
11453
- }, z.core.$strip>;
12160
+ }, z.core.$strict>;
11454
12161
  }, z.core.$strip>, z.ZodObject<{
11455
12162
  type: z.ZodLiteral<"user.approvalDecision">;
11456
12163
  clientEventId: z.ZodOptional<z.ZodString>;
@@ -11510,11 +12217,6 @@ declare const SteerSessionMessageRequest: z.ZodObject<{
11510
12217
  fileId: z.ZodString;
11511
12218
  mountPath: z.ZodOptional<z.ZodString>;
11512
12219
  }, z.core.$strip>], "kind">>>;
11513
- tools: z.ZodDefault<z.ZodArray<z.ZodObject<{
11514
- kind: z.ZodLiteral<"mcp">;
11515
- id: z.ZodString;
11516
- optional: z.ZodOptional<z.ZodBoolean>;
11517
- }, z.core.$strip>>>;
11518
12220
  model: z.ZodOptional<z.ZodString>;
11519
12221
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
11520
12222
  none: "none";
@@ -11531,7 +12233,7 @@ declare const SteerSessionMessageRequest: z.ZodObject<{
11531
12233
  id: z.ZodString;
11532
12234
  headers: z.ZodRecord<z.ZodString, z.ZodString>;
11533
12235
  }, z.core.$strip>>>;
11534
- }, z.core.$strip>;
12236
+ }, z.core.$strict>;
11535
12237
  type SteerSessionMessageRequest = z.infer<typeof SteerSessionMessageRequest>;
11536
12238
  declare const SteerSessionMessageResponse: z.ZodObject<{
11537
12239
  accepted: z.ZodObject<{
@@ -11589,6 +12291,9 @@ declare const SteerSessionMessageResponse: z.ZodObject<{
11589
12291
  "goal.continuation": "goal.continuation";
11590
12292
  "system.update.pending": "system.update.pending";
11591
12293
  "system.update.delivered": "system.update.delivered";
12294
+ "system.update.superseded": "system.update.superseded";
12295
+ "system.update.cancelled": "system.update.cancelled";
12296
+ "system.update.settled": "system.update.settled";
11592
12297
  "session.control.paused": "session.control.paused";
11593
12298
  "session.control.resumed": "session.control.resumed";
11594
12299
  "session.control.steer_requested": "session.control.steer_requested";
@@ -11818,6 +12523,9 @@ declare const SessionBusMessage: z.ZodObject<{
11818
12523
  "goal.continuation": "goal.continuation";
11819
12524
  "system.update.pending": "system.update.pending";
11820
12525
  "system.update.delivered": "system.update.delivered";
12526
+ "system.update.superseded": "system.update.superseded";
12527
+ "system.update.cancelled": "system.update.cancelled";
12528
+ "system.update.settled": "system.update.settled";
11821
12529
  "session.control.paused": "session.control.paused";
11822
12530
  "session.control.resumed": "session.control.resumed";
11823
12531
  "session.control.steer_requested": "session.control.steer_requested";
@@ -11911,6 +12619,11 @@ declare const GitHubBindingStatus: z.ZodEnum<{
11911
12619
  bound: "bound";
11912
12620
  }>;
11913
12621
  type GitHubBindingStatus = z.infer<typeof GitHubBindingStatus>;
12622
+ declare const GitHubAppSetupMode: z.ZodEnum<{
12623
+ platform: "platform";
12624
+ operator: "operator";
12625
+ }>;
12626
+ type GitHubAppSetupMode = z.infer<typeof GitHubAppSetupMode>;
11914
12627
  declare const GitHubInstallationLifecycle: z.ZodEnum<{
11915
12628
  active: "active";
11916
12629
  deleted: "deleted";
@@ -11934,6 +12647,7 @@ declare const GitHubInstallationBinding: z.ZodObject<{
11934
12647
  all: "all";
11935
12648
  }>;
11936
12649
  repositoryCount: z.ZodNumber;
12650
+ configureUrl: z.ZodNullable<z.ZodString>;
11937
12651
  createdAt: z.ZodString;
11938
12652
  updatedAt: z.ZodString;
11939
12653
  }, z.core.$strip>;
@@ -11945,6 +12659,10 @@ declare const GitHubAppInfo: z.ZodObject<{
11945
12659
  unbound: "unbound";
11946
12660
  bound: "bound";
11947
12661
  }>;
12662
+ setupMode: z.ZodEnum<{
12663
+ platform: "platform";
12664
+ operator: "operator";
12665
+ }>;
11948
12666
  appId: z.ZodNullable<z.ZodString>;
11949
12667
  clientId: z.ZodNullable<z.ZodString>;
11950
12668
  appSlug: z.ZodNullable<z.ZodString>;
@@ -11966,6 +12684,7 @@ declare const GitHubAppInfo: z.ZodObject<{
11966
12684
  all: "all";
11967
12685
  }>;
11968
12686
  repositoryCount: z.ZodNumber;
12687
+ configureUrl: z.ZodNullable<z.ZodString>;
11969
12688
  createdAt: z.ZodString;
11970
12689
  updatedAt: z.ZodString;
11971
12690
  }, z.core.$strip>>;
@@ -13927,4 +14646,4 @@ declare function evaluateWorkspaceModelPolicy(policy: WorkspaceModelPolicyContra
13927
14646
  modelId: string;
13928
14647
  }): WorkspaceModelPolicyVerdict;
13929
14648
 
13930
- export { AccessContext, AccessGrant, AccountGrant, AccountRole, AcknowledgeStreamRequest, AcknowledgeStreamResponse, ActivateWorkspaceInstructionPolicyRequest, AddDocumentRequest, AddWorkspaceMemberRequest, type AdmitRunInput, ApiKey, AttachViewerRequest, type AuthorizeSessionInput, BillingBalance, BillingMode, type BoundSessionEventOptions, type BoundSessionEventPayloadOptions, type BoundWorkspaceControlEventOptions, CAPABILITY_DESCRIPTORS, CLEARED_RUN_STATE_BLOB, CLEARED_RUN_STATE_MARKER, CODEX_FLEET_POLICY_MAX_CANDIDATES, CODEX_FLEET_POLICY_MAX_OVERLAYS_PER_CANDIDATE, CODEX_FLEET_POLICY_SCHEMA_VERSION, CODEX_FLEET_POLICY_VERSION, CapabilityCatalogAuthKind, CapabilityCatalogItem, CapabilityCatalogResponse, CapabilityCatalogTier, type CapabilityDescriptor, CapabilityInstallation, CapabilityInstallationStatus, CapabilityKind, CapabilityPack, CapabilityPackConnector, CapabilityPackConnectorAuthModel, CapabilityPackKnowledge, CapabilityPackScheduledTaskTemplate, CapabilityPackSkill, CapabilityPackSkillFile, CapabilityRuntime, CapabilitySource, CapabilityUnavailableReason, ClearSessionContextRequest, ClientAuthConfig, ClientConfig, ClientModel, ClientSessionEvent, type CodexFleetAdmissionDecisionV1, type CodexFleetAdmissionSnapshotV1, type CodexFleetCacheState, type CodexFleetCandidateStatus, type CodexFleetCandidateV1, type CodexFleetConfidence, type CodexFleetDecisionInputV1, type CodexFleetDecisionV1, type CodexFleetOverlayMode, type CodexFleetPlacementKind, type CodexFleetPolicyConfigV1, type CodexFleetPriority, type CodexFleetQuotaWindowV1, type CodexFleetReplayRecordV1, type CodexFleetReplayVerdictV1, type CodexFleetScoreV1, CompactSessionContextRequest, CompactSessionContextResult, CompleteFileUploadResponse, ComposerDraft, ConnectionCredentialBundle, type ConnectionCredentialsPort, ConnectionKind, ConnectionMetadata, ConnectionResponse, ConnectionStatus, CreateApiKeyRequest, CreateApiKeyResponse, CreateCapabilityCatalogItemRequest, CreateCheckoutRequest, CreateCheckoutResponse, CreateConnectionRequest, CreateDocumentBaseRequest, CreateFileUploadRequest, CreateFileUploadResponse, CreateKnowledgeDropRequest, CreateKnowledgeMemoryRequest, CreateRigRequest, CreateScheduledTaskRequest, CreateSessionRequest, CreateSessionResponse, CreateSocialConnectionRequest, CreateSocialPostRequest, CreateVariableSetRequest, CreateWorkspaceEnvironmentRequest, CreateWorkspaceInstructionPolicyDraftRequest, CreateWorkspaceRequest, CredentialAuthNeededPayload, type CredentialAuthNeededReason, DEFAULT_CODEX_FLEET_POLICY_V1, DEFAULT_FIRST_PARTY_MCP_PERMISSIONS, DESKTOP_STREAM_PORT, DelegatedAccessTokenPayload, DeleteSessionQueueItemRequest, DeviceEnrollmentApproveRequest, DeviceEnrollmentApproveResponse, DeviceEnrollmentDenyRequest, DeviceEnrollmentDenyResponse, DeviceEnrollmentLookupMachine, DeviceEnrollmentLookupRequest, DeviceEnrollmentLookupResponse, DeviceEnrollmentPollRequest, DeviceEnrollmentPollResponse, DeviceEnrollmentStartRequest, DeviceEnrollmentStartResponse, DeviceEnrollmentState, DiscoverMcpCapabilitiesResponse, Document, DocumentBase, DocumentCuration, DocumentCurationStatus, DocumentSearchMode, DocumentSearchRequest, DocumentSearchResult, DocumentStatus, DocumentVisibility, EditSessionQueueItemRequest, EffectiveControlBlocker, EffectiveControlResumeOption, EffectiveSessionControl, EnableCapabilityRequest, EnablePackRequest, EnrollTokenExchangeRequest, EnrollTokenExchangeResponse, EnrollTokenPayload, EnrollmentArch, EnrollmentBearerPayload, EnrollmentCredentialsResponse, EnrollmentOs, EnrollmentSummary, EntitlementDecision, EntitlementValue, Entitlements, EntitlementsMode, type EntitlementsPort, ErrorCode, ErrorEnvelope, FileAsset, FileDownloadUrlResponse, FileResourceRef, FileStatus, FileUploadStatus, FsChangeKind, FsChangedPayload, FsDeleteRequest, FsDeleteResponse, FsEncoding, FsListRequest, FsListResponse, FsMkdirRequest, FsMkdirResponse, FsMoveRequest, FsMoveResponse, FsNodeType, FsReadRequest, FsReadResponse, FsTreeNode, FsWriteRequest, FsWriteResponse, GetWorkspaceCaptureFileResponse, GetWorkspaceCaptureResponse, GitChangedPayload, GitCommit, GitCredentialBindingId, GitCredentialProvider, GitCredentialRepositoryRef, type GitCredentialTransport, type GitCredentials, type GitCredentialsRequest, GitDiffHunk, GitDiffLine, GitDiffLineType, GitDiffRequest, GitDiffResponse, GitFileDiff, GitFileStatus, GitFileStatusCode, type GitHttpBrokerRepositoryRoute, type GitHubAppApiPort, GitHubAppInfo, GitHubAppManifestCreate, GitHubBindingStatus, type GitHubInstallationAuthorityKind, GitHubInstallationBinding, type GitHubInstallationBindingProof, GitHubInstallationLifecycle, type GitHubInstallationSummary, GitHubRepositoriesResponse, GitHubRepository, type GitHubRepositoryPermissions, GitHubRepositoryScope, type GitHubUserInstallationAccess, type GitHubUserRepositoryAccess, GitLogRequest, GitLogResponse, GitRepositoryAccess, GitShowRequest, GitShowResponse, GitStatusRequest, GitStatusResponse, GoalSpec, type HealthResponse, HostEventExport, HostEventExportBatch, type HostEventSink, HostExportConsumerId, HostExportCursor, HostExportInitiator, HostExportInitiatorContext, HostSessionEvent, HostUsageEvent, HostUsageExport, HostUsageExportBatch, type HostUsageSink, HumanInputAnswer, HumanInputOption, HumanInputQuestion, HumanInputQuestionKind, HumanInputRequestStatus, HumanInputResponse, ImportLegacyWorkspaceInstructionPolicyDraftRequest, IntegrationClientMetadata, KnowledgeMemory, KnowledgeMemoryKind, KnowledgeMemorySearchRequest, KnowledgeMemoryStatus, KnowledgeSourceKind, KnowledgeSourceRef, LimitAction, LimitDecision, LineageNode, ListConnectionsResponse, ListEnrollmentsResponse, ListWorkspaceMembersResponse, MAX_NESTED_AGENT_DEPTH, MachineKind, MachineMetricsSeriesResponse, MachineState, MachineView, MachinesResponse, ManagedAccount, MarketingDailyAnalysisTaskRequest, McpConnectionResourceScope, type McpCredentialAuthNeededReason, type McpCredentialResolution, type McpCredentialsRequest, McpServerConnectionRef, MetricSample, MintEnrollTokenRequest, MintEnrollTokenResponse, ModelAvailabilityV1, ModelBillingAttributionV1, ModelCapabilitiesV1, ModelCapabilityStateV1, ModelCapabilitySupportV1, ModelCredentialReadinessV1, ModelCredentialSourceV1, ModelPricingScheduleV1, ModelPricingV1, MoveDocumentRequest, MoveSessionQueueItemRequest, NestedAgentDepthAttemptValue, NestedAgentDepthPolicySource, NestedAgentDepthValue, NewSessionDraft, NewSessionDraftOptions, OAuthStartRequest, OAuthStartResponse, OPENGENI_API_CONTRACT_HEADER, OPENGENI_API_CONTRACT_REVISION, OPENGENI_CORRELATION_HEADER, OPENGENI_HOST_EXPORT_SCHEMA_REVISION, OPENGENI_SLACK_BOT_CREDENTIAL_LABEL, OPENGENI_SLACK_BOT_CREDENTIAL_ROLE, OPENGENI_SLACK_BOT_FORBIDDEN_SCOPES, OPENGENI_SLACK_BOT_REQUIRED_SCOPES, OPENGENI_SLACK_BOT_SESSION_METADATA_KEY, OpenGeniSlackBotConnectionMetadata, OpenGeniSlackBotInstallRequest, OpenGeniSlackBotInstallStart, PackInstallation, PackInstallationStatus, Permission, type PortExposureKind, ProductAccessMode, ProposeRigChangeRequest, PtyCloseRequest, PtyOpenRequest, PtyOpenResponse, PtyResizeRequest, PtyWriteRequest, RETAINED_OUTPUT_DEFAULT_PAGE_BYTES, RETAINED_OUTPUT_MAX_PAGE_BYTES, RETAINED_OUTPUT_RECEIPT_MAX_BYTES, ReasoningEffort, RecordingAvailablePayload, RecordingCodec, RecordingContentType, RecordingFailedPayload, RecordingFailedReason, RecordingMode, RecordingStartedPayload, RegisterCapabilityPackRequest, RelayTokenPayload, RepositoryResourceRef, RequestHumanInputToolInput, type ResolveSessionAuthorizationListScopeInput, type ResolveSessionEventTypeFiltersInput, ResourceMountPathError, ResourceRef, ResourceRefConflictError, type RetainedArtifactFileInput, type RetainedArtifactMetadata, RetainedArtifactMetadataSchema, type RetainedArtifactReference, RetainedArtifactReferenceSchema, type RetainedArtifactUnavailable, RetainedArtifactUnavailableSchema, type RetainedOutputAvailableEvidence, type RetainedOutputEvidence, RetainedOutputEvidenceSchema, RetainedOutputKind, type RetainedOutputRangeResolution, type RetainedOutputResolvedRange, RetainedOutputUnavailableReason, RevokeEnrollmentResponse, Rig, RigChange, RigChangeKind, RigChangeStatus, RigChangeVerification, RigCheck, RigCheckResult, RigDefinitionEditPayload, RigSetupAppendPayload, RigVerificationHealth, RigVersion, RollbackWorkspaceInstructionPolicyRequest, type RunCredentialAuthNeeded, type RunCredentialFile, type RunCredentialRedaction, type RunCredentialsRequest, type RunCredentialsResolution, SESSION_AUTHORIZATION_LIST_SCOPE_MAX_IDS, SESSION_EFFECTIVE_TOOL_POLICY_ID_LIMIT, SESSION_EFFECTIVE_TOOL_POLICY_ID_MAX_LENGTH, SESSION_EVENT_CLIENT_EVENT_ID_MAX_BYTES, SESSION_EVENT_DUPLICATE_REASON_MAX_BYTES, SESSION_EVENT_ENVELOPE_MAX_BYTES, SESSION_EVENT_PAYLOAD_MAX_BYTES, SESSION_EVENT_RAW_DELTA_TYPES, SESSION_EVENT_SEMANTIC_CLASS_TYPES, SESSION_EVENT_TURN_ASSOCIATION_MAX_BYTES, SESSION_EVENT_TYPE_MAX_BYTES, SESSION_MCP_APPROVAL_POLICY_MAX_BYTES, SESSION_MCP_APPROVAL_POLICY_MAX_TOOL_NAMES, SESSION_MCP_APPROVAL_TOOL_NAME_MAX_BYTES, SESSION_MCP_SERVERS_MAX, SESSION_OPERATION_KEY_MAX_CHARS, SandboxBackend, SandboxCapabilityName, SandboxCommandOutputDeltaPayload, SandboxOs, type SandboxSecrets, type SandboxSecretsRequest, SaveComposerDraftRequest, SaveNewSessionDraftRequest, ScheduledTask, ScheduledTaskAgentConfig, ScheduledTaskOverlapPolicy, ScheduledTaskRun, ScheduledTaskRunMode, ScheduledTaskRunStatus, ScheduledTaskScheduleSpec, ScheduledTaskStatus, ScheduledTaskTriggerType, type SecretForRedaction, ServiceTurnInitiator, ServiceTurnInitiatorContext, Session, SessionAuthorizationActor, SessionAuthorizationDecision, SessionAuthorizationListScope, SessionAuthorizationOperation, type SessionAuthorizationPort, SessionAuthorizationSurface, SessionAuthorizationTarget, SessionBusMessage, SessionCapabilities, SessionCommandReceipt, SessionControlRequest, SessionControlResponse, SessionControlState, SessionEffectiveToolPolicy, SessionEvent, type SessionEventBoundarySurface, type SessionEventCompactResult, type SessionEventJsonMeasurement, SessionEventLatestClass, type SessionEventMediaPreview, SessionEventPayloadMode, type SessionEventPayloadTruncation, SessionEventReadDirection, SessionEventReadMode, SessionEventResultMode, SessionEventSemanticClass, SessionEventType, SessionGoal, SessionGoalContinuation, SessionGoalContinuationReason, SessionGoalContinuationState, SessionGoalCreatedBy, SessionGoalPausedReason, SessionGoalStatus, SessionHumanInputRequest, SessionLineageResponse, SessionListResponse, SessionMcpApprovalPolicy, SessionMcpCredentialUpdateInput, SessionMcpServerId, SessionMcpServerInput, SessionMcpServerMetadata, SessionQueueMutationResponse, SessionQueueSnapshot, SessionSkill, SessionSkills, SessionSpawnDenial, SessionStatus, SessionStructuredCapabilities, type SessionSummary, SessionSystemUpdate, SessionSystemUpdateKind, SessionSystemUpdatePayload, SessionSystemUpdateState, SessionToolPolicy, SessionTurn, SessionTurnSource, SessionTurnStatus, SetVariableSetVariableRequest, SetWorkspaceDefaultRigRequest, SetWorkspaceEnvironmentVariableRequest, SocialConnection, SocialConnectionStatus, SocialPost, SocialProvider, StaticUsageLimits, SteerSessionMessageRequest, SteerSessionMessageResponse, SteerSessionQueueItemRequest, StreamClosedPayload, StreamOpenedPayload, StreamRevokedPayload, StreamTokenPayload, StreamUrlRotatedPayload, SubmitHumanInputResponseRequest, SwapActiveSandboxRequest, SwapActiveSandboxResponse, SystemUpdateClassification, TERMINAL_STREAM_PORT, TURN_EXECUTION_POLICY_METADATA_KEY, TerminalExecRequest, TerminalExecResponse, TerminalPtyExitedPayload, TerminalPtyOutputDeltaPayload, TerminalPtyStartedPayload, ToolAuthNeededPayload, ToolRef, TranscriptionErrorCode, TranscriptionEvent, TranscriptionResultMetadata, TranscriptionSpeaker, TranscriptionTimeSpan, TranscriptionWord, TriggerScheduledTaskRequest, TurnExecutionModelSourceV1, type TurnExecutionPolicyReadV1, TurnExecutionPolicyV1, TurnExecutionReasoningSourceV1, TurnInitiator, TurnInitiatorContext, UNATTRIBUTED_LEGACY_INITIATOR_SUBJECT_ID, UpdateConnectionRequest, UpdateKnowledgeMemoryRequest, UpdateRigRequest, UpdateScheduledTaskRequest, UpdateSessionGoalRequest, UpdateSessionMcpApprovalPolicyRequest, UpdateSessionMcpApprovalPolicyResponse, UpdateSessionPinRequest, UpdateSessionRequest, UpdateSessionToolPolicyRequest, UpdateVariableSetRequest, UpdateWorkspaceEnvironmentRequest, UpdateWorkspaceMemberRequest, UpdateWorkspaceModelPolicyRequest, UpdateWorkspaceRequest, UpdateWorkspaceSettingsRequest, UsageEvent, UsageEventType, UsageLimitsMode, VariableSet, VariableSetVariableMetadata, VariableSetVariableName, ViewerHeartbeatRequest, ViewerHeartbeatResponse, ViewerHolder, WORKSPACE_CONTROL_ACTOR_MAX_BYTES, WORKSPACE_CONTROL_EVENT_MAX_BYTES, WORKSPACE_CONTROL_REASON_MAX_BYTES, WORKSPACE_INSTRUCTION_POLICY_CONTENT_MAX_CHARS, WORKSPACE_INSTRUCTION_POLICY_REASON_MAX_CHARS, WORKSPACE_INSTRUCTION_POLICY_ROLE_KEY_MAX_CHARS, WORKSPACE_INSTRUCTION_POLICY_SOURCE_ID_MAX_CHARS, Workspace, WorkspaceCaptureDegradedReason, WorkspaceCaptureFile, WorkspaceCaptureManifest, WorkspaceCaptureRepo, WorkspaceCaptureSignedUrl, WorkspaceCaptureStats, type WorkspaceControlBoundarySurface, WorkspaceControlEvent, WorkspaceControlEventTruncation, WorkspaceEnvironment, WorkspaceEnvironmentVariableMetadata, WorkspaceInferenceControlRequest, WorkspaceInferenceControlResponse, WorkspaceInferenceState, WorkspaceInstructionPolicyActivationEvent, WorkspaceInstructionPolicyActivationResponse, WorkspaceInstructionPolicyActivationType, WorkspaceInstructionPolicyConflictResponse, WorkspaceInstructionPolicyDiffRequest, WorkspaceInstructionPolicyDiffResponse, WorkspaceInstructionPolicyDraftProvenanceSource, WorkspaceInstructionPolicyHead, WorkspaceInstructionPolicyKind, WorkspaceInstructionPolicyListQuery, WorkspaceInstructionPolicyListResponse, WorkspaceInstructionPolicyProvenance, WorkspaceInstructionPolicyProvenanceSource, WorkspaceInstructionPolicyRevision, WorkspaceInstructionPolicyRevisionIdentity, WorkspaceInstructionPolicyRoleKey, WorkspaceInstructionPolicyScope, WorkspaceInstructionPolicyTarget, WorkspaceMember, WorkspaceMemorySearchMode, WorkspaceMemorySearchRequest, WorkspaceMemorySearchResponse, WorkspaceMemorySearchResult, WorkspaceModelCatalogModel, WorkspaceModelCatalogResponse, type WorkspaceModelPolicyContract, type WorkspaceModelPolicyVerdict, WorkspaceRegisteredPack, WorkspaceRevisionCapturedPayload, WorkspaceRevisionDegradedPayload, type WorkspaceSettings, WorkspaceSettingsSchema, WorkspaceTranscriptionPolicy, WorkspaceTranscriptionTarget, approvalIdentifier, approximateSessionEventTokens, assertUniqueResourceMountPaths, boundSessionEvent, boundSessionEventPayload, boundWorkspaceControlEvent, canonicalCodexFleetReplayJsonV1, capabilityCatalogItemIsTrustedForExposure, compactSessionEventResult, compareCodexFleetCanonicalStringsV1, createCodexFleetReplayRecordV1, createSecretRedactor, defaultRepositoryMountPath, effectiveCodexFleetCacheStateV1, evaluateCodexFleetDecisionV1, evaluateWorkspaceModelPolicy, gitCredentialBindingIdForRepository, gitCredentialProviderForRepository, identityRedactor, isClearedRunStateBlob, isCredentialHeaderName, isSensitiveFieldName, measureSessionEventJson, mergeResourceRefs, mergeToolRefs, metadataWithTurnExecutionPolicyV1, normalizeRepositorySubpath, normalizeResourceMountPath, normalizeWorkspaceInstructionPolicyRoleKey, prefixedMcpToolName, readCodexFleetReplayRecordV1, readTurnExecutionPolicyV1, reasoningEffortForMetadata, redactSensitiveData, redactSensitiveKey, redactSensitiveText, redactSerializedJson, replayCodexFleetDecisionV1, resolveRetainedOutputRange, resolveSessionEventTypeFilters, resolveWorkspaceMemoryEnabled, resourceIdentityKey, resourceMountPath, resourceMountPathCollisionKey, retainedArtifactReferenceFromFile, retainedOutputUnavailable, sessionEventJsonBytes, sessionEventLatestClassToSemanticClass, sessionEventMediaPreview, sessionEventMediaPreviewFromDataUrl, sessionEventPayloadTruncation, signDelegatedAccessToken, signEnrollToken, signEnrollmentBearer, signRelayToken, signStreamToken, stableJson, turnExecutionPolicyAuditMetadata, validateRetainedOutputEvidence, verifyDelegatedAccessToken, verifyEnrollToken, verifyEnrollmentBearer, verifyRelayToken, verifyStreamToken, workspaceControlUtf8Bytes };
14649
+ export { AccessContext, AccessGrant, AccountGrant, AccountRole, AcknowledgeStreamRequest, AcknowledgeStreamResponse, ActivateWorkspaceInstructionPolicyRequest, AddDocumentRequest, AddWorkspaceMemberRequest, type AdmitRunInput, ApiKey, AttachViewerRequest, type AuthorizeSessionInput, BillingBalance, BillingMode, type BoundSessionEventOptions, type BoundSessionEventPayloadOptions, type BoundWorkspaceControlEventOptions, CAPABILITY_DESCRIPTORS, CLEARED_RUN_STATE_BLOB, CLEARED_RUN_STATE_MARKER, CODEX_FLEET_POLICY_MAX_CANDIDATES, CODEX_FLEET_POLICY_MAX_OVERLAYS_PER_CANDIDATE, CODEX_FLEET_POLICY_SCHEMA_VERSION, CODEX_FLEET_POLICY_VERSION, CapabilityCatalogAuthKind, CapabilityCatalogItem, CapabilityCatalogResponse, CapabilityCatalogTier, type CapabilityDescriptor, CapabilityInstallation, CapabilityInstallationStatus, CapabilityKind, CapabilityPack, CapabilityPackConnector, CapabilityPackConnectorAuthModel, CapabilityPackKnowledge, CapabilityPackScheduledTaskTemplate, CapabilityPackSkill, CapabilityPackSkillFile, CapabilityRuntime, CapabilitySource, CapabilityUnavailableReason, ClearSessionContextRequest, ClientAuthConfig, ClientConfig, ClientModel, ClientSessionEvent, type CodexFleetAdmissionDecisionV1, type CodexFleetAdmissionSnapshotV1, type CodexFleetCacheState, type CodexFleetCandidateStatus, type CodexFleetCandidateV1, type CodexFleetConfidence, type CodexFleetDecisionInputV1, type CodexFleetDecisionV1, type CodexFleetOverlayMode, type CodexFleetPlacementKind, type CodexFleetPolicyConfigV1, type CodexFleetPriority, type CodexFleetQuotaWindowV1, type CodexFleetReplayRecordV1, type CodexFleetReplayVerdictV1, type CodexFleetScoreV1, CompactSessionContextRequest, CompactSessionContextResult, CompleteFileUploadResponse, ComposerDraft, ConnectionCredentialBundle, type ConnectionCredentialsPort, ConnectionKind, ConnectionMetadata, ConnectionResponse, ConnectionStatus, CreateApiKeyRequest, CreateApiKeyResponse, CreateCapabilityCatalogItemRequest, CreateCheckoutRequest, CreateCheckoutResponse, CreateConnectionRequest, CreateDocumentBaseRequest, CreateFileUploadRequest, CreateFileUploadResponse, CreateKnowledgeDropRequest, CreateKnowledgeMemoryRequest, CreateRigRequest, CreateScheduledTaskRequest, CreateSessionRequest, CreateSessionResponse, CreateSocialConnectionRequest, CreateSocialPostRequest, CreateVariableSetRequest, CreateWorkspaceEnvironmentRequest, CreateWorkspaceInstructionPolicyDraftRequest, CreateWorkspaceRequest, CredentialAuthNeededPayload, type CredentialAuthNeededReason, DEFAULT_CODEX_FLEET_POLICY_V1, DEFAULT_FIRST_PARTY_MCP_PERMISSIONS, DEFAULT_FIRST_PARTY_MCP_TOOLS, DESKTOP_STREAM_PORT, DelegatedAccessTokenPayload, DeleteSessionQueueItemRequest, DeviceEnrollmentApproveRequest, DeviceEnrollmentApproveResponse, DeviceEnrollmentDenyRequest, DeviceEnrollmentDenyResponse, DeviceEnrollmentLookupMachine, DeviceEnrollmentLookupRequest, DeviceEnrollmentLookupResponse, DeviceEnrollmentPollRequest, DeviceEnrollmentPollResponse, DeviceEnrollmentStartRequest, DeviceEnrollmentStartResponse, DeviceEnrollmentState, DiscoverMcpCapabilitiesResponse, Document, DocumentBase, DocumentCuration, DocumentCurationStatus, DocumentSearchMode, DocumentSearchRequest, DocumentSearchResult, DocumentStatus, DocumentVisibility, EditSessionQueueItemRequest, EffectiveControlBlocker, EffectiveControlResumeOption, EffectiveSessionControl, EnableCapabilityRequest, EnablePackRequest, EnrollTokenExchangeRequest, EnrollTokenExchangeResponse, EnrollTokenPayload, EnrollmentArch, EnrollmentBearerPayload, EnrollmentCredentialsResponse, EnrollmentOs, EnrollmentSummary, EntitlementDecision, EntitlementValue, Entitlements, EntitlementsMode, type EntitlementsPort, ErrorCode, ErrorEnvelope, FIRST_PARTY_MCP_TOOL_NAMES, FileAsset, FileDownloadUrlResponse, FileResourceRef, FileStatus, FileUploadStatus, FirstPartyMcpToolName, FsChangeKind, FsChangedPayload, FsDeleteRequest, FsDeleteResponse, FsEncoding, FsListRequest, FsListResponse, FsMkdirRequest, FsMkdirResponse, FsMoveRequest, FsMoveResponse, FsNodeType, FsReadRequest, FsReadResponse, FsTreeNode, FsWriteRequest, FsWriteResponse, GetWorkspaceCaptureFileResponse, GetWorkspaceCaptureResponse, GitChangedPayload, GitCommit, GitCredentialBindingId, GitCredentialProvider, GitCredentialRepositoryRef, type GitCredentialTransport, type GitCredentials, type GitCredentialsRequest, GitDiffHunk, GitDiffLine, GitDiffLineType, GitDiffRequest, GitDiffResponse, GitFileDiff, GitFileStatus, GitFileStatusCode, type GitHttpBrokerRepositoryRoute, type GitHubAppApiPort, GitHubAppInfo, GitHubAppManifestCreate, GitHubAppSetupMode, GitHubBindingStatus, type GitHubInstallationAuthorityKind, GitHubInstallationBinding, type GitHubInstallationBindingCandidate, type GitHubInstallationBindingProof, GitHubInstallationLifecycle, type GitHubInstallationSummary, GitHubRepositoriesResponse, GitHubRepository, type GitHubRepositoryPermissions, GitHubRepositoryScope, type GitHubUserInstallationAccess, type GitHubUserRepositoryAccess, GitLogRequest, GitLogResponse, GitRepositoryAccess, GitShowRequest, GitShowResponse, GitStatusRequest, GitStatusResponse, GoalSpec, type HealthResponse, HostEventExport, HostEventExportBatch, type HostEventSink, HostExportConsumerId, HostExportCursor, HostExportInitiator, HostExportInitiatorContext, HostSessionEvent, HostUsageEvent, HostUsageExport, HostUsageExportBatch, type HostUsageSink, HumanInputAnswer, HumanInputOption, HumanInputQuestion, HumanInputQuestionKind, HumanInputRequestStatus, HumanInputResponse, ImportLegacyWorkspaceInstructionPolicyDraftRequest, IntegrationClientMetadata, KnowledgeMemory, KnowledgeMemoryKind, KnowledgeMemorySearchRequest, KnowledgeMemoryStatus, KnowledgeSourceKind, KnowledgeSourceRef, LimitAction, LimitDecision, LineageNode, ListConnectionsResponse, ListEnrollmentsResponse, ListWorkspaceMembersResponse, MAX_NESTED_AGENT_DEPTH, MachineKind, MachineMetricsSeriesResponse, MachineState, MachineView, MachinesResponse, ManagedAccount, MarketingDailyAnalysisTaskRequest, McpConnectionResourceScope, type McpCredentialAuthNeededReason, type McpCredentialResolution, type McpCredentialsRequest, McpServerConnectionRef, MetricSample, MintEnrollTokenRequest, MintEnrollTokenResponse, ModelAvailabilityV1, ModelBillingAttributionV1, ModelCapabilitiesV1, ModelCapabilityStateV1, ModelCapabilitySupportV1, ModelCredentialReadinessV1, ModelCredentialSourceV1, ModelPricingScheduleV1, ModelPricingV1, MoveDocumentRequest, MoveSessionQueueItemRequest, NestedAgentDepthAttemptValue, NestedAgentDepthPolicySource, NestedAgentDepthValue, NewSessionDraft, NewSessionDraftOptions, OAuthStartRequest, OAuthStartResponse, OPENGENI_API_CONTRACT_HEADER, OPENGENI_API_CONTRACT_REVISION, OPENGENI_CORRELATION_HEADER, OPENGENI_HOST_EXPORT_SCHEMA_REVISION, OPENGENI_SLACK_BOT_CREDENTIAL_LABEL, OPENGENI_SLACK_BOT_CREDENTIAL_ROLE, OPENGENI_SLACK_BOT_FORBIDDEN_SCOPES, OPENGENI_SLACK_BOT_REQUIRED_SCOPES, OPENGENI_SLACK_BOT_SESSION_METADATA_KEY, OpenGeniSlackBotConnectionMetadata, OpenGeniSlackBotInstallRequest, OpenGeniSlackBotInstallStart, PackInstallation, PackInstallationStatus, Permission, type PortExposureKind, ProductAccessMode, ProposeRigChangeRequest, PtyCloseRequest, PtyOpenRequest, PtyOpenResponse, PtyResizeRequest, PtyWriteRequest, RETAINED_OUTPUT_DEFAULT_PAGE_BYTES, RETAINED_OUTPUT_MAX_PAGE_BYTES, RETAINED_OUTPUT_RECEIPT_MAX_BYTES, ReasoningEffort, RecordingAvailablePayload, RecordingCodec, RecordingContentType, RecordingFailedPayload, RecordingFailedReason, RecordingMode, RecordingStartedPayload, RegisterCapabilityPackRequest, RelayTokenPayload, RepositoryResourceRef, RequestHumanInputToolInput, type ResolveSessionAuthorizationListScopeInput, type ResolveSessionEventTypeFiltersInput, ResourceMountPathError, ResourceRef, ResourceRefConflictError, type RetainedArtifactFileInput, type RetainedArtifactMetadata, RetainedArtifactMetadataSchema, type RetainedArtifactReference, RetainedArtifactReferenceSchema, type RetainedArtifactUnavailable, RetainedArtifactUnavailableSchema, type RetainedOutputAvailableEvidence, type RetainedOutputEvidence, RetainedOutputEvidenceSchema, RetainedOutputKind, type RetainedOutputRangeResolution, type RetainedOutputResolvedRange, RetainedOutputUnavailableReason, RevokeEnrollmentResponse, Rig, RigChange, RigChangeKind, RigChangeStatus, RigChangeVerification, RigCheck, RigCheckResult, RigDefinitionEditPayload, RigSetupAppendPayload, RigVerificationHealth, RigVersion, RollbackWorkspaceInstructionPolicyRequest, type RunCredentialAuthNeeded, type RunCredentialFile, type RunCredentialRedaction, type RunCredentialsRequest, type RunCredentialsResolution, SESSION_AUTHORIZATION_LIST_SCOPE_MAX_IDS, SESSION_EFFECTIVE_TOOL_POLICY_ID_LIMIT, SESSION_EFFECTIVE_TOOL_POLICY_ID_MAX_LENGTH, SESSION_EVENT_CLIENT_EVENT_ID_MAX_BYTES, SESSION_EVENT_DUPLICATE_REASON_MAX_BYTES, SESSION_EVENT_ENVELOPE_MAX_BYTES, SESSION_EVENT_PAYLOAD_MAX_BYTES, SESSION_EVENT_RAW_DELTA_TYPES, SESSION_EVENT_SEMANTIC_CLASS_TYPES, SESSION_EVENT_TURN_ASSOCIATION_MAX_BYTES, SESSION_EVENT_TYPE_MAX_BYTES, SESSION_MCP_APPROVAL_POLICY_MAX_BYTES, SESSION_MCP_APPROVAL_POLICY_MAX_TOOL_NAMES, SESSION_MCP_APPROVAL_TOOL_NAME_MAX_BYTES, SESSION_MCP_SERVERS_MAX, SESSION_OPERATION_KEY_MAX_CHARS, SandboxBackend, SandboxCapabilityName, SandboxCommandOutputDeltaPayload, SandboxOs, type SandboxSecrets, type SandboxSecretsRequest, SaveComposerDraftRequest, SaveNewSessionDraftRequest, ScheduledTask, ScheduledTaskAgentConfig, ScheduledTaskOverlapPolicy, ScheduledTaskRun, ScheduledTaskRunMode, ScheduledTaskRunStatus, ScheduledTaskScheduleSpec, ScheduledTaskStatus, ScheduledTaskTriggerType, type SecretForRedaction, ServiceTurnInitiator, ServiceTurnInitiatorContext, Session, SessionAuthorizationActor, SessionAuthorizationDecision, SessionAuthorizationListScope, SessionAuthorizationOperation, type SessionAuthorizationPort, SessionAuthorizationSurface, SessionAuthorizationTarget, SessionBusMessage, SessionCapabilities, SessionCommandReceipt, SessionControlRequest, SessionControlResponse, SessionControlState, SessionEffectiveToolPolicy, SessionEvent, type SessionEventBoundarySurface, type SessionEventCompactResult, type SessionEventJsonMeasurement, SessionEventLatestClass, type SessionEventMediaPreview, SessionEventPayloadMode, type SessionEventPayloadTruncation, SessionEventReadDirection, SessionEventReadMode, SessionEventResultMode, SessionEventSemanticClass, SessionEventType, SessionGoal, SessionGoalContinuation, SessionGoalContinuationReason, SessionGoalContinuationState, SessionGoalCreatedBy, SessionGoalPausedReason, SessionGoalStatus, SessionHumanInputRequest, SessionLineageResponse, SessionListResponse, SessionMcpApprovalPolicy, SessionMcpCredentialUpdateInput, SessionMcpServerId, SessionMcpServerInput, SessionMcpServerMetadata, SessionPendingInputPreview, SessionQueueMutationResponse, SessionQueueSnapshot, SessionSkill, SessionSkills, SessionSpawnDenial, SessionStatus, SessionStructuredCapabilities, type SessionSummary, SessionSystemUpdate, SessionSystemUpdateKind, SessionSystemUpdatePayload, SessionSystemUpdateState, SessionToolPolicy, SessionTurn, SessionTurnSource, SessionTurnStatus, SetVariableSetVariableRequest, SetWorkspaceDefaultRigRequest, SetWorkspaceEnvironmentVariableRequest, SocialConnection, SocialConnectionStatus, SocialPost, SocialProvider, StaticUsageLimits, SteerSessionMessageRequest, SteerSessionMessageResponse, SteerSessionQueueItemRequest, StreamClosedPayload, StreamOpenedPayload, StreamRevokedPayload, StreamTokenPayload, StreamUrlRotatedPayload, SubmitHumanInputResponseRequest, SwapActiveSandboxRequest, SwapActiveSandboxResponse, SystemUpdateClassification, TERMINAL_STREAM_PORT, TURN_EXECUTION_POLICY_METADATA_KEY, TerminalExecRequest, TerminalExecResponse, TerminalPtyExitedPayload, TerminalPtyOutputDeltaPayload, TerminalPtyStartedPayload, ToolAuthNeededPayload, ToolRef, TranscriptionErrorCode, TranscriptionEvent, TranscriptionResultMetadata, TranscriptionSpeaker, TranscriptionTimeSpan, TranscriptionWord, TriggerScheduledTaskRequest, TurnExecutionModelSourceV1, type TurnExecutionPolicyReadV1, TurnExecutionPolicyV1, TurnExecutionReasoningSourceV1, TurnInitiator, TurnInitiatorContext, UNATTRIBUTED_LEGACY_INITIATOR_SUBJECT_ID, UpdateConnectionRequest, UpdateKnowledgeMemoryRequest, UpdateRigRequest, UpdateScheduledTaskRequest, UpdateSessionGoalRequest, UpdateSessionMcpApprovalPolicyRequest, UpdateSessionMcpApprovalPolicyResponse, UpdateSessionPinRequest, UpdateSessionRequest, UpdateSessionToolPolicyRequest, UpdateVariableSetRequest, UpdateWorkspaceEnvironmentRequest, UpdateWorkspaceMemberRequest, UpdateWorkspaceModelPolicyRequest, UpdateWorkspaceRequest, UpdateWorkspaceSettingsRequest, UsageEvent, UsageEventType, UsageLimitsMode, VariableSet, VariableSetVariableMetadata, VariableSetVariableName, ViewerHeartbeatRequest, ViewerHeartbeatResponse, ViewerHolder, WORKSPACE_CONTROL_ACTOR_MAX_BYTES, WORKSPACE_CONTROL_EVENT_MAX_BYTES, WORKSPACE_CONTROL_REASON_MAX_BYTES, WORKSPACE_INSTRUCTION_POLICY_CONTENT_MAX_CHARS, WORKSPACE_INSTRUCTION_POLICY_REASON_MAX_CHARS, WORKSPACE_INSTRUCTION_POLICY_ROLE_KEY_MAX_CHARS, WORKSPACE_INSTRUCTION_POLICY_SOURCE_ID_MAX_CHARS, Workspace, WorkspaceCaptureDegradedReason, WorkspaceCaptureFile, WorkspaceCaptureManifest, WorkspaceCaptureRepo, WorkspaceCaptureSignedUrl, WorkspaceCaptureStats, type WorkspaceControlBoundarySurface, WorkspaceControlEvent, WorkspaceControlEventTruncation, WorkspaceEnvironment, WorkspaceEnvironmentVariableMetadata, WorkspaceInferenceControlRequest, WorkspaceInferenceControlResponse, WorkspaceInferenceState, WorkspaceInstructionPolicyActivationEvent, WorkspaceInstructionPolicyActivationResponse, WorkspaceInstructionPolicyActivationType, WorkspaceInstructionPolicyConflictResponse, WorkspaceInstructionPolicyDiffRequest, WorkspaceInstructionPolicyDiffResponse, WorkspaceInstructionPolicyDraftProvenanceSource, WorkspaceInstructionPolicyHead, WorkspaceInstructionPolicyKind, WorkspaceInstructionPolicyListQuery, WorkspaceInstructionPolicyListResponse, WorkspaceInstructionPolicyProvenance, WorkspaceInstructionPolicyProvenanceSource, WorkspaceInstructionPolicyRevision, WorkspaceInstructionPolicyRevisionIdentity, WorkspaceInstructionPolicyRoleKey, WorkspaceInstructionPolicyScope, WorkspaceInstructionPolicyTarget, WorkspaceMember, WorkspaceMemorySearchMode, WorkspaceMemorySearchRequest, WorkspaceMemorySearchResponse, WorkspaceMemorySearchResult, WorkspaceModelCatalogModel, WorkspaceModelCatalogResponse, type WorkspaceModelPolicyContract, type WorkspaceModelPolicyVerdict, WorkspaceRegisteredPack, WorkspaceRevisionCapturedPayload, WorkspaceRevisionDegradedPayload, type WorkspaceSettings, WorkspaceSettingsSchema, WorkspaceTranscriptionPolicy, WorkspaceTranscriptionTarget, approvalIdentifier, approximateSessionEventTokens, assertUniqueResourceMountPaths, boundSessionEvent, boundSessionEventPayload, boundWorkspaceControlEvent, canonicalCodexFleetReplayJsonV1, capabilityCatalogItemIsTrustedForExposure, compactSessionEventResult, compareCodexFleetCanonicalStringsV1, createCodexFleetReplayRecordV1, createSecretRedactor, defaultRepositoryMountPath, effectiveCodexFleetCacheStateV1, evaluateCodexFleetDecisionV1, evaluateWorkspaceModelPolicy, gitCredentialBindingIdForRepository, gitCredentialProviderForRepository, identityRedactor, isClearedRunStateBlob, isCredentialHeaderName, isSensitiveFieldName, measureSessionEventJson, mergeResourceRefs, mergeToolRefs, metadataWithTurnExecutionPolicyV1, normalizeRepositorySubpath, normalizeResourceMountPath, normalizeWorkspaceInstructionPolicyRoleKey, prefixedMcpToolName, readCodexFleetReplayRecordV1, readTurnExecutionPolicyV1, reasoningEffortForMetadata, redactSensitiveData, redactSensitiveKey, redactSensitiveText, redactSerializedJson, renderSessionSystemUpdateBatch, replayCodexFleetDecisionV1, resolveRetainedOutputRange, resolveSessionEventTypeFilters, resolveWorkspaceMemoryEnabled, resourceIdentityKey, resourceMountPath, resourceMountPathCollisionKey, retainedArtifactReferenceFromFile, retainedOutputUnavailable, sessionEventJsonBytes, sessionEventLatestClassToSemanticClass, sessionEventMediaPreview, sessionEventMediaPreviewFromDataUrl, sessionEventPayloadTruncation, sessionSystemUpdateBatchHistoryItem, signDelegatedAccessToken, signEnrollToken, signEnrollmentBearer, signRelayToken, signStreamToken, stableJson, turnExecutionPolicyAuditMetadata, validateRetainedOutputEvidence, verifyDelegatedAccessToken, verifyEnrollToken, verifyEnrollmentBearer, verifyRelayToken, verifyStreamToken, workspaceControlUtf8Bytes };