Repository navigation
turno-cli 0.8.0
What's new in turno-cli 0.8.0: https://turno.wimo.dev/releases/cli/0-8-0
Minor Changes
-
8c03cf4: Agents now get their gateway token from
turno mcp headers <profile>, which checks that the process on the gateway port is your mcpd (it runs as your user and answers the/hellochallenge) before it prints anything.turno mcp syncwrites Claude Code entries withheadersHelperand Codex entries withhttp_headers_helper, both pointing at aturno-mcp-headersscript in turno's bin folder, so the token is no longer in.claude.jsonor the Codex config, those agents run the check before each connection, andturno upgrade --finishkeeps the script pointing at the turno you have after a Node version switch. The launchers of Copilot CLI and Cursor CLI run the same check when they start and exportTURNO_MCPD_TOKENonly when it passes, saying why once when it does not. When mcpd's service is installed but not listening yet, the check waits up to 2.5 seconds for it.When the check fails the agent gets no token. Claude Code, Copilot CLI and Cursor CLI may still connect without it, so a process that is not mcpd can answer as the gateway's servers;
turno doctorand the status line show it. Codex does not connect, and shows only "MCP HTTP headers helper exited with status 5": runturno mcp headers <profile>to see why.The status line now uses the same check, so a process on the port that is not your mcpd shows as
mcpd port taken(and an mcpd that cannot prove it holds the token asmcpd outdated) instead of passing for the gateway.Run
turno mcp synconce to move existing configs to the new entries:turno upgrade --finishoffers it andturno doctorwarns about configs with entries from an earlier turno. Until then, Codex launchers keep exporting the token, after the same check, for configs that still read it from the environment, and a profile with open sessions that sync skips keeps its token file. Runturno profile repair <p>for Copilot and Cursor launchers written by an earlier turno. Codex readshttp_headers_helperfrom 0.148.0 on;turno doctorwarns about an older Codex, whose gateway servers get no token and fail.
Patch Changes
- 0d59c6d:
turno mcp headersgives up on a process that takes the gateway port and never answers the hello after 5 seconds, so it answers with the reason well before the 10 seconds agents give a headers helper run out.turno mcp syncwrites theturno-mcp-headersscript before it changes any agent config (also when open sessions make it skip every profile), so a file of that name that turno did not write stops the sync before a config points at it;turno mcp sync --dry-runreports it too.turno doctorfails when synced configs run aturno-mcp-headersthat is missing or that turno did not write, andturno doctor --securityfails when others or another group can write turno's bin folder or that script, and warns when only a Linux user private group (named after you, with no other member) can (--fixremoves their write access and keeps them readable, for a folder in your home that you own). turno creates its bin folder as 0755 whatever the umask. - 9d44e01:
turno mcp logout --helpnow explains what logout does: it asks a running mcpd first, which lets a refresh in flight finish, stops using the login and revokes tokens it holds that the secret store does not have, then revokes and removes the stored login (--no-revokerevokes nothing). It also lists why mcpd may not be told (not running, no answer within 15 s, not reachable, or the process on its port did not prove it is your mcpd). The command itself is unchanged.
A CycloneDX SBOM is attached.