11 lines
535 B
TypeScript
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]);
|
|
}
|