Skip to content

Commit 588304a

Browse files
committed
chore(release): prepare 2.2.0
1 parent 718c244 commit 588304a

25 files changed

Lines changed: 83 additions & 71 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ 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.2.0] - 2026-10-12
10+
11+
### Changed
12+
13+
- **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.
14+
915
## [2.1.0] - 2026-09-28
1016

1117
### Added

‎CHANGELOG.zh.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66

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

9+
## [2.2.0] - 2026-10-12
10+
11+
### 变更
12+
13+
- **Token Plan 额度窗口** —— `bl usage token-plan` 现在只展示月度额度(使用百分比与重置时间),不再显示此前的 5 小时和 1 周窗口。
14+
915
## [2.1.0] - 2026-09-28
1016

1117
### 新增

‎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.1.0",
3+
"version": "2.2.0",
44
"description": "CLI for Aliyun Model Studio (DashScope) AI Platform.",
55
"keywords": [
66
"agent",

‎packages/commands/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bailian-cli-commands",
3-
"version": "2.1.0",
3+
"version": "2.2.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": {
@@ -26,11 +26,11 @@
2626
"./package.json": "./package.json"
2727
},
2828
"publishConfig": {
29+
"access": "public",
2930
"exports": {
3031
".": "./dist/index.mjs",
3132
"./package.json": "./package.json"
3233
},
33-
"access": "public",
3434
"registry": "https://registry.npmjs.org/"
3535
},
3636
"scripts": {

‎packages/core/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bailian-cli-core",
3-
"version": "2.1.0",
3+
"version": "2.2.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": {
@@ -26,11 +26,11 @@
2626
"./package.json": "./package.json"
2727
},
2828
"publishConfig": {
29+
"access": "public",
2930
"exports": {
3031
".": "./dist/index.mjs",
3132
"./package.json": "./package.json"
3233
},
33-
"access": "public",
3434
"registry": "https://registry.npmjs.org/"
3535
},
3636
"scripts": {

‎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.1.0",
3+
"version": "2.2.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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bailian-cli-runtime",
3-
"version": "2.1.0",
3+
"version": "2.2.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": {
@@ -26,11 +26,11 @@
2626
"./package.json": "./package.json"
2727
},
2828
"publishConfig": {
29+
"access": "public",
2930
"exports": {
3031
".": "./dist/index.mjs",
3132
"./package.json": "./package.json"
3233
},
33-
"access": "public",
3434
"registry": "https://registry.npmjs.org/"
3535
},
3636
"scripts": {

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

‎skills/bailian-cli/reference/config.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Index: [index.md](index.md)
3535
| `--base-url <url>` | string | no | API base URL |
3636
| `--region <region>` | string | no | Model Studio region (e.g. cn-beijing, ap-southeast-1); converted into --base-url. Token Plan only |
3737
| `--api-key <key>` | string | no | API key |
38-
| `--key <encoded>` | string | no | Obfuscated API key from the web console (starts with "o1_"); decoded into --api-key |
38+
| `--key <encoded>` | string | no | Obfuscated API key from the web console (starts with "o1\_"); decoded into --api-key |
3939
| `--model <model>` | string | yes | Default model name |
4040
| `--context-window <tokens>` | number | no | OpenClaw only: model context window in tokens (default: 256000) |
4141
| `--wire-api <chat\|responses>` | string | no | Codex only: wire protocol (default: responses). "chat" only works with legacy Codex <= 0.80.0 |
@@ -88,10 +88,10 @@ bl config list --output json
8888

8989
#### Flags
9090

91-
| Flag | Type | Required | Description |
92-
| ----------------- | ------ | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
93-
| `--key <key>` | string | yes | Config key (language, base_url, output, output_dir, timeout, watermark, api_key, api_key_capabilities, access_token, access_key_id, access_key_secret, security_token, default_*_model, workspace_id) |
94-
| `--value <value>` | string | yes | Value to set |
91+
| Flag | Type | Required | Description |
92+
| ----------------- | ------ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
93+
| `--key <key>` | string | yes | Config key (language, base*url, output, output_dir, timeout, watermark, api_key, api_key_capabilities, access_token, access_key_id, access_key_secret, security_token, default*\*\_model, workspace_id) |
94+
| `--value <value>` | string | yes | Value to set |
9595

9696
#### Examples
9797

‎skills/bailian-cli/reference/index.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
> Regenerate: `pnpm --filter bailian-cli run generate:reference`.
55
66
Command **details** are in sibling `<group>.md` files in this directory.
7-
This index only covers groups owned by this skill. Other `bl` groups live in sibling bailian-* skills.
7+
This index only covers groups owned by this skill. Other `bl` groups live in sibling bailian-\* skills.
88
Use this index for the skill-scoped quick index and global flags.
99

1010
## Quick index
@@ -65,7 +65,7 @@ Use this index for the skill-scoped quick index and global flags.
6565
| `bl knowledge list` | API Key | List knowledge bases in the workspace | [knowledge.md](knowledge.md) |
6666
| `bl knowledge retrieve` | API Key | Retrieve from a Bailian knowledge base (deprecated, use `search` instead) | [knowledge.md](knowledge.md) |
6767
| `bl knowledge search` | API Key | Search a Bailian knowledge base (RAG semantic retrieval) | [knowledge.md](knowledge.md) |
68-
| `bl knowledge service copy` | API Key | Copy a service into a new draft (name gets a copy_ prefix) | [knowledge.md](knowledge.md) |
68+
| `bl knowledge service copy` | API Key | Copy a service into a new draft (name gets a copy\_ prefix) | [knowledge.md](knowledge.md) |
6969
| `bl knowledge service create` | API Key | Create a retrieval / Q&A service (initial status: draft, version: beta) | [knowledge.md](knowledge.md) |
7070
| `bl knowledge service delete` | API Key | Delete a retrieval / Q&A service (soft delete, idempotent) | [knowledge.md](knowledge.md) |
7171
| `bl knowledge service deploy` | API Key | Publish the beta draft of a service as a new version | [knowledge.md](knowledge.md) |
@@ -126,7 +126,7 @@ Use this index for the skill-scoped quick index and global flags.
126126
| `bl quota update` | API Key | Update model rate limits (QPM/TPM) | [quota.md](quota.md) |
127127
| `bl search web` | API Key | Search the web using DashScope MCP WebSearch service | [search.md](search.md) |
128128
| `bl skill add` | No Auth | Install skills from the Bailian skill registry into local agents | [skill.md](skill.md) |
129-
| `bl skill init` | No Auth | Install all bailian-* skills (one-shot bootstrap for new environments) | [skill.md](skill.md) |
129+
| `bl skill init` | No Auth | Install all bailian-\* skills (one-shot bootstrap for new environments) | [skill.md](skill.md) |
130130
| `bl skill list` | No Auth | List registry skills and diff against local installs | [skill.md](skill.md) |
131131
| `bl skill remove` | No Auth | Remove locally installed skills (registry is untouched) | [skill.md](skill.md) |
132132
| `bl skill update` | No Auth | Update installed skills to the latest registry versions | [skill.md](skill.md) |

0 commit comments

Comments
 (0)