Implement extra-config option

This commit is contained in:
2026-04-24 19:36:27 +02:00
parent a9f5593f03
commit 0ea83b2af0
4 changed files with 297 additions and 0 deletions
+2
View File
@@ -4,6 +4,8 @@
`config-example.toml` in the repo root is the canonical config file. It is symlinked into `$XDG_CONFIG_HOME/agent-sandbox/config.toml` on the host. When editing it, remember that changes take effect immediately for all sandbox invocations.
The config file may set `extra-config = "<absolute path>"` to layer a second file on top using the same merge rules (scalars replace, vecs append, profiles merge by name). A missing extra file is silently skipped; nesting is not supported (the extra file cannot itself set `extra-config`).
## Build and test
- `cargo fmt` and `cargo clippy` must pass before every commit.