feat(plugins): share native session handoff and soften memory search

This commit is contained in:
kartik-mem0
2026-09-10 18:20:36 +05:30
parent 02f7a9b2c4
commit 82c32f993e
130 changed files with 16430 additions and 379 deletions
+8
View File
@@ -42,6 +42,14 @@ function createPluginApi(registrationMode?: string) {
}
describe("plugin registration modes", () => {
it("registers the explicit native handoff command", () => {
const api = createPluginApi();
memoryPlugin.register(api as any);
expect(api.registerCommand).toHaveBeenCalledWith(
expect.objectContaining({ name: "mem0-handoff" }),
);
});
it("keeps cli-metadata registration free of runtime side effects", () => {
const api = createPluginApi("cli-metadata");