From fb50b625093cfa6cf8554ad27907161a073cc318 Mon Sep 17 00:00:00 2001 From: zhi Date: Sat, 28 Feb 2026 12:27:58 +0000 Subject: [PATCH] fix: include turn-manager.ts in package-plugin.mjs The packaging script didn't copy turn-manager.ts to dist, causing 'Cannot find module ./turn-manager.js' at gateway startup. --- scripts/package-plugin.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/package-plugin.mjs b/scripts/package-plugin.mjs index 9e65873..462abc4 100644 --- a/scripts/package-plugin.mjs +++ b/scripts/package-plugin.mjs @@ -8,7 +8,7 @@ const outDir = path.join(root, "dist", "whispergate"); fs.rmSync(outDir, { recursive: true, force: true }); fs.mkdirSync(outDir, { recursive: true }); -for (const f of ["index.ts", "rules.ts", "openclaw.plugin.json", "README.md", "package.json"]) { +for (const f of ["index.ts", "rules.ts", "turn-manager.ts", "openclaw.plugin.json", "README.md", "package.json"]) { fs.copyFileSync(path.join(pluginDir, f), path.join(outDir, f)); }