bailian-cli 1.14.3 → 1.15.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 +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
|
|
3
|
+
import{createCli as ee}from"bailian-cli-runtime";import{advisorRecommend as te,appCall as ne,appList as e,authGenerateAccessToken as t,authLogin as n,authLogout as r,authStatus as i,configAgent as a,configList as o,configSet as s,configShow as c,configUi as l,configUse as u,consoleCall as d,datasetDelete as f,datasetGet as p,datasetList as m,datasetUpload as h,datasetValidate as g,deployAudioCreate as _,deployDelete as v,deployGet as y,deployImageCreate as b,deployList as x,deployModels as S,deployScale as C,deployTextCreate as w,deployUpdate as T,fileUpload as E,finetuneAudioCreate as D,finetuneCancel as O,finetuneCapability as k,finetuneCheckpoints as A,finetuneDelete as j,finetuneExport as M,finetuneGet as N,finetuneImageCreate as P,finetuneList as F,finetuneLogs as I,finetuneTextCreate as L,finetuneWatch as R,imageEdit as z,imageGenerate as B,knowledgeChat as V,knowledgeRetrieve as H,knowledgeSearch as U,managedAgentApply as W,managedAgentDestroy as G,managedAgentInit as K,managedAgentPlan as q,managedAgentSessionCreate as J,managedAgentSessionDelete as Y,managedAgentSessionEvents as X,managedAgentSessionGet as Z,managedAgentSessionList as re,managedAgentSessionRun as ie,managedAgentSessionSend as ae,managedAgentSkillList as oe,managedAgentStateImport as se,managedAgentStateList as ce,managedAgentStateRm as le,managedAgentStateShow as ue,managedAgentValidate as de,mcpCall as Q,mcpList as fe,mcpTools as pe,memoryAdd as me,memoryDelete as he,memoryList as ge,memoryProfileCreate as _e,memoryProfileGet as ve,memorySearch as ye,memoryUpdate as be,modelList as xe,permissionGrant as Se,permissionList as Ce,permissionRevoke as we,pipelineRun as Te,pipelineValidate as Ee,pluginInstall as De,pluginLink as Oe,pluginList as ke,pluginRemove as Ae,quotaCheck as je,quotaHistory as Me,quotaList as Ne,quotaUpdate as $,searchWeb as Pe,skillAdd as Fe,skillInit as Ie,skillList as Le,skillRemove as Re,skillUpdate as ze,speechRecognize as Be,speechSynthesize as Ve,textChat as He,textOmni as Ue,tokenPlanAddMember as We,tokenPlanAssignSeats as Ge,tokenPlanCreateKey as Ke,tokenPlanListSeats as qe,update as Je,usageCodingPlan as Ye,usageFree as Xe,usageFreetier as Ze,usageStats as Qe,usageSummary as $e,usageTokenPlan as et,videoDownload as tt,videoEdit as nt,videoGenerate as rt,videoRef as it,videoTaskGet as at,visionDescribe as ot,workspaceInit as st,workspaceList as ct}from"bailian-cli-commands";const lt={"auth login":n,"auth status":i,"auth logout":r,"auth generate-access-token":t,"text chat":He,omni:Ue,"image generate":B,"image edit":z,"video generate":rt,"video edit":nt,"video ref":it,"video task get":at,"video download":tt,"vision describe":ot,"config show":c,"config set":s,"config list":o,"config use":u,"config ui":l,"config agent":a,update:Je,"app call":ne,"app list":e,"memory add":me,"memory search":ye,"memory list":ge,"memory update":be,"memory delete":he,"memory profile create":_e,"memory profile get":ve,"knowledge retrieve":H,"knowledge search":U,"knowledge chat":V,"mcp call":Q,"mcp list":fe,"mcp tools":pe,"search web":Pe,"speech synthesize":Ve,"speech recognize":Be,"file upload":E,"console call":d,"usage free":Xe,"usage freetier":Ze,"usage stats":Qe,"usage summary":$e,"usage token-plan":et,"usage coding-plan":Ye,"pipeline run":Te,"pipeline validate":Ee,"advisor recommend":te,"model list":xe,"workspace list":ct,"quota list":Ne,"quota update":$,"quota history":Me,"quota check":je,"permission list":Ce,"permission grant":Se,"permission revoke":we,"dataset upload":h,"dataset list":m,"dataset get":p,"dataset delete":f,"dataset validate":g,"finetune text create":L,"finetune audio create":D,"finetune image create":P,"finetune list":F,"finetune get":N,"finetune cancel":O,"finetune delete":j,"finetune logs":I,"finetune checkpoints":A,"finetune export":M,"finetune watch":R,"finetune capability":k,"deploy text create":w,"deploy audio create":_,"deploy image create":b,"deploy list":x,"deploy get":y,"deploy models":S,"deploy scale":C,"deploy update":T,"deploy delete":v,"token-plan list-seats":qe,"token-plan create-key":Ke,"token-plan assign-seats":Ge,"token-plan add-member":We,"workspace init":st,"plugin install":De,"plugin link":Oe,"plugin list":ke,"plugin remove":Ae,"skill add":Fe,"skill update":ze,"skill remove":Re,"skill list":Le,"skill init":Ie,"managed-agent init":K,"managed-agent validate":de,"managed-agent plan":q,"managed-agent apply":W,"managed-agent destroy":G,"managed-agent state list":ce,"managed-agent state show":ue,"managed-agent state rm":le,"managed-agent state import":se,"managed-agent session create":J,"managed-agent session list":re,"managed-agent session get":Z,"managed-agent session delete":Y,"managed-agent session run":ie,"managed-agent session send":ae,"managed-agent session events":X,"managed-agent skill-list":oe},ut={"quota request":$},dt={supported:{"@ali/bailian-plugin-agent":{commandPrefixes:[`agent`],credentialAccess:[`apiKey`]},"@ali/bailian-plugin-inner-console-call":{commandPrefixes:[`inner-console`]}}};var ft=`1.15.1`;const pt=[`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`];ee({...lt,...ut},{binName:`bl`,version:ft,clientName:`bailian-cli`,npmPackage:`bailian-cli`,quickStartTasks:pt,commandPacks:dt}).run();export{};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bailian-cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.15.1",
|
|
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-core": "1.
|
|
43
|
-
"bailian-cli-runtime": "1.
|
|
41
|
+
"bailian-cli-commands": "1.15.1",
|
|
42
|
+
"bailian-cli-core": "1.15.1",
|
|
43
|
+
"bailian-cli-runtime": "1.15.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@clack/prompts": "^0.7.0",
|