dsh-plugins/dsh-user-agent ↗★ 0
@dsh-plugin/dsh-user-agent
DSH 插件:将所有外发 HTTP 请求(LLM API 及其他流量)的 User-Agent 重写为自定义值
AI 分析
在网页设置中提供专用的 UA 设置页,支持自定义外发请求的 User-Agent。适合需要绕过特定 UA 限制或进行请求审计的用户。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:dsh-plugins/dsh-user-agent說明文件
閱讀完整 README ↗Configuration
Plugin entry (cordis.patch.yml / profile override) — the values act as the composition base layer and are merged with the user-settings section:
| Field | Type | Default | Meaning |
|---|---|---|---|
enabled | boolean | true | Master switch; when off the wrapper is a pass-through. |
userAgent | string | DeepSeek-Harness/0.1 (+https://github.com/deepseek-ai/dsh) | The User-Agent applied to every rewritten request. |