- - {#if p.actor?.kind === 'ai'} - - 🤖 - {p.actor.displayName} - - schlägt vor - {:else} - - KI schlägt vor - {/if} - {#if showModuleBadge && p.intent.kind === 'toolCall'} - {@const mod = getTool(p.intent.toolName)?.module ?? '?'} - {mod} - {/if} - - - {formatIntent(p)} - - {#if p.rationale} - {p.rationale} - {/if} - - {#if rejectingId === p.id} - (e.preventDefault(), confirmReject(p))}> - - Warum ablehnen? (optional — hilft der KI beim nächsten Versuch) - - - - - Abbrechen - - - Ablehnen - - - - {:else} - - {/if} -