hide-org / hide

🤖 Headless IDE for AI agents
https://hide.sh
MIT License
129 stars 5 forks source link

docs: add steps for installing lsp servers #104

Closed artmoskvin closed 1 month ago

artmoskvin commented 1 month ago

Fixes #100

I verified the instructions by renting a clean Ubuntu machine and building Hide from source there. It turns out that Pyright installs Node.js (if not available) on the first run so I believe that caused the original problem. I also noticed that for dependency heavy projects and for large devcontainer images the latency for project creation can be higher than 60 sec so I increased the server read and write timeouts. In long term, I believe we should replace such long requests with an immediate response containing a project id and an endpoint to check the project state.

aleh-null commented 1 month ago

Fixes #100

I verified the instructions by renting a clean Ubuntu machine and building Hide from source there. It turns out that Pyright installs Node.js (if not available) on the first run so I believe that caused the original problem. I also noticed that for dependency heavy projects and for large devcontainer images the latency for project creation can be higher than 60 sec so I increased the server read and write timeouts. In long term, I believe we should replace such long requests with an immediate response containing a project id and an endpoint to check the project state.

Let's start by deferring file reads. I think it will speed up things a lot.