@opengeni/contracts 0.50.0 → 1.0.0
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 +70 -0
- package/dist/agent-config.d.ts +869 -0
- package/dist/agent-instruction-changes.d.ts +110 -0
- package/dist/agent-learning.d.ts +243 -0
- package/dist/agent-topology.d.ts +292 -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 +161 -0
- package/dist/artifacts.d.ts +135 -11
- 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 +2 -0
- package/dist/atlassian.js +26 -12
- 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 +40 -0
- package/dist/chunk-2ACYHZFB.js +292 -0
- package/dist/chunk-2ACYHZFB.js.map +1 -0
- package/dist/chunk-2VORLN2R.js +353 -0
- package/dist/chunk-2VORLN2R.js.map +1 -0
- package/dist/{chunk-Y3MLSLB4.js → chunk-3SIZGL3O.js} +42 -30
- package/dist/chunk-3SIZGL3O.js.map +1 -0
- package/dist/chunk-46KLD2UH.js +186 -0
- package/dist/chunk-46KLD2UH.js.map +1 -0
- package/dist/chunk-4JGHSSB7.js +11 -0
- package/dist/chunk-4JGHSSB7.js.map +1 -0
- package/dist/{chunk-M5ZGRVIQ.js → chunk-5IXYF6XN.js} +14 -5
- package/dist/chunk-5IXYF6XN.js.map +1 -0
- package/dist/chunk-BCS7WHCK.js +139 -0
- package/dist/chunk-BCS7WHCK.js.map +1 -0
- package/dist/chunk-EK7NDGFR.js +128 -0
- package/dist/chunk-EK7NDGFR.js.map +1 -0
- package/dist/{chunk-5UDNP7AO.js → chunk-FZ6BXQHL.js} +78 -38
- package/dist/chunk-FZ6BXQHL.js.map +1 -0
- package/dist/{chunk-CM6BMECR.js → chunk-GRG7PHWQ.js} +2 -1
- package/dist/chunk-GRG7PHWQ.js.map +1 -0
- package/dist/chunk-KHHZTBP7.js +11 -0
- package/dist/chunk-KHHZTBP7.js.map +1 -0
- package/dist/chunk-KR2V42UZ.js +187 -0
- package/dist/chunk-KR2V42UZ.js.map +1 -0
- package/dist/chunk-MZLBPKFE.js +168 -0
- package/dist/chunk-MZLBPKFE.js.map +1 -0
- package/dist/{chunk-LW7OH6CS.js → chunk-NRMCVHAU.js} +6 -5
- package/dist/chunk-NRMCVHAU.js.map +1 -0
- package/dist/{chunk-TZ6YEYN4.js → chunk-NVJMJWLL.js} +3 -1
- package/dist/chunk-NVJMJWLL.js.map +1 -0
- package/dist/chunk-O77VSFYZ.js +70 -0
- package/dist/chunk-O77VSFYZ.js.map +1 -0
- package/dist/chunk-PX3VCKAU.js +29 -0
- package/dist/chunk-PX3VCKAU.js.map +1 -0
- package/dist/chunk-QR5D2IQC.js +61 -0
- package/dist/chunk-QR5D2IQC.js.map +1 -0
- package/dist/chunk-RJ76DRPO.js +117 -0
- package/dist/chunk-RJ76DRPO.js.map +1 -0
- package/dist/chunk-RKX3NQYS.js +28 -0
- package/dist/chunk-RKX3NQYS.js.map +1 -0
- package/dist/{chunk-JBCIY7QD.js → chunk-SIOU2K4U.js} +45 -22
- package/dist/chunk-SIOU2K4U.js.map +1 -0
- package/dist/chunk-TSCDAGET.js +75 -0
- package/dist/chunk-TSCDAGET.js.map +1 -0
- package/dist/{chunk-LSB7GRLG.js → chunk-TXTQIYCV.js} +15 -11
- package/dist/chunk-TXTQIYCV.js.map +1 -0
- package/dist/chunk-X7ETVO4P.js +26544 -0
- package/dist/chunk-X7ETVO4P.js.map +1 -0
- package/dist/{chunk-CADSX6UN.js → chunk-Y3KNXVTD.js} +2 -2
- package/dist/chunk-YBW5JSA3.js +251 -0
- package/dist/chunk-YBW5JSA3.js.map +1 -0
- package/dist/chunk-YRXAWWCU.js +45 -0
- package/dist/chunk-YRXAWWCU.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 +109 -0
- package/dist/client-error-report.js +87 -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/company-brain-governed-writes.d.ts +475 -0
- package/dist/company-brain.d.ts +336 -0
- package/dist/company-profile.d.ts +566 -0
- package/dist/connect.d.ts +325 -0
- package/dist/connect.js +191 -0
- package/dist/connect.js.map +1 -0
- 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 +193 -0
- package/dist/connection-authority.js +50 -0
- package/dist/connection-authority.js.map +1 -0
- package/dist/connector-attachments.d.ts +95 -0
- package/dist/connector-attachments.js +51 -0
- package/dist/connector-attachments.js.map +1 -0
- package/dist/connector-tool-permissions.d.ts +73 -0
- package/dist/direct-model-provider.d.ts +36 -0
- package/dist/editable-artifact-codec-registry.d.ts +16 -7
- package/dist/editable-artifact-codec-registry.js +18 -8
- package/dist/editable-artifact-committed-transaction.d.ts +2 -2
- package/dist/editable-artifact-committed-transaction.js +2 -2
- package/dist/editable-artifact-live.d.ts +11 -12
- package/dist/editable-artifact-live.js +110 -45
- package/dist/editable-artifact-live.js.map +1 -1
- package/dist/editable-artifact-serialized-commit.d.ts +2 -1
- package/dist/editable-artifact-serialized-commit.js +8 -7
- package/dist/editable-artifact-versions.d.ts +20 -5
- package/dist/editable-artifact-versions.js +23 -5
- package/dist/editable-artifacts.d.ts +2 -0
- package/dist/editable-artifacts.js +47 -35
- package/dist/external-identities.d.ts +784 -0
- package/dist/external-identities.js +44 -0
- package/dist/external-identities.js.map +1 -0
- package/dist/feedback.d.ts +51 -0
- package/dist/github-repository-contracts.d.ts +36 -0
- package/dist/github-repository-contracts.js +59 -0
- package/dist/github-repository-contracts.js.map +1 -0
- package/dist/github-repository.d.ts +14 -0
- package/dist/github-repository.js +36 -0
- package/dist/github-repository.js.map +1 -0
- package/dist/google-drive.d.ts +90 -1
- package/dist/google-drive.js +90 -16
- package/dist/google-drive.js.map +1 -1
- package/dist/governed-learning-activation.d.ts +154 -0
- package/dist/governed-learning-evaluator.d.ts +152 -0
- package/dist/host-mcp-bindings.d.ts +326 -0
- package/dist/host-mcp-bindings.js +252 -0
- package/dist/host-mcp-bindings.js.map +1 -0
- package/dist/image-generation.d.ts +1 -0
- package/dist/index.d.ts +32396 -11386
- package/dist/index.js +2198 -164
- package/dist/insights-usage.d.ts +877 -0
- package/dist/insights-usage.js +509 -0
- package/dist/insights-usage.js.map +1 -0
- package/dist/interaction.d.ts +344 -0
- package/dist/knowledge-entries.d.ts +982 -0
- package/dist/knowledge-preparation.d.ts +237 -0
- package/dist/knowledge.d.ts +197 -0
- package/dist/managed-auth-session-sets.d.ts +241 -0
- package/dist/managed-auth-session-sets.js +191 -0
- package/dist/managed-auth-session-sets.js.map +1 -0
- package/dist/managed-sign-in-methods.d.ts +56 -0
- package/dist/managed-sign-in-methods.js +46 -0
- package/dist/managed-sign-in-methods.js.map +1 -0
- package/dist/mcp-catalog-limits.d.ts +2 -0
- package/dist/mcp-endpoint.d.ts +7 -0
- package/dist/mcp-endpoint.js +9 -0
- package/dist/mcp-endpoint.js.map +1 -0
- package/dist/mcp-oauth.d.ts +71 -0
- package/dist/modal-native-proof-v2.d.ts +587 -0
- package/dist/modal-native-proof-v2.js +37 -0
- package/dist/modal-native-proof-v2.js.map +1 -0
- package/dist/model-availability.d.ts +15 -0
- package/dist/model-connection-access.d.ts +24 -0
- package/dist/model-context-inspector.d.ts +329 -0
- package/dist/model-display.d.ts +38 -0
- package/dist/model-display.js +134 -0
- package/dist/model-display.js.map +1 -0
- package/dist/model-picker-order.d.ts +25 -0
- package/dist/model-picker-order.js +42 -0
- package/dist/model-picker-order.js.map +1 -0
- package/dist/organization-access.d.ts +231 -0
- package/dist/organization-access.js +34 -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 +1022 -0
- package/dist/organization-model-usage.d.ts +146 -0
- package/dist/organization-model-usage.js +67 -0
- package/dist/organization-model-usage.js.map +1 -0
- package/dist/organization-recovery.d.ts +337 -0
- package/dist/organization-recovery.js +37 -0
- package/dist/organization-recovery.js.map +1 -0
- package/dist/organization-usage.d.ts +138 -0
- package/dist/permissions.d.ts +54 -0
- package/dist/personal-github.d.ts +320 -0
- package/dist/personal-github.js +222 -0
- package/dist/personal-github.js.map +1 -0
- package/dist/plugin-discovery.d.ts +35 -0
- package/dist/plugin-discovery.js +7 -0
- package/dist/plugin-discovery.js.map +1 -0
- package/dist/preference-registry.d.ts +44 -1
- package/dist/product-analytics.d.ts +113 -0
- package/dist/product-lifecycle-facts.d.ts +73 -0
- package/dist/remember.d.ts +350 -0
- package/dist/retained-output.d.ts +8 -0
- package/dist/sandbox-file-artifacts.d.ts +57 -0
- package/dist/sandbox-provider-command.d.ts +113 -0
- package/dist/sandbox-recovery.d.ts +146 -0
- package/dist/sandbox-snapshots.d.ts +39 -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 +947 -0
- package/dist/session-list-entries.d.ts +4 -0
- package/dist/session-list-entries.js +51 -0
- package/dist/session-list-entries.js.map +1 -0
- package/dist/session-mcp-projections.d.ts +215 -0
- package/dist/session-message-search.d.ts +68 -0
- package/dist/session-titles.d.ts +68 -0
- package/dist/session-titles.js +25 -0
- package/dist/session-titles.js.map +1 -0
- package/dist/session-topology-primitives.d.ts +22 -0
- package/dist/signup-attribution.d.ts +39 -0
- package/dist/site-request-headers.test.d.ts +1 -0
- package/dist/site-session-http.d.ts +11 -0
- package/dist/site-session-http.js +11 -0
- package/dist/site-session-http.js.map +1 -0
- package/dist/skill-catalog-context.d.ts +7 -0
- package/dist/skill-files.d.ts +12 -0
- package/dist/skill-metadata.d.ts +9 -0
- package/dist/skill-use.d.ts +61 -0
- package/dist/skills.d.ts +185 -0
- package/dist/slack-bot-scopes.d.ts +46 -21
- package/dist/slack-bot-scopes.js +14 -3
- package/dist/slack-rest-mcp.d.ts +31 -0
- package/dist/slack-rest-mcp.js +19 -0
- package/dist/slack-rest-mcp.js.map +1 -0
- package/dist/spreadsheet-artifact-commands.d.ts +2 -3
- package/dist/spreadsheet-artifact-commands.js +4 -2
- package/dist/spreadsheet-artifact-query.js +3 -2
- package/dist/subscription-account-pools.d.ts +292 -0
- package/dist/task-notes.d.ts +42 -1
- package/dist/tool-catalog.d.ts +286 -0
- package/dist/tool-result-spill.d.ts +16 -0
- package/dist/usage-allowances.d.ts +285 -0
- package/dist/usage-allowances.js +49 -0
- package/dist/usage-allowances.js.map +1 -0
- package/dist/video-generation.d.ts +3 -0
- package/dist/video-generation.js +1 -1
- package/dist/work-claims.d.ts +411 -0
- package/dist/workspace-instruction-policies.d.ts +94 -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 +948 -0
- package/dist/workspace-learning-administration.d.ts +289 -0
- package/dist/workspace-learning-policy.d.ts +1 -1
- package/dist/workspace-state.d.ts +85 -416
- package/dist/xai-provider-account-authority.d.ts +3 -0
- package/dist/xai-provider-account-authority.js +1 -1
- package/package.json +134 -1
- package/src/agent-authored-durable-text.ts +116 -0
- package/src/agent-config.ts +1527 -0
- package/src/agent-instruction-changes.ts +98 -0
- package/src/agent-learning.ts +161 -0
- package/src/agent-topology.ts +69 -0
- package/src/allowance-refusal.ts +81 -0
- package/src/analytics-consent-report.ts +20 -0
- package/src/api-key-presets.ts +25 -0
- package/src/artifact-catalog.ts +60 -0
- package/src/artifacts.ts +146 -18
- package/src/atlassian-native-retirement.ts +33 -0
- package/src/browser-storage.ts +10 -0
- package/src/bundled-skills.ts +73 -0
- package/src/claude-provider-account-authority.ts +12 -0
- package/src/claude-subscription-oauth.ts +62 -0
- package/src/claude-subscription-usage.ts +59 -0
- package/src/client-error-report.ts +184 -0
- package/src/code-search.ts +105 -0
- package/src/company-brain-governed-writes.ts +356 -0
- package/src/company-brain.ts +201 -0
- package/src/company-profile.ts +167 -1
- package/src/connect.ts +202 -0
- package/src/connection-account-label.ts +46 -0
- package/src/connection-authority.ts +213 -0
- package/src/connector-attachments.ts +327 -0
- package/src/connector-tool-permissions.ts +60 -0
- package/src/direct-model-provider.ts +98 -0
- package/src/editable-artifact-codec-registry.ts +55 -17
- package/src/editable-artifact-committed-transaction.ts +44 -31
- package/src/editable-artifact-live.ts +123 -57
- package/src/editable-artifact-serialized-commit.ts +2 -1
- package/src/editable-artifact-versions.ts +26 -5
- package/src/editable-artifacts.ts +2 -0
- package/src/external-identities.ts +285 -0
- package/src/feedback.ts +39 -0
- package/src/github-repository-contracts.ts +85 -0
- package/src/github-repository.ts +59 -0
- package/src/google-drive.ts +76 -4
- package/src/governed-learning-activation.ts +191 -0
- package/src/governed-learning-evaluator.ts +176 -0
- package/src/host-mcp-bindings.ts +298 -0
- package/src/image-generation.ts +8 -2
- package/src/index.ts +7093 -1466
- package/src/insights-usage.ts +679 -0
- package/src/interaction.ts +220 -5
- package/src/knowledge-entries.ts +375 -0
- package/src/knowledge-preparation.ts +50 -0
- package/src/knowledge.ts +134 -6
- package/src/managed-auth-session-sets.ts +253 -0
- package/src/managed-sign-in-methods.ts +37 -0
- package/src/mcp-catalog-limits.ts +2 -0
- package/src/mcp-endpoint.ts +30 -0
- package/src/mcp-oauth.ts +66 -0
- package/src/modal-native-proof-v2.ts +398 -0
- package/src/model-availability.ts +22 -0
- package/src/model-connection-access.ts +17 -0
- package/src/model-context-inspector.ts +139 -0
- package/src/model-display.ts +195 -0
- package/src/model-picker-order.ts +97 -0
- package/src/organization-access.ts +176 -0
- package/src/organization-integration-policy.ts +54 -0
- package/src/organization-membership-lifecycle.ts +559 -0
- package/src/organization-model-usage.ts +72 -0
- package/src/organization-recovery.ts +186 -0
- package/src/organization-usage.ts +79 -0
- package/src/permissions.ts +58 -0
- package/src/personal-github.ts +267 -0
- package/src/plugin-discovery.ts +33 -0
- package/src/preference-registry.ts +20 -1
- package/src/product-analytics.ts +253 -0
- package/src/product-lifecycle-facts.ts +121 -0
- package/src/remember.ts +243 -0
- package/src/retained-output.ts +20 -3
- package/src/sandbox-file-artifacts.ts +73 -0
- package/src/sandbox-provider-command.ts +82 -0
- package/src/sandbox-recovery.ts +116 -0
- package/src/sandbox-snapshots.ts +142 -0
- package/src/session-final-reply.ts +16 -0
- package/src/session-goal-reports.ts +55 -0
- package/src/session-history-import.ts +159 -0
- package/src/session-list-entries.ts +91 -0
- package/src/session-mcp-projections.ts +273 -0
- package/src/session-message-search.ts +54 -0
- package/src/session-titles.ts +467 -0
- package/src/session-topology-primitives.ts +21 -0
- package/src/signup-attribution.ts +81 -0
- package/src/site-request-headers.test.ts +28 -0
- package/src/site-session-http.ts +63 -0
- package/src/skill-catalog-context.ts +50 -0
- package/src/skill-files.ts +52 -0
- package/src/skill-metadata.ts +40 -0
- package/src/skill-use.ts +77 -0
- package/src/skills.ts +136 -0
- package/src/slack-bot-scopes.ts +106 -42
- package/src/slack-rest-mcp.ts +194 -0
- package/src/spreadsheet-artifact-commands.ts +12 -13
- package/src/subscription-account-pools.ts +44 -0
- package/src/task-notes.ts +14 -1
- package/src/tool-catalog.ts +155 -0
- package/src/tool-result-spill.ts +35 -0
- package/src/usage-allowances.ts +187 -0
- package/src/work-claims.ts +266 -0
- package/src/workspace-instruction-policies.ts +31 -0
- package/src/workspace-integration-wire.ts +99 -0
- package/src/workspace-integrations.ts +640 -0
- package/src/workspace-learning-administration.ts +88 -0
- package/src/workspace-learning-policy.ts +4 -3
- package/src/workspace-state.ts +16 -126
- package/src/xai-provider-account-authority.ts +1 -0
- package/dist/chunk-5UDNP7AO.js.map +0 -1
- package/dist/chunk-BVGIYW7D.js +0 -11
- package/dist/chunk-BVGIYW7D.js.map +0 -1
- package/dist/chunk-CM6BMECR.js.map +0 -1
- package/dist/chunk-JBCIY7QD.js.map +0 -1
- package/dist/chunk-LSB7GRLG.js.map +0 -1
- package/dist/chunk-LW7OH6CS.js.map +0 -1
- package/dist/chunk-M5ZGRVIQ.js.map +0 -1
- package/dist/chunk-Q6A7XT2N.js +0 -16734
- package/dist/chunk-Q6A7XT2N.js.map +0 -1
- package/dist/chunk-TZ6YEYN4.js.map +0 -1
- package/dist/chunk-Y3MLSLB4.js.map +0 -1
- /package/dist/{chunk-CADSX6UN.js.map → chunk-Y3KNXVTD.js.map} +0 -0
|
@@ -0,0 +1,336 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const COMPANY_BRAIN_OKF_SCHEMA_VERSION: 1;
|
|
3
|
+
export declare const COMPANY_BRAIN_GUIDANCE_MAX_ENTRIES = 512;
|
|
4
|
+
export declare const COMPANY_BRAIN_GUIDANCE_CONTENT_MAX_CHARS = 262144;
|
|
5
|
+
export declare const COMPANY_BRAIN_GUIDANCE_MAX_CONTENT_BYTES: number;
|
|
6
|
+
export declare const COMPANY_BRAIN_INSPECTOR_DEFAULT_LIMIT = 20;
|
|
7
|
+
export declare const COMPANY_BRAIN_INSPECTOR_MAX_LIMIT = 50;
|
|
8
|
+
export declare const COMPANY_BRAIN_INSPECTOR_CURSOR_MAX_CHARS = 1024;
|
|
9
|
+
export declare const COMPANY_BRAIN_PROPOSAL_CONTENT_MAX_BYTES: number;
|
|
10
|
+
export declare const COMPANY_BRAIN_PROPOSAL_RESPONSE_MAX_BYTES: number;
|
|
11
|
+
export declare const CompanyBrainContextReceipt: z.ZodObject<{
|
|
12
|
+
id: z.ZodString;
|
|
13
|
+
sessionId: z.ZodString;
|
|
14
|
+
rootSessionId: z.ZodString;
|
|
15
|
+
turnId: z.ZodString;
|
|
16
|
+
acceptedAt: z.ZodString;
|
|
17
|
+
createdAt: z.ZodString;
|
|
18
|
+
sessionRole: z.ZodEnum<{
|
|
19
|
+
child: "child";
|
|
20
|
+
root: "root";
|
|
21
|
+
}>;
|
|
22
|
+
memoryEnabled: z.ZodBoolean;
|
|
23
|
+
memoryPromptMode: z.ZodEnum<{
|
|
24
|
+
legacy_standing: "legacy_standing";
|
|
25
|
+
retrieval_only: "retrieval_only";
|
|
26
|
+
}>;
|
|
27
|
+
companyProfileIncluded: z.ZodBoolean;
|
|
28
|
+
instructionPolicyEntryHash: z.ZodString;
|
|
29
|
+
preferenceDescriptorHash: z.ZodNullable<z.ZodString>;
|
|
30
|
+
companyProfileSnapshotHash: z.ZodString;
|
|
31
|
+
turnContextSnapshotId: z.ZodString;
|
|
32
|
+
turnContextSnapshotHash: z.ZodString;
|
|
33
|
+
turnContextSnapshotSource: z.ZodEnum<{
|
|
34
|
+
accepted_turn: "accepted_turn";
|
|
35
|
+
legacy_first_claim: "legacy_first_claim";
|
|
36
|
+
}>;
|
|
37
|
+
selectionHash: z.ZodString;
|
|
38
|
+
selectedMemoryCount: z.ZodNumber;
|
|
39
|
+
renderedMemoryCount: z.ZodNumber;
|
|
40
|
+
budgetOmittedMemoryCount: z.ZodNumber;
|
|
41
|
+
}, z.core.$strict>;
|
|
42
|
+
export type CompanyBrainContextReceipt = z.infer<typeof CompanyBrainContextReceipt>;
|
|
43
|
+
export declare const CompanyBrainContextReceiptPage: z.ZodObject<{
|
|
44
|
+
receipts: z.ZodArray<z.ZodObject<{
|
|
45
|
+
id: z.ZodString;
|
|
46
|
+
sessionId: z.ZodString;
|
|
47
|
+
rootSessionId: z.ZodString;
|
|
48
|
+
turnId: z.ZodString;
|
|
49
|
+
acceptedAt: z.ZodString;
|
|
50
|
+
createdAt: z.ZodString;
|
|
51
|
+
sessionRole: z.ZodEnum<{
|
|
52
|
+
child: "child";
|
|
53
|
+
root: "root";
|
|
54
|
+
}>;
|
|
55
|
+
memoryEnabled: z.ZodBoolean;
|
|
56
|
+
memoryPromptMode: z.ZodEnum<{
|
|
57
|
+
legacy_standing: "legacy_standing";
|
|
58
|
+
retrieval_only: "retrieval_only";
|
|
59
|
+
}>;
|
|
60
|
+
companyProfileIncluded: z.ZodBoolean;
|
|
61
|
+
instructionPolicyEntryHash: z.ZodString;
|
|
62
|
+
preferenceDescriptorHash: z.ZodNullable<z.ZodString>;
|
|
63
|
+
companyProfileSnapshotHash: z.ZodString;
|
|
64
|
+
turnContextSnapshotId: z.ZodString;
|
|
65
|
+
turnContextSnapshotHash: z.ZodString;
|
|
66
|
+
turnContextSnapshotSource: z.ZodEnum<{
|
|
67
|
+
accepted_turn: "accepted_turn";
|
|
68
|
+
legacy_first_claim: "legacy_first_claim";
|
|
69
|
+
}>;
|
|
70
|
+
selectionHash: z.ZodString;
|
|
71
|
+
selectedMemoryCount: z.ZodNumber;
|
|
72
|
+
renderedMemoryCount: z.ZodNumber;
|
|
73
|
+
budgetOmittedMemoryCount: z.ZodNumber;
|
|
74
|
+
}, z.core.$strict>>;
|
|
75
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
76
|
+
hasMore: z.ZodBoolean;
|
|
77
|
+
}, z.core.$strict>;
|
|
78
|
+
export type CompanyBrainContextReceiptPage = z.infer<typeof CompanyBrainContextReceiptPage>;
|
|
79
|
+
export declare const CompanyBrainKnowledgeProposal: z.ZodObject<{
|
|
80
|
+
id: z.ZodString;
|
|
81
|
+
authority: z.ZodObject<{
|
|
82
|
+
kind: z.ZodEnum<{
|
|
83
|
+
organization: "organization";
|
|
84
|
+
personal: "personal";
|
|
85
|
+
workspace: "workspace";
|
|
86
|
+
}>;
|
|
87
|
+
}, z.core.$strict>;
|
|
88
|
+
targetKind: z.ZodEnum<{
|
|
89
|
+
instruction_policy: "instruction_policy";
|
|
90
|
+
preference: "preference";
|
|
91
|
+
}>;
|
|
92
|
+
targetScope: z.ZodString;
|
|
93
|
+
targetKey: z.ZodNullable<z.ZodString>;
|
|
94
|
+
content: z.ZodString;
|
|
95
|
+
contentHash: z.ZodString;
|
|
96
|
+
source: z.ZodObject<{
|
|
97
|
+
claimId: z.ZodString;
|
|
98
|
+
evidenceId: z.ZodString;
|
|
99
|
+
}, z.core.$strict>;
|
|
100
|
+
status: z.ZodLiteral<"proposed">;
|
|
101
|
+
createdAt: z.ZodString;
|
|
102
|
+
projection: z.ZodObject<{
|
|
103
|
+
truncated: z.ZodBoolean;
|
|
104
|
+
originalContentUtf8Bytes: z.ZodNumber;
|
|
105
|
+
}, z.core.$strict>;
|
|
106
|
+
}, z.core.$strict>;
|
|
107
|
+
export type CompanyBrainKnowledgeProposal = z.infer<typeof CompanyBrainKnowledgeProposal>;
|
|
108
|
+
export declare const CompanyBrainKnowledgeProposalPage: z.ZodObject<{
|
|
109
|
+
proposals: z.ZodArray<z.ZodObject<{
|
|
110
|
+
id: z.ZodString;
|
|
111
|
+
authority: z.ZodObject<{
|
|
112
|
+
kind: z.ZodEnum<{
|
|
113
|
+
organization: "organization";
|
|
114
|
+
personal: "personal";
|
|
115
|
+
workspace: "workspace";
|
|
116
|
+
}>;
|
|
117
|
+
}, z.core.$strict>;
|
|
118
|
+
targetKind: z.ZodEnum<{
|
|
119
|
+
instruction_policy: "instruction_policy";
|
|
120
|
+
preference: "preference";
|
|
121
|
+
}>;
|
|
122
|
+
targetScope: z.ZodString;
|
|
123
|
+
targetKey: z.ZodNullable<z.ZodString>;
|
|
124
|
+
content: z.ZodString;
|
|
125
|
+
contentHash: z.ZodString;
|
|
126
|
+
source: z.ZodObject<{
|
|
127
|
+
claimId: z.ZodString;
|
|
128
|
+
evidenceId: z.ZodString;
|
|
129
|
+
}, z.core.$strict>;
|
|
130
|
+
status: z.ZodLiteral<"proposed">;
|
|
131
|
+
createdAt: z.ZodString;
|
|
132
|
+
projection: z.ZodObject<{
|
|
133
|
+
truncated: z.ZodBoolean;
|
|
134
|
+
originalContentUtf8Bytes: z.ZodNumber;
|
|
135
|
+
}, z.core.$strict>;
|
|
136
|
+
}, z.core.$strict>>;
|
|
137
|
+
truncatedForCount: z.ZodBoolean;
|
|
138
|
+
truncatedForResponseBytes: z.ZodBoolean;
|
|
139
|
+
responseBytes: z.ZodNumber;
|
|
140
|
+
}, z.core.$strict>;
|
|
141
|
+
export type CompanyBrainKnowledgeProposalPage = z.infer<typeof CompanyBrainKnowledgeProposalPage>;
|
|
142
|
+
export declare const CompanyBrainGuidanceClassification: z.ZodEnum<{
|
|
143
|
+
company_profile: "company_profile";
|
|
144
|
+
guide: "guide";
|
|
145
|
+
mandatory_rule: "mandatory_rule";
|
|
146
|
+
}>;
|
|
147
|
+
export type CompanyBrainGuidanceClassification = z.infer<typeof CompanyBrainGuidanceClassification>;
|
|
148
|
+
export declare const CompanyBrainGuidanceScope: z.ZodEnum<{
|
|
149
|
+
organization: "organization";
|
|
150
|
+
personal: "personal";
|
|
151
|
+
workspace: "workspace";
|
|
152
|
+
}>;
|
|
153
|
+
export type CompanyBrainGuidanceScope = z.infer<typeof CompanyBrainGuidanceScope>;
|
|
154
|
+
export declare const CompanyBrainGuidanceLifecycle: z.ZodEnum<{
|
|
155
|
+
active: "active";
|
|
156
|
+
expired: "expired";
|
|
157
|
+
historical: "historical";
|
|
158
|
+
inactive: "inactive";
|
|
159
|
+
proposal: "proposal";
|
|
160
|
+
rejected: "rejected";
|
|
161
|
+
superseded: "superseded";
|
|
162
|
+
}>;
|
|
163
|
+
export type CompanyBrainGuidanceLifecycle = z.infer<typeof CompanyBrainGuidanceLifecycle>;
|
|
164
|
+
export declare const CompanyBrainGuidanceRelationship: z.ZodObject<{
|
|
165
|
+
type: z.ZodEnum<{
|
|
166
|
+
corrects: "corrects";
|
|
167
|
+
superseded_by: "superseded_by";
|
|
168
|
+
supersedes: "supersedes";
|
|
169
|
+
}>;
|
|
170
|
+
targetId: z.ZodString;
|
|
171
|
+
}, z.core.$strict>;
|
|
172
|
+
export type CompanyBrainGuidanceRelationship = z.infer<typeof CompanyBrainGuidanceRelationship>;
|
|
173
|
+
export declare const CompanyBrainGuidanceEntry: z.ZodObject<{
|
|
174
|
+
id: z.ZodString;
|
|
175
|
+
revisionId: z.ZodString;
|
|
176
|
+
path: z.ZodString;
|
|
177
|
+
scope: z.ZodEnum<{
|
|
178
|
+
organization: "organization";
|
|
179
|
+
personal: "personal";
|
|
180
|
+
workspace: "workspace";
|
|
181
|
+
}>;
|
|
182
|
+
classification: z.ZodEnum<{
|
|
183
|
+
company_profile: "company_profile";
|
|
184
|
+
guide: "guide";
|
|
185
|
+
mandatory_rule: "mandatory_rule";
|
|
186
|
+
}>;
|
|
187
|
+
title: z.ZodString;
|
|
188
|
+
description: z.ZodNullable<z.ZodString>;
|
|
189
|
+
content: z.ZodString;
|
|
190
|
+
contentHash: z.ZodString;
|
|
191
|
+
revision: z.ZodNumber;
|
|
192
|
+
active: z.ZodBoolean;
|
|
193
|
+
lifecycle: z.ZodEnum<{
|
|
194
|
+
active: "active";
|
|
195
|
+
expired: "expired";
|
|
196
|
+
historical: "historical";
|
|
197
|
+
inactive: "inactive";
|
|
198
|
+
proposal: "proposal";
|
|
199
|
+
rejected: "rejected";
|
|
200
|
+
superseded: "superseded";
|
|
201
|
+
}>;
|
|
202
|
+
provenance: z.ZodObject<{
|
|
203
|
+
source: z.ZodString;
|
|
204
|
+
sourceId: z.ZodNullable<z.ZodString>;
|
|
205
|
+
trust: z.ZodNullable<z.ZodString>;
|
|
206
|
+
}, z.core.$strict>;
|
|
207
|
+
relationships: z.ZodArray<z.ZodObject<{
|
|
208
|
+
type: z.ZodEnum<{
|
|
209
|
+
corrects: "corrects";
|
|
210
|
+
superseded_by: "superseded_by";
|
|
211
|
+
supersedes: "supersedes";
|
|
212
|
+
}>;
|
|
213
|
+
targetId: z.ZodString;
|
|
214
|
+
}, z.core.$strict>>;
|
|
215
|
+
createdAt: z.ZodString;
|
|
216
|
+
}, z.core.$strict>;
|
|
217
|
+
export type CompanyBrainGuidanceEntry = z.infer<typeof CompanyBrainGuidanceEntry>;
|
|
218
|
+
export declare const CompanyBrainGuidanceTruncationReason: z.ZodEnum<{
|
|
219
|
+
aggregate_content_bytes: "aggregate_content_bytes";
|
|
220
|
+
aggregate_item_count: "aggregate_item_count";
|
|
221
|
+
company_profile_history: "company_profile_history";
|
|
222
|
+
instruction_policy_history: "instruction_policy_history";
|
|
223
|
+
preference_count: "preference_count";
|
|
224
|
+
preference_history: "preference_history";
|
|
225
|
+
}>;
|
|
226
|
+
export type CompanyBrainGuidanceTruncationReason = z.infer<typeof CompanyBrainGuidanceTruncationReason>;
|
|
227
|
+
export declare const CompanyBrainOkfPackage: z.ZodObject<{
|
|
228
|
+
kind: z.ZodLiteral<"opengeni.company_brain.okf">;
|
|
229
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
230
|
+
workspaceId: z.ZodString;
|
|
231
|
+
generatedAt: z.ZodString;
|
|
232
|
+
permissions: z.ZodObject<{
|
|
233
|
+
guidance: z.ZodLiteral<"available">;
|
|
234
|
+
knowledge: z.ZodEnum<{
|
|
235
|
+
available: "available";
|
|
236
|
+
unavailable: "unavailable";
|
|
237
|
+
}>;
|
|
238
|
+
}, z.core.$strict>;
|
|
239
|
+
guidance: z.ZodObject<{
|
|
240
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
241
|
+
id: z.ZodString;
|
|
242
|
+
revisionId: z.ZodString;
|
|
243
|
+
path: z.ZodString;
|
|
244
|
+
scope: z.ZodEnum<{
|
|
245
|
+
organization: "organization";
|
|
246
|
+
personal: "personal";
|
|
247
|
+
workspace: "workspace";
|
|
248
|
+
}>;
|
|
249
|
+
classification: z.ZodEnum<{
|
|
250
|
+
company_profile: "company_profile";
|
|
251
|
+
guide: "guide";
|
|
252
|
+
mandatory_rule: "mandatory_rule";
|
|
253
|
+
}>;
|
|
254
|
+
title: z.ZodString;
|
|
255
|
+
description: z.ZodNullable<z.ZodString>;
|
|
256
|
+
content: z.ZodString;
|
|
257
|
+
contentHash: z.ZodString;
|
|
258
|
+
revision: z.ZodNumber;
|
|
259
|
+
active: z.ZodBoolean;
|
|
260
|
+
lifecycle: z.ZodEnum<{
|
|
261
|
+
active: "active";
|
|
262
|
+
expired: "expired";
|
|
263
|
+
historical: "historical";
|
|
264
|
+
inactive: "inactive";
|
|
265
|
+
proposal: "proposal";
|
|
266
|
+
rejected: "rejected";
|
|
267
|
+
superseded: "superseded";
|
|
268
|
+
}>;
|
|
269
|
+
provenance: z.ZodObject<{
|
|
270
|
+
source: z.ZodString;
|
|
271
|
+
sourceId: z.ZodNullable<z.ZodString>;
|
|
272
|
+
trust: z.ZodNullable<z.ZodString>;
|
|
273
|
+
}, z.core.$strict>;
|
|
274
|
+
relationships: z.ZodArray<z.ZodObject<{
|
|
275
|
+
type: z.ZodEnum<{
|
|
276
|
+
corrects: "corrects";
|
|
277
|
+
superseded_by: "superseded_by";
|
|
278
|
+
supersedes: "supersedes";
|
|
279
|
+
}>;
|
|
280
|
+
targetId: z.ZodString;
|
|
281
|
+
}, z.core.$strict>>;
|
|
282
|
+
createdAt: z.ZodString;
|
|
283
|
+
}, z.core.$strict>>;
|
|
284
|
+
truncated: z.ZodBoolean;
|
|
285
|
+
truncationReasons: z.ZodArray<z.ZodEnum<{
|
|
286
|
+
aggregate_content_bytes: "aggregate_content_bytes";
|
|
287
|
+
aggregate_item_count: "aggregate_item_count";
|
|
288
|
+
company_profile_history: "company_profile_history";
|
|
289
|
+
instruction_policy_history: "instruction_policy_history";
|
|
290
|
+
preference_count: "preference_count";
|
|
291
|
+
preference_history: "preference_history";
|
|
292
|
+
}>>;
|
|
293
|
+
}, z.core.$strict>;
|
|
294
|
+
knowledge: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
295
|
+
availability: z.ZodLiteral<"available">;
|
|
296
|
+
authority: z.ZodLiteral<"knowledge_entries">;
|
|
297
|
+
coverage: z.ZodEnum<{
|
|
298
|
+
complete: "complete";
|
|
299
|
+
partial: "partial";
|
|
300
|
+
}>;
|
|
301
|
+
sampleLimit: z.ZodLiteral<50>;
|
|
302
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
303
|
+
id: z.ZodUUID;
|
|
304
|
+
revisionId: z.ZodUUID;
|
|
305
|
+
title: z.ZodString;
|
|
306
|
+
kind: z.ZodEnum<{
|
|
307
|
+
decision: "decision";
|
|
308
|
+
fact: "fact";
|
|
309
|
+
group: "group";
|
|
310
|
+
incident: "incident";
|
|
311
|
+
note: "note";
|
|
312
|
+
requirement: "requirement";
|
|
313
|
+
source: "source";
|
|
314
|
+
}>;
|
|
315
|
+
scope: z.ZodEnum<{
|
|
316
|
+
organization: "organization";
|
|
317
|
+
personal: "personal";
|
|
318
|
+
workspace: "workspace";
|
|
319
|
+
}>;
|
|
320
|
+
updatedAt: z.ZodString;
|
|
321
|
+
}, z.core.$strict>>;
|
|
322
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
323
|
+
availability: z.ZodLiteral<"unavailable">;
|
|
324
|
+
reason: z.ZodLiteral<"missing_permission">;
|
|
325
|
+
requiredPermission: z.ZodLiteral<"documents:search">;
|
|
326
|
+
}, z.core.$strict>], "availability">;
|
|
327
|
+
omissions: z.ZodArray<z.ZodEnum<{
|
|
328
|
+
document_bodies_use_documents_export: "document_bodies_use_documents_export";
|
|
329
|
+
inaccessible_knowledge: "inaccessible_knowledge";
|
|
330
|
+
memory_bodies_and_provenance: "memory_bodies_and_provenance";
|
|
331
|
+
policy_and_preference_actor_identifiers: "policy_and_preference_actor_identifiers";
|
|
332
|
+
secret_values_and_credentials: "secret_values_and_credentials";
|
|
333
|
+
session_messages_and_task_notes: "session_messages_and_task_notes";
|
|
334
|
+
}>>;
|
|
335
|
+
}, z.core.$strict>;
|
|
336
|
+
export type CompanyBrainOkfPackage = z.infer<typeof CompanyBrainOkfPackage>;
|