v0.9.26

chenglou/pretextv0.9.26Jun 3, 2026by rohitg00

AI Summary

A hotfix addressing a crash that occurred on the first boot of a fresh installation due to an undefined check in the sharded index load path.

Key Highlights

  • Fix: First boot crash (`TypeError` on undefined) caused by sharded index adapter returning `undefined`
  • Behavior: The daemon self-healed, but this release ensures the first run is quiet
  • Upgrade: Drop-in upgrade via npm

Full Release Notes

Hotfix on top of v0.9.25. Closes [#797](https://github.com/rohitg00/agentmemory/issues/797).

## Fixed

- **First boot crash: `TypeError: Cannot read properties of undefined (reading 'v')`** (#797). The sharded index load path checked `manifest.value !== null` before forwarding, but some iii-state adapters return `undefined` (not `null`) for a missing key. `loadManifestData(undefined)` then crashed on `undefined.v`. Now treats both null + undefined + non-object values as 'no manifest' and falls through to the legacy load path.

Self-healing was already in place — the next debounced save rebuilt a fresh manifest — but the crash on first boot scared every fresh upgrader.

## Upgrade

```
npm install -g @agentmemory/agentmemory@0.9.26
```

If you already saw the warning on v0.9.25 and the daemon kept running, you're fine — the index was already rebuilt. v0.9.26 just makes the first-run boot quiet.

## Verified

- 125 test files / 1381 tests pass
- Build clean