@opengeni/contracts 0.22.0 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1251,10 +1251,11 @@ declare const FirstPartyMcpToolName: z.ZodEnum<{
1251
1251
  }>;
1252
1252
  type FirstPartyMcpToolName = z.infer<typeof FirstPartyMcpToolName>;
1253
1253
  /**
1254
- * Ordinary sessions get only the small self-management surface. Authorization
1255
- * permissions remain an independent, additional boundary.
1254
+ * Every catalogued OpenGeni tool is selected by default. Registration-time
1255
+ * authorization remains the independent access boundary; an explicit session
1256
+ * policy may narrow this model-visible set.
1256
1257
  */
1257
- declare const DEFAULT_FIRST_PARTY_MCP_TOOLS: readonly ["set_session_title", "goal_set", "goal_update", "goal_complete", "goal_pause"];
1258
+ declare const DEFAULT_FIRST_PARTY_MCP_TOOLS: readonly ["set_session_title", "goal_set", "goal_update", "goal_complete", "goal_pause", "memory_search", "memory_save", "memory_correct", "sandboxes_list", "sandbox_attach", "sandbox_swap", "run_on", "sandbox_provision", "rig_list", "rig_get", "rig_propose_change", "rig_verify", "rig_promote", "sessions_list", "session_get", "session_events", "session_create", "session_send_message", "session_pause", "session_resume", "session_steer", "set_other_session_title", "variable_set_list", "environment_list", "variable_set_set_variable", "environment_set_variable", "github_connect_link", "github_token", "github_repositories_list", "social_connections_list", "social_posts_recent", "social_daily_analysis_context", "scheduled_tasks_list", "scheduled_tasks_get", "scheduled_tasks_create", "scheduled_tasks_update", "scheduled_tasks_pause", "scheduled_tasks_resume", "scheduled_tasks_trigger", "scheduled_tasks_delete", "scheduled_task_runs_list", "slack_bot_list_channels", "slack_bot_channel_history", "slack_bot_list_users", "slack_bot_post_message"];
1258
1259
  declare function prefixedMcpToolName(registryId: string, toolName: string): string;
1259
1260
  declare const ProductAccessMode: z.ZodEnum<{
1260
1261
  local: "local";
@@ -2859,6 +2860,10 @@ type GitHubInstallationSummary = {
2859
2860
  suspended: boolean;
2860
2861
  };
2861
2862
  type GitHubInstallationAuthorityKind = "personal_owner" | "organization_owner";
2863
+ interface GitHubInstallationBindingCandidate {
2864
+ installation: GitHubInstallationSummary;
2865
+ authorityKind: GitHubInstallationAuthorityKind;
2866
+ }
2862
2867
  interface GitHubInstallationBindingProof {
2863
2868
  actorId: number;
2864
2869
  actorLogin: string;
@@ -2892,6 +2897,15 @@ type GitHubAppApiPort = {
2892
2897
  code: string;
2893
2898
  installationId: number;
2894
2899
  }) => Promise<GitHubInstallationBindingProof>;
2900
+ /**
2901
+ * Exchange one fresh GitHub user-authorization code and return only existing
2902
+ * App installations for which that exact human is the personal owner or an
2903
+ * active organization owner. Visibility and repository permissions alone
2904
+ * must never produce a candidate.
2905
+ */
2906
+ discoverInstallationBindingCandidates?: (input: {
2907
+ code: string;
2908
+ }) => Promise<GitHubInstallationBindingCandidate[]>;
2895
2909
  authorizeUser?: (input: {
2896
2910
  code: string;
2897
2911
  }) => Promise<GitHubUserInstallationAccess[]>;
@@ -3659,7 +3673,6 @@ declare const SessionToolPolicy: z.ZodObject<{
3659
3673
  explicit: "explicit";
3660
3674
  workspace_default: "workspace_default";
3661
3675
  inherited: "inherited";
3662
- legacy: "legacy";
3663
3676
  }>;
3664
3677
  inheritedFromSessionId: z.ZodNullable<z.ZodString>;
3665
3678
  }, z.core.$strip>;
@@ -3671,7 +3684,6 @@ declare const SessionEffectiveToolPolicy: z.ZodObject<{
3671
3684
  explicit: "explicit";
3672
3685
  workspace_default: "workspace_default";
3673
3686
  inherited: "inherited";
3674
- legacy: "legacy";
3675
3687
  }>;
3676
3688
  inheritedFromSessionId: z.ZodNullable<z.ZodString>;
3677
3689
  selectedIds: z.ZodArray<z.ZodString>;
@@ -4000,21 +4012,72 @@ declare const UpdateSessionRequest: z.ZodObject<{
4000
4012
  }, z.core.$strip>;
4001
4013
  type UpdateSessionRequest = z.infer<typeof UpdateSessionRequest>;
4002
4014
  /**
4003
- * Replace an existing session's durable tool policy, or explicitly opt back in
4004
- * to the current workspace defaults. The mode-less explicit shape is retained
4005
- * for compatibility with clients released before workspace-default adoption
4006
- * was supported.
4015
+ * Replace the complete durable session tool policy, or explicitly opt back in
4016
+ * to current workspace defaults. MCP servers and individual OpenGeni tools
4017
+ * advance atomically under one policy version.
4007
4018
  */
4008
4019
  declare const UpdateSessionToolPolicyRequest: z.ZodUnion<readonly [z.ZodObject<{
4009
4020
  mode: z.ZodLiteral<"workspace_default">;
4010
4021
  expectedVersion: z.ZodNumber;
4011
4022
  }, z.core.$strict>, z.ZodObject<{
4012
- mode: z.ZodOptional<z.ZodLiteral<"explicit">>;
4023
+ mode: z.ZodLiteral<"explicit">;
4013
4024
  tools: z.ZodArray<z.ZodObject<{
4014
4025
  kind: z.ZodLiteral<"mcp">;
4015
4026
  id: z.ZodString;
4016
4027
  optional: z.ZodOptional<z.ZodBoolean>;
4017
4028
  }, z.core.$strip>>;
4029
+ firstPartyMcpTools: z.ZodArray<z.ZodEnum<{
4030
+ set_session_title: "set_session_title";
4031
+ goal_set: "goal_set";
4032
+ goal_update: "goal_update";
4033
+ goal_complete: "goal_complete";
4034
+ goal_pause: "goal_pause";
4035
+ memory_search: "memory_search";
4036
+ memory_save: "memory_save";
4037
+ memory_correct: "memory_correct";
4038
+ sandboxes_list: "sandboxes_list";
4039
+ sandbox_attach: "sandbox_attach";
4040
+ sandbox_swap: "sandbox_swap";
4041
+ run_on: "run_on";
4042
+ sandbox_provision: "sandbox_provision";
4043
+ rig_list: "rig_list";
4044
+ rig_get: "rig_get";
4045
+ rig_propose_change: "rig_propose_change";
4046
+ rig_verify: "rig_verify";
4047
+ rig_promote: "rig_promote";
4048
+ sessions_list: "sessions_list";
4049
+ session_get: "session_get";
4050
+ session_events: "session_events";
4051
+ session_create: "session_create";
4052
+ session_send_message: "session_send_message";
4053
+ session_pause: "session_pause";
4054
+ session_resume: "session_resume";
4055
+ session_steer: "session_steer";
4056
+ set_other_session_title: "set_other_session_title";
4057
+ variable_set_list: "variable_set_list";
4058
+ environment_list: "environment_list";
4059
+ variable_set_set_variable: "variable_set_set_variable";
4060
+ environment_set_variable: "environment_set_variable";
4061
+ github_connect_link: "github_connect_link";
4062
+ github_token: "github_token";
4063
+ github_repositories_list: "github_repositories_list";
4064
+ social_connections_list: "social_connections_list";
4065
+ social_posts_recent: "social_posts_recent";
4066
+ social_daily_analysis_context: "social_daily_analysis_context";
4067
+ scheduled_tasks_list: "scheduled_tasks_list";
4068
+ scheduled_tasks_get: "scheduled_tasks_get";
4069
+ scheduled_tasks_create: "scheduled_tasks_create";
4070
+ scheduled_tasks_update: "scheduled_tasks_update";
4071
+ scheduled_tasks_pause: "scheduled_tasks_pause";
4072
+ scheduled_tasks_resume: "scheduled_tasks_resume";
4073
+ scheduled_tasks_trigger: "scheduled_tasks_trigger";
4074
+ scheduled_tasks_delete: "scheduled_tasks_delete";
4075
+ scheduled_task_runs_list: "scheduled_task_runs_list";
4076
+ slack_bot_list_channels: "slack_bot_list_channels";
4077
+ slack_bot_channel_history: "slack_bot_channel_history";
4078
+ slack_bot_list_users: "slack_bot_list_users";
4079
+ slack_bot_post_message: "slack_bot_post_message";
4080
+ }>>;
4018
4081
  expectedVersion: z.ZodNumber;
4019
4082
  }, z.core.$strict>]>;
4020
4083
  type UpdateSessionToolPolicyRequest = z.infer<typeof UpdateSessionToolPolicyRequest>;
@@ -4481,12 +4544,6 @@ declare const ComposerDraft: z.ZodObject<{
4481
4544
  fileId: z.ZodString;
4482
4545
  mountPath: z.ZodOptional<z.ZodString>;
4483
4546
  }, z.core.$strip>], "kind">>;
4484
- tools: z.ZodArray<z.ZodObject<{
4485
- kind: z.ZodLiteral<"mcp">;
4486
- id: z.ZodString;
4487
- optional: z.ZodOptional<z.ZodBoolean>;
4488
- }, z.core.$strip>>;
4489
- toolsProvided: z.ZodDefault<z.ZodBoolean>;
4490
4547
  model: z.ZodString;
4491
4548
  reasoningEffort: z.ZodEnum<{
4492
4549
  none: "none";
@@ -4537,11 +4594,6 @@ declare const SaveComposerDraftRequest: z.ZodObject<{
4537
4594
  high: "high";
4538
4595
  xhigh: "xhigh";
4539
4596
  }>;
4540
- tools: z.ZodArray<z.ZodObject<{
4541
- kind: z.ZodLiteral<"mcp">;
4542
- id: z.ZodString;
4543
- optional: z.ZodOptional<z.ZodBoolean>;
4544
- }, z.core.$strip>>;
4545
4597
  resources: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4546
4598
  kind: z.ZodLiteral<"repository">;
4547
4599
  uri: z.ZodString;
@@ -4569,7 +4621,6 @@ declare const SaveComposerDraftRequest: z.ZodObject<{
4569
4621
  fileId: z.ZodString;
4570
4622
  mountPath: z.ZodOptional<z.ZodString>;
4571
4623
  }, z.core.$strip>], "kind">>;
4572
- toolsProvided: z.ZodDefault<z.ZodBoolean>;
4573
4624
  expectedRevision: z.ZodNumber;
4574
4625
  }, z.core.$strip>;
4575
4626
  type SaveComposerDraftRequest = z.infer<typeof SaveComposerDraftRequest>;
@@ -4641,6 +4692,58 @@ declare const NewSessionDraftOptions: z.ZodObject<{
4641
4692
  "rigs:use": "rigs:use";
4642
4693
  "rigs:manage": "rigs:manage";
4643
4694
  }>>>;
4695
+ firstPartyMcpTools: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4696
+ set_session_title: "set_session_title";
4697
+ goal_set: "goal_set";
4698
+ goal_update: "goal_update";
4699
+ goal_complete: "goal_complete";
4700
+ goal_pause: "goal_pause";
4701
+ memory_search: "memory_search";
4702
+ memory_save: "memory_save";
4703
+ memory_correct: "memory_correct";
4704
+ sandboxes_list: "sandboxes_list";
4705
+ sandbox_attach: "sandbox_attach";
4706
+ sandbox_swap: "sandbox_swap";
4707
+ run_on: "run_on";
4708
+ sandbox_provision: "sandbox_provision";
4709
+ rig_list: "rig_list";
4710
+ rig_get: "rig_get";
4711
+ rig_propose_change: "rig_propose_change";
4712
+ rig_verify: "rig_verify";
4713
+ rig_promote: "rig_promote";
4714
+ sessions_list: "sessions_list";
4715
+ session_get: "session_get";
4716
+ session_events: "session_events";
4717
+ session_create: "session_create";
4718
+ session_send_message: "session_send_message";
4719
+ session_pause: "session_pause";
4720
+ session_resume: "session_resume";
4721
+ session_steer: "session_steer";
4722
+ set_other_session_title: "set_other_session_title";
4723
+ variable_set_list: "variable_set_list";
4724
+ environment_list: "environment_list";
4725
+ variable_set_set_variable: "variable_set_set_variable";
4726
+ environment_set_variable: "environment_set_variable";
4727
+ github_connect_link: "github_connect_link";
4728
+ github_token: "github_token";
4729
+ github_repositories_list: "github_repositories_list";
4730
+ social_connections_list: "social_connections_list";
4731
+ social_posts_recent: "social_posts_recent";
4732
+ social_daily_analysis_context: "social_daily_analysis_context";
4733
+ scheduled_tasks_list: "scheduled_tasks_list";
4734
+ scheduled_tasks_get: "scheduled_tasks_get";
4735
+ scheduled_tasks_create: "scheduled_tasks_create";
4736
+ scheduled_tasks_update: "scheduled_tasks_update";
4737
+ scheduled_tasks_pause: "scheduled_tasks_pause";
4738
+ scheduled_tasks_resume: "scheduled_tasks_resume";
4739
+ scheduled_tasks_trigger: "scheduled_tasks_trigger";
4740
+ scheduled_tasks_delete: "scheduled_tasks_delete";
4741
+ scheduled_task_runs_list: "scheduled_task_runs_list";
4742
+ slack_bot_list_channels: "slack_bot_list_channels";
4743
+ slack_bot_channel_history: "slack_bot_channel_history";
4744
+ slack_bot_list_users: "slack_bot_list_users";
4745
+ slack_bot_post_message: "slack_bot_post_message";
4746
+ }>>>;
4644
4747
  }, z.core.$strip>;
4645
4748
  type NewSessionDraftOptions = z.infer<typeof NewSessionDraftOptions>;
4646
4749
  /** Actor-private, server-authoritative composer state before a session exists. */
@@ -4752,6 +4855,58 @@ declare const NewSessionDraft: z.ZodObject<{
4752
4855
  "rigs:use": "rigs:use";
4753
4856
  "rigs:manage": "rigs:manage";
4754
4857
  }>>>;
4858
+ firstPartyMcpTools: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4859
+ set_session_title: "set_session_title";
4860
+ goal_set: "goal_set";
4861
+ goal_update: "goal_update";
4862
+ goal_complete: "goal_complete";
4863
+ goal_pause: "goal_pause";
4864
+ memory_search: "memory_search";
4865
+ memory_save: "memory_save";
4866
+ memory_correct: "memory_correct";
4867
+ sandboxes_list: "sandboxes_list";
4868
+ sandbox_attach: "sandbox_attach";
4869
+ sandbox_swap: "sandbox_swap";
4870
+ run_on: "run_on";
4871
+ sandbox_provision: "sandbox_provision";
4872
+ rig_list: "rig_list";
4873
+ rig_get: "rig_get";
4874
+ rig_propose_change: "rig_propose_change";
4875
+ rig_verify: "rig_verify";
4876
+ rig_promote: "rig_promote";
4877
+ sessions_list: "sessions_list";
4878
+ session_get: "session_get";
4879
+ session_events: "session_events";
4880
+ session_create: "session_create";
4881
+ session_send_message: "session_send_message";
4882
+ session_pause: "session_pause";
4883
+ session_resume: "session_resume";
4884
+ session_steer: "session_steer";
4885
+ set_other_session_title: "set_other_session_title";
4886
+ variable_set_list: "variable_set_list";
4887
+ environment_list: "environment_list";
4888
+ variable_set_set_variable: "variable_set_set_variable";
4889
+ environment_set_variable: "environment_set_variable";
4890
+ github_connect_link: "github_connect_link";
4891
+ github_token: "github_token";
4892
+ github_repositories_list: "github_repositories_list";
4893
+ social_connections_list: "social_connections_list";
4894
+ social_posts_recent: "social_posts_recent";
4895
+ social_daily_analysis_context: "social_daily_analysis_context";
4896
+ scheduled_tasks_list: "scheduled_tasks_list";
4897
+ scheduled_tasks_get: "scheduled_tasks_get";
4898
+ scheduled_tasks_create: "scheduled_tasks_create";
4899
+ scheduled_tasks_update: "scheduled_tasks_update";
4900
+ scheduled_tasks_pause: "scheduled_tasks_pause";
4901
+ scheduled_tasks_resume: "scheduled_tasks_resume";
4902
+ scheduled_tasks_trigger: "scheduled_tasks_trigger";
4903
+ scheduled_tasks_delete: "scheduled_tasks_delete";
4904
+ scheduled_task_runs_list: "scheduled_task_runs_list";
4905
+ slack_bot_list_channels: "slack_bot_list_channels";
4906
+ slack_bot_channel_history: "slack_bot_channel_history";
4907
+ slack_bot_list_users: "slack_bot_list_users";
4908
+ slack_bot_post_message: "slack_bot_post_message";
4909
+ }>>>;
4755
4910
  }, z.core.$strip>;
4756
4911
  updatedAt: z.ZodNullable<z.ZodString>;
4757
4912
  }, z.core.$strip>;
@@ -4863,6 +5018,58 @@ declare const SaveNewSessionDraftRequest: z.ZodObject<{
4863
5018
  "rigs:use": "rigs:use";
4864
5019
  "rigs:manage": "rigs:manage";
4865
5020
  }>>>;
5021
+ firstPartyMcpTools: z.ZodOptional<z.ZodArray<z.ZodEnum<{
5022
+ set_session_title: "set_session_title";
5023
+ goal_set: "goal_set";
5024
+ goal_update: "goal_update";
5025
+ goal_complete: "goal_complete";
5026
+ goal_pause: "goal_pause";
5027
+ memory_search: "memory_search";
5028
+ memory_save: "memory_save";
5029
+ memory_correct: "memory_correct";
5030
+ sandboxes_list: "sandboxes_list";
5031
+ sandbox_attach: "sandbox_attach";
5032
+ sandbox_swap: "sandbox_swap";
5033
+ run_on: "run_on";
5034
+ sandbox_provision: "sandbox_provision";
5035
+ rig_list: "rig_list";
5036
+ rig_get: "rig_get";
5037
+ rig_propose_change: "rig_propose_change";
5038
+ rig_verify: "rig_verify";
5039
+ rig_promote: "rig_promote";
5040
+ sessions_list: "sessions_list";
5041
+ session_get: "session_get";
5042
+ session_events: "session_events";
5043
+ session_create: "session_create";
5044
+ session_send_message: "session_send_message";
5045
+ session_pause: "session_pause";
5046
+ session_resume: "session_resume";
5047
+ session_steer: "session_steer";
5048
+ set_other_session_title: "set_other_session_title";
5049
+ variable_set_list: "variable_set_list";
5050
+ environment_list: "environment_list";
5051
+ variable_set_set_variable: "variable_set_set_variable";
5052
+ environment_set_variable: "environment_set_variable";
5053
+ github_connect_link: "github_connect_link";
5054
+ github_token: "github_token";
5055
+ github_repositories_list: "github_repositories_list";
5056
+ social_connections_list: "social_connections_list";
5057
+ social_posts_recent: "social_posts_recent";
5058
+ social_daily_analysis_context: "social_daily_analysis_context";
5059
+ scheduled_tasks_list: "scheduled_tasks_list";
5060
+ scheduled_tasks_get: "scheduled_tasks_get";
5061
+ scheduled_tasks_create: "scheduled_tasks_create";
5062
+ scheduled_tasks_update: "scheduled_tasks_update";
5063
+ scheduled_tasks_pause: "scheduled_tasks_pause";
5064
+ scheduled_tasks_resume: "scheduled_tasks_resume";
5065
+ scheduled_tasks_trigger: "scheduled_tasks_trigger";
5066
+ scheduled_tasks_delete: "scheduled_tasks_delete";
5067
+ scheduled_task_runs_list: "scheduled_task_runs_list";
5068
+ slack_bot_list_channels: "slack_bot_list_channels";
5069
+ slack_bot_channel_history: "slack_bot_channel_history";
5070
+ slack_bot_list_users: "slack_bot_list_users";
5071
+ slack_bot_post_message: "slack_bot_post_message";
5072
+ }>>>;
4866
5073
  }, z.core.$strip>;
4867
5074
  expectedRevision: z.ZodNumber;
4868
5075
  }, z.core.$strip>;
@@ -7457,22 +7664,20 @@ declare const Session: z.ZodObject<{
7457
7664
  id: z.ZodString;
7458
7665
  optional: z.ZodOptional<z.ZodBoolean>;
7459
7666
  }, z.core.$strip>>;
7460
- toolPolicy: z.ZodOptional<z.ZodObject<{
7667
+ toolPolicy: z.ZodObject<{
7461
7668
  mode: z.ZodEnum<{
7462
7669
  explicit: "explicit";
7463
7670
  workspace_default: "workspace_default";
7464
7671
  inherited: "inherited";
7465
- legacy: "legacy";
7466
7672
  }>;
7467
7673
  inheritedFromSessionId: z.ZodNullable<z.ZodString>;
7468
- }, z.core.$strip>>;
7469
- toolPolicyVersion: z.ZodOptional<z.ZodNumber>;
7674
+ }, z.core.$strip>;
7675
+ toolPolicyVersion: z.ZodNumber;
7470
7676
  effectiveToolPolicy: z.ZodOptional<z.ZodObject<{
7471
7677
  mode: z.ZodEnum<{
7472
7678
  explicit: "explicit";
7473
7679
  workspace_default: "workspace_default";
7474
7680
  inherited: "inherited";
7475
- legacy: "legacy";
7476
7681
  }>;
7477
7682
  inheritedFromSessionId: z.ZodNullable<z.ZodString>;
7478
7683
  selectedIds: z.ZodArray<z.ZodString>;
@@ -7573,7 +7778,7 @@ declare const Session: z.ZodObject<{
7573
7778
  "rigs:use": "rigs:use";
7574
7779
  "rigs:manage": "rigs:manage";
7575
7780
  }>>>;
7576
- firstPartyMcpTools: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodEnum<{
7781
+ firstPartyMcpTools: z.ZodArray<z.ZodEnum<{
7577
7782
  set_session_title: "set_session_title";
7578
7783
  goal_set: "goal_set";
7579
7784
  goal_update: "goal_update";
@@ -7624,7 +7829,7 @@ declare const Session: z.ZodObject<{
7624
7829
  slack_bot_channel_history: "slack_bot_channel_history";
7625
7830
  slack_bot_list_users: "slack_bot_list_users";
7626
7831
  slack_bot_post_message: "slack_bot_post_message";
7627
- }>>>>;
7832
+ }>>;
7628
7833
  mcpServers: z.ZodDefault<z.ZodArray<z.ZodObject<{
7629
7834
  id: z.ZodString;
7630
7835
  name: z.ZodNullable<z.ZodString>;
@@ -7845,22 +8050,20 @@ declare const CreateSessionResponse: z.ZodObject<{
7845
8050
  id: z.ZodString;
7846
8051
  optional: z.ZodOptional<z.ZodBoolean>;
7847
8052
  }, z.core.$strip>>;
7848
- toolPolicy: z.ZodOptional<z.ZodObject<{
8053
+ toolPolicy: z.ZodObject<{
7849
8054
  mode: z.ZodEnum<{
7850
8055
  explicit: "explicit";
7851
8056
  workspace_default: "workspace_default";
7852
8057
  inherited: "inherited";
7853
- legacy: "legacy";
7854
8058
  }>;
7855
8059
  inheritedFromSessionId: z.ZodNullable<z.ZodString>;
7856
- }, z.core.$strip>>;
7857
- toolPolicyVersion: z.ZodOptional<z.ZodNumber>;
8060
+ }, z.core.$strip>;
8061
+ toolPolicyVersion: z.ZodNumber;
7858
8062
  effectiveToolPolicy: z.ZodOptional<z.ZodObject<{
7859
8063
  mode: z.ZodEnum<{
7860
8064
  explicit: "explicit";
7861
8065
  workspace_default: "workspace_default";
7862
8066
  inherited: "inherited";
7863
- legacy: "legacy";
7864
8067
  }>;
7865
8068
  inheritedFromSessionId: z.ZodNullable<z.ZodString>;
7866
8069
  selectedIds: z.ZodArray<z.ZodString>;
@@ -7961,7 +8164,7 @@ declare const CreateSessionResponse: z.ZodObject<{
7961
8164
  "rigs:use": "rigs:use";
7962
8165
  "rigs:manage": "rigs:manage";
7963
8166
  }>>>;
7964
- firstPartyMcpTools: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodEnum<{
8167
+ firstPartyMcpTools: z.ZodArray<z.ZodEnum<{
7965
8168
  set_session_title: "set_session_title";
7966
8169
  goal_set: "goal_set";
7967
8170
  goal_update: "goal_update";
@@ -8012,7 +8215,7 @@ declare const CreateSessionResponse: z.ZodObject<{
8012
8215
  slack_bot_channel_history: "slack_bot_channel_history";
8013
8216
  slack_bot_list_users: "slack_bot_list_users";
8014
8217
  slack_bot_post_message: "slack_bot_post_message";
8015
- }>>>>;
8218
+ }>>;
8016
8219
  mcpServers: z.ZodDefault<z.ZodArray<z.ZodObject<{
8017
8220
  id: z.ZodString;
8018
8221
  name: z.ZodNullable<z.ZodString>;
@@ -8239,22 +8442,20 @@ declare const SessionListResponse: z.ZodObject<{
8239
8442
  id: z.ZodString;
8240
8443
  optional: z.ZodOptional<z.ZodBoolean>;
8241
8444
  }, z.core.$strip>>;
8242
- toolPolicy: z.ZodOptional<z.ZodObject<{
8445
+ toolPolicy: z.ZodObject<{
8243
8446
  mode: z.ZodEnum<{
8244
8447
  explicit: "explicit";
8245
8448
  workspace_default: "workspace_default";
8246
8449
  inherited: "inherited";
8247
- legacy: "legacy";
8248
8450
  }>;
8249
8451
  inheritedFromSessionId: z.ZodNullable<z.ZodString>;
8250
- }, z.core.$strip>>;
8251
- toolPolicyVersion: z.ZodOptional<z.ZodNumber>;
8452
+ }, z.core.$strip>;
8453
+ toolPolicyVersion: z.ZodNumber;
8252
8454
  effectiveToolPolicy: z.ZodOptional<z.ZodObject<{
8253
8455
  mode: z.ZodEnum<{
8254
8456
  explicit: "explicit";
8255
8457
  workspace_default: "workspace_default";
8256
8458
  inherited: "inherited";
8257
- legacy: "legacy";
8258
8459
  }>;
8259
8460
  inheritedFromSessionId: z.ZodNullable<z.ZodString>;
8260
8461
  selectedIds: z.ZodArray<z.ZodString>;
@@ -8355,7 +8556,7 @@ declare const SessionListResponse: z.ZodObject<{
8355
8556
  "rigs:use": "rigs:use";
8356
8557
  "rigs:manage": "rigs:manage";
8357
8558
  }>>>;
8358
- firstPartyMcpTools: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodEnum<{
8559
+ firstPartyMcpTools: z.ZodArray<z.ZodEnum<{
8359
8560
  set_session_title: "set_session_title";
8360
8561
  goal_set: "goal_set";
8361
8562
  goal_update: "goal_update";
@@ -8406,7 +8607,7 @@ declare const SessionListResponse: z.ZodObject<{
8406
8607
  slack_bot_channel_history: "slack_bot_channel_history";
8407
8608
  slack_bot_list_users: "slack_bot_list_users";
8408
8609
  slack_bot_post_message: "slack_bot_post_message";
8409
- }>>>>;
8610
+ }>>;
8410
8611
  mcpServers: z.ZodDefault<z.ZodArray<z.ZodObject<{
8411
8612
  id: z.ZodString;
8412
8613
  name: z.ZodNullable<z.ZodString>;
@@ -8622,22 +8823,20 @@ declare const SessionListResponse: z.ZodObject<{
8622
8823
  id: z.ZodString;
8623
8824
  optional: z.ZodOptional<z.ZodBoolean>;
8624
8825
  }, z.core.$strip>>;
8625
- toolPolicy: z.ZodOptional<z.ZodObject<{
8826
+ toolPolicy: z.ZodObject<{
8626
8827
  mode: z.ZodEnum<{
8627
8828
  explicit: "explicit";
8628
8829
  workspace_default: "workspace_default";
8629
8830
  inherited: "inherited";
8630
- legacy: "legacy";
8631
8831
  }>;
8632
8832
  inheritedFromSessionId: z.ZodNullable<z.ZodString>;
8633
- }, z.core.$strip>>;
8634
- toolPolicyVersion: z.ZodOptional<z.ZodNumber>;
8833
+ }, z.core.$strip>;
8834
+ toolPolicyVersion: z.ZodNumber;
8635
8835
  effectiveToolPolicy: z.ZodOptional<z.ZodObject<{
8636
8836
  mode: z.ZodEnum<{
8637
8837
  explicit: "explicit";
8638
8838
  workspace_default: "workspace_default";
8639
8839
  inherited: "inherited";
8640
- legacy: "legacy";
8641
8840
  }>;
8642
8841
  inheritedFromSessionId: z.ZodNullable<z.ZodString>;
8643
8842
  selectedIds: z.ZodArray<z.ZodString>;
@@ -8738,7 +8937,7 @@ declare const SessionListResponse: z.ZodObject<{
8738
8937
  "rigs:use": "rigs:use";
8739
8938
  "rigs:manage": "rigs:manage";
8740
8939
  }>>>;
8741
- firstPartyMcpTools: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodEnum<{
8940
+ firstPartyMcpTools: z.ZodArray<z.ZodEnum<{
8742
8941
  set_session_title: "set_session_title";
8743
8942
  goal_set: "goal_set";
8744
8943
  goal_update: "goal_update";
@@ -8789,7 +8988,7 @@ declare const SessionListResponse: z.ZodObject<{
8789
8988
  slack_bot_channel_history: "slack_bot_channel_history";
8790
8989
  slack_bot_list_users: "slack_bot_list_users";
8791
8990
  slack_bot_post_message: "slack_bot_post_message";
8792
- }>>>>;
8991
+ }>>;
8793
8992
  mcpServers: z.ZodDefault<z.ZodArray<z.ZodObject<{
8794
8993
  id: z.ZodString;
8795
8994
  name: z.ZodNullable<z.ZodString>;
@@ -9013,22 +9212,20 @@ declare const SessionLineageResponse: z.ZodObject<{
9013
9212
  id: z.ZodString;
9014
9213
  optional: z.ZodOptional<z.ZodBoolean>;
9015
9214
  }, z.core.$strip>>;
9016
- toolPolicy: z.ZodOptional<z.ZodObject<{
9215
+ toolPolicy: z.ZodObject<{
9017
9216
  mode: z.ZodEnum<{
9018
9217
  explicit: "explicit";
9019
9218
  workspace_default: "workspace_default";
9020
9219
  inherited: "inherited";
9021
- legacy: "legacy";
9022
9220
  }>;
9023
9221
  inheritedFromSessionId: z.ZodNullable<z.ZodString>;
9024
- }, z.core.$strip>>;
9025
- toolPolicyVersion: z.ZodOptional<z.ZodNumber>;
9222
+ }, z.core.$strip>;
9223
+ toolPolicyVersion: z.ZodNumber;
9026
9224
  effectiveToolPolicy: z.ZodOptional<z.ZodObject<{
9027
9225
  mode: z.ZodEnum<{
9028
9226
  explicit: "explicit";
9029
9227
  workspace_default: "workspace_default";
9030
9228
  inherited: "inherited";
9031
- legacy: "legacy";
9032
9229
  }>;
9033
9230
  inheritedFromSessionId: z.ZodNullable<z.ZodString>;
9034
9231
  selectedIds: z.ZodArray<z.ZodString>;
@@ -9129,7 +9326,7 @@ declare const SessionLineageResponse: z.ZodObject<{
9129
9326
  "rigs:use": "rigs:use";
9130
9327
  "rigs:manage": "rigs:manage";
9131
9328
  }>>>;
9132
- firstPartyMcpTools: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodEnum<{
9329
+ firstPartyMcpTools: z.ZodArray<z.ZodEnum<{
9133
9330
  set_session_title: "set_session_title";
9134
9331
  goal_set: "goal_set";
9135
9332
  goal_update: "goal_update";
@@ -9180,7 +9377,7 @@ declare const SessionLineageResponse: z.ZodObject<{
9180
9377
  slack_bot_channel_history: "slack_bot_channel_history";
9181
9378
  slack_bot_list_users: "slack_bot_list_users";
9182
9379
  slack_bot_post_message: "slack_bot_post_message";
9183
- }>>>>;
9380
+ }>>;
9184
9381
  mcpServers: z.ZodDefault<z.ZodArray<z.ZodObject<{
9185
9382
  id: z.ZodString;
9186
9383
  name: z.ZodNullable<z.ZodString>;
@@ -11411,12 +11608,6 @@ declare const SessionQueueMutationResponse: z.ZodObject<{
11411
11608
  fileId: z.ZodString;
11412
11609
  mountPath: z.ZodOptional<z.ZodString>;
11413
11610
  }, z.core.$strip>], "kind">>;
11414
- tools: z.ZodArray<z.ZodObject<{
11415
- kind: z.ZodLiteral<"mcp">;
11416
- id: z.ZodString;
11417
- optional: z.ZodOptional<z.ZodBoolean>;
11418
- }, z.core.$strip>>;
11419
- toolsProvided: z.ZodDefault<z.ZodBoolean>;
11420
11611
  model: z.ZodString;
11421
11612
  reasoningEffort: z.ZodEnum<{
11422
11613
  none: "none";
@@ -11951,11 +12142,6 @@ declare const ClientSessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
11951
12142
  fileId: z.ZodString;
11952
12143
  mountPath: z.ZodOptional<z.ZodString>;
11953
12144
  }, z.core.$strip>], "kind">>>;
11954
- tools: z.ZodDefault<z.ZodArray<z.ZodObject<{
11955
- kind: z.ZodLiteral<"mcp">;
11956
- id: z.ZodString;
11957
- optional: z.ZodOptional<z.ZodBoolean>;
11958
- }, z.core.$strip>>>;
11959
12145
  model: z.ZodOptional<z.ZodString>;
11960
12146
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
11961
12147
  none: "none";
@@ -11971,7 +12157,7 @@ declare const ClientSessionEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
11971
12157
  id: z.ZodString;
11972
12158
  headers: z.ZodRecord<z.ZodString, z.ZodString>;
11973
12159
  }, z.core.$strip>>>;
11974
- }, z.core.$strip>;
12160
+ }, z.core.$strict>;
11975
12161
  }, z.core.$strip>, z.ZodObject<{
11976
12162
  type: z.ZodLiteral<"user.approvalDecision">;
11977
12163
  clientEventId: z.ZodOptional<z.ZodString>;
@@ -12031,11 +12217,6 @@ declare const SteerSessionMessageRequest: z.ZodObject<{
12031
12217
  fileId: z.ZodString;
12032
12218
  mountPath: z.ZodOptional<z.ZodString>;
12033
12219
  }, z.core.$strip>], "kind">>>;
12034
- tools: z.ZodDefault<z.ZodArray<z.ZodObject<{
12035
- kind: z.ZodLiteral<"mcp">;
12036
- id: z.ZodString;
12037
- optional: z.ZodOptional<z.ZodBoolean>;
12038
- }, z.core.$strip>>>;
12039
12220
  model: z.ZodOptional<z.ZodString>;
12040
12221
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
12041
12222
  none: "none";
@@ -12052,7 +12233,7 @@ declare const SteerSessionMessageRequest: z.ZodObject<{
12052
12233
  id: z.ZodString;
12053
12234
  headers: z.ZodRecord<z.ZodString, z.ZodString>;
12054
12235
  }, z.core.$strip>>>;
12055
- }, z.core.$strip>;
12236
+ }, z.core.$strict>;
12056
12237
  type SteerSessionMessageRequest = z.infer<typeof SteerSessionMessageRequest>;
12057
12238
  declare const SteerSessionMessageResponse: z.ZodObject<{
12058
12239
  accepted: z.ZodObject<{
@@ -12438,6 +12619,11 @@ declare const GitHubBindingStatus: z.ZodEnum<{
12438
12619
  bound: "bound";
12439
12620
  }>;
12440
12621
  type GitHubBindingStatus = z.infer<typeof GitHubBindingStatus>;
12622
+ declare const GitHubAppSetupMode: z.ZodEnum<{
12623
+ platform: "platform";
12624
+ operator: "operator";
12625
+ }>;
12626
+ type GitHubAppSetupMode = z.infer<typeof GitHubAppSetupMode>;
12441
12627
  declare const GitHubInstallationLifecycle: z.ZodEnum<{
12442
12628
  active: "active";
12443
12629
  deleted: "deleted";
@@ -12461,6 +12647,7 @@ declare const GitHubInstallationBinding: z.ZodObject<{
12461
12647
  all: "all";
12462
12648
  }>;
12463
12649
  repositoryCount: z.ZodNumber;
12650
+ configureUrl: z.ZodNullable<z.ZodString>;
12464
12651
  createdAt: z.ZodString;
12465
12652
  updatedAt: z.ZodString;
12466
12653
  }, z.core.$strip>;
@@ -12472,6 +12659,10 @@ declare const GitHubAppInfo: z.ZodObject<{
12472
12659
  unbound: "unbound";
12473
12660
  bound: "bound";
12474
12661
  }>;
12662
+ setupMode: z.ZodEnum<{
12663
+ platform: "platform";
12664
+ operator: "operator";
12665
+ }>;
12475
12666
  appId: z.ZodNullable<z.ZodString>;
12476
12667
  clientId: z.ZodNullable<z.ZodString>;
12477
12668
  appSlug: z.ZodNullable<z.ZodString>;
@@ -12493,6 +12684,7 @@ declare const GitHubAppInfo: z.ZodObject<{
12493
12684
  all: "all";
12494
12685
  }>;
12495
12686
  repositoryCount: z.ZodNumber;
12687
+ configureUrl: z.ZodNullable<z.ZodString>;
12496
12688
  createdAt: z.ZodString;
12497
12689
  updatedAt: z.ZodString;
12498
12690
  }, z.core.$strip>>;
@@ -14454,4 +14646,4 @@ declare function evaluateWorkspaceModelPolicy(policy: WorkspaceModelPolicyContra
14454
14646
  modelId: string;
14455
14647
  }): WorkspaceModelPolicyVerdict;
14456
14648
 
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 };
14649
+ export { AccessContext, AccessGrant, AccountGrant, AccountRole, AcknowledgeStreamRequest, AcknowledgeStreamResponse, ActivateWorkspaceInstructionPolicyRequest, AddDocumentRequest, AddWorkspaceMemberRequest, type AdmitRunInput, ApiKey, AttachViewerRequest, type AuthorizeSessionInput, BillingBalance, BillingMode, type BoundSessionEventOptions, type BoundSessionEventPayloadOptions, type BoundWorkspaceControlEventOptions, CAPABILITY_DESCRIPTORS, CLEARED_RUN_STATE_BLOB, CLEARED_RUN_STATE_MARKER, CODEX_FLEET_POLICY_MAX_CANDIDATES, CODEX_FLEET_POLICY_MAX_OVERLAYS_PER_CANDIDATE, CODEX_FLEET_POLICY_SCHEMA_VERSION, CODEX_FLEET_POLICY_VERSION, CapabilityCatalogAuthKind, CapabilityCatalogItem, CapabilityCatalogResponse, CapabilityCatalogTier, type CapabilityDescriptor, CapabilityInstallation, CapabilityInstallationStatus, CapabilityKind, CapabilityPack, CapabilityPackConnector, CapabilityPackConnectorAuthModel, CapabilityPackKnowledge, CapabilityPackScheduledTaskTemplate, CapabilityPackSkill, CapabilityPackSkillFile, CapabilityRuntime, CapabilitySource, CapabilityUnavailableReason, ClearSessionContextRequest, ClientAuthConfig, ClientConfig, ClientModel, ClientSessionEvent, type CodexFleetAdmissionDecisionV1, type CodexFleetAdmissionSnapshotV1, type CodexFleetCacheState, type CodexFleetCandidateStatus, type CodexFleetCandidateV1, type CodexFleetConfidence, type CodexFleetDecisionInputV1, type CodexFleetDecisionV1, type CodexFleetOverlayMode, type CodexFleetPlacementKind, type CodexFleetPolicyConfigV1, type CodexFleetPriority, type CodexFleetQuotaWindowV1, type CodexFleetReplayRecordV1, type CodexFleetReplayVerdictV1, type CodexFleetScoreV1, CompactSessionContextRequest, CompactSessionContextResult, CompleteFileUploadResponse, ComposerDraft, ConnectionCredentialBundle, type ConnectionCredentialsPort, ConnectionKind, ConnectionMetadata, ConnectionResponse, ConnectionStatus, CreateApiKeyRequest, CreateApiKeyResponse, CreateCapabilityCatalogItemRequest, CreateCheckoutRequest, CreateCheckoutResponse, CreateConnectionRequest, CreateDocumentBaseRequest, CreateFileUploadRequest, CreateFileUploadResponse, CreateKnowledgeDropRequest, CreateKnowledgeMemoryRequest, CreateRigRequest, CreateScheduledTaskRequest, CreateSessionRequest, CreateSessionResponse, CreateSocialConnectionRequest, CreateSocialPostRequest, CreateVariableSetRequest, CreateWorkspaceEnvironmentRequest, CreateWorkspaceInstructionPolicyDraftRequest, CreateWorkspaceRequest, CredentialAuthNeededPayload, type CredentialAuthNeededReason, DEFAULT_CODEX_FLEET_POLICY_V1, DEFAULT_FIRST_PARTY_MCP_PERMISSIONS, DEFAULT_FIRST_PARTY_MCP_TOOLS, DESKTOP_STREAM_PORT, DelegatedAccessTokenPayload, DeleteSessionQueueItemRequest, DeviceEnrollmentApproveRequest, DeviceEnrollmentApproveResponse, DeviceEnrollmentDenyRequest, DeviceEnrollmentDenyResponse, DeviceEnrollmentLookupMachine, DeviceEnrollmentLookupRequest, DeviceEnrollmentLookupResponse, DeviceEnrollmentPollRequest, DeviceEnrollmentPollResponse, DeviceEnrollmentStartRequest, DeviceEnrollmentStartResponse, DeviceEnrollmentState, DiscoverMcpCapabilitiesResponse, Document, DocumentBase, DocumentCuration, DocumentCurationStatus, DocumentSearchMode, DocumentSearchRequest, DocumentSearchResult, DocumentStatus, DocumentVisibility, EditSessionQueueItemRequest, EffectiveControlBlocker, EffectiveControlResumeOption, EffectiveSessionControl, EnableCapabilityRequest, EnablePackRequest, EnrollTokenExchangeRequest, EnrollTokenExchangeResponse, EnrollTokenPayload, EnrollmentArch, EnrollmentBearerPayload, EnrollmentCredentialsResponse, EnrollmentOs, EnrollmentSummary, EntitlementDecision, EntitlementValue, Entitlements, EntitlementsMode, type EntitlementsPort, ErrorCode, ErrorEnvelope, FIRST_PARTY_MCP_TOOL_NAMES, FileAsset, FileDownloadUrlResponse, FileResourceRef, FileStatus, FileUploadStatus, FirstPartyMcpToolName, FsChangeKind, FsChangedPayload, FsDeleteRequest, FsDeleteResponse, FsEncoding, FsListRequest, FsListResponse, FsMkdirRequest, FsMkdirResponse, FsMoveRequest, FsMoveResponse, FsNodeType, FsReadRequest, FsReadResponse, FsTreeNode, FsWriteRequest, FsWriteResponse, GetWorkspaceCaptureFileResponse, GetWorkspaceCaptureResponse, GitChangedPayload, GitCommit, GitCredentialBindingId, GitCredentialProvider, GitCredentialRepositoryRef, type GitCredentialTransport, type GitCredentials, type GitCredentialsRequest, GitDiffHunk, GitDiffLine, GitDiffLineType, GitDiffRequest, GitDiffResponse, GitFileDiff, GitFileStatus, GitFileStatusCode, type GitHttpBrokerRepositoryRoute, type GitHubAppApiPort, GitHubAppInfo, GitHubAppManifestCreate, GitHubAppSetupMode, GitHubBindingStatus, type GitHubInstallationAuthorityKind, GitHubInstallationBinding, type GitHubInstallationBindingCandidate, type GitHubInstallationBindingProof, GitHubInstallationLifecycle, type GitHubInstallationSummary, GitHubRepositoriesResponse, GitHubRepository, type GitHubRepositoryPermissions, GitHubRepositoryScope, type GitHubUserInstallationAccess, type GitHubUserRepositoryAccess, GitLogRequest, GitLogResponse, GitRepositoryAccess, GitShowRequest, GitShowResponse, GitStatusRequest, GitStatusResponse, GoalSpec, type HealthResponse, HostEventExport, HostEventExportBatch, type HostEventSink, HostExportConsumerId, HostExportCursor, HostExportInitiator, HostExportInitiatorContext, HostSessionEvent, HostUsageEvent, HostUsageExport, HostUsageExportBatch, type HostUsageSink, HumanInputAnswer, HumanInputOption, HumanInputQuestion, HumanInputQuestionKind, HumanInputRequestStatus, HumanInputResponse, ImportLegacyWorkspaceInstructionPolicyDraftRequest, IntegrationClientMetadata, KnowledgeMemory, KnowledgeMemoryKind, KnowledgeMemorySearchRequest, KnowledgeMemoryStatus, KnowledgeSourceKind, KnowledgeSourceRef, LimitAction, LimitDecision, LineageNode, ListConnectionsResponse, ListEnrollmentsResponse, ListWorkspaceMembersResponse, MAX_NESTED_AGENT_DEPTH, MachineKind, MachineMetricsSeriesResponse, MachineState, MachineView, MachinesResponse, ManagedAccount, MarketingDailyAnalysisTaskRequest, McpConnectionResourceScope, type McpCredentialAuthNeededReason, type McpCredentialResolution, type McpCredentialsRequest, McpServerConnectionRef, MetricSample, MintEnrollTokenRequest, MintEnrollTokenResponse, ModelAvailabilityV1, ModelBillingAttributionV1, ModelCapabilitiesV1, ModelCapabilityStateV1, ModelCapabilitySupportV1, ModelCredentialReadinessV1, ModelCredentialSourceV1, ModelPricingScheduleV1, ModelPricingV1, MoveDocumentRequest, MoveSessionQueueItemRequest, NestedAgentDepthAttemptValue, NestedAgentDepthPolicySource, NestedAgentDepthValue, NewSessionDraft, NewSessionDraftOptions, OAuthStartRequest, OAuthStartResponse, OPENGENI_API_CONTRACT_HEADER, OPENGENI_API_CONTRACT_REVISION, OPENGENI_CORRELATION_HEADER, OPENGENI_HOST_EXPORT_SCHEMA_REVISION, OPENGENI_SLACK_BOT_CREDENTIAL_LABEL, OPENGENI_SLACK_BOT_CREDENTIAL_ROLE, OPENGENI_SLACK_BOT_FORBIDDEN_SCOPES, OPENGENI_SLACK_BOT_REQUIRED_SCOPES, OPENGENI_SLACK_BOT_SESSION_METADATA_KEY, OpenGeniSlackBotConnectionMetadata, OpenGeniSlackBotInstallRequest, OpenGeniSlackBotInstallStart, PackInstallation, PackInstallationStatus, Permission, type PortExposureKind, ProductAccessMode, ProposeRigChangeRequest, PtyCloseRequest, PtyOpenRequest, PtyOpenResponse, PtyResizeRequest, PtyWriteRequest, RETAINED_OUTPUT_DEFAULT_PAGE_BYTES, RETAINED_OUTPUT_MAX_PAGE_BYTES, RETAINED_OUTPUT_RECEIPT_MAX_BYTES, ReasoningEffort, RecordingAvailablePayload, RecordingCodec, RecordingContentType, RecordingFailedPayload, RecordingFailedReason, RecordingMode, RecordingStartedPayload, RegisterCapabilityPackRequest, RelayTokenPayload, RepositoryResourceRef, RequestHumanInputToolInput, type ResolveSessionAuthorizationListScopeInput, type ResolveSessionEventTypeFiltersInput, ResourceMountPathError, ResourceRef, ResourceRefConflictError, type RetainedArtifactFileInput, type RetainedArtifactMetadata, RetainedArtifactMetadataSchema, type RetainedArtifactReference, RetainedArtifactReferenceSchema, type RetainedArtifactUnavailable, RetainedArtifactUnavailableSchema, type RetainedOutputAvailableEvidence, type RetainedOutputEvidence, RetainedOutputEvidenceSchema, RetainedOutputKind, type RetainedOutputRangeResolution, type RetainedOutputResolvedRange, RetainedOutputUnavailableReason, RevokeEnrollmentResponse, Rig, RigChange, RigChangeKind, RigChangeStatus, RigChangeVerification, RigCheck, RigCheckResult, RigDefinitionEditPayload, RigSetupAppendPayload, RigVerificationHealth, RigVersion, RollbackWorkspaceInstructionPolicyRequest, type RunCredentialAuthNeeded, type RunCredentialFile, type RunCredentialRedaction, type RunCredentialsRequest, type RunCredentialsResolution, SESSION_AUTHORIZATION_LIST_SCOPE_MAX_IDS, SESSION_EFFECTIVE_TOOL_POLICY_ID_LIMIT, SESSION_EFFECTIVE_TOOL_POLICY_ID_MAX_LENGTH, SESSION_EVENT_CLIENT_EVENT_ID_MAX_BYTES, SESSION_EVENT_DUPLICATE_REASON_MAX_BYTES, SESSION_EVENT_ENVELOPE_MAX_BYTES, SESSION_EVENT_PAYLOAD_MAX_BYTES, SESSION_EVENT_RAW_DELTA_TYPES, SESSION_EVENT_SEMANTIC_CLASS_TYPES, SESSION_EVENT_TURN_ASSOCIATION_MAX_BYTES, SESSION_EVENT_TYPE_MAX_BYTES, SESSION_MCP_APPROVAL_POLICY_MAX_BYTES, SESSION_MCP_APPROVAL_POLICY_MAX_TOOL_NAMES, SESSION_MCP_APPROVAL_TOOL_NAME_MAX_BYTES, SESSION_MCP_SERVERS_MAX, SESSION_OPERATION_KEY_MAX_CHARS, SandboxBackend, SandboxCapabilityName, SandboxCommandOutputDeltaPayload, SandboxOs, type SandboxSecrets, type SandboxSecretsRequest, SaveComposerDraftRequest, SaveNewSessionDraftRequest, ScheduledTask, ScheduledTaskAgentConfig, ScheduledTaskOverlapPolicy, ScheduledTaskRun, ScheduledTaskRunMode, ScheduledTaskRunStatus, ScheduledTaskScheduleSpec, ScheduledTaskStatus, ScheduledTaskTriggerType, type SecretForRedaction, ServiceTurnInitiator, ServiceTurnInitiatorContext, Session, SessionAuthorizationActor, SessionAuthorizationDecision, SessionAuthorizationListScope, SessionAuthorizationOperation, type SessionAuthorizationPort, SessionAuthorizationSurface, SessionAuthorizationTarget, SessionBusMessage, SessionCapabilities, SessionCommandReceipt, SessionControlRequest, SessionControlResponse, SessionControlState, SessionEffectiveToolPolicy, SessionEvent, type SessionEventBoundarySurface, type SessionEventCompactResult, type SessionEventJsonMeasurement, SessionEventLatestClass, type SessionEventMediaPreview, SessionEventPayloadMode, type SessionEventPayloadTruncation, SessionEventReadDirection, SessionEventReadMode, SessionEventResultMode, SessionEventSemanticClass, SessionEventType, SessionGoal, SessionGoalContinuation, SessionGoalContinuationReason, SessionGoalContinuationState, SessionGoalCreatedBy, SessionGoalPausedReason, SessionGoalStatus, SessionHumanInputRequest, SessionLineageResponse, SessionListResponse, SessionMcpApprovalPolicy, SessionMcpCredentialUpdateInput, SessionMcpServerId, SessionMcpServerInput, SessionMcpServerMetadata, SessionPendingInputPreview, SessionQueueMutationResponse, SessionQueueSnapshot, SessionSkill, SessionSkills, SessionSpawnDenial, SessionStatus, SessionStructuredCapabilities, type SessionSummary, SessionSystemUpdate, SessionSystemUpdateKind, SessionSystemUpdatePayload, SessionSystemUpdateState, SessionToolPolicy, SessionTurn, SessionTurnSource, SessionTurnStatus, SetVariableSetVariableRequest, SetWorkspaceDefaultRigRequest, SetWorkspaceEnvironmentVariableRequest, SocialConnection, SocialConnectionStatus, SocialPost, SocialProvider, StaticUsageLimits, SteerSessionMessageRequest, SteerSessionMessageResponse, SteerSessionQueueItemRequest, StreamClosedPayload, StreamOpenedPayload, StreamRevokedPayload, StreamTokenPayload, StreamUrlRotatedPayload, SubmitHumanInputResponseRequest, SwapActiveSandboxRequest, SwapActiveSandboxResponse, SystemUpdateClassification, TERMINAL_STREAM_PORT, TURN_EXECUTION_POLICY_METADATA_KEY, TerminalExecRequest, TerminalExecResponse, TerminalPtyExitedPayload, TerminalPtyOutputDeltaPayload, TerminalPtyStartedPayload, ToolAuthNeededPayload, ToolRef, TranscriptionErrorCode, TranscriptionEvent, TranscriptionResultMetadata, TranscriptionSpeaker, TranscriptionTimeSpan, TranscriptionWord, TriggerScheduledTaskRequest, TurnExecutionModelSourceV1, type TurnExecutionPolicyReadV1, TurnExecutionPolicyV1, TurnExecutionReasoningSourceV1, TurnInitiator, TurnInitiatorContext, UNATTRIBUTED_LEGACY_INITIATOR_SUBJECT_ID, UpdateConnectionRequest, UpdateKnowledgeMemoryRequest, UpdateRigRequest, UpdateScheduledTaskRequest, UpdateSessionGoalRequest, UpdateSessionMcpApprovalPolicyRequest, UpdateSessionMcpApprovalPolicyResponse, UpdateSessionPinRequest, UpdateSessionRequest, UpdateSessionToolPolicyRequest, UpdateVariableSetRequest, UpdateWorkspaceEnvironmentRequest, UpdateWorkspaceMemberRequest, UpdateWorkspaceModelPolicyRequest, UpdateWorkspaceRequest, UpdateWorkspaceSettingsRequest, UsageEvent, UsageEventType, UsageLimitsMode, VariableSet, VariableSetVariableMetadata, VariableSetVariableName, ViewerHeartbeatRequest, ViewerHeartbeatResponse, ViewerHolder, WORKSPACE_CONTROL_ACTOR_MAX_BYTES, WORKSPACE_CONTROL_EVENT_MAX_BYTES, WORKSPACE_CONTROL_REASON_MAX_BYTES, WORKSPACE_INSTRUCTION_POLICY_CONTENT_MAX_CHARS, WORKSPACE_INSTRUCTION_POLICY_REASON_MAX_CHARS, WORKSPACE_INSTRUCTION_POLICY_ROLE_KEY_MAX_CHARS, WORKSPACE_INSTRUCTION_POLICY_SOURCE_ID_MAX_CHARS, Workspace, WorkspaceCaptureDegradedReason, WorkspaceCaptureFile, WorkspaceCaptureManifest, WorkspaceCaptureRepo, WorkspaceCaptureSignedUrl, WorkspaceCaptureStats, type WorkspaceControlBoundarySurface, WorkspaceControlEvent, WorkspaceControlEventTruncation, WorkspaceEnvironment, WorkspaceEnvironmentVariableMetadata, WorkspaceInferenceControlRequest, WorkspaceInferenceControlResponse, WorkspaceInferenceState, WorkspaceInstructionPolicyActivationEvent, WorkspaceInstructionPolicyActivationResponse, WorkspaceInstructionPolicyActivationType, WorkspaceInstructionPolicyConflictResponse, WorkspaceInstructionPolicyDiffRequest, WorkspaceInstructionPolicyDiffResponse, WorkspaceInstructionPolicyDraftProvenanceSource, WorkspaceInstructionPolicyHead, WorkspaceInstructionPolicyKind, WorkspaceInstructionPolicyListQuery, WorkspaceInstructionPolicyListResponse, WorkspaceInstructionPolicyProvenance, WorkspaceInstructionPolicyProvenanceSource, WorkspaceInstructionPolicyRevision, WorkspaceInstructionPolicyRevisionIdentity, WorkspaceInstructionPolicyRoleKey, WorkspaceInstructionPolicyScope, WorkspaceInstructionPolicyTarget, WorkspaceMember, WorkspaceMemorySearchMode, WorkspaceMemorySearchRequest, WorkspaceMemorySearchResponse, WorkspaceMemorySearchResult, WorkspaceModelCatalogModel, WorkspaceModelCatalogResponse, type WorkspaceModelPolicyContract, type WorkspaceModelPolicyVerdict, WorkspaceRegisteredPack, WorkspaceRevisionCapturedPayload, WorkspaceRevisionDegradedPayload, type WorkspaceSettings, WorkspaceSettingsSchema, WorkspaceTranscriptionPolicy, WorkspaceTranscriptionTarget, approvalIdentifier, approximateSessionEventTokens, assertUniqueResourceMountPaths, boundSessionEvent, boundSessionEventPayload, boundWorkspaceControlEvent, canonicalCodexFleetReplayJsonV1, capabilityCatalogItemIsTrustedForExposure, compactSessionEventResult, compareCodexFleetCanonicalStringsV1, createCodexFleetReplayRecordV1, createSecretRedactor, defaultRepositoryMountPath, effectiveCodexFleetCacheStateV1, evaluateCodexFleetDecisionV1, evaluateWorkspaceModelPolicy, gitCredentialBindingIdForRepository, gitCredentialProviderForRepository, identityRedactor, isClearedRunStateBlob, isCredentialHeaderName, isSensitiveFieldName, measureSessionEventJson, mergeResourceRefs, mergeToolRefs, metadataWithTurnExecutionPolicyV1, normalizeRepositorySubpath, normalizeResourceMountPath, normalizeWorkspaceInstructionPolicyRoleKey, prefixedMcpToolName, readCodexFleetReplayRecordV1, readTurnExecutionPolicyV1, reasoningEffortForMetadata, redactSensitiveData, redactSensitiveKey, redactSensitiveText, redactSerializedJson, renderSessionSystemUpdateBatch, replayCodexFleetDecisionV1, resolveRetainedOutputRange, resolveSessionEventTypeFilters, resolveWorkspaceMemoryEnabled, resourceIdentityKey, resourceMountPath, resourceMountPathCollisionKey, retainedArtifactReferenceFromFile, retainedOutputUnavailable, sessionEventJsonBytes, sessionEventLatestClassToSemanticClass, sessionEventMediaPreview, sessionEventMediaPreviewFromDataUrl, sessionEventPayloadTruncation, sessionSystemUpdateBatchHistoryItem, signDelegatedAccessToken, signEnrollToken, signEnrollmentBearer, signRelayToken, signStreamToken, stableJson, turnExecutionPolicyAuditMetadata, validateRetainedOutputEvidence, verifyDelegatedAccessToken, verifyEnrollToken, verifyEnrollmentBearer, verifyRelayToken, verifyStreamToken, workspaceControlUtf8Bytes };