You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e89c331
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -138,6 +138,22 @@ bl auth login --console
138
138
139
139
Use `--console-site international` for the international console.
140
140
141
+
The CLI always prints the login URL. To choose a browser yourself, keep the command running and open the URL on the **same machine**:
142
+
143
+
```bash
144
+
bl auth login --console --no-browser --console-site international
145
+
```
146
+
147
+
If the browser blocks the local callback, check the console site's local-network permission or try Firefox. The PNA compatibility header does not bypass Chrome's local-network permission or Safari's mixed-content restrictions. No callback within 15 minutes is a failure (exit code 5), not a successful login.
148
+
149
+
If you already have a valid console access token, import it via stdin without a browser or local callback server. Specify the token's actual region and site; for example, in a POSIX shell:
Input must be one raw token (up to 64 KiB), not JSON or `Bearer ...`; interactive terminal input is rejected to avoid echoing secrets. Use a protected file or trusted pipe, never put the token in command arguments or shell history, and remove temporary secret files after use. The CLI validates the token before saving; failure leaves existing credentials and the active Profile unchanged. Add `--config <name>` to save and activate a specific Profile on success. This imports only the console session, not a model API key.
156
+
141
157
### API Key
142
158
143
159
To use an existing ordinary API key or a Token Plan subscription key, run the same command:
Copy file name to clipboardExpand all lines: packages/bailian-kb-dsh/package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "bailian-kb-dsh",
3
-
"version": "2.5.0",
3
+
"version": "2.5.1",
4
4
"description": "Bailian knowledge-base tools for DeepSeek Harness: kb_search and kb_chat over the DashScope RAG API, plus the bl CLI management skill.",
Copy file name to clipboardExpand all lines: packages/cli/README.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -138,6 +138,22 @@ bl auth login --console
138
138
139
139
Use `--console-site international` for the international console.
140
140
141
+
The CLI always prints the login URL. To choose a browser yourself, keep the command running and open the URL on the **same machine**:
142
+
143
+
```bash
144
+
bl auth login --console --no-browser --console-site international
145
+
```
146
+
147
+
If the browser blocks the local callback, check the console site's local-network permission or try Firefox. The PNA compatibility header does not bypass Chrome's local-network permission or Safari's mixed-content restrictions. No callback within 15 minutes is a failure (exit code 5), not a successful login.
148
+
149
+
If you already have a valid console access token, import it via stdin without a browser or local callback server. Specify the token's actual region and site; for example, in a POSIX shell:
Input must be one raw token (up to 64 KiB), not JSON or `Bearer ...`; interactive terminal input is rejected to avoid echoing secrets. Use a protected file or trusted pipe, never put the token in command arguments or shell history, and remove temporary secret files after use. The CLI validates the token before saving; failure leaves existing credentials and the active Profile unchanged. Add `--config <name>` to save and activate a specific Profile on success. This imports only the console session, not a model API key.
156
+
141
157
### API Key
142
158
143
159
To use an existing ordinary API key or a Token Plan subscription key, run the same command:
0 commit comments