chore: update devcontainer configuration (#10955)
Refactor the `.devcontainer` configuration from scratch to provide an
up-to-date and functional development environment.
The previous `.devcontainer` was based on an old Go image and had
outdated dependencies and setup instructions, making it unusable for
current development. This PR introduces a new configuration based on
Ubuntu 22.04, precisely matching the project's Rust, Node.js, and pnpm
versions, along with necessary tools like `protoc` and `capnp`, and
includes performance optimizations with persistent caches.
CLOSES #5042
---
<a
href="https://cursor.com/background-agent?bcId=bc-5ea83f26-1f7e-4e62-b72b-bec5a96be6ae"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/open-in-cursor-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/open-in-cursor-light.svg"><img alt="Open in
Cursor"
src="https://cursor.com/open-in-cursor.svg"></picture></a> <a
href="https://cursor.com/agents?id=bc-5ea83f26-1f7e-4e62-b72b-bec5a96be6ae"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/open-in-web-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/open-in-web-light.svg"><img alt="Open in Web"
src="https://cursor.com/open-in-web.svg"></picture></a>
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com>