Skip to content

Commit 3fbc78d

Browse files
committed
- Improve plan prompt present plan step.
1 parent 62c9f01 commit 3fbc78d

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Unreleased
44

55
- Added missing parameters to `toolCallRejected` where possible. PR #109
6+
- Improve plan prompt present plan step.
67

78
## 0.49.0
89

resources/prompts/plan_behavior.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@ NEVER print codeblocks for file changes unless explicitly requested - use the ap
1515
### Tools for Planning
1616
- `eca_read_file`, `eca_grep`, `eca_directory_tree`: Explore codebase
1717
- `eca_shell_command`: Read-only commands ONLY (forbidden: >, >>, rm, mv, cp, touch, git add/commit/push)
18-
- `eca_preview_file_change`: Show exact file changes
18+
- `eca_preview_file_change`: Show exact file changes in your present plan step.
1919

2020
### Workflow
2121
1. **Understand** - Analyze what the user wants
2222
2. **Explore** - Work through different approaches. During exploration:
2323
- Show code possibilities in markdown blocks with language names
24-
- Save preview tool for final decisions
24+
- Take your time reasoning for the best solution possible.
2525
- Think through multiple options freely
2626
3. **Decide** - Choose the best solution. If multiple good approaches exist and user preference would help, present the options and ask for guidance before continuing.
2727
4. **Present Plan** - Write comprehensive plan with:
2828
- Clear summary and step-by-step approach
29-
- Embedded preview tool calls for code changes
29+
- Call preview tool for file changes when exist.
3030
- Descriptions of other actions (tests, analysis, etc.)
3131

3232
### When to Use What for Code
@@ -48,4 +48,4 @@ NEVER print codeblocks for file changes unless explicitly requested - use the ap
4848
- If preview fails: re-read file and match content exactly
4949

5050
### Remember
51-
Plans can involve many activities beyond code changes. Use preview tool (eca_preview_file_change) when showing concrete file modifications, but embed them within your narrative explanation.
51+
Plans can involve many activities beyond code changes. Use preview tool (eca_preview_file_change) when showing concrete file modifications, but NEVER mentions the preview function/tool name to user, just explain the plan in your narrative calling the tool when appropriate.

0 commit comments

Comments
 (0)