From 6083472c17192409b781f5093e9ded531419dbdc Mon Sep 17 00:00:00 2001 From: leemour Date: Thu, 26 Nov 2026 17:15:43 +0100 Subject: [PATCH] revert(docs): say account list again until the tg, max and wa pins move The site build stops on main since #740: `pnpm sync` refuses the max, tg and wa translations because their commands no longer match the pinned sources. The site pins max v0.111.0, tg v0.136.0 and wa v0.38.0, and all three still say `account list` there. max has not shipped `session list` in any release yet (v0.119.0 still says `account list`). Every Deploy run fails at the sync step, so no docs change reaches wirecat.dev. This reverts commit 1cd343f966863eacd3a053d20c206285f5f7fe7e. The new name comes back with each tool when its docsRef moves to a release that says `session list` (tg v0.137.0 and wa v0.48.0 already do). Checked locally: pnpm sync (all 18 tools), docs:contracts, docs:check. Co-Authored-By: Claude Opus 5.5 --- translations/max/configuration-reference.en.md | 2 +- translations/max/configuration-reference.es.md | 2 +- translations/max/profiles.en.md | 4 ++-- translations/max/profiles.es.md | 4 ++-- translations/max/sessions.en.md | 4 ++-- translations/max/sessions.es.md | 4 ++-- translations/max/usage.en.md | 2 +- translations/max/usage.es.md | 2 +- translations/tg/profiles.es.md | 4 ++-- translations/tg/profiles.ru.md | 4 ++-- translations/tg/sessions.es.md | 4 ++-- translations/tg/sessions.ru.md | 4 ++-- translations/tg/usage.es.md | 2 +- translations/tg/usage.ru.md | 2 +- translations/wa/bot.es.md | 2 +- translations/wa/bot.ru.md | 2 +- translations/wa/profiles.es.md | 4 ++-- translations/wa/profiles.ru.md | 4 ++-- translations/wa/sessions.es.md | 4 ++-- translations/wa/sessions.ru.md | 4 ++-- 20 files changed, 32 insertions(+), 32 deletions(-) diff --git a/translations/max/configuration-reference.en.md b/translations/max/configuration-reference.en.md index 09b96bba..7c8556ff 100644 --- a/translations/max/configuration-reference.en.md +++ b/translations/max/configuration-reference.en.md @@ -60,7 +60,7 @@ Output contains no secrets: the configuration file has no fields in which to sto ## Configuration file -`~/.config/max-cli/config.json` on Linux; Paths on other systems are in the [Settings Guide](./configuration.md#где-лежит-файл). The first command that reads the settings, such as `config show`, `session list` or `chats list`, creates it with `limit`, `keep_runs_for_days`, `sends_per_hour`, `update_check` and `skill_hint` in `defaults`. The file is created and written by `max personal config set` with mode `0600`, and its folder with `0700`. `max personal doctor` names a file or folder that other users can read in `files.problems` and prints the `chmod` that fixes it. `max personal doctor` only reads the file: if it is missing, it answers `config.found: false` and does not create it. +`~/.config/max-cli/config.json` on Linux; Paths on other systems are in the [Settings Guide](./configuration.md#где-лежит-файл). The first command that reads the settings, such as `config show`, `account list` or `chats list`, creates it with `limit`, `keep_runs_for_days`, `sends_per_hour`, `update_check` and `skill_hint` in `defaults`. The file is created and written by `max personal config set` with mode `0600`, and its folder with `0700`. `max personal doctor` names a file or folder that other users can read in `files.problems` and prints the `chmod` that fixes it. `max personal doctor` only reads the file: if it is missing, it answers `config.found: false` and does not create it. Setting names are written in snake_case: `sends_per_hour`, `keep_runs_for_days`, `models.<назначение>.base_url`. diff --git a/translations/max/configuration-reference.es.md b/translations/max/configuration-reference.es.md index be493eac..4bab8617 100644 --- a/translations/max/configuration-reference.es.md +++ b/translations/max/configuration-reference.es.md @@ -63,7 +63,7 @@ No aparecen secretos: el archivo no dispone de campos para guardarlos. ## Archivo -`~/.config/max-cli/config.json` en Linux; rutas en otros sistemas - en [guía de configuración](./configuration.md#где-лежит-файл). El primer comando que lee la configuración, por ejemplo `config show`, `session list` o `chats list`, lo crea con `limit`, `keep_runs_for_days`, `sends_per_hour`, `update_check` y `skill_hint` en `defaults`. El archivo se crea y `max personal config set` lo escribe con permisos `0600`; su carpeta, con `0700`. `max personal doctor` nombra en `files.problems` el archivo o la carpeta que otros usuarios pueden leer e imprime el `chmod` que lo corrige. `max personal doctor` solo lee el archivo: si no existe, responde `config.found: false` y no lo crea. +`~/.config/max-cli/config.json` en Linux; rutas en otros sistemas - en [guía de configuración](./configuration.md#где-лежит-файл). El primer comando que lee la configuración, por ejemplo `config show`, `account list` o `chats list`, lo crea con `limit`, `keep_runs_for_days`, `sends_per_hour`, `update_check` y `skill_hint` en `defaults`. El archivo se crea y `max personal config set` lo escribe con permisos `0600`; su carpeta, con `0700`. `max personal doctor` nombra en `files.problems` el archivo o la carpeta que otros usuarios pueden leer e imprime el `chmod` que lo corrige. `max personal doctor` solo lee el archivo: si no existe, responde `config.found: false` y no lo crea. Los nombres de los ajustes se escriben en snake_case: `sends_per_hour`, `keep_runs_for_days`, `models.<назначение>.base_url`. diff --git a/translations/max/profiles.en.md b/translations/max/profiles.en.md index c070c698..471d5986 100644 --- a/translations/max/profiles.en.md +++ b/translations/max/profiles.en.md @@ -14,7 +14,7 @@ Use this page when you need a second account, want your AI agent to have fewer p | Give an agent fewer permissions than you | A profile with its own [permissions](./permissions.md) | | Keep the agent in this profile | `MAX_PROFILE_LOCK` ([session profiles](./sessions.md#профили)) | | Run a MAX bot alongside your account | A bot profile: `max support bot api get-my-info` | -| See all profiles on this computer | `max session list` | +| See all profiles on this computer | `max account list` | ## Choose a profile @@ -24,7 +24,7 @@ Put the profile name before the command: max work config show ``` -`max session list` shows every profile on this computer and its account; `max work session end` logs the `work` profile out of MAX. +`max account list` shows every profile on this computer and its account; `max work session end` logs the `work` profile out of MAX. An entry in `profiles.work` in the configuration file applies to that profile; `defaults` supplies values that the profile does not override. See [session profiles](./sessions.md#профили) for profile-name rules and how `max` selects a profile. diff --git a/translations/max/profiles.es.md b/translations/max/profiles.es.md index bf241f88..24bcdb8e 100644 --- a/translations/max/profiles.es.md +++ b/translations/max/profiles.es.md @@ -14,7 +14,7 @@ Lea esta página si necesita una segunda cuenta, si el agente de IA necesita men | Dar menos permisos al agente | Perfil con sus [permisos](./permissions.md) | | Mantener al agente en ese perfil | `MAX_PROFILE_LOCK` ([perfiles y sesiones](./sessions.md#профили)) | | Usar un bot junto a la cuenta personal | Perfil de bot: `max support bot api get-my-info` | -| Ver todos los perfiles locales | `max session list` | +| Ver todos los perfiles locales | `max account list` | ## Elegir un perfil @@ -24,7 +24,7 @@ Coloque el nombre del perfil delante del comando: max work config show ``` -`max session list` muestra los perfiles locales y sus cuentas; `max work session end` cierra la sesión MAX del perfil `work`. +`max account list` muestra los perfiles locales y sus cuentas; `max work session end` cierra la sesión MAX del perfil `work`. La entrada en `profiles.work` en el archivo de configuración es válida para este perfil; `defaults` se utiliza cuando no hay ningún valor. Las reglas para los nombres de los perfiles y el orden en el que `max` selecciona un perfil se encuentran en la sección [perfiles en el inicio de sesión y las sesiones de](./sessions.md#профили). diff --git a/translations/max/sessions.en.md b/translations/max/sessions.en.md index cca4da49..ecd9db43 100644 --- a/translations/max/sessions.en.md +++ b/translations/max/sessions.en.md @@ -86,7 +86,7 @@ MAX_TOKEN="$(cat /path/to/token)" max personal chats list --json ```sh max personal account show # под кем выполнен вход: id, имя, последние четыре цифры телефона -max session list # все профили на этом компьютере и аккаунт каждого +max account list # все профили на этом компьютере и аккаунт каждого max personal account sessions list # все устройства и приложения, вошедшие в аккаунт; ничего не завершает max personal session end # выйти из MAX и забыть токен на этой машине ``` @@ -129,7 +129,7 @@ Order, first match wins: first word, `MAX_PROFILE`. If none of these is set, a c ✗ name a profile: `max …` — profiles here: personal (or set MAX_PROFILE) ``` -On a computer with no profiles, the message says how to create the first one: `max personal setup`. Without a profile, only commands that do not need an account work: `--help`, `--version`, `commands`, `skill show`, `session list`, `config show`. +On a computer with no profiles, the message says how to create the first one: `max personal setup`. Without a profile, only commands that do not need an account work: `--help`, `--version`, `commands`, `skill show`, `account list`, `config show`. If the first word is not a command and no command follows it, the program explains what happened instead of silently displaying help: diff --git a/translations/max/sessions.es.md b/translations/max/sessions.es.md index 45bf9f8d..8a2c9ee3 100644 --- a/translations/max/sessions.es.md +++ b/translations/max/sessions.es.md @@ -92,7 +92,7 @@ MAX_TOKEN="$(cat /path/to/token)" max personal chats list --json ```sh max personal account show # под кем выполнен вход: id, имя, последние четыре цифры телефона -max session list # все профили на этом компьютере и аккаунт каждого +max account list # все профили на этом компьютере и аккаунт каждого max personal account sessions list # все устройства и приложения, вошедшие в аккаунт; ничего не завершает max personal session end # выйти из MAX и забыть токен на этой машине ``` @@ -135,7 +135,7 @@ Orden, gana la primera coincidencia: primera palabra, `MAX_PROFILE`. Si no hay n ✗ name a profile: `max …` — profiles here: personal (or set MAX_PROFILE) ``` -En un ordenador sin perfiles, el mensaje indica cómo crear el primero: `max personal setup`. Sin perfil solo funcionan los comandos que no necesitan una cuenta: `--help`, `--version`, `commands`, `skill show`, `session list`, `config show`. +En un ordenador sin perfiles, el mensaje indica cómo crear el primero: `max personal setup`. Sin perfil solo funcionan los comandos que no necesitan una cuenta: `--help`, `--version`, `commands`, `skill show`, `account list`, `config show`. Si la primera palabra no es un comando y tampoco aparece otro después, el programa explica lo ocurrido en lugar de limitarse a mostrar la ayuda: diff --git a/translations/max/usage.en.md b/translations/max/usage.en.md index 4d92fc0d..e62933a3 100644 --- a/translations/max/usage.en.md +++ b/translations/max/usage.en.md @@ -106,7 +106,7 @@ max personal account show --hide-phone # без номера ``` ```sh -max session list # все профили на этом компьютере и аккаунт каждого; в MAX не обращается +max account list # все профили на этом компьютере и аккаунт каждого; в MAX не обращается ``` ```sh diff --git a/translations/max/usage.es.md b/translations/max/usage.es.md index acdc12d9..869f3f88 100644 --- a/translations/max/usage.es.md +++ b/translations/max/usage.es.md @@ -124,7 +124,7 @@ max personal account show --hide-phone # без номера ``` ```sh -max session list # все профили на этом компьютере и аккаунт каждого; в MAX не обращается +max account list # все профили на этом компьютере и аккаунт каждого; в MAX не обращается ``` ```sh diff --git a/translations/tg/profiles.es.md b/translations/tg/profiles.es.md index 5732fd2b..726b2594 100644 --- a/translations/tg/profiles.es.md +++ b/translations/tg/profiles.es.md @@ -14,7 +14,7 @@ Lea esta página cuando desee una segunda cuenta, desee que su agente de IA teng | Dale a tu agente menos derechos de los que tienes | Un perfil con sus propios [permisos](./permissions.md) | | Mantenga un agente en ese perfil | `TG_PROFILE_LOCK` ([perfiles en inicio de sesión y sesiones](./sessions.md#profiles)) | | Ejecute un bot de Telegram junto a su cuenta | Un perfil de bot: `tg support bot api get-me` | -| Ver todos los perfiles en esta computadora | `tg session list` | +| Ver todos los perfiles en esta computadora | `tg account list` | ## Elige un perfil @@ -24,7 +24,7 @@ Coloque el nombre del perfil antes del comando: tg work config show ``` -`tg session list` muestra todos los perfiles en esta computadora y la cuenta con la que cada uno inició sesión; `tg work session end` cierra la sesión del perfil `work`. +`tg account list` muestra todos los perfiles en esta computadora y la cuenta con la que cada uno inició sesión; `tg work session end` cierra la sesión del perfil `work`. Una configuración en `profiles.work` en el archivo de configuración se aplica a ese perfil; Los valores bajo `defaults` se aplican cuando no tiene valor propio. Las reglas para los nombres de los perfiles y el orden en el que `tg` elige un perfil se encuentran en [perfiles en inicios de sesión y sesiones](./sessions.md#profiles). diff --git a/translations/tg/profiles.ru.md b/translations/tg/profiles.ru.md index 2806f429..7b674310 100644 --- a/translations/tg/profiles.ru.md +++ b/translations/tg/profiles.ru.md @@ -14,7 +14,7 @@ title: "Профили и боты" | Дайте вашему агенту меньше прав, чем у вас есть | Профиль со своими [разрешениями](./permissions.md) | | Оставьте агента в этом профиле | `TG_PROFILE_LOCK` ([профили в логине и сессиях](./sessions.md#profiles)) | | Запустите бота Telegram рядом со своей аккаунтом | Профиль бота: `tg support bot api get-me` | -| Просмотреть все профили на этом компьютере | `tg session list` | +| Просмотреть все профили на этом компьютере | `tg account list` | ## Выберите профиль @@ -24,7 +24,7 @@ title: "Профили и боты" tg work config show ``` -`tg session list` показывает все профили на этом компьютере и аккаунт, под которой выполнен вход; `tg work session end` завершает вход профиля `work`. +`tg account list` показывает все профили на этом компьютере и аккаунт, под которой выполнен вход; `tg work session end` завершает вход профиля `work`. К этому профилю применяется параметр `profiles.work` в файле конфигурации; значения `defaults` применяются, когда он не имеет собственного значения. Правила для имен профилей и порядок, в котором `tg` выбирает профиль, находятся в [профили при входе и сессии](./sessions.md#profiles). diff --git a/translations/tg/sessions.es.md b/translations/tg/sessions.es.md index ec072706..0da6e256 100644 --- a/translations/tg/sessions.es.md +++ b/translations/tg/sessions.es.md @@ -126,7 +126,7 @@ Si tu cuenta tiene una contraseña de verificación en dos pasos (2FA), `tg` la ```sh tg personal account show # who this profile is logged in as -tg session list # every profile on this computer, and the account each is logged in as +tg account list # every profile on this computer, and the account each is logged in as tg personal account sessions list # every device and app logged in to the account; ends nothing tg personal session end # log out on Telegram's side, and delete the session file here ``` @@ -167,7 +167,7 @@ export TG_PROFILE=work # the same for the whole shell session **La primera palabra es el perfil si no es un comando.** Por eso un perfil no puede llamarse `chats`, `messages` ni usar otra palabra de comando; `tg personal session start` rechaza esos nombres. Los nombres admiten letras, cifras, puntos, guiones y guiones bajos, y deben empezar por una letra o cifra. -El orden de prioridad, de mayor a menor, es: primera palabra, luego `TG_PROFILE`. Si no hay ninguno, un comando que usa una cuenta se detiene con el código de salida `2` y muestra la lista de perfiles de esta computadora; si todavía no hay ninguno, indica que ejecutes `tg personal setup`. `tg` nunca elige uno, ni siquiera el único que hay. Los comandos que no usan ninguna cuenta funcionan sin perfil: `--help`, `--version`, `commands`, `skill show`, `session list` y `config show`. +El orden de prioridad, de mayor a menor, es: primera palabra, luego `TG_PROFILE`. Si no hay ninguno, un comando que usa una cuenta se detiene con el código de salida `2` y muestra la lista de perfiles de esta computadora; si todavía no hay ninguno, indica que ejecutes `tg personal setup`. `tg` nunca elige uno, ni siquiera el único que hay. Los comandos que no usan ninguna cuenta funcionan sin perfil: `--help`, `--version`, `commands`, `skill show`, `account list` y `config show`. Si una palabra no es un comando y no va seguida de ningún comando, se muestra este error: diff --git a/translations/tg/sessions.ru.md b/translations/tg/sessions.ru.md index 5a7a2210..9c372f6b 100644 --- a/translations/tg/sessions.ru.md +++ b/translations/tg/sessions.ru.md @@ -130,7 +130,7 @@ tg personal session start qr ```sh tg personal account show # who this profile is logged in as -tg session list # every profile on this computer, and the account each is logged in as +tg account list # every profile on this computer, and the account each is logged in as tg personal account sessions list # every device and app logged in to the account; ends nothing tg personal session end # log out on Telegram's side, and delete the session file here ``` @@ -171,7 +171,7 @@ export TG_PROFILE=work # the same for the whole shell session **Первое слово считается профилем, если это не команда.** Поэтому профиль нельзя назвать `chats`, `messages` или другим словом команды; `tg personal session start` отклоняет такое имя. Разрешены буквы, цифры, точки, дефисы и подчёркивания; первый символ — буква или цифра. -Приоритет: сначала первое слово команды, затем `TG_PROFILE`. Если нет ни того, ни другого, команда, которой нужен аккаунт, останавливается с кодом выхода `2` и перечисляет профили на этом компьютере; если профилей ещё нет, она предлагает запустить `tg personal setup`. `tg` никогда не выбирает профиль сам, даже единственный. Команды, которым аккаунт не нужен, работают без профиля: `--help`, `--version`, `commands`, `skill show`, `session list` и `config show`. +Приоритет: сначала первое слово команды, затем `TG_PROFILE`. Если нет ни того, ни другого, команда, которой нужен аккаунт, останавливается с кодом выхода `2` и перечисляет профили на этом компьютере; если профилей ещё нет, она предлагает запустить `tg personal setup`. `tg` никогда не выбирает профиль сам, даже единственный. Команды, которым аккаунт не нужен, работают без профиля: `--help`, `--version`, `commands`, `skill show`, `account list` и `config show`. Слово, которое не является командой и за которым нет команды, вызывает поясняющую ошибку: diff --git a/translations/tg/usage.es.md b/translations/tg/usage.es.md index e59248a3..73278872 100644 --- a/translations/tg/usage.es.md +++ b/translations/tg/usage.es.md @@ -128,7 +128,7 @@ tg personal account show --hide-phone # the same without the phone number ``` ```sh -tg session list # every profile on this computer and the account each is logged in as +tg account list # every profile on this computer and the account each is logged in as ``` ```sh diff --git a/translations/tg/usage.ru.md b/translations/tg/usage.ru.md index 69522169..f69f738d 100644 --- a/translations/tg/usage.ru.md +++ b/translations/tg/usage.ru.md @@ -128,7 +128,7 @@ tg personal account show --hide-phone # the same without the phone number ``` ```sh -tg session list # every profile on this computer and the account each is logged in as +tg account list # every profile on this computer and the account each is logged in as ``` ```sh diff --git a/translations/wa/bot.es.md b/translations/wa/bot.es.md index 5ce905ba..e2c695e1 100644 --- a/translations/wa/bot.es.md +++ b/translations/wa/bot.es.md @@ -22,7 +22,7 @@ title: "Un número de WhatsApp Business como bot" | `bot mcp serve` | Los comandos del bot como herramientas MCP para un agente. | | `bot list` | Cada perfil de bot de este ordenador que tiene un token; `--check` pregunta a Meta qué número es cada uno. No necesita la palabra del perfil. | -Un perfil de bot no es una de tus cuentas: `wa session list` omite un nombre que solo usa un bot, y marca con `bot: true` un nombre que es tu cuenta y también un bot. +Un perfil de bot no es una de tus cuentas: `wa account list` omite un nombre que solo usa un bot, y marca con `bot: true` un nombre que es tu cuenta y también un bot. Un chat es el número de teléfono de la persona en dígitos, como `70000000001`. Meta nombra a algunas personas solo mediante una identificación de usuario de ámbito empresarial; `bot watch` muestra ese chat como `user:` y lo envías de la misma manera. diff --git a/translations/wa/bot.ru.md b/translations/wa/bot.ru.md index ca00bcaa..393b0097 100644 --- a/translations/wa/bot.ru.md +++ b/translations/wa/bot.ru.md @@ -22,7 +22,7 @@ title: "Бизнес-номер WhatsApp как бот" | `bot mcp serve` | Команды бота как инструменты MCP для агента. | | `bot list` | Все профили ботов на этом компьютере, у которых есть токен; `--check` спрашивает у Meta, какой номер у каждого. Слово профиля не нужно. | -Профиль бота — это не один из ваших аккаунтов: `wa session list` не показывает имя, которое использует только бот, а имя, которое одновременно ваш аккаунт и бот, помечает `bot: true`. +Профиль бота — это не один из ваших аккаунтов: `wa account list` не показывает имя, которое использует только бот, а имя, которое одновременно ваш аккаунт и бот, помечает `bot: true`. Чат — это номер телефона человека, записанный цифрами, например `70000000001`. Мета называет некоторых людей только по идентификатору пользователя, связанного с бизнесом; `bot watch` показывает этот чат как `user:`, и вы отправляете в него сообщения таким же образом. diff --git a/translations/wa/profiles.es.md b/translations/wa/profiles.es.md index b90bb11c..5dcc7ed2 100644 --- a/translations/wa/profiles.es.md +++ b/translations/wa/profiles.es.md @@ -13,7 +13,7 @@ Lee esta página si quieres una segunda cuenta o que tu agente de IA tenga menos | Usa dos cuentas de WhatsApp en una computadora | Vincula una vez por perfil: `wa work session start` | | Dale a tu agente menos derechos de los que tienes | Un perfil con sus propios [permisos](./permissions.md) | | Mantén un agente en ese perfil | `WA_PROFILE_LOCK` ([perfiles en vinculación](./sessions.md#profiles)) | -| Ver todos los perfiles en esta computadora | `wa session list` | +| Ver todos los perfiles en esta computadora | `wa account list` | ## Elige un perfil @@ -23,7 +23,7 @@ Pon el nombre del perfil antes del comando: wa work config show ``` -`wa session list` muestra todos los perfiles en esta computadora y la cuenta a la que está vinculado cada uno; `wa work session end` desvincula el perfil `work`. +`wa account list` muestra todos los perfiles en esta computadora y la cuenta a la que está vinculado cada uno; `wa work session end` desvincula el perfil `work`. Una configuración en `profiles.work` en el archivo de configuración se aplica a ese perfil; los valores bajo `defaults` se aplican cuando no tiene valor propio. Las reglas para los nombres de los perfiles y el orden en el que `wa` elige un perfil se encuentran en [perfiles en la vinculación](./sessions.md#profiles). diff --git a/translations/wa/profiles.ru.md b/translations/wa/profiles.ru.md index 42676690..e28e84d0 100644 --- a/translations/wa/profiles.ru.md +++ b/translations/wa/profiles.ru.md @@ -13,7 +13,7 @@ title: "Профили" | Использовать два аккаунта WhatsApp на одном компьютере | Привязать каждый профиль: `wa work session start` | | Дать агенту меньше прав, чем у вас | Профиль со своими [разрешениями](./permissions.md) | | Ограничить агента одним профилем | `WA_PROFILE_LOCK` ([профили при подключении](./sessions.md#profiles)) | -| Просмотреть все профили на этом компьютере | `wa session list` | +| Просмотреть все профили на этом компьютере | `wa account list` | ## Выберите профиль @@ -23,7 +23,7 @@ title: "Профили" wa work config show ``` -`wa session list` показывает каждый профиль на этом компьютере и аккаунт, к которому он привязан; `wa work session end` отключает профиль `work`. +`wa account list` показывает каждый профиль на этом компьютере и аккаунт, к которому он привязан; `wa work session end` отключает профиль `work`. К этому профилю применяется параметр `profiles.work` в файле конфигурации; значения `defaults` применяются, когда он не имеет собственного значения. Правила для имен профилей и порядок, в котором `wa` выбирает профиль, находятся в [профилях при подключении](./sessions.md#profiles). diff --git a/translations/wa/sessions.es.md b/translations/wa/sessions.es.md index 6f534f57..b7058d47 100644 --- a/translations/wa/sessions.es.md +++ b/translations/wa/sessions.es.md @@ -49,7 +49,7 @@ Una aplicación que muestra el enlace en su propia ventana, como WireCat Desktop ```sh wa personal account show # who this profile is linked as; the phone number shows only its last four digits -wa session list # every profile on this computer, and the account each is linked as +wa account list # every profile on this computer, and the account each is linked as wa personal session end # unlink the device on WhatsApp's side, and delete its keys here ``` @@ -99,7 +99,7 @@ export WA_PROFILE=work # the same for the whole shell session **La primera palabra es el perfil cuando no es un comando.** Por lo tanto, un perfil no puede llamarse `chats`, `messages` ni ninguna otra palabra de comando. Los nombres son letras, dígitos, punto, guión y guión bajo, y comienzan con una letra o un dígito. -Se utiliza la primera coincidencia en este orden: la primera palabra, luego `WA_PROFILE`. Sin ninguno de los dos, un comando que usa una cuenta se detiene con el código de salida `2` y enumera los perfiles en esta computadora. `wa` nunca elige uno, ni siquiera el único. Los comandos que no utilizan ninguna cuenta se ejecutan sin un perfil: `--help`, `--version`, `commands`, `skill show`, `session list` y `config show`. +Se utiliza la primera coincidencia en este orden: la primera palabra, luego `WA_PROFILE`. Sin ninguno de los dos, un comando que usa una cuenta se detiene con el código de salida `2` y enumera los perfiles en esta computadora. `wa` nunca elige uno, ni siquiera el único. Los comandos que no utilizan ninguna cuenta se ejecutan sin un perfil: `--help`, `--version`, `commands`, `skill show`, `account list` y `config show`. **`WA_PROFILE_LOCK` fija un proceso a un perfil.** Configúrelo donde se ejecuta un agente y se rechaza una primera palabra o `WA_PROFILE` que nombre cualquier otro perfil (código de salida `5`). Sin él, un agente podría elegir un perfil con menos límites. diff --git a/translations/wa/sessions.ru.md b/translations/wa/sessions.ru.md index b9f05beb..96e738eb 100644 --- a/translations/wa/sessions.ru.md +++ b/translations/wa/sessions.ru.md @@ -49,7 +49,7 @@ wa personal session start qr ```sh wa personal account show # who this profile is linked as; the phone number shows only its last four digits -wa session list # every profile on this computer, and the account each is linked as +wa account list # every profile on this computer, and the account each is linked as wa personal session end # unlink the device on WhatsApp's side, and delete its keys here ``` @@ -101,7 +101,7 @@ export WA_PROFILE=work # the same for the whole shell session **Первое слово — это профиль, если оно не является командой.** Поэтому профиль не может называться `chats`, `messages` или каким-либо другим командным словом. Имена состоят из букв, цифр, точки, тире и подчеркивания, начинающиеся с буквы или цифры. -Порядок: побеждает первое совпадение: первое слово, затем `WA_PROFILE`. В противном случае команда, использующая аккаунт, останавливается с кодом выхода `2` и выводит список профилей на этом компьютере. `wa` никогда не выбирает ни одного, даже единственного. Команды, не использующие аккаунт, выполняются без профиля: `--help`, `--version`, `commands`, `skill show`, `session list` и `config show`. +Порядок: побеждает первое совпадение: первое слово, затем `WA_PROFILE`. В противном случае команда, использующая аккаунт, останавливается с кодом выхода `2` и выводит список профилей на этом компьютере. `wa` никогда не выбирает ни одного, даже единственного. Команды, не использующие аккаунт, выполняются без профиля: `--help`, `--version`, `commands`, `skill show`, `account list` и `config show`. **`WA_PROFILE_LOCK` прикрепляет процесс к одному профилю.** Установите его там, где запускается агент, и первое слово или `WA_PROFILE`, называющее любой другой профиль, будет отклонено (код выхода `5`). Без него агент мог бы выбрать профиль с меньшими ограничениями.