skill-family-engineering-kit 0.8.0 → 0.8.1

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
@@ -1,5 +1,25 @@
1
1
  # Changelog
2
2
 
3
+ <!-- release-skill:changelog:start version=0.8.1 locale=en baseline=sha256:e22f9a90f4275671e77a23aeee6ee036ab5c4c5a041a9ed9a144d055ce886da5 -->
4
+ ## [0.8.1] - 2026-08-22
5
+
6
+ Engineering Kit now preserves its own package version when a host bundles it into a single-file adapter.
7
+
8
+ ### Changed
9
+
10
+ - Moves Contracts, Harness, and Engineering Kit together to version 0.8.1; the Contracts 1.7.0 and Profile SPI v3 surfaces remain unchanged.
11
+
12
+ ### Fixed
13
+
14
+ - Replaces the runtime import.meta.url package-manifest lookup with a static JSON import, so source and installed-package execution still read the Kit manifest while esbuild inlines the same version into a host bundle.
15
+ - Adds a regression test that bundles Engineering Kit as a third-party dependency into one host entry file, runs it outside the package tree, and verifies the reported version against the package manifest.
16
+
17
+ ### Upgrade Notes
18
+
19
+ Host adapters that bundle Engineering Kit must pin 0.8.1. Source and ordinary installed-package consumers keep the existing API and require no migration.
20
+ <!-- release-skill:changelog:end version=0.8.1 locale=en -->
21
+
22
+
3
23
  <!-- release-skill:changelog:start version=0.8.0 locale=en baseline=sha256:47377b52339e57d0087ffdff72ba04f88d8dd290f5a6e472fc67eb9a801007db -->
4
24
  ## [0.8.0] - 2026-08-21
5
25
 
@@ -1,5 +1,25 @@
1
1
  # 变更日志
2
2
 
3
+ <!-- release-skill:changelog:start version=0.8.1 locale=zh-CN baseline=sha256:67ed1129fc865709a1205d34c82521a6c7a7f6d9a914c0c400c21ad2767a841b -->
4
+ ## [0.8.1] - 2026-08-22
5
+
6
+ 宿主把 Engineering Kit 打包进单文件适配器后,Kit 仍能保留自身的包版本。
7
+
8
+ ### 变更
9
+
10
+ - Contracts、Harness 与 Engineering Kit 一同升至 0.8.1;Contracts 1.7.0 与 Profile SPI v3 表面保持不变。
11
+
12
+ ### 修复
13
+
14
+ - 用静态 JSON import 替换运行时基于 import.meta.url 的包清单查找。源码与普通安装包仍读取 Kit 自身清单,esbuild 则把同一版本值内联到宿主 bundle。
15
+ - 新增回归测试:把 Engineering Kit 作为第三方依赖打包成单一宿主入口,在包目录之外运行,并用包清单复核其报告版本。
16
+
17
+ ### 升级说明
18
+
19
+ 把 Engineering Kit 打包进宿主适配器的消费者必须精确锁定 0.8.1;源码和普通安装包消费者沿用现有 API,不需要迁移。
20
+ <!-- release-skill:changelog:end version=0.8.1 locale=zh-CN -->
21
+
22
+
3
23
  <!-- release-skill:changelog:start version=0.8.0 locale=zh-CN baseline=sha256:0d8fb108ec3e89d5c6b6bea39fc6767a0e1c198546d243d86a963fc5855ed4a9 -->
4
24
  ## [0.8.0] - 2026-08-21
5
25
 
package/README.md CHANGED
@@ -4,24 +4,27 @@
4
4
 
5
5
  # skill-family-engineering-kit
6
6
 
7
- <!-- release-skill:release-version: 0.8.0 -->
7
+ <!-- release-skill:release-version: 0.8.1 -->
8
8
 
9
9
  An engineering toolkit used in development and CI. There are **exactly four** top-level commands, and no fifth:
10
10
 
11
11
  <!-- release-skill:managed:start id=latest-release -->
12
- **0.8.0** (2026-08-21)
12
+ **0.8.1** (2026-08-22)
13
13
 
14
- Profile SPI v3 adds direct verification for scaffolded Project Profiles while descriptor verification remains stable.
14
+ Engineering Kit now preserves its own package version when a host bundles it into a single-file adapter.
15
15
 
16
- **Added**
16
+ **Changed**
17
17
 
18
- - Adds verifyProjectProfile({ projectRoot, profileRelPath? }) for skill-family.project-profile declarations.
19
- - Keeps verifyProfile descriptor-only and reuses Contracts-owned adoption and overrides field definitions.
20
- - Adds SPE1008 PROJECT_PROFILE_INVALID; SPE1006 and SPE1007 retain their existing meanings.
18
+ - Moves Contracts, Harness, and Engineering Kit together to version 0.8.1; the Contracts 1.7.0 and Profile SPI v3 surfaces remain unchanged.
19
+
20
+ **Fixed**
21
+
22
+ - Replaces the runtime import.meta.url package-manifest lookup with a static JSON import, so source and installed-package execution still read the Kit manifest while esbuild inlines the same version into a host bundle.
23
+ - Adds a regression test that bundles Engineering Kit as a third-party dependency into one host entry file, runs it outside the package tree, and verifies the reported version against the package manifest.
21
24
 
22
25
  **Upgrade Notes**
23
26
 
24
- Project-root consumers must pin engineering-kit 0.8.0 and call verifyProjectProfile. Descriptor consumers continue to call verifyProfile; 0.7.0 remains available.
27
+ Host adapters that bundle Engineering Kit must pin 0.8.1. Source and ordinary installed-package consumers keep the existing API and require no migration.
25
28
  <!-- release-skill:managed:end id=latest-release -->
26
29
 
27
30
  | Command | Purpose | Side effects |
@@ -42,7 +45,7 @@ Kit is the "engineering stage" layer, depending on the Harness and Contracts. It
42
45
  ## Installation and Minimal Example
43
46
 
44
47
  ```sh
45
- npm install --save-dev skill-family-engineering-kit@0.8.0
48
+ npm install --save-dev skill-family-engineering-kit@0.8.1
46
49
  npm exec -- skill-family-kit --help
47
50
  npm exec -- skill-family-kit scaffold --root <empty-dir> --project-id my-project
48
51
  npm exec -- skill-family-kit adopt-plan --root <repo>
@@ -50,7 +53,7 @@ npm exec -- skill-family-kit projection --root <repo>
50
53
  npm exec -- skill-family-kit check --root <repo>
51
54
  ```
52
55
 
53
- The four commands above cover skeleton generation, read-only inventory, managed projection, and diagnostics respectively; a zero-install form is available via `npm exec --package=skill-family-engineering-kit@0.8.0 -- skill-family-kit --help`.
56
+ The four commands above cover skeleton generation, read-only inventory, managed projection, and diagnostics respectively; a zero-install form is available via `npm exec --package=skill-family-engineering-kit@0.8.1 -- skill-family-kit --help`.
54
57
 
55
58
  ### Public Profile SPI
56
59
 
package/README.zh-CN.md CHANGED
@@ -5,24 +5,27 @@
5
5
 
6
6
  # skill-family-engineering-kit
7
7
 
8
- <!-- release-skill:release-version: 0.8.0 -->
8
+ <!-- release-skill:release-version: 0.8.1 -->
9
9
 
10
10
  开发与 CI 阶段使用的工程工具包。**恰好四个**顶层命令,没有第五个:
11
11
 
12
12
  <!-- release-skill:managed:start id=latest-release -->
13
- **0.8.0** (2026-08-21)
13
+ **0.8.1** (2026-08-22)
14
14
 
15
- Profile SPI v3 新增 scaffold 项目 Profile 的直接校验,descriptor 校验保持兼容。
15
+ 宿主把 Engineering Kit 打包进单文件适配器后,Kit 仍能保留自身的包版本。
16
16
 
17
- **新增**
17
+ **变更**
18
18
 
19
- - 新增 verifyProjectProfile({ projectRoot, profileRelPath? }),用于校验 skill-family.project-profile 声明。
20
- - verifyProfile 继续只校验 descriptor,并复用 Contracts 拥有的 adoption 与 overrides 字段定义。
21
- - 新增 SPE1008 PROJECT_PROFILE_INVALID;SPE1006 与 SPE1007 含义保持不变。
19
+ - Contracts、Harness Engineering Kit 一同升至 0.8.1;Contracts 1.7.0 与 Profile SPI v3 表面保持不变。
20
+
21
+ **修复**
22
+
23
+ - 用静态 JSON import 替换运行时基于 import.meta.url 的包清单查找。源码与普通安装包仍读取 Kit 自身清单,esbuild 则把同一版本值内联到宿主 bundle。
24
+ - 新增回归测试:把 Engineering Kit 作为第三方依赖打包成单一宿主入口,在包目录之外运行,并用包清单复核其报告版本。
22
25
 
23
26
  **升级说明**
24
27
 
25
- 项目根消费者必须锁定 engineering-kit 0.8.0 并调用 verifyProjectProfile;descriptor 消费者继续调用 verifyProfile,0.7.0 仍可使用。
28
+ Engineering Kit 打包进宿主适配器的消费者必须精确锁定 0.8.1;源码和普通安装包消费者沿用现有 API,不需要迁移。
26
29
  <!-- release-skill:managed:end id=latest-release -->
27
30
 
28
31
  | 命令 | 用途 | 副作用 |
@@ -43,7 +46,7 @@ Kit 是「工程阶段」层,依赖 Harness 与 Contracts。它只做四件事
43
46
  ## 安装和最小示例
44
47
 
45
48
  ```sh
46
- npm install --save-dev skill-family-engineering-kit@0.8.0
49
+ npm install --save-dev skill-family-engineering-kit@0.8.1
47
50
  npm exec -- skill-family-kit --help
48
51
  npm exec -- skill-family-kit scaffold --root <empty-dir> --project-id my-project
49
52
  npm exec -- skill-family-kit adopt-plan --root <repo>
@@ -51,7 +54,7 @@ npm exec -- skill-family-kit projection --root <repo>
51
54
  npm exec -- skill-family-kit check --root <repo>
52
55
  ```
53
56
 
54
- 以上四条命令分别覆盖生成骨架、只读盘点、受管投影与诊断;零安装形式可用 `npm exec --package=skill-family-engineering-kit@0.8.0 -- skill-family-kit --help`。
57
+ 以上四条命令分别覆盖生成骨架、只读盘点、受管投影与诊断;零安装形式可用 `npm exec --package=skill-family-engineering-kit@0.8.1 -- skill-family-kit --help`。
55
58
 
56
59
  ### 公共 Profile SPI
57
60
 
@@ -1792,17 +1792,17 @@
1792
1792
  <tbody>
1793
1793
  <tr>
1794
1794
  <td><code>skill-family-contracts</code></td>
1795
- <td>0.8.0</td>
1795
+ <td>0.8.1</td>
1796
1796
  <td><a href="https://github.com/ifoohoo/skill-family-contracts">ifoohoo/skill-family-contracts</a></td>
1797
1797
  </tr>
1798
1798
  <tr>
1799
1799
  <td><code>skill-family-harness-node</code></td>
1800
- <td>0.8.0</td>
1800
+ <td>0.8.1</td>
1801
1801
  <td><a href="https://github.com/ifoohoo/skill-family-harness-node">ifoohoo/skill-family-harness-node</a></td>
1802
1802
  </tr>
1803
1803
  <tr>
1804
1804
  <td><code>skill-family-engineering-kit</code></td>
1805
- <td>0.8.0</td>
1805
+ <td>0.8.1</td>
1806
1806
  <td><a href="https://github.com/ifoohoo/skill-family-engineering-kit">ifoohoo/skill-family-engineering-kit</a></td>
1807
1807
  </tr>
1808
1808
  </tbody>