bridex-worker 0.1.2 → 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/README.md +10 -4
- package/dist/cli.js +2801 -1985
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -19,7 +19,9 @@ instances at once over one pool of slots and one cache.
|
|
|
19
19
|
Needs Node 20 or later (22 adds the `node22` cap), git, bwrap on Linux and
|
|
20
20
|
WSL2 (Seatbelt is built into macOS), rclone for the `mount`/`sync` artifact
|
|
21
21
|
modes (optional), and the agent CLIs (`claude`, `codex`, …) on PATH for
|
|
22
|
-
`adapter:cli:*` agents.
|
|
22
|
+
`adapter:cli:*` agents. Plan runs (an agent's `plan_run_start`) also need
|
|
23
|
+
`loopai` on PATH, plus `claude` and/or `codex` for the providers the plan
|
|
24
|
+
uses: loopai starts those CLIs itself.
|
|
23
25
|
|
|
24
26
|
## Join (once)
|
|
25
27
|
|
|
@@ -150,8 +152,10 @@ codex_transport: auto # exec
|
|
|
150
152
|
`chromium` (also Playwright's browser cache — runs get it read-only, with
|
|
151
153
|
`PLAYWRIGHT_BROWSERS_PATH` on it), `gpu`, `ffmpeg`, `blender`,
|
|
152
154
|
`dotnet`, `gdre`, `cli` and `cli:<preset>` for each agent CLI on PATH, `sdk`,
|
|
153
|
-
`rclone`. An agent's `requires:` and a
|
|
154
|
-
them for a run to come here.
|
|
155
|
+
`plan` when `loopai` is on PATH, `rclone`. An agent's `requires:` and a
|
|
156
|
+
project's `requires:` must be among them for a run to come here. A plan run
|
|
157
|
+
needs `plan` and `cli:<preset>` for each provider its plan uses; install
|
|
158
|
+
`loopai` and restart the worker to advertise it.
|
|
155
159
|
- **Slots and load.** A grant is refused when every slot is taken, free memory
|
|
156
160
|
or the cache disk is below the reserve (3 GB), or the load per core is
|
|
157
161
|
above 1.5 — your own work on the machine comes first. Slots are shared by
|
|
@@ -509,7 +513,9 @@ worker's tests, builds, packs and checks the tarball
|
|
|
509
513
|
publishes exactly that tarball with the `NPM_TOKEN` repository secret. npm
|
|
510
514
|
never overwrites a version, so a version already published makes the last
|
|
511
515
|
step fail. A prerelease goes under npm's `next` tag. A stable version goes
|
|
512
|
-
under `staged`; a second job
|
|
516
|
+
under `staged`; a second job waits until npm shows that version and its
|
|
517
|
+
tarball (npm answers a publish minutes before the registry shows it), then
|
|
518
|
+
points `latest` at the highest stable
|
|
513
519
|
version on npm, never below the one `latest` names already. That job runs
|
|
514
520
|
for one tag at a time and reads the registry afresh each time, so releases
|
|
515
521
|
that overlap (two tags pushed together, a backport) leave `latest` on the
|