refactor(plugin): scope context hook to session (#37175)

Co-authored-by: Dax Raad <d@ironbay.co>
This commit is contained in:
opencode-agent[bot]
2026-07-15 16:32:00 -04:00
committed by GitHub
co-authored by Dax Raad
parent f2f5eb6f16
commit f92d84746b
19 changed files with 85 additions and 97 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ export const registerToolPlugin = <R>(plugin: {
Effect.gen(function* () {
const tools = yield* Tools.Service
const context = host({
ai: {
session: {
hook: () => Effect.succeed({ dispose: Effect.void }),
},
tool: {