@dreamboard-games/cli 0.1.30-alpha.26 → 0.1.30-alpha.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -56,7 +56,7 @@ import {
56
56
  titleFromSlug,
57
57
  toDreamboardApiError,
58
58
  waitForCompiledResultJobSdk
59
- } from "./chunk-26IYAAMB.js";
59
+ } from "./chunk-AB734OB2.js";
60
60
  import {
61
61
  applyWorkspaceCodegen,
62
62
  collectLocalFiles,
@@ -94,7 +94,7 @@ import {
94
94
  updateProjectLocalMaintainerRegistry,
95
95
  updateProjectState,
96
96
  writeSnapshot
97
- } from "./chunk-TG6TZMN2.js";
97
+ } from "./chunk-HGVHTFXB.js";
98
98
  import {
99
99
  clearCredentials,
100
100
  getActiveCredentialBackendName,
@@ -5800,6 +5800,12 @@ function assertRemoteCommitReady(status) {
5800
5800
  }
5801
5801
  async function resolveRemoteCommitCompiledResult(options) {
5802
5802
  const revisionDigest = assertRemoteCommitReady(options.status);
5803
+ const previewBuild = options.status.builds.find(
5804
+ (build) => build.targetProfile === "preview" && build.compiledArtifactStatus === "SUCCEEDED" && typeof build.compiledArtifactId === "string" && build.compiledArtifactId.length > 0
5805
+ );
5806
+ if (previewBuild?.compiledArtifactId) {
5807
+ return { id: previewBuild.compiledArtifactId };
5808
+ }
5803
5809
  const compiledResults = await (options.findCompiledResultsForRevision ?? findProjectCompiledResultsForRevision)({
5804
5810
  projectId: options.projectId,
5805
5811
  revisionDigest
@@ -5813,7 +5819,7 @@ async function resolveRemoteCommitCompiledResult(options) {
5813
5819
  return compiledResult;
5814
5820
  }
5815
5821
  async function resolveReducerNativeRuntimeIdentity(options) {
5816
- if (options.useRemoteRuntime || options.runner === "remote" || options.runner === "browser") {
5822
+ if (options.useRemoteRuntime || options.runner === "remote") {
5817
5823
  const latestCompiledResult = await resolveLatestCompiledResult(
5818
5824
  options.projectRoot,
5819
5825
  options.projectConfig
@@ -5883,7 +5889,7 @@ async function runTestCommand(args, deps = {}) {
5883
5889
  return;
5884
5890
  }
5885
5891
  const { projectRoot, projectConfig, config } = await (deps.resolveProjectContext ?? resolveProjectContext)(parsedFlags, {
5886
- requireAuth: useRemoteRuntime || plan.runner === "remote" || plan.runner === "browser"
5892
+ requireAuth: useRemoteRuntime || plan.runner === "remote"
5887
5893
  });
5888
5894
  await (deps.assertPortableDependencies ?? assertReleaseEnvironmentPortableDependencies)({
5889
5895
  projectRoot,
@@ -5951,8 +5957,8 @@ var runCommand3 = defineCommand({
5951
5957
  },
5952
5958
  runner: {
5953
5959
  type: "string",
5954
- valueHint: "reducer|remote|browser",
5955
- description: "Scenario runner: reducer (in-process, default), remote (live sessions against the configured backend), or browser (local web stack)."
5960
+ valueHint: "reducer|remote",
5961
+ description: "Scenario runner: reducer (in-process, default) or remote (live sessions against the configured backend)."
5956
5962
  },
5957
5963
  commit: {
5958
5964
  type: "string",
@@ -6327,7 +6333,7 @@ function runDreamboardCli(internalSubCommands = {}) {
6327
6333
  const main = defineCommand({
6328
6334
  meta: {
6329
6335
  name: "dreamboard",
6330
- version: "0.1.30-alpha.26",
6336
+ version: "0.1.30-alpha.28",
6331
6337
  description: "Dreamboard CLI \u2014 game development platform"
6332
6338
  },
6333
6339
  subCommands