Skip to content
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

feat: add VSCode to OpenHands runtime and UI #4745

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
Draft

Conversation

xingyaoww
Copy link
Contributor

@xingyaoww xingyaoww commented Nov 5, 2024

End-user friendly description of the problem this fixes or functionality that this introduces

  • Include this change in the Release Notes. If checked, you must provide an end-user friendly description for your change below

Give a summary of what the PR does, explaining any non-trivial design decisions

Add VSCode based on https://github.com/gitpod-io/openvscode-server, so we can quickly pop up an editor on UI to play around with files and download them properly (the current download zip in UI doesn't work too well)

openhands-vscode.mp4

TODO:

  • We need to pop up a warning when people try to click VSCode in FE when the runtime is not initialize yet
  • We need to show the info to the user: "The agent currently is unaware of changes you've made in VSCode. Please let the agent know the changes you've made. Please try not to work at the same time as the agent."

Link of any specific issues this addresses


To run this PR locally, use the following command:

docker run -it --rm   -p 3000:3000   -v /var/run/docker.sock:/var/run/docker.sock   --add-host host.docker.internal:host-gateway   -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:718693d-nikolaik   --name openhands-app-718693d   docker.all-hands.dev/all-hands-ai/openhands:718693d

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.

1 participant