pi-opencode-go-usage 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.
Files changed (2) hide show
  1. package/README.md +5 -2
  2. package/package.json +11 -2
package/README.md CHANGED
@@ -1,10 +1,11 @@
1
1
  # pi-opencode-go-usage
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/pi-opencode-go-usage?color=cb0000)](https://www.npmjs.com/package/pi-opencode-go-usage) [![pi package](https://img.shields.io/badge/pi-package-7a5cff)](https://pi.dev/packages/pi-opencode-go-usage) [![license MIT](https://img.shields.io/badge/license-MIT-green)](LICENSE)
4
+
3
5
  **[简体中文](README.zh-CN.md) · English**
4
6
 
5
7
  Track OpenCode Go usage limits — **rolling 5-hour, weekly, and monthly** — in-session
6
8
  with a live status bar and a `/opencode-go` report widget.
7
-
8
9
  ![Status bar showing OpenCode Go usage](screenshot.jpeg)
9
10
 
10
11
  ```
@@ -36,7 +37,9 @@ countdowns only** — the page carries no dollar amounts, so neither does this.
36
37
  ## Install
37
38
 
38
39
  ```bash
39
- omp plugin install github:dakai/pi-opencode-go-usage
40
+ pi install npm:pi-opencode-go-usage # Pi (recommended)
41
+ # or
42
+ omp plugin install github:Dakai/pi-opencode-go-usage
40
43
  # or, for local dev:
41
44
  omp plugin link /path/to/pi-opencode-go-usage
42
45
  ```
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "pi-opencode-go-usage",
3
- "version": "1.0.0",
4
- "description": "Track OpenCode Go usage limits (rolling 5h / weekly / monthly) in-session by scraping the opencode.ai workspace page with your auth cookie.",
3
+ "version": "1.0.1",
4
+ "description": "Track OpenCode Go usage limits (rolling 5h / weekly / monthly) in Pi status bar + /opencode-go report via HTML scrape.",
5
+ "author": "Dakai",
5
6
  "keywords": [
6
7
  "pi-package",
7
8
  "pi-extension",
@@ -13,6 +14,14 @@
13
14
  "status-bar"
14
15
  ],
15
16
  "license": "MIT",
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "https://github.com/Dakai/pi-opencode-go-usage.git"
20
+ },
21
+ "homepage": "https://github.com/Dakai/pi-opencode-go-usage#readme",
22
+ "bugs": {
23
+ "url": "https://github.com/Dakai/pi-opencode-go-usage/issues"
24
+ },
16
25
  "files": [
17
26
  "extensions",
18
27
  "README.md",