logbrew-cli 0.1.8 → 0.1.9
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 +13 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -39,6 +39,12 @@ Release publishing is handled by GitHub Actions:
|
|
|
39
39
|
- Package managers: crates.io and npm via trusted publishing/OIDC, and Homebrew
|
|
40
40
|
via the `LogBrewCo/homebrew-tap` formula repository.
|
|
41
41
|
|
|
42
|
+
The CLI package surface is intentionally separate from the language and
|
|
43
|
+
framework SDK packages in `LogBrewCo/sdk`. SDK packages such as JavaScript
|
|
44
|
+
framework integrations, Python framework middleware, Swift, .NET, Go, Java,
|
|
45
|
+
Kotlin, Ruby, Rust SDK crates, and Unity packages remain SDK-owned. This repo
|
|
46
|
+
only publishes the `logbrew` CLI binary and its install wrappers.
|
|
47
|
+
|
|
42
48
|
Trusted publishing requires the npm package and crates.io crate to already
|
|
43
49
|
exist, so brand-new package names need one manual first publish before CI release
|
|
44
50
|
tags can publish future versions without long-lived registry tokens. Homebrew
|
|
@@ -63,6 +69,8 @@ logbrew login
|
|
|
63
69
|
logbrew logs --release checkout@1 --environment production
|
|
64
70
|
logbrew issues open --json
|
|
65
71
|
logbrew explain issue issue_123
|
|
72
|
+
logbrew watch --json
|
|
73
|
+
logbrew watch --severity error,critical --json
|
|
66
74
|
```
|
|
67
75
|
|
|
68
76
|
The default API URL is `https://api.logbrew.co`. Override it with
|
|
@@ -71,6 +79,11 @@ The default API URL is `https://api.logbrew.co`. Override it with
|
|
|
71
79
|
Authentication uses either `LOGBREW_TOKEN` or the local token file created by
|
|
72
80
|
`logbrew login`. CLI output must never print token material.
|
|
73
81
|
|
|
82
|
+
For AI sessions, the default mode should be checking only when requested because
|
|
83
|
+
it uses fewer AI tokens. `logbrew watch --json` opens a live WebSocket stream for
|
|
84
|
+
the current session, and `logbrew watch --severity error,critical --json`
|
|
85
|
+
filters live logs/issues client-side to actionable severities.
|
|
86
|
+
|
|
74
87
|
## Development
|
|
75
88
|
|
|
76
89
|
```bash
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"hasInstallScript": true,
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"name": "logbrew-cli",
|
|
22
|
-
"version": "0.1.
|
|
22
|
+
"version": "0.1.9"
|
|
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.
|
|
51
|
+
"version": "0.1.9"
|
|
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.
|
|
3
|
+
"https://github.com/LogBrewCo/cli/releases/download/v0.1.9"
|
|
4
4
|
],
|
|
5
5
|
"author": "LogBrewCo",
|
|
6
6
|
"bin": {
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"zipExt": ".tar.xz"
|
|
91
91
|
}
|
|
92
92
|
},
|
|
93
|
-
"version": "0.1.
|
|
93
|
+
"version": "0.1.9",
|
|
94
94
|
"volta": {
|
|
95
95
|
"node": "18.14.1",
|
|
96
96
|
"npm": "9.5.0"
|