import type { AgentToolResult } from "@earendil-works/pi-coding-agent"; export function toToolResult(text: string): AgentToolResult { return { content: [{ type: "text", text }], details: undefined, }; }