dsh-asuta-codex-review 0.1.0 → 0.1.3
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/CHANGELOG.md +5 -0
- package/lib/runtime.js +3 -5
- package/locale/en.json +1 -1
- package/locale/zh.json +1 -1
- package/package.json +11 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.1
|
|
4
|
+
|
|
5
|
+
- Adapt native review activation to DSH 0.2.2-rc.2: pass parent, prompt, working directory and model options at the top level.
|
|
6
|
+
- Limit the host requirement to the verified rc.2 runtime.
|
|
7
|
+
|
|
3
8
|
## Unreleased
|
|
4
9
|
|
|
5
10
|
- Open scope selection directly from an empty /review command; send only after selection, and send nothing on cancellation. Resolve branch/commit choices using the current working directory.
|
package/lib/runtime.js
CHANGED
|
@@ -59,11 +59,9 @@ export async function runReview(ctx, parent, target, signal, options = {}) {
|
|
|
59
59
|
try {
|
|
60
60
|
activation = await ctx.subagents.startActivation({
|
|
61
61
|
provider: 'spawn', childId, label: '代码审查', delivery: 'caller', signal,
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
...(options.model ? { agentOptions: { model: options.model } } : {}),
|
|
66
|
-
},
|
|
62
|
+
parent, cwd,
|
|
63
|
+
prompt: [{ type: 'text', text: prompt }],
|
|
64
|
+
...(options.model ? { agentOptions: { model: options.model } } : {}),
|
|
67
65
|
})
|
|
68
66
|
} finally { stop() }
|
|
69
67
|
const result = await awaitResult(activation, signal)
|
package/locale/en.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"meta": {
|
|
3
3
|
"title": "Code Review",
|
|
4
|
-
"description": "Run an independent Codex-style
|
|
4
|
+
"description": "Run /review in DSH with scope selection and an independent agent producing Codex-style findings with priorities and file locations."
|
|
5
5
|
}
|
|
6
6
|
}
|
package/locale/zh.json
CHANGED
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-asuta-codex-review",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"description": "Codex-style
|
|
5
|
+
"description": "Run /review in DSH with scope selection and an independent agent producing Codex-style findings with priorities and file locations. · 在 DSH 中用 /review 选择审查范围,由独立子代理输出带优先级和文件行号的 Codex 风格报告。",
|
|
6
6
|
"main": "./lib/index.js",
|
|
7
7
|
"icon": "./icon.svg",
|
|
8
8
|
"exports": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
],
|
|
31
31
|
"engines": {
|
|
32
32
|
"node": "^22.19.0 || >=24",
|
|
33
|
-
"dsh": "0.2.2-rc.
|
|
33
|
+
"dsh": "0.2.2-rc.2"
|
|
34
34
|
},
|
|
35
35
|
"dsh": {
|
|
36
36
|
"bundle": {
|
|
@@ -50,8 +50,15 @@
|
|
|
50
50
|
"url": "https://github.com/Asuta/dsh-cdx-plus/issues"
|
|
51
51
|
},
|
|
52
52
|
"keywords": [
|
|
53
|
+
"dsh",
|
|
53
54
|
"dsh-plugin",
|
|
54
|
-
"deepseek-harness"
|
|
55
|
+
"deepseek-harness",
|
|
56
|
+
"cdx-plus",
|
|
57
|
+
"codex",
|
|
58
|
+
"codex-inspired",
|
|
59
|
+
"code-review",
|
|
60
|
+
"git-diff",
|
|
61
|
+
"subagent"
|
|
55
62
|
],
|
|
56
63
|
"license": "Apache-2.0"
|
|
57
64
|
}
|