MCPcopy Index your code
hub / github.com/codeaashu/claude-code / exportWithReactRenderer

Function exportWithReactRenderer

src/commands/export/export.tsx:49–52  ·  view source on GitHub ↗
(context: ToolUseContext)

Source from the content-addressed store, hash-verified

47 .replace(/^-|-$/g, ''); // Remove leading/trailing hyphens
48}
49async function exportWithReactRenderer(context: ToolUseContext): Promise<string> {
50 const tools = context.options.tools || [];
51 return renderMessagesToPlainText(context.messages, tools);
52}
53export async function call(onDone: LocalJSXCommandOnDone, context: ToolUseContext, args: string): Promise<React.ReactNode> {
54 // Render the conversation content
55 const content = await exportWithReactRenderer(context);

Callers 1

callFunction · 0.85

Calls 1

Tested by

no test coverage detected