/** * Schema definition for generate-github-workflow tool */ import { z } from 'zod'; import { type ToolNextAction } from '../shared/schemas.js'; export declare const generateGithubWorkflowSchema: z.ZodObject<{ repositoryPath: z.ZodString; workspacePath: z.ZodOptional; registry: z.ZodString; clusterName: z.ZodString; resourceGroup: z.ZodString; imageName: z.ZodOptional; namespace: z.ZodDefault>; manifestFormat: z.ZodDefault>>; manifestPath: z.ZodDefault>; dockerFile: z.ZodDefault>; buildContextPath: z.ZodDefault>; acrResourceGroup: z.ZodOptional; workflowFileName: z.ZodDefault>; branches: z.ZodDefault>>; language: z.ZodOptional; framework: z.ZodOptional; }, "strip", z.ZodTypeAny, { registry: string; namespace: string; repositoryPath: string; clusterName: string; resourceGroup: string; manifestFormat: "helm" | "kustomize" | "k8s"; manifestPath: string; dockerFile: string; buildContextPath: string; workflowFileName: string; branches: string[]; language?: string | undefined; framework?: string | undefined; workspacePath?: string | undefined; imageName?: string | undefined; acrResourceGroup?: string | undefined; }, { registry: string; repositoryPath: string; clusterName: string; resourceGroup: string; language?: string | undefined; framework?: string | undefined; namespace?: string | undefined; workspacePath?: string | undefined; imageName?: string | undefined; manifestFormat?: "helm" | "kustomize" | "k8s" | undefined; manifestPath?: string | undefined; dockerFile?: string | undefined; buildContextPath?: string | undefined; acrResourceGroup?: string | undefined; workflowFileName?: string | undefined; branches?: string[] | undefined; }>; export type GenerateGithubWorkflowParams = z.infer; /** * Description of a single GitHub Actions job in the generated workflow */ export interface WorkflowJobDescription { /** Job identifier (e.g. "buildImage", "deploy") */ name: string; /** Ordered list of step descriptions */ steps: string[]; /** Runner to use (always ubuntu-latest) */ runsOn: string; } /** * Output plan returned by the generate-github-workflow tool. * Contains a nextAction directive that tells the AI client what file to create * and a detailed instruction covering all knowledge-based requirements. */ export interface GithubWorkflowPlan { /** * File creation directive for the AI client. * action is always 'create-files'; files contains the workflow path. */ nextAction: ToolNextAction; /** * Structured descriptions of each job in the workflow. * Used for display and post-processing. */ workflowJobs: WorkflowJobDescription[]; /** * GitHub repository secrets the user must configure before running the workflow. * Always includes the three Azure OIDC secrets. */ secretsRequired: string[]; /** * GitHub repository variables (non-sensitive) the user should configure. */ variablesRequired: string[]; /** * Human-readable summary with action-oriented messaging. */ summary: string; /** * Attribution annotations to include in generated Kubernetes manifests. * Tracks which version of containerization-assist produced this workflow. */ attributionLabels: { annotations: Record; }; /** Confidence score (0-1) based on knowledge base match quality */ confidence?: number; } //# sourceMappingURL=schema.d.ts.map