mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-06-03 19:25:19 +02:00
* add workspace access guidelines to instructions * updated example * removed incorrect example * add --example to add the examples from rowboat * changed --example to --sync-example * rename sync-examples option to sync-example in CLI * fix: sync-example implementation * refactor example import * fix yargs * fix: - remove changes to package-lock - remove output messages from app.js and moved them into importExample * fix: restore package-lock.json to match main (remove diff) * fix: naming of the commands * update: made import-example into import and it can import example workflows or user made workflows * update: added export capability * delete: remove misplaced podcast.json file * removed incomplete gemini3-test example json * remove: eliminate gemini3-test example from exports * Fix: better prompting around MCP config Add: copilot tool to add MCP servers * clean up prompt --------- Co-authored-by: Ramnique Singh <30795890+ramnique@users.noreply.github.com>
12 lines
No EOL
389 B
TypeScript
12 lines
No EOL
389 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(),
|
|
}); |