/**
 * Type definitions for the NeuroLink TaskManager system.
 *
 * TaskManager provides scheduled and self-running task capabilities,
 * enabling AI agents to execute prompts on cron, interval, or one-shot schedules.
 */
// ── Defaults ────────────────────────────────────────────
const THIRTY_DAYS_MS = 30 * 24 * 60 * 60 * 1000;
const SEVEN_DAYS_MS = 7 * 24 * 60 * 60 * 1000;
export const TASK_DEFAULTS = {
    enabled: true,
    maxTasks: 100,
    backend: "bullmq",
    mode: "isolated",
    timeout: 120_000,
    maxConcurrentRuns: 5,
    maxRunLogs: 2000,
    maxHistoryEntries: 200,
    tools: true,
    retry: {
        maxAttempts: 3,
        backoffMs: [30_000, 60_000, 300_000],
    },
    storePath: ".neurolink/tasks/tasks.json",
    logsPath: ".neurolink/tasks/runs/",
    redis: {
        host: "localhost",
        port: 6379,
    },
    retention: {
        completedTTL: THIRTY_DAYS_MS,
        failedTTL: SEVEN_DAYS_MS,
        cancelledTTL: SEVEN_DAYS_MS,
        runLogTTL: THIRTY_DAYS_MS,
    },
};
//# sourceMappingURL=taskTypes.js.map