@opengeni/contracts 2.2.0-canary.0 → 2.5.0-canary.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.
@@ -40,9 +40,9 @@ export type CompanyProfileContent = z.infer<typeof CompanyProfileContent>;
40
40
  /**
41
41
  * The same profile, bounded for an **agent** author. The human `account:admin`
42
42
  * route keeps `CompanyProfileContent` and its wider limits; this is the shape
43
- * the first-party `company_profile_propose` tool accepts, because the profile is
44
- * the largest always-on prompt surface in the product and a model left to its
45
- * own judgement fills every field to the ceiling.
43
+ * persisted by the first-party `company_profile_propose` tool. The current tool
44
+ * accepts only identity and mission and writes empty compatibility lists, but
45
+ * the validator must still read historical revisions without rewriting them.
46
46
  */
47
47
  export declare const AgentAuthoredCompanyProfileContent: z.ZodObject<{
48
48
  identity: z.ZodNullable<z.ZodString>;
@@ -4,7 +4,7 @@ import {
4
4
  SessionTenancyVisibility,
5
5
  UserResourceAuthorityGrant,
6
6
  UserResourceDelegation
7
- } from "./chunk-7ZZ3R27P.js";
7
+ } from "./chunk-4I7DWNRR.js";
8
8
  import "./chunk-MRWYRAS5.js";
9
9
  import "./chunk-JUFK3T4Q.js";
10
10
  import "./chunk-WYBDERIY.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ConnectionMetadata
3
- } from "./chunk-7ZZ3R27P.js";
3
+ } from "./chunk-4I7DWNRR.js";
4
4
  import "./chunk-MRWYRAS5.js";
5
5
  import "./chunk-JUFK3T4Q.js";
6
6
  import {
package/dist/index.d.ts CHANGED
@@ -16,6 +16,7 @@ export * from "./tool-result-spill.js";
16
16
  export * from "./interaction.js";
17
17
  export * from "./sandbox-file-artifacts.js";
18
18
  export * from "./permissions.js";
19
+ export * from "./session-titles.js";
19
20
  export { CreateWorkspaceArtifactRequest, PublishWorkspaceArtifactVersionRequest, RollbackWorkspaceArtifactRequest, WorkspaceArtifact, WorkspaceArtifactContentResponse, WorkspaceArtifactDetailResponse, WorkspaceArtifactEvent, WorkspaceArtifactEventType, WorkspaceArtifactHtml, WorkspaceArtifactListQuery, WorkspaceArtifactListResponse, WorkspaceArtifactMutationResponse, WorkspaceArtifactSlug, WorkspaceArtifactStatus, WorkspaceArtifactVersion, WORKSPACE_ARTIFACT_CURSOR_MAX_CHARS, WORKSPACE_ARTIFACT_DESCRIPTION_MAX_CHARS, WORKSPACE_ARTIFACT_HTML_MAX_UTF8_BYTES, WORKSPACE_ARTIFACT_LIST_DEFAULT, WORKSPACE_ARTIFACT_LIST_MAX, WORKSPACE_ARTIFACT_TITLE_MAX_CHARS, normalizeWorkspaceArtifactSlug, } from "./artifacts.js";
20
21
  export { MCP_MUTATION_RECEIPT_MAX_BYTES, MCP_MUTATION_RECEIPT_VERSION, McpMutationReceipt, McpMutationReceiptIdempotencyStatus, McpMutationReceiptOutcome, McpMutationResource, type McpMutationReceipt as McpMutationReceiptType, type McpMutationReceiptIdempotencyStatus as McpMutationReceiptIdempotencyStatusType, type McpMutationReceiptOutcome as McpMutationReceiptOutcomeType, type McpMutationResource as McpMutationResourceType, } from "./mcp-receipts.js";
21
22
  export { SESSION_EVENT_PAYLOAD_MAX_BYTES, approximateSessionEventTokens, boundSessionEventPayload, measureSessionEventJson, sessionEventJsonBytes, sessionEventMediaPreview, sessionEventMediaPreviewFromDataUrl, sessionEventPayloadTruncation, type BoundSessionEventPayloadOptions, type SessionEventBoundarySurface, type SessionEventMediaPreview, type SessionEventJsonMeasurement, type SessionEventPayloadTruncation, } from "./event-preview.js";
@@ -1089,6 +1090,7 @@ export declare const SessionTenancyBlocker: z.ZodEnum<{
1089
1090
  }>;
1090
1091
  export type SessionTenancyBlocker = z.infer<typeof SessionTenancyBlocker>;
1091
1092
  export declare const SESSION_OPERATION_KEY_MAX_CHARS = 256;
1093
+ export declare const MAX_SELECTED_VARIABLE_SETS = 25;
1092
1094
  export declare const UpdateSessionVisibilityRequest: z.ZodObject<{
1093
1095
  visibility: z.ZodEnum<{
1094
1096
  private: "private";
@@ -1119,6 +1121,8 @@ export declare const ForkSessionRequest: z.ZodObject<{
1119
1121
  workspace: "workspace";
1120
1122
  }>;
1121
1123
  workspaceSharedAcknowledged: z.ZodBoolean;
1124
+ rigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1125
+ variableSetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1122
1126
  }, z.core.$strict>;
1123
1127
  export type ForkSessionRequest = z.infer<typeof ForkSessionRequest>;
1124
1128
  export declare const ForkSessionResponse: z.ZodObject<{
@@ -1148,6 +1152,10 @@ export type ManagedAccount = z.infer<typeof ManagedAccount>;
1148
1152
  export declare const Workspace: z.ZodObject<{
1149
1153
  id: z.ZodString;
1150
1154
  accountId: z.ZodString;
1155
+ kind: z.ZodEnum<{
1156
+ personal: "personal";
1157
+ shared: "shared";
1158
+ }>;
1151
1159
  name: z.ZodString;
1152
1160
  slug: z.ZodNullable<z.ZodString>;
1153
1161
  externalSource: z.ZodNullable<z.ZodString>;
@@ -1685,6 +1693,40 @@ export declare const SlackReactionChannelListResponse: z.ZodObject<{
1685
1693
  nextCursor: z.ZodNullable<z.ZodString>;
1686
1694
  }, z.core.$strip>;
1687
1695
  export type SlackReactionChannelListResponse = z.infer<typeof SlackReactionChannelListResponse>;
1696
+ /** Where one Slack channel starts work. */
1697
+ export declare const SlackChannelRoute: z.ZodObject<{
1698
+ slackChannelId: z.ZodString;
1699
+ targetWorkspaceId: z.ZodString;
1700
+ targetWorkspaceName: z.ZodNullable<z.ZodString>;
1701
+ source: z.ZodEnum<{
1702
+ admin: "admin";
1703
+ picker: "picker";
1704
+ }>;
1705
+ updatedAt: z.ZodString;
1706
+ }, z.core.$strip>;
1707
+ export type SlackChannelRoute = z.infer<typeof SlackChannelRoute>;
1708
+ export declare const SlackChannelRouteListResponse: z.ZodObject<{
1709
+ routes: z.ZodArray<z.ZodObject<{
1710
+ slackChannelId: z.ZodString;
1711
+ targetWorkspaceId: z.ZodString;
1712
+ targetWorkspaceName: z.ZodNullable<z.ZodString>;
1713
+ source: z.ZodEnum<{
1714
+ admin: "admin";
1715
+ picker: "picker";
1716
+ }>;
1717
+ updatedAt: z.ZodString;
1718
+ }, z.core.$strip>>;
1719
+ routingEnabled: z.ZodBoolean;
1720
+ }, z.core.$strip>;
1721
+ export type SlackChannelRouteListResponse = z.infer<typeof SlackChannelRouteListResponse>;
1722
+ export declare const UpdateSlackChannelRoutesRequest: z.ZodObject<{
1723
+ connectionId: z.ZodString;
1724
+ routes: z.ZodArray<z.ZodObject<{
1725
+ slackChannelId: z.ZodString;
1726
+ targetWorkspaceId: z.ZodNullable<z.ZodString>;
1727
+ }, z.core.$strip>>;
1728
+ }, z.core.$strip>;
1729
+ export type UpdateSlackChannelRoutesRequest = z.infer<typeof UpdateSlackChannelRoutesRequest>;
1688
1730
  export declare const DEFAULT_WORKSPACE_SLACK_REACTION_SUMMON_SETTINGS: {
1689
1731
  readonly enabled: false;
1690
1732
  readonly emoji: "genie";
@@ -3504,7 +3546,7 @@ export declare const ModelContextContributionSource: z.ZodEnum<{
3504
3546
  workspace_instruction_policy: "workspace_instruction_policy";
3505
3547
  }>;
3506
3548
  export type ModelContextContributionSource = z.infer<typeof ModelContextContributionSource>;
3507
- /** Content-free per-call summary of model-visible Company Brain material. */
3549
+ /** Content-free per-call summary of model-visible Agent Knowledge material. */
3508
3550
  export declare const ModelContextContributionSummary: z.ZodObject<{
3509
3551
  source: z.ZodEnum<{
3510
3552
  company_profile: "company_profile";
@@ -5612,6 +5654,189 @@ export declare const DocumentDefaultCollectionBackfill: z.ZodObject<{
5612
5654
  completedAt: z.ZodNullable<z.ZodString>;
5613
5655
  }, z.core.$strip>;
5614
5656
  export type DocumentDefaultCollectionBackfill = z.infer<typeof DocumentDefaultCollectionBackfill>;
5657
+ export declare const DocumentDefaultCollectionBackfillRunAudit: z.ZodObject<{
5658
+ runId: z.ZodString;
5659
+ status: z.ZodEnum<{
5660
+ completed: "completed";
5661
+ running: "running";
5662
+ }>;
5663
+ lastWorkspaceId: z.ZodNullable<z.ZodString>;
5664
+ processedCount: z.ZodNumber;
5665
+ createdCount: z.ZodNumber;
5666
+ adoptedCount: z.ZodNumber;
5667
+ completedAt: z.ZodNullable<z.ZodString>;
5668
+ actorSubjectId: z.ZodString;
5669
+ startedAt: z.ZodString;
5670
+ updatedAt: z.ZodString;
5671
+ }, z.core.$strip>;
5672
+ export type DocumentDefaultCollectionBackfillRunAudit = z.infer<typeof DocumentDefaultCollectionBackfillRunAudit>;
5673
+ export declare const DocumentDefaultCollectionBackfillOperationAudit: z.ZodObject<{
5674
+ operationId: z.ZodString;
5675
+ result: z.ZodObject<{
5676
+ runId: z.ZodString;
5677
+ operationId: z.ZodString;
5678
+ status: z.ZodEnum<{
5679
+ completed: "completed";
5680
+ running: "running";
5681
+ }>;
5682
+ lastWorkspaceId: z.ZodNullable<z.ZodString>;
5683
+ processedCount: z.ZodNumber;
5684
+ createdCount: z.ZodNumber;
5685
+ adoptedCount: z.ZodNumber;
5686
+ completedAt: z.ZodNullable<z.ZodString>;
5687
+ }, z.core.$strip>;
5688
+ createdAt: z.ZodString;
5689
+ }, z.core.$strip>;
5690
+ export type DocumentDefaultCollectionBackfillOperationAudit = z.infer<typeof DocumentDefaultCollectionBackfillOperationAudit>;
5691
+ export declare const DocumentDefaultCollectionBackfillReceiptAudit: z.ZodObject<{
5692
+ workspaceId: z.ZodString;
5693
+ baseId: z.ZodString;
5694
+ outcome: z.ZodEnum<{
5695
+ adopted: "adopted";
5696
+ created: "created";
5697
+ }>;
5698
+ createdAt: z.ZodString;
5699
+ }, z.core.$strip>;
5700
+ export type DocumentDefaultCollectionBackfillReceiptAudit = z.infer<typeof DocumentDefaultCollectionBackfillReceiptAudit>;
5701
+ export declare const ListDocumentMigrationAuditQuery: z.ZodObject<{
5702
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
5703
+ cursor: z.ZodOptional<z.ZodString>;
5704
+ }, z.core.$strip>;
5705
+ export type ListDocumentMigrationAuditQuery = z.infer<typeof ListDocumentMigrationAuditQuery>;
5706
+ export declare const ListDocumentDefaultCollectionBackfillRunsResponse: z.ZodObject<{
5707
+ runs: z.ZodArray<z.ZodObject<{
5708
+ runId: z.ZodString;
5709
+ status: z.ZodEnum<{
5710
+ completed: "completed";
5711
+ running: "running";
5712
+ }>;
5713
+ lastWorkspaceId: z.ZodNullable<z.ZodString>;
5714
+ processedCount: z.ZodNumber;
5715
+ createdCount: z.ZodNumber;
5716
+ adoptedCount: z.ZodNumber;
5717
+ completedAt: z.ZodNullable<z.ZodString>;
5718
+ actorSubjectId: z.ZodString;
5719
+ startedAt: z.ZodString;
5720
+ updatedAt: z.ZodString;
5721
+ }, z.core.$strip>>;
5722
+ hasMore: z.ZodBoolean;
5723
+ nextCursor: z.ZodNullable<z.ZodString>;
5724
+ }, z.core.$strip>;
5725
+ export type ListDocumentDefaultCollectionBackfillRunsResponse = z.infer<typeof ListDocumentDefaultCollectionBackfillRunsResponse>;
5726
+ export declare const GetDocumentDefaultCollectionBackfillAuditQuery: z.ZodObject<{
5727
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
5728
+ operationCursor: z.ZodOptional<z.ZodString>;
5729
+ receiptCursor: z.ZodOptional<z.ZodString>;
5730
+ }, z.core.$strip>;
5731
+ export type GetDocumentDefaultCollectionBackfillAuditQuery = z.infer<typeof GetDocumentDefaultCollectionBackfillAuditQuery>;
5732
+ export declare const DocumentDefaultCollectionBackfillAudit: z.ZodObject<{
5733
+ run: z.ZodObject<{
5734
+ runId: z.ZodString;
5735
+ status: z.ZodEnum<{
5736
+ completed: "completed";
5737
+ running: "running";
5738
+ }>;
5739
+ lastWorkspaceId: z.ZodNullable<z.ZodString>;
5740
+ processedCount: z.ZodNumber;
5741
+ createdCount: z.ZodNumber;
5742
+ adoptedCount: z.ZodNumber;
5743
+ completedAt: z.ZodNullable<z.ZodString>;
5744
+ actorSubjectId: z.ZodString;
5745
+ startedAt: z.ZodString;
5746
+ updatedAt: z.ZodString;
5747
+ }, z.core.$strip>;
5748
+ operations: z.ZodArray<z.ZodObject<{
5749
+ operationId: z.ZodString;
5750
+ result: z.ZodObject<{
5751
+ runId: z.ZodString;
5752
+ operationId: z.ZodString;
5753
+ status: z.ZodEnum<{
5754
+ completed: "completed";
5755
+ running: "running";
5756
+ }>;
5757
+ lastWorkspaceId: z.ZodNullable<z.ZodString>;
5758
+ processedCount: z.ZodNumber;
5759
+ createdCount: z.ZodNumber;
5760
+ adoptedCount: z.ZodNumber;
5761
+ completedAt: z.ZodNullable<z.ZodString>;
5762
+ }, z.core.$strip>;
5763
+ createdAt: z.ZodString;
5764
+ }, z.core.$strip>>;
5765
+ receipts: z.ZodArray<z.ZodObject<{
5766
+ workspaceId: z.ZodString;
5767
+ baseId: z.ZodString;
5768
+ outcome: z.ZodEnum<{
5769
+ adopted: "adopted";
5770
+ created: "created";
5771
+ }>;
5772
+ createdAt: z.ZodString;
5773
+ }, z.core.$strip>>;
5774
+ operationsHasMore: z.ZodBoolean;
5775
+ operationsNextCursor: z.ZodNullable<z.ZodString>;
5776
+ receiptsHasMore: z.ZodBoolean;
5777
+ receiptsNextCursor: z.ZodNullable<z.ZodString>;
5778
+ }, z.core.$strip>;
5779
+ export type DocumentDefaultCollectionBackfillAudit = z.infer<typeof DocumentDefaultCollectionBackfillAudit>;
5780
+ export declare const OrganizationDocumentAuthorityReclassification: z.ZodObject<{
5781
+ operationId: z.ZodString;
5782
+ documentId: z.ZodString;
5783
+ previousAuthority: z.ZodObject<{
5784
+ kind: z.ZodEnum<{
5785
+ organization: "organization";
5786
+ personal: "personal";
5787
+ workspace: "workspace";
5788
+ }>;
5789
+ workspaceId: z.ZodNullable<z.ZodString>;
5790
+ subjectId: z.ZodNullable<z.ZodString>;
5791
+ authorityId: z.ZodNullable<z.ZodString>;
5792
+ }, z.core.$strip>;
5793
+ authority: z.ZodObject<{
5794
+ kind: z.ZodEnum<{
5795
+ organization: "organization";
5796
+ personal: "personal";
5797
+ workspace: "workspace";
5798
+ }>;
5799
+ workspaceId: z.ZodNullable<z.ZodString>;
5800
+ subjectId: z.ZodNullable<z.ZodString>;
5801
+ authorityId: z.ZodNullable<z.ZodString>;
5802
+ }, z.core.$strip>;
5803
+ createdAt: z.ZodString;
5804
+ actorSubjectId: z.ZodString;
5805
+ requestWorkspaceId: z.ZodString;
5806
+ }, z.core.$strip>;
5807
+ export type OrganizationDocumentAuthorityReclassification = z.infer<typeof OrganizationDocumentAuthorityReclassification>;
5808
+ export declare const ListOrganizationDocumentAuthorityReclassificationsResponse: z.ZodObject<{
5809
+ receipts: z.ZodArray<z.ZodObject<{
5810
+ operationId: z.ZodString;
5811
+ documentId: z.ZodString;
5812
+ previousAuthority: z.ZodObject<{
5813
+ kind: z.ZodEnum<{
5814
+ organization: "organization";
5815
+ personal: "personal";
5816
+ workspace: "workspace";
5817
+ }>;
5818
+ workspaceId: z.ZodNullable<z.ZodString>;
5819
+ subjectId: z.ZodNullable<z.ZodString>;
5820
+ authorityId: z.ZodNullable<z.ZodString>;
5821
+ }, z.core.$strip>;
5822
+ authority: z.ZodObject<{
5823
+ kind: z.ZodEnum<{
5824
+ organization: "organization";
5825
+ personal: "personal";
5826
+ workspace: "workspace";
5827
+ }>;
5828
+ workspaceId: z.ZodNullable<z.ZodString>;
5829
+ subjectId: z.ZodNullable<z.ZodString>;
5830
+ authorityId: z.ZodNullable<z.ZodString>;
5831
+ }, z.core.$strip>;
5832
+ createdAt: z.ZodString;
5833
+ actorSubjectId: z.ZodString;
5834
+ requestWorkspaceId: z.ZodString;
5835
+ }, z.core.$strip>>;
5836
+ hasMore: z.ZodBoolean;
5837
+ nextCursor: z.ZodNullable<z.ZodString>;
5838
+ }, z.core.$strip>;
5839
+ export type ListOrganizationDocumentAuthorityReclassificationsResponse = z.infer<typeof ListOrganizationDocumentAuthorityReclassificationsResponse>;
5615
5840
  export declare const DocumentSearchRequest: z.ZodObject<{
5616
5841
  query: z.ZodString;
5617
5842
  baseIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -5630,6 +5855,11 @@ export declare const DocumentSearchRequest: z.ZodObject<{
5630
5855
  repository: "repository";
5631
5856
  web: "web";
5632
5857
  }>>>;
5858
+ authorityKinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
5859
+ organization: "organization";
5860
+ personal: "personal";
5861
+ workspace: "workspace";
5862
+ }>>>;
5633
5863
  aclTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
5634
5864
  limit: z.ZodDefault<z.ZodNumber>;
5635
5865
  }, z.core.$strip>;
@@ -6531,6 +6761,10 @@ export declare const UpdateSessionRequest: z.ZodObject<{
6531
6761
  title: z.ZodString;
6532
6762
  }, z.core.$strip>;
6533
6763
  export type UpdateSessionRequest = z.infer<typeof UpdateSessionRequest>;
6764
+ export declare const UpdateSessionVariableSetsRequest: z.ZodObject<{
6765
+ variableSetIds: z.ZodArray<z.ZodString>;
6766
+ }, z.core.$strict>;
6767
+ export type UpdateSessionVariableSetsRequest = z.infer<typeof UpdateSessionVariableSetsRequest>;
6534
6768
  /**
6535
6769
  * Replace the complete durable session tool policy, or explicitly opt back in
6536
6770
  * to current workspace defaults. MCP servers and individual OpenGeni tools
@@ -7300,6 +7534,7 @@ export declare const SessionAuthorizationOperation: z.ZodEnum<{
7300
7534
  "session.title.write": "session.title.write";
7301
7535
  "session.tool_policy.write": "session.tool_policy.write";
7302
7536
  "session.turns.read": "session.turns.read";
7537
+ "session.variable_sets.write": "session.variable_sets.write";
7303
7538
  "session.viewer.control": "session.viewer.control";
7304
7539
  "session.viewer.read": "session.viewer.read";
7305
7540
  "session.visibility.write": "session.visibility.write";
@@ -8216,7 +8451,7 @@ export type SubmitComposerDraftRequest = z.infer<typeof SubmitComposerDraftReque
8216
8451
  * deliberately narrower than CreateSessionRequest: idempotency/event keys and
8217
8452
  * credential-bearing MCP server inputs are per-attempt data, never draft state.
8218
8453
  */
8219
- export declare const NewSessionDraftOptions: z.ZodObject<{
8454
+ export declare const NewSessionDraftOptions: z.ZodPreprocess<z.ZodObject<{
8220
8455
  visibility: z.ZodOptional<z.ZodEnum<{
8221
8456
  private: "private";
8222
8457
  workspace: "workspace";
@@ -8238,6 +8473,7 @@ export declare const NewSessionDraftOptions: z.ZodObject<{
8238
8473
  targetSandboxId: z.ZodOptional<z.ZodString>;
8239
8474
  workingDir: z.ZodOptional<z.ZodString>;
8240
8475
  variableSetId: z.ZodOptional<z.ZodString>;
8476
+ variableSetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
8241
8477
  rigId: z.ZodOptional<z.ZodString>;
8242
8478
  goal: z.ZodOptional<z.ZodObject<{
8243
8479
  text: z.ZodString;
@@ -8443,7 +8679,7 @@ export declare const NewSessionDraftOptions: z.ZodObject<{
8443
8679
  x_search_live: "x_search_live";
8444
8680
  x_thread_fetch: "x_thread_fetch";
8445
8681
  }>>>;
8446
- }, z.core.$strip>;
8682
+ }, z.core.$strip>>;
8447
8683
  export type NewSessionDraftOptions = z.infer<typeof NewSessionDraftOptions>;
8448
8684
  /**
8449
8685
  * Actor-private successful-create history for the new-session composer. Project
@@ -8516,7 +8752,7 @@ export declare const NewSessionDraft: z.ZodObject<{
8516
8752
  priority: "priority";
8517
8753
  standard: "standard";
8518
8754
  }>;
8519
- options: z.ZodObject<{
8755
+ options: z.ZodPreprocess<z.ZodObject<{
8520
8756
  visibility: z.ZodOptional<z.ZodEnum<{
8521
8757
  private: "private";
8522
8758
  workspace: "workspace";
@@ -8538,6 +8774,7 @@ export declare const NewSessionDraft: z.ZodObject<{
8538
8774
  targetSandboxId: z.ZodOptional<z.ZodString>;
8539
8775
  workingDir: z.ZodOptional<z.ZodString>;
8540
8776
  variableSetId: z.ZodOptional<z.ZodString>;
8777
+ variableSetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
8541
8778
  rigId: z.ZodOptional<z.ZodString>;
8542
8779
  goal: z.ZodOptional<z.ZodObject<{
8543
8780
  text: z.ZodString;
@@ -8743,7 +8980,7 @@ export declare const NewSessionDraft: z.ZodObject<{
8743
8980
  x_search_live: "x_search_live";
8744
8981
  x_thread_fetch: "x_thread_fetch";
8745
8982
  }>>>;
8746
- }, z.core.$strip>;
8983
+ }, z.core.$strip>>;
8747
8984
  selectionHistory: z.ZodDefault<z.ZodObject<{
8748
8985
  projects: z.ZodArray<z.ZodObject<{
8749
8986
  channelId: z.ZodNullable<z.ZodString>;
@@ -8810,7 +9047,7 @@ export declare const SaveNewSessionDraftRequest: z.ZodObject<{
8810
9047
  priority: "priority";
8811
9048
  standard: "standard";
8812
9049
  }>;
8813
- options: z.ZodObject<{
9050
+ options: z.ZodPreprocess<z.ZodObject<{
8814
9051
  visibility: z.ZodOptional<z.ZodEnum<{
8815
9052
  private: "private";
8816
9053
  workspace: "workspace";
@@ -8832,6 +9069,7 @@ export declare const SaveNewSessionDraftRequest: z.ZodObject<{
8832
9069
  targetSandboxId: z.ZodOptional<z.ZodString>;
8833
9070
  workingDir: z.ZodOptional<z.ZodString>;
8834
9071
  variableSetId: z.ZodOptional<z.ZodString>;
9072
+ variableSetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
8835
9073
  rigId: z.ZodOptional<z.ZodString>;
8836
9074
  goal: z.ZodOptional<z.ZodObject<{
8837
9075
  text: z.ZodString;
@@ -9037,7 +9275,7 @@ export declare const SaveNewSessionDraftRequest: z.ZodObject<{
9037
9275
  x_search_live: "x_search_live";
9038
9276
  x_thread_fetch: "x_thread_fetch";
9039
9277
  }>>>;
9040
- }, z.core.$strip>;
9278
+ }, z.core.$strip>>;
9041
9279
  expectedRevision: z.ZodNumber;
9042
9280
  }, z.core.$strip>;
9043
9281
  export type SaveNewSessionDraftRequest = z.infer<typeof SaveNewSessionDraftRequest>;
@@ -10576,6 +10814,12 @@ export declare const RigChangeVerification: z.ZodObject<{
10576
10814
  startedAt: z.ZodOptional<z.ZodString>;
10577
10815
  finishedAt: z.ZodOptional<z.ZodString>;
10578
10816
  log: z.ZodOptional<z.ZodString>;
10817
+ platformCheckResults: z.ZodOptional<z.ZodArray<z.ZodObject<{
10818
+ name: z.ZodString;
10819
+ command: z.ZodString;
10820
+ exitCode: z.ZodNullable<z.ZodNumber>;
10821
+ output: z.ZodOptional<z.ZodString>;
10822
+ }, z.core.$strip>>>;
10579
10823
  checkResults: z.ZodOptional<z.ZodArray<z.ZodObject<{
10580
10824
  name: z.ZodString;
10581
10825
  command: z.ZodString;
@@ -10605,6 +10849,12 @@ export declare const RigChange: z.ZodObject<{
10605
10849
  startedAt: z.ZodOptional<z.ZodString>;
10606
10850
  finishedAt: z.ZodOptional<z.ZodString>;
10607
10851
  log: z.ZodOptional<z.ZodString>;
10852
+ platformCheckResults: z.ZodOptional<z.ZodArray<z.ZodObject<{
10853
+ name: z.ZodString;
10854
+ command: z.ZodString;
10855
+ exitCode: z.ZodNullable<z.ZodNumber>;
10856
+ output: z.ZodOptional<z.ZodString>;
10857
+ }, z.core.$strip>>>;
10608
10858
  checkResults: z.ZodOptional<z.ZodArray<z.ZodObject<{
10609
10859
  name: z.ZodString;
10610
10860
  command: z.ZodString;
@@ -10625,7 +10875,7 @@ export declare const CreateRigRequest: z.ZodObject<{
10625
10875
  }>>;
10626
10876
  name: z.ZodString;
10627
10877
  description: z.ZodOptional<z.ZodString>;
10628
- image: z.ZodOptional<z.ZodString>;
10878
+ image: z.ZodOptional<z.ZodNever>;
10629
10879
  setupScript: z.ZodOptional<z.ZodString>;
10630
10880
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
10631
10881
  name: z.ZodString;
@@ -10679,7 +10929,7 @@ export declare const RigSetupAppendPayload: z.ZodObject<{
10679
10929
  }, z.core.$strip>;
10680
10930
  export type RigSetupAppendPayload = z.infer<typeof RigSetupAppendPayload>;
10681
10931
  export declare const RigDefinitionEditPayload: z.ZodObject<{
10682
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10932
+ image: z.ZodOptional<z.ZodNever>;
10683
10933
  setupScript: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10684
10934
  checks: z.ZodOptional<z.ZodArray<z.ZodObject<{
10685
10935
  name: z.ZodString;
@@ -10699,7 +10949,7 @@ export declare const ProposeRigChangeRequest: z.ZodDiscriminatedUnion<[z.ZodObje
10699
10949
  }, z.core.$strip>, z.ZodObject<{
10700
10950
  kind: z.ZodLiteral<"definition_edit">;
10701
10951
  payload: z.ZodObject<{
10702
- image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10952
+ image: z.ZodOptional<z.ZodNever>;
10703
10953
  setupScript: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10704
10954
  checks: z.ZodOptional<z.ZodArray<z.ZodObject<{
10705
10955
  name: z.ZodString;
@@ -14199,6 +14449,10 @@ export declare const ScheduledTaskRunAcceptedExecution: z.ZodObject<{
14199
14449
  mcpServerIds: z.ZodArray<z.ZodString>;
14200
14450
  effectiveMcpServerIds: z.ZodArray<z.ZodString>;
14201
14451
  toolPolicyVersion: z.ZodNumber;
14452
+ variableSets: z.ZodDefault<z.ZodArray<z.ZodObject<{
14453
+ id: z.ZodString;
14454
+ generation: z.ZodNumber;
14455
+ }, z.core.$strict>>>;
14202
14456
  variableSetId: z.ZodNullable<z.ZodString>;
14203
14457
  variableSetGeneration: z.ZodNullable<z.ZodNumber>;
14204
14458
  rigId: z.ZodNullable<z.ZodString>;
@@ -19519,6 +19773,7 @@ export declare const PrReviewProvider: z.ZodEnum<{
19519
19773
  export type PrReviewProvider = z.infer<typeof PrReviewProvider>;
19520
19774
  export declare const PrReviewCredentialKind: z.ZodEnum<{
19521
19775
  github_app: "github_app";
19776
+ managed_github_app: "managed_github_app";
19522
19777
  provider_token: "provider_token";
19523
19778
  }>;
19524
19779
  export type PrReviewCredentialKind = z.infer<typeof PrReviewCredentialKind>;
@@ -19539,6 +19794,7 @@ export declare const CreatePrReviewAppRegistrationRequest: z.ZodObject<{
19539
19794
  appId: z.ZodOptional<z.ZodString>;
19540
19795
  credentialKind: z.ZodEnum<{
19541
19796
  github_app: "github_app";
19797
+ managed_github_app: "managed_github_app";
19542
19798
  provider_token: "provider_token";
19543
19799
  }>;
19544
19800
  privateKey: z.ZodOptional<z.ZodString>;
@@ -19574,8 +19830,15 @@ export declare const PrReviewAppRegistration: z.ZodObject<{
19574
19830
  }>;
19575
19831
  providerBaseUrl: z.ZodString;
19576
19832
  appId: z.ZodNullable<z.ZodString>;
19833
+ installationId: z.ZodNullable<z.ZodString>;
19834
+ providerAccountLogin: z.ZodNullable<z.ZodString>;
19835
+ providerAccountType: z.ZodNullable<z.ZodEnum<{
19836
+ Organization: "Organization";
19837
+ User: "User";
19838
+ }>>;
19577
19839
  credentialKind: z.ZodEnum<{
19578
19840
  github_app: "github_app";
19841
+ managed_github_app: "managed_github_app";
19579
19842
  provider_token: "provider_token";
19580
19843
  }>;
19581
19844
  hasCredential: z.ZodBoolean;
@@ -19597,6 +19860,33 @@ export declare const PrReviewAppRegistration: z.ZodObject<{
19597
19860
  updatedAt: z.ZodString;
19598
19861
  }, z.core.$strip>;
19599
19862
  export type PrReviewAppRegistration = z.infer<typeof PrReviewAppRegistration>;
19863
+ export declare const PrReviewManagedGitHubInstallation: z.ZodObject<{
19864
+ registrationId: z.ZodString;
19865
+ installationId: z.ZodString;
19866
+ accountLogin: z.ZodNullable<z.ZodString>;
19867
+ configureUrl: z.ZodNullable<z.ZodString>;
19868
+ repositoryCount: z.ZodNumber;
19869
+ }, z.core.$strip>;
19870
+ export type PrReviewManagedGitHubInstallation = z.infer<typeof PrReviewManagedGitHubInstallation>;
19871
+ export declare const PrReviewManagedGitHubSetup: z.ZodObject<{
19872
+ configured: z.ZodBoolean;
19873
+ status: z.ZodEnum<{
19874
+ connected: "connected";
19875
+ not_connected: "not_connected";
19876
+ unavailable: "unavailable";
19877
+ }>;
19878
+ appName: z.ZodLiteral<"OpenGeni Lens">;
19879
+ connectUrl: z.ZodNullable<z.ZodString>;
19880
+ installations: z.ZodArray<z.ZodObject<{
19881
+ registrationId: z.ZodString;
19882
+ installationId: z.ZodString;
19883
+ accountLogin: z.ZodNullable<z.ZodString>;
19884
+ configureUrl: z.ZodNullable<z.ZodString>;
19885
+ repositoryCount: z.ZodNumber;
19886
+ }, z.core.$strip>>;
19887
+ missing: z.ZodArray<z.ZodString>;
19888
+ }, z.core.$strip>;
19889
+ export type PrReviewManagedGitHubSetup = z.infer<typeof PrReviewManagedGitHubSetup>;
19600
19890
  export declare const CreatePrReviewRepositoryBindingRequest: z.ZodObject<{
19601
19891
  registrationId: z.ZodString;
19602
19892
  repositoryUri: z.ZodString;
@@ -22384,6 +22674,7 @@ export declare const Session: z.ZodObject<{
22384
22674
  activeSandboxId: z.ZodNullable<z.ZodString>;
22385
22675
  activeEpoch: z.ZodNumber;
22386
22676
  workingDir: z.ZodDefault<z.ZodNullable<z.ZodString>>;
22677
+ variableSetIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
22387
22678
  variableSetId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
22388
22679
  environmentId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
22389
22680
  rigId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -22933,6 +23224,7 @@ export declare const CreateSessionResponse: z.ZodObject<{
22933
23224
  activeSandboxId: z.ZodNullable<z.ZodString>;
22934
23225
  activeEpoch: z.ZodNumber;
22935
23226
  workingDir: z.ZodDefault<z.ZodNullable<z.ZodString>>;
23227
+ variableSetIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
22936
23228
  variableSetId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
22937
23229
  environmentId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
22938
23230
  rigId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -23488,6 +23780,7 @@ export declare const SessionListResponse: z.ZodObject<{
23488
23780
  activeSandboxId: z.ZodNullable<z.ZodString>;
23489
23781
  activeEpoch: z.ZodNumber;
23490
23782
  workingDir: z.ZodDefault<z.ZodNullable<z.ZodString>>;
23783
+ variableSetIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
23491
23784
  variableSetId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
23492
23785
  environmentId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
23493
23786
  rigId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -24032,6 +24325,7 @@ export declare const SessionListResponse: z.ZodObject<{
24032
24325
  activeSandboxId: z.ZodNullable<z.ZodString>;
24033
24326
  activeEpoch: z.ZodNumber;
24034
24327
  workingDir: z.ZodDefault<z.ZodNullable<z.ZodString>>;
24328
+ variableSetIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
24035
24329
  variableSetId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
24036
24330
  environmentId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
24037
24331
  rigId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -24694,6 +24988,7 @@ export declare const SessionLineageResponse: z.ZodObject<{
24694
24988
  activeSandboxId: z.ZodNullable<z.ZodString>;
24695
24989
  activeEpoch: z.ZodNumber;
24696
24990
  workingDir: z.ZodDefault<z.ZodNullable<z.ZodString>>;
24991
+ variableSetIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
24697
24992
  variableSetId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
24698
24993
  environmentId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
24699
24994
  rigId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -25128,9 +25423,11 @@ export declare const SessionEventType: z.ZodEnum<{
25128
25423
  "session.realtime.started": "session.realtime.started";
25129
25424
  "session.requiresAction": "session.requiresAction";
25130
25425
  "session.route.reconciled": "session.route.reconciled";
25426
+ "session.runtime.configured": "session.runtime.configured";
25131
25427
  "session.status.changed": "session.status.changed";
25132
25428
  "session.title_set": "session.title_set";
25133
25429
  "session.tool_policy.updated": "session.tool_policy.updated";
25430
+ "session.variable_sets.updated": "session.variable_sets.updated";
25134
25431
  "session.visibility.changed": "session.visibility.changed";
25135
25432
  "stream.closed": "stream.closed";
25136
25433
  "stream.opened": "stream.opened";
@@ -26888,9 +27185,11 @@ export declare const SessionEvent: z.ZodObject<{
26888
27185
  "session.realtime.started": "session.realtime.started";
26889
27186
  "session.requiresAction": "session.requiresAction";
26890
27187
  "session.route.reconciled": "session.route.reconciled";
27188
+ "session.runtime.configured": "session.runtime.configured";
26891
27189
  "session.status.changed": "session.status.changed";
26892
27190
  "session.title_set": "session.title_set";
26893
27191
  "session.tool_policy.updated": "session.tool_policy.updated";
27192
+ "session.variable_sets.updated": "session.variable_sets.updated";
26894
27193
  "session.visibility.changed": "session.visibility.changed";
26895
27194
  "stream.closed": "stream.closed";
26896
27195
  "stream.opened": "stream.opened";
@@ -27849,6 +28148,7 @@ export declare const CreateSessionRequest: z.ZodPreprocess<z.ZodObject<{
27849
28148
  }>>;
27850
28149
  targetSandboxId: z.ZodOptional<z.ZodString>;
27851
28150
  workingDir: z.ZodOptional<z.ZodString>;
28151
+ variableSetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
27852
28152
  variableSetId: z.ZodOptional<z.ZodString>;
27853
28153
  environmentId: z.ZodOptional<z.ZodString>;
27854
28154
  rigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -28768,9 +29068,11 @@ export declare const SteerSessionMessageResponse: z.ZodObject<{
28768
29068
  "session.realtime.started": "session.realtime.started";
28769
29069
  "session.requiresAction": "session.requiresAction";
28770
29070
  "session.route.reconciled": "session.route.reconciled";
29071
+ "session.runtime.configured": "session.runtime.configured";
28771
29072
  "session.status.changed": "session.status.changed";
28772
29073
  "session.title_set": "session.title_set";
28773
29074
  "session.tool_policy.updated": "session.tool_policy.updated";
29075
+ "session.variable_sets.updated": "session.variable_sets.updated";
28774
29076
  "session.visibility.changed": "session.visibility.changed";
28775
29077
  "stream.closed": "stream.closed";
28776
29078
  "stream.opened": "stream.opened";
@@ -29089,9 +29391,11 @@ export declare const SubmitComposerDraftResponse: z.ZodObject<{
29089
29391
  "session.realtime.started": "session.realtime.started";
29090
29392
  "session.requiresAction": "session.requiresAction";
29091
29393
  "session.route.reconciled": "session.route.reconciled";
29394
+ "session.runtime.configured": "session.runtime.configured";
29092
29395
  "session.status.changed": "session.status.changed";
29093
29396
  "session.title_set": "session.title_set";
29094
29397
  "session.tool_policy.updated": "session.tool_policy.updated";
29398
+ "session.variable_sets.updated": "session.variable_sets.updated";
29095
29399
  "session.visibility.changed": "session.visibility.changed";
29096
29400
  "stream.closed": "stream.closed";
29097
29401
  "stream.opened": "stream.opened";
@@ -29488,9 +29792,11 @@ export declare const SessionBusMessage: z.ZodObject<{
29488
29792
  "session.realtime.started": "session.realtime.started";
29489
29793
  "session.requiresAction": "session.requiresAction";
29490
29794
  "session.route.reconciled": "session.route.reconciled";
29795
+ "session.runtime.configured": "session.runtime.configured";
29491
29796
  "session.status.changed": "session.status.changed";
29492
29797
  "session.title_set": "session.title_set";
29493
29798
  "session.tool_policy.updated": "session.tool_policy.updated";
29799
+ "session.variable_sets.updated": "session.variable_sets.updated";
29494
29800
  "session.visibility.changed": "session.visibility.changed";
29495
29801
  "stream.closed": "stream.closed";
29496
29802
  "stream.opened": "stream.opened";
@@ -31833,13 +32139,13 @@ export type WorkspaceModelCatalogResponse = z.infer<typeof WorkspaceModelCatalog
31833
32139
  * that rollout boundary. Mutating clients send this value in
31834
32140
  * `x-opengeni-api-contract`; the API rejects any other value before routing.
31835
32141
  */
31836
- export declare const OPENGENI_API_CONTRACT_REVISION: "2026-08-atomic-session-fork-visibility-v1";
32142
+ export declare const OPENGENI_API_CONTRACT_REVISION: "2026-08-personal-only-organization-setup-v1";
31837
32143
  export declare const OPENGENI_API_CONTRACT_HEADER: "x-opengeni-api-contract";
31838
32144
  /** Bounded request/response identifier shared by browser, ingress, and API diagnostics. */
31839
32145
  export declare const OPENGENI_CORRELATION_HEADER: "x-opengeni-correlation-id";
31840
32146
  export declare const ClientConfig: z.ZodObject<{
31841
32147
  deploymentRevision: z.ZodString;
31842
- apiContractRevision: z.ZodLiteral<"2026-08-atomic-session-fork-visibility-v1">;
32148
+ apiContractRevision: z.ZodLiteral<"2026-08-personal-only-organization-setup-v1">;
31843
32149
  serverVersion: z.ZodOptional<z.ZodString>;
31844
32150
  defaultModel: z.ZodString;
31845
32151
  allowedModels: z.ZodArray<z.ZodString>;