Revert "refactor: move tasks into bundled plugin"

This reverts commit c75f4695b7.
This commit is contained in:
Peter Steinberger
2026-04-01 01:28:18 +09:00
parent 759d37635d
commit 8bf8baef87
25 changed files with 10 additions and 1400 deletions

View File

@@ -39,7 +39,6 @@ export type BuildPluginApiParams = {
| "registerMemoryFlushPlan"
| "registerMemoryRuntime"
| "registerMemoryEmbeddingProvider"
| "registerOperationsRuntime"
| "on"
>
>;
@@ -70,7 +69,6 @@ const noopRegisterMemoryFlushPlan: OpenClawPluginApi["registerMemoryFlushPlan"]
const noopRegisterMemoryRuntime: OpenClawPluginApi["registerMemoryRuntime"] = () => {};
const noopRegisterMemoryEmbeddingProvider: OpenClawPluginApi["registerMemoryEmbeddingProvider"] =
() => {};
const noopRegisterOperationsRuntime: OpenClawPluginApi["registerOperationsRuntime"] = () => {};
const noopOn: OpenClawPluginApi["on"] = () => {};
export function buildPluginApi(params: BuildPluginApiParams): OpenClawPluginApi {
@@ -114,7 +112,6 @@ export function buildPluginApi(params: BuildPluginApiParams): OpenClawPluginApi
registerMemoryRuntime: handlers.registerMemoryRuntime ?? noopRegisterMemoryRuntime,
registerMemoryEmbeddingProvider:
handlers.registerMemoryEmbeddingProvider ?? noopRegisterMemoryEmbeddingProvider,
registerOperationsRuntime: handlers.registerOperationsRuntime ?? noopRegisterOperationsRuntime,
resolvePath: params.resolvePath,
on: handlers.on ?? noopOn,
};