MCPcopy Create free account
hub / github.com/codeaashu/claude-code / contentBlocksToString

Function contentBlocksToString

src/commands/review/ultrareviewCommand.tsx:6–8  ·  view source on GitHub ↗
(blocks: ContentBlockParam[])

Source from the content-addressed store, hash-verified

4import { checkOverageGate, confirmOverage, launchRemoteReview } from './reviewRemote.js';
5import { UltrareviewOverageDialog } from './UltrareviewOverageDialog.js';
6function contentBlocksToString(blocks: ContentBlockParam[]): string {
7 return blocks.map(b => b.type === 'text' ? b.text : '').filter(Boolean).join('\n');
8}
9async function launchAndDone(args: string, context: Parameters<LocalJSXCommandCall>[1], onDone: LocalJSXCommandOnDone, billingNote: string, signal?: AbortSignal): Promise<void> {
10 const result = await launchRemoteReview(args, context, billingNote);
11 // User hit Escape during the ~5s launch — the dialog already showed

Callers 1

launchAndDoneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected