@playdrop/playdrop-cli 0.16.16 → 0.17.0
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/config/client-meta.json +4 -4
- package/dist/apiClient.d.ts +1 -2
- package/dist/apiClient.js +1 -16
- package/dist/appUrls.js +4 -0
- package/dist/apps/build.d.ts +12 -4
- package/dist/apps/build.js +55 -22
- package/dist/apps/index.d.ts +2 -1
- package/dist/apps/index.js +4 -1
- package/dist/apps/loadCheck.d.ts +5 -1
- package/dist/apps/loadCheck.js +52 -18
- package/dist/apps/serverBuild.d.ts +17 -0
- package/dist/apps/serverBuild.js +155 -0
- package/dist/apps/staticHtml.d.ts +1 -0
- package/dist/apps/staticHtml.js +19 -10
- package/dist/apps/upload.d.ts +12 -2
- package/dist/apps/upload.js +127 -46
- package/dist/catalogue.d.ts +23 -1
- package/dist/catalogue.js +126 -100
- package/dist/commandContext.d.ts +6 -3
- package/dist/commandContext.js +108 -18
- package/dist/commands/build.js +0 -7
- package/dist/commands/captureListing.d.ts +3 -0
- package/dist/commands/captureListing.js +48 -4
- package/dist/commands/chat.d.ts +4 -0
- package/dist/commands/chat.js +133 -8
- package/dist/commands/check.js +34 -1
- package/dist/commands/create.js +30 -263
- package/dist/commands/dev.js +37 -3
- package/dist/commands/devBrowser.js +2 -2
- package/dist/commands/devGameServer.d.ts +16 -0
- package/dist/commands/devGameServer.js +237 -0
- package/dist/commands/devRuntimeAssets.d.ts +1 -0
- package/dist/commands/devRuntimeAssets.js +2 -0
- package/dist/commands/devServer.d.ts +3 -0
- package/dist/commands/devServer.js +111 -5
- package/dist/commands/generation.d.ts +33 -4
- package/dist/commands/generation.js +304 -115
- package/dist/commands/login.js +23 -7
- package/dist/commands/review.d.ts +1 -1
- package/dist/commands/review.js +68 -95
- package/dist/commands/source.d.ts +19 -0
- package/dist/commands/source.js +142 -0
- package/dist/commands/tweaks.js +5 -11
- package/dist/commands/upload-content.d.ts +1 -1
- package/dist/commands/upload-content.js +16 -12
- package/dist/commands/upload.d.ts +17 -1
- package/dist/commands/upload.js +47 -10
- package/dist/commands/worker/archive-staging.d.ts +1 -0
- package/dist/commands/worker/archive-staging.js +13 -2
- package/dist/commands/worker/e2e-fixtures.d.ts +32 -0
- package/dist/commands/worker/e2e-fixtures.js +466 -0
- package/dist/commands/worker/game-server-infra.d.ts +80 -0
- package/dist/commands/worker/game-server-infra.js +595 -0
- package/dist/commands/worker/game-source-git.d.ts +126 -0
- package/dist/commands/worker/game-source-git.js +780 -0
- package/dist/commands/worker/generation.d.ts +94 -0
- package/dist/commands/worker/generation.js +1458 -0
- package/dist/commands/worker/runtime.d.ts +8 -10
- package/dist/commands/worker/runtime.js +51 -45
- package/dist/commands/worker.d.ts +79 -19
- package/dist/commands/worker.js +1796 -419
- package/dist/config.d.ts +2 -0
- package/dist/config.js +16 -3
- package/dist/environment.d.ts +0 -1
- package/dist/environment.js +0 -8
- package/dist/index.js +92 -13
- package/dist/workerAppProject.d.ts +1 -1
- package/dist/workerAppProject.js +15 -2
- package/node_modules/@playdrop/api-client/dist/client.d.ts +72 -25
- package/node_modules/@playdrop/api-client/dist/client.d.ts.map +1 -1
- package/node_modules/@playdrop/api-client/dist/client.js +33 -0
- package/node_modules/@playdrop/api-client/dist/core/request.d.ts +1 -0
- package/node_modules/@playdrop/api-client/dist/core/request.d.ts.map +1 -1
- package/node_modules/@playdrop/api-client/dist/core/request.js +17 -11
- package/node_modules/@playdrop/api-client/dist/domains/agent-tasks.d.ts +51 -6
- package/node_modules/@playdrop/api-client/dist/domains/agent-tasks.d.ts.map +1 -1
- package/node_modules/@playdrop/api-client/dist/domains/agent-tasks.js +338 -41
- package/node_modules/@playdrop/api-client/dist/domains/ai.d.ts +24 -1
- package/node_modules/@playdrop/api-client/dist/domains/ai.d.ts.map +1 -1
- package/node_modules/@playdrop/api-client/dist/domains/ai.js +20 -0
- package/node_modules/@playdrop/api-client/dist/domains/apps.d.ts +13 -8
- package/node_modules/@playdrop/api-client/dist/domains/apps.d.ts.map +1 -1
- package/node_modules/@playdrop/api-client/dist/domains/apps.js +158 -90
- package/node_modules/@playdrop/api-client/dist/domains/assets.d.ts +4 -0
- package/node_modules/@playdrop/api-client/dist/domains/assets.d.ts.map +1 -1
- package/node_modules/@playdrop/api-client/dist/domains/assets.js +27 -0
- package/node_modules/@playdrop/api-client/dist/domains/chat.d.ts +35 -3
- package/node_modules/@playdrop/api-client/dist/domains/chat.d.ts.map +1 -1
- package/node_modules/@playdrop/api-client/dist/domains/chat.js +89 -7
- package/node_modules/@playdrop/api-client/dist/domains/player-meta.d.ts +2 -1
- package/node_modules/@playdrop/api-client/dist/domains/player-meta.d.ts.map +1 -1
- package/node_modules/@playdrop/api-client/dist/domains/player-meta.js +9 -0
- package/node_modules/@playdrop/api-client/dist/domains/playtrade.d.ts +1 -2
- package/node_modules/@playdrop/api-client/dist/domains/playtrade.d.ts.map +1 -1
- package/node_modules/@playdrop/api-client/dist/domains/playtrade.js +0 -11
- package/node_modules/@playdrop/api-client/dist/domains/social.d.ts +29 -0
- package/node_modules/@playdrop/api-client/dist/domains/social.d.ts.map +1 -0
- package/node_modules/@playdrop/api-client/dist/domains/social.js +79 -0
- package/node_modules/@playdrop/api-client/dist/index.d.ts +80 -29
- package/node_modules/@playdrop/api-client/dist/index.d.ts.map +1 -1
- package/node_modules/@playdrop/api-client/dist/index.js +217 -56
- package/node_modules/@playdrop/api-client/dist/runtime.d.ts +18 -0
- package/node_modules/@playdrop/api-client/dist/runtime.d.ts.map +1 -0
- package/node_modules/@playdrop/api-client/dist/runtime.js +54 -0
- package/node_modules/@playdrop/api-client/package.json +7 -0
- package/node_modules/@playdrop/config/client-meta.json +4 -4
- package/node_modules/@playdrop/config/dist/src/creator-plans.d.ts +11 -0
- package/node_modules/@playdrop/config/dist/src/creator-plans.d.ts.map +1 -1
- package/node_modules/@playdrop/config/dist/src/creator-plans.js +13 -1
- package/node_modules/@playdrop/config/dist/src/deployment.d.ts +0 -1
- package/node_modules/@playdrop/config/dist/src/deployment.d.ts.map +1 -1
- package/node_modules/@playdrop/config/dist/src/deployment.js +0 -8
- package/node_modules/@playdrop/config/dist/src/public-deployment.d.ts +0 -1
- package/node_modules/@playdrop/config/dist/src/public-deployment.d.ts.map +1 -1
- package/node_modules/@playdrop/config/dist/src/public-deployment.js +0 -8
- package/node_modules/@playdrop/config/dist/src/runtime-service-origins.d.ts +1 -1
- package/node_modules/@playdrop/config/dist/src/runtime-service-origins.js +2 -2
- package/node_modules/@playdrop/config/dist/src/server/logging.d.ts.map +1 -1
- package/node_modules/@playdrop/config/dist/src/server/logging.js +31 -2
- package/node_modules/@playdrop/config/dist/test/creator-plans.test.js +10 -0
- package/node_modules/@playdrop/config/dist/test/deployment.test.js +0 -4
- package/node_modules/@playdrop/config/dist/test/runtime-service-origins.test.js +2 -0
- package/node_modules/@playdrop/config/dist/tsconfig.tsbuildinfo +1 -1
- package/node_modules/@playdrop/config/package.json +6 -0
- package/node_modules/@playdrop/game-source-git/dist/src/archive.d.ts +9 -0
- package/node_modules/@playdrop/game-source-git/dist/src/archive.d.ts.map +1 -0
- package/node_modules/@playdrop/game-source-git/dist/src/archive.js +107 -0
- package/node_modules/@playdrop/game-source-git/dist/src/bundle-storage.d.ts +29 -0
- package/node_modules/@playdrop/game-source-git/dist/src/bundle-storage.d.ts.map +1 -0
- package/node_modules/@playdrop/game-source-git/dist/src/bundle-storage.js +64 -0
- package/node_modules/@playdrop/game-source-git/dist/src/export.d.ts +8 -0
- package/node_modules/@playdrop/game-source-git/dist/src/export.d.ts.map +1 -0
- package/node_modules/@playdrop/game-source-git/dist/src/export.js +25 -0
- package/node_modules/@playdrop/game-source-git/dist/src/git.d.ts +39 -0
- package/node_modules/@playdrop/game-source-git/dist/src/git.d.ts.map +1 -0
- package/node_modules/@playdrop/game-source-git/dist/src/git.js +195 -0
- package/node_modules/@playdrop/game-source-git/dist/src/ignore.d.ts +6 -0
- package/node_modules/@playdrop/game-source-git/dist/src/ignore.d.ts.map +1 -0
- package/node_modules/@playdrop/game-source-git/dist/src/ignore.js +51 -0
- package/node_modules/@playdrop/game-source-git/dist/src/index.d.ts +10 -0
- package/node_modules/@playdrop/game-source-git/dist/src/index.d.ts.map +1 -0
- package/node_modules/@playdrop/{boxel-core/dist/src/humanoid/r15 → game-source-git/dist/src}/index.js +9 -4
- package/node_modules/@playdrop/game-source-git/dist/src/lock.d.ts +17 -0
- package/node_modules/@playdrop/game-source-git/dist/src/lock.d.ts.map +1 -0
- package/node_modules/@playdrop/game-source-git/dist/src/lock.js +72 -0
- package/node_modules/@playdrop/game-source-git/dist/src/materialize.d.ts +10 -0
- package/node_modules/@playdrop/game-source-git/dist/src/materialize.d.ts.map +1 -0
- package/node_modules/@playdrop/game-source-git/dist/src/materialize.js +99 -0
- package/node_modules/@playdrop/game-source-git/dist/src/paths.d.ts +24 -0
- package/node_modules/@playdrop/game-source-git/dist/src/paths.d.ts.map +1 -0
- package/node_modules/@playdrop/game-source-git/dist/src/paths.js +207 -0
- package/node_modules/@playdrop/game-source-git/dist/src/repository.d.ts +66 -0
- package/node_modules/@playdrop/game-source-git/dist/src/repository.d.ts.map +1 -0
- package/node_modules/@playdrop/game-source-git/dist/src/repository.js +213 -0
- package/node_modules/@playdrop/game-source-git/dist/test/core.test.d.ts +2 -0
- package/node_modules/@playdrop/game-source-git/dist/test/core.test.d.ts.map +1 -0
- package/node_modules/@playdrop/game-source-git/dist/test/core.test.js +441 -0
- package/node_modules/@playdrop/game-source-git/dist/tsconfig.tsbuildinfo +1 -0
- package/node_modules/@playdrop/game-source-git/package.json +28 -0
- package/node_modules/@playdrop/types/dist/agent-task-terminal.d.ts +2 -2
- package/node_modules/@playdrop/types/dist/agent-task-terminal.d.ts.map +1 -1
- package/node_modules/@playdrop/types/dist/agent-task-terminal.js +15 -9
- package/node_modules/@playdrop/types/dist/api.d.ts +728 -164
- package/node_modules/@playdrop/types/dist/api.d.ts.map +1 -1
- package/node_modules/@playdrop/types/dist/api.js +60 -11
- package/node_modules/@playdrop/types/dist/asset-pack.d.ts +2 -0
- package/node_modules/@playdrop/types/dist/asset-pack.d.ts.map +1 -1
- package/node_modules/@playdrop/types/dist/asset.d.ts +22 -8
- package/node_modules/@playdrop/types/dist/asset.d.ts.map +1 -1
- package/node_modules/@playdrop/types/dist/asset.js +26 -26
- package/node_modules/@playdrop/types/dist/chat.d.ts +107 -3
- package/node_modules/@playdrop/types/dist/chat.d.ts.map +1 -1
- package/node_modules/@playdrop/types/dist/chat.js +33 -4
- package/node_modules/@playdrop/types/dist/index.d.ts +3 -0
- package/node_modules/@playdrop/types/dist/index.d.ts.map +1 -1
- package/node_modules/@playdrop/types/dist/index.js +7 -1
- package/node_modules/@playdrop/types/dist/public-cache-tags.d.ts +11 -0
- package/node_modules/@playdrop/types/dist/public-cache-tags.d.ts.map +1 -0
- package/node_modules/@playdrop/types/dist/public-cache-tags.js +78 -0
- package/node_modules/@playdrop/types/dist/realtime.d.ts +3 -15
- package/node_modules/@playdrop/types/dist/realtime.d.ts.map +1 -1
- package/node_modules/@playdrop/types/dist/social.d.ts +64 -0
- package/node_modules/@playdrop/types/dist/social.d.ts.map +1 -0
- package/node_modules/@playdrop/{boxel-three/dist/src/types.js → types/dist/social.js} +14 -2
- package/node_modules/@playdrop/types/dist/spritesheet.d.ts +51 -0
- package/node_modules/@playdrop/types/dist/spritesheet.d.ts.map +1 -0
- package/node_modules/@playdrop/types/dist/spritesheet.js +73 -0
- package/node_modules/@playdrop/types/dist/version.d.ts +86 -58
- package/node_modules/@playdrop/types/dist/version.d.ts.map +1 -1
- package/node_modules/@playdrop/types/dist/version.js +111 -0
- package/node_modules/@playdrop/types/package.json +14 -0
- package/node_modules/@playdrop/vox-three/dist/src/index.d.ts +1 -1
- package/node_modules/@playdrop/vox-three/dist/src/index.js +1 -1
- package/node_modules/@playdrop/vox-three/dist/src/index.js.map +1 -1
- package/node_modules/@playdrop/vox-three/dist/src/vox.d.ts +0 -3
- package/node_modules/@playdrop/vox-three/dist/src/vox.js +0 -110
- package/node_modules/@playdrop/vox-three/dist/src/vox.js.map +1 -1
- package/node_modules/@playdrop/vox-three/dist/test/vox.test.js +0 -18
- package/node_modules/@playdrop/vox-three/dist/test/vox.test.js.map +1 -1
- package/node_modules/@playdrop/vox-three/package.json +8 -4
- package/package.json +9 -11
- package/dist/assets/model-artifacts.d.ts +0 -8
- package/dist/assets/model-artifacts.js +0 -382
- package/dist/assets/model-worker.d.ts +0 -22
- package/dist/assets/model-worker.js +0 -123
- package/node_modules/@playdrop/ai-client/dist/index.d.ts +0 -441
- package/node_modules/@playdrop/ai-client/dist/index.d.ts.map +0 -1
- package/node_modules/@playdrop/ai-client/dist/index.js +0 -499
- package/node_modules/@playdrop/ai-client/package.json +0 -22
- package/node_modules/@playdrop/boxel-core/dist/src/entity-cleaner.d.ts +0 -13
- package/node_modules/@playdrop/boxel-core/dist/src/entity-cleaner.js +0 -141
- package/node_modules/@playdrop/boxel-core/dist/src/entity-cleaner.js.map +0 -1
- package/node_modules/@playdrop/boxel-core/dist/src/entity-utils.d.ts +0 -47
- package/node_modules/@playdrop/boxel-core/dist/src/entity-utils.js +0 -313
- package/node_modules/@playdrop/boxel-core/dist/src/entity-utils.js.map +0 -1
- package/node_modules/@playdrop/boxel-core/dist/src/format-utils.d.ts +0 -3
- package/node_modules/@playdrop/boxel-core/dist/src/format-utils.js +0 -36
- package/node_modules/@playdrop/boxel-core/dist/src/format-utils.js.map +0 -1
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/geometry.d.ts +0 -23
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/geometry.js +0 -11
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/geometry.js.map +0 -1
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/index.d.ts +0 -4
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/index.js +0 -21
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/index.js.map +0 -1
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r15/common.d.ts +0 -4
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r15/common.js +0 -24
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r15/common.js.map +0 -1
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r15/index.d.ts +0 -3
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r15/index.js.map +0 -1
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r15/textured-builder.d.ts +0 -3
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r15/textured-builder.js +0 -387
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r15/textured-builder.js.map +0 -1
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r15/types.d.ts +0 -6
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r15/types.js +0 -3
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r15/types.js.map +0 -1
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r15/voxel-builder.d.ts +0 -3
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r15/voxel-builder.js +0 -373
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r15/voxel-builder.js.map +0 -1
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r6/builder.d.ts +0 -12
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r6/builder.js +0 -215
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r6/builder.js.map +0 -1
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r6/index.d.ts +0 -4
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r6/index.js +0 -18
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r6/index.js.map +0 -1
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r6/scanner.d.ts +0 -42
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r6/scanner.js +0 -145
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r6/scanner.js.map +0 -1
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r6/textures/artifacts.d.ts +0 -26
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r6/textures/artifacts.js +0 -65
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r6/textures/artifacts.js.map +0 -1
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r6/textures/face-map.d.ts +0 -33
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r6/textures/face-map.js +0 -175
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/r6/textures/face-map.js.map +0 -1
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/templates/humanoid_r15.json +0 -1517
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/templates/humanoid_r6.json +0 -61
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/templates/index.d.ts +0 -10
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/templates/index.js +0 -23
- package/node_modules/@playdrop/boxel-core/dist/src/humanoid/templates/index.js.map +0 -1
- package/node_modules/@playdrop/boxel-core/dist/src/index.d.ts +0 -19
- package/node_modules/@playdrop/boxel-core/dist/src/index.js +0 -36
- package/node_modules/@playdrop/boxel-core/dist/src/index.js.map +0 -1
- package/node_modules/@playdrop/boxel-core/dist/src/materials.d.ts +0 -26
- package/node_modules/@playdrop/boxel-core/dist/src/materials.js +0 -184
- package/node_modules/@playdrop/boxel-core/dist/src/materials.js.map +0 -1
- package/node_modules/@playdrop/boxel-core/dist/src/palette_tools.d.ts +0 -68
- package/node_modules/@playdrop/boxel-core/dist/src/palette_tools.js +0 -488
- package/node_modules/@playdrop/boxel-core/dist/src/palette_tools.js.map +0 -1
- package/node_modules/@playdrop/boxel-core/dist/src/serialization.d.ts +0 -4
- package/node_modules/@playdrop/boxel-core/dist/src/serialization.js +0 -380
- package/node_modules/@playdrop/boxel-core/dist/src/serialization.js.map +0 -1
- package/node_modules/@playdrop/boxel-core/dist/src/textures.d.ts +0 -29
- package/node_modules/@playdrop/boxel-core/dist/src/textures.js +0 -208
- package/node_modules/@playdrop/boxel-core/dist/src/textures.js.map +0 -1
- package/node_modules/@playdrop/boxel-core/dist/src/transforms/textured-boxes/infer-face.d.ts +0 -9
- package/node_modules/@playdrop/boxel-core/dist/src/transforms/textured-boxes/infer-face.js +0 -312
- package/node_modules/@playdrop/boxel-core/dist/src/transforms/textured-boxes/infer-face.js.map +0 -1
- package/node_modules/@playdrop/boxel-core/dist/src/transforms/textured-boxes/layer-mode.d.ts +0 -9
- package/node_modules/@playdrop/boxel-core/dist/src/transforms/textured-boxes/layer-mode.js +0 -154
- package/node_modules/@playdrop/boxel-core/dist/src/transforms/textured-boxes/layer-mode.js.map +0 -1
- package/node_modules/@playdrop/boxel-core/dist/src/transforms/textured-boxes/merge-overlay.d.ts +0 -2
- package/node_modules/@playdrop/boxel-core/dist/src/transforms/textured-boxes/merge-overlay.js +0 -121
- package/node_modules/@playdrop/boxel-core/dist/src/transforms/textured-boxes/merge-overlay.js.map +0 -1
- package/node_modules/@playdrop/boxel-core/dist/src/transforms/textured-boxes/slice.d.ts +0 -20
- package/node_modules/@playdrop/boxel-core/dist/src/transforms/textured-boxes/slice.js +0 -389
- package/node_modules/@playdrop/boxel-core/dist/src/transforms/textured-boxes/slice.js.map +0 -1
- package/node_modules/@playdrop/boxel-core/dist/src/transforms/upscale.d.ts +0 -3
- package/node_modules/@playdrop/boxel-core/dist/src/transforms/upscale.js +0 -206
- package/node_modules/@playdrop/boxel-core/dist/src/transforms/upscale.js.map +0 -1
- package/node_modules/@playdrop/boxel-core/dist/src/transforms/voxels/slice.d.ts +0 -12
- package/node_modules/@playdrop/boxel-core/dist/src/transforms/voxels/slice.js +0 -81
- package/node_modules/@playdrop/boxel-core/dist/src/transforms/voxels/slice.js.map +0 -1
- package/node_modules/@playdrop/boxel-core/dist/src/transforms/voxels/textured-to-voxel.d.ts +0 -12
- package/node_modules/@playdrop/boxel-core/dist/src/transforms/voxels/textured-to-voxel.js +0 -318
- package/node_modules/@playdrop/boxel-core/dist/src/transforms/voxels/textured-to-voxel.js.map +0 -1
- package/node_modules/@playdrop/boxel-core/dist/src/types.d.ts +0 -168
- package/node_modules/@playdrop/boxel-core/dist/src/types.js +0 -3
- package/node_modules/@playdrop/boxel-core/dist/src/types.js.map +0 -1
- package/node_modules/@playdrop/boxel-core/dist/src/validation.d.ts +0 -24
- package/node_modules/@playdrop/boxel-core/dist/src/validation.js +0 -620
- package/node_modules/@playdrop/boxel-core/dist/src/validation.js.map +0 -1
- package/node_modules/@playdrop/boxel-core/dist/src/voxels/greedy-mesher.d.ts +0 -11
- package/node_modules/@playdrop/boxel-core/dist/src/voxels/greedy-mesher.js +0 -135
- package/node_modules/@playdrop/boxel-core/dist/src/voxels/greedy-mesher.js.map +0 -1
- package/node_modules/@playdrop/boxel-core/dist/src/voxels.d.ts +0 -23
- package/node_modules/@playdrop/boxel-core/dist/src/voxels.js +0 -52
- package/node_modules/@playdrop/boxel-core/dist/src/voxels.js.map +0 -1
- package/node_modules/@playdrop/boxel-core/package.json +0 -19
- package/node_modules/@playdrop/boxel-three/dist/src/animations.d.ts +0 -4
- package/node_modules/@playdrop/boxel-three/dist/src/animations.js +0 -92
- package/node_modules/@playdrop/boxel-three/dist/src/builders.d.ts +0 -8
- package/node_modules/@playdrop/boxel-three/dist/src/builders.js +0 -363
- package/node_modules/@playdrop/boxel-three/dist/src/context.d.ts +0 -24
- package/node_modules/@playdrop/boxel-three/dist/src/context.js +0 -58
- package/node_modules/@playdrop/boxel-three/dist/src/exporters/glb.d.ts +0 -100
- package/node_modules/@playdrop/boxel-three/dist/src/exporters/glb.js +0 -927
- package/node_modules/@playdrop/boxel-three/dist/src/exporters/image.d.ts +0 -18
- package/node_modules/@playdrop/boxel-three/dist/src/exporters/image.js +0 -294
- package/node_modules/@playdrop/boxel-three/dist/src/index.d.ts +0 -17
- package/node_modules/@playdrop/boxel-three/dist/src/index.js +0 -64
- package/node_modules/@playdrop/boxel-three/dist/src/instantiate.d.ts +0 -40
- package/node_modules/@playdrop/boxel-three/dist/src/instantiate.js +0 -96
- package/node_modules/@playdrop/boxel-three/dist/src/nodes.d.ts +0 -8
- package/node_modules/@playdrop/boxel-three/dist/src/nodes.js +0 -88
- package/node_modules/@playdrop/boxel-three/dist/src/overlays.d.ts +0 -7
- package/node_modules/@playdrop/boxel-three/dist/src/overlays.js +0 -123
- package/node_modules/@playdrop/boxel-three/dist/src/primitives.d.ts +0 -4
- package/node_modules/@playdrop/boxel-three/dist/src/primitives.js +0 -48
- package/node_modules/@playdrop/boxel-three/dist/src/scene.d.ts +0 -3
- package/node_modules/@playdrop/boxel-three/dist/src/scene.js +0 -168
- package/node_modules/@playdrop/boxel-three/dist/src/skinned-mesh.d.ts +0 -29
- package/node_modules/@playdrop/boxel-three/dist/src/skinned-mesh.js +0 -623
- package/node_modules/@playdrop/boxel-three/dist/src/texture-atlas.d.ts +0 -13
- package/node_modules/@playdrop/boxel-three/dist/src/texture-atlas.js +0 -133
- package/node_modules/@playdrop/boxel-three/dist/src/textures.d.ts +0 -17
- package/node_modules/@playdrop/boxel-three/dist/src/textures.js +0 -216
- package/node_modules/@playdrop/boxel-three/dist/src/types.d.ts +0 -112
- package/node_modules/@playdrop/boxel-three/dist/src/voxels/faces.d.ts +0 -28
- package/node_modules/@playdrop/boxel-three/dist/src/voxels/faces.js +0 -344
- package/node_modules/@playdrop/boxel-three/dist/src/voxels/mesher.d.ts +0 -24
- package/node_modules/@playdrop/boxel-three/dist/src/voxels/mesher.js +0 -113
- package/node_modules/@playdrop/boxel-three/dist/test/export-image.playwright.test.d.ts +0 -1
- package/node_modules/@playdrop/boxel-three/dist/test/export-image.playwright.test.js +0 -137
- package/node_modules/@playdrop/boxel-three/dist/test/fixtures/render-worker.d.ts +0 -20
- package/node_modules/@playdrop/boxel-three/dist/test/fixtures/render-worker.js +0 -85
- package/node_modules/@playdrop/boxel-three/dist/test/glb-skinned.test.d.ts +0 -1
- package/node_modules/@playdrop/boxel-three/dist/test/glb-skinned.test.js +0 -104
- package/node_modules/@playdrop/boxel-three/dist/test/index.test.d.ts +0 -1
- package/node_modules/@playdrop/boxel-three/dist/test/index.test.js +0 -30
- package/node_modules/@playdrop/boxel-three/dist/test/instantiate.test.d.ts +0 -1
- package/node_modules/@playdrop/boxel-three/dist/test/instantiate.test.js +0 -88
- package/node_modules/@playdrop/boxel-three/dist/test/overlays.test.d.ts +0 -1
- package/node_modules/@playdrop/boxel-three/dist/test/overlays.test.js +0 -42
- package/node_modules/@playdrop/boxel-three/dist/test/scene-filter.test.d.ts +0 -1
- package/node_modules/@playdrop/boxel-three/dist/test/scene-filter.test.js +0 -73
- package/node_modules/@playdrop/boxel-three/dist/test/scene-smoke.test.d.ts +0 -1
- package/node_modules/@playdrop/boxel-three/dist/test/scene-smoke.test.js +0 -85
- package/node_modules/@playdrop/boxel-three/dist/test/skinned-mesh.test.d.ts +0 -1
- package/node_modules/@playdrop/boxel-three/dist/test/skinned-mesh.test.js +0 -73
- package/node_modules/@playdrop/boxel-three/dist/test/textured-overlay.test.d.ts +0 -1
- package/node_modules/@playdrop/boxel-three/dist/test/textured-overlay.test.js +0 -136
- package/node_modules/@playdrop/boxel-three/dist/test/voxels.test.d.ts +0 -1
- package/node_modules/@playdrop/boxel-three/dist/test/voxels.test.js +0 -42
- package/node_modules/@playdrop/boxel-three/package.json +0 -28
|
@@ -7,8 +7,9 @@ import type { AssetCategory, AssetResponse } from "./asset.js";
|
|
|
7
7
|
import type { ContentLicense, ContentPermissions } from "./content-license.js";
|
|
8
8
|
import type { InstrumentEvidenceManifest } from "./instrument-evidence.js";
|
|
9
9
|
import type { SupportedLocale } from "./locale.js";
|
|
10
|
+
import type { SocialFriend } from "./social.js";
|
|
10
11
|
import type { TweakValues } from "./tweaks.js";
|
|
11
|
-
import type { AppAuthMode, AppControllerMode, AppHostingMode, AppListingMediaItem, AppVersionResponse, AppVersionSummary, AppVersionVisibility, ReviewState } from "./version.js";
|
|
12
|
+
import type { AppAuthMode, AppCreationMetadata, AppControllerMode, AppHostingMode, AppListingMediaItem, AppPlayersConfig, AppVersionDesign, AppVersionResponse, AppVersionSummary, AppVersionVisibility, ReviewState } from "./version.js";
|
|
12
13
|
export { DEFAULT_LOCALE, PRIMARY_LOCALE, SECONDARY_LOCALES, SUPPORTED_LOCALES, TERTIARY_LOCALES, isSupportedLocale, localePriority, } from "./locale.js";
|
|
13
14
|
export type { LocalePriority, SupportedLocale } from "./locale.js";
|
|
14
15
|
export declare const ACQUISITION_ATTRIBUTION_TYPES: readonly ["install", "reengagement", "web_visit"];
|
|
@@ -78,6 +79,7 @@ export interface UpdateAppRequest {
|
|
|
78
79
|
}
|
|
79
80
|
export interface AdminUpdateAppRequest {
|
|
80
81
|
type?: AppType;
|
|
82
|
+
editorialNote?: string | null;
|
|
81
83
|
}
|
|
82
84
|
export interface LoginRequest {
|
|
83
85
|
username: string;
|
|
@@ -163,7 +165,8 @@ export interface DeleteCliApiTokenResponse {
|
|
|
163
165
|
export interface CreateUserRequest {
|
|
164
166
|
username: string;
|
|
165
167
|
password: string;
|
|
166
|
-
|
|
168
|
+
displayName?: string;
|
|
169
|
+
role: "CREATOR" | "CLOUD_WORKER" | "ADMIN";
|
|
167
170
|
kind?: "HUMAN" | "BOT" | "AGENT";
|
|
168
171
|
}
|
|
169
172
|
export interface SetProfileAssetRequest {
|
|
@@ -201,8 +204,176 @@ export type JsonValue = null | boolean | number | string | JsonValue[] | {
|
|
|
201
204
|
};
|
|
202
205
|
export declare const AGENT_TASK_CREATOR_FEEDBACK_STATUS_VALUES: readonly ["UNSEEN", "VIEWED", "PLAYED", "APPROVED", "DISAPPROVED"];
|
|
203
206
|
export type AgentTaskCreatorFeedbackStatus = (typeof AGENT_TASK_CREATOR_FEEDBACK_STATUS_VALUES)[number];
|
|
204
|
-
export declare const AGENT_TASK_KIND_VALUES: readonly ["NEW_GAME", "STATIC_GAME", "REMIX_GAME", "GAME_UPDATE", "GAME_REVIEW", "GAME_EVAL", "RELEASE_SMOKE"];
|
|
207
|
+
export declare const AGENT_TASK_KIND_VALUES: readonly ["NEW_GAME", "STATIC_GAME", "REMIX_GAME", "GAME_UPDATE", "GAME_REVIEW", "GAME_EVAL", "RELEASE_SMOKE", "TEXT", "JSON", "IMAGE", "MODEL_3D", "VIDEO", "SFX", "SPEECH", "MUSIC"];
|
|
205
208
|
export type AgentTaskKind = (typeof AGENT_TASK_KIND_VALUES)[number];
|
|
209
|
+
export declare const AGENT_TASK_GENERATION_KIND_VALUES: readonly ["TEXT", "JSON", "IMAGE", "MODEL_3D", "VIDEO", "SFX", "SPEECH", "MUSIC"];
|
|
210
|
+
export type AgentTaskGenerationKind = (typeof AGENT_TASK_GENERATION_KIND_VALUES)[number];
|
|
211
|
+
export declare const AGENT_TASK_PHASE_VALUES: readonly ["SCREENING", "EXECUTION"];
|
|
212
|
+
export type AgentTaskPhase = (typeof AGENT_TASK_PHASE_VALUES)[number];
|
|
213
|
+
export declare const AGENT_TASK_PROVIDER_VALUES: readonly ["CODEX", "FAL"];
|
|
214
|
+
export type AgentTaskProvider = (typeof AGENT_TASK_PROVIDER_VALUES)[number];
|
|
215
|
+
export declare const AGENT_TASK_VISIBILITY_VALUES: readonly ["CREATOR", "INTERNAL"];
|
|
216
|
+
export type AgentTaskVisibility = (typeof AGENT_TASK_VISIBILITY_VALUES)[number];
|
|
217
|
+
export declare const AI_TEXT_SIZE_VALUES: readonly ["small", "medium", "large"];
|
|
218
|
+
export type AiTextSize = (typeof AI_TEXT_SIZE_VALUES)[number];
|
|
219
|
+
export declare const AI_GENERATION_METADATA_SCHEMA: {
|
|
220
|
+
readonly type: "object";
|
|
221
|
+
readonly additionalProperties: false;
|
|
222
|
+
readonly required: readonly ["title", "description", "tags"];
|
|
223
|
+
readonly properties: {
|
|
224
|
+
readonly title: {
|
|
225
|
+
readonly type: "string";
|
|
226
|
+
readonly minLength: 1;
|
|
227
|
+
readonly maxLength: 160;
|
|
228
|
+
};
|
|
229
|
+
readonly description: {
|
|
230
|
+
readonly type: "string";
|
|
231
|
+
readonly minLength: 1;
|
|
232
|
+
readonly maxLength: 2000;
|
|
233
|
+
};
|
|
234
|
+
readonly tags: {
|
|
235
|
+
readonly type: "array";
|
|
236
|
+
readonly maxItems: 20;
|
|
237
|
+
readonly items: {
|
|
238
|
+
readonly type: "string";
|
|
239
|
+
readonly minLength: 1;
|
|
240
|
+
readonly maxLength: 80;
|
|
241
|
+
};
|
|
242
|
+
};
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
export type AiGenerationInputReference = {
|
|
246
|
+
type: "ASSET_VERSION";
|
|
247
|
+
ref: string;
|
|
248
|
+
} | {
|
|
249
|
+
type: "TASK_UPLOAD";
|
|
250
|
+
uploadId: string;
|
|
251
|
+
};
|
|
252
|
+
export interface PrepareAiTaskInputUploadRequest {
|
|
253
|
+
fileName: string;
|
|
254
|
+
contentType: "image/png" | "image/jpeg" | "image/webp";
|
|
255
|
+
sizeBytes: number;
|
|
256
|
+
sha256: string;
|
|
257
|
+
md5Base64: string;
|
|
258
|
+
}
|
|
259
|
+
export interface PrepareAiTaskInputUploadResponse {
|
|
260
|
+
uploadId: string;
|
|
261
|
+
uploadUrl: string;
|
|
262
|
+
uploadMethod: "PUT";
|
|
263
|
+
uploadHeaders: Record<string, string>;
|
|
264
|
+
expiresAt: string;
|
|
265
|
+
}
|
|
266
|
+
export interface FinalizeAiTaskInputUploadResponse {
|
|
267
|
+
uploadId: string;
|
|
268
|
+
uploadedAt: string;
|
|
269
|
+
}
|
|
270
|
+
export interface AiGenerationAssetFields {
|
|
271
|
+
assetName?: string;
|
|
272
|
+
assetDisplayName?: string;
|
|
273
|
+
assetDescription?: string;
|
|
274
|
+
assetVisibility?: "PRIVATE";
|
|
275
|
+
assetSubcategory?: string;
|
|
276
|
+
attachAppVersionId?: number;
|
|
277
|
+
remixAssetVersionRef?: string;
|
|
278
|
+
suggestedTagRefs?: string[];
|
|
279
|
+
}
|
|
280
|
+
export interface GeneratedAssetRef {
|
|
281
|
+
creatorUsername: string;
|
|
282
|
+
assetName: string;
|
|
283
|
+
revision: number;
|
|
284
|
+
versionId: number;
|
|
285
|
+
subcategory: string;
|
|
286
|
+
ref: string;
|
|
287
|
+
}
|
|
288
|
+
export type CreateAiGenerationTaskRequest = {
|
|
289
|
+
kind: "TEXT";
|
|
290
|
+
input: string;
|
|
291
|
+
system?: string;
|
|
292
|
+
size?: AiTextSize;
|
|
293
|
+
} | {
|
|
294
|
+
kind: "JSON";
|
|
295
|
+
input: string;
|
|
296
|
+
system?: string;
|
|
297
|
+
size?: AiTextSize;
|
|
298
|
+
responseSchema: Record<string, unknown>;
|
|
299
|
+
} | (AiGenerationAssetFields & {
|
|
300
|
+
kind: "IMAGE";
|
|
301
|
+
input: string;
|
|
302
|
+
image1?: AiGenerationInputReference;
|
|
303
|
+
image2?: AiGenerationInputReference;
|
|
304
|
+
aspectRatio?: "1:1" | "3:4" | "9:16" | "4:3" | "16:9";
|
|
305
|
+
imageSize?: "1K" | "4K";
|
|
306
|
+
}) | (AiGenerationAssetFields & {
|
|
307
|
+
kind: "MUSIC";
|
|
308
|
+
input: string;
|
|
309
|
+
durationMs?: number;
|
|
310
|
+
forceInstrumental?: boolean;
|
|
311
|
+
coverPrompt?: string;
|
|
312
|
+
}) | (AiGenerationAssetFields & {
|
|
313
|
+
kind: "SFX";
|
|
314
|
+
input: string;
|
|
315
|
+
durationSeconds?: number;
|
|
316
|
+
loop?: boolean;
|
|
317
|
+
coverPrompt?: string;
|
|
318
|
+
}) | (AiGenerationAssetFields & {
|
|
319
|
+
kind: "SPEECH";
|
|
320
|
+
input: string;
|
|
321
|
+
speechVoice?: string;
|
|
322
|
+
speechProviderVoiceId?: string;
|
|
323
|
+
}) | (AiGenerationAssetFields & {
|
|
324
|
+
kind: "VIDEO";
|
|
325
|
+
input: string;
|
|
326
|
+
image1?: AiGenerationInputReference;
|
|
327
|
+
image2?: AiGenerationInputReference;
|
|
328
|
+
durationSeconds?: 4 | 6 | 8;
|
|
329
|
+
aspectRatio?: "16:9" | "9:16";
|
|
330
|
+
resolution?: "720p";
|
|
331
|
+
}) | (AiGenerationAssetFields & {
|
|
332
|
+
kind: "MODEL_3D";
|
|
333
|
+
input: string;
|
|
334
|
+
image1?: AiGenerationInputReference;
|
|
335
|
+
image2?: AiGenerationInputReference;
|
|
336
|
+
sourceMode?: "TEXT" | "IMAGE" | "MULTI_IMAGE";
|
|
337
|
+
topology?: "triangle" | "quad";
|
|
338
|
+
targetPolycount?: number;
|
|
339
|
+
shouldRemesh?: boolean;
|
|
340
|
+
shouldTexture?: boolean;
|
|
341
|
+
outputFormat?: "GLB";
|
|
342
|
+
});
|
|
343
|
+
export interface CreateAiGenerationTaskResponse {
|
|
344
|
+
task: GenerationAgentTaskResponse;
|
|
345
|
+
}
|
|
346
|
+
export interface AiGenerationTaskResponse {
|
|
347
|
+
task: GenerationAgentTaskResponse;
|
|
348
|
+
}
|
|
349
|
+
export interface AiGenerationTasksResponse {
|
|
350
|
+
tasks: GenerationAgentTaskResponse[];
|
|
351
|
+
count: number;
|
|
352
|
+
}
|
|
353
|
+
export interface AiGenerationResponse {
|
|
354
|
+
id: string;
|
|
355
|
+
type: AgentTaskGenerationKind;
|
|
356
|
+
status: "SUCCESS" | "FAILURE";
|
|
357
|
+
provider: string;
|
|
358
|
+
model: string;
|
|
359
|
+
inputData: JsonValue | null;
|
|
360
|
+
inputAssets: string[];
|
|
361
|
+
outputData: JsonValue | null;
|
|
362
|
+
outputAssets: string[];
|
|
363
|
+
amount: number;
|
|
364
|
+
paidBy: "USER" | "CREATOR";
|
|
365
|
+
transactionId: number | null;
|
|
366
|
+
agentTaskId: number | null;
|
|
367
|
+
agentTaskAttempt: number | null;
|
|
368
|
+
errorCode: string | null;
|
|
369
|
+
errorMessage: string | null;
|
|
370
|
+
createdAt: string;
|
|
371
|
+
completedAt: string | null;
|
|
372
|
+
}
|
|
373
|
+
export interface AiGenerationHistoryResponse {
|
|
374
|
+
generations: AiGenerationResponse[];
|
|
375
|
+
count: number;
|
|
376
|
+
}
|
|
206
377
|
export declare const AGENT_EXECUTION_TARGET_VALUES: readonly ["FIRST_PARTY", "PERSONAL"];
|
|
207
378
|
export type AgentExecutionTarget = (typeof AGENT_EXECUTION_TARGET_VALUES)[number];
|
|
208
379
|
export declare const AGENT_TASK_SURFACE_SOURCE_CLIENT_VALUES: readonly ["WEB", "IOS", "IPADOS", "MACOS", "ANDROID", "WINDOWS", "UNKNOWN"];
|
|
@@ -227,6 +398,8 @@ export declare const AGENT_TASK_PROMPT_MIN_LENGTH = 4;
|
|
|
227
398
|
export declare const AGENT_TASK_PROMPT_MAX_LENGTH = 100000;
|
|
228
399
|
export declare const AGENT_TASK_SAFETY_REJECT_CATEGORIES: readonly ["PRIVATE_PLAYDROP_INFORMATION", "NOT_A_GAME_REQUEST", "APP_STORE_CONTENT_POLICY"];
|
|
229
400
|
export type AgentTaskSafetyRejectCategory = (typeof AGENT_TASK_SAFETY_REJECT_CATEGORIES)[number];
|
|
401
|
+
export declare const AGENT_TASK_SAFETY_SCREENING_STAGES: readonly ["local", "provider", "classifier"];
|
|
402
|
+
export type AgentTaskSafetyScreeningStage = (typeof AGENT_TASK_SAFETY_SCREENING_STAGES)[number];
|
|
230
403
|
export declare const AGENT_TASK_SAFETY_REJECT_ERROR_CODES: {
|
|
231
404
|
readonly PRIVATE_PLAYDROP_INFORMATION: "playdrop_private_information_request";
|
|
232
405
|
readonly NOT_A_GAME_REQUEST: "game_request_not_understood";
|
|
@@ -273,8 +446,6 @@ export interface AgentTaskAgentPreference extends AgentAttemptOption {
|
|
|
273
446
|
}
|
|
274
447
|
export declare const AGENT_TASK_EVENT_KIND_VALUES: readonly ["progress", "agent_message", "system", "catalogue_preview"];
|
|
275
448
|
export type AgentTaskEventKind = (typeof AGENT_TASK_EVENT_KIND_VALUES)[number];
|
|
276
|
-
export declare const AGENT_TASK_TRANSCRIPT_STREAM_VALUES: readonly ["stdout", "stderr", "combined"];
|
|
277
|
-
export type AgentTaskTranscriptStream = (typeof AGENT_TASK_TRANSCRIPT_STREAM_VALUES)[number];
|
|
278
449
|
export interface AgentWorkerWeeklyUsage {
|
|
279
450
|
usedPercent: number;
|
|
280
451
|
remainingPercent: number;
|
|
@@ -308,9 +479,26 @@ export interface AgentWorkerCapabilities {
|
|
|
308
479
|
weeklyUsageStatus?: AgentWorkerWeeklyUsageStatus;
|
|
309
480
|
telemetryCheckedAt?: string;
|
|
310
481
|
}>;
|
|
482
|
+
generationProviders?: Array<{
|
|
483
|
+
provider: AgentTaskProvider;
|
|
484
|
+
kind: AgentTaskGenerationKind;
|
|
485
|
+
model: string;
|
|
486
|
+
sourceModes: Array<"TEXT" | "IMAGE" | "FIRST_LAST_FRAME" | "MULTI_IMAGE">;
|
|
487
|
+
authenticated: boolean;
|
|
488
|
+
ready: boolean;
|
|
489
|
+
features?: string[];
|
|
490
|
+
}>;
|
|
311
491
|
ready?: boolean;
|
|
312
492
|
degradedReasons?: string[];
|
|
313
493
|
wrapperContractVersion?: number;
|
|
494
|
+
gameSourceGit?: 1;
|
|
495
|
+
gameSource?: {
|
|
496
|
+
cachedRepositories: Array<{
|
|
497
|
+
appId: number;
|
|
498
|
+
repoGeneration: string;
|
|
499
|
+
}>;
|
|
500
|
+
retainedTaskIds: number[];
|
|
501
|
+
};
|
|
314
502
|
targetUpdateFailure?: AgentWorkerTargetUpdateFailure;
|
|
315
503
|
os?: string;
|
|
316
504
|
arch?: string;
|
|
@@ -334,6 +522,7 @@ export interface AgentWorkerLatestUpdateIntentResponse {
|
|
|
334
522
|
}
|
|
335
523
|
export interface AgentWorkerResponse {
|
|
336
524
|
id: number;
|
|
525
|
+
ownerUsername?: string;
|
|
337
526
|
workerKey: string;
|
|
338
527
|
name: string;
|
|
339
528
|
environment: string;
|
|
@@ -374,12 +563,11 @@ export interface AgentTaskDurationEstimate {
|
|
|
374
563
|
}
|
|
375
564
|
export interface AgentTaskTerminalReason {
|
|
376
565
|
kind: "failure" | "expiration" | "cancellation";
|
|
377
|
-
category: "provider_capacity" | "provider_connection" | "provider_timeout" | "instrument_error" | "upload_validation" | "agent_failure" | "queue_expired" | "cancelled";
|
|
566
|
+
category: "provider_capacity" | "provider_connection" | "provider_timeout" | "provider_failure" | "instrument_error" | "upload_validation" | "agent_failure" | "screening_refused" | "queue_expired" | "cancelled";
|
|
378
567
|
code: string;
|
|
379
568
|
message: string;
|
|
380
569
|
/** True only when the exact same task input can be submitted again without creator changes. */
|
|
381
570
|
retryable: boolean;
|
|
382
|
-
rawError: string | null;
|
|
383
571
|
source: "server" | "worker" | "agent" | "provider" | "instrument";
|
|
384
572
|
}
|
|
385
573
|
export interface AgentTaskRefundResponse {
|
|
@@ -405,22 +593,31 @@ export interface AgentTaskNextStepSuggestion {
|
|
|
405
593
|
prompt: string;
|
|
406
594
|
category: AgentTaskNextStepCategory;
|
|
407
595
|
}
|
|
408
|
-
export interface
|
|
596
|
+
export interface AgentTaskResponseBase {
|
|
409
597
|
id: number;
|
|
410
598
|
agentBundleSha?: string | null;
|
|
411
599
|
workerCliVersion: string | null;
|
|
412
600
|
platformReleaseSha: string | null;
|
|
413
601
|
kind: AgentTaskKind;
|
|
414
602
|
status: AgentTaskStatus;
|
|
603
|
+
phase: AgentTaskPhase;
|
|
604
|
+
provider: AgentTaskProvider | null;
|
|
605
|
+
visibility: AgentTaskVisibility;
|
|
606
|
+
parentTaskId: number | null;
|
|
607
|
+
parentTaskAttempt: number | null;
|
|
608
|
+
authorizationId?: string | null;
|
|
609
|
+
providerEndpoint: string | null;
|
|
610
|
+
providerRequestId: string | null;
|
|
611
|
+
outputFormat: string | null;
|
|
415
612
|
executionTarget: AgentExecutionTarget;
|
|
416
|
-
agent: AgentRuntime;
|
|
417
|
-
model: string;
|
|
613
|
+
agent: AgentRuntime | null;
|
|
614
|
+
model: string | null;
|
|
418
615
|
estimatedDurationMinutes?: AgentTaskDurationEstimate | null;
|
|
419
616
|
attemptPlan?: AgentAttemptPlan | null;
|
|
420
617
|
selectedAttempt?: AgentAttemptOption | null;
|
|
421
618
|
attemptResults?: AgentAttemptResult[];
|
|
422
|
-
effort: AgentTaskEffort;
|
|
423
|
-
effortKind: AgentTaskEffortKind;
|
|
619
|
+
effort: AgentTaskEffort | null;
|
|
620
|
+
effortKind: AgentTaskEffortKind | null;
|
|
424
621
|
appOrigin: AppOrigin | null;
|
|
425
622
|
outputVersion: string | null;
|
|
426
623
|
claimedAppName: string | null;
|
|
@@ -465,6 +662,33 @@ export interface AgentTaskResponse {
|
|
|
465
662
|
completedAt: string | null;
|
|
466
663
|
updatedAt: string;
|
|
467
664
|
}
|
|
665
|
+
export type AgentTaskGenerationResult = {
|
|
666
|
+
generationId: string;
|
|
667
|
+
text: string;
|
|
668
|
+
} | {
|
|
669
|
+
generationId: string;
|
|
670
|
+
json: JsonValue;
|
|
671
|
+
} | {
|
|
672
|
+
generationId: string;
|
|
673
|
+
assetId: number;
|
|
674
|
+
assetVersionId: number;
|
|
675
|
+
assetRef: string;
|
|
676
|
+
};
|
|
677
|
+
export type GenerationAgentTaskResponse = {
|
|
678
|
+
[K in AgentTaskGenerationKind]: AgentTaskResponseBase & {
|
|
679
|
+
kind: K;
|
|
680
|
+
provider: AgentTaskProvider;
|
|
681
|
+
request: Extract<CreateAiGenerationTaskRequest, {
|
|
682
|
+
kind: K;
|
|
683
|
+
}>;
|
|
684
|
+
result: AgentTaskGenerationResult | null;
|
|
685
|
+
};
|
|
686
|
+
}[AgentTaskGenerationKind];
|
|
687
|
+
export type GameAgentTaskResponse = AgentTaskResponseBase & {
|
|
688
|
+
kind: Exclude<AgentTaskKind, AgentTaskGenerationKind>;
|
|
689
|
+
result: Record<string, unknown> | null;
|
|
690
|
+
};
|
|
691
|
+
export type AgentTaskResponse = GenerationAgentTaskResponse | GameAgentTaskResponse;
|
|
468
692
|
export interface AgentTaskEventResponse {
|
|
469
693
|
id: number;
|
|
470
694
|
taskId: number;
|
|
@@ -478,16 +702,6 @@ export interface AgentTaskEventResponse {
|
|
|
478
702
|
payload?: Record<string, unknown> | null;
|
|
479
703
|
createdAt: string;
|
|
480
704
|
}
|
|
481
|
-
export interface AgentTaskTranscriptChunkResponse {
|
|
482
|
-
id: number;
|
|
483
|
-
taskId: number;
|
|
484
|
-
attempt: number;
|
|
485
|
-
sequence: number;
|
|
486
|
-
stream: AgentTaskTranscriptStream;
|
|
487
|
-
content: string;
|
|
488
|
-
workerId: number | null;
|
|
489
|
-
createdAt: string;
|
|
490
|
-
}
|
|
491
705
|
export interface AgentTaskAttachmentInput {
|
|
492
706
|
id: string;
|
|
493
707
|
fileName: string;
|
|
@@ -585,7 +799,7 @@ export interface CreateRemixGameAgentTaskResponse {
|
|
|
585
799
|
}
|
|
586
800
|
export declare const GAME_EVAL_MODE_VALUES: readonly ["absolute", "pairwise", "n-way"];
|
|
587
801
|
export type GameEvalMode = (typeof GAME_EVAL_MODE_VALUES)[number];
|
|
588
|
-
export declare const GAME_EVAL_DIMENSION_VALUES: readonly ["request_fidelity", "
|
|
802
|
+
export declare const GAME_EVAL_DIMENSION_VALUES: readonly ["request_fidelity", "core_loop", "controls", "presentation", "usability", "engagement", "stability", "listing", "marketing", "platform_integration"];
|
|
589
803
|
export type GameEvalDimension = (typeof GAME_EVAL_DIMENSION_VALUES)[number];
|
|
590
804
|
export interface GameEvalTargetInput {
|
|
591
805
|
appVersionRef: string;
|
|
@@ -760,6 +974,10 @@ export interface ActivateAdminArenaRoundsResponse {
|
|
|
760
974
|
}
|
|
761
975
|
export interface AgentTaskDetailResponse {
|
|
762
976
|
task: AgentTaskResponse;
|
|
977
|
+
gameSource?: {
|
|
978
|
+
repoGeneration: string;
|
|
979
|
+
headSha: string;
|
|
980
|
+
};
|
|
763
981
|
}
|
|
764
982
|
export interface AgentTaskEventsResponse {
|
|
765
983
|
events: AgentTaskEventResponse[];
|
|
@@ -810,13 +1028,8 @@ export interface WorkerPresenceResponse {
|
|
|
810
1028
|
action?: "continue" | "quiesce_for_update";
|
|
811
1029
|
updatePolicy?: AgentWorkerUpdatePolicyResponse | null;
|
|
812
1030
|
}
|
|
813
|
-
export interface
|
|
814
|
-
protocolVersion:
|
|
815
|
-
workerKey: string;
|
|
816
|
-
capabilities: AgentWorkerCapabilities;
|
|
817
|
-
}
|
|
818
|
-
export interface WorkerClaimTaskRequestV3 {
|
|
819
|
-
protocolVersion: 3;
|
|
1031
|
+
export interface WorkerClaimTaskRequestV5 {
|
|
1032
|
+
protocolVersion: 5;
|
|
820
1033
|
workerKey: string;
|
|
821
1034
|
capabilities: AgentWorkerCapabilities;
|
|
822
1035
|
}
|
|
@@ -826,18 +1039,12 @@ export interface WorkerTaskPluginV2 {
|
|
|
826
1039
|
sizeBytes: number;
|
|
827
1040
|
contentBase64: string;
|
|
828
1041
|
}
|
|
829
|
-
export interface
|
|
830
|
-
path: string;
|
|
831
|
-
format: "zip";
|
|
832
|
-
sha256: string;
|
|
833
|
-
sizeBytes: number;
|
|
834
|
-
contentBase64: string;
|
|
835
|
-
}
|
|
836
|
-
export interface WorkerTaskWorkspaceArchiveV3 {
|
|
1042
|
+
export interface WorkerTaskWorkspaceArchiveV5 {
|
|
837
1043
|
path: string;
|
|
838
1044
|
format: "zip";
|
|
839
1045
|
downloadUrl: string;
|
|
840
1046
|
sizeBytes: number;
|
|
1047
|
+
sha256: string;
|
|
841
1048
|
}
|
|
842
1049
|
export interface WorkerTaskWorkspaceFileV2 {
|
|
843
1050
|
path: string;
|
|
@@ -855,10 +1062,11 @@ export interface WorkerTaskAttachmentV2 {
|
|
|
855
1062
|
sha256: string;
|
|
856
1063
|
description?: string | null;
|
|
857
1064
|
}
|
|
858
|
-
export interface
|
|
1065
|
+
export interface WorkerGameTaskAssignment {
|
|
859
1066
|
task: {
|
|
860
1067
|
id: number;
|
|
861
1068
|
token: string;
|
|
1069
|
+
accessToken?: string;
|
|
862
1070
|
type: string;
|
|
863
1071
|
executionTarget: AgentExecutionTarget;
|
|
864
1072
|
attempt: number;
|
|
@@ -866,7 +1074,7 @@ export interface WorkerTaskAssignmentV2 {
|
|
|
866
1074
|
};
|
|
867
1075
|
workspace: {
|
|
868
1076
|
folderName: string;
|
|
869
|
-
archives:
|
|
1077
|
+
archives: WorkerTaskWorkspaceArchiveV5[];
|
|
870
1078
|
files: WorkerTaskWorkspaceFileV2[];
|
|
871
1079
|
};
|
|
872
1080
|
plugin: WorkerTaskPluginV2 | null;
|
|
@@ -880,48 +1088,140 @@ export interface WorkerTaskAssignmentV2 {
|
|
|
880
1088
|
reasoningEffort: string | null;
|
|
881
1089
|
browser: "NONE" | "CHROME" | "PLAYWRIGHT";
|
|
882
1090
|
};
|
|
1091
|
+
gameSource?: WorkerGameSourceAssignmentV1;
|
|
883
1092
|
}
|
|
884
|
-
export interface
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
1093
|
+
export interface WorkerGameTaskAssignmentV5 extends WorkerGameTaskAssignment {
|
|
1094
|
+
operation: "GAME";
|
|
1095
|
+
}
|
|
1096
|
+
export interface WorkerScreeningTaskAssignmentV5 {
|
|
1097
|
+
operation: "SCREENING";
|
|
1098
|
+
task: {
|
|
1099
|
+
id: number;
|
|
1100
|
+
token: string;
|
|
1101
|
+
accessToken?: string;
|
|
1102
|
+
type: AgentTaskKind;
|
|
1103
|
+
executionTarget: AgentExecutionTarget;
|
|
1104
|
+
attempt: 0;
|
|
1105
|
+
metadata: Record<string, JsonValue>;
|
|
1106
|
+
};
|
|
1107
|
+
request: {
|
|
1108
|
+
prompt: string;
|
|
1109
|
+
attachments: WorkerTaskAttachmentV2[];
|
|
1110
|
+
outputSchema: Record<string, JsonValue>;
|
|
1111
|
+
};
|
|
1112
|
+
inputs: WorkerTaskWorkspaceFileV2[];
|
|
1113
|
+
execution: {
|
|
1114
|
+
provider: "CODEX";
|
|
1115
|
+
model: "gpt-5.6-luna";
|
|
1116
|
+
reasoningEffort: "high";
|
|
1117
|
+
sandbox: "read-only";
|
|
889
1118
|
};
|
|
890
1119
|
}
|
|
891
|
-
export
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
lease: null;
|
|
896
|
-
updatePolicy: AgentWorkerUpdatePolicyResponse | null;
|
|
897
|
-
} | {
|
|
898
|
-
protocolVersion: 2;
|
|
899
|
-
action: "run";
|
|
900
|
-
assignment: WorkerTaskAssignmentV2;
|
|
901
|
-
lease: {
|
|
1120
|
+
export interface WorkerGenerationTaskAssignmentV5 {
|
|
1121
|
+
operation: "GENERATION";
|
|
1122
|
+
task: {
|
|
1123
|
+
id: number;
|
|
902
1124
|
token: string;
|
|
903
|
-
|
|
1125
|
+
accessToken?: string;
|
|
1126
|
+
type: AgentTaskGenerationKind;
|
|
1127
|
+
executionTarget: AgentExecutionTarget;
|
|
1128
|
+
attempt: number;
|
|
1129
|
+
metadata: Record<string, JsonValue>;
|
|
904
1130
|
};
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
1131
|
+
request: CreateAiGenerationTaskRequest;
|
|
1132
|
+
execution: {
|
|
1133
|
+
provider: AgentTaskProvider;
|
|
1134
|
+
model: string;
|
|
1135
|
+
reasoningEffort: string | null;
|
|
1136
|
+
endpoint: string | null;
|
|
1137
|
+
providerRequestId: string | null;
|
|
1138
|
+
sandbox: "read-only" | "workspace-write" | null;
|
|
1139
|
+
uploadCheckpoint: WorkerGenerationUploadCheckpoint | null;
|
|
1140
|
+
};
|
|
1141
|
+
inputs: Array<{
|
|
1142
|
+
id: string;
|
|
1143
|
+
downloadUrl: string;
|
|
1144
|
+
fileName: string;
|
|
1145
|
+
contentType: string;
|
|
1146
|
+
sizeBytes: number;
|
|
1147
|
+
sha256: string;
|
|
1148
|
+
}>;
|
|
1149
|
+
}
|
|
1150
|
+
export type WorkerTaskAssignmentV5 = WorkerGameTaskAssignmentV5 | WorkerScreeningTaskAssignmentV5 | WorkerGenerationTaskAssignmentV5;
|
|
1151
|
+
export interface WorkerGameSourceVersionRefV1 {
|
|
1152
|
+
versionId: number;
|
|
1153
|
+
major: number;
|
|
1154
|
+
minor: number;
|
|
1155
|
+
patch: number;
|
|
1156
|
+
commitSha: string;
|
|
1157
|
+
}
|
|
1158
|
+
export interface WorkerGameSourceTranscriptV1 {
|
|
1159
|
+
taskId: number;
|
|
1160
|
+
attempt: number;
|
|
1161
|
+
downloadUrl: string;
|
|
1162
|
+
sha256: string;
|
|
1163
|
+
bytes: number;
|
|
1164
|
+
}
|
|
1165
|
+
export interface WorkerGameSourceListingSyncV1 {
|
|
1166
|
+
versionId: number;
|
|
1167
|
+
version: string;
|
|
1168
|
+
displayName: string | null;
|
|
1169
|
+
subtitle: string | null;
|
|
1170
|
+
description: string | null;
|
|
1171
|
+
iconPath: string | null;
|
|
1172
|
+
heroPortraitPath: string | null;
|
|
1173
|
+
heroLandscapePath: string | null;
|
|
1174
|
+
socialLandscapePath: string | null;
|
|
1175
|
+
screenshotsPortrait: string[];
|
|
1176
|
+
screenshotsLandscape: string[];
|
|
1177
|
+
videosPortrait: string[];
|
|
1178
|
+
videosLandscape: string[];
|
|
1179
|
+
updatedAt: string;
|
|
1180
|
+
files: Array<{
|
|
1181
|
+
path: string;
|
|
1182
|
+
downloadUrl: string;
|
|
1183
|
+
sha256: string;
|
|
1184
|
+
bytes: number;
|
|
1185
|
+
}>;
|
|
1186
|
+
}
|
|
1187
|
+
export interface WorkerGameSourceAssignmentV1 {
|
|
1188
|
+
version: 2;
|
|
1189
|
+
mode: "NEW" | "STATIC" | "REMIX" | "UPDATE";
|
|
1190
|
+
baseRepository: {
|
|
1191
|
+
appId: number;
|
|
1192
|
+
repoGeneration: string;
|
|
1193
|
+
bundleDownloadUrl: string;
|
|
1194
|
+
expectedHeadSha: string;
|
|
1195
|
+
selectedCommitSha: string;
|
|
1196
|
+
} | null;
|
|
1197
|
+
targetRepository: {
|
|
1198
|
+
appId: number | null;
|
|
1199
|
+
repoGeneration: string | null;
|
|
1200
|
+
expectedHeadSha: string | null;
|
|
1201
|
+
};
|
|
1202
|
+
authoritativeVersions: WorkerGameSourceVersionRefV1[];
|
|
1203
|
+
selectedBaseVersionId: number | null;
|
|
1204
|
+
transcripts: WorkerGameSourceTranscriptV1[];
|
|
1205
|
+
listingSync: WorkerGameSourceListingSyncV1 | null;
|
|
1206
|
+
}
|
|
1207
|
+
export type WorkerClaimTaskResponseV5 = {
|
|
1208
|
+
protocolVersion: 5;
|
|
909
1209
|
action: "idle" | "quiesce_for_update";
|
|
910
1210
|
assignment: null;
|
|
911
1211
|
lease: null;
|
|
912
1212
|
updatePolicy: AgentWorkerUpdatePolicyResponse | null;
|
|
913
1213
|
} | {
|
|
914
|
-
protocolVersion:
|
|
1214
|
+
protocolVersion: 5;
|
|
915
1215
|
action: "run";
|
|
916
|
-
assignment:
|
|
1216
|
+
assignment: WorkerTaskAssignmentV5;
|
|
917
1217
|
lease: {
|
|
918
1218
|
token: string;
|
|
919
1219
|
expiresAt: string;
|
|
920
1220
|
};
|
|
921
1221
|
updatePolicy: AgentWorkerUpdatePolicyResponse | null;
|
|
922
1222
|
};
|
|
923
|
-
export type WorkerClaimAgentTaskRequest =
|
|
924
|
-
export type WorkerClaimAgentTaskResponse =
|
|
1223
|
+
export type WorkerClaimAgentTaskRequest = WorkerClaimTaskRequestV5;
|
|
1224
|
+
export type WorkerClaimAgentTaskResponse = WorkerClaimTaskResponseV5;
|
|
925
1225
|
export interface WorkerAcknowledgeAgentTaskClaimRequest {
|
|
926
1226
|
workerKey: string;
|
|
927
1227
|
leaseToken: string;
|
|
@@ -1000,6 +1300,9 @@ export interface WorkerUpdateIntentResponse {
|
|
|
1000
1300
|
worker: AgentWorkerResponse;
|
|
1001
1301
|
updatePolicy: AgentWorkerUpdatePolicyResponse;
|
|
1002
1302
|
}
|
|
1303
|
+
export interface WorkerGetAgentTaskRequest {
|
|
1304
|
+
workerKey: string;
|
|
1305
|
+
}
|
|
1003
1306
|
export interface WorkerHeartbeatAgentTaskRequest {
|
|
1004
1307
|
workerKey: string;
|
|
1005
1308
|
leaseToken: string;
|
|
@@ -1023,16 +1326,82 @@ export interface WorkerCreateAgentTaskEventRequest {
|
|
|
1023
1326
|
export interface WorkerCreateAgentTaskEventResponse {
|
|
1024
1327
|
event: AgentTaskEventResponse;
|
|
1025
1328
|
}
|
|
1026
|
-
export interface
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1329
|
+
export interface WorkerPrivateObjectUploadV1 {
|
|
1330
|
+
url: string;
|
|
1331
|
+
headers: Record<string, string>;
|
|
1332
|
+
contentType: string;
|
|
1333
|
+
}
|
|
1334
|
+
export interface WorkerPrepareGameSourceRequest {
|
|
1335
|
+
workerKey: string;
|
|
1336
|
+
leaseToken: string;
|
|
1337
|
+
appId: number;
|
|
1338
|
+
appUploadSessionId: string;
|
|
1339
|
+
baseGeneration: string | null;
|
|
1340
|
+
bundle: {
|
|
1341
|
+
sha256: string;
|
|
1342
|
+
bytes: number;
|
|
1343
|
+
headSha: string;
|
|
1344
|
+
commitSha: string;
|
|
1345
|
+
healedVersionCommits: Array<{
|
|
1346
|
+
versionId: number;
|
|
1347
|
+
commitSha: string;
|
|
1348
|
+
}>;
|
|
1349
|
+
};
|
|
1350
|
+
blobs: Array<{
|
|
1351
|
+
sha256: string;
|
|
1352
|
+
bytes: number;
|
|
1353
|
+
key: string;
|
|
1354
|
+
}>;
|
|
1355
|
+
}
|
|
1356
|
+
export interface WorkerPrepareGameSourceResponse {
|
|
1357
|
+
blobs: Array<{
|
|
1358
|
+
sha256: string;
|
|
1359
|
+
bytes: number;
|
|
1360
|
+
key: string;
|
|
1361
|
+
upload: WorkerPrivateObjectUploadV1 | null;
|
|
1362
|
+
}>;
|
|
1363
|
+
bundle: {
|
|
1364
|
+
currentKey: string;
|
|
1365
|
+
currentUpload: WorkerPrivateObjectUploadV1 | null;
|
|
1366
|
+
previousKey: string;
|
|
1367
|
+
previousUpload: WorkerPrivateObjectUploadV1 | null;
|
|
1368
|
+
};
|
|
1369
|
+
}
|
|
1370
|
+
export interface WorkerReadGameSourceFilesRequest {
|
|
1371
|
+
workerKey: string;
|
|
1372
|
+
leaseToken: string;
|
|
1373
|
+
files: Array<{
|
|
1374
|
+
sha256: string;
|
|
1375
|
+
bytes: number;
|
|
1376
|
+
key: string;
|
|
1377
|
+
}>;
|
|
1378
|
+
}
|
|
1379
|
+
export interface WorkerReadGameSourceFilesResponse {
|
|
1380
|
+
files: Array<{
|
|
1381
|
+
sha256: string;
|
|
1382
|
+
bytes: number;
|
|
1383
|
+
key: string;
|
|
1384
|
+
downloadUrl: string;
|
|
1032
1385
|
}>;
|
|
1033
1386
|
}
|
|
1034
|
-
export interface
|
|
1035
|
-
|
|
1387
|
+
export interface WorkerPrepareAgentTaskTranscriptRequest {
|
|
1388
|
+
workerKey: string;
|
|
1389
|
+
leaseToken: string;
|
|
1390
|
+
attempt: number;
|
|
1391
|
+
sha256: string;
|
|
1392
|
+
md5Base64: string;
|
|
1393
|
+
bytes: number;
|
|
1394
|
+
}
|
|
1395
|
+
export interface WorkerPrepareAgentTaskTranscriptResponse {
|
|
1396
|
+
key: string;
|
|
1397
|
+
upload: WorkerPrivateObjectUploadV1 | null;
|
|
1398
|
+
}
|
|
1399
|
+
export interface WorkerCompleteAgentTaskTranscriptRequest extends WorkerPrepareAgentTaskTranscriptRequest {
|
|
1400
|
+
}
|
|
1401
|
+
export interface WorkerCompleteAgentTaskTranscriptResponse {
|
|
1402
|
+
archived: boolean;
|
|
1403
|
+
key: string;
|
|
1404
|
+
generation: string;
|
|
1036
1405
|
}
|
|
1037
1406
|
export interface AgentTaskRunTokenUsageResponse {
|
|
1038
1407
|
inputTokens: number | null;
|
|
@@ -1066,10 +1435,18 @@ export interface AgentTaskRunResponse {
|
|
|
1066
1435
|
completedAt: string | null;
|
|
1067
1436
|
createdAt: string;
|
|
1068
1437
|
updatedAt: string;
|
|
1438
|
+
transcript: {
|
|
1439
|
+
archived: boolean;
|
|
1440
|
+
storageKey: string | null;
|
|
1441
|
+
sha256: string | null;
|
|
1442
|
+
md5Base64: string | null;
|
|
1443
|
+
bytes: number | null;
|
|
1444
|
+
generation: string | null;
|
|
1445
|
+
uploadedAt: string | null;
|
|
1446
|
+
};
|
|
1069
1447
|
}
|
|
1070
1448
|
export interface AgentTaskAiGenerationSummaryResponse {
|
|
1071
1449
|
generationId: string | null;
|
|
1072
|
-
jobId: string | null;
|
|
1073
1450
|
status: string;
|
|
1074
1451
|
modality: string;
|
|
1075
1452
|
model: string | null;
|
|
@@ -1079,6 +1456,95 @@ export interface AgentTaskAiGenerationSummaryResponse {
|
|
|
1079
1456
|
createdAt: string;
|
|
1080
1457
|
completedAt: string | null;
|
|
1081
1458
|
}
|
|
1459
|
+
export interface WorkerRecordProviderRequestRequest {
|
|
1460
|
+
workerKey: string;
|
|
1461
|
+
leaseToken: string;
|
|
1462
|
+
endpoint: string;
|
|
1463
|
+
requestId: string;
|
|
1464
|
+
}
|
|
1465
|
+
export interface WorkerRecordProviderRequestResponse {
|
|
1466
|
+
task: AgentTaskResponse;
|
|
1467
|
+
}
|
|
1468
|
+
export interface WorkerRecordProviderSubmissionRequest {
|
|
1469
|
+
workerKey: string;
|
|
1470
|
+
leaseToken: string;
|
|
1471
|
+
endpoint: string;
|
|
1472
|
+
}
|
|
1473
|
+
export interface WorkerRecordProviderSubmissionResponse {
|
|
1474
|
+
task: AgentTaskResponse;
|
|
1475
|
+
}
|
|
1476
|
+
export interface WorkerScreeningResultRequest {
|
|
1477
|
+
workerKey: string;
|
|
1478
|
+
leaseToken: string;
|
|
1479
|
+
output: Record<string, unknown>;
|
|
1480
|
+
}
|
|
1481
|
+
export interface WorkerScreeningResultResponse {
|
|
1482
|
+
task: AgentTaskResponse;
|
|
1483
|
+
accepted: boolean;
|
|
1484
|
+
}
|
|
1485
|
+
export interface WorkerGenerationTextResultRequest {
|
|
1486
|
+
workerKey: string;
|
|
1487
|
+
leaseToken: string;
|
|
1488
|
+
output: string | Record<string, unknown> | unknown[];
|
|
1489
|
+
providerUsage?: Record<string, unknown>;
|
|
1490
|
+
}
|
|
1491
|
+
export interface WorkerGenerationTextResultResponse {
|
|
1492
|
+
task: AgentTaskResponse;
|
|
1493
|
+
generationId: string;
|
|
1494
|
+
}
|
|
1495
|
+
export interface WorkerGenerationUploadManifestFile {
|
|
1496
|
+
role: "primary" | "preview" | "cover" | "metadata";
|
|
1497
|
+
fileName: string;
|
|
1498
|
+
contentType: string;
|
|
1499
|
+
sizeBytes: number;
|
|
1500
|
+
sha256: string;
|
|
1501
|
+
md5Base64: string;
|
|
1502
|
+
}
|
|
1503
|
+
export interface WorkerGenerationUploadCheckpoint {
|
|
1504
|
+
generationId: string;
|
|
1505
|
+
files: WorkerGenerationUploadManifestFile[];
|
|
1506
|
+
metadata: Record<string, unknown>;
|
|
1507
|
+
providerOutput?: Record<string, unknown>;
|
|
1508
|
+
}
|
|
1509
|
+
export interface WorkerPrepareGenerationUploadsRequest {
|
|
1510
|
+
workerKey: string;
|
|
1511
|
+
leaseToken: string;
|
|
1512
|
+
files: WorkerGenerationUploadManifestFile[];
|
|
1513
|
+
}
|
|
1514
|
+
export interface WorkerPrepareGenerationUploadsResponse {
|
|
1515
|
+
files: Array<WorkerGenerationUploadManifestFile & {
|
|
1516
|
+
storageKey: string;
|
|
1517
|
+
upload: WorkerPrivateObjectUploadV1 | null;
|
|
1518
|
+
}>;
|
|
1519
|
+
}
|
|
1520
|
+
export interface WorkerCheckpointGenerationUploadsRequest extends WorkerPrepareGenerationUploadsRequest {
|
|
1521
|
+
generationId: string;
|
|
1522
|
+
metadata: Record<string, unknown>;
|
|
1523
|
+
providerOutput?: Record<string, unknown>;
|
|
1524
|
+
}
|
|
1525
|
+
export interface WorkerCheckpointGenerationUploadsResponse {
|
|
1526
|
+
checkpoint: WorkerGenerationUploadCheckpoint;
|
|
1527
|
+
}
|
|
1528
|
+
export interface WorkerFinalizeGenerationRequest extends WorkerPrepareGenerationUploadsRequest {
|
|
1529
|
+
generationId: string;
|
|
1530
|
+
metadata: Record<string, unknown>;
|
|
1531
|
+
providerOutput?: Record<string, unknown>;
|
|
1532
|
+
}
|
|
1533
|
+
export interface WorkerFinalizeGenerationResponse {
|
|
1534
|
+
task: AgentTaskResponse;
|
|
1535
|
+
generationId: string;
|
|
1536
|
+
assetId: number;
|
|
1537
|
+
assetVersionId: number;
|
|
1538
|
+
}
|
|
1539
|
+
export interface WorkerFailGenerationRequest {
|
|
1540
|
+
workerKey: string;
|
|
1541
|
+
leaseToken: string;
|
|
1542
|
+
errorCode: string;
|
|
1543
|
+
errorMessage: string;
|
|
1544
|
+
}
|
|
1545
|
+
export interface WorkerFailGenerationResponse {
|
|
1546
|
+
task: AgentTaskResponse;
|
|
1547
|
+
}
|
|
1082
1548
|
export interface WorkerRecordAgentTaskRunTelemetryRequest {
|
|
1083
1549
|
workerKey: string;
|
|
1084
1550
|
leaseToken?: string;
|
|
@@ -1135,7 +1601,6 @@ export interface WorkerSubmitAgentTaskReviewResponse {
|
|
|
1135
1601
|
export interface GameEvalDimensionResult {
|
|
1136
1602
|
score: number;
|
|
1137
1603
|
comment: string;
|
|
1138
|
-
caps?: string[];
|
|
1139
1604
|
subChecks?: Record<string, unknown>;
|
|
1140
1605
|
}
|
|
1141
1606
|
export interface GameEvalTargetResult {
|
|
@@ -1217,6 +1682,23 @@ export interface WorkerCompleteAgentTaskRequest {
|
|
|
1217
1682
|
nextSteps?: AgentTaskNextStepSuggestion[];
|
|
1218
1683
|
platformFeedback?: string;
|
|
1219
1684
|
tokensUsed?: number | null;
|
|
1685
|
+
gameSource?: {
|
|
1686
|
+
attempt: number;
|
|
1687
|
+
baseGeneration: string | null;
|
|
1688
|
+
bundleSha256: string;
|
|
1689
|
+
bundleBytes: number;
|
|
1690
|
+
headSha: string;
|
|
1691
|
+
commitSha: string;
|
|
1692
|
+
healedVersionCommits: Array<{
|
|
1693
|
+
versionId: number;
|
|
1694
|
+
commitSha: string;
|
|
1695
|
+
}>;
|
|
1696
|
+
blobs: Array<{
|
|
1697
|
+
sha256: string;
|
|
1698
|
+
bytes: number;
|
|
1699
|
+
key: string;
|
|
1700
|
+
}>;
|
|
1701
|
+
};
|
|
1220
1702
|
}
|
|
1221
1703
|
export interface WorkerCompleteReleaseSmokeRequest {
|
|
1222
1704
|
workerKey: string;
|
|
@@ -1232,7 +1714,12 @@ export interface WorkerFailAgentTaskRequest {
|
|
|
1232
1714
|
leaseToken?: string;
|
|
1233
1715
|
error: string;
|
|
1234
1716
|
terminalReason: AgentTaskTerminalReason;
|
|
1235
|
-
result?:
|
|
1717
|
+
result?: {
|
|
1718
|
+
exitCode?: number | null;
|
|
1719
|
+
signal?: string | null;
|
|
1720
|
+
timedOut?: boolean;
|
|
1721
|
+
tokensUsed?: number | null;
|
|
1722
|
+
};
|
|
1236
1723
|
platformFeedback?: string;
|
|
1237
1724
|
}
|
|
1238
1725
|
export interface AdminAgentTasksResponse {
|
|
@@ -1246,7 +1733,18 @@ export interface AdminAgentTaskDetailResponse {
|
|
|
1246
1733
|
aiGenerations: AgentTaskAiGenerationSummaryResponse[];
|
|
1247
1734
|
}
|
|
1248
1735
|
export interface AdminAgentTaskTranscriptResponse {
|
|
1249
|
-
|
|
1736
|
+
attempt: number;
|
|
1737
|
+
archived: boolean;
|
|
1738
|
+
archive: {
|
|
1739
|
+
downloadUrl: string;
|
|
1740
|
+
contentType: "application/x-ndjson";
|
|
1741
|
+
storageKey: string;
|
|
1742
|
+
sha256: string;
|
|
1743
|
+
md5Base64: string;
|
|
1744
|
+
sizeBytes: number;
|
|
1745
|
+
generation: string;
|
|
1746
|
+
uploadedAt: string;
|
|
1747
|
+
} | null;
|
|
1250
1748
|
}
|
|
1251
1749
|
export interface AdminAgentWorkersStatusResponse {
|
|
1252
1750
|
checkedAt: string;
|
|
@@ -1280,6 +1778,8 @@ export declare const CREATOR_PLAN_TIER_VALUES: readonly ["BASIC", "PLUS", "PRO"]
|
|
|
1280
1778
|
export type CreatorPlanTier = (typeof CREATOR_PLAN_TIER_VALUES)[number];
|
|
1281
1779
|
export type CreatorTaskFundingSource = "INCLUDED" | "CREDITS" | "PERSONAL";
|
|
1282
1780
|
export interface CreatorPaidSubscriptionSummary {
|
|
1781
|
+
provider: Extract<PaymentProvider, "STRIPE" | "APPLE_IAP">;
|
|
1782
|
+
hasAccess: boolean;
|
|
1283
1783
|
tier: Exclude<CreatorPlanTier, "BASIC">;
|
|
1284
1784
|
status: string;
|
|
1285
1785
|
currentPeriodStart: string | null;
|
|
@@ -1316,6 +1816,7 @@ export interface CreatorReferralBonusState {
|
|
|
1316
1816
|
export interface CreatorPlanState {
|
|
1317
1817
|
effectiveTier: CreatorPlanTier;
|
|
1318
1818
|
paidSubscription: CreatorPaidSubscriptionSummary | null;
|
|
1819
|
+
hasPaidSubscriptionConflict: boolean;
|
|
1319
1820
|
complimentaryGrant: CreatorPlanGrantSummary | null;
|
|
1320
1821
|
weeklyGenerations: CreatorWeeklyGenerationState;
|
|
1321
1822
|
games: CreatorUsageState;
|
|
@@ -1324,6 +1825,28 @@ export interface CreatorPlanState {
|
|
|
1324
1825
|
creditUsageEnabled: boolean;
|
|
1325
1826
|
autoPublishEnabled: boolean;
|
|
1326
1827
|
}
|
|
1828
|
+
export interface AppleCreatorSubscriptionProduct {
|
|
1829
|
+
productId: string;
|
|
1830
|
+
tier: Exclude<CreatorPlanTier, "BASIC">;
|
|
1831
|
+
level: number;
|
|
1832
|
+
}
|
|
1833
|
+
export interface AppleCreatorSubscriptionConfigResponse {
|
|
1834
|
+
appAccountToken: string;
|
|
1835
|
+
subscriptionGroupId: string;
|
|
1836
|
+
products: AppleCreatorSubscriptionProduct[];
|
|
1837
|
+
eligibleToPurchase: boolean;
|
|
1838
|
+
blockingProvider: Extract<PaymentProvider, "STRIPE"> | null;
|
|
1839
|
+
creatorPlan: CreatorPlanState;
|
|
1840
|
+
}
|
|
1841
|
+
export interface AppleCreatorSubscriptionTransactionRequest {
|
|
1842
|
+
transactionId: string;
|
|
1843
|
+
signedTransactionInfo: string;
|
|
1844
|
+
}
|
|
1845
|
+
export interface AppleCreatorSubscriptionTransactionResponse {
|
|
1846
|
+
status: "fulfilled" | "already_fulfilled";
|
|
1847
|
+
transactionId: string;
|
|
1848
|
+
creatorPlan: CreatorPlanState;
|
|
1849
|
+
}
|
|
1327
1850
|
export interface AgentTaskTargetAvailability {
|
|
1328
1851
|
target: AgentExecutionTarget;
|
|
1329
1852
|
available: boolean;
|
|
@@ -1494,6 +2017,7 @@ export interface PublishAppListingDraftResponse {
|
|
|
1494
2017
|
export interface CreationGamesResponse {
|
|
1495
2018
|
items: CreationGameListItem[];
|
|
1496
2019
|
now: string;
|
|
2020
|
+
eventVersion: string;
|
|
1497
2021
|
}
|
|
1498
2022
|
export interface CreationVersionCard {
|
|
1499
2023
|
versionId: number;
|
|
@@ -1620,6 +2144,8 @@ export interface TagSummary extends ContentTagSummary {
|
|
|
1620
2144
|
export interface TagGroupWithTagsSummary extends TagGroupSummary {
|
|
1621
2145
|
tags: TagSummary[];
|
|
1622
2146
|
}
|
|
2147
|
+
export declare const APP_PUBLICATION_KIND_VALUES: readonly ["CLOUD", "UPLOAD", "EXTERNAL"];
|
|
2148
|
+
export type AppPublicationKind = (typeof APP_PUBLICATION_KIND_VALUES)[number];
|
|
1623
2149
|
export interface AppResponse {
|
|
1624
2150
|
id?: number;
|
|
1625
2151
|
name: string;
|
|
@@ -1631,6 +2157,7 @@ export interface AppResponse {
|
|
|
1631
2157
|
createdAt: string;
|
|
1632
2158
|
updatedAt: string;
|
|
1633
2159
|
origin?: AppOrigin;
|
|
2160
|
+
publicationKind?: AppPublicationKind;
|
|
1634
2161
|
type: AppType;
|
|
1635
2162
|
emoji?: string | null;
|
|
1636
2163
|
color?: string | null;
|
|
@@ -1649,6 +2176,8 @@ export interface AppResponse {
|
|
|
1649
2176
|
previewable?: boolean;
|
|
1650
2177
|
/** Whether the current hosted version exposes an owner-only creator Editor. */
|
|
1651
2178
|
editorSupported?: boolean;
|
|
2179
|
+
/** Whether the current hosted version declares a PlayDrop-hosted game server. */
|
|
2180
|
+
hasServer?: boolean;
|
|
1652
2181
|
/** Visibility of current version */
|
|
1653
2182
|
visibility?: AppVersionVisibility;
|
|
1654
2183
|
/** Review state of current version */
|
|
@@ -1667,6 +2196,13 @@ export interface AppResponse {
|
|
|
1667
2196
|
surfaceTargets?: AppSurface[];
|
|
1668
2197
|
primarySurface?: AppSurface | null;
|
|
1669
2198
|
playtestTapes?: AppPlaytestTapes | null;
|
|
2199
|
+
design?: AppVersionDesign | null;
|
|
2200
|
+
players?: AppPlayersConfig | null;
|
|
2201
|
+
makingOf?: string | null;
|
|
2202
|
+
controls?: string | null;
|
|
2203
|
+
creation?: AppCreationMetadata | null;
|
|
2204
|
+
sourceRepository?: string | null;
|
|
2205
|
+
editorialNote?: string | null;
|
|
1670
2206
|
/** Asset spec support declarations from the current version */
|
|
1671
2207
|
assetSpecSupport?: AppMetadataAssetSpecSupport[];
|
|
1672
2208
|
bundleSize?: number | null;
|
|
@@ -1696,7 +2232,49 @@ export interface AppResponse {
|
|
|
1696
2232
|
promotionToken?: string | null;
|
|
1697
2233
|
tags: ContentTagSummary[];
|
|
1698
2234
|
}
|
|
1699
|
-
|
|
2235
|
+
/**
|
|
2236
|
+
* Compact app payload used by home rails and collection pages.
|
|
2237
|
+
*
|
|
2238
|
+
* Keep this limited to fields required to render and route an app card, filter
|
|
2239
|
+
* by launch capability, show card media, and preserve engagement or promotion
|
|
2240
|
+
* context. Detail-page metadata belongs on AppResponse instead.
|
|
2241
|
+
*/
|
|
2242
|
+
export interface HomeAppCardSummary {
|
|
2243
|
+
id: number;
|
|
2244
|
+
name: string;
|
|
2245
|
+
displayName: string;
|
|
2246
|
+
creatorId: number;
|
|
2247
|
+
creatorUsername: string;
|
|
2248
|
+
type: AppType;
|
|
2249
|
+
emoji?: string | null;
|
|
2250
|
+
color?: string | null;
|
|
2251
|
+
lastPlayedAt?: string;
|
|
2252
|
+
hostingMode?: AppHostingMode;
|
|
2253
|
+
authMode?: AppAuthMode;
|
|
2254
|
+
controllerMode?: AppControllerMode;
|
|
2255
|
+
assetUrl: string | null;
|
|
2256
|
+
surfaceTargets?: AppSurface[];
|
|
2257
|
+
heroPortraitUrl?: string | null;
|
|
2258
|
+
heroLandscapeUrl?: string | null;
|
|
2259
|
+
videoPortraitUrls?: string[];
|
|
2260
|
+
videoLandscapeUrls?: string[];
|
|
2261
|
+
viewerSaved?: boolean;
|
|
2262
|
+
viewerLiked?: boolean;
|
|
2263
|
+
viewerDisliked?: boolean;
|
|
2264
|
+
likeCount?: number;
|
|
2265
|
+
dislikeCount?: number;
|
|
2266
|
+
viewCount?: number;
|
|
2267
|
+
playCount?: number;
|
|
2268
|
+
commentCount?: number;
|
|
2269
|
+
remixCount?: number;
|
|
2270
|
+
boostedUntil?: string | null;
|
|
2271
|
+
promotionSource?: string | null;
|
|
2272
|
+
promotionToken?: string | null;
|
|
2273
|
+
tags: ContentTagSummary[];
|
|
2274
|
+
}
|
|
2275
|
+
export interface AdminAppResponse extends AppResponse {
|
|
2276
|
+
editorialNote?: string | null;
|
|
2277
|
+
}
|
|
1700
2278
|
export interface AdminAppsListResponse {
|
|
1701
2279
|
apps: AdminAppResponse[];
|
|
1702
2280
|
}
|
|
@@ -1890,6 +2468,7 @@ export interface AdminPlayTradeCreatorRow {
|
|
|
1890
2468
|
creatorId: number;
|
|
1891
2469
|
username: string;
|
|
1892
2470
|
displayName: string;
|
|
2471
|
+
lastGivenAt: string | null;
|
|
1893
2472
|
given: number;
|
|
1894
2473
|
received: number;
|
|
1895
2474
|
balance: number;
|
|
@@ -1902,6 +2481,7 @@ export interface AdminPlayTradeGameRow {
|
|
|
1902
2481
|
creatorId: number;
|
|
1903
2482
|
creatorUsername: string;
|
|
1904
2483
|
creatorDisplayName: string;
|
|
2484
|
+
lastGivenAt: string | null;
|
|
1905
2485
|
given: number;
|
|
1906
2486
|
received: number;
|
|
1907
2487
|
balance: number;
|
|
@@ -2043,7 +2623,7 @@ export interface PublicUser {
|
|
|
2043
2623
|
id: number;
|
|
2044
2624
|
username: string;
|
|
2045
2625
|
displayName: string;
|
|
2046
|
-
role: "CREATOR" | "ADMIN";
|
|
2626
|
+
role: "CREATOR" | "CLOUD_WORKER" | "ADMIN";
|
|
2047
2627
|
selectedProfileAssetRef: string;
|
|
2048
2628
|
profileAssetPreviewUrl: string;
|
|
2049
2629
|
socialImageUrl: string | null;
|
|
@@ -2063,16 +2643,20 @@ export interface PublicUser {
|
|
|
2063
2643
|
viewerFollowing?: boolean;
|
|
2064
2644
|
viewerBlocked?: boolean;
|
|
2065
2645
|
followsViewer?: boolean;
|
|
2646
|
+
isChatAdmin?: boolean;
|
|
2066
2647
|
createdAt: string;
|
|
2067
2648
|
updatedAt: string;
|
|
2068
2649
|
}
|
|
2069
2650
|
export interface MeUser extends PublicUser {
|
|
2651
|
+
testOwnerUserId?: number | null;
|
|
2652
|
+
testSlot?: number | null;
|
|
2070
2653
|
creditBalance: number;
|
|
2071
2654
|
freeCloudGenerationBalance: number;
|
|
2072
2655
|
ownedAssetsCount: number;
|
|
2073
2656
|
hasPassword: boolean;
|
|
2074
2657
|
followingCreatorsCount: number;
|
|
2075
2658
|
unreadNotificationsCount: number;
|
|
2659
|
+
hasUnreadChat?: boolean;
|
|
2076
2660
|
unclaimedFreeCreditCount: number;
|
|
2077
2661
|
creatorQuota?: CreatorQuotaResponse | null;
|
|
2078
2662
|
creatorPlan?: CreatorPlanState | null;
|
|
@@ -2115,7 +2699,7 @@ export interface AdminUserSummary {
|
|
|
2115
2699
|
id: number;
|
|
2116
2700
|
username: string;
|
|
2117
2701
|
displayName: string;
|
|
2118
|
-
role: "GUEST" | "CREATOR" | "TEST_PLAYER" | "ADMIN";
|
|
2702
|
+
role: "GUEST" | "CREATOR" | "TEST_PLAYER" | "CLOUD_WORKER" | "ADMIN";
|
|
2119
2703
|
kind: "HUMAN" | "BOT" | "AGENT";
|
|
2120
2704
|
selectedProfileAssetRef: string | null;
|
|
2121
2705
|
creditBalance: number;
|
|
@@ -2216,22 +2800,6 @@ export interface PrivacyExportPublishedPack {
|
|
|
2216
2800
|
createdAt: string;
|
|
2217
2801
|
updatedAt: string;
|
|
2218
2802
|
}
|
|
2219
|
-
export interface PrivacyExportAiGenerationJob {
|
|
2220
|
-
id: string;
|
|
2221
|
-
modality: AiGenerationType;
|
|
2222
|
-
status: "PENDING" | "RUNNING" | "SUCCESS" | "FAILURE";
|
|
2223
|
-
requestPrompt: string;
|
|
2224
|
-
requestPayload: unknown;
|
|
2225
|
-
resultData: unknown;
|
|
2226
|
-
errorCode: string | null;
|
|
2227
|
-
errorMessage: string | null;
|
|
2228
|
-
linkedGenerationId: string | null;
|
|
2229
|
-
createdAt: string;
|
|
2230
|
-
updatedAt: string;
|
|
2231
|
-
startedAt: string | null;
|
|
2232
|
-
completedAt: string | null;
|
|
2233
|
-
failedAt: string | null;
|
|
2234
|
-
}
|
|
2235
2803
|
export interface PrivacyExportResponse {
|
|
2236
2804
|
exportedAt: string;
|
|
2237
2805
|
account: MeUser;
|
|
@@ -2244,7 +2812,6 @@ export interface PrivacyExportResponse {
|
|
|
2244
2812
|
iapReceipts: IapReceipt[];
|
|
2245
2813
|
aiActivity: {
|
|
2246
2814
|
generations: AiGenerationDetail[];
|
|
2247
|
-
jobs: PrivacyExportAiGenerationJob[];
|
|
2248
2815
|
};
|
|
2249
2816
|
publishedContent: {
|
|
2250
2817
|
apps: PrivacyExportPublishedApp[];
|
|
@@ -2444,6 +3011,9 @@ export interface AppOwnedAssetSummary {
|
|
|
2444
3011
|
creatorUsername: string;
|
|
2445
3012
|
name: string;
|
|
2446
3013
|
displayName: string | null;
|
|
3014
|
+
category?: AssetCategory | null;
|
|
3015
|
+
license?: ContentLicense | null;
|
|
3016
|
+
previewUrl?: string | null;
|
|
2447
3017
|
}
|
|
2448
3018
|
export interface AppDirectAssetSummary {
|
|
2449
3019
|
assetRef: string;
|
|
@@ -2451,12 +3021,17 @@ export interface AppDirectAssetSummary {
|
|
|
2451
3021
|
creatorUsername: string;
|
|
2452
3022
|
name: string;
|
|
2453
3023
|
displayName: string | null;
|
|
3024
|
+
category?: AssetCategory | null;
|
|
3025
|
+
license?: ContentLicense | null;
|
|
3026
|
+
previewUrl?: string | null;
|
|
2454
3027
|
}
|
|
2455
3028
|
export interface AppPackDependencySummary {
|
|
2456
3029
|
packRef: string;
|
|
2457
3030
|
creatorUsername: string;
|
|
2458
3031
|
name: string;
|
|
2459
3032
|
displayName: string | null;
|
|
3033
|
+
license?: ContentLicense | null;
|
|
3034
|
+
iconUrl?: string | null;
|
|
2460
3035
|
}
|
|
2461
3036
|
export interface AppDependencySummary {
|
|
2462
3037
|
ownedAssets: AppOwnedAssetSummary[];
|
|
@@ -2465,36 +3040,38 @@ export interface AppDependencySummary {
|
|
|
2465
3040
|
}
|
|
2466
3041
|
export interface AppDetailRequest {
|
|
2467
3042
|
includeDependencies?: boolean;
|
|
3043
|
+
includeEngagement?: boolean;
|
|
3044
|
+
includeViewerState?: boolean;
|
|
2468
3045
|
}
|
|
2469
|
-
export interface
|
|
2470
|
-
|
|
2471
|
-
|
|
3046
|
+
export interface AppEngagementResponse {
|
|
3047
|
+
likeCount: number;
|
|
3048
|
+
dislikeCount: number;
|
|
3049
|
+
viewCount: number;
|
|
3050
|
+
playCount: number;
|
|
3051
|
+
commentCount: number;
|
|
3052
|
+
remixCount: number;
|
|
2472
3053
|
}
|
|
2473
|
-
export
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
app: AppResponse;
|
|
2478
|
-
} | {
|
|
2479
|
-
kind: "ASSET";
|
|
2480
|
-
asset: AssetResponse;
|
|
2481
|
-
} | {
|
|
2482
|
-
kind: "PACK";
|
|
2483
|
-
pack: AssetPackResponse;
|
|
2484
|
-
};
|
|
2485
|
-
export interface AppMoreCollectionsRequest {
|
|
2486
|
-
limit?: number;
|
|
3054
|
+
export interface ContentViewerStateResponse {
|
|
3055
|
+
saved: boolean;
|
|
3056
|
+
liked: boolean;
|
|
3057
|
+
disliked: boolean;
|
|
2487
3058
|
}
|
|
2488
|
-
export interface
|
|
2489
|
-
|
|
3059
|
+
export interface AppCreationStory {
|
|
3060
|
+
firstPrompt?: string | null;
|
|
3061
|
+
iterationCount: number;
|
|
3062
|
+
publishedVersionCount: number;
|
|
3063
|
+
agent?: string | null;
|
|
3064
|
+
model?: string | null;
|
|
2490
3065
|
}
|
|
2491
|
-
export interface
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
3066
|
+
export interface AppDetailResponse {
|
|
3067
|
+
app: AppResponse;
|
|
3068
|
+
dependencies?: AppDependencySummary;
|
|
3069
|
+
creationStory?: AppCreationStory | null;
|
|
2495
3070
|
}
|
|
2496
|
-
export interface
|
|
2497
|
-
|
|
3071
|
+
export interface AppGameRecommendationsResponse {
|
|
3072
|
+
byCreator: AppResponse[];
|
|
3073
|
+
sameCategory: AppResponse[];
|
|
3074
|
+
featuredFallback: AppResponse[];
|
|
2498
3075
|
}
|
|
2499
3076
|
type RemixRelatedItemSummaryBase = {
|
|
2500
3077
|
creatorUsername: string;
|
|
@@ -2524,6 +3101,7 @@ export interface ReviewerAppAccessTokenResponse extends AppAccessTokenResponse {
|
|
|
2524
3101
|
id: number;
|
|
2525
3102
|
username: string;
|
|
2526
3103
|
displayName: string;
|
|
3104
|
+
selectedProfileAssetRef: string;
|
|
2527
3105
|
reviewer: true;
|
|
2528
3106
|
};
|
|
2529
3107
|
}
|
|
@@ -2532,6 +3110,7 @@ export interface CaptureAppAccessTokenResponse extends AppAccessTokenResponse {
|
|
|
2532
3110
|
id: number;
|
|
2533
3111
|
username: string;
|
|
2534
3112
|
displayName: string;
|
|
3113
|
+
selectedProfileAssetRef: string;
|
|
2535
3114
|
capture: true;
|
|
2536
3115
|
};
|
|
2537
3116
|
}
|
|
@@ -2548,6 +3127,18 @@ export interface DevPlayerSummary {
|
|
|
2548
3127
|
export interface DevAppAccessTokenResponse extends AppAccessTokenResponse {
|
|
2549
3128
|
player: DevPlayerSummary;
|
|
2550
3129
|
}
|
|
3130
|
+
export interface DevSocialFriendsResponse {
|
|
3131
|
+
friends: SocialFriend[];
|
|
3132
|
+
}
|
|
3133
|
+
export interface DevGameServerCredentialResponse {
|
|
3134
|
+
serviceToken: string;
|
|
3135
|
+
environment: string;
|
|
3136
|
+
appId: number;
|
|
3137
|
+
appVersionId: number | null;
|
|
3138
|
+
devAppVersion: string | null;
|
|
3139
|
+
deploymentId: string;
|
|
3140
|
+
runtimeVersion: "colyseus-0.17-v1";
|
|
3141
|
+
}
|
|
2551
3142
|
export interface DevPlayerResetResponse {
|
|
2552
3143
|
resetAll: boolean;
|
|
2553
3144
|
playerSlots: number[];
|
|
@@ -2555,6 +3146,7 @@ export interface DevPlayerResetResponse {
|
|
|
2555
3146
|
deletedAchievementCount: number;
|
|
2556
3147
|
deletedLeaderboardScoreCount: number;
|
|
2557
3148
|
deletedIapReceiptCount: number;
|
|
3149
|
+
deletedSocialMessageCount: number;
|
|
2558
3150
|
}
|
|
2559
3151
|
export type LogSeverity = "debug" | "info" | "warn" | "error";
|
|
2560
3152
|
export interface AppLogEntryContext {
|
|
@@ -2577,41 +3169,8 @@ export interface CreateAppResponse {
|
|
|
2577
3169
|
templateUrl: string;
|
|
2578
3170
|
sourceArchiveUrl?: string;
|
|
2579
3171
|
}
|
|
2580
|
-
export type RemixScaffoldMode = "archive" | "inline-html" | "external-metadata-only";
|
|
2581
|
-
export interface ExternalRemixScaffoldMetadata {
|
|
2582
|
-
name: string;
|
|
2583
|
-
displayName: string;
|
|
2584
|
-
description: string;
|
|
2585
|
-
creatorUsername: string;
|
|
2586
|
-
type: AppType;
|
|
2587
|
-
emoji: string | null;
|
|
2588
|
-
color: string | null;
|
|
2589
|
-
surfaceTargets: AppSurface[];
|
|
2590
|
-
}
|
|
2591
|
-
export interface ArchiveRemixScaffoldResponse {
|
|
2592
|
-
remixMode: "archive";
|
|
2593
|
-
html?: string | null;
|
|
2594
|
-
metadata?: Record<string, unknown>;
|
|
2595
|
-
archiveUrl: string;
|
|
2596
|
-
externalListingUrl?: string;
|
|
2597
|
-
}
|
|
2598
|
-
export interface InlineHtmlRemixScaffoldResponse {
|
|
2599
|
-
remixMode: "inline-html";
|
|
2600
|
-
html: string;
|
|
2601
|
-
metadata?: Record<string, unknown>;
|
|
2602
|
-
archiveUrl?: string;
|
|
2603
|
-
externalListingUrl?: string;
|
|
2604
|
-
}
|
|
2605
|
-
export interface ExternalMetadataOnlyRemixScaffoldResponse {
|
|
2606
|
-
remixMode: "external-metadata-only";
|
|
2607
|
-
html?: string | null;
|
|
2608
|
-
metadata: ExternalRemixScaffoldMetadata;
|
|
2609
|
-
archiveUrl?: string;
|
|
2610
|
-
externalListingUrl: string;
|
|
2611
|
-
}
|
|
2612
|
-
export type RemixScaffoldResponse = ArchiveRemixScaffoldResponse | InlineHtmlRemixScaffoldResponse | ExternalMetadataOnlyRemixScaffoldResponse;
|
|
2613
3172
|
export interface TemplateScaffoldResponse {
|
|
2614
|
-
html
|
|
3173
|
+
html?: string | null;
|
|
2615
3174
|
metadata?: Record<string, unknown>;
|
|
2616
3175
|
archiveUrl?: string;
|
|
2617
3176
|
}
|
|
@@ -2648,10 +3207,9 @@ export interface AdminAppVersionReviewSummary {
|
|
|
2648
3207
|
reviewMessage?: string | null;
|
|
2649
3208
|
creatorFeedback?: string | null;
|
|
2650
3209
|
parsedOutcome: string | null;
|
|
2651
|
-
parsedGate: string | null;
|
|
2652
3210
|
parsedPrimarySurface: string | null;
|
|
2653
3211
|
parsedAverageScore: number | null;
|
|
2654
|
-
|
|
3212
|
+
parsedQualityScores: Record<string, number>;
|
|
2655
3213
|
parsedPunchline: string | null;
|
|
2656
3214
|
reviewParseErrors: string[];
|
|
2657
3215
|
reviewStartedAt?: string | null;
|
|
@@ -2681,8 +3239,6 @@ export interface ProfileAssetSummary {
|
|
|
2681
3239
|
name: string;
|
|
2682
3240
|
displayName: string;
|
|
2683
3241
|
previewUrl: string;
|
|
2684
|
-
meshUrl: string;
|
|
2685
|
-
boxelUrl: string;
|
|
2686
3242
|
}
|
|
2687
3243
|
export interface StarterProfileAssetSummary {
|
|
2688
3244
|
assetRef: string;
|
|
@@ -3172,10 +3728,14 @@ export interface DeleteContentCommentResponse {
|
|
|
3172
3728
|
export interface CreatorFollowMutationResponse {
|
|
3173
3729
|
following: boolean;
|
|
3174
3730
|
}
|
|
3175
|
-
export declare const FREE_CREDIT_OBJECTIVE_VALUES: readonly ["WELCOME", "PLAY_GAME", "PLAY_ON_MOBILE", "FOLLOW_CREATOR", "INVITED", "SHARE_CODE", "ENABLE_PUSH", "CREATE_SONG", "CREATE_IMAGE", "CREATE_3D", "CLI_LOGIN", "CREATE_GAME", "CREATE_GAME_UPDATE", "CREATE_GAME_REMIX", "PUBLISH_GAME", "FIRST_CREATOR_PLAY", "CREATOR_PLAYS_10", "CREATOR_PLAYS_100", "CREATOR_PLAYS_1000", "CREATOR_PLAYS_10000", "CREATOR_SURVEY", "SHARE_GAME", "BOOST_GAME"];
|
|
3731
|
+
export declare const FREE_CREDIT_OBJECTIVE_VALUES: readonly ["WELCOME", "PLAY_GAME", "PLAY_ON_MOBILE", "FOLLOW_CREATOR", "INVITED", "SHARE_CODE", "ENABLE_PUSH", "CREATE_SONG", "CREATE_IMAGE", "CREATE_3D", "CLI_LOGIN", "CREATE_GAME", "PLAY_TRADE", "CREATE_GAME_UPDATE", "CREATE_GAME_REMIX", "PUBLISH_GAME", "FIRST_CREATOR_PLAY", "CREATOR_PLAYS_10", "CREATOR_PLAYS_100", "CREATOR_PLAYS_1000", "CREATOR_PLAYS_10000", "CREATOR_SURVEY", "SHARE_GAME", "BOOST_GAME"];
|
|
3176
3732
|
export type FreeCreditObjectiveKey = (typeof FREE_CREDIT_OBJECTIVE_VALUES)[number];
|
|
3177
3733
|
export declare const FREE_CREDIT_REWARD_STATUS_VALUES: readonly ["INCOMPLETE", "CLAIMABLE", "CLAIMED"];
|
|
3178
3734
|
export type FreeCreditRewardStatus = (typeof FREE_CREDIT_REWARD_STATUS_VALUES)[number];
|
|
3735
|
+
export interface FreeCreditObjectiveProgress {
|
|
3736
|
+
current: number;
|
|
3737
|
+
target: number;
|
|
3738
|
+
}
|
|
3179
3739
|
export interface FreeCreditObjectiveSummary {
|
|
3180
3740
|
objective: FreeCreditObjectiveKey;
|
|
3181
3741
|
title: string;
|
|
@@ -3189,6 +3749,7 @@ export interface FreeCreditObjectiveSummary {
|
|
|
3189
3749
|
nextClaimRewardId: number | null;
|
|
3190
3750
|
lastCompletedAt: string | null;
|
|
3191
3751
|
lastClaimedAt: string | null;
|
|
3752
|
+
progress: FreeCreditObjectiveProgress | null;
|
|
3192
3753
|
}
|
|
3193
3754
|
export interface CreatorChallengePlanReward {
|
|
3194
3755
|
tier: Exclude<CreatorPlanTier, "BASIC">;
|
|
@@ -3268,6 +3829,8 @@ export interface SubmitCreatorSurveyResponse {
|
|
|
3268
3829
|
transactionId: number;
|
|
3269
3830
|
creditBalance: number;
|
|
3270
3831
|
unclaimedCount: number;
|
|
3832
|
+
inviteCode: string;
|
|
3833
|
+
inviteUrlPath: string;
|
|
3271
3834
|
objectiveSummary: FreeCreditObjectiveSummary;
|
|
3272
3835
|
}
|
|
3273
3836
|
export type NotificationMetadata = Record<string, unknown>;
|
|
@@ -3329,7 +3892,7 @@ export declare const CREATOR_ENGAGEMENT_RULE_EXECUTION_STATUS_VALUES: readonly [
|
|
|
3329
3892
|
export type CreatorEngagementRuleExecutionStatus = (typeof CREATOR_ENGAGEMENT_RULE_EXECUTION_STATUS_VALUES)[number];
|
|
3330
3893
|
export declare const COMMUNICATION_ACTION_EXECUTION_STATUS_VALUES: readonly ["PENDING", "PROCESSING", "SUPPRESSED", "DRY_RUN", "SENT", "DELIVERED", "FAILED"];
|
|
3331
3894
|
export type CommunicationActionExecutionStatus = (typeof COMMUNICATION_ACTION_EXECUTION_STATUS_VALUES)[number];
|
|
3332
|
-
export declare const COMMUNICATION_ACTION_TYPE_VALUES: readonly ["EMAIL", "IN_APP_NOTIFICATION"];
|
|
3895
|
+
export declare const COMMUNICATION_ACTION_TYPE_VALUES: readonly ["EMAIL", "IN_APP_NOTIFICATION", "CHAT_DM"];
|
|
3333
3896
|
export type CommunicationActionType = (typeof COMMUNICATION_ACTION_TYPE_VALUES)[number];
|
|
3334
3897
|
export declare const EMAIL_SUPPRESSION_REASON_VALUES: readonly ["HARD_BOUNCE", "COMPLAINT", "SOFT_BOUNCE_THRESHOLD", "MANUAL"];
|
|
3335
3898
|
export type EmailSuppressionReason = (typeof EMAIL_SUPPRESSION_REASON_VALUES)[number];
|
|
@@ -3380,6 +3943,7 @@ export interface CreatorEngagementRuleSummary {
|
|
|
3380
3943
|
enabled: boolean;
|
|
3381
3944
|
defaultEnabled: boolean;
|
|
3382
3945
|
overrideEnabled: boolean | null;
|
|
3946
|
+
senderUsername?: string | null;
|
|
3383
3947
|
}>;
|
|
3384
3948
|
}
|
|
3385
3949
|
export interface AdminCreatorEngagementRulesResponse {
|
|
@@ -3576,7 +4140,7 @@ interface HomeCollectionBase {
|
|
|
3576
4140
|
}
|
|
3577
4141
|
export interface AppsHomeCollection extends HomeCollectionBase {
|
|
3578
4142
|
type: "apps";
|
|
3579
|
-
apps:
|
|
4143
|
+
apps: HomeAppCardSummary[];
|
|
3580
4144
|
}
|
|
3581
4145
|
export interface CreatorsHomeCollection extends HomeCollectionBase {
|
|
3582
4146
|
type: "creators";
|
|
@@ -3639,7 +4203,7 @@ export interface CreateUserResponse {
|
|
|
3639
4203
|
user: AdminUserDetail;
|
|
3640
4204
|
}
|
|
3641
4205
|
export interface UpdateAdminUserRequest {
|
|
3642
|
-
role?: "CREATOR" | "ADMIN";
|
|
4206
|
+
role?: "CREATOR" | "CLOUD_WORKER" | "ADMIN";
|
|
3643
4207
|
kind?: "HUMAN" | "BOT" | "AGENT";
|
|
3644
4208
|
displayName?: string;
|
|
3645
4209
|
creditDelta?: number;
|