@every-env/cli
Version:
Multi-agent orchestrator for AI-powered development workflows
1,222 lines • 46.4 kB
TypeScript
import { z } from 'zod';
export declare const ProjectTypeSchema: z.ZodEnum<["node", "rails", "python", "go", "ruby", "basic", "monorepo"]>;
export type ProjectType = z.infer<typeof ProjectTypeSchema>;
export declare const AgentBaseSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
export type AgentBase = z.infer<typeof AgentBaseSchema>;
export declare const ClaudeAgentSchema: z.ZodObject<{
cli: z.ZodOptional<z.ZodString>;
args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
cli?: string | undefined;
args?: string[] | undefined;
}, {
cli?: string | undefined;
args?: string[] | undefined;
}>;
export type ClaudeAgent = z.infer<typeof ClaudeAgentSchema>;
export declare const AmpAgentSchema: z.ZodObject<{
cli: z.ZodOptional<z.ZodString>;
args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
cli?: string | undefined;
args?: string[] | undefined;
}, {
cli?: string | undefined;
args?: string[] | undefined;
}>;
export type AmpAgent = z.infer<typeof AmpAgentSchema>;
export declare const CodexAgentSchema: z.ZodObject<{
cli: z.ZodOptional<z.ZodString>;
args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
cli?: string | undefined;
args?: string[] | undefined;
}, {
cli?: string | undefined;
args?: string[] | undefined;
}>;
export type CodexAgent = z.infer<typeof CodexAgentSchema>;
export declare const CopyClipboardAgentSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
export type CopyClipboardAgent = z.infer<typeof CopyClipboardAgentSchema>;
export declare const AgentsSchema: z.ZodObject<{
claude: z.ZodOptional<z.ZodObject<{
cli: z.ZodOptional<z.ZodString>;
args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
cli?: string | undefined;
args?: string[] | undefined;
}, {
cli?: string | undefined;
args?: string[] | undefined;
}>>;
'copy-clipboard': z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
amp: z.ZodOptional<z.ZodObject<{
cli: z.ZodOptional<z.ZodString>;
args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
cli?: string | undefined;
args?: string[] | undefined;
}, {
cli?: string | undefined;
args?: string[] | undefined;
}>>;
codex: z.ZodOptional<z.ZodObject<{
cli: z.ZodOptional<z.ZodString>;
args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
cli?: string | undefined;
args?: string[] | undefined;
}, {
cli?: string | undefined;
args?: string[] | undefined;
}>>;
}, "strip", z.ZodRecord<z.ZodString, z.ZodUnknown>, z.objectOutputType<{
claude: z.ZodOptional<z.ZodObject<{
cli: z.ZodOptional<z.ZodString>;
args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
cli?: string | undefined;
args?: string[] | undefined;
}, {
cli?: string | undefined;
args?: string[] | undefined;
}>>;
'copy-clipboard': z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
amp: z.ZodOptional<z.ZodObject<{
cli: z.ZodOptional<z.ZodString>;
args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
cli?: string | undefined;
args?: string[] | undefined;
}, {
cli?: string | undefined;
args?: string[] | undefined;
}>>;
codex: z.ZodOptional<z.ZodObject<{
cli: z.ZodOptional<z.ZodString>;
args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
cli?: string | undefined;
args?: string[] | undefined;
}, {
cli?: string | undefined;
args?: string[] | undefined;
}>>;
}, z.ZodRecord<z.ZodString, z.ZodUnknown>, "strip">, z.objectInputType<{
claude: z.ZodOptional<z.ZodObject<{
cli: z.ZodOptional<z.ZodString>;
args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
cli?: string | undefined;
args?: string[] | undefined;
}, {
cli?: string | undefined;
args?: string[] | undefined;
}>>;
'copy-clipboard': z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
amp: z.ZodOptional<z.ZodObject<{
cli: z.ZodOptional<z.ZodString>;
args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
cli?: string | undefined;
args?: string[] | undefined;
}, {
cli?: string | undefined;
args?: string[] | undefined;
}>>;
codex: z.ZodOptional<z.ZodObject<{
cli: z.ZodOptional<z.ZodString>;
args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
cli?: string | undefined;
args?: string[] | undefined;
}, {
cli?: string | undefined;
args?: string[] | undefined;
}>>;
}, z.ZodRecord<z.ZodString, z.ZodUnknown>, "strip">>;
export type Agents = z.infer<typeof AgentsSchema>;
export declare const RuntimeConfigSchema: z.ZodObject<{
projectType: z.ZodEnum<["node", "rails", "python", "go", "ruby", "basic", "monorepo"]>;
defaultAgent: z.ZodString;
agents: z.ZodObject<{
claude: z.ZodOptional<z.ZodObject<{
cli: z.ZodOptional<z.ZodString>;
args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
cli?: string | undefined;
args?: string[] | undefined;
}, {
cli?: string | undefined;
args?: string[] | undefined;
}>>;
'copy-clipboard': z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
amp: z.ZodOptional<z.ZodObject<{
cli: z.ZodOptional<z.ZodString>;
args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
cli?: string | undefined;
args?: string[] | undefined;
}, {
cli?: string | undefined;
args?: string[] | undefined;
}>>;
codex: z.ZodOptional<z.ZodObject<{
cli: z.ZodOptional<z.ZodString>;
args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
cli?: string | undefined;
args?: string[] | undefined;
}, {
cli?: string | undefined;
args?: string[] | undefined;
}>>;
}, "strip", z.ZodRecord<z.ZodString, z.ZodUnknown>, z.objectOutputType<{
claude: z.ZodOptional<z.ZodObject<{
cli: z.ZodOptional<z.ZodString>;
args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
cli?: string | undefined;
args?: string[] | undefined;
}, {
cli?: string | undefined;
args?: string[] | undefined;
}>>;
'copy-clipboard': z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
amp: z.ZodOptional<z.ZodObject<{
cli: z.ZodOptional<z.ZodString>;
args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
cli?: string | undefined;
args?: string[] | undefined;
}, {
cli?: string | undefined;
args?: string[] | undefined;
}>>;
codex: z.ZodOptional<z.ZodObject<{
cli: z.ZodOptional<z.ZodString>;
args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
cli?: string | undefined;
args?: string[] | undefined;
}, {
cli?: string | undefined;
args?: string[] | undefined;
}>>;
}, z.ZodRecord<z.ZodString, z.ZodUnknown>, "strip">, z.objectInputType<{
claude: z.ZodOptional<z.ZodObject<{
cli: z.ZodOptional<z.ZodString>;
args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
cli?: string | undefined;
args?: string[] | undefined;
}, {
cli?: string | undefined;
args?: string[] | undefined;
}>>;
'copy-clipboard': z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
amp: z.ZodOptional<z.ZodObject<{
cli: z.ZodOptional<z.ZodString>;
args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
cli?: string | undefined;
args?: string[] | undefined;
}, {
cli?: string | undefined;
args?: string[] | undefined;
}>>;
codex: z.ZodOptional<z.ZodObject<{
cli: z.ZodOptional<z.ZodString>;
args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
cli?: string | undefined;
args?: string[] | undefined;
}, {
cli?: string | undefined;
args?: string[] | undefined;
}>>;
}, z.ZodRecord<z.ZodString, z.ZodUnknown>, "strip">>;
createdAt: z.ZodString;
updatedAt: z.ZodOptional<z.ZodString>;
version: z.ZodNumber;
validationWarnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
signals: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
createdAt: string;
projectType: "ruby" | "node" | "rails" | "python" | "go" | "basic" | "monorepo";
defaultAgent: string;
agents: {
claude?: {
cli?: string | undefined;
args?: string[] | undefined;
} | undefined;
'copy-clipboard'?: {} | undefined;
amp?: {
cli?: string | undefined;
args?: string[] | undefined;
} | undefined;
codex?: {
cli?: string | undefined;
args?: string[] | undefined;
} | undefined;
} & {
[k: string]: Record<string, unknown>;
};
version: number;
updatedAt?: string | undefined;
validationWarnings?: string[] | undefined;
signals?: string[] | undefined;
}, {
createdAt: string;
projectType: "ruby" | "node" | "rails" | "python" | "go" | "basic" | "monorepo";
defaultAgent: string;
agents: {
claude?: {
cli?: string | undefined;
args?: string[] | undefined;
} | undefined;
'copy-clipboard'?: {} | undefined;
amp?: {
cli?: string | undefined;
args?: string[] | undefined;
} | undefined;
codex?: {
cli?: string | undefined;
args?: string[] | undefined;
} | undefined;
} & {
[k: string]: Record<string, unknown>;
};
version: number;
updatedAt?: string | undefined;
validationWarnings?: string[] | undefined;
signals?: string[] | undefined;
}>;
export type RuntimeConfig = z.infer<typeof RuntimeConfigSchema>;
export declare const FileMatchSchema: z.ZodObject<{
files: z.ZodArray<z.ZodString, "many">;
exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
files: string[];
exclude?: string[] | undefined;
}, {
files: string[];
exclude?: string[] | undefined;
}>;
export declare const ContentMatchSchema: z.ZodObject<{
regex: z.ZodString;
captureGroup: z.ZodOptional<z.ZodNumber>;
exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
multiline: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
regex: string;
exclude?: string[] | undefined;
captureGroup?: number | undefined;
multiline?: boolean | undefined;
}, {
regex: string;
exclude?: string[] | undefined;
captureGroup?: number | undefined;
multiline?: boolean | undefined;
}>;
export declare const MatchSchema: z.ZodObject<{
files: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
content: z.ZodOptional<z.ZodObject<{
regex: z.ZodString;
captureGroup: z.ZodOptional<z.ZodNumber>;
exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
multiline: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
regex: string;
exclude?: string[] | undefined;
captureGroup?: number | undefined;
multiline?: boolean | undefined;
}, {
regex: string;
exclude?: string[] | undefined;
captureGroup?: number | undefined;
multiline?: boolean | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
files?: string[] | undefined;
exclude?: string[] | undefined;
content?: {
regex: string;
exclude?: string[] | undefined;
captureGroup?: number | undefined;
multiline?: boolean | undefined;
} | undefined;
}, {
files?: string[] | undefined;
exclude?: string[] | undefined;
content?: {
regex: string;
exclude?: string[] | undefined;
captureGroup?: number | undefined;
multiline?: boolean | undefined;
} | undefined;
}>;
export declare const AgentSchema: z.ZodObject<{
id: z.ZodString;
promptFile: z.ZodString;
output: z.ZodOptional<z.ZodString>;
outputPattern: z.ZodOptional<z.ZodString>;
promptMode: z.ZodOptional<z.ZodString>;
forEach: z.ZodOptional<z.ZodString>;
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
command: z.ZodOptional<z.ZodString>;
flags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
workingDir: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
id: string;
promptFile: string;
forEach?: string | undefined;
output?: string | undefined;
outputPattern?: string | undefined;
promptMode?: string | undefined;
variables?: Record<string, string> | undefined;
command?: string | undefined;
flags?: string[] | undefined;
workingDir?: string | undefined;
}, {
id: string;
promptFile: string;
forEach?: string | undefined;
output?: string | undefined;
outputPattern?: string | undefined;
promptMode?: string | undefined;
variables?: Record<string, string> | undefined;
command?: string | undefined;
flags?: string[] | undefined;
workingDir?: string | undefined;
}>;
export declare const PatternSchema: z.ZodObject<{
name: z.ZodString;
description: z.ZodOptional<z.ZodString>;
match: z.ZodOptional<z.ZodObject<{
files: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
content: z.ZodOptional<z.ZodObject<{
regex: z.ZodString;
captureGroup: z.ZodOptional<z.ZodNumber>;
exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
multiline: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
regex: string;
exclude?: string[] | undefined;
captureGroup?: number | undefined;
multiline?: boolean | undefined;
}, {
regex: string;
exclude?: string[] | undefined;
captureGroup?: number | undefined;
multiline?: boolean | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
files?: string[] | undefined;
exclude?: string[] | undefined;
content?: {
regex: string;
exclude?: string[] | undefined;
captureGroup?: number | undefined;
multiline?: boolean | undefined;
} | undefined;
}, {
files?: string[] | undefined;
exclude?: string[] | undefined;
content?: {
regex: string;
exclude?: string[] | undefined;
captureGroup?: number | undefined;
multiline?: boolean | undefined;
} | undefined;
}>>;
agents: z.ZodArray<z.ZodObject<{
id: z.ZodString;
promptFile: z.ZodString;
output: z.ZodOptional<z.ZodString>;
outputPattern: z.ZodOptional<z.ZodString>;
promptMode: z.ZodOptional<z.ZodString>;
forEach: z.ZodOptional<z.ZodString>;
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
command: z.ZodOptional<z.ZodString>;
flags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
workingDir: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
id: string;
promptFile: string;
forEach?: string | undefined;
output?: string | undefined;
outputPattern?: string | undefined;
promptMode?: string | undefined;
variables?: Record<string, string> | undefined;
command?: string | undefined;
flags?: string[] | undefined;
workingDir?: string | undefined;
}, {
id: string;
promptFile: string;
forEach?: string | undefined;
output?: string | undefined;
outputPattern?: string | undefined;
promptMode?: string | undefined;
variables?: Record<string, string> | undefined;
command?: string | undefined;
flags?: string[] | undefined;
workingDir?: string | undefined;
}>, "many">;
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
name: string;
agents: {
id: string;
promptFile: string;
forEach?: string | undefined;
output?: string | undefined;
outputPattern?: string | undefined;
promptMode?: string | undefined;
variables?: Record<string, string> | undefined;
command?: string | undefined;
flags?: string[] | undefined;
workingDir?: string | undefined;
}[];
match?: {
files?: string[] | undefined;
exclude?: string[] | undefined;
content?: {
regex: string;
exclude?: string[] | undefined;
captureGroup?: number | undefined;
multiline?: boolean | undefined;
} | undefined;
} | undefined;
variables?: Record<string, string> | undefined;
description?: string | undefined;
}, {
name: string;
agents: {
id: string;
promptFile: string;
forEach?: string | undefined;
output?: string | undefined;
outputPattern?: string | undefined;
promptMode?: string | undefined;
variables?: Record<string, string> | undefined;
command?: string | undefined;
flags?: string[] | undefined;
workingDir?: string | undefined;
}[];
match?: {
files?: string[] | undefined;
exclude?: string[] | undefined;
content?: {
regex: string;
exclude?: string[] | undefined;
captureGroup?: number | undefined;
multiline?: boolean | undefined;
} | undefined;
} | undefined;
variables?: Record<string, string> | undefined;
description?: string | undefined;
}>;
export declare const DocsConfigSchema: z.ZodObject<{
defaultCommand: z.ZodString;
defaultFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
parallelism: z.ZodOptional<z.ZodObject<{
maxAgents: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
maxAgents: number;
}, {
maxAgents: number;
}>>;
patterns: z.ZodArray<z.ZodObject<{
name: z.ZodString;
description: z.ZodOptional<z.ZodString>;
match: z.ZodOptional<z.ZodObject<{
files: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
content: z.ZodOptional<z.ZodObject<{
regex: z.ZodString;
captureGroup: z.ZodOptional<z.ZodNumber>;
exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
multiline: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
regex: string;
exclude?: string[] | undefined;
captureGroup?: number | undefined;
multiline?: boolean | undefined;
}, {
regex: string;
exclude?: string[] | undefined;
captureGroup?: number | undefined;
multiline?: boolean | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
files?: string[] | undefined;
exclude?: string[] | undefined;
content?: {
regex: string;
exclude?: string[] | undefined;
captureGroup?: number | undefined;
multiline?: boolean | undefined;
} | undefined;
}, {
files?: string[] | undefined;
exclude?: string[] | undefined;
content?: {
regex: string;
exclude?: string[] | undefined;
captureGroup?: number | undefined;
multiline?: boolean | undefined;
} | undefined;
}>>;
agents: z.ZodArray<z.ZodObject<{
id: z.ZodString;
promptFile: z.ZodString;
output: z.ZodOptional<z.ZodString>;
outputPattern: z.ZodOptional<z.ZodString>;
promptMode: z.ZodOptional<z.ZodString>;
forEach: z.ZodOptional<z.ZodString>;
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
command: z.ZodOptional<z.ZodString>;
flags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
workingDir: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
id: string;
promptFile: string;
forEach?: string | undefined;
output?: string | undefined;
outputPattern?: string | undefined;
promptMode?: string | undefined;
variables?: Record<string, string> | undefined;
command?: string | undefined;
flags?: string[] | undefined;
workingDir?: string | undefined;
}, {
id: string;
promptFile: string;
forEach?: string | undefined;
output?: string | undefined;
outputPattern?: string | undefined;
promptMode?: string | undefined;
variables?: Record<string, string> | undefined;
command?: string | undefined;
flags?: string[] | undefined;
workingDir?: string | undefined;
}>, "many">;
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
name: string;
agents: {
id: string;
promptFile: string;
forEach?: string | undefined;
output?: string | undefined;
outputPattern?: string | undefined;
promptMode?: string | undefined;
variables?: Record<string, string> | undefined;
command?: string | undefined;
flags?: string[] | undefined;
workingDir?: string | undefined;
}[];
match?: {
files?: string[] | undefined;
exclude?: string[] | undefined;
content?: {
regex: string;
exclude?: string[] | undefined;
captureGroup?: number | undefined;
multiline?: boolean | undefined;
} | undefined;
} | undefined;
variables?: Record<string, string> | undefined;
description?: string | undefined;
}, {
name: string;
agents: {
id: string;
promptFile: string;
forEach?: string | undefined;
output?: string | undefined;
outputPattern?: string | undefined;
promptMode?: string | undefined;
variables?: Record<string, string> | undefined;
command?: string | undefined;
flags?: string[] | undefined;
workingDir?: string | undefined;
}[];
match?: {
files?: string[] | undefined;
exclude?: string[] | undefined;
content?: {
regex: string;
exclude?: string[] | undefined;
captureGroup?: number | undefined;
multiline?: boolean | undefined;
} | undefined;
} | undefined;
variables?: Record<string, string> | undefined;
description?: string | undefined;
}>, "many">;
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
patterns: {
name: string;
agents: {
id: string;
promptFile: string;
forEach?: string | undefined;
output?: string | undefined;
outputPattern?: string | undefined;
promptMode?: string | undefined;
variables?: Record<string, string> | undefined;
command?: string | undefined;
flags?: string[] | undefined;
workingDir?: string | undefined;
}[];
match?: {
files?: string[] | undefined;
exclude?: string[] | undefined;
content?: {
regex: string;
exclude?: string[] | undefined;
captureGroup?: number | undefined;
multiline?: boolean | undefined;
} | undefined;
} | undefined;
variables?: Record<string, string> | undefined;
description?: string | undefined;
}[];
defaultCommand: string;
variables?: Record<string, string> | undefined;
defaultFlags?: string[] | undefined;
parallelism?: {
maxAgents: number;
} | undefined;
}, {
patterns: {
name: string;
agents: {
id: string;
promptFile: string;
forEach?: string | undefined;
output?: string | undefined;
outputPattern?: string | undefined;
promptMode?: string | undefined;
variables?: Record<string, string> | undefined;
command?: string | undefined;
flags?: string[] | undefined;
workingDir?: string | undefined;
}[];
match?: {
files?: string[] | undefined;
exclude?: string[] | undefined;
content?: {
regex: string;
exclude?: string[] | undefined;
captureGroup?: number | undefined;
multiline?: boolean | undefined;
} | undefined;
} | undefined;
variables?: Record<string, string> | undefined;
description?: string | undefined;
}[];
defaultCommand: string;
variables?: Record<string, string> | undefined;
defaultFlags?: string[] | undefined;
parallelism?: {
maxAgents: number;
} | undefined;
}>;
export declare const ConfigSchema: z.ZodObject<{
$schema: z.ZodOptional<z.ZodString>;
version: z.ZodString;
docs: z.ZodObject<{
defaultCommand: z.ZodString;
defaultFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
parallelism: z.ZodOptional<z.ZodObject<{
maxAgents: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
maxAgents: number;
}, {
maxAgents: number;
}>>;
patterns: z.ZodArray<z.ZodObject<{
name: z.ZodString;
description: z.ZodOptional<z.ZodString>;
match: z.ZodOptional<z.ZodObject<{
files: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
content: z.ZodOptional<z.ZodObject<{
regex: z.ZodString;
captureGroup: z.ZodOptional<z.ZodNumber>;
exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
multiline: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
regex: string;
exclude?: string[] | undefined;
captureGroup?: number | undefined;
multiline?: boolean | undefined;
}, {
regex: string;
exclude?: string[] | undefined;
captureGroup?: number | undefined;
multiline?: boolean | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
files?: string[] | undefined;
exclude?: string[] | undefined;
content?: {
regex: string;
exclude?: string[] | undefined;
captureGroup?: number | undefined;
multiline?: boolean | undefined;
} | undefined;
}, {
files?: string[] | undefined;
exclude?: string[] | undefined;
content?: {
regex: string;
exclude?: string[] | undefined;
captureGroup?: number | undefined;
multiline?: boolean | undefined;
} | undefined;
}>>;
agents: z.ZodArray<z.ZodObject<{
id: z.ZodString;
promptFile: z.ZodString;
output: z.ZodOptional<z.ZodString>;
outputPattern: z.ZodOptional<z.ZodString>;
promptMode: z.ZodOptional<z.ZodString>;
forEach: z.ZodOptional<z.ZodString>;
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
command: z.ZodOptional<z.ZodString>;
flags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
workingDir: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
id: string;
promptFile: string;
forEach?: string | undefined;
output?: string | undefined;
outputPattern?: string | undefined;
promptMode?: string | undefined;
variables?: Record<string, string> | undefined;
command?: string | undefined;
flags?: string[] | undefined;
workingDir?: string | undefined;
}, {
id: string;
promptFile: string;
forEach?: string | undefined;
output?: string | undefined;
outputPattern?: string | undefined;
promptMode?: string | undefined;
variables?: Record<string, string> | undefined;
command?: string | undefined;
flags?: string[] | undefined;
workingDir?: string | undefined;
}>, "many">;
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
name: string;
agents: {
id: string;
promptFile: string;
forEach?: string | undefined;
output?: string | undefined;
outputPattern?: string | undefined;
promptMode?: string | undefined;
variables?: Record<string, string> | undefined;
command?: string | undefined;
flags?: string[] | undefined;
workingDir?: string | undefined;
}[];
match?: {
files?: string[] | undefined;
exclude?: string[] | undefined;
content?: {
regex: string;
exclude?: string[] | undefined;
captureGroup?: number | undefined;
multiline?: boolean | undefined;
} | undefined;
} | undefined;
variables?: Record<string, string> | undefined;
description?: string | undefined;
}, {
name: string;
agents: {
id: string;
promptFile: string;
forEach?: string | undefined;
output?: string | undefined;
outputPattern?: string | undefined;
promptMode?: string | undefined;
variables?: Record<string, string> | undefined;
command?: string | undefined;
flags?: string[] | undefined;
workingDir?: string | undefined;
}[];
match?: {
files?: string[] | undefined;
exclude?: string[] | undefined;
content?: {
regex: string;
exclude?: string[] | undefined;
captureGroup?: number | undefined;
multiline?: boolean | undefined;
} | undefined;
} | undefined;
variables?: Record<string, string> | undefined;
description?: string | undefined;
}>, "many">;
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
patterns: {
name: string;
agents: {
id: string;
promptFile: string;
forEach?: string | undefined;
output?: string | undefined;
outputPattern?: string | undefined;
promptMode?: string | undefined;
variables?: Record<string, string> | undefined;
command?: string | undefined;
flags?: string[] | undefined;
workingDir?: string | undefined;
}[];
match?: {
files?: string[] | undefined;
exclude?: string[] | undefined;
content?: {
regex: string;
exclude?: string[] | undefined;
captureGroup?: number | undefined;
multiline?: boolean | undefined;
} | undefined;
} | undefined;
variables?: Record<string, string> | undefined;
description?: string | undefined;
}[];
defaultCommand: string;
variables?: Record<string, string> | undefined;
defaultFlags?: string[] | undefined;
parallelism?: {
maxAgents: number;
} | undefined;
}, {
patterns: {
name: string;
agents: {
id: string;
promptFile: string;
forEach?: string | undefined;
output?: string | undefined;
outputPattern?: string | undefined;
promptMode?: string | undefined;
variables?: Record<string, string> | undefined;
command?: string | undefined;
flags?: string[] | undefined;
workingDir?: string | undefined;
}[];
match?: {
files?: string[] | undefined;
exclude?: string[] | undefined;
content?: {
regex: string;
exclude?: string[] | undefined;
captureGroup?: number | undefined;
multiline?: boolean | undefined;
} | undefined;
} | undefined;
variables?: Record<string, string> | undefined;
description?: string | undefined;
}[];
defaultCommand: string;
variables?: Record<string, string> | undefined;
defaultFlags?: string[] | undefined;
parallelism?: {
maxAgents: number;
} | undefined;
}>;
patterns: z.ZodOptional<z.ZodArray<z.ZodObject<{
name: z.ZodString;
description: z.ZodOptional<z.ZodString>;
match: z.ZodOptional<z.ZodObject<{
files: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
content: z.ZodOptional<z.ZodObject<{
regex: z.ZodString;
captureGroup: z.ZodOptional<z.ZodNumber>;
exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
multiline: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
regex: string;
exclude?: string[] | undefined;
captureGroup?: number | undefined;
multiline?: boolean | undefined;
}, {
regex: string;
exclude?: string[] | undefined;
captureGroup?: number | undefined;
multiline?: boolean | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
files?: string[] | undefined;
exclude?: string[] | undefined;
content?: {
regex: string;
exclude?: string[] | undefined;
captureGroup?: number | undefined;
multiline?: boolean | undefined;
} | undefined;
}, {
files?: string[] | undefined;
exclude?: string[] | undefined;
content?: {
regex: string;
exclude?: string[] | undefined;
captureGroup?: number | undefined;
multiline?: boolean | undefined;
} | undefined;
}>>;
agents: z.ZodArray<z.ZodObject<{
id: z.ZodString;
promptFile: z.ZodString;
output: z.ZodOptional<z.ZodString>;
outputPattern: z.ZodOptional<z.ZodString>;
promptMode: z.ZodOptional<z.ZodString>;
forEach: z.ZodOptional<z.ZodString>;
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
command: z.ZodOptional<z.ZodString>;
flags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
workingDir: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
id: string;
promptFile: string;
forEach?: string | undefined;
output?: string | undefined;
outputPattern?: string | undefined;
promptMode?: string | undefined;
variables?: Record<string, string> | undefined;
command?: string | undefined;
flags?: string[] | undefined;
workingDir?: string | undefined;
}, {
id: string;
promptFile: string;
forEach?: string | undefined;
output?: string | undefined;
outputPattern?: string | undefined;
promptMode?: string | undefined;
variables?: Record<string, string> | undefined;
command?: string | undefined;
flags?: string[] | undefined;
workingDir?: string | undefined;
}>, "many">;
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
name: string;
agents: {
id: string;
promptFile: string;
forEach?: string | undefined;
output?: string | undefined;
outputPattern?: string | undefined;
promptMode?: string | undefined;
variables?: Record<string, string> | undefined;
command?: string | undefined;
flags?: string[] | undefined;
workingDir?: string | undefined;
}[];
match?: {
files?: string[] | undefined;
exclude?: string[] | undefined;
content?: {
regex: string;
exclude?: string[] | undefined;
captureGroup?: number | undefined;
multiline?: boolean | undefined;
} | undefined;
} | undefined;
variables?: Record<string, string> | undefined;
description?: string | undefined;
}, {
name: string;
agents: {
id: string;
promptFile: string;
forEach?: string | undefined;
output?: string | undefined;
outputPattern?: string | undefined;
promptMode?: string | undefined;
variables?: Record<string, string> | undefined;
command?: string | undefined;
flags?: string[] | undefined;
workingDir?: string | undefined;
}[];
match?: {
files?: string[] | undefined;
exclude?: string[] | undefined;
content?: {
regex: string;
exclude?: string[] | undefined;
captureGroup?: number | undefined;
multiline?: boolean | undefined;
} | undefined;
} | undefined;
variables?: Record<string, string> | undefined;
description?: string | undefined;
}>, "many">>;
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
version: string;
docs: {
patterns: {
name: string;
agents: {
id: string;
promptFile: string;
forEach?: string | undefined;
output?: string | undefined;
outputPattern?: string | undefined;
promptMode?: string | undefined;
variables?: Record<string, string> | undefined;
command?: string | undefined;
flags?: string[] | undefined;
workingDir?: string | undefined;
}[];
match?: {
files?: string[] | undefined;
exclude?: string[] | undefined;
content?: {
regex: string;
exclude?: string[] | undefined;
captureGroup?: number | undefined;
multiline?: boolean | undefined;
} | undefined;
} | undefined;
variables?: Record<string, string> | undefined;
description?: string | undefined;
}[];
defaultCommand: string;
variables?: Record<string, string> | undefined;
defaultFlags?: string[] | undefined;
parallelism?: {
maxAgents: number;
} | undefined;
};
patterns?: {
name: string;
agents: {
id: string;
promptFile: string;
forEach?: string | undefined;
output?: string | undefined;
outputPattern?: string | undefined;
promptMode?: string | undefined;
variables?: Record<string, string> | undefined;
command?: string | undefined;
flags?: string[] | undefined;
workingDir?: string | undefined;
}[];
match?: {
files?: string[] | undefined;
exclude?: string[] | undefined;
content?: {
regex: string;
exclude?: string[] | undefined;
captureGroup?: number | undefined;
multiline?: boolean | undefined;
} | undefined;
} | undefined;
variables?: Record<string, string> | undefined;
description?: string | undefined;
}[] | undefined;
variables?: Record<string, string> | undefined;
$schema?: string | undefined;
}, {
version: string;
docs: {
patterns: {
name: string;
agents: {
id: string;
promptFile: string;
forEach?: string | undefined;
output?: string | undefined;
outputPattern?: string | undefined;
promptMode?: string | undefined;
variables?: Record<string, string> | undefined;
command?: string | undefined;
flags?: string[] | undefined;
workingDir?: string | undefined;
}[];
match?: {
files?: string[] | undefined;
exclude?: string[] | undefined;
content?: {
regex: string;
exclude?: string[] | undefined;
captureGroup?: number | undefined;
multiline?: boolean | undefined;
} | undefined;
} | undefined;
variables?: Record<string, string> | undefined;
description?: string | undefined;
}[];
defaultCommand: string;
variables?: Record<string, string> | undefined;
defaultFlags?: string[] | undefined;
parallelism?: {
maxAgents: number;
} | undefined;
};
patterns?: {
name: string;
agents: {
id: string;
promptFile: string;
forEach?: string | undefined;
output?: string | undefined;
outputPattern?: string | undefined;
promptMode?: string | undefined;
variables?: Record<string, string> | undefined;
command?: string | undefined;
flags?: string[] | undefined;
workingDir?: string | undefined;
}[];
match?: {
files?: string[] | undefined;
exclude?: string[] | undefined;
content?: {
regex: string;
exclude?: string[] | undefined;
captureGroup?: number | undefined;
multiline?: boolean | undefined;
} | undefined;
} | undefined;
variables?: Record<string, string> | undefined;
description?: string | undefined;
}[] | undefined;
variables?: Record<string, string> | undefined;
$schema?: string | undefined;
}>;
export type FileMatch = z.infer<typeof FileMatchSchema>;
export type ContentMatch = z.infer<typeof ContentMatchSchema>;
export type Match = z.infer<typeof MatchSchema>;
export type Agent = z.infer<typeof AgentSchema>;
export type Pattern = z.infer<typeof PatternSchema>;
export type DocsConfig = z.infer<typeof DocsConfigSchema>;
export type Config = z.infer<typeof ConfigSchema>;
export interface AgentPromptConfig {
name: string;
displayName: string;
defaultCli?: string;
description?: string;
}
export declare const AVAILABLE_AGENTS: Record<string, AgentPromptConfig>;
export declare const DEFAULT_RUNTIME_CONFIG: Partial<RuntimeConfig>;
//# sourceMappingURL=config.d.ts.map