Skip to content

Release v2.3.0

Choose a tag to compare

@github-actions github-actions released this 16 Sep 16:26
· 32 commits to main since this release
476f470

The release that gives the project a home on the web. A bilingual documentation
site is published from this repository's own Markdown and works on phones as
well as desktops. The CLI's output is reworked for terminals and scripts that
do not want decoration, and a TLS advisory is fixed.

Upgrading? Three output changes can affect scripts that read what the tool
prints — they are marked Breaking for scripts under Changed. Nothing
changes in config.json, settings.json, the command names, flags or exit
codes.

Security

  • CLI: rustls updated to 0.23.45 for
    RUSTSEC-2026-0285:
    TLS 1.3 handshake messages sent across an encryption-level boundary were
    accepted instead of rejected. reqwest uses it for every HTTPS request the
    tool makes — status, ping, speedtest, monitor, imports from a URL.
  • Website: The site's build dependencies are updated past advisories in
    astro (critical: remote code execution through AVIF image optimisation),
    sharp, svgo and js-yaml. Astro moves to 7.3.2. These affect only the
    site build, not the CLI.

Added

Documentation website

  • Website: A documentation site at
    lebedevkondakovsergeyvach.github.io/Terminal-Session-Proxy-Manager,
    in English and Russian (/ru/), built with Astro Starlight. Its pages are
    generated from README*.md, docs/*.md, CONTRIBUTING.md and the
    changelogs at build time, so the site and the files on GitHub cannot drift
    apart.
  • Website: A home page with the project's features side by side with
    terminal screenshots in light and dark variants, and quick-start tiles.
  • Website: Material Design 3 styling whose whole palette is derived from
    the project's rust orange, in light and dark, with smooth transitions between
    pages that fall back to a plain swap when reduced motion is requested.
  • Website: A three-way theme switch — light, auto (follows the system) and
    dark — with a circular reveal when the theme changes.
  • Website: Full-text search, with quick links to the main guides while the
    search box is empty, and a search interface translated into Russian.
  • Website: Install instructions in tabs (Homebrew, Cargo, prebuilt binary),
    step-by-step guides, colour-coded callouts, terminal-framed code blocks with
    a copy button, and screenshots that zoom on click or tap.
  • Website: Works on phones and touch screens:
    • wide tables scroll sideways instead of being cut off;
    • tab labels wrap on narrow screens instead of running off the edge;
    • buttons, tabs and selects are at least 44px tall to tap;
    • hover effects apply only with a mouse, so a tapped card no longer stays
      raised;
    • the header fits a 320px-wide screen;
    • on phones the theme and language controls of a docs page live in the
      menu.
  • Website: A round home button beside the site title on every docs page, on
    phones and desktops, labelled "Home" / "На главную" for screen readers.
  • Website: The project's logo in the header of the home page, its own
    favicon, and an icon for home-screen bookmarks on iOS.
  • Website: A custom 404 page in both languages, with links back into the
    documentation and a way home on every screen width.
  • Website: A preview image for links shared on social networks and in
    messengers, and llms.txt for machine readers.
  • Website: The build fails on a broken internal link, so a dead link cannot
    reach the published site.

Documentation

  • Docs: CHANGELOG.ru.md — the release history in Russian, published at
    /ru/changelog/. README.ru.md now links to it rather than to the English
    file.
  • Docs: docs/SHELL_INTEGRATION.md explains why the shell function is
    needed, with a sequence diagram; docs/USAGE.md opens with the subcommands
    grouped into four categories.
  • Docs: The READMEs carry a badge linking to the documentation site.

CLI and configuration

  • Config: OpenAI (https://status.openai.com/api/v2/status.json) and
    Anthropic (https://www.anthropic.com) joined the default ping_targets.
    Existing configs keep their own list.
  • CLI: After switching, proxy switch and proxy use <key> end the
    confirmation line with [ON] or [OFF] — whether proxy variables are set in
    this shell. Through the proxy shell function, [ON] means the new profile
    has just been applied; [OFF] means it is saved and waits for proxy on.
  • CLI: The proxy switch menu is cleared from the screen when it closes,
    whether you chose a profile or cancelled.
  • CLI: proxy ping prints HTTP 2xx responses in green and everything else
    in yellow.

Automation and contributing

  • CI: website.yml gates every pull request that touches the site or the
    documents it is built from — it runs the generator's tests, builds the site
    and fails on a dead internal link. pages.yml publishes the site from
    main.
  • CI: Dependabot watches the website's npm dependencies as well as Cargo
    and the GitHub Actions.
  • CI: The branch policy requires CHANGELOG.ru.md to change whenever
    CHANGELOG.md does, since both are published.
  • Contributing: Git hooks in .githooks/, enabled once per clone with
    git config core.hooksPath .githooks. commit-msg rejects tool attribution
    lines (Co-Authored-By:, "Generated with …"); pre-push refuses pushes to
    main and tag pushes, since merging a release branch is what publishes.
  • Contributing: One set of instructions for AI coding agents. AGENTS.md
    is the shared contract; CLAUDE.md, GEMINI.md and .cursor/rules/ are the
    entry points for Claude Code, Antigravity and Cursor; area rules live in
    .claude/rules/. The task skills in .claude/skills/ gain
    starlight-website, for work on the site, and agent-docs-audit, which
    checks the instruction set for drift. .mcp.json declares the context7
    and astro-docs documentation servers.

Changed

CLI output

  • CLI — Breaking for scripts: proxy on and proxy off no longer
    print a confirmation line. They emit only the shell statements to be
    evaluated, so eval "$(proxy env on)" is now silent. A script that looked
    for that confirmation needs updating.
  • CLI — Breaking for scripts: the line proxy use <key> and
    proxy switch print after switching ends with the new [ON] / [OFF] tag,
    so its shape has changed.
  • CLI — Breaking for scripts: proxy ping labels a non-2xx response
    WARN (… ms) in yellow; it used to be OK in green, like a success.
  • CLI: Emoji are gone from the translation strings and from the headers of
    the reporting commands — ping, diagnose, monitor, git, import,
    benchmark, speedtest — and from the dashboard's port indicator. The
    prompt marker and the dashboard's title bar keep theirs. The status labels
    proxy ping prints are translated now, rather than fixed English.
  • CLI: The rule printed between report blocks is a plain line of -
    instead of a bold cyan line of =, and report headers no longer start with
    spaces.

Documentation

  • Docs: docs/*.md and CONTRIBUTING.md are plain CommonMark, readable on
    GitHub as before. The site's tabs, cards, steps and callouts are written as
    <!--site:…--> comments, which GitHub renders as nothing and the site
    generator expands.
  • Docs: docs/CONFIGURATION.md lists the full default ping_targets, and
    its field table names every command that reads them.
  • Docs: Corrected descriptions of what several commands do:
    • benchmark tests profiles one after another, probing each profile's ping
      targets at once — not every profile concurrently;
    • Space in proxy dash saves the selected profile as active without
      leaving; it does not update the shell, only Enter does;
    • monitor, on a failed health check or with no proxy variable set, saves
      the fastest reachable profile as active but does not change the shell it
      runs in;
    • profile set makes the profile active without re-applying the shell's
      variables;
    • diagnose lists the main proxy variables, not every one proxy on sets.
  • Docs: The release notes in .ai/GIT_WORKFLOW.md describe the pipeline as
    it runs: the tag is created after the binaries build, so a failed build
    leaves no tag behind, and the recovery steps follow from that.

Dependencies

  • CLI: chacha20 0.10.1, which was yanked from crates.io, is replaced by
    0.10.2.

Contributing

  • Contributing: A change to docs/, the READMEs, CONTRIBUTING.md or a
    changelog also has to pass the site build
    (cd website && npm ci && npm test && npm run build), because those files
    are the site's content.
  • Contributing: The changelog rule in CONTRIBUTING.md matches what CI
    enforces — changes to shell/ and configs/ need an entry too, in both
    CHANGELOG.md and CHANGELOG.ru.md. The pull request template uses the same
    --locked checks and npm ci as the rest of the documentation.
  • Contributing: CLAUDE.md imports AGENTS.md instead of only linking to
    it, so Claude Code actually loads the project rules; the skills moved from
    .agents/skills/ (now symlinks) to .claude/skills/, where Claude Code finds
    them. The release-manager skill updates the changelog link footer, and
    cargo-audit asks where a security entry belongs once a release is cut.
  • CI: The branch policy compares a pull request against its merge base, so
    a documentation-only pull request is no longer blocked by other commits on
    the release branch.
  • CI: Workflows default to read-only repository access; the cargo audit
    job gets only the extra permission it needs to report its results, which it
    previously failed to do.

Removed

  • CLI: The env_on_msg and env_off_msg translation keys, unused since
    proxy on and proxy off stopped printing a confirmation.
  • Contributing: The aur-packager skill — the project publishes no AUR
    package — and the unused .agents/mcp_config.json.

Install or upgrade

# Homebrew (macOS): first install, then upgrades
brew install LebedevKondakovSergeyVach/tap/terminal-session-proxy-manager
brew upgrade terminal-session-proxy-manager

# From source, any platform
cargo install --git https://github.com/LebedevKondakovSergeyVach/Terminal-Session-Proxy-Manager.git --locked --force

Or download the archive for your platform below — macOS and Linux, x86_64
and arm64, each with a .sha256 checksum. Full instructions:
installation guide.

📖 Documentation site · Changelog ·
На русском

🇷🇺 Описание релиза на русском

Релиз, в котором у проекта появился собственный сайт. Двуязычный сайт
документации публикуется из собственного Markdown репозитория и одинаково
работает на телефонах и на компьютерах. Вывод CLI переработан для терминалов и
скриптов, которым оформление только мешает, и закрыта уязвимость в TLS.

Обновляетесь? Три изменения вывода могут затронуть скрипты, которые читают
то, что печатает утилита, — в разделе Изменено они помечены Ломает
скрипты
. В config.json, settings.json, именах команд, флагах и кодах
завершения ничего не меняется.

Безопасность

  • CLI: rustls обновлён до 0.23.45 из-за
    RUSTSEC-2026-0285:
    сообщения рукопожатия TLS 1.3, пересекающие границу уровня шифрования,
    принимались, а не отклонялись. reqwest использует его во всех
    HTTPS-запросах утилиты — status, ping, speedtest, monitor, импорт по
    URL.
  • Сайт: Зависимости сборки сайта обновлены до версий, в которых закрыты
    уязвимости в astro
    (критическая: удалённое выполнение кода через оптимизацию AVIF-изображений),
    sharp, svgo и js-yaml. Astro обновлён до 7.3.2. Это касается только
    сборки сайта, не CLI.

Добавлено

Сайт документации

  • Сайт: Сайт документации по адресу
    lebedevkondakovsergeyvach.github.io/Terminal-Session-Proxy-Manager,
    на русском (/ru/) и английском, на Astro Starlight. Страницы генерируются
    при сборке из README*.md, docs/*.md, CONTRIBUTING.md и changelog,
    поэтому сайт и файлы на GitHub не могут разойтись.
  • Сайт: Главная страница: возможности проекта рядом со скриншотами
    терминала в светлом и тёмном вариантах и плитки быстрого старта.
  • Сайт: Оформление в стиле Material Design 3, вся палитра которого выведена
    из фирменного ржаво-оранжевого цвета проекта, в светлой и тёмной теме, с
    плавными переходами между страницами — при включённом «уменьшении движения»
    страница просто сменяется.
  • Сайт: Переключатель темы на три положения — светлая, авто (как в системе)
    и тёмная — с круговым раскрытием при смене темы.
  • Сайт: Полнотекстовый поиск с быстрыми ссылками на основные руководства,
    пока строка поиска пуста, и интерфейсом поиска на русском.
  • Сайт: Инструкции по установке во вкладках (Homebrew, Cargo, готовая
    сборка), пошаговые руководства, цветные блоки-подсказки, блоки кода в рамке
    терминала с кнопкой копирования и скриншоты, которые увеличиваются по клику
    или касанию.
  • Сайт: Работает на телефонах и сенсорных экранах:
    • широкие таблицы прокручиваются вбок, а не обрезаются;
    • подписи вкладок на узких экранах переносятся, а не уходят за край;
    • кнопки, вкладки и списки — не ниже 44px, чтобы в них было легко попасть
      пальцем;
    • эффекты наведения работают только с мышью, поэтому карточка после касания
      больше не остаётся «приподнятой»;
    • шапка помещается на экране шириной 320px;
    • на телефоне переключатели темы и языка страницы документации находятся в
      меню.
  • Сайт: Круглая кнопка «домой» рядом с названием сайта на каждой странице
    документации — на телефонах и на компьютерах, с подписью «На главную» /
    «Home» для программ экранного доступа.
  • Сайт: Логотип проекта в шапке главной страницы, собственный favicon и
    иконка для закладок на экране «Домой» в iOS.
  • Сайт: Собственная страница 404 на обоих языках — со ссылками на
    документацию и переходом на главную при любой ширине экрана.
  • Сайт: Картинка-превью для ссылок в соцсетях и мессенджерах и llms.txt
    для машинного чтения.
  • Сайт: Сборка падает на битой внутренней ссылке, поэтому мёртвая ссылка не
    может попасть на опубликованный сайт.

Документация

  • Docs: CHANGELOG.ru.md — история изменений на русском, публикуется по
    /ru/changelog/. README.ru.md теперь ведёт на неё, а не на английский файл.
  • Docs: В docs/SHELL_INTEGRATION.md появилось объяснение, зачем нужна
    shell-функция, с диаграммой последовательности; docs/USAGE.md начинается с
    разбивки подкоманд на четыре категории.
  • Docs: В README появился бейдж со ссылкой на сайт документации.

CLI и конфигурация

  • Config: OpenAI (https://status.openai.com/api/v2/status.json) и
    Anthropic (https://www.anthropic.com) добавлены в стандартный список
    ping_targets. Существующие конфиги сохраняют свой список.
  • CLI: После переключения proxy switch и proxy use <key> заканчивают
    строку подтверждения тегом [ON] или [OFF] — заданы ли в этой оболочке
    переменные прокси. При вызове через shell-функцию proxy тег [ON] значит,
    что новый профиль уже применён, а [OFF] — что он сохранён и ждёт
    proxy on.
  • CLI: Меню proxy switch убирается с экрана при закрытии — и после
    выбора профиля, и после отмены.
  • CLI: proxy ping печатает ответы HTTP 2xx зелёным, остальные — жёлтым.

Автоматизация и участие в разработке

  • CI: website.yml проверяет каждый pull request, затрагивающий сайт или
    документы, из которых он собирается: запускает тесты генератора, собирает
    сайт и падает на битой внутренней ссылке. pages.yml публикует сайт из
    main.
  • CI: Dependabot следит и за npm-зависимостями сайта, а не только за Cargo
    и GitHub Actions.
  • CI: Политика веток требует менять CHANGELOG.ru.md всякий раз, когда
    меняется CHANGELOG.md, — публикуются оба.
  • Contributing: Git-хуки в .githooks/, включаются один раз на клон
    командой git config core.hooksPath .githooks. commit-msg отклоняет строки
    авторства инструментов (Co-Authored-By:, «Generated with …»), pre-push
    запрещает пуш в main и пуш тегов: публикует релиз слияние релизной ветки.
  • Contributing: Единый набор инструкций для ИИ-агентов. AGENTS.md —
    общий контракт; CLAUDE.md, GEMINI.md и .cursor/rules/ — точки входа для
    Claude Code, Antigravity и Cursor; правила по областям лежат в
    .claude/rules/. К скиллам в .claude/skills/ добавились
    starlight-website — для работы над сайтом — и agent-docs-audit, который
    проверяет набор инструкций на расхождения. .mcp.json объявляет серверы
    документации context7 и astro-docs.

Изменено

Вывод CLI

  • CLI — Ломает скрипты: proxy on и proxy off больше не печатают
    строку подтверждения. Выводятся только shell-выражения для eval, поэтому
    eval "$(proxy env on)" теперь молчит. Скрипт, искавший это подтверждение,
    нужно поправить.
  • CLI — Ломает скрипты: строка, которую proxy use <key> и
    proxy switch печатают после переключения, заканчивается новым тегом
    [ON] / [OFF], то есть её форма изменилась.
  • CLI — Ломает скрипты: proxy ping помечает ответ не из диапазона 2xx
    как WARN (… ms) жёлтым; раньше это было OK зелёным, как успех.
  • CLI: Эмодзи убраны из строк локализации и из заголовков отчётных команд —
    ping, diagnose, monitor, git, import, benchmark, speedtest — и
    из индикатора порта в дашборде. У маркера приглашения и у заголовка дашборда
    они остались. Статусы, которые печатает proxy ping, теперь переводятся, а
    не зашиты по-английски.
  • CLI: Разделитель между блоками отчёта — обычная линия из - вместо жирной
    голубой из =, а заголовки отчётов больше не начинаются с пробелов.

Документация

  • Docs: docs/*.md и CONTRIBUTING.md — обычный CommonMark и, как и
    раньше, читаются на GitHub. Вкладки, карточки, шаги и подсказки сайта
    записаны комментариями <!--site:…-->: GitHub их не показывает, а генератор
    сайта разворачивает.
  • Docs: В docs/CONFIGURATION.md приведён полный список ping_targets по
    умолчанию, а таблица полей называет все команды, которые его читают.
  • Docs: Исправлены описания того, что делают некоторые команды:
    • benchmark проверяет профили по очереди, опрашивая все цели одного
      профиля одновременно, — а не все профили параллельно;
    • Space в proxy dash сохраняет выбранный профиль активным без выхода;
      переменные оболочки он не обновляет — это делает только Enter;
    • monitor при неудачной проверке или без заданной переменной прокси
      сохраняет самый быстрый доступный профиль активным, но не меняет переменные
      оболочки, в которой запущен;
    • profile set делает профиль активным, не переприменяя переменные
      оболочки;
    • diagnose показывает основные переменные прокси, а не все, что
      устанавливает proxy on.
  • Docs: Описание релиза в .ai/GIT_WORKFLOW.md соответствует тому, как
    работает пайплайн: тег создаётся после сборки бинарников, поэтому упавшая
    сборка не оставляет тега, и шаги восстановления исходят из этого.

Зависимости

  • CLI: chacha20 0.10.1, отозванный (yanked) с crates.io, заменён на
    0.10.2.

Участие в разработке

  • Contributing: Изменение в docs/, README, CONTRIBUTING.md или
    changelog должно проходить и сборку сайта
    (cd website && npm ci && npm test && npm run build), потому что эти файлы —
    содержимое сайта.
  • Contributing: Правило про changelog в CONTRIBUTING.md совпадает с
    проверкой CI: запись нужна и для изменений в shell/ и configs/, причём в
    обоих файлах — CHANGELOG.md и CHANGELOG.ru.md. Шаблон pull request
    использует те же проверки с --locked и npm ci, что и остальная
    документация.
  • Contributing: CLAUDE.md импортирует AGENTS.md, а не только ссылается
    на него, — теперь Claude Code действительно загружает правила проекта. Скиллы
    переехали из .agents/skills/ (там остались симлинки) в .claude/skills/,
    где их находит Claude Code. Скилл release-manager обновляет блок ссылок в
    конце changelog, а cargo-audit спрашивает, куда отнести запись о
    безопасности, если версия релизной ветки уже зафиксирована.
  • CI: Политика веток сравнивает pull request с его merge base, поэтому pull
    request только с документацией больше не блокируется другими коммитами
    релизной ветки.
  • CI: У workflow по умолчанию доступ к репозиторию только на чтение; задача
    cargo audit получает лишь то дополнительное разрешение, которое нужно ей,
    чтобы публиковать результаты, — раньше это у неё не получалось.

Удалено

  • CLI: Ключи перевода env_on_msg и env_off_msg — не используются с тех
    пор, как proxy on и proxy off перестали печатать подтверждение.
  • Contributing: Скилл aur-packager — пакета в AUR у проекта нет — и
    неиспользуемый .agents/mcp_config.json.

Установка и обновление

# Homebrew (macOS): установка, затем обновления
brew install LebedevKondakovSergeyVach/tap/terminal-session-proxy-manager
brew upgrade terminal-session-proxy-manager

# Из исходников, любая платформа
cargo install --git https://github.com/LebedevKondakovSergeyVach/Terminal-Session-Proxy-Manager.git --locked --force

Или скачайте архив для своей платформы ниже — macOS и Linux, x86_64 и
arm64, у каждого есть контрольная сумма .sha256. Подробно:
руководство по установке.


Pull requests

Full Changelog: v2.2.2...v2.3.0