Skip to main content

Tuna update — team security, traffic policy on all paid plans, SDKs, and a skill for AI agents

· 7 min

We have tightened team security and opened traffic policy to all paid plans. SDKs for eight languages are out, and tuna CLI can now install a skill for AI agents. Plus secrets in .tuna.yml and dashboard improvements. Secrets and traffic policy on Pro need tuna CLI 0.43.0.

Security​

Mandatory 2FA for teams​

Team settings have a new Two-factor authentication section. Once the owner turns it on, team resources in the dashboard open only for members with a second factor: an authenticator app or a passkey.

  • Members without a second factor get an email. Instead of the team pages, they see a screen with a Set up 2FA button.
  • Only dashboard sign-in is checked. API keys, tunnel tokens, and CLI sessions keep working, and tunnels stay up.
  • A team member cannot turn off their last second factor.
  • The members page has a 2FA column and a Without 2FA filter, so you can see right away who you are waiting for.

To turn the setting on, the owner needs a second factor of their own. The setting is available on the Legend plan; see the documentation for details.

The Two-factor authentication section in team settings

Confirming with a passkey​

Before you change security settings, the dashboard asks you to confirm it's you. Previously, only a code from the app or from an email worked. Now you can click Continue with a passkey and use your fingerprint or security key. A passkey also replaces the one-time code at sign-in. See Confirming your identity for details.

The Confirm it's you dialog with the Continue with a passkey button

Traffic policy on all paid plans​

Traffic policy works on all paid plans, including Pro. Previously it was available only on Legend. Headers, basic auth, redirects, IP and rate limits are all available on Pro now.

Pro requires tuna CLI 0.43.0: the client checks the plan itself, and older versions allow a policy only on Legend. On the free plan, a tunnel with a policy won't start and reports Traffic policy is available only on paid plans.

Secrets in .tuna.yml​

tuna secrets reads the project and config from the secrets section of .tuna.yml. The CLI looks for the file in parent directories up to the root of the git repository, so you can commit the binding and tuna secrets run picks the right project for everyone on the team. The scoped section sets separate bindings for subdirectories, for example for services in a monorepo.

.tuna.yml
secrets:
project: api-php
config: dev
  • tuna secrets setup --local writes the binding to .tuna.yml;
  • a personal binding from tuna secrets setup takes precedence over the file, and tuna secrets setup --unset removes it;
  • the separate tuna.yaml file is deprecated: the CLI still reads it but warns you to move the bindings.

See the secrets documentation for details.

Dashboard​

Getting started with tunnels​

The Tunnels → Getting started page in the dashboard takes you from choosing a client to a working URL:

  1. how to run it: tuna CLI, Tuna Desktop, Docker, Kubernetes, or Terraform;
  2. your operating system;
  3. install and sign-in commands;
  4. the public URL — the page waits until the tunnel comes online.

For Docker, Kubernetes, and Terraform, an API key with the right permissions is created right on the page. The page also shows your free permanent subdomain. The Copy prompt button copies ready-made instructions for an AI agent, so it can install tuna and start the tunnel on its own. See the documentation for details.

The Getting started page: choosing how to run and the commands for tuna CLI

Webhooks: copying a request​

On the webhook page, the request list is now on the left and the details of the selected request are on the right. The Copy request menu copies a request as a cURL or HTTPie command, a fetch call, or a raw HTTP request. This way you can replay a captured webhook in a terminal or paste it into a test. We also fixed loading of the request history. See the webhooks documentation for details.

A webhook: the request list and the open Copy request menu

Mobile version​

We've improved the mobile version of the dashboard: switching teams and opening settings and your profile is now easier on a phone.

The mobile dashboard: the sheet with the list of teams

Ports reserved by alias automatically​

Running with a new alias, for example tuna tcp 5432 --port=postgres, now reserves a static port with that alias on its own, just as --subdomain does for a subdomain. Reservation works within your plan's port limit; a port number still has to be reserved first. See the ports documentation for details.

Clients​

tuna CLI 0.43​

  • No need to specify the port. tuna http and tuna tcp without an argument find your app's port: with one candidate, the tunnel opens right away; with several, tuna asks you to pick one. tuna run and tuna detect now see ports across the whole process tree, so npm run dev, yarn start, make run, and go run are detected without hints. See the documentation on HTTP tunnels and tuna run.
  • No hang on the password store. If the system password store on Linux is locked, for example when you are connected over SSH, the CLI waits 20 seconds and suggests --insecure-storage; before, it hung indefinitely. See Troubleshooting.
  • A skill for AI agents. The tuna skills install command teaches Claude Code, Codex, Cursor, and other agents to work with tunnels, secrets, and monitors — more in a separate post.
  • Traffic policy on Pro and secrets in .tuna.yml — see above.

The 0.43.1 patch followed: on Linux, port detection shows the node process instead of MainThread, and tuna secrets run --watch works after signing in with tuna login.

Here is tuna http without a port: the CLI finds the Vite dev server on its own and opens the tunnel right away.

Update the CLI:

sh -c "$(curl -sSLf https://releases.tuna.am/tuna/get.sh)"

Other methods are in the installation guide, and the full list of changes is in the changelogs for 0.43.0 and 0.43.1.

For free plan users: CLI 0.42 will keep working until June 1, 2027. Dates for other versions are on the Update page.

Request Inspector 2.2.0​

The inspector shows your profile avatar and uses your account language. Copy as cURL works in Safari again. CLI 0.40 and newer get the update automatically.

SDKs and tuna-tiny​

SDKs for eight languages (Go, Node.js, Python, Java, .NET, PHP, Ruby, and Rust) are out, along with tuna-tiny, a lightweight client for routers and containers. More in a separate post.

Leave feedback​

If you enjoy using Tuna, or on the contrary you are not happy with something, please leave feedback.

News​

We announce new features and posts on our Telegram channel. Subscribe so you don't miss anything.

Help​

We value our users and carefully review every request. If you have any problems with tuna, please contact us in one of the following ways: