@shuind/dsh-codex-harness 0.2.14 → 0.2.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -14,11 +14,25 @@
14
14
  ## 安装
15
15
 
16
16
  ```sh
17
- dsh plugin --profile web add @shuind/dsh-codex-harness@0.2.1
17
+ dsh plugin --profile web add @shuind/dsh-codex-harness@latest
18
18
  ```
19
19
 
20
20
  重启 Web,在 **Agent 预设** 中选择 **Codex 模式**,再创建会话。
21
21
 
22
+ ### 宿主版本
23
+
24
+ Codex 模式使用 `@deepseek-ai/dsh-persona` 的 `prefix` 配置。宿主必须提供
25
+ `@deepseek-ai/dsh-persona >=0.1.3-alpha.2`;当前的 DSH `0.1.5-rc.2` 满足此要求。
26
+ 更早的 persona 版本只接受 `text`,会在加载预设时报告缺少 `prefix`。
27
+
28
+ ### 已有自定义预设
29
+
30
+ 插件会自动更新未修改过且带有本插件管理标记的旧预设。包含用户修改的预设会保留,
31
+ 需要手动迁移:先备份 `$DSH_HOME/.agent-presets/codex-collaboration`,再打开其中的
32
+ `agent.cordis.yml`,将 `@deepseek-ai/dsh-persona` 配置下的 `text:` 改为 `prefix:`,
33
+ 保留后面的提示词内容,然后重启 DSH 并重新选择 Codex 模式。若预设没有该管理标记,
34
+ 也应按同样步骤迁移;不要覆盖已有的自定义提示词。
35
+
22
36
  ## 配置
23
37
 
24
38
  ### 模型
@@ -86,7 +86,6 @@ declare module '@deepseek-ai/dsh-client-ui-slots' {
86
86
  'conversation.input.overlay': {
87
87
  kind: 'list';
88
88
  scope: 'session';
89
- owner: Record<never, never>;
90
89
  };
91
90
  'settings.plugin.item': {
92
91
  kind: 'keyed';
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@shuind/dsh-codex-harness",
3
- "version": "0.2.14",
3
+ "version": "0.2.15",
4
+ "packageManager": "pnpm@9.15.9",
4
5
  "description": "Codex coding preset with customizable prompts and tools for DSH.",
5
6
  "type": "module",
6
7
  "main": "lib/index.js",
@@ -108,6 +109,7 @@
108
109
  "@deepseek-ai/dsh-invariants": ">=0.0.1-rc.1",
109
110
  "@deepseek-ai/dsh-jobs": ">=0.1.0-rc.8",
110
111
  "@deepseek-ai/dsh-llm": ">=0.1.0-rc.8",
112
+ "@deepseek-ai/dsh-persona": ">=0.1.3-alpha.2",
111
113
  "@deepseek-ai/dsh-settings": ">=0.1.0-rc.8",
112
114
  "@deepseek-ai/dsh-sandbox": ">=0.0.1-rc.1",
113
115
  "@deepseek-ai/dsh-sandbox-policy": ">=0.0.1-rc.1",
@@ -177,6 +179,9 @@
177
179
  "@deepseek-ai/dsh-llm": {
178
180
  "optional": true
179
181
  },
182
+ "@deepseek-ai/dsh-persona": {
183
+ "optional": true
184
+ },
180
185
  "@deepseek-ai/dsh-settings": {
181
186
  "optional": true
182
187
  },
@@ -229,6 +234,7 @@
229
234
  "@deepseek-ai/dsh-client-ui-slots": "0.1.0-rc.8",
230
235
  "@deepseek-ai/dsh-compaction": "0.1.1-rc.2",
231
236
  "@deepseek-ai/dsh-compaction-basic": "0.1.1-rc.2",
237
+ "@deepseek-ai/dsh-compaction-tool-result-pruner": "0.1.1-rc.2",
232
238
  "@deepseek-ai/dsh-credentials": "0.1.0-rc.8",
233
239
  "@deepseek-ai/dsh-fs": "0.1.0-rc.6",
234
240
  "@deepseek-ai/dsh-invariants": "0.1.0-rc.6",
@@ -5,7 +5,7 @@
5
5
  name: '@deepseek-ai/dsh-persona'
6
6
  config:
7
7
  # Keep identity, model, cwd, and runtime context in one persona section.
8
- text: >-
8
+ prefix: >-
9
9
  You are Codex, a coding agent based on the {{model}} model. Your working directory is {{cwd}}.
10
10
  includeRuntimeContext: true
11
11