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
Clear terminal Assistant workflow status rows
rcourtman778eaac06e3d
diff --git a/docs/release-control/v6/internal/subsystems/ai-runtime.md b/docs/release-control/v6/internal/subsystems/ai-runtime.mdindex 8734c4d7bd..8c7c70849f 100644--- a/docs/release-control/v6/internal/subsystems/ai-runtime.md+++ b/docs/release-control/v6/internal/subsystems/ai-runtime.md@@ -540,18 +540,21 @@ timers when the stream already has a newer workflow/tool state.Assistant-authored analysis, and they must not become keyword routers,explore pre-passes, or instructions that choose the model's next action.Backend-emitted `workflow_state` rows that explain real provider, context, or- tool progress must remain visible in chronological transcript order after the- turn completes or fails; only local prompt placeholders such as initial- send/wait rows and unresolved interactive rows such as approvals, questions,- and pending tools are cleared on terminal events. The referenced OpenCode+ tool progress must remain visible while the turn is active, but they are+ transient runtime state rather than completed Assistant evidence. Terminal+ `done`, terminal `error`, and explicit Stop must clear workflow-status rows+ together with local prompt placeholders and unresolved interactive rows such+ as approvals, questions, and pending tools, while preserving durable+ model-route, content, reasoning, completed-tool, canceled-tool, and error+ evidence. The referenced OpenCodesource at fetched `origin/dev` commit`914a643ab26053df463ef78a1deadcdb223e8783` writes step, tool, and text partsas soon as they arrive in `packages/opencode/src/session/processor.ts` lines151-162, 322-339, 443-466, and 787-806, then renders completed text partsfrom stored part state in `packages/ui/src/components/message-part.tsx` lines- 1545-1551; Pulse adapts that part-style visibility by preserving real- workflow activity as evidence rather than collapsing it into an invisible- wait state.+ 1545-1551; Pulse adapts that part-style visibility by keeping live workflow+ activity visible without storing stale provider-start or waiting labels as+ completed transcript evidence.Selected-provider startup copy must describe the provider route as activelystarting the response (for example, `<Provider> is starting the response.`)rather than as a passive wait label, while preserving the samediff --git a/frontend-modern/src/components/AI/Chat/__tests__/useChat.test.ts b/frontend-modern/src/components/AI/Chat/__tests__/useChat.test.tsindex c3bea860c2..2042afcce9 100644--- a/frontend-modern/src/components/AI/Chat/__tests__/useChat.test.ts+++ b/frontend-modern/src/components/AI/Chat/__tests__/useChat.test.ts@@ -2633,7 +2633,7 @@ describe('useChat', () => {dispose();});- it('done event removes unresolved interactive rows while preserving workflow activity', async () => {+ it('done event removes transient workflow and unresolved interactive rows', async () => {const { getFireEvent } = setupWithEventCapture();const { value: chat, dispose } = withRoot(() => useChat({ sessionId: 's' }));@@ -2674,17 +2674,11 @@ describe('useChat', () => {expect(assistant.pendingTools).toEqual([]);expect(assistant.pendingApprovals).toEqual([]);expect(assistant.pendingQuestions).toEqual([]);- expect(assistant.streamEvents?.map((event) => event.type)).toEqual([- 'workflow_status',- 'content',- ]);+ expect(assistant.streamEvents?.map((event) => event.type)).toEqual(['content']);expect(assistant.streamEvents?.[0]).toEqual(expect.objectContaining({- type: 'workflow_status',- workflowStatus: expect.objectContaining({- phase: 'provider_start',- message: 'OpenRouter is starting the response.',- }),+ type: 'content',+ content: 'partial response',}),);dispose();@@ -2707,7 +2701,7 @@ describe('useChat', () => {dispose();});- it('error event removes unresolved interactive rows while preserving workflow activity', async () => {+ it('error event removes transient workflow and unresolved interactive rows', async () => {const { getFireEvent } = setupWithEventCapture();const { value: chat, dispose } = withRoot(() => useChat({ sessionId: 's' }));@@ -2749,17 +2743,11 @@ describe('useChat', () => {expect(assistant.pendingTools).toEqual([]);expect(assistant.pendingApprovals).toEqual([]);expect(assistant.pendingQuestions).toEqual([]);- expect(assistant.streamEvents?.map((event) => event.type)).toEqual([- 'workflow_status',- 'content',- ]);+ expect(assistant.streamEvents?.map((event) => event.type)).toEqual(['content']);expect(assistant.streamEvents?.[0]).toEqual(expect.objectContaining({- type: 'workflow_status',- workflowStatus: expect.objectContaining({- phase: 'provider_start',- message: 'OpenRouter is starting the response.',- }),+ type: 'content',+ content: 'partial response',}),);dispose();diff --git a/frontend-modern/src/components/AI/Chat/hooks/useChat.ts b/frontend-modern/src/components/AI/Chat/hooks/useChat.tsindex 7ecd131a7f..bf13ca96de 100644--- a/frontend-modern/src/components/AI/Chat/hooks/useChat.ts+++ b/frontend-modern/src/components/AI/Chat/hooks/useChat.ts@@ -272,6 +272,7 @@ export function useChat(options: UseChatOptions = {}) {if (!events) return events;return streamEventsWithoutLocalPromptProgressRows(events).filter((event) =>+ event.type !== 'workflow_status' &&event.type !== 'pending_tool' &&event.type !== 'approval' &&event.type !== 'question',