Skip to content

v0.4.2

Choose a tag to compare

@wind-publish wind-publish released this 01 Nov 14:28
Immutable release. Only release title and notes can be modified.

Wind v0.4.2 — Sign in to Wind Stream from the terminal instead of pasting a token.

Install

macOS / Linux (Homebrew)

brew install windstreamai/tap/wind

Windows (direct download)

Download wind-windows-x64.exe
and SHA256SUMS.
Follow the Windows install guide to verify it and add it to PATH.
The winget listing is pending.

After any install: wind setup deploys the Wind Stream integration.

What's new

Sign in from the terminal

Connecting wind to Wind Stream used to start with a token: generate one in the web app, paste it at a prompt. Now it starts with a sign-in:

wind auth login

The terminal shows an address and a short code. Open the address, confirm the code, approve access for your organization, and you are done. On a machine without a browser, add --no-browser and open the address from your phone or another computer.

From then on wind renews its own access. A grant stays valid as long as you use it at least once every 30 days, and each use extends the deadline. If you belong to one organization, wind picks it. If your grant covers several, name the one this work belongs to:

wind auth login --organization <id>

Work you have already prepared keeps the organization it was bound to, even after you sign in again with a different default. To move it on purpose:

wind auth use --organization <id>

wind auth status shows which connection and organization are cached and when the grant runs out. wind auth logout revokes the grant on the server and then removes it locally; if the server could not confirm, the command says so and exits 1.

Your coding agent gets a bridge, not a credential

Claude Code and Codex reach Wind Stream through a small local bridge that wind runs for them. The agent's configuration names the connection, the organization and the deployment, and nothing else; the credential never leaves wind. After signing in, let setup register it:

wind auth login
wind setup

Running wind setup again later repairs the bridge's path if wind moved. It will not quietly replace a registration that points somewhere else, such as a remote server, a token-based entry, or another organization. When it refuses, it names the entry so you can remove or change it yourself.

To wire the bridge into any other MCP host, print its configuration:

wind mcp config

The output contains no secret and can be pasted into a config file as it is.

The credential is encrypted at rest

The refresh credential wind keeps on disk is encrypted with a key the operating system protects: Keychain on macOS, Secret Service on Linux, DPAPI on Windows. There is no plaintext fallback. If the key store is locked or missing, wind says so and refuses rather than writing the secret unprotected. On Linux without a desktop session, this means OAuth needs a working Secret Service; the token path still works everywhere it did.

If the key is ever lost, the stored credential cannot be read and a new sign-in will not overwrite it. Revoke the old grant from Wind Stream's connected-apps page, then clear the local store deliberately and sign in again:

wind auth reset --all --local
wind auth login

Both flags are required, and the command removes only OAuth connections. Tokens, keys, manifests and agent registrations stay.

If you ran a pre-release build that stored this file unencrypted, the first run of this version migrates it in place. Any older wind binary on the same machine will not be able to read the migrated file, so update every copy at once.

Two copies of wind? Now you can see them

A manual install and a Homebrew install can both be on PATH, and the older one earlier in it hides the new one. Ask wind what it sees:

wind doctor --installations

It lists the executable that is running, the one your shell would pick, every other copy it found, and who owns each (a native receipt, Homebrew, or unknown). It reads receipts rather than running the other binaries, and it changes nothing. --json gives the same inventory to a script.

The native installer is more careful too. It will not overwrite a symlink or a path Homebrew owns, it checks its own receipt before upgrading, and it asks for an explicit opt-in before replacing a binary it cannot account for. If an upgrade is interrupted part-way, rerun the installer: it records what it was about to do before touching the binary, and on retry it finishes or backs out that step rather than leaving a new binary with an old receipt. Once you know which copy you want your coding agent to use, tell setup:

wind setup --binary /opt/homebrew/bin/wind

wind remembers the choice and points the agent's hooks and bridge at that copy. It only accepts a copy it can account for, one with a native or Homebrew receipt that is the same build as the wind you are running, so run the command from the copy you mean to keep. Later runs of wind setup check the choice still holds and stop, rather than guess, if the file moved or changed owner. Removing the other copy and moving between native and Homebrew installs are still manual steps.

What still needs a token

This release signs in the MCP connection, which is what your coding agent uses. wind's own direct calls to Wind Stream, the session hooks, uploads, wind down retrospectives, and the factory, still use a token. If you rely on those, keep one stored:

wind auth login --token

wind setup and wind doctor show the two readinesses on separate lines so you can see which one is missing. Moving those paths onto the sign-in is the next step, and nothing here claims it is done.

Upgrade note

wind auth login, wind auth status and wind auth logout now mean the sign-in. A script that pipes a token into wind auth login must add --token:

printf '%s' "$TOKEN" | wind auth login --token

WIND_TOKEN is unchanged, and the bridge refuses to run under it, so an automation token can never pass for a person.

The factory believes only itself

wind factory holds secrets and acts under its own identity on text it reads from GitHub. In 0.4.0 it believed that text whoever wrote it: a comment carrying the gate's marker counted as a verdict, a pull request description chose which Wind Stream session the factory talked to, and the sweep approved held workflow runs without looking at what they changed. This release closes the four findings of the pre-release review.

  • A gate verdict counts only when the factory's own login wrote it, as the last thing in its comment, and the verdict is for the exact commits the gate judged.
  • The factory follows a session pointer only from an issue it filed itself, or from a visible line in a pull request its agent opened. Pull requests from forks are outside the factory.
  • A run that changes workflow files is left for a person to approve. FACTORY_LIFT_WORKFLOW_CHANGES=true restores the old behavior for a repository whose CI holds no secrets.
  • "Opened by the agent" means the exact login with GitHub's bot flag, workflow inputs reach shell scripts as data, and the no-human proof trusts only commits GitHub verified.

A repository that installed the factory with 0.4.0 takes the workflow changes with:

wind factory install --force

Re-apply your own edits afterward. wind factory selftest now runs seventeen checks, six of them pinning these rules against a stubbed GitHub.

Docs

Provenance

Built and published by the wind publish pipeline from windstreamai/wind
tag v0.4.2, commit 468097d68a365c114e98591031393fe45d95a30a. Assets are
checksum-verified before this release is published (see SHA256SUMS).

License

Proprietary — see EULA.md, governed by the
Wind Stream Terms of Use.
Third-party notices: THIRD_PARTY_NOTICES.md.