feat: integrate Memento MCP for shared memory across agents

- Add MEMENTO_MCP_SSE_URL/ACCESS_KEY/REMOTE_PATH to readEnvFile
- Merge .env vars into cleanEnv for runner process inheritance
- Claude Code runner: add memento-mcp via mcp-remote in mcpServers
- Codex runner: inject memento-mcp section into config.toml
- Various improvements: CI watch, task scheduler, DB, IPC auth
This commit is contained in:
Eyejoker
2026-03-20 00:12:43 +09:00
parent e7200a1ed8
commit 41afcb91cf
17 changed files with 572 additions and 59 deletions

View File

@@ -287,9 +287,7 @@ describe('agent-runner timeout behavior', () => {
expect(fs.writeFileSync).toHaveBeenCalledWith(
'/tmp/ejclaw-test-data/sessions/eyejokerdb-4/.codex/config.toml',
expect.stringContaining(
'NANOCLAW_CHAT_JID = "dc:1481348008183595170"',
),
expect.stringContaining('NANOCLAW_CHAT_JID = "dc:1481348008183595170"'),
);
expect(fs.writeFileSync).toHaveBeenCalledWith(
'/tmp/ejclaw-test-data/sessions/eyejokerdb-4/.codex/config.toml',