feat(FN-3765): add run panel and generation pipeline for CLI printing press

Adds a CLI command generation pipeline with a runner to execute generated commands, run/artifact API routes, and a TestRunnerPanel UI for monitoring execution — complete with tests covering the generator, runner, run routes, and the panel component.

Fusion-Task-Id: FN-3765
This commit is contained in:
Fusion
2026-05-10 17:26:06 -07:00
committed by gsxdsm
parent 48aea5001b
commit 36b664309c
21 changed files with 897 additions and 32 deletions

View File

@@ -24,6 +24,10 @@ function mergeDraft(existing: ServiceDraft, patch: Partial<ServiceDraft>): Servi
};
}
export function getArtifactDir(id: string, projectRoot: string): string {
return join(projectRoot, ".fusion", "plugins", "cli-printing-press", "generated", id);
}
export function createDraftStore({ rootDir }: { rootDir: string }) {
const draftsDir = join(rootDir, ".fusion", "plugins", "cli-printing-press", "drafts");