bailian-cli 2.2.1 → 2.3.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 +15 -14
- package/README.zh.md +15 -14
- package/dist/bailian.mjs +2 -2
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
[](https://www.typescriptlang.org)
|
|
10
10
|
[](LICENSE)
|
|
11
11
|
|
|
12
|
-
[Aliyun Model Studio CLI Site](https://bailian.console.aliyun.com/cli?
|
|
12
|
+
[Aliyun Model Studio CLI Site](https://bailian.console.aliyun.com/cli?spm=a2ty07.github) · [中文文档](https://github.com/modelstudioai/cli/blob/main/README.zh.md) · [API Documentation](https://help.aliyun.com/zh/model-studio/) · [Get API Key](https://bailian.console.aliyun.com/cn-beijing/?spm=a2ty07.github&tab=app#/api-key)
|
|
13
13
|
|
|
14
14
|
---
|
|
15
15
|
|
|
@@ -26,7 +26,7 @@ _Built for AI Agents. Every command works as a structured tool call._
|
|
|
26
26
|
- **Model generation** — Full-modality generation across text, image, video, and speech, with editing and reference-based generation
|
|
27
27
|
- **Asset understanding** — Parse and ask questions about images, documents, audio, and long videos
|
|
28
28
|
- **App orchestration** — Call Managed Agents, agents, and workflows published on Aliyun Model Studio, wired to knowledge bases, memory, web search, and MCP tools
|
|
29
|
-
- **Native MCP setup** — Register Bailian MCP servers in Codex, Claude Code, Cursor, Qoder, Qoder Work, QwenWork (千问办公), Qwen Code,
|
|
29
|
+
- **Native MCP setup** — Register Bailian MCP servers in Codex, Claude Code, Cursor, Qoder, Qoder Work, QwenWork (千问办公), Qwen Code, Gemini CLI, or Pi
|
|
30
30
|
- **Training & deployment** — Validate and upload datasets, fine-tune models, deploy dedicated models as endpoints
|
|
31
31
|
- **Account operations** — Login, UI-based configuration, model marketplace, usage and quota, rate-limit increases, team seat management
|
|
32
32
|
- **Plan onboarding** — Connect subscription plans such as Token Plan to the CLI and common coding agents in one step
|
|
@@ -67,7 +67,7 @@ One sentence builds a reusable cloud-side short-film director for storyboarding,
|
|
|
67
67
|
|
|
68
68
|
- **[Qwen Code](https://github.com/QwenLM/qwen-code)** — understands the requirement and generates the agent configuration
|
|
69
69
|
- **[Aliyun Model Studio CLI](https://github.com/modelstudioai/cli/)** — validates the configuration, previews the changes, and completes the deployment
|
|
70
|
-
- **[Managed Agent](https://bailian.console.aliyun.com/cn-beijing/?tab=managed-agents#/managed-agents/quick-start)** — runs the director role along with its skills and tools in the cloud
|
|
70
|
+
- **[Managed Agent](https://bailian.console.aliyun.com/cn-beijing/?spm=a2ty07.github&tab=managed-agents#/managed-agents/quick-start)** — runs the director role along with its skills and tools in the cloud
|
|
71
71
|
|
|
72
72
|
### The single prompt
|
|
73
73
|
|
|
@@ -121,9 +121,10 @@ Once installed, just describe your task to your AI Agent — no need to assemble
|
|
|
121
121
|
| Monitoring & alerts | "Show my model call stats, failures and logs, and create an alert rule." |
|
|
122
122
|
| Throughput reservations | "List my throughput reservations and capacity instances, then scale, renew or release capacity and wait for the operation to finish." |
|
|
123
123
|
| Model selection | "Recommend a model for image understanding and customer support." |
|
|
124
|
+
| Decision model | "Use the Bailian decision model to route this ticket and assess whether it needs escalation." |
|
|
124
125
|
| About Bailian CLI | "Tell me what Bailian CLI can do for me, and suggest how to use it for my needs." |
|
|
125
126
|
|
|
126
|
-
> More examples and scenarios: [Aliyun Model Studio CLI Site](https://bailian.console.aliyun.com/cli?
|
|
127
|
+
> More examples and scenarios: [Aliyun Model Studio CLI Site](https://bailian.console.aliyun.com/cli?spm=a2ty07.github)
|
|
127
128
|
|
|
128
129
|
## Authentication
|
|
129
130
|
|
|
@@ -145,7 +146,7 @@ To use an existing ordinary API key or a Token Plan subscription key, run the sa
|
|
|
145
146
|
bl auth login --api-key <API_KEY>
|
|
146
147
|
```
|
|
147
148
|
|
|
148
|
-
Get an ordinary key from the [DashScope Console](https://bailian.console.aliyun.com/cn-beijing/?
|
|
149
|
+
Get an ordinary key from the [DashScope Console](https://bailian.console.aliyun.com/cn-beijing/?spm=a2ty07.github&tab=app#/api-key), or a Token Plan key from the [subscription overview](https://bailian.console.aliyun.com/cn-beijing?spm=a2ty07.github&tab=plan#/efm/subscription/overview).
|
|
149
150
|
|
|
150
151
|
### Alibaba Cloud OpenAPI AK/SK
|
|
151
152
|
|
|
@@ -193,12 +194,12 @@ Scan the QR code to join the Aliyun Model Studio CLI DingTalk user group for usa
|
|
|
193
194
|
|
|
194
195
|
## Links
|
|
195
196
|
|
|
196
|
-
| Resource | URL
|
|
197
|
-
| :--------------------------- |
|
|
198
|
-
| Aliyun Model Studio CLI Site | https://bailian.console.aliyun.com/cli?
|
|
199
|
-
| DashScope API Docs | https://help.aliyun.com/zh/model-studio/
|
|
200
|
-
| Qwen Model List | https://help.aliyun.com/zh/model-studio/getting-started/models
|
|
201
|
-
| Aliyun Model Studio Console | https://bailian.console.aliyun.com/?
|
|
202
|
-
| Get API Key | https://bailian.console.aliyun.com/cn-beijing/?
|
|
203
|
-
| Get Token Plan API Key | https://bailian.console.aliyun.com/cn-beijing?tab=plan#/efm/subscription/overview
|
|
204
|
-
| Get AccessKey | https://ram.console.aliyun.com/manage/ak
|
|
197
|
+
| Resource | URL |
|
|
198
|
+
| :--------------------------- | :-------------------------------------------------------------------------------------------------- |
|
|
199
|
+
| Aliyun Model Studio CLI Site | https://bailian.console.aliyun.com/cli?spm=a2ty07.github |
|
|
200
|
+
| DashScope API Docs | https://help.aliyun.com/zh/model-studio/ |
|
|
201
|
+
| Qwen Model List | https://help.aliyun.com/zh/model-studio/getting-started/models |
|
|
202
|
+
| Aliyun Model Studio Console | https://bailian.console.aliyun.com/?spm=a2ty07.github |
|
|
203
|
+
| Get API Key | https://bailian.console.aliyun.com/cn-beijing/?spm=a2ty07.github&tab=app#/api-key |
|
|
204
|
+
| Get Token Plan API Key | https://bailian.console.aliyun.com/cn-beijing?spm=a2ty07.github&tab=plan#/efm/subscription/overview |
|
|
205
|
+
| Get AccessKey | https://ram.console.aliyun.com/manage/ak |
|
package/README.zh.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
[](https://www.typescriptlang.org)
|
|
10
10
|
[](LICENSE)
|
|
11
11
|
|
|
12
|
-
[阿里云百炼 CLI 官方主页](https://bailian.console.aliyun.com/cli?
|
|
12
|
+
[阿里云百炼 CLI 官方主页](https://bailian.console.aliyun.com/cli?spm=a2ty07.github) · [English](https://github.com/modelstudioai/cli/blob/main/README.md) · [API 文档](https://help.aliyun.com/zh/model-studio/) · [获取 API Key](https://bailian.console.aliyun.com/cn-beijing/?spm=a2ty07.github&tab=app#/api-key)
|
|
13
13
|
|
|
14
14
|
---
|
|
15
15
|
|
|
@@ -25,7 +25,7 @@ _专为 AI Agent 打造,每个命令均可作为结构化工具调用。_
|
|
|
25
25
|
- **模型生成** — 文本、图像、视频、语音全模态生成,支持编辑与参考生成
|
|
26
26
|
- **素材理解** — 图像、文档、音频、长视频的解析与问答
|
|
27
27
|
- **应用编排** — 调用百炼已发布的 Managed Agent、智能体和工作流,接入知识库、记忆库、联网搜索与 MCP 工具
|
|
28
|
-
- **原生 MCP 接入** — 将百炼 MCP 服务注册到 Codex、Claude Code、Cursor、Qoder、Qoder Work、千问办公(QwenWork)、Qwen Code 或
|
|
28
|
+
- **原生 MCP 接入** — 将百炼 MCP 服务注册到 Codex、Claude Code、Cursor、Qoder、Qoder Work、千问办公(QwenWork)、Qwen Code、Gemini CLI 或 Pi
|
|
29
29
|
- **模型训推** — 数据集校验上传、模型精调、专属模型部署上线
|
|
30
30
|
- **账号运维** — 授权登录、界面化配置、模型市场、用量与额度、限流提额、团队席位管理
|
|
31
31
|
- **套餐接入** — 支持 Token Plan 等订阅计划一键接到 CLI 和常见 Coding Agent
|
|
@@ -66,7 +66,7 @@ _专为 AI Agent 打造,每个命令均可作为结构化工具调用。_
|
|
|
66
66
|
|
|
67
67
|
- **[Qwen Code](https://github.com/QwenLM/qwen-code)** —— 理解需求并生成 Agent 配置
|
|
68
68
|
- **[阿里云百炼 CLI](https://github.com/modelstudioai/cli/)** —— 校验配置、预览变更并完成部署
|
|
69
|
-
- **[Managed Agent](https://bailian.console.aliyun.com/cn-beijing/?tab=managed-agents#/managed-agents/quick-start)** —— 在云端运行导演角色及其 Skill 和工具
|
|
69
|
+
- **[Managed Agent](https://bailian.console.aliyun.com/cn-beijing/?spm=a2ty07.github&tab=managed-agents#/managed-agents/quick-start)** —— 在云端运行导演角色及其 Skill 和工具
|
|
70
70
|
|
|
71
71
|
### 唯一的提示词
|
|
72
72
|
|
|
@@ -120,9 +120,10 @@ irm https://bailian.aliyun.com/cli/install.ps1 | iex
|
|
|
120
120
|
| 监控与告警 | “查看我的模型调用统计、失败明细和调用日志,并创建一条告警规则。” |
|
|
121
121
|
| 吞吐预留 | “查看我的吞吐预留及容量实例,并对容量进行扩缩、续订或释放,再等待操作完成。” |
|
|
122
122
|
| 模型选型 | “推荐一个适合图片理解和智能客服的模型。” |
|
|
123
|
+
| 决策模型 | “用百炼决策模型给这张工单分流,并判断是否需要升级处理。” |
|
|
123
124
|
| 了解 Bailian CLI | “介绍一下 Bailian CLI 能帮我完成哪些任务,并根据我的需求推荐使用方式。” |
|
|
124
125
|
|
|
125
|
-
> 更多案例与使用场景:[阿里云百炼 CLI 官方主页](https://bailian.console.aliyun.com/cli?
|
|
126
|
+
> 更多案例与使用场景:[阿里云百炼 CLI 官方主页](https://bailian.console.aliyun.com/cli?spm=a2ty07.github)
|
|
126
127
|
|
|
127
128
|
## 认证方式
|
|
128
129
|
|
|
@@ -144,7 +145,7 @@ bl auth login --console
|
|
|
144
145
|
bl auth login --api-key <API_KEY>
|
|
145
146
|
```
|
|
146
147
|
|
|
147
|
-
普通 Key 前往 [DashScope 控制台](https://bailian.console.aliyun.com/cn-beijing/?
|
|
148
|
+
普通 Key 前往 [DashScope 控制台](https://bailian.console.aliyun.com/cn-beijing/?spm=a2ty07.github&tab=app#/api-key) 获取,Token Plan Key 前往 [订阅详情](https://bailian.console.aliyun.com/cn-beijing?spm=a2ty07.github&tab=plan#/efm/subscription/overview) 获取。
|
|
148
149
|
|
|
149
150
|
### 阿里云 OpenAPI AK/SK
|
|
150
151
|
|
|
@@ -192,12 +193,12 @@ bl update
|
|
|
192
193
|
|
|
193
194
|
## 相关链接
|
|
194
195
|
|
|
195
|
-
| 资源 | 地址
|
|
196
|
-
| :---------------------- |
|
|
197
|
-
| 阿里云百炼 CLI 官方主页 | https://bailian.console.aliyun.com/cli?
|
|
198
|
-
| DashScope API 文档 | https://help.aliyun.com/zh/model-studio/
|
|
199
|
-
| 通义千问模型列表 | https://help.aliyun.com/zh/model-studio/getting-started/models
|
|
200
|
-
| 阿里云百炼控制台 | https://bailian.console.aliyun.com/?
|
|
201
|
-
| 获取 API Key | https://bailian.console.aliyun.com/cn-beijing/?
|
|
202
|
-
| 获取 Token Plan API Key | https://bailian.console.aliyun.com/cn-beijing?tab=plan#/efm/subscription/overview
|
|
203
|
-
| 获取 AccessKey | https://ram.console.aliyun.com/manage/ak
|
|
196
|
+
| 资源 | 地址 |
|
|
197
|
+
| :---------------------- | :-------------------------------------------------------------------------------------------------- |
|
|
198
|
+
| 阿里云百炼 CLI 官方主页 | https://bailian.console.aliyun.com/cli?spm=a2ty07.github |
|
|
199
|
+
| DashScope API 文档 | https://help.aliyun.com/zh/model-studio/ |
|
|
200
|
+
| 通义千问模型列表 | https://help.aliyun.com/zh/model-studio/getting-started/models |
|
|
201
|
+
| 阿里云百炼控制台 | https://bailian.console.aliyun.com/?spm=a2ty07.github |
|
|
202
|
+
| 获取 API Key | https://bailian.console.aliyun.com/cn-beijing/?spm=a2ty07.github&tab=app#/api-key |
|
|
203
|
+
| 获取 Token Plan API Key | https://bailian.console.aliyun.com/cn-beijing?spm=a2ty07.github&tab=plan#/efm/subscription/overview |
|
|
204
|
+
| 获取 AccessKey | https://ram.console.aliyun.com/manage/ak |
|
package/dist/bailian.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import{createCli as ee}from"bailian-cli-runtime";import{advisorRecommend as te,alertCreate as ne,alertDelete as re,alertDisable as e,alertEnable as t,alertHistory as n,alertList as r,alertMetrics as i,alertTemplateCreate as a,alertTemplateDelete as o,alertTemplateList as s,alertTemplateUpdate as c,alertUpdate as l,appCall as u,appList as d,authGenerateAccessToken as f,authLogin as p,authLogout as m,authStatus as h,configAgent as g,configList as _,configSet as v,configShow as y,configUi as b,configUse as x,consoleCall as S,datasetDelete as C,datasetGet as w,datasetList as T,datasetUpload as E,datasetValidate as D,deployAudioCreate as O,deployCapacityCreate as k,deployCapacityDelete as A,deployCapacityGet as j,deployCapacityList as M,deployCapacityRenew as N,deployCapacityScale as P,deployCapacityUnsubscribe as F,deployDelete as I,deployGet as L,deployImageCreate as R,deployList as z,deployModels as B,deployOperationGet as V,deployOperationWait as H,deployOverflow as U,deployPause as W,deployResume as G,deployScale as K,deployTextCreate as q,deployUpdate as J,fileUpload as Y,finetuneAudioCreate as X,finetuneCancel as ie,finetuneCapability as ae,finetuneCheckpoints as oe,finetuneDelete as se,finetuneExport as ce,finetuneGet as le,finetuneImageCreate as ue,finetuneList as de,finetuneLogs as fe,finetunePrice as pe,finetuneTextCreate as me,finetuneVideoCreate as he,finetuneWatch as ge,imageEdit as _e,imageGenerate as ve,knowledgeCategoryAdd as ye,knowledgeCategoryDelete as be,knowledgeCategoryList as xe,knowledgeChat as Se,knowledgeChunkAdd as Ce,knowledgeChunkDelete as we,knowledgeChunkList as Te,knowledgeChunkUpdate as Ee,knowledgeCollectionCreate as De,knowledgeCollectionGet as Oe,knowledgeDocDelete as ke,knowledgeDocImportOss as Ae,knowledgeDocList as je,knowledgeDocStatus as Me,knowledgeDocTag as Ne,knowledgeDocUpload as Pe,knowledgeFileDelete as Fe,knowledgeFileGet as Ie,knowledgeFileList as Le,knowledgeKbCreate as Re,knowledgeKbDelete as ze,knowledgeKbInfo as Be,knowledgeKbList as Ve,knowledgeKbStats as He,knowledgeKbUpdate as Ue,knowledgeRetrieve as We,knowledgeSearch as Ge,knowledgeServiceCopy as Ke,knowledgeServiceCreate as qe,knowledgeServiceDelete as Je,knowledgeServiceDeploy as Ye,knowledgeServiceGet as Xe,knowledgeServiceList as Ze,knowledgeServiceUpdate as Qe,logAuditCount as $e,logAuditDisable as et,logAuditEnable as tt,logAuditGet as nt,logAuditList as rt,logInferenceCount as it,logInferenceDisable as at,logInferenceEnable as ot,logInferenceGet as st,logInferenceList as ct,logStatus as lt,logTraceGet as ut,logTraceList as dt,logTraceStats as ft,managedAgentAgentCreate as pt,managedAgentAgentGet as mt,managedAgentAgentList as ht,managedAgentAgentSearch as gt,managedAgentAgentVersions as _t,managedAgentApply as vt,managedAgentDeploymentCreate as yt,managedAgentDeploymentGet as bt,managedAgentDeploymentList as xt,managedAgentDeploymentPause as St,managedAgentDeploymentRun as Ct,managedAgentDeploymentRunsGet as wt,managedAgentDeploymentRunsList as Tt,managedAgentDeploymentSearch as Et,managedAgentDeploymentUnpause as Dt,managedAgentDestroy as Ot,managedAgentEnvironmentCreate as kt,managedAgentEnvironmentGet as At,managedAgentEnvironmentList as jt,managedAgentEnvironmentSearch as Mt,managedAgentFileDelete as Nt,managedAgentFileDownload as Pt,managedAgentFileGet as Ft,managedAgentFileList as It,managedAgentFileSearch as Lt,managedAgentFileUpload as Rt,managedAgentInit as zt,managedAgentPlan as Bt,managedAgentPlayground as Vt,managedAgentProjectBuild as Ht,managedAgentProjectInit as Ut,managedAgentProjectPublish as Wt,managedAgentProjectValidate as Gt,managedAgentProjectVersionDisable as Kt,managedAgentProjectVersionEnable as qt,managedAgentProjectVersionList as Jt,managedAgentProjectVersionPreview as Yt,managedAgentProjectVersionRestore as Xt,managedAgentProjectVersionStatus as Z,managedAgentProjectWorkbench as Zt,managedAgentSessionArchive as Qt,managedAgentSessionCreate as $t,managedAgentSessionDebug as en,managedAgentSessionDelete as tn,managedAgentSessionEventList as nn,managedAgentSessionEventSend as rn,managedAgentSessionEventStream as an,managedAgentSessionEvents as on,managedAgentSessionExport as sn,managedAgentSessionGet as cn,managedAgentSessionList as ln,managedAgentSessionRun as un,managedAgentSessionSearch as dn,managedAgentSessionSend as fn,managedAgentSessionUpdate as pn,managedAgentSkillCreate as mn,managedAgentSkillDownload as hn,managedAgentSkillGet as gn,managedAgentSkillList as Q,managedAgentSkillSearch as _n,managedAgentSkillVersions as vn,managedAgentStateImport as yn,managedAgentStateList as bn,managedAgentStateRm as xn,managedAgentStateShow as Sn,managedAgentValidate as Cn,managedAgentVaultCreate as wn,managedAgentVaultCredentialCreate as Tn,managedAgentVaultGet as En,managedAgentVaultList as Dn,managedAgentVaultSearch as On,mcpCall as kn,mcpConnect as An,mcpDisconnect as jn,mcpList as Mn,mcpTools as Nn,memoryAdd as Pn,memoryDelete as Fn,memoryList as In,memoryProfileCreate as Ln,memoryProfileGet as Rn,memorySearch as zn,memoryUpdate as Bn,modelCode as Vn,modelList as Hn,modelSearch as Un,monitorDeliveryDisable as Wn,monitorDeliveryEnable as Gn,monitorDeliveryStatus as Kn,monitorErrors as qn,monitorMetrics as Jn,monitorModels as Yn,monitorOverview as Xn,permissionGrant as Zn,permissionList as Qn,permissionRevoke as $n,pipelineRun as er,pipelineValidate as tr,pluginInstall as nr,pluginLink as rr,pluginList as ir,pluginRemove as ar,quotaCheck as or,quotaDelete as sr,quotaHistory as cr,quotaList as lr,quotaUpdate as $,sandboxConnect as ur,sandboxCreate as dr,sandboxDelete as fr,sandboxFileUpload as pr,sandboxGet as mr,sandboxList as hr,sandboxOfficialImages as gr,sandboxPause as _r,sandboxResume as vr,sandboxTemplateBuildStatus as yr,sandboxTemplateCreate as br,sandboxTemplateDelete as xr,sandboxTemplateGet as Sr,sandboxTemplateList as Cr,sandboxTemplateUpdate as wr,searchWeb as Tr,securityAlerts as Er,securityOverview as Dr,skillAdd as Or,skillInit as kr,skillList as Ar,skillRemove as jr,skillUpdate as Mr,speechRecognize as Nr,speechSynthesize as Pr,speechVocabularyCreate as Fr,speechVocabularyDelete as Ir,speechVocabularyGet as Lr,speechVocabularyList as Rr,speechVocabularyUpdate as zr,textChat as Br,textOmni as Vr,tokenPlanAddMember as Hr,tokenPlanAssignSeats as Ur,tokenPlanCreateKey as Wr,tokenPlanHarnessQuota as Gr,tokenPlanListSeats as Kr,update as qr,usageCodingPlan as Jr,usageFree as Yr,usageFreetier as Xr,usageStats as Zr,usageSummary as Qr,usageTokenPlan as $r,videoDownload as ei,videoEdit as ti,videoGenerate as ni,videoRef as ri,videoTaskGet as ii,visionDescribe as ai,workspaceInit as oi,workspaceList as si}from"bailian-cli-commands";const ci={"auth login":p,"auth status":h,"auth logout":m,"auth generate-access-token":f,"text chat":Br,omni:Vr,"image generate":ve,"image edit":_e,"video generate":ni,"video edit":ti,"video ref":ri,"video task get":ii,"video download":ei,"vision describe":ai,"config show":y,"config set":v,"config list":_,"config use":x,"config ui":b,"config agent":g,update:qr,"app call":u,"app list":d,"memory add":Pn,"memory search":zn,"memory list":In,"memory update":Bn,"memory delete":Fn,"memory profile create":Ln,"memory profile get":Rn,"knowledge retrieve":We,"knowledge search":Ge,"knowledge chat":Se,"knowledge list":Ve,"knowledge info":Be,"knowledge create":Re,"knowledge update":Ue,"knowledge delete":ze,"knowledge doc list":je,"knowledge doc status":Me,"knowledge doc upload":Pe,"knowledge doc delete":ke,"knowledge doc tag":Ne,"knowledge service list":Ze,"knowledge service get":Xe,"knowledge service create":qe,"knowledge service update":Qe,"knowledge service deploy":Ye,"knowledge service delete":Je,"knowledge service copy":Ke,"knowledge chunk add":Ce,"knowledge chunk list":Te,"knowledge chunk update":Ee,"knowledge chunk delete":we,"knowledge stats":He,"knowledge doc import-oss":Ae,"knowledge collection create":De,"knowledge collection get":Oe,"knowledge category list":xe,"knowledge category add":ye,"knowledge category delete":be,"knowledge file list":Le,"knowledge file get":Ie,"knowledge file delete":Fe,"mcp call":kn,"mcp connect":An,"mcp disconnect":jn,"mcp list":Mn,"mcp tools":Nn,"search web":Tr,"speech synthesize":Pr,"speech recognize":Nr,"speech vocabulary create":Fr,"speech vocabulary list":Rr,"speech vocabulary get":Lr,"speech vocabulary update":zr,"speech vocabulary delete":Ir,"file upload":Y,"console call":S,"agents security overview":Dr,"agents security alerts":Er,"usage free":Yr,"usage freetier":Xr,"usage stats":Zr,"usage summary":Qr,"usage token-plan":$r,"usage coding-plan":Jr,"pipeline run":er,"pipeline validate":tr,"advisor recommend":te,"model list":Hn,"model search":Un,"model code":Vn,"workspace list":si,"quota list":lr,"quota update":$,"quota delete":sr,"quota history":cr,"quota check":or,"monitor overview":Xn,"monitor models":Yn,"monitor metrics":Jn,"monitor errors":qn,"monitor delivery status":Kn,"monitor delivery enable":Gn,"monitor delivery disable":Wn,"log status":lt,"log audit list":rt,"log audit get":nt,"log audit count":$e,"log audit enable":tt,"log audit disable":et,"log inference list":ct,"log inference get":st,"log inference count":it,"log inference enable":ot,"log inference disable":at,"log trace list":dt,"log trace get":ut,"log trace stats":ft,"alert metrics":i,"alert template list":s,"alert template create":a,"alert template update":c,"alert template delete":o,"alert list":r,"alert create":ne,"alert update":l,"alert delete":re,"alert enable":t,"alert disable":e,"alert history":n,"permission list":Qn,"permission grant":Zn,"permission revoke":$n,"dataset upload":E,"dataset list":T,"dataset get":w,"dataset delete":C,"dataset validate":D,"finetune text create":me,"finetune audio create":X,"finetune image create":ue,"finetune video create":he,"finetune list":de,"finetune get":le,"finetune cancel":ie,"finetune delete":se,"finetune logs":fe,"finetune checkpoints":oe,"finetune export":ce,"finetune watch":ge,"finetune capability":ae,"finetune price":pe,"deploy text create":q,"deploy audio create":O,"deploy image create":R,"deploy list":z,"deploy get":L,"deploy capacity list":M,"deploy capacity get":j,"deploy capacity create":k,"deploy capacity scale":P,"deploy capacity renew":N,"deploy capacity delete":A,"deploy capacity unsubscribe":F,"deploy overflow":U,"deploy operation get":V,"deploy operation wait":H,"deploy models":B,"deploy scale":K,"deploy update":J,"deploy delete":I,"deploy pause":W,"deploy resume":G,"token-plan list-seats":Kr,"token-plan create-key":Wr,"token-plan assign-seats":Ur,"token-plan add-member":Hr,"token-plan harness-quota":Gr,"workspace init":oi,"plugin install":nr,"plugin link":rr,"plugin list":ir,"plugin remove":ar,"skill add":Or,"skill update":Mr,"skill remove":jr,"skill list":Ar,"skill init":kr,"managed-agent init":zt,"managed-agent validate":Cn,"managed-agent plan":Bt,"managed-agent apply":vt,"managed-agent destroy":Ot,"managed-agent playground":Vt,"managed-agent project init":Ut,"managed-agent project validate":Gt,"managed-agent project build":Ht,"managed-agent project publish":Wt,"managed-agent project workbench":Zt,"managed-agent project version enable":qt,"managed-agent project version disable":Kt,"managed-agent project version status":Z,"managed-agent project version list":Jt,"managed-agent project version preview":Yt,"managed-agent project version restore":Xt,"managed-agent state list":bn,"managed-agent state show":Sn,"managed-agent state rm":xn,"managed-agent state import":yn,"managed-agent session create":$t,"managed-agent session list":ln,"managed-agent session get":cn,"managed-agent session delete":tn,"managed-agent session run":un,"managed-agent session send":fn,"managed-agent session events":on,"managed-agent skill-list":Q,"managed-agent agent create":pt,"managed-agent agent list":ht,"managed-agent agent get":mt,"managed-agent agent search":gt,"managed-agent agent versions":_t,"managed-agent environment create":kt,"managed-agent environment list":jt,"managed-agent environment get":At,"managed-agent environment search":Mt,"managed-agent skill create":mn,"managed-agent skill list":Q,"managed-agent skill get":gn,"managed-agent skill search":_n,"managed-agent skill versions":vn,"managed-agent skill download":hn,"managed-agent vault create":wn,"managed-agent vault credential create":Tn,"managed-agent vault list":Dn,"managed-agent vault get":En,"managed-agent vault search":On,"managed-agent deployment create":yt,"managed-agent deployment list":xt,"managed-agent deployment get":bt,"managed-agent deployment search":Et,"managed-agent deployment runs list":Tt,"managed-agent deployment runs get":wt,"managed-agent deployment run":Ct,"managed-agent deployment pause":St,"managed-agent deployment unpause":Dt,"managed-agent session search":dn,"managed-agent session update":pn,"managed-agent session archive":Qt,"managed-agent session event list":nn,"managed-agent session event send":rn,"managed-agent session event stream":an,"managed-agent session debug":en,"managed-agent session export":sn,"managed-agent file upload":Rt,"managed-agent file list":It,"managed-agent file get":Ft,"managed-agent file search":Lt,"managed-agent file download":Pt,"managed-agent file delete":Nt,"sandbox create":dr,"sandbox official-images":gr,"sandbox file upload":pr,"sandbox list":hr,"sandbox get":mr,"sandbox connect":ur,"sandbox pause":_r,"sandbox resume":vr,"sandbox delete":fr,"sandbox template create":br,"sandbox template list":Cr,"sandbox template get":Sr,"sandbox template update":wr,"sandbox template build-status":yr,"sandbox template delete":xr},li={"quota request":$},ui={supported:{"@ali/bailian-plugin-agent":{commandPrefixes:[`agent`],credentialAccess:[`apiKey`]},"@ali/bailian-plugin-inner-console-call":{commandPrefixes:[`inner-console`]}}};var di=`2.2.1`;const fi=[`帮我创建一个能够生成短片分镜和视频的 Managed Agent。
|
|
3
|
+
import{createCli as ee}from"bailian-cli-runtime";import{advisorRecommend as te,alertCreate as ne,alertDelete as re,alertDisable as e,alertEnable as t,alertHistory as n,alertList as r,alertMetrics as i,alertTemplateCreate as a,alertTemplateDelete as o,alertTemplateList as s,alertTemplateUpdate as c,alertUpdate as l,appCall as u,appList as d,authGenerateAccessToken as f,authLogin as p,authLogout as m,authStatus as h,configAgent as g,configList as _,configSet as v,configShow as y,configUi as b,configUse as x,consoleCall as S,datasetDelete as C,datasetGet as w,datasetList as T,datasetUpload as E,datasetValidate as D,decisionPredict as O,deployAudioCreate as k,deployCapacityCreate as A,deployCapacityDelete as j,deployCapacityGet as M,deployCapacityList as N,deployCapacityRenew as P,deployCapacityScale as F,deployCapacityUnsubscribe as I,deployDelete as L,deployGet as R,deployImageCreate as z,deployList as B,deployModels as V,deployOperationGet as H,deployOperationWait as U,deployOverflow as W,deployPause as G,deployResume as K,deployScale as q,deployTextCreate as J,deployUpdate as Y,fileUpload as X,finetuneAudioCreate as ie,finetuneCancel as ae,finetuneCapability as oe,finetuneCheckpoints as se,finetuneCompressCancel as ce,finetuneCompressCreate as le,finetuneCompressDelete as ue,finetuneCompressGet as de,finetuneCompressList as fe,finetuneCompressLogs as pe,finetuneCompressTemplates as me,finetuneCompressWatch as he,finetuneDelete as ge,finetuneExport as _e,finetuneGet as ve,finetuneImageCreate as ye,finetuneList as be,finetuneLogs as xe,finetunePrice as Se,finetuneTextCreate as Ce,finetuneVideoCreate as we,finetuneWatch as Te,imageEdit as Ee,imageGenerate as De,knowledgeCategoryAdd as Oe,knowledgeCategoryDelete as ke,knowledgeCategoryList as Ae,knowledgeChat as je,knowledgeChunkAdd as Me,knowledgeChunkDelete as Ne,knowledgeChunkList as Pe,knowledgeChunkUpdate as Fe,knowledgeCollectionCreate as Ie,knowledgeCollectionGet as Le,knowledgeDocDelete as Re,knowledgeDocImportOss as ze,knowledgeDocList as Be,knowledgeDocStatus as Ve,knowledgeDocTag as He,knowledgeDocUpload as Ue,knowledgeFileDelete as We,knowledgeFileGet as Ge,knowledgeFileList as Ke,knowledgeKbCreate as qe,knowledgeKbDelete as Je,knowledgeKbInfo as Ye,knowledgeKbList as Xe,knowledgeKbStats as Ze,knowledgeKbUpdate as Qe,knowledgeRetrieve as $e,knowledgeSearch as et,knowledgeServiceCopy as tt,knowledgeServiceCreate as nt,knowledgeServiceDelete as rt,knowledgeServiceDeploy as it,knowledgeServiceGet as at,knowledgeServiceList as ot,knowledgeServiceUpdate as st,logAuditCount as ct,logAuditDisable as lt,logAuditEnable as ut,logAuditGet as dt,logAuditList as ft,logInferenceCount as pt,logInferenceDisable as mt,logInferenceEnable as ht,logInferenceGet as gt,logInferenceList as _t,logStatus as vt,logTraceGet as yt,logTraceList as bt,logTraceStats as xt,managedAgentAgentCreate as St,managedAgentAgentGet as Ct,managedAgentAgentList as wt,managedAgentAgentSearch as Tt,managedAgentAgentVersions as Et,managedAgentApply as Dt,managedAgentDeploymentCreate as Ot,managedAgentDeploymentGet as kt,managedAgentDeploymentList as At,managedAgentDeploymentPause as jt,managedAgentDeploymentRun as Mt,managedAgentDeploymentRunsGet as Nt,managedAgentDeploymentRunsList as Pt,managedAgentDeploymentSearch as Ft,managedAgentDeploymentUnpause as It,managedAgentDestroy as Lt,managedAgentEnvironmentCreate as Rt,managedAgentEnvironmentGet as zt,managedAgentEnvironmentList as Bt,managedAgentEnvironmentSearch as Vt,managedAgentFileDelete as Ht,managedAgentFileDownload as Ut,managedAgentFileGet as Wt,managedAgentFileList as Gt,managedAgentFileSearch as Kt,managedAgentFileUpload as qt,managedAgentInit as Jt,managedAgentPlan as Yt,managedAgentPlayground as Xt,managedAgentProjectBuild as Zt,managedAgentProjectInit as Qt,managedAgentProjectPublish as $t,managedAgentProjectValidate as en,managedAgentProjectVersionDisable as Z,managedAgentProjectVersionEnable as tn,managedAgentProjectVersionList as nn,managedAgentProjectVersionPreview as rn,managedAgentProjectVersionRestore as an,managedAgentProjectVersionStatus as on,managedAgentProjectWorkbench as sn,managedAgentSessionArchive as cn,managedAgentSessionCreate as ln,managedAgentSessionDebug as un,managedAgentSessionDelete as dn,managedAgentSessionEventList as fn,managedAgentSessionEventSend as pn,managedAgentSessionEventStream as mn,managedAgentSessionEvents as hn,managedAgentSessionExport as gn,managedAgentSessionGet as _n,managedAgentSessionList as vn,managedAgentSessionRun as yn,managedAgentSessionSearch as bn,managedAgentSessionSend as xn,managedAgentSessionUpdate as Sn,managedAgentSkillCreate as Cn,managedAgentSkillDownload as wn,managedAgentSkillGet as Tn,managedAgentSkillList as Q,managedAgentSkillSearch as En,managedAgentSkillVersions as Dn,managedAgentStateImport as On,managedAgentStateList as kn,managedAgentStateRm as An,managedAgentStateShow as jn,managedAgentValidate as Mn,managedAgentVaultCreate as Nn,managedAgentVaultCredentialCreate as Pn,managedAgentVaultGet as Fn,managedAgentVaultList as In,managedAgentVaultSearch as Ln,mcpCall as Rn,mcpConnect as zn,mcpDisconnect as Bn,mcpList as Vn,mcpTools as Hn,memoryAdd as Un,memoryDelete as Wn,memoryList as Gn,memoryProfileCreate as Kn,memoryProfileGet as qn,memorySearch as Jn,memoryUpdate as Yn,modelCode as Xn,modelList as Zn,modelSearch as Qn,monitorDeliveryDisable as $n,monitorDeliveryEnable as er,monitorDeliveryStatus as tr,monitorErrors as nr,monitorMetrics as rr,monitorModels as ir,monitorOverview as ar,permissionGrant as or,permissionList as sr,permissionRevoke as cr,pipelineRun as lr,pipelineValidate as ur,pluginInstall as dr,pluginLink as fr,pluginList as pr,pluginRemove as mr,quotaCheck as hr,quotaDelete as gr,quotaHistory as _r,quotaList as vr,quotaUpdate as $,sandboxConnect as yr,sandboxCreate as br,sandboxDelete as xr,sandboxFileUpload as Sr,sandboxGet as Cr,sandboxList as wr,sandboxOfficialImages as Tr,sandboxPause as Er,sandboxResume as Dr,sandboxTemplateBuildStatus as Or,sandboxTemplateCreate as kr,sandboxTemplateDelete as Ar,sandboxTemplateGet as jr,sandboxTemplateList as Mr,sandboxTemplateUpdate as Nr,searchWeb as Pr,securityAlerts as Fr,securityOverview as Ir,skillAdd as Lr,skillInit as Rr,skillList as zr,skillRemove as Br,skillUpdate as Vr,speechRecognize as Hr,speechSynthesize as Ur,speechVocabularyCreate as Wr,speechVocabularyDelete as Gr,speechVocabularyGet as Kr,speechVocabularyList as qr,speechVocabularyUpdate as Jr,textChat as Yr,textOmni as Xr,tokenPlanAddMember as Zr,tokenPlanAssignSeats as Qr,tokenPlanCreateKey as $r,tokenPlanHarnessQuota as ei,tokenPlanListSeats as ti,update as ni,usageCodingPlan as ri,usageFree as ii,usageFreetier as ai,usageStats as oi,usageSummary as si,usageTokenPlan as ci,videoDownload as li,videoEdit as ui,videoGenerate as di,videoRef as fi,videoTaskGet as pi,visionDescribe as mi,workspaceInit as hi,workspaceList as gi}from"bailian-cli-commands";const _i={"auth login":p,"auth status":h,"auth logout":m,"auth generate-access-token":f,"text chat":Yr,omni:Xr,"image generate":De,"image edit":Ee,"video generate":di,"video edit":ui,"video ref":fi,"video task get":pi,"video download":li,"vision describe":mi,decision:O,"config show":y,"config set":v,"config list":_,"config use":x,"config ui":b,"config agent":g,update:ni,"app call":u,"app list":d,"memory add":Un,"memory search":Jn,"memory list":Gn,"memory update":Yn,"memory delete":Wn,"memory profile create":Kn,"memory profile get":qn,"knowledge retrieve":$e,"knowledge search":et,"knowledge chat":je,"knowledge list":Xe,"knowledge info":Ye,"knowledge create":qe,"knowledge update":Qe,"knowledge delete":Je,"knowledge doc list":Be,"knowledge doc status":Ve,"knowledge doc upload":Ue,"knowledge doc delete":Re,"knowledge doc tag":He,"knowledge service list":ot,"knowledge service get":at,"knowledge service create":nt,"knowledge service update":st,"knowledge service deploy":it,"knowledge service delete":rt,"knowledge service copy":tt,"knowledge chunk add":Me,"knowledge chunk list":Pe,"knowledge chunk update":Fe,"knowledge chunk delete":Ne,"knowledge stats":Ze,"knowledge doc import-oss":ze,"knowledge collection create":Ie,"knowledge collection get":Le,"knowledge category list":Ae,"knowledge category add":Oe,"knowledge category delete":ke,"knowledge file list":Ke,"knowledge file get":Ge,"knowledge file delete":We,"mcp call":Rn,"mcp connect":zn,"mcp disconnect":Bn,"mcp list":Vn,"mcp tools":Hn,"search web":Pr,"speech synthesize":Ur,"speech recognize":Hr,"speech vocabulary create":Wr,"speech vocabulary list":qr,"speech vocabulary get":Kr,"speech vocabulary update":Jr,"speech vocabulary delete":Gr,"file upload":X,"console call":S,"agents security overview":Ir,"agents security alerts":Fr,"usage free":ii,"usage freetier":ai,"usage stats":oi,"usage summary":si,"usage token-plan":ci,"usage coding-plan":ri,"pipeline run":lr,"pipeline validate":ur,"advisor recommend":te,"model list":Zn,"model search":Qn,"model code":Xn,"workspace list":gi,"quota list":vr,"quota update":$,"quota delete":gr,"quota history":_r,"quota check":hr,"monitor overview":ar,"monitor models":ir,"monitor metrics":rr,"monitor errors":nr,"monitor delivery status":tr,"monitor delivery enable":er,"monitor delivery disable":$n,"log status":vt,"log audit list":ft,"log audit get":dt,"log audit count":ct,"log audit enable":ut,"log audit disable":lt,"log inference list":_t,"log inference get":gt,"log inference count":pt,"log inference enable":ht,"log inference disable":mt,"log trace list":bt,"log trace get":yt,"log trace stats":xt,"alert metrics":i,"alert template list":s,"alert template create":a,"alert template update":c,"alert template delete":o,"alert list":r,"alert create":ne,"alert update":l,"alert delete":re,"alert enable":t,"alert disable":e,"alert history":n,"permission list":sr,"permission grant":or,"permission revoke":cr,"dataset upload":E,"dataset list":T,"dataset get":w,"dataset delete":C,"dataset validate":D,"finetune text create":Ce,"finetune audio create":ie,"finetune image create":ye,"finetune video create":we,"finetune list":be,"finetune get":ve,"finetune cancel":ae,"finetune delete":ge,"finetune logs":xe,"finetune checkpoints":se,"finetune export":_e,"finetune watch":Te,"finetune capability":oe,"finetune price":Se,"finetune compress templates":me,"finetune compress create":le,"finetune compress list":fe,"finetune compress get":de,"finetune compress watch":he,"finetune compress logs":pe,"finetune compress cancel":ce,"finetune compress delete":ue,"deploy text create":J,"deploy audio create":k,"deploy image create":z,"deploy list":B,"deploy get":R,"deploy capacity list":N,"deploy capacity get":M,"deploy capacity create":A,"deploy capacity scale":F,"deploy capacity renew":P,"deploy capacity delete":j,"deploy capacity unsubscribe":I,"deploy overflow":W,"deploy operation get":H,"deploy operation wait":U,"deploy models":V,"deploy scale":q,"deploy update":Y,"deploy delete":L,"deploy pause":G,"deploy resume":K,"token-plan list-seats":ti,"token-plan create-key":$r,"token-plan assign-seats":Qr,"token-plan add-member":Zr,"token-plan harness-quota":ei,"workspace init":hi,"plugin install":dr,"plugin link":fr,"plugin list":pr,"plugin remove":mr,"skill add":Lr,"skill update":Vr,"skill remove":Br,"skill list":zr,"skill init":Rr,"managed-agent init":Jt,"managed-agent validate":Mn,"managed-agent plan":Yt,"managed-agent apply":Dt,"managed-agent destroy":Lt,"managed-agent playground":Xt,"managed-agent project init":Qt,"managed-agent project validate":en,"managed-agent project build":Zt,"managed-agent project publish":$t,"managed-agent project workbench":sn,"managed-agent project version enable":tn,"managed-agent project version disable":Z,"managed-agent project version status":on,"managed-agent project version list":nn,"managed-agent project version preview":rn,"managed-agent project version restore":an,"managed-agent state list":kn,"managed-agent state show":jn,"managed-agent state rm":An,"managed-agent state import":On,"managed-agent session create":ln,"managed-agent session list":vn,"managed-agent session get":_n,"managed-agent session delete":dn,"managed-agent session run":yn,"managed-agent session send":xn,"managed-agent session events":hn,"managed-agent skill-list":Q,"managed-agent agent create":St,"managed-agent agent list":wt,"managed-agent agent get":Ct,"managed-agent agent search":Tt,"managed-agent agent versions":Et,"managed-agent environment create":Rt,"managed-agent environment list":Bt,"managed-agent environment get":zt,"managed-agent environment search":Vt,"managed-agent skill create":Cn,"managed-agent skill list":Q,"managed-agent skill get":Tn,"managed-agent skill search":En,"managed-agent skill versions":Dn,"managed-agent skill download":wn,"managed-agent vault create":Nn,"managed-agent vault credential create":Pn,"managed-agent vault list":In,"managed-agent vault get":Fn,"managed-agent vault search":Ln,"managed-agent deployment create":Ot,"managed-agent deployment list":At,"managed-agent deployment get":kt,"managed-agent deployment search":Ft,"managed-agent deployment runs list":Pt,"managed-agent deployment runs get":Nt,"managed-agent deployment run":Mt,"managed-agent deployment pause":jt,"managed-agent deployment unpause":It,"managed-agent session search":bn,"managed-agent session update":Sn,"managed-agent session archive":cn,"managed-agent session event list":fn,"managed-agent session event send":pn,"managed-agent session event stream":mn,"managed-agent session debug":un,"managed-agent session export":gn,"managed-agent file upload":qt,"managed-agent file list":Gt,"managed-agent file get":Wt,"managed-agent file search":Kt,"managed-agent file download":Ut,"managed-agent file delete":Ht,"sandbox create":br,"sandbox official-images":Tr,"sandbox file upload":Sr,"sandbox list":wr,"sandbox get":Cr,"sandbox connect":yr,"sandbox pause":Er,"sandbox resume":Dr,"sandbox delete":xr,"sandbox template create":kr,"sandbox template list":Mr,"sandbox template get":jr,"sandbox template update":Nr,"sandbox template build-status":Or,"sandbox template delete":Ar},vi={"quota request":$},yi={supported:{"@ali/bailian-plugin-agent":{commandPrefixes:[`agent`],credentialAccess:[`apiKey`]},"@ali/bailian-plugin-inner-console-call":{commandPrefixes:[`inner-console`]}}};var bi=`2.3.0`;const xi=[`帮我创建一个能够生成短片分镜和视频的 Managed Agent。
|
|
4
4
|
Help me create a Managed Agent that can generate short-film storyboards and videos.`,`生成一张穿着太空服的猫站在火星上的图片,再把它制作成一段视频。
|
|
5
5
|
Generate an image of a cat in a spacesuit standing on Mars, then turn it into a video.`,`查看最近的模型用量、免费额度和限流情况。
|
|
6
6
|
Check my recent model usage, free quota, and rate limits.`,`推荐一个适合图片理解和智能客服的模型。
|
|
7
7
|
Recommend a model suitable for image understanding and intelligent customer service.`,`介绍一下 Bailian CLI 能帮我完成哪些任务,并根据我的需求推荐使用方式。
|
|
8
|
-
Explain what Bailian CLI can help me accomplish, and recommend how to use it based on my needs.`];ee({...
|
|
8
|
+
Explain what Bailian CLI can help me accomplish, and recommend how to use it based on my needs.`];ee({..._i,...vi},{binName:`bl`,version:bi,clientName:`bailian-cli`,npmPackage:`bailian-cli`,quickStartTasks:xi,commandPacks:yi}).run();export{};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bailian-cli",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.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-
|
|
42
|
-
"bailian-cli-
|
|
43
|
-
"bailian-cli-
|
|
41
|
+
"bailian-cli-commands": "2.3.0",
|
|
42
|
+
"bailian-cli-core": "2.3.0",
|
|
43
|
+
"bailian-cli-runtime": "2.3.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@clack/prompts": "^0.7.0",
|