{#snippet copyIcon(done: boolean)} {/snippet}
you · shell
${command.command}
{#if success}{:else if command.status === 'running'}{/if}{status} {#if onopen}{/if}
{#if output}
{expanded ? output : preview}
{:else}

{command.status === 'running' ? 'Waiting for output…' : 'No output.'}

{/if} {#if command.error}

{command.error}

{/if} {#if command.truncated}

Capture hit the 16 MiB retention limit; later output wasn’t retained.

{/if} {#if error}{/if} {#if output || next !== null || command.status === 'running'}
{#if expandable}{/if} {#if expanded && next !== null}{/if} {#if output}{/if} {#if command.status === 'running'}{/if} {#if command.output_bytes > 0}{partial ? `${size(captured)} of ` : ''}{size(command.output_bytes)}{/if}
{/if}