import type { ExtensionAPI } from "@singularity-forge/pi-coding-agent";
import { installGenaiProxyExtension } from "./proxy-command.js";

export { installGenaiProxyExtension, resolveProxyPort } from "./proxy-command.js";
export { ProxyServer, createProxyServer } from "./proxy-server.js";

export default function genaiProxyExtension(api: ExtensionAPI): void {
	installGenaiProxyExtension(api);
}
