From fd6b6d39ec8e0e59dd0fc93b83b07aab0491412f Mon Sep 17 00:00:00 2001
From: Rohit Ghumare
diff --git a/READMEs/README.ar-SA.md b/READMEs/README.ar-SA.md index d33d403d15..b5c7ac2604 100644 --- a/READMEs/README.ar-SA.md +++ b/READMEs/README.ar-SA.md @@ -52,7 +52,7 @@
diff --git a/READMEs/README.bn-BD.md b/READMEs/README.bn-BD.md index 11e10394ed..b75b5af014 100644 --- a/READMEs/README.bn-BD.md +++ b/READMEs/README.bn-BD.md @@ -50,7 +50,7 @@
diff --git a/READMEs/README.cs-CZ.md b/READMEs/README.cs-CZ.md index efb44f2614..9dbe206321 100644 --- a/READMEs/README.cs-CZ.md +++ b/READMEs/README.cs-CZ.md @@ -50,7 +50,7 @@
diff --git a/READMEs/README.da-DK.md b/READMEs/README.da-DK.md index 1456fa85de..df263d1368 100644 --- a/READMEs/README.da-DK.md +++ b/READMEs/README.da-DK.md @@ -50,7 +50,7 @@
diff --git a/READMEs/README.de-DE.md b/READMEs/README.de-DE.md index 43c1bea3a1..f1121347f6 100644 --- a/READMEs/README.de-DE.md +++ b/READMEs/README.de-DE.md @@ -50,7 +50,7 @@
diff --git a/READMEs/README.el-GR.md b/READMEs/README.el-GR.md index 3c639d5493..b16363b0df 100644 --- a/READMEs/README.el-GR.md +++ b/READMEs/README.el-GR.md @@ -50,7 +50,7 @@
diff --git a/READMEs/README.es-ES.md b/READMEs/README.es-ES.md index c44f5c37bb..06769c38a4 100644 --- a/READMEs/README.es-ES.md +++ b/READMEs/README.es-ES.md @@ -50,7 +50,7 @@
diff --git a/READMEs/README.fi-FI.md b/READMEs/README.fi-FI.md index 067319da2e..56a815b548 100644 --- a/READMEs/README.fi-FI.md +++ b/READMEs/README.fi-FI.md @@ -50,7 +50,7 @@
diff --git a/READMEs/README.fr-FR.md b/READMEs/README.fr-FR.md index 708228285b..e67891392d 100644 --- a/READMEs/README.fr-FR.md +++ b/READMEs/README.fr-FR.md @@ -50,7 +50,7 @@
diff --git a/READMEs/README.he-IL.md b/READMEs/README.he-IL.md index 41fac9a1b0..e009adfd62 100644 --- a/READMEs/README.he-IL.md +++ b/READMEs/README.he-IL.md @@ -52,7 +52,7 @@
diff --git a/READMEs/README.hi-IN.md b/READMEs/README.hi-IN.md index 713a52e348..c0d208a856 100644 --- a/READMEs/README.hi-IN.md +++ b/READMEs/README.hi-IN.md @@ -50,7 +50,7 @@
diff --git a/READMEs/README.hu-HU.md b/READMEs/README.hu-HU.md index 10f72f9d2d..4eb4e1a684 100644 --- a/READMEs/README.hu-HU.md +++ b/READMEs/README.hu-HU.md @@ -50,7 +50,7 @@
diff --git a/READMEs/README.id-ID.md b/READMEs/README.id-ID.md index 1918500a53..948964b635 100644 --- a/READMEs/README.id-ID.md +++ b/READMEs/README.id-ID.md @@ -50,7 +50,7 @@
diff --git a/READMEs/README.it-IT.md b/READMEs/README.it-IT.md index 6754fa1487..d2f645ec58 100644 --- a/READMEs/README.it-IT.md +++ b/READMEs/README.it-IT.md @@ -50,7 +50,7 @@
diff --git a/READMEs/README.ja-JP.md b/READMEs/README.ja-JP.md index 285e3b1b5d..83647eab5b 100644 --- a/READMEs/README.ja-JP.md +++ b/READMEs/README.ja-JP.md @@ -50,7 +50,7 @@
diff --git a/READMEs/README.ko-KR.md b/READMEs/README.ko-KR.md index 420ab489a3..a367ef8e2a 100644 --- a/READMEs/README.ko-KR.md +++ b/READMEs/README.ko-KR.md @@ -50,7 +50,7 @@
diff --git a/READMEs/README.nb-NO.md b/READMEs/README.nb-NO.md index e5fab35f3d..be8ed73b04 100644 --- a/READMEs/README.nb-NO.md +++ b/READMEs/README.nb-NO.md @@ -50,7 +50,7 @@
diff --git a/READMEs/README.nl-NL.md b/READMEs/README.nl-NL.md index 571169409e..683fa98e42 100644 --- a/READMEs/README.nl-NL.md +++ b/READMEs/README.nl-NL.md @@ -50,7 +50,7 @@
diff --git a/READMEs/README.pl-PL.md b/READMEs/README.pl-PL.md index 8898f4ccf2..14f9d3a6e2 100644 --- a/READMEs/README.pl-PL.md +++ b/READMEs/README.pl-PL.md @@ -50,7 +50,7 @@
diff --git a/READMEs/README.pt-BR.md b/READMEs/README.pt-BR.md index 16131e5a80..5c4dd3d829 100644 --- a/READMEs/README.pt-BR.md +++ b/READMEs/README.pt-BR.md @@ -50,7 +50,7 @@
diff --git a/READMEs/README.pt-PT.md b/READMEs/README.pt-PT.md index c578284b8a..13e40bf1e5 100644 --- a/READMEs/README.pt-PT.md +++ b/READMEs/README.pt-PT.md @@ -50,7 +50,7 @@
diff --git a/READMEs/README.ro-RO.md b/READMEs/README.ro-RO.md index 90e2136b75..91fb199705 100644 --- a/READMEs/README.ro-RO.md +++ b/READMEs/README.ro-RO.md @@ -50,7 +50,7 @@
diff --git a/READMEs/README.ru-RU.md b/READMEs/README.ru-RU.md index 44223fa99c..21385a034b 100644 --- a/READMEs/README.ru-RU.md +++ b/READMEs/README.ru-RU.md @@ -50,7 +50,7 @@
diff --git a/READMEs/README.sv-SE.md b/READMEs/README.sv-SE.md index 9bf12a1c01..e02446bbac 100644 --- a/READMEs/README.sv-SE.md +++ b/READMEs/README.sv-SE.md @@ -50,7 +50,7 @@
diff --git a/READMEs/README.th-TH.md b/READMEs/README.th-TH.md index 18da8e68e2..6040fc9bad 100644 --- a/READMEs/README.th-TH.md +++ b/READMEs/README.th-TH.md @@ -50,7 +50,7 @@
diff --git a/READMEs/README.tl-PH.md b/READMEs/README.tl-PH.md index 0c0db8f542..70071a3027 100644 --- a/READMEs/README.tl-PH.md +++ b/READMEs/README.tl-PH.md @@ -50,7 +50,7 @@
diff --git a/READMEs/README.tr-TR.md b/READMEs/README.tr-TR.md index b196522006..02b34f6fc7 100644 --- a/READMEs/README.tr-TR.md +++ b/READMEs/README.tr-TR.md @@ -50,7 +50,7 @@
diff --git a/READMEs/README.uk-UA.md b/READMEs/README.uk-UA.md index 30b6db7b85..699f4accb3 100644 --- a/READMEs/README.uk-UA.md +++ b/READMEs/README.uk-UA.md @@ -50,7 +50,7 @@
diff --git a/READMEs/README.ur-PK.md b/READMEs/README.ur-PK.md index 5bc2f8e46f..cc5bc3f906 100644 --- a/READMEs/README.ur-PK.md +++ b/READMEs/README.ur-PK.md @@ -52,7 +52,7 @@
diff --git a/READMEs/README.vi-VN.md b/READMEs/README.vi-VN.md index af95fe59e1..c56c2b5031 100644 --- a/READMEs/README.vi-VN.md +++ b/READMEs/README.vi-VN.md @@ -50,7 +50,7 @@
diff --git a/READMEs/README.zh-CN.md b/READMEs/README.zh-CN.md index 216f0ff27b..d7c7586617 100644 --- a/READMEs/README.zh-CN.md +++ b/READMEs/README.zh-CN.md @@ -50,7 +50,7 @@
diff --git a/READMEs/README.zh-TW.md b/READMEs/README.zh-TW.md index db989c98cc..e6a381c7c2 100644 --- a/READMEs/README.zh-TW.md +++ b/READMEs/README.zh-TW.md @@ -50,7 +50,7 @@
diff --git a/docs/plugins/copilot.md b/docs/plugins/copilot.md index db0a4593a4..82458fae93 100644 --- a/docs/plugins/copilot.md +++ b/docs/plugins/copilot.md @@ -55,8 +55,6 @@ Merge this entry into `.vscode/mcp.json`, preserving your existing servers. VS C } ``` -The bundled bridge is present in the 0.9.30 release branch. Before that release is published, use a built checkout for this setup. - For automatic capture, create `.github/hooks/agentmemory.json` in the workspace: ```json diff --git a/website/lib/generated-changelog.json b/website/lib/generated-changelog.json index 8a85ae1e57..f2fa8de96a 100644 --- a/website/lib/generated-changelog.json +++ b/website/lib/generated-changelog.json @@ -1,4 +1,9 @@ [ + { + "version": "0.9.32", + "date": "2026-11-04", + "body": "### Upgrade notes\n\n- **Breaking: an API key alone no longer turns on an outside provider.** LLM summaries, compression, consolidation and reflection run only when `AGENTMEMORY_LLM_PROVIDER` names `anthropic`, `openai`, `gemini`, `openrouter` or `minimax` and that provider's key is set. `AGENTMEMORY_ALLOW_AGENT_SDK=true` stays the other route. Cloud embeddings run only when `EMBEDDING_PROVIDER` names the provider; `EMBEDDING_PROVIDER=local` stays on-device, and unset means BM25 and graph search only. If a key is present without a choice, boot, `doctor`, `status` and the viewer name the exact line to add (#1664).\n- `OPENAI_API_KEY_FOR_LLM` is removed. Set `AGENTMEMORY_LLM_PROVIDER` instead (#1664).\n- **Hooks send nothing to a remote `http://` server.** A non-loopback `AGENTMEMORY_URL` must use HTTPS; captures for a plain-HTTP remote server are dropped, not spooled. The secret is sent only to loopback or HTTPS addresses (#1664).\n- The PreCompact hook prints stored memory only with `AGENTMEMORY_INJECT_CONTEXT=true`, the same gate as SessionStart (#1664).\n- The Claude Code plugin asks for the server URL and secret through plugin settings. The secret is kept in the system credential store. The Devin plugin no longer forwards `AGENTMEMORY_SECRET` from the environment (#1664).\n\n### Added\n\n- **iii installs itself on Windows.** A fresh `agentmemory` on win32 downloads the pinned iii zip, checks its SHA-256 and extracts it with the system `tar.exe`, falling back to PowerShell `Expand-Archive` (#1670).\n- MCP tools carry `readOnlyHint` and `destructiveHint` annotations, and the plugin README states what the hooks record, where it is kept and how to delete it. Privacy policy: https://agent-memory.dev/privacy (#1664).\n- `memory_lesson_save` accepts `sourceIds` (#1661).\n- The MCP stdio shim records why it exits in `mcp-crash.log` in the data directory (owner-only, rotated at 1 MiB) and saves its fallback store before writing to stderr (#1662, #1674).\n\n### Fixed\n\n- **Worker Compose starts on native Windows.** Worker commands, the worker PATH and project ownership checks with `\\\\?\\` and 8.3 paths are fixed; `agentmemory stop` waits long enough for every worker (#1641). The launcher retries a slow `iii --version` probe and never waits on a hidden install prompt (#1658). `doctor` does not prompt without a terminal or with `CI` set (#1671). `status` and `stop` output no longer include iii SDK debug lines (#1672).\n- **Boot no longer races the state worker.** agentmemory waits up to 120 s for the state worker to register before boot reads, and the keyword rebuild keeps retrying, so a slow start no longer leaves vector recovery paused or the keyword index empty until restart (#1627 by @cbsincool, #1626 by @Tyxiel, #1660).\n- A stale Worker Compose PID reused by an unrelated process after a reboot no longer causes a start crash loop (#1622 by @pei711).\n- The Docker image keeps the optional dependencies that local embeddings need (#1651 by @mothieras).\n- Slot tools are hidden and return 503 when `AGENTMEMORY_SLOTS` is off (#1659).\n- Search: CJK queries recall core observations again (#1553 by @akushonkamen); scoped smart-search fills short pages from a deeper window (#1669 by @dmazhukov); project-filtered recall excludes unscoped memories (#1647 by @reevesc88); search responses keep the original memory type (#1646 by @reevesc88).\n- An OpenAI reply cut off at `max_tokens` fails over instead of being stored as the result (#1495 by @Rex57).\n- Orphaned index generations are reclaimed (#1256 by @inix-x), and the MCP graph stats resource reads a bounded snapshot instead of listing the whole graph (#1260 by @inix-x).\n- Facet tags are removed when lessons are deleted or observations forgotten (#1642 by @xh123637). The session sweep skips rows without an id (#1645 by @dmazhukov). Hook truncation keeps surrogate pairs whole (#1598 by @dmazhukov).\n- The Hermes project git probe no longer inherits the worker's stdin, which could hang on Windows (#1663). The Cline CLI MCP configuration uses its native settings path (#1633).\n- A superseded memory gets a strictly later `updatedAt`, so mesh sync carries the change to peers (#1665 by @egantz).\n- pi includes recalled lessons in search and can read a full lesson by ID, scoped to its project (#1605 by @YeChenglin8888).\n- `npm run build` works under the Windows `cmd.exe` shell (#1362 by @mattamundson).\n- `.env.example` names the Agent SDK route and documents `MAX_OBS_PER_SESSION` as a hard per-session cap (#1675, from #1503 by @Rex57).\n\n### Known issues\n\n- On Windows, `agentmemory stop` takes about 60 s and each start opens empty console windows for the engine and workers. Both come from iii (iii-hq/iii#2430)." + }, { "version": "0.9.31", "date": "2026-10-25", @@ -53,10 +58,5 @@ "version": "0.9.21", "date": "2026-05-19", "body": "Quality + integration wave. Headline: native OpenCode plugin with full Claude Code hook parity ([#237](https://github.com/rohitg00/agentmemory/pull/237) by [@cl0ckt0wer](https://github.com/cl0ckt0wer)). Ten more PRs alongside: `memory_recall` returning the wrong shape, env-file `AGENTMEMORY_DROP_STALE_INDEX` silently ignored, hook scripts crashing on Windows usernames with spaces, viewer search inputs interrupting CJK IME composition, large sessions silently failing at the LLM context limit, lessons invisible to smart-search, Hermes plugin manifest missing hooks, cli onboarding crashing in non-TTY contexts, rebuildIndex blocking boot on large corpora, 25h embed-loop bottleneck during rebuild, and the v0.9.19 iii-console installer workaround can come out now that upstream is fixed.\n\n### Added\n\n- **OpenCode plugin with 22 auto-capture hooks** ([PR #237](https://github.com/rohitg00/agentmemory/pull/237) by [@cl0ckt0wer](https://github.com/cl0ckt0wer), closes [#236](https://github.com/rohitg00/agentmemory/issues/236) + [#244](https://github.com/rohitg00/agentmemory/issues/244)). Complete OpenCode plugin in `plugin/opencode/` matching Claude Code hook parity. Covers session lifecycle (8 hooks), messages (3), tool lifecycle (2), part tracking, permissions, task tracking, plus a two-layer enrichment pipeline (memory context on first turn, file enrichment on subsequent turns) and two slash commands (`/recall`, `/remember`). Full gap analysis in `plugin/opencode/README.md`.\n\n### Fixed\n\n- **`memory_recall` endpoint + format/token_budget forwarding** ([PR #516](https://github.com/rohitg00/agentmemory/pull/516) by [@serhiizghama](https://github.com/serhiizghama), closes [#507](https://github.com/rohitg00/agentmemory/issues/507) + [#440](https://github.com/rohitg00/agentmemory/issues/440)). MCP `memory_recall` always returned compact mode and dropped `format` + `token_budget` params. Two root causes fixed: standalone shim routed through `/agentmemory/smart-search` instead of `/agentmemory/search`, and the local-fallback path didn't read either param. Now routes correctly, forwards both params end-to-end, defaults `format` to `\"full\"` matching the MCP schema.\n\n- **env-file `AGENTMEMORY_DROP_STALE_INDEX` flag now honored** ([PR #461](https://github.com/rohitg00/agentmemory/pull/461) by [@honor2030](https://github.com/honor2030), closes [#456](https://github.com/rohitg00/agentmemory/issues/456)). Setting the flag in `~/.agentmemory/.env` was silently ignored because the boot path read `process.env` directly. New `isDropStaleIndexEnabled()` helper reads merged env. Combined with [#455](https://github.com/rohitg00/agentmemory/issues/455) + [#469](https://github.com/rohitg00/agentmemory/issues/469) reports, this is the unblock path for the stale-index server-crash recovery loop.\n\n- **Windows hook scripts quote plugin paths correctly** ([PR #487](https://github.com/rohitg00/agentmemory/pull/487) by [@honor2030](https://github.com/honor2030), closes [#477](https://github.com/rohitg00/agentmemory/issues/477)). Hook command strings referenced `${CLAUDE_PLUGIN_ROOT}/scripts/*.mjs` without quotes — Windows users with spaces in their username had every hook crash. Quotes added + regression test.\n\n- **Viewer search inputs honor IME composition** ([PR #517](https://github.com/rohitg00/agentmemory/pull/517) by [@jonathanzhan1975](https://github.com/jonathanzhan1975)). CJK users typing in the viewer's search inputs hit mid-character interruption — every keystroke fired the `oninput=` re-render handler, breaking IME composition mid-syllable. New `bindImeSafeSearch` helper defers re-render until `compositionend`.\n\n- **Chunk large sessions to fit LLM context window** ([PR #472](https://github.com/rohitg00/agentmemory/pull/472) by [@efenex](https://github.com/efenex)). Sessions with >7000 observations silently failed at the LLM provider's context limit — the consolidation pipeline silently skipped the session. New chunking splits oversized sessions across multiple compress calls + restitches the narrative via a `REDUCE_SYSTEM` prompt. Legacy single-call path preserved when obs count is under the chunk size. Backfill script under `scripts/` for users hitting the pre-fix bug.\n\n- **Surface lessons in smart-search + diagnose tally** ([PR #473](https://github.com/rohitg00/agentmemory/pull/473) by [@efenex](https://github.com/efenex)). Closes the lesson round-trip with [#458](https://github.com/rohitg00/agentmemory/pull/458) (lessons auto-injected into `mem::context`): lessons are now also returned alongside hybrid search results in a separate `lessons` field on `smart-search`, and the `diagnose` health surface tallies per-store counts so the trust-shock pattern (save succeeds, recall empty, diagnose says 0) goes away.\n\n- **Declare all Hermes plugin hooks** ([PR #486](https://github.com/rohitg00/agentmemory/pull/486) by [@honor2030](https://github.com/honor2030)). The Hermes `plugin.yaml` manifest only declared 3 of the 6 implemented hooks. All 6 now declared (`prefetch`, `sync_turn`, `on_session_end`, `on_pre_compress`, `on_memory_write`, `system_prompt_block`).\n\n- **`rebuildIndex` non-blocking on boot** ([PR #500](https://github.com/rohitg00/agentmemory/pull/500) by [@efenex](https://github.com/efenex)). Boot path previously `await`-ed `rebuildIndex(kv)`, so the viewer + later boot steps stalled — on large corpora this was 25h+ of blocked startup. Replaced with `void rebuildIndex(kv).then(...).catch(...)` so the rebuild runs in the background.\n\n- **Batched embed calls in `rebuildIndex` (25h → 3h on large corpora)** ([PR #504](https://github.com/rohitg00/agentmemory/pull/504) by [@efenex](https://github.com/efenex)). The rebuild loop made one embed call per observation, paying full HTTP RTT per item. New `vectorIndexAddBatchGuarded` helper batches embeds (default 32, configurable via `REBUILD_EMBED_BATCH_SIZE`) and try/catches per-item failures. Measured 25h → 3h on a 250k-observation corpus.\n\n- **CLI skips onboarding prompts without a tty** ([PR #491](https://github.com/rohitg00/agentmemory/pull/491) by [@honor2030](https://github.com/honor2030)). Onboarding prompts crashed in non-interactive contexts (CI, `docker run -d`, piped input). New guard short-circuits with sensible defaults when stdin/stdout aren't TTYs or `CI=1`.\n\n### Changed\n\n- **Drop iii-console installer `--next` workaround** ([PR #546](https://github.com/rohitg00/agentmemory/pull/546)). v0.9.19 routed first-run iii-console install through `bash -s -- --next` to dodge an upstream tag-prefix bug at [iii-hq/iii#1652](https://github.com/iii-hq/iii/issues/1652). Upstream [iii-hq/iii#1660](https://github.com/iii-hq/iii/pull/1660) shipped 2026-05-19; `install.iii.dev/console/main/install.sh` is a CDN proxy serving upstream main HEAD so the fix is live without an iii release tag. Reverted to canonical bare `curl ... | sh`.\n\n### Infrastructure\n\n- 95 test files (was 92), **1067 tests pass** (was 1038) on `chore(release): v0.9.21`.\n- Bundles 11 PRs: 1 contributor feature + 9 bug fixes across MCP / hooks / viewer / summarize / lessons / Hermes / rebuildIndex / CLI + 1 upstream-installer revert.\n- New contributors landing first PRs this release: [@cl0ckt0wer](https://github.com/cl0ckt0wer), [@serhiizghama](https://github.com/serhiizghama), [@jonathanzhan1975](https://github.com/jonathanzhan1975)." - }, - { - "version": "0.9.20", - "date": "2026-05-18", - "body": "Hotfix: revert the Codex Stop → session-end chain shipped in v0.9.19.\n\n### Fixed\n\n- **Revert Codex Stop hook session-end chain** ([PR #501](https://github.com/rohitg00/agentmemory/pull/501) by [@Rex57](https://github.com/Rex57), reverts v0.9.19's [#495](https://github.com/rohitg00/agentmemory/pull/495), re-opens [#493](https://github.com/rohitg00/agentmemory/issues/493)). Post-merge field-testing surfaced the underlying issue: Codex `Stop` fires before the overall conversation is truly finished — multiple Stops bracket each assistant turn within one session. Chaining `session-end.mjs` from Stop marked sessions completed too early, with later observations still arriving against an `endedAt`-stamped record. Restored to summarize-only Stop; the SessionEnd-shaped solution stays open as [#493](https://github.com/rohitg00/agentmemory/issues/493)." } ] diff --git a/website/lib/generated-meta.json b/website/lib/generated-meta.json index 64d8a8b620..b7d8252156 100644 --- a/website/lib/generated-meta.json +++ b/website/lib/generated-meta.json @@ -1,15 +1,15 @@ { - "version": "0.9.31", + "version": "0.9.32", "mcpTools": 54, "hooks": 12, - "restEndpoints": 146, - "testCases": "4000+", - "stars": 29963, - "forks": 2646, - "contributors": 55, + "restEndpoints": 147, + "testCases": "4400+", + "stars": 30133, + "forks": 2668, + "contributors": 64, "releases": 53, - "npmWeekly": 12481, - "npmMonthly": 42744, - "npmAllTime": 527228, - "generatedAt": "2026-10-28T08:19:41.991Z" + "npmWeekly": 17187, + "npmMonthly": 61907, + "npmAllTime": 572853, + "generatedAt": "2026-11-04T18:22:21.410Z" }