Pre-submission checklist | 提交前检查
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/memos-local-plugin@2.0.10 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/memos-local-plugin@2.0.10 (npm latest)
- 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/memos-local-plugin@2.0.10 (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
Willingness to Implement | 实现意愿
Pre-submission checklist | 提交前检查
Bug Description | 问题描述
Summary
The bug fixed by #2097 (
MemosHttpClientis imported inadapters/hermes/memos_provider/__init__.py:68but never defined inbridge_client.py) is still present in the latest npm release@memtensor/memos-local-plugin@2.0.10because v2.0.10 was published on2026-07-09, two days before the fix landed in
dev-v2.0.24(merge commitc0f6c2c, 2026-07-16).Result: the Hermes adapter is completely broken on
latest. Hermes loadsthe plugin, fails the import, and never writes a single trace to MemOS.
Reproduction
@memtensor/memos-local-plugin@2.0.10(npmlatest)Additional Context | 其他信息
Request
Please cut and publish a new npm release (suggested: v2.0.11) from
dev-v2.0.24(or a forward fix onmain) that includes commitc0f6c2cfrom #2097, then update thelatestdist-tag. Once it lands Ican re-run
bash install.shand verify the import works.Environment
@memtensor/memos-local-plugin@2.0.10(npm, latest)relevant; this is a pure import error before any I/O happens)
Cross-references
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 | 实现意愿