@dreamboard-games/cli 0.1.30-alpha.39 → 0.1.30-alpha.40

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.
Files changed (26) hide show
  1. package/dist/agent-verifier/agent-workspace-verifier.mjs +6 -6
  2. package/dist/agent-verifier/agent-workspace-verifier.mjs.map +1 -1
  3. package/dist/agent-verifier/{chunk-WLUEMKVV.mjs → chunk-KAA3B4DI.mjs} +4 -4
  4. package/dist/agent-verifier/{chunk-WLUEMKVV.mjs.map → chunk-KAA3B4DI.mjs.map} +1 -1
  5. package/dist/agent-verifier/{chunk-M6YNQZCC.mjs → chunk-LROY5SN2.mjs} +4 -33
  6. package/dist/agent-verifier/chunk-LROY5SN2.mjs.map +1 -0
  7. package/dist/agent-verifier/{materialize-workspace-RPWQ5PST.mjs → materialize-workspace-JBDL6LF4.mjs} +4 -5
  8. package/dist/agent-verifier/materialize-workspace-JBDL6LF4.mjs.map +1 -0
  9. package/dist/agent-verifier/{reducer-native-test-harness-UFMSNNDY.mjs → reducer-native-test-harness-XQUPIT5D.mjs} +20 -20
  10. package/dist/agent-verifier/reducer-native-test-harness-XQUPIT5D.mjs.map +1 -0
  11. package/dist/agent-verifier/{static-scaffold-4HXUM2S4.mjs → static-scaffold-U5DXE23S.mjs} +2 -2
  12. package/dist/authoring-compatibility-internal.js +1 -1
  13. package/dist/{chunk-IZ7N2NLZ.js → chunk-5IYJOVUA.js} +22 -32
  14. package/dist/chunk-5IYJOVUA.js.map +1 -0
  15. package/dist/{chunk-R6J3LAQY.js → chunk-USZAPMQ4.js} +8 -38
  16. package/dist/{chunk-R6J3LAQY.js.map → chunk-USZAPMQ4.js.map} +1 -1
  17. package/dist/index.js +12 -15
  18. package/dist/index.js.map +1 -1
  19. package/dist/internal.js +2 -2
  20. package/package.json +1 -1
  21. package/release/authoring-release-set.json +3 -3
  22. package/dist/agent-verifier/chunk-M6YNQZCC.mjs.map +0 -1
  23. package/dist/agent-verifier/materialize-workspace-RPWQ5PST.mjs.map +0 -1
  24. package/dist/agent-verifier/reducer-native-test-harness-UFMSNNDY.mjs.map +0 -1
  25. package/dist/chunk-IZ7N2NLZ.js.map +0 -1
  26. /package/dist/agent-verifier/{static-scaffold-4HXUM2S4.mjs.map → static-scaffold-U5DXE23S.mjs.map} +0 -0
package/dist/index.js CHANGED
@@ -47,7 +47,7 @@ import {
47
47
  titleFromSlug,
48
48
  toDreamboardApiError,
49
49
  waitForCompiledResultJobSdk
50
- } from "./chunk-IZ7N2NLZ.js";
50
+ } from "./chunk-5IYJOVUA.js";
51
51
  import {
52
52
  applyWorkspaceCodegen,
53
53
  collectLocalFiles,
@@ -81,7 +81,7 @@ import {
81
81
  updateProjectLocalMaintainerRegistry,
82
82
  updateProjectState,
83
83
  writeSnapshot
84
- } from "./chunk-R6J3LAQY.js";
84
+ } from "./chunk-USZAPMQ4.js";
85
85
  import {
86
86
  getActiveCredentialBackendName,
87
87
  getGlobalAuthPath,
@@ -4178,7 +4178,7 @@ var dev_default = defineCommand({
4178
4178
  await generateReducerNativeArtifacts({
4179
4179
  projectRoot,
4180
4180
  compiledResultId: devCompile.id,
4181
- gameId: effectiveProjectConfig.gameId,
4181
+ projectId: effectiveProjectConfig.projectId,
4182
4182
  debug: parsedArgs.debug
4183
4183
  });
4184
4184
  const seededScenario = await createSessionFromScenario({
@@ -4186,7 +4186,6 @@ var dev_default = defineCommand({
4186
4186
  scenarioId: requestedScenarioId,
4187
4187
  compiledResultId: devCompile.id,
4188
4188
  projectId: effectiveProjectConfig.projectId,
4189
- gameId: effectiveProjectConfig.gameId,
4190
4189
  debug: parsedArgs.debug,
4191
4190
  trustGeneratedFingerprint: true
4192
4191
  });
@@ -4196,7 +4195,7 @@ var dev_default = defineCommand({
4196
4195
  runSession = {
4197
4196
  sessionId: seededScenario.sessionId,
4198
4197
  shortCode: seededScenario.shortCode,
4199
- gameId: seededScenario.gameId,
4198
+ projectId: seededScenario.projectId,
4200
4199
  seed: seededScenario.seed,
4201
4200
  setupProfileId: seededScenario.setupProfileId ?? void 0,
4202
4201
  materialization: seededScenario.materialization
@@ -4309,7 +4308,7 @@ async function tryResumeSession(requested, currentGameId, setupProfileId) {
4309
4308
  if (projectIdFromSessionGameSource(context.gameSource) !== currentGameId) {
4310
4309
  return {
4311
4310
  session: null,
4312
- reason: "session belongs to a different game"
4311
+ reason: "session belongs to a different project"
4313
4312
  };
4314
4313
  }
4315
4314
  if ((context.setupProfileId ?? null) !== setupProfileId) {
@@ -4328,7 +4327,7 @@ async function tryResumeSession(requested, currentGameId, setupProfileId) {
4328
4327
  session: {
4329
4328
  sessionId: context.sessionId,
4330
4329
  shortCode: context.shortCode,
4331
- gameId: projectIdFromSessionGameSource(context.gameSource),
4330
+ projectId: projectIdFromSessionGameSource(context.gameSource),
4332
4331
  setupProfileId: context.setupProfileId ?? void 0
4333
4332
  },
4334
4333
  reason: null
@@ -4587,7 +4586,7 @@ async function createDevSession(options) {
4587
4586
  return {
4588
4587
  sessionId: session.sessionId,
4589
4588
  shortCode: session.shortCode,
4590
- gameId: projectIdFromSessionGameSource(session.gameSource),
4589
+ projectId: projectIdFromSessionGameSource(session.gameSource),
4591
4590
  seed: options.seed,
4592
4591
  setupProfileId: options.setupProfileId ?? void 0
4593
4592
  };
@@ -4850,7 +4849,6 @@ var project_create_default = defineCommand({
4850
4849
  targetDir,
4851
4850
  projectId,
4852
4851
  slug: project.slug,
4853
- gameId: project.projectId,
4854
4852
  deploymentId: identity.deploymentId,
4855
4853
  ownerScopeId: identity.ownerScopeId,
4856
4854
  bindingKey: identity.bindingKey,
@@ -4990,7 +4988,6 @@ var project_clone_default = defineCommand({
4990
4988
  }
4991
4989
  await updateProjectEnvironmentState(tempDir, {
4992
4990
  ...clonedProjectConfig,
4993
- gameId: project.projectId,
4994
4991
  deploymentId: identity.deploymentId,
4995
4992
  ownerScopeId: identity.ownerScopeId,
4996
4993
  bindingKey: identity.bindingKey,
@@ -5323,7 +5320,7 @@ async function runTestCommand(args, deps = {}) {
5323
5320
  projectRoot,
5324
5321
  scenarioPath: args.scenario,
5325
5322
  compiledResultId: projectConfig.compile?.latestSuccessful?.resultId,
5326
- gameId: projectConfig.gameId,
5323
+ projectId: projectConfig.projectId,
5327
5324
  debug: Boolean(args.debug)
5328
5325
  });
5329
5326
  if (generated.bases.length === 0) {
@@ -5338,7 +5335,7 @@ async function runTestCommand(args, deps = {}) {
5338
5335
  resolvedConfig: config,
5339
5336
  scenarioPath: args.scenario,
5340
5337
  compiledResultId: projectConfig.compile?.latestSuccessful?.resultId,
5341
- gameId: projectConfig.gameId,
5338
+ projectId: projectConfig.projectId,
5342
5339
  debug: Boolean(args.debug),
5343
5340
  updateSnapshots: plan.updateSnapshots
5344
5341
  });
@@ -5472,12 +5469,12 @@ async function runExactCommitVerification(options, deps = {}) {
5472
5469
  );
5473
5470
  }
5474
5471
  const runtimeIdentity = {
5475
- gameId: projectConfig.gameId,
5472
+ projectId: projectConfig.projectId,
5476
5473
  compiledResultId: projectConfig.compile?.latestSuccessful?.resultId
5477
5474
  };
5478
5475
  const generated = await (deps.generateArtifacts ?? generateReducerNativeArtifacts)({
5479
5476
  projectRoot: worktreeRoot,
5480
- gameId: runtimeIdentity.gameId,
5477
+ projectId: runtimeIdentity.projectId,
5481
5478
  compiledResultId: runtimeIdentity.compiledResultId
5482
5479
  });
5483
5480
  if (generated.bases.length === 0) {
@@ -5492,7 +5489,7 @@ async function runExactCommitVerification(options, deps = {}) {
5492
5489
  projectRoot: worktreeRoot,
5493
5490
  projectConfig,
5494
5491
  resolvedConfig: options.config,
5495
- gameId: runtimeIdentity.gameId,
5492
+ projectId: runtimeIdentity.projectId,
5496
5493
  compiledResultId: runtimeIdentity.compiledResultId
5497
5494
  });
5498
5495
  steps.push("scenarios");