@playcraft/common 0.1.54 → 0.1.56-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 +242 -0
- package/dist/cloud-workspace/runtime/artifacts.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/artifacts.js +107 -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-tools.d.ts +320 -0
- package/dist/cloud-workspace/runtime/asset-generation-tools.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/asset-generation-tools.js +31 -0
- package/dist/cloud-workspace/runtime/asset-generation-tools.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 +931 -0
- package/dist/cloud-workspace/runtime/asset-generation.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/asset-generation.js +180 -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 +82 -0
- package/dist/cloud-workspace/runtime/index.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/index.js +82 -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 +668 -0
- package/dist/cloud-workspace/runtime/operations.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/operations.js +300 -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 +165 -0
- package/dist/cloud-workspace/runtime/previews.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/previews.js +68 -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/cloud-workspace/runtime/workspace-worktree.d.ts +17 -0
- package/dist/cloud-workspace/runtime/workspace-worktree.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/workspace-worktree.js +13 -0
- package/dist/cloud-workspace/runtime/workspace-worktree.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,211 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const runtimeProbeStateSchema: z.ZodObject<{
|
|
3
|
+
status: z.ZodEnum<{
|
|
4
|
+
ready: "ready";
|
|
5
|
+
unavailable: "unavailable";
|
|
6
|
+
unverified: "unverified";
|
|
7
|
+
}>;
|
|
8
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
9
|
+
endpoint_offline: "endpoint_offline";
|
|
10
|
+
endpoint_timeout: "endpoint_timeout";
|
|
11
|
+
endpoint_unreachable: "endpoint_unreachable";
|
|
12
|
+
endpoint_rejected: "endpoint_rejected";
|
|
13
|
+
invalid_probe_response: "invalid_probe_response";
|
|
14
|
+
insecure_endpoint: "insecure_endpoint";
|
|
15
|
+
endpoint_not_configured: "endpoint_not_configured";
|
|
16
|
+
probe_unsupported: "probe_unsupported";
|
|
17
|
+
probe_unreachable: "probe_unreachable";
|
|
18
|
+
probe_identity_mismatch: "probe_identity_mismatch";
|
|
19
|
+
adapter_not_started: "adapter_not_started";
|
|
20
|
+
runtime_destroyed: "runtime_destroyed";
|
|
21
|
+
runtime_not_ready: "runtime_not_ready";
|
|
22
|
+
callback_unavailable: "callback_unavailable";
|
|
23
|
+
model_proxy_unavailable: "model_proxy_unavailable";
|
|
24
|
+
workspace_not_registered: "workspace_not_registered";
|
|
25
|
+
model_config_required: "model_config_required";
|
|
26
|
+
model_credential_unavailable: "model_credential_unavailable";
|
|
27
|
+
}>>;
|
|
28
|
+
}, z.core.$strict>;
|
|
29
|
+
export declare const runtimeConnectivitySchema: z.ZodObject<{
|
|
30
|
+
checkedAt: z.ZodString;
|
|
31
|
+
callback: z.ZodObject<{
|
|
32
|
+
status: z.ZodEnum<{
|
|
33
|
+
ready: "ready";
|
|
34
|
+
unavailable: "unavailable";
|
|
35
|
+
unverified: "unverified";
|
|
36
|
+
}>;
|
|
37
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
38
|
+
endpoint_offline: "endpoint_offline";
|
|
39
|
+
endpoint_timeout: "endpoint_timeout";
|
|
40
|
+
endpoint_unreachable: "endpoint_unreachable";
|
|
41
|
+
endpoint_rejected: "endpoint_rejected";
|
|
42
|
+
invalid_probe_response: "invalid_probe_response";
|
|
43
|
+
insecure_endpoint: "insecure_endpoint";
|
|
44
|
+
endpoint_not_configured: "endpoint_not_configured";
|
|
45
|
+
probe_unsupported: "probe_unsupported";
|
|
46
|
+
probe_unreachable: "probe_unreachable";
|
|
47
|
+
probe_identity_mismatch: "probe_identity_mismatch";
|
|
48
|
+
adapter_not_started: "adapter_not_started";
|
|
49
|
+
runtime_destroyed: "runtime_destroyed";
|
|
50
|
+
runtime_not_ready: "runtime_not_ready";
|
|
51
|
+
callback_unavailable: "callback_unavailable";
|
|
52
|
+
model_proxy_unavailable: "model_proxy_unavailable";
|
|
53
|
+
workspace_not_registered: "workspace_not_registered";
|
|
54
|
+
model_config_required: "model_config_required";
|
|
55
|
+
model_credential_unavailable: "model_credential_unavailable";
|
|
56
|
+
}>>;
|
|
57
|
+
}, z.core.$strict>;
|
|
58
|
+
modelProxy: z.ZodObject<{
|
|
59
|
+
status: z.ZodEnum<{
|
|
60
|
+
ready: "ready";
|
|
61
|
+
unavailable: "unavailable";
|
|
62
|
+
unverified: "unverified";
|
|
63
|
+
}>;
|
|
64
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
65
|
+
endpoint_offline: "endpoint_offline";
|
|
66
|
+
endpoint_timeout: "endpoint_timeout";
|
|
67
|
+
endpoint_unreachable: "endpoint_unreachable";
|
|
68
|
+
endpoint_rejected: "endpoint_rejected";
|
|
69
|
+
invalid_probe_response: "invalid_probe_response";
|
|
70
|
+
insecure_endpoint: "insecure_endpoint";
|
|
71
|
+
endpoint_not_configured: "endpoint_not_configured";
|
|
72
|
+
probe_unsupported: "probe_unsupported";
|
|
73
|
+
probe_unreachable: "probe_unreachable";
|
|
74
|
+
probe_identity_mismatch: "probe_identity_mismatch";
|
|
75
|
+
adapter_not_started: "adapter_not_started";
|
|
76
|
+
runtime_destroyed: "runtime_destroyed";
|
|
77
|
+
runtime_not_ready: "runtime_not_ready";
|
|
78
|
+
callback_unavailable: "callback_unavailable";
|
|
79
|
+
model_proxy_unavailable: "model_proxy_unavailable";
|
|
80
|
+
workspace_not_registered: "workspace_not_registered";
|
|
81
|
+
model_config_required: "model_config_required";
|
|
82
|
+
model_credential_unavailable: "model_credential_unavailable";
|
|
83
|
+
}>>;
|
|
84
|
+
}, z.core.$strict>;
|
|
85
|
+
conversation: z.ZodObject<{
|
|
86
|
+
status: z.ZodEnum<{
|
|
87
|
+
ready: "ready";
|
|
88
|
+
unavailable: "unavailable";
|
|
89
|
+
unverified: "unverified";
|
|
90
|
+
}>;
|
|
91
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
92
|
+
endpoint_offline: "endpoint_offline";
|
|
93
|
+
endpoint_timeout: "endpoint_timeout";
|
|
94
|
+
endpoint_unreachable: "endpoint_unreachable";
|
|
95
|
+
endpoint_rejected: "endpoint_rejected";
|
|
96
|
+
invalid_probe_response: "invalid_probe_response";
|
|
97
|
+
insecure_endpoint: "insecure_endpoint";
|
|
98
|
+
endpoint_not_configured: "endpoint_not_configured";
|
|
99
|
+
probe_unsupported: "probe_unsupported";
|
|
100
|
+
probe_unreachable: "probe_unreachable";
|
|
101
|
+
probe_identity_mismatch: "probe_identity_mismatch";
|
|
102
|
+
adapter_not_started: "adapter_not_started";
|
|
103
|
+
runtime_destroyed: "runtime_destroyed";
|
|
104
|
+
runtime_not_ready: "runtime_not_ready";
|
|
105
|
+
callback_unavailable: "callback_unavailable";
|
|
106
|
+
model_proxy_unavailable: "model_proxy_unavailable";
|
|
107
|
+
workspace_not_registered: "workspace_not_registered";
|
|
108
|
+
model_config_required: "model_config_required";
|
|
109
|
+
model_credential_unavailable: "model_credential_unavailable";
|
|
110
|
+
}>>;
|
|
111
|
+
}, z.core.$strict>;
|
|
112
|
+
}, z.core.$strict>;
|
|
113
|
+
export declare const runtimeConnectivityDocumentSchema: z.ZodObject<{
|
|
114
|
+
checkedAt: z.ZodString;
|
|
115
|
+
callback: z.ZodObject<{
|
|
116
|
+
status: z.ZodEnum<{
|
|
117
|
+
ready: "ready";
|
|
118
|
+
unavailable: "unavailable";
|
|
119
|
+
unverified: "unverified";
|
|
120
|
+
}>;
|
|
121
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
122
|
+
endpoint_offline: "endpoint_offline";
|
|
123
|
+
endpoint_timeout: "endpoint_timeout";
|
|
124
|
+
endpoint_unreachable: "endpoint_unreachable";
|
|
125
|
+
endpoint_rejected: "endpoint_rejected";
|
|
126
|
+
invalid_probe_response: "invalid_probe_response";
|
|
127
|
+
insecure_endpoint: "insecure_endpoint";
|
|
128
|
+
endpoint_not_configured: "endpoint_not_configured";
|
|
129
|
+
probe_unsupported: "probe_unsupported";
|
|
130
|
+
probe_unreachable: "probe_unreachable";
|
|
131
|
+
probe_identity_mismatch: "probe_identity_mismatch";
|
|
132
|
+
adapter_not_started: "adapter_not_started";
|
|
133
|
+
runtime_destroyed: "runtime_destroyed";
|
|
134
|
+
runtime_not_ready: "runtime_not_ready";
|
|
135
|
+
callback_unavailable: "callback_unavailable";
|
|
136
|
+
model_proxy_unavailable: "model_proxy_unavailable";
|
|
137
|
+
workspace_not_registered: "workspace_not_registered";
|
|
138
|
+
model_config_required: "model_config_required";
|
|
139
|
+
model_credential_unavailable: "model_credential_unavailable";
|
|
140
|
+
}>>;
|
|
141
|
+
}, z.core.$strict>;
|
|
142
|
+
modelProxy: z.ZodObject<{
|
|
143
|
+
status: z.ZodEnum<{
|
|
144
|
+
ready: "ready";
|
|
145
|
+
unavailable: "unavailable";
|
|
146
|
+
unverified: "unverified";
|
|
147
|
+
}>;
|
|
148
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
149
|
+
endpoint_offline: "endpoint_offline";
|
|
150
|
+
endpoint_timeout: "endpoint_timeout";
|
|
151
|
+
endpoint_unreachable: "endpoint_unreachable";
|
|
152
|
+
endpoint_rejected: "endpoint_rejected";
|
|
153
|
+
invalid_probe_response: "invalid_probe_response";
|
|
154
|
+
insecure_endpoint: "insecure_endpoint";
|
|
155
|
+
endpoint_not_configured: "endpoint_not_configured";
|
|
156
|
+
probe_unsupported: "probe_unsupported";
|
|
157
|
+
probe_unreachable: "probe_unreachable";
|
|
158
|
+
probe_identity_mismatch: "probe_identity_mismatch";
|
|
159
|
+
adapter_not_started: "adapter_not_started";
|
|
160
|
+
runtime_destroyed: "runtime_destroyed";
|
|
161
|
+
runtime_not_ready: "runtime_not_ready";
|
|
162
|
+
callback_unavailable: "callback_unavailable";
|
|
163
|
+
model_proxy_unavailable: "model_proxy_unavailable";
|
|
164
|
+
workspace_not_registered: "workspace_not_registered";
|
|
165
|
+
model_config_required: "model_config_required";
|
|
166
|
+
model_credential_unavailable: "model_credential_unavailable";
|
|
167
|
+
}>>;
|
|
168
|
+
}, z.core.$strict>;
|
|
169
|
+
conversation: z.ZodObject<{
|
|
170
|
+
status: z.ZodEnum<{
|
|
171
|
+
ready: "ready";
|
|
172
|
+
unavailable: "unavailable";
|
|
173
|
+
unverified: "unverified";
|
|
174
|
+
}>;
|
|
175
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
176
|
+
endpoint_offline: "endpoint_offline";
|
|
177
|
+
endpoint_timeout: "endpoint_timeout";
|
|
178
|
+
endpoint_unreachable: "endpoint_unreachable";
|
|
179
|
+
endpoint_rejected: "endpoint_rejected";
|
|
180
|
+
invalid_probe_response: "invalid_probe_response";
|
|
181
|
+
insecure_endpoint: "insecure_endpoint";
|
|
182
|
+
endpoint_not_configured: "endpoint_not_configured";
|
|
183
|
+
probe_unsupported: "probe_unsupported";
|
|
184
|
+
probe_unreachable: "probe_unreachable";
|
|
185
|
+
probe_identity_mismatch: "probe_identity_mismatch";
|
|
186
|
+
adapter_not_started: "adapter_not_started";
|
|
187
|
+
runtime_destroyed: "runtime_destroyed";
|
|
188
|
+
runtime_not_ready: "runtime_not_ready";
|
|
189
|
+
callback_unavailable: "callback_unavailable";
|
|
190
|
+
model_proxy_unavailable: "model_proxy_unavailable";
|
|
191
|
+
workspace_not_registered: "workspace_not_registered";
|
|
192
|
+
model_config_required: "model_config_required";
|
|
193
|
+
model_credential_unavailable: "model_credential_unavailable";
|
|
194
|
+
}>>;
|
|
195
|
+
}, z.core.$strict>;
|
|
196
|
+
runtimeId: z.ZodString;
|
|
197
|
+
environment: z.ZodString;
|
|
198
|
+
workspaceId: z.ZodString;
|
|
199
|
+
generation: z.ZodNumber;
|
|
200
|
+
runtimeEpoch: z.ZodNumber;
|
|
201
|
+
}, z.core.$strict>;
|
|
202
|
+
export type RuntimeProbeState = z.infer<typeof runtimeProbeStateSchema>;
|
|
203
|
+
export type RuntimeConnectivity = z.infer<typeof runtimeConnectivitySchema>;
|
|
204
|
+
export type RuntimeConnectivityDocument = z.infer<typeof runtimeConnectivityDocumentSchema>;
|
|
205
|
+
/** Workspace access is independent of model and callback connectivity. */
|
|
206
|
+
export type WorkspaceAccess = {
|
|
207
|
+
status: 'ready' | 'pending' | 'unavailable' | 'unverified';
|
|
208
|
+
reason?: RuntimeProbeState['reason'] | 'workspace_not_prepared' | 'workspace_directory_not_registered' | 'workspace_permission_denied' | 'workspace_access_failed';
|
|
209
|
+
checkedAt: string;
|
|
210
|
+
};
|
|
211
|
+
//# sourceMappingURL=connectivity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connectivity.d.ts","sourceRoot":"","sources":["../../../src/cloud-workspace/runtime/connectivity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;kBA0BzB,CAAC;AAEZ,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAO3B,CAAC;AAEZ,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAQnC,CAAC;AAEZ,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAE5F,0EAA0E;AAC1E,MAAM,MAAM,eAAe,GAAG;IAC5B,MAAM,EAAE,OAAO,GAAG,SAAS,GAAG,aAAa,GAAG,YAAY,CAAC;IAC3D,MAAM,CAAC,EAAE,iBAAiB,CAAC,QAAQ,CAAC,GAAG,wBAAwB,GAAG,oCAAoC,GAClG,6BAA6B,GAAG,yBAAyB,CAAC;IAC9D,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export const runtimeProbeStateSchema = z
|
|
3
|
+
.object({
|
|
4
|
+
status: z.enum(['ready', 'unavailable', 'unverified']),
|
|
5
|
+
reason: z
|
|
6
|
+
.enum([
|
|
7
|
+
'endpoint_offline',
|
|
8
|
+
'endpoint_timeout',
|
|
9
|
+
'endpoint_unreachable',
|
|
10
|
+
'endpoint_rejected',
|
|
11
|
+
'invalid_probe_response',
|
|
12
|
+
'insecure_endpoint',
|
|
13
|
+
'endpoint_not_configured',
|
|
14
|
+
'probe_unsupported',
|
|
15
|
+
'probe_unreachable',
|
|
16
|
+
'probe_identity_mismatch',
|
|
17
|
+
'adapter_not_started',
|
|
18
|
+
'runtime_destroyed',
|
|
19
|
+
'runtime_not_ready',
|
|
20
|
+
'callback_unavailable',
|
|
21
|
+
'model_proxy_unavailable',
|
|
22
|
+
'workspace_not_registered',
|
|
23
|
+
'model_config_required',
|
|
24
|
+
'model_credential_unavailable',
|
|
25
|
+
])
|
|
26
|
+
.optional(),
|
|
27
|
+
})
|
|
28
|
+
.strict();
|
|
29
|
+
export const runtimeConnectivitySchema = z
|
|
30
|
+
.object({
|
|
31
|
+
checkedAt: z.string().datetime(),
|
|
32
|
+
callback: runtimeProbeStateSchema,
|
|
33
|
+
modelProxy: runtimeProbeStateSchema,
|
|
34
|
+
conversation: runtimeProbeStateSchema,
|
|
35
|
+
})
|
|
36
|
+
.strict();
|
|
37
|
+
export const runtimeConnectivityDocumentSchema = runtimeConnectivitySchema
|
|
38
|
+
.extend({
|
|
39
|
+
runtimeId: z.string().min(1).max(128),
|
|
40
|
+
environment: z.string().min(1).max(128),
|
|
41
|
+
workspaceId: z.string().uuid(),
|
|
42
|
+
generation: z.number().int().nonnegative(),
|
|
43
|
+
runtimeEpoch: z.number().int().nonnegative(),
|
|
44
|
+
})
|
|
45
|
+
.strict();
|
|
46
|
+
//# sourceMappingURL=connectivity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connectivity.js","sourceRoot":"","sources":["../../../src/cloud-workspace/runtime/connectivity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC;KACrC,MAAM,CAAC;IACN,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,aAAa,EAAE,YAAY,CAAC,CAAC;IACtD,MAAM,EAAE,CAAC;SACN,IAAI,CAAC;QACJ,kBAAkB;QAClB,kBAAkB;QAClB,sBAAsB;QACtB,mBAAmB;QACnB,wBAAwB;QACxB,mBAAmB;QACnB,yBAAyB;QACzB,mBAAmB;QACnB,mBAAmB;QACnB,yBAAyB;QACzB,qBAAqB;QACrB,mBAAmB;QACnB,mBAAmB;QACnB,sBAAsB;QACtB,yBAAyB;QACzB,0BAA0B;QAC1B,uBAAuB;QACvB,8BAA8B;KAC/B,CAAC;SACD,QAAQ,EAAE;CACd,CAAC;KACD,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC;KACvC,MAAM,CAAC;IACN,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,QAAQ,EAAE,uBAAuB;IACjC,UAAU,EAAE,uBAAuB;IACnC,YAAY,EAAE,uBAAuB;CACtC,CAAC;KACD,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,iCAAiC,GAAG,yBAAyB;KACvE,MAAM,CAAC;IACN,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;IACrC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;IACvC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC9B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IAC1C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;CAC7C,CAAC;KACD,MAAM,EAAE,CAAC"}
|