feat: disallow screen-blocking tools for claude
This commit is contained in:
1 parent
cec2c02608
commit
3986374ff5
1 file changed
+5
-1
@@ -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