Skip to content

rohitg00/agentmemory

v0.8.9 Feature

This release adds 3 notable features for engineering teams evaluating rollout.

✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

agentmemory agents ai claude claudecode codex
+7 more
copilot cursor genai harness hermes memory openclaw

Summary

AI summary

Claude Code plugin skills now run as pure prompts, fixing sandbox failures and auto‑wiring the MCP server.

Full changelog

Two UX fixes for the Claude Code plugin install path, reported in #139 by @stefanfaur.

Fixed

  • Claude Code plugin now auto-wires the MCP server (#139) — new plugin/.mcp.json declares the @agentmemory/mcp stdio server so /plugin install agentmemory@agentmemory auto-starts it when the plugin is enabled. No extra config step, no separate install command.
  • Skills no longer fail under Claude Code's sandbox with "Contains expansion" (#139) — the recall and session-history skills used pre-execution bash with $(...) / ${VAR:-default} shell expansion, which Claude Code's sandbox rejects by pattern match. All four plugin skills (recall, remember, forget, session-history) are now pure prompts that tell Claude to use MCP tools directly. No bash, no sandbox issues, no shell escaping — and they run faster because they no longer fork a curl subprocess on every invocation.

Added

  • Standalone MCP shim (@agentmemory/mcp) implements the tools the rewritten skills need — previously exposed 5 tools, now exposes 7:
    • memory_smart_search — aliases memory_recall with substring fallback (BM25/vector/graph are only in the engine-backed path, not the standalone shim). Now searches title, content, files, concepts, and session IDs so the forget skill can find memories by file path or session ID as the docs promised. Rejects empty/whitespace-only queries to prevent the forget flow from accidentally matching every memory.
    • memory_governance_delete — deletes memories by memoryIds array or CSV string. Returns {deleted, requested, reason}. Silently skips unknown IDs.
  • Argument normalizationmemory_save now accepts concepts/files as either an array (plugin skill format) or a comma-separated string (legacy). New normalizeList() helper handles both.
  • parseLimit() helper — clamps limit args to a sane range (1–100) across memory_smart_search, memory_sessions, and memory_audit. Rejects bogus values (negative, NaN, Infinity, booleans, objects) instead of silently passing them to .slice().
  • Input hardening on memory_savecontent is now type-checked as a string before .trim(), so memory_save({content: 42}) gets a clean "content is required" error instead of a runtime TypeError.
  • 10 regression tests covering array + CSV concepts/files, empty-query rejection, broadened search corpus, memory_governance_delete happy/CSV/unknown-id paths, parseLimit clamping, non-string content rejection, and the memory_sessions limit. Full suite: 719 passing.

Changed

  • README Claude Code install snippet — now explicitly notes that /plugin install agentmemory registers hooks + skills and auto-wires the MCP server via .mcp.json, with no extra step.

Upgrade

```bash
npm install @agentmemory/[email protected]

or standalone:

npx -y @agentmemory/[email protected]
```

If you're on Claude Code, re-run /plugin install agentmemory@agentmemory to pick up the new .mcp.json and rewritten skills, then restart Claude Code so the MCP server spawns.

Full changelog: v0.8.8...v0.8.9

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track rohitg00/agentmemory

Get notified when new releases ship.

Sign up free

About rohitg00/agentmemory

All releases →

Beta — feedback welcome: [email protected]