{statusLabel}
{#if toolRequest}
{toolRequest}
{/if}
{relTime}
{#if status === "failed"}
{proposal?.tool_result?.error || "Patch failed"}
{:else if sections.length === 0}
No diff sections returned.
{:else}
{#each sections as s}
{s.header}
{#if s.body_text && !s.is_negative}
{s.body_text}
{:else}
{#each s.tokens || [] as t}
{t}
{/each}
{/if}
{/each}
{/if} {#if canAct}
onAccept(proposalId)} >Accept
onReject(proposalId)} >Reject
{/if}