changelog
4.2.6 2026-09-24
Extension release: a secret shield keeps credentials out of prompts that leave the machine. twinny-server carries the version number only.
- Secret shield. API keys, tokens, private keys and passwords in a prompt are replaced with placeholders such as
REDACTED_GITHUB_TOKEN_1before the request leaves your machine, and put back wherever the reply uses them, so the model never sees the value and the code it writes still works. This covers chat, completions, inline edit and embeddings. It knows the GitHub, GitLab, AWS, Stripe, Slack, OpenAI, Anthropic, Google, Hugging Face and npm token formats, as well as PEM private keys, JWTs, passwords in URLs, and secret-named values in code and.envfiles. Values likeprocess.env.Xor<your-key>are left alone. A chat reply shows N secrets withheld and which kinds; completions log it to the Twinny output channel. Thetwinny.secretShieldsetting controls when it runs:offMachine(the default) covers hosted APIs, gateways, paired devices and servers elsewhere on the network,alwaysadds local servers, andoffturns it off.