INNER CODE UNIT · JavaScript
getLatestModifiedDate
cporter202/agentic-ai-apis · settings/generate_readme_clean.js:118
function getLatestModifiedDate(allActors) {
const includedActors = new Map();
for (const actor of allActors) {
if (shouldFilterActor(actor)) {
continue;
}
const categories = actor.categories || [];
const isIncluded = categories.some((category) => ALLOWED_CATEGORY_MAP.has(category));
if (!isIncluded) {
continue;
}
const key = `${actor.username || ''}/${actor.name || ''}`;
const current = includedActors.get(key);
if (!current) {