Skip to content

v0.2.0 — one-click OAuth connect, Drive, hardened core

Choose a tag to compare

@mabry1985 mabry1985 released this 03 Jul 08:48
64c1528

Highlights

  • One-click OAuth connect (#2): paste an OAuth client id + secret into Settings once, hit Connect Google in the console view — the plugin runs the consent flow, stores the refresh token in the untracked secrets.yaml, and it takes effect immediately. No more manual token minting. Public callback is gated by a single-use TTL state nonce.
  • Drive module (#4): drive_search (full-text) + drive_read (Docs → text, Sheets → CSV, Slides → text; binary files refuse readably) — the first proof of the additive-module architecture.
  • Hardened core (#3): errors carry Google's own message instead of a bare status code; 401s retry once with a fresh token; the token cache is thread-safe; multi-word Gmail labels quote correctly.
  • Repo standard (#1): host-free 44-test suite + CI, version-coherence enforcement, and two flat-repo pytest traps fixed and pinned by tests (calendar.py stdlib shadow → gcal.py; no top-level relative imports in __init__.py).

Setup

See the README's Connect (one-click OAuth) section — 5-minute Google Cloud client setup, then connect from the console.

Requires protoAgent ≥ 0.71.0.