dsh-codex-harness
Manifest valid★ 7Compact Codex coding mode for DSH: light prompt guardrails against GPT over-explaining, with an editable prompt and native Codex-style tools.
@shuind/dsh-codex-harness
为 DSH 提供可自定义提示词与 Codex 工具的编码模式。
功能
- 使用精简codex提示词;对gpt过度拉屎做了少量提示词约束。
- 在 设置 → 插件 → 插件配置 → Codex Harness 中查看、编辑或恢复完整提示词。
- 提供
exec_command、write_stdin、apply_patch和update_plan。 - 支持 Fast 请求、GPT 图片与思考强度和上下文容量。
- 实时显示请求模型、模型回复和上下文压缩状态及耗时。
- Responses 请求优先使用原生
apply_patch、hostedweb_search和远程压缩,失败时回退到 DSH 实现。
安装
dsh plugin --profile web add @shuind/dsh-codex-harness@0.2.1
重启 Web,在 Agent 预设 中选择 Codex 模式,再创建会话。
配置
模型
在 DSH 的 Models 中配置支持 OpenAI Responses 的 provider、endpoint、API key 和 GPT 模型。例如:
api: openai-responses
baseURL: https://your-responses-endpoint.example.com
apiKeyEnv: OPENAI_API_KEY
也可以配合 dsh-codex-connect 使用 ChatGPT 订阅模型。
提示词
打开 设置 → 插件 → 插件配置 → Codex Harness。编辑器展示本插件实际注入的完整提示词;保存后从下一次请求开始生效,点击“恢复默认”可回到随包模板。
身份、模型、工作目录、工具说明和 DSH 运行时上下文由对应插件动态提供,不会写死在可编辑模板中。
Fast 与上下文
- Fast:在 Codex 模式的模型菜单中开启,向 Responses 请求发送
service_tier: "priority"。 - 上下文容量:点击输入栏旁的上下文用量指示器,可设置
1K–1000Ktokens;下一次请求和自动压缩使用该值。
License
MIT
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.1.26 | — | — |
| 0.1.27 | — | — |
| 0.1.28 | — | — |
| 0.1.29 | — | — |
| 0.1.30 | — | — |
| 0.1.31 | — | — |
| 0.1.32 | — | — |
| 0.1.33 | — | — |
| 0.1.34 | — | — |
| 0.1.35 | — | — |
| 0.1.36 | — | — |
| 0.1.37 | — | — |
| 0.1.38 | — | — |
| 0.1.39 | — | — |
| 0.1.40 | — | — |
| 0.2.0 | — | — |
| 0.2.1 | — | — |
| 0.2.2 | — | — |
| 0.2.3 | — | — |
| 0.2.4 | — | — |
Comments
Loading…
Similar plugins
by 782042369
DSH compatibility guard: repairs compaction limits, fail-safe sandbox escalation, and missing tool descriptions for third-party models; capability lookups are cached and the deprecated prompt-injection path is off by default.
★ 0
MIT
JavaScript
Sep 8, 2026
dsh plugin --profile web add dsh-model-compat-guardby xinxing1708
Codex-style dark interface for DSH on Windows, with navigation, project and conversation sidebars, and model and reasoning controls.
★ 6
↓ 1.3k/wk
MIT
JavaScript
Oct 25, 2026
dsh plugin --profile web add @xinxing1708/dsh-codex-styleby Aa728848
DSH provider plugin for Codex access through a ChatGPT subscription.
★ 83
↓ 4.5k/wk
MIT
TypeScript
Oct 28, 2026
dsh plugin --profile web add @eddyskywalker/dsh-chatgpt-subscriptionby AnakinCao
DSH web plugin (dsh-better-sidebar companion): code file preview with per-language syntax highlighting, symbol outline navigation (class / method / variable) and in-file search
★ 2
MIT
JavaScript
Aug 26, 2026
dsh plugin --profile web add dsh-code-navby g-yixuan
Codex-style side chat + selection annotations for DSH web.
★ 27
↓ 2.4k/wk
MIT
TypeScript
Oct 28, 2026
dsh plugin --profile web add dsh-sidenoteby gulagala001
Codex, Grok Build, Cursor, Pi, and ZCode presets on DSH models, with native sessions and optional OMD enhancements.
★ 4
Apache-2.0
TypeScript
Oct 25, 2026
dsh plugin --profile web add oh-my-agents-above-all