feat(codemode): sync v2 implementation (#35574)

This commit is contained in:
Aiden Cline
2026-07-06 13:19:21 -05:00
committed by GitHub
parent eb6ff0c1e0
commit d5aa79c73a
32 changed files with 9544 additions and 6643 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
import { describe, expect, test } from "bun:test"
import { Effect, Schema } from "effect"
import { CodeMode } from "../src/index.js"
import { Tool, inputTypeScript, jsonSchemaToTypeScript, outputTypeScript } from "../src/tool.js"
import { CodeMode, Tool } from "../src/index.js"
import { inputTypeScript, jsonSchemaToTypeScript, outputTypeScript } from "../src/tool-schema.js"
// A raw JSON Schema tool in the shape an MCP adapter produces: render-only input schema
// whose property descriptions and constraints must surface as JSDoc in pretty signatures.