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
Pace Assistant activity dock updates
rcourtman65cf18a8cfde
diff --git a/docs/release-control/v6/internal/subsystems/ai-runtime.md b/docs/release-control/v6/internal/subsystems/ai-runtime.mdindex 630d0420f4..f4129e8767 100644--- a/docs/release-control/v6/internal/subsystems/ai-runtime.md+++ b/docs/release-control/v6/internal/subsystems/ai-runtime.md@@ -1019,6 +1019,15 @@ runtime cost control, and shared AI transport surfaces.through transport-sized copy in the compact row. Pulse adapts that by keepingexact output type/size in the accessible label and Details panel while thevisible compact badge says only `output available`.+ The 2026-06-07 active-dock pacing slice rechecked current OpenCode+ `origin/dev` commit `e82542b8023a8374f29c23b70ec019c8f256354e` in+ `packages/tui/src/feature-plugins/system/session-v2.tsx`: `InlineTool`+ (lines 564-651) keeps one visible activity row that moves from pending copy+ to completed copy, while `Bash` (lines 702-740) keeps shell activity visible+ through the same inline/block transition. Pulse adapts that for the+ Assistant dock by pacing burst-arriving workflow status history locally so+ `Preparing context`, `Reading inventory`, and provider wait states appear in+ sequence; statuses that arrive one at a time still replace immediately.The referenced OpenCode source at fetched `origin/dev` commit`fa2b63f850fc0a23bec2bdff9e660450d3fe7913` also keeps assistant text,reasoning, and tool invocation as typed message parts indiff --git a/frontend-modern/src/components/AI/Chat/__tests__/AIChat.test.tsx b/frontend-modern/src/components/AI/Chat/__tests__/AIChat.test.tsxindex f0c930634f..aca561b118 100644--- a/frontend-modern/src/components/AI/Chat/__tests__/AIChat.test.tsx+++ b/frontend-modern/src/components/AI/Chat/__tests__/AIChat.test.tsx@@ -5187,7 +5187,9 @@ describe('AIChat', () => {expect(status).not.toHaveTextContent('Using Qwen: Qwen3.7 Plus via OpenRouter');});- it('shows the latest burst workflow progress immediately in the active turn status footer', () => {+ it('paces burst workflow progress in the active turn status footer', async () => {+ vi.useFakeTimers();+ vi.setSystemTime(1_200);const [isLoading, setIsLoading] = createSignal(false);const [messages, setMessages] = createSignal<ChatMessage[]>([]);const workflowStatusHistory = [@@ -5234,6 +5236,16 @@ describe('AIChat', () => {]);const status = screen.getByLabelText('Assistant active turn status');+ expect(status).toHaveTextContent('Preparing Pulse context.');+ expect(status).not.toHaveTextContent(+ 'Sent request to OpenRouter; waiting for the first token.',+ );++ await vi.advanceTimersByTimeAsync(650);+ expect(status).toHaveTextContent('Reading current Pulse inventory.');+ expect(status).not.toHaveTextContent('pulse_query');++ await vi.advanceTimersByTimeAsync(650);expect(status).toHaveTextContent('Sent request to OpenRouter; waiting for the first token.');expect(status).not.toHaveTextContent('Preparing Pulse context.');expect(status).not.toHaveTextContent('Reading current Pulse inventory with pulse_query.');diff --git a/frontend-modern/src/components/AI/Chat/index.tsx b/frontend-modern/src/components/AI/Chat/index.tsxindex 067288f379..b5170484cb 100644--- a/frontend-modern/src/components/AI/Chat/index.tsx+++ b/frontend-modern/src/components/AI/Chat/index.tsx@@ -7,6 +7,7 @@ import {For,createMemo,createEffect,+ untrack,} from 'solid-js';import { useNavigate } from '@solidjs/router';import { unwrap } from 'solid-js/store';@@ -169,12 +170,14 @@ import {import {latestWorkflowStatus,normalizeWorkflowStatusSequence,+ workflowStatusRenderKey,} from './workflowStatusPresentation';import type {ChatMessage,ModelRouteRecoveryOption,PendingApproval,PendingQuestion,+ WorkflowStatus,} from './types';import { formatIdentifierLabel } from '@/utils/textPresentation';@@ -190,6 +193,7 @@ const AI_CHAT_PINNED_SESSION_LIMIT = 30;const AI_CHAT_SESSION_TITLE_MAX_LENGTH = 120;const AI_CHAT_SESSION_SEARCH_DEBOUNCE_MS = 150;const AI_CHAT_SESSION_SEARCH_LIMIT = 30;+const AI_CHAT_WORKFLOW_STATUS_BURST_VISIBLE_MS = 650;const STRUCTURED_PATROL_CONTEXT_TARGETS = new Set(['patrol-configuration', 'patrol-run']);const STRUCTURED_RESOURCE_CONTEXT_HANDOFF_KINDS = new Set(['resource_context']);const AI_CHAT_CYCLE_RECENT_MODEL_LABEL = 'Cycle recent Assistant model';@@ -2383,20 +2387,112 @@ export const AIChat: Component<AIChatProps> = (props) => {message.workflowStatus,]);});- const displayedActiveWorkflowStatus = createMemo(() =>- latestWorkflowStatus(activeWorkflowStatusSequence()),- );+ const [displayedActiveWorkflowStatusKey, setDisplayedActiveWorkflowStatusKey] =+ createSignal('');+ const [pacingWorkflowStatusBurst, setPacingWorkflowStatusBurst] = createSignal(false);+ let lastWorkflowStatusSequenceFingerprint = '';+ let lastWorkflowStatusSequenceLength = 0;+ let workflowStatusAdvanceTimer: number | undefined;++ const clearWorkflowStatusAdvanceTimer = () => {+ if (workflowStatusAdvanceTimer) {+ window.clearTimeout(workflowStatusAdvanceTimer);+ workflowStatusAdvanceTimer = undefined;+ }+ };++ const scheduleWorkflowStatusAdvance = (keys: string[], currentIndex: number) => {+ clearWorkflowStatusAdvanceTimer();+ if (currentIndex >= keys.length - 1) {+ setPacingWorkflowStatusBurst(false);+ return;+ }++ setPacingWorkflowStatusBurst(true);+ workflowStatusAdvanceTimer = window.setTimeout(() => {+ const nextIndex = Math.min(currentIndex + 1, keys.length - 1);+ setDisplayedActiveWorkflowStatusKey(keys[nextIndex] || '');+ scheduleWorkflowStatusAdvance(keys, nextIndex);+ }, AI_CHAT_WORKFLOW_STATUS_BURST_VISIBLE_MS);+ };++ // Burst status histories can arrive in one render after cold starts. Pace+ // only those bursts so the dock shows visible progress instead of jumping.+ createEffect(() => {+ const sequence = activeWorkflowStatusSequence();+ const keys = sequence.map(workflowStatusRenderKey);+ const fingerprint = keys.join('\u001e');+ const previousFingerprint = lastWorkflowStatusSequenceFingerprint;+ const previousLength = lastWorkflowStatusSequenceLength;+ const sequenceChanged = fingerprint !== previousFingerprint;+ const addedCount = sequenceChanged ? Math.max(0, sequence.length - previousLength) : 0;++ lastWorkflowStatusSequenceFingerprint = fingerprint;+ lastWorkflowStatusSequenceLength = sequence.length;+ clearWorkflowStatusAdvanceTimer();++ if (sequence.length === 0) {+ setDisplayedActiveWorkflowStatusKey('');+ setPacingWorkflowStatusBurst(false);+ return;+ }++ const currentKey = untrack(displayedActiveWorkflowStatusKey);+ const currentIndex = keys.indexOf(currentKey);+ if (currentIndex === -1) {+ const initialIndex = sequence.length > 1 ? 0 : sequence.length - 1;+ setDisplayedActiveWorkflowStatusKey(keys[initialIndex] || '');+ if (initialIndex < sequence.length - 1) {+ scheduleWorkflowStatusAdvance(keys, initialIndex);+ } else {+ setPacingWorkflowStatusBurst(false);+ }+ return;+ }++ if (currentIndex >= sequence.length - 1) {+ setPacingWorkflowStatusBurst(false);+ return;+ }++ const pendingCount = sequence.length - currentIndex - 1;+ const shouldPace = untrack(pacingWorkflowStatusBurst) || addedCount > 1 || pendingCount > 1;+ if (shouldPace) {+ scheduleWorkflowStatusAdvance(keys, currentIndex);+ return;+ }++ setDisplayedActiveWorkflowStatusKey(keys[sequence.length - 1] || '');+ setPacingWorkflowStatusBurst(false);+ });++ onCleanup(clearWorkflowStatusAdvanceTimer);++ const displayedActiveWorkflowStatus = createMemo<WorkflowStatus | undefined>(() => {+ const sequence = activeWorkflowStatusSequence();+ const key = displayedActiveWorkflowStatusKey();+ if (key) {+ const matched = sequence.find((status) => workflowStatusRenderKey(status) === key);+ if (matched) return matched;+ }+ return latestWorkflowStatus(sequence);+ });+ const [currentStatusNow, setCurrentStatusNow] = createSignal(Date.now());const currentStatus = createMemo(() => {- const status = getAssistantActiveTurnStatus(chat.messages(), chat.isLoading());+ const status = getAssistantActiveTurnStatus(+ chat.messages(),+ chat.isLoading(),+ currentStatusNow(),+ );const message = activeAssistantMessage();- const latestWorkflowStatus = message?.workflowStatus;+ const latestWorkflow = message?.workflowStatus;const pacedWorkflowStatus = displayedActiveWorkflowStatus();- if (!status || !latestWorkflowStatus || !pacedWorkflowStatus) return status;+ if (!status || !latestWorkflow || !pacedWorkflowStatus) return status;- const latestWorkflowText = formatAssistantWorkflowStatus(latestWorkflowStatus);- const expectedType = latestWorkflowStatus.tool ? 'tool' : 'thinking';+ const latestWorkflowText = formatAssistantWorkflowStatus(latestWorkflow, currentStatusNow());+ const expectedType = latestWorkflow.tool ? 'tool' : 'thinking';const statusStartedAt = status.startedAt;- const workflowStartedAt = latestWorkflowStatus.startedAt;+ const workflowStartedAt = latestWorkflow.startedAt;if (!latestWorkflowText ||status.text !== latestWorkflowText ||@@ -2408,7 +2504,7 @@ export const AIChat: Component<AIChatProps> = (props) => {return status;}- const pacedText = formatAssistantWorkflowStatus(pacedWorkflowStatus);+ const pacedText = formatAssistantWorkflowStatus(pacedWorkflowStatus, currentStatusNow());if (!pacedText) return status;return {...status,@@ -2417,7 +2513,6 @@ export const AIChat: Component<AIChatProps> = (props) => {startedAt: pacedWorkflowStatus.startedAt,};});- const [currentStatusNow, setCurrentStatusNow] = createSignal(Date.now());createEffect(() => {const status = currentStatus();if (!status?.startedAt) return;@@ -2426,9 +2521,7 @@ export const AIChat: Component<AIChatProps> = (props) => {onCleanup(() => window.clearInterval(interval));});const currentStatusText = createMemo(() => {- const status =- getAssistantActiveTurnStatus(chat.messages(), chat.isLoading(), currentStatusNow()) ||- currentStatus();+ const status = currentStatus();if (!status) return '';if (!status.startedAt) return status.text;const elapsedSeconds = Math.max(0, Math.floor((currentStatusNow() - status.startedAt) / 1000));