Skip to content

feat(memos-local-plugin): Hermes viewer probe, node resolution, and bridge hardening#1731

Merged
hijzy merged 1 commit into
MemTensor:mem-agent-0514from
hijzy:agent/hermes-bridge-viewer-node
May 14, 2026
Merged

feat(memos-local-plugin): Hermes viewer probe, node resolution, and bridge hardening#1731
hijzy merged 1 commit into
MemTensor:mem-agent-0514from
hijzy:agent/hermes-bridge-viewer-node

Conversation

@hijzy
Copy link
Copy Markdown
Collaborator

@hijzy hijzy commented May 14, 2026

Summary

Hermes local plugin: improve how the bridge and optional Hermes viewer are discovered and started, harden daemon coordination, and align server routes with the bridge.

Changes

  • Node / bridge: Resolve Node via MEMOS_NODE_BINARY, .memos-node-bin, or PATH; prefer local tsx CLI when present; centralize bridge argv construction.
  • Daemon: Use RLock for shared state; add viewer port probing (HERMES_VIEWER_PORT), TTL-cached status, and optional viewer subprocess lifecycle helpers.
  • Server: Small updates to auth.ts and health.ts; bridge.cts wiring adjustments.
  • Tests: Extended Python coverage in test_bridge_client.py and test_hermes_provider_pipeline.py.

Checks

  • ruff check and ruff format on touched Python paths under apps/memos-local-plugin.

Base: latest upstream/mem-agent-0514 per repo workflow.

…ridge hardening

- Resolve Node via MEMOS_NODE_BINARY, .memos-node-bin, or PATH; prefer local tsx CLI when present.
- Add Hermes viewer port probing, optional viewer lifecycle, and RLock for daemon state.
- Adjust bridge server auth/health routes and bridge.cts wiring; extend Python tests.
@hijzy hijzy merged commit cdf8287 into MemTensor:mem-agent-0514 May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant