widefleet-darwin-arm64 0.4.3 → 0.4.15

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 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 to your company and deploy with CLI 0.3.2 or newer:
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
- If IT has configured your agent or computer, the CLI uses that platform address.
59
- Otherwise, it asks for your work email or company domain and looks up the company's
60
- discovery record. An agent or noninteractive terminal can supply
61
- `widefleet login --email employee@example.com` or
62
- `widefleet login --domain example.com`. These commands also work in PowerShell and Fish.
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
- Approve the device code in your browser. The CLI remembers the platform URL and stores credentials in your
65
- operating system's credential store: Keychain on macOS, Credential Manager on
66
- Windows, and Secret Service on Linux. The store must be available and unlocked.
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 inspect the selected URL. If discovery is not set
69
- up, IT can [configure company discovery or distribute configuration](https://widefleet.com/docs/self-hosting/company-setup).
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
- On Linux and macOS without an available credential store the CLI supports an
85
- explicit session file. Set it before login and keep it set for subsequent commands:
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
- ```sh
88
- export PLATFORM_SESSION_FILE="$HOME/.local/state/widefleet/session.json"
89
- widefleet login
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "widefleet-darwin-arm64",
3
- "version": "0.4.3",
3
+ "version": "0.4.15",
4
4
  "description": "Widefleet CLI with its Worker bundler and app starter",
5
5
  "homepage": "https://widefleet.com",
6
6
  "license": "MIT",
package/release.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "format": 1,
3
- "version": "0.4.3",
3
+ "version": "0.4.15",
4
4
  "esbuild_version": "0.28.2"
5
5
  }
package/widefleet CHANGED
Binary file