siluzan-cso-cli 1.1.11-beta.7 → 1.1.11-beta.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 CHANGED
@@ -50,7 +50,7 @@ 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`。
53
+ > **注意**:当前为测试版(1.1.11-beta.8),供内部测试使用。正式发布后安装命令将改为 `npm install -g siluzan-cso-cli`。
54
54
 
55
55
  | 助手 | 建议 `--ai` |
56
56
  |------|-------------|
@@ -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
  ```
@@ -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-beta.8",
4
+ "publishedAt": 1776332742523,
5
5
  "homepage": "https://www.siluzan.com",
6
6
  "source": "https://dev.azure.com/jack4it/Sammamish/_git/siluzan-skill",
7
7
  "requiredBinaries": [
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-beta.8",
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": {