UNPKG

@jjdenhertog/ai-driven-development

Version:

AI-driven development workflow with learning capabilities for Claude

28 lines 1.02 kB
type SessionReport = { timeline: { type: 'status' | 'tool' | 'summary' | 'error'; message?: string; timestamp?: string; }[]; success?: boolean; success_reason?: string; }; /** * Checks if a session report indicates AI usage limit has been reached * @param sessionReport - The session report to check * @returns Usage limit info or null if no usage limit reached */ export declare function checkUsageLimitInSession(sessionReport: SessionReport): { isUsageLimitReached: boolean; resetTimestamp?: number; waitTimeSeconds?: number; } | null; /** * Waits for AI usage limit to be reset and logs progress * @param waitTimeSeconds - Number of seconds to wait * @param resetTimestamp - Unix timestamp when limit will be reset * @param logPath - Optional path to log file */ export declare function waitForUsageLimitReset(waitTimeSeconds: number, resetTimestamp: number, logPath?: string): Promise<void>; export {}; //# sourceMappingURL=checkUsageLimitInSession.d.ts.map