feat: disallow screen-blocking tools for claude
This commit is contained in:
@@ -93,7 +93,11 @@ def claude(name: str, model: str, effort: str | None = None) -> ClaudeAgent:
|
||||
model=model,
|
||||
system_prompt=CBO_PROMPT,
|
||||
cwd=VAULT,
|
||||
options=ClaudeCodeOptions(effort=effort, extra_args=("--remote-control",)),
|
||||
options=ClaudeCodeOptions(
|
||||
effort=effort,
|
||||
extra_args=("--remote-control",),
|
||||
disallowed_tools=("AskUserQuestion", "ExitPlanMode", "EnterPlanMode"),
|
||||
),
|
||||
expose_mcps=(
|
||||
ExposedMcp(name="firefly"),
|
||||
ExposedMcp(name="telegram"),
|
||||
|
||||
Reference in New Issue
Block a user