DSH Hub

ishuowang/dsh-rolehub-bridge

dsh-rolehub-bridge

UIWorkflow0 GitHub stars· updated 2026-08-16

Native RoleHub bridge for DeepSeek Harness: discover verified roles, start role-scoped Sessions, and invite them into Agent Team Rooms.

Install

npx @deepseek-ai/dsh plugin --profile web add github:ishuowang/dsh-rolehub-bridge#v0.2.0

Restart `dsh web` after install. Bundle APIs can change during the developer preview.

README badge

dsh-rolehub-bridge DSH Hub badge
[![DSH Hub](https://dshhub.dev/badge/dsh-rolehub-bridge.svg)](https://dshhub.dev/plugins/dsh-rolehub-bridge)

Paste this into your README. The star count updates with every catalog sync.

From the README

Excerpt from ishuowang/dsh-rolehub-bridge, cleaned of badges and images.

RoleHub Bridge for DSH

Choose a portable agent role. Verify its bundle. Start it as a native, continuable DSH Session.

The current conversation stays itself. Agent Team Room stays a Room.

简体中文 · Install · Native UI · Commands · Trust model · AI support · Security

RoleHub Bridge is the native DeepSeek Harness compatibility layer for RoleHub. It discovers portable roles from Host-configured Hubs, verifies and pins an exact bundle, computes a Host-owned effective policy, and creates a separate role-scoped child Session.

There are no built-in company teams, personas, or Room scenarios here. A role comes from RoleHub only when a person explicitly selects it. Agent Team Room is an optional destination for the resulting Session—not a dependency and not a source of role authority.

One bridge, narrow responsibilities

The bridge ownsThe bridge deliberately does not own
Hub discovery, catalog validation, and bounded downloadsRole authoring or community governance
Exact manifest/archive/bundle digest verificationTrusting a publisher merely because it appears in a catalog
Effective capability policy and fixed Host tool bindingsSelf-granted tools, secrets, shell, network, or Room authority
A new continuable, role-scoped child SessionMutating the active conversation into a role
Optional attachment through Room's public Host APIRoom membership, delivery, tasks, scenarios, or a kanban board
Additive native DSH controls and a read-only snapshotReplacing DSH Web, patching its DOM, or injecting global CSS

Architecture

flowchart LR
  U[Human in native DSH UI] -->|explicit selection| C[/rolehub Host command]
  U -->|same-origin GET| V[Allowlisted role snapshot]

  subgraph Bridge[RoleHub Bridge]
    C --> R[Resolver + private cache]
    H[HTTPS Hub catalog] --> R
    R --> D[Digest-locked deployment]
    D --> P[Effective Host policy]
    P --> A[DSHarness compatibility setup]
  end

  A --> S[Continuable child Session]
  S -. optional attach .-> M[Agent Team Room]
  X[Cold resume] -->|provider name contains bundle digest| D
  D -->|revalidate receipt + bindings| X

The executable capability set is intentionally narrower than a role request:

required role requests ∩ bridge support ∩ Host allowlist

Optional capabilities are never granted automatically. A missing required capability fails closed.

Native DSH UI

The package adds RoleHub actions to the official conversation.session.header.actions and sidebar.footer.action slots. Both open the same native Modal, where you can search Hubs, tags, descriptions, and capabilities; inspect the bundle digest and effective capability groups; then create a role Session. With Room v0.6 or newer installed, the bridge registers the same verified picker in Room's distinct header and footer provider seats, with the current Room preselected. The original header-seat key remains registered so existing provider integrations keep working.

<br> <sub>Concept preview with synthetic data—not a screenshot of a live account. The bundled client uses native DSH slots, primitives, and tokens.</sub>

Related plugins