Skills Plugins MCP Prompt Model 导航 博客 资讯 我的中心

dsh-anchored-gpt-patch

Anchored Standard preset with GPT Patch mode: task-aware first-request anchors using the bundled OpenAI Codex apply_patch instead of edit/write. Built for GPT/Codex models.

roc-20 @roc-20 ⬇ 1 ★ 0 main

安装

dsh plugin --profile web add github:roc-20/dsh-anchored-gpt-patch
下载安装清单

需要可复现安装时,可在仓库后追加 #commit 固定提交。

Anchored Standard preset with GPT Patch mode: task-aware first-request anchors using the bundled OpenAI Codex apply_patch instead of edit/write. Built for GPT/Codex models.

该插件未提供要点说明,请参考仓库 README。

  1. 安装并启动 DeepSeek Harness:npx @deepseek-ai/dsh web
  2. 在终端执行上面的安装命令(CLI 会解析插件并核验来源)
  3. 用 dsh plugins list 确认已安装,必要时重启 Harness 生效

插件以当前 dsh 进程的权限运行,安装时可能执行代码。请先通读仓库源码与许可证,确认无破坏性命令与越权访问;本站只做索引,不对第三方插件安全性作担保。

代码仓库github.com/roc-20/dsh-anchored-gpt-patch
许可证MIT
主要语言main
下载量1
GitHub 星标0
最近推送2026-09-07
收录日期2026-09-19
分类工具与能力

事实信息来自公开插件目录快照(2026-10-01),介绍文案由本站再加工。

以下为插件仓库 README 全文(原始内容,由公开目录抓取整理)。

# dsh-anchored-gpt-patch

**English** | [简体中文](README.zh-CN.md)

A DeepSeek Harness preset for GPT / Codex models, based on [`anchored-standard`](https://github.com/Jungod1121/dsh-anchored-standard). It replaces the `edit` / `write` tools with OpenAI Codex's `apply_patch`.

Everything else works like the original: the model starts with just `bash`, `read`, and `apply_patch`, and once it has made its first tool call the full tool list comes back — minus `edit` / `write`, so all file changes go through `apply_patch` (executed by the bundled `preset/bin/apply_patch` binary). Installing `dsh-apply-patch-ui` alongside is recommended; it renders patch calls as diff cards in the UI.

## Installation

```sh
dsh plugin --profile web add dsh-anchored-gpt-patch
dsh plugin --profile web add dsh-apply-patch-ui
```

Restart DeepSeek Harness after installation. The preset is copied to `$DSH_HOME/.agent-presets/anchored-gpt-patch/` (existing local modifications are not overwritten). When creating a new session, select **锚定标准模式(GPT Patch)** ("Anchored Standard (GPT Patch)" — preset names follow the Harness built-in presets, which are Chinese-only). To make it the default preset:

```yaml
# $DSH_HOME/settings.yaml
agent-presets:
  default: anchored-gpt-patch
```

## Verification

Export the session JSONL and inspect the `request/header` events: the first header should contain only `bash` / `read` / `apply_patch`; after the first `tool/call` the full tool catalog is restored, without `edit` / `write`.

## Limitations

- `preset/bin/` currently ships only the Windows `apply_patch.exe`; the plugin installs on macOS / Linux but tool calls will fail.
- The `apply_patch` binary comes from OpenAI Codex; see `preset/bin/LICENSE-OpenAI-Codex.txt` for its license.
- Harness is still in developer preview; check upstream breaking changes before upgrading.

## Uninstall

```sh
dsh plugin --profile web remove dsh-anchored-gpt-patch
rm -rf "${DSH_HOME:-$HOME/.dsh}/.agent-presets/anchored-gpt-patch"
```

## Compatibility

Forked from harness `0.1.1-rc.2` + `anchored-standard` `0.1.0-rc.6`; other versions are untested.

## License

MIT, see [LICENSE](./LICENSE). Forked from [`Jungod1121/dsh-anchored-standard`](https://github.com/Jungod1121/dsh-anchored-standard) (MIT, itself inspired by `xiaobright/dsh-anchored-standard`); third-party binary notices are in [NOTICE](./NOTICE). This is a community project, not affiliated with or endorsed by DeepSeek.

数据来源:公开的 DeepSeek Harness 插件目录与各插件 GitHub 仓库。本站为独立第三方目录,与 DeepSeek、幻方(High-Flyer)及插件作者均无隶属或背书关系。

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。