refactor(core): simplify tool admission flow (#36180)

This commit is contained in:
Kit Langton
2026-07-09 22:01:31 -04:00
committed by GitHub
parent 3785eddfa0
commit b452368b3b
16 changed files with 110 additions and 266 deletions
@@ -34,7 +34,7 @@ import { ToolRegistry } from "@opencode-ai/core/tool/registry"
import { tempLocationLayer } from "./fixture/location"
import { makeLocationNode } from "@opencode-ai/core/effect/app-node"
import { testEffect } from "./lib/effect"
import { registerToolPlugin, settleTool, testModel } from "./lib/tool"
import { registerToolPlugin, settleTool } from "./lib/tool"
const readToolNode = makeLocationNode({
name: "test/read-tool-plugin",