/** * Schema for the YAML frontmatter of a subagent markdown file. * * Subagents are spawned by Claude Code when work benefits from an * isolated context window with its own tool policy. Plugin-shipped * subagents ignore `hooks`, `mcpServers`, and `permissionMode`, but * other fields such as `effort`, `maxTurns`, and `disallowedTools` * apply. * * This schema deliberately keeps `name`, `memory`, and `isolation` * permissive so future Claude Code enum additions do not make existing * agents fail to decode. Current docs describe lowercase hyphenated * names and `memory` values of `user`, `project`, and `local`; enforce * those constraints in lint/validation layers when desired. * * @since 0.1.0 */ import * as Schema from 'effect/Schema'; import { PermissionsConfig } from '../Settings/Schema.js'; export declare const SubagentColor: Schema.Literals; declare const SubagentFrontmatter_base: Schema.Class; readonly effort: Schema.optional>; readonly maxTurns: Schema.optional; readonly initialPrompt: Schema.optional; readonly tools: Schema.optional]>>; readonly disallowedTools: Schema.optional]>>; readonly isolation: Schema.optional; readonly color: Schema.optional>; readonly skills: Schema.optional>; readonly mcpServers: Schema.optional]>>>; readonly memory: Schema.optional; readonly background: Schema.optional; readonly permissionMode: Schema.optional>; /** @deprecated Current Claude Code subagents use `permissionMode`, not `permissions`. */ readonly permissions: Schema.optional; readonly hooks: Schema.optional>>; }>, {}>; /** * The full frontmatter schema for a subagent markdown file. * * @category Schemas * @since 0.1.0 */ export declare class SubagentFrontmatter extends SubagentFrontmatter_base { } export type SubagentFrontmatterInput = typeof SubagentFrontmatter.Type; export {}; //# sourceMappingURL=Subagent.d.ts.map