mercury-agent 0.4.9 → 0.4.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mercury-agent",
3
- "version": "0.4.9",
3
+ "version": "0.4.10",
4
4
  "description": "Personal AI assistant for chat platforms (WhatsApp, Slack, Discord, Telegram)",
5
5
  "license": "MIT",
6
6
  "author": "Avishai Tsabari",
@@ -238,10 +238,9 @@ function buildAction(): void {
238
238
  );
239
239
  process.exit(1);
240
240
  }
241
- cpSync(resourcesSrc, resourcesDest, {
242
- recursive: true,
243
- filter: (src) => !src.split(/[\\/]/).includes("node_modules"),
244
- });
241
+ // Bun's cpSync with a filter callback silently fails on Windows —
242
+ // use without filter; node_modules exclusion is only needed in dev.
243
+ cpSync(resourcesSrc, resourcesDest, { recursive: true });
245
244
  if (!existsSync(resourcesDest)) {
246
245
  console.error(`❌ Failed to copy resources/ into build context`);
247
246
  console.error(` Source: ${resourcesSrc} (exists: ${existsSync(resourcesSrc)})`);