Skip to content

rohitg00/agentmemory

v0.8.11 Breaking

This release includes 1 breaking change for platform teams planning a safe upgrade.

✓ 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

Fixed crash caused by iii-sdk v0.11 dropping getContext() and updated related imports.

Full changelog

What's Fixed

node dist/index.mjs crashed on startup after the iii-sdk v0.11 migration (#116) merged:

SyntaxError: The requested module 'iii-sdk' does not provide an export named 'getContext'

iii-sdk v0.11 dropped getContext() entirely. 32 src/functions/*.ts files still imported and called it. The bug was invisible to CI (tests mock iii-sdk) and build (tsdown doesn't type-check).

Changes

  • src/logger.ts — new thin stderr shim with .info/.warn/.error replacing getContext().logger. Output goes to stderr as [agentmemory] <level> <msg>, forwarded into docker logs by iii-exec.
  • 32 src/functions/*.ts files — removed getContext imports, deleted const ctx = getContext() lines, replaced ctx.logger.* with logger.*
  • src/functions/search.ts — also fixed registerFunction({ id: '...' })registerFunction('...') for v0.11 string-ID API
  • 45 test files — updated vi.mock("iii-sdk") logger mocks to vi.mock("../src/logger.js")

Verification

  • node dist/index.mjs — starts cleanly, logs all startup lines
  • npm test — 731/731 pass

Breaking Changes

  • iii-sdk v0.11 removed the `getContext()` export entirely

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 →

Related context

Beta — feedback welcome: [email protected]