Skip to content

Commit c91a37a

Browse files
authored
feat(ui): add a Memory settings page (#114037)
* feat(ui): add a Memory settings page with Dreaming as a tab Memory config was scattered across five surfaces: the memory.* schema section lived on AI & Agents with 43 of 51 keys behind the Advanced tier, the memory slot owner was only visible on Plugins, dreaming's knobs were JSON-only, its status UI sat under Agents, and Memory Import was a separate route. /settings/memory now owns that surface, following the MCP page shape (curated rows above an embedded schema editor): - Overview: the exclusive memory slot rendered as a segmented control over installed memory-kind plugins, memory.backend promoted out of Advanced with the qmd sub-config revealed only when qmd is selected, additive add-on rows, and a Memory Import link. - Search: the memory.search surface via the embedded editor. - Dreaming: the global frequency/model/timezone/storage/phase knobs, which previously required hand-editing openclaw.json, plus an agent picker feeding the existing dream scene/diary/advanced panel for the agent-scoped reads. Engine selection calls plugins.setEnabled so the gateway's exclusive slot policy stays the single owner instead of being duplicated in the UI. * fix(ui): redirect stale ai-agents memory deep links to the memory page * fix(ui): report memory runtime defaults on the Memory page The Dreaming tab rendered its own defaults instead of the ones resolveMemoryDreamingConfig applies, so a config carrying only dreaming.enabled showed all three phases off while they were running, and an unset storage mode read as inline instead of separate. Toggle specs now carry the runtime fallback and the storage default is stated once, both pointing at src/memory-host-sdk/dreaming.ts. Three more surfaces asserted things the runtime does not do: - plugins.slots.memory "none" is the explicit-off sentinel, not an engine id, so the segmented control selected nothing. The slot now resolves to a closed auto/off/pinned selection with its own hint. - memory.backend is resolved by the memory runtime the slot owner registers, which only memory-core ships, so the row is hidden for any other engine instead of saving a value nothing reads. - The Dreaming tab wrote config.dreaming for whichever plugin owns the slot even when that plugin's schema cannot hold it. It now reuses the enablement flow's schema check (resolveDreamingConfigPathSupport, shared with updateDreamingEnabled) and renders an unsupported state instead. Also key the plugin-catalog sync on the connected phase: the connecting -> connected transition keeps the same client object, so a page mounted during the handshake never loaded the catalog and never showed the engine picker. The tab keeps the autosave status line and restart banner the embedded editor renders on the other tabs; these knobs autosave, but nothing reported it. The pure view moved to memory-dreaming.ts with the element in memory-dreaming-page.ts, matching memory.ts/memory-page.ts. * fix(ui): resolve the memory slot through the canonical policy The Memory page re-derived plugins.slots.memory instead of using the rule the runtime applies, which broke both directions of the engine control: - An unset slot was reported as "the first enabled memory-kind plugin in the catalog". The runtime resolves it to the slot's default owner (DEFAULT_SLOT_BY_KEY.memory), so the page could show one engine as active while another was loaded, reveal or hide the backend row for the wrong plugin, and target the wrong plugin when switching memory off. - Off called plugins.setEnabled(false), which writes enablement only. The slot stayed pinned, so the choice did not survive a refresh and re-enabling that plugin from the Plugins page silently switched memory back on. resolveSlotSelection now lives next to defaultSlotIdForKey in src/plugins/slots.ts and owns the rule once; config normalization consumes it and the page imports it instead of restating it. Off writes the explicit "none" sentinel through the config form, so it round-trips; picking an engine still goes through plugins.setEnabled, which is where the exclusive slot policy lives. The dreaming controller's own copy of the rule is gone too. Four smaller fixes on the same surface: - A failed engine change is reported next to the control instead of being swallowed, so the selector no longer just snaps back. - Dreaming's numeric inputs carry the memory-core manifest's integer/min/max bounds and refuse out-of-range edits at the field, rather than patching a value autosave then fails to write. - Settings search destinations carry the Memory tab that renders the matched child, so a memory.search hit no longer lands on Overview, whose narrowed editor omits it. - The Dreaming tab caches only a definitive schema-capability answer. An offline or failed lookup now reports "unknown" and is retried on reconnect instead of permanently suppressing the recheck. * fix(ui): model unknown memory state instead of collapsing it The Memory page reported unknowns as decided values. An empty catalog meant loading, disconnected, or a failed plugins.list, yet add-on rows rendered "Disabled"; catalog completions were keyed on client identity, which survives a phase flip, so a stale load could repopulate a disconnected page or overwrite a newer read; and `?tab=` was adopted once per distinct value, so a repeat navigation to a tab the user had left was ignored. Replace the ad-hoc nullable fields with closed shapes. MemoryCatalog is a loading/unavailable/ready union, so absence of an entry only decides anything inside `ready`, and MemoryAddonRow carries a four-state enablement the view renders without ever inventing an "off". CatalogConnection is one object per (client, connected) transition and doubles as the request generation an in-flight load carries, so obsolete completions are dropped by identity. The tab is no longer page state at all: the URL owns it, tab clicks navigate, and every arrival is honored. Settings search now resolves the engine/backend through the same resolveMemoryBackend the page uses and matches only the `memory.*` children the page can surface, so a `memory.qmd` hit under the built-in backend no longer routes to an Overview whose editor omits it. * fix(ui): surface a disabled memory owner and anchor curated backend search The slot and plugin enablement are independent config surfaces, so `plugins.slots.memory` can name a plugin the catalog reports as disabled. The engine control showed that plugin as selected, and because re-picking an already-selected radio fires no change event, there was no way back on. Add an explicit enable row for that state and let the same-id write through when the owner is not running; picking Off stays a no-op. `memory.backend` is curated out of the schema editor, so the generic `#config-section-memory` anchor scrolled past it. Fold the memory tab and hash choice into one `memoryDestination` owner that routes a curated-only match to the new anchor above the editor. * fix(ui): scope the dreaming capability probe to its connection The probe was deduplicated by plugin id alone, which cannot tell a current answer from a stale one. A disconnect and reconnect on the same slot owner left the token armed, so the reconnect read as "already in flight" and swallowed the retry that an `unknown` answer requires — leaving an unsupported engine's knobs editable until some unrelated config notification arrived. An A -> B -> A switch had the mirror problem: the old A response was accepted for the new A probe. Make the in-flight probe an object whose identity is the generation, drop it whenever the owner or the connection changes, and accept only the completion that still owns the slot. Same shape as the catalog guard on the Memory page. * fix(ui): satisfy the lint and dead-export gates on the memory page Exhaustive switches need a terminal `default:` to satisfy typescript/consistent-return, matching the existing view-status.ts shape. Seven symbols were exported with no production consumer outside their own module, which the hard-zero Knip production scan rejects. Tests alone do not make internals contracts, so drop the exports and reach the behavior through each module's public surface instead: the view props type comes from `Parameters<typeof renderMemory>`, the tab panel is found by its ARIA role, and the dreaming number/storage helpers are proven through `renderDreamingSettings`. Folding those helper unit tests into the render path also corrected one of them: a `type="number"` input coerces unparseable text to empty, so the "reject garbage" case was unreachable through the real control. Replaced with the inclusive-bound and clear-the-field cases, which are reachable. * refactor(ui): keep the memory schema facts out of the startup bundle Settings pages are already lazy — the config route is `import("./config-page.ts")` — but settings search runs from app-host at startup, and it needed the same answers about which `memory.*` children are reachable and where a match lives. Importing those from the view module dragged lit, hub-tabs, and settings-ui into the startup chunk with it, blowing the Control UI startup budget. Move the rendering-free facts (slot/backend resolution, tab and curated key lists, schema narrowing, the anchor id) into memory-schema.ts, which imports only record-coerce and the shared slot policy. The view keeps the templates and now consumes the same module, so there is still one owner per fact. * chore(ui): record the memory settings surface in the startup budget baseline Routing settings search through memory-schema.ts instead of the view module recovered 10,872 B of the startup chunk (334,992 -> 324,120 B), which is back under the 324,608 B ceiling. The remaining 2,795 B over the old baseline is the honest cost of the new surface: its i18n strings, plus the slot/backend facts the startup search index has to read. Measured by hosted CI (run 30189972795); this worktree cannot build locally because pnpm wants to purge a node_modules shared with other running agents.
1 parent abd9eed commit c91a37a

27 files changed

Lines changed: 2695 additions & 54 deletions
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"startupJsGzipBytes": 321792,
3-
"reason": "multi-gateway footer subtitle plus accumulated main drift since last record; owner-approved landing (PR #114059); recorded on Linux (CI truth)",
2+
"startupJsGzipBytes": 324587,
3+
"reason": "multi-gateway footer subtitle plus accumulated main drift (PR #114059), then the Memory settings surface: its i18n strings plus the rendering-free memory-schema facts settings search reads at startup",
44
"updatedAt": "2026-07-26"
55
}

‎src/plugins/config-normalization-shared.ts‎

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
// Shares plugin config normalization helpers across control-plane paths.
2-
import {
3-
normalizeOptionalLowercaseString,
4-
normalizeOptionalString,
5-
} from "@openclaw/normalization-core/string-coerce";
62
import { normalizeArrayBackedTrimmedStringList } from "@openclaw/normalization-core/string-normalization";
73
import { normalizeChatChannelId } from "../channels/ids.js";
84
import type { OpenClawConfig } from "../config/types.openclaw.js";
9-
import { defaultSlotIdForKey } from "./slots.js";
5+
import { normalizeSlotValue, resolveSlotSelection } from "./slots.js";
106

117
/** Canonical plugin config shape consumed by runtime policy and loaders. */
128
export type NormalizedPluginsConfig = {
@@ -59,17 +55,6 @@ function normalizeList(value: unknown, normalizePluginId: NormalizePluginId): st
5955
.filter(Boolean);
6056
}
6157

62-
function normalizeSlotValue(value: unknown): string | null | undefined {
63-
const trimmed = normalizeOptionalString(value);
64-
if (!trimmed) {
65-
return undefined;
66-
}
67-
if (normalizeOptionalLowercaseString(trimmed) === "none") {
68-
return null;
69-
}
70-
return trimmed;
71-
}
72-
7358
function normalizeHookTimeoutMs(value: unknown): number | undefined {
7459
if (
7560
typeof value !== "number" ||
@@ -229,14 +214,14 @@ export function normalizePluginsConfigWithResolver(
229214
config?: OpenClawConfig["plugins"],
230215
normalizePluginId: NormalizePluginId = identityNormalizePluginId,
231216
): NormalizedPluginsConfig {
232-
const memorySlot = normalizeSlotValue(config?.slots?.memory);
217+
const memorySlot = resolveSlotSelection("memory", config?.slots?.memory);
233218
return {
234219
enabled: config?.enabled !== false,
235220
allow: normalizeList(config?.allow, normalizePluginId),
236221
deny: normalizeList(config?.deny, normalizePluginId),
237222
loadPaths: normalizeList(config?.load?.paths, identityNormalizePluginId),
238223
slots: {
239-
memory: memorySlot === undefined ? defaultSlotIdForKey("memory") : memorySlot,
224+
memory: memorySlot.kind === "off" ? null : memorySlot.pluginId,
240225
contextEngine: normalizeSlotValue(config?.slots?.contextEngine),
241226
},
242227
entries: normalizePluginEntries(config?.entries, normalizePluginId),

‎src/plugins/slots.ts‎

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
/** Applies mutually exclusive plugin slot selection for memory and context-engine plugins. */
2+
import {
3+
normalizeOptionalLowercaseString,
4+
normalizeOptionalString,
5+
} from "@openclaw/normalization-core/string-coerce";
26
import type { OpenClawConfig } from "../config/types.js";
37
import type { PluginSlotsConfig } from "../config/types.plugins.js";
48
import type { PluginKind } from "./plugin-kind.types.js";
@@ -60,6 +64,36 @@ export function defaultSlotIdForKey(slotKey: PluginSlotKey): string {
6064
return DEFAULT_SLOT_BY_KEY[slotKey];
6165
}
6266

67+
/** Raw `plugins.slots[key]`: `none` turns the slot off, blank leaves it unset. */
68+
export function normalizeSlotValue(value: unknown): string | null | undefined {
69+
const trimmed = normalizeOptionalString(value);
70+
if (!trimmed) {
71+
return undefined;
72+
}
73+
if (normalizeOptionalLowercaseString(trimmed) === "none") {
74+
return null;
75+
}
76+
return trimmed;
77+
}
78+
79+
/**
80+
* How a configured slot reads. The single owner of the rule: an unset slot is
81+
* the implicit default owner, never "whichever plugin happens to be enabled".
82+
* Config normalization and the Control UI both resolve slots through this.
83+
*/
84+
type SlotSelection =
85+
| { kind: "default"; pluginId: string }
86+
| { kind: "off" }
87+
| { kind: "pinned"; pluginId: string };
88+
89+
export function resolveSlotSelection(slotKey: PluginSlotKey, value: unknown): SlotSelection {
90+
const normalized = normalizeSlotValue(value);
91+
if (normalized === undefined) {
92+
return { kind: "default", pluginId: defaultSlotIdForKey(slotKey) };
93+
}
94+
return normalized === null ? { kind: "off" } : { kind: "pinned", pluginId: normalized };
95+
}
96+
6397
/** Resets every slot currently owned by a plugin to that slot's implicit default. */
6498
export function resetPluginSlotsToDefaults(
6599
slots: PluginSlotsConfig | undefined,

‎ui/src/app-navigation.test.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ describe("navigationIconForRoute", () => {
205205
appearance: "palette",
206206
automation: "terminal",
207207
mcp: "wrench",
208+
memory: "book",
208209
infrastructure: "globe",
209210
labs: "flaskConical",
210211
about: "fileText",
@@ -313,6 +314,7 @@ describe("titleForRoute", () => {
313314
appearance: "Appearance",
314315
automation: "Automation",
315316
mcp: "MCP",
317+
memory: "Memory",
316318
infrastructure: "Infrastructure",
317319
labs: "Labs",
318320
about: "About",
@@ -358,6 +360,7 @@ describe("subtitleForRoute", () => {
358360
appearance: "Theme, UI, and setup wizard settings.",
359361
automation: "Commands, hooks, cron, and plugins.",
360362
mcp: "MCP servers, auth, tools, and diagnostics.",
363+
memory: "Memory engine, backend, search, and dreaming.",
361364
infrastructure: "Gateway, web, browser, and media settings.",
362365
labs: "Experimental agent and tool capabilities.",
363366
about: "Control UI and connected Gateway build identity.",
@@ -749,6 +752,7 @@ describe("SIDEBAR_NAV_ROUTES", () => {
749752
"labs",
750753
"model-providers",
751754
"mcp",
755+
"memory",
752756
"automation",
753757
"security",
754758
"approvals",

‎ui/src/app-navigation.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ export const SETTINGS_NAVIGATION_GROUPS = [
183183
},
184184
{
185185
labelKey: "nav.settingsGroupAgents",
186-
routes: ["agents", "ai-agents", "labs", "model-providers", "mcp", "automation"],
186+
routes: ["agents", "ai-agents", "labs", "model-providers", "mcp", "memory", "automation"],
187187
},
188188
{
189189
labelKey: "nav.settingsGroupSecurity",
@@ -231,6 +231,7 @@ const NAVIGATION_ICONS: NavigationItem = {
231231
appearance: "palette",
232232
automation: "terminal",
233233
mcp: "wrench",
234+
memory: "book",
234235
infrastructure: "globe",
235236
labs: "flaskConical",
236237
about: "fileText",
@@ -335,6 +336,7 @@ const NAVIGATION_COPY: Record<NavigationRouteId, { titleKey: string; subtitleKey
335336
appearance: { titleKey: "tabs.appearance", subtitleKey: "subtitles.appearance" },
336337
automation: { titleKey: "tabs.automation", subtitleKey: "subtitles.automation" },
337338
mcp: { titleKey: "tabs.mcp", subtitleKey: "subtitles.mcp" },
339+
memory: { titleKey: "tabs.memory", subtitleKey: "subtitles.memory" },
338340
infrastructure: { titleKey: "tabs.infrastructure", subtitleKey: "subtitles.infrastructure" },
339341
labs: { titleKey: "tabs.labs", subtitleKey: "subtitles.labs" },
340342
about: { titleKey: "tabs.about", subtitleKey: "subtitles.about" },

‎ui/src/app-route-paths.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ const APP_ROUTE_DEFINITIONS = {
2424
approvals: { path: "/settings/approvals" },
2525
automation: { path: "/settings/automation", aliases: ["/automation"] },
2626
mcp: { path: "/settings/mcp", aliases: ["/mcp"] },
27+
memory: { path: "/settings/memory" },
2728
infrastructure: { path: "/settings/infrastructure", aliases: ["/infrastructure"] },
2829
labs: { path: "/settings/labs" },
2930
about: { path: "/settings/about" },

‎ui/src/i18n/locales/en.ts‎

Lines changed: 149 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ export const en: TranslationMap = {
4141
unselect: "Unselect",
4242
enabled: "Enabled",
4343
disabled: "Disabled",
44+
failed: "Failed",
4445
none: "none",
4546
na: "n/a",
4647
never: "never",
@@ -1804,6 +1805,7 @@ export const en: TranslationMap = {
18041805
appearance: "Appearance",
18051806
automation: "Automation",
18061807
mcp: "MCP",
1808+
memory: "Memory",
18071809
infrastructure: "Infrastructure",
18081810
labs: "Labs",
18091811
about: "About",
@@ -1840,6 +1842,7 @@ export const en: TranslationMap = {
18401842
appearance: "Theme, UI, and setup wizard settings.",
18411843
automation: "Commands, hooks, cron, and plugins.",
18421844
mcp: "MCP servers, auth, tools, and diagnostics.",
1845+
memory: "Memory engine, backend, search, and dreaming.",
18431846
infrastructure: "Gateway, web, browser, and media settings.",
18441847
labs: "Experimental agent and tool capabilities.",
18451848
about: "Control UI and connected Gateway build identity.",
@@ -2105,6 +2108,152 @@ export const en: TranslationMap = {
21052108
tlsVerifyOff: "TLS verify off",
21062109
mtls: "mTLS",
21072110
},
2111+
memoryPage: {
2112+
tablistLabel: "Memory sections",
2113+
tabs: {
2114+
overview: "Overview",
2115+
search: "Search",
2116+
dreaming: "Dreaming",
2117+
},
2118+
engine: {
2119+
title: "Engine",
2120+
description:
2121+
"Exactly one memory plugin owns the memory slot. Selecting an engine enables it and disables the others.",
2122+
rowTitle: "Memory engine",
2123+
off: "Off",
2124+
autoHint: "No engine is pinned in config, so the slot falls back to its default owner.",
2125+
explicitHint: "This engine is pinned in config under plugins.slots.memory.",
2126+
offHint: "Memory is switched off in config: plugins.slots.memory is set to none.",
2127+
catalogUnavailable: "Connect to the gateway to change the memory engine.",
2128+
changeFailed: "Could not change the memory engine",
2129+
disabledTitle: "This engine is disabled",
2130+
disabledHint:
2131+
"The memory slot points at this plugin, but the plugin itself is disabled, so memory is not running.",
2132+
enable: "Enable",
2133+
},
2134+
backend: {
2135+
title: "Backend",
2136+
description: "How memory is stored and retrieved for the selected engine.",
2137+
rowTitle: "Retrieval backend",
2138+
builtin: "Built-in",
2139+
qmd: "QMD",
2140+
builtinHint: "Memory files are indexed and searched by OpenClaw itself.",
2141+
qmdHint: "Retrieval is delegated to QMD. Its settings appear below.",
2142+
},
2143+
addons: {
2144+
title: "Add-ons",
2145+
description:
2146+
"These plugins layer on top of the engine instead of competing for the slot, so any combination can run at once.",
2147+
activeMemory: {
2148+
title: "Active memory",
2149+
},
2150+
memoryWiki: {
2151+
title: "Memory wiki",
2152+
},
2153+
stateUnknown: "Unknown",
2154+
manage: "Enable or disable add-ons",
2155+
manageLink: "Open Plugins",
2156+
},
2157+
import: {
2158+
title: "Import",
2159+
description: "Bring existing memory from other assistants into an agent workspace.",
2160+
link: "Open Memory Import",
2161+
},
2162+
search: {
2163+
intro: "Embedding and retrieval defaults shared by every agent that has no memory override.",
2164+
},
2165+
dreaming: {
2166+
intro:
2167+
"Dreaming runs as one managed cron job across every agent workspace, so these settings are global. They are owned by the {plugin} plugin.",
2168+
schedule: {
2169+
title: "Schedule",
2170+
description: "When the full sweep runs and which model narrates it.",
2171+
},
2172+
frequency: {
2173+
label: "Dreaming frequency",
2174+
help: "Cron cadence for the full dreaming sweep (light, REM, then deep). Leave empty for the plugin default.",
2175+
placeholder: "0 3 * * *",
2176+
},
2177+
timezone: {
2178+
label: "Timezone",
2179+
help: "IANA timezone used to interpret the cron cadence.",
2180+
placeholder: "Europe/Vienna",
2181+
},
2182+
model: {
2183+
label: "Dreaming model",
2184+
help: "Provider/model override for dream diary narration. Requires subagent model overrides to be allowed.",
2185+
placeholder: "anthropic/claude-sonnet-4-6",
2186+
},
2187+
verboseLogging: {
2188+
label: "Verbose logging",
2189+
help: "Log each dreaming phase in detail. Useful when tuning thresholds.",
2190+
},
2191+
storage: {
2192+
title: "Storage",
2193+
description: "Where promoted memories and dreaming reports are written.",
2194+
modeLabel: "Storage mode",
2195+
modeHelp: "Inline writes into the memory file; separate keeps a dedicated report file.",
2196+
modes: {
2197+
inline: "Inline",
2198+
separate: "Separate",
2199+
both: "Both",
2200+
},
2201+
separateReportsLabel: "Separate reports",
2202+
separateReportsHelp: "Keep dreaming reports out of the main memory file.",
2203+
},
2204+
phases: {
2205+
light: {
2206+
title: "Light phase",
2207+
description: "Cheap recent-activity pass that stages replay candidates.",
2208+
},
2209+
deep: {
2210+
title: "Deep phase",
2211+
description: "Scored promotion pass that graduates short-term entries into memory.",
2212+
},
2213+
rem: {
2214+
title: "REM phase",
2215+
description: "Pattern pass that looks for recurring themes across the lookback window.",
2216+
},
2217+
},
2218+
phaseFields: {
2219+
enabled: "Enabled",
2220+
enabledHelp: "Run this phase during the sweep.",
2221+
lookbackDays: "Lookback days",
2222+
lookbackDaysHelp: "How far back this phase reads. Leave empty for the plugin default.",
2223+
limit: "Limit",
2224+
limitHelp: "Maximum entries this phase processes per run.",
2225+
dedupeSimilarity: "Dedupe similarity",
2226+
dedupeSimilarityHelp: "Similarity above which two candidates are treated as duplicates.",
2227+
minScore: "Minimum score",
2228+
minScoreHelp: "Promotion score an entry must reach.",
2229+
minRecallCount: "Minimum recalls",
2230+
minRecallCountHelp: "How often an entry must be recalled before it can be promoted.",
2231+
minUniqueQueries: "Minimum unique queries",
2232+
minUniqueQueriesHelp: "How many distinct queries must have surfaced the entry.",
2233+
recencyHalfLifeDays: "Recency half-life (days)",
2234+
recencyHalfLifeDaysHelp: "How quickly older recall signals lose weight.",
2235+
maxAgeDays: "Maximum age (days)",
2236+
maxAgeDaysHelp: "Ignore short-term entries older than this.",
2237+
maxPromotedSnippetTokens: "Max promoted snippet tokens",
2238+
maxPromotedSnippetTokensHelp:
2239+
"Token budget for each promoted snippet. Provenance stays attached.",
2240+
minPatternStrength: "Minimum pattern strength",
2241+
minPatternStrengthHelp: "Strength a recurring pattern must reach to be reported.",
2242+
},
2243+
agentScope: {
2244+
title: "Agent view",
2245+
description:
2246+
"The settings above are global. The dream diary, short-term counts, and maintenance actions below belong to one agent.",
2247+
rowTitle: "Agent",
2248+
},
2249+
unsupported: {
2250+
title: "Dreaming settings",
2251+
rowTitle: "Not available for this engine",
2252+
description:
2253+
"The {plugin} plugin owns the memory slot and its config schema has no dreaming section, so these settings cannot be stored. Switch the engine on the Overview tab to edit them.",
2254+
},
2255+
},
2256+
},
21082257
sessionsPage: {
21092258
hubTablistLabel: "Threads sections",
21102259
},

‎ui/src/pages/agents/agents-page.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -879,6 +879,7 @@ class AgentsPage extends OpenClawLightDomElement implements AgentsState {
879879
onIdentitySave: () => this.saveIdentityDraft(),
880880
onChannelsRefresh: () => void this.context.channels.refresh(false),
881881
onOpenMemoryImport: () => this.context.navigate("memory-import"),
882+
onOpenMemorySettings: () => this.context.navigate("memory"),
882883
onCronRefresh: () => void this.refreshCron(),
883884
onCronRunNow: (jobId) => this.runCronJobNow(jobId),
884885
onSkillsFilterChange: (next) => (this.skillsFilter = next),

0 commit comments

Comments
 (0)