@pmate/merry-memory
v1.2.3
Published
Standalone Agent memory CLI and plugin; Runtime-managed session recovery
Readme
Memory
Independent Agent memory CLI and MCP server. Requires Node.js 20+ and the Merry Runtime CLI for session acquisition. Business API and MCP remain implemented by this package.
npm install -g @pmate/merry-memory
pmate login --app pmate:factory
merry-memory list --agent <profile-id>
# Help and MCP discovery also work from a source checkout:
node plugins/memory/index.mjs --help
node plugins/memory/mcp.mjsSee manifest.json Docs for permissions, environment settings and mutation contracts.
Session management
Session acquisition uses merry-runtime session ensure --app <app> through a private child-process pipe. Install the Merry Runtime CLI before using the plugin. In an Agent Run, Runtime verifies the current Run capability and supplies only that Agent's exact-app session; it checks cached sessions and automatically reauthenticates with the Agent's own private key when needed. Agent calls never use manual human login or credential fallback. Operators use their own CLI identity; no running Runtime is required for operator calls. Session output contains credentials: never paste it into chat, logs or artifacts. An explicit API 401 triggers session recovery and one retry; 403, conflicts and uncertain mutations are never replayed. Authentication recovery does not grant missing permissions.
