Skip to content

Commit ec2059b

Browse files
authored
Merge pull request #272 from modelstudioai/feat/assets-url-change
Feat/assets url change
2 parents aa750aa + f5a71fd commit ec2059b

10 files changed

Lines changed: 29 additions & 28 deletions

File tree

‎README.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div align="center">
22

3-
<img src="https://img.alicdn.com/imgextra/i1/O1CN01kGgO3z1N30OINgUoG_!!6000000001513-2-tps-1915-821.png" alt="Aliyun Model Studio CLI" />
3+
<img src="https://raw.githubusercontent.com/modelstudioai/cli/main/assets/banner.jpg" alt="Aliyun Model Studio CLI" />
44

55
**The official command-line interface for Aliyun Model Studio (DashScope) AI Platform**
66

@@ -37,7 +37,7 @@ _Built for AI Agents. Every command works as a structured tool call._
3737

3838
<p align="center">
3939
<a href="https://cloud.video.taobao.com/vod/dS2F4huqbw5Nfe5L3wwb3grz2q2DNYD3retq8dU-iHo.mp4">
40-
<img src="https://img.alicdn.com/imgextra/i1/O1CN01Q5052k232Hd36NodG_!!6000000007197-0-tps-2940-1656.jpg" alt="Click to play the demo video" width="720" />
40+
<img src="https://raw.githubusercontent.com/modelstudioai/cli/main/assets/showcase-short-film.jpg" alt="Click to play the demo video" width="720" />
4141
</a>
4242
</p>
4343

@@ -57,7 +57,7 @@ A complete **2-minute, 16:9 cinematic short film** — produced end-to-end from
5757

5858
<p align="center">
5959
<a href="https://cloud.video.taobao.com/vod/2v0GYLbJSQb2saj4iopTJDW3iRIHsintYlK-wTKbhqE.mp4">
60-
<img src="https://img.alicdn.com/imgextra/i4/6000000001674/O1CN01xhzixhxltbH3LxWu_!!6000000001674-0-tbvideo.jpg" alt="Click to play the demo video" width="720" />
60+
<img src="https://raw.githubusercontent.com/modelstudioai/cli/main/assets/showcase-managed-agent.jpg" alt="Click to play the demo video" width="720" />
6161
</a>
6262
</p>
6363

@@ -190,7 +190,7 @@ Bug reports, feature requests, and PRs are welcome. See [CONTRIBUTING.md](https:
190190

191191
Scan the QR code to join the Aliyun Model Studio CLI DingTalk user group for usage help, troubleshooting, bug reports, and tips from other users.
192192

193-
<img src="https://img.alicdn.com/imgextra/i3/O1CN015uuhYGb6j0L12xJZ_!!6000000006304-2-tps-516-485.png" alt="Aliyun Model Studio CLI DingTalk user group" width="240" />
193+
<img src="https://raw.githubusercontent.com/modelstudioai/cli/main/assets/dingtalk-group.png" alt="Aliyun Model Studio CLI DingTalk user group" width="240" />
194194

195195
## Links
196196

‎README.zh.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div align="center">
22

3-
<img src="https://img.alicdn.com/imgextra/i1/O1CN01kGgO3z1N30OINgUoG_!!6000000001513-2-tps-1915-821.png" alt="Aliyun Model Studio CLI" />
3+
<img src="https://raw.githubusercontent.com/modelstudioai/cli/main/assets/banner.jpg" alt="Aliyun Model Studio CLI" />
44

55
**阿里云百炼 (DashScope) AI 平台命令行工具**
66

@@ -36,7 +36,7 @@ _专为 AI Agent 打造,每个命令均可作为结构化工具调用。_
3636

3737
<p align="center">
3838
<a href="https://cloud.video.taobao.com/vod/dS2F4huqbw5Nfe5L3wwb3grz2q2DNYD3retq8dU-iHo.mp4">
39-
<img src="https://img.alicdn.com/imgextra/i1/O1CN01Q5052k232Hd36NodG_!!6000000007197-0-tps-2940-1656.jpg" alt="点击播放演示视频" width="720" />
39+
<img src="https://raw.githubusercontent.com/modelstudioai/cli/main/assets/showcase-short-film.jpg" alt="点击播放演示视频" width="720" />
4040
</a>
4141
</p>
4242

@@ -56,7 +56,7 @@ _专为 AI Agent 打造,每个命令均可作为结构化工具调用。_
5656

5757
<p align="center">
5858
<a href="https://cloud.video.taobao.com/vod/2v0GYLbJSQb2saj4iopTJDW3iRIHsintYlK-wTKbhqE.mp4">
59-
<img src="https://img.alicdn.com/imgextra/i4/6000000001674/O1CN01xhzixhxltbH3LxWu_!!6000000001674-0-tbvideo.jpg" alt="点击播放演示视频" width="720" />
59+
<img src="https://raw.githubusercontent.com/modelstudioai/cli/main/assets/showcase-managed-agent.jpg" alt="点击播放演示视频" width="720" />
6060
</a>
6161
</p>
6262

@@ -189,7 +189,7 @@ bl update
189189

190190
欢迎扫码加入阿里云百炼 CLI 钉钉用户交流群,获取使用答疑、问题排查、Bug 反馈和使用经验交流支持。
191191

192-
<img src="https://img.alicdn.com/imgextra/i3/O1CN015uuhYGb6j0L12xJZ_!!6000000006304-2-tps-516-485.png" alt="阿里云百炼 CLI 钉钉用户交流群" width="240" />
192+
<img src="https://raw.githubusercontent.com/modelstudioai/cli/main/assets/dingtalk-group.png" alt="阿里云百炼 CLI 钉钉用户交流群" width="240" />
193193

194194
## 相关链接
195195

‎assets/banner.jpg‎

88.9 KB
Loading

‎assets/dingtalk-group.png‎

89.2 KB
Loading

‎assets/showcase-managed-agent.jpg‎

151 KB
Loading

‎assets/showcase-short-film.jpg‎

409 KB
Loading

‎docs/agents/publish.md‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -90,17 +90,17 @@ workflow 的 `channel` 输入**只决定 npm dist-tag**(如 `mcp` / `plugin` /
9090

9191
两种模式都会先跑 `check.mjs`,覆盖以下检查:
9292

93-
| 检查项 | 说明 |
94-
| -------------------------------- | --------------------------------------------------------------------------------------------------------------- |
95-
| `pnpm install --frozen-lockfile` | lockfile 一致性 |
96-
| README 同步 | `packages/cli/README.md` 与根 README 一致 |
97-
| 版本号一致 | `tools/release/lib/packages.mjs` 中待发布包集合 version 相同 |
98-
| `workspace:*` 替换 | 发布包间 workspace 依赖解析为真实版本号 |
99-
| 构建 | 统一构建 core/runtime/commands 依赖、cli、kscli 和两个 dsh 插件 |
100-
| 生成资产 | 重建各 `skills/<skill>/reference/`;非 channel 模式还同步各 `skills/*/SKILL.md` version(含 `bailian-protocol`) |
101-
| pnpm pack | 打 tarball |
102-
| publint | 包元数据校验 |
103-
| gitleaks | 敏感信息扫描 |
93+
| 检查项 | 说明 |
94+
| -------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
95+
| `pnpm install --frozen-lockfile` | lockfile 一致性 |
96+
| README 同步 | `packages/cli/README.md` / `README.zh.md` 与根目录逐字节一致;内容图用可公网绝对 URL(如 `raw.githubusercontent.com/.../assets/`),不要用相对路径或 GitHub Camo 拉不到的 CDN |
97+
| 版本号一致 | `tools/release/lib/packages.mjs` 中待发布包集合 version 相同 |
98+
| `workspace:*` 替换 | 发布包间 workspace 依赖解析为真实版本号 |
99+
| 构建 | 统一构建 core/runtime/commands 依赖、cli、kscli 和两个 dsh 插件 |
100+
| 生成资产 | 重建各 `skills/<skill>/reference/`;非 channel 模式还同步各 `skills/*/SKILL.md` version(含 `bailian-protocol`) |
101+
| pnpm pack | 打 tarball |
102+
| publint | 包元数据校验 |
103+
| gitleaks | 敏感信息扫描 |
104104

105105
本地可以 dry-run 验证:
106106

‎docs/agents/url-change.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ grep -rnE "https://dashscope[a-z-]*\.aliyuncs\.com" packages/ --include="*.ts" \
5252
### B. 非 TS 文件(只能人工同步,无法 import)
5353

5454
- [ ] `skills/*/reference/` 各 `<group>.md` 中 API/控制台 URL(`generate:reference` 重建后核对并提交)
55-
- [ ] `README.md` / `README.zh.md` 中所有 URL
55+
- [ ] `README.md` / `README.zh.md` 中所有 URL;内容图必须用可公网绝对 URL,且根目录与 `packages/cli` 逐字节一致(`assertReadmeSync`)。`img.alicdn.com` 会被 GitHub Camo 拒绝;相对路径在 npm 上解析不到。优先 `https://raw.githubusercontent.com/modelstudioai/cli/main/assets/...`
5656

5757
### C. 渠道追踪参数
5858

@@ -75,5 +75,6 @@ pnpm -F bailian-cli exec tsx src/main.ts help # help 命令
7575
## 常见漏点
7676

7777
- ✗ 改了 `urls.ts` / 登录站点 / 文档 deep link 但忘记同步 README(用户最先看到)
78+
- ✗ README 内容图用相对路径或阿里云 CDN:发版 `assertReadmeSync` / GitHub Camo / npm 子包 README 至少会坏一处
7879
- ✗ 在 runtime / command 文件里 inline `https://bailian.console.aliyun.com/...` 而不是从 `urls.ts` import
7980
- ✗ 在 core 的 hint 里写 URL(违反 [error-hint-change.md](error-hint-change.md) 不变量 1)

‎packages/cli/README.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div align="center">
22

3-
<img src="https://img.alicdn.com/imgextra/i1/O1CN01kGgO3z1N30OINgUoG_!!6000000001513-2-tps-1915-821.png" alt="Aliyun Model Studio CLI" />
3+
<img src="https://raw.githubusercontent.com/modelstudioai/cli/main/assets/banner.jpg" alt="Aliyun Model Studio CLI" />
44

55
**The official command-line interface for Aliyun Model Studio (DashScope) AI Platform**
66

@@ -37,7 +37,7 @@ _Built for AI Agents. Every command works as a structured tool call._
3737

3838
<p align="center">
3939
<a href="https://cloud.video.taobao.com/vod/dS2F4huqbw5Nfe5L3wwb3grz2q2DNYD3retq8dU-iHo.mp4">
40-
<img src="https://img.alicdn.com/imgextra/i1/O1CN01Q5052k232Hd36NodG_!!6000000007197-0-tps-2940-1656.jpg" alt="Click to play the demo video" width="720" />
40+
<img src="https://raw.githubusercontent.com/modelstudioai/cli/main/assets/showcase-short-film.jpg" alt="Click to play the demo video" width="720" />
4141
</a>
4242
</p>
4343

@@ -57,7 +57,7 @@ A complete **2-minute, 16:9 cinematic short film** — produced end-to-end from
5757

5858
<p align="center">
5959
<a href="https://cloud.video.taobao.com/vod/2v0GYLbJSQb2saj4iopTJDW3iRIHsintYlK-wTKbhqE.mp4">
60-
<img src="https://img.alicdn.com/imgextra/i4/6000000001674/O1CN01xhzixhxltbH3LxWu_!!6000000001674-0-tbvideo.jpg" alt="Click to play the demo video" width="720" />
60+
<img src="https://raw.githubusercontent.com/modelstudioai/cli/main/assets/showcase-managed-agent.jpg" alt="Click to play the demo video" width="720" />
6161
</a>
6262
</p>
6363

@@ -190,7 +190,7 @@ Bug reports, feature requests, and PRs are welcome. See [CONTRIBUTING.md](https:
190190

191191
Scan the QR code to join the Aliyun Model Studio CLI DingTalk user group for usage help, troubleshooting, bug reports, and tips from other users.
192192

193-
<img src="https://img.alicdn.com/imgextra/i3/O1CN015uuhYGb6j0L12xJZ_!!6000000006304-2-tps-516-485.png" alt="Aliyun Model Studio CLI DingTalk user group" width="240" />
193+
<img src="https://raw.githubusercontent.com/modelstudioai/cli/main/assets/dingtalk-group.png" alt="Aliyun Model Studio CLI DingTalk user group" width="240" />
194194

195195
## Links
196196

‎packages/cli/README.zh.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div align="center">
22

3-
<img src="https://img.alicdn.com/imgextra/i1/O1CN01kGgO3z1N30OINgUoG_!!6000000001513-2-tps-1915-821.png" alt="Aliyun Model Studio CLI" />
3+
<img src="https://raw.githubusercontent.com/modelstudioai/cli/main/assets/banner.jpg" alt="Aliyun Model Studio CLI" />
44

55
**阿里云百炼 (DashScope) AI 平台命令行工具**
66

@@ -36,7 +36,7 @@ _专为 AI Agent 打造,每个命令均可作为结构化工具调用。_
3636

3737
<p align="center">
3838
<a href="https://cloud.video.taobao.com/vod/dS2F4huqbw5Nfe5L3wwb3grz2q2DNYD3retq8dU-iHo.mp4">
39-
<img src="https://img.alicdn.com/imgextra/i1/O1CN01Q5052k232Hd36NodG_!!6000000007197-0-tps-2940-1656.jpg" alt="点击播放演示视频" width="720" />
39+
<img src="https://raw.githubusercontent.com/modelstudioai/cli/main/assets/showcase-short-film.jpg" alt="点击播放演示视频" width="720" />
4040
</a>
4141
</p>
4242

@@ -56,7 +56,7 @@ _专为 AI Agent 打造,每个命令均可作为结构化工具调用。_
5656

5757
<p align="center">
5858
<a href="https://cloud.video.taobao.com/vod/2v0GYLbJSQb2saj4iopTJDW3iRIHsintYlK-wTKbhqE.mp4">
59-
<img src="https://img.alicdn.com/imgextra/i4/6000000001674/O1CN01xhzixhxltbH3LxWu_!!6000000001674-0-tbvideo.jpg" alt="点击播放演示视频" width="720" />
59+
<img src="https://raw.githubusercontent.com/modelstudioai/cli/main/assets/showcase-managed-agent.jpg" alt="点击播放演示视频" width="720" />
6060
</a>
6161
</p>
6262

@@ -189,7 +189,7 @@ bl update
189189

190190
欢迎扫码加入阿里云百炼 CLI 钉钉用户交流群,获取使用答疑、问题排查、Bug 反馈和使用经验交流支持。
191191

192-
<img src="https://img.alicdn.com/imgextra/i3/O1CN015uuhYGb6j0L12xJZ_!!6000000006304-2-tps-516-485.png" alt="阿里云百炼 CLI 钉钉用户交流群" width="240" />
192+
<img src="https://raw.githubusercontent.com/modelstudioai/cli/main/assets/dingtalk-group.png" alt="阿里云百炼 CLI 钉钉用户交流群" width="240" />
193193

194194
## 相关链接
195195

0 commit comments

Comments
 (0)