@mithran-hq/aegis 0.9.6 → 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 +15 -9
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -15,18 +15,19 @@ the native binary.
15
15
 
16
16
  ## Install
17
17
 
18
- Prerelease builds are published under the npm dist-tag `next`:
18
+ Every accepted release is published to the npm dist-tag `next` and then
19
+ promoted to `latest`. Install the newest accepted build:
19
20
 
20
21
  ```bash
21
- npm install -g @mithran-hq/aegis@next
22
+ npm install -g @mithran-hq/aegis
22
23
  ```
23
24
 
24
- The release flow writes the `next` tag and preserves an existing `latest` tag;
25
- it does not promote `latest`. Install a pinned version when you need a fixed
26
- build:
25
+ During the short window between publication and acceptance, `@next` carries the
26
+ candidate and `latest` still names the previous accepted build. Install a pinned
27
+ version when you need a fixed build:
27
28
 
28
29
  ```bash
29
- npm install -g @mithran-hq/aegis@0.9.6
30
+ npm install -g @mithran-hq/aegis@0.9.8
30
31
  ```
31
32
 
32
33
  Check the installed version:
@@ -42,9 +43,14 @@ aegis auth login
42
43
  aegis auth status
43
44
  ```
44
45
 
45
- `aegis auth login` opens the browser for sign-in and always prints the sign-in
46
- URL. Pass `--no-browser` to skip the browser launch and open that URL yourself.
47
- 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`.
48
54
 
49
55
  ## Gateway
50
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.6"
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.6"
43
+ "version": "0.9.8"
44
44
  }