Skip to content

v0.3.0

Choose a tag to compare

@maxLWS maxLWS released this 25 Nov 04:45
· 9 commits to main since this release

What changed

  • File & error history in search_sessions (still 5 tools, zero runtime dependencies):
    • mode="file_history" (agy): tells apart sessions that actually edited a file (write_succeeded / write_failed / write_unverified) from read-only sessions, with duplicate-filename disambiguation and exact #step links.
    • mode="error_history" (agy): finds past command/tool failures with exit codes, later edits in the same session, and whether the exact same command + working directory later passed (PASSED vs UNRESOLVED).
    • Streaming JSONL reader with incremental byte offsets, 32 MB / 2.5 s scan caps, partial-progress resumption, and explicit INCOMPLETE SCAN notices.
  • Editable Markdown notes (topics/<id>.md + MEMORY.md):
    • Each note lives in its own Markdown file with schema: 1 frontmatter; MEMORY.md keeps a managed index block without touching user text outside the markers.
    • Returns Revision on save/recall and enforces compare-and-swap via expectedRevision, with lockfile serialization across concurrent MCP processes and automatic migration from legacy notes.json (while keeping SessionStart strictly read-only).
  • Read-only Codex & Claude Code support:
    • list_sessions, search_sessions(mode="text"), and read_session accept source="codex"|"claude"|"all" while keeping source="agy" as the default, using source-qualified IDs (codex:<id>, claude:<id>, agy:<id>).
  • Smaller startup prompt & bug fixes:
    • Cut startup metadata (5 tool schemas + rules/AGENTS.md) by 30.4% vs v0.2.0 (11,022 B → 7,668 B).
    • Bypassed raw-file rg prefiltering on regex: true searches, preserved artifact-filename-only hits, enforced single-session ambiguity checks in search_sessions(sessionId=...), and propagated read I/O errors as incomplete scans.

Upgrade

# If installed from a local clone
node scripts/install.mjs update

# Or one-line installer (macOS / Linux)
curl -fsSL https://raw.githubusercontent.com/maxLWS/agy-memory/main/install.sh | sh

Full details: CHANGELOG.md