Skip to main content

Changelog

Version history of the Bailian CLI

2.5.1 | 2026-10-23

  • Console login supports --no-browser to print the login URL manually and --token-stdin to import and validate console credentials from standard input.
  • Commands can declare the calling Agent, Skill name, and Skill version; undeclared callers are recorded as unknown.
  • Fixed login completion when the browser callback returns quickly, and report a timeout when no credentials are received.
  • Fixed region selection when refreshing console credentials; the refreshed request is validated before credentials are saved.

2.5.0 | 2026-10-20

New Memory management commands:
  • bl memory node show: Show the details of a single memory node
  • bl memory skill export: Export a skill memory node
  • bl memory profile list / show / update / delete: List, show, update, and delete profile schemas
bl memory search now supports recall across multiple memory fragment rules (--project-ids) and choosing the pro or lite plan with --plan-version; bl memory add and bl memory update support skill memory metadata; bl memory add supports profile-only extraction (--extract-mode profile_only). Breaking changes to the Memory commands:
  • Memory commands now use a workspace-specific endpoint. Provide the workspace ID with --workspace-id, the BAILIAN_WORKSPACE_ID environment variable, or the workspace_id config field.
  • Commands that accept a memory library flag replace --memory-library-id with --library-id.
  • bl memory update and bl memory delete no longer accept --user-id; deleting a memory node requires --yes.
  • bl memory add now submits an async extraction task and waits up to 120 seconds by default; --wait 0 submits without waiting. JSON consumers need to read event_id and events; a submission receipt does not mean extraction is complete.
Fixed completion detection in bl memory add: an empty event list or a missing event ID is no longer reported as complete, and partial task failures return a non-zero exit code. For usage, see Memory.

2.4.0 | 2026-10-19

  • Managed Agent adds Memory Store, memory content, and historical version management, and supports mounting memory into Sessions.
  • Added workspace-level Webhook management: create, update, enable or disable, test, reset the signing secret, and inspect delivery events.
  • Agent creation supports default Environment and Vault bindings and MCP market servers through --environment, --vault, and --mcp.
  • Session creation, Session runs, and Deployment creation accept repeatable --environment_variables KEY=VALUE.

2.3.3 | 2026-10-19

  • Fixed model API requests failing in the binary CLI, including speech and video generation.
  • Fixed long-running core API requests timing out before the configured --timeout; added streaming idle protection and release connections when streams end.
  • Fixed console login URLs losing query parameters when opening the browser on Windows.
  • After console login or when running bl auth status, clearly indicate when a model API key is missing.

2.3.2 | 2026-10-16

  • bl update now exits with a non-zero status when an upgrade fails or the latest version cannot be determined, so scripts and agents can detect the failure.

2.3.1 | 2026-10-16

  • Requests configured with a timeout longer than 300 seconds are no longer interrupted by the default response-header timeout.

2.3.0 | 2026-10-14

  • Added Pi support: bl config agent and bl mcp connect / bl mcp disconnect accept --agent pi.
  • Global flags can precede the full command path, for example bl --config token-plan auth status; command-specific and credential flags must follow the path.
  • Help and version queries validate supplied flags. Unknown flags, missing values, and invalid values return usage exit code 2, with parser messages in the configured Profile language.
  • --timeout now sets the transfer timeout when uploading local files to temporary OSS storage.

2.2.2 | 2026-10-14

  • 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, logs, and safe delete confirmation.
  • bl config agent and bl mcp connect / bl mcp disconnect now support Pi, writing its native configuration while preserving existing settings.
  • Global flags can precede or follow the command. Both forms select the Profile for that invocation only and do not change active_config.
  • Added bl decision for TypeSafe System One requests against workspace-specific endpoints, with choice / noul / score validation, JSON and text output, training-sample reuse, Beijing/Singapore routing, and dry-run previews.
  • Only flags defined for a command are accepted. Unknown flags, missing values, and invalid values return usage exit code 2.
  • Local file uploads to temporary OSS storage honor --timeout instead of a fixed 120-second limit.

2.2.1 | 2026-10-12

  • bl config agent --agent hermes now writes to the location Hermes actually reads: $HERMES_HOME/config.yaml, or the platform-native default (%LOCALAPPDATA%\hermes on Windows, ~/.hermes elsewhere).

2.2.0 | 2026-10-12

  • bl usage token-plan reports a single monthly quota (usage percentage and reset time) instead of the previous 5-hour and 1-week windows.

2.1.0 | 2026-09-28

bl finetune text create now accepts advanced parameters for job name, priority, LoRA, evaluation, checkpoint saving, dataset split, and data augmentation; bl finetune get returns expanded job metadata and hyperparameters. Fixed Skill installation on Windows: legacy path length limits are handled, and installed Skills update in place when running agents keep directories open.

2.0.1 | 2026-09-22

New throughput reservation capacity management:
  • bl deploy capacity list: List throughput reservation capacity instances
  • bl deploy capacity get: Get a throughput reservation capacity instance
  • bl deploy capacity create: Purchase an additional capacity instance for a ModelCode
  • bl deploy capacity scale: Scale the absolute capacity of one reservation instance
  • bl deploy capacity renew: Renew a prepaid capacity instance, optionally changing capacity
  • bl deploy capacity delete: Release a capacity instance without deleting its ModelCode
  • bl deploy capacity unsubscribe: Build the Aliyun billing console unsubscribe link for a prepaid capacity instance
  • bl deploy overflow: Set the overflow strategy for a throughput reservation ModelCode
  • bl deploy operation get: Query a throughput reservation capacity operation once
  • bl deploy operation wait: Wait for a capacity operation and refresh confirmed capacity
bl text chat and bl video generate add --prime to call through a workspace-scoped endpoint in Prime mode, with --workspace-id to specify the workspace.

2.0.0 | 2026-09-22

New native MCP registration commands:
  • bl mcp connect: Register a Bailian MCP server in an Agent's native configuration; supports streamable-http and SSE, targets a single Agent or --agent all (Codex, Claude Code, Cursor, Qoder, Qwen Code, Gemini, OpenCode, and more), and never overwrites non-CLI-managed entries
  • bl mcp disconnect: Remove an MCP registration previously managed by the CLI; registrations changed after connect are left untouched and reported as conflicts
Skill installs and updates extend to WorkBuddy, Trae CLI, and DeepSeek DSH; bl skill init, bl skill add, bl skill update, and bl skill remove support --dry-run previews.

1.28.0 | 2026-09-20

New agent security commands: bl agents security overview for a protection overview of the last 24 hours, and bl agents security alerts for the alert list, filterable by risk level, asset type, status, and more.

1.27.0 | 2026-09-18

New bl monitor, bl log, and bl alert command groups for model call volumes, token usage, call logs, and alert configuration; new bl model search to search the model catalog by relevance, and bl model code to get SDK example code.

1.26.0 | 2026-09-17

Simplified authentication: console login is the recommended default and can create a standard API key automatically when needed; API keys are validated before saving, and the CLI selects an available region automatically. Existing standard API keys and Token Plan subscription keys now log in uniformly with bl auth login --api-key.

1.25.0 | 2026-09-14

Token Plan harness entitlement quota lookup (bl token-plan harness-quota).

1.24.0 | 2026-09-11

Sandbox instance and template lifecycle commands.

1.23.0 | 2026-09-10

ASR instant hot words (--vocabulary) and contextual enhancement (--context); speech vocabulary management commands.

1.22.0 | 2026-09-08

Managed Agent project Build / Publish flow changes: project init now scaffolds into the ./managed-agent subdirectory by default, project build no longer asks for confirmation, and Publish still requires explicit confirmation.

1.21.0 | 2026-09-07

Managed Agent local directory projects, project version management, and Workbench.

1.20.0 | 2026-09-03

Managed Agent AgentStudio resource operations (Agent, Environment, Skill, Vault, Deployment, Session, File).

1.19.0 | 2026-09-01

High-risk operations require confirmation — blocked without --yes (exit code 7); --dry-run previews.

1.18.0 | 2026-08-27

Profile API key auto-fallback; default video model upgraded to Wan3.0.

1.17.0 | 2026-08-18

Managed Agent native Deployments; CLI available in Chinese and English.

1.16.0 | 2026-08-17

Knowledge base full-lifecycle management commands.

1.15.0 | 2026-08-14

Subscription plan usage views (bl usage token-plan, bl usage coding-plan).

1.14.0 | 2026-08-04

Node.js-free binary install and version-pinned updates. For issues or ideas, open one on GitHub. See the full record of Bailian CLI feature updates, improvements, and fixes in CHANGELOG.md.