Show shared workflows and pending invitations after login#52
Merged
Conversation
After interactive login succeeds on a TTY, print a one-line nudge showing how many workflows are shared with the user and how many team invitations are pending, pointing at the relevant list commands. The banner is silent and non-blocking: any error, network timeout, or non-TTY session (piped output, API-key automation) results in no output and login still exits 0. Timeout is set to 0.9 s to stay sub-second. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The version bump left the lockfile self-version stale; reconcile it so a frozen sync matches pyproject. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Apply ruff format to the new banner test so the lint-and-test check passes, and render the shared-workflow and pending-invitation counts as "N+" when a next page exists so the banner no longer undercounts users with more than one page of results. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The shared-with-you banner could read "0 pending invitations" (or "0 workflows shared with you") whenever one category was empty. Build the sentence and its run commands from only the nonzero categories so an empty category is omitted entirely. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.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.
What this adds
After
goodeye login, the CLI shows a short banner listing any workflows that have been shared with you and any invitations awaiting your response, so you can act on them right away.🤖 Generated with Claude Code