@devflow-tools/claude-code-plugin 0.19.11 → 0.19.12

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.19.11",
4
+ "version": "0.19.12",
5
5
  "author": {
6
6
  "name": "DevFlow"
7
7
  },
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "blockedNative": [],
10
10
  "source": "core",
11
- "sourceVersion": "0.19.11",
11
+ "sourceVersion": "0.19.12",
12
12
  "requiresContext": false,
13
13
  "evidenceMode": "runtime",
14
14
  "skillPath": "skills/devflow:doctor/SKILL.md",
@@ -35,7 +35,7 @@
35
35
  "WebFetch"
36
36
  ],
37
37
  "source": "core",
38
- "sourceVersion": "0.19.11",
38
+ "sourceVersion": "0.19.12",
39
39
  "requiresContext": true,
40
40
  "evidenceMode": "mixed",
41
41
  "skillPath": "skills/devflow:context/SKILL.md",
@@ -60,7 +60,7 @@
60
60
  "Explore"
61
61
  ],
62
62
  "source": "core",
63
- "sourceVersion": "0.19.11",
63
+ "sourceVersion": "0.19.12",
64
64
  "requiresContext": true,
65
65
  "evidenceMode": "mixed",
66
66
  "skillPath": "skills/devflow:graph/SKILL.md",
@@ -79,7 +79,7 @@
79
79
  "WebFetch"
80
80
  ],
81
81
  "source": "core",
82
- "sourceVersion": "0.19.11",
82
+ "sourceVersion": "0.19.12",
83
83
  "requiresContext": true,
84
84
  "evidenceMode": "mixed",
85
85
  "skillPath": "skills/devflow:knowledge/SKILL.md",
@@ -103,7 +103,7 @@
103
103
  "Explore"
104
104
  ],
105
105
  "source": "core",
106
- "sourceVersion": "0.19.11",
106
+ "sourceVersion": "0.19.12",
107
107
  "requiresContext": true,
108
108
  "evidenceMode": "mixed",
109
109
  "skillPath": "skills/devflow:memory/SKILL.md",
@@ -119,7 +119,7 @@
119
119
  ],
120
120
  "blockedNative": [],
121
121
  "source": "core",
122
- "sourceVersion": "0.19.11",
122
+ "sourceVersion": "0.19.12",
123
123
  "requiresContext": true,
124
124
  "evidenceMode": "mixed",
125
125
  "skillPath": "skills/devflow:workflow/SKILL.md",
@@ -154,7 +154,7 @@
154
154
  ],
155
155
  "blockedNative": [],
156
156
  "source": "core",
157
- "sourceVersion": "0.19.11",
157
+ "sourceVersion": "0.19.12",
158
158
  "requiresContext": true,
159
159
  "evidenceMode": "mixed",
160
160
  "skillPath": "skills/devflow:delivery/SKILL.md",
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "manifestVersion": "devflow-runtime.v1",
3
- "packageVersion": "0.19.11",
4
- "sourceCommit": "a9cb69a06f0e49285d67614cb039eaf5deb39d93",
3
+ "packageVersion": "0.19.12",
4
+ "sourceCommit": "3f6d514b9a3a6115b05b1adca6ab6e34e14b932a",
5
5
  "bundleHashes": {
6
6
  "hooks": "858e24cc2bc01cdc69e47010e9e51eafc9d9230c9799a421821c3aa917f9c062",
7
- "mcp": "0fa7e886d73d154311629ae3c16bb118eb938002af9da41f5d24daebb3ca708e",
7
+ "mcp": "426258c76db3c4032baafd4b3926795e053b2a3df1ae72f0f2425f2e3f1e3c99",
8
8
  "cli": "6205081f819ee3651962df36edd626b993a917fb8691f20c84e6b6e04af81d16"
9
9
  },
10
- "registryHash": "467030836beede7accd7909089e905a1b188e714387e8f47853db9f4c557e3cc",
10
+ "registryHash": "7b889fac3e660b71b8eae63778a467eb6e9b3ead5649df9b5f381202bf49511c",
11
11
  "stateDbPath": "<projectRoot>/.devflow/delivery-line/state.db",
12
- "builtAt": 1793867974816,
13
- "manifestHash": "bc88f09432e0f641fc6eb7ca9156fda38ff6cc2ef63cdb3cc756c99ab43ddc46"
12
+ "builtAt": 1793876144270,
13
+ "manifestHash": "8db9db765e889947542eebea3a536462fe336ac000b773f4ce28f8ab03aeb8e4"
14
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devflow-tools/claude-code-plugin",
3
- "version": "0.19.11",
3
+ "version": "0.19.12",
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.19.11",
16
- "@devflow-tools/context-engine": "0.19.11",
17
- "@devflow-tools/database": "0.19.11",
18
- "@devflow-tools/mcp-server": "0.19.11",
19
- "@devflow-tools/memory-engine": "0.19.11",
20
- "@devflow-tools/sdk": "0.19.11",
21
- "@devflow-tools/semantic-engine": "0.19.11",
22
- "@devflow-tools/server": "0.19.11",
23
- "@devflow-tools/task-runtime": "0.19.11",
24
- "@devflow-tools/telemetry": "0.19.11",
25
- "@devflow-tools/workflow-engine": "0.19.11"
15
+ "@devflow-tools/benchmark": "0.19.12",
16
+ "@devflow-tools/context-engine": "0.19.12",
17
+ "@devflow-tools/database": "0.19.12",
18
+ "@devflow-tools/mcp-server": "0.19.12",
19
+ "@devflow-tools/memory-engine": "0.19.12",
20
+ "@devflow-tools/sdk": "0.19.12",
21
+ "@devflow-tools/semantic-engine": "0.19.12",
22
+ "@devflow-tools/server": "0.19.12",
23
+ "@devflow-tools/task-runtime": "0.19.12",
24
+ "@devflow-tools/telemetry": "0.19.12",
25
+ "@devflow-tools/workflow-engine": "0.19.12"
26
26
  },
27
27
  "devDependencies": {
28
- "@devflow-tools/devflow": "0.19.11"
28
+ "@devflow-tools/devflow": "0.19.12"
29
29
  },
30
30
  "allowScripts": {
31
31
  "better-sqlite3@12.11.1": true,
@@ -50,7 +50,7 @@
50
50
  "hooks",
51
51
  "skills"
52
52
  ],
53
- "gitHead": "a9cb69a06f0e49285d67614cb039eaf5deb39d93",
53
+ "gitHead": "3f6d514b9a3a6115b05b1adca6ab6e34e14b932a",
54
54
  "license": "MIT",
55
55
  "repository": {
56
56
  "type": "git",
@@ -68,6 +68,18 @@ description: 通过可审计 Delivery Line 将需求推进到验证完成的 int
68
68
  作为默认交互,也不得由 agent 调用 MCP mutation 模拟用户批准或拒绝。
69
69
  - 审批必须始终通过原生 `AskUserQuestion` 选项完成;宿主会按当前 session 唯一待审批 gate 自动绑定并签名消费选择。只有用户明确输入兼容命令时才处理 `/devflow:approve`,不得把命令作为提示或默认交互。
70
70
  - `/devflow:revise`、`/devflow:cancel` 和 `/devflow:exit` 尚未注册为可信命令;仅使用当前 `nextActions` 已实现的路径,不得向用户展示不存在的命令。
71
+
72
+ ## 可信动作通道(trusted_action)
73
+
74
+ 需要用户裁决的敏感动作(取消案件 / 前台执行 / 提交审查)通过 pending decision 走宿主签名通道:
75
+
76
+ - agent 调用 `mcp__plugin_devflow_devflow__delivery_propose_trusted_action`(action + payload)创建
77
+ `kind=trusted_action` 的 pending decision——**这是 agent 触发这些动作的唯一合法通道**(MCP 侧身份恒为
78
+ agent,直接调用 cancel/begin_foreground/submit_review 会被可信通道拒绝,这是设计而非故障)。
79
+ - pending decision 会出现在 `delivery_status` 的 `pendingDecisions`;用 `AskUserQuestion` 原样展示
80
+ options(confirm/abort),宿主 hook 签名用户选择并消费决策。
81
+ - 用户选 confirm → 动作以人类身份执行(cancel 生效 / 租约交给宿主会话 / 裁决入证据链);选 abort →
82
+ 决策消费、案件不变。
71
83
  - 审批返回后不要结束会话:立即调用 `delivery_status`,按返回的 `nextActions` 连续推进;只有出现新的
72
84
  人工 gate、明确 blocker、终态或用户明确暂停时才结束。
73
85
  - plan 审批后若 `nextActions` 包含 `resume`,先用 `AskUserQuestion` 询问执行方式(前台执行 / 后台 worker,