@withone/cli 1.34.0 → 1.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@withone/cli",
3
- "version": "1.34.0",
3
+ "version": "1.35.0",
4
4
  "description": "CLI for managing One",
5
5
  "type": "module",
6
6
  "files": [
@@ -24,6 +24,15 @@ You have access to the One CLI which lets you interact with 250+ third-party pla
24
24
 
25
25
  If the user wants a separate API key / connections for a specific project (vs. their default), walk them through running `one init` from that project folder and picking the "project" scope — see `references/scoping.md`.
26
26
 
27
+ ## Authentication
28
+
29
+ ```bash
30
+ one login # Browser-based login (opens app.withone.ai)
31
+ one logout # Clear local credentials
32
+ ```
33
+
34
+ `one login` opens the browser for OAuth authentication and automatically creates and stores an API key. If already logged in, the user can choose to log in globally or for the current directory. `one logout` shows current session info and confirms before clearing credentials. For CI/CD or headless environments, use `one init` to paste a key manually.
35
+
27
36
  ## Core Workflow: search -> knowledge -> execute
28
37
 
29
38
  Always follow this sequence when the user wants to do something on a connected platform: