@brainbase-labs/cli 0.15.0-acp.4 → 0.16.0-rc.1
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 +29 -3
- package/dist/index.js +1083 -290
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -22,6 +22,27 @@ brainbase template onboard <creator/slug> # install or refresh a template
|
|
|
22
22
|
|
|
23
23
|
Run `brainbase help` to see every command.
|
|
24
24
|
|
|
25
|
+
## Agent runtime configuration
|
|
26
|
+
|
|
27
|
+
`brainbase.agent.yaml` can declare the provider and default model used by
|
|
28
|
+
managed runs:
|
|
29
|
+
|
|
30
|
+
```yaml
|
|
31
|
+
schema: 1
|
|
32
|
+
harness: codex
|
|
33
|
+
machine_kind: daytona
|
|
34
|
+
default_model: openai/gpt-5.6-terra
|
|
35
|
+
|
|
36
|
+
agent:
|
|
37
|
+
name: Ops Agent
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
`machine_kind` is applied when the cloud agent is created. Changing it on a
|
|
41
|
+
claimed agent fails before any cloud writes; create a new agent to switch
|
|
42
|
+
providers. `default_model` can be changed with `brainbase agent push`; set it
|
|
43
|
+
to `null` to clear the override. Omitting either field leaves it unmanaged, so
|
|
44
|
+
older manifests keep their existing behavior.
|
|
45
|
+
|
|
25
46
|
## Feature support by harness
|
|
26
47
|
|
|
27
48
|
Each component type is stored in the place that harness already reads from at runtime — the CLI doesn't impose its own layout. "Native" cells describe where the install lands; "—" means the harness does not support that component type.
|
|
@@ -46,12 +67,17 @@ Playbook files carry a small YAML frontmatter (`title`, `description`) — the C
|
|
|
46
67
|
## Configuration
|
|
47
68
|
|
|
48
69
|
| Variable | Purpose |
|
|
49
|
-
|
|
50
|
-
| `
|
|
51
|
-
| `BRAINBASE_API_URL` |
|
|
70
|
+
|-|-|
|
|
71
|
+
| `BRAINBASE_CONTROL_PLANE_URL` | Override the MAS control-plane host. Requests use `/v2/cli`; the default is `https://api.brainbaselabs.com`. |
|
|
72
|
+
| `BRAINBASE_API_URL` | Legacy KLS host override. Control requests use `/api/cli`; it is also the fallback for model-proxy and registry traffic. |
|
|
73
|
+
| `BRAINBASE_PROXY_URL` | Override the model-proxy host used when enabling harness tracking. |
|
|
74
|
+
| `BRAINBASE_REGISTRY_URL` | Override the registry API host. |
|
|
52
75
|
| `BRAINBASE_TOKEN` | Use a PAT instead of the stored login session |
|
|
53
76
|
| `BRAINBASE_HOME` | Where local state lives (default: `~/.brainbase`) |
|
|
54
77
|
|
|
78
|
+
Model-proxy and registry traffic fall back through `BRAINBASE_API_URL`,
|
|
79
|
+
the server captured at login, and finally `https://api.v1.brainbaselabs.com`.
|
|
80
|
+
|
|
55
81
|
## Auth
|
|
56
82
|
|
|
57
83
|
Two ways to authenticate, in priority order:
|