// SPEC: PJ2026-01060505 Workbench Performance draft-2026-06-17-p0.
// Responsibility: HWLAB node transport/delegation adapters for legacy shared commands.
import type { Config } from "./config";
import { runHwlabG14Command } from "./hwlab-g14";

export type DelegatedNodeDomain = "control-plane" | "git-mirror";

export async function runDelegatedHwlabNodeCommand(config: Config, domain: DelegatedNodeDomain, args: string[]): Promise<unknown> {
  return runHwlabG14Command(config, [domain, ...args]);
}
