refactor(codemode): remove generic agent tool (#35420)

This commit is contained in:
Aiden Cline
2026-07-05 10:41:21 -05:00
committed by GitHub
parent 391aa38281
commit f950497173
6 changed files with 23 additions and 67 deletions
+1 -2
View File
@@ -2,7 +2,6 @@ export * as ExecuteTool from "./execute"
import {
CodeMode,
ExecuteInputSchema,
Tool,
toolError,
type DataValue,
@@ -93,7 +92,7 @@ export const create = (options: {
const discovery = runtime(() => Effect.fail(toolError("Execute context is unavailable")))
return make({
description: discovery.instructions(),
input: ExecuteInputSchema,
input: CodeMode.Input,
output: ExecuteOutput,
structured: ExecuteMetadata,
toStructuredOutput: ({ output }) => ({