@opengeni/contracts 0.20.1 → 0.22.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,73 @@ 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
+ * Ordinary sessions get only the small self-management surface. Authorization
1255
+ * permissions remain an independent, additional boundary.
1256
+ */
1257
+ declare const DEFAULT_FIRST_PARTY_MCP_TOOLS: readonly ["set_session_title", "goal_set", "goal_update", "goal_complete", "goal_pause"];
1191
1258
  declare function prefixedMcpToolName(registryId: string, toolName: string): string;
1192
1259
  declare const ProductAccessMode: z.ZodEnum<{
1193
1260
  local: "local";
@@ -1920,6 +1987,58 @@ declare const DelegatedAccessTokenPayload: z.ZodObject<{
1920
1987
  }, z.core.$strip>>;
1921
1988
  serviceInitiatorContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1922
1989
  sessionId: z.ZodOptional<z.ZodString>;
1990
+ firstPartyMcpTools: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1991
+ set_session_title: "set_session_title";
1992
+ goal_set: "goal_set";
1993
+ goal_update: "goal_update";
1994
+ goal_complete: "goal_complete";
1995
+ goal_pause: "goal_pause";
1996
+ memory_search: "memory_search";
1997
+ memory_save: "memory_save";
1998
+ memory_correct: "memory_correct";
1999
+ sandboxes_list: "sandboxes_list";
2000
+ sandbox_attach: "sandbox_attach";
2001
+ sandbox_swap: "sandbox_swap";
2002
+ run_on: "run_on";
2003
+ sandbox_provision: "sandbox_provision";
2004
+ rig_list: "rig_list";
2005
+ rig_get: "rig_get";
2006
+ rig_propose_change: "rig_propose_change";
2007
+ rig_verify: "rig_verify";
2008
+ rig_promote: "rig_promote";
2009
+ sessions_list: "sessions_list";
2010
+ session_get: "session_get";
2011
+ session_events: "session_events";
2012
+ session_create: "session_create";
2013
+ session_send_message: "session_send_message";
2014
+ session_pause: "session_pause";
2015
+ session_resume: "session_resume";
2016
+ session_steer: "session_steer";
2017
+ set_other_session_title: "set_other_session_title";
2018
+ variable_set_list: "variable_set_list";
2019
+ environment_list: "environment_list";
2020
+ variable_set_set_variable: "variable_set_set_variable";
2021
+ environment_set_variable: "environment_set_variable";
2022
+ github_connect_link: "github_connect_link";
2023
+ github_token: "github_token";
2024
+ github_repositories_list: "github_repositories_list";
2025
+ social_connections_list: "social_connections_list";
2026
+ social_posts_recent: "social_posts_recent";
2027
+ social_daily_analysis_context: "social_daily_analysis_context";
2028
+ scheduled_tasks_list: "scheduled_tasks_list";
2029
+ scheduled_tasks_get: "scheduled_tasks_get";
2030
+ scheduled_tasks_create: "scheduled_tasks_create";
2031
+ scheduled_tasks_update: "scheduled_tasks_update";
2032
+ scheduled_tasks_pause: "scheduled_tasks_pause";
2033
+ scheduled_tasks_resume: "scheduled_tasks_resume";
2034
+ scheduled_tasks_trigger: "scheduled_tasks_trigger";
2035
+ scheduled_tasks_delete: "scheduled_tasks_delete";
2036
+ scheduled_task_runs_list: "scheduled_task_runs_list";
2037
+ slack_bot_list_channels: "slack_bot_list_channels";
2038
+ slack_bot_channel_history: "slack_bot_channel_history";
2039
+ slack_bot_list_users: "slack_bot_list_users";
2040
+ slack_bot_post_message: "slack_bot_post_message";
2041
+ }>>>;
1923
2042
  turnId: z.ZodOptional<z.ZodString>;
1924
2043
  attemptId: z.ZodOptional<z.ZodString>;
1925
2044
  executionGeneration: z.ZodOptional<z.ZodNumber>;
@@ -4382,192 +4501,6 @@ declare const ComposerDraft: z.ZodObject<{
4382
4501
  updatedAt: z.ZodNullable<z.ZodString>;
4383
4502
  }, z.core.$strip>;
4384
4503
  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
4504
  declare const MoveSessionQueueItemRequest: z.ZodObject<{
4572
4505
  clientEventId: z.ZodString;
4573
4506
  expectedQueueVersion: z.ZodNumber;
@@ -5148,7 +5081,6 @@ declare const SessionSystemUpdateState: z.ZodEnum<{
5148
5081
  cancelled: "cancelled";
5149
5082
  pending: "pending";
5150
5083
  superseded: "superseded";
5151
- deferred: "deferred";
5152
5084
  delivered: "delivered";
5153
5085
  }>;
5154
5086
  type SessionSystemUpdateState = z.infer<typeof SessionSystemUpdateState>;
@@ -5236,14 +5168,261 @@ declare const SessionSystemUpdate: z.ZodObject<{
5236
5168
  cancelled: "cancelled";
5237
5169
  pending: "pending";
5238
5170
  superseded: "superseded";
5239
- deferred: "deferred";
5240
5171
  delivered: "delivered";
5241
5172
  }>;
5242
5173
  deliveredTurnId: z.ZodNullable<z.ZodString>;
5174
+ deliveredHistoryItemId: z.ZodNullable<z.ZodString>;
5243
5175
  deliveredAt: z.ZodNullable<z.ZodString>;
5244
5176
  createdAt: z.ZodString;
5245
5177
  }, z.core.$strip>;
5246
5178
  type SessionSystemUpdate = z.infer<typeof SessionSystemUpdate>;
5179
+ /**
5180
+ * Bounded queue projection of a canonical pending machine input. Full payload,
5181
+ * lineage, and dedupe data remain in canonical storage and never inflate the
5182
+ * hot queue response.
5183
+ */
5184
+ declare const SessionPendingInputPreview: z.ZodObject<{
5185
+ id: z.ZodString;
5186
+ createdAt: z.ZodString;
5187
+ kind: z.ZodEnum<{
5188
+ scheduled_occurrence: "scheduled_occurrence";
5189
+ goal_continuation: "goal_continuation";
5190
+ agent_message: "agent_message";
5191
+ agent_steer_instruction: "agent_steer_instruction";
5192
+ child_terminal_result: "child_terminal_result";
5193
+ }>;
5194
+ sessionId: z.ZodString;
5195
+ summary: z.ZodString;
5196
+ classification: z.ZodEnum<{
5197
+ success: "success";
5198
+ failure: "failure";
5199
+ action_required: "action_required";
5200
+ info: "info";
5201
+ }>;
5202
+ sourceId: z.ZodString;
5203
+ }, z.core.$strip>;
5204
+ type SessionPendingInputPreview = z.infer<typeof SessionPendingInputPreview>;
5205
+ declare const SessionQueueSnapshot: z.ZodObject<{
5206
+ version: z.ZodNumber;
5207
+ effectiveControl: z.ZodObject<{
5208
+ state: z.ZodEnum<{
5209
+ active: "active";
5210
+ paused: "paused";
5211
+ }>;
5212
+ controlVersion: z.ZodNumber;
5213
+ controlEtag: z.ZodString;
5214
+ directState: z.ZodEnum<{
5215
+ active: "active";
5216
+ paused: "paused";
5217
+ }>;
5218
+ primaryBlocker: z.ZodNullable<z.ZodObject<{
5219
+ kind: z.ZodEnum<{
5220
+ session: "session";
5221
+ workspace: "workspace";
5222
+ }>;
5223
+ sessionId: z.ZodOptional<z.ZodString>;
5224
+ displayName: z.ZodString;
5225
+ actor: z.ZodNullable<z.ZodString>;
5226
+ reason: z.ZodNullable<z.ZodString>;
5227
+ changedAt: z.ZodNullable<z.ZodString>;
5228
+ revision: z.ZodNumber;
5229
+ }, z.core.$strip>>;
5230
+ additionalBlockerCount: z.ZodNumber;
5231
+ blockers: z.ZodArray<z.ZodObject<{
5232
+ kind: z.ZodEnum<{
5233
+ session: "session";
5234
+ workspace: "workspace";
5235
+ }>;
5236
+ sessionId: z.ZodOptional<z.ZodString>;
5237
+ displayName: z.ZodString;
5238
+ actor: z.ZodNullable<z.ZodString>;
5239
+ reason: z.ZodNullable<z.ZodString>;
5240
+ changedAt: z.ZodNullable<z.ZodString>;
5241
+ revision: z.ZodNumber;
5242
+ }, z.core.$strip>>;
5243
+ resumeOptions: z.ZodArray<z.ZodObject<{
5244
+ scope: z.ZodEnum<{
5245
+ session: "session";
5246
+ workspace: "workspace";
5247
+ selected: "selected";
5248
+ }>;
5249
+ targetId: z.ZodOptional<z.ZodString>;
5250
+ selectedStateAfter: z.ZodEnum<{
5251
+ active: "active";
5252
+ paused: "paused";
5253
+ }>;
5254
+ remainingPrimaryBlocker: z.ZodOptional<z.ZodObject<{
5255
+ kind: z.ZodEnum<{
5256
+ session: "session";
5257
+ workspace: "workspace";
5258
+ }>;
5259
+ sessionId: z.ZodOptional<z.ZodString>;
5260
+ displayName: z.ZodString;
5261
+ actor: z.ZodNullable<z.ZodString>;
5262
+ reason: z.ZodNullable<z.ZodString>;
5263
+ changedAt: z.ZodNullable<z.ZodString>;
5264
+ revision: z.ZodNumber;
5265
+ }, z.core.$strip>>;
5266
+ impactCopy: z.ZodString;
5267
+ }, z.core.$strip>>;
5268
+ override: z.ZodNullable<z.ZodObject<{
5269
+ rootSessionId: z.ZodString;
5270
+ revision: z.ZodNumber;
5271
+ }, z.core.$strip>>;
5272
+ settlement: z.ZodNullable<z.ZodObject<{
5273
+ state: z.ZodLiteral<"stopping">;
5274
+ attemptCount: z.ZodNumber;
5275
+ interruptionPendingCount: z.ZodNumber;
5276
+ quiescencePendingCount: z.ZodNumber;
5277
+ }, z.core.$strip>>;
5278
+ }, z.core.$strip>;
5279
+ stoppingPreviousAttempt: z.ZodBoolean;
5280
+ items: z.ZodArray<z.ZodObject<{
5281
+ id: z.ZodString;
5282
+ workspaceId: z.ZodString;
5283
+ sessionId: z.ZodString;
5284
+ triggerEventId: z.ZodString;
5285
+ temporalWorkflowId: z.ZodString;
5286
+ status: z.ZodEnum<{
5287
+ queued: "queued";
5288
+ running: "running";
5289
+ requires_action: "requires_action";
5290
+ recovering: "recovering";
5291
+ waiting_capacity: "waiting_capacity";
5292
+ failed: "failed";
5293
+ cancelled: "cancelled";
5294
+ completed: "completed";
5295
+ superseded: "superseded";
5296
+ withdrawn_for_edit: "withdrawn_for_edit";
5297
+ }>;
5298
+ source: z.ZodEnum<{
5299
+ user: "user";
5300
+ scheduled_task: "scheduled_task";
5301
+ api: "api";
5302
+ goal: "goal";
5303
+ system: "system";
5304
+ compaction: "compaction";
5305
+ }>;
5306
+ position: z.ZodNumber;
5307
+ prompt: z.ZodString;
5308
+ resources: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5309
+ kind: z.ZodLiteral<"repository">;
5310
+ uri: z.ZodString;
5311
+ ref: z.ZodString;
5312
+ mountPath: z.ZodOptional<z.ZodString>;
5313
+ subpath: z.ZodOptional<z.ZodString>;
5314
+ provider: z.ZodOptional<z.ZodEnum<{
5315
+ github: "github";
5316
+ gitlab: "gitlab";
5317
+ azure_devops: "azure_devops";
5318
+ }>>;
5319
+ credentialBindingId: z.ZodOptional<z.ZodString>;
5320
+ access: z.ZodOptional<z.ZodEnum<{
5321
+ read: "read";
5322
+ write: "write";
5323
+ }>>;
5324
+ repositoryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
5325
+ installationId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
5326
+ projectId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
5327
+ connectionId: z.ZodOptional<z.ZodString>;
5328
+ githubInstallationId: z.ZodOptional<z.ZodNumber>;
5329
+ githubRepositoryId: z.ZodOptional<z.ZodNumber>;
5330
+ }, z.core.$strip>, z.ZodObject<{
5331
+ kind: z.ZodLiteral<"file">;
5332
+ fileId: z.ZodString;
5333
+ mountPath: z.ZodOptional<z.ZodString>;
5334
+ }, z.core.$strip>], "kind">>;
5335
+ tools: z.ZodArray<z.ZodObject<{
5336
+ kind: z.ZodLiteral<"mcp">;
5337
+ id: z.ZodString;
5338
+ optional: z.ZodOptional<z.ZodBoolean>;
5339
+ }, z.core.$strip>>;
5340
+ toolsProvided: z.ZodOptional<z.ZodBoolean>;
5341
+ model: z.ZodString;
5342
+ reasoningEffort: z.ZodEnum<{
5343
+ none: "none";
5344
+ minimal: "minimal";
5345
+ low: "low";
5346
+ medium: "medium";
5347
+ high: "high";
5348
+ xhigh: "xhigh";
5349
+ }>;
5350
+ sandboxBackend: z.ZodEnum<{
5351
+ docker: "docker";
5352
+ modal: "modal";
5353
+ local: "local";
5354
+ none: "none";
5355
+ daytona: "daytona";
5356
+ runloop: "runloop";
5357
+ e2b: "e2b";
5358
+ blaxel: "blaxel";
5359
+ cloudflare: "cloudflare";
5360
+ vercel: "vercel";
5361
+ selfhosted: "selfhosted";
5362
+ }>;
5363
+ sandboxOs: z.ZodNullable<z.ZodEnum<{
5364
+ linux: "linux";
5365
+ macos: "macos";
5366
+ windows: "windows";
5367
+ }>>;
5368
+ metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5369
+ version: z.ZodNumber;
5370
+ executionGeneration: z.ZodNumber;
5371
+ activeAttemptId: z.ZodNullable<z.ZodString>;
5372
+ lineage: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5373
+ initiator: z.ZodObject<{
5374
+ subjectId: z.ZodString;
5375
+ label: z.ZodOptional<z.ZodString>;
5376
+ kind: z.ZodEnum<{
5377
+ service: "service";
5378
+ subject: "subject";
5379
+ }>;
5380
+ }, z.core.$strip>;
5381
+ initiatorContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5382
+ cancelledBy: z.ZodNullable<z.ZodString>;
5383
+ cancelReason: z.ZodNullable<z.ZodString>;
5384
+ startedAt: z.ZodNullable<z.ZodString>;
5385
+ finishedAt: z.ZodNullable<z.ZodString>;
5386
+ createdAt: z.ZodString;
5387
+ updatedAt: z.ZodString;
5388
+ }, z.core.$strip>>;
5389
+ pendingInputs: z.ZodArray<z.ZodObject<{
5390
+ id: z.ZodString;
5391
+ createdAt: z.ZodString;
5392
+ kind: z.ZodEnum<{
5393
+ scheduled_occurrence: "scheduled_occurrence";
5394
+ goal_continuation: "goal_continuation";
5395
+ agent_message: "agent_message";
5396
+ agent_steer_instruction: "agent_steer_instruction";
5397
+ child_terminal_result: "child_terminal_result";
5398
+ }>;
5399
+ sessionId: z.ZodString;
5400
+ summary: z.ZodString;
5401
+ classification: z.ZodEnum<{
5402
+ success: "success";
5403
+ failure: "failure";
5404
+ action_required: "action_required";
5405
+ info: "info";
5406
+ }>;
5407
+ sourceId: z.ZodString;
5408
+ }, z.core.$strip>>;
5409
+ pendingInputAttachment: z.ZodNullable<z.ZodObject<{
5410
+ turnId: z.ZodString;
5411
+ inputIds: z.ZodArray<z.ZodString>;
5412
+ }, z.core.$strip>>;
5413
+ }, z.core.$strip>;
5414
+ type SessionQueueSnapshot = z.infer<typeof SessionQueueSnapshot>;
5415
+ /**
5416
+ * Deterministic, protocol-safe model representation of one claimed machine
5417
+ * input batch. This exact string is persisted before inference and replayed on
5418
+ * every later turn; callers must not synthesize an equivalent transient copy.
5419
+ */
5420
+ declare function renderSessionSystemUpdateBatch(updates: ReadonlyArray<Pick<SessionSystemUpdate, "id" | "kind" | "classification" | "sourceId" | "summary" | "payload" | "lineage">>): string;
5421
+ declare function sessionSystemUpdateBatchHistoryItem(updates: Parameters<typeof renderSessionSystemUpdateBatch>[0]): {
5422
+ type: "message";
5423
+ role: "system";
5424
+ content: string;
5425
+ };
5247
5426
  declare const VariableSetVariableName: z.ZodString;
5248
5427
  type VariableSetVariableName = z.infer<typeof VariableSetVariableName>;
5249
5428
  declare const VariableSetVariableMetadata: z.ZodObject<{
@@ -6100,6 +6279,37 @@ declare const CapabilityPackSkill: z.ZodObject<{
6100
6279
  }, z.core.$strip>>;
6101
6280
  }, z.core.$strip>;
6102
6281
  type CapabilityPackSkill = z.infer<typeof CapabilityPackSkill>;
6282
+ declare const SessionSkill: z.ZodObject<{
6283
+ name: z.ZodString;
6284
+ description: z.ZodOptional<z.ZodString>;
6285
+ files: z.ZodArray<z.ZodObject<{
6286
+ path: z.ZodString;
6287
+ content: z.ZodString;
6288
+ }, z.core.$strip>>;
6289
+ }, z.core.$strip>;
6290
+ type SessionSkill = z.infer<typeof SessionSkill>;
6291
+ declare const SessionSkills: z.ZodPipe<z.ZodArray<z.ZodObject<{
6292
+ name: z.ZodString;
6293
+ description: z.ZodOptional<z.ZodString>;
6294
+ files: z.ZodArray<z.ZodObject<{
6295
+ path: z.ZodString;
6296
+ content: z.ZodString;
6297
+ }, z.core.$strip>>;
6298
+ }, z.core.$strip>>, z.ZodTransform<{
6299
+ name: string;
6300
+ files: {
6301
+ path: string;
6302
+ content: string;
6303
+ }[];
6304
+ description?: string | undefined;
6305
+ }[], {
6306
+ name: string;
6307
+ files: {
6308
+ path: string;
6309
+ content: string;
6310
+ }[];
6311
+ description?: string | undefined;
6312
+ }[]>>;
6103
6313
  declare const CapabilityPack: z.ZodPreprocess<z.ZodObject<{
6104
6314
  id: z.ZodString;
6105
6315
  name: z.ZodString;
@@ -6585,15 +6795,15 @@ declare const CreateConnectionRequest: z.ZodObject<{
6585
6795
  metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6586
6796
  }, z.core.$strip>;
6587
6797
  type CreateConnectionRequest = z.infer<typeof CreateConnectionRequest>;
6588
- /**
6589
- * Write-only Slack bot installation input. `token` is accepted only by the
6590
- * dedicated validated endpoint and is never represented in a response schema.
6591
- */
6592
- declare const ConnectOpenGeniSlackBotRequest: z.ZodObject<{
6593
- token: z.ZodString;
6798
+ declare const OpenGeniSlackBotInstallRequest: z.ZodObject<{
6594
6799
  connectionId: z.ZodOptional<z.ZodString>;
6595
6800
  }, z.core.$strip>;
6596
- type ConnectOpenGeniSlackBotRequest = z.infer<typeof ConnectOpenGeniSlackBotRequest>;
6801
+ type OpenGeniSlackBotInstallRequest = z.infer<typeof OpenGeniSlackBotInstallRequest>;
6802
+ declare const OpenGeniSlackBotInstallStart: z.ZodObject<{
6803
+ authorizationUrl: z.ZodString;
6804
+ expiresAt: z.ZodString;
6805
+ }, z.core.$strip>;
6806
+ type OpenGeniSlackBotInstallStart = z.infer<typeof OpenGeniSlackBotInstallStart>;
6597
6807
  declare const UpdateConnectionRequest: z.ZodObject<{
6598
6808
  providerDomain: z.ZodOptional<z.ZodString>;
6599
6809
  subjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6747,8 +6957,8 @@ type MarketingDailyAnalysisTaskRequest = z.infer<typeof MarketingDailyAnalysisTa
6747
6957
  declare const CapabilityKind: z.ZodEnum<{
6748
6958
  mcp: "mcp";
6749
6959
  api: "api";
6750
- pack: "pack";
6751
6960
  skill: "skill";
6961
+ pack: "pack";
6752
6962
  plugin: "plugin";
6753
6963
  }>;
6754
6964
  type CapabilityKind = z.infer<typeof CapabilityKind>;
@@ -6805,8 +7015,8 @@ declare const CapabilityCatalogItem: z.ZodObject<{
6805
7015
  kind: z.ZodEnum<{
6806
7016
  mcp: "mcp";
6807
7017
  api: "api";
6808
- pack: "pack";
6809
7018
  skill: "skill";
7019
+ pack: "pack";
6810
7020
  plugin: "plugin";
6811
7021
  }>;
6812
7022
  source: z.ZodEnum<{
@@ -6872,9 +7082,13 @@ declare const CapabilityCatalogItem: z.ZodObject<{
6872
7082
  enabled: z.ZodDefault<z.ZodBoolean>;
6873
7083
  enabledReason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
6874
7084
  connectionRef: z.ZodDefault<z.ZodNullable<z.ZodObject<{
6875
- connectionId: z.ZodString;
7085
+ connectionId: z.ZodOptional<z.ZodString>;
6876
7086
  providerDomain: z.ZodString;
6877
7087
  kind: z.ZodString;
7088
+ subjectScope: z.ZodOptional<z.ZodEnum<{
7089
+ workspace: "workspace";
7090
+ subject: "subject";
7091
+ }>>;
6878
7092
  }, z.core.$strip>>>;
6879
7093
  metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6880
7094
  createdAt: z.ZodOptional<z.ZodString>;
@@ -6897,8 +7111,8 @@ declare const CapabilityInstallation: z.ZodObject<{
6897
7111
  kind: z.ZodEnum<{
6898
7112
  mcp: "mcp";
6899
7113
  api: "api";
6900
- pack: "pack";
6901
7114
  skill: "skill";
7115
+ pack: "pack";
6902
7116
  plugin: "plugin";
6903
7117
  }>;
6904
7118
  status: z.ZodEnum<{
@@ -6975,8 +7189,8 @@ declare const CapabilityCatalogResponse: z.ZodObject<{
6975
7189
  kind: z.ZodEnum<{
6976
7190
  mcp: "mcp";
6977
7191
  api: "api";
6978
- pack: "pack";
6979
7192
  skill: "skill";
7193
+ pack: "pack";
6980
7194
  plugin: "plugin";
6981
7195
  }>;
6982
7196
  source: z.ZodEnum<{
@@ -7042,9 +7256,13 @@ declare const CapabilityCatalogResponse: z.ZodObject<{
7042
7256
  enabled: z.ZodDefault<z.ZodBoolean>;
7043
7257
  enabledReason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
7044
7258
  connectionRef: z.ZodDefault<z.ZodNullable<z.ZodObject<{
7045
- connectionId: z.ZodString;
7259
+ connectionId: z.ZodOptional<z.ZodString>;
7046
7260
  providerDomain: z.ZodString;
7047
7261
  kind: z.ZodString;
7262
+ subjectScope: z.ZodOptional<z.ZodEnum<{
7263
+ workspace: "workspace";
7264
+ subject: "subject";
7265
+ }>>;
7048
7266
  }, z.core.$strip>>>;
7049
7267
  metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7050
7268
  createdAt: z.ZodOptional<z.ZodString>;
@@ -7058,8 +7276,8 @@ declare const CapabilityCatalogResponse: z.ZodObject<{
7058
7276
  kind: z.ZodEnum<{
7059
7277
  mcp: "mcp";
7060
7278
  api: "api";
7061
- pack: "pack";
7062
7279
  skill: "skill";
7280
+ pack: "pack";
7063
7281
  plugin: "plugin";
7064
7282
  }>;
7065
7283
  status: z.ZodEnum<{
@@ -7081,8 +7299,8 @@ declare const DiscoverMcpCapabilitiesResponse: z.ZodObject<{
7081
7299
  kind: z.ZodEnum<{
7082
7300
  mcp: "mcp";
7083
7301
  api: "api";
7084
- pack: "pack";
7085
7302
  skill: "skill";
7303
+ pack: "pack";
7086
7304
  plugin: "plugin";
7087
7305
  }>;
7088
7306
  source: z.ZodEnum<{
@@ -7148,9 +7366,13 @@ declare const DiscoverMcpCapabilitiesResponse: z.ZodObject<{
7148
7366
  enabled: z.ZodDefault<z.ZodBoolean>;
7149
7367
  enabledReason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
7150
7368
  connectionRef: z.ZodDefault<z.ZodNullable<z.ZodObject<{
7151
- connectionId: z.ZodString;
7369
+ connectionId: z.ZodOptional<z.ZodString>;
7152
7370
  providerDomain: z.ZodString;
7153
7371
  kind: z.ZodString;
7372
+ subjectScope: z.ZodOptional<z.ZodEnum<{
7373
+ workspace: "workspace";
7374
+ subject: "subject";
7375
+ }>>;
7154
7376
  }, z.core.$strip>>>;
7155
7377
  metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7156
7378
  createdAt: z.ZodOptional<z.ZodString>;
@@ -7208,6 +7430,28 @@ declare const Session: z.ZodObject<{
7208
7430
  fileId: z.ZodString;
7209
7431
  mountPath: z.ZodOptional<z.ZodString>;
7210
7432
  }, z.core.$strip>], "kind">>;
7433
+ skills: z.ZodDefault<z.ZodPipe<z.ZodArray<z.ZodObject<{
7434
+ name: z.ZodString;
7435
+ description: z.ZodOptional<z.ZodString>;
7436
+ files: z.ZodArray<z.ZodObject<{
7437
+ path: z.ZodString;
7438
+ content: z.ZodString;
7439
+ }, z.core.$strip>>;
7440
+ }, z.core.$strip>>, z.ZodTransform<{
7441
+ name: string;
7442
+ files: {
7443
+ path: string;
7444
+ content: string;
7445
+ }[];
7446
+ description?: string | undefined;
7447
+ }[], {
7448
+ name: string;
7449
+ files: {
7450
+ path: string;
7451
+ content: string;
7452
+ }[];
7453
+ description?: string | undefined;
7454
+ }[]>>>;
7211
7455
  tools: z.ZodArray<z.ZodObject<{
7212
7456
  kind: z.ZodLiteral<"mcp">;
7213
7457
  id: z.ZodString;
@@ -7329,6 +7573,58 @@ declare const Session: z.ZodObject<{
7329
7573
  "rigs:use": "rigs:use";
7330
7574
  "rigs:manage": "rigs:manage";
7331
7575
  }>>>;
7576
+ firstPartyMcpTools: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodEnum<{
7577
+ set_session_title: "set_session_title";
7578
+ goal_set: "goal_set";
7579
+ goal_update: "goal_update";
7580
+ goal_complete: "goal_complete";
7581
+ goal_pause: "goal_pause";
7582
+ memory_search: "memory_search";
7583
+ memory_save: "memory_save";
7584
+ memory_correct: "memory_correct";
7585
+ sandboxes_list: "sandboxes_list";
7586
+ sandbox_attach: "sandbox_attach";
7587
+ sandbox_swap: "sandbox_swap";
7588
+ run_on: "run_on";
7589
+ sandbox_provision: "sandbox_provision";
7590
+ rig_list: "rig_list";
7591
+ rig_get: "rig_get";
7592
+ rig_propose_change: "rig_propose_change";
7593
+ rig_verify: "rig_verify";
7594
+ rig_promote: "rig_promote";
7595
+ sessions_list: "sessions_list";
7596
+ session_get: "session_get";
7597
+ session_events: "session_events";
7598
+ session_create: "session_create";
7599
+ session_send_message: "session_send_message";
7600
+ session_pause: "session_pause";
7601
+ session_resume: "session_resume";
7602
+ session_steer: "session_steer";
7603
+ set_other_session_title: "set_other_session_title";
7604
+ variable_set_list: "variable_set_list";
7605
+ environment_list: "environment_list";
7606
+ variable_set_set_variable: "variable_set_set_variable";
7607
+ environment_set_variable: "environment_set_variable";
7608
+ github_connect_link: "github_connect_link";
7609
+ github_token: "github_token";
7610
+ github_repositories_list: "github_repositories_list";
7611
+ social_connections_list: "social_connections_list";
7612
+ social_posts_recent: "social_posts_recent";
7613
+ social_daily_analysis_context: "social_daily_analysis_context";
7614
+ scheduled_tasks_list: "scheduled_tasks_list";
7615
+ scheduled_tasks_get: "scheduled_tasks_get";
7616
+ scheduled_tasks_create: "scheduled_tasks_create";
7617
+ scheduled_tasks_update: "scheduled_tasks_update";
7618
+ scheduled_tasks_pause: "scheduled_tasks_pause";
7619
+ scheduled_tasks_resume: "scheduled_tasks_resume";
7620
+ scheduled_tasks_trigger: "scheduled_tasks_trigger";
7621
+ scheduled_tasks_delete: "scheduled_tasks_delete";
7622
+ scheduled_task_runs_list: "scheduled_task_runs_list";
7623
+ slack_bot_list_channels: "slack_bot_list_channels";
7624
+ slack_bot_channel_history: "slack_bot_channel_history";
7625
+ slack_bot_list_users: "slack_bot_list_users";
7626
+ slack_bot_post_message: "slack_bot_post_message";
7627
+ }>>>>;
7332
7628
  mcpServers: z.ZodDefault<z.ZodArray<z.ZodObject<{
7333
7629
  id: z.ZodString;
7334
7630
  name: z.ZodNullable<z.ZodString>;
@@ -7522,6 +7818,28 @@ declare const CreateSessionResponse: z.ZodObject<{
7522
7818
  fileId: z.ZodString;
7523
7819
  mountPath: z.ZodOptional<z.ZodString>;
7524
7820
  }, z.core.$strip>], "kind">>;
7821
+ skills: z.ZodDefault<z.ZodPipe<z.ZodArray<z.ZodObject<{
7822
+ name: z.ZodString;
7823
+ description: z.ZodOptional<z.ZodString>;
7824
+ files: z.ZodArray<z.ZodObject<{
7825
+ path: z.ZodString;
7826
+ content: z.ZodString;
7827
+ }, z.core.$strip>>;
7828
+ }, z.core.$strip>>, z.ZodTransform<{
7829
+ name: string;
7830
+ files: {
7831
+ path: string;
7832
+ content: string;
7833
+ }[];
7834
+ description?: string | undefined;
7835
+ }[], {
7836
+ name: string;
7837
+ files: {
7838
+ path: string;
7839
+ content: string;
7840
+ }[];
7841
+ description?: string | undefined;
7842
+ }[]>>>;
7525
7843
  tools: z.ZodArray<z.ZodObject<{
7526
7844
  kind: z.ZodLiteral<"mcp">;
7527
7845
  id: z.ZodString;
@@ -7643,6 +7961,58 @@ declare const CreateSessionResponse: z.ZodObject<{
7643
7961
  "rigs:use": "rigs:use";
7644
7962
  "rigs:manage": "rigs:manage";
7645
7963
  }>>>;
7964
+ firstPartyMcpTools: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodEnum<{
7965
+ set_session_title: "set_session_title";
7966
+ goal_set: "goal_set";
7967
+ goal_update: "goal_update";
7968
+ goal_complete: "goal_complete";
7969
+ goal_pause: "goal_pause";
7970
+ memory_search: "memory_search";
7971
+ memory_save: "memory_save";
7972
+ memory_correct: "memory_correct";
7973
+ sandboxes_list: "sandboxes_list";
7974
+ sandbox_attach: "sandbox_attach";
7975
+ sandbox_swap: "sandbox_swap";
7976
+ run_on: "run_on";
7977
+ sandbox_provision: "sandbox_provision";
7978
+ rig_list: "rig_list";
7979
+ rig_get: "rig_get";
7980
+ rig_propose_change: "rig_propose_change";
7981
+ rig_verify: "rig_verify";
7982
+ rig_promote: "rig_promote";
7983
+ sessions_list: "sessions_list";
7984
+ session_get: "session_get";
7985
+ session_events: "session_events";
7986
+ session_create: "session_create";
7987
+ session_send_message: "session_send_message";
7988
+ session_pause: "session_pause";
7989
+ session_resume: "session_resume";
7990
+ session_steer: "session_steer";
7991
+ set_other_session_title: "set_other_session_title";
7992
+ variable_set_list: "variable_set_list";
7993
+ environment_list: "environment_list";
7994
+ variable_set_set_variable: "variable_set_set_variable";
7995
+ environment_set_variable: "environment_set_variable";
7996
+ github_connect_link: "github_connect_link";
7997
+ github_token: "github_token";
7998
+ github_repositories_list: "github_repositories_list";
7999
+ social_connections_list: "social_connections_list";
8000
+ social_posts_recent: "social_posts_recent";
8001
+ social_daily_analysis_context: "social_daily_analysis_context";
8002
+ scheduled_tasks_list: "scheduled_tasks_list";
8003
+ scheduled_tasks_get: "scheduled_tasks_get";
8004
+ scheduled_tasks_create: "scheduled_tasks_create";
8005
+ scheduled_tasks_update: "scheduled_tasks_update";
8006
+ scheduled_tasks_pause: "scheduled_tasks_pause";
8007
+ scheduled_tasks_resume: "scheduled_tasks_resume";
8008
+ scheduled_tasks_trigger: "scheduled_tasks_trigger";
8009
+ scheduled_tasks_delete: "scheduled_tasks_delete";
8010
+ scheduled_task_runs_list: "scheduled_task_runs_list";
8011
+ slack_bot_list_channels: "slack_bot_list_channels";
8012
+ slack_bot_channel_history: "slack_bot_channel_history";
8013
+ slack_bot_list_users: "slack_bot_list_users";
8014
+ slack_bot_post_message: "slack_bot_post_message";
8015
+ }>>>>;
7646
8016
  mcpServers: z.ZodDefault<z.ZodArray<z.ZodObject<{
7647
8017
  id: z.ZodString;
7648
8018
  name: z.ZodNullable<z.ZodString>;
@@ -7842,6 +8212,28 @@ declare const SessionListResponse: z.ZodObject<{
7842
8212
  fileId: z.ZodString;
7843
8213
  mountPath: z.ZodOptional<z.ZodString>;
7844
8214
  }, z.core.$strip>], "kind">>;
8215
+ skills: z.ZodDefault<z.ZodPipe<z.ZodArray<z.ZodObject<{
8216
+ name: z.ZodString;
8217
+ description: z.ZodOptional<z.ZodString>;
8218
+ files: z.ZodArray<z.ZodObject<{
8219
+ path: z.ZodString;
8220
+ content: z.ZodString;
8221
+ }, z.core.$strip>>;
8222
+ }, z.core.$strip>>, z.ZodTransform<{
8223
+ name: string;
8224
+ files: {
8225
+ path: string;
8226
+ content: string;
8227
+ }[];
8228
+ description?: string | undefined;
8229
+ }[], {
8230
+ name: string;
8231
+ files: {
8232
+ path: string;
8233
+ content: string;
8234
+ }[];
8235
+ description?: string | undefined;
8236
+ }[]>>>;
7845
8237
  tools: z.ZodArray<z.ZodObject<{
7846
8238
  kind: z.ZodLiteral<"mcp">;
7847
8239
  id: z.ZodString;
@@ -7963,6 +8355,58 @@ declare const SessionListResponse: z.ZodObject<{
7963
8355
  "rigs:use": "rigs:use";
7964
8356
  "rigs:manage": "rigs:manage";
7965
8357
  }>>>;
8358
+ firstPartyMcpTools: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodEnum<{
8359
+ set_session_title: "set_session_title";
8360
+ goal_set: "goal_set";
8361
+ goal_update: "goal_update";
8362
+ goal_complete: "goal_complete";
8363
+ goal_pause: "goal_pause";
8364
+ memory_search: "memory_search";
8365
+ memory_save: "memory_save";
8366
+ memory_correct: "memory_correct";
8367
+ sandboxes_list: "sandboxes_list";
8368
+ sandbox_attach: "sandbox_attach";
8369
+ sandbox_swap: "sandbox_swap";
8370
+ run_on: "run_on";
8371
+ sandbox_provision: "sandbox_provision";
8372
+ rig_list: "rig_list";
8373
+ rig_get: "rig_get";
8374
+ rig_propose_change: "rig_propose_change";
8375
+ rig_verify: "rig_verify";
8376
+ rig_promote: "rig_promote";
8377
+ sessions_list: "sessions_list";
8378
+ session_get: "session_get";
8379
+ session_events: "session_events";
8380
+ session_create: "session_create";
8381
+ session_send_message: "session_send_message";
8382
+ session_pause: "session_pause";
8383
+ session_resume: "session_resume";
8384
+ session_steer: "session_steer";
8385
+ set_other_session_title: "set_other_session_title";
8386
+ variable_set_list: "variable_set_list";
8387
+ environment_list: "environment_list";
8388
+ variable_set_set_variable: "variable_set_set_variable";
8389
+ environment_set_variable: "environment_set_variable";
8390
+ github_connect_link: "github_connect_link";
8391
+ github_token: "github_token";
8392
+ github_repositories_list: "github_repositories_list";
8393
+ social_connections_list: "social_connections_list";
8394
+ social_posts_recent: "social_posts_recent";
8395
+ social_daily_analysis_context: "social_daily_analysis_context";
8396
+ scheduled_tasks_list: "scheduled_tasks_list";
8397
+ scheduled_tasks_get: "scheduled_tasks_get";
8398
+ scheduled_tasks_create: "scheduled_tasks_create";
8399
+ scheduled_tasks_update: "scheduled_tasks_update";
8400
+ scheduled_tasks_pause: "scheduled_tasks_pause";
8401
+ scheduled_tasks_resume: "scheduled_tasks_resume";
8402
+ scheduled_tasks_trigger: "scheduled_tasks_trigger";
8403
+ scheduled_tasks_delete: "scheduled_tasks_delete";
8404
+ scheduled_task_runs_list: "scheduled_task_runs_list";
8405
+ slack_bot_list_channels: "slack_bot_list_channels";
8406
+ slack_bot_channel_history: "slack_bot_channel_history";
8407
+ slack_bot_list_users: "slack_bot_list_users";
8408
+ slack_bot_post_message: "slack_bot_post_message";
8409
+ }>>>>;
7966
8410
  mcpServers: z.ZodDefault<z.ZodArray<z.ZodObject<{
7967
8411
  id: z.ZodString;
7968
8412
  name: z.ZodNullable<z.ZodString>;
@@ -8151,6 +8595,28 @@ declare const SessionListResponse: z.ZodObject<{
8151
8595
  fileId: z.ZodString;
8152
8596
  mountPath: z.ZodOptional<z.ZodString>;
8153
8597
  }, z.core.$strip>], "kind">>;
8598
+ skills: z.ZodDefault<z.ZodPipe<z.ZodArray<z.ZodObject<{
8599
+ name: z.ZodString;
8600
+ description: z.ZodOptional<z.ZodString>;
8601
+ files: z.ZodArray<z.ZodObject<{
8602
+ path: z.ZodString;
8603
+ content: z.ZodString;
8604
+ }, z.core.$strip>>;
8605
+ }, z.core.$strip>>, z.ZodTransform<{
8606
+ name: string;
8607
+ files: {
8608
+ path: string;
8609
+ content: string;
8610
+ }[];
8611
+ description?: string | undefined;
8612
+ }[], {
8613
+ name: string;
8614
+ files: {
8615
+ path: string;
8616
+ content: string;
8617
+ }[];
8618
+ description?: string | undefined;
8619
+ }[]>>>;
8154
8620
  tools: z.ZodArray<z.ZodObject<{
8155
8621
  kind: z.ZodLiteral<"mcp">;
8156
8622
  id: z.ZodString;
@@ -8272,6 +8738,58 @@ declare const SessionListResponse: z.ZodObject<{
8272
8738
  "rigs:use": "rigs:use";
8273
8739
  "rigs:manage": "rigs:manage";
8274
8740
  }>>>;
8741
+ firstPartyMcpTools: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodEnum<{
8742
+ set_session_title: "set_session_title";
8743
+ goal_set: "goal_set";
8744
+ goal_update: "goal_update";
8745
+ goal_complete: "goal_complete";
8746
+ goal_pause: "goal_pause";
8747
+ memory_search: "memory_search";
8748
+ memory_save: "memory_save";
8749
+ memory_correct: "memory_correct";
8750
+ sandboxes_list: "sandboxes_list";
8751
+ sandbox_attach: "sandbox_attach";
8752
+ sandbox_swap: "sandbox_swap";
8753
+ run_on: "run_on";
8754
+ sandbox_provision: "sandbox_provision";
8755
+ rig_list: "rig_list";
8756
+ rig_get: "rig_get";
8757
+ rig_propose_change: "rig_propose_change";
8758
+ rig_verify: "rig_verify";
8759
+ rig_promote: "rig_promote";
8760
+ sessions_list: "sessions_list";
8761
+ session_get: "session_get";
8762
+ session_events: "session_events";
8763
+ session_create: "session_create";
8764
+ session_send_message: "session_send_message";
8765
+ session_pause: "session_pause";
8766
+ session_resume: "session_resume";
8767
+ session_steer: "session_steer";
8768
+ set_other_session_title: "set_other_session_title";
8769
+ variable_set_list: "variable_set_list";
8770
+ environment_list: "environment_list";
8771
+ variable_set_set_variable: "variable_set_set_variable";
8772
+ environment_set_variable: "environment_set_variable";
8773
+ github_connect_link: "github_connect_link";
8774
+ github_token: "github_token";
8775
+ github_repositories_list: "github_repositories_list";
8776
+ social_connections_list: "social_connections_list";
8777
+ social_posts_recent: "social_posts_recent";
8778
+ social_daily_analysis_context: "social_daily_analysis_context";
8779
+ scheduled_tasks_list: "scheduled_tasks_list";
8780
+ scheduled_tasks_get: "scheduled_tasks_get";
8781
+ scheduled_tasks_create: "scheduled_tasks_create";
8782
+ scheduled_tasks_update: "scheduled_tasks_update";
8783
+ scheduled_tasks_pause: "scheduled_tasks_pause";
8784
+ scheduled_tasks_resume: "scheduled_tasks_resume";
8785
+ scheduled_tasks_trigger: "scheduled_tasks_trigger";
8786
+ scheduled_tasks_delete: "scheduled_tasks_delete";
8787
+ scheduled_task_runs_list: "scheduled_task_runs_list";
8788
+ slack_bot_list_channels: "slack_bot_list_channels";
8789
+ slack_bot_channel_history: "slack_bot_channel_history";
8790
+ slack_bot_list_users: "slack_bot_list_users";
8791
+ slack_bot_post_message: "slack_bot_post_message";
8792
+ }>>>>;
8275
8793
  mcpServers: z.ZodDefault<z.ZodArray<z.ZodObject<{
8276
8794
  id: z.ZodString;
8277
8795
  name: z.ZodNullable<z.ZodString>;
@@ -8468,6 +8986,28 @@ declare const SessionLineageResponse: z.ZodObject<{
8468
8986
  fileId: z.ZodString;
8469
8987
  mountPath: z.ZodOptional<z.ZodString>;
8470
8988
  }, z.core.$strip>], "kind">>;
8989
+ skills: z.ZodDefault<z.ZodPipe<z.ZodArray<z.ZodObject<{
8990
+ name: z.ZodString;
8991
+ description: z.ZodOptional<z.ZodString>;
8992
+ files: z.ZodArray<z.ZodObject<{
8993
+ path: z.ZodString;
8994
+ content: z.ZodString;
8995
+ }, z.core.$strip>>;
8996
+ }, z.core.$strip>>, z.ZodTransform<{
8997
+ name: string;
8998
+ files: {
8999
+ path: string;
9000
+ content: string;
9001
+ }[];
9002
+ description?: string | undefined;
9003
+ }[], {
9004
+ name: string;
9005
+ files: {
9006
+ path: string;
9007
+ content: string;
9008
+ }[];
9009
+ description?: string | undefined;
9010
+ }[]>>>;
8471
9011
  tools: z.ZodArray<z.ZodObject<{
8472
9012
  kind: z.ZodLiteral<"mcp">;
8473
9013
  id: z.ZodString;
@@ -8589,6 +9129,58 @@ declare const SessionLineageResponse: z.ZodObject<{
8589
9129
  "rigs:use": "rigs:use";
8590
9130
  "rigs:manage": "rigs:manage";
8591
9131
  }>>>;
9132
+ firstPartyMcpTools: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodEnum<{
9133
+ set_session_title: "set_session_title";
9134
+ goal_set: "goal_set";
9135
+ goal_update: "goal_update";
9136
+ goal_complete: "goal_complete";
9137
+ goal_pause: "goal_pause";
9138
+ memory_search: "memory_search";
9139
+ memory_save: "memory_save";
9140
+ memory_correct: "memory_correct";
9141
+ sandboxes_list: "sandboxes_list";
9142
+ sandbox_attach: "sandbox_attach";
9143
+ sandbox_swap: "sandbox_swap";
9144
+ run_on: "run_on";
9145
+ sandbox_provision: "sandbox_provision";
9146
+ rig_list: "rig_list";
9147
+ rig_get: "rig_get";
9148
+ rig_propose_change: "rig_propose_change";
9149
+ rig_verify: "rig_verify";
9150
+ rig_promote: "rig_promote";
9151
+ sessions_list: "sessions_list";
9152
+ session_get: "session_get";
9153
+ session_events: "session_events";
9154
+ session_create: "session_create";
9155
+ session_send_message: "session_send_message";
9156
+ session_pause: "session_pause";
9157
+ session_resume: "session_resume";
9158
+ session_steer: "session_steer";
9159
+ set_other_session_title: "set_other_session_title";
9160
+ variable_set_list: "variable_set_list";
9161
+ environment_list: "environment_list";
9162
+ variable_set_set_variable: "variable_set_set_variable";
9163
+ environment_set_variable: "environment_set_variable";
9164
+ github_connect_link: "github_connect_link";
9165
+ github_token: "github_token";
9166
+ github_repositories_list: "github_repositories_list";
9167
+ social_connections_list: "social_connections_list";
9168
+ social_posts_recent: "social_posts_recent";
9169
+ social_daily_analysis_context: "social_daily_analysis_context";
9170
+ scheduled_tasks_list: "scheduled_tasks_list";
9171
+ scheduled_tasks_get: "scheduled_tasks_get";
9172
+ scheduled_tasks_create: "scheduled_tasks_create";
9173
+ scheduled_tasks_update: "scheduled_tasks_update";
9174
+ scheduled_tasks_pause: "scheduled_tasks_pause";
9175
+ scheduled_tasks_resume: "scheduled_tasks_resume";
9176
+ scheduled_tasks_trigger: "scheduled_tasks_trigger";
9177
+ scheduled_tasks_delete: "scheduled_tasks_delete";
9178
+ scheduled_task_runs_list: "scheduled_task_runs_list";
9179
+ slack_bot_list_channels: "slack_bot_list_channels";
9180
+ slack_bot_channel_history: "slack_bot_channel_history";
9181
+ slack_bot_list_users: "slack_bot_list_users";
9182
+ slack_bot_post_message: "slack_bot_post_message";
9183
+ }>>>>;
8592
9184
  mcpServers: z.ZodDefault<z.ZodArray<z.ZodObject<{
8593
9185
  id: z.ZodString;
8594
9186
  name: z.ZodNullable<z.ZodString>;
@@ -8782,6 +9374,9 @@ declare const SessionEventType: z.ZodEnum<{
8782
9374
  "goal.continuation": "goal.continuation";
8783
9375
  "system.update.pending": "system.update.pending";
8784
9376
  "system.update.delivered": "system.update.delivered";
9377
+ "system.update.superseded": "system.update.superseded";
9378
+ "system.update.cancelled": "system.update.cancelled";
9379
+ "system.update.settled": "system.update.settled";
8785
9380
  "session.control.paused": "session.control.paused";
8786
9381
  "session.control.resumed": "session.control.resumed";
8787
9382
  "session.control.steer_requested": "session.control.steer_requested";
@@ -8883,7 +9478,7 @@ declare const SessionEventReadDirection: z.ZodEnum<{
8883
9478
  type SessionEventReadDirection = z.infer<typeof SessionEventReadDirection>;
8884
9479
  declare const SESSION_EVENT_RAW_DELTA_TYPES: readonly ["agent.message.delta", "agent.reasoning.delta", "sandbox.command.output.delta", "terminal.pty.output.delta"];
8885
9480
  declare const SESSION_EVENT_SEMANTIC_CLASS_TYPES: {
8886
- 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"];
9481
+ 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"];
8887
9482
  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"];
8888
9483
  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"];
8889
9484
  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"];
@@ -10160,6 +10755,9 @@ declare const SessionEvent: z.ZodObject<{
10160
10755
  "goal.continuation": "goal.continuation";
10161
10756
  "system.update.pending": "system.update.pending";
10162
10757
  "system.update.delivered": "system.update.delivered";
10758
+ "system.update.superseded": "system.update.superseded";
10759
+ "system.update.cancelled": "system.update.cancelled";
10760
+ "system.update.settled": "system.update.settled";
10163
10761
  "session.control.paused": "session.control.paused";
10164
10762
  "session.control.resumed": "session.control.resumed";
10165
10763
  "session.control.steer_requested": "session.control.steer_requested";
@@ -10758,6 +11356,30 @@ declare const SessionQueueMutationResponse: z.ZodObject<{
10758
11356
  createdAt: z.ZodString;
10759
11357
  updatedAt: z.ZodString;
10760
11358
  }, z.core.$strip>>;
11359
+ pendingInputs: z.ZodArray<z.ZodObject<{
11360
+ id: z.ZodString;
11361
+ createdAt: z.ZodString;
11362
+ kind: z.ZodEnum<{
11363
+ scheduled_occurrence: "scheduled_occurrence";
11364
+ goal_continuation: "goal_continuation";
11365
+ agent_message: "agent_message";
11366
+ agent_steer_instruction: "agent_steer_instruction";
11367
+ child_terminal_result: "child_terminal_result";
11368
+ }>;
11369
+ sessionId: z.ZodString;
11370
+ summary: z.ZodString;
11371
+ classification: z.ZodEnum<{
11372
+ success: "success";
11373
+ failure: "failure";
11374
+ action_required: "action_required";
11375
+ info: "info";
11376
+ }>;
11377
+ sourceId: z.ZodString;
11378
+ }, z.core.$strip>>;
11379
+ pendingInputAttachment: z.ZodNullable<z.ZodObject<{
11380
+ turnId: z.ZodString;
11381
+ inputIds: z.ZodArray<z.ZodString>;
11382
+ }, z.core.$strip>>;
10761
11383
  }, z.core.$strip>;
10762
11384
  draft: z.ZodOptional<z.ZodObject<{
10763
11385
  revision: z.ZodNumber;
@@ -10931,6 +11553,28 @@ declare const CreateSessionRequest: z.ZodPreprocess<z.ZodObject<{
10931
11553
  fileId: z.ZodString;
10932
11554
  mountPath: z.ZodOptional<z.ZodString>;
10933
11555
  }, z.core.$strip>], "kind">>>;
11556
+ skills: z.ZodDefault<z.ZodPipe<z.ZodArray<z.ZodObject<{
11557
+ name: z.ZodString;
11558
+ description: z.ZodOptional<z.ZodString>;
11559
+ files: z.ZodArray<z.ZodObject<{
11560
+ path: z.ZodString;
11561
+ content: z.ZodString;
11562
+ }, z.core.$strip>>;
11563
+ }, z.core.$strip>>, z.ZodTransform<{
11564
+ name: string;
11565
+ files: {
11566
+ path: string;
11567
+ content: string;
11568
+ }[];
11569
+ description?: string | undefined;
11570
+ }[], {
11571
+ name: string;
11572
+ files: {
11573
+ path: string;
11574
+ content: string;
11575
+ }[];
11576
+ description?: string | undefined;
11577
+ }[]>>>;
10934
11578
  tools: z.ZodDefault<z.ZodArray<z.ZodObject<{
10935
11579
  kind: z.ZodLiteral<"mcp">;
10936
11580
  id: z.ZodString;
@@ -11013,6 +11657,58 @@ declare const CreateSessionRequest: z.ZodPreprocess<z.ZodObject<{
11013
11657
  "rigs:use": "rigs:use";
11014
11658
  "rigs:manage": "rigs:manage";
11015
11659
  }>>>;
11660
+ firstPartyMcpTools: z.ZodOptional<z.ZodArray<z.ZodEnum<{
11661
+ set_session_title: "set_session_title";
11662
+ goal_set: "goal_set";
11663
+ goal_update: "goal_update";
11664
+ goal_complete: "goal_complete";
11665
+ goal_pause: "goal_pause";
11666
+ memory_search: "memory_search";
11667
+ memory_save: "memory_save";
11668
+ memory_correct: "memory_correct";
11669
+ sandboxes_list: "sandboxes_list";
11670
+ sandbox_attach: "sandbox_attach";
11671
+ sandbox_swap: "sandbox_swap";
11672
+ run_on: "run_on";
11673
+ sandbox_provision: "sandbox_provision";
11674
+ rig_list: "rig_list";
11675
+ rig_get: "rig_get";
11676
+ rig_propose_change: "rig_propose_change";
11677
+ rig_verify: "rig_verify";
11678
+ rig_promote: "rig_promote";
11679
+ sessions_list: "sessions_list";
11680
+ session_get: "session_get";
11681
+ session_events: "session_events";
11682
+ session_create: "session_create";
11683
+ session_send_message: "session_send_message";
11684
+ session_pause: "session_pause";
11685
+ session_resume: "session_resume";
11686
+ session_steer: "session_steer";
11687
+ set_other_session_title: "set_other_session_title";
11688
+ variable_set_list: "variable_set_list";
11689
+ environment_list: "environment_list";
11690
+ variable_set_set_variable: "variable_set_set_variable";
11691
+ environment_set_variable: "environment_set_variable";
11692
+ github_connect_link: "github_connect_link";
11693
+ github_token: "github_token";
11694
+ github_repositories_list: "github_repositories_list";
11695
+ social_connections_list: "social_connections_list";
11696
+ social_posts_recent: "social_posts_recent";
11697
+ social_daily_analysis_context: "social_daily_analysis_context";
11698
+ scheduled_tasks_list: "scheduled_tasks_list";
11699
+ scheduled_tasks_get: "scheduled_tasks_get";
11700
+ scheduled_tasks_create: "scheduled_tasks_create";
11701
+ scheduled_tasks_update: "scheduled_tasks_update";
11702
+ scheduled_tasks_pause: "scheduled_tasks_pause";
11703
+ scheduled_tasks_resume: "scheduled_tasks_resume";
11704
+ scheduled_tasks_trigger: "scheduled_tasks_trigger";
11705
+ scheduled_tasks_delete: "scheduled_tasks_delete";
11706
+ scheduled_task_runs_list: "scheduled_task_runs_list";
11707
+ slack_bot_list_channels: "slack_bot_list_channels";
11708
+ slack_bot_channel_history: "slack_bot_channel_history";
11709
+ slack_bot_list_users: "slack_bot_list_users";
11710
+ slack_bot_post_message: "slack_bot_post_message";
11711
+ }>>>;
11016
11712
  mcpServers: z.ZodDefault<z.ZodArray<z.ZodObject<{
11017
11713
  id: z.ZodString;
11018
11714
  name: z.ZodOptional<z.ZodString>;
@@ -11414,6 +12110,9 @@ declare const SteerSessionMessageResponse: z.ZodObject<{
11414
12110
  "goal.continuation": "goal.continuation";
11415
12111
  "system.update.pending": "system.update.pending";
11416
12112
  "system.update.delivered": "system.update.delivered";
12113
+ "system.update.superseded": "system.update.superseded";
12114
+ "system.update.cancelled": "system.update.cancelled";
12115
+ "system.update.settled": "system.update.settled";
11417
12116
  "session.control.paused": "session.control.paused";
11418
12117
  "session.control.resumed": "session.control.resumed";
11419
12118
  "session.control.steer_requested": "session.control.steer_requested";
@@ -11643,6 +12342,9 @@ declare const SessionBusMessage: z.ZodObject<{
11643
12342
  "goal.continuation": "goal.continuation";
11644
12343
  "system.update.pending": "system.update.pending";
11645
12344
  "system.update.delivered": "system.update.delivered";
12345
+ "system.update.superseded": "system.update.superseded";
12346
+ "system.update.cancelled": "system.update.cancelled";
12347
+ "system.update.settled": "system.update.settled";
11646
12348
  "session.control.paused": "session.control.paused";
11647
12349
  "session.control.resumed": "session.control.resumed";
11648
12350
  "session.control.steer_requested": "session.control.steer_requested";
@@ -13752,4 +14454,4 @@ declare function evaluateWorkspaceModelPolicy(policy: WorkspaceModelPolicyContra
13752
14454
  modelId: string;
13753
14455
  }): WorkspaceModelPolicyVerdict;
13754
14456
 
13755
- 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, ConnectOpenGeniSlackBotRequest, 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, 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, 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 };
14457
+ 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, 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, 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 };