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

Issue connecting to container using remote containers extension vscode #96

Open
GuyMitchy opened this issue Aug 26, 2024 · 4 comments
Open

Comments

@GuyMitchy
Copy link

Whether i am running Agent Zero on windows or in my wsl ubuntu configured environment, i am running into an issue where the files created by the agent are not accessible through the vs code interface. I have Remote containers extension installed and can connect to the container in wsl, but none of the new files created in the container appear in the explorer. In the windows environment the workspace for the container is not found and i cant connect remotely.

This program is killer by the way.

Cheers

@dwidge
Copy link

dwidge commented Aug 27, 2024

Hi normally they show up in ./work_dir when the agent writes to ~/
What path is the agent writing to?

@GuyMitchy
Copy link
Author

Hi. Thanks for your help.

Aha. It is writing to root/. Vs code is connected to the container at root/agent-zero/.

@dwidge
Copy link

dwidge commented Aug 27, 2024

If you add a file testfile.txt to ./work_dir using vscode does it show up in one of these dirs in the container?

ls /root/agent-zero
ls /root
ls ~
find / -name 'testfile.txt'

@GuyMitchy
Copy link
Author

Yes thank you.

Didn't realise the files were accessible in ./work_dir. I was connected to the container in another vsc window to access the files. They were being written in the parent directory of the container connection so they weren't being shared. The indent on docker explorer is so shallow i didn't notice lol.

Thanks for your help

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

No branches or pull requests

3 participants
@dwidge @GuyMitchy and others