feat(plugin): restore ai request hook

This commit is contained in:
Dax Raad
2026-07-15 15:58:14 -04:00
parent b95a5dc259
commit f2f5eb6f16
19 changed files with 261 additions and 10 deletions
+3
View File
@@ -44,6 +44,9 @@ export const registerToolPlugin = <R>(plugin: {
Effect.gen(function* () {
const tools = yield* Tools.Service
const context = host({
ai: {
hook: () => Effect.succeed({ dispose: Effect.void }),
},
tool: {
transform: (callback) =>
Effect.gen(function* () {