agent-claw: automated task changes

This commit is contained in:
daniel
2026-05-06 18:55:16 -05:00
parent 38905bb1e9
commit 732b00fb66
8494 changed files with 2018127 additions and 4 deletions

View File

@@ -0,0 +1,21 @@
import type * as appscaling from '../lib';
/**
* Arbitrary (valid) array of intervals
*
* There are many invalid combinations of interval arrays, so we have
* to be very specific about generating arrays that are valid. We do this
* by taking a full, valid interval schedule and progressively stripping parts
* away from it.
*
* Some of the changes may change its meaning, but we take care to never leave
* a schedule with insufficient information so that the parser will error out.
*/
export declare function generateArbitraryIntervals(mrng: IRandomGenerator): ArbitraryIntervals;
export interface IRandomGenerator {
nextBoolean(): boolean;
nextInt(min: number, max: number): number;
}
export interface ArbitraryIntervals {
readonly absolute: boolean;
readonly intervals: appscaling.ScalingInterval[];
}