@opengeni/contracts 0.44.1 → 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 +27 -11
- 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/canonical-human-identities.d.ts +157 -0
- package/dist/canonical-human-identities.js +23 -0
- package/dist/canonical-human-identities.js.map +1 -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-52SGB2QO.js → chunk-5IXYF6XN.js} +50 -10
- 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-GRG7PHWQ.js +25 -0
- package/dist/chunk-GRG7PHWQ.js.map +1 -0
- package/dist/chunk-JUFK3T4Q.js +80 -0
- package/dist/chunk-JUFK3T4Q.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-H5BVCZKF.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-FJBG5E4O.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/codex-provider-account-authority.d.ts +23 -0
- package/dist/codex-provider-account-authority.js +23 -0
- package/dist/codex-provider-account-authority.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 +19 -9
- 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 +48 -36
- 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 +91 -15
- 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 +27574 -5374
- package/dist/index.js +2531 -177
- 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 +1752 -13
- package/dist/knowledge-entries.d.ts +982 -0
- package/dist/knowledge-preparation.d.ts +237 -0
- package/dist/knowledge.d.ts +740 -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/slack-task-policy.d.ts +294 -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 +169 -0
- 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 +51 -0
- package/dist/video-generation.js +9 -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 +26 -0
- package/dist/xai-provider-account-authority.js +9 -0
- package/dist/xai-provider-account-authority.js.map +1 -0
- package/package.json +146 -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/canonical-human-identities.ts +93 -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/codex-provider-account-authority.ts +37 -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 +8019 -1799
- package/src/insights-usage.ts +679 -0
- package/src/interaction.ts +1102 -6
- package/src/knowledge-entries.ts +375 -0
- package/src/knowledge-preparation.ts +50 -0
- package/src/knowledge.ts +335 -0
- 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/slack-task-policy.ts +215 -0
- package/src/spreadsheet-artifact-commands.ts +12 -13
- package/src/subscription-account-pools.ts +44 -0
- package/src/task-notes.ts +105 -0
- package/src/tool-catalog.ts +155 -0
- package/src/tool-result-spill.ts +35 -0
- package/src/usage-allowances.ts +187 -0
- package/src/video-generation.ts +43 -6
- 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 +38 -0
- package/dist/chunk-52SGB2QO.js.map +0 -1
- 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-FJBG5E4O.js.map +0 -1
- package/dist/chunk-H5BVCZKF.js.map +0 -1
- package/dist/chunk-LSB7GRLG.js.map +0 -1
- package/dist/chunk-TZ6YEYN4.js.map +0 -1
- package/dist/chunk-VA22KRHS.js +0 -15177
- package/dist/chunk-VA22KRHS.js.map +0 -1
- package/dist/chunk-Y3MLSLB4.js.map +0 -1
- /package/dist/{chunk-CADSX6UN.js.map → chunk-Y3KNXVTD.js.map} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeni/contracts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Shared zod schemas and wire-contract types for the OpenGeni API.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -18,6 +18,74 @@
|
|
|
18
18
|
"module": "./dist/index.js",
|
|
19
19
|
"types": "./dist/index.d.ts",
|
|
20
20
|
"exports": {
|
|
21
|
+
"./connection-account-label": {
|
|
22
|
+
"types": "./dist/connection-account-label.d.ts",
|
|
23
|
+
"import": "./dist/connection-account-label.js"
|
|
24
|
+
},
|
|
25
|
+
"./modal-native-proof-v2": {
|
|
26
|
+
"types": "./dist/modal-native-proof-v2.d.ts",
|
|
27
|
+
"import": "./dist/modal-native-proof-v2.js"
|
|
28
|
+
},
|
|
29
|
+
"./allowance-refusal": {
|
|
30
|
+
"types": "./dist/allowance-refusal.d.ts",
|
|
31
|
+
"import": "./dist/allowance-refusal.js"
|
|
32
|
+
},
|
|
33
|
+
"./usage-allowances": {
|
|
34
|
+
"types": "./dist/usage-allowances.d.ts",
|
|
35
|
+
"import": "./dist/usage-allowances.js"
|
|
36
|
+
},
|
|
37
|
+
"./browser-storage": {
|
|
38
|
+
"types": "./dist/browser-storage.d.ts",
|
|
39
|
+
"import": "./dist/browser-storage.js"
|
|
40
|
+
},
|
|
41
|
+
"./managed-sign-in-methods": {
|
|
42
|
+
"types": "./dist/managed-sign-in-methods.d.ts",
|
|
43
|
+
"import": "./dist/managed-sign-in-methods.js"
|
|
44
|
+
},
|
|
45
|
+
"./client-error-report": {
|
|
46
|
+
"types": "./dist/client-error-report.d.ts",
|
|
47
|
+
"import": "./dist/client-error-report.js"
|
|
48
|
+
},
|
|
49
|
+
"./analytics-consent-report": {
|
|
50
|
+
"types": "./dist/analytics-consent-report.d.ts",
|
|
51
|
+
"import": "./dist/analytics-consent-report.js"
|
|
52
|
+
},
|
|
53
|
+
"./mcp-endpoint": {
|
|
54
|
+
"types": "./dist/mcp-endpoint.d.ts",
|
|
55
|
+
"import": "./dist/mcp-endpoint.js"
|
|
56
|
+
},
|
|
57
|
+
"./plugin-discovery": {
|
|
58
|
+
"types": "./dist/plugin-discovery.d.ts",
|
|
59
|
+
"import": "./dist/plugin-discovery.js"
|
|
60
|
+
},
|
|
61
|
+
"./host-mcp-bindings": {
|
|
62
|
+
"types": "./dist/host-mcp-bindings.d.ts",
|
|
63
|
+
"import": "./dist/host-mcp-bindings.js"
|
|
64
|
+
},
|
|
65
|
+
"./external-identities": {
|
|
66
|
+
"types": "./dist/external-identities.d.ts",
|
|
67
|
+
"import": "./dist/external-identities.js"
|
|
68
|
+
},
|
|
69
|
+
"./organization-access": {
|
|
70
|
+
"types": "./dist/organization-access.d.ts",
|
|
71
|
+
"import": "./dist/organization-access.js"
|
|
72
|
+
},
|
|
73
|
+
"./connect": {
|
|
74
|
+
"types": "./dist/connect.d.ts",
|
|
75
|
+
"import": "./dist/connect.js"
|
|
76
|
+
},
|
|
77
|
+
"./site-session-http": {
|
|
78
|
+
"types": "./dist/site-session-http.d.ts",
|
|
79
|
+
"import": "./dist/site-session-http.js"
|
|
80
|
+
},
|
|
81
|
+
"./organization-model-usage": {
|
|
82
|
+
"types": "./dist/organization-model-usage.d.ts",
|
|
83
|
+
"import": "./dist/organization-model-usage.js"
|
|
84
|
+
},
|
|
85
|
+
"./insights-usage": {
|
|
86
|
+
"types": "./dist/insights-usage.d.ts",
|
|
87
|
+
"import": "./dist/insights-usage.js"
|
|
88
|
+
},
|
|
21
89
|
".": {
|
|
22
90
|
"types": "./dist/index.d.ts",
|
|
23
91
|
"import": "./dist/index.js"
|
|
@@ -26,22 +94,94 @@
|
|
|
26
94
|
"types": "./dist/slack-bot-scopes.d.ts",
|
|
27
95
|
"import": "./dist/slack-bot-scopes.js"
|
|
28
96
|
},
|
|
97
|
+
"./slack-rest-mcp": {
|
|
98
|
+
"types": "./dist/slack-rest-mcp.d.ts",
|
|
99
|
+
"import": "./dist/slack-rest-mcp.js"
|
|
100
|
+
},
|
|
29
101
|
"./google-drive": {
|
|
30
102
|
"types": "./dist/google-drive.d.ts",
|
|
31
103
|
"import": "./dist/google-drive.js"
|
|
32
104
|
},
|
|
105
|
+
"./personal-github": {
|
|
106
|
+
"types": "./dist/personal-github.d.ts",
|
|
107
|
+
"import": "./dist/personal-github.js"
|
|
108
|
+
},
|
|
109
|
+
"./github-repository": {
|
|
110
|
+
"types": "./dist/github-repository.d.ts",
|
|
111
|
+
"import": "./dist/github-repository.js"
|
|
112
|
+
},
|
|
113
|
+
"./github-repository-contracts": {
|
|
114
|
+
"types": "./dist/github-repository-contracts.d.ts",
|
|
115
|
+
"import": "./dist/github-repository-contracts.js"
|
|
116
|
+
},
|
|
33
117
|
"./atlassian": {
|
|
34
118
|
"types": "./dist/atlassian.d.ts",
|
|
35
119
|
"import": "./dist/atlassian.js"
|
|
36
120
|
},
|
|
121
|
+
"./atlassian-native-retirement": {
|
|
122
|
+
"types": "./dist/atlassian-native-retirement.d.ts",
|
|
123
|
+
"import": "./dist/atlassian-native-retirement.js"
|
|
124
|
+
},
|
|
37
125
|
"./connector-destinations": {
|
|
38
126
|
"types": "./dist/connector-destinations.d.ts",
|
|
39
127
|
"import": "./dist/connector-destinations.js"
|
|
40
128
|
},
|
|
129
|
+
"./connector-attachments": {
|
|
130
|
+
"types": "./dist/connector-attachments.d.ts",
|
|
131
|
+
"import": "./dist/connector-attachments.js"
|
|
132
|
+
},
|
|
133
|
+
"./connection-authority": {
|
|
134
|
+
"types": "./dist/connection-authority.d.ts",
|
|
135
|
+
"import": "./dist/connection-authority.js"
|
|
136
|
+
},
|
|
41
137
|
"./video-generation": {
|
|
42
138
|
"types": "./dist/video-generation.d.ts",
|
|
43
139
|
"import": "./dist/video-generation.js"
|
|
44
140
|
},
|
|
141
|
+
"./canonical-human-identities": {
|
|
142
|
+
"types": "./dist/canonical-human-identities.d.ts",
|
|
143
|
+
"import": "./dist/canonical-human-identities.js"
|
|
144
|
+
},
|
|
145
|
+
"./session-titles": {
|
|
146
|
+
"types": "./dist/session-titles.d.ts",
|
|
147
|
+
"import": "./dist/session-titles.js"
|
|
148
|
+
},
|
|
149
|
+
"./session-final-reply": {
|
|
150
|
+
"types": "./dist/session-final-reply.d.ts",
|
|
151
|
+
"import": "./dist/session-final-reply.js"
|
|
152
|
+
},
|
|
153
|
+
"./managed-auth-session-sets": {
|
|
154
|
+
"types": "./dist/managed-auth-session-sets.d.ts",
|
|
155
|
+
"import": "./dist/managed-auth-session-sets.js"
|
|
156
|
+
},
|
|
157
|
+
"./organization-recovery": {
|
|
158
|
+
"types": "./dist/organization-recovery.d.ts",
|
|
159
|
+
"import": "./dist/organization-recovery.js"
|
|
160
|
+
},
|
|
161
|
+
"./codex-provider-account-authority": {
|
|
162
|
+
"types": "./dist/codex-provider-account-authority.d.ts",
|
|
163
|
+
"import": "./dist/codex-provider-account-authority.js"
|
|
164
|
+
},
|
|
165
|
+
"./xai-provider-account-authority": {
|
|
166
|
+
"types": "./dist/xai-provider-account-authority.d.ts",
|
|
167
|
+
"import": "./dist/xai-provider-account-authority.js"
|
|
168
|
+
},
|
|
169
|
+
"./model-picker-order": {
|
|
170
|
+
"types": "./dist/model-picker-order.d.ts",
|
|
171
|
+
"import": "./dist/model-picker-order.js"
|
|
172
|
+
},
|
|
173
|
+
"./model-display": {
|
|
174
|
+
"types": "./dist/model-display.d.ts",
|
|
175
|
+
"import": "./dist/model-display.js"
|
|
176
|
+
},
|
|
177
|
+
"./workspace-integration-wire": {
|
|
178
|
+
"types": "./dist/workspace-integration-wire.d.ts",
|
|
179
|
+
"import": "./dist/workspace-integration-wire.js"
|
|
180
|
+
},
|
|
181
|
+
"./code-search": {
|
|
182
|
+
"types": "./dist/code-search.d.ts",
|
|
183
|
+
"import": "./dist/code-search.js"
|
|
184
|
+
},
|
|
45
185
|
"./editable-artifacts": {
|
|
46
186
|
"types": "./dist/editable-artifacts.d.ts",
|
|
47
187
|
"import": "./dist/editable-artifacts.js"
|
|
@@ -93,6 +233,10 @@
|
|
|
93
233
|
"./presentation-artifact-query": {
|
|
94
234
|
"types": "./dist/presentation-artifact-query.d.ts",
|
|
95
235
|
"import": "./dist/presentation-artifact-query.js"
|
|
236
|
+
},
|
|
237
|
+
"./session-list-entries": {
|
|
238
|
+
"types": "./dist/session-list-entries.d.ts",
|
|
239
|
+
"import": "./dist/session-list-entries.js"
|
|
96
240
|
}
|
|
97
241
|
},
|
|
98
242
|
"publishConfig": {
|
|
@@ -106,6 +250,7 @@
|
|
|
106
250
|
},
|
|
107
251
|
"dependencies": {
|
|
108
252
|
"@noble/hashes": "^1.8.0",
|
|
253
|
+
"yaml": "2.9.0",
|
|
109
254
|
"zod": "^4.2.1"
|
|
110
255
|
},
|
|
111
256
|
"engines": {
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { WORKSPACE_INSTRUCTION_POLICY_CONTENT_MAX_CHARS } from "./workspace-instruction-policies";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Budgets and authoring style for durable text an **agent** writes on a user's
|
|
5
|
+
* behalf.
|
|
6
|
+
*
|
|
7
|
+
* The budget follows the cost, and the cost differs per destination:
|
|
8
|
+
*
|
|
9
|
+
* - A workspace instruction policy is composed verbatim into the prompt of
|
|
10
|
+
* every session it applies to, for as long as it stays active. A global
|
|
11
|
+
* charter or global policy applies to every session in the workspace; a role
|
|
12
|
+
* policy applies to every session bound to that role. At most three entries
|
|
13
|
+
* compose at once (charter, global policy, matching role policy), so the
|
|
14
|
+
* storage limit is shared with the human editor; prompt composition retains
|
|
15
|
+
* its separate UTF-8 byte bound.
|
|
16
|
+
* - A preference is cheaper and in a different way: only its short title and
|
|
17
|
+
* description descriptors are prompt-composed, while the full content is
|
|
18
|
+
* retrieved on demand behind the exact attempt's retrieval handle. Its length
|
|
19
|
+
* is therefore retrieval cost, not standing prompt cost.
|
|
20
|
+
* - Organization identity and mission are always-on context for root sessions
|
|
21
|
+
* across the whole organization. Historical company-profile list fields stay
|
|
22
|
+
* in the storage contract for compatibility; nonempty values on an already-
|
|
23
|
+
* active historical revision remain composed with an explicit compatibility
|
|
24
|
+
* label until an organization owner replaces the profile.
|
|
25
|
+
* - Knowledge is retrieval evidence and never joins the always-composed prefix.
|
|
26
|
+
*
|
|
27
|
+
* Instruction writes share the human limit so localized edits can preserve
|
|
28
|
+
* existing long policies. The other caps bind only agent-authored writes.
|
|
29
|
+
* The human-facing limits (`PREFERENCE_REGISTRY_CONTENT_MAX_CHARS`, `COMPANY_PROFILE_SCALAR_MAX_CHARS`,
|
|
30
|
+
* `COMPANY_PROFILE_ENTRY_MAX_CHARS`, `COMPANY_PROFILE_CONTENT_MAX_UTF8_BYTES`)
|
|
31
|
+
* are unchanged: a person editing in the UI is making a deliberate, visible
|
|
32
|
+
* choice, and lowering their limit would reject text they already typed.
|
|
33
|
+
* Existing stored revisions are never rewritten; only new agent writes are
|
|
34
|
+
* bounded.
|
|
35
|
+
*/
|
|
36
|
+
|
|
37
|
+
/** Compatibility export: agents and humans use the same instruction storage limit. */
|
|
38
|
+
export const AGENT_AUTHORED_INSTRUCTION_POLICY_CONTENT_MAX_CHARS =
|
|
39
|
+
WORKSPACE_INSTRUCTION_POLICY_CONTENT_MAX_CHARS;
|
|
40
|
+
|
|
41
|
+
/** Retrieved on demand rather than always composed. */
|
|
42
|
+
export const AGENT_AUTHORED_PREFERENCE_CONTENT_MAX_CHARS = 1_200;
|
|
43
|
+
|
|
44
|
+
/** `identity` and `mission`: a couple of sentences, not a positioning document. */
|
|
45
|
+
export const AGENT_AUTHORED_COMPANY_PROFILE_SCALAR_MAX_CHARS = 400;
|
|
46
|
+
|
|
47
|
+
/** Legacy company-profile list entry bound; retained for stored-revision compatibility. */
|
|
48
|
+
export const AGENT_AUTHORED_COMPANY_PROFILE_ENTRY_MAX_CHARS = 200;
|
|
49
|
+
|
|
50
|
+
/** Whole canonical compatibility profile; current agent tools submit only identity and mission. */
|
|
51
|
+
export const AGENT_AUTHORED_COMPANY_PROFILE_CONTENT_MAX_UTF8_BYTES = 4_096;
|
|
52
|
+
|
|
53
|
+
export const AGENT_AUTHORED_INSTRUCTION_POLICY_CONTENT_TOO_LONG_MESSAGE =
|
|
54
|
+
"A workspace rule is composed verbatim into the prompt of every session it applies to (every session " +
|
|
55
|
+
"for a global charter or policy, every session bound to the role for a role policy), for as long as it " +
|
|
56
|
+
`stays active. The instruction must contain at most ${AGENT_AUTHORED_INSTRUCTION_POLICY_CONTENT_MAX_CHARS} ` +
|
|
57
|
+
"characters, the same limit as the human editor. Keep new rules concise and preserve unrelated content.";
|
|
58
|
+
|
|
59
|
+
export const AGENT_AUTHORED_PREFERENCE_CONTENT_TOO_LONG_MESSAGE =
|
|
60
|
+
"A Skill is durable Agent Knowledge that agents retrieve on demand, so its length is " +
|
|
61
|
+
"retrieval cost rather than standing prompt cost: only its short title and description are composed into " +
|
|
62
|
+
`every session prompt. Keep it under ${AGENT_AUTHORED_PREFERENCE_CONTENT_MAX_CHARS} characters: state the ` +
|
|
63
|
+
"trigger and outcome plainly, include only the necessary procedure, checks, and exceptions, and remove " +
|
|
64
|
+
"background, repeated guidance, and decorative examples.";
|
|
65
|
+
|
|
66
|
+
export const AGENT_AUTHORED_COMPANY_PROFILE_TOO_LONG_MESSAGE =
|
|
67
|
+
"Organization identity and mission are mandatory prompt context in every root session across the " +
|
|
68
|
+
`organization. Keep each under ${AGENT_AUTHORED_COMPANY_PROFILE_SCALAR_MAX_CHARS} characters: one concise ` +
|
|
69
|
+
"descriptive statement, no products, customers, goals, constraints, procedure, or marketing copy. Those " +
|
|
70
|
+
"details belong in organization Documents and are retrieved as evidence when relevant.";
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Lane-agnostic guidance for the one `remember` content field, whose schema
|
|
74
|
+
* bound has to admit the widest lane. Without it an over-long rule would be
|
|
75
|
+
* refused with a generic "expected length <= 4000" that points at the wrong
|
|
76
|
+
* number entirely.
|
|
77
|
+
*/
|
|
78
|
+
export const AGENT_AUTHORED_REMEMBER_CONTENT_TOO_LONG_MESSAGE =
|
|
79
|
+
"Remembered content is bounded by where it lands: a mandatory workspace rule at most " +
|
|
80
|
+
`${AGENT_AUTHORED_INSTRUCTION_POLICY_CONTENT_MAX_CHARS} characters because it is composed into every ` +
|
|
81
|
+
`session prompt it applies to, a preference at most ${AGENT_AUTHORED_PREFERENCE_CONTENT_MAX_CHARS}, a ` +
|
|
82
|
+
"Knowledge fact at most 4000. Write one imperative statement in 1-3 sentences, split unrelated entries, and " +
|
|
83
|
+
"keep procedure in a Document or Skill that the entry references.";
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* The shape rule the model reads on every tool that authors a durable *rule or
|
|
87
|
+
* preference*. Deliberately not reused for the company profile, which is a
|
|
88
|
+
* descriptive profile rather than an instruction and needs its own wording.
|
|
89
|
+
*/
|
|
90
|
+
export const AGENT_AUTHORED_INSTRUCTION_POLICY_STYLE =
|
|
91
|
+
"Write the shortest complete imperative rule in 1-3 sentences, with no numbered procedure, examples, " +
|
|
92
|
+
"rationale, or restated defaults. Split unrelated rules, and move conditional procedure into a Skill.";
|
|
93
|
+
|
|
94
|
+
export const AGENT_AUTHORED_SKILL_STYLE =
|
|
95
|
+
"Write one focused Skill with a clear trigger and outcome. Include only the prerequisites, necessary steps, " +
|
|
96
|
+
"verification, and important failure handling an agent needs to execute it; omit background, repetition, " +
|
|
97
|
+
"generic advice, and decorative examples. Split unrelated workflows into separate Skills.";
|
|
98
|
+
|
|
99
|
+
/** @deprecated Use the destination-specific instruction or Skill style. */
|
|
100
|
+
export const AGENT_AUTHORED_DURABLE_TEXT_STYLE = AGENT_AUTHORED_INSTRUCTION_POLICY_STYLE;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Actionable over-budget message including the text the caller actually sent,
|
|
104
|
+
* so the model can see how far over it is instead of guessing.
|
|
105
|
+
*/
|
|
106
|
+
export function agentAuthoredDurableTextTooLongMessage(input: {
|
|
107
|
+
kind: "instruction_policy" | "preference";
|
|
108
|
+
actualChars: number;
|
|
109
|
+
}): string {
|
|
110
|
+
const subject = input.kind === "instruction_policy" ? "This rule is" : "This preference is";
|
|
111
|
+
const limit =
|
|
112
|
+
input.kind === "instruction_policy"
|
|
113
|
+
? AGENT_AUTHORED_INSTRUCTION_POLICY_CONTENT_TOO_LONG_MESSAGE
|
|
114
|
+
: AGENT_AUTHORED_PREFERENCE_CONTENT_TOO_LONG_MESSAGE;
|
|
115
|
+
return `${subject} ${input.actualChars} characters. ${limit}`;
|
|
116
|
+
}
|