@kilogent/runner-dev 0.1.1 → 0.1.3
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.
- package/dist/cli.js +29 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -549,6 +549,34 @@ var COLLECTIONS = {
|
|
|
549
549
|
* existing is exactly today's behaviour, and there is nothing to backfill (D8).
|
|
550
550
|
*/
|
|
551
551
|
crewConfig: "crewConfig",
|
|
552
|
+
/**
|
|
553
|
+
* ROOT: `crewAdmins/{uid}` — one document per PLATFORM ADMIN, the people who may operate the
|
|
554
|
+
* admin console.
|
|
555
|
+
*
|
|
556
|
+
* DENY-ALL to every client in packages/crew/firestore.rules, in both directions. `crewAdmin`
|
|
557
|
+
* resolves the caller and reads this with the Admin SDK, which bypasses rules — so no browser
|
|
558
|
+
* ever needs a verb here, and a collection nobody may read cannot leak who the operators are.
|
|
559
|
+
*
|
|
560
|
+
* ⚠️ NOT a document inside {@link crewConfig}, which is the obvious home and the wrong one: that
|
|
561
|
+
* collection is readable by any ENROLLED RUNNER, because a machine session fetches the assistant
|
|
562
|
+
* contract with the client SDK. Filing the operator list there would ship it to every customer's
|
|
563
|
+
* daemon.
|
|
564
|
+
*
|
|
565
|
+
* A DOCUMENT PER ADMIN, not an array on one document — granting and revoking are then
|
|
566
|
+
* single-document writes with no read-modify-write race, and each row records who added it.
|
|
567
|
+
* The first one is created in the Firebase console: a callable that could mint the first admin
|
|
568
|
+
* would be a privilege-escalation path open forever for a job that happens once.
|
|
569
|
+
*/
|
|
570
|
+
crewAdmins: "crewAdmins",
|
|
571
|
+
/**
|
|
572
|
+
* ROOT: `adminAudit/{entryId}` — what an admin did, with both sides of the change.
|
|
573
|
+
*
|
|
574
|
+
* Deny-all to clients; read back through `crewAdmin`. Its second job is what earns it a
|
|
575
|
+
* collection: it is the ONLY history `crewConfig/assistant` has. That document is overwritten in
|
|
576
|
+
* place, so without this a bad prompt pushed to every workspace could not be rolled back to the
|
|
577
|
+
* exact text that preceded it.
|
|
578
|
+
*/
|
|
579
|
+
adminAudit: "adminAudit",
|
|
552
580
|
/** `ships/{shipId}/notifications/{id}` — per-member in-app notifications. */
|
|
553
581
|
notifications: "notifications",
|
|
554
582
|
/** `ships/{shipId}/usage_daily/{yyyy-mm-dd}` — token-tracking aggregates. */
|
|
@@ -1141,7 +1169,7 @@ import os from "node:os";
|
|
|
1141
1169
|
import path from "node:path";
|
|
1142
1170
|
|
|
1143
1171
|
// src/version.ts
|
|
1144
|
-
var RUNNER_VERSION = true ? "0.1.
|
|
1172
|
+
var RUNNER_VERSION = true ? "0.1.3" : "0.0.0-dev";
|
|
1145
1173
|
var RUNNER_PACKAGE = true ? "@kilogent/runner-dev" : "@kilogent/runner-dev";
|
|
1146
1174
|
var RUNNER_BIN = true ? "kilogent-runner-dev" : "kilogent-runner-dev";
|
|
1147
1175
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kilogent/runner-dev",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
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.",
|