mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-03 13:22:14 +00:00
15 lines
507 B
TypeScript
15 lines
507 B
TypeScript
import type { OpenClawPluginService } from "../plugins/types.js";
|
|
import { defaultTaskOperationsRuntime } from "../tasks/operations-runtime.js";
|
|
import { startTaskRegistryMaintenance } from "../tasks/task-registry.maintenance.js";
|
|
|
|
export const defaultOperationsRuntime = defaultTaskOperationsRuntime;
|
|
|
|
export function createDefaultOperationsMaintenanceService(): OpenClawPluginService {
|
|
return {
|
|
id: "default-operations-maintenance",
|
|
start() {
|
|
startTaskRegistryMaintenance();
|
|
},
|
|
};
|
|
}
|