knowledge-studio-cli 1.27.0 → 2.3.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
@@ -154,7 +154,7 @@ kscli chat \
154
154
 
155
155
  ## Authentication
156
156
 
157
- A DashScope API Key is recommended. Get yours from the [DashScope Console](https://bailian.console.aliyun.com/?tab=app#/api-key).
157
+ A DashScope API Key is recommended. Get yours from the [DashScope Console](https://bailian.console.aliyun.com/?spm=a2ty07.github&tab=app#/api-key).
158
158
 
159
159
  ```bash
160
160
  # Option 1: Environment variable
@@ -202,7 +202,7 @@ All commands support these common flags:
202
202
  | :----------------------- | :-------------------------------------------------------------------------------------------------------- |
203
203
  | Knowledge Studio Console | https://rag.console.aliyun.com/ |
204
204
  | DashScope API Docs | https://help.aliyun.com/zh/model-studio/ |
205
- | Get API Key | https://bailian.console.aliyun.com/?tab=app#/api-key |
205
+ | Get API Key | https://bailian.console.aliyun.com/?spm=a2ty07.github&tab=app#/api-key |
206
206
  | Full CLI Guide | [docs/knowledge-cli-guide.md](https://github.com/modelstudioai/cli/blob/main/docs/knowledge-cli-guide.md) |
207
207
 
208
208
  ## Contributing
package/README.zh.md CHANGED
@@ -154,7 +154,7 @@ kscli chat \
154
154
 
155
155
  ## 认证方式
156
156
 
157
- 推荐使用 DashScope API Key 进行认证。前往 [DashScope 控制台](https://bailian.console.aliyun.com/?tab=app#/api-key) 获取。
157
+ 推荐使用 DashScope API Key 进行认证。前往 [DashScope 控制台](https://bailian.console.aliyun.com/?spm=a2ty07.github&tab=app#/api-key) 获取。
158
158
 
159
159
  ```bash
160
160
  # 方式一:环境变量
@@ -207,7 +207,7 @@ kscli update
207
207
  | :---------------------- | :-------------------------------------------------------------------------------------------------------- |
208
208
  | Knowledge Studio 控制台 | https://rag.console.aliyun.com/ |
209
209
  | DashScope API 文档 | https://help.aliyun.com/zh/model-studio/ |
210
- | 获取 API Key | https://bailian.console.aliyun.com/?tab=app#/api-key |
210
+ | 获取 API Key | https://bailian.console.aliyun.com/?spm=a2ty07.github&tab=app#/api-key |
211
211
  | 完整 CLI 指南 | [docs/knowledge-cli-guide.md](https://github.com/modelstudioai/cli/blob/main/docs/knowledge-cli-guide.md) |
212
212
 
213
213
  ## 参与贡献
package/dist/kscli.d.mts CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- export { };
3
+ export {}
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,knowledgeDocImportOss as m,knowledgeDocList as h,knowledgeDocStatus as g,knowledgeDocTag as _,knowledgeDocUpload as v,knowledgeFileDelete as y,knowledgeFileGet as b,knowledgeFileList as x,knowledgeKbCreate as S,knowledgeKbDelete as C,knowledgeKbInfo as w,knowledgeKbList as T,knowledgeKbStats as E,knowledgeKbUpdate as D,knowledgeRetrieve as O,knowledgeSearch as k,knowledgeServiceCopy as A,knowledgeServiceCreate as j,knowledgeServiceDelete as M,knowledgeServiceDeploy as N,knowledgeServiceGet as P,knowledgeServiceList as F,knowledgeServiceUpdate as I,update as L}from"bailian-cli-commands";e({"config show":n,"config set":t,update:L,retrieve:O,search:k,chat:o,"kb list":T,"kb info":w,"kb create":S,"kb update":D,"kb delete":C,"doc list":h,"doc status":g,"doc upload":v,"doc delete":p,"doc tag":_,"service list":F,"service get":P,"service create":j,"service update":I,"service deploy":N,"service delete":M,"service copy":A,"chunk add":s,"chunk list":l,"chunk update":u,"chunk delete":c,"kb stats":E,"category list":a,"category add":r,"category delete":i,"file list":x,"file get":b,"file delete":y,"collection create":d,"collection get":f,"doc import-oss":m},{binName:`kscli`,version:`1.27.0`,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,knowledgeDocImportOss as m,knowledgeDocList as h,knowledgeDocStatus as g,knowledgeDocTag as _,knowledgeDocUpload as v,knowledgeFileDelete as y,knowledgeFileGet as b,knowledgeFileList as x,knowledgeKbCreate as S,knowledgeKbDelete as C,knowledgeKbInfo as w,knowledgeKbList as T,knowledgeKbStats as E,knowledgeKbUpdate as D,knowledgeRetrieve as O,knowledgeSearch as k,knowledgeServiceCopy as A,knowledgeServiceCreate as j,knowledgeServiceDelete as M,knowledgeServiceDeploy as N,knowledgeServiceGet as P,knowledgeServiceList as F,knowledgeServiceUpdate as I,update as L}from"bailian-cli-commands";e({"config show":n,"config set":t,update:L,retrieve:O,search:k,chat:o,"kb list":T,"kb info":w,"kb create":S,"kb update":D,"kb delete":C,"doc list":h,"doc status":g,"doc upload":v,"doc delete":p,"doc tag":_,"service list":F,"service get":P,"service create":j,"service update":I,"service deploy":N,"service delete":M,"service copy":A,"chunk add":s,"chunk list":l,"chunk update":u,"chunk delete":c,"kb stats":E,"category list":a,"category add":r,"category delete":i,"file list":x,"file get":b,"file delete":y,"collection create":d,"collection get":f,"doc import-oss":m},{binName:`kscli`,version:`2.3.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": "1.27.0",
3
+ "version": "2.3.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": "1.27.0",
42
- "bailian-cli-runtime": "1.27.0",
43
- "bailian-cli-core": "1.27.0"
41
+ "bailian-cli-commands": "2.3.1",
42
+ "bailian-cli-core": "2.3.1",
43
+ "bailian-cli-runtime": "2.3.1"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@clack/prompts": "^0.7.0",
@@ -51,7 +51,7 @@
51
51
  "chalk": "^5.6.2",
52
52
  "typescript": "^6.0.2",
53
53
  "undici": "^6.27.0",
54
- "vite-plus": "0.1.22",
54
+ "vite-plus": "0.3.3",
55
55
  "yaml": "^2.8.3",
56
56
  "e2e": "0.0.0"
57
57
  },