v0.9.26

googleworkspace/cliv0.9.26Jun 3, 2026by rohitg00

AI Summary

A hotfix correcting a first-boot crash caused by undefined values in the sharded index load path. The update ensures the daemon boots quietly on fresh upgrades by handling both `null` and `undefined` manifest values gracefully.

Key Highlights

  • Fixes `TypeError: Cannot read properties of undefined (reading 'v')` on first boot
  • Handles undefined values in manifest loading alongside null checks
  • Self-healing mechanism ensures index rebuilds on next debounced save
  • Verified with 125 test files and 1381 tests passing

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