sublime-mcp 1.13.7 → 1.13.8
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/fallback-tools.json +32 -2
- package/package.json +1 -1
package/fallback-tools.json
CHANGED
|
@@ -4652,7 +4652,7 @@
|
|
|
4652
4652
|
},
|
|
4653
4653
|
{
|
|
4654
4654
|
"name": "ui_hover",
|
|
4655
|
-
"description": "Hold the REAL mouse pointer over a point of one window of this Sublime Text process (Windows only) so hover popups and tooltips appear, optionally taking a picture while it is there (screenshot=true saves it and returns the path), then put the pointer back. x, y are pixels in the picture ui_screenshot returns. Same safety gates as ui_click: refused unless the person at the computer has been idle for min_idle_s seconds (default 8) and the target window is the one under that point. dwell_ms (default 900, max 5000) is how long to wait before the picture.",
|
|
4655
|
+
"description": "Hold the REAL mouse pointer over a point of one window of this Sublime Text process (Windows only) so hover popups and tooltips appear, optionally taking a picture while it is there (screenshot=true returns the picture itself, image first; inline=false saves it and returns the path; region, scale and max_width work as in ui_screenshot, so a small popup can be cropped and zoomed), then put the pointer back. x, y are pixels in the picture ui_screenshot returns. Same safety gates as ui_click: refused unless the person at the computer has been idle for min_idle_s seconds (default 8) and the target window is the one under that point. dwell_ms (default 900, max 5000) is how long to wait before the picture; a language-server hover (LSP) can take a few seconds to appear, so use 3000 to 5000 for those (tried: a 4500 ms dwell over a Python symbol showed the pyright popup).",
|
|
4656
4656
|
"inputSchema": {
|
|
4657
4657
|
"type": "object",
|
|
4658
4658
|
"properties": {
|
|
@@ -4670,7 +4670,37 @@
|
|
|
4670
4670
|
},
|
|
4671
4671
|
"screenshot": {
|
|
4672
4672
|
"type": "boolean",
|
|
4673
|
-
"description": "Take a picture while the pointer is there and return
|
|
4673
|
+
"description": "Take a picture while the pointer is there and return it (the image itself unless inline=false)."
|
|
4674
|
+
},
|
|
4675
|
+
"inline": {
|
|
4676
|
+
"type": "boolean",
|
|
4677
|
+
"description": "With screenshot: return the image itself (default true); false saves a file and returns its path."
|
|
4678
|
+
},
|
|
4679
|
+
"region": {
|
|
4680
|
+
"type": "object",
|
|
4681
|
+
"description": "With screenshot: only this part of the window picture: {x, y, width, height} in pixels.",
|
|
4682
|
+
"properties": {
|
|
4683
|
+
"x": {
|
|
4684
|
+
"type": "integer"
|
|
4685
|
+
},
|
|
4686
|
+
"y": {
|
|
4687
|
+
"type": "integer"
|
|
4688
|
+
},
|
|
4689
|
+
"width": {
|
|
4690
|
+
"type": "integer"
|
|
4691
|
+
},
|
|
4692
|
+
"height": {
|
|
4693
|
+
"type": "integer"
|
|
4694
|
+
}
|
|
4695
|
+
}
|
|
4696
|
+
},
|
|
4697
|
+
"scale": {
|
|
4698
|
+
"type": "number",
|
|
4699
|
+
"description": "With screenshot: resize factor (2 doubles the picture)."
|
|
4700
|
+
},
|
|
4701
|
+
"max_width": {
|
|
4702
|
+
"type": "integer",
|
|
4703
|
+
"description": "With screenshot: shrink the picture to at most this many pixels wide."
|
|
4674
4704
|
},
|
|
4675
4705
|
"dwell_ms": {
|
|
4676
4706
|
"type": "integer",
|
package/package.json
CHANGED