Repository navigation
Release/memos local plugin v2.0.12 beta.1 - #2184
Conversation
🤖 Open Code ReviewTarget: PR #2184 🔍 OpenCodeReview found 30 issue(s) in this PR. 1.
|
✅ Automated Test Results: PASSEDAll tests passed (90/90 executed). memos_github_open_source/smoke: 1/1, memos_local_plugin/changed-repo-python: 89/89. Duration: 5s [advisory, non-gating] AI-generated tests on branch test/auto-gen-74c2430c2e6ab0ad-20260729153513: 95/97 passed, 2 failed — these do NOT affect the PR verdict; review the branch manually. Branch: |
* fix(plugin): synchronize Hermes release version metadata * fix(plugin): keep Hermes compression turn read-only * fix(plugin): reload Hermes config on restart * fix(plugin): share Hermes bridge across providers * fix(plugin): isolate Hermes bridges by data home * fix(plugin): harden Hermes recovery lifecycle * release: @memtensor/memos-local-plugin v2.0.12-beta.1 * fix(plugin): satisfy Python lint checks --------- Co-authored-by: 谁在吵着吃糖 <gyunhang@qq.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
This PR synchronizes the source tree with the published
@memtensor/memos-local-plugin@2.0.12-beta.1release and includes the Hermesreliability fixes validated in the Beta release.
Summary
creating unintended memory or reward records.
runtimes by data home.
lifecycle handling.
lifecycle behavior.
Problem solved
Hermes could create multiple bridge runtimes for the same data home, retain stale
configuration after restart, or leave bridge resources in an inconsistent state
during recovery and shutdown. Compression commands could also enter normal
capture/reward processing even though they should be operational and read-only.
The release workflow additionally needed to keep npm package metadata and the
Hermes plugin manifest synchronized so that the installed plugin reports the same
version as the package published to npm.
Implementation approach
counting, keepalive monitoring, and deterministic cleanup.
runtime.
processing.
package.json,package-lock.json, and the Hermesplugin.yaml.idempotency checks, and release metadata synchronization.
Dependencies
No new runtime dependencies are required.
Known limitation
A pre-existing macOS/BSD compatibility issue remains in Hermes process-status
detection: the current
pgrep -fexpression uses non-POSIX regex syntax. Onaffected macOS systems, the Viewer may display
disconnectedinstead ofreconnectingwhile Hermes Chat is running. This does not affect memory storage,retrieval, compression, or the actual bridge reconnection mechanism and will be
handled separately.
Related Issue (Required): N/A — release synchronization PR for the validated
2.0.12-beta.1package.Type of change
How Has This Been Tested?
The Beta release workflow and local acceptance covered the following:
npm run lintnpm testnpm run check:hermes-versionbetter-sqlite3builds for:@memtensor/memos-local-plugin@2.0.12-beta.1on macOS/compressacceptancequick_checkReproduction:
Checklist
Reviewer Checklist