mubaid/dsh-opencode-freeaccess

dsh-opencode-freeaccess is a one-purpose adapter plugin that lets OpenCode's free-tier models run inside DSH: OpenCode serves its free tier only to requests carrying a session id, and this plugin derives a stable per-conversation id and forwards it on the wire so a DSH provider pointed at opencode.ai stops returning 403 FreeTierError without a proxy or a paid key.

dsh-opencode-freeaccess lets OpenCode's free-tier models run inside DeepSeek Harness without a proxy, a paid key or extra config. When a DSH provider points at opencode.ai and picks a free model, the request fails with 403 FreeTierError: OpenCode's free tier can only be used from within OpenCode - OpenCode serves its free tier only to requests carrying a session id, and the dsh adapter never put one on the wire. This one-purpose plugin puts a stable, per-conversation session id on the request, closing that gap at the only layer that can reach the wire, so the same provider, model and key then stream normally.

Models & Providers ★ 0
View on GitHub ↗

Install

dsh plugin --profile web add github:mubaid/dsh-opencode-freeaccess

Copied verbatim from the README's solution block. No npm package documented, so the GitHub form is shipped; the README also documents a local development form.

Compatibility

The fix is layered at the adapter - the only layer that can reach the wire - so DSH inherits the behaviour instead of rebuilding it: the plugin does not add a new provider block, a gateway or any per-request configuration. The injected session id is derived from the conversation's birth time and its uuid, so it survives a restart and is identical afterwards, and conversations running at the same time never share an id.

Details

Alternatives

1624318455/dsh-plugin-adapter · aa2246740/dsh-antigravity-oauth · AmmarByFar/dsh-trustedrouter

More plugins in Models & Providers

Browse more in Models & Providers

Guides for Models & Providers plugins