feat(FN-3332): add droid runtime plugin with event bridge and process manag
The merge delivers a new `fusion-plugin-droid-runtime` plugin providing a full MCP server and runtime adapter for droid-based agents, with event bridging, process management, tool mapping, and a prompt builder. It also adds agent delegation and org hierarchy tools to the pi extension, while fixing a Fusion-Task-Id: FN-3332
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { describe, expect, it, vi } from "vitest";
|
||||
import * as processManager from "../process-manager.js";
|
||||
|
||||
describe("provider dependencies", () => {
|
||||
it("deduplicates discovered model ids", async () => {
|
||||
vi.spyOn(processManager, "discoverDroidModels").mockResolvedValue(["a", "b", "a"]);
|
||||
const ids = Array.from(new Set(await processManager.discoverDroidModels()));
|
||||
expect(ids).toEqual(["a", "b"]);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user