@mithran-hq/aegis 0.9.7 → 0.9.8

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.
Files changed (2) hide show
  1. package/README.md +9 -4
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -27,7 +27,7 @@ candidate and `latest` still names the previous accepted build. Install a pinned
27
27
  version when you need a fixed build:
28
28
 
29
29
  ```bash
30
- npm install -g @mithran-hq/aegis@0.9.7
30
+ npm install -g @mithran-hq/aegis@0.9.8
31
31
  ```
32
32
 
33
33
  Check the installed version:
@@ -43,9 +43,14 @@ aegis auth login
43
43
  aegis auth status
44
44
  ```
45
45
 
46
- `aegis auth login` opens the browser for sign-in and always prints the sign-in
47
- URL. Pass `--no-browser` to skip the browser launch and open that URL yourself.
48
- Sign out with `aegis auth logout`.
46
+ `aegis auth login` uses the issuer's RFC 8628 device authorization: it prints
47
+ a one-time code and a verification URL, then waits for approval. In human
48
+ output the code and URL go to stderr and the URL is opened in the browser
49
+ unless `--no-browser` is given; success goes to stdout. Pass `--no-browser` to
50
+ open the URL yourself on any device. With `--json` the command is
51
+ noninteractive: the code event and the signed-in or error result go to stdout,
52
+ and it never opens a browser. An issuer without device sign-in is refused; no
53
+ localhost callback is used. Sign out with `aegis auth logout`.
49
54
 
50
55
  ## Gateway
51
56
 
package/package.json CHANGED
@@ -28,7 +28,7 @@
28
28
  "license": "Apache-2.0",
29
29
  "name": "@mithran-hq/aegis",
30
30
  "optionalDependencies": {
31
- "@mithran-hq/aegis-darwin-arm64": "0.9.7"
31
+ "@mithran-hq/aegis-darwin-arm64": "0.9.8"
32
32
  },
33
33
  "os": [
34
34
  "darwin"
@@ -40,5 +40,5 @@
40
40
  "scripts": {
41
41
  "postinstall": "node aegis.mjs skills install --npm-postinstall"
42
42
  },
43
- "version": "0.9.7"
43
+ "version": "0.9.8"
44
44
  }