Skip to content

Commit 1851ec8

Browse files
committed
feat: sync readme
1 parent 0797b07 commit 1851ec8

4 files changed

Lines changed: 35 additions & 8 deletions

File tree

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,13 @@ bl workspace list # List all workspaces
129129
bl quota list # View RPM/TPM limits (add --model to filter)
130130
bl quota check # Current usage vs rate limits (add --model/--period)
131131
bl quota request --model qwen3.6-plus --tpm 6000000 # Request a temporary TPM increase
132+
bl quota history # View quota-change history
133+
134+
# Token Plan team management (requires AK/SK, see auth below)
135+
bl token-plan list-seats # View subscription seat details
136+
bl token-plan add-member --account-name dev --org-id org_xxx
137+
bl token-plan assign-seats --workspace-id ws_xxx --seat-type standard --account-id acc_xxx
138+
bl token-plan create-key --account-id acc_xxx --workspace-id ws_xxx
132139
```
133140

134141
> More examples and scenarios: [Aliyun Model Studio CLI Site](https://bailian.console.aliyun.com/cli?source_channel=cli_github&)
@@ -158,9 +165,9 @@ Required for console capability commands (`app list`, `usage free`, `usage stats
158165
bl auth login --console
159166
```
160167

161-
### Alibaba Cloud AK/SK (Knowledge Base only)
168+
### Alibaba Cloud AK/SK (Knowledge Base & Token Plan)
162169

163-
Required for `knowledge retrieve`. Get your AccessKey from [RAM Console](https://ram.console.aliyun.com/manage/ak).
170+
Required for `knowledge retrieve` and the `token-plan` command group. Get your AccessKey from [RAM Console](https://ram.console.aliyun.com/manage/ak).
164171

165172
> Recommended: create a RAM sub-account with minimum privileges instead of using the root account's AK/SK.
166173

README.zh.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,10 @@ npx skills add modelstudioai/cli --all -g
8383
## 快速开始
8484

8585
```bash
86-
# 认证
86+
# 认证(推荐浏览器登录)
87+
bl auth login --console
88+
89+
# 或使用 API key 认证
8790
bl auth login --api-key sk-xxxxx
8891

8992
# 和通义千问对话
@@ -124,6 +127,13 @@ bl workspace list # 列出所有业务空间
124127
bl quota list # 查看 RPM/TPM 限额(加 --model 过滤)
125128
bl quota check # 当前用量 vs 限流阈值(加 --model/--period)
126129
bl quota request --model qwen3.6-plus --tpm 6000000 # 申请临时 TPM 提额
130+
bl quota history # 查看提额历史记录
131+
132+
# Token Plan 团队版管理(需 AK/SK,见下方认证说明)
133+
bl token-plan list-seats # 查看订阅席位明细
134+
bl token-plan add-member --account-name dev --org-id org_xxx
135+
bl token-plan assign-seats --workspace-id ws_xxx --seat-type standard --account-id acc_xxx
136+
bl token-plan create-key --account-id acc_xxx --workspace-id ws_xxx
127137
```
128138

129139
> 更多案例与使用场景:[阿里云百炼 CLI 官方主页](https://bailian.console.aliyun.com/cli?source_channel=cli_github&)
@@ -153,9 +163,9 @@ bl text chat --api-key sk-xxxxx --message "你好"
153163
bl auth login --console
154164
```
155165

156-
### 阿里云 AK/SK(仅知识库检索
166+
### 阿里云 AK/SK(知识库检索与 Token Plan
157167

158-
`knowledge retrieve` 命令需要阿里云 AccessKey。前往 [RAM 控制台](https://ram.console.aliyun.com/manage/ak) 获取。
168+
`knowledge retrieve` `token-plan` 命令组需要阿里云 AccessKey。前往 [RAM 控制台](https://ram.console.aliyun.com/manage/ak) 获取。
159169

160170
> 建议:创建 RAM 子账号并授予最小权限,避免使用主账号 AK/SK。
161171

packages/cli/README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,13 @@ bl workspace list # List all workspaces
129129
bl quota list # View RPM/TPM limits (add --model to filter)
130130
bl quota check # Current usage vs rate limits (add --model/--period)
131131
bl quota request --model qwen3.6-plus --tpm 6000000 # Request a temporary TPM increase
132+
bl quota history # View quota-change history
133+
134+
# Token Plan team management (requires AK/SK, see auth below)
135+
bl token-plan list-seats # View subscription seat details
136+
bl token-plan add-member --account-name dev --org-id org_xxx
137+
bl token-plan assign-seats --workspace-id ws_xxx --seat-type standard --account-id acc_xxx
138+
bl token-plan create-key --account-id acc_xxx --workspace-id ws_xxx
132139
```
133140

134141
> More examples and scenarios: [Aliyun Model Studio CLI Site](https://bailian.console.aliyun.com/cli?source_channel=cli_github&)
@@ -158,9 +165,9 @@ Required for console capability commands (`app list`, `usage free`, `usage stats
158165
bl auth login --console
159166
```
160167

161-
### Alibaba Cloud AK/SK (Knowledge Base only)
168+
### Alibaba Cloud AK/SK (Knowledge Base & Token Plan)
162169

163-
Required for `knowledge retrieve`. Get your AccessKey from [RAM Console](https://ram.console.aliyun.com/manage/ak).
170+
Required for `knowledge retrieve` and the `token-plan` command group. Get your AccessKey from [RAM Console](https://ram.console.aliyun.com/manage/ak).
164171

165172
> Recommended: create a RAM sub-account with minimum privileges instead of using the root account's AK/SK.
166173

packages/cli/README.zh.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,10 @@ npx skills add modelstudioai/cli --all -g
8383
## 快速开始
8484

8585
```bash
86-
# 认证
86+
# 认证(推荐浏览器登录)
87+
bl auth login --console
88+
89+
# 或使用 API key 认证
8790
bl auth login --api-key sk-xxxxx
8891

8992
# 和通义千问对话

0 commit comments

Comments
 (0)