refactor(session): remove async facade exports (#22471)

This commit is contained in:
Kit Langton 2026-04-14 13:45:13 -04:00 committed by GitHub
commit 68384613be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 1163 additions and 971 deletions

View file

@ -76,7 +76,7 @@ function stubOps(opts?: { onPrompt?: (input: SessionPrompt.PromptInput) => void;
}
}
function reply(input: Parameters<typeof SessionPrompt.prompt>[0], text: string): MessageV2.WithParts {
function reply(input: SessionPrompt.PromptInput, text: string): MessageV2.WithParts {
const id = MessageID.ascending()
return {
info: {