@opengeni/contracts 5.5.0 → 5.5.2-canary.40656248492001
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-authored-durable-text.d.ts +9 -9
- package/dist/agent-config.d.ts +148 -37
- package/dist/api-key-presets.d.ts +19 -0
- package/dist/app-action-catalog-types.d.ts +32 -0
- package/dist/app-action-catalog.gen.d.ts +2 -0
- package/dist/app-actions.d.ts +91 -0
- package/dist/app-actions.js +10130 -0
- package/dist/app-actions.js.map +1 -0
- package/dist/app-shot.d.ts +55 -0
- package/dist/artifact-catalog.d.ts +33 -0
- package/dist/artifacts.d.ts +166 -0
- package/dist/atlassian-native-retirement.d.ts +16 -0
- package/dist/atlassian-native-retirement.js +30 -0
- package/dist/atlassian-native-retirement.js.map +1 -0
- package/dist/atlassian.js +48 -23
- package/dist/automation-templates.d.ts +434 -0
- package/dist/automation-templates.js +31 -0
- package/dist/automation-templates.js.map +1 -0
- package/dist/billing-subscriptions.d.ts +61 -0
- package/dist/bots.d.ts +583 -0
- package/dist/bundled-skills.d.ts +58 -2
- package/dist/canonical-human-identities.js +3 -1
- package/dist/child-lifecycle-notice-protocol.d.ts +45 -0
- package/dist/chunk-2QKIEAGY.js +396 -0
- package/dist/chunk-2QKIEAGY.js.map +1 -0
- package/dist/chunk-2WOWEWXV.js +426 -0
- package/dist/chunk-2WOWEWXV.js.map +1 -0
- package/dist/chunk-2ZIHHL72.js +153 -0
- package/dist/chunk-2ZIHHL72.js.map +1 -0
- package/dist/chunk-32U6NKQQ.js +389 -0
- package/dist/chunk-32U6NKQQ.js.map +1 -0
- package/dist/chunk-4YDDHSO2.js +799 -0
- package/dist/chunk-4YDDHSO2.js.map +1 -0
- package/dist/chunk-56SNIMDO.js +9 -0
- package/dist/chunk-56SNIMDO.js.map +1 -0
- package/dist/chunk-5RWB6QVL.js +101 -0
- package/dist/chunk-5RWB6QVL.js.map +1 -0
- package/dist/chunk-5UGUOT3L.js +243 -0
- package/dist/chunk-5UGUOT3L.js.map +1 -0
- package/dist/chunk-6LAT33BH.js +130 -0
- package/dist/chunk-6LAT33BH.js.map +1 -0
- package/dist/chunk-7272KVWZ.js +60 -0
- package/dist/chunk-7272KVWZ.js.map +1 -0
- package/dist/chunk-72QC2GTL.js +36 -0
- package/dist/chunk-72QC2GTL.js.map +1 -0
- package/dist/chunk-7EQGGZBY.js +105 -0
- package/dist/chunk-7EQGGZBY.js.map +1 -0
- package/dist/chunk-A3LXWVYU.js +382 -0
- package/dist/chunk-A3LXWVYU.js.map +1 -0
- package/dist/chunk-AQYDZUJV.js +34 -0
- package/dist/chunk-AQYDZUJV.js.map +1 -0
- package/dist/chunk-BHCEVVUP.js +93 -0
- package/dist/chunk-BHCEVVUP.js.map +1 -0
- package/dist/chunk-BMUTAZX5.js +486 -0
- package/dist/chunk-BMUTAZX5.js.map +1 -0
- package/dist/chunk-DGG6IBBK.js +150 -0
- package/dist/chunk-DGG6IBBK.js.map +1 -0
- package/dist/{chunk-YBW5JSA3.js → chunk-FBCTUMHI.js} +123 -102
- package/dist/chunk-FBCTUMHI.js.map +1 -0
- package/dist/chunk-G2KJTFIC.js +97 -0
- package/dist/chunk-G2KJTFIC.js.map +1 -0
- package/dist/chunk-G4RKARXZ.js +1167 -0
- package/dist/chunk-G4RKARXZ.js.map +1 -0
- package/dist/chunk-H6UJJIUM.js +350 -0
- package/dist/chunk-H6UJJIUM.js.map +1 -0
- package/dist/chunk-JOTHDW4H.js +18 -0
- package/dist/chunk-JOTHDW4H.js.map +1 -0
- package/dist/chunk-L4GUEP7K.js +56480 -0
- package/dist/chunk-L4GUEP7K.js.map +1 -0
- package/dist/{chunk-SIOU2K4U.js → chunk-LJH2EYGT.js} +23 -23
- package/dist/chunk-MTJKSIGA.js +161 -0
- package/dist/chunk-MTJKSIGA.js.map +1 -0
- package/dist/chunk-MYHMB6GZ.js +202 -0
- package/dist/chunk-MYHMB6GZ.js.map +1 -0
- package/dist/chunk-PI5VIKJY.js +660 -0
- package/dist/chunk-PI5VIKJY.js.map +1 -0
- package/dist/{chunk-RIY7GYQS.js → chunk-PTSROVDG.js} +2 -2
- package/dist/chunk-PUIUXIOL.js +189 -0
- package/dist/chunk-PUIUXIOL.js.map +1 -0
- package/dist/chunk-R6VXJIMB.js +19 -0
- package/dist/chunk-R6VXJIMB.js.map +1 -0
- package/dist/chunk-RLJUNVAM.js +15 -0
- package/dist/chunk-RLJUNVAM.js.map +1 -0
- package/dist/chunk-RR6APCBK.js +213 -0
- package/dist/chunk-RR6APCBK.js.map +1 -0
- package/dist/{chunk-TXTQIYCV.js → chunk-RUQ4I6DO.js} +59 -13
- package/dist/chunk-RUQ4I6DO.js.map +1 -0
- package/dist/{chunk-WYBDERIY.js → chunk-RWEEUDHD.js} +53 -42
- package/dist/chunk-RWEEUDHD.js.map +1 -0
- package/dist/chunk-S7MSQQL6.js +158 -0
- package/dist/chunk-S7MSQQL6.js.map +1 -0
- package/dist/{chunk-5Q54VCCH.js → chunk-SHO4YO4B.js} +20 -36
- package/dist/chunk-SHO4YO4B.js.map +1 -0
- package/dist/{chunk-HHZSZYYF.js → chunk-T3HSWMA5.js} +20 -4
- package/dist/chunk-T3HSWMA5.js.map +1 -0
- package/dist/{chunk-YRKRZ6OF.js → chunk-TOOJIBJC.js} +2 -2
- package/dist/chunk-UCUOTRS6.js +431 -0
- package/dist/chunk-UCUOTRS6.js.map +1 -0
- package/dist/chunk-UH4K7GP7.js +424 -0
- package/dist/chunk-UH4K7GP7.js.map +1 -0
- package/dist/chunk-UIZWGPHV.js +120 -0
- package/dist/chunk-UIZWGPHV.js.map +1 -0
- package/dist/chunk-VLUKBV6Y.js +1170 -0
- package/dist/chunk-VLUKBV6Y.js.map +1 -0
- package/dist/chunk-W2QQ5Y6K.js +55 -0
- package/dist/chunk-W2QQ5Y6K.js.map +1 -0
- package/dist/{chunk-Y3KNXVTD.js → chunk-W3NBPR4E.js} +131 -31
- package/dist/chunk-W3NBPR4E.js.map +1 -0
- package/dist/{chunk-NRMCVHAU.js → chunk-WMGO4HJU.js} +11 -9
- package/dist/chunk-WMGO4HJU.js.map +1 -0
- package/dist/{chunk-MYBZRDTY.js → chunk-WQI7VNN4.js} +19 -9
- package/dist/chunk-WQI7VNN4.js.map +1 -0
- package/dist/{chunk-PX3VCKAU.js → chunk-WVCFSOUZ.js} +1 -1
- package/dist/{chunk-PX3VCKAU.js.map → chunk-WVCFSOUZ.js.map} +1 -1
- package/dist/chunk-XB6GQLBH.js +76 -0
- package/dist/chunk-XB6GQLBH.js.map +1 -0
- package/dist/{chunk-D2HKF2EF.js → chunk-XP5M3IKT.js} +2 -2
- package/dist/{chunk-O77VSFYZ.js → chunk-ZMPU5BWE.js} +12 -2
- package/dist/chunk-ZMPU5BWE.js.map +1 -0
- package/dist/{chunk-3SIZGL3O.js → chunk-ZYVEJFNU.js} +22 -18
- package/dist/chunk-ZYVEJFNU.js.map +1 -0
- package/dist/claude-provider-account-authority.d.ts +18 -0
- package/dist/claude-subscription-oauth.d.ts +25 -0
- package/dist/claude-subscription-usage.d.ts +95 -1
- package/dist/client-error-report.d.ts +154 -8
- package/dist/client-error-report.js +157 -2
- package/dist/client-error-report.js.map +1 -1
- package/dist/code-search.d.ts +1 -1
- package/dist/code-search.js.map +1 -1
- package/dist/codex-provider-account-authority.js +23 -12
- package/dist/codex-provider-account-authority.js.map +1 -1
- package/dist/company-profile.d.ts +144 -0
- package/dist/connect.d.ts +38 -0
- package/dist/connect.js +244 -164
- package/dist/connect.js.map +1 -1
- package/dist/connection-account-label.d.ts +2 -0
- package/dist/connection-account-label.js +34 -0
- package/dist/connection-account-label.js.map +1 -0
- package/dist/connection-authority.js +49 -24
- package/dist/connector-attachments.js +3 -1
- package/dist/connector-destinations.js +3 -1
- package/dist/connector-tool-permissions.d.ts +68 -4
- package/dist/credential-profiles.d.ts +166 -0
- package/dist/cua-desktop-tools.d.ts +19 -0
- package/dist/define-schema.d.ts +8 -0
- package/dist/desktop-app.d.ts +28 -0
- package/dist/direct-model-provider.d.ts +38 -0
- package/dist/document-artifact-commands.js +2 -2
- package/dist/document-artifact-query.js +2 -2
- package/dist/editable-artifact-binary.d.ts +7 -0
- package/dist/editable-artifact-causal-frontier.js +2 -2
- package/dist/editable-artifact-codec-registry.js +7 -7
- package/dist/editable-artifact-committed-transaction.js +4 -2
- package/dist/editable-artifact-live.js +8 -8
- package/dist/editable-artifact-serialized-commit.js +9 -9
- package/dist/editable-artifact-versions.d.ts +7 -1
- package/dist/editable-artifact-versions.js +1 -1
- package/dist/editable-artifacts.js +49 -43
- package/dist/event-preview.d.ts +22 -0
- package/dist/event-triggers.d.ts +1253 -0
- package/dist/event-triggers.js +148 -0
- package/dist/event-triggers.js.map +1 -0
- package/dist/external-identities.d.ts +34 -0
- package/dist/external-identities.js +4 -2
- package/dist/feedback.d.ts +181 -0
- package/dist/file-access.d.ts +23 -0
- package/dist/first-party-tool-authorization.d.ts +852 -0
- package/dist/github-repository-contracts.js +64 -43
- package/dist/github-repository-contracts.js.map +1 -1
- package/dist/google-drive-native-retirement.d.ts +12 -0
- package/dist/google-drive-native-retirement.js +20 -0
- package/dist/google-drive-native-retirement.js.map +1 -0
- package/dist/google-drive.d.ts +1 -1
- package/dist/google-drive.js +323 -239
- package/dist/google-drive.js.map +1 -1
- package/dist/host-mcp-bindings.js +250 -198
- package/dist/host-mcp-bindings.js.map +1 -1
- package/dist/index.d.ts +29072 -20593
- package/dist/index.js +2432 -366
- package/dist/inference-residency.d.ts +22 -0
- package/dist/insights-usage.d.ts +948 -0
- package/dist/insights-usage.js +608 -0
- package/dist/insights-usage.js.map +1 -0
- package/dist/integration-capability-id.d.ts +8 -0
- package/dist/interaction-action-deadline.d.ts +48 -0
- package/dist/interaction-driver-diagnostic.d.ts +28 -0
- package/dist/interaction.d.ts +2126 -881
- package/dist/knowledge-entries.d.ts +38 -0
- package/dist/knowledge-preparation.d.ts +4 -0
- package/dist/learning-refusal.d.ts +43 -0
- package/dist/learning-refusal.js +49 -0
- package/dist/learning-refusal.js.map +1 -0
- package/dist/managed-auth-session-sets.d.ts +1 -0
- package/dist/managed-auth-session-sets.js +207 -146
- package/dist/managed-auth-session-sets.js.map +1 -1
- package/dist/managed-sign-in-methods.d.ts +96 -0
- package/dist/managed-sign-in-methods.js +157 -35
- package/dist/managed-sign-in-methods.js.map +1 -1
- package/dist/mcp-structured-content.d.ts +25 -0
- package/dist/message-time-zone.d.ts +38 -0
- package/dist/message-time-zone.js +19 -0
- package/dist/message-time-zone.js.map +1 -0
- package/dist/modal-native-proof-v2.d.ts +587 -0
- package/dist/modal-native-proof-v2.js +39 -0
- package/dist/modal-native-proof-v2.js.map +1 -0
- package/dist/model-account-choice.d.ts +237 -0
- package/dist/model-account-settings.d.ts +422 -0
- package/dist/model-availability.d.ts +15 -0
- package/dist/model-connection-access.d.ts +13 -0
- package/dist/model-context-inspector.d.ts +8 -0
- package/dist/model-display.d.ts +43 -0
- package/dist/model-display.js +17 -0
- package/dist/model-display.js.map +1 -0
- package/dist/model-picker-order.js.map +1 -1
- package/dist/model-residency.d.ts +304 -0
- package/dist/organization-access.d.ts +416 -0
- package/dist/organization-access.js +40 -0
- package/dist/organization-access.js.map +1 -0
- package/dist/organization-integration-policy.d.ts +18 -0
- package/dist/organization-membership-lifecycle.d.ts +66 -0
- package/dist/organization-model-usage.d.ts +146 -0
- package/dist/organization-model-usage.js +87 -0
- package/dist/organization-model-usage.js.map +1 -0
- package/dist/organization-recovery.js +3 -1
- package/dist/organization-usage.d.ts +12 -0
- package/dist/passkey-only-account.d.ts +14 -0
- package/dist/passkey-only-account.js +13 -0
- package/dist/passkey-only-account.js.map +1 -0
- package/dist/permissions.d.ts +19 -0
- package/dist/personal-github.js +220 -148
- package/dist/personal-github.js.map +1 -1
- package/dist/personal-integration-setup.d.ts +81 -0
- package/dist/personal-integration-setup.js +42 -0
- package/dist/personal-integration-setup.js.map +1 -0
- package/dist/prepared-mcp-setup.d.ts +54 -0
- package/dist/prepared-mcp-setup.js +13 -0
- package/dist/prepared-mcp-setup.js.map +1 -0
- package/dist/presentation-artifact-commands.js +2 -2
- package/dist/presentation-artifact-query.js +2 -2
- package/dist/primitives.d.ts +18 -0
- package/dist/product-analytics.d.ts +27 -10
- package/dist/product-lifecycle-facts.d.ts +26 -3
- package/dist/prompt-cache-diagnostics.d.ts +92 -0
- package/dist/recordings.d.ts +1371 -0
- package/dist/remember.d.ts +98 -2
- package/dist/retained-output.d.ts +4 -2
- package/dist/sandbox-file-artifacts.d.ts +19 -2
- package/dist/sandbox-provider-command.d.ts +5 -44
- package/dist/sandbox-recovery.d.ts +139 -8
- package/dist/secret-generator.d.ts +44 -0
- package/dist/secret-mask-strings.d.ts +32 -0
- package/dist/secret-references.d.ts +90 -0
- package/dist/secret-resolution.d.ts +143 -0
- package/dist/secret-shape-masking.d.ts +52 -0
- package/dist/secret-shape-masking.js +19 -0
- package/dist/secret-shape-masking.js.map +1 -0
- package/dist/secret-totp.d.ts +41 -0
- package/dist/secret-use-approval-question.d.ts +11 -0
- package/dist/secret-use-approval-question.js +11 -0
- package/dist/secret-use-approval-question.js.map +1 -0
- package/dist/secret-use-approvals.d.ts +106 -0
- package/dist/secret-value-masking.d.ts +299 -0
- package/dist/secret-value-masking.js +62 -0
- package/dist/secret-value-masking.js.map +1 -0
- package/dist/secret-value.d.ts +19 -0
- package/dist/session-history-import.d.ts +444 -8
- package/dist/session-history.d.ts +111 -0
- package/dist/session-history.js +35 -0
- package/dist/session-history.js.map +1 -0
- package/dist/session-list-entries.d.ts +8 -0
- package/dist/session-list-entries.js +61 -0
- package/dist/session-list-entries.js.map +1 -0
- package/dist/session-mcp-projections.d.ts +13 -1
- package/dist/session-mcp-tool-permissions.d.ts +62 -0
- package/dist/session-target.d.ts +18 -0
- package/dist/session-titles.d.ts +8 -0
- package/dist/session-titles.js +5 -1
- package/dist/session-usage-limit-refusal.d.ts +34 -0
- package/dist/session-usage-limit-refusal.js +15 -0
- package/dist/session-usage-limit-refusal.js.map +1 -0
- package/dist/session-usage-limits.d.ts +127 -0
- package/dist/session-usage-limits.js +43 -0
- package/dist/session-usage-limits.js.map +1 -0
- package/dist/site-data.d.ts +286 -0
- package/dist/site-operations.d.ts +39 -0
- package/dist/site-publishing.d.ts +813 -0
- package/dist/site-session-http.d.ts +103 -4
- package/dist/site-session-http.js +27 -1
- package/dist/site-sql.d.ts +425 -0
- package/dist/skills.d.ts +38 -0
- package/dist/slack-bot-scopes.d.ts +9 -7
- package/dist/slack-bot-scopes.js +6 -3
- package/dist/slack-rest-mcp.d.ts +36 -0
- package/dist/slack-rest-mcp.js +25 -0
- package/dist/slack-rest-mcp.js.map +1 -0
- package/dist/spreadsheet-artifact-commands.d.ts +14 -1
- package/dist/spreadsheet-artifact-commands.js +9 -2
- package/dist/spreadsheet-artifact-query.d.ts +13 -6
- package/dist/spreadsheet-artifact-query.js +4 -3
- package/dist/subscription-account-actions.d.ts +83 -0
- package/dist/subscription-account-pools.d.ts +326 -0
- package/dist/subscription-personal-authority-v2.d.ts +28 -0
- package/dist/subscription-personal-authority-v2.js +13 -0
- package/dist/subscription-personal-authority-v2.js.map +1 -0
- package/dist/subscription-plans.d.ts +38 -0
- package/dist/subscription-usage-pool.d.ts +89 -0
- package/dist/tool-action-review.d.ts +141 -0
- package/dist/tool-catalog.d.ts +479 -0
- package/dist/tool-policy.d.ts +5 -0
- package/dist/tool-review-presentation.d.ts +29 -0
- package/dist/tool-review-presentation.js +21 -0
- package/dist/tool-review-presentation.js.map +1 -0
- package/dist/turn-serving-policy.d.ts +223 -0
- package/dist/usage-allowances.d.ts +30 -0
- package/dist/usage-allowances.js +5 -1
- package/dist/values.d.ts +11 -0
- package/dist/values.js +19 -0
- package/dist/values.js.map +1 -0
- package/dist/vault-provider-wire.d.ts +907 -0
- package/dist/vault-provider-wire.js +74 -0
- package/dist/vault-provider-wire.js.map +1 -0
- package/dist/vaults.d.ts +2185 -0
- package/dist/video-generation.d.ts +75 -0
- package/dist/video-generation.js +8 -1
- package/dist/workspace-control-event.d.ts +18 -0
- package/dist/workspace-control-event.js +18 -0
- package/dist/workspace-control-event.js.map +1 -0
- package/dist/workspace-governance-context.d.ts +18 -0
- package/dist/workspace-integration-wire.d.ts +1 -1
- package/dist/workspace-integration-wire.js +1 -1
- package/dist/workspace-integrations.d.ts +212 -12
- package/dist/xai-provider-account-authority.js +3 -1
- package/package.json +121 -4
- package/src/agent-authored-durable-text.ts +14 -11
- package/src/agent-config.ts +382 -203
- package/src/agent-instruction-changes.ts +94 -74
- package/src/agent-learning.ts +94 -66
- package/src/agent-topology.ts +58 -52
- package/src/api-key-presets.ts +28 -0
- package/src/app-action-catalog-types.ts +32 -0
- package/src/app-action-catalog.gen.ts +9905 -0
- package/src/app-actions.ts +365 -0
- package/src/app-shot.ts +176 -0
- package/src/artifact-catalog.ts +81 -46
- package/src/artifacts.ts +360 -227
- package/src/atlassian-native-retirement.ts +33 -0
- package/src/atlassian.ts +136 -108
- package/src/automation-templates.ts +201 -0
- package/src/billing-subscriptions.ts +48 -0
- package/src/bots.ts +238 -0
- package/src/bundled-skills.ts +79 -22
- package/src/canonical-human-identities.ts +65 -62
- package/src/child-lifecycle-notice-protocol.gen.json +1310 -0
- package/src/child-lifecycle-notice-protocol.ts +224 -0
- package/src/claude-provider-account-authority.ts +12 -0
- package/src/claude-subscription-oauth.ts +61 -19
- package/src/claude-subscription-usage.ts +64 -35
- package/src/client-error-report.ts +344 -9
- package/src/code-search.ts +1 -1
- package/src/codex-provider-account-authority.ts +22 -16
- package/src/company-brain-governed-writes.ts +265 -244
- package/src/company-brain.ts +165 -154
- package/src/company-profile.ts +362 -297
- package/src/connect.ts +222 -173
- package/src/connection-account-label.ts +45 -0
- package/src/connection-authority.ts +172 -152
- package/src/connector-attachments.ts +139 -123
- package/src/connector-destinations.ts +48 -43
- package/src/connector-tool-permissions.ts +104 -46
- package/src/credential-profiles.ts +161 -0
- package/src/cua-desktop-tools.gen.json +6722 -0
- package/src/cua-desktop-tools.linux.gen.json +6798 -0
- package/src/cua-desktop-tools.ts +42 -0
- package/src/cua-desktop-tools.windows.gen.json +6739 -0
- package/src/define-schema.ts +10 -0
- package/src/desktop-app.ts +50 -0
- package/src/direct-model-provider.ts +112 -0
- package/src/editable-artifact-binary.ts +29 -8
- package/src/editable-artifact-committed-transaction.ts +19 -18
- package/src/editable-artifact-serialized-commit.ts +8 -2
- package/src/editable-artifact-versions.ts +7 -1
- package/src/event-preview.ts +53 -3
- package/src/event-triggers.ts +891 -0
- package/src/external-identities.ts +239 -195
- package/src/feedback.ts +125 -30
- package/src/file-access.ts +26 -0
- package/src/first-party-tool-authorization.ts +383 -0
- package/src/github-repository-contracts.ts +78 -64
- package/src/google-drive-native-retirement.ts +20 -0
- package/src/google-drive.ts +286 -234
- package/src/governed-learning-activation.ts +159 -137
- package/src/governed-learning-evaluator.ts +141 -133
- package/src/host-mcp-bindings.ts +244 -221
- package/src/image-generation.ts +105 -95
- package/src/index.ts +13928 -9899
- package/src/inference-residency.ts +36 -0
- package/src/insights-usage.ts +774 -0
- package/src/integration-capability-id.ts +16 -0
- package/src/interaction-action-deadline.ts +143 -0
- package/src/interaction-driver-diagnostic.ts +89 -0
- package/src/interaction.ts +3527 -2427
- package/src/knowledge-entries.ts +386 -299
- package/src/knowledge-preparation.ts +49 -41
- package/src/knowledge.ts +242 -213
- package/src/learning-refusal.ts +90 -0
- package/src/managed-auth-session-sets.ts +180 -133
- package/src/managed-sign-in-methods.ts +156 -34
- package/src/mcp-oauth.ts +58 -46
- package/src/mcp-receipts.ts +199 -194
- package/src/mcp-structured-content.ts +81 -0
- package/src/memory-slack-delivery.ts +172 -142
- package/src/message-time-zone.ts +109 -0
- package/src/modal-native-proof-v2.ts +430 -0
- package/src/model-account-choice.ts +178 -0
- package/src/model-account-settings.ts +210 -0
- package/src/model-availability.ts +22 -0
- package/src/model-connection-access.ts +62 -14
- package/src/model-context-inspector.ts +130 -109
- package/src/model-display.ts +221 -0
- package/src/model-picker-order.ts +1 -1
- package/src/model-residency.ts +535 -0
- package/src/organization-access.ts +216 -0
- package/src/organization-integration-policy.ts +47 -28
- package/src/organization-membership-lifecycle.ts +558 -384
- package/src/organization-model-usage.ts +82 -0
- package/src/organization-recovery.ts +148 -135
- package/src/organization-usage.ts +84 -52
- package/src/passkey-only-account.ts +29 -0
- package/src/permissions.ts +94 -52
- package/src/personal-github.ts +211 -171
- package/src/personal-integration-setup.ts +150 -0
- package/src/preference-registry.ts +319 -263
- package/src/prepared-mcp-setup.ts +190 -0
- package/src/primitives.ts +22 -0
- package/src/product-analytics.ts +40 -15
- package/src/product-lifecycle-facts.ts +50 -20
- package/src/prompt-cache-diagnostics.ts +212 -0
- package/src/recordings.ts +1153 -0
- package/src/remember.ts +184 -172
- package/src/retained-output.ts +181 -168
- package/src/sandbox-file-artifacts.ts +78 -57
- package/src/sandbox-provider-command.ts +55 -72
- package/src/sandbox-recovery.ts +163 -77
- package/src/scoped-knowledge.ts +62 -43
- package/src/secret-generator.ts +156 -0
- package/src/secret-mask-strings.ts +175 -0
- package/src/secret-references.ts +414 -0
- package/src/secret-resolution.ts +322 -0
- package/src/secret-shape-masking.ts +573 -0
- package/src/secret-totp.ts +188 -0
- package/src/secret-use-approval-question.ts +22 -0
- package/src/secret-use-approvals.ts +219 -0
- package/src/secret-value-masking.ts +1283 -0
- package/src/secret-value.ts +22 -0
- package/src/session-goal-reports.ts +55 -49
- package/src/session-history-import.ts +84 -68
- package/src/session-history.ts +197 -0
- package/src/session-list-entries.ts +106 -0
- package/src/session-mcp-projections.ts +21 -3
- package/src/session-mcp-tool-permissions.ts +109 -0
- package/src/session-message-search.ts +46 -38
- package/src/session-target.ts +58 -0
- package/src/session-titles.ts +40 -4
- package/src/session-topology-primitives.ts +20 -12
- package/src/session-usage-limit-refusal.ts +101 -0
- package/src/session-usage-limits.ts +169 -0
- package/src/signup-attribution.ts +20 -15
- package/src/site-data.ts +337 -0
- package/src/site-operations.ts +154 -0
- package/src/site-publishing.ts +903 -0
- package/src/site-session-http.ts +344 -16
- package/src/site-sql.ts +1120 -0
- package/src/skill-use.ts +18 -17
- package/src/skills.ts +105 -50
- package/src/slack-bot-scopes.ts +18 -35
- package/src/slack-rest-mcp.ts +222 -0
- package/src/slack-task-policy.ts +97 -73
- package/src/spreadsheet-artifact-commands.ts +74 -13
- package/src/spreadsheet-artifact-query.ts +188 -50
- package/src/subscription-account-actions.ts +103 -0
- package/src/subscription-account-pools.ts +74 -0
- package/src/subscription-personal-authority-v2.ts +69 -0
- package/src/subscription-plans.ts +51 -0
- package/src/subscription-usage-pool.ts +44 -0
- package/src/task-notes.ts +70 -68
- package/src/tool-action-review.ts +271 -0
- package/src/tool-catalog.ts +694 -379
- package/src/tool-policy.ts +82 -0
- package/src/tool-result-spill.ts +13 -9
- package/src/tool-review-presentation.ts +643 -0
- package/src/turn-serving-policy.ts +167 -0
- package/src/usage-allowances.ts +212 -136
- package/src/values.ts +25 -0
- package/src/vault-provider-wire.ts +580 -0
- package/src/vaults.ts +1296 -0
- package/src/video-generation.ts +430 -361
- package/src/work-claims.ts +183 -166
- package/src/workspace-control-event.ts +134 -0
- package/src/workspace-governance-context.ts +63 -0
- package/src/workspace-instruction-policies.ts +346 -279
- package/src/workspace-integration-wire.ts +10 -0
- package/src/workspace-integrations.ts +488 -398
- package/src/workspace-learning-administration.ts +58 -44
- package/src/workspace-learning-policy.ts +126 -99
- package/src/workspace-state.ts +239 -220
- package/src/xai-provider-account-authority.ts +23 -17
- package/dist/chunk-3SIZGL3O.js.map +0 -1
- package/dist/chunk-566IFOVP.js +0 -26133
- package/dist/chunk-566IFOVP.js.map +0 -1
- package/dist/chunk-5IXYF6XN.js +0 -728
- package/dist/chunk-5IXYF6XN.js.map +0 -1
- package/dist/chunk-5Q54VCCH.js.map +0 -1
- package/dist/chunk-BCS7WHCK.js +0 -139
- package/dist/chunk-BCS7WHCK.js.map +0 -1
- package/dist/chunk-EK7NDGFR.js +0 -128
- package/dist/chunk-EK7NDGFR.js.map +0 -1
- package/dist/chunk-GRG7PHWQ.js +0 -25
- package/dist/chunk-GRG7PHWQ.js.map +0 -1
- package/dist/chunk-HHZSZYYF.js.map +0 -1
- package/dist/chunk-ICDZGUX2.js +0 -186
- package/dist/chunk-ICDZGUX2.js.map +0 -1
- package/dist/chunk-JUFK3T4Q.js +0 -80
- package/dist/chunk-JUFK3T4Q.js.map +0 -1
- package/dist/chunk-MYBZRDTY.js.map +0 -1
- package/dist/chunk-NRMCVHAU.js.map +0 -1
- package/dist/chunk-O77VSFYZ.js.map +0 -1
- package/dist/chunk-P3HLDT77.js +0 -59
- package/dist/chunk-P3HLDT77.js.map +0 -1
- package/dist/chunk-TXTQIYCV.js.map +0 -1
- package/dist/chunk-WYBDERIY.js.map +0 -1
- package/dist/chunk-Y3KNXVTD.js.map +0 -1
- package/dist/chunk-YBW5JSA3.js.map +0 -1
- package/dist/chunk-YRXAWWCU.js +0 -45
- package/dist/chunk-YRXAWWCU.js.map +0 -1
- package/dist/chunk-YWMOIZ6A.js +0 -185
- package/dist/chunk-YWMOIZ6A.js.map +0 -1
- package/dist/site-request-headers.test.d.ts +0 -1
- package/dist/transcription-recordings.d.ts +0 -300
- package/src/transcription-recordings.ts +0 -169
- /package/dist/{chunk-SIOU2K4U.js.map → chunk-LJH2EYGT.js.map} +0 -0
- /package/dist/{chunk-RIY7GYQS.js.map → chunk-PTSROVDG.js.map} +0 -0
- /package/dist/{chunk-YRKRZ6OF.js.map → chunk-TOOJIBJC.js.map} +0 -0
- /package/dist/{chunk-D2HKF2EF.js.map → chunk-XP5M3IKT.js.map} +0 -0
package/dist/bots.d.ts
ADDED
|
@@ -0,0 +1,583 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* Bots. A bot is an ordinary long-lived chat: its title is its name, and any
|
|
4
|
+
* chat may also carry a short description and an avatar. Both are display
|
|
5
|
+
* metadata for people; they never reach the model. People and the chat's own
|
|
6
|
+
* agent may change them at any time.
|
|
7
|
+
*
|
|
8
|
+
* A bot template is where a new bot starts: a name, description and avatar,
|
|
9
|
+
* plus setup instructions that become the new chat's first message. The
|
|
10
|
+
* agent then sets itself up with its ordinary tools (Skills, connections,
|
|
11
|
+
* schedules, machines) and the chat simply continues. A workspace keeps the
|
|
12
|
+
* templates its people and agents save.
|
|
13
|
+
*
|
|
14
|
+
* This module must not import `./index`.
|
|
15
|
+
*/
|
|
16
|
+
export declare const SESSION_DESCRIPTION_MAX_LENGTH = 280;
|
|
17
|
+
/** Curated icon names (the web maps each to a Lucide glyph). */
|
|
18
|
+
export declare const SESSION_AVATAR_ICONS: readonly ["bot", "bug", "mail", "git-pull-request", "telescope", "chart-line", "file-text", "shield-check", "wrench", "search", "calendar-clock", "megaphone", "receipt", "rocket", "database", "code", "briefcase", "book-open", "flask-conical", "globe", "headset", "pen-tool", "users", "sparkles"];
|
|
19
|
+
export declare const SessionAvatarIcon: z.ZodEnum<{
|
|
20
|
+
"book-open": "book-open";
|
|
21
|
+
bot: "bot";
|
|
22
|
+
briefcase: "briefcase";
|
|
23
|
+
bug: "bug";
|
|
24
|
+
"calendar-clock": "calendar-clock";
|
|
25
|
+
"chart-line": "chart-line";
|
|
26
|
+
code: "code";
|
|
27
|
+
database: "database";
|
|
28
|
+
"file-text": "file-text";
|
|
29
|
+
"flask-conical": "flask-conical";
|
|
30
|
+
"git-pull-request": "git-pull-request";
|
|
31
|
+
globe: "globe";
|
|
32
|
+
headset: "headset";
|
|
33
|
+
mail: "mail";
|
|
34
|
+
megaphone: "megaphone";
|
|
35
|
+
"pen-tool": "pen-tool";
|
|
36
|
+
receipt: "receipt";
|
|
37
|
+
rocket: "rocket";
|
|
38
|
+
search: "search";
|
|
39
|
+
"shield-check": "shield-check";
|
|
40
|
+
sparkles: "sparkles";
|
|
41
|
+
telescope: "telescope";
|
|
42
|
+
users: "users";
|
|
43
|
+
wrench: "wrench";
|
|
44
|
+
}>;
|
|
45
|
+
export type SessionAvatarIcon = z.infer<typeof SessionAvatarIcon>;
|
|
46
|
+
/** True when `value` is exactly one user-perceived character that is an emoji. */
|
|
47
|
+
export declare function isSingleSessionAvatarEmoji(value: string): boolean;
|
|
48
|
+
/** Hue (0-359) of the avatar tile's background. */
|
|
49
|
+
export declare const SessionAvatarHue: z.ZodNumber;
|
|
50
|
+
/**
|
|
51
|
+
* What a chat looks like in lists and its header. `image` names an image file
|
|
52
|
+
* in the workspace (for example one the agent generated); each viewer opens it
|
|
53
|
+
* with their own access, and anyone who cannot sees the chat's initials.
|
|
54
|
+
*/
|
|
55
|
+
export declare const SessionAvatar: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
56
|
+
kind: z.ZodLiteral<"emoji">;
|
|
57
|
+
emoji: z.ZodString;
|
|
58
|
+
hue: z.ZodNumber;
|
|
59
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
60
|
+
kind: z.ZodLiteral<"icon">;
|
|
61
|
+
icon: z.ZodEnum<{
|
|
62
|
+
"book-open": "book-open";
|
|
63
|
+
bot: "bot";
|
|
64
|
+
briefcase: "briefcase";
|
|
65
|
+
bug: "bug";
|
|
66
|
+
"calendar-clock": "calendar-clock";
|
|
67
|
+
"chart-line": "chart-line";
|
|
68
|
+
code: "code";
|
|
69
|
+
database: "database";
|
|
70
|
+
"file-text": "file-text";
|
|
71
|
+
"flask-conical": "flask-conical";
|
|
72
|
+
"git-pull-request": "git-pull-request";
|
|
73
|
+
globe: "globe";
|
|
74
|
+
headset: "headset";
|
|
75
|
+
mail: "mail";
|
|
76
|
+
megaphone: "megaphone";
|
|
77
|
+
"pen-tool": "pen-tool";
|
|
78
|
+
receipt: "receipt";
|
|
79
|
+
rocket: "rocket";
|
|
80
|
+
search: "search";
|
|
81
|
+
"shield-check": "shield-check";
|
|
82
|
+
sparkles: "sparkles";
|
|
83
|
+
telescope: "telescope";
|
|
84
|
+
users: "users";
|
|
85
|
+
wrench: "wrench";
|
|
86
|
+
}>;
|
|
87
|
+
hue: z.ZodNumber;
|
|
88
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
89
|
+
kind: z.ZodLiteral<"letters">;
|
|
90
|
+
letters: z.ZodString;
|
|
91
|
+
hue: z.ZodNumber;
|
|
92
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
93
|
+
kind: z.ZodLiteral<"image">;
|
|
94
|
+
artifactId: z.ZodString;
|
|
95
|
+
}, z.core.$strict>], "kind">;
|
|
96
|
+
export type SessionAvatar = z.infer<typeof SessionAvatar>;
|
|
97
|
+
/** An avatar a file can carry to another workspace: anything but an image. */
|
|
98
|
+
export declare const PortableSessionAvatar: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
99
|
+
kind: z.ZodLiteral<"emoji">;
|
|
100
|
+
emoji: z.ZodString;
|
|
101
|
+
hue: z.ZodNumber;
|
|
102
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
103
|
+
kind: z.ZodLiteral<"icon">;
|
|
104
|
+
icon: z.ZodEnum<{
|
|
105
|
+
"book-open": "book-open";
|
|
106
|
+
bot: "bot";
|
|
107
|
+
briefcase: "briefcase";
|
|
108
|
+
bug: "bug";
|
|
109
|
+
"calendar-clock": "calendar-clock";
|
|
110
|
+
"chart-line": "chart-line";
|
|
111
|
+
code: "code";
|
|
112
|
+
database: "database";
|
|
113
|
+
"file-text": "file-text";
|
|
114
|
+
"flask-conical": "flask-conical";
|
|
115
|
+
"git-pull-request": "git-pull-request";
|
|
116
|
+
globe: "globe";
|
|
117
|
+
headset: "headset";
|
|
118
|
+
mail: "mail";
|
|
119
|
+
megaphone: "megaphone";
|
|
120
|
+
"pen-tool": "pen-tool";
|
|
121
|
+
receipt: "receipt";
|
|
122
|
+
rocket: "rocket";
|
|
123
|
+
search: "search";
|
|
124
|
+
"shield-check": "shield-check";
|
|
125
|
+
sparkles: "sparkles";
|
|
126
|
+
telescope: "telescope";
|
|
127
|
+
users: "users";
|
|
128
|
+
wrench: "wrench";
|
|
129
|
+
}>;
|
|
130
|
+
hue: z.ZodNumber;
|
|
131
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
132
|
+
kind: z.ZodLiteral<"letters">;
|
|
133
|
+
letters: z.ZodString;
|
|
134
|
+
hue: z.ZodNumber;
|
|
135
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
136
|
+
kind: z.ZodLiteral<"image">;
|
|
137
|
+
artifactId: z.ZodString;
|
|
138
|
+
}, z.core.$strict>], "kind"> & z.ZodType<{
|
|
139
|
+
kind: "emoji";
|
|
140
|
+
emoji: string;
|
|
141
|
+
hue: number;
|
|
142
|
+
} | {
|
|
143
|
+
kind: "icon";
|
|
144
|
+
icon: "book-open" | "bot" | "briefcase" | "bug" | "calendar-clock" | "chart-line" | "code" | "database" | "file-text" | "flask-conical" | "git-pull-request" | "globe" | "headset" | "mail" | "megaphone" | "pen-tool" | "receipt" | "rocket" | "search" | "shield-check" | "sparkles" | "telescope" | "users" | "wrench";
|
|
145
|
+
hue: number;
|
|
146
|
+
} | {
|
|
147
|
+
kind: "letters";
|
|
148
|
+
letters: string;
|
|
149
|
+
hue: number;
|
|
150
|
+
}, {
|
|
151
|
+
kind: "emoji";
|
|
152
|
+
emoji: string;
|
|
153
|
+
hue: number;
|
|
154
|
+
} | {
|
|
155
|
+
kind: "icon";
|
|
156
|
+
icon: "book-open" | "bot" | "briefcase" | "bug" | "calendar-clock" | "chart-line" | "code" | "database" | "file-text" | "flask-conical" | "git-pull-request" | "globe" | "headset" | "mail" | "megaphone" | "pen-tool" | "receipt" | "rocket" | "search" | "shield-check" | "sparkles" | "telescope" | "users" | "wrench";
|
|
157
|
+
hue: number;
|
|
158
|
+
} | {
|
|
159
|
+
kind: "letters";
|
|
160
|
+
letters: string;
|
|
161
|
+
hue: number;
|
|
162
|
+
} | {
|
|
163
|
+
kind: "image";
|
|
164
|
+
artifactId: string;
|
|
165
|
+
}, z.core.$ZodTypeInternals<{
|
|
166
|
+
kind: "emoji";
|
|
167
|
+
emoji: string;
|
|
168
|
+
hue: number;
|
|
169
|
+
} | {
|
|
170
|
+
kind: "icon";
|
|
171
|
+
icon: "book-open" | "bot" | "briefcase" | "bug" | "calendar-clock" | "chart-line" | "code" | "database" | "file-text" | "flask-conical" | "git-pull-request" | "globe" | "headset" | "mail" | "megaphone" | "pen-tool" | "receipt" | "rocket" | "search" | "shield-check" | "sparkles" | "telescope" | "users" | "wrench";
|
|
172
|
+
hue: number;
|
|
173
|
+
} | {
|
|
174
|
+
kind: "letters";
|
|
175
|
+
letters: string;
|
|
176
|
+
hue: number;
|
|
177
|
+
}, {
|
|
178
|
+
kind: "emoji";
|
|
179
|
+
emoji: string;
|
|
180
|
+
hue: number;
|
|
181
|
+
} | {
|
|
182
|
+
kind: "icon";
|
|
183
|
+
icon: "book-open" | "bot" | "briefcase" | "bug" | "calendar-clock" | "chart-line" | "code" | "database" | "file-text" | "flask-conical" | "git-pull-request" | "globe" | "headset" | "mail" | "megaphone" | "pen-tool" | "receipt" | "rocket" | "search" | "shield-check" | "sparkles" | "telescope" | "users" | "wrench";
|
|
184
|
+
hue: number;
|
|
185
|
+
} | {
|
|
186
|
+
kind: "letters";
|
|
187
|
+
letters: string;
|
|
188
|
+
hue: number;
|
|
189
|
+
} | {
|
|
190
|
+
kind: "image";
|
|
191
|
+
artifactId: string;
|
|
192
|
+
}>>;
|
|
193
|
+
/** Stored descriptions are trimmed; an empty one is no description. */
|
|
194
|
+
export declare const SessionDescription: z.ZodPipe<z.ZodString, z.ZodTransform<string | null, string>>;
|
|
195
|
+
export declare const BOT_TEMPLATE_NAME_MAX_LENGTH = 120;
|
|
196
|
+
export declare const BOT_TEMPLATE_SETUP_INSTRUCTIONS_MAX_LENGTH = 20000;
|
|
197
|
+
/** Saved templates a workspace keeps; saving another past this is refused. */
|
|
198
|
+
export declare const BOT_TEMPLATES_PER_WORKSPACE_MAX = 200;
|
|
199
|
+
/** A template saved in a workspace. */
|
|
200
|
+
export declare const WorkspaceBotTemplate: z.ZodObject<{
|
|
201
|
+
id: z.ZodString;
|
|
202
|
+
workspaceId: z.ZodString;
|
|
203
|
+
name: z.ZodString;
|
|
204
|
+
description: z.ZodString;
|
|
205
|
+
avatar: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
206
|
+
kind: z.ZodLiteral<"emoji">;
|
|
207
|
+
emoji: z.ZodString;
|
|
208
|
+
hue: z.ZodNumber;
|
|
209
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
210
|
+
kind: z.ZodLiteral<"icon">;
|
|
211
|
+
icon: z.ZodEnum<{
|
|
212
|
+
"book-open": "book-open";
|
|
213
|
+
bot: "bot";
|
|
214
|
+
briefcase: "briefcase";
|
|
215
|
+
bug: "bug";
|
|
216
|
+
"calendar-clock": "calendar-clock";
|
|
217
|
+
"chart-line": "chart-line";
|
|
218
|
+
code: "code";
|
|
219
|
+
database: "database";
|
|
220
|
+
"file-text": "file-text";
|
|
221
|
+
"flask-conical": "flask-conical";
|
|
222
|
+
"git-pull-request": "git-pull-request";
|
|
223
|
+
globe: "globe";
|
|
224
|
+
headset: "headset";
|
|
225
|
+
mail: "mail";
|
|
226
|
+
megaphone: "megaphone";
|
|
227
|
+
"pen-tool": "pen-tool";
|
|
228
|
+
receipt: "receipt";
|
|
229
|
+
rocket: "rocket";
|
|
230
|
+
search: "search";
|
|
231
|
+
"shield-check": "shield-check";
|
|
232
|
+
sparkles: "sparkles";
|
|
233
|
+
telescope: "telescope";
|
|
234
|
+
users: "users";
|
|
235
|
+
wrench: "wrench";
|
|
236
|
+
}>;
|
|
237
|
+
hue: z.ZodNumber;
|
|
238
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
239
|
+
kind: z.ZodLiteral<"letters">;
|
|
240
|
+
letters: z.ZodString;
|
|
241
|
+
hue: z.ZodNumber;
|
|
242
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
243
|
+
kind: z.ZodLiteral<"image">;
|
|
244
|
+
artifactId: z.ZodString;
|
|
245
|
+
}, z.core.$strict>], "kind">>;
|
|
246
|
+
setupInstructions: z.ZodString;
|
|
247
|
+
sourceSessionId: z.ZodNullable<z.ZodString>;
|
|
248
|
+
createdBySubjectId: z.ZodNullable<z.ZodString>;
|
|
249
|
+
viewerAccess: z.ZodEnum<{
|
|
250
|
+
manage: "manage";
|
|
251
|
+
use: "use";
|
|
252
|
+
}>;
|
|
253
|
+
createdAt: z.ZodString;
|
|
254
|
+
updatedAt: z.ZodString;
|
|
255
|
+
}, z.core.$strip>;
|
|
256
|
+
export type WorkspaceBotTemplate = z.output<typeof WorkspaceBotTemplate>;
|
|
257
|
+
export declare const CreateBotTemplateRequest: z.ZodObject<{
|
|
258
|
+
name: z.ZodString;
|
|
259
|
+
description: z.ZodDefault<z.ZodString>;
|
|
260
|
+
avatar: z.ZodDefault<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
261
|
+
kind: z.ZodLiteral<"emoji">;
|
|
262
|
+
emoji: z.ZodString;
|
|
263
|
+
hue: z.ZodNumber;
|
|
264
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
265
|
+
kind: z.ZodLiteral<"icon">;
|
|
266
|
+
icon: z.ZodEnum<{
|
|
267
|
+
"book-open": "book-open";
|
|
268
|
+
bot: "bot";
|
|
269
|
+
briefcase: "briefcase";
|
|
270
|
+
bug: "bug";
|
|
271
|
+
"calendar-clock": "calendar-clock";
|
|
272
|
+
"chart-line": "chart-line";
|
|
273
|
+
code: "code";
|
|
274
|
+
database: "database";
|
|
275
|
+
"file-text": "file-text";
|
|
276
|
+
"flask-conical": "flask-conical";
|
|
277
|
+
"git-pull-request": "git-pull-request";
|
|
278
|
+
globe: "globe";
|
|
279
|
+
headset: "headset";
|
|
280
|
+
mail: "mail";
|
|
281
|
+
megaphone: "megaphone";
|
|
282
|
+
"pen-tool": "pen-tool";
|
|
283
|
+
receipt: "receipt";
|
|
284
|
+
rocket: "rocket";
|
|
285
|
+
search: "search";
|
|
286
|
+
"shield-check": "shield-check";
|
|
287
|
+
sparkles: "sparkles";
|
|
288
|
+
telescope: "telescope";
|
|
289
|
+
users: "users";
|
|
290
|
+
wrench: "wrench";
|
|
291
|
+
}>;
|
|
292
|
+
hue: z.ZodNumber;
|
|
293
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
294
|
+
kind: z.ZodLiteral<"letters">;
|
|
295
|
+
letters: z.ZodString;
|
|
296
|
+
hue: z.ZodNumber;
|
|
297
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
298
|
+
kind: z.ZodLiteral<"image">;
|
|
299
|
+
artifactId: z.ZodString;
|
|
300
|
+
}, z.core.$strict>], "kind">>>;
|
|
301
|
+
setupInstructions: z.ZodString;
|
|
302
|
+
sourceSessionId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
303
|
+
}, z.core.$strict>;
|
|
304
|
+
export type CreateBotTemplateRequest = z.input<typeof CreateBotTemplateRequest>;
|
|
305
|
+
export type ParsedCreateBotTemplateRequest = z.output<typeof CreateBotTemplateRequest>;
|
|
306
|
+
/** Changes only what it names. */
|
|
307
|
+
export declare const UpdateBotTemplateRequest: z.ZodObject<{
|
|
308
|
+
name: z.ZodOptional<z.ZodString>;
|
|
309
|
+
description: z.ZodOptional<z.ZodString>;
|
|
310
|
+
avatar: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
311
|
+
kind: z.ZodLiteral<"emoji">;
|
|
312
|
+
emoji: z.ZodString;
|
|
313
|
+
hue: z.ZodNumber;
|
|
314
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
315
|
+
kind: z.ZodLiteral<"icon">;
|
|
316
|
+
icon: z.ZodEnum<{
|
|
317
|
+
"book-open": "book-open";
|
|
318
|
+
bot: "bot";
|
|
319
|
+
briefcase: "briefcase";
|
|
320
|
+
bug: "bug";
|
|
321
|
+
"calendar-clock": "calendar-clock";
|
|
322
|
+
"chart-line": "chart-line";
|
|
323
|
+
code: "code";
|
|
324
|
+
database: "database";
|
|
325
|
+
"file-text": "file-text";
|
|
326
|
+
"flask-conical": "flask-conical";
|
|
327
|
+
"git-pull-request": "git-pull-request";
|
|
328
|
+
globe: "globe";
|
|
329
|
+
headset: "headset";
|
|
330
|
+
mail: "mail";
|
|
331
|
+
megaphone: "megaphone";
|
|
332
|
+
"pen-tool": "pen-tool";
|
|
333
|
+
receipt: "receipt";
|
|
334
|
+
rocket: "rocket";
|
|
335
|
+
search: "search";
|
|
336
|
+
"shield-check": "shield-check";
|
|
337
|
+
sparkles: "sparkles";
|
|
338
|
+
telescope: "telescope";
|
|
339
|
+
users: "users";
|
|
340
|
+
wrench: "wrench";
|
|
341
|
+
}>;
|
|
342
|
+
hue: z.ZodNumber;
|
|
343
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
344
|
+
kind: z.ZodLiteral<"letters">;
|
|
345
|
+
letters: z.ZodString;
|
|
346
|
+
hue: z.ZodNumber;
|
|
347
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
348
|
+
kind: z.ZodLiteral<"image">;
|
|
349
|
+
artifactId: z.ZodString;
|
|
350
|
+
}, z.core.$strict>], "kind">>>;
|
|
351
|
+
setupInstructions: z.ZodOptional<z.ZodString>;
|
|
352
|
+
}, z.core.$strict>;
|
|
353
|
+
export type UpdateBotTemplateRequest = z.input<typeof UpdateBotTemplateRequest>;
|
|
354
|
+
export type ParsedUpdateBotTemplateRequest = z.output<typeof UpdateBotTemplateRequest>;
|
|
355
|
+
export declare const ListBotTemplatesResponse: z.ZodObject<{
|
|
356
|
+
templates: z.ZodArray<z.ZodObject<{
|
|
357
|
+
id: z.ZodString;
|
|
358
|
+
workspaceId: z.ZodString;
|
|
359
|
+
name: z.ZodString;
|
|
360
|
+
description: z.ZodString;
|
|
361
|
+
avatar: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
362
|
+
kind: z.ZodLiteral<"emoji">;
|
|
363
|
+
emoji: z.ZodString;
|
|
364
|
+
hue: z.ZodNumber;
|
|
365
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
366
|
+
kind: z.ZodLiteral<"icon">;
|
|
367
|
+
icon: z.ZodEnum<{
|
|
368
|
+
"book-open": "book-open";
|
|
369
|
+
bot: "bot";
|
|
370
|
+
briefcase: "briefcase";
|
|
371
|
+
bug: "bug";
|
|
372
|
+
"calendar-clock": "calendar-clock";
|
|
373
|
+
"chart-line": "chart-line";
|
|
374
|
+
code: "code";
|
|
375
|
+
database: "database";
|
|
376
|
+
"file-text": "file-text";
|
|
377
|
+
"flask-conical": "flask-conical";
|
|
378
|
+
"git-pull-request": "git-pull-request";
|
|
379
|
+
globe: "globe";
|
|
380
|
+
headset: "headset";
|
|
381
|
+
mail: "mail";
|
|
382
|
+
megaphone: "megaphone";
|
|
383
|
+
"pen-tool": "pen-tool";
|
|
384
|
+
receipt: "receipt";
|
|
385
|
+
rocket: "rocket";
|
|
386
|
+
search: "search";
|
|
387
|
+
"shield-check": "shield-check";
|
|
388
|
+
sparkles: "sparkles";
|
|
389
|
+
telescope: "telescope";
|
|
390
|
+
users: "users";
|
|
391
|
+
wrench: "wrench";
|
|
392
|
+
}>;
|
|
393
|
+
hue: z.ZodNumber;
|
|
394
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
395
|
+
kind: z.ZodLiteral<"letters">;
|
|
396
|
+
letters: z.ZodString;
|
|
397
|
+
hue: z.ZodNumber;
|
|
398
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
399
|
+
kind: z.ZodLiteral<"image">;
|
|
400
|
+
artifactId: z.ZodString;
|
|
401
|
+
}, z.core.$strict>], "kind">>;
|
|
402
|
+
setupInstructions: z.ZodString;
|
|
403
|
+
sourceSessionId: z.ZodNullable<z.ZodString>;
|
|
404
|
+
createdBySubjectId: z.ZodNullable<z.ZodString>;
|
|
405
|
+
viewerAccess: z.ZodEnum<{
|
|
406
|
+
manage: "manage";
|
|
407
|
+
use: "use";
|
|
408
|
+
}>;
|
|
409
|
+
createdAt: z.ZodString;
|
|
410
|
+
updatedAt: z.ZodString;
|
|
411
|
+
}, z.core.$strip>>;
|
|
412
|
+
}, z.core.$strip>;
|
|
413
|
+
export type ListBotTemplatesResponse = z.output<typeof ListBotTemplatesResponse>;
|
|
414
|
+
export declare const BotTemplateResponse: z.ZodObject<{
|
|
415
|
+
template: z.ZodObject<{
|
|
416
|
+
id: z.ZodString;
|
|
417
|
+
workspaceId: z.ZodString;
|
|
418
|
+
name: z.ZodString;
|
|
419
|
+
description: z.ZodString;
|
|
420
|
+
avatar: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
421
|
+
kind: z.ZodLiteral<"emoji">;
|
|
422
|
+
emoji: z.ZodString;
|
|
423
|
+
hue: z.ZodNumber;
|
|
424
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
425
|
+
kind: z.ZodLiteral<"icon">;
|
|
426
|
+
icon: z.ZodEnum<{
|
|
427
|
+
"book-open": "book-open";
|
|
428
|
+
bot: "bot";
|
|
429
|
+
briefcase: "briefcase";
|
|
430
|
+
bug: "bug";
|
|
431
|
+
"calendar-clock": "calendar-clock";
|
|
432
|
+
"chart-line": "chart-line";
|
|
433
|
+
code: "code";
|
|
434
|
+
database: "database";
|
|
435
|
+
"file-text": "file-text";
|
|
436
|
+
"flask-conical": "flask-conical";
|
|
437
|
+
"git-pull-request": "git-pull-request";
|
|
438
|
+
globe: "globe";
|
|
439
|
+
headset: "headset";
|
|
440
|
+
mail: "mail";
|
|
441
|
+
megaphone: "megaphone";
|
|
442
|
+
"pen-tool": "pen-tool";
|
|
443
|
+
receipt: "receipt";
|
|
444
|
+
rocket: "rocket";
|
|
445
|
+
search: "search";
|
|
446
|
+
"shield-check": "shield-check";
|
|
447
|
+
sparkles: "sparkles";
|
|
448
|
+
telescope: "telescope";
|
|
449
|
+
users: "users";
|
|
450
|
+
wrench: "wrench";
|
|
451
|
+
}>;
|
|
452
|
+
hue: z.ZodNumber;
|
|
453
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
454
|
+
kind: z.ZodLiteral<"letters">;
|
|
455
|
+
letters: z.ZodString;
|
|
456
|
+
hue: z.ZodNumber;
|
|
457
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
458
|
+
kind: z.ZodLiteral<"image">;
|
|
459
|
+
artifactId: z.ZodString;
|
|
460
|
+
}, z.core.$strict>], "kind">>;
|
|
461
|
+
setupInstructions: z.ZodString;
|
|
462
|
+
sourceSessionId: z.ZodNullable<z.ZodString>;
|
|
463
|
+
createdBySubjectId: z.ZodNullable<z.ZodString>;
|
|
464
|
+
viewerAccess: z.ZodEnum<{
|
|
465
|
+
manage: "manage";
|
|
466
|
+
use: "use";
|
|
467
|
+
}>;
|
|
468
|
+
createdAt: z.ZodString;
|
|
469
|
+
updatedAt: z.ZodString;
|
|
470
|
+
}, z.core.$strip>;
|
|
471
|
+
}, z.core.$strip>;
|
|
472
|
+
export type BotTemplateResponse = z.output<typeof BotTemplateResponse>;
|
|
473
|
+
export declare const BOT_TEMPLATE_FILE_FORMAT = "opengeni.bot-template";
|
|
474
|
+
/**
|
|
475
|
+
* A template as a file, to share outside its workspace. It carries no ids,
|
|
476
|
+
* owner or image: importing it saves a new template in the importer's
|
|
477
|
+
* workspace, and an image avatar becomes the name's initials.
|
|
478
|
+
*/
|
|
479
|
+
export declare const BotTemplateFile: z.ZodObject<{
|
|
480
|
+
format: z.ZodLiteral<"opengeni.bot-template">;
|
|
481
|
+
version: z.ZodLiteral<1>;
|
|
482
|
+
name: z.ZodString;
|
|
483
|
+
description: z.ZodDefault<z.ZodString>;
|
|
484
|
+
avatar: z.ZodDefault<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
485
|
+
kind: z.ZodLiteral<"emoji">;
|
|
486
|
+
emoji: z.ZodString;
|
|
487
|
+
hue: z.ZodNumber;
|
|
488
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
489
|
+
kind: z.ZodLiteral<"icon">;
|
|
490
|
+
icon: z.ZodEnum<{
|
|
491
|
+
"book-open": "book-open";
|
|
492
|
+
bot: "bot";
|
|
493
|
+
briefcase: "briefcase";
|
|
494
|
+
bug: "bug";
|
|
495
|
+
"calendar-clock": "calendar-clock";
|
|
496
|
+
"chart-line": "chart-line";
|
|
497
|
+
code: "code";
|
|
498
|
+
database: "database";
|
|
499
|
+
"file-text": "file-text";
|
|
500
|
+
"flask-conical": "flask-conical";
|
|
501
|
+
"git-pull-request": "git-pull-request";
|
|
502
|
+
globe: "globe";
|
|
503
|
+
headset: "headset";
|
|
504
|
+
mail: "mail";
|
|
505
|
+
megaphone: "megaphone";
|
|
506
|
+
"pen-tool": "pen-tool";
|
|
507
|
+
receipt: "receipt";
|
|
508
|
+
rocket: "rocket";
|
|
509
|
+
search: "search";
|
|
510
|
+
"shield-check": "shield-check";
|
|
511
|
+
sparkles: "sparkles";
|
|
512
|
+
telescope: "telescope";
|
|
513
|
+
users: "users";
|
|
514
|
+
wrench: "wrench";
|
|
515
|
+
}>;
|
|
516
|
+
hue: z.ZodNumber;
|
|
517
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
518
|
+
kind: z.ZodLiteral<"letters">;
|
|
519
|
+
letters: z.ZodString;
|
|
520
|
+
hue: z.ZodNumber;
|
|
521
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
522
|
+
kind: z.ZodLiteral<"image">;
|
|
523
|
+
artifactId: z.ZodString;
|
|
524
|
+
}, z.core.$strict>], "kind"> & z.ZodType<{
|
|
525
|
+
kind: "emoji";
|
|
526
|
+
emoji: string;
|
|
527
|
+
hue: number;
|
|
528
|
+
} | {
|
|
529
|
+
kind: "icon";
|
|
530
|
+
icon: "book-open" | "bot" | "briefcase" | "bug" | "calendar-clock" | "chart-line" | "code" | "database" | "file-text" | "flask-conical" | "git-pull-request" | "globe" | "headset" | "mail" | "megaphone" | "pen-tool" | "receipt" | "rocket" | "search" | "shield-check" | "sparkles" | "telescope" | "users" | "wrench";
|
|
531
|
+
hue: number;
|
|
532
|
+
} | {
|
|
533
|
+
kind: "letters";
|
|
534
|
+
letters: string;
|
|
535
|
+
hue: number;
|
|
536
|
+
}, {
|
|
537
|
+
kind: "emoji";
|
|
538
|
+
emoji: string;
|
|
539
|
+
hue: number;
|
|
540
|
+
} | {
|
|
541
|
+
kind: "icon";
|
|
542
|
+
icon: "book-open" | "bot" | "briefcase" | "bug" | "calendar-clock" | "chart-line" | "code" | "database" | "file-text" | "flask-conical" | "git-pull-request" | "globe" | "headset" | "mail" | "megaphone" | "pen-tool" | "receipt" | "rocket" | "search" | "shield-check" | "sparkles" | "telescope" | "users" | "wrench";
|
|
543
|
+
hue: number;
|
|
544
|
+
} | {
|
|
545
|
+
kind: "letters";
|
|
546
|
+
letters: string;
|
|
547
|
+
hue: number;
|
|
548
|
+
} | {
|
|
549
|
+
kind: "image";
|
|
550
|
+
artifactId: string;
|
|
551
|
+
}, z.core.$ZodTypeInternals<{
|
|
552
|
+
kind: "emoji";
|
|
553
|
+
emoji: string;
|
|
554
|
+
hue: number;
|
|
555
|
+
} | {
|
|
556
|
+
kind: "icon";
|
|
557
|
+
icon: "book-open" | "bot" | "briefcase" | "bug" | "calendar-clock" | "chart-line" | "code" | "database" | "file-text" | "flask-conical" | "git-pull-request" | "globe" | "headset" | "mail" | "megaphone" | "pen-tool" | "receipt" | "rocket" | "search" | "shield-check" | "sparkles" | "telescope" | "users" | "wrench";
|
|
558
|
+
hue: number;
|
|
559
|
+
} | {
|
|
560
|
+
kind: "letters";
|
|
561
|
+
letters: string;
|
|
562
|
+
hue: number;
|
|
563
|
+
}, {
|
|
564
|
+
kind: "emoji";
|
|
565
|
+
emoji: string;
|
|
566
|
+
hue: number;
|
|
567
|
+
} | {
|
|
568
|
+
kind: "icon";
|
|
569
|
+
icon: "book-open" | "bot" | "briefcase" | "bug" | "calendar-clock" | "chart-line" | "code" | "database" | "file-text" | "flask-conical" | "git-pull-request" | "globe" | "headset" | "mail" | "megaphone" | "pen-tool" | "receipt" | "rocket" | "search" | "shield-check" | "sparkles" | "telescope" | "users" | "wrench";
|
|
570
|
+
hue: number;
|
|
571
|
+
} | {
|
|
572
|
+
kind: "letters";
|
|
573
|
+
letters: string;
|
|
574
|
+
hue: number;
|
|
575
|
+
} | {
|
|
576
|
+
kind: "image";
|
|
577
|
+
artifactId: string;
|
|
578
|
+
}>>>>;
|
|
579
|
+
setupInstructions: z.ZodString;
|
|
580
|
+
}, z.core.$strict>;
|
|
581
|
+
export type BotTemplateFile = z.input<typeof BotTemplateFile>;
|
|
582
|
+
/** The file for a template; an image avatar is dropped (see {@link BotTemplateFile}). */
|
|
583
|
+
export declare function botTemplateFile(template: Pick<WorkspaceBotTemplate, "name" | "description" | "avatar" | "setupInstructions">): z.output<typeof BotTemplateFile>;
|