The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
feat(connections): refine browser desktop and wallet pages
Steven Enamakelc9f75d27cffc
diff --git a/app/src/components/desktop/DesktopConnectionPage.test.tsx b/app/src/components/desktop/DesktopConnectionPage.test.tsxindex ddb6f6a589..fda296fee6 100644--- a/app/src/components/desktop/DesktopConnectionPage.test.tsx+++ b/app/src/components/desktop/DesktopConnectionPage.test.tsx@@ -40,6 +40,7 @@ describe('Desktop connection', () => {throw new Error(`Unexpected method: ${method}`);});renderWithProviders(<DesktopConnectionPage />);+ expect(screen.getByText(/Early Alpha/)).toBeInTheDocument();expect(await screen.findByText('Screen Recording')).toBeInTheDocument();fireEvent.click(screen.getByRole('button', { name: 'Open settings' }));diff --git a/app/src/components/desktop/DesktopConnectionPage.tsx b/app/src/components/desktop/DesktopConnectionPage.tsxindex fce8bdf9cf..7b937906a8 100644--- a/app/src/components/desktop/DesktopConnectionPage.tsx+++ b/app/src/components/desktop/DesktopConnectionPage.tsx@@ -5,8 +5,11 @@ import { useT } from '../../lib/i18n/I18nContext';import { callCoreRpc, isLocalDesktopHost } from '../../services/coreRpcClient';import { openUrl } from '../../utils/openUrl';import SettingsTabbedPage from '../settings/layout/SettingsTabbedPage';+import { Alert, AlertDescription } from '../ui/Alert';+import Badge from '../ui/Badge';import Button from '../ui/Button';import Card from '../ui/Card';+import Separator from '../ui/Separator';export interface DesktopStatus {supported: boolean;@@ -184,10 +187,19 @@ export default function DesktopConnectionPage() {? t('common.error'): t('common.notAvailable');return (- <div key={kind} className="flex flex-wrap items-center justify-between gap-3 py-3">- <div>+ <div key={kind} className="flex flex-wrap items-center justify-between gap-3 py-3 first:pt-0">+ <div className="flex flex-wrap items-center gap-3"><p className="text-sm font-medium text-content">{label}</p>- <p className="text-xs text-content-muted">{stateLabel}</p>+ <Badge+ variant={+ value === 'granted' || value === 'not_required'+ ? 'success'+ : value === 'denied'+ ? 'danger'+ : 'neutral'+ }>+ {stateLabel}+ </Badge></div>{value !== 'granted' && value !== 'not_required' && url && (<Button variant="secondary" size="sm" onClick={() => void openSettings(kind)}>@@ -214,49 +226,72 @@ export default function DesktopConnectionPage() {{t('common.refresh')}</Button>}>- <div className="max-w-2xl space-y-4" data-testid="desktop-connection-page">- <Card title={t('desktop.title')} padded divided={false}>- {loading && <p className="text-sm text-content-muted">{t('common.loading')}</p>}- {!loading && status && (- <div className="space-y-4">- <p className="text-sm text-content-secondary">- {!status.supported- ? t('desktop.unsupported')- : !status.enabled- ? t('common.disabled')- : status.module_state === 'failed'- ? t('desktop.moduleUnavailable')- : status.module_state === 'ready' &&- status.accessibility === 'granted' &&- status.jev_ready- ? t('channels.status.connected')- : t('desktop.enabledPending')}- </p>- {status.reason && <p className="text-sm text-content-muted">{status.reason}</p>}- <p className="text-xs text-content-muted">{t('desktop.localOnly')}</p>- {status.supported && (- <Button onClick={() => void setEnabled()} disabled={busy}>- {status.enabled ? t('common.disable') : t('common.enable')}- </Button>- )}- </div>- )}- </Card>-- {status?.supported && (- <Card title={t('desktop.permissions')} padded>- {permissionRow('accessibility', status.accessibility)}- {permissionRow('screen_recording', status.screen_recording)}- <p className="py-3 text-xs text-content-muted">{t('desktop.captureNote')}</p>+ <div className="max-w-5xl space-y-4" data-testid="desktop-connection-page">+ <Alert variant="warning" role={undefined}>+ <AlertDescription>{t('connections.earlyAlphaNotice')}</AlertDescription>+ </Alert>+ <div className="grid gap-4 lg:grid-cols-2">+ <Card+ title={t('desktop.title')}+ padded+ divided={false}+ className={status && !status.supported ? 'lg:col-span-2' : undefined}>+ {loading && <p className="text-sm text-content-muted">{t('common.loading')}</p>}+ {!loading && status && (+ <div className="space-y-4">+ {!status.supported ? (+ <p className="text-sm text-content-secondary">{t('desktop.unsupported')}</p>+ ) : (+ <Badge+ variant={+ !status.enabled+ ? 'neutral'+ : status.module_state === 'ready' &&+ status.accessibility === 'granted' &&+ status.jev_ready+ ? 'success'+ : 'warning'+ }>+ {!status.enabled+ ? t('common.disabled')+ : status.module_state === 'failed'+ ? t('desktop.moduleUnavailable')+ : status.module_state === 'ready' &&+ status.accessibility === 'granted' &&+ status.jev_ready+ ? t('channels.status.connected')+ : t('desktop.enabledPending')}+ </Badge>+ )}+ {status.reason && <p className="text-sm text-content-muted">{status.reason}</p>}+ <p className="text-sm text-content-muted">{t('desktop.localOnly')}</p>+ {status.supported && (+ <Button onClick={() => void setEnabled()} disabled={busy}>+ {status.enabled ? t('common.disable') : t('common.enable')}+ </Button>+ )}+ </div>+ )}</Card>- )}++ {status?.supported && (+ <Card title={t('desktop.permissions')} padded divided={false}>+ {permissionRow('accessibility', status.accessibility)}+ <Separator />+ {permissionRow('screen_recording', status.screen_recording)}+ <p className="pt-3 text-xs text-content-muted">{t('desktop.captureNote')}</p>+ </Card>+ )}+ </div>{status?.supported && status.enabled && (<>{status.approvals_enabled && pending.length > 0 && (- <Card title={t('chat.approval.title')} padded>+ <Card title={t('chat.approval.title')} padded divided={false}>{pending.map(entry => (- <div key={entry.confirmation_id} className="space-y-2 py-3">+ <div+ key={entry.confirmation_id}+ className="space-y-3 border-b border-line-subtle py-4 last:border-b-0"><p className="text-sm font-medium text-content">{entry.target_name? t('desktop.approvalSummary')@@ -289,28 +324,32 @@ export default function DesktopConnectionPage() {</Card>)}<Card title={t('desktop.testButton')} padded divided={false}>- <p className="mb-3 text-sm text-content-muted">{t('desktop.testDescription')}</p>- <Button variant="secondary" onClick={() => void runProbe()} disabled={busy}>- {t('desktop.testButton')}- </Button>+ <div className="flex flex-wrap items-center justify-between gap-4">+ <p className="text-sm text-content-muted">{t('desktop.testDescription')}</p>+ <Button variant="secondary" onClick={() => void runProbe()} disabled={busy}>+ {t('desktop.testButton')}+ </Button>+ </div>{probe && (- <p className="mt-3 text-sm" role="status">- {probe.ok ? t('desktop.testPassed') : (probe.reason ?? t('desktop.testFailed'))}- </p>+ <Alert variant={probe.ok ? 'success' : 'warning'} role="status" className="mt-4">+ <AlertDescription>+ {probe.ok ? t('desktop.testPassed') : (probe.reason ?? t('desktop.testFailed'))}+ </AlertDescription>+ </Alert>)}</Card></>)}{error && (- <p className="text-sm text-coral-600 dark:text-coral-400" role="alert">- {error}- </p>+ <Alert variant="destructive">+ <AlertDescription>{error}</AlertDescription>+ </Alert>)}{pendingError && (- <p className="text-sm text-coral-600 dark:text-coral-400" role="alert">- {pendingError}- </p>+ <Alert variant="destructive">+ <AlertDescription>{pendingError}</AlertDescription>+ </Alert>)}</div></SettingsTabbedPage>diff --git a/app/src/components/settings/panels/BrowserConnectionsPanel.test.tsx b/app/src/components/settings/panels/BrowserConnectionsPanel.test.tsxindex 794cfd7f08..260c864b8b 100644--- a/app/src/components/settings/panels/BrowserConnectionsPanel.test.tsx+++ b/app/src/components/settings/panels/BrowserConnectionsPanel.test.tsx@@ -38,6 +38,7 @@ beforeEach(() => {describe('BrowserConnectionsPanel', () => {it('shows actual module state and shared website policy', async () => {renderWithProviders(<BrowserConnectionsPanel />);+ expect(screen.getByText('connections.earlyAlphaNotice')).toBeInTheDocument();expect(await screen.findByText('selenium.dev')).toBeInTheDocument();expect(screen.getByText('available')).toBeInTheDocument();expect(screen.getByText('connections.browser.routeDirect')).toBeInTheDocument();diff --git a/app/src/components/settings/panels/BrowserConnectionsPanel.tsx b/app/src/components/settings/panels/BrowserConnectionsPanel.tsxindex 520499d354..9d3af45403 100644--- a/app/src/components/settings/panels/BrowserConnectionsPanel.tsx+++ b/app/src/components/settings/panels/BrowserConnectionsPanel.tsx@@ -7,6 +7,14 @@ import {openhumanGetConfig,openhumanUpdateBrowserSettings,} from '../../../utils/tauriCommands/config';+import { Alert, AlertDescription } from '../../ui/Alert';+import Badge from '../../ui/Badge';+import Button from '../../ui/Button';+import Card from '../../ui/Card';+import Input from '../../ui/Input';+import Label from '../../ui/Label';+import NativeSelect from '../../ui/NativeSelect';+import Switch from '../../ui/Switch';import SettingsTabbedPage from '../layout/SettingsTabbedPage';type BrowserSettings = {@@ -146,10 +154,10 @@ export default function BrowserConnectionsPanel() {};const field = (key: keyof BrowserSettings, label: string, type: 'text' | 'number' = 'text') => (- <label className="flex flex-col gap-1 text-sm text-content" key={key}>- <span>{label}</span>- <input- className="rounded-lg border border-line bg-surface px-3 py-2"+ <div className="space-y-1.5" key={key}>+ <Label htmlFor={`browser-${key}`}>{label}</Label>+ <Input+ id={`browser-${key}`}type={type}min={type === 'number' ? numericBounds[key as keyof typeof numericBounds][0] : undefined}max={type === 'number' ? numericBounds[key as keyof typeof numericBounds][1] : undefined}@@ -161,7 +169,7 @@ export default function BrowserConnectionsPanel() {}))}/>- </label>+ </div>);const agenticRoute =@@ -175,105 +183,131 @@ export default function BrowserConnectionsPanel() {<SettingsTabbedPagetitle={t('connections.tabs.browser')}description={t('connections.browser.description')}>- <div className="max-w-3xl space-y-6 text-sm text-content">- <div className="rounded-xl border border-line p-4 space-y-2">- <p>- {t('connections.browser.module')}:{' '}- <strong>{module?.state ?? t('connections.browser.unknown')}</strong>+ <div className="max-w-5xl space-y-4 text-sm text-content">+ <Alert variant="warning" role={undefined}>+ <AlertDescription>{t('connections.earlyAlphaNotice')}</AlertDescription>+ </Alert>+ <Card title={t('connections.browser.module')} padded divided={false}>+ <div className="flex flex-wrap items-center justify-between gap-4">+ <div className="flex flex-wrap items-center gap-3">+ <Badge variant={module?.state === 'ready' ? 'success' : 'neutral'}>+ {module?.state ?? t('connections.browser.unknown')}+ </Badge>+ <span className="text-content-muted">{t('connections.browser.chrome')}</span>+ <Badge+ variant={+ chromeReady === true ? 'success' : chromeReady === false ? 'warning' : 'neutral'+ }>+ {chromeReady === true+ ? t('connections.browser.chromeReady')+ : chromeReady === false+ ? t('connections.browser.chromeNotReady')+ : t('connections.browser.notVerified')}+ </Badge>+ </div>+ <div className="flex flex-wrap gap-2">+ <Button variant="secondary" size="sm" disabled={busy} onClick={testModule}>+ {t('connections.browser.testModule')}+ </Button>+ <Button variant="secondary" size="sm" disabled={busy} onClick={testBrowser}>+ {t('connections.browser.testBrowser')}+ </Button>+ </div>+ </div>+ {module?.detail && <p className="mt-3 text-content-muted">{module.detail}</p>}+ <p className="mt-3 text-xs text-content-muted">+ {t('connections.browser.localOverride')}</p>- {module?.detail && <p className="text-content-muted">{module.detail}</p>}- <p>- {t('connections.browser.chrome')}:{' '}- <strong>- {chromeReady === true- ? t('connections.browser.chromeReady')- : chromeReady === false- ? t('connections.browser.chromeNotReady')- : t('connections.browser.notVerified')}- </strong>- </p>- <p className="text-content-muted">{t('connections.browser.localOverride')}</p>- <button- className="rounded-lg border border-line px-3 py-2 disabled:opacity-50"- disabled={busy}- onClick={testModule}>- {t('connections.browser.testModule')}- </button>- <button- className="ml-2 rounded-lg border border-line px-3 py-2 disabled:opacity-50"- disabled={busy}- onClick={testBrowser}>- {t('connections.browser.testBrowser')}- </button>- </div>- <div className="grid gap-4 sm:grid-cols-2">- <label className="flex items-center gap-2">- <input- type="checkbox"- checked={settings.enabled}- onChange={event =>- setSettings(current => ({ ...current, enabled: event.target.checked }))- }- />- {t('connections.browser.enabled')}- </label>- <label className="flex items-center gap-2">- <input- type="checkbox"- checked={settings.headless}- onChange={event =>- setSettings(current => ({ ...current, headless: event.target.checked }))- }- />- {t('connections.browser.headless')}- </label>- {field('viewport_width', t('connections.browser.width'), 'number')}- {field('viewport_height', t('connections.browser.height'), 'number')}- {field('chrome_path', t('connections.browser.chromePath'))}- <label className="flex flex-col gap-1">- {t('connections.browser.profileMode')}- <select- className="rounded-lg border border-line bg-surface px-3 py-2"- value={settings.profile_mode ?? 'fresh'}- onChange={event =>- setSettings(current => ({- ...current,- profile_mode: event.target.value as 'fresh' | 'persistent',- }))- }>- <option value="fresh">{t('connections.browser.fresh')}</option>- <option value="persistent">{t('connections.browser.persistent')}</option>- </select>- </label>- {settings.profile_mode === 'persistent' &&- field('profile_path', t('connections.browser.profilePath'))}- {field('download_dir', t('connections.browser.downloadDir'))}- {field('max_task_steps', t('connections.browser.maxSteps'), 'number')}- {field('task_timeout_secs', t('connections.browser.timeout'), 'number')}+ </Card>++ <div className="grid gap-4 lg:grid-cols-2">+ <Card title={t('connections.tabs.browser')} padded divided={false}>+ <div className="space-y-5">+ <div className="flex items-center justify-between gap-4">+ <Label htmlFor="browser-enabled">{t('connections.browser.enabled')}</Label>+ <Switch+ id="browser-enabled"+ checked={settings.enabled}+ onCheckedChange={enabled => setSettings(current => ({ ...current, enabled }))}+ />+ </div>+ <div className="flex items-center justify-between gap-4">+ <Label htmlFor="browser-headless">{t('connections.browser.headless')}</Label>+ <Switch+ id="browser-headless"+ checked={settings.headless}+ onCheckedChange={headless => setSettings(current => ({ ...current, headless }))}+ />+ </div>+ <div className="grid gap-4 sm:grid-cols-2">+ {field('viewport_width', t('connections.browser.width'), 'number')}+ {field('viewport_height', t('connections.browser.height'), 'number')}+ </div>+ </div>+ </Card>++ <Card title={t('connections.browser.profileMode')} padded divided={false}>+ <div className="space-y-4">+ <div className="space-y-1.5">+ <Label htmlFor="browser-profile-mode">{t('connections.browser.profileMode')}</Label>+ <NativeSelect+ id="browser-profile-mode"+ className="w-full"+ value={settings.profile_mode ?? 'fresh'}+ onChange={event =>+ setSettings(current => ({+ ...current,+ profile_mode: event.target.value as 'fresh' | 'persistent',+ }))+ }>+ <option value="fresh">{t('connections.browser.fresh')}</option>+ <option value="persistent">{t('connections.browser.persistent')}</option>+ </NativeSelect>+ </div>+ {settings.profile_mode === 'persistent' &&+ field('profile_path', t('connections.browser.profilePath'))}+ {field('chrome_path', t('connections.browser.chromePath'))}+ {field('download_dir', t('connections.browser.downloadDir'))}+ </div>+ </Card>++ <Card title={t('connections.browser.maxSteps')} padded divided={false}>+ <div className="grid gap-4 sm:grid-cols-2">+ {field('max_task_steps', t('connections.browser.maxSteps'), 'number')}+ {field('task_timeout_secs', t('connections.browser.timeout'), 'number')}+ </div>+ <p className="mt-4 text-xs text-content-muted">+ {t('connections.browser.testInConversation')}+ </p>+ </Card>++ <Card title={t('connections.browser.allowedWebsites')} padded divided={false}>+ <p className="text-content-muted">{t('connections.browser.sharedPolicy')}</p>+ <p className="mt-3 break-words font-medium">+ {allowedDomains.length+ ? allowedDomains.join(', ')+ : t('connections.browser.noneAllowed')}+ </p>+ <Button asChild variant="tertiary" size="sm" className="mt-3 px-0">+ <Link to="/connections?tab=search">{t('connections.browser.manageWebsites')}</Link>+ </Button>+ </Card></div>- <div className="rounded-xl border border-line p-4 space-y-2">- <p>{t('connections.browser.allowedWebsites')}</p>- <p className="text-content-muted">{t('connections.browser.sharedPolicy')}</p>- <p>- {allowedDomains.length- ? allowedDomains.join(', ')- : t('connections.browser.noneAllowed')}++ <div className="flex flex-wrap items-center justify-between gap-3">+ <p className="text-content-muted">+ {t('connections.browser.jevRoute')}:{' '}+ <span className="font-medium text-content">{agenticRoute}</span></p>- <Link className="text-primary-600 underline" to="/connections?tab=search">- {t('connections.browser.manageWebsites')}- </Link>+ <Button disabled={busy} onClick={save}>+ {t('connections.browser.save')}+ </Button></div>- <p>- {t('connections.browser.jevRoute')}: <strong>{agenticRoute}</strong>- </p>- <p className="text-content-muted">{t('connections.browser.testInConversation')}</p>- <button- className="rounded-lg bg-primary-600 px-4 py-2 text-content-inverted disabled:opacity-50"- disabled={busy}- onClick={save}>- {t('connections.browser.save')}- </button>- {message && <p role="status">{message}</p>}+ {message && (+ <Alert variant="info" role="status">+ <AlertDescription>{message}</AlertDescription>+ </Alert>+ )}</div></SettingsTabbedPage>);diff --git a/app/src/components/settings/panels/WalletBalancesPanel.tsx b/app/src/components/settings/panels/WalletBalancesPanel.tsxindex 15c8b2bdc9..2ca28b525f 100644--- a/app/src/components/settings/panels/WalletBalancesPanel.tsx+++ b/app/src/components/settings/panels/WalletBalancesPanel.tsx@@ -21,8 +21,10 @@ import {type WalletChain,} from '../../../services/walletApi';import { type RootState } from '../../../store';-import { type DataTableColumn } from '../../ui';+import { Alert, AlertDescription } from '../../ui/Alert';+import Badge from '../../ui/Badge';import Button from '../../ui/Button';+import Card from '../../ui/Card';import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from '../../ui/Table';import { SettingsEmptyState } from '../controls';import { useSettingsNavigation } from '../hooks/useSettingsNavigation';@@ -74,15 +76,10 @@ function truncateAddress(address: string): string {* its own copy button, its own clipboard state and its own action pair), and* the columns exist to define the header and the alignment.*/-const COLUMNS_FOR = <T,>(t: (key: string) => string): DataTableColumn<T>[] => [- { id: 'network', header: 'Token' },+const COLUMNS_FOR = (t: (key: string) => string) => [+ { id: 'network', header: t('walletBalances.colToken') },{ id: 'address', header: t('walletBalances.colAddress') },- {- id: 'balance',- header: t('walletBalances.colBalance'),- align: 'right',- className: 'pr-12 lg:pr-24',- },+ { id: 'balance', header: t('walletBalances.colBalance'), align: 'right', className: 'pr-4' },{ id: 'actions', header: t('walletBalances.colActions') },];@@ -145,9 +142,9 @@ const BalanceRow = ({ balance, onSend, onReceive }: BalanceRowProps) => {<span className="text-xs text-content-muted">{networkLabel}</span></div>{balance.providerStatus !== 'ready' && (- <span className="inline-flex items-center px-1.5 py-0.5 rounded text-[10px] font-medium bg-amber-100 text-amber-700 dark:bg-amber-900/30 dark:text-amber-400">+ <Badge variant="warning" className="text-[10px]">{t('walletBalances.providerMissing')}- </span>+ </Badge>)}</div></TableCell>@@ -191,7 +188,7 @@ const BalanceRow = ({ balance, onSend, onReceive }: BalanceRowProps) => {</Button></div></TableCell>- <TableCell className="whitespace-nowrap text-right pr-12 lg:pr-24">+ <TableCell className="whitespace-nowrap text-right pr-4"><div className="flex items-center justify-end gap-1.5"><spantitle={t('walletBalances.rawBalance').replace('{raw}', balance.raw)}@@ -211,15 +208,16 @@ const BalanceRow = ({ balance, onSend, onReceive }: BalanceRowProps) => {</div></TableCell><TableCell className="w-px whitespace-nowrap text-left">- <div className="flex justify-start gap-4 pr-2">- <button+ <div className="flex justify-start gap-2">+ <Buttontype="button"- className="flex items-center gap-1.5 px-3 py-1.5 rounded-full bg-surface dark:bg-content-inverted/5 border border-line hover:bg-surface-hover dark:hover:bg-content-inverted/10 group outline-hidden focus-visible:ring-2 focus-visible:ring-primary-500/40 transition-all duration-200 hover:scale-105 active:scale-95"+ variant="secondary"+ size="sm"onClick={() => onSend(balance)}data-testid={`wallet-send-${balanceKey(balance)}`}aria-label={t('walletBalances.send')}><svg- className="h-3.5 w-3.5 text-content-secondary group-hover:text-content transition-colors"+ className="h-3.5 w-3.5"fill="none"viewBox="0 0 24 24"stroke="currentColor"@@ -230,18 +228,17 @@ const BalanceRow = ({ balance, onSend, onReceive }: BalanceRowProps) => {d="M4.5 10.5L12 3m0 0l7.5 7.5M12 3v18"/></svg>- <span className="text-xs font-medium text-content-secondary group-hover:text-content transition-colors">- {t('walletBalances.send')}- </span>- </button>- <button+ {t('walletBalances.send')}+ </Button>+ <Buttontype="button"- className="flex items-center gap-1.5 px-3 py-1.5 rounded-full bg-surface dark:bg-content-inverted/5 border border-line hover:bg-surface-hover dark:hover:bg-content-inverted/10 group outline-hidden focus-visible:ring-2 focus-visible:ring-primary-500/40 transition-all duration-200 hover:scale-105 active:scale-95"+ variant="secondary"+ size="sm"onClick={() => onReceive(balance)}data-testid={`wallet-receive-${balanceKey(balance)}`}aria-label={t('walletBalances.receive')}><svg- className="h-3.5 w-3.5 text-content-secondary group-hover:text-content transition-colors"+ className="h-3.5 w-3.5"fill="none"viewBox="0 0 24 24"stroke="currentColor"@@ -252,10 +249,8 @@ const BalanceRow = ({ balance, onSend, onReceive }: BalanceRowProps) => {d="M19.5 13.5L12 21m0 0l-7.5-7.5M12 21V3"/></svg>- <span className="text-xs font-medium text-content-secondary group-hover:text-content transition-colors">- {t('walletBalances.receive')}- </span>- </button>+ {t('walletBalances.receive')}+ </Button></div></TableCell></TableRow>@@ -263,12 +258,10 @@ const BalanceRow = ({ balance, onSend, onReceive }: BalanceRowProps) => {};// ----------------------------------------------------------------------------// ChainPlaceholderRow — shown per chain before the wallet is configured. There-// is no derived address or balance yet, so we render a muted "not set up" row-// to convey the wallet layout without fabricating data.+// ChainPlaceholderCard — shows available networks without implying balances exist.// ----------------------------------------------------------------------------const ChainPlaceholderRow = ({+const ChainPlaceholderCard = ({chain,evmNetwork,assetSymbol,@@ -280,40 +273,22 @@ const ChainPlaceholderRow = ({const { t } = useT();return (- <TableRow className="hover:bg-content-inverted/5 opacity-70 group">- <TableCell className="whitespace-nowrap px-4">- <div className="flex items-center gap-3">+ <Card padded divided={false}>+ <div className="flex items-center justify-between gap-3">+ <div className="flex min-w-0 items-center gap-3"><ChainIcon chain={chain} evmNetwork={evmNetwork} />- <div className="flex flex-col">- <span className="text-sm font-bold text-content-faint font-mono">{assetSymbol}</span>- <span className="text-xs text-content-faint">+ <div className="min-w-0">+ <p className="font-mono text-sm font-semibold text-content">{assetSymbol}</p>+ <p className="truncate text-xs text-content-muted">{balanceNetworkLabel({ chain, evmNetwork })}- </span>+ </p></div></div>- </TableCell>- <TableCell>- <span className="font-mono text-[11px] text-content-faint">+ <Badge variant="neutral" className="shrink-0">{t('walletBalances.notSetUp')}- </span>- </TableCell>- <TableCell className="whitespace-nowrap text-right pr-12 lg:pr-24">- <div className="flex items-center justify-end gap-1.5">- <span className="text-sm font-medium text-content-faint font-mono">—</span>- {TOKEN_ICONS[assetSymbol] ? (- <img- src={TOKEN_ICONS[assetSymbol]}- alt={assetSymbol}- title={assetSymbol}- className="w-4 h-4 shrink-0 object-contain opacity-40 dark:opacity-40 dark:invert"- />- ) : (- <span className="text-xs text-content-faint">{assetSymbol}</span>- )}- </div>- </TableCell>- <TableCell className="w-px" />- </TableRow>+ </Badge>+ </div>+ </Card>);};@@ -417,7 +392,10 @@ const WalletBalancesPanel = () => {}, [loadBalances]);const selectedNetworkLabel =- NETWORK_FILTERS.find(f => f.id === selectedNetwork)?.label ?? 'All networks';+ selectedNetwork === 'all'+ ? t('walletBalances.allNetworks')+ : (NETWORK_FILTERS.find(f => f.id === selectedNetwork)?.label ??+ t('walletBalances.allNetworks'));const filterRows = <T extends { chain: WalletChain; evmNetwork?: EvmNetwork; assetSymbol: string },@@ -459,100 +437,38 @@ const WalletBalancesPanel = () => {if (error) {return (- <div className="px-4 py-4">- <div- role="alert"- className="flex items-start gap-2.5 p-3 mb-4 rounded-xl bg-coral-50 dark:bg-coral-500/10 border border-coral-200 dark:border-coral-500/30">- <svg- className="w-4 h-4 text-coral-500 shrink-0 mt-0.5"- fill="none"- viewBox="0 0 24 24"- stroke="currentColor"- strokeWidth={2}>- <path- strokeLinecap="round"- strokeLinejoin="round"- d="M12 9v2m0 4h.01M10.29 3.86L1.82 18a2 2 0 001.71 3h16.94a2 2 0 001.71-3L13.71 3.86a2 2 0 00-3.42 0z"- />- </svg>- <p className="text-xs text-coral-700 dark:text-coral-300 leading-relaxed">- {t('walletBalances.errorGeneric')}- </p>- </div>- <Button- type="button"- variant="primary"- size="md"- onClick={() => void loadBalances()}- className="w-full">+ <div className="space-y-3">+ <Alert variant="destructive">+ <AlertDescription>{t('walletBalances.errorGeneric')}</AlertDescription>+ </Alert>+ <Button type="button" variant="secondary" onClick={() => void loadBalances()}>{t('walletBalances.retry')}</Button></div>);}- // Wallet not set up yet: show a non-blocking hint plus placeholder rows so- // the wallet layout is visible even before a recovery phrase exists.+ // A setup notice and network cards make it clear that these are supported+ // networks, not balances or addresses belonging to an unconfigured wallet.if (walletConfigured === false) {return (- <div>- <div className="px-4 pt-4 pb-3">- <div- role="status"- className="flex items-start gap-2.5 p-3 rounded-xl bg-destructive/10 border-0">- <svg- className="w-4 h-4 text-destructive shrink-0 mt-0.5"- fill="none"- viewBox="0 0 24 24"- stroke="currentColor"- strokeWidth={2}>- <path- strokeLinecap="round"- strokeLinejoin="round"- d="M12 9v2m0 4h.01M10.29 3.86L1.82 18a2 2 0 001.71 3h16.94a2 2 0 001.71-3L13.71 3.86a2 2 0 00-3.42 0z"- />- </svg>- <div className="flex-1 min-w-0">- <p className="text-sm text-destructive leading-relaxed">- {t('walletBalances.setupHint')}- </p>- <Button- type="button"- variant="tertiary"- onClick={() => navigateToSettings('recovery-phrase')}- className="mt-2 text-sm font-medium text-primary-800 dark:text-primary-400 hover:text-primary-900 dark:hover:text-primary-300 px-0 h-auto">- {t('walletBalances.setupCta')}- </Button>- </div>- </div>+ <div className="space-y-4">+ <Alert variant="warning" role="status" className="flex-wrap items-center justify-between">+ <AlertDescription>{t('walletBalances.setupHint')}</AlertDescription>+ <Button type="button" size="sm" onClick={() => navigateToSettings('recovery-phrase')}>+ {t('walletBalances.setupCta')}+ </Button>+ </Alert>+ <div className="grid gap-3 sm:grid-cols-2 xl:grid-cols-3">+ {filterRows(PLACEHOLDER_ROWS).map(row => (+ <ChainPlaceholderCard+ key={row.evmNetwork || row.chain}+ chain={row.chain}+ evmNetwork={row.evmNetwork}+ assetSymbol={row.assetSymbol}+ />+ ))}</div>- <Table containerClassName="w-full bg-transparent border border-line rounded-[24px] overflow-hidden">- <TableHeader>- <TableRow className="hover:bg-transparent">- {COLUMNS_FOR<(typeof PLACEHOLDER_ROWS)[number]>(t).map(col => (- <TableHead- key={col.id}- className={cn(- col.align === 'right' && 'text-right',- 'text-content font-medium pb-4 pt-6',- col.className- )}>- <span className="pb-1">{col.header}</span>- </TableHead>- ))}- </TableRow>- </TableHeader>- <TableBody>- {filterRows(PLACEHOLDER_ROWS).map(row => (- <ChainPlaceholderRow- key={row.evmNetwork || row.chain}- chain={row.chain}- evmNetwork={row.evmNetwork}- assetSymbol={row.assetSymbol}- />- ))}- </TableBody>- </Table></div>);}@@ -584,22 +500,22 @@ const WalletBalancesPanel = () => {if (visibleRows.length === 0) {return (- <div className="px-4 py-8 text-center">- <SettingsEmptyState label="No balances match your filters" />- </div>+ <Card padded divided={false}>+ <SettingsEmptyState label={t('walletBalances.noFilterMatches')} />+ </Card>);}return (- <Table containerClassName="w-full bg-transparent border border-line rounded-[24px] overflow-hidden">+ <Table containerClassName="w-full overflow-x-auto rounded-xl border border-line bg-surface"><TableHeader><TableRow className="hover:bg-transparent">- {COLUMNS_FOR<BalanceInfo>(t).map(col => (+ {COLUMNS_FOR(t).map(col => (<TableHeadkey={col.id}className={cn(col.align === 'right' && 'text-right',- 'text-content font-medium pb-4 pt-6',+ 'text-content font-medium',col.className)}><span className="pb-1">{col.header}</span>@@ -627,6 +543,7 @@ const WalletBalancesPanel = () => {const rowsToRender = walletConfigured === false ? PLACEHOLDER_ROWS : balances || [];return (<SettingsPanel+ bodyClassName="space-y-4"title={<div className="flex items-center gap-2.5"><svg@@ -645,13 +562,15 @@ const WalletBalancesPanel = () => {</div>}description={t('pages.settings.account.walletBalancesDesc')}>- <div className="w-full max-w-4xl mx-auto py-2">- <div className="flex items-center justify-between mb-4 px-3">- <div>- <button+ <div className="w-full max-w-5xl space-y-4">+ <Card padded divided={false}>+ <div className="flex flex-wrap items-center justify-between gap-3">+ <Buttontype="button"+ variant="secondary"+ size="sm"onClick={() => setIsNetworkModalOpen(true)}- className="flex items-center gap-2 px-3 py-1.5 rounded-full border border-line bg-surface hover:bg-surface-hover transition-colors text-sm font-medium text-content outline-hidden focus-visible:ring-2 focus-visible:ring-primary-500/20">+ aria-label={selectedNetworkLabel}><svgclassName="w-4 h-4 text-content-muted"fill="none"@@ -665,68 +584,70 @@ const WalletBalancesPanel = () => {/></svg>{selectedNetworkLabel}- </button>+ </Button><SelectNetworkModalopen={isNetworkModalOpen}onClose={() => setIsNetworkModalOpen(false)}selectedNetwork={selectedNetwork}onSelect={setSelectedNetwork}- networkFilters={NETWORK_FILTERS}+ networkFilters={NETWORK_FILTERS.map(filter =>+ filter.id === 'all' ? { ...filter, label: t('walletBalances.allNetworks') } : filter+ )}chainIcons={NETWORK_MODAL_ICONS}/>+ <div className="flex flex-wrap items-center gap-2">+ <Button+ type="button"+ variant="secondary"+ size="sm"+ onClick={() => void loadBalances()}+ disabled={loading || isRefreshing}>+ <svg+ className={cn(+ 'w-4 h-4 text-content-muted',+ (loading || isRefreshing) && 'animate-spin'+ )}+ fill="none"+ viewBox="0 0 24 24"+ stroke="currentColor"+ strokeWidth={2.5}>+ <path+ strokeLinecap="round"+ strokeLinejoin="round"+ d="M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"+ />+ </svg>+ {t('walletBalances.refresh')}+ </Button>++ <Button+ type="button"+ variant="secondary"+ size="sm"+ onClick={() => setIsManageModalOpen(true)}+ aria-label={t('walletBalances.manageTokens')}>+ <svg+ className="w-4 h-4 text-content-muted"+ fill="none"+ viewBox="0 0 24 24"+ stroke="currentColor"+ strokeWidth={2.5}>+ <path+ strokeLinecap="round"+ strokeLinejoin="round"+ d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"+ />+ <path+ strokeLinecap="round"+ strokeLinejoin="round"+ d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"+ />+ </svg>+ {t('walletBalances.manageTokens')}+ </Button>+ </div></div>-- <div className="flex items-center gap-2">- <button- type="button"- onClick={() => void loadBalances()}- disabled={loading || isRefreshing}- aria-label="Refresh balances"- className="flex items-center gap-2 px-3 py-1.5 rounded-full border border-line bg-surface hover:bg-surface-hover transition-colors text-sm font-medium text-content outline-hidden focus-visible:ring-2 focus-visible:ring-primary-500/20 disabled:opacity-50">- <svg- className={cn(- 'w-4 h-4 text-content-muted',- (loading || isRefreshing) && 'animate-spin'- )}- fill="none"- viewBox="0 0 24 24"- stroke="currentColor"- strokeWidth={2.5}>- <path- strokeLinecap="round"- strokeLinejoin="round"- d="M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"- />- </svg>- Refresh- </button>-- <button- type="button"- onClick={() => setIsManageModalOpen(true)}- aria-label="Manage tokens"- className="flex items-center gap-2 px-3 py-1.5 rounded-full border border-line bg-surface hover:bg-surface-hover transition-colors text-sm font-medium text-content outline-hidden focus-visible:ring-2 focus-visible:ring-primary-500/20">- <svg- className="w-4 h-4 text-content-muted"- fill="none"- viewBox="0 0 24 24"- stroke="currentColor"- strokeWidth={2.5}>- <path- strokeLinecap="round"- strokeLinejoin="round"- d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"- />- <path- strokeLinecap="round"- strokeLinejoin="round"- d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"- />- </svg>- Manage tokens- </button>- </div>- </div>+ </Card>{renderContent()}</div>diff --git a/app/src/components/settings/panels/WalletPanel.tsx b/app/src/components/settings/panels/WalletPanel.tsxindex 10fab1c7b2..9c474c4b0a 100644--- a/app/src/components/settings/panels/WalletPanel.tsx+++ b/app/src/components/settings/panels/WalletPanel.tsx@@ -1,6 +1,7 @@import { useState } from 'react';import { useT } from '../../../lib/i18n/I18nContext';+import { Alert, AlertDescription } from '../../ui/Alert';import SettingsTabbedPage from '../layout/SettingsTabbedPage';import RecoveryPhrasePanel from './RecoveryPhrasePanel';import WalletBalancesPanel from './WalletBalancesPanel';@@ -29,7 +30,10 @@ export default function WalletPanel() {onChange={setTab}tabsAriaLabel={t('wallet.ariaLabel')}tabsTestIdPrefix="wallet">- <div className="min-h-0 h-full" data-testid="wallet-panel">+ <div className="min-h-0 space-y-4" data-testid="wallet-panel">+ <Alert variant="warning" role={undefined} className="max-w-5xl">+ <AlertDescription>{t('walletBalances.earlyAlphaNotice')}</AlertDescription>+ </Alert>{tab === 'balance' ? <WalletBalancesPanel /> : <RecoveryPhrasePanel />}</div></SettingsTabbedPage>diff --git a/app/src/components/settings/panels/__tests__/WalletBalancesPanel.test.tsx b/app/src/components/settings/panels/__tests__/WalletBalancesPanel.test.tsxindex f96a6d5f66..31a51946b4 100644--- a/app/src/components/settings/panels/__tests__/WalletBalancesPanel.test.tsx+++ b/app/src/components/settings/panels/__tests__/WalletBalancesPanel.test.tsx@@ -193,7 +193,7 @@ describe('WalletBalancesPanel — empty state', () => {});describe('WalletBalancesPanel — wallet not configured', () => {- it('shows the setup hint + placeholder rows instead of a blocking error', async () => {+ it('shows the setup hint and supported network cards without suggesting balances exist', async () => {mockFetchWalletStatus.mockReset();mockFetchWalletStatus.mockResolvedValueOnce(UNCONFIGURED_STATUS);@@ -202,12 +202,12 @@ describe('WalletBalancesPanel — wallet not configured', () => {await waitFor(() => {expect(screen.getByText(/Set it up to enable your wallet/i)).toBeInTheDocument();});- // Placeholder rows render per displayed network (Ethereum/Base/BNB Chain)- // plus Bitcoin/Solana/Tron — one "Not set up" each.+ // Each supported network is visible, with no address or balance table.expect(screen.getByText('Ethereum')).toBeInTheDocument();expect(screen.getByText('Base')).toBeInTheDocument();expect(screen.getByText('BNB Smart Chain')).toBeInTheDocument();expect(screen.getAllByText('Not set up')).toHaveLength(6);+ expect(screen.queryByRole('table')).not.toBeInTheDocument();// No balances fetch, no red error / retry button.expect(mockFetchWalletBalances).not.toHaveBeenCalled();expect(screen.queryByRole('button', { name: /retry/i })).not.toBeInTheDocument();diff --git a/app/src/components/settings/panels/__tests__/WalletPanel.test.tsx b/app/src/components/settings/panels/__tests__/WalletPanel.test.tsxindex 61c702c10b..96fbc38874 100644--- a/app/src/components/settings/panels/__tests__/WalletPanel.test.tsx+++ b/app/src/components/settings/panels/__tests__/WalletPanel.test.tsx@@ -12,6 +12,7 @@ describe('WalletPanel', () => {render(<WalletPanel />);// Balance shown first.+ expect(screen.getByText('walletBalances.earlyAlphaNotice')).toBeInTheDocument();expect(screen.getByText('balance-panel')).toBeInTheDocument();expect(screen.queryByText('recovery-panel')).not.toBeInTheDocument();diff --git a/app/src/lib/i18n/ar.ts b/app/src/lib/i18n/ar.tsindex 0aa0f19407..80e6c09675 100644--- a/app/src/lib/i18n/ar.ts+++ b/app/src/lib/i18n/ar.ts@@ -812,8 +812,10 @@ const messages: TranslationMap = {'connections.tabs.composio': 'Composio','connections.tabs.channels': 'القنوات','connections.tabs.mcp': 'خوادم MCP',- 'connections.tabs.browser': 'المتصفح',+ 'connections.tabs.browser': 'التحكم بالمتصفح','connections.browser.description': 'اضبط مهام المتصفح وتحقق من الجاهزية.',+ 'connections.earlyAlphaNotice':+ 'ألفا مبكرة: لا يزال التحكم في المتصفح وسطح المكتب قيد الاختبار. قد تعمل الإجراءات بشكل غير متوقع أو تتغير بين الإصدارات.','connections.browser.module': 'الوحدة','connections.browser.chrome': 'Chrome','connections.browser.unknown': 'غير معروف',@@ -6130,6 +6132,12 @@ const messages: TranslationMap = {'pages.settings.account.walletBalances': 'أرصدة المحفظة','pages.settings.account.walletBalancesDesc': 'عرض أرصدة السلاسل المتعددة لمحفظتك المحلية','walletBalances.title': 'أرصدة المحفظة',+ 'walletBalances.earlyAlphaNotice':+ 'ألفا مبكرة: لا تزال أرصدة المحفظة قيد الاختبار. قد تتغير المبالغ والشبكات المدعومة بين الإصدارات.',+ 'walletBalances.allNetworks': 'جميع الشبكات',+ 'walletBalances.manageTokens': 'إدارة الرموز',+ 'walletBalances.noFilterMatches': 'لا توجد أرصدة تطابق عوامل التصفية',+ 'walletBalances.colToken': 'الرمز','walletBalances.colNetwork': 'الشبكة','walletBalances.colAddress': 'العنوان','walletBalances.colBalance': 'الرصيد',diff --git a/app/src/lib/i18n/bn.ts b/app/src/lib/i18n/bn.tsindex 705d8c5268..84278ccce5 100644--- a/app/src/lib/i18n/bn.ts+++ b/app/src/lib/i18n/bn.ts@@ -834,8 +834,10 @@ const messages: TranslationMap = {'connections.tabs.composio': 'Composio','connections.tabs.channels': 'চ্যানেল','connections.tabs.mcp': 'MCP সার্ভার',- 'connections.tabs.browser': 'ব্রাউজার',+ 'connections.tabs.browser': 'ব্রাউজার নিয়ন্ত্রণ','connections.browser.description': 'ব্রাউজারের কাজ সেট করুন এবং প্রস্তুতি যাচাই করুন।',+ 'connections.earlyAlphaNotice':+ 'প্রাথমিক আলফা: ব্রাউজার ও ডেস্কটপ নিয়ন্ত্রণ এখনও পরীক্ষাধীন। কাজগুলো অপ্রত্যাশিতভাবে চলতে পারে বা নতুন সংস্করণে বদলে যেতে পারে।','connections.browser.module': 'মডিউল','connections.browser.chrome': 'Chrome','connections.browser.unknown': 'অজানা',@@ -6268,6 +6270,12 @@ const messages: TranslationMap = {'pages.settings.account.walletBalancesDesc':'আপনার স্থানীয় ওয়ালেটের মাল্টি-চেইন ব্যালেন্স দেখুন','walletBalances.title': 'ওয়ালেট ব্যালেন্স',+ 'walletBalances.earlyAlphaNotice':+ 'প্রাথমিক আলফা: ওয়ালেট ব্যালেন্স এখনও পরীক্ষাধীন। পরিমাণ ও সমর্থিত নেটওয়ার্ক নতুন সংস্করণে বদলাতে পারে।',+ 'walletBalances.allNetworks': 'সব নেটওয়ার্ক',+ 'walletBalances.manageTokens': 'টোকেন পরিচালনা করুন',+ 'walletBalances.noFilterMatches': 'আপনার ফিল্টারের সঙ্গে কোনো ব্যালেন্স মেলেনি',+ 'walletBalances.colToken': 'টোকেন','walletBalances.colNetwork': 'নেটওয়ার্ক','walletBalances.colAddress': 'ঠিকানা','walletBalances.colBalance': 'ব্যালেন্স',diff --git a/app/src/lib/i18n/de.ts b/app/src/lib/i18n/de.tsindex 9ff2770ffa..6bf811013b 100644--- a/app/src/lib/i18n/de.ts+++ b/app/src/lib/i18n/de.ts@@ -867,8 +867,10 @@ const messages: TranslationMap = {'connections.tabs.composio': 'Composio','connections.tabs.channels': 'Kanäle','connections.tabs.mcp': 'MCP-Server',- 'connections.tabs.browser': 'Browser',+ 'connections.tabs.browser': 'Browsersteuerung','connections.browser.description': 'Browseraufgaben einrichten und Bereitschaft prüfen.',+ 'connections.earlyAlphaNotice':+ 'Frühe Alpha: Browser- und Desktopsteuerung werden noch getestet. Aktionen können unerwartet funktionieren oder sich zwischen Versionen ändern.','connections.browser.module': 'Modul','connections.browser.chrome': 'Chrome','connections.browser.unknown': 'Unbekannt',@@ -6429,6 +6431,12 @@ const messages: TranslationMap = {'pages.settings.account.walletBalancesDesc':'Multi-Chain-Guthaben deiner lokalen Wallet anzeigen','walletBalances.title': 'Wallet-Guthaben',+ 'walletBalances.earlyAlphaNotice':+ 'Frühe Alpha: Wallet-Guthaben werden noch getestet. Beträge und unterstützte Netzwerke können sich zwischen Versionen ändern.',+ 'walletBalances.allNetworks': 'Alle Netzwerke',+ 'walletBalances.manageTokens': 'Token verwalten',+ 'walletBalances.noFilterMatches': 'Keine Guthaben entsprechen den Filtern',+ 'walletBalances.colToken': 'Token','walletBalances.colNetwork': 'Netzwerk','walletBalances.colAddress': 'Adresse','walletBalances.colBalance': 'Guthaben',diff --git a/app/src/lib/i18n/en.ts b/app/src/lib/i18n/en.tsindex c5726600de..134ee30abd 100644--- a/app/src/lib/i18n/en.ts+++ b/app/src/lib/i18n/en.ts@@ -677,8 +677,10 @@ const en: TranslationMap = {'connections.tabs.composioKey': 'Composio','connections.tabs.channels': 'Channels','connections.tabs.mcp': 'MCP Servers',- 'connections.tabs.browser': 'Browser',+ 'connections.tabs.browser': 'Browser Control','connections.browser.description': 'Set up browser tasks and inspect readiness.',+ 'connections.earlyAlphaNotice':+ 'Early Alpha: Browser and desktop control are still being tested. Actions may behave unexpectedly or change between releases.','connections.browser.module': 'Module','connections.browser.chrome': 'Chrome','connections.browser.unknown': 'Unknown',@@ -727,7 +729,7 @@ const en: TranslationMap = {'desktop.action.expand': 'Expand','desktop.action.collapse': 'Collapse','desktop.action.scroll': 'Scroll',- 'desktop.title': 'Desktop control',+ 'desktop.title': 'Desktop Control','desktop.description': 'Let your agent work in apps on this computer.','desktop.enabledPending': 'Enabled. Finish setup below before using desktop tools.','desktop.moduleUnavailable': 'The desktop module is unavailable. Check its status and try again.',@@ -7009,6 +7011,12 @@ const en: TranslationMap = {'wallet.ariaLabel': 'Wallet views',// WalletBalancesPanel strings'walletBalances.title': 'Wallet Balances',+ 'walletBalances.earlyAlphaNotice':+ 'Early Alpha: Wallet balances are still being tested. Amounts and network support may change between releases.',+ 'walletBalances.allNetworks': 'All networks',+ 'walletBalances.manageTokens': 'Manage tokens',+ 'walletBalances.noFilterMatches': 'No balances match your filters',+ 'walletBalances.colToken': 'Token','walletBalances.colNetwork': 'Network','walletBalances.colAddress': 'Address','walletBalances.colBalance': 'Balance',diff --git a/app/src/lib/i18n/es.ts b/app/src/lib/i18n/es.tsindex 01f3e052dd..2f3d476e4f 100644--- a/app/src/lib/i18n/es.ts+++ b/app/src/lib/i18n/es.ts@@ -856,8 +856,10 @@ const messages: TranslationMap = {'connections.tabs.composio': 'Composio','connections.tabs.channels': 'Canales','connections.tabs.mcp': 'Servidores MCP',- 'connections.tabs.browser': 'Navegador',+ 'connections.tabs.browser': 'Control del navegador','connections.browser.description': 'Configura las tareas del navegador y comprueba su estado.',+ 'connections.earlyAlphaNotice':+ 'Alfa temprana: el control del navegador y del escritorio sigue en pruebas. Las acciones pueden comportarse de forma inesperada o cambiar entre versiones.','connections.browser.module': 'Módulo','connections.browser.chrome': 'Chrome','connections.browser.unknown': 'Desconocido',@@ -6389,6 +6391,12 @@ const messages: TranslationMap = {'pages.settings.account.walletBalancesDesc':'Ver saldos en múltiples cadenas de tu billetera local','walletBalances.title': 'Saldos de billetera',+ 'walletBalances.earlyAlphaNotice':+ 'Alfa temprana: los saldos de la billetera siguen en pruebas. Los importes y las redes compatibles pueden cambiar entre versiones.',+ 'walletBalances.allNetworks': 'Todas las redes',+ 'walletBalances.manageTokens': 'Gestionar tokens',+ 'walletBalances.noFilterMatches': 'Ningún saldo coincide con los filtros',+ 'walletBalances.colToken': 'Token','walletBalances.colNetwork': 'Red','walletBalances.colAddress': 'Dirección','walletBalances.colBalance': 'Saldo',diff --git a/app/src/lib/i18n/fr.ts b/app/src/lib/i18n/fr.tsindex 88758a196b..e27662e053 100644--- a/app/src/lib/i18n/fr.ts+++ b/app/src/lib/i18n/fr.ts@@ -866,8 +866,10 @@ const messages: TranslationMap = {'connections.tabs.composio': 'Composio','connections.tabs.channels': 'Canaux','connections.tabs.mcp': 'Serveurs MCP',- 'connections.tabs.browser': 'Navigateur',+ 'connections.tabs.browser': 'Contrôle du navigateur','connections.browser.description': 'Configurez les tâches du navigateur et vérifiez son état.',+ 'connections.earlyAlphaNotice':+ 'Alpha précoce : le contrôle du navigateur et du bureau est encore en cours de test. Les actions peuvent être imprévisibles ou changer entre les versions.','connections.browser.module': 'Module','connections.browser.chrome': 'Chrome','connections.browser.unknown': 'Inconnu',@@ -6414,6 +6416,12 @@ const messages: TranslationMap = {'pages.settings.account.walletBalancesDesc':'Afficher les soldes multi-chaînes de votre portefeuille local','walletBalances.title': 'Soldes du portefeuille',+ 'walletBalances.earlyAlphaNotice':+ 'Alpha précoce : les soldes du portefeuille sont encore en cours de test. Les montants et les réseaux pris en charge peuvent changer entre les versions.',+ 'walletBalances.allNetworks': 'Tous les réseaux',+ 'walletBalances.manageTokens': 'Gérer les jetons',+ 'walletBalances.noFilterMatches': 'Aucun solde ne correspond aux filtres',+ 'walletBalances.colToken': 'Jeton','walletBalances.colNetwork': 'Réseau','walletBalances.colAddress': 'Adresse','walletBalances.colBalance': 'Solde',diff --git a/app/src/lib/i18n/hi.ts b/app/src/lib/i18n/hi.tsindex 4c6a9e9762..f57ff73633 100644--- a/app/src/lib/i18n/hi.ts+++ b/app/src/lib/i18n/hi.ts@@ -834,8 +834,10 @@ const messages: TranslationMap = {'connections.tabs.composio': 'Composio','connections.tabs.channels': 'चैनल','connections.tabs.mcp': 'MCP सर्वर',- 'connections.tabs.browser': 'ब्राउज़र',+ 'connections.tabs.browser': 'ब्राउज़र नियंत्रण','connections.browser.description': 'ब्राउज़र कार्य सेट करें और तैयारी जाँचें।',+ 'connections.earlyAlphaNotice':+ 'प्रारंभिक अल्फ़ा: ब्राउज़र और डेस्कटॉप नियंत्रण का अभी परीक्षण चल रहा है। क्रियाएँ अप्रत्याशित ढंग से काम कर सकती हैं या नए संस्करणों में बदल सकती हैं।','connections.browser.module': 'मॉड्यूल','connections.browser.chrome': 'Chrome','connections.browser.unknown': 'अज्ञात',@@ -6267,6 +6269,12 @@ const messages: TranslationMap = {'pages.settings.account.walletBalances': 'वॉलेट बैलेंस','pages.settings.account.walletBalancesDesc': 'अपने स्थानीय वॉलेट के मल्टी-चेन बैलेंस देखें','walletBalances.title': 'वॉलेट बैलेंस',+ 'walletBalances.earlyAlphaNotice':+ 'प्रारंभिक अल्फ़ा: वॉलेट बैलेंस का अभी परीक्षण चल रहा है। राशि और समर्थित नेटवर्क नए संस्करणों में बदल सकते हैं।',+ 'walletBalances.allNetworks': 'सभी नेटवर्क',+ 'walletBalances.manageTokens': 'टोकन प्रबंधित करें',+ 'walletBalances.noFilterMatches': 'आपके फ़िल्टर से कोई बैलेंस मेल नहीं खाता',+ 'walletBalances.colToken': 'टोकन','walletBalances.colNetwork': 'नेटवर्क','walletBalances.colAddress': 'पता','walletBalances.colBalance': 'बैलेंस',diff --git a/app/src/lib/i18n/id.ts b/app/src/lib/i18n/id.tsindex f0f0800b88..9cdcd382ad 100644--- a/app/src/lib/i18n/id.ts+++ b/app/src/lib/i18n/id.ts@@ -845,8 +845,10 @@ const messages: TranslationMap = {'connections.tabs.composio': 'Composio','connections.tabs.channels': 'Saluran','connections.tabs.mcp': 'Server MCP',- 'connections.tabs.browser': 'Peramban',+ 'connections.tabs.browser': 'Kontrol peramban','connections.browser.description': 'Atur tugas peramban dan periksa kesiapan.',+ 'connections.earlyAlphaNotice':+ 'Alfa awal: kontrol browser dan desktop masih diuji. Tindakan dapat berperilaku tidak terduga atau berubah antar-rilis.','connections.browser.module': 'Modul','connections.browser.chrome': 'Chrome','connections.browser.unknown': 'Tidak diketahui',@@ -6303,6 +6305,12 @@ const messages: TranslationMap = {'pages.settings.account.walletBalances': 'Saldo Dompet','pages.settings.account.walletBalancesDesc': 'Lihat saldo multi-rantai untuk dompet lokal Anda','walletBalances.title': 'Saldo Dompet',+ 'walletBalances.earlyAlphaNotice':+ 'Alfa awal: saldo dompet masih diuji. Jumlah dan jaringan yang didukung dapat berubah antar-rilis.',+ 'walletBalances.allNetworks': 'Semua jaringan',+ 'walletBalances.manageTokens': 'Kelola token',+ 'walletBalances.noFilterMatches': 'Tidak ada saldo yang cocok dengan filter',+ 'walletBalances.colToken': 'Token','walletBalances.colNetwork': 'Jaringan','walletBalances.colAddress': 'Alamat','walletBalances.colBalance': 'Saldo',diff --git a/app/src/lib/i18n/it.ts b/app/src/lib/i18n/it.tsindex 2cc2d500c6..b7631e5694 100644--- a/app/src/lib/i18n/it.ts+++ b/app/src/lib/i18n/it.ts@@ -856,8 +856,10 @@ const messages: TranslationMap = {'connections.tabs.composio': 'Composio','connections.tabs.channels': 'Canali','connections.tabs.mcp': 'Server MCP',- 'connections.tabs.browser': 'Browser',+ 'connections.tabs.browser': 'Controllo del browser','connections.browser.description': 'Configura le attività del browser e verifica lo stato.',+ 'connections.earlyAlphaNotice':+ 'Alpha iniziale: il controllo del browser e del desktop è ancora in fase di test. Le azioni potrebbero comportarsi in modo imprevisto o cambiare tra le versioni.','connections.browser.module': 'Modulo','connections.browser.chrome': 'Chrome','connections.browser.unknown': 'Sconosciuto',@@ -6372,6 +6374,12 @@ const messages: TranslationMap = {'pages.settings.account.walletBalancesDesc':'Visualizza i saldi multi-chain del tuo portafoglio locale','walletBalances.title': 'Saldi portafoglio',+ 'walletBalances.earlyAlphaNotice':+ 'Alpha iniziale: i saldi del portafoglio sono ancora in fase di test. Gli importi e le reti supportate potrebbero cambiare tra le versioni.',+ 'walletBalances.allNetworks': 'Tutte le reti',+ 'walletBalances.manageTokens': 'Gestisci token',+ 'walletBalances.noFilterMatches': 'Nessun saldo corrisponde ai filtri',+ 'walletBalances.colToken': 'Token','walletBalances.colNetwork': 'Rete','walletBalances.colAddress': 'Indirizzo','walletBalances.colBalance': 'Saldo',diff --git a/app/src/lib/i18n/ko.ts b/app/src/lib/i18n/ko.tsindex e4922a22cc..a1e3326416 100644--- a/app/src/lib/i18n/ko.ts+++ b/app/src/lib/i18n/ko.ts@@ -826,8 +826,10 @@ const messages: TranslationMap = {'connections.tabs.composio': 'Composio','connections.tabs.channels': '채널','connections.tabs.mcp': 'MCP 서버',- 'connections.tabs.browser': '브라우저',+ 'connections.tabs.browser': '브라우저 제어','connections.browser.description': '브라우저 작업을 설정하고 준비 상태를 확인하세요.',+ 'connections.earlyAlphaNotice':+ '초기 알파: 브라우저 및 데스크톱 제어는 아직 테스트 중입니다. 동작이 예상과 다르거나 릴리스마다 변경될 수 있습니다.','connections.browser.module': '모듈','connections.browser.chrome': 'Chrome','connections.browser.unknown': '알 수 없음',@@ -6199,6 +6201,12 @@ const messages: TranslationMap = {'pages.settings.account.walletBalances': '지갑 잔액','pages.settings.account.walletBalancesDesc': '로컬 지갑의 멀티체인 잔액을 확인하세요','walletBalances.title': '지갑 잔액',+ 'walletBalances.earlyAlphaNotice':+ '초기 알파: 지갑 잔액은 아직 테스트 중입니다. 금액과 지원 네트워크는 릴리스마다 변경될 수 있습니다.',+ 'walletBalances.allNetworks': '모든 네트워크',+ 'walletBalances.manageTokens': '토큰 관리',+ 'walletBalances.noFilterMatches': '필터와 일치하는 잔액이 없습니다',+ 'walletBalances.colToken': '토큰','walletBalances.colNetwork': '네트워크','walletBalances.colAddress': '주소','walletBalances.colBalance': '잔액',diff --git a/app/src/lib/i18n/pl.ts b/app/src/lib/i18n/pl.tsindex 982af2d8e9..12f2700075 100644--- a/app/src/lib/i18n/pl.ts+++ b/app/src/lib/i18n/pl.ts@@ -850,8 +850,10 @@ const messages: TranslationMap = {'connections.tabs.composio': 'Composio','connections.tabs.channels': 'Kanały','connections.tabs.mcp': 'Serwery MCP',- 'connections.tabs.browser': 'Przeglądarka',+ 'connections.tabs.browser': 'Sterowanie przeglądarką','connections.browser.description': 'Skonfiguruj zadania przeglądarki i sprawdź gotowość.',+ 'connections.earlyAlphaNotice':+ 'Wczesna alfa: sterowanie przeglądarką i pulpitem jest nadal testowane. Działania mogą działać nieprzewidywalnie lub zmieniać się między wersjami.','connections.browser.module': 'Moduł','connections.browser.chrome': 'Chrome','connections.browser.unknown': 'Nieznany',@@ -6354,6 +6356,12 @@ const messages: TranslationMap = {'pages.settings.account.walletBalancesDesc':'Przeglądaj salda wielu sieci dla swojego lokalnego portfela','walletBalances.title': 'Salda portfela',+ 'walletBalances.earlyAlphaNotice':+ 'Wczesna alfa: salda portfela są nadal testowane. Kwoty i obsługiwane sieci mogą zmieniać się między wersjami.',+ 'walletBalances.allNetworks': 'Wszystkie sieci',+ 'walletBalances.manageTokens': 'Zarządzaj tokenami',+ 'walletBalances.noFilterMatches': 'Żadne saldo nie pasuje do filtrów',+ 'walletBalances.colToken': 'Token','walletBalances.colNetwork': 'Sieć','walletBalances.colAddress': 'Adres','walletBalances.colBalance': 'Saldo',diff --git a/app/src/lib/i18n/pt.ts b/app/src/lib/i18n/pt.tsindex 3517f8fd36..a21720e31f 100644--- a/app/src/lib/i18n/pt.ts+++ b/app/src/lib/i18n/pt.ts@@ -854,8 +854,10 @@ const messages: TranslationMap = {'connections.tabs.composio': 'Composio','connections.tabs.channels': 'Canais','connections.tabs.mcp': 'Servidores MCP',- 'connections.tabs.browser': 'Navegador',+ 'connections.tabs.browser': 'Controle do navegador','connections.browser.description': 'Configure tarefas do navegador e verifique o estado.',+ 'connections.earlyAlphaNotice':+ 'Alfa inicial: o controle do navegador e da área de trabalho ainda está em teste. As ações podem se comportar de forma inesperada ou mudar entre versões.','connections.browser.module': 'Módulo','connections.browser.chrome': 'Chrome','connections.browser.unknown': 'Desconhecido',@@ -6366,6 +6368,12 @@ const messages: TranslationMap = {'pages.settings.account.walletBalances': 'Saldos da Carteira','pages.settings.account.walletBalancesDesc': 'Visualize saldos multi-chain da sua carteira local','walletBalances.title': 'Saldos da Carteira',+ 'walletBalances.earlyAlphaNotice':+ 'Alfa inicial: os saldos da carteira ainda estão em teste. Os valores e as redes compatíveis podem mudar entre versões.',+ 'walletBalances.allNetworks': 'Todas as redes',+ 'walletBalances.manageTokens': 'Gerenciar tokens',+ 'walletBalances.noFilterMatches': 'Nenhum saldo corresponde aos filtros',+ 'walletBalances.colToken': 'Token','walletBalances.colNetwork': 'Rede','walletBalances.colAddress': 'Endereço','walletBalances.colBalance': 'Saldo',diff --git a/app/src/lib/i18n/ru.ts b/app/src/lib/i18n/ru.tsindex a429ae72d1..5953fa4715 100644--- a/app/src/lib/i18n/ru.ts+++ b/app/src/lib/i18n/ru.ts@@ -845,8 +845,10 @@ const messages: TranslationMap = {'connections.tabs.composio': 'Composio','connections.tabs.channels': 'Каналы','connections.tabs.mcp': 'MCP-серверы',- 'connections.tabs.browser': 'Браузер',+ 'connections.tabs.browser': 'Управление браузером','connections.browser.description': 'Настройте задачи браузера и проверьте готовность.',+ 'connections.earlyAlphaNotice':+ 'Ранняя альфа: управление браузером и рабочим столом всё ещё тестируется. Действия могут работать непредсказуемо или меняться между выпусками.','connections.browser.module': 'Модуль','connections.browser.chrome': 'Chrome','connections.browser.unknown': 'Неизвестно',@@ -6330,6 +6332,12 @@ const messages: TranslationMap = {'pages.settings.account.walletBalancesDesc':'Просмотр мультичейн-балансов вашего локального кошелька','walletBalances.title': 'Баланс кошелька',+ 'walletBalances.earlyAlphaNotice':+ 'Ранняя альфа: отображение балансов кошелька всё ещё тестируется. Суммы и поддерживаемые сети могут меняться между выпусками.',+ 'walletBalances.allNetworks': 'Все сети',+ 'walletBalances.manageTokens': 'Управление токенами',+ 'walletBalances.noFilterMatches': 'Нет балансов по выбранным фильтрам',+ 'walletBalances.colToken': 'Токен','walletBalances.colNetwork': 'Сеть','walletBalances.colAddress': 'Адрес','walletBalances.colBalance': 'Баланс',diff --git a/app/src/lib/i18n/zh-CN.ts b/app/src/lib/i18n/zh-CN.tsindex 5b8a48d5fd..5b1ce136a2 100644--- a/app/src/lib/i18n/zh-CN.ts+++ b/app/src/lib/i18n/zh-CN.ts@@ -776,8 +776,10 @@ const messages: TranslationMap = {'connections.tabs.composio': 'Composio','connections.tabs.channels': '频道','connections.tabs.mcp': 'MCP 服务器',- 'connections.tabs.browser': '浏览器',+ 'connections.tabs.browser': '浏览器控制','connections.browser.description': '设置浏览器任务并检查就绪状态。',+ 'connections.earlyAlphaNotice':+ '早期 Alpha:浏览器和桌面控制仍在测试中。操作可能出现意外行为,也可能在不同版本间发生变化。','connections.browser.module': '模块','connections.browser.chrome': 'Chrome','connections.browser.unknown': '未知',@@ -5930,6 +5932,12 @@ const messages: TranslationMap = {'pages.settings.account.walletBalances': '钱包余额','pages.settings.account.walletBalancesDesc': '查看本地钱包的多链余额','walletBalances.title': '钱包余额',+ 'walletBalances.earlyAlphaNotice':+ '早期 Alpha:钱包余额仍在测试中。金额和支持的网络可能在不同版本间发生变化。',+ 'walletBalances.allNetworks': '所有网络',+ 'walletBalances.manageTokens': '管理代币',+ 'walletBalances.noFilterMatches': '没有符合筛选条件的余额',+ 'walletBalances.colToken': '代币','walletBalances.colNetwork': '网络','walletBalances.colAddress': '地址','walletBalances.colBalance': '余额',diff --git a/app/src/pages/Skills.tsx b/app/src/pages/Skills.tsxindex aabdc4d14f..80e62fab11 100644--- a/app/src/pages/Skills.tsx+++ b/app/src/pages/Skills.tsx@@ -975,6 +975,16 @@ export default function Skills() {'M14.752 11.168l-3.197-2.132A1 1 0 0010 9.87v4.263a1 1 0 001.555.832l3.197-2.132a1 1 0 000-1.664zM21 12a9 9 0 11-18 0 9 9 0 0118 0z'),},+ {+ value: 'browser',+ label: t('connections.tabs.browser'),+ icon: navIcon('M3 5h18v14H3zM3 10h18M9 10v9'),+ },+ {+ value: 'desktop',+ label: t('desktop.title'),+ icon: navIcon('M4 5h16v11H4zM8 20h8m-4-4v4'),+ },{// Wallet balances relocated from Settings → Data.value: 'wallet',@@ -1021,11 +1031,6 @@ export default function Skills() {label: t('settings.search.title'),icon: navIcon('M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'),},- {- value: 'browser',- label: t('connections.tabs.browser'),- icon: navIcon('M3 5h18v14H3zM3 10h18M9 10v9'),- },{// Usage & limits (cost dashboard, token savings, background// loops) relocated from Settings.@@ -1037,16 +1042,6 @@ export default function Skills() {},],},- {- label: t('connections.groups.desktop'),- items: [- {- value: 'desktop',- label: t('desktop.title'),- icon: navIcon('M4 5h16v11H4zM8 20h8m-4-4v4'),- },- ],- },]}/></div>diff --git a/app/src/pages/__tests__/Skills.intelligence-tabs.test.tsx b/app/src/pages/__tests__/Skills.intelligence-tabs.test.tsxindex 8d3c72e04d..d3b82af87b 100644--- a/app/src/pages/__tests__/Skills.intelligence-tabs.test.tsx+++ b/app/src/pages/__tests__/Skills.intelligence-tabs.test.tsx@@ -1,4 +1,4 @@-import { screen, waitFor } from '@testing-library/react';+import { screen, waitFor, within } from '@testing-library/react';import { describe, expect, it, vi } from 'vitest';import '../../test/mockDefaultSkillStatusHooks';@@ -75,6 +75,14 @@ vi.mock('../../utils/tauriCommands', async () => {});describe('Skills page — API keys (intelligence) tabs', () => {+ it('groups Browser and Desktop Control with integrations', () => {+ renderWithProviders(<Skills />, { initialEntries: ['/connections?tab=browser'] });+ const group = screen.getByText('Integrations').parentElement?.parentElement;+ expect(group).toBeTruthy();+ expect(within(group!).getByTestId('two-pane-nav-browser')).toBeInTheDocument();+ expect(within(group!).getByTestId('two-pane-nav-desktop')).toBeInTheDocument();+ });+it.each([['llm', 'skills-llm-panel'],['voice', 'skills-voice-panel'],