siluzan-cso-cli 1.1.32 → 1.1.33-beta.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
@@ -46,7 +46,7 @@
46
46
  在**用户的目标项目根目录**执行(根据用户使用的助手选择 `--ai`):
47
47
 
48
48
  ```bash
49
- npm install -g siluzan-cso-cli
49
+ npm install -g siluzan-cso-cli@beta
50
50
  siluzan-cso init --ai cursor # 写入 Cursor(默认)
51
51
  siluzan-cso init --ai cursor,claude # 同时写入多个平台
52
52
  siluzan-cso init --ai all # 写入所有支持的平台
@@ -54,6 +54,7 @@ siluzan-cso init -d /path/to/skills # 写入自定义目录
54
54
  siluzan-cso init --force # 强制覆盖已存在文件
55
55
  ```
56
56
 
57
+ > **注意**:当前为测试版(1.1.33-beta.1),供内部测试使用。正式发布后安装命令将改为 `npm install -g siluzan-cso-cli`。
57
58
 
58
59
  | 助手 | 建议 `--ai` |
59
60
  | ----------------------- | ------------------------------------ |
package/dist/index.js CHANGED
@@ -2539,8 +2539,8 @@ function isUUID(value) {
2539
2539
  var randomUUID = _randomUUID;
2540
2540
  function getCurrentVersion(importMetaUrl) {
2541
2541
  try {
2542
- const __dirname2 = path2.dirname(fileURLToPath(importMetaUrl));
2543
- const pkgPath = path2.join(__dirname2, "..", "package.json");
2542
+ const __dirname3 = path2.dirname(fileURLToPath(importMetaUrl));
2543
+ const pkgPath = path2.join(__dirname3, "..", "package.json");
2544
2544
  const pkg = JSON.parse(fs2.readFileSync(pkgPath, "utf8"));
2545
2545
  return pkg.version ?? "0.0.0";
2546
2546
  } catch {
@@ -3436,11 +3436,11 @@ import { Command } from "commander";
3436
3436
  import { Option } from "commander";
3437
3437
 
3438
3438
  // src/config/defaults.ts
3439
- var BUILD_ENV = "production";
3440
- var DEFAULT_API_BASE = "https://api.siluzan.com";
3441
- var DEFAULT_CSO_BASE = "https://cso.siluzan.com";
3442
- var DEFAULT_WEB_BASE = "https://www.siluzan.com";
3443
- var DEFAULT_AGENT_BASE = "https://agent.mysiluzan.com";
3439
+ var BUILD_ENV = "test";
3440
+ var DEFAULT_API_BASE = "https://api-ci.siluzan.com";
3441
+ var DEFAULT_CSO_BASE = "https://cso-ci.siluzan.com";
3442
+ var DEFAULT_WEB_BASE = "https://www-ci.siluzan.com";
3443
+ var DEFAULT_AGENT_BASE = "https://agent-ci.mysiluzan.com";
3444
3444
 
3445
3445
  // src/commands/init.ts
3446
3446
  import * as fs6 from "fs/promises";
@@ -5806,28 +5806,32 @@ async function runValidateContent(options) {
5806
5806
  // src/commands/workflow/load-libraries.ts
5807
5807
  import * as fs12 from "fs";
5808
5808
  import * as path12 from "path";
5809
- var REMOTE_BASE = "https://staticpn.siluzan.com/assets/chat/thrju_sofn";
5809
+ import { fileURLToPath as fileURLToPath3 } from "url";
5810
5810
  var WECHAT_PACK_PATH = "packs/wechat";
5811
5811
  var LIB_FILES = [
5812
5812
  { label: "\u6D41\u91CF\u56E0\u5B50\u5E93", file: "umferdarthattasafn.md" },
5813
5813
  { label: "\u4EA7\u54C1\u8D44\u4EA7\u5E93", file: "vorueignasafn.md" },
5814
5814
  { label: "\u70F9\u8C03\u65B9\u6CD5\u5E93", file: "matreidsluadferdasafn.md" }
5815
5815
  ];
5816
+ var __dirname2 = path12.dirname(fileURLToPath3(import.meta.url));
5817
+ function librariesRoot() {
5818
+ return path12.join(__dirname2, "thrju_sofn");
5819
+ }
5816
5820
  function isWechatPlatform(platform) {
5817
5821
  return /公众号|微信|wechat/i.test(platform);
5818
5822
  }
5819
- async function downloadText(url) {
5820
- const res = await rawRequest(url, { headers: { Accept: "text/plain,text/markdown,*/*" } });
5821
- if (res.status < 200 || res.status >= 300) {
5822
- throw new Error(`HTTP ${res.status} \u2014 ${url}`);
5823
- }
5824
- if (res.text.trim().length === 0) {
5825
- throw new Error(`\u8FDC\u7AEF\u6587\u4EF6\u4E3A\u7A7A \u2014 ${url}`);
5826
- }
5827
- return res.text;
5828
- }
5829
- async function fetchAllFrom(base) {
5830
- return Promise.all(LIB_FILES.map((lib) => downloadText(`${base}/${lib.file}`)));
5823
+ function readAllFrom(baseDir) {
5824
+ return LIB_FILES.map((lib) => {
5825
+ const filePath = path12.join(baseDir, lib.file);
5826
+ if (!fs12.existsSync(filePath)) {
5827
+ throw new Error(`\u6587\u4EF6\u4E0D\u5B58\u5728 \u2014 ${filePath}`);
5828
+ }
5829
+ const text = fs12.readFileSync(filePath, "utf8");
5830
+ if (text.trim().length === 0) {
5831
+ throw new Error(`\u6587\u4EF6\u4E3A\u7A7A \u2014 ${filePath}`);
5832
+ }
5833
+ return text;
5834
+ });
5831
5835
  }
5832
5836
  function combineLibraries(contents) {
5833
5837
  return LIB_FILES.map((lib, i) => `# ${lib.label}
@@ -5841,29 +5845,36 @@ async function runLoadLibraries(options) {
5841
5845
  console.error("\n\u274C \u7F3A\u5C11\u5E73\u53F0\u53C2\u6570\uFF0C\u8BF7\u7528 --platform <\u5E73\u53F0> \u6307\u5B9A\uFF08\u5982\u300C\u516C\u4F17\u53F7\u300D\u300C\u6296\u97F3\u300D\uFF09");
5842
5846
  process.exit(1);
5843
5847
  }
5848
+ const root = librariesRoot();
5849
+ if (!fs12.existsSync(root)) {
5850
+ console.error(`
5851
+ \u274C \u5185\u7F6E\u4E09\u5E93\u76EE\u5F55\u4E0D\u5B58\u5728\uFF1A${root}`);
5852
+ console.error(" \u8BF7\u786E\u8BA4\u5DF2\u6267\u884C\u6784\u5EFA\uFF08npm run build\uFF09\uFF0C\u4EA7\u7269\u5E94\u5305\u542B dist/thrju_sofn/");
5853
+ process.exit(1);
5854
+ }
5844
5855
  const useWechat = isWechatPlatform(platform);
5845
5856
  let contents;
5846
5857
  let sourceUsed;
5847
5858
  try {
5848
5859
  if (useWechat) {
5849
5860
  try {
5850
- contents = await fetchAllFrom(`${REMOTE_BASE}/${WECHAT_PACK_PATH}`);
5861
+ contents = readAllFrom(path12.join(root, WECHAT_PACK_PATH));
5851
5862
  sourceUsed = "wechat-pack";
5852
5863
  } catch (e) {
5853
5864
  if (options.verbose) {
5854
5865
  console.error(`
5855
- \u26A0\uFE0F \u516C\u4F17\u53F7\u8D5B\u9053\u5305\u62C9\u53D6\u5931\u8D25\uFF0C\u56DE\u9000\u5168\u5C40\u9ED8\u8BA4\u4E09\u5E93\uFF1A${e.message}`);
5866
+ \u26A0\uFE0F \u516C\u4F17\u53F7\u8D5B\u9053\u5305\u8BFB\u53D6\u5931\u8D25\uFF0C\u56DE\u9000\u5168\u5C40\u9ED8\u8BA4\u4E09\u5E93\uFF1A${e.message}`);
5856
5867
  }
5857
- contents = await fetchAllFrom(REMOTE_BASE);
5868
+ contents = readAllFrom(root);
5858
5869
  sourceUsed = "global-default";
5859
5870
  }
5860
5871
  } else {
5861
- contents = await fetchAllFrom(REMOTE_BASE);
5872
+ contents = readAllFrom(root);
5862
5873
  sourceUsed = "global-default";
5863
5874
  }
5864
5875
  } catch (e) {
5865
5876
  console.error(`
5866
- \u274C \u4E09\u5E93\u62C9\u53D6\u5931\u8D25\uFF1A${e.message}`);
5877
+ \u274C \u4E09\u5E93\u8BFB\u53D6\u5931\u8D25\uFF1A${e.message}`);
5867
5878
  if (options.verbose) console.error(e.stack ?? "");
5868
5879
  process.exit(1);
5869
5880
  }
@@ -8990,7 +9001,7 @@ function registerCsoCommands(program2) {
8990
9001
  }
8991
9002
  );
8992
9003
  workflowCmd.command("load-libraries").description(
8993
- "\u6309\u5E73\u53F0\u52A0\u8F7D\u5185\u7F6E\u9ED8\u8BA4\u4E09\u5E93\uFF08\u6D41\u91CF\u56E0\u5B50/\u4EA7\u54C1\u8D44\u4EA7/\u70F9\u8C03\u65B9\u6CD5\uFF09\uFF0C\u5C06\u4E09\u4E2A\u6587\u4EF6\u5185\u5BB9\u5408\u5E76\u5199\u5165\u5355\u4E2A\u4E34\u65F6\u6587\u4EF6\u3002\u5E73\u53F0\u542B\u300C\u516C\u4F17\u53F7\u300D\u65F6\u4F18\u5148\u53D6\u4E13\u5C5E\u8D5B\u9053\u5305\uFF0C\u53D6\u4E0D\u5230\u56DE\u9000\u5168\u5C40\u9ED8\u8BA4\u3002"
9004
+ "\u6309\u5E73\u53F0\u8BFB\u53D6 CLI \u5185\u7F6E\u4E09\u5E93\uFF08\u6D41\u91CF\u56E0\u5B50/\u4EA7\u54C1\u8D44\u4EA7/\u70F9\u8C03\u65B9\u6CD5\uFF09\uFF0C\u5408\u5E76\u5199\u5165\u5355\u4E2A\u4E34\u65F6\u6587\u4EF6\u3002\u5E73\u53F0\u542B\u300C\u516C\u4F17\u53F7\u300D\u65F6\u4F18\u5148\u53D6\u4E13\u5C5E\u8D5B\u9053\u5305\uFF0C\u53D6\u4E0D\u5230\u56DE\u9000\u5168\u5C40\u9ED8\u8BA4\u3002"
8994
9005
  ).requiredOption("--platform <platform>", "\u5E73\u53F0 / \u6E20\u9053\uFF08\u5982\u300C\u516C\u4F17\u53F7\u300D\u300C\u6296\u97F3\u300D\u300CYouTube\u300D\uFF09").option("-o, --out <path>", "\u5408\u5E76\u8F93\u51FA\u6587\u4EF6\u8DEF\u5F84\uFF1B\u7F3A\u7701\u5199\u5165 ~/.siluzan/content-library/.cache/").option("--verbose", "\u663E\u793A\u8BE6\u7EC6\u9519\u8BEF\u4FE1\u606F", false).action(async (opts) => {
8995
9006
  await runLoadLibraries({
8996
9007
  platform: opts.platform,
@@ -284,6 +284,6 @@ CLI 返回的时间字段(如 `*DateTime` / `*Time` / `createTime` / `publishT
284
284
 
285
285
  > 无对应 CLI 命令的模块,或需要引导用户在网页端查看数据时,查阅 `references/web-pages.md` 获取完整页面清单与链接。
286
286
 
287
- URL 格式:`https://www.siluzan.com/v3/foreign_trade/cso/{页面}`
287
+ URL 格式:`https://www-ci.siluzan.com/v3/foreign_trade/cso/{页面}`
288
288
 
289
289
  常用页面:`task`(任务管理)· `postVideo`(发布页)· `ManageAccounts`(账号管理)· `planning`(AI 内容规划)· `table`(绩效报表)· `Workdata`(作品数据)
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "slug": "siluzan-cso",
3
- "version": "1.1.32",
4
- "publishedAt": 1784284189611,
3
+ "version": "1.1.33-beta.1",
4
+ "publishedAt": 1784711440263,
5
5
  "homepage": "https://www.siluzan.com",
6
6
  "source": "https://dev.azure.com/jack4it/Sammamish/_git/siluzan-skill",
7
7
  "requiredBinaries": [
@@ -236,7 +236,7 @@ siluzan-cso publish -c publish-config.json
236
236
 
237
237
  > 查询发布状态、处理失败项 → 参见 `references/task.md`
238
238
 
239
- 前往 CSO 任务管理页面查看进度:`https://www.siluzan.com/v3/foreign_trade/cso/task`
239
+ 前往 CSO 任务管理页面查看进度:`https://www-ci.siluzan.com/v3/foreign_trade/cso/task`
240
240
 
241
241
  ---
242
242
 
@@ -1,6 +1,6 @@
1
1
  # rag:RAG 知识库检索
2
2
 
3
- 知识库管理页面在https://www.siluzan.com/knowledge-base/
3
+ 知识库管理页面在https://www-ci.siluzan.com/knowledge-base/
4
4
 
5
5
  用于写稿、产品知识问答、三库素材提取等场景;凡回答依赖「本企业已入库素材」且不应凭模型记忆编造时,优先走 RAG。
6
6
 
@@ -3,7 +3,7 @@
3
3
  ## 安装 CLI
4
4
 
5
5
  ```bash
6
- npm install -g siluzan-cso-cli
6
+ npm install -g siluzan-cso-cli@beta
7
7
  ```
8
8
 
9
9
  环境要求:Node.js 18+
@@ -46,7 +46,7 @@ siluzan-cso config set --token <Token> # 备用:设置 JWT Token
46
46
 
47
47
  > **⚠️ 不要使用 `config set --token <token>` 的方式。** 该方式会将 Token 明文写入 shell history(`~/.bash_history`、`~/.zsh_history`、PowerShell 历史),存在凭证泄露风险。推荐使用 `siluzan-cso login` 交互式输入。
48
48
 
49
- API Key 获取入口:`https://www.siluzan.com/v3/foreign_trade/settings/apiKeyManagement`
49
+ API Key 获取入口:`https://www-ci.siluzan.com/v3/foreign_trade/settings/apiKeyManagement`
50
50
 
51
51
  ### 通过手机号 + 验证码登录(对话式 AI 推荐)
52
52
 
@@ -123,8 +123,8 @@ siluzan-cso config show
123
123
 
124
124
  ```
125
125
  构建环境 : production
126
- apiBaseUrl : https://api.siluzan.com
127
- csoBaseUrl : https://cso.siluzan.com
126
+ apiBaseUrl : https://api-ci.siluzan.com
127
+ csoBaseUrl : https://cso-ci.siluzan.com
128
128
  apiKey : abcd****1234
129
129
  ```
130
130
 
@@ -1,7 +1,7 @@
1
1
  # web-pages — CSO 后台页面速查
2
2
 
3
3
  > 当需要引导用户前往网页端查看数据或执行操作时,使用本文件中的页面链接。
4
- > URL 格式:`https://www.siluzan.com/v3/foreign_trade/cso/{页面路径}`
4
+ > URL 格式:`https://www-ci.siluzan.com/v3/foreign_trade/cso/{页面路径}`
5
5
 
6
6
  ---
7
7
 
@@ -11,9 +11,9 @@
11
11
 
12
12
  | 页面 | 完整链接 | 功能说明 |
13
13
  | -------- | --------------------------------------------------------- | ---------------------------------------------------- |
14
- | 账号管理 | `https://www.siluzan.com/v3/foreign_trade/cso/ManageAccounts` | 绑定/授权/查看媒体账号列表、账号状态、Token 到期时间 |
15
- | 账号分组 | `https://www.siluzan.com/v3/foreign_trade/cso/AccountGroup` | 新建分组、管理分组内账号 |
16
- | 重点账号 | `https://www.siluzan.com/v3/foreign_trade/cso/KeyAccounts` | 配置重点关注账号、数据备份 |
14
+ | 账号管理 | `https://www-ci.siluzan.com/v3/foreign_trade/cso/ManageAccounts` | 绑定/授权/查看媒体账号列表、账号状态、Token 到期时间 |
15
+ | 账号分组 | `https://www-ci.siluzan.com/v3/foreign_trade/cso/AccountGroup` | 新建分组、管理分组内账号 |
16
+ | 重点账号 | `https://www-ci.siluzan.com/v3/foreign_trade/cso/KeyAccounts` | 配置重点关注账号、数据备份 |
17
17
 
18
18
  ---
19
19
 
@@ -21,10 +21,10 @@
21
21
 
22
22
  | 页面 | 完整链接 | 功能说明 |
23
23
  | -------- | ------------------------------------------------------------------ | ------------------------------------------------------------------------------ |
24
- | 发布作品 | `https://www.siluzan.com/v3/foreign_trade/cso/postVideo?contentType=1` | 矩阵发布视频、图文、草稿管理、话题组 contentType=1 是视频,contentType=2是图文 |
24
+ | 发布作品 | `https://www-ci.siluzan.com/v3/foreign_trade/cso/postVideo?contentType=1` | 矩阵发布视频、图文、草稿管理、话题组 contentType=1 是视频,contentType=2是图文 |
25
25
 
26
- | 发布日历 | `https://www.siluzan.com/v3/foreign_trade/cso/publishCalendar` | 日历视图规划发布任务、创建/编辑发布任务 |
27
- | 营销日历 | `https://www.siluzan.com/v3/foreign_trade/cso/marketingCalendar` | 营销节点日历、跳转创建发布任务 |
26
+ | 发布日历 | `https://www-ci.siluzan.com/v3/foreign_trade/cso/publishCalendar` | 日历视图规划发布任务、创建/编辑发布任务 |
27
+ | 营销日历 | `https://www-ci.siluzan.com/v3/foreign_trade/cso/marketingCalendar` | 营销节点日历、跳转创建发布任务 |
28
28
 
29
29
  ---
30
30
 
@@ -32,10 +32,10 @@
32
32
 
33
33
  | 页面 | 完整链接 | 功能说明 |
34
34
  | -------- | ------------------------------------------------------- | ----------------------------------------- |
35
- | 任务列表 | `https://www.siluzan.com/v3/foreign_trade/cso/task` | 发布任务列表、状态筛选、任务详情抽屉 |
36
- | 视频管理 | `https://www.siluzan.com/v3/foreign_trade/cso/VideoMgr` | 已发布视频/图文列表、删除、重发、评论查看 |
37
- | 视频搬家 | `https://www.siluzan.com/v3/foreign_trade/cso/relocation` | 将视频搬运到其他平台 |
38
- | 搬家记录 | `https://www.siluzan.com/v3/foreign_trade/cso/MovingRecord` | 搬家任务列表与执行状态 |
35
+ | 任务列表 | `https://www-ci.siluzan.com/v3/foreign_trade/cso/task` | 发布任务列表、状态筛选、任务详情抽屉 |
36
+ | 视频管理 | `https://www-ci.siluzan.com/v3/foreign_trade/cso/VideoMgr` | 已发布视频/图文列表、删除、重发、评论查看 |
37
+ | 视频搬家 | `https://www-ci.siluzan.com/v3/foreign_trade/cso/relocation` | 将视频搬运到其他平台 |
38
+ | 搬家记录 | `https://www-ci.siluzan.com/v3/foreign_trade/cso/MovingRecord` | 搬家任务列表与执行状态 |
39
39
 
40
40
  ---
41
41
 
@@ -43,9 +43,9 @@
43
43
 
44
44
  | 页面 | 完整链接 | 功能说明 |
45
45
  | -------- | ------------------------------------------------------ | --------------------------------------- |
46
- | 私信管理 | `https://www.siluzan.com/v3/foreign_trade/cso/letter` | 按渠道/时间查看与处理私信(多平台 Tab) |
47
- | 评论管理 | `https://www.siluzan.com/v3/foreign_trade/cso/comment` | 收到的评论列表、回复、账号组筛选 |
48
- | 智能互动 | `https://www.siluzan.com/v3/foreign_trade/cso/interaction` | 私信欢迎语、自动回复规则配置 |
46
+ | 私信管理 | `https://www-ci.siluzan.com/v3/foreign_trade/cso/letter` | 按渠道/时间查看与处理私信(多平台 Tab) |
47
+ | 评论管理 | `https://www-ci.siluzan.com/v3/foreign_trade/cso/comment` | 收到的评论列表、回复、账号组筛选 |
48
+ | 智能互动 | `https://www-ci.siluzan.com/v3/foreign_trade/cso/interaction` | 私信欢迎语、自动回复规则配置 |
49
49
 
50
50
  ---
51
51
 
@@ -53,9 +53,9 @@
53
53
 
54
54
  | 页面 | 完整链接 | 功能说明 |
55
55
  | -------- | ------------------------------------------------------ | -------------------------------------------------------------------- |
56
- | 作品数据 | `https://www.siluzan.com/v3/foreign_trade/cso/Workdata` | 作品维度统计、图表、明细(对应 CLI `report fetch`) |
57
- | 账户数据 | `https://www.siluzan.com/v3/foreign_trade/cso/accountdata` | 账户维度汇总数据、趋势图表 |
58
- | 绩效报表 | `https://www.siluzan.com/v3/foreign_trade/cso/table` | 多维度绩效报表、PDF 导出(对应 CLI `report fetch/records/download`) |
56
+ | 作品数据 | `https://www-ci.siluzan.com/v3/foreign_trade/cso/Workdata` | 作品维度统计、图表、明细(对应 CLI `report fetch`) |
57
+ | 账户数据 | `https://www-ci.siluzan.com/v3/foreign_trade/cso/accountdata` | 账户维度汇总数据、趋势图表 |
58
+ | 绩效报表 | `https://www-ci.siluzan.com/v3/foreign_trade/cso/table` | 多维度绩效报表、PDF 导出(对应 CLI `report fetch/records/download`) |
59
59
 
60
60
  ---
61
61
 
@@ -63,11 +63,11 @@
63
63
 
64
64
  | 页面 | 完整链接 | 功能说明 |
65
65
  | -------- | ------------------------------------------------------ | -------------------------------------------------------------- |
66
- | 内容规划 | `https://www.siluzan.com/v3/foreign_trade/cso/planning` | AI 内容规划列表、生成规划、企业维度筛选(对应 CLI `planning`) |
67
- | 营销首页 | `https://www.siluzan.com/v3/foreign_trade/cso/ContentHome` | 工作台总览:账号数、视频数、最新评论与视频 |
66
+ | 内容规划 | `https://www-ci.siluzan.com/v3/foreign_trade/cso/planning` | AI 内容规划列表、生成规划、企业维度筛选(对应 CLI `planning`) |
67
+ | 营销首页 | `https://www-ci.siluzan.com/v3/foreign_trade/cso/ContentHome` | 工作台总览:账号数、视频数、最新评论与视频 |
68
68
 
69
- | 话题组 | `https://www.siluzan.com/v3/foreign_trade/cso/TopicGroup` | 话题组维护、话题内容管理 |
70
- | 知识库 | `https://www.siluzan.com/knowledge-base/` | 知识库管理、编辑及查询 |
69
+ | 话题组 | `https://www-ci.siluzan.com/v3/foreign_trade/cso/TopicGroup` | 话题组维护、话题内容管理 |
70
+ | 知识库 | `https://www-ci.siluzan.com/knowledge-base/` | 知识库管理、编辑及查询 |
71
71
 
72
72
  ---
73
73
 
@@ -9,11 +9,11 @@ $ErrorActionPreference = 'Stop'
9
9
  # -- Package info (injected at build time) ------------------------------------
10
10
  $PKG_NAME = 'siluzan-cso-cli'
11
11
  # PKG_VERSION 锁定到与本脚本同批构建产物一致的版本,避免与 dist/skill 错位
12
- $PKG_VERSION = '1.1.32'
12
+ $PKG_VERSION = '1.1.33-beta.1'
13
13
  $CLI_BIN = 'siluzan-cso'
14
14
  $SKILL_LABEL = 'Siluzan CSO'
15
- $INSTALL_CMD = 'npm install -g siluzan-cso-cli'
16
- $WEB_BASE = 'https://www.siluzan.com'
15
+ $INSTALL_CMD = 'npm install -g siluzan-cso-cli@beta'
16
+ $WEB_BASE = 'https://www-ci.siluzan.com'
17
17
 
18
18
  # -- Constants ----------------------------------------------------------------
19
19
  $NODE_MAJOR_MIN = 18
@@ -9,11 +9,11 @@ set -euo pipefail
9
9
  # -- Package info (injected at build time) ------------------------------------
10
10
  readonly PKG_NAME="siluzan-cso-cli"
11
11
  # PKG_VERSION 锁定到与本脚本同批构建产物一致的版本,避免与 dist/skill 错位
12
- readonly PKG_VERSION="1.1.32"
12
+ readonly PKG_VERSION="1.1.33-beta.1"
13
13
  readonly CLI_BIN="siluzan-cso"
14
14
  readonly SKILL_LABEL="Siluzan CSO"
15
- readonly INSTALL_CMD="npm install -g siluzan-cso-cli"
16
- readonly WEB_BASE="https://www.siluzan.com"
15
+ readonly INSTALL_CMD="npm install -g siluzan-cso-cli@beta"
16
+ readonly WEB_BASE="https://www-ci.siluzan.com"
17
17
 
18
18
  # -- Constants ----------------------------------------------------------------
19
19
  readonly NODE_MAJOR_MIN=18
@@ -37,7 +37,7 @@ flowchart TD
37
37
 
38
38
  S2{第 2 步:确定三库内容<br/>按优先级判断} -->|优先级 1:用户本次提供文件| L1[写入 content-library 目录<br/>读取并按需优化]
39
39
  S2 -->|优先级 2:用户目录已有文件| L2[直接读取使用<br/>可按效果修改]
40
- S2 -->|优先级 3:均无,兜底| L3[load-libraries --out 可读目录<br/>拉取内置三库后完整读取]
40
+ S2 -->|优先级 3:均无,兜底| L3[load-libraries --out 可读目录<br/>读取内置三库后完整读取]
41
41
  L1 --> S3
42
42
  L2 --> S3
43
43
  L3 --> S3