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
commit f950497173
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 23 additions and 67 deletions

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 }) => ({