[FEATURE]: Reload auth.json if changed
Feature hasn't been suggested before.
- [x] I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Why this matters
OpenCode currently does not support dynamic authentication token management. This is a must-have requirement for many enterprise environments. I understand that OpenCode has an Enterprise Edition (EE), but unfortunately that is not an option for some of our air-gapped project requirements.
Request
If the feature discussed in https://github.com/anomalyco/opencode/issues/1302 is not going to be implemented, it would be extremely helpful if OpenCode could at least detect runtime changes to auth.json.
This would be a relatively trivial change to implement, and I’m happy to submit a PR if this approach is aligned with OpenCode’s EE monetization strategy.
While this would not provide full enterprise-grade security (and therefore would not replace EE), it would offer a practical middle ground: programmatic updates to auth.json without requiring users to restart the TUI.