@lumi.ai/runner 0.12.0 → 0.13.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 (2) hide show
  1. package/dist/cli.js +14 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -218,6 +218,19 @@ var COLLECTIONS = {
218
218
  githubInstallations: "githubInstallations",
219
219
  /** Top-level `runnerLoginCodes/{userCode}` — CLI device-login handshakes (backend only). */
220
220
  runnerLoginCodes: "runnerLoginCodes",
221
+ /**
222
+ * Top-level `browserLoginCodes/{userCode}` — browser-extension device-login handshakes
223
+ * (backend only; PRD §15.44).
224
+ *
225
+ * ITS OWN COLLECTION rather than a flag on `runnerLoginCodes`, because the two approvals are
226
+ * different acts. Approving a RUNNER enrols a machine: it registers a runner id, writes a
227
+ * per-Ship daemon mirror, mints §8.1 Ship keys and consumes the one-daemon-per-Ship slot.
228
+ * Approving a BROWSER proves who you are and stops — a relay ticket names no Ship and
229
+ * `mintBrowserRelayTicket` checks no membership, so there is nothing to pick and nothing to
230
+ * grant. Sharing the collection would have meant sharing the approval handler, and every future
231
+ * daemon change would have had to remember the browser case.
232
+ */
233
+ browserLoginCodes: "browserLoginCodes",
221
234
  /**
222
235
  * Top-level `shipDeletions/{shipId}` — one tombstone per Ship being purged (backend only).
223
236
  *
@@ -821,7 +834,7 @@ function mcpUrl(config2) {
821
834
  }
822
835
 
823
836
  // src/version.ts
824
- var RUNNER_VERSION = true ? "0.12.0" : "0.0.0-dev";
837
+ var RUNNER_VERSION = true ? "0.13.0" : "0.0.0-dev";
825
838
 
826
839
  // src/auth.ts
827
840
  import { signInWithCustomToken } from "firebase/auth";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumi.ai/runner",
3
- "version": "0.12.0",
3
+ "version": "0.13.0",
4
4
  "type": "module",
5
5
  "description": "Lumi Crew runner daemon — claims jobs from your Ships and executes them as headless Claude sessions on your own machine.",
6
6
  "//name": "The ONLY package in this monorepo published to the public registry, so it is the one that does not follow the internal @lumi/crew-* convention: `@lumi` is not a scope we own, `@lumi.ai` is (the npm org). The workspace DIRECTORY stays packages/crew/runner — renaming the package is not renaming the folder.",