dsh-opencode-go-session: Injecting a Session-Stable x-opencode-session Header for OpenCode Inference Requests

OpenCode Console requires clients to carry a stable session ID in the `x-opencode-session` header for routing and prompt cache affinity. This DSH plugin listens on the `llm-pi-ai/request-headers` hook and writes the corresponding DSH session ID for each inference request into that header. By default, it applies only to `*.opencode.ai` routes, but can be configured to cover all pi-ai routes. Once enabled, no standalone UI is required; injection statistics can be viewed via the Host endpoint `/plugins/opencode-go-session/api/status`. Harness must support `llm-pi-ai/request-headers` (verified in the README at version 0.2.2-rc.3), and this plugin only covers the `dsh-llm-pi-ai` adapter path.

Read More