Echo ds4-agent prompts and slash commands in scrollback#323
Open
rowantrollope wants to merge 1 commit into
Open
Echo ds4-agent prompts and slash commands in scrollback#323rowantrollope wants to merge 1 commit into
rowantrollope wants to merge 1 commit into
Conversation
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.
Summary
Echo accepted ds4-agent input back into terminal scrollback with an explicit
ds4-agent>marker.Why
Terminal scrollback should preserve the cause-and-effect trail of an interactive session. Once input is accepted, it stops being a live editable prompt and becomes part of the user's visible activity record. Keeping submitted prompts and slash commands in scrollback makes it clear which output belongs to which input, especially after command output, long model responses, interruptions, or copied terminal logs.
This keeps two UI concepts distinct:
ds4-agent>prompt is where the next input is editedds4-agent> ...line is the durable record of accepted inputThe command echo remains terminal-only; slash commands are still kept out of the model transcript/session history.
Changes
*user-prompt echo withds4-agent> <prompt>.Testing
make ds4-agent