diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 650b7ca..6c5abbb 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -81,7 +81,7 @@ jobs: VERSION=$(node -p "require('./package.json').version") MAJOR=${VERSION%%.*} if [ "$MAJOR" -ge 2 ]; then - npm publish --access public --ignore-scripts --tag v2 + npm publish --access public --ignore-scripts --tag opencode-v2 else npm publish --access public --ignore-scripts fi diff --git a/README.md b/README.md index 0d41850..72676cd 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ OpenCode v2 / Web uses the `plugins` key: ```json { - "plugins": ["@azumag/opencode-rate-limit-fallback@2.0.0"] + "plugins": ["@azumag/opencode-rate-limit-fallback@2.0.1"] } ``` @@ -46,7 +46,7 @@ OpenCode v1 must stay on the latest 1.x release: } ``` -Version 2 is published under the `v2` npm tag so unpinned OpenCode v1 +Version 2 is published under the `opencode-v2` npm tag so unpinned OpenCode v1 installations do not receive the incompatible v2 entry point. The v2 entry point currently implements `fallbackMode: "wait"`. Model-switching diff --git a/package-lock.json b/package-lock.json index 2f484a1..f3042b6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@azumag/opencode-rate-limit-fallback", - "version": "2.0.0", + "version": "2.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@azumag/opencode-rate-limit-fallback", - "version": "2.0.0", + "version": "2.0.1", "license": "MIT", "devDependencies": { "@opencode-ai/plugin": "1.18.16", diff --git a/package.json b/package.json index c6babd2..1c71bd4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@azumag/opencode-rate-limit-fallback", - "version": "2.0.0", + "version": "2.0.1", "description": "OpenCode plugin that automatically switches to fallback models when rate limited", "main": "dist/v2.js", "types": "dist/v2.d.ts",