core: temporarily disable plan enter tool to prevent unintended mode switches during task execution

This commit is contained in:
Dax Raad
2026-02-24 19:16:17 -05:00
parent 814c1d398c
commit fa559b0385
2 changed files with 5 additions and 3 deletions

View File

@@ -8,7 +8,6 @@ import { Identifier } from "../id/id"
import { Provider } from "../provider/provider"
import { Instance } from "../project/instance"
import EXIT_DESCRIPTION from "./plan-exit.txt"
import ENTER_DESCRIPTION from "./plan-enter.txt"
async function getLastModel(sessionID: string) {
for await (const item of MessageV2.stream(sessionID)) {
@@ -72,6 +71,7 @@ export const PlanExitTool = Tool.define("plan_exit", {
},
})
/*
export const PlanEnterTool = Tool.define("plan_enter", {
description: ENTER_DESCRIPTION,
parameters: z.object({}),
@@ -128,3 +128,4 @@ export const PlanEnterTool = Tool.define("plan_enter", {
}
},
})
*/