Skip to content

Releases

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 06 Nov 19:41

First public release. whoas runs CLIs and AI agents as the account you choose:
each login is an encrypted identity in a local vault, and the real CLI runs
against it, one process at a time, without touching the CLI's global session.

Highlights

Core

  • Identities sealed with age; the master key lives in
    the OS keychain (Secret Service, macOS Keychain), in Windows Credential Manager
    from WSL, or behind a passphrase. A key agent caches it.
  • Overlays capture what a CLI's own login writes, so browser logins, SSO and
    refreshed tokens keep working; ~/.config/gh/hosts.yml and friends are never
    written.
  • Pick the identity explicitly (gh@work), with a profile (-p work), a session
    variable or a trusted per-project .whoas.yaml. Shims let gh, gcloud, … (and
    agents that never heard of whoas) resolve it themselves.

More CLIs

  • vercel, wrangler, railway (experimental) and docker adapters.
  • env-token adapters for API-token CLIs: the token stays in the vault and is
    injected as an env var for one process. 62 built in (stripe, supabase,
    terraform, openai, …); whoas providers --all lists them.
  • Mirrored files a CLI replaces by rename during a run are copied back.

Claude Code and MCP servers

  • Several Claude subscriptions side by side: whoas add claude max stores the
    token from claude setup-token.
  • mcp adapters and whoas mcp proxy: a stdio MCP server that forwards to a
    remote one with the project's API key, so it works in any agent (Claude Code,
    Codex, Cursor, Gemini CLI, opencode, …). whoas mcp setup registers it.
    PostHog and Linear are built in.
  • A secret can declare a pattern; add and import reject values that do not
    match (Claude tokens are checked).

Breaking / notable

  • The provider name mcp is reserved: a user adapter named exactly mcp now
    fails to load. Rename it.
  • Built-in forge removed: Foundry installs a forge too.
  • hf injects HF_TOKEN (and removes the legacy HUGGING_FACE_HUB_TOKEN).
  • Built-ins dog, grok and td removed: other CLIs use the same names. Keep
    one as a user adapter if you need it.
  • The key agent no longer inherits the environment of the process that starts
    it, so tokens injected into a session cannot outlive it there.

Install

go install github.com/S-kkipie/whoas/cmd/whoas@v0.3.0

Or download the archive for your platform below (Linux and macOS, amd64 and
arm64), check it against checksums.txt and put whoas on your PATH. Then
run whoas doctor.

WSL: to keep the master key in Windows Credential Manager, put whoas.exe
(from the windows_amd64 zip, windows_arm64 on Arm) next to the Linux whoas
before your first whoas add. Native Windows is not supported yet: the Windows
build only ships the keystore helper WSL uses.

Changelog

Features

  • de52c62 feat(adapter)!: drop the dog, grok and td built-ins
  • c3c7d6f feat: add agent controls, doctor and providers
  • 7ab15f4 feat: add atomic writes and directory layout
  • 654f2d7 feat: add claude, mcp-posthog and mcp-linear adapters
  • 0051296 feat: add declarative TOML adapters with built-ins
  • 2e61211 feat: add env-token adapters for API-token CLIs
  • 83e8dde feat: add key agent and decrypter selection
  • 1bc945c feat: add keystore backends (os keyring, WSL bridge, passphrase, env)
  • a34a13f feat: add mcp identities, run login.cmd and warn about apiKeyHelper
  • fd6a3cf feat: add run command and CLI shims for agents
  • 10a1e29 feat: add the MCP proxy bridge with header injection
  • 111bd27 feat: add vercel, wrangler, railway and docker adapters
  • 3c3aa8c feat: add whoas mcp proxy
  • d01de21 feat: add whoas mcp setup
  • d57cf40 feat: add, import and run env-token identities
  • 16930b7 feat: add, import, list and remove identities
  • 612c35f feat: build per-identity overlays of CLI config dirs
  • 6f6b5f5 feat: coordinate identity holders with flock state
  • 0dd3f71 feat: list installed providers by default and index PATH once
  • a8ff1ac feat: load and save profiles config
  • 6ad68b4 feat: manage profiles, explain resolution, trust project files
  • e46b052 feat: mcp adapter kind and login.cmd for env-token adapters
  • ce57de8 feat: parse and validate provider@alias references
  • 0ffd0c0 feat: pass WHOAS_CONTEXT_DIR to every process whoas starts
  • 2d1c880 feat: reject malformed secrets with an optional pattern; check Claude tokens
  • b11be8d feat: remove identity-overriding env vars from the CLI environment
  • 07d3845 feat: resolve identities from flags, env, trusted projects, defaults
  • 983bd11 feat: root overlays, env-token adapters and helper keys in the adapter schema
  • acc457f feat: run CLIs as an identity via dispatch and shims
  • d22e21d feat: run env-token identities through the supervisor
  • 390c94b feat: seal identities into an age vault
  • e3a8d87 feat: supervise CLI runs with overlays and seal-on-write

Fixes

  • ac2a81f fix(adapter): unset env vars that outrank spacectl and databricks tokens
  • 5e6ebd0 fix(agent): spawn the key agent with an allowlisted env
  • 1d63681 fix: build keystore-helper only into the Windows binary
  • eae4879 fix: clean capture dirs on interrupt, keep import off the global dir, lock rm
  • 670de80 fix: clean overlay keys before validating them
  • b36e988 fix: clearer missing-secret hint and add/import exit code for conflicts
  • 0053c35 fix: concurrent calls under every MCP protocol version and clearer transport errors
  • 5780c34 fix: copy back mirrored files replaced during a run
  • 6d15088 fix: explain over-long agent socket paths; keep e2e runtime dir short
  • e98d7dd fix: harden copy-back and stop leaking manifests in doctor
  • 08a477d fix: harden key agent (refuse duplicate agents, bound requests, reap expired keys)
  • b877b4c fix: harden project file parsing and trust store loading
  • 99c7172 fix: keep crashed overlays from resurrecting or swapping identities
  • 530443b fix: keep overlay writes inside auth paths and never delete global data
  • b7ad27c fix: keep signal contract and make seal-on-write/promote best effort
  • 11b4f6f fix: leave protocol-version headers to the SDK for 2026-07-28 sessions
  • bd58882 fix: let a user adapter replace a built-in with the same bin
  • a4b0b09 fix: let run take a command by path and exit 125 on its own errors
  • 20c56e8 fix: make the key agent a singleton with a lifetime flock
  • 4b66c72 fix: map missing/unrunnable CLI to exit 127/126 on every run path
  • efa9830 fix: never let a hostile .whoas.yaml break or hang a shim
  • 12032be fix: never seal an overlay that join did not complete
  • a13804f fix: redact proxy errors by the identity's secret values
  • b2c72ad fix: refuse env-token runs that lack a required secret
  • 982bc47 fix: refuse wrangler identities while a legacy ~/.wrangler exists
  • c6d9017 fix: reject mcp adapters that setup and the proxy would resolve differently
  • 6b2c47e fix: remember the keystore backend only when it creates the vault
  • d3e354b fix: say when mcp setup --replace removed the old entry before a failed add
  • f3ba3c7 fix: set run env without duplicates; shims touch only whoas links
  • d1f17ab fix: skip the keystore when the agent is unlocked and remember the backend
  • 5891fd1 fix: tighten adapter validation
  • 06392a2 fix: tighten env-token validation and keep secrets out of labels
  • 901fad6 fix: token adapter data, hints and docs from the M2 review
  • 231d828 fix: unset every provider switch that outranks the Claude token
  • 1243b67 fix: warn when Claude settings env re-sets what a claude identity removes
  • 34171ca fix: warn when a run replaces a mirrored entry

Other

Read more