feat(FN-3193): split-pane redesign of agents workspace with mobile support

Merges FN-3122's agents workspace redesign (split-pane layout, mobile responsiveness) and FN-3193's test infrastructure stabilization. The AgentsView and AgentDetailView components received major style and layout updates, with corresponding test coverage added. Several vitest config entries were con

Fusion-Task-Id: FN-3193
This commit is contained in:
Fusion
2026-05-02 04:18:03 -07:00
committed by gsxdsm
parent 4b92c044f8
commit 3ca4209757
5 changed files with 7 additions and 9 deletions

View File

@@ -1,4 +1,5 @@
import { describe, it, expect, vi, beforeEach } from "vitest";
import { readFile } from "node:fs/promises";
import { OpenClawRuntimeAdapter } from "../runtime-adapter.js";
const {
@@ -48,6 +49,12 @@ describe("OpenClawRuntimeAdapter — identity", () => {
expect(adapter.id).toBe("openclaw");
expect(adapter.name).toBe("OpenClaw Runtime");
});
it("uses the local pi-module seam and does not import @fusion/engine", async () => {
const source = await readFile(new URL("../runtime-adapter.ts", import.meta.url), "utf8");
expect(source).toContain('from "./pi-module.js"');
expect(source).not.toContain("@fusion/engine");
});
});
describe("OpenClawRuntimeAdapter — createSession", () => {