Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
```

Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down