dsh-llm-resilience: Completing DSH LLM Routing with Per-Target Retry, Streaming-Safe Fallback, and Persistent Circuit Breaking

dsh-llm-resilience (@magic6/dsh-llm-resilience), maintained by T-splines, registers a synthetic route (fallback/auto) for DeepSeek Harness. It implements independent retries across an ordered provider/model chain, error-classification-driven fallback, a safety buffer for streaming tool calls, and whole-step replay in coordination with dsh-llm-retry. Persistent circuit-breaking is accounted per provider+model pair, governed by global time and attempt caps. Ideal for gateway intermittent failures or multi-upstream failover scenarios. Requires DSH 0.2.2-rc.x and Node 20+; install via `dsh plugin --profile web add`.

Read More