@byteplus/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 +8 -0
- package/manifest.json +15 -44
- package/package.json +1 -1
- package/scripts/postinstall.js +3 -0
package/README.md
CHANGED
|
@@ -8,6 +8,14 @@ BytePlus Ark CLI provides command-line access and Agent Skills for BytePlus Ark.
|
|
|
8
8
|
npm install -g @byteplus/ark-cli@latest
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
+
To skip Skills downloads and automatic installation for this npm install:
|
|
12
|
+
|
|
13
|
+
```shell
|
|
14
|
+
ARKCLI_SKIP_SKILLS=1 npm install -g @byteplus/ark-cli@latest
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
The same environment variable works across all products and internal/public npm packages. Only the exact value `1` enables it; all other values preserve the default behavior. CLI binary download, verification, installation, and initialization still run. Skills already included in the npm package remain part of that package. The setting is not persisted and does not remove existing Skills; you can still run `arkcli +connect` manually later. Do not substitute `ARKCLI_SKIP_POSTINSTALL=1`, which skips the entire hook, including binary downloads.
|
|
18
|
+
|
|
11
19
|
After installing the CLI, authenticate and install the bundled Skills into the supported local agents:
|
|
12
20
|
|
|
13
21
|
```shell
|
package/manifest.json
CHANGED
|
@@ -1,72 +1,43 @@
|
|
|
1
1
|
{
|
|
2
2
|
"package": "@byteplus/ark-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.43-prerelease.665eb29e6168",
|
|
4
4
|
"platforms": {
|
|
5
5
|
"darwin-amd64": {
|
|
6
6
|
"kind": "cdn",
|
|
7
|
-
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/
|
|
8
|
-
"sha256": "
|
|
9
|
-
"fallback": {
|
|
10
|
-
"kind": "github-release",
|
|
11
|
-
"url": "https://github.com/byteplus-sdk/ark-cli/releases/download/v1.0.42/arkcli-1.0.42-darwin-amd64"
|
|
12
|
-
}
|
|
7
|
+
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.43-prerelease.665eb29e6168/arkcli-1.0.43-prerelease.665eb29e6168-darwin-amd64",
|
|
8
|
+
"sha256": "6f5ca19c1f6bd1b3108ddd0ea5e3f787b545c89ceaf787f1ea9e65ebf1d6430f"
|
|
13
9
|
},
|
|
14
10
|
"darwin-arm64": {
|
|
15
11
|
"kind": "cdn",
|
|
16
|
-
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/
|
|
17
|
-
"sha256": "
|
|
18
|
-
"fallback": {
|
|
19
|
-
"kind": "github-release",
|
|
20
|
-
"url": "https://github.com/byteplus-sdk/ark-cli/releases/download/v1.0.42/arkcli-1.0.42-darwin-arm64"
|
|
21
|
-
}
|
|
12
|
+
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.43-prerelease.665eb29e6168/arkcli-1.0.43-prerelease.665eb29e6168-darwin-arm64",
|
|
13
|
+
"sha256": "2978d379ddb22d99912bdca4361f34f5e6503278af7e8d28bb45f3e1935c9575"
|
|
22
14
|
},
|
|
23
15
|
"linux-amd64": {
|
|
24
16
|
"kind": "cdn",
|
|
25
|
-
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/
|
|
26
|
-
"sha256": "
|
|
27
|
-
"fallback": {
|
|
28
|
-
"kind": "github-release",
|
|
29
|
-
"url": "https://github.com/byteplus-sdk/ark-cli/releases/download/v1.0.42/arkcli-1.0.42-linux-amd64"
|
|
30
|
-
}
|
|
17
|
+
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.43-prerelease.665eb29e6168/arkcli-1.0.43-prerelease.665eb29e6168-linux-amd64",
|
|
18
|
+
"sha256": "ab7e2f6c6768ec94aa2778d6b2f83c501d599d481e32c217158091cb43755fb3"
|
|
31
19
|
},
|
|
32
20
|
"linux-arm64": {
|
|
33
21
|
"kind": "cdn",
|
|
34
|
-
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/
|
|
35
|
-
"sha256": "
|
|
36
|
-
"fallback": {
|
|
37
|
-
"kind": "github-release",
|
|
38
|
-
"url": "https://github.com/byteplus-sdk/ark-cli/releases/download/v1.0.42/arkcli-1.0.42-linux-arm64"
|
|
39
|
-
}
|
|
22
|
+
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.43-prerelease.665eb29e6168/arkcli-1.0.43-prerelease.665eb29e6168-linux-arm64",
|
|
23
|
+
"sha256": "029bdc92f5b1b68db15693c28d4cc4696eb77311ddda19af18fb4952b3055490"
|
|
40
24
|
},
|
|
41
25
|
"windows-amd64": {
|
|
42
26
|
"kind": "cdn",
|
|
43
|
-
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/
|
|
44
|
-
"sha256": "
|
|
45
|
-
"fallback": {
|
|
46
|
-
"kind": "github-release",
|
|
47
|
-
"url": "https://github.com/byteplus-sdk/ark-cli/releases/download/v1.0.42/arkcli-1.0.42-windows-amd64.exe"
|
|
48
|
-
}
|
|
27
|
+
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.43-prerelease.665eb29e6168/arkcli-1.0.43-prerelease.665eb29e6168-windows-amd64.exe",
|
|
28
|
+
"sha256": "ea71fd446ced1c95ab228987e0dbf5423ae60a4f82eaa99693b832e31a07da28"
|
|
49
29
|
},
|
|
50
30
|
"windows-arm64": {
|
|
51
31
|
"kind": "cdn",
|
|
52
|
-
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/
|
|
53
|
-
"sha256": "
|
|
54
|
-
"fallback": {
|
|
55
|
-
"kind": "github-release",
|
|
56
|
-
"url": "https://github.com/byteplus-sdk/ark-cli/releases/download/v1.0.42/arkcli-1.0.42-windows-arm64.exe"
|
|
57
|
-
}
|
|
32
|
+
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.43-prerelease.665eb29e6168/arkcli-1.0.43-prerelease.665eb29e6168-windows-arm64.exe",
|
|
33
|
+
"sha256": "71c23a54baa13bb8099a3a6192818a1607f22b6b00859e2710280b1f38da4e6a"
|
|
58
34
|
}
|
|
59
35
|
},
|
|
60
36
|
"skills": {
|
|
61
37
|
"primary": {
|
|
62
38
|
"kind": "cdn",
|
|
63
|
-
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/
|
|
64
|
-
"sha256": "
|
|
65
|
-
},
|
|
66
|
-
"tag": "v1.0.42",
|
|
67
|
-
"fallback": {
|
|
68
|
-
"kind": "github",
|
|
69
|
-
"url": "https://github.com/byteplus-sdk/ark-cli/archive/refs/tags/v1.0.42.tar.gz"
|
|
39
|
+
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.43-prerelease.665eb29e6168/skills.tar.gz",
|
|
40
|
+
"sha256": "c31816fec0587b70dff2cae0bf619a2471cace5d3bf099efb0c16c8fcec04d48"
|
|
70
41
|
}
|
|
71
42
|
}
|
|
72
43
|
}
|
package/package.json
CHANGED
package/scripts/postinstall.js
CHANGED
|
@@ -526,6 +526,9 @@ async function install() {
|
|
|
526
526
|
}
|
|
527
527
|
}
|
|
528
528
|
|
|
529
|
+
// Skip only Skills download/sync, after binary verification and initialization.
|
|
530
|
+
if (process.env.ARKCLI_SKIP_SKILLS === "1") return;
|
|
531
|
+
|
|
529
532
|
let tty = null;
|
|
530
533
|
try {
|
|
531
534
|
tty = fs.openSync("/dev/tty", "r+");
|