Fix Google Calendar/Gmail disabled by read-only token mount #72

Merged
ryan merged 1 commits from fix/google-token-readonly into main 2026-10-12 22:46:03 -04:00

1 Commits

Author SHA1 Message Date
Ryan Chen 9214afb206 Keep Google service enabled when token mount is read-only
token.json is mounted :ro, so writing refreshed creds back raised
PermissionError at startup once the stored access token expired. The broad
except in agents.py then disabled Calendar and Gmail tools entirely.
Keep the refreshed creds in memory when the write fails.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 22:42:37 -04:00