m8-mcp-server 1.0.0 → 1.0.1

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/dist/constants.js CHANGED
@@ -1 +1 @@
1
- const a0_0x4db045=a0_0x33ed;(function(_0x57558c,_0x5ac6a1){const _0x495b27=a0_0x33ed,_0x49eb16=_0x57558c();while(!![]){try{const _0x1de8c1=-parseInt(_0x495b27(0x1c4))/0x1+parseInt(_0x495b27(0x1b9))/0x2*(-parseInt(_0x495b27(0x1cc))/0x3)+-parseInt(_0x495b27(0x1c0))/0x4*(parseInt(_0x495b27(0x1c9))/0x5)+parseInt(_0x495b27(0x1b7))/0x6+-parseInt(_0x495b27(0x1c5))/0x7+-parseInt(_0x495b27(0x1d0))/0x8+parseInt(_0x495b27(0x1c1))/0x9;if(_0x1de8c1===_0x5ac6a1)break;else _0x49eb16['push'](_0x49eb16['shift']());}catch(_0x22f907){_0x49eb16['push'](_0x49eb16['shift']());}}}(a0_0x2dc6,0x5d4f8));const a0_0x41522a=(function(){let _0x493f54=!![];return function(_0x2da0b3,_0x1ec6b9){const _0x3baa30=_0x493f54?function(){if(_0x1ec6b9){const _0x4704be=_0x1ec6b9['apply'](_0x2da0b3,arguments);return _0x1ec6b9=null,_0x4704be;}}:function(){};return _0x493f54=![],_0x3baa30;};}()),a0_0x3e463f=a0_0x41522a(this,function(){const _0x58149a=a0_0x33ed;return a0_0x3e463f['toString']()[_0x58149a(0x1bf)](_0x58149a(0x1d6))[_0x58149a(0x1c3)]()[_0x58149a(0x1ce)](a0_0x3e463f)[_0x58149a(0x1bf)](_0x58149a(0x1d6));});function a0_0x2dc6(){const _0x1cffff=['2708360Iqrwoe','__esModule','data','standards','defineProperty','__importDefault','(((.+)+)+)+$','DATA_DIR','4437930PphuVN','STANDARDS_DIR','638882yFPNwr','getDataDir','m8mpdoc-develop','src/data','default','PROJECT_ROOT','search','107996YbyRrV','6664860LevGdZ','resolve','toString','151828htOxLA','505323XSvZct','extname','.ts','M8_DOCS_DIR','40olYobA','join','EJS_DOCS_DIR','3nxKjXS','../src/data','constructor','PROD_DOCS_DIR'];a0_0x2dc6=function(){return _0x1cffff;};return a0_0x2dc6();}function a0_0x33ed(_0x17e400,_0x42e155){_0x17e400=_0x17e400-0x1b6;const _0x345b33=a0_0x2dc6();let _0x3e463f=_0x345b33[_0x17e400];return _0x3e463f;}a0_0x3e463f();'use strict';var __importDefault=this&&this[a0_0x4db045(0x1d5)]||function(_0x1578df){const _0x10c994=a0_0x4db045;return _0x1578df&&_0x1578df[_0x10c994(0x1d1)]?_0x1578df:{'default':_0x1578df};};Object[a0_0x4db045(0x1d4)](exports,a0_0x4db045(0x1d1),{'value':!![]}),exports['STANDARDS_DIR']=exports[a0_0x4db045(0x1cb)]=exports['M8_DOCS_DIR']=exports[a0_0x4db045(0x1cf)]=exports['DOCS_DIR']=exports[a0_0x4db045(0x1be)]=exports[a0_0x4db045(0x1b6)]=void 0x0,exports[a0_0x4db045(0x1ba)]=getDataDir;const path_1=__importDefault(require('path'));exports[a0_0x4db045(0x1b6)]=path_1['default'][a0_0x4db045(0x1ca)](__dirname,a0_0x4db045(0x1cd));const IS_TS_NODE=path_1[a0_0x4db045(0x1bd)][a0_0x4db045(0x1c6)](__filename)===a0_0x4db045(0x1c7);exports['PROJECT_ROOT']=path_1[a0_0x4db045(0x1bd)][a0_0x4db045(0x1c2)](__dirname,IS_TS_NODE?'..':'..'),exports['DOCS_DIR']=path_1[a0_0x4db045(0x1bd)]['join'](exports['PROJECT_ROOT'],a0_0x4db045(0x1bc)),exports[a0_0x4db045(0x1cf)]=path_1['default'][a0_0x4db045(0x1ca)](exports[a0_0x4db045(0x1be)],a0_0x4db045(0x1d2));function getDataDir(){const _0x31528e=a0_0x4db045;return path_1[_0x31528e(0x1bd)][_0x31528e(0x1ca)](__dirname,_0x31528e(0x1d2));}exports[a0_0x4db045(0x1c8)]=a0_0x4db045(0x1bb),exports[a0_0x4db045(0x1cb)]='ejs-doc',exports[a0_0x4db045(0x1b8)]=a0_0x4db045(0x1d3);
1
+ const a0_0x6a2fe6=a0_0x2645;(function(_0x422900,_0x106df7){const _0x49161b=a0_0x2645,_0x2319ed=_0x422900();while(!![]){try{const _0x3acd07=-parseInt(_0x49161b(0x187))/0x1+parseInt(_0x49161b(0x196))/0x2*(parseInt(_0x49161b(0x18e))/0x3)+parseInt(_0x49161b(0x185))/0x4*(-parseInt(_0x49161b(0x189))/0x5)+parseInt(_0x49161b(0x197))/0x6*(-parseInt(_0x49161b(0x18d))/0x7)+-parseInt(_0x49161b(0x184))/0x8*(parseInt(_0x49161b(0x19a))/0x9)+parseInt(_0x49161b(0x18c))/0xa*(parseInt(_0x49161b(0x193))/0xb)+parseInt(_0x49161b(0x191))/0xc*(parseInt(_0x49161b(0x199))/0xd);if(_0x3acd07===_0x106df7)break;else _0x2319ed['push'](_0x2319ed['shift']());}catch(_0x4e7c15){_0x2319ed['push'](_0x2319ed['shift']());}}}(a0_0x3927,0x36d30));const a0_0x56d41c=(function(){let _0x4b2206=!![];return function(_0x2b2ad0,_0x2392d8){const _0x9be2bc=_0x4b2206?function(){const _0x54cf8a=a0_0x2645;if(_0x2392d8){const _0x186e88=_0x2392d8[_0x54cf8a(0x18b)](_0x2b2ad0,arguments);return _0x2392d8=null,_0x186e88;}}:function(){};return _0x4b2206=![],_0x9be2bc;};}()),a0_0x5785b4=a0_0x56d41c(this,function(){const _0x59f8e2=a0_0x2645;return a0_0x5785b4['toString']()[_0x59f8e2(0x188)](_0x59f8e2(0x195))[_0x59f8e2(0x180)]()['constructor'](a0_0x5785b4)[_0x59f8e2(0x188)]('(((.+)+)+)+$');});a0_0x5785b4();import a0_0x4a90fb from'path';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta.url),__dirname=a0_0x4a90fb[a0_0x6a2fe6(0x192)](__filename);export const DATA_DIR=a0_0x4a90fb[a0_0x6a2fe6(0x18a)](__dirname,a0_0x6a2fe6(0x186));const IS_TS_NODE=a0_0x4a90fb[a0_0x6a2fe6(0x198)](__filename)===a0_0x6a2fe6(0x183);export const PROJECT_ROOT=a0_0x4a90fb['resolve'](__dirname,IS_TS_NODE?'..':'..');export const DOCS_DIR=a0_0x4a90fb[a0_0x6a2fe6(0x18a)](PROJECT_ROOT,a0_0x6a2fe6(0x181));export const PROD_DOCS_DIR=a0_0x4a90fb[a0_0x6a2fe6(0x18a)](PROJECT_ROOT,a0_0x6a2fe6(0x194));function a0_0x3927(){const _0x328c24=['132INqVvm','dirname','3496746TuZdWk','data','(((.+)+)+)+$','4VDiOnW','2223114KANLkO','extname','981526ItdZdS','40203eGLBcU','toString','src/data','m8mpdoc-develop','.ts','384iKXgmx','4AsOGSA','../src/data','139566hmpciw','search','1632905didiVp','join','apply','10kyNdZm','7cwrsBS','190851SjkZrJ','standards','ejs-doc'];a0_0x3927=function(){return _0x328c24;};return a0_0x3927();}export function getDataDir(){const _0x5e5b8d=a0_0x6a2fe6;return a0_0x4a90fb[_0x5e5b8d(0x18a)](__dirname,_0x5e5b8d(0x194));}function a0_0x2645(_0x15c674,_0x3c1e31){_0x15c674=_0x15c674-0x180;const _0x4ff454=a0_0x3927();let _0x5785b4=_0x4ff454[_0x15c674];return _0x5785b4;}export const M8_DOCS_DIR=a0_0x6a2fe6(0x182);export const EJS_DOCS_DIR=a0_0x6a2fe6(0x190);export const STANDARDS_DIR=a0_0x6a2fe6(0x18f);
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a1_0x1db6f2=a1_0x52ba;function a1_0x52ba(_0x2cf91b,_0x43a847){_0x2cf91b=_0x2cf91b-0xae;const _0x2c1904=a1_0x5dd2();let _0x413be7=_0x2c1904[_0x2cf91b];return _0x413be7;}(function(_0x1f2849,_0x11fbf5){const _0x451f66=a1_0x52ba,_0x440614=_0x1f2849();while(!![]){try{const _0x44a865=-parseInt(_0x451f66(0xc2))/0x1+parseInt(_0x451f66(0xeb))/0x2+parseInt(_0x451f66(0xb0))/0x3+-parseInt(_0x451f66(0xc3))/0x4*(parseInt(_0x451f66(0xae))/0x5)+parseInt(_0x451f66(0xd4))/0x6*(parseInt(_0x451f66(0xba))/0x7)+-parseInt(_0x451f66(0xb5))/0x8*(parseInt(_0x451f66(0xb2))/0x9)+parseInt(_0x451f66(0xd5))/0xa;if(_0x44a865===_0x11fbf5)break;else _0x440614['push'](_0x440614['shift']());}catch(_0x5d854a){_0x440614['push'](_0x440614['shift']());}}}(a1_0x5dd2,0xdd389));function a1_0x5dd2(){const _0x375237=['927VXTNXC','map','(((.+)+)+)+$','140704DBHJgk','Unknown\x20tool:\x20','setRequestHandler','No\x20matches\x20found\x20in\x20EJS\x20API\x20documentation.','The\x20type\x20of\x20standard\x20to\x20retrieve','110243jXQwDh','object','searchEjsDocs','search_m8_docs','StdioServerTransport','catch','connect','@modelcontextprotocol/sdk/types.js','771899xrnClf','24vexVeX','1.0.0','Error\x20executing\x20tool\x20','length','vue','apply','\x0a---','filePath','getFileContent','project','get_coding_standards','search','text','Get\x20the\x20built-in\x20coding\x20standards\x20for\x20M8/EJS\x20projects.','exit','ListToolsRequestSchema','query','270lpLhTi','3415640LaUELe','\x20matches:\x0a\x0a','./tools/search.js','searchM8Docs','toString','The\x20absolute\x20path\x20of\x20the\x20file\x20to\x20read\x20(returned\x20by\x20search\x20tools)','No\x20matches\x20found\x20in\x20M8\x20documentation.','\x0aPath:\x20','__esModule','Read\x20the\x20full\x20content\x20of\x20a\x20documentation\x20file.\x20Use\x20this\x20after\x20searching\x20to\x20get\x20the\x20usage\x20details.','The\x20search\x20query\x20(e.g.,\x20\x27uploader\x27,\x20\x27ajax\x27,\x20\x27encryption\x27)','Search\x20EJS\x20native\x20API\x20documentation\x20directly.\x20Use\x20this\x20for\x20native\x20capabilities\x20like\x20audio,\x20camera,\x20storage.','join','file','./tools/standards.js','preview','read_doc_file','message','@modelcontextprotocol/sdk/server/stdio.js','string','Found\x20','all','3124988SUPemY','error','773030ZztmqL','File\x20not\x20found\x20or\x20empty.','5413371vZkIes','path'];a1_0x5dd2=function(){return _0x375237;};return a1_0x5dd2();}Object['defineProperty'](exports,a1_0x1db6f2(0xdd),{'value':!![]});const index_js_1=require('@modelcontextprotocol/sdk/server/index.js'),stdio_js_1=require(a1_0x1db6f2(0xe7)),types_js_1=require(a1_0x1db6f2(0xc1)),search_js_1=require(a1_0x1db6f2(0xd7)),standards_js_1=require(a1_0x1db6f2(0xe3)),server=new index_js_1['Server']({'name':'m8-mcp-server','version':a1_0x1db6f2(0xc4)},{'capabilities':{'tools':{}}}),TOOLS=[{'name':a1_0x1db6f2(0xbd),'description':'Search\x20M8\x20Framework\x20documentation\x20directly.\x20Use\x20this\x20to\x20find\x20UI\x20components,\x20utility\x20functions,\x20or\x20examples.','inputSchema':{'type':'object','properties':{'query':{'type':'string','description':a1_0x1db6f2(0xdf)}},'required':[a1_0x1db6f2(0xd3)]}},{'name':'search_ejs_api','description':a1_0x1db6f2(0xe0),'inputSchema':{'type':a1_0x1db6f2(0xbb),'properties':{'query':{'type':a1_0x1db6f2(0xe8),'description':'The\x20search\x20query\x20(e.g.,\x20\x27audio\x27,\x20\x27file\x27)'}},'required':['query']}},{'name':a1_0x1db6f2(0xe5),'description':a1_0x1db6f2(0xde),'inputSchema':{'type':a1_0x1db6f2(0xbb),'properties':{'filePath':{'type':a1_0x1db6f2(0xe8),'description':a1_0x1db6f2(0xda)}},'required':[a1_0x1db6f2(0xca)]}},{'name':a1_0x1db6f2(0xcd),'description':a1_0x1db6f2(0xd0),'inputSchema':{'type':a1_0x1db6f2(0xbb),'properties':{'type':{'type':a1_0x1db6f2(0xe8),'enum':['js',a1_0x1db6f2(0xc7),'css',a1_0x1db6f2(0xcc),a1_0x1db6f2(0xea)],'description':a1_0x1db6f2(0xb9)}},'required':['type']}}];server[a1_0x1db6f2(0xb7)](types_js_1[a1_0x1db6f2(0xd2)],async()=>{return{'tools':TOOLS};}),server['setRequestHandler'](types_js_1['CallToolRequestSchema'],async _0x2905dc=>{const _0x15c9f0=a1_0x1db6f2,{name:_0x1d8a80,arguments:_0x1ded68}=_0x2905dc['params'];try{if(_0x1d8a80===_0x15c9f0(0xbd)){const _0x3a832e=_0x1ded68['query'],_0x18fddd=await(0x0,search_js_1[_0x15c9f0(0xd8)])(_0x3a832e);if(_0x18fddd[_0x15c9f0(0xc6)]===0x0)return{'content':[{'type':_0x15c9f0(0xcf),'text':_0x15c9f0(0xdb)}]};const _0x36afa5=_0x18fddd['map'](_0x2580e0=>'File:\x20'+_0x2580e0[_0x15c9f0(0xe2)]+_0x15c9f0(0xdc)+_0x2580e0[_0x15c9f0(0xb1)]+'\x0aSnippet:\x20'+_0x2580e0[_0x15c9f0(0xe4)]+'\x0a---')[_0x15c9f0(0xe1)]('\x0a');return{'content':[{'type':'text','text':_0x15c9f0(0xe9)+_0x18fddd[_0x15c9f0(0xc6)]+'\x20matches:\x0a\x0a'+_0x36afa5}]};}if(_0x1d8a80==='search_ejs_api'){const _0x664529=_0x1ded68[_0x15c9f0(0xd3)],_0x5c07af=await(0x0,search_js_1[_0x15c9f0(0xbc)])(_0x664529);if(_0x5c07af[_0x15c9f0(0xc6)]===0x0)return{'content':[{'type':_0x15c9f0(0xcf),'text':_0x15c9f0(0xb8)}]};const _0x566fdd=_0x5c07af[_0x15c9f0(0xb3)](_0x1102de=>'File:\x20'+_0x1102de[_0x15c9f0(0xe2)]+_0x15c9f0(0xdc)+_0x1102de[_0x15c9f0(0xb1)]+'\x0aSnippet:\x20'+_0x1102de[_0x15c9f0(0xe4)]+_0x15c9f0(0xc9))[_0x15c9f0(0xe1)]('\x0a');return{'content':[{'type':_0x15c9f0(0xcf),'text':'Found\x20'+_0x5c07af[_0x15c9f0(0xc6)]+_0x15c9f0(0xd6)+_0x566fdd}]};}if(_0x1d8a80===_0x15c9f0(0xe5)){const _0x3ba6bf=_0x1ded68[_0x15c9f0(0xca)],_0x17f84a=(0x0,search_js_1[_0x15c9f0(0xcb)])(_0x3ba6bf);return{'content':[{'type':_0x15c9f0(0xcf),'text':_0x17f84a||_0x15c9f0(0xaf)}]};}if(_0x1d8a80==='get_coding_standards'){const _0x48125b=_0x1ded68['type'],_0x1f8b8d=(0x0,standards_js_1['getStandards'])(_0x48125b);return{'content':[{'type':_0x15c9f0(0xcf),'text':_0x1f8b8d}]};}throw new Error(_0x15c9f0(0xb6)+_0x1d8a80);}catch(_0xa0766){return{'content':[{'type':_0x15c9f0(0xcf),'text':_0x15c9f0(0xc5)+_0x1d8a80+':\x20'+_0xa0766[_0x15c9f0(0xe6)]}],'isError':!![]};}});async function runServer(){const _0x24c8e3=a1_0x1db6f2,_0x555cb8=(function(){let _0x23939c=!![];return function(_0x1ea4a0,_0x546989){const _0x3090a6=_0x23939c?function(){const _0x32e359=a1_0x52ba;if(_0x546989){const _0x4a3dbc=_0x546989[_0x32e359(0xc8)](_0x1ea4a0,arguments);return _0x546989=null,_0x4a3dbc;}}:function(){};return _0x23939c=![],_0x3090a6;};}()),_0x468565=_0x555cb8(this,function(){const _0x5c3525=a1_0x52ba;return _0x468565['toString']()[_0x5c3525(0xce)](_0x5c3525(0xb4))[_0x5c3525(0xd9)]()['constructor'](_0x468565)[_0x5c3525(0xce)]('(((.+)+)+)+$');});_0x468565();const _0x1b26e4=new stdio_js_1[(_0x24c8e3(0xbe))]();await server[_0x24c8e3(0xc0)](_0x1b26e4),console[_0x24c8e3(0xec)]('M8\x20MCP\x20Server\x20running\x20on\x20stdio');}runServer()[a1_0x1db6f2(0xbf)](_0x59a8f4=>{const _0x1a8e10=a1_0x1db6f2;console['error']('Fatal\x20error\x20running\x20server:',_0x59a8f4),process[_0x1a8e10(0xd1)](0x1);});
1
+ const a1_0xde8ab4=a1_0x61e0;(function(_0x1b4d3e,_0x2bcbe3){const _0xfee086=a1_0x61e0,_0x2e6575=_0x1b4d3e();while(!![]){try{const _0x3711be=parseInt(_0xfee086(0xdb))/0x1+-parseInt(_0xfee086(0xf0))/0x2+parseInt(_0xfee086(0xe3))/0x3*(-parseInt(_0xfee086(0xeb))/0x4)+-parseInt(_0xfee086(0xfc))/0x5*(-parseInt(_0xfee086(0xe0))/0x6)+parseInt(_0xfee086(0xc9))/0x7*(-parseInt(_0xfee086(0xe5))/0x8)+-parseInt(_0xfee086(0xef))/0x9*(-parseInt(_0xfee086(0xe8))/0xa)+-parseInt(_0xfee086(0xcb))/0xb;if(_0x3711be===_0x2bcbe3)break;else _0x2e6575['push'](_0x2e6575['shift']());}catch(_0x3e0231){_0x2e6575['push'](_0x2e6575['shift']());}}}(a1_0x8cc3,0xddc1a));import{Server}from'@modelcontextprotocol/sdk/server/index.js';import{StdioServerTransport}from'@modelcontextprotocol/sdk/server/stdio.js';import{CallToolRequestSchema,ListToolsRequestSchema}from'@modelcontextprotocol/sdk/types.js';function a1_0x61e0(_0x5bbbc0,_0x474061){_0x5bbbc0=_0x5bbbc0-0xc7;const _0x482907=a1_0x8cc3();let _0x11364b=_0x482907[_0x5bbbc0];return _0x11364b;}import{searchM8Docs,searchEjsDocs,getFileContent}from'./tools/search.js';function a1_0x8cc3(){const _0x39bcc8=['toString','1231190BDGHQx','text','filePath','1253836fFnaNY','get_coding_standards','m8-mcp-server','preview','18PWVcVq','1225964CRUCxW','catch','search','Found\x20','\x20matches:\x0a\x0a','\x0aSnippet:\x20','Unknown\x20tool:\x20','error','search_ejs_api','file','length','The\x20search\x20query\x20(e.g.,\x20\x27uploader\x27,\x20\x27ajax\x27,\x20\x27encryption\x27)','15jbofNW','string','project','connect','The\x20search\x20query\x20(e.g.,\x20\x27audio\x27,\x20\x27file\x27)','params','No\x20matches\x20found\x20in\x20EJS\x20API\x20documentation.','M8\x20MCP\x20Server\x20running\x20on\x20stdio','Error\x20executing\x20tool\x20','49HFBGXv','Fatal\x20error\x20running\x20server:','1713030PYcdwu','read_doc_file','No\x20matches\x20found\x20in\x20M8\x20documentation.','constructor','type','exit','(((.+)+)+)+$','vue','query','Search\x20M8\x20Framework\x20documentation\x20directly.\x20Use\x20this\x20to\x20find\x20UI\x20components,\x20utility\x20functions,\x20or\x20examples.','The\x20absolute\x20path\x20of\x20the\x20file\x20to\x20read\x20(returned\x20by\x20search\x20tools)','Search\x20EJS\x20native\x20API\x20documentation\x20directly.\x20Use\x20this\x20for\x20native\x20capabilities\x20like\x20audio,\x20camera,\x20storage.','Read\x20the\x20full\x20content\x20of\x20a\x20documentation\x20file.\x20Use\x20this\x20after\x20searching\x20to\x20get\x20the\x20usage\x20details.','setRequestHandler','1.0.0','apply','1641854klvpFy','join','File\x20not\x20found\x20or\x20empty.','\x0a---','map','2738082zTXqUb','object','File:\x20','9wOIlcf','path','731120pKdmEJ','search_m8_docs'];a1_0x8cc3=function(){return _0x39bcc8;};return a1_0x8cc3();}import{getStandards}from'./tools/standards.js';const server=new Server({'name':a1_0xde8ab4(0xed),'version':a1_0xde8ab4(0xd9)},{'capabilities':{'tools':{}}}),TOOLS=[{'name':a1_0xde8ab4(0xe6),'description':a1_0xde8ab4(0xd4),'inputSchema':{'type':a1_0xde8ab4(0xe1),'properties':{'query':{'type':a1_0xde8ab4(0xfd),'description':a1_0xde8ab4(0xfb)}},'required':[a1_0xde8ab4(0xd3)]}},{'name':a1_0xde8ab4(0xf8),'description':a1_0xde8ab4(0xd6),'inputSchema':{'type':a1_0xde8ab4(0xe1),'properties':{'query':{'type':a1_0xde8ab4(0xfd),'description':a1_0xde8ab4(0x100)}},'required':[a1_0xde8ab4(0xd3)]}},{'name':a1_0xde8ab4(0xcc),'description':a1_0xde8ab4(0xd7),'inputSchema':{'type':a1_0xde8ab4(0xe1),'properties':{'filePath':{'type':a1_0xde8ab4(0xfd),'description':a1_0xde8ab4(0xd5)}},'required':[a1_0xde8ab4(0xea)]}},{'name':a1_0xde8ab4(0xec),'description':'Get\x20the\x20built-in\x20coding\x20standards\x20for\x20M8/EJS\x20projects.','inputSchema':{'type':a1_0xde8ab4(0xe1),'properties':{'type':{'type':a1_0xde8ab4(0xfd),'enum':['js',a1_0xde8ab4(0xd2),'css',a1_0xde8ab4(0xfe),'all'],'description':'The\x20type\x20of\x20standard\x20to\x20retrieve'}},'required':[a1_0xde8ab4(0xcf)]}}];server[a1_0xde8ab4(0xd8)](ListToolsRequestSchema,async()=>{return{'tools':TOOLS};}),server[a1_0xde8ab4(0xd8)](CallToolRequestSchema,async _0x812f9f=>{const _0x2ea87d=a1_0xde8ab4,{name:_0x468e89,arguments:_0x142906}=_0x812f9f[_0x2ea87d(0x101)];try{if(_0x468e89===_0x2ea87d(0xe6)){const _0x36f153=_0x142906[_0x2ea87d(0xd3)],_0x25d028=await searchM8Docs(_0x36f153);if(_0x25d028[_0x2ea87d(0xfa)]===0x0)return{'content':[{'type':_0x2ea87d(0xe9),'text':_0x2ea87d(0xcd)}]};const _0x434223=_0x25d028[_0x2ea87d(0xdf)](_0x237dd0=>_0x2ea87d(0xe2)+_0x237dd0[_0x2ea87d(0xf9)]+'\x0aPath:\x20'+_0x237dd0[_0x2ea87d(0xe4)]+_0x2ea87d(0xf5)+_0x237dd0['preview']+_0x2ea87d(0xde))[_0x2ea87d(0xdc)]('\x0a');return{'content':[{'type':_0x2ea87d(0xe9),'text':_0x2ea87d(0xf3)+_0x25d028['length']+_0x2ea87d(0xf4)+_0x434223}]};}if(_0x468e89===_0x2ea87d(0xf8)){const _0x4fde3a=_0x142906[_0x2ea87d(0xd3)],_0x49240a=await searchEjsDocs(_0x4fde3a);if(_0x49240a[_0x2ea87d(0xfa)]===0x0)return{'content':[{'type':_0x2ea87d(0xe9),'text':_0x2ea87d(0x102)}]};const _0x3b11cb=_0x49240a[_0x2ea87d(0xdf)](_0x314b9b=>_0x2ea87d(0xe2)+_0x314b9b[_0x2ea87d(0xf9)]+'\x0aPath:\x20'+_0x314b9b[_0x2ea87d(0xe4)]+_0x2ea87d(0xf5)+_0x314b9b[_0x2ea87d(0xee)]+_0x2ea87d(0xde))['join']('\x0a');return{'content':[{'type':_0x2ea87d(0xe9),'text':'Found\x20'+_0x49240a['length']+_0x2ea87d(0xf4)+_0x3b11cb}]};}if(_0x468e89===_0x2ea87d(0xcc)){const _0x1c28d9=_0x142906[_0x2ea87d(0xea)],_0x32bcb5=getFileContent(_0x1c28d9);return{'content':[{'type':_0x2ea87d(0xe9),'text':_0x32bcb5||_0x2ea87d(0xdd)}]};}if(_0x468e89===_0x2ea87d(0xec)){const _0x4c8946=_0x142906[_0x2ea87d(0xcf)],_0x26348c=getStandards(_0x4c8946);return{'content':[{'type':'text','text':_0x26348c}]};}throw new Error(_0x2ea87d(0xf6)+_0x468e89);}catch(_0x24134b){return{'content':[{'type':_0x2ea87d(0xe9),'text':_0x2ea87d(0xc8)+_0x468e89+':\x20'+_0x24134b['message']}],'isError':!![]};}});async function runServer(){const _0x3e8471=a1_0xde8ab4,_0x1c41f3=(function(){let _0x48acb9=!![];return function(_0x27d39c,_0x32f27c){const _0x164c6f=_0x48acb9?function(){const _0x35360d=a1_0x61e0;if(_0x32f27c){const _0x235cf7=_0x32f27c[_0x35360d(0xda)](_0x27d39c,arguments);return _0x32f27c=null,_0x235cf7;}}:function(){};return _0x48acb9=![],_0x164c6f;};}()),_0xd75022=_0x1c41f3(this,function(){const _0x1626e0=a1_0x61e0;return _0xd75022[_0x1626e0(0xe7)]()[_0x1626e0(0xf2)]('(((.+)+)+)+$')[_0x1626e0(0xe7)]()[_0x1626e0(0xce)](_0xd75022)[_0x1626e0(0xf2)](_0x1626e0(0xd1));});_0xd75022();const _0x4ba44f=new StdioServerTransport();await server[_0x3e8471(0xff)](_0x4ba44f),console['error'](_0x3e8471(0xc7));}runServer()[a1_0xde8ab4(0xf1)](_0x57a0f0=>{const _0x4bc253=a1_0xde8ab4;console[_0x4bc253(0xf7)](_0x4bc253(0xca),_0x57a0f0),process[_0x4bc253(0xd0)](0x1);});
@@ -1 +1 @@
1
- const a2_0x2be492=a2_0x1d31;(function(_0x3beeec,_0x44dd9e){const _0xad8b76=a2_0x1d31,_0xd82cee=_0x3beeec();while(!![]){try{const _0x292ae7=-parseInt(_0xad8b76(0x138))/0x1*(parseInt(_0xad8b76(0x127))/0x2)+-parseInt(_0xad8b76(0x133))/0x3*(-parseInt(_0xad8b76(0x12c))/0x4)+-parseInt(_0xad8b76(0x134))/0x5+-parseInt(_0xad8b76(0x11f))/0x6+parseInt(_0xad8b76(0x131))/0x7*(parseInt(_0xad8b76(0x130))/0x8)+-parseInt(_0xad8b76(0x143))/0x9+parseInt(_0xad8b76(0x124))/0xa*(parseInt(_0xad8b76(0x126))/0xb);if(_0x292ae7===_0x44dd9e)break;else _0xd82cee['push'](_0xd82cee['shift']());}catch(_0x29d974){_0xd82cee['push'](_0xd82cee['shift']());}}}(a2_0x282a,0x9477c));const a2_0x54b708=(function(){let _0x1ea21c=!![];return function(_0x5c594b,_0x273fe6){const _0xea4123=_0x1ea21c?function(){if(_0x273fe6){const _0x4d02e1=_0x273fe6['apply'](_0x5c594b,arguments);return _0x273fe6=null,_0x4d02e1;}}:function(){};return _0x1ea21c=![],_0xea4123;};}()),a2_0xb83719=a2_0x54b708(this,function(){const _0x261efd=a2_0x1d31;return a2_0xb83719[_0x261efd(0x149)]()[_0x261efd(0x121)]('(((.+)+)+)+$')[_0x261efd(0x149)]()[_0x261efd(0x125)](a2_0xb83719)[_0x261efd(0x121)]('(((.+)+)+)+$');});a2_0xb83719();'use strict';var __importDefault=this&&this[a2_0x2be492(0x140)]||function(_0x1b4a92){const _0x46dcf3=a2_0x2be492;return _0x1b4a92&&_0x1b4a92[_0x46dcf3(0x132)]?_0x1b4a92:{'default':_0x1b4a92};};Object[a2_0x2be492(0x13f)](exports,a2_0x2be492(0x132),{'value':!![]}),exports[a2_0x2be492(0x13c)]=searchM8Docs,exports['searchEjsDocs']=searchEjsDocs,exports[a2_0x2be492(0x146)]=getFileContent;const fs_1=__importDefault(require('fs')),path_1=__importDefault(require(a2_0x2be492(0x129))),fast_glob_1=__importDefault(require(a2_0x2be492(0x128))),constants_js_1=require(a2_0x2be492(0x145));async function searchM8Docs(_0x9bddb2){const _0x33f421=a2_0x2be492,_0x592f5d=path_1['default'][_0x33f421(0x13b)]((0x0,constants_js_1[_0x33f421(0x142)])(),constants_js_1[_0x33f421(0x147)]);return await searchInDirectory(_0x592f5d,_0x9bddb2);}async function searchEjsDocs(_0x373fbc){const _0x58526c=a2_0x2be492,_0xa65d58=path_1[_0x58526c(0x12d)]['join']((0x0,constants_js_1[_0x58526c(0x142)])(),constants_js_1[_0x58526c(0x13d)]);return await searchInDirectory(_0xa65d58,_0x373fbc);}async function searchInDirectory(_0x354429,_0x541a04){const _0x3813b9=a2_0x2be492;if(!fs_1[_0x3813b9(0x12d)]['existsSync'](_0x354429))return console[_0x3813b9(0x139)](_0x3813b9(0x136)+_0x354429),[];const _0x922f05=await(0x0,fast_glob_1[_0x3813b9(0x12d)])(_0x3813b9(0x135),{'cwd':_0x354429,'absolute':!![]}),_0x584f3b=[],_0x9ba5de=_0x541a04['toLowerCase']();for(const _0x39ad82 of _0x922f05){const _0x3fef4d=fs_1[_0x3813b9(0x12d)]['readFileSync'](_0x39ad82,'utf-8'),_0xd3b560=path_1[_0x3813b9(0x12d)][_0x3813b9(0x12a)](_0x39ad82);let _0x2c0f05=0x0;if(_0xd3b560['toLowerCase']()['includes'](_0x9ba5de))_0x2c0f05+=0xa;if(_0x3fef4d[_0x3813b9(0x141)]()[_0x3813b9(0x122)](_0x9ba5de))_0x2c0f05+=0x1;if(_0x2c0f05>0x0){const _0x39161e=_0x3fef4d[_0x3813b9(0x141)]()[_0x3813b9(0x12b)](_0x9ba5de);let _0x1d4429='';if(_0x39161e>=0x0){const _0x393227=Math['max'](0x0,_0x39161e-0x32),_0x2eeceb=Math[_0x3813b9(0x13a)](_0x3fef4d[_0x3813b9(0x13e)],_0x39161e+0x64);_0x1d4429=_0x3813b9(0x120)+_0x3fef4d[_0x3813b9(0x148)](_0x393227,_0x2eeceb)[_0x3813b9(0x123)](/\n/g,'\x20')+_0x3813b9(0x120);}else _0x1d4429=_0x3fef4d['substring'](0x0,0x64)['replace'](/\n/g,'\x20')+_0x3813b9(0x120);_0x584f3b['push']({'file':_0xd3b560,'path':_0x39ad82,'preview':_0x1d4429,'score':_0x2c0f05});}}return _0x584f3b['sort']((_0x53dca1,_0x3f0840)=>(_0x3f0840[_0x3813b9(0x12e)]||0x0)-(_0x53dca1[_0x3813b9(0x12e)]||0x0))['slice'](0x0,0x5);}function a2_0x1d31(_0x3f79eb,_0x4f3d14){_0x3f79eb=_0x3f79eb-0x11f;const _0x1c473a=a2_0x282a();let _0xb83719=_0x1c473a[_0x3f79eb];return _0xb83719;}function getFileContent(_0x47675d){const _0x1f3871=a2_0x2be492;if(fs_1[_0x1f3871(0x12d)][_0x1f3871(0x12f)](_0x47675d))return fs_1[_0x1f3871(0x12d)][_0x1f3871(0x144)](_0x47675d,_0x1f3871(0x137));return'';}function a2_0x282a(){const _0x333998=['score','existsSync','408RnbOkH','55244PEXLpS','__esModule','78YlnOoR','5683885VNvxgD','**/*.md','Directory\x20not\x20found:\x20','utf-8','27PcbcFh','error','min','join','searchM8Docs','EJS_DOCS_DIR','length','defineProperty','__importDefault','toLowerCase','getDataDir','3709962bYhVSA','readFileSync','../constants.js','getFileContent','M8_DOCS_DIR','substring','toString','519498jgediA','...','search','includes','replace','10jaZYRN','constructor','8999815dYTibg','13370Ipcfji','fast-glob','path','basename','indexOf','185160WcfPzK','default'];a2_0x282a=function(){return _0x333998;};return a2_0x282a();}
1
+ (function(_0x4b948a,_0x438146){const _0x11bb3b=a2_0x261d,_0x162569=_0x4b948a();while(!![]){try{const _0x3473a7=parseInt(_0x11bb3b(0x145))/0x1*(parseInt(_0x11bb3b(0x12d))/0x2)+parseInt(_0x11bb3b(0x13b))/0x3*(-parseInt(_0x11bb3b(0x136))/0x4)+-parseInt(_0x11bb3b(0x138))/0x5*(-parseInt(_0x11bb3b(0x13c))/0x6)+parseInt(_0x11bb3b(0x13a))/0x7+parseInt(_0x11bb3b(0x144))/0x8*(parseInt(_0x11bb3b(0x13d))/0x9)+parseInt(_0x11bb3b(0x142))/0xa*(-parseInt(_0x11bb3b(0x146))/0xb)+parseInt(_0x11bb3b(0x131))/0xc*(-parseInt(_0x11bb3b(0x12f))/0xd);if(_0x3473a7===_0x438146)break;else _0x162569['push'](_0x162569['shift']());}catch(_0x1b8f69){_0x162569['push'](_0x162569['shift']());}}}(a2_0x1077,0x38315));const a2_0x1518f8=(function(){let _0x2abd20=!![];return function(_0x1c4ab1,_0x5a3fec){const _0x5f30d8=_0x2abd20?function(){const _0x598e6d=a2_0x261d;if(_0x5a3fec){const _0x56dad9=_0x5a3fec[_0x598e6d(0x132)](_0x1c4ab1,arguments);return _0x5a3fec=null,_0x56dad9;}}:function(){};return _0x2abd20=![],_0x5f30d8;};}()),a2_0x3ff4a9=a2_0x1518f8(this,function(){const _0x46414c=a2_0x261d;return a2_0x3ff4a9[_0x46414c(0x139)]()['search'](_0x46414c(0x134))[_0x46414c(0x139)]()['constructor'](a2_0x3ff4a9)[_0x46414c(0x13f)](_0x46414c(0x134));});a2_0x3ff4a9();import a2_0x58a74b from'fs';function a2_0x261d(_0x4ff550,_0x544b1a){_0x4ff550=_0x4ff550-0x128;const _0x24d11f=a2_0x1077();let _0x3ff4a9=_0x24d11f[_0x4ff550];return _0x3ff4a9;}import a2_0x5578fc from'path';import a2_0x39cca1 from'fast-glob';import{getDataDir,M8_DOCS_DIR,EJS_DOCS_DIR}from'../constants.js';export async function searchM8Docs(_0x429f6f){const _0x1348cb=a2_0x5578fc['join'](getDataDir(),M8_DOCS_DIR);return await searchInDirectory(_0x1348cb,_0x429f6f);}export async function searchEjsDocs(_0xf487f2){const _0x544072=a2_0x261d,_0x2dd32f=a2_0x5578fc[_0x544072(0x137)](getDataDir(),EJS_DOCS_DIR);return await searchInDirectory(_0x2dd32f,_0xf487f2);}function a2_0x1077(){const _0x22055f=['toString','1655920VahsqX','3630wsOpXq','2374584LlKmFN','1720773rnsFou','utf-8','search','readFileSync','includes','1613730oPHpMD','error','16sYnaYf','8377UQocKM','11djvyJE','toLowerCase','sort','...','min','**/*.md','14diClPr','score','13IwYFHl','replace','7383228Pjqjwp','apply','existsSync','(((.+)+)+)+$','substring','220GzxmTw','join','5WSYIiw'];a2_0x1077=function(){return _0x22055f;};return a2_0x1077();}async function searchInDirectory(_0x1bdbef,_0x4a816d){const _0x577a87=a2_0x261d;if(!a2_0x58a74b[_0x577a87(0x133)](_0x1bdbef))return console[_0x577a87(0x143)]('Directory\x20not\x20found:\x20'+_0x1bdbef),[];const _0x588024=await a2_0x39cca1(_0x577a87(0x12c),{'cwd':_0x1bdbef,'absolute':!![]}),_0x424a69=[],_0x577b90=_0x4a816d[_0x577a87(0x128)]();for(const _0x3b32ff of _0x588024){const _0x8b09aa=a2_0x58a74b[_0x577a87(0x140)](_0x3b32ff,_0x577a87(0x13e)),_0x2fdadb=a2_0x5578fc['basename'](_0x3b32ff);let _0x41f52f=0x0;if(_0x2fdadb['toLowerCase']()[_0x577a87(0x141)](_0x577b90))_0x41f52f+=0xa;if(_0x8b09aa[_0x577a87(0x128)]()[_0x577a87(0x141)](_0x577b90))_0x41f52f+=0x1;if(_0x41f52f>0x0){const _0x2443ac=_0x8b09aa['toLowerCase']()['indexOf'](_0x577b90);let _0x40946e='';if(_0x2443ac>=0x0){const _0xd53ae0=Math['max'](0x0,_0x2443ac-0x32),_0x23857c=Math[_0x577a87(0x12b)](_0x8b09aa['length'],_0x2443ac+0x64);_0x40946e='...'+_0x8b09aa['substring'](_0xd53ae0,_0x23857c)[_0x577a87(0x130)](/\n/g,'\x20')+_0x577a87(0x12a);}else _0x40946e=_0x8b09aa[_0x577a87(0x135)](0x0,0x64)[_0x577a87(0x130)](/\n/g,'\x20')+'...';_0x424a69['push']({'file':_0x2fdadb,'path':_0x3b32ff,'preview':_0x40946e,'score':_0x41f52f});}}return _0x424a69[_0x577a87(0x129)]((_0x416af2,_0x356e87)=>(_0x356e87[_0x577a87(0x12e)]||0x0)-(_0x416af2[_0x577a87(0x12e)]||0x0))['slice'](0x0,0x5);}export function getFileContent(_0x39dd67){const _0x18279e=a2_0x261d;if(a2_0x58a74b[_0x18279e(0x133)](_0x39dd67))return a2_0x58a74b[_0x18279e(0x140)](_0x39dd67,_0x18279e(0x13e));return'';}
@@ -1 +1 @@
1
- const a3_0x385026=a3_0x43cf;(function(_0x52a665,_0x74fecb){const _0x227318=a3_0x43cf,_0x464f9c=_0x52a665();while(!![]){try{const _0x2ac706=-parseInt(_0x227318(0x102))/0x1+parseInt(_0x227318(0xf2))/0x2+-parseInt(_0x227318(0xfe))/0x3*(-parseInt(_0x227318(0xf1))/0x4)+-parseInt(_0x227318(0x105))/0x5+-parseInt(_0x227318(0xf0))/0x6+parseInt(_0x227318(0xec))/0x7+-parseInt(_0x227318(0x106))/0x8*(-parseInt(_0x227318(0xfb))/0x9);if(_0x2ac706===_0x74fecb)break;else _0x464f9c['push'](_0x464f9c['shift']());}catch(_0x44a6f9){_0x464f9c['push'](_0x464f9c['shift']());}}}(a3_0x586a,0xc2f26));const a3_0x691720=(function(){let _0x48f58a=!![];return function(_0x1e18bf,_0x6fc0f){const _0x46acdd=_0x48f58a?function(){if(_0x6fc0f){const _0xc49be6=_0x6fc0f['apply'](_0x1e18bf,arguments);return _0x6fc0f=null,_0xc49be6;}}:function(){};return _0x48f58a=![],_0x46acdd;};}()),a3_0x3fe268=a3_0x691720(this,function(){const _0x2a1dc8=a3_0x43cf;return a3_0x3fe268[_0x2a1dc8(0xf6)]()[_0x2a1dc8(0xf5)](_0x2a1dc8(0x104))[_0x2a1dc8(0xf6)]()[_0x2a1dc8(0xf9)](a3_0x3fe268)['search'](_0x2a1dc8(0x104));});a3_0x3fe268();'use strict';var __importDefault=this&&this[a3_0x385026(0xf4)]||function(_0x3e2481){return _0x3e2481&&_0x3e2481['__esModule']?_0x3e2481:{'default':_0x3e2481};};Object['defineProperty'](exports,a3_0x385026(0x101),{'value':!![]}),exports['getStandards']=getStandards;function a3_0x586a(){const _0x72cda8=['search','toString','keys','existsSync','constructor','default','18zqymlr','path','project-structure.md','151341uIwhsa','STANDARDS_DIR','toUpperCase','__esModule','1356145cQWbjl','getDataDir','(((.+)+)+)+$','6584250kpsCPB','6684776fXgJRs','\x0a\x0a#\x20','../constants.js','10590328THLfca','css-style.md','\x20Standards\x0a\x0a','join','4345314OLUmiq','36znkApN','1115190UcKogn','js-style.md','__importDefault'];a3_0x586a=function(){return _0x72cda8;};return a3_0x586a();}const fs_1=__importDefault(require('fs')),path_1=__importDefault(require(a3_0x385026(0xfc))),constants_js_1=require(a3_0x385026(0xeb));function getStandards(_0x5c4513){const _0x36a8d9=a3_0x385026,_0xfabe4b=path_1['default'][_0x36a8d9(0xef)]((0x0,constants_js_1[_0x36a8d9(0x103)])(),constants_js_1[_0x36a8d9(0xff)]),_0x172960={'js':_0x36a8d9(0xf3),'vue':'vue-style.md','css':_0x36a8d9(0xed),'project':_0x36a8d9(0xfd)};if(_0x5c4513==='all'){let _0x33b7ee='';for(const _0x451393 of Object[_0x36a8d9(0xf7)](_0x172960)){_0x33b7ee+=_0x36a8d9(0xea)+_0x451393[_0x36a8d9(0x100)]()+_0x36a8d9(0xee)+getFileContent(_0xfabe4b,_0x172960[_0x451393]);}return _0x33b7ee;}const _0x2ae834=_0x172960[_0x5c4513];if(_0x2ae834)return getFileContent(_0xfabe4b,_0x2ae834);return'Unknown\x20standard\x20type.\x20Available\x20types:\x20js,\x20vue,\x20css,\x20project,\x20all';}function a3_0x43cf(_0x1b3f7a,_0x1eb69f){_0x1b3f7a=_0x1b3f7a-0xea;const _0x39b1b8=a3_0x586a();let _0x3fe268=_0x39b1b8[_0x1b3f7a];return _0x3fe268;}function getFileContent(_0x3e0d04,_0x10d4d0){const _0x56d744=a3_0x385026,_0x28140f=path_1[_0x56d744(0xfa)][_0x56d744(0xef)](_0x3e0d04,_0x10d4d0);if(fs_1[_0x56d744(0xfa)][_0x56d744(0xf8)](_0x28140f))return fs_1[_0x56d744(0xfa)]['readFileSync'](_0x28140f,'utf-8');return'Standard\x20file\x20not\x20found:\x20'+_0x10d4d0;}
1
+ (function(_0x43ab1e,_0x4a9367){const _0x128a9e=a3_0x4b43,_0x5e5cac=_0x43ab1e();while(!![]){try{const _0x21fdf6=-parseInt(_0x128a9e(0x1a2))/0x1+-parseInt(_0x128a9e(0x1a1))/0x2*(-parseInt(_0x128a9e(0x193))/0x3)+parseInt(_0x128a9e(0x19a))/0x4*(-parseInt(_0x128a9e(0x190))/0x5)+-parseInt(_0x128a9e(0x18f))/0x6+parseInt(_0x128a9e(0x19c))/0x7*(-parseInt(_0x128a9e(0x195))/0x8)+-parseInt(_0x128a9e(0x18b))/0x9*(-parseInt(_0x128a9e(0x18c))/0xa)+parseInt(_0x128a9e(0x197))/0xb;if(_0x21fdf6===_0x4a9367)break;else _0x5e5cac['push'](_0x5e5cac['shift']());}catch(_0x25c534){_0x5e5cac['push'](_0x5e5cac['shift']());}}}(a3_0x4d5d,0x35d7c));function a3_0x4b43(_0x44b3b3,_0x1a8a16){_0x44b3b3=_0x44b3b3-0x189;const _0x38a767=a3_0x4d5d();let _0x179f16=_0x38a767[_0x44b3b3];return _0x179f16;}const a3_0x2217ed=(function(){let _0x1c67c2=!![];return function(_0x390805,_0x311de4){const _0x15738d=_0x1c67c2?function(){const _0x33e62b=a3_0x4b43;if(_0x311de4){const _0x2b2562=_0x311de4[_0x33e62b(0x1a0)](_0x390805,arguments);return _0x311de4=null,_0x2b2562;}}:function(){};return _0x1c67c2=![],_0x15738d;};}()),a3_0x179f16=a3_0x2217ed(this,function(){const _0x176aaa=a3_0x4b43;return a3_0x179f16['toString']()[_0x176aaa(0x18a)]('(((.+)+)+)+$')[_0x176aaa(0x18e)]()[_0x176aaa(0x189)](a3_0x179f16)['search'](_0x176aaa(0x191));});a3_0x179f16();import a3_0x38014a from'fs';function a3_0x4d5d(){const _0x468879=['4RpkcDb','readFileSync','1493016kmsBjg','join','toUpperCase','Unknown\x20standard\x20type.\x20Available\x20types:\x20js,\x20vue,\x20css,\x20project,\x20all','apply','2JhVGIe','384956uqfVCI','constructor','search','74583ubllJm','30DNcDHE','project-structure.md','toString','1356336HKaRyr','567900zPkyBy','(((.+)+)+)+$','\x0a\x0a#\x20','754878XWJWrl','js-style.md','8IrIaGT','existsSync','9701263gLCGVw','vue-style.md','css-style.md'];a3_0x4d5d=function(){return _0x468879;};return a3_0x4d5d();}import a3_0xa37e10 from'path';import{getDataDir,STANDARDS_DIR}from'../constants.js';export function getStandards(_0x13063b){const _0x24e1f3=a3_0x4b43,_0x273d2f=a3_0xa37e10[_0x24e1f3(0x19d)](getDataDir(),STANDARDS_DIR),_0x3706ac={'js':_0x24e1f3(0x194),'vue':_0x24e1f3(0x198),'css':_0x24e1f3(0x199),'project':_0x24e1f3(0x18d)};if(_0x13063b==='all'){let _0x43b804='';for(const _0x4764bd of Object['keys'](_0x3706ac)){_0x43b804+=_0x24e1f3(0x192)+_0x4764bd[_0x24e1f3(0x19e)]()+'\x20Standards\x0a\x0a'+getFileContent(_0x273d2f,_0x3706ac[_0x4764bd]);}return _0x43b804;}const _0x224bed=_0x3706ac[_0x13063b];if(_0x224bed)return getFileContent(_0x273d2f,_0x224bed);return _0x24e1f3(0x19f);}function getFileContent(_0x44e676,_0xd3004d){const _0x1329b0=a3_0x4b43,_0x533a38=a3_0xa37e10[_0x1329b0(0x19d)](_0x44e676,_0xd3004d);if(a3_0x38014a[_0x1329b0(0x196)](_0x533a38))return a3_0x38014a[_0x1329b0(0x19b)](_0x533a38,'utf-8');return'Standard\x20file\x20not\x20found:\x20'+_0xd3004d;}
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "m8-mcp-server",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
+ "type": "module",
4
5
  "description": "MCP server for M8 framework and EJS API documentation",
5
6
  "main": "dist/index.js",
6
7
  "bin": {
@@ -30,7 +31,6 @@
30
31
  "dependencies": {
31
32
  "@modelcontextprotocol/sdk": "^0.6.0",
32
33
  "fast-glob": "^3.3.2",
33
- "fuse.js": "^7.0.0",
34
34
  "gray-matter": "^4.0.3",
35
35
  "zod": "^3.23.8"
36
36
  },