Skip to content

Conversation

@sestinj
Copy link
Contributor

@sestinj sestinj commented Mar 9, 2025

No description provided.

@netlify
Copy link

netlify bot commented Mar 9, 2025

Deploy Preview for continuedev canceled.

Name Link
🔨 Latest commit 6296630
🔍 Latest deploy log https://app.netlify.com/sites/continuedev/deploys/67ce23e18b09850008be41d4

@chezsmithy
Copy link
Contributor

Resolves #4482

Copy link
Contributor

@chezsmithy chezsmithy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sestinj I ran some testing and noted a few issues with commands that might stream both stdout and stderr. Also noted some formatting issues with ANSI terminal output. By aggregating the output from stdout and stderr into a single variable, the partial dynamically updates with stdout, then stderr is added.

The way I tested this was to ask continue to write cucumber tests for test.js in the same project. Then once cucumber was added to the package.json and a "npm test" command was added I think ask: Run "npm test" to validate.

Hope this helps. This is a nice change, and really improves the terminal tool.

@sestinj
Copy link
Contributor Author

sestinj commented Mar 13, 2025

this is a huge help @chezsmithy thank you

@sestinj sestinj requested a review from RomneyDa March 16, 2025 20:29
@chezsmithy
Copy link
Contributor

@sestinj and @RomneyDa noting this PR + my suggested changes fixes further issues my change didn't solve for when there is staggered or delayed output from the terminal command. I'd recommend accelerating this PR to fix more issues with the terminal based tool. I'll continue to run tests using this branch locally to look for additional issues.

@chezsmithy
Copy link
Contributor

@sestinj hoping to bump this up the priority list to fix further issues with terminal commands like running jest tests fully. I believe this is a critical fix for agent mode.

@RomneyDa
Copy link
Collaborator

RomneyDa commented Apr 4, 2025

@chezsmithy appreciate all the input!
Working on this today and tomorrow.

@chezsmithy
Copy link
Contributor

chezsmithy commented Apr 5, 2025

@RomneyDa one other use case that this design doesn't solve for well is when a terminal command runs that doesn't exit. It might be good to somehow allow the user to proceed manually in this situation while the tool spins in the background. Tho not sure how you might quit it.

Maybe you add a button to allow the user to continue without waiting for the terminal command to end,and then track what terminal commands are running and tack those to the context passed to the LLM. I wonder if it would then run commands to stop and restart long running processes like servers using tools?

@chezsmithy
Copy link
Contributor

@sestinj I think this can be closed.

@sestinj sestinj closed this Apr 21, 2025
@sestinj sestinj deleted the nate/terminal-tool-output branch October 17, 2025 22:25
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.

4 participants