D
dsh-web-search-codex
v0.1.1 · 0 天前发布
Codex web search provider for DeepSeek Harness (DSH)
README
dsh-web-search-codex
为 DeepSeek Harness 提供 Codex Web Search 能力。
插件会注册 codex 搜索提供方,并将搜索请求发送到配置好的 /alpha/search 兼容接口。
快速开始
1. 安装插件:
powershell
dsh plugin --profile web add dsh-web-search-codex@latest --registry=https://registry.npmjs.org/
2. 启动 DeepSeek Harness:
powershell
dsh --profile web --port 3080
3. 打开“设置 -> 插件 -> 插件配置 -> Codex 搜索提供方”,选择一种配置方式:
- 复用 OpenAI:在 API Key 来源中选择“OpenAI”,并检查自动生成的接口地址。
- 使用独立 Key:在 API Key 来源中选择“独立 Key”,填写完整的 /alpha/search 接口地址和 API Key。
确认配置后,点击“保存”。
安装插件后,Web Runtime 会使用 codex 作为搜索提供方, 默认网页搜索将失效 。
配置方式
复用 OpenAI 配置
如果模型设置中已经配置 OpenAI 提供方,选择“OpenAI”后,插件会根据其 baseURL 生成 /alpha/search 接口地址,并使用已有的 API Key。密钥不会被复制。
模型留空时,搜索会跟随当前会话模型。保存前请确认生成的接口地址可用。
使用独立 Key
选择“独立 Key”,填写完整的 `
版本兼容矩阵
| DSH 版本 | 状态 | 说明 |
|---|---|---|
dsh@0.1.0-rc.6 | ✅ 兼容 | cordis patch ✅ |
dsh@0.1.0 | ✅ 兼容 | 标准 patch ✅ |
dsh@0.2.0 | ⚠️ 待验证 | 待实测(API 可能在变) |
dsh@0.3.0+ | ❓ 未知 | 尚未发布 |
💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正
元数据
- License
- MIT
- npm
- dsh-web-search-codex
- Repo
- git+https://github.com/Cora093/dsh-web-search-codex.git
- Engines
{"node":">=22.19"}- Weekly DL
- 0
- Monthly DL
- 0
- dsh.bundle
{"bundle":{"patch":"./dsh.bundle.patch"},"client":{"inject":["@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-ui-slots","@deepseek-ai/dsh-client-ui-settings-plugins"],"platform":"web"}}