@sparrowai/sparrow-mcp 1.1.3 → 1.1.5

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.
Files changed (47) hide show
  1. package/dist/scripts/mcp-test/mcp-client.js +1 -1
  2. package/dist/scripts/test-runner/check-failed-tests.js +1 -1
  3. package/dist/scripts/test-runner/compare-responses.js +1 -1
  4. package/dist/scripts/test-runner/standalone-test-fixed-header.js +1 -1
  5. package/dist/scripts/test-runner/standalone-test.js +1 -1
  6. package/dist/src/config/appConfig.js +1 -1
  7. package/dist/src/config/constants.js +1 -1
  8. package/dist/src/controllers/__tests__/analysis.controller.test.js +1 -1
  9. package/dist/src/controllers/__tests__/sast.controller.test.js +1 -1
  10. package/dist/src/controllers/__tests__/sca.controller.test.js +1 -1
  11. package/dist/src/controllers/__tests__/security.controller.test.js +1 -1
  12. package/dist/src/controllers/__tests__/system.controller.test.js +1 -1
  13. package/dist/src/controllers/analysis.controller.js +1 -1
  14. package/dist/src/controllers/sast.controller.js +1 -1
  15. package/dist/src/controllers/sca.controller.js +1 -1
  16. package/dist/src/controllers/security.controller.js +1 -1
  17. package/dist/src/controllers/system.controller.js +1 -1
  18. package/dist/src/schemas/tool.schemas.js +1 -1
  19. package/dist/src/server.js +1 -1
  20. package/dist/src/services/__tests__/checker.service.test.js +1 -1
  21. package/dist/src/services/__tests__/llm.service.test.js +1 -1
  22. package/dist/src/services/__tests__/s3.service.test.js +1 -1
  23. package/dist/src/services/__tests__/sparrow.service.test.js +1 -1
  24. package/dist/src/services/analysis.service.js +1 -1
  25. package/dist/src/services/checker.service.js +1 -1
  26. package/dist/src/services/llm/AnthropicProvider.js +1 -1
  27. package/dist/src/services/llm/BedrockProvider.js +1 -1
  28. package/dist/src/services/llm/GeminiProvider.js +1 -1
  29. package/dist/src/services/llm/LLMFactory.js +1 -1
  30. package/dist/src/services/llm/LLMProvider.js +1 -1
  31. package/dist/src/services/llm/OllamaProvider.js +1 -1
  32. package/dist/src/services/llm/OpenAIProvider.js +1 -1
  33. package/dist/src/services/llm.service.js +1 -1
  34. package/dist/src/services/s3.service.js +1 -1
  35. package/dist/src/services/sparrow.service.js +1 -1
  36. package/dist/src/types/types.js +1 -1
  37. package/dist/src/utils/__tests__/crypto.util.test.js +1 -1
  38. package/dist/src/utils/__tests__/diff.util.test.js +1 -1
  39. package/dist/src/utils/__tests__/fileManager.test.js +1 -1
  40. package/dist/src/utils/__tests__/fileManagerSecure.test.js +1 -1
  41. package/dist/src/utils/__tests__/logger.test.js +1 -1
  42. package/dist/src/utils/crypto.util.js +1 -1
  43. package/dist/src/utils/diff.util.js +1 -1
  44. package/dist/src/utils/fileManager.js +1 -1
  45. package/dist/src/utils/fileManagerSecure.js +1 -1
  46. package/dist/src/utils/logger.js +1 -1
  47. package/package.json +1 -1
@@ -1 +1 @@
1
- const a37_0x14dc58=a37_0x4d84;(function(_0x562fd3,_0x20cf59){const _0x4998f4=a37_0x4d84,_0x507b6c=_0x562fd3();while(!![]){try{const _0xaae7ef=parseInt(_0x4998f4(0xb1))/0x1+-parseInt(_0x4998f4(0xc4))/0x2+parseInt(_0x4998f4(0xa0))/0x3*(-parseInt(_0x4998f4(0xb3))/0x4)+parseInt(_0x4998f4(0xaf))/0x5+-parseInt(_0x4998f4(0xc5))/0x6*(parseInt(_0x4998f4(0xba))/0x7)+parseInt(_0x4998f4(0xc2))/0x8+-parseInt(_0x4998f4(0xb7))/0x9*(-parseInt(_0x4998f4(0x9b))/0xa);if(_0xaae7ef===_0x20cf59)break;else _0x507b6c['push'](_0x507b6c['shift']());}catch(_0x34141c){_0x507b6c['push'](_0x507b6c['shift']());}}}(a37_0x4b38,0xaf40a));const a37_0x4c270b=(function(){let _0x5aa566=!![];return function(_0xef56ed,_0x24ba49){const _0x19fb9e=_0x5aa566?function(){const _0x112c88=a37_0x4d84;if(_0x24ba49){const _0x4acadd=_0x24ba49[_0x112c88(0xab)](_0xef56ed,arguments);return _0x24ba49=null,_0x4acadd;}}:function(){};return _0x5aa566=![],_0x19fb9e;};}()),a37_0xc22e6d=a37_0x4c270b(this,function(){const _0x24f76e=a37_0x4d84;return a37_0xc22e6d[_0x24f76e(0xc7)]()['search'](_0x24f76e(0x9e)+'+$')['toString']()[_0x24f76e(0xa2)+'r'](a37_0xc22e6d)[_0x24f76e(0xae)](_0x24f76e(0x9e)+'+$');});a37_0xc22e6d();function a37_0x4d84(_0x447e16,_0x1f4098){_0x447e16=_0x447e16-0x9b;const _0x229054=a37_0x4b38();let _0xc22e6d=_0x229054[_0x447e16];return _0xc22e6d;}import{logger}from'./logger.js';export class DiffUtil{static[a37_0x14dc58(0x9c)+'ff'](_0x7efdd5,_0x13f252){const _0x5b273b=a37_0x14dc58,_0xcb9356={};_0xcb9356[_0x5b273b(0xa7)]=_0x5b273b(0xb4),_0xcb9356['hzQgq']=function(_0x27f74c,_0x45bb10){return _0x27f74c+_0x45bb10;};const _0x544e14=_0xcb9356;try{const _0x3e173c=_0x7efdd5['split']('\x0a'),_0x2b38f4=_0x13f252[_0x5b273b(0xa9)]('\x0a'),_0x237108=[];_0x237108[_0x5b273b(0xb5)](_0x5b273b(0xa5)),_0x237108['push'](_0x5b273b(0xc0)),_0x237108['push']('@@\x20-1,'+_0x3e173c[_0x5b273b(0xbd)]+_0x5b273b(0xad)+_0x2b38f4[_0x5b273b(0xbd)]+_0x544e14[_0x5b273b(0xa7)]);const _0x518be4=Math[_0x5b273b(0xbb)](_0x3e173c[_0x5b273b(0xbd)],_0x2b38f4['length']);for(let _0x5791b8=0x0;_0x5791b8<_0x518be4;_0x5791b8++){const _0x63feb6=_0x3e173c[_0x5791b8]||'',_0x1c10b7=_0x2b38f4[_0x5791b8]||'';_0x63feb6===_0x1c10b7?_0x237108[_0x5b273b(0xb5)]('\x20'+_0x63feb6):(_0x63feb6&&_0x237108[_0x5b273b(0xb5)](_0x544e14[_0x5b273b(0xb0)]('-',_0x63feb6)),_0x1c10b7&&_0x237108[_0x5b273b(0xb5)]('+'+_0x1c10b7));}return logger[_0x5b273b(0x9f)]('코드\x20diff\x20생성'+_0x5b273b(0xc1)),_0x237108[_0x5b273b(0xb8)]('\x0a');}catch(_0x47e32b){return logger['error'](_0x5b273b(0xa8)+':',_0x47e32b),_0x5b273b(0xc6)+_0x5b273b(0x9d);}}static[a37_0x14dc58(0xa3)+'ifiedDiff'](_0x1eff08,_0x30cb24,_0x23edd1=a37_0x14dc58(0xb9)){const _0x2d85ea=a37_0x14dc58;try{const _0x5a8c93=_0x1eff08['split']('\x0a'),_0x1d2fcc=_0x30cb24[_0x2d85ea(0xa9)]('\x0a'),_0x26e04f=[];_0x26e04f[_0x2d85ea(0xb5)]('---\x20a/'+_0x23edd1),_0x26e04f[_0x2d85ea(0xb5)](_0x2d85ea(0xbf)+_0x23edd1);const _0x81eb1f=this[_0x2d85ea(0xc8)+'ks'](_0x5a8c93,_0x1d2fcc);for(const _0x356333 of _0x81eb1f){_0x26e04f['push'](_0x2d85ea(0xaa)+_0x356333[_0x2d85ea(0xb2)]+','+_0x356333['oldCount']+'\x20+'+_0x356333[_0x2d85ea(0xb6)]+','+_0x356333[_0x2d85ea(0xca)]+_0x2d85ea(0xb4));for(const _0x2051f7 of _0x356333[_0x2d85ea(0xc3)]){_0x26e04f['push'](_0x2051f7);}}return logger[_0x2d85ea(0x9f)](_0x2d85ea(0xa1)+_0x2d85ea(0xbc)),_0x26e04f['join']('\x0a');}catch(_0x2057cf){return logger[_0x2d85ea(0xac)](_0x2d85ea(0xa1)+_0x2d85ea(0xa6),_0x2057cf),_0x2d85ea(0xa1)+_0x2d85ea(0xa4)+_0x2d85ea(0xbe);}}static['computeHun'+'ks'](_0x276917,_0x72ce72){const _0x5268ea=a37_0x14dc58,_0x37228d={};_0x37228d[_0x5268ea(0xc9)]=function(_0x3aaf2e,_0x5577f9){return _0x3aaf2e===_0x5577f9;},_0x37228d['maUlC']=function(_0x245981,_0x37ca86){return _0x245981+_0x37ca86;};const _0x5b85e9=_0x37228d,_0x42b8ca=[],_0x7a18b5=Math[_0x5268ea(0xbb)](_0x276917[_0x5268ea(0xbd)],_0x72ce72[_0x5268ea(0xbd)]),_0x3e4a82=[];let _0x2618db=0x1,_0x486fda=0x1,_0x541435=0x0,_0x291d18=0x0;for(let _0x3486b3=0x0;_0x3486b3<_0x7a18b5;_0x3486b3++){const _0x596686=_0x276917[_0x3486b3]||'',_0x241e0c=_0x72ce72[_0x3486b3]||'';if(_0x5b85e9[_0x5268ea(0xc9)](_0x596686,_0x241e0c)){if(_0x541435>0x0||_0x291d18>0x0){const _0x5e529e={};_0x5e529e[_0x5268ea(0xb2)]=_0x2618db,_0x5e529e['oldCount']=_0x541435,_0x5e529e[_0x5268ea(0xb6)]=_0x486fda,_0x5e529e[_0x5268ea(0xca)]=_0x291d18,_0x5e529e[_0x5268ea(0xc3)]=[..._0x3e4a82],_0x42b8ca[_0x5268ea(0xb5)](_0x5e529e),_0x3e4a82['length']=0x0,_0x541435=0x0,_0x291d18=0x0;}_0x2618db=_0x5b85e9['maUlC'](_0x3486b3,0x2),_0x486fda=_0x3486b3+0x2;}else _0x541435===0x0&&_0x291d18===0x0&&(_0x2618db=_0x3486b3+0x1,_0x486fda=_0x3486b3+0x1),_0x596686&&(_0x3e4a82['push']('-'+_0x596686),_0x541435++),_0x241e0c&&(_0x3e4a82['push']('+'+_0x241e0c),_0x291d18++);}if(_0x541435>0x0||_0x291d18>0x0){const _0x48551d={};_0x48551d[_0x5268ea(0xb2)]=_0x2618db,_0x48551d[_0x5268ea(0xcb)]=_0x541435,_0x48551d[_0x5268ea(0xb6)]=_0x486fda,_0x48551d[_0x5268ea(0xca)]=_0x291d18,_0x48551d['lines']=[..._0x3e4a82],_0x42b8ca['push'](_0x48551d);}return _0x42b8ca;}}function a37_0x4b38(){const _0x1af11c=['push','newStart','8757rDymJG','join','code.java','39081bzbDgO','max','ff\x20생성\x20완료','length','습니다.','+++\x20b/','+++\x20안전한\x20코드','\x20완료','6222280rlOyul','lines','2523160pGnaHG','402uFYPMn','Diff\x20생성에\x20실','toString','computeHun','vluMg','newCount','oldCount','5410UcaEnC','generateDi','패했습니다.','(((.+)+)+)','info','33DAceLE','Unified\x20di','constructo','generateUn','ff\x20생성에\x20실패했','---\x20원본\x20코드','ff\x20생성\x20실패:','diHor','Diff\x20생성\x20실패','split','@@\x20-','apply','error','\x20+1,','search','5847985BcHhmP','hzQgq','361291Wwsjpl','oldStart','175124HVVhRW','\x20@@'];a37_0x4b38=function(){return _0x1af11c;};return a37_0x4b38();}
1
+ const a37_0x2df015=a37_0x23d9;(function(_0x549328,_0x8f43dc){const _0x4c2a1e=a37_0x23d9,_0x86426a=_0x549328();while(!![]){try{const _0x37003a=parseInt(_0x4c2a1e(0x1f4))/0x1+-parseInt(_0x4c2a1e(0x200))/0x2*(parseInt(_0x4c2a1e(0x201))/0x3)+-parseInt(_0x4c2a1e(0x1df))/0x4*(-parseInt(_0x4c2a1e(0x1f8))/0x5)+parseInt(_0x4c2a1e(0x1f9))/0x6*(parseInt(_0x4c2a1e(0x1fe))/0x7)+parseInt(_0x4c2a1e(0x1f5))/0x8+-parseInt(_0x4c2a1e(0x1f3))/0x9*(-parseInt(_0x4c2a1e(0x206))/0xa)+-parseInt(_0x4c2a1e(0x1ef))/0xb*(parseInt(_0x4c2a1e(0x203))/0xc);if(_0x37003a===_0x8f43dc)break;else _0x86426a['push'](_0x86426a['shift']());}catch(_0x76d713){_0x86426a['push'](_0x86426a['shift']());}}}(a37_0x26e0,0x66e8b));const a37_0x744585=(function(){let _0x23701c=!![];return function(_0x3b67df,_0x50b7b2){const _0x8eb8e8=_0x23701c?function(){if(_0x50b7b2){const _0x22b337=_0x50b7b2['apply'](_0x3b67df,arguments);return _0x50b7b2=null,_0x22b337;}}:function(){};return _0x23701c=![],_0x8eb8e8;};}()),a37_0x279fa1=a37_0x744585(this,function(){const _0xe9388d=a37_0x23d9;return a37_0x279fa1[_0xe9388d(0x1f2)]()[_0xe9388d(0x1fc)](_0xe9388d(0x1e3)+'+$')['toString']()[_0xe9388d(0x1dd)+'r'](a37_0x279fa1)[_0xe9388d(0x1fc)](_0xe9388d(0x1e3)+'+$');});function a37_0x23d9(_0x17b224,_0x294195){_0x17b224=_0x17b224-0x1d8;const _0x2e3126=a37_0x26e0();let _0x279fa1=_0x2e3126[_0x17b224];return _0x279fa1;}a37_0x279fa1();import{logger}from'./logger.js';export class DiffUtil{static['generateDi'+'ff'](_0x14189f,_0x270d39){const _0x4e3fc1=a37_0x23d9,_0x258916={};_0x258916[_0x4e3fc1(0x1fb)]=function(_0x2dfeae,_0x244532){return _0x2dfeae+_0x244532;};const _0x5bb1e8=_0x258916;try{const _0x3fa00b=_0x14189f[_0x4e3fc1(0x1e8)]('\x0a'),_0x1141d7=_0x270d39[_0x4e3fc1(0x1e8)]('\x0a'),_0x3f22c6=[];_0x3f22c6['push'](_0x4e3fc1(0x1e9)),_0x3f22c6[_0x4e3fc1(0x1e7)](_0x4e3fc1(0x205)),_0x3f22c6[_0x4e3fc1(0x1e7)]('@@\x20-1,'+_0x3fa00b['length']+_0x4e3fc1(0x1d8)+_0x1141d7[_0x4e3fc1(0x1e5)]+_0x4e3fc1(0x1ee));const _0x36bb69=Math[_0x4e3fc1(0x1ec)](_0x3fa00b[_0x4e3fc1(0x1e5)],_0x1141d7[_0x4e3fc1(0x1e5)]);for(let _0x35bfd5=0x0;_0x35bfd5<_0x36bb69;_0x35bfd5++){const _0x34f1f2=_0x3fa00b[_0x35bfd5]||'',_0x4b3f4f=_0x1141d7[_0x35bfd5]||'';_0x34f1f2===_0x4b3f4f?_0x3f22c6[_0x4e3fc1(0x1e7)](_0x5bb1e8['xhglb']('\x20',_0x34f1f2)):(_0x34f1f2&&_0x3f22c6[_0x4e3fc1(0x1e7)]('-'+_0x34f1f2),_0x4b3f4f&&_0x3f22c6[_0x4e3fc1(0x1e7)]('+'+_0x4b3f4f));}return logger[_0x4e3fc1(0x1fd)](_0x4e3fc1(0x1da)+'\x20완료'),_0x3f22c6[_0x4e3fc1(0x1e2)]('\x0a');}catch(_0x51459b){return logger['error'](_0x4e3fc1(0x208)+':',_0x51459b),'Diff\x20생성에\x20실'+_0x4e3fc1(0x1f0);}}static[a37_0x2df015(0x1de)+a37_0x2df015(0x1dc)](_0x273dfd,_0x457774,_0x258d70=a37_0x2df015(0x1ed)){const _0x47d5ba=a37_0x2df015;try{const _0x296c1e=_0x273dfd['split']('\x0a'),_0x547e66=_0x457774[_0x47d5ba(0x1e8)]('\x0a'),_0x37ec8d=[];_0x37ec8d['push']('---\x20a/'+_0x258d70),_0x37ec8d[_0x47d5ba(0x1e7)](_0x47d5ba(0x1e0)+_0x258d70);const _0x35cac9=this[_0x47d5ba(0x1eb)+'ks'](_0x296c1e,_0x547e66);for(const _0x313296 of _0x35cac9){_0x37ec8d[_0x47d5ba(0x1e7)](_0x47d5ba(0x1f6)+_0x313296[_0x47d5ba(0x1fa)]+','+_0x313296['oldCount']+'\x20+'+_0x313296['newStart']+','+_0x313296[_0x47d5ba(0x1e6)]+'\x20@@');for(const _0x89559d of _0x313296[_0x47d5ba(0x1ea)]){_0x37ec8d['push'](_0x89559d);}}return logger[_0x47d5ba(0x1fd)](_0x47d5ba(0x207)+_0x47d5ba(0x1f7)),_0x37ec8d['join']('\x0a');}catch(_0x55908b){return logger[_0x47d5ba(0x1d9)](_0x47d5ba(0x207)+_0x47d5ba(0x1e4),_0x55908b),'Unified\x20di'+_0x47d5ba(0x202)+_0x47d5ba(0x1db);}}static[a37_0x2df015(0x1eb)+'ks'](_0x3b5a5f,_0x549d6d){const _0x4fbdb2=a37_0x2df015,_0x4b7fc5={};_0x4b7fc5['imeVQ']=function(_0x4ef150,_0xbc6935){return _0x4ef150+_0xbc6935;},_0x4b7fc5[_0x4fbdb2(0x1f1)]=function(_0x3d38fb,_0x13dbea){return _0x3d38fb>_0x13dbea;};const _0x7040f3=_0x4b7fc5,_0x4c18a2=[],_0x39a63a=Math[_0x4fbdb2(0x1ec)](_0x3b5a5f[_0x4fbdb2(0x1e5)],_0x549d6d[_0x4fbdb2(0x1e5)]),_0x541b6d=[];let _0x465daa=0x1,_0x31489=0x1,_0x40db52=0x0,_0x3d3ca4=0x0;for(let _0x27ba74=0x0;_0x27ba74<_0x39a63a;_0x27ba74++){const _0x21ab3b=_0x3b5a5f[_0x27ba74]||'',_0xdc31b7=_0x549d6d[_0x27ba74]||'';if(_0x21ab3b===_0xdc31b7){if('qiOKK'===_0x4fbdb2(0x204))_0x4e3422===0x0&&_0x155ff5===0x0&&(_0x3fe0f3=_0x33efd6+0x1,_0x1807e4=_0x28ff69+0x1),_0x4a4bf7&&(_0x3e7228[_0x4fbdb2(0x1e7)]('-'+_0x1f34f9),_0x22b678++),_0x2ee134&&(_0x36e516['push'](_0x7040f3['imeVQ']('+',_0x2dddee)),_0x50e38e++);else{if(_0x7040f3[_0x4fbdb2(0x1f1)](_0x40db52,0x0)||_0x3d3ca4>0x0){const _0x55487b={};_0x55487b[_0x4fbdb2(0x1fa)]=_0x465daa,_0x55487b[_0x4fbdb2(0x1e1)]=_0x40db52,_0x55487b[_0x4fbdb2(0x1ff)]=_0x31489,_0x55487b[_0x4fbdb2(0x1e6)]=_0x3d3ca4,_0x55487b[_0x4fbdb2(0x1ea)]=[..._0x541b6d],_0x4c18a2[_0x4fbdb2(0x1e7)](_0x55487b),_0x541b6d[_0x4fbdb2(0x1e5)]=0x0,_0x40db52=0x0,_0x3d3ca4=0x0;}_0x465daa=_0x27ba74+0x2,_0x31489=_0x27ba74+0x2;}}else _0x40db52===0x0&&_0x3d3ca4===0x0&&(_0x465daa=_0x27ba74+0x1,_0x31489=_0x27ba74+0x1),_0x21ab3b&&(_0x541b6d[_0x4fbdb2(0x1e7)]('-'+_0x21ab3b),_0x40db52++),_0xdc31b7&&(_0x541b6d[_0x4fbdb2(0x1e7)]('+'+_0xdc31b7),_0x3d3ca4++);}if(_0x40db52>0x0||_0x3d3ca4>0x0){const _0x5c4ca6={};_0x5c4ca6['oldStart']=_0x465daa,_0x5c4ca6[_0x4fbdb2(0x1e1)]=_0x40db52,_0x5c4ca6[_0x4fbdb2(0x1ff)]=_0x31489,_0x5c4ca6['newCount']=_0x3d3ca4,_0x5c4ca6['lines']=[..._0x541b6d],_0x4c18a2[_0x4fbdb2(0x1e7)](_0x5c4ca6);}return _0x4c18a2;}}function a37_0x26e0(){const _0x2651e9=['join','(((.+)+)+)','ff\x20생성\x20실패:','length','newCount','push','split','---\x20원본\x20코드','lines','computeHun','max','code.java','\x20@@','12287pOeWwC','패했습니다.','ETOVg','toString','1315782hTDVOr','92688uwbMgd','5483648IxtgCf','@@\x20-','ff\x20생성\x20완료','5XlmWGt','1648446rAEMSq','oldStart','xhglb','search','info','7OEhxtl','newStart','1672xPlLdZ','2337IwvUgx','ff\x20생성에\x20실패했','5316ILOVaQ','TgAPK','+++\x20안전한\x20코드','10Ziblaw','Unified\x20di','Diff\x20생성\x20실패','\x20+1,','error','코드\x20diff\x20생성','습니다.','ifiedDiff','constructo','generateUn','1474028SyGtXC','+++\x20b/','oldCount'];a37_0x26e0=function(){return _0x2651e9;};return a37_0x26e0();}
@@ -1 +1 @@
1
- const a38_0x29a468=a38_0x15ac;function a38_0x15ac(_0x5d540c,_0x1ded63){_0x5d540c=_0x5d540c-0x98;const _0x38f3a0=a38_0x495b();let _0x57b81a=_0x38f3a0[_0x5d540c];return _0x57b81a;}(function(_0x7a6450,_0x4ef892){const _0x9b2360=a38_0x15ac,_0x5d6945=_0x7a6450();while(!![]){try{const _0xdb5a48=parseInt(_0x9b2360(0xb0))/0x1+-parseInt(_0x9b2360(0x9b))/0x2*(parseInt(_0x9b2360(0xb1))/0x3)+-parseInt(_0x9b2360(0xb2))/0x4*(parseInt(_0x9b2360(0xa6))/0x5)+-parseInt(_0x9b2360(0xa8))/0x6*(parseInt(_0x9b2360(0xab))/0x7)+parseInt(_0x9b2360(0x98))/0x8*(-parseInt(_0x9b2360(0xa1))/0x9)+parseInt(_0x9b2360(0xa9))/0xa*(-parseInt(_0x9b2360(0xa2))/0xb)+-parseInt(_0x9b2360(0xa5))/0xc*(-parseInt(_0x9b2360(0x9c))/0xd);if(_0xdb5a48===_0x4ef892)break;else _0x5d6945['push'](_0x5d6945['shift']());}catch(_0x431026){_0x5d6945['push'](_0x5d6945['shift']());}}}(a38_0x495b,0x8741f));const a38_0x3b6098=(function(){let _0x396940=!![];return function(_0x2e8e96,_0x5ab85b){const _0xb80011=_0x396940?function(){if(_0x5ab85b){const _0x4f1c58=_0x5ab85b['apply'](_0x2e8e96,arguments);return _0x5ab85b=null,_0x4f1c58;}}:function(){};return _0x396940=![],_0xb80011;};}()),a38_0x57b81a=a38_0x3b6098(this,function(){const _0x186694=a38_0x15ac,_0x4f1cb8={};_0x4f1cb8['WCWST']=_0x186694(0xa4)+'+$';const _0x1d1c35=_0x4f1cb8;return a38_0x57b81a[_0x186694(0xa3)]()[_0x186694(0x99)](_0x1d1c35[_0x186694(0xae)])[_0x186694(0xa3)]()[_0x186694(0x9f)+'r'](a38_0x57b81a)[_0x186694(0x99)]('(((.+)+)+)'+'+$');});function a38_0x495b(){const _0xec8f01=['baseDir','constructo','writeFileS','485775WYIGRr','44GveauT','toString','(((.+)+)+)','1866876BVhLsl','8915hXkpgM','deleteFile','6zleMoE','568860duGCci','utf-8','3210130sAHOIl','readFileSy','readFile','WCWST','ync','878393KsSoVU','1857sbNVWa','628IoKkRD','40CDhbfg','search','unlinkSync','1076tuzFjA','104iSkuRQ','join'];a38_0x495b=function(){return _0xec8f01;};return a38_0x495b();}a38_0x57b81a();import*as a38_0xa6bcf2 from'fs';import*as a38_0x5b8513 from'path';export class FileManager{['baseDir'];constructor(_0x24d5cb){const _0x5d88a7=a38_0x15ac;this[_0x5d88a7(0x9e)]=_0x24d5cb;}[a38_0x29a468(0xad)](_0x45d3c6){const _0x140667=a38_0x29a468,_0x12840e=a38_0x5b8513[_0x140667(0x9d)](this[_0x140667(0x9e)],_0x45d3c6);return a38_0xa6bcf2[_0x140667(0xac)+'nc'](_0x12840e,_0x140667(0xaa));}['writeFile'](_0x1c686b,_0x3a1f1c){const _0x5640c6=a38_0x29a468,_0x878d4a=a38_0x5b8513[_0x5640c6(0x9d)](this[_0x5640c6(0x9e)],_0x1c686b);a38_0xa6bcf2[_0x5640c6(0xa0)+_0x5640c6(0xaf)](_0x878d4a,_0x3a1f1c,_0x5640c6(0xaa));}[a38_0x29a468(0xa7)](_0x2a0aaa){const _0x2effeb=a38_0x29a468,_0x4f76f2=a38_0x5b8513[_0x2effeb(0x9d)](this['baseDir'],_0x2a0aaa);a38_0xa6bcf2['existsSync'](_0x4f76f2)&&a38_0xa6bcf2[_0x2effeb(0x9a)](_0x4f76f2);}}
1
+ const a38_0x69ad52=a38_0x2095;(function(_0x1a0a49,_0x32641c){const _0x3054b2=a38_0x2095,_0xc940a3=_0x1a0a49();while(!![]){try{const _0x9de086=-parseInt(_0x3054b2(0x11b))/0x1+-parseInt(_0x3054b2(0x11c))/0x2+parseInt(_0x3054b2(0x125))/0x3+-parseInt(_0x3054b2(0x115))/0x4+-parseInt(_0x3054b2(0x129))/0x5*(-parseInt(_0x3054b2(0x123))/0x6)+-parseInt(_0x3054b2(0x119))/0x7+parseInt(_0x3054b2(0x118))/0x8;if(_0x9de086===_0x32641c)break;else _0xc940a3['push'](_0xc940a3['shift']());}catch(_0x1ad00d){_0xc940a3['push'](_0xc940a3['shift']());}}}(a38_0x9c7f,0x33caf));const a38_0x308f23=(function(){let _0x215452=!![];return function(_0x10c60a,_0x4c81ca){const _0x1884a3=_0x215452?function(){const _0x20d54f=a38_0x2095;if(_0x4c81ca){const _0x5ee891=_0x4c81ca[_0x20d54f(0x11f)](_0x10c60a,arguments);return _0x4c81ca=null,_0x5ee891;}}:function(){};return _0x215452=![],_0x1884a3;};}()),a38_0x78a461=a38_0x308f23(this,function(){const _0x9bc834=a38_0x2095,_0x55207c={};_0x55207c[_0x9bc834(0x11e)]=_0x9bc834(0x124)+'+$';const _0x16fd74=_0x55207c;return a38_0x78a461[_0x9bc834(0x121)]()['search'](_0x16fd74['xZRSs'])[_0x9bc834(0x121)]()[_0x9bc834(0x11a)+'r'](a38_0x78a461)[_0x9bc834(0x127)](_0x9bc834(0x124)+'+$');});a38_0x78a461();import*as a38_0x550df6 from'fs';import*as a38_0x354ab1 from'path';function a38_0x2095(_0x1adfc1,_0x4ccda6){_0x1adfc1=_0x1adfc1-0x115;const _0x3c8453=a38_0x9c7f();let _0x78a461=_0x3c8453[_0x1adfc1];return _0x78a461;}function a38_0x9c7f(){const _0x3a89cd=['search','utf-8','27250XsbxnV','readFileSy','existsSync','1318044CVcLZb','readFile','baseDir','9627712QQSGgI','2552389YFDhPt','constructo','185665WvWVQL','767286nmRJwd','writeFile','xZRSs','apply','unlinkSync','toString','join','114YIfUQq','(((.+)+)+)','505725RKcbpT','ync'];a38_0x9c7f=function(){return _0x3a89cd;};return a38_0x9c7f();}export class FileManager{[a38_0x69ad52(0x117)];constructor(_0x2994ef){const _0x38b1cc=a38_0x69ad52;this[_0x38b1cc(0x117)]=_0x2994ef;}[a38_0x69ad52(0x116)](_0x5dcf42){const _0x27c75c=a38_0x69ad52,_0x1e1bec=a38_0x354ab1[_0x27c75c(0x122)](this[_0x27c75c(0x117)],_0x5dcf42);return a38_0x550df6[_0x27c75c(0x12a)+'nc'](_0x1e1bec,_0x27c75c(0x128));}[a38_0x69ad52(0x11d)](_0xcf95,_0x20c0c6){const _0xa61e27=a38_0x69ad52,_0x2d9f22=a38_0x354ab1[_0xa61e27(0x122)](this[_0xa61e27(0x117)],_0xcf95);a38_0x550df6['writeFileS'+_0xa61e27(0x126)](_0x2d9f22,_0x20c0c6,_0xa61e27(0x128));}['deleteFile'](_0x506055){const _0x2d4d8=a38_0x69ad52,_0xd0e10e=a38_0x354ab1[_0x2d4d8(0x122)](this[_0x2d4d8(0x117)],_0x506055);a38_0x550df6[_0x2d4d8(0x12b)](_0xd0e10e)&&a38_0x550df6[_0x2d4d8(0x120)](_0xd0e10e);}}
@@ -1 +1 @@
1
- function a39_0x1a80(){const _0x288055=['4ljTXqb','10vFsfaz','ync','ied:\x20Inval','baseDir','toString','utf-8','search','readFileSy','id\x20file\x20pa','unlinkSync','8zNmatV','637773QKnhIP','writeFile','924595WVqaqO','782658clIUzm','existsSync','(((.+)+)+)','5544242wivMgH','1445277jZZEPS','constructo','apply','resolvePat','1277184LnGSNl','KlTLq','3259722DpmPNq','readFile','5icYKHv','resolve','join','writeFileS'];a39_0x1a80=function(){return _0x288055;};return a39_0x1a80();}const a39_0x388093=a39_0x36fe;(function(_0x193aea,_0x4e274c){const _0x2646c6=a39_0x36fe,_0x242cec=_0x193aea();while(!![]){try{const _0x509e94=-parseInt(_0x2646c6(0x1a5))/0x1+parseInt(_0x2646c6(0x1b0))/0x2+parseInt(_0x2646c6(0x1ac))/0x3*(-parseInt(_0x2646c6(0x1b8))/0x4)+-parseInt(_0x2646c6(0x1b4))/0x5*(-parseInt(_0x2646c6(0x1b2))/0x6)+parseInt(_0x2646c6(0x1a7))/0x7*(-parseInt(_0x2646c6(0x1a4))/0x8)+-parseInt(_0x2646c6(0x1a8))/0x9*(parseInt(_0x2646c6(0x1b9))/0xa)+parseInt(_0x2646c6(0x1ab))/0xb;if(_0x509e94===_0x4e274c)break;else _0x242cec['push'](_0x242cec['shift']());}catch(_0x5ad9b3){_0x242cec['push'](_0x242cec['shift']());}}}(a39_0x1a80,0x54cba));const a39_0x2d87f5=(function(){let _0x2b0247=!![];return function(_0x48f573,_0x6a6600){const _0x5b290d=_0x2b0247?function(){const _0x5218fc=a39_0x36fe;if(_0x6a6600){const _0x53a71e=_0x6a6600[_0x5218fc(0x1ae)](_0x48f573,arguments);return _0x6a6600=null,_0x53a71e;}}:function(){};return _0x2b0247=![],_0x5b290d;};}()),a39_0x2f4e82=a39_0x2d87f5(this,function(){const _0x438f01=a39_0x36fe;return a39_0x2f4e82[_0x438f01(0x19e)]()[_0x438f01(0x1a0)](_0x438f01(0x1aa)+'+$')[_0x438f01(0x19e)]()[_0x438f01(0x1ad)+'r'](a39_0x2f4e82)[_0x438f01(0x1a0)](_0x438f01(0x1aa)+'+$');});a39_0x2f4e82();function a39_0x36fe(_0x3f8114,_0x34529f){_0x3f8114=_0x3f8114-0x19b;const _0x1957fe=a39_0x1a80();let _0x2f4e82=_0x1957fe[_0x3f8114];return _0x2f4e82;}import*as a39_0x4be0dd from'fs';import*as a39_0xa39876 from'path';export class FileManager{[a39_0x388093(0x19d)];constructor(_0x26f41a){const _0x1cf974=a39_0x388093;this[_0x1cf974(0x19d)]=_0x26f41a;}[a39_0x388093(0x1af)+'h'](_0x3b8594){const _0x587de7=a39_0x388093,_0x936b2f=a39_0xa39876[_0x587de7(0x1b6)](this[_0x587de7(0x19d)],_0x3b8594);if(!_0x936b2f['startsWith'](a39_0xa39876[_0x587de7(0x1b5)](this['baseDir'])))throw new Error('Access\x20den'+_0x587de7(0x19c)+_0x587de7(0x1a2)+'th.');return _0x936b2f;}[a39_0x388093(0x1b3)](_0x10a1a5){const _0xd96573=a39_0x388093,_0x475747={};_0x475747[_0xd96573(0x1b1)]=_0xd96573(0x19f);const _0x19b239=_0x475747,_0x4616b3=this[_0xd96573(0x1af)+'h'](_0x10a1a5);return a39_0x4be0dd[_0xd96573(0x1a1)+'nc'](_0x4616b3,_0x19b239[_0xd96573(0x1b1)]);}[a39_0x388093(0x1a6)](_0x3a9a8b,_0xeef06e){const _0x5d4b01=a39_0x388093,_0x1491de=this[_0x5d4b01(0x1af)+'h'](_0x3a9a8b);a39_0x4be0dd[_0x5d4b01(0x1b7)+_0x5d4b01(0x19b)](_0x1491de,_0xeef06e,_0x5d4b01(0x19f));}['deleteFile'](_0x42411c){const _0x127bd4=a39_0x388093,_0x36056f=this[_0x127bd4(0x1af)+'h'](_0x42411c);a39_0x4be0dd[_0x127bd4(0x1a9)](_0x36056f)&&a39_0x4be0dd[_0x127bd4(0x1a3)](_0x36056f);}}
1
+ const a39_0xb0ca0e=a39_0x1933;(function(_0x3c8078,_0x42ec6a){const _0x4b38b5=a39_0x1933,_0x45a471=_0x3c8078();while(!![]){try{const _0x2abca3=-parseInt(_0x4b38b5(0x13d))/0x1*(parseInt(_0x4b38b5(0x151))/0x2)+-parseInt(_0x4b38b5(0x14d))/0x3+-parseInt(_0x4b38b5(0x154))/0x4*(-parseInt(_0x4b38b5(0x139))/0x5)+parseInt(_0x4b38b5(0x156))/0x6+-parseInt(_0x4b38b5(0x157))/0x7*(-parseInt(_0x4b38b5(0x149))/0x8)+-parseInt(_0x4b38b5(0x143))/0x9+parseInt(_0x4b38b5(0x159))/0xa*(parseInt(_0x4b38b5(0x147))/0xb);if(_0x2abca3===_0x42ec6a)break;else _0x45a471['push'](_0x45a471['shift']());}catch(_0x4be44f){_0x45a471['push'](_0x45a471['shift']());}}}(a39_0x5a4e,0x3e4e7));function a39_0x1933(_0x5d13bc,_0x3c4c07){_0x5d13bc=_0x5d13bc-0x139;const _0x2f2239=a39_0x5a4e();let _0x16e552=_0x2f2239[_0x5d13bc];return _0x16e552;}const a39_0x473e73=(function(){let _0x45c893=!![];return function(_0x41d09,_0x2cfa33){const _0x34c6bc=_0x45c893?function(){const _0x212ee4=a39_0x1933;if(_0x2cfa33){const _0x5dbfa0=_0x2cfa33[_0x212ee4(0x13c)](_0x41d09,arguments);return _0x2cfa33=null,_0x5dbfa0;}}:function(){};return _0x45c893=![],_0x34c6bc;};}()),a39_0x16e552=a39_0x473e73(this,function(){const _0x5b2524=a39_0x1933;return a39_0x16e552[_0x5b2524(0x146)]()[_0x5b2524(0x140)](_0x5b2524(0x14b)+'+$')[_0x5b2524(0x146)]()['constructo'+'r'](a39_0x16e552)[_0x5b2524(0x140)](_0x5b2524(0x14b)+'+$');});function a39_0x5a4e(){const _0x30c7ad=['unlinkSync','ied:\x20Inval','deleteFile','52586dWIXqE','writeFile','ync','1096ozxdnY','join','971442wepLwN','133lDezTw','startsWith','93580XvWaij','7280oXLauk','readFile','resolve','apply','17DNgfGU','resolvePat','readFileSy','search','baseDir','id\x20file\x20pa','2373849xBxFwq','th.','Access\x20den','toString','902QitcHq','writeFileS','4112QVeRMD','ctyTp','(((.+)+)+)','utf-8','1116072TNZnKe'];a39_0x5a4e=function(){return _0x30c7ad;};return a39_0x5a4e();}a39_0x16e552();import*as a39_0x149b39 from'fs';import*as a39_0x3a1803 from'path';export class FileManager{['baseDir'];constructor(_0x1469b0){const _0x14b809=a39_0x1933;this[_0x14b809(0x141)]=_0x1469b0;}[a39_0xb0ca0e(0x13e)+'h'](_0xf1d52d){const _0x48d9d1=a39_0xb0ca0e,_0x268464=a39_0x3a1803[_0x48d9d1(0x155)](this[_0x48d9d1(0x141)],_0xf1d52d);if(!_0x268464[_0x48d9d1(0x158)](a39_0x3a1803[_0x48d9d1(0x13b)](this['baseDir'])))throw new Error(_0x48d9d1(0x145)+_0x48d9d1(0x14f)+_0x48d9d1(0x142)+_0x48d9d1(0x144));return _0x268464;}[a39_0xb0ca0e(0x13a)](_0x1a0e37){const _0x55aa4a=a39_0xb0ca0e,_0x28974e=this[_0x55aa4a(0x13e)+'h'](_0x1a0e37);return a39_0x149b39[_0x55aa4a(0x13f)+'nc'](_0x28974e,_0x55aa4a(0x14c));}[a39_0xb0ca0e(0x152)](_0x16bd29,_0x21b77f){const _0x2fd4fa=a39_0xb0ca0e,_0x3db694={};_0x3db694[_0x2fd4fa(0x14a)]=_0x2fd4fa(0x14c);const _0x1b8786=_0x3db694,_0xe8390f=this[_0x2fd4fa(0x13e)+'h'](_0x16bd29);a39_0x149b39[_0x2fd4fa(0x148)+_0x2fd4fa(0x153)](_0xe8390f,_0x21b77f,_0x1b8786[_0x2fd4fa(0x14a)]);}[a39_0xb0ca0e(0x150)](_0x4c985f){const _0x2d109e=a39_0xb0ca0e,_0x61fe23=this[_0x2d109e(0x13e)+'h'](_0x4c985f);a39_0x149b39['existsSync'](_0x61fe23)&&a39_0x149b39[_0x2d109e(0x14e)](_0x61fe23);}}
@@ -1 +1 @@
1
- const a40_0x1a7d22=a40_0x1251;(function(_0x7f447e,_0x5e70c3){const _0x1c4295=a40_0x1251,_0x52df3f=_0x7f447e();while(!![]){try{const _0x3a57bc=-parseInt(_0x1c4295(0xea))/0x1*(-parseInt(_0x1c4295(0xc7))/0x2)+-parseInt(_0x1c4295(0xd7))/0x3+-parseInt(_0x1c4295(0xee))/0x4*(parseInt(_0x1c4295(0xf1))/0x5)+parseInt(_0x1c4295(0xc8))/0x6*(-parseInt(_0x1c4295(0xdb))/0x7)+-parseInt(_0x1c4295(0xd9))/0x8+parseInt(_0x1c4295(0xd2))/0x9*(-parseInt(_0x1c4295(0xd0))/0xa)+-parseInt(_0x1c4295(0xd6))/0xb*(-parseInt(_0x1c4295(0xc3))/0xc);if(_0x3a57bc===_0x5e70c3)break;else _0x52df3f['push'](_0x52df3f['shift']());}catch(_0x48023c){_0x52df3f['push'](_0x52df3f['shift']());}}}(a40_0x51c5,0x8f186));const a40_0x4b9bfa=(function(){let _0x155274=!![];return function(_0x29ba31,_0x1e988a){const _0x44b468=_0x155274?function(){const _0x498301=a40_0x1251;if(_0x1e988a){const _0x32f911=_0x1e988a[_0x498301(0xd1)](_0x29ba31,arguments);return _0x1e988a=null,_0x32f911;}}:function(){};return _0x155274=![],_0x44b468;};}()),a40_0x5375cd=a40_0x4b9bfa(this,function(){const _0x16c40f=a40_0x1251;return a40_0x5375cd[_0x16c40f(0xda)]()[_0x16c40f(0xd4)](_0x16c40f(0xed)+'+$')['toString']()[_0x16c40f(0xc6)+'r'](a40_0x5375cd)[_0x16c40f(0xd4)](_0x16c40f(0xed)+'+$');});a40_0x5375cd();import a40_0x3806eb from'winston';import a40_0xface66 from'path';import a40_0x7baaad from'fs';import{fileURLToPath}from'url';const loggerModuleDir=a40_0xface66['dirname'](fileURLToPath(import.meta.url)),projectRootForLogs=a40_0xface66[a40_0x1a7d22(0xe0)](loggerModuleDir,'../..'),logsDirAbs=a40_0xface66[a40_0x1a7d22(0xe0)](projectRootForLogs,a40_0x1a7d22(0xe4));try{if(!a40_0x7baaad[a40_0x1a7d22(0xeb)](logsDirAbs)){const a40_0x2cba5e={};a40_0x2cba5e[a40_0x1a7d22(0xcf)]=!![],a40_0x7baaad['mkdirSync'](logsDirAbs,a40_0x2cba5e);}}catch(a40_0x347e15){console['error'](a40_0x1a7d22(0xe1)+a40_0x1a7d22(0xe2)+a40_0x1a7d22(0xe9)+'y:',a40_0x347e15);}const isStdioMcpHost=Boolean(process.env.MCP||process.env.MCP_SERVER||process.env.MCP_STDIO||process.env.CURSOR||process.env.CURSOR_MCP),enableConsole=![],a40_0x436d64={};a40_0x436d64[a40_0x1a7d22(0xcd)]=!![];const a40_0x573dd8={};a40_0x573dd8[a40_0x1a7d22(0xce)]='mcp-secure'+a40_0x1a7d22(0xdd)+'rator';function a40_0x51c5(){const _0x1c727c=['logs','Console','add','timestamp','warn','s\x20director','2CBFzfK','existsSync','add\x20file\x20t','(((.+)+)+)','4441364Cdxfjq','json','join','5BWhiij','combined.l','30877968XVNlYu','File','errors','constructo','980294OMKwYR','4517886ZrnMxp','colorize','YYYY-MM-DD','combine','createLogg','stack','service','recursive','509920ZEmnpe','apply','81tTxWjY','transports','search','format','11ycJagd','468246ecyzBe','SSSZ','3912064HWxjJY','toString','7lGhVnl','stringify','-code-gene','ransports:','error','resolve','Failed\x20to\x20','create\x20log','THH:mm:ss.'];a40_0x51c5=function(){return _0x1c727c;};return a40_0x51c5();}export const logger=a40_0x3806eb[a40_0x1a7d22(0xcc)+'er']({'level':process.env.LOG_LEVEL||'info','format':a40_0x3806eb[a40_0x1a7d22(0xd5)]['combine'](a40_0x3806eb[a40_0x1a7d22(0xd5)]['timestamp'](),a40_0x3806eb['format'][a40_0x1a7d22(0xc5)](a40_0x436d64),a40_0x3806eb['format']['json']()),'defaultMeta':a40_0x573dd8,'transports':[]});try{const a40_0x521746={};a40_0x521746[a40_0x1a7d22(0xd5)]=a40_0x1a7d22(0xca)+a40_0x1a7d22(0xe3)+a40_0x1a7d22(0xd8);const a40_0x3669d1={};a40_0x3669d1[a40_0x1a7d22(0xcd)]=!![],logger[a40_0x1a7d22(0xe6)](new a40_0x3806eb[(a40_0x1a7d22(0xd3))][(a40_0x1a7d22(0xc4))]({'filename':a40_0xface66[a40_0x1a7d22(0xf0)](logsDirAbs,'error.log'),'level':a40_0x1a7d22(0xdf),'format':a40_0x3806eb[a40_0x1a7d22(0xd5)][a40_0x1a7d22(0xcb)](a40_0x3806eb[a40_0x1a7d22(0xd5)]['timestamp'](a40_0x521746),a40_0x3806eb[a40_0x1a7d22(0xd5)][a40_0x1a7d22(0xc5)](a40_0x3669d1),a40_0x3806eb['format'][a40_0x1a7d22(0xef)]())}));const a40_0xdae171={};a40_0xdae171[a40_0x1a7d22(0xd5)]=a40_0x1a7d22(0xca)+a40_0x1a7d22(0xe3)+a40_0x1a7d22(0xd8);const a40_0x545d8c={};a40_0x545d8c[a40_0x1a7d22(0xcd)]=!![],logger[a40_0x1a7d22(0xe6)](new a40_0x3806eb[(a40_0x1a7d22(0xd3))][(a40_0x1a7d22(0xc4))]({'filename':a40_0xface66[a40_0x1a7d22(0xf0)](logsDirAbs,a40_0x1a7d22(0xc2)+'og'),'format':a40_0x3806eb[a40_0x1a7d22(0xd5)][a40_0x1a7d22(0xcb)](a40_0x3806eb['format'][a40_0x1a7d22(0xe7)](a40_0xdae171),a40_0x3806eb[a40_0x1a7d22(0xd5)][a40_0x1a7d22(0xc5)](a40_0x545d8c),a40_0x3806eb[a40_0x1a7d22(0xd5)][a40_0x1a7d22(0xef)]())}));}catch(a40_0x5403ff){console[a40_0x1a7d22(0xdf)](a40_0x1a7d22(0xe1)+a40_0x1a7d22(0xec)+a40_0x1a7d22(0xde),a40_0x5403ff);}function a40_0x1251(_0x1ce0d2,_0x450af6){_0x1ce0d2=_0x1ce0d2-0xc2;const _0x3ff84c=a40_0x51c5();let _0x5375cd=_0x3ff84c[_0x1ce0d2];return _0x5375cd;}if(enableConsole){const a40_0x19d02a={};a40_0x19d02a[a40_0x1a7d22(0xd5)]=a40_0x1a7d22(0xca)+'THH:mm:ss.'+'SSSZ',logger['add'](new a40_0x3806eb[(a40_0x1a7d22(0xd3))][(a40_0x1a7d22(0xe5))]({'format':a40_0x3806eb[a40_0x1a7d22(0xd5)]['combine'](a40_0x3806eb[a40_0x1a7d22(0xd5)][a40_0x1a7d22(0xc9)](),a40_0x3806eb[a40_0x1a7d22(0xd5)][a40_0x1a7d22(0xe7)](a40_0x19d02a),a40_0x3806eb['format']['printf'](_0x36551a=>{const _0x20fbdc=a40_0x1a7d22,{level:_0x2e806e,message:_0x38540c,timestamp:_0xaa64c1,..._0x53c3a1}=_0x36551a,_0x2febc6=Object['keys'](_0x53c3a1)['length']?'\x20'+JSON[_0x20fbdc(0xdc)](_0x53c3a1):'';return'['+_0xaa64c1+']\x20'+_0x2e806e+':\x20'+_0x38540c+_0x2febc6;})),'stderrLevels':[a40_0x1a7d22(0xdf),a40_0x1a7d22(0xe8)]}));}
1
+ const a40_0x2808f1=a40_0x39b4;(function(_0x23258b,_0x10f78f){const _0xca3373=a40_0x39b4,_0x12ff2a=_0x23258b();while(!![]){try{const _0x5f28f3=-parseInt(_0xca3373(0x8f))/0x1+-parseInt(_0xca3373(0x6d))/0x2*(parseInt(_0xca3373(0x6b))/0x3)+parseInt(_0xca3373(0x81))/0x4*(parseInt(_0xca3373(0x86))/0x5)+-parseInt(_0xca3373(0x80))/0x6+-parseInt(_0xca3373(0x9c))/0x7*(-parseInt(_0xca3373(0x98))/0x8)+parseInt(_0xca3373(0x76))/0x9+parseInt(_0xca3373(0x78))/0xa*(-parseInt(_0xca3373(0x70))/0xb);if(_0x5f28f3===_0x10f78f)break;else _0x12ff2a['push'](_0x12ff2a['shift']());}catch(_0x4246a2){_0x12ff2a['push'](_0x12ff2a['shift']());}}}(a40_0x10d7,0x37613));function a40_0x10d7(){const _0x1ecab6=['error','mcp-secure','YYYY-MM-DD','create\x20log','THH:mm:ss.','length','86397vedIJg','search','service','Failed\x20to\x20','File','s\x20director','dirname','createLogg','recursive','32Mkybac','keys','-code-gene','SSSZ','25312GBRByQ','combined.l','warn','format','45pMuiVj','transports','6634KmNCKG','timestamp','errors','270908ybbFVd','logs','combine','(((.+)+)+)','apply','add','3865734dLfoDv','stack','10jWWWPB','json','add\x20file\x20t','toString','stringify','mkdirSync','Console','info','971214syPpOA','4sOQqQe','../..','colorize','error.log','resolve','527470pvwLsq','join','rator'];a40_0x10d7=function(){return _0x1ecab6;};return a40_0x10d7();}const a40_0x228be9=(function(){let _0x4be417=!![];return function(_0x5df1f7,_0x3ad723){const _0x4a6a7f=_0x4be417?function(){const _0x2d95ec=a40_0x39b4;if(_0x3ad723){const _0x1f23c8=_0x3ad723[_0x2d95ec(0x74)](_0x5df1f7,arguments);return _0x3ad723=null,_0x1f23c8;}}:function(){};return _0x4be417=![],_0x4a6a7f;};}()),a40_0xf24883=a40_0x228be9(this,function(){const _0x42ea6b=a40_0x39b4;return a40_0xf24883[_0x42ea6b(0x7b)]()[_0x42ea6b(0x90)](_0x42ea6b(0x73)+'+$')['toString']()['constructo'+'r'](a40_0xf24883)[_0x42ea6b(0x90)](_0x42ea6b(0x73)+'+$');});a40_0xf24883();import a40_0x240e8 from'winston';import a40_0x4cf8d5 from'path';import a40_0x2d5a3c from'fs';import{fileURLToPath}from'url';function a40_0x39b4(_0xb5e28c,_0x5f2320){_0xb5e28c=_0xb5e28c-0x6a;const _0xa3c517=a40_0x10d7();let _0xf24883=_0xa3c517[_0xb5e28c];return _0xf24883;}const loggerModuleDir=a40_0x4cf8d5[a40_0x2808f1(0x95)](fileURLToPath(import.meta.url)),projectRootForLogs=a40_0x4cf8d5[a40_0x2808f1(0x85)](loggerModuleDir,a40_0x2808f1(0x82)),logsDirAbs=a40_0x4cf8d5[a40_0x2808f1(0x85)](projectRootForLogs,a40_0x2808f1(0x71));try{if(!a40_0x2d5a3c['existsSync'](logsDirAbs)){const a40_0x58d1c0={};a40_0x58d1c0[a40_0x2808f1(0x97)]=!![],a40_0x2d5a3c[a40_0x2808f1(0x7d)](logsDirAbs,a40_0x58d1c0);}}catch(a40_0x22f2f5){console['error'](a40_0x2808f1(0x92)+a40_0x2808f1(0x8c)+a40_0x2808f1(0x94)+'y:',a40_0x22f2f5);}const isStdioMcpHost=Boolean(process.env.MCP||process.env.MCP_SERVER||process.env.MCP_STDIO||process.env.CURSOR||process.env.CURSOR_MCP),enableConsole=![],a40_0x20ae30={};a40_0x20ae30['stack']=!![];const a40_0x493bbb={};a40_0x493bbb[a40_0x2808f1(0x91)]=a40_0x2808f1(0x8a)+a40_0x2808f1(0x9a)+a40_0x2808f1(0x88);export const logger=a40_0x240e8[a40_0x2808f1(0x96)+'er']({'level':process.env.LOG_LEVEL||a40_0x2808f1(0x7f),'format':a40_0x240e8['format'][a40_0x2808f1(0x72)](a40_0x240e8['format']['timestamp'](),a40_0x240e8[a40_0x2808f1(0x6a)][a40_0x2808f1(0x6f)](a40_0x20ae30),a40_0x240e8[a40_0x2808f1(0x6a)]['json']()),'defaultMeta':a40_0x493bbb,'transports':[]});try{const a40_0x10eb36={};a40_0x10eb36['format']=a40_0x2808f1(0x8b)+a40_0x2808f1(0x8d)+a40_0x2808f1(0x9b);const a40_0x4f90b4={};a40_0x4f90b4['stack']=!![],logger[a40_0x2808f1(0x75)](new a40_0x240e8[(a40_0x2808f1(0x6c))][(a40_0x2808f1(0x93))]({'filename':a40_0x4cf8d5[a40_0x2808f1(0x87)](logsDirAbs,a40_0x2808f1(0x84)),'level':'error','format':a40_0x240e8[a40_0x2808f1(0x6a)][a40_0x2808f1(0x72)](a40_0x240e8[a40_0x2808f1(0x6a)]['timestamp'](a40_0x10eb36),a40_0x240e8[a40_0x2808f1(0x6a)]['errors'](a40_0x4f90b4),a40_0x240e8[a40_0x2808f1(0x6a)][a40_0x2808f1(0x79)]())}));const a40_0x3afaa3={};a40_0x3afaa3[a40_0x2808f1(0x6a)]='YYYY-MM-DD'+a40_0x2808f1(0x8d)+a40_0x2808f1(0x9b);const a40_0x4bec5e={};a40_0x4bec5e[a40_0x2808f1(0x77)]=!![],logger[a40_0x2808f1(0x75)](new a40_0x240e8['transports'][(a40_0x2808f1(0x93))]({'filename':a40_0x4cf8d5[a40_0x2808f1(0x87)](logsDirAbs,a40_0x2808f1(0x9d)+'og'),'format':a40_0x240e8['format'][a40_0x2808f1(0x72)](a40_0x240e8[a40_0x2808f1(0x6a)]['timestamp'](a40_0x3afaa3),a40_0x240e8[a40_0x2808f1(0x6a)][a40_0x2808f1(0x6f)](a40_0x4bec5e),a40_0x240e8[a40_0x2808f1(0x6a)]['json']())}));}catch(a40_0x148317){console['error']('Failed\x20to\x20'+a40_0x2808f1(0x7a)+'ransports:',a40_0x148317);}if(enableConsole){const a40_0x2b7691={};a40_0x2b7691[a40_0x2808f1(0x6a)]=a40_0x2808f1(0x8b)+a40_0x2808f1(0x8d)+a40_0x2808f1(0x9b),logger[a40_0x2808f1(0x75)](new a40_0x240e8[(a40_0x2808f1(0x6c))][(a40_0x2808f1(0x7e))]({'format':a40_0x240e8['format'][a40_0x2808f1(0x72)](a40_0x240e8['format'][a40_0x2808f1(0x83)](),a40_0x240e8[a40_0x2808f1(0x6a)][a40_0x2808f1(0x6e)](a40_0x2b7691),a40_0x240e8['format']['printf'](_0x59a040=>{const _0x3ef04f=a40_0x2808f1,{level:_0x4005b2,message:_0x136170,timestamp:_0x36ff4e,..._0x4ac6b3}=_0x59a040,_0x5362d1=Object[_0x3ef04f(0x99)](_0x4ac6b3)[_0x3ef04f(0x8e)]?'\x20'+JSON[_0x3ef04f(0x7c)](_0x4ac6b3):'';return'['+_0x36ff4e+']\x20'+_0x4005b2+':\x20'+_0x136170+_0x5362d1;})),'stderrLevels':[a40_0x2808f1(0x89),a40_0x2808f1(0x9e)]}));}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sparrowai/sparrow-mcp",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "sparrow-mcp-test": "./bin/sparrow-mcp-test.cjs"