From 575110e62d86f786ed708cdc0bf73cf4df59c5a9 Mon Sep 17 00:00:00 2001 From: rendianmeng Date: Fri, 7 Aug 2026 15:39:24 +0800 Subject: [PATCH] chore: sync packages/cli README with root for publish Publish check requires root and packages/cli README files to match. Co-authored-by: Cursor --- packages/cli/README.md | 10 +++++++++- packages/cli/README.zh.md | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/packages/cli/README.md b/packages/cli/README.md index bced4e7..63a5dca 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -41,6 +41,7 @@ Equip your AI Agent out-of-the-box with these capabilities, composable across co - **Model recommendation** — Describe your scenario and get best-fit model suggestions; supports scoped search, model comparison, and alternative discovery - **Fine-tuning & deployment** — Upload datasets, create text/audio/image fine-tune jobs (`finetune text|audio|image create`; text covers SFT/LoRA/DPO/CPT), probe job status non-blockingly (`finetune watch`), query per-model training capability (`finetune capability`), and deploy trained models as endpoints (`deploy text|audio|image create`) - **Console capabilities** — Browse the model marketplace (`model list`) and Bailian apps (`app list`), review a unified usage view (`usage summary`), check free-tier quota (`usage free`), view model usage statistics (`usage stats`), manage workspaces (`workspace list`), and manage rate limits (`quota list/request/check/history`) +- **Asset center** — Browse and manage model-generated assets (`asset-center list/get/download`), favorites and recycle bin (`favorite`/`delete`), and storage quota (`stats`/`storage`) - **Local file auto-upload** — Every URL parameter accepts a local path; uploaded to free temp storage with 48-hour validity ## Showcase: One-Sentence Cinematic Video @@ -149,6 +150,13 @@ bl quota check # Current usage vs rate li bl quota request --model qwen3.6-plus --tpm 6000000 # Request a temporary TPM increase bl quota history # View quota-change history +# Asset center — browse, download, and manage model-generated assets (requires console login) +bl asset-center list --type IMAGE +bl asset-center get --include-download-url +bl asset-center download --id +bl asset-center stats +bl asset-center storage + # Token Plan team management (requires AK/SK, see auth below) bl token-plan list-seats # View subscription seat details bl token-plan add-member --account-name dev --org-id org_xxx @@ -186,7 +194,7 @@ bl auth login --config token-plan --api-key sk-sp-xxxxx ### Console Login (OAuth) -Required for console capability commands (`model list`, `app list`, `usage summary/free/stats`, `workspace list`, `quota list/request/check/history`). Opens the Bailian console in your browser to sign in. +Required for console capability commands (`model list`, `app list`, `usage summary/free/stats`, `workspace list`, `quota list/request/check/history`, `asset-center *`). Opens the Bailian console in your browser to sign in. ```bash bl auth login --console diff --git a/packages/cli/README.zh.md b/packages/cli/README.zh.md index d09397c..c8b2916 100644 --- a/packages/cli/README.zh.md +++ b/packages/cli/README.zh.md @@ -41,6 +41,7 @@ _专为 AI Agent 打造,每个命令均可作为结构化工具调用。_ - **模型推荐** — 描述你的场景,智能推荐最适合的模型;支持限定范围搜索、模型对比和替代发现 - **微调与部署** — 上传数据集、创建文本/音频/图像调优任务(`finetune text|audio|image create`;文本涵盖 SFT/LoRA/DPO/CPT)、非阻塞探测任务状态(`finetune watch`)、按模型查训练能力(`finetune capability`),并把训练好的模型部署为推理服务(`deploy text|audio|image create`) - **控制台能力** — 浏览模型市场(`model list`)和百炼应用(`app list`),查看统一用量视图(`usage summary`),查询模型免费额度(`usage free`),查看模型用量统计(`usage stats`),管理业务空间(`workspace list`),管理限流与提额(`quota list/request/check/history`) +- **资产中心** — 管理模型生成资产(`asset-center list/get/download`)、收藏与回收站(`favorite`/`delete`)、容量统计(`stats`/`storage`) - **本地文件自动上传** — 所有 URL 参数同时支持本地路径,免费临时存储 48 小时 ## 示例:一句话生成一部电影短片 @@ -147,6 +148,13 @@ bl quota check # 当前用量 vs 限流 bl quota request --model qwen3.6-plus --tpm 6000000 # 申请临时 TPM 提额 bl quota history # 查看提额历史记录 +# 资产中心 — 浏览、下载与管理模型生成资产(需控制台登录) +bl asset-center list --type IMAGE +bl asset-center get --include-download-url +bl asset-center download --id +bl asset-center stats +bl asset-center storage + # Token Plan 团队版管理(需 AK/SK,见下方认证说明) bl token-plan list-seats # 查看订阅席位明细 bl token-plan add-member --account-name dev --org-id org_xxx @@ -184,7 +192,7 @@ bl auth login --config token-plan --api-key sk-sp-xxxxx ### 控制台登录(OAuth) -控制台能力命令(`model list`、`app list`、`usage summary/free/stats`、`workspace list`、`quota list/request/check/history`)需要使用此登录方式。打开浏览器跳转百炼控制台完成登录。 +控制台能力命令(`model list`、`app list`、`usage summary/free/stats`、`workspace list`、`quota list/request/check/history`、`asset-center *`)需要使用此登录方式。打开浏览器跳转百炼控制台完成登录。 ```bash bl auth login --console