Repository navigation
touchenv 1.8.0
touchenv run now hides the secrets' values in what the command prints, when an AI assistant runs it or the output goes to a program (a pipe, a file) rather than a terminal. A command that echoes a key (env, curl -v, an error message) then shows ***REDACTED*** in its place, so the key does not end up in the assistant's context or its chat history:
$ touchenv run --intent "deploy" GH_TOKEN -- ./deploy.sh | cat
deploying with ***REDACTED***
- Each secret's exact value is replaced, also when the command writes it in pieces, and each long line of a multi-line one (a PEM key). Values shorter than 6 characters are left alone.
- Your own terminal gets the output as it is. Assistants are recognised as for
--intent(Claude Code, Codex, Cursor's agent, Gemini CLI, aider, Goose, opencode), and byCLAUDECODE/AI_AGENT. --no-maskturns it off for a run.
macOS and Windows (beta). The Windows exe is signed (SENPRINTS LLC).