siluzan-cso-cli 1.1.11-beta.7 → 1.1.11

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
@@ -42,7 +42,7 @@
42
42
  在**用户的目标项目根目录**执行(根据用户使用的助手选择 `--ai`):
43
43
 
44
44
  ```bash
45
- npm install -g siluzan-cso-cli@beta
45
+ npm install -g siluzan-cso-cli
46
46
  siluzan-cso init --ai cursor # 写入 Cursor(默认)
47
47
  siluzan-cso init --ai cursor,claude # 同时写入多个平台
48
48
  siluzan-cso init --ai all # 写入所有支持的平台
@@ -50,7 +50,6 @@ siluzan-cso init -d /path/to/skills # 写入自定义目录
50
50
  siluzan-cso init --force # 强制覆盖已存在文件
51
51
  ```
52
52
 
53
- > **注意**:当前为测试版(1.1.11-beta.7),供内部测试使用。正式发布后安装命令将改为 `npm install -g siluzan-cso-cli`。
54
53
 
55
54
  | 助手 | 建议 `--ai` |
56
55
  |------|-------------|
package/dist/index.js CHANGED
@@ -1939,11 +1939,11 @@ var require_semver2 = __commonJS({
1939
1939
  import { Command, Option } from "commander";
1940
1940
 
1941
1941
  // src/config/defaults.ts
1942
- var BUILD_ENV = "test";
1943
- var DEFAULT_API_BASE = "https://api-ci.siluzan.com";
1944
- var DEFAULT_CSO_BASE = "https://cso-ci.siluzan.com";
1945
- var DEFAULT_WEB_BASE = "https://www-ci.siluzan.com";
1946
- var DEFAULT_AGENT_BASE = "https://agent-ci.mysiluzan.com";
1942
+ var BUILD_ENV = "production";
1943
+ var DEFAULT_API_BASE = "https://api.siluzan.com";
1944
+ var DEFAULT_CSO_BASE = "https://cso.siluzan.com";
1945
+ var DEFAULT_WEB_BASE = "https://www.siluzan.com";
1946
+ var DEFAULT_AGENT_BASE = "https://agent.mysiluzan.com";
1947
1947
 
1948
1948
  // src/commands/init.ts
1949
1949
  import * as fs2 from "fs/promises";
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: siluzan-cso
3
- description: 当用户提问的内容涉及以下内容时,可以使用本SKILL(1)多媒体平台内容(视频/图文)发布与运营(YouTube、TikTok、Instagram、LinkedIn、X、视频号),以及账号授权、数据报表、任务管理;2)公众号,小红薯等内容文案/选题生成——选题/拆解/口播成稿,三库选题。
3
+ description: 当用户提问的内容涉及以下内容时,可以使用本SKILL(1)多媒体平台内容(视频/图文)发布与运营(YouTube、TikTok、Instagram、LinkedIn、X、视频号),以及账号授权、数据报表、任务管理;(2)公众号、小红书等内容文案/选题生成——选题/拆解/口播成稿、三库选题;(3)RAG 知识库检索——回答产品/品牌问题、写需要品牌素材的文案。
4
4
  compatibility: Requires siluzan-cso-cli installed and authenticated via `siluzan-cso login`
5
5
  ---
6
6
 
@@ -55,8 +55,8 @@ compatibility: Requires siluzan-cso-cli installed and authenticated via `siluzan
55
55
  | `siluzan-cso authorize --media-type <平台>` | 发起媒体账号 OAuth 授权 | `references/authorize.md` |
56
56
  | `siluzan-cso list-accounts` | 列出媒体账号,获取账号 ID / 数据总览 | `references/list-accounts.md` |
57
57
  | `siluzan-cso persona list` | 拉取 CSO 人设列表(含 styleGuide Markdown) | `references/persona.md` |
58
- | `siluzan-cso rag list` | 列出所有知识库文件夹(供 AI 按用户意图选择检索范围) | `references/rag.md` |
59
- | `siluzan-cso rag query` | RAG 知识库检索(仅写稿;可配合 `rag list` 选定 `--folder-id`) | `references/rag.md` |
58
+ | `siluzan-cso rag list` | 列出知识库文件夹;`--rag-only` 仅已建索引;`--folder-id` 查指定文件夹下的子库 | `references/rag.md` |
59
+ | `siluzan-cso rag query` | RAG 知识库检索;默认全量(不过滤标签);`--folder-id` 限定范围;`--tags` 按标签精确筛选 | `references/rag.md` |
60
60
  | `siluzan-cso account-group list/create/add-accounts/remove-accounts/update/delete` | 账号分组管理 | `references/account-group.md` |
61
61
  | `siluzan-cso upload -f <file>` | 上传视频 / 图片到素材库 | `references/upload.md` |
62
62
  | `siluzan-cso extract-cover -f <video> -p <平台>` | 从视频截取封面帧 | `references/extract-cover.md` |
@@ -121,14 +121,18 @@ rag query ──需要知识库 ID──► rag list(按用户意图自动选
121
121
  **Step 1 — 获取知识库**(只在任务开始时调用一次)
122
122
 
123
123
  ```bash
124
+ # 列出所有已建索引的根级知识库
124
125
  siluzan-cso rag list --rag-only --json
126
+
127
+ # 若根级库下还有子文件夹,可钻取查看
128
+ siluzan-cso rag list --folder-id <父文件夹id> --rag-only --json
125
129
  ```
126
130
 
127
131
  **Step 2 — 选择知识库**(按名称语义匹配)
128
132
 
129
- - 用户提到品牌名 → 找最匹配的文件夹,记录 `id`
130
- - 多品牌 → `--folder-id id1,id2`
131
- - 无明确品牌 → 不传 `--folder-id`
133
+ - 用户提到品牌名 → 找名称最匹配的文件夹,记录 `id`
134
+ - 多品牌 → `--folder-id id1,id2`(逗号分隔)
135
+ - 无明确品牌 → 不传 `--folder-id`(全库检索)
132
136
 
133
137
  **Step 3 — 拆词多轮检索**(2–5 个子查询,每个聚焦一个维度)
134
138
 
@@ -138,7 +142,7 @@ siluzan-cso rag query -q "产品核心卖点" --folder-id <id> --top-k 10
138
142
  siluzan-cso rag query -q "用户使用场景" --folder-id <id>
139
143
  siluzan-cso rag query -q "品牌差异优势" --folder-id <id>
140
144
 
141
- # 知识库已按三库打标时,才按标签精确筛选
145
+ # 仅当知识库已按标签打标,且需要精确筛选时才传 --tags
142
146
  siluzan-cso rag query -q "抖音爆款钩子" --tags "流量因子库"
143
147
  siluzan-cso rag query -q "产品卖点故事" --tags "产品资产库"
144
148
  ```
@@ -198,6 +202,6 @@ siluzan-cso rag query -q "产品卖点故事" --tags "产品资产库"
198
202
 
199
203
  > 无对应 CLI 命令的模块,或需要引导用户在网页端查看数据时,查阅 `references/web-pages.md` 获取完整页面清单与链接。
200
204
 
201
- URL 格式:`https://www-ci.siluzan.com/v3/foreign_trade/cso/{页面}`
205
+ URL 格式:`https://www.siluzan.com/v3/foreign_trade/cso/{页面}`
202
206
 
203
207
  常用页面:`task`(任务管理)· `postVideo`(发布页)· `ManageAccounts`(账号管理)· `planning`(AI 内容规划)· `table`(绩效报表)· `Workdata`(作品数据)
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "slug": "siluzan-cso",
3
- "version": "1.1.11-beta.7",
4
- "publishedAt": 1776330316575,
3
+ "version": "1.1.11",
4
+ "publishedAt": 1776332910943,
5
5
  "homepage": "https://www.siluzan.com",
6
6
  "source": "https://dev.azure.com/jack4it/Sammamish/_git/siluzan-skill",
7
7
  "requiredBinaries": [
@@ -199,7 +199,7 @@ siluzan-cso publish -c publish-config.json
199
199
 
200
200
  > 查询发布状态、处理失败项 → 参见 `references/task.md`
201
201
 
202
- 前往 CSO 任务管理页面查看进度:`https://www-ci.siluzan.com/v3/foreign_trade/cso/task`
202
+ 前往 CSO 任务管理页面查看进度:`https://www.siluzan.com/v3/foreign_trade/cso/task`
203
203
 
204
204
  ---
205
205
 
@@ -3,7 +3,7 @@
3
3
  ## 安装 CLI
4
4
 
5
5
  ```bash
6
- npm install -g siluzan-cso-cli@beta
6
+ npm install -g siluzan-cso-cli
7
7
  ```
8
8
 
9
9
  环境要求:Node.js 18+
@@ -44,7 +44,7 @@ siluzan-cso config set --token <Token> # 备用:设置 JWT Token
44
44
 
45
45
  > **⚠️ 不要使用 `config set --token <token>` 的方式。** 该方式会将 Token 明文写入 shell history(`~/.bash_history`、`~/.zsh_history`、PowerShell 历史),存在凭证泄露风险。推荐使用 `siluzan-cso login` 交互式输入。
46
46
 
47
- API Key 获取入口:`https://cso-ci.siluzan.com/v3/foreign_trade/settings/apiKeyManagement`
47
+ API Key 获取入口:`https://cso.siluzan.com/v3/foreign_trade/settings/apiKeyManagement`
48
48
 
49
49
  ### 通过环境变量传入凭据(CI/CD 推荐)
50
50
 
@@ -79,8 +79,8 @@ siluzan-cso config show
79
79
  输出示例:
80
80
  ```
81
81
  构建环境 : production
82
- apiBaseUrl : https://api-ci.siluzan.com
83
- csoBaseUrl : https://cso-ci.siluzan.com
82
+ apiBaseUrl : https://api.siluzan.com
83
+ csoBaseUrl : https://cso.siluzan.com
84
84
  apiKey : abcd****1234
85
85
  ```
86
86
 
@@ -1,7 +1,7 @@
1
1
  # web-pages — CSO 后台页面速查
2
2
 
3
3
  > 当需要引导用户前往网页端查看数据或执行操作时,使用本文件中的页面链接。
4
- > URL 格式:`https://www-ci.siluzan.com/v3/foreign_trade/cso/{页面路径}`
4
+ > URL 格式:`https://www.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-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` | 配置重点关注账号、数据备份 |
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` | 配置重点关注账号、数据备份 |
17
17
 
18
18
 
19
19
  ---
@@ -22,10 +22,10 @@
22
22
 
23
23
  | 页面 | 完整链接 | 功能说明 |
24
24
  |------|----------|----------|
25
- | 发布作品 | `https://www-ci.siluzan.com/v3/foreign_trade/cso/postVideo?contentType=1` | 矩阵发布视频、图文、草稿管理、话题组 contentType=1 是视频,contentType=2是图文 |
25
+ | 发布作品 | `https://www.siluzan.com/v3/foreign_trade/cso/postVideo?contentType=1` | 矩阵发布视频、图文、草稿管理、话题组 contentType=1 是视频,contentType=2是图文 |
26
26
 
27
- | 发布日历 | `https://www-ci.siluzan.com/v3/foreign_trade/cso/publishCalendar` | 日历视图规划发布任务、创建/编辑发布任务 |
28
- | 营销日历 | `https://www-ci.siluzan.com/v3/foreign_trade/cso/marketingCalendar` | 营销节点日历、跳转创建发布任务 |
27
+ | 发布日历 | `https://www.siluzan.com/v3/foreign_trade/cso/publishCalendar` | 日历视图规划发布任务、创建/编辑发布任务 |
28
+ | 营销日历 | `https://www.siluzan.com/v3/foreign_trade/cso/marketingCalendar` | 营销节点日历、跳转创建发布任务 |
29
29
 
30
30
  ---
31
31
 
@@ -33,10 +33,10 @@
33
33
 
34
34
  | 页面 | 完整链接 | 功能说明 |
35
35
  |------|----------|----------|
36
- | 任务列表 | `https://www-ci.siluzan.com/v3/foreign_trade/cso/task` | 发布任务列表、状态筛选、任务详情抽屉 |
37
- | 视频管理 | `https://www-ci.siluzan.com/v3/foreign_trade/cso/VideoMgr` | 已发布视频/图文列表、删除、重发、评论查看 |
38
- | 视频搬家 | `https://www-ci.siluzan.com/v3/foreign_trade/cso/relocation` | 将视频搬运到其他平台 |
39
- | 搬家记录 | `https://www-ci.siluzan.com/v3/foreign_trade/cso/MovingRecord` | 搬家任务列表与执行状态 |
36
+ | 任务列表 | `https://www.siluzan.com/v3/foreign_trade/cso/task` | 发布任务列表、状态筛选、任务详情抽屉 |
37
+ | 视频管理 | `https://www.siluzan.com/v3/foreign_trade/cso/VideoMgr` | 已发布视频/图文列表、删除、重发、评论查看 |
38
+ | 视频搬家 | `https://www.siluzan.com/v3/foreign_trade/cso/relocation` | 将视频搬运到其他平台 |
39
+ | 搬家记录 | `https://www.siluzan.com/v3/foreign_trade/cso/MovingRecord` | 搬家任务列表与执行状态 |
40
40
 
41
41
  ---
42
42
 
@@ -44,9 +44,9 @@
44
44
 
45
45
  | 页面 | 完整链接 | 功能说明 |
46
46
  |------|----------|----------|
47
- | 私信管理 | `https://www-ci.siluzan.com/v3/foreign_trade/cso/letter` | 按渠道/时间查看与处理私信(多平台 Tab) |
48
- | 评论管理 | `https://www-ci.siluzan.com/v3/foreign_trade/cso/comment` | 收到的评论列表、回复、账号组筛选 |
49
- | 智能互动 | `https://www-ci.siluzan.com/v3/foreign_trade/cso/interaction` | 私信欢迎语、自动回复规则配置 |
47
+ | 私信管理 | `https://www.siluzan.com/v3/foreign_trade/cso/letter` | 按渠道/时间查看与处理私信(多平台 Tab) |
48
+ | 评论管理 | `https://www.siluzan.com/v3/foreign_trade/cso/comment` | 收到的评论列表、回复、账号组筛选 |
49
+ | 智能互动 | `https://www.siluzan.com/v3/foreign_trade/cso/interaction` | 私信欢迎语、自动回复规则配置 |
50
50
 
51
51
  ---
52
52
 
@@ -54,9 +54,9 @@
54
54
 
55
55
  | 页面 | 完整链接 | 功能说明 |
56
56
  |------|----------|----------|
57
- | 作品数据 | `https://www-ci.siluzan.com/v3/foreign_trade/cso/Workdata` | 作品维度统计、图表、明细(对应 CLI `report fetch`) |
58
- | 账户数据 | `https://www-ci.siluzan.com/v3/foreign_trade/cso/accountdata` | 账户维度汇总数据、趋势图表 |
59
- | 绩效报表 | `https://www-ci.siluzan.com/v3/foreign_trade/cso/table` | 多维度绩效报表、PDF 导出(对应 CLI `report fetch/records/download`) |
57
+ | 作品数据 | `https://www.siluzan.com/v3/foreign_trade/cso/Workdata` | 作品维度统计、图表、明细(对应 CLI `report fetch`) |
58
+ | 账户数据 | `https://www.siluzan.com/v3/foreign_trade/cso/accountdata` | 账户维度汇总数据、趋势图表 |
59
+ | 绩效报表 | `https://www.siluzan.com/v3/foreign_trade/cso/table` | 多维度绩效报表、PDF 导出(对应 CLI `report fetch/records/download`) |
60
60
 
61
61
  ---
62
62
 
@@ -64,10 +64,10 @@
64
64
 
65
65
  | 页面 | 完整链接 | 功能说明 |
66
66
  |------|----------|----------|
67
- | 内容规划 | `https://www-ci.siluzan.com/v3/foreign_trade/cso/planning` | AI 内容规划列表、生成规划、企业维度筛选(对应 CLI `planning`) |
68
- | 营销首页 | `https://www-ci.siluzan.com/v3/foreign_trade/cso/ContentHome` | 工作台总览:账号数、视频数、最新评论与视频 |
67
+ | 内容规划 | `https://www.siluzan.com/v3/foreign_trade/cso/planning` | AI 内容规划列表、生成规划、企业维度筛选(对应 CLI `planning`) |
68
+ | 营销首页 | `https://www.siluzan.com/v3/foreign_trade/cso/ContentHome` | 工作台总览:账号数、视频数、最新评论与视频 |
69
69
 
70
- | 话题组 | `https://www-ci.siluzan.com/v3/foreign_trade/cso/TopicGroup` | 话题组维护、话题内容管理 |
70
+ | 话题组 | `https://www.siluzan.com/v3/foreign_trade/cso/TopicGroup` | 话题组维护、话题内容管理 |
71
71
 
72
72
 
73
73
  ---
@@ -10,8 +10,8 @@ $ErrorActionPreference = 'Stop'
10
10
  $PKG_NAME = 'siluzan-cso-cli'
11
11
  $CLI_BIN = 'siluzan-cso'
12
12
  $SKILL_LABEL = 'Siluzan CSO'
13
- $INSTALL_CMD = 'npm install -g siluzan-cso-cli@beta'
14
- $WEB_BASE = 'https://www-ci.siluzan.com'
13
+ $INSTALL_CMD = 'npm install -g siluzan-cso-cli'
14
+ $WEB_BASE = 'https://www.siluzan.com'
15
15
 
16
16
  # -- Constants ----------------------------------------------------------------
17
17
  $NODE_MAJOR_MIN = 18
@@ -10,8 +10,8 @@ set -euo pipefail
10
10
  readonly PKG_NAME="siluzan-cso-cli"
11
11
  readonly CLI_BIN="siluzan-cso"
12
12
  readonly SKILL_LABEL="Siluzan CSO"
13
- readonly INSTALL_CMD="npm install -g siluzan-cso-cli@beta"
14
- readonly WEB_BASE="https://www-ci.siluzan.com"
13
+ readonly INSTALL_CMD="npm install -g siluzan-cso-cli"
14
+ readonly WEB_BASE="https://www.siluzan.com"
15
15
 
16
16
  # -- Constants ----------------------------------------------------------------
17
17
  readonly NODE_MAJOR_MIN=18
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "siluzan-cso-cli",
3
- "version": "1.1.11-beta.7",
3
+ "version": "1.1.11",
4
4
  "description": "Siluzan platform AI Skill CLI — multi-platform content publishing (video/image-text) for Cursor, Claude Code, and OpenClaw.",
5
5
  "type": "module",
6
6
  "bin": {