Skip to content

armgit / Pulse

Public Imported from GitHub
0

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.

Tighten Assistant command control semantics

rcourtman8272ccfa2843
diff --git a/docs/release-control/v6/internal/subsystems/ai-runtime.md b/docs/release-control/v6/internal/subsystems/ai-runtime.md
index 2bef3945c9..745beb0295 100644
--- a/docs/release-control/v6/internal/subsystems/ai-runtime.md
+++ b/docs/release-control/v6/internal/subsystems/ai-runtime.md
@@ -195,6 +195,15 @@ runtime cost control, and shared AI transport surfaces.
value before trimming and by using a one-dispatch composer guard that still
releases immediately for intentional queued follow-ups during an active
turn.
+ Assistant drawer controls are part of that same prompt command surface. The
+ referenced OpenCode prompt source exposes command-named actions such as
+ prompt submit, session interrupt, prompt history movement, and prompt stash
+ operations through explicit command titles before those actions reach the
+ terminal UI. Pulse's browser drawer must therefore expose command-specific
+ accessible names and selected/expanded state for always-visible chat actions
+ such as New session, session history, collapse/close, autonomous-warning
+ recovery, and the control-mode selector instead of depending on title-only
+ icon controls or ambiguous short labels.
Failed-turn retry is part of that same local chat-runtime boundary: a
retryable in-memory assistant error may replay the original user turn's
structured mentions, finding id, approval override, handoff resources,
diff --git a/frontend-modern/src/components/AI/Chat/__tests__/AIChat.test.tsx b/frontend-modern/src/components/AI/Chat/__tests__/AIChat.test.tsx
index bd7d6bdf26..4d65ee82e0 100644
--- a/frontend-modern/src/components/AI/Chat/__tests__/AIChat.test.tsx
+++ b/frontend-modern/src/components/AI/Chat/__tests__/AIChat.test.tsx
@@ -1222,7 +1222,9 @@ describe('AIChat', () => {
it('renders New button', () => {
renderChat();
- expect(screen.getByText('New')).toBeInTheDocument();
+ expect(
+ screen.getByRole('button', { name: 'Start new Assistant session' }),
+ ).toBeInTheDocument();
});
it('uses docked layout on wide viewports', () => {
@@ -1253,7 +1255,9 @@ describe('AIChat', () => {
const headerActions = screen.getByTestId('assistant-header-actions');
const routeControls = screen.getByTestId('assistant-composer-route-controls');
const modelSelector = screen.getByTestId('model-selector');
- const controlButton = screen.getByTitle('Control mode');
+ const controlButton = screen.getByRole('button', {
+ name: 'Assistant control mode: Read-only',
+ });
expect(closeButton).toHaveClass('order-2');
expect(headerActions).toHaveClass('order-3');
@@ -1273,7 +1277,7 @@ describe('AIChat', () => {
it('calls onClose when close button is clicked', () => {
const onClose = vi.fn();
renderChat(onClose);
- const closeBtn = screen.getByTitle('Close panel');
+ const closeBtn = screen.getByRole('button', { name: 'Close Pulse Assistant' });
fireEvent.click(closeBtn);
expect(onClose).toHaveBeenCalledTimes(1);
});
@@ -1351,11 +1355,7 @@ describe('AIChat', () => {
fireEvent.submit(form!);
expect(mockChat.sendMessage).toHaveBeenCalledTimes(1);
- expect(mockChat.sendMessage).toHaveBeenCalledWith(
- 'duplicate prompt',
- undefined,
- undefined,
- );
+ expect(mockChat.sendMessage).toHaveBeenCalledWith('duplicate prompt', undefined, undefined);
});
it('releases the submit guard for the next intentional follow-up', async () => {
@@ -1514,7 +1514,9 @@ describe('AIChat', () => {
'Ask about your infrastructure...',
) as HTMLTextAreaElement;
- fireEvent.input(textarea, { target: { value: 'keep this draft while I check another page' } });
+ fireEvent.input(textarea, {
+ target: { value: 'keep this draft while I check another page' },
+ });
textarea.setSelectionRange(10, 10);
firstRender.unmount();
@@ -1546,7 +1548,9 @@ describe('AIChat', () => {
const firstRender = renderChat();
mockChatMessagesProps.at(-1)?.onEditQueuedFollowUp?.('queued-1');
- let textarea = screen.getByPlaceholderText('Ask about your infrastructure...') as HTMLTextAreaElement;
+ let textarea = screen.getByPlaceholderText(
+ 'Ask about your infrastructure...',
+ ) as HTMLTextAreaElement;
await waitFor(() => expect(textarea.value).toBe('queued scoped prompt'));
firstRender.unmount();
@@ -1554,7 +1558,9 @@ describe('AIChat', () => {
mockChat.queuedFollowUpCount.mockReturnValue(0);
renderChat();
- textarea = screen.getByPlaceholderText('Ask about your infrastructure...') as HTMLTextAreaElement;
+ textarea = screen.getByPlaceholderText(
+ 'Ask about your infrastructure...',
+ ) as HTMLTextAreaElement;
await waitFor(() => expect(textarea.value).toBe('queued scoped prompt'));
fireEvent.input(textarea, { target: { value: 'edited scoped prompt' } });
fireEvent.keyDown(textarea, { key: 'Enter' });
@@ -1785,7 +1791,25 @@ describe('AIChat', () => {
it('opens control menu on click', () => {
renderChat();
- fireEvent.click(screen.getByTitle('Control mode'));
+ const controlButton = screen.getByRole('button', {
+ name: 'Assistant control mode: Read-only',
+ });
+ expect(controlButton).toHaveAttribute('aria-expanded', 'false');
+
+ fireEvent.click(controlButton);
+
+ expect(controlButton).toHaveAttribute('aria-expanded', 'true');
+ expect(
+ screen.getByRole('menu', { name: 'Assistant control mode options' }),
+ ).toBeInTheDocument();
+ expect(screen.getByRole('menuitemradio', { name: /Read-only/ })).toHaveAttribute(
+ 'aria-checked',
+ 'true',
+ );
+ expect(screen.getByRole('menuitemradio', { name: /Approval/ })).toHaveAttribute(
+ 'aria-checked',
+ 'false',
+ );
expect(screen.getByText('Default control mode')).toBeInTheDocument();
expect(screen.getByText('No commands or control actions')).toBeInTheDocument();
expect(screen.getByText('Ask before running commands')).toBeInTheDocument();
@@ -1798,7 +1822,7 @@ describe('AIChat', () => {
describe('session management', () => {
it('starts a blank conversation on New button click', async () => {
renderChat();
- fireEvent.click(screen.getByText('New'));
+ fireEvent.click(screen.getByRole('button', { name: 'Start new Assistant session' }));
await waitFor(() => {
expect(mockChat.newSession).toHaveBeenCalledTimes(1);
});
@@ -1815,7 +1839,7 @@ describe('AIChat', () => {
};
renderChat();
- fireEvent.click(screen.getByText('New'));
+ fireEvent.click(screen.getByRole('button', { name: 'Start new Assistant session' }));
await waitFor(() => {
expect(mockAiChatStore.clearContext).toHaveBeenCalledTimes(1);
@@ -1827,7 +1851,7 @@ describe('AIChat', () => {
const textarea = screen.getByPlaceholderText('Ask about your infrastructure...');
textarea.blur();
- fireEvent.click(screen.getByText('New'));
+ fireEvent.click(screen.getByRole('button', { name: 'Start new Assistant session' }));
await waitFor(() => {
expect(mockChat.newSession).toHaveBeenCalledTimes(1);
@@ -1847,7 +1871,7 @@ describe('AIChat', () => {
};
renderChat();
- fireEvent.click(screen.getByText('New'));
+ fireEvent.click(screen.getByRole('button', { name: 'Start new Assistant session' }));
await waitFor(() => {
expect(mockChat.newSession).toHaveBeenCalledTimes(1);
@@ -1862,7 +1886,9 @@ describe('AIChat', () => {
fireEvent.click(sessionButton);
await waitFor(() => {
expect(sessionButton).toHaveAttribute('aria-expanded', 'true');
- expect(screen.getByRole('dialog', { name: 'Pulse Assistant sessions' })).toBeInTheDocument();
+ expect(
+ screen.getByRole('dialog', { name: 'Pulse Assistant sessions' }),
+ ).toBeInTheDocument();
expect(
screen.getByRole('listbox', { name: 'Assistant session history' }),
).toBeInTheDocument();
@@ -3024,7 +3050,12 @@ describe('AIChat', () => {
});
renderChat();
await waitFor(() => {
- expect(screen.getByText('Switch to Approval')).toBeInTheDocument();
+ expect(
+ screen.getByRole('button', { name: 'Switch Assistant control mode to Approval' }),
+ ).toBeInTheDocument();
+ expect(
+ screen.getByRole('button', { name: 'Dismiss autonomous control warning' }),
+ ).toBeInTheDocument();
});
});
diff --git a/frontend-modern/src/components/AI/Chat/index.tsx b/frontend-modern/src/components/AI/Chat/index.tsx
index a78d06b318..0de1fa5689 100644
--- a/frontend-modern/src/components/AI/Chat/index.tsx
+++ b/frontend-modern/src/components/AI/Chat/index.tsx
@@ -32,13 +32,19 @@ import {
} from '@/stores/aiRuntimeState';
import { logger } from '@/utils/logger';
import {
+ AI_CHAT_AUTONOMOUS_WARNING_DISMISS_LABEL,
AI_CHAT_COLLAPSE_TITLE,
+ AI_CHAT_CLOSE_LABEL,
+ AI_CHAT_CONTROL_MODE_LABEL,
+ AI_CHAT_CONTROL_MODE_MENU_LABEL,
AI_CHAT_DISCOVERY_HINT_BODY,
+ AI_CHAT_DISCOVERY_HINT_DISMISS_LABEL,
AI_CHAT_DISCOVERY_HINT_TITLE,
AI_CHAT_DRAWER_TITLE,
AI_CHAT_INPUT_PLACEHOLDER,
AI_CHAT_LAST_TURN_USAGE_LABEL,
AI_CHAT_NEW_SESSION_BUTTON_TITLE,
+ AI_CHAT_NEW_SESSION_MENU_ARIA_LABEL,
AI_CHAT_NEW_SESSION_MENU_LABEL,
AI_CHAT_NEW_SESSION_SHORT_LABEL,
AI_CHAT_PROVIDER_READINESS_RETRY_LABEL,
@@ -52,6 +58,7 @@ import {
AI_CHAT_SESSION_SEARCH_LOADING_STATE,
AI_CHAT_SESSION_SEARCH_PLACEHOLDER,
AI_CHAT_SESSION_SEARCH_TITLE,
+ AI_CHAT_SWITCH_TO_APPROVAL_LABEL,
getAIChatProviderReadinessPresentation,
} from '@/utils/aiChatPresentation';
import {
@@ -2228,9 +2235,11 @@ export const AIChat: Component<AIChatProps> = (props) => {
{/* Floating Close Handle (Desktop docked layout only) */}
<Show when={!isOverlayLayout()}>
<button
+ type="button"
onClick={props.onClose}
class="hidden sm:flex absolute left-0 top-1/2 -translate-x-full -translate-y-1/2 items-center justify-center w-8 py-3 rounded-l-lg bg-surface text-blue-600 dark:text-blue-400 border border-r-0 border-border hover:bg-surface-hover hover:text-blue-700 dark:hover:text-blue-300 transition-colors z-50 cursor-pointer"
title={AI_CHAT_COLLAPSE_TITLE}
+ aria-label={AI_CHAT_COLLAPSE_TITLE}
>
<svg
class="h-5 w-5 flex-shrink-0"
@@ -2259,9 +2268,11 @@ export const AIChat: Component<AIChatProps> = (props) => {
>
{/* New chat */}
<button
+ type="button"
onClick={handleNewConversation}
class="flex flex-shrink-0 items-center gap-1.5 px-2.5 py-1.5 text-[11px] text-muted hover:text-base-content rounded-md border border-border hover:border-border bg-surface transition-colors"
title={AI_CHAT_NEW_SESSION_BUTTON_TITLE}
+ aria-label={AI_CHAT_NEW_SESSION_BUTTON_TITLE}
>
<svg class="w-3.5 h-3.5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path
@@ -2277,6 +2288,7 @@ export const AIChat: Component<AIChatProps> = (props) => {
{/* Session picker */}
<div class="relative" data-dropdown>
<button
+ type="button"
ref={sessionButtonRef}
onClick={() => {
void handleToggleSessions();
@@ -2308,8 +2320,10 @@ export const AIChat: Component<AIChatProps> = (props) => {
}}
>
<button
+ type="button"
onClick={handleNewConversation}
class="w-full px-3 py-2.5 text-left text-sm flex items-center gap-2 text-blue-600 dark:text-blue-400 hover:bg-blue-50 dark:hover:bg-blue-900 border-b border-border"
+ aria-label={AI_CHAT_NEW_SESSION_MENU_ARIA_LABEL}
>
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path
@@ -2435,13 +2449,14 @@ export const AIChat: Component<AIChatProps> = (props) => {
{/* Close button (Always visible as fallback) */}
<button
+ type="button"
onClick={(e) => {
e.stopPropagation();
props.onClose();
}}
class="order-2 flex h-9 w-9 flex-shrink-0 items-center justify-center rounded-md hover:text-base-content hover:bg-surface-hover transition-colors sm:order-none"
- title="Close panel"
- aria-label="Close Pulse Assistant"
+ title={AI_CHAT_CLOSE_LABEL}
+ aria-label={AI_CHAT_CLOSE_LABEL}
data-testid="assistant-close-button"
>
<XIcon class="h-5 w-5" />
@@ -2459,15 +2474,19 @@ export const AIChat: Component<AIChatProps> = (props) => {
<span>Commands execute without approval.</span>
<div class="flex items-center gap-2">
<button
+ type="button"
onClick={() => updateControlLevel('controlled')}
class="px-2 py-1 rounded-md border border-red-200 dark:border-red-800 bg-surface dark:bg-red-900 text-[10px] font-medium text-red-700 dark:text-red-200 hover:bg-red-100 dark:hover:bg-red-900"
+ aria-label={AI_CHAT_SWITCH_TO_APPROVAL_LABEL}
>
Switch to Approval
</button>
<button
+ type="button"
onClick={() => setAutonomousBannerDismissed(true)}
class="p-1 rounded-md text-red-400 hover:text-red-600 dark:hover:text-red-200 hover:bg-red-100 dark:hover:bg-red-900 transition-colors"
- title="Dismiss"
+ title={AI_CHAT_AUTONOMOUS_WARNING_DISMISS_LABEL}
+ aria-label={AI_CHAT_AUTONOMOUS_WARNING_DISMISS_LABEL}
>
<svg class="w-3.5 h-3.5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path
@@ -2570,9 +2589,11 @@ export const AIChat: Component<AIChatProps> = (props) => {
</span>
</div>
<button
+ type="button"
onClick={() => setDiscoveryHintDismissed(true)}
class="p-1 rounded hover:bg-cyan-100 dark:hover:bg-cyan-800 text-cyan-500 dark:text-cyan-400"
- title="Dismiss"
+ title={AI_CHAT_DISCOVERY_HINT_DISMISS_LABEL}
+ aria-label={AI_CHAT_DISCOVERY_HINT_DISMISS_LABEL}
>
<svg class="w-3.5 h-3.5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path
@@ -2878,12 +2899,18 @@ export const AIChat: Component<AIChatProps> = (props) => {
<div class="relative" data-dropdown>
<button
+ type="button"
onClick={() => setShowControlMenu(!showControlMenu())}
class={`flex flex-shrink-0 items-center gap-1.5 px-2.5 py-1.5 text-[11px] font-medium rounded-md border transition-colors ${controlPresentation().pillClassName} ${controlSaving() ? 'opacity-70 cursor-wait' : 'hover:opacity-90'}`}
- title="Control mode"
+ title={AI_CHAT_CONTROL_MODE_LABEL}
+ aria-label={`${AI_CHAT_CONTROL_MODE_LABEL}: ${controlPresentation().label}`}
+ aria-haspopup="menu"
+ aria-expanded={showControlMenu()}
disabled={controlSaving()}
>
- <span class={`h-1.5 w-1.5 rounded-full ${controlPresentation().dotClassName}`} />
+ <span
+ class={`h-1.5 w-1.5 rounded-full ${controlPresentation().dotClassName}`}
+ />
<span>{controlPresentation().label}</span>
<svg class="w-3.5 h-3.5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path
@@ -2896,11 +2923,18 @@ export const AIChat: Component<AIChatProps> = (props) => {
</button>
<Show when={showControlMenu()}>
- <div class="absolute bottom-full left-0 z-50 mb-2 w-60 overflow-hidden rounded-md border border-border bg-surface shadow-sm">
+ <div
+ class="absolute bottom-full left-0 z-50 mb-2 w-60 overflow-hidden rounded-md border border-border bg-surface shadow-sm"
+ role="menu"
+ aria-label={AI_CHAT_CONTROL_MODE_MENU_LABEL}
+ >
<div class="border-b border-border px-3 py-2 text-[11px] text-muted">
Default control mode
</div>
<button
+ type="button"
+ role="menuitemradio"
+ aria-checked={controlLevel() === 'read_only'}
class={`w-full text-left px-3 py-2.5 text-xs hover:bg-surface-hover transition-colors ${controlLevel() === 'read_only' ? getAIChatControlLevelPresentation('read_only').selectedClassName : ''}`}
onClick={() => updateControlLevel('read_only')}
>
@@ -2912,6 +2946,9 @@ export const AIChat: Component<AIChatProps> = (props) => {
</div>
</button>
<button
+ type="button"
+ role="menuitemradio"
+ aria-checked={controlLevel() === 'controlled'}
class={`w-full text-left px-3 py-2.5 text-xs hover:bg-surface-hover transition-colors ${controlLevel() === 'controlled' ? getAIChatControlLevelPresentation('controlled').selectedClassName : ''}`}
onClick={() => updateControlLevel('controlled')}
>
@@ -2923,6 +2960,9 @@ export const AIChat: Component<AIChatProps> = (props) => {
</div>
</button>
<button
+ type="button"
+ role="menuitemradio"
+ aria-checked={controlLevel() === 'autonomous'}
class={`w-full text-left px-3 py-2.5 text-xs hover:bg-surface-hover transition-colors ${controlLevel() === 'autonomous' ? getAIChatControlLevelPresentation('autonomous').selectedClassName : ''}`}
onClick={() => updateControlLevel('autonomous')}
>
diff --git a/frontend-modern/src/utils/__tests__/aiChatPresentation.test.ts b/frontend-modern/src/utils/__tests__/aiChatPresentation.test.ts
index 46b53cc583..3cd48cd763 100644
--- a/frontend-modern/src/utils/__tests__/aiChatPresentation.test.ts
+++ b/frontend-modern/src/utils/__tests__/aiChatPresentation.test.ts
@@ -1,14 +1,21 @@
import { describe, expect, it } from 'vitest';
import {
AI_CHAT_ASSISTANT_MESSAGE_LABEL,
+ AI_CHAT_AUTONOMOUS_WARNING_DISMISS_LABEL,
AI_CHAT_CONTEXT_USED_LABEL,
+ AI_CHAT_CLOSE_LABEL,
+ AI_CHAT_CONTROL_MODE_LABEL,
+ AI_CHAT_CONTROL_MODE_MENU_LABEL,
AI_CHAT_DISCOVERY_HINT_BODY,
+ AI_CHAT_DISCOVERY_HINT_DISMISS_LABEL,
AI_CHAT_DISCOVERY_HINT_TITLE,
AI_CHAT_DRAWER_SUBTITLE,
AI_CHAT_DRAWER_TITLE,
AI_CHAT_LAUNCHER_ARIA_LABEL,
AI_CHAT_LAST_TURN_USAGE_LABEL,
AI_CHAT_MODEL_SELECTOR_EMPTY_STATE,
+ AI_CHAT_NEW_SESSION_BUTTON_TITLE,
+ AI_CHAT_NEW_SESSION_MENU_ARIA_LABEL,
AI_CHAT_NEW_SESSION_MENU_LABEL,
AI_CHAT_NEW_SESSION_SHORT_LABEL,
AI_CHAT_PROVIDER_READINESS_RETRY_LABEL,
@@ -23,6 +30,7 @@ import {
AI_CHAT_SESSION_SEARCH_LOADING_STATE,
AI_CHAT_SESSION_SEARCH_PLACEHOLDER,
AI_CHAT_SESSION_SEARCH_TITLE,
+ AI_CHAT_SWITCH_TO_APPROVAL_LABEL,
getAIChatProviderReadinessPresentation,
getAIChatLauncherTitle,
} from '@/utils/aiChatPresentation';
@@ -38,9 +46,17 @@ describe('aiChatPresentation', () => {
'Enable it in Settings so Pulse Assistant can reference real services, versions, and commands instead of generic guidance.',
);
expect(AI_CHAT_NEW_SESSION_SHORT_LABEL).toBe('New');
+ expect(AI_CHAT_NEW_SESSION_BUTTON_TITLE).toBe('Start new Assistant session');
expect(AI_CHAT_NEW_SESSION_MENU_LABEL).toBe('New session');
+ expect(AI_CHAT_NEW_SESSION_MENU_ARIA_LABEL).toBe('Start new Assistant session');
expect(AI_CHAT_LAUNCHER_ARIA_LABEL).toBe('Expand Pulse Assistant');
+ expect(AI_CHAT_CLOSE_LABEL).toBe('Close Pulse Assistant');
expect(AI_CHAT_SESSION_MENU_TITLE).toBe('Pulse Assistant sessions');
+ expect(AI_CHAT_AUTONOMOUS_WARNING_DISMISS_LABEL).toBe('Dismiss autonomous control warning');
+ expect(AI_CHAT_DISCOVERY_HINT_DISMISS_LABEL).toBe('Dismiss discovery context warning');
+ 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_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.ts
index 4a91ce0eda..d368b0485e 100644
--- a/frontend-modern/src/utils/aiChatPresentation.ts
+++ b/frontend-modern/src/utils/aiChatPresentation.ts
@@ -4,9 +4,16 @@ export const AI_CHAT_DRAWER_SUBTITLE =
export const AI_CHAT_COLLAPSE_TITLE = 'Collapse Pulse Assistant';
export const AI_CHAT_LAUNCHER_ARIA_LABEL = 'Expand Pulse Assistant';
export const AI_CHAT_SESSION_MENU_TITLE = 'Pulse Assistant sessions';
+export const AI_CHAT_CLOSE_LABEL = 'Close Pulse Assistant';
export const AI_CHAT_NEW_SESSION_SHORT_LABEL = 'New';
-export const AI_CHAT_NEW_SESSION_BUTTON_TITLE = 'New assistant session';
+export const AI_CHAT_NEW_SESSION_BUTTON_TITLE = 'Start new Assistant session';
export const AI_CHAT_NEW_SESSION_MENU_LABEL = 'New session';
+export const AI_CHAT_NEW_SESSION_MENU_ARIA_LABEL = 'Start new Assistant session';
+export const AI_CHAT_AUTONOMOUS_WARNING_DISMISS_LABEL = 'Dismiss autonomous control warning';
+export const AI_CHAT_DISCOVERY_HINT_DISMISS_LABEL = 'Dismiss discovery context warning';
+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_SESSION_EMPTY_STATE = 'No previous assistant sessions';
export const AI_CHAT_SESSION_LOADING_STATE = 'Loading assistant sessions...';
export const AI_CHAT_SESSION_SEARCH_PLACEHOLDER = 'Search sessions...';