better-tg-cli 0.26.0 → 0.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -142,6 +142,12 @@ npx skills add TheVilfer/better-tg-cli -g -a claude-code -a codex -y
142
142
 
143
143
  ## Log in
144
144
 
145
+ **Through your agent** (easiest): ask it to set up Telegram, or run `telegram onboard` yourself. It
146
+ opens a page on 127.0.0.1 where you get an invite from [better-tg-cli.com](https://better-tg-cli.com)
147
+ (it comes back to the page by itself) or enter your own keys, scan a QR code and type your 2FA
148
+ password. The agent only starts the command and waits: it never sees the invite, the QR code or the
149
+ password. The page answers only on a random secret path and closes when you're done.
150
+
145
151
  **With your own API keys** (the default):
146
152
  1. Open https://my.telegram.org/apps, create an application, and copy its `api_id` and `api_hash`.
147
153
  2. Run `telegram auth --qr` and enter them. Then, on your phone, go to Settings → Devices → Link
package/README.ru.md CHANGED
@@ -141,6 +141,12 @@ npx skills add TheVilfer/better-tg-cli -g -a claude-code -a codex -y
141
141
 
142
142
  ## Вход
143
143
 
144
+ **Через агента** (проще всего): попросите его подключить Telegram или запустите `telegram onboard`
145
+ сами. Откроется страница на 127.0.0.1: там вы получаете инвайт на [better-tg-cli.com](https://better-tg-cli.com)
146
+ (он сам возвращается на страницу) или вводите свои ключи, сканируете QR и вводите пароль 2FA. Агент
147
+ только запускает команду и ждёт: ни инвайт, ни QR, ни пароль он не видит. Страница отвечает только
148
+ по случайному секретному адресу и закрывается после входа.
149
+
144
150
  **Со своими API-ключами** (основной способ):
145
151
  1. Откройте https://my.telegram.org/apps, создайте приложение и скопируйте `api_id` и `api_hash`.
146
152
  2. Запустите `telegram auth --qr` и введите их. Затем на телефоне откройте Настройки → Устройства →