siluzan-cso-cli 1.1.20 → 1.1.21-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 +54 -22
- package/dist/skill/SKILL.md +1 -1
- package/dist/skill/_meta.json +2 -2
- package/dist/skill/assets/publish-config-image.example.json +8 -1
- package/dist/skill/assets/publish-config.example.json +11 -2
- package/dist/skill/references/publish.md +28 -1
- package/dist/skill/references/rag.md +1 -1
- package/dist/skill/references/setup.md +4 -4
- package/dist/skill/references/task.md +6 -6
- package/dist/skill/references/web-pages.md +21 -21
- 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
|
@@ -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.21-beta.1),供内部测试使用。正式发布后安装命令将改为 `npm install -g siluzan-cso-cli`。
|
|
57
58
|
|
|
58
59
|
| 助手 | 建议 `--ai` |
|
|
59
60
|
| ----------------------- | ------------------------------------ |
|
package/dist/index.js
CHANGED
|
@@ -2849,11 +2849,11 @@ import { Command } from "commander";
|
|
|
2849
2849
|
import { Option } from "commander";
|
|
2850
2850
|
|
|
2851
2851
|
// src/config/defaults.ts
|
|
2852
|
-
var BUILD_ENV = "
|
|
2853
|
-
var DEFAULT_API_BASE = "https://api.siluzan.com";
|
|
2854
|
-
var DEFAULT_CSO_BASE = "https://cso.siluzan.com";
|
|
2855
|
-
var DEFAULT_WEB_BASE = "https://www.siluzan.com";
|
|
2856
|
-
var DEFAULT_AGENT_BASE = "https://agent.mysiluzan.com";
|
|
2852
|
+
var BUILD_ENV = "test";
|
|
2853
|
+
var DEFAULT_API_BASE = "https://api-ci.siluzan.com";
|
|
2854
|
+
var DEFAULT_CSO_BASE = "https://cso-ci.siluzan.com";
|
|
2855
|
+
var DEFAULT_WEB_BASE = "https://www-ci.siluzan.com";
|
|
2856
|
+
var DEFAULT_AGENT_BASE = "https://agent-ci.mysiluzan.com";
|
|
2857
2857
|
|
|
2858
2858
|
// src/commands/init.ts
|
|
2859
2859
|
import * as fs4 from "fs/promises";
|
|
@@ -4115,6 +4115,17 @@ function buildPublishTitle(item, mediaType, override, isImagePost = false) {
|
|
|
4115
4115
|
const topicPosition = override?.topicPosition ?? item.topicPosition ?? defaultTopicPosition;
|
|
4116
4116
|
return { title, description, topics, topicPosition };
|
|
4117
4117
|
}
|
|
4118
|
+
function resolvePublishSchedule(item, override) {
|
|
4119
|
+
const publishMode = override?.publishMode ?? item.publishMode ?? "immediate";
|
|
4120
|
+
const rawPublishAt = override?.publishAt ?? item.publishAt;
|
|
4121
|
+
const publishAt = publishMode === "scheduled" ? rawPublishAt : void 0;
|
|
4122
|
+
const sendType = toSendType(publishMode);
|
|
4123
|
+
const publishAtUtc = publishAt ? new Date(publishAt).toISOString() : null;
|
|
4124
|
+
return { publishMode, publishAt, sendType, publishAtUtc };
|
|
4125
|
+
}
|
|
4126
|
+
function resolveVideoCover(item, override) {
|
|
4127
|
+
return override?.cover ?? item.cover;
|
|
4128
|
+
}
|
|
4118
4129
|
function buildImagePayload(img, currentUserId) {
|
|
4119
4130
|
return {
|
|
4120
4131
|
imageUrl: img.imageUrl,
|
|
@@ -4201,13 +4212,18 @@ function buildVideoChannels(videos, currentUserId) {
|
|
|
4201
4212
|
);
|
|
4202
4213
|
}
|
|
4203
4214
|
const mediaType = account.mediaAccountType;
|
|
4204
|
-
const sendType = toSendType(item.publishMode);
|
|
4205
|
-
const publishAtUtc = item.publishAt ? new Date(item.publishAt).toISOString() : null;
|
|
4206
|
-
if (item.publishMode === "scheduled" && !item.publishAt) {
|
|
4207
|
-
errorList.push(`\u89C6\u9891 "${item.videoName}" \u8BBE\u7F6E\u4E86\u5B9A\u65F6\u53D1\u5E03\u4F46\u672A\u586B\u5199 publishAt`);
|
|
4208
|
-
}
|
|
4209
|
-
if (sendType > itemSendType) itemSendType = sendType;
|
|
4210
4215
|
const override = item.platformOverrides?.[mediaType];
|
|
4216
|
+
const schedule = resolvePublishSchedule(item, override);
|
|
4217
|
+
if (schedule.publishMode === "scheduled" && !schedule.publishAt) {
|
|
4218
|
+
errorList.push(
|
|
4219
|
+
`\u89C6\u9891 "${item.videoName}" \u5728\u5E73\u53F0 ${mediaType} \u8BBE\u7F6E\u4E86\u5B9A\u65F6\u53D1\u5E03\u4F46\u672A\u586B\u5199 publishAt`
|
|
4220
|
+
);
|
|
4221
|
+
}
|
|
4222
|
+
if (schedule.sendType > itemSendType) itemSendType = schedule.sendType;
|
|
4223
|
+
const cover = resolveVideoCover(item, override);
|
|
4224
|
+
if (!cover?.imageUrl) {
|
|
4225
|
+
errorList.push(`\u89C6\u9891 "${item.videoName}" \u5728\u5E73\u53F0 ${mediaType} \u5C01\u9762\u53C2\u6570\u7F3A\u5931`);
|
|
4226
|
+
}
|
|
4211
4227
|
const publishTitle = buildPublishTitle(item, mediaType, override);
|
|
4212
4228
|
const youTubeVideoStatus = mediaType === "YouTube" ? {
|
|
4213
4229
|
privacyStatus: item.youtubePrivacy ?? "public",
|
|
@@ -4215,10 +4231,10 @@ function buildVideoChannels(videos, currentUserId) {
|
|
|
4215
4231
|
} : null;
|
|
4216
4232
|
const toBeSent = {
|
|
4217
4233
|
videoId: item.videoId,
|
|
4218
|
-
sendType,
|
|
4219
|
-
publishAt: publishAtUtc,
|
|
4234
|
+
sendType: schedule.sendType,
|
|
4235
|
+
publishAt: schedule.publishAtUtc,
|
|
4220
4236
|
publishTitle,
|
|
4221
|
-
publishCover: buildCoverPayload(
|
|
4237
|
+
publishCover: buildCoverPayload(cover, item.videoId, currentUserId),
|
|
4222
4238
|
youTubeVideoStatus
|
|
4223
4239
|
};
|
|
4224
4240
|
const accountInfo = {
|
|
@@ -4310,18 +4326,17 @@ function buildImageChannels(posts, currentUserId) {
|
|
|
4310
4326
|
);
|
|
4311
4327
|
}
|
|
4312
4328
|
const mediaType = account.mediaAccountType;
|
|
4313
|
-
const sendType = toSendType(item.publishMode);
|
|
4314
|
-
const publishAtUtc = item.publishAt ? new Date(item.publishAt).toISOString() : null;
|
|
4315
|
-
if (item.publishMode === "scheduled" && !item.publishAt) {
|
|
4316
|
-
errorList.push("\u56FE\u6587\u5E16\u5B50\u8BBE\u7F6E\u4E86\u5B9A\u65F6\u53D1\u5E03\u4F46\u672A\u586B\u5199 publishAt");
|
|
4317
|
-
}
|
|
4318
|
-
if (sendType > itemSendType) itemSendType = sendType;
|
|
4319
4329
|
const override = item.platformOverrides?.[mediaType];
|
|
4330
|
+
const schedule = resolvePublishSchedule(item, override);
|
|
4331
|
+
if (schedule.publishMode === "scheduled" && !schedule.publishAt) {
|
|
4332
|
+
errorList.push(`\u56FE\u6587\u5E16\u5B50\u5728\u5E73\u53F0 ${mediaType} \u8BBE\u7F6E\u4E86\u5B9A\u65F6\u53D1\u5E03\u4F46\u672A\u586B\u5199 publishAt`);
|
|
4333
|
+
}
|
|
4334
|
+
if (schedule.sendType > itemSendType) itemSendType = schedule.sendType;
|
|
4320
4335
|
const publishTitle = buildPublishTitle(item, mediaType, override, true);
|
|
4321
4336
|
const toBeSent = {
|
|
4322
4337
|
imageGroupId: vGuid,
|
|
4323
|
-
sendType,
|
|
4324
|
-
publishAt: publishAtUtc,
|
|
4338
|
+
sendType: schedule.sendType,
|
|
4339
|
+
publishAt: schedule.publishAtUtc,
|
|
4325
4340
|
publishTitle
|
|
4326
4341
|
};
|
|
4327
4342
|
const accountInfo = {
|
|
@@ -4420,6 +4435,17 @@ ${SEP}`);
|
|
|
4420
4435
|
if (override.description) console.log(` \u63CF\u8FF0\u8986\u76D6 \uFF1A${pt.description}`);
|
|
4421
4436
|
const ovTopics = formatTopics(override.topics);
|
|
4422
4437
|
if (ovTopics) console.log(` \u6807\u7B7E\u8986\u76D6 \uFF1A${ovTopics}`);
|
|
4438
|
+
const schedule = resolvePublishSchedule(item, override);
|
|
4439
|
+
if (override.publishMode || override.publishAt) {
|
|
4440
|
+
console.log(
|
|
4441
|
+
` \u53D1\u5E03\u8986\u76D6 \uFF1A${formatPublishMode(schedule.publishMode, schedule.publishAt)}`
|
|
4442
|
+
);
|
|
4443
|
+
}
|
|
4444
|
+
if (override.cover) {
|
|
4445
|
+
const cover = resolveVideoCover(item, override);
|
|
4446
|
+
console.log(` \u5C01\u9762\u8986\u76D6 \uFF1A${cover.imageUrl || "\u26A0\uFE0F \u672A\u8BBE\u7F6E"}`);
|
|
4447
|
+
if (cover.sourceImageId) console.log(` \u5C01\u9762 ID \uFF1A${cover.sourceImageId}`);
|
|
4448
|
+
}
|
|
4423
4449
|
}
|
|
4424
4450
|
for (const acc of accounts) {
|
|
4425
4451
|
console.log(` \xB7 ${acc.mediaCustomerName}\uFF08${acc.mediaCustomerId}\uFF09`);
|
|
@@ -4466,6 +4492,12 @@ ${SEP}`);
|
|
|
4466
4492
|
if (override.description) console.log(` \u63CF\u8FF0\u8986\u76D6 \uFF1A${pt.description}`);
|
|
4467
4493
|
const ovTopics = formatTopics(override.topics);
|
|
4468
4494
|
if (ovTopics) console.log(` \u6807\u7B7E\u8986\u76D6 \uFF1A${ovTopics}`);
|
|
4495
|
+
const schedule = resolvePublishSchedule(item, override);
|
|
4496
|
+
if (override.publishMode || override.publishAt) {
|
|
4497
|
+
console.log(
|
|
4498
|
+
` \u53D1\u5E03\u8986\u76D6 \uFF1A${formatPublishMode(schedule.publishMode, schedule.publishAt)}`
|
|
4499
|
+
);
|
|
4500
|
+
}
|
|
4469
4501
|
}
|
|
4470
4502
|
for (const acc of accounts) {
|
|
4471
4503
|
console.log(` \xB7 ${acc.mediaCustomerName}\uFF08${acc.mediaCustomerId}\uFF09`);
|
package/dist/skill/SKILL.md
CHANGED
|
@@ -239,6 +239,6 @@ CLI 返回的时间字段(如 `*DateTime` / `*Time` / `createTime` / `publishT
|
|
|
239
239
|
|
|
240
240
|
> 无对应 CLI 命令的模块,或需要引导用户在网页端查看数据时,查阅 `references/web-pages.md` 获取完整页面清单与链接。
|
|
241
241
|
|
|
242
|
-
URL 格式:`https://www.siluzan.com/v3/foreign_trade/cso/{页面}`
|
|
242
|
+
URL 格式:`https://www-ci.siluzan.com/v3/foreign_trade/cso/{页面}`
|
|
243
243
|
|
|
244
244
|
常用页面:`task`(任务管理)· `postVideo`(发布页)· `ManageAccounts`(账号管理)· `planning`(AI 内容规划)· `table`(绩效报表)· `Workdata`(作品数据)
|
package/dist/skill/_meta.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"slug": "siluzan-cso",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"publishedAt":
|
|
3
|
+
"version": "1.1.21-beta.1",
|
|
4
|
+
"publishedAt": 1780019943805,
|
|
5
5
|
"homepage": "https://www.siluzan.com",
|
|
6
6
|
"source": "https://dev.azure.com/jack4it/Sammamish/_git/siluzan-skill",
|
|
7
7
|
"requiredBinaries": [
|
|
@@ -32,7 +32,14 @@
|
|
|
32
32
|
],
|
|
33
33
|
|
|
34
34
|
"publishMode": "scheduled",
|
|
35
|
-
"publishAt": "2026-03-20T10:00:00+08:00"
|
|
35
|
+
"publishAt": "2026-03-20T10:00:00+08:00",
|
|
36
|
+
|
|
37
|
+
"platformOverrides": {
|
|
38
|
+
"Facebook": {
|
|
39
|
+
"publishMode": "scheduled",
|
|
40
|
+
"publishAt": "2026-03-20T15:00:00+08:00"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
36
43
|
}
|
|
37
44
|
]
|
|
38
45
|
}
|
|
@@ -43,7 +43,8 @@
|
|
|
43
43
|
}
|
|
44
44
|
],
|
|
45
45
|
|
|
46
|
-
"publishMode": "
|
|
46
|
+
"publishMode": "scheduled",
|
|
47
|
+
"publishAt": "2026-04-08T10:00:00+08:00",
|
|
47
48
|
|
|
48
49
|
"youtubePrivacy": "public",
|
|
49
50
|
|
|
@@ -52,7 +53,15 @@
|
|
|
52
53
|
"title": "YouTube 专用标题(≤100字)",
|
|
53
54
|
"description": "YouTube 专用描述",
|
|
54
55
|
"topics": ["YouTubeTopic"],
|
|
55
|
-
"topicPosition": 4
|
|
56
|
+
"topicPosition": 4,
|
|
57
|
+
"publishMode": "scheduled",
|
|
58
|
+
"publishAt": "2026-04-08T18:00:00+08:00",
|
|
59
|
+
"cover": {
|
|
60
|
+
"imageUrl": "https://cdn.example.com/cover-youtube.jpg",
|
|
61
|
+
"imageName": "cover-youtube.jpg",
|
|
62
|
+
"imageSourceType": 1,
|
|
63
|
+
"sourceImageId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
|
64
|
+
}
|
|
56
65
|
}
|
|
57
66
|
}
|
|
58
67
|
}
|
|
@@ -139,6 +139,8 @@ AI 可直接帮助润色:加钩子开头、适配平台风格、加 SEO 关键
|
|
|
139
139
|
|
|
140
140
|
**多平台不同时间发布**
|
|
141
141
|
|
|
142
|
+
全局 `publishMode` / `publishAt` 作为默认值;某平台需要不同时间时,在 `platformOverrides.<平台>` 中覆盖:
|
|
143
|
+
|
|
142
144
|
```json
|
|
143
145
|
"publishMode": "scheduled",
|
|
144
146
|
"publishAt": "2026-04-08T10:00:00+08:00",
|
|
@@ -150,6 +152,31 @@ AI 可直接帮助润色:加钩子开头、适配平台风格、加 SEO 关键
|
|
|
150
152
|
}
|
|
151
153
|
```
|
|
152
154
|
|
|
155
|
+
某平台可单独设为立即发布:`"publishMode": "immediate"`(无需 `publishAt`)。
|
|
156
|
+
|
|
157
|
+
**多平台不同封面(仅视频)**
|
|
158
|
+
|
|
159
|
+
全局 `cover` 作为默认封面;某平台需要不同封面时:
|
|
160
|
+
|
|
161
|
+
```json
|
|
162
|
+
"cover": {
|
|
163
|
+
"imageUrl": "https://cdn.example.com/cover-default.jpg",
|
|
164
|
+
"imageName": "cover-default.jpg",
|
|
165
|
+
"imageSourceType": 1,
|
|
166
|
+
"sourceImageId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
|
167
|
+
},
|
|
168
|
+
"platformOverrides": {
|
|
169
|
+
"YouTube": {
|
|
170
|
+
"cover": {
|
|
171
|
+
"imageUrl": "https://cdn.example.com/cover-youtube.jpg",
|
|
172
|
+
"imageName": "cover-youtube.jpg",
|
|
173
|
+
"imageSourceType": 1,
|
|
174
|
+
"sourceImageId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
```
|
|
179
|
+
|
|
153
180
|
---
|
|
154
181
|
|
|
155
182
|
### Step 6:汇总确认
|
|
@@ -209,7 +236,7 @@ siluzan-cso publish -c publish-config.json
|
|
|
209
236
|
|
|
210
237
|
> 查询发布状态、处理失败项 → 参见 `references/task.md`
|
|
211
238
|
|
|
212
|
-
前往 CSO 任务管理页面查看进度:`https://www.siluzan.com/v3/foreign_trade/cso/task`
|
|
239
|
+
前往 CSO 任务管理页面查看进度:`https://www-ci.siluzan.com/v3/foreign_trade/cso/task`
|
|
213
240
|
|
|
214
241
|
---
|
|
215
242
|
|
|
@@ -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
|
|
|
@@ -71,12 +71,12 @@ siluzan-cso task detail --publish-id <id> --media YouTube
|
|
|
71
71
|
|
|
72
72
|
**发布项状态:**
|
|
73
73
|
|
|
74
|
-
| 状态 | 含义 |
|
|
75
|
-
| -------- | ---------------- |
|
|
76
|
-
| 发布中 | 正在发布到该平台 |
|
|
77
|
-
| 已发布 | 成功 |
|
|
78
|
-
| 定时发布 | 等待到达设定时间 |
|
|
79
|
-
| 发布失败 | 失败,可重试 |
|
|
74
|
+
| 状态 | 含义 | videoStatus |
|
|
75
|
+
| -------- | ---------------- | ----------- |
|
|
76
|
+
| 发布中 | 正在发布到该平台 | 0或10 |
|
|
77
|
+
| 已发布 | 成功 | 1 |
|
|
78
|
+
| 定时发布 | 等待到达设定时间 | 9 |
|
|
79
|
+
| 发布失败 | 失败,可重试 | 3 |
|
|
80
80
|
|
|
81
81
|
---
|
|
82
82
|
|
|
@@ -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.
|
|
12
|
+
$PKG_VERSION = '1.1.21-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.
|
|
12
|
+
readonly PKG_VERSION="1.1.21-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
|
package/package.json
CHANGED