@khalilgharbaoui/opencode-claude-code-plugin 0.26.2 → 0.26.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.
- package/README.md +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +131 -74
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/skills/claude-code-plugin/SKILL.md +10 -2
package/package.json
CHANGED
|
@@ -232,8 +232,16 @@ Tell the user what a pick actually does before recommending one:
|
|
|
232
232
|
- `stop`, dismissing the form, or answering with anything that is not one of the offered
|
|
233
233
|
accounts ends the turn exactly as the rate-limit error does today. The limit is
|
|
234
234
|
unchanged either way; failover moves the work, it does not create usage.
|
|
235
|
-
- Only a rejected `rate_limit_event
|
|
236
|
-
|
|
235
|
+
- Only a rejected `rate_limit_event`, one of the two known account-limit error texts, or
|
|
236
|
+
an account-level failure the CLI reports on its own error reply opens the form. The
|
|
237
|
+
account-level kinds are `authentication_failed`, `oauth_org_not_allowed`,
|
|
238
|
+
`account_on_hold`, `verification_required` and `billing_error`. A generic 4xx, a
|
|
239
|
+
timeout or a bad flag never does.
|
|
240
|
+
- An expired login also writes a `▌ **claude account:**` note naming the account and the
|
|
241
|
+
command to fix it: `claude auth login` for the default account, or
|
|
242
|
+
`CLAUDE_CONFIG_DIR=<that account's config dir> claude auth login` for a named one. When
|
|
243
|
+
a user reports "Failed to authenticate: OAuth session expired", that command is the
|
|
244
|
+
fix; a switch made from that form lasts until opencode restarts.
|
|
237
245
|
- Not available on the interactive transport or on compaction turns.
|
|
238
246
|
|
|
239
247
|
`{ "accountFailover": "off" }` keeps the plain rate-limit error.
|