@brainbase-labs/cli 0.61.0 → 0.62.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/README.md +39 -7
- package/dist/index.js +2801 -1296
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -288,10 +288,17 @@ output.
|
|
|
288
288
|
|
|
289
289
|
The suite is version-sensitive too, so the pin is enforced at each entry point:
|
|
290
290
|
`bun run verify` and `bun run build` refuse another Bun outright, and `bun test`
|
|
291
|
-
|
|
292
|
-
to get it: `npx bun@<pinned> …`. Use `npx` rather than `bunx` —
|
|
293
|
-
published Bun versions but cannot resolve a bin for 1.3.10
|
|
294
|
-
is the current pin. Set `SKIP_BUN_VERSION_CHECK=1` to
|
|
291
|
+
and `bun run test` print a warning and carry on. Each names the pinned version
|
|
292
|
+
and the command to get it: `npx bun@<pinned> …`. Use `npx` rather than `bunx` —
|
|
293
|
+
bunx runs most published Bun versions but cannot resolve a bin for 1.3.10
|
|
294
|
+
specifically, which is the current pin. Set `SKIP_BUN_VERSION_CHECK=1` to
|
|
295
|
+
override any of them.
|
|
296
|
+
|
|
297
|
+
`bun run test` runs every test file in its own `bun test` process, half the
|
|
298
|
+
cores' worth at a time (`--jobs N` or `BUN_TEST_JOBS` to change that; any other
|
|
299
|
+
option goes to each `bun test`). `--shard i/n` runs every n-th file: CI splits
|
|
300
|
+
the suite over six runners that way, one file at a time on each. A bare
|
|
301
|
+
`bun test` runs the same files serially in one process.
|
|
295
302
|
|
|
296
303
|
### Releasing
|
|
297
304
|
|
|
@@ -335,10 +342,35 @@ older manifests keep their existing behavior.
|
|
|
335
342
|
`runtime_mode` accepts `fixed` or `auto`, separately from the lead harness and
|
|
336
343
|
model. An explicit value is synced by `agent create` or `agent push`; omission
|
|
337
344
|
preserves the remote mode. A mode-aware control plane's pull writes `auto` and
|
|
338
|
-
omits `fixed`.
|
|
345
|
+
omits `fixed`. `brainbase agent runtime --mode fixed|auto` sets it directly.
|
|
339
346
|
Runtime Auto requires the server's `self-delegation` feature flag, and children
|
|
340
|
-
also need a self-edge in an orchestration.
|
|
341
|
-
mode
|
|
347
|
+
also need a self-edge in an orchestration. A control plane that does not report
|
|
348
|
+
a mode runs every agent Fixed, so `runtime_mode: fixed` is always accepted and
|
|
349
|
+
only `auto` is refused there. `agent pull --force` discards local runtime-mode
|
|
350
|
+
edits.
|
|
351
|
+
|
|
352
|
+
## Self-loops
|
|
353
|
+
|
|
354
|
+
A self-loop lets an agent's task spawn copies of itself. Everything the web
|
|
355
|
+
console does with them has a command:
|
|
356
|
+
|
|
357
|
+
```sh
|
|
358
|
+
brainbase orchestration self-loop builder # let the agent spawn copies (--remove to undo)
|
|
359
|
+
brainbase agent runtime --mode auto --children 8 --shared-folder on
|
|
360
|
+
brainbase agent shared put ./brief.md inbox/ # files every copy can read at /workspace/Shared
|
|
361
|
+
brainbase task tree <task-id> # the task, its copies, capacity, "waiting on children"
|
|
362
|
+
brainbase task stop <task-id> --tree # stop the task and everything below it
|
|
363
|
+
brainbase board posts <task-id> --follow # the tree's message board
|
|
364
|
+
brainbase board post <task-id> --update "Schema is final"
|
|
365
|
+
brainbase board post <task-id> --instruct "Rebase onto main" --broadcast
|
|
366
|
+
brainbase task send <task-id> "Use this" --file ./notes.md
|
|
367
|
+
```
|
|
368
|
+
|
|
369
|
+
The shared folder is off on a new agent; without it, copies cannot hand files
|
|
370
|
+
to each other. `board post --instruct` takes `--to <task-id>` (repeatable),
|
|
371
|
+
`--broadcast`, `--children` or `--siblings`, and every post carries an
|
|
372
|
+
idempotency key that a retry reuses, so nothing is delivered twice. See
|
|
373
|
+
`docs/reference/commands.mdx` for each command.
|
|
342
374
|
|
|
343
375
|
When `agent create` claims a manifest with no `default_model`, the control plane
|
|
344
376
|
gives the agent the platform default for its harness, the same model the web
|