@zhuoyuezs/ml-platform 0.2.2-alpha.0 → 0.2.2-alpha.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhuoyuezs/ml-platform",
3
- "version": "0.2.2-alpha.0",
3
+ "version": "0.2.2-alpha.1",
4
4
  "description": "ML 数据平台 business CLI 与 Agent Skills 管理工具",
5
5
  "bin": {
6
6
  "ml-platform": "scripts/main.js"
package/release.json CHANGED
@@ -25,7 +25,7 @@
25
25
  "ml_data_platform.feature_set/v1",
26
26
  "ml_data_platform.dataset_manifest/v1"
27
27
  ],
28
- "release_version": "0.2.2-alpha.0",
28
+ "release_version": "0.2.2-alpha.1",
29
29
  "runtime_requirements": {
30
30
  "node": ">=18",
31
31
  "os": [
@@ -38,21 +38,21 @@
38
38
  "feature-management": {
39
39
  "path": "skills/feature-management",
40
40
  "requires_cli": ">=0.8.1 <0.9.0",
41
- "revision": "0.2.2-alpha.0",
41
+ "revision": "0.2.2-alpha.1",
42
42
  "sha256": "sha256:d32f0306f129d7bf76eb037fe239c84dd3c29c64b61600799d6e40320784bb10"
43
43
  },
44
44
  "model-deployment-management": {
45
45
  "path": "skills/model-deployment-management",
46
46
  "requires_cli": ">=0.8.1 <0.9.0",
47
- "revision": "0.2.2-alpha.0",
47
+ "revision": "0.2.2-alpha.1",
48
48
  "sha256": "sha256:e7d87c272a0dcc028ea628d5e36f5b7e52ed27cb9c1bc17ea76527478e28b46d"
49
49
  },
50
50
  "model-lifecycle-management": {
51
51
  "path": "skills/model-lifecycle-management",
52
52
  "requires_cli": ">=0.8.1 <0.9.0",
53
- "revision": "0.2.2-alpha.0",
53
+ "revision": "0.2.2-alpha.1",
54
54
  "sha256": "sha256:aaa3fdb54c0ff9e8dfa0f71e67d072830786e5e3d4803ba3962dff723d159386"
55
55
  }
56
56
  },
57
- "source_commit": "581b69e5c0a7c21dc3ebadd23121231974214b13"
57
+ "source_commit": "d81c77ff5c978ba1da4ce4b370c19c0be27d28c4"
58
58
  }
package/scripts/lib.js CHANGED
@@ -551,7 +551,8 @@ function installLocked(options, packageRoot, verified, paths) {
551
551
  stageRuntime = true;
552
552
  }
553
553
  else if (!runtimeHealthy) {
554
- if (!runtimeIdentityMatchesRelease(sharedRuntime, packageRoot, verified.release)) {
554
+ if (!options.upgrade
555
+ && !runtimeIdentityMatchesRelease(sharedRuntime, packageRoot, verified.release)) {
555
556
  throw new Error("共享 CLI 已损坏,但当前安装包不是其记录版本;请使用对应 release 执行 install --upgrade 修复");
556
557
  }
557
558
  stageRuntime = true;