github chandra447/pi-hermes-memory v0.9.7

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

pi-hermes-memory v0.9.7

This maintenance release fixes project-memory writes against the wrong working directory, stops llmThinkingOverride: "max" from silently becoming off, and lands store and session-index fixes that were already on main after 0.9.6.

Highlights

Project memory follows the session, not the process

Pi can load the extension with no session. Factory process.cwd() was the wrong source for project identity, so the Web UI (and any host that opens a project whose cwd differs from launch cwd) wrote MEMORY.md into the wrong project folder. Binding now happens at session_start from ctx.cwd. Memory tools rebind at execute time. (#208, fixes #167)

max thinking is a real override

Config accepted thinking levels only through xhigh. llmThinkingOverride: "max" was dropped with no warning. With a model override, maintenance calls then fell back to off. ThinkingLevel is now Pi's ModelThinkingLevel. Peers are >=0.80.6 (Pi added max in 0.80.6, not 0.81.0). Auth types come from public modelRegistry.getApiKeyAndHeaders(), so ProviderHeaders can be string | null. (#209, fixes #198 and #201)

Clean process exit on Node 24

better-sqlite3 12.x could SIGABRT on Node 24 at shutdown after all work had finished. The dependency is now ^13.0.3. The APIs this extension uses are unchanged. (#205, fixes #193)

Session index and snapshot hygiene

Background review runs with --no-session. Those ephemeral prompts were still landing in session search. Recovery snapshots on dormant stores were never pruned once writes stopped. /reload waited on an LLM memory flush even though Pi keeps the session. (#203, #204, #200)

Changes

  • Write project memory from ctx.cwd at session_start and tool execute, not factory process.cwd(). (#208, @chandra447)
  • Derive thinking and auth types from the Pi SDK. Accept llmThinkingOverride: "max". Raise peers to >=0.80.6. (#209, @chandra447)
  • Upgrade better-sqlite3 to v13 for clean Node 24 exit. (#205, @chandra447)
  • Sweep .recovery-* / .retired-* snapshot retention across dormant memory stores at session start. (#204, @chandra447)
  • Exclude ephemeral background-review sessions from the session index, and prune matching leftover rows. (#203, @chandra447)
  • Skip the shutdown memory flush on /reload. Add opt-in PI_TIMING=1 lifecycle spans. (#200, @AndriiSemenkov)
  • Bump package version to 0.9.7. (#210)

Upgrade

pi install npm:pi-hermes-memory@0.9.7

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

NewReleases is sending notifications on new releases.