knowledge-studio-cli 2.7.2 → 2.8.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 CHANGED
@@ -188,14 +188,14 @@ Config file location: `~/.bailian/config.json`
188
188
 
189
189
  All commands support these common flags:
190
190
 
191
- | Flag | Description |
192
- | :---------- | :--------------------------------------------------- |
193
- | `--output` | Output format: `text` (default) or `json` |
194
- | `--quiet` | Print only the result value, no headers or hints |
195
- | `--dry-run` | Preview the request without sending it to the server |
196
- | `--timeout` | Request timeout in seconds (default: 60) |
197
- | `--verbose` | Show verbose output including HTTP details |
198
- | `--config` | Path to a custom config file |
191
+ | Flag | Description |
192
+ | :---------- | :------------------------------------------------------------------------------------- |
193
+ | `--output` | Output format: `text` (default) or `json` |
194
+ | `--quiet` | Hide progress and informational messages; preserve final results, warnings, and errors |
195
+ | `--dry-run` | Preview the request without sending it to the server |
196
+ | `--timeout` | Request timeout in seconds (default: 60) |
197
+ | `--verbose` | Show verbose output including HTTP details |
198
+ | `--config` | Path to a custom config file |
199
199
 
200
200
  ## Links
201
201
 
@@ -216,4 +216,4 @@ Bug reports, feature requests, and PRs are welcome. See [CONTRIBUTING.md](https:
216
216
 
217
217
  ### RAG audio and video
218
218
 
219
- `kscli doc import --index-id <id> --doc-id <fileId>` imports an existing file into a knowledge base; `doc list --details` shows per-file processing settings. Media support includes parser options, streaming uploads, and media references in search/chunk output. Chat JSON separates the final answer from phases, tools, docs, usage, and raw events; quiet mode emits only the final answer. See the [command guide](../../docs/knowledge/knowledge-cli-guide.md).
219
+ `kscli doc import --index-id <id> --doc-id <fileId>` imports an existing file into a knowledge base; `doc list --details` shows per-file processing settings. Media support includes parser options, streaming uploads, and media references in search/chunk output. Chat JSON separates the final answer from phases, tools, docs, usage, and raw events; quiet mode hides progress and informational messages while preserving the final result, including every JSON field. See the [command guide](../../docs/knowledge/knowledge-cli-guide.md).
package/README.zh.md CHANGED
@@ -193,14 +193,14 @@ kscli update
193
193
 
194
194
  所有命令均支持以下通用参数:
195
195
 
196
- | 参数 | 说明 |
197
- | :---------- | :--------------------------------------- |
198
- | `--output` | 输出格式:`text`(默认)或 `json` |
199
- | `--quiet` | 静默模式,仅输出结果值,不显示表头和提示 |
200
- | `--dry-run` | 预览请求结构,不实际发送到服务端 |
201
- | `--timeout` | 请求超时时间,单位秒(默认 60) |
202
- | `--verbose` | 显示详细输出,包括 HTTP 请求详情 |
203
- | `--config` | 指定自定义配置文件路径 |
196
+ | 参数 | 说明 |
197
+ | :---------- | :------------------------------------------- |
198
+ | `--output` | 输出格式:`text`(默认)或 `json` |
199
+ | `--quiet` | 隐藏进度和过程提示,保留最终结果、警告和错误 |
200
+ | `--dry-run` | 预览请求结构,不实际发送到服务端 |
201
+ | `--timeout` | 请求超时时间,单位秒(默认 60) |
202
+ | `--verbose` | 显示详细输出,包括 HTTP 请求详情 |
203
+ | `--config` | 指定自定义配置文件路径 |
204
204
 
205
205
  ## 相关链接
206
206
 
@@ -221,4 +221,4 @@ kscli update
221
221
 
222
222
  ### RAG 音视频接入
223
223
 
224
- `kscli doc import --index-id <id> --doc-id <fileId>` 将历史文件导入已有库;`doc list --details` 查看文件级处理参数。支持音视频 parser、流式上传,以及检索/切片中的媒体来源展示。问答 JSON 将最终 answer 与 phases/tools/docs/usage/events 分开保存,quiet 仅输出最终回答。参阅 [命令指南](../../docs/knowledge/knowledge-cli-guide.md)。
224
+ `kscli doc import --index-id <id> --doc-id <fileId>` 将历史文件导入已有库;`doc list --details` 查看文件级处理参数。支持音视频 parser、流式上传,以及检索/切片中的媒体来源展示。问答 JSON 将最终 answer 与 phases/tools/docs/usage/events 分开保存,quiet 只隐藏进度和过程提示,保留最终结果及完整 JSON 字段。参阅 [命令指南](../../docs/knowledge/knowledge-cli-guide.md)。
package/dist/kscli.mjs CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import{createCli as e}from"bailian-cli-runtime";import{configSet as t,configShow as n,knowledgeCategoryAdd as r,knowledgeCategoryDelete as i,knowledgeCategoryList as a,knowledgeChat as o,knowledgeChunkAdd as s,knowledgeChunkDelete as c,knowledgeChunkList as l,knowledgeChunkUpdate as u,knowledgeCollectionCreate as d,knowledgeCollectionGet as f,knowledgeDocDelete as p,knowledgeDocImport as m,knowledgeDocImportOss as h,knowledgeDocList as g,knowledgeDocStatus as _,knowledgeDocSync as v,knowledgeDocTag as y,knowledgeDocUpload as b,knowledgeFileDelete as x,knowledgeFileGet as S,knowledgeFileList as C,knowledgeInit as w,knowledgeKbCreate as T,knowledgeKbDelete as E,knowledgeKbInfo as D,knowledgeKbList as O,knowledgeKbStats as k,knowledgeKbUpdate as A,knowledgeSearch as j,knowledgeServiceCopy as M,knowledgeServiceCreate as N,knowledgeServiceDelete as P,knowledgeServiceDeploy as F,knowledgeServiceGet as I,knowledgeServiceList as L,knowledgeServiceUpdate as R,update as z}from"bailian-cli-commands";e({"config show":n,"config set":t,update:z,search:j,chat:o,"kb list":O,"kb info":D,"kb create":T,init:w,"kb update":A,"kb delete":E,"doc list":g,"doc status":_,"doc upload":b,"doc sync":v,"doc delete":p,"doc tag":y,"service list":L,"service get":I,"service create":N,"service update":R,"service deploy":F,"service delete":P,"service copy":M,"chunk add":s,"chunk list":l,"chunk update":u,"chunk delete":c,"kb stats":k,"category list":a,"category add":r,"category delete":i,"file list":C,"file get":S,"file delete":x,"collection create":d,"collection get":f,"doc import-oss":h,"doc import":m},{binName:`kscli`,version:`2.7.2`,clientName:`knowledge-studio-cli`,npmPackage:`knowledge-studio-cli`}).run();export{};
3
+ import{createCli as e}from"bailian-cli-runtime";import{configSet as t,configShow as n,knowledgeCategoryAdd as r,knowledgeCategoryDelete as i,knowledgeCategoryList as a,knowledgeChat as o,knowledgeChunkAdd as s,knowledgeChunkDelete as c,knowledgeChunkList as l,knowledgeChunkUpdate as u,knowledgeCollectionCreate as d,knowledgeCollectionGet as f,knowledgeDocDelete as p,knowledgeDocImport as m,knowledgeDocImportOss as h,knowledgeDocList as g,knowledgeDocStatus as _,knowledgeDocSync as v,knowledgeDocTag as y,knowledgeDocUpload as b,knowledgeFileDelete as x,knowledgeFileGet as S,knowledgeFileList as C,knowledgeInit as w,knowledgeKbCreate as T,knowledgeKbDelete as E,knowledgeKbInfo as D,knowledgeKbList as O,knowledgeKbStats as k,knowledgeKbUpdate as A,knowledgeSearch as j,knowledgeServiceCopy as M,knowledgeServiceCreate as N,knowledgeServiceDelete as P,knowledgeServiceDeploy as F,knowledgeServiceGet as I,knowledgeServiceList as L,knowledgeServiceUpdate as R,update as z}from"bailian-cli-commands";e({"config show":n,"config set":t,update:z,search:j,chat:o,"kb list":O,"kb info":D,"kb create":T,init:w,"kb update":A,"kb delete":E,"doc list":g,"doc status":_,"doc upload":b,"doc sync":v,"doc delete":p,"doc tag":y,"service list":L,"service get":I,"service create":N,"service update":R,"service deploy":F,"service delete":P,"service copy":M,"chunk add":s,"chunk list":l,"chunk update":u,"chunk delete":c,"kb stats":k,"category list":a,"category add":r,"category delete":i,"file list":C,"file get":S,"file delete":x,"collection create":d,"collection get":f,"doc import-oss":h,"doc import":m},{binName:`kscli`,version:`2.8.1`,clientName:`knowledge-studio-cli`,npmPackage:`knowledge-studio-cli`}).run();export{};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "knowledge-studio-cli",
3
- "version": "2.7.2",
3
+ "version": "2.8.1",
4
4
  "description": "Lightweight RAG CLI for Aliyun Model Studio — focused on knowledge-base retrieval.",
5
5
  "keywords": [
6
6
  "alibaba-cloud",
@@ -38,9 +38,9 @@
38
38
  "registry": "https://registry.npmjs.org/"
39
39
  },
40
40
  "dependencies": {
41
- "bailian-cli-commands": "2.7.2",
42
- "bailian-cli-core": "2.7.2",
43
- "bailian-cli-runtime": "2.7.2"
41
+ "bailian-cli-core": "2.8.1",
42
+ "bailian-cli-runtime": "2.8.1",
43
+ "bailian-cli-commands": "2.8.1"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@clack/prompts": "^0.7.0",