feat(calendar): add calendar aliases (supersedes #104)#393
Merged
steipete merged 9 commits intoopenclaw:mainfrom Mar 8, 2026
Merged
feat(calendar): add calendar aliases (supersedes #104)#393steipete merged 9 commits intoopenclaw:mainfrom
steipete merged 9 commits intoopenclaw:mainfrom
Conversation
Contributor
Author
|
This PR supersedes #104 and carries forward @zacharytamas's calendar alias implementation with CI/lint updates for current main rules. @visionik |
4 tasks
Collaborator
|
Thank you @salmonumbrella and @zacharytamas (for the OG). I need one day to think about the pattern of gog calendar alias vs gog alias alias_name any_google_identifier Any thoughts? |
Contributor
Author
|
First one gog calendar work --etc |
Add support for storing calendar aliases in config.json, following the same pattern as account aliases. Includes CRUD functions and tests.
Add gog calendar alias {list,set,unset} commands for managing calendar
aliases. These allow mapping friendly names like 'family' to full
calendar IDs like '3656f8abc123@group.calendar.google.com'.
Add resolveCalendarID helper function and register CalendarAliasCmd in the calendar command tree.
Update CalendarCreateCmd, CalendarUpdateCmd, CalendarDeleteCmd, CalendarProposeTimeCmd, and CalendarRespondCmd to resolve calendar aliases before using the calendar ID.
Update focus-time, out-of-office, working-location, and time commands to resolve calendar aliases.
Update search, freebusy, and conflicts commands to resolve calendar aliases. Multi-calendar commands now resolve each calendar ID in the comma-separated list.
3e2b78f to
fe57116
Compare
Collaborator
|
Landed on Included branch commits:
Also added a regression test for alias-backed |
klodr
pushed a commit
to klodr/gogcli
that referenced
this pull request
Apr 22, 2026
…law#393) * feat(config): add CalendarAliases field to config Add support for storing calendar aliases in config.json, following the same pattern as account aliases. Includes CRUD functions and tests. * feat(calendar): add calendar alias CLI commands Add gog calendar alias {list,set,unset} commands for managing calendar aliases. These allow mapping friendly names like 'family' to full calendar IDs like '3656f8abc123@group.calendar.google.com'. * feat(calendar): add alias resolution helper Add resolveCalendarID helper function and register CalendarAliasCmd in the calendar command tree. * feat(calendar): resolve aliases in create/update/delete commands Update CalendarCreateCmd, CalendarUpdateCmd, CalendarDeleteCmd, CalendarProposeTimeCmd, and CalendarRespondCmd to resolve calendar aliases before using the calendar ID. * feat(calendar): resolve aliases in specialized event commands Update focus-time, out-of-office, working-location, and time commands to resolve calendar aliases. * feat(calendar): resolve aliases in search and multi-calendar commands Update search, freebusy, and conflicts commands to resolve calendar aliases. Multi-calendar commands now resolve each calendar ID in the comma-separated list. * fix(calendar): clear CI lint issues in alias PR * feat(calendar): add calendar aliases (openclaw#393) * fix(calendar): satisfy alias lint on landed branch (openclaw#393) --------- Co-authored-by: Zachary <zachary@tamas.sh> Co-authored-by: Peter Steinberger <steipete@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Supersedes #104.
This continues @zacharytamas's calendar alias work and incorporates CI/lint compatibility updates so it passes current checks.
What’s included
calendar_aliases)gog calendar alias set/list/unsetcommandsVerification
make cipasses locallyCGO_ENABLED=1 go build ./cmd/gogpasses locallyThanks to @zacharytamas for the original implementation.