@lumi.ai/runner 0.15.3 → 0.15.5

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 +16 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -299,6 +299,21 @@ var COLLECTIONS = {
299
299
  * test that exists to catch a forgotten credential-bearing collection.
300
300
  */
301
301
  mcpServers: "mcp_servers",
302
+ /**
303
+ * `ships/{shipId}/oauth_grants/{grantId}` — a person's standing authorization for one OAuth
304
+ * client to reach this Ship's Workspace MCP (PRD §15.46).
305
+ *
306
+ * SHIP-SCOPED, unlike the three root-level collections the flow also uses, and for one reason:
307
+ * it must die with the Ship. The pending request and the authorization code both live at the
308
+ * root because neither has a Ship yet (choosing one is what consent is FOR) or lives longer than
309
+ * a minute; a grant is the durable half and outlives both.
310
+ *
311
+ * The row here is the NON-SECRET half — who, which client, when last used — so a member can see
312
+ * "connected apps" without a privileged read. The refresh token's hash lives beside it in
313
+ * `secrets/oauth_grant_{grantId}`, which no client may read at all, exactly the way a registered
314
+ * MCP connection splits from `secrets/mcp_srv_{key}`.
315
+ */
316
+ oauthGrants: "oauth_grants",
302
317
  /** Top-level `users/{uid}/...` — per-user docs (runner machine registry). */
303
318
  users: "users",
304
319
  /** Top-level `githubInstallStates/{stateId}` — single-use install-flow nonces (backend only). */
@@ -923,7 +938,7 @@ function mcpUrl(config2) {
923
938
  }
924
939
 
925
940
  // src/version.ts
926
- var RUNNER_VERSION = true ? "0.15.3" : "0.0.0-dev";
941
+ var RUNNER_VERSION = true ? "0.15.5" : "0.0.0-dev";
927
942
 
928
943
  // src/auth.ts
929
944
  import { signInWithCustomToken } from "firebase/auth";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumi.ai/runner",
3
- "version": "0.15.3",
3
+ "version": "0.15.5",
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.",