leapfrog-mcp 0.6.3 → 0.6.5

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -9
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -55,7 +55,9 @@ const LEAP_TILE = process.env.LEAP_TILE || "grid";
55
55
  const LEAP_TILE_PADDING = Number(process.env.LEAP_TILE_PADDING ?? 8);
56
56
  const LEAP_SCREEN_WIDTH = Number(process.env.LEAP_SCREEN_WIDTH || 0);
57
57
  const LEAP_SCREEN_HEIGHT = Number(process.env.LEAP_SCREEN_HEIGHT || 0);
58
- const LEAP_MULTI_TILE = process.env.LEAP_MULTI_TILE === "true";
58
+ // WORKAROUND: Claude Code on Windows does not pass mcp.json env vars.
59
+ // Default multi-tile ON so cross-terminal tiling works out of the box.
60
+ const LEAP_MULTI_TILE = process.env.LEAP_MULTI_TILE !== "false";
59
61
  const LEAP_HUD = process.env.LEAP_HUD === "true";
60
62
  const LEAP_AUTO_CONSENT = process.env.LEAP_AUTO_CONSENT !== "false"; // default ON
61
63
  const LEAP_TRACE = process.env.LEAP_TRACE === "true";
@@ -92,14 +94,8 @@ if (LEAP_TILE && LEAP_TILE !== "false") {
92
94
  if (LEAP_MULTI_TILE) {
93
95
  tilesCoord.watch((state) => {
94
96
  if (tileManager.isEnabled()) {
95
- const sessionMap = new Map();
96
- for (const si of sessions.listSessions()) {
97
- const sess = sessions.getSession(si.id);
98
- if (sess)
99
- sessionMap.set(si.id, sess);
100
- }
101
- logger.info("tile.watcher_reflow", { globalTotal: state.slots.length, local: sessionMap.size });
102
- tileManager.reflowAll(sessionMap).catch((e) => logger.warn("tile.watcher_reflow_failed", { error: e?.message }));
97
+ logger.info("tile.watcher_reflow", { globalTotal: state.slots.length });
98
+ reflowWithContext().catch((e) => logger.warn("tile.watcher_reflow_failed", { error: e?.message }));
103
99
  }
104
100
  });
105
101
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "leapfrog-mcp",
3
- "version": "0.6.3",
3
+ "version": "0.6.5",
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",