Skip to content

add google calendar and contacts, and group the permissions by product - #99

Merged
hkonsti merged 1 commit into
hkonsti/google-9-drive-writesfrom
hkonsti/google-10-calendar-contacts
Oct 15, 2026
Merged

hkonsti merged 1 commit into
hkonsti/google-9-drive-writesfrom
hkonsti/google-10-calendar-contacts

Conversation

@hkonsti

@hkonsti hkonsti commented Oct 14, 2026 •

Copy link
Copy Markdown
Collaborator

Google connections now cover Calendar and Contacts. A sign-in asks for three more scopes: calendar.events, calendar.calendarlist.readonly and contacts. These are narrower than full calendar, which would also let an agent delete calendars and change their sharing.

Calendar is a nested events collection: the calendars at the top, and inside each its events from now on, soonest first. A search that begins with a day, 2026-10-15 standup, lists from that day on. Its actions are Read events, Create and edit events, Answer invitations (Accept, Decline, Maybe) and Invite guests. Guests are a field with an action of their own (Field.action, checked in runAgentTool): inviting guests, or changing an event that already has some, needs Invite guests beyond the write, because Google emails them. An event without guests tells no one.

Contacts is a contacts collection over the People API: most recently changed first, Google's prefix search, and Add and edit contacts. An edit sends only the fields that changed and keeps labels like work or home. Events and contacts are never deleted.

The permissions page shows actions grouped by product (Action.group: Gmail, Calendar, Drive, Contacts), each section saying how many are on, with Enable all / Disable all at the top. A new Google connection now starts with nothing on. effectiveActions now follows requires all the way down, so Invite guests counts only while Read events does. Record links on the agent side are URL-encoded, since some calendar ids contain #.

Tested only against mocked Google answers so far, not a real account. Existing connections show the new actions as "Not allowed at sign-in" until they sign in again. A self-hosted Cloud project also needs the Calendar and People APIs enabled. Once the stack is rebased onto main, the privacy policy (#85) needs Calendar and Contacts added to its list of Google data.

Stack: on #92.


Open workspace in Conductor

@hkonsti
hkonsti added this pull request to stack #88 October 15, 2026 00:06
@hkonsti
hkonsti force-pushed the hkonsti/google-10-calendar-contacts branch from e98f604 to ca5d6b5 Compare October 15, 2026 00:09
…nd start google with nothing on

Calendar is a nested events collection: the calendars, and each one's events from now on, soonest first.
Agents can create and edit events, answer invitations, and invite guests, which is an action of its own
since Google emails them. Contacts can be listed, searched, added and edited. Neither is ever deleted.
The permissions show Gmail, Calendar, Drive and Contacts as sections, with Enable all and Disable all.
@hkonsti
hkonsti force-pushed the hkonsti/google-10-calendar-contacts branch from ca5d6b5 to ca5932d Compare October 15, 2026 00:20
@hkonsti
hkonsti merged commit b17f23d into main Oct 15, 2026
4 checks passed
@hkonsti
hkonsti deleted the hkonsti/google-10-calendar-contacts branch November 4, 2026 01:32
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