ai-commit-report-generator-cli
Version:
An AI-powered CLI tool that generates weekly reports from your Git activity
17 lines (16 loc) • 1.1 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CommitSummarySchema = void 0;
const zod_1 = require("zod");
exports.CommitSummarySchema = zod_1.z.object({
changes: zod_1.z.array(zod_1.z.object({
type: zod_1.z.enum(['feature', 'fix', 'breaking change', 'refactor']).describe("The type of change which were added in this unit of work"),
description: zod_1.z.string().describe("The description of the change which were added in this unit of work. It should be very detailed"),
})).describe("The change which were added in this unit of work"),
summary: zod_1.z.string().describe("The summary of the unit of work. The summary should be a very detailed paragraph"),
called_tools: zod_1.z.array(zod_1.z.object({
name: zod_1.z.string().describe("The name of the tool which was called"),
description: zod_1.z.string().describe("The description of the tool which was called"),
called_at: zod_1.z.string().describe("The time the tool was called"),
})).describe("The tools which were called in this unit of work"),
});