mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-27 17:36:25 +02:00
13 lines
391 B
TypeScript
13 lines
391 B
TypeScript
|
|
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(),
|
||
|
|
});
|