Closed
Description
Using the API endpoint provided in https://github.com/orgs/coder/projects/41/views/1?pane=issue&itemId=94819818, add support to the coder show <workspace>
command to show running devcontainers visible to an agent.
CLI mockup:
$ coder show my-workspace
┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ RESOURCE STATUS HEALTH VERSION ACCESS │
├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ docker_container.workspace │
│ └─ agt (linux, amd64) ⦿ connected ✔ healthy v2.18.3-devel+4d9dd0aa9 coder ssh my-workspace.agt │
│ └─ prescient_dormouse (devcontainer) ⦿ connected ✔ healthy - coder ssh my-workspace.agt.prescient_dormouse │
├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ docker_image.dogfood │
├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ docker_volume.home_volume │
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘