@playcraft/common 0.1.91 → 0.1.93-test
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-tools/replica-validation.d.ts +24 -24
- package/dist/audio-library-stream.d.ts +2 -2
- package/dist/cloud-workspace/runtime/agent-background-processes.d.ts +2 -2
- 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 +0 -1
- 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/artifacts.d.ts +5 -10
- package/dist/cloud-workspace/runtime/artifacts.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/artifacts.js +2 -6
- 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 +15 -41
- 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 +43 -100
- package/dist/cloud-workspace/runtime/asset-transfers.js.map +1 -1
- package/dist/cloud-workspace/runtime/attachment-base64.d.ts +0 -2
- package/dist/cloud-workspace/runtime/attachment-base64.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/attachment-base64.js +0 -4
- package/dist/cloud-workspace/runtime/attachment-base64.js.map +1 -1
- 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 +0 -1
- package/dist/cloud-workspace/runtime/batch-generation.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/batch-runs.d.ts +27 -149
- package/dist/cloud-workspace/runtime/batch-runs.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/batch-runs.js +1 -13
- 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/connectivity.d.ts +7 -7
- package/dist/cloud-workspace/runtime/delivery-format.d.ts +0 -2
- package/dist/cloud-workspace/runtime/delivery-format.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/delivery-format.js +0 -11
- package/dist/cloud-workspace/runtime/delivery-format.js.map +1 -1
- package/dist/cloud-workspace/runtime/delivery.d.ts +69 -69
- package/dist/cloud-workspace/runtime/directory-attachments.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/directory-attachments.js +50 -15
- package/dist/cloud-workspace/runtime/directory-attachments.js.map +1 -1
- package/dist/cloud-workspace/runtime/events.d.ts +4 -4
- package/dist/cloud-workspace/runtime/execution-admission.d.ts +5 -34
- package/dist/cloud-workspace/runtime/execution-admission.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/execution-admission.js +4 -17
- package/dist/cloud-workspace/runtime/execution-admission.js.map +1 -1
- package/dist/cloud-workspace/runtime/execution-context.d.ts +4 -4
- package/dist/cloud-workspace/runtime/execution-grant.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/execution-grant.js +2 -3
- package/dist/cloud-workspace/runtime/execution-grant.js.map +1 -1
- package/dist/cloud-workspace/runtime/files.d.ts +1 -11
- package/dist/cloud-workspace/runtime/files.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/files.js +4 -7
- package/dist/cloud-workspace/runtime/files.js.map +1 -1
- 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 +0 -2
- package/dist/cloud-workspace/runtime/generations.js.map +1 -1
- package/dist/cloud-workspace/runtime/handshake.d.ts +0 -2
- package/dist/cloud-workspace/runtime/handshake.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/handshake.js +0 -3
- package/dist/cloud-workspace/runtime/handshake.js.map +1 -1
- package/dist/cloud-workspace/runtime/index.d.ts +2 -20
- package/dist/cloud-workspace/runtime/index.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/index.js +2 -20
- package/dist/cloud-workspace/runtime/index.js.map +1 -1
- package/dist/cloud-workspace/runtime/level-editor-agent.d.ts +0 -68
- package/dist/cloud-workspace/runtime/level-editor-agent.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/level-editor-agent.js +0 -6
- 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 +0 -20
- package/dist/cloud-workspace/runtime/level-editor-schema.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/level-editor-schema.js +0 -3
- package/dist/cloud-workspace/runtime/level-editor-schema.js.map +1 -1
- package/dist/cloud-workspace/runtime/model-capture-upload-grant.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/model-capture-upload-grant.js +1 -6
- 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 +12 -100
- package/dist/cloud-workspace/runtime/operations.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/operations.js +2 -7
- 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 +14 -34
- package/dist/cloud-workspace/runtime/parameters.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/parameters.js +28 -87
- 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 +7 -8
- package/dist/cloud-workspace/runtime/previews.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/remix-references.d.ts +44 -100
- package/dist/cloud-workspace/runtime/remix-references.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/remix-references.js +21 -71
- 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/scheduled-task-proposals.d.ts +9 -9
- package/dist/cloud-workspace/runtime/scheduled-tasks.d.ts +5 -6
- package/dist/cloud-workspace/runtime/scheduled-tasks.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/scheduled-tasks.js +1 -2
- package/dist/cloud-workspace/runtime/scheduled-tasks.js.map +1 -1
- package/dist/cloud-workspace/runtime/session-restore.d.ts +0 -31
- package/dist/cloud-workspace/runtime/session-restore.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/session-restore.js +4 -10
- package/dist/cloud-workspace/runtime/session-restore.js.map +1 -1
- package/dist/cloud-workspace/runtime/skill-activation.d.ts +0 -4
- package/dist/cloud-workspace/runtime/skill-activation.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/skill-activation.js +22 -69
- package/dist/cloud-workspace/runtime/skill-activation.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/video-attachment-errors.d.ts +22 -0
- package/dist/cloud-workspace/runtime/video-attachment-errors.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/video-attachment-errors.js +21 -0
- package/dist/cloud-workspace/runtime/video-attachment-errors.js.map +1 -0
- package/dist/cloud-workspace/runtime/workspace-binding.d.ts +4 -4
- package/dist/cloud-workspace/runtime/workspace-directories.d.ts +2 -2
- package/dist/cloud-workspace/runtime/workspace-facts.d.ts +2 -3
- package/dist/cloud-workspace/runtime/workspace-facts.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/workspace-notifications.d.ts +1 -1
- package/dist/cloud-workspace/runtime/workspace-notifications.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/workspace-notifications.js +52 -147
- package/dist/cloud-workspace/runtime/workspace-notifications.js.map +1 -1
- package/dist/cloud-workspace/runtime/workspace-ui.d.ts +13 -269
- package/dist/cloud-workspace/runtime/workspace-ui.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/workspace-ui.js +32 -196
- package/dist/cloud-workspace/runtime/workspace-ui.js.map +1 -1
- package/dist/inspiration/index.d.ts +12 -12
- package/dist/model-proxy/captures.d.ts +2 -2
- package/dist/model-proxy/index.d.ts +0 -1
- package/dist/model-proxy/index.d.ts.map +1 -1
- package/dist/model-proxy/index.js +0 -1
- package/dist/model-proxy/index.js.map +1 -1
- package/dist/project-skills/index.d.ts +0 -1
- package/dist/project-skills/index.d.ts.map +1 -1
- package/dist/project-skills/index.js +0 -1
- 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 +13 -42
- 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 +11 -36
- package/dist/project-skills/local-snapshot.js.map +1 -1
- package/dist/project-skills/protocol.d.ts +4 -1
- package/dist/project-skills/protocol.d.ts.map +1 -1
- package/dist/project-skills/protocol.js +52 -90
- package/dist/project-skills/protocol.js.map +1 -1
- package/dist/project-skills/remote-discovery.d.ts +2 -2
- package/dist/storage/cos.d.ts +0 -6
- package/dist/storage/cos.d.ts.map +1 -1
- package/dist/storage/cos.js +10 -38
- package/dist/storage/cos.js.map +1 -1
- package/dist/storage/upload-build-artifacts.d.ts +0 -12
- package/dist/storage/upload-build-artifacts.d.ts.map +1 -1
- package/dist/storage/upload-build-artifacts.js +15 -17
- package/dist/storage/upload-build-artifacts.js.map +1 -1
- package/package.json +1 -21
- package/dist/agent-memory.d.ts +0 -88
- package/dist/agent-memory.d.ts.map +0 -1
- package/dist/agent-memory.js +0 -66
- package/dist/agent-memory.js.map +0 -1
- package/dist/agent-personalization.d.ts +0 -111
- package/dist/agent-personalization.d.ts.map +0 -1
- package/dist/agent-personalization.js +0 -32
- package/dist/agent-personalization.js.map +0 -1
- package/dist/audio-package-node.d.ts +0 -20
- package/dist/audio-package-node.d.ts.map +0 -1
- package/dist/audio-package-node.js +0 -77
- package/dist/audio-package-node.js.map +0 -1
- package/dist/audio-program-package.d.ts +0 -81
- package/dist/audio-program-package.d.ts.map +0 -1
- package/dist/audio-program-package.js +0 -268
- package/dist/audio-program-package.js.map +0 -1
- package/dist/cloud-workspace/runtime/agent-build-delivery.d.ts +0 -445
- package/dist/cloud-workspace/runtime/agent-build-delivery.d.ts.map +0 -1
- package/dist/cloud-workspace/runtime/agent-build-delivery.js +0 -215
- package/dist/cloud-workspace/runtime/agent-build-delivery.js.map +0 -1
- package/dist/cloud-workspace/runtime/artifact-generation-source.d.ts +0 -32
- package/dist/cloud-workspace/runtime/artifact-generation-source.d.ts.map +0 -1
- package/dist/cloud-workspace/runtime/artifact-generation-source.js +0 -46
- package/dist/cloud-workspace/runtime/artifact-generation-source.js.map +0 -1
- package/dist/cloud-workspace/runtime/audio-adoption-receipt.d.ts +0 -359
- package/dist/cloud-workspace/runtime/audio-adoption-receipt.d.ts.map +0 -1
- package/dist/cloud-workspace/runtime/audio-adoption-receipt.js +0 -39
- package/dist/cloud-workspace/runtime/audio-adoption-receipt.js.map +0 -1
- package/dist/cloud-workspace/runtime/audio-artifact-package.d.ts +0 -8
- package/dist/cloud-workspace/runtime/audio-artifact-package.d.ts.map +0 -1
- package/dist/cloud-workspace/runtime/audio-artifact-package.js +0 -102
- package/dist/cloud-workspace/runtime/audio-artifact-package.js.map +0 -1
- package/dist/cloud-workspace/runtime/delivery-preparation.d.ts +0 -74
- package/dist/cloud-workspace/runtime/delivery-preparation.d.ts.map +0 -1
- package/dist/cloud-workspace/runtime/delivery-preparation.js +0 -45
- package/dist/cloud-workspace/runtime/delivery-preparation.js.map +0 -1
- package/dist/cloud-workspace/runtime/draft-claim.d.ts +0 -8
- package/dist/cloud-workspace/runtime/draft-claim.d.ts.map +0 -1
- package/dist/cloud-workspace/runtime/draft-claim.js +0 -13
- package/dist/cloud-workspace/runtime/draft-claim.js.map +0 -1
- package/dist/cloud-workspace/runtime/draft-occupancy.d.ts +0 -231
- package/dist/cloud-workspace/runtime/draft-occupancy.d.ts.map +0 -1
- package/dist/cloud-workspace/runtime/draft-occupancy.js +0 -130
- package/dist/cloud-workspace/runtime/draft-occupancy.js.map +0 -1
- package/dist/cloud-workspace/runtime/frame-animation-consumer.d.ts +0 -260
- package/dist/cloud-workspace/runtime/frame-animation-consumer.d.ts.map +0 -1
- package/dist/cloud-workspace/runtime/frame-animation-consumer.js +0 -255
- package/dist/cloud-workspace/runtime/frame-animation-consumer.js.map +0 -1
- package/dist/cloud-workspace/runtime/generation-selection-audio.d.ts +0 -57
- package/dist/cloud-workspace/runtime/generation-selection-audio.d.ts.map +0 -1
- package/dist/cloud-workspace/runtime/generation-selection-audio.js +0 -68
- package/dist/cloud-workspace/runtime/generation-selection-audio.js.map +0 -1
- package/dist/cloud-workspace/runtime/generation-selection.d.ts +0 -997
- package/dist/cloud-workspace/runtime/generation-selection.d.ts.map +0 -1
- package/dist/cloud-workspace/runtime/generation-selection.js +0 -212
- package/dist/cloud-workspace/runtime/generation-selection.js.map +0 -1
- package/dist/cloud-workspace/runtime/production-inputs.d.ts +0 -283
- package/dist/cloud-workspace/runtime/production-inputs.d.ts.map +0 -1
- package/dist/cloud-workspace/runtime/production-inputs.js +0 -174
- package/dist/cloud-workspace/runtime/production-inputs.js.map +0 -1
- package/dist/cloud-workspace/runtime/project-preparation.d.ts +0 -307
- package/dist/cloud-workspace/runtime/project-preparation.d.ts.map +0 -1
- package/dist/cloud-workspace/runtime/project-preparation.js +0 -110
- package/dist/cloud-workspace/runtime/project-preparation.js.map +0 -1
- package/dist/cloud-workspace/runtime/prompt-enhancement.d.ts +0 -1286
- package/dist/cloud-workspace/runtime/prompt-enhancement.d.ts.map +0 -1
- package/dist/cloud-workspace/runtime/prompt-enhancement.js +0 -321
- package/dist/cloud-workspace/runtime/prompt-enhancement.js.map +0 -1
- package/dist/cloud-workspace/runtime/runtime-sha256.d.ts +0 -3
- package/dist/cloud-workspace/runtime/runtime-sha256.d.ts.map +0 -1
- package/dist/cloud-workspace/runtime/runtime-sha256.js +0 -11
- package/dist/cloud-workspace/runtime/runtime-sha256.js.map +0 -1
- package/dist/cloud-workspace/runtime/session-personalization.d.ts +0 -35
- package/dist/cloud-workspace/runtime/session-personalization.d.ts.map +0 -1
- package/dist/cloud-workspace/runtime/session-personalization.js +0 -9
- package/dist/cloud-workspace/runtime/session-personalization.js.map +0 -1
- package/dist/cloud-workspace/runtime/workspace-confirmation.d.ts +0 -1956
- package/dist/cloud-workspace/runtime/workspace-confirmation.d.ts.map +0 -1
- package/dist/cloud-workspace/runtime/workspace-confirmation.js +0 -591
- package/dist/cloud-workspace/runtime/workspace-confirmation.js.map +0 -1
- package/dist/cloud-workspace/runtime/workspace-model-source.d.ts +0 -291
- package/dist/cloud-workspace/runtime/workspace-model-source.d.ts.map +0 -1
- package/dist/cloud-workspace/runtime/workspace-model-source.js +0 -128
- package/dist/cloud-workspace/runtime/workspace-model-source.js.map +0 -1
- package/dist/cloud-workspace/runtime/workspace-parameter-confirmation.d.ts +0 -101
- package/dist/cloud-workspace/runtime/workspace-parameter-confirmation.d.ts.map +0 -1
- package/dist/cloud-workspace/runtime/workspace-parameter-confirmation.js +0 -160
- package/dist/cloud-workspace/runtime/workspace-parameter-confirmation.js.map +0 -1
- package/dist/cloud-workspace/runtime/workspace-public-source.d.ts +0 -67
- package/dist/cloud-workspace/runtime/workspace-public-source.d.ts.map +0 -1
- package/dist/cloud-workspace/runtime/workspace-public-source.js +0 -97
- package/dist/cloud-workspace/runtime/workspace-public-source.js.map +0 -1
- package/dist/cloud-workspace/runtime/workspace-refs.d.ts +0 -73
- package/dist/cloud-workspace/runtime/workspace-refs.d.ts.map +0 -1
- package/dist/cloud-workspace/runtime/workspace-refs.js +0 -106
- package/dist/cloud-workspace/runtime/workspace-refs.js.map +0 -1
- package/dist/model-proxy/provider-stats.d.ts +0 -38
- package/dist/model-proxy/provider-stats.d.ts.map +0 -1
- package/dist/model-proxy/provider-stats.js +0 -2
- package/dist/model-proxy/provider-stats.js.map +0 -1
- package/dist/preview/preview-devices.d.ts +0 -20
- package/dist/preview/preview-devices.d.ts.map +0 -1
- package/dist/preview/preview-devices.js +0 -46
- package/dist/preview/preview-devices.js.map +0 -1
- package/dist/project-skills/source-digest-node.d.ts +0 -5
- package/dist/project-skills/source-digest-node.d.ts.map +0 -1
- package/dist/project-skills/source-digest-node.js +0 -26
- package/dist/project-skills/source-digest-node.js.map +0 -1
- package/dist/team-memory.d.ts +0 -33
- package/dist/team-memory.d.ts.map +0 -1
- package/dist/team-memory.js +0 -39
- package/dist/team-memory.js.map +0 -1
|
@@ -6,84 +6,37 @@ const id = z.string().min(1).max(256);
|
|
|
6
6
|
const hash = z.string().regex(/^[a-f0-9]{64}$/);
|
|
7
7
|
/** Only the control service may attach this to a new, exclusive native turn. */
|
|
8
8
|
export const skillActivationPayloadSchema = z.strictObject({
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
selectionId: hash,
|
|
13
|
-
sourceOperationId: id,
|
|
14
|
-
sourceSessionId: id,
|
|
15
|
-
sourceThreadId: id,
|
|
16
|
-
sourceTurnId: id,
|
|
17
|
-
expectedLockHash: hash,
|
|
18
|
-
expectedDeclarationHash: hash,
|
|
19
|
-
registrationHash: hash,
|
|
9
|
+
version: z.literal(1), requestId: z.string().uuid(), selectionId: hash,
|
|
10
|
+
sourceOperationId: id, sourceSessionId: id, sourceThreadId: id, sourceTurnId: id,
|
|
11
|
+
expectedLockHash: hash, expectedDeclarationHash: hash, registrationHash: hash,
|
|
20
12
|
});
|
|
21
13
|
export const skillActivationRequestRecordSchema = skillActivationPayloadSchema.extend({
|
|
22
|
-
workspaceId: id,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
runtimeEpoch: z.number().int().nonnegative(),
|
|
26
|
-
status: z.enum([
|
|
27
|
-
'requested',
|
|
28
|
-
'queued',
|
|
29
|
-
'dispatched',
|
|
30
|
-
'completed',
|
|
31
|
-
'failed',
|
|
32
|
-
'cancelled',
|
|
33
|
-
'stale',
|
|
34
|
-
'uncertain',
|
|
35
|
-
]),
|
|
14
|
+
workspaceId: id, directoryName: z.string().min(1).max(128),
|
|
15
|
+
generation: z.number().int().nonnegative(), runtimeEpoch: z.number().int().nonnegative(),
|
|
16
|
+
status: z.enum(['requested', 'queued', 'dispatched', 'completed', 'failed', 'cancelled', 'stale', 'uncertain']),
|
|
36
17
|
selectionReferences: z.array(remoteSkillReferenceSchema).min(1).max(512),
|
|
37
|
-
operationId: id.optional(),
|
|
38
|
-
|
|
39
|
-
error: z.string().max(256).optional(),
|
|
40
|
-
createdAt: z.string().datetime(),
|
|
41
|
-
updatedAt: z.string().datetime(),
|
|
42
|
-
});
|
|
43
|
-
export const skillActivationRequestListSchema = z.strictObject({
|
|
44
|
-
requests: z.array(skillActivationRequestRecordSchema).max(256),
|
|
18
|
+
operationId: id.optional(), targetLockHash: hash.optional(), error: z.string().max(256).optional(),
|
|
19
|
+
createdAt: z.string().datetime(), updatedAt: z.string().datetime(),
|
|
45
20
|
});
|
|
21
|
+
export const skillActivationRequestListSchema = z.strictObject({ requests: z.array(skillActivationRequestRecordSchema).max(256) });
|
|
46
22
|
export const skillActivationDispatchRequestSchema = skillActivationPayloadSchema.extend({
|
|
47
|
-
runtimeId: id,
|
|
48
|
-
|
|
49
|
-
runtimeEpoch: z.number().int().nonnegative(),
|
|
50
|
-
workspaceId: id,
|
|
51
|
-
directoryName: z.string().min(1).max(128),
|
|
23
|
+
runtimeId: id, generation: z.number().int().nonnegative(), runtimeEpoch: z.number().int().nonnegative(),
|
|
24
|
+
workspaceId: id, directoryName: z.string().min(1).max(128),
|
|
52
25
|
});
|
|
53
|
-
export const skillActivationRegistrationSchema = z
|
|
54
|
-
.
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
requestId:
|
|
58
|
-
lockHash: hash.optional(),
|
|
59
|
-
executionReady: z.boolean(),
|
|
60
|
-
})
|
|
61
|
-
.superRefine((value, context) => {
|
|
62
|
-
if (value.status === 'activation_requested'
|
|
63
|
-
? !value.requestId || value.executionReady
|
|
64
|
-
: !value.lockHash || !value.executionReady)
|
|
26
|
+
export const skillActivationRegistrationSchema = z.strictObject({
|
|
27
|
+
status: z.enum(['activation_requested', 'already_active']), selectionId: hash,
|
|
28
|
+
requestId: z.string().uuid().optional(), lockHash: hash.optional(), executionReady: z.boolean(),
|
|
29
|
+
}).superRefine((value, context) => {
|
|
30
|
+
if (value.status === 'activation_requested' ? !value.requestId || value.executionReady : !value.lockHash || !value.executionReady)
|
|
65
31
|
context.addIssue({ code: 'custom', message: 'invalid_skill_activation_receipt' });
|
|
66
32
|
});
|
|
67
33
|
/** Pin only the engineering target, not unrelated directories or transient clone instructions. */
|
|
68
34
|
export function skillActivationBindingHash(binding, directoryName) {
|
|
69
|
-
const directory = binding.directories?.find(
|
|
70
|
-
return projectSkillsDigest({
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
repositoryUrl: binding.repositoryUrl,
|
|
76
|
-
branchName: binding.branchName,
|
|
77
|
-
preserveLocalBasic: 'preserveLocalBasic' in binding ? (binding.preserveLocalBasic ?? false) : false,
|
|
78
|
-
directoryName,
|
|
79
|
-
directory: directory
|
|
80
|
-
? {
|
|
81
|
-
branchName: directory.branchName,
|
|
82
|
-
remixId: directory.remixId,
|
|
83
|
-
sourceCommit: directory.sourceCommit,
|
|
84
|
-
status: directory.status,
|
|
85
|
-
}
|
|
86
|
-
: null,
|
|
87
|
-
});
|
|
35
|
+
const directory = binding.directories?.find(item => item.directoryName === directoryName);
|
|
36
|
+
return projectSkillsDigest({ workspaceId: binding.workspaceId, projectId: binding.projectId,
|
|
37
|
+
targetKind: binding.targetKind, remixId: binding.remixId, repositoryUrl: binding.repositoryUrl,
|
|
38
|
+
branchName: binding.branchName, preserveLocalBasic: 'preserveLocalBasic' in binding ? binding.preserveLocalBasic ?? false : false,
|
|
39
|
+
directoryName, directory: directory ? { branchName: directory.branchName, remixId: directory.remixId,
|
|
40
|
+
sourceCommit: directory.sourceCommit, status: directory.status } : null });
|
|
88
41
|
}
|
|
89
42
|
//# sourceMappingURL=skill-activation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill-activation.js","sourceRoot":"","sources":["../../../src/cloud-workspace/runtime/skill-activation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAEvE,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Aa,CAAC,CAAC;IAC1F,OAAO,mBAAmB,CAAC,EAAE,WAAW,EAAE,OAAO,CAAC,WAAW,EAAE,SAAS,EAAE,OAAO,CAAC,SAAS;QACzF,UAAU,EAAE,OAAO,CAAC,UAAU,EAAE,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,CAAC,aAAa;QAC9F,UAAU,EAAE,OAAO,CAAC,UAAU,EAAE,kBAAkB,EAAE,oBAAoB,IAAI,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,kBAAkB,IAAI,KAAK,CAAC,CAAC,CAAC,KAAK;QACjI,aAAa,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,SAAS,CAAC,UAAU,EAAE,OAAO,EAAE,SAAS,CAAC,OAAO;YAClG,YAAY,EAAE,SAAS,CAAC,YAAY,EAAE,MAAM,EAAE,SAAS,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;AACjF,CAAC"}
|
|
@@ -38,8 +38,8 @@ export declare const terminalServerFrameSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
38
38
|
}, z.core.$strict>, z.ZodObject<{
|
|
39
39
|
type: z.ZodLiteral<"revoked">;
|
|
40
40
|
reason: z.ZodEnum<{
|
|
41
|
-
terminal_destroyed: "terminal_destroyed";
|
|
42
41
|
runtime_destroyed: "runtime_destroyed";
|
|
42
|
+
terminal_destroyed: "terminal_destroyed";
|
|
43
43
|
grant_revoked: "grant_revoked";
|
|
44
44
|
pty_unavailable: "pty_unavailable";
|
|
45
45
|
}>;
|
|
@@ -8,8 +8,8 @@ export declare const variantWorkspacePayloadSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
8
8
|
path: z.ZodString;
|
|
9
9
|
content: z.ZodString;
|
|
10
10
|
encoding: z.ZodDefault<z.ZodEnum<{
|
|
11
|
-
base64: "base64";
|
|
12
11
|
utf8: "utf8";
|
|
12
|
+
base64: "base64";
|
|
13
13
|
}>>;
|
|
14
14
|
}, z.core.$strict>>>;
|
|
15
15
|
}, z.core.$strict>], "action">;
|
|
@@ -23,8 +23,8 @@ export declare const variantWorkspaceRequestSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
23
23
|
path: z.ZodString;
|
|
24
24
|
content: z.ZodString;
|
|
25
25
|
encoding: z.ZodDefault<z.ZodEnum<{
|
|
26
|
-
base64: "base64";
|
|
27
26
|
utf8: "utf8";
|
|
27
|
+
base64: "base64";
|
|
28
28
|
}>>;
|
|
29
29
|
}, z.core.$strict>>>;
|
|
30
30
|
}, z.core.$strict>], "action">;
|
|
@@ -42,8 +42,8 @@ export declare const variantWorkspaceRequestSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
42
42
|
workspaceId: z.ZodString;
|
|
43
43
|
kind: z.ZodEnum<{
|
|
44
44
|
execution: "execution";
|
|
45
|
-
manager: "manager";
|
|
46
45
|
session: "session";
|
|
46
|
+
manager: "manager";
|
|
47
47
|
}>;
|
|
48
48
|
runId: z.ZodOptional<z.ZodString>;
|
|
49
49
|
executionId: z.ZodOptional<z.ZodString>;
|
|
@@ -55,8 +55,8 @@ export declare const variantWorkspaceRequestSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
55
55
|
leaseToken: z.ZodString;
|
|
56
56
|
}, z.core.$strict>, z.ZodObject<{
|
|
57
57
|
action: z.ZodEnum<{
|
|
58
|
-
clone: "clone";
|
|
59
58
|
install: "install";
|
|
59
|
+
clone: "clone";
|
|
60
60
|
}>;
|
|
61
61
|
inputHash: z.ZodString;
|
|
62
62
|
settledOnly: z.ZodLiteral<true>;
|
|
@@ -73,8 +73,8 @@ export declare const variantWorkspaceRequestSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
73
73
|
workspaceId: z.ZodString;
|
|
74
74
|
kind: z.ZodEnum<{
|
|
75
75
|
execution: "execution";
|
|
76
|
-
manager: "manager";
|
|
77
76
|
session: "session";
|
|
77
|
+
manager: "manager";
|
|
78
78
|
}>;
|
|
79
79
|
runId: z.ZodOptional<z.ZodString>;
|
|
80
80
|
executionId: z.ZodOptional<z.ZodString>;
|
|
@@ -114,8 +114,8 @@ export declare const variantWorkspaceIntentSchema: z.ZodObject<{
|
|
|
114
114
|
path: z.ZodString;
|
|
115
115
|
content: z.ZodString;
|
|
116
116
|
encoding: z.ZodDefault<z.ZodEnum<{
|
|
117
|
-
base64: "base64";
|
|
118
117
|
utf8: "utf8";
|
|
118
|
+
base64: "base64";
|
|
119
119
|
}>>;
|
|
120
120
|
}, z.core.$strict>>>;
|
|
121
121
|
}, z.core.$strict>], "action">;
|
|
@@ -151,8 +151,8 @@ export declare const variantWorkspaceIntentsSchema: z.ZodObject<{
|
|
|
151
151
|
path: z.ZodString;
|
|
152
152
|
content: z.ZodString;
|
|
153
153
|
encoding: z.ZodDefault<z.ZodEnum<{
|
|
154
|
-
base64: "base64";
|
|
155
154
|
utf8: "utf8";
|
|
155
|
+
base64: "base64";
|
|
156
156
|
}>>;
|
|
157
157
|
}, z.core.$strict>>>;
|
|
158
158
|
}, z.core.$strict>], "action">;
|
|
@@ -187,8 +187,8 @@ export declare const variantWorkspaceIntentsSchema: z.ZodObject<{
|
|
|
187
187
|
path: z.ZodString;
|
|
188
188
|
content: z.ZodString;
|
|
189
189
|
encoding: z.ZodDefault<z.ZodEnum<{
|
|
190
|
-
base64: "base64";
|
|
191
190
|
utf8: "utf8";
|
|
191
|
+
base64: "base64";
|
|
192
192
|
}>>;
|
|
193
193
|
}, z.core.$strict>>>;
|
|
194
194
|
}, z.core.$strict>], "action">;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** Safe, stable reasons that may cross the video attachment upload boundary. */
|
|
3
|
+
export declare const WORKSPACE_VIDEO_UPLOAD_ERROR_CODES: readonly ["video_attachment_too_large", "video_attachment_empty", "video_attachment_incomplete", "video_attachment_invalid", "video_attachment_unsupported_format", "video_attachment_no_video", "video_attachment_too_long", "video_attachment_invalid_dimensions", "video_probe_timeout", "video_probe_unavailable", "attachment_storage_full", "attachment_permission_denied", "attachment_upload_failed", "attachment_upload_timeout", "invalid_video_attachment"];
|
|
4
|
+
export declare const workspaceVideoUploadErrorCodeSchema: z.ZodEnum<{
|
|
5
|
+
invalid_video_attachment: "invalid_video_attachment";
|
|
6
|
+
video_attachment_too_large: "video_attachment_too_large";
|
|
7
|
+
video_attachment_empty: "video_attachment_empty";
|
|
8
|
+
video_attachment_incomplete: "video_attachment_incomplete";
|
|
9
|
+
video_attachment_invalid: "video_attachment_invalid";
|
|
10
|
+
video_attachment_unsupported_format: "video_attachment_unsupported_format";
|
|
11
|
+
video_attachment_no_video: "video_attachment_no_video";
|
|
12
|
+
video_attachment_too_long: "video_attachment_too_long";
|
|
13
|
+
video_attachment_invalid_dimensions: "video_attachment_invalid_dimensions";
|
|
14
|
+
video_probe_timeout: "video_probe_timeout";
|
|
15
|
+
video_probe_unavailable: "video_probe_unavailable";
|
|
16
|
+
attachment_storage_full: "attachment_storage_full";
|
|
17
|
+
attachment_permission_denied: "attachment_permission_denied";
|
|
18
|
+
attachment_upload_failed: "attachment_upload_failed";
|
|
19
|
+
attachment_upload_timeout: "attachment_upload_timeout";
|
|
20
|
+
}>;
|
|
21
|
+
export type WorkspaceVideoUploadErrorCode = z.infer<typeof workspaceVideoUploadErrorCodeSchema>;
|
|
22
|
+
//# sourceMappingURL=video-attachment-errors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"video-attachment-errors.d.ts","sourceRoot":"","sources":["../../../src/cloud-workspace/runtime/video-attachment-errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,gFAAgF;AAChF,eAAO,MAAM,kCAAkC,wcAgBrC,CAAC;AAEX,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;EAA6C,CAAC;AAC9F,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** Safe, stable reasons that may cross the video attachment upload boundary. */
|
|
3
|
+
export const WORKSPACE_VIDEO_UPLOAD_ERROR_CODES = [
|
|
4
|
+
'video_attachment_too_large',
|
|
5
|
+
'video_attachment_empty',
|
|
6
|
+
'video_attachment_incomplete',
|
|
7
|
+
'video_attachment_invalid',
|
|
8
|
+
'video_attachment_unsupported_format',
|
|
9
|
+
'video_attachment_no_video',
|
|
10
|
+
'video_attachment_too_long',
|
|
11
|
+
'video_attachment_invalid_dimensions',
|
|
12
|
+
'video_probe_timeout',
|
|
13
|
+
'video_probe_unavailable',
|
|
14
|
+
'attachment_storage_full',
|
|
15
|
+
'attachment_permission_denied',
|
|
16
|
+
'attachment_upload_failed',
|
|
17
|
+
'attachment_upload_timeout',
|
|
18
|
+
'invalid_video_attachment',
|
|
19
|
+
];
|
|
20
|
+
export const workspaceVideoUploadErrorCodeSchema = z.enum(WORKSPACE_VIDEO_UPLOAD_ERROR_CODES);
|
|
21
|
+
//# sourceMappingURL=video-attachment-errors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"video-attachment-errors.js","sourceRoot":"","sources":["../../../src/cloud-workspace/runtime/video-attachment-errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,gFAAgF;AAChF,MAAM,CAAC,MAAM,kCAAkC,GAAG;IAChD,4BAA4B;IAC5B,wBAAwB;IACxB,6BAA6B;IAC7B,0BAA0B;IAC1B,qCAAqC;IACrC,2BAA2B;IAC3B,2BAA2B;IAC3B,qCAAqC;IACrC,qBAAqB;IACrB,yBAAyB;IACzB,yBAAyB;IACzB,8BAA8B;IAC9B,0BAA0B;IAC1B,2BAA2B;IAC3B,0BAA0B;CAClB,CAAC;AAEX,MAAM,CAAC,MAAM,mCAAmC,GAAG,CAAC,CAAC,IAAI,CAAC,kCAAkC,CAAC,CAAC"}
|
|
@@ -16,8 +16,8 @@ export declare const workspaceRegistrationSchema: z.ZodUnion<readonly [z.ZodObje
|
|
|
16
16
|
branchName: z.ZodString;
|
|
17
17
|
sourceCommit: z.ZodOptional<z.ZodString>;
|
|
18
18
|
status: z.ZodOptional<z.ZodEnum<{
|
|
19
|
-
ready: "ready";
|
|
20
19
|
pending: "pending";
|
|
20
|
+
ready: "ready";
|
|
21
21
|
reclaimed: "reclaimed";
|
|
22
22
|
failed: "failed";
|
|
23
23
|
}>>;
|
|
@@ -41,8 +41,8 @@ export declare const workspaceRegistrationSchema: z.ZodUnion<readonly [z.ZodObje
|
|
|
41
41
|
branchName: z.ZodString;
|
|
42
42
|
sourceCommit: z.ZodOptional<z.ZodString>;
|
|
43
43
|
status: z.ZodOptional<z.ZodEnum<{
|
|
44
|
-
ready: "ready";
|
|
45
44
|
pending: "pending";
|
|
45
|
+
ready: "ready";
|
|
46
46
|
reclaimed: "reclaimed";
|
|
47
47
|
failed: "failed";
|
|
48
48
|
}>>;
|
|
@@ -145,8 +145,8 @@ export declare const workspaceRegistrationRequestSchema: z.ZodObject<{
|
|
|
145
145
|
branchName: z.ZodString;
|
|
146
146
|
sourceCommit: z.ZodOptional<z.ZodString>;
|
|
147
147
|
status: z.ZodOptional<z.ZodEnum<{
|
|
148
|
-
ready: "ready";
|
|
149
148
|
pending: "pending";
|
|
149
|
+
ready: "ready";
|
|
150
150
|
reclaimed: "reclaimed";
|
|
151
151
|
failed: "failed";
|
|
152
152
|
}>>;
|
|
@@ -170,8 +170,8 @@ export declare const workspaceRegistrationRequestSchema: z.ZodObject<{
|
|
|
170
170
|
branchName: z.ZodString;
|
|
171
171
|
sourceCommit: z.ZodOptional<z.ZodString>;
|
|
172
172
|
status: z.ZodOptional<z.ZodEnum<{
|
|
173
|
-
ready: "ready";
|
|
174
173
|
pending: "pending";
|
|
174
|
+
ready: "ready";
|
|
175
175
|
reclaimed: "reclaimed";
|
|
176
176
|
failed: "failed";
|
|
177
177
|
}>>;
|
|
@@ -12,8 +12,8 @@ export declare const workspaceDirectoryRegistrationSchema: z.ZodObject<{
|
|
|
12
12
|
branchName: z.ZodString;
|
|
13
13
|
sourceCommit: z.ZodOptional<z.ZodString>;
|
|
14
14
|
status: z.ZodOptional<z.ZodEnum<{
|
|
15
|
-
ready: "ready";
|
|
16
15
|
pending: "pending";
|
|
16
|
+
ready: "ready";
|
|
17
17
|
reclaimed: "reclaimed";
|
|
18
18
|
failed: "failed";
|
|
19
19
|
}>>;
|
|
@@ -36,9 +36,9 @@ export declare const workspaceDirectoryStatsSchema: z.ZodObject<{
|
|
|
36
36
|
sizeBytes: z.ZodNumber;
|
|
37
37
|
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
38
38
|
status: z.ZodEnum<{
|
|
39
|
-
missing: "missing";
|
|
40
39
|
reclaimed: "reclaimed";
|
|
41
40
|
present: "present";
|
|
41
|
+
missing: "missing";
|
|
42
42
|
}>;
|
|
43
43
|
}, z.core.$strict>>;
|
|
44
44
|
}, z.core.$strict>;
|
|
@@ -22,10 +22,10 @@ export declare const workspaceFactsSchema: z.ZodObject<{
|
|
|
22
22
|
file: "file";
|
|
23
23
|
document: "document";
|
|
24
24
|
audio: "audio";
|
|
25
|
-
playable: "playable";
|
|
26
25
|
model: "model";
|
|
27
26
|
image: "image";
|
|
28
27
|
video: "video";
|
|
28
|
+
playable: "playable";
|
|
29
29
|
}>;
|
|
30
30
|
name: z.ZodString;
|
|
31
31
|
currentVersionId: z.ZodString;
|
|
@@ -48,7 +48,6 @@ export declare const workspaceFactsSchema: z.ZodObject<{
|
|
|
48
48
|
operationId: z.ZodOptional<z.ZodString>;
|
|
49
49
|
tool: z.ZodOptional<z.ZodString>;
|
|
50
50
|
generatedAt: z.ZodOptional<z.ZodString>;
|
|
51
|
-
generationTaskId: z.ZodOptional<z.ZodString>;
|
|
52
51
|
}, z.core.$strict>;
|
|
53
52
|
files: z.ZodArray<z.ZodObject<{
|
|
54
53
|
path: z.ZodString;
|
|
@@ -67,8 +66,8 @@ export declare const workspaceFactsSchema: z.ZodObject<{
|
|
|
67
66
|
previewId: z.ZodOptional<z.ZodString>;
|
|
68
67
|
artifactId: z.ZodOptional<z.ZodString>;
|
|
69
68
|
storageStatus: z.ZodOptional<z.ZodEnum<{
|
|
70
|
-
ready: "ready";
|
|
71
69
|
pending: "pending";
|
|
70
|
+
ready: "ready";
|
|
72
71
|
failed: "failed";
|
|
73
72
|
}>>;
|
|
74
73
|
modelBuild: z.ZodOptional<z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace-facts.d.ts","sourceRoot":"","sources":["../../../src/cloud-workspace/runtime/workspace-facts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,kFAAkF;AAClF,eAAO,MAAM,2BAA2B;;;;;;kBAQ7B,CAAC;AACZ,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"workspace-facts.d.ts","sourceRoot":"","sources":["../../../src/cloud-workspace/runtime/workspace-facts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,kFAAkF;AAClF,eAAO,MAAM,2BAA2B;;;;;;kBAQ7B,CAAC;AACZ,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAmBtB,CAAC;AACZ,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
|
|
@@ -18,8 +18,8 @@ export declare const workspaceNotificationPayloadSchema: z.ZodObject<{
|
|
|
18
18
|
events: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
19
19
|
streamKind: z.ZodEnum<{
|
|
20
20
|
runtime: "runtime";
|
|
21
|
-
workspace: "workspace";
|
|
22
21
|
session: "session";
|
|
22
|
+
workspace: "workspace";
|
|
23
23
|
}>;
|
|
24
24
|
streamId: z.ZodString;
|
|
25
25
|
sequence: z.ZodNumber;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace-notifications.d.ts","sourceRoot":"","sources":["../../../src/cloud-workspace/runtime/workspace-notifications.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAqB,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"workspace-notifications.d.ts","sourceRoot":"","sources":["../../../src/cloud-workspace/runtime/workspace-notifications.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAqB,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AAGlE,MAAM,MAAM,qBAAqB,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;AACjF,eAAO,MAAM,iCAAiC,MAAM,CAAC;AAErD,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAUpC,CAAC;AACZ,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAkB9F,0FAA0F;AAC1F,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,IAAI,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC,GAAG,OAAO,CAI5F;AAED,gGAAgG;AAChG,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,IAAI,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC,GAAG,OAAO,CAkB3F;AAED,mGAAmG;AACnG,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,IAAI,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC,GAAG,qBAAqB,GAAG,MAAM,CAOvH;AAED,gGAAgG;AAChG,wBAAgB,0BAA0B,CACxC,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,WAAW,EAAE,EACrB,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,GAC1D,WAAW,GAAG,SAAS,CA2CzB"}
|