refactor: split hwlab node entrypoint
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// 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]);
|
||||
}
|
||||
Reference in New Issue
Block a user