- 홈
- 플러그인
- 개발 및 플러그인 도구
- dsh-anchored-gpt-patch
dsh-anchored-gpt-patch
roc-20/dsh-anchored-gpt-patch
GPT Patch 모드가 있는 Anchored Standard 프리셋입니다. 기본 제공 OpenAI Codex `apply_patch`를 `edit`/`write` 대신 사용해 작업에 맞는 첫 요청 앵커를 설정합니다. GPT/Codex 모델용입니다.
설치
dsh plugin --profile web add github:roc-20/dsh-anchored-gpt-patchREADME
dsh-anchored-gpt-patch
English | 简体中文
A DeepSeek Harness preset for GPT / Codex models, based on 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
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:
# $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 Windowsapply_patch.exe; the plugin installs on macOS / Linux but tool calls will fail.- The
apply_patchbinary comes from OpenAI Codex; seepreset/bin/LICENSE-OpenAI-Codex.txtfor its license. - Harness is still in developer preview; check upstream breaking changes before upgrading.
Uninstall
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. Forked from Jungod1121/dsh-anchored-standard (MIT, itself inspired by xiaobright/dsh-anchored-standard); third-party binary notices are in NOTICE. This is a community project, not affiliated with or endorsed by DeepSeek.