magector 2.16.14 → 2.16.15
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/package.json +8 -7
- package/src/mcp-server.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "magector",
|
|
3
|
-
"version": "2.16.
|
|
3
|
+
"version": "2.16.15",
|
|
4
4
|
"description": "Semantic code search for Magento 2 — index, search, MCP server",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/mcp-server.js",
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
"validate:verbose": "node src/cli.js validate --verbose",
|
|
21
21
|
"validate:keep": "node src/cli.js validate --verbose --keep",
|
|
22
22
|
"benchmark": "node src/cli.js benchmark",
|
|
23
|
-
"test": "node tests/unit.test.js && node tests/mcp-server.test.js",
|
|
23
|
+
"test": "node tests/unit.test.js && node tests/mcp-server.test.js && node tests/trace-graphql.test.js",
|
|
24
24
|
"test:unit": "node tests/unit.test.js",
|
|
25
25
|
"test:integration": "node tests/mcp-server.test.js",
|
|
26
|
-
"test:no-index": "node tests/mcp-server.test.js --no-index"
|
|
26
|
+
"test:no-index": "node tests/mcp-server.test.js --no-index",
|
|
27
|
+
"test:trace-graphql": "node tests/trace-graphql.test.js"
|
|
27
28
|
},
|
|
28
29
|
"dependencies": {
|
|
29
30
|
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
@@ -33,10 +34,10 @@
|
|
|
33
34
|
"ruvector": "^0.1.96"
|
|
34
35
|
},
|
|
35
36
|
"optionalDependencies": {
|
|
36
|
-
"@magector/cli-darwin-arm64": "2.16.
|
|
37
|
-
"@magector/cli-linux-x64": "2.16.
|
|
38
|
-
"@magector/cli-linux-arm64": "2.16.
|
|
39
|
-
"@magector/cli-win32-x64": "2.16.
|
|
37
|
+
"@magector/cli-darwin-arm64": "2.16.15",
|
|
38
|
+
"@magector/cli-linux-x64": "2.16.15",
|
|
39
|
+
"@magector/cli-linux-arm64": "2.16.15",
|
|
40
|
+
"@magector/cli-win32-x64": "2.16.15"
|
|
40
41
|
},
|
|
41
42
|
"keywords": [
|
|
42
43
|
"magento",
|
package/src/mcp-server.js
CHANGED
|
@@ -5128,7 +5128,7 @@ const _callToolHandler = async (request) => {
|
|
|
5128
5128
|
// These tools have filesystem/di.xml fallbacks — work without serve process
|
|
5129
5129
|
'magento_find_class', 'magento_find_method', 'magento_find_plugin',
|
|
5130
5130
|
'magento_find_observer', 'magento_find_di_wiring', 'magento_module_structure',
|
|
5131
|
-
'magento_batch', 'magento_find_config', 'magento_find_callers', 'magento_grep', 'magento_read', 'magento_trace_api', 'magento_ast_search', 'magento_find_null_risks', 'magento_find_dataobject_issues'];
|
|
5131
|
+
'magento_batch', 'magento_find_config', 'magento_find_callers', 'magento_grep', 'magento_read', 'magento_trace_api', 'magento_trace_flow', 'magento_ast_search', 'magento_find_null_risks', 'magento_find_dataobject_issues'];
|
|
5132
5132
|
if (warmupInProgress && !indexFreeTools.includes(name)) {
|
|
5133
5133
|
logToFile('REQ', `${name} → blocked (warmup: loading index)`);
|
|
5134
5134
|
return {
|