pi-remote-control/extensions/remote-control/server/server.ts

20 lines
606 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* Server bootstrap — Phase 1 scaffold (T-1.0).
*
* Creates the HTTP + WebSocket server and wires up legacy routes.
* Route placeholders will be populated by T-1.5 / T-1.6 / T-1.7.
*/
import type {
ExtensionAPI,
ExtensionContext,
} from "@earendil-works/pi-coding-agent";
import { startServer as startLegacyServer } from "./legacy-server.js";
export type { RemoteServer } from "./legacy-server.js";
/**
* Start the remote-control server.
* Currently delegates to the legacy server; route modules will be
* wired in during T-1.5 T-1.7.
*/
export { startLegacyServer as startServer };