{#if lines.length === 0}
Waiting for Claude... Type a message below to start!
{:else}
{#each lines as line (line.id)}
{#if line.type === "thinking"}
{#if showThinking}
{/if}
{:else}
{formatTime(line.timestamp)}
{#if line.parentToolUseId}
{/if}
{#if line.cost && line.cost.costUsd > 0}
${line.cost.costUsd < 0.01
? line.cost.costUsd.toFixed(4)
: line.cost.costUsd.toFixed(3)}
{/if}
{#if getLinePrefix(line.type)}
{getLinePrefix(line.type)}
{/if}
{#if line.toolName}
[{line.toolName}]
{/if}
{#if line.type === "compact-prompt"}
{:else if line.type === "assistant" || line.type === "user"}
{:else if line.type === "tool" && isToolContentLong(maskPaths(line.content, hidePaths))}
{:else}
{/if}
{/if}
{/each}
{/if}