Feature/multiaccount integrations - #419
Open
ahmad-ajmal wants to merge 2 commits into
Open
Conversation
…t listeners Rebuilt the integration layer as a host-agnostic package (supersedes PR #370; design: docs/plans/multi-account-v2-plan.md). The 10 major integrations now hold a primary account plus any number of additional accounts with nicknames (shared across the Google family). - AccountSet document store: atomic writes, deterministic account resolution, one-time migration of existing credential files - 10 providers / 397 operations; @action wrappers are generated, with the account param injected centrally so no action can bypass it - OAuth account choosers fixed (Google/Outlook select_account) - Manage-accounts modal with staged edits and add-account OAuth - Gmail/Outlook/Slack listeners run per account, triggers account-tagged - Router extracts account qualifiers ("my job email") and sees live account lists just-in-time 516 tests passing, tsc clean. closes #368
Legacy platforms get thin v2 providers (identity + login + bound client + listener); their existing actions stay and become account-aware centrally (contextvar hint + run_client routing + schema injection into 676 actions). whatsapp_web moves from a singleton Node bridge to per-identity bridges with QR sessions and a max_accounts cap; telegram_user logs in via two-phase phone->code(+2FA) token connect. Also fixes: fcntl broke the v2 system on Windows (msvcrt locking); list/info/metrics read legacy cred files so v2 connects showed disconnected; notion token connects could silently overwrite the first account. Adds manage_integration_account agent action and Living UI account param. 609 tests green.
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.
No description provided.