@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
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
* charter or global policy applies to every session in the workspace; a role
|
|
10
10
|
* policy applies to every session bound to that role. At most three entries
|
|
11
11
|
* compose at once (charter, global policy, matching role policy), so the
|
|
12
|
-
*
|
|
12
|
+
* storage limit is shared with the human editor; prompt composition retains
|
|
13
|
+
* its separate UTF-8 byte bound.
|
|
13
14
|
* - A preference is cheaper and in a different way: only its short title and
|
|
14
15
|
* description descriptors are prompt-composed, while the full content is
|
|
15
16
|
* retrieved on demand behind the exact attempt's retrieval handle. Its length
|
|
16
|
-
* is therefore retrieval cost, not standing prompt cost
|
|
17
|
-
* more room rather than less.
|
|
17
|
+
* is therefore retrieval cost, not standing prompt cost.
|
|
18
18
|
* - Organization identity and mission are always-on context for root sessions
|
|
19
19
|
* across the whole organization. Historical company-profile list fields stay
|
|
20
20
|
* in the storage contract for compatibility; nonempty values on an already-
|
|
@@ -22,18 +22,18 @@
|
|
|
22
22
|
* label until an organization owner replaces the profile.
|
|
23
23
|
* - Knowledge is retrieval evidence and never joins the always-composed prefix.
|
|
24
24
|
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
* `PREFERENCE_REGISTRY_CONTENT_MAX_CHARS`, `COMPANY_PROFILE_SCALAR_MAX_CHARS`,
|
|
25
|
+
* Instruction writes share the human limit so localized edits can preserve
|
|
26
|
+
* existing long policies. The other caps bind only agent-authored writes.
|
|
27
|
+
* The human-facing limits (`PREFERENCE_REGISTRY_CONTENT_MAX_CHARS`, `COMPANY_PROFILE_SCALAR_MAX_CHARS`,
|
|
28
28
|
* `COMPANY_PROFILE_ENTRY_MAX_CHARS`, `COMPANY_PROFILE_CONTENT_MAX_UTF8_BYTES`)
|
|
29
29
|
* are unchanged: a person editing in the UI is making a deliberate, visible
|
|
30
30
|
* choice, and lowering their limit would reject text they already typed.
|
|
31
31
|
* Existing stored revisions are never rewritten; only new agent writes are
|
|
32
32
|
* bounded.
|
|
33
33
|
*/
|
|
34
|
-
/**
|
|
35
|
-
export declare const AGENT_AUTHORED_INSTRUCTION_POLICY_CONTENT_MAX_CHARS =
|
|
36
|
-
/** Retrieved on demand rather than always composed
|
|
34
|
+
/** Compatibility export: agents and humans use the same instruction storage limit. */
|
|
35
|
+
export declare const AGENT_AUTHORED_INSTRUCTION_POLICY_CONTENT_MAX_CHARS = 262144;
|
|
36
|
+
/** Retrieved on demand rather than always composed. */
|
|
37
37
|
export declare const AGENT_AUTHORED_PREFERENCE_CONTENT_MAX_CHARS = 1200;
|
|
38
38
|
/** `identity` and `mission`: a couple of sentences, not a positioning document. */
|
|
39
39
|
export declare const AGENT_AUTHORED_COMPANY_PROFILE_SCALAR_MAX_CHARS = 400;
|
package/dist/agent-config.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Agent configuration: one `agent` object that describes what an
|
|
2
|
+
* Agent configuration: one `agent` object that describes what an Opengeni
|
|
3
3
|
* agent is (identity), how it answers (renderer, instructions alias) and what
|
|
4
4
|
* it can do (capabilities). Capabilities are product words; this module owns
|
|
5
5
|
* the single registry that maps every first-party tool to exactly one of them
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
*/
|
|
21
21
|
import { z } from "zod";
|
|
22
22
|
import type { FirstPartyMcpToolName, SessionToolPolicy, ToolRef } from "./index.js";
|
|
23
|
-
export declare const AGENT_CAPABILITY_IDS: readonly ["webSearch", "humanInput", "skills", "goals", "subagents", "knowledge", "schedules", "artifacts", "browser", "media", "workspaceFiles", "workspaceConnectors", "workspaceAdmin"];
|
|
23
|
+
export declare const AGENT_CAPABILITY_IDS: readonly ["webSearch", "humanInput", "skills", "goals", "subagents", "knowledge", "schedules", "artifacts", "browser", "secrets", "media", "workspaceFiles", "workspaceConnectors", "workspaceAdmin"];
|
|
24
24
|
export declare const AgentCapabilityId: z.ZodEnum<{
|
|
25
25
|
artifacts: "artifacts";
|
|
26
26
|
browser: "browser";
|
|
@@ -29,6 +29,7 @@ export declare const AgentCapabilityId: z.ZodEnum<{
|
|
|
29
29
|
knowledge: "knowledge";
|
|
30
30
|
media: "media";
|
|
31
31
|
schedules: "schedules";
|
|
32
|
+
secrets: "secrets";
|
|
32
33
|
skills: "skills";
|
|
33
34
|
subagents: "subagents";
|
|
34
35
|
webSearch: "webSearch";
|
|
@@ -58,6 +59,7 @@ export declare const AgentCapabilityToggles: z.ZodObject<{
|
|
|
58
59
|
schedules: z.ZodOptional<z.ZodBoolean>;
|
|
59
60
|
artifacts: z.ZodOptional<z.ZodBoolean>;
|
|
60
61
|
browser: z.ZodOptional<z.ZodBoolean>;
|
|
62
|
+
secrets: z.ZodOptional<z.ZodBoolean>;
|
|
61
63
|
media: z.ZodOptional<z.ZodBoolean>;
|
|
62
64
|
workspaceFiles: z.ZodOptional<z.ZodBoolean>;
|
|
63
65
|
workspaceConnectors: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -79,6 +81,7 @@ export declare const AgentCapabilities: z.ZodUnion<readonly [z.ZodLiteral<"all">
|
|
|
79
81
|
schedules: z.ZodOptional<z.ZodBoolean>;
|
|
80
82
|
artifacts: z.ZodOptional<z.ZodBoolean>;
|
|
81
83
|
browser: z.ZodOptional<z.ZodBoolean>;
|
|
84
|
+
secrets: z.ZodOptional<z.ZodBoolean>;
|
|
82
85
|
media: z.ZodOptional<z.ZodBoolean>;
|
|
83
86
|
workspaceFiles: z.ZodOptional<z.ZodBoolean>;
|
|
84
87
|
workspaceConnectors: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -111,6 +114,7 @@ export declare const AgentConfigRequest: z.ZodObject<{
|
|
|
111
114
|
schedules: z.ZodOptional<z.ZodBoolean>;
|
|
112
115
|
artifacts: z.ZodOptional<z.ZodBoolean>;
|
|
113
116
|
browser: z.ZodOptional<z.ZodBoolean>;
|
|
117
|
+
secrets: z.ZodOptional<z.ZodBoolean>;
|
|
114
118
|
media: z.ZodOptional<z.ZodBoolean>;
|
|
115
119
|
workspaceFiles: z.ZodOptional<z.ZodBoolean>;
|
|
116
120
|
workspaceConnectors: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -126,6 +130,12 @@ export declare const AgentConfigRequest: z.ZodObject<{
|
|
|
126
130
|
markdown: "markdown";
|
|
127
131
|
opengeni: "opengeni";
|
|
128
132
|
}>>;
|
|
133
|
+
vaultPolicy: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
134
|
+
mode: z.ZodLiteral<"all">;
|
|
135
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
136
|
+
mode: z.ZodLiteral<"selected">;
|
|
137
|
+
vaultIds: z.ZodArray<z.ZodString>;
|
|
138
|
+
}, z.core.$strict>], "mode">>;
|
|
129
139
|
}, z.core.$strict>;
|
|
130
140
|
export type AgentConfigRequest = z.infer<typeof AgentConfigRequest>;
|
|
131
141
|
/** Workspace "Defaults for new sessions" agent part (no instructions alias). */
|
|
@@ -140,6 +150,7 @@ export declare const WorkspaceAgentDefaults: z.ZodObject<{
|
|
|
140
150
|
schedules: z.ZodOptional<z.ZodBoolean>;
|
|
141
151
|
artifacts: z.ZodOptional<z.ZodBoolean>;
|
|
142
152
|
browser: z.ZodOptional<z.ZodBoolean>;
|
|
153
|
+
secrets: z.ZodOptional<z.ZodBoolean>;
|
|
143
154
|
media: z.ZodOptional<z.ZodBoolean>;
|
|
144
155
|
workspaceFiles: z.ZodOptional<z.ZodBoolean>;
|
|
145
156
|
workspaceConnectors: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -166,6 +177,7 @@ export declare const ResolvedAgentCapabilities: z.ZodObject<{
|
|
|
166
177
|
schedules: z.ZodBoolean;
|
|
167
178
|
artifacts: z.ZodBoolean;
|
|
168
179
|
browser: z.ZodBoolean;
|
|
180
|
+
secrets: z.ZodBoolean;
|
|
169
181
|
media: z.ZodBoolean;
|
|
170
182
|
workspaceFiles: z.ZodBoolean;
|
|
171
183
|
workspaceConnectors: z.ZodBoolean;
|
|
@@ -180,13 +192,7 @@ export declare const ResolvedAgentConfigSource: z.ZodEnum<{
|
|
|
180
192
|
workspace_default: "workspace_default";
|
|
181
193
|
}>;
|
|
182
194
|
export type ResolvedAgentConfigSource = z.infer<typeof ResolvedAgentConfigSource>;
|
|
183
|
-
|
|
184
|
-
* The frozen per-session configuration (`sessions.agent_config`). `capabilities`
|
|
185
|
-
* is the effective map; `unavailable` names capabilities the configuration
|
|
186
|
-
* wanted on but this deployment does not offer (reported off, never widened
|
|
187
|
-
* later without a new resolution).
|
|
188
|
-
*/
|
|
189
|
-
export declare const ResolvedAgentConfig: z.ZodObject<{
|
|
195
|
+
export declare const ResolvedAgentConfig: z.ZodPreprocess<z.ZodObject<{
|
|
190
196
|
version: z.ZodLiteral<1>;
|
|
191
197
|
from: z.ZodEnum<{
|
|
192
198
|
all: "all";
|
|
@@ -202,6 +208,7 @@ export declare const ResolvedAgentConfig: z.ZodObject<{
|
|
|
202
208
|
schedules: z.ZodBoolean;
|
|
203
209
|
artifacts: z.ZodBoolean;
|
|
204
210
|
browser: z.ZodBoolean;
|
|
211
|
+
secrets: z.ZodBoolean;
|
|
205
212
|
media: z.ZodBoolean;
|
|
206
213
|
workspaceFiles: z.ZodBoolean;
|
|
207
214
|
workspaceConnectors: z.ZodBoolean;
|
|
@@ -215,6 +222,7 @@ export declare const ResolvedAgentConfig: z.ZodObject<{
|
|
|
215
222
|
knowledge: "knowledge";
|
|
216
223
|
media: "media";
|
|
217
224
|
schedules: "schedules";
|
|
225
|
+
secrets: "secrets";
|
|
218
226
|
skills: "skills";
|
|
219
227
|
subagents: "subagents";
|
|
220
228
|
webSearch: "webSearch";
|
|
@@ -222,6 +230,22 @@ export declare const ResolvedAgentConfig: z.ZodObject<{
|
|
|
222
230
|
workspaceConnectors: "workspaceConnectors";
|
|
223
231
|
workspaceFiles: "workspaceFiles";
|
|
224
232
|
}>>>;
|
|
233
|
+
unavailableReasons: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
234
|
+
artifacts: "artifacts";
|
|
235
|
+
browser: "browser";
|
|
236
|
+
goals: "goals";
|
|
237
|
+
humanInput: "humanInput";
|
|
238
|
+
knowledge: "knowledge";
|
|
239
|
+
media: "media";
|
|
240
|
+
schedules: "schedules";
|
|
241
|
+
secrets: "secrets";
|
|
242
|
+
skills: "skills";
|
|
243
|
+
subagents: "subagents";
|
|
244
|
+
webSearch: "webSearch";
|
|
245
|
+
workspaceAdmin: "workspaceAdmin";
|
|
246
|
+
workspaceConnectors: "workspaceConnectors";
|
|
247
|
+
workspaceFiles: "workspaceFiles";
|
|
248
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
225
249
|
identity: z.ZodNullable<z.ZodString>;
|
|
226
250
|
renderer: z.ZodEnum<{
|
|
227
251
|
markdown: "markdown";
|
|
@@ -234,7 +258,7 @@ export declare const ResolvedAgentConfig: z.ZodObject<{
|
|
|
234
258
|
request: "request";
|
|
235
259
|
workspace_default: "workspace_default";
|
|
236
260
|
}>;
|
|
237
|
-
}, z.core.$strict
|
|
261
|
+
}, z.core.$strict>>;
|
|
238
262
|
export type ResolvedAgentConfig = z.infer<typeof ResolvedAgentConfig>;
|
|
239
263
|
/** `PUT /v1/workspaces/:workspaceId/sessions/:sessionId/agent`. Omitted fields keep current values. */
|
|
240
264
|
export declare const UpdateSessionAgentRequest: z.ZodObject<{
|
|
@@ -249,6 +273,7 @@ export declare const UpdateSessionAgentRequest: z.ZodObject<{
|
|
|
249
273
|
schedules: z.ZodOptional<z.ZodBoolean>;
|
|
250
274
|
artifacts: z.ZodOptional<z.ZodBoolean>;
|
|
251
275
|
browser: z.ZodOptional<z.ZodBoolean>;
|
|
276
|
+
secrets: z.ZodOptional<z.ZodBoolean>;
|
|
252
277
|
media: z.ZodOptional<z.ZodBoolean>;
|
|
253
278
|
workspaceFiles: z.ZodOptional<z.ZodBoolean>;
|
|
254
279
|
workspaceConnectors: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -264,11 +289,17 @@ export declare const UpdateSessionAgentRequest: z.ZodObject<{
|
|
|
264
289
|
markdown: "markdown";
|
|
265
290
|
opengeni: "opengeni";
|
|
266
291
|
}>>;
|
|
292
|
+
vaultPolicy: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
293
|
+
mode: z.ZodLiteral<"all">;
|
|
294
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
295
|
+
mode: z.ZodLiteral<"selected">;
|
|
296
|
+
vaultIds: z.ZodArray<z.ZodString>;
|
|
297
|
+
}, z.core.$strict>], "mode">>;
|
|
267
298
|
}, z.core.$strict>;
|
|
268
299
|
expectedVersion: z.ZodNumber;
|
|
269
300
|
}, z.core.$strict>;
|
|
270
301
|
export type UpdateSessionAgentRequest = z.infer<typeof UpdateSessionAgentRequest>;
|
|
271
|
-
/** Client-safe
|
|
302
|
+
/** Client-safe agent-configuration projection. */
|
|
272
303
|
export declare const ClientAgentConfig: z.ZodObject<{
|
|
273
304
|
enabled: z.ZodBoolean;
|
|
274
305
|
defaultForNewSessions: z.ZodBoolean;
|
|
@@ -281,6 +312,7 @@ export declare const ClientAgentConfig: z.ZodObject<{
|
|
|
281
312
|
knowledge: "knowledge";
|
|
282
313
|
media: "media";
|
|
283
314
|
schedules: "schedules";
|
|
315
|
+
secrets: "secrets";
|
|
284
316
|
skills: "skills";
|
|
285
317
|
subagents: "subagents";
|
|
286
318
|
webSearch: "webSearch";
|
|
@@ -293,8 +325,15 @@ export declare const ClientAgentConfig: z.ZodObject<{
|
|
|
293
325
|
}, z.core.$strict>>;
|
|
294
326
|
}, z.core.$strict>;
|
|
295
327
|
export type ClientAgentConfig = z.infer<typeof ClientAgentConfig>;
|
|
296
|
-
/** A
|
|
328
|
+
/** A built-in MCP server's owner: a capability, or pure runtime mechanics. */
|
|
297
329
|
export type AgentToolCapability = AgentCapabilityId | "runtime";
|
|
330
|
+
/**
|
|
331
|
+
* A first-party tool's owner: a capability, pure runtime mechanics, or the
|
|
332
|
+
* attached compute (a managed sandbox or Connected Machine).
|
|
333
|
+
*/
|
|
334
|
+
export type AgentFirstPartyToolOwner = AgentToolCapability | "sandbox";
|
|
335
|
+
/** Owners no capability toggles: the runtime or the attached compute derives them. */
|
|
336
|
+
export declare function isDerivedAgentToolOwner(owner: AgentFirstPartyToolOwner): owner is "runtime" | "sandbox";
|
|
298
337
|
/**
|
|
299
338
|
* Exhaustive map from every `FIRST_PARTY_MCP_TOOL_NAMES` entry to exactly one
|
|
300
339
|
* owner. The `Record` type makes an unmapped new name a compile error, and
|
|
@@ -302,15 +341,21 @@ export type AgentToolCapability = AgentCapabilityId | "runtime";
|
|
|
302
341
|
*
|
|
303
342
|
* `runtime` tools are mechanics every agent needs regardless of what it may do:
|
|
304
343
|
* - `wait_for_input`: ends the turn and waits for the next input.
|
|
305
|
-
* - `command_read` / `command_wait`: read/await the session's own background
|
|
306
|
-
* sandbox commands (the shell already exists whenever a sandbox is attached).
|
|
307
344
|
* - `set_session_title`: session titling.
|
|
345
|
+
*
|
|
346
|
+
* `sandbox` tools are derived from attached compute and never toggled:
|
|
347
|
+
* - `command_read` / `command_wait`: read/await the session's own background
|
|
348
|
+
* commands. A command can only exist on a managed sandbox or Connected
|
|
349
|
+
* Machine, so a turn with neither attached never receives them.
|
|
308
350
|
*/
|
|
309
351
|
export declare const FIRST_PARTY_MCP_TOOL_CAPABILITIES: {
|
|
310
352
|
readonly set_session_title: "runtime";
|
|
311
353
|
readonly wait_for_input: "runtime";
|
|
312
|
-
readonly
|
|
313
|
-
readonly
|
|
354
|
+
readonly notify_user: "humanInput";
|
|
355
|
+
readonly notification_withdraw: "humanInput";
|
|
356
|
+
readonly inbox_tidy: "humanInput";
|
|
357
|
+
readonly command_wait: "sandbox";
|
|
358
|
+
readonly command_read: "sandbox";
|
|
314
359
|
readonly goal_set: "goals";
|
|
315
360
|
readonly goal_update: "goals";
|
|
316
361
|
readonly goal_progress: "goals";
|
|
@@ -323,6 +368,9 @@ export declare const FIRST_PARTY_MCP_TOOL_CAPABILITIES: {
|
|
|
323
368
|
readonly knowledge_browse: "knowledge";
|
|
324
369
|
readonly knowledge_save: "knowledge";
|
|
325
370
|
readonly knowledge_retain_file: "knowledge";
|
|
371
|
+
readonly meetings_search: "knowledge";
|
|
372
|
+
readonly meeting_read: "knowledge";
|
|
373
|
+
readonly meeting_notes_save: "knowledge";
|
|
326
374
|
readonly knowledge_retain_message: "knowledge";
|
|
327
375
|
readonly knowledge_archive: "knowledge";
|
|
328
376
|
readonly instruction_policy_save: "knowledge";
|
|
@@ -356,6 +404,7 @@ export declare const FIRST_PARTY_MCP_TOOL_CAPABILITIES: {
|
|
|
356
404
|
readonly sandbox_provision: "workspaceAdmin";
|
|
357
405
|
readonly connected_machine_remove: "workspaceAdmin";
|
|
358
406
|
readonly connected_machine_enroll_token: "workspaceAdmin";
|
|
407
|
+
readonly connected_machine_enable_screen_control: "workspaceAdmin";
|
|
359
408
|
readonly project_list: "workspaceAdmin";
|
|
360
409
|
readonly project_get: "workspaceAdmin";
|
|
361
410
|
readonly project_create: "workspaceAdmin";
|
|
@@ -363,16 +412,26 @@ export declare const FIRST_PARTY_MCP_TOOL_CAPABILITIES: {
|
|
|
363
412
|
readonly project_reorder: "workspaceAdmin";
|
|
364
413
|
readonly project_delete: "workspaceAdmin";
|
|
365
414
|
readonly session_set_project: "workspaceAdmin";
|
|
415
|
+
readonly admin_actions_search: "workspaceAdmin";
|
|
416
|
+
readonly admin_action_describe: "workspaceAdmin";
|
|
417
|
+
readonly admin_action_call: "workspaceAdmin";
|
|
366
418
|
readonly rig_list: "workspaceAdmin";
|
|
367
419
|
readonly rig_get: "workspaceAdmin";
|
|
368
420
|
readonly rig_propose_change: "workspaceAdmin";
|
|
369
421
|
readonly rig_verify: "workspaceAdmin";
|
|
370
422
|
readonly rig_promote: "workspaceAdmin";
|
|
371
|
-
readonly
|
|
372
|
-
readonly
|
|
373
|
-
readonly
|
|
374
|
-
readonly
|
|
375
|
-
readonly
|
|
423
|
+
readonly secret_search: "secrets";
|
|
424
|
+
readonly secret_save: "secrets";
|
|
425
|
+
readonly secret_get: "secrets";
|
|
426
|
+
readonly secret_move: "secrets";
|
|
427
|
+
readonly secret_delete: "secrets";
|
|
428
|
+
readonly secret_profile_get: "secrets";
|
|
429
|
+
readonly secret_profile_set: "secrets";
|
|
430
|
+
readonly variable_set_list: "secrets";
|
|
431
|
+
readonly environment_list: "secrets";
|
|
432
|
+
readonly variable_set_get_variable: "secrets";
|
|
433
|
+
readonly variable_set_set_variable: "secrets";
|
|
434
|
+
readonly environment_set_variable: "secrets";
|
|
376
435
|
readonly capability_catalog_search: "workspaceAdmin";
|
|
377
436
|
readonly capability_authorization_request: "workspaceAdmin";
|
|
378
437
|
readonly custom_mcp_setup_request: "workspaceAdmin";
|
|
@@ -382,11 +441,15 @@ export declare const FIRST_PARTY_MCP_TOOL_CAPABILITIES: {
|
|
|
382
441
|
readonly session_wait: "subagents";
|
|
383
442
|
readonly session_create: "subagents";
|
|
384
443
|
readonly session_send_message: "subagents";
|
|
444
|
+
readonly session_message_status: "subagents";
|
|
445
|
+
readonly session_target_get: "subagents";
|
|
446
|
+
readonly session_target_set: "subagents";
|
|
385
447
|
readonly session_pause: "subagents";
|
|
386
448
|
readonly session_resume: "subagents";
|
|
387
449
|
readonly session_steer: "subagents";
|
|
388
450
|
readonly session_human_input_respond: "subagents";
|
|
389
451
|
readonly set_other_session_title: "subagents";
|
|
452
|
+
readonly bot_template_save: "subagents";
|
|
390
453
|
readonly session_set_model: "subagents";
|
|
391
454
|
readonly interaction_discover: "browser";
|
|
392
455
|
readonly browser_open: "browser";
|
|
@@ -397,6 +460,9 @@ export declare const FIRST_PARTY_MCP_TOOL_CAPABILITIES: {
|
|
|
397
460
|
readonly browser_act: "browser";
|
|
398
461
|
readonly browser_clipboard: "browser";
|
|
399
462
|
readonly browser_debug: "browser";
|
|
463
|
+
readonly browser_downloads: "browser";
|
|
464
|
+
readonly browser_download_save: "browser";
|
|
465
|
+
readonly browser_record: "browser";
|
|
400
466
|
readonly browser_auth: "browser";
|
|
401
467
|
readonly interaction_request_human: "browser";
|
|
402
468
|
readonly browser_identity: "browser";
|
|
@@ -408,6 +474,7 @@ export declare const FIRST_PARTY_MCP_TOOL_CAPABILITIES: {
|
|
|
408
474
|
readonly computer_clipboard: "browser";
|
|
409
475
|
readonly computer_act: "browser";
|
|
410
476
|
readonly computer_lifecycle: "browser";
|
|
477
|
+
readonly excel_run: "browser";
|
|
411
478
|
readonly github_connect_link: "workspaceConnectors";
|
|
412
479
|
readonly github_repositories_list: "workspaceConnectors";
|
|
413
480
|
readonly social_connections_list: "workspaceConnectors";
|
|
@@ -465,6 +532,8 @@ export declare const FIRST_PARTY_MCP_TOOL_CAPABILITIES: {
|
|
|
465
532
|
readonly scheduled_tasks_trigger: "schedules";
|
|
466
533
|
readonly scheduled_tasks_delete: "schedules";
|
|
467
534
|
readonly scheduled_task_runs_list: "schedules";
|
|
535
|
+
readonly event_sources_list: "schedules";
|
|
536
|
+
readonly events_get: "schedules";
|
|
468
537
|
readonly artifacts_list: "artifacts";
|
|
469
538
|
readonly artifacts_get_source: "artifacts";
|
|
470
539
|
readonly artifacts_prepare_upload: "artifacts";
|
|
@@ -473,6 +542,30 @@ export declare const FIRST_PARTY_MCP_TOOL_CAPABILITIES: {
|
|
|
473
542
|
readonly artifacts_rollback: "artifacts";
|
|
474
543
|
readonly artifacts_archive: "artifacts";
|
|
475
544
|
readonly artifacts_restore: "artifacts";
|
|
545
|
+
readonly site_data_describe: "artifacts";
|
|
546
|
+
readonly site_data_define_collection: "artifacts";
|
|
547
|
+
readonly site_data_query: "artifacts";
|
|
548
|
+
readonly site_data_write: "artifacts";
|
|
549
|
+
readonly site_data_import: "artifacts";
|
|
550
|
+
readonly site_data_export: "artifacts";
|
|
551
|
+
readonly site_data_reset: "artifacts";
|
|
552
|
+
readonly site_files_list: "artifacts";
|
|
553
|
+
readonly site_files_upload: "artifacts";
|
|
554
|
+
readonly site_files_delete: "artifacts";
|
|
555
|
+
readonly site_publication_get: "artifacts";
|
|
556
|
+
readonly site_publication_update: "artifacts";
|
|
557
|
+
readonly site_publication_apply_fix: "artifacts";
|
|
558
|
+
readonly site_hostname_check: "artifacts";
|
|
559
|
+
readonly site_sql_inspect: "artifacts";
|
|
560
|
+
readonly site_sql_enable: "artifacts";
|
|
561
|
+
readonly site_sql_migrate: "artifacts";
|
|
562
|
+
readonly site_sql_define_query: "artifacts";
|
|
563
|
+
readonly site_sql_query: "artifacts";
|
|
564
|
+
readonly site_sql_run: "artifacts";
|
|
565
|
+
readonly site_sql_execute: "artifacts";
|
|
566
|
+
readonly site_sql_export: "artifacts";
|
|
567
|
+
readonly site_sql_import: "artifacts";
|
|
568
|
+
readonly site_sql_reset: "artifacts";
|
|
476
569
|
readonly sandbox_file_publish: "artifacts";
|
|
477
570
|
readonly editable_artifact_list: "artifacts";
|
|
478
571
|
readonly editable_artifact_create: "artifacts";
|
|
@@ -488,6 +581,7 @@ export type AgentFunctionToolClass = AgentCapabilityId | "runtime" | "sandbox";
|
|
|
488
581
|
/** Tools served outside the first-party MCP catalog, by the name the model sees. */
|
|
489
582
|
export declare const AGENT_FUNCTION_TOOL_CAPABILITIES: {
|
|
490
583
|
readonly web_search: "webSearch";
|
|
584
|
+
readonly web_fetch: "webSearch";
|
|
491
585
|
readonly x_search: "webSearch";
|
|
492
586
|
readonly image_generation: "media";
|
|
493
587
|
readonly request_human_input: "humanInput";
|
|
@@ -542,7 +636,7 @@ export declare const AGENT_BUILTIN_MCP_SERVER_CAPABILITIES: {
|
|
|
542
636
|
readonly docs: "knowledge";
|
|
543
637
|
readonly "google-drive-publishing": "workspaceConnectors";
|
|
544
638
|
};
|
|
545
|
-
export declare function firstPartyMcpToolCapability(tool: FirstPartyMcpToolName):
|
|
639
|
+
export declare function firstPartyMcpToolCapability(tool: FirstPartyMcpToolName): AgentFirstPartyToolOwner;
|
|
546
640
|
/** Availability narrows configuration; it never grants a disabled capability. */
|
|
547
641
|
export type AgentToolEnvironment = {
|
|
548
642
|
/** Explicit product MCPs are independent of ambient workspace connectors. */
|
|
@@ -554,18 +648,31 @@ export type AgentToolEnvironment = {
|
|
|
554
648
|
media?: boolean | undefined;
|
|
555
649
|
hasDeferredTools?: boolean;
|
|
556
650
|
routerInHistory?: boolean;
|
|
651
|
+
/**
|
|
652
|
+
* Whether the turn has a managed sandbox or Connected Machine attached.
|
|
653
|
+
* `false` withholds the `sandbox`-owned first-party tools, which could never
|
|
654
|
+
* find a command; undefined means not yet known and keeps them.
|
|
655
|
+
*/
|
|
656
|
+
sandboxAttached?: boolean;
|
|
557
657
|
};
|
|
558
|
-
|
|
658
|
+
/** Runtime mechanics every configured agent receives. */
|
|
659
|
+
export declare const AGENT_RUNTIME_MECHANIC_TOOL_NAMES: readonly ["wait_for_input"];
|
|
660
|
+
/** First-party tools a configured agent receives whenever compute is attached. */
|
|
661
|
+
export declare const AGENT_SANDBOX_MECHANIC_TOOL_NAMES: readonly ["command_read", "command_wait"];
|
|
559
662
|
/**
|
|
560
663
|
* The one turn-time capability gate. Null means the historical attachment
|
|
561
664
|
* rules, including unconditional Skill tools and router. Resource-derived
|
|
562
|
-
* sandbox tools, product MCPs and runtime mechanics are never toggled
|
|
665
|
+
* sandbox tools, product MCPs and runtime mechanics are never toggled; the
|
|
666
|
+
* `sandbox`-owned first-party tools follow `environment.sandboxAttached` for
|
|
667
|
+
* every session, configured or not.
|
|
563
668
|
*/
|
|
564
669
|
export declare function resolveAgentToolFamilies(config: ResolvedAgentConfig | null | undefined, environment?: AgentToolEnvironment): {
|
|
565
670
|
webSearch: boolean;
|
|
566
671
|
humanInput: boolean;
|
|
567
672
|
media: boolean;
|
|
568
673
|
subagents: boolean;
|
|
674
|
+
/** Secret references resolve, the secret_* tools and the ask-card secret kind exist. */
|
|
675
|
+
secrets: boolean;
|
|
569
676
|
skills: "manage" | "read" | false;
|
|
570
677
|
router: boolean;
|
|
571
678
|
allowsFirstPartyTool: (name: FirstPartyMcpToolName) => boolean;
|
|
@@ -585,8 +692,10 @@ export declare const AGENT_CAPABILITY_DESCRIPTIONS: Readonly<Record<AgentCapabil
|
|
|
585
692
|
* `runtime_mechanics` are always present; every other module is included only
|
|
586
693
|
* when its capability or resource is present. The model-context inspector
|
|
587
694
|
* reports them as metadata on the `operational_contract` layer.
|
|
695
|
+
* `workspace_environment` and `attachments` are retired (never rendered) and
|
|
696
|
+
* stay listed only so stored model-context snapshots still parse.
|
|
588
697
|
*/
|
|
589
|
-
export declare const AGENT_PROMPT_MODULE_IDS: readonly ["base_behavior", "runtime_mechanics", "renderer_markdown", "sandbox", "connected_machine", "repositories", "workspace_environment", "rig", "artifacts", "goals", "subagents", "knowledge", "skills", "admin", "attachments"];
|
|
698
|
+
export declare const AGENT_PROMPT_MODULE_IDS: readonly ["base_behavior", "runtime_mechanics", "renderer_markdown", "sandbox", "connected_machine", "repositories", "workspace_environment", "rig", "artifacts", "media", "goals", "subagents", "knowledge", "skills", "secrets", "admin", "attachments"];
|
|
590
699
|
export declare const AgentPromptModuleId: z.ZodEnum<{
|
|
591
700
|
admin: "admin";
|
|
592
701
|
artifacts: "artifacts";
|
|
@@ -595,11 +704,13 @@ export declare const AgentPromptModuleId: z.ZodEnum<{
|
|
|
595
704
|
connected_machine: "connected_machine";
|
|
596
705
|
goals: "goals";
|
|
597
706
|
knowledge: "knowledge";
|
|
707
|
+
media: "media";
|
|
598
708
|
renderer_markdown: "renderer_markdown";
|
|
599
709
|
repositories: "repositories";
|
|
600
710
|
rig: "rig";
|
|
601
711
|
runtime_mechanics: "runtime_mechanics";
|
|
602
712
|
sandbox: "sandbox";
|
|
713
|
+
secrets: "secrets";
|
|
603
714
|
skills: "skills";
|
|
604
715
|
subagents: "subagents";
|
|
605
716
|
workspace_environment: "workspace_environment";
|
|
@@ -611,7 +722,6 @@ export declare const AGENT_CAPABILITY_PROMPT_MODULES: Readonly<Partial<Record<Ag
|
|
|
611
722
|
export declare const AgentConfigErrorCode: z.ZodEnum<{
|
|
612
723
|
agent_capability_unavailable: "agent_capability_unavailable";
|
|
613
724
|
agent_config_conflict: "agent_config_conflict";
|
|
614
|
-
agent_config_not_enabled: "agent_config_not_enabled";
|
|
615
725
|
agent_config_widening: "agent_config_widening";
|
|
616
726
|
}>;
|
|
617
727
|
export type AgentConfigErrorCode = z.infer<typeof AgentConfigErrorCode>;
|
|
@@ -658,10 +768,7 @@ export type ResolveAgentConfigInput = {
|
|
|
658
768
|
/** The legacy session `instructions` field (alias target). */
|
|
659
769
|
instructions?: string | undefined;
|
|
660
770
|
workspace: AgentConfigWorkspaceContext;
|
|
661
|
-
deployment: AgentConfigDeploymentLimits
|
|
662
|
-
admissionEnabled: boolean;
|
|
663
|
-
defaultForNewSessions: boolean;
|
|
664
|
-
};
|
|
771
|
+
deployment: AgentConfigDeploymentLimits;
|
|
665
772
|
/** Undefined for a top-level session. */
|
|
666
773
|
parent?: AgentConfigParent | undefined;
|
|
667
774
|
/** Whether the new session carries a goal. */
|
|
@@ -676,10 +783,10 @@ export type ResolveAgentConfigResult = {
|
|
|
676
783
|
* Resolve the frozen agent configuration for a new session.
|
|
677
784
|
*
|
|
678
785
|
* Order: deployment limits, then the workspace default, then the request, then
|
|
679
|
-
* the parent (children only narrow).
|
|
680
|
-
*
|
|
681
|
-
*
|
|
682
|
-
*
|
|
786
|
+
* the parent (children only narrow). An omitted `agent` on a top-level
|
|
787
|
+
* session resolves the workspace default, else `{ capabilities: "all" }`.
|
|
788
|
+
* Returns `config: null` (exact legacy) only under a legacy parent, which
|
|
789
|
+
* keeps its tree legacy, and for site-auth maintenance sessions.
|
|
683
790
|
*/
|
|
684
791
|
export declare function resolveAgentConfig(input: ResolveAgentConfigInput): ResolveAgentConfigResult;
|
|
685
792
|
/**
|
|
@@ -691,9 +798,7 @@ export declare function resolveAgentConfigUpdate(input: {
|
|
|
691
798
|
current: ResolvedAgentConfig | null;
|
|
692
799
|
legacyCeiling: ResolvedAgentCapabilities;
|
|
693
800
|
request: AgentConfigRequest;
|
|
694
|
-
deployment: AgentConfigDeploymentLimits
|
|
695
|
-
admissionEnabled: boolean;
|
|
696
|
-
};
|
|
801
|
+
deployment: AgentConfigDeploymentLimits;
|
|
697
802
|
onlyNarrow: boolean;
|
|
698
803
|
/** A parent's configuration or legacy ceiling; children never widen past it. */
|
|
699
804
|
parentCeiling?: ResolvedAgentCapabilities | undefined;
|
|
@@ -779,6 +884,7 @@ export declare const AgentEffectiveTools: z.ZodObject<{
|
|
|
779
884
|
schedules: z.ZodBoolean;
|
|
780
885
|
artifacts: z.ZodBoolean;
|
|
781
886
|
browser: z.ZodBoolean;
|
|
887
|
+
secrets: z.ZodBoolean;
|
|
782
888
|
media: z.ZodBoolean;
|
|
783
889
|
workspaceFiles: z.ZodBoolean;
|
|
784
890
|
workspaceConnectors: z.ZodBoolean;
|
|
@@ -792,6 +898,7 @@ export declare const AgentEffectiveTools: z.ZodObject<{
|
|
|
792
898
|
knowledge: "knowledge";
|
|
793
899
|
media: "media";
|
|
794
900
|
schedules: "schedules";
|
|
901
|
+
secrets: "secrets";
|
|
795
902
|
skills: "skills";
|
|
796
903
|
subagents: "subagents";
|
|
797
904
|
webSearch: "webSearch";
|
|
@@ -810,6 +917,7 @@ export declare const AgentEffectiveTools: z.ZodObject<{
|
|
|
810
917
|
knowledge: "knowledge";
|
|
811
918
|
media: "media";
|
|
812
919
|
schedules: "schedules";
|
|
920
|
+
secrets: "secrets";
|
|
813
921
|
skills: "skills";
|
|
814
922
|
subagents: "subagents";
|
|
815
923
|
webSearch: "webSearch";
|
|
@@ -839,6 +947,7 @@ export declare const AgentEffectiveTools: z.ZodObject<{
|
|
|
839
947
|
knowledge: "knowledge";
|
|
840
948
|
media: "media";
|
|
841
949
|
schedules: "schedules";
|
|
950
|
+
secrets: "secrets";
|
|
842
951
|
skills: "skills";
|
|
843
952
|
subagents: "subagents";
|
|
844
953
|
webSearch: "webSearch";
|
|
@@ -868,5 +977,7 @@ export declare function projectAgentEffectiveTools(input: {
|
|
|
868
977
|
/** Raw first-party names; other entries use model-facing names. */
|
|
869
978
|
upfrontToolNames?: ReadonlySet<string>;
|
|
870
979
|
firstPartyModelNames?: ReadonlyMap<FirstPartyMcpToolName, string>;
|
|
980
|
+
/** Native tools are attached only after selection and control-authority checks. */
|
|
981
|
+
nativeComputerTools?: boolean;
|
|
871
982
|
mediaAttachment?: AgentMediaAttachment | undefined;
|
|
872
983
|
}): AgentEffectiveTools;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** Optional creation alias for the developer_setup organization access tier. */
|
|
3
|
+
export declare const OrganizationApiKeyPreset: z.ZodEnum<{
|
|
4
|
+
developer_setup: "developer_setup";
|
|
5
|
+
}>;
|
|
6
|
+
export type OrganizationApiKeyPreset = z.infer<typeof OrganizationApiKeyPreset>;
|
|
7
|
+
/**
|
|
8
|
+
* The current setup-route floor: workspace provisioning, configuration/cleanup,
|
|
9
|
+
* and explicit literal budget authority. workspace:admin also covers discovery and session/tool/
|
|
10
|
+
* schedule guards. It is broad authority, not setup-only, and never confers
|
|
11
|
+
* literal secrets:read. No account:admin, billing, or redundant read scopes.
|
|
12
|
+
*/
|
|
13
|
+
export declare const DEVELOPER_SETUP_API_KEY_PRESET: {
|
|
14
|
+
readonly id: "developer_setup";
|
|
15
|
+
readonly label: "Developer setup";
|
|
16
|
+
readonly description: "Set up shared workspaces, tools and budgets. Includes broad workspace administration and expires after 24 hours. Can't manage API keys.";
|
|
17
|
+
readonly permissions: ("usage_allowances:manage" | "workspace:admin" | "workspace:create")[];
|
|
18
|
+
readonly defaultExpiryHours: 24;
|
|
19
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export type ActionCatalogEntry = {
|
|
2
|
+
/** Stable name an agent calls: the SDK method ("listSessions"), else "METHOD /path". */
|
|
3
|
+
id: string;
|
|
4
|
+
method: string;
|
|
5
|
+
path: string;
|
|
6
|
+
/** Contract schema names for the JSON body and response, when known. */
|
|
7
|
+
request: string[];
|
|
8
|
+
/**
|
|
9
|
+
* Query parameter names the route reads, from its handler. Set only when it
|
|
10
|
+
* reads any; describe lists them so a caller can filter and page.
|
|
11
|
+
*/
|
|
12
|
+
query?: string[];
|
|
13
|
+
response: string[];
|
|
14
|
+
/**
|
|
15
|
+
* Why no MCP caller can complete this action: it needs the person's own
|
|
16
|
+
* Opengeni browser session. Set only on such actions; the server hides them.
|
|
17
|
+
*/
|
|
18
|
+
browserOnly?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Where the action carries a key, password, token or other secret: field
|
|
21
|
+
* paths ("request.apiKey", "response.token") or a route reason, derived by
|
|
22
|
+
* the catalog generator. Without full access a chat leaves it to the app.
|
|
23
|
+
*/
|
|
24
|
+
secretFields?: string[];
|
|
25
|
+
/**
|
|
26
|
+
* The workspace permission the route checks before anything else, from its
|
|
27
|
+
* handler's first access check. Set only when the handler shows one; the
|
|
28
|
+
* route's own checks still decide. Lets a caller leave out actions a person
|
|
29
|
+
* can never run.
|
|
30
|
+
*/
|
|
31
|
+
permission?: string;
|
|
32
|
+
};
|