@shuind/dsh-codex-harness 0.1.37 → 0.1.38
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 +4 -3
- package/lib/index.js +2 -3
- package/lib/types/index.js +2 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
## 安装
|
|
22
22
|
|
|
23
23
|
```sh
|
|
24
|
-
dsh plugin --profile web add @shuind/dsh-codex-harness@0.1.
|
|
24
|
+
dsh plugin --profile web add @shuind/dsh-codex-harness@0.1.38
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
重启 Web,创建新会话,在模式菜单中选择 **Codex 模式**。
|
|
@@ -124,9 +124,10 @@ order: 10
|
|
|
124
124
|
开启后,Codex preset 会在系统提示词中注入以下协作要求:
|
|
125
125
|
|
|
126
126
|
```text
|
|
127
|
+
## Working principles
|
|
128
|
+
|
|
127
129
|
Ask, align, and clarify first. Gather enough context from the user, then align the approach to achieve the user's goal through the clearest, most effective path.
|
|
128
|
-
Keep only the essential logic and core actions. There's no need to explain or test what was removed or why something wasn't done.
|
|
129
|
-
Convey enough valuable information with as few words as possible. Stay focused on the end goal.
|
|
130
|
+
Keep only the essential logic and core actions. There's no need to explain or test what was removed or why something wasn't done, especially when writing documentation or communicating. Convey enough valuable information with as few words as possible.
|
|
130
131
|
Solve problems by thinking from first principles and at a higher level.
|
|
131
132
|
```
|
|
132
133
|
|
package/lib/index.js
CHANGED
|
@@ -1288,11 +1288,10 @@ const CODEX_BASE_PROMPT = String.raw`## General
|
|
|
1288
1288
|
- Do not dump large files into the conversation; refer to their paths.
|
|
1289
1289
|
- Use plain text with short sections only when they improve scanability.
|
|
1290
1290
|
`;
|
|
1291
|
-
const CODEX_COLLABORATION_PROMPT = String.raw`##
|
|
1291
|
+
const CODEX_COLLABORATION_PROMPT = String.raw`## Working principles
|
|
1292
1292
|
|
|
1293
1293
|
- Ask, align, and clarify first. Gather enough context from the user, then align the approach to achieve the user's goal through the clearest, most effective path.
|
|
1294
|
-
- Keep only the essential logic and core actions. There's no need to explain or test what was removed or why something wasn't done.
|
|
1295
|
-
- Convey enough valuable information with as few words as possible. Stay focused on the end goal.
|
|
1294
|
+
- Keep only the essential logic and core actions. There's no need to explain or test what was removed or why something wasn't done, especially when writing documentation or communicating. Convey enough valuable information with as few words as possible.
|
|
1296
1295
|
- Solve problems by thinking from first principles and at a higher level.
|
|
1297
1296
|
`;
|
|
1298
1297
|
/** Put the agent persona first and omit the generic Harness identity opener. */
|
package/lib/types/index.js
CHANGED
|
@@ -237,11 +237,10 @@ const CODEX_BASE_PROMPT = String.raw `## General
|
|
|
237
237
|
- Do not dump large files into the conversation; refer to their paths.
|
|
238
238
|
- Use plain text with short sections only when they improve scanability.
|
|
239
239
|
`;
|
|
240
|
-
const CODEX_COLLABORATION_PROMPT = String.raw `##
|
|
240
|
+
const CODEX_COLLABORATION_PROMPT = String.raw `## Working principles
|
|
241
241
|
|
|
242
242
|
- Ask, align, and clarify first. Gather enough context from the user, then align the approach to achieve the user's goal through the clearest, most effective path.
|
|
243
|
-
- Keep only the essential logic and core actions. There's no need to explain or test what was removed or why something wasn't done.
|
|
244
|
-
- Convey enough valuable information with as few words as possible. Stay focused on the end goal.
|
|
243
|
+
- Keep only the essential logic and core actions. There's no need to explain or test what was removed or why something wasn't done, especially when writing documentation or communicating. Convey enough valuable information with as few words as possible.
|
|
245
244
|
- Solve problems by thinking from first principles and at a higher level.
|
|
246
245
|
`;
|
|
247
246
|
/** Put the agent persona first and omit the generic Harness identity opener. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shuind/dsh-codex-harness",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.38",
|
|
4
4
|
"description": "A Codex harness with a streamlined system prompt for GPT models that do not fit DSH's native interface, while remaining compatible with the DSH plugin ecosystem.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|