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
chore: files changed app/src/components/settings/layout/SettingsSidebar.test.tsx,app/src/components/
Steven Enamakel0039df7ceb6a
diff --git a/app/src/components/settings/layout/SettingsSidebar.test.tsx b/app/src/components/settings/layout/SettingsSidebar.test.tsxindex d43065bcdc..5daef27539 100644--- a/app/src/components/settings/layout/SettingsSidebar.test.tsx+++ b/app/src/components/settings/layout/SettingsSidebar.test.tsx@@ -10,18 +10,6 @@ vi.mock('../hooks/useSettingsNavigation', () => ({useSettingsNavigation: () => ({ currentRoute: 'privacy', navigateToSettings }),}));-vi.mock('../search/useSettingsSearch', () => ({ useSettingsSearch: () => [] }));--vi.mock('../search/SettingsSearchBar', () => ({- default: ({ value, onValueChange }: { value: string; onValueChange: (next: string) => void }) => (- <input- data-testid="settings-search-input"- value={value}- onChange={e => onValueChange(e.target.value)}- />- ),-}));-vi.mock('../settingsRouteRegistry', () => ({NAV_GROUP_LABEL_KEY: { general: 'nav.group.general' },entryRoute: (entry: { id: string }) => entry.id,diff --git a/app/src/components/settings/layout/SettingsSidebar.tsx b/app/src/components/settings/layout/SettingsSidebar.tsxindex e615612a82..a893b9e066 100644--- a/app/src/components/settings/layout/SettingsSidebar.tsx+++ b/app/src/components/settings/layout/SettingsSidebar.tsx@@ -1,10 +1,6 @@-import { useState } from 'react';-import { useT } from '../../../lib/i18n/I18nContext';import TwoPaneNav from '../../layout/TwoPaneNav';import { useSettingsNavigation } from '../hooks/useSettingsNavigation';-import SettingsSearchBar from '../search/SettingsSearchBar';-import { useSettingsSearch } from '../search/useSettingsSearch';import {entryRoute,NAV_GROUP_LABEL_KEY,@@ -23,79 +19,49 @@ import { SETTINGS_NAV_ICONS } from './settingsNavIcons';* hand-roll an equivalent row list, which drifted the moment either side was* touched: shorter rows (`py-1` vs `py-1.5`), a different group-heading inset,* and a grey icon left sitting on the accent fill of a selected row.+ *+ * There is no search field here any more. It filtered against the full route+ * registry rather than these top-level entries, so it was the only way to reach+ * some deep destinations (privacy, security, agent-access, …) by name; those are+ * still reachable by navigating their parent section, but nothing types them+ * now. `components/settings/search/` went with it — that directory existed+ * solely for this header and had no other importer.*/const SettingsSidebar = () => {const { t } = useT();const { currentRoute, navigateToSettings } = useSettingsNavigation();- // While searching we render a flat, ranked result list backed by the FULL- // route registry (via useSettingsSearch) — not just the top-level sidebar- // entries — so deep/sub-nav destinations (privacy, security, agent-access, …)- // remain reachable via search. With no query we render the grouped nav.- const [searchQuery, setSearchQuery] = useState('');- const isSearching = searchQuery.trim().length > 0;- const searchResults = useSettingsSearch(searchQuery);-const activeSidebarId = resolveSidebarId(currentRoute);// `route` is not carried on the nav item, so keep the id → route map beside// the groups and resolve on select.const routeById = new Map<string, string>();- const groups = isSearching- ? [- {- testId: 'settings-search-results',- items: searchResults.map(result => {- routeById.set(result.entry.id, result.entry.route);- return {- value: result.entry.id,- label: result.title,- icon: SETTINGS_NAV_ICONS[result.entry.id] ?? null,- testId: `settings-nav-${result.entry.id}`,- };- }),- },- ]- : sidebarGroups().map(group => ({- label: t(NAV_GROUP_LABEL_KEY[group.group]),- testId: `settings-sidebar-group-${group.group}`,- items: group.entries.map(entry => {- routeById.set(entry.id, entryRoute(entry));- return {- value: entry.id,- label: t(entry.titleKey),- icon: SETTINGS_NAV_ICONS[entry.id] ?? null,- highlight: entry.highlight,- testId: `settings-nav-${entry.id}`,- };- }),- }));-- const hasRows = groups.some(group => group.items.length > 0);+ const groups = sidebarGroups().map(group => ({+ label: t(NAV_GROUP_LABEL_KEY[group.group]),+ testId: `settings-sidebar-group-${group.group}`,+ items: group.entries.map(entry => {+ routeById.set(entry.id, entryRoute(entry));+ return {+ value: entry.id,+ label: t(entry.titleKey),+ icon: SETTINGS_NAV_ICONS[entry.id] ?? null,+ highlight: entry.highlight,+ testId: `settings-nav-${entry.id}`,+ };+ }),+ }));return (<TwoPaneNavariaLabel={t('nav.settings')}walkthroughId="settings-menu"- // Full-width search field as a fixed header; the scroll lives on the nav- // list below it, not on the header.- header={<SettingsSearchBar value={searchQuery} onValueChange={setSearchQuery} />}groups={groups}selected={activeSidebarId ?? ''}onSelect={id => {const route = routeById.get(id);if (route) navigateToSettings(route);}}- footer={- isSearching && !hasRows ? (- <p- data-testid="settings-search-empty"- className="px-2.5 pt-3 text-center text-xs text-content-faint">- {t('settings.settingsSearch.noResults').replace('{query}', searchQuery.trim())}- </p>- ) : null- }/>);};diff --git a/app/src/components/settings/search/SettingsSearchBar.test.tsx b/app/src/components/settings/search/SettingsSearchBar.test.tsxdeleted file mode 100644index 8e30e08fa2..0000000000--- a/app/src/components/settings/search/SettingsSearchBar.test.tsx+++ /dev/null@@ -1,67 +0,0 @@-/**- * Tests for SettingsSearchBar — the settings sidebar search input.- *- * The two-pane restructure reduced this to a plain controlled text input: it no- * longer renders its own result list or performs navigation. The parent- * (SettingsSidebar) consumes the query to filter the visible nav tabs in place,- * so these tests cover only the input's own behavior (typing, Escape, clear).- */-import { fireEvent, render, screen } from '@testing-library/react';-import { useState } from 'react';-import { describe, expect, test, vi } from 'vitest';--import SettingsSearchBar from './SettingsSearchBar';--vi.mock('../../../lib/i18n/I18nContext', () => ({ useT: () => ({ t: (key: string) => key }) }));--// Controlled wrapper so typing flows through value/onValueChange like in-// SettingsSidebar.-const Harness = () => {- const [value, setValue] = useState('');- return <SettingsSearchBar value={value} onValueChange={setValue} />;-};--const type = (text: string) =>- fireEvent.change(screen.getByTestId('settings-search-input'), { target: { value: text } });--describe('SettingsSearchBar', () => {- test('renders the input without any embedded result list', () => {- render(<Harness />);- expect(screen.getByTestId('settings-search-input')).toBeTruthy();- // The bar itself never renders a result dropdown — filtering lives in the- // sidebar.- expect(screen.queryByTestId('settings-search-results')).toBeNull();- expect(screen.queryByTestId('settings-search-empty')).toBeNull();- });-- test('reflects typed text in the controlled value', () => {- render(<Harness />);- const input = screen.getByTestId('settings-search-input') as HTMLInputElement;- type('appearance');- expect(input.value).toBe('appearance');- });-- test('shows the clear button only once a query is entered', () => {- render(<Harness />);- expect(screen.queryByTestId('settings-search-clear')).toBeNull();- type('appearance');- expect(screen.getByTestId('settings-search-clear')).toBeTruthy();- });-- test('Escape clears the query', () => {- render(<Harness />);- const input = screen.getByTestId('settings-search-input') as HTMLInputElement;- type('appearance');- expect(input.value).toBe('appearance');- fireEvent.keyDown(input, { key: 'Escape' });- expect(input.value).toBe('');- });-- test('clear button empties the query', () => {- render(<Harness />);- const input = screen.getByTestId('settings-search-input') as HTMLInputElement;- type('appearance');- fireEvent.click(screen.getByTestId('settings-search-clear'));- expect(input.value).toBe('');- });-});diff --git a/app/src/components/settings/search/SettingsSearchBar.tsx b/app/src/components/settings/search/SettingsSearchBar.tsxdeleted file mode 100644index 0cf24c0d6d..0000000000--- a/app/src/components/settings/search/SettingsSearchBar.tsx+++ /dev/null@@ -1,91 +0,0 @@-// ----------------------------------------------------------------------------// SettingsSearchBar-//-// A full-width search field for the settings sidebar. It is purely a-// controlled text input — it does NOT render its own result list. The parent-// (SettingsSidebar) uses the query to filter the visible nav tabs in place.-//-// Built on the shadcn `Input` (`components/assistant-ui/ui/input.tsx`) rather-// than the app's own `TextField`. It used to be a `TextField` overridden into a-// square underline — `rounded-none border-0 border-b border-line focus:ring-0`-// — which is a fourth input shape in an app that already has the shadcn box on-// its composer and dialogs. Standardising on the shared primitive means the-// radius, the border token and the focus ring come from one place and this-// field cannot drift from them again, so the overrides left here are only the-// two that earn their keep: gutters for the icon and the clear button.-// ----------------------------------------------------------------------------import { useRef } from 'react';--import { useT } from '../../../lib/i18n/I18nContext';-import { Input } from '../../assistant-ui/ui/input';-import Button from '../../ui/Button';-import { CloseIcon } from '../../ui/icons';--interface SettingsSearchBarProps {- value: string;- onValueChange: (next: string) => void;-}--const SearchIcon = () => (- <svg className="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24" aria-hidden="true">- <path- strokeLinecap="round"- strokeLinejoin="round"- strokeWidth={2}- d="M21 21l-4.35-4.35M11 19a8 8 0 100-16 8 8 0 000 16z"- />- </svg>-);--const SettingsSearchBar = ({ value, onValueChange }: SettingsSearchBarProps) => {- const { t } = useT();- const inputRef = useRef<HTMLInputElement | null>(null);-- return (- <div data-testid="settings-search" className="relative shrink-0">- <span className="pointer-events-none absolute inset-y-0 left-2.5 flex items-center text-content-faint">- <SearchIcon />- </span>- <Input- ref={inputRef}- type="text"- aria-label={t('settings.settingsSearch.ariaLabel')}- autoComplete="off"- spellCheck={false}- value={value}- onChange={event => onValueChange(event.target.value)}- onKeyDown={event => {- if (event.key === 'Escape' && value) {- event.preventDefault();- onValueChange('');- }- }}- placeholder={t('settings.settingsSearch.placeholder')}- data-testid="settings-search-input"- // Only the gutters: `pl-9` clears the leading search glyph and `pr-9`- // the trailing clear button, replacing the primitive's own `px-2.5` on- // those sides. Radius, border, height and focus ring are the- // primitive's and are deliberately not overridden.- className="pl-9 pr-9"- />- {value && (- <Button- type="button"- variant="tertiary"- size="sm"- iconOnly- onClick={() => {- onValueChange('');- inputRef.current?.focus();- }}- aria-label={t('settings.settingsSearch.clear')}- data-testid="settings-search-clear"- className="absolute inset-y-0 right-1 my-auto h-6 w-6 text-content-faint hover:text-content-secondary hover:bg-transparent focus-visible:ring-offset-surface">- <CloseIcon className="h-4 w-4" />- </Button>- )}- </div>- );-};--export default SettingsSearchBar;diff --git a/app/src/components/settings/search/settingsSearchRegistry.ts b/app/src/components/settings/search/settingsSearchRegistry.tsdeleted file mode 100644index 1d76cd9d50..0000000000--- a/app/src/components/settings/search/settingsSearchRegistry.ts+++ /dev/null@@ -1,96 +0,0 @@-// ----------------------------------------------------------------------------// Settings search registry-//-// Derived from settingsRouteRegistry so that every destination registered-// there automatically becomes searchable. The mapping adds:-// - `sectionKey`: the i18n key for the section badge shown in results.-// - `keywords`: English-only synonyms (from the registry's searchKeywords).-//-// The Phase 1 "shallow" search API surface is preserved: SETTINGS_SEARCH_ENTRIES-// and SettingsSearchEntry remain the public interface consumed by-// useSettingsSearch / SettingsSearchBar. A future Phase 2 can enrich this-// with per-control deep search without changing the consumer API.-//-// `devOnly` entries are only surfaced when developer mode is on.-// Routes map 1:1 to the <Route> table in app/src/pages/Settings.tsx.-// ----------------------------------------------------------------------------import debug from 'debug';--import {- entryRoute,- SETTINGS_ROUTE_REGISTRY,- type SettingsSection,-} from '../settingsRouteRegistry';--const log = debug('settings:search');--export interface SettingsSearchEntry {- /** Stable unique id — used as the React key and test id. */- id: string;- /** i18n key for the result title (reused from the existing menu item). */- titleKey: string;- /** i18n key for the result description (optional). */- descriptionKey?: string;- /** Settings route passed to `navigateToSettings(route)`. */- route: string;- /** i18n key for the section badge shown next to the result. */- sectionKey: string;- /** Extra English match terms (synonyms). Not shown in the UI. */- keywords?: string[];- /** When true, only surfaced if developer mode is enabled. */- devOnly?: boolean;-}--// Section badge i18n keys (reused from the existing section headers).-const SECTION_KEY: Record<SettingsSection, string> = {- home: 'nav.settings',- account: 'settings.groups.account',- ai: 'pages.settings.aiSection.title',- agents: 'settings.agentsSection.title',- features: 'pages.settings.featuresSection.title',- crypto: 'settings.cryptoSection.title',- notifications: 'settings.groups.notifications',- developer: 'settings.developerDiagnostics',-};--// Fine-grained badge overrides: top-level 'home' entries map to 'nav.settings'-// by default, but some items logically belong to a sub-group badge.-const SECTION_BADGE_OVERRIDES: Record<string, string> = {- personality: 'settings.groups.assistant',- appearance: 'settings.groups.account',- devices: 'settings.groups.account',- 'notifications-hub': 'settings.groups.notifications',- crypto: 'settings.cryptoSection.title',- about: 'settings.about',- ai: 'nav.settings',- 'agents-settings': 'nav.settings',- features: 'nav.settings',- 'developer-options': 'settings.developerDiagnostics',-};--/**- * Every searchable settings destination. Derived from the route registry so- * additions to the registry automatically appear in search. Hidden deep-link- * entries are excluded from search results.- */-export const SETTINGS_SEARCH_ENTRIES: SettingsSearchEntry[] = SETTINGS_ROUTE_REGISTRY.filter(- e => !e.hiddenDeepLink-).map(entry => {- const route = entryRoute(entry);- const sectionKey = SECTION_BADGE_OVERRIDES[entry.id] ?? SECTION_KEY[entry.section];-- return {- id: entry.id,- titleKey: entry.titleKey,- descriptionKey: entry.descriptionKey,- route,- sectionKey,- keywords: entry.searchKeywords,- devOnly: entry.devOnly,- };-});--// Debug log: confirm derived entries.-if (typeof window !== 'undefined') {- log('search registry derived — %d entries', SETTINGS_SEARCH_ENTRIES.length);-}diff --git a/app/src/components/settings/search/useSettingsSearch.test.ts b/app/src/components/settings/search/useSettingsSearch.test.tsdeleted file mode 100644index 2adc62514b..0000000000--- a/app/src/components/settings/search/useSettingsSearch.test.ts+++ /dev/null@@ -1,95 +0,0 @@-/**- * Unit tests for the pure `searchSettings` matcher that powers the Settings- * global search bar. Uses a small synthetic registry + fake translator so the- * algorithm is tested in isolation from the real (churning) entry list.- */-import { describe, expect, test } from 'vitest';--import type { SettingsSearchEntry } from './settingsSearchRegistry';-import { searchSettings } from './useSettingsSearch';--const LABELS: Record<string, string> = {- 'voice.t': 'Voice',- 'voice.d': 'Text to speech and dictation',- 'vd.t': 'Voice Debug',- 'priv.t': 'Privacy',- 'priv.d': 'Telemetry and tracking controls',- 'dataPriv.t': 'Data Privacy',- 'cafe.t': 'Café',- 'sec.ai': 'AI',- 'sec.dev': 'Developer',- 'sec.acct': 'Account',-};--const t = (key: string): string => LABELS[key] ?? key;--const ENTRIES: SettingsSearchEntry[] = [- {- id: 'voice',- titleKey: 'voice.t',- descriptionKey: 'voice.d',- route: 'voice',- sectionKey: 'sec.ai',- keywords: ['speech', 'tts'],- },- {- id: 'voice-debug',- titleKey: 'vd.t',- route: 'voice-debug',- sectionKey: 'sec.dev',- devOnly: true,- },- {- id: 'privacy',- titleKey: 'priv.t',- descriptionKey: 'priv.d',- route: 'privacy',- sectionKey: 'sec.acct',- keywords: ['telemetry'],- },- { id: 'data-privacy', titleKey: 'dataPriv.t', route: 'data-privacy', sectionKey: 'sec.acct' },- { id: 'cafe', titleKey: 'cafe.t', route: 'cafe', sectionKey: 'sec.acct' },-];--const ids = (query: string, includeDevOnly = false) =>- searchSettings(ENTRIES, query, t, includeDevOnly).map(r => r.entry.id);--describe('searchSettings', () => {- test('empty / whitespace query returns no results', () => {- expect(searchSettings(ENTRIES, '', t, true)).toEqual([]);- expect(searchSettings(ENTRIES, ' ', t, true)).toEqual([]);- });-- test('matches by title', () => {- expect(ids('voice', true)).toContain('voice');- });-- test('hides devOnly entries unless developer mode is enabled', () => {- expect(ids('voice', false)).toEqual(['voice']);- expect(ids('voice', true)).toEqual(['voice', 'voice-debug']);- });-- test('matches by keyword synonym not present in the title', () => {- expect(ids('tts')).toEqual(['voice']);- });-- test('matches by description-only text', () => {- // "controls" appears only in the privacy description, not its title/keywords.- expect(ids('controls')).toEqual(['privacy']);- });-- test('AND semantics — every token must match', () => {- // "voice" alone hits both, but only Voice Debug contains "debug".- expect(ids('voice debug', true)).toEqual(['voice-debug']);- });-- test('is diacritic-insensitive', () => {- expect(ids('cafe')).toEqual(['cafe']);- expect(ids('café')).toEqual(['cafe']);- });-- test('ranks a title-prefix match above a title-substring match', () => {- // "Privacy" (prefix) should outrank "Data Privacy" (substring).- expect(ids('priv')).toEqual(['privacy', 'data-privacy']);- });-});diff --git a/app/src/components/settings/search/useSettingsSearch.ts b/app/src/components/settings/search/useSettingsSearch.tsdeleted file mode 100644index c4bfb02bdc..0000000000--- a/app/src/components/settings/search/useSettingsSearch.ts+++ /dev/null@@ -1,153 +0,0 @@-// ----------------------------------------------------------------------------// useSettingsSearch-//-// Filters the settings search registry against a free-text query. The matching-// core is a pure function (`searchSettings`) so it can be unit-tested without-// React; the hook wires in the live i18n translator and developer-mode flag.-//-// Matching rules:-// - The query is normalised (lowercased + diacritics stripped) and split into-// whitespace tokens. EVERY token must appear somewhere in the entry's-// haystack (title + description + section + keywords) — i.e. AND semantics,-// so "voice debug" narrows rather than widens.-// - Results are ranked: a title prefix hit beats a title substring hit, which-// beats a keyword/section hit, which beats a description-only hit. Ties fall-// back to the registry's declaration order (stable).-// ----------------------------------------------------------------------------import { useMemo } from 'react';--import { useDeveloperMode } from '../../../hooks/useDeveloperMode';-import { useT } from '../../../lib/i18n/I18nContext';-import { SETTINGS_SEARCH_ENTRIES, type SettingsSearchEntry } from './settingsSearchRegistry';--interface SettingsSearchResult {- entry: SettingsSearchEntry;- /** Localised title for rendering. */- title: string;- /** Localised description for rendering (may be empty). */- description: string;- /** Localised section badge label. */- section: string;-}--/** Lower-case and strip diacritics so "Tóol" matches "tool". */-const normalize = (value: string): string =>- value- .normalize('NFD')- // Strip combining diacritical marks (U+0300–U+036F) so "Tóol" matches "tool".- .replace(/[\u0300-\u036f]/g, '')- .toLowerCase()- .trim();--type Translate = (key: string) => string;--interface ScoredResult extends SettingsSearchResult {- score: number;- order: number;-}--// Higher = better match. Kept as named constants for readability.-const SCORE_TITLE_PREFIX = 4;-const SCORE_TITLE_INCLUDES = 3;-const SCORE_KEYWORD_OR_SECTION = 2;-const SCORE_DESCRIPTION = 1;-const SCORE_NONE = 0;--/**- * Score a single entry against the already-normalised query tokens. Returns- * `SCORE_NONE` (0) when any token is unmatched — such entries are filtered out.- */-const scoreEntry = (- title: string,- description: string,- section: string,- keywords: string[],- tokens: string[]-): number => {- const nTitle = normalize(title);- const nDescription = normalize(description);- const nSection = normalize(section);- const nKeywords = keywords.map(normalize);-- let best = SCORE_NONE;-- for (const token of tokens) {- let tokenScore = SCORE_NONE;- if (nTitle.startsWith(token)) {- tokenScore = SCORE_TITLE_PREFIX;- } else if (nTitle.includes(token)) {- tokenScore = SCORE_TITLE_INCLUDES;- } else if (nKeywords.some(k => k.includes(token)) || nSection.includes(token)) {- tokenScore = SCORE_KEYWORD_OR_SECTION;- } else if (nDescription.includes(token)) {- tokenScore = SCORE_DESCRIPTION;- }-- // AND semantics: a single unmatched token disqualifies the entry.- if (tokenScore === SCORE_NONE) return SCORE_NONE;- best = Math.max(best, tokenScore);- }-- return best;-};--/**- * Pure search over the registry. Exposed for unit testing.- *- * @param entries registry entries to consider- * @param query raw user query- * @param t i18n translator- * @param includeDevOnly whether developer-mode-only entries are eligible- */-export const searchSettings = (- entries: SettingsSearchEntry[],- query: string,- t: Translate,- includeDevOnly: boolean-): SettingsSearchResult[] => {- const normalizedQuery = normalize(query);- if (!normalizedQuery) return [];-- const tokens = normalizedQuery.split(/\s+/).filter(Boolean);- if (tokens.length === 0) return [];-- const scored: ScoredResult[] = [];-- entries.forEach((entry, order) => {- if (entry.devOnly && !includeDevOnly) return;-- const title = t(entry.titleKey);- const description = entry.descriptionKey ? t(entry.descriptionKey) : '';- const section = t(entry.sectionKey);- const keywords = entry.keywords ?? [];-- const score = scoreEntry(title, description, section, keywords, tokens);- if (score === SCORE_NONE) return;-- scored.push({ entry, title, description, section, score, order });- });-- scored.sort((a, b) => (b.score !== a.score ? b.score - a.score : a.order - b.order));-- return scored.map(({ entry, title, description, section }) => ({- entry,- title,- description,- section,- }));-};--/**- * React hook: returns the ranked, localised, dev-gated results for `query`.- * An empty/whitespace query yields an empty array (caller renders the normal- * menu instead).- */-export const useSettingsSearch = (query: string): SettingsSearchResult[] => {- const { t } = useT();- const developerMode = useDeveloperMode();-- return useMemo(- () => searchSettings(SETTINGS_SEARCH_ENTRIES, query, t, developerMode),- [query, t, developerMode]- );-};diff --git a/app/src/lib/i18n/ar.ts b/app/src/lib/i18n/ar.tsindex f92e030923..74586a3bc7 100644--- a/app/src/lib/i18n/ar.ts+++ b/app/src/lib/i18n/ar.ts@@ -1591,11 +1591,6 @@ const messages: TranslationMap = {'settings.search.accessBlockAllHint':'وكل الوصول إلى شبكة الإنترنت مغلق - لا يمكن للمساعد فتح أو قراءة أي موقع على شبكة الإنترنت.',// ─── Settings global search bar ────────────────────────────- 'settings.settingsSearch.placeholder': 'بحث في الإعدادات…',- 'settings.settingsSearch.ariaLabel': 'بحث في الإعدادات',- 'settings.settingsSearch.clear': 'مسح البحث',- 'settings.settingsSearch.resultsLabel': 'نتائج البحث',- 'settings.settingsSearch.noResults': 'لا توجد إعدادات مطابقة لـ ”{query}“','settings.embeddings.title': 'التضمينات','settings.embeddings.description':'اختر مزود التضمينات الذي يحول الذاكرة إلى متجهات للبحث الدلالي. تغيير المزود أو النموذج أو الأبعاد يبطل المتجهات المخزنة ويتطلب إعادة تعيين كاملة للذاكرة.',diff --git a/app/src/lib/i18n/bn.ts b/app/src/lib/i18n/bn.tsindex 0a48690f47..214bbb37e2 100644--- a/app/src/lib/i18n/bn.ts+++ b/app/src/lib/i18n/bn.ts@@ -1626,11 +1626,6 @@ const messages: TranslationMap = {'settings.search.accessBlockAllHint':'সকল ওয়েব প্রবেশাধিকার ব্লক করা হয়েছে- সহকারী কোন ওয়েবসাইট খুলতে বা পড়তে পারে না।',// ─── Settings global search bar ────────────────────────────- 'settings.settingsSearch.placeholder': 'সেটিংস খুঁজুন…',- 'settings.settingsSearch.ariaLabel': 'সেটিংস খুঁজুন',- 'settings.settingsSearch.clear': 'অনুসন্ধান সাফ করুন',- 'settings.settingsSearch.resultsLabel': 'অনুসন্ধানের ফলাফল',- 'settings.settingsSearch.noResults': '“{query}” এর জন্য কোনো সেটিং পাওয়া যায়নি','settings.embeddings.title': 'এমবেডিংস','settings.embeddings.description':'কোন এমবেডিং প্রদানকারী মেমরিকে সিমান্টিক সার্চের জন্য ভেক্টরে রূপান্তর করে তা চয়ন করুন। প্রদানকারী, মডেল বা মাত্রা পরিবর্তন করলে সংরক্ষিত ভেক্টর অবৈধ হয়ে যায় এবং সম্পূর্ণ মেমরি রিসেট প্রয়োজন।',diff --git a/app/src/lib/i18n/de.ts b/app/src/lib/i18n/de.tsindex ab400ac3ca..657d0f3268 100644--- a/app/src/lib/i18n/de.ts+++ b/app/src/lib/i18n/de.ts@@ -1678,11 +1678,6 @@ const messages: TranslationMap = {'settings.search.accessBlockAllHint':'Der gesamte Webzugriff ist blockiert – der Assistent kann keine Website öffnen oder lesen.',// ─── Settings global search bar ────────────────────────────- 'settings.settingsSearch.placeholder': 'Einstellungen durchsuchen…',- 'settings.settingsSearch.ariaLabel': 'Einstellungen durchsuchen',- 'settings.settingsSearch.clear': 'Suche löschen',- 'settings.settingsSearch.resultsLabel': 'Suchergebnisse',- 'settings.settingsSearch.noResults': 'Keine Einstellungen für „{query}“ gefunden','settings.embeddings.title': 'Einbettungen','settings.embeddings.description':'Wählen Sie den Embedding-Anbieter, der Erinnerungen in Vektoren für die semantische Suche umwandelt. Das Ändern des Anbieters, Modells oder der Dimensionen macht gespeicherte Vektoren ungültig und erfordert einen vollständigen Speicher-Reset.',diff --git a/app/src/lib/i18n/en.ts b/app/src/lib/i18n/en.tsindex c760b712a2..bb0575bdaa 100644--- a/app/src/lib/i18n/en.ts+++ b/app/src/lib/i18n/en.ts@@ -1737,11 +1737,6 @@ const en: TranslationMap = {'settings.search.accessBlockAllHint':'All web access is blocked: the assistant cannot open or read any website.',// ─── Settings global search bar ────────────────────────────- 'settings.settingsSearch.placeholder': 'Search settings…',- 'settings.settingsSearch.ariaLabel': 'Search settings',- 'settings.settingsSearch.clear': 'Clear search',- 'settings.settingsSearch.resultsLabel': 'Search results',- 'settings.settingsSearch.noResults': 'No settings found for “{query}”',// ─── Embeddings settings ───────────────────────────────────'settings.embeddings.title': 'Embeddings','settings.embeddings.description':diff --git a/app/src/lib/i18n/es.ts b/app/src/lib/i18n/es.tsindex 62b0b831d2..adf37aa91d 100644--- a/app/src/lib/i18n/es.ts+++ b/app/src/lib/i18n/es.ts@@ -1661,11 +1661,6 @@ const messages: TranslationMap = {'settings.search.accessBlockAllHint':'Todo el acceso web está bloqueado: el asistente no puede abrir ni leer ningún sitio web.',// ─── Settings global search bar ────────────────────────────- 'settings.settingsSearch.placeholder': 'Buscar ajustes…',- 'settings.settingsSearch.ariaLabel': 'Buscar ajustes',- 'settings.settingsSearch.clear': 'Borrar búsqueda',- 'settings.settingsSearch.resultsLabel': 'Resultados de búsqueda',- 'settings.settingsSearch.noResults': 'No se encontraron ajustes para «{query}»','settings.embeddings.title': 'Incrustaciones','settings.embeddings.description':'Elige qué proveedor de embeddings convierte la memoria en vectores para la búsqueda semántica. Cambiar el proveedor, modelo o dimensiones invalida los vectores almacenados y requiere un reinicio completo de la memoria.',diff --git a/app/src/lib/i18n/fr.ts b/app/src/lib/i18n/fr.tsindex b48097a7c5..4868ebee2c 100644--- a/app/src/lib/i18n/fr.ts+++ b/app/src/lib/i18n/fr.ts@@ -1676,11 +1676,6 @@ const messages: TranslationMap = {'settings.search.accessBlockAllHint':"Tout accès au web est bloqué: l'assistant ne peut ouvrir ni lire aucun site web.",// ─── Settings global search bar ────────────────────────────- 'settings.settingsSearch.placeholder': 'Rechercher dans les paramètres…',- 'settings.settingsSearch.ariaLabel': 'Rechercher dans les paramètres',- 'settings.settingsSearch.clear': 'Effacer la recherche',- 'settings.settingsSearch.resultsLabel': 'Résultats de recherche',- 'settings.settingsSearch.noResults': 'Aucun paramètre trouvé pour « {query} »','settings.embeddings.title': 'Encastrements','settings.embeddings.description':"Choisissez le fournisseur d'embeddings qui convertit la mémoire en vecteurs pour la recherche sémantique. Changer le fournisseur, le modèle ou les dimensions invalide les vecteurs stockés et nécessite une réinitialisation complète de la mémoire.",diff --git a/app/src/lib/i18n/hi.ts b/app/src/lib/i18n/hi.tsindex 309d8516a7..6a5f92bc6f 100644--- a/app/src/lib/i18n/hi.ts+++ b/app/src/lib/i18n/hi.ts@@ -1623,11 +1623,6 @@ const messages: TranslationMap = {'settings.search.accessBlockAllHint':'सभी वेब एक्सेस अवरुद्ध है - सहायक किसी भी वेबसाइट को खोल या पढ़ नहीं सकता है।',// ─── Settings global search bar ────────────────────────────- 'settings.settingsSearch.placeholder': 'सेटिंग खोजें…',- 'settings.settingsSearch.ariaLabel': 'सेटिंग खोजें',- 'settings.settingsSearch.clear': 'खोज साफ़ करें',- 'settings.settingsSearch.resultsLabel': 'खोज परिणाम',- 'settings.settingsSearch.noResults': '“{query}” के लिए कोई सेटिंग नहीं मिली','settings.embeddings.title': 'एम्बेडिंग्स','settings.embeddings.description':'चुनें कि कौन सा एम्बेडिंग प्रदाता मेमोरी को सिमेंटिक सर्च के लिए वेक्टर में बदलता है। प्रदाता, मॉडल या आयाम बदलने से संग्रहीत वेक्टर अमान्य हो जाते हैं और पूर्ण मेमरी रीसेट की आवश्यकता होती है।',diff --git a/app/src/lib/i18n/id.ts b/app/src/lib/i18n/id.tsindex 799c22a685..0def151797 100644--- a/app/src/lib/i18n/id.ts+++ b/app/src/lib/i18n/id.ts@@ -1637,11 +1637,6 @@ const messages: TranslationMap = {'settings.search.accessBlockAllHint':'Semua akses web diblokir - asisten tidak dapat membuka atau membaca website apapun.',// ─── Settings global search bar ────────────────────────────- 'settings.settingsSearch.placeholder': 'Cari pengaturan…',- 'settings.settingsSearch.ariaLabel': 'Cari pengaturan',- 'settings.settingsSearch.clear': 'Hapus pencarian',- 'settings.settingsSearch.resultsLabel': 'Hasil pencarian',- 'settings.settingsSearch.noResults': 'Tidak ada pengaturan yang cocok untuk “{query}”','settings.embeddings.title': 'Sematan','settings.embeddings.description':'Pilih penyedia embedding yang mengubah memori menjadi vektor untuk pencarian semantik. Mengubah penyedia, model, atau dimensi membatalkan vektor yang tersimpan dan memerlukan reset memori penuh.',diff --git a/app/src/lib/i18n/it.ts b/app/src/lib/i18n/it.tsindex c5b9668d9e..83c0650e32 100644--- a/app/src/lib/i18n/it.ts+++ b/app/src/lib/i18n/it.ts@@ -1661,11 +1661,6 @@ const messages: TranslationMap = {'settings.search.accessBlockAllHint':"Tutti gli accessi web sono bloccati: l'assistente non può aprire o leggere alcun sito web.",// ─── Settings global search bar ────────────────────────────- 'settings.settingsSearch.placeholder': 'Cerca nelle impostazioni…',- 'settings.settingsSearch.ariaLabel': 'Cerca nelle impostazioni',- 'settings.settingsSearch.clear': 'Cancella ricerca',- 'settings.settingsSearch.resultsLabel': 'Risultati della ricerca',- 'settings.settingsSearch.noResults': 'Nessuna impostazione trovata per «{query}»','settings.embeddings.title': 'Incorporamenti','settings.embeddings.description':'Scegli il fornitore di embeddings che converte la memoria in vettori per la ricerca semantica. Cambiare fornitore, modello o dimensioni invalida i vettori memorizzati e richiede un reset completo della memoria.',diff --git a/app/src/lib/i18n/ko.ts b/app/src/lib/i18n/ko.tsindex 0c46b14996..8fa666d484 100644--- a/app/src/lib/i18n/ko.ts+++ b/app/src/lib/i18n/ko.ts@@ -1613,11 +1613,6 @@ const messages: TranslationMap = {'settings.search.accessBlockAllHint':'모든 웹 접근이 차단됩니다. 어시스턴트는 어떤 웹사이트도 열거나 읽을 수 없습니다.',// ─── Settings global search bar ────────────────────────────- 'settings.settingsSearch.placeholder': '설정 검색…',- 'settings.settingsSearch.ariaLabel': '설정 검색',- 'settings.settingsSearch.clear': '검색 지우기',- 'settings.settingsSearch.resultsLabel': '검색 결과',- 'settings.settingsSearch.noResults': '“{query}”에 대한 설정을 찾을 수 없습니다','settings.embeddings.title': '임베딩','settings.embeddings.description':'시맨틱 검색을 위해 메모리를 벡터로 변환할 임베딩 제공자를 선택하세요. 제공자, 모델 또는 차원을 변경하면 저장된 벡터가 무효화되며 전체 메모리 초기화가 필요합니다.',diff --git a/app/src/lib/i18n/pl.ts b/app/src/lib/i18n/pl.tsindex 128397df4b..fbdc119043 100644--- a/app/src/lib/i18n/pl.ts+++ b/app/src/lib/i18n/pl.ts@@ -1652,11 +1652,6 @@ const messages: TranslationMap = {'settings.search.accessBlockAllHint':'Cały dostęp do sieci jest zablokowany: asystent nie może otwierać ani czytać żadnej witryny.',// ─── Settings global search bar ────────────────────────────- 'settings.settingsSearch.placeholder': 'Szukaj w ustawieniach…',- 'settings.settingsSearch.ariaLabel': 'Szukaj w ustawieniach',- 'settings.settingsSearch.clear': 'Wyczyść wyszukiwanie',- 'settings.settingsSearch.resultsLabel': 'Wyniki wyszukiwania',- 'settings.settingsSearch.noResults': 'Nie znaleziono ustawień dla „{query}”','settings.embeddings.title': 'Embeddings','settings.embeddings.description':'Wybierz, który dostawca embeddings konwertuje pamięć na wektory do wyszukiwania semantycznego. Zmiana dostawcy, modelu lub wymiarów unieważnia zapisane wektory i wymaga pełnego resetu pamięci.',diff --git a/app/src/lib/i18n/pt.ts b/app/src/lib/i18n/pt.tsindex 48cd78d053..563cac144a 100644--- a/app/src/lib/i18n/pt.ts+++ b/app/src/lib/i18n/pt.ts@@ -1659,11 +1659,6 @@ const messages: TranslationMap = {'settings.search.accessBlockAllHint':'Todo o acesso à web está bloqueado: o assistente não pode abrir ou ler nenhum site.',// ─── Settings global search bar ────────────────────────────- 'settings.settingsSearch.placeholder': 'Pesquisar configurações…',- 'settings.settingsSearch.ariaLabel': 'Pesquisar configurações',- 'settings.settingsSearch.clear': 'Limpar pesquisa',- 'settings.settingsSearch.resultsLabel': 'Resultados da pesquisa',- 'settings.settingsSearch.noResults': 'Nenhuma configuração encontrada para “{query}”','settings.embeddings.title': 'Incorporações','settings.embeddings.description':'Escolha qual provedor de embeddings converte memória em vetores para busca semântica. Alterar o provedor, modelo ou dimensões invalida vetores armazenados e requer uma redefinição completa da memória.',diff --git a/app/src/lib/i18n/ru.ts b/app/src/lib/i18n/ru.tsindex 53b013b49a..9f3148864d 100644--- a/app/src/lib/i18n/ru.ts+++ b/app/src/lib/i18n/ru.ts@@ -1642,11 +1642,6 @@ const messages: TranslationMap = {'settings.search.accessBlockAllHint':'Весь веб-доступ заблокирован: помощник не может открыть или прочитать какой-либо веб-сайт.',// ─── Settings global search bar ────────────────────────────- 'settings.settingsSearch.placeholder': 'Поиск в настройках…',- 'settings.settingsSearch.ariaLabel': 'Поиск в настройках',- 'settings.settingsSearch.clear': 'Очистить поиск',- 'settings.settingsSearch.resultsLabel': 'Результаты поиска',- 'settings.settingsSearch.noResults': 'Настройки по запросу «{query}» не найдены','settings.embeddings.title': 'Эмбеддинги','settings.embeddings.description':'Выберите провайдера эмбеддингов, который преобразует память в векторы для семантического поиска. Изменение провайдера, модели или размерности делает сохранённые векторы недействительными и требует полного сброса памяти.',diff --git a/app/src/lib/i18n/zh-CN.ts b/app/src/lib/i18n/zh-CN.tsindex 5293c8e57f..e57619cce5 100644--- a/app/src/lib/i18n/zh-CN.ts+++ b/app/src/lib/i18n/zh-CN.ts@@ -1535,11 +1535,6 @@ const messages: TranslationMap = {'settings.search.accessBlockAll': '全部阻止','settings.search.accessBlockAllHint': '所有网页访问都已阻止,助手无法打开或阅读任何网站。',// ─── Settings global search bar ────────────────────────────- 'settings.settingsSearch.placeholder': '搜索设置…',- 'settings.settingsSearch.ariaLabel': '搜索设置',- 'settings.settingsSearch.clear': '清除搜索',- 'settings.settingsSearch.resultsLabel': '搜索结果',- 'settings.settingsSearch.noResults': '未找到与“{query}”匹配的设置','settings.embeddings.title': '向量嵌入','settings.embeddings.description':'选择将记忆转换为语义搜索向量的嵌入提供商。更改提供商、模型或维度会使已存储的向量无效,需要完全重置记忆。',