Back to directory

dsh-opencode-session-id

Curated pickMaintenance: Active

gausszhou/dsh-opencode-session-id

dsh session IDs for opencode, zero config.

View on GitHub
$ dsh plugin --profile web add "@gausszhou/dsh-opencode-session-id"

19

stars

3

forks

JavaScript

Language

MIT

License

2026-08-22

Created

2026-09-14

Last push

Use it with opencode and opencode-go models when their gateway requests need DSH session headers.

DSH integration

Native runtime

Author-claimed

Safety audit

Unaudited

Last verified

2026-09-29

License

MIT

01What can it help you accomplish?

  • Carry DSH session identity on requests sent to the opencode.ai gateway.

    Matching requests receive x-opencode-session plus session-affinity and request-id headers.

    DSH users running opencode or opencode-go models through the opencode gateway.

02How to install into DeepSeek Harness

Installation steps

  1. 01

    $ dsh plugin --profile web add "@gausszhou/dsh-opencode-session-id"

Verify the integration

  • Restart dsh web so the bundle takes effect.
  • journalctl --user -u dsh-web -f | grep opencode-session-id

03DSH integration and capability boundaries

DSH integrationNative runtime

A DSH llm/stream plugin that wraps fetch for matching opencode gateway requests.

  • Opencode session-header injection

    Matching opencode gateway fetch requests with a DSH session context.→Session-related request headers, using a deterministic alphanumeric nanoid(8) token by default.

    Only matching request headers are appended.

04Who is it for? When not to use it?

Good for

  • DSH users running opencode or opencode-go models through the opencode gateway.

Not for

  • Only protocols that use fetch are covered; WebSocket transport is out of scope.

05Compatibility, maintenance and safety notes

  • Only protocols that use fetch are covered; WebSocket transport is out of scope.
2026-08-222026-09-14Not specified by the author

MIT; README-sourced author claims.

06Frequently asked questions

Which requests are changed?

Only matching opencode endpoint requests receive additional session headers; body, URL, method, and other request parts remain unchanged.

Do I need configuration?

No. The documented default configuration works after installation and restarting dsh web.

Does it support WebSocket transport?

No. The README limits its scope to protocols that pass through fetch.

08Data and sources

  • Author-claimedgithub.comec4b9ca952e3…

    it makes the **actual outgoing HTTP requests carry a session id** — the same way the opencode client itself does.

This page is generated from the project’s public documentation, repository metadata and a structured parse of DSH Plugins; last verified on 2026-09-29. Found an error? Submit a correction.

🏆

Best DeepSeek Harness Plugins

Twelve plugins worth installing first — picked from the whole catalog, across every category.

DSH Plugins is an independent community directory of DeepSeek Harness plugins. Not affiliated with or endorsed by DeepSeek. Third-party plugins are not security-audited — review the source before installing.

New DeepSeek Harness plugins, weekly. No spam.