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 {
|
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 {
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user