From 89a4f0b24569138d8631a7781de753edd30c99a4 Mon Sep 17 00:00:00 2001 From: Justin Maier Date: Tue, 27 Jan 2026 11:38:43 -0700 Subject: [PATCH] fix: Format and lint issues - Remove unused imports (vi, ToolHookEvent) from test file - Apply oxfmt formatting --- src/infra/agent-hook-bridge.test.ts | 3 +-- src/infra/agent-hook-bridge.ts | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/infra/agent-hook-bridge.test.ts b/src/infra/agent-hook-bridge.test.ts index f8fbdb63a..9b0c1a489 100644 --- a/src/infra/agent-hook-bridge.test.ts +++ b/src/infra/agent-hook-bridge.test.ts @@ -1,9 +1,8 @@ -import { describe, it, expect, beforeEach, afterEach, vi } from "vitest"; +import { describe, it, expect, beforeEach, afterEach } from "vitest"; import { startAgentHookBridge, stopAgentHookBridge, type SessionMeta, - type ToolHookEvent, } from "./agent-hook-bridge.js"; import { emitAgentEvent } from "./agent-events.js"; import { diff --git a/src/infra/agent-hook-bridge.ts b/src/infra/agent-hook-bridge.ts index 6ecba893b..6627ec253 100644 --- a/src/infra/agent-hook-bridge.ts +++ b/src/infra/agent-hook-bridge.ts @@ -87,9 +87,7 @@ function parseSessionMeta(sessionKey: string | undefined | null): SessionMeta { /** * Type guard for tool event data */ -function isToolEventData( - data: Record | undefined, -): data is { +function isToolEventData(data: Record | undefined): data is { phase: string; name: string; toolCallId: string;