trimprompt 1.0.20 → 1.0.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/filters/js.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x1fd557=a0_0x2f8a;(function(_0x35458b,_0x5cbf74){const _0x325113=a0_0x2f8a,_0x3f4fd3=_0x35458b();while(!![]){try{const _0x3db6b0=parseInt(_0x325113(0x150))/0x1*(parseInt(_0x325113(0x161))/0x2)+parseInt(_0x325113(0x14f))/0x3+-parseInt(_0x325113(0x160))/0x4*(-parseInt(_0x325113(0x14d))/0x5)+parseInt(_0x325113(0x152))/0x6+-parseInt(_0x325113(0x16d))/0x7+parseInt(_0x325113(0x15a))/0x8*(-parseInt(_0x325113(0x171))/0x9)+parseInt(_0x325113(0x172))/0xa;if(_0x3db6b0===_0x5cbf74)break;else _0x3f4fd3['push'](_0x3f4fd3['shift']());}catch(_0x559711){_0x3f4fd3['push'](_0x3f4fd3['shift']());}}}(a0_0x53fb,0xc4a87));function a0_0x53fb(){const _0x2e56b8=['Tests:','3898447CJkCnf','Test\x20Files:','join','\x20failed\x20(','160830ZXIUQY','510800Jcqtnr','Test\x20Runner:\x20','5cvrnuG','\x20total)','2862231ekwRBK','3BKnWUx','filterJestVitest','311628hIpOLA','slice','split','match','PASS','startsWith','length','all','368NwauNn','\x20\x20...\x20(','trim','NPM:\x20Packages\x20verified/installed\x20successfully','Test\x20Suites:','includes','2334104FGEMqO','362554bsemWI','FAIL\x20\x20','\x20lines\x20of\x20trace\x20details\x20truncated)','added\x20','\x20passed,\x20','audited\x20','\x20passed','replace','\x0aFailures:','__esModule','push'];a0_0x53fb=function(){return _0x2e56b8;};return a0_0x53fb();}function a0_0x2f8a(_0x374530,_0x4e728a){_0x374530=_0x374530-0x14c;const _0x53fb35=a0_0x53fb();let _0x2f8ad8=_0x53fb35[_0x374530];return _0x2f8ad8;}Object['defineProperty'](exports,a0_0x1fd557(0x16a),{'value':!![]}),exports['filterNpmInstall']=filterNpmInstall,exports[a0_0x1fd557(0x151)]=filterJestVitest;function filterNpmInstall(_0x41d3ae){const _0x516479=a0_0x1fd557,_0x264f37=_0x41d3ae[_0x516479(0x168)](/\r/g,'\x0a'),_0x829840=_0x264f37[_0x516479(0x154)]('\x0a'),_0x5c275c=[];for(const _0x237721 of _0x829840){const _0x3c2ed3=_0x237721[_0x516479(0x15c)]();(_0x3c2ed3[_0x516479(0x15f)](_0x516479(0x164))||_0x3c2ed3[_0x516479(0x15f)]('removed\x20')||_0x3c2ed3[_0x516479(0x15f)](_0x516479(0x166))||_0x3c2ed3[_0x516479(0x15f)]('up\x20to\x20date')||_0x3c2ed3[_0x516479(0x15f)]('found\x20'))&&(!_0x3c2ed3[_0x516479(0x15f)]('%')&&!_0x3c2ed3[_0x516479(0x157)]('⠋')&&!_0x3c2ed3[_0x516479(0x157)]('⠙')&&_0x5c275c[_0x516479(0x16b)](_0x3c2ed3));}const _0x4f3734=_0x5c275c['join']('\x0a')[_0x516479(0x15c)]();return _0x4f3734[_0x516479(0x158)]>0x0?_0x4f3734:_0x516479(0x15d);}function filterJestVitest(_0x28b610){const _0x36c820=a0_0x1fd557,_0xe67f2e=_0x28b610['split']('\x0a');let _0x430943=0x0,_0x475edd=0x0,_0x4a7879=0x0;const _0x4771a3=[];let _0x45c6f3=![];for(const _0x2943e2 of _0xe67f2e){const _0x22d9ba=_0x2943e2[_0x36c820(0x15c)]();if(_0x22d9ba[_0x36c820(0x157)]('Tests:')||_0x22d9ba[_0x36c820(0x15f)](_0x36c820(0x16e))){const _0x514b5f=_0x22d9ba[_0x36c820(0x155)](/(\d+)\s+passed/),_0x7e336f=_0x22d9ba[_0x36c820(0x155)](/(\d+)\s+failed/),_0x39f2be=_0x22d9ba[_0x36c820(0x155)](/(\d+)\s+total/);if(_0x514b5f)_0x430943=parseInt(_0x514b5f[0x1]);if(_0x7e336f)_0x475edd=parseInt(_0x7e336f[0x1]);if(_0x39f2be)_0x4a7879=parseInt(_0x39f2be[0x1]);continue;}(_0x22d9ba[_0x36c820(0x157)]('❯')||_0x22d9ba[_0x36c820(0x157)]('●')||_0x22d9ba['startsWith'](_0x36c820(0x162)))&&(_0x45c6f3=!![]),_0x45c6f3&&(_0x22d9ba[_0x36c820(0x158)]>0x0&&!_0x22d9ba[_0x36c820(0x157)](_0x36c820(0x15e))&&!_0x22d9ba[_0x36c820(0x157)](_0x36c820(0x16c))&&_0x4771a3[_0x36c820(0x16b)](_0x2943e2));}if(_0x4a7879===0x0&&_0x430943===0x0&&_0x475edd===0x0){if(_0x28b610['includes'](_0x36c820(0x156))&&!_0x28b610[_0x36c820(0x15f)]('FAIL')){const _0x146854=_0x28b610[_0x36c820(0x155)](/(\d+)\s+passed/),_0x2bd5f5=_0x146854?_0x146854[0x1]:_0x36c820(0x159);return _0x36c820(0x14c)+_0x2bd5f5+_0x36c820(0x167);}return _0x28b610;}if(_0x475edd===0x0&&_0x430943>0x0)return _0x36c820(0x14c)+_0x430943+_0x36c820(0x167);const _0x1507d7=[_0x36c820(0x14c)+_0x430943+_0x36c820(0x165)+_0x475edd+_0x36c820(0x170)+_0x4a7879+_0x36c820(0x14e)];if(_0x4771a3[_0x36c820(0x158)]>0x0){_0x1507d7[_0x36c820(0x16b)](_0x36c820(0x169));const _0x419dba=0x19,_0x5f3eae=_0x4771a3[_0x36c820(0x153)](0x0,_0x419dba);for(const _0x59e47e of _0x5f3eae){_0x1507d7[_0x36c820(0x16b)]('\x20\x20'+_0x59e47e);}_0x4771a3[_0x36c820(0x158)]>_0x419dba&&_0x1507d7[_0x36c820(0x16b)](_0x36c820(0x15b)+(_0x4771a3[_0x36c820(0x158)]-_0x419dba)+_0x36c820(0x163));}return _0x1507d7[_0x36c820(0x16f)]('\x0a');}
1
+ 'use strict';function a0_0x12ac(_0x43a6de,_0x54fe06){_0x43a6de=_0x43a6de-0xd3;const _0x147ff3=a0_0x147f();let _0x12ac6b=_0x147ff3[_0x43a6de];return _0x12ac6b;}const a0_0xd772ba=a0_0x12ac;(function(_0x1fe6d0,_0x3f518c){const _0xd16040=a0_0x12ac,_0x258929=_0x1fe6d0();while(!![]){try{const _0x531032=parseInt(_0xd16040(0xf1))/0x1*(-parseInt(_0xd16040(0xf0))/0x2)+-parseInt(_0xd16040(0xef))/0x3+-parseInt(_0xd16040(0xe4))/0x4+parseInt(_0xd16040(0xf9))/0x5+parseInt(_0xd16040(0xd9))/0x6+parseInt(_0xd16040(0xd7))/0x7*(parseInt(_0xd16040(0xe6))/0x8)+parseInt(_0xd16040(0xe2))/0x9*(-parseInt(_0xd16040(0xf3))/0xa);if(_0x531032===_0x3f518c)break;else _0x258929['push'](_0x258929['shift']());}catch(_0x4523e7){_0x258929['push'](_0x258929['shift']());}}}(a0_0x147f,0x3cbc0));function a0_0x147f(){const _0x6c2df9=['defineProperty','slice','join','\x20total)','trim','Test\x20Runner:\x20','\x20passed,\x20','400473uDJNTo','226cagSOy','2527XgKXuc','includes','30udvRqx','Tests:','FAIL','added\x20','push','match','1706190hRYkhd','all','PASS','\x20failed\x20(','\x20\x20...\x20(','filterJestVitest','\x20passed','startsWith','3083647hdUKJy','__esModule','1956300PexcaE','removed\x20','audited\x20','replace','Test\x20Files:','NPM:\x20Packages\x20verified/installed\x20successfully','length','filterNpmInstall','up\x20to\x20date','97767OBBLgR','split','1629640PyjEsZ','Test\x20Suites:','8HfDlQj','found\x20'];a0_0x147f=function(){return _0x6c2df9;};return a0_0x147f();}Object[a0_0xd772ba(0xe8)](exports,a0_0xd772ba(0xd8),{'value':!![]}),exports[a0_0xd772ba(0xe0)]=filterNpmInstall,exports[a0_0xd772ba(0xd4)]=filterJestVitest;function filterNpmInstall(_0xc40c35){const _0x20f8de=a0_0xd772ba,_0x144bb0=_0xc40c35[_0x20f8de(0xdc)](/\r/g,'\x0a'),_0x334f1a=_0x144bb0[_0x20f8de(0xe3)]('\x0a'),_0x27934d=[];for(const _0x33a6da of _0x334f1a){const _0x486ac5=_0x33a6da[_0x20f8de(0xec)]();(_0x486ac5[_0x20f8de(0xf2)](_0x20f8de(0xf6))||_0x486ac5[_0x20f8de(0xf2)](_0x20f8de(0xda))||_0x486ac5[_0x20f8de(0xf2)](_0x20f8de(0xdb))||_0x486ac5[_0x20f8de(0xf2)](_0x20f8de(0xe1))||_0x486ac5['includes'](_0x20f8de(0xe7)))&&(!_0x486ac5['includes']('%')&&!_0x486ac5['startsWith']('⠋')&&!_0x486ac5[_0x20f8de(0xd6)]('⠙')&&_0x27934d[_0x20f8de(0xf7)](_0x486ac5));}const _0xaafac9=_0x27934d['join']('\x0a')[_0x20f8de(0xec)]();return _0xaafac9[_0x20f8de(0xdf)]>0x0?_0xaafac9:_0x20f8de(0xde);}function filterJestVitest(_0x3b0851){const _0x51fca6=a0_0xd772ba,_0x251efd=_0x3b0851[_0x51fca6(0xe3)]('\x0a');let _0x2ca860=0x0,_0x4f7b9e=0x0,_0x1661f4=0x0;const _0x1773cb=[];let _0x586138=![];for(const _0x46ce84 of _0x251efd){const _0x2c1127=_0x46ce84[_0x51fca6(0xec)]();if(_0x2c1127[_0x51fca6(0xd6)](_0x51fca6(0xf4))||_0x2c1127[_0x51fca6(0xf2)](_0x51fca6(0xdd))){const _0x3b777a=_0x2c1127['match'](/(\d+)\s+passed/),_0xed1f7e=_0x2c1127[_0x51fca6(0xf8)](/(\d+)\s+failed/),_0xf2fec7=_0x2c1127[_0x51fca6(0xf8)](/(\d+)\s+total/);if(_0x3b777a)_0x2ca860=parseInt(_0x3b777a[0x1]);if(_0xed1f7e)_0x4f7b9e=parseInt(_0xed1f7e[0x1]);if(_0xf2fec7)_0x1661f4=parseInt(_0xf2fec7[0x1]);continue;}(_0x2c1127[_0x51fca6(0xd6)]('❯')||_0x2c1127['startsWith']('●')||_0x2c1127[_0x51fca6(0xd6)]('FAIL\x20\x20'))&&(_0x586138=!![]),_0x586138&&(_0x2c1127[_0x51fca6(0xdf)]>0x0&&!_0x2c1127[_0x51fca6(0xd6)](_0x51fca6(0xe5))&&!_0x2c1127[_0x51fca6(0xd6)](_0x51fca6(0xf4))&&_0x1773cb['push'](_0x46ce84));}if(_0x1661f4===0x0&&_0x2ca860===0x0&&_0x4f7b9e===0x0){if(_0x3b0851[_0x51fca6(0xf2)](_0x51fca6(0xfb))&&!_0x3b0851[_0x51fca6(0xf2)](_0x51fca6(0xf5))){const _0x31fff4=_0x3b0851[_0x51fca6(0xf8)](/(\d+)\s+passed/),_0x44a12d=_0x31fff4?_0x31fff4[0x1]:_0x51fca6(0xfa);return _0x51fca6(0xed)+_0x44a12d+'\x20passed';}return _0x3b0851;}if(_0x4f7b9e===0x0&&_0x2ca860>0x0)return _0x51fca6(0xed)+_0x2ca860+_0x51fca6(0xd5);const _0x3f4aee=[_0x51fca6(0xed)+_0x2ca860+_0x51fca6(0xee)+_0x4f7b9e+_0x51fca6(0xfc)+_0x1661f4+_0x51fca6(0xeb)];if(_0x1773cb[_0x51fca6(0xdf)]>0x0){_0x3f4aee[_0x51fca6(0xf7)]('\x0aFailures:');const _0x8ef22b=0x19,_0x1f1a4e=_0x1773cb[_0x51fca6(0xe9)](0x0,_0x8ef22b);for(const _0x4d453e of _0x1f1a4e){_0x3f4aee[_0x51fca6(0xf7)]('\x20\x20'+_0x4d453e);}_0x1773cb['length']>_0x8ef22b&&_0x3f4aee[_0x51fca6(0xf7)](_0x51fca6(0xd3)+(_0x1773cb[_0x51fca6(0xdf)]-_0x8ef22b)+'\x20lines\x20of\x20trace\x20details\x20truncated)');}return _0x3f4aee[_0x51fca6(0xea)]('\x0a');}
package/filters/python.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0xc8bf81=a0_0x58c4;(function(_0x539ca,_0x267ed7){const _0xb6fe9=a0_0x58c4,_0x497e31=_0x539ca();while(!![]){try{const _0x3a96e4=parseInt(_0xb6fe9(0x18d))/0x1+parseInt(_0xb6fe9(0x189))/0x2*(parseInt(_0xb6fe9(0x1ab))/0x3)+parseInt(_0xb6fe9(0x1af))/0x4*(-parseInt(_0xb6fe9(0x187))/0x5)+-parseInt(_0xb6fe9(0x18b))/0x6+parseInt(_0xb6fe9(0x18c))/0x7*(parseInt(_0xb6fe9(0x1ae))/0x8)+parseInt(_0xb6fe9(0x198))/0x9+-parseInt(_0xb6fe9(0x1b4))/0xa;if(_0x3a96e4===_0x267ed7)break;else _0x497e31['push'](_0x497e31['shift']());}catch(_0x19f7e6){_0x497e31['push'](_0x497e31['shift']());}}}(a0_0x348e,0x5d2a0));Object[a0_0xc8bf81(0x193)](exports,a0_0xc8bf81(0x1a4),{'value':!![]}),exports[a0_0xc8bf81(0x19f)]=filterPytest,exports['filterPipInstall']=filterPipInstall;function a0_0x348e(){const _0x1bb14c=['Successfully\x20installed','===\x20ERRORS\x20===','\x20\x20\x20\x20...\x20(','includes','2955uXcTrx','===\x20FAILURES\x20===','split','232XqsqAu','40wewjbh','===','Using\x20cached','slice','Downloading','3816410vSAZrS','failed','\x0aFailures:','307355UmkWrF','\x20more\x20failures\x20truncated','838TmcMsf','Collecting','1905408WNRtQq','96887yShOSI','683175kupmhN','\x20passed','\x20in\x20','length','match','Requirement\x20already\x20satisfied','defineProperty','push','startsWith','\x20skipped','filter','1784160qtYdfO','\x20\x20\x20\x20','trim','.\x20[FAIL]\x20','.py:','===\x20short\x20test\x20summary\x20info\x20===','___','filterPytest','replace','\x20xpassed\x20(warning!)','Pytest:\x20All\x20tests\x20passed','join','__esModule','\x20xfailed','Pytest:\x20'];a0_0x348e=function(){return _0x1bb14c;};return a0_0x348e();}function a0_0x58c4(_0x3aa4b1,_0x19aa35){_0x3aa4b1=_0x3aa4b1-0x185;const _0x348e2d=a0_0x348e();let _0x58c4b7=_0x348e2d[_0x3aa4b1];return _0x58c4b7;}function filterPytest(_0x9d068f){const _0x541df9=a0_0xc8bf81,_0x1f7e6a=_0x9d068f[_0x541df9(0x1ad)]('\x0a');let _0x50ebab=0x0,_0x24e83b=0x0,_0x281f7c=0x0,_0x27ebd5=0x0,_0x17ad6d=0x0;const _0xe7f50e=[];let _0x6328ad=[],_0x9010b2=![];for(const _0x6eaddc of _0x1f7e6a){const _0x377e1d=_0x6eaddc[_0x541df9(0x19a)]();if(_0x377e1d[_0x541df9(0x195)](_0x541df9(0x1ac))||_0x377e1d['startsWith'](_0x541df9(0x1a8))){_0x9010b2=!![];continue;}else(_0x377e1d[_0x541df9(0x195)](_0x541df9(0x19d))||_0x377e1d[_0x541df9(0x195)](_0x541df9(0x1b0))&&_0x377e1d[_0x541df9(0x1aa)]('passed'))&&(_0x9010b2=![],_0x6328ad['length']>0x0&&(_0xe7f50e[_0x541df9(0x194)](_0x6328ad),_0x6328ad=[]));if(_0x9010b2){if(_0x377e1d[_0x541df9(0x195)](_0x541df9(0x19e)))_0x6328ad[_0x541df9(0x190)]>0x0&&(_0xe7f50e[_0x541df9(0x194)](_0x6328ad),_0x6328ad=[]),_0x6328ad[_0x541df9(0x194)](_0x377e1d);else _0x377e1d['length']>0x0&&_0x6328ad[_0x541df9(0x194)](_0x6eaddc);continue;}if(_0x377e1d[_0x541df9(0x195)]('===')&&_0x377e1d[_0x541df9(0x1aa)](_0x541df9(0x18f))){const _0x258f0e=_0x377e1d[_0x541df9(0x191)](/(\d+)\s+passed/),_0x155bfb=_0x377e1d[_0x541df9(0x191)](/(\d+)\s+failed/),_0x338c0f=_0x377e1d[_0x541df9(0x191)](/(\d+)\s+skipped/),_0x598477=_0x377e1d[_0x541df9(0x191)](/(\d+)\s+xfailed/),_0x9ecf80=_0x377e1d[_0x541df9(0x191)](/(\d+)\s+xpassed/);if(_0x258f0e)_0x50ebab=parseInt(_0x258f0e[0x1]);if(_0x155bfb)_0x24e83b=parseInt(_0x155bfb[0x1]);if(_0x338c0f)_0x281f7c=parseInt(_0x338c0f[0x1]);if(_0x598477)_0x27ebd5=parseInt(_0x598477[0x1]);if(_0x9ecf80)_0x17ad6d=parseInt(_0x9ecf80[0x1]);}}_0x6328ad['length']>0x0&&_0xe7f50e['push'](_0x6328ad);if(_0x50ebab===0x0&&_0x24e83b===0x0&&_0x281f7c===0x0&&_0x27ebd5===0x0&&_0x17ad6d===0x0){if(_0x9d068f['includes']('passed')&&!_0x9d068f[_0x541df9(0x1aa)](_0x541df9(0x185)))return _0x541df9(0x1a2);return _0x9d068f;}if(_0x24e83b===0x0&&_0x50ebab>0x0&&_0x281f7c===0x0&&_0x27ebd5===0x0&&_0x17ad6d===0x0)return _0x541df9(0x1a6)+_0x50ebab+'\x20passed';const _0x33be53=[];_0x33be53['push'](_0x541df9(0x1a6)+_0x50ebab+_0x541df9(0x18e));if(_0x24e83b>0x0)_0x33be53[_0x541df9(0x194)](_0x24e83b+'\x20failed');if(_0x281f7c>0x0)_0x33be53['push'](_0x281f7c+_0x541df9(0x196));if(_0x27ebd5>0x0)_0x33be53[_0x541df9(0x194)](_0x27ebd5+_0x541df9(0x1a5));if(_0x17ad6d>0x0)_0x33be53['push'](_0x17ad6d+_0x541df9(0x1a1));const _0x2cf59b=[_0x33be53[_0x541df9(0x1a3)](',\x20')];if(_0xe7f50e[_0x541df9(0x190)]>0x0){_0x2cf59b[_0x541df9(0x194)](_0x541df9(0x186));const _0x48715c=0x3,_0x452cd8=_0xe7f50e[_0x541df9(0x1b2)](0x0,_0x48715c);for(let _0x5c699f=0x0;_0x5c699f<_0x452cd8[_0x541df9(0x190)];_0x5c699f++){const _0xfdd428=_0x452cd8[_0x5c699f],_0x6edf29=_0xfdd428[0x0][_0x541df9(0x1a0)](/_/g,'')['trim']();_0x2cf59b['push']('\x20\x20'+(_0x5c699f+0x1)+_0x541df9(0x19b)+_0x6edf29);const _0xda6baf=_0xfdd428[_0x541df9(0x1b2)](0x1),_0x23d0d5=_0xda6baf['filter'](_0x102b2a=>{const _0x18e041=_0x541df9,_0x41f9e5=_0x102b2a['trim']();return _0x41f9e5[_0x18e041(0x195)]('>')||_0x41f9e5[_0x18e041(0x195)]('E\x20\x20\x20')||_0x41f9e5[_0x18e041(0x1aa)](_0x18e041(0x19c))||_0x41f9e5[_0x18e041(0x1aa)]('AssertionError:');});for(const _0x57d3f7 of _0x23d0d5[_0x541df9(0x1b2)](0x0,0x8)){_0x2cf59b[_0x541df9(0x194)](_0x541df9(0x199)+_0x57d3f7);}_0x23d0d5[_0x541df9(0x190)]>0x8&&_0x2cf59b[_0x541df9(0x194)](_0x541df9(0x1a9)+(_0x23d0d5[_0x541df9(0x190)]-0x8)+'\x20lines\x20of\x20stacktrace\x20truncated)');}_0xe7f50e[_0x541df9(0x190)]>_0x48715c&&_0x2cf59b[_0x541df9(0x194)]('\x20\x20...\x20+'+(_0xe7f50e[_0x541df9(0x190)]-_0x48715c)+_0x541df9(0x188));}return _0x2cf59b[_0x541df9(0x1a3)]('\x0a');}function filterPipInstall(_0x1c2fd1){const _0x411261=a0_0xc8bf81,_0x3a005f=_0x1c2fd1['split']('\x0a'),_0x2a8b15=[];for(const _0x490c35 of _0x3a005f){const _0x487bd8=_0x490c35[_0x411261(0x19a)]();_0x487bd8['startsWith'](_0x411261(0x1a7))&&_0x2a8b15[_0x411261(0x194)](_0x487bd8);}if(_0x2a8b15[_0x411261(0x190)]>0x0)return _0x2a8b15[_0x411261(0x1a3)]('\x0a');return _0x3a005f[_0x411261(0x197)](_0x1c6df1=>{const _0x412446=_0x411261,_0x4ada28=_0x1c6df1[_0x412446(0x19a)]();return!_0x4ada28['startsWith'](_0x412446(0x18a))&&!_0x4ada28['startsWith'](_0x412446(0x1b3))&&!_0x4ada28[_0x412446(0x1aa)](_0x412446(0x1b1))&&!_0x4ada28[_0x412446(0x195)](_0x412446(0x192));})[_0x411261(0x1a3)]('\x0a')[_0x411261(0x19a)]();}
1
+ 'use strict';const a0_0x18cd23=a0_0x353e;(function(_0x50378a,_0x5cca27){const _0x41e6c0=a0_0x353e,_0x37aea2=_0x50378a();while(!![]){try{const _0x463eff=-parseInt(_0x41e6c0(0x8e))/0x1*(parseInt(_0x41e6c0(0xb3))/0x2)+-parseInt(_0x41e6c0(0x8a))/0x3+-parseInt(_0x41e6c0(0x91))/0x4*(-parseInt(_0x41e6c0(0xb8))/0x5)+parseInt(_0x41e6c0(0x8b))/0x6*(-parseInt(_0x41e6c0(0xb1))/0x7)+parseInt(_0x41e6c0(0x96))/0x8*(-parseInt(_0x41e6c0(0x9f))/0x9)+-parseInt(_0x41e6c0(0x9a))/0xa*(parseInt(_0x41e6c0(0xa8))/0xb)+-parseInt(_0x41e6c0(0xad))/0xc*(-parseInt(_0x41e6c0(0xa9))/0xd);if(_0x463eff===_0x5cca27)break;else _0x37aea2['push'](_0x37aea2['shift']());}catch(_0x4c61ee){_0x37aea2['push'](_0x37aea2['shift']());}}}(a0_0x5bb7,0x84496));function a0_0x5bb7(){const _0x441557=['filterPytest','4521704VcQRhT','29018210fsXENX','Pytest:\x20All\x20tests\x20passed','Using\x20cached','__esModule','12VpUGJu','\x20\x20\x20\x20','split','AssertionError:','4032wDmTjD','defineProperty','121154mIxcYh','length','includes','===','___','282545yBNGPx','\x20passed','2135352HSdiVm','10782pUqrdH','\x20lines\x20of\x20stacktrace\x20truncated)','failed','1oXXnAb','\x20more\x20failures\x20truncated','match','72sxTLTk','push','Collecting','\x20\x20...\x20+','slice','3911912MThLtW','.\x20[FAIL]\x20','passed','filter','10EJufxF','\x20xpassed\x20(warning!)','===\x20short\x20test\x20summary\x20info\x20===','\x20in\x20','Pytest:\x20','9HLOlpP','replace','\x20xfailed','\x0aFailures:','trim','Requirement\x20already\x20satisfied','startsWith','join'];a0_0x5bb7=function(){return _0x441557;};return a0_0x5bb7();}Object[a0_0x18cd23(0xb2)](exports,a0_0x18cd23(0xac),{'value':!![]}),exports[a0_0x18cd23(0xa7)]=filterPytest,exports['filterPipInstall']=filterPipInstall;function a0_0x353e(_0x120a39,_0x4e5ace){_0x120a39=_0x120a39-0x8a;const _0x5bb79e=a0_0x5bb7();let _0x353ed5=_0x5bb79e[_0x120a39];return _0x353ed5;}function filterPytest(_0x57fa50){const _0x2991f4=a0_0x18cd23,_0x3e8768=_0x57fa50[_0x2991f4(0xaf)]('\x0a');let _0x2e7410=0x0,_0xa351a8=0x0,_0x4c1a28=0x0,_0x4e3d8a=0x0,_0x1ad190=0x0;const _0x2075cb=[];let _0x3b99f1=[],_0x539f1a=![];for(const _0x4a2ec5 of _0x3e8768){const _0x2f8935=_0x4a2ec5[_0x2991f4(0xa3)]();if(_0x2f8935[_0x2991f4(0xa5)]('===\x20FAILURES\x20===')||_0x2f8935[_0x2991f4(0xa5)]('===\x20ERRORS\x20===')){_0x539f1a=!![];continue;}else(_0x2f8935['startsWith'](_0x2991f4(0x9c))||_0x2f8935[_0x2991f4(0xa5)](_0x2991f4(0xb6))&&_0x2f8935['includes'](_0x2991f4(0x98)))&&(_0x539f1a=![],_0x3b99f1['length']>0x0&&(_0x2075cb[_0x2991f4(0x92)](_0x3b99f1),_0x3b99f1=[]));if(_0x539f1a){if(_0x2f8935[_0x2991f4(0xa5)](_0x2991f4(0xb7)))_0x3b99f1[_0x2991f4(0xb4)]>0x0&&(_0x2075cb[_0x2991f4(0x92)](_0x3b99f1),_0x3b99f1=[]),_0x3b99f1[_0x2991f4(0x92)](_0x2f8935);else _0x2f8935[_0x2991f4(0xb4)]>0x0&&_0x3b99f1[_0x2991f4(0x92)](_0x4a2ec5);continue;}if(_0x2f8935[_0x2991f4(0xa5)](_0x2991f4(0xb6))&&_0x2f8935[_0x2991f4(0xb5)](_0x2991f4(0x9d))){const _0x14c935=_0x2f8935[_0x2991f4(0x90)](/(\d+)\s+passed/),_0x36290=_0x2f8935[_0x2991f4(0x90)](/(\d+)\s+failed/),_0x44280d=_0x2f8935[_0x2991f4(0x90)](/(\d+)\s+skipped/),_0x1bf6b4=_0x2f8935[_0x2991f4(0x90)](/(\d+)\s+xfailed/),_0x2bc7b9=_0x2f8935[_0x2991f4(0x90)](/(\d+)\s+xpassed/);if(_0x14c935)_0x2e7410=parseInt(_0x14c935[0x1]);if(_0x36290)_0xa351a8=parseInt(_0x36290[0x1]);if(_0x44280d)_0x4c1a28=parseInt(_0x44280d[0x1]);if(_0x1bf6b4)_0x4e3d8a=parseInt(_0x1bf6b4[0x1]);if(_0x2bc7b9)_0x1ad190=parseInt(_0x2bc7b9[0x1]);}}_0x3b99f1['length']>0x0&&_0x2075cb[_0x2991f4(0x92)](_0x3b99f1);if(_0x2e7410===0x0&&_0xa351a8===0x0&&_0x4c1a28===0x0&&_0x4e3d8a===0x0&&_0x1ad190===0x0){if(_0x57fa50['includes'](_0x2991f4(0x98))&&!_0x57fa50['includes'](_0x2991f4(0x8d)))return _0x2991f4(0xaa);return _0x57fa50;}if(_0xa351a8===0x0&&_0x2e7410>0x0&&_0x4c1a28===0x0&&_0x4e3d8a===0x0&&_0x1ad190===0x0)return _0x2991f4(0x9e)+_0x2e7410+'\x20passed';const _0x2d4ab3=[];_0x2d4ab3['push']('Pytest:\x20'+_0x2e7410+_0x2991f4(0xb9));if(_0xa351a8>0x0)_0x2d4ab3[_0x2991f4(0x92)](_0xa351a8+'\x20failed');if(_0x4c1a28>0x0)_0x2d4ab3[_0x2991f4(0x92)](_0x4c1a28+'\x20skipped');if(_0x4e3d8a>0x0)_0x2d4ab3[_0x2991f4(0x92)](_0x4e3d8a+_0x2991f4(0xa1));if(_0x1ad190>0x0)_0x2d4ab3[_0x2991f4(0x92)](_0x1ad190+_0x2991f4(0x9b));const _0xea47b8=[_0x2d4ab3['join'](',\x20')];if(_0x2075cb[_0x2991f4(0xb4)]>0x0){_0xea47b8[_0x2991f4(0x92)](_0x2991f4(0xa2));const _0x5c9111=0x3,_0x5c6439=_0x2075cb[_0x2991f4(0x95)](0x0,_0x5c9111);for(let _0x41510f=0x0;_0x41510f<_0x5c6439[_0x2991f4(0xb4)];_0x41510f++){const _0x1a3dab=_0x5c6439[_0x41510f],_0x15cbaa=_0x1a3dab[0x0][_0x2991f4(0xa0)](/_/g,'')[_0x2991f4(0xa3)]();_0xea47b8[_0x2991f4(0x92)]('\x20\x20'+(_0x41510f+0x1)+_0x2991f4(0x97)+_0x15cbaa);const _0x344f7e=_0x1a3dab[_0x2991f4(0x95)](0x1),_0x412a97=_0x344f7e[_0x2991f4(0x99)](_0x41a919=>{const _0x2ae7b9=_0x2991f4,_0x1b07a4=_0x41a919[_0x2ae7b9(0xa3)]();return _0x1b07a4['startsWith']('>')||_0x1b07a4[_0x2ae7b9(0xa5)]('E\x20\x20\x20')||_0x1b07a4[_0x2ae7b9(0xb5)]('.py:')||_0x1b07a4[_0x2ae7b9(0xb5)](_0x2ae7b9(0xb0));});for(const _0x219a07 of _0x412a97[_0x2991f4(0x95)](0x0,0x8)){_0xea47b8[_0x2991f4(0x92)](_0x2991f4(0xae)+_0x219a07);}_0x412a97[_0x2991f4(0xb4)]>0x8&&_0xea47b8[_0x2991f4(0x92)]('\x20\x20\x20\x20...\x20('+(_0x412a97[_0x2991f4(0xb4)]-0x8)+_0x2991f4(0x8c));}_0x2075cb[_0x2991f4(0xb4)]>_0x5c9111&&_0xea47b8[_0x2991f4(0x92)](_0x2991f4(0x94)+(_0x2075cb[_0x2991f4(0xb4)]-_0x5c9111)+_0x2991f4(0x8f));}return _0xea47b8['join']('\x0a');}function filterPipInstall(_0xf84aaa){const _0x2eee8e=a0_0x18cd23,_0x99e4dc=_0xf84aaa[_0x2eee8e(0xaf)]('\x0a'),_0x39daca=[];for(const _0x475742 of _0x99e4dc){const _0xd810d1=_0x475742[_0x2eee8e(0xa3)]();_0xd810d1[_0x2eee8e(0xa5)]('Successfully\x20installed')&&_0x39daca['push'](_0xd810d1);}if(_0x39daca[_0x2eee8e(0xb4)]>0x0)return _0x39daca['join']('\x0a');return _0x99e4dc[_0x2eee8e(0x99)](_0x4c4851=>{const _0x52ec52=_0x2eee8e,_0x53c721=_0x4c4851[_0x52ec52(0xa3)]();return!_0x53c721[_0x52ec52(0xa5)](_0x52ec52(0x93))&&!_0x53c721[_0x52ec52(0xa5)]('Downloading')&&!_0x53c721[_0x52ec52(0xb5)](_0x52ec52(0xab))&&!_0x53c721[_0x52ec52(0xa5)](_0x52ec52(0xa4));})[_0x2eee8e(0xa6)]('\x0a')[_0x2eee8e(0xa3)]();}
package/filters/rust.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x2836bd=a0_0x51d9;function a0_0x14f7(){const _0x306b6a=['match','replace','\x20errors,\x20','panicked','right:','36197Bhtjwi','length','thread','test\x20result:','trim','join','\x20passed','\x20failed,\x20','__esModule','\x20\x20...\x20+','2697840IeVNPQ','\x20\x20\x20\x20','Cargo\x20test:\x20','\x20ignored','filterCargoBuild','\x20crates,\x20','error[','push','4676640WEShaV','1347518BwJnYs','warning:','Cargo\x20test:\x20all\x20tests\x20passed','\x20more\x20failures','20MLVqLS','endsWith','includes','left:','split','\x20----','failures:','1pPHjHQ','filter','Cargo:\x20compiled\x20','466119sbcRtg','slice','8440344KnTDUr','\x20more\x20errors','Compiling\x20','\x20warnings\x20—\x20run\x20cargo\x20clippy\x20for\x20details)','min','\x0aFailures:','624MhimBK','defineProperty','5720685YuSaHw','12GYMaeF','startsWith','\x20warnings'];a0_0x14f7=function(){return _0x306b6a;};return a0_0x14f7();}(function(_0x5c494d,_0x1c0c6f){const _0x34b71a=a0_0x51d9,_0x126cb9=_0x5c494d();while(!![]){try{const _0xc10858=-parseInt(_0x34b71a(0x19f))/0x1*(-parseInt(_0x34b71a(0x194))/0x2)+parseInt(_0x34b71a(0x1a2))/0x3*(parseInt(_0x34b71a(0x1ad))/0x4)+parseInt(_0x34b71a(0x1ac))/0x5+parseInt(_0x34b71a(0x193))/0x6+parseInt(_0x34b71a(0x181))/0x7*(-parseInt(_0x34b71a(0x1aa))/0x8)+-parseInt(_0x34b71a(0x18b))/0x9+-parseInt(_0x34b71a(0x198))/0xa*(parseInt(_0x34b71a(0x1a4))/0xb);if(_0xc10858===_0x1c0c6f)break;else _0x126cb9['push'](_0x126cb9['shift']());}catch(_0x2d6a9e){_0x126cb9['push'](_0x126cb9['shift']());}}}(a0_0x14f7,0xc9995));function a0_0x51d9(_0xd9f429,_0x1adf1f){_0xd9f429=_0xd9f429-0x17e;const _0x14f707=a0_0x14f7();let _0x51d962=_0x14f707[_0xd9f429];return _0x51d962;}Object[a0_0x2836bd(0x1ab)](exports,a0_0x2836bd(0x189),{'value':!![]}),exports['filterCargoTest']=filterCargoTest,exports[a0_0x2836bd(0x18f)]=filterCargoBuild;function filterCargoTest(_0x5196f1){const _0x430293=a0_0x2836bd,_0x484d98=_0x5196f1[_0x430293(0x19c)]('\x0a');let _0x50553b=0x0,_0x44dc1d=0x0,_0x55b098=0x0,_0x475211=0x0;const _0xc1ede3=[];let _0x667db2=![],_0x385960=[];for(const _0x22ffde of _0x484d98){const _0x2bf835=_0x22ffde['trim'](),_0x5c2712=_0x2bf835[_0x430293(0x1b0)](/test result:\s*(\w+)\.\s*(\d+)\s+passed;\s*(\d+)\s+failed;\s*(\d+)\s+ignored;\s*(\d+)\s+measured/);if(_0x5c2712){_0x50553b+=parseInt(_0x5c2712[0x2]),_0x44dc1d+=parseInt(_0x5c2712[0x3]),_0x55b098+=parseInt(_0x5c2712[0x4]),_0x475211+=parseInt(_0x5c2712[0x5]);continue;}if(_0x2bf835==='failures:'||_0x2bf835==='----\x20failures\x20----'){_0x667db2=!![];continue;}if(_0x667db2){if(_0x2bf835[_0x430293(0x1ae)]('----\x20')&&_0x2bf835[_0x430293(0x199)](_0x430293(0x19d))){if(_0x385960['length']>0x0)_0xc1ede3[_0x430293(0x192)](_0x385960[_0x430293(0x186)]('\x0a'));_0x385960=[_0x2bf835[_0x430293(0x1b1)](/^-+\s*/,'')['replace'](/\s*-+$/,'')];}else{if(_0x2bf835===_0x430293(0x19e)||_0x2bf835['startsWith'](_0x430293(0x184))){if(_0x385960['length']>0x0)_0xc1ede3[_0x430293(0x192)](_0x385960['join']('\x0a'));_0x385960=[],_0x667db2=![];}else _0x2bf835['length']>0x0&&_0x385960['push'](_0x22ffde);}}}if(_0x385960[_0x430293(0x182)]>0x0)_0xc1ede3[_0x430293(0x192)](_0x385960[_0x430293(0x186)]('\x0a'));if(_0x50553b===0x0&&_0x44dc1d===0x0&&_0x55b098===0x0){if(_0x5196f1[_0x430293(0x19a)]('test\x20result:\x20ok'))return _0x430293(0x196);return _0x5196f1;}if(_0x44dc1d===0x0){const _0xbbff0c=[_0x430293(0x18d)+_0x50553b+_0x430293(0x187)];if(_0x55b098>0x0)_0xbbff0c[_0x430293(0x192)](_0x55b098+_0x430293(0x18e));return _0xbbff0c[_0x430293(0x186)](',\x20');}const _0x3ed23b=[_0x430293(0x18d)+_0x50553b+'\x20passed,\x20'+_0x44dc1d+_0x430293(0x188)+_0x55b098+'\x20ignored'];if(_0xc1ede3[_0x430293(0x182)]>0x0){_0x3ed23b[_0x430293(0x192)](_0x430293(0x1a9));const _0x4cb0fd=0x3;for(let _0x82918f=0x0;_0x82918f<Math[_0x430293(0x1a8)](_0xc1ede3[_0x430293(0x182)],_0x4cb0fd);_0x82918f++){const _0x2a1e0d=_0xc1ede3[_0x82918f][_0x430293(0x19c)]('\x0a');_0x3ed23b[_0x430293(0x192)]('\x20\x20'+(_0x82918f+0x1)+'.\x20'+_0x2a1e0d[0x0]);const _0x3e02e3=_0x2a1e0d[_0x430293(0x1a3)](0x1),_0x1c4348=_0x3e02e3[_0x430293(0x1a0)](_0x418465=>_0x418465[_0x430293(0x185)]()['startsWith'](_0x430293(0x183))||_0x418465[_0x430293(0x19a)](_0x430293(0x17f))||_0x418465[_0x430293(0x19a)]('assert')||_0x418465[_0x430293(0x19a)](_0x430293(0x19b))||_0x418465[_0x430293(0x19a)](_0x430293(0x180)));for(const _0x259b5e of _0x1c4348[_0x430293(0x1a3)](0x0,0x5)){_0x3ed23b[_0x430293(0x192)](_0x430293(0x18c)+_0x259b5e[_0x430293(0x185)]());}}_0xc1ede3[_0x430293(0x182)]>_0x4cb0fd&&_0x3ed23b[_0x430293(0x192)](_0x430293(0x18a)+(_0xc1ede3['length']-_0x4cb0fd)+_0x430293(0x197));}return _0x3ed23b[_0x430293(0x186)]('\x0a');}function filterCargoBuild(_0x3ac9a8){const _0x3c36d5=a0_0x2836bd,_0xbf4efa=_0x3ac9a8[_0x3c36d5(0x19c)]('\x0a'),_0x431f1e=[],_0x9c4245=[];let _0x4f1d6e=0x0;for(const _0x22ea59 of _0xbf4efa){const _0x3ac58f=_0x22ea59[_0x3c36d5(0x185)]();if(_0x3ac58f['startsWith'](_0x3c36d5(0x1a6)))_0x4f1d6e++;else{if(_0x3ac58f['startsWith']('warning[')||_0x3ac58f[_0x3c36d5(0x1ae)](_0x3c36d5(0x195)))_0x431f1e[_0x3c36d5(0x192)](_0x3ac58f);else{if(_0x3ac58f[_0x3c36d5(0x1ae)](_0x3c36d5(0x191))||_0x3ac58f[_0x3c36d5(0x1ae)]('error:'))_0x9c4245['push'](_0x3ac58f);}}}if(_0x9c4245['length']===0x0&&_0x431f1e[_0x3c36d5(0x182)]===0x0)return _0x4f1d6e>0x0?_0x3c36d5(0x1a1)+_0x4f1d6e+'\x20crates\x20successfully':_0x3ac9a8['trim']();const _0x4a6464=[];if(_0x9c4245[_0x3c36d5(0x182)]>0x0){_0x4a6464[_0x3c36d5(0x192)]('Cargo:\x20'+_0x9c4245[_0x3c36d5(0x182)]+_0x3c36d5(0x17e)+_0x431f1e[_0x3c36d5(0x182)]+_0x3c36d5(0x1af)),_0x4a6464[_0x3c36d5(0x192)]('\x0aErrors:');for(const _0x2c715f of _0x9c4245[_0x3c36d5(0x1a3)](0x0,0x5))_0x4a6464['push']('\x20\x20'+_0x2c715f);if(_0x9c4245['length']>0x5)_0x4a6464['push'](_0x3c36d5(0x18a)+(_0x9c4245['length']-0x5)+_0x3c36d5(0x1a5));}else _0x4a6464[_0x3c36d5(0x192)]('Cargo:\x20compiled\x20'+_0x4f1d6e+_0x3c36d5(0x190)+_0x431f1e[_0x3c36d5(0x182)]+_0x3c36d5(0x1af));if(_0x431f1e[_0x3c36d5(0x182)]>0x0&&_0x431f1e[_0x3c36d5(0x182)]<=0x5){_0x4a6464[_0x3c36d5(0x192)]('\x0aWarnings:');for(const _0x11ade9 of _0x431f1e)_0x4a6464['push']('\x20\x20'+_0x11ade9);}else _0x431f1e[_0x3c36d5(0x182)]>0x5&&_0x4a6464[_0x3c36d5(0x192)]('\x0a('+_0x431f1e[_0x3c36d5(0x182)]+_0x3c36d5(0x1a7));return _0x4a6464['join']('\x0a');}
1
+ 'use strict';const a0_0xcbae42=a0_0x4530;(function(_0xd14276,_0xd4eeac){const _0x53c311=a0_0x4530,_0x53b3b3=_0xd14276();while(!![]){try{const _0x4daa2d=parseInt(_0x53c311(0x1d5))/0x1*(-parseInt(_0x53c311(0x1c0))/0x2)+parseInt(_0x53c311(0x1bd))/0x3+-parseInt(_0x53c311(0x1bb))/0x4+parseInt(_0x53c311(0x1d1))/0x5*(parseInt(_0x53c311(0x1d4))/0x6)+parseInt(_0x53c311(0x1eb))/0x7*(-parseInt(_0x53c311(0x1e1))/0x8)+parseInt(_0x53c311(0x1da))/0x9+-parseInt(_0x53c311(0x1e9))/0xa;if(_0x4daa2d===_0xd4eeac)break;else _0x53b3b3['push'](_0x53b3b3['shift']());}catch(_0x124be1){_0x53b3b3['push'](_0x53b3b3['shift']());}}}(a0_0xf311,0xce930));function a0_0x4530(_0x183584,_0x343af9){_0x183584=_0x183584-0x1b8;const _0xf311ca=a0_0xf311();let _0x4530eb=_0xf311ca[_0x183584];return _0x4530eb;}function a0_0xf311(){const _0x1f802f=['\x20crates\x20successfully','\x20more\x20failures','push','__esModule','filterCargoBuild','slice','23007560NRUCJB','----\x20','819903iyOMye','Cargo\x20test:\x20','split','Cargo:\x20','Cargo\x20test:\x20all\x20tests\x20passed','endsWith','271328xEFjuu','assert','4075632CLHpLK','filterCargoTest','----\x20failures\x20----','112742FxbnUg','\x0aWarnings:','thread','includes','error[','\x20\x20...\x20+','trim','failures:','\x20warnings','min','\x20more\x20errors','\x20passed,\x20','error:','\x20warnings\x20—\x20run\x20cargo\x20clippy\x20for\x20details)','\x20\x20\x20\x20','test\x20result:\x20ok','\x0aErrors:','110WimCPI','panicked','replace','330702lBmfWu','6MgfzKO','\x0aFailures:','\x20ignored','startsWith','Cargo:\x20compiled\x20','11998899nAiDOv','warning:','\x20----','length','\x20failed,\x20','right:','join','24fFopuY','match'];a0_0xf311=function(){return _0x1f802f;};return a0_0xf311();}Object['defineProperty'](exports,a0_0xcbae42(0x1e6),{'value':!![]}),exports[a0_0xcbae42(0x1be)]=filterCargoTest,exports[a0_0xcbae42(0x1e7)]=filterCargoBuild;function filterCargoTest(_0x48190c){const _0x359930=a0_0xcbae42,_0x36f3f6=_0x48190c[_0x359930(0x1ed)]('\x0a');let _0x354a0d=0x0,_0x186229=0x0,_0x599084=0x0,_0xf3573b=0x0;const _0x48d0b9=[];let _0x56e45c=![],_0x50ec3f=[];for(const _0xb85160 of _0x36f3f6){const _0x3550d9=_0xb85160[_0x359930(0x1c6)](),_0x5e1a93=_0x3550d9[_0x359930(0x1e2)](/test result:\s*(\w+)\.\s*(\d+)\s+passed;\s*(\d+)\s+failed;\s*(\d+)\s+ignored;\s*(\d+)\s+measured/);if(_0x5e1a93){_0x354a0d+=parseInt(_0x5e1a93[0x2]),_0x186229+=parseInt(_0x5e1a93[0x3]),_0x599084+=parseInt(_0x5e1a93[0x4]),_0xf3573b+=parseInt(_0x5e1a93[0x5]);continue;}if(_0x3550d9===_0x359930(0x1c7)||_0x3550d9===_0x359930(0x1bf)){_0x56e45c=!![];continue;}if(_0x56e45c){if(_0x3550d9[_0x359930(0x1d8)](_0x359930(0x1ea))&&_0x3550d9[_0x359930(0x1ba)](_0x359930(0x1dc))){if(_0x50ec3f[_0x359930(0x1dd)]>0x0)_0x48d0b9['push'](_0x50ec3f['join']('\x0a'));_0x50ec3f=[_0x3550d9[_0x359930(0x1d3)](/^-+\s*/,'')[_0x359930(0x1d3)](/\s*-+$/,'')];}else{if(_0x3550d9==='failures:'||_0x3550d9[_0x359930(0x1d8)]('test\x20result:')){if(_0x50ec3f[_0x359930(0x1dd)]>0x0)_0x48d0b9[_0x359930(0x1e5)](_0x50ec3f[_0x359930(0x1e0)]('\x0a'));_0x50ec3f=[],_0x56e45c=![];}else _0x3550d9[_0x359930(0x1dd)]>0x0&&_0x50ec3f[_0x359930(0x1e5)](_0xb85160);}}}if(_0x50ec3f[_0x359930(0x1dd)]>0x0)_0x48d0b9[_0x359930(0x1e5)](_0x50ec3f[_0x359930(0x1e0)]('\x0a'));if(_0x354a0d===0x0&&_0x186229===0x0&&_0x599084===0x0){if(_0x48190c[_0x359930(0x1c3)](_0x359930(0x1cf)))return _0x359930(0x1b9);return _0x48190c;}if(_0x186229===0x0){const _0x50f1da=['Cargo\x20test:\x20'+_0x354a0d+'\x20passed'];if(_0x599084>0x0)_0x50f1da[_0x359930(0x1e5)](_0x599084+_0x359930(0x1d7));return _0x50f1da['join'](',\x20');}const _0xf8e7d1=[_0x359930(0x1ec)+_0x354a0d+_0x359930(0x1cb)+_0x186229+_0x359930(0x1de)+_0x599084+'\x20ignored'];if(_0x48d0b9[_0x359930(0x1dd)]>0x0){_0xf8e7d1[_0x359930(0x1e5)](_0x359930(0x1d6));const _0x29328a=0x3;for(let _0x4365a8=0x0;_0x4365a8<Math[_0x359930(0x1c9)](_0x48d0b9['length'],_0x29328a);_0x4365a8++){const _0x5dfccd=_0x48d0b9[_0x4365a8][_0x359930(0x1ed)]('\x0a');_0xf8e7d1[_0x359930(0x1e5)]('\x20\x20'+(_0x4365a8+0x1)+'.\x20'+_0x5dfccd[0x0]);const _0x4df535=_0x5dfccd[_0x359930(0x1e8)](0x1),_0x2e977f=_0x4df535['filter'](_0x3cb3a7=>_0x3cb3a7[_0x359930(0x1c6)]()[_0x359930(0x1d8)](_0x359930(0x1c2))||_0x3cb3a7[_0x359930(0x1c3)](_0x359930(0x1d2))||_0x3cb3a7['includes'](_0x359930(0x1bc))||_0x3cb3a7[_0x359930(0x1c3)]('left:')||_0x3cb3a7[_0x359930(0x1c3)](_0x359930(0x1df)));for(const _0x43ac2f of _0x2e977f['slice'](0x0,0x5)){_0xf8e7d1[_0x359930(0x1e5)](_0x359930(0x1ce)+_0x43ac2f['trim']());}}_0x48d0b9[_0x359930(0x1dd)]>_0x29328a&&_0xf8e7d1[_0x359930(0x1e5)](_0x359930(0x1c5)+(_0x48d0b9[_0x359930(0x1dd)]-_0x29328a)+_0x359930(0x1e4));}return _0xf8e7d1[_0x359930(0x1e0)]('\x0a');}function filterCargoBuild(_0x4f24da){const _0x462b94=a0_0xcbae42,_0x5c6c1c=_0x4f24da[_0x462b94(0x1ed)]('\x0a'),_0x5131f1=[],_0x164119=[];let _0x1f8de8=0x0;for(const _0x4dd293 of _0x5c6c1c){const _0x886ac3=_0x4dd293[_0x462b94(0x1c6)]();if(_0x886ac3[_0x462b94(0x1d8)]('Compiling\x20'))_0x1f8de8++;else{if(_0x886ac3[_0x462b94(0x1d8)]('warning[')||_0x886ac3[_0x462b94(0x1d8)](_0x462b94(0x1db)))_0x5131f1[_0x462b94(0x1e5)](_0x886ac3);else{if(_0x886ac3[_0x462b94(0x1d8)](_0x462b94(0x1c4))||_0x886ac3['startsWith'](_0x462b94(0x1cc)))_0x164119[_0x462b94(0x1e5)](_0x886ac3);}}}if(_0x164119[_0x462b94(0x1dd)]===0x0&&_0x5131f1[_0x462b94(0x1dd)]===0x0)return _0x1f8de8>0x0?'Cargo:\x20compiled\x20'+_0x1f8de8+_0x462b94(0x1e3):_0x4f24da[_0x462b94(0x1c6)]();const _0x470f46=[];if(_0x164119[_0x462b94(0x1dd)]>0x0){_0x470f46[_0x462b94(0x1e5)](_0x462b94(0x1b8)+_0x164119['length']+'\x20errors,\x20'+_0x5131f1['length']+_0x462b94(0x1c8)),_0x470f46['push'](_0x462b94(0x1d0));for(const _0x44d2d8 of _0x164119[_0x462b94(0x1e8)](0x0,0x5))_0x470f46[_0x462b94(0x1e5)]('\x20\x20'+_0x44d2d8);if(_0x164119[_0x462b94(0x1dd)]>0x5)_0x470f46[_0x462b94(0x1e5)](_0x462b94(0x1c5)+(_0x164119[_0x462b94(0x1dd)]-0x5)+_0x462b94(0x1ca));}else _0x470f46[_0x462b94(0x1e5)](_0x462b94(0x1d9)+_0x1f8de8+'\x20crates,\x20'+_0x5131f1[_0x462b94(0x1dd)]+'\x20warnings');if(_0x5131f1[_0x462b94(0x1dd)]>0x0&&_0x5131f1[_0x462b94(0x1dd)]<=0x5){_0x470f46['push'](_0x462b94(0x1c1));for(const _0x236a13 of _0x5131f1)_0x470f46['push']('\x20\x20'+_0x236a13);}else _0x5131f1[_0x462b94(0x1dd)]>0x5&&_0x470f46[_0x462b94(0x1e5)]('\x0a('+_0x5131f1[_0x462b94(0x1dd)]+_0x462b94(0x1cd));return _0x470f46[_0x462b94(0x1e0)]('\x0a');}
package/filters/shell.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x2fc984=a0_0x2578;(function(_0x933ff9,_0x17ea80){const _0x1bf9fb=a0_0x2578,_0x8c3524=_0x933ff9();while(!![]){try{const _0x45d817=parseInt(_0x1bf9fb(0x116))/0x1+-parseInt(_0x1bf9fb(0x142))/0x2*(-parseInt(_0x1bf9fb(0xd9))/0x3)+-parseInt(_0x1bf9fb(0x107))/0x4*(parseInt(_0x1bf9fb(0xde))/0x5)+-parseInt(_0x1bf9fb(0xed))/0x6+parseInt(_0x1bf9fb(0x115))/0x7*(parseInt(_0x1bf9fb(0xff))/0x8)+-parseInt(_0x1bf9fb(0xfc))/0x9*(-parseInt(_0x1bf9fb(0x143))/0xa)+parseInt(_0x1bf9fb(0x103))/0xb;if(_0x45d817===_0x17ea80)break;else _0x8c3524['push'](_0x8c3524['shift']());}catch(_0x4d167b){_0x8c3524['push'](_0x8c3524['shift']());}}}(a0_0x5372,0x68002));function a0_0x2578(_0x29ebb9,_0x39676a){_0x29ebb9=_0x29ebb9-0xce;const _0x5372b0=a0_0x5372();let _0x257820=_0x5372b0[_0x29ebb9];return _0x257820;}var __createBinding=this&&this['__createBinding']||(Object['create']?function(_0x4ddc05,_0x34d4b3,_0x38afee,_0x5cc669){const _0x593c19=a0_0x2578;if(_0x5cc669===undefined)_0x5cc669=_0x38afee;var _0x110b3f=Object[_0x593c19(0xe5)](_0x34d4b3,_0x38afee);(!_0x110b3f||(_0x593c19(0xf5)in _0x110b3f?!_0x34d4b3[_0x593c19(0x11d)]:_0x110b3f[_0x593c19(0x13f)]||_0x110b3f['configurable']))&&(_0x110b3f={'enumerable':!![],'get':function(){return _0x34d4b3[_0x38afee];}}),Object[_0x593c19(0xee)](_0x4ddc05,_0x5cc669,_0x110b3f);}:function(_0x23ca4d,_0x3d2406,_0x2759b3,_0x31847d){if(_0x31847d===undefined)_0x31847d=_0x2759b3;_0x23ca4d[_0x31847d]=_0x3d2406[_0x2759b3];}),__setModuleDefault=this&&this[a0_0x2fc984(0xfb)]||(Object[a0_0x2fc984(0xdb)]?function(_0x3fad02,_0x4798be){const _0x3ca9e2=a0_0x2fc984;Object['defineProperty'](_0x3fad02,_0x3ca9e2(0x10b),{'enumerable':!![],'value':_0x4798be});}:function(_0x1c21e2,_0x4f7e1a){const _0x5879ed=a0_0x2fc984;_0x1c21e2[_0x5879ed(0x10b)]=_0x4f7e1a;}),__importStar=this&&this[a0_0x2fc984(0x108)]||(function(){var _0x4034d9=function(_0x530b2f){const _0x28025d=a0_0x2578;return _0x4034d9=Object[_0x28025d(0xe6)]||function(_0x5323fc){const _0xd8800e=_0x28025d;var _0x359ffe=[];for(var _0x3c7f47 in _0x5323fc)if(Object[_0xd8800e(0x140)][_0xd8800e(0xe7)][_0xd8800e(0x11b)](_0x5323fc,_0x3c7f47))_0x359ffe[_0x359ffe[_0xd8800e(0x13a)]]=_0x3c7f47;return _0x359ffe;},_0x4034d9(_0x530b2f);};return function(_0x229a05){const _0x1f6a68=a0_0x2578;if(_0x229a05&&_0x229a05[_0x1f6a68(0x11d)])return _0x229a05;var _0xe4dace={};if(_0x229a05!=null){for(var _0x1010d5=_0x4034d9(_0x229a05),_0xc8c3db=0x0;_0xc8c3db<_0x1010d5[_0x1f6a68(0x13a)];_0xc8c3db++)if(_0x1010d5[_0xc8c3db]!==_0x1f6a68(0x10b))__createBinding(_0xe4dace,_0x229a05,_0x1010d5[_0xc8c3db]);}return __setModuleDefault(_0xe4dace,_0x229a05),_0xe4dace;};}());Object[a0_0x2fc984(0xee)](exports,'__esModule',{'value':!![]}),exports['filterLs']=filterLs,exports[a0_0x2fc984(0x10d)]=filterTree,exports['filterCat']=filterCat,exports[a0_0x2fc984(0x106)]=filterGrep,exports[a0_0x2fc984(0xec)]=filterFind;const path=__importStar(require(a0_0x2fc984(0x11c))),LOCK_FILES=[a0_0x2fc984(0x141),a0_0x2fc984(0xf7),a0_0x2fc984(0x124),a0_0x2fc984(0xfe),'go.sum',a0_0x2fc984(0x125),a0_0x2fc984(0x12e),a0_0x2fc984(0x133),a0_0x2fc984(0x121)],BINARY_EXTENSIONS=[a0_0x2fc984(0xf1),a0_0x2fc984(0x137),a0_0x2fc984(0xcf),a0_0x2fc984(0x131),a0_0x2fc984(0xd7),a0_0x2fc984(0xe8),a0_0x2fc984(0xea),a0_0x2fc984(0xe4),a0_0x2fc984(0x111),'.bmp',a0_0x2fc984(0x112),a0_0x2fc984(0x10c),'.pdf',a0_0x2fc984(0xfa),a0_0x2fc984(0xd6),a0_0x2fc984(0x13b),a0_0x2fc984(0x11a),'.bz2',a0_0x2fc984(0x105),a0_0x2fc984(0x12c),a0_0x2fc984(0x100),'.dll',a0_0x2fc984(0xdc),a0_0x2fc984(0xdf),a0_0x2fc984(0x139),a0_0x2fc984(0xf6),a0_0x2fc984(0xe9),a0_0x2fc984(0x138),'.sqlite3',a0_0x2fc984(0x122),a0_0x2fc984(0x102),a0_0x2fc984(0x10f),a0_0x2fc984(0xd5),a0_0x2fc984(0xef),a0_0x2fc984(0xd8),a0_0x2fc984(0x10e),a0_0x2fc984(0x10a),a0_0x2fc984(0x101),a0_0x2fc984(0xd4),a0_0x2fc984(0x119),'.pyc',a0_0x2fc984(0x11e),a0_0x2fc984(0x132),'.o',a0_0x2fc984(0x12b)];function extractFilename(_0x224cb6){const _0xa54967=a0_0x2fc984,_0x517f13=_0x224cb6['trim']()[_0xa54967(0xf9)](/\s+/);for(let _0x7a0e73=0x1;_0x7a0e73<_0x517f13[_0xa54967(0x13a)];_0x7a0e73++){if(!_0x517f13[_0x7a0e73][_0xa54967(0x13c)]('-'))return _0x517f13[_0x7a0e73];}return null;}function filterLockFile(_0x33a83f,_0x444da0){const _0x231ee7=a0_0x2fc984;try{const _0x72f60b=path[_0x231ee7(0xf8)](_0x444da0)[_0x231ee7(0x136)]();if(!LOCK_FILES[_0x231ee7(0xf0)](_0x22f50e=>_0x72f60b===_0x22f50e[_0x231ee7(0x136)]()))return null;const _0x2ae9c6=_0x33a83f[_0x231ee7(0x13a)];let _0x369743=0x0;if(_0x72f60b===_0x231ee7(0x141))try{const _0x6651e8=JSON[_0x231ee7(0x109)](_0x33a83f);_0x369743=Object['keys'](_0x6651e8['packages']||_0x6651e8[_0x231ee7(0xd3)]||{})['length'];}catch{_0x369743=(_0x33a83f['match'](/"resolved":/g)||[])['length'];}else{if(_0x72f60b==='yarn.lock')_0x369743=(_0x33a83f[_0x231ee7(0x123)](/^"?[^#\s][^:]*:$/gm)||[])[_0x231ee7(0x13a)];else{if(_0x72f60b===_0x231ee7(0x13d)||_0x72f60b===_0x231ee7(0x125))_0x369743=(_0x33a83f[_0x231ee7(0x123)](/\[\[package\]\]/g)||[])[_0x231ee7(0x13a)];else{if(_0x72f60b==='go.sum')_0x369743=Math['floor'](_0x33a83f[_0x231ee7(0xf9)]('\x0a')['filter'](_0x8f5784=>_0x8f5784[_0x231ee7(0x12d)]())[_0x231ee7(0x13a)]/0x2);else{if(_0x72f60b==='composer.lock')try{_0x369743=JSON['parse'](_0x33a83f)['packages']?.[_0x231ee7(0x13a)]||0x0;}catch{}else _0x72f60b===_0x231ee7(0x124)?_0x369743=(_0x33a83f[_0x231ee7(0x123)](/^\s{2}['"@a-z]/gm)||[])['length']:_0x369743=_0x33a83f[_0x231ee7(0xf9)]('\x0a')[_0x231ee7(0x12f)](_0x1eb366=>_0x1eb366[_0x231ee7(0x12d)]())[_0x231ee7(0x13a)];}}}}return _0x231ee7(0x114)+path['basename'](_0x444da0)+':\x20'+_0x369743+'\x20dependencies,\x20'+_0x2ae9c6[_0x231ee7(0xe3)]()+_0x231ee7(0xf4);}catch{return null;}}function a0_0x5372(){const _0x3575fd=['includes','/\x20(','.obj','.rar','trim','composer.lock','filter','\x20\x20...\x20+','.wasm','.class','Gemfile.lock','push','\x20directories','toLowerCase','.min.css','.db','.bin','length','.tgz','startsWith','cargo.lock','[binary\x20file]\x20','writable','prototype','package-lock.json','125418rSoLOa','5260IvcvBj','\x20chars,\x20type:\x20','\x20chars\x20across\x20','.map','indexOf','\x20lines\x20truncated]\x20...\x0a','substring','dependencies','.mov','.eot','.tar.gz','.png','.mp3','12lecdmq',':\x20...\x20(','create','.so','\x20chars\x20(contains\x20null\x20bytes\x20—\x20binary\x20content\x20omitted)','75CKghcH','.dylib','...\x20+','join','charCodeAt','toLocaleString','.gif','getOwnPropertyDescriptor','getOwnPropertyNames','hasOwnProperty','.jpg','.sqlite','.jpeg','\x20matches\x20in\x20this\x20file)','filterFind','4476090yeOUGi','defineProperty','.otf','some','.min.js','\x20files)','slice','\x20chars\x20(content\x20omitted\x20—\x20lock\x20files\x20are\x20not\x20useful\x20for\x20LLM\x20context)','get','.dat','yarn.lock','basename','split','.zip','__setModuleDefault','13887lDNVzL','keys','Cargo.lock','80408FVezul','.exe','.avi','.woff2','4610485scqFHW','No\x20files\x20found','.7z','filterGrep','164508BjuwCZ','__importStar','parse','.wav','default','.svg','filterTree','.mp4','.ttf','total\x20','.ico','.webp','\x20more\x20matches','[lock\x20file]\x20','70NWxBSc','206807fjYkQP','[binary/minified\x20file]\x20','\x20directories,\x20','.webm','.gz','call','path','__esModule','.pyo','\x20matches\x20across\x20','No\x20matches\x20found','bun.lockb','.woff','match','pnpm-lock.yaml','poetry.lock','\x20more\x20directories','\x20lines\x20total)','\x20more\x20files\x20with\x20matches'];a0_0x5372=function(){return _0x3575fd;};return a0_0x5372();}function filterBinaryOrMinified(_0x925fbe,_0x413021){const _0x3c509e=a0_0x2fc984;try{if(_0x413021){const _0x2ca8eb=_0x413021[_0x3c509e(0x136)]();for(const _0x523f72 of BINARY_EXTENSIONS){if(_0x2ca8eb['endsWith'](_0x523f72))return _0x3c509e(0x117)+path[_0x3c509e(0xf8)](_0x413021)+',\x20'+_0x925fbe[_0x3c509e(0x13a)][_0x3c509e(0xe3)]()+_0x3c509e(0x144)+_0x523f72+'\x20(content\x20omitted\x20—\x20not\x20useful\x20for\x20LLM\x20context)';}}const _0x17264c=_0x925fbe[_0x3c509e(0xd2)](0x0,0x3e8);let _0x2fbada=0x0;for(let _0x44c8f3=0x0;_0x44c8f3<_0x17264c['length'];_0x44c8f3++){if(_0x17264c[_0x3c509e(0xe2)](_0x44c8f3)===0x0)_0x2fbada++;}if(_0x2fbada>0x0)return'[binary\x20file]\x20'+_0x925fbe['length'][_0x3c509e(0xe3)]()+_0x3c509e(0xdd);let _0x11cce6=0x0;for(let _0x3d9546=0x0;_0x3d9546<_0x17264c[_0x3c509e(0x13a)];_0x3d9546++){const _0x49de79=_0x17264c['charCodeAt'](_0x3d9546);if(_0x49de79<0x20&&_0x49de79!==0xa&&_0x49de79!==0xd&&_0x49de79!==0x9)_0x11cce6++;}if(_0x17264c[_0x3c509e(0x13a)]>0x64&&_0x11cce6>_0x17264c['length']*0.1)return _0x3c509e(0x13e)+_0x925fbe['length'][_0x3c509e(0xe3)]()+'\x20chars\x20(high\x20non-printable\x20ratio\x20—\x20content\x20omitted)';const _0x4ba6bc=_0x925fbe[_0x3c509e(0xf9)]('\x0a');if(_0x4ba6bc[_0x3c509e(0x13a)]<=0x3&&_0x925fbe['length']>0x1388)return'[minified\x20file]\x20'+_0x925fbe['length']['toLocaleString']()+_0x3c509e(0xce)+_0x4ba6bc['length']+'\x20line(s)\x20(content\x20omitted\x20—\x20not\x20human-readable)';return null;}catch{return null;}}function filterJsonMinify(_0x4f78e1){const _0x22bb5e=a0_0x2fc984;try{const _0x5ebfcd=_0x4f78e1[_0x22bb5e(0x12d)]();if(!_0x5ebfcd[_0x22bb5e(0x13c)]('{')&&!_0x5ebfcd[_0x22bb5e(0x13c)]('['))return null;const _0x495edf=_0x5ebfcd[_0x22bb5e(0xf9)]('\x0a');if(_0x495edf[_0x22bb5e(0x13a)]<=0x14)return null;const _0x1087db=JSON['parse'](_0x5ebfcd),_0xabaa1e=JSON['stringify'](_0x1087db);if(_0xabaa1e['length']<_0x5ebfcd[_0x22bb5e(0x13a)])return _0xabaa1e;return null;}catch{return null;}}function filterLs(_0x15b5c2){const _0x33ee12=a0_0x2fc984,_0x117998=_0x15b5c2[_0x33ee12(0xf9)]('\x0a')['filter'](_0xe026c=>_0xe026c[_0x33ee12(0x12d)]()[_0x33ee12(0x13a)]>0x0);if(_0x117998[_0x33ee12(0x13a)]===0x0)return'Empty\x20directory';if(_0x117998[_0x33ee12(0x13a)]<=0x1e)return _0x15b5c2[_0x33ee12(0x12d)]();const _0x220ecb=[],_0x2f4912=[];for(const _0xd64af6 of _0x117998){const _0x2d7c25=_0xd64af6['trim']();if(_0x2d7c25['startsWith'](_0x33ee12(0x110))||_0x2d7c25['startsWith']('d')&&_0x2d7c25[_0x33ee12(0x129)]('..'))continue;_0x2d7c25['endsWith']('/')||_0x2d7c25[_0x33ee12(0x13c)]('d')&&_0x2d7c25[_0x33ee12(0x129)]('\x20')?_0x220ecb[_0x33ee12(0x134)](_0x2d7c25):_0x2f4912['push'](_0x2d7c25);}const _0x2f18dd=[];return _0x220ecb[_0x33ee12(0x13a)]>0x0&&(_0x220ecb[_0x33ee12(0x13a)]<=0xf?_0x2f18dd[_0x33ee12(0x134)](..._0x220ecb):(_0x2f18dd[_0x33ee12(0x134)](..._0x220ecb[_0x33ee12(0xf3)](0x0,0xa)),_0x2f18dd[_0x33ee12(0x134)]('...\x20+'+(_0x220ecb['length']-0xa)+_0x33ee12(0x126)))),_0x2f4912[_0x33ee12(0x13a)]>0x0&&(_0x2f4912[_0x33ee12(0x13a)]<=0x14?_0x2f18dd[_0x33ee12(0x134)](..._0x2f4912):(_0x2f18dd[_0x33ee12(0x134)](..._0x2f4912[_0x33ee12(0xf3)](0x0,0xf)),_0x2f18dd[_0x33ee12(0x134)](_0x33ee12(0xe0)+(_0x2f4912[_0x33ee12(0x13a)]-0xf)+'\x20more\x20files'))),_0x2f18dd[_0x33ee12(0x134)]('\x0a('+_0x220ecb[_0x33ee12(0x13a)]+_0x33ee12(0x118)+_0x2f4912[_0x33ee12(0x13a)]+_0x33ee12(0xf2)),_0x2f18dd[_0x33ee12(0xe1)]('\x0a');}function filterTree(_0x39dc98){const _0x4e7232=a0_0x2fc984,_0x595d07=_0x39dc98[_0x4e7232(0xf9)]('\x0a');if(_0x595d07[_0x4e7232(0x13a)]<=0x32)return _0x39dc98[_0x4e7232(0x12d)]();const _0x558365=[];let _0x3d3dd0=0x0,_0x18430b=0x0,_0x11f1c7=0x0;for(const _0x3952e0 of _0x595d07){const _0x27397c=_0x3952e0['match'](/(\d+)\s+director/),_0x5269d3=_0x3952e0[_0x4e7232(0x123)](/(\d+)\s+file/);if(_0x27397c)_0x11f1c7=parseInt(_0x27397c[0x1]);if(_0x5269d3)_0x18430b=parseInt(_0x5269d3[0x1]);const _0x317f84=(_0x3952e0[_0x4e7232(0x123)](/^[│├└\s─]+/)||[''])[0x0][_0x4e7232(0x13a)];_0x317f84<=0x4&&(_0x558365['push'](_0x3952e0),_0x3d3dd0++);}return _0x595d07[_0x4e7232(0x13a)]>_0x558365['length']&&_0x558365['push']('\x0a...\x20('+_0x11f1c7+_0x4e7232(0x118)+_0x18430b+'\x20files\x20total\x20—\x20deep\x20entries\x20truncated)'),_0x558365[_0x4e7232(0xe1)]('\x0a');}function filterCat(_0x5ee372,_0x3a3b21=''){const _0x4f8b15=a0_0x2fc984,_0x1da7dd=extractFilename(_0x3a3b21);try{if(_0x1da7dd){const _0x319c7d=filterLockFile(_0x5ee372,_0x1da7dd);if(_0x319c7d)return _0x319c7d;}const _0x581abe=filterBinaryOrMinified(_0x5ee372,_0x1da7dd);if(_0x581abe)return _0x581abe;const _0x65ce52=filterJsonMinify(_0x5ee372);if(_0x65ce52)return _0x65ce52;}catch{}const _0x151099=_0x5ee372[_0x4f8b15(0xf9)]('\x0a');if(_0x151099['length']<=0x64)return _0x5ee372;const _0x3ab214=[];return _0x3ab214[_0x4f8b15(0x134)](..._0x151099[_0x4f8b15(0xf3)](0x0,0x32)),_0x3ab214[_0x4f8b15(0x134)]('\x0a...\x20['+(_0x151099[_0x4f8b15(0x13a)]-0x50)+_0x4f8b15(0xd1)),_0x3ab214[_0x4f8b15(0x134)](..._0x151099[_0x4f8b15(0xf3)](-0x1e)),_0x3ab214[_0x4f8b15(0x134)]('\x0a('+_0x151099[_0x4f8b15(0x13a)]+_0x4f8b15(0x127)),_0x3ab214[_0x4f8b15(0xe1)]('\x0a');}function filterGrep(_0x45ec78){const _0x4761b5=a0_0x2fc984,_0x63ef77=_0x45ec78['split']('\x0a')[_0x4761b5(0x12f)](_0x4636a3=>_0x4636a3[_0x4761b5(0x12d)]()[_0x4761b5(0x13a)]>0x0);if(_0x63ef77[_0x4761b5(0x13a)]===0x0)return _0x4761b5(0x120);if(_0x63ef77[_0x4761b5(0x13a)]<=0x32)return _0x45ec78[_0x4761b5(0x12d)]();const _0x1bd79b={},_0x2f8c0d=[];for(const _0x5031b4 of _0x63ef77){const _0x176b59=_0x5031b4[_0x4761b5(0xd0)](':');if(_0x176b59>0x0&&_0x176b59<0xc8){const _0x254cb9=_0x5031b4[_0x4761b5(0xd2)](0x0,_0x176b59);if(_0x254cb9['includes']('/')||_0x254cb9[_0x4761b5(0x129)]('\x5c')||_0x254cb9[_0x4761b5(0x129)]('.')){if(!_0x1bd79b[_0x254cb9])_0x1bd79b[_0x254cb9]=[];_0x1bd79b[_0x254cb9][_0x4761b5(0x134)](_0x5031b4[_0x4761b5(0xd2)](_0x176b59+0x1)['trim']());continue;}}_0x2f8c0d[_0x4761b5(0x134)](_0x5031b4);}const _0x5d343e=[],_0x19d0c8=Object[_0x4761b5(0xfd)](_0x1bd79b);if(_0x19d0c8[_0x4761b5(0x13a)]>0x0){const _0x11082d=0x14,_0x2a6a3b=_0x19d0c8['slice'](0x0,_0x11082d);for(const _0x295a8b of _0x2a6a3b){const _0x1f464b=_0x1bd79b[_0x295a8b];if(_0x1f464b[_0x4761b5(0x13a)]<=0x3)for(const _0x1ed0e4 of _0x1f464b){_0x5d343e[_0x4761b5(0x134)](_0x295a8b+':\x20'+_0x1ed0e4);}else _0x5d343e[_0x4761b5(0x134)](_0x295a8b+':\x20'+_0x1f464b[0x0]),_0x5d343e['push'](_0x295a8b+_0x4761b5(0xda)+_0x1f464b[_0x4761b5(0x13a)]+_0x4761b5(0xeb));}_0x19d0c8[_0x4761b5(0x13a)]>_0x11082d&&_0x5d343e[_0x4761b5(0x134)]('...\x20+'+(_0x19d0c8[_0x4761b5(0x13a)]-_0x11082d)+_0x4761b5(0x128));}if(_0x2f8c0d['length']>0x0){const _0x1007a6=0x1e;_0x5d343e[_0x4761b5(0x134)](..._0x2f8c0d[_0x4761b5(0xf3)](0x0,_0x1007a6)),_0x2f8c0d[_0x4761b5(0x13a)]>_0x1007a6&&_0x5d343e[_0x4761b5(0x134)](_0x4761b5(0xe0)+(_0x2f8c0d[_0x4761b5(0x13a)]-_0x1007a6)+_0x4761b5(0x113));}const _0x196221=_0x63ef77[_0x4761b5(0x13a)];return _0x5d343e['push']('\x0a('+_0x196221+_0x4761b5(0x11f)+(_0x19d0c8[_0x4761b5(0x13a)]||'?')+_0x4761b5(0xf2)),_0x5d343e[_0x4761b5(0xe1)]('\x0a');}function filterFind(_0x233dc8){const _0xb4d383=a0_0x2fc984,_0x5e863c=_0x233dc8[_0xb4d383(0xf9)]('\x0a')[_0xb4d383(0x12f)](_0x23ce28=>_0x23ce28[_0xb4d383(0x12d)]()[_0xb4d383(0x13a)]>0x0);if(_0x5e863c[_0xb4d383(0x13a)]===0x0)return _0xb4d383(0x104);if(_0x5e863c[_0xb4d383(0x13a)]<=0x32)return _0x233dc8[_0xb4d383(0x12d)]();const _0x1307c6={};for(const _0x174b84 of _0x5e863c){const _0x36bdc6=path['dirname'](_0x174b84[_0xb4d383(0x12d)]())||'.';_0x1307c6[_0x36bdc6]=(_0x1307c6[_0x36bdc6]||0x0)+0x1;}const _0xfd7c70=Object['entries'](_0x1307c6)['sort']((_0x701cc3,_0x42d011)=>_0x42d011[0x1]-_0x701cc3[0x1]),_0x22a93b=[_0x5e863c['length']+'\x20files\x20found\x20across\x20'+_0xfd7c70[_0xb4d383(0x13a)]+_0xb4d383(0x135),''],_0x2de1cd=0x1e;for(const [_0x31175a,_0x420e27]of _0xfd7c70[_0xb4d383(0xf3)](0x0,_0x2de1cd)){_0x22a93b[_0xb4d383(0x134)]('\x20\x20'+_0x31175a+_0xb4d383(0x12a)+_0x420e27+_0xb4d383(0xf2));}return _0xfd7c70['length']>_0x2de1cd&&_0x22a93b[_0xb4d383(0x134)](_0xb4d383(0x130)+(_0xfd7c70[_0xb4d383(0x13a)]-_0x2de1cd)+_0xb4d383(0x126)),_0x22a93b[_0xb4d383(0xe1)]('\x0a');}
1
+ 'use strict';const a0_0x1414b7=a0_0x1cd8;(function(_0xf1b4ad,_0x48eb47){const _0x2f8df3=a0_0x1cd8,_0x366ab1=_0xf1b4ad();while(!![]){try{const _0x4ac66f=parseInt(_0x2f8df3(0x226))/0x1+-parseInt(_0x2f8df3(0x223))/0x2*(-parseInt(_0x2f8df3(0x1fc))/0x3)+parseInt(_0x2f8df3(0x24d))/0x4+parseInt(_0x2f8df3(0x221))/0x5+parseInt(_0x2f8df3(0x201))/0x6*(parseInt(_0x2f8df3(0x235))/0x7)+parseInt(_0x2f8df3(0x20e))/0x8*(parseInt(_0x2f8df3(0x239))/0x9)+-parseInt(_0x2f8df3(0x243))/0xa*(parseInt(_0x2f8df3(0x21f))/0xb);if(_0x4ac66f===_0x48eb47)break;else _0x366ab1['push'](_0x366ab1['shift']());}catch(_0x55bfc6){_0x366ab1['push'](_0x366ab1['shift']());}}}(a0_0x3fa2,0x348ed));function a0_0x3fa2(){const _0x420d68=['.dat','yarn.lock','27728nuvaxm','\x0a...\x20(','.obj','writable','packages','\x20more\x20files','slice','.wasm','.tgz','get','floor','basename','default','prototype','pnpm-lock.yaml','/\x20(','filterTree','34474QfaJAS','.ico','2118640XwneHi','.mp3','4GRvujB','\x20lines\x20truncated]\x20...\x0a','.eot','120898KpQssh','filterLs','keys','\x20matches\x20in\x20this\x20file)','\x20chars\x20(contains\x20null\x20bytes\x20—\x20binary\x20content\x20omitted)','.min.js','.otf','path','\x20\x20...\x20+','.db','create','\x20files)','.svg','length','\x20directories,\x20','42WINFbc','.bz2','.pyc','\x20more\x20matches','369KBukVt','total\x20','.woff2','bun.lockb','defineProperty','.mp4','getOwnPropertyNames','.min.css','composer.lock','.exe','3410AhuTLw','.zip','__esModule','.class','filter','No\x20files\x20found','\x20chars,\x20type:\x20','.sqlite3','.gz','.rar','430180RfljjP','toLowerCase','parse','poetry.lock','Cargo.lock','\x20chars\x20across\x20','go.sum','\x20files\x20total\x20—\x20deep\x20entries\x20truncated)','includes','[binary\x20file]\x20','.gif','\x0a...\x20[','\x20matches\x20across\x20','\x20(content\x20omitted\x20—\x20not\x20useful\x20for\x20LLM\x20context)','split','\x20more\x20directories','\x20more\x20files\x20with\x20matches','.wav','...\x20+','startsWith','charCodeAt','match','.bmp','filterCat','.avi','.woff','call','trim','some','dirname','configurable','231828qTWHoZ','push','[binary/minified\x20file]\x20','toLocaleString','.ttf','335142SlJqYo','join','cargo.lock','[lock\x20file]\x20','package-lock.json','.jpg','substring','getOwnPropertyDescriptor','.so','.map','__createBinding'];a0_0x3fa2=function(){return _0x420d68;};return a0_0x3fa2();}var __createBinding=this&&this[a0_0x1414b7(0x20b)]||(Object[a0_0x1414b7(0x230)]?function(_0x1876eb,_0x386bd0,_0xf53b14,_0x3ea6bd){const _0x563666=a0_0x1414b7;if(_0x3ea6bd===undefined)_0x3ea6bd=_0xf53b14;var _0x55a776=Object[_0x563666(0x208)](_0x386bd0,_0xf53b14);(!_0x55a776||(_0x563666(0x217)in _0x55a776?!_0x386bd0[_0x563666(0x245)]:_0x55a776[_0x563666(0x211)]||_0x55a776[_0x563666(0x1fb)]))&&(_0x55a776={'enumerable':!![],'get':function(){return _0x386bd0[_0xf53b14];}}),Object['defineProperty'](_0x1876eb,_0x3ea6bd,_0x55a776);}:function(_0x33bfbb,_0xcb6323,_0x365c56,_0x5f4e9d){if(_0x5f4e9d===undefined)_0x5f4e9d=_0x365c56;_0x33bfbb[_0x5f4e9d]=_0xcb6323[_0x365c56];}),__setModuleDefault=this&&this['__setModuleDefault']||(Object[a0_0x1414b7(0x230)]?function(_0x2a4e8b,_0x57c0cd){const _0x4e5dc5=a0_0x1414b7;Object[_0x4e5dc5(0x23d)](_0x2a4e8b,_0x4e5dc5(0x21a),{'enumerable':!![],'value':_0x57c0cd});}:function(_0x176259,_0x11af41){const _0x185ac9=a0_0x1414b7;_0x176259[_0x185ac9(0x21a)]=_0x11af41;}),__importStar=this&&this['__importStar']||(function(){var _0x567177=function(_0x539595){const _0x2a0442=a0_0x1cd8;return _0x567177=Object[_0x2a0442(0x23f)]||function(_0x51c9eb){const _0x3ce6f1=_0x2a0442;var _0x2e7b27=[];for(var _0x574280 in _0x51c9eb)if(Object[_0x3ce6f1(0x21b)]['hasOwnProperty'][_0x3ce6f1(0x1f7)](_0x51c9eb,_0x574280))_0x2e7b27[_0x2e7b27['length']]=_0x574280;return _0x2e7b27;},_0x567177(_0x539595);};return function(_0x36d1f1){const _0x353f34=a0_0x1cd8;if(_0x36d1f1&&_0x36d1f1[_0x353f34(0x245)])return _0x36d1f1;var _0x53266c={};if(_0x36d1f1!=null){for(var _0x34eaa0=_0x567177(_0x36d1f1),_0x35115c=0x0;_0x35115c<_0x34eaa0[_0x353f34(0x233)];_0x35115c++)if(_0x34eaa0[_0x35115c]!==_0x353f34(0x21a))__createBinding(_0x53266c,_0x36d1f1,_0x34eaa0[_0x35115c]);}return __setModuleDefault(_0x53266c,_0x36d1f1),_0x53266c;};}());Object[a0_0x1414b7(0x23d)](exports,a0_0x1414b7(0x245),{'value':!![]}),exports[a0_0x1414b7(0x227)]=filterLs,exports[a0_0x1414b7(0x21e)]=filterTree,exports[a0_0x1414b7(0x1f4)]=filterCat,exports['filterGrep']=filterGrep,exports['filterFind']=filterFind;const path=__importStar(require(a0_0x1414b7(0x22d))),LOCK_FILES=[a0_0x1414b7(0x205),a0_0x1414b7(0x20d),a0_0x1414b7(0x21c),a0_0x1414b7(0x251),a0_0x1414b7(0x253),a0_0x1414b7(0x250),a0_0x1414b7(0x241),'Gemfile.lock',a0_0x1414b7(0x23c)],BINARY_EXTENSIONS=[a0_0x1414b7(0x22b),a0_0x1414b7(0x240),a0_0x1414b7(0x20a),a0_0x1414b7(0x215),'.png',a0_0x1414b7(0x206),'.jpeg',a0_0x1414b7(0x257),a0_0x1414b7(0x220),a0_0x1414b7(0x1f3),'.webp',a0_0x1414b7(0x232),'.pdf',a0_0x1414b7(0x244),'.tar.gz',a0_0x1414b7(0x216),a0_0x1414b7(0x24b),a0_0x1414b7(0x236),'.7z',a0_0x1414b7(0x24c),a0_0x1414b7(0x242),'.dll',a0_0x1414b7(0x209),'.dylib','.bin',a0_0x1414b7(0x20c),'.sqlite',a0_0x1414b7(0x22f),a0_0x1414b7(0x24a),a0_0x1414b7(0x1f6),a0_0x1414b7(0x23b),a0_0x1414b7(0x200),a0_0x1414b7(0x225),a0_0x1414b7(0x22c),a0_0x1414b7(0x222),a0_0x1414b7(0x23e),a0_0x1414b7(0x1ee),a0_0x1414b7(0x1f5),'.mov','.webm',a0_0x1414b7(0x237),'.pyo',a0_0x1414b7(0x246),'.o',a0_0x1414b7(0x210)];function extractFilename(_0x2b8ab2){const _0x55b52f=a0_0x1414b7,_0x5a0dec=_0x2b8ab2[_0x55b52f(0x1f8)]()[_0x55b52f(0x25b)](/\s+/);for(let _0x27a7d3=0x1;_0x27a7d3<_0x5a0dec[_0x55b52f(0x233)];_0x27a7d3++){if(!_0x5a0dec[_0x27a7d3][_0x55b52f(0x1f0)]('-'))return _0x5a0dec[_0x27a7d3];}return null;}function filterLockFile(_0x336449,_0x402c4c){const _0x4e09f9=a0_0x1414b7;try{const _0x361dc2=path[_0x4e09f9(0x219)](_0x402c4c)[_0x4e09f9(0x24e)]();if(!LOCK_FILES[_0x4e09f9(0x1f9)](_0x1934d2=>_0x361dc2===_0x1934d2[_0x4e09f9(0x24e)]()))return null;const _0x36ce3=_0x336449['length'];let _0x1bbaba=0x0;if(_0x361dc2===_0x4e09f9(0x205))try{const _0x4a98b9=JSON[_0x4e09f9(0x24f)](_0x336449);_0x1bbaba=Object[_0x4e09f9(0x228)](_0x4a98b9[_0x4e09f9(0x212)]||_0x4a98b9['dependencies']||{})[_0x4e09f9(0x233)];}catch{_0x1bbaba=(_0x336449['match'](/"resolved":/g)||[])['length'];}else{if(_0x361dc2==='yarn.lock')_0x1bbaba=(_0x336449[_0x4e09f9(0x1f2)](/^"?[^#\s][^:]*:$/gm)||[])[_0x4e09f9(0x233)];else{if(_0x361dc2===_0x4e09f9(0x203)||_0x361dc2===_0x4e09f9(0x250))_0x1bbaba=(_0x336449[_0x4e09f9(0x1f2)](/\[\[package\]\]/g)||[])[_0x4e09f9(0x233)];else{if(_0x361dc2==='go.sum')_0x1bbaba=Math[_0x4e09f9(0x218)](_0x336449[_0x4e09f9(0x25b)]('\x0a')[_0x4e09f9(0x247)](_0x3402e7=>_0x3402e7['trim']())[_0x4e09f9(0x233)]/0x2);else{if(_0x361dc2===_0x4e09f9(0x241))try{_0x1bbaba=JSON[_0x4e09f9(0x24f)](_0x336449)[_0x4e09f9(0x212)]?.[_0x4e09f9(0x233)]||0x0;}catch{}else _0x361dc2==='pnpm-lock.yaml'?_0x1bbaba=(_0x336449[_0x4e09f9(0x1f2)](/^\s{2}['"@a-z]/gm)||[])['length']:_0x1bbaba=_0x336449[_0x4e09f9(0x25b)]('\x0a')['filter'](_0x161ffa=>_0x161ffa['trim']())['length'];}}}}return _0x4e09f9(0x204)+path[_0x4e09f9(0x219)](_0x402c4c)+':\x20'+_0x1bbaba+'\x20dependencies,\x20'+_0x36ce3[_0x4e09f9(0x1ff)]()+'\x20chars\x20(content\x20omitted\x20—\x20lock\x20files\x20are\x20not\x20useful\x20for\x20LLM\x20context)';}catch{return null;}}function filterBinaryOrMinified(_0x40c128,_0x1de9e8){const _0x43552c=a0_0x1414b7;try{if(_0x1de9e8){const _0x3357ae=_0x1de9e8[_0x43552c(0x24e)]();for(const _0x5df719 of BINARY_EXTENSIONS){if(_0x3357ae['endsWith'](_0x5df719))return _0x43552c(0x1fe)+path[_0x43552c(0x219)](_0x1de9e8)+',\x20'+_0x40c128[_0x43552c(0x233)][_0x43552c(0x1ff)]()+_0x43552c(0x249)+_0x5df719+_0x43552c(0x25a);}}const _0x2f1860=_0x40c128[_0x43552c(0x207)](0x0,0x3e8);let _0x325c38=0x0;for(let _0x3a844e=0x0;_0x3a844e<_0x2f1860['length'];_0x3a844e++){if(_0x2f1860[_0x43552c(0x1f1)](_0x3a844e)===0x0)_0x325c38++;}if(_0x325c38>0x0)return _0x43552c(0x256)+_0x40c128[_0x43552c(0x233)]['toLocaleString']()+_0x43552c(0x22a);let _0x2fdce7=0x0;for(let _0x3c0e34=0x0;_0x3c0e34<_0x2f1860[_0x43552c(0x233)];_0x3c0e34++){const _0x1f1a22=_0x2f1860[_0x43552c(0x1f1)](_0x3c0e34);if(_0x1f1a22<0x20&&_0x1f1a22!==0xa&&_0x1f1a22!==0xd&&_0x1f1a22!==0x9)_0x2fdce7++;}if(_0x2f1860['length']>0x64&&_0x2fdce7>_0x2f1860[_0x43552c(0x233)]*0.1)return _0x43552c(0x256)+_0x40c128[_0x43552c(0x233)]['toLocaleString']()+'\x20chars\x20(high\x20non-printable\x20ratio\x20—\x20content\x20omitted)';const _0x164113=_0x40c128['split']('\x0a');if(_0x164113[_0x43552c(0x233)]<=0x3&&_0x40c128['length']>0x1388)return'[minified\x20file]\x20'+_0x40c128[_0x43552c(0x233)][_0x43552c(0x1ff)]()+_0x43552c(0x252)+_0x164113[_0x43552c(0x233)]+'\x20line(s)\x20(content\x20omitted\x20—\x20not\x20human-readable)';return null;}catch{return null;}}function a0_0x1cd8(_0x2644ee,_0x256475){_0x2644ee=_0x2644ee-0x1ed;const _0x3fa2ae=a0_0x3fa2();let _0x1cd8d8=_0x3fa2ae[_0x2644ee];return _0x1cd8d8;}function filterJsonMinify(_0x315ae2){const _0x4add4d=a0_0x1414b7;try{const _0x1d2573=_0x315ae2[_0x4add4d(0x1f8)]();if(!_0x1d2573['startsWith']('{')&&!_0x1d2573['startsWith']('['))return null;const _0x148631=_0x1d2573[_0x4add4d(0x25b)]('\x0a');if(_0x148631['length']<=0x14)return null;const _0x4584f0=JSON[_0x4add4d(0x24f)](_0x1d2573),_0x377eaa=JSON['stringify'](_0x4584f0);if(_0x377eaa['length']<_0x1d2573[_0x4add4d(0x233)])return _0x377eaa;return null;}catch{return null;}}function filterLs(_0x9213fe){const _0x3d64c1=a0_0x1414b7,_0x3d8b81=_0x9213fe[_0x3d64c1(0x25b)]('\x0a')[_0x3d64c1(0x247)](_0x10abba=>_0x10abba[_0x3d64c1(0x1f8)]()[_0x3d64c1(0x233)]>0x0);if(_0x3d8b81[_0x3d64c1(0x233)]===0x0)return'Empty\x20directory';if(_0x3d8b81[_0x3d64c1(0x233)]<=0x1e)return _0x9213fe[_0x3d64c1(0x1f8)]();const _0x27a042=[],_0x1c6dc2=[];for(const _0x42b59b of _0x3d8b81){const _0x3921c6=_0x42b59b[_0x3d64c1(0x1f8)]();if(_0x3921c6['startsWith'](_0x3d64c1(0x23a))||_0x3921c6[_0x3d64c1(0x1f0)]('d')&&_0x3921c6[_0x3d64c1(0x255)]('..'))continue;_0x3921c6['endsWith']('/')||_0x3921c6['startsWith']('d')&&_0x3921c6['includes']('\x20')?_0x27a042[_0x3d64c1(0x1fd)](_0x3921c6):_0x1c6dc2[_0x3d64c1(0x1fd)](_0x3921c6);}const _0x623204=[];return _0x27a042['length']>0x0&&(_0x27a042[_0x3d64c1(0x233)]<=0xf?_0x623204[_0x3d64c1(0x1fd)](..._0x27a042):(_0x623204[_0x3d64c1(0x1fd)](..._0x27a042[_0x3d64c1(0x214)](0x0,0xa)),_0x623204[_0x3d64c1(0x1fd)]('...\x20+'+(_0x27a042[_0x3d64c1(0x233)]-0xa)+_0x3d64c1(0x25c)))),_0x1c6dc2[_0x3d64c1(0x233)]>0x0&&(_0x1c6dc2[_0x3d64c1(0x233)]<=0x14?_0x623204['push'](..._0x1c6dc2):(_0x623204[_0x3d64c1(0x1fd)](..._0x1c6dc2[_0x3d64c1(0x214)](0x0,0xf)),_0x623204[_0x3d64c1(0x1fd)](_0x3d64c1(0x1ef)+(_0x1c6dc2[_0x3d64c1(0x233)]-0xf)+_0x3d64c1(0x213)))),_0x623204[_0x3d64c1(0x1fd)]('\x0a('+_0x27a042['length']+_0x3d64c1(0x234)+_0x1c6dc2[_0x3d64c1(0x233)]+_0x3d64c1(0x231)),_0x623204['join']('\x0a');}function filterTree(_0x1d1fb1){const _0xfca68=a0_0x1414b7,_0x41133f=_0x1d1fb1[_0xfca68(0x25b)]('\x0a');if(_0x41133f[_0xfca68(0x233)]<=0x32)return _0x1d1fb1[_0xfca68(0x1f8)]();const _0x429eee=[];let _0x4f8ae6=0x0,_0x45b703=0x0,_0x495c65=0x0;for(const _0x2e3797 of _0x41133f){const _0x282725=_0x2e3797[_0xfca68(0x1f2)](/(\d+)\s+director/),_0x2ab5db=_0x2e3797[_0xfca68(0x1f2)](/(\d+)\s+file/);if(_0x282725)_0x495c65=parseInt(_0x282725[0x1]);if(_0x2ab5db)_0x45b703=parseInt(_0x2ab5db[0x1]);const _0x2486a1=(_0x2e3797[_0xfca68(0x1f2)](/^[│├└\s─]+/)||[''])[0x0][_0xfca68(0x233)];_0x2486a1<=0x4&&(_0x429eee[_0xfca68(0x1fd)](_0x2e3797),_0x4f8ae6++);}return _0x41133f['length']>_0x429eee['length']&&_0x429eee['push'](_0xfca68(0x20f)+_0x495c65+_0xfca68(0x234)+_0x45b703+_0xfca68(0x254)),_0x429eee[_0xfca68(0x202)]('\x0a');}function filterCat(_0x50e471,_0x106ffa=''){const _0x5b689f=a0_0x1414b7,_0x5b30af=extractFilename(_0x106ffa);try{if(_0x5b30af){const _0xfb4d8b=filterLockFile(_0x50e471,_0x5b30af);if(_0xfb4d8b)return _0xfb4d8b;}const _0x346a2a=filterBinaryOrMinified(_0x50e471,_0x5b30af);if(_0x346a2a)return _0x346a2a;const _0x21b1d4=filterJsonMinify(_0x50e471);if(_0x21b1d4)return _0x21b1d4;}catch{}const _0x5a2e02=_0x50e471[_0x5b689f(0x25b)]('\x0a');if(_0x5a2e02[_0x5b689f(0x233)]<=0x64)return _0x50e471;const _0x281724=[];return _0x281724['push'](..._0x5a2e02[_0x5b689f(0x214)](0x0,0x32)),_0x281724['push'](_0x5b689f(0x258)+(_0x5a2e02['length']-0x50)+_0x5b689f(0x224)),_0x281724[_0x5b689f(0x1fd)](..._0x5a2e02['slice'](-0x1e)),_0x281724[_0x5b689f(0x1fd)]('\x0a('+_0x5a2e02[_0x5b689f(0x233)]+'\x20lines\x20total)'),_0x281724[_0x5b689f(0x202)]('\x0a');}function filterGrep(_0x1ee0ed){const _0x5cbb63=a0_0x1414b7,_0x2c18c7=_0x1ee0ed[_0x5cbb63(0x25b)]('\x0a')['filter'](_0x4b9ecb=>_0x4b9ecb[_0x5cbb63(0x1f8)]()[_0x5cbb63(0x233)]>0x0);if(_0x2c18c7[_0x5cbb63(0x233)]===0x0)return'No\x20matches\x20found';if(_0x2c18c7[_0x5cbb63(0x233)]<=0x32)return _0x1ee0ed[_0x5cbb63(0x1f8)]();const _0x3d3d49={},_0x2d2746=[];for(const _0x29c4b4 of _0x2c18c7){const _0x253ba4=_0x29c4b4['indexOf'](':');if(_0x253ba4>0x0&&_0x253ba4<0xc8){const _0x4612e5=_0x29c4b4[_0x5cbb63(0x207)](0x0,_0x253ba4);if(_0x4612e5[_0x5cbb63(0x255)]('/')||_0x4612e5[_0x5cbb63(0x255)]('\x5c')||_0x4612e5[_0x5cbb63(0x255)]('.')){if(!_0x3d3d49[_0x4612e5])_0x3d3d49[_0x4612e5]=[];_0x3d3d49[_0x4612e5]['push'](_0x29c4b4['substring'](_0x253ba4+0x1)[_0x5cbb63(0x1f8)]());continue;}}_0x2d2746[_0x5cbb63(0x1fd)](_0x29c4b4);}const _0x4f12d9=[],_0x2caa2f=Object[_0x5cbb63(0x228)](_0x3d3d49);if(_0x2caa2f[_0x5cbb63(0x233)]>0x0){const _0x441bb1=0x14,_0x45c020=_0x2caa2f[_0x5cbb63(0x214)](0x0,_0x441bb1);for(const _0x394180 of _0x45c020){const _0x195507=_0x3d3d49[_0x394180];if(_0x195507[_0x5cbb63(0x233)]<=0x3)for(const _0x184e77 of _0x195507){_0x4f12d9[_0x5cbb63(0x1fd)](_0x394180+':\x20'+_0x184e77);}else _0x4f12d9[_0x5cbb63(0x1fd)](_0x394180+':\x20'+_0x195507[0x0]),_0x4f12d9['push'](_0x394180+':\x20...\x20('+_0x195507[_0x5cbb63(0x233)]+_0x5cbb63(0x229));}_0x2caa2f[_0x5cbb63(0x233)]>_0x441bb1&&_0x4f12d9[_0x5cbb63(0x1fd)](_0x5cbb63(0x1ef)+(_0x2caa2f[_0x5cbb63(0x233)]-_0x441bb1)+_0x5cbb63(0x1ed));}if(_0x2d2746[_0x5cbb63(0x233)]>0x0){const _0x38d637=0x1e;_0x4f12d9[_0x5cbb63(0x1fd)](..._0x2d2746[_0x5cbb63(0x214)](0x0,_0x38d637)),_0x2d2746[_0x5cbb63(0x233)]>_0x38d637&&_0x4f12d9[_0x5cbb63(0x1fd)](_0x5cbb63(0x1ef)+(_0x2d2746['length']-_0x38d637)+_0x5cbb63(0x238));}const _0x5c78f4=_0x2c18c7[_0x5cbb63(0x233)];return _0x4f12d9[_0x5cbb63(0x1fd)]('\x0a('+_0x5c78f4+_0x5cbb63(0x259)+(_0x2caa2f['length']||'?')+'\x20files)'),_0x4f12d9[_0x5cbb63(0x202)]('\x0a');}function filterFind(_0x49e358){const _0x447a21=a0_0x1414b7,_0x295016=_0x49e358[_0x447a21(0x25b)]('\x0a')[_0x447a21(0x247)](_0x2a76fd=>_0x2a76fd[_0x447a21(0x1f8)]()[_0x447a21(0x233)]>0x0);if(_0x295016[_0x447a21(0x233)]===0x0)return _0x447a21(0x248);if(_0x295016[_0x447a21(0x233)]<=0x32)return _0x49e358[_0x447a21(0x1f8)]();const _0x1a39b0={};for(const _0x5904af of _0x295016){const _0x5cd331=path[_0x447a21(0x1fa)](_0x5904af[_0x447a21(0x1f8)]())||'.';_0x1a39b0[_0x5cd331]=(_0x1a39b0[_0x5cd331]||0x0)+0x1;}const _0x4688a2=Object['entries'](_0x1a39b0)['sort']((_0x3ad1c8,_0x2c8b23)=>_0x2c8b23[0x1]-_0x3ad1c8[0x1]),_0x255ce6=[_0x295016[_0x447a21(0x233)]+'\x20files\x20found\x20across\x20'+_0x4688a2[_0x447a21(0x233)]+'\x20directories',''],_0x3b09ea=0x1e;for(const [_0x358a2e,_0x4539aa]of _0x4688a2['slice'](0x0,_0x3b09ea)){_0x255ce6[_0x447a21(0x1fd)]('\x20\x20'+_0x358a2e+_0x447a21(0x21d)+_0x4539aa+_0x447a21(0x231));}return _0x4688a2['length']>_0x3b09ea&&_0x255ce6['push'](_0x447a21(0x22e)+(_0x4688a2[_0x447a21(0x233)]-_0x3b09ea)+_0x447a21(0x25c)),_0x255ce6[_0x447a21(0x202)]('\x0a');}
package/mcp.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0xc6fde3=a0_0x42a7;(function(_0x5af09b,_0x251305){const _0x1e54e3=a0_0x42a7,_0x40635b=_0x5af09b();while(!![]){try{const _0x3dde20=-parseInt(_0x1e54e3(0x14e))/0x1+-parseInt(_0x1e54e3(0x123))/0x2*(-parseInt(_0x1e54e3(0x153))/0x3)+-parseInt(_0x1e54e3(0x131))/0x4+-parseInt(_0x1e54e3(0x144))/0x5+-parseInt(_0x1e54e3(0x13c))/0x6*(-parseInt(_0x1e54e3(0x12c))/0x7)+-parseInt(_0x1e54e3(0x14b))/0x8*(parseInt(_0x1e54e3(0x137))/0x9)+parseInt(_0x1e54e3(0x124))/0xa;if(_0x3dde20===_0x251305)break;else _0x40635b['push'](_0x40635b['shift']());}catch(_0x113a91){_0x40635b['push'](_0x40635b['shift']());}}}(a0_0x1e90,0xebab0));var __createBinding=this&&this[a0_0xc6fde3(0x142)]||(Object['create']?function(_0x55551c,_0x336599,_0x1d7e8f,_0x40fc5f){const _0x4f333b=a0_0xc6fde3;if(_0x40fc5f===undefined)_0x40fc5f=_0x1d7e8f;var _0xfa0040=Object[_0x4f333b(0x14c)](_0x336599,_0x1d7e8f);(!_0xfa0040||(_0x4f333b(0x12b)in _0xfa0040?!_0x336599[_0x4f333b(0x14f)]:_0xfa0040['writable']||_0xfa0040[_0x4f333b(0x146)]))&&(_0xfa0040={'enumerable':!![],'get':function(){return _0x336599[_0x1d7e8f];}}),Object[_0x4f333b(0x145)](_0x55551c,_0x40fc5f,_0xfa0040);}:function(_0x489b2a,_0x15f15e,_0x278c4e,_0x5c80f3){if(_0x5c80f3===undefined)_0x5c80f3=_0x278c4e;_0x489b2a[_0x5c80f3]=_0x15f15e[_0x278c4e];}),__setModuleDefault=this&&this[a0_0xc6fde3(0x129)]||(Object[a0_0xc6fde3(0x13a)]?function(_0xa864d1,_0x1a4960){const _0x24f672=a0_0xc6fde3;Object[_0x24f672(0x145)](_0xa864d1,'default',{'enumerable':!![],'value':_0x1a4960});}:function(_0x1e784f,_0x530efe){const _0x1e57c2=a0_0xc6fde3;_0x1e784f[_0x1e57c2(0x14d)]=_0x530efe;}),__importStar=this&&this['__importStar']||(function(){var _0xa29c3f=function(_0x26850f){return _0xa29c3f=Object['getOwnPropertyNames']||function(_0x21155e){const _0x28dc45=a0_0x42a7;var _0x59ee13=[];for(var _0x380f41 in _0x21155e)if(Object['prototype'][_0x28dc45(0x12f)][_0x28dc45(0x152)](_0x21155e,_0x380f41))_0x59ee13[_0x59ee13['length']]=_0x380f41;return _0x59ee13;},_0xa29c3f(_0x26850f);};return function(_0x5a547f){const _0x1bcc87=a0_0x42a7;if(_0x5a547f&&_0x5a547f[_0x1bcc87(0x14f)])return _0x5a547f;var _0x138d17={};if(_0x5a547f!=null){for(var _0x56f851=_0xa29c3f(_0x5a547f),_0x57f55c=0x0;_0x57f55c<_0x56f851[_0x1bcc87(0x12d)];_0x57f55c++)if(_0x56f851[_0x57f55c]!==_0x1bcc87(0x14d))__createBinding(_0x138d17,_0x5a547f,_0x56f851[_0x57f55c]);}return __setModuleDefault(_0x138d17,_0x5a547f),_0x138d17;};}());Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['runMcpProxy']=runMcpProxy;const child_process_1=require(a0_0xc6fde3(0x147)),readline=__importStar(require(a0_0xc6fde3(0x126))),filters_1=require(a0_0xc6fde3(0x141)),tracker_1=require(a0_0xc6fde3(0x127));function a0_0x42a7(_0x4b777e,_0x12eec9){_0x4b777e=_0x4b777e-0x123;const _0x1e90aa=a0_0x1e90();let _0x42a723=_0x1e90aa[_0x4b777e];return _0x42a723;}function runMcpProxy(_0x30b962,_0xca42fa){const _0xdc2c5d=a0_0xc6fde3,_0x2dc95f=(0x0,child_process_1[_0xdc2c5d(0x13e)])(_0x30b962,_0xca42fa,{'stdio':['pipe',_0xdc2c5d(0x139),_0xdc2c5d(0x134)]});process[_0xdc2c5d(0x128)][_0xdc2c5d(0x139)](_0x2dc95f[_0xdc2c5d(0x128)]);const _0x25b338=readline[_0xdc2c5d(0x148)]({'input':_0x2dc95f[_0xdc2c5d(0x158)],'terminal':![]});_0x25b338['on'](_0xdc2c5d(0x150),_0x46c9db=>{const _0x52df84=_0xdc2c5d;try{const _0x5b4432=JSON[_0x52df84(0x138)](_0x46c9db);if(_0x5b4432&&_0x5b4432['jsonrpc']===_0x52df84(0x159)&&_0x5b4432['id']!==undefined&&_0x5b4432[_0x52df84(0x13d)]&&Array[_0x52df84(0x136)](_0x5b4432[_0x52df84(0x13d)][_0x52df84(0x130)])){let _0x142d5c=![];for(const _0x3a792c of _0x5b4432[_0x52df84(0x13d)][_0x52df84(0x130)]){if(_0x3a792c[_0x52df84(0x155)]===_0x52df84(0x12e)&&typeof _0x3a792c[_0x52df84(0x12e)]===_0x52df84(0x14a)&&_0x3a792c[_0x52df84(0x12e)][_0x52df84(0x157)]()[_0x52df84(0x12d)]>0x0){const _0x38d3da=_0x3a792c[_0x52df84(0x12e)],_0x4ed233=(0x0,filters_1[_0x52df84(0x135)])(_0x52df84(0x154),_0x38d3da,'',tracker_1['tracker'][_0x52df84(0x156)]()[_0x52df84(0x125)]);tracker_1['tracker'][_0x52df84(0x133)](_0x52df84(0x132)+_0x5b4432['id']+')',_0x38d3da,_0x4ed233,0x0),_0x3a792c[_0x52df84(0x12e)]=_0x4ed233,_0x142d5c=!![];}}_0x142d5c?process[_0x52df84(0x158)]['write'](JSON[_0x52df84(0x151)](_0x5b4432)+'\x0a'):process[_0x52df84(0x158)][_0x52df84(0x13b)](_0x46c9db+'\x0a');}else process['stdout']['write'](_0x46c9db+'\x0a');}catch{process['stdout'][_0x52df84(0x13b)](_0x46c9db+'\x0a');}}),_0x2dc95f['on'](_0xdc2c5d(0x149),_0x24d8b6=>{const _0x59cbb4=_0xdc2c5d;process[_0x59cbb4(0x143)](_0x24d8b6||0x0);}),_0x2dc95f['on'](_0xdc2c5d(0x12a),_0x1dc36b=>{const _0x13e199=_0xdc2c5d;console[_0x13e199(0x12a)](_0x13e199(0x13f)+_0x1dc36b[_0x13e199(0x140)]),process[_0x13e199(0x143)](0x1);});}function a0_0x1e90(){const _0x2bab8f=['redaction_enabled','readline','./tracker','stdin','__setModuleDefault','error','get','183806BbVUqB','length','text','hasOwnProperty','content','1247180ZEccoS','mcp\x20tool\x20(id:\x20','logExecution','inherit','compressOutput','isArray','63uRiJfW','parse','pipe','create','write','342yivMfF','result','spawn','[TrimPrompt]\x20MCP\x20Server\x20Spawn\x20Error:\x20','message','./filters','__createBinding','exit','6523895uvVobC','defineProperty','configurable','child_process','createInterface','close','string','327864OWLhMT','getOwnPropertyDescriptor','default','972264bNDecZ','__esModule','line','stringify','call','879NOXRaV','mcp-tool-call','type','getConfig','trim','stdout','2.0','12782sTmRVY','4717460LcBuJM'];a0_0x1e90=function(){return _0x2bab8f;};return a0_0x1e90();}
1
+ 'use strict';const a0_0x1d8f42=a0_0x2e8d;(function(_0xc0c589,_0x51b08f){const _0xc08432=a0_0x2e8d,_0x403099=_0xc0c589();while(!![]){try{const _0x444ef6=-parseInt(_0xc08432(0x109))/0x1+-parseInt(_0xc08432(0x121))/0x2*(parseInt(_0xc08432(0x10c))/0x3)+parseInt(_0xc08432(0x11c))/0x4*(-parseInt(_0xc08432(0xf9))/0x5)+-parseInt(_0xc08432(0x119))/0x6*(-parseInt(_0xc08432(0x105))/0x7)+parseInt(_0xc08432(0xf8))/0x8*(-parseInt(_0xc08432(0xfb))/0x9)+-parseInt(_0xc08432(0x100))/0xa*(-parseInt(_0xc08432(0x11b))/0xb)+parseInt(_0xc08432(0x115))/0xc;if(_0x444ef6===_0x51b08f)break;else _0x403099['push'](_0x403099['shift']());}catch(_0x1d726d){_0x403099['push'](_0x403099['shift']());}}}(a0_0x3ba6,0xcd11c));function a0_0x2e8d(_0x672b8,_0x5a1839){_0x672b8=_0x672b8-0xf8;const _0x3ba617=a0_0x3ba6();let _0x2e8d10=_0x3ba617[_0x672b8];return _0x2e8d10;}var __createBinding=this&&this[a0_0x1d8f42(0x117)]||(Object['create']?function(_0xf85b47,_0x5c6dff,_0x5e7b09,_0xddd7a0){const _0x1a0426=a0_0x1d8f42;if(_0xddd7a0===undefined)_0xddd7a0=_0x5e7b09;var _0x3558fb=Object['getOwnPropertyDescriptor'](_0x5c6dff,_0x5e7b09);(!_0x3558fb||('get'in _0x3558fb?!_0x5c6dff[_0x1a0426(0x11f)]:_0x3558fb[_0x1a0426(0x10f)]||_0x3558fb['configurable']))&&(_0x3558fb={'enumerable':!![],'get':function(){return _0x5c6dff[_0x5e7b09];}}),Object['defineProperty'](_0xf85b47,_0xddd7a0,_0x3558fb);}:function(_0x14b6a6,_0x308ef4,_0x50b54e,_0x40fc3c){if(_0x40fc3c===undefined)_0x40fc3c=_0x50b54e;_0x14b6a6[_0x40fc3c]=_0x308ef4[_0x50b54e];}),__setModuleDefault=this&&this[a0_0x1d8f42(0x123)]||(Object['create']?function(_0x486137,_0x58dd02){const _0x2119ee=a0_0x1d8f42;Object[_0x2119ee(0x110)](_0x486137,'default',{'enumerable':!![],'value':_0x58dd02});}:function(_0x2acfde,_0x2aa16f){const _0x4e1e20=a0_0x1d8f42;_0x2acfde[_0x4e1e20(0x11a)]=_0x2aa16f;}),__importStar=this&&this['__importStar']||(function(){var _0x29e3fc=function(_0x4f7afb){return _0x29e3fc=Object['getOwnPropertyNames']||function(_0x199ce6){const _0x3706a4=a0_0x2e8d;var _0x15171f=[];for(var _0x54bad6 in _0x199ce6)if(Object[_0x3706a4(0x124)][_0x3706a4(0x116)][_0x3706a4(0x113)](_0x199ce6,_0x54bad6))_0x15171f[_0x15171f[_0x3706a4(0x128)]]=_0x54bad6;return _0x15171f;},_0x29e3fc(_0x4f7afb);};return function(_0x1e0b79){const _0x583fb7=a0_0x2e8d;if(_0x1e0b79&&_0x1e0b79[_0x583fb7(0x11f)])return _0x1e0b79;var _0x2f582b={};if(_0x1e0b79!=null){for(var _0x1b0531=_0x29e3fc(_0x1e0b79),_0x26ffb1=0x0;_0x26ffb1<_0x1b0531[_0x583fb7(0x128)];_0x26ffb1++)if(_0x1b0531[_0x26ffb1]!=='default')__createBinding(_0x2f582b,_0x1e0b79,_0x1b0531[_0x26ffb1]);}return __setModuleDefault(_0x2f582b,_0x1e0b79),_0x2f582b;};}());Object['defineProperty'](exports,a0_0x1d8f42(0x11f),{'value':!![]}),exports['runMcpProxy']=runMcpProxy;const child_process_1=require(a0_0x1d8f42(0xfa)),readline=__importStar(require('readline')),filters_1=require(a0_0x1d8f42(0xfc)),tracker_1=require(a0_0x1d8f42(0x10e));function runMcpProxy(_0x186bd9,_0x417f66){const _0x42f53d=a0_0x1d8f42,_0xa1ff92=(0x0,child_process_1[_0x42f53d(0x11e)])(_0x186bd9,_0x417f66,{'stdio':['pipe',_0x42f53d(0x101),_0x42f53d(0x10a)]});process[_0x42f53d(0x10b)][_0x42f53d(0x101)](_0xa1ff92[_0x42f53d(0x10b)]);const _0x536217=readline[_0x42f53d(0x118)]({'input':_0xa1ff92[_0x42f53d(0x126)],'terminal':![]});_0x536217['on'](_0x42f53d(0x112),_0x44368e=>{const _0x35cfa2=_0x42f53d;try{const _0x5a7926=JSON['parse'](_0x44368e);if(_0x5a7926&&_0x5a7926[_0x35cfa2(0x125)]===_0x35cfa2(0x11d)&&_0x5a7926['id']!==undefined&&_0x5a7926['result']&&Array['isArray'](_0x5a7926[_0x35cfa2(0x114)][_0x35cfa2(0x122)])){let _0x5daa7d=![];for(const _0x520e1f of _0x5a7926['result'][_0x35cfa2(0x122)]){if(_0x520e1f['type']===_0x35cfa2(0x120)&&typeof _0x520e1f[_0x35cfa2(0x120)]===_0x35cfa2(0x103)&&_0x520e1f[_0x35cfa2(0x120)]['trim']()[_0x35cfa2(0x128)]>0x0){const _0x2c76a3=_0x520e1f[_0x35cfa2(0x120)],_0x50e345=(0x0,filters_1[_0x35cfa2(0x127)])('mcp-tool-call',_0x2c76a3,'',tracker_1[_0x35cfa2(0x111)][_0x35cfa2(0xfd)]()['redaction_enabled']);tracker_1[_0x35cfa2(0x111)][_0x35cfa2(0x108)]('mcp\x20tool\x20(id:\x20'+_0x5a7926['id']+')',_0x2c76a3,_0x50e345,0x0),_0x520e1f[_0x35cfa2(0x120)]=_0x50e345,_0x5daa7d=!![];}}_0x5daa7d?process[_0x35cfa2(0x126)]['write'](JSON[_0x35cfa2(0x10d)](_0x5a7926)+'\x0a'):process['stdout'][_0x35cfa2(0xfe)](_0x44368e+'\x0a');}else process['stdout'][_0x35cfa2(0xfe)](_0x44368e+'\x0a');}catch{process[_0x35cfa2(0x126)][_0x35cfa2(0xfe)](_0x44368e+'\x0a');}}),_0xa1ff92['on'](_0x42f53d(0x106),_0x479684=>{const _0x1673ec=_0x42f53d;process[_0x1673ec(0xff)](_0x479684||0x0);}),_0xa1ff92['on'](_0x42f53d(0x104),_0x2cdaaf=>{const _0x458b79=_0x42f53d;console[_0x458b79(0x104)](_0x458b79(0x107)+_0x2cdaaf[_0x458b79(0x102)]),process[_0x458b79(0xff)](0x1);});}function a0_0x3ba6(){const _0x1b75a1=['message','string','error','4425547tkedWU','close','[TrimPrompt]\x20MCP\x20Server\x20Spawn\x20Error:\x20','logExecution','481617IxFmyV','inherit','stdin','22023zgCRvz','stringify','./tracker','writable','defineProperty','tracker','line','call','result','11271228SjwmPe','hasOwnProperty','__createBinding','createInterface','12CTorPh','default','11DtBDCO','6649528isPnrf','2.0','spawn','__esModule','text','96wqFquy','content','__setModuleDefault','prototype','jsonrpc','stdout','compressOutput','length','856fwDesk','5YpqOFG','child_process','19566Ghjcxu','./filters','getConfig','write','exit','13652380nXGkOi','pipe'];a0_0x3ba6=function(){return _0x1b75a1;};return a0_0x3ba6();}
package/package.json CHANGED
@@ -1,19 +1,29 @@
1
1
  {
2
2
  "name": "trimprompt",
3
- "version": "1.0.20",
3
+ "version": "1.0.22",
4
4
  "description": "TrimPrompt — Save 80% on LLM tokens. Zero-config CLI proxy for AI coding agents",
5
+ "keywords": [
6
+ "llm",
7
+ "tokens",
8
+ "claude",
9
+ "cursor",
10
+ "copilot",
11
+ "compress",
12
+ "proxy",
13
+ "cli",
14
+ "agent",
15
+ "save",
16
+ "cost",
17
+ "security",
18
+ "secrets",
19
+ "redact",
20
+ "CSA"
21
+ ],
5
22
  "main": "cli.js",
6
23
  "bin": {
7
24
  "trim": "cli.js"
8
25
  },
9
- "repository": {
10
- "type": "git",
11
- "url": "git+https://github.com/trimprompt/trimprompt.git"
12
- },
13
- "bugs": {
14
- "url": "https://github.com/trimprompt/trimprompt/issues"
15
- },
16
- "homepage": "https://github.com/trimprompt/trimprompt#readme",
26
+ "homepage": "https://trimprompt.ai",
17
27
  "scripts": {
18
28
  "postinstall": "node cli.js shims install || true"
19
29
  },
package/redactor.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x390c48=a0_0x33f5;(function(_0x1f73b9,_0xd5537a){const _0x289969=a0_0x33f5,_0x577b8b=_0x1f73b9();while(!![]){try{const _0x307613=-parseInt(_0x289969(0x1ad))/0x1*(-parseInt(_0x289969(0x1b3))/0x2)+parseInt(_0x289969(0x1b4))/0x3+-parseInt(_0x289969(0x199))/0x4+parseInt(_0x289969(0x197))/0x5+-parseInt(_0x289969(0x1a8))/0x6+parseInt(_0x289969(0x1b2))/0x7*(-parseInt(_0x289969(0x1c8))/0x8)+parseInt(_0x289969(0x1b6))/0x9;if(_0x307613===_0xd5537a)break;else _0x577b8b['push'](_0x577b8b['shift']());}catch(_0x5581af){_0x577b8b['push'](_0x577b8b['shift']());}}}(a0_0x26b0,0xe9f44));Object['defineProperty'](exports,a0_0x390c48(0x1b8),{'value':!![]}),exports[a0_0x390c48(0x19e)]=exports[a0_0x390c48(0x19f)]=void 0x0;function a0_0x33f5(_0x1aafb6,_0x344a1b){_0x1aafb6=_0x1aafb6-0x197;const _0x26b025=a0_0x26b0();let _0x33f5a6=_0x26b025[_0x1aafb6];return _0x33f5a6;}function a0_0x26b0(){const _0x16beb8=['redactor','Redactor','bearer','\x22private_key\x22:\x20\x22[REDACTED_GCP_PRIVATE_KEY]\x22','jwt','[REDACTED_SENDGRID_KEY]','includes','[REDACTED_AZURE_CONNECTION]','aws_secret','match','8065944riIcBN','IPv4\x20Address\x20(non-local)','Generic\x20API\x20Key/Secret/Password','db_connection','GitHub\x20Token','1166653NZDyrs','text','email','rules','Basic\x20[REDACTED_AUTH]','4694242HemLzR','2LPEeXm','3358026LfMaok','redactWithAudit','8547669mXwCVM','[REDACTED_IP]','__esModule','azure_conn','regex','Private\x20Key\x20Block','OpenAI\x20API\x20Key','loadDefaultRules','type','replace','[REDACTED_AWS_KEY]','length','[REDACTED_DB_CONNECTION]','stripe_key','redact','[REDACTED_SLACK_TOKEN]','Basic\x20Auth','Anthropic\x20API\x20Key','16znETEX','Azure\x20Connection\x20String','alert','[REDACTED_TWILIO_KEY]','Twilio\x20Key','replacement','ip_address','gcp_key','Bearer\x20Token','$1=[REDACTED_AWS_SECRET]','Bearer\x20[REDACTED_TOKEN]','2712695rNjKDJ','AWS\x20Secret\x20Key','537852DIDQhs','push','generic_credential','Database\x20Connection\x20String','Stripe\x20Key'];a0_0x26b0=function(){return _0x16beb8;};return a0_0x26b0();}class Redactor{[a0_0x390c48(0x1b0)]=[];constructor(){const _0x24085e=a0_0x390c48;this[_0x24085e(0x1bd)]();}['loadDefaultRules'](){const _0xf18596=a0_0x390c48;this[_0xf18596(0x1b0)]=[{'name':'AWS\x20Access\x20Key','type':'aws_key','regex':/\b(AKIA[0-9A-Z]{16})\b/g,'replacement':_0xf18596(0x1c0)},{'name':_0xf18596(0x198),'type':_0xf18596(0x1a6),'regex':/(aws_secret_access_key|AWS_SECRET_ACCESS_KEY)[\s:=]+[A-Za-z0-9/+=]{30,}/gi,'replacement':_0xf18596(0x1d1)},{'name':'GCP\x20Service\x20Account\x20Key','type':_0xf18596(0x1cf),'regex':/"private_key"\s*:\s*"-----BEGIN[^"]+-----END[^"]*"/g,'replacement':_0xf18596(0x1a1)},{'name':_0xf18596(0x1c9),'type':_0xf18596(0x1b9),'regex':/DefaultEndpointsProtocol=https?;AccountName=[^;]+;AccountKey=[^;]+;?[^\s]*/gi,'replacement':_0xf18596(0x1a5)},{'name':_0xf18596(0x1c7),'type':'anthropic_key','regex':/\bsk-ant-api\d{2}-[A-Za-z0-9_-]{20,}\b/g,'replacement':'[REDACTED_ANTHROPIC_KEY]'},{'name':_0xf18596(0x1bc),'type':'openai_key','regex':/\b(sk-proj-[A-Za-z0-9_-]{20,}|sk-[A-Za-z0-9]{32,})\b/g,'replacement':'[REDACTED_OPENAI_KEY]'},{'name':_0xf18596(0x1ac),'type':'github_token','regex':/\b(ghp_[A-Za-z0-9]{20,}|gho_[A-Za-z0-9]{20,}|github_pat_[A-Za-z0-9_]{22,})\b/g,'replacement':'[REDACTED_GITHUB_TOKEN]'},{'name':'Slack\x20Token','type':'slack_token','regex':/\b(xoxb-[0-9A-Za-z-]+|xoxp-[0-9A-Za-z-]+|xapp-[0-9A-Za-z-]+)\b/g,'replacement':_0xf18596(0x1c5)},{'name':_0xf18596(0x19d),'type':_0xf18596(0x1c3),'regex':/\b(sk_live_[A-Za-z0-9]{24,}|sk_test_[A-Za-z0-9]{24,}|rk_live_[A-Za-z0-9]{24,}|rk_test_[A-Za-z0-9]{24,})\b/g,'replacement':'[REDACTED_STRIPE_KEY]'},{'name':_0xf18596(0x1cc),'type':'twilio_key','regex':/\bSK[0-9a-f]{32}\b/g,'replacement':_0xf18596(0x1cb)},{'name':'SendGrid\x20Key','type':'sendgrid_key','regex':/\bSG\.[A-Za-z0-9_-]{22,}\.[A-Za-z0-9_-]{22,}\b/g,'replacement':_0xf18596(0x1a3)},{'name':_0xf18596(0x1bb),'type':'private_key','regex':/-----BEGIN\s+(RSA|EC|DSA|ED25519|OPENSSH|PGP)?\s*PRIVATE KEY-----[\s\S]*?-----END\s+(RSA|EC|DSA|ED25519|OPENSSH|PGP)?\s*PRIVATE KEY-----/g,'replacement':'[REDACTED_PRIVATE_KEY]'},{'name':'JWT\x20Token','type':_0xf18596(0x1a2),'regex':/\beyJ[A-Za-z0-9_-]{10,}\.eyJ[A-Za-z0-9_-]{10,}\.[A-Za-z0-9_-]{10,}\b/g,'replacement':'[REDACTED_JWT]'},{'name':_0xf18596(0x1d0),'type':_0xf18596(0x1a0),'regex':/Bearer\s+[A-Za-z0-9_\-.]{20,}/gi,'replacement':_0xf18596(0x1d2)},{'name':_0xf18596(0x1c6),'type':'basic_auth','regex':/Basic\s+[A-Za-z0-9+/=]{10,}/gi,'replacement':_0xf18596(0x1b1)},{'name':_0xf18596(0x19c),'type':_0xf18596(0x1ab),'regex':/(mongodb(\+srv)?|postgres|postgresql|mysql|redis|amqp|sqlite):\/\/[A-Za-z0-9_]+:[^@\s\n]+@[^\s\n]+/gi,'replacement':_0xf18596(0x1c2)},{'name':_0xf18596(0x1aa),'type':_0xf18596(0x19b),'regex':/(api[_-]?key|secret[_-]?key|password|passwd|auth[_-]?token|private[_-]?key|access[_-]?token|refresh[_-]?token|client[_-]?secret)[\s:="']+[A-Za-z0-9_\-./+=]{16,}/gi,'replacement':'$1=[REDACTED_CREDENTIAL]'},{'name':_0xf18596(0x1a9),'type':_0xf18596(0x1ce),'regex':/\b(?!127\.0\.0\.1|0\.0\.0\.0|255\.255\.255\.0|10\.\d|172\.(1[6-9]|2\d|3[01])\.|192\.168\.)(?:[0-9]{1,3}\.){3}[0-9]{1,3}\b/g,'replacement':_0xf18596(0x1b7),'alert':![]},{'name':'Email\x20Address','type':_0xf18596(0x1af),'regex':/\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b/g,'replacement':'[REDACTED_EMAIL]','alert':![]}];}[a0_0x390c48(0x1c4)](_0x156bfb){const _0xce5614=a0_0x390c48;return this[_0xce5614(0x1b5)](_0x156bfb)[_0xce5614(0x1ae)];}[a0_0x390c48(0x1b5)](_0x352028){const _0x1bbc99=a0_0x390c48;let _0x517d7b=_0x352028,_0x2f3178=0x0;const _0x5f3ea2=[];for(const _0x4836d7 of this['rules']){const _0xb822fb=_0x517d7b[_0x1bbc99(0x1a7)](_0x4836d7[_0x1bbc99(0x1ba)]);_0xb822fb&&_0xb822fb[_0x1bbc99(0x1c1)]>0x0&&(_0x4836d7[_0x1bbc99(0x1ca)]!==![]&&(_0x2f3178+=_0xb822fb['length'],!_0x5f3ea2[_0x1bbc99(0x1a4)](_0x4836d7[_0x1bbc99(0x1be)])&&_0x5f3ea2[_0x1bbc99(0x19a)](_0x4836d7[_0x1bbc99(0x1be)])),_0x517d7b=_0x517d7b[_0x1bbc99(0x1bf)](_0x4836d7[_0x1bbc99(0x1ba)],_0x4836d7[_0x1bbc99(0x1cd)]));}return{'text':_0x517d7b,'secretsFound':_0x2f3178,'secretTypes':_0x5f3ea2};}}exports[a0_0x390c48(0x19f)]=Redactor,exports[a0_0x390c48(0x19e)]=new Redactor();
1
+ 'use strict';function a0_0xdc94(_0x3ca85a,_0x13f23b){_0x3ca85a=_0x3ca85a-0x1df;const _0x52140f=a0_0x5214();let _0xdc94b3=_0x52140f[_0x3ca85a];return _0xdc94b3;}const a0_0x36e270=a0_0xdc94;(function(_0x488131,_0x3ae511){const _0x411cb2=a0_0xdc94,_0x588da1=_0x488131();while(!![]){try{const _0x5ee0df=parseInt(_0x411cb2(0x1e0))/0x1+parseInt(_0x411cb2(0x223))/0x2*(parseInt(_0x411cb2(0x21e))/0x3)+parseInt(_0x411cb2(0x1eb))/0x4+-parseInt(_0x411cb2(0x1fc))/0x5*(parseInt(_0x411cb2(0x1f1))/0x6)+parseInt(_0x411cb2(0x220))/0x7*(parseInt(_0x411cb2(0x1ea))/0x8)+parseInt(_0x411cb2(0x224))/0x9+-parseInt(_0x411cb2(0x215))/0xa*(parseInt(_0x411cb2(0x1e9))/0xb);if(_0x5ee0df===_0x3ae511)break;else _0x588da1['push'](_0x588da1['shift']());}catch(_0x56e01b){_0x588da1['push'](_0x588da1['shift']());}}}(a0_0x5214,0x854c2));Object[a0_0x36e270(0x1f5)](exports,a0_0x36e270(0x1f9),{'value':!![]}),exports[a0_0x36e270(0x1f8)]=exports[a0_0x36e270(0x20c)]=void 0x0;function a0_0x5214(){const _0x174106=['[REDACTED_EMAIL]','[REDACTED_ANTHROPIC_KEY]','aws_key','aws_secret','22KHpHWq','152HuoEQy','4210820BlLGgV','[REDACTED_AWS_KEY]','[REDACTED_STRIPE_KEY]','[REDACTED_PRIVATE_KEY]','redact','Private\x20Key\x20Block','3187218iIextE','gcp_key','text','OpenAI\x20API\x20Key','defineProperty','openai_key','length','redactor','__esModule','Basic\x20[REDACTED_AUTH]','IPv4\x20Address\x20(non-local)','5YVWuRy','[REDACTED_DB_CONNECTION]','Database\x20Connection\x20String','github_token','Anthropic\x20API\x20Key','replacement','jwt','[REDACTED_OPENAI_KEY]','Stripe\x20Key','[REDACTED_AZURE_CONNECTION]','[REDACTED_IP]','regex','private_key','Generic\x20API\x20Key/Secret/Password','azure_conn','stripe_key','Redactor','Email\x20Address','GCP\x20Service\x20Account\x20Key','Azure\x20Connection\x20String','redactWithAudit','alert','slack_token','db_connection','\x22private_key\x22:\x20\x22[REDACTED_GCP_PRIVATE_KEY]\x22','9262060vXpRfC','email','bearer','JWT\x20Token','rules','twilio_key','type','push','[REDACTED_JWT]','11703dpIlOn','SendGrid\x20Key','1729hRqMlK','$1=[REDACTED_AWS_SECRET]','sendgrid_key','514fQJjCl','2596950hGbpOA','match','581096ZSthYz','$1=[REDACTED_CREDENTIAL]','loadDefaultRules','GitHub\x20Token','[REDACTED_SLACK_TOKEN]'];a0_0x5214=function(){return _0x174106;};return a0_0x5214();}class Redactor{[a0_0x36e270(0x219)]=[];constructor(){const _0x5101be=a0_0x36e270;this[_0x5101be(0x1e2)]();}[a0_0x36e270(0x1e2)](){const _0xf24df6=a0_0x36e270;this['rules']=[{'name':'AWS\x20Access\x20Key','type':_0xf24df6(0x1e7),'regex':/\b(AKIA[0-9A-Z]{16})\b/g,'replacement':_0xf24df6(0x1ec)},{'name':'AWS\x20Secret\x20Key','type':_0xf24df6(0x1e8),'regex':/(aws_secret_access_key|AWS_SECRET_ACCESS_KEY)[\s:=]+[A-Za-z0-9/+=]{30,}/gi,'replacement':_0xf24df6(0x221)},{'name':_0xf24df6(0x20e),'type':_0xf24df6(0x1f2),'regex':/"private_key"\s*:\s*"-----BEGIN[^"]+-----END[^"]*"/g,'replacement':_0xf24df6(0x214)},{'name':_0xf24df6(0x20f),'type':_0xf24df6(0x20a),'regex':/DefaultEndpointsProtocol=https?;AccountName=[^;]+;AccountKey=[^;]+;?[^\s]*/gi,'replacement':_0xf24df6(0x205)},{'name':_0xf24df6(0x200),'type':'anthropic_key','regex':/\bsk-ant-api\d{2}-[A-Za-z0-9_-]{20,}\b/g,'replacement':_0xf24df6(0x1e6)},{'name':_0xf24df6(0x1f4),'type':_0xf24df6(0x1f6),'regex':/\b(sk-proj-[A-Za-z0-9_-]{20,}|sk-[A-Za-z0-9]{32,})\b/g,'replacement':_0xf24df6(0x203)},{'name':_0xf24df6(0x1e3),'type':_0xf24df6(0x1ff),'regex':/\b(ghp_[A-Za-z0-9]{20,}|gho_[A-Za-z0-9]{20,}|github_pat_[A-Za-z0-9_]{22,})\b/g,'replacement':'[REDACTED_GITHUB_TOKEN]'},{'name':'Slack\x20Token','type':_0xf24df6(0x212),'regex':/\b(xoxb-[0-9A-Za-z-]+|xoxp-[0-9A-Za-z-]+|xapp-[0-9A-Za-z-]+)\b/g,'replacement':_0xf24df6(0x1e4)},{'name':_0xf24df6(0x204),'type':_0xf24df6(0x20b),'regex':/\b(sk_live_[A-Za-z0-9]{24,}|sk_test_[A-Za-z0-9]{24,}|rk_live_[A-Za-z0-9]{24,}|rk_test_[A-Za-z0-9]{24,})\b/g,'replacement':_0xf24df6(0x1ed)},{'name':'Twilio\x20Key','type':_0xf24df6(0x21a),'regex':/\bSK[0-9a-f]{32}\b/g,'replacement':'[REDACTED_TWILIO_KEY]'},{'name':_0xf24df6(0x21f),'type':_0xf24df6(0x222),'regex':/\bSG\.[A-Za-z0-9_-]{22,}\.[A-Za-z0-9_-]{22,}\b/g,'replacement':'[REDACTED_SENDGRID_KEY]'},{'name':_0xf24df6(0x1f0),'type':_0xf24df6(0x208),'regex':/-----BEGIN\s+(RSA|EC|DSA|ED25519|OPENSSH|PGP)?\s*PRIVATE KEY-----[\s\S]*?-----END\s+(RSA|EC|DSA|ED25519|OPENSSH|PGP)?\s*PRIVATE KEY-----/g,'replacement':_0xf24df6(0x1ee)},{'name':_0xf24df6(0x218),'type':_0xf24df6(0x202),'regex':/\beyJ[A-Za-z0-9_-]{10,}\.eyJ[A-Za-z0-9_-]{10,}\.[A-Za-z0-9_-]{10,}\b/g,'replacement':_0xf24df6(0x21d)},{'name':'Bearer\x20Token','type':_0xf24df6(0x217),'regex':/Bearer\s+[A-Za-z0-9_\-.]{20,}/gi,'replacement':'Bearer\x20[REDACTED_TOKEN]'},{'name':'Basic\x20Auth','type':'basic_auth','regex':/Basic\s+[A-Za-z0-9+/=]{10,}/gi,'replacement':_0xf24df6(0x1fa)},{'name':_0xf24df6(0x1fe),'type':_0xf24df6(0x213),'regex':/(mongodb(\+srv)?|postgres|postgresql|mysql|redis|amqp|sqlite):\/\/[A-Za-z0-9_]+:[^@\s\n]+@[^\s\n]+/gi,'replacement':_0xf24df6(0x1fd)},{'name':_0xf24df6(0x209),'type':'generic_credential','regex':/(api[_-]?key|secret[_-]?key|password|passwd|auth[_-]?token|private[_-]?key|access[_-]?token|refresh[_-]?token|client[_-]?secret)[\s:="']+[A-Za-z0-9_\-./+=]{16,}/gi,'replacement':_0xf24df6(0x1e1)},{'name':_0xf24df6(0x1fb),'type':'ip_address','regex':/\b(?!127\.0\.0\.1|0\.0\.0\.0|255\.255\.255\.0|10\.\d|172\.(1[6-9]|2\d|3[01])\.|192\.168\.)(?:[0-9]{1,3}\.){3}[0-9]{1,3}\b/g,'replacement':_0xf24df6(0x206),'alert':![]},{'name':_0xf24df6(0x20d),'type':_0xf24df6(0x216),'regex':/\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b/g,'replacement':_0xf24df6(0x1e5),'alert':![]}];}[a0_0x36e270(0x1ef)](_0x217ffb){const _0x5ead99=a0_0x36e270;return this[_0x5ead99(0x210)](_0x217ffb)[_0x5ead99(0x1f3)];}[a0_0x36e270(0x210)](_0x2d50ae){const _0x55733a=a0_0x36e270;let _0x2bfcfb=_0x2d50ae,_0x51248d=0x0;const _0x241365=[];for(const _0x5e9442 of this[_0x55733a(0x219)]){const _0x531562=_0x2bfcfb[_0x55733a(0x1df)](_0x5e9442[_0x55733a(0x207)]);_0x531562&&_0x531562['length']>0x0&&(_0x5e9442[_0x55733a(0x211)]!==![]&&(_0x51248d+=_0x531562[_0x55733a(0x1f7)],!_0x241365['includes'](_0x5e9442[_0x55733a(0x21b)])&&_0x241365[_0x55733a(0x21c)](_0x5e9442[_0x55733a(0x21b)])),_0x2bfcfb=_0x2bfcfb['replace'](_0x5e9442['regex'],_0x5e9442[_0x55733a(0x201)]));}return{'text':_0x2bfcfb,'secretsFound':_0x51248d,'secretTypes':_0x241365};}}exports[a0_0x36e270(0x20c)]=Redactor,exports['redactor']=new Redactor();
package/seed.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x24d498=a0_0xb06f;(function(_0x3795cc,_0x66eebe){const _0x58f866=a0_0xb06f,_0x5bc7bc=_0x3795cc();while(!![]){try{const _0x13681a=parseInt(_0x58f866(0x154))/0x1+parseInt(_0x58f866(0x14e))/0x2+parseInt(_0x58f866(0x155))/0x3*(-parseInt(_0x58f866(0x14b))/0x4)+-parseInt(_0x58f866(0x153))/0x5+-parseInt(_0x58f866(0x148))/0x6+-parseInt(_0x58f866(0x15d))/0x7+-parseInt(_0x58f866(0x150))/0x8*(-parseInt(_0x58f866(0x149))/0x9);if(_0x13681a===_0x66eebe)break;else _0x5bc7bc['push'](_0x5bc7bc['shift']());}catch(_0x208b06){_0x5bc7bc['push'](_0x5bc7bc['shift']());}}}(a0_0x1205,0x807e8));function a0_0x1205(){const _0x5132d1=['test_db.py\x20PASS\x0a','1520260XCRrpK','Optimizing\x20assets...\x0a','4000MRskID','docker\x20build\x20.','All\x20303\x20tests\x20passed\x20in\x204.22s.','4268155lTEkWc','971201Rpdfkq','3qasoCt','[INFO]\x20Building\x20modules...\x0a','log','pytest\x20app:\x20303\x20tests\x20passed\x20in\x204.22s.','repeat','__esModule','gemini-1-5-pro','Step\x202/10\x20:\x20COPY\x20package.json\x20.\x0a','1661240OQFQbr','Successfully\x20built\x20image.','test_api.py\x20PASS\x0a','Step\x201/10\x20:\x20FROM\x20node:20\x0a','tracker','defineProperty','Compilation\x20Output:\x0a','[SUCCESS]\x20Compiled\x20512\x20modules.\x0a','test_auth.py\x20PASS\x0a','claude-3-opus','logExecution','npm\x20run\x20build','303606qtvfMr','6435Eptgth','pytest\x20tests/app','1683868IRvWuT','Step\x203/10\x20:\x20RUN\x20npm\x20install\x0a'];a0_0x1205=function(){return _0x5132d1;};return a0_0x1205();}function a0_0xb06f(_0x4f5fa7,_0x4aea90){_0x4f5fa7=_0x4f5fa7-0x147;const _0x120574=a0_0x1205();let _0xb06fda=_0x120574[_0x4f5fa7];return _0xb06fda;}Object[a0_0x24d498(0x162)](exports,a0_0x24d498(0x15a),{'value':!![]});const tracker_1=require('./tracker');console[a0_0x24d498(0x157)]('Seeding\x20TrimPrompt\x20database\x20with\x20mock\x20LLM\x20command\x20telemetry...'),process.env.TRIMPROMPT_MODEL=a0_0x24d498(0x166),tracker_1[a0_0x24d498(0x161)][a0_0x24d498(0x167)](a0_0x24d498(0x147),a0_0x24d498(0x163)+a0_0x24d498(0x156)+a0_0x24d498(0x14f)+a0_0x24d498(0x164)[a0_0x24d498(0x159)](0x190),'[INFO]\x20Building\x20modules...\x0a[SUCCESS]\x20Compiled\x20512\x20modules.\x20(repeated\x20400\x20times)',0x0),process.env.TRIMPROMPT_MODEL='gpt-4o',tracker_1[a0_0x24d498(0x161)][a0_0x24d498(0x167)](a0_0x24d498(0x14a),'Test\x20suite\x20run\x20starting...\x0a'+a0_0x24d498(0x165)+a0_0x24d498(0x14d)+a0_0x24d498(0x15f)[a0_0x24d498(0x159)](0x12c)+a0_0x24d498(0x152),a0_0x24d498(0x158),0x0),process.env.TRIMPROMPT_MODEL=a0_0x24d498(0x15b),tracker_1[a0_0x24d498(0x161)][a0_0x24d498(0x167)](a0_0x24d498(0x151),'Sending\x20build\x20context\x20to\x20Docker\x20daemon...\x0a'+a0_0x24d498(0x160)+a0_0x24d498(0x15c)+a0_0x24d498(0x14c)+'added\x201420\x20packages\x20in\x2014s\x0a'['repeat'](0x3)+a0_0x24d498(0x15e),'docker\x20build:\x201420\x20packages\x20added.\x20Successfully\x20built\x20image.',0x0),console[a0_0x24d498(0x157)]('Database\x20successfully\x20seeded!');
1
+ 'use strict';const a0_0x5b2b7c=a0_0xb769;function a0_0x4c93(){const _0x39dac3=['defineProperty','64376TJALnw','Step\x201/10\x20:\x20FROM\x20node:20\x0a','./tracker','[INFO]\x20Building\x20modules...\x0a','Optimizing\x20assets...\x0a','Step\x202/10\x20:\x20COPY\x20package.json\x20.\x0a','578028yueCgX','48725wvhzgj','1024100WgbYBY','All\x20303\x20tests\x20passed\x20in\x204.22s.','Database\x20successfully\x20seeded!','test_db.py\x20PASS\x0a','pytest\x20tests/app','279GanCLD','[INFO]\x20Building\x20modules...\x0a[SUCCESS]\x20Compiled\x20512\x20modules.\x20(repeated\x20400\x20times)','test_api.py\x20PASS\x0a','1062laBXue','test_auth.py\x20PASS\x0a','851744rxEWCU','[SUCCESS]\x20Compiled\x20512\x20modules.\x0a','added\x201420\x20packages\x20in\x2014s\x0a','claude-3-opus','docker\x20build:\x201420\x20packages\x20added.\x20Successfully\x20built\x20image.','400pYKszt','tracker','docker\x20build\x20.','log','repeat','Step\x203/10\x20:\x20RUN\x20npm\x20install\x0a','npm\x20run\x20build','Test\x20suite\x20run\x20starting...\x0a','logExecution','190376QlicoT','__esModule','Seeding\x20TrimPrompt\x20database\x20with\x20mock\x20LLM\x20command\x20telemetry...'];a0_0x4c93=function(){return _0x39dac3;};return a0_0x4c93();}(function(_0x4f7896,_0x4e8c7c){const _0x1233f2=a0_0xb769,_0x1c97a0=_0x4f7896();while(!![]){try{const _0x153642=-parseInt(_0x1233f2(0xe7))/0x1+-parseInt(_0x1233f2(0xe0))/0x2+-parseInt(_0x1233f2(0xe6))/0x3+-parseInt(_0x1233f2(0xce))/0x4+parseInt(_0x1233f2(0xd3))/0x5*(parseInt(_0x1233f2(0xcc))/0x6)+-parseInt(_0x1233f2(0xe8))/0x7+-parseInt(_0x1233f2(0xdc))/0x8*(-parseInt(_0x1233f2(0xc9))/0x9);if(_0x153642===_0x4e8c7c)break;else _0x1c97a0['push'](_0x1c97a0['shift']());}catch(_0xe9ad9e){_0x1c97a0['push'](_0x1c97a0['shift']());}}}(a0_0x4c93,0x1d102));Object[a0_0x5b2b7c(0xdf)](exports,a0_0x5b2b7c(0xdd),{'value':!![]});function a0_0xb769(_0x1ac918,_0x5be0be){_0x1ac918=_0x1ac918-0xc9;const _0x4c9356=a0_0x4c93();let _0xb76990=_0x4c9356[_0x1ac918];return _0xb76990;}const tracker_1=require(a0_0x5b2b7c(0xe2));console[a0_0x5b2b7c(0xd6)](a0_0x5b2b7c(0xde)),process.env.TRIMPROMPT_MODEL=a0_0x5b2b7c(0xd1),tracker_1[a0_0x5b2b7c(0xd4)][a0_0x5b2b7c(0xdb)](a0_0x5b2b7c(0xd9),'Compilation\x20Output:\x0a'+a0_0x5b2b7c(0xe3)+a0_0x5b2b7c(0xe4)+a0_0x5b2b7c(0xcf)[a0_0x5b2b7c(0xd7)](0x190),a0_0x5b2b7c(0xca),0x0),process.env.TRIMPROMPT_MODEL='gpt-4o',tracker_1[a0_0x5b2b7c(0xd4)]['logExecution'](a0_0x5b2b7c(0xec),a0_0x5b2b7c(0xda)+a0_0x5b2b7c(0xcd)+a0_0x5b2b7c(0xeb)+a0_0x5b2b7c(0xcb)[a0_0x5b2b7c(0xd7)](0x12c)+a0_0x5b2b7c(0xe9),'pytest\x20app:\x20303\x20tests\x20passed\x20in\x204.22s.',0x0),process.env.TRIMPROMPT_MODEL='gemini-1-5-pro',tracker_1[a0_0x5b2b7c(0xd4)][a0_0x5b2b7c(0xdb)](a0_0x5b2b7c(0xd5),'Sending\x20build\x20context\x20to\x20Docker\x20daemon...\x0a'+a0_0x5b2b7c(0xe1)+a0_0x5b2b7c(0xe5)+a0_0x5b2b7c(0xd8)+a0_0x5b2b7c(0xd0)['repeat'](0x3)+'Successfully\x20built\x20image.',a0_0x5b2b7c(0xd2),0x0),console[a0_0x5b2b7c(0xd6)](a0_0x5b2b7c(0xea));
package/shims.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x370065=a0_0x1b8e;(function(_0x38d90b,_0x17f24e){const _0x458022=a0_0x1b8e,_0x3ad971=_0x38d90b();while(!![]){try{const _0x67fa30=-parseInt(_0x458022(0xcb))/0x1*(parseInt(_0x458022(0xe2))/0x2)+-parseInt(_0x458022(0x97))/0x3*(parseInt(_0x458022(0x9e))/0x4)+parseInt(_0x458022(0x81))/0x5*(-parseInt(_0x458022(0xbf))/0x6)+parseInt(_0x458022(0xac))/0x7*(parseInt(_0x458022(0x70))/0x8)+-parseInt(_0x458022(0xa1))/0x9+parseInt(_0x458022(0xbb))/0xa*(parseInt(_0x458022(0xe3))/0xb)+parseInt(_0x458022(0x7b))/0xc*(parseInt(_0x458022(0xc5))/0xd);if(_0x67fa30===_0x17f24e)break;else _0x3ad971['push'](_0x3ad971['shift']());}catch(_0x15be6d){_0x3ad971['push'](_0x3ad971['shift']());}}}(a0_0x4566,0x8905c));var __createBinding=this&&this[a0_0x370065(0xcf)]||(Object['create']?function(_0x56b233,_0xb4dacb,_0x3bd987,_0x46eefd){const _0x169935=a0_0x370065;if(_0x46eefd===undefined)_0x46eefd=_0x3bd987;var _0x292654=Object[_0x169935(0xbe)](_0xb4dacb,_0x3bd987);(!_0x292654||(_0x169935(0x87)in _0x292654?!_0xb4dacb[_0x169935(0x6d)]:_0x292654[_0x169935(0xd6)]||_0x292654['configurable']))&&(_0x292654={'enumerable':!![],'get':function(){return _0xb4dacb[_0x3bd987];}}),Object['defineProperty'](_0x56b233,_0x46eefd,_0x292654);}:function(_0x50f0ff,_0x2bbdf0,_0x51c79e,_0x3c9d98){if(_0x3c9d98===undefined)_0x3c9d98=_0x51c79e;_0x50f0ff[_0x3c9d98]=_0x2bbdf0[_0x51c79e];}),__setModuleDefault=this&&this['__setModuleDefault']||(Object['create']?function(_0x4b2e00,_0x50bbc7){const _0x92daf8=a0_0x370065;Object[_0x92daf8(0x88)](_0x4b2e00,_0x92daf8(0xb8),{'enumerable':!![],'value':_0x50bbc7});}:function(_0x2f4e24,_0x53b3f3){const _0x554127=a0_0x370065;_0x2f4e24[_0x554127(0xb8)]=_0x53b3f3;}),__importStar=this&&this[a0_0x370065(0xd0)]||(function(){var _0x2a098f=function(_0x34535f){return _0x2a098f=Object['getOwnPropertyNames']||function(_0x364b04){const _0x2b2237=a0_0x1b8e;var _0x17a3b5=[];for(var _0x1cbd1c in _0x364b04)if(Object[_0x2b2237(0xe6)][_0x2b2237(0x7f)][_0x2b2237(0x99)](_0x364b04,_0x1cbd1c))_0x17a3b5[_0x17a3b5[_0x2b2237(0xca)]]=_0x1cbd1c;return _0x17a3b5;},_0x2a098f(_0x34535f);};return function(_0x1a7b08){const _0x4c310f=a0_0x1b8e;if(_0x1a7b08&&_0x1a7b08[_0x4c310f(0x6d)])return _0x1a7b08;var _0x1686cc={};if(_0x1a7b08!=null){for(var _0x1759e9=_0x2a098f(_0x1a7b08),_0x5c6912=0x0;_0x5c6912<_0x1759e9['length'];_0x5c6912++)if(_0x1759e9[_0x5c6912]!==_0x4c310f(0xb8))__createBinding(_0x1686cc,_0x1a7b08,_0x1759e9[_0x5c6912]);}return __setModuleDefault(_0x1686cc,_0x1a7b08),_0x1686cc;};}());Object[a0_0x370065(0x88)](exports,a0_0x370065(0x6d),{'value':!![]}),exports[a0_0x370065(0x6e)]=installShims,exports[a0_0x370065(0x92)]=uninstallShims;const fs=__importStar(require('fs')),path=__importStar(require(a0_0x370065(0xc9))),os=__importStar(require('os')),SHIMMED_COMMANDS=['ls',a0_0x370065(0xe9),a0_0x370065(0xc6),a0_0x370065(0xa6),'grep','rg',a0_0x370065(0x79),a0_0x370065(0xb4),'gh',a0_0x370065(0x7a),a0_0x370065(0x7d),a0_0x370065(0xa4),'pnpm',a0_0x370065(0x9f),a0_0x370065(0xdd),'kubectl',a0_0x370065(0x75),a0_0x370065(0xc0),'pip',a0_0x370065(0x8d),'go',a0_0x370065(0xd2)],PROFILE_MARKER=a0_0x370065(0xa3);function getExecSync(){const _0x33c397=a0_0x370065;return require(_0x33c397(0x9a))[_0x33c397(0xab)];}function getExecFileSync(){const _0x2c048a=a0_0x370065;return require(_0x2c048a(0x9a))['execFileSync'];}function ensureProfileContains(_0x3d2d82,_0x131424,_0x199fba){const _0x57f0ef=a0_0x370065;try{const _0x39e661=path[_0x57f0ef(0xd9)](_0x3d2d82);!fs[_0x57f0ef(0x80)](_0x39e661)&&fs[_0x57f0ef(0xce)](_0x39e661,{'recursive':!![]});if(fs[_0x57f0ef(0x80)](_0x3d2d82)){const _0x18fe0b=fs[_0x57f0ef(0xd1)](_0x3d2d82,_0x57f0ef(0xa2));if(_0x18fe0b['includes'](_0x131424))return;fs['appendFileSync'](_0x3d2d82,_0x199fba,_0x57f0ef(0xa2));}else fs['writeFileSync'](_0x3d2d82,_0x199fba,_0x57f0ef(0xa2));}catch{}}function removeProfileBlock(_0x2a9dbc,_0x43e2dc){const _0x124304=a0_0x370065;try{if(!fs[_0x124304(0x80)](_0x2a9dbc))return;const _0x5c4100=fs['readFileSync'](_0x2a9dbc,_0x124304(0xa2));if(!_0x5c4100['includes'](_0x43e2dc))return;const _0x571569=_0x5c4100['split']('\x0a'),_0x984bb9=[];let _0x41989f=![];for(let _0xf28bf9=0x0;_0xf28bf9<_0x571569[_0x124304(0xca)];_0xf28bf9++){if(_0x571569[_0xf28bf9]['includes'](_0x43e2dc)){_0x41989f=!![];continue;}if(_0x41989f){_0x41989f=![];continue;}_0x984bb9[_0x124304(0x6f)](_0x571569[_0xf28bf9]);}const _0x170d89=_0x984bb9['join']('\x0a')[_0x124304(0x7e)](/\n{3,}/g,'\x0a\x0a');fs['writeFileSync'](_0x2a9dbc,_0x170d89,_0x124304(0xa2));}catch{}}function a0_0x4566(){const _0x4d8516=['pipe','\x22\x20set\x20\x22PATH=','[Environment]::SetEnvironmentVariable(\x27PATH\x27,\x20\x27','get','defineProperty','TrimPrompt\x20shims\x20fully\x20uninstalled.\x20All\x20PATH\x20modifications,\x20shell\x20profiles,\x20and\x20registry\x20entries\x20have\x20been\x20cleaned\x20up.',';%PATH%\x22','win32','Remove-ItemProperty\x20-Path\x20\x27','pip3','.trimprompt','Set-ItemProperty\x20-Path\x20\x27','writeFileSync','try\x20{\x20(Get-ItemProperty\x20-Path\x20\x27','uninstallShims',')\x20else\x20(','pwsh\x20-NoProfile\x20-Command\x20\x22exit\x200\x22','\x20\x20set\x20\x22PATH=%PATH:','$sig\x20=\x20\x27[DllImport(\x5c\x22user32.dll\x5c\x22,\x20SetLastError\x20=\x20true,\x20CharSet\x20=\x20CharSet.Auto)]\x20public\x20static\x20extern\x20IntPtr\x20SendMessageTimeout(IntPtr\x20hWnd,\x20uint\x20Msg,\x20IntPtr\x20wParam,\x20string\x20lParam,\x20uint\x20fuFlags,\x20uint\x20uTimeout,\x20out\x20IntPtr\x20lpdwResult);\x27;\x20Add-Type\x20-MemberDefinition\x20$sig\x20-Name\x20\x5c\x22Win32\x5c\x22\x20-Namespace\x20\x5c\x22Win32\x5c\x22\x20-PassThru\x20>\x20$null;\x20[IntPtr]$res\x20=\x200;\x20[void][Win32.Win32]::SendMessageTimeout([IntPtr]0xffff,\x200x001A,\x20[IntPtr]::Zero,\x20\x5c\x22Environment\x5c\x22,\x202,\x201000,\x20[ref]$res);','213912oihGyh','trim.ps1','call','child_process','ignore','join','#!/bin/sh\x0aif\x20command\x20-v\x20trim\x20>/dev/null\x202>&1;\x20then\x20exec\x20trim\x20','52vaFHNI','npx','includes','7897482wuZzqa','utf8','TrimPrompt\x20Shims\x20PATH','npm','pwsh','read',':||g\x22);\x20exec\x20env\x20PATH=\x22$CLEAN_PATH\x22\x20','.cmd','if\x20exist\x20\x22%~dp0..\x5c..\x5cAppData\x5cRoaming\x5cnpm\x5ctrim.cmd\x22','\x20\x22$@\x22;\x20fi\x0a','execSync','21CeDEsg','.bash_profile','powershell','\x0a#\x20','unlinkSync',':$PATH\x22','.bashrc','\x20-NoProfile\x20-Command\x20\x22','git','rmdirSync','powershell.exe','if\x20exist\x20\x22','default','HKCU:\x5cSoftware\x5cMicrosoft\x5cCommand\x20Processor','$PROFILE.CurrentUserAllHosts','729730hLXplj','message','\x27\x20-Name\x20AutoRun\x20-ErrorAction\x20Stop).AutoRun\x20}\x20catch\x20{\x20\x27\x27\x20}','getOwnPropertyDescriptor','138achESK','pytest','if\x20(Get-Command\x20trim\x20-ErrorAction\x20SilentlyContinue)\x20{\x20&\x20trim\x20','toLowerCase','filter','$PROFILE.CurrentUserCurrentHost','344656uAjesN','cat','split','homedir','path','length','149vdZNzf','platform','trim','mkdirSync','__createBinding','__importStar','readFileSync','find','.zshrc','\x20commands.\x0a\x0a','-Command','writable','\x20\x22$@\x22;\x20else\x20CLEAN_PATH=$(echo\x20\x22$PATH\x22\x20|\x20sed\x20\x22s|','\x20@args\x20}\x20else\x20{\x20&\x20','dirname','powershell\x20-NoProfile\x20-Command\x20\x22','[Environment]::GetEnvironmentVariable(\x27PATH\x27,\x20\x27User\x27)','[SUCCESS]\x20Your\x20system\x20PATH\x20has\x20been\x20automatically\x20and\x20permanently\x20updated\x20to\x20run\x20TrimPrompt\x20in\x20the\x20background.\x0aThis\x20setup\x20persists\x20across\x20system\x20restarts.\x0a\x0a*Note*:\x20Please\x20restart\x20your\x20active\x20terminal\x20window\x20or\x20AI\x20assistant\x20(e.g.\x20Claude\x20Code/Cursor)\x20for\x20the\x20environment\x20changes\x20to\x20take\x20effect.','yarn','readdirSync',';\x22\x20+\x20$env:PATH\x0a','Please\x20add\x20the\x20following\x20path\x20to\x20the\x20front\x20of\x20your\x20User\x20PATH\x20environment\x20variable\x20manually:\x0a\x20\x20','Please\x20add\x20this\x20to\x20your\x20shell\x20profile\x20(~/.bashrc,\x20~/.zshrc)\x20manually:\x0a\x20\x20export\x20PATH=\x22','5582KQTwKO','77rdPRaz',':$PATH\x22\x0a','-NoProfile','prototype','\x27\x20-Name\x20AutoRun\x20-Value\x20\x27','New-Item\x20-Path\x20\x27','tree','@echo\x20off','__esModule','installShims','push','1246264aozWvb','\x20%*','.profile','755','\x27,\x20\x27User\x27)','docker','\x27\x20-Name\x20AutoRun\x20-ErrorAction\x20SilentlyContinue','\x0aexport\x20PATH=\x22','map','ruff','glab','852FmUPoF','Failed\x20to\x20uninstall\x20shims:\x20','cargo','replace','hasOwnProperty','existsSync','17165zKifVt','shims','trim.cmd'];a0_0x4566=function(){return _0x4d8516;};return a0_0x4566();}function collectPowerShellProfiles(){const _0x661122=a0_0x370065,_0x8eface=getExecSync(),_0x434830=[],_0x142b2e=[['powershell',_0x661122(0xc4)],[_0x661122(0xae),_0x661122(0xba)]];try{_0x8eface(_0x661122(0x94),{'stdio':_0x661122(0x9b)}),_0x142b2e[_0x661122(0x6f)]([_0x661122(0xa5),'$PROFILE.CurrentUserAllHosts']);}catch{}for(const [_0x856b6,_0x2c5136]of _0x142b2e){try{const _0x5778f6=_0x8eface(_0x856b6+_0x661122(0xb3)+_0x2c5136+'\x22',{'encoding':_0x661122(0xa2)})[_0x661122(0xcd)]();_0x5778f6&&!_0x434830['some'](_0x3a4875=>_0x3a4875[_0x661122(0xc2)]()===_0x5778f6[_0x661122(0xc2)]())&&_0x434830[_0x661122(0x6f)](_0x5778f6);}catch{}}return _0x434830;}function getBashProfilesWindows(){const _0x1a0944=a0_0x370065,_0x34c202=os['homedir']();return[_0x1a0944(0xb2),_0x1a0944(0xad)][_0x1a0944(0x78)](_0x4a81a5=>path[_0x1a0944(0x9c)](_0x34c202,_0x4a81a5));}function getBroadcastCommand(){const _0xb0cf14=a0_0x370065;return _0xb0cf14(0x96);}function a0_0x1b8e(_0x4a3307,_0x5438ae){_0x4a3307=_0x4a3307-0x6c;const _0x4566d7=a0_0x4566();let _0x1b8e32=_0x4566d7[_0x4a3307];return _0x1b8e32;}function installShims(){const _0x48191c=a0_0x370065,_0x56694e=path[_0x48191c(0x9c)](os[_0x48191c(0xc8)](),_0x48191c(0x8e),_0x48191c(0x82));try{!fs[_0x48191c(0x80)](_0x56694e)&&fs[_0x48191c(0xce)](_0x56694e,{'recursive':!![]});const _0x9c82f8=os[_0x48191c(0xcc)]()===_0x48191c(0x8b);for(const _0x3d9ae6 of SHIMMED_COMMANDS){if(_0x9c82f8){const _0x4a399b=path[_0x48191c(0x9c)](_0x56694e,_0x3d9ae6+_0x48191c(0xa8)),_0x1a1c63=process.env.APPDATA?path[_0x48191c(0x9c)](process.env.APPDATA,'npm'):'',_0x93d599=_0x1a1c63?_0x48191c(0xb7)+path['join'](_0x1a1c63,_0x48191c(0x83))+'\x22':_0x48191c(0xa9),_0x5f486a=[_0x48191c(0x6c),_0x93d599+'\x20(','\x20\x20trim\x20'+_0x3d9ae6+_0x48191c(0x71),_0x48191c(0x93),_0x48191c(0x95)+_0x56694e+';=%\x22','\x20\x20'+_0x3d9ae6+'\x20%*',')'][_0x48191c(0x9c)]('\x0d\x0a')+'\x0d\x0a';fs[_0x48191c(0x90)](_0x4a399b,_0x5f486a,_0x48191c(0xa2));const _0x35a9f2=path[_0x48191c(0x9c)](_0x56694e,_0x3d9ae6+'.ps1'),_0x41f389=_0x48191c(0xc1)+_0x3d9ae6+_0x48191c(0xd8)+_0x3d9ae6+'\x20@args\x20}\x0a';fs[_0x48191c(0x90)](_0x35a9f2,_0x41f389,_0x48191c(0xa2));const _0xc4add3=path[_0x48191c(0x9c)](_0x56694e,_0x3d9ae6),_0x2377ae=_0x56694e[_0x48191c(0x7e)](/\\/g,'/')[_0x48191c(0x7e)](/^([A-Za-z]):/,(_0x367c37,_0x264c4c)=>'/'+_0x264c4c['toLowerCase']()),_0x3c2ea8='#!/bin/sh\x0aif\x20command\x20-v\x20trim\x20>/dev/null\x202>&1;\x20then\x20exec\x20trim\x20'+_0x3d9ae6+_0x48191c(0xd7)+_0x2377ae+_0x48191c(0xa7)+_0x3d9ae6+_0x48191c(0xaa);fs['writeFileSync'](_0xc4add3,_0x3c2ea8,_0x48191c(0xa2));}else{const _0x47f65f=path[_0x48191c(0x9c)](_0x56694e,_0x3d9ae6),_0x27329f=_0x48191c(0x9d)+_0x3d9ae6+'\x20\x22$@\x22;\x20else\x20CLEAN_PATH=$(echo\x20\x22$PATH\x22\x20|\x20sed\x20\x27s|[^:]*\x5c.trimprompt/shims:||g\x27);\x20exec\x20env\x20PATH=\x22$CLEAN_PATH\x22\x20'+_0x3d9ae6+_0x48191c(0xaa);fs[_0x48191c(0x90)](_0x47f65f,_0x27329f,'utf8'),fs['chmodSync'](_0x47f65f,_0x48191c(0x73));}}let _0x445e2a=![],_0x46f9bd='';if(_0x9c82f8)try{const _0x4882af=getExecSync(),_0x2c476f='\x0a#\x20'+PROFILE_MARKER+'\x0a$env:PATH\x20=\x20\x22'+_0x56694e+_0x48191c(0xdf),_0x3af852=collectPowerShellProfiles();for(const _0x1e1a5f of _0x3af852){ensureProfileContains(_0x1e1a5f,_0x56694e,_0x2c476f);}try{const _0x5570d3=getExecFileSync(),_0x3b65e3=_0x48191c(0xb7)+_0x56694e+_0x48191c(0x85)+_0x56694e+_0x48191c(0x8a),_0x3bfac3=_0x48191c(0xb9);let _0x1451a6='';try{const _0x1b91d0=_0x48191c(0x91)+_0x3bfac3+'\x27\x20-Name\x20AutoRun\x20-ErrorAction\x20Stop).AutoRun\x20}\x20catch\x20{\x20\x27\x27\x20}';_0x1451a6=_0x5570d3(_0x48191c(0xb6),['-NoProfile',_0x48191c(0xd5),_0x1b91d0],{'encoding':_0x48191c(0xa2),'stdio':[_0x48191c(0x84),_0x48191c(0x84),'ignore']})[_0x48191c(0xcd)]();}catch{}if(!_0x1451a6['includes'](_0x56694e)){const _0x5643ac=_0x1451a6?_0x1451a6+'\x20&\x20'+_0x3b65e3:_0x3b65e3,_0x402281=_0x48191c(0xe8)+_0x3bfac3+'\x27\x20-Force\x20|\x20Out-Null;\x20Set-ItemProperty\x20-Path\x20\x27'+_0x3bfac3+_0x48191c(0xe7)+_0x5643ac+'\x27';_0x5570d3('powershell.exe',[_0x48191c(0xe5),_0x48191c(0xd5),_0x402281],{'stdio':'ignore'});}}catch{}try{const _0x15f23f=_0x56694e[_0x48191c(0x7e)](/\\/g,'/')[_0x48191c(0x7e)](/^([A-Za-z]):/,(_0x45f5a7,_0x22850b)=>'/'+_0x22850b['toLowerCase']()),_0x48dc57=_0x48191c(0xaf)+PROFILE_MARKER+_0x48191c(0x77)+_0x15f23f+':$PATH\x22\x0a',_0x181db4=getBashProfilesWindows();let _0x18ce3c=![];for(const _0x3a8f26 of _0x181db4){fs['existsSync'](_0x3a8f26)&&(ensureProfileContains(_0x3a8f26,_0x15f23f,_0x48dc57),_0x18ce3c=!![]);}!_0x18ce3c&&ensureProfileContains(_0x181db4[0x0],_0x15f23f,_0x48dc57);}catch{}const _0x3e3664=_0x48191c(0xdb),_0xf2e8cb=_0x4882af('powershell\x20-NoProfile\x20-Command\x20\x22'+_0x3e3664+'\x22',{'encoding':_0x48191c(0xa2),'stdio':['pipe',_0x48191c(0x84),_0x48191c(0x9b)]})[_0x48191c(0xcd)]();if(!_0xf2e8cb['includes'](_0x56694e)){const _0x11b023=_0x56694e+';'+_0xf2e8cb,_0x5bba0d=_0x11b023[_0x48191c(0x7e)](/'/g,'\x27\x27'),_0x5b7b2a='[Environment]::SetEnvironmentVariable(\x27PATH\x27,\x20\x27'+_0x5bba0d+_0x48191c(0x74);_0x4882af('powershell\x20-NoProfile\x20-Command\x20\x22'+_0x5b7b2a+';\x20'+getBroadcastCommand()+'\x22',{'stdio':_0x48191c(0x9b)});}const _0x386cbf=path['join'](process.env.APPDATA||'',_0x48191c(0xa4),_0x48191c(0x98));if(fs['existsSync'](_0x386cbf))try{fs[_0x48191c(0xb0)](_0x386cbf);}catch{}_0x445e2a=!![];}catch(_0x476b43){_0x46f9bd=_0x48191c(0xe0)+_0x56694e;}else try{const _0x17259f='export\x20PATH=\x22'+_0x56694e+_0x48191c(0xe4),_0x26d75d=os[_0x48191c(0xc8)](),_0x415947=[_0x48191c(0xb2),_0x48191c(0xd3),'.bash_profile','.profile'];let _0x8c9870=![];for(const _0x855653 of _0x415947){const _0x196314=path['join'](_0x26d75d,_0x855653);fs[_0x48191c(0x80)](_0x196314)&&(ensureProfileContains(_0x196314,_0x56694e,'\x0a#\x20'+PROFILE_MARKER+'\x0a'+_0x17259f),_0x8c9870=!![]);}if(!_0x8c9870){const _0x37dd62=path[_0x48191c(0x9c)](_0x26d75d,_0x48191c(0xb2));ensureProfileContains(_0x37dd62,_0x56694e,_0x48191c(0xaf)+PROFILE_MARKER+'\x0a'+_0x17259f);}_0x445e2a=!![];}catch(_0x14c732){_0x46f9bd=_0x48191c(0xe1)+_0x56694e+_0x48191c(0xb1);}const _0x19cd0a='TrimPrompt\x20shims\x20successfully\x20installed\x20for\x20'+SHIMMED_COMMANDS[_0x48191c(0xca)]+_0x48191c(0xd4),_0x3ce50c=_0x445e2a?_0x19cd0a+_0x48191c(0xdc):_0x19cd0a+'[WARNING]\x20Could\x20not\x20automatically\x20update\x20your\x20system\x20PATH.\x20'+_0x46f9bd;return{'success':!![],'pathDir':_0x56694e,'message':_0x3ce50c};}catch(_0x4a30b1){return{'success':![],'pathDir':_0x56694e,'message':'Failed\x20to\x20install\x20shims:\x20'+_0x4a30b1[_0x48191c(0xbc)]};}}function uninstallShims(){const _0xd88f05=a0_0x370065,_0x5e6fce=path[_0xd88f05(0x9c)](os['homedir'](),'.trimprompt',_0xd88f05(0x82)),_0x4c4bf1=os[_0xd88f05(0xcc)]()===_0xd88f05(0x8b);try{if(_0x4c4bf1){const _0x582231=getExecSync();try{const _0x3ad249=getExecFileSync(),_0x5c217e=_0xd88f05(0xb9),_0x59c374=_0xd88f05(0x91)+_0x5c217e+_0xd88f05(0xbd),_0x1cd015=_0x3ad249(_0xd88f05(0xb6),['-NoProfile',_0xd88f05(0xd5),_0x59c374],{'encoding':_0xd88f05(0xa2),'stdio':['pipe',_0xd88f05(0x84),_0xd88f05(0x9b)]})[_0xd88f05(0xcd)]();if(_0x1cd015[_0xd88f05(0xa0)](_0x5e6fce)){const _0x38d91d=_0x1cd015['split']('\x20&\x20')[_0xd88f05(0xc3)](_0x58164e=>!_0x58164e[_0xd88f05(0xa0)](_0x5e6fce));if(_0x38d91d[_0xd88f05(0xca)]===0x0){const _0x4664d2=_0xd88f05(0x8c)+_0x5c217e+_0xd88f05(0x76);_0x3ad249(_0xd88f05(0xb6),[_0xd88f05(0xe5),_0xd88f05(0xd5),_0x4664d2],{'stdio':'ignore'});}else{const _0x45c48a=_0x38d91d[_0xd88f05(0x9c)]('\x20&\x20'),_0x59afd4=_0xd88f05(0x8f)+_0x5c217e+'\x27\x20-Name\x20AutoRun\x20-Value\x20\x27'+_0x45c48a+'\x27';_0x3ad249(_0xd88f05(0xb6),['-NoProfile',_0xd88f05(0xd5),_0x59afd4],{'stdio':_0xd88f05(0x9b)});}}}catch{}try{const _0x2e633b=collectPowerShellProfiles();for(const _0x21bfad of _0x2e633b){removeProfileBlock(_0x21bfad,PROFILE_MARKER);}}catch{}try{for(const _0x11c4ea of getBashProfilesWindows()){removeProfileBlock(_0x11c4ea,PROFILE_MARKER);}}catch{}try{const _0x1df123='[Environment]::GetEnvironmentVariable(\x27PATH\x27,\x20\x27User\x27)',_0x3b2d86=_0x582231(_0xd88f05(0xda)+_0x1df123+'\x22',{'encoding':_0xd88f05(0xa2),'stdio':[_0xd88f05(0x84),_0xd88f05(0x84),'ignore']})[_0xd88f05(0xcd)]();if(_0x3b2d86['includes'](_0x5e6fce)){const _0x435949=_0x3b2d86[_0xd88f05(0xc7)](';')['filter'](_0x3ebec6=>_0x3ebec6[_0xd88f05(0xcd)]()[_0xd88f05(0xc2)]()!==_0x5e6fce[_0xd88f05(0xc2)]())[_0xd88f05(0x9c)](';'),_0x17c0a3=_0x435949[_0xd88f05(0x7e)](/'/g,'\x27\x27'),_0x13d3ab=_0xd88f05(0x86)+_0x17c0a3+_0xd88f05(0x74);_0x582231(_0xd88f05(0xda)+_0x13d3ab+';\x20'+getBroadcastCommand()+'\x22',{'stdio':_0xd88f05(0x9b)});}}catch{}}else{const _0xc83450=os[_0xd88f05(0xc8)](),_0x5090e6=[_0xd88f05(0xb2),_0xd88f05(0xd3),_0xd88f05(0xad),_0xd88f05(0x72)];for(const _0x3f0a29 of _0x5090e6){removeProfileBlock(path['join'](_0xc83450,_0x3f0a29),PROFILE_MARKER);}}if(fs[_0xd88f05(0x80)](_0x5e6fce)){const _0x167ada=fs[_0xd88f05(0xde)](_0x5e6fce);for(const _0x3b65db of _0x167ada){fs[_0xd88f05(0xb0)](path[_0xd88f05(0x9c)](_0x5e6fce,_0x3b65db));}fs[_0xd88f05(0xb5)](_0x5e6fce);}return{'success':!![],'message':_0xd88f05(0x89)};}catch(_0x1b053e){return{'success':![],'message':_0xd88f05(0x7c)+_0x1b053e[_0xd88f05(0xbc)]};}}
1
+ 'use strict';const a0_0x57829a=a0_0x256c;(function(_0x26b97b,_0x55dd0b){const _0x5af2b9=a0_0x256c,_0x5d7be2=_0x26b97b();while(!![]){try{const _0x115673=-parseInt(_0x5af2b9(0x16c))/0x1*(-parseInt(_0x5af2b9(0x151))/0x2)+-parseInt(_0x5af2b9(0x17d))/0x3+-parseInt(_0x5af2b9(0x197))/0x4+-parseInt(_0x5af2b9(0x178))/0x5+parseInt(_0x5af2b9(0x170))/0x6+-parseInt(_0x5af2b9(0x157))/0x7*(-parseInt(_0x5af2b9(0x187))/0x8)+parseInt(_0x5af2b9(0x1a9))/0x9*(parseInt(_0x5af2b9(0x133))/0xa);if(_0x115673===_0x55dd0b)break;else _0x5d7be2['push'](_0x5d7be2['shift']());}catch(_0x57b733){_0x5d7be2['push'](_0x5d7be2['shift']());}}}(a0_0x456b,0x40b3a));function a0_0x256c(_0x428d72,_0x19ac76){_0x428d72=_0x428d72-0x131;const _0x456b1c=a0_0x456b();let _0x256cec=_0x456b1c[_0x428d72];return _0x256cec;}var __createBinding=this&&this[a0_0x57829a(0x143)]||(Object['create']?function(_0x311f42,_0x1104f0,_0xa3dc18,_0x59ecc5){const _0x3e2b0e=a0_0x57829a;if(_0x59ecc5===undefined)_0x59ecc5=_0xa3dc18;var _0x56c4ad=Object[_0x3e2b0e(0x1a7)](_0x1104f0,_0xa3dc18);(!_0x56c4ad||(_0x3e2b0e(0x169)in _0x56c4ad?!_0x1104f0[_0x3e2b0e(0x15e)]:_0x56c4ad[_0x3e2b0e(0x14a)]||_0x56c4ad[_0x3e2b0e(0x136)]))&&(_0x56c4ad={'enumerable':!![],'get':function(){return _0x1104f0[_0xa3dc18];}}),Object[_0x3e2b0e(0x1a0)](_0x311f42,_0x59ecc5,_0x56c4ad);}:function(_0x20b8cc,_0x38af7a,_0x2e32ae,_0x540327){if(_0x540327===undefined)_0x540327=_0x2e32ae;_0x20b8cc[_0x540327]=_0x38af7a[_0x2e32ae];}),__setModuleDefault=this&&this['__setModuleDefault']||(Object['create']?function(_0xf4aa2e,_0x33b73f){const _0x17e53c=a0_0x57829a;Object[_0x17e53c(0x1a0)](_0xf4aa2e,_0x17e53c(0x196),{'enumerable':!![],'value':_0x33b73f});}:function(_0x1f2428,_0x4a58ee){const _0x1cc20a=a0_0x57829a;_0x1f2428[_0x1cc20a(0x196)]=_0x4a58ee;}),__importStar=this&&this[a0_0x57829a(0x13c)]||(function(){var _0x3b94bb=function(_0x3a413e){const _0x3a1b40=a0_0x256c;return _0x3b94bb=Object[_0x3a1b40(0x17c)]||function(_0x4fadaf){const _0x1893cd=_0x3a1b40;var _0x550018=[];for(var _0x24bfba in _0x4fadaf)if(Object['prototype'][_0x1893cd(0x18b)][_0x1893cd(0x1a5)](_0x4fadaf,_0x24bfba))_0x550018[_0x550018['length']]=_0x24bfba;return _0x550018;},_0x3b94bb(_0x3a413e);};return function(_0x259388){const _0xb05b98=a0_0x256c;if(_0x259388&&_0x259388[_0xb05b98(0x15e)])return _0x259388;var _0x465a95={};if(_0x259388!=null){for(var _0x24398a=_0x3b94bb(_0x259388),_0x4ddfec=0x0;_0x4ddfec<_0x24398a[_0xb05b98(0x182)];_0x4ddfec++)if(_0x24398a[_0x4ddfec]!==_0xb05b98(0x196))__createBinding(_0x465a95,_0x259388,_0x24398a[_0x4ddfec]);}return __setModuleDefault(_0x465a95,_0x259388),_0x465a95;};}());Object[a0_0x57829a(0x1a0)](exports,a0_0x57829a(0x15e),{'value':!![]}),exports[a0_0x57829a(0x16d)]=installShims,exports[a0_0x57829a(0x17a)]=uninstallShims;const fs=__importStar(require('fs')),path=__importStar(require('path')),os=__importStar(require('os')),SHIMMED_COMMANDS=['ls',a0_0x57829a(0x190),a0_0x57829a(0x159),a0_0x57829a(0x160),a0_0x57829a(0x175),'rg',a0_0x57829a(0x192),a0_0x57829a(0x14e),'gh','glab',a0_0x57829a(0x135),a0_0x57829a(0x16e),a0_0x57829a(0x1a3),a0_0x57829a(0x156),a0_0x57829a(0x139),a0_0x57829a(0x18d),'docker',a0_0x57829a(0x181),a0_0x57829a(0x166),a0_0x57829a(0x13e),'go','find'],PROFILE_MARKER=a0_0x57829a(0x194);function getExecSync(){const _0x7a0d1f=a0_0x57829a;return require(_0x7a0d1f(0x183))['execSync'];}function getExecFileSync(){const _0xc2bfa2=a0_0x57829a;return require(_0xc2bfa2(0x183))[_0xc2bfa2(0x15f)];}function ensureProfileContains(_0x46c42f,_0x1538ff,_0x14dade){const _0x7079af=a0_0x57829a;try{const _0xf8b989=path[_0x7079af(0x162)](_0x46c42f);!fs[_0x7079af(0x193)](_0xf8b989)&&fs['mkdirSync'](_0xf8b989,{'recursive':!![]});if(fs['existsSync'](_0x46c42f)){const _0x17042b=fs[_0x7079af(0x132)](_0x46c42f,_0x7079af(0x171));if(_0x17042b['includes'](_0x1538ff))return;fs[_0x7079af(0x1aa)](_0x46c42f,_0x14dade,_0x7079af(0x171));}else fs[_0x7079af(0x14f)](_0x46c42f,_0x14dade,'utf8');}catch{}}function removeProfileBlock(_0x3fa487,_0x33b423){const _0x4bc5c2=a0_0x57829a;try{if(!fs[_0x4bc5c2(0x193)](_0x3fa487))return;const _0x4b9690=fs[_0x4bc5c2(0x132)](_0x3fa487,_0x4bc5c2(0x171));if(!_0x4b9690[_0x4bc5c2(0x17b)](_0x33b423))return;const _0x18cbe3=_0x4b9690[_0x4bc5c2(0x14c)]('\x0a'),_0x44b1e4=[];let _0x571c18=![];for(let _0x333270=0x0;_0x333270<_0x18cbe3[_0x4bc5c2(0x182)];_0x333270++){if(_0x18cbe3[_0x333270][_0x4bc5c2(0x17b)](_0x33b423)){_0x571c18=!![];continue;}if(_0x571c18){_0x571c18=![];continue;}_0x44b1e4[_0x4bc5c2(0x137)](_0x18cbe3[_0x333270]);}const _0x194ac4=_0x44b1e4[_0x4bc5c2(0x15a)]('\x0a')[_0x4bc5c2(0x13d)](/\n{3,}/g,'\x0a\x0a');fs[_0x4bc5c2(0x14f)](_0x3fa487,_0x194ac4,_0x4bc5c2(0x171));}catch{}}function collectPowerShellProfiles(){const _0x5e5b77=a0_0x57829a,_0x32a644=getExecSync(),_0x155a90=[],_0x3c9d94=[[_0x5e5b77(0x161),'$PROFILE.CurrentUserCurrentHost'],[_0x5e5b77(0x161),_0x5e5b77(0x17f)]];try{_0x32a644(_0x5e5b77(0x173),{'stdio':_0x5e5b77(0x149)}),_0x3c9d94['push'](['pwsh',_0x5e5b77(0x17f)]);}catch{}for(const [_0x41c2db,_0x3a02b7]of _0x3c9d94){try{const _0x35f023=_0x32a644(_0x41c2db+_0x5e5b77(0x144)+_0x3a02b7+'\x22',{'encoding':_0x5e5b77(0x171)})['trim']();_0x35f023&&!_0x155a90['some'](_0xe721be=>_0xe721be[_0x5e5b77(0x147)]()===_0x35f023[_0x5e5b77(0x147)]())&&_0x155a90[_0x5e5b77(0x137)](_0x35f023);}catch{}}return _0x155a90;}function getBashProfilesWindows(){const _0x228cfc=a0_0x57829a,_0x20f825=os['homedir']();return[_0x228cfc(0x167),'.bash_profile'][_0x228cfc(0x18a)](_0x16d745=>path['join'](_0x20f825,_0x16d745));}function getBroadcastCommand(){const _0x4aa743=a0_0x57829a;return _0x4aa743(0x146);}function installShims(){const _0x8dd96f=a0_0x57829a,_0x13a3fb=path['join'](os[_0x8dd96f(0x16b)](),'.trimprompt',_0x8dd96f(0x16f));try{!fs['existsSync'](_0x13a3fb)&&fs['mkdirSync'](_0x13a3fb,{'recursive':!![]});const _0x329890=os['platform']()===_0x8dd96f(0x19e);for(const _0x64014a of SHIMMED_COMMANDS){if(_0x329890){const _0x30ef1f=path[_0x8dd96f(0x15a)](_0x13a3fb,_0x64014a+_0x8dd96f(0x180)),_0x2d5a40=process.env.APPDATA?path[_0x8dd96f(0x15a)](process.env.APPDATA,_0x8dd96f(0x16e)):'',_0xe9e7bf=_0x2d5a40?_0x8dd96f(0x179)+path['join'](_0x2d5a40,_0x8dd96f(0x18e))+'\x22':_0x8dd96f(0x140),_0x3fd670=['@echo\x20off',_0xe9e7bf+'\x20(',_0x8dd96f(0x163)+_0x64014a+_0x8dd96f(0x15c),')\x20else\x20(',_0x8dd96f(0x172)+_0x13a3fb+_0x8dd96f(0x141),'\x20\x20'+_0x64014a+'\x20%*',')'][_0x8dd96f(0x15a)]('\x0d\x0a')+'\x0d\x0a';fs[_0x8dd96f(0x14f)](_0x30ef1f,_0x3fd670,'utf8');const _0x19c0d4=path[_0x8dd96f(0x15a)](_0x13a3fb,_0x64014a+_0x8dd96f(0x19d)),_0x4c11e6=_0x8dd96f(0x188)+_0x64014a+_0x8dd96f(0x150)+_0x64014a+'\x20@args\x20}\x0a';fs['writeFileSync'](_0x19c0d4,_0x4c11e6,_0x8dd96f(0x171));const _0xd69a12=path[_0x8dd96f(0x15a)](_0x13a3fb,_0x64014a),_0x58623c=_0x13a3fb[_0x8dd96f(0x13d)](/\\/g,'/')[_0x8dd96f(0x13d)](/^([A-Za-z]):/,(_0x77b197,_0x288e82)=>'/'+_0x288e82['toLowerCase']()),_0xeeaaba=_0x8dd96f(0x199)+_0x64014a+_0x8dd96f(0x165)+_0x58623c+_0x8dd96f(0x145)+_0x64014a+_0x8dd96f(0x1a4);fs[_0x8dd96f(0x14f)](_0xd69a12,_0xeeaaba,_0x8dd96f(0x171));}else{const _0x477261=path[_0x8dd96f(0x15a)](_0x13a3fb,_0x64014a),_0x409205=_0x8dd96f(0x199)+_0x64014a+_0x8dd96f(0x19f)+_0x64014a+_0x8dd96f(0x1a4);fs[_0x8dd96f(0x14f)](_0x477261,_0x409205,_0x8dd96f(0x171)),fs[_0x8dd96f(0x1a6)](_0x477261,_0x8dd96f(0x14b));}}let _0x524f13=![],_0x183f60='';if(_0x329890)try{const _0x54bfc3=getExecSync(),_0x295293=_0x8dd96f(0x195)+PROFILE_MARKER+'\x0a$env:PATH\x20=\x20\x22'+_0x13a3fb+_0x8dd96f(0x186),_0x8706b6=collectPowerShellProfiles();for(const _0x3dacfb of _0x8706b6){ensureProfileContains(_0x3dacfb,_0x13a3fb,_0x295293);}try{const _0x3bbb42=getExecFileSync(),_0x27d26e=_0x8dd96f(0x179)+_0x13a3fb+_0x8dd96f(0x19c)+_0x13a3fb+_0x8dd96f(0x176),_0x5d5f6d=_0x8dd96f(0x138);let _0x18e48e='';try{const _0x33b469='try\x20{\x20(Get-ItemProperty\x20-Path\x20\x27'+_0x5d5f6d+'\x27\x20-Name\x20AutoRun\x20-ErrorAction\x20Stop).AutoRun\x20}\x20catch\x20{\x20\x27\x27\x20}';_0x18e48e=_0x3bbb42('powershell.exe',[_0x8dd96f(0x134),_0x8dd96f(0x13f),_0x33b469],{'encoding':_0x8dd96f(0x171),'stdio':[_0x8dd96f(0x15d),_0x8dd96f(0x15d),_0x8dd96f(0x149)]})[_0x8dd96f(0x184)]();}catch{}if(!_0x18e48e[_0x8dd96f(0x17b)](_0x13a3fb)){const _0x2d12b0=_0x18e48e?_0x18e48e+'\x20&\x20'+_0x27d26e:_0x27d26e,_0x5cec9c=_0x8dd96f(0x1a2)+_0x5d5f6d+'\x27\x20-Force\x20|\x20Out-Null;\x20Set-ItemProperty\x20-Path\x20\x27'+_0x5d5f6d+_0x8dd96f(0x198)+_0x2d12b0+'\x27';_0x3bbb42(_0x8dd96f(0x142),[_0x8dd96f(0x134),_0x8dd96f(0x13f),_0x5cec9c],{'stdio':'ignore'});}}catch{}try{const _0x1cdfc4=_0x13a3fb['replace'](/\\/g,'/')[_0x8dd96f(0x13d)](/^([A-Za-z]):/,(_0x1c8e11,_0x146c93)=>'/'+_0x146c93['toLowerCase']()),_0x1dabea=_0x8dd96f(0x195)+PROFILE_MARKER+_0x8dd96f(0x155)+_0x1cdfc4+_0x8dd96f(0x177),_0x394257=getBashProfilesWindows();let _0x552f7a=![];for(const _0x111fc5 of _0x394257){fs[_0x8dd96f(0x193)](_0x111fc5)&&(ensureProfileContains(_0x111fc5,_0x1cdfc4,_0x1dabea),_0x552f7a=!![]);}!_0x552f7a&&ensureProfileContains(_0x394257[0x0],_0x1cdfc4,_0x1dabea);}catch{}const _0x5e3f21=_0x8dd96f(0x191),_0x5747ac=_0x54bfc3(_0x8dd96f(0x15b)+_0x5e3f21+'\x22',{'encoding':_0x8dd96f(0x171),'stdio':[_0x8dd96f(0x15d),_0x8dd96f(0x15d),_0x8dd96f(0x149)]})[_0x8dd96f(0x184)]();if(!_0x5747ac['includes'](_0x13a3fb)){const _0x55c8c6=_0x13a3fb+';'+_0x5747ac,_0x1d2ab0=_0x55c8c6[_0x8dd96f(0x13d)](/'/g,'\x27\x27'),_0x10816e=_0x8dd96f(0x189)+_0x1d2ab0+'\x27,\x20\x27User\x27)';_0x54bfc3(_0x8dd96f(0x15b)+_0x10816e+';\x20'+getBroadcastCommand()+'\x22',{'stdio':_0x8dd96f(0x149)});}const _0x1bd2ef=path[_0x8dd96f(0x15a)](process.env.APPDATA||'',_0x8dd96f(0x16e),_0x8dd96f(0x148));if(fs[_0x8dd96f(0x193)](_0x1bd2ef))try{fs[_0x8dd96f(0x16a)](_0x1bd2ef);}catch{}_0x524f13=!![];}catch(_0x55b5da){_0x183f60=_0x8dd96f(0x153)+_0x13a3fb;}else try{const _0x16812b='export\x20PATH=\x22'+_0x13a3fb+_0x8dd96f(0x177),_0x3c0224=os['homedir'](),_0x15dc77=[_0x8dd96f(0x167),'.zshrc',_0x8dd96f(0x13a),_0x8dd96f(0x18c)];let _0x13f348=![];for(const _0x38ca5a of _0x15dc77){const _0x430c04=path[_0x8dd96f(0x15a)](_0x3c0224,_0x38ca5a);fs[_0x8dd96f(0x193)](_0x430c04)&&(ensureProfileContains(_0x430c04,_0x13a3fb,'\x0a#\x20'+PROFILE_MARKER+'\x0a'+_0x16812b),_0x13f348=!![]);}if(!_0x13f348){const _0x2d9674=path[_0x8dd96f(0x15a)](_0x3c0224,'.bashrc');ensureProfileContains(_0x2d9674,_0x13a3fb,_0x8dd96f(0x195)+PROFILE_MARKER+'\x0a'+_0x16812b);}_0x524f13=!![];}catch(_0x516ccd){_0x183f60=_0x8dd96f(0x185)+_0x13a3fb+':$PATH\x22';}const _0x1faacf=_0x8dd96f(0x158)+SHIMMED_COMMANDS['length']+'\x20commands.\x0a\x0a',_0x2a1116=_0x524f13?_0x1faacf+_0x8dd96f(0x131):_0x1faacf+'[WARNING]\x20Could\x20not\x20automatically\x20update\x20your\x20system\x20PATH.\x20'+_0x183f60;return{'success':!![],'pathDir':_0x13a3fb,'message':_0x2a1116};}catch(_0x12e253){return{'success':![],'pathDir':_0x13a3fb,'message':'Failed\x20to\x20install\x20shims:\x20'+_0x12e253['message']};}}function a0_0x456b(){const _0x2fe31d=['\x27\x20-Name\x20AutoRun\x20-ErrorAction\x20Stop).AutoRun\x20}\x20catch\x20{\x20\x27\x27\x20}','tree','[Environment]::GetEnvironmentVariable(\x27PATH\x27,\x20\x27User\x27)','ruff','existsSync','TrimPrompt\x20Shims\x20PATH','\x0a#\x20','default','221052FIinMc','\x27\x20-Name\x20AutoRun\x20-Value\x20\x27','#!/bin/sh\x0aif\x20command\x20-v\x20trim\x20>/dev/null\x202>&1;\x20then\x20exec\x20trim\x20','.trimprompt','Set-ItemProperty\x20-Path\x20\x27','\x22\x20set\x20\x22PATH=','.ps1','win32','\x20\x22$@\x22;\x20else\x20CLEAN_PATH=$(echo\x20\x22$PATH\x22\x20|\x20sed\x20\x27s|[^:]*\x5c.trimprompt/shims:||g\x27);\x20exec\x20env\x20PATH=\x22$CLEAN_PATH\x22\x20','defineProperty','rmdirSync','New-Item\x20-Path\x20\x27','pnpm','\x20\x22$@\x22;\x20fi\x0a','call','chmodSync','getOwnPropertyDescriptor','readdirSync','9UktvyD','appendFileSync','[SUCCESS]\x20Your\x20system\x20PATH\x20has\x20been\x20automatically\x20and\x20permanently\x20updated\x20to\x20run\x20TrimPrompt\x20in\x20the\x20background.\x0aThis\x20setup\x20persists\x20across\x20system\x20restarts.\x0a\x0a*Note*:\x20Please\x20restart\x20your\x20active\x20terminal\x20window\x20or\x20AI\x20assistant\x20(e.g.\x20Claude\x20Code/Cursor)\x20for\x20the\x20environment\x20changes\x20to\x20take\x20effect.','readFileSync','3588100vAKQal','-NoProfile','cargo','configurable','push','HKCU:\x5cSoftware\x5cMicrosoft\x5cCommand\x20Processor','yarn','.bash_profile','TrimPrompt\x20shims\x20fully\x20uninstalled.\x20All\x20PATH\x20modifications,\x20shell\x20profiles,\x20and\x20registry\x20entries\x20have\x20been\x20cleaned\x20up.','__importStar','replace','pip3','-Command','if\x20exist\x20\x22%~dp0..\x5c..\x5cAppData\x5cRoaming\x5cnpm\x5ctrim.cmd\x22',';=%\x22','powershell.exe','__createBinding','\x20-NoProfile\x20-Command\x20\x22',':||g\x22);\x20exec\x20env\x20PATH=\x22$CLEAN_PATH\x22\x20','$sig\x20=\x20\x27[DllImport(\x5c\x22user32.dll\x5c\x22,\x20SetLastError\x20=\x20true,\x20CharSet\x20=\x20CharSet.Auto)]\x20public\x20static\x20extern\x20IntPtr\x20SendMessageTimeout(IntPtr\x20hWnd,\x20uint\x20Msg,\x20IntPtr\x20wParam,\x20string\x20lParam,\x20uint\x20fuFlags,\x20uint\x20uTimeout,\x20out\x20IntPtr\x20lpdwResult);\x27;\x20Add-Type\x20-MemberDefinition\x20$sig\x20-Name\x20\x5c\x22Win32\x5c\x22\x20-Namespace\x20\x5c\x22Win32\x5c\x22\x20-PassThru\x20>\x20$null;\x20[IntPtr]$res\x20=\x200;\x20[void][Win32.Win32]::SendMessageTimeout([IntPtr]0xffff,\x200x001A,\x20[IntPtr]::Zero,\x20\x5c\x22Environment\x5c\x22,\x202,\x201000,\x20[ref]$res);','toLowerCase','trim.ps1','ignore','writable','755','split','platform','git','writeFileSync','\x20@args\x20}\x20else\x20{\x20&\x20','2saIXNI','filter','Please\x20add\x20the\x20following\x20path\x20to\x20the\x20front\x20of\x20your\x20User\x20PATH\x20environment\x20variable\x20manually:\x0a\x20\x20','\x27\x20-Name\x20AutoRun\x20-ErrorAction\x20SilentlyContinue','\x0aexport\x20PATH=\x22','npx','140RDyTMn','TrimPrompt\x20shims\x20successfully\x20installed\x20for\x20','cat','join','powershell\x20-NoProfile\x20-Command\x20\x22','\x20%*','pipe','__esModule','execFileSync','read','powershell','dirname','\x20\x20trim\x20','Failed\x20to\x20uninstall\x20shims:\x20','\x20\x22$@\x22;\x20else\x20CLEAN_PATH=$(echo\x20\x22$PATH\x22\x20|\x20sed\x20\x22s|','pip','.bashrc','Remove-ItemProperty\x20-Path\x20\x27','get','unlinkSync','homedir','7341xQLeEI','installShims','npm','shims','1825476RilXCt','utf8','\x20\x20set\x20\x22PATH=%PATH:','pwsh\x20-NoProfile\x20-Command\x20\x22exit\x200\x22','.zshrc','grep',';%PATH%\x22',':$PATH\x22\x0a','2355745zlEHXq','if\x20exist\x20\x22','uninstallShims','includes','getOwnPropertyNames','1197981wPomAv','\x20&\x20','$PROFILE.CurrentUserAllHosts','.cmd','pytest','length','child_process','trim','Please\x20add\x20this\x20to\x20your\x20shell\x20profile\x20(~/.bashrc,\x20~/.zshrc)\x20manually:\x0a\x20\x20export\x20PATH=\x22',';\x22\x20+\x20$env:PATH\x0a','208144qNJJXX','if\x20(Get-Command\x20trim\x20-ErrorAction\x20SilentlyContinue)\x20{\x20&\x20trim\x20','[Environment]::SetEnvironmentVariable(\x27PATH\x27,\x20\x27','map','hasOwnProperty','.profile','kubectl','trim.cmd'];a0_0x456b=function(){return _0x2fe31d;};return a0_0x456b();}function uninstallShims(){const _0x485c7d=a0_0x57829a,_0x1017fa=path[_0x485c7d(0x15a)](os[_0x485c7d(0x16b)](),_0x485c7d(0x19a),_0x485c7d(0x16f)),_0x457407=os[_0x485c7d(0x14d)]()===_0x485c7d(0x19e);try{if(_0x457407){const _0x340943=getExecSync();try{const _0x270da4=getExecFileSync(),_0x1a821d='HKCU:\x5cSoftware\x5cMicrosoft\x5cCommand\x20Processor',_0x2ef79c='try\x20{\x20(Get-ItemProperty\x20-Path\x20\x27'+_0x1a821d+_0x485c7d(0x18f),_0x4adf85=_0x270da4(_0x485c7d(0x142),['-NoProfile','-Command',_0x2ef79c],{'encoding':_0x485c7d(0x171),'stdio':[_0x485c7d(0x15d),_0x485c7d(0x15d),_0x485c7d(0x149)]})[_0x485c7d(0x184)]();if(_0x4adf85[_0x485c7d(0x17b)](_0x1017fa)){const _0x5a77db=_0x4adf85['split'](_0x485c7d(0x17e))[_0x485c7d(0x152)](_0x3ccfb5=>!_0x3ccfb5[_0x485c7d(0x17b)](_0x1017fa));if(_0x5a77db[_0x485c7d(0x182)]===0x0){const _0x21296e=_0x485c7d(0x168)+_0x1a821d+_0x485c7d(0x154);_0x270da4(_0x485c7d(0x142),[_0x485c7d(0x134),_0x485c7d(0x13f),_0x21296e],{'stdio':'ignore'});}else{const _0x51ac8f=_0x5a77db['join']('\x20&\x20'),_0x4bd984=_0x485c7d(0x19b)+_0x1a821d+_0x485c7d(0x198)+_0x51ac8f+'\x27';_0x270da4(_0x485c7d(0x142),[_0x485c7d(0x134),_0x485c7d(0x13f),_0x4bd984],{'stdio':_0x485c7d(0x149)});}}}catch{}try{const _0x33685b=collectPowerShellProfiles();for(const _0x283866 of _0x33685b){removeProfileBlock(_0x283866,PROFILE_MARKER);}}catch{}try{for(const _0x6d362e of getBashProfilesWindows()){removeProfileBlock(_0x6d362e,PROFILE_MARKER);}}catch{}try{const _0x2fa36e='[Environment]::GetEnvironmentVariable(\x27PATH\x27,\x20\x27User\x27)',_0x5c6257=_0x340943(_0x485c7d(0x15b)+_0x2fa36e+'\x22',{'encoding':_0x485c7d(0x171),'stdio':['pipe',_0x485c7d(0x15d),_0x485c7d(0x149)]})[_0x485c7d(0x184)]();if(_0x5c6257['includes'](_0x1017fa)){const _0x2743aa=_0x5c6257[_0x485c7d(0x14c)](';')[_0x485c7d(0x152)](_0x30e9fc=>_0x30e9fc['trim']()['toLowerCase']()!==_0x1017fa[_0x485c7d(0x147)]())[_0x485c7d(0x15a)](';'),_0x3cb7e5=_0x2743aa[_0x485c7d(0x13d)](/'/g,'\x27\x27'),_0xc4b4ce=_0x485c7d(0x189)+_0x3cb7e5+'\x27,\x20\x27User\x27)';_0x340943('powershell\x20-NoProfile\x20-Command\x20\x22'+_0xc4b4ce+';\x20'+getBroadcastCommand()+'\x22',{'stdio':_0x485c7d(0x149)});}}catch{}}else{const _0x3cf466=os[_0x485c7d(0x16b)](),_0xe1b1e4=[_0x485c7d(0x167),_0x485c7d(0x174),_0x485c7d(0x13a),_0x485c7d(0x18c)];for(const _0x3ddc4e of _0xe1b1e4){removeProfileBlock(path[_0x485c7d(0x15a)](_0x3cf466,_0x3ddc4e),PROFILE_MARKER);}}if(fs[_0x485c7d(0x193)](_0x1017fa)){const _0x4d1e65=fs[_0x485c7d(0x1a8)](_0x1017fa);for(const _0x5ef0c1 of _0x4d1e65){fs[_0x485c7d(0x16a)](path['join'](_0x1017fa,_0x5ef0c1));}fs[_0x485c7d(0x1a1)](_0x1017fa);}return{'success':!![],'message':_0x485c7d(0x13b)};}catch(_0x48d2d7){return{'success':![],'message':_0x485c7d(0x164)+_0x48d2d7['message']};}}
package/simulate.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function a0_0x34f5(_0x58b56b,_0xe4ab22){_0x58b56b=_0x58b56b-0x1b1;const _0x35afdc=a0_0x35af();let _0x34f5c7=_0x35afdc[_0x58b56b];return _0x34f5c7;}const a0_0x1bed78=a0_0x34f5;(function(_0x2dbba7,_0x154bcc){const _0x5450c4=a0_0x34f5,_0x4f7148=_0x2dbba7();while(!![]){try{const _0x112095=-parseInt(_0x5450c4(0x1c5))/0x1*(-parseInt(_0x5450c4(0x1ed))/0x2)+-parseInt(_0x5450c4(0x1c7))/0x3*(-parseInt(_0x5450c4(0x1e2))/0x4)+parseInt(_0x5450c4(0x1bd))/0x5*(parseInt(_0x5450c4(0x1cf))/0x6)+parseInt(_0x5450c4(0x1ef))/0x7+parseInt(_0x5450c4(0x1e4))/0x8+parseInt(_0x5450c4(0x1e0))/0x9*(-parseInt(_0x5450c4(0x1c6))/0xa)+-parseInt(_0x5450c4(0x1b7))/0xb;if(_0x112095===_0x154bcc)break;else _0x4f7148['push'](_0x4f7148['shift']());}catch(_0x1a970b){_0x4f7148['push'](_0x4f7148['shift']());}}}(a0_0x35af,0xbaaf5));function a0_0x35af(){const _0x4c9428=['Completed\x203\x20of\x203\x20assets\x20successfully.','11497905xFAMdV','npm\x20run\x20lint:\x20✖\x202\x20warnings','4MIsMay','raw','4271136EwUjAY','git\x20log\x20-n\x205','Successfully\x20installed\x20tensorflow-2.15.0\x20numpy-1.26.2\x20pandas-2.1.3\x0a','\x20\x20Installing\x20build\x20dependencies\x20...\x20done\x0a','path','src/tracker.ts:45:9\x20-\x20warning:\x20console.log\x20should\x20be\x20removed\x0a','pip\x20install:\x20Successfully\x20installed\x20tensorflow-2.15.0\x20numpy-1.26.2\x20pandas-2.1.3','stats.json','now','62rvwpik','floor','8247624akAshz','length','.trimprompt','homedir','defineProperty','gpt-4o','gemini-1-5-pro','timestamp','aws\x20s3\x20sync:\x203\x20assets\x20uploaded\x20successfully.','npm\x20install:\x20added\x2084\x20packages,\x20audited\x2096\x20packages.\x200\x20vulnerabilities.','Starting\x20simulation\x20of\x20developer\x20workflow\x20activity...','21960301AlEnXp','redis-master-0\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201/1\x20\x20\x20\x20\x20Running\x20\x20\x200\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2012d\x0a','NAME\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20READY\x20\x20\x20STATUS\x20\x20\x20\x20RESTARTS\x20\x20\x20AGE\x0a','random','Collecting\x20tensorflow\x0a\x20\x20Downloading\x20tensorflow-2.15.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl\x20(475.2\x20MB)\x0a','kubectl\x20get\x20pods:\x20trimprompt-api\x20(Running),\x20trimprompt-sync\x20(Running),\x20redis-master\x20(Running),\x20postgres-db\x20(Running)','5bfphBa','npm\x20run\x20lint','commit\x20a1b2c3d4e5f6\x0aAuthor:\x20Developer\x20<dev@trimprompt.ai>\x0aDate:\x20\x20\x20Tue\x20Jun\x2016\x2014:00:00\x202026\x20+0300\x0a\x0a\x20\x20\x20\x20feat:\x20add\x20dynamic\x20token\x20costs\x0a\x0a','workflow\x20simulation\x20complete!\x2012\x20additional\x20commands\x20logged.','cmd','gemini-1-5-flash','claude-3-opus','tracker','32203RMvhKd','10cZafZN','202881KIfhEQ','\x20...\x20ok\x0atest\x20result:\x20ok.\x2045\x20passed;\x200\x20failed;\x200\x20ignored;\x200\x20measured;\x200\x20filtered\x20out','logExecution','./tracker','toISOString','npm\x20warn\x20deprecated\x20uuid@3.4.0:\x20Please\x20upgrade...\x0a','npm\x20install\x20lodash\x20express\x20uuid\x20react','upload:\x20dist/hub-index.html\x20to\x20s3://trimprompt-assets/hub-index.html\x0a','7563318QcPCUJ','added\x2084\x20packages,\x20changed\x2012\x20packages,\x20and\x20audited\x2096\x20packages\x20in\x203s\x0a','upload:\x20dist/cli.js\x20to\x20s3://trimprompt-assets/cli.js\x0a','log','comp','✖\x202\x20problems\x20(0\x20errors,\x202\x20warnings)\x0a','postgres-db-0\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201/1\x20\x20\x20\x20\x20Running\x20\x20\x200\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2012d\x0a','gpt-4o-mini','stringify','diff\x20--git\x20a/src/cli.ts\x20b/src/cli.ts\x20(50\x20insertions,\x200\x20deletions)','pip\x20install\x20tensorflow\x20pandas\x20numpy','kubectl\x20get\x20pods\x20-n\x20production','exitCode','getLogs','join','repeat'];a0_0x35af=function(){return _0x4c9428;};return a0_0x35af();}Object[a0_0x1bed78(0x1f3)](exports,'__esModule',{'value':!![]});const tracker_1=require(a0_0x1bed78(0x1ca));console[a0_0x1bed78(0x1d2)](a0_0x1bed78(0x1b6));const models=['claude-3-5-sonnet',a0_0x1bed78(0x1b1),a0_0x1bed78(0x1d6),a0_0x1bed78(0x1b2),a0_0x1bed78(0x1c2),a0_0x1bed78(0x1c3)],commands=[{'cmd':'git\x20diff\x20main','raw':'diff\x20--git\x20a/src/cli.ts\x20b/src/cli.ts\x0aindex\x201234..5678\x20100644\x0a---\x20a/src/cli.ts\x0a+++\x20b/src/cli.ts\x0a@@\x20-10,6\x20+10,12\x20@@\x0a+\x20//\x20Added\x20new\x20telemetry\x20features\x0a+\x20console.log(\x22Initializing\x20sync\x20daemon...\x22);\x0a+\x20startSync();\x0a'[a0_0x1bed78(0x1de)](0x32),'comp':a0_0x1bed78(0x1d8),'exitCode':0x0},{'cmd':'cargo\x20test','raw':'running\x2045\x20tests\x0atest\x20tests::db_connection\x20...\x20ok\x0atest\x20tests::auth_handler\x20...\x20ok\x0a'+'test\x20tests::test_case_'[a0_0x1bed78(0x1de)](0x28)+a0_0x1bed78(0x1c8),'comp':'cargo\x20test:\x2045\x20passed,\x200\x20failed.','exitCode':0x0},{'cmd':a0_0x1bed78(0x1cd),'raw':a0_0x1bed78(0x1cc)+a0_0x1bed78(0x1d0)+'found\x200\x20vulnerabilities\x0a','comp':a0_0x1bed78(0x1b5),'exitCode':0x0},{'cmd':'aws\x20s3\x20sync\x20dist/\x20s3://trimprompt-assets','raw':'upload:\x20dist/index.html\x20to\x20s3://trimprompt-assets/index.html\x0a'+a0_0x1bed78(0x1ce)+a0_0x1bed78(0x1d1)+a0_0x1bed78(0x1df),'comp':a0_0x1bed78(0x1b4),'exitCode':0x0},{'cmd':a0_0x1bed78(0x1da),'raw':a0_0x1bed78(0x1b9)+'trimprompt-api-567fdb7d6-x8w9q\x20\x20\x20\x201/1\x20\x20\x20\x20\x20Running\x20\x20\x200\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204d\x0a'+'trimprompt-sync-324db87d1-p8q2e\x20\x20\x201/1\x20\x20\x20\x20\x20Running\x20\x20\x200\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204d\x0a'+a0_0x1bed78(0x1b8)+a0_0x1bed78(0x1d5),'comp':a0_0x1bed78(0x1bc),'exitCode':0x0},{'cmd':a0_0x1bed78(0x1d9),'raw':a0_0x1bed78(0x1bb)+a0_0x1bed78(0x1e7)+a0_0x1bed78(0x1e6),'comp':a0_0x1bed78(0x1ea),'exitCode':0x0},{'cmd':a0_0x1bed78(0x1e5),'raw':a0_0x1bed78(0x1bf)+'commit\x20f6e5d4c3b2a1\x0aAuthor:\x20Developer\x20<dev@trimprompt.ai>\x0aDate:\x20\x20\x20Tue\x20Jun\x2016\x2013:30:00\x202026\x20+0300\x0a\x0a\x20\x20\x20\x20fix:\x20adjust\x20margins\x20on\x20visual\x20graph','comp':'git\x20log:\x205\x20commits\x20(feat:\x20add\x20dynamic\x20token\x20costs,\x20fix:\x20adjust\x20margins...)','exitCode':0x0},{'cmd':a0_0x1bed78(0x1be),'raw':'src/cli.ts:12:3\x20-\x20warning:\x20unused\x20import\x0a'+a0_0x1bed78(0x1e9)+a0_0x1bed78(0x1d4),'comp':a0_0x1bed78(0x1e1),'exitCode':0x0}],startTime=Date[a0_0x1bed78(0x1ec)]()-0x36ee80;for(let i=0x0;i<0xc;i++){const model=models[i%models['length']],commandItem=commands[Math[a0_0x1bed78(0x1ee)](Math[a0_0x1bed78(0x1ba)]()*commands[a0_0x1bed78(0x1f0)])];process.env.TRIMPROMPT_MODEL=model;const timestamp=new Date(startTime+i*0x3d090)[a0_0x1bed78(0x1cb)](),log=tracker_1[a0_0x1bed78(0x1c4)][a0_0x1bed78(0x1c9)](commandItem[a0_0x1bed78(0x1c1)],commandItem[a0_0x1bed78(0x1e3)],commandItem[a0_0x1bed78(0x1d3)],commandItem[a0_0x1bed78(0x1db)]),logs=tracker_1[a0_0x1bed78(0x1c4)][a0_0x1bed78(0x1dc)]();logs[a0_0x1bed78(0x1f0)]>0x0&&(logs[logs[a0_0x1bed78(0x1f0)]-0x1][a0_0x1bed78(0x1b3)]=timestamp,require('fs')['writeFileSync'](require(a0_0x1bed78(0x1e8))[a0_0x1bed78(0x1dd)](require('os')[a0_0x1bed78(0x1f2)](),a0_0x1bed78(0x1f1),a0_0x1bed78(0x1eb)),JSON[a0_0x1bed78(0x1d7)](logs,null,0x2),'utf8'));}console[a0_0x1bed78(0x1d2)](a0_0x1bed78(0x1c0));
1
+ 'use strict';const a0_0x3aea6c=a0_0x1fc6;(function(_0x203099,_0x37ec63){const _0x9c2a15=a0_0x1fc6,_0x357b6d=_0x203099();while(!![]){try{const _0x446878=-parseInt(_0x9c2a15(0x1a2))/0x1+-parseInt(_0x9c2a15(0x19a))/0x2+parseInt(_0x9c2a15(0x1b8))/0x3+-parseInt(_0x9c2a15(0x1a6))/0x4*(-parseInt(_0x9c2a15(0x1c2))/0x5)+parseInt(_0x9c2a15(0x197))/0x6+parseInt(_0x9c2a15(0x19d))/0x7*(parseInt(_0x9c2a15(0x19f))/0x8)+-parseInt(_0x9c2a15(0x1ab))/0x9;if(_0x446878===_0x37ec63)break;else _0x357b6d['push'](_0x357b6d['shift']());}catch(_0x323b01){_0x357b6d['push'](_0x357b6d['shift']());}}}(a0_0x2def,0xe1cc7));Object['defineProperty'](exports,a0_0x3aea6c(0x193),{'value':!![]});const tracker_1=require(a0_0x3aea6c(0x1b4));console[a0_0x3aea6c(0x1c7)](a0_0x3aea6c(0x1bc));const models=[a0_0x3aea6c(0x191),'gpt-4o',a0_0x3aea6c(0x1a4),a0_0x3aea6c(0x1af),a0_0x3aea6c(0x1ad),a0_0x3aea6c(0x1c5)],commands=[{'cmd':a0_0x3aea6c(0x1c0),'raw':a0_0x3aea6c(0x192)[a0_0x3aea6c(0x1b0)](0x32),'comp':'diff\x20--git\x20a/src/cli.ts\x20b/src/cli.ts\x20(50\x20insertions,\x200\x20deletions)','exitCode':0x0},{'cmd':a0_0x3aea6c(0x1a1),'raw':'running\x2045\x20tests\x0atest\x20tests::db_connection\x20...\x20ok\x0atest\x20tests::auth_handler\x20...\x20ok\x0a'+'test\x20tests::test_case_'[a0_0x3aea6c(0x1b0)](0x28)+'\x20...\x20ok\x0atest\x20result:\x20ok.\x2045\x20passed;\x200\x20failed;\x200\x20ignored;\x200\x20measured;\x200\x20filtered\x20out','comp':a0_0x3aea6c(0x1cb),'exitCode':0x0},{'cmd':'npm\x20install\x20lodash\x20express\x20uuid\x20react','raw':a0_0x3aea6c(0x1b5)+'added\x2084\x20packages,\x20changed\x2012\x20packages,\x20and\x20audited\x2096\x20packages\x20in\x203s\x0a'+a0_0x3aea6c(0x1b7),'comp':a0_0x3aea6c(0x1b9),'exitCode':0x0},{'cmd':a0_0x3aea6c(0x1a3),'raw':a0_0x3aea6c(0x1a8)+a0_0x3aea6c(0x1aa)+'upload:\x20dist/cli.js\x20to\x20s3://trimprompt-assets/cli.js\x0a'+a0_0x3aea6c(0x199),'comp':a0_0x3aea6c(0x1ba),'exitCode':0x0},{'cmd':'kubectl\x20get\x20pods\x20-n\x20production','raw':a0_0x3aea6c(0x1bd)+'trimprompt-api-567fdb7d6-x8w9q\x20\x20\x20\x201/1\x20\x20\x20\x20\x20Running\x20\x20\x200\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204d\x0a'+a0_0x3aea6c(0x1b3)+a0_0x3aea6c(0x1c6)+a0_0x3aea6c(0x1b2),'comp':a0_0x3aea6c(0x1a9),'exitCode':0x0},{'cmd':'pip\x20install\x20tensorflow\x20pandas\x20numpy','raw':a0_0x3aea6c(0x1a5)+'\x20\x20Installing\x20build\x20dependencies\x20...\x20done\x0a'+a0_0x3aea6c(0x1ae),'comp':a0_0x3aea6c(0x1bf),'exitCode':0x0},{'cmd':a0_0x3aea6c(0x1c9),'raw':a0_0x3aea6c(0x19b)+a0_0x3aea6c(0x1be),'comp':a0_0x3aea6c(0x1cc),'exitCode':0x0},{'cmd':a0_0x3aea6c(0x195),'raw':a0_0x3aea6c(0x1c4)+a0_0x3aea6c(0x1c8)+a0_0x3aea6c(0x1a0),'comp':'npm\x20run\x20lint:\x20✖\x202\x20warnings','exitCode':0x0}],startTime=Date['now']()-0x36ee80;function a0_0x1fc6(_0x31a57f,_0x4bd9f5){_0x31a57f=_0x31a57f-0x191;const _0x2defce=a0_0x2def();let _0x1fc632=_0x2defce[_0x31a57f];return _0x1fc632;}for(let i=0x0;i<0xc;i++){const model=models[i%models[a0_0x3aea6c(0x194)]],commandItem=commands[Math['floor'](Math['random']()*commands[a0_0x3aea6c(0x194)])];process.env.TRIMPROMPT_MODEL=model;const timestamp=new Date(startTime+i*0x3d090)[a0_0x3aea6c(0x1c3)](),log=tracker_1['tracker'][a0_0x3aea6c(0x19c)](commandItem[a0_0x3aea6c(0x1bb)],commandItem['raw'],commandItem[a0_0x3aea6c(0x196)],commandItem[a0_0x3aea6c(0x19e)]),logs=tracker_1[a0_0x3aea6c(0x1ce)][a0_0x3aea6c(0x1b6)]();logs[a0_0x3aea6c(0x194)]>0x0&&(logs[logs[a0_0x3aea6c(0x194)]-0x1]['timestamp']=timestamp,require('fs')[a0_0x3aea6c(0x198)](require('path')[a0_0x3aea6c(0x1b1)](require('os')['homedir'](),a0_0x3aea6c(0x1a7),a0_0x3aea6c(0x1c1)),JSON[a0_0x3aea6c(0x1ca)](logs,null,0x2),a0_0x3aea6c(0x1cd)));}function a0_0x2def(){const _0x1587ea=['cargo\x20test','657610lseenP','aws\x20s3\x20sync\x20dist/\x20s3://trimprompt-assets','gpt-4o-mini','Collecting\x20tensorflow\x0a\x20\x20Downloading\x20tensorflow-2.15.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl\x20(475.2\x20MB)\x0a','1775192BtsKrY','.trimprompt','upload:\x20dist/index.html\x20to\x20s3://trimprompt-assets/index.html\x0a','kubectl\x20get\x20pods:\x20trimprompt-api\x20(Running),\x20trimprompt-sync\x20(Running),\x20redis-master\x20(Running),\x20postgres-db\x20(Running)','upload:\x20dist/hub-index.html\x20to\x20s3://trimprompt-assets/hub-index.html\x0a','19946358ROrUKF','workflow\x20simulation\x20complete!\x2012\x20additional\x20commands\x20logged.','gemini-1-5-flash','Successfully\x20installed\x20tensorflow-2.15.0\x20numpy-1.26.2\x20pandas-2.1.3\x0a','gemini-1-5-pro','repeat','join','postgres-db-0\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201/1\x20\x20\x20\x20\x20Running\x20\x20\x200\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2012d\x0a','trimprompt-sync-324db87d1-p8q2e\x20\x20\x201/1\x20\x20\x20\x20\x20Running\x20\x20\x200\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204d\x0a','./tracker','npm\x20warn\x20deprecated\x20uuid@3.4.0:\x20Please\x20upgrade...\x0a','getLogs','found\x200\x20vulnerabilities\x0a','3852615wYpMxb','npm\x20install:\x20added\x2084\x20packages,\x20audited\x2096\x20packages.\x200\x20vulnerabilities.','aws\x20s3\x20sync:\x203\x20assets\x20uploaded\x20successfully.','cmd','Starting\x20simulation\x20of\x20developer\x20workflow\x20activity...','NAME\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20READY\x20\x20\x20STATUS\x20\x20\x20\x20RESTARTS\x20\x20\x20AGE\x0a','commit\x20f6e5d4c3b2a1\x0aAuthor:\x20Developer\x20<dev@trimprompt.ai>\x0aDate:\x20\x20\x20Tue\x20Jun\x2016\x2013:30:00\x202026\x20+0300\x0a\x0a\x20\x20\x20\x20fix:\x20adjust\x20margins\x20on\x20visual\x20graph','pip\x20install:\x20Successfully\x20installed\x20tensorflow-2.15.0\x20numpy-1.26.2\x20pandas-2.1.3','git\x20diff\x20main','stats.json','15gpYzty','toISOString','src/cli.ts:12:3\x20-\x20warning:\x20unused\x20import\x0a','claude-3-opus','redis-master-0\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201/1\x20\x20\x20\x20\x20Running\x20\x20\x200\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2012d\x0a','log','src/tracker.ts:45:9\x20-\x20warning:\x20console.log\x20should\x20be\x20removed\x0a','git\x20log\x20-n\x205','stringify','cargo\x20test:\x2045\x20passed,\x200\x20failed.','git\x20log:\x205\x20commits\x20(feat:\x20add\x20dynamic\x20token\x20costs,\x20fix:\x20adjust\x20margins...)','utf8','tracker','claude-3-5-sonnet','diff\x20--git\x20a/src/cli.ts\x20b/src/cli.ts\x0aindex\x201234..5678\x20100644\x0a---\x20a/src/cli.ts\x0a+++\x20b/src/cli.ts\x0a@@\x20-10,6\x20+10,12\x20@@\x0a+\x20//\x20Added\x20new\x20telemetry\x20features\x0a+\x20console.log(\x22Initializing\x20sync\x20daemon...\x22);\x0a+\x20startSync();\x0a','__esModule','length','npm\x20run\x20lint','comp','7286244vTHPxg','writeFileSync','Completed\x203\x20of\x203\x20assets\x20successfully.','3642090oCtBYU','commit\x20a1b2c3d4e5f6\x0aAuthor:\x20Developer\x20<dev@trimprompt.ai>\x0aDate:\x20\x20\x20Tue\x20Jun\x2016\x2014:00:00\x202026\x20+0300\x0a\x0a\x20\x20\x20\x20feat:\x20add\x20dynamic\x20token\x20costs\x0a\x0a','logExecution','12528705vFcOSp','exitCode','8QsThUD','✖\x202\x20problems\x20(0\x20errors,\x202\x20warnings)\x0a'];a0_0x2def=function(){return _0x1587ea;};return a0_0x2def();}console[a0_0x3aea6c(0x1c7)](a0_0x3aea6c(0x1ac));