import { Agent, ToolAttachment } from "../entities/agent.js"; import z from "zod"; import { CopilotInstructions } from "./instructions.js"; import { BuiltinTools } from "../lib/builtin-tools.js"; const tools: Record> = {}; for (const [name, tool] of Object.entries(BuiltinTools)) { tools[name] = { type: "builtin", name, }; } export const CopilotAgent: z.infer = { name: "rowboatx", description: "Rowboatx copilot", instructions: CopilotInstructions, model: "gpt-5.1", tools, }