@byteplus/ark-cli 1.0.31 → 1.0.32-prerelease.d576cee13390

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/manifest.json CHANGED
@@ -1,72 +1,43 @@
1
1
  {
2
2
  "package": "@byteplus/ark-cli",
3
- "version": "1.0.31",
3
+ "version": "1.0.32-prerelease.d576cee13390",
4
4
  "platforms": {
5
5
  "darwin-amd64": {
6
6
  "kind": "cdn",
7
- "url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prod/1.0.31/arkcli-1.0.31-darwin-amd64",
8
- "sha256": "7b535a60ec030441612d29006965c616482a9b649f690aa350390e36d5c8f567",
9
- "fallback": {
10
- "kind": "github-release",
11
- "url": "https://github.com/byteplus-sdk/ark-cli/releases/download/v1.0.31/arkcli-1.0.31-darwin-amd64"
12
- }
7
+ "url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.32-prerelease.d576cee13390/arkcli-1.0.32-prerelease.d576cee13390-darwin-amd64",
8
+ "sha256": "3d7dde8b7aeca1667bda2430a293dc44be01c384f8c4b37e080bad2b3332f3c0"
13
9
  },
14
10
  "darwin-arm64": {
15
11
  "kind": "cdn",
16
- "url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prod/1.0.31/arkcli-1.0.31-darwin-arm64",
17
- "sha256": "a660eb9c815eaa850e26ba222e4ae4cba85998b3b27312bc0bf6936a779af881",
18
- "fallback": {
19
- "kind": "github-release",
20
- "url": "https://github.com/byteplus-sdk/ark-cli/releases/download/v1.0.31/arkcli-1.0.31-darwin-arm64"
21
- }
12
+ "url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.32-prerelease.d576cee13390/arkcli-1.0.32-prerelease.d576cee13390-darwin-arm64",
13
+ "sha256": "4d034f0fdc8d63f03e9136ed37357bd59d7122d8b4eccb9db6e40288af68a585"
22
14
  },
23
15
  "linux-amd64": {
24
16
  "kind": "cdn",
25
- "url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prod/1.0.31/arkcli-1.0.31-linux-amd64",
26
- "sha256": "a3141704d19feada11a6a9bb1b4615dd83909c6656c541e989fd000c42aa7d52",
27
- "fallback": {
28
- "kind": "github-release",
29
- "url": "https://github.com/byteplus-sdk/ark-cli/releases/download/v1.0.31/arkcli-1.0.31-linux-amd64"
30
- }
17
+ "url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.32-prerelease.d576cee13390/arkcli-1.0.32-prerelease.d576cee13390-linux-amd64",
18
+ "sha256": "b48b2f8d57be7639bee7c7e25a3015d7cc030cf82ac4c6e1405b77a9cd9d7dc4"
31
19
  },
32
20
  "linux-arm64": {
33
21
  "kind": "cdn",
34
- "url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prod/1.0.31/arkcli-1.0.31-linux-arm64",
35
- "sha256": "075180a1728edb3e8c54915b29d94ebb9dc4b77c9783ed910570ce18eca8f8c4",
36
- "fallback": {
37
- "kind": "github-release",
38
- "url": "https://github.com/byteplus-sdk/ark-cli/releases/download/v1.0.31/arkcli-1.0.31-linux-arm64"
39
- }
22
+ "url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.32-prerelease.d576cee13390/arkcli-1.0.32-prerelease.d576cee13390-linux-arm64",
23
+ "sha256": "4d553d0ca52ee34d4ef394324db2cf14825c012dd24a578c8f0e4d0743325409"
40
24
  },
41
25
  "windows-amd64": {
42
26
  "kind": "cdn",
43
- "url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prod/1.0.31/arkcli-1.0.31-windows-amd64.exe",
44
- "sha256": "9d690f554f0022fae141f9f1045c29a84f8cb1f419e925c76f6deda480ea8122",
45
- "fallback": {
46
- "kind": "github-release",
47
- "url": "https://github.com/byteplus-sdk/ark-cli/releases/download/v1.0.31/arkcli-1.0.31-windows-amd64.exe"
48
- }
27
+ "url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.32-prerelease.d576cee13390/arkcli-1.0.32-prerelease.d576cee13390-windows-amd64.exe",
28
+ "sha256": "03f1683c686fa11b6527f20e462ccb790659b5924eb244dd1341bc748f4b389c"
49
29
  },
50
30
  "windows-arm64": {
51
31
  "kind": "cdn",
52
- "url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prod/1.0.31/arkcli-1.0.31-windows-arm64.exe",
53
- "sha256": "0b4cdf792c9b920f282ce4c5ffd4a81f0b5556b857baabed4ceef67b3368e491",
54
- "fallback": {
55
- "kind": "github-release",
56
- "url": "https://github.com/byteplus-sdk/ark-cli/releases/download/v1.0.31/arkcli-1.0.31-windows-arm64.exe"
57
- }
32
+ "url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.32-prerelease.d576cee13390/arkcli-1.0.32-prerelease.d576cee13390-windows-arm64.exe",
33
+ "sha256": "ff6688b0d284d8017cec3486ac216a92acfebddc1de4d38d7fb008b3ef09ca86"
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/prod/1.0.31/skills.tar.gz",
64
- "sha256": "47f0a41716ed9a43284ff2ecbbc5f119fcf18c8ff808e0151866a3524560cea7"
65
- },
66
- "tag": "v1.0.31",
67
- "fallback": {
68
- "kind": "github",
69
- "url": "https://github.com/byteplus-sdk/ark-cli/archive/refs/tags/v1.0.31.tar.gz"
39
+ "url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.32-prerelease.d576cee13390/skills.tar.gz",
40
+ "sha256": "b7953672929e7eb732dbf7d20e2bd81ad581600456a5ddf64dd45d31a481d932"
70
41
  }
71
42
  }
72
43
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteplus/ark-cli",
3
- "version": "1.0.31",
3
+ "version": "1.0.32-prerelease.d576cee13390",
4
4
  "description": "BytePlus Ark command-line interface",
5
5
  "bin": {
6
6
  "arkcli": "scripts/run.js"
@@ -462,6 +462,7 @@ async function install() {
462
462
  "grace_completed",
463
463
  "automatic_active",
464
464
  "manual_reinstall_suspended",
465
+ "non_latest_disabled",
465
466
  ].includes(enrollmentPhase)) {
466
467
  throw new Error(`unexpected automatic-update enrollment phase ${JSON.stringify(enrollmentPhase)}`);
467
468
  }
@@ -509,6 +510,8 @@ async function install() {
509
510
  writeInstallNotice(`${PACKAGE_NAME}: silent stable patch updates are enabled by default for this new install; the first successful eligible human business command may schedule a background update. Disable with \`arkcli config set update.mode disabled\`.`);
510
511
  } else if (enrollmentPhase === "manual_reinstall_suspended") {
511
512
  writeInstallNotice(`${PACKAGE_NAME}: a manual npm install or version change was detected, so silent automatic updates are paused. Keep this version with \`arkcli config set update.mode disabled\`; resume with \`arkcli config set update.mode automatic\`.`);
513
+ } else if (enrollmentPhase === "non_latest_disabled") {
514
+ writeInstallNotice(`${PACKAGE_NAME}: the installed version is not the registry's current latest, so silent automatic updates were disabled to keep this version pinned. To resume, install latest and then run \`arkcli config set update.mode automatic\`.`);
512
515
  } else if (enrollmentPhase === "disabled" || mode === "disabled" || mode === "notify") {
513
516
  if (mode === "notify") {
514
517
  writeInstallNotice(`${PACKAGE_NAME}: the legacy notify-only update policy was preserved; silent automatic update is not active. Resume with \`arkcli config set update.mode automatic\`.`);