fix: Format and lint issues
- Remove unused imports (vi, ToolHookEvent) from test file - Apply oxfmt formatting
This commit is contained in:
parent
558dcbe3bf
commit
89a4f0b245
@ -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 {
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user