@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
package/dist/skills.d.ts
CHANGED
|
@@ -44,6 +44,7 @@ export type SkillSaveInput = SkillWriteContext & {
|
|
|
44
44
|
reason: string;
|
|
45
45
|
};
|
|
46
46
|
export type SkillRevisionInput = SkillWriteContext & {
|
|
47
|
+
removalOperationId?: string | undefined;
|
|
47
48
|
operationId: string;
|
|
48
49
|
skillId: string;
|
|
49
50
|
revisionId: string;
|
|
@@ -51,12 +52,20 @@ export type SkillRevisionInput = SkillWriteContext & {
|
|
|
51
52
|
expectedScopeVersion: number;
|
|
52
53
|
reason: string;
|
|
53
54
|
};
|
|
55
|
+
export type SkillRemoveInput = SkillWriteContext & {
|
|
56
|
+
operationId: string;
|
|
57
|
+
skillId: string;
|
|
58
|
+
expectedRevisionId: string | null;
|
|
59
|
+
expectedScopeVersion: number;
|
|
60
|
+
reason: string;
|
|
61
|
+
};
|
|
54
62
|
export type SkillInstallInput = SkillWriteContext & {
|
|
55
63
|
operationId: string;
|
|
56
64
|
skillFacetId: string;
|
|
57
65
|
reason: string;
|
|
58
66
|
};
|
|
59
67
|
export declare const SkillReviewReference: z.ZodObject<{
|
|
68
|
+
removalOperationId: z.ZodOptional<z.ZodUUID>;
|
|
60
69
|
sourceOperationId: z.ZodUUID;
|
|
61
70
|
skillId: z.ZodUUID;
|
|
62
71
|
revisionId: z.ZodUUID;
|
|
@@ -78,6 +87,7 @@ export declare function skillReviewHumanInput(skillReview: SkillReviewReference)
|
|
|
78
87
|
required: boolean;
|
|
79
88
|
allowOther: boolean;
|
|
80
89
|
skillReview: {
|
|
90
|
+
removalOperationId?: string | undefined;
|
|
81
91
|
sourceOperationId: string;
|
|
82
92
|
skillId: string;
|
|
83
93
|
revisionId: string;
|
|
@@ -87,6 +97,7 @@ export declare function skillReviewHumanInput(skillReview: SkillReviewReference)
|
|
|
87
97
|
}[];
|
|
88
98
|
};
|
|
89
99
|
export declare const SkillWriteReceipt: z.ZodObject<{
|
|
100
|
+
removed: z.ZodOptional<z.ZodBoolean>;
|
|
90
101
|
operationId: z.ZodUUID;
|
|
91
102
|
skillId: z.ZodUUID;
|
|
92
103
|
revisionId: z.ZodUUID;
|
|
@@ -101,6 +112,7 @@ export declare const SkillWriteReceipt: z.ZodObject<{
|
|
|
101
112
|
source_finalization: "source_finalization";
|
|
102
113
|
}>>;
|
|
103
114
|
skillReview: z.ZodOptional<z.ZodObject<{
|
|
115
|
+
removalOperationId: z.ZodOptional<z.ZodUUID>;
|
|
104
116
|
sourceOperationId: z.ZodUUID;
|
|
105
117
|
skillId: z.ZodUUID;
|
|
106
118
|
revisionId: z.ZodUUID;
|
|
@@ -111,6 +123,7 @@ export declare const SkillWriteReceipt: z.ZodObject<{
|
|
|
111
123
|
}, z.core.$strip>;
|
|
112
124
|
export type SkillWriteReceipt = z.infer<typeof SkillWriteReceipt>;
|
|
113
125
|
export declare const SkillPublicationReceipt: z.ZodObject<{
|
|
126
|
+
removed: z.ZodOptional<z.ZodBoolean>;
|
|
114
127
|
operationId: z.ZodUUID;
|
|
115
128
|
skillId: z.ZodUUID;
|
|
116
129
|
revisionId: z.ZodUUID;
|
|
@@ -125,6 +138,7 @@ export declare const SkillPublicationReceipt: z.ZodObject<{
|
|
|
125
138
|
source_finalization: "source_finalization";
|
|
126
139
|
}>>;
|
|
127
140
|
skillReview: z.ZodOptional<z.ZodObject<{
|
|
141
|
+
removalOperationId: z.ZodOptional<z.ZodUUID>;
|
|
128
142
|
sourceOperationId: z.ZodUUID;
|
|
129
143
|
skillId: z.ZodUUID;
|
|
130
144
|
revisionId: z.ZodUUID;
|
|
@@ -149,6 +163,7 @@ export declare const SkillSourceReleaseReceipt: z.ZodObject<{
|
|
|
149
163
|
}, z.core.$strip>;
|
|
150
164
|
export type SkillSourceReleaseReceipt = z.infer<typeof SkillSourceReleaseReceipt>;
|
|
151
165
|
export type SkillRecord = {
|
|
166
|
+
removalOperationId?: string | null;
|
|
152
167
|
activationMode: "workspace_managed" | "session_selected";
|
|
153
168
|
pendingRevisionIds: string[];
|
|
154
169
|
id: string;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export declare const OPENGENI_SLACK_BOT_REQUIRED_SCOPES: readonly ["app_mentions:read", "canvases:read", "channels:history", "channels:read", "chat:write", "commands", "files:read", "groups:history", "groups:read", "im:history", "im:read", "im:write", "mpim:history", "mpim:read", "users:read"];
|
|
2
2
|
/** Read-only scope needed only for the optional emoji-reaction summon surface. */
|
|
3
3
|
export declare const OPENGENI_SLACK_REACTION_REQUIRED_SCOPE: "reactions:read";
|
|
4
|
+
/** Optional grant for explicit retained-file delivery to a task's Slack thread. */
|
|
5
|
+
export declare const OPENGENI_SLACK_FILE_UPLOAD_REQUIRED_SCOPE: "files:write";
|
|
4
6
|
/**
|
|
5
7
|
* Bot-token search scopes for Slack's Real-time Search API
|
|
6
8
|
* (`assistant.search.context`). Slack accepts these as BOT scopes, so
|
|
@@ -12,21 +14,23 @@ export declare const OPENGENI_SLACK_BOT_SEARCH_SCOPES: readonly ["search:read.pu
|
|
|
12
14
|
/**
|
|
13
15
|
* Scopes requested by the managed and generated self-hosted manifests.
|
|
14
16
|
*
|
|
15
|
-
* `reactions:read` and the bot search scopes are
|
|
17
|
+
* `reactions:read`, `files:write`, and the bot search scopes are not part of the
|
|
16
18
|
* base eligibility contract: legacy installations may continue using existing
|
|
17
19
|
* Slack interactions and tools while the reaction setting stays disabled, bot
|
|
18
|
-
* search
|
|
20
|
+
* search and file delivery stay unavailable, and the tools ask an admin to reinstall.
|
|
19
21
|
*/
|
|
20
|
-
export declare const OPENGENI_SLACK_BOT_REQUESTED_SCOPES: readonly ["app_mentions:read", "canvases:read", "channels:history", "channels:read", "chat:write", "commands", "files:read", "groups:history", "groups:read", "im:history", "im:read", "im:write", "mpim:history", "mpim:read", "users:read", "reactions:read", "
|
|
22
|
+
export declare const OPENGENI_SLACK_BOT_REQUESTED_SCOPES: readonly ["app_mentions:read", "canvases:read", "channels:history", "channels:read", "chat:write", "commands", "files:read", "groups:history", "groups:read", "im:history", "im:read", "im:write", "mpim:history", "mpim:read", "users:read", "reactions:read", "files:write"];
|
|
23
|
+
export declare function openGeniSlackBotRequestedScopes(mode?: "limited" | "full"): string[];
|
|
21
24
|
export declare const OPENGENI_SLACK_BOT_EVENTS: readonly ["app_home_opened", "app_mention", "message.channels", "message.groups", "message.im", "message.mpim", "reaction_added"];
|
|
22
|
-
/**
|
|
23
|
-
export declare const OPENGENI_SLACK_MCP_USER_SCOPES: readonly ["
|
|
25
|
+
/** User grants required by the reviewed Slack API MCP tools. */
|
|
26
|
+
export declare const OPENGENI_SLACK_MCP_USER_SCOPES: readonly ["channels:read", "groups:read", "im:read", "mpim:read", "channels:history", "groups:history", "im:history", "mpim:history", "users:read", "files:read", "im:write", "chat:write"];
|
|
24
27
|
export declare const OPENGENI_MANAGED_PUBLIC_BASE_URL: "https://app.opengeni.ai";
|
|
25
28
|
export type OpenGeniSlackBotManifestOptions = Readonly<{
|
|
26
29
|
appName?: string;
|
|
27
30
|
botDisplayName?: string;
|
|
28
31
|
slashCommand?: string;
|
|
29
32
|
shortcutName?: string;
|
|
33
|
+
accessMode?: "limited" | "full";
|
|
30
34
|
}>;
|
|
31
35
|
/** Canonical managed/self-hosted Slack app manifest. Slack accepts JSON manifests. */
|
|
32
36
|
export declare function buildOpenGeniSlackBotManifest(publicBaseUrl: string, options?: OpenGeniSlackBotManifestOptions): {
|
|
@@ -45,13 +49,13 @@ export declare function buildOpenGeniSlackBotManifest(publicBaseUrl: string, opt
|
|
|
45
49
|
};
|
|
46
50
|
readonly slash_commands: readonly [{
|
|
47
51
|
readonly command: string;
|
|
48
|
-
readonly description: "Start an
|
|
52
|
+
readonly description: "Start an Opengeni task in this channel";
|
|
49
53
|
readonly should_escape: false;
|
|
50
54
|
readonly url: `${string}/v1/integrations/slack/commands`;
|
|
51
55
|
}];
|
|
52
56
|
readonly shortcuts: readonly [{
|
|
53
57
|
readonly callback_id: "opengeni_message";
|
|
54
|
-
readonly description: "Start an
|
|
58
|
+
readonly description: "Start an Opengeni task from this Slack message";
|
|
55
59
|
readonly name: string;
|
|
56
60
|
readonly type: "message";
|
|
57
61
|
}];
|
|
@@ -59,8 +63,8 @@ export declare function buildOpenGeniSlackBotManifest(publicBaseUrl: string, opt
|
|
|
59
63
|
readonly oauth_config: {
|
|
60
64
|
readonly redirect_urls: readonly [`${string}/v1/integrations/oauth/callback`, `${string}/v1/integrations/slack/callback`];
|
|
61
65
|
readonly scopes: {
|
|
62
|
-
readonly bot:
|
|
63
|
-
readonly user: readonly ["
|
|
66
|
+
readonly bot: string[];
|
|
67
|
+
readonly user: readonly ["channels:read", "groups:read", "im:read", "mpim:read", "channels:history", "groups:history", "im:history", "mpim:history", "users:read", "files:read", "im:write", "chat:write"];
|
|
64
68
|
};
|
|
65
69
|
};
|
|
66
70
|
readonly settings: {
|
|
@@ -79,11 +83,12 @@ export declare function buildOpenGeniSlackBotManifest(publicBaseUrl: string, opt
|
|
|
79
83
|
};
|
|
80
84
|
};
|
|
81
85
|
/**
|
|
82
|
-
* Optional bot grants
|
|
83
|
-
*
|
|
86
|
+
* Optional bot grants used by the shipped read/identity and task-file-delivery
|
|
87
|
+
* surfaces. Every other unrequired scope fails closed, including unknown future
|
|
84
88
|
* Slack scopes, so verification, core routing, and UI eligibility cannot drift.
|
|
85
89
|
*/
|
|
86
|
-
export declare const OPENGENI_SLACK_BOT_SAFE_OPTIONAL_SCOPES: readonly ["team:read", "reactions:read", "search:read.public", "search:read.files", "search:read.users"];
|
|
90
|
+
export declare const OPENGENI_SLACK_BOT_SAFE_OPTIONAL_SCOPES: readonly ["team:read", "reactions:read", "files:write", "search:read.public", "search:read.files", "search:read.users"];
|
|
91
|
+
export declare function hasOpenGeniSlackFileUploadScope(grantedScopes: readonly string[]): boolean;
|
|
87
92
|
export declare function hasOpenGeniSlackBotSearchScopes(grantedScopes: readonly string[]): boolean;
|
|
88
93
|
/** @deprecated Use evaluateOpenGeniSlackBotScopes; an allowlist is the policy. */
|
|
89
94
|
export declare const OPENGENI_SLACK_BOT_FORBIDDEN_SCOPES: readonly ["channels:join", "chat:write.public"];
|
package/dist/slack-bot-scopes.js
CHANGED
|
@@ -6,14 +6,18 @@ import {
|
|
|
6
6
|
OPENGENI_SLACK_BOT_REQUIRED_SCOPES,
|
|
7
7
|
OPENGENI_SLACK_BOT_SAFE_OPTIONAL_SCOPES,
|
|
8
8
|
OPENGENI_SLACK_BOT_SEARCH_SCOPES,
|
|
9
|
+
OPENGENI_SLACK_FILE_UPLOAD_REQUIRED_SCOPE,
|
|
9
10
|
OPENGENI_SLACK_MCP_USER_SCOPES,
|
|
10
11
|
OPENGENI_SLACK_REACTION_REQUIRED_SCOPE,
|
|
11
12
|
areOpenGeniSlackBotScopesAccepted,
|
|
12
13
|
buildOpenGeniSlackBotManifest,
|
|
13
14
|
evaluateOpenGeniSlackBotScopes,
|
|
14
15
|
hasOpenGeniSlackBotSearchScopes,
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
hasOpenGeniSlackFileUploadScope,
|
|
17
|
+
hasOpenGeniSlackReactionScope,
|
|
18
|
+
openGeniSlackBotRequestedScopes
|
|
19
|
+
} from "./chunk-SHO4YO4B.js";
|
|
20
|
+
import "./chunk-PUIUXIOL.js";
|
|
17
21
|
export {
|
|
18
22
|
OPENGENI_MANAGED_PUBLIC_BASE_URL,
|
|
19
23
|
OPENGENI_SLACK_BOT_EVENTS,
|
|
@@ -22,12 +26,15 @@ export {
|
|
|
22
26
|
OPENGENI_SLACK_BOT_REQUIRED_SCOPES,
|
|
23
27
|
OPENGENI_SLACK_BOT_SAFE_OPTIONAL_SCOPES,
|
|
24
28
|
OPENGENI_SLACK_BOT_SEARCH_SCOPES,
|
|
29
|
+
OPENGENI_SLACK_FILE_UPLOAD_REQUIRED_SCOPE,
|
|
25
30
|
OPENGENI_SLACK_MCP_USER_SCOPES,
|
|
26
31
|
OPENGENI_SLACK_REACTION_REQUIRED_SCOPE,
|
|
27
32
|
areOpenGeniSlackBotScopesAccepted,
|
|
28
33
|
buildOpenGeniSlackBotManifest,
|
|
29
34
|
evaluateOpenGeniSlackBotScopes,
|
|
30
35
|
hasOpenGeniSlackBotSearchScopes,
|
|
31
|
-
|
|
36
|
+
hasOpenGeniSlackFileUploadScope,
|
|
37
|
+
hasOpenGeniSlackReactionScope,
|
|
38
|
+
openGeniSlackBotRequestedScopes
|
|
32
39
|
};
|
|
33
40
|
//# sourceMappingURL=slack-bot-scopes.js.map
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/** The catalog and OAuth identity stay stable while calls use the ordinary Web API. */
|
|
2
|
+
export declare const OFFICIAL_SLACK_MCP_URL = "https://mcp.slack.com/mcp";
|
|
3
|
+
export declare const SLACK_REST_API_BASE = "https://slack.com/api/";
|
|
4
|
+
/** Private Slack file bytes are served only from this origin and path. */
|
|
5
|
+
export declare const SLACK_PRIVATE_FILE_ORIGIN = "https://files.slack.com";
|
|
6
|
+
export declare const SLACK_PRIVATE_FILE_PATH_PREFIX = "/files-pri/";
|
|
7
|
+
/** A private Slack file download URL that may carry a Slack user token. */
|
|
8
|
+
export declare function isSlackPrivateFileUrl(value: string | URL): boolean;
|
|
9
|
+
export declare const OPENGENI_SLACK_REST_USER_SCOPES: readonly ["channels:read", "groups:read", "im:read", "mpim:read", "channels:history", "groups:history", "im:history", "mpim:history", "users:read", "files:read", "im:write", "chat:write"];
|
|
10
|
+
/** Slack returns comma-delimited scopes, including in existing saved grants. */
|
|
11
|
+
export declare function normalizeSlackScopes(scopes: readonly string[] | string | undefined | null): string[];
|
|
12
|
+
export type SlackRestMcpTool = {
|
|
13
|
+
name: string;
|
|
14
|
+
description: string;
|
|
15
|
+
inputSchema: {
|
|
16
|
+
type: "object";
|
|
17
|
+
properties: Record<string, unknown>;
|
|
18
|
+
required: string[];
|
|
19
|
+
additionalProperties: false;
|
|
20
|
+
};
|
|
21
|
+
annotations: {
|
|
22
|
+
readOnlyHint: boolean;
|
|
23
|
+
destructiveHint: false;
|
|
24
|
+
idempotentHint: boolean;
|
|
25
|
+
openWorldHint: true;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
/** Static reviewed pilot surface. Each call reads only one explicitly requested page. */
|
|
29
|
+
export declare const SLACK_REST_MCP_TOOLS: SlackRestMcpTool[];
|
|
30
|
+
export declare function slackRestMcpToolsForScopes(scopes: readonly string[] | string): SlackRestMcpTool[];
|
|
31
|
+
export declare const SLACK_CONVERSATION_READ_SCOPE_BY_TYPE: {
|
|
32
|
+
readonly public_channel: "channels:read";
|
|
33
|
+
readonly private_channel: "groups:read";
|
|
34
|
+
readonly im: "im:read";
|
|
35
|
+
readonly mpim: "mpim:read";
|
|
36
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import {
|
|
2
|
+
OFFICIAL_SLACK_MCP_URL,
|
|
3
|
+
OPENGENI_SLACK_REST_USER_SCOPES,
|
|
4
|
+
SLACK_CONVERSATION_READ_SCOPE_BY_TYPE,
|
|
5
|
+
SLACK_PRIVATE_FILE_ORIGIN,
|
|
6
|
+
SLACK_PRIVATE_FILE_PATH_PREFIX,
|
|
7
|
+
SLACK_REST_API_BASE,
|
|
8
|
+
SLACK_REST_MCP_TOOLS,
|
|
9
|
+
isSlackPrivateFileUrl,
|
|
10
|
+
normalizeSlackScopes,
|
|
11
|
+
slackRestMcpToolsForScopes
|
|
12
|
+
} from "./chunk-PUIUXIOL.js";
|
|
13
|
+
export {
|
|
14
|
+
OFFICIAL_SLACK_MCP_URL,
|
|
15
|
+
OPENGENI_SLACK_REST_USER_SCOPES,
|
|
16
|
+
SLACK_CONVERSATION_READ_SCOPE_BY_TYPE,
|
|
17
|
+
SLACK_PRIVATE_FILE_ORIGIN,
|
|
18
|
+
SLACK_PRIVATE_FILE_PATH_PREFIX,
|
|
19
|
+
SLACK_REST_API_BASE,
|
|
20
|
+
SLACK_REST_MCP_TOOLS,
|
|
21
|
+
isSlackPrivateFileUrl,
|
|
22
|
+
normalizeSlackScopes,
|
|
23
|
+
slackRestMcpToolsForScopes
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=slack-rest-mcp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -11,6 +11,9 @@ export declare const SPREADSHEET_ARTIFACT_COMMAND_MAX_COMMANDS = 4096;
|
|
|
11
11
|
export declare const SPREADSHEET_ARTIFACT_COMMAND_MAX_CELLS = 1000000;
|
|
12
12
|
export declare const SPREADSHEET_ARTIFACT_COMMAND_MAX_STRING_BYTES: number;
|
|
13
13
|
export declare const SPREADSHEET_ARTIFACT_SHEET_NAME_MAX_UTF16_UNITS = 31;
|
|
14
|
+
export declare const SPREADSHEET_DEFAULT_ROW_HEIGHT = 24;
|
|
15
|
+
export declare const SPREADSHEET_DEFAULT_COLUMN_WIDTH = 96;
|
|
16
|
+
export declare const SPREADSHEET_MAX_DIMENSION_PIXELS = 4096;
|
|
14
17
|
declare const stableIdBrand: unique symbol;
|
|
15
18
|
/** Fixed-width lowercase hexadecimal 128-bit id. Runtime helpers enforce use. */
|
|
16
19
|
export type EditableArtifactStableId = string & {
|
|
@@ -85,7 +88,17 @@ export type SpreadsheetClearRangeCommand = Readonly<{
|
|
|
85
88
|
sheet: SpreadsheetSheetPrecondition;
|
|
86
89
|
range: SpreadsheetCellRange;
|
|
87
90
|
}>;
|
|
88
|
-
export type SpreadsheetArtifactCommand = SpreadsheetCreateSheetCommand | SpreadsheetRenameSheetCommand | SpreadsheetDeleteSheetCommand | SpreadsheetSetCellsCommand | SpreadsheetClearRangeCommand
|
|
91
|
+
export type SpreadsheetArtifactCommand = SpreadsheetCreateSheetCommand | SpreadsheetRenameSheetCommand | SpreadsheetDeleteSheetCommand | SpreadsheetSetCellsCommand | SpreadsheetClearRangeCommand | Readonly<{
|
|
92
|
+
kind: "row.height.set";
|
|
93
|
+
sheet: SpreadsheetSheetPrecondition;
|
|
94
|
+
row: number;
|
|
95
|
+
height: number | null;
|
|
96
|
+
}> | Readonly<{
|
|
97
|
+
kind: "column.width.set";
|
|
98
|
+
sheet: SpreadsheetSheetPrecondition;
|
|
99
|
+
column: number;
|
|
100
|
+
width: number | null;
|
|
101
|
+
}>;
|
|
89
102
|
export type SpreadsheetArtifactCommandBatch = Readonly<{
|
|
90
103
|
version: typeof SPREADSHEET_ARTIFACT_COMMAND_VERSION;
|
|
91
104
|
commands: readonly SpreadsheetArtifactCommand[];
|
|
@@ -4,15 +4,18 @@ import {
|
|
|
4
4
|
SPREADSHEET_ARTIFACT_COMMAND_MAX_COMMANDS,
|
|
5
5
|
SPREADSHEET_ARTIFACT_COMMAND_MAX_STRING_BYTES,
|
|
6
6
|
SPREADSHEET_ARTIFACT_SHEET_NAME_MAX_UTF16_UNITS,
|
|
7
|
+
SPREADSHEET_DEFAULT_COLUMN_WIDTH,
|
|
8
|
+
SPREADSHEET_DEFAULT_ROW_HEIGHT,
|
|
9
|
+
SPREADSHEET_MAX_DIMENSION_PIXELS,
|
|
7
10
|
assertCanonicalSpreadsheetArtifactCommandBytes,
|
|
8
11
|
decodeSpreadsheetArtifactCommandBatch,
|
|
9
12
|
editableArtifactStableId,
|
|
10
13
|
encodeSpreadsheetArtifactCommandBatch,
|
|
11
14
|
spreadsheetSheetId
|
|
12
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ILJ72KPO.js";
|
|
13
16
|
import {
|
|
14
17
|
SPREADSHEET_ARTIFACT_COMMAND_VERSION
|
|
15
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-WVCFSOUZ.js";
|
|
16
19
|
export {
|
|
17
20
|
SPREADSHEET_ARTIFACT_COMMAND_MAX_BYTES,
|
|
18
21
|
SPREADSHEET_ARTIFACT_COMMAND_MAX_CELLS,
|
|
@@ -20,6 +23,9 @@ export {
|
|
|
20
23
|
SPREADSHEET_ARTIFACT_COMMAND_MAX_STRING_BYTES,
|
|
21
24
|
SPREADSHEET_ARTIFACT_COMMAND_VERSION,
|
|
22
25
|
SPREADSHEET_ARTIFACT_SHEET_NAME_MAX_UTF16_UNITS,
|
|
26
|
+
SPREADSHEET_DEFAULT_COLUMN_WIDTH,
|
|
27
|
+
SPREADSHEET_DEFAULT_ROW_HEIGHT,
|
|
28
|
+
SPREADSHEET_MAX_DIMENSION_PIXELS,
|
|
23
29
|
assertCanonicalSpreadsheetArtifactCommandBytes,
|
|
24
30
|
decodeSpreadsheetArtifactCommandBatch,
|
|
25
31
|
editableArtifactStableId,
|
|
@@ -9,6 +9,13 @@ export declare const SPREADSHEET_ARTIFACT_METADATA_MAX_SHEETS = 10000;
|
|
|
9
9
|
export declare const SPREADSHEET_ARTIFACT_PROJECTION_MAX_STRING_BYTES: number;
|
|
10
10
|
export declare const SPREADSHEET_ARTIFACT_VIEWPORT_MIN_RESPONSE_BYTES = 92;
|
|
11
11
|
export declare const SPREADSHEET_ARTIFACT_METADATA_MIN_RESPONSE_BYTES = 48;
|
|
12
|
+
/** Sparse absolute zero-based indices; omitted only in pre-dimension private projections. */
|
|
13
|
+
export type SpreadsheetArtifactDimensions = Readonly<{
|
|
14
|
+
defaultRowHeight?: number;
|
|
15
|
+
defaultColumnWidth?: number;
|
|
16
|
+
rowHeights?: readonly (readonly [number, number])[];
|
|
17
|
+
columnWidths?: readonly (readonly [number, number])[];
|
|
18
|
+
}>;
|
|
12
19
|
export type SpreadsheetArtifactViewportQuery = Readonly<{
|
|
13
20
|
sheetId: EditableArtifactStableId;
|
|
14
21
|
startRow: number;
|
|
@@ -61,7 +68,7 @@ export type SpreadsheetArtifactProjectedCell = Readonly<{
|
|
|
61
68
|
value: SpreadsheetArtifactProjectedCellValue;
|
|
62
69
|
}>;
|
|
63
70
|
/** Complete and non-truncated. A limit breach is an error, never a partial response. */
|
|
64
|
-
export type SpreadsheetArtifactViewportProjection = Readonly<{
|
|
71
|
+
export type SpreadsheetArtifactViewportProjection = SpreadsheetArtifactDimensions & Readonly<{
|
|
65
72
|
revision: bigint;
|
|
66
73
|
sheetId: EditableArtifactStableId;
|
|
67
74
|
generationId: EditableArtifactStableId | null;
|
|
@@ -77,19 +84,19 @@ export type SpreadsheetArtifactUsedBounds = Readonly<{
|
|
|
77
84
|
endRow: number;
|
|
78
85
|
endColumn: number;
|
|
79
86
|
}>;
|
|
80
|
-
export type SpreadsheetArtifactSheetMetadata = Readonly<{
|
|
87
|
+
export type SpreadsheetArtifactSheetMetadata = SpreadsheetArtifactDimensions & Readonly<{
|
|
81
88
|
sheetId: EditableArtifactStableId;
|
|
82
89
|
generationId: EditableArtifactStableId | null;
|
|
83
90
|
name: string;
|
|
84
91
|
usedBounds: SpreadsheetArtifactUsedBounds | null;
|
|
85
92
|
}>;
|
|
86
93
|
/**
|
|
87
|
-
*
|
|
88
|
-
* merges
|
|
89
|
-
*
|
|
94
|
+
* Dimensions are carried under the explicit dimensions flag. Hidden state,
|
|
95
|
+
* merges and styles remain unsupported. Pre-dimension private projections
|
|
96
|
+
* carry dimensions=false and round-trip without inventing geometry.
|
|
90
97
|
*/
|
|
91
98
|
export type SpreadsheetArtifactModeledFeatures = Readonly<{
|
|
92
|
-
dimensions:
|
|
99
|
+
dimensions: boolean;
|
|
93
100
|
hidden: false;
|
|
94
101
|
merges: false;
|
|
95
102
|
}>;
|
|
@@ -20,9 +20,9 @@ import {
|
|
|
20
20
|
encodeSpreadsheetMetadataKernelQuery,
|
|
21
21
|
encodeSpreadsheetViewportKernelProjection,
|
|
22
22
|
encodeSpreadsheetViewportKernelQuery
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-RMWXDZEO.js";
|
|
24
|
+
import "./chunk-ILJ72KPO.js";
|
|
25
|
+
import "./chunk-WVCFSOUZ.js";
|
|
26
26
|
export {
|
|
27
27
|
SPREADSHEET_ARTIFACT_METADATA_MAX_SHEETS,
|
|
28
28
|
SPREADSHEET_ARTIFACT_METADATA_MIN_RESPONSE_BYTES,
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* Request bodies for subscription account actions (Codex, Claude, SuperGrok):
|
|
4
|
+
* renaming, pausing, rotation, extra credits and device sign-in. The routes
|
|
5
|
+
* validate with these, and the agent action catalog shows them as the input.
|
|
6
|
+
*/
|
|
7
|
+
/** Rename an account. An empty or null label goes back to the account's email. */
|
|
8
|
+
export declare const SubscriptionAccountRenameRequest: z.ZodObject<{
|
|
9
|
+
label: z.ZodNullable<z.ZodString>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
export type SubscriptionAccountRenameRequest = z.infer<typeof SubscriptionAccountRenameRequest>;
|
|
12
|
+
/**
|
|
13
|
+
* Turn one account setting on or off: "used for new work" (allocator) or extra
|
|
14
|
+
* credits. expectedVersion is the account's current allocatorVersion or
|
|
15
|
+
* extraCreditsVersion; a stale version is refused so concurrent edits don't clash.
|
|
16
|
+
*/
|
|
17
|
+
export declare const SubscriptionAccountToggleRequest: z.ZodObject<{
|
|
18
|
+
enabled: z.ZodBoolean;
|
|
19
|
+
expectedVersion: z.ZodNumber;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
export type SubscriptionAccountToggleRequest = z.infer<typeof SubscriptionAccountToggleRequest>;
|
|
22
|
+
/** Account picking: true spreads work across every usable account, false uses the primary one only. */
|
|
23
|
+
export declare const SubscriptionRotationSettingsRequest: z.ZodObject<{
|
|
24
|
+
rotationEnabled: z.ZodBoolean;
|
|
25
|
+
}, z.core.$strip>;
|
|
26
|
+
export type SubscriptionRotationSettingsRequest = z.infer<typeof SubscriptionRotationSettingsRequest>;
|
|
27
|
+
/** Check a device sign-in with the state returned by its connect/start call. */
|
|
28
|
+
export declare const SubscriptionConnectPollRequest: z.ZodObject<{
|
|
29
|
+
state: z.ZodString;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
export type SubscriptionConnectPollRequest = z.infer<typeof SubscriptionConnectPollRequest>;
|
|
32
|
+
/** Where a workspace SuperGrok sign-in lands: the shared workspace pool or only the person. */
|
|
33
|
+
export declare const SupergrokConnectStartRequest: z.ZodObject<{
|
|
34
|
+
scope: z.ZodDefault<z.ZodEnum<{
|
|
35
|
+
user: "user";
|
|
36
|
+
workspace: "workspace";
|
|
37
|
+
}>>;
|
|
38
|
+
}, z.core.$strip>;
|
|
39
|
+
export type SupergrokConnectStartRequest = z.infer<typeof SupergrokConnectStartRequest>;
|
|
40
|
+
/**
|
|
41
|
+
* Which Codex accounts a workspace uses: automatic (Opengeni picks from the
|
|
42
|
+
* workspace's and the organization's accounts), only the workspace's own, only
|
|
43
|
+
* the organization's, or none (Codex off for the workspace).
|
|
44
|
+
*/
|
|
45
|
+
export declare const CodexSourceRequest: z.ZodObject<{
|
|
46
|
+
mode: z.ZodEnum<{
|
|
47
|
+
automatic: "automatic";
|
|
48
|
+
disabled: "disabled";
|
|
49
|
+
organization: "organization";
|
|
50
|
+
workspace: "workspace";
|
|
51
|
+
}>;
|
|
52
|
+
}, z.core.$strip>;
|
|
53
|
+
export type CodexSourceRequest = z.infer<typeof CodexSourceRequest>;
|
|
54
|
+
/** Choose the Codex account that serves Codex Apps; expectedVersion is the current designation version. */
|
|
55
|
+
export declare const CodexAppsDesignationRequest: z.ZodObject<{
|
|
56
|
+
accountId: z.ZodString;
|
|
57
|
+
expectedVersion: z.ZodNumber;
|
|
58
|
+
}, z.core.$strip>;
|
|
59
|
+
export type CodexAppsDesignationRequest = z.infer<typeof CodexAppsDesignationRequest>;
|
|
60
|
+
/** Pin one chat to a Codex account by id, or "auto" to let Opengeni pick again. */
|
|
61
|
+
export declare const SessionCodexAccountPinRequest: z.ZodObject<{
|
|
62
|
+
target: z.ZodString;
|
|
63
|
+
}, z.core.$strip>;
|
|
64
|
+
export type SessionCodexAccountPinRequest = z.infer<typeof SessionCodexAccountPinRequest>;
|