import type { Agent } from "@paperclip/shared"; import { api } from "./client"; export const agentsApi = { list: () => api.get("/agents"), get: (id: string) => api.get(`/agents/${id}`), create: (data: Partial) => api.post("/agents", data), update: (id: string, data: Partial) => api.patch(`/agents/${id}`, data), remove: (id: string) => api.delete(`/agents/${id}`), };