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
14 lines
470 B
TypeScript
14 lines
470 B
TypeScript
export interface DroidCliSettings {
|
|
binaryPath: string;
|
|
model?: string;
|
|
}
|
|
|
|
export function resolveCliSettings(settings?: Record<string, unknown>): DroidCliSettings {
|
|
const binaryPath =
|
|
typeof settings?.droidBinaryPath === "string" && settings.droidBinaryPath.trim().length > 0
|
|
? settings.droidBinaryPath.trim()
|
|
: "droid";
|
|
const model = typeof settings?.droidModel === "string" ? settings.droidModel : undefined;
|
|
return { binaryPath, model };
|
|
}
|