fix: sync plugin sdk guardrails and test drift

This commit is contained in:
Peter Steinberger
2026-03-27 20:46:05 +00:00
parent 2bdbb189bd
commit cb5aefb790
9 changed files with 15 additions and 53 deletions

View File

@@ -242,9 +242,13 @@ describe("line runtime api", () => {
});
}, 240_000);
it("keeps the LINE runtime barrel self-contained ahead of the plugin-sdk facade", () => {
it("keeps the LINE runtime barrel self-contained", () => {
const runtimeApiPath = path.join(process.cwd(), "extensions", "line", "runtime-api.ts");
expect(collectRuntimeApiPreExports(runtimeApiPath)).toEqual([]);
const runtimeApiSource = readFileSync(runtimeApiPath, "utf8");
expect(runtimeApiSource).not.toContain("openclaw/plugin-sdk/line-runtime");
expect(collectRuntimeApiPreExports(runtimeApiPath)).toEqual([]);
});
});