From c1d850874882c84b42643c64296c4692fe437589 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Thu, 1 Jan 2026 16:51:04 +0000 Subject: [PATCH] fix: clean up pi-agent-core lint --- src/agents/bash-tools.ts | 1 - src/agents/clawdis-tools.ts | 2 +- src/agents/pi-embedded-helpers.ts | 5 ++++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/agents/bash-tools.ts b/src/agents/bash-tools.ts index 067f887ba..d3f7557bc 100644 --- a/src/agents/bash-tools.ts +++ b/src/agents/bash-tools.ts @@ -1,7 +1,6 @@ import { type ChildProcessWithoutNullStreams, spawn } from "node:child_process"; import { randomUUID } from "node:crypto"; import type { AgentTool, AgentToolResult } from "@mariozechner/pi-agent-core"; -import { StringEnum } from "@mariozechner/pi-ai"; import { Type } from "@sinclair/typebox"; import { diff --git a/src/agents/clawdis-tools.ts b/src/agents/clawdis-tools.ts index 0251b54bc..b09968633 100644 --- a/src/agents/clawdis-tools.ts +++ b/src/agents/clawdis-tools.ts @@ -2,7 +2,7 @@ import crypto from "node:crypto"; import fs from "node:fs/promises"; import type { AgentTool, AgentToolResult } from "@mariozechner/pi-agent-core"; -import { type TSchema, Type } from "@sinclair/typebox"; +import { Type } from "@sinclair/typebox"; import { browserCloseTab, browserFocusTab, diff --git a/src/agents/pi-embedded-helpers.ts b/src/agents/pi-embedded-helpers.ts index 031d0ec84..8d2debc70 100644 --- a/src/agents/pi-embedded-helpers.ts +++ b/src/agents/pi-embedded-helpers.ts @@ -1,7 +1,10 @@ import fs from "node:fs/promises"; import path from "node:path"; -import type { AgentMessage, AgentToolResult } from "@mariozechner/pi-agent-core"; +import type { + AgentMessage, + AgentToolResult, +} from "@mariozechner/pi-agent-core"; import type { AssistantMessage } from "@mariozechner/pi-ai"; import { sanitizeContentBlocksImages } from "./tool-images.js";