refactor(tool): make tool init effectful

This commit is contained in:
Kit Langton
2026-04-10 23:34:39 -04:00
parent 2868000c20
commit 6d95e36d94
14 changed files with 66 additions and 65 deletions

View File

@@ -45,7 +45,7 @@ const resolve = () =>
runtime.runPromise(
Effect.gen(function* () {
const info = yield* EditTool
return yield* Effect.promise(() => info.init())
return yield* info.init()
}),
)