chore: generate

This commit is contained in:
opencode-agent[bot]
2026-05-11 01:41:26 +00:00
parent 4100fcbd17
commit 38e4540119
+4 -4
View File
@@ -1389,9 +1389,8 @@ NOTE: At any point in time through this workflow you should feel free to ask the
return { info, parts } return { info, parts }
}, Effect.scoped) }, Effect.scoped)
const prompt: (input: PromptInput) => Effect.Effect<MessageV2.WithParts> = Effect.fn("SessionPrompt.prompt")(function* ( const prompt: (input: PromptInput) => Effect.Effect<MessageV2.WithParts> = Effect.fn("SessionPrompt.prompt")(
input: PromptInput, function* (input: PromptInput) {
) {
const session = yield* sessions.get(input.sessionID).pipe(Effect.orDie) const session = yield* sessions.get(input.sessionID).pipe(Effect.orDie)
yield* revert.cleanup(session) yield* revert.cleanup(session)
const message = yield* createUserMessage(input) const message = yield* createUserMessage(input)
@@ -1408,7 +1407,8 @@ NOTE: At any point in time through this workflow you should feel free to ask the
if (input.noReply === true) return message if (input.noReply === true) return message
return yield* loop({ sessionID: input.sessionID }) return yield* loop({ sessionID: input.sessionID })
}) },
)
const lastAssistant = Effect.fnUntraced(function* (sessionID: SessionID) { const lastAssistant = Effect.fnUntraced(function* (sessionID: SessionID) {
const match = yield* sessions.findMessage(sessionID, (m) => m.info.role !== "user") const match = yield* sessions.findMessage(sessionID, (m) => m.info.role !== "user")