Incomplete profile blocks credential fallback
When the active (or --profile) entry exists but lacks apiId, apiHash, or sessionString, resolveTelegramCredentials throws immediately and never reads ~/.tg-sai/.env, repo .env, or MCP discovery—even if those sources hold complete credentials. That breaks the documented onboarding flow with a draft profile plus a populated .env.
ts-pkg/tg-sai/profiles.ts#L693-L698
Originally posted by @cursor[bot] in #18 (comment)
Incomplete profile blocks credential fallback
When the active (or
--profile) entry exists but lacksapiId,apiHash, orsessionString,resolveTelegramCredentialsthrows immediately and never reads~/.tg-sai/.env, repo.env, or MCP discovery—even if those sources hold complete credentials. That breaks the documented onboarding flow with a draft profile plus a populated.env.ts-pkg/tg-sai/profiles.ts#L693-L698
Originally posted by @cursor[bot] in #18 (comment)