@autohq/cli 0.1.183 → 0.1.185
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/README.md +12 -15
- package/dist/agent-bridge.js +1 -1
- package/dist/index.js +1131 -1034
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -44,26 +44,23 @@ auto tui # interactive dashboard
|
|
|
44
44
|
|
|
45
45
|
Session `auto --help` for the full command tree.
|
|
46
46
|
|
|
47
|
-
## Accounts
|
|
47
|
+
## Accounts
|
|
48
48
|
|
|
49
|
-
Each signed-in account is stored
|
|
50
|
-
|
|
51
|
-
discards the
|
|
49
|
+
Each signed-in account is stored under `~/.auto/accounts/`, keyed by email
|
|
50
|
+
and server; the active one is the `activeAccount` pointer in
|
|
51
|
+
`~/.auto/config.yaml`. Logging in to a second account never discards the
|
|
52
|
+
first.
|
|
52
53
|
|
|
53
54
|
```sh
|
|
54
|
-
auto
|
|
55
|
-
auto
|
|
56
|
-
auto
|
|
57
|
-
auto
|
|
58
|
-
auto
|
|
55
|
+
auto auth login # sign in (device flow) and store the account
|
|
56
|
+
auto auth list # list stored accounts
|
|
57
|
+
auto auth switch # pick the active account interactively
|
|
58
|
+
auto auth switch --user you@example.com # switch without the prompt
|
|
59
|
+
auto auth remove you@example.com # delete a stored account
|
|
59
60
|
```
|
|
60
61
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
`AUTO_PROFILE=<name>` pins a whole shell session to a profile without
|
|
65
|
-
moving the active pointer, so different terminals can act as different
|
|
66
|
-
accounts at the same time.
|
|
62
|
+
When the same email is signed in on more than one server, add
|
|
63
|
+
`--server <url>` to `auth switch` / `auth remove` to disambiguate.
|
|
67
64
|
|
|
68
65
|
## License
|
|
69
66
|
|
package/dist/agent-bridge.js
CHANGED
|
@@ -26571,7 +26571,7 @@ Object.assign(lookup, {
|
|
|
26571
26571
|
// package.json
|
|
26572
26572
|
var package_default = {
|
|
26573
26573
|
name: "@autohq/cli",
|
|
26574
|
-
version: "0.1.
|
|
26574
|
+
version: "0.1.185",
|
|
26575
26575
|
license: "SEE LICENSE IN README.md",
|
|
26576
26576
|
publishConfig: {
|
|
26577
26577
|
access: "public"
|