dsh plugins中文
← Back to popular plugin directory

Claude Code / Codex client

ymh0000123/dsh-client-masquerade · skills

DeepSeek Harness plug-in: Let the custom llm-pi-ai provider disguise itself as Claude Code / Codex client (forge client identity request header).

★ 4GitHub stars
0Forks
2026-08-16Last updated
JavaScriptLanguage
MITLicense

Project overview

dsh-client-masquerade DeepSeek Harness 插件:让自定义模型伪装成 Claude Code / Codex 客户端 A DeepSeek Harness plugin: make a custom model masquerade as a Claude Code / Codex client.

1. 创建动态插件(cordisdefine),或直接在运行界面粘贴代码; 2. code.host ← 粘贴 host.body.js 全文(exports["./host.body"] 可编程读取); 3. code.client ← 粘贴 client.body.js 全文; 4. 运行插件并批准。

前提:先在 Settings → Models 配置好你的自定义 provider(llm-pi-ai 路由),插件才能列出并写入。 它能做什么 / What it does 为任意已配置的 llm-pi-ai provider 一键应用/清除/切换伪装:Claude Code、Codex、或自定义请求头。 伪装头写入 provider 配置的 headers 字段(settings.yaml 中 llm-pi-ai.providers..headers),由 pi-ai 适配器在每次请求(Anthropic Messages 与 OpenAI 兼容协议均覆盖)原样发送。 三个入口:设置页(Settings → Client Masquerade)、模型工具 maskclient(list / on / off / test)、动态模式下另有 Run 卡片面板。 界面中英双语,跟随 Harness 语言设置实时切换。 test 动作会真实发起一次最小流式调用,报告网关实际收到的请求头与模型回复/报错。 工作原理 / How it works

Install command

dsh plugin --profile web add github:ymh0000123/dsh-client-masquerade
View GitHub repository ↗Back to popular plugin directory