Skip to content

v1.166.0

Choose a tag to compare

@MarkEhr MarkEhr released this 17 Jul 18:53

What's New

Added

  • Google OAuth token-health monitoring — Gmail, Calendar, and Drive share a single refresh token, and their connection status now reflects a real refresh_token → access_token exchange against Google instead of merely checking that secrets are present. A revoked or expired token that previously still showed as "Connected" (even across server restarts) now correctly surfaces as expired. A shared background monitor probes the token once and reports one verdict to all three clients; re-consenting through any one service rotates the token for the others without a restart.

Fixed

  • "Google Authorization Expired" re-connect flow — the integrations panel now distinguishes "credentials rejected, re-authorize" from "never configured," showing a dedicated expired banner with a reconnect action.
  • Edit Agent → Advanced options collapsed to an unclickable line — the "Advanced options" drawer (holding the agent Custom Instructions / prompt, terminal shortcut, and auto-collapse settings) was compressed to a ~1px unclickable sliver whenever the modal overflowed. Fixed by pinning flex-shrink:0 so it keeps its height and the modal body scrolls to it.

Technical Details

  • New src/packages/server/integrations/google-auth/token-health.ts module owns shared Google token liveness with a background probe monitor and token-rotation notifications.
  • Root cause of the modal bug: overflow:hidden reset the flex item auto min-height to 0, letting the column-flex modal body shrink it instead of scrolling.