(v: PromptValue)
| 417 | type PromptValue = string | ContentBlockParam[] |
| 418 | |
| 419 | function toBlocks(v: PromptValue): ContentBlockParam[] { |
| 420 | return typeof v === 'string' ? [{ type: 'text', text: v }] : v |
| 421 | } |
| 422 | |
| 423 | /** |
| 424 | * Join prompt values from multiple queued commands into one. Strings are |
nothing calls this directly
no outgoing calls
no test coverage detected