feat(cli): agent ergonomics + gmail watch exclude labels#201
Merged
steipete merged 4 commits intoopenclaw:mainfrom Feb 14, 2026
Merged
feat(cli): agent ergonomics + gmail watch exclude labels#201steipete merged 4 commits intoopenclaw:mainfrom
steipete merged 4 commits intoopenclaw:mainfrom
Conversation
Contributor
Author
|
cc @steipete — this makes gogcli much more agent-friendly with stable exit codes, dry-run support, schema introspection, and name resolution so agents don't need opaque IDs. Would love your review! |
Collaborator
|
Holy moly this is a big one! Kinda small description for 10k line change :) |
- Fix nil pointer dereference in confirmDestructive when flags is nil - Deduplicate dry-run logic by delegating to dryRunExit - Remove deprecated net.Error.Temporary() call (dead since Go 1.18) - Add unit tests for resolveTasklistID and resolveCalendarID Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0957a6d to
ffe7d05
Compare
Collaborator
|
Landed via temp rebase onto main. Thanks @salmonumbrella! |
klodr
pushed a commit
to klodr/gogcli
that referenced
this pull request
Apr 22, 2026
* feat(cli): improve agent ergonomics * fix(cli): address code review findings - Fix nil pointer dereference in confirmDestructive when flags is nil - Deduplicate dry-run logic by delegating to dryRunExit - Remove deprecated net.Error.Temporary() call (dead since Go 1.18) - Add unit tests for resolveTasklistID and resolveCalendarID Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: resolve PR openclaw#201 conflicts and follow-ups (openclaw#201) (thanks @salmonumbrella) * fix: resolve rebase fallout for PR openclaw#201 landing (openclaw#201) (thanks @salmonumbrella) --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> 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.
Summary
--exclude-labelsflag togmail watch serveso labels can be filtered from push notifications--dry-run,--selectfield projection,schemacommand, name resolution for calendars/tasklists,opencommand, auto-JSON detection, and input specsconfirmDestructive, remove deprecatednet.Error.Temporary(), deduplicate dry-run logic, and add unit tests for name resolutionTest plan
go test ./...)Hey @steipete — this makes gogcli much more agent-friendly. Stable exit codes, dry-run support, schema introspection, and smarter name resolution so agents don't need to memorize opaque IDs.
🤖 Generated with Claude Code