leapfrog-mcp 0.6.5 → 0.6.7

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.
@@ -577,22 +577,9 @@ export class SessionManager {
577
577
  logger.warn("tile.position_failed", { error: e.message });
578
578
  }
579
579
  }
580
- // ── Debounced reflow after creation (Windows only) ─────────────
581
- // On Windows, launch args position each window for a grid that includes
582
- // only the sessions created so far. Earlier windows end up at stale positions.
583
- // Reflow all after a 500ms debounce so rapid batch creates settle into one reflow.
584
- // Skipped on macOS where CDP reflow can move windows to the wrong screen.
585
- if (process.platform === "win32" && tileManager.isEnabled() && this.sessions.size > 1) {
586
- clearTimeout(globalThis.__leapReflowTimer);
587
- globalThis.__leapReflowTimer = setTimeout(async () => {
588
- try {
589
- await tileManager.reflowAll(this.sessions);
590
- }
591
- catch (e) {
592
- logger.warn("tile.reflow_after_create_failed", { error: e.message });
593
- }
594
- }, 500);
595
- }
580
+ // Reflow is handled by the TilesCoordinator file watcher in index.ts,
581
+ // which calls reflowWithContext() with global multi-terminal grid state.
582
+ // A local-only reflowAll here would override the global grid positions.
596
583
  // ── Auto-reflow on external close ──────────────────────────────
597
584
  // When the user manually closes a browser window (X button), clean up
598
585
  // the session and reflow remaining tiled windows. Without this, closing
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "leapfrog-mcp",
3
- "version": "0.6.5",
3
+ "version": "0.6.7",
4
4
  "description": "Multi-session browser MCP for AI agents — 36 tools, stealth, persistent auth, code-first scripts, API sniffer, agent intelligence",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",