github chandra447/pi-hermes-memory v0.7.23

latest releases: v0.11.0, v0.10.0, v0.9.11...
4 months ago

What's Changed

Fixes #89 — background memory review no longer spawns a cold pi -p subprocess on every nudge by default, preserving the parent session's LLM prefix cache and reducing review overhead.

Implemented in #92.

Added

  • Direct background review transport (reviewTransport: "direct", default): in-process completeSimple() side-channel with a small JSON-only system prompt; memory operations are parsed and applied directly via MemoryStore (+ SQLite sync).
  • reviewTransport config: set "subprocess" to force the legacy pi -p --no-session path only.
  • @earendil-works/pi-ai peer dependency: runtime imports (completeSimple, StringEnum) resolve correctly after pi install.

Changed

  • Background review model/auth now follows Pi's request pattern: forwards auth.env, preserves reasoning level from llmThinkingOverride, and respects llmModelOverride when set.
  • README documents the direct vs subprocess transport and when to override.

Fallback

If direct review fails (no model, no auth, provider error, unparseable JSON), it automatically falls back to the existing pi.exec subprocess path.

Install

pi install github:chandra447/pi-hermes-memory

Or via npm:

npm install pi-hermes-memory

Validation

  • CI passed on main for fe7e7e3
  • npm run check
  • npm test — all 36 test files passed

Don't miss a new pi-hermes-memory release

NewReleases is sending notifications on new releases.