opencode-kimi-rotator 1.2.1 → 1.2.2

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 (1) hide show
  1. package/package.json +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-kimi-rotator",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "Kimi API Key Rotator for OpenCode - Automatically rotate between multiple Kimi API keys to handle rate limits",
5
5
  "main": "./dist/plugin.js",
6
6
  "types": "dist/index.d.ts",
@@ -20,8 +20,8 @@
20
20
  "format:check": "prettier --check .",
21
21
  "clean": "rm -rf dist",
22
22
  "install:plugin": "npm run bundle && mkdir -p ~/.config/opencode/plugins && cp dist/plugin.bundle.js ~/.config/opencode/plugins/kimi-rotator.js",
23
- "postinstall": "npm run install:plugin && echo '\n✓ Kimi Rotator Plugin installed/updated!' && echo ' Location: ~/.config/opencode/plugins/kimi-rotator.js' && echo ' Restart OpenCode if currently running.'",
24
- "prepublishOnly": "npm run build",
23
+ "postinstall": "mkdir -p ~/.config/opencode/plugins && cp dist/plugin.bundle.js ~/.config/opencode/plugins/kimi-rotator.js && echo '✓ Kimi Rotator Plugin installed!' && echo ' Location: ~/.config/opencode/plugins/kimi-rotator.js' && echo ' Restart OpenCode if currently running.'",
24
+ "prepublishOnly": "npm run build && npm run bundle",
25
25
  "ci": "npm run lint && npm run format:check && npm run typecheck"
26
26
  },
27
27
  "keywords": [