refactor: simplify plugin sdk compatibility aliases

This commit is contained in:
Peter Steinberger
2026-03-08 17:08:33 +00:00
parent dd7470730d
commit 25d0aa7296
4 changed files with 64 additions and 180 deletions

View File

@@ -27,7 +27,7 @@ describe("plugin-sdk root alias", () => {
expect(parsed.success).toBe(false);
});
it("loads legacy root exports lazily through the proxy", { timeout: 240_000 }, () => {
it("loads legacy root exports through the merged root wrapper", { timeout: 240_000 }, () => {
expect(typeof rootSdk.resolveControlCommandGate).toBe("function");
expect(typeof rootSdk.default).toBe("object");
expect(rootSdk.default).toBe(rootSdk);