Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore(chatWire): reorder imports

Steven Enamakel7a20cc255817
diff --git a/app/src/features/conversations/aui/useThreadTodos.test.tsx b/app/src/features/conversations/aui/useThreadTodos.test.tsx
index 926df29eef..85418fbd92 100644
--- a/app/src/features/conversations/aui/useThreadTodos.test.tsx
+++ b/app/src/features/conversations/aui/useThreadTodos.test.tsx
@@ -51,7 +51,11 @@ describe('useLoadThreadTodos', () => {
});
it('preserves the core reason for a cancelled todo item', async () => {
- const cancelled = { content: 'Review the migration', status: 'cancelled' as const, reason: null };
+ const cancelled = {
+ content: 'Review the migration',
+ status: 'cancelled' as const,
+ reason: null,
+ };
vi.mocked(threadApi.getTodos).mockResolvedValue([cancelled]);
const { store, wrapper } = setup();
renderHook(() => useLoadThreadTodos('t1'), { wrapper });
diff --git a/app/src/services/chatWire.ts b/app/src/services/chatWire.ts
index a27826c59e..9701f2313a 100644
--- a/app/src/services/chatWire.ts
+++ b/app/src/services/chatWire.ts
@@ -18,6 +18,17 @@
* the projection boundary.
*/
import type { ChatErrorCopyParams } from '../lib/chatErrorCopy';
+import type {
+ ArtifactFailedPayload,
+ ArtifactKind as ArtifactKindWire,
+ ArtifactPendingPayload,
+ ArtifactReadyPayload,
+ QueueMode as QueueModeWire,
+ RunMode as RunModeWire,
+ ThreadGoal as ThreadGoalWire,
+ TodoItem as TodoItemWire,
+ TurnCitation as TurnCitationWire,
+} from '../types/threadWire.generated';
import type {
ChatSuggestion,
ContentPart,
@@ -31,17 +42,6 @@ import type {
WebTurnTimingPayload,
WebTurnUsagePayload,
} from './chatWire.generated';
-import type {
- ArtifactFailedPayload,
- ArtifactKind as ArtifactKindWire,
- ArtifactPendingPayload,
- ArtifactReadyPayload,
- QueueMode as QueueModeWire,
- RunMode as RunModeWire,
- ThreadGoal as ThreadGoalWire,
- TodoItem as TodoItemWire,
- TurnCitation as TurnCitationWire,
-} from '../types/threadWire.generated';
export type { ContentPart, OutboundContentPart, WebChannelEvent };
export type QueueMode = QueueModeWire;