agy-powerline 1.8.1 → 1.9.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 CHANGED
@@ -5,6 +5,35 @@ 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.1] - 2026-10-28
9
+
10
+ ### Fixed
11
+
12
+ - Site audits no longer report missing alt text and offscreen images to defer on every page of agy-powerline.com: the language menu's flags are drawn by the stylesheet, and a closed menu doesn't load them (#166)
13
+ - agy-powerline.com's guides page has a section heading over its list of guides, which site audits reported missing (#166)
14
+ - Search engines no longer report missing pages such as agy-powerline.com/configure/widget-style or /proc/version: the configurator's script, whose module and sample paths they read as links, is now a file of its own that robots.txt keeps them off (#165)
15
+
16
+ ## [1.9.0] - 2026-10-25
17
+
18
+ ### Added
19
+
20
+ - The bar in Spanish with `"language": "es"`, and a Spanish home page at agy-powerline.com/es/ (#149)
21
+ - A language menu with flags in agy-powerline.com's header, and footer links to the home page in every other language (#149)
22
+
23
+ ### Changed
24
+
25
+ - 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)
26
+ - 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
27
+ - On a phone, the themes page draws its bars at a readable 12px and each terminal scrolls inside its card
28
+
29
+ ### Fixed
30
+
31
+ - 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
32
+
33
+ ### Security
34
+
35
+ - 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
36
+
8
37
  ## [1.8.1] - 2026-10-25
9
38
 
10
39
  ### Changed
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 |
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agy-powerline",
3
- "version": "1.8.1",
3
+ "version": "1.9.1",
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"
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";