Commit Graph

11 Commits

Author SHA1 Message Date
daniel
38d828ef74 Multi-account Google support with user labels 2026-05-09 11:21:37 -05:00
daniel
eddbd98153 Fix: use build(credentials=creds) instead of creds.authorize() for google-auth compatibility; add traceback logging 2026-05-08 19:57:35 -05:00
daniel
9b56aa83df Fix Google OAuth: explicit IAM policy + strip OIDC scopes from credentials 2026-05-08 16:57:40 -05:00
daniel
633ad03db0 Fix naive/aware datetime comparison: strip tz from expiry for google-auth 2026-05-08 16:05:45 -05:00
daniel
8a25eb2d5a Fix: pass expiry to Credentials so auto-refresh fires when token expired 2026-05-08 16:03:09 -05:00
daniel
9d21d5d2e5 Fix: import main in _actor_id() causes app.run() hang — use module-level var instead 2026-05-08 11:32:21 -05:00
daniel
f4444cbd22 Fix: pass only authorized http to build(), not credentials, so timeout applies to API calls 2026-05-08 11:17:38 -05:00
daniel
350ce231a4 embed workspace-mcp as direct dependency, simplify google credential loading
- Add workspace-mcp >= 1.20.0 to pyproject.toml (pulls google-api-python-client etc. transitively)
- Remove redundant google-api-python-client/google-auth/google-auth-httplib2 direct deps
- Rewrite google_workspace.py: single Secrets Manager call per tool (client_id/client_secret
  are already in the credentials secret stored by oauth-handler, no separate oauth-client secret needed)
- Mirror workspace-mcp output format for list_calendars and get_calendar_events
- Add body_format param to get_gmail_message (text/html/raw) matching workspace-mcp API
- Update uv.lock
2026-05-08 11:12:06 -05:00
daniel
245c2d64f5 Add debug logging to google_workspace tools 2026-05-08 10:56:29 -05:00
daniel
6d0464ea07 Add httplib2 15s timeout + cache_discovery=False to prevent hangs 2026-05-08 10:53:19 -05:00
daniel
ad594f6797 Add direct Google Calendar/Gmail tools, remove workspace_mcp 2026-05-08 10:37:31 -05:00