refactor(codemode): namespace public types (#35435)

This commit is contained in:
Aiden Cline
2026-07-05 11:51:50 -05:00
committed by GitHub
parent ad06e079f8
commit 69792763b9
14 changed files with 423 additions and 475 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
import { HttpClient } from "effect/unstable/http"
import { Tool, type Definition } from "../tool.js"
import { make, type Definition } from "../tool.js"
import { invoke } from "./runtime.js"
import {
componentDefinitions,
@@ -102,7 +102,7 @@ export const fromSpec = (options: Options): Result => {
setTool(
tools,
segments,
Tool.make({
make({
description: operation.description ?? operation.summary ?? `${operation.method} ${path}`,
input: inputSchema(input.fields, definitions),
output: output.value,