> Markdown-версия страницы https://tuna.am/changelog/cli-v0.40.0/. Оглавление документации — [llms.txt](https://tuna.am/llms.txt), весь текст одним файлом — [llms-full.txt](https://tuna.am/llms-full.txt). Markdown-версия есть у любой страницы: добавьте `.md` к адресу без слеша на конце.

# tuna-cli v0.40.0

6 ноября 2026 г.

> **Проверьте настройки инспектора.** В Docker-образе инспектор `tuna http`, `tuna 1c` и `tuna kubernetes` теперь выключен — включается `TUNA_INSPECT=true`. Ключ `inspectAddr` в `tuna.yml` больше не читается, а занятый порт из `--inspect-port` останавливает туннель. Подробнее — на странице [инспектора](https://tuna.am/docs/tunnels/inspect.md#port).

* \[FEATURE] Adds MySQL protocol handler (cli)
* \[FEATURE] Shows rejected requests and policy decisions in the inspector (cli)
* \[FEATURE] Adds an inspector API for agents (cli)
* \[FEATURE] Lets agents wait for inspector events over HTTP (cli)
* \[FEATURE] Moves inspector developer tools to tested Go code (cli)
* \[ENHANCEMENT] Adds --inspect-port and turns the inspector off in Docker images (cli)
* \[ENHANCEMENT] Links Postgres statements in the inspector and caps history by bytes (cli)
* \[ENHANCEMENT] Names MySQL commands in inspector events instead of event codes (cli)
* \[ENHANCEMENT] Keeps the tunnel address across reconnects with tunnel sessions (cli)
* \[BUGFIX] Switches to another node when the assigned one is unreachable (cli)
* \[BUGFIX] Fixes inspector subscribers hanging the tunnel and unsafe replay (cli)
* \[BUGFIX] Keeps the browser from showing a stale inspector after a CLI update (cli)
* \[BUGFIX] Fixes --rate-limit letting through twice the limit at a window boundary (cli)

**Теги:**

* [cli](https://tuna.am/changelog/tags/cli)
