@playdrop/playdrop-cli 0.17.0 → 0.17.2
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 +1 -1
- package/dist/commands/check.js +2 -0
- package/dist/commands/upload.d.ts +1 -0
- package/dist/commands/upload.js +1 -0
- package/dist/commands/worker/game-source-git.js +3 -1
- package/dist/commands/worker.js +2 -0
- package/node_modules/@playdrop/config/client-meta.json +1 -1
- package/node_modules/@playdrop/config/dist/tsconfig.tsbuildinfo +1 -1
- package/node_modules/@playwright/mcp/node_modules/fsevents/LICENSE +22 -0
- package/node_modules/@playwright/mcp/node_modules/fsevents/README.md +83 -0
- package/node_modules/@playwright/mcp/node_modules/fsevents/fsevents.d.ts +46 -0
- package/node_modules/@playwright/mcp/node_modules/fsevents/fsevents.js +82 -0
- package/node_modules/@playwright/mcp/node_modules/fsevents/fsevents.node +0 -0
- package/node_modules/@playwright/mcp/node_modules/fsevents/package.json +62 -0
- package/package.json +1 -1
package/config/client-meta.json
CHANGED
package/dist/commands/check.js
CHANGED
|
@@ -12,6 +12,7 @@ const http_1 = require("../http");
|
|
|
12
12
|
const messages_1 = require("../messages");
|
|
13
13
|
const loadCheck_1 = require("../apps/loadCheck");
|
|
14
14
|
const devShared_1 = require("./devShared");
|
|
15
|
+
const dev_1 = require("./dev");
|
|
15
16
|
const taskCaptureSession_1 = require("./taskCaptureSession");
|
|
16
17
|
const serverBuild_1 = require("../apps/serverBuild");
|
|
17
18
|
function resolveProjectCheckTarget(targetArg, appOption) {
|
|
@@ -224,6 +225,7 @@ async function check(targetArg, options = {}) {
|
|
|
224
225
|
timeoutMs,
|
|
225
226
|
token,
|
|
226
227
|
currentUser: null,
|
|
228
|
+
devRouterPort: (0, dev_1.resolveCliDevRouterPort)(),
|
|
227
229
|
captureSession,
|
|
228
230
|
screenshotPath: input.screenshotPath,
|
|
229
231
|
surface: input.surface,
|
package/dist/commands/upload.js
CHANGED
|
@@ -1435,6 +1435,7 @@ async function publishWorkerAppProject(input) {
|
|
|
1435
1435
|
token: input.token,
|
|
1436
1436
|
user: input.user,
|
|
1437
1437
|
runLocalLoadCheck: validationPolicy.runLocalLoadCheck,
|
|
1438
|
+
devRouterPort: input.devRouterPort,
|
|
1438
1439
|
runStagedUploadLoadCheck: validationPolicy.runStagedUploadLoadCheck,
|
|
1439
1440
|
ensureRegisteredAppShell: true,
|
|
1440
1441
|
agentTaskId: input.taskId,
|
|
@@ -89,7 +89,9 @@ async function createBareCache(input) {
|
|
|
89
89
|
await (0, promises_1.mkdir)(node_path_1.default.dirname(bundlePath), { recursive: true });
|
|
90
90
|
try {
|
|
91
91
|
await (0, promises_1.writeFile)(bundlePath, await downloadBuffer(input.assignment.baseRepository.bundleDownloadUrl));
|
|
92
|
-
await git.run(["
|
|
92
|
+
await git.run(["init", "--bare", temporary]);
|
|
93
|
+
await git.run(["--git-dir", temporary, "bundle", "verify", bundlePath], temporary);
|
|
94
|
+
await (0, promises_1.rm)(temporary, { recursive: true, force: true });
|
|
93
95
|
await git.run(["clone", "--bare", bundlePath, temporary]);
|
|
94
96
|
await reconcileCachedCanonicalRefs(temporary, input.assignment);
|
|
95
97
|
await (0, promises_1.mkdir)(node_path_1.default.dirname(input.destination), { recursive: true });
|
package/dist/commands/worker.js
CHANGED
|
@@ -6615,6 +6615,7 @@ async function startWorker(options = {}) {
|
|
|
6615
6615
|
webBase: envConfig.webBase ?? null,
|
|
6616
6616
|
token: ctx.getToken(),
|
|
6617
6617
|
user: me.user,
|
|
6618
|
+
devRouterPort: devPort,
|
|
6618
6619
|
deterministicE2EFixture: fixtureKind === task.kind,
|
|
6619
6620
|
prepareGitTransition,
|
|
6620
6621
|
});
|
|
@@ -7494,6 +7495,7 @@ async function uploadTask(options = {}) {
|
|
|
7494
7495
|
webBase: ctx.envConfig.webBase ?? null,
|
|
7495
7496
|
token: ctx.token,
|
|
7496
7497
|
user: ctx.user,
|
|
7498
|
+
devRouterPort: taskContext.devPort,
|
|
7497
7499
|
});
|
|
7498
7500
|
}
|
|
7499
7501
|
catch (error) {
|