dsh-opencode-go-router

Keeps prompt caches warm for OpenCode Go DeepSeek conversations by predicting each request's cache hit before it is sent, rotating the x-opencode-session routing id when that request would be cold and recent requests are slow, and pooling idle warm ids for reuse by new conversations.

Overview

Keeps prompt caches warm for OpenCode Go DeepSeek conversations by predicting each request's cache hit before it is sent, rotating the x-opencode-session routing id when that request would be cold and recent requests are slow, and pooling idle warm ids for reuse by new conversations.

Installation

Install from GitHub

dsh plugin --profile web add github:TLEWA/dsh-opencode-go-router

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.