sublime-mcp 1.13.6 → 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 +44 -3
- 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",
|
|
@@ -4749,7 +4779,7 @@
|
|
|
4749
4779
|
},
|
|
4750
4780
|
{
|
|
4751
4781
|
"name": "ui_screenshot",
|
|
4752
|
-
"description": "Take a picture of one window of this Sublime Text process (Windows only). Returns the image itself as an image block, first in the reply, followed by one text block with the size and what was captured. Works for a window that is behind others or not focused, and for dialogs. Choose the window with window_title (part of its title; an unmatched title lists the windows) or hwnd from list_native_windows; default is the first editor window. tab shows one tab for the picture (part of its name, or its 0-based index in the active window) and puts the tab that was in front back afterwards: use it to see a tab that is not in front. region crops, scale zooms (2 doubles the size, to read small text) and max_width shrinks. save_dir (an absolute folder) also keeps the PNG in a dated subfolder and reports saved_path. inline=false returns only a file path. Only windows of Sublime Text itself can be captured, never another program.",
|
|
4782
|
+
"description": "Take a picture of one window of this Sublime Text process (Windows only). Returns the image itself as an image block, first in the reply, followed by one text block with the size and what was captured. Works for a window that is behind others or not focused, and for dialogs. Choose the window with window_title (part of its title; an unmatched title lists the windows), kind ('dialog' or 'menu' for an open native dialog or menu) or hwnd from list_native_windows; default is the first editor window, and a dialog or menu open in front of it is then listed in the reply as open_popups_not_in_picture. tab shows one tab for the picture (part of its name, or its 0-based index in the active window) and puts the tab that was in front back afterwards: use it to see a tab that is not in front. region crops, scale zooms (2 doubles the size, to read small text) and max_width shrinks. save_dir (an absolute folder) also keeps the PNG in a dated subfolder and reports saved_path. inline=false returns only a file path. Only windows of Sublime Text itself can be captured, never another program.",
|
|
4753
4783
|
"inputSchema": {
|
|
4754
4784
|
"type": "object",
|
|
4755
4785
|
"properties": {
|
|
@@ -4761,6 +4791,17 @@
|
|
|
4761
4791
|
"type": "string",
|
|
4762
4792
|
"description": "Capture the window whose title contains this text (case-insensitive), instead of giving hwnd."
|
|
4763
4793
|
},
|
|
4794
|
+
"kind": {
|
|
4795
|
+
"type": "string",
|
|
4796
|
+
"enum": [
|
|
4797
|
+
"editor_window",
|
|
4798
|
+
"dialog",
|
|
4799
|
+
"menu",
|
|
4800
|
+
"window",
|
|
4801
|
+
"other"
|
|
4802
|
+
],
|
|
4803
|
+
"description": "Capture the first window of this kind, for example 'dialog' for a native dialog that is open or 'menu' for an open menu (menus have no title). Combine with window_title to narrow it. When a dialog or menu is open and you name no window, the reply lists them as open_popups_not_in_picture."
|
|
4804
|
+
},
|
|
4764
4805
|
"tab": {
|
|
4765
4806
|
"type": "string",
|
|
4766
4807
|
"description": "Show this tab for the picture: part of its name, or digits for its 0-based index in the active window (for example '1'). The tab that was in front is restored."
|
package/package.json
CHANGED