hezi2020/dsh-plugin-wiki--plugins-BlockRunAI-dsh-clawrouter ↗★ 0
dsh-clawrouter
基于 BlockRun 路由的 DSH 智能体辅助决策与多模型钱包插件,免账号和 API 密钥。
AI 分析
核心用途是在高风险工具调用前进行强模型审查,并支持单钱包免账号使用 70 种模型。适合注重工具调用安全、需要多模型切换且不想管理多 API 密钥的用户。必要条件是需配置 EVM 钱包密钥。
安裝
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:hezi2020/dsh-plugin-wiki#0f911a1b7aef331b19607a60c884be50e910c0ab&path:plugins/BlockRunAI-dsh-clawrouter說明文件
閱讀完整 README ↗Configuration
blockrun-llm — the provider route:
| Key | Default | Meaning |
|---|---|---|
provider | blockrun | harness route key to register |
walletKeyEnv | BASE_CHAIN_WALLET_KEY | credential reference holding the EVM wallet key |
apiUrl | https://blockrun.ai/api | API root |
timeoutMs | 300000 | per-request timeout |
auxiliaryModel | (off) | model for the harness's own maintenance calls — see below |
requestFeeUsd | 0.002 | flat per-request fee, used by /spend — the quoted figure, see below |
Cutting compaction cost
The harness compacts long sessions by summarizing them — and it does that on whatever model the conversation is using. On a flagship model that means paying flagship input rates to summarize, repeatedly, for the whole session.
A ~100K-token compaction runs about $0.50 on Claude Opus 5 and about $0.014 on DeepSeek V4 Flash. Summarizing is a job a cheap model does well, and those calls share no prefix with your conversation — so moving them forfeits no prompt-cache hit:
- id: blockrun-llm
config:
auxiliaryModel: deepseek/deepseek-chat
Off by default, and it only ever affects calls the harness itself marks as maintenance (compaction, session titles). A conversation request is never redirected.
blockrun-review — the gate:
| Key | Default | Meaning |
|---|---|---|
enabled | false | whether the automatic gate intercepts tool calls |
reviewerProvider | blockrun | provider route carrying the reviewer |
reviewerModel | anthropic/claude-opus-5 | use a different, stronger model than the agent |
timeoutMs | 30000 | how long one review may take |
onReviewerFailure | ask | ask escalates to you; deny blocks (unattended runs) |
extraRules | [] | additional {name, pattern, tools} risk rules |
Mounting the route does not change your default model. dsh-base keeps deepseek-official; this route is used only where you ask for it.