fix: Format and lint issues

- Remove unused imports (vi, ToolHookEvent) from test file
- Apply oxfmt formatting
This commit is contained in:
Justin Maier 2026-01-27 11:38:43 -07:00
parent 558dcbe3bf
commit 89a4f0b245
2 changed files with 2 additions and 5 deletions

View File

@ -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 {

View File

@ -87,9 +87,7 @@ function parseSessionMeta(sessionKey: string | undefined | null): SessionMeta {
/**
* Type guard for tool event data
*/
function isToolEventData(
data: Record<string, unknown> | undefined,
): data is {
function isToolEventData(data: Record<string, unknown> | undefined): data is {
phase: string;
name: string;
toolCallId: string;