lament-z/dsh-chanhub
Brings the chanhub (WorkBuddy2API upstream) gateway into the DSH web UI: a sidebar quick entry for the account pool and usage plus a Settings → Channel Center panel for observing and configuring accounts, tasks, usage, models, consumers, logs and the gateway config.
dsh-chanhub brings the chanhub (WorkBuddy2API upstream) gateway into the DeepSeek Harness web UI: a sidebar quick entry for the account pool and usage plus a Settings → Channel Center panel for observing and configuring the gateway. Seven tabs are all driven by real gateway endpoints — Accounts (counters, per-realm availability, credits, per-account drawers, disable/enable/revive/remove with confirmations, and actionable expiry chips with daily burn-down), Tasks (seven task kinds plus a Task Center queue runner), Usage (KPI cards, activity heatmap, daily stacked-by-model chart, consumer filtering, CSV/JSON export), Models (a capability catalog with confirmed/borrowed/conflict/alias verdicts, provenance tiers and a self-drawn PNG vision probe), Consumers (multi-consumer API key lifecycle with three-state scope semantics), Logs (channel filtering, 500-line view) and Config (all 57 fields in 11 groups with per-field validation and applied/hot_applied/restart_required results). It also supports adding accounts through the gateway's OAuth login without a gateway restart, and renders the same panel in both the Settings entry and the Channel Center modal so the two can never disagree.
Install
dsh plugin --profile web add github:lament-z/dsh-chanhubCopied verbatim from the README's install line (a link:<this directory> local-dev form follows). Restart dsh web and reload; 'Channel accounts' appears at the bottom of the sidebar and 'Channel Center' under Settings.
Compatibility
Needs a running chanhub/WorkBuddy2API gateway. Since DSH 0.1.5 third parties no longer get connection.rpc.handle, so the plugin registers its own prefix route /dsh-chanhub on its webServer; browser→host goes through connection's request gate and host→gateway uses Authorization: Bearer <api_key>. The panel probes the gateway's version/capabilities once at startup and honestly hides (with an explanation) anything the gateway does not serve.
Details
- Repo: lament-z/dsh-chanhub
- Category: Models & Providers
- Stars: 0
- Version: GitHub repo lament-z/dsh-chanhub (install is a github: spec to the repo itself). The plugin is not the gateway — it is its DSH client, reading the gateway's real endpoints over host RPC and mapping the gateway config.json surface into a form; the gateway itself is the WorkBuddy2API upstream (Go, default :7866).
Alternatives
jelech/dsh-im-gateway · kriskwok/dsh-feishu-gateway · GooDAnDReaDY/dsh-messenger-gateway