bailian-cli 1.14.3 → 1.15.0
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 +18 -2
- package/README.zh.md +18 -2
- package/dist/bailian.mjs +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -82,15 +82,31 @@ Send the following to your Agent — it will detect your environment, then insta
|
|
|
82
82
|
Please read https://bailian.aliyun.com/cli/install.md and install the Aliyun Model Studio CLI for me
|
|
83
83
|
```
|
|
84
84
|
|
|
85
|
-
**
|
|
85
|
+
**Install with NPM**
|
|
86
86
|
|
|
87
87
|
```bash
|
|
88
88
|
npm install -g bailian-cli
|
|
89
|
-
|
|
89
|
+
bl skill init
|
|
90
90
|
```
|
|
91
91
|
|
|
92
92
|
> Requires Node.js >= 18.17.
|
|
93
93
|
|
|
94
|
+
**Install on macOS/Linux**
|
|
95
|
+
|
|
96
|
+
```bash
|
|
97
|
+
curl -fsSL https://bailian.aliyun.com/cli/install.sh | bash
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
> No Node.js required. The installer automatically installs Bailian Skills.
|
|
101
|
+
|
|
102
|
+
**Install on Windows**
|
|
103
|
+
|
|
104
|
+
```powershell
|
|
105
|
+
irm https://bailian.aliyun.com/cli/install.ps1 | iex
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
> No Node.js required. The installer automatically installs Bailian Skills.
|
|
109
|
+
|
|
94
110
|
## Quick Start
|
|
95
111
|
|
|
96
112
|
Once installed, just describe your task to your AI Agent — no need to assemble commands by hand.
|
package/README.zh.md
CHANGED
|
@@ -81,15 +81,31 @@ _专为 AI Agent 打造,每个命令均可作为结构化工具调用。_
|
|
|
81
81
|
请阅读:https://bailian.aliyun.com/cli/install.md 并按照说明为我安装阿里云百炼 CLI
|
|
82
82
|
```
|
|
83
83
|
|
|
84
|
-
|
|
84
|
+
**NPM 安装**
|
|
85
85
|
|
|
86
86
|
```bash
|
|
87
87
|
npm install -g bailian-cli
|
|
88
|
-
|
|
88
|
+
bl skill init
|
|
89
89
|
```
|
|
90
90
|
|
|
91
91
|
> 需要预先安装 Node.js >= 18.17。
|
|
92
92
|
|
|
93
|
+
**macOS/Linux 安装**
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
curl -fsSL https://bailian.aliyun.com/cli/install.sh | bash
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
> 无需预先安装 Node.js,安装脚本会自动安装 Bailian Skills。
|
|
100
|
+
|
|
101
|
+
**Windows 安装**
|
|
102
|
+
|
|
103
|
+
```powershell
|
|
104
|
+
irm https://bailian.aliyun.com/cli/install.ps1 | iex
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
> 无需预先安装 Node.js,安装脚本会自动安装 Bailian Skills。
|
|
108
|
+
|
|
93
109
|
## 快速开始
|
|
94
110
|
|
|
95
111
|
安装完成后,直接在 AI Agent 中描述你的任务,无需手动拼接命令。
|
package/dist/bailian.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import{createCli as e}from"bailian-cli-runtime";import{advisorRecommend as t,appCall as n,appList as r,authGenerateAccessToken as i,authLogin as a,authLogout as o,authStatus as s,configAgent as c,configList as l,configSet as u,configShow as d,configUi as f,configUse as p,consoleCall as m,datasetDelete as h,datasetGet as g,datasetList as _,datasetUpload as v,datasetValidate as y,deployAudioCreate as b,deployDelete as x,deployGet as S,deployImageCreate as C,deployList as w,deployModels as T,deployScale as E,deployTextCreate as D,deployUpdate as O,fileUpload as k,finetuneAudioCreate as A,finetuneCancel as j,finetuneCapability as M,finetuneCheckpoints as N,finetuneDelete as P,finetuneExport as F,finetuneGet as I,finetuneImageCreate as L,finetuneList as R,finetuneLogs as z,finetuneTextCreate as B,finetuneWatch as V,imageEdit as H,imageGenerate as U,knowledgeChat as W,knowledgeRetrieve as G,knowledgeSearch as K,managedAgentApply as q,managedAgentDestroy as J,managedAgentInit as Y,managedAgentPlan as X,managedAgentSessionCreate as Z,managedAgentSessionDelete as Q,managedAgentSessionEvents as $,managedAgentSessionGet as ee,managedAgentSessionList as te,managedAgentSessionRun as ne,managedAgentSessionSend as re,managedAgentSkillList as ie,managedAgentStateImport as ae,managedAgentStateList as oe,managedAgentStateRm as se,managedAgentStateShow as ce,managedAgentValidate as le,mcpCall as ue,mcpList as de,mcpTools as fe,memoryAdd as pe,memoryDelete as me,memoryList as he,memoryProfileCreate as ge,memoryProfileGet as _e,memorySearch as ve,memoryUpdate as ye,modelList as be,pipelineRun as xe,pipelineValidate as Se,pluginInstall as Ce,pluginLink as we,pluginList as Te,pluginRemove as Ee,quotaCheck as De,quotaHistory as Oe,quotaList as ke,quotaRequest as Ae,searchWeb as je,skillAdd as Me,skillInit as Ne,skillList as Pe,skillRemove as Fe,skillUpdate as Ie,speechRecognize as Le,speechSynthesize as Re,textChat as ze,textOmni as Be,tokenPlanAddMember as Ve,tokenPlanAssignSeats as He,tokenPlanCreateKey as Ue,tokenPlanListSeats as We,update as Ge,
|
|
3
|
+
import{createCli as e}from"bailian-cli-runtime";import{advisorRecommend as t,appCall as n,appList as r,authGenerateAccessToken as i,authLogin as a,authLogout as o,authStatus as s,configAgent as c,configList as l,configSet as u,configShow as d,configUi as f,configUse as p,consoleCall as m,datasetDelete as h,datasetGet as g,datasetList as _,datasetUpload as v,datasetValidate as y,deployAudioCreate as b,deployDelete as x,deployGet as S,deployImageCreate as C,deployList as w,deployModels as T,deployScale as E,deployTextCreate as D,deployUpdate as O,fileUpload as k,finetuneAudioCreate as A,finetuneCancel as j,finetuneCapability as M,finetuneCheckpoints as N,finetuneDelete as P,finetuneExport as F,finetuneGet as I,finetuneImageCreate as L,finetuneList as R,finetuneLogs as z,finetuneTextCreate as B,finetuneWatch as V,imageEdit as H,imageGenerate as U,knowledgeChat as W,knowledgeRetrieve as G,knowledgeSearch as K,managedAgentApply as q,managedAgentDestroy as J,managedAgentInit as Y,managedAgentPlan as X,managedAgentSessionCreate as Z,managedAgentSessionDelete as Q,managedAgentSessionEvents as $,managedAgentSessionGet as ee,managedAgentSessionList as te,managedAgentSessionRun as ne,managedAgentSessionSend as re,managedAgentSkillList as ie,managedAgentStateImport as ae,managedAgentStateList as oe,managedAgentStateRm as se,managedAgentStateShow as ce,managedAgentValidate as le,mcpCall as ue,mcpList as de,mcpTools as fe,memoryAdd as pe,memoryDelete as me,memoryList as he,memoryProfileCreate as ge,memoryProfileGet as _e,memorySearch as ve,memoryUpdate as ye,modelList as be,pipelineRun as xe,pipelineValidate as Se,pluginInstall as Ce,pluginLink as we,pluginList as Te,pluginRemove as Ee,quotaCheck as De,quotaHistory as Oe,quotaList as ke,quotaRequest as Ae,searchWeb as je,skillAdd as Me,skillInit as Ne,skillList as Pe,skillRemove as Fe,skillUpdate as Ie,speechRecognize as Le,speechSynthesize as Re,textChat as ze,textOmni as Be,tokenPlanAddMember as Ve,tokenPlanAssignSeats as He,tokenPlanCreateKey as Ue,tokenPlanListSeats as We,update as Ge,usageCodingPlan as Ke,usageFree as qe,usageFreetier as Je,usageStats as Ye,usageSummary as Xe,usageTokenPlan as Ze,videoDownload as Qe,videoEdit as $e,videoGenerate as et,videoRef as tt,videoTaskGet as nt,visionDescribe as rt,workspaceInit as it,workspaceList as at}from"bailian-cli-commands";e({"auth login":a,"auth status":s,"auth logout":o,"auth generate-access-token":i,"text chat":ze,omni:Be,"image generate":U,"image edit":H,"video generate":et,"video edit":$e,"video ref":tt,"video task get":nt,"video download":Qe,"vision describe":rt,"config show":d,"config set":u,"config list":l,"config use":p,"config ui":f,"config agent":c,update:Ge,"app call":n,"app list":r,"memory add":pe,"memory search":ve,"memory list":he,"memory update":ye,"memory delete":me,"memory profile create":ge,"memory profile get":_e,"knowledge retrieve":G,"knowledge search":K,"knowledge chat":W,"mcp call":ue,"mcp list":de,"mcp tools":fe,"search web":je,"speech synthesize":Re,"speech recognize":Le,"file upload":k,"console call":m,"usage free":qe,"usage freetier":Je,"usage stats":Ye,"usage summary":Xe,"usage token-plan":Ze,"usage coding-plan":Ke,"pipeline run":xe,"pipeline validate":Se,"advisor recommend":t,"model list":be,"workspace list":at,"quota list":ke,"quota request":Ae,"quota history":Oe,"quota check":De,"dataset upload":v,"dataset list":_,"dataset get":g,"dataset delete":h,"dataset validate":y,"finetune text create":B,"finetune audio create":A,"finetune image create":L,"finetune list":R,"finetune get":I,"finetune cancel":j,"finetune delete":P,"finetune logs":z,"finetune checkpoints":N,"finetune export":F,"finetune watch":V,"finetune capability":M,"deploy text create":D,"deploy audio create":b,"deploy image create":C,"deploy list":w,"deploy get":S,"deploy models":T,"deploy scale":E,"deploy update":O,"deploy delete":x,"token-plan list-seats":We,"token-plan create-key":Ue,"token-plan assign-seats":He,"token-plan add-member":Ve,"workspace init":it,"plugin install":Ce,"plugin link":we,"plugin list":Te,"plugin remove":Ee,"skill add":Me,"skill update":Ie,"skill remove":Fe,"skill list":Pe,"skill init":Ne,"managed-agent init":Y,"managed-agent validate":le,"managed-agent plan":X,"managed-agent apply":q,"managed-agent destroy":J,"managed-agent state list":oe,"managed-agent state show":ce,"managed-agent state rm":se,"managed-agent state import":ae,"managed-agent session create":Z,"managed-agent session list":te,"managed-agent session get":ee,"managed-agent session delete":Q,"managed-agent session run":ne,"managed-agent session send":re,"managed-agent session events":$,"managed-agent skill-list":ie},{binName:`bl`,version:`1.15.0`,clientName:`bailian-cli`,npmPackage:`bailian-cli`,quickStartTasks:[`Help me generate a set of Amazon e-commerce main images for baseball caps (white background + lifestyle shots + model wear shots)`,`Help me generate a 3-minute humorous crosstalk audio clip`,`Help me generate a Little Red Riding Hood picture-book PDF (with illustrations)`,`Help me analyze this video and write a Xiaohongshu-style post`],commandPacks:{supported:{"@ali/bailian-plugin-agent":{commandPrefixes:[`agent`],credentialAccess:[`apiKey`]},"@ali/bailian-plugin-inner-console-call":{commandPrefixes:[`inner-console`]}}}}).run();export{};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bailian-cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.15.0",
|
|
4
4
|
"description": "CLI for Aliyun Model Studio (DashScope) AI Platform.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"tar-stream": "^3.2.0",
|
|
41
|
-
"bailian-cli-commands": "1.
|
|
42
|
-
"bailian-cli-
|
|
43
|
-
"bailian-cli-
|
|
41
|
+
"bailian-cli-commands": "1.15.0",
|
|
42
|
+
"bailian-cli-runtime": "1.15.0",
|
|
43
|
+
"bailian-cli-core": "1.15.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@clack/prompts": "^0.7.0",
|