Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Move Assistant stop control into activity dock
rcourtman0d69411e9d33
diff --git a/docs/release-control/v6/internal/subsystems/ai-runtime.md b/docs/release-control/v6/internal/subsystems/ai-runtime.mdindex c190560c1a..ba96ef3fb7 100644--- a/docs/release-control/v6/internal/subsystems/ai-runtime.md+++ b/docs/release-control/v6/internal/subsystems/ai-runtime.md@@ -558,7 +558,9 @@ runtime cost control, and shared AI transport surfaces.`workflow_state` exists, the active-turn footer must show the active startupstatus `Sending prompt` and derive elapsed time from the submitted, non-queueduser turn or assistant shell timestamp. Queued follow-up messages must not- reset that active-turn startup clock.+ reset that active-turn startup clock. The same active-turn footer owns the+ Stop affordance while a response is running, so interruption remains attached+ to the live status row instead of hiding only in the composer action cluster.The referenced OpenCode source at fetched `origin/dev` commit`0875203a6c726d7a37b5ffbb770cc433c98e7cd6` mutates typed message parts asevents arrive in `packages/opencode/src/cli/cmd/tui/context/sync.tsx`diff --git a/frontend-modern/src/components/AI/Chat/__tests__/AIChat.test.tsx b/frontend-modern/src/components/AI/Chat/__tests__/AIChat.test.tsxindex e58e533e48..ffbf77f37c 100644--- a/frontend-modern/src/components/AI/Chat/__tests__/AIChat.test.tsx+++ b/frontend-modern/src/components/AI/Chat/__tests__/AIChat.test.tsx@@ -2427,7 +2427,8 @@ describe('AIChat', () => {it('shows stop button when loading', () => {mockChat.isLoading.mockReturnValue(true);renderChat();- expect(screen.getByTitle('Stop')).toBeInTheDocument();+ const activityDock = screen.getByTestId('assistant-activity-dock');+ expect(activityDock).toContainElement(screen.getByTitle('Stop'));expect(screen.getByRole('button', { name: 'Queue follow-up' })).toBeInTheDocument();});@@ -2446,7 +2447,9 @@ describe('AIChat', () => {fireEvent.keyDown(textarea, { key: 'Escape' });expect(mockChat.stop).not.toHaveBeenCalled();- expect(screen.getByTitle('Stop response armed')).toBeInTheDocument();+ expect(screen.getByTestId('assistant-activity-dock')).toContainElement(+ screen.getByTitle('Stop response armed'),+ );fireEvent.keyDown(textarea, { key: 'Escape' });diff --git a/frontend-modern/src/components/AI/Chat/index.tsx b/frontend-modern/src/components/AI/Chat/index.tsxindex b5170484cb..94e639f972 100644--- a/frontend-modern/src/components/AI/Chat/index.tsx+++ b/frontend-modern/src/components/AI/Chat/index.tsx@@ -4491,33 +4491,52 @@ export const AIChat: Component<AIChatProps> = (props) => {<Show when={currentStatus()}><divclass="flex min-h-8 min-w-0 items-center gap-2 px-2.5 py-1.5 text-xs"- role="status"- aria-label="Assistant active turn status"- aria-live="polite">- <LoaderCircleIcon- class={`h-3.5 w-3.5 shrink-0 ${- currentStatus()?.type === 'generating'- ? 'text-emerald-500 dark:text-emerald-300'- : 'animate-spin text-blue-600 dark:text-blue-300'- }`}- aria-hidden="true"- />- <span class="min-w-0 flex-1 truncate font-medium">{currentStatusText()}</span>- <span class="flex shrink-0 gap-0.5" aria-hidden="true">- <span- class="h-1 w-1 rounded-full bg-blue-400 animate-bounce"- style="animation-delay: 0ms; animation-duration: 1s"- />- <span- class="h-1 w-1 rounded-full bg-blue-400 animate-bounce"- style="animation-delay: 150ms; animation-duration: 1s"- />- <span- class="h-1 w-1 rounded-full bg-blue-400 animate-bounce"- style="animation-delay: 300ms; animation-duration: 1s"+ <div+ class="flex min-w-0 flex-1 items-center gap-2"+ role="status"+ aria-label="Assistant active turn status"+ aria-live="polite"+ >+ <LoaderCircleIcon+ class={`h-3.5 w-3.5 shrink-0 ${+ currentStatus()?.type === 'generating'+ ? 'text-emerald-500 dark:text-emerald-300'+ : 'animate-spin text-blue-600 dark:text-blue-300'+ }`}+ aria-hidden="true"/>- </span>+ <span class="min-w-0 flex-1 truncate font-medium">+ {currentStatusText()}+ </span>+ <span class="flex shrink-0 gap-0.5" aria-hidden="true">+ <span+ class="h-1 w-1 rounded-full bg-blue-400 animate-bounce"+ style="animation-delay: 0ms; animation-duration: 1s"+ />+ <span+ class="h-1 w-1 rounded-full bg-blue-400 animate-bounce"+ style="animation-delay: 150ms; animation-duration: 1s"+ />+ <span+ class="h-1 w-1 rounded-full bg-blue-400 animate-bounce"+ style="animation-delay: 300ms; animation-duration: 1s"+ />+ </span>+ </div>+ <button+ type="button"+ onClick={stopActiveResponse}+ class={`inline-flex h-7 w-7 shrink-0 items-center justify-center rounded-md border bg-surface text-base-content shadow-sm transition-colors hover:bg-surface-hover ${+ interruptArmed()+ ? 'border-blue-400 ring-2 ring-blue-500/30'+ : 'border-border'+ }`}+ title={interruptArmed() ? 'Stop response armed' : 'Stop'}+ aria-label={interruptArmed() ? 'Stop response armed' : 'Stop response'}+ >+ <SquareIcon class="h-3.5 w-3.5" aria-hidden="true" />+ </button></div></Show><Show when={autonomousWarningVisible()}>@@ -4748,7 +4767,7 @@ export const AIChat: Component<AIChatProps> = (props) => {onKeyDown={handleKeyDown}placeholder={AI_CHAT_INPUT_PLACEHOLDER}rows={1}- class="max-h-40 min-h-[54px] flex-1 resize-none bg-transparent px-3.5 py-3.5 pr-24 text-sm leading-5 text-base-content placeholder-slate-400 focus:outline-none"+ class="max-h-40 min-h-[54px] flex-1 resize-none bg-transparent px-3.5 py-3.5 pr-14 text-sm leading-5 text-base-content placeholder-slate-400 focus:outline-none"/><div data-mention-autocomplete><MentionAutocomplete@@ -4768,21 +4787,6 @@ export const AIChat: Component<AIChatProps> = (props) => {visible={slashCommandActive()}/><div class="absolute bottom-2 right-2 flex items-center gap-1.5">- <Show when={chat.isLoading()}>- <button- type="button"- onClick={stopActiveResponse}- class={`flex h-9 w-9 items-center justify-center rounded-md border bg-surface text-base-content shadow-sm transition-colors hover:bg-surface-hover ${- interruptArmed()- ? 'border-blue-400 ring-2 ring-blue-500/30'- : 'border-border'- }`}- title={interruptArmed() ? 'Stop response armed' : 'Stop'}- aria-label={interruptArmed() ? 'Stop response armed' : 'Stop response'}- >- <SquareIcon class="h-4 w-4" />- </button>- </Show><buttontype="submit"disabled={!input().trim()}