@magpie-community/opencode-factory-auth 0.1.45 → 0.1.46
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/index.mjs +1 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2080,6 +2080,7 @@ export const FactoryAuthPlugin = async ({ client, magpie }) => {
|
|
|
2080
2080
|
// spend one refresh token; that check stays for OpenCode, which
|
|
2081
2081
|
// doesn't call this
|
|
2082
2082
|
refreshLead: MAGPIE_LEAD,
|
|
2083
|
+
rotating: true,
|
|
2083
2084
|
async refresh(auth) {
|
|
2084
2085
|
if (auth?.type !== "oauth" || !auth.access || !auth.refresh) return undefined
|
|
2085
2086
|
return locked(async () => {
|