siluzan-tso-cli 1.1.8-beta.6 → 1.1.8
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 +1 -2
- package/dist/index.js +1 -1
- package/dist/skill/_meta.json +2 -2
- package/dist/skill/references/finance.md +5 -5
- package/dist/skill/references/reporting.md +2 -2
- package/dist/skill/references/setup.md +5 -5
- package/dist/skill/references/tso-home.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
在**用户的目标项目根目录**执行(根据用户使用的助手选择 `--ai`):
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
|
-
npm install -g siluzan-tso-cli
|
|
15
|
+
npm install -g siluzan-tso-cli
|
|
16
16
|
siluzan-tso init --ai cursor # 写入 Cursor(默认)
|
|
17
17
|
siluzan-tso init --ai cursor,claude # 同时写入多个平台
|
|
18
18
|
siluzan-tso init --ai all # 写入所有支持的平台
|
|
@@ -20,7 +20,6 @@ siluzan-tso init -d /path/to/skills # 写入自定义目录
|
|
|
20
20
|
siluzan-tso init --force # 强制覆盖已存在文件
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
> **注意**:当前为测试版(1.1.8-beta.6),供内部测试使用。正式发布后安装命令将改为 `npm install -g siluzan-tso-cli`。
|
|
24
23
|
|
|
25
24
|
| 助手 | 建议 `--ai` |
|
|
26
25
|
|------|-------------|
|
package/dist/index.js
CHANGED
|
@@ -1962,7 +1962,7 @@ import { fileURLToPath as fileURLToPath4 } from "url";
|
|
|
1962
1962
|
import { Command } from "commander";
|
|
1963
1963
|
|
|
1964
1964
|
// src/config/defaults.ts
|
|
1965
|
-
var DEFAULT_API_BASE = "https://tso-api
|
|
1965
|
+
var DEFAULT_API_BASE = "https://tso-api.siluzan.com";
|
|
1966
1966
|
|
|
1967
1967
|
// ../common/dist/index.js
|
|
1968
1968
|
import * as fs from "fs";
|
package/dist/skill/_meta.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
## invoice-info — 发票抬头管理
|
|
9
9
|
|
|
10
|
-
对应页面:`https://www
|
|
10
|
+
对应页面:`https://www.siluzan.com/v3/foreign_trade/settings/invoiceInformation`
|
|
11
11
|
|
|
12
12
|
发票抬头是开票申请时使用的公司/企业信息模板,支持三种类型:
|
|
13
13
|
- **PI**:形式发票(境外美金账户,英文信息)
|
|
@@ -130,10 +130,10 @@ siluzan-tso config show
|
|
|
130
130
|
**示例:**
|
|
131
131
|
|
|
132
132
|
```
|
|
133
|
-
- 现金充值(单笔):https://www
|
|
134
|
-
- 现金充值(批量):https://www
|
|
135
|
-
- 月结充值: https://www
|
|
136
|
-
- 丝路赞钱包: https://www
|
|
133
|
+
- 现金充值(单笔):https://www.siluzan.com/recharge/pay
|
|
134
|
+
- 现金充值(批量):https://www.siluzan.com/recharge/pay_batch
|
|
135
|
+
- 月结充值: https://www.siluzan.com/recharge/accountBillingQuota
|
|
136
|
+
- 丝路赞钱包: https://www.siluzan.com/recharge/siluzanWallet
|
|
137
137
|
```
|
|
138
138
|
|
|
139
139
|
---
|
|
@@ -212,8 +212,8 @@ siluzan-tso report list -m Google --json
|
|
|
212
212
|
|
|
213
213
|
# 第二步:查看 webUrl
|
|
214
214
|
siluzan-tso config show
|
|
215
|
-
# webUrl: https://www
|
|
215
|
+
# webUrl: https://www.siluzan.com
|
|
216
216
|
|
|
217
217
|
# 第三步:拼接链接(Google 日报)
|
|
218
|
-
# https://www
|
|
218
|
+
# https://www.siluzan.com/media-report/publish/rpt_abc123?culture=zh-CN
|
|
219
219
|
```
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
## 安装 CLI
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
|
-
npm install -g siluzan-tso-cli
|
|
6
|
+
npm install -g siluzan-tso-cli
|
|
7
7
|
```
|
|
8
8
|
|
|
9
9
|
环境要求:Node.js 18+
|
|
@@ -42,7 +42,7 @@ siluzan-tso config set --api-key <Key> # 或通过 config set 直接写入
|
|
|
42
42
|
siluzan-tso config set --token <Token> # 备用:设置 JWT Token
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
-
API Key 获取入口:`https://www
|
|
45
|
+
API Key 获取入口:`https://www.siluzan.com/v3/foreign_trade/settings/apiKeyManagement`
|
|
46
46
|
|
|
47
47
|
---
|
|
48
48
|
|
|
@@ -54,9 +54,9 @@ siluzan-tso config show
|
|
|
54
54
|
输出示例:
|
|
55
55
|
```
|
|
56
56
|
构建环境 : production
|
|
57
|
-
apiBaseUrl : https://tso-api
|
|
58
|
-
googleApiUrl : https://googleapi
|
|
59
|
-
webUrl : https://www
|
|
57
|
+
apiBaseUrl : https://tso-api.siluzan.com
|
|
58
|
+
googleApiUrl : https://googleapi.mysiluzan.com
|
|
59
|
+
webUrl : https://www.siluzan.com
|
|
60
60
|
apiKey : abcd****1234
|
|
61
61
|
```
|
|
62
62
|
|