@trusty-squire/mcp 0.7.6 → 0.7.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.
@@ -29,7 +29,17 @@
29
29
  flex: none; }
30
30
  #dot.ok { background: #3fb950; }
31
31
  #dot.err { background: #f85149; }
32
- #screen { flex: 1; position: relative; background: #0f1115; min-height: 0; }
32
+ /* overflow:hidden + min-width:0 are load-bearing for scaleViewport.
33
+ The canvas noVNC appends inside #screen reports its native
34
+ framebuffer width (720px on the headless rig) as its intrinsic
35
+ width. Without these two declarations, the flex item's
36
+ cross-axis (row) min-width defaults to that content width and
37
+ grows #screen past the viewport. noVNC reads #screen's
38
+ bounding rect to pick the scale factor, sees 720, computes
39
+ ratio 1.0, and never scales. The official vnc_lite.html uses
40
+ the same `overflow:hidden` trick. */
41
+ #screen { flex: 1; position: relative; background: #0f1115;
42
+ min-height: 0; min-width: 0; overflow: hidden; }
33
43
  /* Overlay siblings of #screen — `position: fixed` against the
34
44
  viewport, NOT positioned inside #screen. RFB appends a <canvas>
35
45
  child to #screen at connect time, and that canvas can cover any
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trusty-squire/mcp",
3
- "version": "0.7.6",
3
+ "version": "0.7.7",
4
4
  "mcpName": "io.github.Trusty-Squire/mcp",
5
5
  "type": "module",
6
6
  "description": "Local MCP server vibe coding agents install. Thin relay to the Trusty Squire API, with the bundled universal signup bot.",