From 9415b778d1c60b24a37e466e17da834fff7aa296 Mon Sep 17 00:00:00 2001 From: Daniel Smolsky Date: Tue, 13 Jan 2026 19:59:58 -0500 Subject: [PATCH] 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. --- lib/config.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/config.ts b/lib/config.ts index f2e3413..d1bbba5 100644 --- a/lib/config.ts +++ b/lib/config.ts @@ -68,6 +68,8 @@ const DEFAULT_PROTECTED_TOOLS = [ "batch", "write", "edit", + "plan_enter", + "plan_exit", ] // Valid config keys for validation against user config