@guanlin4924/devflow-pi 0.1.27 → 0.1.28
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.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@guanlin4924/devflow-pi",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.28",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Devflow 专项研发 Pi,基于固定版本 OMP Runtime 组装研发状态机、代码智能、设计、实现与质量门禁。",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"doctor": "bun run src/cli.ts doctor",
|
|
13
13
|
"test:devflow-pi": "bun test tests/devflow-pi",
|
|
14
14
|
"test": "bun test tests/devflow-pi && python3 -m unittest discover -s tests -p 'test_*.py'",
|
|
15
|
-
"check": "bun test tests/devflow-pi && python3 -m unittest discover -s tests -p 'test_*.py'"
|
|
15
|
+
"check": "bun test tests/devflow-pi && python3 -m unittest discover -s tests -p 'test_*.py'",
|
|
16
|
+
"release": "bash scripts/release-npm.sh"
|
|
16
17
|
},
|
|
17
18
|
"engines": {
|
|
18
19
|
"bun": ">=1.3.14"
|
|
@@ -1599,7 +1599,13 @@ export default function devflowCore(pi: ExtensionAPI) {
|
|
|
1599
1599
|
) {
|
|
1600
1600
|
return { block: true, reason: planningToolBlockReason(toolName) };
|
|
1601
1601
|
}
|
|
1602
|
-
|
|
1602
|
+
const toolInput = event.input && typeof event.input === "object" ? event.input as Record<string, unknown> : undefined;
|
|
1603
|
+
// Registry reconciliation is intentionally the one write operation an
|
|
1604
|
+
// agent may request while a step is blocked: it changes only derived
|
|
1605
|
+
// artifact metadata and never advances STATE, checkpoints, or ownership.
|
|
1606
|
+
const isRegistryReconciliation =
|
|
1607
|
+
toolName === "devflow_artifact" && toolInput?.action === "sync" && toolInput?.preserve === false;
|
|
1608
|
+
if (isStateMutationTool(toolName) && !isRegistryReconciliation) {
|
|
1603
1609
|
return {
|
|
1604
1610
|
block: true,
|
|
1605
1611
|
reason:
|
package/src/constants.ts
CHANGED