"use strict";
/**
 * In-memory registry of active durable workers.
 * Populated at startup after `Durable.Worker.create()`.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.SYSTEM_WORKFLOWS = void 0;
exports.registerWorker = registerWorker;
exports.getRegisteredWorkers = getRegisteredWorkers;
const workers = new Map();
function registerWorker(name, taskQueue) {
    workers.set(name, { taskQueue });
}
function getRegisteredWorkers() {
    return workers;
}
/** System workflows excluded from the overview by default. */
exports.SYSTEM_WORKFLOWS = new Set([
    'mcpQuery',
    'mcpQueryRouter',
    'mcpDeterministic',
    'mcpTriage',
    'mcpTriageRouter',
    'mcpTriageDeterministic',
    'mcpWorkflowBuilder',
    'mcpWorkflowPlanner',
    'insightQuery',
]);
