(block, index)
| 324 | }; |
| 325 | } |
| 326 | function _temp(block, index) { |
| 327 | const blockLines = countCharInString(block.code, "\n") + 1; |
| 328 | return { |
| 329 | label: truncateLine(block.code, 60), |
| 330 | value: index, |
| 331 | description: [block.lang, blockLines > 1 ? `${blockLines} lines` : undefined].filter(Boolean).join(", ") || undefined |
| 332 | }; |
| 333 | } |
| 334 | export const call: LocalJSXCommandCall = async (onDone, context, args) => { |
| 335 | const texts = collectRecentAssistantTexts(context.messages); |
| 336 | if (texts.length === 0) { |
nothing calls this directly
no test coverage detected