@phren/cli
Version:
Knowledge layer for AI agents - CLI, MCP server, and data layer
41 lines (40 loc) • 1.57 kB
TypeScript
import { z } from "zod";
export declare const CI_FAILURE_PATH = "/v1/ci/failures";
export declare const CI_FAILURE_SCOPE = "gitboy-ci";
export declare const CI_FAILURE_BODY_CAP: number;
export declare const CI_REPORT_CAP: number;
export declare const CI_LOG_LIMIT = 12000;
export declare const CI_LINE_LIMIT = 200;
export declare const ciDigest: z.ZodString;
export declare const ciSubmissionSchema: z.ZodObject<{
repo: z.ZodString;
branch: z.ZodOptional<z.ZodString>;
commit: z.ZodOptional<z.ZodString>;
snapshotId: z.ZodOptional<z.ZodString>;
reporterId: z.ZodString;
attemptId: z.ZodString;
}, z.core.$strict>;
export declare const ciFailureSchema: z.ZodObject<{
repo: z.ZodString;
branch: z.ZodOptional<z.ZodString>;
commit: z.ZodOptional<z.ZodString>;
snapshotId: z.ZodOptional<z.ZodString>;
step: z.ZodString;
failedTests: z.ZodArray<z.ZodString>;
logTail: z.ZodString;
sessionId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
eventId: z.ZodOptional<z.ZodString>;
}, z.core.$strict>;
export declare const ciIntakeSchema: z.ZodObject<{
repo: z.ZodString;
branch: z.ZodOptional<z.ZodString>;
commit: z.ZodOptional<z.ZodString>;
snapshotId: z.ZodOptional<z.ZodString>;
step: z.ZodString;
failedTests: z.ZodArray<z.ZodString>;
logTail: z.ZodString;
sessionId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
eventId: z.ZodString;
originToken: z.ZodString;
}, z.core.$strict>;
export type CiFailure = z.infer<typeof ciFailureSchema>;