fix: [Release] Please publish @memtensor/memos-local-plugin v2.0.11 — fix #2096 (MemosHttpClient import) shipped in #2097 but not in latest npm
Pre-submission checklist | 提交前检查
- [x] I have searched existing issues and this hasn't been mentioned before | 我已搜索现有问题,确认此问题尚未被提及
- [x] I have read the project documentation and confirmed this issue doesn't already exist | 我已阅读项目文档并确认此问题尚未存在
- [x] This issue is specific to MemOS and not a general software issue | 该问题是针对 MemOS 的,而不是一般软件问题
Bug Description | 问题描述
Summary
The bug fixed by #2097 (MemosHttpClient is imported in
adapters/hermes/memos_provider/__init__.py:68 but never defined in
bridge_client.py) is still present in the latest npm release
@memtensor/[email protected] because v2.0.10 was published on
2026-07-09, two days before the fix landed in
dev-v2.0.24 (merge commit c0f6c2c, 2026-07-16).
Result: the Hermes adapter is completely broken on latest. Hermes loads
the plugin, fails the import, and never writes a single trace to MemOS.
Reproduction
# Fresh install on Hermes
curl -fsSL https://raw.githubusercontent.com/MemTensor/MemOS/main/apps/memos-local-plugin/install.sh | bash
# (config with valid llm.apiKey)
# Then any hermes chat call:
hermes chat -q "hello"
# stderr shows:
plugins.memory - DEBUG - Failed to exec_module plugins.memory.memtensor: \
cannot import name 'MemosHttpClient' from 'bridge_client' \
(…/memos-plugin/adapters/hermes/memos_provider/bridge_client.py)
plugins.memory - WARNING - Memory provider 'memtensor' loaded but no provider instance found
run_agent - DEBUG - Memory provider 'memtensor' not found or not available
### How to Reproduce | 如何重现
1. 装 v2.0.10:
curl -fsSL https://raw.githubusercontent.com/MemTensor/MemOS/main/apps/memos-local-plugin/install.sh | bash
2. 在 ~/.hermes/memos-plugin/config.yaml 填好 llm.apiKey(有效 key)
3. 跑:
hermes chat -q "hello"
4. 看 stderr(加 -v 标志)会看到:
plugins.memory - DEBUG - Failed to exec_module plugins.memory.memtensor: \
cannot import name 'MemosHttpClient' from 'bridge_client' \
(…/adapters/hermes/memos_provider/bridge_client.py)
plugins.memory - WARNING - Memory provider 'memtensor' loaded but no provider instance found
run_agent - DEBUG - Memory provider 'memtensor' not found or not available
5. 查 SQLite:
sqlite3 ~/.hermes/memos-plugin/data/memos.db "SELECT count(*) FROM traces"
# → 0
### Environment | 环境信息
```python
sqlite3.connect('~/.hermes/memos-plugin/data/memos.db').execute(
"SELECT count(*) FROM traces").fetchone() # → 0
@memtensor/[email protected](npmlatest)- Hermes Agent v0.19.0 (commit a979ca2a)
- Ubuntu 22.04
- Node 22.22.3
Additional Context | 其他信息
Request
Please cut and publish a new npm release (suggested: v2.0.11) from
dev-v2.0.24 (or a forward fix on main) that includes commit
c0f6c2c from #2097, then update the latest dist-tag. Once it lands I
can re-run bash install.sh and verify the import works.
Environment
@memtensor/[email protected](npm, latest)- Hermes Agent v0.19.0
- OS: Ubuntu 22.04 on Tencent Lighthouse (no network access quirks relevant; this is a pure import error before any I/O happens)
- Node 22.22.3
Cross-references
- Bug report: #2096
- Fix PR: #2097
- Fix commit: c0f6c2ccee73ff56f05e38a5f94ee91f06aaf5ec
- Affected file:
apps/memos-local-plugin/adapters/hermes/memos_provider/__init__.py(line 68) apps/memos-local-plugin/adapters/hermes/memos_provider/bridge_client.py(missing class)
Willingness to Implement | 实现意愿
- [ ] I'm willing to implement this myself | 我愿意自己解决
- [x] I would like someone else to implement this | 我希望其他人来解决
Closing as resolved. The half-merged MemosHttpClient usage was removed in c0f6c2c (#2097), the current Hermes adapter imports MemosBridgeClient, and @memtensor/memos-local-plugin 2.0.12 is now published as npm latest. Please reopen this issue (or file a fresh report with install logs) if a clean install still fails with the original import error.