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 { import {
startAgentHookBridge, startAgentHookBridge,
stopAgentHookBridge, stopAgentHookBridge,
type SessionMeta, type SessionMeta,
type ToolHookEvent,
} from "./agent-hook-bridge.js"; } from "./agent-hook-bridge.js";
import { emitAgentEvent } from "./agent-events.js"; import { emitAgentEvent } from "./agent-events.js";
import { import {

View File

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