Skip to content

Feature/multiaccount integrations - #419

Open
ahmad-ajmal wants to merge 3 commits into
V1.4.2from
feature/multiaccount-integrations
Open

Feature/multiaccount integrations#419
ahmad-ajmal wants to merge 3 commits into
V1.4.2from
feature/multiaccount-integrations

Conversation

@ahmad-ajmal

Copy link
Copy Markdown
Collaborator

No description provided.

…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.
@ahmad-ajmal ahmad-ajmal self-assigned this Aug 13, 2026
@ahmad-ajmal ahmad-ajmal added priority: high Improvement Optimization and improvement over existing feature Apps Integration labels Aug 13, 2026
@ahmad-ajmal
ahmad-ajmal requested a review from zfoong August 13, 2026 17:13
@zfoong

zfoong commented Aug 15, 2026

Copy link
Copy Markdown
Collaborator
image

Attached an image in my telegram message. It seems like the agent is unable to receive a message with an attachment.

@zfoong

zfoong commented Aug 15, 2026

Copy link
Copy Markdown
Collaborator
image

It is better to show expandable content in the system message. Now, there is no way to see what the agent received without going into the log.

@zfoong

zfoong commented Aug 17, 2026

Copy link
Copy Markdown
Collaborator
image

Discord is connected, and I am receiving input from it. But the setting page shows that I am not connected to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Apps Integration Improvement Optimization and improvement over existing feature priority: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants