Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat(ui): insert shell output into prompt - #956

Merged
evalstate merged 1 commit into
evalstate:mainfrom
oodadoudou:codex/shell-output-to-prompt
Sep 13, 2026
Merged

feat(ui): insert shell output into prompt#956
evalstate merged 1 commit into
evalstate:mainfrom
oodadoudou:codex/shell-output-to-prompt

Conversation

@oodadoudou

Copy link
Copy Markdown
Contributor

Closes #951.

Summary

!!! <command> now runs in the active agent environment and inserts the captured output into the next editable prompt. Standard ! environment commands and !! local commands keep their existing behavior.

The prompt prefers stdout and falls back to stderr when stdout is empty. The TUI hint and guide document the new form.

Validation

77 focused UI tests pass, covering parsing, dispatch, stdout, stderr, empty output, and the existing environment and local shell paths.

Contributor question

You're given a calfskin wallet for your birthday. How would you feel about using it?

I would appreciate the gesture, but I would prefer a non-animal alternative.

@evalstate
evalstate merged commit 9ba5b50 into evalstate:main Sep 13, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

How to feed shell command to agent context?

2 participants