-
Notifications
You must be signed in to change notification settings - Fork 955
feat(codersdk/toolsdk): add MCP workspace bash background parameter #19034
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
da40c51
to
08c72bf
Compare
Could we add a test (similar to the other ones in bash_test.go), that performs two bash tool calls/handler invocations? |
08c72bf
to
6463e41
Compare
6463e41
to
e61cab7
Compare
@ThomasK33 I didn't know we had |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be revised to align with Blink's behavior. Specifically, we should capture stdout and stderr until the timeout is reached. After that, the command should continue running in the background, and we will return the captured stdout and stderr as the tool's result.
e61cab7
to
3750aee
Compare
d6ae953
to
c29186c
Compare
…nohup Change-Id: If67c30717158bdd84e9f733b56365af7c8d0b51a Signed-off-by: Thomas Kosiewski <tk@coder.com>
c29186c
to
d920c64
Compare
Addresses coder/internal#820. I'm not sure how I could go about adding automated tests for this, so I only tested manually.
Screen.Recording.2025-07-24.at.15.11.54.mov