From 2f2a0afa596552c1055b3dcae3087709c570e294 Mon Sep 17 00:00:00 2001 From: yetone Date: Fri, 13 Nov 2026 13:52:07 +0800 Subject: [PATCH] memory: the no-project line doesn't say the sessions plugin's "No folder" (#6422) 72facf72e's memory_context answer said "No folder of yours is known here". The sessions plugin translates "No folder" in its own i18n.js, so i18n-keys' "a plugin's words are its own" has been red on main since then (#6422; #6423 is the same red). The line goes to the model, not the window, so it is reworded: "None of your folders is known here". memory_mcp_test.go checks "Project: none" only, which stays. Run: - node --test internal/gui/tests/i18n-keys.test.cjs on mica: pass 4, fail 0 (red 1 of 4 at origin/main fa3ee5a7e). - go test -count=1 -run Memory ./internal/gateway/ via wsl-run: ok (mica's disk is full, 121MB free, so Go couldn't build there; mote was at load 35-43 on 18 cores). gofmt clean. Not run: the full suite. --- internal/gateway/memory_mcp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/gateway/memory_mcp.go b/internal/gateway/memory_mcp.go index 3395547e9..6d5cb519a 100644 --- a/internal/gateway/memory_mcp.go +++ b/internal/gateway/memory_mcp.go @@ -441,7 +441,7 @@ func memoryContext(c memoryCaller) (string, map[string]any) { b.WriteString("; scope project keeps memories there.\n") } else { ctx["project"] = nil - b.WriteString("Project: none. No folder of yours is known here: give memory_search and memory_save a project (a folder, or a key), or run magpie mcp memory in the project's folder.\n") + b.WriteString("Project: none. None of your folders is known here: give memory_search and memory_save a project (a folder, or a key), or run magpie mcp memory in the project's folder.\n") } fmt.Fprintf(&b, "A search with scope all looks in: %s.\nmagpie-memory %s", strings.Join(scopes, ", "), Version) return b.String(), ctx