opencode-tps-meter 0.1.2 → 0.1.3

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/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -44,8 +44,8 @@ var exports_src = {};
44
44
  __export(exports_src, {
45
45
  default: () => TpsMeterPlugin
46
46
  });
47
- // OpenCode compatibility: unwrap plugin function from getter
48
- module.exports = exports_src.default();
47
+ // OpenCode compatibility: export plugin function
48
+ module.exports = exports_src.default;
49
49
 
50
50
  // src/constants.ts
51
51
  var MIN_TPS_ELAPSED_MS = 250;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-tps-meter",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Live tokens-per-second meter for OpenCode",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",