@maka/maka-cli 5.71.0 → 5.73.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.
Files changed (52) hide show
  1. package/bundle/typescript/package.json +1 -1
  2. package/bundle/typescript/src/commands/_index.d.ts +1 -0
  3. package/bundle/typescript/src/commands/_index.js +1 -0
  4. package/bundle/typescript/src/commands/_index.js.map +1 -1
  5. package/bundle/typescript/src/commands/game/sideQuest/commands/backlog.js +16 -1
  6. package/bundle/typescript/src/commands/game/sideQuest/commands/backlog.js.map +1 -1
  7. package/bundle/typescript/src/commands/game/sideQuest/commands/breach.d.ts +1 -0
  8. package/bundle/typescript/src/commands/game/sideQuest/commands/breach.js +3 -0
  9. package/bundle/typescript/src/commands/game/sideQuest/commands/breach.js.map +1 -1
  10. package/bundle/typescript/src/commands/game/sideQuest/commands/bypass-command.d.ts +4 -0
  11. package/bundle/typescript/src/commands/game/sideQuest/commands/bypass-command.js +14 -0
  12. package/bundle/typescript/src/commands/game/sideQuest/commands/bypass-command.js.map +1 -1
  13. package/bundle/typescript/src/commands/game/sideQuest/commands/hack.js +1 -1
  14. package/bundle/typescript/src/commands/game/sideQuest/commands/hack.js.map +1 -1
  15. package/bundle/typescript/src/commands/game/sideQuest/commands/sheet.js +2 -2
  16. package/bundle/typescript/src/commands/game/sideQuest/commands/sheet.js.map +1 -1
  17. package/bundle/typescript/src/commands/game/sideQuest/factories/scene-factory.js +17 -1
  18. package/bundle/typescript/src/commands/game/sideQuest/factories/scene-factory.js.map +1 -1
  19. package/bundle/typescript/src/commands/game/sideQuest/game.d.ts +27 -0
  20. package/bundle/typescript/src/commands/game/sideQuest/game.js +32 -2
  21. package/bundle/typescript/src/commands/game/sideQuest/game.js.map +1 -1
  22. package/bundle/typescript/src/commands/game/sideQuest/models/npc.d.ts +28 -0
  23. package/bundle/typescript/src/commands/game/sideQuest/models/npc.js +62 -1
  24. package/bundle/typescript/src/commands/game/sideQuest/models/npc.js.map +1 -1
  25. package/bundle/typescript/src/commands/game/sideQuest/models/player.d.ts +39 -6
  26. package/bundle/typescript/src/commands/game/sideQuest/models/player.js +74 -31
  27. package/bundle/typescript/src/commands/game/sideQuest/models/player.js.map +1 -1
  28. package/bundle/typescript/src/commands/game/sideQuest/utilities/combat-exchange.d.ts +21 -7
  29. package/bundle/typescript/src/commands/game/sideQuest/utilities/combat-exchange.js +50 -30
  30. package/bundle/typescript/src/commands/game/sideQuest/utilities/combat-exchange.js.map +1 -1
  31. package/bundle/typescript/src/commands/game/sideQuest/utilities/dice.d.ts +63 -0
  32. package/bundle/typescript/src/commands/game/sideQuest/utilities/dice.js +41 -0
  33. package/bundle/typescript/src/commands/game/sideQuest/utilities/dice.js.map +1 -1
  34. package/bundle/typescript/src/commands/game/sideQuest/utilities/repro-launch.d.ts +14 -0
  35. package/bundle/typescript/src/commands/game/sideQuest/utilities/repro-launch.js +27 -1
  36. package/bundle/typescript/src/commands/game/sideQuest/utilities/repro-launch.js.map +1 -1
  37. package/bundle/typescript/src/commands/game/sideQuest/utilities/session-legs.d.ts +74 -0
  38. package/bundle/typescript/src/commands/game/sideQuest/utilities/session-legs.js +74 -0
  39. package/bundle/typescript/src/commands/game/sideQuest/utilities/session-legs.js.map +1 -0
  40. package/bundle/typescript/src/commands/game/sideQuest.sub.cmd.js +38 -23
  41. package/bundle/typescript/src/commands/game/sideQuest.sub.cmd.js.map +1 -1
  42. package/bundle/typescript/src/commands/registry.js +1 -0
  43. package/bundle/typescript/src/commands/registry.js.map +1 -1
  44. package/bundle/typescript/src/commands/update.d.ts +1 -0
  45. package/bundle/typescript/src/commands/update.js +127 -0
  46. package/bundle/typescript/src/commands/update.js.map +1 -0
  47. package/bundle/typescript/src/tools/fsi/fsi.class.js +5 -5
  48. package/bundle/typescript/src/tools/fsi/fsi.class.js.map +1 -1
  49. package/bundle/typescript/src/tools/self-update/self-update.d.ts +76 -0
  50. package/bundle/typescript/src/tools/self-update/self-update.js +172 -0
  51. package/bundle/typescript/src/tools/self-update/self-update.js.map +1 -0
  52. package/package.json +1 -1
@@ -1774,6 +1774,36 @@ export default class Game {
1774
1774
  this._pendingRide = undefined;
1775
1775
  this.pendingRunAccepted = false;
1776
1776
  }
1777
+ /**
1778
+ * EVERYTHING THAT BELONGS TO AN OFFER, RESET TOGETHER
1779
+ * (8jZMqtXmxbLiACo3E: "I haven't pushed the number yet").
1780
+ *
1781
+ * An offer carries its own haggle window at the hub -- "call <fixer>"
1782
+ * delivers it and `haggle` works on the spot. Push on one, decline
1783
+ * it, hear the NEXT one, and nothing cleared the flag: not
1784
+ * refreshEdge (departure only, and no ride was called), not
1785
+ * returnToHub (no run to come home from). The first push on the new
1786
+ * offer was then refused with "you already pushed on the number once
1787
+ * this job" -- about a job the runner had turned down.
1788
+ *
1789
+ * THE THIRD HOLE IN ONE BOOLEAN, which is why this is a method and
1790
+ * not another line at a call site. `haggledThisJob` had already been
1791
+ * patched twice, each time for its own report and each time at the
1792
+ * one site that report happened to name: returnToHub for
1793
+ * d4yoYPcRAtWpLtm9y, the headless boot for the shared-run arrival.
1794
+ * There are TWO places a fresh offer is installed -- the solo draft
1795
+ * and the shared-run quote -- and both had the same gap, so a third
1796
+ * per-site patch would have fixed one and left the other reporting
1797
+ * the same sentence.
1798
+ *
1799
+ * NOT called from restoreFromSave, deliberately: a resumed pendingRun
1800
+ * is the SAME offer, and clearing there would forget a push the
1801
+ * runner really did make before they quit.
1802
+ */
1803
+ resetForNewOffer() {
1804
+ this.pendingRunAccepted = false;
1805
+ this.player.haggledThisJob = false;
1806
+ }
1777
1807
  get pendingRun() {
1778
1808
  return this._pendingRunSeed;
1779
1809
  }
@@ -3237,7 +3267,7 @@ ${client.name} won't be remembering anything. Dead Johnsons pay nothing -- and t
3237
3267
  // a server draft doesn't survive a quit).
3238
3268
  this._pendingRunTier = undefined;
3239
3269
  this._pendingRide = Game.RIDE_POOL[Math.floor(Math.random() * Game.RIDE_POOL.length)];
3240
- this.pendingRunAccepted = false;
3270
+ this.resetForNewOffer();
3241
3271
  // Off-street seat-mates were dropped from tonight's quote by the
3242
3272
  // server (their seats survive -- back on the street, back on the
3243
3273
  // job). Krow NAMES them; silence here already cost one playtest.
@@ -3334,7 +3364,7 @@ ${client.name} won't be remembering anything. Dead Johnsons pay nothing -- and t
3334
3364
  this._pendingRunSeed = nextSeed;
3335
3365
  this._pendingRunTier = nextTier;
3336
3366
  this._pendingRide = Game.RIDE_POOL[Math.floor(Math.random() * Game.RIDE_POOL.length)];
3337
- this.pendingRunAccepted = false;
3367
+ this.resetForNewOffer();
3338
3368
  return `Your link pings -- 1 new message: ${FIXER_NAME}.${sharedDeclineNote}${hint(` ("call ${FIXER_NAME}" to hear the job -- "jobs" shows the board.)`)}`;
3339
3369
  }
3340
3370
  // Classic sessions transition immediately, hideout-first, as always.