Project Files
dist / templates.d.ts
import { z } from "zod";
export declare const TemplateTypeEnum: z.ZodEnum<["script_vision", "script_spec", "rosetta_stone", "agent_rules", "custom"]>;
export type TemplateType = z.infer<typeof TemplateTypeEnum>;
export declare const ScriptVisionDataSchema: z.ZodObject<{
script_name: z.ZodString;
problem: z.ZodString;
concept: z.ZodString;
required_context: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
data_sources: z.ZodOptional<z.ZodArray<z.ZodEnum<["settings.yaml", ".envy", ".planCS", "other"]>, "many">>;
destination_key: z.ZodOptional<z.ZodString>;
user_stories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
script_name: string;
problem: string;
concept: string;
required_context?: string[] | undefined;
data_sources?: ("settings.yaml" | ".envy" | ".planCS" | "other")[] | undefined;
destination_key?: string | undefined;
user_stories?: string[] | undefined;
}, {
script_name: string;
problem: string;
concept: string;
required_context?: string[] | undefined;
data_sources?: ("settings.yaml" | ".envy" | ".planCS" | "other")[] | undefined;
destination_key?: string | undefined;
user_stories?: string[] | undefined;
}>;
export type ScriptVisionData = z.infer<typeof ScriptVisionDataSchema>;
export declare const ScriptSpecDataSchema: z.ZodObject<{
script_name: z.ZodString;
script_path: z.ZodOptional<z.ZodString>;
status: z.ZodOptional<z.ZodEnum<["DRAFT", "PLANNED", "READY"]>>;
short_description: z.ZodString;
command_ps1: z.ZodOptional<z.ZodString>;
command_sh: z.ZodOptional<z.ZodString>;
parameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
name: z.ZodString;
short: z.ZodOptional<z.ZodString>;
required: z.ZodBoolean;
description: z.ZodString;
}, "strip", z.ZodTypeAny, {
name: string;
required: boolean;
description: string;
short?: string | undefined;
}, {
name: string;
required: boolean;
description: string;
short?: string | undefined;
}>, "many">>;
features: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
output_example: z.ZodOptional<z.ZodString>;
exit_codes: z.ZodOptional<z.ZodArray<z.ZodObject<{
code: z.ZodNumber;
meaning: z.ZodString;
action: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
code: number;
meaning: string;
action?: string | undefined;
}, {
code: number;
meaning: string;
action?: string | undefined;
}>, "many">>;
dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
acceptance_criteria: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
warnings: z.ZodOptional<z.ZodString>;
tips: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
script_name: string;
short_description: string;
status?: "DRAFT" | "PLANNED" | "READY" | undefined;
dependencies?: string[] | undefined;
warnings?: string | undefined;
script_path?: string | undefined;
command_ps1?: string | undefined;
command_sh?: string | undefined;
parameters?: {
name: string;
required: boolean;
description: string;
short?: string | undefined;
}[] | undefined;
features?: string[] | undefined;
output_example?: string | undefined;
exit_codes?: {
code: number;
meaning: string;
action?: string | undefined;
}[] | undefined;
acceptance_criteria?: string[] | undefined;
tips?: string | undefined;
}, {
script_name: string;
short_description: string;
status?: "DRAFT" | "PLANNED" | "READY" | undefined;
dependencies?: string[] | undefined;
warnings?: string | undefined;
script_path?: string | undefined;
command_ps1?: string | undefined;
command_sh?: string | undefined;
parameters?: {
name: string;
required: boolean;
description: string;
short?: string | undefined;
}[] | undefined;
features?: string[] | undefined;
output_example?: string | undefined;
exit_codes?: {
code: number;
meaning: string;
action?: string | undefined;
}[] | undefined;
acceptance_criteria?: string[] | undefined;
tips?: string | undefined;
}>;
export type ScriptSpecData = z.infer<typeof ScriptSpecDataSchema>;
export declare const RosettaStoneDataSchema: z.ZodObject<{
document_name: z.ZodString;
source_file: z.ZodOptional<z.ZodString>;
purpose: z.ZodEnum<["refactoring", "migration", "simplification"]>;
addressing_key: z.ZodOptional<z.ZodEnum<["paragraf", "tag", "uuid"]>>;
target_format: z.ZodOptional<z.ZodEnum<["markdown_addressable", "json", "lancedb_entry"]>>;
sections: z.ZodArray<z.ZodObject<{
original_header: z.ZodString;
original_location: z.ZodOptional<z.ZodString>;
intent: z.ZodString;
critique: z.ZodOptional<z.ZodArray<z.ZodEnum<["readable_for_agent", "redundancies", "tech_stack_compatible"]>, "many">>;
proposed_change: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
original_header: string;
intent: string;
original_location?: string | undefined;
critique?: ("readable_for_agent" | "redundancies" | "tech_stack_compatible")[] | undefined;
proposed_change?: string | undefined;
}, {
original_header: string;
intent: string;
original_location?: string | undefined;
critique?: ("readable_for_agent" | "redundancies" | "tech_stack_compatible")[] | undefined;
proposed_change?: string | undefined;
}>, "many">;
}, "strip", z.ZodTypeAny, {
document_name: string;
purpose: "refactoring" | "migration" | "simplification";
sections: {
original_header: string;
intent: string;
original_location?: string | undefined;
critique?: ("readable_for_agent" | "redundancies" | "tech_stack_compatible")[] | undefined;
proposed_change?: string | undefined;
}[];
source_file?: string | undefined;
addressing_key?: "paragraf" | "tag" | "uuid" | undefined;
target_format?: "markdown_addressable" | "json" | "lancedb_entry" | undefined;
}, {
document_name: string;
purpose: "refactoring" | "migration" | "simplification";
sections: {
original_header: string;
intent: string;
original_location?: string | undefined;
critique?: ("readable_for_agent" | "redundancies" | "tech_stack_compatible")[] | undefined;
proposed_change?: string | undefined;
}[];
source_file?: string | undefined;
addressing_key?: "paragraf" | "tag" | "uuid" | undefined;
target_format?: "markdown_addressable" | "json" | "lancedb_entry" | undefined;
}>;
export type RosettaStoneData = z.infer<typeof RosettaStoneDataSchema>;
export declare const AgentRulesDataSchema: z.ZodObject<{
project_module_name: z.ZodString;
philosophy_items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
rules_items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
patterns_items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
feedback_items: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
project_module_name: string;
philosophy_items?: string[] | undefined;
rules_items?: string[] | undefined;
patterns_items?: string[] | undefined;
feedback_items?: string | undefined;
}, {
project_module_name: string;
philosophy_items?: string[] | undefined;
rules_items?: string[] | undefined;
patterns_items?: string[] | undefined;
feedback_items?: string | undefined;
}>;
export type AgentRulesData = z.infer<typeof AgentRulesDataSchema>;
export declare const FillTemplateParamsSchema: z.ZodObject<{
template_type: z.ZodEnum<["script_vision", "script_spec", "rosetta_stone", "agent_rules", "custom"]>;
data: z.ZodRecord<z.ZodString, z.ZodAny>;
frontmatter: z.ZodOptional<z.ZodObject<{
id: z.ZodOptional<z.ZodString>;
module: z.ZodOptional<z.ZodString>;
version: z.ZodOptional<z.ZodString>;
strict_mode: z.ZodOptional<z.ZodBoolean>;
dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
ai_behavior: z.ZodEnum<["critical_honesty", "creative", "assistive"]>;
}, "strip", z.ZodTypeAny, {
ai_behavior: "critical_honesty" | "creative" | "assistive";
id?: string | undefined;
module?: string | undefined;
version?: string | undefined;
strict_mode?: boolean | undefined;
dependencies?: string[] | undefined;
}, {
ai_behavior: "critical_honesty" | "creative" | "assistive";
id?: string | undefined;
module?: string | undefined;
version?: string | undefined;
strict_mode?: boolean | undefined;
dependencies?: string[] | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
template_type: "agent_rules" | "rosetta_stone" | "script_vision" | "script_spec" | "custom";
data: Record<string, any>;
frontmatter?: {
ai_behavior: "critical_honesty" | "creative" | "assistive";
id?: string | undefined;
module?: string | undefined;
version?: string | undefined;
strict_mode?: boolean | undefined;
dependencies?: string[] | undefined;
} | undefined;
}, {
template_type: "agent_rules" | "rosetta_stone" | "script_vision" | "script_spec" | "custom";
data: Record<string, any>;
frontmatter?: {
ai_behavior: "critical_honesty" | "creative" | "assistive";
id?: string | undefined;
module?: string | undefined;
version?: string | undefined;
strict_mode?: boolean | undefined;
dependencies?: string[] | undefined;
} | undefined;
}>;
export type FillTemplateParams = z.infer<typeof FillTemplateParamsSchema>;
export declare const TEMPLATES: {
script_vision: string;
script_spec: string;
rosetta_stone: string;
};
//# sourceMappingURL=templates.d.ts.map