@nodetool-ai/protocol 0.7.0-rc.22 → 0.8.1
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/README.md +56 -0
- package/dist/.nodetool-build-stamp +1 -0
- package/dist/ai-video-production.d.ts +249 -0
- package/dist/ai-video-production.d.ts.map +1 -0
- package/dist/ai-video-production.js +131 -0
- package/dist/ai-video-production.js.map +1 -0
- package/dist/api-schemas/agent-access.d.ts +134 -0
- package/dist/api-schemas/agent-access.d.ts.map +1 -0
- package/dist/api-schemas/agent-access.js +93 -0
- package/dist/api-schemas/agent-access.js.map +1 -0
- package/dist/api-schemas/api-error-code.d.ts +11 -1
- package/dist/api-schemas/api-error-code.d.ts.map +1 -1
- package/dist/api-schemas/api-error-code.js +10 -0
- package/dist/api-schemas/api-error-code.js.map +1 -1
- package/dist/api-schemas/applications.d.ts +1411 -0
- package/dist/api-schemas/applications.d.ts.map +1 -0
- package/dist/api-schemas/applications.js +333 -0
- package/dist/api-schemas/applications.js.map +1 -0
- package/dist/api-schemas/assets.d.ts +230 -0
- package/dist/api-schemas/assets.d.ts.map +1 -1
- package/dist/api-schemas/assets.js +131 -5
- package/dist/api-schemas/assets.js.map +1 -1
- package/dist/api-schemas/code-gen.d.ts +176 -0
- package/dist/api-schemas/code-gen.d.ts.map +1 -0
- package/dist/api-schemas/code-gen.js +205 -0
- package/dist/api-schemas/code-gen.js.map +1 -0
- package/dist/api-schemas/collections.d.ts.map +1 -1
- package/dist/api-schemas/collections.js +3 -4
- package/dist/api-schemas/collections.js.map +1 -1
- package/dist/api-schemas/costs.d.ts +179 -0
- package/dist/api-schemas/costs.d.ts.map +1 -1
- package/dist/api-schemas/costs.js +100 -4
- package/dist/api-schemas/costs.js.map +1 -1
- package/dist/api-schemas/credits.d.ts +42 -0
- package/dist/api-schemas/credits.d.ts.map +1 -0
- package/dist/api-schemas/credits.js +43 -0
- package/dist/api-schemas/credits.js.map +1 -0
- package/dist/api-schemas/documents.d.ts +163 -0
- package/dist/api-schemas/documents.d.ts.map +1 -0
- package/dist/api-schemas/documents.js +75 -0
- package/dist/api-schemas/documents.js.map +1 -0
- package/dist/api-schemas/files.d.ts +13 -0
- package/dist/api-schemas/files.d.ts.map +1 -1
- package/dist/api-schemas/files.js +8 -0
- package/dist/api-schemas/files.js.map +1 -1
- package/dist/api-schemas/fonts.d.ts +17 -1
- package/dist/api-schemas/fonts.d.ts.map +1 -1
- package/dist/api-schemas/fonts.js +19 -3
- package/dist/api-schemas/fonts.js.map +1 -1
- package/dist/api-schemas/index.d.ts +23 -1
- package/dist/api-schemas/index.d.ts.map +1 -1
- package/dist/api-schemas/index.js +23 -1
- package/dist/api-schemas/index.js.map +1 -1
- package/dist/api-schemas/jobs.d.ts +12 -0
- package/dist/api-schemas/jobs.d.ts.map +1 -1
- package/dist/api-schemas/jobs.js +12 -2
- package/dist/api-schemas/jobs.js.map +1 -1
- package/dist/api-schemas/js-scripts.d.ts +364 -0
- package/dist/api-schemas/js-scripts.d.ts.map +1 -0
- package/dist/api-schemas/js-scripts.js +333 -0
- package/dist/api-schemas/js-scripts.js.map +1 -0
- package/dist/api-schemas/mcp-config.d.ts.map +1 -1
- package/dist/api-schemas/mcp-config.js +3 -1
- package/dist/api-schemas/mcp-config.js.map +1 -1
- package/dist/api-schemas/memories.d.ts +84 -0
- package/dist/api-schemas/memories.d.ts.map +1 -0
- package/dist/api-schemas/memories.js +54 -0
- package/dist/api-schemas/memories.js.map +1 -0
- package/dist/api-schemas/messages.d.ts +1 -0
- package/dist/api-schemas/messages.d.ts.map +1 -1
- package/dist/api-schemas/messages.js +4 -4
- package/dist/api-schemas/messages.js.map +1 -1
- package/dist/api-schemas/models.d.ts +156 -0
- package/dist/api-schemas/models.d.ts.map +1 -1
- package/dist/api-schemas/models.js +51 -6
- package/dist/api-schemas/models.js.map +1 -1
- package/dist/api-schemas/nodes.d.ts +97 -0
- package/dist/api-schemas/nodes.d.ts.map +1 -1
- package/dist/api-schemas/nodes.js +89 -0
- package/dist/api-schemas/nodes.js.map +1 -1
- package/dist/api-schemas/projects.d.ts +427 -0
- package/dist/api-schemas/projects.d.ts.map +1 -0
- package/dist/api-schemas/projects.js +224 -0
- package/dist/api-schemas/projects.js.map +1 -0
- package/dist/api-schemas/recipes.d.ts +172 -0
- package/dist/api-schemas/recipes.d.ts.map +1 -0
- package/dist/api-schemas/recipes.js +144 -0
- package/dist/api-schemas/recipes.js.map +1 -0
- package/dist/api-schemas/resources.d.ts +112 -0
- package/dist/api-schemas/resources.d.ts.map +1 -0
- package/dist/api-schemas/resources.js +44 -0
- package/dist/api-schemas/resources.js.map +1 -0
- package/dist/api-schemas/scripts.d.ts +1571 -0
- package/dist/api-schemas/scripts.d.ts.map +1 -0
- package/dist/api-schemas/scripts.js +153 -0
- package/dist/api-schemas/scripts.js.map +1 -0
- package/dist/api-schemas/sdk-execution-v1.d.ts +467 -0
- package/dist/api-schemas/sdk-execution-v1.d.ts.map +1 -0
- package/dist/api-schemas/sdk-execution-v1.js +115 -0
- package/dist/api-schemas/sdk-execution-v1.js.map +1 -0
- package/dist/api-schemas/sdk-lifecycle-v1.d.ts +217 -0
- package/dist/api-schemas/sdk-lifecycle-v1.d.ts.map +1 -0
- package/dist/api-schemas/sdk-lifecycle-v1.js +117 -0
- package/dist/api-schemas/sdk-lifecycle-v1.js.map +1 -0
- package/dist/api-schemas/sdk-models-v1.d.ts +181 -0
- package/dist/api-schemas/sdk-models-v1.d.ts.map +1 -0
- package/dist/api-schemas/sdk-models-v1.js +108 -0
- package/dist/api-schemas/sdk-models-v1.js.map +1 -0
- package/dist/api-schemas/sdk-v1-http-operations.d.ts +941 -0
- package/dist/api-schemas/sdk-v1-http-operations.d.ts.map +1 -0
- package/dist/api-schemas/sdk-v1-http-operations.js +465 -0
- package/dist/api-schemas/sdk-v1-http-operations.js.map +1 -0
- package/dist/api-schemas/sdk-v1-operations.d.ts +151 -0
- package/dist/api-schemas/sdk-v1-operations.d.ts.map +1 -0
- package/dist/api-schemas/sdk-v1-operations.js +97 -0
- package/dist/api-schemas/sdk-v1-operations.js.map +1 -0
- package/dist/api-schemas/sdk-v1-websocket-operations.d.ts +97 -0
- package/dist/api-schemas/sdk-v1-websocket-operations.d.ts.map +1 -0
- package/dist/api-schemas/sdk-v1-websocket-operations.js +96 -0
- package/dist/api-schemas/sdk-v1-websocket-operations.js.map +1 -0
- package/dist/api-schemas/sdk-v1.d.ts +15 -0
- package/dist/api-schemas/sdk-v1.d.ts.map +1 -0
- package/dist/api-schemas/sdk-v1.js +22 -0
- package/dist/api-schemas/sdk-v1.js.map +1 -0
- package/dist/api-schemas/segmentation.d.ts +75 -0
- package/dist/api-schemas/segmentation.d.ts.map +1 -0
- package/dist/api-schemas/segmentation.js +54 -0
- package/dist/api-schemas/segmentation.js.map +1 -0
- package/dist/api-schemas/settings.d.ts +159 -0
- package/dist/api-schemas/settings.d.ts.map +1 -1
- package/dist/api-schemas/settings.js +70 -0
- package/dist/api-schemas/settings.js.map +1 -1
- package/dist/api-schemas/sketch.d.ts +847 -0
- package/dist/api-schemas/sketch.d.ts.map +1 -0
- package/dist/api-schemas/sketch.js +544 -0
- package/dist/api-schemas/sketch.js.map +1 -0
- package/dist/api-schemas/skills.d.ts +27 -14
- package/dist/api-schemas/skills.d.ts.map +1 -1
- package/dist/api-schemas/skills.js +64 -11
- package/dist/api-schemas/skills.js.map +1 -1
- package/dist/api-schemas/storage.d.ts +8 -0
- package/dist/api-schemas/storage.d.ts.map +1 -1
- package/dist/api-schemas/storage.js +7 -0
- package/dist/api-schemas/storage.js.map +1 -1
- package/dist/api-schemas/storyboards.d.ts +7026 -0
- package/dist/api-schemas/storyboards.d.ts.map +1 -0
- package/dist/api-schemas/storyboards.js +393 -0
- package/dist/api-schemas/storyboards.js.map +1 -0
- package/dist/api-schemas/threads.d.ts +12 -4
- package/dist/api-schemas/threads.d.ts.map +1 -1
- package/dist/api-schemas/threads.js +12 -4
- package/dist/api-schemas/threads.js.map +1 -1
- package/dist/api-schemas/timeline-tool-contracts.d.ts +1650 -0
- package/dist/api-schemas/timeline-tool-contracts.d.ts.map +1 -0
- package/dist/api-schemas/timeline-tool-contracts.js +725 -0
- package/dist/api-schemas/timeline-tool-contracts.js.map +1 -0
- package/dist/api-schemas/timeline-tool-params.d.ts +1237 -0
- package/dist/api-schemas/timeline-tool-params.d.ts.map +1 -0
- package/dist/api-schemas/timeline-tool-params.js +1518 -0
- package/dist/api-schemas/timeline-tool-params.js.map +1 -0
- package/dist/api-schemas/timeline.d.ts +12803 -0
- package/dist/api-schemas/timeline.d.ts.map +1 -0
- package/dist/api-schemas/timeline.js +1838 -0
- package/dist/api-schemas/timeline.js.map +1 -0
- package/dist/api-schemas/ui-tool-contract.d.ts +35 -0
- package/dist/api-schemas/ui-tool-contract.d.ts.map +1 -0
- package/dist/api-schemas/ui-tool-contract.js +31 -0
- package/dist/api-schemas/ui-tool-contract.js.map +1 -0
- package/dist/api-schemas/workflows.d.ts +852 -18
- package/dist/api-schemas/workflows.d.ts.map +1 -1
- package/dist/api-schemas/workflows.js +484 -6
- package/dist/api-schemas/workflows.js.map +1 -1
- package/dist/api-schemas/workspace.d.ts +45 -0
- package/dist/api-schemas/workspace.d.ts.map +1 -1
- package/dist/api-schemas/workspace.js +47 -1
- package/dist/api-schemas/workspace.js.map +1 -1
- package/dist/api-types.d.ts +621 -27
- package/dist/api-types.d.ts.map +1 -1
- package/dist/api-types.js +246 -1
- package/dist/api-types.js.map +1 -1
- package/dist/app-deployment.d.ts +37 -0
- package/dist/app-deployment.d.ts.map +1 -0
- package/dist/app-deployment.js +42 -0
- package/dist/app-deployment.js.map +1 -0
- package/dist/asset-generation.d.ts +58 -0
- package/dist/asset-generation.d.ts.map +1 -0
- package/dist/asset-generation.js +147 -0
- package/dist/asset-generation.js.map +1 -0
- package/dist/blend-modes.d.ts +20 -0
- package/dist/blend-modes.d.ts.map +1 -0
- package/dist/blend-modes.js +33 -0
- package/dist/blend-modes.js.map +1 -0
- package/dist/bridge-frames.d.ts +654 -0
- package/dist/bridge-frames.d.ts.map +1 -0
- package/dist/bridge-frames.js +448 -0
- package/dist/bridge-frames.js.map +1 -0
- package/dist/bridge-frames.schema.json +862 -0
- package/dist/bridge-protocol.d.ts +57 -20
- package/dist/bridge-protocol.d.ts.map +1 -1
- package/dist/bridge-protocol.js +57 -20
- package/dist/bridge-protocol.js.map +1 -1
- package/dist/builtin-packs.d.ts +45 -0
- package/dist/builtin-packs.d.ts.map +1 -0
- package/dist/builtin-packs.js +115 -0
- package/dist/builtin-packs.js.map +1 -0
- package/dist/caption-word.d.ts +15 -0
- package/dist/caption-word.d.ts.map +1 -0
- package/dist/caption-word.js +10 -0
- package/dist/caption-word.js.map +1 -0
- package/dist/cloud-profile.d.ts +187 -0
- package/dist/cloud-profile.d.ts.map +1 -0
- package/dist/cloud-profile.js +281 -0
- package/dist/cloud-profile.js.map +1 -0
- package/dist/creative.d.ts +486 -0
- package/dist/creative.d.ts.map +1 -0
- package/dist/creative.js +269 -0
- package/dist/creative.js.map +1 -0
- package/dist/custom-providers.d.ts +70 -0
- package/dist/custom-providers.d.ts.map +1 -0
- package/dist/custom-providers.js +125 -0
- package/dist/custom-providers.js.map +1 -0
- package/dist/document-ops.d.ts +15 -0
- package/dist/document-ops.d.ts.map +1 -0
- package/dist/document-ops.js +2 -0
- package/dist/document-ops.js.map +1 -0
- package/dist/game-assets.d.ts +344 -0
- package/dist/game-assets.d.ts.map +1 -0
- package/dist/game-assets.js +297 -0
- package/dist/game-assets.js.map +1 -0
- package/dist/game-design.d.ts +90 -0
- package/dist/game-design.d.ts.map +1 -0
- package/dist/game-design.js +417 -0
- package/dist/game-design.js.map +1 -0
- package/dist/game-flow-prompt.d.ts +68 -0
- package/dist/game-flow-prompt.d.ts.map +1 -0
- package/dist/game-flow-prompt.js +121 -0
- package/dist/game-flow-prompt.js.map +1 -0
- package/dist/game-graph.d.ts +96 -0
- package/dist/game-graph.d.ts.map +1 -0
- package/dist/game-graph.js +481 -0
- package/dist/game-graph.js.map +1 -0
- package/dist/game-migration.d.ts +4 -0
- package/dist/game-migration.d.ts.map +1 -0
- package/dist/game-migration.js +6 -0
- package/dist/game-migration.js.map +1 -0
- package/dist/game-slot-prompt.d.ts +90 -0
- package/dist/game-slot-prompt.d.ts.map +1 -0
- package/dist/game-slot-prompt.js +237 -0
- package/dist/game-slot-prompt.js.map +1 -0
- package/dist/game.d.ts +1663 -0
- package/dist/game.d.ts.map +1 -0
- package/dist/game.js +228 -0
- package/dist/game.js.map +1 -0
- package/dist/graph.d.ts +191 -5
- package/dist/graph.d.ts.map +1 -1
- package/dist/graph.js +497 -0
- package/dist/graph.js.map +1 -1
- package/dist/index.d.ts +47 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +46 -2
- package/dist/index.js.map +1 -1
- package/dist/loop.d.ts +38 -0
- package/dist/loop.d.ts.map +1 -0
- package/dist/loop.js +69 -0
- package/dist/loop.js.map +1 -0
- package/dist/mcp-server-config.d.ts +113 -0
- package/dist/mcp-server-config.d.ts.map +1 -0
- package/dist/mcp-server-config.js +147 -0
- package/dist/mcp-server-config.js.map +1 -0
- package/dist/messages.d.ts +1565 -243
- package/dist/messages.d.ts.map +1 -1
- package/dist/messages.js +709 -22
- package/dist/messages.js.map +1 -1
- package/dist/model-selection.d.ts +20 -0
- package/dist/model-selection.d.ts.map +1 -0
- package/dist/model-selection.js +27 -0
- package/dist/model-selection.js.map +1 -0
- package/dist/nodetool-models.d.ts +71 -0
- package/dist/nodetool-models.d.ts.map +1 -0
- package/dist/nodetool-models.js +138 -0
- package/dist/nodetool-models.js.map +1 -0
- package/dist/package-assets.d.ts +39 -0
- package/dist/package-assets.d.ts.map +1 -0
- package/dist/package-assets.js +63 -0
- package/dist/package-assets.js.map +1 -0
- package/dist/platform.d.ts +66 -0
- package/dist/platform.d.ts.map +1 -0
- package/dist/platform.js +68 -0
- package/dist/platform.js.map +1 -0
- package/dist/predicates.d.ts +43 -0
- package/dist/predicates.d.ts.map +1 -0
- package/dist/predicates.js +65 -0
- package/dist/predicates.js.map +1 -0
- package/dist/processing-messages.schema.json +2525 -0
- package/dist/production-authoring.d.ts +757 -0
- package/dist/production-authoring.d.ts.map +1 -0
- package/dist/production-authoring.js +736 -0
- package/dist/production-authoring.js.map +1 -0
- package/dist/render-record.d.ts +86 -0
- package/dist/render-record.d.ts.map +1 -0
- package/dist/render-record.js +133 -0
- package/dist/render-record.js.map +1 -0
- package/dist/resource-id.d.ts +22 -0
- package/dist/resource-id.d.ts.map +1 -0
- package/dist/resource-id.js +32 -0
- package/dist/resource-id.js.map +1 -0
- package/dist/resource-uri.d.ts +15 -0
- package/dist/resource-uri.d.ts.map +1 -0
- package/dist/resource-uri.js +88 -0
- package/dist/resource-uri.js.map +1 -0
- package/dist/sandbox-capability.d.ts +86 -0
- package/dist/sandbox-capability.d.ts.map +1 -0
- package/dist/sandbox-capability.js +106 -0
- package/dist/sandbox-capability.js.map +1 -0
- package/dist/sandbox-host.d.ts +98 -0
- package/dist/sandbox-host.d.ts.map +1 -0
- package/dist/sandbox-host.js +311 -0
- package/dist/sandbox-host.js.map +1 -0
- package/dist/sandbox-package.d.ts +674 -0
- package/dist/sandbox-package.d.ts.map +1 -0
- package/dist/sandbox-package.js +622 -0
- package/dist/sandbox-package.js.map +1 -0
- package/dist/sandbox-wasm.d.ts +84 -0
- package/dist/sandbox-wasm.d.ts.map +1 -0
- package/dist/sandbox-wasm.js +139 -0
- package/dist/sandbox-wasm.js.map +1 -0
- package/dist/screenplay-authoring.d.ts +69 -0
- package/dist/screenplay-authoring.d.ts.map +1 -0
- package/dist/screenplay-authoring.js +351 -0
- package/dist/screenplay-authoring.js.map +1 -0
- package/dist/script-authoring.d.ts +161 -0
- package/dist/script-authoring.d.ts.map +1 -0
- package/dist/script-authoring.js +503 -0
- package/dist/script-authoring.js.map +1 -0
- package/dist/script-fill.d.ts +39 -0
- package/dist/script-fill.d.ts.map +1 -0
- package/dist/script-fill.js +67 -0
- package/dist/script-fill.js.map +1 -0
- package/dist/script-link.d.ts +110 -0
- package/dist/script-link.d.ts.map +1 -0
- package/dist/script-link.js +252 -0
- package/dist/script-link.js.map +1 -0
- package/dist/sha256.d.ts +11 -0
- package/dist/sha256.d.ts.map +1 -0
- package/dist/sha256.js +110 -0
- package/dist/sha256.js.map +1 -0
- package/dist/shot-prompt.d.ts +78 -0
- package/dist/shot-prompt.d.ts.map +1 -0
- package/dist/shot-prompt.js +120 -0
- package/dist/shot-prompt.js.map +1 -0
- package/dist/skill-document.d.ts +36 -0
- package/dist/skill-document.d.ts.map +1 -0
- package/dist/skill-document.js +137 -0
- package/dist/skill-document.js.map +1 -0
- package/dist/style-presets.d.ts +73 -0
- package/dist/style-presets.d.ts.map +1 -0
- package/dist/style-presets.js +147 -0
- package/dist/style-presets.js.map +1 -0
- package/dist/supervisor.d.ts +227 -0
- package/dist/supervisor.d.ts.map +1 -0
- package/dist/supervisor.js +116 -0
- package/dist/supervisor.js.map +1 -0
- package/dist/token-providers.d.ts +31 -0
- package/dist/token-providers.d.ts.map +1 -0
- package/dist/token-providers.js +52 -0
- package/dist/token-providers.js.map +1 -0
- package/dist/toolSchemas.d.ts +10 -14
- package/dist/toolSchemas.d.ts.map +1 -1
- package/dist/toolSchemas.js +13 -23
- package/dist/toolSchemas.js.map +1 -1
- package/dist/triggers.d.ts +41 -0
- package/dist/triggers.d.ts.map +1 -0
- package/dist/triggers.js +50 -0
- package/dist/triggers.js.map +1 -0
- package/dist/trpc-policy.d.ts +3 -0
- package/dist/trpc-policy.d.ts.map +1 -0
- package/dist/trpc-policy.js +3 -0
- package/dist/trpc-policy.js.map +1 -0
- package/dist/type-metadata.d.ts +5 -0
- package/dist/type-metadata.d.ts.map +1 -1
- package/dist/type-metadata.js +17 -8
- package/dist/type-metadata.js.map +1 -1
- package/dist/typecheck.d.ts.map +1 -1
- package/dist/typecheck.js +5 -4
- package/dist/typecheck.js.map +1 -1
- package/dist/wasm-binary.d.ts +61 -0
- package/dist/wasm-binary.d.ts.map +1 -0
- package/dist/wasm-binary.js +215 -0
- package/dist/wasm-binary.js.map +1 -0
- package/dist/workflow-plan.d.ts +197 -0
- package/dist/workflow-plan.d.ts.map +1 -0
- package/dist/workflow-plan.js +438 -0
- package/dist/workflow-plan.js.map +1 -0
- package/dist/wrap-primitives.d.ts +0 -11
- package/dist/wrap-primitives.d.ts.map +1 -1
- package/dist/wrap-primitives.js +3 -9
- package/dist/wrap-primitives.js.map +1 -1
- package/dist/ws-commands.d.ts +665 -0
- package/dist/ws-commands.d.ts.map +1 -0
- package/dist/ws-commands.js +610 -0
- package/dist/ws-commands.js.map +1 -0
- package/dist/zod-schema.d.ts +20 -0
- package/dist/zod-schema.d.ts.map +1 -0
- package/dist/zod-schema.js +298 -0
- package/dist/zod-schema.js.map +1 -0
- package/package.json +84 -7
- package/schema/sdk-v1.asyncapi.implemented.json +65 -0
- package/schema/sdk-v1.asyncapi.json +65 -0
- package/schema/sdk-v1.discovery.schema.json +1218 -0
- package/schema/sdk-v1.execution.schema.json +2792 -0
- package/schema/sdk-v1.lifecycle.schema.json +1031 -0
- package/schema/sdk-v1.manifest.json +71 -0
- package/schema/sdk-v1.openapi.implemented.json +730 -0
- package/schema/sdk-v1.openapi.json +730 -0
- package/schema/sdk-v1.operations.json +732 -0
- package/dist/agent-protocol.d.ts +0 -217
- package/dist/agent-protocol.d.ts.map +0 -1
- package/dist/agent-protocol.js +0 -85
- package/dist/agent-protocol.js.map +0 -1
|
@@ -0,0 +1,674 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
declare const RESERVED_IDENTIFIERS: Set<string>;
|
|
3
|
+
/** Longest pack-authored description any always-on prompt tier may carry. */
|
|
4
|
+
export declare const MAX_SANDBOX_DESCRIPTION = 160;
|
|
5
|
+
/**
|
|
6
|
+
* Flatten pack-authored text to one short line.
|
|
7
|
+
*
|
|
8
|
+
* Whatever a pack writes here reaches every prompt of a session that allows the
|
|
9
|
+
* pack, so the limits are the defense: control characters and line breaks go,
|
|
10
|
+
* whitespace collapses, and the result is cut at
|
|
11
|
+
* {@link MAX_SANDBOX_DESCRIPTION}. Nothing about the wording is judged — a
|
|
12
|
+
* sentence that reads like an instruction is still just one capped line.
|
|
13
|
+
*/
|
|
14
|
+
export declare function sanitizeSandboxDescription(text: string): string;
|
|
15
|
+
/** A public sandbox module's kind. */
|
|
16
|
+
export declare const SandboxModuleKind: {
|
|
17
|
+
readonly JS: "js";
|
|
18
|
+
readonly WASM: "wasm";
|
|
19
|
+
/** A NodeTool-implemented host function set, reached through a generated facade. */
|
|
20
|
+
readonly HOST: "host";
|
|
21
|
+
};
|
|
22
|
+
export type SandboxModuleKind = (typeof SandboxModuleKind)[keyof typeof SandboxModuleKind];
|
|
23
|
+
/** The host-owned portion of a NodeTool pack manifest. */
|
|
24
|
+
export declare const NodePackHostManifestSchema: z.ZodObject<{
|
|
25
|
+
apiVersion: z.ZodOptional<z.ZodNumber>;
|
|
26
|
+
register: z.ZodOptional<z.ZodString>;
|
|
27
|
+
sandboxModules: z.ZodOptional<z.ZodUnknown>;
|
|
28
|
+
}, z.core.$loose>;
|
|
29
|
+
export type NodePackHostManifest = z.infer<typeof NodePackHostManifestSchema>;
|
|
30
|
+
/**
|
|
31
|
+
* Budgets a manifest may lower.
|
|
32
|
+
*
|
|
33
|
+
* Every bound's default is also its ceiling ({@link SANDBOX_WASM_BUDGETS}), so
|
|
34
|
+
* a `.max()` here is the whole "may lower, never raise" rule — a manifest that
|
|
35
|
+
* asks for more is rejected rather than clamped, because a pack that thinks it
|
|
36
|
+
* has 60 s is a pack that will be surprised at 30.
|
|
37
|
+
*/
|
|
38
|
+
export declare const SandboxWasmLimitsSchema: z.ZodObject<{
|
|
39
|
+
callTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
40
|
+
callConcurrency: z.ZodOptional<z.ZodNumber>;
|
|
41
|
+
callsPerInvocation: z.ZodOptional<z.ZodNumber>;
|
|
42
|
+
wallClockMs: z.ZodOptional<z.ZodNumber>;
|
|
43
|
+
}, z.core.$strict>;
|
|
44
|
+
export type SandboxWasmLimits = z.infer<typeof SandboxWasmLimitsSchema>;
|
|
45
|
+
/** The normalized call contract a resolved WASM module carries to the host. */
|
|
46
|
+
export declare const SandboxWasmContractSchema: z.ZodObject<{
|
|
47
|
+
memoryPagesMax: z.ZodNumber;
|
|
48
|
+
exports: z.ZodArray<z.ZodObject<{
|
|
49
|
+
wasm: z.ZodString;
|
|
50
|
+
as: z.ZodString;
|
|
51
|
+
}, z.core.$strict>>;
|
|
52
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
53
|
+
callTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
54
|
+
callConcurrency: z.ZodOptional<z.ZodNumber>;
|
|
55
|
+
callsPerInvocation: z.ZodOptional<z.ZodNumber>;
|
|
56
|
+
wallClockMs: z.ZodOptional<z.ZodNumber>;
|
|
57
|
+
}, z.core.$strict>>;
|
|
58
|
+
}, z.core.$strict>;
|
|
59
|
+
export type SandboxWasmContract = z.infer<typeof SandboxWasmContractSchema>;
|
|
60
|
+
/** A module declared by a pack. npm modules are compiled in the M3 compiler. */
|
|
61
|
+
export declare const SandboxModuleManifestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
62
|
+
name: z.ZodString;
|
|
63
|
+
kind: z.ZodLiteral<"js">;
|
|
64
|
+
file: z.ZodOptional<z.ZodString>;
|
|
65
|
+
npm: z.ZodOptional<z.ZodString>;
|
|
66
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
67
|
+
name: z.ZodString;
|
|
68
|
+
kind: z.ZodLiteral<"wasm">;
|
|
69
|
+
file: z.ZodString;
|
|
70
|
+
memoryPagesMax: z.ZodNumber;
|
|
71
|
+
exports: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
72
|
+
wasm: z.ZodString;
|
|
73
|
+
as: z.ZodString;
|
|
74
|
+
}, z.core.$strict>]>>;
|
|
75
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
76
|
+
callTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
77
|
+
callConcurrency: z.ZodOptional<z.ZodNumber>;
|
|
78
|
+
callsPerInvocation: z.ZodOptional<z.ZodNumber>;
|
|
79
|
+
wallClockMs: z.ZodOptional<z.ZodNumber>;
|
|
80
|
+
}, z.core.$strict>>;
|
|
81
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
82
|
+
name: z.ZodString;
|
|
83
|
+
kind: z.ZodLiteral<"host">;
|
|
84
|
+
host: z.ZodString;
|
|
85
|
+
}, z.core.$strict>], "kind">;
|
|
86
|
+
export type SandboxModuleManifest = z.infer<typeof SandboxModuleManifestSchema>;
|
|
87
|
+
/** The sandbox-specific portion of a pack's nodetool manifest. */
|
|
88
|
+
export declare const SandboxPackManifestSchema: z.ZodObject<{
|
|
89
|
+
apiVersion: z.ZodDefault<z.ZodLiteral<1>>;
|
|
90
|
+
sandboxModules: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
91
|
+
name: z.ZodString;
|
|
92
|
+
kind: z.ZodLiteral<"js">;
|
|
93
|
+
file: z.ZodOptional<z.ZodString>;
|
|
94
|
+
npm: z.ZodOptional<z.ZodString>;
|
|
95
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
96
|
+
name: z.ZodString;
|
|
97
|
+
kind: z.ZodLiteral<"wasm">;
|
|
98
|
+
file: z.ZodString;
|
|
99
|
+
memoryPagesMax: z.ZodNumber;
|
|
100
|
+
exports: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
101
|
+
wasm: z.ZodString;
|
|
102
|
+
as: z.ZodString;
|
|
103
|
+
}, z.core.$strict>]>>;
|
|
104
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
105
|
+
callTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
106
|
+
callConcurrency: z.ZodOptional<z.ZodNumber>;
|
|
107
|
+
callsPerInvocation: z.ZodOptional<z.ZodNumber>;
|
|
108
|
+
wallClockMs: z.ZodOptional<z.ZodNumber>;
|
|
109
|
+
}, z.core.$strict>>;
|
|
110
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
111
|
+
name: z.ZodString;
|
|
112
|
+
kind: z.ZodLiteral<"host">;
|
|
113
|
+
host: z.ZodString;
|
|
114
|
+
}, z.core.$strict>], "kind">>>;
|
|
115
|
+
internal: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
116
|
+
}, z.core.$strict>;
|
|
117
|
+
export type SandboxPackManifest = z.infer<typeof SandboxPackManifestSchema>;
|
|
118
|
+
export declare const SandboxModuleDeclarationSchema: z.ZodObject<{
|
|
119
|
+
specifier: z.ZodString;
|
|
120
|
+
resolvedPackVersion: z.ZodOptional<z.ZodString>;
|
|
121
|
+
contentDigest: z.ZodOptional<z.ZodString>;
|
|
122
|
+
}, z.core.$strict>;
|
|
123
|
+
export type SandboxModuleDeclaration = z.infer<typeof SandboxModuleDeclarationSchema>;
|
|
124
|
+
/** A catalog entry that can be listed without exposing module source. */
|
|
125
|
+
export declare const SandboxModuleSummarySchema: z.ZodObject<{
|
|
126
|
+
specifier: z.ZodString;
|
|
127
|
+
packName: z.ZodString;
|
|
128
|
+
packVersion: z.ZodOptional<z.ZodString>;
|
|
129
|
+
kind: z.ZodEnum<{
|
|
130
|
+
host: "host";
|
|
131
|
+
js: "js";
|
|
132
|
+
wasm: "wasm";
|
|
133
|
+
}>;
|
|
134
|
+
description: z.ZodOptional<z.ZodString>;
|
|
135
|
+
contentDigest: z.ZodOptional<z.ZodString>;
|
|
136
|
+
}, z.core.$strict>;
|
|
137
|
+
export type SandboxModuleSummary = z.infer<typeof SandboxModuleSummarySchema>;
|
|
138
|
+
/** A pack's parsed SKILL.md, kept out of every always-on prompt tier. */
|
|
139
|
+
export interface SandboxPackSkill {
|
|
140
|
+
readonly name: string;
|
|
141
|
+
readonly description: string;
|
|
142
|
+
/** The full instruction body — third-party prompt content, never ambient. */
|
|
143
|
+
readonly body: string;
|
|
144
|
+
/** `##` sections of the body, keyed by lowercased heading text. */
|
|
145
|
+
readonly sections: Readonly<Record<string, string>>;
|
|
146
|
+
}
|
|
147
|
+
/** A pack's documentation with the trust decision that governs how it is used. */
|
|
148
|
+
export interface SandboxPackSkillDisclosure extends SandboxPackSkill {
|
|
149
|
+
readonly packName: string;
|
|
150
|
+
readonly packVersion?: string;
|
|
151
|
+
/** True only when the operator put this pack on the pack-loader allowlist. */
|
|
152
|
+
readonly trusted: boolean;
|
|
153
|
+
}
|
|
154
|
+
/** A diagnostic emitted while discovering or resolving a sandbox module. */
|
|
155
|
+
export declare const SandboxModuleStatusSchema: z.ZodObject<{
|
|
156
|
+
packName: z.ZodString;
|
|
157
|
+
specifier: z.ZodOptional<z.ZodString>;
|
|
158
|
+
status: z.ZodEnum<{
|
|
159
|
+
error: "error";
|
|
160
|
+
ready: "ready";
|
|
161
|
+
skipped: "skipped";
|
|
162
|
+
warning: "warning";
|
|
163
|
+
}>;
|
|
164
|
+
code: z.ZodString;
|
|
165
|
+
message: z.ZodString;
|
|
166
|
+
}, z.core.$strict>;
|
|
167
|
+
export type SandboxModuleStatus = z.infer<typeof SandboxModuleStatusSchema>;
|
|
168
|
+
/** A source file from a resolved module graph, with no host filesystem path. */
|
|
169
|
+
export declare const SandboxModuleGraphFileSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
170
|
+
id: z.ZodString;
|
|
171
|
+
kind: z.ZodLiteral<"js">;
|
|
172
|
+
source: z.ZodString;
|
|
173
|
+
dependencies: z.ZodArray<z.ZodString>;
|
|
174
|
+
internal: z.ZodBoolean;
|
|
175
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
176
|
+
id: z.ZodString;
|
|
177
|
+
kind: z.ZodLiteral<"wasm">;
|
|
178
|
+
bytes: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
179
|
+
dependencies: z.ZodArray<z.ZodString>;
|
|
180
|
+
internal: z.ZodBoolean;
|
|
181
|
+
}, z.core.$strict>], "kind">;
|
|
182
|
+
export type SandboxModuleGraphFile = z.infer<typeof SandboxModuleGraphFileSchema>;
|
|
183
|
+
/** A sandbox module resolved for one execution, including its validated source graph. */
|
|
184
|
+
export declare const ResolvedSandboxModuleSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
185
|
+
specifier: z.ZodString;
|
|
186
|
+
packName: z.ZodString;
|
|
187
|
+
packVersion: z.ZodOptional<z.ZodString>;
|
|
188
|
+
contentDigest: z.ZodString;
|
|
189
|
+
moduleId: z.ZodString;
|
|
190
|
+
kind: z.ZodLiteral<"js">;
|
|
191
|
+
source: z.ZodString;
|
|
192
|
+
graph: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
193
|
+
id: z.ZodString;
|
|
194
|
+
kind: z.ZodLiteral<"js">;
|
|
195
|
+
source: z.ZodString;
|
|
196
|
+
dependencies: z.ZodArray<z.ZodString>;
|
|
197
|
+
internal: z.ZodBoolean;
|
|
198
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
199
|
+
id: z.ZodString;
|
|
200
|
+
kind: z.ZodLiteral<"wasm">;
|
|
201
|
+
bytes: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
202
|
+
dependencies: z.ZodArray<z.ZodString>;
|
|
203
|
+
internal: z.ZodBoolean;
|
|
204
|
+
}, z.core.$strict>], "kind">>;
|
|
205
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
206
|
+
specifier: z.ZodString;
|
|
207
|
+
packName: z.ZodString;
|
|
208
|
+
packVersion: z.ZodOptional<z.ZodString>;
|
|
209
|
+
contentDigest: z.ZodString;
|
|
210
|
+
moduleId: z.ZodString;
|
|
211
|
+
kind: z.ZodLiteral<"wasm">;
|
|
212
|
+
bytes: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
213
|
+
wasm: z.ZodObject<{
|
|
214
|
+
memoryPagesMax: z.ZodNumber;
|
|
215
|
+
exports: z.ZodArray<z.ZodObject<{
|
|
216
|
+
wasm: z.ZodString;
|
|
217
|
+
as: z.ZodString;
|
|
218
|
+
}, z.core.$strict>>;
|
|
219
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
220
|
+
callTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
221
|
+
callConcurrency: z.ZodOptional<z.ZodNumber>;
|
|
222
|
+
callsPerInvocation: z.ZodOptional<z.ZodNumber>;
|
|
223
|
+
wallClockMs: z.ZodOptional<z.ZodNumber>;
|
|
224
|
+
}, z.core.$strict>>;
|
|
225
|
+
}, z.core.$strict>;
|
|
226
|
+
graph: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
227
|
+
id: z.ZodString;
|
|
228
|
+
kind: z.ZodLiteral<"js">;
|
|
229
|
+
source: z.ZodString;
|
|
230
|
+
dependencies: z.ZodArray<z.ZodString>;
|
|
231
|
+
internal: z.ZodBoolean;
|
|
232
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
233
|
+
id: z.ZodString;
|
|
234
|
+
kind: z.ZodLiteral<"wasm">;
|
|
235
|
+
bytes: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
236
|
+
dependencies: z.ZodArray<z.ZodString>;
|
|
237
|
+
internal: z.ZodBoolean;
|
|
238
|
+
}, z.core.$strict>], "kind">>;
|
|
239
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
240
|
+
specifier: z.ZodString;
|
|
241
|
+
packName: z.ZodString;
|
|
242
|
+
packVersion: z.ZodOptional<z.ZodString>;
|
|
243
|
+
contentDigest: z.ZodString;
|
|
244
|
+
moduleId: z.ZodString;
|
|
245
|
+
kind: z.ZodLiteral<"host">;
|
|
246
|
+
hostId: z.ZodString;
|
|
247
|
+
graph: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
248
|
+
id: z.ZodString;
|
|
249
|
+
kind: z.ZodLiteral<"js">;
|
|
250
|
+
source: z.ZodString;
|
|
251
|
+
dependencies: z.ZodArray<z.ZodString>;
|
|
252
|
+
internal: z.ZodBoolean;
|
|
253
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
254
|
+
id: z.ZodString;
|
|
255
|
+
kind: z.ZodLiteral<"wasm">;
|
|
256
|
+
bytes: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
257
|
+
dependencies: z.ZodArray<z.ZodString>;
|
|
258
|
+
internal: z.ZodBoolean;
|
|
259
|
+
}, z.core.$strict>], "kind">>;
|
|
260
|
+
}, z.core.$strict>], "kind">;
|
|
261
|
+
export type ResolvedSandboxModule = z.infer<typeof ResolvedSandboxModuleSchema>;
|
|
262
|
+
/** The catalog result for a workflow's requested sandbox modules. */
|
|
263
|
+
export declare const SandboxModuleResolutionSchema: z.ZodObject<{
|
|
264
|
+
modules: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
265
|
+
specifier: z.ZodString;
|
|
266
|
+
packName: z.ZodString;
|
|
267
|
+
packVersion: z.ZodOptional<z.ZodString>;
|
|
268
|
+
contentDigest: z.ZodString;
|
|
269
|
+
moduleId: z.ZodString;
|
|
270
|
+
kind: z.ZodLiteral<"js">;
|
|
271
|
+
source: z.ZodString;
|
|
272
|
+
graph: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
273
|
+
id: z.ZodString;
|
|
274
|
+
kind: z.ZodLiteral<"js">;
|
|
275
|
+
source: z.ZodString;
|
|
276
|
+
dependencies: z.ZodArray<z.ZodString>;
|
|
277
|
+
internal: z.ZodBoolean;
|
|
278
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
279
|
+
id: z.ZodString;
|
|
280
|
+
kind: z.ZodLiteral<"wasm">;
|
|
281
|
+
bytes: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
282
|
+
dependencies: z.ZodArray<z.ZodString>;
|
|
283
|
+
internal: z.ZodBoolean;
|
|
284
|
+
}, z.core.$strict>], "kind">>;
|
|
285
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
286
|
+
specifier: z.ZodString;
|
|
287
|
+
packName: z.ZodString;
|
|
288
|
+
packVersion: z.ZodOptional<z.ZodString>;
|
|
289
|
+
contentDigest: z.ZodString;
|
|
290
|
+
moduleId: z.ZodString;
|
|
291
|
+
kind: z.ZodLiteral<"wasm">;
|
|
292
|
+
bytes: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
293
|
+
wasm: z.ZodObject<{
|
|
294
|
+
memoryPagesMax: z.ZodNumber;
|
|
295
|
+
exports: z.ZodArray<z.ZodObject<{
|
|
296
|
+
wasm: z.ZodString;
|
|
297
|
+
as: z.ZodString;
|
|
298
|
+
}, z.core.$strict>>;
|
|
299
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
300
|
+
callTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
301
|
+
callConcurrency: z.ZodOptional<z.ZodNumber>;
|
|
302
|
+
callsPerInvocation: z.ZodOptional<z.ZodNumber>;
|
|
303
|
+
wallClockMs: z.ZodOptional<z.ZodNumber>;
|
|
304
|
+
}, z.core.$strict>>;
|
|
305
|
+
}, z.core.$strict>;
|
|
306
|
+
graph: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
307
|
+
id: z.ZodString;
|
|
308
|
+
kind: z.ZodLiteral<"js">;
|
|
309
|
+
source: z.ZodString;
|
|
310
|
+
dependencies: z.ZodArray<z.ZodString>;
|
|
311
|
+
internal: z.ZodBoolean;
|
|
312
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
313
|
+
id: z.ZodString;
|
|
314
|
+
kind: z.ZodLiteral<"wasm">;
|
|
315
|
+
bytes: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
316
|
+
dependencies: z.ZodArray<z.ZodString>;
|
|
317
|
+
internal: z.ZodBoolean;
|
|
318
|
+
}, z.core.$strict>], "kind">>;
|
|
319
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
320
|
+
specifier: z.ZodString;
|
|
321
|
+
packName: z.ZodString;
|
|
322
|
+
packVersion: z.ZodOptional<z.ZodString>;
|
|
323
|
+
contentDigest: z.ZodString;
|
|
324
|
+
moduleId: z.ZodString;
|
|
325
|
+
kind: z.ZodLiteral<"host">;
|
|
326
|
+
hostId: z.ZodString;
|
|
327
|
+
graph: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
328
|
+
id: z.ZodString;
|
|
329
|
+
kind: z.ZodLiteral<"js">;
|
|
330
|
+
source: z.ZodString;
|
|
331
|
+
dependencies: z.ZodArray<z.ZodString>;
|
|
332
|
+
internal: z.ZodBoolean;
|
|
333
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
334
|
+
id: z.ZodString;
|
|
335
|
+
kind: z.ZodLiteral<"wasm">;
|
|
336
|
+
bytes: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
337
|
+
dependencies: z.ZodArray<z.ZodString>;
|
|
338
|
+
internal: z.ZodBoolean;
|
|
339
|
+
}, z.core.$strict>], "kind">>;
|
|
340
|
+
}, z.core.$strict>], "kind">>;
|
|
341
|
+
statuses: z.ZodArray<z.ZodObject<{
|
|
342
|
+
packName: z.ZodString;
|
|
343
|
+
specifier: z.ZodOptional<z.ZodString>;
|
|
344
|
+
status: z.ZodEnum<{
|
|
345
|
+
error: "error";
|
|
346
|
+
ready: "ready";
|
|
347
|
+
skipped: "skipped";
|
|
348
|
+
warning: "warning";
|
|
349
|
+
}>;
|
|
350
|
+
code: z.ZodString;
|
|
351
|
+
message: z.ZodString;
|
|
352
|
+
}, z.core.$strict>>;
|
|
353
|
+
}, z.core.$strict>;
|
|
354
|
+
export type SandboxModuleResolution = z.infer<typeof SandboxModuleResolutionSchema>;
|
|
355
|
+
/** Media type a delivered sandbox module is served with. */
|
|
356
|
+
export declare const SandboxDeliveryMediaType: {
|
|
357
|
+
readonly JS: "text/javascript";
|
|
358
|
+
readonly WASM: "application/wasm";
|
|
359
|
+
};
|
|
360
|
+
export type SandboxDeliveryMediaType = (typeof SandboxDeliveryMediaType)[keyof typeof SandboxDeliveryMediaType];
|
|
361
|
+
/**
|
|
362
|
+
* Separator between a pack name and an internal graph-file id in an opaque
|
|
363
|
+
* delivery module id.
|
|
364
|
+
*
|
|
365
|
+
* A public entry module is addressed by its specifier (`@acme/geo`). Every
|
|
366
|
+
* other file of the graph — internal helpers and files a second entry imports —
|
|
367
|
+
* is addressed as `<packName>::<fileId>`. Neither a package name nor a
|
|
368
|
+
* package-relative file id may contain `::`, so the two forms cannot collide.
|
|
369
|
+
*/
|
|
370
|
+
export declare const SANDBOX_GRAPH_FILE_SEPARATOR = "::";
|
|
371
|
+
/** Compose the opaque delivery id of one file inside a pack's module graph. */
|
|
372
|
+
export declare function sandboxGraphFileModuleId(packName: string, fileId: string): string;
|
|
373
|
+
/** Split an opaque graph-file id, or undefined when the id is an entry specifier. */
|
|
374
|
+
export declare function parseSandboxGraphFileModuleId(moduleId: string): {
|
|
375
|
+
packName: string;
|
|
376
|
+
fileId: string;
|
|
377
|
+
} | undefined;
|
|
378
|
+
/** Browser-safe content for one sandbox module, carrying no filesystem path. */
|
|
379
|
+
export declare const AuthorizedSandboxModuleDeliverySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
380
|
+
authorized: z.ZodLiteral<true>;
|
|
381
|
+
moduleId: z.ZodString;
|
|
382
|
+
fileId: z.ZodString;
|
|
383
|
+
internal: z.ZodBoolean;
|
|
384
|
+
packName: z.ZodString;
|
|
385
|
+
packVersion: z.ZodOptional<z.ZodString>;
|
|
386
|
+
contentDigest: z.ZodString;
|
|
387
|
+
contentSha256: z.ZodString;
|
|
388
|
+
dependencies: z.ZodArray<z.ZodString>;
|
|
389
|
+
kind: z.ZodLiteral<"js">;
|
|
390
|
+
mediaType: z.ZodLiteral<"text/javascript">;
|
|
391
|
+
source: z.ZodString;
|
|
392
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
393
|
+
authorized: z.ZodLiteral<true>;
|
|
394
|
+
moduleId: z.ZodString;
|
|
395
|
+
fileId: z.ZodString;
|
|
396
|
+
internal: z.ZodBoolean;
|
|
397
|
+
packName: z.ZodString;
|
|
398
|
+
packVersion: z.ZodOptional<z.ZodString>;
|
|
399
|
+
contentDigest: z.ZodString;
|
|
400
|
+
contentSha256: z.ZodString;
|
|
401
|
+
dependencies: z.ZodArray<z.ZodString>;
|
|
402
|
+
kind: z.ZodLiteral<"wasm">;
|
|
403
|
+
mediaType: z.ZodLiteral<"application/wasm">;
|
|
404
|
+
bytes: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
405
|
+
wasm: z.ZodOptional<z.ZodObject<{
|
|
406
|
+
memoryPagesMax: z.ZodNumber;
|
|
407
|
+
exports: z.ZodArray<z.ZodObject<{
|
|
408
|
+
wasm: z.ZodString;
|
|
409
|
+
as: z.ZodString;
|
|
410
|
+
}, z.core.$strict>>;
|
|
411
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
412
|
+
callTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
413
|
+
callConcurrency: z.ZodOptional<z.ZodNumber>;
|
|
414
|
+
callsPerInvocation: z.ZodOptional<z.ZodNumber>;
|
|
415
|
+
wallClockMs: z.ZodOptional<z.ZodNumber>;
|
|
416
|
+
}, z.core.$strict>>;
|
|
417
|
+
}, z.core.$strict>>;
|
|
418
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
419
|
+
authorized: z.ZodLiteral<true>;
|
|
420
|
+
moduleId: z.ZodString;
|
|
421
|
+
fileId: z.ZodString;
|
|
422
|
+
internal: z.ZodBoolean;
|
|
423
|
+
packName: z.ZodString;
|
|
424
|
+
packVersion: z.ZodOptional<z.ZodString>;
|
|
425
|
+
contentDigest: z.ZodString;
|
|
426
|
+
contentSha256: z.ZodString;
|
|
427
|
+
dependencies: z.ZodArray<z.ZodString>;
|
|
428
|
+
kind: z.ZodLiteral<"host">;
|
|
429
|
+
mediaType: z.ZodLiteral<"text/javascript">;
|
|
430
|
+
hostId: z.ZodString;
|
|
431
|
+
source: z.ZodString;
|
|
432
|
+
}, z.core.$strict>], "kind">;
|
|
433
|
+
export type AuthorizedSandboxModuleDelivery = z.infer<typeof AuthorizedSandboxModuleDeliverySchema>;
|
|
434
|
+
/** Why the catalog would not hand out a module's content. */
|
|
435
|
+
export declare const SandboxDeliveryRefusalReasonSchema: z.ZodEnum<{
|
|
436
|
+
forbidden: "forbidden";
|
|
437
|
+
"not-found": "not-found";
|
|
438
|
+
unavailable: "unavailable";
|
|
439
|
+
}>;
|
|
440
|
+
export type SandboxDeliveryRefusalReason = z.infer<typeof SandboxDeliveryRefusalReasonSchema>;
|
|
441
|
+
/** The catalog's refusal to deliver, carrying no content and no path. */
|
|
442
|
+
export declare const SandboxDeliveryRefusalSchema: z.ZodObject<{
|
|
443
|
+
authorized: z.ZodLiteral<false>;
|
|
444
|
+
reason: z.ZodEnum<{
|
|
445
|
+
forbidden: "forbidden";
|
|
446
|
+
"not-found": "not-found";
|
|
447
|
+
unavailable: "unavailable";
|
|
448
|
+
}>;
|
|
449
|
+
message: z.ZodString;
|
|
450
|
+
}, z.core.$strict>;
|
|
451
|
+
export type SandboxDeliveryRefusal = z.infer<typeof SandboxDeliveryRefusalSchema>;
|
|
452
|
+
/** One answer to a delivery request: authorized content or a refusal. */
|
|
453
|
+
export declare const SandboxModuleDeliveryResultSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
454
|
+
authorized: z.ZodLiteral<true>;
|
|
455
|
+
moduleId: z.ZodString;
|
|
456
|
+
fileId: z.ZodString;
|
|
457
|
+
internal: z.ZodBoolean;
|
|
458
|
+
packName: z.ZodString;
|
|
459
|
+
packVersion: z.ZodOptional<z.ZodString>;
|
|
460
|
+
contentDigest: z.ZodString;
|
|
461
|
+
contentSha256: z.ZodString;
|
|
462
|
+
dependencies: z.ZodArray<z.ZodString>;
|
|
463
|
+
kind: z.ZodLiteral<"js">;
|
|
464
|
+
mediaType: z.ZodLiteral<"text/javascript">;
|
|
465
|
+
source: z.ZodString;
|
|
466
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
467
|
+
authorized: z.ZodLiteral<true>;
|
|
468
|
+
moduleId: z.ZodString;
|
|
469
|
+
fileId: z.ZodString;
|
|
470
|
+
internal: z.ZodBoolean;
|
|
471
|
+
packName: z.ZodString;
|
|
472
|
+
packVersion: z.ZodOptional<z.ZodString>;
|
|
473
|
+
contentDigest: z.ZodString;
|
|
474
|
+
contentSha256: z.ZodString;
|
|
475
|
+
dependencies: z.ZodArray<z.ZodString>;
|
|
476
|
+
kind: z.ZodLiteral<"wasm">;
|
|
477
|
+
mediaType: z.ZodLiteral<"application/wasm">;
|
|
478
|
+
bytes: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
479
|
+
wasm: z.ZodOptional<z.ZodObject<{
|
|
480
|
+
memoryPagesMax: z.ZodNumber;
|
|
481
|
+
exports: z.ZodArray<z.ZodObject<{
|
|
482
|
+
wasm: z.ZodString;
|
|
483
|
+
as: z.ZodString;
|
|
484
|
+
}, z.core.$strict>>;
|
|
485
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
486
|
+
callTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
487
|
+
callConcurrency: z.ZodOptional<z.ZodNumber>;
|
|
488
|
+
callsPerInvocation: z.ZodOptional<z.ZodNumber>;
|
|
489
|
+
wallClockMs: z.ZodOptional<z.ZodNumber>;
|
|
490
|
+
}, z.core.$strict>>;
|
|
491
|
+
}, z.core.$strict>>;
|
|
492
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
493
|
+
authorized: z.ZodLiteral<true>;
|
|
494
|
+
moduleId: z.ZodString;
|
|
495
|
+
fileId: z.ZodString;
|
|
496
|
+
internal: z.ZodBoolean;
|
|
497
|
+
packName: z.ZodString;
|
|
498
|
+
packVersion: z.ZodOptional<z.ZodString>;
|
|
499
|
+
contentDigest: z.ZodString;
|
|
500
|
+
contentSha256: z.ZodString;
|
|
501
|
+
dependencies: z.ZodArray<z.ZodString>;
|
|
502
|
+
kind: z.ZodLiteral<"host">;
|
|
503
|
+
mediaType: z.ZodLiteral<"text/javascript">;
|
|
504
|
+
hostId: z.ZodString;
|
|
505
|
+
source: z.ZodString;
|
|
506
|
+
}, z.core.$strict>], "kind">, z.ZodObject<{
|
|
507
|
+
authorized: z.ZodLiteral<false>;
|
|
508
|
+
reason: z.ZodEnum<{
|
|
509
|
+
forbidden: "forbidden";
|
|
510
|
+
"not-found": "not-found";
|
|
511
|
+
unavailable: "unavailable";
|
|
512
|
+
}>;
|
|
513
|
+
message: z.ZodString;
|
|
514
|
+
}, z.core.$strict>]>;
|
|
515
|
+
export type SandboxModuleDeliveryResult = z.infer<typeof SandboxModuleDeliveryResultSchema>;
|
|
516
|
+
/** Build a refusal without repeating the shape at every call site. */
|
|
517
|
+
export declare function sandboxDeliveryRefusal(reason: SandboxDeliveryRefusalReason, message: string): SandboxDeliveryRefusal;
|
|
518
|
+
/** Install modes returned by Electron before package lifecycle scripts run. */
|
|
519
|
+
export declare const NodePackInstallModeSchema: z.ZodEnum<{
|
|
520
|
+
hybrid: "hybrid";
|
|
521
|
+
register: "register";
|
|
522
|
+
"sandbox-only": "sandbox-only";
|
|
523
|
+
unknown: "unknown";
|
|
524
|
+
}>;
|
|
525
|
+
export type NodePackInstallMode = z.infer<typeof NodePackInstallModeSchema>;
|
|
526
|
+
/** Immutable identity for the artifact npm wrote into the install root. */
|
|
527
|
+
export declare const NodePackArtifactIdentitySchema: z.ZodObject<{
|
|
528
|
+
name: z.ZodString;
|
|
529
|
+
version: z.ZodOptional<z.ZodString>;
|
|
530
|
+
resolved: z.ZodOptional<z.ZodString>;
|
|
531
|
+
integrity: z.ZodOptional<z.ZodString>;
|
|
532
|
+
}, z.core.$strict>;
|
|
533
|
+
export type NodePackArtifactIdentity = z.infer<typeof NodePackArtifactIdentitySchema>;
|
|
534
|
+
/** Whether lifecycle scripts have run for an installed pack. */
|
|
535
|
+
export declare const NodePackScriptsStateSchema: z.ZodEnum<{
|
|
536
|
+
ran: "ran";
|
|
537
|
+
skipped: "skipped";
|
|
538
|
+
}>;
|
|
539
|
+
export type NodePackScriptsState = z.infer<typeof NodePackScriptsStateSchema>;
|
|
540
|
+
/**
|
|
541
|
+
* Classification of an installed node pack.
|
|
542
|
+
*
|
|
543
|
+
* `active` is the host's own gate, not npm's: a sandbox-only pack is active as
|
|
544
|
+
* soon as it installs, while a register or hybrid pack stays inactive until the
|
|
545
|
+
* user approves trust and the integrity-checked rebuild runs.
|
|
546
|
+
*/
|
|
547
|
+
export declare const NodePackInstallStatusSchema: z.ZodObject<{
|
|
548
|
+
mode: z.ZodEnum<{
|
|
549
|
+
hybrid: "hybrid";
|
|
550
|
+
register: "register";
|
|
551
|
+
"sandbox-only": "sandbox-only";
|
|
552
|
+
unknown: "unknown";
|
|
553
|
+
}>;
|
|
554
|
+
scripts: z.ZodEnum<{
|
|
555
|
+
ran: "ran";
|
|
556
|
+
skipped: "skipped";
|
|
557
|
+
}>;
|
|
558
|
+
active: z.ZodBoolean;
|
|
559
|
+
artifact: z.ZodOptional<z.ZodObject<{
|
|
560
|
+
name: z.ZodString;
|
|
561
|
+
version: z.ZodOptional<z.ZodString>;
|
|
562
|
+
resolved: z.ZodOptional<z.ZodString>;
|
|
563
|
+
integrity: z.ZodOptional<z.ZodString>;
|
|
564
|
+
}, z.core.$strict>>;
|
|
565
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
566
|
+
}, z.core.$strict>;
|
|
567
|
+
export type NodePackInstallStatus = z.infer<typeof NodePackInstallStatusSchema>;
|
|
568
|
+
/**
|
|
569
|
+
* One pack's row in the install ledger.
|
|
570
|
+
*
|
|
571
|
+
* `dependencies` is the lockfile identity of every package the pack's own
|
|
572
|
+
* lifecycle scripts would run for. Trust approval compares the whole set
|
|
573
|
+
* against the lockfile again before enabling scripts, because `--ignore-scripts`
|
|
574
|
+
* suppressed the dependencies' scripts too.
|
|
575
|
+
*/
|
|
576
|
+
export declare const NodePackInstallRecordSchema: z.ZodObject<{
|
|
577
|
+
name: z.ZodString;
|
|
578
|
+
mode: z.ZodEnum<{
|
|
579
|
+
hybrid: "hybrid";
|
|
580
|
+
register: "register";
|
|
581
|
+
"sandbox-only": "sandbox-only";
|
|
582
|
+
unknown: "unknown";
|
|
583
|
+
}>;
|
|
584
|
+
scripts: z.ZodEnum<{
|
|
585
|
+
ran: "ran";
|
|
586
|
+
skipped: "skipped";
|
|
587
|
+
}>;
|
|
588
|
+
active: z.ZodBoolean;
|
|
589
|
+
artifact: z.ZodOptional<z.ZodObject<{
|
|
590
|
+
name: z.ZodString;
|
|
591
|
+
version: z.ZodOptional<z.ZodString>;
|
|
592
|
+
resolved: z.ZodOptional<z.ZodString>;
|
|
593
|
+
integrity: z.ZodOptional<z.ZodString>;
|
|
594
|
+
}, z.core.$strict>>;
|
|
595
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
596
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
597
|
+
name: z.ZodString;
|
|
598
|
+
version: z.ZodOptional<z.ZodString>;
|
|
599
|
+
resolved: z.ZodOptional<z.ZodString>;
|
|
600
|
+
integrity: z.ZodOptional<z.ZodString>;
|
|
601
|
+
}, z.core.$strict>>>;
|
|
602
|
+
installedAt: z.ZodOptional<z.ZodString>;
|
|
603
|
+
trustedAt: z.ZodOptional<z.ZodString>;
|
|
604
|
+
}, z.core.$strict>;
|
|
605
|
+
export type NodePackInstallRecord = z.infer<typeof NodePackInstallRecordSchema>;
|
|
606
|
+
/** The on-disk ledger of what the host installed and what it authorized. */
|
|
607
|
+
export declare const NodePackLedgerSchema: z.ZodObject<{
|
|
608
|
+
version: z.ZodLiteral<1>;
|
|
609
|
+
packs: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
610
|
+
name: z.ZodString;
|
|
611
|
+
mode: z.ZodEnum<{
|
|
612
|
+
hybrid: "hybrid";
|
|
613
|
+
register: "register";
|
|
614
|
+
"sandbox-only": "sandbox-only";
|
|
615
|
+
unknown: "unknown";
|
|
616
|
+
}>;
|
|
617
|
+
scripts: z.ZodEnum<{
|
|
618
|
+
ran: "ran";
|
|
619
|
+
skipped: "skipped";
|
|
620
|
+
}>;
|
|
621
|
+
active: z.ZodBoolean;
|
|
622
|
+
artifact: z.ZodOptional<z.ZodObject<{
|
|
623
|
+
name: z.ZodString;
|
|
624
|
+
version: z.ZodOptional<z.ZodString>;
|
|
625
|
+
resolved: z.ZodOptional<z.ZodString>;
|
|
626
|
+
integrity: z.ZodOptional<z.ZodString>;
|
|
627
|
+
}, z.core.$strict>>;
|
|
628
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
629
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
630
|
+
name: z.ZodString;
|
|
631
|
+
version: z.ZodOptional<z.ZodString>;
|
|
632
|
+
resolved: z.ZodOptional<z.ZodString>;
|
|
633
|
+
integrity: z.ZodOptional<z.ZodString>;
|
|
634
|
+
}, z.core.$strict>>>;
|
|
635
|
+
installedAt: z.ZodOptional<z.ZodString>;
|
|
636
|
+
trustedAt: z.ZodOptional<z.ZodString>;
|
|
637
|
+
}, z.core.$strict>>;
|
|
638
|
+
}, z.core.$strict>;
|
|
639
|
+
export type NodePackLedger = z.infer<typeof NodePackLedgerSchema>;
|
|
640
|
+
/** Result returned across the Electron IPC boundary for node-pack mutations. */
|
|
641
|
+
export declare const NodePackActionResultSchema: z.ZodObject<{
|
|
642
|
+
success: z.ZodBoolean;
|
|
643
|
+
message: z.ZodString;
|
|
644
|
+
installation: z.ZodOptional<z.ZodObject<{
|
|
645
|
+
mode: z.ZodEnum<{
|
|
646
|
+
hybrid: "hybrid";
|
|
647
|
+
register: "register";
|
|
648
|
+
"sandbox-only": "sandbox-only";
|
|
649
|
+
unknown: "unknown";
|
|
650
|
+
}>;
|
|
651
|
+
scripts: z.ZodEnum<{
|
|
652
|
+
ran: "ran";
|
|
653
|
+
skipped: "skipped";
|
|
654
|
+
}>;
|
|
655
|
+
active: z.ZodBoolean;
|
|
656
|
+
artifact: z.ZodOptional<z.ZodObject<{
|
|
657
|
+
name: z.ZodString;
|
|
658
|
+
version: z.ZodOptional<z.ZodString>;
|
|
659
|
+
resolved: z.ZodOptional<z.ZodString>;
|
|
660
|
+
integrity: z.ZodOptional<z.ZodString>;
|
|
661
|
+
}, z.core.$strict>>;
|
|
662
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
663
|
+
}, z.core.$strict>>;
|
|
664
|
+
}, z.core.$strict>;
|
|
665
|
+
export type NodePackActionResult = z.infer<typeof NodePackActionResultSchema>;
|
|
666
|
+
/** Reduce a ledger row to the status shape the UI and IPC consume. */
|
|
667
|
+
export declare function nodePackInstallStatus(record: NodePackInstallRecord): NodePackInstallStatus;
|
|
668
|
+
export declare function normalizeSandboxSpecifier(packName: string, moduleName: string): string;
|
|
669
|
+
export type SandboxExportName = string | {
|
|
670
|
+
wasm: string;
|
|
671
|
+
as: string;
|
|
672
|
+
};
|
|
673
|
+
export { RESERVED_IDENTIFIERS };
|
|
674
|
+
//# sourceMappingURL=sandbox-package.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sandbox-package.d.ts","sourceRoot":"","sources":["../src/sandbox-package.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAaxB,QAAA,MAAM,oBAAoB,aA+CxB,CAAC;AAEH,6EAA6E;AAC7E,eAAO,MAAM,uBAAuB,MAAM,CAAC;AAE3C;;;;;;;;GAQG;AACH,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAQ/D;AAED,sCAAsC;AACtC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