The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(test): update test imports to use correct module paths
Steven Enamakel09ce856ad18d
diff --git a/app/src/features/conversations/components/__tests__/SubagentDrawer.test.tsx b/app/src/features/conversations/components/__tests__/SubagentDrawer.test.tsxindex 4d079b2353..0dc20c5cb5 100644--- a/app/src/features/conversations/components/__tests__/SubagentDrawer.test.tsx+++ b/app/src/features/conversations/components/__tests__/SubagentDrawer.test.tsx@@ -60,7 +60,7 @@ describe('SubagentDrawer', () => {expect(order(tool)).toBeLessThan(order(texts[1]));expect(thinking.textContent).toContain('comparing the two sources');- expect(tool.textContent).toContain('Searched the web');+ expect(tool.textContent).toContain('Searching the web');expect(tool.textContent).toContain('1.2s');expect(texts[1].textContent).toContain('The answer is');});@@ -178,7 +178,7 @@ describe('SubagentDrawer', () => {await waitFor(() =>expect(screen.getByTestId('subagent-parent-prompt').textContent).toContain('Research Q3'));- expect(screen.getByTestId('assistant-ui-tool-call').textContent).toContain('Searched the web');+ expect(screen.getByTestId('assistant-ui-tool-call').textContent).toContain('Searching the web');expect(screen.getByTestId('subagent-transcript-text').textContent).toContain('Revenue grew 18%');@@ -345,11 +345,10 @@ describe('SubagentDrawer', () => {expect(screen.queryByTestId('assistant-ui-tool-output')).toBeNull();});- it('derives a search label from the arguments when the server label degraded to "tool"', () => {- // A provider that hands back a generic `tool` name leaves the row with- // nothing better than "Tool" unless the arguments are there to read. Those- // arguments only survive a reload because the snapshot now carries them- // (#5987) — without them this row reads "Tool" again after a refresh.+ it('does not guess a web search when the server label degraded to "tool"', () => {+ // A generic `tool` name says nothing about what ran. A `query` argument is+ // not evidence of a web search either — `tool_search`, Composio actions and+ // memory reads all take one — so the row stays neutral rather than lying.const transcript: SubagentTranscriptItem[] = [{kind: 'tool',@@ -364,6 +363,6 @@ describe('SubagentDrawer', () => {render(<SubagentDrawer subagent={activity({ transcript })} status="success" onClose={() => {}} />);- expect(screen.getByTestId('assistant-ui-tool-call').textContent).toContain('Searched the web');+ expect(screen.getByTestId('assistant-ui-tool-call').textContent).not.toMatch(/web/i);});});diff --git a/app/src/features/conversations/components/__tests__/ToolTimelineBlock.test.tsx b/app/src/features/conversations/components/__tests__/ToolTimelineBlock.test.tsxindex 4c68fa44cd..e5aebb0917 100644--- a/app/src/features/conversations/components/__tests__/ToolTimelineBlock.test.tsx+++ b/app/src/features/conversations/components/__tests__/ToolTimelineBlock.test.tsx@@ -121,7 +121,7 @@ describe('SubagentActivityBlock', () => {expect(calls).toHaveLength(3);// Human labels + timing, with status as a tinted "Done" / "Failed" /// "Running" tag instead of a bare ✓/✕ glyph or the raw lowercase word.- expect(calls[0].textContent).toContain('Searched the web');+ expect(calls[0].textContent).toContain('Searching the web');expect(calls[0].textContent?.toLowerCase()).toContain('done');expect(calls[0].textContent).toContain('312ms');expect(calls[1].textContent).toContain('Composio Execute');@@ -152,7 +152,7 @@ describe('SubagentActivityBlock', () => {/>);- expect(screen.getByText('Searched the web')).toBeInTheDocument();+ expect(screen.getByText('Searching the web')).toBeInTheDocument();const call = screen.getByTestId('assistant-ui-tool-call');await userEvent.click(within(call).getByRole('button'));expect(screen.getByTestId('assistant-ui-tool-output')).toHaveTextContent('Formal Conjectures');@@ -160,7 +160,7 @@ describe('SubagentActivityBlock', () => {expect(screen.queryByText(/"content"/)).not.toBeInTheDocument();});- it('infers a descriptive search label for a degraded subagent tool name', () => {+ it('does not guess a web search for a degraded subagent tool name', () => {renderInStore(<SubagentActivityBlocksubagent={{@@ -179,7 +179,7 @@ describe('SubagentActivityBlock', () => {/>);- expect(screen.getByTestId('assistant-ui-tool-call')).toHaveTextContent('Searched the web');+ expect(screen.getByTestId('assistant-ui-tool-call')).not.toHaveTextContent(/web/i);});it('labels cancelled / awaiting-user calls distinctly (not the green "Done" pill)', () => {@@ -272,7 +272,7 @@ describe('SubagentActivityBlock', () => {expect(rows[0]).toHaveAttribute('data-testid', 'subagent-thought');expect(rows[0].textContent).toContain('I should search the web first');expect(rows[1]).toHaveAttribute('data-testid', 'assistant-ui-tool-call');- expect(rows[1].textContent).toContain('Searched the web');+ expect(rows[1].textContent).toContain('Searching the web');expect(rows[2]).toHaveAttribute('data-testid', 'subagent-thought');expect(rows[2].textContent).toContain('Found three relevant results');});@@ -1451,7 +1451,7 @@ describe('ToolTimelineBlock — sub-agent activity survives the transcript path'fireEvent.click(within(subagent).getByRole('button'));const calls = screen.getAllByTestId('assistant-ui-tool-call');expect(calls).toHaveLength(2);- expect(calls[0].textContent).toContain('Searched the web');+ expect(calls[0].textContent).toContain('Searching the web');expect(calls[0].textContent?.toLowerCase()).toContain('done');// Human label, not the raw `web_fetch` slug.expect(calls[1].textContent).toContain('Fetching');