Skip to main content

Module server

Module server 

Source
Expand description

Development server implementation.

Serves the frontend as a local web page with hot reload and Agent API. This is the core of rdesktop’s Agent-first development story.

The dev server does three things:

  1. Serves frontend static files (HTML/CSS/JS)
  2. Injects the rdesktop bridge script for IPC
  3. Provides Agent API endpoints for AI agent interaction

Structs§

DevServer
Development server that serves the app in browser mode.
DevServerState
Shared state for the development server.
PublishedScreenshot
A single immutable PNG frame published by a native renderer.
RecordingSnapshot
A stable snapshot returned to agents.
RecordingStore
Owns the single recording file and its state.
ScreenshotPublisher
Publishes native renderer frames to the Agent API without making the HTTP server poll a file that may still be written by the renderer.

Enums§

RecordingStatus
Lifecycle of the single development recording.