fix(plan): make direct exit discoverable

This commit is contained in:
fz
2026-07-23 21:34:40 +08:00
parent a7b0e69797
commit 5e8943fd1c
6 changed files with 26 additions and 9 deletions
+4 -1
View File
@@ -228,7 +228,10 @@ export class PlanModeService extends Service {
}
this.set(agent, true)
if (message !== '') agent.steer([{ type: 'text', text: message }])
return { kind: 'success', text: 'Entering plan mode (applies from the next step).' }
return {
kind: 'success',
text: 'Entering plan mode (applies from the next step). Use /plan off to leave.',
}
},
})
})