@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.
Files changed (2) hide show
  1. package/index.mjs +1 -0
  2. 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 () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magpie-community/opencode-factory-auth",
3
- "version": "0.1.45",
3
+ "version": "0.1.46",
4
4
  "description": "Sign in to a Factory (Droid) subscription from OpenCode or magpie",
5
5
  "type": "module",
6
6
  "main": "./opencode.mjs",