fix(types): avoid typebox schema mismatch in embedded runner
This commit is contained in:
@@ -18,7 +18,6 @@ import {
|
|||||||
SettingsManager,
|
SettingsManager,
|
||||||
type Skill,
|
type Skill,
|
||||||
} from "@mariozechner/pi-coding-agent";
|
} from "@mariozechner/pi-coding-agent";
|
||||||
import type { TSchema } from "@sinclair/typebox";
|
|
||||||
import { resolveHeartbeatPrompt } from "../auto-reply/heartbeat.js";
|
import { resolveHeartbeatPrompt } from "../auto-reply/heartbeat.js";
|
||||||
import type {
|
import type {
|
||||||
ReasoningLevel,
|
ReasoningLevel,
|
||||||
@@ -358,7 +357,7 @@ export function buildEmbeddedSandboxInfo(
|
|||||||
|
|
||||||
const BUILT_IN_TOOL_NAMES = new Set(["read", "bash", "edit", "write"]);
|
const BUILT_IN_TOOL_NAMES = new Set(["read", "bash", "edit", "write"]);
|
||||||
|
|
||||||
type AnyAgentTool = AgentTool<TSchema, unknown>;
|
type AnyAgentTool = AgentTool;
|
||||||
|
|
||||||
export function splitSdkTools(options: {
|
export function splitSdkTools(options: {
|
||||||
tools: AnyAgentTool[];
|
tools: AnyAgentTool[];
|
||||||
|
|||||||
Reference in New Issue
Block a user