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:
@@ -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", () => {
|
||||
|
||||
Reference in New Issue
Block a user