agy-powerline 1.8.0 → 1.9.0

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 CHANGED
@@ -5,6 +5,37 @@ 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.9.0] - 2026-10-25
9
+
10
+ ### Added
11
+
12
+ - The bar in Spanish with `"language": "es"`, and a Spanish home page at agy-powerline.com/es/ (#149)
13
+ - A language menu with flags in agy-powerline.com's header, and footer links to the home page in every other language (#149)
14
+
15
+ ### Changed
16
+
17
+ - In French, the bar says `Tokens` and `Cache hit` instead of `Jetons` and `Succès cache`, the words French developers use and the French README already uses (#163)
18
+ - agy-powerline.com pages are 25 to 40% lighter: the shared styles are one stylesheet the browser keeps between pages, and the bar demos take their colors from classes instead of a style on every cell
19
+ - On a phone, the themes page draws its bars at a readable 12px and each terminal scrolls inside its card
20
+
21
+ ### Fixed
22
+
23
+ - agy-powerline.com is easier to use with a screen reader or a keyboard: headings in order on every page, tables named and their header cells marked, code blocks and commands that scroll can be reached with the keyboard, and the docs' screenshot keeps its space while it loads
24
+
25
+ ### Security
26
+
27
+ - agy-powerline.com's Content Security Policy lets a page run only the scripts it was built with, named by their hash, instead of any inline script
28
+
29
+ ## [1.8.1] - 2026-10-25
30
+
31
+ ### Changed
32
+
33
+ - Pull requests go to `main`, now the only long-lived branch (`develop` is retired), and agy-powerline.com updates when a release is published
34
+
35
+ ### Fixed
36
+
37
+ - The commands in the home page's Get started steps on agy-powerline.com show their text instead of a blank light box
38
+
8
39
  ## [1.8.0] - 2026-10-25
9
40
 
10
41
  ### Added
package/README.es.md CHANGED
@@ -74,7 +74,7 @@ Para una terminal sin fuentes Nerd Font, activa el modo ASCII (tecla `i` en `con
74
74
 
75
75
  ¿Prefieres el navegador? [Construye tu barra en el navegador](https://agy-powerline.com/configure/) con vistas previas en tiempo real, y luego descárgala o impórtala.
76
76
 
77
- Los cambios se aplican a una sesión en ejecución de `agy` en su siguiente actualización.
77
+ Los cambios se aplican a una sesión en ejecución de `agy` en su siguiente refresco.
78
78
 
79
79
  ### Preajustes
80
80
 
@@ -148,6 +148,16 @@ Previsualízalos todos en la [galería de temas](https://agy-powerline.com/theme
148
148
 
149
149
  </details>
150
150
 
151
+ ### Idioma de la barra
152
+
153
+ Las palabras propias de la barra (`Reinicio`, `rest.`, las unidades de `2h 47m`) pueden mostrarse en español:
154
+
155
+ ```sh
156
+ npx agy-powerline init --language es
157
+ ```
158
+
159
+ o `"language": "es"` en `statusline.config.json` (tecla `u` en `configure`). El nombre del modelo, la rama y todo lo que envía agy quedan tal cual; los comandos y `configure` siguen en inglés. Detalles en la [documentación de configuración](docs/configuration.md#language).
160
+
151
161
  ## Widgets
152
162
 
153
163
  | Widget | Muestra |
@@ -161,7 +171,7 @@ Previsualízalos todos en la [galería de temas](https://agy-powerline.com/theme
161
171
  | `thirdPartyFiveHour`, `thirdPartyWeekly` | Cuotas de modelos de terceros |
162
172
  | `argonWeekly`, `argonReset` | La cuota semanal propia de Gemini 4 Argon (Google AI Pro) y su reinicio |
163
173
  | `context`, `contextPct`, `contextTokens` | Ventana de contexto utilizada: medidor, porcentaje o recuento de tokens |
164
- | `git` | Rama, cambios no confirmados y adelantado/atrasado (ahead/behind) |
174
+ | `git` | Rama, cambios no confirmados y commits por delante o por detrás (ahead/behind) |
165
175
  | `gitChanges`, `gitFiles`, `gitSha`, `gitStash`, `gitWorktree` | Líneas añadidas y eliminadas, archivos preparados/modificados/sin seguimiento/en conflicto, ID de commit, stashes, worktree vinculado |
166
176
  | `project`, `cwd` | Directorio del proyecto, directorio actual |
167
177
  | `agentState`, `plan`, `sandbox`, `artifacts`, `version` | Qué está haciendo el agente, tu plan, sandbox, artefactos, versión de la CLI |
@@ -222,7 +232,7 @@ Todos los detalles: [SECURITY.md](SECURITY.md).
222
232
 
223
233
  ## Contribuir
224
234
 
225
- Las contribuciones son bienvenidas. Comienza con [CONTRIBUTING.md](CONTRIBUTING.md) (configuración, arquitectura, añadir un widget o tema) y el [Código de conducta](CODE_OF_CONDUCT.md). Abre solicitudes de extracción (pull requests) contra `develop`. Informa de errores en los [problemas de GitHub (issues)](https://github.com/wassim-azi/agy-powerline/issues) o comparte ideas y comentarios en [Discusiones](https://github.com/wassim-azi/agy-powerline/discussions).
235
+ Las contribuciones son bienvenidas. Comienza con [CONTRIBUTING.md](CONTRIBUTING.md) (configuración, arquitectura, añadir un widget o tema) y el [Código de conducta](CODE_OF_CONDUCT.md). Abre solicitudes de extracción (pull requests) contra `main`. Informa de errores en los [problemas de GitHub (issues)](https://github.com/wassim-azi/agy-powerline/issues) o comparte ideas y comentarios en [Discusiones](https://github.com/wassim-azi/agy-powerline/discussions).
226
236
 
227
237
  Gracias a todas las personas que han contribuido:
228
238
 
package/README.fr.md CHANGED
@@ -74,7 +74,7 @@ Choisissez un préréglage comme point de départ, puis personnalisez-le :
74
74
  | `agent` | État de l’agent, sous-agents, titre, mode, sandbox ; modèle, contexte %, artefacts, quota le plus proche de sa limite |
75
75
  | `git` | Projet, branche, worktree, stash ; nombre de fichiers, lignes modifiées, commit |
76
76
  | `tokens` | Tokens du contexte, tokens de la session en entrée et en sortie, cache ; tokens du jour et des 7 derniers jours |
77
- | `quotas` | Forfait et modèle ; quotas sur 5h et 7d côte à côte ; modèles tiers et Argon sur une troisième ligne |
77
+ | `quotas` | Offre et modèle ; quotas sur 5h et 7d côte à côte ; modèles tiers et Argon sur une troisième ligne |
78
78
  | `full` | Toutes les informations : session, projet et Git ; contexte, tokens et cache ; les deux quotas |
79
79
 
80
80
  ### Thèmes
@@ -150,7 +150,7 @@ ou `"language": "fr"` dans `statusline.config.json` (touche `u` dans `configure`
150
150
  | Widget | Informations affichées |
151
151
  | ------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
152
152
  | `model` | Modèle utilisé |
153
- | `clock` | Current local time (12/24-hour format set under `clock`) |
153
+ | `clock` | Heure locale (format 12h ou 24h réglé sous `clock`) |
154
154
  | `fiveHourBar`, `weeklyBar` | Quota restant sur 5h/7d sous forme de jauge, avec un [indicateur de rythme](docs/configuration.md#quota-pace-marker) |
155
155
  | `fiveHourPct`, `weeklyPct` | Pourcentage de quota restant sur 5h/7d |
156
156
  | `fiveHourReset`, `weeklyReset` | Temps restant avant la réinitialisation du quota, ou heure de réinitialisation |
@@ -159,39 +159,39 @@ ou `"language": "fr"` dans `statusline.config.json` (touche `u` dans `configure`
159
159
  | `argonWeekly`, `argonReset` | Quota hebdomadaire propre à Gemini 4 Argon (Google AI Pro) et sa réinitialisation |
160
160
  | `context`, `contextPct`, `contextTokens` | Fenêtre de contexte utilisée : jauge, pourcentage ou nombre de tokens |
161
161
  | `git` | Branche, modifications non validées et commits en avance ou en retard |
162
- | `gitChanges`, `gitFiles`, `gitSha`, `gitStash`, `gitWorktree` | Lines added and removed, staged/modified/untracked/conflicted files, commit ID, stashes, linked worktree |
162
+ | `gitChanges`, `gitFiles`, `gitSha`, `gitStash`, `gitWorktree` | Lignes ajoutées et supprimées, fichiers indexés/modifiés/non suivis/en conflit, ID du commit, stashes, worktree lié |
163
163
  | `project`, `cwd` | Dossier du projet et dossier courant |
164
- | `agentState`, `plan`, `sandbox`, `artifacts`, `version` | Activité de l’agent, abonnement Antigravity, bac à sable, artefacts et version de la CLI |
164
+ | `agentState`, `plan`, `sandbox`, `artifacts`, `version` | Activité de l’agent, offre Antigravity, sandbox, artefacts et version de la CLI |
165
165
  | `tasks` | Sous-agents actifs et tâches en arrière-plan |
166
166
  | `mode` | Mode d’approbation (par exemple `accept-edits`) et mode Vim |
167
167
  | `title` | Titre de la conversation |
168
- | `sessionTime` | Time since the active conversation started |
168
+ | `sessionTime` | Temps écoulé depuis le début de la conversation active |
169
169
  | `totalTokens`, `cacheHit`, `cacheRead`, `cacheCreate` | Tokens de la session et utilisation du cache des prompts |
170
170
  | `tokensToday`, `tokensWeek` | Tokens utilisés aujourd’hui et sur les 7 derniers jours, toutes conversations confondues (Node 22.13+) |
171
171
  | `ram` | Mémoire utilisée sur votre machine |
172
- | `os` | System agy runs on: Windows, macOS, Linux or WSL |
173
- | `host` | Current user and short hostname from the OS (`alex@devbox`) |
172
+ | `os` | Système sur lequel agy tourne : Windows, macOS, Linux ou WSL |
173
+ | `host` | Utilisateur courant et nom d’hôte court du système (`alex@devbox`) |
174
174
  | `customText`, `exec` | Texte personnalisé ou résultat d’une [commande shell](docs/configuration.md#shell-command-widget-exec) |
175
175
 
176
176
  Un widget qui n’a rien à afficher se masque automatiquement. Vous pouvez personnaliser sa couleur, masquer son libellé ou définir ses propres seuils d’alerte : consultez la [documentation de configuration](docs/configuration.md).
177
177
 
178
178
  ## Commandes
179
179
 
180
- | Commande | Fonction |
181
- | -------------------------------------------------- | ---------------------------------------------------------------------- |
182
- | `npx agy-powerline init [--yes]` | Installer ou mettre à jour la barre d’état |
183
- | `npx agy-powerline configure` | Ouvrir l’éditeur (alias `config`) |
184
- | `npx agy-powerline preset <name>` | Appliquer un préréglage (`--list` pour afficher la liste) |
185
- | `npx agy-powerline theme <name>` | Changer de thème (`--list`, `--gallery`) |
186
- | `npx agy-powerline gradient <name>` | Color each row with a gradient (`--list`, `off`) |
187
- | `npx agy-powerline layout <pills\|lines\|classic>` | Changer de disposition |
188
- | `npx agy-powerline caps <style>` | Changer la forme des capsules : `round`, `angled`, `slanted`, `flat` |
189
- | `npx agy-powerline export [file]` | Save your config to a file, to back it up or share it |
190
- | `npx agy-powerline import <file>` | Load a config, after showing what changes (`--merge`) |
191
- | `npx agy-powerline doctor` | Vérifier l’installation et expliquer les éventuels problèmes |
192
- | `npx agy-powerline report` | Générer un rapport de bogue respectueux de la vie privée |
193
- | `npx agy-powerline uninstall [--delete]` | Retirer la barre d’état d’agy (`--delete` supprime aussi ses fichiers) |
194
- | `npx agy-powerline render --demo` | Afficher la barre avec des données d’exemple |
180
+ | Commande | Fonction |
181
+ | -------------------------------------------------- | -------------------------------------------------------------------------------- |
182
+ | `npx agy-powerline init [--yes]` | Installer ou mettre à jour la barre d’état |
183
+ | `npx agy-powerline configure` | Ouvrir l’éditeur (alias `config`) |
184
+ | `npx agy-powerline preset <name>` | Appliquer un préréglage (`--list` pour afficher la liste) |
185
+ | `npx agy-powerline theme <name>` | Changer de thème (`--list`, `--gallery`) |
186
+ | `npx agy-powerline gradient <name>` | Colorer chaque ligne avec un dégradé (`--list`, `off`) |
187
+ | `npx agy-powerline layout <pills\|lines\|classic>` | Changer de disposition |
188
+ | `npx agy-powerline caps <style>` | Changer la forme des capsules : `round`, `angled`, `slanted`, `flat` |
189
+ | `npx agy-powerline export [file]` | Enregistrer la configuration dans un fichier, pour la sauvegarder ou la partager |
190
+ | `npx agy-powerline import <file>` | Charger une configuration, après avoir montré ce qui change (`--merge`) |
191
+ | `npx agy-powerline doctor` | Vérifier l’installation et expliquer les éventuels problèmes |
192
+ | `npx agy-powerline report` | Générer un rapport de bogue respectueux de la vie privée |
193
+ | `npx agy-powerline uninstall [--delete]` | Retirer la barre d’état d’agy (`--delete` supprime aussi ses fichiers) |
194
+ | `npx agy-powerline render --demo` | Afficher la barre avec des données d’exemple |
195
195
 
196
196
  Utilisez l’option `--help` avec n’importe quelle commande pour afficher les options disponibles.
197
197
 
@@ -219,7 +219,7 @@ Pour plus de détails, consultez [SECURITY.md](SECURITY.md).
219
219
 
220
220
  ## Contribution
221
221
 
222
- Les contributions sont les bienvenues. Commencez par lire [CONTRIBUTING.md](CONTRIBUTING.md) (installation de l’environnement de développement, architecture, ajout d’un widget ou d’un thème) et le [Code de conduite](CODE_OF_CONDUCT.md). Ouvrez vos pull requests vers la branche `develop`. Signalez les bogues dans les [issues GitHub](https://github.com/wassim-azi/agy-powerline/issues) ou partagez vos idées et commentaires dans les [discussions](https://github.com/wassim-azi/agy-powerline/discussions).
222
+ Les contributions sont les bienvenues. Commencez par lire [CONTRIBUTING.md](CONTRIBUTING.md) (installation de l’environnement de développement, architecture, ajout d’un widget ou d’un thème) et le [Code de conduite](CODE_OF_CONDUCT.md). Ouvrez vos pull requests vers la branche `main`. Signalez les bogues dans les [issues GitHub](https://github.com/wassim-azi/agy-powerline/issues) ou partagez vos idées et commentaires dans les [discussions](https://github.com/wassim-azi/agy-powerline/discussions).
223
223
 
224
224
  Merci à toutes les personnes ayant contribué au projet :
225
225
 
package/README.ja.md CHANGED
@@ -209,7 +209,7 @@ npx agy-powerline doctor # すべてが最新か確認
209
209
 
210
210
  ## コントリビュート
211
211
 
212
- コントリビュートを歓迎します。まず [CONTRIBUTING.md](CONTRIBUTING.md)(セットアップ、アーキテクチャ、ウィジェットやテーマの追加)と [Code of Conduct](CODE_OF_CONDUCT.md) をお読みください。プルリクエストは `develop` に向けて作成してください。バグは [GitHub issues](https://github.com/wassim-azi/agy-powerline/issues) で報告し、アイデアやフィードバックは [Discussions](https://github.com/wassim-azi/agy-powerline/discussions) で共有してください。
212
+ コントリビュートを歓迎します。まず [CONTRIBUTING.md](CONTRIBUTING.md)(セットアップ、アーキテクチャ、ウィジェットやテーマの追加)と [Code of Conduct](CODE_OF_CONDUCT.md) をお読みください。プルリクエストは `main` に向けて作成してください。バグは [GitHub issues](https://github.com/wassim-azi/agy-powerline/issues) で報告し、アイデアやフィードバックは [Discussions](https://github.com/wassim-azi/agy-powerline/discussions) で共有してください。
213
213
 
214
214
  コントリビューターの皆さんに感謝します:
215
215
 
package/README.ko.md CHANGED
@@ -222,7 +222,7 @@ npx agy-powerline doctor # 모든 것이 최신인지 확인
222
222
 
223
223
  ## 기여
224
224
 
225
- 기여를 환영합니다. [CONTRIBUTING.md](CONTRIBUTING.md)(설정, 아키텍처, 위젯/테마 추가)와 [Code of Conduct](CODE_OF_CONDUCT.md)부터 읽어보세요. 풀 리퀘스트는 `develop` 브랜치로 보내주세요. 버그는 [GitHub issues](https://github.com/wassim-azi/agy-powerline/issues)에, 아이디어와 피드백은 [Discussions](https://github.com/wassim-azi/agy-powerline/discussions)에 남겨주세요.
225
+ 기여를 환영합니다. [CONTRIBUTING.md](CONTRIBUTING.md)(설정, 아키텍처, 위젯/테마 추가)와 [Code of Conduct](CODE_OF_CONDUCT.md)부터 읽어보세요. 풀 리퀘스트는 `main` 브랜치로 보내주세요. 버그는 [GitHub issues](https://github.com/wassim-azi/agy-powerline/issues)에, 아이디어와 피드백은 [Discussions](https://github.com/wassim-azi/agy-powerline/discussions)에 남겨주세요.
226
226
 
227
227
  기여해 주신 모든 분들께 감사드립니다:
228
228
 
package/README.md CHANGED
@@ -220,7 +220,7 @@ Full details: [SECURITY.md](SECURITY.md).
220
220
 
221
221
  ## Contributing
222
222
 
223
- Contributions are welcome. Start with [CONTRIBUTING.md](CONTRIBUTING.md) (setup, architecture, adding a widget or theme) and the [Code of Conduct](CODE_OF_CONDUCT.md). Open pull requests against `develop`. Report bugs in [GitHub issues](https://github.com/wassim-azi/agy-powerline/issues) or share ideas and feedback in [Discussions](https://github.com/wassim-azi/agy-powerline/discussions).
223
+ Contributions are welcome. Start with [CONTRIBUTING.md](CONTRIBUTING.md) (setup, architecture, adding a widget or theme) and the [Code of Conduct](CODE_OF_CONDUCT.md). Open pull requests against `main`. Report bugs in [GitHub issues](https://github.com/wassim-azi/agy-powerline/issues) or share ideas and feedback in [Discussions](https://github.com/wassim-azi/agy-powerline/discussions).
224
224
 
225
225
  Thanks to everyone who has contributed:
226
226
 
package/README.zh-CN.md CHANGED
@@ -209,7 +209,7 @@ npx agy-powerline doctor # 检查一切是否为最新
209
209
 
210
210
  ## 参与贡献
211
211
 
212
- 欢迎贡献。请先阅读 [CONTRIBUTING.md](CONTRIBUTING.md)(环境搭建、架构、添加组件或主题)和 [Code of Conduct](CODE_OF_CONDUCT.md)。Pull request 请提交到 `develop` 分支。在 [GitHub issues](https://github.com/wassim-azi/agy-powerline/issues) 中报告错误,或在 [Discussions](https://github.com/wassim-azi/agy-powerline/discussions) 中分享想法和反馈。
212
+ 欢迎贡献。请先阅读 [CONTRIBUTING.md](CONTRIBUTING.md)(环境搭建、架构、添加组件或主题)和 [Code of Conduct](CODE_OF_CONDUCT.md)。Pull request 请提交到 `main` 分支。在 [GitHub issues](https://github.com/wassim-azi/agy-powerline/issues) 中报告错误,或在 [Discussions](https://github.com/wassim-azi/agy-powerline/discussions) 中分享想法和反馈。
213
213
 
214
214
  感谢所有贡献者:
215
215
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agy-powerline",
3
- "version": "1.8.0",
3
+ "version": "1.9.0",
4
4
  "description": "agy statusline for Google Antigravity CLI: live Gemini, Claude/GPT and Argon quota pacing, git, themes and an interactive TUI configurator",
5
5
  "bin": {
6
6
  "agy-powerline": "src/index.js"
@@ -76,7 +76,7 @@
76
76
  },
77
77
  "devDependencies": {
78
78
  "@eslint/js": "10.0.1",
79
- "eslint": "10.12.0",
79
+ "eslint": "10.13.0",
80
80
  "fast-check": "4.10.2",
81
81
  "globals": "17.13.0",
82
82
  "prettier": "3.9.10"
package/src/lib/i18n.js CHANGED
@@ -82,8 +82,8 @@ const MESSAGES = {
82
82
  tag_ram: "RAM",
83
83
  tag_cache_read: "Cache lu",
84
84
  tag_cache_create: "Cache écrit",
85
- tag_cache_hit: "Succès cache",
86
- tag_tokens: "Jetons",
85
+ tag_cache_hit: "Cache hit",
86
+ tag_tokens: "Tokens",
87
87
  tag_clock: "Heure",
88
88
  tag_today: "Aujourd'hui",
89
89
 
@@ -105,6 +105,55 @@ const MESSAGES = {
105
105
  cmd_preview: "[cmd]",
106
106
  cmd_blocked: "[bloqué]",
107
107
  },
108
+ es: {
109
+ tag_model: "Modelo",
110
+ tag_quota: "Cuota",
111
+ tag_5h: "5h",
112
+ tag_7d: "7d",
113
+ tag_reset: "Reinicio",
114
+ tag_3p_5h: "Terceros 5h",
115
+ tag_3p_7d: "Terceros 7d",
116
+ tag_argon_7d: "Argon 7d",
117
+ tag_argon_reset: "Reinicio Argon",
118
+ tag_context: "Contexto",
119
+ tag_dir: "Carpeta",
120
+ tag_project: "Proyecto",
121
+ tag_host: "Host",
122
+ tag_lines: "Líneas",
123
+ tag_files: "Archivos",
124
+ tag_commit: "Commit",
125
+ tag_stash: "Stash",
126
+ tag_worktree: "Worktree",
127
+ tag_plan: "Plan",
128
+ tag_agent: "Agente",
129
+ tag_artifacts: "Artefactos",
130
+ tag_session: "Sesión",
131
+ tag_ram: "RAM",
132
+ tag_cache_read: "Caché leída",
133
+ tag_cache_create: "Caché escrita",
134
+ tag_cache_hit: "Cache hit",
135
+ tag_tokens: "Tokens",
136
+ tag_clock: "Hora",
137
+ tag_today: "Hoy",
138
+
139
+ rem: "rest.",
140
+ over_200k: ">200k",
141
+ now: "ahora",
142
+ unit_d: "d",
143
+ unit_h: "h",
144
+ unit_hr: "h",
145
+ unit_m: "m",
146
+ subagent: "subagente",
147
+ subagents: "subagentes",
148
+ task: "tarea",
149
+ tasks: "tareas",
150
+ tokens_in: "entrada",
151
+ tokens_out: "salida",
152
+ sandbox_net: "sandbox (red)",
153
+ sandbox_isolated: "sandbox (aislado)",
154
+ cmd_preview: "[cmd]",
155
+ cmd_blocked: "[bloqueado]",
156
+ },
108
157
  };
109
158
 
110
159
  const DEFAULT_LANGUAGE = "en";