sublime-mcp 1.6.0 → 1.7.2
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 +27 -3
- package/package.json +1 -1
package/fallback-tools.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_comment": "GENERATED FILE - do not edit. Produced by tools/generate_fallback_catalog.py from
|
|
2
|
+
"_comment": "GENERATED FILE - do not edit. Produced by tools/generate_fallback_catalog.py from sublime_mcp.py::_MCP_TOOLS. Regenerate after changing the backend tool catalog.",
|
|
3
3
|
"tools": [
|
|
4
4
|
{
|
|
5
5
|
"name": "add_folder",
|
|
@@ -272,6 +272,14 @@
|
|
|
272
272
|
"properties": {}
|
|
273
273
|
}
|
|
274
274
|
},
|
|
275
|
+
{
|
|
276
|
+
"name": "diagnostics",
|
|
277
|
+
"description": "One-call plugin health snapshot: main-thread heartbeat freshness (and a likely_wedged flag), the currently in-flight _on_main dispatch (if any) with its label and running time, open IDE-companion diff reviews, on_activated/on_load/on_post_save/on_selection_modified/on_close event counts (total vs. suppressed as agent-caused), console-capture buffer size, and a live main-thread stack trace. Answers 'wedged vs slow vs fine' without needing the main thread's cooperation -- use this before assuming a timeout means the server is dead.",
|
|
278
|
+
"inputSchema": {
|
|
279
|
+
"type": "object",
|
|
280
|
+
"properties": {}
|
|
281
|
+
}
|
|
282
|
+
},
|
|
275
283
|
{
|
|
276
284
|
"name": "discover_tools",
|
|
277
285
|
"description": "Search advanced Sublime capabilities hidden from the default tool surface. Returns matching names, descriptions, and schemas. Invoke a result through batch(calls=[{tool: <name>, args: {...}}]), including for a single call.",
|
|
@@ -888,7 +896,7 @@
|
|
|
888
896
|
},
|
|
889
897
|
{
|
|
890
898
|
"name": "get_package_mcp_info",
|
|
891
|
-
"description": "
|
|
899
|
+
"description": "Discover what an installed Sublime package can do, then just control it directly --\nno separate MCP server needed. Primary workflow: call this for the package name, Read\nthe files it lists under python_files to find the package's real command-dispatch table\nand settings (this tool's own commands/settings_keys are a starting point, not the full\npicture -- a package that routes many actions through one command with an 'action' arg,\nfor example, only shows up here as that one wrapper command), then call the real thing\nwith run_command or eval_python. That loop -- discover, read source, call directly -- is\nalmost always enough on its own.\nReturns: path, commands (with captions and args), settings_keys, python_files, plus\noutput_file/extension_template for the rarer case where a standing, independently-\nreachable MCP server is actually needed (e.g. a client with no eval_python-equivalent of\nits own) -- write the extension to output_file following extension_template and ST loads\nit automatically; see the package-mcp-generator skill for that heavier path.",
|
|
892
900
|
"inputSchema": {
|
|
893
901
|
"type": "object",
|
|
894
902
|
"properties": {
|
|
@@ -1266,6 +1274,14 @@
|
|
|
1266
1274
|
"properties": {}
|
|
1267
1275
|
}
|
|
1268
1276
|
},
|
|
1277
|
+
{
|
|
1278
|
+
"name": "main_thread_stack",
|
|
1279
|
+
"description": "Return ST's main thread's current Python stack trace right now, read directly via sys._current_frames() from whichever thread handles this request. Works even while the main thread is wedged, since it needs no cooperation from it -- use this to see exactly what a stuck call is doing instead of guessing from symptoms.",
|
|
1280
|
+
"inputSchema": {
|
|
1281
|
+
"type": "object",
|
|
1282
|
+
"properties": {}
|
|
1283
|
+
}
|
|
1284
|
+
},
|
|
1269
1285
|
{
|
|
1270
1286
|
"name": "move_line_down",
|
|
1271
1287
|
"description": "Move the current line(s) down by one line.",
|
|
@@ -1933,7 +1949,7 @@
|
|
|
1933
1949
|
},
|
|
1934
1950
|
{
|
|
1935
1951
|
"name": "run_command",
|
|
1936
|
-
"description": "Run any Sublime Text command. scope='window' (default) or 'view'.",
|
|
1952
|
+
"description": "Run any Sublime Text command. scope='window' (default) or 'view'.\nFor scope='view'/'text', optionally target a specific tab with name (partial, case-insensitive) or index (0-based, from get_open_files) instead of whatever tab happens to be globally focused -- important when another agent/session may be sharing this Sublime instance.",
|
|
1937
1953
|
"inputSchema": {
|
|
1938
1954
|
"type": "object",
|
|
1939
1955
|
"properties": {
|
|
@@ -1946,6 +1962,14 @@
|
|
|
1946
1962
|
"scope": {
|
|
1947
1963
|
"type": "string",
|
|
1948
1964
|
"default": "window"
|
|
1965
|
+
},
|
|
1966
|
+
"name": {
|
|
1967
|
+
"type": "string",
|
|
1968
|
+
"default": ""
|
|
1969
|
+
},
|
|
1970
|
+
"index": {
|
|
1971
|
+
"type": "integer",
|
|
1972
|
+
"default": -1
|
|
1949
1973
|
}
|
|
1950
1974
|
},
|
|
1951
1975
|
"required": [
|
package/package.json
CHANGED