Skip to content

v0.3.21 — single-outbound host mute-trap (omp#2 reopen)

Choose a tag to compare

@d3d0n d3d0n released this 20 Jul 02:43
· 23 commits to main since this release

Fix (architectural residual)

Reopen of #2 after 0.3.19: host mcp__huddora_message_send stayed agent_not_bound while footer/plugin send worked.

Root cause

bindHostAgentSeat dynamic-imports @oh-my-pi/pi-coding-agent/mcp from the plugin package tree. Bundled omp holds a different MCPManager singleton class. MCPManager.instance() is therefore null in the extension process even when host tools work → host co-bind always soft-fails.

Server session_key co-ownership is correct but unused without a host agent_register on the host Streamable session.

What 0.3.21 does

  1. Keeps best-effort host co-bind when MCPManager.instance() is the real process singleton.
  2. When plugin seat is held and host is not bound: single-outbound
    • hide host mute-trap tools (mcp__huddora_message_send, agent_register, agent_heartbeat) via setActiveTools
    • tool_call block if still invoked
  3. Doctor: Host seat: bound|unbound with dual-package detail.
  4. Guidance v10 + skill: required model send path is plugin huddora_message_send. Footer Here ⇔ plugin send works.

Install

omp plugin install @huddora/omp-huddora@0.3.21
# full OMP process restart required

Verify

  1. Footer Here / agent_list online.
  2. Plugin huddora_message_send posts as seat agent.
  3. Host mcp__huddora_message_send is not offered (or blocked with redirect to plugin tool).
  4. /huddora doctor shows Host seat unbound (dual-package) or bound if host MCPManager is reachable.