@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
@@ -11,7 +11,7 @@ Devflow Pi 是一个面向项目研发交付的独立 OMP 产品入口,内置
11
11
  安装与启动:
12
12
 
13
13
  ```bash
14
- npm install -g @guanlin4924/devflow-pi@0.1.27
14
+ npm install -g @guanlin4924/devflow-pi@0.1.28
15
15
  cd /path/to/your-project
16
16
  devflow-pi init
17
17
  devflow-pi doctor
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guanlin4924/devflow-pi",
3
- "version": "0.1.27",
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
- if (isStateMutationTool(toolName)) {
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
@@ -1,5 +1,5 @@
1
1
  export const PRODUCT_NAME = "Devflow Pi";
2
- export const PRODUCT_VERSION = "0.1.27";
2
+ export const PRODUCT_VERSION = "0.1.28";
3
3
  export const PROJECT_SCHEMA_VERSION = 1;
4
4
  export const OMP_RUNTIME_VERSION = "17.2.7";
5
5