@sparrowai/sparrow-mcp 1.1.6 → 1.1.8

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 (53) 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.d.ts +8 -4
  16. package/dist/src/controllers/sast.controller.js +1 -1
  17. package/dist/src/controllers/sca.controller.d.ts +8 -4
  18. package/dist/src/controllers/sca.controller.js +1 -1
  19. package/dist/src/controllers/security.controller.js +1 -1
  20. package/dist/src/controllers/system.controller.js +1 -1
  21. package/dist/src/schemas/tool.schemas.d.ts +8 -0
  22. package/dist/src/schemas/tool.schemas.js +1 -1
  23. package/dist/src/server.js +1 -1
  24. package/dist/src/services/__tests__/checker.service.test.js +1 -1
  25. package/dist/src/services/__tests__/llm.service.test.js +1 -1
  26. package/dist/src/services/__tests__/s3.service.test.js +1 -1
  27. package/dist/src/services/__tests__/sparrow.service.test.js +1 -1
  28. package/dist/src/services/analysis.service.d.ts +20 -23
  29. package/dist/src/services/analysis.service.js +1 -1
  30. package/dist/src/services/checker.service.js +1 -1
  31. package/dist/src/services/llm/AnthropicProvider.js +1 -1
  32. package/dist/src/services/llm/BedrockProvider.js +1 -1
  33. package/dist/src/services/llm/GeminiProvider.js +1 -1
  34. package/dist/src/services/llm/LLMFactory.js +1 -1
  35. package/dist/src/services/llm/LLMProvider.js +1 -1
  36. package/dist/src/services/llm/OllamaProvider.js +1 -1
  37. package/dist/src/services/llm/OpenAIProvider.js +1 -1
  38. package/dist/src/services/llm.service.js +1 -1
  39. package/dist/src/services/s3.service.js +1 -1
  40. package/dist/src/services/sparrow.service.js +1 -1
  41. package/dist/src/types/types.d.ts +5 -0
  42. package/dist/src/types/types.js +1 -1
  43. package/dist/src/utils/__tests__/crypto.util.test.js +1 -1
  44. package/dist/src/utils/__tests__/diff.util.test.js +1 -1
  45. package/dist/src/utils/__tests__/fileManager.test.js +1 -1
  46. package/dist/src/utils/__tests__/fileManagerSecure.test.js +1 -1
  47. package/dist/src/utils/__tests__/logger.test.js +1 -1
  48. package/dist/src/utils/crypto.util.js +1 -1
  49. package/dist/src/utils/diff.util.js +1 -1
  50. package/dist/src/utils/fileManager.js +1 -1
  51. package/dist/src/utils/fileManagerSecure.js +1 -1
  52. package/dist/src/utils/logger.js +1 -1
  53. package/package.json +1 -1
@@ -1 +1 @@
1
- const a44_0x6b02eb=a44_0x3a1f;(function(_0x43f990,_0xa78f36){const _0x2d880f=a44_0x3a1f,_0x2a4707=_0x43f990();while(!![]){try{const _0x336b71=parseInt(_0x2d880f(0xd0))/0x1*(-parseInt(_0x2d880f(0x9c))/0x2)+parseInt(_0x2d880f(0xbe))/0x3+parseInt(_0x2d880f(0xad))/0x4*(parseInt(_0x2d880f(0xb4))/0x5)+-parseInt(_0x2d880f(0x9f))/0x6*(parseInt(_0x2d880f(0xb7))/0x7)+-parseInt(_0x2d880f(0xb3))/0x8*(-parseInt(_0x2d880f(0xa3))/0x9)+parseInt(_0x2d880f(0xc6))/0xa*(parseInt(_0x2d880f(0xb1))/0xb)+-parseInt(_0x2d880f(0xa0))/0xc*(-parseInt(_0x2d880f(0xbd))/0xd);if(_0x336b71===_0xa78f36)break;else _0x2a4707['push'](_0x2a4707['shift']());}catch(_0x4572b7){_0x2a4707['push'](_0x2a4707['shift']());}}}(a44_0x2cf9,0x4bb14));const a44_0x224a7c=(function(){let _0x36701f=!![];return function(_0x185219,_0x6d2ee3){const _0x337ea0=_0x36701f?function(){const _0x2c7720=a44_0x3a1f;if(_0x6d2ee3){const _0x1cf283=_0x6d2ee3[_0x2c7720(0xc2)](_0x185219,arguments);return _0x6d2ee3=null,_0x1cf283;}}:function(){};return _0x36701f=![],_0x337ea0;};}()),a44_0x56d176=a44_0x224a7c(this,function(){const _0x703284=a44_0x3a1f;return a44_0x56d176[_0x703284(0xab)]()[_0x703284(0xbc)](_0x703284(0xa8)+'+$')['toString']()[_0x703284(0xcf)+'r'](a44_0x56d176)['search'](_0x703284(0xa8)+'+$');});a44_0x56d176();import{jest,describe,it,expect,beforeEach}from'@jest/globals';import a44_0x5ddef1 from'path';function a44_0x2cf9(){const _0x14b0d8=['ync','Called','n\x20path\x20tra','constructo','2YTWluU','mockReturn','ow\x20error\x20o','content','475526QBiqbo','ockModule','FileManage','6gWpuYl','24sSwLjE','test.txt','/base/dir','287262sQgUKa','NIsul','.js','SGgZQ','toBe','(((.+)+)+)','readFile','agerSecure','toString','versal','244100hnxtfC','d\x20file\x20sec','existsSync','writeFileS','297qCeIpL','readFileSy','40eHsRmr','45GmgBUz','../fileMan','writeFile','2827615salzDC','cks','should\x20thr','should\x20wri','curely','search','1279798reZdAg','703899YQklyF','gEJDI','te\x20file\x20se','should\x20rea','apply','passwd','../../etc/','toThrow','18210DLBjKv','DYJrV','unstable_m','Access\x20den','r\x20(Secure)','ied'];a44_0x2cf9=function(){return _0x14b0d8;};return a44_0x2cf9();}const mockReadFileSync=jest['fn'](),mockWriteFileSync=jest['fn'](),mockExistsSync=jest['fn'](),mockUnlinkSync=jest['fn'](),a44_0x2cc018={};a44_0x2cc018[a44_0x6b02eb(0xb2)+'nc']=mockReadFileSync,a44_0x2cc018[a44_0x6b02eb(0xb0)+a44_0x6b02eb(0xcc)]=mockWriteFileSync,a44_0x2cc018[a44_0x6b02eb(0xaf)]=mockExistsSync,a44_0x2cc018['unlinkSync']=mockUnlinkSync,jest[a44_0x6b02eb(0xc8)+a44_0x6b02eb(0x9d)]('fs',()=>({'default':a44_0x2cc018,'readFileSync':mockReadFileSync,'writeFileSync':mockWriteFileSync,'existsSync':mockExistsSync,'unlinkSync':mockUnlinkSync}));const {FileManager}=await import(a44_0x6b02eb(0xb5)+a44_0x6b02eb(0xaa)+a44_0x6b02eb(0xa5));function a44_0x3a1f(_0x2d78c1,_0x11f190){_0x2d78c1=_0x2d78c1-0x9a;const _0x53b479=a44_0x2cf9();let _0x56d176=_0x53b479[_0x2d78c1];return _0x56d176;}describe(a44_0x6b02eb(0x9e)+a44_0x6b02eb(0xca),()=>{const _0x5485fc=a44_0x6b02eb,_0x11ab6c={'DYJrV':function(_0xa1707c,_0x3b63e5,_0x37db62){return _0xa1707c(_0x3b63e5,_0x37db62);},'NIsul':function(_0x5bcfb7,_0x5d8efe,_0x6ca5ae){return _0x5bcfb7(_0x5d8efe,_0x6ca5ae);},'csuUm':_0x5485fc(0x9b),'SGgZQ':function(_0x32e91f,_0x44e5ac){return _0x32e91f(_0x44e5ac);}};let _0x587103;const _0x41ddd3=a44_0x5ddef1['resolve'](_0x5485fc(0xa2));beforeEach(()=>{const _0x1df5f3=_0x5485fc;jest['clearAllMo'+_0x1df5f3(0xb8)](),_0x587103=new FileManager(_0x41ddd3);}),describe(_0x5485fc(0xa9),()=>{const _0x58b926=_0x5485fc,_0x4fbb86={};_0x4fbb86[_0x58b926(0xbf)]=_0x58b926(0x9b);const _0x2184bb=_0x4fbb86;_0x11ab6c[_0x58b926(0xc7)](it,_0x58b926(0xc1)+_0x58b926(0xae)+'urely',()=>{const _0x1b6b98=_0x58b926;mockReadFileSync[_0x1b6b98(0xd1)+'Value'](_0x2184bb[_0x1b6b98(0xbf)]);const _0x34d011=_0x587103[_0x1b6b98(0xa9)](_0x1b6b98(0xa1));expect(_0x34d011)[_0x1b6b98(0xa7)](_0x1b6b98(0x9b));}),_0x11ab6c[_0x58b926(0xa4)](it,_0x58b926(0xb9)+_0x58b926(0x9a)+_0x58b926(0xce)+'versal',()=>{const _0x4602d7=_0x58b926;expect(()=>{const _0x1266f7=a44_0x3a1f;_0x587103[_0x1266f7(0xa9)](_0x1266f7(0xc4)+_0x1266f7(0xc3));})[_0x4602d7(0xc5)](_0x4602d7(0xc9)+_0x4602d7(0xcb));});}),describe('writeFile',()=>{const _0x56d161=_0x5485fc;it(_0x56d161(0xba)+_0x56d161(0xc0)+_0x56d161(0xbb),()=>{const _0x4c7f6f=_0x56d161;_0x587103[_0x4c7f6f(0xb6)](_0x4c7f6f(0xa1),_0x11ab6c['csuUm']),_0x11ab6c[_0x4c7f6f(0xa6)](expect,mockWriteFileSync)['toHaveBeen'+_0x4c7f6f(0xcd)]();}),it(_0x56d161(0xb9)+_0x56d161(0x9a)+'n\x20path\x20tra'+_0x56d161(0xac),()=>{const _0x187ed0=_0x56d161;expect(()=>{const _0x49b613=a44_0x3a1f;_0x587103[_0x49b613(0xb6)]('../hack.tx'+'t',_0x49b613(0x9b));})['toThrow'](_0x187ed0(0xc9)+_0x187ed0(0xcb));});});});
1
+ const a44_0x2d8f54=a44_0xf43e;(function(_0x34771f,_0x485601){const _0x38b1ce=a44_0xf43e,_0x2844e7=_0x34771f();while(!![]){try{const _0x1f2e51=-parseInt(_0x38b1ce(0xf3))/0x1+-parseInt(_0x38b1ce(0xed))/0x2+-parseInt(_0x38b1ce(0xfc))/0x3+parseInt(_0x38b1ce(0x106))/0x4+-parseInt(_0x38b1ce(0x103))/0x5+-parseInt(_0x38b1ce(0x10f))/0x6*(parseInt(_0x38b1ce(0x117))/0x7)+parseInt(_0x38b1ce(0xf9))/0x8;if(_0x1f2e51===_0x485601)break;else _0x2844e7['push'](_0x2844e7['shift']());}catch(_0x48ead9){_0x2844e7['push'](_0x2844e7['shift']());}}}(a44_0x3a3d,0x1dfca));const a44_0x4db6d1=(function(){let _0x5c36c1=!![];return function(_0xba3191,_0x16d371){const _0x4b456e=_0x5c36c1?function(){const _0x1b72c1=a44_0xf43e;if(_0x16d371){const _0x268c68=_0x16d371[_0x1b72c1(0xf4)](_0xba3191,arguments);return _0x16d371=null,_0x268c68;}}:function(){};return _0x5c36c1=![],_0x4b456e;};}()),a44_0x4ee4e4=a44_0x4db6d1(this,function(){const _0x238fbd=a44_0xf43e;return a44_0x4ee4e4[_0x238fbd(0xf7)]()[_0x238fbd(0xfe)]('(((.+)+)+)'+'+$')['toString']()[_0x238fbd(0xf0)+'r'](a44_0x4ee4e4)[_0x238fbd(0xfe)](_0x238fbd(0x115)+'+$');});a44_0x4ee4e4();import{jest,describe,it,expect,beforeEach}from'@jest/globals';function a44_0x3a3d(){const _0x566655=['writeFile','18acMnjc','n\x20path\x20tra','ync','toHaveBeen','cks','toBe','(((.+)+)+)','toThrow','520093kOkGQl','agerSecure','te\x20file\x20se','writeFileS','should\x20rea','ockModule','331572nNKjES','r\x20(Secure)','versal','constructo','ied','sesdu','236002FRfwNc','apply','../fileMan','passwd','toString','readFile','7207512FJIAmp','Access\x20den','Value','589914zNZFKz','../../etc/','search','clearAllMo','readFileSy','ow\x20error\x20o','test.txt','62450igtpnr','unlinkSync','content','222800RZXPxw','should\x20wri','.js','/base/dir','GgJsu','urely','FileManage','should\x20thr'];a44_0x3a3d=function(){return _0x566655;};return a44_0x3a3d();}import a44_0x14ee22 from'path';function a44_0xf43e(_0x2a8662,_0x52ea47){_0x2a8662=_0x2a8662-0xe9;const _0x52a41b=a44_0x3a3d();let _0x4ee4e4=_0x52a41b[_0x2a8662];return _0x4ee4e4;}const mockReadFileSync=jest['fn'](),mockWriteFileSync=jest['fn'](),mockExistsSync=jest['fn'](),mockUnlinkSync=jest['fn'](),a44_0x208b29={};a44_0x208b29[a44_0x2d8f54(0x100)+'nc']=mockReadFileSync,a44_0x208b29[a44_0x2d8f54(0xea)+a44_0x2d8f54(0x111)]=mockWriteFileSync,a44_0x208b29['existsSync']=mockExistsSync,a44_0x208b29[a44_0x2d8f54(0x104)]=mockUnlinkSync,jest['unstable_m'+a44_0x2d8f54(0xec)]('fs',()=>({'default':a44_0x208b29,'readFileSync':mockReadFileSync,'writeFileSync':mockWriteFileSync,'existsSync':mockExistsSync,'unlinkSync':mockUnlinkSync}));const {FileManager}=await import(a44_0x2d8f54(0xf5)+a44_0x2d8f54(0x118)+a44_0x2d8f54(0x108));describe(a44_0x2d8f54(0x10c)+a44_0x2d8f54(0xee),()=>{const _0x1eedb9=a44_0x2d8f54,_0x28e319={'zDxGb':function(_0x36e488,_0x4a2ed6,_0x1de9a6){return _0x36e488(_0x4a2ed6,_0x1de9a6);},'GgJsu':'should\x20thr'+_0x1eedb9(0x101)+_0x1eedb9(0x110)+_0x1eedb9(0xef),'sesdu':'readFile'};let _0x258dd5;const _0x5cac4d=a44_0x14ee22['resolve'](_0x1eedb9(0x109));beforeEach(()=>{const _0x459f4c=_0x1eedb9;jest[_0x459f4c(0xff)+_0x459f4c(0x113)](),_0x258dd5=new FileManager(_0x5cac4d);}),describe(_0x28e319[_0x1eedb9(0xf2)],()=>{const _0x521413=_0x1eedb9;it(_0x521413(0xeb)+'d\x20file\x20sec'+_0x521413(0x10b),()=>{const _0x3bf372=_0x521413;mockReadFileSync['mockReturn'+_0x3bf372(0xfb)](_0x3bf372(0x105));const _0x5dfc7a=_0x258dd5[_0x3bf372(0xf8)](_0x3bf372(0x102));expect(_0x5dfc7a)[_0x3bf372(0x114)]('content');}),it(_0x521413(0x10d)+_0x521413(0x101)+_0x521413(0x110)+'versal',()=>{const _0x344606=_0x521413;expect(()=>{const _0x3a6f21=a44_0xf43e;_0x258dd5[_0x3a6f21(0xf8)](_0x3a6f21(0xfd)+_0x3a6f21(0xf6));})[_0x344606(0x116)](_0x344606(0xfa)+_0x344606(0xf1));});}),describe('writeFile',()=>{const _0x425689=_0x1eedb9;it(_0x425689(0x107)+_0x425689(0xe9)+'curely',()=>{const _0x1ea9d9=_0x425689;_0x258dd5[_0x1ea9d9(0x10e)](_0x1ea9d9(0x102),_0x1ea9d9(0x105)),expect(mockWriteFileSync)[_0x1ea9d9(0x112)+'Called']();}),_0x28e319['zDxGb'](it,_0x28e319[_0x425689(0x10a)],()=>{const _0x31109d=_0x425689;expect(()=>{const _0x4e100d=a44_0xf43e;_0x258dd5[_0x4e100d(0x10e)]('../hack.tx'+'t','content');})[_0x31109d(0x116)](_0x31109d(0xfa)+_0x31109d(0xf1));});});});
@@ -1 +1 @@
1
- const a45_0x11a789=a45_0x3370;function a45_0x3370(_0x43f3bb,_0x5afeb9){_0x43f3bb=_0x43f3bb-0x128;const _0x37f46c=a45_0x1e5d();let _0x15f723=_0x37f46c[_0x43f3bb];return _0x15f723;}function a45_0x1e5d(){const _0x4b0a71=['toHaveBeen','toBeDefine','7318530YQLlNV','16DXBEOr','704KannGq','search','transports','should\x20log','toString','format','test\x20info','initialize','3196623qtKzIO','7142280QnPGyV','kvLNt','constructo','winston','ockModule','2582839usmSbO','MEaef','4OeDdxd','(((.+)+)+)','../logger.','90rwjfGN','483216ZsTnpx','462155oSyyXK','4cWaULY','info','CalledWith','apply','195273RhjmBH','Called'];a45_0x1e5d=function(){return _0x4b0a71;};return a45_0x1e5d();}(function(_0x227eef,_0x5307e3){const _0x497b82=a45_0x3370,_0x11701a=_0x227eef();while(!![]){try{const _0x320a6f=parseInt(_0x497b82(0x13b))/0x1*(parseInt(_0x497b82(0x136))/0x2)+parseInt(_0x497b82(0x12e))/0x3+-parseInt(_0x497b82(0x13c))/0x4*(parseInt(_0x497b82(0x144))/0x5)+-parseInt(_0x497b82(0x12f))/0x6+-parseInt(_0x497b82(0x134))/0x7*(parseInt(_0x497b82(0x145))/0x8)+parseInt(_0x497b82(0x140))/0x9*(-parseInt(_0x497b82(0x139))/0xa)+parseInt(_0x497b82(0x146))/0xb*(parseInt(_0x497b82(0x13a))/0xc);if(_0x320a6f===_0x5307e3)break;else _0x11701a['push'](_0x11701a['shift']());}catch(_0x11d15d){_0x11701a['push'](_0x11701a['shift']());}}}(a45_0x1e5d,0xef2ea));const a45_0x134f93=(function(){let _0x3b383f=!![];return function(_0x3eef88,_0x4df317){const _0x500016=_0x3b383f?function(){const _0x283254=a45_0x3370;if(_0x4df317){const _0x56b109=_0x4df317[_0x283254(0x13f)](_0x3eef88,arguments);return _0x4df317=null,_0x56b109;}}:function(){};return _0x3b383f=![],_0x500016;};}()),a45_0x15f723=a45_0x134f93(this,function(){const _0x2b8b00=a45_0x3370;return a45_0x15f723[_0x2b8b00(0x12a)]()[_0x2b8b00(0x147)](_0x2b8b00(0x137)+'+$')[_0x2b8b00(0x12a)]()[_0x2b8b00(0x131)+'r'](a45_0x15f723)[_0x2b8b00(0x147)](_0x2b8b00(0x137)+'+$');});a45_0x15f723();import{jest,describe,it,expect}from'@jest/globals';const mockInfo=jest['fn'](),mockWarn=jest['fn'](),mockError=jest['fn'](),mockDebug=jest['fn'](),mockLogger={'info':mockInfo,'warn':mockWarn,'error':mockError,'debug':mockDebug,'add':jest['fn']()},mockCreateLogger=jest['fn'](()=>mockLogger),mockTransports={'Console':jest['fn'](),'File':jest['fn']()},mockFormat={'combine':jest['fn'](),'timestamp':jest['fn'](),'printf':jest['fn'](),'colorize':jest['fn'](),'simple':jest['fn'](),'errors':jest['fn'](),'json':jest['fn']()},a45_0x149796={};a45_0x149796['createLogg'+'er']=mockCreateLogger,a45_0x149796[a45_0x11a789(0x128)]=mockTransports,a45_0x149796[a45_0x11a789(0x12b)]=mockFormat,jest['unstable_m'+a45_0x11a789(0x133)](a45_0x11a789(0x132),()=>({'default':a45_0x149796,'createLogger':mockCreateLogger,'transports':mockTransports,'format':mockFormat}));const {logger}=await import(a45_0x11a789(0x138)+'js');describe('Logger',()=>{const _0xf2518f=a45_0x11a789,_0x2509b1={'MEaef':function(_0x4a5ad2,_0x1e73d8){return _0x4a5ad2(_0x1e73d8);},'kvLNt':'should\x20log'+'\x20info'};it('should\x20be\x20'+_0xf2518f(0x12d)+'d',()=>{const _0x5910bb=_0xf2518f;expect(logger)[_0x5910bb(0x143)+'d'](),_0x2509b1[_0x5910bb(0x135)](expect,mockCreateLogger)[_0x5910bb(0x142)+_0x5910bb(0x141)]();}),it(_0x2509b1[_0xf2518f(0x130)],()=>{const _0x16e629=_0xf2518f;logger[_0x16e629(0x13d)](_0x16e629(0x12c)),expect(mockInfo)[_0x16e629(0x142)+_0x16e629(0x13e)](_0x16e629(0x12c));}),it(_0xf2518f(0x129)+'\x20error',()=>{const _0x5a4f49=_0xf2518f;logger['error']('test\x20error'),expect(mockError)[_0x5a4f49(0x142)+_0x5a4f49(0x13e)]('test\x20error');});});
1
+ const a45_0x313167=a45_0x2ee6;(function(_0x1a2aa1,_0x3f6c2c){const _0x3c8b17=a45_0x2ee6,_0x479a54=_0x1a2aa1();while(!![]){try{const _0x3a5332=-parseInt(_0x3c8b17(0x1bf))/0x1*(parseInt(_0x3c8b17(0x1cc))/0x2)+parseInt(_0x3c8b17(0x1b2))/0x3+parseInt(_0x3c8b17(0x1b8))/0x4+parseInt(_0x3c8b17(0x1bc))/0x5*(-parseInt(_0x3c8b17(0x1c1))/0x6)+-parseInt(_0x3c8b17(0x1c8))/0x7+-parseInt(_0x3c8b17(0x1b3))/0x8*(-parseInt(_0x3c8b17(0x1b4))/0x9)+-parseInt(_0x3c8b17(0x1c0))/0xa*(-parseInt(_0x3c8b17(0x1ce))/0xb);if(_0x3a5332===_0x3f6c2c)break;else _0x479a54['push'](_0x479a54['shift']());}catch(_0x39e085){_0x479a54['push'](_0x479a54['shift']());}}}(a45_0x255c,0xa24f3));const a45_0x4e6ea5=(function(){let _0x544c7e=!![];return function(_0x32ff57,_0x4c3a98){const _0x4e0867=_0x544c7e?function(){const _0x4c2b60=a45_0x2ee6;if(_0x4c3a98){const _0x47f00a=_0x4c3a98[_0x4c2b60(0x1c9)](_0x32ff57,arguments);return _0x4c3a98=null,_0x47f00a;}}:function(){};return _0x544c7e=![],_0x4e0867;};}()),a45_0x536e40=a45_0x4e6ea5(this,function(){const _0x304da8=a45_0x2ee6,_0x29850f={};_0x29850f[_0x304da8(0x1c6)]='(((.+)+)+)'+'+$';const _0x85e7d0=_0x29850f;return a45_0x536e40[_0x304da8(0x1be)]()[_0x304da8(0x1b1)](_0x304da8(0x1bd)+'+$')[_0x304da8(0x1be)]()[_0x304da8(0x1b5)+'r'](a45_0x536e40)[_0x304da8(0x1b1)](_0x85e7d0[_0x304da8(0x1c6)]);});function a45_0x255c(){const _0x581736=['winston','transports','Called','search','1884483CHCxbq','8WnIjRQ','1374120HJWdKP','constructo','initialize','unstable_m','146428rOdQID','CalledWith','toBeDefine','format','475sCilQl','(((.+)+)+)','toString','1sTLZrA','48740yUBpbO','52236uiZsfz','info','test\x20error','test\x20info','should\x20log','QizZc','error','8718486ZAXItQ','apply','\x20error','createLogg','2086906GPYCeN','toHaveBeen','6688jyCnGu'];a45_0x255c=function(){return _0x581736;};return a45_0x255c();}a45_0x536e40();import{jest,describe,it,expect}from'@jest/globals';const mockInfo=jest['fn'](),mockWarn=jest['fn'](),mockError=jest['fn'](),mockDebug=jest['fn'](),mockLogger={'info':mockInfo,'warn':mockWarn,'error':mockError,'debug':mockDebug,'add':jest['fn']()},mockCreateLogger=jest['fn'](()=>mockLogger),mockTransports={'Console':jest['fn'](),'File':jest['fn']()},mockFormat={'combine':jest['fn'](),'timestamp':jest['fn'](),'printf':jest['fn'](),'colorize':jest['fn'](),'simple':jest['fn'](),'errors':jest['fn'](),'json':jest['fn']()},a45_0x29a8bd={};a45_0x29a8bd[a45_0x313167(0x1cb)+'er']=mockCreateLogger,a45_0x29a8bd[a45_0x313167(0x1d0)]=mockTransports,a45_0x29a8bd[a45_0x313167(0x1bb)]=mockFormat,jest[a45_0x313167(0x1b7)+'ockModule'](a45_0x313167(0x1cf),()=>({'default':a45_0x29a8bd,'createLogger':mockCreateLogger,'transports':mockTransports,'format':mockFormat}));const {logger}=await import('../logger.'+'js');function a45_0x2ee6(_0x2657e7,_0x4d9b36){_0x2657e7=_0x2657e7-0x1b0;const _0x2abef6=a45_0x255c();let _0x536e40=_0x2abef6[_0x2657e7];return _0x536e40;}describe('Logger',()=>{const _0x5849b7=a45_0x313167;it('should\x20be\x20'+_0x5849b7(0x1b6)+'d',()=>{const _0x333961=_0x5849b7;expect(logger)[_0x333961(0x1ba)+'d'](),expect(mockCreateLogger)[_0x333961(0x1cd)+_0x333961(0x1b0)]();}),it(_0x5849b7(0x1c5)+'\x20info',()=>{const _0x109455=_0x5849b7;logger[_0x109455(0x1c2)](_0x109455(0x1c4)),expect(mockInfo)['toHaveBeen'+_0x109455(0x1b9)](_0x109455(0x1c4));}),it(_0x5849b7(0x1c5)+_0x5849b7(0x1ca),()=>{const _0x15853e=_0x5849b7;logger[_0x15853e(0x1c7)](_0x15853e(0x1c3)),expect(mockError)[_0x15853e(0x1cd)+_0x15853e(0x1b9)](_0x15853e(0x1c3));});});
@@ -1 +1 @@
1
- (function(_0x5e5ccc,_0x20093f){const _0x46dfdf=a36_0x554f,_0x2069e3=_0x5e5ccc();while(!![]){try{const _0x4d0957=parseInt(_0x46dfdf(0xe5))/0x1+parseInt(_0x46dfdf(0xda))/0x2+parseInt(_0x46dfdf(0xde))/0x3+-parseInt(_0x46dfdf(0xee))/0x4*(-parseInt(_0x46dfdf(0xe2))/0x5)+-parseInt(_0x46dfdf(0xe0))/0x6+-parseInt(_0x46dfdf(0xe4))/0x7*(-parseInt(_0x46dfdf(0xe3))/0x8)+-parseInt(_0x46dfdf(0xed))/0x9*(parseInt(_0x46dfdf(0xec))/0xa);if(_0x4d0957===_0x20093f)break;else _0x2069e3['push'](_0x2069e3['shift']());}catch(_0x1f443c){_0x2069e3['push'](_0x2069e3['shift']());}}}(a36_0x4b86,0x884cd));function a36_0x4b86(){const _0x52b70e=['5552984PoCPHu','7SNKrnF','530980lwJBTH','toString','constructo','base64','(((.+)+)+)','length','from','54110pHnGvN','2691goJIEi','1584748ZfHSUq','search','utf8','382892QLPDNl','apply','gEBzW','fromCharCo','2115462YRiIFO','ROyAU','2050296xvpShR','alloc','5naDFio'];a36_0x4b86=function(){return _0x52b70e;};return a36_0x4b86();}const a36_0x4534c7=(function(){let _0x524cce=!![];return function(_0x181983,_0x3df170){const _0x43468f=_0x524cce?function(){const _0x545537=a36_0x554f;if(_0x3df170){const _0x2bf651=_0x3df170[_0x545537(0xdb)](_0x181983,arguments);return _0x3df170=null,_0x2bf651;}}:function(){};return _0x524cce=![],_0x43468f;};}()),a36_0x3dc1c4=a36_0x4534c7(this,function(){const _0xd1cf4e=a36_0x554f,_0x38371f={};_0x38371f['ROyAU']=_0xd1cf4e(0xe9)+'+$';const _0x5c5682=_0x38371f;return a36_0x3dc1c4['toString']()[_0xd1cf4e(0xef)](_0xd1cf4e(0xe9)+'+$')[_0xd1cf4e(0xe6)]()[_0xd1cf4e(0xe7)+'r'](a36_0x3dc1c4)[_0xd1cf4e(0xef)](_0x5c5682[_0xd1cf4e(0xdf)]);});function a36_0x554f(_0x2b3534,_0x406e61){_0x2b3534=_0x2b3534-0xda;const _0x5bc68f=a36_0x4b86();let _0x3dc1c4=_0x5bc68f[_0x2b3534];return _0x3dc1c4;}a36_0x3dc1c4();export function encryptString(_0x4fc0ba,_0x5c217a){const _0x2d5617=a36_0x554f,_0x5bc2b5=Buffer[_0x2d5617(0xeb)](_0x5c217a,_0x2d5617(0xf0)),_0x20d82a=Buffer[_0x2d5617(0xeb)](_0x4fc0ba,_0x2d5617(0xf0)),_0x30405b=Buffer[_0x2d5617(0xe1)](_0x20d82a[_0x2d5617(0xea)]);for(let _0x2e6bfb=0x0;_0x2e6bfb<_0x20d82a[_0x2d5617(0xea)];_0x2e6bfb++){_0x30405b[_0x2e6bfb]=_0x20d82a[_0x2e6bfb]^_0x5bc2b5[_0x2e6bfb%_0x5bc2b5[_0x2d5617(0xea)]];}return _0x30405b[_0x2d5617(0xe6)](_0x2d5617(0xe8));}export function decryptString(_0x503bb4,_0x1b2aaa){const _0x33e179=a36_0x554f,_0x1f41b6=Buffer[_0x33e179(0xeb)](_0x1b2aaa,_0x33e179(0xf0)),_0x2eec15=Buffer[_0x33e179(0xeb)](_0x503bb4,_0x33e179(0xe8)),_0x32c292=Buffer[_0x33e179(0xe1)](_0x2eec15[_0x33e179(0xea)]);for(let _0x13f6ed=0x0;_0x13f6ed<_0x2eec15[_0x33e179(0xea)];_0x13f6ed++){_0x32c292[_0x13f6ed]=_0x2eec15[_0x13f6ed]^_0x1f41b6[_0x13f6ed%_0x1f41b6[_0x33e179(0xea)]];}return _0x32c292['toString'](_0x33e179(0xf0));}export function decryptInternal(_0x2c30f1){const _0x31be75=a36_0x554f,_0x45c01a={};_0x45c01a['gEBzW']=function(_0x53a10c,_0x689b0d){return _0x53a10c+_0x689b0d;};const _0x25269d=_0x45c01a,_0x5aecdb=String[_0x31be75(0xdd)+'de'](0x53,0x33,0x5f,0x4b,0x65,0x79),_0x22a51a=String[_0x31be75(0xdd)+'de'](0x5f,0x45,0x6e,0x63,0x72,0x79,0x70,0x74),_0x131d35=String[_0x31be75(0xdd)+'de'](0x5f,0x32,0x30,0x32,0x34),_0x2274e7=_0x25269d[_0x31be75(0xdc)](_0x5aecdb,_0x22a51a)+_0x131d35;return decryptString(_0x2c30f1,_0x2274e7);}
1
+ (function(_0x2e7268,_0x4b6caf){const _0x50e0dd=a36_0x16ac,_0x120532=_0x2e7268();while(!![]){try{const _0x5674c3=parseInt(_0x50e0dd(0xaa))/0x1*(parseInt(_0x50e0dd(0xb4))/0x2)+parseInt(_0x50e0dd(0xb9))/0x3+parseInt(_0x50e0dd(0xb3))/0x4+parseInt(_0x50e0dd(0xab))/0x5*(parseInt(_0x50e0dd(0xb6))/0x6)+parseInt(_0x50e0dd(0xb7))/0x7*(parseInt(_0x50e0dd(0xae))/0x8)+-parseInt(_0x50e0dd(0xa9))/0x9*(parseInt(_0x50e0dd(0xbe))/0xa)+-parseInt(_0x50e0dd(0xbf))/0xb*(parseInt(_0x50e0dd(0xba))/0xc);if(_0x5674c3===_0x4b6caf)break;else _0x120532['push'](_0x120532['shift']());}catch(_0x3938a3){_0x120532['push'](_0x120532['shift']());}}}(a36_0x13d8,0x5dff0));const a36_0x541ee4=(function(){let _0x4b3102=!![];return function(_0x3ef14b,_0x5587af){const _0x231bfc=_0x4b3102?function(){if(_0x5587af){const _0x2b2a65=_0x5587af['apply'](_0x3ef14b,arguments);return _0x5587af=null,_0x2b2a65;}}:function(){};return _0x4b3102=![],_0x231bfc;};}()),a36_0x596976=a36_0x541ee4(this,function(){const _0x35a360=a36_0x16ac;return a36_0x596976[_0x35a360(0xbd)]()['search']('(((.+)+)+)'+'+$')['toString']()[_0x35a360(0xaf)+'r'](a36_0x596976)[_0x35a360(0xad)](_0x35a360(0xb8)+'+$');});function a36_0x16ac(_0x4e69b1,_0x8c2a6d){_0x4e69b1=_0x4e69b1-0xa9;const _0x3c8866=a36_0x13d8();let _0x596976=_0x3c8866[_0x4e69b1];return _0x596976;}a36_0x596976();function a36_0x13d8(){const _0x26bd05=['1581140GRJKRi','69384dgWhmU','bTytK','941916sHWggf','532loQqsZ','(((.+)+)+)','1998606BEyRKQ','12UIPaTf','utf8','fromCharCo','toString','10KKLCwZ','6277876gCaqBa','from','6025473ESVinF','2ndBvzs','5bmiWKZ','base64','search','35512cVqfhY','constructo','length','BwHmm','alloc'];a36_0x13d8=function(){return _0x26bd05;};return a36_0x13d8();}export function encryptString(_0x7ef2e1,_0x32df42){const _0x2809c8=a36_0x16ac,_0x52c183=Buffer['from'](_0x32df42,_0x2809c8(0xbb)),_0x557282=Buffer[_0x2809c8(0xc0)](_0x7ef2e1,_0x2809c8(0xbb)),_0x5d23bd=Buffer[_0x2809c8(0xb2)](_0x557282[_0x2809c8(0xb0)]);for(let _0x3bdefb=0x0;_0x3bdefb<_0x557282[_0x2809c8(0xb0)];_0x3bdefb++){_0x5d23bd[_0x3bdefb]=_0x557282[_0x3bdefb]^_0x52c183[_0x3bdefb%_0x52c183[_0x2809c8(0xb0)]];}return _0x5d23bd[_0x2809c8(0xbd)]('base64');}export function decryptString(_0x2bcd42,_0x377d18){const _0x55e429=a36_0x16ac,_0x30fa12={};_0x30fa12[_0x55e429(0xb5)]='utf8',_0x30fa12['LBafI']=_0x55e429(0xac),_0x30fa12[_0x55e429(0xb1)]=function(_0xeec940,_0x49d9e4){return _0xeec940<_0x49d9e4;};const _0x47075d=_0x30fa12,_0x753362=Buffer[_0x55e429(0xc0)](_0x377d18,_0x47075d[_0x55e429(0xb5)]),_0x5b8ee0=Buffer['from'](_0x2bcd42,_0x47075d['LBafI']),_0x10c742=Buffer[_0x55e429(0xb2)](_0x5b8ee0[_0x55e429(0xb0)]);for(let _0xfe13b7=0x0;_0x47075d[_0x55e429(0xb1)](_0xfe13b7,_0x5b8ee0[_0x55e429(0xb0)]);_0xfe13b7++){_0x10c742[_0xfe13b7]=_0x5b8ee0[_0xfe13b7]^_0x753362[_0xfe13b7%_0x753362[_0x55e429(0xb0)]];}return _0x10c742[_0x55e429(0xbd)](_0x55e429(0xbb));}export function decryptInternal(_0x4a41ab){const _0x4fc090=a36_0x16ac,_0x5b63d5=String['fromCharCo'+'de'](0x53,0x33,0x5f,0x4b,0x65,0x79),_0x35d676=String[_0x4fc090(0xbc)+'de'](0x5f,0x45,0x6e,0x63,0x72,0x79,0x70,0x74),_0x14e116=String[_0x4fc090(0xbc)+'de'](0x5f,0x32,0x30,0x32,0x34),_0x3b5a1e=_0x5b63d5+_0x35d676+_0x14e116;return decryptString(_0x4a41ab,_0x3b5a1e);}
@@ -1 +1 @@
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
+ const a37_0x2506f6=a37_0x2a19;(function(_0x349bee,_0x30fcdd){const _0x34789c=a37_0x2a19,_0x5b8ff5=_0x349bee();while(!![]){try{const _0x487ef7=-parseInt(_0x34789c(0x1b3))/0x1*(-parseInt(_0x34789c(0x1b8))/0x2)+-parseInt(_0x34789c(0x1d6))/0x3+parseInt(_0x34789c(0x1d4))/0x4+parseInt(_0x34789c(0x1d3))/0x5+-parseInt(_0x34789c(0x1d7))/0x6+parseInt(_0x34789c(0x1c2))/0x7*(-parseInt(_0x34789c(0x1ba))/0x8)+-parseInt(_0x34789c(0x1cf))/0x9;if(_0x487ef7===_0x30fcdd)break;else _0x5b8ff5['push'](_0x5b8ff5['shift']());}catch(_0x51ba49){_0x5b8ff5['push'](_0x5b8ff5['shift']());}}}(a37_0x4115,0x97c4d));function a37_0x2a19(_0x2f52c9,_0x3abe7a){_0x2f52c9=_0x2f52c9-0x1ac;const _0x5bb966=a37_0x4115();let _0x189bc3=_0x5bb966[_0x2f52c9];return _0x189bc3;}const a37_0x5c28b4=(function(){let _0x511537=!![];return function(_0x9fd65d,_0x30fa2c){const _0x7db2ff=_0x511537?function(){const _0x72d43e=a37_0x2a19;if(_0x30fa2c){const _0x56f762=_0x30fa2c[_0x72d43e(0x1c7)](_0x9fd65d,arguments);return _0x30fa2c=null,_0x56f762;}}:function(){};return _0x511537=![],_0x7db2ff;};}()),a37_0x189bc3=a37_0x5c28b4(this,function(){const _0x3dae89=a37_0x2a19,_0xae7e23={};_0xae7e23[_0x3dae89(0x1bd)]=_0x3dae89(0x1d2)+'+$';const _0x443027=_0xae7e23;return a37_0x189bc3[_0x3dae89(0x1cd)]()['search'](_0x443027[_0x3dae89(0x1bd)])[_0x3dae89(0x1cd)]()[_0x3dae89(0x1ad)+'r'](a37_0x189bc3)['search'](_0x3dae89(0x1d2)+'+$');});a37_0x189bc3();import{logger}from'./logger.js';function a37_0x4115(){const _0x190996=['+++\x20안전한\x20코드','ff\x20생성에\x20실패했','generateUn','oldStart','toString','@@\x20-1,','24606JfQTTQ','Unified\x20di','ifiedDiff','(((.+)+)+)','4453225OAgcGI','3709584lHvDNS','newCount','3227412kQSbUn','4067382ksMISX','Gawrv','Diff\x20생성\x20실패','@@\x20-','constructo','\x20@@','info','Diff\x20생성에\x20실','split','woNsz','285011VtHpzb','ff\x20생성\x20완료','error','코드\x20diff\x20생성','\x20완료','6mTEEKp','ff\x20생성\x20실패:','1179976TXMGbY','code.java','computeHun','bfYeQ','join','oldCount','push','length','14sOsCoV','newStart','max','습니다.','lines','apply','\x20+1,'];a37_0x4115=function(){return _0x190996;};return a37_0x4115();}export class DiffUtil{static['generateDi'+'ff'](_0x201412,_0x45cd56){const _0xbcc06c=a37_0x2a19,_0x5782c4={};_0x5782c4[_0xbcc06c(0x1d8)]=function(_0x2a0a29,_0x2283f3){return _0x2a0a29+_0x2283f3;};const _0x5097e5=_0x5782c4;try{const _0x3c44f4=_0x201412[_0xbcc06c(0x1b1)]('\x0a'),_0x7a8020=_0x45cd56[_0xbcc06c(0x1b1)]('\x0a'),_0x398af8=[];_0x398af8['push']('---\x20원본\x20코드'),_0x398af8[_0xbcc06c(0x1c0)](_0xbcc06c(0x1c9)),_0x398af8[_0xbcc06c(0x1c0)](_0x5097e5[_0xbcc06c(0x1d8)](_0xbcc06c(0x1ce),_0x3c44f4[_0xbcc06c(0x1c1)])+_0xbcc06c(0x1c8)+_0x7a8020[_0xbcc06c(0x1c1)]+_0xbcc06c(0x1ae));const _0x468b06=Math[_0xbcc06c(0x1c4)](_0x3c44f4[_0xbcc06c(0x1c1)],_0x7a8020[_0xbcc06c(0x1c1)]);for(let _0x371b43=0x0;_0x371b43<_0x468b06;_0x371b43++){const _0x80218d=_0x3c44f4[_0x371b43]||'',_0x4d658a=_0x7a8020[_0x371b43]||'';_0x80218d===_0x4d658a?_0x398af8[_0xbcc06c(0x1c0)]('\x20'+_0x80218d):(_0x80218d&&_0x398af8['push']('-'+_0x80218d),_0x4d658a&&_0x398af8[_0xbcc06c(0x1c0)]('+'+_0x4d658a));}return logger['info'](_0xbcc06c(0x1b6)+_0xbcc06c(0x1b7)),_0x398af8['join']('\x0a');}catch(_0xc2355f){return logger[_0xbcc06c(0x1b5)](_0xbcc06c(0x1d9)+':',_0xc2355f),_0xbcc06c(0x1b0)+'패했습니다.';}}static[a37_0x2506f6(0x1cb)+a37_0x2506f6(0x1d1)](_0x3b7af0,_0x4e0508,_0x5ed3d5=a37_0x2506f6(0x1bb)){const _0x4c6504=a37_0x2506f6;try{const _0x1b2b7b=_0x3b7af0[_0x4c6504(0x1b1)]('\x0a'),_0x2b107f=_0x4e0508[_0x4c6504(0x1b1)]('\x0a'),_0xc4e0a4=[];_0xc4e0a4[_0x4c6504(0x1c0)]('---\x20a/'+_0x5ed3d5),_0xc4e0a4[_0x4c6504(0x1c0)]('+++\x20b/'+_0x5ed3d5);const _0xd1c798=this[_0x4c6504(0x1bc)+'ks'](_0x1b2b7b,_0x2b107f);for(const _0x132e00 of _0xd1c798){_0xc4e0a4[_0x4c6504(0x1c0)](_0x4c6504(0x1ac)+_0x132e00[_0x4c6504(0x1cc)]+','+_0x132e00[_0x4c6504(0x1bf)]+'\x20+'+_0x132e00[_0x4c6504(0x1c3)]+','+_0x132e00[_0x4c6504(0x1d5)]+'\x20@@');for(const _0x545a92 of _0x132e00[_0x4c6504(0x1c6)]){_0xc4e0a4[_0x4c6504(0x1c0)](_0x545a92);}}return logger[_0x4c6504(0x1af)](_0x4c6504(0x1d0)+_0x4c6504(0x1b4)),_0xc4e0a4[_0x4c6504(0x1be)]('\x0a');}catch(_0x538bb7){return logger[_0x4c6504(0x1b5)](_0x4c6504(0x1d0)+_0x4c6504(0x1b9),_0x538bb7),'Unified\x20di'+_0x4c6504(0x1ca)+_0x4c6504(0x1c5);}}static[a37_0x2506f6(0x1bc)+'ks'](_0x2bbfbd,_0x16be0f){const _0x396786=a37_0x2506f6,_0x3049ac=[],_0x2b3bf6=Math[_0x396786(0x1c4)](_0x2bbfbd[_0x396786(0x1c1)],_0x16be0f[_0x396786(0x1c1)]),_0x2b1d65=[];let _0x20464c=0x1,_0xf113f=0x1,_0x25d6ac=0x0,_0xf7cc81=0x0;for(let _0x425ed3=0x0;_0x425ed3<_0x2b3bf6;_0x425ed3++){const _0xb2e92c=_0x2bbfbd[_0x425ed3]||'',_0x159fde=_0x16be0f[_0x425ed3]||'';if(_0xb2e92c===_0x159fde){if(_0x25d6ac>0x0||_0xf7cc81>0x0){const _0x2b308e={};_0x2b308e[_0x396786(0x1cc)]=_0x20464c,_0x2b308e[_0x396786(0x1bf)]=_0x25d6ac,_0x2b308e[_0x396786(0x1c3)]=_0xf113f,_0x2b308e[_0x396786(0x1d5)]=_0xf7cc81,_0x2b308e[_0x396786(0x1c6)]=[..._0x2b1d65],_0x3049ac[_0x396786(0x1c0)](_0x2b308e),_0x2b1d65[_0x396786(0x1c1)]=0x0,_0x25d6ac=0x0,_0xf7cc81=0x0;}_0x20464c=_0x425ed3+0x2,_0xf113f=_0x425ed3+0x2;}else{if(_0x25d6ac===0x0&&_0xf7cc81===0x0){if(_0x396786(0x1b2)!==_0x396786(0x1b2)){if(_0x1ae472>0x0||_0x795404>0x0){const _0x3cf4fb={};_0x3cf4fb['oldStart']=_0x241009,_0x3cf4fb[_0x396786(0x1bf)]=_0x21a488,_0x3cf4fb[_0x396786(0x1c3)]=_0x31f23b,_0x3cf4fb[_0x396786(0x1d5)]=_0x1c236b,_0x3cf4fb[_0x396786(0x1c6)]=[..._0x3af46f],_0x48885b[_0x396786(0x1c0)](_0x3cf4fb),_0x3a2d04[_0x396786(0x1c1)]=0x0,_0x2c56ec=0x0,_0x3a679e=0x0;}_0x11c78d=_0x3968d5+0x2,_0xcc1df6=_0x40d38b+0x2;}else _0x20464c=_0x425ed3+0x1,_0xf113f=_0x425ed3+0x1;}_0xb2e92c&&(_0x2b1d65[_0x396786(0x1c0)]('-'+_0xb2e92c),_0x25d6ac++),_0x159fde&&(_0x2b1d65[_0x396786(0x1c0)]('+'+_0x159fde),_0xf7cc81++);}}if(_0x25d6ac>0x0||_0xf7cc81>0x0){const _0x22ae9e={};_0x22ae9e[_0x396786(0x1cc)]=_0x20464c,_0x22ae9e[_0x396786(0x1bf)]=_0x25d6ac,_0x22ae9e[_0x396786(0x1c3)]=_0xf113f,_0x22ae9e['newCount']=_0xf7cc81,_0x22ae9e[_0x396786(0x1c6)]=[..._0x2b1d65],_0x3049ac[_0x396786(0x1c0)](_0x22ae9e);}return _0x3049ac;}}
@@ -1 +1 @@
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
+ const a38_0xf97db5=a38_0x17b2;function a38_0x17b2(_0x7dacf6,_0x3d2189){_0x7dacf6=_0x7dacf6-0x78;const _0x1c9986=a38_0x4495();let _0x22e8e9=_0x1c9986[_0x7dacf6];return _0x22e8e9;}(function(_0x276dc1,_0x166a6f){const _0x55c18d=a38_0x17b2,_0x341bd9=_0x276dc1();while(!![]){try{const _0x39ed36=-parseInt(_0x55c18d(0x7b))/0x1*(parseInt(_0x55c18d(0x8d))/0x2)+parseInt(_0x55c18d(0x78))/0x3*(-parseInt(_0x55c18d(0x83))/0x4)+parseInt(_0x55c18d(0x86))/0x5+parseInt(_0x55c18d(0x89))/0x6+-parseInt(_0x55c18d(0x7d))/0x7+parseInt(_0x55c18d(0x7c))/0x8*(-parseInt(_0x55c18d(0x7a))/0x9)+-parseInt(_0x55c18d(0x91))/0xa*(-parseInt(_0x55c18d(0x8b))/0xb);if(_0x39ed36===_0x166a6f)break;else _0x341bd9['push'](_0x341bd9['shift']());}catch(_0x30df94){_0x341bd9['push'](_0x341bd9['shift']());}}}(a38_0x4495,0xaea93));function a38_0x4495(){const _0x27f58c=['471854wAdXgM','writeFileS','apply','existsSync','10JnctDd','3RjVYTM','toString','10514484FGBgXH','1psgwcF','8WRyDfO','1442147uRwetD','ync','(((.+)+)+)','utf-8','readFile','join','2224012BSpfkc','readFileSy','baseDir','291965fUEcqi','deleteFile','unlinkSync','4321830uiVaTj','writeFile','23132340CuZMxD','constructo'];a38_0x4495=function(){return _0x27f58c;};return a38_0x4495();}const a38_0x5f3ff=(function(){let _0x5bf3b0=!![];return function(_0x511555,_0x1c6f34){const _0x461ca3=_0x5bf3b0?function(){const _0x22ebda=a38_0x17b2;if(_0x1c6f34){const _0x5ebb87=_0x1c6f34[_0x22ebda(0x8f)](_0x511555,arguments);return _0x1c6f34=null,_0x5ebb87;}}:function(){};return _0x5bf3b0=![],_0x461ca3;};}()),a38_0x22e8e9=a38_0x5f3ff(this,function(){const _0xbb1f5b=a38_0x17b2;return a38_0x22e8e9[_0xbb1f5b(0x79)]()['search'](_0xbb1f5b(0x7f)+'+$')[_0xbb1f5b(0x79)]()[_0xbb1f5b(0x8c)+'r'](a38_0x22e8e9)['search']('(((.+)+)+)'+'+$');});a38_0x22e8e9();import*as a38_0xddc695 from'fs';import*as a38_0x1de9aa from'path';export class FileManager{[a38_0xf97db5(0x85)];constructor(_0x97adf6){const _0x134527=a38_0xf97db5;this[_0x134527(0x85)]=_0x97adf6;}[a38_0xf97db5(0x81)](_0x459474){const _0x44473c=a38_0xf97db5,_0x120937=a38_0x1de9aa['join'](this[_0x44473c(0x85)],_0x459474);return a38_0xddc695[_0x44473c(0x84)+'nc'](_0x120937,_0x44473c(0x80));}[a38_0xf97db5(0x8a)](_0x522eea,_0x509a15){const _0x346019=a38_0xf97db5,_0x505b91=a38_0x1de9aa[_0x346019(0x82)](this[_0x346019(0x85)],_0x522eea);a38_0xddc695[_0x346019(0x8e)+_0x346019(0x7e)](_0x505b91,_0x509a15,_0x346019(0x80));}[a38_0xf97db5(0x87)](_0x581400){const _0x4e1ae3=a38_0xf97db5,_0x5a4b8f=a38_0x1de9aa[_0x4e1ae3(0x82)](this[_0x4e1ae3(0x85)],_0x581400);a38_0xddc695[_0x4e1ae3(0x90)](_0x5a4b8f)&&a38_0xddc695[_0x4e1ae3(0x88)](_0x5a4b8f);}}
@@ -1 +1 @@
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
+ const a39_0x57c53e=a39_0x4340;(function(_0x4d354c,_0x1336e0){const _0x16c58c=a39_0x4340,_0x311ad7=_0x4d354c();while(!![]){try{const _0x2179d0=-parseInt(_0x16c58c(0xbe))/0x1*(-parseInt(_0x16c58c(0xc9))/0x2)+parseInt(_0x16c58c(0xb5))/0x3*(-parseInt(_0x16c58c(0xb7))/0x4)+parseInt(_0x16c58c(0xcb))/0x5+-parseInt(_0x16c58c(0xcc))/0x6*(-parseInt(_0x16c58c(0xc5))/0x7)+-parseInt(_0x16c58c(0xbd))/0x8*(parseInt(_0x16c58c(0xc3))/0x9)+-parseInt(_0x16c58c(0xc2))/0xa*(parseInt(_0x16c58c(0xbc))/0xb)+-parseInt(_0x16c58c(0xc4))/0xc*(parseInt(_0x16c58c(0xba))/0xd);if(_0x2179d0===_0x1336e0)break;else _0x311ad7['push'](_0x311ad7['shift']());}catch(_0x2e82e7){_0x311ad7['push'](_0x311ad7['shift']());}}}(a39_0x1338,0xd99ed));function a39_0x4340(_0x446424,_0x268dd4){_0x446424=_0x446424-0xb4;const _0x384b95=a39_0x1338();let _0x537408=_0x384b95[_0x446424];return _0x537408;}function a39_0x1338(){const _0x2bed11=['18hYmklT','(((.+)+)+)','ied:\x20Inval','resolve','writeFileS','baseDir','writeFile','toString','3UIxTcp','id\x20file\x20pa','859160EcGZBl','deleteFile','search','52SgvejH','utf-8','187407JKOZCg','9971864kQzONW','2tBSUFS','ync','unlinkSync','readFileSy','160vdlBCQ','9ceOVmY','1215876HuZDYU','3117415knelLA','th.','resolvePat','join','624476kEGDMk','startsWith','5350095StXOrj'];a39_0x1338=function(){return _0x2bed11;};return a39_0x1338();}const a39_0x293462=(function(){let _0x2e3cd9=!![];return function(_0xd9b58f,_0x1b9f44){const _0xc01979=_0x2e3cd9?function(){if(_0x1b9f44){const _0x35ddc8=_0x1b9f44['apply'](_0xd9b58f,arguments);return _0x1b9f44=null,_0x35ddc8;}}:function(){};return _0x2e3cd9=![],_0xc01979;};}()),a39_0x537408=a39_0x293462(this,function(){const _0x43f668=a39_0x4340;return a39_0x537408[_0x43f668(0xb4)]()[_0x43f668(0xb9)](_0x43f668(0xcd)+'+$')['toString']()['constructo'+'r'](a39_0x537408)[_0x43f668(0xb9)]('(((.+)+)+)'+'+$');});a39_0x537408();import*as a39_0x2c7f71 from'fs';import*as a39_0xbced11 from'path';export class FileManager{[a39_0x57c53e(0xd1)];constructor(_0x293d71){this['baseDir']=_0x293d71;}['resolvePat'+'h'](_0x52479d){const _0x195868=a39_0x57c53e,_0x323ded=a39_0xbced11[_0x195868(0xc8)](this['baseDir'],_0x52479d);if(!_0x323ded[_0x195868(0xca)](a39_0xbced11[_0x195868(0xcf)](this[_0x195868(0xd1)])))throw new Error('Access\x20den'+_0x195868(0xce)+_0x195868(0xb6)+_0x195868(0xc6));return _0x323ded;}['readFile'](_0x254ad4){const _0x1556e5=a39_0x57c53e,_0x117b46=this['resolvePat'+'h'](_0x254ad4);return a39_0x2c7f71[_0x1556e5(0xc1)+'nc'](_0x117b46,_0x1556e5(0xbb));}[a39_0x57c53e(0xd2)](_0x3abd20,_0x1308ca){const _0x16f1ce=a39_0x57c53e,_0xca1b50=this['resolvePat'+'h'](_0x3abd20);a39_0x2c7f71[_0x16f1ce(0xd0)+_0x16f1ce(0xbf)](_0xca1b50,_0x1308ca,_0x16f1ce(0xbb));}[a39_0x57c53e(0xb8)](_0x1afc99){const _0x5edc43=a39_0x57c53e,_0x4cb330=this[_0x5edc43(0xc7)+'h'](_0x1afc99);a39_0x2c7f71['existsSync'](_0x4cb330)&&a39_0x2c7f71[_0x5edc43(0xc0)](_0x4cb330);}}
@@ -1 +1 @@
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)]}));}
1
+ const a40_0x36327c=a40_0x1eb9;(function(_0x344c67,_0x465f74){const _0x365dba=a40_0x1eb9,_0x209bc5=_0x344c67();while(!![]){try{const _0x2ad946=parseInt(_0x365dba(0x105))/0x1*(parseInt(_0x365dba(0xfd))/0x2)+parseInt(_0x365dba(0xde))/0x3+-parseInt(_0x365dba(0xeb))/0x4*(-parseInt(_0x365dba(0xe3))/0x5)+-parseInt(_0x365dba(0xe4))/0x6+parseInt(_0x365dba(0xef))/0x7*(-parseInt(_0x365dba(0xf0))/0x8)+parseInt(_0x365dba(0x109))/0x9*(parseInt(_0x365dba(0xda))/0xa)+-parseInt(_0x365dba(0xf3))/0xb*(-parseInt(_0x365dba(0xf2))/0xc);if(_0x2ad946===_0x465f74)break;else _0x209bc5['push'](_0x209bc5['shift']());}catch(_0x7b70b){_0x209bc5['push'](_0x209bc5['shift']());}}}(a40_0x4997,0xd05f7));const a40_0x4ccf0e=(function(){let _0x34f6ba=!![];return function(_0x188d10,_0x5c7728){const _0x159f5c=_0x34f6ba?function(){const _0x2f92bb=a40_0x1eb9;if(_0x5c7728){const _0x313368=_0x5c7728[_0x2f92bb(0xe7)](_0x188d10,arguments);return _0x5c7728=null,_0x313368;}}:function(){};return _0x34f6ba=![],_0x159f5c;};}()),a40_0x3df20f=a40_0x4ccf0e(this,function(){const _0x6cab00=a40_0x1eb9,_0x37f9eb={};_0x37f9eb[_0x6cab00(0xe5)]=_0x6cab00(0x102)+'+$';const _0x678862=_0x37f9eb;return a40_0x3df20f['toString']()[_0x6cab00(0xea)](_0x6cab00(0x102)+'+$')[_0x6cab00(0xdf)]()[_0x6cab00(0xe9)+'r'](a40_0x3df20f)[_0x6cab00(0xea)](_0x678862[_0x6cab00(0xe5)]);});a40_0x3df20f();import a40_0x39da93 from'winston';import a40_0x2e6e39 from'path';import a40_0x15575e from'fs';import{fileURLToPath}from'url';const loggerModuleDir=a40_0x2e6e39[a40_0x36327c(0xd9)](fileURLToPath(import.meta.url)),projectRootForLogs=a40_0x2e6e39[a40_0x36327c(0xee)](loggerModuleDir,a40_0x36327c(0xf6)),logsDirAbs=a40_0x2e6e39[a40_0x36327c(0xee)](projectRootForLogs,a40_0x36327c(0xd8));function a40_0x4997(){const _0x547712=['add','4525137BpREjw','toString','Console','warn','errors','717275ngbVNe','10080564gwDLnM','PQmEb','File','apply','combine','constructo','search','12hztuie','info','join','resolve','49myfbsW','1456888NyUYpX','colorize','36PDcFmB','4993791jDXIpz','json','combined.l','../..','rator','transports','error','existsSync','stack','recursive','111184XyXzcG','Failed\x20to\x20','YYYY-MM-DD','printf','service','(((.+)+)+)','ransports:','createLogg','1eOXFMH','stringify','SSSZ','THH:mm:ss.','9ogsoaA','length','mkdirSync','add\x20file\x20t','format','logs','dirname','4520870uDbfhu','timestamp','keys'];a40_0x4997=function(){return _0x547712;};return a40_0x4997();}try{if(!a40_0x15575e[a40_0x36327c(0xfa)](logsDirAbs)){const a40_0x37f968={};a40_0x37f968[a40_0x36327c(0xfc)]=!![],a40_0x15575e[a40_0x36327c(0x10b)](logsDirAbs,a40_0x37f968);}}catch(a40_0x208c2b){console[a40_0x36327c(0xf9)](a40_0x36327c(0xfe)+'create\x20log'+'s\x20director'+'y:',a40_0x208c2b);}const isStdioMcpHost=Boolean(process.env.MCP||process.env.MCP_SERVER||process.env.MCP_STDIO||process.env.CURSOR||process.env.CURSOR_MCP),enableConsole=![],a40_0x41f77b={};function a40_0x1eb9(_0x3a4717,_0x597288){_0x3a4717=_0x3a4717-0xd7;const _0x39cb66=a40_0x4997();let _0x3df20f=_0x39cb66[_0x3a4717];return _0x3df20f;}a40_0x41f77b[a40_0x36327c(0xfb)]=!![];const a40_0x5635a3={};a40_0x5635a3[a40_0x36327c(0x101)]='mcp-secure'+'-code-gene'+a40_0x36327c(0xf7);export const logger=a40_0x39da93[a40_0x36327c(0x104)+'er']({'level':process.env.LOG_LEVEL||a40_0x36327c(0xec),'format':a40_0x39da93[a40_0x36327c(0xd7)][a40_0x36327c(0xe8)](a40_0x39da93[a40_0x36327c(0xd7)]['timestamp'](),a40_0x39da93[a40_0x36327c(0xd7)][a40_0x36327c(0xe2)](a40_0x41f77b),a40_0x39da93[a40_0x36327c(0xd7)][a40_0x36327c(0xf4)]()),'defaultMeta':a40_0x5635a3,'transports':[]});try{const a40_0x52a70a={};a40_0x52a70a[a40_0x36327c(0xd7)]=a40_0x36327c(0xff)+a40_0x36327c(0x108)+a40_0x36327c(0x107);const a40_0x12b9fa={};a40_0x12b9fa[a40_0x36327c(0xfb)]=!![],logger[a40_0x36327c(0xdd)](new a40_0x39da93[(a40_0x36327c(0xf8))][(a40_0x36327c(0xe6))]({'filename':a40_0x2e6e39['join'](logsDirAbs,'error.log'),'level':'error','format':a40_0x39da93[a40_0x36327c(0xd7)]['combine'](a40_0x39da93[a40_0x36327c(0xd7)][a40_0x36327c(0xdb)](a40_0x52a70a),a40_0x39da93[a40_0x36327c(0xd7)][a40_0x36327c(0xe2)](a40_0x12b9fa),a40_0x39da93[a40_0x36327c(0xd7)][a40_0x36327c(0xf4)]())}));const a40_0x4d8c76={};a40_0x4d8c76[a40_0x36327c(0xd7)]=a40_0x36327c(0xff)+'THH:mm:ss.'+'SSSZ';const a40_0x24f784={};a40_0x24f784['stack']=!![],logger[a40_0x36327c(0xdd)](new a40_0x39da93[(a40_0x36327c(0xf8))][(a40_0x36327c(0xe6))]({'filename':a40_0x2e6e39[a40_0x36327c(0xed)](logsDirAbs,a40_0x36327c(0xf5)+'og'),'format':a40_0x39da93['format'][a40_0x36327c(0xe8)](a40_0x39da93[a40_0x36327c(0xd7)][a40_0x36327c(0xdb)](a40_0x4d8c76),a40_0x39da93[a40_0x36327c(0xd7)][a40_0x36327c(0xe2)](a40_0x24f784),a40_0x39da93['format']['json']())}));}catch(a40_0x3f3171){console[a40_0x36327c(0xf9)](a40_0x36327c(0xfe)+a40_0x36327c(0x10c)+a40_0x36327c(0x103),a40_0x3f3171);}if(enableConsole){const a40_0x34fd22={};a40_0x34fd22['format']=a40_0x36327c(0xff)+a40_0x36327c(0x108)+'SSSZ',logger[a40_0x36327c(0xdd)](new a40_0x39da93[(a40_0x36327c(0xf8))][(a40_0x36327c(0xe0))]({'format':a40_0x39da93[a40_0x36327c(0xd7)][a40_0x36327c(0xe8)](a40_0x39da93[a40_0x36327c(0xd7)][a40_0x36327c(0xf1)](),a40_0x39da93[a40_0x36327c(0xd7)][a40_0x36327c(0xdb)](a40_0x34fd22),a40_0x39da93['format'][a40_0x36327c(0x100)](_0x3aa574=>{const _0x159c05=a40_0x36327c,{level:_0x53356a,message:_0x9f116c,timestamp:_0x5d4218,..._0x399a6a}=_0x3aa574,_0x4b8ea0=Object[_0x159c05(0xdc)](_0x399a6a)[_0x159c05(0x10a)]?'\x20'+JSON[_0x159c05(0x106)](_0x399a6a):'';return'['+_0x5d4218+']\x20'+_0x53356a+':\x20'+_0x9f116c+_0x4b8ea0;})),'stderrLevels':[a40_0x36327c(0xf9),a40_0x36327c(0xe1)]}));}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sparrowai/sparrow-mcp",
3
- "version": "1.1.6",
3
+ "version": "1.1.8",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "sparrow-mcp-test": "./bin/sparrow-mcp-test.cjs"