/** * Recipe kinds for the Agentic Studio area — declarative definitions + * `sync` support for its authored resources. * * `agent` is create + update; `skill`, `widget`, `custom-mcp`, `schema`, * and `html-template` are create-only. `schema` and `html-template` * writes go through Next.js server actions (no `/api/` write endpoint) — * see their `api/` modules. `tools` have no write path and are not * recipe-managed. * * `agentRecipeKindByName` is the lookup the `agents-recipe` MCP tool and * the `scai agents sync` command dispatch through. */ import { type RecipeKind } from "../../sync/index.js"; export { AgentRecipeSchema, type AgentRecipe } from "./agent.schema.js"; export { SkillRecipeSchema, type SkillRecipe } from "./skill.schema.js"; export { WidgetRecipeSchema, WidgetSpecSchema, type WidgetRecipe } from "./widget.schema.js"; export { CustomMcpRecipeSchema, type CustomMcpRecipe } from "./custom-mcp.schema.js"; export { SchemaRecipeSchema, type SchemaRecipe } from "./schema.schema.js"; export { HtmlTemplateRecipeSchema, type HtmlTemplateRecipe } from "./html-template.schema.js"; export { diffAgent } from "./agent.diff.js"; export { diffCreateOnly } from "./converge.js"; export { agentKind } from "./agent.kind.js"; export { skillKind } from "./skill.kind.js"; export { widgetKind } from "./widget.kind.js"; export { customMcpKind } from "./custom-mcp.kind.js"; export { schemaKind } from "./schema.kind.js"; export { htmlTemplateKind } from "./html-template.kind.js"; export { resolveAgentsSession } from "./client.js"; /** The Agentic Studio recipe kind names. */ export type AgentKindName = "agent" | "skill" | "widget" | "custom-mcp" | "schema" | "html-template"; /** * The Agentic Studio recipe kinds keyed by name. Values are erased to * `RecipeKind` via `eraseKind` because `RecipeKind` is * invariant in `T` and the map holds heterogeneous kinds. */ export declare const agentRecipeKindByName: Record>; /** * Register every Agentic Studio recipe kind with the `sync` engine. * `registerKind` throws on a duplicate name, so call this exactly once * at startup. */ export declare const registerAgentRecipeKinds: () => void;