Skip to content

Commit cc0b62c

Browse files
committed
chore(release): bump version to 2.2.2
1 parent a489fc6 commit cc0b62c

14 files changed

Lines changed: 30 additions & 22 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,23 @@ 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-
## [Unreleased]
9+
## [2.2.2] - 2026-10-14
1010

1111
### Added
1212

13+
- **Model compression lifecycle** — Added `bl finetune compress templates/create/list/get/watch/logs/cancel/delete` for quantizing supported full-parameter fine-tuned models, including dry-run previews, status polling, log retrieval, and safe deletion confirmation.
14+
- **Pi agent support** — `bl config agent` and `bl mcp connect` / `bl mcp disconnect` now support Pi, writing its native configuration while preserving existing settings and redacting credentials in output.
15+
- **Global flags before the command path** — Global flags such as `--config` can now precede the command (`bl --config token-plan auth status`) as well as follow it; both select the Profile for that invocation only, without changing `active_config`. Command-specific and credential flags must still follow the command path.
1316
- **Decision model inference** — Added `bl decision` for TypeSafe System One requests against workspace-scoped endpoints, including `choice` / `noul` / `score` validation, JSON and text output, training-sample reuse, Beijing/Singapore routing, and dry-run previews.
1417

1518
### Changed
1619

1720
- **Decision dataset validation** — Aligned the `decision` schema with the current API: `state` may be a string, object, or array; `instructions` is optional; and question criteria now enforce API limits.
21+
- **Stricter flag validation** — Only flags defined for a command are accepted. Unknown flags, missing values, and invalid values now return usage exit code 2 even when the invocation would otherwise show help, and parser errors follow the Profile language. A bare root or command-group invocation still shows help and returns 0. `--timeout` uses the same positive-finite rule on the command line and in resolved settings.
22+
23+
### Fixed
24+
25+
- **Temporary file upload timeout** — Uploads of local files to temporary OSS storage now honor `--timeout` instead of a fixed 120-second limit.
1826

1927
## [2.2.1] - 2026-10-12
2028

@@ -24,10 +32,6 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and
2432

2533
## [2.2.0] - 2026-10-12
2634

27-
### Added
28-
29-
- **Model compression lifecycle** — Added `bl finetune compress templates/create/list/get/watch/logs/cancel/delete` for quantizing supported full-parameter fine-tuned models, including dry-run previews, status polling, log retrieval, and safe deletion confirmation.
30-
3135
### Changed
3236

3337
- **Token Plan usage window** — `bl usage token-plan` now reports a single monthly quota (usage percentage and reset time) instead of the previous 5-hour and 1-week windows.

‎CHANGELOG.zh.md‎

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,23 @@
66

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

9-
## [未发布]
9+
## [2.2.2] - 2026-10-14
1010

1111
### 新增
1212

13+
- **模型压缩完整生命周期** —— 新增 `bl finetune compress templates/create/list/get/watch/logs/cancel/delete`,支持对符合条件的全参调优模型执行量化压缩,并覆盖 dry-run 预览、状态轮询、日志查询和安全删除确认。
14+
- **支持 Pi Agent** —— `bl config agent` 与 `bl mcp connect` / `bl mcp disconnect` 新增支持 Pi,写入其原生配置并保留已有设置,输出中的凭据会脱敏。
15+
- **全局参数可前置** —— `--config` 等全局参数现在既可放在命令之后,也可放在命令之前(`bl --config token-plan auth status`);两种写法都只对本次调用选择 Profile,不修改 `active_config`。命令专属参数和凭证域参数仍须放在命令路径之后。
1316
- **决策模型推理** —— 新增 `bl decision`,通过工作空间专属 Endpoint 调用 TypeSafe System One,支持 `choice` / `noul` / `score` 校验、JSON 与文本输出、复用训练样本、北京/新加坡地域路由及 dry-run 预览。
1417

1518
### 变更
1619

1720
- **决策数据集校验** —— 与最新 API 对齐:`state` 可为字符串、对象或数组,`instructions` 改为可选,并按接口限制校验各类问题的 criteria。
21+
- **更严格的参数校验** —— 只接受命令已定义的参数。未知参数、缺少参数值或参数值非法时,即使本次调用原本会显示帮助,也返回用法错误退出码 2,解析错误提示跟随 Profile 语言;不带参数的根命令或命令组仍显示帮助并返回 0。`--timeout` 在命令行和最终生效配置中使用同一套“正有限数”校验规则。
22+
23+
### 修复
24+
25+
- **临时文件上传超时** —— 本地文件上传到临时 OSS 存储时会遵循 `--timeout`,不再固定为 120 秒。
1826

1927
## [2.2.1] - 2026-10-12
2028

@@ -24,10 +32,6 @@
2432

2533
## [2.2.0] - 2026-10-12
2634

27-
### 新增
28-
29-
- **模型压缩完整生命周期** —— 新增 `bl finetune compress templates/create/list/get/watch/logs/cancel/delete`,支持对符合条件的全参调优模型执行量化压缩,并覆盖 dry-run 预览、状态轮询、日志查询和安全删除确认。
30-
3135
### 变更
3236

3337
- **Token Plan 额度窗口** —— `bl usage token-plan` 现在只展示月度额度(使用百分比与重置时间),不再显示此前的 5 小时和 1 周窗口。

‎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.2.1",
3+
"version": "2.2.2",
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.2.1",
3+
"version": "2.2.2",
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.2.1",
3+
"version": "2.2.2",
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.2.1",
3+
"version": "2.2.2",
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.2.1",
3+
"version": "2.2.2",
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.2.1"
4+
version: "2.2.2"
55
requires:
66
bins: ["bl"]
77
description: >-

‎skills/bailian-finetune/SKILL.md‎

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

‎skills/bailian-gen/SKILL.md‎

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

0 commit comments

Comments
 (0)