evan7ang/dsh-agent-hints

dsh-agent-hints attaches a per-request serving-intent hint to every main-line model request: it registers an independent provider route backed by its own chat-completions adapter that emits a structured AgentHint as a base64url JSON X-Agent-Hint HTTP header (session identity, call index, compaction epoch) derived from the session's durable event log, while the official route stays mounted as the fallback.

dsh-agent-hints attaches a per-request serving-intent hint to every main-line model request in DeepSeek Harness. It registers an independent provider route (deepseek-hint) backed by its own chat-completions adapter that emits a structured AgentHint on the X-Agent-Hint HTTP header as UTF-8 JSON, base64url-encoded, carrying session identity, agent type, call index and compaction epoch along with lineage for spawned or forked sessions. The hint is derived per request from the session's durable event log rather than injected statically, the request body stays in the provider's original format without hint fields, and to an endpoint that does not understand the header it is a harmless unknown header. Auxiliary calls and requests without a session identity carry no hint.

Models & Providers ★ 0
View on GitHub ↗

Install

dsh plugin add github:evan7ang/dsh-agent-hints

Copied verbatim from the README's install block, which uses the github: form; the README notes an npm package is planned but not yet published, and documents a commit-pinned form for reproducibility.

Compatibility

Registers an independent provider route backed by its own chat-completions adapter; the official deepseek-official route stays mounted and remains the fallback. Deployment switches via agent-default-model.provider. English README with a 中文 translation.

Details

Alternatives

aa2246740/dsh-antigravity-oauth · AmmarByFar/dsh-trustedrouter · BruceLanLan/dsh-tier-router

More plugins in Models & Providers

Browse more in Models & Providers

Guides for Models & Providers plugins