siluzan-tso-cli 1.1.18-beta.8 → 1.1.19-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 +1 -1
- package/dist/index.js +2 -6
- package/dist/skill/_meta.json +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -51,7 +51,7 @@ siluzan-tso init -d /path/to/skills # 写入自定义目录
|
|
|
51
51
|
siluzan-tso init --force # 强制覆盖已存在文件
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
-
> **注意**:当前为测试版(1.1.
|
|
54
|
+
> **注意**:当前为测试版(1.1.19-beta.1),供内部测试使用。正式发布后安装命令将改为 `npm install -g siluzan-tso-cli`。
|
|
55
55
|
|
|
56
56
|
| 助手 | 建议 `--ai` |
|
|
57
57
|
| ----------------------- | ------------------------------------ |
|
package/dist/index.js
CHANGED
|
@@ -6609,7 +6609,7 @@ function printPostLoginReminderBanner() {
|
|
|
6609
6609
|
}
|
|
6610
6610
|
function parseAllowedServices(raw) {
|
|
6611
6611
|
const allowed = ["CSO", "TSO", "CUT"];
|
|
6612
|
-
if (!raw) return ["TSO", "CUT"];
|
|
6612
|
+
if (!raw) return ["CSO", "TSO", "CUT"];
|
|
6613
6613
|
const parts = raw.split(",").map((s) => s.trim().toUpperCase()).filter(Boolean);
|
|
6614
6614
|
const result = [];
|
|
6615
6615
|
for (const p of parts) {
|
|
@@ -6698,8 +6698,6 @@ async function executePhoneLoginWithVerifiedCode(phone, code, opts) {
|
|
|
6698
6698
|
console.log("\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\n");
|
|
6699
6699
|
console.log(` \u624B\u673A\u53F7 : ${phone}`);
|
|
6700
6700
|
console.log(` \u9A8C\u8BC1\u7801 : ${code}`);
|
|
6701
|
-
console.log(` SSO : ${ssoBaseUrl}`);
|
|
6702
|
-
console.log(` CSO API : ${csoBaseUrl}`);
|
|
6703
6701
|
console.log(` \u670D\u52A1\u8303\u56F4 : ${allowedServices.join(", ")}`);
|
|
6704
6702
|
if (opts.expiresAt) {
|
|
6705
6703
|
console.log(` \u8FC7\u671F\u65F6\u95F4 : ${opts.expiresAt}`);
|
|
@@ -6755,9 +6753,7 @@ async function executePhoneLoginWithVerifiedCode(phone, code, opts) {
|
|
|
6755
6753
|
);
|
|
6756
6754
|
} else if (/验证码错误|验证码/.test(msg)) {
|
|
6757
6755
|
console.error(
|
|
6758
|
-
`
|
|
6759
|
-
\u9A8C\u8BC1\u7801\u53EF\u80FD\u5DF2\u8FC7\u671F\u6216\u8F93\u9519\u3002\u8BF7\u91CD\u65B0\u53D1\u7801\u540E\u518D\u8BD5\uFF1A
|
|
6760
|
-
siluzan-tso send-login-code --phone ${phone}
|
|
6756
|
+
` \u8BF7\u68C0\u67E5\u9A8C\u8BC1\u7801\u662F\u5426\u6B63\u786E
|
|
6761
6757
|
`
|
|
6762
6758
|
);
|
|
6763
6759
|
}
|
package/dist/skill/_meta.json
CHANGED