chore: generate

This commit is contained in:
opencode-agent[bot]
2026-04-12 00:03:01 +00:00
parent 1a509d62a0
commit 1eacc3c339
+2 -2
View File
@@ -355,14 +355,14 @@ Route handlers should wrap their entire body in a single `AppRuntime.runPromise(
```ts ```ts
// Before — one facade call per service // Before — one facade call per service
async (c) => { ;async (c) => {
await SessionRunState.assertNotBusy(id) await SessionRunState.assertNotBusy(id)
await Session.removeMessage({ sessionID: id, messageID }) await Session.removeMessage({ sessionID: id, messageID })
return c.json(true) return c.json(true)
} }
// After — one Effect.gen, yield services from context // After — one Effect.gen, yield services from context
async (c) => { ;async (c) => {
await AppRuntime.runPromise( await AppRuntime.runPromise(
Effect.gen(function* () { Effect.gen(function* () {
const state = yield* SessionRunState.Service const state = yield* SessionRunState.Service