bullswarm 0.39.0 → 0.40.2
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/CHANGELOG.md +16 -0
- package/data/openrouter-benchmarks.json +22679 -18925
- package/docs/guide/routing.md +4 -0
- package/docs/reference/cli.md +20 -0
- package/docs/reference/providers.md +1 -0
- package/package.json +1 -1
- package/src/caps-cli.js +144 -0
- package/src/cli.js +18 -2
- package/src/help.js +87 -0
- package/src/lib/caller.js +28 -11
- package/src/lib/caps.js +326 -0
- package/src/lib/cli-flags.js +8 -2
- package/src/lib/strategy.js +15 -4
- package/src/providers/_schema.json +2 -0
- package/src/workflow/cli-goal.js +12 -0
- package/src/workflow/dispatch-no-pool.js +2 -1
- package/src/workflow/dispatch-pools.js +15 -0
- package/src/workflow/v2-dispatch.js +54 -2
- package/src/workflow/v2-runtime.js +11 -0
- package/src/workflow/watch-cli.js +19 -0
- package/src/workflow/workflow-flags.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.40.2 — Routing fixes for lane-limited and pay-per-token pools
|
|
6
|
+
|
|
7
|
+
- `strategy set-lanes <pool> analyze` no longer empties the pool's medium and low rungs at the next `strategy apply`. A lane limit decides which work a pool takes, not which effort tiers it keeps. Before, grok (limited to analyze on 17 Nov) took no work at all after the nightly apply, not even analyze at medium.
|
|
8
|
+
- New connector field `buildsNeedCheck`: `true` keeps a pool out of build steps that carry no machine check (`--check`, or `command`/`schema` evidence). Unchecked builds go to other pools; analyze and chore work is unaffected. For cheap pay-per-token pools such as Cloudflare Workers AI.
|
|
9
|
+
- Model discovery keeps model ids that contain `@`. Every Cloudflare Workers AI id starts with `@cf/`, so such models were silently dropped from a pool's discovered list.
|
|
10
|
+
|
|
11
|
+
## 0.40.1 — Concurrency caps (fixed)
|
|
12
|
+
|
|
13
|
+
- 0.40.0 was tagged but never published: its release check caught a race in the caps. Two steps that arrived in the same millisecond were ordered by a random id, so a newcomer could sort ahead of a step already running and both ran at a cap of 1. A slot that may run is now marked admitted, a waiting step never overtakes one, and arrival times are sub-millisecond.
|
|
14
|
+
|
|
15
|
+
- A herdr pane id whose pane part has capital letters (`w12:pA`, `w6:p5Z`) is now recorded as the caller's pane, accepted by `caps set --pane`, and matched by pane caps. Before, such a caller was recorded with no pane, so only a `--cwd` cap could match it.
|
|
16
|
+
|
|
17
|
+
## 0.40.0 — Concurrency caps
|
|
18
|
+
|
|
19
|
+
- Concurrency caps (`bullswarm caps`). A caller (a lead) can be capped at N steps at once; a step over its caller's cap queues in arrival order and starts when a slot frees, instead of all of them running at once. A caller is matched by `--caller <name>` / `BULLSWARM_CALLER`, then its herdr pane, then the longest launch-directory prefix; every workflow step counts, and a worker's nested run never does. A per-pool cap (`caps set-pool claude-code:w 8`) is the backstop: a pool at its cap sits out picks, and a step no other pool can take waits. `run --no-wait` / `workflow goal --no-wait` refuse at launch instead of queueing. `workflow watch` shows the wait. With no caps set nothing changes.
|
|
20
|
+
|
|
5
21
|
## 0.39.0 — AGY: Google Antigravity as a first-class provider
|
|
6
22
|
|
|
7
23
|
- `bench/eval-suite/rank.mjs` ranks two or more `run-bench.mjs` output directories on the tasks every label ran: pass rate first, then fewer interventions, lower wall minutes, lower API-equivalent USD (#91).
|