opencode-copilot-budget 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/package.json +2 -2
- package/src/index.tsx +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-copilot-budget",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "GitHub Copilot premium budget in the OpenCode TUI sidebar",
|
|
5
5
|
"author": "Bhaskar Melkani",
|
|
6
6
|
"repository": {
|
|
@@ -32,4 +32,4 @@
|
|
|
32
32
|
"github-copilot"
|
|
33
33
|
],
|
|
34
34
|
"license": "MIT"
|
|
35
|
-
}
|
|
35
|
+
}
|
package/src/index.tsx
CHANGED
|
@@ -213,7 +213,7 @@ function ProgressBar(props: { percent: number }) {
|
|
|
213
213
|
const empty = BAR_WIDTH - filled
|
|
214
214
|
const color = clampedPercent >= 90 ? BAR_DANGER_COLOR : BAR_FILL_COLOR
|
|
215
215
|
return (
|
|
216
|
-
<text fg={color}>{`${"
|
|
216
|
+
<text fg={color}>{`${"▬".repeat(filled)}${"╌".repeat(empty)} ${clampedPercent}% Used`}</text>
|
|
217
217
|
)
|
|
218
218
|
}
|
|
219
219
|
|