@playcraft/common 0.1.52 → 0.1.53-beta
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 +1 -1
- package/dist/agent/competitor-report.d.ts +1 -1
- package/dist/agent/session-title.d.ts +1 -1
- package/dist/agent/session-title.js +1 -1
- package/dist/agent-messages/db-message-converter.d.ts +10 -0
- package/dist/agent-messages/db-message-converter.d.ts.map +1 -1
- package/dist/agent-messages/db-message-converter.js +13 -0
- package/dist/agent-messages/db-message-converter.js.map +1 -1
- package/dist/agent-tools/index.d.ts +5 -0
- package/dist/agent-tools/index.d.ts.map +1 -1
- package/dist/agent-tools/index.js +5 -0
- package/dist/agent-tools/index.js.map +1 -1
- package/dist/agent-tools/operation-protocol.d.ts +10 -0
- package/dist/agent-tools/operation-protocol.d.ts.map +1 -0
- package/dist/agent-tools/operation-protocol.js +13 -0
- package/dist/agent-tools/operation-protocol.js.map +1 -0
- package/dist/agent-tools/replica-recording.d.ts +283 -0
- package/dist/agent-tools/replica-recording.d.ts.map +1 -0
- package/dist/agent-tools/replica-recording.js +109 -0
- package/dist/agent-tools/replica-recording.js.map +1 -0
- package/dist/agent-tools/replica-validation.d.ts +972 -0
- package/dist/agent-tools/replica-validation.d.ts.map +1 -0
- package/dist/agent-tools/replica-validation.js +254 -0
- package/dist/agent-tools/replica-validation.js.map +1 -0
- package/dist/agent-tools/types.d.ts +9 -1
- package/dist/agent-tools/types.d.ts.map +1 -1
- package/dist/agent-tools/types.js.map +1 -1
- package/dist/agent-tools/video-model-proxy.d.ts +113 -0
- package/dist/agent-tools/video-model-proxy.d.ts.map +1 -0
- package/dist/agent-tools/video-model-proxy.js +49 -0
- package/dist/agent-tools/video-model-proxy.js.map +1 -0
- package/dist/agent-tools/video-replication.d.ts +421 -0
- package/dist/agent-tools/video-replication.d.ts.map +1 -0
- package/dist/agent-tools/video-replication.js +95 -0
- package/dist/agent-tools/video-replication.js.map +1 -0
- package/dist/asset-library-stream.d.ts +14 -0
- package/dist/asset-library-stream.d.ts.map +1 -0
- package/dist/asset-library-stream.js +101 -0
- package/dist/asset-library-stream.js.map +1 -0
- package/dist/cloud-workspace/runtime/agent-background-processes.d.ts +68 -0
- package/dist/cloud-workspace/runtime/agent-background-processes.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/agent-background-processes.js +60 -0
- package/dist/cloud-workspace/runtime/agent-background-processes.js.map +1 -0
- package/dist/cloud-workspace/runtime/agent-chat-flush.d.ts +55 -0
- package/dist/cloud-workspace/runtime/agent-chat-flush.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/agent-chat-flush.js +51 -0
- package/dist/cloud-workspace/runtime/agent-chat-flush.js.map +1 -0
- package/dist/cloud-workspace/runtime/agent-command.d.ts +152 -0
- package/dist/cloud-workspace/runtime/agent-command.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/agent-command.js +90 -0
- package/dist/cloud-workspace/runtime/agent-command.js.map +1 -0
- package/dist/cloud-workspace/runtime/agent-competitor-report.d.ts +143 -0
- package/dist/cloud-workspace/runtime/agent-competitor-report.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/agent-competitor-report.js +115 -0
- package/dist/cloud-workspace/runtime/agent-competitor-report.js.map +1 -0
- package/dist/cloud-workspace/runtime/agent-connection.d.ts +76 -0
- package/dist/cloud-workspace/runtime/agent-connection.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/agent-connection.js +59 -0
- package/dist/cloud-workspace/runtime/agent-connection.js.map +1 -0
- package/dist/cloud-workspace/runtime/agent-issue-artifacts.d.ts +90 -0
- package/dist/cloud-workspace/runtime/agent-issue-artifacts.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/agent-issue-artifacts.js +60 -0
- package/dist/cloud-workspace/runtime/agent-issue-artifacts.js.map +1 -0
- package/dist/cloud-workspace/runtime/agent-lifecycle.d.ts +87 -0
- package/dist/cloud-workspace/runtime/agent-lifecycle.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/agent-lifecycle.js +75 -0
- package/dist/cloud-workspace/runtime/agent-lifecycle.js.map +1 -0
- package/dist/cloud-workspace/runtime/agent-mutation.d.ts +197 -0
- package/dist/cloud-workspace/runtime/agent-mutation.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/agent-mutation.js +114 -0
- package/dist/cloud-workspace/runtime/agent-mutation.js.map +1 -0
- package/dist/cloud-workspace/runtime/agent-opencode-gateway.d.ts +230 -0
- package/dist/cloud-workspace/runtime/agent-opencode-gateway.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/agent-opencode-gateway.js +185 -0
- package/dist/cloud-workspace/runtime/agent-opencode-gateway.js.map +1 -0
- package/dist/cloud-workspace/runtime/agent-opencode.d.ts +406 -0
- package/dist/cloud-workspace/runtime/agent-opencode.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/agent-opencode.js +237 -0
- package/dist/cloud-workspace/runtime/agent-opencode.js.map +1 -0
- package/dist/cloud-workspace/runtime/agent-promotion.d.ts +21 -0
- package/dist/cloud-workspace/runtime/agent-promotion.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/agent-promotion.js +23 -0
- package/dist/cloud-workspace/runtime/agent-promotion.js.map +1 -0
- package/dist/cloud-workspace/runtime/agent-read.d.ts +343 -0
- package/dist/cloud-workspace/runtime/agent-read.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/agent-read.js +159 -0
- package/dist/cloud-workspace/runtime/agent-read.js.map +1 -0
- package/dist/cloud-workspace/runtime/agent-source-project.d.ts +126 -0
- package/dist/cloud-workspace/runtime/agent-source-project.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/agent-source-project.js +95 -0
- package/dist/cloud-workspace/runtime/agent-source-project.js.map +1 -0
- package/dist/cloud-workspace/runtime/agent-tool-claim.d.ts +18 -0
- package/dist/cloud-workspace/runtime/agent-tool-claim.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/agent-tool-claim.js +16 -0
- package/dist/cloud-workspace/runtime/agent-tool-claim.js.map +1 -0
- package/dist/cloud-workspace/runtime/agent-variant-chat.d.ts +9 -0
- package/dist/cloud-workspace/runtime/agent-variant-chat.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/agent-variant-chat.js +23 -0
- package/dist/cloud-workspace/runtime/agent-variant-chat.js.map +1 -0
- package/dist/cloud-workspace/runtime/agent-variant-git.d.ts +75 -0
- package/dist/cloud-workspace/runtime/agent-variant-git.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/agent-variant-git.js +62 -0
- package/dist/cloud-workspace/runtime/agent-variant-git.js.map +1 -0
- package/dist/cloud-workspace/runtime/animation-editor.d.ts +766 -0
- package/dist/cloud-workspace/runtime/animation-editor.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/animation-editor.js +84 -0
- package/dist/cloud-workspace/runtime/animation-editor.js.map +1 -0
- package/dist/cloud-workspace/runtime/animation-quality.d.ts +33 -0
- package/dist/cloud-workspace/runtime/animation-quality.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/animation-quality.js +14 -0
- package/dist/cloud-workspace/runtime/animation-quality.js.map +1 -0
- package/dist/cloud-workspace/runtime/artifacts.d.ts +239 -0
- package/dist/cloud-workspace/runtime/artifacts.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/artifacts.js +105 -0
- package/dist/cloud-workspace/runtime/artifacts.js.map +1 -0
- package/dist/cloud-workspace/runtime/asset-generation-bundle.d.ts +61 -0
- package/dist/cloud-workspace/runtime/asset-generation-bundle.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/asset-generation-bundle.js +59 -0
- package/dist/cloud-workspace/runtime/asset-generation-bundle.js.map +1 -0
- package/dist/cloud-workspace/runtime/asset-generation-video-validator.d.ts +15 -0
- package/dist/cloud-workspace/runtime/asset-generation-video-validator.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/asset-generation-video-validator.js +63 -0
- package/dist/cloud-workspace/runtime/asset-generation-video-validator.js.map +1 -0
- package/dist/cloud-workspace/runtime/asset-generation-video.d.ts +92 -0
- package/dist/cloud-workspace/runtime/asset-generation-video.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/asset-generation-video.js +63 -0
- package/dist/cloud-workspace/runtime/asset-generation-video.js.map +1 -0
- package/dist/cloud-workspace/runtime/asset-generation.d.ts +913 -0
- package/dist/cloud-workspace/runtime/asset-generation.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/asset-generation.js +177 -0
- package/dist/cloud-workspace/runtime/asset-generation.js.map +1 -0
- package/dist/cloud-workspace/runtime/asset-library-import.d.ts +73 -0
- package/dist/cloud-workspace/runtime/asset-library-import.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/asset-library-import.js +37 -0
- package/dist/cloud-workspace/runtime/asset-library-import.js.map +1 -0
- package/dist/cloud-workspace/runtime/asset-library-save.d.ts +296 -0
- package/dist/cloud-workspace/runtime/asset-library-save.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/asset-library-save.js +114 -0
- package/dist/cloud-workspace/runtime/asset-library-save.js.map +1 -0
- package/dist/cloud-workspace/runtime/asset-transfers.d.ts +92 -0
- package/dist/cloud-workspace/runtime/asset-transfers.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/asset-transfers.js +119 -0
- package/dist/cloud-workspace/runtime/asset-transfers.js.map +1 -0
- package/dist/cloud-workspace/runtime/attachment-base64.d.ts +3 -0
- package/dist/cloud-workspace/runtime/attachment-base64.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/attachment-base64.js +8 -0
- package/dist/cloud-workspace/runtime/attachment-base64.js.map +1 -0
- package/dist/cloud-workspace/runtime/attachments.d.ts +33 -0
- package/dist/cloud-workspace/runtime/attachments.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/attachments.js +35 -0
- package/dist/cloud-workspace/runtime/attachments.js.map +1 -0
- package/dist/cloud-workspace/runtime/batch-generation.d.ts +96 -0
- package/dist/cloud-workspace/runtime/batch-generation.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/batch-generation.js +77 -0
- package/dist/cloud-workspace/runtime/batch-generation.js.map +1 -0
- package/dist/cloud-workspace/runtime/batch-production.d.ts +66 -0
- package/dist/cloud-workspace/runtime/batch-production.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/batch-production.js +35 -0
- package/dist/cloud-workspace/runtime/batch-production.js.map +1 -0
- package/dist/cloud-workspace/runtime/batch-runs.d.ts +713 -0
- package/dist/cloud-workspace/runtime/batch-runs.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/batch-runs.js +227 -0
- package/dist/cloud-workspace/runtime/batch-runs.js.map +1 -0
- package/dist/cloud-workspace/runtime/batch-source.d.ts +20 -0
- package/dist/cloud-workspace/runtime/batch-source.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/batch-source.js +28 -0
- package/dist/cloud-workspace/runtime/batch-source.js.map +1 -0
- package/dist/cloud-workspace/runtime/capabilities.d.ts +40 -0
- package/dist/cloud-workspace/runtime/capabilities.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/capabilities.js +53 -0
- package/dist/cloud-workspace/runtime/capabilities.js.map +1 -0
- package/dist/cloud-workspace/runtime/chat-realtime-admission.d.ts +53 -0
- package/dist/cloud-workspace/runtime/chat-realtime-admission.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/chat-realtime-admission.js +95 -0
- package/dist/cloud-workspace/runtime/chat-realtime-admission.js.map +1 -0
- package/dist/cloud-workspace/runtime/chat-realtime.d.ts +197 -0
- package/dist/cloud-workspace/runtime/chat-realtime.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/chat-realtime.js +300 -0
- package/dist/cloud-workspace/runtime/chat-realtime.js.map +1 -0
- package/dist/cloud-workspace/runtime/checkpoints.d.ts +35 -0
- package/dist/cloud-workspace/runtime/checkpoints.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/checkpoints.js +35 -0
- package/dist/cloud-workspace/runtime/checkpoints.js.map +1 -0
- package/dist/cloud-workspace/runtime/cloud-assets.d.ts +119 -0
- package/dist/cloud-workspace/runtime/cloud-assets.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/cloud-assets.js +51 -0
- package/dist/cloud-workspace/runtime/cloud-assets.js.map +1 -0
- package/dist/cloud-workspace/runtime/composer-context.d.ts +82 -0
- package/dist/cloud-workspace/runtime/composer-context.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/composer-context.js +51 -0
- package/dist/cloud-workspace/runtime/composer-context.js.map +1 -0
- package/dist/cloud-workspace/runtime/config.d.ts +48 -0
- package/dist/cloud-workspace/runtime/config.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/config.js +126 -0
- package/dist/cloud-workspace/runtime/config.js.map +1 -0
- package/dist/cloud-workspace/runtime/connectivity.d.ts +211 -0
- package/dist/cloud-workspace/runtime/connectivity.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/connectivity.js +46 -0
- package/dist/cloud-workspace/runtime/connectivity.js.map +1 -0
- package/dist/cloud-workspace/runtime/delivery.d.ts +1042 -0
- package/dist/cloud-workspace/runtime/delivery.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/delivery.js +208 -0
- package/dist/cloud-workspace/runtime/delivery.js.map +1 -0
- package/dist/cloud-workspace/runtime/directories.d.ts +32 -0
- package/dist/cloud-workspace/runtime/directories.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/directories.js +44 -0
- package/dist/cloud-workspace/runtime/directories.js.map +1 -0
- package/dist/cloud-workspace/runtime/directory-attachments.d.ts +28 -0
- package/dist/cloud-workspace/runtime/directory-attachments.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/directory-attachments.js +30 -0
- package/dist/cloud-workspace/runtime/directory-attachments.js.map +1 -0
- package/dist/cloud-workspace/runtime/errors.d.ts +26 -0
- package/dist/cloud-workspace/runtime/errors.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/errors.js +40 -0
- package/dist/cloud-workspace/runtime/errors.js.map +1 -0
- package/dist/cloud-workspace/runtime/events.d.ts +107 -0
- package/dist/cloud-workspace/runtime/events.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/events.js +70 -0
- package/dist/cloud-workspace/runtime/events.js.map +1 -0
- package/dist/cloud-workspace/runtime/execution-admission.d.ts +201 -0
- package/dist/cloud-workspace/runtime/execution-admission.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/execution-admission.js +127 -0
- package/dist/cloud-workspace/runtime/execution-admission.js.map +1 -0
- package/dist/cloud-workspace/runtime/execution-grant.d.ts +36 -0
- package/dist/cloud-workspace/runtime/execution-grant.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/execution-grant.js +102 -0
- package/dist/cloud-workspace/runtime/execution-grant.js.map +1 -0
- package/dist/cloud-workspace/runtime/files-search.d.ts +17 -0
- package/dist/cloud-workspace/runtime/files-search.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/files-search.js +14 -0
- package/dist/cloud-workspace/runtime/files-search.js.map +1 -0
- package/dist/cloud-workspace/runtime/files.d.ts +132 -0
- package/dist/cloud-workspace/runtime/files.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/files.js +129 -0
- package/dist/cloud-workspace/runtime/files.js.map +1 -0
- package/dist/cloud-workspace/runtime/generations.d.ts +18 -0
- package/dist/cloud-workspace/runtime/generations.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/generations.js +39 -0
- package/dist/cloud-workspace/runtime/generations.js.map +1 -0
- package/dist/cloud-workspace/runtime/git-auth-mode.d.ts +35 -0
- package/dist/cloud-workspace/runtime/git-auth-mode.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/git-auth-mode.js +73 -0
- package/dist/cloud-workspace/runtime/git-auth-mode.js.map +1 -0
- package/dist/cloud-workspace/runtime/git.d.ts +147 -0
- package/dist/cloud-workspace/runtime/git.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/git.js +128 -0
- package/dist/cloud-workspace/runtime/git.js.map +1 -0
- package/dist/cloud-workspace/runtime/handshake.d.ts +47 -0
- package/dist/cloud-workspace/runtime/handshake.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/handshake.js +31 -0
- package/dist/cloud-workspace/runtime/handshake.js.map +1 -0
- package/dist/cloud-workspace/runtime/index.d.ts +80 -0
- package/dist/cloud-workspace/runtime/index.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/index.js +80 -0
- package/dist/cloud-workspace/runtime/index.js.map +1 -0
- package/dist/cloud-workspace/runtime/library-attachments.d.ts +120 -0
- package/dist/cloud-workspace/runtime/library-attachments.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/library-attachments.js +75 -0
- package/dist/cloud-workspace/runtime/library-attachments.js.map +1 -0
- package/dist/cloud-workspace/runtime/mcp.d.ts +82 -0
- package/dist/cloud-workspace/runtime/mcp.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/mcp.js +48 -0
- package/dist/cloud-workspace/runtime/mcp.js.map +1 -0
- package/dist/cloud-workspace/runtime/native-history.d.ts +66 -0
- package/dist/cloud-workspace/runtime/native-history.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/native-history.js +132 -0
- package/dist/cloud-workspace/runtime/native-history.js.map +1 -0
- package/dist/cloud-workspace/runtime/operations.d.ts +667 -0
- package/dist/cloud-workspace/runtime/operations.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/operations.js +299 -0
- package/dist/cloud-workspace/runtime/operations.js.map +1 -0
- package/dist/cloud-workspace/runtime/parameter-agent.d.ts +255 -0
- package/dist/cloud-workspace/runtime/parameter-agent.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/parameter-agent.js +82 -0
- package/dist/cloud-workspace/runtime/parameter-agent.js.map +1 -0
- package/dist/cloud-workspace/runtime/parameter-assets.d.ts +14 -0
- package/dist/cloud-workspace/runtime/parameter-assets.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/parameter-assets.js +55 -0
- package/dist/cloud-workspace/runtime/parameter-assets.js.map +1 -0
- package/dist/cloud-workspace/runtime/parameter-catalog.d.ts +30 -0
- package/dist/cloud-workspace/runtime/parameter-catalog.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/parameter-catalog.js +292 -0
- package/dist/cloud-workspace/runtime/parameter-catalog.js.map +1 -0
- package/dist/cloud-workspace/runtime/parameters.d.ts +66 -0
- package/dist/cloud-workspace/runtime/parameters.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/parameters.js +118 -0
- package/dist/cloud-workspace/runtime/parameters.js.map +1 -0
- package/dist/cloud-workspace/runtime/permissions.d.ts +24 -0
- package/dist/cloud-workspace/runtime/permissions.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/permissions.js +19 -0
- package/dist/cloud-workspace/runtime/permissions.js.map +1 -0
- package/dist/cloud-workspace/runtime/platform-endpoints.d.ts +25 -0
- package/dist/cloud-workspace/runtime/platform-endpoints.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/platform-endpoints.js +37 -0
- package/dist/cloud-workspace/runtime/platform-endpoints.js.map +1 -0
- package/dist/cloud-workspace/runtime/preview-runtime.d.ts +33 -0
- package/dist/cloud-workspace/runtime/preview-runtime.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/preview-runtime.js +51 -0
- package/dist/cloud-workspace/runtime/preview-runtime.js.map +1 -0
- package/dist/cloud-workspace/runtime/previews.d.ts +109 -0
- package/dist/cloud-workspace/runtime/previews.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/previews.js +66 -0
- package/dist/cloud-workspace/runtime/previews.js.map +1 -0
- package/dist/cloud-workspace/runtime/project-native-skills.d.ts +40 -0
- package/dist/cloud-workspace/runtime/project-native-skills.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/project-native-skills.js +45 -0
- package/dist/cloud-workspace/runtime/project-native-skills.js.map +1 -0
- package/dist/cloud-workspace/runtime/protocol.d.ts +23 -0
- package/dist/cloud-workspace/runtime/protocol.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/protocol.js +30 -0
- package/dist/cloud-workspace/runtime/protocol.js.map +1 -0
- package/dist/cloud-workspace/runtime/remix-references.d.ts +197 -0
- package/dist/cloud-workspace/runtime/remix-references.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/remix-references.js +73 -0
- package/dist/cloud-workspace/runtime/remix-references.js.map +1 -0
- package/dist/cloud-workspace/runtime/resource-grant.d.ts +62 -0
- package/dist/cloud-workspace/runtime/resource-grant.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/resource-grant.js +87 -0
- package/dist/cloud-workspace/runtime/resource-grant.js.map +1 -0
- package/dist/cloud-workspace/runtime/self-contained-glb.d.ts +3 -0
- package/dist/cloud-workspace/runtime/self-contained-glb.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/self-contained-glb.js +67 -0
- package/dist/cloud-workspace/runtime/self-contained-glb.js.map +1 -0
- package/dist/cloud-workspace/runtime/session-restore.d.ts +31 -0
- package/dist/cloud-workspace/runtime/session-restore.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/session-restore.js +24 -0
- package/dist/cloud-workspace/runtime/session-restore.js.map +1 -0
- package/dist/cloud-workspace/runtime/skills.d.ts +39 -0
- package/dist/cloud-workspace/runtime/skills.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/skills.js +33 -0
- package/dist/cloud-workspace/runtime/skills.js.map +1 -0
- package/dist/cloud-workspace/runtime/terminal-session.d.ts +78 -0
- package/dist/cloud-workspace/runtime/terminal-session.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/terminal-session.js +178 -0
- package/dist/cloud-workspace/runtime/terminal-session.js.map +1 -0
- package/dist/cloud-workspace/runtime/terminals.d.ts +90 -0
- package/dist/cloud-workspace/runtime/terminals.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/terminals.js +111 -0
- package/dist/cloud-workspace/runtime/terminals.js.map +1 -0
- package/dist/cloud-workspace/runtime/turn-control.d.ts +27 -0
- package/dist/cloud-workspace/runtime/turn-control.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/turn-control.js +18 -0
- package/dist/cloud-workspace/runtime/turn-control.js.map +1 -0
- package/dist/cloud-workspace/runtime/variant-workspace.d.ts +221 -0
- package/dist/cloud-workspace/runtime/variant-workspace.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/variant-workspace.js +75 -0
- package/dist/cloud-workspace/runtime/variant-workspace.js.map +1 -0
- package/dist/cloud-workspace/runtime/workspace-binding.d.ts +219 -0
- package/dist/cloud-workspace/runtime/workspace-binding.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/workspace-binding.js +178 -0
- package/dist/cloud-workspace/runtime/workspace-binding.js.map +1 -0
- package/dist/cloud-workspace/runtime/workspace-directories.d.ts +44 -0
- package/dist/cloud-workspace/runtime/workspace-directories.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/workspace-directories.js +34 -0
- package/dist/cloud-workspace/runtime/workspace-directories.js.map +1 -0
- package/dist/cloud-workspace/runtime/workspace-models.d.ts +31 -0
- package/dist/cloud-workspace/runtime/workspace-models.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/workspace-models.js +63 -0
- package/dist/cloud-workspace/runtime/workspace-models.js.map +1 -0
- package/dist/cloud-workspace/runtime/workspace-notifications.d.ts +37 -0
- package/dist/cloud-workspace/runtime/workspace-notifications.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/workspace-notifications.js +90 -0
- package/dist/cloud-workspace/runtime/workspace-notifications.js.map +1 -0
- package/dist/cloud-workspace/runtime/workspace-ui.d.ts +252 -0
- package/dist/cloud-workspace/runtime/workspace-ui.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/workspace-ui.js +94 -0
- package/dist/cloud-workspace/runtime/workspace-ui.js.map +1 -0
- package/dist/database/operators.d.ts +2 -0
- package/dist/database/operators.d.ts.map +1 -0
- package/dist/database/operators.js +2 -0
- package/dist/database/operators.js.map +1 -0
- package/dist/database/postgres-adapter.js +1 -1
- package/dist/database/postgres-adapter.js.map +1 -1
- package/dist/database/schema.d.ts +1 -1
- package/dist/database/schema.js +1 -1
- package/dist/model-proxy/index.d.ts +29 -0
- package/dist/model-proxy/index.d.ts.map +1 -0
- package/dist/model-proxy/index.js +81 -0
- package/dist/model-proxy/index.js.map +1 -0
- package/dist/project-skills/bundle-archive.d.ts +21 -0
- package/dist/project-skills/bundle-archive.d.ts.map +1 -0
- package/dist/project-skills/bundle-archive.js +165 -0
- package/dist/project-skills/bundle-archive.js.map +1 -0
- package/dist/project-skills/bundle-path.d.ts +3 -0
- package/dist/project-skills/bundle-path.d.ts.map +1 -0
- package/dist/project-skills/bundle-path.js +17 -0
- package/dist/project-skills/bundle-path.js.map +1 -0
- package/dist/project-skills/evidence.d.ts +15 -0
- package/dist/project-skills/evidence.d.ts.map +1 -0
- package/dist/project-skills/evidence.js +33 -0
- package/dist/project-skills/evidence.js.map +1 -0
- package/dist/project-skills/index.d.ts +7 -0
- package/dist/project-skills/index.d.ts.map +1 -0
- package/dist/project-skills/index.js +7 -0
- package/dist/project-skills/index.js.map +1 -0
- package/dist/project-skills/inventory.d.ts +23 -0
- package/dist/project-skills/inventory.d.ts.map +1 -0
- package/dist/project-skills/inventory.js +150 -0
- package/dist/project-skills/inventory.js.map +1 -0
- package/dist/project-skills/local-snapshot.d.ts +12 -0
- package/dist/project-skills/local-snapshot.d.ts.map +1 -0
- package/dist/project-skills/local-snapshot.js +66 -0
- package/dist/project-skills/local-snapshot.js.map +1 -0
- package/dist/project-skills/protocol.d.ts +31 -0
- package/dist/project-skills/protocol.d.ts.map +1 -0
- package/dist/project-skills/protocol.js +197 -0
- package/dist/project-skills/protocol.js.map +1 -0
- package/dist/project-skills/runtime-plugin.d.ts +66 -0
- package/dist/project-skills/runtime-plugin.d.ts.map +1 -0
- package/dist/project-skills/runtime-plugin.js +102 -0
- package/dist/project-skills/runtime-plugin.js.map +1 -0
- package/dist/project-skills/types.d.ts +63 -0
- package/dist/project-skills/types.d.ts.map +1 -0
- package/dist/project-skills/types.js +13 -0
- package/dist/project-skills/types.js.map +1 -0
- package/dist/public-network-address.d.ts +3 -0
- package/dist/public-network-address.d.ts.map +1 -0
- package/dist/public-network-address.js +20 -0
- package/dist/public-network-address.js.map +1 -0
- package/dist/recommend/types.d.ts +1 -1
- package/dist/recommend/types.js +1 -1
- package/dist/remix/auto-name.d.ts +24 -0
- package/dist/remix/auto-name.d.ts.map +1 -0
- package/dist/remix/auto-name.js +40 -0
- package/dist/remix/auto-name.js.map +1 -0
- package/dist/remix/index.d.ts +2 -0
- package/dist/remix/index.d.ts.map +1 -0
- package/dist/remix/index.js +2 -0
- package/dist/remix/index.js.map +1 -0
- package/dist/skill-evaluation.d.ts +152 -0
- package/dist/skill-evaluation.d.ts.map +1 -0
- package/dist/skill-evaluation.js +14 -0
- package/dist/skill-evaluation.js.map +1 -0
- package/dist/storage/cos.d.ts +11 -0
- package/dist/storage/cos.d.ts.map +1 -1
- package/dist/storage/cos.js +29 -0
- package/dist/storage/cos.js.map +1 -1
- package/package.json +41 -1
|
@@ -0,0 +1,713 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { batchRunSchema } from './execution-admission.js';
|
|
3
|
+
export declare const batchSourceFreezeRequestSchema: z.ZodObject<{
|
|
4
|
+
batchId: z.ZodString;
|
|
5
|
+
workspaceId: z.ZodString;
|
|
6
|
+
sourceDirectoryName: z.ZodString;
|
|
7
|
+
initiatorDirectoryName: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>>;
|
|
8
|
+
initiatorOperationId: z.ZodOptional<z.ZodString>;
|
|
9
|
+
syncId: z.ZodOptional<z.ZodString>;
|
|
10
|
+
}, z.core.$strict>;
|
|
11
|
+
export type BatchSourceFreezeRequest = z.infer<typeof batchSourceFreezeRequestSchema>;
|
|
12
|
+
/**
|
|
13
|
+
* `frozen`: snapshot captured and durable.
|
|
14
|
+
* `pending`: source directory busy with another turn — freeze runs after that turn and before the next.
|
|
15
|
+
*/
|
|
16
|
+
export declare const batchSourceFreezeResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
17
|
+
status: z.ZodLiteral<"frozen">;
|
|
18
|
+
snapshot: z.ZodObject<{
|
|
19
|
+
batchId: z.ZodString;
|
|
20
|
+
commitHash: z.ZodString;
|
|
21
|
+
digest: z.ZodString;
|
|
22
|
+
sourceWorkspaceId: z.ZodString;
|
|
23
|
+
sourceDirectoryName: z.ZodString;
|
|
24
|
+
remoteRef: z.ZodOptional<z.ZodString>;
|
|
25
|
+
artifactKey: z.ZodOptional<z.ZodString>;
|
|
26
|
+
frozenAt: z.ZodString;
|
|
27
|
+
}, z.core.$strict>;
|
|
28
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
29
|
+
status: z.ZodLiteral<"pending">;
|
|
30
|
+
batchId: z.ZodString;
|
|
31
|
+
failure: z.ZodOptional<z.ZodObject<{
|
|
32
|
+
code: z.ZodString;
|
|
33
|
+
stage: z.ZodEnum<{
|
|
34
|
+
verify: "verify";
|
|
35
|
+
capture: "capture";
|
|
36
|
+
publish: "publish";
|
|
37
|
+
}>;
|
|
38
|
+
retryable: z.ZodBoolean;
|
|
39
|
+
outcome: z.ZodEnum<{
|
|
40
|
+
unknown: "unknown";
|
|
41
|
+
not_published: "not_published";
|
|
42
|
+
}>;
|
|
43
|
+
diagnosticId: z.ZodOptional<z.ZodString>;
|
|
44
|
+
}, z.core.$strict>>;
|
|
45
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
46
|
+
status: z.ZodLiteral<"failed">;
|
|
47
|
+
batchId: z.ZodString;
|
|
48
|
+
error: z.ZodString;
|
|
49
|
+
failure: z.ZodOptional<z.ZodObject<{
|
|
50
|
+
code: z.ZodString;
|
|
51
|
+
stage: z.ZodEnum<{
|
|
52
|
+
verify: "verify";
|
|
53
|
+
capture: "capture";
|
|
54
|
+
publish: "publish";
|
|
55
|
+
}>;
|
|
56
|
+
retryable: z.ZodBoolean;
|
|
57
|
+
outcome: z.ZodEnum<{
|
|
58
|
+
unknown: "unknown";
|
|
59
|
+
not_published: "not_published";
|
|
60
|
+
}>;
|
|
61
|
+
diagnosticId: z.ZodOptional<z.ZodString>;
|
|
62
|
+
}, z.core.$strict>>;
|
|
63
|
+
}, z.core.$strict>], "status">;
|
|
64
|
+
export type BatchSourceFreezeResult = z.infer<typeof batchSourceFreezeResultSchema>;
|
|
65
|
+
/** Sandbox `POST /runtime/batch-sources/freeze`. Synchronous; idempotent per batchId. */
|
|
66
|
+
export declare const sandboxBatchSourceFreezeRequestSchema: z.ZodObject<{
|
|
67
|
+
batchId: z.ZodString;
|
|
68
|
+
workspaceId: z.ZodString;
|
|
69
|
+
sourceDirectoryName: z.ZodString;
|
|
70
|
+
persist: z.ZodEnum<{
|
|
71
|
+
remote_ref: "remote_ref";
|
|
72
|
+
artifact: "artifact";
|
|
73
|
+
}>;
|
|
74
|
+
resumeOnly: z.ZodOptional<z.ZodBoolean>;
|
|
75
|
+
}, z.core.$strict>;
|
|
76
|
+
export type SandboxBatchSourceFreezeRequest = z.infer<typeof sandboxBatchSourceFreezeRequestSchema>;
|
|
77
|
+
/** `POST /runtime/batch-members/prepare` — clone/restore from snapshot (or resume commit), install deps. */
|
|
78
|
+
export declare const sandboxBatchMemberPrepareSchema: z.ZodObject<{
|
|
79
|
+
snapshot: z.ZodObject<{
|
|
80
|
+
batchId: z.ZodString;
|
|
81
|
+
commitHash: z.ZodString;
|
|
82
|
+
digest: z.ZodString;
|
|
83
|
+
sourceWorkspaceId: z.ZodString;
|
|
84
|
+
sourceDirectoryName: z.ZodString;
|
|
85
|
+
remoteRef: z.ZodOptional<z.ZodString>;
|
|
86
|
+
artifactKey: z.ZodOptional<z.ZodString>;
|
|
87
|
+
frozenAt: z.ZodString;
|
|
88
|
+
}, z.core.$strict>;
|
|
89
|
+
remixId: z.ZodNullable<z.ZodString>;
|
|
90
|
+
branchName: z.ZodString;
|
|
91
|
+
resumeFromCommit: z.ZodOptional<z.ZodString>;
|
|
92
|
+
runId: z.ZodString;
|
|
93
|
+
ownerFence: z.ZodNumber;
|
|
94
|
+
workspaceId: z.ZodString;
|
|
95
|
+
directoryName: z.ZodString;
|
|
96
|
+
occupancyId: z.ZodString;
|
|
97
|
+
}, z.core.$strict>;
|
|
98
|
+
export type SandboxBatchMemberPrepare = z.infer<typeof sandboxBatchMemberPrepareSchema>;
|
|
99
|
+
/** `POST /runtime/batch-members/generate` — one unattended turn on the shared session base. */
|
|
100
|
+
export declare const sandboxBatchMemberGenerateSchema: z.ZodObject<{
|
|
101
|
+
prompt: z.ZodString;
|
|
102
|
+
model: z.ZodOptional<z.ZodString>;
|
|
103
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
104
|
+
runId: z.ZodString;
|
|
105
|
+
ownerFence: z.ZodNumber;
|
|
106
|
+
workspaceId: z.ZodString;
|
|
107
|
+
directoryName: z.ZodString;
|
|
108
|
+
occupancyId: z.ZodString;
|
|
109
|
+
}, z.core.$strict>;
|
|
110
|
+
export type SandboxBatchMemberGenerate = z.infer<typeof sandboxBatchMemberGenerateSchema>;
|
|
111
|
+
/** `POST /runtime/batch-members/deliver` — save exact commit, push, build from it, verify, publish. */
|
|
112
|
+
export declare const sandboxBatchMemberDeliverSchema: z.ZodObject<{
|
|
113
|
+
pushRemote: z.ZodBoolean;
|
|
114
|
+
fromCommit: z.ZodOptional<z.ZodString>;
|
|
115
|
+
runId: z.ZodString;
|
|
116
|
+
ownerFence: z.ZodNumber;
|
|
117
|
+
workspaceId: z.ZodString;
|
|
118
|
+
directoryName: z.ZodString;
|
|
119
|
+
occupancyId: z.ZodString;
|
|
120
|
+
}, z.core.$strict>;
|
|
121
|
+
export type SandboxBatchMemberDeliver = z.infer<typeof sandboxBatchMemberDeliverSchema>;
|
|
122
|
+
/** `POST /runtime/batch-members/:runId/stop`. */
|
|
123
|
+
export declare const sandboxBatchMemberStopSchema: z.ZodObject<{
|
|
124
|
+
runId: z.ZodString;
|
|
125
|
+
ownerFence: z.ZodNumber;
|
|
126
|
+
}, z.core.$strict>;
|
|
127
|
+
export declare const sandboxBatchMemberStateSchema: z.ZodEnum<{
|
|
128
|
+
unknown: "unknown";
|
|
129
|
+
failed: "failed";
|
|
130
|
+
completed: "completed";
|
|
131
|
+
running: "running";
|
|
132
|
+
idle: "idle";
|
|
133
|
+
stopped: "stopped";
|
|
134
|
+
stopping: "stopping";
|
|
135
|
+
needs_user: "needs_user";
|
|
136
|
+
}>;
|
|
137
|
+
export type SandboxBatchMemberState = z.infer<typeof sandboxBatchMemberStateSchema>;
|
|
138
|
+
/** Response of every member command and of `GET /runtime/batch-members/:runId`. Read-only query. */
|
|
139
|
+
export declare const sandboxBatchMemberStatusSchema: z.ZodObject<{
|
|
140
|
+
runId: z.ZodString;
|
|
141
|
+
ownerFence: z.ZodNumber;
|
|
142
|
+
phase: z.ZodEnum<{
|
|
143
|
+
prepare: "prepare";
|
|
144
|
+
generate: "generate";
|
|
145
|
+
deliver: "deliver";
|
|
146
|
+
}>;
|
|
147
|
+
state: z.ZodEnum<{
|
|
148
|
+
unknown: "unknown";
|
|
149
|
+
failed: "failed";
|
|
150
|
+
completed: "completed";
|
|
151
|
+
running: "running";
|
|
152
|
+
idle: "idle";
|
|
153
|
+
stopped: "stopped";
|
|
154
|
+
stopping: "stopping";
|
|
155
|
+
needs_user: "needs_user";
|
|
156
|
+
}>;
|
|
157
|
+
writersStopped: z.ZodBoolean;
|
|
158
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
159
|
+
operationId: z.ZodOptional<z.ZodString>;
|
|
160
|
+
headCommit: z.ZodOptional<z.ZodString>;
|
|
161
|
+
evidence: z.ZodOptional<z.ZodObject<{
|
|
162
|
+
savedCommit: z.ZodOptional<z.ZodString>;
|
|
163
|
+
pushedCommit: z.ZodOptional<z.ZodString>;
|
|
164
|
+
buildDigest: z.ZodOptional<z.ZodString>;
|
|
165
|
+
verified: z.ZodOptional<z.ZodBoolean>;
|
|
166
|
+
previewRef: z.ZodOptional<z.ZodString>;
|
|
167
|
+
}, z.core.$strict>>;
|
|
168
|
+
error: z.ZodOptional<z.ZodString>;
|
|
169
|
+
updatedAt: z.ZodString;
|
|
170
|
+
}, z.core.$strict>;
|
|
171
|
+
export type SandboxBatchMemberStatus = z.infer<typeof sandboxBatchMemberStatusSchema>;
|
|
172
|
+
export declare const batchRunMemberInputSchema: z.ZodObject<{
|
|
173
|
+
resultVersionId: z.ZodString;
|
|
174
|
+
workspaceId: z.ZodString;
|
|
175
|
+
directoryName: z.ZodString;
|
|
176
|
+
remixId: z.ZodNullable<z.ZodString>;
|
|
177
|
+
branchName: z.ZodString;
|
|
178
|
+
prompt: z.ZodString;
|
|
179
|
+
model: z.ZodOptional<z.ZodString>;
|
|
180
|
+
resumeFromCommit: z.ZodOptional<z.ZodString>;
|
|
181
|
+
syncOfResultVersionId: z.ZodOptional<z.ZodString>;
|
|
182
|
+
}, z.core.$strict>;
|
|
183
|
+
export type BatchRunMemberInput = z.infer<typeof batchRunMemberInputSchema>;
|
|
184
|
+
/** `POST /internal/batch-runs` — idempotent per resultVersionId. */
|
|
185
|
+
export declare const submitBatchRunsRequestSchema: z.ZodObject<{
|
|
186
|
+
batchId: z.ZodString;
|
|
187
|
+
userId: z.ZodString;
|
|
188
|
+
snapshot: z.ZodObject<{
|
|
189
|
+
batchId: z.ZodString;
|
|
190
|
+
commitHash: z.ZodString;
|
|
191
|
+
digest: z.ZodString;
|
|
192
|
+
sourceWorkspaceId: z.ZodString;
|
|
193
|
+
sourceDirectoryName: z.ZodString;
|
|
194
|
+
remoteRef: z.ZodOptional<z.ZodString>;
|
|
195
|
+
artifactKey: z.ZodOptional<z.ZodString>;
|
|
196
|
+
frozenAt: z.ZodString;
|
|
197
|
+
}, z.core.$strict>;
|
|
198
|
+
members: z.ZodArray<z.ZodObject<{
|
|
199
|
+
resultVersionId: z.ZodString;
|
|
200
|
+
workspaceId: z.ZodString;
|
|
201
|
+
directoryName: z.ZodString;
|
|
202
|
+
remixId: z.ZodNullable<z.ZodString>;
|
|
203
|
+
branchName: z.ZodString;
|
|
204
|
+
prompt: z.ZodString;
|
|
205
|
+
model: z.ZodOptional<z.ZodString>;
|
|
206
|
+
resumeFromCommit: z.ZodOptional<z.ZodString>;
|
|
207
|
+
syncOfResultVersionId: z.ZodOptional<z.ZodString>;
|
|
208
|
+
}, z.core.$strict>>;
|
|
209
|
+
}, z.core.$strict>;
|
|
210
|
+
export type SubmitBatchRunsRequest = z.infer<typeof submitBatchRunsRequestSchema>;
|
|
211
|
+
export declare const batchRunViewSchema: z.ZodObject<{
|
|
212
|
+
runId: z.ZodString;
|
|
213
|
+
batchId: z.ZodString;
|
|
214
|
+
resultVersionId: z.ZodString;
|
|
215
|
+
runtimeId: z.ZodString;
|
|
216
|
+
workspaceId: z.ZodString;
|
|
217
|
+
directoryName: z.ZodString;
|
|
218
|
+
occupancyId: z.ZodOptional<z.ZodString>;
|
|
219
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
220
|
+
operationId: z.ZodOptional<z.ZodString>;
|
|
221
|
+
status: z.ZodEnum<{
|
|
222
|
+
failed: "failed";
|
|
223
|
+
running: "running";
|
|
224
|
+
queued: "queued";
|
|
225
|
+
cancelled: "cancelled";
|
|
226
|
+
reconciling: "reconciling";
|
|
227
|
+
stopping: "stopping";
|
|
228
|
+
succeeded: "succeeded";
|
|
229
|
+
}>;
|
|
230
|
+
phase: z.ZodEnum<{
|
|
231
|
+
prepare: "prepare";
|
|
232
|
+
generate: "generate";
|
|
233
|
+
deliver: "deliver";
|
|
234
|
+
}>;
|
|
235
|
+
resumeFromCommit: z.ZodOptional<z.ZodString>;
|
|
236
|
+
evidence: z.ZodOptional<z.ZodObject<{
|
|
237
|
+
savedCommit: z.ZodOptional<z.ZodString>;
|
|
238
|
+
pushedCommit: z.ZodOptional<z.ZodString>;
|
|
239
|
+
buildDigest: z.ZodOptional<z.ZodString>;
|
|
240
|
+
verified: z.ZodOptional<z.ZodBoolean>;
|
|
241
|
+
previewRef: z.ZodOptional<z.ZodString>;
|
|
242
|
+
}, z.core.$strict>>;
|
|
243
|
+
previousRunId: z.ZodOptional<z.ZodString>;
|
|
244
|
+
autoRecoveryCount: z.ZodNumber;
|
|
245
|
+
cancelRequested: z.ZodBoolean;
|
|
246
|
+
ownerFence: z.ZodNumber;
|
|
247
|
+
revision: z.ZodNumber;
|
|
248
|
+
error: z.ZodOptional<z.ZodString>;
|
|
249
|
+
createdAt: z.ZodString;
|
|
250
|
+
updatedAt: z.ZodString;
|
|
251
|
+
startedAt: z.ZodOptional<z.ZodString>;
|
|
252
|
+
finishedAt: z.ZodOptional<z.ZodString>;
|
|
253
|
+
queuePosition: z.ZodOptional<z.ZodNumber>;
|
|
254
|
+
}, z.core.$strict>;
|
|
255
|
+
export type BatchRunView = z.infer<typeof batchRunViewSchema>;
|
|
256
|
+
/** `POST /internal/batch-runs/:runId/sync` — replace input of a not-yet-started Run. */
|
|
257
|
+
export declare const replaceBatchRunSnapshotSchema: z.ZodObject<{
|
|
258
|
+
snapshot: z.ZodObject<{
|
|
259
|
+
batchId: z.ZodString;
|
|
260
|
+
commitHash: z.ZodString;
|
|
261
|
+
digest: z.ZodString;
|
|
262
|
+
sourceWorkspaceId: z.ZodString;
|
|
263
|
+
sourceDirectoryName: z.ZodString;
|
|
264
|
+
remoteRef: z.ZodOptional<z.ZodString>;
|
|
265
|
+
artifactKey: z.ZodOptional<z.ZodString>;
|
|
266
|
+
frozenAt: z.ZodString;
|
|
267
|
+
}, z.core.$strict>;
|
|
268
|
+
}, z.core.$strict>;
|
|
269
|
+
/**
|
|
270
|
+
* Running, stopping, or reconciling members cannot switch snapshot mid-execution.
|
|
271
|
+
* The caller stores `pending_sync` and applies it after the Run ends.
|
|
272
|
+
*/
|
|
273
|
+
export declare const replaceBatchRunSnapshotResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
274
|
+
status: z.ZodLiteral<"replaced">;
|
|
275
|
+
run: z.ZodObject<{
|
|
276
|
+
runId: z.ZodString;
|
|
277
|
+
batchId: z.ZodString;
|
|
278
|
+
resultVersionId: z.ZodString;
|
|
279
|
+
runtimeId: z.ZodString;
|
|
280
|
+
workspaceId: z.ZodString;
|
|
281
|
+
directoryName: z.ZodString;
|
|
282
|
+
occupancyId: z.ZodOptional<z.ZodString>;
|
|
283
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
284
|
+
operationId: z.ZodOptional<z.ZodString>;
|
|
285
|
+
status: z.ZodEnum<{
|
|
286
|
+
failed: "failed";
|
|
287
|
+
running: "running";
|
|
288
|
+
queued: "queued";
|
|
289
|
+
cancelled: "cancelled";
|
|
290
|
+
reconciling: "reconciling";
|
|
291
|
+
stopping: "stopping";
|
|
292
|
+
succeeded: "succeeded";
|
|
293
|
+
}>;
|
|
294
|
+
phase: z.ZodEnum<{
|
|
295
|
+
prepare: "prepare";
|
|
296
|
+
generate: "generate";
|
|
297
|
+
deliver: "deliver";
|
|
298
|
+
}>;
|
|
299
|
+
resumeFromCommit: z.ZodOptional<z.ZodString>;
|
|
300
|
+
evidence: z.ZodOptional<z.ZodObject<{
|
|
301
|
+
savedCommit: z.ZodOptional<z.ZodString>;
|
|
302
|
+
pushedCommit: z.ZodOptional<z.ZodString>;
|
|
303
|
+
buildDigest: z.ZodOptional<z.ZodString>;
|
|
304
|
+
verified: z.ZodOptional<z.ZodBoolean>;
|
|
305
|
+
previewRef: z.ZodOptional<z.ZodString>;
|
|
306
|
+
}, z.core.$strict>>;
|
|
307
|
+
previousRunId: z.ZodOptional<z.ZodString>;
|
|
308
|
+
autoRecoveryCount: z.ZodNumber;
|
|
309
|
+
cancelRequested: z.ZodBoolean;
|
|
310
|
+
ownerFence: z.ZodNumber;
|
|
311
|
+
revision: z.ZodNumber;
|
|
312
|
+
error: z.ZodOptional<z.ZodString>;
|
|
313
|
+
createdAt: z.ZodString;
|
|
314
|
+
updatedAt: z.ZodString;
|
|
315
|
+
startedAt: z.ZodOptional<z.ZodString>;
|
|
316
|
+
finishedAt: z.ZodOptional<z.ZodString>;
|
|
317
|
+
queuePosition: z.ZodOptional<z.ZodNumber>;
|
|
318
|
+
}, z.core.$strict>;
|
|
319
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
320
|
+
status: z.ZodLiteral<"pending_sync">;
|
|
321
|
+
runId: z.ZodString;
|
|
322
|
+
}, z.core.$strict>], "status">;
|
|
323
|
+
export type ReplaceBatchRunSnapshotResult = z.infer<typeof replaceBatchRunSnapshotResultSchema>;
|
|
324
|
+
/** Batch-level source fact. Present when the event is not about a member Run. */
|
|
325
|
+
export declare const batchSourceEventSubjectSchema: z.ZodObject<{
|
|
326
|
+
batchId: z.ZodString;
|
|
327
|
+
workspaceId: z.ZodString;
|
|
328
|
+
status: z.ZodEnum<{
|
|
329
|
+
ready: "ready";
|
|
330
|
+
failed: "failed";
|
|
331
|
+
lost: "lost";
|
|
332
|
+
}>;
|
|
333
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
334
|
+
batchId: z.ZodString;
|
|
335
|
+
commitHash: z.ZodString;
|
|
336
|
+
digest: z.ZodString;
|
|
337
|
+
sourceWorkspaceId: z.ZodString;
|
|
338
|
+
sourceDirectoryName: z.ZodString;
|
|
339
|
+
remoteRef: z.ZodOptional<z.ZodString>;
|
|
340
|
+
artifactKey: z.ZodOptional<z.ZodString>;
|
|
341
|
+
frozenAt: z.ZodString;
|
|
342
|
+
}, z.core.$strict>>;
|
|
343
|
+
error: z.ZodOptional<z.ZodString>;
|
|
344
|
+
failure: z.ZodOptional<z.ZodObject<{
|
|
345
|
+
code: z.ZodString;
|
|
346
|
+
stage: z.ZodEnum<{
|
|
347
|
+
verify: "verify";
|
|
348
|
+
capture: "capture";
|
|
349
|
+
publish: "publish";
|
|
350
|
+
}>;
|
|
351
|
+
retryable: z.ZodBoolean;
|
|
352
|
+
outcome: z.ZodEnum<{
|
|
353
|
+
unknown: "unknown";
|
|
354
|
+
not_published: "not_published";
|
|
355
|
+
}>;
|
|
356
|
+
diagnosticId: z.ZodOptional<z.ZodString>;
|
|
357
|
+
}, z.core.$strict>>;
|
|
358
|
+
}, z.core.$strict>;
|
|
359
|
+
export type BatchSourceEventSubject = z.infer<typeof batchSourceEventSubjectSchema>;
|
|
360
|
+
export declare const batchRunEventReasonSchema: z.ZodEnum<{
|
|
361
|
+
source_lost: "source_lost";
|
|
362
|
+
status_changed: "status_changed";
|
|
363
|
+
phase_changed: "phase_changed";
|
|
364
|
+
queue_changed: "queue_changed";
|
|
365
|
+
recovered: "recovered";
|
|
366
|
+
source_ready: "source_ready";
|
|
367
|
+
source_failed: "source_failed";
|
|
368
|
+
}>;
|
|
369
|
+
/**
|
|
370
|
+
* Runtime → Business `POST /api/internal/cloud-batches/runs/events`; at-least-once, ordered by revision.
|
|
371
|
+
* A member event carries `run`. A source freeze event carries `source` and no run.
|
|
372
|
+
* `source_ready` / `source_failed` are additive reason values.
|
|
373
|
+
*/
|
|
374
|
+
export declare const batchRunEventSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
375
|
+
run: z.ZodObject<{
|
|
376
|
+
runId: z.ZodString;
|
|
377
|
+
batchId: z.ZodString;
|
|
378
|
+
resultVersionId: z.ZodString;
|
|
379
|
+
runtimeId: z.ZodString;
|
|
380
|
+
workspaceId: z.ZodString;
|
|
381
|
+
directoryName: z.ZodString;
|
|
382
|
+
occupancyId: z.ZodOptional<z.ZodString>;
|
|
383
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
384
|
+
operationId: z.ZodOptional<z.ZodString>;
|
|
385
|
+
status: z.ZodEnum<{
|
|
386
|
+
failed: "failed";
|
|
387
|
+
running: "running";
|
|
388
|
+
queued: "queued";
|
|
389
|
+
cancelled: "cancelled";
|
|
390
|
+
reconciling: "reconciling";
|
|
391
|
+
stopping: "stopping";
|
|
392
|
+
succeeded: "succeeded";
|
|
393
|
+
}>;
|
|
394
|
+
phase: z.ZodEnum<{
|
|
395
|
+
prepare: "prepare";
|
|
396
|
+
generate: "generate";
|
|
397
|
+
deliver: "deliver";
|
|
398
|
+
}>;
|
|
399
|
+
resumeFromCommit: z.ZodOptional<z.ZodString>;
|
|
400
|
+
evidence: z.ZodOptional<z.ZodObject<{
|
|
401
|
+
savedCommit: z.ZodOptional<z.ZodString>;
|
|
402
|
+
pushedCommit: z.ZodOptional<z.ZodString>;
|
|
403
|
+
buildDigest: z.ZodOptional<z.ZodString>;
|
|
404
|
+
verified: z.ZodOptional<z.ZodBoolean>;
|
|
405
|
+
previewRef: z.ZodOptional<z.ZodString>;
|
|
406
|
+
}, z.core.$strict>>;
|
|
407
|
+
previousRunId: z.ZodOptional<z.ZodString>;
|
|
408
|
+
autoRecoveryCount: z.ZodNumber;
|
|
409
|
+
cancelRequested: z.ZodBoolean;
|
|
410
|
+
ownerFence: z.ZodNumber;
|
|
411
|
+
revision: z.ZodNumber;
|
|
412
|
+
error: z.ZodOptional<z.ZodString>;
|
|
413
|
+
createdAt: z.ZodString;
|
|
414
|
+
updatedAt: z.ZodString;
|
|
415
|
+
startedAt: z.ZodOptional<z.ZodString>;
|
|
416
|
+
finishedAt: z.ZodOptional<z.ZodString>;
|
|
417
|
+
queuePosition: z.ZodOptional<z.ZodNumber>;
|
|
418
|
+
}, z.core.$strict>;
|
|
419
|
+
reason: z.ZodEnum<{
|
|
420
|
+
source_lost: "source_lost";
|
|
421
|
+
status_changed: "status_changed";
|
|
422
|
+
phase_changed: "phase_changed";
|
|
423
|
+
queue_changed: "queue_changed";
|
|
424
|
+
recovered: "recovered";
|
|
425
|
+
source_ready: "source_ready";
|
|
426
|
+
source_failed: "source_failed";
|
|
427
|
+
}>;
|
|
428
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
429
|
+
source: z.ZodObject<{
|
|
430
|
+
batchId: z.ZodString;
|
|
431
|
+
workspaceId: z.ZodString;
|
|
432
|
+
status: z.ZodEnum<{
|
|
433
|
+
ready: "ready";
|
|
434
|
+
failed: "failed";
|
|
435
|
+
lost: "lost";
|
|
436
|
+
}>;
|
|
437
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
438
|
+
batchId: z.ZodString;
|
|
439
|
+
commitHash: z.ZodString;
|
|
440
|
+
digest: z.ZodString;
|
|
441
|
+
sourceWorkspaceId: z.ZodString;
|
|
442
|
+
sourceDirectoryName: z.ZodString;
|
|
443
|
+
remoteRef: z.ZodOptional<z.ZodString>;
|
|
444
|
+
artifactKey: z.ZodOptional<z.ZodString>;
|
|
445
|
+
frozenAt: z.ZodString;
|
|
446
|
+
}, z.core.$strict>>;
|
|
447
|
+
error: z.ZodOptional<z.ZodString>;
|
|
448
|
+
failure: z.ZodOptional<z.ZodObject<{
|
|
449
|
+
code: z.ZodString;
|
|
450
|
+
stage: z.ZodEnum<{
|
|
451
|
+
verify: "verify";
|
|
452
|
+
capture: "capture";
|
|
453
|
+
publish: "publish";
|
|
454
|
+
}>;
|
|
455
|
+
retryable: z.ZodBoolean;
|
|
456
|
+
outcome: z.ZodEnum<{
|
|
457
|
+
unknown: "unknown";
|
|
458
|
+
not_published: "not_published";
|
|
459
|
+
}>;
|
|
460
|
+
diagnosticId: z.ZodOptional<z.ZodString>;
|
|
461
|
+
}, z.core.$strict>>;
|
|
462
|
+
}, z.core.$strict>;
|
|
463
|
+
reason: z.ZodEnum<{
|
|
464
|
+
source_lost: "source_lost";
|
|
465
|
+
source_ready: "source_ready";
|
|
466
|
+
source_failed: "source_failed";
|
|
467
|
+
}>;
|
|
468
|
+
}, z.core.$strict>]>;
|
|
469
|
+
export type BatchRunEvent = z.infer<typeof batchRunEventSchema>;
|
|
470
|
+
export declare const batchSourceStatusSchema: z.ZodEnum<{
|
|
471
|
+
ready: "ready";
|
|
472
|
+
failed: "failed";
|
|
473
|
+
freezing: "freezing";
|
|
474
|
+
waiting_source_idle: "waiting_source_idle";
|
|
475
|
+
lost: "lost";
|
|
476
|
+
}>;
|
|
477
|
+
export type BatchSourceStatus = z.infer<typeof batchSourceStatusSchema>;
|
|
478
|
+
export declare const batchMemberDisplayStatusSchema: z.ZodEnum<{
|
|
479
|
+
failed: "failed";
|
|
480
|
+
queued: "queued";
|
|
481
|
+
cancelled: "cancelled";
|
|
482
|
+
generating: "generating";
|
|
483
|
+
preparing: "preparing";
|
|
484
|
+
reconciling: "reconciling";
|
|
485
|
+
stopping: "stopping";
|
|
486
|
+
succeeded: "succeeded";
|
|
487
|
+
pending_sync: "pending_sync";
|
|
488
|
+
source_failed: "source_failed";
|
|
489
|
+
waiting_source: "waiting_source";
|
|
490
|
+
delivering: "delivering";
|
|
491
|
+
}>;
|
|
492
|
+
export type BatchMemberDisplayStatus = z.infer<typeof batchMemberDisplayStatusSchema>;
|
|
493
|
+
export declare const batchMemberViewSchema: z.ZodObject<{
|
|
494
|
+
resultVersionId: z.ZodString;
|
|
495
|
+
ordinal: z.ZodNumber;
|
|
496
|
+
prompt: z.ZodString;
|
|
497
|
+
status: z.ZodEnum<{
|
|
498
|
+
failed: "failed";
|
|
499
|
+
queued: "queued";
|
|
500
|
+
cancelled: "cancelled";
|
|
501
|
+
generating: "generating";
|
|
502
|
+
preparing: "preparing";
|
|
503
|
+
reconciling: "reconciling";
|
|
504
|
+
stopping: "stopping";
|
|
505
|
+
succeeded: "succeeded";
|
|
506
|
+
pending_sync: "pending_sync";
|
|
507
|
+
source_failed: "source_failed";
|
|
508
|
+
waiting_source: "waiting_source";
|
|
509
|
+
delivering: "delivering";
|
|
510
|
+
}>;
|
|
511
|
+
queuePosition: z.ZodOptional<z.ZodNumber>;
|
|
512
|
+
startedAt: z.ZodOptional<z.ZodString>;
|
|
513
|
+
finishedAt: z.ZodOptional<z.ZodString>;
|
|
514
|
+
directoryName: z.ZodOptional<z.ZodString>;
|
|
515
|
+
remixId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
516
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
517
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
518
|
+
previewRef: z.ZodOptional<z.ZodString>;
|
|
519
|
+
previewStale: z.ZodOptional<z.ZodBoolean>;
|
|
520
|
+
error: z.ZodOptional<z.ZodString>;
|
|
521
|
+
}, z.core.$strict>;
|
|
522
|
+
export type BatchMemberView = z.infer<typeof batchMemberViewSchema>;
|
|
523
|
+
export declare const batchViewSchema: z.ZodObject<{
|
|
524
|
+
batchId: z.ZodString;
|
|
525
|
+
workspaceId: z.ZodString;
|
|
526
|
+
sourceDirectoryName: z.ZodString;
|
|
527
|
+
sourceStatus: z.ZodEnum<{
|
|
528
|
+
ready: "ready";
|
|
529
|
+
failed: "failed";
|
|
530
|
+
freezing: "freezing";
|
|
531
|
+
waiting_source_idle: "waiting_source_idle";
|
|
532
|
+
lost: "lost";
|
|
533
|
+
}>;
|
|
534
|
+
sourceError: z.ZodOptional<z.ZodObject<{
|
|
535
|
+
code: z.ZodString;
|
|
536
|
+
stage: z.ZodEnum<{
|
|
537
|
+
verify: "verify";
|
|
538
|
+
capture: "capture";
|
|
539
|
+
publish: "publish";
|
|
540
|
+
}>;
|
|
541
|
+
retryable: z.ZodBoolean;
|
|
542
|
+
outcome: z.ZodEnum<{
|
|
543
|
+
unknown: "unknown";
|
|
544
|
+
not_published: "not_published";
|
|
545
|
+
}>;
|
|
546
|
+
diagnosticId: z.ZodOptional<z.ZodString>;
|
|
547
|
+
}, z.core.$strict>>;
|
|
548
|
+
cancelRequested: z.ZodBoolean;
|
|
549
|
+
counts: z.ZodObject<{
|
|
550
|
+
queued: z.ZodNumber;
|
|
551
|
+
running: z.ZodNumber;
|
|
552
|
+
succeeded: z.ZodNumber;
|
|
553
|
+
failed: z.ZodNumber;
|
|
554
|
+
cancelled: z.ZodNumber;
|
|
555
|
+
}, z.core.$strict>;
|
|
556
|
+
members: z.ZodArray<z.ZodObject<{
|
|
557
|
+
resultVersionId: z.ZodString;
|
|
558
|
+
ordinal: z.ZodNumber;
|
|
559
|
+
prompt: z.ZodString;
|
|
560
|
+
status: z.ZodEnum<{
|
|
561
|
+
failed: "failed";
|
|
562
|
+
queued: "queued";
|
|
563
|
+
cancelled: "cancelled";
|
|
564
|
+
generating: "generating";
|
|
565
|
+
preparing: "preparing";
|
|
566
|
+
reconciling: "reconciling";
|
|
567
|
+
stopping: "stopping";
|
|
568
|
+
succeeded: "succeeded";
|
|
569
|
+
pending_sync: "pending_sync";
|
|
570
|
+
source_failed: "source_failed";
|
|
571
|
+
waiting_source: "waiting_source";
|
|
572
|
+
delivering: "delivering";
|
|
573
|
+
}>;
|
|
574
|
+
queuePosition: z.ZodOptional<z.ZodNumber>;
|
|
575
|
+
startedAt: z.ZodOptional<z.ZodString>;
|
|
576
|
+
finishedAt: z.ZodOptional<z.ZodString>;
|
|
577
|
+
directoryName: z.ZodOptional<z.ZodString>;
|
|
578
|
+
remixId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
579
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
580
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
581
|
+
previewRef: z.ZodOptional<z.ZodString>;
|
|
582
|
+
previewStale: z.ZodOptional<z.ZodBoolean>;
|
|
583
|
+
error: z.ZodOptional<z.ZodString>;
|
|
584
|
+
}, z.core.$strict>>;
|
|
585
|
+
createdAt: z.ZodString;
|
|
586
|
+
}, z.core.$strict>;
|
|
587
|
+
export type BatchView = z.infer<typeof batchViewSchema>;
|
|
588
|
+
export declare const batchCreateAcceptedSchema: z.ZodObject<{
|
|
589
|
+
flowVersion: z.ZodLiteral<"v2">;
|
|
590
|
+
accepted: z.ZodLiteral<true>;
|
|
591
|
+
batchId: z.ZodString;
|
|
592
|
+
sourceStatus: z.ZodEnum<{
|
|
593
|
+
ready: "ready";
|
|
594
|
+
failed: "failed";
|
|
595
|
+
freezing: "freezing";
|
|
596
|
+
waiting_source_idle: "waiting_source_idle";
|
|
597
|
+
lost: "lost";
|
|
598
|
+
}>;
|
|
599
|
+
view: z.ZodObject<{
|
|
600
|
+
batchId: z.ZodString;
|
|
601
|
+
workspaceId: z.ZodString;
|
|
602
|
+
sourceDirectoryName: z.ZodString;
|
|
603
|
+
sourceStatus: z.ZodEnum<{
|
|
604
|
+
ready: "ready";
|
|
605
|
+
failed: "failed";
|
|
606
|
+
freezing: "freezing";
|
|
607
|
+
waiting_source_idle: "waiting_source_idle";
|
|
608
|
+
lost: "lost";
|
|
609
|
+
}>;
|
|
610
|
+
sourceError: z.ZodOptional<z.ZodObject<{
|
|
611
|
+
code: z.ZodString;
|
|
612
|
+
stage: z.ZodEnum<{
|
|
613
|
+
verify: "verify";
|
|
614
|
+
capture: "capture";
|
|
615
|
+
publish: "publish";
|
|
616
|
+
}>;
|
|
617
|
+
retryable: z.ZodBoolean;
|
|
618
|
+
outcome: z.ZodEnum<{
|
|
619
|
+
unknown: "unknown";
|
|
620
|
+
not_published: "not_published";
|
|
621
|
+
}>;
|
|
622
|
+
diagnosticId: z.ZodOptional<z.ZodString>;
|
|
623
|
+
}, z.core.$strict>>;
|
|
624
|
+
cancelRequested: z.ZodBoolean;
|
|
625
|
+
counts: z.ZodObject<{
|
|
626
|
+
queued: z.ZodNumber;
|
|
627
|
+
running: z.ZodNumber;
|
|
628
|
+
succeeded: z.ZodNumber;
|
|
629
|
+
failed: z.ZodNumber;
|
|
630
|
+
cancelled: z.ZodNumber;
|
|
631
|
+
}, z.core.$strict>;
|
|
632
|
+
members: z.ZodArray<z.ZodObject<{
|
|
633
|
+
resultVersionId: z.ZodString;
|
|
634
|
+
ordinal: z.ZodNumber;
|
|
635
|
+
prompt: z.ZodString;
|
|
636
|
+
status: z.ZodEnum<{
|
|
637
|
+
failed: "failed";
|
|
638
|
+
queued: "queued";
|
|
639
|
+
cancelled: "cancelled";
|
|
640
|
+
generating: "generating";
|
|
641
|
+
preparing: "preparing";
|
|
642
|
+
reconciling: "reconciling";
|
|
643
|
+
stopping: "stopping";
|
|
644
|
+
succeeded: "succeeded";
|
|
645
|
+
pending_sync: "pending_sync";
|
|
646
|
+
source_failed: "source_failed";
|
|
647
|
+
waiting_source: "waiting_source";
|
|
648
|
+
delivering: "delivering";
|
|
649
|
+
}>;
|
|
650
|
+
queuePosition: z.ZodOptional<z.ZodNumber>;
|
|
651
|
+
startedAt: z.ZodOptional<z.ZodString>;
|
|
652
|
+
finishedAt: z.ZodOptional<z.ZodString>;
|
|
653
|
+
directoryName: z.ZodOptional<z.ZodString>;
|
|
654
|
+
remixId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
655
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
656
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
657
|
+
previewRef: z.ZodOptional<z.ZodString>;
|
|
658
|
+
previewStale: z.ZodOptional<z.ZodBoolean>;
|
|
659
|
+
error: z.ZodOptional<z.ZodString>;
|
|
660
|
+
}, z.core.$strict>>;
|
|
661
|
+
createdAt: z.ZodString;
|
|
662
|
+
}, z.core.$strict>;
|
|
663
|
+
}, z.core.$strict>;
|
|
664
|
+
export type BatchCreateAccepted = z.infer<typeof batchCreateAcceptedSchema>;
|
|
665
|
+
export declare function batchMemberDisplayStatus(run: Pick<z.infer<typeof batchRunSchema>, 'status' | 'phase'> | undefined, source: BatchSourceStatus, pendingSync?: boolean): BatchMemberDisplayStatus;
|
|
666
|
+
/** `GET /runtime/workspaces/:workspaceId/execution-queue` — open occupancies of the caller's sandbox. */
|
|
667
|
+
export declare const executionQueueEntrySchema: z.ZodObject<{
|
|
668
|
+
occupancyId: z.ZodString;
|
|
669
|
+
workspaceId: z.ZodString;
|
|
670
|
+
directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
|
|
671
|
+
source: z.ZodEnum<{
|
|
672
|
+
session_turn: "session_turn";
|
|
673
|
+
preview_build: "preview_build";
|
|
674
|
+
batch_run: "batch_run";
|
|
675
|
+
}>;
|
|
676
|
+
status: z.ZodEnum<{
|
|
677
|
+
queued: "queued";
|
|
678
|
+
active: "active";
|
|
679
|
+
waiting_user: "waiting_user";
|
|
680
|
+
reconciling: "reconciling";
|
|
681
|
+
}>;
|
|
682
|
+
operationId: z.ZodOptional<z.ZodString>;
|
|
683
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
684
|
+
queuePosition: z.ZodOptional<z.ZodNumber>;
|
|
685
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
686
|
+
}, z.core.$strict>;
|
|
687
|
+
export type ExecutionQueueEntry = z.infer<typeof executionQueueEntrySchema>;
|
|
688
|
+
export declare const executionQueueViewSchema: z.ZodObject<{
|
|
689
|
+
workspaceMax: z.ZodNumber;
|
|
690
|
+
sandboxMax: z.ZodNumber;
|
|
691
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
692
|
+
occupancyId: z.ZodString;
|
|
693
|
+
workspaceId: z.ZodString;
|
|
694
|
+
directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
|
|
695
|
+
source: z.ZodEnum<{
|
|
696
|
+
session_turn: "session_turn";
|
|
697
|
+
preview_build: "preview_build";
|
|
698
|
+
batch_run: "batch_run";
|
|
699
|
+
}>;
|
|
700
|
+
status: z.ZodEnum<{
|
|
701
|
+
queued: "queued";
|
|
702
|
+
active: "active";
|
|
703
|
+
waiting_user: "waiting_user";
|
|
704
|
+
reconciling: "reconciling";
|
|
705
|
+
}>;
|
|
706
|
+
operationId: z.ZodOptional<z.ZodString>;
|
|
707
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
708
|
+
queuePosition: z.ZodOptional<z.ZodNumber>;
|
|
709
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
710
|
+
}, z.core.$strict>>;
|
|
711
|
+
}, z.core.$strict>;
|
|
712
|
+
export type ExecutionQueueView = z.infer<typeof executionQueueViewSchema>;
|
|
713
|
+
//# sourceMappingURL=batch-runs.d.ts.map
|