@maka/maka-cli 5.166.0 → 5.167.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.166.0",
3
+ "version": "5.167.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.",
@@ -1204,6 +1204,11 @@ export class SharedRunSession {
1204
1204
  sessionID: this.sessionID,
1205
1205
  query: inviteMatch[1].trim(),
1206
1206
  });
1207
+ // A mid-run seat needs the runner REACHABLE now (site ruling
1208
+ // 2026-09-11: a CLI alive on the account, or a browser logged
1209
+ // in); the server refuses with `offline` otherwise, so `online`
1210
+ // is always true past this point. The aside stays for a server
1211
+ // older than the rule.
1207
1212
  return `Invite sent to ${res.memberRunner} -- a seat at this table, mid-job.${res.online ? '' : ` (They're off the street -- it'll wait on their link.)`}`;
1208
1213
  }
1209
1214
  catch (err) {
@@ -1290,10 +1295,21 @@ export class SharedRunSession {
1290
1295
  return `You pull out of the run. The crew's voices fade off the link.`;
1291
1296
  }
1292
1297
  /** Quit-as-pause (ruling 2026-08-24): the seat survives, the run
1293
- * keeps rolling server-side, and the server marks us disconnected
1294
- * the moment this process's link closes. No leave call, no
1295
- * forfeiture -- "call taxi" rides back in. */
1298
+ * keeps rolling server-side, and the server marks us disconnected.
1299
+ * No leave call, no forfeiture -- "call taxi" rides back in.
1300
+ *
1301
+ * SAID OUT LOUD (2026-09-11): the server used to learn of this only
1302
+ * when the process's socket closed -- and this process does not
1303
+ * close it; the hub link stays up for invites and pages. So a runner
1304
+ * who stepped away sat `joined` on the doc with nobody at the
1305
+ * keyboard, and the site's sheet could not tell "at the table" from
1306
+ * "stepped away". sideQuest.stepAway is that one word; best effort,
1307
+ * and the socket-close path still stands behind it. */
1296
1308
  async stepAway() {
1309
+ try {
1310
+ await HubLink.call('sideQuest.stepAway', { sessionID: this.sessionID }, { timeoutMs: 5000 });
1311
+ }
1312
+ catch { /* the seat stays warm either way; the socket close says the same later */ }
1297
1313
  this.finish('');
1298
1314
  // THE OTHER HALF OF blankRunPanels. Entering a run clears the hub's
1299
1315
  // maps so the server's paint cannot be confused with them; stepping
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maka/maka-cli",
3
- "version": "5.166.0",
3
+ "version": "5.167.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.",