feat(plugin): align hooks with client APIs

This commit is contained in:
Dax Raad
2026-07-03 18:12:22 -04:00
parent 650d774372
commit 6ae2fa5196
65 changed files with 981 additions and 667 deletions
+9 -1
View File
@@ -53,7 +53,15 @@ Review files`,
})
const command = yield* CommandV2.Service
yield* ConfigCommandPlugin.Plugin.effect(host({ command: { ...command, reload: command.reload } })).pipe(
yield* ConfigCommandPlugin.Plugin.effect(
host({
command: {
list: () => Effect.die("unused command.list"),
transform: command.transform,
reload: command.reload,
},
}),
).pipe(
Effect.provideService(
Config.Service,
Config.Service.of({