@devflow-tools/cli 0.18.18 → 0.18.19

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "devflow",
3
3
  "description": "DevFlow — Developer Intelligence Platform: project context, code graph, knowledge base, memory engine, and workflow automation with 14 domain plugins",
4
- "version": "0.18.18",
4
+ "version": "0.18.19",
5
5
  "author": {
6
6
  "name": "DevFlow"
7
7
  },
@@ -19,7 +19,7 @@
19
19
  "WebFetch"
20
20
  ],
21
21
  "source": "core",
22
- "sourceVersion": "0.18.18",
22
+ "sourceVersion": "0.18.19",
23
23
  "requiresContext": true,
24
24
  "evidenceMode": "mixed",
25
25
  "skillPath": "skills/devflow:context/SKILL.md",
@@ -44,7 +44,7 @@
44
44
  "Explore"
45
45
  ],
46
46
  "source": "core",
47
- "sourceVersion": "0.18.18",
47
+ "sourceVersion": "0.18.19",
48
48
  "requiresContext": true,
49
49
  "evidenceMode": "mixed",
50
50
  "skillPath": "skills/devflow:graph/SKILL.md",
@@ -63,7 +63,7 @@
63
63
  "WebFetch"
64
64
  ],
65
65
  "source": "core",
66
- "sourceVersion": "0.18.18",
66
+ "sourceVersion": "0.18.19",
67
67
  "requiresContext": true,
68
68
  "evidenceMode": "mixed",
69
69
  "skillPath": "skills/devflow:knowledge/SKILL.md",
@@ -87,7 +87,7 @@
87
87
  "Explore"
88
88
  ],
89
89
  "source": "core",
90
- "sourceVersion": "0.18.18",
90
+ "sourceVersion": "0.18.19",
91
91
  "requiresContext": true,
92
92
  "evidenceMode": "mixed",
93
93
  "skillPath": "skills/devflow:memory/SKILL.md",
@@ -103,7 +103,7 @@
103
103
  ],
104
104
  "blockedNative": [],
105
105
  "source": "core",
106
- "sourceVersion": "0.18.18",
106
+ "sourceVersion": "0.18.19",
107
107
  "requiresContext": true,
108
108
  "evidenceMode": "mixed",
109
109
  "skillPath": "skills/devflow:workflow/SKILL.md",
@@ -131,7 +131,7 @@
131
131
  ],
132
132
  "blockedNative": [],
133
133
  "source": "core",
134
- "sourceVersion": "0.18.18",
134
+ "sourceVersion": "0.18.19",
135
135
  "requiresContext": true,
136
136
  "evidenceMode": "mixed",
137
137
  "skillPath": "skills/devflow:delivery/SKILL.md",
@@ -65,14 +65,20 @@ rm -f ~/.devflow/current-skill.json ~/.devflow/current-execution-id
65
65
 
66
66
  - 调用 `mcp__devflow__get_project_context` 后必须等待该 MCP 返回,再进行任何 Read/Grep/Glob/Bash/Write/Edit;不要并发发起上下文请求和直接工具调用。
67
67
  - 每次写操作后读取返回状态;状态不明确或发生 stale turn 时调用 `mcp__devflow__delivery_status`。
68
+ - 读取 `contextQuality.channelAvailability` 时区分三种结果:`available` 表示有可用证据,
69
+ `empty_valid` 表示 producer 正常但项目没有匹配记录,可带降级说明继续;`unavailable`
70
+ 表示 producer 失败。Memory/Knowledge 默认是辅助通道,只有案件策略明确将其设为 required
71
+ 时才因 unavailable 阻塞;不得把 `empty_valid` 解释为 producer 异常。
72
+ - `delivery_status` 返回的 `currentTurn` 是唯一 canonical turn;所有后续 `answer`、`compare_options` 和
73
+ `approve` 都原样使用该值。审批不会自动递增 turn,只有 `answer`/`revise` 打开新交互时才会变化。
68
74
  - 只执行当前 `nextActions` 允许的操作。
69
75
  - `designing` 阶段没有 `design` 审批动作。设计方案确认后,必须使用当前状态返回的
70
- `turn` 调用 `delivery_compare_options`,由它生成 `spec_ready`;随后才可调用
76
+ `currentTurn` 调用 `delivery_compare_options`,由它生成 `spec_ready`;随后才可调用
71
77
  `delivery_approve(stage=spec)`。不得调用 `delivery_approve(stage=design)`,也不得用
72
78
  `delivery_advance` 代替 `compare_options`。
73
79
  - `delivery_compare_options` 必须提交 `optionId`、与之匹配的 `selectedLabel`,以及包含该
74
80
  `id`/`label` 对的完整 `optionsSnapshot`。例如:
75
- `{ "turn": 2, "questionId": "<caseId>:question:2:0", "optionId": "option-1",
81
+ `{ "turn": <status.currentTurn>, "questionId": "<caseId>:design:<status.currentTurn>", "optionId": "option-1",
76
82
  "selectedLabel": "Ant Design Form + Tailwind CSS", "optionsSnapshot": [
77
83
  { "id": "option-1", "label": "Ant Design Form + Tailwind CSS" },
78
84
  { "id": "option-2", "label": "原生 form" } ] }`。
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devflow-tools/claude-code-plugin",
3
- "version": "0.18.18",
3
+ "version": "0.18.19",
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.18",
16
- "@devflow-tools/context-engine": "0.18.18",
17
- "@devflow-tools/database": "0.18.18",
18
- "@devflow-tools/mcp-server": "0.18.18",
19
- "@devflow-tools/memory-engine": "0.18.18",
20
- "@devflow-tools/sdk": "0.18.18",
21
- "@devflow-tools/semantic-engine": "0.18.18",
22
- "@devflow-tools/server": "0.18.18",
23
- "@devflow-tools/task-runtime": "0.18.18",
24
- "@devflow-tools/telemetry": "0.18.18",
25
- "@devflow-tools/workflow-engine": "0.18.18"
15
+ "@devflow-tools/benchmark": "0.18.19",
16
+ "@devflow-tools/context-engine": "0.18.19",
17
+ "@devflow-tools/database": "0.18.19",
18
+ "@devflow-tools/mcp-server": "0.18.19",
19
+ "@devflow-tools/memory-engine": "0.18.19",
20
+ "@devflow-tools/sdk": "0.18.19",
21
+ "@devflow-tools/semantic-engine": "0.18.19",
22
+ "@devflow-tools/server": "0.18.19",
23
+ "@devflow-tools/task-runtime": "0.18.19",
24
+ "@devflow-tools/telemetry": "0.18.19",
25
+ "@devflow-tools/workflow-engine": "0.18.19"
26
26
  },
27
27
  "devDependencies": {
28
- "@devflow-tools/devflow": "0.18.18"
28
+ "@devflow-tools/devflow": "0.18.19"
29
29
  },
30
30
  "allowScripts": {
31
31
  "better-sqlite3@12.11.1": true,
@@ -16,14 +16,20 @@ description: 通过可审计 Delivery Line 将需求推进到验证完成的 int
16
16
 
17
17
  - 调用 `mcp__devflow__get_project_context` 后必须等待该 MCP 返回,再进行任何 Read/Grep/Glob/Bash/Write/Edit;不要并发发起上下文请求和直接工具调用。
18
18
  - 每次写操作后读取返回状态;状态不明确或发生 stale turn 时调用 `mcp__devflow__delivery_status`。
19
+ - 读取 `contextQuality.channelAvailability` 时区分三种结果:`available` 表示有可用证据,
20
+ `empty_valid` 表示 producer 正常但项目没有匹配记录,可带降级说明继续;`unavailable`
21
+ 表示 producer 失败。Memory/Knowledge 默认是辅助通道,只有案件策略明确将其设为 required
22
+ 时才因 unavailable 阻塞;不得把 `empty_valid` 解释为 producer 异常。
23
+ - `delivery_status` 返回的 `currentTurn` 是唯一 canonical turn;所有后续 `answer`、`compare_options` 和
24
+ `approve` 都原样使用该值。审批不会自动递增 turn,只有 `answer`/`revise` 打开新交互时才会变化。
19
25
  - 只执行当前 `nextActions` 允许的操作。
20
26
  - `designing` 阶段没有 `design` 审批动作。设计方案确认后,必须使用当前状态返回的
21
- `turn` 调用 `delivery_compare_options`,由它生成 `spec_ready`;随后才可调用
27
+ `currentTurn` 调用 `delivery_compare_options`,由它生成 `spec_ready`;随后才可调用
22
28
  `delivery_approve(stage=spec)`。不得调用 `delivery_approve(stage=design)`,也不得用
23
29
  `delivery_advance` 代替 `compare_options`。
24
30
  - `delivery_compare_options` 必须提交 `optionId`、与之匹配的 `selectedLabel`,以及包含该
25
31
  `id`/`label` 对的完整 `optionsSnapshot`。例如:
26
- `{ "turn": 2, "questionId": "<caseId>:question:2:0", "optionId": "option-1",
32
+ `{ "turn": <status.currentTurn>, "questionId": "<caseId>:design:<status.currentTurn>", "optionId": "option-1",
27
33
  "selectedLabel": "Ant Design Form + Tailwind CSS", "optionsSnapshot": [
28
34
  { "id": "option-1", "label": "Ant Design Form + Tailwind CSS" },
29
35
  { "id": "option-2", "label": "原生 form" } ] }`。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devflow-tools/cli",
3
- "version": "0.18.18",
3
+ "version": "0.18.19",
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",
18
- "@devflow-tools/benchmark": "0.18.18",
19
- "@devflow-tools/context-engine": "0.18.18",
20
- "@devflow-tools/database": "0.18.18",
21
- "@devflow-tools/delivery-line": "0.18.18",
22
- "@devflow-tools/knowledge-engine": "0.18.18",
23
- "@devflow-tools/mcp-server": "0.18.18",
24
- "@devflow-tools/memory-engine": "0.18.18",
25
- "@devflow-tools/plugin-animation": "0.18.18",
26
- "@devflow-tools/plugin-css": "0.18.18",
27
- "@devflow-tools/plugin-docker": "0.18.18",
28
- "@devflow-tools/plugin-electron": "0.18.18",
29
- "@devflow-tools/plugin-git": "0.18.18",
30
- "@devflow-tools/plugin-graphql": "0.18.18",
31
- "@devflow-tools/plugin-nest": "0.18.18",
32
- "@devflow-tools/plugin-nextjs": "0.18.18",
33
- "@devflow-tools/plugin-performance": "0.18.18",
34
- "@devflow-tools/plugin-react": "0.18.18",
35
- "@devflow-tools/plugin-tailwind": "0.18.18",
36
- "@devflow-tools/plugin-taro": "0.18.18",
37
- "@devflow-tools/plugin-ui-layout": "0.18.18",
38
- "@devflow-tools/plugin-vue": "0.18.18",
39
- "@devflow-tools/sdk": "0.18.18",
40
- "@devflow-tools/server": "0.18.18",
41
- "@devflow-tools/telemetry": "0.18.18",
42
- "@devflow-tools/workflow-engine": "0.18.18",
17
+ "@devflow-tools/adapters": "0.18.19",
18
+ "@devflow-tools/benchmark": "0.18.19",
19
+ "@devflow-tools/context-engine": "0.18.19",
20
+ "@devflow-tools/database": "0.18.19",
21
+ "@devflow-tools/delivery-line": "0.18.19",
22
+ "@devflow-tools/knowledge-engine": "0.18.19",
23
+ "@devflow-tools/mcp-server": "0.18.19",
24
+ "@devflow-tools/memory-engine": "0.18.19",
25
+ "@devflow-tools/plugin-animation": "0.18.19",
26
+ "@devflow-tools/plugin-css": "0.18.19",
27
+ "@devflow-tools/plugin-docker": "0.18.19",
28
+ "@devflow-tools/plugin-electron": "0.18.19",
29
+ "@devflow-tools/plugin-git": "0.18.19",
30
+ "@devflow-tools/plugin-graphql": "0.18.19",
31
+ "@devflow-tools/plugin-nest": "0.18.19",
32
+ "@devflow-tools/plugin-nextjs": "0.18.19",
33
+ "@devflow-tools/plugin-performance": "0.18.19",
34
+ "@devflow-tools/plugin-react": "0.18.19",
35
+ "@devflow-tools/plugin-tailwind": "0.18.19",
36
+ "@devflow-tools/plugin-taro": "0.18.19",
37
+ "@devflow-tools/plugin-ui-layout": "0.18.19",
38
+ "@devflow-tools/plugin-vue": "0.18.19",
39
+ "@devflow-tools/sdk": "0.18.19",
40
+ "@devflow-tools/server": "0.18.19",
41
+ "@devflow-tools/telemetry": "0.18.19",
42
+ "@devflow-tools/workflow-engine": "0.18.19",
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.18",
48
+ "@devflow-tools/devflow": "0.18.19",
49
49
  "typescript": "^5.5.0",
50
50
  "vitest": "^2.0.0"
51
51
  },