diff --git a/extensions/memory-core/src/cli.runtime.ts b/extensions/memory-core/src/cli.runtime.ts index dc79746aad2..46f82374504 100644 --- a/extensions/memory-core/src/cli.runtime.ts +++ b/extensions/memory-core/src/cli.runtime.ts @@ -647,7 +647,9 @@ export async function runMemoryStatus(opts: MemoryCommandOptions) { purpose: managerPurpose, run: async (manager) => { const deep = Boolean(opts.deep || opts.index); - let embeddingProbe: { ok?: boolean; error?: string } | undefined; + let embeddingProbe: + | Awaited> + | undefined; let indexError: string | undefined; const syncFn = manager.sync ? manager.sync.bind(manager) : undefined; if (deep) { diff --git a/src/auto-reply/reply/directive-handling.model.test.ts b/src/auto-reply/reply/directive-handling.model.test.ts index a172a0c53ff..24d4e9df000 100644 --- a/src/auto-reply/reply/directive-handling.model.test.ts +++ b/src/auto-reply/reply/directive-handling.model.test.ts @@ -28,6 +28,7 @@ import { import type { ModelAliasIndex } from "../../agents/model-selection.js"; import type { OpenClawConfig } from "../../config/config.js"; import type { SessionEntry } from "../../config/sessions.js"; +import type { ElevatedLevel } from "../thinking.js"; import { handleDirectiveOnly } from "./directive-handling.impl.js"; import { parseInlineDirectives } from "./directive-handling.js"; import { @@ -706,7 +707,7 @@ describe("handleDirectiveOnly model persist behavior (fixes #1435)", () => { createHandleParams({ ...base, directives: parseInlineDirectives("/elevated"), - currentElevatedLevel: sessionEntry.elevatedLevel, + currentElevatedLevel: sessionEntry.elevatedLevel as ElevatedLevel | undefined, }), ); expect(statusReply?.text).toContain("Current elevated level: on"); @@ -715,7 +716,7 @@ describe("handleDirectiveOnly model persist behavior (fixes #1435)", () => { createHandleParams({ ...base, directives: parseInlineDirectives("/elevated off"), - currentElevatedLevel: sessionEntry.elevatedLevel, + currentElevatedLevel: sessionEntry.elevatedLevel as ElevatedLevel | undefined, }), ); expect(offReply?.text).toContain("Elevated mode disabled"); diff --git a/src/gateway/server-methods/doctor.ts b/src/gateway/server-methods/doctor.ts index d6b9d24d27a..af7657a27b8 100644 --- a/src/gateway/server-methods/doctor.ts +++ b/src/gateway/server-methods/doctor.ts @@ -506,6 +506,7 @@ async function loadDreamingStoreStats( shortTermCount: 0, recallSignalCount: 0, dailySignalCount: 0, + groundedSignalCount: 0, totalSignalCount: 0, phaseSignalCount: 0, lightPhaseHitCount: 0, @@ -523,6 +524,7 @@ async function loadDreamingStoreStats( shortTermCount: 0, recallSignalCount: 0, dailySignalCount: 0, + groundedSignalCount: 0, totalSignalCount: 0, phaseSignalCount: 0, lightPhaseHitCount: 0, @@ -543,6 +545,7 @@ function mergeDreamingStoreStats(stats: DreamingStoreStats[]): DreamingStoreStat let shortTermCount = 0; let recallSignalCount = 0; let dailySignalCount = 0; + let groundedSignalCount = 0; let totalSignalCount = 0; let phaseSignalCount = 0; let lightPhaseHitCount = 0; @@ -563,6 +566,7 @@ function mergeDreamingStoreStats(stats: DreamingStoreStats[]): DreamingStoreStat shortTermCount += stat.shortTermCount; recallSignalCount += stat.recallSignalCount; dailySignalCount += stat.dailySignalCount; + groundedSignalCount += stat.groundedSignalCount; totalSignalCount += stat.totalSignalCount; phaseSignalCount += stat.phaseSignalCount; lightPhaseHitCount += stat.lightPhaseHitCount; @@ -595,6 +599,7 @@ function mergeDreamingStoreStats(stats: DreamingStoreStats[]): DreamingStoreStat shortTermCount, recallSignalCount, dailySignalCount, + groundedSignalCount, totalSignalCount, phaseSignalCount, lightPhaseHitCount, @@ -797,6 +802,7 @@ export const doctorHandlers: GatewayRequestHandlers = { shortTermCount: 0, recallSignalCount: 0, dailySignalCount: 0, + groundedSignalCount: 0, totalSignalCount: 0, phaseSignalCount: 0, lightPhaseHitCount: 0, diff --git a/ui/src/ui/navigation.browser.test.ts b/ui/src/ui/navigation.browser.test.ts index 13e2319f200..e63205ac09e 100644 --- a/ui/src/ui/navigation.browser.test.ts +++ b/ui/src/ui/navigation.browser.test.ts @@ -103,6 +103,7 @@ describe("control UI routing", () => { shortTermCount: 2, recallSignalCount: 1, dailySignalCount: 1, + groundedSignalCount: 0, totalSignalCount: 2, phaseSignalCount: 0, lightPhaseHitCount: 0,