feat(FN-3912): fix dependency graph focus and apply tokenized styling feedb

Bug fix addressing dependency graph focus behavior and CSS tokenization feedback, alongside test coverage for CLI bundle output and bundled plugin installation paths. The styling changes affect `DependencyGraph` and `GraphTaskNode` components, while tests validate the published CLI artifact.

Fusion-Task-Id: FN-3912
This commit is contained in:
Fusion
2026-05-10 13:00:15 -07:00
committed by gsxdsm
parent fa8b42cc86
commit 98ac0b200c
5 changed files with 42 additions and 13 deletions

View File

@@ -211,6 +211,24 @@ describe("CLI bundle output", () => {
expect(manifest.name?.length).toBeGreaterThan(0);
});
it("dist/plugins/fusion-plugin-cli-printing-press/ is staged with source entry for bundled install", () => {
const stagedRoot = join(cliRoot, "dist", "plugins", "fusion-plugin-cli-printing-press");
const manifestPath = join(stagedRoot, "manifest.json");
const packageJsonPath = join(stagedRoot, "package.json");
expect(existsSync(manifestPath)).toBe(true);
const manifest = JSON.parse(readFileSync(manifestPath, "utf-8")) as { id?: string; name?: string };
expect(manifest.id).toBe("fusion-plugin-cli-printing-press");
expect(typeof manifest.name).toBe("string");
expect(manifest.name?.length).toBeGreaterThan(0);
expect(existsSync(join(stagedRoot, "src", "index.ts"))).toBe(true);
const stagedPkg = JSON.parse(readFileSync(packageJsonPath, "utf-8")) as {
exports?: { "."?: { import?: string } };
};
expect(stagedPkg.exports?.["."]?.import).toBe("./src/index.ts");
});
it("dist/plugins/fusion-plugin-openclaw-runtime/ is staged with required bridge assets", () => {
const stagedRoot = join(cliRoot, "dist", "plugins", "fusion-plugin-openclaw-runtime");
const manifestPath = join(stagedRoot, "manifest.json");