Skip to content

turno-cli 0.8.0

Choose a tag to compare

@github-actions github-actions released this 03 Dec 09:50
· 11 commits to main since this release
a7fbf9b

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 /hello challenge) before it prints anything. turno mcp sync writes Claude Code entries with headersHelper and Codex entries with http_headers_helper, both pointing at a turno-mcp-headers script in turno's bin folder, so the token is no longer in .claude.json or the Codex config, those agents run the check before each connection, and turno upgrade --finish keeps 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 export TURNO_MCPD_TOKEN only 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 doctor and the status line show it. Codex does not connect, and shows only "MCP HTTP headers helper exited with status 5": run turno 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 as mcpd outdated) instead of passing for the gateway.

    Run turno mcp sync once to move existing configs to the new entries: turno upgrade --finish offers it and turno doctor warns 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. Run turno profile repair <p> for Copilot and Cursor launchers written by an earlier turno. Codex reads http_headers_helper from 0.148.0 on; turno doctor warns about an older Codex, whose gateway servers get no token and fail.

Patch Changes

  • 0d59c6d: turno mcp headers gives 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 sync writes the turno-mcp-headers script 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-run reports it too. turno doctor fails when synced configs run a turno-mcp-headers that is missing or that turno did not write, and turno doctor --security fails 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 (--fix removes 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 --help now 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-revoke revokes 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.