refactor: move tasks into bundled plugin

This commit is contained in:
Peter Steinberger
2026-03-31 14:48:22 +01:00
parent 584db0aff2
commit c75f4695b7
39 changed files with 2492 additions and 736 deletions

View File

@@ -215,6 +215,20 @@ describe("plugin runtime command execution", () => {
]);
},
},
{
name: "exposes runtime.operations helpers",
assert: (runtime: ReturnType<typeof createPluginRuntime>) => {
expect(runtime.operations).toBeDefined();
expectFunctionKeys(runtime.operations as Record<string, unknown>, [
"dispatch",
"getById",
"findByRunId",
"list",
"summarize",
"cancel",
]);
},
},
] as const)("$name", ({ assert }) => {
expectRuntimeShape(assert);
});