import path from "node:path";
//#region src/agent/memory/dreaming/constants.ts
const DREAMING_PHASES = [
	"light",
	"deep",
	"rem"
];
const DREAMING_SWEEP_TOKEN = "__xopc_memory_dreaming_sweep__";
const DREAMING_LIGHT_SWEEP_TOKEN = "__xopc_memory_dreaming_light_sweep__";
const DREAMING_REM_SWEEP_TOKEN = "__xopc_memory_dreaming_rem_sweep__";
const DREAMING_CRON_TAG = "[managed-by=xopc.memory.dreaming]";
const DREAMING_CRON_NAME = "Memory Dreaming - Deep Promotion";
const DREAMING_LIGHT_CRON_NAME = "Memory Dreaming - Light Sweep";
const DREAMING_REM_CRON_NAME = "Memory Dreaming - REM Patterns";
const DEFAULT_DEEP_CRON = "0 3 * * *";
const DEFAULT_LIGHT_CRON = "0 */6 * * *";
const DEFAULT_REM_CRON = "0 5 * * 0";
const DEFAULT_RECENCY_HALF_LIFE_DAYS = 14;
const DEFAULT_MAX_AGE_DAYS = 30;
/** Milliseconds in one day (used for time-decay calculations). */
const MS_PER_DAY = 864e5;
/** Weight applied to recall-count reinforcement (logarithmic boost). */
const REINFORCEMENT_WEIGHT = .12;
/** Weight applied to signal-diversity bonus. */
const DIVERSITY_WEIGHT = .08;
/** Number of signal dimensions used for diversity calculation. */
const DIVERSITY_DIMENSION_COUNT = 4;
const DREAMING_DIR_RELATIVE = path.join("memory", ".dreams");
const SHORT_TERM_RECALL_STORE_RELATIVE = path.join(DREAMING_DIR_RELATIVE, "short-term-recall.json");
const SHORT_TERM_PROMOTION_LOCK_RELATIVE = path.join(DREAMING_DIR_RELATIVE, "short-term-promotion.lock");
const DREAMING_LAST_RUN_RELATIVE = path.join(DREAMING_DIR_RELATIVE, "last-run.json");
const DREAMING_EVENTS_LOG_RELATIVE = path.join(DREAMING_DIR_RELATIVE, "events.jsonl");
const MEMORY_MD_FILENAME = "MEMORY.md";
const DREAMS_MD_FILENAME = "DREAMS.md";
//#endregion
export { DEFAULT_DEEP_CRON, DEFAULT_LIGHT_CRON, DEFAULT_MAX_AGE_DAYS, DEFAULT_RECENCY_HALF_LIFE_DAYS, DEFAULT_REM_CRON, DIVERSITY_DIMENSION_COUNT, DIVERSITY_WEIGHT, DREAMING_CRON_NAME, DREAMING_CRON_TAG, DREAMING_DIR_RELATIVE, DREAMING_EVENTS_LOG_RELATIVE, DREAMING_LAST_RUN_RELATIVE, DREAMING_LIGHT_CRON_NAME, DREAMING_LIGHT_SWEEP_TOKEN, DREAMING_PHASES, DREAMING_REM_CRON_NAME, DREAMING_REM_SWEEP_TOKEN, DREAMING_SWEEP_TOKEN, DREAMS_MD_FILENAME, MEMORY_MD_FILENAME, MS_PER_DAY, REINFORCEMENT_WEIGHT, SHORT_TERM_PROMOTION_LOCK_RELATIVE, SHORT_TERM_RECALL_STORE_RELATIVE };

//# sourceMappingURL=constants.js.map