The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(memory): show the active provider and the always-on built-in layer on every Memory page
Teknium7a0908c3b11f
diff --git a/apps/desktop/src/api/system.ts b/apps/desktop/src/api/system.tsindex e31990b8800..851f176ea56 100644--- a/apps/desktop/src/api/system.ts+++ b/apps/desktop/src/api/system.ts@@ -104,9 +104,9 @@ export function getMemoryProviderOAuthStatus(// Memory data + curator (parity with `hermes memory` / `hermes curator`).// ----------------------------------------------------------------------------export function getMemoryStatus(): Promise<MemoryStatusResponse> {+export function getMemoryStatus(profile?: null | string): Promise<MemoryStatusResponse> {return hermesApi<MemoryStatusResponse>({- ...profileScoped(),+ ...profileScoped(profile),path: '/api/memory'})}diff --git a/apps/desktop/src/app/command-center/maintenance.tsx b/apps/desktop/src/app/command-center/maintenance.tsxindex a7da30487f1..424c499f408 100644--- a/apps/desktop/src/app/command-center/maintenance.tsx+++ b/apps/desktop/src/app/command-center/maintenance.tsx@@ -27,6 +27,8 @@ import { confirm } from '@/store/confirm'import { notify, notifyError } from '@/store/notifications'import type { ActionStatusResponse } from '@/types/hermes'+import { MemoryLayersSummary } from '../settings/memory/memory-layers'+const ACTION_POLL_MS = 1200const ACTION_POLL_LIMIT = 240 // ~5 minutes of polling before giving up.@@ -321,11 +323,7 @@ export function MaintenancePanel() {<PageLoader className="min-h-16" label={mm.memoryData} />) : (<div>- <div className="py-1 text-[length:var(--conversation-caption-font-size)] text-(--ui-text-tertiary)">- {mm.memoryDataDesc}- {' · '}- {mm.memoryProvider(memory.active || mm.builtinMemory)}- </div>+ <MemoryLayersSummary status={memory} /><MemoryFileRowbusy={memoryBusy}label={mm.memoryFile}diff --git a/apps/desktop/src/app/settings/config-settings.tsx b/apps/desktop/src/app/settings/config-settings.tsxindex b4cb584c4dd..a80023e56c8 100644--- a/apps/desktop/src/app/settings/config-settings.tsx+++ b/apps/desktop/src/app/settings/config-settings.tsx@@ -11,6 +11,7 @@ import { getElevenLabsVoices, getHermesConfigSchema, saveHermesConfig } from '@/import { useI18n } from '@/i18n'import { triggerHaptic } from '@/lib/haptics'import { isSubmitEnter } from '@/lib/ime'+import { asText } from '@/lib/text'import { confirm } from '@/store/confirm'import { $activeConnectionId } from '@/store/connections'import {@@ -53,6 +54,7 @@ import {voiceFieldVisible} from './helpers'import { MemoryConnect } from './memory/connect'+import { MemoryLayersPanel } from './memory/memory-layers'import { ProviderConfigPanel } from './memory/provider-config-panel'import { ModelSettings, ModelSettingsSkeleton } from './model-settings'import { OnboardingSettings } from './onboarding-settings'@@ -320,6 +322,7 @@ function ConfigSettingsInner({const showDesktopSettings = activeSectionId === 'advanced' && (subpage === undefined || subpage === 'desktop')const showAttachments = activeSectionId === 'chat' && (subpage === undefined || subpage === 'attachments')const showSharedMetrics = activeSectionId === 'safety' && subpage === 'privacy'+ const showMemoryLayers = activeSectionId === 'memory' && (subpage === undefined || subpage === 'persistent')// Deep-link target from the command palette (?field=<key>): scroll the row// into view and flash it, then drop the param so it doesn't re-fire.@@ -504,6 +507,9 @@ function ConfigSettingsInner({{/* Shared metrics are two coupled opt-ins with a consent side effect, so theygo through their own RPC rather than the generic field autosave. */}{showSharedMetrics ? <SharedMetricsSettings /> : null}+ {showMemoryLayers ? (+ <MemoryLayersPanel profile={scopeProfile} provider={asText(getNested(config, 'memory.provider'))} />+ ) : null}{/* Routing picks the strategy and owns its routes; the subagent model row below is theDefault strategy's route and goes inert while another strategy decides. */}<DelegationRoutingSlotdiff --git a/apps/desktop/src/app/settings/memory/memory-layers.test.tsx b/apps/desktop/src/app/settings/memory/memory-layers.test.tsxnew file mode 100644index 00000000000..4a3b99d0299--- /dev/null+++ b/apps/desktop/src/app/settings/memory/memory-layers.test.tsx@@ -0,0 +1,64 @@+import { cleanup, render, screen, within } from '@testing-library/react'+import { afterEach, describe, expect, it, vi } from 'vitest'++import type * as HermesApi from '@/hermes'+import { getMemoryStatus } from '@/hermes'+import type { MemoryStatusResponse } from '@/types/hermes'++vi.mock('@/hermes', async importOriginal => ({+ ...(await importOriginal<typeof HermesApi>()),+ getCuratorStatus: vi.fn(() => new Promise(() => {})),+ getMemoryStatus: vi.fn()+}))++const { MaintenancePanel } = await import('../../command-center/maintenance')+const { MemoryLayersPanel } = await import('./memory-layers')++function status(active: string): MemoryStatusResponse {+ return {+ active,+ providers: [+ { name: 'byterover', description: '', available: true, configured: true, status: 'ready' },+ { name: 'retaindb', description: '', available: false, configured: false, status: 'needs_config' }+ ],+ builtin_files: { memory: 67, user: 17 }+ }+}++afterEach(cleanup)++// #145175: an active external provider read as "not in effect" because the+// Memory surfaces showed only MEMORY.md / USER.md.+describe('memory layers', () => {+ it('names the active provider and its readiness, and marks the built-in layer always on', async () => {+ vi.mocked(getMemoryStatus).mockResolvedValue(status('byterover'))+ render(<MaintenancePanel />)++ const layers = await screen.findByTestId('memory-layers')+ expect(within(layers).getByText('Active memory provider')).toBeTruthy()+ expect(within(layers).getByText('byterover')).toBeTruthy()+ expect(within(layers).getByText('ready')).toBeTruthy()+ expect(within(layers).getByText('Built-in layer')).toBeTruthy()+ expect(within(layers).getByText('Always on')).toBeTruthy()+ })++ it('says built-in only when no external provider is configured, and keeps the layer always on', async () => {+ vi.mocked(getMemoryStatus).mockResolvedValue(status(''))+ render(<MaintenancePanel />)++ const layers = await screen.findByTestId('memory-layers')+ expect(within(layers).getByText('None — built-in memory only')).toBeTruthy()+ expect(within(layers).queryByText('byterover')).toBeNull()+ expect(within(layers).getByText('Always on')).toBeTruthy()+ })++ it('follows the Settings page draft provider over the last saved one', async () => {+ vi.mocked(getMemoryStatus).mockResolvedValue(status('byterover'))+ render(<MemoryLayersPanel provider="retaindb" />)++ const layers = await screen.findByTestId('memory-layers')+ expect(await within(layers).findByText('needs setup')).toBeTruthy()+ expect(within(layers).getByText('retaindb')).toBeTruthy()+ expect(within(layers).queryByText('byterover')).toBeNull()+ })+})diff --git a/apps/desktop/src/app/settings/memory/memory-layers.tsx b/apps/desktop/src/app/settings/memory/memory-layers.tsxnew file mode 100644index 00000000000..34fc7e01755--- /dev/null+++ b/apps/desktop/src/app/settings/memory/memory-layers.tsx@@ -0,0 +1,80 @@+import { useEffect, useState } from 'react'++import { getMemoryStatus } from '@/hermes'+import { useI18n } from '@/i18n'+import type { MemoryProviderStatus, MemoryStatusResponse } from '@/types/hermes'++import { isExternalMemoryProvider } from '../helpers'+import { ListRow, Pill } from '../primitives'++const STATUS_TONE: Record<MemoryProviderStatus, 'destructive' | 'success' | 'warn'> = {+ missing: 'destructive',+ needs_config: 'warn',+ ready: 'success',+ unavailable: 'destructive'+}++/** The external provider `active` names, with its readiness when the status+ * lists it. Built-in memory is not a provider: `''`/`builtin` read as none. */+export function activeMemoryProvider(+ status: MemoryStatusResponse | null,+ provider?: string+): { name: string; status?: MemoryProviderStatus } | null {+ const name = provider ?? status?.active++ if (!isExternalMemoryProvider(name)) {+ return null+ }++ return { name, status: status?.providers.find(row => row.name === name)?.status }+}++/** Which memory provider is active, and that MEMORY.md / USER.md are the+ * built-in layer that stays on under any provider (#145175). */+export function MemoryLayersSummary({ provider, status }: { provider?: string; status: MemoryStatusResponse | null }) {+ const { t } = useI18n()+ const m = t.settings.memoryLayers+ const active = activeMemoryProvider(status, provider)++ return (+ <div className="grid gap-1" data-testid="memory-layers">+ <ListRow+ action={+ active ? (+ <span className="flex min-w-0 items-center gap-2">+ <span className="truncate font-mono text-[length:var(--conversation-text-font-size)]">{active.name}</span>+ {active.status ? <Pill tone={STATUS_TONE[active.status]}>{m.status[active.status]}</Pill> : null}+ </span>+ ) : (+ <span className="text-[length:var(--conversation-text-font-size)] text-(--ui-text-secondary)">+ {m.noProvider}+ </span>+ )+ }+ description={active ? m.providerDesc(active.name) : m.noProviderDesc}+ title={m.activeProvider}+ />+ <ListRow action={<Pill tone="success">{m.alwaysOn}</Pill>} description={m.builtinDesc} title={m.builtinLayer} />+ </div>+ )+}++/** Settings > Memory & Context: `provider` is the page's live `memory.provider`+ * draft, so the summary follows the select; readiness comes from GET /api/memory. */+export function MemoryLayersPanel({ profile, provider }: { profile?: string; provider: string }) {+ const [status, setStatus] = useState<MemoryStatusResponse | null>(null)++ useEffect(() => {+ let cancelled = false++ getMemoryStatus(profile)+ .then(next => !cancelled && setStatus(next))+ .catch(() => !cancelled && setStatus(null))++ return () => {+ cancelled = true+ }+ }, [profile, provider])++ return <MemoryLayersSummary provider={provider} status={status} />+}diff --git a/apps/desktop/src/i18n/ar_memory_layers.ts b/apps/desktop/src/i18n/ar_memory_layers.tsnew file mode 100644index 00000000000..a56542ff41e--- /dev/null+++ b/apps/desktop/src/i18n/ar_memory_layers.ts@@ -0,0 +1,18 @@+import type { MemoryLayersTranslations } from './types_memory_layers'++export const arMemoryLayers: MemoryLayersTranslations = {+ activeProvider: 'مزوّد الذاكرة النشط',+ noProvider: 'لا يوجد — الذاكرة المدمجة فقط',+ noProviderDesc: 'يستخدم Hermes الطبقة المدمجة أدناه فقط. اختر مزوّدًا خارجيًا في «مزوّد الذاكرة» لإضافته.',+ providerDesc: name => `يضيف ${name} استرجاعه الخاص إلى كل جلسة، فوق الطبقة المدمجة.`,+ status: {+ ready: 'جاهز',+ needs_config: 'يحتاج إلى إعداد',+ unavailable: 'غير متاح',+ missing: 'غير مثبّت'+ },+ builtinLayer: 'الطبقة المدمجة',+ alwaysOn: 'مفعّلة دائمًا',+ builtinDesc:+ 'يُحمَّل MEMORY.md وUSER.md في كل جلسة، مع مزوّد خارجي أو بدونه. يضيف المزوّد إلى هذه الطبقة ولا يستبدلها أبدًا.'+}diff --git a/apps/desktop/src/i18n/ar_settings.ts b/apps/desktop/src/i18n/ar_settings.tsindex f86e309a272..6dd1ec82d4f 100644--- a/apps/desktop/src/i18n/ar_settings.ts+++ b/apps/desktop/src/i18n/ar_settings.ts@@ -1,4 +1,5 @@import { arDelegationRouting } from './ar_delegation_routing'+import { arMemoryLayers } from './ar_memory_layers'import { arUpdateChannel } from './ar_update_channel'import type { TranslationOverrides } from './define-locale'@@ -13,6 +14,7 @@ export const arSettings = {noResults: 'لا توجد لغة مطابقة'},settings: {+ memoryLayers: arMemoryLayers,// Window plans (Nous subscription with included usage). Other billing strings: overlay-gaps.json.billing: {keepGoingOnCredits: {diff --git a/apps/desktop/src/i18n/de.ts b/apps/desktop/src/i18n/de.tsindex a2159af3e6c..0a20ed543a8 100644--- a/apps/desktop/src/i18n/de.ts+++ b/apps/desktop/src/i18n/de.ts@@ -10,6 +10,7 @@ import { deErrorLayers } from './de_error_layers'import { deFirstRun } from './de_first_run'import { deGatewayHost } from './de_gateway_host'import { deLocalModels } from './de_local_models'+import { deMemoryLayers } from './de_memory_layers'import { deModelMenu } from './de_model_menu'import { deModelSettings } from './de_model_settings'import { deNotices } from './de_notices'@@ -681,6 +682,7 @@ export const deOverrides = {noResults: 'Keine Sprachen gefunden'},settings: {+ memoryLayers: deMemoryLayers,subpages: {appearanceTheme: 'Design',appearanceTypography: 'Typografie',@@ -2858,9 +2860,6 @@ export const deOverrides = {resume: 'Fortsetzen',runNow: 'Jetzt ausführen',memoryData: 'Memory-Daten',- memoryDataDesc: 'Eingebaute Memory-Dateien, die in jede Session eingefügt werden',- memoryProvider: name => `Aktiver Provider: ${name}`,- builtinMemory: 'eingebaut',memoryFile: 'Agent-Memory (MEMORY.md)',userFile: 'Benutzerprofil (USER.md)',bytes: size => size,diff --git a/apps/desktop/src/i18n/de_memory_layers.ts b/apps/desktop/src/i18n/de_memory_layers.tsnew file mode 100644index 00000000000..2f54d5f615b--- /dev/null+++ b/apps/desktop/src/i18n/de_memory_layers.ts@@ -0,0 +1,19 @@+import type { MemoryLayersTranslations } from './types_memory_layers'++export const deMemoryLayers: MemoryLayersTranslations = {+ activeProvider: 'Aktiver Speicheranbieter',+ noProvider: 'Keiner — nur integrierter Speicher',+ noProviderDesc:+ 'Hermes nutzt nur die integrierte Ebene unten. Wähle unter Speicheranbieter einen externen Anbieter, um einen hinzuzufügen.',+ providerDesc: name => `${name} ergänzt jede Sitzung um eigene Erinnerungen, zusätzlich zur integrierten Ebene.`,+ status: {+ ready: 'bereit',+ needs_config: 'Einrichtung nötig',+ unavailable: 'nicht verfügbar',+ missing: 'nicht installiert'+ },+ builtinLayer: 'Integrierte Ebene',+ alwaysOn: 'Immer aktiv',+ builtinDesc:+ 'MEMORY.md und USER.md werden in jede Sitzung geladen, mit oder ohne externen Anbieter. Ein Anbieter ergänzt diese Ebene, er ersetzt sie nie.'+}diff --git a/apps/desktop/src/i18n/en.ts b/apps/desktop/src/i18n/en.tsindex 8d2b1b0c1c0..c0996da6895 100644--- a/apps/desktop/src/i18n/en.ts+++ b/apps/desktop/src/i18n/en.ts@@ -16,6 +16,7 @@ import { enExternalOpenFailed } from './en_external_open'import { enFirstRun } from './en_first_run'import { enGatewayHost } from './en_gateway_host'import { enLocalModels } from './en_local_models'+import { enMemoryLayers } from './en_memory_layers'import { enModelMenu } from './en_model_menu'import { enModelSettings } from './en_model_settings'import { enNotices } from './en_notices'@@ -1103,6 +1104,7 @@ export const en: Translations = {fieldLabels: FIELD_LABELS,fieldDescriptions: FIELD_DESCRIPTIONS,uninstallSection: enUninstallSection,+ memoryLayers: enMemoryLayers,customEndpoints: {active: 'Active',apiKeySet: 'API key set',@@ -2471,9 +2473,6 @@ export const en: Translations = {resume: 'Resume',runNow: 'Run now',memoryData: 'Memory data',- memoryDataDesc: 'Built-in memory files injected into every session',- memoryProvider: name => `Active provider: ${name}`,- builtinMemory: 'built-in',memoryFile: 'Agent memory (MEMORY.md)',userFile: 'User profile (USER.md)',bytes: size => size,diff --git a/apps/desktop/src/i18n/en_memory_layers.ts b/apps/desktop/src/i18n/en_memory_layers.tsnew file mode 100644index 00000000000..475884a62f9--- /dev/null+++ b/apps/desktop/src/i18n/en_memory_layers.ts@@ -0,0 +1,19 @@+import type { MemoryLayersTranslations } from './types_memory_layers'++// Settings > Memory & Context and Command Center > Maintenance (#145175).+export const enMemoryLayers: MemoryLayersTranslations = {+ activeProvider: 'Active memory provider',+ noProvider: 'None — built-in memory only',+ noProviderDesc: 'Hermes uses only the built-in layer below. Pick an external provider in Memory Provider to add one.',+ providerDesc: name => `${name} adds its own recall to every session, on top of the built-in layer.`,+ status: {+ ready: 'ready',+ needs_config: 'needs setup',+ unavailable: 'unavailable',+ missing: 'not installed'+ },+ builtinLayer: 'Built-in layer',+ alwaysOn: 'Always on',+ builtinDesc:+ 'MEMORY.md and USER.md load into every session, with or without an external provider. A provider adds to this layer; it never replaces it.'+}diff --git a/apps/desktop/src/i18n/es.ts b/apps/desktop/src/i18n/es.tsindex c8a596ee597..fdb19c1d1c2 100644--- a/apps/desktop/src/i18n/es.ts+++ b/apps/desktop/src/i18n/es.ts@@ -11,6 +11,7 @@ import { esErrorLayers } from './es_error_layers'import { esFirstRun } from './es_first_run'import { esGatewayHost } from './es_gateway_host'import { esLocalModels } from './es_local_models'+import { esMemoryLayers } from './es_memory_layers'import { esModelMenu } from './es_model_menu'import { esModelSettings } from './es_model_settings'import { esNotices } from './es_notices'@@ -684,6 +685,7 @@ export const esOverrides = {noResults: 'No se encontraron idiomas'},settings: {+ memoryLayers: esMemoryLayers,subpages: {appearanceTheme: 'Tema',appearanceTypography: 'Tipografía',@@ -2850,9 +2852,6 @@ export const esOverrides = {resume: 'Reanudar',runNow: 'Ejecutar ahora',memoryData: 'Datos de memoria',- memoryDataDesc: 'Archivos de memoria integrados que se incluyen en cada sesión',- memoryProvider: name => `Proveedor activo: ${name}`,- builtinMemory: 'integrada',memoryFile: 'Memoria del agente (MEMORY.md)',userFile: 'Perfil de usuario (USER.md)',bytes: size => size,diff --git a/apps/desktop/src/i18n/es_memory_layers.ts b/apps/desktop/src/i18n/es_memory_layers.tsnew file mode 100644index 00000000000..3879b91944e--- /dev/null+++ b/apps/desktop/src/i18n/es_memory_layers.ts@@ -0,0 +1,19 @@+import type { MemoryLayersTranslations } from './types_memory_layers'++export const esMemoryLayers: MemoryLayersTranslations = {+ activeProvider: 'Proveedor de memoria activo',+ noProvider: 'Ninguno — solo memoria integrada',+ noProviderDesc:+ 'Hermes usa solo la capa integrada de abajo. Elige un proveedor externo en Proveedor de memoria para añadir uno.',+ providerDesc: name => `${name} añade su propio recuerdo a cada sesión, además de la capa integrada.`,+ status: {+ ready: 'listo',+ needs_config: 'requiere configuración',+ unavailable: 'no disponible',+ missing: 'no instalado'+ },+ builtinLayer: 'Capa integrada',+ alwaysOn: 'Siempre activa',+ builtinDesc:+ 'MEMORY.md y USER.md se cargan en cada sesión, con o sin proveedor externo. Un proveedor se suma a esta capa; nunca la reemplaza.'+}diff --git a/apps/desktop/src/i18n/fr.ts b/apps/desktop/src/i18n/fr.tsindex bc4eb55a6e8..8fe6d100e06 100644--- a/apps/desktop/src/i18n/fr.ts+++ b/apps/desktop/src/i18n/fr.ts@@ -11,6 +11,7 @@ import { frErrorLayers } from './fr_error_layers'import { frFirstRun } from './fr_first_run'import { frGatewayHost } from './fr_gateway_host'import { frLocalModels } from './fr_local_models'+import { frMemoryLayers } from './fr_memory_layers'import { frModelMenu } from './fr_model_menu'import { frModelSettings } from './fr_model_settings'import { frNotices } from './fr_notices'@@ -681,6 +682,7 @@ export const frOverrides = {noResults: 'Aucune langue trouvée'},settings: {+ memoryLayers: frMemoryLayers,subpages: {appearanceTheme: 'Thème',appearanceTypography: 'Typographie',@@ -2866,9 +2868,6 @@ export const frOverrides = {resume: 'Reprendre',runNow: 'Exécuter maintenant',memoryData: 'Données de mémoire',- memoryDataDesc: 'Fichiers de mémoire intégrés injectés dans chaque session',- memoryProvider: name => `Fournisseur actif : ${name}`,- builtinMemory: 'intégré',memoryFile: "Mémoire de l'agent (MEMORY.md)",userFile: 'Profil utilisateur (USER.md)',bytes: size => size,diff --git a/apps/desktop/src/i18n/fr_memory_layers.ts b/apps/desktop/src/i18n/fr_memory_layers.tsnew file mode 100644index 00000000000..4c4063208ef--- /dev/null+++ b/apps/desktop/src/i18n/fr_memory_layers.ts@@ -0,0 +1,19 @@+import type { MemoryLayersTranslations } from './types_memory_layers'++export const frMemoryLayers: MemoryLayersTranslations = {+ activeProvider: 'Fournisseur de mémoire actif',+ noProvider: 'Aucun — mémoire intégrée uniquement',+ noProviderDesc:+ 'Hermes utilise uniquement la couche intégrée ci-dessous. Choisissez un fournisseur externe dans Fournisseur de mémoire pour en ajouter un.',+ providerDesc: name => `${name} ajoute son propre rappel à chaque session, en plus de la couche intégrée.`,+ status: {+ ready: 'prêt',+ needs_config: 'configuration requise',+ unavailable: 'indisponible',+ missing: 'non installé'+ },+ builtinLayer: 'Couche intégrée',+ alwaysOn: 'Toujours active',+ builtinDesc:+ "MEMORY.md et USER.md sont chargés dans chaque session, avec ou sans fournisseur externe. Un fournisseur s'ajoute à cette couche ; il ne la remplace jamais."+}diff --git a/apps/desktop/src/i18n/ja.ts b/apps/desktop/src/i18n/ja.tsindex 9f56af501ae..9cab1715468 100644--- a/apps/desktop/src/i18n/ja.ts+++ b/apps/desktop/src/i18n/ja.ts@@ -12,6 +12,7 @@ import { jaErrorLayers } from './ja_error_layers'import { jaFirstRun } from './ja_first_run'import { jaGatewayHost } from './ja_gateway_host'import { jaLocalModels } from './ja_local_models'+import { jaMemoryLayers } from './ja_memory_layers'import { jaModelMenu } from './ja_model_menu'import { jaModelSettings } from './ja_model_settings'import { jaNotices } from './ja_notices'@@ -243,6 +244,7 @@ export const jaOverrides = {},settings: {+ memoryLayers: jaMemoryLayers,// Window plans (Nous subscription with included usage). Other billing strings: overlay-gaps.json.billing: {keepGoingOnCredits: {diff --git a/apps/desktop/src/i18n/ja_memory_layers.ts b/apps/desktop/src/i18n/ja_memory_layers.tsnew file mode 100644index 00000000000..0b04d5d6b09--- /dev/null+++ b/apps/desktop/src/i18n/ja_memory_layers.ts@@ -0,0 +1,19 @@+import type { MemoryLayersTranslations } from './types_memory_layers'++export const jaMemoryLayers: MemoryLayersTranslations = {+ activeProvider: '有効なメモリプロバイダー',+ noProvider: 'なし — 組み込みメモリのみ',+ noProviderDesc:+ 'Hermes は下の組み込みレイヤーのみを使用します。追加するには「メモリプロバイダー」で外部プロバイダーを選択してください。',+ providerDesc: name => `${name} は組み込みレイヤーに加えて、各セッションに独自の想起を追加します。`,+ status: {+ ready: '準備完了',+ needs_config: '設定が必要',+ unavailable: '利用不可',+ missing: '未インストール'+ },+ builtinLayer: '組み込みレイヤー',+ alwaysOn: '常に有効',+ builtinDesc:+ 'MEMORY.md と USER.md は、外部プロバイダーの有無にかかわらず毎セッション読み込まれます。プロバイダーはこのレイヤーに追加されるもので、置き換えることはありません。'+}diff --git a/apps/desktop/src/i18n/overlay-gaps.json b/apps/desktop/src/i18n/overlay-gaps.jsonindex c28b5fdb0ea..9408fc1d1ca 100644--- a/apps/desktop/src/i18n/overlay-gaps.json+++ b/apps/desktop/src/i18n/overlay-gaps.json@@ -316,7 +316,6 @@"commandCenter.maintenance.actionStarted": ["ar","ja","zh-hant"],"commandCenter.maintenance.backup": ["ar","ja","zh-hant"],"commandCenter.maintenance.backupDesc": ["ar","ja","zh-hant"],- "commandCenter.maintenance.builtinMemory": ["ar","ja","zh-hant"],"commandCenter.maintenance.bytes": ["ar","ja","zh-hant"],"commandCenter.maintenance.copyLink": ["ar","ja","zh-hant"],"commandCenter.maintenance.curator": ["ar","ja","zh-hant"],@@ -336,9 +335,7 @@"commandCenter.maintenance.empty": ["ar","ja","zh-hant"],"commandCenter.maintenance.linkCopied": ["ar","ja","zh-hant"],"commandCenter.maintenance.memoryData": ["ar","ja","zh-hant"],- "commandCenter.maintenance.memoryDataDesc": ["ar","ja","zh-hant"],"commandCenter.maintenance.memoryFile": ["ar","ja","zh-hant"],- "commandCenter.maintenance.memoryProvider": ["ar","ja","zh-hant"],"commandCenter.maintenance.pause": ["ar","ja","zh-hant"],"commandCenter.maintenance.resetAll": ["ar","ja","zh-hant"],"commandCenter.maintenance.resetConfirm": ["ar","ja","zh-hant"],diff --git a/apps/desktop/src/i18n/ru.ts b/apps/desktop/src/i18n/ru.tsindex 64a863c9534..cf6f35dd762 100644--- a/apps/desktop/src/i18n/ru.ts+++ b/apps/desktop/src/i18n/ru.ts@@ -9,6 +9,7 @@ import { ruConnectors } from './ru_connectors'import { ruErrorCodes } from './ru_error_codes'import { ruFirstRun } from './ru_first_run'import { ruGatewayHost } from './ru_gateway_host'+import { ruMemoryLayers } from './ru_memory_layers'import { ruModelMenu } from './ru_model_menu'import { ruModelSettings } from './ru_model_settings'import { ruNotices } from './ru_notices'@@ -331,6 +332,7 @@ export const ruOverrides = {noResults: 'Языки не найдены'},settings: {+ memoryLayers: ruMemoryLayers,// Window plans (Nous subscription with included usage). Other billing strings: overlay-gaps.json.billing: {keepGoingOnCredits: {@@ -1769,9 +1771,6 @@ export const ruOverrides = {resume: 'Продолжить',runNow: 'Запустить сейчас',memoryData: 'Данные памяти',- memoryDataDesc: 'Встроенные файлы памяти, внедряемые в каждый сеанс',- memoryProvider: name => `Активный провайдер: ${name}`,- builtinMemory: 'встроенный',memoryFile: 'Память агента (MEMORY.md)',userFile: 'Профиль пользователя (USER.md)',bytes: size => size,diff --git a/apps/desktop/src/i18n/ru_memory_layers.ts b/apps/desktop/src/i18n/ru_memory_layers.tsnew file mode 100644index 00000000000..04bd7442005--- /dev/null+++ b/apps/desktop/src/i18n/ru_memory_layers.ts@@ -0,0 +1,19 @@+import type { MemoryLayersTranslations } from './types_memory_layers'++export const ruMemoryLayers: MemoryLayersTranslations = {+ activeProvider: 'Активный провайдер памяти',+ noProvider: 'Нет — только встроенная память',+ noProviderDesc:+ 'Hermes использует только встроенный слой ниже. Выберите внешнего провайдера в поле «Провайдер памяти», чтобы добавить его.',+ providerDesc: name => `${name} добавляет собственные воспоминания в каждую сессию поверх встроенного слоя.`,+ status: {+ ready: 'готов',+ needs_config: 'нужна настройка',+ unavailable: 'недоступен',+ missing: 'не установлен'+ },+ builtinLayer: 'Встроенный слой',+ alwaysOn: 'Всегда включён',+ builtinDesc:+ 'MEMORY.md и USER.md загружаются в каждую сессию — с внешним провайдером или без него. Провайдер дополняет этот слой, но никогда его не заменяет.'+}diff --git a/apps/desktop/src/i18n/types.ts b/apps/desktop/src/i18n/types.tsindex e29eb4e486b..186168bd3b9 100644--- a/apps/desktop/src/i18n/types.ts+++ b/apps/desktop/src/i18n/types.ts@@ -20,6 +20,7 @@ import type { GatewayGroupOpenCopy, SkillDeepLinkCopy } from './types_deep_linksimport type { ExternalOpenFailedCopy } from './types_external_open'import type { FirstRunCopy } from './types_first_run'import type { GatewayHostTranslations } from './types_gateway_host'+import type { MemoryLayersTranslations } from './types_memory_layers'import type { ModelMenuTranslations } from './types_model_menu'import type { ModelSettingsTranslations } from './types_model_settings'import type { NoticeTranslations } from './types_notices'@@ -915,6 +916,7 @@ catalog: CatalogTranslationsfieldLabels: Record<string, string>fieldDescriptions: Record<string, string>uninstallSection: UninstallSectionTranslations+ memoryLayers: MemoryLayersTranslationscustomEndpoints: {active: stringapiKeySet: string@@ -2243,9 +2245,6 @@ catalog: CatalogTranslationsresume: stringrunNow: stringmemoryData: string- memoryDataDesc: string- memoryProvider: (name: string) => string- builtinMemory: stringmemoryFile: stringuserFile: stringbytes: (size: string) => stringdiff --git a/apps/desktop/src/i18n/types_memory_layers.ts b/apps/desktop/src/i18n/types_memory_layers.tsnew file mode 100644index 00000000000..0ab0513955b--- /dev/null+++ b/apps/desktop/src/i18n/types_memory_layers.ts@@ -0,0 +1,18 @@+// Settings > Memory & Context and Command Center > Maintenance:+// which memory provider is active and the always-on built-in layer;+// `Translations.settings.memoryLayers`.+export interface MemoryLayersTranslations {+ activeProvider: string+ noProvider: string+ noProviderDesc: string+ providerDesc: (name: string) => string+ status: {+ ready: string+ needs_config: string+ unavailable: string+ missing: string+ }+ builtinLayer: string+ alwaysOn: string+ builtinDesc: string+}diff --git a/apps/desktop/src/i18n/zh-hant_memory_layers.ts b/apps/desktop/src/i18n/zh-hant_memory_layers.tsnew file mode 100644index 00000000000..73749de7a3a--- /dev/null+++ b/apps/desktop/src/i18n/zh-hant_memory_layers.ts@@ -0,0 +1,18 @@+import type { MemoryLayersTranslations } from './types_memory_layers'++export const zhHantMemoryLayers: MemoryLayersTranslations = {+ activeProvider: '目前記憶提供者',+ noProvider: '無 — 僅使用內建記憶',+ noProviderDesc: 'Hermes 僅使用下方的內建層。在「記憶提供者」中選擇外部提供者即可新增。',+ providerDesc: name => `${name} 會在內建層之外,為每個工作階段補充自己的記憶召回。`,+ status: {+ ready: '就緒',+ needs_config: '需要設定',+ unavailable: '無法使用',+ missing: '未安裝'+ },+ builtinLayer: '內建層',+ alwaysOn: '永遠啟用',+ builtinDesc:+ '無論是否啟用外部提供者,MEMORY.md 和 USER.md 都會載入每個工作階段。提供者是對這一層的補充,絕不會取代它。'+}diff --git a/apps/desktop/src/i18n/zh-hant_settings.ts b/apps/desktop/src/i18n/zh-hant_settings.tsindex 542657055ca..60b8d74d086 100644--- a/apps/desktop/src/i18n/zh-hant_settings.ts+++ b/apps/desktop/src/i18n/zh-hant_settings.ts@@ -2,6 +2,7 @@ import { defineFieldCopy } from '@/app/settings/field-copy'import type { TranslationOverrides } from './define-locale'import { zhHantDelegationRouting } from './zh-hant_delegation_routing'+import { zhHantMemoryLayers } from './zh-hant_memory_layers'import { zhHantUpdateChannel } from './zh-hant_update_channel'export const zhHantSettings = {@@ -16,6 +17,7 @@ export const zhHantSettings = {},settings: {+ memoryLayers: zhHantMemoryLayers,subpages: {appearanceTheme: '主題',appearanceTypography: '字體與縮放',diff --git a/apps/desktop/src/i18n/zh.ts b/apps/desktop/src/i18n/zh.tsindex 6ce1a14d998..fd685b0b6b3 100644--- a/apps/desktop/src/i18n/zh.ts+++ b/apps/desktop/src/i18n/zh.ts@@ -11,6 +11,7 @@ import { zhErrorLayers } from './zh_error_layers'import { zhFirstRun } from './zh_first_run'import { zhGatewayHost } from './zh_gateway_host'import { zhLocalModels } from './zh_local_models'+import { zhMemoryLayers } from './zh_memory_layers'import { zhModelMenu } from './zh_model_menu'import { zhModelSettings } from './zh_model_settings'import { zhNotices } from './zh_notices'@@ -453,6 +454,7 @@ export const zhOverrides = {},settings: {+ memoryLayers: zhMemoryLayers,subpages: {appearanceTheme: '主题',appearanceTypography: '字体与缩放',@@ -2396,9 +2398,6 @@ export const zhOverrides = {resume: '恢复',runNow: '立即运行',memoryData: '记忆数据',- memoryDataDesc: '注入每个会话的内置记忆文件',- memoryProvider: name => `当前提供方:${name}`,- builtinMemory: '内置',memoryFile: '智能体记忆(MEMORY.md)',userFile: '用户画像(USER.md)',bytes: size => size,diff --git a/apps/desktop/src/i18n/zh_memory_layers.ts b/apps/desktop/src/i18n/zh_memory_layers.tsnew file mode 100644index 00000000000..a556f42a67f--- /dev/null+++ b/apps/desktop/src/i18n/zh_memory_layers.ts@@ -0,0 +1,17 @@+import type { MemoryLayersTranslations } from './types_memory_layers'++export const zhMemoryLayers: MemoryLayersTranslations = {+ activeProvider: '当前记忆提供方',+ noProvider: '无 — 仅使用内置记忆',+ noProviderDesc: 'Hermes 仅使用下方的内置层。在“记忆提供方”中选择外部提供方即可添加。',+ providerDesc: name => `${name} 会在内置层之外,为每个会话补充自己的记忆召回。`,+ status: {+ ready: '就绪',+ needs_config: '需要设置',+ unavailable: '不可用',+ missing: '未安装'+ },+ builtinLayer: '内置层',+ alwaysOn: '始终启用',+ builtinDesc: '无论是否启用外部提供方,MEMORY.md 和 USER.md 都会载入每个会话。提供方是对这一层的补充,绝不会取代它。'+}diff --git a/apps/desktop/src/types/hermes.ts b/apps/desktop/src/types/hermes.tsindex 294598c622d..01788e966ac 100644--- a/apps/desktop/src/types/hermes.ts+++ b/apps/desktop/src/types/hermes.ts@@ -1871,10 +1871,19 @@ export interface McpCatalogResponse {diagnostics: { name: string; kind: string; message: string }[]}+export type MemoryProviderStatus = 'missing' | 'needs_config' | 'ready' | 'unavailable'+/** `GET /api/memory` — active provider + built-in memory file sizes. */export interface MemoryStatusResponse {+ /** Configured external provider; `''` = built-in memory only. */active: string- providers: { name: string; description: string; configured: boolean }[]+ providers: {+ name: string+ description: string+ available: boolean+ configured: boolean+ status: MemoryProviderStatus+ }[]builtin_files: { memory: number; user: number }}diff --git a/locales/_keys.desktop.json b/locales/_keys.desktop.jsonindex a92f8eca212..b236c42f32d 100644--- a/locales/_keys.desktop.json+++ b/locales/_keys.desktop.json@@ -745,7 +745,6 @@"commandCenter.maintenance.actionStarted","commandCenter.maintenance.backup","commandCenter.maintenance.backupDesc",- "commandCenter.maintenance.builtinMemory","commandCenter.maintenance.bytes","commandCenter.maintenance.copyLink","commandCenter.maintenance.curator",@@ -765,9 +764,7 @@"commandCenter.maintenance.empty","commandCenter.maintenance.linkCopied","commandCenter.maintenance.memoryData",- "commandCenter.maintenance.memoryDataDesc","commandCenter.maintenance.memoryFile",- "commandCenter.maintenance.memoryProvider","commandCenter.maintenance.pause","commandCenter.maintenance.resetAll","commandCenter.maintenance.resetConfirm",@@ -3748,6 +3745,17 @@"settings.mcp.statusOff","settings.mcp.test","settings.mcp.usage30d",+ "settings.memoryLayers.activeProvider",+ "settings.memoryLayers.alwaysOn",+ "settings.memoryLayers.builtinDesc",+ "settings.memoryLayers.builtinLayer",+ "settings.memoryLayers.noProvider",+ "settings.memoryLayers.noProviderDesc",+ "settings.memoryLayers.providerDesc",+ "settings.memoryLayers.status.missing",+ "settings.memoryLayers.status.needs_config",+ "settings.memoryLayers.status.ready",+ "settings.memoryLayers.status.unavailable","settings.modeOptions.dark.description","settings.modeOptions.dark.label","settings.modeOptions.light.description",diff --git a/web/src/i18n/af.ts b/web/src/i18n/af.tsindex 72d67ccaa10..ef7c22a8a74 100644--- a/web/src/i18n/af.ts+++ b/web/src/i18n/af.ts@@ -92,6 +92,14 @@ export const af: Translations = {webUi: "Web UI",},+ // ── System page: Memory section ──+ systemMemory: {+ activeProvider: "Aktiewe geheueverskaffer",+ noProvider: "geen — slegs ingebou",+ builtinLayer: "Ingeboude laag — altyd aan",+ builtinNote: "MEMORY.md en USER.md word in elke sessie gelaai. 'n Eksterne verskaffer voeg daarby; dit vervang hulle nooit.",+ },+status: {actionFailed: "Aksie het misluk",actionFinished: "Voltooi",diff --git a/web/src/i18n/ar.ts b/web/src/i18n/ar.tsindex 8db09d72c4a..6797b055eaa 100644--- a/web/src/i18n/ar.ts+++ b/web/src/i18n/ar.ts@@ -92,6 +92,14 @@ export const ar = defineLocale({webUi: "واجهة الويب",},+ // ── System page: Memory section ──+ systemMemory: {+ activeProvider: "مزوّد الذاكرة النشط",+ noProvider: "لا يوجد — المدمجة فقط",+ builtinLayer: "الطبقة المدمجة — مفعّلة دائمًا",+ builtinNote: "يُحمَّل MEMORY.md وUSER.md في كل جلسة. يضيف المزوّد الخارجي إليهما ولا يستبدلهما أبدًا.",+ },+status: {actionFailed: "فشلت الإجراء",actionFinished: "انتهى",diff --git a/web/src/i18n/de.ts b/web/src/i18n/de.tsindex 2acc8cba6db..265e4a27c34 100644--- a/web/src/i18n/de.ts+++ b/web/src/i18n/de.ts@@ -92,6 +92,14 @@ export const de: Translations = {webUi: "Web UI",},+ // ── System page: Memory section ──+ systemMemory: {+ activeProvider: "Aktiver Speicheranbieter",+ noProvider: "keiner — nur integriert",+ builtinLayer: "Integrierte Ebene — immer aktiv",+ builtinNote: "MEMORY.md und USER.md werden in jede Sitzung geladen. Ein externer Anbieter ergänzt sie, er ersetzt sie nie.",+ },+status: {actionFailed: "Aktion fehlgeschlagen",actionFinished: "Abgeschlossen",diff --git a/web/src/i18n/en.ts b/web/src/i18n/en.tsindex 9d2fe491386..6e290c1f298 100644--- a/web/src/i18n/en.ts+++ b/web/src/i18n/en.ts@@ -124,6 +124,14 @@ export const en: Translations = {sharedMetricsSaveFailed: "Couldn't save your choice",},+ // ── System page: Memory section ──+ systemMemory: {+ activeProvider: "Active memory provider",+ noProvider: "none — built-in only",+ builtinLayer: "Built-in layer — always on",+ builtinNote: "MEMORY.md and USER.md load into every session. An external provider adds to them; it never replaces them.",+ },+status: {actionFailed: "Action failed",actionFinished: "Finished",diff --git a/web/src/i18n/es.ts b/web/src/i18n/es.tsindex f816a2e8808..1700b1dcc1c 100644--- a/web/src/i18n/es.ts+++ b/web/src/i18n/es.ts@@ -92,6 +92,14 @@ export const es: Translations = {webUi: "Web UI",},+ // ── System page: Memory section ──+ systemMemory: {+ activeProvider: "Proveedor de memoria activo",+ noProvider: "ninguno — solo integrada",+ builtinLayer: "Capa integrada — siempre activa",+ builtinNote: "MEMORY.md y USER.md se cargan en cada sesión. Un proveedor externo se suma a ellos; nunca los reemplaza.",+ },+status: {actionFailed: "Acción fallida",actionFinished: "Finalizado",diff --git a/web/src/i18n/fr.ts b/web/src/i18n/fr.tsindex 5b9db2f7666..1b4d6df1590 100644--- a/web/src/i18n/fr.ts+++ b/web/src/i18n/fr.ts@@ -92,6 +92,14 @@ export const fr: Translations = {webUi: "Web UI",},+ // ── System page: Memory section ──+ systemMemory: {+ activeProvider: "Fournisseur de mémoire actif",+ noProvider: "aucun — intégré uniquement",+ builtinLayer: "Couche intégrée — toujours active",+ builtinNote: "MEMORY.md et USER.md sont chargés dans chaque session. Un fournisseur externe s'y ajoute ; il ne les remplace jamais.",+ },+status: {actionFailed: "Action échouée",actionFinished: "Terminé",diff --git a/web/src/i18n/ga.ts b/web/src/i18n/ga.tsindex 6896fd790a7..0bf58682e91 100644--- a/web/src/i18n/ga.ts+++ b/web/src/i18n/ga.ts@@ -92,6 +92,14 @@ export const ga: Translations = {webUi: "Web UI",},+ // ── System page: Memory section ──+ systemMemory: {+ activeProvider: "Soláthraí cuimhne gníomhach",+ noProvider: "dada — ionsuite amháin",+ builtinLayer: "Ciseal ionsuite — ar siúl i gcónaí",+ builtinNote: "Luchtaítear MEMORY.md agus USER.md i ngach seisiún. Cuireann soláthraí seachtrach leo; ní chuireann sé ina n-áit riamh.",+ },+status: {actionFailed: "Theip ar an ngníomh",actionFinished: "Críochnaithe",diff --git a/web/src/i18n/hu.ts b/web/src/i18n/hu.tsindex d8b58573290..a71226436b7 100644--- a/web/src/i18n/hu.ts+++ b/web/src/i18n/hu.ts@@ -92,6 +92,14 @@ export const hu: Translations = {webUi: "Web UI",},+ // ── System page: Memory section ──+ systemMemory: {+ activeProvider: "Aktív memóriaszolgáltató",+ noProvider: "nincs — csak beépített",+ builtinLayer: "Beépített réteg — mindig aktív",+ builtinNote: "A MEMORY.md és a USER.md minden munkamenetbe betöltődik. A külső szolgáltató kiegészíti őket, de sosem helyettesíti.",+ },+status: {actionFailed: "Művelet sikertelen",actionFinished: "Befejezve",diff --git a/web/src/i18n/it.ts b/web/src/i18n/it.tsindex 962668ebcc0..17f97eea9f3 100644--- a/web/src/i18n/it.ts+++ b/web/src/i18n/it.ts@@ -92,6 +92,14 @@ export const it: Translations = {webUi: "Web UI",},+ // ── System page: Memory section ──+ systemMemory: {+ activeProvider: "Provider di memoria attivo",+ noProvider: "nessuno — solo integrata",+ builtinLayer: "Livello integrato — sempre attivo",+ builtinNote: "MEMORY.md e USER.md vengono caricati in ogni sessione. Un provider esterno si aggiunge a essi; non li sostituisce mai.",+ },+status: {actionFailed: "Azione non riuscita",actionFinished: "Completata",diff --git a/web/src/i18n/ja.ts b/web/src/i18n/ja.tsindex 3cb96bf9b9f..55e2b8e9c98 100644--- a/web/src/i18n/ja.ts+++ b/web/src/i18n/ja.ts@@ -92,6 +92,14 @@ export const ja: Translations = {webUi: "Web UI",},+ // ── System page: Memory section ──+ systemMemory: {+ activeProvider: "有効なメモリプロバイダー",+ noProvider: "なし — 組み込みのみ",+ builtinLayer: "組み込みレイヤー — 常に有効",+ builtinNote: "MEMORY.md と USER.md は毎セッション読み込まれます。外部プロバイダーはこれに追加されるもので、置き換えることはありません。",+ },+status: {actionFailed: "アクションが失敗しました",actionFinished: "完了",diff --git a/web/src/i18n/ko.ts b/web/src/i18n/ko.tsindex 5d2e99113e6..088b37ef1f1 100644--- a/web/src/i18n/ko.ts+++ b/web/src/i18n/ko.ts@@ -92,6 +92,14 @@ export const ko: Translations = {webUi: "Web UI",},+ // ── System page: Memory section ──+ systemMemory: {+ activeProvider: "활성 메모리 제공자",+ noProvider: "없음 — 내장 메모리만",+ builtinLayer: "내장 레이어 — 항상 켜짐",+ builtinNote: "MEMORY.md와 USER.md는 모든 세션에 로드됩니다. 외부 제공자는 여기에 더해질 뿐, 이를 대체하지 않습니다.",+ },+status: {actionFailed: "작업 실패",actionFinished: "완료됨",diff --git a/web/src/i18n/pt.ts b/web/src/i18n/pt.tsindex c8e02037fef..92d3e697ef0 100644--- a/web/src/i18n/pt.ts+++ b/web/src/i18n/pt.ts@@ -92,6 +92,14 @@ export const pt: Translations = {webUi: "Web UI",},+ // ── System page: Memory section ──+ systemMemory: {+ activeProvider: "Provedor de memória ativo",+ noProvider: "nenhum — apenas integrada",+ builtinLayer: "Camada integrada — sempre ativa",+ builtinNote: "MEMORY.md e USER.md são carregados em todas as sessões. Um provedor externo se soma a eles; nunca os substitui.",+ },+status: {actionFailed: "Ação falhou",actionFinished: "Concluído",diff --git a/web/src/i18n/ru.ts b/web/src/i18n/ru.tsindex 2df6a64b577..9c4f0ff4c7c 100644--- a/web/src/i18n/ru.ts+++ b/web/src/i18n/ru.ts@@ -92,6 +92,14 @@ export const ru: Translations = {webUi: "Web UI",},+ // ── System page: Memory section ──+ systemMemory: {+ activeProvider: "Активный провайдер памяти",+ noProvider: "нет — только встроенная",+ builtinLayer: "Встроенный слой — всегда включён",+ builtinNote: "MEMORY.md и USER.md загружаются в каждую сессию. Внешний провайдер дополняет их, но никогда не заменяет.",+ },+status: {actionFailed: "Ошибка действия",actionFinished: "Завершено",diff --git a/web/src/i18n/tr.ts b/web/src/i18n/tr.tsindex e6034c59c66..de04198902c 100644--- a/web/src/i18n/tr.ts+++ b/web/src/i18n/tr.ts@@ -92,6 +92,14 @@ export const tr: Translations = {webUi: "Web UI",},+ // ── System page: Memory section ──+ systemMemory: {+ activeProvider: "Etkin bellek sağlayıcısı",+ noProvider: "yok — yalnızca yerleşik",+ builtinLayer: "Yerleşik katman — her zaman açık",+ builtinNote: "MEMORY.md ve USER.md her oturuma yüklenir. Harici bir sağlayıcı bunlara ekleme yapar; asla yerlerini almaz.",+ },+status: {actionFailed: "İşlem başarısız",actionFinished: "Tamamlandı",diff --git a/web/src/i18n/types.ts b/web/src/i18n/types.tsindex cac661b053d..c6ca5c5da17 100644--- a/web/src/i18n/types.ts+++ b/web/src/i18n/types.ts@@ -140,6 +140,14 @@ export interface Translations {sharedMetricsSaveFailed?: string;};+ // ── System page: Memory section ──+ systemMemory: {+ activeProvider: string;+ noProvider: string;+ builtinLayer: string;+ builtinNote: string;+ };+// ── Status page ──status: {actionFailed: string;diff --git a/web/src/i18n/uk.ts b/web/src/i18n/uk.tsindex 1c21a45b2d0..66f7b4588d9 100644--- a/web/src/i18n/uk.ts+++ b/web/src/i18n/uk.ts@@ -92,6 +92,14 @@ export const uk: Translations = {webUi: "Web UI",},+ // ── System page: Memory section ──+ systemMemory: {+ activeProvider: "Активний провайдер пам'яті",+ noProvider: "немає — лише вбудована",+ builtinLayer: "Вбудований шар — завжди ввімкнений",+ builtinNote: "MEMORY.md і USER.md завантажуються в кожну сесію. Зовнішній провайдер доповнює їх, але ніколи не замінює.",+ },+status: {actionFailed: "Дія не вдалася",actionFinished: "Завершено",diff --git a/web/src/i18n/zh-hant.ts b/web/src/i18n/zh-hant.tsindex 8fb2709a9d3..0d448799c26 100644--- a/web/src/i18n/zh-hant.ts+++ b/web/src/i18n/zh-hant.ts@@ -92,6 +92,14 @@ export const zhHant: Translations = {webUi: "管理面板",},+ // ── System page: Memory section ──+ systemMemory: {+ activeProvider: "目前記憶提供者",+ noProvider: "無 — 僅內建",+ builtinLayer: "內建層 — 永遠啟用",+ builtinNote: "MEMORY.md 和 USER.md 會載入每個工作階段。外部提供者是對它們的補充,絕不會取代它們。",+ },+status: {actionFailed: "動作失敗",actionFinished: "已完成",diff --git a/web/src/i18n/zh.ts b/web/src/i18n/zh.tsindex d75e785464a..6b028e54727 100644--- a/web/src/i18n/zh.ts+++ b/web/src/i18n/zh.ts@@ -91,6 +91,14 @@ export const zh: Translations = {webUi: "管理面板",},+ // ── System page: Memory section ──+ systemMemory: {+ activeProvider: "当前记忆提供方",+ noProvider: "无 — 仅内置",+ builtinLayer: "内置层 — 始终启用",+ builtinNote: "MEMORY.md 和 USER.md 会载入每个会话。外部提供方是对它们的补充,绝不会取代它们。",+ },+status: {actionFailed: "操作失败",actionFinished: "已完成",diff --git a/web/src/pages/SystemPage.tsx b/web/src/pages/SystemPage.tsxindex a66fd4334b5..b5877260aeb 100644--- a/web/src/pages/SystemPage.tsx+++ b/web/src/pages/SystemPage.tsx@@ -44,6 +44,7 @@ import { useModalBehavior } from "@/hooks/useModalBehavior";import { DeleteConfirmDialog } from "@/components/DeleteConfirmDialog";import { HermesConsoleModal } from "@/components/HermesConsoleModal";import { cn, themedBody } from "@/lib/utils";+import { useI18n } from "@/i18n";import { api } from "@/lib/api";import { copyTextToClipboard } from "@/lib/clipboard";import {@@ -216,6 +217,7 @@ const MEMORY_STATUS_TONE: Record<export default function SystemPage() {const { toast, showToast } = useToast();+ const { t } = useI18n();const [status, setStatus] = useState<StatusResponse | null>(null);const [stats, setStats] = useState<SystemStats | null>(null);@@ -1208,9 +1210,9 @@ export default function SystemPage() {<CardContent className="flex flex-col gap-4 py-4"><div className="flex flex-wrap items-center gap-x-3 gap-y-1 text-xs text-muted-foreground"><span>- External provider:{" "}+ {t.systemMemory.activeProvider}:{" "}<span className="font-mono text-foreground">- {memory?.active || "built-in only"}+ {memory?.active || t.systemMemory.noProvider}</span></span>{activeMemoryProvider && (@@ -1236,11 +1238,14 @@ export default function SystemPage() {)}<div className="flex flex-wrap items-center gap-3 border-t border-border pt-3">- <span className="text-xs text-muted-foreground">- Built-in files — MEMORY.md:{" "}- {formatBytes(memory?.builtin_files.memory ?? 0)} · USER.md:{" "}- {formatBytes(memory?.builtin_files.user ?? 0)}- </span>+ <div className="flex flex-col gap-1 text-xs text-muted-foreground">+ <span>+ <span className="text-foreground">{t.systemMemory.builtinLayer}</span>+ {" "}· MEMORY.md: {formatBytes(memory?.builtin_files.memory ?? 0)} · USER.md:{" "}+ {formatBytes(memory?.builtin_files.user ?? 0)}+ </span>+ <span>{t.systemMemory.builtinNote}</span>+ </div><div className="flex items-center gap-2 ml-auto"><Button size="sm" ghost className="text-destructive" onClick={() => memoryReset.requestDelete("memory")}>Reset MEMORY.md