Compare commits
2 changed files with 4 additions and 9 deletions
|
|
@ -1,8 +0,0 @@
|
||||||
{
|
|
||||||
"permissions": {
|
|
||||||
"allow": [
|
|
||||||
"Bash(git add *)",
|
|
||||||
"Bash(git commit *)"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -178,10 +178,13 @@ async fn invoke_claude(prompt: &str, mcp_config: &Path) -> Result<String> {
|
||||||
// plus the hyperhive MCP surface so there's no permission prompt
|
// plus the hyperhive MCP surface so there's no permission prompt
|
||||||
// mid-turn. A finer-grained allow-list system for Bash command
|
// mid-turn. A finer-grained allow-list system for Bash command
|
||||||
// patterns is on the backlog (PLAN.md polish).
|
// patterns is on the backlog (PLAN.md polish).
|
||||||
|
// Hard-coded to Haiku 4.5 for now to keep cost predictable while we
|
||||||
|
// iterate. TODO: make this overridable per-agent — op via dashboard,
|
||||||
|
// manager via `request_apply_commit` setting on the agent's flake.
|
||||||
let out = Command::new("claude")
|
let out = Command::new("claude")
|
||||||
.arg("--print")
|
.arg("--print")
|
||||||
.arg("--model")
|
.arg("--model")
|
||||||
.arg("haiku")
|
.arg("claude-haiku-4-5-20251001")
|
||||||
.arg("--mcp-config")
|
.arg("--mcp-config")
|
||||||
.arg(mcp_config)
|
.arg(mcp_config)
|
||||||
.arg("--tools")
|
.arg("--tools")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue