refactor(coding-agent/tools): removed enter-plan-mode tool
- Removed the enter-plan-mode tool, associated prompt, and all event handling code.
This commit is contained in:
@@ -247,12 +247,6 @@ export class EventController {
|
||||
this.ctx.setTodos(details.todos);
|
||||
}
|
||||
}
|
||||
if (event.toolName === "enter_plan_mode" && !event.isError) {
|
||||
const details = event.result.details as import("../../tools").EnterPlanModeDetails | undefined;
|
||||
if (details) {
|
||||
await this.ctx.handleEnterPlanModeTool(details);
|
||||
}
|
||||
}
|
||||
if (event.toolName === "exit_plan_mode" && !event.isError) {
|
||||
const details = event.result.details as ExitPlanModeDetails | undefined;
|
||||
if (details) {
|
||||
|
||||
Reference in New Issue
Block a user