agy-powerline 1.0.0 → 1.0.1
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/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/src/lib/paths.js +3 -3
- package/src/lib/themes.js +11 -10
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.0.1] - 2026-10-11
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- WSL: the install notes and the Windows-Node error now recommend Node.js 20+ installed for your user (for example with nvm) instead of Ubuntu's often too old `/usr/bin/node` (#6)
|
|
13
|
+
- The git widget's uncommitted-changes color no longer looks like the caution color in the `light-paper`, `light-sky`, `light-sunset`, `dark-onyx`, `dark-metro` and `colorblind-light` themes (#7)
|
|
14
|
+
|
|
8
15
|
## [1.0.0] - 2026-10-11
|
|
9
16
|
|
|
10
17
|
First release of **agy-powerline**, a statusline for Google Antigravity's CLI (`agy`).
|
package/package.json
CHANGED
package/src/lib/paths.js
CHANGED
|
@@ -81,9 +81,9 @@ function windowsNodeOnWslMessage(execPath = process.execPath) {
|
|
|
81
81
|
"This Node binary is the Windows build (a /mnt/c/... path).",
|
|
82
82
|
` ${execPath}`,
|
|
83
83
|
"Antigravity on Ubuntu/WSL needs Linux Node, or settings will get a Windows command.",
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
84
|
+
"Install Node.js 20 or newer inside WSL (for example with nvm), then re-run:",
|
|
85
|
+
" npm install -g agy-powerline",
|
|
86
|
+
" agy-powerline init --yes",
|
|
87
87
|
].join("\n");
|
|
88
88
|
}
|
|
89
89
|
|
package/src/lib/themes.js
CHANGED
|
@@ -10,11 +10,12 @@ const { parseColor } = require("./colors");
|
|
|
10
10
|
// Most dark-* and light-* colors come from VS Code's default themes (Dark+
|
|
11
11
|
// and Light+ syntax, git decorations, warning/error and terminal colors);
|
|
12
12
|
// nocturne, onyx, metro and cream take their palettes from community themes
|
|
13
|
-
// (credited below). A few colors are
|
|
14
|
-
//
|
|
13
|
+
// (credited below). A few colors are adjusted where the checks below need
|
|
14
|
+
// it: darkened or lightened for contrast, and gitDirty moved toward orange so
|
|
15
|
+
// a dirty branch never looks like the caution state.
|
|
15
16
|
// Palettes are checked by tests/shared/themes.test.js: pill text and lines
|
|
16
|
-
// text reach WCAG AA (4.5:1),
|
|
17
|
-
//
|
|
17
|
+
// text reach WCAG AA (4.5:1), the ok / caution / danger states are clearly
|
|
18
|
+
// different from each other, and so are gitDirty and caution.
|
|
18
19
|
//
|
|
19
20
|
// Color roles:
|
|
20
21
|
// text pill text track empty dots in lines meters
|
|
@@ -152,7 +153,7 @@ const THEMES = {
|
|
|
152
153
|
thirdParty: "#d19a66",
|
|
153
154
|
context: "#61afef",
|
|
154
155
|
git: "#abb2bf",
|
|
155
|
-
gitDirty: "#
|
|
156
|
+
gitDirty: "#e88a50",
|
|
156
157
|
meta: "#abb2bf",
|
|
157
158
|
caution: "#e5c07b",
|
|
158
159
|
warn: "#e1727b",
|
|
@@ -168,7 +169,7 @@ const THEMES = {
|
|
|
168
169
|
thirdParty: "#ff9e64",
|
|
169
170
|
context: "#7aa2f7",
|
|
170
171
|
git: "#73daca",
|
|
171
|
-
gitDirty: "#
|
|
172
|
+
gitDirty: "#ff8b52",
|
|
172
173
|
meta: "#a9b1d6",
|
|
173
174
|
caution: "#e0af68",
|
|
174
175
|
warn: "#f7768e",
|
|
@@ -183,7 +184,7 @@ const THEMES = {
|
|
|
183
184
|
thirdParty: "#795e26",
|
|
184
185
|
context: "#0451a5",
|
|
185
186
|
git: "#001080",
|
|
186
|
-
gitDirty: "#
|
|
187
|
+
gitDirty: "#b04a00",
|
|
187
188
|
meta: "#3b3b3b",
|
|
188
189
|
caution: "#8d6503",
|
|
189
190
|
warn: "#cd3131",
|
|
@@ -198,7 +199,7 @@ const THEMES = {
|
|
|
198
199
|
thirdParty: "#0070c1",
|
|
199
200
|
context: "#005fb8",
|
|
200
201
|
git: "#001080",
|
|
201
|
-
gitDirty: "#
|
|
202
|
+
gitDirty: "#b04a00",
|
|
202
203
|
meta: "#3b3b3b",
|
|
203
204
|
caution: "#8d6503",
|
|
204
205
|
warn: "#cd3131",
|
|
@@ -213,7 +214,7 @@ const THEMES = {
|
|
|
213
214
|
thirdParty: "#795e26",
|
|
214
215
|
context: "#0451a5",
|
|
215
216
|
git: "#bc05bc",
|
|
216
|
-
gitDirty: "#
|
|
217
|
+
gitDirty: "#b04a00",
|
|
217
218
|
meta: "#616161",
|
|
218
219
|
caution: "#8d6503",
|
|
219
220
|
warn: "#cd3131",
|
|
@@ -268,7 +269,7 @@ const THEMES = {
|
|
|
268
269
|
thirdParty: "#8a5200",
|
|
269
270
|
context: "#2856a8",
|
|
270
271
|
git: "#4e4596",
|
|
271
|
-
gitDirty: "#
|
|
272
|
+
gitDirty: "#a64800",
|
|
272
273
|
meta: "#4b5466",
|
|
273
274
|
caution: "#876900",
|
|
274
275
|
warn: "#87002d",
|