feat: add providers CLI and multi-account onboarding

This commit is contained in:
Peter Steinberger
2026-01-08 01:18:37 +01:00
parent 6b3ed40d0f
commit 05b8679c8b
54 changed files with 4399 additions and 1448 deletions

View File

@@ -9,6 +9,7 @@ import { resolveUserPath } from "../utils.js";
export type ResolvedWhatsAppAccount = {
accountId: string;
name?: string;
enabled: boolean;
authDir: string;
isLegacyAuthDir: boolean;
@@ -101,6 +102,7 @@ export function resolveWhatsAppAccount(params: {
});
return {
accountId,
name: accountCfg?.name?.trim() || undefined,
enabled,
authDir,
isLegacyAuthDir: isLegacy,