@dreamboard-games/cli 0.1.30-alpha.25 → 0.1.30-alpha.27

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-3TMWDJQR.js";
59
+ } from "./chunk-BOO4OFZR.js";
60
60
  import {
61
61
  applyWorkspaceCodegen,
62
62
  collectLocalFiles,
@@ -81,7 +81,6 @@ import {
81
81
  getSessionSnapshot,
82
82
  installFrozenWorkspaceDependencies,
83
83
  isAllowedGamePath,
84
- isDynamicGeneratedPath,
85
84
  loadManifest,
86
85
  loadProjectConfig,
87
86
  loadRule,
@@ -95,7 +94,7 @@ import {
95
94
  updateProjectLocalMaintainerRegistry,
96
95
  updateProjectState,
97
96
  writeSnapshot
98
- } from "./chunk-ZFVLYMKV.js";
97
+ } from "./chunk-LEUC3W2L.js";
99
98
  import {
100
99
  clearCredentials,
101
100
  getActiveCredentialBackendName,
@@ -5710,7 +5709,7 @@ function normalizeTreePath(filePath) {
5710
5709
  return normalized;
5711
5710
  }
5712
5711
  function isForbiddenGeneratedPath(filePath) {
5713
- return isDynamicGeneratedPath(filePath) || GENERATED_PATH_PREFIXES.some((prefix) => filePath.startsWith(prefix));
5712
+ return GENERATED_PATH_PREFIXES.some((prefix) => filePath.startsWith(prefix));
5714
5713
  }
5715
5714
  function isForbiddenDreamboardStatePath(filePath) {
5716
5715
  return filePath.startsWith(".dreamboard/") && !ALLOWED_DREAMBOARD_TRACKED_PATHS.has(filePath);
@@ -5733,11 +5732,11 @@ function resolveRequestedRunner(value) {
5733
5732
  if (value == null || value === "") {
5734
5733
  return void 0;
5735
5734
  }
5736
- if (value === "reducer" || value === "remote" || value === "browser") {
5735
+ if (value === "reducer" || value === "remote") {
5737
5736
  return value;
5738
5737
  }
5739
5738
  throw new Error(
5740
- `Unsupported test runner '${String(value)}'. Expected one of reducer, remote, browser.`
5739
+ `Unsupported test runner '${String(value)}'. Expected one of reducer, remote.`
5741
5740
  );
5742
5741
  }
5743
5742
  function resolveTestCommandPlan(args) {
@@ -5747,14 +5746,14 @@ function resolveTestCommandPlan(args) {
5747
5746
  if (runner === "remote" && !commit) {
5748
5747
  throw new Error("dreamboard test --runner remote requires --commit <rev>.");
5749
5748
  }
5750
- if (commit && runner !== "remote" && runner !== "browser") {
5749
+ if (commit && runner !== "remote") {
5751
5750
  throw new Error(
5752
- "dreamboard test --commit is only valid with --runner remote or --runner browser."
5751
+ "dreamboard test --commit is only valid with --runner remote."
5753
5752
  );
5754
5753
  }
5755
5754
  if (updateSnapshots && (runner === "remote" || commit)) {
5756
5755
  throw new Error(
5757
- "dreamboard test --update-snapshots is only valid for current-worktree reducer or browser tests."
5756
+ "dreamboard test --update-snapshots is only valid for current-worktree reducer tests."
5758
5757
  );
5759
5758
  }
5760
5759
  return {
@@ -5814,7 +5813,7 @@ async function resolveRemoteCommitCompiledResult(options) {
5814
5813
  return compiledResult;
5815
5814
  }
5816
5815
  async function resolveReducerNativeRuntimeIdentity(options) {
5817
- if (options.useRemoteRuntime || options.runner === "remote" || options.runner === "browser") {
5816
+ if (options.useRemoteRuntime || options.runner === "remote") {
5818
5817
  const latestCompiledResult = await resolveLatestCompiledResult(
5819
5818
  options.projectRoot,
5820
5819
  options.projectConfig
@@ -5884,7 +5883,7 @@ async function runTestCommand(args, deps = {}) {
5884
5883
  return;
5885
5884
  }
5886
5885
  const { projectRoot, projectConfig, config } = await (deps.resolveProjectContext ?? resolveProjectContext)(parsedFlags, {
5887
- requireAuth: useRemoteRuntime || plan.runner === "remote" || plan.runner === "browser"
5886
+ requireAuth: useRemoteRuntime || plan.runner === "remote"
5888
5887
  });
5889
5888
  await (deps.assertPortableDependencies ?? assertReleaseEnvironmentPortableDependencies)({
5890
5889
  projectRoot,
@@ -5952,8 +5951,8 @@ var runCommand3 = defineCommand({
5952
5951
  },
5953
5952
  runner: {
5954
5953
  type: "string",
5955
- valueHint: "reducer|remote|browser",
5956
- description: "Scenario runner: reducer (in-process, default), remote (live sessions against the configured backend), or browser (local web stack)."
5954
+ valueHint: "reducer|remote",
5955
+ description: "Scenario runner: reducer (in-process, default) or remote (live sessions against the configured backend)."
5957
5956
  },
5958
5957
  commit: {
5959
5958
  type: "string",
@@ -6328,7 +6327,7 @@ function runDreamboardCli(internalSubCommands = {}) {
6328
6327
  const main = defineCommand({
6329
6328
  meta: {
6330
6329
  name: "dreamboard",
6331
- version: "0.1.30-alpha.25",
6330
+ version: "0.1.30-alpha.27",
6332
6331
  description: "Dreamboard CLI \u2014 game development platform"
6333
6332
  },
6334
6333
  subCommands