feat(FN-3060): add agent task auto-summarization and droid CLI path reconci

This merge adds droid CLI path reconciliation as a new pi extension, wires agent task auto-summarization for the agent tools layer, makes the UsageIndicator component resizable with improved styling, and updates related tests and documentation. The core changes include a new `reconcile-droid-cli-pat

Fusion-Task-Id: FN-3060
This commit is contained in:
Fusion
2026-05-01 12:40:25 -07:00
committed by gsxdsm
parent e6c79f1a41
commit 95cd107523
11 changed files with 94 additions and 25 deletions

View File

@@ -12,6 +12,7 @@ function createMockAgentStore(overrides: Partial<AgentStore> = {}): AgentStore {
function createMockTaskStore(overrides: Partial<TaskStore> = {}): TaskStore {
return {
getSettings: vi.fn().mockResolvedValue({ autoSummarizeTitles: false }),
createTask: vi.fn().mockResolvedValue({
id: "FN-001",
description: "",
@@ -188,7 +189,7 @@ describe("createDelegateTaskTool", () => {
column: "todo",
assignedAgentId: "agent-001",
source: { sourceType: "api" },
});
}, expect.objectContaining({ settings: { autoSummarizeTitles: false } }));
const text = (result.content[0] as { text: string }).text;
expect(text).toContain("Delegated to Bob (agent-001)");
@@ -283,7 +284,7 @@ describe("createDelegateTaskTool", () => {
column: "todo",
assignedAgentId: "agent-001",
source: { sourceType: "api" },
});
}, expect.objectContaining({ settings: { autoSummarizeTitles: false } }));
const text = (result.content[0] as { text: string }).text;
expect(text).toContain("depends on: FN-010");
@@ -312,6 +313,7 @@ describe("createDelegateTaskTool", () => {
expect(taskStore.createTask).toHaveBeenCalledWith(
expect.objectContaining({ dependencies: undefined }),
expect.objectContaining({ settings: { autoSummarizeTitles: false } }),
);
const text = (result.content[0] as { text: string }).text;