mirror of
https://github.com/coder/coder.git
synced 2026-06-03 21:18:24 +00:00
84527390c6
Implement the backend for the desktop feature for agents. - Adds a new `/api/experimental/chats/$id/desktop` endpoint to coderd which exposes a VNC stream from a [portabledesktop](https://github.com/coder/portabledesktop) process running inside the workspace - Adds a new `spawn_computer_use_agent` tool to chatd, which spawns a subagent that has access to the `computer` tool which lets it interact with the `portabledesktop` process running inside the workspace - Adds the plumbing to make the above possible There's a follow up frontend PR here: https://github.com/coder/coder/pull/23006
11 lines
304 B
Go
11 lines
304 B
Go
package workspacesdk
|
|
|
|
const (
|
|
// DesktopDisplayWidth is the default display width in pixels
|
|
// used for computer-use desktop sessions.
|
|
DesktopDisplayWidth = 1366
|
|
// DesktopDisplayHeight is the default display height in pixels
|
|
// used for computer-use desktop sessions.
|
|
DesktopDisplayHeight = 768
|
|
)
|