Something went wrong. Try again.
source dump of claude code forked from oppi.li/claude-code
Something went wrong. Try again.
398 B · 17 lines
TypeScript
at main
123456789101112131415161718import { performHeapDump } from '../../utils/heapDumpService.js'
export async function call(): Promise<{ type: 'text'; value: string }> { const result = await performHeapDump()
if (!result.success) { return { type: 'text', value: `Failed to create heap dump: ${result.error}`, } }
return { type: 'text', value: `${result.heapPath}\n${result.diagPath}`, }}