fluxy-bot 0.4.20 → 0.4.21

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": "fluxy-bot",
3
- "version": "0.4.20",
3
+ "version": "0.4.21",
4
4
  "description": "Self-hosted, self-evolving AI agent with its own dashboard.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -12,7 +12,7 @@ export async function startViteDevServers(supervisorPort: number, hmrServer: htt
12
12
  };
13
13
 
14
14
  console.log(`[vite-dev] Starting dashboard Vite dev server on :${ports.dashboard}`);
15
- console.log(`[vite-dev] HMR attached to supervisor server (port ${supervisorPort})`);
15
+ console.log(`[vite-dev] HMR attached to supervisor server`);
16
16
  console.log(`[vite-dev] PKG_DIR = ${PKG_DIR}`);
17
17
 
18
18
  try {
@@ -23,7 +23,10 @@ export async function startViteDevServers(supervisorPort: number, hmrServer: htt
23
23
  host: '127.0.0.1',
24
24
  strictPort: true,
25
25
  allowedHosts: true,
26
- hmr: { server: hmrServer, clientPort: supervisorPort },
26
+ // HMR WebSocket is attached directly to the supervisor's HTTP server.
27
+ // No clientPort — the browser connects on the same origin the page is served from,
28
+ // so it works both locally (localhost:3000) and through the relay (riven.fluxy.bot:443).
29
+ hmr: { server: hmrServer },
27
30
  },
28
31
  logLevel: 'info',
29
32
  });