@maka/maka-cli 5.176.0 → 5.177.0

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
2
  "name": "@maka/maka-cli",
3
- "version": "5.176.0",
3
+ "version": "5.177.0",
4
4
  "type": "module",
5
5
  "summary": "A command line tool for scaffolding Meteor 3.x applications using either React.",
6
6
  "description": "A command line tool for scaffolding Meteor 3.x applications using React.",
@@ -437,5 +437,8 @@
437
437
  // release) still-embedded hubSeed. Hosted hub sessions
438
438
  // (createHeadlessHub) run the solo hub loop in the site's process with
439
439
  // a save sink; a browser player can enter the hub.
440
- export const ENGINE_VERSION = '1.51.0';
440
+ // 1.52.0 (2026-09-12): THE EMBEDDED HUB SEED IS GONE FROM SAVES. The one
441
+ // release of dual-writing is over: a save carries hubSeedRef only, and
442
+ // the site (sheet fallback) reads hubSeed on older docs alone.
443
+ export const ENGINE_VERSION = '1.52.0';
441
444
  //# sourceMappingURL=engine-version.js.map
@@ -12,7 +12,7 @@ import { findCatalogItem, itemFromCatalog, loadCatalog, augFor, spellFor, adeptP
12
12
  import { SKILL_GROUPS } from '../skill-groups.js';
13
13
  import { serializePlayer, serializeItem } from '../utilities/persistence.js';
14
14
  import { canonicalLifestyleTier, LIFESTYLE_TIERS, canonicalLifestyleOption, lifestyleOptionAllowed, LIFESTYLE_OPTIONS, } from '../utilities/commerce.js';
15
- import { SAVE_VERSION, DUAL_WRITE_HUB_SEED } from '../types/save-file.js';
15
+ import { SAVE_VERSION } from '../types/save-file.js';
16
16
  import { hubSeedRefOf } from '../utilities/hub-seed.js';
17
17
  /**
18
18
  * THE ENGINE-SIDE CHARACTER FACTORY -- one payload in, one bootable save
@@ -538,10 +538,9 @@ export function buildFromChargen(payload) {
538
538
  * truth this migration removes. Nothing in this repo creates a
539
539
  * character without first holding the served seed.
540
540
  *
541
- * The save records the seed by REFERENCE (hubSeedRef, from the stamp
542
- * the server put on it) and, for one release, still embeds it
543
- * (hubSeed) so a binary from before the migration can resume the
544
- * runner -- see ISaveFileV1.hubSeed and DUAL_WRITE_HUB_SEED in game.ts.
541
+ * The save records the seed by REFERENCE only (hubSeedRef, from the
542
+ * stamp the server put on it); the embedded copy stopped being written
543
+ * in 5.177.0 -- see ISaveFileV1.hubSeed.
545
544
  */
546
545
  export function createNewCharacterSave(payload, hubSeed) {
547
546
  if (!hubSeed || typeof hubSeed !== 'object' || !Array.isArray(hubSeed.rooms)) {
@@ -573,7 +572,6 @@ export function createNewCharacterSave(payload, hubSeed) {
573
572
  hubName: hubSeed.name ?? 'the hub',
574
573
  },
575
574
  hubSeedRef: hubSeedRefOf(hubSeed),
576
- ...(DUAL_WRITE_HUB_SEED ? { hubSeed } : {}),
577
575
  player: serializePlayer(player),
578
576
  game: {
579
577
  lifestyleTier, lifestyleOptions, rentDebt: 0, tier: 1, contacts: [],
@@ -18,7 +18,7 @@ import { Category, Size, Rating } from './types/shared/item-enum.js';
18
18
  import { Item } from './models/item.js';
19
19
  import { Room, Container } from './models/_index.js';
20
20
  import { Door } from './models/door.js';
21
- import { SAVE_VERSION, DUAL_WRITE_HUB_SEED } from './types/save-file.js';
21
+ import { SAVE_VERSION } from './types/save-file.js';
22
22
  import { hubSeedRefOf } from './utilities/hub-seed.js';
23
23
  import { serializePlayer, restorePlayer, captureHubOverlay, applyHubOverlay, applyHomeBlock, writeSaveAtomic, deleteSave, restoreItem, readSave, serializeItem, saveSlug, spillPathFor, } from './utilities/persistence.js';
24
24
  import { heartbeatPresence, heartbeatPresenceNow } from './utilities/social.js';
@@ -3536,9 +3536,9 @@ ${client.name} won't be remembering anything. Dead Johnsons pay nothing -- and t
3536
3536
  // BY REFERENCE (engine 1.51.0): the stamp maka-cli.com put on the
3537
3537
  // seed this session plays. An unstamped seed (a hand-written
3538
3538
  // fixture, a scene handed straight to Game.getInstance) records no
3539
- // ref; the dual-written embed below still carries it this release.
3539
+ // ref. The seed itself is never embedded (5.177.0): a resume plays
3540
+ // whatever maka-cli.com serves.
3540
3541
  hubSeedRef: hubSeedRefOf(this._hubSeed),
3541
- ...(DUAL_WRITE_HUB_SEED ? { hubSeed: this._hubSeed } : {}),
3542
3542
  player: serializePlayer(this.player),
3543
3543
  game: {
3544
3544
  location: this.hubLocationSnapshot(),
@@ -11,12 +11,4 @@
11
11
  * deletion -- an old save outlives the build that can't read it).
12
12
  */
13
13
  export const SAVE_VERSION = 1;
14
- /**
15
- * ONE RELEASE OF DUAL-WRITING (user decision 2026-09-12). While true,
16
- * every save carries BOTH hubSeedRef and the embedded hubSeed, so a
17
- * terminal still on 5.175.x can resume a runner the browser hub or a
18
- * 5.176.0 terminal has touched. 5.177.0 flips this off; readers never
19
- * depend on it either way.
20
- */
21
- export const DUAL_WRITE_HUB_SEED = true;
22
14
  //# sourceMappingURL=save-file.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maka/maka-cli",
3
- "version": "5.176.0",
3
+ "version": "5.177.0",
4
4
  "type": "module",
5
5
  "summary": "A command line tool for scaffolding Meteor 3.x applications using either React.",
6
6
  "description": "A command line tool for scaffolding Meteor 3.x applications using React.",