[agent] feat: interactive envx send, stdin format detection, KEY=VALUE by default - #93
Merged
Merged
Conversation
Bare `envx send` in a terminal picks a trusted friend, asks whether to type a hidden secret or send a file, and offers an expiry. Piped or file input that is entirely conventional KEY=VALUE lines is sent as variables (noted on stderr); --text forces plain text and --env still forces variables. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`envx variables` now prints KEY=VALUE lines by default; --table opts into the box table and --kv is kept as a hidden no-op. `envx read` prints variable messages as KEY=VALUE lines instead of JSON, and `envx get config` prints key=value lines. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[agent]
Summary
envx sendinteractive mode: with no arguments in a terminal, pick a trusted friend → type a hidden secret or send a file → choose an expiry.envx send <friend>keeps going straight to the hidden prompt. Without a TTY and no friend, it errors with guidance.--stdin. Piped/file input whose every line is a conventionalUPPER_NAME=valueassignment is now sent as variables automatically (announced on stderr). Base64-looking tokens (QUJDRA==), lowercasepassword=x, and mixed content stay text.--textforces text;--envstill forces variables.envx variablesdefaults to KEY=VALUE lines (--tablefor the box table;--kvhidden no-op for compatibility).envx readprints variable messages as KEY=VALUE lines, soenvx read <id> > .envworks.envx get configprints key=value lines.Testing
cargo fmt --check,cargo clippy --all-targets(no new warnings),cargo test(71 passed)tests/social_e2e.pyandtests/social_pty.pypass, including new wizard (typed + file) and detection/--text/missing-friend cases.Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
🤖 Generated with Claude Code