bailian-cli 1.0.3 → 1.1.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/LICENSE +12 -11
- package/README.md +5 -5
- package/README_CN.md +5 -5
- package/dist/bailian.mjs +285 -141
- package/package.json +13 -9
- package/scripts/postinstall.js +0 -151
- package/skill/SKILL.md +0 -196
- package/skill/reference/app.md +0 -99
- package/skill/reference/auth.md +0 -96
- package/skill/reference/config.md +0 -91
- package/skill/reference/console.md +0 -40
- package/skill/reference/file.md +0 -48
- package/skill/reference/image.md +0 -116
- package/skill/reference/index.md +0 -95
- package/skill/reference/knowledge.md +0 -45
- package/skill/reference/memory.md +0 -195
- package/skill/reference/model.md +0 -51
- package/skill/reference/omni.md +0 -74
- package/skill/reference/search.md +0 -48
- package/skill/reference/speech.md +0 -141
- package/skill/reference/text.md +0 -65
- package/skill/reference/update.md +0 -32
- package/skill/reference/usage.md +0 -43
- package/skill/reference/video.md +0 -207
- package/skill/reference/vision.md +0 -53
package/LICENSE
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
|
|
1
2
|
Apache License
|
|
2
3
|
Version 2.0, January 2004
|
|
3
4
|
http://www.apache.org/licenses/
|
|
@@ -137,8 +138,8 @@
|
|
|
137
138
|
|
|
138
139
|
6. Trademarks. This License does not grant permission to use the trade
|
|
139
140
|
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
-
except as required for
|
|
141
|
-
reproducing the content of the NOTICE file.
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
143
|
|
|
143
144
|
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
145
|
agreed to in writing, Licensor provides the Work (and each
|
|
@@ -163,15 +164,15 @@
|
|
|
163
164
|
has been advised of the possibility of such damages.
|
|
164
165
|
|
|
165
166
|
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
-
the Work or Derivative Works thereof, You may
|
|
167
|
-
fee for, acceptance of support, warranty, indemnity,
|
|
168
|
-
liability obligations and/or rights consistent with this
|
|
169
|
-
However, in accepting such obligations, You may act only
|
|
170
|
-
own behalf and on
|
|
171
|
-
and only if You agree to indemnify,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
additional liability.
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
175
176
|
|
|
176
177
|
END OF TERMS AND CONDITIONS
|
|
177
178
|
|
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ _Built for AI Agents. Every command works as a structured tool call._
|
|
|
26
26
|
|
|
27
27
|
Equip your AI Agent out-of-the-box with these capabilities, composable across complex tasks:
|
|
28
28
|
|
|
29
|
-
- **Text chat** — Qwen3.
|
|
29
|
+
- **Text chat** — Qwen3.7-max: major gains in agentic coding, frontend coding, and vibe coding
|
|
30
30
|
- **Multimodal (Omni)** — Full omni-modal support across text + image + audio + video
|
|
31
31
|
- **Image generation & editing** — Qwen-Image 2.0: pro text rendering, photorealism, strong semantic adherence, multi-image composition
|
|
32
32
|
- **Video generation & editing** — HappyHorse-1.0 series: text-/image-/reference-to-video and natural-language video editing (up to 9-image reference)
|
|
@@ -35,7 +35,7 @@ Equip your AI Agent out-of-the-box with these capabilities, composable across co
|
|
|
35
35
|
- **Knowledge base & memory** — Multimodal RAG retrieval and cross-session memory for personalized, coherent dialogue
|
|
36
36
|
- **App calls** — Invoke agents and workflows already published on Aliyun Model Studio
|
|
37
37
|
- **Web search** — Real-time internet retrieval for up-to-date, accurate answers
|
|
38
|
-
- **Console capabilities** — Browse
|
|
38
|
+
- **Console capabilities** — Browse Bailian apps (`app list`) and check free-tier quota (`usage free`)
|
|
39
39
|
- **Local file auto-upload** — Every URL parameter accepts a local path; uploaded to free temp storage with 48-hour validity
|
|
40
40
|
|
|
41
41
|
<p align="center">
|
|
@@ -46,6 +46,7 @@ Equip your AI Agent out-of-the-box with these capabilities, composable across co
|
|
|
46
46
|
|
|
47
47
|
```bash
|
|
48
48
|
npm install -g bailian-cli
|
|
49
|
+
npx skills add modelstudioai/skills --all -g
|
|
49
50
|
```
|
|
50
51
|
|
|
51
52
|
> Requires Node.js >= 22.12.
|
|
@@ -71,8 +72,7 @@ bl video generate --image ./cat.png --prompt "Make the cat move" --download cat.
|
|
|
71
72
|
# Browser login (required for console capability commands)
|
|
72
73
|
bl auth login --console
|
|
73
74
|
|
|
74
|
-
# Browse
|
|
75
|
-
bl model list --name qwen
|
|
75
|
+
# Browse apps / free-tier quota
|
|
76
76
|
bl app list
|
|
77
77
|
bl usage free --model qwen3-max
|
|
78
78
|
```
|
|
@@ -98,7 +98,7 @@ bl text chat --api-key sk-xxxxx --message "Hello"
|
|
|
98
98
|
|
|
99
99
|
### Console Login (OAuth)
|
|
100
100
|
|
|
101
|
-
Required for console capability commands (`
|
|
101
|
+
Required for console capability commands (`app list`, `usage free`). Opens the Bailian console in your browser to sign in.
|
|
102
102
|
|
|
103
103
|
```bash
|
|
104
104
|
bl auth login --console
|
package/README_CN.md
CHANGED
|
@@ -26,7 +26,7 @@ _专为 AI Agent 打造,每个命令均可作为结构化工具调用。_
|
|
|
26
26
|
|
|
27
27
|
让您的 AI Agent 开箱即具备以下能力,并可在复杂任务中自动组合调用:
|
|
28
28
|
|
|
29
|
-
- **文本对话** — Qwen3.
|
|
29
|
+
- **文本对话** — Qwen3.7-max:Agentic coding、前端编程、Vibe coding 等能力显著增强
|
|
30
30
|
- **全模态对话** — 文本 + 图像 + 音频 + 视频全模态支持
|
|
31
31
|
- **图像生成与编辑** — Qwen-Image 2.0:专业文字渲染、真实质感、强语义遵循、多图合成
|
|
32
32
|
- **视频生成与编辑** — HappyHorse-1.0 系列,支持文生 / 图生 / 参考生(最多 9 张图参考)/ 自然语言视频编辑
|
|
@@ -35,7 +35,7 @@ _专为 AI Agent 打造,每个命令均可作为结构化工具调用。_
|
|
|
35
35
|
- **知识库与记忆库** — 多模态 RAG 检索 + 跨会话记忆,提供个性化连贯对话体验
|
|
36
36
|
- **应用调用** — 调用已发布在阿里云百炼平台上的智能体与工作流应用
|
|
37
37
|
- **联网搜索** — 实时互联网信息检索,提升回答准确性及时效性
|
|
38
|
-
- **控制台能力** —
|
|
38
|
+
- **控制台能力** — 浏览百炼应用(`app list`),查询模型免费额度(`usage free`)
|
|
39
39
|
- **本地文件自动上传** — 所有 URL 参数同时支持本地路径,免费临时存储 48 小时
|
|
40
40
|
|
|
41
41
|
<p align="center">
|
|
@@ -46,6 +46,7 @@ _专为 AI Agent 打造,每个命令均可作为结构化工具调用。_
|
|
|
46
46
|
|
|
47
47
|
```bash
|
|
48
48
|
npm install -g bailian-cli
|
|
49
|
+
npx skills add modelstudioai/skills --all -g
|
|
49
50
|
```
|
|
50
51
|
|
|
51
52
|
> 需要预先安装 Node.js >= 22.12。
|
|
@@ -71,8 +72,7 @@ bl video generate --image ./cat.png --prompt "让画面中的猫动起来" --dow
|
|
|
71
72
|
# 浏览器登录(控制台能力相关命令需要)
|
|
72
73
|
bl auth login --console
|
|
73
74
|
|
|
74
|
-
#
|
|
75
|
-
bl model list --name qwen
|
|
75
|
+
# 浏览应用 / 免费额度
|
|
76
76
|
bl app list
|
|
77
77
|
bl usage free --model qwen3-max
|
|
78
78
|
```
|
|
@@ -98,7 +98,7 @@ bl text chat --api-key sk-xxxxx --message "你好"
|
|
|
98
98
|
|
|
99
99
|
### 控制台登录(OAuth)
|
|
100
100
|
|
|
101
|
-
控制台能力命令(`
|
|
101
|
+
控制台能力命令(`app list`、`usage free`)需要使用此登录方式。打开浏览器跳转百炼控制台完成登录。
|
|
102
102
|
|
|
103
103
|
```bash
|
|
104
104
|
bl auth login --console
|