Changelog
Version history of the Bailian CLI
This page records CLI commands, parameters, and behavior changes by version for developers and Agents. To browse by capability, see CLI capabilities.
For issues or ideas, open one on GitHub. See the full record of Bailian CLI feature updates, improvements, and fixes in CHANGELOG.md.
Connector
- New Connector tools: Find workspace connector tools and authorized instances with
bl connector tools --query; usebl connector schemato inspect the selected tool's inputs andbl connector callto run it on the selected instance. See Connector.
Fine-tuning
- New Hyper-parameter provenance:
bl finetune <modality> createoutput addsparameter_sources, reporting for every hyper-parameter whether it came from the user, the parameter schema default or recommended value, a train option default, or the training profile. See Fine-tuning. - New Cost estimate flags:
bl finetune priceadds--batch-sizeand--max-lengthto align the estimate with the planned create request; the result reports thehyper_parametersused for the estimate. See Fine-tuning. - Changed
batch_sizecheck: when the parameter schema declares an integer input,bl finetune text createrejects abatch_sizethat is not a positive power of two. See Fine-tuning. - Changed RL
max_prompt_length:bl finetune rl runrejectsmax_prompt_length >= max_lengthafter merging the YAML spec and--hp;--dry-runruns the same check. See Fine-tuning.
Dataset Management
- Changed Dataset upload caps: fine-tune datasets (text, CPT, decision, TTS) now accept files up to 300 MB (was 200 MB); image and video ZIPs accept up to 1 GB (was 2 GB). Without
--schema, ZIP archives are inspected from their firstdata.jsonlrecord; pass--schema image|videowhen detection fails. Applies tobl dataset uploadandbl dataset validate. See Dataset Management. - Fixed Dataset upload errors:
bl dataset uploadnow reports the rejected file, server code, and rejected count when the server returnsfailed_uploads, and lists the response key layout when no file ID is returned. Oversize errors report the exact file size and cap; unsupported formats name the file. See Dataset Management.
Configuration & Tools
- Changed Workspace hint: when
--workspace-iddoes not match an accessible workspace, the error hint lists the requested ID, the match count, and up to 10 accessible workspace IDs. See Configuration & Tools.
MCP & Skill
- New Add
bl mcp getto view MCP server details; custom servers support create, update, and delete, and official and custom servers support batch activation, andbl mcp tool search/list/callmanage tools through OpenAPI. See MCP & Skill · bl mcp get. - New Add
bl skill searchto search official and workspace private skills, with Agent and install-scope selection; cloud skills support pinned versions, update diff previews, and offline removal. See MCP & Skill · bl skill search. - Changed Change
bl mcp listto use a standard Bailian API Key; results now include local Agent registrations. (breaking change; existing usage may need updates). See MCP & Skill · bl mcp list. - Changed Change
bl skill list/bl skill updateto default to the cloud catalog; existing OSS scripts should usebl skill list --source oss/bl skill update --all. (breaking change; existing usage may need updates). See MCP & Skill · bl skill list. - Changed Change
bl mcp connect/bl skill addto activate required inactive MCP services by default, which may incur charges; use--dry-runto preview, or--and-activate=false/--with-mcp falseto skip. See MCP & Skill · bl mcp connect. - Fixed Fix
bl mcp toolsto read subsequent pages so the full tool list is returned. See MCP & Skill · bl mcp tools.
Fine-tuning
- New Add
bl finetune preset-datasetsto list preset datasets that can be mixed into training for a base model and training type; server fields are preserved and an empty result is a success. See Fine-tuning. - New
bl finetune text createadds--augmentation-typesand--augmentation-ratio(0.0–2.0, both required together); passing them enables data augmentation. See Fine-tuning · bl finetune text create. - New
bl finetune text create--datasets/--validationsacceptoss://entries read in place by the service;--oss-regionsets the region (defaultcn-beijing). See Fine-tuning · bl finetune text create. - Changed
bl finetune train-optionsunknown model (breaking change; existing usage may need updates): a model not in the catalog without dynamic options now exits with usage code 2 instead of returningtraining_options: null. See Fine-tuning. - Changed
bl finetune train-optionsresults addstatusexplaining a nulltraining_options:configured/not_configured/unverified. See Fine-tuning. - Fixed Fix
bl finetune text createto filln_epochs,batch_size, ormax_lengthfrom model defaults when omitted. See Fine-tuning · bl finetune text create.
Configuration & Tools
- New Add
bl auth login --open-apiguidance: without AccessKey credentials, open the console setup page (--no-browserprints the URL) and show the follow-up command;bl auth statuspoints to the same entry. See Configuration & Tools · bl auth login. - Fixed Fix stdout/stderr flushing before exit so piped or redirected output is not truncated for slow readers. See Configuration & Tools · Output and diagnostics.
- Fixed Fix the generated
bl auth login --open-apifollow-up command to keep--console-siteand--config; a slow browser opener is reported as unconfirmed instead of a failure. See Configuration & Tools · bl auth login.
Video Generation & Editing
- New Add
bl video retalkto generate talking-head video from driving audio (fixed modelvideoretalk, Beijing only). Provide--videoand--audio(URL or local path); optional--ref-image/--face-thresholdfor multi-person videos; use--video-extensionwhen the audio is longer than the video. See Video Generation & Editing. - New Add
bl video styleto restyle a video with eight presets (fixed modelvideo-style-transform, Beijing only), selected with--style0–7; input must be a public video URL; optional--fps,--animate-emotion,--min-len,--super-resolution. For prompt-based edits, usebl video edit. See Video Generation & Editing.
Speech Synthesis & Recognition
- Changed Default TTS model is now
qwen-audio-3.1-tts-flash(wascosyvoice-v3-flash). When neitherbl speech synthesizenor Profiledefault_speech_modelspecifies a model, the new default applies; voice IDs remain model-specific, and CosyVoice voices require--model cosyvoice-v3-flash. See Speech Synthesis & Recognition · bl speech synthesize.
Fine-tuning
- New Add the decision-model fine-tuning pipeline:
bl dataset generatesynthesizes labeled decision training samples from aworkload.jsonbusiness config;bl dataset splitsplits a labeled JSONL file into training and evaluation sets;bl finetune decision createsubmits decision-model fine-tuning (LoRA / efficient_sft);bl dataset validatevalidates the decision sample format. See Fine-tuning. - New Add
bl finetune train-optionsto query a model's dynamic training options from the Console, including option definitions, defaults, and supported combinations.training_options: nullmeans the model takes no training options;--training-typedefaults tosft. See Fine-tuning. - New
bl finetune text createnow accepts--modalityand--reasoning-modefor models with dynamic training options. See Fine-tuning. - New Add fine-tune parameter preflight to
bl finetune paramsandbl finetune text create: when a Console session is available, the CLI fills in training-option defaults and rejects invalid values or combinations before submission. Without a Console session, it degrades to a warning and passes the request through to the server.bl finetune paramsJSON output adds aprecheckfield indicating whether the check ran. See Fine-tuning · bl finetune params.
Configuration & Tools
- Fixed Fix symlink download destinations: file downloads now write through a symlink to the real file and keep the link itself, instead of replacing it with a regular file. See Configuration & Tools · General tools.
Speech Synthesis & Recognition
- Fixed Fix
bl speech generatedownload recovery: when audio is generated but saving the file fails, the error includes a download URL so you can re-download without regenerating. See Speech Synthesis & Recognition.
Speech Synthesis & Recognition
- New Add the
bl speech voicecommand group for custom voices:cloneclones a voice from reference audio, andlist/get/update/delete/previewmanage enrolled voices. CosyVoice / Qwen-Audio voices are used withbl speech synthesize, and the subsequent--modelmust match the--target-modelused for cloning; the same applies to Omni voices withbl omni. Realtime models are rejected at create. Omni voices support onlyclone/list/delete. See Speech Synthesis & Recognition. - New Add
bl speech voice designto create a CosyVoice / Qwen-Audio voice from a text description and save a one-shot preview locally; it does not support Omni targets. See Speech Synthesis & Recognition. - New Add
bl speech generateto create podcast and dialogue audio from--text-promptand optional--audioreference audio (@voice1…@voice3). Reference audio supports WAV / MP3 / OGG Opus only; system voices and cloned voice IDs are not accepted. The default Beijing MaaS endpoint requires a Workspace ID. See Speech Synthesis & Recognition.
Text Chat & Omni
- New Add Qwen-MT translation commands:
bl text translatetranslates text with Qwen-MT (qwen-mt-flash/plus/lite), including--termglossary pairs and optional streaming;bl image translatetranslates text in images while preserving layout (defaultqwen-mt-image; optionalqwen-mt-image-2.0); andbl omni translatetranslates documents, images, and audio files withqwen-mt-uni, including glossary and sensitive-term options. Image and file translation support waiting for completion or--async. See Text Chat & Omni.
Configuration & Tools
- New Add the global
--biz-from <source>flag to all commands. Callers (skills, agents, products) can declare their business source for per-source usage statistics (PV/UV). See Configuration & Tools. - Fixed Fix CLI updates via npm:
bl updateand automatic updates now install from the official npm registry, consistent with version detection, so a delayed configured mirror cannot report a successful update when the installed version is unchanged. See Configuration & Tools · bl update.
Deployment
- New Add the
bl deploy routercommand group for postpaid model routing (plan=mr):versionslists available versions, supported strategies, and candidate models;createtakes--name,--route-version,--strategy(EFFECT_FIRST/COST_FIRST), and--candidates, and starts RUNNING immediately;list/getquery routers andgetverifiesplan=mr;updateupdates selected fields of a RUNNING router while preserving unspecified fields, and--candidatesreplaces the entire candidate list;deletepermanently deletes a router after confirmation, and a RUNNING router does not need to be stopped first. See Deployment · bl deploy router create. - New Add
bl deploy capacity auto-renew enable/disableto enable or disable automatic renewal for one prepaid capacity instance with--cycle Dayand--auto-renewal-duration. Both are high-risk billing operations with dry-run preview and instance capability prechecks; 8-hour off-peak instances are not supported. See Deployment · bl deploy capacity auto-renew enable. - New Add 8-hour off-peak capacity:
bl deploy capacity createandbl deploy text create --plan ptusupport--pricing-cycle Hour --duration 8 --auto-renewal false; PTU also requires--service-tier ptu_default. The selling window (UTC+8 22:00–24:00) and model support are validated server-side. Off-peak instances cannot be scaled, renewed, auto-renewed, released, or unsubscribed, and expire automatically. See Deployment · bl deploy capacity create. - Changed Change PTU thinking-output capacity:
bl deploy text create --thinking-output-tpmis no longer rejected locally for PTU; whether a model supports it is validated server-side. See Deployment · bl deploy text create. - Changed Change deployment deletion:
bl deploy deleterecognizes model routers (plan=mr) and allows deleting a RUNNING router without stopping it first. See Deployment · bl deploy delete.
Fine-tuning
- New Add
bl finetune rlcommand group covering the end-to-end reinforcement learning training workflow on Bailian:authorizechecks admission allowlist, service-linked role, and service activation status without auto-creating roles, aborting with bilingual manual authorization guidance when missing;runsubmits training jobs via flags or YAML specs and packages Rollout/Reward function code, executing in a managed OS-sandboxed Python runtime (macOS/Linux only), consuming billable MTU compute;get/list/watch/logs/cancel/deletemanage jobs through the shared fine-tunes backend. See Fine-tuning · bl finetune rl run. - New Add
bl finetune opdcommand group for online pure-model distillation using platform-registered teacher models: supportsauthorize/run/params/get/watch/logs/cancel/delete;runaccepts--dry-runto preview job specs before billing submission;paramsqueries hyperparameters supported by the student base model. See Fine-tuning · bl finetune opd run. - New Add
bl finetune runtime prepare/doctor/cleancommands to manage RL/OPD sandbox runtimes:preparedownloads pinned CPython + dashscope runtimes from a curated multi-source manifest with per-source SHA256 verification;doctorvalidates sandbox isolation and probes host outbound network reachability;cleanreclaims orphan job directories and outdated runtimes. See Fine-tuning · bl finetune runtime prepare. - New Add sandbox network rejection hints: connection-level network denials (
EPERM/EACCES/ENETUNREACH/EHOSTUNREACH) now produce bilingual guidance explaining that the execution environment may block outbound traffic, suggesting to allow network access, switch to a regular terminal, or setHTTPS_PROXY. See Fine-tuning · bl finetune rl run. - Changed Change proxy environment variables: lowercase
http_proxy/https_proxy/no_proxynow serve as fallbacks when uppercase variants are unset; uppercase still takes precedence. See Configuration & Tools.
Configuration & Tools
- Fixed Fix
bl workspace listto return all accessible workspaces instead of only the first page (10) returned by the gateway default. Console workspace resolution used by telemetry, alerting, logging, dataset, file, and deployment commands now also covers workspaces beyond the first page. See Configuration & Tools · bl workspace list.
Monitoring, logs, and alerts
- Changed Change
bl monitor delivery enableandbl log audit/inference enableto no longer create service-linked roles automatically. They now check role status and abort with bilingual guidance pointing to the model observability documentation when missing, avoiding silent cross-service permission grants. See Monitoring, logs, and alerts · bl monitor delivery enable.
Configuration & Tools
- Fixed Fix
--outputto accept onlytextorjson; other values are rejected before command execution. See Configuration & Tools · Output and diagnostics. - Fixed Fix API Key login key validation to respect the configured request timeout instead of aborting at a fixed short deadline.
Usage & Quota
- Fixed Fix
bl usage freeandbl usage freetierdry-run output when targeting all models and the model list has not yet been resolved: the result now indicates the scope is all models and unresolved, instead of being treated as a confirmed model set. See Usage & Quota · Usage statistics.
Flow Agent
- New Command group: adds the
bl flow-agentcommand group to manage agents and workflows through the console gateway. - New Agent management: supports create / get / update / publish / delete / copy / versions;
deleteis a high-risk operation that requires--yes. See Flow Agent · bl flow-agent create. - New Workflow canvas: supports get / save / publish / export;
savereplaces the entire draft with an optimistic lock version, andpublishnormalizes triggers following the console editor logic. See Flow Agent · bl flow-agent workflow get. - New Agent configuration updates read the current draft first, then merge
--model/--instructions/--config-json/--config-file. See Flow Agent. - New
bl flow-agent list --type workflowlists workflows using the console exclusion filter. See Flow Agent · bl flow-agent list. - Deprecated
bl app call/bl app listare deprecated; usebl flow-agent call/bl flow-agent listinstead. These commands will be removed in a future release. See Flow Agent · bl flow-agent call.
Flow Agent
- New Added application control-plane commands to manage Bailian applications through the console gateway.
bl app create/get/update/publish/delete/copy/versionsmanage agents and workflows;deleteis a high-risk operation requiring--yes.bl app workflow get/save/publish/exportmanage the workflow canvas. See Flow Agent. - New Added
bl app list --type workflowto list workflows using the console exclusion filter. See Flow Agent.
Text Chat & Omni
- Changed
bl omnidefault model changed toqwen3.8-omni-flash(wasqwen3.5-omni-plus). See Text Chat & Omni · bl omni.
Usage & Quota
- Fixed Fix free-quota model operations with tighter confirmation gates and error handling; restore operations remain behind the confirmation gate. See Usage & Quota · Usage statistics.
Configuration & Tools
- Fixed Fix API key fallback to preserve explicit
--configprofile configuration and append--confighints for named profiles. See Configuration & Tools · Authentication.
Dataset Management
- New Added
bl dataset groupswith paging and name filtering; addedbl dataset versionto list versions by--dataset-group-idor get a single version by--dataset-id, with optional--include-statusfor status details. See Dataset Management · bl dataset groups.
Configuration & Tools
- New Added
bl file url --file-keyto resolve a Console business file key to a download URL without downloading the file. See Configuration & Tools · General tools. - Fixed Fix Console response handling to correctly parse nested success and failure responses, preserving server error messages, error codes, and request IDs instead of misinterpreting valid workspace lists as empty. See Configuration & Tools.
- Fixed Fix workspace parameter validation to reject explicitly blank
--workspace-idvalues instead of silently falling back to another configured workspace. See Configuration & Tools · Configuration.
Deployment
- New Added
bl deploy instanceswith paging, keyword, and model service ID filtering. See Deployment · bl deploy instances.
Fine-tuning
- Fixed Fix fine-tune job creation to query the authoritative hyper-parameter configuration before upload and only validate user-specified overrides with explicit constraints; on query or validation failure, skip upload and submission, and no longer fill or trim unspecified parameters locally. See Fine-tuning.
Deployment
- Fixed Fix deployment deletion so that an explicit deployment plan takes precedence over residual PTU feature fields; refuse to submit the delete request when the plan type cannot be reliably determined. See Deployment.
Text Chat & Omni
- Fixed Fix
bl text chatto accept--enable-thinking=falsewhile preserving the original behavior of omitting the flag or passing it bare; stop sendingthinking_budgetwhen thinking is disabled. See Text Chat & Omni · bl text chat.
Configuration & Tools
- Fixed Fix model invocation examples to return code samples only for exact model matches, without falling back to other variants in the same family. See Configuration & Tools.
Dataset Management
- Fixed Fix dataset upload help by removing the unsupported
evaluationpurpose example; the default remainsfine-tune. See Dataset Management.
Fine-tuning
- New Added
bl finetune paramsto query the training hyper-parameter configuration of a base model, with--training-type,--param-type, and--mtu-spec-codefilters plus--modality/--reasoning-modedynamic training options. See Fine-tuning · bl finetune params. - New Added
bl finetune metricsto query the training metrics of a fine-tune job, with explicit paging via--page/--page-size. See Fine-tuning · bl finetune metrics.
Web Search
- New
bl search webadds a model search mode (--mode model) and now uses it by default: the model answers through Chat Completions withenable_search.--mode mcpstill calls the DashScope MCP WebSearch service. See Web Search · bl search web.
Text Chat & Omni
- New
bl text chatadds--enable-searchfor built-in web search; it is enabled by default for qwen3.8-max and can be turned off with--enable-search false. See Text Chat & Omni · bl text chat.
Configuration & Tools
- Changed Profiles can declare credentials per search mode (
model/mcp), and the CLI selects the matching profile credential when switching search modes. See Configuration & Tools · Authentication.
Configuration & Tools
Maintenance Improve CLI usage statistics. See Configuration & Tools.
Installation & Authentication
- New Added Linux ARM64 binary packages (glibc) for standalone installation and binary updates. See Installation & Authentication · Install the CLI.
Image Generation & Editing
- Fixed Fixed asynchronous concurrent image generation and editing tasks not preserving all returned images, including tasks with different response formats. See Image Generation & Editing.
Text Chat & Omni
- Fixed Fixed prematurely closed Chat Completions streams being treated as successful; structured output now preserves complete
tool_callsand returnsfinish_reason. See Text Chat & Omni.
Configuration & Tools
- Fixed Prevented pending telemetry requests from delaying CLI exit and preserved queued events when telemetry initialization fails. See Configuration & Tools.
Configuration & Tools
- New The CLI can be invoked through
aliyun bl, with help, examples, recovery hints, and structured commands adapted to that entry point. See Configuration & Tools. - Changed JSON mode returns complete business results; warnings, diagnostics, and errors are written separately to stderr as JSONL. See Configuration & Tools · Output and diagnostics.
- Changed Quiet mode hides only progress and informational messages while preserving complete results, warnings, and errors;
DASHSCOPE_QUIET=1is supported. Scripts that extracted IDs, paths, or answers from quiet output must read JSON fields instead. See Configuration & Tools · Output and diagnostics. - Changed Model recommendations disable thinking;
--no-thinkingremains accepted for compatibility. See Configuration & Tools · General tools. - Changed Interactive login, local UI, Pipeline event streams, and streaming speech output now validate their supported formats: native interactive modes and Pipeline JSONL events use text output, and streaming speech JSON output requires
--out. See Configuration & Tools · Output and diagnostics. - Fixed Avoided duplicate error messages and improved request diagnostics for model recommendations and fine-tuning fee queries. See Configuration & Tools · General tools.
Installation & Authentication
- New Added AK/SK authentication with
BAILIAN_ACCESS_KEY_ID,BAILIAN_ACCESS_KEY_SECRET, and optionalBAILIAN_SECURITY_TOKEN. When a console token is missing or expired, the CLI can obtain one automatically with AK/SK. See Installation & Authentication · Configure authentication. - Changed AK/SK resolution order is command parameters, Bailian environment variables, Bailian configuration, then Alibaba Cloud environment variables. See Installation & Authentication · Configure authentication.
- Fixed Available updates are still shown when cached version results are used. See Installation & Authentication · Install the CLI.
Custom model import
- New Added
bl cmodel base-models/import/get/list/watch/deleteto import custom models from OSS, list supported base models, track import jobs, and query or delete imported models. The import API is currently available in the Beijing region only. See Custom model import · bl cmodel base-models.
Speech Synthesis & Recognition
- Fixed Fixed speech recognition JSON output dropping the complete response and transcription; empty transcriptions still return task information. See Speech Synthesis & Recognition · Speech recognition.
Managed Agent
- Fixed Managed Agent SDK warnings are preserved in quiet and JSON modes. See Managed Agent · Agent.
Image Generation & Editing
- New
bl image generate,bl image edit,bl video generate,bl speech synthesize, andbl speech recognizeadd--model auto, which routes AIGC models automatically through Bailian's self-developed MCP. See Image Generation & Editing · bl image generate.
MCP & Skill
- Changed Replaced the hand-rolled SSE MCP client with the official MCP SDK. See MCP & Skill.
Usage & Quota
- Fixed
bl usage token-plannow displays every quota window returned by the API; JSON output addshasQuotaDatato distinguish missing quota data from a normal result. See Usage & Quota · bl usage token-plan.
ParseX document parsing
- New Added
bl parsex parse submit/resultfor document and media parsing, result queries, and Markdown output. See ParseX document parsing · bl parsex parse submit. - New Added
bl parsex extract submit/resultto extract fields with a JSON Schema from documents or existing parse results, including source citations. See ParseX document parsing · bl parsex extract submit.
Configuration & Tools
- New
bl config shownow shows the effective sources of the API Key and Base URL and warns when they come from different configuration sources. See Configuration & Tools · bl config show. - Fixed Fixed
bl auth loginrejecting valid workspace API keys on MaaS endpoints. See Configuration & Tools · bl auth login. - Fixed API Key validation now preserves service and network errors instead of reporting every failure as an invalid key. See Configuration & Tools · Authentication.
Monitoring, logs, and alerts
- Changed Business results from
bl alert,bl monitor, andbl lognow default to JSON even when the Profile specifies text. Scripts that rely on text output must pass--output textor setDASHSCOPE_OUTPUT=text. See Monitoring, logs, and alerts · Logs. - Fixed Telemetry commands resolve the console identity of the selected workspace automatically and share it across preflight, business requests, asynchronous polling, and follow-up requests. This fixes ineffective
--workspace-idfiltering and incorrect cross-workspace results. See Monitoring, logs, and alerts. - Fixed Audit logs now normalize timestamps, models, request IDs, workspace IDs, and usage fields, fixing missing fields, NaN timestamps, and malformed counts, and reject audit results from a mismatched workspace. See Monitoring, logs, and alerts · Logs.
- Fixed
log audit countandlog inference countuse thetotalCountfrom the corresponding list API, fixing zero counts for non-empty lists. See Monitoring, logs, and alerts · Logs. - Fixed Inference counts preserve multiple-model and multiple-API-key filters by deduplicating and querying single-value combinations. Asynchronous polling is supported, and totals are emitted only after every query succeeds. See Monitoring, logs, and alerts.
- Fixed Dry-run shows the workspace identity resolution plan and actual count request combinations without sending business requests. See Monitoring, logs, and alerts.
Batch inference
- New Added
bl batch convert/create/list/get/cancel/downloadfor CSV-to-JSONL conversion, Chat or Embedding task creation, progress tracking, cancellation, and result/error downloads with optional CSV export. See Batch inference · bl batch convert.
Text Chat & Omni
- New
bl text chat --batchsends one non-streaming request, separate from asynchronous file-based batch tasks, with request timeouts of 60–3600 seconds. See Text Chat & Omni · bl text chat.
Configuration & Tools
- New
bl advisor recommendadds--top,--model,--no-agent,--trace,--think, and--no-thinking. See Configuration & Tools · bl advisor recommend. - Changed Model recommendations upgrade intent analysis, routing, candidate recall, scoring, and ranking. Interactive terminals support Agent clarification and multi-step recommendations while preserving the existing recommendation JSON envelope. See Configuration & Tools · Output and diagnostics.
- Deprecated Removed legacy recommendation library interfaces (breaking change; existing usage may need updates), including
getModels,recallCandidates,recallSemantic, andrankModels. Library consumers must adapt to the new recommendation engine; legacy types are exported asLegacyIntentProfile,LegacyModelProfile, andLegacyRecommendResult. See Configuration & Tools · General tools. - Fixed Temporary file uploads now select the upload service from the active model endpoint, fixing Singapore and Prime video uploads incorrectly using Beijing. Official temporary uploads support only Beijing and Singapore; unsupported regions and Token Plan fail explicitly. See Configuration & Tools · General tools.
- Fixed Fixed fetch/dispatcher incompatibility and proxy initialization on Node.js 26. See Configuration & Tools.
- Fixed Nested business errors are recognized correctly, and non-JSON error bodies and request IDs are preserved instead of treating error responses as successful results. See Configuration & Tools · Output and diagnostics.
Knowledge (formerly RAG)
- New Added
bl knowledge initto upload a sample, create a knowledge base and retrieval service, and verify retrieval, with recovery and resource reuse. See Knowledge (formerly RAG) · bl knowledge init. - New Added
bl knowledge doc syncandbl knowledge doc importfor local directories and existing files. See Knowledge (formerly RAG) · bl knowledge doc sync. - New Added audio/video knowledge bases, parser configuration, streaming uploads, image-only search, and online search filters. See Knowledge (formerly RAG) · Knowledge base management.
- New Added
--introspectfor a machine-readable command schema and thebailian-knowledgeskill; Knowledge Studio CLI provides the corresponding capabilities. See Knowledge (formerly RAG) · Knowledge base management. - Changed Structured knowledge Q&A output separates the final answer, phases, tools, sources, and usage; quiet mode emits only the final answer. See Knowledge (formerly RAG) · Knowledge base management.
- Changed Knowledge-base creation now includes billing notices, resource records, and cleanup guidance. See Knowledge (formerly RAG).
- Fixed Reject blank required inputs in knowledge commands. See Knowledge (formerly RAG) · Knowledge base management.
- Fixed When chunk batch deletion fails, report completed, unconfirmed, and unexecuted batches separately. See Knowledge (formerly RAG).
Installation & Authentication
- New Console login supports
--no-browserto print the login URL manually and--token-stdinto import and validate console credentials from standard input. See Installation & Authentication · Configure authentication. - New Commands can declare the calling Agent, Skill name, and Skill version; undeclared callers are recorded as unknown. See Installation & Authentication.
- Fixed Fixed login completion when the browser callback returns quickly, and report a timeout when no credentials are received. See Installation & Authentication · Configure authentication.
Configuration & Tools
- Fixed Fixed region selection when refreshing console credentials; the refreshed request is validated before credentials are saved. See Configuration & Tools · Authentication.
Memory
- New
bl memory node show: Show the details of a single memory node. See Memory · bl memory node show. - New
bl memory skill export: Export a skill memory node. See Memory · bl memory skill export. - New
bl memory profile list/show/update/delete: List, show, update, and delete profile schemas. See Memory · bl memory profile list. - New
bl memory searchnow supports recall across multiple memory fragment rules (--project-ids) and choosing the pro or lite plan with--plan-version;bl memory addandbl memory updatesupport skill memory metadata;bl memory addsupports profile-only extraction (--extract-mode profile_only). See Memory · bl memory search. - Changed Memory commands now use a workspace-specific endpoint. Provide the workspace ID with
--workspace-id, theBAILIAN_WORKSPACE_IDenvironment variable, or theworkspace_idconfig field. See Memory. - Changed Commands that accept a memory library flag replace
--memory-library-idwith--library-id. See Memory · Memory node management. - Changed
bl memory updateandbl memory deleteno longer accept--user-id; deleting a memory node requires--yes. See Memory · bl memory update. - Changed
bl memory addnow submits an async extraction task and waits up to 120 seconds by default;--wait 0submits without waiting. JSON consumers need to readevent_idandevents; a submission receipt does not mean extraction is complete. See Memory · bl memory add. - Fixed 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. See Memory · bl memory add.
Managed Agent
- New Managed Agent adds Memory Store, memory content, and historical version management, and supports mounting memory into Sessions. See Managed Agent · Agent.
- New Added workspace-level Webhook management: create, update, enable or disable, test, reset the signing secret, and inspect delivery events. See Managed Agent · Webhook.
- New Agent creation supports default Environment and Vault bindings and MCP market servers through
--environment,--vault, and--mcp. See Managed Agent · Agent. - New Session creation, Session runs, and Deployment creation accept repeatable
--environment_variables KEY=VALUE. See Managed Agent · Deployment.
Configuration & Tools
- Fixed Fixed model API requests failing in the binary CLI, including speech and video generation. See Configuration & Tools.
- Fixed Fixed long-running core API requests timing out before the configured
--timeout; added streaming idle protection and release connections when streams end. See Configuration & Tools. - Fixed After console login or when running
bl auth status, clearly indicate when a model API key is missing. See Configuration & Tools · bl auth status.
Installation & Authentication
- Fixed Fixed console login URLs losing query parameters when opening the browser on Windows. See Installation & Authentication · Configure authentication.
Installation & Authentication
- Fixed
bl updatenow 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. See Installation & Authentication · Install the CLI.
Configuration & Tools
- Fixed Requests configured with a timeout longer than 300 seconds are no longer interrupted by the default response-header timeout. See Configuration & Tools.
Configuration & Tools
- New Added Pi support:
bl config agentandbl mcp connect/bl mcp disconnectaccept--agent pi. See Configuration & Tools · bl config agent. - Fixed 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. See Configuration & Tools · Authentication. - Fixed 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. See Configuration & Tools · Configuration.
- Fixed
--timeoutnow sets the transfer timeout when uploading local files to temporary OSS storage. See Configuration & Tools · General tools.
Fine-tuning
- New Added
bl finetune compress templates/create/list/get/watch/logs/cancel/deletefor quantizing supported full-parameter fine-tuned models, including dry-run previews, status polling, logs, and safe delete confirmation. See Fine-tuning · bl finetune compress templates.
Configuration & Tools
- New
bl config agentandbl mcp connect/bl mcp disconnectnow support Pi, writing its native configuration while preserving existing settings. See Configuration & Tools · bl config agent. - New Global flags can precede or follow the command. Both forms select the Profile for that invocation only and do not change
active_config. See Configuration & Tools · Configuration. - Changed Only flags defined for a command are accepted. Unknown flags, missing values, and invalid values return usage exit code 2. See Configuration & Tools · Configuration.
- Fixed Local file uploads to temporary OSS storage honor
--timeoutinstead of a fixed 120-second limit. See Configuration & Tools · General tools.
Decision model
- New Added
bl decisionfor TypeSafe System One requests against workspace-specific endpoints, withchoice/noul/scorevalidation, JSON and text output, training-sample reuse, Beijing/Singapore routing, and dry-run previews. See Decision model · bl decision.
Configuration & Tools
- Fixed
bl config agent --agent hermesnow writes to the location Hermes actually reads:$HERMES_HOME/config.yaml, or the platform-native default (%LOCALAPPDATA%\hermeson Windows,~/.hermeselsewhere). See Configuration & Tools · bl config agent.
Usage & Quota
- Changed
bl usage token-planreports a single monthly quota (usage percentage and reset time) instead of the previous 5-hour and 1-week windows. See Usage & Quota · bl usage token-plan.
Fine-tuning
New 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. See Fine-tuning · bl finetune text create.
Fixed Fixed Skill installation on Windows: legacy path length limits are handled, and installed Skills update in place when running agents keep directories open. See MCP & Skill.
Deployment
- New
bl deploy capacity list: List throughput reservation capacity instances. See Deployment · bl deploy capacity list. - New
bl deploy capacity get: Get a throughput reservation capacity instance. See Deployment · bl deploy capacity get. - New
bl deploy capacity create: Purchase an additional capacity instance for a ModelCode. See Deployment · bl deploy capacity create. - New
bl deploy capacity scale: Scale the absolute capacity of one reservation instance. See Deployment · bl deploy capacity scale. - New
bl deploy capacity renew: Renew a prepaid capacity instance, optionally changing capacity. See Deployment · bl deploy capacity renew. - New
bl deploy capacity delete: Release a capacity instance without deleting its ModelCode. See Deployment · bl deploy capacity delete. - New
bl deploy capacity unsubscribe: Build the Aliyun billing console unsubscribe link for a prepaid capacity instance. See Deployment · bl deploy capacity unsubscribe. - New
bl deploy overflow: Set the overflow strategy for a throughput reservation ModelCode. See Deployment · bl deploy overflow. - New
bl deploy operation get: Query a throughput reservation capacity operation once. See Deployment · bl deploy operation get. - New
bl deploy operation wait: Wait for a capacity operation and refresh confirmed capacity. See Deployment · bl deploy operation wait.
Text Chat & Omni
- New
bl text chatandbl video generateadd--primeto call through a workspace-scoped endpoint in Prime mode, with--workspace-idto specify the workspace. See Text Chat & Omni · bl text chat.
MCP & Skill
- New
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. See MCP & Skill · bl mcp connect. - New
bl mcp disconnect: Remove an MCP registration previously managed by the CLI; registrations changed after connect are left untouched and reported as conflicts. See MCP & Skill · bl mcp disconnect. - New Skill installs and updates extend to WorkBuddy, Trae CLI, and DeepSeek DSH;
bl skill init,bl skill add,bl skill update, andbl skill removesupport--dry-runpreviews. See MCP & Skill.
Security
New 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. See Security · bl agents security overview.
Monitoring, logs, and alerts
New 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. See Monitoring, logs, and alerts · Logs.
Installation & Authentication
Changed 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. See Installation & Authentication · Configure authentication.
Usage & Quota
New Token Plan harness entitlement quota lookup (bl token-plan harness-quota). See Usage & Quota · bl token-plan harness-quota.
Sandbox
New Sandbox instance and template lifecycle commands. See Sandbox.
Speech Synthesis & Recognition
New ASR instant hot words (--vocabulary) and contextual enhancement (--context); speech vocabulary management commands. See Speech Synthesis & Recognition · Speech recognition.
Managed Agent
Changed 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. See Managed Agent · Agent.
Managed Agent
New Managed Agent local directory projects, project version management, and Workbench. See Managed Agent · Project versions.
Managed Agent
New Managed Agent AgentStudio resource operations (Agent, Environment, Skill, Vault, Deployment, Session, File). See Managed Agent · Agent.
Configuration & Tools
New High-risk operations require confirmation — blocked without --yes (exit code 7); --dry-run previews. See Configuration & Tools.
Configuration & Tools
New Profile API key auto-fallback: Profile API keys can now fall back automatically. See Configuration & Tools · Authentication.
Changed Video model: the default video generation model is upgraded to Wan3.0. See Video Generation & Editing.
Managed Agent
New Managed Agent native Deployments; CLI available in Chinese and English. See Managed Agent · Agent.
Knowledge (formerly RAG)
New Knowledge base full-lifecycle management commands. See Knowledge (formerly RAG) · Knowledge base management.
Usage & Quota
New Subscription plan usage views (bl usage token-plan, bl usage coding-plan). See Usage & Quota · bl usage token-plan.
Installation & Authentication
New Node.js-free binary install and version-pinned updates. See Installation & Authentication · Install the CLI.