fix(coding-agent): fix plan-mode example

closes #5940
This commit is contained in:
Armin Ronacher
2026-06-21 22:10:17 +02:00
parent bc0db64350
commit 542683b29a
4 changed files with 260 additions and 41 deletions
@@ -4,7 +4,7 @@ Read-only exploration mode for safe code analysis.
## Features
- **Read-only tools**: Restricts available tools to read, bash, grep, find, ls, question
- **Built-in write tools disabled**: Disables edit/write while preserving other active tools
- **Bash allowlist**: Only read-only bash commands are allowed
- **Plan extraction**: Extracts numbered steps from `Plan:` sections
- **Progress tracking**: Widget shows completion status during execution
@@ -37,7 +37,8 @@ Plan:
## How It Works
### Plan Mode (Read-Only)
- Only read-only tools available
- Built-in edit/write tools disabled
- Other active tools remain available
- Bash commands filtered through allowlist
- Agent creates a plan without making changes