@kscs-inc/cli 0.4.0 → 0.4.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/README.md CHANGED
@@ -5,11 +5,11 @@
5
5
  ## 安装
6
6
 
7
7
  ```sh
8
- npx @kscs-inc/cli@0.4.0 install
8
+ npx @kscs-inc/cli@0.4.1 install
9
9
  # 国内镜像(同步可能延迟)
10
- npx --registry=https://registry.npmmirror.com @kscs-inc/cli@0.4.0 install
10
+ npx --registry=https://registry.npmmirror.com @kscs-inc/cli@0.4.1 install
11
11
  # 或全局安装入口后显式安装客户端
12
- npm install -g @kscs-inc/cli@0.4.0
12
+ npm install -g @kscs-inc/cli@0.4.1
13
13
  kscs install
14
14
  ```
15
15
 
@@ -27,6 +27,6 @@ kscs products list
27
27
 
28
28
  ## 安全与更新
29
29
 
30
- 入口版本0.4.0固定对应发行目标,验证Ed25519签名及SHA256后调用同一安装事务。客户端自带Node,后续使用kscs update check/status/apply;npm仅更新入口。npm uninstall -g @kscs-inc/cli只删除npm入口,不删除实际客户端、配置和Skill。业务请求直接到公司CLI服务,不经过npm或镜像。
30
+ 入口版本0.4.1固定对应发行目标,验证Ed25519签名及SHA256后调用同一安装事务。客户端自带Node,后续使用kscs update check/status/apply;npm仅更新入口。npm uninstall -g @kscs-inc/cli只删除npm入口,不删除实际客户端、配置和Skill。业务请求直接到公司CLI服务,不经过npm或镜像。
31
31
 
32
32
  如安装中断,保留原客户端与身份,按中文错误提示恢复;不关闭TLS或签名校验。镜像不可用时从npm官方源重试或使用官网安装方式。内联第三方代码许可见THIRD-PARTY-NOTICES.txt。
package/bin/kscs.mjs CHANGED
@@ -32,9 +32,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
32
32
  mod
33
33
  ));
34
34
 
35
- // node_modules/.pnpm/pend@1.2.0/node_modules/pend/index.js
35
+ // ../../../../../旷世传声/code/kscs-cli/code/node_modules/.pnpm/pend@1.2.0/node_modules/pend/index.js
36
36
  var require_pend = __commonJS({
37
- "node_modules/.pnpm/pend@1.2.0/node_modules/pend/index.js"(exports, module) {
37
+ "../../../../../\u65F7\u4E16\u4F20\u58F0/code/kscs-cli/code/node_modules/.pnpm/pend@1.2.0/node_modules/pend/index.js"(exports, module) {
38
38
  module.exports = Pend;
39
39
  function Pend() {
40
40
  this.pending = 0;
@@ -87,9 +87,9 @@ var require_pend = __commonJS({
87
87
  }
88
88
  });
89
89
 
90
- // node_modules/.pnpm/yauzl@3.4.0/node_modules/yauzl/fd-slicer.js
90
+ // ../../../../../旷世传声/code/kscs-cli/code/node_modules/.pnpm/yauzl@3.4.0/node_modules/yauzl/fd-slicer.js
91
91
  var require_fd_slicer = __commonJS({
92
- "node_modules/.pnpm/yauzl@3.4.0/node_modules/yauzl/fd-slicer.js"(exports) {
92
+ "../../../../../\u65F7\u4E16\u4F20\u58F0/code/kscs-cli/code/node_modules/.pnpm/yauzl@3.4.0/node_modules/yauzl/fd-slicer.js"(exports) {
93
93
  var fs = __require("fs");
94
94
  var util = __require("util");
95
95
  var stream = __require("stream");
@@ -244,9 +244,9 @@ var require_fd_slicer = __commonJS({
244
244
  }
245
245
  });
246
246
 
247
- // node_modules/.pnpm/yauzl@3.4.0/node_modules/yauzl/crc32.js
247
+ // ../../../../../旷世传声/code/kscs-cli/code/node_modules/.pnpm/yauzl@3.4.0/node_modules/yauzl/crc32.js
248
248
  var require_crc32 = __commonJS({
249
- "node_modules/.pnpm/yauzl@3.4.0/node_modules/yauzl/crc32.js"(exports, module) {
249
+ "../../../../../\u65F7\u4E16\u4F20\u58F0/code/kscs-cli/code/node_modules/.pnpm/yauzl@3.4.0/node_modules/yauzl/crc32.js"(exports, module) {
250
250
  var CRC_TABLE = new Int32Array([
251
251
  0,
252
252
  1996959894,
@@ -516,9 +516,9 @@ var require_crc32 = __commonJS({
516
516
  }
517
517
  });
518
518
 
519
- // node_modules/.pnpm/yauzl@3.4.0/node_modules/yauzl/index.js
519
+ // ../../../../../旷世传声/code/kscs-cli/code/node_modules/.pnpm/yauzl@3.4.0/node_modules/yauzl/index.js
520
520
  var require_yauzl = __commonJS({
521
- "node_modules/.pnpm/yauzl@3.4.0/node_modules/yauzl/index.js"(exports) {
521
+ "../../../../../\u65F7\u4E16\u4F20\u58F0/code/kscs-cli/code/node_modules/.pnpm/yauzl@3.4.0/node_modules/yauzl/index.js"(exports) {
522
522
  var fs = __require("fs");
523
523
  var zlib = __require("zlib");
524
524
  var fd_slicer = require_fd_slicer();
@@ -1574,7 +1574,7 @@ async function downloadResponse(url, allowLocal, timeoutMs) {
1574
1574
  response = await fetch(target, {
1575
1575
  redirect: "manual",
1576
1576
  signal,
1577
- headers: { "User-Agent": "kscs-node-installer/1" }
1577
+ headers: { "User-Agent": "kscs-node-installer/1", "Cache-Control": "no-cache" }
1578
1578
  });
1579
1579
  } catch (error) {
1580
1580
  const cause = error instanceof Error ? error.cause : void 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kscs-inc/cli",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "旷世传声 CLI 官方安装入口:中文引导、签名校验、公司客户端安装。",
5
5
  "type": "module",
6
6
  "bin": {
package/release.json CHANGED
@@ -1,79 +1,79 @@
1
1
  {
2
2
  "schema_version": 1,
3
3
  "name": "@kscs-inc/cli",
4
- "version": "0.4.0",
4
+ "version": "0.4.1",
5
5
  "targets": [
6
6
  {
7
7
  "mode": "personal",
8
8
  "platform": "darwin",
9
9
  "arch": "arm64",
10
10
  "channel": "stable",
11
- "manifest": "https://cli.xaweiju.com/downloads/cli/node/20261027-003210-a6be6f68/manifest.json",
12
- "manifest_sha256": "1ab7e67891349798e303b89f305b75ec74a2e0dae49ead8142f4efb923aeec51",
13
- "build_id": "20261027-003210-a6be6f68"
11
+ "manifest": "https://cli.xaweiju.com/downloads/cli/node/20261027-200607-67ee0f6f/manifest.json",
12
+ "manifest_sha256": "739b2dd55cf48c500358f1e97aee7b682eee85d1becf045ff3dd85fed7b73ef1",
13
+ "build_id": "20261027-200607-67ee0f6f"
14
14
  },
15
15
  {
16
16
  "mode": "personal",
17
17
  "platform": "darwin",
18
18
  "arch": "x64",
19
19
  "channel": "stable",
20
- "manifest": "https://cli.xaweiju.com/downloads/cli/node/20261027-003218-f6c9db82/manifest.json",
21
- "manifest_sha256": "e4fe53150f2e509be8a94a68e2ff95f3cd47529b1c593dd548665391de4677c0",
22
- "build_id": "20261027-003218-f6c9db82"
20
+ "manifest": "https://cli.xaweiju.com/downloads/cli/node/20261027-200616-55978e1f/manifest.json",
21
+ "manifest_sha256": "dd5fd7992b5fced250f587538aef67cd34147537f62d702563e4d92d68465f1e",
22
+ "build_id": "20261027-200616-55978e1f"
23
23
  },
24
24
  {
25
25
  "mode": "personal",
26
26
  "platform": "linux",
27
27
  "arch": "arm64",
28
28
  "channel": "stable",
29
- "manifest": "https://cli.xaweiju.com/downloads/cli/node/20261027-003229-d40918cc/manifest.json",
30
- "manifest_sha256": "f5b064923e98e836b4ddc9452556257a2edf121227c70fe3c147a14b4e844ac8",
31
- "build_id": "20261027-003229-d40918cc"
29
+ "manifest": "https://cli.xaweiju.com/downloads/cli/node/20261027-200628-61306d06/manifest.json",
30
+ "manifest_sha256": "69b6aaa8e191d09df66fbfa0764a1fd4abb38e17fbaf1e459f1be4575e6dd00d",
31
+ "build_id": "20261027-200628-61306d06"
32
32
  },
33
33
  {
34
34
  "mode": "personal",
35
35
  "platform": "linux",
36
36
  "arch": "x64",
37
37
  "channel": "stable",
38
- "manifest": "https://cli.xaweiju.com/downloads/cli/node/20261027-003236-7cebb69c/manifest.json",
39
- "manifest_sha256": "20fa4cf52b7a362e30f0f9f7b3bf1e630e683b24645ceedffeb5e8f44e062c17",
40
- "build_id": "20261027-003236-7cebb69c"
38
+ "manifest": "https://cli.xaweiju.com/downloads/cli/node/20261027-200635-f73803cc/manifest.json",
39
+ "manifest_sha256": "fefa1b19056c1d279a3f7004ec1477011b411350763c4639161c2f9cd489a4b8",
40
+ "build_id": "20261027-200635-f73803cc"
41
41
  },
42
42
  {
43
43
  "mode": "personal",
44
44
  "platform": "win32",
45
45
  "arch": "arm64",
46
46
  "channel": "stable",
47
- "manifest": "https://cli.xaweiju.com/downloads/cli/node/20261027-003243-28937214/manifest.json",
48
- "manifest_sha256": "38d45bf0b962308bc79b5e2c6acc8d941217f2586184f117c9cbd9aa1aa1ee7b",
49
- "build_id": "20261027-003243-28937214"
47
+ "manifest": "https://cli.xaweiju.com/downloads/cli/node/20261027-200644-2c944a47/manifest.json",
48
+ "manifest_sha256": "6735363656121a178a0e47d11fecaa98c4b23d03057201115f6103afa85ad076",
49
+ "build_id": "20261027-200644-2c944a47"
50
50
  },
51
51
  {
52
52
  "mode": "personal",
53
53
  "platform": "win32",
54
54
  "arch": "x64",
55
55
  "channel": "stable",
56
- "manifest": "https://cli.xaweiju.com/downloads/cli/node/20261027-003249-7394c20b/manifest.json",
57
- "manifest_sha256": "572a7940dacc0bade3a3e9cf23fde31fccc2bbef33517ebbdc605d716d791f47",
58
- "build_id": "20261027-003249-7394c20b"
56
+ "manifest": "https://cli.xaweiju.com/downloads/cli/node/20261027-200718-eee9c4e8/manifest.json",
57
+ "manifest_sha256": "d5178c4772e9a42569fce61621a193d64aaaaf61cfb11d5c77b8489173ff3836",
58
+ "build_id": "20261027-200718-eee9c4e8"
59
59
  },
60
60
  {
61
61
  "mode": "team",
62
62
  "platform": "linux",
63
63
  "arch": "arm64",
64
64
  "channel": "stable",
65
- "manifest": "https://cli.xaweiju.com/downloads/cli/node/20261027-003255-61679633/manifest.json",
66
- "manifest_sha256": "1d3f672a0c12035e7b313620fc426c12b6d9c0927d3ac8f82407a0960974926f",
67
- "build_id": "20261027-003255-61679633"
65
+ "manifest": "https://cli.xaweiju.com/downloads/cli/node/20261027-200747-64de97d9/manifest.json",
66
+ "manifest_sha256": "04a722770565d93b610a93d17f9a20292f294e88a77870be55d5569ed11ba747",
67
+ "build_id": "20261027-200747-64de97d9"
68
68
  },
69
69
  {
70
70
  "mode": "team",
71
71
  "platform": "linux",
72
72
  "arch": "x64",
73
73
  "channel": "stable",
74
- "manifest": "https://cli.xaweiju.com/downloads/cli/node/20261027-003302-ae379fe0/manifest.json",
75
- "manifest_sha256": "8627a3dd783342d88890d2dc81579fa75cbbfd97eacbbd67eb2997aa001ce9e0",
76
- "build_id": "20261027-003302-ae379fe0"
74
+ "manifest": "https://cli.xaweiju.com/downloads/cli/node/20261027-200810-34e06280/manifest.json",
75
+ "manifest_sha256": "d5872df14ce2c52a60c10b0c10218c1164356e5ca1057e74df4a36db9185e2a5",
76
+ "build_id": "20261027-200810-34e06280"
77
77
  }
78
78
  ]
79
79
  }
@@ -1 +1 @@
1
- {"algorithm":"Ed25519","key_id":"kscs-release-20261023","payload":"eyJzY2hlbWFfdmVyc2lvbiI6MSwicGF0aCI6Ii9kb3dubG9hZHMvY2xpL25vZGUvbnBtLzAuNC4wL3JlbGVhc2UuanNvbiIsInNoYTI1NiI6ImI0N2NiMDBkY2Y4Y2MzOGI3MzY4ZGFhNTI4NmFhN2MwMWM5NjM4NDZjMmEzOTIxMjNhYWYzMjhlMWM1MTVhMGUiLCJpc3N1ZWRfYXQiOjE3OTMwNjk2MzgsImV4cGlyZXNfYXQiOjE4MjQ2MDU2Mzh9","signature":"ltNXDwF/fmQ4JCbSbAq6zp3SiuwsazEShBI1BYavDkqerWMl+lUEtJZo5jTFO8IGElqd8aVNLj2n3z0KtmbnDA=="}
1
+ {"algorithm":"Ed25519","key_id":"kscs-release-20261023","payload":"eyJzY2hlbWFfdmVyc2lvbiI6MSwicGF0aCI6Ii9kb3dubG9hZHMvY2xpL25vZGUvbnBtLzAuNC4xL3JlbGVhc2UuanNvbiIsInNoYTI1NiI6IjU0MDAyMTVjZGEzMDg5ZWYzNWU5NjhiZDMwZjgyYWEyMDMyMTUzYjI4ZDZiNjU3MmRjZDU0MDA4NjIzMDMzNzciLCJpc3N1ZWRfYXQiOjE3OTMxMDY2OTAsImV4cGlyZXNfYXQiOjE4MjQ2NDI2OTB9","signature":"500yxN6pdj1m7Du5LtfGlGAkPSZi5xwIdc1uOZi3p3BPY4ryAeyQXYP6u8xm3SyRN7rNb8e3APhIn23fXjVQAg=="}