Repository navigation
v3.0.17
Changed
-
The local account store moves out of OpenCode's config folder. It joins the vault files in
~/.local/state/cortexkit/antigravity-auth/opencode/($XDG_STATE_HOMEif set; another config folder getsopencode-<16 hex digits>/). Accounts, sign-ins and quota come along, so you don't need to sign in again. After the move, local-account requests no longer write lock or temporary files in the folder OpenCode watches (#51). Pi's files don't move.- The move waits until every OpenCode using that config folder has restarted on this version. It happens at the next start that uses local accounts. In vault mode, the local store isn't touched until you disconnect. Close every OpenCode before upgrading.
- If the state folder's path goes through a link, the store stays where it is, and the log says why. Set
XDG_STATE_HOMEto the real path to fix it. - The old copy is kept as a backup. Once your accounts look right, you can delete it if you won't go back to an older version.
- Never delete
antigravity-accounts.json.store.pointer.jsonin OpenCode's config folder. It points older versions at the moved store, so they don't start with no accounts. - Before going back to 3.0.15 or earlier: close every OpenCode, run
npx @cortexkit/opencode-antigravity-auth store relocate --back --offline, then install the older version. This replaces the kept backup with your current accounts. Going back to 3.0.16 needs no step.
See Where the files live.
Fixed
- Windows: vault and account files at long paths work. A file path of 260 characters or more under the state folder made a lock wait time out instead of saving. The shared file library now uses Windows' long-path form.