From 1060664e7c9335c78c007f016cc86e1b5161b30e Mon Sep 17 00:00:00 2001 From: dp-web4 Date: Wed, 28 Jan 2026 15:04:21 -0800 Subject: [PATCH] fix: remove unused imports and params in pi-tools.hooks.test.ts - Remove unused afterEach import - Prefix unused params parameter with underscore - Fixes lint errors from hook pipeline implementation --- src/agents/pi-tools.hooks.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/agents/pi-tools.hooks.test.ts b/src/agents/pi-tools.hooks.test.ts index c9d58cd15..20d67dfb7 100644 --- a/src/agents/pi-tools.hooks.test.ts +++ b/src/agents/pi-tools.hooks.test.ts @@ -1,4 +1,4 @@ -import { afterEach, beforeEach, describe, expect, it, vi } from "vitest"; +import { beforeEach, describe, expect, it, vi } from "vitest"; import { wrapToolWithHooks, type ToolHookContext } from "./pi-tools.hooks.js"; import type { AnyAgentTool } from "./pi-tools.types.js"; @@ -22,7 +22,7 @@ function createMockTool(name: string, executeFn?: AnyAgentTool["execute"]): AnyA schema: {} as AnyAgentTool["schema"], execute: executeFn ?? - (async (_id: string, params: unknown) => { + (async (_id: string, _params: unknown) => { return `result from ${name}`; }), };