@opengeni/contracts 3.1.0-canary.1 → 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 +110 -0
- package/dist/agent-learning.d.ts +243 -0
- 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-WBYTNVIW.js → chunk-RKX3NQYS.js} +1 -1
- 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-brain.d.ts +19 -81
- 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 +174 -0
- package/dist/external-identities.js +15 -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 +39 -10
- package/dist/host-mcp-bindings.js +256 -171
- package/dist/host-mcp-bindings.js.map +1 -1
- package/dist/image-generation.d.ts +1 -0
- package/dist/index.d.ts +15715 -3850
- package/dist/index.js +2088 -289
- 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 +984 -0
- 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-endpoint.js +9 -0
- package/dist/mcp-endpoint.js.map +1 -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/plugin-discovery.js +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-instruction-policies.d.ts +13 -0
- 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/workspace-state.d.ts +85 -416
- package/dist/xai-provider-account-authority.js +2 -1
- package/package.json +98 -2
- package/src/agent-authored-durable-text.ts +14 -11
- package/src/agent-config.ts +1698 -0
- package/src/agent-instruction-changes.ts +115 -0
- package/src/agent-learning.ts +188 -0
- 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 +262 -145
- 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 +292 -198
- package/src/image-generation.ts +104 -95
- package/src/index.ts +13354 -8654
- package/src/insights-usage.ts +727 -0
- package/src/interaction.ts +3070 -2326
- package/src/knowledge-entries.ts +428 -0
- 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 -275
- 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 +253 -333
- package/src/xai-provider-account-authority.ts +22 -17
- 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-OSBYTE3O.js +0 -348
- package/dist/chunk-OSBYTE3O.js.map +0 -1
- package/dist/chunk-P3HLDT77.js +0 -59
- package/dist/chunk-P3HLDT77.js.map +0 -1
- package/dist/chunk-TEMFILR7.js +0 -143
- package/dist/chunk-TEMFILR7.js.map +0 -1
- package/dist/chunk-TXTQIYCV.js.map +0 -1
- package/dist/chunk-UR2GFYIE.js +0 -22598
- package/dist/chunk-UR2GFYIE.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-5LYFSZ7O.js.map → chunk-352X6ENP.js.map} +0 -0
- /package/dist/{chunk-WBYTNVIW.js.map → chunk-RKX3NQYS.js.map} +0 -0
- /package/dist/{chunk-O5LEQHDM.js.map → chunk-Z7WEVGCL.js.map} +0 -0
|
@@ -0,0 +1,984 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { AgentLearningMode } from "./agent-learning.js";
|
|
3
|
+
export declare const KnowledgeEntryKind: z.ZodEnum<{
|
|
4
|
+
decision: "decision";
|
|
5
|
+
fact: "fact";
|
|
6
|
+
group: "group";
|
|
7
|
+
incident: "incident";
|
|
8
|
+
note: "note";
|
|
9
|
+
requirement: "requirement";
|
|
10
|
+
source: "source";
|
|
11
|
+
}>;
|
|
12
|
+
export type KnowledgeEntryKind = z.infer<typeof KnowledgeEntryKind>;
|
|
13
|
+
export declare const KnowledgeEntryScope: z.ZodEnum<{
|
|
14
|
+
organization: "organization";
|
|
15
|
+
personal: "personal";
|
|
16
|
+
workspace: "workspace";
|
|
17
|
+
}>;
|
|
18
|
+
export type KnowledgeEntryScope = z.infer<typeof KnowledgeEntryScope>;
|
|
19
|
+
/** Source-shaped location, not a second copy of the source body. */
|
|
20
|
+
export declare const KnowledgeEvidenceLocation: z.ZodObject<{
|
|
21
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
22
|
+
passage: z.ZodOptional<z.ZodString>;
|
|
23
|
+
messageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24
|
+
path: z.ZodOptional<z.ZodString>;
|
|
25
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
26
|
+
lineStart: z.ZodOptional<z.ZodNumber>;
|
|
27
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
28
|
+
}, z.core.$strict>;
|
|
29
|
+
export type KnowledgeEvidenceLocation = z.infer<typeof KnowledgeEvidenceLocation>;
|
|
30
|
+
export declare const KnowledgeEntryEvidence: z.ZodObject<{
|
|
31
|
+
entryId: z.ZodUUID;
|
|
32
|
+
revisionId: z.ZodUUID;
|
|
33
|
+
location: z.ZodDefault<z.ZodObject<{
|
|
34
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
35
|
+
passage: z.ZodOptional<z.ZodString>;
|
|
36
|
+
messageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
37
|
+
path: z.ZodOptional<z.ZodString>;
|
|
38
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
39
|
+
lineStart: z.ZodOptional<z.ZodNumber>;
|
|
40
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
41
|
+
}, z.core.$strict>>;
|
|
42
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
43
|
+
}, z.core.$strict>;
|
|
44
|
+
export type KnowledgeEntryEvidence = z.infer<typeof KnowledgeEntryEvidence>;
|
|
45
|
+
export declare const KnowledgeEntrySource: z.ZodObject<{
|
|
46
|
+
kind: z.ZodEnum<{
|
|
47
|
+
connector: "connector";
|
|
48
|
+
conversation: "conversation";
|
|
49
|
+
file: "file";
|
|
50
|
+
manual: "manual";
|
|
51
|
+
repository: "repository";
|
|
52
|
+
slack: "slack";
|
|
53
|
+
task_note: "task_note";
|
|
54
|
+
web: "web";
|
|
55
|
+
}>;
|
|
56
|
+
noteId: z.ZodOptional<z.ZodUUID>;
|
|
57
|
+
fileId: z.ZodOptional<z.ZodUUID>;
|
|
58
|
+
documentId: z.ZodOptional<z.ZodUUID>;
|
|
59
|
+
sessionId: z.ZodOptional<z.ZodUUID>;
|
|
60
|
+
uri: z.ZodOptional<z.ZodString>;
|
|
61
|
+
externalId: z.ZodOptional<z.ZodString>;
|
|
62
|
+
version: z.ZodOptional<z.ZodString>;
|
|
63
|
+
capturedAt: z.ZodOptional<z.ZodString>;
|
|
64
|
+
retention: z.ZodOptional<z.ZodEnum<{
|
|
65
|
+
full_text: "full_text";
|
|
66
|
+
passages: "passages";
|
|
67
|
+
reference: "reference";
|
|
68
|
+
}>>;
|
|
69
|
+
purpose: z.ZodOptional<z.ZodEnum<{
|
|
70
|
+
evidence: "evidence";
|
|
71
|
+
reference: "reference";
|
|
72
|
+
}>>;
|
|
73
|
+
}, z.core.$strict>;
|
|
74
|
+
export type KnowledgeEntrySource = z.infer<typeof KnowledgeEntrySource>;
|
|
75
|
+
export declare const KnowledgeEntryRelationship: z.ZodObject<{
|
|
76
|
+
entryId: z.ZodUUID;
|
|
77
|
+
relation: z.ZodEnum<{
|
|
78
|
+
applies_to: "applies_to";
|
|
79
|
+
conflicts_with: "conflicts_with";
|
|
80
|
+
depends_on: "depends_on";
|
|
81
|
+
related_to: "related_to";
|
|
82
|
+
supersedes: "supersedes";
|
|
83
|
+
}>;
|
|
84
|
+
}, z.core.$strict>;
|
|
85
|
+
export type KnowledgeEntryRelationship = z.infer<typeof KnowledgeEntryRelationship>;
|
|
86
|
+
export declare const KnowledgeEntryContent: z.ZodObject<{
|
|
87
|
+
title: z.ZodString;
|
|
88
|
+
kind: z.ZodEnum<{
|
|
89
|
+
decision: "decision";
|
|
90
|
+
fact: "fact";
|
|
91
|
+
group: "group";
|
|
92
|
+
incident: "incident";
|
|
93
|
+
note: "note";
|
|
94
|
+
requirement: "requirement";
|
|
95
|
+
source: "source";
|
|
96
|
+
}>;
|
|
97
|
+
content: z.ZodString;
|
|
98
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
99
|
+
kind: z.ZodEnum<{
|
|
100
|
+
connector: "connector";
|
|
101
|
+
conversation: "conversation";
|
|
102
|
+
file: "file";
|
|
103
|
+
manual: "manual";
|
|
104
|
+
repository: "repository";
|
|
105
|
+
slack: "slack";
|
|
106
|
+
task_note: "task_note";
|
|
107
|
+
web: "web";
|
|
108
|
+
}>;
|
|
109
|
+
noteId: z.ZodOptional<z.ZodUUID>;
|
|
110
|
+
fileId: z.ZodOptional<z.ZodUUID>;
|
|
111
|
+
documentId: z.ZodOptional<z.ZodUUID>;
|
|
112
|
+
sessionId: z.ZodOptional<z.ZodUUID>;
|
|
113
|
+
uri: z.ZodOptional<z.ZodString>;
|
|
114
|
+
externalId: z.ZodOptional<z.ZodString>;
|
|
115
|
+
version: z.ZodOptional<z.ZodString>;
|
|
116
|
+
capturedAt: z.ZodOptional<z.ZodString>;
|
|
117
|
+
retention: z.ZodOptional<z.ZodEnum<{
|
|
118
|
+
full_text: "full_text";
|
|
119
|
+
passages: "passages";
|
|
120
|
+
reference: "reference";
|
|
121
|
+
}>>;
|
|
122
|
+
purpose: z.ZodOptional<z.ZodEnum<{
|
|
123
|
+
evidence: "evidence";
|
|
124
|
+
reference: "reference";
|
|
125
|
+
}>>;
|
|
126
|
+
}, z.core.$strict>>;
|
|
127
|
+
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
128
|
+
entryId: z.ZodUUID;
|
|
129
|
+
revisionId: z.ZodUUID;
|
|
130
|
+
location: z.ZodDefault<z.ZodObject<{
|
|
131
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
132
|
+
passage: z.ZodOptional<z.ZodString>;
|
|
133
|
+
messageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
134
|
+
path: z.ZodOptional<z.ZodString>;
|
|
135
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
136
|
+
lineStart: z.ZodOptional<z.ZodNumber>;
|
|
137
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
138
|
+
}, z.core.$strict>>;
|
|
139
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
140
|
+
}, z.core.$strict>>>;
|
|
141
|
+
groupIds: z.ZodDefault<z.ZodArray<z.ZodUUID>>;
|
|
142
|
+
relationships: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
143
|
+
entryId: z.ZodUUID;
|
|
144
|
+
relation: z.ZodEnum<{
|
|
145
|
+
applies_to: "applies_to";
|
|
146
|
+
conflicts_with: "conflicts_with";
|
|
147
|
+
depends_on: "depends_on";
|
|
148
|
+
related_to: "related_to";
|
|
149
|
+
supersedes: "supersedes";
|
|
150
|
+
}>;
|
|
151
|
+
}, z.core.$strict>>>;
|
|
152
|
+
}, z.core.$strict>;
|
|
153
|
+
export type KnowledgeEntryContent = z.infer<typeof KnowledgeEntryContent>;
|
|
154
|
+
/** Historical relationships are lossless. Admission limits apply to new writes. */
|
|
155
|
+
export declare const StoredKnowledgeEntryContent: z.ZodObject<{
|
|
156
|
+
title: z.ZodString;
|
|
157
|
+
kind: z.ZodEnum<{
|
|
158
|
+
decision: "decision";
|
|
159
|
+
fact: "fact";
|
|
160
|
+
group: "group";
|
|
161
|
+
incident: "incident";
|
|
162
|
+
note: "note";
|
|
163
|
+
requirement: "requirement";
|
|
164
|
+
source: "source";
|
|
165
|
+
}>;
|
|
166
|
+
content: z.ZodString;
|
|
167
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
168
|
+
kind: z.ZodEnum<{
|
|
169
|
+
connector: "connector";
|
|
170
|
+
conversation: "conversation";
|
|
171
|
+
file: "file";
|
|
172
|
+
manual: "manual";
|
|
173
|
+
repository: "repository";
|
|
174
|
+
slack: "slack";
|
|
175
|
+
task_note: "task_note";
|
|
176
|
+
web: "web";
|
|
177
|
+
}>;
|
|
178
|
+
noteId: z.ZodOptional<z.ZodUUID>;
|
|
179
|
+
fileId: z.ZodOptional<z.ZodUUID>;
|
|
180
|
+
documentId: z.ZodOptional<z.ZodUUID>;
|
|
181
|
+
sessionId: z.ZodOptional<z.ZodUUID>;
|
|
182
|
+
uri: z.ZodOptional<z.ZodString>;
|
|
183
|
+
externalId: z.ZodOptional<z.ZodString>;
|
|
184
|
+
version: z.ZodOptional<z.ZodString>;
|
|
185
|
+
capturedAt: z.ZodOptional<z.ZodString>;
|
|
186
|
+
retention: z.ZodOptional<z.ZodEnum<{
|
|
187
|
+
full_text: "full_text";
|
|
188
|
+
passages: "passages";
|
|
189
|
+
reference: "reference";
|
|
190
|
+
}>>;
|
|
191
|
+
purpose: z.ZodOptional<z.ZodEnum<{
|
|
192
|
+
evidence: "evidence";
|
|
193
|
+
reference: "reference";
|
|
194
|
+
}>>;
|
|
195
|
+
}, z.core.$strict>>;
|
|
196
|
+
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
197
|
+
entryId: z.ZodUUID;
|
|
198
|
+
revisionId: z.ZodUUID;
|
|
199
|
+
location: z.ZodDefault<z.ZodObject<{
|
|
200
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
201
|
+
passage: z.ZodOptional<z.ZodString>;
|
|
202
|
+
messageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
203
|
+
path: z.ZodOptional<z.ZodString>;
|
|
204
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
205
|
+
lineStart: z.ZodOptional<z.ZodNumber>;
|
|
206
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
207
|
+
}, z.core.$strict>>;
|
|
208
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
209
|
+
}, z.core.$strict>>>;
|
|
210
|
+
groupIds: z.ZodDefault<z.ZodArray<z.ZodUUID>>;
|
|
211
|
+
relationships: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
212
|
+
entryId: z.ZodUUID;
|
|
213
|
+
relation: z.ZodEnum<{
|
|
214
|
+
applies_to: "applies_to";
|
|
215
|
+
conflicts_with: "conflicts_with";
|
|
216
|
+
depends_on: "depends_on";
|
|
217
|
+
related_to: "related_to";
|
|
218
|
+
supersedes: "supersedes";
|
|
219
|
+
}>;
|
|
220
|
+
}, z.core.$strict>>>;
|
|
221
|
+
}, z.core.$strict>;
|
|
222
|
+
/** Scope identity and agent policy are resolved by the host, never supplied by the model. */
|
|
223
|
+
export declare const KnowledgeEntrySaveRequest: z.ZodObject<{
|
|
224
|
+
operationId: z.ZodUUID;
|
|
225
|
+
entryId: z.ZodOptional<z.ZodUUID>;
|
|
226
|
+
expectedVersion: z.ZodNumber;
|
|
227
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
228
|
+
organization: "organization";
|
|
229
|
+
personal: "personal";
|
|
230
|
+
workspace: "workspace";
|
|
231
|
+
}>>;
|
|
232
|
+
entry: z.ZodObject<{
|
|
233
|
+
kind: z.ZodEnum<{
|
|
234
|
+
decision: "decision";
|
|
235
|
+
fact: "fact";
|
|
236
|
+
group: "group";
|
|
237
|
+
incident: "incident";
|
|
238
|
+
note: "note";
|
|
239
|
+
requirement: "requirement";
|
|
240
|
+
source: "source";
|
|
241
|
+
}>;
|
|
242
|
+
content: z.ZodString;
|
|
243
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
244
|
+
kind: z.ZodEnum<{
|
|
245
|
+
connector: "connector";
|
|
246
|
+
conversation: "conversation";
|
|
247
|
+
file: "file";
|
|
248
|
+
manual: "manual";
|
|
249
|
+
repository: "repository";
|
|
250
|
+
slack: "slack";
|
|
251
|
+
task_note: "task_note";
|
|
252
|
+
web: "web";
|
|
253
|
+
}>;
|
|
254
|
+
noteId: z.ZodOptional<z.ZodUUID>;
|
|
255
|
+
fileId: z.ZodOptional<z.ZodUUID>;
|
|
256
|
+
documentId: z.ZodOptional<z.ZodUUID>;
|
|
257
|
+
sessionId: z.ZodOptional<z.ZodUUID>;
|
|
258
|
+
uri: z.ZodOptional<z.ZodString>;
|
|
259
|
+
externalId: z.ZodOptional<z.ZodString>;
|
|
260
|
+
version: z.ZodOptional<z.ZodString>;
|
|
261
|
+
capturedAt: z.ZodOptional<z.ZodString>;
|
|
262
|
+
retention: z.ZodOptional<z.ZodEnum<{
|
|
263
|
+
full_text: "full_text";
|
|
264
|
+
passages: "passages";
|
|
265
|
+
reference: "reference";
|
|
266
|
+
}>>;
|
|
267
|
+
purpose: z.ZodOptional<z.ZodEnum<{
|
|
268
|
+
evidence: "evidence";
|
|
269
|
+
reference: "reference";
|
|
270
|
+
}>>;
|
|
271
|
+
}, z.core.$strict>>;
|
|
272
|
+
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
273
|
+
entryId: z.ZodUUID;
|
|
274
|
+
revisionId: z.ZodUUID;
|
|
275
|
+
location: z.ZodDefault<z.ZodObject<{
|
|
276
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
277
|
+
passage: z.ZodOptional<z.ZodString>;
|
|
278
|
+
messageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
279
|
+
path: z.ZodOptional<z.ZodString>;
|
|
280
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
281
|
+
lineStart: z.ZodOptional<z.ZodNumber>;
|
|
282
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
283
|
+
}, z.core.$strict>>;
|
|
284
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
285
|
+
}, z.core.$strict>>>;
|
|
286
|
+
groupIds: z.ZodDefault<z.ZodArray<z.ZodUUID>>;
|
|
287
|
+
relationships: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
288
|
+
entryId: z.ZodUUID;
|
|
289
|
+
relation: z.ZodEnum<{
|
|
290
|
+
applies_to: "applies_to";
|
|
291
|
+
conflicts_with: "conflicts_with";
|
|
292
|
+
depends_on: "depends_on";
|
|
293
|
+
related_to: "related_to";
|
|
294
|
+
supersedes: "supersedes";
|
|
295
|
+
}>;
|
|
296
|
+
}, z.core.$strict>>>;
|
|
297
|
+
title: z.ZodString;
|
|
298
|
+
}, z.core.$strict>;
|
|
299
|
+
}, z.core.$strict>;
|
|
300
|
+
export type KnowledgeEntrySaveRequest = z.input<typeof KnowledgeEntrySaveRequest>;
|
|
301
|
+
export declare const KnowledgeTaskNotePromotionRequest: z.ZodObject<{
|
|
302
|
+
operationId: z.ZodUUID;
|
|
303
|
+
entryId: z.ZodOptional<z.ZodUUID>;
|
|
304
|
+
expectedVersion: z.ZodLiteral<0>;
|
|
305
|
+
noteId: z.ZodUUID;
|
|
306
|
+
expectedNoteVersion: z.ZodLiteral<1>;
|
|
307
|
+
title: z.ZodString;
|
|
308
|
+
groupIds: z.ZodDefault<z.ZodArray<z.ZodUUID>>;
|
|
309
|
+
}, z.core.$strict>;
|
|
310
|
+
export type KnowledgeTaskNotePromotionRequest = z.input<typeof KnowledgeTaskNotePromotionRequest>;
|
|
311
|
+
export declare const KnowledgeEntryReviewRequest: z.ZodObject<{
|
|
312
|
+
operationId: z.ZodUUID;
|
|
313
|
+
entryId: z.ZodUUID;
|
|
314
|
+
revisionId: z.ZodUUID;
|
|
315
|
+
expectedVersion: z.ZodNumber;
|
|
316
|
+
decision: z.ZodEnum<{
|
|
317
|
+
approve: "approve";
|
|
318
|
+
reject: "reject";
|
|
319
|
+
}>;
|
|
320
|
+
entry: z.ZodOptional<z.ZodObject<{
|
|
321
|
+
kind: z.ZodEnum<{
|
|
322
|
+
decision: "decision";
|
|
323
|
+
fact: "fact";
|
|
324
|
+
group: "group";
|
|
325
|
+
incident: "incident";
|
|
326
|
+
note: "note";
|
|
327
|
+
requirement: "requirement";
|
|
328
|
+
source: "source";
|
|
329
|
+
}>;
|
|
330
|
+
content: z.ZodString;
|
|
331
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
332
|
+
kind: z.ZodEnum<{
|
|
333
|
+
connector: "connector";
|
|
334
|
+
conversation: "conversation";
|
|
335
|
+
file: "file";
|
|
336
|
+
manual: "manual";
|
|
337
|
+
repository: "repository";
|
|
338
|
+
slack: "slack";
|
|
339
|
+
task_note: "task_note";
|
|
340
|
+
web: "web";
|
|
341
|
+
}>;
|
|
342
|
+
noteId: z.ZodOptional<z.ZodUUID>;
|
|
343
|
+
fileId: z.ZodOptional<z.ZodUUID>;
|
|
344
|
+
documentId: z.ZodOptional<z.ZodUUID>;
|
|
345
|
+
sessionId: z.ZodOptional<z.ZodUUID>;
|
|
346
|
+
uri: z.ZodOptional<z.ZodString>;
|
|
347
|
+
externalId: z.ZodOptional<z.ZodString>;
|
|
348
|
+
version: z.ZodOptional<z.ZodString>;
|
|
349
|
+
capturedAt: z.ZodOptional<z.ZodString>;
|
|
350
|
+
retention: z.ZodOptional<z.ZodEnum<{
|
|
351
|
+
full_text: "full_text";
|
|
352
|
+
passages: "passages";
|
|
353
|
+
reference: "reference";
|
|
354
|
+
}>>;
|
|
355
|
+
purpose: z.ZodOptional<z.ZodEnum<{
|
|
356
|
+
evidence: "evidence";
|
|
357
|
+
reference: "reference";
|
|
358
|
+
}>>;
|
|
359
|
+
}, z.core.$strict>>;
|
|
360
|
+
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
361
|
+
entryId: z.ZodUUID;
|
|
362
|
+
revisionId: z.ZodUUID;
|
|
363
|
+
location: z.ZodDefault<z.ZodObject<{
|
|
364
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
365
|
+
passage: z.ZodOptional<z.ZodString>;
|
|
366
|
+
messageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
367
|
+
path: z.ZodOptional<z.ZodString>;
|
|
368
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
369
|
+
lineStart: z.ZodOptional<z.ZodNumber>;
|
|
370
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
371
|
+
}, z.core.$strict>>;
|
|
372
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
373
|
+
}, z.core.$strict>>>;
|
|
374
|
+
groupIds: z.ZodDefault<z.ZodArray<z.ZodUUID>>;
|
|
375
|
+
relationships: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
376
|
+
entryId: z.ZodUUID;
|
|
377
|
+
relation: z.ZodEnum<{
|
|
378
|
+
applies_to: "applies_to";
|
|
379
|
+
conflicts_with: "conflicts_with";
|
|
380
|
+
depends_on: "depends_on";
|
|
381
|
+
related_to: "related_to";
|
|
382
|
+
supersedes: "supersedes";
|
|
383
|
+
}>;
|
|
384
|
+
}, z.core.$strict>>>;
|
|
385
|
+
title: z.ZodString;
|
|
386
|
+
}, z.core.$strict>>;
|
|
387
|
+
}, z.core.$strict>;
|
|
388
|
+
export type KnowledgeEntryReviewRequest = z.input<typeof KnowledgeEntryReviewRequest>;
|
|
389
|
+
export declare const KnowledgeEntryBatchReviewRequest: z.ZodObject<{
|
|
390
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
391
|
+
operationId: z.ZodUUID;
|
|
392
|
+
entryId: z.ZodUUID;
|
|
393
|
+
revisionId: z.ZodUUID;
|
|
394
|
+
expectedVersion: z.ZodNumber;
|
|
395
|
+
decision: z.ZodEnum<{
|
|
396
|
+
approve: "approve";
|
|
397
|
+
reject: "reject";
|
|
398
|
+
}>;
|
|
399
|
+
entry: z.ZodOptional<z.ZodObject<{
|
|
400
|
+
kind: z.ZodEnum<{
|
|
401
|
+
decision: "decision";
|
|
402
|
+
fact: "fact";
|
|
403
|
+
group: "group";
|
|
404
|
+
incident: "incident";
|
|
405
|
+
note: "note";
|
|
406
|
+
requirement: "requirement";
|
|
407
|
+
source: "source";
|
|
408
|
+
}>;
|
|
409
|
+
content: z.ZodString;
|
|
410
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
411
|
+
kind: z.ZodEnum<{
|
|
412
|
+
connector: "connector";
|
|
413
|
+
conversation: "conversation";
|
|
414
|
+
file: "file";
|
|
415
|
+
manual: "manual";
|
|
416
|
+
repository: "repository";
|
|
417
|
+
slack: "slack";
|
|
418
|
+
task_note: "task_note";
|
|
419
|
+
web: "web";
|
|
420
|
+
}>;
|
|
421
|
+
noteId: z.ZodOptional<z.ZodUUID>;
|
|
422
|
+
fileId: z.ZodOptional<z.ZodUUID>;
|
|
423
|
+
documentId: z.ZodOptional<z.ZodUUID>;
|
|
424
|
+
sessionId: z.ZodOptional<z.ZodUUID>;
|
|
425
|
+
uri: z.ZodOptional<z.ZodString>;
|
|
426
|
+
externalId: z.ZodOptional<z.ZodString>;
|
|
427
|
+
version: z.ZodOptional<z.ZodString>;
|
|
428
|
+
capturedAt: z.ZodOptional<z.ZodString>;
|
|
429
|
+
retention: z.ZodOptional<z.ZodEnum<{
|
|
430
|
+
full_text: "full_text";
|
|
431
|
+
passages: "passages";
|
|
432
|
+
reference: "reference";
|
|
433
|
+
}>>;
|
|
434
|
+
purpose: z.ZodOptional<z.ZodEnum<{
|
|
435
|
+
evidence: "evidence";
|
|
436
|
+
reference: "reference";
|
|
437
|
+
}>>;
|
|
438
|
+
}, z.core.$strict>>;
|
|
439
|
+
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
440
|
+
entryId: z.ZodUUID;
|
|
441
|
+
revisionId: z.ZodUUID;
|
|
442
|
+
location: z.ZodDefault<z.ZodObject<{
|
|
443
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
444
|
+
passage: z.ZodOptional<z.ZodString>;
|
|
445
|
+
messageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
446
|
+
path: z.ZodOptional<z.ZodString>;
|
|
447
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
448
|
+
lineStart: z.ZodOptional<z.ZodNumber>;
|
|
449
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
450
|
+
}, z.core.$strict>>;
|
|
451
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
452
|
+
}, z.core.$strict>>>;
|
|
453
|
+
groupIds: z.ZodDefault<z.ZodArray<z.ZodUUID>>;
|
|
454
|
+
relationships: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
455
|
+
entryId: z.ZodUUID;
|
|
456
|
+
relation: z.ZodEnum<{
|
|
457
|
+
applies_to: "applies_to";
|
|
458
|
+
conflicts_with: "conflicts_with";
|
|
459
|
+
depends_on: "depends_on";
|
|
460
|
+
related_to: "related_to";
|
|
461
|
+
supersedes: "supersedes";
|
|
462
|
+
}>;
|
|
463
|
+
}, z.core.$strict>>>;
|
|
464
|
+
title: z.ZodString;
|
|
465
|
+
}, z.core.$strict>>;
|
|
466
|
+
}, z.core.$strict>>;
|
|
467
|
+
}, z.core.$strict>;
|
|
468
|
+
export type KnowledgeEntryBatchReviewRequest = z.input<typeof KnowledgeEntryBatchReviewRequest>;
|
|
469
|
+
export declare const KnowledgeEntryRestoreRequest: z.ZodObject<{
|
|
470
|
+
operationId: z.ZodUUID;
|
|
471
|
+
entryId: z.ZodUUID;
|
|
472
|
+
revisionId: z.ZodUUID;
|
|
473
|
+
expectedVersion: z.ZodNumber;
|
|
474
|
+
}, z.core.$strict>;
|
|
475
|
+
export type KnowledgeEntryRestoreRequest = z.infer<typeof KnowledgeEntryRestoreRequest>;
|
|
476
|
+
export declare const KnowledgeEntryWriteReceipt: z.ZodObject<{
|
|
477
|
+
operationId: z.ZodUUID;
|
|
478
|
+
entryId: z.ZodUUID;
|
|
479
|
+
revisionId: z.ZodUUID;
|
|
480
|
+
version: z.ZodNumber;
|
|
481
|
+
outcome: z.ZodEnum<{
|
|
482
|
+
archived: "archived";
|
|
483
|
+
pending: "pending";
|
|
484
|
+
published: "published";
|
|
485
|
+
rejected: "rejected";
|
|
486
|
+
}>;
|
|
487
|
+
reviewBatchId: z.ZodNullable<z.ZodUUID>;
|
|
488
|
+
replayed: z.ZodBoolean;
|
|
489
|
+
}, z.core.$strict>;
|
|
490
|
+
export type KnowledgeEntryWriteReceipt = z.infer<typeof KnowledgeEntryWriteReceipt>;
|
|
491
|
+
export declare const KnowledgeFilePreparationResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
492
|
+
status: z.ZodLiteral<"retained">;
|
|
493
|
+
fileId: z.ZodUUID;
|
|
494
|
+
filename: z.ZodString;
|
|
495
|
+
receipt: z.ZodObject<{
|
|
496
|
+
operationId: z.ZodUUID;
|
|
497
|
+
entryId: z.ZodUUID;
|
|
498
|
+
revisionId: z.ZodUUID;
|
|
499
|
+
version: z.ZodNumber;
|
|
500
|
+
outcome: z.ZodEnum<{
|
|
501
|
+
archived: "archived";
|
|
502
|
+
pending: "pending";
|
|
503
|
+
published: "published";
|
|
504
|
+
rejected: "rejected";
|
|
505
|
+
}>;
|
|
506
|
+
reviewBatchId: z.ZodNullable<z.ZodUUID>;
|
|
507
|
+
replayed: z.ZodBoolean;
|
|
508
|
+
}, z.core.$strict>;
|
|
509
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
510
|
+
status: z.ZodLiteral<"disabled">;
|
|
511
|
+
fileId: z.ZodUUID;
|
|
512
|
+
}, z.core.$strict>], "status">;
|
|
513
|
+
export type KnowledgeFilePreparationResult = z.infer<typeof KnowledgeFilePreparationResult>;
|
|
514
|
+
export declare const KnowledgeEntryRevision: z.ZodObject<{
|
|
515
|
+
id: z.ZodUUID;
|
|
516
|
+
entryId: z.ZodUUID;
|
|
517
|
+
number: z.ZodNumber;
|
|
518
|
+
change: z.ZodEnum<{
|
|
519
|
+
archive: "archive";
|
|
520
|
+
upsert: "upsert";
|
|
521
|
+
}>;
|
|
522
|
+
entry: z.ZodObject<{
|
|
523
|
+
title: z.ZodString;
|
|
524
|
+
kind: z.ZodEnum<{
|
|
525
|
+
decision: "decision";
|
|
526
|
+
fact: "fact";
|
|
527
|
+
group: "group";
|
|
528
|
+
incident: "incident";
|
|
529
|
+
note: "note";
|
|
530
|
+
requirement: "requirement";
|
|
531
|
+
source: "source";
|
|
532
|
+
}>;
|
|
533
|
+
content: z.ZodString;
|
|
534
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
535
|
+
kind: z.ZodEnum<{
|
|
536
|
+
connector: "connector";
|
|
537
|
+
conversation: "conversation";
|
|
538
|
+
file: "file";
|
|
539
|
+
manual: "manual";
|
|
540
|
+
repository: "repository";
|
|
541
|
+
slack: "slack";
|
|
542
|
+
task_note: "task_note";
|
|
543
|
+
web: "web";
|
|
544
|
+
}>;
|
|
545
|
+
noteId: z.ZodOptional<z.ZodUUID>;
|
|
546
|
+
fileId: z.ZodOptional<z.ZodUUID>;
|
|
547
|
+
documentId: z.ZodOptional<z.ZodUUID>;
|
|
548
|
+
sessionId: z.ZodOptional<z.ZodUUID>;
|
|
549
|
+
uri: z.ZodOptional<z.ZodString>;
|
|
550
|
+
externalId: z.ZodOptional<z.ZodString>;
|
|
551
|
+
version: z.ZodOptional<z.ZodString>;
|
|
552
|
+
capturedAt: z.ZodOptional<z.ZodString>;
|
|
553
|
+
retention: z.ZodOptional<z.ZodEnum<{
|
|
554
|
+
full_text: "full_text";
|
|
555
|
+
passages: "passages";
|
|
556
|
+
reference: "reference";
|
|
557
|
+
}>>;
|
|
558
|
+
purpose: z.ZodOptional<z.ZodEnum<{
|
|
559
|
+
evidence: "evidence";
|
|
560
|
+
reference: "reference";
|
|
561
|
+
}>>;
|
|
562
|
+
}, z.core.$strict>>;
|
|
563
|
+
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
564
|
+
entryId: z.ZodUUID;
|
|
565
|
+
revisionId: z.ZodUUID;
|
|
566
|
+
location: z.ZodDefault<z.ZodObject<{
|
|
567
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
568
|
+
passage: z.ZodOptional<z.ZodString>;
|
|
569
|
+
messageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
570
|
+
path: z.ZodOptional<z.ZodString>;
|
|
571
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
572
|
+
lineStart: z.ZodOptional<z.ZodNumber>;
|
|
573
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
574
|
+
}, z.core.$strict>>;
|
|
575
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
576
|
+
}, z.core.$strict>>>;
|
|
577
|
+
groupIds: z.ZodDefault<z.ZodArray<z.ZodUUID>>;
|
|
578
|
+
relationships: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
579
|
+
entryId: z.ZodUUID;
|
|
580
|
+
relation: z.ZodEnum<{
|
|
581
|
+
applies_to: "applies_to";
|
|
582
|
+
conflicts_with: "conflicts_with";
|
|
583
|
+
depends_on: "depends_on";
|
|
584
|
+
related_to: "related_to";
|
|
585
|
+
supersedes: "supersedes";
|
|
586
|
+
}>;
|
|
587
|
+
}, z.core.$strict>>>;
|
|
588
|
+
}, z.core.$strict>;
|
|
589
|
+
previousRevisionId: z.ZodNullable<z.ZodUUID>;
|
|
590
|
+
restoredFromRevisionId: z.ZodNullable<z.ZodUUID>;
|
|
591
|
+
createdAt: z.ZodString;
|
|
592
|
+
createdBySessionId: z.ZodNullable<z.ZodUUID>;
|
|
593
|
+
reviewBatchId: z.ZodNullable<z.ZodUUID>;
|
|
594
|
+
outcome: z.ZodEnum<{
|
|
595
|
+
pending: "pending";
|
|
596
|
+
published: "published";
|
|
597
|
+
rejected: "rejected";
|
|
598
|
+
superseded: "superseded";
|
|
599
|
+
}>;
|
|
600
|
+
}, z.core.$strict>;
|
|
601
|
+
export type KnowledgeEntryRevision = z.infer<typeof KnowledgeEntryRevision>;
|
|
602
|
+
/** Search/index progress is independent of saved source and keyword access. */
|
|
603
|
+
export declare const KnowledgeIndexStatus: z.ZodEnum<{
|
|
604
|
+
awaiting_funding: "awaiting_funding";
|
|
605
|
+
indexed: "indexed";
|
|
606
|
+
indexing: "indexing";
|
|
607
|
+
provider_failed: "provider_failed";
|
|
608
|
+
queued: "queued";
|
|
609
|
+
saved: "saved";
|
|
610
|
+
source_unavailable: "source_unavailable";
|
|
611
|
+
}>;
|
|
612
|
+
export type KnowledgeIndexStatus = z.infer<typeof KnowledgeIndexStatus>;
|
|
613
|
+
/** Private owner IDs are not part of a content-discovery projection. */
|
|
614
|
+
export declare const KnowledgeEntryRecord: z.ZodObject<{
|
|
615
|
+
id: z.ZodUUID;
|
|
616
|
+
scope: z.ZodEnum<{
|
|
617
|
+
organization: "organization";
|
|
618
|
+
personal: "personal";
|
|
619
|
+
workspace: "workspace";
|
|
620
|
+
}>;
|
|
621
|
+
version: z.ZodNumber;
|
|
622
|
+
publishedRevisionId: z.ZodNullable<z.ZodUUID>;
|
|
623
|
+
latestRevisionId: z.ZodUUID;
|
|
624
|
+
revision: z.ZodObject<{
|
|
625
|
+
id: z.ZodUUID;
|
|
626
|
+
entryId: z.ZodUUID;
|
|
627
|
+
number: z.ZodNumber;
|
|
628
|
+
change: z.ZodEnum<{
|
|
629
|
+
archive: "archive";
|
|
630
|
+
upsert: "upsert";
|
|
631
|
+
}>;
|
|
632
|
+
entry: z.ZodObject<{
|
|
633
|
+
title: z.ZodString;
|
|
634
|
+
kind: z.ZodEnum<{
|
|
635
|
+
decision: "decision";
|
|
636
|
+
fact: "fact";
|
|
637
|
+
group: "group";
|
|
638
|
+
incident: "incident";
|
|
639
|
+
note: "note";
|
|
640
|
+
requirement: "requirement";
|
|
641
|
+
source: "source";
|
|
642
|
+
}>;
|
|
643
|
+
content: z.ZodString;
|
|
644
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
645
|
+
kind: z.ZodEnum<{
|
|
646
|
+
connector: "connector";
|
|
647
|
+
conversation: "conversation";
|
|
648
|
+
file: "file";
|
|
649
|
+
manual: "manual";
|
|
650
|
+
repository: "repository";
|
|
651
|
+
slack: "slack";
|
|
652
|
+
task_note: "task_note";
|
|
653
|
+
web: "web";
|
|
654
|
+
}>;
|
|
655
|
+
noteId: z.ZodOptional<z.ZodUUID>;
|
|
656
|
+
fileId: z.ZodOptional<z.ZodUUID>;
|
|
657
|
+
documentId: z.ZodOptional<z.ZodUUID>;
|
|
658
|
+
sessionId: z.ZodOptional<z.ZodUUID>;
|
|
659
|
+
uri: z.ZodOptional<z.ZodString>;
|
|
660
|
+
externalId: z.ZodOptional<z.ZodString>;
|
|
661
|
+
version: z.ZodOptional<z.ZodString>;
|
|
662
|
+
capturedAt: z.ZodOptional<z.ZodString>;
|
|
663
|
+
retention: z.ZodOptional<z.ZodEnum<{
|
|
664
|
+
full_text: "full_text";
|
|
665
|
+
passages: "passages";
|
|
666
|
+
reference: "reference";
|
|
667
|
+
}>>;
|
|
668
|
+
purpose: z.ZodOptional<z.ZodEnum<{
|
|
669
|
+
evidence: "evidence";
|
|
670
|
+
reference: "reference";
|
|
671
|
+
}>>;
|
|
672
|
+
}, z.core.$strict>>;
|
|
673
|
+
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
674
|
+
entryId: z.ZodUUID;
|
|
675
|
+
revisionId: z.ZodUUID;
|
|
676
|
+
location: z.ZodDefault<z.ZodObject<{
|
|
677
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
678
|
+
passage: z.ZodOptional<z.ZodString>;
|
|
679
|
+
messageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
680
|
+
path: z.ZodOptional<z.ZodString>;
|
|
681
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
682
|
+
lineStart: z.ZodOptional<z.ZodNumber>;
|
|
683
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
684
|
+
}, z.core.$strict>>;
|
|
685
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
686
|
+
}, z.core.$strict>>>;
|
|
687
|
+
groupIds: z.ZodDefault<z.ZodArray<z.ZodUUID>>;
|
|
688
|
+
relationships: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
689
|
+
entryId: z.ZodUUID;
|
|
690
|
+
relation: z.ZodEnum<{
|
|
691
|
+
applies_to: "applies_to";
|
|
692
|
+
conflicts_with: "conflicts_with";
|
|
693
|
+
depends_on: "depends_on";
|
|
694
|
+
related_to: "related_to";
|
|
695
|
+
supersedes: "supersedes";
|
|
696
|
+
}>;
|
|
697
|
+
}, z.core.$strict>>>;
|
|
698
|
+
}, z.core.$strict>;
|
|
699
|
+
previousRevisionId: z.ZodNullable<z.ZodUUID>;
|
|
700
|
+
restoredFromRevisionId: z.ZodNullable<z.ZodUUID>;
|
|
701
|
+
createdAt: z.ZodString;
|
|
702
|
+
createdBySessionId: z.ZodNullable<z.ZodUUID>;
|
|
703
|
+
reviewBatchId: z.ZodNullable<z.ZodUUID>;
|
|
704
|
+
outcome: z.ZodEnum<{
|
|
705
|
+
pending: "pending";
|
|
706
|
+
published: "published";
|
|
707
|
+
rejected: "rejected";
|
|
708
|
+
superseded: "superseded";
|
|
709
|
+
}>;
|
|
710
|
+
}, z.core.$strict>;
|
|
711
|
+
archived: z.ZodBoolean;
|
|
712
|
+
createdAt: z.ZodString;
|
|
713
|
+
updatedAt: z.ZodString;
|
|
714
|
+
indexStatus: z.ZodOptional<z.ZodEnum<{
|
|
715
|
+
awaiting_funding: "awaiting_funding";
|
|
716
|
+
indexed: "indexed";
|
|
717
|
+
indexing: "indexing";
|
|
718
|
+
provider_failed: "provider_failed";
|
|
719
|
+
queued: "queued";
|
|
720
|
+
saved: "saved";
|
|
721
|
+
source_unavailable: "source_unavailable";
|
|
722
|
+
}>>;
|
|
723
|
+
}, z.core.$strict>;
|
|
724
|
+
export type KnowledgeEntryRecord = z.infer<typeof KnowledgeEntryRecord>;
|
|
725
|
+
export declare const KnowledgeEntryListRequest: z.ZodObject<{
|
|
726
|
+
query: z.ZodOptional<z.ZodString>;
|
|
727
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
728
|
+
hybrid: "hybrid";
|
|
729
|
+
keyword: "keyword";
|
|
730
|
+
vector: "vector";
|
|
731
|
+
}>>;
|
|
732
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
733
|
+
organization: "organization";
|
|
734
|
+
personal: "personal";
|
|
735
|
+
workspace: "workspace";
|
|
736
|
+
}>>;
|
|
737
|
+
groupId: z.ZodOptional<z.ZodUUID>;
|
|
738
|
+
rootOnly: z.ZodOptional<z.ZodBoolean>;
|
|
739
|
+
fileId: z.ZodOptional<z.ZodUUID>;
|
|
740
|
+
includeEvidence: z.ZodOptional<z.ZodBoolean>;
|
|
741
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
742
|
+
decision: "decision";
|
|
743
|
+
fact: "fact";
|
|
744
|
+
group: "group";
|
|
745
|
+
incident: "incident";
|
|
746
|
+
note: "note";
|
|
747
|
+
requirement: "requirement";
|
|
748
|
+
source: "source";
|
|
749
|
+
}>>;
|
|
750
|
+
createdSince: z.ZodOptional<z.ZodString>;
|
|
751
|
+
view: z.ZodDefault<z.ZodEnum<{
|
|
752
|
+
archived: "archived";
|
|
753
|
+
needs_review: "needs_review";
|
|
754
|
+
published: "published";
|
|
755
|
+
rejected: "rejected";
|
|
756
|
+
}>>;
|
|
757
|
+
sessionId: z.ZodOptional<z.ZodUUID>;
|
|
758
|
+
reviewBatchId: z.ZodOptional<z.ZodUUID>;
|
|
759
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
760
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
761
|
+
}, z.core.$strict>;
|
|
762
|
+
export type KnowledgeEntryListRequest = z.input<typeof KnowledgeEntryListRequest>;
|
|
763
|
+
/** Lists never transfer whole source texts or evidence quotations. */
|
|
764
|
+
export declare const KnowledgeEntrySummary: z.ZodObject<{
|
|
765
|
+
id: z.ZodUUID;
|
|
766
|
+
scope: z.ZodEnum<{
|
|
767
|
+
organization: "organization";
|
|
768
|
+
personal: "personal";
|
|
769
|
+
workspace: "workspace";
|
|
770
|
+
}>;
|
|
771
|
+
version: z.ZodNumber;
|
|
772
|
+
publishedRevisionId: z.ZodNullable<z.ZodUUID>;
|
|
773
|
+
latestRevisionId: z.ZodUUID;
|
|
774
|
+
archived: z.ZodBoolean;
|
|
775
|
+
createdAt: z.ZodString;
|
|
776
|
+
updatedAt: z.ZodString;
|
|
777
|
+
indexStatus: z.ZodOptional<z.ZodEnum<{
|
|
778
|
+
awaiting_funding: "awaiting_funding";
|
|
779
|
+
indexed: "indexed";
|
|
780
|
+
indexing: "indexing";
|
|
781
|
+
provider_failed: "provider_failed";
|
|
782
|
+
queued: "queued";
|
|
783
|
+
saved: "saved";
|
|
784
|
+
source_unavailable: "source_unavailable";
|
|
785
|
+
}>>;
|
|
786
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
787
|
+
excerpts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
788
|
+
field: z.ZodEnum<{
|
|
789
|
+
content: "content";
|
|
790
|
+
title: "title";
|
|
791
|
+
}>;
|
|
792
|
+
start: z.ZodNumber;
|
|
793
|
+
end: z.ZodNumber;
|
|
794
|
+
text: z.ZodString;
|
|
795
|
+
}, z.core.$strip>>>;
|
|
796
|
+
revision: z.ZodObject<{
|
|
797
|
+
id: z.ZodUUID;
|
|
798
|
+
entryId: z.ZodUUID;
|
|
799
|
+
number: z.ZodNumber;
|
|
800
|
+
change: z.ZodEnum<{
|
|
801
|
+
archive: "archive";
|
|
802
|
+
upsert: "upsert";
|
|
803
|
+
}>;
|
|
804
|
+
previousRevisionId: z.ZodNullable<z.ZodUUID>;
|
|
805
|
+
restoredFromRevisionId: z.ZodNullable<z.ZodUUID>;
|
|
806
|
+
createdAt: z.ZodString;
|
|
807
|
+
createdBySessionId: z.ZodNullable<z.ZodUUID>;
|
|
808
|
+
reviewBatchId: z.ZodNullable<z.ZodUUID>;
|
|
809
|
+
outcome: z.ZodEnum<{
|
|
810
|
+
pending: "pending";
|
|
811
|
+
published: "published";
|
|
812
|
+
rejected: "rejected";
|
|
813
|
+
superseded: "superseded";
|
|
814
|
+
}>;
|
|
815
|
+
title: z.ZodString;
|
|
816
|
+
kind: z.ZodEnum<{
|
|
817
|
+
decision: "decision";
|
|
818
|
+
fact: "fact";
|
|
819
|
+
group: "group";
|
|
820
|
+
incident: "incident";
|
|
821
|
+
note: "note";
|
|
822
|
+
requirement: "requirement";
|
|
823
|
+
source: "source";
|
|
824
|
+
}>;
|
|
825
|
+
preview: z.ZodString;
|
|
826
|
+
groupIds: z.ZodArray<z.ZodUUID>;
|
|
827
|
+
sourceKind: z.ZodNullable<z.ZodEnum<{
|
|
828
|
+
connector: "connector";
|
|
829
|
+
conversation: "conversation";
|
|
830
|
+
file: "file";
|
|
831
|
+
manual: "manual";
|
|
832
|
+
repository: "repository";
|
|
833
|
+
slack: "slack";
|
|
834
|
+
task_note: "task_note";
|
|
835
|
+
web: "web";
|
|
836
|
+
}>>;
|
|
837
|
+
}, z.core.$strict>;
|
|
838
|
+
}, z.core.$strict>;
|
|
839
|
+
export type KnowledgeEntrySummary = z.infer<typeof KnowledgeEntrySummary>;
|
|
840
|
+
export declare const KnowledgeEntryListResponse: z.ZodObject<{
|
|
841
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
842
|
+
id: z.ZodUUID;
|
|
843
|
+
scope: z.ZodEnum<{
|
|
844
|
+
organization: "organization";
|
|
845
|
+
personal: "personal";
|
|
846
|
+
workspace: "workspace";
|
|
847
|
+
}>;
|
|
848
|
+
version: z.ZodNumber;
|
|
849
|
+
publishedRevisionId: z.ZodNullable<z.ZodUUID>;
|
|
850
|
+
latestRevisionId: z.ZodUUID;
|
|
851
|
+
archived: z.ZodBoolean;
|
|
852
|
+
createdAt: z.ZodString;
|
|
853
|
+
updatedAt: z.ZodString;
|
|
854
|
+
indexStatus: z.ZodOptional<z.ZodEnum<{
|
|
855
|
+
awaiting_funding: "awaiting_funding";
|
|
856
|
+
indexed: "indexed";
|
|
857
|
+
indexing: "indexing";
|
|
858
|
+
provider_failed: "provider_failed";
|
|
859
|
+
queued: "queued";
|
|
860
|
+
saved: "saved";
|
|
861
|
+
source_unavailable: "source_unavailable";
|
|
862
|
+
}>>;
|
|
863
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
864
|
+
excerpts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
865
|
+
field: z.ZodEnum<{
|
|
866
|
+
content: "content";
|
|
867
|
+
title: "title";
|
|
868
|
+
}>;
|
|
869
|
+
start: z.ZodNumber;
|
|
870
|
+
end: z.ZodNumber;
|
|
871
|
+
text: z.ZodString;
|
|
872
|
+
}, z.core.$strip>>>;
|
|
873
|
+
revision: z.ZodObject<{
|
|
874
|
+
id: z.ZodUUID;
|
|
875
|
+
entryId: z.ZodUUID;
|
|
876
|
+
number: z.ZodNumber;
|
|
877
|
+
change: z.ZodEnum<{
|
|
878
|
+
archive: "archive";
|
|
879
|
+
upsert: "upsert";
|
|
880
|
+
}>;
|
|
881
|
+
previousRevisionId: z.ZodNullable<z.ZodUUID>;
|
|
882
|
+
restoredFromRevisionId: z.ZodNullable<z.ZodUUID>;
|
|
883
|
+
createdAt: z.ZodString;
|
|
884
|
+
createdBySessionId: z.ZodNullable<z.ZodUUID>;
|
|
885
|
+
reviewBatchId: z.ZodNullable<z.ZodUUID>;
|
|
886
|
+
outcome: z.ZodEnum<{
|
|
887
|
+
pending: "pending";
|
|
888
|
+
published: "published";
|
|
889
|
+
rejected: "rejected";
|
|
890
|
+
superseded: "superseded";
|
|
891
|
+
}>;
|
|
892
|
+
title: z.ZodString;
|
|
893
|
+
kind: z.ZodEnum<{
|
|
894
|
+
decision: "decision";
|
|
895
|
+
fact: "fact";
|
|
896
|
+
group: "group";
|
|
897
|
+
incident: "incident";
|
|
898
|
+
note: "note";
|
|
899
|
+
requirement: "requirement";
|
|
900
|
+
source: "source";
|
|
901
|
+
}>;
|
|
902
|
+
preview: z.ZodString;
|
|
903
|
+
groupIds: z.ZodArray<z.ZodUUID>;
|
|
904
|
+
sourceKind: z.ZodNullable<z.ZodEnum<{
|
|
905
|
+
connector: "connector";
|
|
906
|
+
conversation: "conversation";
|
|
907
|
+
file: "file";
|
|
908
|
+
manual: "manual";
|
|
909
|
+
repository: "repository";
|
|
910
|
+
slack: "slack";
|
|
911
|
+
task_note: "task_note";
|
|
912
|
+
web: "web";
|
|
913
|
+
}>>;
|
|
914
|
+
}, z.core.$strict>;
|
|
915
|
+
}, z.core.$strict>>;
|
|
916
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
917
|
+
searchMode: z.ZodOptional<z.ZodEnum<{
|
|
918
|
+
hybrid: "hybrid";
|
|
919
|
+
keyword: "keyword";
|
|
920
|
+
vector: "vector";
|
|
921
|
+
}>>;
|
|
922
|
+
fallbackReason: z.ZodOptional<z.ZodEnum<{
|
|
923
|
+
awaiting_funding: "awaiting_funding";
|
|
924
|
+
credits_disabled: "credits_disabled";
|
|
925
|
+
provider_unavailable: "provider_unavailable";
|
|
926
|
+
query_limit: "query_limit";
|
|
927
|
+
quota: "quota";
|
|
928
|
+
}>>;
|
|
929
|
+
}, z.core.$strip>;
|
|
930
|
+
export type KnowledgeEntryListResponse = z.infer<typeof KnowledgeEntryListResponse>;
|
|
931
|
+
export declare const KnowledgeReviewBatch: z.ZodObject<{
|
|
932
|
+
id: z.ZodUUID;
|
|
933
|
+
sessionId: z.ZodNullable<z.ZodUUID>;
|
|
934
|
+
scheduledTaskId: z.ZodNullable<z.ZodUUID>;
|
|
935
|
+
scheduledTaskRunId: z.ZodNullable<z.ZodUUID>;
|
|
936
|
+
title: z.ZodNullable<z.ZodString>;
|
|
937
|
+
scope: z.ZodEnum<{
|
|
938
|
+
organization: "organization";
|
|
939
|
+
personal: "personal";
|
|
940
|
+
workspace: "workspace";
|
|
941
|
+
}>;
|
|
942
|
+
pendingCount: z.ZodNumber;
|
|
943
|
+
createdAt: z.ZodString;
|
|
944
|
+
}, z.core.$strip>;
|
|
945
|
+
export type KnowledgeReviewBatch = z.infer<typeof KnowledgeReviewBatch>;
|
|
946
|
+
export declare const KnowledgeReviewBatchListRequest: z.ZodObject<{
|
|
947
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
948
|
+
organization: "organization";
|
|
949
|
+
personal: "personal";
|
|
950
|
+
workspace: "workspace";
|
|
951
|
+
}>>;
|
|
952
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
953
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
954
|
+
}, z.core.$strict>;
|
|
955
|
+
export type KnowledgeReviewBatchListRequest = z.input<typeof KnowledgeReviewBatchListRequest>;
|
|
956
|
+
export declare const KnowledgeReviewBatchListResponse: z.ZodObject<{
|
|
957
|
+
batches: z.ZodArray<z.ZodObject<{
|
|
958
|
+
id: z.ZodUUID;
|
|
959
|
+
sessionId: z.ZodNullable<z.ZodUUID>;
|
|
960
|
+
scheduledTaskId: z.ZodNullable<z.ZodUUID>;
|
|
961
|
+
scheduledTaskRunId: z.ZodNullable<z.ZodUUID>;
|
|
962
|
+
title: z.ZodNullable<z.ZodString>;
|
|
963
|
+
scope: z.ZodEnum<{
|
|
964
|
+
organization: "organization";
|
|
965
|
+
personal: "personal";
|
|
966
|
+
workspace: "workspace";
|
|
967
|
+
}>;
|
|
968
|
+
pendingCount: z.ZodNumber;
|
|
969
|
+
createdAt: z.ZodString;
|
|
970
|
+
}, z.core.$strip>>;
|
|
971
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
972
|
+
}, z.core.$strip>;
|
|
973
|
+
export type KnowledgeReviewBatchListResponse = z.infer<typeof KnowledgeReviewBatchListResponse>;
|
|
974
|
+
/** All policy outcomes are nonblocking; Off refuses authoring, not task execution. */
|
|
975
|
+
export declare function knowledgeWriteDisposition(mode: z.infer<typeof AgentLearningMode>): "disabled" | "pending" | "published";
|
|
976
|
+
export declare const KnowledgeOriginalFileDownload: z.ZodObject<{
|
|
977
|
+
url: z.ZodString;
|
|
978
|
+
expiresAt: z.ZodString;
|
|
979
|
+
fileId: z.ZodUUID;
|
|
980
|
+
filename: z.ZodString;
|
|
981
|
+
contentType: z.ZodString;
|
|
982
|
+
sizeBytes: z.ZodNumber;
|
|
983
|
+
}, z.core.$strict>;
|
|
984
|
+
export type KnowledgeOriginalFileDownload = z.infer<typeof KnowledgeOriginalFileDownload>;
|