@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
package/dist/tool-catalog.d.ts
CHANGED
|
@@ -51,8 +51,30 @@ export declare const ToolDisplayMetadata: z.ZodObject<{
|
|
|
51
51
|
toolName: z.ZodString;
|
|
52
52
|
title: z.ZodOptional<z.ZodString>;
|
|
53
53
|
accountLabel: z.ZodOptional<z.ZodString>;
|
|
54
|
+
connector: z.ZodOptional<z.ZodString>;
|
|
55
|
+
providerDomain: z.ZodOptional<z.ZodString>;
|
|
54
56
|
}, z.core.$strict>;
|
|
55
57
|
export type ToolDisplayMetadata = z.infer<typeof ToolDisplayMetadata>;
|
|
58
|
+
/**
|
|
59
|
+
* How one connector account route is named. The model always gets the full
|
|
60
|
+
* account in tool descriptions; people see the connector, and the account only
|
|
61
|
+
* when there is more than one to tell apart.
|
|
62
|
+
*/
|
|
63
|
+
export type McpAccountRouteLabel = {
|
|
64
|
+
/** Model-facing account description. */
|
|
65
|
+
model: string;
|
|
66
|
+
connector: string;
|
|
67
|
+
providerDomain: string;
|
|
68
|
+
/** Present only when the connector has several accounts in the turn. */
|
|
69
|
+
account?: string | undefined;
|
|
70
|
+
/**
|
|
71
|
+
* The kind of need the connector serves, its catalog category
|
|
72
|
+
* ("communication", "files"), when one is known. Never model-facing.
|
|
73
|
+
*/
|
|
74
|
+
kind?: string | undefined;
|
|
75
|
+
};
|
|
76
|
+
/** The short account line for approvals: "Linear", or "Linear · alice@example.com". */
|
|
77
|
+
export declare function mcpAccountRouteReviewLabel(label: McpAccountRouteLabel): string;
|
|
56
78
|
export declare const AttemptToolCatalogEntry: z.ZodObject<{
|
|
57
79
|
identity: z.ZodObject<{
|
|
58
80
|
serverId: z.ZodString;
|
|
@@ -218,6 +240,59 @@ export declare const AttemptToolCatalog: z.ZodObject<{
|
|
|
218
240
|
generation: z.ZodNumber;
|
|
219
241
|
digest: z.ZodString;
|
|
220
242
|
createdAt: z.ZodString;
|
|
243
|
+
firstPartyMcpPermissions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
244
|
+
"account:admin": "account:admin";
|
|
245
|
+
"account:read": "account:read";
|
|
246
|
+
"api_keys:manage": "api_keys:manage";
|
|
247
|
+
"artifacts:publish": "artifacts:publish";
|
|
248
|
+
"artifacts:read": "artifacts:read";
|
|
249
|
+
"billing:manage": "billing:manage";
|
|
250
|
+
"billing:read": "billing:read";
|
|
251
|
+
"capabilities:manage": "capabilities:manage";
|
|
252
|
+
"codemode:call": "codemode:call";
|
|
253
|
+
"connections:personal": "connections:personal";
|
|
254
|
+
"connections:read": "connections:read";
|
|
255
|
+
"connections:write": "connections:write";
|
|
256
|
+
"documents:manage": "documents:manage";
|
|
257
|
+
"documents:search": "documents:search";
|
|
258
|
+
"enrollments:manage": "enrollments:manage";
|
|
259
|
+
"enrollments:read": "enrollments:read";
|
|
260
|
+
"environments:manage": "environments:manage";
|
|
261
|
+
"environments:use": "environments:use";
|
|
262
|
+
"files:read": "files:read";
|
|
263
|
+
"files:upload": "files:upload";
|
|
264
|
+
"files:write": "files:write";
|
|
265
|
+
"github:manage": "github:manage";
|
|
266
|
+
"github:use": "github:use";
|
|
267
|
+
"goals:manage": "goals:manage";
|
|
268
|
+
"mcp_servers:attach": "mcp_servers:attach";
|
|
269
|
+
"members:manage": "members:manage";
|
|
270
|
+
"rigs:manage": "rigs:manage";
|
|
271
|
+
"rigs:use": "rigs:use";
|
|
272
|
+
"scheduled_tasks:manage": "scheduled_tasks:manage";
|
|
273
|
+
"scheduled_tasks:run": "scheduled_tasks:run";
|
|
274
|
+
"secrets:list": "secrets:list";
|
|
275
|
+
"secrets:read": "secrets:read";
|
|
276
|
+
"secrets:use": "secrets:use";
|
|
277
|
+
"secrets:write": "secrets:write";
|
|
278
|
+
"sessions:control": "sessions:control";
|
|
279
|
+
"sessions:create": "sessions:create";
|
|
280
|
+
"sessions:read": "sessions:read";
|
|
281
|
+
"stream:acknowledge": "stream:acknowledge";
|
|
282
|
+
"stream:control": "stream:control";
|
|
283
|
+
"stream:view": "stream:view";
|
|
284
|
+
"terminal:attach": "terminal:attach";
|
|
285
|
+
"usage_allowances:manage": "usage_allowances:manage";
|
|
286
|
+
"variable-sets:attach": "variable-sets:attach";
|
|
287
|
+
"variable-sets:list": "variable-sets:list";
|
|
288
|
+
"variable-sets:manage": "variable-sets:manage";
|
|
289
|
+
"variable-sets:read": "variable-sets:read";
|
|
290
|
+
"variable-sets:use": "variable-sets:use";
|
|
291
|
+
"variable-sets:write": "variable-sets:write";
|
|
292
|
+
"workspace:admin": "workspace:admin";
|
|
293
|
+
"workspace:create": "workspace:create";
|
|
294
|
+
"workspace:read": "workspace:read";
|
|
295
|
+
}>>>;
|
|
221
296
|
entries: z.ZodArray<z.ZodObject<{
|
|
222
297
|
identity: z.ZodObject<{
|
|
223
298
|
serverId: z.ZodString;
|
|
@@ -608,6 +683,402 @@ export declare const ToolGatewayCallResponse: z.ZodObject<{
|
|
|
608
683
|
}, z.core.$loose>;
|
|
609
684
|
}, z.core.$strict>;
|
|
610
685
|
export type ToolGatewayCallResponse = z.infer<typeof ToolGatewayCallResponse>;
|
|
686
|
+
/** A selector, never an authority claim. Symbolic paths use the canonical projection. */
|
|
687
|
+
export declare const ToolGatewayTarget: z.ZodUnion<readonly [z.ZodObject<{
|
|
688
|
+
identity: z.ZodObject<{
|
|
689
|
+
serverId: z.ZodString;
|
|
690
|
+
toolName: z.ZodString;
|
|
691
|
+
}, z.core.$strict>;
|
|
692
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
693
|
+
path: z.ZodArray<z.ZodString>;
|
|
694
|
+
}, z.core.$strict>]>;
|
|
695
|
+
export type ToolGatewayTarget = z.infer<typeof ToolGatewayTarget>;
|
|
696
|
+
export declare const ToolGatewayResolveRequest: z.ZodObject<{
|
|
697
|
+
siteArtifactId: z.ZodOptional<z.ZodString>;
|
|
698
|
+
siteVersionId: z.ZodOptional<z.ZodString>;
|
|
699
|
+
target: z.ZodUnion<readonly [z.ZodObject<{
|
|
700
|
+
identity: z.ZodObject<{
|
|
701
|
+
serverId: z.ZodString;
|
|
702
|
+
toolName: z.ZodString;
|
|
703
|
+
}, z.core.$strict>;
|
|
704
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
705
|
+
path: z.ZodArray<z.ZodString>;
|
|
706
|
+
}, z.core.$strict>]>;
|
|
707
|
+
}, z.core.$strict>;
|
|
708
|
+
export type ToolGatewayResolveRequest = z.infer<typeof ToolGatewayResolveRequest>;
|
|
709
|
+
export declare const ToolGatewayResolvedTool: z.ZodObject<{
|
|
710
|
+
version: z.ZodLiteral<1>;
|
|
711
|
+
definitionDigest: z.ZodString;
|
|
712
|
+
entry: z.ZodObject<{
|
|
713
|
+
identity: z.ZodObject<{
|
|
714
|
+
serverId: z.ZodString;
|
|
715
|
+
toolName: z.ZodString;
|
|
716
|
+
}, z.core.$strict>;
|
|
717
|
+
modelName: z.ZodString;
|
|
718
|
+
codemodePath: z.ZodArray<z.ZodString>;
|
|
719
|
+
title: z.ZodOptional<z.ZodString>;
|
|
720
|
+
description: z.ZodOptional<z.ZodString>;
|
|
721
|
+
inputSchema: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
722
|
+
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
723
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
724
|
+
title: z.ZodOptional<z.ZodString>;
|
|
725
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
726
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
727
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
728
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
729
|
+
}, z.core.$loose>>;
|
|
730
|
+
icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
731
|
+
src: z.ZodString;
|
|
732
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
733
|
+
sizes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
734
|
+
theme: z.ZodOptional<z.ZodEnum<{
|
|
735
|
+
dark: "dark";
|
|
736
|
+
light: "light";
|
|
737
|
+
}>>;
|
|
738
|
+
}, z.core.$strict>>>;
|
|
739
|
+
source: z.ZodEnum<{
|
|
740
|
+
codex_apps: "codex_apps";
|
|
741
|
+
docs: "docs";
|
|
742
|
+
files: "files";
|
|
743
|
+
interaction: "interaction";
|
|
744
|
+
mcp: "mcp";
|
|
745
|
+
opengeni: "opengeni";
|
|
746
|
+
}>;
|
|
747
|
+
approval: z.ZodEnum<{
|
|
748
|
+
human: "human";
|
|
749
|
+
none: "none";
|
|
750
|
+
policy: "policy";
|
|
751
|
+
}>;
|
|
752
|
+
}, z.core.$strict>;
|
|
753
|
+
}, z.core.$strict>;
|
|
754
|
+
export type ToolGatewayResolvedTool = z.infer<typeof ToolGatewayResolvedTool>;
|
|
755
|
+
export declare const ToolGatewayInvokeRequest: z.ZodObject<{
|
|
756
|
+
siteArtifactId: z.ZodOptional<z.ZodString>;
|
|
757
|
+
siteVersionId: z.ZodOptional<z.ZodString>;
|
|
758
|
+
target: z.ZodUnion<readonly [z.ZodObject<{
|
|
759
|
+
identity: z.ZodObject<{
|
|
760
|
+
serverId: z.ZodString;
|
|
761
|
+
toolName: z.ZodString;
|
|
762
|
+
}, z.core.$strict>;
|
|
763
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
764
|
+
path: z.ZodArray<z.ZodString>;
|
|
765
|
+
}, z.core.$strict>]>;
|
|
766
|
+
operationId: z.ZodString;
|
|
767
|
+
arguments: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
768
|
+
expectedDefinitionDigest: z.ZodOptional<z.ZodString>;
|
|
769
|
+
approvalToken: z.ZodOptional<z.ZodString>;
|
|
770
|
+
}, z.core.$strict>;
|
|
771
|
+
export type ToolGatewayInvokeRequest = z.infer<typeof ToolGatewayInvokeRequest>;
|
|
772
|
+
export declare const ToolGatewayInvokeResponse: z.ZodObject<{
|
|
773
|
+
operationId: z.ZodString;
|
|
774
|
+
tool: z.ZodObject<{
|
|
775
|
+
version: z.ZodLiteral<1>;
|
|
776
|
+
definitionDigest: z.ZodString;
|
|
777
|
+
entry: z.ZodObject<{
|
|
778
|
+
identity: z.ZodObject<{
|
|
779
|
+
serverId: z.ZodString;
|
|
780
|
+
toolName: z.ZodString;
|
|
781
|
+
}, z.core.$strict>;
|
|
782
|
+
modelName: z.ZodString;
|
|
783
|
+
codemodePath: z.ZodArray<z.ZodString>;
|
|
784
|
+
title: z.ZodOptional<z.ZodString>;
|
|
785
|
+
description: z.ZodOptional<z.ZodString>;
|
|
786
|
+
inputSchema: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
787
|
+
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
788
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
789
|
+
title: z.ZodOptional<z.ZodString>;
|
|
790
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
791
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
792
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
793
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
794
|
+
}, z.core.$loose>>;
|
|
795
|
+
icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
796
|
+
src: z.ZodString;
|
|
797
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
798
|
+
sizes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
799
|
+
theme: z.ZodOptional<z.ZodEnum<{
|
|
800
|
+
dark: "dark";
|
|
801
|
+
light: "light";
|
|
802
|
+
}>>;
|
|
803
|
+
}, z.core.$strict>>>;
|
|
804
|
+
source: z.ZodEnum<{
|
|
805
|
+
codex_apps: "codex_apps";
|
|
806
|
+
docs: "docs";
|
|
807
|
+
files: "files";
|
|
808
|
+
interaction: "interaction";
|
|
809
|
+
mcp: "mcp";
|
|
810
|
+
opengeni: "opengeni";
|
|
811
|
+
}>;
|
|
812
|
+
approval: z.ZodEnum<{
|
|
813
|
+
human: "human";
|
|
814
|
+
none: "none";
|
|
815
|
+
policy: "policy";
|
|
816
|
+
}>;
|
|
817
|
+
}, z.core.$strict>;
|
|
818
|
+
}, z.core.$strict>;
|
|
819
|
+
result: z.ZodObject<{
|
|
820
|
+
content: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
821
|
+
type: z.ZodLiteral<"text">;
|
|
822
|
+
text: z.ZodString;
|
|
823
|
+
annotations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
824
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
825
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
826
|
+
type: z.ZodLiteral<"image">;
|
|
827
|
+
data: z.ZodString;
|
|
828
|
+
mimeType: z.ZodString;
|
|
829
|
+
annotations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
830
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
831
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
832
|
+
type: z.ZodLiteral<"audio">;
|
|
833
|
+
data: z.ZodString;
|
|
834
|
+
mimeType: z.ZodString;
|
|
835
|
+
annotations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
836
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
837
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
838
|
+
type: z.ZodLiteral<"resource_link">;
|
|
839
|
+
name: z.ZodString;
|
|
840
|
+
title: z.ZodOptional<z.ZodString>;
|
|
841
|
+
uri: z.ZodString;
|
|
842
|
+
description: z.ZodOptional<z.ZodString>;
|
|
843
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
844
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
845
|
+
icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
846
|
+
src: z.ZodString;
|
|
847
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
848
|
+
sizes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
849
|
+
theme: z.ZodOptional<z.ZodEnum<{
|
|
850
|
+
dark: "dark";
|
|
851
|
+
light: "light";
|
|
852
|
+
}>>;
|
|
853
|
+
}, z.core.$strict>>>;
|
|
854
|
+
annotations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
855
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
856
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
857
|
+
type: z.ZodLiteral<"resource">;
|
|
858
|
+
resource: z.ZodUnion<readonly [z.ZodObject<{
|
|
859
|
+
uri: z.ZodString;
|
|
860
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
861
|
+
text: z.ZodString;
|
|
862
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
863
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
864
|
+
uri: z.ZodString;
|
|
865
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
866
|
+
blob: z.ZodString;
|
|
867
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
868
|
+
}, z.core.$loose>]>;
|
|
869
|
+
annotations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
870
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
871
|
+
}, z.core.$loose>], "type">>;
|
|
872
|
+
structuredContent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
873
|
+
isError: z.ZodOptional<z.ZodBoolean>;
|
|
874
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
875
|
+
}, z.core.$loose>;
|
|
876
|
+
}, z.core.$strict>;
|
|
877
|
+
export type ToolGatewayInvokeResponse = z.infer<typeof ToolGatewayInvokeResponse>;
|
|
878
|
+
export declare const ToolGatewayTargetApprovalRequest: z.ZodObject<{
|
|
879
|
+
siteArtifactId: z.ZodOptional<z.ZodString>;
|
|
880
|
+
siteVersionId: z.ZodOptional<z.ZodString>;
|
|
881
|
+
identity: z.ZodObject<{
|
|
882
|
+
serverId: z.ZodString;
|
|
883
|
+
toolName: z.ZodString;
|
|
884
|
+
}, z.core.$strict>;
|
|
885
|
+
operationId: z.ZodString;
|
|
886
|
+
arguments: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
887
|
+
expectedDefinitionDigest: z.ZodString;
|
|
888
|
+
rememberForSite: z.ZodOptional<z.ZodBoolean>;
|
|
889
|
+
}, z.core.$strict>;
|
|
890
|
+
export type ToolGatewayTargetApprovalRequest = z.infer<typeof ToolGatewayTargetApprovalRequest>;
|
|
891
|
+
export declare const ToolGatewayTargetApprovalResponse: z.ZodObject<{
|
|
892
|
+
bindingVersion: z.ZodLiteral<2>;
|
|
893
|
+
operationId: z.ZodString;
|
|
894
|
+
tool: z.ZodObject<{
|
|
895
|
+
version: z.ZodLiteral<1>;
|
|
896
|
+
definitionDigest: z.ZodString;
|
|
897
|
+
entry: z.ZodObject<{
|
|
898
|
+
identity: z.ZodObject<{
|
|
899
|
+
serverId: z.ZodString;
|
|
900
|
+
toolName: z.ZodString;
|
|
901
|
+
}, z.core.$strict>;
|
|
902
|
+
modelName: z.ZodString;
|
|
903
|
+
codemodePath: z.ZodArray<z.ZodString>;
|
|
904
|
+
title: z.ZodOptional<z.ZodString>;
|
|
905
|
+
description: z.ZodOptional<z.ZodString>;
|
|
906
|
+
inputSchema: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
907
|
+
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
908
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
909
|
+
title: z.ZodOptional<z.ZodString>;
|
|
910
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
911
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
912
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
913
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
914
|
+
}, z.core.$loose>>;
|
|
915
|
+
icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
916
|
+
src: z.ZodString;
|
|
917
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
918
|
+
sizes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
919
|
+
theme: z.ZodOptional<z.ZodEnum<{
|
|
920
|
+
dark: "dark";
|
|
921
|
+
light: "light";
|
|
922
|
+
}>>;
|
|
923
|
+
}, z.core.$strict>>>;
|
|
924
|
+
source: z.ZodEnum<{
|
|
925
|
+
codex_apps: "codex_apps";
|
|
926
|
+
docs: "docs";
|
|
927
|
+
files: "files";
|
|
928
|
+
interaction: "interaction";
|
|
929
|
+
mcp: "mcp";
|
|
930
|
+
opengeni: "opengeni";
|
|
931
|
+
}>;
|
|
932
|
+
approval: z.ZodEnum<{
|
|
933
|
+
human: "human";
|
|
934
|
+
none: "none";
|
|
935
|
+
policy: "policy";
|
|
936
|
+
}>;
|
|
937
|
+
}, z.core.$strict>;
|
|
938
|
+
}, z.core.$strict>;
|
|
939
|
+
approvalToken: z.ZodString;
|
|
940
|
+
expiresAt: z.ZodString;
|
|
941
|
+
}, z.core.$strict>;
|
|
942
|
+
export type ToolGatewayTargetApprovalResponse = z.infer<typeof ToolGatewayTargetApprovalResponse>;
|
|
943
|
+
/**
|
|
944
|
+
* What the Opengeni frame needs to ask a Site's viewer before a call: the
|
|
945
|
+
* viewer's own accounts that may run the declared tool, or how to connect one.
|
|
946
|
+
* Host code only; Site code never reaches this operation.
|
|
947
|
+
*/
|
|
948
|
+
export declare const ToolGatewaySiteConsentRequest: z.ZodObject<{
|
|
949
|
+
identity: z.ZodObject<{
|
|
950
|
+
serverId: z.ZodString;
|
|
951
|
+
toolName: z.ZodString;
|
|
952
|
+
}, z.core.$strict>;
|
|
953
|
+
siteArtifactId: z.ZodString;
|
|
954
|
+
siteVersionId: z.ZodString;
|
|
955
|
+
arguments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
956
|
+
}, z.core.$strict>;
|
|
957
|
+
export type ToolGatewaySiteConsentRequest = z.infer<typeof ToolGatewaySiteConsentRequest>;
|
|
958
|
+
export declare const ToolGatewaySiteConsentAccount: z.ZodObject<{
|
|
959
|
+
identity: z.ZodObject<{
|
|
960
|
+
serverId: z.ZodString;
|
|
961
|
+
toolName: z.ZodString;
|
|
962
|
+
}, z.core.$strict>;
|
|
963
|
+
connector: z.ZodString;
|
|
964
|
+
account: z.ZodString;
|
|
965
|
+
}, z.core.$strict>;
|
|
966
|
+
export type ToolGatewaySiteConsentAccount = z.infer<typeof ToolGatewaySiteConsentAccount>;
|
|
967
|
+
/**
|
|
968
|
+
* The provider's own reading of the exact arguments (for Gmail, the message
|
|
969
|
+
* as it would be sent: a raw message, a draft or a reply), never the Site's
|
|
970
|
+
* description of them.
|
|
971
|
+
*/
|
|
972
|
+
export declare const ToolGatewaySiteConsentReview: z.ZodObject<{
|
|
973
|
+
kind: z.ZodEnum<{
|
|
974
|
+
generic: "generic";
|
|
975
|
+
gmail: "gmail";
|
|
976
|
+
}>;
|
|
977
|
+
email: z.ZodOptional<z.ZodObject<{
|
|
978
|
+
from: z.ZodString;
|
|
979
|
+
to: z.ZodString;
|
|
980
|
+
cc: z.ZodString;
|
|
981
|
+
bcc: z.ZodString;
|
|
982
|
+
subject: z.ZodString;
|
|
983
|
+
attachments: z.ZodNumber;
|
|
984
|
+
}, z.core.$strict>>;
|
|
985
|
+
}, z.core.$strict>;
|
|
986
|
+
export type ToolGatewaySiteConsentReview = z.infer<typeof ToolGatewaySiteConsentReview>;
|
|
987
|
+
export declare const ToolGatewaySiteConsentResponse: z.ZodObject<{
|
|
988
|
+
version: z.ZodLiteral<1>;
|
|
989
|
+
accounts: z.ZodArray<z.ZodObject<{
|
|
990
|
+
identity: z.ZodObject<{
|
|
991
|
+
serverId: z.ZodString;
|
|
992
|
+
toolName: z.ZodString;
|
|
993
|
+
}, z.core.$strict>;
|
|
994
|
+
connector: z.ZodString;
|
|
995
|
+
account: z.ZodString;
|
|
996
|
+
}, z.core.$strict>>;
|
|
997
|
+
selected: z.ZodNullable<z.ZodObject<{
|
|
998
|
+
serverId: z.ZodString;
|
|
999
|
+
toolName: z.ZodString;
|
|
1000
|
+
}, z.core.$strict>>;
|
|
1001
|
+
review: z.ZodNullable<z.ZodObject<{
|
|
1002
|
+
kind: z.ZodEnum<{
|
|
1003
|
+
generic: "generic";
|
|
1004
|
+
gmail: "gmail";
|
|
1005
|
+
}>;
|
|
1006
|
+
email: z.ZodOptional<z.ZodObject<{
|
|
1007
|
+
from: z.ZodString;
|
|
1008
|
+
to: z.ZodString;
|
|
1009
|
+
cc: z.ZodString;
|
|
1010
|
+
bcc: z.ZodString;
|
|
1011
|
+
subject: z.ZodString;
|
|
1012
|
+
attachments: z.ZodNumber;
|
|
1013
|
+
}, z.core.$strict>>;
|
|
1014
|
+
}, z.core.$strict>>;
|
|
1015
|
+
connect: z.ZodNullable<z.ZodObject<{
|
|
1016
|
+
capabilityId: z.ZodNullable<z.ZodString>;
|
|
1017
|
+
name: z.ZodString;
|
|
1018
|
+
providerDomain: z.ZodString;
|
|
1019
|
+
}, z.core.$strict>>;
|
|
1020
|
+
}, z.core.$strict>;
|
|
1021
|
+
export type ToolGatewaySiteConsentResponse = z.infer<typeof ToolGatewaySiteConsentResponse>;
|
|
1022
|
+
/** Bounded compatibility manifest, not workspace discovery. */
|
|
1023
|
+
export declare const ToolGatewayManifestRequest: z.ZodObject<{
|
|
1024
|
+
siteArtifactId: z.ZodOptional<z.ZodString>;
|
|
1025
|
+
siteVersionId: z.ZodOptional<z.ZodString>;
|
|
1026
|
+
identities: z.ZodArray<z.ZodObject<{
|
|
1027
|
+
serverId: z.ZodString;
|
|
1028
|
+
toolName: z.ZodString;
|
|
1029
|
+
}, z.core.$strict>>;
|
|
1030
|
+
}, z.core.$strict>;
|
|
1031
|
+
export type ToolGatewayManifestRequest = z.infer<typeof ToolGatewayManifestRequest>;
|
|
1032
|
+
export declare const ToolGatewayManifestResponse: z.ZodObject<{
|
|
1033
|
+
version: z.ZodLiteral<1>;
|
|
1034
|
+
digest: z.ZodString;
|
|
1035
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
1036
|
+
version: z.ZodLiteral<1>;
|
|
1037
|
+
definitionDigest: z.ZodString;
|
|
1038
|
+
entry: z.ZodObject<{
|
|
1039
|
+
identity: z.ZodObject<{
|
|
1040
|
+
serverId: z.ZodString;
|
|
1041
|
+
toolName: z.ZodString;
|
|
1042
|
+
}, z.core.$strict>;
|
|
1043
|
+
modelName: z.ZodString;
|
|
1044
|
+
codemodePath: z.ZodArray<z.ZodString>;
|
|
1045
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1046
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1047
|
+
inputSchema: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
1048
|
+
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
1049
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
1050
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1051
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
1052
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
1053
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
1054
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
1055
|
+
}, z.core.$loose>>;
|
|
1056
|
+
icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1057
|
+
src: z.ZodString;
|
|
1058
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
1059
|
+
sizes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1060
|
+
theme: z.ZodOptional<z.ZodEnum<{
|
|
1061
|
+
dark: "dark";
|
|
1062
|
+
light: "light";
|
|
1063
|
+
}>>;
|
|
1064
|
+
}, z.core.$strict>>>;
|
|
1065
|
+
source: z.ZodEnum<{
|
|
1066
|
+
codex_apps: "codex_apps";
|
|
1067
|
+
docs: "docs";
|
|
1068
|
+
files: "files";
|
|
1069
|
+
interaction: "interaction";
|
|
1070
|
+
mcp: "mcp";
|
|
1071
|
+
opengeni: "opengeni";
|
|
1072
|
+
}>;
|
|
1073
|
+
approval: z.ZodEnum<{
|
|
1074
|
+
human: "human";
|
|
1075
|
+
none: "none";
|
|
1076
|
+
policy: "policy";
|
|
1077
|
+
}>;
|
|
1078
|
+
}, z.core.$strict>;
|
|
1079
|
+
}, z.core.$strict>>;
|
|
1080
|
+
}, z.core.$strict>;
|
|
1081
|
+
export type ToolGatewayManifestResponse = z.infer<typeof ToolGatewayManifestResponse>;
|
|
611
1082
|
export declare const ToolGatewayDeclarationsResponse: z.ZodObject<{
|
|
612
1083
|
catalogDigest: z.ZodString;
|
|
613
1084
|
moduleSpecifier: z.ZodString;
|
|
@@ -621,6 +1092,7 @@ export declare const CodemodeOperationState: z.ZodEnum<{
|
|
|
621
1092
|
outcome_unknown: "outcome_unknown";
|
|
622
1093
|
queued: "queued";
|
|
623
1094
|
running: "running";
|
|
1095
|
+
waiting_for_approval: "waiting_for_approval";
|
|
624
1096
|
}>;
|
|
625
1097
|
export type CodemodeOperationState = z.infer<typeof CodemodeOperationState>;
|
|
626
1098
|
/**
|
|
@@ -658,7 +1130,10 @@ export declare const CodemodeOperation: z.ZodObject<{
|
|
|
658
1130
|
outcome_unknown: "outcome_unknown";
|
|
659
1131
|
queued: "queued";
|
|
660
1132
|
running: "running";
|
|
1133
|
+
waiting_for_approval: "waiting_for_approval";
|
|
661
1134
|
}>;
|
|
1135
|
+
durableApproval: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1136
|
+
approvalRequestId: z.ZodOptional<z.ZodString>;
|
|
662
1137
|
result: z.ZodNullable<z.ZodObject<{
|
|
663
1138
|
content: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
664
1139
|
type: z.ZodLiteral<"text">;
|
|
@@ -726,6 +1201,7 @@ export declare const CodemodeOperation: z.ZodObject<{
|
|
|
726
1201
|
}, z.core.$strict>;
|
|
727
1202
|
export type CodemodeOperation = z.infer<typeof CodemodeOperation>;
|
|
728
1203
|
export declare const CodemodeCallRequest: z.ZodObject<{
|
|
1204
|
+
durableApproval: z.ZodOptional<z.ZodLiteral<true>>;
|
|
729
1205
|
operationId: z.ZodString;
|
|
730
1206
|
catalogDigest: z.ZodString;
|
|
731
1207
|
identity: z.ZodObject<{
|
|
@@ -766,7 +1242,10 @@ export declare const CodemodeCallSubmission: z.ZodObject<{
|
|
|
766
1242
|
outcome_unknown: "outcome_unknown";
|
|
767
1243
|
queued: "queued";
|
|
768
1244
|
running: "running";
|
|
1245
|
+
waiting_for_approval: "waiting_for_approval";
|
|
769
1246
|
}>;
|
|
1247
|
+
durableApproval: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1248
|
+
approvalRequestId: z.ZodOptional<z.ZodString>;
|
|
770
1249
|
result: z.ZodNullable<z.ZodObject<{
|
|
771
1250
|
content: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
772
1251
|
type: z.ZodLiteral<"text">;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** Only a declared action discriminator can select an action-specific preference.
|
|
2
|
+
* Callers still validate the complete arguments against the tool schema. */
|
|
3
|
+
export declare function toolPolicyActionName(toolName: string, inputSchema: unknown, args: unknown): string;
|
|
4
|
+
/** Strip only JSON Schema annotations, never object property names or literal values. */
|
|
5
|
+
export declare function executableToolSchema(value: unknown): unknown;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { ToolActionReview, ToolReviewContext, ToolReviewDetailsPage } from "./tool-action-review.js";
|
|
2
|
+
/**
|
|
3
|
+
* Whether a field with this name carries a key, password, token, code or
|
|
4
|
+
* other secret, judged by its last word: "apiKey", "clientSecret", "code",
|
|
5
|
+
* "userCode" and "masterPassword" do; "credentialVersion", "credentialId",
|
|
6
|
+
* "errorCode", "hasWebhookSecret" and "nextPageToken" don't. The app-action catalog
|
|
7
|
+
* generator marks actions by it and an app action's card hides by it.
|
|
8
|
+
*/
|
|
9
|
+
export declare function secretFieldName(name: string): boolean;
|
|
10
|
+
export declare function toolReviewFieldLabel(key: string): string;
|
|
11
|
+
export declare function decodeReviewArguments(value: unknown): Record<string, unknown> | null;
|
|
12
|
+
export declare function safeReviewValue(value: unknown, key?: string, protectedFields?: readonly string[], depth?: number): unknown;
|
|
13
|
+
export declare function toolReviewFields(argumentsValue: unknown, context?: ToolReviewContext, toolName?: string): {
|
|
14
|
+
fields: ToolActionReview["fields"];
|
|
15
|
+
moreFields: number;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* One short readable line of an app action's key values, for example
|
|
19
|
+
* "Email: anna@example.com · Role: admin", taken from its body and query.
|
|
20
|
+
* Values are shown as labelled data, never as the question itself. Secrets
|
|
21
|
+
* (by field name), and the secrets text can carry (URL sign-in parts, queries
|
|
22
|
+
* and webhook paths, connection string passwords, bearer credentials), are
|
|
23
|
+
* never shown.
|
|
24
|
+
*/
|
|
25
|
+
export declare function appActionReviewSummary(argumentsValue: unknown): string | undefined;
|
|
26
|
+
/** Deterministic consequences from the reviewed bytes. Unknown fields remain visible. */
|
|
27
|
+
export declare function toolReviewAction(toolName: string, argumentsValue: unknown, context?: ToolReviewContext): Pick<ToolActionReview, "title" | "approveLabel" | "effects" | "consequence" | "selectionCount" | "selectionKind">;
|
|
28
|
+
/** A bounded slice of the immutable saved arguments; never evaluates a fresh provider query. */
|
|
29
|
+
export declare function toolReviewDetails(argumentsValue: unknown, context: ToolReviewContext | undefined, path: string, offset: number, limit?: number): Omit<ToolReviewDetailsPage, "id" | "actionDigest" | "version">;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
appActionReviewSummary,
|
|
3
|
+
decodeReviewArguments,
|
|
4
|
+
safeReviewValue,
|
|
5
|
+
secretFieldName,
|
|
6
|
+
toolReviewAction,
|
|
7
|
+
toolReviewDetails,
|
|
8
|
+
toolReviewFieldLabel,
|
|
9
|
+
toolReviewFields
|
|
10
|
+
} from "./chunk-UCUOTRS6.js";
|
|
11
|
+
export {
|
|
12
|
+
appActionReviewSummary,
|
|
13
|
+
decodeReviewArguments,
|
|
14
|
+
safeReviewValue,
|
|
15
|
+
secretFieldName,
|
|
16
|
+
toolReviewAction,
|
|
17
|
+
toolReviewDetails,
|
|
18
|
+
toolReviewFieldLabel,
|
|
19
|
+
toolReviewFields
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=tool-review-presentation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|