feat(FN-3583): prevent worktree collisions on manual moves and make heartbe
The merge lands five commits: a fix (FN-3583) that preserves non-tool message boundaries when tools are hidden in CLI bundles, plus hardened test coverage for that regression and bundle asset bootstrapping; worktree collision prevention on manual task moves via a new `worktree-names.ts` module and s Fusion-Task-Id: FN-3583
This commit is contained in:
@@ -46,6 +46,15 @@ export function buildCliWithRealDashboardAssets() {
|
||||
|
||||
runBuildCommand("pnpm --filter @fusion/dashboard build:client", workspaceRoot);
|
||||
runBuildCommand("pnpm build", cliRoot);
|
||||
|
||||
if (hasBuiltDashboardAssets()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Fallback for environments where build:client alone does not refresh the
|
||||
// dashboard dist/client bundle consumed by the CLI copy step.
|
||||
runBuildCommand("pnpm --filter @fusion/dashboard build", workspaceRoot);
|
||||
runBuildCommand("pnpm build", cliRoot);
|
||||
}
|
||||
|
||||
export function readClientIndexHtml() {
|
||||
|
||||
Reference in New Issue
Block a user