@sparrowai/sparrow-mcp 1.1.5 → 1.1.6

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 (48) hide show
  1. package/dist/.tsbuildinfo +1 -1
  2. package/dist/scripts/mcp-test/mcp-client.js +1 -1
  3. package/dist/scripts/test-runner/check-failed-tests.js +1 -1
  4. package/dist/scripts/test-runner/compare-responses.js +1 -1
  5. package/dist/scripts/test-runner/standalone-test-fixed-header.js +1 -1
  6. package/dist/scripts/test-runner/standalone-test.js +1 -1
  7. package/dist/src/config/appConfig.js +1 -1
  8. package/dist/src/config/constants.js +1 -1
  9. package/dist/src/controllers/__tests__/analysis.controller.test.js +1 -1
  10. package/dist/src/controllers/__tests__/sast.controller.test.js +1 -1
  11. package/dist/src/controllers/__tests__/sca.controller.test.js +1 -1
  12. package/dist/src/controllers/__tests__/security.controller.test.js +1 -1
  13. package/dist/src/controllers/__tests__/system.controller.test.js +1 -1
  14. package/dist/src/controllers/analysis.controller.js +1 -1
  15. package/dist/src/controllers/sast.controller.js +1 -1
  16. package/dist/src/controllers/sca.controller.js +1 -1
  17. package/dist/src/controllers/security.controller.js +1 -1
  18. package/dist/src/controllers/system.controller.js +1 -1
  19. package/dist/src/schemas/tool.schemas.js +1 -1
  20. package/dist/src/server.js +1 -1
  21. package/dist/src/services/__tests__/checker.service.test.js +1 -1
  22. package/dist/src/services/__tests__/llm.service.test.js +1 -1
  23. package/dist/src/services/__tests__/s3.service.test.js +1 -1
  24. package/dist/src/services/__tests__/sparrow.service.test.js +1 -1
  25. package/dist/src/services/analysis.service.js +1 -1
  26. package/dist/src/services/checker.service.js +1 -1
  27. package/dist/src/services/llm/AnthropicProvider.js +1 -1
  28. package/dist/src/services/llm/BedrockProvider.js +1 -1
  29. package/dist/src/services/llm/GeminiProvider.js +1 -1
  30. package/dist/src/services/llm/LLMFactory.js +1 -1
  31. package/dist/src/services/llm/LLMProvider.js +1 -1
  32. package/dist/src/services/llm/OllamaProvider.js +1 -1
  33. package/dist/src/services/llm/OpenAIProvider.js +1 -1
  34. package/dist/src/services/llm.service.js +1 -1
  35. package/dist/src/services/s3.service.js +1 -1
  36. package/dist/src/services/sparrow.service.js +1 -1
  37. package/dist/src/types/types.js +1 -1
  38. package/dist/src/utils/__tests__/crypto.util.test.js +1 -1
  39. package/dist/src/utils/__tests__/diff.util.test.js +1 -1
  40. package/dist/src/utils/__tests__/fileManager.test.js +1 -1
  41. package/dist/src/utils/__tests__/fileManagerSecure.test.js +1 -1
  42. package/dist/src/utils/__tests__/logger.test.js +1 -1
  43. package/dist/src/utils/crypto.util.js +1 -1
  44. package/dist/src/utils/diff.util.js +1 -1
  45. package/dist/src/utils/fileManager.js +1 -1
  46. package/dist/src/utils/fileManagerSecure.js +1 -1
  47. package/dist/src/utils/logger.js +1 -1
  48. package/package.json +2 -1
@@ -1 +1 @@
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
+ const a37_0x9feddd=a37_0x2323;(function(_0xc93753,_0x5836e9){const _0xc20070=a37_0x2323,_0x44ca4e=_0xc93753();while(!![]){try{const _0x4b84a8=-parseInt(_0xc20070(0xeb))/0x1*(-parseInt(_0xc20070(0x104))/0x2)+parseInt(_0xc20070(0x10d))/0x3+-parseInt(_0xc20070(0xe3))/0x4*(parseInt(_0xc20070(0xf2))/0x5)+-parseInt(_0xc20070(0xe7))/0x6*(-parseInt(_0xc20070(0xe8))/0x7)+parseInt(_0xc20070(0xf5))/0x8*(-parseInt(_0xc20070(0xe9))/0x9)+-parseInt(_0xc20070(0xe0))/0xa+parseInt(_0xc20070(0xff))/0xb*(-parseInt(_0xc20070(0x105))/0xc);if(_0x4b84a8===_0x5836e9)break;else _0x44ca4e['push'](_0x44ca4e['shift']());}catch(_0x4ceea5){_0x44ca4e['push'](_0x44ca4e['shift']());}}}(a37_0x57de,0xc73f3));function a37_0x2323(_0x550a84,_0x308746){_0x550a84=_0x550a84-0xdf;const _0x5bf9d6=a37_0x57de();let _0x3b1656=_0x5bf9d6[_0x550a84];return _0x3b1656;}const a37_0x53edeb=(function(){let _0x38dfc4=!![];return function(_0x131af4,_0x51f90c){const _0x279dda=_0x38dfc4?function(){if(_0x51f90c){const _0x2a7d83=_0x51f90c['apply'](_0x131af4,arguments);return _0x51f90c=null,_0x2a7d83;}}:function(){};return _0x38dfc4=![],_0x279dda;};}()),a37_0x3b1656=a37_0x53edeb(this,function(){const _0x30d300=a37_0x2323;return a37_0x3b1656[_0x30d300(0x102)]()[_0x30d300(0xf3)](_0x30d300(0x109)+'+$')['toString']()[_0x30d300(0xef)+'r'](a37_0x3b1656)[_0x30d300(0xf3)](_0x30d300(0x109)+'+$');});function a37_0x57de(){const _0x58ec45=['+++\x20안전한\x20코드','패했습니다.','oldCount','(((.+)+)+)','ff\x20생성에\x20실패했','\x20완료','---\x20a/','3020979zoPhqw','JZFgE','IamMh','+++\x20b/','---\x20원본\x20코드','siTFS','6153570ImIUZR','\x20+1,','lines','3076qOmVKZ','WSeMp','@@\x20-','@@\x20-1,','4860354KrfqKH','14fiecYa','9kaFriK','code.java','59KFLLPo','Ttdrc','generateUn','length','constructo','GvtYz','oldStart','6845PegCaW','search','generateDi','3397848IuTGnz','split','info','kQMHd','YLwxe','push','ff\x20생성\x20실패:','computeHun','\x20@@','newStart','338426xmgOCY','EjmXR','newCount','toString','코드\x20diff\x20생성','13726utgSuA','48vadfpW'];a37_0x57de=function(){return _0x58ec45;};return a37_0x57de();}a37_0x3b1656();import{logger}from'./logger.js';export class DiffUtil{static[a37_0x9feddd(0xf4)+'ff'](_0x1dc09b,_0x173d79){const _0x1fcdfb=a37_0x9feddd,_0x44932={};_0x44932['kQMHd']=function(_0x40281b,_0x24214d){return _0x40281b===_0x24214d;},_0x44932[_0x1fcdfb(0xf9)]=_0x1fcdfb(0x103)+_0x1fcdfb(0x10b);const _0x2dd1db=_0x44932;try{const _0xe8d730=_0x1dc09b['split']('\x0a'),_0x4a6106=_0x173d79[_0x1fcdfb(0xf6)]('\x0a'),_0x2a1782=[];_0x2a1782[_0x1fcdfb(0xfa)](_0x1fcdfb(0x111)),_0x2a1782['push'](_0x1fcdfb(0x106)),_0x2a1782['push'](_0x1fcdfb(0xe6)+_0xe8d730[_0x1fcdfb(0xee)]+_0x1fcdfb(0xe1)+_0x4a6106[_0x1fcdfb(0xee)]+_0x1fcdfb(0xfd));const _0x422239=Math['max'](_0xe8d730['length'],_0x4a6106[_0x1fcdfb(0xee)]);for(let _0x78b907=0x0;_0x78b907<_0x422239;_0x78b907++){const _0xb8810f=_0xe8d730[_0x78b907]||'',_0x1ee0d0=_0x4a6106[_0x78b907]||'';_0x2dd1db[_0x1fcdfb(0xf8)](_0xb8810f,_0x1ee0d0)?_0x2a1782[_0x1fcdfb(0xfa)]('\x20'+_0xb8810f):(_0xb8810f&&_0x2a1782['push']('-'+_0xb8810f),_0x1ee0d0&&_0x2a1782[_0x1fcdfb(0xfa)]('+'+_0x1ee0d0));}return logger[_0x1fcdfb(0xf7)](_0x2dd1db[_0x1fcdfb(0xf9)]),_0x2a1782['join']('\x0a');}catch(_0x9537fb){return logger['error']('Diff\x20생성\x20실패'+':',_0x9537fb),'Diff\x20생성에\x20실'+_0x1fcdfb(0x107);}}static[a37_0x9feddd(0xed)+'ifiedDiff'](_0x3ccf93,_0x49cab1,_0x2956cb=a37_0x9feddd(0xea)){const _0x34f2eb=a37_0x9feddd,_0x4a97ca={};_0x4a97ca[_0x34f2eb(0xe4)]=function(_0x1754c1,_0x4d21e0){return _0x1754c1!==_0x4d21e0;};const _0x259b7e=_0x4a97ca;try{if(_0x259b7e['WSeMp'](_0x34f2eb(0xec),_0x34f2eb(0xdf))){const _0x47e341=_0x3ccf93[_0x34f2eb(0xf6)]('\x0a'),_0x44bd0c=_0x49cab1[_0x34f2eb(0xf6)]('\x0a'),_0x3d5174=[];_0x3d5174[_0x34f2eb(0xfa)](_0x34f2eb(0x10c)+_0x2956cb),_0x3d5174['push'](_0x34f2eb(0x110)+_0x2956cb);const _0x31de61=this[_0x34f2eb(0xfc)+'ks'](_0x47e341,_0x44bd0c);for(const _0x1cf315 of _0x31de61){_0x3d5174['push'](_0x34f2eb(0xe5)+_0x1cf315[_0x34f2eb(0xf1)]+','+_0x1cf315['oldCount']+'\x20+'+_0x1cf315[_0x34f2eb(0xfe)]+','+_0x1cf315['newCount']+_0x34f2eb(0xfd));for(const _0x43acf8 of _0x1cf315[_0x34f2eb(0xe2)]){_0x3d5174[_0x34f2eb(0xfa)](_0x43acf8);}}return logger[_0x34f2eb(0xf7)]('Unified\x20di'+'ff\x20생성\x20완료'),_0x3d5174['join']('\x0a');}else{const _0x56307e={};_0x56307e[_0x34f2eb(0xf1)]=_0x9cb978,_0x56307e[_0x34f2eb(0x108)]=_0x10f70f,_0x56307e[_0x34f2eb(0xfe)]=_0x445e60,_0x56307e[_0x34f2eb(0x101)]=_0x1bb7a8,_0x56307e[_0x34f2eb(0xe2)]=[..._0x148f4f],_0x4b8a31[_0x34f2eb(0xfa)](_0x56307e),_0x43266f['length']=0x0,_0x486290=0x0,_0x3dd75a=0x0;}}catch(_0x4e8b6b){return logger['error']('Unified\x20di'+_0x34f2eb(0xfb),_0x4e8b6b),'Unified\x20di'+_0x34f2eb(0x10a)+'습니다.';}}static[a37_0x9feddd(0xfc)+'ks'](_0x4d2e3b,_0x5d0f16){const _0x275d0e=a37_0x9feddd,_0x4fe9ec={};_0x4fe9ec[_0x275d0e(0x10e)]=function(_0x44fef2,_0x10565c){return _0x44fef2===_0x10565c;},_0x4fe9ec[_0x275d0e(0xf0)]=function(_0x2f29cf,_0x1c55cf){return _0x2f29cf+_0x1c55cf;},_0x4fe9ec['IamMh']=function(_0xd9dd9,_0x2a1458){return _0xd9dd9===_0x2a1458;},_0x4fe9ec[_0x275d0e(0x100)]=function(_0x2dcf69,_0x146010){return _0x2dcf69+_0x146010;};const _0x467702=_0x4fe9ec,_0x259f86=[],_0x1c293a=Math['max'](_0x4d2e3b['length'],_0x5d0f16[_0x275d0e(0xee)]),_0x165723=[];let _0x5cdea6=0x1,_0x912bd3=0x1,_0x56e0ff=0x0,_0xced59b=0x0;for(let _0x1ecebe=0x0;_0x1ecebe<_0x1c293a;_0x1ecebe++){const _0xc8aa6e=_0x4d2e3b[_0x1ecebe]||'',_0x5e9fe8=_0x5d0f16[_0x1ecebe]||'';if(_0x467702[_0x275d0e(0x10e)](_0xc8aa6e,_0x5e9fe8)){if(_0x56e0ff>0x0||_0xced59b>0x0){const _0x3eefc1={};_0x3eefc1['oldStart']=_0x5cdea6,_0x3eefc1[_0x275d0e(0x108)]=_0x56e0ff,_0x3eefc1[_0x275d0e(0xfe)]=_0x912bd3,_0x3eefc1[_0x275d0e(0x101)]=_0xced59b,_0x3eefc1[_0x275d0e(0xe2)]=[..._0x165723],_0x259f86[_0x275d0e(0xfa)](_0x3eefc1),_0x165723[_0x275d0e(0xee)]=0x0,_0x56e0ff=0x0,_0xced59b=0x0;}_0x5cdea6=_0x1ecebe+0x2,_0x912bd3=_0x467702[_0x275d0e(0xf0)](_0x1ecebe,0x2);}else _0x467702[_0x275d0e(0x10f)](_0x56e0ff,0x0)&&_0xced59b===0x0&&(_0x5cdea6=_0x467702[_0x275d0e(0x100)](_0x1ecebe,0x1),_0x912bd3=_0x1ecebe+0x1),_0xc8aa6e&&(_0x165723[_0x275d0e(0xfa)]('-'+_0xc8aa6e),_0x56e0ff++),_0x5e9fe8&&(_0x165723[_0x275d0e(0xfa)]('+'+_0x5e9fe8),_0xced59b++);}if(_0x56e0ff>0x0||_0xced59b>0x0){const _0x438ed7={};_0x438ed7['oldStart']=_0x5cdea6,_0x438ed7['oldCount']=_0x56e0ff,_0x438ed7[_0x275d0e(0xfe)]=_0x912bd3,_0x438ed7['newCount']=_0xced59b,_0x438ed7[_0x275d0e(0xe2)]=[..._0x165723],_0x259f86['push'](_0x438ed7);}return _0x259f86;}}
@@ -1 +1 @@
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
+ const a38_0x4f3463=a38_0x1c9d;function a38_0x1c9d(_0x50afe7,_0x322499){_0x50afe7=_0x50afe7-0x8c;const _0x5d59ca=a38_0x5af2();let _0x3424be=_0x5d59ca[_0x50afe7];return _0x3424be;}function a38_0x5af2(){const _0x45566d=['existsSync','5vezHTq','40XKZJtn','baseDir','writeFileS','(((.+)+)+)','join','31483olUXJa','507393CCyGuU','2406808fejPrR','441084RZUtal','2bJQNvb','unlinkSync','1065540KSxzBm','utf-8','575145FfGzPy','toString','writeFile','ync','search','readFile','readFileSy','1343106qsplhE'];a38_0x5af2=function(){return _0x45566d;};return a38_0x5af2();}(function(_0x54b6a5,_0x5182a7){const _0x45e50c=a38_0x1c9d,_0x470a00=_0x54b6a5();while(!![]){try{const _0x4dd850=parseInt(_0x45e50c(0x8f))/0x1*(parseInt(_0x45e50c(0x93))/0x2)+-parseInt(_0x45e50c(0x97))/0x3+-parseInt(_0x45e50c(0x91))/0x4*(-parseInt(_0x45e50c(0xa0))/0x5)+-parseInt(_0x45e50c(0x9e))/0x6+-parseInt(_0x45e50c(0x92))/0x7+parseInt(_0x45e50c(0xa1))/0x8*(parseInt(_0x45e50c(0x90))/0x9)+-parseInt(_0x45e50c(0x95))/0xa;if(_0x4dd850===_0x5182a7)break;else _0x470a00['push'](_0x470a00['shift']());}catch(_0x2ee38a){_0x470a00['push'](_0x470a00['shift']());}}}(a38_0x5af2,0x508d2));const a38_0x3a8ca7=(function(){let _0x4beffe=!![];return function(_0x2ed2dd,_0x481f00){const _0xfe305f=_0x4beffe?function(){if(_0x481f00){const _0x54f560=_0x481f00['apply'](_0x2ed2dd,arguments);return _0x481f00=null,_0x54f560;}}:function(){};return _0x4beffe=![],_0xfe305f;};}()),a38_0x3424be=a38_0x3a8ca7(this,function(){const _0x55aed1=a38_0x1c9d;return a38_0x3424be[_0x55aed1(0x98)]()[_0x55aed1(0x9b)]('(((.+)+)+)'+'+$')['toString']()['constructo'+'r'](a38_0x3424be)['search'](_0x55aed1(0x8d)+'+$');});a38_0x3424be();import*as a38_0x38d8c4 from'fs';import*as a38_0x2cd792 from'path';export class FileManager{['baseDir'];constructor(_0x2b4c13){const _0x18ac99=a38_0x1c9d;this[_0x18ac99(0xa2)]=_0x2b4c13;}[a38_0x4f3463(0x9c)](_0x2c6a4c){const _0x5948af=a38_0x4f3463,_0x1d9013=a38_0x2cd792[_0x5948af(0x8e)](this[_0x5948af(0xa2)],_0x2c6a4c);return a38_0x38d8c4[_0x5948af(0x9d)+'nc'](_0x1d9013,'utf-8');}[a38_0x4f3463(0x99)](_0x1a3f7b,_0x10ee6a){const _0x2f7846=a38_0x4f3463,_0x54ee38=a38_0x2cd792[_0x2f7846(0x8e)](this[_0x2f7846(0xa2)],_0x1a3f7b);a38_0x38d8c4[_0x2f7846(0x8c)+_0x2f7846(0x9a)](_0x54ee38,_0x10ee6a,_0x2f7846(0x96));}['deleteFile'](_0x207d8c){const _0x57d83f=a38_0x4f3463,_0x2be11d=a38_0x2cd792[_0x57d83f(0x8e)](this[_0x57d83f(0xa2)],_0x207d8c);a38_0x38d8c4[_0x57d83f(0x9f)](_0x2be11d)&&a38_0x38d8c4[_0x57d83f(0x94)](_0x2be11d);}}
@@ -1 +1 @@
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
+ function a39_0x14d4(_0x5263dc,_0x3e1739){_0x5263dc=_0x5263dc-0x82;const _0x1e2304=a39_0x36cf();let _0x59b2cb=_0x1e2304[_0x5263dc];return _0x59b2cb;}const a39_0x2b0324=a39_0x14d4;(function(_0x2cfee6,_0x1ca727){const _0xcff0f0=a39_0x14d4,_0x5e9d65=_0x2cfee6();while(!![]){try{const _0x5f0638=parseInt(_0xcff0f0(0xa1))/0x1*(-parseInt(_0xcff0f0(0x87))/0x2)+-parseInt(_0xcff0f0(0x9d))/0x3*(-parseInt(_0xcff0f0(0x8d))/0x4)+parseInt(_0xcff0f0(0x9f))/0x5+-parseInt(_0xcff0f0(0x98))/0x6+-parseInt(_0xcff0f0(0x9c))/0x7*(-parseInt(_0xcff0f0(0x97))/0x8)+parseInt(_0xcff0f0(0xa0))/0x9+parseInt(_0xcff0f0(0x8a))/0xa*(parseInt(_0xcff0f0(0x91))/0xb);if(_0x5f0638===_0x1ca727)break;else _0x5e9d65['push'](_0x5e9d65['shift']());}catch(_0x464249){_0x5e9d65['push'](_0x5e9d65['shift']());}}}(a39_0x36cf,0x3dc94));const a39_0x3a6e90=(function(){let _0x57dcca=!![];return function(_0x2007dd,_0x362733){const _0x25c4e8=_0x57dcca?function(){const _0x321ded=a39_0x14d4;if(_0x362733){const _0x563393=_0x362733[_0x321ded(0x95)](_0x2007dd,arguments);return _0x362733=null,_0x563393;}}:function(){};return _0x57dcca=![],_0x25c4e8;};}()),a39_0x59b2cb=a39_0x3a6e90(this,function(){const _0x254897=a39_0x14d4;return a39_0x59b2cb[_0x254897(0x82)]()['search'](_0x254897(0x9e)+'+$')[_0x254897(0x82)]()[_0x254897(0x90)+'r'](a39_0x59b2cb)[_0x254897(0x93)](_0x254897(0x9e)+'+$');});a39_0x59b2cb();import*as a39_0x23da8d from'fs';import*as a39_0x4856dc from'path';export class FileManager{['baseDir'];constructor(_0x3ee1c7){const _0x53addc=a39_0x14d4;this[_0x53addc(0x86)]=_0x3ee1c7;}[a39_0x2b0324(0x8c)+'h'](_0x391a1c){const _0x147dbf=a39_0x2b0324,_0x3f3411=a39_0x4856dc[_0x147dbf(0x8b)](this[_0x147dbf(0x86)],_0x391a1c);if(!_0x3f3411['startsWith'](a39_0x4856dc['resolve'](this[_0x147dbf(0x86)])))throw new Error('Access\x20den'+_0x147dbf(0x88)+_0x147dbf(0x89)+_0x147dbf(0x8f));return _0x3f3411;}[a39_0x2b0324(0x9b)](_0x20c497){const _0x1c7a03=a39_0x2b0324,_0x50485c={};_0x50485c[_0x1c7a03(0x84)]=_0x1c7a03(0x83);const _0x47e272=_0x50485c,_0x5f19a9=this['resolvePat'+'h'](_0x20c497);return a39_0x23da8d[_0x1c7a03(0x99)+'nc'](_0x5f19a9,_0x47e272[_0x1c7a03(0x84)]);}[a39_0x2b0324(0x85)](_0x142732,_0x392a29){const _0x499be5=a39_0x2b0324,_0x199e94=this[_0x499be5(0x8c)+'h'](_0x142732);a39_0x23da8d[_0x499be5(0x8e)+_0x499be5(0x9a)](_0x199e94,_0x392a29,_0x499be5(0x83));}[a39_0x2b0324(0x94)](_0x54d212){const _0x2154e5=a39_0x2b0324,_0x4505ea=this['resolvePat'+'h'](_0x54d212);a39_0x23da8d[_0x2154e5(0x92)](_0x4505ea)&&a39_0x23da8d[_0x2154e5(0x96)](_0x4505ea);}}function a39_0x36cf(){const _0x51d81c=['76703BuhZyQ','existsSync','search','deleteFile','apply','unlinkSync','112XQPRfs','1467450zkzHOB','readFileSy','ync','readFile','29687FKHFAj','3PMUuvl','(((.+)+)+)','345920ZnVBgZ','1656819TKlhet','321605FdsmSR','toString','utf-8','IKOcK','writeFile','baseDir','2DqbUnV','ied:\x20Inval','id\x20file\x20pa','460KegyAK','join','resolvePat','743396gtsUPw','writeFileS','th.','constructo'];a39_0x36cf=function(){return _0x51d81c;};return a39_0x36cf();}
@@ -1 +1 @@
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)]}));}
1
+ const a40_0x51b20d=a40_0xe5ae;(function(_0x286db6,_0x574647){const _0x364eff=a40_0xe5ae,_0x2c43e2=_0x286db6();while(!![]){try{const _0x4c5e92=-parseInt(_0x364eff(0x122))/0x1+parseInt(_0x364eff(0xfa))/0x2*(parseInt(_0x364eff(0x119))/0x3)+parseInt(_0x364eff(0xf6))/0x4*(-parseInt(_0x364eff(0x11b))/0x5)+parseInt(_0x364eff(0x11d))/0x6+-parseInt(_0x364eff(0xf4))/0x7+-parseInt(_0x364eff(0xf9))/0x8+parseInt(_0x364eff(0xfe))/0x9*(parseInt(_0x364eff(0x125))/0xa);if(_0x4c5e92===_0x574647)break;else _0x2c43e2['push'](_0x2c43e2['shift']());}catch(_0x58665f){_0x2c43e2['push'](_0x2c43e2['shift']());}}}(a40_0x1f9c,0xc2b62));function a40_0xe5ae(_0x167a70,_0x53a241){_0x167a70=_0x167a70-0xf3;const _0x50a8e1=a40_0x1f9c();let _0x4800f0=_0x50a8e1[_0x167a70];return _0x4800f0;}const a40_0x538f29=(function(){let _0x5c735c=!![];return function(_0x349f89,_0x586dc2){const _0x22c7ee=_0x5c735c?function(){if(_0x586dc2){const _0x165ae5=_0x586dc2['apply'](_0x349f89,arguments);return _0x586dc2=null,_0x165ae5;}}:function(){};return _0x5c735c=![],_0x22c7ee;};}()),a40_0x4800f0=a40_0x538f29(this,function(){const _0x8df0f2=a40_0xe5ae;return a40_0x4800f0[_0x8df0f2(0x118)]()[_0x8df0f2(0x103)](_0x8df0f2(0x123)+'+$')[_0x8df0f2(0x118)]()['constructo'+'r'](a40_0x4800f0)[_0x8df0f2(0x103)](_0x8df0f2(0x123)+'+$');});a40_0x4800f0();import a40_0xe29294 from'winston';import a40_0x2df6f7 from'path';import a40_0x194e71 from'fs';import{fileURLToPath}from'url';const loggerModuleDir=a40_0x2df6f7[a40_0x51b20d(0x107)](fileURLToPath(import.meta.url)),projectRootForLogs=a40_0x2df6f7[a40_0x51b20d(0x105)](loggerModuleDir,a40_0x51b20d(0x109)),logsDirAbs=a40_0x2df6f7[a40_0x51b20d(0x105)](projectRootForLogs,'logs');try{if(!a40_0x194e71[a40_0x51b20d(0xfc)](logsDirAbs)){const a40_0x552a3a={};a40_0x552a3a[a40_0x51b20d(0x11c)]=!![],a40_0x194e71[a40_0x51b20d(0x113)](logsDirAbs,a40_0x552a3a);}}catch(a40_0x3ab35c){console[a40_0x51b20d(0xf7)]('Failed\x20to\x20'+a40_0x51b20d(0xfb)+a40_0x51b20d(0x104)+'y:',a40_0x3ab35c);}const isStdioMcpHost=Boolean(process.env.MCP||process.env.MCP_SERVER||process.env.MCP_STDIO||process.env.CURSOR||process.env.CURSOR_MCP),enableConsole=![],a40_0x286367={};a40_0x286367[a40_0x51b20d(0x115)]=!![];const a40_0x505a29={};a40_0x505a29[a40_0x51b20d(0x110)]=a40_0x51b20d(0x10d)+a40_0x51b20d(0x10b)+a40_0x51b20d(0x10f);function a40_0x1f9c(){const _0x25af09=['format','toString','77310JvtKYV','THH:mm:ss.','4025035JubbPJ','recursive','3266970jQSpKu','json','Console','combined.l','SSSZ','312208JkHFMc','(((.+)+)+)','add','1070WcyoQf','join','9003428xYEupc','transports','4IcogwW','error','info','4380232WFbpXA','2RQegdW','create\x20log','existsSync','keys','267327obbseP','length','File','combine','errors','search','s\x20director','resolve','printf','dirname','createLogg','../..','timestamp','-code-gene','colorize','mcp-secure','YYYY-MM-DD','rator','service','stringify','Failed\x20to\x20','mkdirSync','warn','stack','error.log'];a40_0x1f9c=function(){return _0x25af09;};return a40_0x1f9c();}export const logger=a40_0xe29294[a40_0x51b20d(0x108)+'er']({'level':process.env.LOG_LEVEL||a40_0x51b20d(0xf8),'format':a40_0xe29294[a40_0x51b20d(0x117)]['combine'](a40_0xe29294[a40_0x51b20d(0x117)]['timestamp'](),a40_0xe29294[a40_0x51b20d(0x117)][a40_0x51b20d(0x102)](a40_0x286367),a40_0xe29294[a40_0x51b20d(0x117)][a40_0x51b20d(0x11e)]()),'defaultMeta':a40_0x505a29,'transports':[]});try{const a40_0x4ac445={};a40_0x4ac445['format']=a40_0x51b20d(0x10e)+a40_0x51b20d(0x11a)+a40_0x51b20d(0x121);const a40_0x1edd8a={};a40_0x1edd8a[a40_0x51b20d(0x115)]=!![],logger[a40_0x51b20d(0x124)](new a40_0xe29294[(a40_0x51b20d(0xf5))][(a40_0x51b20d(0x100))]({'filename':a40_0x2df6f7[a40_0x51b20d(0xf3)](logsDirAbs,a40_0x51b20d(0x116)),'level':a40_0x51b20d(0xf7),'format':a40_0xe29294['format'][a40_0x51b20d(0x101)](a40_0xe29294[a40_0x51b20d(0x117)][a40_0x51b20d(0x10a)](a40_0x4ac445),a40_0xe29294[a40_0x51b20d(0x117)][a40_0x51b20d(0x102)](a40_0x1edd8a),a40_0xe29294[a40_0x51b20d(0x117)]['json']())}));const a40_0x5d292b={};a40_0x5d292b[a40_0x51b20d(0x117)]='YYYY-MM-DD'+'THH:mm:ss.'+'SSSZ';const a40_0x18a026={};a40_0x18a026[a40_0x51b20d(0x115)]=!![],logger[a40_0x51b20d(0x124)](new a40_0xe29294[(a40_0x51b20d(0xf5))][(a40_0x51b20d(0x100))]({'filename':a40_0x2df6f7[a40_0x51b20d(0xf3)](logsDirAbs,a40_0x51b20d(0x120)+'og'),'format':a40_0xe29294[a40_0x51b20d(0x117)][a40_0x51b20d(0x101)](a40_0xe29294[a40_0x51b20d(0x117)][a40_0x51b20d(0x10a)](a40_0x5d292b),a40_0xe29294[a40_0x51b20d(0x117)][a40_0x51b20d(0x102)](a40_0x18a026),a40_0xe29294[a40_0x51b20d(0x117)]['json']())}));}catch(a40_0x4c15a1){console[a40_0x51b20d(0xf7)](a40_0x51b20d(0x112)+'add\x20file\x20t'+'ransports:',a40_0x4c15a1);}if(enableConsole){const a40_0x5a428f={};a40_0x5a428f[a40_0x51b20d(0x117)]=a40_0x51b20d(0x10e)+a40_0x51b20d(0x11a)+a40_0x51b20d(0x121),logger['add'](new a40_0xe29294[(a40_0x51b20d(0xf5))][(a40_0x51b20d(0x11f))]({'format':a40_0xe29294['format']['combine'](a40_0xe29294[a40_0x51b20d(0x117)][a40_0x51b20d(0x10c)](),a40_0xe29294['format'][a40_0x51b20d(0x10a)](a40_0x5a428f),a40_0xe29294[a40_0x51b20d(0x117)][a40_0x51b20d(0x106)](_0x1b8982=>{const _0x137cf9=a40_0x51b20d,{level:_0x37f0a1,message:_0x3ad1bb,timestamp:_0x50ceb9,..._0x534630}=_0x1b8982,_0x3e7e7f=Object[_0x137cf9(0xfd)](_0x534630)[_0x137cf9(0xff)]?'\x20'+JSON[_0x137cf9(0x111)](_0x534630):'';return'['+_0x50ceb9+']\x20'+_0x37f0a1+':\x20'+_0x3ad1bb+_0x3e7e7f;})),'stderrLevels':[a40_0x51b20d(0xf7),a40_0x51b20d(0x114)]}));}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sparrowai/sparrow-mcp",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "sparrow-mcp-test": "./bin/sparrow-mcp-test.cjs"
@@ -15,6 +15,7 @@
15
15
  "dev": "tsx watch src/server.ts",
16
16
  "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
17
17
  "test:coverage": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage",
18
+ "test:mcp": "tsx scripts/test-runner/standalone-test.ts",
18
19
  "inspector": "tsx scripts/mcp-inspector.ts",
19
20
  "inspector:local": "tsx scripts/mcp-inspector.ts --target local --output all",
20
21
  "inspector:npm": "tsx scripts/mcp-inspector.ts --target npm --output all",