fix(types): avoid typebox schema mismatch in embedded runner

This commit is contained in:
Peter Steinberger
2026-01-07 21:55:47 +01:00
parent ee99311130
commit 315b0938e3

View File

@@ -18,7 +18,6 @@ import {
SettingsManager,
type Skill,
} from "@mariozechner/pi-coding-agent";
import type { TSchema } from "@sinclair/typebox";
import { resolveHeartbeatPrompt } from "../auto-reply/heartbeat.js";
import type {
ReasoningLevel,
@@ -358,7 +357,7 @@ export function buildEmbeddedSandboxInfo(
const BUILT_IN_TOOL_NAMES = new Set(["read", "bash", "edit", "write"]);
type AnyAgentTool = AgentTool<TSchema, unknown>;
type AnyAgentTool = AgentTool;
export function splitSdkTools(options: {
tools: AnyAgentTool[];