@playcraft/common 0.2.17 → 0.2.19-test-a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-memory.d.ts +88 -0
- package/dist/agent-memory.d.ts.map +1 -0
- package/dist/agent-memory.js +66 -0
- package/dist/agent-memory.js.map +1 -0
- package/dist/agent-personalization.d.ts +111 -0
- package/dist/agent-personalization.d.ts.map +1 -0
- package/dist/agent-personalization.js +32 -0
- package/dist/agent-personalization.js.map +1 -0
- package/dist/agent-tools/replica-validation.d.ts +24 -24
- package/dist/agent-tools/types.d.ts +0 -68
- package/dist/agent-tools/types.d.ts.map +1 -1
- package/dist/agent-tools/video-model-proxy.d.ts +39 -0
- package/dist/agent-tools/video-model-proxy.d.ts.map +1 -1
- package/dist/agent-tools/video-model-proxy.js +74 -14
- package/dist/agent-tools/video-model-proxy.js.map +1 -1
- package/dist/audio-library-stream.d.ts +2 -2
- package/dist/audio-package-node.d.ts +20 -0
- package/dist/audio-package-node.d.ts.map +1 -0
- package/dist/audio-package-node.js +77 -0
- package/dist/audio-package-node.js.map +1 -0
- package/dist/audio-program-package.d.ts +81 -0
- package/dist/audio-program-package.d.ts.map +1 -0
- package/dist/audio-program-package.js +268 -0
- package/dist/audio-program-package.js.map +1 -0
- package/dist/cloud-workspace/costs.d.ts +192 -0
- package/dist/cloud-workspace/costs.d.ts.map +1 -0
- package/dist/cloud-workspace/costs.js +37 -0
- package/dist/cloud-workspace/costs.js.map +1 -0
- package/dist/cloud-workspace/runtime/agent-background-processes.d.ts +2 -2
- package/dist/cloud-workspace/runtime/agent-build-delivery.d.ts +445 -0
- package/dist/cloud-workspace/runtime/agent-build-delivery.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/agent-build-delivery.js +215 -0
- package/dist/cloud-workspace/runtime/agent-build-delivery.js.map +1 -0
- package/dist/cloud-workspace/runtime/agent-command.d.ts +1 -1
- package/dist/cloud-workspace/runtime/agent-competitor-report.d.ts +10 -10
- package/dist/cloud-workspace/runtime/agent-connection.d.ts +1 -1
- package/dist/cloud-workspace/runtime/agent-issue-artifacts.d.ts +4 -4
- package/dist/cloud-workspace/runtime/agent-lifecycle.d.ts +3 -3
- package/dist/cloud-workspace/runtime/agent-mutation.d.ts +3 -3
- package/dist/cloud-workspace/runtime/agent-opencode-gateway.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/agent-opencode-gateway.js +1 -0
- package/dist/cloud-workspace/runtime/agent-opencode-gateway.js.map +1 -1
- package/dist/cloud-workspace/runtime/agent-opencode.d.ts +3 -3
- package/dist/cloud-workspace/runtime/agent-read.d.ts +2 -2
- package/dist/cloud-workspace/runtime/agent-source-project.d.ts +3 -3
- package/dist/cloud-workspace/runtime/agent-variant-git.d.ts +2 -2
- package/dist/cloud-workspace/runtime/artifact-generation-source.d.ts +32 -0
- package/dist/cloud-workspace/runtime/artifact-generation-source.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/artifact-generation-source.js +46 -0
- package/dist/cloud-workspace/runtime/artifact-generation-source.js.map +1 -0
- package/dist/cloud-workspace/runtime/artifacts.d.ts +10 -5
- package/dist/cloud-workspace/runtime/artifacts.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/artifacts.js +6 -2
- package/dist/cloud-workspace/runtime/artifacts.js.map +1 -1
- package/dist/cloud-workspace/runtime/asset-generation.d.ts +4 -4
- package/dist/cloud-workspace/runtime/asset-library-import.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/asset-library-import.js +41 -15
- package/dist/cloud-workspace/runtime/asset-library-import.js.map +1 -1
- package/dist/cloud-workspace/runtime/asset-library-save.d.ts +2 -2
- package/dist/cloud-workspace/runtime/asset-transfers.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/asset-transfers.js +100 -43
- package/dist/cloud-workspace/runtime/asset-transfers.js.map +1 -1
- package/dist/cloud-workspace/runtime/attachment-base64.d.ts +2 -0
- package/dist/cloud-workspace/runtime/attachment-base64.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/attachment-base64.js +4 -0
- package/dist/cloud-workspace/runtime/attachment-base64.js.map +1 -1
- package/dist/cloud-workspace/runtime/attachments.d.ts +1 -0
- package/dist/cloud-workspace/runtime/attachments.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/attachments.js +19 -4
- package/dist/cloud-workspace/runtime/attachments.js.map +1 -1
- package/dist/cloud-workspace/runtime/audio-adoption-receipt.d.ts +359 -0
- package/dist/cloud-workspace/runtime/audio-adoption-receipt.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/audio-adoption-receipt.js +39 -0
- package/dist/cloud-workspace/runtime/audio-adoption-receipt.js.map +1 -0
- package/dist/cloud-workspace/runtime/audio-artifact-package.d.ts +8 -0
- package/dist/cloud-workspace/runtime/audio-artifact-package.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/audio-artifact-package.js +102 -0
- package/dist/cloud-workspace/runtime/audio-artifact-package.js.map +1 -0
- package/dist/cloud-workspace/runtime/audio-asset-protocol.d.ts +2 -2
- package/dist/cloud-workspace/runtime/audio-library.d.ts +8 -8
- package/dist/cloud-workspace/runtime/batch-generation.d.ts +1 -0
- package/dist/cloud-workspace/runtime/batch-generation.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/batch-runs.d.ts +151 -29
- package/dist/cloud-workspace/runtime/batch-runs.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/batch-runs.js +13 -1
- package/dist/cloud-workspace/runtime/batch-runs.js.map +1 -1
- package/dist/cloud-workspace/runtime/chat-realtime.d.ts +2 -2
- package/dist/cloud-workspace/runtime/composer-staging.d.ts +157 -0
- package/dist/cloud-workspace/runtime/composer-staging.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/composer-staging.js +118 -0
- package/dist/cloud-workspace/runtime/composer-staging.js.map +1 -0
- package/dist/cloud-workspace/runtime/connectivity.d.ts +7 -7
- package/dist/cloud-workspace/runtime/delivery-format.d.ts +2 -0
- package/dist/cloud-workspace/runtime/delivery-format.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/delivery-format.js +11 -0
- package/dist/cloud-workspace/runtime/delivery-format.js.map +1 -1
- package/dist/cloud-workspace/runtime/delivery-preparation.d.ts +74 -0
- package/dist/cloud-workspace/runtime/delivery-preparation.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/delivery-preparation.js +45 -0
- package/dist/cloud-workspace/runtime/delivery-preparation.js.map +1 -0
- package/dist/cloud-workspace/runtime/delivery.d.ts +69 -69
- package/dist/cloud-workspace/runtime/draft-claim.d.ts +8 -0
- package/dist/cloud-workspace/runtime/draft-claim.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/draft-claim.js +13 -0
- package/dist/cloud-workspace/runtime/draft-claim.js.map +1 -0
- package/dist/cloud-workspace/runtime/draft-occupancy.d.ts +231 -0
- package/dist/cloud-workspace/runtime/draft-occupancy.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/draft-occupancy.js +130 -0
- package/dist/cloud-workspace/runtime/draft-occupancy.js.map +1 -0
- package/dist/cloud-workspace/runtime/environment-observation.d.ts +374 -0
- package/dist/cloud-workspace/runtime/environment-observation.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/environment-observation.js +82 -0
- package/dist/cloud-workspace/runtime/environment-observation.js.map +1 -0
- package/dist/cloud-workspace/runtime/events.d.ts +4 -4
- package/dist/cloud-workspace/runtime/execution-admission.d.ts +36 -7
- package/dist/cloud-workspace/runtime/execution-admission.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/execution-admission.js +17 -4
- package/dist/cloud-workspace/runtime/execution-admission.js.map +1 -1
- package/dist/cloud-workspace/runtime/execution-context.d.ts +131 -5
- package/dist/cloud-workspace/runtime/execution-context.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/execution-context.js +125 -32
- package/dist/cloud-workspace/runtime/execution-context.js.map +1 -1
- package/dist/cloud-workspace/runtime/execution-grant.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/execution-grant.js +3 -2
- package/dist/cloud-workspace/runtime/execution-grant.js.map +1 -1
- package/dist/cloud-workspace/runtime/files.d.ts +11 -1
- package/dist/cloud-workspace/runtime/files.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/files.js +7 -4
- package/dist/cloud-workspace/runtime/files.js.map +1 -1
- package/dist/cloud-workspace/runtime/frame-animation-consumer.d.ts +260 -0
- package/dist/cloud-workspace/runtime/frame-animation-consumer.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/frame-animation-consumer.js +255 -0
- package/dist/cloud-workspace/runtime/frame-animation-consumer.js.map +1 -0
- package/dist/cloud-workspace/runtime/generation-selection-audio.d.ts +57 -0
- package/dist/cloud-workspace/runtime/generation-selection-audio.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/generation-selection-audio.js +68 -0
- package/dist/cloud-workspace/runtime/generation-selection-audio.js.map +1 -0
- package/dist/cloud-workspace/runtime/generation-selection.d.ts +997 -0
- package/dist/cloud-workspace/runtime/generation-selection.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/generation-selection.js +212 -0
- package/dist/cloud-workspace/runtime/generation-selection.js.map +1 -0
- package/dist/cloud-workspace/runtime/generations.d.ts +1 -1
- package/dist/cloud-workspace/runtime/generations.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/generations.js +2 -0
- package/dist/cloud-workspace/runtime/generations.js.map +1 -1
- package/dist/cloud-workspace/runtime/handshake.d.ts +2 -0
- package/dist/cloud-workspace/runtime/handshake.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/handshake.js +3 -0
- package/dist/cloud-workspace/runtime/handshake.js.map +1 -1
- package/dist/cloud-workspace/runtime/index.d.ts +29 -1
- package/dist/cloud-workspace/runtime/index.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/index.js +29 -1
- package/dist/cloud-workspace/runtime/index.js.map +1 -1
- package/dist/cloud-workspace/runtime/level-editor-agent.d.ts +68 -0
- package/dist/cloud-workspace/runtime/level-editor-agent.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/level-editor-agent.js +6 -0
- package/dist/cloud-workspace/runtime/level-editor-agent.js.map +1 -1
- package/dist/cloud-workspace/runtime/level-editor-authoring.d.ts +1 -1
- package/dist/cloud-workspace/runtime/level-editor-schema.d.ts +20 -0
- package/dist/cloud-workspace/runtime/level-editor-schema.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/level-editor-schema.js +3 -0
- package/dist/cloud-workspace/runtime/level-editor-schema.js.map +1 -1
- package/dist/cloud-workspace/runtime/model-authority-evidence.d.ts +33 -0
- package/dist/cloud-workspace/runtime/model-authority-evidence.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/model-authority-evidence.js +36 -0
- package/dist/cloud-workspace/runtime/model-authority-evidence.js.map +1 -0
- package/dist/cloud-workspace/runtime/model-capture-upload-grant.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/model-capture-upload-grant.js +6 -1
- package/dist/cloud-workspace/runtime/model-capture-upload-grant.js.map +1 -1
- package/dist/cloud-workspace/runtime/model-production.d.ts +31 -31
- package/dist/cloud-workspace/runtime/native-history.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/native-history.js +2 -2
- package/dist/cloud-workspace/runtime/native-history.js.map +1 -1
- package/dist/cloud-workspace/runtime/operations.d.ts +100 -12
- package/dist/cloud-workspace/runtime/operations.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/operations.js +7 -2
- package/dist/cloud-workspace/runtime/operations.js.map +1 -1
- package/dist/cloud-workspace/runtime/parameter-agent.d.ts +2 -2
- package/dist/cloud-workspace/runtime/parameter-locales.d.ts +2 -2
- package/dist/cloud-workspace/runtime/parameters.d.ts +34 -14
- package/dist/cloud-workspace/runtime/parameters.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/parameters.js +87 -28
- package/dist/cloud-workspace/runtime/parameters.js.map +1 -1
- package/dist/cloud-workspace/runtime/preview-runtime.d.ts +2 -2
- package/dist/cloud-workspace/runtime/previews.d.ts +8 -7
- package/dist/cloud-workspace/runtime/previews.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/production-inputs.d.ts +283 -0
- package/dist/cloud-workspace/runtime/production-inputs.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/production-inputs.js +174 -0
- package/dist/cloud-workspace/runtime/production-inputs.js.map +1 -0
- package/dist/cloud-workspace/runtime/project-preparation.d.ts +307 -0
- package/dist/cloud-workspace/runtime/project-preparation.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/project-preparation.js +110 -0
- package/dist/cloud-workspace/runtime/project-preparation.js.map +1 -0
- package/dist/cloud-workspace/runtime/prompt-enhancement.d.ts +1288 -0
- package/dist/cloud-workspace/runtime/prompt-enhancement.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/prompt-enhancement.js +486 -0
- package/dist/cloud-workspace/runtime/prompt-enhancement.js.map +1 -0
- package/dist/cloud-workspace/runtime/remix-references.d.ts +100 -44
- package/dist/cloud-workspace/runtime/remix-references.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/remix-references.js +71 -21
- package/dist/cloud-workspace/runtime/remix-references.js.map +1 -1
- package/dist/cloud-workspace/runtime/resource-grant.d.ts +1 -1
- package/dist/cloud-workspace/runtime/resource-grant.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/resource-grant.js +2 -2
- package/dist/cloud-workspace/runtime/resource-grant.js.map +1 -1
- package/dist/cloud-workspace/runtime/runtime-model-observation-sidecar.d.ts +200 -0
- package/dist/cloud-workspace/runtime/runtime-model-observation-sidecar.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/runtime-model-observation-sidecar.js +16 -0
- package/dist/cloud-workspace/runtime/runtime-model-observation-sidecar.js.map +1 -0
- package/dist/cloud-workspace/runtime/runtime-observation-bootstrap.d.ts +203 -0
- package/dist/cloud-workspace/runtime/runtime-observation-bootstrap.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/runtime-observation-bootstrap.js +19 -0
- package/dist/cloud-workspace/runtime/runtime-observation-bootstrap.js.map +1 -0
- package/dist/cloud-workspace/runtime/runtime-observation-view.d.ts +42 -0
- package/dist/cloud-workspace/runtime/runtime-observation-view.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/runtime-observation-view.js +113 -0
- package/dist/cloud-workspace/runtime/runtime-observation-view.js.map +1 -0
- package/dist/cloud-workspace/runtime/runtime-observation.d.ts +560 -0
- package/dist/cloud-workspace/runtime/runtime-observation.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/runtime-observation.js +344 -0
- package/dist/cloud-workspace/runtime/runtime-observation.js.map +1 -0
- package/dist/cloud-workspace/runtime/runtime-sha256.d.ts +3 -0
- package/dist/cloud-workspace/runtime/runtime-sha256.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/runtime-sha256.js +11 -0
- package/dist/cloud-workspace/runtime/runtime-sha256.js.map +1 -0
- package/dist/cloud-workspace/runtime/scheduled-task-proposals.d.ts +9 -9
- package/dist/cloud-workspace/runtime/scheduled-tasks.d.ts +7 -6
- package/dist/cloud-workspace/runtime/scheduled-tasks.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/scheduled-tasks.js +2 -1
- package/dist/cloud-workspace/runtime/scheduled-tasks.js.map +1 -1
- package/dist/cloud-workspace/runtime/session-list-batch.d.ts +103 -0
- package/dist/cloud-workspace/runtime/session-list-batch.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/session-list-batch.js +73 -0
- package/dist/cloud-workspace/runtime/session-list-batch.js.map +1 -0
- package/dist/cloud-workspace/runtime/session-personalization.d.ts +35 -0
- package/dist/cloud-workspace/runtime/session-personalization.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/session-personalization.js +9 -0
- package/dist/cloud-workspace/runtime/session-personalization.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 -1
- package/dist/cloud-workspace/runtime/session-restore.js +10 -4
- package/dist/cloud-workspace/runtime/session-restore.js.map +1 -1
- package/dist/cloud-workspace/runtime/skill-activation.d.ts +4 -0
- package/dist/cloud-workspace/runtime/skill-activation.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/skill-activation.js +69 -22
- package/dist/cloud-workspace/runtime/skill-activation.js.map +1 -1
- package/dist/cloud-workspace/runtime/skills.d.ts +10 -0
- package/dist/cloud-workspace/runtime/skills.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/skills.js +13 -0
- package/dist/cloud-workspace/runtime/skills.js.map +1 -1
- package/dist/cloud-workspace/runtime/terminal-session.d.ts +1 -1
- package/dist/cloud-workspace/runtime/variant-workspace.d.ts +8 -8
- package/dist/cloud-workspace/runtime/workspace-binding.d.ts +4 -4
- package/dist/cloud-workspace/runtime/workspace-confirmation.d.ts +1956 -0
- package/dist/cloud-workspace/runtime/workspace-confirmation.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/workspace-confirmation.js +591 -0
- package/dist/cloud-workspace/runtime/workspace-confirmation.js.map +1 -0
- package/dist/cloud-workspace/runtime/workspace-directories.d.ts +2 -2
- package/dist/cloud-workspace/runtime/workspace-facts.d.ts +3 -2
- package/dist/cloud-workspace/runtime/workspace-facts.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/workspace-model-source.d.ts +291 -0
- package/dist/cloud-workspace/runtime/workspace-model-source.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/workspace-model-source.js +128 -0
- package/dist/cloud-workspace/runtime/workspace-model-source.js.map +1 -0
- package/dist/cloud-workspace/runtime/workspace-notifications.d.ts +18 -2
- package/dist/cloud-workspace/runtime/workspace-notifications.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/workspace-notifications.js +182 -53
- package/dist/cloud-workspace/runtime/workspace-notifications.js.map +1 -1
- package/dist/cloud-workspace/runtime/workspace-parameter-confirmation.d.ts +101 -0
- package/dist/cloud-workspace/runtime/workspace-parameter-confirmation.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/workspace-parameter-confirmation.js +160 -0
- package/dist/cloud-workspace/runtime/workspace-parameter-confirmation.js.map +1 -0
- package/dist/cloud-workspace/runtime/workspace-public-source.d.ts +67 -0
- package/dist/cloud-workspace/runtime/workspace-public-source.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/workspace-public-source.js +97 -0
- package/dist/cloud-workspace/runtime/workspace-public-source.js.map +1 -0
- package/dist/cloud-workspace/runtime/workspace-refs.d.ts +73 -0
- package/dist/cloud-workspace/runtime/workspace-refs.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/workspace-refs.js +106 -0
- package/dist/cloud-workspace/runtime/workspace-refs.js.map +1 -0
- package/dist/cloud-workspace/runtime/workspace-subscriptions.d.ts +146 -0
- package/dist/cloud-workspace/runtime/workspace-subscriptions.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/workspace-subscriptions.js +75 -0
- package/dist/cloud-workspace/runtime/workspace-subscriptions.js.map +1 -0
- package/dist/cloud-workspace/runtime/workspace-ui.d.ts +269 -13
- package/dist/cloud-workspace/runtime/workspace-ui.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/workspace-ui.js +196 -32
- package/dist/cloud-workspace/runtime/workspace-ui.js.map +1 -1
- package/dist/inspiration/covers.d.ts +2 -2
- package/dist/inspiration/index.d.ts +12 -12
- package/dist/model-proxy/budget-read.d.ts +59 -0
- package/dist/model-proxy/budget-read.d.ts.map +1 -0
- package/dist/model-proxy/budget-read.js +2 -0
- package/dist/model-proxy/budget-read.js.map +1 -0
- package/dist/model-proxy/captures.d.ts +2 -2
- package/dist/model-proxy/diagnostics.d.ts +9 -0
- package/dist/model-proxy/diagnostics.d.ts.map +1 -1
- package/dist/model-proxy/index.d.ts +8 -0
- package/dist/model-proxy/index.d.ts.map +1 -1
- package/dist/model-proxy/index.js +6 -0
- package/dist/model-proxy/index.js.map +1 -1
- package/dist/model-proxy/provider-stats.d.ts +38 -0
- package/dist/model-proxy/provider-stats.d.ts.map +1 -0
- package/dist/model-proxy/provider-stats.js +2 -0
- package/dist/model-proxy/provider-stats.js.map +1 -0
- package/dist/model-proxy/usage-cost-exact.d.ts +9 -0
- package/dist/model-proxy/usage-cost-exact.d.ts.map +1 -0
- package/dist/model-proxy/usage-cost-exact.js +35 -0
- package/dist/model-proxy/usage-cost-exact.js.map +1 -0
- package/dist/model-proxy/usage-projection.d.ts +15 -0
- package/dist/model-proxy/usage-projection.d.ts.map +1 -0
- package/dist/model-proxy/usage-projection.js +2 -0
- package/dist/model-proxy/usage-projection.js.map +1 -0
- package/dist/preview/preview-devices.d.ts +20 -0
- package/dist/preview/preview-devices.d.ts.map +1 -0
- package/dist/preview/preview-devices.js +46 -0
- package/dist/preview/preview-devices.js.map +1 -0
- package/dist/project-skills/index.d.ts +1 -0
- package/dist/project-skills/index.d.ts.map +1 -1
- package/dist/project-skills/index.js +1 -0
- package/dist/project-skills/index.js.map +1 -1
- package/dist/project-skills/inventory.d.ts.map +1 -1
- package/dist/project-skills/inventory.js +42 -13
- package/dist/project-skills/inventory.js.map +1 -1
- package/dist/project-skills/local-snapshot.d.ts.map +1 -1
- package/dist/project-skills/local-snapshot.js +36 -11
- package/dist/project-skills/local-snapshot.js.map +1 -1
- package/dist/project-skills/protocol.d.ts +1 -4
- package/dist/project-skills/protocol.d.ts.map +1 -1
- package/dist/project-skills/protocol.js +90 -52
- package/dist/project-skills/protocol.js.map +1 -1
- package/dist/project-skills/remote-discovery.d.ts +6 -2
- package/dist/project-skills/remote-discovery.d.ts.map +1 -1
- package/dist/project-skills/remote-discovery.js +69 -22
- package/dist/project-skills/remote-discovery.js.map +1 -1
- package/dist/project-skills/source-digest-node.d.ts +5 -0
- package/dist/project-skills/source-digest-node.d.ts.map +1 -0
- package/dist/project-skills/source-digest-node.js +26 -0
- package/dist/project-skills/source-digest-node.js.map +1 -0
- package/dist/storage/cos.d.ts +6 -0
- package/dist/storage/cos.d.ts.map +1 -1
- package/dist/storage/cos.js +38 -10
- package/dist/storage/cos.js.map +1 -1
- package/dist/storage/upload-build-artifacts.d.ts +12 -0
- package/dist/storage/upload-build-artifacts.d.ts.map +1 -1
- package/dist/storage/upload-build-artifacts.js +17 -15
- package/dist/storage/upload-build-artifacts.js.map +1 -1
- package/dist/team-memory.d.ts +33 -0
- package/dist/team-memory.d.ts.map +1 -0
- package/dist/team-memory.js +39 -0
- package/dist/team-memory.js.map +1 -0
- package/package.json +29 -1
|
@@ -0,0 +1,560 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** PostgreSQL signed bigint revisions remain canonical decimal strings on the wire. */
|
|
3
|
+
export declare const runtimeModelAuthorityRevisionSchema: z.ZodString;
|
|
4
|
+
export declare const runtimeModelAuthorityEpochSchema: z.ZodObject<{
|
|
5
|
+
namespace: z.ZodString;
|
|
6
|
+
globalRevision: z.ZodString;
|
|
7
|
+
subjectRevision: z.ZodString;
|
|
8
|
+
}, z.core.$strict>;
|
|
9
|
+
export type RuntimeModelAuthorityEpoch = z.infer<typeof runtimeModelAuthorityEpochSchema>;
|
|
10
|
+
export declare const RUNTIME_OBSERVATION_MAX_COMPONENTS = 9;
|
|
11
|
+
export declare const runtimeObservationWorkspaceContextSchema: z.ZodObject<{
|
|
12
|
+
workspaceId: z.ZodString;
|
|
13
|
+
directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
|
|
14
|
+
registrationRevision: z.ZodString;
|
|
15
|
+
}, z.core.$strict>;
|
|
16
|
+
export declare const runtimeObservationModelContextSchema: z.ZodObject<{
|
|
17
|
+
modelConfigId: z.ZodString;
|
|
18
|
+
modelConfigRevision: z.ZodString;
|
|
19
|
+
policyRevision: z.ZodString;
|
|
20
|
+
effectiveSubjectId: z.ZodString;
|
|
21
|
+
credentialPin: z.ZodString;
|
|
22
|
+
authorityEpoch: z.ZodObject<{
|
|
23
|
+
namespace: z.ZodString;
|
|
24
|
+
globalRevision: z.ZodString;
|
|
25
|
+
subjectRevision: z.ZodString;
|
|
26
|
+
}, z.core.$strict>;
|
|
27
|
+
authorityEvidenceId: z.ZodString;
|
|
28
|
+
authzRevision: z.ZodNumber;
|
|
29
|
+
credentialExpiresAt: z.ZodString;
|
|
30
|
+
}, z.core.$strict>;
|
|
31
|
+
/** Workspace-dependent callback and conversation probes must never be promoted to owner health. */
|
|
32
|
+
export declare const runtimeObservationScopeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
33
|
+
resource: z.ZodEnum<{
|
|
34
|
+
health: "health";
|
|
35
|
+
lifecycle: "lifecycle";
|
|
36
|
+
}>;
|
|
37
|
+
environment: z.ZodString;
|
|
38
|
+
userId: z.ZodString;
|
|
39
|
+
kind: z.ZodLiteral<"owner">;
|
|
40
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
41
|
+
resource: z.ZodEnum<{
|
|
42
|
+
directory: "directory";
|
|
43
|
+
conversation: "conversation";
|
|
44
|
+
callback: "callback";
|
|
45
|
+
}>;
|
|
46
|
+
workspaceId: z.ZodString;
|
|
47
|
+
directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
|
|
48
|
+
registrationRevision: z.ZodString;
|
|
49
|
+
environment: z.ZodString;
|
|
50
|
+
userId: z.ZodString;
|
|
51
|
+
kind: z.ZodLiteral<"workspace">;
|
|
52
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
53
|
+
resource: z.ZodEnum<{
|
|
54
|
+
model: "model";
|
|
55
|
+
"model-permission": "model-permission";
|
|
56
|
+
"model-configuration": "model-configuration";
|
|
57
|
+
"model-supplier": "model-supplier";
|
|
58
|
+
}>;
|
|
59
|
+
modelConfigId: z.ZodString;
|
|
60
|
+
modelConfigRevision: z.ZodString;
|
|
61
|
+
policyRevision: z.ZodString;
|
|
62
|
+
effectiveSubjectId: z.ZodString;
|
|
63
|
+
credentialPin: z.ZodString;
|
|
64
|
+
authorityEpoch: z.ZodObject<{
|
|
65
|
+
namespace: z.ZodString;
|
|
66
|
+
globalRevision: z.ZodString;
|
|
67
|
+
subjectRevision: z.ZodString;
|
|
68
|
+
}, z.core.$strict>;
|
|
69
|
+
authorityEvidenceId: z.ZodString;
|
|
70
|
+
authzRevision: z.ZodNumber;
|
|
71
|
+
credentialExpiresAt: z.ZodString;
|
|
72
|
+
workspaceId: z.ZodString;
|
|
73
|
+
directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
|
|
74
|
+
registrationRevision: z.ZodString;
|
|
75
|
+
environment: z.ZodString;
|
|
76
|
+
userId: z.ZodString;
|
|
77
|
+
kind: z.ZodLiteral<"model">;
|
|
78
|
+
}, z.core.$strict>], "kind">;
|
|
79
|
+
export type RuntimeObservationScope = z.infer<typeof runtimeObservationScopeSchema>;
|
|
80
|
+
export type RuntimeObservationResource = RuntimeObservationScope['resource'];
|
|
81
|
+
export declare const runtimeObservationBasisSchema: z.ZodObject<{
|
|
82
|
+
runtimeId: z.ZodString;
|
|
83
|
+
generation: z.ZodNumber;
|
|
84
|
+
runtimeEpoch: z.ZodNumber;
|
|
85
|
+
endpointRevision: z.ZodString;
|
|
86
|
+
}, z.core.$strict>;
|
|
87
|
+
export type RuntimeObservationBasis = z.infer<typeof runtimeObservationBasisSchema>;
|
|
88
|
+
export declare const runtimeObservationReasonSchema: z.ZodString;
|
|
89
|
+
export declare const runtimeObservationRefreshSchema: z.ZodEnum<{
|
|
90
|
+
failed: "failed";
|
|
91
|
+
scheduled: "scheduled";
|
|
92
|
+
idle: "idle";
|
|
93
|
+
refreshing: "refreshing";
|
|
94
|
+
}>;
|
|
95
|
+
export declare const runtimeObservationVersionSchema: z.ZodNumber;
|
|
96
|
+
/** One independently timed fact. Versions come from durable observation publication, never a
|
|
97
|
+
* workspace event cursor, an authorization revision or an execution/observer lease fence. */
|
|
98
|
+
export declare const runtimeObservationEnvelopeSchema: z.ZodObject<{
|
|
99
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
100
|
+
scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
101
|
+
resource: z.ZodEnum<{
|
|
102
|
+
health: "health";
|
|
103
|
+
lifecycle: "lifecycle";
|
|
104
|
+
}>;
|
|
105
|
+
environment: z.ZodString;
|
|
106
|
+
userId: z.ZodString;
|
|
107
|
+
kind: z.ZodLiteral<"owner">;
|
|
108
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
109
|
+
resource: z.ZodEnum<{
|
|
110
|
+
directory: "directory";
|
|
111
|
+
conversation: "conversation";
|
|
112
|
+
callback: "callback";
|
|
113
|
+
}>;
|
|
114
|
+
workspaceId: z.ZodString;
|
|
115
|
+
directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
|
|
116
|
+
registrationRevision: z.ZodString;
|
|
117
|
+
environment: z.ZodString;
|
|
118
|
+
userId: z.ZodString;
|
|
119
|
+
kind: z.ZodLiteral<"workspace">;
|
|
120
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
121
|
+
resource: z.ZodEnum<{
|
|
122
|
+
model: "model";
|
|
123
|
+
"model-permission": "model-permission";
|
|
124
|
+
"model-configuration": "model-configuration";
|
|
125
|
+
"model-supplier": "model-supplier";
|
|
126
|
+
}>;
|
|
127
|
+
modelConfigId: z.ZodString;
|
|
128
|
+
modelConfigRevision: z.ZodString;
|
|
129
|
+
policyRevision: z.ZodString;
|
|
130
|
+
effectiveSubjectId: z.ZodString;
|
|
131
|
+
credentialPin: z.ZodString;
|
|
132
|
+
authorityEpoch: z.ZodObject<{
|
|
133
|
+
namespace: z.ZodString;
|
|
134
|
+
globalRevision: z.ZodString;
|
|
135
|
+
subjectRevision: z.ZodString;
|
|
136
|
+
}, z.core.$strict>;
|
|
137
|
+
authorityEvidenceId: z.ZodString;
|
|
138
|
+
authzRevision: z.ZodNumber;
|
|
139
|
+
credentialExpiresAt: z.ZodString;
|
|
140
|
+
workspaceId: z.ZodString;
|
|
141
|
+
directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
|
|
142
|
+
registrationRevision: z.ZodString;
|
|
143
|
+
environment: z.ZodString;
|
|
144
|
+
userId: z.ZodString;
|
|
145
|
+
kind: z.ZodLiteral<"model">;
|
|
146
|
+
}, z.core.$strict>], "kind">;
|
|
147
|
+
basis: z.ZodObject<{
|
|
148
|
+
runtimeId: z.ZodString;
|
|
149
|
+
generation: z.ZodNumber;
|
|
150
|
+
runtimeEpoch: z.ZodNumber;
|
|
151
|
+
endpointRevision: z.ZodString;
|
|
152
|
+
}, z.core.$strict>;
|
|
153
|
+
observationVersion: z.ZodNumber;
|
|
154
|
+
measuredAt: z.ZodString;
|
|
155
|
+
publishedAt: z.ZodString;
|
|
156
|
+
freshUntil: z.ZodString;
|
|
157
|
+
displayUntil: z.ZodString;
|
|
158
|
+
status: z.ZodEnum<{
|
|
159
|
+
ready: "ready";
|
|
160
|
+
unknown: "unknown";
|
|
161
|
+
pending: "pending";
|
|
162
|
+
unavailable: "unavailable";
|
|
163
|
+
destroyed: "destroyed";
|
|
164
|
+
}>;
|
|
165
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
166
|
+
refresh: z.ZodEnum<{
|
|
167
|
+
failed: "failed";
|
|
168
|
+
scheduled: "scheduled";
|
|
169
|
+
idle: "idle";
|
|
170
|
+
refreshing: "refreshing";
|
|
171
|
+
}>;
|
|
172
|
+
}, z.core.$strict>;
|
|
173
|
+
export type RuntimeObservationEnvelope = z.infer<typeof runtimeObservationEnvelopeSchema>;
|
|
174
|
+
export type RuntimeObservationIdentity = {
|
|
175
|
+
scope: RuntimeObservationScope;
|
|
176
|
+
basis: RuntimeObservationBasis;
|
|
177
|
+
};
|
|
178
|
+
/** Stable storage identity; revisions are checked separately before accepting or displaying it. */
|
|
179
|
+
export declare function runtimeObservationScopeKey(scope: RuntimeObservationScope): string;
|
|
180
|
+
export declare function runtimeObservationCompatible(observation: RuntimeObservationIdentity, expected: RuntimeObservationIdentity): boolean;
|
|
181
|
+
/** The caller supplies the current trusted identity; a late old instance cannot elect itself. */
|
|
182
|
+
export declare function acceptRuntimeObservation(current: RuntimeObservationEnvelope | undefined, incoming: RuntimeObservationEnvelope, expected: RuntimeObservationIdentity): RuntimeObservationEnvelope | undefined;
|
|
183
|
+
/** Transport belongs to the reader and is deliberately absent from the persisted envelope. */
|
|
184
|
+
export declare const runtimeObservationTransportSchema: z.ZodObject<{
|
|
185
|
+
status: z.ZodEnum<{
|
|
186
|
+
unsupported: "unsupported";
|
|
187
|
+
connected: "connected";
|
|
188
|
+
connecting: "connecting";
|
|
189
|
+
disconnected: "disconnected";
|
|
190
|
+
}>;
|
|
191
|
+
changedAt: z.ZodString;
|
|
192
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
193
|
+
}, z.core.$strict>;
|
|
194
|
+
export type RuntimeObservationTransport = z.infer<typeof runtimeObservationTransportSchema>;
|
|
195
|
+
export declare const runtimeObservationViewContextSchema: z.ZodObject<{
|
|
196
|
+
basis: z.ZodObject<{
|
|
197
|
+
runtimeId: z.ZodString;
|
|
198
|
+
generation: z.ZodNumber;
|
|
199
|
+
runtimeEpoch: z.ZodNumber;
|
|
200
|
+
endpointRevision: z.ZodString;
|
|
201
|
+
}, z.core.$strict>;
|
|
202
|
+
workspace: z.ZodOptional<z.ZodObject<{
|
|
203
|
+
workspaceId: z.ZodString;
|
|
204
|
+
directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
|
|
205
|
+
registrationRevision: z.ZodString;
|
|
206
|
+
model: z.ZodOptional<z.ZodObject<{
|
|
207
|
+
modelConfigId: z.ZodString;
|
|
208
|
+
modelConfigRevision: z.ZodString;
|
|
209
|
+
policyRevision: z.ZodString;
|
|
210
|
+
effectiveSubjectId: z.ZodString;
|
|
211
|
+
credentialPin: z.ZodString;
|
|
212
|
+
authorityEpoch: z.ZodObject<{
|
|
213
|
+
namespace: z.ZodString;
|
|
214
|
+
globalRevision: z.ZodString;
|
|
215
|
+
subjectRevision: z.ZodString;
|
|
216
|
+
}, z.core.$strict>;
|
|
217
|
+
authorityEvidenceId: z.ZodString;
|
|
218
|
+
authzRevision: z.ZodNumber;
|
|
219
|
+
credentialExpiresAt: z.ZodString;
|
|
220
|
+
}, z.core.$strict>>;
|
|
221
|
+
}, z.core.$strict>>;
|
|
222
|
+
environment: z.ZodString;
|
|
223
|
+
userId: z.ZodString;
|
|
224
|
+
}, z.core.$strict>;
|
|
225
|
+
export type RuntimeObservationViewContext = z.infer<typeof runtimeObservationViewContextSchema>;
|
|
226
|
+
export declare function runtimeObservationScopeForResource(context: RuntimeObservationViewContext, resource: RuntimeObservationResource): RuntimeObservationScope | undefined;
|
|
227
|
+
export declare const runtimeObservationReferenceSchema: z.ZodObject<{
|
|
228
|
+
scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
229
|
+
resource: z.ZodEnum<{
|
|
230
|
+
health: "health";
|
|
231
|
+
lifecycle: "lifecycle";
|
|
232
|
+
}>;
|
|
233
|
+
environment: z.ZodString;
|
|
234
|
+
userId: z.ZodString;
|
|
235
|
+
kind: z.ZodLiteral<"owner">;
|
|
236
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
237
|
+
resource: z.ZodEnum<{
|
|
238
|
+
directory: "directory";
|
|
239
|
+
conversation: "conversation";
|
|
240
|
+
callback: "callback";
|
|
241
|
+
}>;
|
|
242
|
+
workspaceId: z.ZodString;
|
|
243
|
+
directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
|
|
244
|
+
registrationRevision: z.ZodString;
|
|
245
|
+
environment: z.ZodString;
|
|
246
|
+
userId: z.ZodString;
|
|
247
|
+
kind: z.ZodLiteral<"workspace">;
|
|
248
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
249
|
+
resource: z.ZodEnum<{
|
|
250
|
+
model: "model";
|
|
251
|
+
"model-permission": "model-permission";
|
|
252
|
+
"model-configuration": "model-configuration";
|
|
253
|
+
"model-supplier": "model-supplier";
|
|
254
|
+
}>;
|
|
255
|
+
modelConfigId: z.ZodString;
|
|
256
|
+
modelConfigRevision: z.ZodString;
|
|
257
|
+
policyRevision: z.ZodString;
|
|
258
|
+
effectiveSubjectId: z.ZodString;
|
|
259
|
+
credentialPin: z.ZodString;
|
|
260
|
+
authorityEpoch: z.ZodObject<{
|
|
261
|
+
namespace: z.ZodString;
|
|
262
|
+
globalRevision: z.ZodString;
|
|
263
|
+
subjectRevision: z.ZodString;
|
|
264
|
+
}, z.core.$strict>;
|
|
265
|
+
authorityEvidenceId: z.ZodString;
|
|
266
|
+
authzRevision: z.ZodNumber;
|
|
267
|
+
credentialExpiresAt: z.ZodString;
|
|
268
|
+
workspaceId: z.ZodString;
|
|
269
|
+
directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
|
|
270
|
+
registrationRevision: z.ZodString;
|
|
271
|
+
environment: z.ZodString;
|
|
272
|
+
userId: z.ZodString;
|
|
273
|
+
kind: z.ZodLiteral<"model">;
|
|
274
|
+
}, z.core.$strict>], "kind">;
|
|
275
|
+
observationVersion: z.ZodNumber;
|
|
276
|
+
}, z.core.$strict>;
|
|
277
|
+
export declare const runtimeObservationGroupScopeSchema: z.ZodObject<{
|
|
278
|
+
environment: z.ZodString;
|
|
279
|
+
userId: z.ZodString;
|
|
280
|
+
workspace: z.ZodOptional<z.ZodObject<{
|
|
281
|
+
workspaceId: z.ZodString;
|
|
282
|
+
directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
|
|
283
|
+
registrationRevision: z.ZodString;
|
|
284
|
+
model: z.ZodOptional<z.ZodObject<{
|
|
285
|
+
modelConfigId: z.ZodString;
|
|
286
|
+
modelConfigRevision: z.ZodString;
|
|
287
|
+
policyRevision: z.ZodString;
|
|
288
|
+
effectiveSubjectId: z.ZodString;
|
|
289
|
+
credentialPin: z.ZodString;
|
|
290
|
+
authorityEpoch: z.ZodObject<{
|
|
291
|
+
namespace: z.ZodString;
|
|
292
|
+
globalRevision: z.ZodString;
|
|
293
|
+
subjectRevision: z.ZodString;
|
|
294
|
+
}, z.core.$strict>;
|
|
295
|
+
authorityEvidenceId: z.ZodString;
|
|
296
|
+
authzRevision: z.ZodNumber;
|
|
297
|
+
credentialExpiresAt: z.ZodString;
|
|
298
|
+
}, z.core.$strict>>;
|
|
299
|
+
}, z.core.$strict>>;
|
|
300
|
+
}, z.core.$strict>;
|
|
301
|
+
/** A publisher atomically commits this group and its immutable component versions. Missing facts
|
|
302
|
+
* may be omitted and display as unknown; an included reference may never silently become latest. */
|
|
303
|
+
export declare const runtimeObservationGroupSchema: z.ZodObject<{
|
|
304
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
305
|
+
scope: z.ZodObject<{
|
|
306
|
+
environment: z.ZodString;
|
|
307
|
+
userId: z.ZodString;
|
|
308
|
+
workspace: z.ZodOptional<z.ZodObject<{
|
|
309
|
+
workspaceId: z.ZodString;
|
|
310
|
+
directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
|
|
311
|
+
registrationRevision: z.ZodString;
|
|
312
|
+
model: z.ZodOptional<z.ZodObject<{
|
|
313
|
+
modelConfigId: z.ZodString;
|
|
314
|
+
modelConfigRevision: z.ZodString;
|
|
315
|
+
policyRevision: z.ZodString;
|
|
316
|
+
effectiveSubjectId: z.ZodString;
|
|
317
|
+
credentialPin: z.ZodString;
|
|
318
|
+
authorityEpoch: z.ZodObject<{
|
|
319
|
+
namespace: z.ZodString;
|
|
320
|
+
globalRevision: z.ZodString;
|
|
321
|
+
subjectRevision: z.ZodString;
|
|
322
|
+
}, z.core.$strict>;
|
|
323
|
+
authorityEvidenceId: z.ZodString;
|
|
324
|
+
authzRevision: z.ZodNumber;
|
|
325
|
+
credentialExpiresAt: z.ZodString;
|
|
326
|
+
}, z.core.$strict>>;
|
|
327
|
+
}, z.core.$strict>>;
|
|
328
|
+
}, z.core.$strict>;
|
|
329
|
+
basis: z.ZodObject<{
|
|
330
|
+
runtimeId: z.ZodString;
|
|
331
|
+
generation: z.ZodNumber;
|
|
332
|
+
runtimeEpoch: z.ZodNumber;
|
|
333
|
+
endpointRevision: z.ZodString;
|
|
334
|
+
}, z.core.$strict>;
|
|
335
|
+
groupVersion: z.ZodNumber;
|
|
336
|
+
publishedAt: z.ZodString;
|
|
337
|
+
components: z.ZodArray<z.ZodObject<{
|
|
338
|
+
scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
339
|
+
resource: z.ZodEnum<{
|
|
340
|
+
health: "health";
|
|
341
|
+
lifecycle: "lifecycle";
|
|
342
|
+
}>;
|
|
343
|
+
environment: z.ZodString;
|
|
344
|
+
userId: z.ZodString;
|
|
345
|
+
kind: z.ZodLiteral<"owner">;
|
|
346
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
347
|
+
resource: z.ZodEnum<{
|
|
348
|
+
directory: "directory";
|
|
349
|
+
conversation: "conversation";
|
|
350
|
+
callback: "callback";
|
|
351
|
+
}>;
|
|
352
|
+
workspaceId: z.ZodString;
|
|
353
|
+
directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
|
|
354
|
+
registrationRevision: z.ZodString;
|
|
355
|
+
environment: z.ZodString;
|
|
356
|
+
userId: z.ZodString;
|
|
357
|
+
kind: z.ZodLiteral<"workspace">;
|
|
358
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
359
|
+
resource: z.ZodEnum<{
|
|
360
|
+
model: "model";
|
|
361
|
+
"model-permission": "model-permission";
|
|
362
|
+
"model-configuration": "model-configuration";
|
|
363
|
+
"model-supplier": "model-supplier";
|
|
364
|
+
}>;
|
|
365
|
+
modelConfigId: z.ZodString;
|
|
366
|
+
modelConfigRevision: z.ZodString;
|
|
367
|
+
policyRevision: z.ZodString;
|
|
368
|
+
effectiveSubjectId: z.ZodString;
|
|
369
|
+
credentialPin: z.ZodString;
|
|
370
|
+
authorityEpoch: z.ZodObject<{
|
|
371
|
+
namespace: z.ZodString;
|
|
372
|
+
globalRevision: z.ZodString;
|
|
373
|
+
subjectRevision: z.ZodString;
|
|
374
|
+
}, z.core.$strict>;
|
|
375
|
+
authorityEvidenceId: z.ZodString;
|
|
376
|
+
authzRevision: z.ZodNumber;
|
|
377
|
+
credentialExpiresAt: z.ZodString;
|
|
378
|
+
workspaceId: z.ZodString;
|
|
379
|
+
directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
|
|
380
|
+
registrationRevision: z.ZodString;
|
|
381
|
+
environment: z.ZodString;
|
|
382
|
+
userId: z.ZodString;
|
|
383
|
+
kind: z.ZodLiteral<"model">;
|
|
384
|
+
}, z.core.$strict>], "kind">;
|
|
385
|
+
observationVersion: z.ZodNumber;
|
|
386
|
+
}, z.core.$strict>>;
|
|
387
|
+
}, z.core.$strict>;
|
|
388
|
+
export type RuntimeObservationGroup = z.infer<typeof runtimeObservationGroupSchema>;
|
|
389
|
+
export declare function runtimeObservationGroupCompatible(group: RuntimeObservationGroup, expected: RuntimeObservationViewContext): boolean;
|
|
390
|
+
export declare function acceptRuntimeObservationGroup(current: RuntimeObservationGroup | undefined, incoming: RuntimeObservationGroup, expected: RuntimeObservationViewContext): RuntimeObservationGroup | undefined;
|
|
391
|
+
/** Resolve every exact reference before committing a display group; never expose a partial join. */
|
|
392
|
+
export declare function resolveRuntimeObservationGroup(group: RuntimeObservationGroup | undefined, observations: readonly RuntimeObservationEnvelope[], expected: RuntimeObservationViewContext): RuntimeObservationEnvelope[] | undefined;
|
|
393
|
+
/** The same packet is used by publication reads, proxies, initial seeds and subscription recovery. */
|
|
394
|
+
export declare const runtimeObservationSnapshotSchema: z.ZodObject<{
|
|
395
|
+
group: z.ZodObject<{
|
|
396
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
397
|
+
scope: z.ZodObject<{
|
|
398
|
+
environment: z.ZodString;
|
|
399
|
+
userId: z.ZodString;
|
|
400
|
+
workspace: z.ZodOptional<z.ZodObject<{
|
|
401
|
+
workspaceId: z.ZodString;
|
|
402
|
+
directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
|
|
403
|
+
registrationRevision: z.ZodString;
|
|
404
|
+
model: z.ZodOptional<z.ZodObject<{
|
|
405
|
+
modelConfigId: z.ZodString;
|
|
406
|
+
modelConfigRevision: z.ZodString;
|
|
407
|
+
policyRevision: z.ZodString;
|
|
408
|
+
effectiveSubjectId: z.ZodString;
|
|
409
|
+
credentialPin: z.ZodString;
|
|
410
|
+
authorityEpoch: z.ZodObject<{
|
|
411
|
+
namespace: z.ZodString;
|
|
412
|
+
globalRevision: z.ZodString;
|
|
413
|
+
subjectRevision: z.ZodString;
|
|
414
|
+
}, z.core.$strict>;
|
|
415
|
+
authorityEvidenceId: z.ZodString;
|
|
416
|
+
authzRevision: z.ZodNumber;
|
|
417
|
+
credentialExpiresAt: z.ZodString;
|
|
418
|
+
}, z.core.$strict>>;
|
|
419
|
+
}, z.core.$strict>>;
|
|
420
|
+
}, z.core.$strict>;
|
|
421
|
+
basis: z.ZodObject<{
|
|
422
|
+
runtimeId: z.ZodString;
|
|
423
|
+
generation: z.ZodNumber;
|
|
424
|
+
runtimeEpoch: z.ZodNumber;
|
|
425
|
+
endpointRevision: z.ZodString;
|
|
426
|
+
}, z.core.$strict>;
|
|
427
|
+
groupVersion: z.ZodNumber;
|
|
428
|
+
publishedAt: z.ZodString;
|
|
429
|
+
components: z.ZodArray<z.ZodObject<{
|
|
430
|
+
scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
431
|
+
resource: z.ZodEnum<{
|
|
432
|
+
health: "health";
|
|
433
|
+
lifecycle: "lifecycle";
|
|
434
|
+
}>;
|
|
435
|
+
environment: z.ZodString;
|
|
436
|
+
userId: z.ZodString;
|
|
437
|
+
kind: z.ZodLiteral<"owner">;
|
|
438
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
439
|
+
resource: z.ZodEnum<{
|
|
440
|
+
directory: "directory";
|
|
441
|
+
conversation: "conversation";
|
|
442
|
+
callback: "callback";
|
|
443
|
+
}>;
|
|
444
|
+
workspaceId: z.ZodString;
|
|
445
|
+
directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
|
|
446
|
+
registrationRevision: z.ZodString;
|
|
447
|
+
environment: z.ZodString;
|
|
448
|
+
userId: z.ZodString;
|
|
449
|
+
kind: z.ZodLiteral<"workspace">;
|
|
450
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
451
|
+
resource: z.ZodEnum<{
|
|
452
|
+
model: "model";
|
|
453
|
+
"model-permission": "model-permission";
|
|
454
|
+
"model-configuration": "model-configuration";
|
|
455
|
+
"model-supplier": "model-supplier";
|
|
456
|
+
}>;
|
|
457
|
+
modelConfigId: z.ZodString;
|
|
458
|
+
modelConfigRevision: z.ZodString;
|
|
459
|
+
policyRevision: z.ZodString;
|
|
460
|
+
effectiveSubjectId: z.ZodString;
|
|
461
|
+
credentialPin: z.ZodString;
|
|
462
|
+
authorityEpoch: z.ZodObject<{
|
|
463
|
+
namespace: z.ZodString;
|
|
464
|
+
globalRevision: z.ZodString;
|
|
465
|
+
subjectRevision: z.ZodString;
|
|
466
|
+
}, z.core.$strict>;
|
|
467
|
+
authorityEvidenceId: z.ZodString;
|
|
468
|
+
authzRevision: z.ZodNumber;
|
|
469
|
+
credentialExpiresAt: z.ZodString;
|
|
470
|
+
workspaceId: z.ZodString;
|
|
471
|
+
directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
|
|
472
|
+
registrationRevision: z.ZodString;
|
|
473
|
+
environment: z.ZodString;
|
|
474
|
+
userId: z.ZodString;
|
|
475
|
+
kind: z.ZodLiteral<"model">;
|
|
476
|
+
}, z.core.$strict>], "kind">;
|
|
477
|
+
observationVersion: z.ZodNumber;
|
|
478
|
+
}, z.core.$strict>>;
|
|
479
|
+
}, z.core.$strict>;
|
|
480
|
+
observations: z.ZodArray<z.ZodObject<{
|
|
481
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
482
|
+
scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
483
|
+
resource: z.ZodEnum<{
|
|
484
|
+
health: "health";
|
|
485
|
+
lifecycle: "lifecycle";
|
|
486
|
+
}>;
|
|
487
|
+
environment: z.ZodString;
|
|
488
|
+
userId: z.ZodString;
|
|
489
|
+
kind: z.ZodLiteral<"owner">;
|
|
490
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
491
|
+
resource: z.ZodEnum<{
|
|
492
|
+
directory: "directory";
|
|
493
|
+
conversation: "conversation";
|
|
494
|
+
callback: "callback";
|
|
495
|
+
}>;
|
|
496
|
+
workspaceId: z.ZodString;
|
|
497
|
+
directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
|
|
498
|
+
registrationRevision: z.ZodString;
|
|
499
|
+
environment: z.ZodString;
|
|
500
|
+
userId: z.ZodString;
|
|
501
|
+
kind: z.ZodLiteral<"workspace">;
|
|
502
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
503
|
+
resource: z.ZodEnum<{
|
|
504
|
+
model: "model";
|
|
505
|
+
"model-permission": "model-permission";
|
|
506
|
+
"model-configuration": "model-configuration";
|
|
507
|
+
"model-supplier": "model-supplier";
|
|
508
|
+
}>;
|
|
509
|
+
modelConfigId: z.ZodString;
|
|
510
|
+
modelConfigRevision: z.ZodString;
|
|
511
|
+
policyRevision: z.ZodString;
|
|
512
|
+
effectiveSubjectId: z.ZodString;
|
|
513
|
+
credentialPin: z.ZodString;
|
|
514
|
+
authorityEpoch: z.ZodObject<{
|
|
515
|
+
namespace: z.ZodString;
|
|
516
|
+
globalRevision: z.ZodString;
|
|
517
|
+
subjectRevision: z.ZodString;
|
|
518
|
+
}, z.core.$strict>;
|
|
519
|
+
authorityEvidenceId: z.ZodString;
|
|
520
|
+
authzRevision: z.ZodNumber;
|
|
521
|
+
credentialExpiresAt: z.ZodString;
|
|
522
|
+
workspaceId: z.ZodString;
|
|
523
|
+
directoryName: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"root">]>;
|
|
524
|
+
registrationRevision: z.ZodString;
|
|
525
|
+
environment: z.ZodString;
|
|
526
|
+
userId: z.ZodString;
|
|
527
|
+
kind: z.ZodLiteral<"model">;
|
|
528
|
+
}, z.core.$strict>], "kind">;
|
|
529
|
+
basis: z.ZodObject<{
|
|
530
|
+
runtimeId: z.ZodString;
|
|
531
|
+
generation: z.ZodNumber;
|
|
532
|
+
runtimeEpoch: z.ZodNumber;
|
|
533
|
+
endpointRevision: z.ZodString;
|
|
534
|
+
}, z.core.$strict>;
|
|
535
|
+
observationVersion: z.ZodNumber;
|
|
536
|
+
measuredAt: z.ZodString;
|
|
537
|
+
publishedAt: z.ZodString;
|
|
538
|
+
freshUntil: z.ZodString;
|
|
539
|
+
displayUntil: z.ZodString;
|
|
540
|
+
status: z.ZodEnum<{
|
|
541
|
+
ready: "ready";
|
|
542
|
+
unknown: "unknown";
|
|
543
|
+
pending: "pending";
|
|
544
|
+
unavailable: "unavailable";
|
|
545
|
+
destroyed: "destroyed";
|
|
546
|
+
}>;
|
|
547
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
548
|
+
refresh: z.ZodEnum<{
|
|
549
|
+
failed: "failed";
|
|
550
|
+
scheduled: "scheduled";
|
|
551
|
+
idle: "idle";
|
|
552
|
+
refreshing: "refreshing";
|
|
553
|
+
}>;
|
|
554
|
+
}, z.core.$strict>>;
|
|
555
|
+
}, z.core.$strict>;
|
|
556
|
+
export type RuntimeObservationSnapshot = z.infer<typeof runtimeObservationSnapshotSchema>;
|
|
557
|
+
/** Return an entire compatible packet or keep the prior compatible packet. No component commits
|
|
558
|
+
* separately, and identity replacement immediately retires the prior private display group. */
|
|
559
|
+
export declare function acceptRuntimeObservationSnapshot(current: RuntimeObservationSnapshot | undefined, incoming: RuntimeObservationSnapshot, expected: RuntimeObservationViewContext): RuntimeObservationSnapshot | undefined;
|
|
560
|
+
//# sourceMappingURL=runtime-observation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runtime-observation.d.ts","sourceRoot":"","sources":["../../../src/cloud-workspace/runtime/runtime-observation.ts"],"names":[],"mappings":"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"}
|