configStore.toggleStreamerMode()} class="control-button streamer-toggle" class:streamer-active={streamerModeActive} title="Toggle Streamer Mode (Ctrl+Shift+S)" > {#if streamerModeActive}
LIVE
{:else}
Stream
{/if}
(showQuickActions = true)} class="control-button" title="Quick Actions" >
Actions
(showSnippetLibrary = true)} class="control-button" title="Snippet Library" >
Snippets
(showClipboardHistory = true)} class="control-button" title="Clipboard History" >
Clipboard
{#if costEstimate && isConnected && !isProcessing}
+{formatTokenCount(costEstimate.messageTokens)}
${costEstimate.estimatedCost.toFixed(4)}
{/if}
{#if isProcessing}
■
Stop
{:else}
{#if isSubmitting}
⏳
{:else} Send {/if}
{/if}
{#if showSnippetLibrary}
(showSnippetLibrary = false)} onInsert={handleSnippetInsert} /> {/if} {#if showQuickActions}
(showQuickActions = false)} onAction={handleQuickAction} /> {/if} {#if showClipboardHistory}
(showClipboardHistory = false)} onInsert={handleClipboardInsert} /> {/if} {#if contextMenuShow && textareaElement}
{/if}