diff --git a/docs/release-notes-review.json b/docs/release-notes-review.json index 37810edc..0dfb7166 100644 --- a/docs/release-notes-review.json +++ b/docs/release-notes-review.json @@ -1,9 +1,9 @@ { "tg": { - "version": "v0.123.0", + "version": "v0.136.0", "roadmapSha256": "9423668a054c46ed025340b9b39d91e14c841591e5866c6efe58663409a091a7", - "reviewedAt": "2026-11-12", - "conclusion": "Reviewed Telegram v0.117.0 to v0.123.0 with the exact published command contract. New: `account remove --keep-data|--delete-data` (logs out on Telegram's side, then forgets the profile's app id and hash, proxy password, bots' history sessions and cli-core state; a same-named bot's token stays; agents cannot start it over MCP), `models set|add`, `store import` for synthetic test stores, `schedule pause|resume` and repeatable `--at`, `muted:` in search and stats, `contracts/wirecat.json` listing the HTTP hosts. `messages sync --all` now leaves out muted chats (counted in `limited.muted`; `--with-muted` or `history_muted true` reads them), EmbeddingGemma is the default text model (219 MB, no `--accept-terms`, e5-small kept where it is the only model), an agent's `contacts link` proposes and needs `--reason`, `search messages --timeout 30s` may run about 29 seconds, `--offline` refusals answer `offline.refused` exit 5, `contacts context|prepare` read only the profile's own scope, е matches ё, BotFather's chat is kept out of search, tg's HTTP reaches only declared hosts, `serve` exits on an outdated build, and the store moves to version 63 (cli-core 0.630.0). New settings `history_muted` and `keep_store_runs_for_days`. RU/ES changelog, commands, cli-contract, configuration-reference, mcp, sessions and topic-search reviewed. Native erratum left for tg-cli: archive.md still says `messages sync --all` reads every chat. The roadmap is unchanged since v0.92.0 and none of its planned items (chat notes, emoji reaction rankings, remaining max parity, location messages) shipped." + "reviewedAt": "2026-11-26", + "conclusion": "Reviewed Telegram v0.124.0 to v0.136.0. New: tg builds on cli-core 1.0.0 and cli-base 1.0.0 and moves the store to version 73 (only cli-core 1.0 tools open it after that; a rollback copy is written first), MCP refuses local paths that name credential folders, a WireCat tool's folders or the message store (`permission_error`), `schedule exec` is left out of MCP, `search conversations --like` picks the matching chunk of a huge conversation, usage errors name the fix, `messages sync --full-history --background` keeps the flag (tg-cli#916), a long sync stays fast as the chat grows (tg-cli#917), and `messages download --output-dir` refuses the same places. RU/ES changelog (0.124.0 to 0.136.0), commands, archive, mcp, permissions, search, sessions, troubleshooting and usage updated; 27 site corrections that tg now carries itself were retired, their RU/ES text moved into the translations. The roadmap is unchanged since v0.92.0 and none of its planned items (chat notes, emoji reaction rankings, remaining max parity, location messages) shipped." }, "max": { "version": "v0.111.0", diff --git a/scripts/docs-corrections.json b/scripts/docs-corrections.json index 92f43bf2..1aa72713 100644 --- a/scripts/docs-corrections.json +++ b/scripts/docs-corrections.json @@ -1,54 +1,4 @@ [ - { - "tool": "tg", - "slug": "usage", - "reason": "Current command reference and v0.21 breaking-change note require durations for --unanswered; bare hours are invalid. The en text is also in WireCatLabs/tg-cli#922 (2026-11-23). At the next pin bump, move this entry's es/ru replacements into translations/tg/usage..md and refresh sources.json, then drop the entry; dropping it alone brings the old es/ru text back.", - "replacements": { - "en": [ - { - "before": "`--unanswered [hours]` keeps only questions waiting for you or for a group's admins. A question is a\nmessage with `?` in it (a link's `?` does not count), or a reply to you or to an admin. It is\nanswered when you or an admin replied to it, or were the next to speak after the person who asked.\nQuestions younger than the hours given (24 by default) are left out: nobody has had time to answer.\nWhen a group's admins are not known, the command says so, and only your answers count.", - "after": "`--unanswered [duration]` keeps only questions waiting for you or for a group's admins. A question is a\nmessage with `?` in it (a link's `?` does not count), or a reply to you or to an admin. It is\nanswered when you or an admin replied to it, or were the next to speak after the person who asked.\nQuestions younger than the given duration (24 hours by default) are left out: nobody has had time to answer.\nWhen a group's admins are not known, the command says so, and only your answers count. Use a duration such as `4h` or `1d`; a bare number of hours is not accepted." - } - ], - "ru": [ - { - "before": "`--unanswered [hours]` оставляет вопросы, ожидающие вас или администраторов группы. Вопрос — сообщение с `?` (знак `?` в ссылках не учитывается) или ответ вам/администратору. Он закрыт, если вы или администратор ответили либо написали следом за автором. Вопросы моложе указанного срока (по умолчанию 24 часа) исключаются. Если администраторы неизвестны, учитываются только ваши ответы и выводится предупреждение.", - "after": "`--unanswered [duration]` оставляет вопросы, ожидающие вас или администраторов группы. Вопрос — сообщение с `?` (знак `?` в ссылках не учитывается) или ответ вам/администратору. Он закрыт, если вы или администратор ответили либо написали следом за автором. Вопросы моложе указанного срока (по умолчанию 24 часа) исключаются. Если администраторы неизвестны, учитываются только ваши ответы и выводится предупреждение. Указывайте длительность, например `4h` или `1d`; число часов без единицы не принимается." - } - ], - "es": [ - { - "before": "`--unanswered [hours]` conserva solo las preguntas pendientes de ti o de los administradores de un grupo. Una pregunta es un mensaje con `?` (no cuenta el `?` de un enlace) o una respuesta a ti o a un administrador. Se considera respondida cuando tú o un administrador respondéis a ella o sois los siguientes en hablar tras quien preguntó. Se excluyen las preguntas de menos horas que las indicadas (24 por defecto): aún no ha habido tiempo para responder. Si no se conocen los administradores del grupo, el comando lo indica y solo cuentan tus respuestas.", - "after": "`--unanswered [duration]` conserva solo preguntas pendientes para ti o los administradores. Una pregunta contiene `?` (no cuenta dentro de enlaces) o responde a ti o a un administrador. Se considera contestada si tú o un administrador respondéis o sois los siguientes en hablar tras quien preguntó. Omite preguntas más recientes que el intervalo indicado (24 horas por defecto) para dar tiempo a responder. Si no se conocen los administradores, lo avisa y solo cuenta tus respuestas. Usa una duración como `4h` o `1d`; no se admite un número de horas sin unidad." - } - ] - } - }, - { - "tool": "tg", - "slug": "usage", - "reason": "Shell ! inverts the exit status to zero inside then; capture the command status in else before dispatching on 14/4. Applied after preservation validation to the same literal example in every locale. The en text is also in WireCatLabs/tg-cli#922 (2026-11-23). At the next pin bump, move this entry's es/ru replacements into translations/tg/usage..md and refresh sources.json, then drop the entry; dropping it alone brings the old es/ru text back.", - "replacements": { - "en": [ - { - "before": "if ! tg personal messages send \"Book club\" \"See you at 7\" --json > /dev/null; then\n case $? in\n 14) echo \"it may have gone — repeat only with the same --operation-id\" ;;\n 4) echo \"run tg personal session start\" ;;\n esac\nfi", - "after": "if tg personal messages send \"Book club\" \"See you at 7\" --json > /dev/null; then\n :\nelse\n send_status=$?\n case \"$send_status\" in\n 14) echo \"it may have gone — repeat only with the same --operation-id\" ;;\n 4) echo \"run tg personal session start\" ;;\n esac\nfi" - } - ], - "ru": [ - { - "before": "if ! tg personal messages send \"Book club\" \"See you at 7\" --json > /dev/null; then\n case $? in\n 14) echo \"it may have gone — repeat only with the same --operation-id\" ;;\n 4) echo \"run tg personal session start\" ;;\n esac\nfi", - "after": "if tg personal messages send \"Book club\" \"See you at 7\" --json > /dev/null; then\n :\nelse\n send_status=$?\n case \"$send_status\" in\n 14) echo \"it may have gone — repeat only with the same --operation-id\" ;;\n 4) echo \"run tg personal session start\" ;;\n esac\nfi" - } - ], - "es": [ - { - "before": "if ! tg personal messages send \"Book club\" \"See you at 7\" --json > /dev/null; then\n case $? in\n 14) echo \"it may have gone — repeat only with the same --operation-id\" ;;\n 4) echo \"run tg personal session start\" ;;\n esac\nfi", - "after": "if tg personal messages send \"Book club\" \"See you at 7\" --json > /dev/null; then\n :\nelse\n send_status=$?\n case \"$send_status\" in\n 14) echo \"it may have gone — repeat only with the same --operation-id\" ;;\n 4) echo \"run tg personal session start\" ;;\n esac\nfi" - } - ] - } - }, { "tool": "tg", "slug": "commands", @@ -58,30 +8,18 @@ { "before": "\njudge a group's new messages and joins by its rules, and act as they allow — as the bot\n", "after": "\njudge a group's new messages by its rules, and act as they allow — as the bot; joins are not judged\n" - }, - { - "before": "**Returns:** act on a group's new messages and joins by its rules, as the bot", - "after": "**Returns:** act on a group's new messages by its rules, as the bot; joins are not judged" } ], "ru": [ { "before": "\njudge a group's new messages and joins by its rules, and act as they allow — as the bot\n", "after": "\njudge a group's new messages by its rules, and act as they allow — as the bot; joins are not judged\n" - }, - { - "before": "**Returns:** act on a group's new messages and joins by its rules, as the bot", - "after": "**Returns:** act on a group's new messages by its rules, as the bot; joins are not judged" } ], "es": [ { "before": "\njudge a group's new messages and joins by its rules, and act as they allow — as the bot\n", "after": "\njudge a group's new messages by its rules, and act as they allow — as the bot; joins are not judged\n" - }, - { - "before": "**Returns:** act on a group's new messages and joins by its rules, as the bot", - "after": "**Returns:** act on a group's new messages by its rules, as the bot; joins are not judged" } ] } @@ -111,31 +49,6 @@ ] } }, - { - "tool": "tg", - "slug": "sessions", - "reason": "Explicit beginner login instructions: distinguish app credentials/account/session, copyable complete commands, QR and phone sequences, code-delivery limitations, named account profiles and inactivity vs overall session lifetime. Verified against TG session.ts, Telegram auth/API documentation and official Desktop inactivity selector. The en text is also in WireCatLabs/tg-cli#922 (2026-11-23). At the next pin bump, move this entry's es/ru replacements into translations/tg/sessions..md and refresh sources.json, then drop the entry; dropping it alone brings the old es/ru text back.", - "replacements": { - "ru": [ - { - "before": "\nПрофиль — отдельный вход со своей сессией, приложением, настройками, получателями и записями запусков. Имя указывается **первым словом**, а не параметром:\n\n", - "after": "\nПрофиль — именованное подключение аккаунта Telegram в CLI. Обычно отдельный профиль создают для каждого номера: например, `personal` для личного аккаунта и `work` для рабочего. У каждого подключения свои сессия входа, данные приложения, настройки, разрешённые получатели и записи запусков.\n\nИмя `work` — выбранная вами метка, а не номер телефона. Чтобы подключить рабочий аккаунт, выполните:\n\n```sh\ntg work session start --app browser\n```\n\nПри регистрации приложения укажите рабочий номер; при QR-входе переключите Telegram на телефоне на рабочий аккаунт. После входа проверьте, какой аккаунт связан с меткой:\n\n```sh\ntg work account show\n```\n\nОдин и тот же аккаунт тоже можно подключить в нескольких профилях; профиль сам по себе не создаёт новый аккаунт Telegram. Имя профиля указывается **первым словом после `tg`**, перед командой:\n\n" - } - ], - "en": [ - { - "before": "\nA profile is a separate login: its own session, app, settings, recipients and runs. It is named by\n**the first word**, not by an option:\n\n", - "after": "\nA profile is a named connection to a Telegram account in the CLI. Usually you use one per phone number: for example `personal` for a personal account and `work` for a work account. Each connection has its own login session, application credentials, settings, allowed recipients and run records.\n\n`work` is a label you choose, not a phone number. Connect a work account with:\n\n```sh\ntg work session start --app browser\n```\n\nUse the work number to register credentials; for QR login, switch Telegram on your phone to the work account. Then check which account the label refers to:\n\n```sh\ntg work account show\n```\n\nYou can also connect the same account in multiple profiles; a profile does not create a Telegram account. The profile name is **the first word after `tg`**, before the command:\n\n" - } - ], - "es": [ - { - "before": "\nUn perfil es una sesión independiente, con su propia aplicación, configuración, destinatarios y ejecuciones. Su nombre es **la primera palabra** del comando, no una opción:\n\n", - "after": "\nUn perfil es una conexión con nombre a una cuenta Telegram en el CLI. Normalmente usas uno por número: `personal` para la cuenta personal y `work` para la cuenta laboral. Cada conexión tiene su sesión, credenciales de aplicación, ajustes, destinatarios permitidos y ejecuciones.\n\n`work` es una etiqueta que eliges, no un número. Conecta la cuenta laboral con:\n\n```sh\ntg work session start --app browser\n```\n\nUsa el número laboral para registrar credenciales; para el QR, cambia Telegram del teléfono a la cuenta laboral. Comprueba después qué cuenta corresponde a la etiqueta:\n\n```sh\ntg work account show\n```\n\nPuedes conectar la misma cuenta en varios perfiles; un perfil no crea una cuenta Telegram. Su nombre es **la primera palabra después de `tg`**, antes del comando:\n\n" - } - ] - } - }, { "tool": "max", "slug": "sessions", @@ -161,31 +74,6 @@ ] } }, - { - "tool": "tg", - "slug": "usage", - "reason": "Distinguish syntax templates from executable commands and link first-login terminology to explicit full commands and the step-by-step login guide. The en text is also in WireCatLabs/tg-cli#922 (2026-11-23). At the next pin bump, move this entry's es/ru replacements into translations/tg/usage..md and refresh sources.json, then drop the entry; dropping it alone brings the old es/ru text back.", - "replacements": { - "en": [ - { - "before": "```sh\ntg [profile] [options] [arguments]\n```", - "after": "The following is a syntax template, not a command to copy. Replace placeholders with the values shown in the examples below.\n\n```text\ntg [profile] [options] [arguments]\n```" - } - ], - "ru": [ - { - "before": "```sh\ntg [profile] [options] [arguments]\n```", - "after": "Ниже схема команды, а не команда для копирования. Вместо обозначений в скобках подставляют значения, как в примерах ниже.\n\n```text\ntg [profile] [options] [arguments]\n```" - } - ], - "es": [ - { - "before": "```sh\ntg [profile] [options] [arguments]\n```", - "after": "Esto es una plantilla de sintaxis, no un comando para copiar. Sustituye los marcadores por los valores de los ejemplos siguientes.\n\n```text\ntg [profile] [options] [arguments]\n```" - } - ] - } - }, { "tool": "max", "slug": "usage", @@ -413,56 +301,6 @@ ] } }, - { - "tool": "tg", - "slug": "usage", - "reason": "Scope repeat safety to topic edits and ordering; released guide explicitly forbids blindly replaying topic creation after unknown outcome. The en text is also in WireCatLabs/tg-cli#922 (2026-11-23). At the next pin bump, move this entry's es/ru replacements into translations/tg/usage..md and refresh sources.json, then drop the entry; dropping it alone brings the old es/ru text back.", - "replacements": { - "en": [ - { - "before": "Repeating any of these is safe.", - "after": "Repeating topic edits and ordering is safe. After an unknown creation outcome, inspect the topic list before creating again." - } - ], - "ru": [ - { - "before": "Повторение любого из этих действий безопасно.", - "after": "Правку и порядок тем можно безопасно повторять. Если исход создания неизвестен, сначала проверьте список тем, прежде чем создавать снова." - } - ], - "es": [ - { - "before": "Las demás escrituras (fijar, reaccionar, marcar como leído, borrar, votar, carpetas, contactos) terminan igual con el código de salida `14` cuando Telegram no responde; el mensaje indica si es seguro repetir.", - "after": "Es seguro repetir las ediciones y el orden de temas. Tras una creación de resultado desconocido, comprueba la lista de temas antes de crear de nuevo." - } - ] - } - }, - { - "tool": "tg", - "slug": "groups", - "reason": "Separate mutually exclusive approval flags into concrete command examples; a pipe inside a flag is illustrative shorthand, not executable syntax. tg refuses --approval together with --max-uses, so the limit goes with --no-approval. Topic search moved to `tg search topics`; `tg topics search` no longer exists. The en text is also in WireCatLabs/tg-cli#922 (2026-11-23). At the next pin bump, move this entry's es/ru replacements into translations/tg/groups..md and refresh sources.json, then drop the entry; dropping it alone brings the old es/ru text back.", - "replacements": { - "en": [ - { - "before": "`tg personal chats links update --approval\\|--no-approval --expire-time