Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,28 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and

[中文版](CHANGELOG.zh.md) · [README](README.md) · [Contributing](CONTRIBUTING.md)

## [2.11.0] - 2026-11-24

### Added

- **Speech voice command group**: New `bl speech voice` commands for custom voice enrollment and management.
- `bl speech voice clone` clones a voice from reference audio for CosyVoice / Qwen-Audio (via `speech synthesize --voice`) or Omni (`qwen3.5-omni-flash` / `plus`, then `omni --model <same-target-model> --voice <id>`; Realtime targets are rejected).
- `bl speech voice design` creates a voice from a text prompt and preview text (CosyVoice / Qwen-Audio).
- `bl speech voice list` / `get` / `update` / `preview` / `delete` manage enrolled voices; Omni covers clone and delete only.
- **Speech audio generation**: New `bl speech generate` builds podcast/dialogue audio from `--text-prompt`, with optional `--audio` references (`@voice1` / `@voice2` / `@voice3`) and download via `--out-dir` / `--out-prefix`.
- **Qwen-MT translation commands**: Dedicated translation entries for text, image, and multimodal files.
- `bl text translate` translates with Qwen-MT (`qwen-mt-flash` / `plus` / `lite`), supporting `--source-lang` / `--target-lang`, terminology pairs, domain hints, and streaming.
- `bl image translate` translates text in images with Qwen-MT-Image; waits for the async task and downloads a JPG (or returns the task id with `--async`).
- `bl omni translate` translates documents, images, or audio with Qwen-MT-Uni (`--file`, glossary, sensitive phrases, `--image-segment`).

### Fixed

- **`bl update`**: Installs from the official npm registry so version detection and install use the same source when a configured mirror lags behind a publish.
- **File downloads**: Replacing an existing download target no longer deletes it first; the previous file is restored if publish fails, and destination permissions are preserved when possible.
- **Async task polling**: Hung DashScope poll GETs keep reporting the `task_id`, so timed-out translate/generate waits remain actionable.
- **Omni cloned voices**: Using a cloned `qwen-omni-vc-*` voice requires an explicit `--model` that matches the clone `--target-model`; omitting `--model` is rejected when it would auto-switch `qwen3.8-omni-flash` to plus for audio output.
- **Translate / speech edge cases**: Omni translate output suffixes, empty glossary targets, and preserved `--message` text; CosyVoice Base64 audio size limits apply only where enrollment requires them.

## [2.10.5] - 2026-11-23

### Added
Expand Down
22 changes: 22 additions & 0 deletions CHANGELOG.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,28 @@

[English](CHANGELOG.md) · [README](README.zh.md) · [参与贡献](CONTRIBUTING.zh.md)

## [2.11.0] - 2026-11-24

### 新增

- **语音音色命令组**:新增 `bl speech voice` 系列命令,用于自定义音色登记与管理。
- `bl speech voice clone` 从参考音频复刻音色,支持 CosyVoice / Qwen-Audio(后续用 `speech synthesize --voice`)以及 Omni(`qwen3.5-omni-flash` / `plus`,再以 `omni --model <同 target-model> --voice <id>` 使用;Realtime 目标会被拒绝)。
- `bl speech voice design` 通过文本描述与预览文案设计音色(CosyVoice / Qwen-Audio)。
- `bl speech voice list` / `get` / `update` / `preview` / `delete` 管理已登记音色;Omni 仅支持 clone 与 delete。
- **语音内容生成**:新增 `bl speech generate`,根据 `--text-prompt` 生成播客/对话类音频,可选 `--audio` 参考音(`@voice1` / `@voice2` / `@voice3`),并通过 `--out-dir` / `--out-prefix` 下载结果。
- **Qwen-MT 翻译命令**:新增文本、图片与多模态文件的专用翻译入口。
- `bl text translate` 使用 Qwen-MT(`qwen-mt-flash` / `plus` / `lite`)翻译文本,支持 `--source-lang` / `--target-lang`、术语对、领域提示与流式输出。
- `bl image translate` 使用 Qwen-MT-Image 翻译图片中的文字;等待异步任务完成后下载 JPG(或用 `--async` 仅返回任务 ID)。
- `bl omni translate` 使用 Qwen-MT-Uni 翻译文档、图片或音频(`--file`、术语表、敏感词、`--image-segment`)。

### 修复

- **`bl update`**:改为从官方 npm registry 安装,使版本检测与安装同源,避免配置镜像落后于发布时误报更新成功。
- **文件下载**:覆盖已有下载目标时不再先删除原文件;发布失败会尽量恢复旧文件,并在可行时保留目标权限。
- **异步任务轮询**:DashScope 轮询 GET 卡住时仍保留 `task_id`,超时的翻译/生成等待仍可继续排查。
- **Omni 复刻音色**:使用 `qwen-omni-vc-*` 复刻音色时须显式传入与 clone `--target-model` 一致的 `--model`;若省略 `--model` 会触发 `qwen3.8-omni-flash` 自动切到 plus 的音频路径,将被拒绝。
- **翻译 / 语音边界情况**:修正 Omni 翻译输出后缀、空术语目标与 `--message` 原文保留;CosyVoice 的 Base64 音频体积限制仅在登记链路需要时生效。

## [2.10.5] - 2026-11-23

### 新增
Expand Down
2 changes: 1 addition & 1 deletion packages/bailian-kb-dsh/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bailian-kb-dsh",
"version": "2.10.5",
"version": "2.11.0",
"description": "Bailian knowledge-base tools for DeepSeek Harness: kb_search and kb_chat over the DashScope RAG API, plus the bl CLI management skill.",
"keywords": [
"alibaba-cloud",
Expand Down
2 changes: 1 addition & 1 deletion packages/bailian-memo-dsh/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bailian-memo-dsh",
"version": "2.10.5",
"version": "2.11.0",
"description": "Bailian personal memory for DeepSeek Harness: automatic recall, silent curation, and user-controlled remember/forget.",
"keywords": [
"alibaba-cloud",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bailian-cli",
"version": "2.10.5",
"version": "2.11.0",
"description": "CLI for Aliyun Model Studio (DashScope) AI Platform.",
"keywords": [
"agent",
Expand Down
2 changes: 1 addition & 1 deletion packages/commands/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bailian-cli-commands",
"version": "2.10.5",
"version": "2.11.0",
"description": "Command library for bailian-cli products (knowledge, memory, media, …). See https://www.npmjs.com/package/bailian-cli for usage.",
"homepage": "https://bailian.console.aliyun.com/cli",
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bailian-cli-core",
"version": "2.10.5",
"version": "2.11.0",
"description": "Core SDK for bailian-cli. See https://www.npmjs.com/package/bailian-cli for usage.",
"homepage": "https://bailian.console.aliyun.com/cli",
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion packages/kscli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "knowledge-studio-cli",
"version": "2.10.5",
"version": "2.11.0",
"description": "Lightweight RAG CLI for Aliyun Model Studio — focused on knowledge-base retrieval.",
"keywords": [
"alibaba-cloud",
Expand Down
2 changes: 1 addition & 1 deletion packages/runtime/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bailian-cli-runtime",
"version": "2.10.5",
"version": "2.11.0",
"description": "Runtime framework for bailian-cli (createCli, registry, args, output, pipeline). See https://www.npmjs.com/package/bailian-cli for usage.",
"homepage": "https://bailian.console.aliyun.com/cli",
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion skills/bailian-cli/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: bailian-cli
metadata:
version: "2.10.5"
version: "2.11.0"
requires:
bins: ["bl"]
description: >-
Expand Down
2 changes: 1 addition & 1 deletion skills/bailian-finetune/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: bailian-finetune
metadata:
version: "2.10.5"
version: "2.11.0"
requires:
bins: ["bl"]
description: >-
Expand Down
2 changes: 1 addition & 1 deletion skills/bailian-gen/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: bailian-gen
metadata:
version: "2.10.5"
version: "2.11.0"
requires:
bins: ["bl"]
description: >-
Expand Down
2 changes: 1 addition & 1 deletion skills/bailian-knowledge/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: bailian-knowledge
metadata:
version: "2.10.5"
version: "2.11.0"
requires:
bins: ["bl"]
description: >-
Expand Down
2 changes: 1 addition & 1 deletion skills/bailian-managed-agent/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: bailian-managed-agent
metadata:
version: "2.10.5"
version: "2.11.0"
requires:
bins: ["bl"]
description: >-
Expand Down
2 changes: 1 addition & 1 deletion skills/bailian-memory/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: bailian-memory
metadata:
version: "2.10.5"
version: "2.11.0"
requires:
bins: ["bl"]
description: >-
Expand Down
2 changes: 1 addition & 1 deletion skills/bailian-opd/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: bailian-opd
metadata:
version: "2.10.5"
version: "2.11.0"
requires:
bins: ["bl", "node"]
description: >-
Expand Down
2 changes: 1 addition & 1 deletion skills/bailian-protocol/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: bailian-protocol
metadata:
version: "2.10.5"
version: "2.11.0"
requires:
bins: ["bl"]
description: >-
Expand Down
2 changes: 1 addition & 1 deletion skills/bailian-sandbox/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: bailian-sandbox
metadata:
version: "2.10.5"
version: "2.11.0"
requires:
bins: ["bl"]
description: >-
Expand Down
2 changes: 1 addition & 1 deletion skills/bailian-web-search/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: bailian-web-search
metadata:
version: "2.10.5"
version: "2.11.0"
requires:
bins: ["bl"]
description: >-
Expand Down