2 Commits
Author SHA1 Message Date
johannes db7ef65e4a fix: sandbox mode not working
build / version (push) Successful in 9s
build / build (aarch64-apple-darwin) (push) Successful in 3m56s
build / build (x86_64-unknown-linux-musl) (push) Successful in 3m47s
build / release (push) Successful in 17s
2026-11-15 22:51:24 +01:00
gitea-actions d977e01d5d ci: bin.json v0.1.4 2026-11-15 21:44:17 +00:00
2 changed files with 8 additions and 8 deletions

No files matched your search

+3 -3
View File
@@ -1,7 +1,7 @@
{
"version": "0.1.3",
"version": "0.1.4",
"sha256": {
"aarch64-apple-darwin": "b2cbabcd87ae7bda6c14638c24f5b80e37553954409a46828fd0bddb0aa1e7bc",
"x86_64-unknown-linux-musl": "0f003750f85b40499036e3bf1591fa488b7bd34ad19787471c0bc968ab545427"
"aarch64-apple-darwin": "ba5711a2cf4b27f5b37963e9562088f6f0159b3f87fdca1a4ca8258f510667d0",
"x86_64-unknown-linux-musl": "3d134d6cbc0035f609772dcda2a3dfa55f688c7bb5a30410e2091fa1f13aeba0"
}
}
+5 -5
View File
@@ -63,17 +63,17 @@ impl Acp {
pub fn spawn(p: &Profile, worktree: &Path, id: &str) -> Result<Self> {
let mut parts = p.hx.split_whitespace();
let mut cmd = Command::new(parts.next().context("empty hx command")?);
cmd.args(parts)
.args(["serve", "--acp", "--cwd"])
.arg(worktree)
.args(["--session", id]);
// sandbox and permission flags are options of the root command, so they go before `serve`
// the TUI answers permission requests itself, so yolo only when the profile asks for it explicitly
let flags = p.hx_flags();
cmd.args(
cmd.args(parts).args(
flags
.iter()
.filter(|f| **f != "--yolo" || p.yolo == Some(true)),
);
cmd.args(["serve", "--acp", "--cwd"])
.arg(worktree)
.args(["--session", id]);
// same cleared environment as the batch runner: orch's secrets never reach the agent
cmd.env_clear().envs(hx_env(std::env::vars(), p));
if let Some(h) = &p.home {