widefleet-darwin-arm64 0.4.3 → 0.4.13
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 +19 -27
- package/package.json +1 -1
- package/release.json +1 -1
- package/widefleet +0 -0
package/README.md
CHANGED
|
@@ -47,7 +47,8 @@ local URL printed by `pnpm dev`, then stop that server with Ctrl-C before contin
|
|
|
47
47
|
|
|
48
48
|
## Connect and deploy
|
|
49
49
|
|
|
50
|
-
Connect
|
|
50
|
+
Connect and deploy using CLI **0.4.3 or newer** and
|
|
51
|
+
[browser login](https://widefleet.com/docs/reference/cli-configuration):
|
|
51
52
|
|
|
52
53
|
```sh
|
|
53
54
|
widefleet login
|
|
@@ -55,18 +56,19 @@ pnpm check
|
|
|
55
56
|
widefleet deploy
|
|
56
57
|
```
|
|
57
58
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
59
|
+
Open the link printed by `widefleet login`, sign in and approve the device code.
|
|
60
|
+
Keep the command running until it confirms the connection. If a platform address
|
|
61
|
+
is already configured, login opens there. Otherwise, enter your email in the
|
|
62
|
+
browser to find your company's installation or continue in Widefleet Cloud.
|
|
63
|
+
The CLI remembers the selected address for future commands.
|
|
63
64
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
When working with an agent, ask it to start `widefleet login` and share the
|
|
66
|
+
browser link. Approve the login yourself, then let the agent continue. See
|
|
67
|
+
[agent login](https://widefleet.com/docs/reference/authentication#agent-login).
|
|
67
68
|
|
|
68
|
-
Run `widefleet config show` to
|
|
69
|
-
|
|
69
|
+
Run `widefleet config show` to check the saved address. IT can
|
|
70
|
+
[configure company discovery or distribute configuration](https://widefleet.com/docs/self-hosting/company-setup)
|
|
71
|
+
to help employees reach the right installation.
|
|
70
72
|
|
|
71
73
|
For the local demo, run `widefleet login --url http://localhost:25450` and approve
|
|
72
74
|
the code with `admin@example.test`.
|
|
@@ -81,23 +83,13 @@ For ongoing development, follow [app development](https://widefleet.com/docs/gui
|
|
|
81
83
|
|
|
82
84
|
## Headless login
|
|
83
85
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
+
The CLI stores logins in your operating system's credential store. On Linux and
|
|
87
|
+
macOS, CLI 0.4.3 or newer automatically uses a private credential file when that
|
|
88
|
+
store is unavailable and prints its location. Windows uses Credential Manager.
|
|
86
89
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
```
|
|
91
|
-
|
|
92
|
-
This file contains unencrypted access and refresh tokens. Keep it outside the app
|
|
93
|
-
project and shared folders. The CLI restricts its permissions and renews the saved
|
|
94
|
-
session automatically. Use `widefleet logout` with the same setting to revoke the
|
|
95
|
-
refresh token and remove the file. See [CLI authentication](https://widefleet.com/docs/reference/authentication)
|
|
96
|
-
for exact file permissions, token scopes, renewal, logout failures and external credentials.
|
|
97
|
-
|
|
98
|
-
Session files require Unix file permissions and are unavailable on Windows. Use
|
|
99
|
-
Credential Manager for saved logins or `PLATFORM_ACCESS_TOKEN` for noninteractive
|
|
100
|
-
commands. In PowerShell, set a token with `$env:PLATFORM_ACCESS_TOKEN = "TOKEN"`.
|
|
90
|
+
Credential files contain unencrypted tokens; keep them outside app projects and
|
|
91
|
+
shared folders. See [CLI authentication](https://widefleet.com/docs/reference/authentication#headless-login)
|
|
92
|
+
to choose a file location, manage saved logins or use an external access token.
|
|
101
93
|
|
|
102
94
|
## Inspect runtime logs
|
|
103
95
|
|
package/package.json
CHANGED
package/release.json
CHANGED
package/widefleet
CHANGED
|
Binary file
|