@factiii/runner 0.43.0 → 0.45.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factiii/runner",
3
- "version": "0.43.0",
3
+ "version": "0.45.0",
4
4
  "description": "Factiii Runner, run Board AI agents on a machine you control. Pairs with the Factiii web/mobile clients over WebRTC.",
5
5
  "license": "ISC",
6
6
  "homepage": "https://factiii.com",
@@ -45,7 +45,7 @@
45
45
  "scripts": {
46
46
  "build": "node build.mjs",
47
47
  "check-types": "tsc --noEmit",
48
- "test": "node --import tsx --test 'src/**/*.test.ts'",
48
+ "test": "node --import tsx --test --test-timeout=300000 'src/**/*.test.ts'",
49
49
  "vault:schema": "tsx src/vault/schemaGenCli.ts",
50
50
  "vault:schema:check": "tsx src/vault/schemaGenCli.ts --check",
51
51
  "vault:probe": "node probe/generate.mjs && tsx probe/probe.ts && tsx probe/forkProbe.ts",
@@ -70,12 +70,13 @@
70
70
  "@shared/vault-core": "workspace:*",
71
71
  "@types/node": "^20.0.0",
72
72
  "@types/qrcode": "^1.5.6",
73
- "commander": "^12.1.0",
73
+ "commander": "^15.0.0",
74
74
  "esbuild": "*",
75
75
  "qrcode": "^1.5.4",
76
- "socket.io-client": "^4.8.3",
76
+ "socket.io-client": "^4.8.4",
77
77
  "superjson": "catalog:",
78
78
  "tsx": "^4.22.4",
79
+ "@typescript/native": "catalog:",
79
80
  "typescript": "catalog:"
80
81
  }
81
82
  }
@@ -111,13 +111,18 @@ this step actually need", which the name alone often does not say. A key with
111
111
  no description is simply one nobody has described yet; ask the owner rather
112
112
  than inferring a purpose from the name.
113
113
 
114
- ## Every command asks, even when the runner is "unlocked"
114
+ ## When a command asks
115
115
 
116
116
  A shared runner can be unlocked for a while (the app shows "Unlocked by …
117
117
  until …"). That window lets the runner's **jobs** run without a new prompt. It
118
- does not cover you: every `factiii-secrets run` from a terminal or a card
119
- session still asks a password holder, every time. Do not wait for, rely on,
120
- or ask anyone to open a window to avoid the prompt.
118
+ does not cover you. What can: when a password holder approves your command,
119
+ they may keep it open for this session for a while (a **session window**).
120
+ Then your later `factiii-secrets run` commands that name only keys from that
121
+ approval run without a prompt; one that names any other key asks again, and
122
+ so does every other session. It ends when it expires, when someone presses
123
+ Lock now, when your session ends, or when the runner restarts. Do not wait
124
+ for, rely on, or ask anyone to open a window to avoid the prompt: name the
125
+ same keys each time the step needs them, and expect a prompt.
121
126
 
122
127
  **A job does ride the window.** Before a free command, check
123
128
  `factiii-runner job --list`: if a job does the same thing (a deploy, a GitHub
@@ -47,9 +47,10 @@ Two more `.env` values matter once the app has logins, and both fail silently:
47
47
  authenticated call 401s while the UI looks signed in.
48
48
  - `COOKIE_DOMAIN=.factiii.org` — previews are `https://<name>.factiii.org`
49
49
  (2026-11-11). It is not under factiii.com, so a preview never receives a
50
- visitor's real Factiii cookies. A link printed by an older runner,
51
- `*.dev.factiii.com`, still works until every runner has moved, but there it
52
- receives `.factiii.com` cookies again.
50
+ visitor's real Factiii cookies. An older runner prints `*.dev.factiii.com`
51
+ links: use the same name on `factiii.org` instead (it reaches the same
52
+ tunnel). Every link and `COOKIE_DOMAIN` must be on one domain, or the sign-in
53
+ cookie is dropped as third-party and the app shows you signed out.
53
54
  - `NEXT_PUBLIC_COOKIE_PREFIX` — keep it different from production's.
54
55
  `.env.example` already ships a distinct value.
55
56