@playdrop/playdrop-cli 0.17.1 → 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.
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "0.17.0",
3
- "build": 5,
2
+ "version": "0.17.1",
3
+ "build": 2,
4
4
  "runtimeSdkVersion": "0.17.0",
5
5
  "runtimeSdkBuild": 2,
6
6
  "clients": {
@@ -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,
@@ -27,6 +27,7 @@ export type WorkerAppPublishInput = {
27
27
  webBase?: string | null;
28
28
  token: string;
29
29
  user: UserResponse;
30
+ devRouterPort?: number;
30
31
  deterministicE2EFixture?: boolean;
31
32
  prepareGitTransition?: (input: {
32
33
  appId: number;
@@ -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,
@@ -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) {
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "0.17.0",
3
- "build": 5,
2
+ "version": "0.17.1",
3
+ "build": 2,
4
4
  "runtimeSdkVersion": "0.17.0",
5
5
  "runtimeSdkBuild": 2,
6
6
  "clients": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@playdrop/playdrop-cli",
3
- "version": "0.17.1",
3
+ "version": "0.17.2",
4
4
  "description": "Official Playdrop CLI for publishing browser games, creator apps, and AI-generated game assets on playdrop.ai",
5
5
  "homepage": "https://www.playdrop.ai",
6
6
  "repository": {