Skip to content

Commit 5b81e93

Browse files
Merge pull request #300 from modelstudioai/release/2.8.0
chore(release): prepare 2.8.0
2 parents 64f9d14 + c04b5cb commit 5b81e93

18 files changed

Lines changed: 42 additions & 52 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,33 +6,28 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and
66

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

9-
## [2.7.3] - 2026-11-03
9+
## [2.8.0] - 2026-11-03
1010

1111
### Added
1212

13-
- **Custom model import**: Add `bl cmodel base-models/import/get/list/watch/delete` to import Bailian base models as custom models.
14-
- `cmodel base-models` lists base models eligible for import (console API; import is currently available in the Beijing region only).
15-
- `cmodel import` submits an import job with weight type, display name, and optional bucket/object-key, validating the base model against the console-supported import list before submission.
16-
- `cmodel watch --job-id <id>` tracks import job progress with `--follow`, polling interval, and timeout options.
17-
- `cmodel get/list/delete` query and remove imported custom models.
13+
- **Aliyun CLI integration**: Support invocation through `aliyun bl`, with host-aware help, examples, recovery hints, and structured commands.
14+
- **AK/SK authentication**: Support `BAILIAN_ACCESS_KEY_ID`, `BAILIAN_ACCESS_KEY_SECRET`, and optional `BAILIAN_SECURITY_TOKEN`. Automatically obtain Console tokens with AK/SK when missing or expired.
15+
- **Custom model import**: Add `bl cmodel base-models/import/get/list/watch/delete` to import custom models from OSS, list supported base models, track import jobs, and query or delete imported models. The import API is currently available in the Beijing region only.
1816

1917
### Changed
2018

21-
- **Unified output contract**: Route every command family through one invocation output contract (result / progress / info / warning / debug). Progress and informational messages go to stderr and are hidden in quiet mode; warnings and errors are always preserved. In JSON mode, warnings and errors are emitted as single-line JSON on stderr. Quiet mode no longer trims result fields and gains a `DASHSCOPE_QUIET=1` environment variable.
22-
- **Advisor thinking disabled**: `bl advisor recommend` LLM calls no longer use thinking mode; intent analysis was the only thinking stage. `--no-thinking` remains accepted as a deprecated no-op for existing scripts.
19+
- **Command output**: JSON mode returns complete business results, with warnings, diagnostics, and errors written separately to stderr as JSONL for scripts and Agents.
20+
- **Quiet mode**: Hide only progress and informational messages while preserving complete results, warnings, and errors. Support `DASHSCOPE_QUIET=1`. Scripts extracting IDs, paths, or answers through quiet mode should explicitly read fields from JSON output.
21+
- **Credential precedence**: Resolve AK/SK in this order: command parameters, Bailian environment variables, Bailian configuration, then Alibaba Cloud environment variables.
22+
- **Model recommendations**: Disable thinking for recommendation LLM calls; keep `--no-thinking` accepted for compatibility.
23+
- **Output mode validation**: Explicitly validate supported formats for interactive login, local UI, Pipeline event streams, and streaming speech synthesis to avoid mixed output. Use text output for native interactive modes and Pipeline JSONL events, and specify `--out` for streaming speech synthesis in JSON mode.
2324

2425
### Fixed
2526

26-
- **Root help configuration**: Reuse the loaded configuration when rendering root help, preserving parsed flags, Profile selection, and credential precedence.
27-
- **Duplicate error messages**: Stop repeating the redundant normalization cause in text errors while preserving explicit causes, error codes, JSON details, and verbose stacks.
28-
- **SDK warnings and empty ASR results**: Preserve SDK warnings and empty ASR task results in managed-agent workflows and `bl speech recognize`.
29-
- **Finetune fee diagnostics**: `bl finetune fee` now emits gateway diagnostics for fee queries in verbose mode.
30-
31-
### Internal
32-
33-
- Instrument advisor LLM requests for telemetry.
34-
- Align all command tests and guidance with the output contract; optimize CLI test suites and shard CI test jobs.
35-
- Clarify quiet output behavior in the CLI and Knowledge Studio READMEs.
27+
- **Speech recognition**: Preserve complete responses and transcriptions in JSON output, including task information when no transcriptions are returned.
28+
- **Managed Agent warnings**: Preserve SDK warnings in quiet and JSON modes.
29+
- **Update notices**: Display available updates even when using cached version results.
30+
- **Error diagnostics**: Avoid duplicate error messages and improve request diagnostics for model recommendations and fine-tuning fee queries.
3631

3732
## [2.7.2] - 2026-10-30
3833

‎CHANGELOG.zh.md‎

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,33 +6,28 @@
66

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

9-
## [2.7.3] - 2026-11-03
9+
## [2.8.0] - 2026-11-03
1010

1111
### 新增
1212

13-
- **自定义模型导入**:新增 `bl cmodel base-models/import/get/list/watch/delete`,支持将百炼基础模型导入为自定义模型。
14-
- `cmodel base-models` 列出可导入的基础模型(控制台接口动态返回;导入当前仅北京地域开放)。
15-
- `cmodel import` 提交导入任务,支持权重类型、展示名称与可选 bucket/object-key,提交前按控制台可导入清单校验基础模型。
16-
- `cmodel watch --job-id <id>` 跟踪导入任务进度,支持 `--follow`、轮询间隔与超时配置。
17-
- `cmodel get/list/delete` 查询与删除已导入的自定义模型。
13+
- **Aliyun CLI 接入**:支持通过 `aliyun bl` 调用,帮助、示例、操作指引和结构化命令适配对应入口。
14+
- **AK/SK 鉴权**:支持 `BAILIAN_ACCESS_KEY_ID`、`BAILIAN_ACCESS_KEY_SECRET` 和可选的 `BAILIAN_SECURITY_TOKEN`;Console token 缺失或过期时,可通过 AK/SK 自动获取。
15+
- **自定义模型导入**:新增 `bl cmodel base-models/import/get/list/watch/delete`,支持从 OSS 导入自定义模型、查询可导入基础模型、跟踪导入任务,以及查询或删除已导入模型;导入 API 当前仅北京地域开放。
1816

1917
### 变更
2018

21-
- **统一输出契约**:全部命令统一走本次调用的输出契约(result / progress / info / warning / debug)。进度与过程提示写 stderr(quiet 下隐藏),警告与错误始终保留;JSON 模式下警告/错误以 stderr 单行 JSON 输出。quiet 不再裁剪结果字段,并新增 `DASHSCOPE_QUIET=1` 环境变量。
22-
- **Advisor 关闭思考模式**:`bl advisor recommend` 的 LLM 调用始终关闭思考模式(意图分析此前为唯一开启思考的阶段);`--no-thinking` 仍被接受但已无效果,为兼容旧脚本保留。
19+
- **命令输出**:JSON 模式返回完整业务结果,警告、诊断和错误以 JSONL 单独写入 stderr,方便脚本和 Agent 处理。
20+
- **quiet 模式**:只隐藏进度和过程提示,保留完整结果、警告及错误;支持 `DASHSCOPE_QUIET=1`。原先依赖 quiet 提取 ID、路径或回答的脚本,需改为读取 JSON 字段。
21+
- **凭证优先级**:AK/SK 按“命令参数 → 百炼环境变量 → 百炼配置 → 阿里云环境变量”解析。
22+
- **模型推荐**:关闭推荐过程中的思考模式,`--no-thinking` 保持兼容。
23+
- **输出模式校验**:交互式登录、本地 UI、Pipeline 事件流和语音流式输出明确各自支持的格式,避免产生混合输出;原生交互模式与 Pipeline JSONL 事件使用 text 输出,语音流式 JSON 输出需指定 `--out`。
2324

2425
### 修复
2526

26-
- **根帮助配置复用**:渲染根帮助时复用已加载的配置,保留 flag 解析、Profile 选择与凭证优先级。
27-
- **重复错误信息**:文本错误不再重复输出归一化 cause,同时保留显式 cause、错误码、JSON 详情与 verbose 堆栈。
28-
- **SDK 警告与空 ASR 结果**:managed-agent 工作流与 `bl speech recognize` 保留 SDK 警告与空的 ASR 任务结果。
29-
- **微调费用诊断**:`bl finetune fee` 在 verbose 模式下输出费用查询的 gateway 诊断信息。
30-
31-
### 内部
32-
33-
- Advisor LLM 调用接入请求埋点。
34-
- 全部命令测试与指引对齐输出契约;优化 CLI 测试套件并对 CI 测试任务分片。
35-
- 澄清 CLI 与 Knowledge Studio README 中 quiet 行为说明。
27+
- **语音识别**:JSON 输出保留完整响应和转写结果,空转写结果仍返回任务信息。
28+
- **Managed Agent 警告**:quiet 和 JSON 模式下保留 SDK 警告。
29+
- **更新提示**:使用缓存结果时仍能显示可升级通知。
30+
- **错误诊断**:避免重复错误信息,完善模型推荐和精调费用查询的请求诊断。
3631

3732
## [2.7.2] - 2026-10-30
3833

‎packages/bailian-kb-dsh/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bailian-kb-dsh",
3-
"version": "2.7.3",
3+
"version": "2.8.0",
44
"description": "Bailian knowledge-base tools for DeepSeek Harness: kb_search and kb_chat over the DashScope RAG API, plus the bl CLI management skill.",
55
"keywords": [
66
"alibaba-cloud",

‎packages/bailian-memo-dsh/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bailian-memo-dsh",
3-
"version": "2.7.3",
3+
"version": "2.8.0",
44
"description": "Bailian personal memory for DeepSeek Harness: automatic recall, silent curation, and user-controlled remember/forget.",
55
"keywords": [
66
"alibaba-cloud",

‎packages/cli/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bailian-cli",
3-
"version": "2.7.3",
3+
"version": "2.8.0",
44
"description": "CLI for Aliyun Model Studio (DashScope) AI Platform.",
55
"keywords": [
66
"agent",

‎packages/commands/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bailian-cli-commands",
3-
"version": "2.7.3",
3+
"version": "2.8.0",
44
"description": "Command library for bailian-cli products (knowledge, memory, media, …). See https://www.npmjs.com/package/bailian-cli for usage.",
55
"homepage": "https://bailian.console.aliyun.com/cli",
66
"bugs": {

‎packages/core/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bailian-cli-core",
3-
"version": "2.7.3",
3+
"version": "2.8.0",
44
"description": "Core SDK for bailian-cli. See https://www.npmjs.com/package/bailian-cli for usage.",
55
"homepage": "https://bailian.console.aliyun.com/cli",
66
"bugs": {

‎packages/kscli/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "knowledge-studio-cli",
3-
"version": "2.7.3",
3+
"version": "2.8.0",
44
"description": "Lightweight RAG CLI for Aliyun Model Studio — focused on knowledge-base retrieval.",
55
"keywords": [
66
"alibaba-cloud",

‎packages/runtime/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bailian-cli-runtime",
3-
"version": "2.7.3",
3+
"version": "2.8.0",
44
"description": "Runtime framework for bailian-cli (createCli, registry, args, output, pipeline). See https://www.npmjs.com/package/bailian-cli for usage.",
55
"homepage": "https://bailian.console.aliyun.com/cli",
66
"bugs": {

‎skills/bailian-cli/SKILL.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: bailian-cli
33
metadata:
4-
version: "2.7.3"
4+
version: "2.8.0"
55
requires:
66
bins: ["bl"]
77
description: >-

0 commit comments

Comments
 (0)