mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 08:50:43 +00:00
fix(qa-lab): keep gateway client on generic sdk seam
This commit is contained in:
@@ -249,6 +249,12 @@ for (const packageJsonPath of [
|
||||
types: "./extensions/qa-channel/src/protocol.ts",
|
||||
default: "./extensions/qa-channel/src/protocol.ts",
|
||||
};
|
||||
if (!pkg.exports["./plugin-sdk/gateway-runtime"]) {
|
||||
pkg.exports["./plugin-sdk/gateway-runtime"] = {
|
||||
types: "./dist/plugin-sdk/browser-node-runtime.d.ts",
|
||||
default: "./dist/plugin-sdk/browser-node-runtime.js",
|
||||
};
|
||||
}
|
||||
fs.writeFileSync(packageJsonPath, `${JSON.stringify(pkg, null, 2)}\n`);
|
||||
}
|
||||
NODE
|
||||
|
||||
Reference in New Issue
Block a user