logbrew-cli 0.1.17 → 0.1.19

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
@@ -43,7 +43,7 @@ installers are wrappers around those native release artifacts.
43
43
  Release publishing is handled by GitHub Actions:
44
44
 
45
45
  - GitHub Releases: native archives for Linux x64/ARM64, macOS x64/ARM64, and
46
- Windows x64 on Blacksmith runners.
46
+ Windows x64 on GitHub-hosted runners.
47
47
  - Installers: shell, PowerShell, npm package, Homebrew formula, and Windows MSI.
48
48
  - Package managers: crates.io and npm via trusted publishing/OIDC, and Homebrew
49
49
  via the `LogBrewCo/homebrew-tap` formula repository.
@@ -76,6 +76,7 @@ release/tag collisions.
76
76
  logbrew examples
77
77
  logbrew status
78
78
  logbrew login
79
+ logbrew logout
79
80
  logbrew logs --release checkout@1 --environment production
80
81
  logbrew issues open --json
81
82
  logbrew explain issue issue_123
@@ -89,8 +90,15 @@ agent JSON workflow guide.
89
90
  The default API URL is `https://api.logbrew.co`. Override it with
90
91
  `LOGBREW_API_URL` when testing against another LogBrew API.
91
92
 
92
- Authentication uses either `LOGBREW_TOKEN` or the local token file created by
93
- `logbrew login`. CLI output must never print token material.
93
+ Authentication uses either `LOGBREW_TOKEN` or the secured local access/refresh
94
+ pair created by `logbrew login`. Interactive login opens GitHub, receives the
95
+ result on a loopback-only callback, and stores the pair under `~/.logbrew`.
96
+ Authenticated commands rotate local credentials once after an expired-token
97
+ response; environment tokens are never persisted or refreshed. `--json` and
98
+ `--no-open` remain non-mutating handoff modes. CLI output never prints token
99
+ material. `logbrew logout` attempts to revoke the stored refresh-backed server
100
+ session and always removes local credentials; `LOGBREW_TOKEN` must be unset
101
+ separately.
94
102
 
95
103
  For AI sessions, the default mode should be checking only when requested because
96
104
  it uses fewer AI tokens. `logbrew watch --json` opens a live WebSocket stream for
@@ -19,7 +19,7 @@
19
19
  "hasInstallScript": true,
20
20
  "license": "MIT",
21
21
  "name": "logbrew-cli",
22
- "version": "0.1.17"
22
+ "version": "0.1.19"
23
23
  },
24
24
  "node_modules/detect-libc": {
25
25
  "engines": {
@@ -48,5 +48,5 @@
48
48
  }
49
49
  },
50
50
  "requires": true,
51
- "version": "0.1.17"
51
+ "version": "0.1.19"
52
52
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "artifactDownloadUrls": [
3
- "https://github.com/LogBrewCo/cli/releases/download/v0.1.17"
3
+ "https://github.com/LogBrewCo/cli/releases/download/v0.1.19"
4
4
  ],
5
5
  "author": "LogBrewCo",
6
6
  "bin": {
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "glibcMinimum": {
21
21
  "major": 2,
22
- "series": 39
22
+ "series": 35
23
23
  },
24
24
  "homepage": "https://logbrew.co",
25
25
  "keywords": [
@@ -90,7 +90,7 @@
90
90
  "zipExt": ".tar.xz"
91
91
  }
92
92
  },
93
- "version": "0.1.17",
93
+ "version": "0.1.19",
94
94
  "volta": {
95
95
  "node": "18.14.1",
96
96
  "npm": "9.5.0"