Open-source tree update refining custom-auth token JSON and sandbox conflict messaging, plus a new GROK_PERSISTENT_SHELL environment variable.
Changelog
[new] Custom auth token JSON accepts an optional issuer field alongside access_token, refresh_token, and expires_in.
[changed] Token refresh re-runs your auth binary with GROK_AUTH_EXPIRED=1 and fully replaces the stored credential; emit the same JSON fields (including issuer when you use it) on every invocation.
[changed] When global and per-project sandbox profiles share a name but differ, the conflict warning appears on the TUI welcome screen and on stderr for headless runs.
[new] GROK_PERSISTENT_SHELL environment variable.
Docs
Authentication guide: documents the custom-token JSON shape in a field table (access_token required; refresh_token, expires_in, and issuer optional) and clarifies that refresh runs should re-emit the same fields.
Sandbox guide: states where profile-definition conflict warnings surface (TUI welcome screen vs. headless stderr).
Under the hood
Tree metadata and content version bump to b189869b7755 (still changelog 0.2.101 / product 0.1.220-alpha.4).