DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-agent-features

d

dsh-agent-features

Identified

Codex-style agent features and configuration for DeepSeek Harness

DSH Agent Features

为 DeepSeek Harness 提供接近 Codex 的 Agent 功能与配置,包含三个可独立启停的组件。

安装

DSH 插件市场

在 DSH 的插件市场设置中添加以下自定义索引:

https://raw.githubusercontent.com/que2333/dsh-agent-features/main/plugin-market.json

如果当前网络无法访问 raw.githubusercontent.com,可改用 jsDelivr 镜像:

https://cdn.jsdelivr.net/gh/que2333/dsh-agent-features@main/plugin-market.json

然后在“发现”中搜索 Agent功能与配置 并安装。安装后插件页只显示三个组件, 可分别启停。

Git 安装

仓库根目录本身就是可直接安装的 DSH bundle:

https://github.com/que2333/dsh-agent-features

不需要填写 &path: 子目录。市场索引会自动使用与发布版本对应的固定 commit,避免分支 更新造成版本漂移。三个组件作为根包的 bundleDependencies 随同一次 Git 安装分发; 不需要手动安装 Git 子目录、GitHub Release 资产或 npm 包。

功能

  • 推理摘要与输出:对 Responses 协议设置原生 reasoning.summary 和 text.verbosity,不追加提示词,也不额外请求主模型。插件启用时会把兼容的 OpenAI Chat Completions Provider 切换为 Responses。
  • 已归档的聊天:在设置中查看已归档会话,支持取消归档、永久删除和全部删除。
  • 编辑消息:编辑用户历史消息,在保留原附件的情况下回退同一会话并重新发送。

包结构

包作用
@que2333/dsh-agent-features根目录安装入口与 Bundle 清单
@que2333/dsh-agent-configResponses 推理摘要与输出详细程度
@que2333/dsh-session-delete已归档会话管理
@que2333/dsh-edit-message用户消息编辑与重发

根包的 cordis.patch.yml 只挂载三个完整组件包。它们随根包一起分发,并可由 DSH 的 Profile 依赖递归解析,因此宿主与客户端扫描器都能读取其 dsh.client。根包自身没有 客户端入口,不会在插件页额外显示“Agent功能与配置”组件。

agent-features-config 子目录只保留给旧版固定 commit 安装兼容,不再作为仓库的 workspace 包,也不是新的安装入口。

兼容性

  • 推理摘要与输出详细程度仅对 Responses 协议生效。
  • Chat Completions、Anthropic 等协议不会收到 reasoning.summary 或 text.verbosity。
  • 插件不会为了生成摘要额外调用主模型。

开发

需要 Node.js 22+ 和 pnpm 10+。

pnpm install
pnpm sync-bundle
pnpm test

也可以在仓库根目录分别检查各包:

node --check agent-config/index.js
node --check agent-config/client.js
node --check index.js
node --check edit-message/index.js
node --check edit-message/client.js
node --check session-delete/index.js
node --check session-delete/client.js

目录说明

该仓库既可作为 DSH 本地开发插件的源码目录,也可通过自定义市场安装。通过 link: 安装时,源码修改会直接生效;通过 Git 安装后,由 DSH 和 pnpm 锁定版本。

Comments

Loading…