feat: headless_prompt method on AgentProvider + --prompt arg
test / unit (pull_request) Failing after 51s
test / integration (pull_request) Successful in 27s
test / coverage (pull_request) Failing after 59s
lint / lint (push) Failing after 2m11s

This commit is contained in:
2026-06-29 12:54:34 -04:00
parent 2d16fcbce9
commit 3e6b8d1d61
@@ -313,6 +313,9 @@ class ClaudeAgentProvider(AgentProvider):
f"claude mcp add --scope user --transport http supervise {supervise_url}"
)
def headless_prompt(self, prompt: str) -> list[str]:
return ["-p", prompt]
def _exec(bottle: "Bottle", script: str, error: str) -> None:
result = bottle.exec(script, user="root")