GeezerVison is showing github.com — Merge pull request #352 from modelstudioai/release/2.13.0 · modelstudioai/cli@a62ebcc
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: CHANGELOG.md +6-2Lines changed: 6 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -6,21 +6,25 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and | 6 | 6 |
| 7 | 7 | [中文版](CHANGELOG.zh.md) · [README](README.md) · [Contributing](CONTRIBUTING.md) | 8 | 8 |
| 9 | | -## [2.12.1] - 2026-11-27 | | 9 | +## [2.13.0] - 2026-11-27 | 10 | 10 |
| 11 | 11 | ### Added | 12 | 12 |
| 13 | 13 | - **`bl finetune preset-datasets`**: New command listing the preset datasets that can be mixed into a fine-tuning job for a base model and training type (`--base-model`, `--training-type`, optional `--model-version`). Entries keep the server fields verbatim (`dataset_code`, `dataset_title`, `dataset_desc`); an empty result is a success. | 14 | 14 | - **Mixed training**: `bl finetune text create` accepts `--augmentation-types` (preset dataset codes, sent lowercased) and `--augmentation-ratio` (one ratio per type, `0.0`–`2.0`; the two flags must be given together). Passing types turns on data augmentation. | 15 | 15 | - **OSS-mounted datasets**: `--datasets` / `--validations` of `bl finetune text create` accept `oss://<bucket>/<object key>` entries that the service reads in place, skipping local validation, upload and the sample-count pre-check. `--oss-region` sets the bucket region (default `cn-beijing`) and is sent as given. | | 16 | +- **OpenAPI AccessKey browser guide**: `bl auth login --open-api` without `--access-key-id` / `--access-key-secret` opens the console AccessKey setup page (or prints the URL with `--no-browser`) and shows a paste-ready follow-up command; passing both key flags still validates and saves as before. `bl auth status` points to the same guide when OpenAPI credentials are missing. | 16 | 17 |
| 17 | 18 | ### Changed | 18 | 19 |
| 19 | | -- **`bl finetune train-options` status**: the result carries a `status` that explains a null `training_options`: `configured`, `not_configured` (the model is confirmed in the trainable catalog and has no dynamic options) or `unverified` (no options were returned and the catalog lookup failed). A model id that is not in the catalog now fails with a usage error instead of returning null, and an unrecognized response shape is reported as an error. | | 20 | +- **`bl finetune train-options` unknown model (BREAKING)**: a model id that is not in the trainable catalog and has no dynamic options previously succeeded with `training_options: null`; it now exits with usage exit code `2` and empty stdout. | | 21 | +- **`bl finetune train-options` status**: successful results carry a `status` for a null `training_options`: `configured`, `not_configured` (confirmed in the catalog, no dynamic options), or `unverified` (catalog lookup failed). | 20 | 22 |
| 21 | 23 | ### Fixed | 22 | 24 |
| 23 | 25 | - **Required hyper-parameters**: `bl finetune text create` fills an omitted `n_epochs`, `batch_size` or `max_length` from the model's parameter schema defaults; the create API rejects a job when one of them is missing. | | 26 | +- **Command output flush**: stdout/stderr are fully flushed before process exit, so piped or redirected output is no longer truncated when a reader is slow. | | 27 | +- **OpenAPI guide follow-up**: the paste-ready `bl auth login --open-api ...` command keeps the chosen `--console-site` and `--config`, and a slow system browser opener is reported as unconfirmed instead of as a hard failure. | 24 | 28 |
| 25 | 29 | ## [2.12.0] - 2026-11-25 | 26 | 30 |
| |
Collapse file Copy file name to clipboardExpand all lines: CHANGELOG.zh.md +6-2Lines changed: 6 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| 6 | 6 |
| 7 | 7 | [English](CHANGELOG.md) · [README](README.zh.md) · [参与贡献](CONTRIBUTING.zh.md) | 8 | 8 |
| 9 | | -## [2.12.1] - 2026-11-27 | | 9 | +## [2.13.0] - 2026-11-27 | 10 | 10 |
| 11 | 11 | ### 新增 | 12 | 12 |
| 13 | 13 | - **`bl finetune preset-datasets`**:新增命令,查询指定基础模型与训练类型下可混入训练的预置数据集(`--base-model`、`--training-type`、可选 `--model-version`)。结果原样保留服务端字段(`dataset_code`、`dataset_title`、`dataset_desc`);结果为空属于成功。 | 14 | 14 | - **混合训练**:`bl finetune text create` 新增 `--augmentation-types`(预置数据集编码,按小写下发)与 `--augmentation-ratio`(按位置对应每种数据集的混合倍率,范围 0.0~2.0,两者必须同时提供)。传入 `--augmentation-types` 即开启数据增强。 | 15 | 15 | - **OSS 挂数据集**:`bl finetune text create` 的 `--datasets` / `--validations` 支持 `oss://<bucket>/<object key>` 条目,由服务端原地读取,不做本地校验、不上传,并跳过样本数预检。`--oss-region` 指定 Bucket 所在地域(默认 `cn-beijing`),原样下发。 | | 16 | +- **OpenAPI AccessKey 浏览器引导**:`bl auth login --open-api` 在未提供 `--access-key-id` / `--access-key-secret` 时打开控制台 AccessKey 配置页(或配合 `--no-browser` 只打印地址),并给出可粘贴的后续命令;同时提供两个 key 参数时仍按原逻辑校验并保存。`bl auth status` 在缺少 OpenAPI 凭证时会指向同一引导入口。 | 16 | 17 |
| 17 | 18 | ### 变更 | 18 | 19 |
| 19 | | -- **`bl finetune train-options` 的 status**:结果新增 `status` 字段,说明 `training_options` 为 null 的原因:`configured`(返回了选项)、`not_configured`(模型已在可训练目录中确认存在但没有动态选项)、`unverified`(未返回选项且目录查询失败)。模型 ID 不在目录中时改为报用法错误,不再返回 null;无法识别的响应结构也会报错。 | | 20 | +- **`bl finetune train-options` 未知模型(BREAKING)**:目录中找不到且无动态选项的模型,原先会成功返回 `training_options: null`;现在以用法退出码 `2` 结束,stdout 为空。 | | 21 | +- **`bl finetune train-options` 的 status**:成功结果新增 `status`,说明 `training_options` 为 null 的原因:`configured`、`not_configured`(已在目录中确认、无动态选项)、`unverified`(目录查询失败)。 | 20 | 22 |
| 21 | 23 | ### 修复 | 22 | 24 |
| 23 | 25 | - **必填超参数**:`bl finetune text create` 未指定 `n_epochs`、`batch_size` 或 `max_length` 时,按模型参数配置中的默认值补齐;创建任务接口在缺少这三项时会拒绝任务。 | | 26 | +- **命令输出刷盘**:进程退出前会完整刷完 stdout/stderr,管道或重定向读取较慢时不再截断输出。 | | 27 | +- **OpenAPI 引导后续命令**:粘贴用的 `bl auth login --open-api ...` 会保留所选 `--console-site` 与 `--config`;系统打开浏览器过慢时改为报告未能确认,而不再误报为失败。 | 24 | 28 |
| 25 | 29 | ## [2.12.0] - 2026-11-25 | 26 | 30 |
| |
Collapse file Copy file name to clipboardExpand all lines: packages/bailian-kb-dsh/package.json +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | { | 2 | 2 | "name": "bailian-kb-dsh", | 3 | | - "version": "2.12.1", | | 3 | + "version": "2.13.0", | 4 | 4 | "description": "Bailian knowledge-base tools for DeepSeek Harness: kb_search and kb_chat over the DashScope RAG API, plus the bl CLI management skill.", | 5 | 5 | "keywords": [ | 6 | 6 | "alibaba-cloud", | |
Collapse file Copy file name to clipboardExpand all lines: packages/bailian-memo-dsh/package.json +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | { | 2 | 2 | "name": "bailian-memo-dsh", | 3 | | - "version": "2.12.1", | | 3 | + "version": "2.13.0", | 4 | 4 | "description": "Bailian personal memory for DeepSeek Harness: automatic recall, silent curation, and user-controlled remember/forget.", | 5 | 5 | "keywords": [ | 6 | 6 | "alibaba-cloud", | |
Collapse file Copy file name to clipboardExpand all lines: packages/cli/package.json +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | { | 2 | 2 | "name": "bailian-cli", | 3 | | - "version": "2.12.1", | | 3 | + "version": "2.13.0", | 4 | 4 | "description": "CLI for Aliyun Model Studio (DashScope) AI Platform.", | 5 | 5 | "keywords": [ | 6 | 6 | "agent", | |
Collapse file Copy file name to clipboardExpand all lines: packages/commands/package.json +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | { | 2 | 2 | "name": "bailian-cli-commands", | 3 | | - "version": "2.12.1", | | 3 | + "version": "2.13.0", | 4 | 4 | "description": "Command library for bailian-cli products (knowledge, memory, media, …). See https://www.npmjs.com/package/bailian-cli for usage.", | 5 | 5 | "homepage": "https://bailian.console.aliyun.com/cli", | 6 | 6 | "bugs": { | |
Collapse file Copy file name to clipboardExpand all lines: packages/core/package.json +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | { | 2 | 2 | "name": "bailian-cli-core", | 3 | | - "version": "2.12.1", | | 3 | + "version": "2.13.0", | 4 | 4 | "description": "Core SDK for bailian-cli. See https://www.npmjs.com/package/bailian-cli for usage.", | 5 | 5 | "homepage": "https://bailian.console.aliyun.com/cli", | 6 | 6 | "bugs": { | |
Collapse file Copy file name to clipboardExpand all lines: packages/kscli/package.json +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | { | 2 | 2 | "name": "knowledge-studio-cli", | 3 | | - "version": "2.12.1", | | 3 | + "version": "2.13.0", | 4 | 4 | "description": "Lightweight RAG CLI for Aliyun Model Studio — focused on knowledge-base retrieval.", | 5 | 5 | "keywords": [ | 6 | 6 | "alibaba-cloud", | |
Collapse file Copy file name to clipboardExpand all lines: packages/runtime/package.json +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | { | 2 | 2 | "name": "bailian-cli-runtime", | 3 | | - "version": "2.12.1", | | 3 | + "version": "2.13.0", | 4 | 4 | "description": "Runtime framework for bailian-cli (createCli, registry, args, output, pipeline). See https://www.npmjs.com/package/bailian-cli for usage.", | 5 | 5 | "homepage": "https://bailian.console.aliyun.com/cli", | 6 | 6 | "bugs": { | |
Collapse file Copy file name to clipboardExpand all lines: skills/bailian-cli/SKILL.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | --- | 2 | 2 | name: bailian-cli | 3 | 3 | metadata: | 4 | | - version: "2.12.1" | | 4 | + version: "2.13.0" | 5 | 5 | requires: | 6 | 6 | bins: ["bl"] | 7 | 7 | description: >- | |
|