From 3274439637a2c383b9d01b16e559ead0d4ea8904 Mon Sep 17 00:00:00 2001
From: mothieras
Date: Sat, 7 Nov 2026 18:07:27 +0800
Subject: [PATCH 1/8] fix(connect): honor CLAUDE_CONFIG_DIR for Claude Code
Resolve detection, user MCP configuration and hook settings from Claude Code's configured directory. Preserve the legacy locations when the override is unset or empty.\n\nValidated custom-path regressions and native MCP/hook execution with Claude Code 2.1.319. Full suite: 4497 passed, 6 skipped.
Signed-off-by: mothieras
---
src/cli/connect/claude-code.ts | 7 ++-
test/claude-code-with-hooks.test.ts | 88 ++++++++++++++++++++++++++++-
2 files changed, 92 insertions(+), 3 deletions(-)
diff --git a/src/cli/connect/claude-code.ts b/src/cli/connect/claude-code.ts
index 1882be86cc..e6b5e09dbd 100644
--- a/src/cli/connect/claude-code.ts
+++ b/src/cli/connect/claude-code.ts
@@ -18,8 +18,11 @@ import {
type HookManifest,
} from "./codex-hooks.js";
-const CLAUDE_DIR = join(homedir(), ".claude");
-const CLAUDE_JSON = join(homedir(), ".claude.json");
+const CLAUDE_CONFIG_DIR = process.env["CLAUDE_CONFIG_DIR"];
+const CLAUDE_DIR = CLAUDE_CONFIG_DIR || join(homedir(), ".claude");
+const CLAUDE_JSON = CLAUDE_CONFIG_DIR
+ ? join(CLAUDE_DIR, ".claude.json")
+ : join(homedir(), ".claude.json");
const CLAUDE_SETTINGS = join(CLAUDE_DIR, "settings.json");
type ClaudeMcpEntry = typeof AGENTMEMORY_MCP_BLOCK;
diff --git a/test/claude-code-with-hooks.test.ts b/test/claude-code-with-hooks.test.ts
index e3d35af552..5cf4a932f9 100644
--- a/test/claude-code-with-hooks.test.ts
+++ b/test/claude-code-with-hooks.test.ts
@@ -1,5 +1,5 @@
import { afterEach, beforeEach, describe, it, expect, vi } from "vitest";
-import { mkdirSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from "node:fs";
+import { existsSync, mkdirSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from "node:fs";
import { tmpdir } from "node:os";
import { join, resolve } from "node:path";
import {
@@ -109,6 +109,7 @@ describe("connect claude-code --with-hooks", () => {
home = mkdtempSync(join(tmpdir(), "am-claude-hooks-"));
vi.stubEnv("HOME", home);
vi.stubEnv("USERPROFILE", home);
+ vi.stubEnv("CLAUDE_CONFIG_DIR", undefined);
vi.resetModules();
});
@@ -138,4 +139,89 @@ describe("connect claude-code --with-hooks", () => {
...buildMergedHooks(null, PLUGIN_ROOT, "hooks.json").hooks["Stop"]!,
]);
});
+
+ it("detects Claude Code in CLAUDE_CONFIG_DIR without a default directory", async () => {
+ const configDir = join(home, "custom Claude config");
+ mkdirSync(configDir);
+ vi.stubEnv("CLAUDE_CONFIG_DIR", configDir);
+
+ const { adapter } = await import("../src/cli/connect/claude-code.js");
+ expect(adapter.detect()).toBe(true);
+ expect(existsSync(join(home, ".claude"))).toBe(false);
+ });
+
+ it("merges MCP and hooks in CLAUDE_CONFIG_DIR and leaves default files untouched", async () => {
+ const configDir = join(home, "custom Claude config");
+ const configPath = join(configDir, ".claude.json");
+ const settingsPath = join(configDir, "settings.json");
+ const existingServer = { command: "existing-server", args: [] };
+ const userHook = { hooks: [{ type: "command", command: "echo user-hook" }] };
+ mkdirSync(configDir);
+ mkdirSync(join(home, ".claude"));
+ writeFileSync(configPath, JSON.stringify({ mcpServers: { existing: existingServer }, theme: "dark" }));
+ writeFileSync(settingsPath, JSON.stringify({ env: { KEEP: "yes" }, hooks: { SessionStart: [userHook] } }));
+ writeFileSync(join(home, ".claude.json"), '{"keep":"default MCP"}');
+ writeFileSync(join(home, ".claude", "settings.json"), '{"keep":"default settings"}');
+ vi.stubEnv("CLAUDE_CONFIG_DIR", configDir);
+
+ const { adapter } = await import("../src/cli/connect/claude-code.js");
+ const options = { dryRun: false, force: false, withHooks: true };
+ const result = await adapter.install(options);
+
+ expect(result).toMatchObject({ kind: "installed", mutatedPath: configPath });
+ const config = JSON.parse(readFileSync(configPath, "utf-8"));
+ expect(config.theme).toBe("dark");
+ expect(config.mcpServers.existing).toEqual(existingServer);
+ expect(config.mcpServers.agentmemory.args).toContain("@agentmemory/mcp");
+ const settings = JSON.parse(readFileSync(settingsPath, "utf-8"));
+ expect(settings.env).toEqual({ KEEP: "yes" });
+ expect(settings.hooks.SessionStart).toEqual([
+ userHook,
+ ...buildMergedHooks(null, PLUGIN_ROOT, "hooks.json").hooks.SessionStart!,
+ ]);
+ expect(readFileSync(join(home, ".claude.json"), "utf-8")).toBe('{"keep":"default MCP"}');
+ expect(readFileSync(join(home, ".claude", "settings.json"), "utf-8")).toBe('{"keep":"default settings"}');
+
+ const installedSettings = readFileSync(settingsPath, "utf-8");
+ expect((await adapter.install(options)).kind).toBe("already-wired");
+ expect(readFileSync(settingsPath, "utf-8")).toBe(installedSettings);
+ });
+
+ it("reports the custom MCP path on a dry run without writing files", async () => {
+ const configDir = join(home, "custom Claude config");
+ mkdirSync(configDir);
+ vi.stubEnv("CLAUDE_CONFIG_DIR", configDir);
+
+ const { adapter } = await import("../src/cli/connect/claude-code.js");
+ const result = await adapter.install({ dryRun: true, force: false, withHooks: true });
+
+ expect(result).toMatchObject({ kind: "installed", mutatedPath: join(configDir, ".claude.json") });
+ expect(existsSync(join(configDir, ".claude.json"))).toBe(false);
+ expect(existsSync(join(configDir, "settings.json"))).toBe(false);
+ expect(existsSync(join(home, ".claude.json"))).toBe(false);
+ });
+
+ it("puts MCP inside an explicitly configured default .claude directory", async () => {
+ const configDir = join(home, ".claude");
+ mkdirSync(configDir);
+ vi.stubEnv("CLAUDE_CONFIG_DIR", configDir);
+
+ const { adapter } = await import("../src/cli/connect/claude-code.js");
+ const result = await adapter.install({ dryRun: false, force: false });
+
+ expect(result).toMatchObject({ kind: "installed", mutatedPath: join(configDir, ".claude.json") });
+ expect(JSON.parse(readFileSync(join(configDir, ".claude.json"), "utf-8")).mcpServers.agentmemory).toBeDefined();
+ expect(existsSync(join(home, ".claude.json"))).toBe(false);
+ });
+
+ it.each([undefined, ""])("keeps legacy paths when CLAUDE_CONFIG_DIR is %s", async (override) => {
+ vi.stubEnv("CLAUDE_CONFIG_DIR", override);
+
+ const { adapter } = await import("../src/cli/connect/claude-code.js");
+ const result = await adapter.install({ dryRun: false, force: false, withHooks: true });
+
+ expect(result).toMatchObject({ kind: "installed", mutatedPath: join(home, ".claude.json") });
+ expect(JSON.parse(readFileSync(join(home, ".claude.json"), "utf-8")).mcpServers.agentmemory).toBeDefined();
+ expect(JSON.parse(readFileSync(join(home, ".claude", "settings.json"), "utf-8")).hooks.SessionStart).toBeDefined();
+ });
});
From a3427028134fbabb4201ee34004db35aea8dbcca Mon Sep 17 00:00:00 2001
From: mothieras
Date: Sat, 7 Nov 2026 18:35:34 +0800
Subject: [PATCH 2/8] fix(connect): resolve Claude paths after env hydration
Read Claude Code paths when the adapter detects or installs a profile,
after the CLI hydrates AgentMemory's env file. Use the same resolver
for hook installation.
Add regression coverage for late overrides, default and custom env
files, and shell-over-file precedence through the built CLI. Include
the generated test-count updates required by docs:sync.
Validation: build, skills and docs checks pass; 4501 tests pass with
6 skipped. Native Claude Code 2.1.319 connects through MCP and runs
the lifecycle hooks with the connector profile supplied only by .env.
Signed-off-by: mothieras
---
AGENTS.md | 4 +-
README.md | 4 +-
READMEs/README.ar-SA.md | 4 +-
READMEs/README.bn-BD.md | 4 +-
READMEs/README.cs-CZ.md | 4 +-
READMEs/README.da-DK.md | 4 +-
READMEs/README.de-DE.md | 4 +-
READMEs/README.el-GR.md | 4 +-
READMEs/README.es-ES.md | 4 +-
READMEs/README.fi-FI.md | 4 +-
READMEs/README.fr-FR.md | 4 +-
READMEs/README.he-IL.md | 4 +-
READMEs/README.hi-IN.md | 4 +-
READMEs/README.hu-HU.md | 4 +-
READMEs/README.id-ID.md | 4 +-
READMEs/README.it-IT.md | 4 +-
READMEs/README.ja-JP.md | 4 +-
READMEs/README.ko-KR.md | 4 +-
READMEs/README.nb-NO.md | 4 +-
READMEs/README.nl-NL.md | 4 +-
READMEs/README.pl-PL.md | 4 +-
READMEs/README.pt-BR.md | 4 +-
READMEs/README.pt-PT.md | 4 +-
READMEs/README.ro-RO.md | 4 +-
READMEs/README.ru-RU.md | 4 +-
READMEs/README.sv-SE.md | 4 +-
READMEs/README.th-TH.md | 4 +-
READMEs/README.tl-PH.md | 4 +-
READMEs/README.tr-TR.md | 4 +-
READMEs/README.uk-UA.md | 4 +-
READMEs/README.ur-PK.md | 4 +-
READMEs/README.vi-VN.md | 4 +-
READMEs/README.zh-CN.md | 4 +-
READMEs/README.zh-TW.md | 4 +-
assets/tags/light/stat-tests.svg | 4 +-
assets/tags/stat-tests.svg | 4 +-
scripts/docs-sync.state.json | 2 +-
src/cli/connect/claude-code.ts | 19 +++++----
test/claude-code-with-hooks.test.ts | 60 +++++++++++++++++++++++++++++
39 files changed, 145 insertions(+), 80 deletions(-)
diff --git a/AGENTS.md b/AGENTS.md
index 8b2287d7c5..626ff4de24 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -101,7 +101,7 @@ Hook scripts in `src/hooks/` are standalone Node.js scripts (no iii-sdk import).
## Testing
-- Before every commit run, in order: `npm run build`, `npm run skills:gen`, `npm run docs:sync`, `npm run skills:check`, `npm test` (4,400+ tests). Commit anything the generators changed. CI runs the same build, skills check and tests.
+- Before every commit run, in order: `npm run build`, `npm run skills:gen`, `npm run docs:sync`, `npm run skills:check`, `npm test` (4,500+ tests). Commit anything the generators changed. CI runs the same build, skills check and tests.
- Before any npm publish: `npm run release:gate` must pass. It installs the packed tarballs into a clean home and runs capture, recovery, restart, export/import, MCP and status checks against the installed CLI (see CONTRIBUTING.md, Release process)
- Mock pattern: `vi.mock("iii-sdk")` with mock `sdk.trigger`, `kv.get/set/list`
- Test files go in `test/` with `.test.ts` extension
@@ -114,4 +114,4 @@ Hook scripts in `src/hooks/` are standalone Node.js scripts (no iii-sdk import).
- 6 MCP resources, 3 MCP prompts
- 12 hooks, 17 skills
- 322+ iii functions
-- 4,400+ tests
+- 4,500+ tests
diff --git a/README.md b/README.md
index 3686943fc1..e60c37d257 100644
--- a/README.md
+++ b/README.md
@@ -69,7 +69,7 @@
-
+
@@ -1307,7 +1307,7 @@ curl -X POST http://localhost:3111/agentmemory/graph/compact -H "Authorization:
```bash
npm run dev # Hot reload
npm run build # Production build
-npm test # 4,400+ tests
+npm test # 4,500+ tests
npm run test:integration # API tests (requires running services)
```
diff --git a/READMEs/README.ar-SA.md b/READMEs/README.ar-SA.md
index 17f9286e93..43d2c4d432 100644
--- a/READMEs/README.ar-SA.md
+++ b/READMEs/README.ar-SA.md
@@ -71,7 +71,7 @@
-
+
@@ -1242,7 +1242,7 @@ curl -X POST http://localhost:3111/agentmemory/graph/compact -H "Authorization:
```bash
npm run dev # Hot reload
npm run build # Production build
-npm test # 4,400+ tests
+npm test # 4,500+ tests
npm run test:integration # API tests (requires running services)
```
diff --git a/READMEs/README.bn-BD.md b/READMEs/README.bn-BD.md
index 08c252833a..8310128629 100644
--- a/READMEs/README.bn-BD.md
+++ b/READMEs/README.bn-BD.md
@@ -69,7 +69,7 @@
-
+
@@ -1255,7 +1255,7 @@ curl -X POST http://localhost:3111/agentmemory/graph/compact -H "Authorization:
```bash
npm run dev # Hot reload
npm run build # Production build
-npm test # 4,400+ tests
+npm test # 4,500+ tests
npm run test:integration # API tests (requires running services)
```
diff --git a/READMEs/README.cs-CZ.md b/READMEs/README.cs-CZ.md
index 821c2742b9..5a6c82efe5 100644
--- a/READMEs/README.cs-CZ.md
+++ b/READMEs/README.cs-CZ.md
@@ -69,7 +69,7 @@
-
+
@@ -1241,7 +1241,7 @@ curl -X POST http://localhost:3111/agentmemory/graph/compact -H "Authorization:
```bash
npm run dev # Hot reload
npm run build # Production build
-npm test # 4,400+ tests
+npm test # 4,500+ tests
npm run test:integration # API tests (requires running services)
```
diff --git a/READMEs/README.da-DK.md b/READMEs/README.da-DK.md
index f11435c2d8..4a2d0e1000 100644
--- a/READMEs/README.da-DK.md
+++ b/READMEs/README.da-DK.md
@@ -69,7 +69,7 @@
-
+
@@ -1249,7 +1249,7 @@ curl -X POST http://localhost:3111/agentmemory/graph/compact -H "Authorization:
```bash
npm run dev # Hot reload
npm run build # Production build
-npm test # 4,400+ tests
+npm test # 4,500+ tests
npm run test:integration # API tests (requires running services)
```
diff --git a/READMEs/README.de-DE.md b/READMEs/README.de-DE.md
index cbaca6af3e..40064c7371 100644
--- a/READMEs/README.de-DE.md
+++ b/READMEs/README.de-DE.md
@@ -69,7 +69,7 @@
-
+
@@ -1247,7 +1247,7 @@ curl -X POST http://localhost:3111/agentmemory/graph/compact -H "Authorization:
```bash
npm run dev # Hot reload
npm run build # Production build
-npm test # 4,400+ tests
+npm test # 4,500+ tests
npm run test:integration # API tests (requires running services)
```
diff --git a/READMEs/README.el-GR.md b/READMEs/README.el-GR.md
index 435ae03670..63d3a6fe5d 100644
--- a/READMEs/README.el-GR.md
+++ b/READMEs/README.el-GR.md
@@ -69,7 +69,7 @@
-
+
@@ -1241,7 +1241,7 @@ curl -X POST http://localhost:3111/agentmemory/graph/compact -H "Authorization:
```bash
npm run dev # Hot reload
npm run build # Production build
-npm test # 4,400+ tests
+npm test # 4,500+ tests
npm run test:integration # API tests (requires running services)
```
diff --git a/READMEs/README.es-ES.md b/READMEs/README.es-ES.md
index 25a414bff8..798c26c413 100644
--- a/READMEs/README.es-ES.md
+++ b/READMEs/README.es-ES.md
@@ -69,7 +69,7 @@
-
+
@@ -1243,7 +1243,7 @@ curl -X POST http://localhost:3111/agentmemory/graph/compact -H "Authorization:
```bash
npm run dev # Hot reload
npm run build # Production build
-npm test # 4,400+ tests
+npm test # 4,500+ tests
npm run test:integration # API tests (requires running services)
```
diff --git a/READMEs/README.fi-FI.md b/READMEs/README.fi-FI.md
index c608d1bc9c..1a7520e672 100644
--- a/READMEs/README.fi-FI.md
+++ b/READMEs/README.fi-FI.md
@@ -69,7 +69,7 @@
-
+
@@ -1241,7 +1241,7 @@ curl -X POST http://localhost:3111/agentmemory/graph/compact -H "Authorization:
```bash
npm run dev # Hot reload
npm run build # Production build
-npm test # 4,400+ tests
+npm test # 4,500+ tests
npm run test:integration # API tests (requires running services)
```
diff --git a/READMEs/README.fr-FR.md b/READMEs/README.fr-FR.md
index 7284da37e8..42bba1dc7d 100644
--- a/READMEs/README.fr-FR.md
+++ b/READMEs/README.fr-FR.md
@@ -69,7 +69,7 @@
-
+
@@ -1250,7 +1250,7 @@ curl -X POST http://localhost:3111/agentmemory/graph/compact -H "Authorization:
```bash
npm run dev # Hot reload
npm run build # Production build
-npm test # 4,400+ tests
+npm test # 4,500+ tests
npm run test:integration # API tests (requires running services)
```
diff --git a/READMEs/README.he-IL.md b/READMEs/README.he-IL.md
index d8f06e0b17..0b116fa100 100644
--- a/READMEs/README.he-IL.md
+++ b/READMEs/README.he-IL.md
@@ -71,7 +71,7 @@
-
+
@@ -1242,7 +1242,7 @@ curl -X POST http://localhost:3111/agentmemory/graph/compact -H "Authorization:
```bash
npm run dev # Hot reload
npm run build # Production build
-npm test # 4,400+ tests
+npm test # 4,500+ tests
npm run test:integration # API tests (requires running services)
```
diff --git a/READMEs/README.hi-IN.md b/READMEs/README.hi-IN.md
index 84f168106a..c628d732be 100644
--- a/READMEs/README.hi-IN.md
+++ b/READMEs/README.hi-IN.md
@@ -69,7 +69,7 @@
-
+
@@ -1256,7 +1256,7 @@ curl -X POST http://localhost:3111/agentmemory/graph/compact -H "Authorization:
```bash
npm run dev # Hot reload
npm run build # Production build
-npm test # 4,400+ tests
+npm test # 4,500+ tests
npm run test:integration # API tests (requires running services)
```
diff --git a/READMEs/README.hu-HU.md b/READMEs/README.hu-HU.md
index fd1d89534f..6afe735b63 100644
--- a/READMEs/README.hu-HU.md
+++ b/READMEs/README.hu-HU.md
@@ -69,7 +69,7 @@
-
+
@@ -1239,7 +1239,7 @@ curl -X POST http://localhost:3111/agentmemory/graph/compact -H "Authorization:
```bash
npm run dev # Hot reload
npm run build # Production build
-npm test # 4,400+ tests
+npm test # 4,500+ tests
npm run test:integration # API tests (requires running services)
```
diff --git a/READMEs/README.id-ID.md b/READMEs/README.id-ID.md
index 025497f109..85d729f1ec 100644
--- a/READMEs/README.id-ID.md
+++ b/READMEs/README.id-ID.md
@@ -69,7 +69,7 @@
-
+
@@ -1256,7 +1256,7 @@ curl -X POST http://localhost:3111/agentmemory/graph/compact -H "Authorization:
```bash
npm run dev # Hot reload
npm run build # Production build
-npm test # 4,400+ tests
+npm test # 4,500+ tests
npm run test:integration # API tests (requires running services)
```
diff --git a/READMEs/README.it-IT.md b/READMEs/README.it-IT.md
index 2ca4bacd8c..d473421353 100644
--- a/READMEs/README.it-IT.md
+++ b/READMEs/README.it-IT.md
@@ -69,7 +69,7 @@
-
+
@@ -1249,7 +1249,7 @@ curl -X POST http://localhost:3111/agentmemory/graph/compact -H "Authorization:
```bash
npm run dev # Hot reload
npm run build # Production build
-npm test # 4,400+ tests
+npm test # 4,500+ tests
npm run test:integration # API tests (requires running services)
```
diff --git a/READMEs/README.ja-JP.md b/READMEs/README.ja-JP.md
index 18d1747608..253ea84286 100644
--- a/READMEs/README.ja-JP.md
+++ b/READMEs/README.ja-JP.md
@@ -69,7 +69,7 @@
-
+
@@ -1255,7 +1255,7 @@ curl -X POST http://localhost:3111/agentmemory/graph/compact -H "Authorization:
```bash
npm run dev # Hot reload
npm run build # Production build
-npm test # 4,400+ tests
+npm test # 4,500+ tests
npm run test:integration # API tests (requires running services)
```
diff --git a/READMEs/README.ko-KR.md b/READMEs/README.ko-KR.md
index 54b35e4b52..25091180c3 100644
--- a/READMEs/README.ko-KR.md
+++ b/READMEs/README.ko-KR.md
@@ -69,7 +69,7 @@
-
+
@@ -1254,7 +1254,7 @@ curl -X POST http://localhost:3111/agentmemory/graph/compact -H "Authorization:
```bash
npm run dev # Hot reload
npm run build # Production build
-npm test # 4,400+ tests
+npm test # 4,500+ tests
npm run test:integration # API tests (requires running services)
```
diff --git a/READMEs/README.nb-NO.md b/READMEs/README.nb-NO.md
index f404abe30a..fe6b9e189f 100644
--- a/READMEs/README.nb-NO.md
+++ b/READMEs/README.nb-NO.md
@@ -69,7 +69,7 @@
-
+
@@ -1247,7 +1247,7 @@ curl -X POST http://localhost:3111/agentmemory/graph/compact -H "Authorization:
```bash
npm run dev # Hot reload
npm run build # Production build
-npm test # 4,400+ tests
+npm test # 4,500+ tests
npm run test:integration # API tests (requires running services)
```
diff --git a/READMEs/README.nl-NL.md b/READMEs/README.nl-NL.md
index 4f2a723fa5..d83f316edf 100644
--- a/READMEs/README.nl-NL.md
+++ b/READMEs/README.nl-NL.md
@@ -69,7 +69,7 @@
-
+
@@ -1243,7 +1243,7 @@ curl -X POST http://localhost:3111/agentmemory/graph/compact -H "Authorization:
```bash
npm run dev # Hot reload
npm run build # Production build
-npm test # 4,400+ tests
+npm test # 4,500+ tests
npm run test:integration # API tests (requires running services)
```
diff --git a/READMEs/README.pl-PL.md b/READMEs/README.pl-PL.md
index b6215cbe2c..6c5a94a121 100644
--- a/READMEs/README.pl-PL.md
+++ b/READMEs/README.pl-PL.md
@@ -69,7 +69,7 @@
-
+
@@ -1239,7 +1239,7 @@ curl -X POST http://localhost:3111/agentmemory/graph/compact -H "Authorization:
```bash
npm run dev # Hot reload
npm run build # Production build
-npm test # 4,400+ tests
+npm test # 4,500+ tests
npm run test:integration # API tests (requires running services)
```
diff --git a/READMEs/README.pt-BR.md b/READMEs/README.pt-BR.md
index 2a3020d51c..785e39df45 100644
--- a/READMEs/README.pt-BR.md
+++ b/READMEs/README.pt-BR.md
@@ -69,7 +69,7 @@
-
+
@@ -1247,7 +1247,7 @@ curl -X POST http://localhost:3111/agentmemory/graph/compact -H "Authorization:
```bash
npm run dev # Hot reload
npm run build # Production build
-npm test # 4,400+ tests
+npm test # 4,500+ tests
npm run test:integration # API tests (requires running services)
```
diff --git a/READMEs/README.pt-PT.md b/READMEs/README.pt-PT.md
index 7d5dd04a05..c13dd11522 100644
--- a/READMEs/README.pt-PT.md
+++ b/READMEs/README.pt-PT.md
@@ -69,7 +69,7 @@
-
+
@@ -1243,7 +1243,7 @@ curl -X POST http://localhost:3111/agentmemory/graph/compact -H "Authorization:
```bash
npm run dev # Hot reload
npm run build # Production build
-npm test # 4,400+ tests
+npm test # 4,500+ tests
npm run test:integration # API tests (requires running services)
```
diff --git a/READMEs/README.ro-RO.md b/READMEs/README.ro-RO.md
index c1495e92e9..2333786508 100644
--- a/READMEs/README.ro-RO.md
+++ b/READMEs/README.ro-RO.md
@@ -69,7 +69,7 @@
-
+
@@ -1235,7 +1235,7 @@ curl -X POST http://localhost:3111/agentmemory/graph/compact -H "Authorization:
```bash
npm run dev # Hot reload
npm run build # Production build
-npm test # 4,400+ tests
+npm test # 4,500+ tests
npm run test:integration # API tests (requires running services)
```
diff --git a/READMEs/README.ru-RU.md b/READMEs/README.ru-RU.md
index 18f84998a8..2155e0c98a 100644
--- a/READMEs/README.ru-RU.md
+++ b/READMEs/README.ru-RU.md
@@ -69,7 +69,7 @@
-
+
@@ -1241,7 +1241,7 @@ curl -X POST http://localhost:3111/agentmemory/graph/compact -H "Authorization:
```bash
npm run dev # Hot reload
npm run build # Production build
-npm test # 4,400+ tests
+npm test # 4,500+ tests
npm run test:integration # API tests (requires running services)
```
diff --git a/READMEs/README.sv-SE.md b/READMEs/README.sv-SE.md
index 1443692691..4381b16ac6 100644
--- a/READMEs/README.sv-SE.md
+++ b/READMEs/README.sv-SE.md
@@ -69,7 +69,7 @@
-
+
@@ -1249,7 +1249,7 @@ curl -X POST http://localhost:3111/agentmemory/graph/compact -H "Authorization:
```bash
npm run dev # Hot reload
npm run build # Production build
-npm test # 4,400+ tests
+npm test # 4,500+ tests
npm run test:integration # API tests (requires running services)
```
diff --git a/READMEs/README.th-TH.md b/READMEs/README.th-TH.md
index dd435eac3f..47fe863712 100644
--- a/READMEs/README.th-TH.md
+++ b/READMEs/README.th-TH.md
@@ -69,7 +69,7 @@
-
+
@@ -1242,7 +1242,7 @@ curl -X POST http://localhost:3111/agentmemory/graph/compact -H "Authorization:
```bash
npm run dev # Hot reload
npm run build # Production build
-npm test # 4,400+ tests
+npm test # 4,500+ tests
npm run test:integration # API tests (requires running services)
```
diff --git a/READMEs/README.tl-PH.md b/READMEs/README.tl-PH.md
index d10ae9448d..4c3c0788be 100644
--- a/READMEs/README.tl-PH.md
+++ b/READMEs/README.tl-PH.md
@@ -69,7 +69,7 @@
-
+
@@ -1251,7 +1251,7 @@ curl -X POST http://localhost:3111/agentmemory/graph/compact -H "Authorization:
```bash
npm run dev # Hot reload
npm run build # Production build
-npm test # 4,400+ tests
+npm test # 4,500+ tests
npm run test:integration # API tests (requires running services)
```
diff --git a/READMEs/README.tr-TR.md b/READMEs/README.tr-TR.md
index a722398737..74a7497fe1 100644
--- a/READMEs/README.tr-TR.md
+++ b/READMEs/README.tr-TR.md
@@ -69,7 +69,7 @@
-
+
@@ -1241,7 +1241,7 @@ curl -X POST http://localhost:3111/agentmemory/graph/compact -H "Authorization:
```bash
npm run dev # Hot reload
npm run build # Production build
-npm test # 4,400+ tests
+npm test # 4,500+ tests
npm run test:integration # API tests (requires running services)
```
diff --git a/READMEs/README.uk-UA.md b/READMEs/README.uk-UA.md
index 6f03ca9aaa..a7dcc8236a 100644
--- a/READMEs/README.uk-UA.md
+++ b/READMEs/README.uk-UA.md
@@ -69,7 +69,7 @@
-
+
@@ -1242,7 +1242,7 @@ curl -X POST http://localhost:3111/agentmemory/graph/compact -H "Authorization:
```bash
npm run dev # Hot reload
npm run build # Production build
-npm test # 4,400+ tests
+npm test # 4,500+ tests
npm run test:integration # API tests (requires running services)
```
diff --git a/READMEs/README.ur-PK.md b/READMEs/README.ur-PK.md
index b81fcb3ce4..8527ed85cf 100644
--- a/READMEs/README.ur-PK.md
+++ b/READMEs/README.ur-PK.md
@@ -71,7 +71,7 @@
-
+
@@ -1246,7 +1246,7 @@ curl -X POST http://localhost:3111/agentmemory/graph/compact -H "Authorization:
```bash
npm run dev # Hot reload
npm run build # Production build
-npm test # 4,400+ tests
+npm test # 4,500+ tests
npm run test:integration # API tests (requires running services)
```
diff --git a/READMEs/README.vi-VN.md b/READMEs/README.vi-VN.md
index 5e157b445e..f00703fa98 100644
--- a/READMEs/README.vi-VN.md
+++ b/READMEs/README.vi-VN.md
@@ -69,7 +69,7 @@
-
+
@@ -1251,7 +1251,7 @@ curl -X POST http://localhost:3111/agentmemory/graph/compact -H "Authorization:
```bash
npm run dev # Hot reload
npm run build # Production build
-npm test # 4,400+ tests
+npm test # 4,500+ tests
npm run test:integration # API tests (requires running services)
```
diff --git a/READMEs/README.zh-CN.md b/READMEs/README.zh-CN.md
index dca9c73d72..13233660b0 100644
--- a/READMEs/README.zh-CN.md
+++ b/READMEs/README.zh-CN.md
@@ -69,7 +69,7 @@
-
+
@@ -1252,7 +1252,7 @@ curl -X POST http://localhost:3111/agentmemory/graph/compact -H "Authorization:
```bash
npm run dev # Hot reload
npm run build # Production build
-npm test # 4,400+ tests
+npm test # 4,500+ tests
npm run test:integration # API tests (requires running services)
```
diff --git a/READMEs/README.zh-TW.md b/READMEs/README.zh-TW.md
index eb7a1ddb4a..0041886d6c 100644
--- a/READMEs/README.zh-TW.md
+++ b/READMEs/README.zh-TW.md
@@ -69,7 +69,7 @@
-
+
@@ -1244,7 +1244,7 @@ curl -X POST http://localhost:3111/agentmemory/graph/compact -H "Authorization:
```bash
npm run dev # Hot reload
npm run build # Production build
-npm test # 4,400+ tests
+npm test # 4,500+ tests
npm run test:integration # API tests (requires running services)
```
diff --git a/assets/tags/light/stat-tests.svg b/assets/tags/light/stat-tests.svg
index 26a2ed1add..3439518513 100644
--- a/assets/tags/light/stat-tests.svg
+++ b/assets/tags/light/stat-tests.svg
@@ -1,5 +1,5 @@
-