@devflow-tools/cli 0.18.29 → 0.18.30
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/dist/plugin-files/.claude-plugin/plugin.json +1 -1
- package/dist/plugin-files/dist/command-registry.json +7 -7
- package/dist/plugin-files/dist/hooks/hook-daemon.js +25 -25
- package/dist/plugin-files/package.json +13 -13
- package/dist/plugin-files/skills/delivery/SKILL.md +3 -0
- package/package.json +28 -28
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devflow-tools/claude-code-plugin",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.30",
|
|
4
4
|
"description": "Claude Code hooks and skills for the DevFlow development intelligence runtime.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -12,20 +12,20 @@
|
|
|
12
12
|
"verify:runtime-dependencies": "node --import tsx scripts/verify-runtime-dependencies.ts"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@devflow-tools/benchmark": "0.18.
|
|
16
|
-
"@devflow-tools/context-engine": "0.18.
|
|
17
|
-
"@devflow-tools/database": "0.18.
|
|
18
|
-
"@devflow-tools/mcp-server": "0.18.
|
|
19
|
-
"@devflow-tools/memory-engine": "0.18.
|
|
20
|
-
"@devflow-tools/sdk": "0.18.
|
|
21
|
-
"@devflow-tools/semantic-engine": "0.18.
|
|
22
|
-
"@devflow-tools/server": "0.18.
|
|
23
|
-
"@devflow-tools/task-runtime": "0.18.
|
|
24
|
-
"@devflow-tools/telemetry": "0.18.
|
|
25
|
-
"@devflow-tools/workflow-engine": "0.18.
|
|
15
|
+
"@devflow-tools/benchmark": "0.18.30",
|
|
16
|
+
"@devflow-tools/context-engine": "0.18.30",
|
|
17
|
+
"@devflow-tools/database": "0.18.30",
|
|
18
|
+
"@devflow-tools/mcp-server": "0.18.30",
|
|
19
|
+
"@devflow-tools/memory-engine": "0.18.30",
|
|
20
|
+
"@devflow-tools/sdk": "0.18.30",
|
|
21
|
+
"@devflow-tools/semantic-engine": "0.18.30",
|
|
22
|
+
"@devflow-tools/server": "0.18.30",
|
|
23
|
+
"@devflow-tools/task-runtime": "0.18.30",
|
|
24
|
+
"@devflow-tools/telemetry": "0.18.30",
|
|
25
|
+
"@devflow-tools/workflow-engine": "0.18.30"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@devflow-tools/devflow": "0.18.
|
|
28
|
+
"@devflow-tools/devflow": "0.18.30"
|
|
29
29
|
},
|
|
30
30
|
"allowScripts": {
|
|
31
31
|
"better-sqlite3@12.11.1": true,
|
|
@@ -39,6 +39,9 @@ description: 通过可审计 Delivery Line 将需求推进到验证完成的 int
|
|
|
39
39
|
- `delivery_advance` 仅允许在 `plan_approved` 阶段使用;其他阶段返回失败时必须按
|
|
40
40
|
`nextActions` 恢复,不得把无推进当作成功。
|
|
41
41
|
- 澄清与设计交互使用当前 turn;后续写操作携带案件当前 context receipt。
|
|
42
|
+
- `delivery_answer` 的用户决定必须来自可信用户通道。`AskUserQuestion` 返回的是模型工具结果,不是可信的 `UserPromptSubmit` 事件;收到 `USER_DECISION_REQUIRES_TRUSTED_CHANNEL` 时不得改 actor、session、turn、context receipt 或幂等键重试。
|
|
43
|
+
- 需要回答 pending clarification 时,向真实用户展示当前 `delivery_status` 的 decision id 和选项,并要求用户在同一 Claude 会话提交规范命令:`/devflow:decide <decisionId> <optionId>`,或自由回答使用 `/devflow:decide <decisionId> -- <answer>`。host hook 会签名该 `UserPromptSubmit` 并消费 pending decision;命令处理成功后必须重新调用 `delivery_status`,以返回的 `currentTurn` 和 `nextActions` 继续。
|
|
44
|
+
- `/devflow:approve`、`/devflow:reject`、`/devflow:revise`、`/devflow:cancel` 和 `/devflow:exit` 目前仍走对应的 gated Delivery 操作;不要把它们当作澄清答案,也不要通过普通 MCP mutation 模拟可信用户事件。
|
|
42
45
|
- 只有用户明确同意时才能调用 `mcp__plugin_devflow_devflow__delivery_approve`;不得代替用户批准。
|
|
43
46
|
- 审批返回后不要结束会话:立即读取同一次返回的 `stage` 和 `nextActions`,按其允许的下一步继续推进;只有 `nextActions` 为空或用户明确暂停时才结束。
|
|
44
47
|
- `mcp__plugin_devflow_devflow__delivery_advance` 用于推进已满足的状态,`mcp__plugin_devflow_devflow__delivery_resume` 只恢复已经具备运行条件的 gate 或 task。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devflow-tools/cli",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.30",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"devflow": "./bin/devflow.cjs"
|
|
@@ -14,38 +14,38 @@
|
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@colbymchenry/codegraph": "^1.1.1",
|
|
17
|
-
"@devflow-tools/adapters": "0.18.
|
|
18
|
-
"@devflow-tools/benchmark": "0.18.
|
|
19
|
-
"@devflow-tools/context-engine": "0.18.
|
|
20
|
-
"@devflow-tools/database": "0.18.
|
|
21
|
-
"@devflow-tools/delivery-line": "0.18.
|
|
22
|
-
"@devflow-tools/knowledge-engine": "0.18.
|
|
23
|
-
"@devflow-tools/mcp-server": "0.18.
|
|
24
|
-
"@devflow-tools/memory-engine": "0.18.
|
|
25
|
-
"@devflow-tools/plugin-animation": "0.18.
|
|
26
|
-
"@devflow-tools/plugin-css": "0.18.
|
|
27
|
-
"@devflow-tools/plugin-docker": "0.18.
|
|
28
|
-
"@devflow-tools/plugin-electron": "0.18.
|
|
29
|
-
"@devflow-tools/plugin-git": "0.18.
|
|
30
|
-
"@devflow-tools/plugin-graphql": "0.18.
|
|
31
|
-
"@devflow-tools/plugin-nest": "0.18.
|
|
32
|
-
"@devflow-tools/plugin-nextjs": "0.18.
|
|
33
|
-
"@devflow-tools/plugin-performance": "0.18.
|
|
34
|
-
"@devflow-tools/plugin-react": "0.18.
|
|
35
|
-
"@devflow-tools/plugin-tailwind": "0.18.
|
|
36
|
-
"@devflow-tools/plugin-taro": "0.18.
|
|
37
|
-
"@devflow-tools/plugin-ui-layout": "0.18.
|
|
38
|
-
"@devflow-tools/plugin-vue": "0.18.
|
|
39
|
-
"@devflow-tools/sdk": "0.18.
|
|
40
|
-
"@devflow-tools/server": "0.18.
|
|
41
|
-
"@devflow-tools/telemetry": "0.18.
|
|
42
|
-
"@devflow-tools/workflow-engine": "0.18.
|
|
17
|
+
"@devflow-tools/adapters": "0.18.30",
|
|
18
|
+
"@devflow-tools/benchmark": "0.18.30",
|
|
19
|
+
"@devflow-tools/context-engine": "0.18.30",
|
|
20
|
+
"@devflow-tools/database": "0.18.30",
|
|
21
|
+
"@devflow-tools/delivery-line": "0.18.30",
|
|
22
|
+
"@devflow-tools/knowledge-engine": "0.18.30",
|
|
23
|
+
"@devflow-tools/mcp-server": "0.18.30",
|
|
24
|
+
"@devflow-tools/memory-engine": "0.18.30",
|
|
25
|
+
"@devflow-tools/plugin-animation": "0.18.30",
|
|
26
|
+
"@devflow-tools/plugin-css": "0.18.30",
|
|
27
|
+
"@devflow-tools/plugin-docker": "0.18.30",
|
|
28
|
+
"@devflow-tools/plugin-electron": "0.18.30",
|
|
29
|
+
"@devflow-tools/plugin-git": "0.18.30",
|
|
30
|
+
"@devflow-tools/plugin-graphql": "0.18.30",
|
|
31
|
+
"@devflow-tools/plugin-nest": "0.18.30",
|
|
32
|
+
"@devflow-tools/plugin-nextjs": "0.18.30",
|
|
33
|
+
"@devflow-tools/plugin-performance": "0.18.30",
|
|
34
|
+
"@devflow-tools/plugin-react": "0.18.30",
|
|
35
|
+
"@devflow-tools/plugin-tailwind": "0.18.30",
|
|
36
|
+
"@devflow-tools/plugin-taro": "0.18.30",
|
|
37
|
+
"@devflow-tools/plugin-ui-layout": "0.18.30",
|
|
38
|
+
"@devflow-tools/plugin-vue": "0.18.30",
|
|
39
|
+
"@devflow-tools/sdk": "0.18.30",
|
|
40
|
+
"@devflow-tools/server": "0.18.30",
|
|
41
|
+
"@devflow-tools/telemetry": "0.18.30",
|
|
42
|
+
"@devflow-tools/workflow-engine": "0.18.30",
|
|
43
43
|
"@inquirer/prompts": "^7.10.1",
|
|
44
44
|
"chalk": "^5.3.0",
|
|
45
45
|
"commander": "^12.0.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@devflow-tools/devflow": "0.18.
|
|
48
|
+
"@devflow-tools/devflow": "0.18.30",
|
|
49
49
|
"typescript": "^5.5.0",
|
|
50
50
|
"vitest": "^2.0.0"
|
|
51
51
|
},
|