{#if icon && true}
{@render icon?.()}
{/if}
{label}
{#snippet text()}
{label}
{#if path != ''}
{path}
{/if}
{#if showExploreHint}
double click, or click again, to explore
{/if}
{/snippet}
{#if id && id !== 'preprocessor' && id !== AGENT_STEP_ID && !id.startsWith('failure') && !id.startsWith('subflow:')}
{
e?.preventDefault()
e?.stopPropagation()
editId = !editId
onclick?.()
}}
>
{id}
{:else if id?.startsWith('subflow:')}
{id.substring('subflow:'.length)}
{/if}