dsh-event-relay
Run the following command in DeepSeek Harness:
dsh plugin install joao-paulo-santos/dsh-event-relay
Paste the following prompt into your AI chat to install this plugin:
In your DeepSeek Harness, run dsh plugin install joao-paulo-santos/dsh-event-relay to install; the source repository is https://github.com/joao-paulo-santos/dsh-event-relay . Restart the host after installation to load the plugin.
About this plugin
In DeepSeek Harness, the browser-to-host direction is transactional HTTP: the frontend asks, the host replies. The reverse—host-side events such as a setting change, a finished build, or an incoming notification reaching the browser UI in real time—has no natural push path. Polling adds latency and burns resources; one EventSource or WebSocket per plugin quickly exhausts the browser's roughly six concurrent connections per domain, queuing every other request behind them. dsh-event-relay was built to close that gap.
Under the hood the plugin registers a single shared SSE route, /relay/events, on the host. Every subscribing plugin in a browser tab rides the same one connection. The host calls publish(topic, payload) to emit JSON messages; the server filters by hierarchical topic (subscribing to kanban also receives kanban/change) and only pushes what the current tab actually listens for. When the stream re-opens, a synthetic __relay/open message lets consumers resynchronise anything missed during downtime. The payload field is fully optional: carry complete state, or send a bare topic as a doorbell and let the consumer refetch its own truth. Both styles are first-class.
Any DSH host-side plugin that needs the browser UI to react the instant something changes on the host should consider this relay. It does not replace Cordis as the host event system—it simply carries messages across the plane boundary—with zero external dependencies and nothing to wire beyond installing the package. dsh-granular-settings already uses it to broadcast doorbell-only change notifications for scoped settings, making it a working reference for the pattern.
Use Cases
- Browser UI reacts instantly to host-side setting changes without polling
- Multiple plugins subscribe to events over one shared SSE connection, staying under browser concurrency limits
- Automated state resync via __relay/open after stream reconnection
Best For
- DSH host-side plugin developers who need to push events to the browser
- Architects coordinating cross-plane events in multi-plugin setups
- Frontend developers seeking to avoid per-plugin connections that exhaust browser concurrency
Related Plugins
Free web search plugin for DeepSeek Harness with web search, X search, and page fetch; no signup or API key required, with automatic multi-engine failover.
AnySearch-powered web and vertical search plugin for DeepSeek Harness, offering real-time search, cleaned URL content, concurrent batch search via native web_search/web_fetch, no API key required.
Pixel-perfect webpage clone tool that uses an agent harness to turn any webpage into a scored, full-page React replica.
A bilingual cost-tracking plugin for DeepSeek Harness with session/daily cost, budget, official & custom provider balance, coding plan quotas, peak/off-peak pricing alerts, and history stats.