@opengeni/contracts 5.5.0 → 5.5.2-canary.40656248492001
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/agent-authored-durable-text.d.ts +9 -9
- package/dist/agent-config.d.ts +148 -37
- package/dist/api-key-presets.d.ts +19 -0
- package/dist/app-action-catalog-types.d.ts +32 -0
- package/dist/app-action-catalog.gen.d.ts +2 -0
- package/dist/app-actions.d.ts +91 -0
- package/dist/app-actions.js +10130 -0
- package/dist/app-actions.js.map +1 -0
- package/dist/app-shot.d.ts +55 -0
- package/dist/artifact-catalog.d.ts +33 -0
- package/dist/artifacts.d.ts +166 -0
- package/dist/atlassian-native-retirement.d.ts +16 -0
- package/dist/atlassian-native-retirement.js +30 -0
- package/dist/atlassian-native-retirement.js.map +1 -0
- package/dist/atlassian.js +48 -23
- package/dist/automation-templates.d.ts +434 -0
- package/dist/automation-templates.js +31 -0
- package/dist/automation-templates.js.map +1 -0
- package/dist/billing-subscriptions.d.ts +61 -0
- package/dist/bots.d.ts +583 -0
- package/dist/bundled-skills.d.ts +58 -2
- package/dist/canonical-human-identities.js +3 -1
- package/dist/child-lifecycle-notice-protocol.d.ts +45 -0
- package/dist/chunk-2QKIEAGY.js +396 -0
- package/dist/chunk-2QKIEAGY.js.map +1 -0
- package/dist/chunk-2WOWEWXV.js +426 -0
- package/dist/chunk-2WOWEWXV.js.map +1 -0
- package/dist/chunk-2ZIHHL72.js +153 -0
- package/dist/chunk-2ZIHHL72.js.map +1 -0
- package/dist/chunk-32U6NKQQ.js +389 -0
- package/dist/chunk-32U6NKQQ.js.map +1 -0
- package/dist/chunk-4YDDHSO2.js +799 -0
- package/dist/chunk-4YDDHSO2.js.map +1 -0
- package/dist/chunk-56SNIMDO.js +9 -0
- package/dist/chunk-56SNIMDO.js.map +1 -0
- package/dist/chunk-5RWB6QVL.js +101 -0
- package/dist/chunk-5RWB6QVL.js.map +1 -0
- package/dist/chunk-5UGUOT3L.js +243 -0
- package/dist/chunk-5UGUOT3L.js.map +1 -0
- package/dist/chunk-6LAT33BH.js +130 -0
- package/dist/chunk-6LAT33BH.js.map +1 -0
- package/dist/chunk-7272KVWZ.js +60 -0
- package/dist/chunk-7272KVWZ.js.map +1 -0
- package/dist/chunk-72QC2GTL.js +36 -0
- package/dist/chunk-72QC2GTL.js.map +1 -0
- package/dist/chunk-7EQGGZBY.js +105 -0
- package/dist/chunk-7EQGGZBY.js.map +1 -0
- package/dist/chunk-A3LXWVYU.js +382 -0
- package/dist/chunk-A3LXWVYU.js.map +1 -0
- package/dist/chunk-AQYDZUJV.js +34 -0
- package/dist/chunk-AQYDZUJV.js.map +1 -0
- package/dist/chunk-BHCEVVUP.js +93 -0
- package/dist/chunk-BHCEVVUP.js.map +1 -0
- package/dist/chunk-BMUTAZX5.js +486 -0
- package/dist/chunk-BMUTAZX5.js.map +1 -0
- package/dist/chunk-DGG6IBBK.js +150 -0
- package/dist/chunk-DGG6IBBK.js.map +1 -0
- package/dist/{chunk-YBW5JSA3.js → chunk-FBCTUMHI.js} +123 -102
- package/dist/chunk-FBCTUMHI.js.map +1 -0
- package/dist/chunk-G2KJTFIC.js +97 -0
- package/dist/chunk-G2KJTFIC.js.map +1 -0
- package/dist/chunk-G4RKARXZ.js +1167 -0
- package/dist/chunk-G4RKARXZ.js.map +1 -0
- package/dist/chunk-H6UJJIUM.js +350 -0
- package/dist/chunk-H6UJJIUM.js.map +1 -0
- package/dist/chunk-JOTHDW4H.js +18 -0
- package/dist/chunk-JOTHDW4H.js.map +1 -0
- package/dist/chunk-L4GUEP7K.js +56480 -0
- package/dist/chunk-L4GUEP7K.js.map +1 -0
- package/dist/{chunk-SIOU2K4U.js → chunk-LJH2EYGT.js} +23 -23
- package/dist/chunk-MTJKSIGA.js +161 -0
- package/dist/chunk-MTJKSIGA.js.map +1 -0
- package/dist/chunk-MYHMB6GZ.js +202 -0
- package/dist/chunk-MYHMB6GZ.js.map +1 -0
- package/dist/chunk-PI5VIKJY.js +660 -0
- package/dist/chunk-PI5VIKJY.js.map +1 -0
- package/dist/{chunk-RIY7GYQS.js → chunk-PTSROVDG.js} +2 -2
- package/dist/chunk-PUIUXIOL.js +189 -0
- package/dist/chunk-PUIUXIOL.js.map +1 -0
- package/dist/chunk-R6VXJIMB.js +19 -0
- package/dist/chunk-R6VXJIMB.js.map +1 -0
- package/dist/chunk-RLJUNVAM.js +15 -0
- package/dist/chunk-RLJUNVAM.js.map +1 -0
- package/dist/chunk-RR6APCBK.js +213 -0
- package/dist/chunk-RR6APCBK.js.map +1 -0
- package/dist/{chunk-TXTQIYCV.js → chunk-RUQ4I6DO.js} +59 -13
- package/dist/chunk-RUQ4I6DO.js.map +1 -0
- package/dist/{chunk-WYBDERIY.js → chunk-RWEEUDHD.js} +53 -42
- package/dist/chunk-RWEEUDHD.js.map +1 -0
- package/dist/chunk-S7MSQQL6.js +158 -0
- package/dist/chunk-S7MSQQL6.js.map +1 -0
- package/dist/{chunk-5Q54VCCH.js → chunk-SHO4YO4B.js} +20 -36
- package/dist/chunk-SHO4YO4B.js.map +1 -0
- package/dist/{chunk-HHZSZYYF.js → chunk-T3HSWMA5.js} +20 -4
- package/dist/chunk-T3HSWMA5.js.map +1 -0
- package/dist/{chunk-YRKRZ6OF.js → chunk-TOOJIBJC.js} +2 -2
- package/dist/chunk-UCUOTRS6.js +431 -0
- package/dist/chunk-UCUOTRS6.js.map +1 -0
- package/dist/chunk-UH4K7GP7.js +424 -0
- package/dist/chunk-UH4K7GP7.js.map +1 -0
- package/dist/chunk-UIZWGPHV.js +120 -0
- package/dist/chunk-UIZWGPHV.js.map +1 -0
- package/dist/chunk-VLUKBV6Y.js +1170 -0
- package/dist/chunk-VLUKBV6Y.js.map +1 -0
- package/dist/chunk-W2QQ5Y6K.js +55 -0
- package/dist/chunk-W2QQ5Y6K.js.map +1 -0
- package/dist/{chunk-Y3KNXVTD.js → chunk-W3NBPR4E.js} +131 -31
- package/dist/chunk-W3NBPR4E.js.map +1 -0
- package/dist/{chunk-NRMCVHAU.js → chunk-WMGO4HJU.js} +11 -9
- package/dist/chunk-WMGO4HJU.js.map +1 -0
- package/dist/{chunk-MYBZRDTY.js → chunk-WQI7VNN4.js} +19 -9
- package/dist/chunk-WQI7VNN4.js.map +1 -0
- package/dist/{chunk-PX3VCKAU.js → chunk-WVCFSOUZ.js} +1 -1
- package/dist/{chunk-PX3VCKAU.js.map → chunk-WVCFSOUZ.js.map} +1 -1
- package/dist/chunk-XB6GQLBH.js +76 -0
- package/dist/chunk-XB6GQLBH.js.map +1 -0
- package/dist/{chunk-D2HKF2EF.js → chunk-XP5M3IKT.js} +2 -2
- package/dist/{chunk-O77VSFYZ.js → chunk-ZMPU5BWE.js} +12 -2
- package/dist/chunk-ZMPU5BWE.js.map +1 -0
- package/dist/{chunk-3SIZGL3O.js → chunk-ZYVEJFNU.js} +22 -18
- package/dist/chunk-ZYVEJFNU.js.map +1 -0
- package/dist/claude-provider-account-authority.d.ts +18 -0
- package/dist/claude-subscription-oauth.d.ts +25 -0
- package/dist/claude-subscription-usage.d.ts +95 -1
- package/dist/client-error-report.d.ts +154 -8
- package/dist/client-error-report.js +157 -2
- package/dist/client-error-report.js.map +1 -1
- package/dist/code-search.d.ts +1 -1
- package/dist/code-search.js.map +1 -1
- package/dist/codex-provider-account-authority.js +23 -12
- package/dist/codex-provider-account-authority.js.map +1 -1
- package/dist/company-profile.d.ts +144 -0
- package/dist/connect.d.ts +38 -0
- package/dist/connect.js +244 -164
- package/dist/connect.js.map +1 -1
- package/dist/connection-account-label.d.ts +2 -0
- package/dist/connection-account-label.js +34 -0
- package/dist/connection-account-label.js.map +1 -0
- package/dist/connection-authority.js +49 -24
- package/dist/connector-attachments.js +3 -1
- package/dist/connector-destinations.js +3 -1
- package/dist/connector-tool-permissions.d.ts +68 -4
- package/dist/credential-profiles.d.ts +166 -0
- package/dist/cua-desktop-tools.d.ts +19 -0
- package/dist/define-schema.d.ts +8 -0
- package/dist/desktop-app.d.ts +28 -0
- package/dist/direct-model-provider.d.ts +38 -0
- package/dist/document-artifact-commands.js +2 -2
- package/dist/document-artifact-query.js +2 -2
- package/dist/editable-artifact-binary.d.ts +7 -0
- package/dist/editable-artifact-causal-frontier.js +2 -2
- package/dist/editable-artifact-codec-registry.js +7 -7
- package/dist/editable-artifact-committed-transaction.js +4 -2
- package/dist/editable-artifact-live.js +8 -8
- package/dist/editable-artifact-serialized-commit.js +9 -9
- package/dist/editable-artifact-versions.d.ts +7 -1
- package/dist/editable-artifact-versions.js +1 -1
- package/dist/editable-artifacts.js +49 -43
- package/dist/event-preview.d.ts +22 -0
- package/dist/event-triggers.d.ts +1253 -0
- package/dist/event-triggers.js +148 -0
- package/dist/event-triggers.js.map +1 -0
- package/dist/external-identities.d.ts +34 -0
- package/dist/external-identities.js +4 -2
- package/dist/feedback.d.ts +181 -0
- package/dist/file-access.d.ts +23 -0
- package/dist/first-party-tool-authorization.d.ts +852 -0
- package/dist/github-repository-contracts.js +64 -43
- package/dist/github-repository-contracts.js.map +1 -1
- package/dist/google-drive-native-retirement.d.ts +12 -0
- package/dist/google-drive-native-retirement.js +20 -0
- package/dist/google-drive-native-retirement.js.map +1 -0
- package/dist/google-drive.d.ts +1 -1
- package/dist/google-drive.js +323 -239
- package/dist/google-drive.js.map +1 -1
- package/dist/host-mcp-bindings.js +250 -198
- package/dist/host-mcp-bindings.js.map +1 -1
- package/dist/index.d.ts +29072 -20593
- package/dist/index.js +2432 -366
- package/dist/inference-residency.d.ts +22 -0
- package/dist/insights-usage.d.ts +948 -0
- package/dist/insights-usage.js +608 -0
- package/dist/insights-usage.js.map +1 -0
- package/dist/integration-capability-id.d.ts +8 -0
- package/dist/interaction-action-deadline.d.ts +48 -0
- package/dist/interaction-driver-diagnostic.d.ts +28 -0
- package/dist/interaction.d.ts +2126 -881
- package/dist/knowledge-entries.d.ts +38 -0
- package/dist/knowledge-preparation.d.ts +4 -0
- package/dist/learning-refusal.d.ts +43 -0
- package/dist/learning-refusal.js +49 -0
- package/dist/learning-refusal.js.map +1 -0
- package/dist/managed-auth-session-sets.d.ts +1 -0
- package/dist/managed-auth-session-sets.js +207 -146
- package/dist/managed-auth-session-sets.js.map +1 -1
- package/dist/managed-sign-in-methods.d.ts +96 -0
- package/dist/managed-sign-in-methods.js +157 -35
- package/dist/managed-sign-in-methods.js.map +1 -1
- package/dist/mcp-structured-content.d.ts +25 -0
- package/dist/message-time-zone.d.ts +38 -0
- package/dist/message-time-zone.js +19 -0
- package/dist/message-time-zone.js.map +1 -0
- package/dist/modal-native-proof-v2.d.ts +587 -0
- package/dist/modal-native-proof-v2.js +39 -0
- package/dist/modal-native-proof-v2.js.map +1 -0
- package/dist/model-account-choice.d.ts +237 -0
- package/dist/model-account-settings.d.ts +422 -0
- package/dist/model-availability.d.ts +15 -0
- package/dist/model-connection-access.d.ts +13 -0
- package/dist/model-context-inspector.d.ts +8 -0
- package/dist/model-display.d.ts +43 -0
- package/dist/model-display.js +17 -0
- package/dist/model-display.js.map +1 -0
- package/dist/model-picker-order.js.map +1 -1
- package/dist/model-residency.d.ts +304 -0
- package/dist/organization-access.d.ts +416 -0
- package/dist/organization-access.js +40 -0
- package/dist/organization-access.js.map +1 -0
- package/dist/organization-integration-policy.d.ts +18 -0
- package/dist/organization-membership-lifecycle.d.ts +66 -0
- package/dist/organization-model-usage.d.ts +146 -0
- package/dist/organization-model-usage.js +87 -0
- package/dist/organization-model-usage.js.map +1 -0
- package/dist/organization-recovery.js +3 -1
- package/dist/organization-usage.d.ts +12 -0
- package/dist/passkey-only-account.d.ts +14 -0
- package/dist/passkey-only-account.js +13 -0
- package/dist/passkey-only-account.js.map +1 -0
- package/dist/permissions.d.ts +19 -0
- package/dist/personal-github.js +220 -148
- package/dist/personal-github.js.map +1 -1
- package/dist/personal-integration-setup.d.ts +81 -0
- package/dist/personal-integration-setup.js +42 -0
- package/dist/personal-integration-setup.js.map +1 -0
- package/dist/prepared-mcp-setup.d.ts +54 -0
- package/dist/prepared-mcp-setup.js +13 -0
- package/dist/prepared-mcp-setup.js.map +1 -0
- package/dist/presentation-artifact-commands.js +2 -2
- package/dist/presentation-artifact-query.js +2 -2
- package/dist/primitives.d.ts +18 -0
- package/dist/product-analytics.d.ts +27 -10
- package/dist/product-lifecycle-facts.d.ts +26 -3
- package/dist/prompt-cache-diagnostics.d.ts +92 -0
- package/dist/recordings.d.ts +1371 -0
- package/dist/remember.d.ts +98 -2
- package/dist/retained-output.d.ts +4 -2
- package/dist/sandbox-file-artifacts.d.ts +19 -2
- package/dist/sandbox-provider-command.d.ts +5 -44
- package/dist/sandbox-recovery.d.ts +139 -8
- package/dist/secret-generator.d.ts +44 -0
- package/dist/secret-mask-strings.d.ts +32 -0
- package/dist/secret-references.d.ts +90 -0
- package/dist/secret-resolution.d.ts +143 -0
- package/dist/secret-shape-masking.d.ts +52 -0
- package/dist/secret-shape-masking.js +19 -0
- package/dist/secret-shape-masking.js.map +1 -0
- package/dist/secret-totp.d.ts +41 -0
- package/dist/secret-use-approval-question.d.ts +11 -0
- package/dist/secret-use-approval-question.js +11 -0
- package/dist/secret-use-approval-question.js.map +1 -0
- package/dist/secret-use-approvals.d.ts +106 -0
- package/dist/secret-value-masking.d.ts +299 -0
- package/dist/secret-value-masking.js +62 -0
- package/dist/secret-value-masking.js.map +1 -0
- package/dist/secret-value.d.ts +19 -0
- package/dist/session-history-import.d.ts +444 -8
- package/dist/session-history.d.ts +111 -0
- package/dist/session-history.js +35 -0
- package/dist/session-history.js.map +1 -0
- package/dist/session-list-entries.d.ts +8 -0
- package/dist/session-list-entries.js +61 -0
- package/dist/session-list-entries.js.map +1 -0
- package/dist/session-mcp-projections.d.ts +13 -1
- package/dist/session-mcp-tool-permissions.d.ts +62 -0
- package/dist/session-target.d.ts +18 -0
- package/dist/session-titles.d.ts +8 -0
- package/dist/session-titles.js +5 -1
- package/dist/session-usage-limit-refusal.d.ts +34 -0
- package/dist/session-usage-limit-refusal.js +15 -0
- package/dist/session-usage-limit-refusal.js.map +1 -0
- package/dist/session-usage-limits.d.ts +127 -0
- package/dist/session-usage-limits.js +43 -0
- package/dist/session-usage-limits.js.map +1 -0
- package/dist/site-data.d.ts +286 -0
- package/dist/site-operations.d.ts +39 -0
- package/dist/site-publishing.d.ts +813 -0
- package/dist/site-session-http.d.ts +103 -4
- package/dist/site-session-http.js +27 -1
- package/dist/site-sql.d.ts +425 -0
- package/dist/skills.d.ts +38 -0
- package/dist/slack-bot-scopes.d.ts +9 -7
- package/dist/slack-bot-scopes.js +6 -3
- package/dist/slack-rest-mcp.d.ts +36 -0
- package/dist/slack-rest-mcp.js +25 -0
- package/dist/slack-rest-mcp.js.map +1 -0
- package/dist/spreadsheet-artifact-commands.d.ts +14 -1
- package/dist/spreadsheet-artifact-commands.js +9 -2
- package/dist/spreadsheet-artifact-query.d.ts +13 -6
- package/dist/spreadsheet-artifact-query.js +4 -3
- package/dist/subscription-account-actions.d.ts +83 -0
- package/dist/subscription-account-pools.d.ts +326 -0
- package/dist/subscription-personal-authority-v2.d.ts +28 -0
- package/dist/subscription-personal-authority-v2.js +13 -0
- package/dist/subscription-personal-authority-v2.js.map +1 -0
- package/dist/subscription-plans.d.ts +38 -0
- package/dist/subscription-usage-pool.d.ts +89 -0
- package/dist/tool-action-review.d.ts +141 -0
- package/dist/tool-catalog.d.ts +479 -0
- package/dist/tool-policy.d.ts +5 -0
- package/dist/tool-review-presentation.d.ts +29 -0
- package/dist/tool-review-presentation.js +21 -0
- package/dist/tool-review-presentation.js.map +1 -0
- package/dist/turn-serving-policy.d.ts +223 -0
- package/dist/usage-allowances.d.ts +30 -0
- package/dist/usage-allowances.js +5 -1
- package/dist/values.d.ts +11 -0
- package/dist/values.js +19 -0
- package/dist/values.js.map +1 -0
- package/dist/vault-provider-wire.d.ts +907 -0
- package/dist/vault-provider-wire.js +74 -0
- package/dist/vault-provider-wire.js.map +1 -0
- package/dist/vaults.d.ts +2185 -0
- package/dist/video-generation.d.ts +75 -0
- package/dist/video-generation.js +8 -1
- package/dist/workspace-control-event.d.ts +18 -0
- package/dist/workspace-control-event.js +18 -0
- package/dist/workspace-control-event.js.map +1 -0
- package/dist/workspace-governance-context.d.ts +18 -0
- package/dist/workspace-integration-wire.d.ts +1 -1
- package/dist/workspace-integration-wire.js +1 -1
- package/dist/workspace-integrations.d.ts +212 -12
- package/dist/xai-provider-account-authority.js +3 -1
- package/package.json +121 -4
- package/src/agent-authored-durable-text.ts +14 -11
- package/src/agent-config.ts +382 -203
- package/src/agent-instruction-changes.ts +94 -74
- package/src/agent-learning.ts +94 -66
- package/src/agent-topology.ts +58 -52
- package/src/api-key-presets.ts +28 -0
- package/src/app-action-catalog-types.ts +32 -0
- package/src/app-action-catalog.gen.ts +9905 -0
- package/src/app-actions.ts +365 -0
- package/src/app-shot.ts +176 -0
- package/src/artifact-catalog.ts +81 -46
- package/src/artifacts.ts +360 -227
- package/src/atlassian-native-retirement.ts +33 -0
- package/src/atlassian.ts +136 -108
- package/src/automation-templates.ts +201 -0
- package/src/billing-subscriptions.ts +48 -0
- package/src/bots.ts +238 -0
- package/src/bundled-skills.ts +79 -22
- package/src/canonical-human-identities.ts +65 -62
- package/src/child-lifecycle-notice-protocol.gen.json +1310 -0
- package/src/child-lifecycle-notice-protocol.ts +224 -0
- package/src/claude-provider-account-authority.ts +12 -0
- package/src/claude-subscription-oauth.ts +61 -19
- package/src/claude-subscription-usage.ts +64 -35
- package/src/client-error-report.ts +344 -9
- package/src/code-search.ts +1 -1
- package/src/codex-provider-account-authority.ts +22 -16
- package/src/company-brain-governed-writes.ts +265 -244
- package/src/company-brain.ts +165 -154
- package/src/company-profile.ts +362 -297
- package/src/connect.ts +222 -173
- package/src/connection-account-label.ts +45 -0
- package/src/connection-authority.ts +172 -152
- package/src/connector-attachments.ts +139 -123
- package/src/connector-destinations.ts +48 -43
- package/src/connector-tool-permissions.ts +104 -46
- package/src/credential-profiles.ts +161 -0
- package/src/cua-desktop-tools.gen.json +6722 -0
- package/src/cua-desktop-tools.linux.gen.json +6798 -0
- package/src/cua-desktop-tools.ts +42 -0
- package/src/cua-desktop-tools.windows.gen.json +6739 -0
- package/src/define-schema.ts +10 -0
- package/src/desktop-app.ts +50 -0
- package/src/direct-model-provider.ts +112 -0
- package/src/editable-artifact-binary.ts +29 -8
- package/src/editable-artifact-committed-transaction.ts +19 -18
- package/src/editable-artifact-serialized-commit.ts +8 -2
- package/src/editable-artifact-versions.ts +7 -1
- package/src/event-preview.ts +53 -3
- package/src/event-triggers.ts +891 -0
- package/src/external-identities.ts +239 -195
- package/src/feedback.ts +125 -30
- package/src/file-access.ts +26 -0
- package/src/first-party-tool-authorization.ts +383 -0
- package/src/github-repository-contracts.ts +78 -64
- package/src/google-drive-native-retirement.ts +20 -0
- package/src/google-drive.ts +286 -234
- package/src/governed-learning-activation.ts +159 -137
- package/src/governed-learning-evaluator.ts +141 -133
- package/src/host-mcp-bindings.ts +244 -221
- package/src/image-generation.ts +105 -95
- package/src/index.ts +13928 -9899
- package/src/inference-residency.ts +36 -0
- package/src/insights-usage.ts +774 -0
- package/src/integration-capability-id.ts +16 -0
- package/src/interaction-action-deadline.ts +143 -0
- package/src/interaction-driver-diagnostic.ts +89 -0
- package/src/interaction.ts +3527 -2427
- package/src/knowledge-entries.ts +386 -299
- package/src/knowledge-preparation.ts +49 -41
- package/src/knowledge.ts +242 -213
- package/src/learning-refusal.ts +90 -0
- package/src/managed-auth-session-sets.ts +180 -133
- package/src/managed-sign-in-methods.ts +156 -34
- package/src/mcp-oauth.ts +58 -46
- package/src/mcp-receipts.ts +199 -194
- package/src/mcp-structured-content.ts +81 -0
- package/src/memory-slack-delivery.ts +172 -142
- package/src/message-time-zone.ts +109 -0
- package/src/modal-native-proof-v2.ts +430 -0
- package/src/model-account-choice.ts +178 -0
- package/src/model-account-settings.ts +210 -0
- package/src/model-availability.ts +22 -0
- package/src/model-connection-access.ts +62 -14
- package/src/model-context-inspector.ts +130 -109
- package/src/model-display.ts +221 -0
- package/src/model-picker-order.ts +1 -1
- package/src/model-residency.ts +535 -0
- package/src/organization-access.ts +216 -0
- package/src/organization-integration-policy.ts +47 -28
- package/src/organization-membership-lifecycle.ts +558 -384
- package/src/organization-model-usage.ts +82 -0
- package/src/organization-recovery.ts +148 -135
- package/src/organization-usage.ts +84 -52
- package/src/passkey-only-account.ts +29 -0
- package/src/permissions.ts +94 -52
- package/src/personal-github.ts +211 -171
- package/src/personal-integration-setup.ts +150 -0
- package/src/preference-registry.ts +319 -263
- package/src/prepared-mcp-setup.ts +190 -0
- package/src/primitives.ts +22 -0
- package/src/product-analytics.ts +40 -15
- package/src/product-lifecycle-facts.ts +50 -20
- package/src/prompt-cache-diagnostics.ts +212 -0
- package/src/recordings.ts +1153 -0
- package/src/remember.ts +184 -172
- package/src/retained-output.ts +181 -168
- package/src/sandbox-file-artifacts.ts +78 -57
- package/src/sandbox-provider-command.ts +55 -72
- package/src/sandbox-recovery.ts +163 -77
- package/src/scoped-knowledge.ts +62 -43
- package/src/secret-generator.ts +156 -0
- package/src/secret-mask-strings.ts +175 -0
- package/src/secret-references.ts +414 -0
- package/src/secret-resolution.ts +322 -0
- package/src/secret-shape-masking.ts +573 -0
- package/src/secret-totp.ts +188 -0
- package/src/secret-use-approval-question.ts +22 -0
- package/src/secret-use-approvals.ts +219 -0
- package/src/secret-value-masking.ts +1283 -0
- package/src/secret-value.ts +22 -0
- package/src/session-goal-reports.ts +55 -49
- package/src/session-history-import.ts +84 -68
- package/src/session-history.ts +197 -0
- package/src/session-list-entries.ts +106 -0
- package/src/session-mcp-projections.ts +21 -3
- package/src/session-mcp-tool-permissions.ts +109 -0
- package/src/session-message-search.ts +46 -38
- package/src/session-target.ts +58 -0
- package/src/session-titles.ts +40 -4
- package/src/session-topology-primitives.ts +20 -12
- package/src/session-usage-limit-refusal.ts +101 -0
- package/src/session-usage-limits.ts +169 -0
- package/src/signup-attribution.ts +20 -15
- package/src/site-data.ts +337 -0
- package/src/site-operations.ts +154 -0
- package/src/site-publishing.ts +903 -0
- package/src/site-session-http.ts +344 -16
- package/src/site-sql.ts +1120 -0
- package/src/skill-use.ts +18 -17
- package/src/skills.ts +105 -50
- package/src/slack-bot-scopes.ts +18 -35
- package/src/slack-rest-mcp.ts +222 -0
- package/src/slack-task-policy.ts +97 -73
- package/src/spreadsheet-artifact-commands.ts +74 -13
- package/src/spreadsheet-artifact-query.ts +188 -50
- package/src/subscription-account-actions.ts +103 -0
- package/src/subscription-account-pools.ts +74 -0
- package/src/subscription-personal-authority-v2.ts +69 -0
- package/src/subscription-plans.ts +51 -0
- package/src/subscription-usage-pool.ts +44 -0
- package/src/task-notes.ts +70 -68
- package/src/tool-action-review.ts +271 -0
- package/src/tool-catalog.ts +694 -379
- package/src/tool-policy.ts +82 -0
- package/src/tool-result-spill.ts +13 -9
- package/src/tool-review-presentation.ts +643 -0
- package/src/turn-serving-policy.ts +167 -0
- package/src/usage-allowances.ts +212 -136
- package/src/values.ts +25 -0
- package/src/vault-provider-wire.ts +580 -0
- package/src/vaults.ts +1296 -0
- package/src/video-generation.ts +430 -361
- package/src/work-claims.ts +183 -166
- package/src/workspace-control-event.ts +134 -0
- package/src/workspace-governance-context.ts +63 -0
- package/src/workspace-instruction-policies.ts +346 -279
- package/src/workspace-integration-wire.ts +10 -0
- package/src/workspace-integrations.ts +488 -398
- package/src/workspace-learning-administration.ts +58 -44
- package/src/workspace-learning-policy.ts +126 -99
- package/src/workspace-state.ts +239 -220
- package/src/xai-provider-account-authority.ts +23 -17
- package/dist/chunk-3SIZGL3O.js.map +0 -1
- package/dist/chunk-566IFOVP.js +0 -26133
- package/dist/chunk-566IFOVP.js.map +0 -1
- package/dist/chunk-5IXYF6XN.js +0 -728
- package/dist/chunk-5IXYF6XN.js.map +0 -1
- package/dist/chunk-5Q54VCCH.js.map +0 -1
- package/dist/chunk-BCS7WHCK.js +0 -139
- package/dist/chunk-BCS7WHCK.js.map +0 -1
- package/dist/chunk-EK7NDGFR.js +0 -128
- package/dist/chunk-EK7NDGFR.js.map +0 -1
- package/dist/chunk-GRG7PHWQ.js +0 -25
- package/dist/chunk-GRG7PHWQ.js.map +0 -1
- package/dist/chunk-HHZSZYYF.js.map +0 -1
- package/dist/chunk-ICDZGUX2.js +0 -186
- package/dist/chunk-ICDZGUX2.js.map +0 -1
- package/dist/chunk-JUFK3T4Q.js +0 -80
- package/dist/chunk-JUFK3T4Q.js.map +0 -1
- package/dist/chunk-MYBZRDTY.js.map +0 -1
- package/dist/chunk-NRMCVHAU.js.map +0 -1
- package/dist/chunk-O77VSFYZ.js.map +0 -1
- package/dist/chunk-P3HLDT77.js +0 -59
- package/dist/chunk-P3HLDT77.js.map +0 -1
- package/dist/chunk-TXTQIYCV.js.map +0 -1
- package/dist/chunk-WYBDERIY.js.map +0 -1
- package/dist/chunk-Y3KNXVTD.js.map +0 -1
- package/dist/chunk-YBW5JSA3.js.map +0 -1
- package/dist/chunk-YRXAWWCU.js +0 -45
- package/dist/chunk-YRXAWWCU.js.map +0 -1
- package/dist/chunk-YWMOIZ6A.js +0 -185
- package/dist/chunk-YWMOIZ6A.js.map +0 -1
- package/dist/site-request-headers.test.d.ts +0 -1
- package/dist/transcription-recordings.d.ts +0 -300
- package/src/transcription-recordings.ts +0 -169
- /package/dist/{chunk-SIOU2K4U.js.map → chunk-LJH2EYGT.js.map} +0 -0
- /package/dist/{chunk-RIY7GYQS.js.map → chunk-PTSROVDG.js.map} +0 -0
- /package/dist/{chunk-YRKRZ6OF.js.map → chunk-TOOJIBJC.js.map} +0 -0
- /package/dist/{chunk-D2HKF2EF.js.map → chunk-XP5M3IKT.js.map} +0 -0
|
@@ -3,6 +3,8 @@ export declare const ModelConnectionAccessPolicy: z.ZodObject<{
|
|
|
3
3
|
allowedModels: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
4
4
|
allowedWorkspaces: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
5
5
|
allowPersonalWorkspaces: z.ZodBoolean;
|
|
6
|
+
allowedPeople: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
7
|
+
sharePersonal: z.ZodOptional<z.ZodLiteral<true>>;
|
|
6
8
|
version: z.ZodNumber;
|
|
7
9
|
}, z.core.$strict>;
|
|
8
10
|
export declare const ModelConnectionAccessResponse: z.ZodObject<{
|
|
@@ -10,6 +12,8 @@ export declare const ModelConnectionAccessResponse: z.ZodObject<{
|
|
|
10
12
|
allowedModels: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
11
13
|
allowedWorkspaces: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
12
14
|
allowPersonalWorkspaces: z.ZodBoolean;
|
|
15
|
+
allowedPeople: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
16
|
+
sharePersonal: z.ZodOptional<z.ZodLiteral<true>>;
|
|
13
17
|
version: z.ZodNumber;
|
|
14
18
|
}, z.core.$strict>;
|
|
15
19
|
models: z.ZodArray<z.ZodObject<{
|
|
@@ -21,4 +25,13 @@ export declare const ModelConnectionAccessResponse: z.ZodObject<{
|
|
|
21
25
|
name: z.ZodString;
|
|
22
26
|
}, z.core.$strip>>;
|
|
23
27
|
personalWorkspacesSupported: z.ZodBoolean;
|
|
28
|
+
peopleSupported: z.ZodOptional<z.ZodBoolean>;
|
|
29
|
+
people: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
30
|
+
id: z.ZodString;
|
|
31
|
+
name: z.ZodNullable<z.ZodString>;
|
|
32
|
+
email: z.ZodNullable<z.ZodString>;
|
|
33
|
+
}, z.core.$strip>>>;
|
|
34
|
+
localWorkspaceIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
35
|
+
managedByWorkspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
personalSharingSupported: z.ZodOptional<z.ZodBoolean>;
|
|
24
37
|
}, z.core.$strip>;
|
|
@@ -34,11 +34,13 @@ export declare const ModelContextInstructionModule: z.ZodObject<{
|
|
|
34
34
|
connected_machine: "connected_machine";
|
|
35
35
|
goals: "goals";
|
|
36
36
|
knowledge: "knowledge";
|
|
37
|
+
media: "media";
|
|
37
38
|
renderer_markdown: "renderer_markdown";
|
|
38
39
|
repositories: "repositories";
|
|
39
40
|
rig: "rig";
|
|
40
41
|
runtime_mechanics: "runtime_mechanics";
|
|
41
42
|
sandbox: "sandbox";
|
|
43
|
+
secrets: "secrets";
|
|
42
44
|
skills: "skills";
|
|
43
45
|
subagents: "subagents";
|
|
44
46
|
workspace_environment: "workspace_environment";
|
|
@@ -78,11 +80,13 @@ export declare const ModelContextInstructionLayer: z.ZodObject<{
|
|
|
78
80
|
connected_machine: "connected_machine";
|
|
79
81
|
goals: "goals";
|
|
80
82
|
knowledge: "knowledge";
|
|
83
|
+
media: "media";
|
|
81
84
|
renderer_markdown: "renderer_markdown";
|
|
82
85
|
repositories: "repositories";
|
|
83
86
|
rig: "rig";
|
|
84
87
|
runtime_mechanics: "runtime_mechanics";
|
|
85
88
|
sandbox: "sandbox";
|
|
89
|
+
secrets: "secrets";
|
|
86
90
|
skills: "skills";
|
|
87
91
|
subagents: "subagents";
|
|
88
92
|
workspace_environment: "workspace_environment";
|
|
@@ -183,11 +187,13 @@ export declare const ModelContextSnapshot: z.ZodObject<{
|
|
|
183
187
|
connected_machine: "connected_machine";
|
|
184
188
|
goals: "goals";
|
|
185
189
|
knowledge: "knowledge";
|
|
190
|
+
media: "media";
|
|
186
191
|
renderer_markdown: "renderer_markdown";
|
|
187
192
|
repositories: "repositories";
|
|
188
193
|
rig: "rig";
|
|
189
194
|
runtime_mechanics: "runtime_mechanics";
|
|
190
195
|
sandbox: "sandbox";
|
|
196
|
+
secrets: "secrets";
|
|
191
197
|
skills: "skills";
|
|
192
198
|
subagents: "subagents";
|
|
193
199
|
workspace_environment: "workspace_environment";
|
|
@@ -279,11 +285,13 @@ export declare const SessionModelContextResponse: z.ZodObject<{
|
|
|
279
285
|
connected_machine: "connected_machine";
|
|
280
286
|
goals: "goals";
|
|
281
287
|
knowledge: "knowledge";
|
|
288
|
+
media: "media";
|
|
282
289
|
renderer_markdown: "renderer_markdown";
|
|
283
290
|
repositories: "repositories";
|
|
284
291
|
rig: "rig";
|
|
285
292
|
runtime_mechanics: "runtime_mechanics";
|
|
286
293
|
sandbox: "sandbox";
|
|
294
|
+
secrets: "secrets";
|
|
287
295
|
skills: "skills";
|
|
288
296
|
subagents: "subagents";
|
|
289
297
|
workspace_environment: "workspace_environment";
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One display identity for a model everywhere outside the Models settings page.
|
|
3
|
+
*
|
|
4
|
+
* Catalog ids carry routing facts (`codex/`, `organization-claude-subscription/`,
|
|
5
|
+
* `workspace-openrouter/anthropic/...`) and custom models may have no curated
|
|
6
|
+
* label. People should only ever see the model itself: `GPT-6.1 Sol`,
|
|
7
|
+
* `Opus 5.5`. The same upstream model therefore renders identically
|
|
8
|
+
* whether an organization or a workspace connection serves it.
|
|
9
|
+
*
|
|
10
|
+
* Pure and dependency-free so the API, SDK, React package and web app share it.
|
|
11
|
+
*/
|
|
12
|
+
export type ModelVendor = "openai" | "anthropic" | "xai" | "google" | "meta" | "mistral" | "deepseek" | "moonshot" | "qwen" | "zhipu" | "nvidia";
|
|
13
|
+
export type ModelDisplayInput = string | {
|
|
14
|
+
id: string;
|
|
15
|
+
label?: string | null | undefined;
|
|
16
|
+
logoUrl?: string | null | undefined;
|
|
17
|
+
upstreamModelId?: string | null | undefined;
|
|
18
|
+
deployment?: {
|
|
19
|
+
upstreamModelId?: string | null | undefined;
|
|
20
|
+
} | null | undefined;
|
|
21
|
+
};
|
|
22
|
+
/** Catalog maker logo; remote images must use HTTPS without embedded credentials. */
|
|
23
|
+
export declare function modelLogoUrl(input: ModelDisplayInput): string | null;
|
|
24
|
+
/** The upstream model slug without routing prefixes or `:variant` suffixes. */
|
|
25
|
+
export declare function modelSlug(value: string): string;
|
|
26
|
+
/** `claude-opus-5-5` → `Claude Opus 5.5`, `codex/gpt-6.1-sol` → `GPT-6.1 Sol`. */
|
|
27
|
+
export declare function humanizeModelSlug(value: string): string;
|
|
28
|
+
/**
|
|
29
|
+
* True when a catalog label is only the model's identifier: empty, or exactly
|
|
30
|
+
* its id, upstream id, or any trailing path of them (`claude-opus-4-8`,
|
|
31
|
+
* `anthropic/claude-sonnet-4.6`). Any other label is a curated name and wins.
|
|
32
|
+
*/
|
|
33
|
+
export declare function isRawModelLabel(label: string, ids?: readonly (string | null | undefined)[]): boolean;
|
|
34
|
+
/**
|
|
35
|
+
* The clean name to show for a model: its curated catalog label when it has
|
|
36
|
+
* one, otherwise a readable form of the upstream model id. Never a routing
|
|
37
|
+
* prefix, connection id or connection scope. Anthropic's Opus, Sonnet and
|
|
38
|
+
* Haiku families drop the redundant `Claude` word (the maker mark already says
|
|
39
|
+
* it): `Opus 5.5`, `Sonnet 4.6 EU`.
|
|
40
|
+
*/
|
|
41
|
+
export declare function modelDisplayName(input: ModelDisplayInput): string;
|
|
42
|
+
/** Who makes the model, for its logo. Null when it cannot be told. */
|
|
43
|
+
export declare function modelVendor(input: ModelDisplayInput): ModelVendor | null;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import {
|
|
2
|
+
humanizeModelSlug,
|
|
3
|
+
isRawModelLabel,
|
|
4
|
+
modelDisplayName,
|
|
5
|
+
modelLogoUrl,
|
|
6
|
+
modelSlug,
|
|
7
|
+
modelVendor
|
|
8
|
+
} from "./chunk-2ZIHHL72.js";
|
|
9
|
+
export {
|
|
10
|
+
humanizeModelSlug,
|
|
11
|
+
isRawModelLabel,
|
|
12
|
+
modelDisplayName,
|
|
13
|
+
modelLogoUrl,
|
|
14
|
+
modelSlug,
|
|
15
|
+
modelVendor
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=model-display.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/model-picker-order.ts"],"sourcesContent":["export type ModelPickerBillingClass =\n // Legacy public identifier for the
|
|
1
|
+
{"version":3,"sources":["../src/model-picker-order.ts"],"sourcesContent":["export type ModelPickerBillingClass =\n // Legacy public identifier for the Opengeni presentation group, including\n // free deployment models. Never use this UI grouping to decide settlement.\n | \"opengeni_credits\"\n | \"external\"\n | \"codex_subscription\"\n | \"supergrok_subscription\"\n | \"claude_subscription\"\n | \"byok\"\n | \"organization_byok\";\n\n// Every closed billing class has a unique first character. Keeping the order\n// as initials avoids duplicating the full public labels in browser bundles.\nconst MODEL_PICKER_BILLING_CLASS_ORDER: readonly ModelPickerBillingClass[] = [\n \"opengeni_credits\",\n \"external\",\n \"codex_subscription\",\n \"supergrok_subscription\",\n \"claude_subscription\",\n \"byok\",\n \"organization_byok\",\n];\n\nexport type ModelPickerBillingCandidate = {\n provider?: string | undefined;\n providerId?: string | undefined;\n source?: string | undefined;\n cost?: \"free\" | \"credits\" | \"subscription\" | \"workspace\" | \"organization\" | undefined;\n billing?:\n | {\n upstreamPayer?: string | undefined;\n metering?: string | undefined;\n }\n | undefined;\n credentialSource?:\n | {\n kind?: string | undefined;\n provider?: string | undefined;\n }\n | undefined;\n};\n\nexport function modelPickerBillingClassFor(\n model: ModelPickerBillingCandidate,\n): ModelPickerBillingClass {\n if (\n model.provider === \"workspace-claude-subscription\" ||\n model.providerId === \"workspace-claude-subscription\" ||\n model.provider === \"organization-claude-subscription\" ||\n model.providerId === \"organization-claude-subscription\"\n )\n return \"claude_subscription\";\n if (model.cost === \"credits\" || model.cost === \"free\") return \"opengeni_credits\";\n if (model.cost === \"workspace\") return \"byok\";\n if (model.cost === \"organization\") return \"organization_byok\";\n const source = model.source;\n const credential = model.credentialSource;\n const payer = model.billing?.upstreamPayer;\n if (\n source === \"supergrok\" ||\n (credential?.kind === \"connected_subscription\" && credential.provider === \"xai\")\n ) {\n return \"supergrok_subscription\";\n }\n if (\n source === \"codex\" ||\n credential?.kind === \"connected_subscription\" ||\n payer === \"connected_subscription\"\n ) {\n return \"codex_subscription\";\n }\n if (\n source === \"workspace_gateway\" ||\n credential?.kind === \"workspace_connection\" ||\n payer === \"workspace\"\n ) {\n return \"byok\";\n }\n if (credential?.kind === \"organization_connection\" || payer === \"organization\") {\n return \"organization_byok\";\n }\n return \"opengeni_credits\";\n}\n\nexport function compareModelPickerOrder(\n left: { billingClass: ModelPickerBillingClass; selectable: boolean; label: string },\n right: { billingClass: ModelPickerBillingClass; selectable: boolean; label: string },\n): number {\n const classDelta =\n MODEL_PICKER_BILLING_CLASS_ORDER.indexOf(left.billingClass) -\n MODEL_PICKER_BILLING_CLASS_ORDER.indexOf(right.billingClass);\n return (\n classDelta ||\n +right.selectable - +left.selectable ||\n (left.label < right.label ? -1 : left.label > right.label ? 1 : 0)\n );\n}\n"],"mappings":";AAaA,IAAM,mCAAuE;AAAA,EAC3E;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAqBO,SAAS,2BACd,OACyB;AACzB,MACE,MAAM,aAAa,mCACnB,MAAM,eAAe,mCACrB,MAAM,aAAa,sCACnB,MAAM,eAAe;AAErB,WAAO;AACT,MAAI,MAAM,SAAS,aAAa,MAAM,SAAS,OAAQ,QAAO;AAC9D,MAAI,MAAM,SAAS,YAAa,QAAO;AACvC,MAAI,MAAM,SAAS,eAAgB,QAAO;AAC1C,QAAM,SAAS,MAAM;AACrB,QAAM,aAAa,MAAM;AACzB,QAAM,QAAQ,MAAM,SAAS;AAC7B,MACE,WAAW,eACV,YAAY,SAAS,4BAA4B,WAAW,aAAa,OAC1E;AACA,WAAO;AAAA,EACT;AACA,MACE,WAAW,WACX,YAAY,SAAS,4BACrB,UAAU,0BACV;AACA,WAAO;AAAA,EACT;AACA,MACE,WAAW,uBACX,YAAY,SAAS,0BACrB,UAAU,aACV;AACA,WAAO;AAAA,EACT;AACA,MAAI,YAAY,SAAS,6BAA6B,UAAU,gBAAgB;AAC9E,WAAO;AAAA,EACT;AACA,SAAO;AACT;AAEO,SAAS,wBACd,MACA,OACQ;AACR,QAAM,aACJ,iCAAiC,QAAQ,KAAK,YAAY,IAC1D,iCAAiC,QAAQ,MAAM,YAAY;AAC7D,SACE,cACA,CAAC,MAAM,aAAa,CAAC,KAAK,eACzB,KAAK,QAAQ,MAAM,QAAQ,KAAK,KAAK,QAAQ,MAAM,QAAQ,IAAI;AAEpE;","names":[]}
|
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* Where a model route processes prompts and outputs, and how we know.
|
|
4
|
+
*
|
|
5
|
+
* EU status is derived only from this record, never from a model name, label
|
|
6
|
+
* or provider id. A route without a record is `unknown`, and unknown is never
|
|
7
|
+
* EU. `eu` follows GDPR: EEA processing counts the same as EU processing, so a
|
|
8
|
+
* provider's EU data zone (Azure Data Zone EU, Bedrock `eu.` inference
|
|
9
|
+
* profiles) qualifies even when it can include Norway or Switzerland.
|
|
10
|
+
*/
|
|
11
|
+
export declare const MODEL_PROCESSING_GEOGRAPHIES: readonly ["eu", "us", "global", "other", "unknown"];
|
|
12
|
+
export declare const ModelProcessingGeography: z.ZodEnum<{
|
|
13
|
+
eu: "eu";
|
|
14
|
+
global: "global";
|
|
15
|
+
other: "other";
|
|
16
|
+
unknown: "unknown";
|
|
17
|
+
us: "us";
|
|
18
|
+
}>;
|
|
19
|
+
export type ModelProcessingGeography = z.infer<typeof ModelProcessingGeography>;
|
|
20
|
+
/** How the provider places the request. Global routing types can never be EU. */
|
|
21
|
+
export declare const MODEL_DEPLOYMENT_TYPES: readonly ["azure_regional", "azure_data_zone", "azure_global", "bedrock_regional", "bedrock_geo_profile", "bedrock_global_profile", "gateway", "subscription", "provider_default", "self_hosted", "unknown"];
|
|
22
|
+
export declare const ModelDeploymentType: z.ZodEnum<{
|
|
23
|
+
azure_data_zone: "azure_data_zone";
|
|
24
|
+
azure_global: "azure_global";
|
|
25
|
+
azure_regional: "azure_regional";
|
|
26
|
+
bedrock_geo_profile: "bedrock_geo_profile";
|
|
27
|
+
bedrock_global_profile: "bedrock_global_profile";
|
|
28
|
+
bedrock_regional: "bedrock_regional";
|
|
29
|
+
gateway: "gateway";
|
|
30
|
+
provider_default: "provider_default";
|
|
31
|
+
self_hosted: "self_hosted";
|
|
32
|
+
subscription: "subscription";
|
|
33
|
+
unknown: "unknown";
|
|
34
|
+
}>;
|
|
35
|
+
export type ModelDeploymentType = z.infer<typeof ModelDeploymentType>;
|
|
36
|
+
/**
|
|
37
|
+
* The only deployment types that can be EU. Anything else, including gateways,
|
|
38
|
+
* subscriptions, global routing, unknown and any type added later, can never
|
|
39
|
+
* be EU, whatever a declaration says.
|
|
40
|
+
*/
|
|
41
|
+
export declare const EU_CAPABLE_DEPLOYMENT_TYPES: readonly ModelDeploymentType[];
|
|
42
|
+
/**
|
|
43
|
+
* Cloud regions an EU claim may name, by deployment family: EEA regions plus
|
|
44
|
+
* Switzerland, which provider EU data zones can include. A region outside
|
|
45
|
+
* these lists rejects the claim (names only ever reject, never grant). The
|
|
46
|
+
* United Kingdom is not in the EEA and is not listed.
|
|
47
|
+
*/
|
|
48
|
+
export declare const EU_AZURE_REGIONS: readonly string[];
|
|
49
|
+
export declare const EU_AWS_REGIONS: readonly string[];
|
|
50
|
+
export declare const MODEL_RESIDENCY_EVIDENCE_SOURCES: readonly [
|
|
51
|
+
/** The deployment operator declared it in the reviewed catalog or environment. */
|
|
52
|
+
"operator_declaration",
|
|
53
|
+
/** Published provider documentation for this exact route type. */
|
|
54
|
+
"provider_documentation",
|
|
55
|
+
/** A provider API reported it (for example an Azure deployment SKU lookup). */
|
|
56
|
+
"provider_api",
|
|
57
|
+
/** A code-owned rule for a provider kind, reviewed with the code. */
|
|
58
|
+
"built_in_rule",
|
|
59
|
+
/** An organization admin declared it for their own connection. */
|
|
60
|
+
"admin_declaration",
|
|
61
|
+
/** Nothing establishes where this route processes data. */
|
|
62
|
+
"none"];
|
|
63
|
+
export declare const ModelResidencyEvidenceSource: z.ZodEnum<{
|
|
64
|
+
admin_declaration: "admin_declaration";
|
|
65
|
+
built_in_rule: "built_in_rule";
|
|
66
|
+
none: "none";
|
|
67
|
+
operator_declaration: "operator_declaration";
|
|
68
|
+
provider_api: "provider_api";
|
|
69
|
+
provider_documentation: "provider_documentation";
|
|
70
|
+
}>;
|
|
71
|
+
export type ModelResidencyEvidenceSource = z.infer<typeof ModelResidencyEvidenceSource>;
|
|
72
|
+
export declare const ModelResidencyEvidenceV1: z.ZodObject<{
|
|
73
|
+
source: z.ZodEnum<{
|
|
74
|
+
admin_declaration: "admin_declaration";
|
|
75
|
+
built_in_rule: "built_in_rule";
|
|
76
|
+
none: "none";
|
|
77
|
+
operator_declaration: "operator_declaration";
|
|
78
|
+
provider_api: "provider_api";
|
|
79
|
+
provider_documentation: "provider_documentation";
|
|
80
|
+
}>;
|
|
81
|
+
reference: z.ZodNullable<z.ZodString>;
|
|
82
|
+
verifiedAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodISODate, z.ZodISODateTime]>>;
|
|
83
|
+
}, z.core.$strict>;
|
|
84
|
+
export type ModelResidencyEvidenceV1 = z.infer<typeof ModelResidencyEvidenceV1>;
|
|
85
|
+
/** Problems that make a residency record unable to claim its geography. */
|
|
86
|
+
export declare function modelResidencyProblems(residency: {
|
|
87
|
+
geography: ModelProcessingGeography;
|
|
88
|
+
deploymentType: ModelDeploymentType;
|
|
89
|
+
regions: readonly string[];
|
|
90
|
+
evidence: {
|
|
91
|
+
source: ModelResidencyEvidenceSource;
|
|
92
|
+
reference: string | null;
|
|
93
|
+
};
|
|
94
|
+
}): {
|
|
95
|
+
path: string[];
|
|
96
|
+
message: string;
|
|
97
|
+
}[];
|
|
98
|
+
/** Bedrock inference profile prefixes that route outside the EU. */
|
|
99
|
+
export declare const NON_EU_BEDROCK_PROFILE_PREFIXES: readonly string[];
|
|
100
|
+
/**
|
|
101
|
+
* Hosts that route globally or process outside the EU. An EU claim on a route
|
|
102
|
+
* whose endpoint is one of these exact hosts is wrong. Exact match only:
|
|
103
|
+
* `eu.api.openai.com`, for example, is a different endpoint.
|
|
104
|
+
*/
|
|
105
|
+
export declare const NON_EU_MODEL_HOSTS: readonly string[];
|
|
106
|
+
/**
|
|
107
|
+
* The deployment an endpoint URL calls, from its `/deployments/{name}` path
|
|
108
|
+
* segment (Azure OpenAI's deployment-path form), or null when no segment
|
|
109
|
+
* holds or hides a `deployments` marker. Such an endpoint runs that
|
|
110
|
+
* deployment whatever model the request body names.
|
|
111
|
+
*
|
|
112
|
+
* Only a plain path is read: empty segments are dropped, the marker matches in
|
|
113
|
+
* any case (percent-encoded too), and the name and every segment after it must
|
|
114
|
+
* be readable `[A-Za-z0-9._-]+` and not `.` or `..`. Anything else returns an
|
|
115
|
+
* empty string, meaning a deployment that can't be read, which is refused
|
|
116
|
+
* under EU. That covers a missing name, a second marker, a marker hidden in a
|
|
117
|
+
* longer or encoded segment (`deployments;`, `x%2Fdeployments`), and a later
|
|
118
|
+
* segment that could lead somewhere else once decoded (`..%2F`, `%5C`, `;`).
|
|
119
|
+
*/
|
|
120
|
+
export declare function modelEndpointDeployment(url: string | URL): string | null;
|
|
121
|
+
/**
|
|
122
|
+
* Problems that make an EU claim wrong for the route it is declared on: a
|
|
123
|
+
* Bedrock upstream id with a non-EU inference profile prefix, a Bedrock
|
|
124
|
+
* geographic profile that is not `eu.`, an endpoint on a known global host,
|
|
125
|
+
* or a deployment-path endpoint that calls a different deployment than the
|
|
126
|
+
* model. Every resolver applies it. Names only ever reject a claim, never
|
|
127
|
+
* grant one.
|
|
128
|
+
*/
|
|
129
|
+
export declare function modelResidencyRouteProblems(residency: {
|
|
130
|
+
geography: ModelProcessingGeography;
|
|
131
|
+
deploymentType: ModelDeploymentType;
|
|
132
|
+
}, route: {
|
|
133
|
+
upstreamModelId?: string | null | undefined;
|
|
134
|
+
baseUrl?: string | null | undefined;
|
|
135
|
+
}): {
|
|
136
|
+
path: string[];
|
|
137
|
+
message: string;
|
|
138
|
+
}[];
|
|
139
|
+
/** The fields that move processing; evidence text and dates do not. */
|
|
140
|
+
export declare function modelResidencyClaim(residency: {
|
|
141
|
+
geography: ModelProcessingGeography;
|
|
142
|
+
deploymentType: ModelDeploymentType;
|
|
143
|
+
regions: readonly string[];
|
|
144
|
+
}): {
|
|
145
|
+
geography: ModelProcessingGeography;
|
|
146
|
+
deploymentType: ModelDeploymentType;
|
|
147
|
+
regions: string[];
|
|
148
|
+
};
|
|
149
|
+
export declare const ModelResidencyV1: z.ZodObject<{
|
|
150
|
+
geography: z.ZodEnum<{
|
|
151
|
+
eu: "eu";
|
|
152
|
+
global: "global";
|
|
153
|
+
other: "other";
|
|
154
|
+
unknown: "unknown";
|
|
155
|
+
us: "us";
|
|
156
|
+
}>;
|
|
157
|
+
deploymentType: z.ZodEnum<{
|
|
158
|
+
azure_data_zone: "azure_data_zone";
|
|
159
|
+
azure_global: "azure_global";
|
|
160
|
+
azure_regional: "azure_regional";
|
|
161
|
+
bedrock_geo_profile: "bedrock_geo_profile";
|
|
162
|
+
bedrock_global_profile: "bedrock_global_profile";
|
|
163
|
+
bedrock_regional: "bedrock_regional";
|
|
164
|
+
gateway: "gateway";
|
|
165
|
+
provider_default: "provider_default";
|
|
166
|
+
self_hosted: "self_hosted";
|
|
167
|
+
subscription: "subscription";
|
|
168
|
+
unknown: "unknown";
|
|
169
|
+
}>;
|
|
170
|
+
regions: z.ZodArray<z.ZodString>;
|
|
171
|
+
evidence: z.ZodObject<{
|
|
172
|
+
source: z.ZodEnum<{
|
|
173
|
+
admin_declaration: "admin_declaration";
|
|
174
|
+
built_in_rule: "built_in_rule";
|
|
175
|
+
none: "none";
|
|
176
|
+
operator_declaration: "operator_declaration";
|
|
177
|
+
provider_api: "provider_api";
|
|
178
|
+
provider_documentation: "provider_documentation";
|
|
179
|
+
}>;
|
|
180
|
+
reference: z.ZodNullable<z.ZodString>;
|
|
181
|
+
verifiedAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodISODate, z.ZodISODateTime]>>;
|
|
182
|
+
}, z.core.$strict>;
|
|
183
|
+
}, z.core.$strict>;
|
|
184
|
+
export type ModelResidencyV1 = z.infer<typeof ModelResidencyV1>;
|
|
185
|
+
/** Operator-facing declaration: the same record, with optional regions and dates. */
|
|
186
|
+
export declare const ModelResidencyDeclaration: z.ZodObject<{
|
|
187
|
+
geography: z.ZodEnum<{
|
|
188
|
+
eu: "eu";
|
|
189
|
+
global: "global";
|
|
190
|
+
other: "other";
|
|
191
|
+
unknown: "unknown";
|
|
192
|
+
us: "us";
|
|
193
|
+
}>;
|
|
194
|
+
deploymentType: z.ZodEnum<{
|
|
195
|
+
azure_data_zone: "azure_data_zone";
|
|
196
|
+
azure_global: "azure_global";
|
|
197
|
+
azure_regional: "azure_regional";
|
|
198
|
+
bedrock_geo_profile: "bedrock_geo_profile";
|
|
199
|
+
bedrock_global_profile: "bedrock_global_profile";
|
|
200
|
+
bedrock_regional: "bedrock_regional";
|
|
201
|
+
gateway: "gateway";
|
|
202
|
+
provider_default: "provider_default";
|
|
203
|
+
self_hosted: "self_hosted";
|
|
204
|
+
subscription: "subscription";
|
|
205
|
+
unknown: "unknown";
|
|
206
|
+
}>;
|
|
207
|
+
regions: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
208
|
+
evidence: z.ZodObject<{
|
|
209
|
+
source: z.ZodEnum<{
|
|
210
|
+
operator_declaration: "operator_declaration";
|
|
211
|
+
provider_documentation: "provider_documentation";
|
|
212
|
+
}>;
|
|
213
|
+
reference: z.ZodString;
|
|
214
|
+
verifiedAt: z.ZodDefault<z.ZodNullable<z.ZodUnion<readonly [z.ZodISODate, z.ZodISODateTime]>>>;
|
|
215
|
+
}, z.core.$strict>;
|
|
216
|
+
}, z.core.$strict>;
|
|
217
|
+
export type ModelResidencyDeclaration = z.input<typeof ModelResidencyDeclaration>;
|
|
218
|
+
/** The record for a route nothing describes. Unknown is never EU. */
|
|
219
|
+
export declare const UNKNOWN_MODEL_RESIDENCY: ModelResidencyV1;
|
|
220
|
+
/**
|
|
221
|
+
* The single EU predicate. Anything malformed, missing, unknown, globally
|
|
222
|
+
* routed or without evidence is not EU.
|
|
223
|
+
*/
|
|
224
|
+
export declare function isEuResidency(residency: unknown): boolean;
|
|
225
|
+
/** Client-safe projection: no evidence reference text, which may name internal resources. */
|
|
226
|
+
export declare const ClientModelResidencyV1: z.ZodObject<{
|
|
227
|
+
geography: z.ZodEnum<{
|
|
228
|
+
eu: "eu";
|
|
229
|
+
global: "global";
|
|
230
|
+
other: "other";
|
|
231
|
+
unknown: "unknown";
|
|
232
|
+
us: "us";
|
|
233
|
+
}>;
|
|
234
|
+
deploymentType: z.ZodEnum<{
|
|
235
|
+
azure_data_zone: "azure_data_zone";
|
|
236
|
+
azure_global: "azure_global";
|
|
237
|
+
azure_regional: "azure_regional";
|
|
238
|
+
bedrock_geo_profile: "bedrock_geo_profile";
|
|
239
|
+
bedrock_global_profile: "bedrock_global_profile";
|
|
240
|
+
bedrock_regional: "bedrock_regional";
|
|
241
|
+
gateway: "gateway";
|
|
242
|
+
provider_default: "provider_default";
|
|
243
|
+
self_hosted: "self_hosted";
|
|
244
|
+
subscription: "subscription";
|
|
245
|
+
unknown: "unknown";
|
|
246
|
+
}>;
|
|
247
|
+
regions: z.ZodArray<z.ZodString>;
|
|
248
|
+
evidenceSource: z.ZodEnum<{
|
|
249
|
+
admin_declaration: "admin_declaration";
|
|
250
|
+
built_in_rule: "built_in_rule";
|
|
251
|
+
none: "none";
|
|
252
|
+
operator_declaration: "operator_declaration";
|
|
253
|
+
provider_api: "provider_api";
|
|
254
|
+
provider_documentation: "provider_documentation";
|
|
255
|
+
}>;
|
|
256
|
+
eu: z.ZodBoolean;
|
|
257
|
+
}, z.core.$strict>;
|
|
258
|
+
export type ClientModelResidencyV1 = z.infer<typeof ClientModelResidencyV1>;
|
|
259
|
+
export declare function projectClientModelResidency(residency: ModelResidencyV1): ClientModelResidencyV1;
|
|
260
|
+
/**
|
|
261
|
+
* Where the route that served one model call processes data, as recorded on
|
|
262
|
+
* the call's `model_call_facts` row and its durable `agent.model.usage` event:
|
|
263
|
+
* the residency claim only. Evidence is never recorded, because its reference
|
|
264
|
+
* text may name internal resources. An eu claim must still satisfy the same
|
|
265
|
+
* deployment-type and region rules as the route record it came from; a stored
|
|
266
|
+
* value that does not is read back as unknown, never as eu.
|
|
267
|
+
*/
|
|
268
|
+
export declare const ModelCallProcessingResidencyV1: z.ZodObject<{
|
|
269
|
+
geography: z.ZodEnum<{
|
|
270
|
+
eu: "eu";
|
|
271
|
+
global: "global";
|
|
272
|
+
other: "other";
|
|
273
|
+
unknown: "unknown";
|
|
274
|
+
us: "us";
|
|
275
|
+
}>;
|
|
276
|
+
deploymentType: z.ZodEnum<{
|
|
277
|
+
azure_data_zone: "azure_data_zone";
|
|
278
|
+
azure_global: "azure_global";
|
|
279
|
+
azure_regional: "azure_regional";
|
|
280
|
+
bedrock_geo_profile: "bedrock_geo_profile";
|
|
281
|
+
bedrock_global_profile: "bedrock_global_profile";
|
|
282
|
+
bedrock_regional: "bedrock_regional";
|
|
283
|
+
gateway: "gateway";
|
|
284
|
+
provider_default: "provider_default";
|
|
285
|
+
self_hosted: "self_hosted";
|
|
286
|
+
subscription: "subscription";
|
|
287
|
+
unknown: "unknown";
|
|
288
|
+
}>;
|
|
289
|
+
regions: z.ZodArray<z.ZodString>;
|
|
290
|
+
}, z.core.$strict>;
|
|
291
|
+
export type ModelCallProcessingResidencyV1 = z.infer<typeof ModelCallProcessingResidencyV1>;
|
|
292
|
+
/**
|
|
293
|
+
* The recorded processing residency for a call served by a route with this
|
|
294
|
+
* residency record. A missing or invalid record is recorded as unknown.
|
|
295
|
+
*/
|
|
296
|
+
export declare function modelCallProcessingResidency(residency: ModelResidencyV1 | null | undefined): ModelCallProcessingResidencyV1;
|
|
297
|
+
/**
|
|
298
|
+
* Read a recorded processing residency (a fact column or event payload field).
|
|
299
|
+
* Absent or null means the call was recorded before calls carried one. A value
|
|
300
|
+
* that is present but malformed, or an eu claim that breaks the eu rules
|
|
301
|
+
* (see `ModelCallProcessingResidencyV1`), is unknown. Any other field, such as
|
|
302
|
+
* evidence, is dropped.
|
|
303
|
+
*/
|
|
304
|
+
export declare function parseModelCallProcessingResidency(value: unknown): ModelCallProcessingResidencyV1 | null;
|