Skip to content

feat: add Google Calendar support#1

Merged
khang859 merged 2 commits intomainfrom
feat/calendar-integration
Feb 11, 2026
Merged

feat: add Google Calendar support#1
khang859 merged 2 commits intomainfrom
feat/calendar-integration

Conversation

@khang859
Copy link
Copy Markdown
Owner

Summary

  • Add full Google Calendar integration with commands: list, get, create, update, delete, respond, today, week, and calendars
  • Refactor auth to share OAuth2 client logic between Gmail and Calendar services, adding calendar scopes (CalendarEventsScope, CalendarReadonlyScope)
  • Add flexible date/time parsing (cmd/calendar_time.go) supporting RFC3339, relative dates (today/tomorrow/+Nd/weekday names), and time-only inputs with comprehensive unit tests and fuzz tests

Test plan

  • Run go test ./... -race to verify all unit and fuzz tests pass
  • Run go build -o gsuite . to verify successful compilation
  • Test gsuite login grants calendar scopes on re-authentication
  • Test gsuite calendar today and gsuite calendar week show events
  • Test gsuite calendar create --summary "Test" --start tomorrow --duration 30m
  • Test gsuite calendar get <event-id> shows full event details
  • Test gsuite calendar delete <event-id> removes an event
  • Test gsuite calendar respond <event-id> --status accepted RSVPs to an event
  • Verify --format json output works for all calendar commands

🤖 Generated with Claude Code

khang859 and others added 2 commits February 10, 2026 20:30
Add calendar commands (list, get, create, update, delete, respond, today,
week, calendars) with OAuth2 PKCE authentication. Includes flexible
date/time parsing, recurring event support, attendee management, and
user-friendly error handling. Updates auth to share client logic between
Gmail and Calendar services.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@khang859 khang859 merged commit 0744be8 into main Feb 11, 2026
1 check passed
@khang859 khang859 deleted the feat/calendar-integration branch February 11, 2026 01:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant