refactor(examples): fold plan mode into ACP demo
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"steps": [
|
||||
{
|
||||
"op": "initialize"
|
||||
},
|
||||
{
|
||||
"op": "newSession"
|
||||
},
|
||||
{
|
||||
"op": "setMode",
|
||||
"modeId": "plan"
|
||||
},
|
||||
{
|
||||
"op": "prompt",
|
||||
"text": "Read the file notes.txt (use the relative path notes.txt exactly, never an absolute path), then present a short plan titled '# Fix the greeting typo' via exit_plan_mode, exactly once. If the review does not approve, summarize the reviewer's feedback in plain text and end your reply - do not present the plan again."
|
||||
}
|
||||
],
|
||||
"elicitationAnswers": [
|
||||
{
|
||||
"action": "accept",
|
||||
"custom": "Also add a verification step that re-reads the file after the fix."
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user