@0perator/operator 0.1.349 → 0.1.351

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.
@@ -48,17 +48,20 @@ export class PermissionPolicy {
48
48
  safe;
49
49
  tier;
50
50
  allow;
51
+ unattended;
51
52
  constructor(cfg = {}) {
52
53
  this.mode = cfg.mode ?? "bypass";
53
54
  this.rules = cfg.rules ?? {};
54
55
  this.safe = new Set(cfg.safeTools ?? DEFAULT_SAFE);
55
56
  this.tier = cfg.tier ?? "admin";
56
57
  this.allow = cfg.allow ?? [];
58
+ this.unattended = cfg.unattended === true;
57
59
  }
58
60
  /** True when the policy can never block, prompt, or log — lets the wrapper skip itself entirely (no
59
- * overhead). Requires the full-access owner tier: a narrowed tier is always enforced, even in bypass. */
61
+ * overhead). Requires the full-access owner tier: a narrowed tier is always enforced, even in bypass. An
62
+ * unattended policy is never inert: with no owner to answer, the signature lines are its only floor. */
60
63
  get inert() {
61
- return this.mode === "bypass" && this.tier === "admin" && Object.keys(this.rules).length === 0;
64
+ return this.mode === "bypass" && this.tier === "admin" && !this.unattended && Object.keys(this.rules).length === 0;
62
65
  }
63
66
  /** Whether tool actions should be recorded. On in audit/gated, or whenever a tier is enforced (a
64
67
  * multi-tenant seat is always audited — "who did what" is the point of a seat). */
@@ -5,11 +5,11 @@
5
5
  // (there is no launchd; ensureServices returns everything "down" and the caller reports it).
6
6
  //
7
7
  // TWO tiers, and the split is the whole point:
8
- // • Aurora (:8097) is SHARED, always-on infrastructure owned by launchd — the mobile app (via
9
- // ai.operator.tunnel), api.axe.onl / aurora.axe.onl, and LAN web clients all read it. Operator
10
- // only ever brings it UP (kickstart, else bootstrap, the launchd job); it NEVER stops Aurora on exit,
11
- // because that would break every other client. launchd's KeepAlive is the real supervisor — the
12
- // lever just makes sure the job is loaded and the port is live before the REPL opens.
8
+ // • Aurora is SHARED infrastructure owned by launchd (co.0perator.gateway) — the router's jl2 backend, the
9
+ // mobile app and LAN clients all read it — and it loads ON DEMAND (owner, 11/03): only the turn that needs
10
+ // it starts it (ensureAurora, wired as the Session's onDemand hook). Boot never does: auroraAtBoot resolves
11
+ // the published endpoint and reports `idle` for a local job that is not serving. Operator only ever brings
12
+ // it UP; it NEVER stops Aurora on exit, because that would break every other client.
13
13
  // • autopilot (:9333) is optional and handled the same start-only way (non-fatal if it won't come up).
14
14
  // • vision (:7788, axe.vision-bot) is OFF BY DEFAULT — the media-pipeline ADR (2026-10-19) keeps the
15
15
  // GPU with Aurora, so boot only PROBES + reports it (settings DEFAULTS ship autostart:false). The
@@ -100,6 +100,17 @@ async function ensureLaunchd(name, healthUrl, okOnly, cfg, onProgress) {
100
100
  ? { name, state: "up" }
101
101
  : { name, state: "down", detail: `${name} still loading after ${waitSec}s` };
102
102
  }
103
+ const refused = await kickLaunchd(name, cfg, onProgress);
104
+ if (refused)
105
+ return refused;
106
+ // 3) poll — a heavy model (Aurora is ~20G with mlock) needs time to mmap + report ready.
107
+ return (await waitReady(healthUrl, okOnly, waitSec))
108
+ ? { name, state: "started" }
109
+ : { name, state: "down", detail: `started the launchd job but ${name} did not report ready at ${healthUrl} within ${waitSec}s` };
110
+ }
111
+ /** Start `name`'s launchd job: kickstart -k when it is loaded, else bootout any half-state and bootstrap the plist
112
+ * fresh. Returns the report when it will not start it (autostart off, no label/uid, plist missing), else null. */
113
+ async function kickLaunchd(name, cfg, onProgress) {
103
114
  if (cfg.autostart === false)
104
115
  return { name, state: "down", detail: "down (autostart off)" };
105
116
  cfg = await withLegacyLabel(cfg);
@@ -135,10 +146,7 @@ async function ensureLaunchd(name, healthUrl, okOnly, cfg, onProgress) {
135
146
  await launchctl(["bootstrap", `gui/${uid}`, expandHome(cfg.plistPath)]);
136
147
  await launchctl(["kickstart", target]);
137
148
  }
138
- // 3) poll — a heavy model (Aurora is ~20G with mlock) needs time to mmap + report ready.
139
- return (await waitReady(healthUrl, okOnly, waitSec))
140
- ? { name, state: "started" }
141
- : { name, state: "down", detail: `started the launchd job but ${name} did not report ready at ${healthUrl} within ${waitSec}s` };
149
+ return null;
142
150
  }
143
151
  /** The live gateway the supervisor publishes to ~/.operator/runtime/server.json. The contract is
144
152
  * that the supervisor writes {base_url, api_key, pid} and consumers read BOTH: `base` to reach the dynamic
@@ -160,43 +168,89 @@ export async function discoverAuroraServer() {
160
168
  export async function discoverAuroraEndpoint() {
161
169
  return (await discoverAuroraServer())?.base ?? null;
162
170
  }
163
- /** Ensure the services Operator depends on are up. Aurora first (required, health-gated); autopilot and
164
- * vision are optional and never block. Returns one report per service for the boot UI.
165
- * Mutates cfg.aurora.base in-place when the dynamic port is discovered from server.json. */
166
- export async function ensureServices(cfg) {
167
- const reports = [];
168
- // Apply a server.json discovery onto cfg.aurora (dynamic port + api_key). Falls back to the
169
- // existing cfg.aurora.base when server.json is absent (e.g. a settings.json static override).
170
- const applyDiscovered = (d) => {
171
- if (!d)
172
- return false;
173
- cfg.aurora.base = d.base.replace(/\/v1\/?$/, "");
174
- if (d.apiKey)
175
- cfg.aurora.apiKey = d.apiKey; // carry the gateway's published key onto the cfg
176
- return true;
177
- };
178
- applyDiscovered(await discoverAuroraServer());
179
- if (cfg.aurora.base) {
180
- const healthUrl = `${cfg.aurora.base.replace(/\/$/, "")}/health`;
181
- reports.push(await ensureLaunchd("aurora", healthUrl, true, cfg.aurora, cfg.onProgress));
182
- // After launchd start, re-discover in case the port changed (fresh spawn)
183
- if (reports[0]?.state === "started" || reports[0]?.state === "down") {
184
- applyDiscovered(await discoverAuroraServer());
185
- }
186
- }
171
+ const auroraHealth = (base) => (base ? `${base.replace(/\/$/, "")}/health` : "");
172
+ /** Apply a server.json discovery onto an Aurora cfg: the dynamic port and the gateway's published api_key. Keeps the
173
+ * existing base when server.json is absent (a settings.json static override). */
174
+ function applyDiscovered(cfg, d) {
175
+ if (!d)
176
+ return;
177
+ cfg.base = d.base.replace(/\/v1\/?$/, "");
178
+ if (d.apiKey)
179
+ cfg.apiKey = d.apiKey;
180
+ }
181
+ /** True iff Aurora is a launchd job on this box (its plist, or a legacy one, is on disk): the only case it loads on
182
+ * demand. A remote or tester endpoint has no job here and keeps the old health-gated boot. */
183
+ async function localAuroraJob(cfg) {
184
+ const job = await withLegacyLabel(cfg);
185
+ return !!job.launchdLabel && !!job.plistPath && (await fileExists(expandHome(job.plistPath)));
186
+ }
187
+ /** Boot's view of Aurora: resolve the published endpoint and report, never start the gateway. A local job that is not
188
+ * serving is `idle` (the first turn that needs it loads it); with no local job it is `down`, as before. */
189
+ export async function auroraAtBoot(cfg) {
190
+ applyDiscovered(cfg, await discoverAuroraServer());
191
+ const state = cfg.base ? await probe(auroraHealth(cfg.base), true) : "refused";
192
+ if (state === "ready")
193
+ return { name: "aurora", state: "up" };
194
+ if (await localAuroraJob(cfg))
195
+ return { name: "aurora", state: "idle", detail: state === "loading" ? "loading" : "loads on first use" };
196
+ return { name: "aurora", state: "down", detail: cfg.base ? `no response from ${cfg.base}` : "no gateway endpoint published" };
197
+ }
198
+ /** Aurora for a turn that needs it: serving → nothing; loading → wait; else start the launchd job and wait. */
199
+ export async function ensureAurora(cfg, onProgress, signal) {
200
+ applyDiscovered(cfg, await discoverAuroraServer());
201
+ const first = cfg.base ? await probe(auroraHealth(cfg.base), true) : "refused";
202
+ if (first === "ready")
203
+ return { name: "aurora", state: "up" };
204
+ if (first === "loading")
205
+ onProgress?.("aurora is loading…");
187
206
  else {
188
- // No endpoint discovered and no static override — kickstart the gateway, then discover
189
- reports.push(await ensureLaunchd("aurora", "", true, cfg.aurora, cfg.onProgress));
190
- // Wait a beat for server.json to appear after gateway start
191
- await new Promise((r) => setTimeout(r, 3000));
192
- const retry = await discoverAuroraServer();
193
- if (applyDiscovered(retry)) {
194
- const retryHealth = `${cfg.aurora.base.replace(/\/$/, "")}/health`;
195
- if (await waitReady(retryHealth, true, cfg.aurora.waitSec ?? 45)) {
196
- reports[reports.length - 1] = { name: "aurora", state: "started", detail: `discovered at ${retry.base}` };
197
- }
198
- }
207
+ const refused = await kickLaunchd("aurora", cfg, onProgress);
208
+ if (refused)
209
+ return refused;
199
210
  }
211
+ const waitSec = cfg.waitSec ?? 90;
212
+ return (await waitForAurora(cfg, waitSec, signal))
213
+ ? { name: "aurora", state: first === "loading" ? "up" : "started" }
214
+ : { name: "aurora", state: "down", detail: `aurora did not report ready within ${waitSec}s` };
215
+ }
216
+ /** Poll until the published endpoint answers /health, re-reading server.json each time: the gateway publishes its
217
+ * base only once llama-server is spawned and deletes server.json when it stops, so a base read before the kick is
218
+ * stale or absent. Polling that one is the 11/03 boot that sat 90 s on "starting aurora via launchd…" with Aurora
219
+ * ready after 16 s. */
220
+ export async function waitForAurora(cfg, waitSec, signal) {
221
+ for (let waited = 0;; waited += 2) {
222
+ applyDiscovered(cfg, await discoverAuroraServer());
223
+ if (cfg.base && (await probe(auroraHealth(cfg.base), true)) === "ready")
224
+ return true;
225
+ if (waited >= waitSec || signal?.aborted)
226
+ return false;
227
+ await new Promise((res) => setTimeout(res, 2000));
228
+ }
229
+ }
230
+ /** The Session's onDemand hook for a local Aurora: before a turn on the default model, make sure the gateway is
231
+ * serving (start it if not), and when its published base or key changed write them onto `endpoint` and return
232
+ * `rebuild()`. Inert where Aurora is not a local launchd job, so a remote endpoint is never probed per turn. */
233
+ export function auroraOnDemand(endpoint, svc, rebuild, onProgress) {
234
+ let local;
235
+ return async (signal) => {
236
+ local ??= localAuroraJob(svc ?? {});
237
+ if (!(await local))
238
+ return null;
239
+ const cfg = { ...svc, base: endpoint.base, apiKey: endpoint.apiKey };
240
+ await ensureAurora(cfg, onProgress, signal);
241
+ if (cfg.base === endpoint.base && cfg.apiKey === endpoint.apiKey)
242
+ return null;
243
+ endpoint.base = cfg.base;
244
+ if (cfg.apiKey)
245
+ endpoint.apiKey = cfg.apiKey;
246
+ return rebuild();
247
+ };
248
+ }
249
+ /** Ensure the services Operator depends on are up. Aurora first (required, health-gated; with auroraOnDemand only
250
+ * resolved and reported); autopilot and vision are optional and never block. Returns one report per service for the
251
+ * boot UI. Mutates cfg.aurora.base in-place when the dynamic port is discovered from server.json. */
252
+ export async function ensureServices(cfg) {
253
+ const reports = [cfg.auroraOnDemand ? await auroraAtBoot(cfg.aurora) : await ensureAurora(cfg.aurora, cfg.onProgress)];
200
254
  if (cfg.autopilot) {
201
255
  reports.push(await ensureOptional("autopilot", cfg.autopilot, cfg.onProgress));
202
256
  }
package/dist/session.js CHANGED
@@ -313,6 +313,7 @@ export class Session {
313
313
  pin; // the owner's context pin (tokens); undefined = auto — read live by the engine router
314
314
  servedByBase = new Map(); // raw n_ctx learned per base (probeServedContext)
315
315
  moaConfig;
316
+ onDemand;
316
317
  classifier;
317
318
  fastStartConfig;
318
319
  fastStartEnabled;
@@ -457,12 +458,14 @@ export class Session {
457
458
  this.registry = modelRegistry(cfg.models);
458
459
  this.isOwner = (cfg.eventActor?.tier ?? "admin") === "admin"; // set before the startup setModel so a persisted owner-only activeModel resolves for the owner
459
460
  this.moaConfig = cfg.moa;
461
+ this.onDemand = cfg.onDemand;
460
462
  this.classifier = cfg.classifier;
461
463
  this.fastStartConfig = cfg.fastStart;
462
464
  this.fastStartEnabled = isFeatureEnabled("fastStart", { features: cfg.features }) && !!cfg.fastStart;
463
465
  // Apply the persisted /model choice, unless a router was explicitly injected (tests / bg agents
464
- // pinned to a fixed endpoint) — an injected router owns routing, /model doesn't override it.
465
- if (!cfg.router && cfg.activeModel && cfg.activeModel !== DEFAULT_MODEL_ID) {
466
+ // pinned to a fixed endpoint) — an injected router owns routing, /model doesn't override it. The shell's own
467
+ // chain is injected too, so it opts in: without that every interactive session started on the default model.
468
+ if ((!cfg.router || cfg.applyActiveModel) && cfg.activeModel && cfg.activeModel !== DEFAULT_MODEL_ID) {
466
469
  if (!this.setModel(cfg.activeModel).ok)
467
470
  this.modelId = DEFAULT_MODEL_ID; // unavailable at startup → quiet fallback
468
471
  }
@@ -1193,6 +1196,13 @@ export class Session {
1193
1196
  // would otherwise no-op — this.ctrl was null until execute(). execute() reuses this same controller.
1194
1197
  this.ctrl = new AbortController();
1195
1198
  try {
1199
+ if (this.onDemand && this.modelId === DEFAULT_MODEL_ID) {
1200
+ const fresh = await this.onDemand(this.ctrl.signal);
1201
+ if (fresh)
1202
+ this.useRouter(fresh);
1203
+ if (this.ctrl.signal.aborted)
1204
+ return { content: "", rounds: 0, toolCalls: 0, interrupted: true };
1205
+ }
1196
1206
  await this.maybeRecall(text); // fold past-session memory into the system prompt on the first turn
1197
1207
  if (this.ctrl.signal.aborted)
1198
1208
  return { content: "", rounds: 0, toolCalls: 0, interrupted: true };
@@ -0,0 +1,222 @@
1
+ {
2
+ "schema": "operator.toolchain/1",
3
+ "serial": 1,
4
+ "expires": "2026-12-18",
5
+ "targets": ["darwin-arm64"],
6
+ "hosts": ["github.com", "release-assets.githubusercontent.com", "objects.githubusercontent.com", "nodejs.org", "registry.npmjs.org",
7
+ "ffmpeg.martin-riedl.de", "cdn.playwright.dev", "storage.googleapis.com", "huggingface.co", "*.hf.co"],
8
+ "rollout": {"llamacpp-metal": {"target": "11669", "until": "2026-11-06"}},
9
+ "exceptions": [
10
+ {"box": "jl1", "match": "--port 8668", "owner": "Ghost", "until": "2026-11-10",
11
+ "reason": "ghost1-v2-final: unmanaged Homebrew b11429 on 0.0.0.0, not in the portal registry"}
12
+ ],
13
+ "fixtures": {
14
+ "stories260K": {"url": "https://huggingface.co/ggml-org/test-model-stories260K/resolve/main/stories260K-f32.gguf", "size": 1185376,
15
+ "sha256": "270cba1bd5109f42d03350f60406024560464db173c0e387d91f0426d3bd256d"}
16
+ },
17
+ "packages": {
18
+ "llamacpp-metal": {
19
+ "version": "11669",
20
+ "artifacts": {"darwin-arm64": [{"url": "https://github.com/ggml-org/llama.cpp/releases/download/b11669/llama-b11669-bin-macos-arm64.tar.gz",
21
+ "sha256": "dbed55493d72bc1ba2babc8770d669c2289b5bc4ee9fb2a4dfc158d45b7d13fd", "size": 12191582, "role": "payload"}]},
22
+ "entry": "llamacpp-metal-11669-darwin-arm64",
23
+ "layout": {"format": "tar.gz", "strip": 1, "root": "llama-b11669"},
24
+ "tree": "sha256:688c0dedae94cc60e64867d7ec1624c0099c88a1067e34cf3a1a98d22f729b76",
25
+ "provides": {"llama-server": "llama-server", "llama-cli": "llama-cli", "llama-bench": "llama-bench"},
26
+ "env": {},
27
+ "probe": {"bin": "llama-server", "args": ["--version"], "expect": "(build 11669, commit 620d2225c)"},
28
+ "codesign": {"expect": "adhoc"},
29
+ "relocatable": true,
30
+ "provenance": {"hash_source": "github-asset-digest", "verified": "2026-11-03", "published_at": "2026-10-15T16:10:46Z",
31
+ "commit": "620d2225cc436ab0b001e3200e590e3b286ef9ab",
32
+ "attest": {"repo": "ggml-org/llama.cpp", "signer_workflow": "ggml-org/llama.cpp/.github/workflows/release-publish.yml",
33
+ "source_digest": "620d2225cc436ab0b001e3200e590e3b286ef9ab"}},
34
+ "license": {"spdx": "MIT", "evidence": "LICENSE in archive", "redistribute": "yes"},
35
+ "install": "default",
36
+ "consumers": ["aurora", "portal", "arena"],
37
+ "previous": {
38
+ "version": "10964",
39
+ "until": "2026-11-17",
40
+ "artifacts": {"darwin-arm64": [{"url": "https://github.com/ggml-org/llama.cpp/releases/download/b10964/llama-b10964-bin-macos-arm64.tar.gz",
41
+ "sha256": "033c845c1df9bf945ff37bb193238b40910b2244be3e1e637b2ceb5878f1a6f5", "size": 11149739,
42
+ "role": "payload"}]},
43
+ "entry": "llamacpp-metal-10964-darwin-arm64",
44
+ "layout": {"format": "tar.gz", "strip": 1, "root": "llama-b10964"},
45
+ "tree": "sha256:dccbdbb4aef204aa1001cb8254dc12cd902212257843ec0aa8cd2ecacf0a1d2d",
46
+ "expect_pm_digest": "e9c444d76b36fec44554fe88bb91b57c34cf1c3cabe1d620e3bb27f1f9a5565e",
47
+ "provides": {"llama-server": "llama-server"},
48
+ "probe": {"bin": "llama-server", "args": ["--version"], "expect": "(build 10964, commit b29c606e2)"},
49
+ "codesign": {"expect": "adhoc"},
50
+ "relocatable": true,
51
+ "provenance": {"hash_source": "github-asset-digest", "verified": "2026-11-03", "published_at": "2026-09-14T15:28:07Z",
52
+ "commit": "b29c606e28a01b1bc8c1351026a0fa6e616bf6c4", "attest": null}
53
+ }
54
+ },
55
+ "node": {
56
+ "version": "26.7.0",
57
+ "artifacts": {"darwin-arm64": [{"url": "https://nodejs.org/dist/v26.7.0/node-v26.7.0-darwin-arm64.tar.xz",
58
+ "sha256": "595d2f934e081b82961d1a5fd41c6dbd0c5a952d9e8be5b4566ab754426968d2"}]},
59
+ "entry": "node-26.7.0-darwin-arm64",
60
+ "layout": {"format": "tar.xz", "strip": 1},
61
+ "tree": null,
62
+ "provides": {"node": "bin/node", "npm": "bin/npm", "npx": "bin/npx"},
63
+ "env": {"PATH": ["{{store}}/node-26.7.0-darwin-arm64/bin"]},
64
+ "probe": {"bin": "node", "args": ["--version"], "expect": "v26.7.0"},
65
+ "codesign": {"expect": "developer-id", "team": "HX7739G8FX", "notarized": true},
66
+ "provenance": {"hash_source": "upstream-sums:https://nodejs.org/dist/v26.7.0/SHASUMS256.txt", "verified": "2026-11-03"},
67
+ "license": {"spdx": "MIT", "redistribute": "yes"},
68
+ "install": "on-demand",
69
+ "consumers": []
70
+ },
71
+ "npm": {
72
+ "version": "12.0.2",
73
+ "artifacts": {"any": [{"url": "https://registry.npmjs.org/npm/-/npm-12.0.2.tgz",
74
+ "sha256": "5dbb86c71d07a1957f2e90734092dd6a58bdcd9ebc2d8d41ca1c6e6a21d364e1"}]},
75
+ "entry": "npm-12.0.2-darwin-arm64",
76
+ "layout": {"format": "tgz", "strip": 1},
77
+ "tree": null,
78
+ "provides": {"npm": "bin/npm-cli.js", "npx": "bin/npx-cli.js"},
79
+ "requires": ["node"],
80
+ "codesign": {"expect": "none"},
81
+ "provenance": {"hash_source": "tofu:hermes-lock", "note": "record the registry dist.integrity sha512 at witness"},
82
+ "license": {"spdx": "Artistic-2.0", "redistribute": "yes"},
83
+ "install": "on-demand",
84
+ "consumers": []
85
+ },
86
+ "python": {
87
+ "version": "3.14.7+20260901",
88
+ "artifacts": {"darwin-arm64": [{"url": "https://github.com/astral-sh/python-build-standalone/releases/download/20260901/cpython-3.14.7+20260901-aarch64-apple-darwin-install_only.tar.gz",
89
+ "sha256": "30daa970c7d223530120f1693cd3c6fa4c0c0d31ef158710b0dd77f286a5b23e"}]},
90
+ "entry": "python-3.14.7+20260901-darwin-arm64",
91
+ "layout": {"format": "tar.gz", "strip": 1, "root": "python"},
92
+ "tree": null,
93
+ "provides": {"python3": "bin/python3"},
94
+ "env": {"PATH": ["{{store}}/python-3.14.7+20260901-darwin-arm64/bin"]},
95
+ "probe": {"bin": "python3", "args": ["--version"], "expect": "Python 3.14.7"},
96
+ "codesign": null,
97
+ "provenance": {"hash_source": "tofu:hermes-lock", "attest": null,
98
+ "note": "upstream publishes asset digests and attestations: pin both at witness; never adopt Hermes's copy (re-signed as com.nousresearch.hermes.managed-python)"},
99
+ "license": {"spdx": "PSF-2.0", "redistribute": "yes"},
100
+ "install": "on-demand",
101
+ "consumers": []
102
+ },
103
+ "uv": {
104
+ "version": "0.12.3",
105
+ "artifacts": {"darwin-arm64": [{"url": "https://github.com/astral-sh/uv/releases/download/0.12.3/uv-aarch64-apple-darwin.tar.gz",
106
+ "sha256": "546f7f8a6c70ff13a3a9d2bc958db3427298cebf3e0cb756f9177133b7068843"}]},
107
+ "entry": "uv-0.12.3-darwin-arm64",
108
+ "layout": {"format": "tar.gz", "strip": 1, "root": "uv-aarch64-apple-darwin"},
109
+ "tree": null,
110
+ "provides": {"uv": "uv", "uvx": "uvx"},
111
+ "probe": {"bin": "uv", "args": ["--version"], "expect": "uv 0.12.3"},
112
+ "codesign": {"expect": "adhoc"},
113
+ "provenance": {"hash_source": "upstream-sidecar:https://github.com/astral-sh/uv/releases/download/0.12.3/uv-aarch64-apple-darwin.tar.gz.sha256",
114
+ "verified": "2026-11-03"},
115
+ "license": {"spdx": "MIT OR Apache-2.0", "evidence": "no LICENSE in archive; github.com/astral-sh/uv", "redistribute": "yes"},
116
+ "install": "on-demand",
117
+ "consumers": []
118
+ },
119
+ "ripgrep": {
120
+ "version": "15.2.0",
121
+ "artifacts": {"darwin-arm64": [{"url": "https://github.com/BurntSushi/ripgrep/releases/download/15.2.0/ripgrep-15.2.0-aarch64-apple-darwin.tar.gz",
122
+ "sha256": "3750b2e93f37e0c692657da574d7019a101c0084da05a790c83fd335bad973e4"}]},
123
+ "entry": "ripgrep-15.2.0-darwin-arm64",
124
+ "layout": {"format": "tar.gz", "strip": 1, "root": "ripgrep-15.2.0-aarch64-apple-darwin"},
125
+ "tree": null,
126
+ "provides": {"rg": "rg"},
127
+ "env": {"PATH": ["{{store}}/ripgrep-15.2.0-darwin-arm64"]},
128
+ "probe": {"bin": "rg", "args": ["--version"], "expect": "ripgrep 15.2.0"},
129
+ "codesign": {"expect": "adhoc"},
130
+ "provenance": {"hash_source": "upstream-sidecar:https://github.com/BurntSushi/ripgrep/releases/download/15.2.0/ripgrep-15.2.0-aarch64-apple-darwin.tar.gz.sha256",
131
+ "verified": "2026-11-03"},
132
+ "license": {"spdx": "MIT OR Unlicense", "redistribute": "yes"},
133
+ "install": "on-demand",
134
+ "consumers": ["agent"]
135
+ },
136
+ "ffmpeg": {
137
+ "version": "9.0.1",
138
+ "artifacts": {"darwin-arm64": [{"url": "https://ffmpeg.martin-riedl.de/download/macos/arm64/1787073674_9.0.1/ffmpeg.zip",
139
+ "sha256": "8287a1b2229e05eb41859f073e18e6c52c60a778f2f5e6881070fe51b79407fe"}]},
140
+ "entry": "ffmpeg-9.0.1-darwin-arm64",
141
+ "layout": {"format": "zip", "strip": 0},
142
+ "tree": null,
143
+ "provides": {"ffmpeg": "ffmpeg"},
144
+ "gaps": {"ffprobe": "not in this artifact (registry.ts:1853,1858 need it); host ffprobe until a pinned ffprobe.zip row"},
145
+ "env": {"PATH": ["{{store}}/ffmpeg-9.0.1-darwin-arm64"]},
146
+ "probe": {"bin": "ffmpeg", "args": ["-version"], "expect": "ffmpeg version 9.0.1"},
147
+ "codesign": {"expect": "developer-id", "team": "KU3N25YGLU", "notarized": true},
148
+ "provenance": {"hash_source": "upstream-sidecar:<ffmpeg.zip>.sha256 (unsigned; .sig is 404)", "verified": "2026-11-03"},
149
+ "license": {"spdx": "GPL-3.0-or-later", "evidence": "configure --enable-gpl --enable-version3, libx264, libx265", "redistribute": "internal"},
150
+ "install": "on-demand",
151
+ "consumers": ["agent"]
152
+ },
153
+ "chromium": {
154
+ "version": "1208+145.0.7632.6",
155
+ "artifacts": {"darwin-arm64": [{"url": "https://cdn.playwright.dev/builds/cft/145.0.7632.6/mac-arm64/chrome-mac-arm64.zip",
156
+ "sha256": "3dbf04e28a02079148e9c7417840a0c1d3903361eceeee7e7eb59ef77021bdb2"}]},
157
+ "entry": "chromium-1208",
158
+ "layout": {"format": "zip", "strip": 0, "extractor": "ditto", "add": ["INSTALLATION_COMPLETE"]},
159
+ "tree": null,
160
+ "provides": {"chrome": "chrome-mac-arm64/Google Chrome for Testing.app/Contents/MacOS/Google Chrome for Testing"},
161
+ "env": {"PLAYWRIGHT_BROWSERS_PATH": "{{store}}",
162
+ "AGENT_BROWSER_EXECUTABLE_PATH": "{{store}}/chromium-1208/chrome-mac-arm64/Google Chrome for Testing.app/Contents/MacOS/Google Chrome for Testing"},
163
+ "codesign": {"expect": "unsigned-bundle"},
164
+ "provenance": {"hash_source": "tofu:hermes-lock", "second_witness": "GCS object ETag/MD5 de42204736934c1c3054a03cb5f44767 (CfT publishes no sha256)"},
165
+ "license": {"spdx": "LicenseRef-Google-Chrome-for-Testing", "evidence": "ABOUT: All rights reserved, chrome://terms", "redistribute": "upstream-only"},
166
+ "install": "on-demand",
167
+ "consumers": []
168
+ },
169
+ "agent-browser": {
170
+ "version": "0.26.0",
171
+ "artifacts": {"any": [{"url": "https://registry.npmjs.org/agent-browser/-/agent-browser-0.26.0.tgz",
172
+ "sha256": "8a48cf4110d7dc2c12c1c4d6d25e0babdfa31604b537f05df0dc835fe2f854bf"}]},
173
+ "entry": "agent-browser-0.26.0-darwin-arm64",
174
+ "layout": {"format": "tgz", "strip": 1},
175
+ "tree": null,
176
+ "provides": {"agent-browser": "bin/agent-browser-darwin-arm64"},
177
+ "requires": ["chromium"],
178
+ "codesign": null,
179
+ "provenance": {"hash_source": "tofu:hermes-lock"},
180
+ "license": {"spdx": "Apache-2.0", "evidence": "LICENSE + package.json", "redistribute": "yes"},
181
+ "install": "on-demand",
182
+ "consumers": []
183
+ },
184
+ "cua-driver": {
185
+ "version": "0.21.0",
186
+ "artifacts": {"darwin-arm64": [{"url": "https://github.com/trycua/cua/releases/download/cua-driver-rs-v0.21.0/cua-driver-rs-0.21.0-darwin-universal.tar.gz",
187
+ "sha256": "f827a393c0dae24943ddb454d85abb6b592d8636e6a99f6c349f81f5f516975f"}]},
188
+ "entry": "cua-driver-0.21.0-darwin-arm64",
189
+ "layout": {"format": "tar.gz"},
190
+ "tree": null,
191
+ "provides": {"cua-driver": "CuaDriver.app/Contents/MacOS/cua-driver"},
192
+ "codesign": {"expect": "developer-id", "team": "YCK386LBJ7", "notarized": true},
193
+ "provenance": {"hash_source": "tofu:hermes-lock"},
194
+ "license": {"spdx": null, "evidence": "no LICENSE in archive; resolve at witness", "redistribute": "internal"},
195
+ "install": "on-demand",
196
+ "consumers": [],
197
+ "note": "TCC grants are tied to CuaDriver.app; stays with Hermes in v1"
198
+ },
199
+ "tirith": {
200
+ "version": "0.4.2",
201
+ "artifacts": {"darwin-arm64": [
202
+ {"url": "https://github.com/sheeki03/tirith/releases/download/v0.4.2/tirith-aarch64-apple-darwin.tar.gz",
203
+ "sha256": "551f9a6ebf58344e7d0aa06bcc78d7a4f2f7b44b8011be563e0a91976cc9c4df", "role": "payload"},
204
+ {"url": "https://github.com/sheeki03/tirith/releases/download/v0.4.2/checksums.txt",
205
+ "sha256": "bcbb3eeda0f9971db5d60d2eb512970c14601432092f596d7059e0141e272585", "role": "checksums"},
206
+ {"url": "https://github.com/sheeki03/tirith/releases/download/v0.4.2/checksums.txt.sig",
207
+ "sha256": "8d069fa95606f59919a897ff0914b06600f3cede4a8e83a0c4b339d9188c42b0", "role": "signature"},
208
+ {"url": "https://github.com/sheeki03/tirith/releases/download/v0.4.2/checksums.txt.pem",
209
+ "sha256": "1f39241c7a334e465f78794533675e94e424ed38e9aa1534b5d7c893bd4fb71c", "role": "certificate"}
210
+ ]},
211
+ "entry": "tirith-0.4.2-darwin-arm64",
212
+ "layout": {"format": "tar.gz"},
213
+ "tree": null,
214
+ "provides": {"tirith": "tirith"},
215
+ "codesign": {"expect": "adhoc"},
216
+ "provenance": {"hash_source": "upstream-sums:checksums.txt (pinned above)", "note": "sigstore .sig/.pem unchecked until cosign is itself pinned (v2)"},
217
+ "license": {"spdx": "AGPL-3.0", "redistribute": "internal"},
218
+ "install": "on-demand",
219
+ "consumers": []
220
+ }
221
+ }
222
+ }