@cryptiklemur/lattice 1.40.5 → 1.40.6

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": "@cryptiklemur/lattice",
3
- "version": "1.40.5",
3
+ "version": "1.40.6",
4
4
  "description": "Multi-machine agentic dashboard for Claude Code. Monitor sessions, manage MCP servers and skills, orchestrate across mesh-networked nodes.",
5
5
  "license": "MIT",
6
6
  "author": "Aaron Scherer <me@aaronscherer.me>",
@@ -230,6 +230,7 @@ export async function startDaemon(portOverride?: number | null): Promise<void> {
230
230
  Bun.serve<WsData>({
231
231
  port: config.port,
232
232
  hostname: "0.0.0.0",
233
+ reusePort: true,
233
234
  ...(tlsOptions ? { tls: tlsOptions } : {}),
234
235
 
235
236
  async fetch(req: Request, server: ReturnType<typeof Bun.serve>) {
@@ -121,10 +121,11 @@ async function runDaemon(): Promise<void> {
121
121
  stopMeshConnections();
122
122
 
123
123
  var waited = 0;
124
+ var maxWait = 2000;
124
125
  var checkInterval = setInterval(function () {
125
126
  var activeCount = getActiveStreamCount();
126
127
  waited += 500;
127
- if (activeCount === 0 || waited >= 5000) {
128
+ if (activeCount === 0 || waited >= maxWait) {
128
129
  clearInterval(checkInterval);
129
130
  closeAllClients();
130
131
  removePid();