@opengeni/contracts 3.1.0-canary.2 → 3.1.2
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 +971 -0
- package/dist/agent-instruction-changes.d.ts +0 -2
- package/dist/allowance-refusal.d.ts +9 -0
- package/dist/allowance-refusal.js +50 -0
- package/dist/allowance-refusal.js.map +1 -0
- package/dist/analytics-consent-report.d.ts +19 -0
- package/dist/analytics-consent-report.js +10 -0
- package/dist/analytics-consent-report.js.map +1 -0
- package/dist/api-key-presets.d.ts +19 -0
- package/dist/artifact-catalog.d.ts +188 -0
- package/dist/artifacts.d.ts +86 -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.d.ts +1 -0
- package/dist/atlassian.js +34 -19
- package/dist/browser-storage.d.ts +5 -0
- package/dist/browser-storage.js +9 -0
- package/dist/browser-storage.js.map +1 -0
- package/dist/bundled-skills.d.ts +24 -1
- package/dist/canonical-human-identities.js +2 -1
- package/dist/chunk-2ZIHHL72.js +153 -0
- package/dist/chunk-2ZIHHL72.js.map +1 -0
- package/dist/{chunk-5LYFSZ7O.js → chunk-352X6ENP.js} +31 -31
- package/dist/chunk-4JGHSSB7.js +11 -0
- package/dist/chunk-4JGHSSB7.js.map +1 -0
- package/dist/chunk-4QO6GJUX.js +85 -0
- package/dist/chunk-4QO6GJUX.js.map +1 -0
- package/dist/chunk-4VDMHLLL.js +49 -0
- package/dist/chunk-4VDMHLLL.js.map +1 -0
- package/dist/chunk-56SNIMDO.js +9 -0
- package/dist/chunk-56SNIMDO.js.map +1 -0
- package/dist/chunk-6C2HKFTU.js +207 -0
- package/dist/chunk-6C2HKFTU.js.map +1 -0
- package/dist/chunk-6IXO76Z6.js +72 -0
- package/dist/chunk-6IXO76Z6.js.map +1 -0
- package/dist/chunk-7272KVWZ.js +60 -0
- package/dist/chunk-7272KVWZ.js.map +1 -0
- package/dist/{chunk-7ABONTXE.js → chunk-E3GGUBHS.js} +49 -5
- package/dist/chunk-E3GGUBHS.js.map +1 -0
- package/dist/chunk-EFZYKUE2.js +767 -0
- package/dist/chunk-EFZYKUE2.js.map +1 -0
- package/dist/chunk-EKWNTOG3.js +154 -0
- package/dist/chunk-EKWNTOG3.js.map +1 -0
- package/dist/chunk-HABQ7ADB.js +234 -0
- package/dist/chunk-HABQ7ADB.js.map +1 -0
- package/dist/chunk-HRRU4QPI.js +91 -0
- package/dist/chunk-HRRU4QPI.js.map +1 -0
- package/dist/{chunk-3SIZGL3O.js → chunk-IK36LXKC.js} +18 -2
- package/dist/chunk-IK36LXKC.js.map +1 -0
- package/dist/{chunk-TXTQIYCV.js → chunk-ILJ72KPO.js} +56 -3
- package/dist/chunk-ILJ72KPO.js.map +1 -0
- package/dist/chunk-J4HQ3UKY.js +93 -0
- package/dist/chunk-J4HQ3UKY.js.map +1 -0
- package/dist/chunk-KHHZTBP7.js +11 -0
- package/dist/chunk-KHHZTBP7.js.map +1 -0
- package/dist/{chunk-WYBDERIY.js → chunk-LZ2LAHIX.js} +47 -41
- package/dist/chunk-LZ2LAHIX.js.map +1 -0
- package/dist/chunk-NDZHPTCL.js +400 -0
- package/dist/chunk-NDZHPTCL.js.map +1 -0
- package/dist/chunk-OF6OKOBF.js +54793 -0
- package/dist/chunk-OF6OKOBF.js.map +1 -0
- package/dist/chunk-OL23ARTF.js +94 -0
- package/dist/chunk-OL23ARTF.js.map +1 -0
- package/dist/chunk-PUIUXIOL.js +189 -0
- package/dist/chunk-PUIUXIOL.js.map +1 -0
- package/dist/{chunk-Y3KNXVTD.js → chunk-RMWXDZEO.js} +128 -21
- package/dist/chunk-RMWXDZEO.js.map +1 -0
- package/dist/{chunk-MRWYRAS5.js → chunk-SHO4YO4B.js} +27 -35
- package/dist/chunk-SHO4YO4B.js.map +1 -0
- package/dist/chunk-SWRN2DJ3.js +153 -0
- package/dist/chunk-SWRN2DJ3.js.map +1 -0
- package/dist/chunk-TCXCRBPF.js +267 -0
- package/dist/chunk-TCXCRBPF.js.map +1 -0
- package/dist/chunk-TLU3UEMD.js +324 -0
- package/dist/chunk-TLU3UEMD.js.map +1 -0
- package/dist/chunk-TSWWZMUS.js +186 -0
- package/dist/chunk-TSWWZMUS.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-XDLAGX66.js +127 -0
- package/dist/chunk-XDLAGX66.js.map +1 -0
- package/dist/chunk-YKZ4WU4P.js +33 -0
- package/dist/chunk-YKZ4WU4P.js.map +1 -0
- package/dist/{chunk-O5LEQHDM.js → chunk-Z7WEVGCL.js} +3 -3
- package/dist/{chunk-YBW5JSA3.js → chunk-ZDCRWCGZ.js} +119 -101
- package/dist/chunk-ZDCRWCGZ.js.map +1 -0
- package/dist/claude-provider-account-authority.d.ts +18 -0
- package/dist/claude-subscription-oauth.d.ts +42 -0
- package/dist/claude-subscription-usage.d.ts +159 -0
- package/dist/client-error-report.d.ts +158 -0
- package/dist/client-error-report.js +164 -0
- package/dist/client-error-report.js.map +1 -0
- package/dist/code-search.d.ts +52 -0
- package/dist/code-search.js +40 -0
- package/dist/code-search.js.map +1 -0
- package/dist/codex-provider-account-authority.js +20 -12
- package/dist/codex-provider-account-authority.js.map +1 -1
- package/dist/company-profile.d.ts +144 -6
- package/dist/connect.d.ts +37 -0
- package/dist/connect.js +216 -159
- package/dist/connect.js.map +1 -1
- package/dist/connection-account-label.d.ts +2 -0
- package/dist/connection-account-label.js +35 -0
- package/dist/connection-account-label.js.map +1 -0
- package/dist/connection-authority.d.ts +9 -317
- package/dist/connection-authority.js +37 -42
- package/dist/connector-attachments.js +2 -1
- package/dist/connector-destinations.js +2 -1
- package/dist/connector-tool-permissions.d.ts +137 -0
- package/dist/cua-desktop-tools.d.ts +17 -0
- package/dist/define-schema.d.ts +8 -0
- package/dist/direct-model-provider.d.ts +36 -0
- package/dist/editable-artifact-codec-registry.js +5 -5
- package/dist/editable-artifact-committed-transaction.js +3 -2
- package/dist/editable-artifact-live.js +5 -5
- package/dist/editable-artifact-serialized-commit.js +6 -6
- package/dist/editable-artifact-versions.d.ts +7 -1
- package/dist/editable-artifact-versions.js +1 -1
- package/dist/editable-artifacts.js +62 -56
- package/dist/event-preview.d.ts +22 -0
- package/dist/external-identities.d.ts +138 -0
- package/dist/external-identities.js +9 -4
- package/dist/first-party-tool-authorization.d.ts +815 -0
- package/dist/github-repository-contracts.js +60 -43
- package/dist/github-repository-contracts.js.map +1 -1
- package/dist/google-drive.d.ts +2 -1
- package/dist/google-drive.js +305 -238
- package/dist/google-drive.js.map +1 -1
- package/dist/host-mcp-bindings.d.ts +5 -0
- package/dist/host-mcp-bindings.js +233 -170
- package/dist/host-mcp-bindings.js.map +1 -1
- package/dist/image-generation.d.ts +1 -0
- package/dist/index.d.ts +16761 -5946
- package/dist/index.js +1973 -260
- package/dist/insights-usage.d.ts +877 -0
- package/dist/insights-usage.js +559 -0
- package/dist/insights-usage.js.map +1 -0
- package/dist/interaction.d.ts +1176 -829
- package/dist/knowledge-entries.d.ts +81 -2
- package/dist/knowledge-preparation.d.ts +239 -0
- package/dist/managed-auth-session-sets.d.ts +7 -0
- package/dist/managed-auth-session-sets.js +198 -132
- package/dist/managed-auth-session-sets.js.map +1 -1
- package/dist/managed-sign-in-methods.d.ts +56 -0
- package/dist/managed-sign-in-methods.js +64 -0
- package/dist/managed-sign-in-methods.js.map +1 -0
- package/dist/mcp-catalog-limits.d.ts +2 -0
- package/dist/mcp-oauth.d.ts +2 -2
- package/dist/mcp-structured-content.d.ts +25 -0
- package/dist/modal-native-proof-v2.d.ts +587 -0
- package/dist/modal-native-proof-v2.js +38 -0
- package/dist/modal-native-proof-v2.js.map +1 -0
- package/dist/model-account-choice.d.ts +235 -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 +98 -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.d.ts +3 -1
- package/dist/model-picker-order.js +3 -0
- package/dist/model-picker-order.js.map +1 -1
- package/dist/organization-access.d.ts +412 -0
- package/dist/organization-access.js +39 -0
- package/dist/organization-access.js.map +1 -0
- package/dist/organization-integration-policy.d.ts +27 -0
- package/dist/organization-membership-lifecycle.d.ts +38 -0
- package/dist/organization-model-usage.d.ts +146 -0
- package/dist/organization-model-usage.js +78 -0
- package/dist/organization-model-usage.js.map +1 -0
- package/dist/organization-recovery.js +2 -1
- package/dist/organization-usage.d.ts +138 -0
- package/dist/permissions.d.ts +18 -0
- package/dist/personal-github.d.ts +1 -0
- package/dist/personal-github.js +199 -144
- package/dist/personal-github.js.map +1 -1
- package/dist/prepared-mcp-setup.d.ts +54 -0
- package/dist/prepared-mcp-setup.js +12 -0
- package/dist/prepared-mcp-setup.js.map +1 -0
- package/dist/product-analytics.d.ts +116 -0
- package/dist/product-lifecycle-facts.d.ts +73 -0
- package/dist/remember.d.ts +98 -6
- package/dist/retained-output.d.ts +8 -0
- package/dist/sandbox-file-artifacts.d.ts +1 -0
- package/dist/sandbox-provider-command.d.ts +91 -1
- package/dist/sandbox-recovery.d.ts +146 -0
- package/dist/secret-generator.d.ts +44 -0
- package/dist/secret-references.d.ts +90 -0
- package/dist/secret-resolution.d.ts +111 -0
- package/dist/secret-totp.d.ts +41 -0
- package/dist/session-final-reply.d.ts +6 -0
- package/dist/session-final-reply.js +9 -0
- package/dist/session-final-reply.js.map +1 -0
- package/dist/session-goal-reports.d.ts +21 -0
- package/dist/session-history-import.d.ts +1272 -0
- package/dist/session-list-entries.d.ts +4 -0
- package/dist/session-list-entries.js +56 -0
- package/dist/session-list-entries.js.map +1 -0
- package/dist/session-mcp-projections.d.ts +6 -0
- package/dist/session-mcp-tool-permissions.d.ts +62 -0
- package/dist/session-message-search.d.ts +68 -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 +41 -0
- package/dist/session-usage-limits.js.map +1 -0
- package/dist/signup-attribution.d.ts +39 -0
- package/dist/site-data.d.ts +286 -0
- package/dist/site-operations.d.ts +39 -0
- package/dist/site-publishing.d.ts +778 -0
- package/dist/site-session-http.d.ts +89 -4
- package/dist/site-session-http.js +25 -1
- package/dist/site-sql.d.ts +421 -0
- package/dist/skill-catalog-context.d.ts +7 -0
- package/dist/skill-files.d.ts +1 -1
- package/dist/skill-use.d.ts +61 -0
- package/dist/skills.d.ts +15 -0
- package/dist/slack-bot-scopes.d.ts +17 -12
- package/dist/slack-bot-scopes.js +10 -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 +8 -2
- package/dist/spreadsheet-artifact-query.d.ts +13 -6
- package/dist/spreadsheet-artifact-query.js +3 -3
- package/dist/subscription-account-actions.d.ts +64 -0
- package/dist/subscription-account-pools.d.ts +292 -0
- package/dist/subscription-personal-authority-v2.d.ts +28 -0
- package/dist/subscription-personal-authority-v2.js +12 -0
- package/dist/subscription-personal-authority-v2.js.map +1 -0
- package/dist/tool-action-review.d.ts +132 -0
- package/dist/tool-catalog.d.ts +408 -0
- package/dist/tool-policy.d.ts +5 -0
- package/dist/tool-review-presentation.d.ts +12 -0
- package/dist/tool-review-presentation.js +17 -0
- package/dist/tool-review-presentation.js.map +1 -0
- package/dist/transcription-recordings.d.ts +21 -0
- package/dist/turn-serving-policy.d.ts +221 -0
- package/dist/usage-allowances.d.ts +314 -0
- package/dist/usage-allowances.js +52 -0
- package/dist/usage-allowances.js.map +1 -0
- package/dist/vaults.d.ts +1286 -0
- package/dist/video-generation.d.ts +3 -0
- package/dist/video-generation.js +2 -1
- package/dist/workspace-integration-wire.d.ts +36 -0
- package/dist/workspace-integration-wire.js +23 -0
- package/dist/workspace-integration-wire.js.map +1 -0
- package/dist/workspace-integrations.d.ts +1028 -0
- package/dist/xai-provider-account-authority.js +2 -1
- package/package.json +93 -5
- package/src/agent-authored-durable-text.ts +14 -11
- package/src/agent-config.ts +1698 -0
- package/src/agent-instruction-changes.ts +91 -74
- package/src/agent-learning.ts +94 -67
- package/src/agent-topology.ts +57 -52
- package/src/allowance-refusal.ts +81 -0
- package/src/analytics-consent-report.ts +20 -0
- package/src/api-key-presets.ts +28 -0
- package/src/artifact-catalog.ts +82 -0
- package/src/artifacts.ts +299 -227
- package/src/atlassian-native-retirement.ts +33 -0
- package/src/atlassian.ts +135 -108
- package/src/browser-storage.ts +10 -0
- package/src/bundled-skills.ts +60 -17
- package/src/canonical-human-identities.ts +60 -58
- package/src/claude-provider-account-authority.ts +12 -0
- package/src/claude-subscription-oauth.ts +73 -0
- package/src/claude-subscription-usage.ts +68 -0
- package/src/client-error-report.ts +343 -0
- package/src/code-search.ts +105 -0
- package/src/codex-provider-account-authority.ts +21 -16
- package/src/company-brain-governed-writes.ts +255 -233
- package/src/company-brain.ts +164 -153
- package/src/company-profile.ts +365 -292
- package/src/connect.ts +212 -173
- package/src/connection-account-label.ts +46 -0
- package/src/connection-authority.ts +183 -364
- package/src/connector-attachments.ts +137 -122
- package/src/connector-destinations.ts +46 -42
- package/src/connector-tool-permissions.ts +117 -0
- package/src/cua-desktop-tools.gen.json +6512 -0
- package/src/cua-desktop-tools.linux.gen.json +6600 -0
- package/src/cua-desktop-tools.ts +36 -0
- package/src/cua-desktop-tools.windows.gen.json +6353 -0
- package/src/define-schema.ts +10 -0
- package/src/direct-model-provider.ts +108 -0
- package/src/editable-artifact-committed-transaction.ts +17 -0
- package/src/editable-artifact-versions.ts +7 -1
- package/src/event-preview.ts +53 -3
- package/src/external-identities.ts +249 -176
- package/src/feedback.ts +43 -30
- package/src/first-party-tool-authorization.ts +356 -0
- package/src/github-repository-contracts.ts +78 -64
- package/src/google-drive.ts +285 -234
- package/src/governed-learning-activation.ts +152 -131
- package/src/governed-learning-evaluator.ts +140 -133
- package/src/host-mcp-bindings.ts +252 -198
- package/src/image-generation.ts +104 -95
- package/src/index.ts +13235 -8687
- package/src/insights-usage.ts +727 -0
- package/src/interaction.ts +3070 -2326
- package/src/knowledge-entries.ts +361 -276
- package/src/knowledge-preparation.ts +57 -0
- package/src/knowledge.ts +246 -213
- package/src/managed-auth-session-sets.ts +220 -144
- package/src/managed-sign-in-methods.ts +52 -0
- package/src/mcp-catalog-limits.ts +2 -0
- package/src/mcp-oauth.ts +43 -34
- package/src/mcp-receipts.ts +192 -192
- package/src/mcp-structured-content.ts +81 -0
- package/src/memory-slack-delivery.ts +171 -142
- package/src/modal-native-proof-v2.ts +429 -0
- package/src/model-account-choice.ts +177 -0
- package/src/model-account-settings.ts +210 -0
- package/src/model-availability.ts +22 -0
- package/src/model-connection-access.ts +61 -14
- package/src/model-context-inspector.ts +133 -99
- package/src/model-display.ts +221 -0
- package/src/model-picker-order.ts +12 -1
- package/src/organization-access.ts +217 -0
- package/src/organization-integration-policy.ts +63 -0
- package/src/organization-membership-lifecycle.ts +528 -382
- package/src/organization-model-usage.ts +81 -0
- package/src/organization-recovery.ts +147 -135
- package/src/organization-usage.ts +94 -0
- package/src/permissions.ts +88 -52
- package/src/personal-github.ts +210 -171
- package/src/preference-registry.ts +314 -258
- package/src/prepared-mcp-setup.ts +189 -0
- package/src/product-analytics.ts +261 -0
- package/src/product-lifecycle-facts.ts +122 -0
- package/src/remember.ts +181 -167
- package/src/retained-output.ts +194 -165
- package/src/sandbox-file-artifacts.ts +60 -47
- package/src/sandbox-provider-command.ts +88 -20
- package/src/sandbox-recovery.ts +129 -0
- package/src/scoped-knowledge.ts +61 -43
- package/src/secret-generator.ts +155 -0
- package/src/secret-references.ts +414 -0
- package/src/secret-resolution.ts +274 -0
- package/src/secret-totp.ts +188 -0
- package/src/session-final-reply.ts +16 -0
- package/src/session-goal-reports.ts +64 -0
- package/src/session-history-import.ts +177 -0
- package/src/session-list-entries.ts +96 -0
- package/src/session-mcp-projections.ts +11 -0
- package/src/session-mcp-tool-permissions.ts +108 -0
- package/src/session-message-search.ts +61 -0
- package/src/session-target.ts +57 -0
- package/src/session-titles.ts +80 -10
- package/src/session-topology-primitives.ts +19 -12
- package/src/session-usage-limit-refusal.ts +101 -0
- package/src/session-usage-limits.ts +171 -0
- package/src/signup-attribution.ts +86 -0
- package/src/site-data.ts +339 -0
- package/src/site-operations.ts +154 -0
- package/src/site-publishing.ts +876 -0
- package/src/site-session-http.ts +294 -16
- package/src/site-sql.ts +1123 -0
- package/src/skill-catalog-context.ts +50 -0
- package/src/skill-files.ts +3 -3
- package/src/skill-use.ts +80 -0
- package/src/skills.ts +82 -54
- package/src/slack-bot-scopes.ts +31 -39
- package/src/slack-rest-mcp.ts +222 -0
- package/src/slack-task-policy.ts +96 -73
- package/src/spreadsheet-artifact-commands.ts +73 -2
- package/src/spreadsheet-artifact-query.ts +187 -39
- package/src/subscription-account-actions.ts +84 -0
- package/src/subscription-account-pools.ts +53 -0
- package/src/subscription-personal-authority-v2.ts +66 -0
- package/src/task-notes.ts +55 -51
- package/src/tool-action-review.ts +258 -0
- package/src/tool-catalog.ts +609 -372
- package/src/tool-policy.ts +82 -0
- package/src/tool-result-spill.ts +12 -9
- package/src/tool-review-presentation.ts +385 -0
- package/src/transcription-recordings.ts +145 -131
- package/src/turn-serving-policy.ts +166 -0
- package/src/usage-allowances.ts +248 -0
- package/src/vaults.ts +850 -0
- package/src/video-generation.ts +385 -360
- package/src/work-claims.ts +173 -149
- package/src/workspace-instruction-policies.ts +349 -276
- package/src/workspace-integration-wire.ts +101 -0
- package/src/workspace-integrations.ts +724 -0
- package/src/workspace-learning-administration.ts +57 -44
- package/src/workspace-learning-policy.ts +127 -96
- package/src/workspace-state.ts +250 -220
- package/src/xai-provider-account-authority.ts +22 -17
- package/dist/chunk-2AC63F4S.js +0 -171
- package/dist/chunk-2AC63F4S.js.map +0 -1
- package/dist/chunk-3SIZGL3O.js.map +0 -1
- package/dist/chunk-7ABONTXE.js.map +0 -1
- package/dist/chunk-BCS7WHCK.js +0 -139
- package/dist/chunk-BCS7WHCK.js.map +0 -1
- package/dist/chunk-GRG7PHWQ.js +0 -25
- package/dist/chunk-GRG7PHWQ.js.map +0 -1
- package/dist/chunk-JUFK3T4Q.js +0 -80
- package/dist/chunk-JUFK3T4Q.js.map +0 -1
- package/dist/chunk-M5ZGRVIQ.js +0 -719
- package/dist/chunk-M5ZGRVIQ.js.map +0 -1
- package/dist/chunk-MRWYRAS5.js.map +0 -1
- package/dist/chunk-OVFORMPW.js +0 -348
- package/dist/chunk-OVFORMPW.js.map +0 -1
- package/dist/chunk-P3HLDT77.js +0 -59
- package/dist/chunk-P3HLDT77.js.map +0 -1
- package/dist/chunk-QQUJ6NPW.js +0 -23093
- package/dist/chunk-QQUJ6NPW.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/host-mcp-resolvers.d.ts +0 -32
- package/dist/host-mcp-resolvers.js +0 -34
- package/dist/host-mcp-resolvers.js.map +0 -1
- package/src/host-mcp-resolvers.ts +0 -50
- /package/dist/{chunk-5LYFSZ7O.js.map → chunk-352X6ENP.js.map} +0 -0
- /package/dist/{chunk-O5LEQHDM.js.map → chunk-Z7WEVGCL.js.map} +0 -0
|
@@ -1,290 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
/** The only generic grant action that authorizes use of a connection. */
|
|
3
|
-
export declare const ConnectionUseAction: z.ZodLiteral<"connection.use">;
|
|
4
|
-
export type ConnectionUseAction = z.infer<typeof ConnectionUseAction>;
|
|
5
|
-
/**
|
|
6
|
-
* Connection authority is either workspace-owned or user-owned. Omission is
|
|
7
|
-
* intentionally compatible with the historical workspace connection path.
|
|
8
|
-
*/
|
|
9
|
-
export declare const ConnectionAuthorityEnvelope: z.ZodObject<{
|
|
10
|
-
scope: z.ZodDefault<z.ZodEnum<{
|
|
11
|
-
user: "user";
|
|
12
|
-
workspace: "workspace";
|
|
13
|
-
}>>;
|
|
14
|
-
userDelegation: z.ZodOptional<z.ZodObject<{
|
|
15
|
-
authorityId: z.ZodString;
|
|
16
|
-
grantId: z.ZodString;
|
|
17
|
-
organizationId: z.ZodString;
|
|
18
|
-
workspaceId: z.ZodString;
|
|
19
|
-
sessionId: z.ZodNullable<z.ZodString>;
|
|
20
|
-
action: z.ZodString;
|
|
21
|
-
mode: z.ZodEnum<{
|
|
22
|
-
always: "always";
|
|
23
|
-
once: "once";
|
|
24
|
-
session: "session";
|
|
25
|
-
}>;
|
|
26
|
-
context: z.ZodEnum<{
|
|
27
|
-
user_private: "user_private";
|
|
28
|
-
workspace_shared: "workspace_shared";
|
|
29
|
-
}>;
|
|
30
|
-
authorityEpoch: z.ZodNullable<z.ZodNumber>;
|
|
31
|
-
authorityGeneration: z.ZodNumber;
|
|
32
|
-
grantGeneration: z.ZodNumber;
|
|
33
|
-
resourceVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
-
}, z.core.$strip>>;
|
|
35
|
-
}, z.core.$strict>;
|
|
36
|
-
export type ConnectionAuthorityEnvelope = z.infer<typeof ConnectionAuthorityEnvelope>;
|
|
37
|
-
export declare const ConnectionAuthorityGrant: z.ZodObject<{
|
|
38
|
-
grantId: z.ZodString;
|
|
39
|
-
targetWorkspaceId: z.ZodString;
|
|
40
|
-
targetSessionId: z.ZodNullable<z.ZodString>;
|
|
41
|
-
mode: z.ZodEnum<{
|
|
42
|
-
always: "always";
|
|
43
|
-
once: "once";
|
|
44
|
-
session: "session";
|
|
45
|
-
}>;
|
|
46
|
-
context: z.ZodEnum<{
|
|
47
|
-
user_private: "user_private";
|
|
48
|
-
workspace_shared: "workspace_shared";
|
|
49
|
-
}>;
|
|
50
|
-
authorityEpoch: z.ZodNullable<z.ZodNumber>;
|
|
51
|
-
generation: z.ZodNumber;
|
|
52
|
-
status: z.ZodEnum<{
|
|
53
|
-
active: "active";
|
|
54
|
-
consumed: "consumed";
|
|
55
|
-
expired: "expired";
|
|
56
|
-
revoked: "revoked";
|
|
57
|
-
}>;
|
|
58
|
-
expiresAt: z.ZodNullable<z.ZodString>;
|
|
59
|
-
delegation: z.ZodLazy<z.ZodObject<{
|
|
60
|
-
authorityId: z.ZodString;
|
|
61
|
-
grantId: z.ZodString;
|
|
62
|
-
organizationId: z.ZodString;
|
|
63
|
-
workspaceId: z.ZodString;
|
|
64
|
-
sessionId: z.ZodNullable<z.ZodString>;
|
|
65
|
-
action: z.ZodString;
|
|
66
|
-
mode: z.ZodEnum<{
|
|
67
|
-
always: "always";
|
|
68
|
-
once: "once";
|
|
69
|
-
session: "session";
|
|
70
|
-
}>;
|
|
71
|
-
context: z.ZodEnum<{
|
|
72
|
-
user_private: "user_private";
|
|
73
|
-
workspace_shared: "workspace_shared";
|
|
74
|
-
}>;
|
|
75
|
-
authorityEpoch: z.ZodNullable<z.ZodNumber>;
|
|
76
|
-
authorityGeneration: z.ZodNumber;
|
|
77
|
-
grantGeneration: z.ZodNumber;
|
|
78
|
-
resourceVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
79
|
-
}, z.core.$strip>>;
|
|
80
|
-
action: z.ZodLiteral<"connection.use">;
|
|
81
|
-
}, z.core.$strict>;
|
|
82
|
-
export type ConnectionAuthorityGrant = z.infer<typeof ConnectionAuthorityGrant>;
|
|
83
|
-
/** Owner-only opaque projection; connection identity and owner metadata stay server-side. */
|
|
84
|
-
export declare const ConnectionAuthoritySummary: z.ZodObject<{
|
|
85
|
-
authorityId: z.ZodString;
|
|
86
|
-
resourceId: z.ZodString;
|
|
87
|
-
originWorkspaceId: z.ZodNullable<z.ZodString>;
|
|
88
|
-
generation: z.ZodNumber;
|
|
89
|
-
status: z.ZodEnum<{
|
|
90
|
-
active: "active";
|
|
91
|
-
retained: "retained";
|
|
92
|
-
revoked: "revoked";
|
|
93
|
-
}>;
|
|
94
|
-
grants: z.ZodArray<z.ZodObject<{
|
|
95
|
-
grantId: z.ZodString;
|
|
96
|
-
targetWorkspaceId: z.ZodString;
|
|
97
|
-
targetSessionId: z.ZodNullable<z.ZodString>;
|
|
98
|
-
mode: z.ZodEnum<{
|
|
99
|
-
always: "always";
|
|
100
|
-
once: "once";
|
|
101
|
-
session: "session";
|
|
102
|
-
}>;
|
|
103
|
-
context: z.ZodEnum<{
|
|
104
|
-
user_private: "user_private";
|
|
105
|
-
workspace_shared: "workspace_shared";
|
|
106
|
-
}>;
|
|
107
|
-
authorityEpoch: z.ZodNullable<z.ZodNumber>;
|
|
108
|
-
generation: z.ZodNumber;
|
|
109
|
-
status: z.ZodEnum<{
|
|
110
|
-
active: "active";
|
|
111
|
-
consumed: "consumed";
|
|
112
|
-
expired: "expired";
|
|
113
|
-
revoked: "revoked";
|
|
114
|
-
}>;
|
|
115
|
-
expiresAt: z.ZodNullable<z.ZodString>;
|
|
116
|
-
delegation: z.ZodLazy<z.ZodObject<{
|
|
117
|
-
authorityId: z.ZodString;
|
|
118
|
-
grantId: z.ZodString;
|
|
119
|
-
organizationId: z.ZodString;
|
|
120
|
-
workspaceId: z.ZodString;
|
|
121
|
-
sessionId: z.ZodNullable<z.ZodString>;
|
|
122
|
-
action: z.ZodString;
|
|
123
|
-
mode: z.ZodEnum<{
|
|
124
|
-
always: "always";
|
|
125
|
-
once: "once";
|
|
126
|
-
session: "session";
|
|
127
|
-
}>;
|
|
128
|
-
context: z.ZodEnum<{
|
|
129
|
-
user_private: "user_private";
|
|
130
|
-
workspace_shared: "workspace_shared";
|
|
131
|
-
}>;
|
|
132
|
-
authorityEpoch: z.ZodNullable<z.ZodNumber>;
|
|
133
|
-
authorityGeneration: z.ZodNumber;
|
|
134
|
-
grantGeneration: z.ZodNumber;
|
|
135
|
-
resourceVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
136
|
-
}, z.core.$strip>>;
|
|
137
|
-
action: z.ZodLiteral<"connection.use">;
|
|
138
|
-
}, z.core.$strict>>;
|
|
139
|
-
}, z.core.$strict>;
|
|
140
|
-
export type ConnectionAuthoritySummary = z.infer<typeof ConnectionAuthoritySummary>;
|
|
141
|
-
export declare const ListConnectionAuthoritiesQuery: z.ZodObject<{
|
|
142
|
-
scope: z.ZodLiteral<"user">;
|
|
143
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
144
|
-
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
145
|
-
}, z.core.$strict>;
|
|
146
|
-
export declare const ListConnectionAuthoritiesResponse: z.ZodObject<{
|
|
147
|
-
scope: z.ZodLiteral<"user">;
|
|
148
|
-
authorities: z.ZodArray<z.ZodObject<{
|
|
149
|
-
authorityId: z.ZodString;
|
|
150
|
-
resourceId: z.ZodString;
|
|
151
|
-
originWorkspaceId: z.ZodNullable<z.ZodString>;
|
|
152
|
-
generation: z.ZodNumber;
|
|
153
|
-
status: z.ZodEnum<{
|
|
154
|
-
active: "active";
|
|
155
|
-
retained: "retained";
|
|
156
|
-
revoked: "revoked";
|
|
157
|
-
}>;
|
|
158
|
-
grants: z.ZodArray<z.ZodObject<{
|
|
159
|
-
grantId: z.ZodString;
|
|
160
|
-
targetWorkspaceId: z.ZodString;
|
|
161
|
-
targetSessionId: z.ZodNullable<z.ZodString>;
|
|
162
|
-
mode: z.ZodEnum<{
|
|
163
|
-
always: "always";
|
|
164
|
-
once: "once";
|
|
165
|
-
session: "session";
|
|
166
|
-
}>;
|
|
167
|
-
context: z.ZodEnum<{
|
|
168
|
-
user_private: "user_private";
|
|
169
|
-
workspace_shared: "workspace_shared";
|
|
170
|
-
}>;
|
|
171
|
-
authorityEpoch: z.ZodNullable<z.ZodNumber>;
|
|
172
|
-
generation: z.ZodNumber;
|
|
173
|
-
status: z.ZodEnum<{
|
|
174
|
-
active: "active";
|
|
175
|
-
consumed: "consumed";
|
|
176
|
-
expired: "expired";
|
|
177
|
-
revoked: "revoked";
|
|
178
|
-
}>;
|
|
179
|
-
expiresAt: z.ZodNullable<z.ZodString>;
|
|
180
|
-
delegation: z.ZodLazy<z.ZodObject<{
|
|
181
|
-
authorityId: z.ZodString;
|
|
182
|
-
grantId: z.ZodString;
|
|
183
|
-
organizationId: z.ZodString;
|
|
184
|
-
workspaceId: z.ZodString;
|
|
185
|
-
sessionId: z.ZodNullable<z.ZodString>;
|
|
186
|
-
action: z.ZodString;
|
|
187
|
-
mode: z.ZodEnum<{
|
|
188
|
-
always: "always";
|
|
189
|
-
once: "once";
|
|
190
|
-
session: "session";
|
|
191
|
-
}>;
|
|
192
|
-
context: z.ZodEnum<{
|
|
193
|
-
user_private: "user_private";
|
|
194
|
-
workspace_shared: "workspace_shared";
|
|
195
|
-
}>;
|
|
196
|
-
authorityEpoch: z.ZodNullable<z.ZodNumber>;
|
|
197
|
-
authorityGeneration: z.ZodNumber;
|
|
198
|
-
grantGeneration: z.ZodNumber;
|
|
199
|
-
resourceVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
200
|
-
}, z.core.$strip>>;
|
|
201
|
-
action: z.ZodLiteral<"connection.use">;
|
|
202
|
-
}, z.core.$strict>>;
|
|
203
|
-
}, z.core.$strict>>;
|
|
204
|
-
nextCursor: z.ZodNullable<z.ZodString>;
|
|
205
|
-
}, z.core.$strict>;
|
|
206
|
-
export declare const IssueConnectionUseGrantRequest: z.ZodObject<{
|
|
207
|
-
scope: z.ZodLiteral<"user">;
|
|
208
|
-
mode: z.ZodEnum<{
|
|
209
|
-
always: "always";
|
|
210
|
-
session: "session";
|
|
211
|
-
}>;
|
|
212
|
-
context: z.ZodEnum<{
|
|
213
|
-
user_private: "user_private";
|
|
214
|
-
workspace_shared: "workspace_shared";
|
|
215
|
-
}>;
|
|
216
|
-
sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
217
|
-
expectedAuthorityEpoch: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
218
|
-
workspaceSharedAcknowledged: z.ZodDefault<z.ZodBoolean>;
|
|
219
|
-
}, z.core.$strict>;
|
|
220
|
-
export type IssueConnectionUseGrantRequest = z.infer<typeof IssueConnectionUseGrantRequest>;
|
|
221
|
-
export declare const RevokeConnectionUseGrantQuery: z.ZodObject<{
|
|
222
|
-
scope: z.ZodLiteral<"user">;
|
|
223
|
-
}, z.core.$strict>;
|
|
224
|
-
export declare const ConnectionUseGrantMutationResponse: z.ZodObject<{
|
|
225
|
-
scope: z.ZodLiteral<"user">;
|
|
226
|
-
grant: z.ZodObject<{
|
|
227
|
-
grantId: z.ZodString;
|
|
228
|
-
targetWorkspaceId: z.ZodString;
|
|
229
|
-
targetSessionId: z.ZodNullable<z.ZodString>;
|
|
230
|
-
mode: z.ZodEnum<{
|
|
231
|
-
always: "always";
|
|
232
|
-
once: "once";
|
|
233
|
-
session: "session";
|
|
234
|
-
}>;
|
|
235
|
-
context: z.ZodEnum<{
|
|
236
|
-
user_private: "user_private";
|
|
237
|
-
workspace_shared: "workspace_shared";
|
|
238
|
-
}>;
|
|
239
|
-
authorityEpoch: z.ZodNullable<z.ZodNumber>;
|
|
240
|
-
generation: z.ZodNumber;
|
|
241
|
-
status: z.ZodEnum<{
|
|
242
|
-
active: "active";
|
|
243
|
-
consumed: "consumed";
|
|
244
|
-
expired: "expired";
|
|
245
|
-
revoked: "revoked";
|
|
246
|
-
}>;
|
|
247
|
-
expiresAt: z.ZodNullable<z.ZodString>;
|
|
248
|
-
delegation: z.ZodLazy<z.ZodObject<{
|
|
249
|
-
authorityId: z.ZodString;
|
|
250
|
-
grantId: z.ZodString;
|
|
251
|
-
organizationId: z.ZodString;
|
|
252
|
-
workspaceId: z.ZodString;
|
|
253
|
-
sessionId: z.ZodNullable<z.ZodString>;
|
|
254
|
-
action: z.ZodString;
|
|
255
|
-
mode: z.ZodEnum<{
|
|
256
|
-
always: "always";
|
|
257
|
-
once: "once";
|
|
258
|
-
session: "session";
|
|
259
|
-
}>;
|
|
260
|
-
context: z.ZodEnum<{
|
|
261
|
-
user_private: "user_private";
|
|
262
|
-
workspace_shared: "workspace_shared";
|
|
263
|
-
}>;
|
|
264
|
-
authorityEpoch: z.ZodNullable<z.ZodNumber>;
|
|
265
|
-
authorityGeneration: z.ZodNumber;
|
|
266
|
-
grantGeneration: z.ZodNumber;
|
|
267
|
-
resourceVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
268
|
-
}, z.core.$strip>>;
|
|
269
|
-
action: z.ZodLiteral<"connection.use">;
|
|
270
|
-
}, z.core.$strict>;
|
|
271
|
-
}, z.core.$strict>;
|
|
272
|
-
export type ConnectionUseGrantMutationResponse = z.infer<typeof ConnectionUseGrantMutationResponse>;
|
|
273
|
-
export declare const ConnectionUseGrantRevocationResponse: z.ZodObject<{
|
|
274
|
-
scope: z.ZodLiteral<"user">;
|
|
275
|
-
grant: z.ZodObject<{
|
|
276
|
-
grantId: z.ZodString;
|
|
277
|
-
generation: z.ZodNumber;
|
|
278
|
-
status: z.ZodLiteral<"revoked">;
|
|
279
|
-
revokedAt: z.ZodString;
|
|
280
|
-
}, z.core.$strict>;
|
|
281
|
-
}, z.core.$strict>;
|
|
282
|
-
export type ConnectionUseGrantRevocationResponse = z.infer<typeof ConnectionUseGrantRevocationResponse>;
|
|
283
2
|
export declare const ConnectionAuthoritySelectionSource: z.ZodEnum<{
|
|
284
3
|
explicit_workspace: "explicit_workspace";
|
|
285
|
-
|
|
286
|
-
legacy_workspace_omission: "legacy_workspace_omission";
|
|
287
|
-
user_delegation: "user_delegation";
|
|
4
|
+
sender: "sender";
|
|
288
5
|
}>;
|
|
289
6
|
export type ConnectionAuthoritySelectionSource = z.infer<typeof ConnectionAuthoritySelectionSource>;
|
|
290
7
|
export declare const ConnectionUseSelectionSource: z.ZodString;
|
|
@@ -324,7 +41,6 @@ export declare const ConnectionUseAuthoritySnapshot: z.ZodObject<{
|
|
|
324
41
|
oauth2: "oauth2";
|
|
325
42
|
}>;
|
|
326
43
|
scope: z.ZodEnum<{
|
|
327
|
-
legacy_user: "legacy_user";
|
|
328
44
|
user: "user";
|
|
329
45
|
workspace: "workspace";
|
|
330
46
|
}>;
|
|
@@ -333,32 +49,10 @@ export declare const ConnectionUseAuthoritySnapshot: z.ZodObject<{
|
|
|
333
49
|
ownerMembershipAuthorizationRevision: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
334
50
|
authoritySource: z.ZodEnum<{
|
|
335
51
|
explicit_workspace: "explicit_workspace";
|
|
336
|
-
|
|
337
|
-
legacy_workspace_omission: "legacy_workspace_omission";
|
|
338
|
-
user_delegation: "user_delegation";
|
|
52
|
+
sender: "sender";
|
|
339
53
|
}>;
|
|
340
54
|
selectionSources: z.ZodArray<z.ZodString>;
|
|
341
|
-
userDelegation: z.
|
|
342
|
-
authorityId: z.ZodString;
|
|
343
|
-
grantId: z.ZodString;
|
|
344
|
-
organizationId: z.ZodString;
|
|
345
|
-
workspaceId: z.ZodString;
|
|
346
|
-
sessionId: z.ZodNullable<z.ZodString>;
|
|
347
|
-
action: z.ZodString;
|
|
348
|
-
mode: z.ZodEnum<{
|
|
349
|
-
always: "always";
|
|
350
|
-
once: "once";
|
|
351
|
-
session: "session";
|
|
352
|
-
}>;
|
|
353
|
-
context: z.ZodEnum<{
|
|
354
|
-
user_private: "user_private";
|
|
355
|
-
workspace_shared: "workspace_shared";
|
|
356
|
-
}>;
|
|
357
|
-
authorityEpoch: z.ZodNullable<z.ZodNumber>;
|
|
358
|
-
authorityGeneration: z.ZodNumber;
|
|
359
|
-
grantGeneration: z.ZodNumber;
|
|
360
|
-
resourceVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
361
|
-
}, z.core.$strip>>;
|
|
55
|
+
userDelegation: z.ZodNull;
|
|
362
56
|
}, z.core.$strict>;
|
|
363
57
|
export type ConnectionUseAuthoritySnapshot = z.infer<typeof ConnectionUseAuthoritySnapshot>;
|
|
364
58
|
export declare const ConnectionUseDenialReason: z.ZodEnum<{
|
|
@@ -395,14 +89,13 @@ export declare const ConnectionUseAttribution: z.ZodObject<{
|
|
|
395
89
|
sessionId: z.ZodString;
|
|
396
90
|
connectionId: z.ZodString;
|
|
397
91
|
connectionGeneration: z.ZodNumber;
|
|
92
|
+
ownerSubjectId: z.ZodNullable<z.ZodString>;
|
|
93
|
+
authorityId: z.ZodNullable<z.ZodString>;
|
|
398
94
|
scope: z.ZodEnum<{
|
|
399
|
-
legacy_user: "legacy_user";
|
|
400
95
|
user: "user";
|
|
401
96
|
workspace: "workspace";
|
|
402
97
|
}>;
|
|
403
|
-
|
|
404
|
-
authorityId: z.ZodNullable<z.ZodString>;
|
|
405
|
-
grantId: z.ZodNullable<z.ZodString>;
|
|
98
|
+
grantId: z.ZodNull;
|
|
406
99
|
}, z.core.$strict>;
|
|
407
100
|
export type ConnectionUseAttribution = z.infer<typeof ConnectionUseAttribution>;
|
|
408
101
|
export declare const ConnectionUseAuditFact: z.ZodObject<{
|
|
@@ -460,14 +153,13 @@ export declare const ConnectionUseAuthorizationResult: z.ZodDiscriminatedUnion<[
|
|
|
460
153
|
sessionId: z.ZodString;
|
|
461
154
|
connectionId: z.ZodString;
|
|
462
155
|
connectionGeneration: z.ZodNumber;
|
|
156
|
+
ownerSubjectId: z.ZodNullable<z.ZodString>;
|
|
157
|
+
authorityId: z.ZodNullable<z.ZodString>;
|
|
463
158
|
scope: z.ZodEnum<{
|
|
464
|
-
legacy_user: "legacy_user";
|
|
465
159
|
user: "user";
|
|
466
160
|
workspace: "workspace";
|
|
467
161
|
}>;
|
|
468
|
-
|
|
469
|
-
authorityId: z.ZodNullable<z.ZodString>;
|
|
470
|
-
grantId: z.ZodNullable<z.ZodString>;
|
|
162
|
+
grantId: z.ZodNull;
|
|
471
163
|
}, z.core.$strict>;
|
|
472
164
|
}, z.core.$strict>, z.ZodObject<{
|
|
473
165
|
status: z.ZodLiteral<"denied">;
|
|
@@ -1,62 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
|
-
ConnectionAuthorityEnvelope,
|
|
3
|
-
ConnectionAuthorityGrant,
|
|
4
2
|
ConnectionAuthoritySelectionSource,
|
|
5
|
-
ConnectionAuthoritySummary,
|
|
6
|
-
ConnectionUseAction,
|
|
7
3
|
ConnectionUseAttribution,
|
|
8
4
|
ConnectionUseAuditFact,
|
|
9
5
|
ConnectionUseAuthoritySnapshot,
|
|
10
6
|
ConnectionUseAuthorizationResult,
|
|
11
7
|
ConnectionUseDenialReason,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
8
|
+
ConnectionUseSelectionSource
|
|
9
|
+
} from "./chunk-6C2HKFTU.js";
|
|
10
|
+
import "./chunk-OF6OKOBF.js";
|
|
11
|
+
import "./chunk-EFZYKUE2.js";
|
|
12
|
+
import "./chunk-Z7WEVGCL.js";
|
|
13
|
+
import "./chunk-4JGHSSB7.js";
|
|
14
|
+
import "./chunk-2ZIHHL72.js";
|
|
15
|
+
import "./chunk-LZ2LAHIX.js";
|
|
16
|
+
import "./chunk-NDZHPTCL.js";
|
|
17
|
+
import "./chunk-SHO4YO4B.js";
|
|
18
|
+
import "./chunk-TSWWZMUS.js";
|
|
19
|
+
import "./chunk-XDLAGX66.js";
|
|
20
|
+
import "./chunk-4VDMHLLL.js";
|
|
21
|
+
import "./chunk-E3GGUBHS.js";
|
|
22
|
+
import "./chunk-KHHZTBP7.js";
|
|
23
|
+
import "./chunk-6IXO76Z6.js";
|
|
27
24
|
import "./chunk-NVJMJWLL.js";
|
|
25
|
+
import "./chunk-352X6ENP.js";
|
|
28
26
|
import "./chunk-YRKRZ6OF.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-J4HQ3UKY.js";
|
|
28
|
+
import "./chunk-YKZ4WU4P.js";
|
|
29
|
+
import "./chunk-TLU3UEMD.js";
|
|
30
|
+
import "./chunk-OL23ARTF.js";
|
|
31
|
+
import "./chunk-TCXCRBPF.js";
|
|
32
|
+
import "./chunk-ZDCRWCGZ.js";
|
|
33
|
+
import "./chunk-SWRN2DJ3.js";
|
|
34
|
+
import "./chunk-HRRU4QPI.js";
|
|
35
|
+
import "./chunk-IK36LXKC.js";
|
|
36
36
|
import "./chunk-RIY7GYQS.js";
|
|
37
|
+
import "./chunk-4QO6GJUX.js";
|
|
38
|
+
import "./chunk-EKWNTOG3.js";
|
|
39
|
+
import "./chunk-56SNIMDO.js";
|
|
40
|
+
import "./chunk-D2HKF2EF.js";
|
|
37
41
|
import "./chunk-MYBZRDTY.js";
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-PUIUXIOL.js";
|
|
43
|
+
import "./chunk-RKX3NQYS.js";
|
|
44
|
+
import "./chunk-7272KVWZ.js";
|
|
45
|
+
import "./chunk-RMWXDZEO.js";
|
|
46
|
+
import "./chunk-ILJ72KPO.js";
|
|
47
|
+
import "./chunk-WVCFSOUZ.js";
|
|
43
48
|
export {
|
|
44
|
-
ConnectionAuthorityEnvelope,
|
|
45
|
-
ConnectionAuthorityGrant,
|
|
46
49
|
ConnectionAuthoritySelectionSource,
|
|
47
|
-
ConnectionAuthoritySummary,
|
|
48
|
-
ConnectionUseAction,
|
|
49
50
|
ConnectionUseAttribution,
|
|
50
51
|
ConnectionUseAuditFact,
|
|
51
52
|
ConnectionUseAuthoritySnapshot,
|
|
52
53
|
ConnectionUseAuthorizationResult,
|
|
53
54
|
ConnectionUseDenialReason,
|
|
54
|
-
|
|
55
|
-
ConnectionUseGrantRevocationResponse,
|
|
56
|
-
ConnectionUseSelectionSource,
|
|
57
|
-
IssueConnectionUseGrantRequest,
|
|
58
|
-
ListConnectionAuthoritiesQuery,
|
|
59
|
-
ListConnectionAuthoritiesResponse,
|
|
60
|
-
RevokeConnectionUseGrantQuery
|
|
55
|
+
ConnectionUseSelectionSource
|
|
61
56
|
};
|
|
62
57
|
//# sourceMappingURL=connection-authority.js.map
|
|
@@ -22,7 +22,8 @@ import {
|
|
|
22
22
|
ConnectorAttachmentTransfer,
|
|
23
23
|
ConnectorAttachmentTransferEnvelope,
|
|
24
24
|
parseConnectorAttachmentTransferEnvelope
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-ZDCRWCGZ.js";
|
|
26
|
+
import "./chunk-56SNIMDO.js";
|
|
26
27
|
export {
|
|
27
28
|
CONNECTOR_ATTACHMENT_FILENAME_MAX_UTF8_BYTES,
|
|
28
29
|
CONNECTOR_ATTACHMENT_MAX_BYTES,
|
|
@@ -7,7 +7,8 @@ import {
|
|
|
7
7
|
connectorDocumentDestinationCollectionId,
|
|
8
8
|
legacyWorkspaceConnectorDocumentDestination,
|
|
9
9
|
resolveConnectorDocumentDestination
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LZ2LAHIX.js";
|
|
11
|
+
import "./chunk-56SNIMDO.js";
|
|
11
12
|
export {
|
|
12
13
|
ConnectorDocumentDestination,
|
|
13
14
|
ConnectorDocumentDestinationAuthority,
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const ConnectorToolPermission: z.ZodEnum<{
|
|
3
|
+
allow: "allow";
|
|
4
|
+
ask: "ask";
|
|
5
|
+
block: "block";
|
|
6
|
+
}>;
|
|
7
|
+
export type ConnectorToolPermission = z.infer<typeof ConnectorToolPermission>;
|
|
8
|
+
export declare const ConnectorToolPermissionEntry: z.ZodObject<{
|
|
9
|
+
name: z.ZodString;
|
|
10
|
+
title: z.ZodOptional<z.ZodString>;
|
|
11
|
+
description: z.ZodOptional<z.ZodString>;
|
|
12
|
+
group: z.ZodEnum<{
|
|
13
|
+
other: "other";
|
|
14
|
+
read: "read";
|
|
15
|
+
write: "write";
|
|
16
|
+
}>;
|
|
17
|
+
permission: z.ZodEnum<{
|
|
18
|
+
allow: "allow";
|
|
19
|
+
ask: "ask";
|
|
20
|
+
block: "block";
|
|
21
|
+
}>;
|
|
22
|
+
inherited: z.ZodBoolean;
|
|
23
|
+
resetReason: z.ZodOptional<z.ZodLiteral<"operation_changed">>;
|
|
24
|
+
approvalRequired: z.ZodBoolean;
|
|
25
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
26
|
+
action: "action";
|
|
27
|
+
conflict: "conflict";
|
|
28
|
+
connector_default: "connector_default";
|
|
29
|
+
recommended: "recommended";
|
|
30
|
+
tool: "tool";
|
|
31
|
+
}>>;
|
|
32
|
+
conditional: z.ZodOptional<z.ZodBoolean>;
|
|
33
|
+
actionPermissions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
34
|
+
actionName: z.ZodString;
|
|
35
|
+
permission: z.ZodEnum<{
|
|
36
|
+
allow: "allow";
|
|
37
|
+
ask: "ask";
|
|
38
|
+
block: "block";
|
|
39
|
+
}>;
|
|
40
|
+
}, z.core.$strip>>>;
|
|
41
|
+
}, z.core.$strip>;
|
|
42
|
+
export type ConnectorToolPermissionEntry = z.infer<typeof ConnectorToolPermissionEntry>;
|
|
43
|
+
export declare const ConnectorToolPermissionsResponse: z.ZodObject<{
|
|
44
|
+
connectionId: z.ZodString;
|
|
45
|
+
serverId: z.ZodString;
|
|
46
|
+
defaultPermission: z.ZodNullable<z.ZodEnum<{
|
|
47
|
+
allow: "allow";
|
|
48
|
+
ask: "ask";
|
|
49
|
+
block: "block";
|
|
50
|
+
}>>;
|
|
51
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
52
|
+
name: z.ZodString;
|
|
53
|
+
title: z.ZodOptional<z.ZodString>;
|
|
54
|
+
description: z.ZodOptional<z.ZodString>;
|
|
55
|
+
group: z.ZodEnum<{
|
|
56
|
+
other: "other";
|
|
57
|
+
read: "read";
|
|
58
|
+
write: "write";
|
|
59
|
+
}>;
|
|
60
|
+
permission: z.ZodEnum<{
|
|
61
|
+
allow: "allow";
|
|
62
|
+
ask: "ask";
|
|
63
|
+
block: "block";
|
|
64
|
+
}>;
|
|
65
|
+
inherited: z.ZodBoolean;
|
|
66
|
+
resetReason: z.ZodOptional<z.ZodLiteral<"operation_changed">>;
|
|
67
|
+
approvalRequired: z.ZodBoolean;
|
|
68
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
69
|
+
action: "action";
|
|
70
|
+
conflict: "conflict";
|
|
71
|
+
connector_default: "connector_default";
|
|
72
|
+
recommended: "recommended";
|
|
73
|
+
tool: "tool";
|
|
74
|
+
}>>;
|
|
75
|
+
conditional: z.ZodOptional<z.ZodBoolean>;
|
|
76
|
+
actionPermissions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
77
|
+
actionName: z.ZodString;
|
|
78
|
+
permission: z.ZodEnum<{
|
|
79
|
+
allow: "allow";
|
|
80
|
+
ask: "ask";
|
|
81
|
+
block: "block";
|
|
82
|
+
}>;
|
|
83
|
+
}, z.core.$strip>>>;
|
|
84
|
+
}, z.core.$strip>>;
|
|
85
|
+
discoveryError: z.ZodNullable<z.ZodString>;
|
|
86
|
+
canManage: z.ZodBoolean;
|
|
87
|
+
appliesTo: z.ZodOptional<z.ZodLiteral<"next_attempt">>;
|
|
88
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
89
|
+
accountLabel: z.ZodOptional<z.ZodString>;
|
|
90
|
+
instanceKey: z.ZodOptional<z.ZodString>;
|
|
91
|
+
accounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
92
|
+
connectionId: z.ZodString;
|
|
93
|
+
label: z.ZodString;
|
|
94
|
+
scope: z.ZodEnum<{
|
|
95
|
+
none: "none";
|
|
96
|
+
personal: "personal";
|
|
97
|
+
workspace: "workspace";
|
|
98
|
+
}>;
|
|
99
|
+
instanceKey: z.ZodOptional<z.ZodString>;
|
|
100
|
+
}, z.core.$strip>>>;
|
|
101
|
+
}, z.core.$strip>;
|
|
102
|
+
export type ConnectorToolPermissionsResponse = z.infer<typeof ConnectorToolPermissionsResponse>;
|
|
103
|
+
export declare const UpdateConnectorToolPermissionsRequest: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
104
|
+
connectionId: z.ZodString;
|
|
105
|
+
target: z.ZodLiteral<"default">;
|
|
106
|
+
permission: z.ZodNullable<z.ZodEnum<{
|
|
107
|
+
allow: "allow";
|
|
108
|
+
ask: "ask";
|
|
109
|
+
block: "block";
|
|
110
|
+
}>>;
|
|
111
|
+
expectedRevision: z.ZodOptional<z.ZodString>;
|
|
112
|
+
instanceKey: z.ZodOptional<z.ZodString>;
|
|
113
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
114
|
+
connectionId: z.ZodString;
|
|
115
|
+
target: z.ZodLiteral<"tools">;
|
|
116
|
+
toolNames: z.ZodArray<z.ZodString>;
|
|
117
|
+
permission: z.ZodNullable<z.ZodEnum<{
|
|
118
|
+
allow: "allow";
|
|
119
|
+
ask: "ask";
|
|
120
|
+
block: "block";
|
|
121
|
+
}>>;
|
|
122
|
+
expectedRevision: z.ZodOptional<z.ZodString>;
|
|
123
|
+
instanceKey: z.ZodOptional<z.ZodString>;
|
|
124
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
125
|
+
connectionId: z.ZodString;
|
|
126
|
+
target: z.ZodLiteral<"action">;
|
|
127
|
+
toolName: z.ZodString;
|
|
128
|
+
actionName: z.ZodString;
|
|
129
|
+
permission: z.ZodNullable<z.ZodEnum<{
|
|
130
|
+
allow: "allow";
|
|
131
|
+
ask: "ask";
|
|
132
|
+
block: "block";
|
|
133
|
+
}>>;
|
|
134
|
+
expectedRevision: z.ZodOptional<z.ZodString>;
|
|
135
|
+
instanceKey: z.ZodOptional<z.ZodString>;
|
|
136
|
+
}, z.core.$strict>], "target">;
|
|
137
|
+
export type UpdateConnectorToolPermissionsRequest = z.infer<typeof UpdateConnectorToolPermissionsRequest>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/** Generated from the bundled CUA worker's listToolsJson(). Never from a live desktop. */
|
|
2
|
+
export type CuaDesktopTool = {
|
|
3
|
+
name: string;
|
|
4
|
+
description: string;
|
|
5
|
+
inputSchema: Record<string, unknown>;
|
|
6
|
+
outputSchema?: Record<string, unknown>;
|
|
7
|
+
annotations: Record<string, boolean>;
|
|
8
|
+
capabilities: string[];
|
|
9
|
+
};
|
|
10
|
+
export declare const CUA_DESKTOP_TOOLS: readonly CuaDesktopTool[];
|
|
11
|
+
export declare const CUA_LINUX_DESKTOP_TOOLS: readonly CuaDesktopTool[];
|
|
12
|
+
/** Windows publishes its own input schemas and omits tools it does not implement. */
|
|
13
|
+
export declare const CUA_WINDOWS_DESKTOP_TOOLS: readonly CuaDesktopTool[];
|
|
14
|
+
export declare function cuaDesktopToolsFor(platform: "macos" | "windows" | "linux"): readonly CuaDesktopTool[];
|
|
15
|
+
/** Keep platform contracts intact; the session's worker enforces its own variant. */
|
|
16
|
+
export declare function cuaDesktopToolVariants(name: string): readonly CuaDesktopTool[];
|
|
17
|
+
export declare function isCuaDesktopModelTool(name: string | null): boolean;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Construct a schema eagerly, but give bundlers one removable boundary around
|
|
3
|
+
* the whole initializer (including nested schemas and chained builders).
|
|
4
|
+
* Annotate calls with @__PURE__ only when the factory has no effects beyond
|
|
5
|
+
* constructing its returned schema. This is not lazy validation: used schemas
|
|
6
|
+
* are created once, in the same module evaluation order as ordinary constants.
|
|
7
|
+
*/
|
|
8
|
+
export declare function defineSchema<Schema>(factory: () => Schema): Schema;
|