@mindstudio-ai/local-model-tunnel 0.5.50 → 0.5.51

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.
@@ -25,7 +25,7 @@ import {
25
25
  syncSchema,
26
26
  watchConfigFile,
27
27
  watchTableFiles
28
- } from "./chunk-FEZRTRFM.js";
28
+ } from "./chunk-ZLWMDAZU.js";
29
29
 
30
30
  // src/dev/ipc/ipc.ts
31
31
  function emitEvent(event, data) {
@@ -698,4 +698,4 @@ async function startHeadless(opts = {}) {
698
698
  export {
699
699
  startHeadless
700
700
  };
701
- //# sourceMappingURL=chunk-MSDRYKC7.js.map
701
+ //# sourceMappingURL=chunk-KC7I6UWI.js.map
@@ -2307,7 +2307,14 @@ var DevProxy = class _DevProxy {
2307
2307
  const timeout = setTimeout(() => {
2308
2308
  this.pendingResults.delete(id);
2309
2309
  const client = this.clients.findByCommandId(id);
2310
- if (client) client.activeCommandId = null;
2310
+ if (client) {
2311
+ log.warn("proxy", "Removing unresponsive browser client", { clientId: client.id });
2312
+ this.clients.remove(client.id);
2313
+ try {
2314
+ client.ws.terminate();
2315
+ } catch {
2316
+ }
2317
+ }
2311
2318
  log.warn("proxy", "Browser command timed out", {
2312
2319
  id,
2313
2320
  pendingCount: this.pendingResults.size
@@ -3394,4 +3401,4 @@ export {
3394
3401
  watchTableFiles,
3395
3402
  watchConfigFile
3396
3403
  };
3397
- //# sourceMappingURL=chunk-FEZRTRFM.js.map
3404
+ //# sourceMappingURL=chunk-ZLWMDAZU.js.map