AI Agent Hub
Back to plugins
🖥️

dsh-router-traework

Client Updated 2026.09.04

Run the following command in DeepSeek Harness:

dsh plugin install CARVIN94/dsh-router-traework

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install CARVIN94/dsh-router-traework in your terminal to install this plugin; the source is at https://github.com/CARVIN94/dsh-router-traework. Restart dsh web after installation to activate the supplier registration.

About this plugin

dsh-router already provides the panel, account pool, and fallback orchestration, but which upstream channels it can actually talk to depends on supplier plugins. dsh-router-traework plugs TRAE SOLO (traework) into that framework, giving you a zero-cost LLM chat lane. It does not stand alone; it registers a supplier factory with the core, and all scheduling, cooldown, and fallback logic stays in dsh-router's AccountPool.

The plugin focuses on three things. First, it handles the upstream SOLO protocol end-to-end: login, token refresh, and SSE stream conversion so a single chatOnce call completes correctly. Second, it implements precise sign-in verdict logic. Every upstream endpoint returns HTTP 200 regardless of outcome; real status is buried in the body code field (0 for success, 9095 for already checked in, 9074 for a stable account-level rejection, 1001 for a dead session). The plugin maps these to semantic statuses (rate_limit, quota, session_dead, unavailable, transport, unknown) rather than blindly retrying, avoiding false positives and wasted等待. Third, it computes remaining credits accurately by subtracting consumed amounts from limits across active entitlement packs and skipping packs that expire 31 days after issuance, so the panel number reflects true available quota.

If you already run dsh-router to manage multiple LLM accounts and want to fold TRAE's daily free sign-in credits into that same orchestration, this plugin is built for that. Add an account, set a credit threshold, and let the core handle selection, cooldown, and fallback for you.

Use Cases

  • Fold TRAE daily free sign-in credits into dsh-router unified account pool orchestration
  • Use semantic status codes (rate_limit / session_dead / quota) for precise fault detection and automatic fallback
  • Seamlessly switch between multiple LLM upstream channels, extending usable time with free sign-in credits

Best For

  • Developers already running dsh-router with multiple accounts who want to add a free channel
  • Heavy LLM users who want to quantify and centrally monitor TRAE SOLO daily credits
  • Self-hosted dsh-router operators who need combined fallback strategies across providers