Skip to content

Commit f999201

Browse files
Merge pull request #288 from modelstudioai/release/2.7.0
chore(release): prepare 2.7.0
2 parents 694c296 + bd7ffaa commit f999201

22 files changed

Lines changed: 84 additions & 32 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,19 @@ 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.0] - 2026-10-29
10+
11+
### Added
12+
13+
- **ParseX parsing**: Add `bl parsex parse submit/result` for document and audio/video parsing, result queries, and Markdown output.
14+
- **ParseX field extraction**: Add `bl parsex extract submit/result` to extract fields with a JSON Schema from documents or existing parsing results, including source citations.
15+
- **Configuration source diagnostics**: Show API key and Base URL sources in `bl config show`, and warn when requests use values from different configuration sources.
16+
17+
### Fixed
18+
19+
- **Workspace API key login**: Fix `bl auth login` rejecting valid workspace API keys on MaaS endpoints.
20+
- **Login validation errors**: Preserve service and network errors during API key validation instead of reporting every failure as an invalid key.
21+
922
## [2.6.2] - 2026-10-28
1023

1124
### Changed

‎CHANGELOG.zh.md‎

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

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

9+
## [2.7.0] - 2026-10-29
10+
11+
### 新增
12+
13+
- **ParseX 解析**:新增 `bl parsex parse submit/result`,支持文档及音视频解析、结果查询和 Markdown 输出。
14+
- **ParseX 字段抽取**:新增 `bl parsex extract submit/result`,支持按 JSON Schema 从文档或已有解析结果中抽取字段,并返回原文引用。
15+
- **配置来源诊断**:`bl config show` 展示 API Key 与 Base URL 的生效来源,请求使用的两者来自不同配置源时给出提示。
16+
17+
### 修复
18+
19+
- **工作空间 API Key 登录**:修复 `bl auth login` 在 MaaS Endpoint 上拒绝有效工作空间 API Key 的问题。
20+
- **登录校验错误**:API Key 校验保留服务端及网络错误,避免将所有失败统一报告为 Key 无效。
21+
922
## [2.6.2] - 2026-10-28
1023

1124
### 变更

‎README.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,10 @@ Knowledge bases accrue running-time charges from creation, even without queries.
139139

140140
Keep the returned IDs and recovery record. Closing the CLI or a later failure does not stop billing; follow the reported cleanup actions to delete unused knowledge bases. See the [Knowledge Studio quick start](packages/kscli/README.md#quick-start) for retrieval and cleanup. The `bailian-knowledge` Skill is available through `bl skill init`.
141141

142+
### RAG audio and video
143+
144+
`bl knowledge doc import --index-id <id> --doc-id <fileId>` imports an existing file into a knowledge base; `doc list --details` shows per-file processing settings. Media support includes parser options, streaming uploads, and media references in search/chunk output. Chat JSON separates the final answer from phases, tools, docs, usage, and raw events; quiet mode emits only the final answer. See the [command guide](docs/knowledge/knowledge-cli-guide.md).
145+
142146
## ParseX
143147

144148
Parse documents or audio/video and extract structured fields through the workspace-scoped ParseX API:
@@ -265,7 +269,3 @@ Memory documentation (Chinese): [capability matrix](https://github.com/modelstud
265269
| Get API Key | https://bailian.console.aliyun.com/cn-beijing/?spm=a2ty07.github&tab=app#/api-key |
266270
| Get Token Plan API Key | https://bailian.console.aliyun.com/cn-beijing?spm=a2ty07.github&tab=plan#/efm/subscription/overview |
267271
| Get AccessKey | https://ram.console.aliyun.com/manage/ak |
268-
269-
### RAG audio and video
270-
271-
`bl knowledge doc import --index-id <id> --doc-id <fileId>` imports an existing file into a knowledge base; `doc list --details` shows per-file processing settings. Media support includes parser options, streaming uploads, and media references in search/chunk output. Chat JSON separates the final answer from phases, tools, docs, usage, and raw events; quiet mode emits only the final answer. See the [command guide](docs/knowledge/knowledge-cli-guide.md).

‎README.zh.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,10 @@ bl knowledge init --workspace-id <workspace-id> --dry-run
138138

139139
保留返回的 ID 和恢复记录。退出 CLI 或后续步骤失败不会停止计费;按返回的清理动作删除不再需要的知识库。检索及清理示例见 [Knowledge Studio 快速开始](packages/kscli/README.zh.md#快速开始)。知识库 Skill `bailian-knowledge` 通过 `bl skill init` 安装。
140140

141+
### RAG 音视频接入
142+
143+
`bl knowledge doc import --index-id <id> --doc-id <fileId>` 将历史文件导入已有库;`doc list --details` 查看文件级处理参数。支持音视频 parser、流式上传,以及检索/切片中的媒体来源展示。问答 JSON 将最终 answer 与 phases/tools/docs/usage/events 分开保存,quiet 仅输出最终回答。参阅 [命令指南](docs/knowledge/knowledge-cli-guide.md)。
144+
141145
## ParseX
142146

143147
通过业务空间专属 ParseX API 解析文档、音视频,并按 Schema 抽取结构化字段:
@@ -264,7 +268,3 @@ Memory 用户文档:[能力矩阵](https://github.com/modelstudioai/cli/blob/m
264268
| 获取 API Key | https://bailian.console.aliyun.com/cn-beijing/?spm=a2ty07.github&tab=app#/api-key |
265269
| 获取 Token Plan API Key | https://bailian.console.aliyun.com/cn-beijing?spm=a2ty07.github&tab=plan#/efm/subscription/overview |
266270
| 获取 AccessKey | https://ram.console.aliyun.com/manage/ak |
267-
268-
### RAG 音视频接入
269-
270-
`bl knowledge doc import --index-id <id> --doc-id <fileId>` 将历史文件导入已有库;`doc list --details` 查看文件级处理参数。支持音视频 parser、流式上传,以及检索/切片中的媒体来源展示。问答 JSON 将最终 answer 与 phases/tools/docs/usage/events 分开保存,quiet 仅输出最终回答。参阅 [命令指南](docs/knowledge/knowledge-cli-guide.md)。

‎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.6.2",
3+
"version": "2.7.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.6.2",
3+
"version": "2.7.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/README.md‎

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,23 @@ Knowledge bases accrue running-time charges from creation, even without queries.
139139

140140
Keep the returned IDs and recovery record. Closing the CLI or a later failure does not stop billing; follow the reported cleanup actions to delete unused knowledge bases. See the [Knowledge Studio quick start](packages/kscli/README.md#quick-start) for retrieval and cleanup. The `bailian-knowledge` Skill is available through `bl skill init`.
141141

142+
### RAG audio and video
143+
144+
`bl knowledge doc import --index-id <id> --doc-id <fileId>` imports an existing file into a knowledge base; `doc list --details` shows per-file processing settings. Media support includes parser options, streaming uploads, and media references in search/chunk output. Chat JSON separates the final answer from phases, tools, docs, usage, and raw events; quiet mode emits only the final answer. See the [command guide](docs/knowledge/knowledge-cli-guide.md).
145+
146+
## ParseX
147+
148+
Parse documents or audio/video and extract structured fields through the workspace-scoped ParseX API:
149+
150+
```bash
151+
bl parsex parse submit --workspace-id <workspace-id> --file-url "https://example.com/document.pdf" --file-name document.pdf --output-file-format markdown --output json
152+
bl parsex parse result --workspace-id <workspace-id> --biz-id <parse-biz-id> --follow --output json
153+
bl parsex extract submit --workspace-id <workspace-id> --parsed-file-biz-id <parse-biz-id> --schema-file schema.json --output json
154+
bl parsex extract result --workspace-id <workspace-id> --biz-id <extract-biz-id> --follow --output json
155+
```
156+
157+
Use an ordinary API key and a workspace with ParseX access. Submission returns `data.biz_id` immediately; `result --follow` waits for completion. `schema.json` contains a JSON Schema object, for example `{"type":"object","properties":{"title":{"type":"string"}}}`. Inputs are accessible HTTP(S) URLs; extraction also accepts a retained document parsing task. See the [ParseX command guide](docs/parsex.md) for processing options, result slices, OSS credentials, dry-run and polling behavior.
158+
142159
## Batch Inference
143160

144161
```bash
@@ -252,7 +269,3 @@ Memory documentation (Chinese): [capability matrix](https://github.com/modelstud
252269
| Get API Key | https://bailian.console.aliyun.com/cn-beijing/?spm=a2ty07.github&tab=app#/api-key |
253270
| Get Token Plan API Key | https://bailian.console.aliyun.com/cn-beijing?spm=a2ty07.github&tab=plan#/efm/subscription/overview |
254271
| Get AccessKey | https://ram.console.aliyun.com/manage/ak |
255-
256-
### RAG audio and video
257-
258-
`bl knowledge doc import --index-id <id> --doc-id <fileId>` imports an existing file into a knowledge base; `doc list --details` shows per-file processing settings. Media support includes parser options, streaming uploads, and media references in search/chunk output. Chat JSON separates the final answer from phases, tools, docs, usage, and raw events; quiet mode emits only the final answer. See the [command guide](docs/knowledge/knowledge-cli-guide.md).

‎packages/cli/README.zh.md‎

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,23 @@ bl knowledge init --workspace-id <workspace-id> --dry-run
138138

139139
保留返回的 ID 和恢复记录。退出 CLI 或后续步骤失败不会停止计费;按返回的清理动作删除不再需要的知识库。检索及清理示例见 [Knowledge Studio 快速开始](packages/kscli/README.zh.md#快速开始)。知识库 Skill `bailian-knowledge` 通过 `bl skill init` 安装。
140140

141+
### RAG 音视频接入
142+
143+
`bl knowledge doc import --index-id <id> --doc-id <fileId>` 将历史文件导入已有库;`doc list --details` 查看文件级处理参数。支持音视频 parser、流式上传,以及检索/切片中的媒体来源展示。问答 JSON 将最终 answer 与 phases/tools/docs/usage/events 分开保存,quiet 仅输出最终回答。参阅 [命令指南](docs/knowledge/knowledge-cli-guide.md)。
144+
145+
## ParseX
146+
147+
通过业务空间专属 ParseX API 解析文档、音视频,并按 Schema 抽取结构化字段:
148+
149+
```bash
150+
bl parsex parse submit --workspace-id <workspace-id> --file-url "https://example.com/document.pdf" --file-name document.pdf --output-file-format markdown --output json
151+
bl parsex parse result --workspace-id <workspace-id> --biz-id <parse-biz-id> --follow --output json
152+
bl parsex extract submit --workspace-id <workspace-id> --parsed-file-biz-id <parse-biz-id> --schema-file schema.json --output json
153+
bl parsex extract result --workspace-id <workspace-id> --biz-id <extract-biz-id> --follow --output json
154+
```
155+
156+
需要普通 API Key 和已获 ParseX 访问权限的业务空间。提交立即返回 `data.biz_id`,`result --follow` 等待完成。`schema.json` 为 JSON Schema 对象,例如 `{"type":"object","properties":{"title":{"type":"string"}}}`。输入使用可访问的 HTTP(S) URL;抽取还可复用保留期内的文档解析任务。处理配置、结果分片、OSS 凭证、dry-run 和轮询约定见 [ParseX 命令指南](docs/parsex.md)。
157+
141158
## 批量推理
142159

143160
```bash
@@ -251,7 +268,3 @@ Memory 用户文档:[能力矩阵](https://github.com/modelstudioai/cli/blob/m
251268
| 获取 API Key | https://bailian.console.aliyun.com/cn-beijing/?spm=a2ty07.github&tab=app#/api-key |
252269
| 获取 Token Plan API Key | https://bailian.console.aliyun.com/cn-beijing?spm=a2ty07.github&tab=plan#/efm/subscription/overview |
253270
| 获取 AccessKey | https://ram.console.aliyun.com/manage/ak |
254-
255-
### RAG 音视频接入
256-
257-
`bl knowledge doc import --index-id <id> --doc-id <fileId>` 将历史文件导入已有库;`doc list --details` 查看文件级处理参数。支持音视频 parser、流式上传,以及检索/切片中的媒体来源展示。问答 JSON 将最终 answer 与 phases/tools/docs/usage/events 分开保存,quiet 仅输出最终回答。参阅 [命令指南](docs/knowledge/knowledge-cli-guide.md)。

‎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.6.2",
3+
"version": "2.7.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.6.2",
3+
"version": "2.7.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": {

0 commit comments

Comments
 (0)