UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

32 lines • 1.45 kB
import { z } from "zod"; export declare const GC_SKIP_INITIAL_BACKOFF_MS: number; export declare const GC_SKIP_MAX_BACKOFF_MS: number; declare const skipEntrySchema: z.ZodObject<{ skipUntil: z.ZodNumber; backoffMs: z.ZodNumber; }, z.core.$strip>; declare const markerSchema: z.ZodObject<{ completedAt: z.ZodNumber; cursor: z.ZodNullable<z.ZodString>; examined: z.ZodNumber; removed: z.ZodNumber; stoppedBy: z.ZodEnum<{ count: "count"; exhausted: "exhausted"; time: "time"; }>; skip: z.ZodRecord<z.ZodString, z.ZodObject<{ skipUntil: z.ZodNumber; backoffMs: z.ZodNumber; }, z.core.$strip>>; }, z.core.$strip>; export type HostGcPassMarker = z.infer<typeof markerSchema>; export type HostGcSkipEntry = z.infer<typeof skipEntrySchema>; export declare function hostGcPassMarkerPath(agentDir: string): string; export declare function parseHostGcPassMarker(text: string): HostGcPassMarker | undefined; export declare function readHostGcPassMarker(agentDir: string): Promise<HostGcPassMarker | undefined>; export declare function writeHostGcPassMarker(agentDir: string, marker: HostGcPassMarker): Promise<void>; /** The next skip for an endpoint that stayed uncollectable: 10 min first, doubling, capped at 24 h. */ export declare function nextSkip(previous: HostGcSkipEntry | undefined, now: number): HostGcSkipEntry; export {}; //# sourceMappingURL=host-gc-pass-marker.d.ts.map