@arandevcode/opencode-quota-extended 0.3.2 → 0.3.3
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-es.md +3 -6
- package/README.md +3 -6
- package/dist/lib/pace.d.ts +1 -1
- package/images/opencode_quota_extended_sidebar_v2.png +0 -0
- package/package.json +1 -1
package/README-es.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<img src="https://raw.githubusercontent.com/arandevcode/opencode-plugins/main/opencode-quota-extended/images/
|
|
2
|
+
<img src="https://raw.githubusercontent.com/arandevcode/opencode-plugins/main/opencode-quota-extended/images/opencode_quota_extended_sidebar_v2.png" alt="Barra lateral TUI" width="420">
|
|
3
3
|
<br>
|
|
4
4
|
<sub><em>-sidebar example-</em></sub>
|
|
5
5
|
</p>
|
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
|
|
9
9
|
> 🇬🇧 Also available in [English](README.md)
|
|
10
10
|
|
|
11
|
+
> 🔁 ¿Quieres esto en Claude Code? Mira [quota-panel](https://github.com/arandevcode/claude-mods/tree/main/quota-panel).
|
|
12
|
+
|
|
11
13
|
Tarjetas de uso de cuota para la barra lateral TUI — barras de progreso por ventana con colores de semáforo para OpenAI, GitHub Copilot y OpenCode Go.
|
|
12
14
|
|
|
13
15
|
- Barra de progreso para cada ventana de cuota (5h móvil, semanal, mensual, code review...)
|
|
@@ -56,11 +58,6 @@ opencode plugin add @arandevcode/opencode-quota-extended
|
|
|
56
58
|
|
|
57
59
|
En OpenCode 2 el comando es `plugin add` (no `plugin --global`). El soporte para OpenCode 2 es nuevo; si ves algo raro, [abre un issue](https://github.com/arandevcode/opencode-plugins/issues).
|
|
58
60
|
|
|
59
|
-
<p align="center">
|
|
60
|
-
<img src="https://raw.githubusercontent.com/arandevcode/opencode-plugins/main/opencode-quota-extended/images/opencode_quota_extended_sidebar_v2.png" alt="Barra lateral de cuota en OpenCode 2" width="360"><br>
|
|
61
|
-
<sub><em>Barra lateral en OpenCode 2 (datos de ejemplo)</em></sub>
|
|
62
|
-
</p>
|
|
63
|
-
|
|
64
61
|
### Compatibilidad
|
|
65
62
|
|
|
66
63
|
| Función | OpenCode 1.x | OpenCode 2 |
|
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<img src="https://raw.githubusercontent.com/arandevcode/opencode-plugins/main/opencode-quota-extended/images/
|
|
2
|
+
<img src="https://raw.githubusercontent.com/arandevcode/opencode-plugins/main/opencode-quota-extended/images/opencode_quota_extended_sidebar_v2.png" alt="TUI sidebar" width="420">
|
|
3
3
|
<br>
|
|
4
4
|
<sub><em>-sidebar example-</em></sub>
|
|
5
5
|
</p>
|
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
|
|
9
9
|
> 🇪🇸 Also available in [Spanish](README-es.md)
|
|
10
10
|
|
|
11
|
+
> 🔁 Want this on Claude Code? See [quota-panel](https://github.com/arandevcode/claude-mods/tree/main/quota-panel).
|
|
12
|
+
|
|
11
13
|
Quota usage cards for the TUI sidebar — per-window progress bars with traffic-light colors for OpenAI, GitHub Copilot, and OpenCode Go.
|
|
12
14
|
|
|
13
15
|
- Progress bar for each quota window (5h rolling, weekly, monthly, code review...)
|
|
@@ -57,11 +59,6 @@ opencode plugin add @arandevcode/opencode-quota-extended
|
|
|
57
59
|
|
|
58
60
|
On OpenCode 2 the plugin command is `plugin add` (not `plugin --global`). Support for OpenCode 2 is new; please [open an issue](https://github.com/arandevcode/opencode-plugins/issues) if something looks wrong.
|
|
59
61
|
|
|
60
|
-
<p align="center">
|
|
61
|
-
<img src="https://raw.githubusercontent.com/arandevcode/opencode-plugins/main/opencode-quota-extended/images/opencode_quota_extended_sidebar_v2.png" alt="Quota sidebar on OpenCode 2" width="360"><br>
|
|
62
|
-
<sub><em>OpenCode 2 sidebar (sample data)</em></sub>
|
|
63
|
-
</p>
|
|
64
|
-
|
|
65
62
|
### Compatibility
|
|
66
63
|
|
|
67
64
|
| Feature | OpenCode 1.x | OpenCode 2 |
|
package/dist/lib/pace.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Every window resets on a known schedule (5h, weekly, monthly). When a window
|
|
5
5
|
* carries its reset time we can say whether the remaining share is ahead of or
|
|
6
6
|
* behind the clock: spending slower than time passes is margin, faster is
|
|
7
|
-
* "ahead".
|
|
7
|
+
* "ahead". The same reading as a graphical overlay, but text-only — no overlay on
|
|
8
8
|
* the progress bar, so it works at any terminal width.
|
|
9
9
|
*/
|
|
10
10
|
import type { QuotaWindow } from "./types.js";
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arandevcode/opencode-quota-extended",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "OpenCode plugin: quota usage cards with theme-colored gauge progress bars (5h / weekly / monthly) for OpenAI, GitHub Copilot and OpenCode Go in the TUI sidebar.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|