Skip to content

V1.4.2 - #432

Open
ahmad-ajmal wants to merge 62 commits into
devfrom
V1.4.2
Open

V1.4.2#432
ahmad-ajmal wants to merge 62 commits into
devfrom
V1.4.2

Conversation

@ahmad-ajmal

Copy link
Copy Markdown
Collaborator

CraftBot V1.4.2

Changes since V1.4.1.

Highlights

Multi-account integrations (#419)

All 13 legacy integrations migrated to the multi-account architecture via an
auth-layer bridge — connect multiple accounts per platform (Gmail, WhatsApp,
Discord, Slack, YouTube, etc.). WhatsApp moves to a session-actor architecture
on a Baileys bridge (no headless browser); existing accounts re-link once via QR.

Memory graph (#421)

  • Entity/relationship graph layered on the memory system, with entities stored
    and retrieved as embeddings and a graph visualization UI.
  • Relevant-memories preview logic updated; entity/connection pipeline fixes.
  • Redesigned memory settings page with configurable memory-processing conditions.
  • Refactor pass: magic numbers consolidated into one config module.

Living UI unified dev/live lifecycle (#427)

Single environment flow that stops live pb_data wipes on redeploy —
schema-only dev DB, with migrations replayed against live data only at promote.
Outdated Living UI settings sections removed.

Agent questions with suggested responses (#430)

Questions from the agent surface as a pinned question box above the composer
with clickable suggested replies, backed by a derived unanswered-question queue.

UI / UX

  • Guided onboarding tour built on driver.js (Feature/guided tour #426).
  • New dashboard widgets: advertisement + improved welcome and token usage (Advertisement Widget #420).
  • AI enhance polish (Ai Enhance Fix #415): sticks to the chosen language, resets cleanly on
    empty input, disabled send/dictate states, loading spinner, 30s timeout,
    splash loading animation.

Fixes

  • Reset agent: options merged into a single flow, session list refreshes, no
    page reload required (fix: merge reset-agent chat options and refresh the session list #429).
  • Event-stream summarization failures and chat-session scroll issues.
  • Disappearing messages; new chat session stuck when invoking a skill/command.
  • Windows run_shell output mangling.
  • Scheduled task list action-parameter bug.
  • Multiple-file indexing issue; installer check in run script.

Testing

New coverage for multi-account WS handlers, WhatsApp bridge/session-actor/
link-flow conformance, YouTube provider, and chat session storage.

RooberSmoth and others added 30 commits August 10, 2026 10:58
Advertisement widget for CraftBot dashboard
CraftBot and others added 15 commits August 21, 2026 18:10
…onse-question

feat: agent questions with suggested responses (pinned question box)
)

* fix: unify Living UI dev/live lifecycle to stop live pb_data wipes

* feat: scheduled + pre-promote backups of Living UI live data

* change delete orphan living UI project to log only

* set living UI launch by default and optimize launch time

* fix: naming fix + backup on reset agent

* fix: restore UI + restore from leftover backups

---------

Co-authored-by: CraftBot <craftbot@craftbot.dev>
fix: merge reset-agent chat options and refresh the session list
* feat(integrations): multi-account support with aliases and per-account 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

* integrations: multi-account for all 23 platforms via auth-layer bridge

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.

* Integrations Fix + media recieve

* fix(integrations): resolve tester-reported failures across Jira, disconnect, Lark, WhatsApp, and notifications

* fix(integrations): gmail forwards carry the original body, whatsapp replies route to the receiving account, discord multi-server sends land once in the right channel

* feat(whatsapp): desktop-parity session durability — per-account session actor with supervised reconnect/heartbeat, bridge.js generation rewrite (no synthetic ready, PID-exact kills), LinkFlow QR with idempotent completion, legacy single-account path removed

* fix(whatsapp): adopt the live bridge at link instead of restart-from-disk (torn LocalAuth), park never-connected sessions as needs-relink, resolve account="primary"

* feat(whatsapp): migrate bridge from whatsapp-web.js/Chromium to Baileys — protocol-native WebSocket, plain-file sessions, ~50MB/account, legacy system fully removed (existing accounts re-link once via QR)

* install whatsapp bridge

* update multiaccount integration setting UI

* use SVGL for integration logo

* fix: env install for transformers

---------

Co-authored-by: CraftBot <craftbot@craftbot.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants