@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,146 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** Public, content-free selection. Never include native provider bindings. */
|
|
3
|
+
export declare const SandboxRecoverySelection: z.ZodObject<{
|
|
4
|
+
version: z.ZodLiteral<1>;
|
|
5
|
+
sessionId: z.ZodString;
|
|
6
|
+
sandboxGroupId: z.ZodString;
|
|
7
|
+
leaseId: z.ZodString;
|
|
8
|
+
routeEpoch: z.ZodNumber;
|
|
9
|
+
authorityEpoch: z.ZodNumber;
|
|
10
|
+
leaseEpoch: z.ZodNumber;
|
|
11
|
+
workspaceGeneration: z.ZodNumber;
|
|
12
|
+
archiveGeneration: z.ZodNumber;
|
|
13
|
+
artifactId: z.ZodString;
|
|
14
|
+
revision: z.ZodString;
|
|
15
|
+
capturedAt: z.ZodString;
|
|
16
|
+
}, z.core.$strict>;
|
|
17
|
+
export type SandboxRecoverySelection = z.infer<typeof SandboxRecoverySelection>;
|
|
18
|
+
export declare const SandboxRecoveryProjection: z.ZodObject<{
|
|
19
|
+
version: z.ZodLiteral<1>;
|
|
20
|
+
status: z.ZodEnum<{
|
|
21
|
+
blocked: "blocked";
|
|
22
|
+
consent_accepted: "consent_accepted";
|
|
23
|
+
eligible: "eligible";
|
|
24
|
+
restored: "restored";
|
|
25
|
+
restoring: "restoring";
|
|
26
|
+
unsupported: "unsupported";
|
|
27
|
+
}>;
|
|
28
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
29
|
+
checkpoint: z.ZodNullable<z.ZodObject<{
|
|
30
|
+
version: z.ZodLiteral<1>;
|
|
31
|
+
sessionId: z.ZodString;
|
|
32
|
+
sandboxGroupId: z.ZodString;
|
|
33
|
+
leaseId: z.ZodString;
|
|
34
|
+
routeEpoch: z.ZodNumber;
|
|
35
|
+
authorityEpoch: z.ZodNumber;
|
|
36
|
+
leaseEpoch: z.ZodNumber;
|
|
37
|
+
workspaceGeneration: z.ZodNumber;
|
|
38
|
+
archiveGeneration: z.ZodNumber;
|
|
39
|
+
artifactId: z.ZodString;
|
|
40
|
+
revision: z.ZodString;
|
|
41
|
+
capturedAt: z.ZodString;
|
|
42
|
+
}, z.core.$strict>>;
|
|
43
|
+
operationId: z.ZodNullable<z.ZodString>;
|
|
44
|
+
automaticAvailable: z.ZodOptional<z.ZodBoolean>;
|
|
45
|
+
automaticLane: z.ZodOptional<z.ZodEnum<{
|
|
46
|
+
checkpoint: "checkpoint";
|
|
47
|
+
fresh_workspace: "fresh_workspace";
|
|
48
|
+
}>>;
|
|
49
|
+
availableAt: z.ZodOptional<z.ZodString>;
|
|
50
|
+
}, z.core.$strict>;
|
|
51
|
+
export type SandboxRecoveryProjection = z.infer<typeof SandboxRecoveryProjection>;
|
|
52
|
+
/** Why a definitively lost managed sandbox continues on an empty workspace. */
|
|
53
|
+
export declare const SandboxFreshWorkspaceReason: z.ZodEnum<{
|
|
54
|
+
archive_unavailable: "archive_unavailable";
|
|
55
|
+
archive_unverified: "archive_unverified";
|
|
56
|
+
checkpoint_restore_failed: "checkpoint_restore_failed";
|
|
57
|
+
checkpoint_unrestorable: "checkpoint_unrestorable";
|
|
58
|
+
}>;
|
|
59
|
+
export type SandboxFreshWorkspaceReason = z.infer<typeof SandboxFreshWorkspaceReason>;
|
|
60
|
+
/** Durable, content-free fresh-workspace decision for one group member. */
|
|
61
|
+
export declare const SandboxFreshWorkspaceRecovery: z.ZodObject<{
|
|
62
|
+
version: z.ZodLiteral<1>;
|
|
63
|
+
sessionId: z.ZodString;
|
|
64
|
+
sandboxGroupId: z.ZodString;
|
|
65
|
+
leaseId: z.ZodString;
|
|
66
|
+
leaseEpoch: z.ZodNumber;
|
|
67
|
+
workspaceGeneration: z.ZodNumber;
|
|
68
|
+
archiveGeneration: z.ZodNullable<z.ZodNumber>;
|
|
69
|
+
lostAt: z.ZodString;
|
|
70
|
+
reason: z.ZodEnum<{
|
|
71
|
+
archive_unavailable: "archive_unavailable";
|
|
72
|
+
archive_unverified: "archive_unverified";
|
|
73
|
+
checkpoint_restore_failed: "checkpoint_restore_failed";
|
|
74
|
+
checkpoint_unrestorable: "checkpoint_unrestorable";
|
|
75
|
+
}>;
|
|
76
|
+
}, z.core.$strict>;
|
|
77
|
+
export type SandboxFreshWorkspaceRecovery = z.infer<typeof SandboxFreshWorkspaceRecovery>;
|
|
78
|
+
export declare const SandboxRecoveryRequest: z.ZodObject<{
|
|
79
|
+
operationId: z.ZodString;
|
|
80
|
+
acceptHistoricalCheckpoint: z.ZodLiteral<true>;
|
|
81
|
+
selection: z.ZodObject<{
|
|
82
|
+
version: z.ZodLiteral<1>;
|
|
83
|
+
sessionId: z.ZodString;
|
|
84
|
+
sandboxGroupId: z.ZodString;
|
|
85
|
+
leaseId: z.ZodString;
|
|
86
|
+
routeEpoch: z.ZodNumber;
|
|
87
|
+
authorityEpoch: z.ZodNumber;
|
|
88
|
+
leaseEpoch: z.ZodNumber;
|
|
89
|
+
workspaceGeneration: z.ZodNumber;
|
|
90
|
+
archiveGeneration: z.ZodNumber;
|
|
91
|
+
artifactId: z.ZodString;
|
|
92
|
+
revision: z.ZodString;
|
|
93
|
+
capturedAt: z.ZodString;
|
|
94
|
+
}, z.core.$strict>;
|
|
95
|
+
}, z.core.$strict>;
|
|
96
|
+
export type SandboxRecoveryRequest = z.infer<typeof SandboxRecoveryRequest>;
|
|
97
|
+
export declare const SandboxRecoveryResponse: z.ZodObject<{
|
|
98
|
+
outcome: z.ZodEnum<{
|
|
99
|
+
accepted: "accepted";
|
|
100
|
+
replayed: "replayed";
|
|
101
|
+
}>;
|
|
102
|
+
operationId: z.ZodString;
|
|
103
|
+
recovery: z.ZodObject<{
|
|
104
|
+
version: z.ZodLiteral<1>;
|
|
105
|
+
status: z.ZodEnum<{
|
|
106
|
+
blocked: "blocked";
|
|
107
|
+
consent_accepted: "consent_accepted";
|
|
108
|
+
eligible: "eligible";
|
|
109
|
+
restored: "restored";
|
|
110
|
+
restoring: "restoring";
|
|
111
|
+
unsupported: "unsupported";
|
|
112
|
+
}>;
|
|
113
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
114
|
+
checkpoint: z.ZodNullable<z.ZodObject<{
|
|
115
|
+
version: z.ZodLiteral<1>;
|
|
116
|
+
sessionId: z.ZodString;
|
|
117
|
+
sandboxGroupId: z.ZodString;
|
|
118
|
+
leaseId: z.ZodString;
|
|
119
|
+
routeEpoch: z.ZodNumber;
|
|
120
|
+
authorityEpoch: z.ZodNumber;
|
|
121
|
+
leaseEpoch: z.ZodNumber;
|
|
122
|
+
workspaceGeneration: z.ZodNumber;
|
|
123
|
+
archiveGeneration: z.ZodNumber;
|
|
124
|
+
artifactId: z.ZodString;
|
|
125
|
+
revision: z.ZodString;
|
|
126
|
+
capturedAt: z.ZodString;
|
|
127
|
+
}, z.core.$strict>>;
|
|
128
|
+
operationId: z.ZodNullable<z.ZodString>;
|
|
129
|
+
automaticAvailable: z.ZodOptional<z.ZodBoolean>;
|
|
130
|
+
automaticLane: z.ZodOptional<z.ZodEnum<{
|
|
131
|
+
checkpoint: "checkpoint";
|
|
132
|
+
fresh_workspace: "fresh_workspace";
|
|
133
|
+
}>>;
|
|
134
|
+
availableAt: z.ZodOptional<z.ZodString>;
|
|
135
|
+
}, z.core.$strict>;
|
|
136
|
+
}, z.core.$strict>;
|
|
137
|
+
export type SandboxRecoveryResponse = z.infer<typeof SandboxRecoveryResponse>;
|
|
138
|
+
/** Re-injected from durable receipts on every attempt, not lossy transcript state. */
|
|
139
|
+
export declare function sandboxRecoveryDiscontinuity(selection: SandboxRecoverySelection): string;
|
|
140
|
+
/** Stable tail instructions, sourced from a durable system recovery receipt.
|
|
141
|
+
* `shared` names the sandbox this session shares with other sessions; every
|
|
142
|
+
* member of that group receives its own receipt for the same selection. */
|
|
143
|
+
export declare function automaticSandboxRecoveryDiscontinuity(selection: SandboxRecoverySelection, scope?: "session" | "shared"): string;
|
|
144
|
+
/** Stable tail instructions for continuing on a new empty workspace. The text
|
|
145
|
+
* is true on every later turn too: it names the loss, not the current tree. */
|
|
146
|
+
export declare function freshWorkspaceSandboxRecoveryDiscontinuity(recovery: SandboxFreshWorkspaceRecovery): string;
|
|
@@ -40,6 +40,45 @@ export type NativeSnapshotDescriptor = {
|
|
|
40
40
|
workspacePersistence?: string;
|
|
41
41
|
};
|
|
42
42
|
export type WorkspaceArchiveDescriptor = TarWorkspaceArchiveDescriptor | NativeSnapshotDescriptor;
|
|
43
|
+
export declare const WORKSPACE_ARCHIVE_OBJECT_REF_SCHEMA: "sandbox_archive_object_v1";
|
|
44
|
+
/** Compact object-storage locator for portable tar bytes. The SHA-256/size in
|
|
45
|
+
* `workspaceArchiveMeta` remain the verification authority. */
|
|
46
|
+
export type WorkspaceArchiveObjectRef = {
|
|
47
|
+
schema: typeof WORKSPACE_ARCHIVE_OBJECT_REF_SCHEMA;
|
|
48
|
+
key: string;
|
|
49
|
+
sha256: string;
|
|
50
|
+
bytes: number;
|
|
51
|
+
backend: string;
|
|
52
|
+
};
|
|
53
|
+
export type WorkspaceArchiveObjectKey = {
|
|
54
|
+
accountId: string;
|
|
55
|
+
workspaceId: string;
|
|
56
|
+
sandboxGroupId: string;
|
|
57
|
+
revision: string;
|
|
58
|
+
uploadId: string | null;
|
|
59
|
+
};
|
|
60
|
+
export declare function parseWorkspaceArchiveObjectKey(value: unknown): WorkspaceArchiveObjectKey | null;
|
|
61
|
+
export declare function parseWorkspaceArchiveObjectRef(value: unknown): WorkspaceArchiveObjectRef | null;
|
|
62
|
+
export declare function workspaceArchiveObjectKey(input: {
|
|
63
|
+
accountId: string;
|
|
64
|
+
workspaceId: string;
|
|
65
|
+
sandboxGroupId: string;
|
|
66
|
+
revision: string;
|
|
67
|
+
/** New upload invocations supply a fresh randomUUID; omission is legacy-only. */
|
|
68
|
+
uploadId?: string;
|
|
69
|
+
}): string;
|
|
70
|
+
/** Bind a stored locator to its publication/restore scope and verified tar
|
|
71
|
+
* descriptor. A logical revision never substitutes for the exact physical key. */
|
|
72
|
+
export declare function validateWorkspaceArchiveObjectRef(value: unknown, input: {
|
|
73
|
+
accountId: string;
|
|
74
|
+
workspaceId: string;
|
|
75
|
+
sandboxGroupId: string;
|
|
76
|
+
descriptor: WorkspaceArchiveDescriptor;
|
|
77
|
+
}): WorkspaceArchiveObjectRef | null;
|
|
78
|
+
export declare function workspaceArchivePayloadPresent(sessionState: Record<string, unknown> | null | undefined): boolean;
|
|
79
|
+
/** Restore may inline object bytes in memory for hydrate. That copy must never
|
|
80
|
+
* be published onto a lease when a durable object-storage ref exists. */
|
|
81
|
+
export declare function omitInlineWorkspaceArchiveWhenObjectRefPresent(sessionState: Record<string, unknown>): Record<string, unknown>;
|
|
43
82
|
export declare const NATIVE_SNAPSHOT_PREFIXES: ReadonlyArray<{
|
|
44
83
|
provider: NativeSnapshotProvider;
|
|
45
84
|
prefix: string;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** A response-quality notice, not a failed turn or a completed deliverable. */
|
|
2
|
+
export declare const EMPTY_FINAL_REPLY_NOTICE = "The model returned no final reply after a reply reminder. Completed work is preserved; the goal and later updates are unaffected.";
|
|
3
|
+
export type EmptyFinalReplyCompletion = {
|
|
4
|
+
emptyFinalReply: true;
|
|
5
|
+
};
|
|
6
|
+
export declare function turnCompletedWithEmptyFinalReply(payload: unknown): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const SessionGoalReportRequirement: z.ZodObject<{
|
|
3
|
+
id: z.ZodString;
|
|
4
|
+
title: z.ZodString;
|
|
5
|
+
}, z.core.$strict>;
|
|
6
|
+
export type SessionGoalReportRequirement = z.infer<typeof SessionGoalReportRequirement>;
|
|
7
|
+
export declare const SessionGoalReportRequirements: z.ZodArray<z.ZodObject<{
|
|
8
|
+
id: z.ZodString;
|
|
9
|
+
title: z.ZodString;
|
|
10
|
+
}, z.core.$strict>>;
|
|
11
|
+
export declare const SessionGoalReportDelivery: z.ZodObject<{
|
|
12
|
+
requirementId: z.ZodString;
|
|
13
|
+
artifactId: z.ZodString;
|
|
14
|
+
inspectionReceiptId: z.ZodString;
|
|
15
|
+
}, z.core.$strict>;
|
|
16
|
+
export type SessionGoalReportDelivery = z.infer<typeof SessionGoalReportDelivery>;
|
|
17
|
+
export declare const SessionGoalReportDeliveries: z.ZodArray<z.ZodObject<{
|
|
18
|
+
requirementId: z.ZodString;
|
|
19
|
+
artifactId: z.ZodString;
|
|
20
|
+
inspectionReceiptId: z.ZodString;
|
|
21
|
+
}, z.core.$strict>>;
|