(
uuid: string,
content: string,
options?: { isMeta?: boolean; toolUseResult?: unknown },
)
| 2 | import { resolveCanceledTurnRestoreMessage } from './localQueryTurnCancelRestore.js' |
| 3 | |
| 4 | function createUserMessage( |
| 5 | uuid: string, |
| 6 | content: string, |
| 7 | options?: { isMeta?: boolean; toolUseResult?: unknown }, |
| 8 | ) { |
| 9 | return { |
| 10 | type: 'user', |
| 11 | uuid, |
| 12 | isMeta: options?.isMeta ?? false, |
| 13 | toolUseResult: options?.toolUseResult, |
| 14 | message: { |
| 15 | content, |
| 16 | }, |
| 17 | } as never |
| 18 | } |
| 19 | |
| 20 | function createAssistantMessage(uuid: string) { |
| 21 | return { |
no outgoing calls
no test coverage detected