rowboat/apps/x/packages/shared/src/example.ts

13 lines
391 B
TypeScript
Raw Normal View History

2025-12-29 15:30:57 +05:30
import z from "zod"
import { Agent } from "./agent.js"
import { McpServerDefinition } from "./mcp.js";
export const Example = z.object({
id: z.string(),
instructions: z.string().optional(),
description: z.string().optional(),
entryAgent: z.string().optional(),
agents: z.array(Agent).optional(),
mcpServers: z.record(z.string(), McpServerDefinition).optional(),
});