UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

23 lines (22 loc) • 992 B
import path from "node:path"; //#region extensions/memory-core/src/memory/manager-cpu-entrypoints.ts function memoryWorkerEntrypoint(sourceWorkerName, distWorkerName) { return { currentModuleUrl: import.meta.url, sourceWorkerName, distWorkerPath: `extensions/memory-core/${distWorkerName}.js`, package: { name: "@openclaw/memory-core", distWorkerPath: path.posix.join("src/memory", `${sourceWorkerName}.js`) } }; } const memoryCpuProcessEntrypoints = { search: memoryWorkerEntrypoint("manager-search.worker", "memory-search.worker"), index: memoryWorkerEntrypoint("manager-index.worker", "memory-index.worker"), publication: memoryWorkerEntrypoint("manager-publication.worker", "memory-publication.worker"), standingIntents: memoryWorkerEntrypoint("../standing-intents.worker", "standing-intents.worker"), entryOrigins: memoryWorkerEntrypoint("../memory-entry-origins.worker", "memory-entry-origins.worker") }; //#endregion export { memoryCpuProcessEntrypoints as t };