(v: PromptValue)
| 423 | type PromptValue = string | ContentBlockParam[] |
| 424 | |
| 425 | function toBlocks(v: PromptValue): ContentBlockParam[] { |
| 426 | return typeof v === 'string' ? [{ type: 'text', text: v }] : v |
| 427 | } |
| 428 | |
| 429 | /** |
| 430 | * Join prompt values from multiple queued commands into one. Strings are |
nothing calls this directly
no outgoing calls
no test coverage detected