/** * v0.5 — `solosquad agent` CLI group. * * Per docs/plan/v0.5-workflow-maker.md §8 + §10. The `validate` subcommand is * the one that ships in S1; `add`/`list`/`info` are added in S3 alongside * the author loop. * * Why `--all` matters: the 0.4.0→0.5.0 migration prepends frontmatter to 25 * bundled SKILL.md files. Pass 1 is automatic, Pass 2 (this command + CI * gate per §13) catches anything that needed human-authored polish. */ interface ValidateOpts { all?: boolean; /** Also run cross-agent graph validation (refs, cycles, orphans). */ graph?: boolean; } export declare function agentValidateCommand(filePath: string | undefined, opts: ValidateOpts): Promise; export interface AddAgentOpts { name: string; team: string; /** Override org slug — defaults to no org-local subfolder, writes under workspace agents dir. */ org?: string; /** Override description (defaults to a placeholder). */ description?: string; /** Override workspace root (mostly for tests). */ workspace?: string; /** Skip rebuilding the route index (useful for tests). */ skipRouterReload?: boolean; } export interface AddAgentResult { skillPath: string; } /** * Scaffold a minimal SKILL.md for users who want to skip the messenger * author loop. v0.5 §S3 line 6. * * Writes to `//.agents///SKILL.md` when `org` is * provided, otherwise to `///SKILL.md`. */ export declare function agentAddCommand(opts: AddAgentOpts): Promise; export interface AgentListOpts { /** List the workspace's actors instead of the shipped bundle. */ workspace?: boolean; } /** List actors (bundled by default; workspace with --workspace), grouped by team. */ export declare function agentListCommand(opts?: AgentListOpts): Promise; /** Show one actor's spec + its delegation edges. */ export declare function agentShowCommand(idOrName: string, opts?: AgentListOpts): Promise; export interface AgentReloadOpts { /** Restrict reload to a specific org's `.agents/` tier. */ org?: string; /** Override workspace root (mostly for tests). */ workspace?: string; } export interface AgentReloadResult { triggerCount: number; slashCount: number; keywordCount: number; explicitCount: number; freqCount: number; } /** * Manually rebuild the router. In v0.6 the fs-watcher does this * automatically for `auto` and (with confirmation) `prompt` modes; in * `manual` mode the user runs this command after editing a SKILL.md. * * Implementation: a thin wrapper around `rebuildRoutes()` that prints a * human-readable summary. Returns the per-channel counts so tests can * assert against them. */ export declare function agentReloadCommand(opts?: AgentReloadOpts): Promise; export {};