Skip to content

[bug] Incomplete profile blocks credential fallback #20

Description

@Unique-Divine

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions