@sparrowai/sparrow-mcp 1.1.6 → 1.1.7

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 +1 -1
@@ -1 +1 @@
1
- const a0_0x2522ad=a0_0x33b7;(function(_0x40cc2c,_0x2ab7db){const _0x49bacf=a0_0x33b7,_0x25184d=_0x40cc2c();while(!![]){try{const _0x545009=parseInt(_0x49bacf(0x1fb))/0x1*(parseInt(_0x49bacf(0x21c))/0x2)+-parseInt(_0x49bacf(0x1f1))/0x3+parseInt(_0x49bacf(0x1d1))/0x4+-parseInt(_0x49bacf(0x20e))/0x5*(-parseInt(_0x49bacf(0x1c5))/0x6)+parseInt(_0x49bacf(0x1ec))/0x7*(-parseInt(_0x49bacf(0x217))/0x8)+parseInt(_0x49bacf(0x1ed))/0x9*(parseInt(_0x49bacf(0x1c4))/0xa)+parseInt(_0x49bacf(0x215))/0xb;if(_0x545009===_0x2ab7db)break;else _0x25184d['push'](_0x25184d['shift']());}catch(_0x55f201){_0x25184d['push'](_0x25184d['shift']());}}}(a0_0x4905,0x3a02b));const a0_0x1df524=(function(){let _0x63e330=!![];return function(_0x33eb79,_0x4141b2){const _0x525954=_0x63e330?function(){const _0x2dce29=a0_0x33b7;if(_0x4141b2){const _0x4f6ca8=_0x4141b2[_0x2dce29(0x219)](_0x33eb79,arguments);return _0x4141b2=null,_0x4f6ca8;}}:function(){};return _0x63e330=![],_0x525954;};}()),a0_0x4bf15d=a0_0x1df524(this,function(){const _0x1e550d=a0_0x33b7;return a0_0x4bf15d[_0x1e550d(0x1d8)]()[_0x1e550d(0x1eb)](_0x1e550d(0x218)+'+$')[_0x1e550d(0x1d8)]()[_0x1e550d(0x214)+'r'](a0_0x4bf15d)[_0x1e550d(0x1eb)](_0x1e550d(0x218)+'+$');});function a0_0x33b7(_0x51b8a6,_0x330469){_0x51b8a6=_0x51b8a6-0x1c0;const _0xeb5cb1=a0_0x4905();let _0x4bf15d=_0xeb5cb1[_0x51b8a6];return _0x4bf15d;}function a0_0x4905(){const _0x9499fe=['t]\x20stdin\x20b','serverArgs','name','taskkill','[Server\x20Lo','closed\x20wit','305kZGCZy','messageId','jsonrpc','\x20error:','er\x20process','[Server\x20Er','constructo','3697529MXQBqU','stdio','72304idzzmS','(((.+)+)+)','apply','kill','handleMess','4QxpPSF','params','ror]\x20','log','serverComm','clientInfo','request','BARrD','age','error','t]\x20Server\x20','stopped','result','get','roots','tion','and','[MCP\x20Clien','\x20(notify)','\x20with\x20stdi','stdout','close','t]\x20Startin','e\x20request.','win32','110IiLLoR','21732NVIigE','exitCode','join','\x20running','pipe','uests','YLpRx','jEBND','capabiliti','ized:','rror:\x20','onNotifica','421744XRYiAt','Server\x20clo','VPKAv','delete','\x20initializ','notify','YtBYd','toString','ization\x20fa','warn','lized','dlmeD','start','iled:','protocolVe','pendingReq','true','wQPtZ','process','platform','notificati','line','2.0','stdin','uffer\x20full','method','search','238kKMIFX','211086OmeIbX','isInitiali','lient','onHandlers','1172352ogYSoV','ons/initia','\x20(request)','write','/pid','env','mcp-test-c','t]\x20Sending','oBqYK','trim','7588uVYFWz','pid','stringify','jEBsh','t]\x20Process','zed','initialize','MCP_STDIO','t]\x20Initial','2024-11-05','MoRtm','rsion','h\x20code\x20'];a0_0x4905=function(){return _0x9499fe;};return a0_0x4905();}a0_0x4bf15d();import{spawn}from'child_process';import{createInterface}from'readline';export class McpClient{[a0_0x2522ad(0x220)+'and'];[a0_0x2522ad(0x209)];[a0_0x2522ad(0x1e3)]=null;[a0_0x2522ad(0x20f)]=0x0;[a0_0x2522ad(0x1e0)+a0_0x2522ad(0x1ca)]=new Map();[a0_0x2522ad(0x1e5)+a0_0x2522ad(0x1f0)]=new Map();[a0_0x2522ad(0x1ee)+a0_0x2522ad(0x200)]=![];['rl']=null;constructor(_0x56afb2,_0x5c03f2){const _0x13a75d=a0_0x2522ad;this[_0x13a75d(0x220)+_0x13a75d(0x22c)]=_0x56afb2,this['serverArgs']=_0x5c03f2;}async[a0_0x2522ad(0x1dd)](){const _0xafd312=a0_0x2522ad,_0x2bb53d={};_0x2bb53d[_0xafd312(0x1d7)]='Failed\x20to\x20'+'spawn\x20serv'+_0xafd312(0x212)+_0xafd312(0x22f)+'o';const _0x5426f8=_0x2bb53d;console[_0xafd312(0x21f)](_0xafd312(0x22d)+_0xafd312(0x1c1)+'g\x20server:\x20'+this[_0xafd312(0x220)+_0xafd312(0x22c)]+'\x20'+this[_0xafd312(0x209)][_0xafd312(0x1c7)]('\x20'));const _0x3f4b27={...process.env};_0x3f4b27[_0xafd312(0x202)]=_0xafd312(0x1e1);const _0x99ad01={};_0x99ad01[_0xafd312(0x216)]=['pipe',_0xafd312(0x1c9),_0xafd312(0x1c9)],_0x99ad01['shell']=!![],_0x99ad01[_0xafd312(0x1f6)]=_0x3f4b27,this['process']=spawn(this[_0xafd312(0x220)+_0xafd312(0x22c)],this[_0xafd312(0x209)],_0x99ad01);if(!this[_0xafd312(0x1e3)][_0xafd312(0x230)]||!this[_0xafd312(0x1e3)][_0xafd312(0x1e8)]||!this[_0xafd312(0x1e3)]['stderr'])throw new Error(_0x5426f8[_0xafd312(0x1d7)]);this[_0xafd312(0x1e3)]['stderr']['on']('data',_0x35a1c5=>{const _0x5e703e=_0xafd312;console[_0x5e703e(0x225)](_0x5e703e(0x213)+_0x5e703e(0x21e)+_0x35a1c5['toString']());}),this['rl']=createInterface({'input':this[_0xafd312(0x1e3)][_0xafd312(0x230)]}),this['rl']['on'](_0xafd312(0x1e6),_0x9104b4=>{const _0x838c41=_0xafd312;if(!_0x9104b4[_0x838c41(0x1fa)]())return;try{const _0x47a63b=JSON['parse'](_0x9104b4);this[_0x838c41(0x21b)+_0x838c41(0x224)](_0x47a63b);}catch(_0x237191){console[_0x838c41(0x21f)](_0x838c41(0x20c)+'g]',_0x9104b4);}}),this['process']['on'](_0xafd312(0x225),_0x5e02e0=>console['error'](_0xafd312(0x22d)+_0xafd312(0x1ff)+_0xafd312(0x211),_0x5e02e0)),this[_0xafd312(0x1e3)]['on'](_0xafd312(0x1c0),_0x261e68=>{const _0x2dd772=_0xafd312;console['log'](_0x2dd772(0x22d)+_0x2dd772(0x226)+_0x2dd772(0x20d)+_0x2dd772(0x207)+_0x261e68);if(this['rl'])this['rl'][_0x2dd772(0x1c0)]();for(const [_0xb48706,_0x2247ed]of this[_0x2dd772(0x1e0)+_0x2dd772(0x1ca)]['entries']()){_0x2247ed(null,new Error(_0x2dd772(0x1d2)+'sed\x20connec'+_0x2dd772(0x22b)));}this[_0x2dd772(0x1e0)+_0x2dd772(0x1ca)]['clear']();});try{await this[_0xafd312(0x201)]();}catch(_0xd095c0){console[_0xafd312(0x225)](_0xafd312(0x22d)+'t]\x20Initial'+_0xafd312(0x1d9)+_0xafd312(0x1de),_0xd095c0);throw _0xd095c0;}}async['stop'](){const _0x9d87c4=a0_0x2522ad,_0x52b139={};_0x52b139['YLpRx']='/pid';const _0x158bd9=_0x52b139;if(this[_0x9d87c4(0x1e3)]){if(this['rl'])this['rl']['close']();try{process[_0x9d87c4(0x1e4)]===_0x9d87c4(0x1c3)&&this[_0x9d87c4(0x1e3)]['pid']&&spawn('taskkill',[_0x158bd9[_0x9d87c4(0x1cb)],this[_0x9d87c4(0x1e3)][_0x9d87c4(0x1fc)][_0x9d87c4(0x1d8)](),'/f','/t']),this[_0x9d87c4(0x1e3)]['kill']();}catch(_0x4a9cf3){}this['process']=null,console[_0x9d87c4(0x21f)](_0x9d87c4(0x22d)+_0x9d87c4(0x226)+_0x9d87c4(0x227));}}async[a0_0x2522ad(0x201)](){const _0x309adb=a0_0x2522ad;console[_0x309adb(0x21f)](_0x309adb(0x22d)+_0x309adb(0x1f8)+_0x309adb(0x1d5)+_0x309adb(0x1c2)+'..');const _0x1a30a5={};_0x1a30a5['listChange'+'d']=!![];const _0x43b96d={};_0x43b96d[_0x309adb(0x22a)]=_0x1a30a5;const _0x43ced8={};_0x43ced8[_0x309adb(0x20a)]=_0x309adb(0x1f7)+_0x309adb(0x1ef),_0x43ced8['version']='1.0.0';const _0x575786={};_0x575786[_0x309adb(0x1df)+_0x309adb(0x206)]=_0x309adb(0x204),_0x575786[_0x309adb(0x1cd)+'es']=_0x43b96d,_0x575786[_0x309adb(0x221)]=_0x43ced8;const _0x1fa51a=await this[_0x309adb(0x222)](_0x309adb(0x201),_0x575786);console[_0x309adb(0x21f)](_0x309adb(0x22d)+_0x309adb(0x203)+_0x309adb(0x1ce),_0x1fa51a),await this[_0x309adb(0x1d6)](_0x309adb(0x1e5)+_0x309adb(0x1f2)+_0x309adb(0x1db),{}),this[_0x309adb(0x1ee)+_0x309adb(0x200)]=!![];}async[a0_0x2522ad(0x1d6)](_0x617b70,_0x541d8e){const _0x9d5f53=a0_0x2522ad;if(!this['process']||this[_0x9d5f53(0x1e3)][_0x9d5f53(0x1c6)]!==null)return;const _0x258af4={};_0x258af4[_0x9d5f53(0x210)]=_0x9d5f53(0x1e7),_0x258af4[_0x9d5f53(0x1ea)]=_0x617b70,_0x258af4[_0x9d5f53(0x21d)]=_0x541d8e;const _0x526a56=_0x258af4,_0x144e15=JSON[_0x9d5f53(0x1fd)](_0x526a56);return new Promise((_0x51385b,_0x2190b0)=>{const _0x39112e=_0x9d5f53;try{const _0x484d2f=this[_0x39112e(0x1e3)][_0x39112e(0x1e8)][_0x39112e(0x1f4)](_0x144e15+'\x0a');if(!_0x484d2f)console[_0x39112e(0x1da)](_0x39112e(0x22d)+_0x39112e(0x208)+_0x39112e(0x1e9)+'\x20(notify)');_0x51385b();}catch(_0x4a35a9){_0x2190b0(_0x4a35a9);}});}async[a0_0x2522ad(0x222)](_0x4c61dc,_0x16ca32){const _0x12aab0=a0_0x2522ad,_0x530396={'jEBsh':function(_0x3bd049,_0x21ba7d){return _0x3bd049(_0x21ba7d);},'MoRtm':'jEBND','dlmeD':'Server\x20not'+_0x12aab0(0x1c8)};if(!this[_0x12aab0(0x1e3)]||this[_0x12aab0(0x1e3)]['exitCode']!==null)throw new Error(_0x530396[_0x12aab0(0x1dc)]);const _0x2d395d=this['messageId']++,_0x30d9e6={};_0x30d9e6[_0x12aab0(0x210)]=_0x12aab0(0x1e7),_0x30d9e6['id']=_0x2d395d,_0x30d9e6[_0x12aab0(0x1ea)]=_0x4c61dc,_0x30d9e6[_0x12aab0(0x21d)]=_0x16ca32;const _0x213d29=_0x30d9e6;return new Promise((_0x5026fe,_0x4391eb)=>{const _0x505184=_0x12aab0,_0x12da08={};_0x12da08['wQPtZ']=function(_0x3b2a91,_0x50b858){return _0x3b2a91===_0x50b858;};const _0x214cc4=_0x12da08;if(_0x505184(0x1cc)===_0x530396[_0x505184(0x205)]){this[_0x505184(0x1e0)+_0x505184(0x1ca)]['set'](_0x2d395d,(_0x4b888d,_0x40bfd9)=>{const _0x236b11=_0x505184;if(_0x4b888d)_0x5026fe(_0x4b888d);else _0x530396[_0x236b11(0x1fe)](_0x4391eb,_0x40bfd9);});const _0x1e71d9=JSON[_0x505184(0x1fd)](_0x213d29);try{const _0xd80056=this[_0x505184(0x1e3)][_0x505184(0x1e8)][_0x505184(0x1f4)](_0x1e71d9+'\x0a');if(!_0xd80056){if(_0x505184(0x1f9)!==_0x505184(0x1d3))console['warn'](_0x505184(0x22d)+_0x505184(0x208)+_0x505184(0x1e9)+_0x505184(0x1f3));else{const _0x1fcb97=this['process']['stdin']['write'](_0xef73c2+'\x0a');if(!_0x1fcb97)_0x30cf74['warn'](_0x505184(0x22d)+_0x505184(0x208)+_0x505184(0x1e9)+_0x505184(0x22e));_0x3a41f6();}}}catch(_0x2417ce){this['pendingReq'+'uests'][_0x505184(0x1d4)](_0x2d395d),_0x4391eb(_0x2417ce);}}else{if(this['rl'])this['rl']['close']();try{kSoPRl[_0x505184(0x1e2)](_0x4a0a90[_0x505184(0x1e4)],_0x505184(0x1c3))&&this[_0x505184(0x1e3)]['pid']&&_0x58d662(_0x505184(0x20b),[_0x505184(0x1f5),this['process'][_0x505184(0x1fc)]['toString'](),'/f','/t']),this[_0x505184(0x1e3)][_0x505184(0x21a)]();}catch(_0x2b2853){}this[_0x505184(0x1e3)]=null,_0x7bc700[_0x505184(0x21f)]('[MCP\x20Clien'+_0x505184(0x226)+_0x505184(0x227));}});}[a0_0x2522ad(0x1d0)+'tion'](_0x5498f2,_0x3dfa17){const _0x5beb6f=a0_0x2522ad;this[_0x5beb6f(0x1e5)+'onHandlers']['set'](_0x5498f2,_0x3dfa17);}[a0_0x2522ad(0x21b)+'age'](_0x5da115){const _0x38bf14=a0_0x2522ad,_0x871723={'BARrD':function(_0x689282,_0x2b3c8a){return _0x689282(_0x2b3c8a);}};if(_0x5da115['id']!==undefined&&(_0x5da115[_0x38bf14(0x228)]!==undefined||_0x5da115[_0x38bf14(0x225)]!==undefined)){const _0x352238=this[_0x38bf14(0x1e0)+_0x38bf14(0x1ca)][_0x38bf14(0x229)](_0x5da115['id']);_0x352238&&(this[_0x38bf14(0x1e0)+_0x38bf14(0x1ca)][_0x38bf14(0x1d4)](_0x5da115['id']),_0x5da115[_0x38bf14(0x225)]?_0x352238(null,new Error('JSON-RPC\x20E'+_0x38bf14(0x1cf)+JSON['stringify'](_0x5da115['error']))):_0x352238(_0x5da115[_0x38bf14(0x228)],null));}else{if(_0x5da115[_0x38bf14(0x1ea)]&&!_0x5da115['id']){const _0x16cd14=this[_0x38bf14(0x1e5)+'onHandlers'][_0x38bf14(0x229)](_0x5da115['method']);_0x16cd14&&_0x871723[_0x38bf14(0x223)](_0x16cd14,_0x5da115['params']);}}}}
1
+ function a0_0x449d(_0x3938b9,_0x21dab3){_0x3938b9=_0x3938b9-0x1d1;const _0x1d8e34=a0_0x268a();let _0x24fc51=_0x1d8e34[_0x3938b9];return _0x24fc51;}const a0_0x402c00=a0_0x449d;(function(_0x5c26be,_0x1e5753){const _0x3a77c3=a0_0x449d,_0x1cfddd=_0x5c26be();while(!![]){try{const _0x575f4c=parseInt(_0x3a77c3(0x1e5))/0x1*(parseInt(_0x3a77c3(0x212))/0x2)+parseInt(_0x3a77c3(0x1ef))/0x3+-parseInt(_0x3a77c3(0x20a))/0x4+-parseInt(_0x3a77c3(0x1d5))/0x5*(-parseInt(_0x3a77c3(0x228))/0x6)+-parseInt(_0x3a77c3(0x1f1))/0x7*(parseInt(_0x3a77c3(0x1f2))/0x8)+-parseInt(_0x3a77c3(0x1ff))/0x9+parseInt(_0x3a77c3(0x220))/0xa*(parseInt(_0x3a77c3(0x1f5))/0xb);if(_0x575f4c===_0x1e5753)break;else _0x1cfddd['push'](_0x1cfddd['shift']());}catch(_0x2c22a1){_0x1cfddd['push'](_0x1cfddd['shift']());}}}(a0_0x268a,0x6bec3));const a0_0x49f183=(function(){let _0x12efc1=!![];return function(_0x157dfd,_0x5cffb7){const _0x205fca=_0x12efc1?function(){const _0x43dc9a=a0_0x449d;if(_0x5cffb7){const _0x80d112=_0x5cffb7[_0x43dc9a(0x1f8)](_0x157dfd,arguments);return _0x5cffb7=null,_0x80d112;}}:function(){};return _0x12efc1=![],_0x205fca;};}()),a0_0x24fc51=a0_0x49f183(this,function(){const _0x49da49=a0_0x449d;return a0_0x24fc51[_0x49da49(0x1e1)]()[_0x49da49(0x1d6)]('(((.+)+)+)'+'+$')[_0x49da49(0x1e1)]()['constructo'+'r'](a0_0x24fc51)[_0x49da49(0x1d6)](_0x49da49(0x239)+'+$');});a0_0x24fc51();import{spawn}from'child_process';function a0_0x268a(){const _0x4238b0=['1KubDLp','JSON-RPC\x20E','notificati','Server\x20clo','2.0','mkWXt','[MCP\x20Clien','process','MCP_STDIO','method','265953eNcqFB','zed','1533mCuvpc','24184DDmHFa','stopped','jsonrpc','77ZbZCKN','pendingReq','spawn\x20serv','apply','close','result','stdin','uests','tion','set','6041484WFOOkk','join','ized:','isInitiali','[Server\x20Lo','mcp-test-c','parse','\x20running','trim','and','data','3300908YoJdWm','serverArgs','log','age','\x20(request)','t]\x20Sending','stdout','roots','1531474ekAqVf','[Server\x20Er','warn','exitCode','h\x20code\x20','clientInfo','stderr','HJLEm','delete','er\x20process','g\x20server:\x20','Server\x20not','lized','\x20error:','2331910UoyOvi','serverComm','params','shell','ntXJb','\x20with\x20stdi','error','\x20(notify)','40188sgXNoc','iled:','sed\x20connec','t]\x20stdin\x20b','pipe','kwpId','Failed\x20to\x20','pid','write','KjweP','onHandlers','win32','t]\x20Server\x20','start','taskkill','ization\x20fa','ror]\x20','(((.+)+)+)','handleMess','rsion','onNotifica','\x20initializ','t]\x20Process','/pid','stringify','ons/initia','get','clear','85BLOgae','search','Dfebc','mCRVK','messageId','PYiiq','stdio','initialize','uffer\x20full','request','e\x20request.','t]\x20Startin','toString','notify','t]\x20Initial','lient'];a0_0x268a=function(){return _0x4238b0;};return a0_0x268a();}import{createInterface}from'readline';export class McpClient{[a0_0x402c00(0x221)+a0_0x402c00(0x208)];[a0_0x402c00(0x20b)];[a0_0x402c00(0x1ec)]=null;['messageId']=0x0;['pendingReq'+a0_0x402c00(0x1fc)]=new Map();[a0_0x402c00(0x1e7)+a0_0x402c00(0x232)]=new Map();[a0_0x402c00(0x202)+a0_0x402c00(0x1f0)]=![];['rl']=null;constructor(_0x3ce937,_0x5e263c){const _0x73258a=a0_0x402c00;this[_0x73258a(0x221)+_0x73258a(0x208)]=_0x3ce937,this[_0x73258a(0x20b)]=_0x5e263c;}async[a0_0x402c00(0x235)](){const _0x2b480e=a0_0x402c00,_0x1f28dc={};_0x1f28dc[_0x2b480e(0x1d8)]=_0x2b480e(0x22c),_0x1f28dc[_0x2b480e(0x1da)]='line';const _0x370b94=_0x1f28dc;console[_0x2b480e(0x20c)](_0x2b480e(0x1eb)+_0x2b480e(0x1e0)+_0x2b480e(0x21c)+this[_0x2b480e(0x221)+_0x2b480e(0x208)]+'\x20'+this['serverArgs'][_0x2b480e(0x200)]('\x20'));const _0x310328={...process.env};_0x310328[_0x2b480e(0x1ed)]='true';const _0xc73942={};_0xc73942[_0x2b480e(0x1db)]=[_0x2b480e(0x22c),_0x2b480e(0x22c),_0x370b94[_0x2b480e(0x1d8)]],_0xc73942[_0x2b480e(0x223)]=!![],_0xc73942['env']=_0x310328,this['process']=spawn(this['serverComm'+'and'],this[_0x2b480e(0x20b)],_0xc73942);if(!this['process'][_0x2b480e(0x210)]||!this['process'][_0x2b480e(0x1fb)]||!this['process']['stderr'])throw new Error('Failed\x20to\x20'+_0x2b480e(0x1f7)+'er\x20process'+'\x20with\x20stdi'+'o');this['process'][_0x2b480e(0x218)]['on'](_0x2b480e(0x209),_0x188816=>{const _0x428817=_0x2b480e;console[_0x428817(0x226)](_0x428817(0x213)+_0x428817(0x238)+_0x188816['toString']());}),this['rl']=createInterface({'input':this['process'][_0x2b480e(0x210)]}),this['rl']['on'](_0x370b94[_0x2b480e(0x1da)],_0x526032=>{const _0x2eb598=_0x2b480e;if(!_0x526032[_0x2eb598(0x207)]())return;try{const _0x548f59=JSON[_0x2eb598(0x205)](_0x526032);this[_0x2eb598(0x23a)+_0x2eb598(0x20d)](_0x548f59);}catch(_0x4fa90c){console[_0x2eb598(0x20c)](_0x2eb598(0x203)+'g]',_0x526032);}}),this[_0x2b480e(0x1ec)]['on']('error',_0x30e9f3=>console[_0x2b480e(0x226)](_0x2b480e(0x1eb)+_0x2b480e(0x23e)+_0x2b480e(0x21f),_0x30e9f3)),this[_0x2b480e(0x1ec)]['on'](_0x2b480e(0x1f9),_0x4618d7=>{const _0x5928c7=_0x2b480e;console['log'](_0x5928c7(0x1eb)+_0x5928c7(0x234)+'closed\x20wit'+_0x5928c7(0x216)+_0x4618d7);if(this['rl'])this['rl'][_0x5928c7(0x1f9)]();for(const [_0x5e0fac,_0x407a61]of this['pendingReq'+_0x5928c7(0x1fc)]['entries']()){_0x407a61(null,new Error(_0x5928c7(0x1e8)+_0x5928c7(0x22a)+_0x5928c7(0x1fd)));}this[_0x5928c7(0x1f6)+'uests'][_0x5928c7(0x1d4)]();});try{await this[_0x2b480e(0x1dc)]();}catch(_0x31d9ad){console['error']('[MCP\x20Clien'+_0x2b480e(0x1e3)+_0x2b480e(0x237)+_0x2b480e(0x229),_0x31d9ad);throw _0x31d9ad;}}async['stop'](){const _0x24e94f=a0_0x402c00,_0x2f3787={};_0x2f3787['kwpId']=function(_0x5e4790,_0x42864b){return _0x5e4790===_0x42864b;};const _0x5430c4=_0x2f3787;if(this[_0x24e94f(0x1ec)]){if(this['rl'])this['rl'][_0x24e94f(0x1f9)]();try{if(_0x24e94f(0x1d7)!==_0x24e94f(0x231))_0x5430c4[_0x24e94f(0x22d)](process['platform'],_0x24e94f(0x233))&&this['process'][_0x24e94f(0x22f)]&&spawn(_0x24e94f(0x236),[_0x24e94f(0x23f),this[_0x24e94f(0x1ec)][_0x24e94f(0x22f)][_0x24e94f(0x1e1)](),'/f','/t']),this[_0x24e94f(0x1ec)]['kill']();else throw new _0xd2b42e(_0x24e94f(0x22e)+_0x24e94f(0x1f7)+_0x24e94f(0x21b)+_0x24e94f(0x225)+'o');}catch(_0x46f9a0){}this[_0x24e94f(0x1ec)]=null,console[_0x24e94f(0x20c)](_0x24e94f(0x1eb)+'t]\x20Server\x20'+_0x24e94f(0x1f3));}}async[a0_0x402c00(0x1dc)](){const _0x34c29c=a0_0x402c00,_0x2c55dd={};_0x2c55dd['mkWXt']=_0x34c29c(0x1eb)+_0x34c29c(0x20f)+_0x34c29c(0x23d)+_0x34c29c(0x1df)+'..',_0x2c55dd[_0x34c29c(0x224)]='2024-11-05';const _0x22d7bb=_0x2c55dd;console[_0x34c29c(0x20c)](_0x22d7bb[_0x34c29c(0x1ea)]);const _0x5db20f={};_0x5db20f['listChange'+'d']=!![];const _0x232c1a={};_0x232c1a[_0x34c29c(0x211)]=_0x5db20f;const _0x3d7ed2={};_0x3d7ed2['name']=_0x34c29c(0x204)+_0x34c29c(0x1e4),_0x3d7ed2['version']='1.0.0';const _0x575a75={};_0x575a75['protocolVe'+_0x34c29c(0x23b)]=_0x22d7bb['ntXJb'],_0x575a75['capabiliti'+'es']=_0x232c1a,_0x575a75[_0x34c29c(0x217)]=_0x3d7ed2;const _0x3067a9=await this[_0x34c29c(0x1de)](_0x34c29c(0x1dc),_0x575a75);console[_0x34c29c(0x20c)]('[MCP\x20Clien'+_0x34c29c(0x1e3)+_0x34c29c(0x201),_0x3067a9),await this[_0x34c29c(0x1e2)](_0x34c29c(0x1e7)+_0x34c29c(0x1d2)+_0x34c29c(0x21e),{}),this[_0x34c29c(0x202)+_0x34c29c(0x1f0)]=!![];}async['notify'](_0x21b9bd,_0x5c5319){const _0x92c42e=a0_0x402c00;if(!this[_0x92c42e(0x1ec)]||this[_0x92c42e(0x1ec)][_0x92c42e(0x215)]!==null)return;const _0x48136c={};_0x48136c[_0x92c42e(0x1f4)]=_0x92c42e(0x1e9),_0x48136c[_0x92c42e(0x1ee)]=_0x21b9bd,_0x48136c[_0x92c42e(0x222)]=_0x5c5319;const _0xd9496c=_0x48136c,_0x27dbd6=JSON[_0x92c42e(0x1d1)](_0xd9496c);return new Promise((_0x37aca,_0x44f60c)=>{const _0x18a9ba=_0x92c42e;try{const _0x13ebc6=this['process'][_0x18a9ba(0x1fb)]['write'](_0x27dbd6+'\x0a');if(!_0x13ebc6)console[_0x18a9ba(0x214)](_0x18a9ba(0x1eb)+_0x18a9ba(0x22b)+_0x18a9ba(0x1dd)+_0x18a9ba(0x227));_0x37aca();}catch(_0x5d4e7b){_0x44f60c(_0x5d4e7b);}});}async[a0_0x402c00(0x1de)](_0x36c9f7,_0x2f172e){const _0x577603=a0_0x402c00,_0x5226ff={};_0x5226ff[_0x577603(0x219)]=_0x577603(0x21d)+_0x577603(0x206);const _0x5d411c=_0x5226ff;if(!this[_0x577603(0x1ec)]||this[_0x577603(0x1ec)][_0x577603(0x215)]!==null)throw new Error(_0x5d411c['HJLEm']);const _0x5a6a9b=this[_0x577603(0x1d9)]++,_0x1f2e0d={};_0x1f2e0d[_0x577603(0x1f4)]=_0x577603(0x1e9),_0x1f2e0d['id']=_0x5a6a9b,_0x1f2e0d['method']=_0x36c9f7,_0x1f2e0d[_0x577603(0x222)]=_0x2f172e;const _0x290a6f=_0x1f2e0d;return new Promise((_0x18cc40,_0x281337)=>{const _0x5ece47=_0x577603;this[_0x5ece47(0x1f6)+'uests'][_0x5ece47(0x1fe)](_0x5a6a9b,(_0x10ed8c,_0x779ecd)=>{if(_0x10ed8c)_0x18cc40(_0x10ed8c);else _0x281337(_0x779ecd);});const _0x23f279=JSON[_0x5ece47(0x1d1)](_0x290a6f);try{const _0x3218ce=this[_0x5ece47(0x1ec)]['stdin'][_0x5ece47(0x230)](_0x23f279+'\x0a');!_0x3218ce&&console['warn']('[MCP\x20Clien'+_0x5ece47(0x22b)+_0x5ece47(0x1dd)+_0x5ece47(0x20e));}catch(_0x218398){this[_0x5ece47(0x1f6)+_0x5ece47(0x1fc)][_0x5ece47(0x21a)](_0x5a6a9b),_0x281337(_0x218398);}});}[a0_0x402c00(0x23c)+'tion'](_0x1a6ccb,_0x2cac3e){const _0x2776ea=a0_0x402c00;this[_0x2776ea(0x1e7)+_0x2776ea(0x232)][_0x2776ea(0x1fe)](_0x1a6ccb,_0x2cac3e);}['handleMess'+a0_0x402c00(0x20d)](_0x52d763){const _0x213578=a0_0x402c00;if(_0x52d763['id']!==undefined&&(_0x52d763[_0x213578(0x1fa)]!==undefined||_0x52d763[_0x213578(0x226)]!==undefined)){const _0x665baf=this[_0x213578(0x1f6)+_0x213578(0x1fc)][_0x213578(0x1d3)](_0x52d763['id']);_0x665baf&&(this[_0x213578(0x1f6)+_0x213578(0x1fc)]['delete'](_0x52d763['id']),_0x52d763['error']?_0x665baf(null,new Error(_0x213578(0x1e6)+'rror:\x20'+JSON[_0x213578(0x1d1)](_0x52d763[_0x213578(0x226)]))):_0x665baf(_0x52d763[_0x213578(0x1fa)],null));}else{if(_0x52d763[_0x213578(0x1ee)]&&!_0x52d763['id']){const _0xe00ac5=this[_0x213578(0x1e7)+_0x213578(0x232)][_0x213578(0x1d3)](_0x52d763[_0x213578(0x1ee)]);_0xe00ac5&&_0xe00ac5(_0x52d763[_0x213578(0x222)]);}}}}
@@ -1 +1 @@
1
- function a1_0x2d88(){const _0x123063=['toLowerCas','validation','isError','includes','p_sast','\x20===','log','hasIsError','structured','analyze_fi','TC045','filePaths','error','9248976rKNoHb','is_status','lder_sca','30hiUQfv','zipFilePat','✅\x20MCP\x20서버\x20연','Testing\x20','Content','hhlFj','\x0a===\x20분석\x20결과','message','writeFileS','analyze_zi','TC032','exit','2988459eMIEjI','TC029','TC008','ts-respons',',\x20isErrorR','isErrorRes','apply','name','content','analysisId','les_sca','p_sca','constructo','request','nt=','tools/call','nt.zip',',\x20hasStruc','failed-tes','stringify','GzfOT','ync','RZOGh','결\x20성공\x0a','DSadE','ysis_progr','es.json','aiazi','/nonexiste','425310ynVKna','get_analys','TC036','dist/src/s','164eZkeBQ','TC007','nt/file.ja','analyze_fo','605992qSCaVi','\x0a✅\x20결과\x20저장:\x20','arguments','ponseCheck','TC039','853ehBnwL','Error:','(((.+)+)+)','search','args','999999999','folderPath',':\x20isError=','hasStructu','2878UbARiH','36685xwUSVY','49vJGYWV','turedConte','TC014','3122955GKCCVE','text','toString','lder_sast'];a1_0x2d88=function(){return _0x123063;};return a1_0x2d88();}(function(_0x2fc10a,_0x2274f2){const _0x5b90cc=a1_0x1f26,_0x390a42=_0x2fc10a();while(!![]){try{const _0x323897=-parseInt(_0x5b90cc(0x16f))/0x1*(parseInt(_0x5b90cc(0x178))/0x2)+parseInt(_0x5b90cc(0x17d))/0x3+parseInt(_0x5b90cc(0x166))/0x4*(parseInt(_0x5b90cc(0x179))/0x5)+parseInt(_0x5b90cc(0x162))/0x6*(parseInt(_0x5b90cc(0x17a))/0x7)+parseInt(_0x5b90cc(0x16a))/0x8+parseInt(_0x5b90cc(0x145))/0x9*(parseInt(_0x5b90cc(0x139))/0xa)+-parseInt(_0x5b90cc(0x136))/0xb;if(_0x323897===_0x2274f2)break;else _0x390a42['push'](_0x390a42['shift']());}catch(_0x5d2dfb){_0x390a42['push'](_0x390a42['shift']());}}}(a1_0x2d88,0xcd790));function a1_0x1f26(_0x17c7e6,_0x4209dd){_0x17c7e6=_0x17c7e6-0x12c;const _0x26c5e4=a1_0x2d88();let _0x358d87=_0x26c5e4[_0x17c7e6];return _0x358d87;}import{McpClient}from'../mcp-test/mcp-client.js';import a1_0x4c0eb3 from'fs';async function main(){const _0xa06d6f=a1_0x1f26,_0x585d7d={};_0x585d7d['aiazi']=_0xa06d6f(0x171)+'+$',_0x585d7d[_0xa06d6f(0x13e)]=_0xa06d6f(0x147),_0x585d7d[_0xa06d6f(0x159)]=_0xa06d6f(0x169)+_0xa06d6f(0x180),_0x585d7d[_0xa06d6f(0x15d)]='/nonexiste'+'nt/folder',_0x585d7d[_0xa06d6f(0x15b)]=_0xa06d6f(0x161)+_0xa06d6f(0x155);const _0x2ce09f=_0x585d7d,_0x3960ba=(function(){let _0x3319db=!![];return function(_0x5f2e13,_0x334ab0){const _0x56baeb=_0x3319db?function(){const _0xb911ec=a1_0x1f26;if(_0x334ab0){const _0x1e49b9=_0x334ab0[_0xb911ec(0x14b)](_0x5f2e13,arguments);return _0x334ab0=null,_0x1e49b9;}}:function(){};return _0x3319db=![],_0x56baeb;};}()),_0x2a16a7=_0x3960ba(this,function(){const _0x476568=_0xa06d6f;return _0x2a16a7[_0x476568(0x17f)]()[_0x476568(0x172)](_0x2ce09f[_0x476568(0x160)])[_0x476568(0x17f)]()[_0x476568(0x151)+'r'](_0x2a16a7)[_0x476568(0x172)]('(((.+)+)+)'+'+$');});_0x2a16a7();const _0x220b3e=new McpClient('node',[_0xa06d6f(0x165)+'erver.js']);try{await _0x220b3e['start'](),console[_0xa06d6f(0x12f)](_0xa06d6f(0x13b)+_0xa06d6f(0x15c));const _0x54b9e3={};_0x54b9e3['filePaths']=[];const _0x4b2c1b={};_0x4b2c1b['id']=_0xa06d6f(0x167),_0x4b2c1b[_0xa06d6f(0x14c)]=_0xa06d6f(0x132)+'les_sast',_0x4b2c1b[_0xa06d6f(0x173)]=_0x54b9e3;const _0x324ad3={};_0x324ad3[_0xa06d6f(0x134)]=[_0xa06d6f(0x161)+_0xa06d6f(0x168)+'va'];const _0x41716a={};_0x41716a['id']=_0x2ce09f['hhlFj'],_0x41716a[_0xa06d6f(0x14c)]=_0xa06d6f(0x132)+'les_sast',_0x41716a['args']=_0x324ad3;const _0x1bdc4e={};_0x1bdc4e[_0xa06d6f(0x14e)]=_0xa06d6f(0x174);const _0x216ff2={};_0x216ff2['id']=_0xa06d6f(0x17c),_0x216ff2['name']=_0xa06d6f(0x163)+_0xa06d6f(0x137),_0x216ff2[_0xa06d6f(0x173)]=_0x1bdc4e;const _0x4d61c3={};_0x4d61c3[_0xa06d6f(0x14e)]=_0xa06d6f(0x174);const _0x106adc={};_0x106adc['id']=_0xa06d6f(0x146),_0x106adc['name']='track_anal'+_0xa06d6f(0x15e)+'ess',_0x106adc[_0xa06d6f(0x173)]=_0x4d61c3;const _0xd10f9f={};_0xd10f9f[_0xa06d6f(0x175)]='';const _0x49ff7f={};_0x49ff7f['id']=_0xa06d6f(0x143),_0x49ff7f[_0xa06d6f(0x14c)]=_0x2ce09f[_0xa06d6f(0x159)],_0x49ff7f[_0xa06d6f(0x173)]=_0xd10f9f;const _0x31f924={};_0x31f924['id']='TC033',_0x31f924[_0xa06d6f(0x14c)]=_0x2ce09f[_0xa06d6f(0x159)],_0x31f924[_0xa06d6f(0x173)]={},_0x31f924[_0xa06d6f(0x173)][_0xa06d6f(0x175)]=_0x2ce09f[_0xa06d6f(0x15d)];const _0xbf9761={};_0xbf9761['zipFilePat'+'h']=_0xa06d6f(0x161)+'nt.zip';const _0x3ace66={};_0x3ace66['id']=_0xa06d6f(0x164),_0x3ace66[_0xa06d6f(0x14c)]='analyze_zi'+_0xa06d6f(0x12d),_0x3ace66[_0xa06d6f(0x173)]=_0xbf9761;const _0x332186={};_0x332186[_0xa06d6f(0x134)]=[];const _0x1c82fe={};_0x1c82fe['id']=_0xa06d6f(0x16e),_0x1c82fe[_0xa06d6f(0x14c)]=_0xa06d6f(0x132)+_0xa06d6f(0x14f),_0x1c82fe['args']=_0x332186;const _0x4384d4={};_0x4384d4[_0xa06d6f(0x175)]='';const _0x1fef84={};_0x1fef84['id']='TC042',_0x1fef84['name']=_0xa06d6f(0x169)+_0xa06d6f(0x138),_0x1fef84['args']=_0x4384d4;const _0x17794b={};_0x17794b[_0xa06d6f(0x13a)+'h']=_0x2ce09f['RZOGh'];const _0x1c5f0b={};_0x1c5f0b['id']=_0xa06d6f(0x133),_0x1c5f0b[_0xa06d6f(0x14c)]=_0xa06d6f(0x142)+_0xa06d6f(0x150),_0x1c5f0b[_0xa06d6f(0x173)]=_0x17794b;const _0x4fef3f=[_0x4b2c1b,_0x41716a,_0x216ff2,_0x106adc,_0x49ff7f,_0x31f924,_0x3ace66,_0x1c82fe,_0x1fef84,_0x1c5f0b],_0xc77b4c={};for(const _0x4b5238 of _0x4fef3f){console[_0xa06d6f(0x12f)](_0xa06d6f(0x13c)+_0x4b5238['id']+':\x20'+_0x4b5238['name']+'...');try{const _0x2f5a4b={};_0x2f5a4b[_0xa06d6f(0x14c)]=_0x4b5238['name'],_0x2f5a4b[_0xa06d6f(0x16c)]=_0x4b5238['args'];const _0x28a321=await _0x220b3e[_0xa06d6f(0x152)](_0xa06d6f(0x154),_0x2f5a4b);_0xc77b4c[_0x4b5238['id']]={'test':_0x4b5238[_0xa06d6f(0x14c)],'args':_0x4b5238[_0xa06d6f(0x173)],'response':_0x28a321,'hasIsError':!!_0x28a321['isError'],'hasStructuredContent':!!_0x28a321[_0xa06d6f(0x131)+_0xa06d6f(0x13d)],'contentText':_0x28a321['content']?.[0x0]?.[_0xa06d6f(0x17e)],'isErrorResponseCheck':_0x28a321[_0xa06d6f(0x183)]===!![]||_0x28a321['content']?.[0x0]?.[_0xa06d6f(0x17e)]?.[_0xa06d6f(0x181)+'e']()[_0xa06d6f(0x12c)](_0xa06d6f(0x135))||_0x28a321[_0xa06d6f(0x14d)]?.[0x0]?.[_0xa06d6f(0x17e)]?.[_0xa06d6f(0x181)+'e']()['includes'](_0xa06d6f(0x182))};}catch(_0x143c72){_0xc77b4c[_0x4b5238['id']]={'test':_0x4b5238['name'],'args':_0x4b5238[_0xa06d6f(0x173)],'error':_0x143c72[_0xa06d6f(0x140)]};}}a1_0x4c0eb3[_0xa06d6f(0x141)+_0xa06d6f(0x15a)](_0xa06d6f(0x157)+_0xa06d6f(0x148)+_0xa06d6f(0x15f),JSON[_0xa06d6f(0x158)](_0xc77b4c,null,0x2)),console[_0xa06d6f(0x12f)](_0xa06d6f(0x16b)+_0xa06d6f(0x157)+'ts-respons'+_0xa06d6f(0x15f)),console[_0xa06d6f(0x12f)](_0xa06d6f(0x13f)+_0xa06d6f(0x12e));for(const [_0x410ab6,_0x5b5cf1]of Object['entries'](_0xc77b4c)){const _0x8f4b87=_0x5b5cf1;console[_0xa06d6f(0x12f)](_0x410ab6+_0xa06d6f(0x176)+_0x8f4b87[_0xa06d6f(0x130)]+(_0xa06d6f(0x156)+_0xa06d6f(0x17b)+_0xa06d6f(0x153))+_0x8f4b87[_0xa06d6f(0x177)+'redContent']+(_0xa06d6f(0x149)+'esponse=')+_0x8f4b87[_0xa06d6f(0x14a)+_0xa06d6f(0x16d)]);}await _0x220b3e['stop']();}catch(_0x6f1609){console[_0xa06d6f(0x135)](_0xa06d6f(0x170),_0x6f1609),await _0x220b3e['stop'](),process[_0xa06d6f(0x144)](0x1);}}main();
1
+ function a1_0x429b(){const _0x4e098f=['\x0a✅\x20결과\x20저장:\x20','turedConte','analyze_fi','analyze_zi','iLhDq',',\x20hasStruc','933004uPynzD','redContent','stop','...','les_sast','95vvOeIf','structured','message','\x20===','TC036','tools/call','writeFileS','esponse=','entries','ysis_progr','Content','3040448cRfznA','nt/folder','xoCqM','6897919DJNJdb','✅\x20MCP\x20서버\x20연','TC029','toString','ssRoh','4884438rcAOjJ','Testing\x20','TC014',',\x20isErrorR','(((.+)+)+)','error','analysisId','TC007','nt=','failed-tes','log','490NemXQH','999999999','get_analys','includes','node','content','start','ess','zipFilePat','lder_sast','validation','TC033','exit','es.json','folderPath','toLowerCas','filePaths','1ltNzoJ','erver.js','args','nt.zip','/nonexiste','isError','arguments','33KylzHN','p_sast','6MYjvqx','analyze_fo','311292NeIjob','name','\x0a===\x20분석\x20결과','243312ambNcI','tGdmO','TC032','nt/file.ja','request','TC042','ponseCheck','cXTua','p_sca','22052628ifotTh','text'];a1_0x429b=function(){return _0x4e098f;};return a1_0x429b();}(function(_0x544330,_0xd8e089){const _0x4da987=a1_0xd4d4,_0x361539=_0x544330();while(!![]){try{const _0x3a3969=-parseInt(_0x4da987(0xe2))/0x1*(-parseInt(_0x4da987(0xae))/0x2)+-parseInt(_0x4da987(0xc6))/0x3+parseInt(_0x4da987(0x9d))/0x4*(-parseInt(_0x4da987(0xb3))/0x5)+parseInt(_0x4da987(0xeb))/0x6*(-parseInt(_0x4da987(0xc1))/0x7)+parseInt(_0x4da987(0xbe))/0x8+parseInt(_0x4da987(0xed))/0x9*(-parseInt(_0x4da987(0xd1))/0xa)+parseInt(_0x4da987(0xe9))/0xb*(parseInt(_0x4da987(0xa6))/0xc);if(_0x3a3969===_0xd8e089)break;else _0x361539['push'](_0x361539['shift']());}catch(_0x3cc062){_0x361539['push'](_0x361539['shift']());}}}(a1_0x429b,0xdaa78));function a1_0xd4d4(_0x5c6c1b,_0x2a4701){_0x5c6c1b=_0x5c6c1b-0x9c;const _0x35c4f4=a1_0x429b();let _0x4fca7c=_0x35c4f4[_0x5c6c1b];return _0x4fca7c;}import{McpClient}from'../mcp-test/mcp-client.js';import a1_0x49a5d7 from'fs';async function main(){const _0x2b3b06=a1_0xd4d4,_0x5e3e01={};_0x5e3e01[_0x2b3b06(0x9e)]='(((.+)+)+)'+'+$',_0x5e3e01[_0x2b3b06(0xac)]=_0x2b3b06(0xcd),_0x5e3e01['ssRoh']=_0x2b3b06(0xaa)+'les_sast',_0x5e3e01[_0x2b3b06(0xa4)]=_0x2b3b06(0xa2),_0x5e3e01[_0x2b3b06(0xc0)]=_0x2b3b06(0xcf)+'ts-respons'+'es.json';const _0x31c477=_0x5e3e01,_0x18bfbf=(function(){let _0x242fba=!![];return function(_0x353998,_0x18147d){const _0xa41560=_0x242fba?function(){if(_0x18147d){const _0x3df948=_0x18147d['apply'](_0x353998,arguments);return _0x18147d=null,_0x3df948;}}:function(){};return _0x242fba=![],_0xa41560;};}()),_0x465864=_0x18bfbf(this,function(){const _0x1fe55f=_0x2b3b06;return _0x465864['toString']()['search'](_0x1fe55f(0xca)+'+$')[_0x1fe55f(0xc4)]()['constructo'+'r'](_0x465864)['search'](_0x31c477['tGdmO']);});_0x465864();const _0x4d87b2=new McpClient(_0x2b3b06(0xd5),['dist/src/s'+_0x2b3b06(0xe3)]);try{await _0x4d87b2[_0x2b3b06(0xd7)](),console[_0x2b3b06(0xd0)](_0x2b3b06(0xc2)+'결\x20성공\x0a');const _0x25d542={};_0x25d542[_0x2b3b06(0xe1)]=[];const _0x155c3c={};_0x155c3c['id']=_0x31c477['iLhDq'],_0x155c3c['name']=_0x2b3b06(0xaa)+_0x2b3b06(0xb2),_0x155c3c[_0x2b3b06(0xe4)]=_0x25d542;const _0x444aad={};_0x444aad['filePaths']=[_0x2b3b06(0xe6)+_0x2b3b06(0xa0)+'va'];const _0x444695={};_0x444695['id']='TC008',_0x444695[_0x2b3b06(0xee)]=_0x31c477[_0x2b3b06(0xc5)],_0x444695[_0x2b3b06(0xe4)]=_0x444aad;const _0x2f744e={};_0x2f744e[_0x2b3b06(0xcc)]=_0x2b3b06(0xd2);const _0xe0a19={};_0xe0a19['id']=_0x2b3b06(0xc8),_0xe0a19[_0x2b3b06(0xee)]=_0x2b3b06(0xd3)+'is_status',_0xe0a19['args']=_0x2f744e;const _0x45a781={};_0x45a781['analysisId']=_0x2b3b06(0xd2);const _0x583023={};_0x583023['id']=_0x2b3b06(0xc3),_0x583023[_0x2b3b06(0xee)]='track_anal'+_0x2b3b06(0xbc)+_0x2b3b06(0xd8),_0x583023[_0x2b3b06(0xe4)]=_0x45a781;const _0x2da6d0={};_0x2da6d0[_0x2b3b06(0xdf)]='';const _0x1e0067={};_0x1e0067['id']=_0x2b3b06(0x9f),_0x1e0067[_0x2b3b06(0xee)]=_0x2b3b06(0xec)+_0x2b3b06(0xda),_0x1e0067[_0x2b3b06(0xe4)]=_0x2da6d0;const _0x4ffbdf={};_0x4ffbdf[_0x2b3b06(0xdf)]=_0x2b3b06(0xe6)+_0x2b3b06(0xbf);const _0x45259b={};_0x45259b['id']=_0x2b3b06(0xdc),_0x45259b[_0x2b3b06(0xee)]=_0x2b3b06(0xec)+_0x2b3b06(0xda),_0x45259b[_0x2b3b06(0xe4)]=_0x4ffbdf;const _0x35e8b4={};_0x35e8b4[_0x2b3b06(0xd9)+'h']='/nonexiste'+_0x2b3b06(0xe5);const _0x5c3b35={};_0x5c3b35['id']=_0x2b3b06(0xb7),_0x5c3b35['name']=_0x2b3b06(0xab)+_0x2b3b06(0xea),_0x5c3b35[_0x2b3b06(0xe4)]=_0x35e8b4;const _0x521f12={};_0x521f12[_0x2b3b06(0xe1)]=[];const _0x471f3e={};_0x471f3e['id']='TC039',_0x471f3e[_0x2b3b06(0xee)]=_0x2b3b06(0xaa)+'les_sca',_0x471f3e[_0x2b3b06(0xe4)]=_0x521f12;const _0x666cff={};_0x666cff['folderPath']='';const _0xbe9d34={};_0xbe9d34['id']=_0x31c477[_0x2b3b06(0xa4)],_0xbe9d34[_0x2b3b06(0xee)]=_0x2b3b06(0xec)+'lder_sca',_0xbe9d34['args']=_0x666cff;const _0x5b5650={};_0x5b5650[_0x2b3b06(0xd9)+'h']='/nonexiste'+_0x2b3b06(0xe5);const _0x2329c7={};_0x2329c7['id']='TC045',_0x2329c7[_0x2b3b06(0xee)]=_0x2b3b06(0xab)+_0x2b3b06(0xa5),_0x2329c7['args']=_0x5b5650;const _0x207478=[_0x155c3c,_0x444695,_0xe0a19,_0x583023,_0x1e0067,_0x45259b,_0x5c3b35,_0x471f3e,_0xbe9d34,_0x2329c7],_0x237ee5={};for(const _0x3e75d6 of _0x207478){console['log'](_0x2b3b06(0xc7)+_0x3e75d6['id']+':\x20'+_0x3e75d6['name']+_0x2b3b06(0xb1));try{const _0x4b02ee={};_0x4b02ee['name']=_0x3e75d6[_0x2b3b06(0xee)],_0x4b02ee[_0x2b3b06(0xe8)]=_0x3e75d6[_0x2b3b06(0xe4)];const _0x3510d3=await _0x4d87b2[_0x2b3b06(0xa1)](_0x2b3b06(0xb8),_0x4b02ee);_0x237ee5[_0x3e75d6['id']]={'test':_0x3e75d6[_0x2b3b06(0xee)],'args':_0x3e75d6['args'],'response':_0x3510d3,'hasIsError':!!_0x3510d3[_0x2b3b06(0xe7)],'hasStructuredContent':!!_0x3510d3[_0x2b3b06(0xb4)+_0x2b3b06(0xbd)],'contentText':_0x3510d3[_0x2b3b06(0xd6)]?.[0x0]?.[_0x2b3b06(0xa7)],'isErrorResponseCheck':_0x3510d3[_0x2b3b06(0xe7)]===!![]||_0x3510d3[_0x2b3b06(0xd6)]?.[0x0]?.[_0x2b3b06(0xa7)]?.[_0x2b3b06(0xe0)+'e']()[_0x2b3b06(0xd4)](_0x2b3b06(0xcb))||_0x3510d3[_0x2b3b06(0xd6)]?.[0x0]?.[_0x2b3b06(0xa7)]?.[_0x2b3b06(0xe0)+'e']()[_0x2b3b06(0xd4)](_0x2b3b06(0xdb))};}catch(_0x36243a){_0x237ee5[_0x3e75d6['id']]={'test':_0x3e75d6[_0x2b3b06(0xee)],'args':_0x3e75d6['args'],'error':_0x36243a[_0x2b3b06(0xb5)]};}}a1_0x49a5d7[_0x2b3b06(0xb9)+'ync'](_0x31c477[_0x2b3b06(0xc0)],JSON['stringify'](_0x237ee5,null,0x2)),console[_0x2b3b06(0xd0)](_0x2b3b06(0xa8)+'failed-tes'+'ts-respons'+_0x2b3b06(0xde)),console['log'](_0x2b3b06(0x9c)+_0x2b3b06(0xb6));for(const [_0xc5a3ba,_0x5f2217]of Object[_0x2b3b06(0xbb)](_0x237ee5)){const _0x37e8ab=_0x5f2217;console[_0x2b3b06(0xd0)](_0xc5a3ba+':\x20isError='+_0x37e8ab['hasIsError']+(_0x2b3b06(0xad)+_0x2b3b06(0xa9)+_0x2b3b06(0xce))+_0x37e8ab['hasStructu'+_0x2b3b06(0xaf)]+(_0x2b3b06(0xc9)+_0x2b3b06(0xba))+_0x37e8ab['isErrorRes'+_0x2b3b06(0xa3)]);}await _0x4d87b2[_0x2b3b06(0xb0)]();}catch(_0x187356){console[_0x2b3b06(0xcb)]('Error:',_0x187356),await _0x4d87b2[_0x2b3b06(0xb0)](),process[_0x2b3b06(0xdd)](0x1);}}main();
@@ -1 +1 @@
1
- const a2_0x53ca83=a2_0x6bca;(function(_0x139423,_0x2c02dc){const _0x39fd3f=a2_0x6bca,_0x5a0bd6=_0x139423();while(!![]){try{const _0x2fefd3=parseInt(_0x39fd3f(0x12a))/0x1+parseInt(_0x39fd3f(0x101))/0x2*(-parseInt(_0x39fd3f(0xf4))/0x3)+-parseInt(_0x39fd3f(0x103))/0x4+-parseInt(_0x39fd3f(0xe7))/0x5+-parseInt(_0x39fd3f(0x108))/0x6*(parseInt(_0x39fd3f(0x104))/0x7)+-parseInt(_0x39fd3f(0x125))/0x8+parseInt(_0x39fd3f(0xfd))/0x9;if(_0x2fefd3===_0x2c02dc)break;else _0x5a0bd6['push'](_0x5a0bd6['shift']());}catch(_0x55ab04){_0x5a0bd6['push'](_0x5a0bd6['shift']());}}}(a2_0x467c,0xd344f));import{McpClient}from'../mcp-test/mcp-client.js';import a2_0x341fc7 from'fs';function a2_0x6bca(_0x25f899,_0x3a02e7){_0x25f899=_0x25f899-0xe7;const _0x62eba3=a2_0x467c();let _0x452cda=_0x62eba3[_0x25f899];return _0x452cda;}const BUILTIN_JAVA_CODE='\x0apublic\x20cl'+a2_0x53ca83(0x128)+a2_0x53ca83(0xf3)+a2_0x53ca83(0x11a)+'c\x20void\x20get'+a2_0x53ca83(0x100)+a2_0x53ca83(0x10d)+'\x20\x20\x20\x20\x20\x20Stri'+a2_0x53ca83(0x102)+'\x20\x22SELECT\x20*'+a2_0x53ca83(0x11c)+a2_0x53ca83(0x112)+a2_0x53ca83(0xfa)+a2_0x53ca83(0x109)+'\x20\x20}\x0a}';async function main(){const _0x323897=a2_0x53ca83,_0x3b7c60={};_0x3b7c60[_0x323897(0xf6)]=_0x323897(0x126)+_0x323897(0x110),_0x3b7c60[_0x323897(0x121)]=_0x323897(0xf1),_0x3b7c60[_0x323897(0x12b)]=_0x323897(0x11b)+_0x323897(0x11d)+'sast\x20WITHO'+_0x323897(0x107)+'on',_0x3b7c60['mpCIU']='tc001-vs-t'+_0x323897(0xee)+_0x323897(0x105);const _0x5b7e66=_0x3b7c60,_0x66e4a4=(function(){let _0x24f123=!![];return function(_0x1a8ff0,_0x145396){const _0x5dac25=_0x24f123?function(){if(_0x145396){const _0x36ccc8=_0x145396['apply'](_0x1a8ff0,arguments);return _0x145396=null,_0x36ccc8;}}:function(){};return _0x24f123=![],_0x5dac25;};}()),_0x47c74c=_0x66e4a4(this,function(){const _0x4653e0=_0x323897;return _0x47c74c[_0x4653e0(0x116)]()[_0x4653e0(0xf7)](_0x4653e0(0xfc)+'+$')[_0x4653e0(0x116)]()['constructo'+'r'](_0x47c74c)[_0x4653e0(0xf7)](_0x4653e0(0xfc)+'+$');});_0x47c74c();const _0x388f43=new McpClient(_0x323897(0xfe),[_0x5b7e66[_0x323897(0xf6)]]);try{await _0x388f43[_0x323897(0x113)](),console[_0x323897(0x129)](_0x323897(0xfb)+_0x323897(0xf8)),console[_0x323897(0x129)]('TC001:\x20ana'+_0x323897(0x11d)+_0x323897(0x114)+_0x323897(0x122)+_0x323897(0x12e));const _0xc3e9cf={};_0xc3e9cf[_0x323897(0x10f)+'t']=BUILTIN_JAVA_CODE,_0xc3e9cf[_0x323897(0xec)]='UserContro'+_0x323897(0xe8);const _0x33bf45={};_0x33bf45['name']=_0x323897(0x117)+_0x323897(0x127),_0x33bf45[_0x323897(0x120)]=_0xc3e9cf;const _0x2e4da6=await _0x388f43['request'](_0x5b7e66[_0x323897(0x121)],_0x33bf45);console[_0x323897(0x129)](_0x5b7e66['NkiLf']);const _0x4647b1={};_0x4647b1[_0x323897(0x10f)+'t']=BUILTIN_JAVA_CODE,_0x4647b1[_0x323897(0xec)]=_0x323897(0x10c)+'ller';const _0x27458f={};_0x27458f[_0x323897(0x119)]=_0x323897(0x117)+'le_sast',_0x27458f['arguments']=_0x4647b1;const _0x43d5a9=await _0x388f43[_0x323897(0xef)](_0x323897(0xf1),_0x27458f),_0xfb4426={};_0xfb4426[_0x323897(0xf9)]=_0x2e4da6,_0xfb4426[_0x323897(0x111)]=_0x43d5a9,_0xfb4426[_0x323897(0x10b)]={},_0xfb4426[_0x323897(0x10b)]['tc001_has_'+_0x323897(0x10e)+_0x323897(0x12d)]=!!_0x2e4da6[_0x323897(0x10e)+_0x323897(0x12d)],_0xfb4426[_0x323897(0x10b)][_0x323897(0xed)+'structured'+_0x323897(0x12d)]=!!_0x43d5a9[_0x323897(0x10e)+_0x323897(0x12d)],_0xfb4426[_0x323897(0x10b)][_0x323897(0x106)+'r']=_0x2e4da6[_0x323897(0x10e)+_0x323897(0x12d)]?.[_0x323897(0xf0)],_0xfb4426[_0x323897(0x10b)]['tc005_erro'+'r']=_0x43d5a9['structured'+_0x323897(0x12d)]?.[_0x323897(0xf0)],_0xfb4426[_0x323897(0x10b)]['tc001_anal'+_0x323897(0x11e)]=_0x2e4da6['structured'+_0x323897(0x12d)]?.[_0x323897(0x123)],_0xfb4426[_0x323897(0x10b)][_0x323897(0x12c)+'ysisId']=_0x43d5a9[_0x323897(0x10e)+_0x323897(0x12d)]?.[_0x323897(0x123)];const _0x5cd81e=_0xfb4426;a2_0x341fc7[_0x323897(0xff)+_0x323897(0x118)](_0x5b7e66[_0x323897(0xe9)],JSON[_0x323897(0xf5)](_0x5cd81e,null,0x2)),console['log'](_0x323897(0x10a)+_0x323897(0x115)+_0x323897(0xee)+_0x323897(0x105)),console[_0x323897(0x129)]('\x0a===\x20핵심\x20발견'+_0x323897(0x11f)),console['log'](_0x323897(0xeb)+_0x323897(0x10e)+_0x323897(0xf2),!!_0x2e4da6[_0x323897(0x10e)+_0x323897(0x12d)]),console[_0x323897(0x129)]('TC005\x20has\x20'+_0x323897(0x10e)+_0x323897(0xf2),!!_0x43d5a9[_0x323897(0x10e)+_0x323897(0x12d)]),await _0x388f43[_0x323897(0x124)]();}catch(_0x3faadd){console[_0x323897(0xf0)](_0x323897(0xea),_0x3faadd),await _0x388f43[_0x323897(0x124)](),process['exit'](0x1);}}function a2_0x467c(){const _0x3d895d=['72587XeDZGM','NkiLf','tc005_anal','Content','(.java)','7083300wHWXPL','ller.java','mpCIU','Error:','TC001\x20has\x20','fileName','tc005_has_','c005-respo','request','error','tools/call','Content:','ntroller\x20{','3913653zQKtcG','stringify','dlwVj','search','결\x20성공\x0a','TC001','\x20=\x20\x27\x22\x20+\x20id','✅\x20MCP\x20서버\x20연','(((.+)+)+)','53083323eeaNyl','node','writeFileS','User(Strin','2CqhiYk','ng\x20query\x20=','1339288XnjJiw','7tTiiIK','nse.json','tc001_erro','UT\x20extensi','2757354EkDQTT','\x20+\x20\x22\x27\x22;\x0a\x20\x20','\x0a✅\x20결과\x20저장:\x20','comparison','UserContro','g\x20id)\x20{\x0a\x20\x20','structured','fileConten','erver.js','TC005','s\x20WHERE\x20id','start','sast\x20with\x20','tc001-vs-t','toString','analyze_fi','ync','name','\x0a\x20\x20\x20\x20publi','TC005:\x20ana','\x20FROM\x20user','lyze_file_','ysisId','\x20===','arguments','GlURG','EXTENSION\x20','analysisId','stop','12718264Tnjoxn','dist/src/s','le_sast','ass\x20UserCo','log'];a2_0x467c=function(){return _0x3d895d;};return a2_0x467c();}main();
1
+ const a2_0x40f302=a2_0x5d28;(function(_0x5d0da8,_0x38e0b1){const _0x22d6c9=a2_0x5d28,_0x2df6b5=_0x5d0da8();while(!![]){try{const _0x8c4697=parseInt(_0x22d6c9(0x163))/0x1+-parseInt(_0x22d6c9(0x179))/0x2+parseInt(_0x22d6c9(0x194))/0x3*(parseInt(_0x22d6c9(0x16d))/0x4)+-parseInt(_0x22d6c9(0x193))/0x5*(-parseInt(_0x22d6c9(0x17b))/0x6)+-parseInt(_0x22d6c9(0x16b))/0x7+-parseInt(_0x22d6c9(0x192))/0x8*(parseInt(_0x22d6c9(0x188))/0x9)+parseInt(_0x22d6c9(0x173))/0xa;if(_0x8c4697===_0x38e0b1)break;else _0x2df6b5['push'](_0x2df6b5['shift']());}catch(_0x2b4cce){_0x2df6b5['push'](_0x2df6b5['shift']());}}}(a2_0x28b0,0xccf3c));import{McpClient}from'../mcp-test/mcp-client.js';function a2_0x28b0(){const _0x4c1c83=['nse.json','\x20===','\x20\x20}\x0a}','ysisId','1115864pFUrHJ','68605uOnfQT','3pdbqpx','le_sast','c\x20void\x20get','TC005','결\x20성공\x0a','tc001_anal','lyze_file_','search','\x0apublic\x20cl','structured','arguments','TC001:\x20ana','ller.java','(((.+)+)+)','ng\x20query\x20=','g\x20id)\x20{\x0a\x20\x20','apply','135611LwmvSH','analyze_fi','ntroller\x20{','sast\x20WITHO','TC005\x20has\x20','EXTENSION\x20','c005-respo','request','2092818huTzhs','\x20+\x20\x22\x27\x22;\x0a\x20\x20','475452meqUUE','\x0a\x20\x20\x20\x20publi','\x20\x20\x20\x20\x20\x20Stri','(.java)','QWFWo','Content','14624460jAopaC','comparison','toString','UT\x20extensi','erver.js','TC001\x20has\x20','1138740PlUlKL','\x0a===\x20핵심\x20발견','240EqDnmI','fileName','tc005_erro','ass\x20UserCo','node','stringify','name','✅\x20MCP\x20서버\x20연','tc005_anal','error','log','tc001-vs-t','ync','36ibzkbR','stop','UserContro','analysisId','fileConten','start'];a2_0x28b0=function(){return _0x4c1c83;};return a2_0x28b0();}import a2_0x37baa4 from'fs';const BUILTIN_JAVA_CODE=a2_0x40f302(0x19c)+a2_0x40f302(0x17e)+a2_0x40f302(0x165)+a2_0x40f302(0x16e)+a2_0x40f302(0x196)+'User(Strin'+a2_0x40f302(0x1a3)+a2_0x40f302(0x16f)+a2_0x40f302(0x1a2)+'\x20\x22SELECT\x20*'+'\x20FROM\x20user'+'s\x20WHERE\x20id'+'\x20=\x20\x27\x22\x20+\x20id'+a2_0x40f302(0x16c)+a2_0x40f302(0x190);function a2_0x5d28(_0x7913d5,_0x28e1e4){_0x7913d5=_0x7913d5-0x163;const _0x28c477=a2_0x28b0();let _0x337906=_0x28c477[_0x7913d5];return _0x337906;}async function main(){const _0x253c0c=a2_0x40f302,_0x502809={};_0x502809['QWFWo']='analyze_fi'+_0x253c0c(0x195);const _0x20c8fe=_0x502809,_0x17ec67=(function(){let _0x19d4e2=!![];return function(_0x4e194c,_0x20f89d){const _0x34bb89=_0x19d4e2?function(){const _0x11e9ce=a2_0x5d28;if(_0x20f89d){const _0xecc171=_0x20f89d[_0x11e9ce(0x1a4)](_0x4e194c,arguments);return _0x20f89d=null,_0xecc171;}}:function(){};return _0x19d4e2=![],_0x34bb89;};}()),_0x5c1f03=_0x17ec67(this,function(){const _0x1750e2=_0x253c0c;return _0x5c1f03[_0x1750e2(0x175)]()[_0x1750e2(0x19b)]('(((.+)+)+)'+'+$')[_0x1750e2(0x175)]()['constructo'+'r'](_0x5c1f03)['search'](_0x1750e2(0x1a1)+'+$');});_0x5c1f03();const _0x3e2124=new McpClient(_0x253c0c(0x17f),['dist/src/s'+_0x253c0c(0x177)]);try{await _0x3e2124[_0x253c0c(0x18d)](),console[_0x253c0c(0x185)](_0x253c0c(0x182)+_0x253c0c(0x198)),console[_0x253c0c(0x185)](_0x253c0c(0x19f)+_0x253c0c(0x19a)+'sast\x20with\x20'+_0x253c0c(0x168)+_0x253c0c(0x170));const _0x53f510={};_0x53f510[_0x253c0c(0x18c)+'t']=BUILTIN_JAVA_CODE,_0x53f510[_0x253c0c(0x17c)]=_0x253c0c(0x18a)+_0x253c0c(0x1a0);const _0x18d5ea={};_0x18d5ea[_0x253c0c(0x181)]=_0x20c8fe[_0x253c0c(0x171)],_0x18d5ea[_0x253c0c(0x19e)]=_0x53f510;const _0x3bc8e8=await _0x3e2124['request']('tools/call',_0x18d5ea);console['log']('TC005:\x20ana'+_0x253c0c(0x19a)+_0x253c0c(0x166)+_0x253c0c(0x176)+'on');const _0x511cb1={};_0x511cb1[_0x253c0c(0x18c)+'t']=BUILTIN_JAVA_CODE,_0x511cb1['fileName']=_0x253c0c(0x18a)+'ller';const _0x4eda0e={};_0x4eda0e[_0x253c0c(0x181)]=_0x253c0c(0x164)+'le_sast',_0x4eda0e['arguments']=_0x511cb1;const _0x5a3e46=await _0x3e2124[_0x253c0c(0x16a)]('tools/call',_0x4eda0e),_0x398484={};_0x398484['TC001']=_0x3bc8e8,_0x398484[_0x253c0c(0x197)]=_0x5a3e46,_0x398484[_0x253c0c(0x174)]={},_0x398484[_0x253c0c(0x174)]['tc001_has_'+_0x253c0c(0x19d)+_0x253c0c(0x172)]=!!_0x3bc8e8['structured'+_0x253c0c(0x172)],_0x398484[_0x253c0c(0x174)]['tc005_has_'+_0x253c0c(0x19d)+_0x253c0c(0x172)]=!!_0x5a3e46[_0x253c0c(0x19d)+_0x253c0c(0x172)],_0x398484[_0x253c0c(0x174)]['tc001_erro'+'r']=_0x3bc8e8[_0x253c0c(0x19d)+_0x253c0c(0x172)]?.[_0x253c0c(0x184)],_0x398484[_0x253c0c(0x174)][_0x253c0c(0x17d)+'r']=_0x5a3e46[_0x253c0c(0x19d)+'Content']?.[_0x253c0c(0x184)],_0x398484[_0x253c0c(0x174)][_0x253c0c(0x199)+_0x253c0c(0x191)]=_0x3bc8e8[_0x253c0c(0x19d)+_0x253c0c(0x172)]?.[_0x253c0c(0x18b)],_0x398484[_0x253c0c(0x174)][_0x253c0c(0x183)+'ysisId']=_0x5a3e46['structured'+_0x253c0c(0x172)]?.[_0x253c0c(0x18b)];const _0x1cac00=_0x398484;a2_0x37baa4['writeFileS'+_0x253c0c(0x187)]('tc001-vs-t'+_0x253c0c(0x169)+'nse.json',JSON[_0x253c0c(0x180)](_0x1cac00,null,0x2)),console[_0x253c0c(0x185)]('\x0a✅\x20결과\x20저장:\x20'+_0x253c0c(0x186)+'c005-respo'+_0x253c0c(0x18e)),console[_0x253c0c(0x185)](_0x253c0c(0x17a)+_0x253c0c(0x18f)),console[_0x253c0c(0x185)](_0x253c0c(0x178)+'structured'+'Content:',!!_0x3bc8e8[_0x253c0c(0x19d)+_0x253c0c(0x172)]),console[_0x253c0c(0x185)](_0x253c0c(0x167)+_0x253c0c(0x19d)+'Content:',!!_0x5a3e46['structured'+'Content']),await _0x3e2124[_0x253c0c(0x189)]();}catch(_0x1e0b09){console[_0x253c0c(0x184)]('Error:',_0x1e0b09),await _0x3e2124['stop'](),process['exit'](0x1);}}main();
@@ -1 +1 @@
1
- function a3_0x3e8d(){const _0xa8ae60=['content','COMPLETE','gHPJi','includes','tools/call','apply','toUpperCas','913626cjmZuG','ysis/','2675676wnkVeV','399831OsUzFX','error','/ko/reques','text','meout\x20afte','12HDnMtc','constructo','dirname','toLowerCas','isError','2609905ttvBaV','result','6dMdecl','rrowcloud.','search','\x20attempts','tList/anal','validation','36347140mDWqZo','is_status','20440CzmLAM','STOP','(((.+)+)+)','status','481211KQpoIO','1260jSWMms','https://on','analysisId','toString'];a3_0x3e8d=function(){return _0xa8ae60;};return a3_0x3e8d();}const a3_0x56704d=a3_0x33ca;(function(_0x45c718,_0x4beda9){const _0x734edc=a3_0x33ca,_0x87ec3d=_0x45c718();while(!![]){try{const _0x1f1cf0=-parseInt(_0x734edc(0xe2))/0x1+-parseInt(_0x734edc(0xfd))/0x2*(parseInt(_0x734edc(0xf1))/0x3)+-parseInt(_0x734edc(0xf0))/0x4+parseInt(_0x734edc(0xfb))/0x5*(-parseInt(_0x734edc(0xf6))/0x6)+-parseInt(_0x734edc(0xee))/0x7+parseInt(_0x734edc(0xde))/0x8*(-parseInt(_0x734edc(0xe3))/0x9)+parseInt(_0x734edc(0xdc))/0xa;if(_0x1f1cf0===_0x4beda9)break;else _0x87ec3d['push'](_0x87ec3d['shift']());}catch(_0x354f4b){_0x87ec3d['push'](_0x87ec3d['shift']());}}}(a3_0x3e8d,0x86e7d));const a3_0x5a2ea7=(function(){let _0x4d89b8=!![];return function(_0x37f921,_0x29a198){const _0x194f28=_0x4d89b8?function(){const _0x48ca63=a3_0x33ca;if(_0x29a198){const _0x13a0ba=_0x29a198[_0x48ca63(0xec)](_0x37f921,arguments);return _0x29a198=null,_0x13a0ba;}}:function(){};return _0x4d89b8=![],_0x194f28;};}()),a3_0x395301=a3_0x5a2ea7(this,function(){const _0x12c5c9=a3_0x33ca;return a3_0x395301['toString']()['search'](_0x12c5c9(0xe0)+'+$')[_0x12c5c9(0xe6)]()[_0x12c5c9(0xf7)+'r'](a3_0x395301)[_0x12c5c9(0xd8)](_0x12c5c9(0xe0)+'+$');});a3_0x395301();import a3_0x2063ea from'path';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta.url),__dirname=a3_0x2063ea[a3_0x56704d(0xf8)](__filename),SPARROW_BASE_URL=process.env.SPARROW_API_URL||a3_0x56704d(0xe4)+'demand.spa'+a3_0x56704d(0xfe)+'ai',MAX_POLL_ATTEMPTS=0x12c,POLL_INTERVAL_MS=0xbb8;function a3_0x33ca(_0xc234db,_0xd517fb){_0xc234db=_0xc234db-0xd8;const _0x143aac=a3_0x3e8d();let _0x395301=_0x143aac[_0xc234db];return _0x395301;}function getAnalysisLink(_0xad916e){const _0x51ea66=a3_0x56704d;return SPARROW_BASE_URL+(_0x51ea66(0xf3)+_0x51ea66(0xda)+_0x51ea66(0xef))+_0xad916e;}async function pollUntilComplete(_0x247c3f,_0x1bc634){const _0x14be41=a3_0x56704d,_0x255f5c={'gHPJi':function(_0x2405f2,_0x32ba29){return _0x2405f2(_0x32ba29);},'nPMEO':_0x14be41(0xe8)};let _0x431541=0x0;while(_0x431541<MAX_POLL_ATTEMPTS){const _0x2638d8={};_0x2638d8[_0x14be41(0xe5)]=_0x1bc634;const _0xe060c6={};_0xe060c6['name']='get_analys'+_0x14be41(0xdd),_0xe060c6['arguments']=_0x2638d8;const _0x961e9a=await _0x247c3f['request'](_0x14be41(0xeb),_0xe060c6),_0x332c6e=_0x255f5c[_0x14be41(0xe9)](String,_0x961e9a[_0x14be41(0xe7)][0x0][_0x14be41(0xf4)])[_0x14be41(0xed)+'e']();if(_0x332c6e['includes'](_0x14be41(0xe8))||_0x332c6e[_0x14be41(0xea)]('SUCCESS')||_0x332c6e[_0x14be41(0xea)]('FAIL')||_0x332c6e[_0x14be41(0xea)](_0x14be41(0xdf))){const _0x2dd727={};return _0x2dd727[_0x14be41(0xe1)]=_0x255f5c['nPMEO'],_0x2dd727[_0x14be41(0xfc)]=_0x961e9a[_0x14be41(0xe7)][0x0][_0x14be41(0xf4)],_0x2dd727;}await new Promise(_0x4e96d9=>setTimeout(_0x4e96d9,POLL_INTERVAL_MS)),_0x431541++;}throw new Error('Polling\x20ti'+_0x14be41(0xf5)+'r\x20'+_0x431541+_0x14be41(0xd9));}function isErrorResponse(_0x11c326){const _0xdf490a=a3_0x56704d;return _0x11c326[_0xdf490a(0xfa)]===!![]||_0x11c326[_0xdf490a(0xe7)]?.[0x0]?.['text']?.[_0xdf490a(0xf9)+'e']()[_0xdf490a(0xea)](_0xdf490a(0xf2))||_0x11c326[_0xdf490a(0xe7)]?.[0x0]?.[_0xdf490a(0xf4)]?.[_0xdf490a(0xf9)+'e']()[_0xdf490a(0xea)](_0xdf490a(0xdb));}
1
+ const a3_0x957711=a3_0x525c;(function(_0x464606,_0x322cc3){const _0x5c9196=a3_0x525c,_0xd4dc83=_0x464606();while(!![]){try{const _0x25a77e=-parseInt(_0x5c9196(0x165))/0x1*(parseInt(_0x5c9196(0x167))/0x2)+parseInt(_0x5c9196(0x160))/0x3+-parseInt(_0x5c9196(0x16f))/0x4+-parseInt(_0x5c9196(0x15a))/0x5*(-parseInt(_0x5c9196(0x172))/0x6)+parseInt(_0x5c9196(0x157))/0x7+-parseInt(_0x5c9196(0x154))/0x8*(-parseInt(_0x5c9196(0x16e))/0x9)+parseInt(_0x5c9196(0x14f))/0xa*(-parseInt(_0x5c9196(0x156))/0xb);if(_0x25a77e===_0x322cc3)break;else _0xd4dc83['push'](_0xd4dc83['shift']());}catch(_0x12a8a9){_0xd4dc83['push'](_0xd4dc83['shift']());}}}(a3_0x42fe,0x7618e));const a3_0x149bc7=(function(){let _0x56c18c=!![];return function(_0x5c25b8,_0x26e2dc){const _0x4fdc74=_0x56c18c?function(){const _0x4e1774=a3_0x525c;if(_0x26e2dc){const _0x11b123=_0x26e2dc[_0x4e1774(0x166)](_0x5c25b8,arguments);return _0x26e2dc=null,_0x11b123;}}:function(){};return _0x56c18c=![],_0x4fdc74;};}()),a3_0x8c7575=a3_0x149bc7(this,function(){const _0x253f9e=a3_0x525c;return a3_0x8c7575[_0x253f9e(0x152)]()['search'](_0x253f9e(0x14d)+'+$')[_0x253f9e(0x152)]()[_0x253f9e(0x16a)+'r'](a3_0x8c7575)['search'](_0x253f9e(0x14d)+'+$');});a3_0x8c7575();import a3_0x5e1b3b from'path';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta.url),__dirname=a3_0x5e1b3b[a3_0x957711(0x170)](__filename),SPARROW_BASE_URL=process.env.SPARROW_API_URL||'https://on'+'demand.spa'+'rrowcloud.'+'ai',MAX_POLL_ATTEMPTS=0x12c,POLL_INTERVAL_MS=0xbb8;function getAnalysisLink(_0x192175){const _0x138bcf=a3_0x957711;return SPARROW_BASE_URL+(_0x138bcf(0x162)+_0x138bcf(0x155)+'ysis/')+_0x192175;}function a3_0x525c(_0x541b9c,_0x2975cf){_0x541b9c=_0x541b9c-0x14c;const _0x540b67=a3_0x42fe();let _0x8c7575=_0x540b67[_0x541b9c];return _0x8c7575;}async function pollUntilComplete(_0x40f957,_0x1aa7a0){const _0x4b2a73=a3_0x957711,_0x3e6d81={};_0x3e6d81[_0x4b2a73(0x150)]=_0x4b2a73(0x169),_0x3e6d81['jVTZI']=_0x4b2a73(0x151),_0x3e6d81[_0x4b2a73(0x15b)]=_0x4b2a73(0x168);const _0x5a5a3b=_0x3e6d81;let _0x3ff236=0x0;while(_0x3ff236<MAX_POLL_ATTEMPTS){const _0x2c8e91={};_0x2c8e91[_0x4b2a73(0x153)]=_0x1aa7a0;const _0x281a55={};_0x281a55[_0x4b2a73(0x158)]=_0x4b2a73(0x15e)+_0x4b2a73(0x14c),_0x281a55[_0x4b2a73(0x15c)]=_0x2c8e91;const _0x154f92=await _0x40f957[_0x4b2a73(0x16b)](_0x5a5a3b[_0x4b2a73(0x150)],_0x281a55),_0x5937f4=String(_0x154f92['content'][0x0][_0x4b2a73(0x16d)])[_0x4b2a73(0x14e)+'e']();if(_0x5937f4[_0x4b2a73(0x159)](_0x4b2a73(0x168))||_0x5937f4[_0x4b2a73(0x159)](_0x4b2a73(0x173))||_0x5937f4['includes']('FAIL')||_0x5937f4[_0x4b2a73(0x159)](_0x5a5a3b['jVTZI'])){const _0x3336a6={};return _0x3336a6[_0x4b2a73(0x15d)]=_0x5a5a3b[_0x4b2a73(0x15b)],_0x3336a6[_0x4b2a73(0x15f)]=_0x154f92['content'][0x0][_0x4b2a73(0x16d)],_0x3336a6;}await new Promise(_0x1aca6a=>setTimeout(_0x1aca6a,POLL_INTERVAL_MS)),_0x3ff236++;}throw new Error(_0x4b2a73(0x164)+'meout\x20afte'+'r\x20'+_0x3ff236+_0x4b2a73(0x16c));}function a3_0x42fe(){const _0x1b3cfd=['text','1991322ZuMWcZ','1777496LdlLPH','dirname','content','133050hbmudz','SUCCESS','is_status','(((.+)+)+)','toUpperCas','5644730QqwtUh','gjWDq','STOP','toString','analysisId','16NgbWoj','tList/anal','11VwkRdf','5865503yBiVXe','name','includes','125LjsMSq','karWc','arguments','status','get_analys','result','1424745ZOWimX','toLowerCas','/ko/reques','isError','Polling\x20ti','73AIEEsp','apply','22388kcpGaP','COMPLETE','tools/call','constructo','request','\x20attempts'];a3_0x42fe=function(){return _0x1b3cfd;};return a3_0x42fe();}function isErrorResponse(_0x4e23f2){const _0x3ab877=a3_0x957711;return _0x4e23f2[_0x3ab877(0x163)]===!![]||_0x4e23f2[_0x3ab877(0x171)]?.[0x0]?.['text']?.[_0x3ab877(0x161)+'e']()[_0x3ab877(0x159)]('error')||_0x4e23f2[_0x3ab877(0x171)]?.[0x0]?.['text']?.[_0x3ab877(0x161)+'e']()['includes']('validation');}