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
Expose Assistant command entry in composer
rcourtman8a06f98906d0
diff --git a/docs/release-control/v6/internal/subsystems/ai-runtime.md b/docs/release-control/v6/internal/subsystems/ai-runtime.mdindex ba96ef3fb7..d89f007fc4 100644--- a/docs/release-control/v6/internal/subsystems/ai-runtime.md+++ b/docs/release-control/v6/internal/subsystems/ai-runtime.md@@ -2141,6 +2141,19 @@ Those items stay visible and actionable, but they do not compete with thetranscript as separate top-of-drawer banners unless they are provider readinessor scoped handoff context surfaces with their own governed content.+Assistant command access follows the same OpenCode-referenced footer principle:+commands are reachable from prompt-adjacent chrome, not only from a hidden slash+draft. The referenced OpenCode source at fetched `dev` commit+`e82542b8023a8374f29c23b70ec019c8f256354e` builds the direct command surface in+`packages/opencode/src/cli/cmd/run/footer.command.tsx` (`RunCommandMenuBody`+with suggested actions, slash commands, and search) and keeps the footer command+entry discoverable from `packages/opencode/src/cli/cmd/run/footer.view.tsx`.+Pulse adapts that pattern for the web drawer by exposing the existing Assistant+commands dialog from the composer chrome. The button must use the same+`ASSISTANT_SLASH_COMMANDS` registry, `AssistantCommandHelpDialog`, and+`executeSlashCommand` path as `/help` and `/commands`; it must not introduce a+second command registry or a separate provider-bound prompt path.+Primary nav moved to governed platform/runtime destinations on 2026-05-16 andwas clarified on 2026-05-25 through `frontend-modern/src/App.tsx` and`frontend-modern/src/AppLayout.tsx`: the top of the app may expose canonicaldiff --git a/frontend-modern/src/components/AI/Chat/__tests__/AIChat.test.tsx b/frontend-modern/src/components/AI/Chat/__tests__/AIChat.test.tsxindex ffbf77f37c..e7b3bd83a9 100644--- a/frontend-modern/src/components/AI/Chat/__tests__/AIChat.test.tsx+++ b/frontend-modern/src/components/AI/Chat/__tests__/AIChat.test.tsx@@ -1741,6 +1741,18 @@ describe('AIChat', () => {expect(mockChat.sendMessage).not.toHaveBeenCalled();});+ it('opens Assistant command help from the composer chrome without sending a provider prompt', () => {+ renderChat();+ const textarea = screen.getByPlaceholderText('Ask about your infrastructure...');++ fireEvent.input(textarea, { target: { value: 'count devices' } });+ fireEvent.click(screen.getByRole('button', { name: 'Open Assistant commands' }));++ expect(screen.getByRole('dialog', { name: 'Assistant commands' })).toBeInTheDocument();+ expect(textarea).toHaveValue('count devices');+ expect(mockChat.sendMessage).not.toHaveBeenCalled();+ });+it('opens Assistant command help from /help without sending a provider prompt', async () => {renderChat();const textarea = screen.getByPlaceholderText('Ask about your infrastructure...');diff --git a/frontend-modern/src/components/AI/Chat/index.tsx b/frontend-modern/src/components/AI/Chat/index.tsxindex 94e639f972..ccdeedaad9 100644--- a/frontend-modern/src/components/AI/Chat/index.tsx+++ b/frontend-modern/src/components/AI/Chat/index.tsx@@ -27,6 +27,7 @@ import Undo2Icon from 'lucide-solid/icons/undo-2';import XIcon from 'lucide-solid/icons/x';import BookmarkIcon from 'lucide-solid/icons/bookmark';import CheckIcon from 'lucide-solid/icons/check';+import CircleHelpIcon from 'lucide-solid/icons/circle-help';import LoaderCircleIcon from 'lucide-solid/icons/loader-circle';import Minimize2Icon from 'lucide-solid/icons/minimize-2';import PlusIcon from 'lucide-solid/icons/plus';@@ -55,6 +56,7 @@ import {AI_CHAT_AUTONOMOUS_WARNING_DISMISS_LABEL,AI_CHAT_COLLAPSE_TITLE,AI_CHAT_CLOSE_LABEL,+ AI_CHAT_COMMAND_HELP_BUTTON_LABEL,AI_CHAT_CONTROL_MODE_LABEL,AI_CHAT_CONTROL_MODE_MENU_LABEL,AI_CHAT_COPY_LAST_ANSWER_ERROR_MESSAGE,@@ -3020,6 +3022,16 @@ export const AIChat: Component<AIChatProps> = (props) => {});};+ const openAssistantCommandHelp = () => {+ setShowSessions(false);+ setSessionRefreshLoading(false);+ resetSessionSearch();+ setMentionActive(false);+ closeSlashCommandAutocomplete({ clearTransientDraft: true });+ setShowControlMenu(false);+ setShowCommandHelp(true);+ };+const executeSlashCommand = (command: AssistantSlashCommandAction, args = '') => {const commandArgs = args.trim();if (command === 'models' && commandArgs) {@@ -3046,10 +3058,7 @@ export const AIChat: Component<AIChatProps> = (props) => {void handleCompactSession();break;case 'help':- setShowSessions(false);- setSessionRefreshLoading(false);- resetSessionSearch();- setShowCommandHelp(true);+ openAssistantCommandHelp();break;case 'models':setShowSessions(false);@@ -4821,6 +4830,16 @@ export const AIChat: Component<AIChatProps> = (props) => {onModelSelect={selectModel}onRefresh={() => loadModels(true)}/>+ <button+ type="button"+ onClick={openAssistantCommandHelp}+ class="flex h-7 w-7 shrink-0 items-center justify-center rounded-md border border-border bg-surface text-muted transition-colors hover:border-border hover:bg-surface-hover hover:text-base-content focus:outline-none focus:ring-2 focus:ring-blue-500/30"+ title={AI_CHAT_COMMAND_HELP_BUTTON_LABEL}+ aria-label={AI_CHAT_COMMAND_HELP_BUTTON_LABEL}+ data-testid="assistant-command-help-trigger"+ >+ <CircleHelpIcon class="h-3.5 w-3.5" aria-hidden="true" />+ </button><buttontype="button"onClick={() => cycleRecentModelRoute()}diff --git a/frontend-modern/src/utils/__tests__/aiChatPresentation.test.ts b/frontend-modern/src/utils/__tests__/aiChatPresentation.test.tsindex 91cbbc632d..b7341b442a 100644--- a/frontend-modern/src/utils/__tests__/aiChatPresentation.test.ts+++ b/frontend-modern/src/utils/__tests__/aiChatPresentation.test.ts@@ -4,6 +4,9 @@ import {AI_CHAT_AUTONOMOUS_WARNING_DISMISS_LABEL,AI_CHAT_CONTEXT_USED_LABEL,AI_CHAT_CLOSE_LABEL,+ AI_CHAT_COMMAND_HELP_BUTTON_LABEL,+ AI_CHAT_COMMAND_HELP_CLOSE_LABEL,+ AI_CHAT_COMMAND_HELP_TITLE,AI_CHAT_CONTROL_MODE_LABEL,AI_CHAT_CONTROL_MODE_MENU_LABEL,AI_CHAT_COPY_LAST_ANSWER_ERROR_MESSAGE,@@ -93,6 +96,9 @@ describe('aiChatPresentation', () => {expect(AI_CHAT_CONTROL_MODE_LABEL).toBe('Assistant control mode');expect(AI_CHAT_CONTROL_MODE_MENU_LABEL).toBe('Assistant control mode options');expect(AI_CHAT_SWITCH_TO_APPROVAL_LABEL).toBe('Switch Assistant control mode to Approval');+ expect(AI_CHAT_COMMAND_HELP_TITLE).toBe('Assistant commands');+ expect(AI_CHAT_COMMAND_HELP_BUTTON_LABEL).toBe('Open Assistant commands');+ expect(AI_CHAT_COMMAND_HELP_CLOSE_LABEL).toBe('Close Assistant commands');expect(AI_CHAT_SESSION_EMPTY_STATE).toBe('No previous assistant sessions');expect(AI_CHAT_SESSION_LOADING_STATE).toBe('Loading assistant sessions...');expect(AI_CHAT_SESSION_SEARCH_PLACEHOLDER).toBe('Search sessions...');diff --git a/frontend-modern/src/utils/aiChatPresentation.ts b/frontend-modern/src/utils/aiChatPresentation.tsindex cb350db2ea..b871744df1 100644--- a/frontend-modern/src/utils/aiChatPresentation.ts+++ b/frontend-modern/src/utils/aiChatPresentation.ts@@ -46,6 +46,7 @@ export const AI_CHAT_CONTROL_MODE_LABEL = 'Assistant control mode';export const AI_CHAT_CONTROL_MODE_MENU_LABEL = 'Assistant control mode options';export const AI_CHAT_SWITCH_TO_APPROVAL_LABEL = 'Switch Assistant control mode to Approval';export const AI_CHAT_COMMAND_HELP_TITLE = 'Assistant commands';+export const AI_CHAT_COMMAND_HELP_BUTTON_LABEL = 'Open Assistant commands';export const AI_CHAT_COMMAND_HELP_CLOSE_LABEL = 'Close Assistant commands';export const AI_CHAT_SESSION_EMPTY_STATE = 'No previous assistant sessions';export const AI_CHAT_SESSION_LOADING_STATE = 'Loading assistant sessions...';