@volcengine/ark-cli 1.0.42 → 1.0.43-prerelease.665eb29e6168

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
@@ -66,6 +66,14 @@ arkcli auth status
66
66
  arkcli +connect
67
67
  ```
68
68
 
69
+ 如只需 CLI,可在本次安装时跳过 Skills 下载和自动安装:
70
+
71
+ ```shell
72
+ ARKCLI_SKIP_SKILLS=1 npm i -g @volcengine/ark-cli@latest
73
+ ```
74
+
75
+ 该环境变量统一适用于所有产品的内外网 npm 安装,只有值为 `1` 时生效;默认行为不变。CLI 二进制仍正常下载、校验、安装和初始化,包内已有的 Skills 内容不会被移除。开关不保存配置、不删除已有 Skills,之后仍可手动运行 `arkcli +connect`。`ARKCLI_SKIP_POSTINSTALL=1` 会跳过整个安装钩子,不能用于只跳过 Skills。
76
+
69
77
  无浏览器环境,例如远程开发机、CI 或 Agent 沙箱:
70
78
 
71
79
  ```shell
package/manifest.json CHANGED
@@ -1,65 +1,37 @@
1
1
  {
2
- "version": "1.0.42",
2
+ "version": "1.0.43-prerelease.665eb29e6168",
3
3
  "platforms": {
4
4
  "darwin-amd64": {
5
- "url": "https://lf3-static.bytednsdoc.com/obj/eden-cn/psjryh/ljhwZthlaukjlkulzlp/prod/1.0.42/arkcli-1.0.42-darwin-amd64",
6
- "sha256": "8b49ee1c7e1389c958ff3391f3cc7974b5aeb399d24f54acfd80ce17f77d762c",
7
- "fallback": {
8
- "url": "https://github.com/volcengine/ark-cli/releases/download/v1.0.42/arkcli-1.0.42-darwin-amd64",
9
- "kind": "github-release"
10
- }
5
+ "url": "https://lf3-static.bytednsdoc.com/obj/eden-cn/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.43-prerelease.665eb29e6168/arkcli-1.0.43-prerelease.665eb29e6168-darwin-amd64",
6
+ "sha256": "4984464a4ead99f5e2d0e997bac76088ff392e9e128ad120752528a8a79a86bc"
11
7
  },
12
8
  "darwin-arm64": {
13
- "url": "https://lf3-static.bytednsdoc.com/obj/eden-cn/psjryh/ljhwZthlaukjlkulzlp/prod/1.0.42/arkcli-1.0.42-darwin-arm64",
14
- "sha256": "3dbe20d36789f2ce0beb4a35e06d119ad54cf18c7d85b1b4a895e481bcaa183b",
15
- "fallback": {
16
- "url": "https://github.com/volcengine/ark-cli/releases/download/v1.0.42/arkcli-1.0.42-darwin-arm64",
17
- "kind": "github-release"
18
- }
9
+ "url": "https://lf3-static.bytednsdoc.com/obj/eden-cn/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.43-prerelease.665eb29e6168/arkcli-1.0.43-prerelease.665eb29e6168-darwin-arm64",
10
+ "sha256": "33d3f3158d6744e72407088f2ea9f5f2eefb6ed71e439c86713710935e6e2500"
19
11
  },
20
12
  "linux-amd64": {
21
- "url": "https://lf3-static.bytednsdoc.com/obj/eden-cn/psjryh/ljhwZthlaukjlkulzlp/prod/1.0.42/arkcli-1.0.42-linux-amd64",
22
- "sha256": "0b380b36cd82bce01a3745f392878a79c5cff2bff0ab70c1e017b610d0ff9f95",
23
- "fallback": {
24
- "url": "https://github.com/volcengine/ark-cli/releases/download/v1.0.42/arkcli-1.0.42-linux-amd64",
25
- "kind": "github-release"
26
- }
13
+ "url": "https://lf3-static.bytednsdoc.com/obj/eden-cn/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.43-prerelease.665eb29e6168/arkcli-1.0.43-prerelease.665eb29e6168-linux-amd64",
14
+ "sha256": "6d760fb419e624a47c587cb50a86674d2a3fbb78c0f231e940bda8e9906bc807"
27
15
  },
28
16
  "linux-arm64": {
29
- "url": "https://lf3-static.bytednsdoc.com/obj/eden-cn/psjryh/ljhwZthlaukjlkulzlp/prod/1.0.42/arkcli-1.0.42-linux-arm64",
30
- "sha256": "5db49174b21ee52dde5052d55014d9b770037b174aabd5c660edaa385cdd0775",
31
- "fallback": {
32
- "url": "https://github.com/volcengine/ark-cli/releases/download/v1.0.42/arkcli-1.0.42-linux-arm64",
33
- "kind": "github-release"
34
- }
17
+ "url": "https://lf3-static.bytednsdoc.com/obj/eden-cn/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.43-prerelease.665eb29e6168/arkcli-1.0.43-prerelease.665eb29e6168-linux-arm64",
18
+ "sha256": "fa4a802fe3be5f46e2c76f4300b855cfa3402c1122f3c75cbb267c6d0aa03635"
35
19
  },
36
20
  "windows-amd64": {
37
- "url": "https://lf3-static.bytednsdoc.com/obj/eden-cn/psjryh/ljhwZthlaukjlkulzlp/prod/1.0.42/arkcli-1.0.42-windows-amd64.exe",
38
- "sha256": "c0bc8dc957b7c6da9c77b971c81b9813b2e75dce32dc1044bc2dff50bd61797a",
39
- "fallback": {
40
- "url": "https://github.com/volcengine/ark-cli/releases/download/v1.0.42/arkcli-1.0.42-windows-amd64.exe",
41
- "kind": "github-release"
42
- }
21
+ "url": "https://lf3-static.bytednsdoc.com/obj/eden-cn/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.43-prerelease.665eb29e6168/arkcli-1.0.43-prerelease.665eb29e6168-windows-amd64.exe",
22
+ "sha256": "3052a5f0e848a282d7027708e09413e1a3416e68f0e4f15fa4d88eb1f389cb22"
43
23
  },
44
24
  "windows-arm64": {
45
- "url": "https://lf3-static.bytednsdoc.com/obj/eden-cn/psjryh/ljhwZthlaukjlkulzlp/prod/1.0.42/arkcli-1.0.42-windows-arm64.exe",
46
- "sha256": "b6d6d3a9b09ed3c8553556fe6dbc6e46368fa6f54f914d1274379817738b1410",
47
- "fallback": {
48
- "url": "https://github.com/volcengine/ark-cli/releases/download/v1.0.42/arkcli-1.0.42-windows-arm64.exe",
49
- "kind": "github-release"
50
- }
25
+ "url": "https://lf3-static.bytednsdoc.com/obj/eden-cn/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.43-prerelease.665eb29e6168/arkcli-1.0.43-prerelease.665eb29e6168-windows-arm64.exe",
26
+ "sha256": "6789f98b724d90b17ea5f1cbb64517e8034f0c01a8ec9d9116502cebd2c10907"
51
27
  }
52
28
  },
53
29
  "skills": {
54
30
  "primary": {
55
- "url": "https://lf3-static.bytednsdoc.com/obj/eden-cn/psjryh/ljhwZthlaukjlkulzlp/prod/1.0.42/skills.tar.gz",
56
- "sha256": "23851e477b3951af3b565f29823c1b058ab2d79f40a1dc5e47d2af56859dc844",
31
+ "url": "https://lf3-static.bytednsdoc.com/obj/eden-cn/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.43-prerelease.665eb29e6168/skills.tar.gz",
32
+ "sha256": "acd8ffc03e7d80ff4a2f3636fbdfc2422b6fd275ffd7be60d44d57b14eac8b1d",
57
33
  "kind": "cdn"
58
34
  },
59
- "tag": "v1.0.42",
60
- "fallback": {
61
- "url": "https://github.com/volcengine/ark-cli/archive/refs/tags/v1.0.42.tar.gz",
62
- "kind": "github"
63
- }
35
+ "tag": "v1.0.43-prerelease.665eb29e6168"
64
36
  }
65
37
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volcengine/ark-cli",
3
- "version": "1.0.42",
3
+ "version": "1.0.43-prerelease.665eb29e6168",
4
4
  "description": "火山方舟 ARK 平台命令行工具",
5
5
  "bin": {
6
6
  "arkcli": "scripts/run.js"
@@ -328,6 +328,9 @@ async function downloadVerifiedBinary(sources, dest, expectedSHA) {
328
328
  }
329
329
  }
330
330
 
331
+ // Skip only Skills download/sync, after binary verification and initialization.
332
+ if (process.env.ARKCLI_SKIP_SKILLS === "1") return;
333
+
331
334
  // —— +connect --refresh:下载最新 skill 到 <pkg>/skills/ 再装进各 agent ——
332
335
  // skill 的下载/解压/校验【收口在 Go 二进制】(internal/skillfs.Refresh),postinstall
333
336
  // 不再自己下 skill。+connect 非交互(自动检测 agent + 全装),有/无 tty 都能跑:有