OptionaldirFolder of the cache files. Defaults to <home>/.polyman/agent/models.
OptionalhomeHome folder. Defaults to HOME, then USERPROFILE, then the OS one.
OptionalfetchThe fetch to use. Defaults to the global one.
OptionalnowThe clock, in ms. Defaults to Date.now.
OptionalttlHow long a cached list is fresh. Defaults to CATALOG_TTL_MS.
OptionaltimeoutTime limit of the live fetch. Defaults to CATALOG_TIMEOUT_MS.
Where the catalog keeps its files and how it fetches. Tests pass fakes.