refactor(plugin): move tool implementation to plugin (#34665)

This commit is contained in:
Kit Langton
2026-06-30 23:30:56 -04:00
committed by GitHub
parent c26f6f95f7
commit 1ce607c230
9 changed files with 230 additions and 221 deletions
+1
View File
@@ -14,6 +14,7 @@
"dependencies": {
"@opencode-ai/client": "workspace:*",
"@opencode-ai/core": "workspace:*",
"@opencode-ai/plugin": "workspace:*",
"@opencode-ai/server": "workspace:*",
"effect": "catalog:"
},
+2 -2
View File
@@ -1,2 +1,2 @@
export { Failure, RegistrationError, make } from "@opencode-ai/core/tool/tool"
export type { AnyTool, Content, Context, Definition } from "@opencode-ai/core/tool/tool"
export { Failure, RegistrationError, make } from "@opencode-ai/plugin/v2/effect/tool"
export type { AnyTool, Content, Context, Definition } from "@opencode-ai/plugin/v2/effect/tool"