Files
pikasTech-unidesk/scripts/src/hwlab-node-transport.ts
T
2026-07-09 10:46:55 +02:00

11 lines
535 B
TypeScript

// 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 { runHwlabLegacyRuntimeCommand } from "./hwlab-legacy-runtime";
export type DelegatedNodeDomain = "control-plane" | "git-mirror";
export async function runDelegatedHwlabNodeCommand(config: Config, domain: DelegatedNodeDomain, args: string[]): Promise<unknown> {
return runHwlabLegacyRuntimeCommand(config, [domain, ...args]);
}