@opengeni/contracts 0.19.0 → 0.19.4

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
@@ -494,6 +494,47 @@ declare function readCodexFleetReplayRecordV1(value: unknown): CodexFleetReplayR
494
494
  declare function evaluateCodexFleetDecisionV1(input: CodexFleetDecisionInputV1, policy?: CodexFleetPolicyConfigV1): CodexFleetDecisionV1;
495
495
  declare function effectiveCodexFleetCacheStateV1(cache: CodexFleetCandidateV1["cache"], policy: CodexFleetPolicyConfigV1): CodexFleetCacheState;
496
496
 
497
+ type SecretForRedaction = {
498
+ name: string;
499
+ value: string;
500
+ };
501
+ /**
502
+ * Returns true only for fields whose value is itself credential material.
503
+ * Container fields such as `headers` and URL fields are intentionally not
504
+ * included: their nested/value sanitizers retain useful names, hosts, paths,
505
+ * and non-sensitive query parameters.
506
+ */
507
+ declare function isSensitiveFieldName(name: string): boolean;
508
+ /**
509
+ * Return true only for header names whose values are credential material.
510
+ * Ordinary protocol metadata (`content-type`, `accept`, `user-agent`, and
511
+ * pagination/signature headers outside this allowlist) must remain intact.
512
+ */
513
+ declare function isCredentialHeaderName(name: string): boolean;
514
+ /**
515
+ * Redact only exact known-secret provenance from a structured object key.
516
+ * Generic field/header heuristics intentionally do not run here: a key is
517
+ * metadata unless the caller has proved that its bytes are secret material.
518
+ */
519
+ declare function redactSensitiveKey(key: string, knownSecrets?: readonly SecretForRedaction[]): string;
520
+ /**
521
+ * Redact known secret provenance and common credential-bearing text shapes.
522
+ * This is deliberately a conservative safety boundary, not a promise of
523
+ * general-purpose DLP. It never includes a matched value in a marker or error.
524
+ */
525
+ declare function redactSensitiveText(text: string, knownSecrets?: readonly SecretForRedaction[]): string;
526
+ /** Deeply redact plain structured data while retaining its diagnostic shape. */
527
+ declare function redactSensitiveData<T>(value: T, knownSecrets?: readonly SecretForRedaction[]): T;
528
+ /** Build the worker-friendly single-argument redactor used at turn boundaries. */
529
+ declare function createSecretRedactor(knownSecrets: readonly SecretForRedaction[]): (value: unknown) => unknown;
530
+ /**
531
+ * Redact a serialized JSON checkpoint without requiring it to be valid JSON.
532
+ * Valid JSON retains structure; malformed/opaque text still receives text
533
+ * classification and exact-known-value replacement.
534
+ */
535
+ declare function redactSerializedJson(serialized: string, knownSecrets?: readonly SecretForRedaction[]): string;
536
+ declare function identityRedactor<T>(value: T): T;
537
+
497
538
  declare const SessionStatus: z.ZodEnum<{
498
539
  queued: "queued";
499
540
  running: "running";
@@ -613,6 +654,7 @@ declare const ErrorCode: z.ZodEnum<{
613
654
  type ErrorCode = z.infer<typeof ErrorCode>;
614
655
  declare const ErrorEnvelope: z.ZodObject<{
615
656
  error: z.ZodObject<{
657
+ status: z.ZodNumber;
616
658
  code: z.ZodEnum<{
617
659
  unauthenticated: "unauthenticated";
618
660
  forbidden: "forbidden";
@@ -628,6 +670,7 @@ declare const ErrorEnvelope: z.ZodObject<{
628
670
  internal_error: "internal_error";
629
671
  }>;
630
672
  message: z.ZodString;
673
+ retryable: z.ZodBoolean;
631
674
  requestId: z.ZodOptional<z.ZodString>;
632
675
  details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
633
676
  }, z.core.$strip>;
@@ -2269,10 +2312,19 @@ type ConnectionCredentialsPort = {
2269
2312
  };
2270
2313
  type GitHubInstallationSummary = {
2271
2314
  installationId: number;
2315
+ accountId: number;
2272
2316
  accountLogin: string | null;
2273
2317
  accountType: string | null;
2274
2318
  suspended: boolean;
2275
2319
  };
2320
+ type GitHubInstallationAuthorityKind = "personal_owner" | "organization_owner";
2321
+ interface GitHubInstallationBindingProof {
2322
+ actorId: number;
2323
+ actorLogin: string;
2324
+ authorityKind: GitHubInstallationAuthorityKind;
2325
+ installation: GitHubInstallationSummary;
2326
+ repositories: GitHubRepository[];
2327
+ }
2276
2328
  type GitHubRepositoryPermissions = {
2277
2329
  admin: boolean;
2278
2330
  maintain: boolean;
@@ -2287,6 +2339,18 @@ type GitHubUserInstallationAccess = GitHubInstallationSummary & {
2287
2339
  repositories: GitHubUserRepositoryAccess[];
2288
2340
  };
2289
2341
  type GitHubAppApiPort = {
2342
+ /**
2343
+ * Exchange one fresh GitHub user-authorization code and prove current
2344
+ * installation authority. Implementations must accept only exact personal
2345
+ * ownership or active organization ownership; installation visibility,
2346
+ * repository permission bits, and App Manager metadata are not authority.
2347
+ * Organization ownership must be revalidated after repository discovery,
2348
+ * immediately before returning the proof used by the durable bind.
2349
+ */
2350
+ authorizeInstallationBinding?: (input: {
2351
+ code: string;
2352
+ installationId: number;
2353
+ }) => Promise<GitHubInstallationBindingProof>;
2290
2354
  authorizeUser?: (input: {
2291
2355
  code: string;
2292
2356
  }) => Promise<GitHubUserInstallationAccess[]>;
@@ -2522,6 +2586,28 @@ declare const DocumentSearchMode: z.ZodEnum<{
2522
2586
  keyword: "keyword";
2523
2587
  }>;
2524
2588
  type DocumentSearchMode = z.infer<typeof DocumentSearchMode>;
2589
+ declare const DocumentVisibility: z.ZodEnum<{
2590
+ workspace: "workspace";
2591
+ private: "private";
2592
+ }>;
2593
+ type DocumentVisibility = z.infer<typeof DocumentVisibility>;
2594
+ declare const DocumentCurationStatus: z.ZodEnum<{
2595
+ failed: "failed";
2596
+ none: "none";
2597
+ pending: "pending";
2598
+ suggested: "suggested";
2599
+ auto_filed: "auto_filed";
2600
+ }>;
2601
+ type DocumentCurationStatus = z.infer<typeof DocumentCurationStatus>;
2602
+ declare const DocumentCuration: z.ZodObject<{
2603
+ suggestedBaseId: z.ZodNullable<z.ZodString>;
2604
+ suggestedBaseName: z.ZodNullable<z.ZodString>;
2605
+ confidence: z.ZodNumber;
2606
+ reason: z.ZodNullable<z.ZodString>;
2607
+ originalTitle: z.ZodNullable<z.ZodString>;
2608
+ model: z.ZodNullable<z.ZodString>;
2609
+ }, z.core.$strip>;
2610
+ type DocumentCuration = z.infer<typeof DocumentCuration>;
2525
2611
  declare const DocumentBase: z.ZodObject<{
2526
2612
  id: z.ZodString;
2527
2613
  workspaceId: z.ZodString;
@@ -2564,6 +2650,29 @@ declare const Document: z.ZodObject<{
2564
2650
  sourceUpdatedAt: z.ZodNullable<z.ZodString>;
2565
2651
  sourceVersion: z.ZodNullable<z.ZodString>;
2566
2652
  aclTags: z.ZodArray<z.ZodString>;
2653
+ visibility: z.ZodEnum<{
2654
+ workspace: "workspace";
2655
+ private: "private";
2656
+ }>;
2657
+ createdBy: z.ZodNullable<z.ZodString>;
2658
+ agentAccess: z.ZodBoolean;
2659
+ summary: z.ZodNullable<z.ZodString>;
2660
+ topics: z.ZodArray<z.ZodString>;
2661
+ curationStatus: z.ZodEnum<{
2662
+ failed: "failed";
2663
+ none: "none";
2664
+ pending: "pending";
2665
+ suggested: "suggested";
2666
+ auto_filed: "auto_filed";
2667
+ }>;
2668
+ curation: z.ZodNullable<z.ZodObject<{
2669
+ suggestedBaseId: z.ZodNullable<z.ZodString>;
2670
+ suggestedBaseName: z.ZodNullable<z.ZodString>;
2671
+ confidence: z.ZodNumber;
2672
+ reason: z.ZodNullable<z.ZodString>;
2673
+ originalTitle: z.ZodNullable<z.ZodString>;
2674
+ model: z.ZodNullable<z.ZodString>;
2675
+ }, z.core.$strip>>;
2567
2676
  createdAt: z.ZodString;
2568
2677
  updatedAt: z.ZodString;
2569
2678
  }, z.core.$strip>;
@@ -2632,8 +2741,29 @@ declare const AddDocumentRequest: z.ZodObject<{
2632
2741
  sourceUpdatedAt: z.ZodOptional<z.ZodString>;
2633
2742
  sourceVersion: z.ZodOptional<z.ZodString>;
2634
2743
  aclTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2744
+ visibility: z.ZodOptional<z.ZodEnum<{
2745
+ workspace: "workspace";
2746
+ private: "private";
2747
+ }>>;
2748
+ agentAccess: z.ZodOptional<z.ZodBoolean>;
2635
2749
  }, z.core.$strip>;
2636
2750
  type AddDocumentRequest = z.infer<typeof AddDocumentRequest>;
2751
+ declare const CreateKnowledgeDropRequest: z.ZodObject<{
2752
+ text: z.ZodOptional<z.ZodString>;
2753
+ fileId: z.ZodOptional<z.ZodString>;
2754
+ filename: z.ZodOptional<z.ZodString>;
2755
+ title: z.ZodOptional<z.ZodString>;
2756
+ visibility: z.ZodOptional<z.ZodEnum<{
2757
+ workspace: "workspace";
2758
+ private: "private";
2759
+ }>>;
2760
+ agentAccess: z.ZodOptional<z.ZodBoolean>;
2761
+ }, z.core.$strip>;
2762
+ type CreateKnowledgeDropRequest = z.infer<typeof CreateKnowledgeDropRequest>;
2763
+ declare const MoveDocumentRequest: z.ZodObject<{
2764
+ targetBaseId: z.ZodOptional<z.ZodString>;
2765
+ }, z.core.$strip>;
2766
+ type MoveDocumentRequest = z.infer<typeof MoveDocumentRequest>;
2637
2767
  declare const DocumentSearchRequest: z.ZodObject<{
2638
2768
  query: z.ZodString;
2639
2769
  baseIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -3328,6 +3458,25 @@ declare const UpdateSessionRequest: z.ZodObject<{
3328
3458
  title: z.ZodString;
3329
3459
  }, z.core.$strip>;
3330
3460
  type UpdateSessionRequest = z.infer<typeof UpdateSessionRequest>;
3461
+ /**
3462
+ * Replace an existing session's durable tool policy, or explicitly opt back in
3463
+ * to the current workspace defaults. The mode-less explicit shape is retained
3464
+ * for compatibility with clients released before workspace-default adoption
3465
+ * was supported.
3466
+ */
3467
+ declare const UpdateSessionToolPolicyRequest: z.ZodUnion<readonly [z.ZodObject<{
3468
+ mode: z.ZodLiteral<"workspace_default">;
3469
+ expectedVersion: z.ZodNumber;
3470
+ }, z.core.$strict>, z.ZodObject<{
3471
+ mode: z.ZodOptional<z.ZodLiteral<"explicit">>;
3472
+ tools: z.ZodArray<z.ZodObject<{
3473
+ kind: z.ZodLiteral<"mcp">;
3474
+ id: z.ZodString;
3475
+ optional: z.ZodOptional<z.ZodBoolean>;
3476
+ }, z.core.$strip>>;
3477
+ expectedVersion: z.ZodNumber;
3478
+ }, z.core.$strict>]>;
3479
+ type UpdateSessionToolPolicyRequest = z.infer<typeof UpdateSessionToolPolicyRequest>;
3331
3480
  /**
3332
3481
  * A member's personal pin preference for a session. `expectedVersion` is
3333
3482
  * optional: ordinary pin/unpin actions are idempotent last-write-wins, while a
@@ -3436,6 +3585,7 @@ declare const SessionAuthorizationOperation: z.ZodEnum<{
3436
3585
  "session.human_input.write": "session.human_input.write";
3437
3586
  "session.title.write": "session.title.write";
3438
3587
  "session.mcp.approval_policy.write": "session.mcp.approval_policy.write";
3588
+ "session.tool_policy.write": "session.tool_policy.write";
3439
3589
  "session.goal.read": "session.goal.read";
3440
3590
  "session.goal.write": "session.goal.write";
3441
3591
  "session.child.create": "session.child.create";
@@ -4032,6 +4182,11 @@ declare const SaveComposerDraftRequest: z.ZodObject<{
4032
4182
  high: "high";
4033
4183
  xhigh: "xhigh";
4034
4184
  }>;
4185
+ tools: z.ZodArray<z.ZodObject<{
4186
+ kind: z.ZodLiteral<"mcp">;
4187
+ id: z.ZodString;
4188
+ optional: z.ZodOptional<z.ZodBoolean>;
4189
+ }, z.core.$strip>>;
4035
4190
  resources: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4036
4191
  kind: z.ZodLiteral<"repository">;
4037
4192
  uri: z.ZodString;
@@ -4059,11 +4214,6 @@ declare const SaveComposerDraftRequest: z.ZodObject<{
4059
4214
  fileId: z.ZodString;
4060
4215
  mountPath: z.ZodOptional<z.ZodString>;
4061
4216
  }, z.core.$strip>], "kind">>;
4062
- tools: z.ZodArray<z.ZodObject<{
4063
- kind: z.ZodLiteral<"mcp">;
4064
- id: z.ZodString;
4065
- optional: z.ZodOptional<z.ZodBoolean>;
4066
- }, z.core.$strip>>;
4067
4217
  toolsProvided: z.ZodDefault<z.ZodBoolean>;
4068
4218
  expectedRevision: z.ZodNumber;
4069
4219
  }, z.core.$strip>;
@@ -4174,6 +4324,7 @@ declare const NewSessionDraft: z.ZodObject<{
4174
4324
  id: z.ZodString;
4175
4325
  optional: z.ZodOptional<z.ZodBoolean>;
4176
4326
  }, z.core.$strip>>;
4327
+ toolsProvided: z.ZodDefault<z.ZodBoolean>;
4177
4328
  model: z.ZodString;
4178
4329
  reasoningEffort: z.ZodEnum<{
4179
4330
  none: "none";
@@ -4261,6 +4412,11 @@ declare const SaveNewSessionDraftRequest: z.ZodObject<{
4261
4412
  high: "high";
4262
4413
  xhigh: "xhigh";
4263
4414
  }>;
4415
+ tools: z.ZodArray<z.ZodObject<{
4416
+ kind: z.ZodLiteral<"mcp">;
4417
+ id: z.ZodString;
4418
+ optional: z.ZodOptional<z.ZodBoolean>;
4419
+ }, z.core.$strip>>;
4264
4420
  resources: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4265
4421
  kind: z.ZodLiteral<"repository">;
4266
4422
  uri: z.ZodString;
@@ -4288,11 +4444,7 @@ declare const SaveNewSessionDraftRequest: z.ZodObject<{
4288
4444
  fileId: z.ZodString;
4289
4445
  mountPath: z.ZodOptional<z.ZodString>;
4290
4446
  }, z.core.$strip>], "kind">>;
4291
- tools: z.ZodArray<z.ZodObject<{
4292
- kind: z.ZodLiteral<"mcp">;
4293
- id: z.ZodString;
4294
- optional: z.ZodOptional<z.ZodBoolean>;
4295
- }, z.core.$strip>>;
4447
+ toolsProvided: z.ZodDefault<z.ZodBoolean>;
4296
4448
  options: z.ZodObject<{
4297
4449
  sandboxBackend: z.ZodOptional<z.ZodEnum<{
4298
4450
  docker: "docker";
@@ -6613,6 +6765,7 @@ declare const Session: z.ZodObject<{
6613
6765
  }>;
6614
6766
  inheritedFromSessionId: z.ZodNullable<z.ZodString>;
6615
6767
  }, z.core.$strip>>;
6768
+ toolPolicyVersion: z.ZodOptional<z.ZodNumber>;
6616
6769
  effectiveToolPolicy: z.ZodOptional<z.ZodObject<{
6617
6770
  mode: z.ZodEnum<{
6618
6771
  explicit: "explicit";
@@ -6926,6 +7079,7 @@ declare const CreateSessionResponse: z.ZodObject<{
6926
7079
  }>;
6927
7080
  inheritedFromSessionId: z.ZodNullable<z.ZodString>;
6928
7081
  }, z.core.$strip>>;
7082
+ toolPolicyVersion: z.ZodOptional<z.ZodNumber>;
6929
7083
  effectiveToolPolicy: z.ZodOptional<z.ZodObject<{
6930
7084
  mode: z.ZodEnum<{
6931
7085
  explicit: "explicit";
@@ -7245,6 +7399,7 @@ declare const SessionListResponse: z.ZodObject<{
7245
7399
  }>;
7246
7400
  inheritedFromSessionId: z.ZodNullable<z.ZodString>;
7247
7401
  }, z.core.$strip>>;
7402
+ toolPolicyVersion: z.ZodOptional<z.ZodNumber>;
7248
7403
  effectiveToolPolicy: z.ZodOptional<z.ZodObject<{
7249
7404
  mode: z.ZodEnum<{
7250
7405
  explicit: "explicit";
@@ -7553,6 +7708,7 @@ declare const SessionListResponse: z.ZodObject<{
7553
7708
  }>;
7554
7709
  inheritedFromSessionId: z.ZodNullable<z.ZodString>;
7555
7710
  }, z.core.$strip>>;
7711
+ toolPolicyVersion: z.ZodOptional<z.ZodNumber>;
7556
7712
  effectiveToolPolicy: z.ZodOptional<z.ZodObject<{
7557
7713
  mode: z.ZodEnum<{
7558
7714
  explicit: "explicit";
@@ -7869,6 +8025,7 @@ declare const SessionLineageResponse: z.ZodObject<{
7869
8025
  }>;
7870
8026
  inheritedFromSessionId: z.ZodNullable<z.ZodString>;
7871
8027
  }, z.core.$strip>>;
8028
+ toolPolicyVersion: z.ZodOptional<z.ZodNumber>;
7872
8029
  effectiveToolPolicy: z.ZodOptional<z.ZodObject<{
7873
8030
  mode: z.ZodEnum<{
7874
8031
  explicit: "explicit";
@@ -8193,6 +8350,7 @@ declare const SessionEventType: z.ZodEnum<{
8193
8350
  "terminal.pty.exited": "terminal.pty.exited";
8194
8351
  "session.title_set": "session.title_set";
8195
8352
  "session.mcp.approval_policy.updated": "session.mcp.approval_policy.updated";
8353
+ "session.tool_policy.updated": "session.tool_policy.updated";
8196
8354
  "codex.account.switched": "codex.account.switched";
8197
8355
  "codex.credential.selected": "codex.credential.selected";
8198
8356
  "codex.fleet.decision": "codex.fleet.decision";
@@ -8268,7 +8426,7 @@ declare const SessionEventReadDirection: z.ZodEnum<{
8268
8426
  type SessionEventReadDirection = z.infer<typeof SessionEventReadDirection>;
8269
8427
  declare const SESSION_EVENT_RAW_DELTA_TYPES: readonly ["agent.message.delta", "agent.reasoning.delta", "sandbox.command.output.delta", "terminal.pty.output.delta"];
8270
8428
  declare const SESSION_EVENT_SEMANTIC_CLASS_TYPES: {
8271
- 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"];
8429
+ 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"];
8272
8430
  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"];
8273
8431
  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"];
8274
8432
  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"];
@@ -9567,6 +9725,7 @@ declare const SessionEvent: z.ZodObject<{
9567
9725
  "terminal.pty.exited": "terminal.pty.exited";
9568
9726
  "session.title_set": "session.title_set";
9569
9727
  "session.mcp.approval_policy.updated": "session.mcp.approval_policy.updated";
9728
+ "session.tool_policy.updated": "session.tool_policy.updated";
9570
9729
  "codex.account.switched": "codex.account.switched";
9571
9730
  "codex.credential.selected": "codex.credential.selected";
9572
9731
  "codex.fleet.decision": "codex.fleet.decision";
@@ -10820,6 +10979,7 @@ declare const SteerSessionMessageResponse: z.ZodObject<{
10820
10979
  "terminal.pty.exited": "terminal.pty.exited";
10821
10980
  "session.title_set": "session.title_set";
10822
10981
  "session.mcp.approval_policy.updated": "session.mcp.approval_policy.updated";
10982
+ "session.tool_policy.updated": "session.tool_policy.updated";
10823
10983
  "codex.account.switched": "codex.account.switched";
10824
10984
  "codex.credential.selected": "codex.credential.selected";
10825
10985
  "codex.fleet.decision": "codex.fleet.decision";
@@ -11048,6 +11208,7 @@ declare const SessionBusMessage: z.ZodObject<{
11048
11208
  "terminal.pty.exited": "terminal.pty.exited";
11049
11209
  "session.title_set": "session.title_set";
11050
11210
  "session.mcp.approval_policy.updated": "session.mcp.approval_policy.updated";
11211
+ "session.tool_policy.updated": "session.tool_policy.updated";
11051
11212
  "codex.account.switched": "codex.account.switched";
11052
11213
  "codex.credential.selected": "codex.credential.selected";
11053
11214
  "codex.fleet.decision": "codex.fleet.decision";
@@ -11109,10 +11270,30 @@ declare const GitHubRepositoryScope: z.ZodEnum<{
11109
11270
  all: "all";
11110
11271
  }>;
11111
11272
  type GitHubRepositoryScope = z.infer<typeof GitHubRepositoryScope>;
11273
+ declare const GitHubBindingStatus: z.ZodEnum<{
11274
+ disabled: "disabled";
11275
+ unbound: "unbound";
11276
+ bound: "bound";
11277
+ }>;
11278
+ type GitHubBindingStatus = z.infer<typeof GitHubBindingStatus>;
11279
+ declare const GitHubInstallationLifecycle: z.ZodEnum<{
11280
+ active: "active";
11281
+ deleted: "deleted";
11282
+ unverified: "unverified";
11283
+ suspended: "suspended";
11284
+ }>;
11285
+ type GitHubInstallationLifecycle = z.infer<typeof GitHubInstallationLifecycle>;
11112
11286
  declare const GitHubInstallationBinding: z.ZodObject<{
11113
11287
  installationId: z.ZodNumber;
11288
+ githubAccountId: z.ZodNullable<z.ZodNumber>;
11114
11289
  accountLogin: z.ZodNullable<z.ZodString>;
11115
11290
  accountType: z.ZodNullable<z.ZodString>;
11291
+ lifecycle: z.ZodEnum<{
11292
+ active: "active";
11293
+ deleted: "deleted";
11294
+ unverified: "unverified";
11295
+ suspended: "suspended";
11296
+ }>;
11116
11297
  repositoryScope: z.ZodEnum<{
11117
11298
  selected: "selected";
11118
11299
  all: "all";
@@ -11124,6 +11305,11 @@ declare const GitHubInstallationBinding: z.ZodObject<{
11124
11305
  type GitHubInstallationBinding = z.infer<typeof GitHubInstallationBinding>;
11125
11306
  declare const GitHubAppInfo: z.ZodObject<{
11126
11307
  configured: z.ZodBoolean;
11308
+ status: z.ZodEnum<{
11309
+ disabled: "disabled";
11310
+ unbound: "unbound";
11311
+ bound: "bound";
11312
+ }>;
11127
11313
  appId: z.ZodNullable<z.ZodString>;
11128
11314
  clientId: z.ZodNullable<z.ZodString>;
11129
11315
  appSlug: z.ZodNullable<z.ZodString>;
@@ -11131,8 +11317,15 @@ declare const GitHubAppInfo: z.ZodObject<{
11131
11317
  linkUrl: z.ZodNullable<z.ZodString>;
11132
11318
  installations: z.ZodArray<z.ZodObject<{
11133
11319
  installationId: z.ZodNumber;
11320
+ githubAccountId: z.ZodNullable<z.ZodNumber>;
11134
11321
  accountLogin: z.ZodNullable<z.ZodString>;
11135
11322
  accountType: z.ZodNullable<z.ZodString>;
11323
+ lifecycle: z.ZodEnum<{
11324
+ active: "active";
11325
+ deleted: "deleted";
11326
+ unverified: "unverified";
11327
+ suspended: "suspended";
11328
+ }>;
11136
11329
  repositoryScope: z.ZodEnum<{
11137
11330
  selected: "selected";
11138
11331
  all: "all";
@@ -12824,6 +13017,8 @@ type WorkspaceModelCatalogResponse = z.infer<typeof WorkspaceModelCatalogRespons
12824
13017
  */
12825
13018
  declare const OPENGENI_API_CONTRACT_REVISION: "2026-07-turn-instructions-v1";
12826
13019
  declare const OPENGENI_API_CONTRACT_HEADER: "x-opengeni-api-contract";
13020
+ /** Bounded request/response identifier shared by browser, ingress, and API diagnostics. */
13021
+ declare const OPENGENI_CORRELATION_HEADER: "x-opengeni-correlation-id";
12827
13022
  declare const ClientConfig: z.ZodObject<{
12828
13023
  deploymentRevision: z.ZodString;
12829
13024
  apiContractRevision: z.ZodLiteral<"2026-07-turn-instructions-v1">;
@@ -13097,4 +13292,4 @@ declare function evaluateWorkspaceModelPolicy(policy: WorkspaceModelPolicyContra
13097
13292
  modelId: string;
13098
13293
  }): WorkspaceModelPolicyVerdict;
13099
13294
 
13100
- export { AccessContext, AccessGrant, AccountGrant, AccountRole, AcknowledgeStreamRequest, AcknowledgeStreamResponse, 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, CreateKnowledgeMemoryRequest, CreateRigRequest, CreateScheduledTaskRequest, CreateSessionRequest, CreateSessionResponse, CreateSocialConnectionRequest, CreateSocialPostRequest, CreateVariableSetRequest, CreateWorkspaceEnvironmentRequest, 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, DocumentSearchMode, DocumentSearchRequest, DocumentSearchResult, DocumentStatus, 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, GitHubInstallationBinding, 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, 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, MoveSessionQueueItemRequest, NestedAgentDepthAttemptValue, NestedAgentDepthPolicySource, NestedAgentDepthValue, NewSessionDraft, NewSessionDraftOptions, OAuthStartRequest, OAuthStartResponse, OPENGENI_API_CONTRACT_HEADER, OPENGENI_API_CONTRACT_REVISION, OPENGENI_HOST_EXPORT_SCHEMA_REVISION, 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, 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, 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, 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, WorkspaceCaptureDegradedReason, WorkspaceCaptureFile, WorkspaceCaptureManifest, WorkspaceCaptureRepo, WorkspaceCaptureSignedUrl, WorkspaceCaptureStats, type WorkspaceControlBoundarySurface, WorkspaceControlEvent, WorkspaceControlEventTruncation, WorkspaceEnvironment, WorkspaceEnvironmentVariableMetadata, WorkspaceInferenceControlRequest, WorkspaceInferenceControlResponse, WorkspaceInferenceState, 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, defaultRepositoryMountPath, effectiveCodexFleetCacheStateV1, evaluateCodexFleetDecisionV1, evaluateWorkspaceModelPolicy, gitCredentialBindingIdForRepository, gitCredentialProviderForRepository, isClearedRunStateBlob, measureSessionEventJson, mergeResourceRefs, mergeToolRefs, metadataWithTurnExecutionPolicyV1, normalizeRepositorySubpath, normalizeResourceMountPath, prefixedMcpToolName, readCodexFleetReplayRecordV1, readTurnExecutionPolicyV1, reasoningEffortForMetadata, 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 };
13295
+ export { AccessContext, AccessGrant, AccountGrant, AccountRole, AcknowledgeStreamRequest, AcknowledgeStreamResponse, 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, 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, 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, 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, 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, WorkspaceCaptureDegradedReason, WorkspaceCaptureFile, WorkspaceCaptureManifest, WorkspaceCaptureRepo, WorkspaceCaptureSignedUrl, WorkspaceCaptureStats, type WorkspaceControlBoundarySurface, WorkspaceControlEvent, WorkspaceControlEventTruncation, WorkspaceEnvironment, WorkspaceEnvironmentVariableMetadata, WorkspaceInferenceControlRequest, WorkspaceInferenceControlResponse, WorkspaceInferenceState, 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, 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 };