opencode-usage-total 0.1.6 → 0.1.8

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.en.md CHANGED
@@ -16,15 +16,14 @@ Track model usage, tokens, and costs per agent in the OpenCode TUI sidebar.
16
16
  ## Install
17
17
 
18
18
  ```bash
19
- opencode plugin install opencode-usage-total
19
+ opencode plugin -g opencode-usage-total
20
20
  ```
21
21
 
22
- Or add it manually to `tui.json`:
22
+ ## Update
23
23
 
24
- ```json
25
- {
26
- "plugin": ["opencode-usage-total"]
27
- }
24
+ ```bash
25
+ rm -rf ~/.cache/opencode/packages/opencode-usage-total@latest
26
+ opencode plugin -g opencode-usage-total
28
27
  ```
29
28
 
30
29
  ## Usage
package/README.md CHANGED
@@ -16,15 +16,14 @@ Realiza el seguimiento de modelos, tokens y costos por agente en la barra latera
16
16
  ## Instalación
17
17
 
18
18
  ```bash
19
- opencode plugin install opencode-usage-total
19
+ opencode plugin -g opencode-usage-total
20
20
  ```
21
21
 
22
- O agrégalo manualmente en `tui.json`:
22
+ ## Actualización
23
23
 
24
- ```json
25
- {
26
- "plugin": ["opencode-usage-total"]
27
- }
24
+ ```bash
25
+ rm -rf ~/.cache/opencode/packages/opencode-usage-total@latest
26
+ opencode plugin -g opencode-usage-total
28
27
  ```
29
28
 
30
29
  ## Uso
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  import { createRoot, createSignal } from "solid-js";
7
7
 
8
8
  // package.json
9
- var version = "0.1.6";
9
+ var version = "0.1.8";
10
10
 
11
11
  // helpers.ts
12
12
  function safeNum(value) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-usage-total",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "description": "Track model usage, tokens, and costs per agent in the OpenCode TUI sidebar",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",