@wbline/pi-plan-build 0.0.6 → 0.0.7

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/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@
4
4
 
5
5
  格式基于 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.1.0/),版本遵循语义化版本。
6
6
 
7
+ ## [0.0.7] - 2026-10-21
8
+
9
+ ### 变更
10
+
11
+ - **包根入口薄壳**:`pi.extensions` 从 `./src/index.ts` 改为 `./index.ts`(对齐 `@wbline/pi-acp-jetbrain` 的做法),pi 中插件显示从 `@wbline/pi-plan-build:src` 变为干净的 `@wbline/pi-plan-build`——`:src` 后缀来自扩展路径首段目录;`main` 同步指向 `./index.ts`,`files` 补列 `index.ts`(否则发布包缺薄壳入口),`tsconfig.json` include 纳入薄壳。实现代码零改动,`src/` 结构不变
12
+
7
13
  ## [0.0.6] - 2026-10-20
8
14
 
9
15
  ### 新增
package/index.ts ADDED
@@ -0,0 +1,6 @@
1
+ /**
2
+ * 包根入口薄壳:pi.extensions 指向 ./index.ts,
3
+ * 让 pi 显示干净的包名 @wbline/pi-plan-build(无 :src 路径后缀)。
4
+ * 实现在 src/index.ts,此处仅 re-export。
5
+ */
6
+ export { default } from "./src/index.ts";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wbline/pi-plan-build",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "Plan/Build dual-mode for the Pi coding agent: read-only planning, explicit approval, step-wise execution.",
5
5
  "license": "MIT",
6
6
  "author": "wongbin",
@@ -13,16 +13,17 @@
13
13
  "task-management"
14
14
  ],
15
15
  "type": "module",
16
- "main": "./src/index.ts",
16
+ "main": "./index.ts",
17
17
  "engines": {
18
18
  "node": ">=22.6"
19
19
  },
20
20
  "pi": {
21
21
  "extensions": [
22
- "./src/index.ts"
22
+ "./index.ts"
23
23
  ]
24
24
  },
25
25
  "files": [
26
+ "index.ts",
26
27
  "src",
27
28
  "README.md",
28
29
  "CHANGELOG.md",