@gemslibe/rbo 0.2.0 → 0.3.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 +11 -0
- package/config/agent.json +34 -0
- package/config/controller.json +20 -0
- package/dist/rbo.js +643 -262
- package/package.json +8 -3
- package/scripts/stop-running-rbo.mjs +306 -0
package/README.md
CHANGED
|
@@ -10,6 +10,17 @@ npm install -g @gemslibe/rbo
|
|
|
10
10
|
|
|
11
11
|
Requires Node.js ≥ 22.14. See the monorepo [`docs/ops/getting-started.md`](../../docs/ops/getting-started.md) for Controller/Agent setup and MCP client wiring.
|
|
12
12
|
|
|
13
|
+
Global reinstall/uninstall runs `scripts/stop-running-rbo.mjs` (`preinstall` /
|
|
14
|
+
`preuninstall`) to stop live Controller/Agent processes so native deps can be replaced on
|
|
15
|
+
Windows. Only global installs trigger the stop (`npm_config_global=true`). Set
|
|
16
|
+
`RBO_SKIP_INSTALL_STOP=1` to disable.
|
|
17
|
+
|
|
18
|
+
`rbo controller init` / `rbo agent init` write live operator configs
|
|
19
|
+
(`~/.rbo/controller.json` and `~/.rbo/agent/agent.json`). Daemons load those files on start;
|
|
20
|
+
environment variables override the file when set. The package also ships matching templates at
|
|
21
|
+
`config/controller.json` and `config/agent.json`. Use `--force` on init to rewrite a config back
|
|
22
|
+
to defaults.
|
|
23
|
+
|
|
13
24
|
## Binaries
|
|
14
25
|
|
|
15
26
|
| Command | Purpose |
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": 1,
|
|
3
|
+
"initialized_at": "1970-01-01T00:00:00.000Z",
|
|
4
|
+
"controller_url": "",
|
|
5
|
+
"controller_fingerprint": "",
|
|
6
|
+
"display_name": "rbo-agent",
|
|
7
|
+
"max_jobs": 1,
|
|
8
|
+
"repo_cache_dir": null,
|
|
9
|
+
"secret_map": null,
|
|
10
|
+
"git_allowlist": {
|
|
11
|
+
"schemes": ["https", "ssh"],
|
|
12
|
+
"hosts": ["github.com"]
|
|
13
|
+
},
|
|
14
|
+
"repo_cache": {
|
|
15
|
+
"max_size_gb": 100,
|
|
16
|
+
"min_free_disk_gb": 30,
|
|
17
|
+
"retention_days": 30
|
|
18
|
+
},
|
|
19
|
+
"build_cache": {
|
|
20
|
+
"enabled_kinds": ["ccache", "sccache", "npm", "pnpm", "pip"],
|
|
21
|
+
"max_size_gb": 20,
|
|
22
|
+
"min_free_disk_gb": 5,
|
|
23
|
+
"retention_days": 14,
|
|
24
|
+
"allow_read_risk_levels": ["safe", "normal"],
|
|
25
|
+
"allow_write_risk_levels": ["safe", "normal"]
|
|
26
|
+
},
|
|
27
|
+
"log_spool_max_bytes": 536870912,
|
|
28
|
+
"log_send_queue_max": 64,
|
|
29
|
+
"disconnect_grace_seconds": 60,
|
|
30
|
+
"orphan_timeout_seconds": 300,
|
|
31
|
+
"reconcile_deadline_seconds": 120,
|
|
32
|
+
"disk_min_free_bytes": null,
|
|
33
|
+
"configured_priority": null
|
|
34
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"mcp_host": "127.0.0.1",
|
|
3
|
+
"mcp_port": 7410,
|
|
4
|
+
"agent_plane_port": 7411,
|
|
5
|
+
"controller_public_host": "127.0.0.1",
|
|
6
|
+
"data_plane_base_url": null,
|
|
7
|
+
"allowed_project_roots": [],
|
|
8
|
+
"allowed_artifact_destinations": [],
|
|
9
|
+
"git_allowlist": {
|
|
10
|
+
"schemes": ["https", "ssh"],
|
|
11
|
+
"hosts": ["github.com"]
|
|
12
|
+
},
|
|
13
|
+
"local_max_concurrent_jobs": 1,
|
|
14
|
+
"disconnect_grace_seconds": 60,
|
|
15
|
+
"orphan_timeout_seconds": 300,
|
|
16
|
+
"reconcile_deadline_seconds": 120,
|
|
17
|
+
"allow_local_fallback": true,
|
|
18
|
+
"max_git_bundle_bytes": 536870912,
|
|
19
|
+
"local_fallback_max_host_cpu_percent": 80
|
|
20
|
+
}
|