UNPKG

@vfarcic/dot-ai

Version:

AI-powered development productivity platform that enhances software development workflows through intelligent automation and AI-driven assistance

43 lines 1.62 kB
/** * Push to Git Tool - Push generated manifests to a Git repository * * PRD #395: Git Push Recommend Integration * * This stage allows users to push generated manifests directly to a Git * repository, enabling GitOps workflows with Argo CD, Flux, etc. */ import { z } from 'zod'; import { DotAI } from '../core/index'; import { Logger } from '../core/error-handling'; import { GenericSessionManager } from '../core/generic-session-manager'; import type { SolutionData } from './recommend'; export declare const PUSHTOGIT_TOOL_NAME = "pushToGit"; export declare const PUSHTOGIT_TOOL_DESCRIPTION = "Push generated manifests to a Git repository for GitOps workflows (Argo CD, Flux). Use after generateManifests stage."; export declare const PUSHTOGIT_TOOL_INPUT_SCHEMA: { solutionId: z.ZodString; repoUrl: z.ZodString; targetPath: z.ZodString; branch: z.ZodOptional<z.ZodString>; commitMessage: z.ZodOptional<z.ZodString>; authorName: z.ZodOptional<z.ZodString>; authorEmail: z.ZodOptional<z.ZodString>; interaction_id: z.ZodOptional<z.ZodString>; }; interface PushToGitArgs { solutionId: string; repoUrl: string; targetPath: string; branch?: string; commitMessage?: string; authorName?: string; authorEmail?: string; interaction_id?: string; } export declare function handlePushToGitTool(args: PushToGitArgs, dotAI: DotAI, logger: Logger, requestId: string, sessionManager?: GenericSessionManager<SolutionData>): Promise<{ content: { type: 'text'; text: string; }[]; }>; export {}; //# sourceMappingURL=push-to-git.d.ts.map