mirror of
https://github.com/rohitg00/agentmemory.git
synced 2026-09-14 20:16:33 +08:00
518558441f
First boot after upgrading to v0.9.25 threw
'TypeError: Cannot read properties of undefined (reading v)' from
IndexPersistence.loadManifestData. Some iii-state adapters return
undefined (not null) for a missing key. The load path checked
manifest.value !== null and forwarded undefined to loadManifestData,
which then read undefined.v.
Self-healing: the next debounced save rebuilt a fresh manifest, so
operation continued after the warning — but the error scared every
fresh upgrader.
Fix: treat null + undefined + non-object values as 'no manifest' and
fall through to the legacy load path. Two regression tests:
- kv.get returning undefined surfaces as a clean { bm25: null,
vector: null } load, no throw.
- kv.get returning a string (wrong shape) does not crash the
manifest path.
Files bumped (9):
package.json, plugin/.claude-plugin/plugin.json, plugin/plugin.json,
plugin/.codex-plugin/plugin.json, src/version.ts, src/types.ts,
src/functions/export-import.ts, test/export-import.test.ts,
packages/mcp/package.json
125 test files / 1381 tests pass.
Closes #797.
16 lines
575 B
JSON
16 lines
575 B
JSON
{
|
|
"name": "agentmemory",
|
|
"version": "0.9.26",
|
|
"description": "Persistent memory for AI coding agents -- captures tool usage, compresses via LLM, injects context into future sessions. 12 hooks, 53 MCP tools, 8 skills, real-time viewer.",
|
|
"author": {
|
|
"name": "Rohit Ghumare",
|
|
"url": "https://github.com/rohitg00"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"homepage": "https://github.com/rohitg00/agentmemory",
|
|
"repository": "https://github.com/rohitg00/agentmemory",
|
|
"skills": "skills/",
|
|
"mcpServers": ".mcp.copilot.json",
|
|
"hooks": "hooks/hooks.copilot.json"
|
|
}
|