siluzan-tso-cli 1.1.70 → 1.1.71-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 +2 -1
- package/dist/index.js +14 -1
- package/dist/skill/_meta.json +2 -2
- package/dist/skill/references/accounts/accounts-list.md +1 -1
- package/dist/skill/references/accounts/accounts-permissions.md +2 -2
- package/dist/skill/references/accounts/finance.md +1 -1
- package/dist/skill/references/accounts/open-account-by-media.md +1 -1
- package/dist/skill/references/accounts/open-account-google-ui.md +1 -1
- package/dist/skill/references/analytics/rag.md +1 -1
- package/dist/skill/references/analytics/reporting.md +5 -5
- package/dist/skill/references/core/setup.md +5 -5
- package/dist/skill/references/meta-ads/meta-ads-migrate.md +1 -1
- package/dist/skill/references/meta-ads/meta-ads-read.md +1 -1
- package/dist/skill/references/meta-ads/meta-ads.md +1 -1
- package/dist/skill/references/misc/tso-home.md +2 -2
- package/dist/skill/scripts/install.ps1 +3 -3
- package/dist/skill/scripts/install.sh +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -43,7 +43,7 @@ HTML 报告模板外部资源:**ECharts** 统一使用 `https://staticpn.siluz
|
|
|
43
43
|
在**用户的目标项目根目录**执行(根据用户使用的助手选择 `--ai`):
|
|
44
44
|
|
|
45
45
|
```bash
|
|
46
|
-
npm install -g siluzan-tso-cli
|
|
46
|
+
npm install -g siluzan-tso-cli@beta
|
|
47
47
|
siluzan-tso init --ai cursor # 写入 Cursor(默认)
|
|
48
48
|
siluzan-tso init --ai cursor,claude # 同时写入多个平台
|
|
49
49
|
siluzan-tso init --ai all # 写入所有支持的平台
|
|
@@ -51,6 +51,7 @@ siluzan-tso init -d /path/to/skills # 写入自定义目录
|
|
|
51
51
|
siluzan-tso init --force # 强制覆盖已存在文件
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
+
> **注意**:当前为测试版(1.1.71-beta.1),供内部测试使用。正式发布后安装命令将改为 `npm install -g siluzan-tso-cli`。
|
|
54
55
|
|
|
55
56
|
| 助手 | 建议 `--ai` |
|
|
56
57
|
| ----------------------- | ------------------------------------ |
|
package/dist/index.js
CHANGED
|
@@ -4104,7 +4104,7 @@ var DEFAULT_API_BASE;
|
|
|
4104
4104
|
var init_defaults = __esm({
|
|
4105
4105
|
"src/config/defaults.ts"() {
|
|
4106
4106
|
"use strict";
|
|
4107
|
-
DEFAULT_API_BASE = "https://tso-api.siluzan.com";
|
|
4107
|
+
DEFAULT_API_BASE = "https://tso-api-ci.siluzan.com";
|
|
4108
4108
|
}
|
|
4109
4109
|
});
|
|
4110
4110
|
|
|
@@ -133266,6 +133266,18 @@ function publicMediaManifest(manifest) {
|
|
|
133266
133266
|
}))
|
|
133267
133267
|
};
|
|
133268
133268
|
}
|
|
133269
|
+
var FACEBOOK_FILE_HOSTS = ["fbcdn.net", "facebook.com", "fbsbx.com", "fb.com"];
|
|
133270
|
+
function assertClientMediaUrl(fileUrl) {
|
|
133271
|
+
let host;
|
|
133272
|
+
try {
|
|
133273
|
+
host = new URL(fileUrl).hostname.toLowerCase();
|
|
133274
|
+
} catch {
|
|
133275
|
+
throw new Error("\u6587\u4EF6\u5730\u5740\u4E0D\u662F http(s)");
|
|
133276
|
+
}
|
|
133277
|
+
if (FACEBOOK_FILE_HOSTS.some((item) => host === item || host.endsWith(`.${item}`))) {
|
|
133278
|
+
throw new Error("\u6587\u4EF6\u4ECD\u5728 Facebook \u4E0A\uFF0C\u5F53\u524D\u670D\u52A1\u6CA1\u6709\u63D0\u4F9B\u53EF\u4E0B\u8F7D\u7684\u526F\u672C");
|
|
133279
|
+
}
|
|
133280
|
+
}
|
|
133269
133281
|
async function downloadPublicFile(fileUrl, dest, maxBytes) {
|
|
133270
133282
|
let parsed;
|
|
133271
133283
|
try {
|
|
@@ -133276,6 +133288,7 @@ async function downloadPublicFile(fileUrl, dest, maxBytes) {
|
|
|
133276
133288
|
if (parsed.protocol !== "http:" && parsed.protocol !== "https:") {
|
|
133277
133289
|
throw new Error("\u6587\u4EF6\u5730\u5740\u4E0D\u662F http(s)");
|
|
133278
133290
|
}
|
|
133291
|
+
assertClientMediaUrl(fileUrl);
|
|
133279
133292
|
const response = await fetch(fileUrl, { redirect: "follow" });
|
|
133280
133293
|
if (!response.ok || !response.body) {
|
|
133281
133294
|
throw new Error(`\u4E0B\u8F7D\u5931\u8D25 HTTP ${response.status}`);
|
package/dist/skill/_meta.json
CHANGED
|
@@ -170,7 +170,7 @@ siluzan-tso account-history --start 2026-03-01 --end 2026-03-31 --json-out ./sna
|
|
|
170
170
|
| 状态 | 含义 | 下一步操作 |
|
|
171
171
|
| ---------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
172
172
|
| `Pending` | 审核中 | 等待,可反复运行此命令轮询;审核周期因媒体而异 |
|
|
173
|
-
| `Approved` | 审核通过 | 运行 `list-accounts -m <媒体>` 确认账户已出现;引导用户充值激活(`config show` 取 `webUrl`,按 `finance.md` 打开对应媒体充值页;例如 Google 为 `https://www.siluzan.com/v3/foreign_trade/tso/recharge/pay?mediaType=Google`;Yandex 当前没有对应充值界面) |
|
|
173
|
+
| `Approved` | 审核通过 | 运行 `list-accounts -m <媒体>` 确认账户已出现;引导用户充值激活(`config show` 取 `webUrl`,按 `finance.md` 打开对应媒体充值页;例如 Google 为 `https://www-ci.siluzan.com/v3/foreign_trade/tso/recharge/pay?mediaType=Google`;Yandex 当前没有对应充值界面) |
|
|
174
174
|
| `Rejected` | 被拒 | 查看 `--json-out` 落盘中的 `reason` 字段了解拒绝原因;修改资料后重新提交;若原因不明,引导用户联系丝路赞客服 |
|
|
175
175
|
|
|
176
176
|
---
|
|
@@ -490,7 +490,7 @@ siluzan-tso account email-deauth -c <mediaCustomerId> --invitation-id <id> --res
|
|
|
490
490
|
|
|
491
491
|
| 功能 | 媒体 | 网页路径 |
|
|
492
492
|
| --------------------------------------- | ------ | ------------------------------------------------- |
|
|
493
|
-
| **账户激活**(邀请他人激活 / 充值激活) | Google | `https://www.siluzan.com/v3/foreign_trade/tso/manageAccounts` |
|
|
493
|
+
| **账户激活**(邀请他人激活 / 充值激活) | Google | `https://www-ci.siluzan.com/v3/foreign_trade/tso/manageAccounts` |
|
|
494
494
|
|
|
495
495
|
**Agent 建议话术**:
|
|
496
496
|
|
|
@@ -499,5 +499,5 @@ siluzan-tso account email-deauth -c <mediaCustomerId> --invitation-id <id> --res
|
|
|
499
499
|
siluzan-tso config show # 查看 webUrl 字段
|
|
500
500
|
|
|
501
501
|
# 账户激活(Google)→ 引导至账户管理页
|
|
502
|
-
# https://www.siluzan.com/v3/foreign_trade/tso/manageAccounts
|
|
502
|
+
# https://www-ci.siluzan.com/v3/foreign_trade/tso/manageAccounts
|
|
503
503
|
```
|
|
@@ -126,7 +126,7 @@ siluzan-tso config show
|
|
|
126
126
|
|
|
127
127
|
### 充值页链接(按媒体 × 类型)
|
|
128
128
|
|
|
129
|
-
链接模式:`https://www.siluzan.com/v3/foreign_trade/tso/recharge/<page>?mediaType=<mediaType>`;丝路赞钱包:`https://www.siluzan.com/v3/foreign_trade/tso/recharge/siluzanWallet`(无媒体参数)。
|
|
129
|
+
链接模式:`https://www-ci.siluzan.com/v3/foreign_trade/tso/recharge/<page>?mediaType=<mediaType>`;丝路赞钱包:`https://www-ci.siluzan.com/v3/foreign_trade/tso/recharge/siluzanWallet`(无媒体参数)。
|
|
130
130
|
|
|
131
131
|
| 充值类型 | `<page>` | 支持媒体(`mediaType` 参数) |
|
|
132
132
|
| ------------------------- | --------------------- | ------------------------------------------- |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# 各媒体开户
|
|
2
2
|
|
|
3
|
-
> 网页链接:`https://www.siluzan.com/v3/foreign_trade/tso/accountOpeningHistory?tso=%2Fv3umijs%2Ftso%2FaccountOpeningHistory`
|
|
3
|
+
> 网页链接:`https://www-ci.siluzan.com/v3/foreign_trade/tso/accountOpeningHistory?tso=%2Fv3umijs%2Ftso%2FaccountOpeningHistory`
|
|
4
4
|
> 多命令串联见 `references/core/workflows.md` § 流程一。
|
|
5
5
|
|
|
6
6
|
## Contents
|
|
@@ -65,7 +65,7 @@ siluzan-tso open-account google-wizard
|
|
|
65
65
|
|
|
66
66
|
```bash
|
|
67
67
|
siluzan-tso account-history -m Google
|
|
68
|
-
# 审核通过后:config show → https://www.siluzan.com/v3/foreign_trade/tso/recharge/pay?mediaType=Google
|
|
68
|
+
# 审核通过后:config show → https://www-ci.siluzan.com/v3/foreign_trade/tso/recharge/pay?mediaType=Google
|
|
69
69
|
```
|
|
70
70
|
|
|
71
71
|
---
|
|
@@ -190,9 +190,9 @@ siluzan-tso report push receive-emails -m Google [--json-out ./snap]
|
|
|
190
190
|
|
|
191
191
|
| 媒体 | 报告类型 | URL 模板 |
|
|
192
192
|
| ------ | ---------------- | ----------------------------------------------------------- |
|
|
193
|
-
| Google | 日报(Daily) | `https://www.siluzan.com/media-report/publish/{entityId}?culture=zh-CN` |
|
|
194
|
-
| Google | 小时报(Hourly) | `https://www.siluzan.com/media-report/hour/{entityId}?culture=zh-CN` |
|
|
195
|
-
| TikTok | 日报 | `https://www.siluzan.com/media-report/publish/{entityId}?culture=zh-CN` |
|
|
193
|
+
| Google | 日报(Daily) | `https://www-ci.siluzan.com/media-report/publish/{entityId}?culture=zh-CN` |
|
|
194
|
+
| Google | 小时报(Hourly) | `https://www-ci.siluzan.com/media-report/hour/{entityId}?culture=zh-CN` |
|
|
195
|
+
| TikTok | 日报 | `https://www-ci.siluzan.com/media-report/publish/{entityId}?culture=zh-CN` |
|
|
196
196
|
|
|
197
197
|
`entityId` 来自 `siluzan-tso report list --json-out ./snap` 中每条记录的 `entityId` 字段。
|
|
198
198
|
|
|
@@ -205,8 +205,8 @@ siluzan-tso report list -m Google --json-out ./snap
|
|
|
205
205
|
|
|
206
206
|
# 第二步:查看 webUrl
|
|
207
207
|
siluzan-tso config show
|
|
208
|
-
# webUrl: https://www.siluzan.com
|
|
208
|
+
# webUrl: https://www-ci.siluzan.com
|
|
209
209
|
|
|
210
210
|
# 第三步:拼接链接(Google 日报)
|
|
211
|
-
# https://www.siluzan.com/media-report/publish/rpt_abc123?culture=zh-CN
|
|
211
|
+
# https://www-ci.siluzan.com/media-report/publish/rpt_abc123?culture=zh-CN
|
|
212
212
|
```
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
## 安装 CLI
|
|
11
11
|
|
|
12
12
|
```bash
|
|
13
|
-
npm install -g siluzan-tso-cli
|
|
13
|
+
npm install -g siluzan-tso-cli@beta
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
---
|
|
@@ -64,7 +64,7 @@ siluzan-tso config set --api-key <Key> # 或 config 直接写入
|
|
|
64
64
|
siluzan-tso config set --token <Token> # 备用:设置 JWT Token
|
|
65
65
|
```
|
|
66
66
|
|
|
67
|
-
API Key 获取入口:`https://www.siluzan.com/v3/foreign_trade/settings/apiKeyManagement`
|
|
67
|
+
API Key 获取入口:`https://www-ci.siluzan.com/v3/foreign_trade/settings/apiKeyManagement`
|
|
68
68
|
|
|
69
69
|
```bash
|
|
70
70
|
# 第 1 步:让用户报出手机号后,立刻发码(命令立即返回,不会等待输入)
|
|
@@ -127,9 +127,9 @@ siluzan-tso config show
|
|
|
127
127
|
|
|
128
128
|
```
|
|
129
129
|
构建环境 : production
|
|
130
|
-
apiBaseUrl : https://tso-api.siluzan.com
|
|
131
|
-
googleApiUrl : https://googleapi.mysiluzan.com
|
|
132
|
-
webUrl : https://www.siluzan.com
|
|
130
|
+
apiBaseUrl : https://tso-api-ci.siluzan.com
|
|
131
|
+
googleApiUrl : https://googleapi-ci.mysiluzan.com
|
|
132
|
+
webUrl : https://www-ci.siluzan.com
|
|
133
133
|
apiKey : abcd****1234
|
|
134
134
|
```
|
|
135
135
|
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
1. `list-accounts -m MetaAd -k <源名称或 ID> --page-size 999 --json-out ./snap-src` 和目标账户再跑一次。记下两边的 `mediaCustomerId` 和币种。禁止把 `entityId` 传给 `-a`。
|
|
28
28
|
2. 源账户:`facebook-analysis campaign-entities`、`adset-entities`、`ad-entities`,都加 `-a <源账户> --json-out ./snap-src`。这三份没有创意正文。每条要迁移的广告再 `ad-gap --action meta.read-ad --account <源账户> --id <广告 id> --body "{\"fields\":\"id,name,adset_id,campaign_id,creative{id,object_story_spec,asset_feed_spec,image_hash,video_id,body,title,call_to_action_type,thumbnail_url}\"}" --json-out ./snap-src`。广告组要定向时再 `meta.read-adset`,`fields` 带 `targeting,destination_type,optimization_goal,promoted_object,daily_budget,bid_strategy,bid_amount`。
|
|
29
29
|
3. 目标账户:`meta-ad pages -a <目标账户> --json-out ./snap-dst`。选用 `tasks` 含 `ADVERTISE` 的主页,后面的 `page_id` 都用这个 ID。
|
|
30
|
-
4. 从创意里收集全部 `image_hash` 和 `video_id`,包含 `asset_feed_spec` 和视频封面的 hash。源账户 `meta-ad media-download -a <源账户> --image-hashes <hash,hash> --video-ids <id,id> --out ./snap-src/assets
|
|
30
|
+
4. 从创意里收集全部 `image_hash` 和 `video_id`,包含 `asset_feed_spec` 和视频封面的 hash。源账户 `meta-ad media-download -a <源账户> --image-hashes <hash,hash> --video-ids <id,id> --out ./snap-src/assets`。原文件由服务端先取回,下载地址大约 1 小时内有效,命令会马上存到本地。本机不要自己请求 Facebook 的文件地址。`manifest.json` 里只有本地路径。目标账户用 `meta-ad image-upload --image-path` 和 `meta-ad video-upload --video-path` 重新上传。记下旧 hash → 新 hash、旧视频 ID → 新视频 ID。创意里只能填新值。
|
|
31
31
|
5. 线索表单:源主页 `meta-ad forms -a <源账户> --page-id <源主页> --json-out ./snap-src`。题目和隐私政策网址都在结果里才在目标主页 `meta-ad form-create --page-id <目标主页> --config-file`。表单名带上源表单 ID,避免和已有表单重名;重名就先读目标主页的表单再换名。即时表单广告组走 `meta-ad adset-create`,不要用 `meta.outcome-adset`。
|
|
32
32
|
6. 按源结构重建,一层失败就记下,用已经返回的 ID 继续下一层。不要删掉建好的对象再重头来。
|
|
33
33
|
- 系列:`ad-gap --action meta.outcome-campaign`。`objective` 和 `special_ad_categories` 与源系列相同;源分类是空的就传 `[]`,不要写 `NONE`,也不要新编一个分类。Advantage+ 系列用 `meta.advantage-campaign`,并带上源系列已有的预算。
|
|
@@ -31,6 +31,6 @@ siluzan-tso meta-ad media-download -a <accountId> --image-hashes <hash,hash> --v
|
|
|
31
31
|
|
|
32
32
|
`spend_cap` 与 `amount_spent` 持平 → 花费上限已顶满,ACTIVE 也投不出去。
|
|
33
33
|
|
|
34
|
-
`facebook-analysis` 列表里的 `daily_budget` / `bid_amount` 是最小货币单位。`campaign-entities` 带 `special_ad_categories`。广告上的 `creative.image_hash` 只在原广告账户有效;`image_url` 的主机名是 `www.facebook.com` 时,那是页面链接,不是 `image-upload --image-url` 能拉的图片文件。换账户要原文件时,用 `meta-ad media-download`:`--image-hashes` 来自创意里的 `image_hash`,`--video-ids` 来自 `video_id`。命令会把原文件存进 `--out`(`images/`、`videos/`),结果和 `manifest.json`
|
|
34
|
+
`facebook-analysis` 列表里的 `daily_budget` / `bid_amount` 是最小货币单位。`campaign-entities` 带 `special_ad_categories`。广告上的 `creative.image_hash` 只在原广告账户有效;`image_url` 的主机名是 `www.facebook.com` 时,那是页面链接,不是 `image-upload --image-url` 能拉的图片文件。换账户要原文件时,用 `meta-ad media-download`:`--image-hashes` 来自创意里的 `image_hash`,`--video-ids` 来自 `video_id`。命令会把原文件存进 `--out`(`images/`、`videos/`),结果和 `manifest.json` 里只有本地路径。原文件由服务端先取回。返回的下载地址大约 1 小时内有效,命令会马上写入 `--out`。本机不要自己请求 Facebook 的文件地址,也不要把这个地址存下来或隔一段时间再用。新账户用 `image-upload --image-path` 和 `video-upload --video-path` 重新上传。线索创意里的 `lead_gen_form_id` 属于原主页,换账户要在新主页上新建表单。
|
|
35
35
|
|
|
36
36
|
拉表单留资线索:`clue -m Meta -a <pageId> --start --end`(W11)。
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
- **`LEAD_TOS_REQUIRED`**,或正文是「公共主页必须先接受《潜在客户开发广告服务条款》」:主页须在 Ads Manager 接受条款。接口不代勾。系列和表单可能已经建成,接受条款后用已有 `campaignId` 跑 `adset-create`,不要重头 `create`。
|
|
38
38
|
- **`BID_AMOUNT_REQUIRED`**:停下并看 `needs_decision`。不要把日/总预算当成 bid cap。只有事先写了 `adset.bidAmountOnRequired`(或 `adset-create --bid-amount-on-required`)才会按**该金额**用 `LOWEST_COST_WITH_BID_CAP` 再试一次。没传 `bid_strategy` 但传了 `bid_amount` 时,网关自己用 `LOWEST_COST_WITH_BID_CAP`。
|
|
39
39
|
- **`BID_STRATEGY_CONFLICT`**:`LOWEST_COST_WITHOUT_CAP` 和 `bid_amount` 不能一起出现。请求里明确写了这个策略就去掉 `bid_amount` 再提交。系列本身是这个策略、广告组又带竞价上限时同样去掉出价,不要改系列策略。
|
|
40
|
-
- **跨账户搬运**:整户步骤见 `meta-ads-migrate.md`。`facebook-analysis` 的 `daily_budget` / `bid_amount` 是最小货币单位;`meta-ad` 的金额参数是主币种元;`ad-gap` 正文仍是最小单位字符串。`image_hash` 和线索表单 ID 只属于原广告账户 / 原主页。`www.facebook.com` 的 `image_url` 不是图片文件,不能当 `--image-url`。要原图或原视频,用 `meta-ad media-download` 落到本地,再 `image-upload --image-path` / `video-upload --video-path
|
|
40
|
+
- **跨账户搬运**:整户步骤见 `meta-ads-migrate.md`。`facebook-analysis` 的 `daily_budget` / `bid_amount` 是最小货币单位;`meta-ad` 的金额参数是主币种元;`ad-gap` 正文仍是最小单位字符串。`image_hash` 和线索表单 ID 只属于原广告账户 / 原主页。`www.facebook.com` 的 `image_url` 不是图片文件,不能当 `--image-url`。要原图或原视频,用 `meta-ad media-download` 落到本地,再 `image-upload --image-path` / `video-upload --video-path`。原文件由服务端先取回,本机不要自己请求 Facebook 的文件地址,也不要拼链接。`campaign-entities` 带 `special_ad_categories`,原样带上;字段空着时传 `[]`,不要编一个分类。
|
|
41
41
|
- **组定向**:创建时国家/年龄/性别 + 可选 `flexible_spec`,并提交 `targeting_automation.advantage_audience`(默认 `1`;有非空 `flexibleSpec` 时默认 `0`)。`adset-edit` 不套这个默认值:不传则保留当前的 `0` 或 `1`;读不到当前值时停下,须显式 `--advantage-audience`。`--countries` 默认整表替换,追加用 `--countries-mode append`。组失败用已有 `campaignId` 续跑,不要新建空系列。
|
|
42
42
|
- **支付方式**:建到广告对象时 Graph 可能报「请更新支付方式」。已建成的系列/组/创意会留着,**不要**重头 `create`;停下来让用户在账单与支付中心加有效付款方式,再用 `ad-create` 续跑。
|
|
43
43
|
- 花费上限顶满(`spend_capDisplay` ≈ `amount_spentDisplay`)时对象仍能建成,**ACTIVE 也投不出去**。
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
siluzan-tso config show # 取 webUrl
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
首页地址:`https://www.siluzan.com/v3/foreign_trade/tso/home`
|
|
9
|
+
首页地址:`https://www-ci.siluzan.com/v3/foreign_trade/tso/home`
|
|
10
10
|
|
|
11
11
|
---
|
|
12
12
|
|
|
@@ -25,7 +25,7 @@ siluzan-tso config show # 取 webUrl
|
|
|
25
25
|
|
|
26
26
|
## 推荐话术
|
|
27
27
|
|
|
28
|
-
1. **「和首页一样的总览」** → 打开 `https://www.siluzan.com/v3/foreign_trade/tso/home`。
|
|
28
|
+
1. **「和首页一样的总览」** → 打开 `https://www-ci.siluzan.com/v3/foreign_trade/tso/home`。
|
|
29
29
|
2. **「某个 Google 账户昨天花了多少」** → `list-accounts -m Google` + `stats -m Google -a <id>`。
|
|
30
30
|
3. **「有待充值账户」** → 说明聚合数据在首页;CLI 可 `list-accounts` + `balance` 逐户排查,或引导充值页。
|
|
31
31
|
|
|
@@ -9,11 +9,11 @@ $ErrorActionPreference = 'Stop'
|
|
|
9
9
|
# -- Package info (injected at build time) ------------------------------------
|
|
10
10
|
$PKG_NAME = 'siluzan-tso-cli'
|
|
11
11
|
# PKG_VERSION 锁定到与本脚本同批构建产物一致的版本,避免与 dist/skill 错位
|
|
12
|
-
$PKG_VERSION = '1.1.
|
|
12
|
+
$PKG_VERSION = '1.1.71-beta.1'
|
|
13
13
|
$CLI_BIN = 'siluzan-tso'
|
|
14
14
|
$SKILL_LABEL = 'Siluzan TSO'
|
|
15
|
-
$INSTALL_CMD = 'npm install -g siluzan-tso-cli'
|
|
16
|
-
$WEB_BASE = 'https://www.siluzan.com'
|
|
15
|
+
$INSTALL_CMD = 'npm install -g siluzan-tso-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-tso-cli"
|
|
11
11
|
# PKG_VERSION 锁定到与本脚本同批构建产物一致的版本,避免与 dist/skill 错位
|
|
12
|
-
readonly PKG_VERSION="1.1.
|
|
12
|
+
readonly PKG_VERSION="1.1.71-beta.1"
|
|
13
13
|
readonly CLI_BIN="siluzan-tso"
|
|
14
14
|
readonly SKILL_LABEL="Siluzan TSO"
|
|
15
|
-
readonly INSTALL_CMD="npm install -g siluzan-tso-cli"
|
|
16
|
-
readonly WEB_BASE="https://www.siluzan.com"
|
|
15
|
+
readonly INSTALL_CMD="npm install -g siluzan-tso-cli@beta"
|
|
16
|
+
readonly WEB_BASE="https://www-ci.siluzan.com"
|
|
17
17
|
|
|
18
18
|
# -- Constants ----------------------------------------------------------------
|
|
19
19
|
readonly NODE_MAJOR_MIN=18
|