@mholtzscher/opencode-cache-metrics 1.0.0 → 1.1.0

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/CHANGELOG.md ADDED
@@ -0,0 +1,8 @@
1
+ # Changelog
2
+
3
+ ## [1.1.0](https://github.com/mholtzscher/opencode-plugins/compare/cache-metrics-v1.0.0...cache-metrics-v1.1.0) (2026-10-11)
4
+
5
+
6
+ ### Features
7
+
8
+ * **cache-metrics:** enable npm publishing ([#37](https://github.com/mholtzscher/opencode-plugins/issues/37)) ([3fcaa68](https://github.com/mholtzscher/opencode-plugins/commit/3fcaa68c19da7db3f8148c5801b21b560abad325))
package/README.md CHANGED
@@ -11,13 +11,13 @@ Add this entry to the `plugins` array in your project or global `opencode.jsonc`
11
11
  ```jsonc
12
12
  {
13
13
  "$schema": "https://opencode.ai/config.json",
14
- "plugins": ["github:mholtzscher/opencode-plugins#main::path:cache-metrics"],
14
+ "plugins": ["@mholtzscher/opencode-cache-metrics"],
15
15
  }
16
16
  ```
17
17
 
18
18
  OpenCode installs the plugin with its prebuilt TUI bundle. See [plugin configuration](https://opencode.ai/v2/docs/plugins) for updates and reload behavior.
19
19
 
20
- Once the first npm version is public, you can replace the Git entry with `"@mholtzscher/opencode-cache-metrics"`. Load only one source of this plugin. See [releasing](../docs/RELEASING.md#first-cache-metrics-publish) for publication setup.
20
+ For a Git install, use `"github:mholtzscher/opencode-plugins#main::path:cache-metrics"` instead. Load only one source of this plugin. See [releasing](../docs/RELEASING.md#first-cache-metrics-publish) for publication setup.
21
21
 
22
22
  Open a session in the terminal UI. The **Cache** sidebar card shows its input cache-hit rate. Expand **Show additional metrics** for token totals. Click the rate or choose **Open cache history** from the command palette to inspect responses.
23
23
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mholtzscher/opencode-cache-metrics",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "OpenCode V2 plugin for input cache-hit rates, token totals, response history, and JSON export in the TUI",
5
5
  "keywords": [
6
6
  "cache",