{#if isThoughtOnly}
{:else if hasPending}
{:else if allDone}
{:else if hasRejected}
{:else}
{/if}
{isThoughtOnly
? hasPending
? $t('chat.thinking')
: $t('chat.edit.thought')
: hasPending
? $t('chat.exploring')
: $t('chat.explored')}
{#if !isThoughtOnly && summaryText}
{summaryText}
{/if}