()
| 123 | * Use with addPendingImageFromFile's replacePlaceholder parameter. |
| 124 | */ |
| 125 | export function addClipboardPlaceholder(): string { |
| 126 | const placeholderPath = `clipboard:pending-${++clipboardPlaceholderCounter}` |
| 127 | useChatStore.getState().addPendingImage({ |
| 128 | path: placeholderPath, |
| 129 | filename: 'clipboard image', |
| 130 | status: 'processing', |
| 131 | }) |
| 132 | return placeholderPath |
| 133 | } |
| 134 | |
| 135 | /** |
| 136 | * Add a pending image with an error note (e.g., unsupported format, not found). |
no outgoing calls
no test coverage detected