openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
15 lines (14 loc) • 622 B
JavaScript
import { m as resolveConfigPath } from "./paths-DGIwWbpu.mjs";
import { c as resolveOpenClawStateSqlitePath } from "./openclaw-state-db.paths-DfifnSGp.mjs";
import path from "node:path";
//#region src/claws/monitor-cleanup-binding.ts
/** Claw files remain local; the serving monitor owner must use that same state and config. */
function resolveClawMonitorCleanupBinding(cronStorePath) {
return {
configPath: path.resolve(resolveConfigPath()),
statePath: path.resolve(resolveOpenClawStateSqlitePath()),
cronStorePath: path.resolve(cronStorePath)
};
}
//#endregion
export { resolveClawMonitorCleanupBinding as t };