Draft
Conversation
Co-authored-by: friuns <7095563+friuns@users.noreply.github.com>
Co-authored-by: friuns <7095563+friuns@users.noreply.github.com>
Co-authored-by: friuns <7095563+friuns@users.noreply.github.com>
Co-authored-by: friuns <7095563+friuns@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add support for multiple accounts
Add multiple account support
Dec 23, 2025
🚀 Netlify DeploymentDeploy URL: https://694ac1c491fdb80ca47bc70f--my-test-site3.netlify.app Branch: |
🚀 Netlify DeploymentDeploy URL: https://694ac1c74d013e0b8a54a742--my-test-site3.netlify.app Branch: |
🚀 Netlify DeploymentDeploy URL: https://694ac1c357fa50367f56abb7--my-test-site3.netlify.app Branch: |
🚀 Netlify DeploymentDeploy URL: https://694ac1c86eaebd0dde46aaf9--my-test-site3.netlify.app Branch: |
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.
Enables users to authenticate with multiple GitHub accounts simultaneously and switch between them. Each account maintains isolated data and cache.
Implementation
Account Management (
services/accountService.ts){ id, token, user, addedAt }Cache Isolation (
services/cacheService.ts)vibe_github_cache_{accountId}_{key}clearCache()with account-specific cleanup modesAccount Switcher UI (
components/AccountSwitcher.tsx)State Refactoring (
App.tsx)token/usertoaccounts/activeAccountUsage
Screenshots
Account Switcher

Shows active account indicator, remove buttons on hover/focus, and add account option.
Migration
Existing users automatically migrated on first load - legacy
gh_token/gh_userconverted to new account system with cleanup of old storage.Security
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.