@playdrop/playdrop-cli 0.13.6 → 0.13.7
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 +2 -2
- package/dist/apps/index.d.ts +1 -1
- package/dist/apps/index.js +1 -1
- package/dist/apps/loadCheck.d.ts +6 -6
- package/dist/apps/loadCheck.js +109 -199
- package/dist/apps/upload.d.ts +1 -1
- package/dist/apps/upload.js +2 -5
- package/dist/commands/check.js +16 -24
- package/dist/commands/upload.js +2 -8
- package/node_modules/@playdrop/config/client-meta.json +2 -2
- package/node_modules/@playdrop/config/dist/tsconfig.tsbuildinfo +1 -1
- package/node_modules/@playdrop/types/dist/version.d.ts +18 -1
- package/node_modules/@playdrop/types/dist/version.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/apps/playtestContract.d.ts +0 -2
- package/dist/apps/playtestContract.js +0 -77
package/dist/commands/upload.js
CHANGED
|
@@ -1271,12 +1271,6 @@ function assertAgentNewGamePlaytestContract(task) {
|
|
|
1271
1271
|
if (!tape) {
|
|
1272
1272
|
throw new Error(`agent_task_playtest_tape_missing:${surface}`);
|
|
1273
1273
|
}
|
|
1274
|
-
if (tape.startOnlyEventCount <= 0) {
|
|
1275
|
-
throw new Error(`agent_task_playtest_start_only_required:${surface}: the tape must include an explicit startup action.`);
|
|
1276
|
-
}
|
|
1277
|
-
if (tape.events[0]?.atMs !== 0) {
|
|
1278
|
-
throw new Error(`agent_task_playtest_ready_relative_timing_required:${surface}: the first startup event must run at 0 ms after sdk.host.ready().`);
|
|
1279
|
-
}
|
|
1280
1274
|
}
|
|
1281
1275
|
}
|
|
1282
1276
|
const WORKER_SUPERVISOR_SOURCE_EXCLUDES = [
|
|
@@ -2065,7 +2059,7 @@ async function publishWorkerAppProject(input) {
|
|
|
2065
2059
|
agentTaskId: input.taskId,
|
|
2066
2060
|
playtestProof: playtestProof ?? undefined,
|
|
2067
2061
|
mediaCaptureRequired: input.executionTarget === 'FIRST_PARTY',
|
|
2068
|
-
|
|
2062
|
+
playtestSmokeCheckRequired: input.kind === 'NEW_GAME',
|
|
2069
2063
|
captureSession,
|
|
2070
2064
|
});
|
|
2071
2065
|
if (!uploadResult.versionCreated || !uploadResult.version) {
|
|
@@ -2140,7 +2134,7 @@ async function publishStaticHtmlProject(input) {
|
|
|
2140
2134
|
ensureRegisteredAppShell: true,
|
|
2141
2135
|
agentTaskId: input.taskId,
|
|
2142
2136
|
mediaCaptureRequired: false,
|
|
2143
|
-
|
|
2137
|
+
playtestSmokeCheckRequired: false,
|
|
2144
2138
|
captureSession,
|
|
2145
2139
|
artifacts: prepared.artifacts,
|
|
2146
2140
|
});
|