github chandra447/pi-hermes-memory v0.9.6

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

pi-hermes-memory v0.9.6

This maintenance release improves the extension's behaviour when memory is full, keeps session-index storage bounded, and removes unnecessary startup work while preserving automatic database recovery.

Highlights

More actionable memory-full responses

When a memory write cannot fit, the result now includes the current decoded entries, usage, and entry count. An agent can immediately choose an entry to replace or remove, then retry the write in the same turn instead of first reading the whole memory file.

Bounded session-index growth

Session indexing no longer stores tool_result payloads, which can contain very large command or file output. Every stored message is also capped at 100 KiB while retaining a prefix, suffix, and the original-size notice. Tool-call names remain indexed separately, so this reduces storage without losing the ability to discover which tools were used.

The cap applies to newly indexed messages. Existing oversized rows are left untouched; this release prevents future growth rather than rewriting or shrinking an existing database.

Faster, still safe startup

The database manager no longer performs full-database quick_check scans synchronously during startup. It defers one scan to the next event-loop turn, so the extension can start promptly even with a large database. If the deferred scan detects corruption, the existing quarantine-and-rebuild recovery remains in effect, including after the manager is closed and reopened.

Changes

  • Include entries, usage, and entry_count in memory-capacity error responses. (#178)
  • Exclude unbounded tool-result content from JSONL and live-session indexing, and cap each indexed message to 100 KiB. (#187)
  • Defer the startup database integrity scan while retaining automatic corruption recovery. (#186)
  • Bump the package version to 0.9.6. (#188)

Upgrade

Install or update with:

pi install npm:pi-hermes-memory@0.9.6

No configuration or public API changes are required for this release.

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

NewReleases is sending notifications on new releases.