opencode-firmware-quota 1.0.2 → 1.0.4

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 +3 -10
  2. package/package.json +4 -2
package/README.md CHANGED
@@ -20,7 +20,7 @@ Add to your `opencode.json`:
20
20
  }
21
21
  ```
22
22
 
23
- ## Prerequisites
23
+ ## Configuration
24
24
 
25
25
  Connect your Firmware account using the `/connect` command in OpenCode:
26
26
 
@@ -30,6 +30,8 @@ Connect your Firmware account using the `/connect` command in OpenCode:
30
30
 
31
31
  Search for **Firmware** and enter your API key from [app.firmware.ai](https://app.firmware.ai).
32
32
 
33
+ OpenCode handles secure storage of your API key. This plugin only accesses it to make direct requests to Firmware's quota API endpoint—nothing else. The code is [open-source](https://github.com/alnandr/opencode-firmware-quota) and can be reviewed to verify this.
34
+
33
35
  ## Usage
34
36
 
35
37
  ### Slash Command
@@ -54,15 +56,6 @@ Check my Firmware quota
54
56
  - **Low quota (75%+)**: Warning notification shown
55
57
  - **Critical quota (90%+)**: Error notification shown
56
58
 
57
- ## Configuration
58
-
59
- The plugin reads your Firmware API key from:
60
-
61
- 1. `FIRMWARE_API_KEY` environment variable (if set)
62
- 2. OpenCode auth storage (`~/.local/share/opencode/auth.json`)
63
-
64
- No additional configuration is required if you've connected Firmware via `/connect`.
65
-
66
59
  ## License
67
60
 
68
61
  MIT
package/package.json CHANGED
@@ -1,12 +1,14 @@
1
1
  {
2
2
  "name": "opencode-firmware-quota",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "OpenCode plugin for Firmware API quota monitoring - check usage, get warnings, and track your Firmware API consumption",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "type": "module",
8
8
  "files": [
9
- "dist"
9
+ "dist",
10
+ "README.md",
11
+ "LICENSE"
10
12
  ],
11
13
  "scripts": {
12
14
  "build": "tsc",