@deepseek-ai/dsh-command-goal 0.1.5-rc.2 → 0.1.6-alpha.1
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.i18n.yaml +1 -1
- package/README.zh.md +2 -2
- package/lib/index.js +3 -1
- package/package.json +13 -13
package/README.i18n.yaml
CHANGED
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
# after editing either side, bring the other along and re-record with:
|
|
4
4
|
# pnpm run verify-translation-pairing --write packages/goal/command-goal/README.md
|
|
5
5
|
README.md: 4027bcd18c53d6d495180d181cbd64a846fefd5c
|
|
6
|
-
README.zh.md:
|
|
6
|
+
README.zh.md: 6e28390764c1f877c9470d0a1f91ef140182f41c
|
package/README.zh.md
CHANGED
|
@@ -29,7 +29,7 @@ kind: "package-reference"
|
|
|
29
29
|
|
|
30
30
|
### 命令参考
|
|
31
31
|
|
|
32
|
-
每个子命令都针对调用 agent
|
|
32
|
+
每个子命令都针对调用 agent(智能体)的当前 goal 执行;没有 goal 时,裸 `/goal` 显示用法。
|
|
33
33
|
|
|
34
34
|
| 输入 | 结果 |
|
|
35
35
|
|---|---|
|
|
@@ -84,7 +84,7 @@ kind: "package-reference"
|
|
|
84
84
|
| 文件 | 职责 |
|
|
85
85
|
|---|---|
|
|
86
86
|
| [`src/index.ts`](src/index.ts) | 插件入口:命令语法、状态渲染、附件提交 |
|
|
87
|
-
| — |
|
|
87
|
+
| — | 不发布运行时不变式伴生入口;此命令适配器不拥有事件流或状态投影;已接受的变更由 goal 领域检查,命令分发行为由包测试覆盖。 |
|
|
88
88
|
|
|
89
89
|
</details>
|
|
90
90
|
|
package/lib/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CommandDefinitionId } from "@deepseek-ai/dsh-commands/brand";
|
|
1
2
|
import { GoalError } from "@deepseek-ai/dsh-goal";
|
|
2
3
|
import { createUserMessage } from "@deepseek-ai/dsh-llm";
|
|
3
4
|
//#region lib/types/index.js
|
|
@@ -172,8 +173,9 @@ function executeGoalCommand(ctx, invocation) {
|
|
|
172
173
|
/** Register the Codex-shaped `/goal` command for every composed command adapter. */
|
|
173
174
|
function apply(ctx) {
|
|
174
175
|
ctx.commands.register({
|
|
176
|
+
definitionId: CommandDefinitionId("@deepseek-ai/dsh-command-goal"),
|
|
175
177
|
name: "goal",
|
|
176
|
-
description: "
|
|
178
|
+
description: "Set or view the goal for a long-running task",
|
|
177
179
|
input: {
|
|
178
180
|
hint: "[<objective>|clear|edit <objective>|pause|resume]",
|
|
179
181
|
attachments: true
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-command-goal",
|
|
3
3
|
"description": "Human-facing slash command for persisted same-session goals",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.6-alpha.1",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -27,21 +27,21 @@
|
|
|
27
27
|
],
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@deepseek-ai/dsh-commands": "^0.1.
|
|
31
|
-
"@deepseek-ai/dsh-goal": "^0.1.
|
|
32
|
-
"@deepseek-ai/dsh-llm": "^0.1.
|
|
30
|
+
"@deepseek-ai/dsh-commands": "^0.1.6-alpha.1",
|
|
31
|
+
"@deepseek-ai/dsh-goal": "^0.1.6-alpha.1",
|
|
32
|
+
"@deepseek-ai/dsh-llm": "^0.1.6-alpha.1",
|
|
33
33
|
"@deepseek-ai/cordis": "^4.0.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@deepseek-ai/cordis-plugin-loader": "^1.0.3",
|
|
37
|
-
"@deepseek-ai/dsh-agent": "^0.1.
|
|
38
|
-
"@deepseek-ai/dsh-agent-loop": "^0.1.
|
|
39
|
-
"@deepseek-ai/dsh-agent-loop-testkit": "^0.1.
|
|
40
|
-
"@deepseek-ai/dsh-commands": "^0.1.
|
|
41
|
-
"@deepseek-ai/dsh-goal": "^0.1.
|
|
42
|
-
"@deepseek-ai/dsh-
|
|
43
|
-
"@deepseek-ai/dsh-
|
|
44
|
-
"@deepseek-ai/
|
|
45
|
-
"@deepseek-ai/
|
|
37
|
+
"@deepseek-ai/dsh-agent": "^0.1.6-alpha.1",
|
|
38
|
+
"@deepseek-ai/dsh-agent-loop": "^0.1.6-alpha.1",
|
|
39
|
+
"@deepseek-ai/dsh-agent-loop-testkit": "^0.1.6-alpha.1",
|
|
40
|
+
"@deepseek-ai/dsh-commands": "^0.1.6-alpha.1",
|
|
41
|
+
"@deepseek-ai/dsh-goal": "^0.1.6-alpha.1",
|
|
42
|
+
"@deepseek-ai/dsh-llm": "^0.1.6-alpha.1",
|
|
43
|
+
"@deepseek-ai/dsh-session": "^0.1.6-alpha.1",
|
|
44
|
+
"@deepseek-ai/dsh-session-projection": "^0.1.6-alpha.1",
|
|
45
|
+
"@deepseek-ai/cordis": "^4.0.2"
|
|
46
46
|
}
|
|
47
47
|
}
|