@maka/maka-cli 5.217.0 → 5.218.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.217.0",
3
+ "version": "5.218.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.",
@@ -91,6 +91,35 @@ export class GiveCommand extends Command {
91
91
  this.logger.write(`${this.actor.name} tried to give item "${itemOrAmount}" but does not have it.`);
92
92
  return `You don’t have "${itemOrAmount}".`;
93
93
  }
94
+ // A DELIVERED OBJECTIVE DOES NOT COME BACK (qk7TtQqyaT4CaWNka, Maka:
95
+ // "when I returned from a job, after giving Ms. Halvorsen the Skim
96
+ // Ledger Archive -- I kept a copy, is that by design?").
97
+ //
98
+ // It was not a copy, and nothing duplicated anything. The transcript
99
+ // (session vi2bvgA7XhHZRjwYL) has Ted hand the chip over, the job
100
+ // complete -- "The ledger's yanked clean ... Karma earned: 4" -- a
101
+ // beat where "Ms. Halvorsen's hand shoots out and closes around the
102
+ // datachip", and then, one line later:
103
+ //
104
+ // Ms. Halvorsen give Skim Ledger Archive to Ted
105
+ //
106
+ // Her AI issued a `give` and handed the paydata straight back, so the
107
+ // runner walked out of a finished job still holding the thing he had
108
+ // just been paid for. The brief's own example of a matching command
109
+ // is `give <item> to <name>`, which is exactly the shape a model
110
+ // echoes when it has just been handed something.
111
+ //
112
+ // So the engine settles it rather than the prompt. Once the win
113
+ // condition is SATISFIED, the objective item is spent: it is the
114
+ // client's now, and no hand -- theirs, a bystander's, or the
115
+ // runner's -- passes it on. Scoped hard to the completed objective:
116
+ // an ordinary chip, an unfinished job, and the reward item all move
117
+ // exactly as they did.
118
+ const won = this.scene.getWinCondition?.();
119
+ if (this.scene.isCompleted?.() && won?.item.toLowerCase() === item.name.toLowerCase()) {
120
+ this.logger.write(`${this.actor.name} tried to pass on the delivered objective "${item.name}"; refused (job already settled).`);
121
+ return `The ${item.name} is already delivered and paid for -- it belongs to the client now, and nobody is handing it back.`;
122
+ }
94
123
  if (servedFromShelf) {
95
124
  room.inventory.removeItem(item.name);
96
125
  try {
@@ -1163,5 +1163,27 @@
1163
1163
  // and a room with a node has exactly one; the tree says the same
1164
1164
  // thing in a shape that can be read. A watched room with NO node
1165
1165
  // still names no master, pinned as a test.
1166
- export const ENGINE_VERSION = '1.76.0';
1166
+ // 1.77.0 (2026-09-16): A DELIVERED OBJECTIVE DOES NOT COME BACK
1167
+ // (qk7TtQqyaT4CaWNka, Maka: "when I returned from a job, after giving
1168
+ // Ms. Halvorsen the Skim Ledger Archive -- I kept a copy, is that by
1169
+ // design?"). It was not a copy and nothing duplicated anything -- the
1170
+ // vetting could not find it in the transcript because it was not
1171
+ // looking for a `give`. Session vi2bvgA7XhHZRjwYL, in order: Ted hands
1172
+ // the chip over, the job completes ("The ledger's yanked clean ...
1173
+ // Karma earned: 4"), a beat where "Ms. Halvorsen's hand shoots out and
1174
+ // closes around the datachip" -- and then, one line later:
1175
+ // Ms. Halvorsen give Skim Ledger Archive to Ted
1176
+ // Her AI issued a `give` and handed the paydata straight back, so the
1177
+ // runner walked out of a finished job still holding what he had just
1178
+ // been paid for. The brief's own example of a matching command is
1179
+ // `give <item> to <name>`, which is the shape a model echoes when it
1180
+ // has just been handed something -- so the ENGINE settles it rather
1181
+ // than the prompt. Once the win condition is satisfied the objective
1182
+ // item is spent: it belongs to the client, and no hand passes it on.
1183
+ // Scoped hard to the COMPLETED objective. An ordinary chip, the reward
1184
+ // item, and above all the delivery itself keep moving -- a gate that
1185
+ // read the win condition without reading completion would make the job
1186
+ // unwinnable, which is a worse bug than the one being fixed, and that
1187
+ // is the load-bearing test in the file.
1188
+ export const ENGINE_VERSION = '1.77.0';
1167
1189
  //# sourceMappingURL=engine-version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maka/maka-cli",
3
- "version": "5.217.0",
3
+ "version": "5.218.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.",