Skip to content

Commit 9415b77

Browse files
committed
feat: add plan_enter and plan_exit to default protected tools
These experimental plan mode tools (OPENCODE_EXPERIMENTAL_PLAN_MODE=1) have minimal outputs, making pruning them counterproductive overhead.
1 parent 530540c commit 9415b77

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ const DEFAULT_PROTECTED_TOOLS = [
6868
"batch",
6969
"write",
7070
"edit",
71+
"plan_enter",
72+
"plan_exit",
7173
]
7274

7375
// Valid config keys for validation against user config

0 commit comments

Comments
 (0)