trimprompt 1.0.27 → 1.0.28

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/git.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x46643e=a0_0x3804;(function(_0x6e27a2,_0x3008de){const _0x88a120=a0_0x3804,_0x5d449c=_0x6e27a2();while(!![]){try{const _0x3a4545=parseInt(_0x88a120(0x16d))/0x1+-parseInt(_0x88a120(0x172))/0x2*(-parseInt(_0x88a120(0x181))/0x3)+-parseInt(_0x88a120(0x183))/0x4*(parseInt(_0x88a120(0x16e))/0x5)+parseInt(_0x88a120(0x16c))/0x6+-parseInt(_0x88a120(0x189))/0x7*(-parseInt(_0x88a120(0x16f))/0x8)+parseInt(_0x88a120(0x171))/0x9+-parseInt(_0x88a120(0x182))/0xa*(parseInt(_0x88a120(0x17a))/0xb);if(_0x3a4545===_0x3008de)break;else _0x5d449c['push'](_0x5d449c['shift']());}catch(_0x240e6c){_0x5d449c['push'](_0x5d449c['shift']());}}}(a0_0x2547,0xb35d3));var __createBinding=this&&this['__createBinding']||(Object[a0_0x46643e(0x18a)]?function(_0x2ea932,_0x194682,_0x92754b,_0x29cf2c){const _0x213ec5=a0_0x46643e;if(_0x29cf2c===undefined)_0x29cf2c=_0x92754b;var _0x1904b7=Object[_0x213ec5(0x177)](_0x194682,_0x92754b);(!_0x1904b7||(_0x213ec5(0x17b)in _0x1904b7?!_0x194682[_0x213ec5(0x184)]:_0x1904b7[_0x213ec5(0x174)]||_0x1904b7[_0x213ec5(0x188)]))&&(_0x1904b7={'enumerable':!![],'get':function(){return _0x194682[_0x92754b];}}),Object[_0x213ec5(0x179)](_0x2ea932,_0x29cf2c,_0x1904b7);}:function(_0x91fe37,_0x44f964,_0x3daaa7,_0x7786ef){if(_0x7786ef===undefined)_0x7786ef=_0x3daaa7;_0x91fe37[_0x7786ef]=_0x44f964[_0x3daaa7];}),__setModuleDefault=this&&this[a0_0x46643e(0x16a)]||(Object[a0_0x46643e(0x18a)]?function(_0x44acdf,_0x3f924d){const _0x46dd29=a0_0x46643e;Object[_0x46dd29(0x179)](_0x44acdf,'default',{'enumerable':!![],'value':_0x3f924d});}:function(_0x2fd5b4,_0x31c1c9){const _0x56b85b=a0_0x46643e;_0x2fd5b4[_0x56b85b(0x17d)]=_0x31c1c9;}),__importStar=this&&this[a0_0x46643e(0x176)]||(function(){var _0xd9bf30=function(_0x3aa80a){const _0x5e8478=a0_0x3804;return _0xd9bf30=Object[_0x5e8478(0x15d)]||function(_0x9fcbe3){const _0x47ad60=_0x5e8478;var _0x269563=[];for(var _0x1e9b04 in _0x9fcbe3)if(Object[_0x47ad60(0x173)]['hasOwnProperty'][_0x47ad60(0x15e)](_0x9fcbe3,_0x1e9b04))_0x269563[_0x269563[_0x47ad60(0x164)]]=_0x1e9b04;return _0x269563;},_0xd9bf30(_0x3aa80a);};return function(_0xbf2232){const _0x17018a=a0_0x3804;if(_0xbf2232&&_0xbf2232[_0x17018a(0x184)])return _0xbf2232;var _0x21c16c={};if(_0xbf2232!=null){for(var _0x4d2984=_0xd9bf30(_0xbf2232),_0x4b210b=0x0;_0x4b210b<_0x4d2984[_0x17018a(0x164)];_0x4b210b++)if(_0x4d2984[_0x4b210b]!==_0x17018a(0x17d))__createBinding(_0x21c16c,_0xbf2232,_0x4d2984[_0x4b210b]);}return __setModuleDefault(_0x21c16c,_0xbf2232),_0x21c16c;};}());function a0_0x3804(_0x359402,_0x2c2728){_0x359402=_0x359402-0x15b;const _0x25473e=a0_0x2547();let _0x380411=_0x25473e[_0x359402];return _0x380411;}Object[a0_0x46643e(0x179)](exports,a0_0x46643e(0x184),{'value':!![]}),exports['filterGitStatus']=filterGitStatus,exports[a0_0x46643e(0x160)]=filterGitLog,exports[a0_0x46643e(0x169)]=filterGitDiff;const path=__importStar(require('path'));function filterGitStatus(_0x17bb67){const _0x5606af=a0_0x46643e,_0xce4cc0=_0x17bb67[_0x5606af(0x162)]('\x0a')[_0x5606af(0x167)](_0x1177b0=>_0x1177b0['trim']())['filter'](_0xf12b52=>_0xf12b52[_0x5606af(0x164)]>0x0);if(_0xce4cc0['length']===0x0)return _0x5606af(0x186);const _0x3fa499=[],_0x3d8a52=[],_0x49dff2=[];for(const _0x16ce23 of _0xce4cc0){if(_0x16ce23['startsWith']('##')){const _0x50bba9=_0x16ce23['replace'](/^##\s*/,'');_0x3fa499[_0x5606af(0x170)]('*\x20Branch:\x20'+_0x50bba9);}else _0x16ce23[_0x5606af(0x166)]('??')?_0x3d8a52[_0x5606af(0x170)](_0x16ce23[_0x5606af(0x18c)](0x3)[_0x5606af(0x163)]()):_0x49dff2[_0x5606af(0x170)](_0x16ce23);}_0x49dff2[_0x5606af(0x164)]>0x0&&(_0x3fa499['push']('\x0aChanges:'),_0x3fa499[_0x5606af(0x170)](..._0x49dff2['map'](_0x1c350b=>'\x20\x20'+_0x1c350b)));if(_0x3d8a52[_0x5606af(0x164)]>0x0){_0x3fa499['push']('\x0aUntracked\x20files:');const _0x309c26={},_0x1bd437=[];for(const _0x557310 of _0x3d8a52){const _0x236004=path[_0x5606af(0x17e)](_0x557310);_0x236004==='.'||_0x236004===''?_0x1bd437[_0x5606af(0x170)](_0x557310):(!_0x309c26[_0x236004]&&(_0x309c26[_0x236004]=[]),_0x309c26[_0x236004][_0x5606af(0x170)](path[_0x5606af(0x16b)](_0x557310)));}for(const [_0x5038e8,_0x3e62bf]of Object[_0x5606af(0x180)](_0x309c26)){if(_0x3e62bf[_0x5606af(0x164)]>0x5)_0x3fa499['push']('\x20\x20??\x20'+_0x5038e8+'/\x20('+_0x3e62bf[_0x5606af(0x164)]+_0x5606af(0x18b));else for(const _0x1a6f98 of _0x3e62bf){_0x3fa499[_0x5606af(0x170)]('\x20\x20??\x20'+path[_0x5606af(0x15c)](_0x5038e8,_0x1a6f98));}}for(const _0x410754 of _0x1bd437){_0x3fa499['push'](_0x5606af(0x17c)+_0x410754);}}return _0x3fa499[_0x5606af(0x15c)]('\x0a');}function a0_0x2547(){const _0x348594=['unknown_file','defineProperty','14698519mcftiP','get','\x20\x20??\x20','default','dirname','match','entries','2465682Dcgujo','10rwKJzR','68RqRTym','__esModule','diff\x20--git','Clean\x20working\x20tree','\x20\x20...\x20+','configurable','1587061YMbykf','create','\x20untracked\x20files)','substring','---END---','join','getOwnPropertyNames','call','slice','filterGitLog','\x20more\x20modifications','split','trim','length','filter','startsWith','map','\x20(+','filterGitDiff','__setModuleDefault','basename','5062890cRjxQO','115891bKBfyX','359915REhWEZ','8aRGaAn','push','11576628sKSmKE','2YniUIS','prototype','writable','---','__importStar','getOwnPropertyDescriptor'];a0_0x2547=function(){return _0x348594;};return a0_0x2547();}function filterGitLog(_0x114558){const _0x5b3348=a0_0x46643e,_0x576919=_0x114558[_0x5b3348(0x162)](_0x5b3348(0x15b))[_0x5b3348(0x167)](_0x347735=>_0x347735[_0x5b3348(0x163)]())[_0x5b3348(0x165)](_0x5675d6=>_0x5675d6[_0x5b3348(0x164)]>0x0);if(_0x576919[_0x5b3348(0x164)]===0x0)return _0x114558;const _0x229d43=[];for(const _0x5edf54 of _0x576919){const _0x593cff=_0x5edf54[_0x5b3348(0x162)]('\x0a'),_0x2341d6=_0x593cff[0x0]||'',_0x46770d=_0x593cff[_0x5b3348(0x15f)](0x1)[_0x5b3348(0x167)](_0x9d8c5a=>_0x9d8c5a[_0x5b3348(0x163)]())[_0x5b3348(0x165)](_0x5eb92a=>_0x5eb92a[_0x5b3348(0x164)]>0x0);_0x229d43[_0x5b3348(0x170)]('-\x20'+_0x2341d6),_0x46770d[_0x5b3348(0x164)]>0x0&&(_0x229d43[_0x5b3348(0x170)]('\x20\x20'+_0x46770d[0x0]),_0x46770d[_0x5b3348(0x164)]>0x1&&_0x229d43[_0x5b3348(0x170)]('\x20\x20...\x20(+'+(_0x46770d[_0x5b3348(0x164)]-0x1)+'\x20lines\x20of\x20description)'));}return _0x229d43[_0x5b3348(0x15c)]('\x0a');}function filterGitDiff(_0x55f110){const _0x510ca4=a0_0x46643e,_0x4aae3a=_0x55f110[_0x510ca4(0x162)]('\x0a'),_0x273d56=[];let _0x451d28='',_0x3163b8=0x0,_0x347d55=0x0,_0x712acf=[];const _0x181cdc=()=>{const _0x197c20=_0x510ca4;if(_0x451d28&&(_0x3163b8>0x0||_0x347d55>0x0)){_0x273d56[_0x197c20(0x170)]('[file]\x20'+_0x451d28+_0x197c20(0x168)+_0x3163b8+'\x20-'+_0x347d55+')');const _0x7597d2=0xa,_0x2f3eff=_0x712acf[_0x197c20(0x15f)](0x0,_0x7597d2);for(const _0x12d87f of _0x2f3eff){_0x273d56['push']('\x20\x20'+_0x12d87f);}const _0x401487=_0x3163b8+_0x347d55-_0x7597d2;_0x401487>0x0&&_0x273d56['push'](_0x197c20(0x187)+_0x401487+_0x197c20(0x161));}_0x3163b8=0x0,_0x347d55=0x0,_0x712acf=[];};for(const _0x3bf726 of _0x4aae3a){if(_0x3bf726[_0x510ca4(0x166)](_0x510ca4(0x185))){_0x181cdc();const _0x172d3e=_0x3bf726[_0x510ca4(0x17f)](/\sb\/(.+)$/);_0x451d28=_0x172d3e?_0x172d3e[0x1]:_0x510ca4(0x178);}else{if(_0x3bf726[_0x510ca4(0x166)]('+')&&!_0x3bf726[_0x510ca4(0x166)]('+++'))_0x3163b8++,_0x712acf[_0x510ca4(0x170)](_0x3bf726);else _0x3bf726[_0x510ca4(0x166)]('-')&&!_0x3bf726[_0x510ca4(0x166)](_0x510ca4(0x175))&&(_0x347d55++,_0x712acf[_0x510ca4(0x170)](_0x3bf726));}}_0x181cdc();const _0x5c764e=_0x273d56[_0x510ca4(0x15c)]('\x0a');return _0x5c764e[_0x510ca4(0x164)]>0x0?_0x5c764e:'No\x20modifications';}
1
+ 'use strict';const a0_0x400b1c=a0_0x95ae;(function(_0x473d2a,_0x354012){const _0x28967c=a0_0x95ae,_0x54f647=_0x473d2a();while(!![]){try{const _0x54515a=-parseInt(_0x28967c(0x15f))/0x1+-parseInt(_0x28967c(0x158))/0x2+-parseInt(_0x28967c(0x171))/0x3*(parseInt(_0x28967c(0x161))/0x4)+parseInt(_0x28967c(0x178))/0x5+parseInt(_0x28967c(0x157))/0x6*(parseInt(_0x28967c(0x17e))/0x7)+-parseInt(_0x28967c(0x179))/0x8+parseInt(_0x28967c(0x17d))/0x9;if(_0x54515a===_0x354012)break;else _0x54f647['push'](_0x54f647['shift']());}catch(_0x4985de){_0x54f647['push'](_0x54f647['shift']());}}}(a0_0x21a5,0x31115));function a0_0x95ae(_0x5abdd1,_0x1984ec){_0x5abdd1=_0x5abdd1-0x14d;const _0x21a54f=a0_0x21a5();let _0x95ae50=_0x21a54f[_0x5abdd1];return _0x95ae50;}var __createBinding=this&&this[a0_0x400b1c(0x15d)]||(Object[a0_0x400b1c(0x169)]?function(_0x34bab,_0x1d138b,_0x2f7b6f,_0x20964e){const _0x427e30=a0_0x400b1c;if(_0x20964e===undefined)_0x20964e=_0x2f7b6f;var _0x8b00b2=Object['getOwnPropertyDescriptor'](_0x1d138b,_0x2f7b6f);(!_0x8b00b2||(_0x427e30(0x165)in _0x8b00b2?!_0x1d138b[_0x427e30(0x182)]:_0x8b00b2[_0x427e30(0x163)]||_0x8b00b2[_0x427e30(0x166)]))&&(_0x8b00b2={'enumerable':!![],'get':function(){return _0x1d138b[_0x2f7b6f];}}),Object[_0x427e30(0x181)](_0x34bab,_0x20964e,_0x8b00b2);}:function(_0x24285,_0x5765fa,_0x3f1c6b,_0x3bcdcc){if(_0x3bcdcc===undefined)_0x3bcdcc=_0x3f1c6b;_0x24285[_0x3bcdcc]=_0x5765fa[_0x3f1c6b];}),__setModuleDefault=this&&this['__setModuleDefault']||(Object['create']?function(_0x26564a,_0x47224d){const _0x2e7d18=a0_0x400b1c;Object[_0x2e7d18(0x181)](_0x26564a,_0x2e7d18(0x170),{'enumerable':!![],'value':_0x47224d});}:function(_0x2fe7b6,_0x18e2d4){const _0x2b26ac=a0_0x400b1c;_0x2fe7b6[_0x2b26ac(0x170)]=_0x18e2d4;}),__importStar=this&&this[a0_0x400b1c(0x17c)]||(function(){var _0x1dc7c4=function(_0x1e90c3){const _0x54b203=a0_0x95ae;return _0x1dc7c4=Object[_0x54b203(0x175)]||function(_0x48cf9c){const _0x59e586=_0x54b203;var _0x3e01ab=[];for(var _0x142c9a in _0x48cf9c)if(Object[_0x59e586(0x15b)][_0x59e586(0x16a)][_0x59e586(0x16b)](_0x48cf9c,_0x142c9a))_0x3e01ab[_0x3e01ab[_0x59e586(0x155)]]=_0x142c9a;return _0x3e01ab;},_0x1dc7c4(_0x1e90c3);};return function(_0x4ef148){const _0x1dc26e=a0_0x95ae;if(_0x4ef148&&_0x4ef148[_0x1dc26e(0x182)])return _0x4ef148;var _0x19215a={};if(_0x4ef148!=null){for(var _0x349fd2=_0x1dc7c4(_0x4ef148),_0x49ff46=0x0;_0x49ff46<_0x349fd2[_0x1dc26e(0x155)];_0x49ff46++)if(_0x349fd2[_0x49ff46]!=='default')__createBinding(_0x19215a,_0x4ef148,_0x349fd2[_0x49ff46]);}return __setModuleDefault(_0x19215a,_0x4ef148),_0x19215a;};}());Object['defineProperty'](exports,a0_0x400b1c(0x182),{'value':!![]}),exports[a0_0x400b1c(0x17f)]=filterGitStatus,exports[a0_0x400b1c(0x153)]=filterGitLog,exports[a0_0x400b1c(0x177)]=filterGitDiff;const path=__importStar(require(a0_0x400b1c(0x14e)));function filterGitStatus(_0x4385cd){const _0x22e245=a0_0x400b1c,_0x516ee6=_0x4385cd[_0x22e245(0x15c)]('\x0a')[_0x22e245(0x16c)](_0x35d30d=>_0x35d30d['trim']())[_0x22e245(0x16e)](_0x4fa15e=>_0x4fa15e[_0x22e245(0x155)]>0x0);if(_0x516ee6['length']===0x0)return _0x22e245(0x17b);const _0x496d2=[],_0x4c49cf=[],_0x1193c5=[];for(const _0x355f27 of _0x516ee6){if(_0x355f27[_0x22e245(0x152)]('##')){const _0xdf4556=_0x355f27[_0x22e245(0x17a)](/^##\s*/,'');_0x496d2[_0x22e245(0x154)](_0x22e245(0x168)+_0xdf4556);}else _0x355f27['startsWith']('??')?_0x4c49cf[_0x22e245(0x154)](_0x355f27[_0x22e245(0x156)](0x3)[_0x22e245(0x172)]()):_0x1193c5[_0x22e245(0x154)](_0x355f27);}_0x1193c5[_0x22e245(0x155)]>0x0&&(_0x496d2[_0x22e245(0x154)](_0x22e245(0x15a)),_0x496d2[_0x22e245(0x154)](..._0x1193c5['map'](_0x40881c=>'\x20\x20'+_0x40881c)));if(_0x4c49cf[_0x22e245(0x155)]>0x0){_0x496d2['push']('\x0aUntracked\x20files:');const _0x51b0c7={},_0x21d341=[];for(const _0x1c7659 of _0x4c49cf){const _0x5a2ddf=path[_0x22e245(0x16f)](_0x1c7659);_0x5a2ddf==='.'||_0x5a2ddf===''?_0x21d341[_0x22e245(0x154)](_0x1c7659):(!_0x51b0c7[_0x5a2ddf]&&(_0x51b0c7[_0x5a2ddf]=[]),_0x51b0c7[_0x5a2ddf]['push'](path[_0x22e245(0x174)](_0x1c7659)));}for(const [_0x448508,_0x15fccc]of Object[_0x22e245(0x180)](_0x51b0c7)){if(_0x15fccc['length']>0x5)_0x496d2[_0x22e245(0x154)](_0x22e245(0x14f)+_0x448508+_0x22e245(0x162)+_0x15fccc[_0x22e245(0x155)]+_0x22e245(0x167));else for(const _0x3c2df0 of _0x15fccc){_0x496d2['push'](_0x22e245(0x14f)+path[_0x22e245(0x15e)](_0x448508,_0x3c2df0));}}for(const _0x263dc8 of _0x21d341){_0x496d2['push']('\x20\x20??\x20'+_0x263dc8);}}return _0x496d2[_0x22e245(0x15e)]('\x0a');}function filterGitLog(_0x43bbf9){const _0x332660=a0_0x400b1c,_0x36a412=_0x43bbf9[_0x332660(0x15c)]('---END---')[_0x332660(0x16c)](_0x517226=>_0x517226['trim']())[_0x332660(0x16e)](_0x47ef4f=>_0x47ef4f[_0x332660(0x155)]>0x0);if(_0x36a412['length']===0x0)return _0x43bbf9;const _0x468664=[];for(const _0x20f018 of _0x36a412){const _0x59784f=_0x20f018[_0x332660(0x15c)]('\x0a'),_0x4f7822=_0x59784f[0x0]||'',_0x328d75=_0x59784f[_0x332660(0x160)](0x1)[_0x332660(0x16c)](_0x54d629=>_0x54d629[_0x332660(0x172)]())[_0x332660(0x16e)](_0x28c151=>_0x28c151[_0x332660(0x155)]>0x0);_0x468664['push']('-\x20'+_0x4f7822),_0x328d75[_0x332660(0x155)]>0x0&&(_0x468664[_0x332660(0x154)]('\x20\x20'+_0x328d75[0x0]),_0x328d75[_0x332660(0x155)]>0x1&&_0x468664['push'](_0x332660(0x176)+(_0x328d75[_0x332660(0x155)]-0x1)+_0x332660(0x159)));}return _0x468664[_0x332660(0x15e)]('\x0a');}function filterGitDiff(_0x141235){const _0x51b754=a0_0x400b1c,_0x4b5ea9=_0x141235['split']('\x0a'),_0x2173bc=[];let _0x3e3eb9='',_0x3849bf=0x0,_0x1b9294=0x0,_0x312dff=[];const _0x4dee51=()=>{const _0x5cba82=a0_0x95ae;if(_0x3e3eb9&&(_0x3849bf>0x0||_0x1b9294>0x0)){_0x2173bc[_0x5cba82(0x154)]('[file]\x20'+_0x3e3eb9+'\x20(+'+_0x3849bf+'\x20-'+_0x1b9294+')');const _0xbe9580=0xa,_0x20da11=_0x312dff[_0x5cba82(0x160)](0x0,_0xbe9580);for(const _0x3ed30f of _0x20da11){_0x2173bc[_0x5cba82(0x154)]('\x20\x20'+_0x3ed30f);}const _0x2ab1f2=_0x3849bf+_0x1b9294-_0xbe9580;_0x2ab1f2>0x0&&_0x2173bc[_0x5cba82(0x154)](_0x5cba82(0x16d)+_0x2ab1f2+'\x20more\x20modifications');}_0x3849bf=0x0,_0x1b9294=0x0,_0x312dff=[];};for(const _0x25d55b of _0x4b5ea9){if(_0x25d55b[_0x51b754(0x152)](_0x51b754(0x173))){_0x4dee51();const _0x2fff5b=_0x25d55b[_0x51b754(0x151)](/\sb\/(.+)$/);_0x3e3eb9=_0x2fff5b?_0x2fff5b[0x1]:'unknown_file';}else{if(_0x25d55b['startsWith']('+')&&!_0x25d55b[_0x51b754(0x152)](_0x51b754(0x150)))_0x3849bf++,_0x312dff['push'](_0x25d55b);else _0x25d55b[_0x51b754(0x152)]('-')&&!_0x25d55b[_0x51b754(0x152)](_0x51b754(0x164))&&(_0x1b9294++,_0x312dff[_0x51b754(0x154)](_0x25d55b));}}_0x4dee51();const _0xf33840=_0x2173bc[_0x51b754(0x15e)]('\x0a');return _0xf33840[_0x51b754(0x155)]>0x0?_0xf33840:_0x51b754(0x14d);}function a0_0x21a5(){const _0x59f860=['2238792RYsNxx','replace','Clean\x20working\x20tree','__importStar','2272482EmIGGH','1828995oHGRhk','filterGitStatus','entries','defineProperty','__esModule','No\x20modifications','path','\x20\x20??\x20','+++','match','startsWith','filterGitLog','push','length','substring','6GgJWsf','272720WoEGQn','\x20lines\x20of\x20description)','\x0aChanges:','prototype','split','__createBinding','join','18256ejiIad','slice','103268MrAxtn','/\x20(','writable','---','get','configurable','\x20untracked\x20files)','*\x20Branch:\x20','create','hasOwnProperty','call','map','\x20\x20...\x20+','filter','dirname','default','15rOEaWv','trim','diff\x20--git','basename','getOwnPropertyNames','\x20\x20...\x20(+','filterGitDiff','1253740XpPGbv'];a0_0x21a5=function(){return _0x59f860;};return a0_0x21a5();}
package/filters/go.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x172b78=a0_0xfd1a;(function(_0x48f95e,_0x524698){const _0x197f38=a0_0xfd1a,_0x625cb0=_0x48f95e();while(!![]){try{const _0x4c5936=-parseInt(_0x197f38(0x13e))/0x1*(parseInt(_0x197f38(0x144))/0x2)+parseInt(_0x197f38(0x147))/0x3+-parseInt(_0x197f38(0x124))/0x4+-parseInt(_0x197f38(0x14a))/0x5*(parseInt(_0x197f38(0x12e))/0x6)+parseInt(_0x197f38(0x134))/0x7*(parseInt(_0x197f38(0x135))/0x8)+-parseInt(_0x197f38(0x126))/0x9*(parseInt(_0x197f38(0x145))/0xa)+parseInt(_0x197f38(0x122))/0xb;if(_0x4c5936===_0x524698)break;else _0x625cb0['push'](_0x625cb0['shift']());}catch(_0x5c0fd9){_0x625cb0['push'](_0x625cb0['shift']());}}}(a0_0x2a3a,0x5072c));function a0_0x2a3a(){const _0x5caf5d=['length','...\x20+','5MUzSeO','filterGoVet','\x20\x20\x20\x20...\x20+','push','lines','\x20passed','\x0aFailures:','5172233RDIbew','includes','297380aShuqo','min','38817VZMyVU','filter','===\x20RUN','Go\x20test:\x20no\x20test\x20files','Go\x20test:\x20','\x20skipped','trim','\x20passed,\x20','2787234pxjkTY','split','\x20more\x20failures','name','match','\x20\x20\x20\x20','7539DCFKUz','4024ForAlK','defineProperty','\x20failed,\x20','FAIL','startsWith','slice','\x20issues\x20found','\x20\x20...\x20+','join','410449kSeeJF','PASS','\x20more\x20lines','Go\x20vet:\x20no\x20issues\x20found','Go\x20test:\x20all\x20tests\x20passed','__esModule','2PaMnUC','230QAUQpY','Go\x20vet:\x20','1098342zEIhHo'];a0_0x2a3a=function(){return _0x5caf5d;};return a0_0x2a3a();}function a0_0xfd1a(_0x24d926,_0x2c41f0){_0x24d926=_0x24d926-0x11d;const _0x2a3ac2=a0_0x2a3a();let _0xfd1aec=_0x2a3ac2[_0x24d926];return _0xfd1aec;}Object[a0_0x172b78(0x136)](exports,a0_0x172b78(0x143),{'value':!![]}),exports['filterGoTest']=filterGoTest,exports[a0_0x172b78(0x14b)]=filterGoVet;function filterGoTest(_0x5bfeae){const _0x7b124f=a0_0x172b78,_0xe1f7c5=_0x5bfeae[_0x7b124f(0x12f)]('\x0a');let _0x8ddffe=0x0,_0x3df50d=0x0,_0x27ccb3=0x0;const _0x5c2f53=[],_0x22719c=[];let _0x273a61=null;for(const _0x225f68 of _0xe1f7c5){const _0x58c631=_0x225f68['trim'](),_0x23d3ed=_0x58c631[_0x7b124f(0x132)](/^ok\s+\S+\s+[\d.]+s/);if(_0x23d3ed){_0x22719c[_0x7b124f(0x11e)](_0x58c631);continue;}const _0x15176b=_0x58c631['match'](/^FAIL\s+\S+/);if(_0x15176b){_0x22719c[_0x7b124f(0x11e)](_0x58c631);continue;}const _0x54c35e=_0x58c631['match'](/^--- PASS:/);if(_0x54c35e){_0x8ddffe++;continue;}const _0x3a6243=_0x58c631[_0x7b124f(0x132)](/^--- FAIL:\s+(\S+)/);if(_0x3a6243){if(_0x273a61)_0x5c2f53[_0x7b124f(0x11e)](_0x273a61);_0x273a61={'name':_0x3a6243[0x1],'lines':[]},_0x3df50d++;continue;}if(_0x58c631[_0x7b124f(0x139)]('---\x20SKIP:')){_0x27ccb3++;continue;}_0x273a61&&_0x58c631['length']>0x0&&!_0x58c631[_0x7b124f(0x139)](_0x7b124f(0x128))&&_0x273a61[_0x7b124f(0x11f)]['push'](_0x225f68),_0x58c631[_0x7b124f(0x139)](_0x7b124f(0x128))&&(_0x273a61&&(_0x5c2f53[_0x7b124f(0x11e)](_0x273a61),_0x273a61=null));}if(_0x273a61)_0x5c2f53[_0x7b124f(0x11e)](_0x273a61);if(_0x8ddffe===0x0&&_0x3df50d===0x0&&_0x27ccb3===0x0){if(_0x5bfeae[_0x7b124f(0x123)](_0x7b124f(0x13f))&&!_0x5bfeae[_0x7b124f(0x123)](_0x7b124f(0x138)))return _0x7b124f(0x142);if(_0x5bfeae['includes']('no\x20test\x20files'))return _0x7b124f(0x129);return _0x5bfeae;}if(_0x3df50d===0x0){const _0x47e9d2=['Go\x20test:\x20'+_0x8ddffe+_0x7b124f(0x120)];if(_0x27ccb3>0x0)_0x47e9d2['push'](_0x27ccb3+_0x7b124f(0x12b));return _0x47e9d2[_0x7b124f(0x13d)](',\x20');}const _0x1827d3=[_0x7b124f(0x12a)+_0x8ddffe+_0x7b124f(0x12d)+_0x3df50d+_0x7b124f(0x137)+_0x27ccb3+_0x7b124f(0x12b)];if(_0x5c2f53[_0x7b124f(0x148)]>0x0){_0x1827d3[_0x7b124f(0x11e)](_0x7b124f(0x121));const _0x3aab96=0x3;for(let _0x56a782=0x0;_0x56a782<Math[_0x7b124f(0x125)](_0x5c2f53[_0x7b124f(0x148)],_0x3aab96);_0x56a782++){const _0x22af6c=_0x5c2f53[_0x56a782];_0x1827d3[_0x7b124f(0x11e)]('\x20\x20'+(_0x56a782+0x1)+'.\x20'+_0x22af6c[_0x7b124f(0x131)]);for(const _0x2ec98c of _0x22af6c[_0x7b124f(0x11f)][_0x7b124f(0x13a)](0x0,0x5)){_0x1827d3[_0x7b124f(0x11e)](_0x7b124f(0x133)+_0x2ec98c[_0x7b124f(0x12c)]());}_0x22af6c[_0x7b124f(0x11f)][_0x7b124f(0x148)]>0x5&&_0x1827d3['push'](_0x7b124f(0x11d)+(_0x22af6c[_0x7b124f(0x11f)][_0x7b124f(0x148)]-0x5)+_0x7b124f(0x140));}_0x5c2f53[_0x7b124f(0x148)]>_0x3aab96&&_0x1827d3[_0x7b124f(0x11e)](_0x7b124f(0x13c)+(_0x5c2f53[_0x7b124f(0x148)]-_0x3aab96)+_0x7b124f(0x130));}return _0x1827d3[_0x7b124f(0x13d)]('\x0a');}function filterGoVet(_0x16ecd6){const _0x551c6b=a0_0x172b78,_0x2bea38=_0x16ecd6['split']('\x0a')[_0x551c6b(0x127)](_0x1a4f65=>_0x1a4f65[_0x551c6b(0x12c)]()['length']>0x0);if(_0x2bea38[_0x551c6b(0x148)]===0x0)return _0x551c6b(0x141);if(_0x2bea38['length']<=0x14)return _0x16ecd6[_0x551c6b(0x12c)]();const _0x41a4c8=[_0x551c6b(0x146)+_0x2bea38[_0x551c6b(0x148)]+_0x551c6b(0x13b)];return _0x41a4c8[_0x551c6b(0x11e)](..._0x2bea38['slice'](0x0,0xa)),_0x2bea38[_0x551c6b(0x148)]>0xa&&_0x41a4c8[_0x551c6b(0x11e)](_0x551c6b(0x149)+(_0x2bea38[_0x551c6b(0x148)]-0xa)+'\x20more\x20issues'),_0x41a4c8[_0x551c6b(0x13d)]('\x0a');}
1
+ 'use strict';const a0_0x4575c7=a0_0x2328;(function(_0x20850c,_0x9062fb){const _0x42c4c0=a0_0x2328,_0x3c751c=_0x20850c();while(!![]){try{const _0x1d8e08=-parseInt(_0x42c4c0(0x145))/0x1+parseInt(_0x42c4c0(0x15e))/0x2*(-parseInt(_0x42c4c0(0x168))/0x3)+-parseInt(_0x42c4c0(0x163))/0x4*(-parseInt(_0x42c4c0(0x15c))/0x5)+-parseInt(_0x42c4c0(0x142))/0x6*(parseInt(_0x42c4c0(0x167))/0x7)+parseInt(_0x42c4c0(0x166))/0x8*(-parseInt(_0x42c4c0(0x152))/0x9)+parseInt(_0x42c4c0(0x160))/0xa+parseInt(_0x42c4c0(0x161))/0xb*(parseInt(_0x42c4c0(0x157))/0xc);if(_0x1d8e08===_0x9062fb)break;else _0x3c751c['push'](_0x3c751c['shift']());}catch(_0x432553){_0x3c751c['push'](_0x3c751c['shift']());}}}(a0_0xbcc8,0xc2e49));function a0_0xbcc8(){const _0x1c27cf=['includes','match','join','\x20\x20\x20\x20','9965lAzlQB','Go\x20vet:\x20','718upNogF','startsWith','15924360ZCFDxY','55fIgTdl','Go\x20test:\x20','820MAPHvz','lines','push','116704QfuwoB','21KJavQH','4602ceXPef','no\x20test\x20files','FAIL','...\x20+','\x20more\x20lines','---\x20SKIP:','2012616gArtrl','Go\x20test:\x20all\x20tests\x20passed','trim','1420295SDllWT','length','\x20skipped','\x20\x20...\x20+','filterGoVet','defineProperty','\x20\x20\x20\x20...\x20+','\x20more\x20failures','filterGoTest','\x20more\x20issues','\x20passed,\x20','\x0aFailures:','name','63uzLdvf','===\x20RUN','split','Go\x20test:\x20no\x20test\x20files','__esModule','4504092NUFYLm'];a0_0xbcc8=function(){return _0x1c27cf;};return a0_0xbcc8();}Object[a0_0x4575c7(0x14a)](exports,a0_0x4575c7(0x156),{'value':!![]}),exports[a0_0x4575c7(0x14d)]=filterGoTest,exports[a0_0x4575c7(0x149)]=filterGoVet;function a0_0x2328(_0xfa3d1b,_0x4dacb5){_0xfa3d1b=_0xfa3d1b-0x13f;const _0xbcc8b8=a0_0xbcc8();let _0x23284d=_0xbcc8b8[_0xfa3d1b];return _0x23284d;}function filterGoTest(_0x252bb1){const _0x17a9d1=a0_0x4575c7,_0x2be6a1=_0x252bb1['split']('\x0a');let _0x40e7c5=0x0,_0xa5095e=0x0,_0x56c37a=0x0;const _0x4aa876=[],_0x4f0f5e=[];let _0x59d375=null;for(const _0x346e10 of _0x2be6a1){const _0x229103=_0x346e10['trim'](),_0x135ffe=_0x229103[_0x17a9d1(0x159)](/^ok\s+\S+\s+[\d.]+s/);if(_0x135ffe){_0x4f0f5e[_0x17a9d1(0x165)](_0x229103);continue;}const _0x540f48=_0x229103[_0x17a9d1(0x159)](/^FAIL\s+\S+/);if(_0x540f48){_0x4f0f5e['push'](_0x229103);continue;}const _0x1e08a6=_0x229103[_0x17a9d1(0x159)](/^--- PASS:/);if(_0x1e08a6){_0x40e7c5++;continue;}const _0x345841=_0x229103[_0x17a9d1(0x159)](/^--- FAIL:\s+(\S+)/);if(_0x345841){if(_0x59d375)_0x4aa876[_0x17a9d1(0x165)](_0x59d375);_0x59d375={'name':_0x345841[0x1],'lines':[]},_0xa5095e++;continue;}if(_0x229103[_0x17a9d1(0x15f)](_0x17a9d1(0x141))){_0x56c37a++;continue;}_0x59d375&&_0x229103[_0x17a9d1(0x146)]>0x0&&!_0x229103['startsWith'](_0x17a9d1(0x153))&&_0x59d375[_0x17a9d1(0x164)][_0x17a9d1(0x165)](_0x346e10),_0x229103[_0x17a9d1(0x15f)](_0x17a9d1(0x153))&&(_0x59d375&&(_0x4aa876[_0x17a9d1(0x165)](_0x59d375),_0x59d375=null));}if(_0x59d375)_0x4aa876[_0x17a9d1(0x165)](_0x59d375);if(_0x40e7c5===0x0&&_0xa5095e===0x0&&_0x56c37a===0x0){if(_0x252bb1['includes']('PASS')&&!_0x252bb1['includes'](_0x17a9d1(0x16a)))return _0x17a9d1(0x143);if(_0x252bb1[_0x17a9d1(0x158)](_0x17a9d1(0x169)))return _0x17a9d1(0x155);return _0x252bb1;}if(_0xa5095e===0x0){const _0xa6844=['Go\x20test:\x20'+_0x40e7c5+'\x20passed'];if(_0x56c37a>0x0)_0xa6844[_0x17a9d1(0x165)](_0x56c37a+'\x20skipped');return _0xa6844[_0x17a9d1(0x15a)](',\x20');}const _0x49ebe3=[_0x17a9d1(0x162)+_0x40e7c5+_0x17a9d1(0x14f)+_0xa5095e+'\x20failed,\x20'+_0x56c37a+_0x17a9d1(0x147)];if(_0x4aa876[_0x17a9d1(0x146)]>0x0){_0x49ebe3[_0x17a9d1(0x165)](_0x17a9d1(0x150));const _0x4cb02c=0x3;for(let _0x550767=0x0;_0x550767<Math['min'](_0x4aa876[_0x17a9d1(0x146)],_0x4cb02c);_0x550767++){const _0x348eb1=_0x4aa876[_0x550767];_0x49ebe3[_0x17a9d1(0x165)]('\x20\x20'+(_0x550767+0x1)+'.\x20'+_0x348eb1[_0x17a9d1(0x151)]);for(const _0x18e3d1 of _0x348eb1['lines']['slice'](0x0,0x5)){_0x49ebe3[_0x17a9d1(0x165)](_0x17a9d1(0x15b)+_0x18e3d1['trim']());}_0x348eb1[_0x17a9d1(0x164)][_0x17a9d1(0x146)]>0x5&&_0x49ebe3[_0x17a9d1(0x165)](_0x17a9d1(0x14b)+(_0x348eb1['lines']['length']-0x5)+_0x17a9d1(0x140));}_0x4aa876['length']>_0x4cb02c&&_0x49ebe3[_0x17a9d1(0x165)](_0x17a9d1(0x148)+(_0x4aa876[_0x17a9d1(0x146)]-_0x4cb02c)+_0x17a9d1(0x14c));}return _0x49ebe3['join']('\x0a');}function filterGoVet(_0x52e47e){const _0x3958ac=a0_0x4575c7,_0x4eec32=_0x52e47e[_0x3958ac(0x154)]('\x0a')['filter'](_0x43f477=>_0x43f477[_0x3958ac(0x144)]()[_0x3958ac(0x146)]>0x0);if(_0x4eec32[_0x3958ac(0x146)]===0x0)return'Go\x20vet:\x20no\x20issues\x20found';if(_0x4eec32['length']<=0x14)return _0x52e47e[_0x3958ac(0x144)]();const _0x107ba2=[_0x3958ac(0x15d)+_0x4eec32['length']+'\x20issues\x20found'];return _0x107ba2['push'](..._0x4eec32['slice'](0x0,0xa)),_0x4eec32['length']>0xa&&_0x107ba2[_0x3958ac(0x165)](_0x3958ac(0x13f)+(_0x4eec32[_0x3958ac(0x146)]-0xa)+_0x3958ac(0x14e)),_0x107ba2['join']('\x0a');}
package/filters/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x236a9b=a0_0x538f;(function(_0x144966,_0x25bf86){const _0x3a2619=a0_0x538f,_0x4c48b1=_0x144966();while(!![]){try{const _0x22097a=-parseInt(_0x3a2619(0x13a))/0x1*(-parseInt(_0x3a2619(0x114))/0x2)+-parseInt(_0x3a2619(0x10d))/0x3*(-parseInt(_0x3a2619(0xfd))/0x4)+parseInt(_0x3a2619(0x113))/0x5+-parseInt(_0x3a2619(0xfc))/0x6*(parseInt(_0x3a2619(0x110))/0x7)+parseInt(_0x3a2619(0xf5))/0x8+parseInt(_0x3a2619(0x129))/0x9*(-parseInt(_0x3a2619(0x14f))/0xa)+-parseInt(_0x3a2619(0x135))/0xb;if(_0x22097a===_0x25bf86)break;else _0x4c48b1['push'](_0x4c48b1['shift']());}catch(_0x4b672b){_0x4c48b1['push'](_0x4c48b1['shift']());}}}(a0_0x1a6f,0xed38d));function a0_0x1a6f(){const _0x450cce=['json_crusher','filterCat','pnpm\x20install','redactor','startsWith','trim','1229061vwREDH','go\x20vet','ansi_strip','315YoFMhY','pytest','redact','5250355hZjjvz','7466icllkk','trim\x20ls','trim\x20npx','./git','collapseWhitespace','filterLs','kubectl','git\x20status','vitest','./js','go\x20test','yadm\x20status','cargo\x20clippy','\x20tree\x20','ruff\x20','trim\x20kubectl','filter','trim\x20npm','./rust','features_enabled','trim\x20','6841377LpljBk','[lock\x20file]','endsWith','some','lines\x20truncated','binary','pip3\x20install','get','yarn\x20install','filterJestVitest','\x20ls','length','7811925oLADNx','compressOutput','../redactor','filterCargoBuild','filterGitLog','186YIwVCp','match','trim\x20ruff','lastFeatures','redactWithAudit','filterGoTest','softTruncate','trim\x20grep','lock','trim\x20find','[binary','jest','npm\x20i\x20','defineProperty','git\x20log','cargo\x20check','pattern','npm\x20i','rewriteCommand','trim\x20glab','filterKubectl','10xvyPvh','pnpm\x20test','filterNpmInstall','npm\x20install','yarn\x20test','[minified\x20file]','trim\x20cargo','trim\x20git','filterCargoTest','text','\x20tree','lastRedactAudit','4962104VZgECS','trim\x20pnpm','./go','\x20ls\x20','tracker','includes','filterTree','44316PKSQQS','4lFOknP','secretsFound','filterGitStatus','push','trim\x20pip','whitespace','./shell','git\x20show','trim\x20read','yadm\x20log'];a0_0x1a6f=function(){return _0x450cce;};return a0_0x1a6f();}Object[a0_0x236a9b(0x147)](exports,'__esModule',{'value':!![]}),exports[a0_0x236a9b(0x13d)]=exports[a0_0x236a9b(0xf4)]=void 0x0,exports[a0_0x236a9b(0x136)]=compressOutput,exports[a0_0x236a9b(0x14c)]=rewriteCommand;const generic_1=require('./generic'),git_1=require(a0_0x236a9b(0x117)),python_1=require('./python'),js_1=require(a0_0x236a9b(0x11d)),shell_1=require(a0_0x236a9b(0x103)),rust_1=require(a0_0x236a9b(0x126)),go_1=require(a0_0x236a9b(0xf7)),devops_1=require('./devops'),redactor_1=require(a0_0x236a9b(0x137)),tracker_1=require('../tracker');exports['lastRedactAudit']={'secretsFound':0x0,'secretTypes':[]},exports[a0_0x236a9b(0x13d)]=[];function isFeatureEnabled(_0x555ad0){const _0x13bf57=a0_0x236a9b;try{const _0x2202cf=tracker_1[_0x13bf57(0xf9)]['getConfig'](),_0x1cf884=_0x2202cf[_0x13bf57(0x127)];if(!_0x1cf884||_0x1cf884[_0x555ad0]===undefined)return!![];return _0x1cf884[_0x555ad0]!==![];}catch{return!![];}}function compressOutput(_0x3a463d,_0x33c309,_0x17a8b2,_0x51c806=!![]){const _0x40e17=a0_0x236a9b,_0x1da175=_0x3a463d[_0x40e17(0x10c)]();let _0x3dceb8=_0x33c309;_0x17a8b2[_0x40e17(0x10c)]()[_0x40e17(0x134)]>0x0&&(_0x3dceb8=_0x33c309+'\x0a'+_0x17a8b2);let _0x4cdee8=isFeatureEnabled(_0x40e17(0x10f))?(0x0,generic_1['stripAnsi'])(_0x3dceb8):_0x3dceb8;const _0x541fb1=[];if(_0x4cdee8[_0x40e17(0x134)]<_0x3dceb8[_0x40e17(0x134)])_0x541fb1[_0x40e17(0x100)]('ansi_strip');const _0x5117d8=(_0x434b81,_0x402b19)=>{const _0x5b172c=_0x40e17;return _0x541fb1[_0x5b172c(0x100)](_0x434b81),exports['lastFeatures']=_0x541fb1,_0x402b19;};if(_0x51c806&&isFeatureEnabled('redact')){const _0x5b63f6=redactor_1[_0x40e17(0x10a)][_0x40e17(0x13e)](_0x4cdee8);_0x4cdee8=_0x5b63f6[_0x40e17(0xf2)],exports[_0x40e17(0xf4)]={'secretsFound':_0x5b63f6['secretsFound'],'secretTypes':_0x5b63f6['secretTypes']};if(_0x5b63f6[_0x40e17(0xfe)]>0x0)_0x541fb1[_0x40e17(0x100)](_0x40e17(0x112));}else exports['lastRedactAudit']={'secretsFound':0x0,'secretTypes':[]};const _0x9ea65f=_0x1da175['toLowerCase'](),_0x27c3ce=isFeatureEnabled(_0x40e17(0x124));try{if(_0x27c3ce){if(_0x9ea65f['includes'](_0x40e17(0x11b))||_0x9ea65f[_0x40e17(0xfa)](_0x40e17(0x11f)))return _0x5117d8('filter',(0x0,git_1[_0x40e17(0xff)])(_0x4cdee8));if(_0x9ea65f['includes'](_0x40e17(0x148))||_0x9ea65f[_0x40e17(0xfa)](_0x40e17(0x106)))return _0x5117d8(_0x40e17(0x124),(0x0,git_1[_0x40e17(0x139)])(_0x4cdee8));if(_0x9ea65f[_0x40e17(0xfa)]('git\x20diff')||_0x9ea65f[_0x40e17(0xfa)](_0x40e17(0x104))||_0x9ea65f['includes']('yadm\x20diff'))return _0x5117d8(_0x40e17(0x124),(0x0,git_1['filterGitDiff'])(_0x4cdee8));if(_0x9ea65f['includes'](_0x40e17(0x111))||_0x9ea65f[_0x40e17(0x13b)](/python3?\s+-m\s+pytest/))return _0x5117d8(_0x40e17(0x124),(0x0,python_1['filterPytest'])(_0x4cdee8));if(_0x9ea65f[_0x40e17(0xfa)]('pip\x20install')||_0x9ea65f['includes'](_0x40e17(0x12f)))return _0x5117d8(_0x40e17(0x124),(0x0,python_1['filterPipInstall'])(_0x4cdee8));if(_0x9ea65f[_0x40e17(0xfa)]('ruff\x20check')||_0x9ea65f[_0x40e17(0xfa)](_0x40e17(0x122)))return _0x5117d8(_0x40e17(0x124),(0x0,devops_1['filterRuff'])(_0x4cdee8));if(_0x9ea65f[_0x40e17(0xfa)](_0x40e17(0xec))||_0x9ea65f[_0x40e17(0xfa)](_0x40e17(0x146))||_0x9ea65f[_0x40e17(0x12b)](_0x40e17(0x14b))||_0x9ea65f['includes'](_0x40e17(0x109))||_0x9ea65f[_0x40e17(0xfa)](_0x40e17(0x131)))return _0x5117d8(_0x40e17(0x124),(0x0,js_1[_0x40e17(0xeb)])(_0x4cdee8));if(_0x9ea65f[_0x40e17(0xfa)](_0x40e17(0x145))||_0x9ea65f[_0x40e17(0xfa)](_0x40e17(0x11c)))return _0x5117d8(_0x40e17(0x124),(0x0,js_1[_0x40e17(0x132)])(_0x4cdee8));if(_0x9ea65f[_0x40e17(0xfa)]('npm\x20test')||_0x9ea65f[_0x40e17(0xfa)](_0x40e17(0x150))||_0x9ea65f[_0x40e17(0xfa)](_0x40e17(0xed))||_0x9ea65f[_0x40e17(0xfa)]('npm\x20run\x20test'))return _0x5117d8(_0x40e17(0x124),(0x0,js_1[_0x40e17(0x132)])(_0x4cdee8));if(_0x9ea65f[_0x40e17(0xfa)]('cargo\x20test'))return _0x5117d8('filter',(0x0,rust_1[_0x40e17(0xf1)])(_0x4cdee8));if(_0x9ea65f[_0x40e17(0xfa)]('cargo\x20build')||_0x9ea65f[_0x40e17(0xfa)](_0x40e17(0x149))||_0x9ea65f[_0x40e17(0xfa)](_0x40e17(0x120)))return _0x5117d8('filter',(0x0,rust_1[_0x40e17(0x138)])(_0x4cdee8));if(_0x9ea65f['includes'](_0x40e17(0x11e)))return _0x5117d8(_0x40e17(0x124),(0x0,go_1[_0x40e17(0x13f)])(_0x4cdee8));if(_0x9ea65f['includes'](_0x40e17(0x10e)))return _0x5117d8(_0x40e17(0x124),(0x0,go_1['filterGoVet'])(_0x4cdee8));if(_0x9ea65f[_0x40e17(0x13b)](/docker\s+ps/))return _0x5117d8(_0x40e17(0x124),(0x0,devops_1['filterDockerPs'])(_0x4cdee8));if(_0x9ea65f[_0x40e17(0x13b)](/docker\s+images/))return _0x5117d8(_0x40e17(0x124),(0x0,devops_1['filterDockerImages'])(_0x4cdee8));if(_0x9ea65f[_0x40e17(0x13b)](/docker\s+logs/))return _0x5117d8(_0x40e17(0x124),(0x0,devops_1['filterDockerLogs'])(_0x4cdee8));if(_0x9ea65f['includes'](_0x40e17(0x11a))){const _0x16e5fc=_0x9ea65f[_0x40e17(0x13b)](/kubectl\s+(get|logs|describe|apply)/),_0x55223a=_0x16e5fc?_0x16e5fc[0x1]:_0x40e17(0x130);return _0x5117d8('filter',(0x0,devops_1[_0x40e17(0x14e)])(_0x4cdee8,_0x55223a));}if(_0x9ea65f[_0x40e17(0x13b)](/^(ls|dir)(\s|$)/)||_0x9ea65f[_0x40e17(0xfa)](_0x40e17(0xf8))||_0x9ea65f[_0x40e17(0x12b)](_0x40e17(0x133)))return _0x5117d8('filter',(0x0,shell_1[_0x40e17(0x119)])(_0x4cdee8));if(_0x9ea65f[_0x40e17(0x13b)](/^tree(\s|$)/)||_0x9ea65f[_0x40e17(0xfa)](_0x40e17(0x121))||_0x9ea65f[_0x40e17(0x12b)](_0x40e17(0xf3)))return _0x5117d8(_0x40e17(0x124),(0x0,shell_1[_0x40e17(0xfb)])(_0x4cdee8));if(_0x9ea65f[_0x40e17(0x13b)](/^(cat|head|tail|read|bat)(\s|$)/)){const _0x6484b3=(0x0,shell_1[_0x40e17(0x108)])(_0x4cdee8,_0x1da175);if(_0x6484b3['includes'](_0x40e17(0x12a)))_0x541fb1[_0x40e17(0x100)](_0x40e17(0x142));else{if(_0x6484b3[_0x40e17(0xfa)](_0x40e17(0x144))||_0x6484b3[_0x40e17(0xfa)](_0x40e17(0xee)))_0x541fb1[_0x40e17(0x100)](_0x40e17(0x12e));else{if(_0x6484b3[_0x40e17(0xfa)]('[code\x20skeleton]'))_0x541fb1[_0x40e17(0x100)]('skeleton');else{if(_0x6484b3[_0x40e17(0xfa)]('|\x20')&&_0x6484b3[_0x40e17(0xfa)]('---')&&_0x6484b3[_0x40e17(0x134)]<_0x4cdee8[_0x40e17(0x134)]*0.5)_0x541fb1['push'](_0x40e17(0x107));else{if(_0x6484b3[_0x40e17(0xfa)](_0x40e17(0x12d)))_0x541fb1[_0x40e17(0x100)]('filter');}}}}if(_0x6484b3['length']<_0x4cdee8[_0x40e17(0x134)]&&!_0x541fb1[_0x40e17(0x12c)](_0xaf9776=>_0xaf9776!==_0x40e17(0x10f)&&_0xaf9776!==_0x40e17(0x112)))_0x541fb1[_0x40e17(0x100)](_0x40e17(0x124));return exports[_0x40e17(0x13d)]=_0x541fb1,_0x6484b3;}if(_0x9ea65f[_0x40e17(0x13b)](/^find(\s|$)/))return _0x5117d8(_0x40e17(0x124),(0x0,shell_1['filterFind'])(_0x4cdee8));if(_0x9ea65f[_0x40e17(0x13b)](/^(grep|rg|ripgrep)(\s|$)/))return _0x5117d8(_0x40e17(0x124),(0x0,shell_1['filterGrep'])(_0x4cdee8));}}catch(_0x9db3c7){}return isFeatureEnabled(_0x40e17(0x102))&&(_0x4cdee8=(0x0,generic_1[_0x40e17(0x118)])(_0x4cdee8),_0x541fb1[_0x40e17(0x100)](_0x40e17(0x102))),_0x4cdee8=(0x0,generic_1['collapseDuplicates'])(_0x4cdee8),_0x4cdee8=(0x0,generic_1[_0x40e17(0x140)])(_0x4cdee8,0x4e20),exports['lastFeatures']=_0x541fb1,_0x4cdee8;}function a0_0x538f(_0x145b67,_0xbd9e86){_0x145b67=_0x145b67-0xeb;const _0x1a6f1a=a0_0x1a6f();let _0x538f6f=_0x1a6f1a[_0x145b67];return _0x538f6f;}const REWRITE_RULES=[{'pattern':/^(?:git|yadm)\s+(?:-[Cc]\s+\S+\s+)*(status|log|diff|show|add|commit|push|pull|branch|fetch|stash|worktree)/,'prefix':a0_0x236a9b(0xf0)},{'pattern':/^gh\s+(pr|issue|run|repo|api|release)/,'prefix':'trim\x20gh'},{'pattern':/^glab\s+(mr|issue|ci|pipeline|api|release)/,'prefix':a0_0x236a9b(0x14d)},{'pattern':/^cargo\s+(build|test|clippy|check|fmt|install)/,'prefix':a0_0x236a9b(0xef)},{'pattern':/^pnpm\s+(exec|i|install|list|ls|outdated|run|run-script)/,'prefix':a0_0x236a9b(0xf6)},{'pattern':/^npm\s+(exec|run|run-script|rum|urn|x|test)(\s|$)/,'prefix':a0_0x236a9b(0x125)},{'pattern':/^npx\s+/,'prefix':a0_0x236a9b(0x116)},{'pattern':/^(cat|head|tail)\s+/,'prefix':a0_0x236a9b(0x105)},{'pattern':/^(rg|grep)\s+/,'prefix':a0_0x236a9b(0x141)},{'pattern':/^ls(\s|$)/,'prefix':a0_0x236a9b(0x115)},{'pattern':/^tree(\s|$)/,'prefix':'trim\x20tree'},{'pattern':/^find\s+/,'prefix':a0_0x236a9b(0x143)},{'pattern':/^docker\s+(ps|images|logs|run|exec|build|compose)/,'prefix':'trim\x20docker'},{'pattern':/^kubectl\s+(get|logs|describe|apply)/,'prefix':a0_0x236a9b(0x123)},{'pattern':/^(python3?\s+-m\s+)?pytest(\s|$)/,'prefix':'trim\x20pytest'},{'pattern':/^ruff\s+(check|format)/,'prefix':a0_0x236a9b(0x13c)},{'pattern':/^(pip3?|uv\s+pip)\s+(list|outdated|install|show)/,'prefix':a0_0x236a9b(0x101)},{'pattern':/^go\s+(test|build|vet)/,'prefix':'trim\x20go'}];function rewriteCommand(_0x410729){const _0xb38259=a0_0x236a9b,_0x2a7f91=_0x410729[_0xb38259(0x10c)]();if(_0x2a7f91[_0xb38259(0x10b)](_0xb38259(0x128)))return _0x2a7f91;for(const _0x3afd69 of REWRITE_RULES){if(_0x3afd69[_0xb38259(0x14a)]['test'](_0x2a7f91))return _0xb38259(0x128)+_0x2a7f91;}return _0x2a7f91;}
1
+ 'use strict';const a0_0x7c7992=a0_0x5940;(function(_0x2634ec,_0x3d3fd5){const _0x1bce72=a0_0x5940,_0x2dc58f=_0x2634ec();while(!![]){try{const _0x5a731a=parseInt(_0x1bce72(0x12e))/0x1+parseInt(_0x1bce72(0x10a))/0x2+-parseInt(_0x1bce72(0x154))/0x3+parseInt(_0x1bce72(0x117))/0x4*(-parseInt(_0x1bce72(0x129))/0x5)+parseInt(_0x1bce72(0xfd))/0x6*(-parseInt(_0x1bce72(0x13d))/0x7)+-parseInt(_0x1bce72(0x13f))/0x8*(parseInt(_0x1bce72(0x14d))/0x9)+-parseInt(_0x1bce72(0x137))/0xa*(-parseInt(_0x1bce72(0x15f))/0xb);if(_0x5a731a===_0x3d3fd5)break;else _0x2dc58f['push'](_0x2dc58f['shift']());}catch(_0x3441b4){_0x2dc58f['push'](_0x2dc58f['shift']());}}}(a0_0x1b72,0x23a46));Object['defineProperty'](exports,a0_0x7c7992(0x144),{'value':!![]}),exports['lastFeatures']=exports[a0_0x7c7992(0x118)]=void 0x0,exports['compressOutput']=compressOutput,exports[a0_0x7c7992(0x101)]=rewriteCommand;const generic_1=require(a0_0x7c7992(0x16f)),git_1=require(a0_0x7c7992(0x124)),python_1=require('./python'),js_1=require(a0_0x7c7992(0x162)),shell_1=require(a0_0x7c7992(0x12a)),rust_1=require('./rust'),go_1=require(a0_0x7c7992(0x106)),devops_1=require(a0_0x7c7992(0x10c)),redactor_1=require('../redactor'),tracker_1=require('../tracker');exports[a0_0x7c7992(0x118)]={'secretsFound':0x0,'secretTypes':[]},exports[a0_0x7c7992(0x156)]=[];function isFeatureEnabled(_0x4e7dd0){const _0x214d5f=a0_0x7c7992;try{const _0x5c4e17=tracker_1[_0x214d5f(0x138)][_0x214d5f(0x11a)](),_0x3eca46=_0x5c4e17[_0x214d5f(0x108)];if(!_0x3eca46||_0x3eca46[_0x4e7dd0]===undefined)return!![];return _0x3eca46[_0x4e7dd0]!==![];}catch{return!![];}}function a0_0x1b72(){const _0x29542b=['[binary','filterPipInstall','json_crusher','cargo\x20build','pnpm\x20install','filterKubectl','./generic','test','filterCargoTest','306JBbFyq','filterCat','trim','collapseWhitespace','rewriteCommand','yadm\x20status','startsWith','filterGitLog','trim\x20pip','./go','trim\x20cargo','features_enabled','---','534336pxCDTe','[lock\x20file]','./devops','trim\x20find','pytest','npm\x20test','\x20ls\x20','trim\x20pnpm','ruff\x20','\x20ls','[minified\x20file]','filterTree','length','8nphBnu','lastRedactAudit','yadm\x20log','getConfig','vitest','trim\x20git','pattern','kubectl','get','git\x20status','cargo\x20clippy','some','trim\x20ruff','./git','trim\x20read','ruff\x20check','softTruncate','trim\x20docker','40710RvuxuO','./shell','match','trim\x20npx','endsWith','80413JRoeHN','jest','pnpm\x20test','yarn\x20test','filterPytest','yarn\x20install','trim\x20','ansi_strip','filterDockerLogs','310ACtBOy','tracker','cargo\x20test','filterDockerPs','collapseDuplicates','go\x20test','13895FCvkyB','filterFind','216hwTrFQ','trim\x20gh','filter','[code\x20skeleton]','redactWithAudit','__esModule','trim\x20pytest','filterCargoBuild','filterJestVitest','go\x20vet','trim\x20ls','filterGoVet','text','lock','92727jkQAvo','filterGitStatus','npm\x20i','filterNpmInstall','secretsFound','npm\x20i\x20','git\x20show','316518bJEVGb','trim\x20npm','lastFeatures','redact','whitespace','filterLs','trim\x20go','trim\x20glab','pip3\x20install','trim\x20tree','skeleton','106315sAcPAG','filterDockerImages','includes','./js','pip\x20install','yadm\x20diff','push','secretTypes','redactor','trim\x20grep'];a0_0x1b72=function(){return _0x29542b;};return a0_0x1b72();}function a0_0x5940(_0x29608a,_0xcf0e05){_0x29608a=_0x29608a-0xfb;const _0x1b728d=a0_0x1b72();let _0x59407f=_0x1b728d[_0x29608a];return _0x59407f;}function compressOutput(_0x365af2,_0x585e10,_0x33fee3,_0x1f0a4c=!![]){const _0x2cb73e=a0_0x7c7992,_0x57cf5d=_0x365af2['trim']();let _0x18ca5a=_0x585e10;_0x33fee3[_0x2cb73e(0xff)]()['length']>0x0&&(_0x18ca5a=_0x585e10+'\x0a'+_0x33fee3);let _0xf31fb9=isFeatureEnabled(_0x2cb73e(0x135))?(0x0,generic_1['stripAnsi'])(_0x18ca5a):_0x18ca5a;const _0x392367=[];if(_0xf31fb9[_0x2cb73e(0x116)]<_0x18ca5a['length'])_0x392367[_0x2cb73e(0x165)](_0x2cb73e(0x135));const _0x52714d=(_0x2ca761,_0x2a4438)=>{const _0x3c9b95=_0x2cb73e;return _0x392367[_0x3c9b95(0x165)](_0x2ca761),exports['lastFeatures']=_0x392367,_0x2a4438;};if(_0x1f0a4c&&isFeatureEnabled(_0x2cb73e(0x157))){const _0x398461=redactor_1[_0x2cb73e(0x167)][_0x2cb73e(0x143)](_0xf31fb9);_0xf31fb9=_0x398461[_0x2cb73e(0x14b)],exports[_0x2cb73e(0x118)]={'secretsFound':_0x398461[_0x2cb73e(0x151)],'secretTypes':_0x398461[_0x2cb73e(0x166)]};if(_0x398461[_0x2cb73e(0x151)]>0x0)_0x392367[_0x2cb73e(0x165)](_0x2cb73e(0x157));}else exports['lastRedactAudit']={'secretsFound':0x0,'secretTypes':[]};const _0xc37d87=_0x57cf5d['toLowerCase'](),_0x29f9e8=isFeatureEnabled(_0x2cb73e(0x141));try{if(_0x29f9e8){if(_0xc37d87[_0x2cb73e(0x161)](_0x2cb73e(0x120))||_0xc37d87[_0x2cb73e(0x161)](_0x2cb73e(0x102)))return _0x52714d(_0x2cb73e(0x141),(0x0,git_1[_0x2cb73e(0x14e)])(_0xf31fb9));if(_0xc37d87[_0x2cb73e(0x161)]('git\x20log')||_0xc37d87['includes'](_0x2cb73e(0x119)))return _0x52714d(_0x2cb73e(0x141),(0x0,git_1[_0x2cb73e(0x104)])(_0xf31fb9));if(_0xc37d87['includes']('git\x20diff')||_0xc37d87[_0x2cb73e(0x161)](_0x2cb73e(0x153))||_0xc37d87[_0x2cb73e(0x161)](_0x2cb73e(0x164)))return _0x52714d('filter',(0x0,git_1['filterGitDiff'])(_0xf31fb9));if(_0xc37d87[_0x2cb73e(0x161)](_0x2cb73e(0x10e))||_0xc37d87[_0x2cb73e(0x12b)](/python3?\s+-m\s+pytest/))return _0x52714d(_0x2cb73e(0x141),(0x0,python_1[_0x2cb73e(0x132)])(_0xf31fb9));if(_0xc37d87['includes'](_0x2cb73e(0x163))||_0xc37d87[_0x2cb73e(0x161)](_0x2cb73e(0x15c)))return _0x52714d(_0x2cb73e(0x141),(0x0,python_1[_0x2cb73e(0x16a)])(_0xf31fb9));if(_0xc37d87[_0x2cb73e(0x161)](_0x2cb73e(0x126))||_0xc37d87['includes'](_0x2cb73e(0x112)))return _0x52714d('filter',(0x0,devops_1['filterRuff'])(_0xf31fb9));if(_0xc37d87[_0x2cb73e(0x161)]('npm\x20install')||_0xc37d87[_0x2cb73e(0x161)](_0x2cb73e(0x152))||_0xc37d87[_0x2cb73e(0x12d)](_0x2cb73e(0x14f))||_0xc37d87['includes'](_0x2cb73e(0x16d))||_0xc37d87[_0x2cb73e(0x161)](_0x2cb73e(0x133)))return _0x52714d(_0x2cb73e(0x141),(0x0,js_1[_0x2cb73e(0x150)])(_0xf31fb9));if(_0xc37d87['includes'](_0x2cb73e(0x12f))||_0xc37d87['includes'](_0x2cb73e(0x11b)))return _0x52714d('filter',(0x0,js_1[_0x2cb73e(0x147)])(_0xf31fb9));if(_0xc37d87[_0x2cb73e(0x161)](_0x2cb73e(0x10f))||_0xc37d87['includes'](_0x2cb73e(0x130))||_0xc37d87[_0x2cb73e(0x161)](_0x2cb73e(0x131))||_0xc37d87[_0x2cb73e(0x161)]('npm\x20run\x20test'))return _0x52714d('filter',(0x0,js_1[_0x2cb73e(0x147)])(_0xf31fb9));if(_0xc37d87['includes'](_0x2cb73e(0x139)))return _0x52714d(_0x2cb73e(0x141),(0x0,rust_1[_0x2cb73e(0xfc)])(_0xf31fb9));if(_0xc37d87[_0x2cb73e(0x161)](_0x2cb73e(0x16c))||_0xc37d87[_0x2cb73e(0x161)]('cargo\x20check')||_0xc37d87[_0x2cb73e(0x161)](_0x2cb73e(0x121)))return _0x52714d(_0x2cb73e(0x141),(0x0,rust_1[_0x2cb73e(0x146)])(_0xf31fb9));if(_0xc37d87['includes'](_0x2cb73e(0x13c)))return _0x52714d(_0x2cb73e(0x141),(0x0,go_1['filterGoTest'])(_0xf31fb9));if(_0xc37d87['includes'](_0x2cb73e(0x148)))return _0x52714d(_0x2cb73e(0x141),(0x0,go_1[_0x2cb73e(0x14a)])(_0xf31fb9));if(_0xc37d87['match'](/docker\s+ps/))return _0x52714d('filter',(0x0,devops_1[_0x2cb73e(0x13a)])(_0xf31fb9));if(_0xc37d87['match'](/docker\s+images/))return _0x52714d(_0x2cb73e(0x141),(0x0,devops_1[_0x2cb73e(0x160)])(_0xf31fb9));if(_0xc37d87[_0x2cb73e(0x12b)](/docker\s+logs/))return _0x52714d('filter',(0x0,devops_1[_0x2cb73e(0x136)])(_0xf31fb9));if(_0xc37d87[_0x2cb73e(0x161)](_0x2cb73e(0x11e))){const _0x15127e=_0xc37d87[_0x2cb73e(0x12b)](/kubectl\s+(get|logs|describe|apply)/),_0x5add7a=_0x15127e?_0x15127e[0x1]:_0x2cb73e(0x11f);return _0x52714d('filter',(0x0,devops_1[_0x2cb73e(0x16e)])(_0xf31fb9,_0x5add7a));}if(_0xc37d87['match'](/^(ls|dir)(\s|$)/)||_0xc37d87[_0x2cb73e(0x161)](_0x2cb73e(0x110))||_0xc37d87['endsWith'](_0x2cb73e(0x113)))return _0x52714d('filter',(0x0,shell_1[_0x2cb73e(0x159)])(_0xf31fb9));if(_0xc37d87['match'](/^tree(\s|$)/)||_0xc37d87[_0x2cb73e(0x161)]('\x20tree\x20')||_0xc37d87['endsWith']('\x20tree'))return _0x52714d('filter',(0x0,shell_1[_0x2cb73e(0x115)])(_0xf31fb9));if(_0xc37d87['match'](/^(cat|head|tail|read|bat)(\s|$)/)){const _0x5d7104=(0x0,shell_1[_0x2cb73e(0xfe)])(_0xf31fb9,_0x57cf5d);if(_0x5d7104[_0x2cb73e(0x161)](_0x2cb73e(0x10b)))_0x392367[_0x2cb73e(0x165)](_0x2cb73e(0x14c));else{if(_0x5d7104[_0x2cb73e(0x161)](_0x2cb73e(0x169))||_0x5d7104[_0x2cb73e(0x161)](_0x2cb73e(0x114)))_0x392367[_0x2cb73e(0x165)]('binary');else{if(_0x5d7104['includes'](_0x2cb73e(0x142)))_0x392367[_0x2cb73e(0x165)](_0x2cb73e(0x15e));else{if(_0x5d7104['includes']('|\x20')&&_0x5d7104[_0x2cb73e(0x161)](_0x2cb73e(0x109))&&_0x5d7104[_0x2cb73e(0x116)]<_0xf31fb9[_0x2cb73e(0x116)]*0.5)_0x392367[_0x2cb73e(0x165)](_0x2cb73e(0x16b));else{if(_0x5d7104[_0x2cb73e(0x161)]('lines\x20truncated'))_0x392367[_0x2cb73e(0x165)](_0x2cb73e(0x141));}}}}if(_0x5d7104['length']<_0xf31fb9[_0x2cb73e(0x116)]&&!_0x392367[_0x2cb73e(0x122)](_0x2ec68f=>_0x2ec68f!==_0x2cb73e(0x135)&&_0x2ec68f!==_0x2cb73e(0x157)))_0x392367[_0x2cb73e(0x165)](_0x2cb73e(0x141));return exports['lastFeatures']=_0x392367,_0x5d7104;}if(_0xc37d87[_0x2cb73e(0x12b)](/^find(\s|$)/))return _0x52714d(_0x2cb73e(0x141),(0x0,shell_1[_0x2cb73e(0x13e)])(_0xf31fb9));if(_0xc37d87['match'](/^(grep|rg|ripgrep)(\s|$)/))return _0x52714d(_0x2cb73e(0x141),(0x0,shell_1['filterGrep'])(_0xf31fb9));}}catch(_0x52ae41){}return isFeatureEnabled(_0x2cb73e(0x158))&&(_0xf31fb9=(0x0,generic_1[_0x2cb73e(0x100)])(_0xf31fb9),_0x392367[_0x2cb73e(0x165)](_0x2cb73e(0x158))),_0xf31fb9=(0x0,generic_1[_0x2cb73e(0x13b)])(_0xf31fb9),_0xf31fb9=(0x0,generic_1[_0x2cb73e(0x127)])(_0xf31fb9,0x4e20),exports[_0x2cb73e(0x156)]=_0x392367,_0xf31fb9;}const REWRITE_RULES=[{'pattern':/^(?:git|yadm)\s+(?:-[Cc]\s+\S+\s+)*(status|log|diff|show|add|commit|push|pull|branch|fetch|stash|worktree)/,'prefix':a0_0x7c7992(0x11c)},{'pattern':/^gh\s+(pr|issue|run|repo|api|release)/,'prefix':a0_0x7c7992(0x140)},{'pattern':/^glab\s+(mr|issue|ci|pipeline|api|release)/,'prefix':a0_0x7c7992(0x15b)},{'pattern':/^cargo\s+(build|test|clippy|check|fmt|install)/,'prefix':a0_0x7c7992(0x107)},{'pattern':/^pnpm\s+(exec|i|install|list|ls|outdated|run|run-script)/,'prefix':a0_0x7c7992(0x111)},{'pattern':/^npm\s+(exec|run|run-script|rum|urn|x|test)(\s|$)/,'prefix':a0_0x7c7992(0x155)},{'pattern':/^npx\s+/,'prefix':a0_0x7c7992(0x12c)},{'pattern':/^(cat|head|tail)\s+/,'prefix':a0_0x7c7992(0x125)},{'pattern':/^(rg|grep)\s+/,'prefix':a0_0x7c7992(0x168)},{'pattern':/^ls(\s|$)/,'prefix':a0_0x7c7992(0x149)},{'pattern':/^tree(\s|$)/,'prefix':a0_0x7c7992(0x15d)},{'pattern':/^find\s+/,'prefix':a0_0x7c7992(0x10d)},{'pattern':/^docker\s+(ps|images|logs|run|exec|build|compose)/,'prefix':a0_0x7c7992(0x128)},{'pattern':/^kubectl\s+(get|logs|describe|apply)/,'prefix':'trim\x20kubectl'},{'pattern':/^(python3?\s+-m\s+)?pytest(\s|$)/,'prefix':a0_0x7c7992(0x145)},{'pattern':/^ruff\s+(check|format)/,'prefix':a0_0x7c7992(0x123)},{'pattern':/^(pip3?|uv\s+pip)\s+(list|outdated|install|show)/,'prefix':a0_0x7c7992(0x105)},{'pattern':/^go\s+(test|build|vet)/,'prefix':a0_0x7c7992(0x15a)}];function rewriteCommand(_0xfd7024){const _0x1322e2=a0_0x7c7992,_0x4b0458=_0xfd7024['trim']();if(_0x4b0458[_0x1322e2(0x103)](_0x1322e2(0x134)))return _0x4b0458;for(const _0x4afe84 of REWRITE_RULES){if(_0x4afe84[_0x1322e2(0x11d)][_0x1322e2(0xfb)](_0x4b0458))return _0x1322e2(0x134)+_0x4b0458;}return _0x4b0458;}
package/filters/js.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function a0_0xfeec(){const _0x41781c=['5835972ZiGFNE','Test\x20Files:','match','981112WSrXBM','filterJestVitest','NPM:\x20Packages\x20verified/installed\x20successfully','\x20passed','4427793ZNBagD','audited\x20','Test\x20Runner:\x20','\x20lines\x20of\x20trace\x20details\x20truncated)','50GAOXJp','7uxNUZF','push','up\x20to\x20date','\x0aFailures:','FAIL','Tests:','slice','998272BnUaqk','trim','PASS','join','6313192uAqzYQ','Test\x20Suites:','defineProperty','\x20\x20...\x20(','length','8042qZFxQp','added\x20','FAIL\x20\x20','replace','\x20failed\x20(','split','\x20total)','startsWith','\x20passed,\x20','all','includes','__esModule','5rCeeqO','370359xQiTXm'];a0_0xfeec=function(){return _0x41781c;};return a0_0xfeec();}const a0_0x22c1ea=a0_0x3679;(function(_0x24f145,_0x565fd1){const _0x3a255f=a0_0x3679,_0x5eeae7=_0x24f145();while(!![]){try{const _0x421ce8=-parseInt(_0x3a255f(0x176))/0x1+-parseInt(_0x3a255f(0x15d))/0x2+parseInt(_0x3a255f(0x183))/0x3+parseInt(_0x3a255f(0x16d))/0x4*(parseInt(_0x3a255f(0x182))/0x5)+-parseInt(_0x3a255f(0x184))/0x6+-parseInt(_0x3a255f(0x166))/0x7*(parseInt(_0x3a255f(0x171))/0x8)+-parseInt(_0x3a255f(0x161))/0x9*(-parseInt(_0x3a255f(0x165))/0xa);if(_0x421ce8===_0x565fd1)break;else _0x5eeae7['push'](_0x5eeae7['shift']());}catch(_0x3bf051){_0x5eeae7['push'](_0x5eeae7['shift']());}}}(a0_0xfeec,0x8bc51));function a0_0x3679(_0x29d0be,_0x26ae7d){_0x29d0be=_0x29d0be-0x15d;const _0xfeecf=a0_0xfeec();let _0x36794f=_0xfeecf[_0x29d0be];return _0x36794f;}Object[a0_0x22c1ea(0x173)](exports,a0_0x22c1ea(0x181),{'value':!![]}),exports['filterNpmInstall']=filterNpmInstall,exports[a0_0x22c1ea(0x15e)]=filterJestVitest;function filterNpmInstall(_0x2472c9){const _0x555f3b=a0_0x22c1ea,_0x16c394=_0x2472c9[_0x555f3b(0x179)](/\r/g,'\x0a'),_0x28a24f=_0x16c394[_0x555f3b(0x17b)]('\x0a'),_0x43fdee=[];for(const _0x29e4af of _0x28a24f){const _0x10fd5d=_0x29e4af[_0x555f3b(0x16e)]();(_0x10fd5d[_0x555f3b(0x180)](_0x555f3b(0x177))||_0x10fd5d[_0x555f3b(0x180)]('removed\x20')||_0x10fd5d[_0x555f3b(0x180)](_0x555f3b(0x162))||_0x10fd5d[_0x555f3b(0x180)](_0x555f3b(0x168))||_0x10fd5d[_0x555f3b(0x180)]('found\x20'))&&(!_0x10fd5d[_0x555f3b(0x180)]('%')&&!_0x10fd5d[_0x555f3b(0x17d)]('⠋')&&!_0x10fd5d['startsWith']('⠙')&&_0x43fdee[_0x555f3b(0x167)](_0x10fd5d));}const _0x6adc23=_0x43fdee[_0x555f3b(0x170)]('\x0a')[_0x555f3b(0x16e)]();return _0x6adc23[_0x555f3b(0x175)]>0x0?_0x6adc23:_0x555f3b(0x15f);}function filterJestVitest(_0x53dde5){const _0x3ff425=a0_0x22c1ea,_0x27db79=_0x53dde5[_0x3ff425(0x17b)]('\x0a');let _0x5312ef=0x0,_0x396373=0x0,_0x466897=0x0;const _0x2ba197=[];let _0x4f5696=![];for(const _0x3b92a1 of _0x27db79){const _0x49218d=_0x3b92a1[_0x3ff425(0x16e)]();if(_0x49218d[_0x3ff425(0x17d)](_0x3ff425(0x16b))||_0x49218d[_0x3ff425(0x180)](_0x3ff425(0x185))){const _0x599d0b=_0x49218d[_0x3ff425(0x186)](/(\d+)\s+passed/),_0xda1b86=_0x49218d[_0x3ff425(0x186)](/(\d+)\s+failed/),_0x4cc516=_0x49218d[_0x3ff425(0x186)](/(\d+)\s+total/);if(_0x599d0b)_0x5312ef=parseInt(_0x599d0b[0x1]);if(_0xda1b86)_0x396373=parseInt(_0xda1b86[0x1]);if(_0x4cc516)_0x466897=parseInt(_0x4cc516[0x1]);continue;}(_0x49218d[_0x3ff425(0x17d)]('❯')||_0x49218d[_0x3ff425(0x17d)]('●')||_0x49218d[_0x3ff425(0x17d)](_0x3ff425(0x178)))&&(_0x4f5696=!![]),_0x4f5696&&(_0x49218d['length']>0x0&&!_0x49218d[_0x3ff425(0x17d)](_0x3ff425(0x172))&&!_0x49218d[_0x3ff425(0x17d)](_0x3ff425(0x16b))&&_0x2ba197[_0x3ff425(0x167)](_0x3b92a1));}if(_0x466897===0x0&&_0x5312ef===0x0&&_0x396373===0x0){if(_0x53dde5['includes'](_0x3ff425(0x16f))&&!_0x53dde5[_0x3ff425(0x180)](_0x3ff425(0x16a))){const _0x5c7dcd=_0x53dde5['match'](/(\d+)\s+passed/),_0x353b12=_0x5c7dcd?_0x5c7dcd[0x1]:_0x3ff425(0x17f);return _0x3ff425(0x163)+_0x353b12+'\x20passed';}return _0x53dde5;}if(_0x396373===0x0&&_0x5312ef>0x0)return'Test\x20Runner:\x20'+_0x5312ef+_0x3ff425(0x160);const _0x4cd570=[_0x3ff425(0x163)+_0x5312ef+_0x3ff425(0x17e)+_0x396373+_0x3ff425(0x17a)+_0x466897+_0x3ff425(0x17c)];if(_0x2ba197['length']>0x0){_0x4cd570[_0x3ff425(0x167)](_0x3ff425(0x169));const _0x35dfc7=0x19,_0x378d3a=_0x2ba197[_0x3ff425(0x16c)](0x0,_0x35dfc7);for(const _0x41c5bd of _0x378d3a){_0x4cd570[_0x3ff425(0x167)]('\x20\x20'+_0x41c5bd);}_0x2ba197['length']>_0x35dfc7&&_0x4cd570[_0x3ff425(0x167)](_0x3ff425(0x174)+(_0x2ba197[_0x3ff425(0x175)]-_0x35dfc7)+_0x3ff425(0x164));}return _0x4cd570['join']('\x0a');}
1
+ 'use strict';const a0_0x39b60a=a0_0x4f02;function a0_0x4f02(_0x2d7c4a,_0x42b670){_0x2d7c4a=_0x2d7c4a-0xa7;const _0x329a8=a0_0x329a();let _0x4f02b3=_0x329a8[_0x2d7c4a];return _0x4f02b3;}(function(_0xb53989,_0x44a284){const _0x4bbb16=a0_0x4f02,_0x499791=_0xb53989();while(!![]){try{const _0x3d5ffd=-parseInt(_0x4bbb16(0xc2))/0x1+-parseInt(_0x4bbb16(0xbb))/0x2+parseInt(_0x4bbb16(0xc7))/0x3*(parseInt(_0x4bbb16(0xb3))/0x4)+parseInt(_0x4bbb16(0xca))/0x5+-parseInt(_0x4bbb16(0xb1))/0x6*(parseInt(_0x4bbb16(0xc9))/0x7)+parseInt(_0x4bbb16(0xc5))/0x8*(parseInt(_0x4bbb16(0xcb))/0x9)+parseInt(_0x4bbb16(0xc0))/0xa;if(_0x3d5ffd===_0x44a284)break;else _0x499791['push'](_0x499791['shift']());}catch(_0x30543e){_0x499791['push'](_0x499791['shift']());}}}(a0_0x329a,0xd3328));function a0_0x329a(){const _0x4a55ad=['filterJestVitest','push','6354QpolKU','found\x20','338984ozdohB','PASS','\x0aFailures:','join','Tests:','\x20passed,\x20','match','\x20\x20...\x20(','1749324viljcF','Test\x20Suites:','includes','up\x20to\x20date','\x20passed','16060170yVUZvg','filterNpmInstall','1389477HwbjiQ','\x20total)','startsWith','8ttdmMl','FAIL\x20\x20','12SnoeUI','removed\x20','315CuKcYW','4288610ZWFgsI','3367215CdRuej','NPM:\x20Packages\x20verified/installed\x20successfully','Test\x20Runner:\x20','audited\x20','trim','Test\x20Files:','length','\x20lines\x20of\x20trace\x20details\x20truncated)','__esModule'];a0_0x329a=function(){return _0x4a55ad;};return a0_0x329a();}Object['defineProperty'](exports,a0_0x39b60a(0xae),{'value':!![]}),exports[a0_0x39b60a(0xc1)]=filterNpmInstall,exports[a0_0x39b60a(0xaf)]=filterJestVitest;function filterNpmInstall(_0x19cb32){const _0x57174f=a0_0x39b60a,_0x37e653=_0x19cb32['replace'](/\r/g,'\x0a'),_0x62a717=_0x37e653['split']('\x0a'),_0x1b477f=[];for(const _0x289274 of _0x62a717){const _0x26d84d=_0x289274['trim']();(_0x26d84d[_0x57174f(0xbd)]('added\x20')||_0x26d84d[_0x57174f(0xbd)](_0x57174f(0xc8))||_0x26d84d[_0x57174f(0xbd)](_0x57174f(0xa9))||_0x26d84d[_0x57174f(0xbd)](_0x57174f(0xbe))||_0x26d84d[_0x57174f(0xbd)](_0x57174f(0xb2)))&&(!_0x26d84d[_0x57174f(0xbd)]('%')&&!_0x26d84d['startsWith']('⠋')&&!_0x26d84d['startsWith']('⠙')&&_0x1b477f[_0x57174f(0xb0)](_0x26d84d));}const _0x45828a=_0x1b477f[_0x57174f(0xb6)]('\x0a')['trim']();return _0x45828a['length']>0x0?_0x45828a:_0x57174f(0xa7);}function filterJestVitest(_0x201098){const _0xd994a8=a0_0x39b60a,_0x35db7d=_0x201098['split']('\x0a');let _0x79bc7b=0x0,_0x4bac5f=0x0,_0x4ec7d3=0x0;const _0x1502db=[];let _0x5264c0=![];for(const _0x2c0aeb of _0x35db7d){const _0xdcc445=_0x2c0aeb[_0xd994a8(0xaa)]();if(_0xdcc445[_0xd994a8(0xc4)](_0xd994a8(0xb7))||_0xdcc445[_0xd994a8(0xbd)](_0xd994a8(0xab))){const _0x2d0b61=_0xdcc445[_0xd994a8(0xb9)](/(\d+)\s+passed/),_0x3b8d63=_0xdcc445['match'](/(\d+)\s+failed/),_0x1eb5a6=_0xdcc445[_0xd994a8(0xb9)](/(\d+)\s+total/);if(_0x2d0b61)_0x79bc7b=parseInt(_0x2d0b61[0x1]);if(_0x3b8d63)_0x4bac5f=parseInt(_0x3b8d63[0x1]);if(_0x1eb5a6)_0x4ec7d3=parseInt(_0x1eb5a6[0x1]);continue;}(_0xdcc445[_0xd994a8(0xc4)]('❯')||_0xdcc445[_0xd994a8(0xc4)]('●')||_0xdcc445[_0xd994a8(0xc4)](_0xd994a8(0xc6)))&&(_0x5264c0=!![]),_0x5264c0&&(_0xdcc445[_0xd994a8(0xac)]>0x0&&!_0xdcc445['startsWith'](_0xd994a8(0xbc))&&!_0xdcc445[_0xd994a8(0xc4)](_0xd994a8(0xb7))&&_0x1502db[_0xd994a8(0xb0)](_0x2c0aeb));}if(_0x4ec7d3===0x0&&_0x79bc7b===0x0&&_0x4bac5f===0x0){if(_0x201098[_0xd994a8(0xbd)](_0xd994a8(0xb4))&&!_0x201098['includes']('FAIL')){const _0x5bfd4e=_0x201098['match'](/(\d+)\s+passed/),_0x20ed32=_0x5bfd4e?_0x5bfd4e[0x1]:'all';return _0xd994a8(0xa8)+_0x20ed32+_0xd994a8(0xbf);}return _0x201098;}if(_0x4bac5f===0x0&&_0x79bc7b>0x0)return _0xd994a8(0xa8)+_0x79bc7b+_0xd994a8(0xbf);const _0x15b07b=[_0xd994a8(0xa8)+_0x79bc7b+_0xd994a8(0xb8)+_0x4bac5f+'\x20failed\x20('+_0x4ec7d3+_0xd994a8(0xc3)];if(_0x1502db['length']>0x0){_0x15b07b[_0xd994a8(0xb0)](_0xd994a8(0xb5));const _0x305763=0x19,_0x3ba9f5=_0x1502db['slice'](0x0,_0x305763);for(const _0x4e6885 of _0x3ba9f5){_0x15b07b[_0xd994a8(0xb0)]('\x20\x20'+_0x4e6885);}_0x1502db[_0xd994a8(0xac)]>_0x305763&&_0x15b07b[_0xd994a8(0xb0)](_0xd994a8(0xba)+(_0x1502db[_0xd994a8(0xac)]-_0x305763)+_0xd994a8(0xad));}return _0x15b07b['join']('\x0a');}
package/filters/python.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x116475=a0_0x5307;function a0_0x5307(_0x2e5829,_0x4ddf6d){_0x2e5829=_0x2e5829-0xd5;const _0x4fcf3d=a0_0x4fcf();let _0x530765=_0x4fcf3d[_0x2e5829];return _0x530765;}function a0_0x4fcf(){const _0x47c4a2=['Successfully\x20installed','36264uSeZmx','filterPytest','\x20xfailed','E\x20\x20\x20','\x20\x20...\x20+','36327467HltNSX','trim','__esModule','10916140Okjrmk','388128vHoCJR','startsWith','\x0aFailures:','1635338LPMSGR','slice','8691QVcKHn','135UhTPhg','\x20passed','\x20failed','match','685SfIKgp','filterPipInstall','\x20\x20\x20\x20...\x20(','.\x20[FAIL]\x20','includes','defineProperty','join','Pytest:\x20All\x20tests\x20passed','___','1OfdNgZ','Using\x20cached','push','===','===\x20FAILURES\x20===','Downloading','Pytest:\x20','filter','1612jKJjHe','length','1603770ROuPwC','split','AssertionError:','===\x20ERRORS\x20===','passed','\x20more\x20failures\x20truncated','\x20xpassed\x20(warning!)','\x20lines\x20of\x20stacktrace\x20truncated)','12FUvNsO','Collecting','failed','Requirement\x20already\x20satisfied'];a0_0x4fcf=function(){return _0x47c4a2;};return a0_0x4fcf();}(function(_0x24aef8,_0x5693f2){const _0xc5da97=a0_0x5307,_0x3b65fa=_0x24aef8();while(!![]){try{const _0x3923b4=-parseInt(_0xc5da97(0xd6))/0x1*(parseInt(_0xc5da97(0xf9))/0x2)+parseInt(_0xc5da97(0xfb))/0x3*(parseInt(_0xc5da97(0xde))/0x4)+parseInt(_0xc5da97(0x100))/0x5*(-parseInt(_0xc5da97(0xed))/0x6)+-parseInt(_0xc5da97(0xe0))/0x7+parseInt(_0xc5da97(0xf6))/0x8*(-parseInt(_0xc5da97(0xfc))/0x9)+-parseInt(_0xc5da97(0xf5))/0xa+parseInt(_0xc5da97(0xf2))/0xb*(parseInt(_0xc5da97(0xe8))/0xc);if(_0x3923b4===_0x5693f2)break;else _0x3b65fa['push'](_0x3b65fa['shift']());}catch(_0xbc47b0){_0x3b65fa['push'](_0x3b65fa['shift']());}}}(a0_0x4fcf,0xbd693));Object[a0_0x116475(0x105)](exports,a0_0x116475(0xf4),{'value':!![]}),exports[a0_0x116475(0xee)]=filterPytest,exports[a0_0x116475(0x101)]=filterPipInstall;function filterPytest(_0x5060ae){const _0x105447=a0_0x116475,_0x49c1a4=_0x5060ae[_0x105447(0xe1)]('\x0a');let _0x2c5ceb=0x0,_0x23e84f=0x0,_0xd822ec=0x0,_0x419b7b=0x0,_0x2a140c=0x0;const _0x613d2=[];let _0x448fc1=[],_0x562a75=![];for(const _0x5e5a57 of _0x49c1a4){const _0x4a58d2=_0x5e5a57[_0x105447(0xf3)]();if(_0x4a58d2[_0x105447(0xf7)](_0x105447(0xda))||_0x4a58d2[_0x105447(0xf7)](_0x105447(0xe3))){_0x562a75=!![];continue;}else(_0x4a58d2[_0x105447(0xf7)]('===\x20short\x20test\x20summary\x20info\x20===')||_0x4a58d2[_0x105447(0xf7)](_0x105447(0xd9))&&_0x4a58d2[_0x105447(0x104)](_0x105447(0xe4)))&&(_0x562a75=![],_0x448fc1[_0x105447(0xdf)]>0x0&&(_0x613d2[_0x105447(0xd8)](_0x448fc1),_0x448fc1=[]));if(_0x562a75){if(_0x4a58d2[_0x105447(0xf7)](_0x105447(0xd5)))_0x448fc1[_0x105447(0xdf)]>0x0&&(_0x613d2[_0x105447(0xd8)](_0x448fc1),_0x448fc1=[]),_0x448fc1[_0x105447(0xd8)](_0x4a58d2);else _0x4a58d2[_0x105447(0xdf)]>0x0&&_0x448fc1[_0x105447(0xd8)](_0x5e5a57);continue;}if(_0x4a58d2[_0x105447(0xf7)](_0x105447(0xd9))&&_0x4a58d2['includes']('\x20in\x20')){const _0x2750b4=_0x4a58d2[_0x105447(0xff)](/(\d+)\s+passed/),_0x132484=_0x4a58d2['match'](/(\d+)\s+failed/),_0x5108e3=_0x4a58d2[_0x105447(0xff)](/(\d+)\s+skipped/),_0x101994=_0x4a58d2[_0x105447(0xff)](/(\d+)\s+xfailed/),_0x5ee8dd=_0x4a58d2['match'](/(\d+)\s+xpassed/);if(_0x2750b4)_0x2c5ceb=parseInt(_0x2750b4[0x1]);if(_0x132484)_0x23e84f=parseInt(_0x132484[0x1]);if(_0x5108e3)_0xd822ec=parseInt(_0x5108e3[0x1]);if(_0x101994)_0x419b7b=parseInt(_0x101994[0x1]);if(_0x5ee8dd)_0x2a140c=parseInt(_0x5ee8dd[0x1]);}}_0x448fc1[_0x105447(0xdf)]>0x0&&_0x613d2[_0x105447(0xd8)](_0x448fc1);if(_0x2c5ceb===0x0&&_0x23e84f===0x0&&_0xd822ec===0x0&&_0x419b7b===0x0&&_0x2a140c===0x0){if(_0x5060ae['includes'](_0x105447(0xe4))&&!_0x5060ae[_0x105447(0x104)](_0x105447(0xea)))return _0x105447(0x107);return _0x5060ae;}if(_0x23e84f===0x0&&_0x2c5ceb>0x0&&_0xd822ec===0x0&&_0x419b7b===0x0&&_0x2a140c===0x0)return _0x105447(0xdc)+_0x2c5ceb+_0x105447(0xfd);const _0x287a3=[];_0x287a3['push']('Pytest:\x20'+_0x2c5ceb+_0x105447(0xfd));if(_0x23e84f>0x0)_0x287a3['push'](_0x23e84f+_0x105447(0xfe));if(_0xd822ec>0x0)_0x287a3[_0x105447(0xd8)](_0xd822ec+'\x20skipped');if(_0x419b7b>0x0)_0x287a3[_0x105447(0xd8)](_0x419b7b+_0x105447(0xef));if(_0x2a140c>0x0)_0x287a3[_0x105447(0xd8)](_0x2a140c+_0x105447(0xe6));const _0x343214=[_0x287a3[_0x105447(0x106)](',\x20')];if(_0x613d2['length']>0x0){_0x343214[_0x105447(0xd8)](_0x105447(0xf8));const _0x29b129=0x3,_0x43ff01=_0x613d2['slice'](0x0,_0x29b129);for(let _0x3565ef=0x0;_0x3565ef<_0x43ff01[_0x105447(0xdf)];_0x3565ef++){const _0x3a84fd=_0x43ff01[_0x3565ef],_0x1ccc56=_0x3a84fd[0x0]['replace'](/_/g,'')[_0x105447(0xf3)]();_0x343214['push']('\x20\x20'+(_0x3565ef+0x1)+_0x105447(0x103)+_0x1ccc56);const _0x40bcf6=_0x3a84fd['slice'](0x1),_0x5e616c=_0x40bcf6[_0x105447(0xdd)](_0x2bb61d=>{const _0xfbf179=_0x105447,_0x4869e5=_0x2bb61d[_0xfbf179(0xf3)]();return _0x4869e5['startsWith']('>')||_0x4869e5[_0xfbf179(0xf7)](_0xfbf179(0xf0))||_0x4869e5['includes']('.py:')||_0x4869e5['includes'](_0xfbf179(0xe2));});for(const _0x42cfa1 of _0x5e616c[_0x105447(0xfa)](0x0,0x8)){_0x343214[_0x105447(0xd8)]('\x20\x20\x20\x20'+_0x42cfa1);}_0x5e616c[_0x105447(0xdf)]>0x8&&_0x343214[_0x105447(0xd8)](_0x105447(0x102)+(_0x5e616c['length']-0x8)+_0x105447(0xe7));}_0x613d2[_0x105447(0xdf)]>_0x29b129&&_0x343214[_0x105447(0xd8)](_0x105447(0xf1)+(_0x613d2['length']-_0x29b129)+_0x105447(0xe5));}return _0x343214['join']('\x0a');}function filterPipInstall(_0x2ea846){const _0x430922=a0_0x116475,_0x1ffca9=_0x2ea846[_0x430922(0xe1)]('\x0a'),_0x305373=[];for(const _0x320585 of _0x1ffca9){const _0x492702=_0x320585[_0x430922(0xf3)]();_0x492702['startsWith'](_0x430922(0xec))&&_0x305373[_0x430922(0xd8)](_0x492702);}if(_0x305373[_0x430922(0xdf)]>0x0)return _0x305373['join']('\x0a');return _0x1ffca9[_0x430922(0xdd)](_0x144e60=>{const _0x416476=_0x430922,_0x5d9f6a=_0x144e60[_0x416476(0xf3)]();return!_0x5d9f6a['startsWith'](_0x416476(0xe9))&&!_0x5d9f6a[_0x416476(0xf7)](_0x416476(0xdb))&&!_0x5d9f6a[_0x416476(0x104)](_0x416476(0xd7))&&!_0x5d9f6a[_0x416476(0xf7)](_0x416476(0xeb));})['join']('\x0a')[_0x430922(0xf3)]();}
1
+ 'use strict';const a0_0x313d62=a0_0x33bb;(function(_0x2071ea,_0x1b3486){const _0x1bd226=a0_0x33bb,_0x37ca84=_0x2071ea();while(!![]){try{const _0x5e4908=-parseInt(_0x1bd226(0x13b))/0x1*(-parseInt(_0x1bd226(0x138))/0x2)+-parseInt(_0x1bd226(0x140))/0x3+-parseInt(_0x1bd226(0x132))/0x4+parseInt(_0x1bd226(0x135))/0x5+-parseInt(_0x1bd226(0x127))/0x6*(parseInt(_0x1bd226(0x12e))/0x7)+parseInt(_0x1bd226(0x14a))/0x8+-parseInt(_0x1bd226(0x12b))/0x9;if(_0x5e4908===_0x1b3486)break;else _0x37ca84['push'](_0x37ca84['shift']());}catch(_0x10d7d5){_0x37ca84['push'](_0x37ca84['shift']());}}}(a0_0x86a3,0xa58c6));function a0_0x33bb(_0x5ed114,_0x10d2fd){_0x5ed114=_0x5ed114-0x121;const _0x86a388=a0_0x86a3();let _0x33bb42=_0x86a388[_0x5ed114];return _0x33bb42;}Object[a0_0x313d62(0x121)](exports,'__esModule',{'value':!![]}),exports[a0_0x313d62(0x14e)]=filterPytest,exports[a0_0x313d62(0x12d)]=filterPipInstall;function a0_0x86a3(){const _0x47cee6=['slice','784854EYxOaW','split','filterPipInstall','3962VJMzaq','\x20\x20\x20\x20','\x20\x20\x20\x20...\x20(','E\x20\x20\x20','3111312VoXLVf','\x0aFailures:','length','3052945nQBZJW','\x20skipped','Successfully\x20installed','4foElRi','AssertionError:','failed','410777yvDaso','match','\x20xfailed','Pytest:\x20All\x20tests\x20passed','join','278244cwsRJf','\x20passed','push','===','.\x20[FAIL]\x20','\x20more\x20failures\x20truncated','\x20lines\x20of\x20stacktrace\x20truncated)','\x20\x20...\x20+','\x20xpassed\x20(warning!)','\x20in\x20','9974904GCLrYh','===\x20ERRORS\x20===','\x20failed','___','filterPytest','startsWith','Using\x20cached','Requirement\x20already\x20satisfied','Downloading','defineProperty','passed','replace','.py:','Pytest:\x20','includes','11058mduMrF','trim','filter'];a0_0x86a3=function(){return _0x47cee6;};return a0_0x86a3();}function filterPytest(_0x1045a9){const _0x481808=a0_0x313d62,_0x443e33=_0x1045a9[_0x481808(0x12c)]('\x0a');let _0x1b88f6=0x0,_0x458b50=0x0,_0x2c9b72=0x0,_0x7143c0=0x0,_0x2ae4e8=0x0;const _0x1ee334=[];let _0x264f58=[],_0x4d9ec0=![];for(const _0x555f37 of _0x443e33){const _0x52d694=_0x555f37[_0x481808(0x128)]();if(_0x52d694[_0x481808(0x14f)]('===\x20FAILURES\x20===')||_0x52d694[_0x481808(0x14f)](_0x481808(0x14b))){_0x4d9ec0=!![];continue;}else(_0x52d694[_0x481808(0x14f)]('===\x20short\x20test\x20summary\x20info\x20===')||_0x52d694[_0x481808(0x14f)]('===')&&_0x52d694[_0x481808(0x126)](_0x481808(0x122)))&&(_0x4d9ec0=![],_0x264f58['length']>0x0&&(_0x1ee334[_0x481808(0x142)](_0x264f58),_0x264f58=[]));if(_0x4d9ec0){if(_0x52d694[_0x481808(0x14f)](_0x481808(0x14d)))_0x264f58[_0x481808(0x134)]>0x0&&(_0x1ee334[_0x481808(0x142)](_0x264f58),_0x264f58=[]),_0x264f58[_0x481808(0x142)](_0x52d694);else _0x52d694[_0x481808(0x134)]>0x0&&_0x264f58[_0x481808(0x142)](_0x555f37);continue;}if(_0x52d694[_0x481808(0x14f)](_0x481808(0x143))&&_0x52d694[_0x481808(0x126)](_0x481808(0x149))){const _0x538b79=_0x52d694[_0x481808(0x13c)](/(\d+)\s+passed/),_0x381415=_0x52d694[_0x481808(0x13c)](/(\d+)\s+failed/),_0x425a41=_0x52d694[_0x481808(0x13c)](/(\d+)\s+skipped/),_0x56e7a0=_0x52d694[_0x481808(0x13c)](/(\d+)\s+xfailed/),_0x42fb20=_0x52d694['match'](/(\d+)\s+xpassed/);if(_0x538b79)_0x1b88f6=parseInt(_0x538b79[0x1]);if(_0x381415)_0x458b50=parseInt(_0x381415[0x1]);if(_0x425a41)_0x2c9b72=parseInt(_0x425a41[0x1]);if(_0x56e7a0)_0x7143c0=parseInt(_0x56e7a0[0x1]);if(_0x42fb20)_0x2ae4e8=parseInt(_0x42fb20[0x1]);}}_0x264f58[_0x481808(0x134)]>0x0&&_0x1ee334[_0x481808(0x142)](_0x264f58);if(_0x1b88f6===0x0&&_0x458b50===0x0&&_0x2c9b72===0x0&&_0x7143c0===0x0&&_0x2ae4e8===0x0){if(_0x1045a9[_0x481808(0x126)](_0x481808(0x122))&&!_0x1045a9[_0x481808(0x126)](_0x481808(0x13a)))return _0x481808(0x13e);return _0x1045a9;}if(_0x458b50===0x0&&_0x1b88f6>0x0&&_0x2c9b72===0x0&&_0x7143c0===0x0&&_0x2ae4e8===0x0)return _0x481808(0x125)+_0x1b88f6+_0x481808(0x141);const _0x18684b=[];_0x18684b[_0x481808(0x142)](_0x481808(0x125)+_0x1b88f6+_0x481808(0x141));if(_0x458b50>0x0)_0x18684b[_0x481808(0x142)](_0x458b50+_0x481808(0x14c));if(_0x2c9b72>0x0)_0x18684b[_0x481808(0x142)](_0x2c9b72+_0x481808(0x136));if(_0x7143c0>0x0)_0x18684b['push'](_0x7143c0+_0x481808(0x13d));if(_0x2ae4e8>0x0)_0x18684b[_0x481808(0x142)](_0x2ae4e8+_0x481808(0x148));const _0x5f1edf=[_0x18684b[_0x481808(0x13f)](',\x20')];if(_0x1ee334[_0x481808(0x134)]>0x0){_0x5f1edf[_0x481808(0x142)](_0x481808(0x133));const _0x173a2a=0x3,_0x2395d7=_0x1ee334[_0x481808(0x12a)](0x0,_0x173a2a);for(let _0x30cbf4=0x0;_0x30cbf4<_0x2395d7['length'];_0x30cbf4++){const _0x402295=_0x2395d7[_0x30cbf4],_0x3a4ed1=_0x402295[0x0][_0x481808(0x123)](/_/g,'')[_0x481808(0x128)]();_0x5f1edf[_0x481808(0x142)]('\x20\x20'+(_0x30cbf4+0x1)+_0x481808(0x144)+_0x3a4ed1);const _0x41304b=_0x402295[_0x481808(0x12a)](0x1),_0x14c539=_0x41304b[_0x481808(0x129)](_0x40c702=>{const _0x283a06=_0x481808,_0x91641b=_0x40c702[_0x283a06(0x128)]();return _0x91641b['startsWith']('>')||_0x91641b[_0x283a06(0x14f)](_0x283a06(0x131))||_0x91641b['includes'](_0x283a06(0x124))||_0x91641b[_0x283a06(0x126)](_0x283a06(0x139));});for(const _0x3387e7 of _0x14c539[_0x481808(0x12a)](0x0,0x8)){_0x5f1edf[_0x481808(0x142)](_0x481808(0x12f)+_0x3387e7);}_0x14c539[_0x481808(0x134)]>0x8&&_0x5f1edf[_0x481808(0x142)](_0x481808(0x130)+(_0x14c539[_0x481808(0x134)]-0x8)+_0x481808(0x146));}_0x1ee334[_0x481808(0x134)]>_0x173a2a&&_0x5f1edf['push'](_0x481808(0x147)+(_0x1ee334['length']-_0x173a2a)+_0x481808(0x145));}return _0x5f1edf[_0x481808(0x13f)]('\x0a');}function filterPipInstall(_0x580fe4){const _0x18c755=a0_0x313d62,_0x96e875=_0x580fe4[_0x18c755(0x12c)]('\x0a'),_0x5ea316=[];for(const _0x5d4aed of _0x96e875){const _0x2b142c=_0x5d4aed[_0x18c755(0x128)]();_0x2b142c['startsWith'](_0x18c755(0x137))&&_0x5ea316['push'](_0x2b142c);}if(_0x5ea316[_0x18c755(0x134)]>0x0)return _0x5ea316['join']('\x0a');return _0x96e875[_0x18c755(0x129)](_0x35fbd9=>{const _0x24a309=_0x18c755,_0x9e7a9d=_0x35fbd9[_0x24a309(0x128)]();return!_0x9e7a9d[_0x24a309(0x14f)]('Collecting')&&!_0x9e7a9d[_0x24a309(0x14f)](_0x24a309(0x152))&&!_0x9e7a9d[_0x24a309(0x126)](_0x24a309(0x150))&&!_0x9e7a9d['startsWith'](_0x24a309(0x151));})[_0x18c755(0x13f)]('\x0a')[_0x18c755(0x128)]();}
package/filters/rust.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function a0_0x4d02(){const _0x1a6741=['match','panicked','57678yxrDuN','\x20ignored','__esModule','Cargo:\x20','\x0aErrors:','17126IgacsC','\x20\x20...\x20+','right:','Cargo:\x20compiled\x20','\x20crates\x20successfully','\x20warnings','includes','length','defineProperty','894360mWUwgC','trim','min','\x20more\x20failures','\x20----','\x20failed,\x20','14uOhbhe','filterCargoBuild','test\x20result:','566200hmripx','error:','filterCargoTest','2GzYWXx','Cargo\x20test:\x20all\x20tests\x20passed','20NjaOzZ','\x20crates,\x20','\x0aWarnings:','warning:','error[','15UbzNIf','\x20passed','test\x20result:\x20ok','left:','push','300Qswrgk','----\x20failures\x20----','filter','89428WPKhTz','join','\x20errors,\x20','failures:','Cargo\x20test:\x20','\x20more\x20errors','\x20warnings\x20—\x20run\x20cargo\x20clippy\x20for\x20details)','startsWith','1362951KtQxYB','replace','split','slice','\x20\x20\x20\x20','295823OsfJpD'];a0_0x4d02=function(){return _0x1a6741;};return a0_0x4d02();}const a0_0x23407b=a0_0x4f4f;function a0_0x4f4f(_0x4ce806,_0x3e0217){_0x4ce806=_0x4ce806-0x13c;const _0x4d0287=a0_0x4d02();let _0x4f4f2b=_0x4d0287[_0x4ce806];return _0x4f4f2b;}(function(_0x154d0d,_0x324cce){const _0x4dadca=a0_0x4f4f,_0x1d847f=_0x154d0d();while(!![]){try{const _0x45b9ca=parseInt(_0x4dadca(0x13e))/0x1*(parseInt(_0x4dadca(0x153))/0x2)+-parseInt(_0x4dadca(0x147))/0x3+-parseInt(_0x4dadca(0x162))/0x4*(parseInt(_0x4dadca(0x15a))/0x5)+parseInt(_0x4dadca(0x172))/0x6+-parseInt(_0x4dadca(0x14d))/0x7*(-parseInt(_0x4dadca(0x150))/0x8)+parseInt(_0x4dadca(0x16a))/0x9*(-parseInt(_0x4dadca(0x155))/0xa)+-parseInt(_0x4dadca(0x16f))/0xb*(-parseInt(_0x4dadca(0x15f))/0xc);if(_0x45b9ca===_0x324cce)break;else _0x1d847f['push'](_0x1d847f['shift']());}catch(_0x1047a5){_0x1d847f['push'](_0x1d847f['shift']());}}}(a0_0x4d02,0x2a201));Object[a0_0x23407b(0x146)](exports,a0_0x23407b(0x174),{'value':!![]}),exports[a0_0x23407b(0x152)]=filterCargoTest,exports[a0_0x23407b(0x14e)]=filterCargoBuild;function filterCargoTest(_0x5a68fb){const _0x2644df=a0_0x23407b,_0xcef4e6=_0x5a68fb['split']('\x0a');let _0x275b84=0x0,_0x36f463=0x0,_0x22ce07=0x0,_0x32cd88=0x0;const _0x5f217f=[];let _0x4d20d1=![],_0x1fc35a=[];for(const _0x1bcbf8 of _0xcef4e6){const _0x22b200=_0x1bcbf8[_0x2644df(0x148)](),_0x48c0de=_0x22b200[_0x2644df(0x170)](/test result:\s*(\w+)\.\s*(\d+)\s+passed;\s*(\d+)\s+failed;\s*(\d+)\s+ignored;\s*(\d+)\s+measured/);if(_0x48c0de){_0x275b84+=parseInt(_0x48c0de[0x2]),_0x36f463+=parseInt(_0x48c0de[0x3]),_0x22ce07+=parseInt(_0x48c0de[0x4]),_0x32cd88+=parseInt(_0x48c0de[0x5]);continue;}if(_0x22b200===_0x2644df(0x165)||_0x22b200===_0x2644df(0x160)){_0x4d20d1=!![];continue;}if(_0x4d20d1){if(_0x22b200[_0x2644df(0x169)]('----\x20')&&_0x22b200['endsWith'](_0x2644df(0x14b))){if(_0x1fc35a[_0x2644df(0x145)]>0x0)_0x5f217f[_0x2644df(0x15e)](_0x1fc35a[_0x2644df(0x163)]('\x0a'));_0x1fc35a=[_0x22b200[_0x2644df(0x16b)](/^-+\s*/,'')[_0x2644df(0x16b)](/\s*-+$/,'')];}else{if(_0x22b200===_0x2644df(0x165)||_0x22b200[_0x2644df(0x169)](_0x2644df(0x14f))){if(_0x1fc35a[_0x2644df(0x145)]>0x0)_0x5f217f[_0x2644df(0x15e)](_0x1fc35a[_0x2644df(0x163)]('\x0a'));_0x1fc35a=[],_0x4d20d1=![];}else _0x22b200[_0x2644df(0x145)]>0x0&&_0x1fc35a['push'](_0x1bcbf8);}}}if(_0x1fc35a[_0x2644df(0x145)]>0x0)_0x5f217f['push'](_0x1fc35a[_0x2644df(0x163)]('\x0a'));if(_0x275b84===0x0&&_0x36f463===0x0&&_0x22ce07===0x0){if(_0x5a68fb['includes'](_0x2644df(0x15c)))return _0x2644df(0x154);return _0x5a68fb;}if(_0x36f463===0x0){const _0x4a6e22=['Cargo\x20test:\x20'+_0x275b84+_0x2644df(0x15b)];if(_0x22ce07>0x0)_0x4a6e22[_0x2644df(0x15e)](_0x22ce07+_0x2644df(0x173));return _0x4a6e22[_0x2644df(0x163)](',\x20');}const _0x5f3257=[_0x2644df(0x166)+_0x275b84+'\x20passed,\x20'+_0x36f463+_0x2644df(0x14c)+_0x22ce07+_0x2644df(0x173)];if(_0x5f217f['length']>0x0){_0x5f3257['push']('\x0aFailures:');const _0x11758a=0x3;for(let _0x407916=0x0;_0x407916<Math[_0x2644df(0x149)](_0x5f217f[_0x2644df(0x145)],_0x11758a);_0x407916++){const _0x295ace=_0x5f217f[_0x407916]['split']('\x0a');_0x5f3257[_0x2644df(0x15e)]('\x20\x20'+(_0x407916+0x1)+'.\x20'+_0x295ace[0x0]);const _0x3dfcb9=_0x295ace[_0x2644df(0x16d)](0x1),_0x4e3003=_0x3dfcb9[_0x2644df(0x161)](_0x1a97b8=>_0x1a97b8[_0x2644df(0x148)]()[_0x2644df(0x169)]('thread')||_0x1a97b8[_0x2644df(0x144)](_0x2644df(0x171))||_0x1a97b8[_0x2644df(0x144)]('assert')||_0x1a97b8['includes'](_0x2644df(0x15d))||_0x1a97b8[_0x2644df(0x144)](_0x2644df(0x140)));for(const _0x5e580d of _0x4e3003[_0x2644df(0x16d)](0x0,0x5)){_0x5f3257['push'](_0x2644df(0x16e)+_0x5e580d[_0x2644df(0x148)]());}}_0x5f217f['length']>_0x11758a&&_0x5f3257[_0x2644df(0x15e)](_0x2644df(0x13f)+(_0x5f217f[_0x2644df(0x145)]-_0x11758a)+_0x2644df(0x14a));}return _0x5f3257[_0x2644df(0x163)]('\x0a');}function filterCargoBuild(_0x205762){const _0x409c81=a0_0x23407b,_0x398311=_0x205762[_0x409c81(0x16c)]('\x0a'),_0x4c24d5=[],_0x42bc22=[];let _0x9c8469=0x0;for(const _0x4c9189 of _0x398311){const _0x1df9d7=_0x4c9189[_0x409c81(0x148)]();if(_0x1df9d7['startsWith']('Compiling\x20'))_0x9c8469++;else{if(_0x1df9d7['startsWith']('warning[')||_0x1df9d7['startsWith'](_0x409c81(0x158)))_0x4c24d5[_0x409c81(0x15e)](_0x1df9d7);else{if(_0x1df9d7['startsWith'](_0x409c81(0x159))||_0x1df9d7[_0x409c81(0x169)](_0x409c81(0x151)))_0x42bc22[_0x409c81(0x15e)](_0x1df9d7);}}}if(_0x42bc22[_0x409c81(0x145)]===0x0&&_0x4c24d5[_0x409c81(0x145)]===0x0)return _0x9c8469>0x0?_0x409c81(0x141)+_0x9c8469+_0x409c81(0x142):_0x205762[_0x409c81(0x148)]();const _0x46ca30=[];if(_0x42bc22[_0x409c81(0x145)]>0x0){_0x46ca30[_0x409c81(0x15e)](_0x409c81(0x13c)+_0x42bc22[_0x409c81(0x145)]+_0x409c81(0x164)+_0x4c24d5[_0x409c81(0x145)]+_0x409c81(0x143)),_0x46ca30[_0x409c81(0x15e)](_0x409c81(0x13d));for(const _0x175cc6 of _0x42bc22[_0x409c81(0x16d)](0x0,0x5))_0x46ca30[_0x409c81(0x15e)]('\x20\x20'+_0x175cc6);if(_0x42bc22[_0x409c81(0x145)]>0x5)_0x46ca30[_0x409c81(0x15e)](_0x409c81(0x13f)+(_0x42bc22[_0x409c81(0x145)]-0x5)+_0x409c81(0x167));}else _0x46ca30[_0x409c81(0x15e)](_0x409c81(0x141)+_0x9c8469+_0x409c81(0x156)+_0x4c24d5[_0x409c81(0x145)]+_0x409c81(0x143));if(_0x4c24d5['length']>0x0&&_0x4c24d5[_0x409c81(0x145)]<=0x5){_0x46ca30['push'](_0x409c81(0x157));for(const _0x2df325 of _0x4c24d5)_0x46ca30[_0x409c81(0x15e)]('\x20\x20'+_0x2df325);}else _0x4c24d5['length']>0x5&&_0x46ca30[_0x409c81(0x15e)]('\x0a('+_0x4c24d5['length']+_0x409c81(0x168));return _0x46ca30[_0x409c81(0x163)]('\x0a');}
1
+ 'use strict';const a0_0x247dee=a0_0x291b;function a0_0x573f(){const _0x7facd1=['panicked','323223dfQyIJ','\x0aErrors:','5FRHzFc','287JnFyCV','\x20warnings\x20—\x20run\x20cargo\x20clippy\x20for\x20details)','\x20more\x20errors','trim','340CaWItR','endsWith','17937wjJJRl','Cargo\x20test:\x20all\x20tests\x20passed','length','warning:','----\x20','3528816OTVMvc','push','right:','__esModule','\x20\x20\x20\x20','slice','split','defineProperty','----\x20failures\x20----','Cargo:\x20compiled\x20','710699mbJxHM','\x20\x20...\x20+','assert','\x20----','\x20crates\x20successfully','Cargo\x20test:\x20','test\x20result:','filterCargoBuild','join','Compiling\x20','left:','\x0aFailures:','4sEHhoH','min','7688iCKUaU','thread','replace','failures:','startsWith','test\x20result:\x20ok','error[','includes','704334bmLJsA','\x20more\x20failures','\x20passed,\x20','\x20warnings','\x20ignored','4ITpxTJ','43091JlGsKH'];a0_0x573f=function(){return _0x7facd1;};return a0_0x573f();}(function(_0xadb732,_0x34d406){const _0x8ad65d=a0_0x291b,_0x355c49=_0xadb732();while(!![]){try{const _0x2d9635=-parseInt(_0x8ad65d(0x122))/0x1*(parseInt(_0x8ad65d(0x121))/0x2)+-parseInt(_0x8ad65d(0x124))/0x3*(-parseInt(_0x8ad65d(0x148))/0x4)+parseInt(_0x8ad65d(0x126))/0x5*(-parseInt(_0x8ad65d(0x11c))/0x6)+-parseInt(_0x8ad65d(0x127))/0x7*(parseInt(_0x8ad65d(0x114))/0x8)+-parseInt(_0x8ad65d(0x12d))/0x9*(-parseInt(_0x8ad65d(0x12b))/0xa)+-parseInt(_0x8ad65d(0x13c))/0xb+parseInt(_0x8ad65d(0x132))/0xc;if(_0x2d9635===_0x34d406)break;else _0x355c49['push'](_0x355c49['shift']());}catch(_0x5bb488){_0x355c49['push'](_0x355c49['shift']());}}}(a0_0x573f,0x278c6));function a0_0x291b(_0x3f1430,_0x7890f4){_0x3f1430=_0x3f1430-0x114;const _0x573fec=a0_0x573f();let _0x291b03=_0x573fec[_0x3f1430];return _0x291b03;}Object[a0_0x247dee(0x139)](exports,a0_0x247dee(0x135),{'value':!![]}),exports['filterCargoTest']=filterCargoTest,exports[a0_0x247dee(0x143)]=filterCargoBuild;function filterCargoTest(_0x2c06da){const _0x5386a6=a0_0x247dee,_0x1369d1=_0x2c06da['split']('\x0a');let _0x1cc3c2=0x0,_0x4ef5e4=0x0,_0x4e900a=0x0,_0x29c915=0x0;const _0x24b19e=[];let _0x1f0fa1=![],_0xb9953e=[];for(const _0x1890b7 of _0x1369d1){const _0x307d4d=_0x1890b7['trim'](),_0x264966=_0x307d4d['match'](/test result:\s*(\w+)\.\s*(\d+)\s+passed;\s*(\d+)\s+failed;\s*(\d+)\s+ignored;\s*(\d+)\s+measured/);if(_0x264966){_0x1cc3c2+=parseInt(_0x264966[0x2]),_0x4ef5e4+=parseInt(_0x264966[0x3]),_0x4e900a+=parseInt(_0x264966[0x4]),_0x29c915+=parseInt(_0x264966[0x5]);continue;}if(_0x307d4d==='failures:'||_0x307d4d===_0x5386a6(0x13a)){_0x1f0fa1=!![];continue;}if(_0x1f0fa1){if(_0x307d4d[_0x5386a6(0x118)](_0x5386a6(0x131))&&_0x307d4d[_0x5386a6(0x12c)](_0x5386a6(0x13f))){if(_0xb9953e[_0x5386a6(0x12f)]>0x0)_0x24b19e[_0x5386a6(0x133)](_0xb9953e['join']('\x0a'));_0xb9953e=[_0x307d4d[_0x5386a6(0x116)](/^-+\s*/,'')['replace'](/\s*-+$/,'')];}else{if(_0x307d4d===_0x5386a6(0x117)||_0x307d4d[_0x5386a6(0x118)](_0x5386a6(0x142))){if(_0xb9953e[_0x5386a6(0x12f)]>0x0)_0x24b19e[_0x5386a6(0x133)](_0xb9953e['join']('\x0a'));_0xb9953e=[],_0x1f0fa1=![];}else _0x307d4d['length']>0x0&&_0xb9953e[_0x5386a6(0x133)](_0x1890b7);}}}if(_0xb9953e[_0x5386a6(0x12f)]>0x0)_0x24b19e[_0x5386a6(0x133)](_0xb9953e[_0x5386a6(0x144)]('\x0a'));if(_0x1cc3c2===0x0&&_0x4ef5e4===0x0&&_0x4e900a===0x0){if(_0x2c06da[_0x5386a6(0x11b)](_0x5386a6(0x119)))return _0x5386a6(0x12e);return _0x2c06da;}if(_0x4ef5e4===0x0){const _0x30ab23=[_0x5386a6(0x141)+_0x1cc3c2+'\x20passed'];if(_0x4e900a>0x0)_0x30ab23[_0x5386a6(0x133)](_0x4e900a+_0x5386a6(0x120));return _0x30ab23[_0x5386a6(0x144)](',\x20');}const _0x5c887f=['Cargo\x20test:\x20'+_0x1cc3c2+_0x5386a6(0x11e)+_0x4ef5e4+'\x20failed,\x20'+_0x4e900a+_0x5386a6(0x120)];if(_0x24b19e['length']>0x0){_0x5c887f[_0x5386a6(0x133)](_0x5386a6(0x147));const _0x50c77d=0x3;for(let _0x4dab3e=0x0;_0x4dab3e<Math[_0x5386a6(0x149)](_0x24b19e[_0x5386a6(0x12f)],_0x50c77d);_0x4dab3e++){const _0x40c7ec=_0x24b19e[_0x4dab3e][_0x5386a6(0x138)]('\x0a');_0x5c887f[_0x5386a6(0x133)]('\x20\x20'+(_0x4dab3e+0x1)+'.\x20'+_0x40c7ec[0x0]);const _0x5d09b0=_0x40c7ec[_0x5386a6(0x137)](0x1),_0x2e668e=_0x5d09b0['filter'](_0x385380=>_0x385380[_0x5386a6(0x12a)]()[_0x5386a6(0x118)](_0x5386a6(0x115))||_0x385380[_0x5386a6(0x11b)](_0x5386a6(0x123))||_0x385380[_0x5386a6(0x11b)](_0x5386a6(0x13e))||_0x385380['includes'](_0x5386a6(0x146))||_0x385380[_0x5386a6(0x11b)](_0x5386a6(0x134)));for(const _0x209d30 of _0x2e668e[_0x5386a6(0x137)](0x0,0x5)){_0x5c887f['push'](_0x5386a6(0x136)+_0x209d30[_0x5386a6(0x12a)]());}}_0x24b19e[_0x5386a6(0x12f)]>_0x50c77d&&_0x5c887f[_0x5386a6(0x133)](_0x5386a6(0x13d)+(_0x24b19e[_0x5386a6(0x12f)]-_0x50c77d)+_0x5386a6(0x11d));}return _0x5c887f[_0x5386a6(0x144)]('\x0a');}function filterCargoBuild(_0x4b2e77){const _0x5c00e2=a0_0x247dee,_0x2277f0=_0x4b2e77[_0x5c00e2(0x138)]('\x0a'),_0x1b8501=[],_0x5c5b86=[];let _0x12d6dc=0x0;for(const _0x345007 of _0x2277f0){const _0x54b311=_0x345007[_0x5c00e2(0x12a)]();if(_0x54b311['startsWith'](_0x5c00e2(0x145)))_0x12d6dc++;else{if(_0x54b311[_0x5c00e2(0x118)]('warning[')||_0x54b311[_0x5c00e2(0x118)](_0x5c00e2(0x130)))_0x1b8501[_0x5c00e2(0x133)](_0x54b311);else{if(_0x54b311[_0x5c00e2(0x118)](_0x5c00e2(0x11a))||_0x54b311[_0x5c00e2(0x118)]('error:'))_0x5c5b86[_0x5c00e2(0x133)](_0x54b311);}}}if(_0x5c5b86[_0x5c00e2(0x12f)]===0x0&&_0x1b8501[_0x5c00e2(0x12f)]===0x0)return _0x12d6dc>0x0?_0x5c00e2(0x13b)+_0x12d6dc+_0x5c00e2(0x140):_0x4b2e77[_0x5c00e2(0x12a)]();const _0x1b11f3=[];if(_0x5c5b86['length']>0x0){_0x1b11f3['push']('Cargo:\x20'+_0x5c5b86[_0x5c00e2(0x12f)]+'\x20errors,\x20'+_0x1b8501[_0x5c00e2(0x12f)]+_0x5c00e2(0x11f)),_0x1b11f3[_0x5c00e2(0x133)](_0x5c00e2(0x125));for(const _0x534fe2 of _0x5c5b86[_0x5c00e2(0x137)](0x0,0x5))_0x1b11f3[_0x5c00e2(0x133)]('\x20\x20'+_0x534fe2);if(_0x5c5b86[_0x5c00e2(0x12f)]>0x5)_0x1b11f3[_0x5c00e2(0x133)](_0x5c00e2(0x13d)+(_0x5c5b86[_0x5c00e2(0x12f)]-0x5)+_0x5c00e2(0x129));}else _0x1b11f3[_0x5c00e2(0x133)]('Cargo:\x20compiled\x20'+_0x12d6dc+'\x20crates,\x20'+_0x1b8501[_0x5c00e2(0x12f)]+_0x5c00e2(0x11f));if(_0x1b8501[_0x5c00e2(0x12f)]>0x0&&_0x1b8501[_0x5c00e2(0x12f)]<=0x5){_0x1b11f3[_0x5c00e2(0x133)]('\x0aWarnings:');for(const _0xd376e6 of _0x1b8501)_0x1b11f3[_0x5c00e2(0x133)]('\x20\x20'+_0xd376e6);}else _0x1b8501[_0x5c00e2(0x12f)]>0x5&&_0x1b11f3[_0x5c00e2(0x133)]('\x0a('+_0x1b8501[_0x5c00e2(0x12f)]+_0x5c00e2(0x128));return _0x1b11f3[_0x5c00e2(0x144)]('\x0a');}
package/filters/shell.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x2b0a30=a0_0x4144;(function(_0x31137d,_0x505422){const _0x17bb99=a0_0x4144,_0x10e6ae=_0x31137d();while(!![]){try{const _0x5d3931=parseInt(_0x17bb99(0x16f))/0x1+-parseInt(_0x17bb99(0x1d3))/0x2+parseInt(_0x17bb99(0x15c))/0x3+-parseInt(_0x17bb99(0x161))/0x4*(parseInt(_0x17bb99(0x1b2))/0x5)+parseInt(_0x17bb99(0x1c4))/0x6+-parseInt(_0x17bb99(0x168))/0x7+-parseInt(_0x17bb99(0x1a6))/0x8;if(_0x5d3931===_0x505422)break;else _0x10e6ae['push'](_0x10e6ae['shift']());}catch(_0x6ccfe8){_0x10e6ae['push'](_0x10e6ae['shift']());}}}(a0_0xd24e,0xb80be));function a0_0xd24e(){const _0x91cd63=['path','\x20lines\x20truncated]\x20...\x0a','split','.jpg','slice','extname','.tsx','.wav','filterLs','.rb','\x20(content\x20omitted\x20—\x20not\x20useful\x20for\x20LLM\x20context)','.pyo','getOwnPropertyDescriptor','.gz','.mov','configurable','length','charCodeAt','export\x20','.ttf','[lock\x20file]\x20','trim','.gif','use\x20','writable','.obj','bun.lockb','\x20lines)','defineProperty','No\x20matches\x20found','\x20dependencies,\x20','parse','.dylib','match','packages','startsWith','\x20lines\x20total,\x20','.go','\x20chars\x20(contains\x20null\x20bytes\x20—\x20binary\x20content\x20omitted)','\x20more\x20matches','.map','Gemfile.lock','\x20more\x20files','smartCrushJson','\x20\x20...\x20+','composer.lock','955008jkmbwy','.java','require(','indexOf','hasOwnProperty','go.sum','\x20more\x20directories','tracker','keys','endsWith','.jpeg','floor','5ktUZeK','stripComments','poetry.lock','.min.css','\x20files)','filterTree','@param','json_crusher','/\x20(','basename','.bz2','.ts','.bmp','create','...\x20+','skeleton','total\x20','.db','4481136WVuZII','.cs','sort','.ico','dirname','binary','.mp4','getConfig','call','.dat','.otf','.jsx','\x20matches\x20in\x20this\x20file)','.tar.gz','\x20more\x20files\x20with\x20matches','2190686KDFPvw','[minified\x20file]\x20','join','\x20directories,\x20','.js','\x20matches\x20across\x20','.bin','filterCat','.woff','.rar','./generic','../tracker','substring','filterGrep','import\x20','\x20chars\x20(high\x20non-printable\x20ratio\x20—\x20content\x20omitted)','\x20files\x20total\x20—\x20deep\x20entries\x20truncated)','.swift','push','.so','.7z','package-lock.json','.dll','.webp','\x20chars\x20across\x20',':\x20...\x20(','\x20chars\x20(content\x20omitted\x20—\x20lock\x20files\x20are\x20not\x20useful\x20for\x20LLM\x20context)','2763261CWvrIY','#include\x20','.sqlite','__esModule','toLocaleString','364972jhZzeW','\x0a...\x20(','.mp3','.sqlite3','Empty\x20directory','includes','toLowerCase','4300282tiBmOY','\x20lines\x20total)','filter','__createBinding','[code\x20skeleton]\x20','pnpm-lock.yaml','No\x20files\x20found','1006199aMCjie','\x20line(s)\x20(content\x20omitted\x20—\x20not\x20human-readable)','\x0a...\x20[','.exe','.rs','\x20chars,\x20type:\x20','default','.woff2','yarn.lock'];a0_0xd24e=function(){return _0x91cd63;};return a0_0xd24e();}var __createBinding=this&&this[a0_0x2b0a30(0x16b)]||(Object[a0_0x2b0a30(0x1bf)]?function(_0x5409b9,_0x3a72a9,_0x4a2256,_0x18b00d){const _0x4a7888=a0_0x2b0a30;if(_0x18b00d===undefined)_0x18b00d=_0x4a2256;var _0xa52ae1=Object[_0x4a7888(0x184)](_0x3a72a9,_0x4a2256);(!_0xa52ae1||('get'in _0xa52ae1?!_0x3a72a9[_0x4a7888(0x15f)]:_0xa52ae1[_0x4a7888(0x190)]||_0xa52ae1[_0x4a7888(0x187)]))&&(_0xa52ae1={'enumerable':!![],'get':function(){return _0x3a72a9[_0x4a2256];}}),Object[_0x4a7888(0x194)](_0x5409b9,_0x18b00d,_0xa52ae1);}:function(_0x3af6ff,_0x12eff8,_0x39cdb9,_0x2f8a01){if(_0x2f8a01===undefined)_0x2f8a01=_0x39cdb9;_0x3af6ff[_0x2f8a01]=_0x12eff8[_0x39cdb9];}),__setModuleDefault=this&&this['__setModuleDefault']||(Object[a0_0x2b0a30(0x1bf)]?function(_0x4d8820,_0x1eab40){const _0x55d450=a0_0x2b0a30;Object[_0x55d450(0x194)](_0x4d8820,'default',{'enumerable':!![],'value':_0x1eab40});}:function(_0x1f186e,_0xaf62fe){const _0x6150b3=a0_0x2b0a30;_0x1f186e[_0x6150b3(0x175)]=_0xaf62fe;}),__importStar=this&&this['__importStar']||(function(){var _0x12816e=function(_0x3a4f17){return _0x12816e=Object['getOwnPropertyNames']||function(_0x520bca){const _0x5a7bc9=a0_0x4144;var _0x5018c2=[];for(var _0xed6921 in _0x520bca)if(Object['prototype'][_0x5a7bc9(0x1aa)][_0x5a7bc9(0x1cc)](_0x520bca,_0xed6921))_0x5018c2[_0x5018c2[_0x5a7bc9(0x188)]]=_0xed6921;return _0x5018c2;},_0x12816e(_0x3a4f17);};return function(_0x480176){const _0x3d06f8=a0_0x4144;if(_0x480176&&_0x480176[_0x3d06f8(0x15f)])return _0x480176;var _0x409ba2={};if(_0x480176!=null){for(var _0x9d6772=_0x12816e(_0x480176),_0x331ec1=0x0;_0x331ec1<_0x9d6772[_0x3d06f8(0x188)];_0x331ec1++)if(_0x9d6772[_0x331ec1]!==_0x3d06f8(0x175))__createBinding(_0x409ba2,_0x480176,_0x9d6772[_0x331ec1]);}return __setModuleDefault(_0x409ba2,_0x480176),_0x409ba2;};}());Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a0_0x2b0a30(0x180)]=filterLs,exports[a0_0x2b0a30(0x1b7)]=filterTree,exports[a0_0x2b0a30(0x1da)]=filterCat,exports[a0_0x2b0a30(0x14e)]=filterGrep,exports['filterFind']=filterFind;const path=__importStar(require(a0_0x2b0a30(0x178))),generic_1=require(a0_0x2b0a30(0x1dd)),tracker_1=require(a0_0x2b0a30(0x1de));function isFeatureEnabled(_0x3c8c84){const _0x37aadd=a0_0x2b0a30;try{const _0x31b229=tracker_1[_0x37aadd(0x1ad)][_0x37aadd(0x1cb)](),_0xeeb803=_0x31b229['features_enabled'];if(!_0xeeb803||_0xeeb803[_0x3c8c84]===undefined)return!![];return _0xeeb803[_0x3c8c84]!==![];}catch{return!![];}}const LOCK_FILES=[a0_0x2b0a30(0x156),'yarn.lock',a0_0x2b0a30(0x16d),'Cargo.lock','go.sum',a0_0x2b0a30(0x1b4),a0_0x2b0a30(0x1a5),a0_0x2b0a30(0x1a1),a0_0x2b0a30(0x192)],BINARY_EXTENSIONS=['.min.js',a0_0x2b0a30(0x1b5),a0_0x2b0a30(0x1a0),'.wasm','.png',a0_0x2b0a30(0x17b),a0_0x2b0a30(0x1b0),a0_0x2b0a30(0x18e),a0_0x2b0a30(0x1c7),a0_0x2b0a30(0x1be),a0_0x2b0a30(0x158),'.svg','.pdf','.zip',a0_0x2b0a30(0x1d1),'.tgz',a0_0x2b0a30(0x185),a0_0x2b0a30(0x1bc),a0_0x2b0a30(0x155),a0_0x2b0a30(0x1dc),a0_0x2b0a30(0x172),a0_0x2b0a30(0x157),a0_0x2b0a30(0x154),a0_0x2b0a30(0x198),a0_0x2b0a30(0x1d9),a0_0x2b0a30(0x1cd),a0_0x2b0a30(0x15e),a0_0x2b0a30(0x1c3),a0_0x2b0a30(0x164),a0_0x2b0a30(0x1db),a0_0x2b0a30(0x176),a0_0x2b0a30(0x18b),'.eot',a0_0x2b0a30(0x1ce),a0_0x2b0a30(0x163),a0_0x2b0a30(0x1ca),a0_0x2b0a30(0x17f),'.avi',a0_0x2b0a30(0x186),'.webm','.pyc',a0_0x2b0a30(0x183),'.class','.o',a0_0x2b0a30(0x191)];function extractFilename(_0x4ef697){const _0x5c603c=a0_0x2b0a30,_0x52ba4e=_0x4ef697[_0x5c603c(0x18d)]()[_0x5c603c(0x17a)](/\s+/);for(let _0x5dc5ff=0x1;_0x5dc5ff<_0x52ba4e['length'];_0x5dc5ff++){if(!_0x52ba4e[_0x5dc5ff][_0x5c603c(0x19b)]('-'))return _0x52ba4e[_0x5dc5ff];}return null;}function filterLockFile(_0x48a18e,_0x4959db){const _0x51394a=a0_0x2b0a30;try{const _0x1dca25=path['basename'](_0x4959db)[_0x51394a(0x167)]();if(!LOCK_FILES['some'](_0x48c975=>_0x1dca25===_0x48c975[_0x51394a(0x167)]()))return null;const _0x308865=_0x48a18e['length'];let _0x38a49d=0x0;if(_0x1dca25===_0x51394a(0x156))try{const _0x183396=JSON[_0x51394a(0x197)](_0x48a18e);_0x38a49d=Object['keys'](_0x183396[_0x51394a(0x19a)]||_0x183396['dependencies']||{})['length'];}catch{_0x38a49d=(_0x48a18e['match'](/"resolved":/g)||[])[_0x51394a(0x188)];}else{if(_0x1dca25===_0x51394a(0x177))_0x38a49d=(_0x48a18e[_0x51394a(0x199)](/^"?[^#\s][^:]*:$/gm)||[])[_0x51394a(0x188)];else{if(_0x1dca25==='cargo.lock'||_0x1dca25===_0x51394a(0x1b4))_0x38a49d=(_0x48a18e[_0x51394a(0x199)](/\[\[package\]\]/g)||[])[_0x51394a(0x188)];else{if(_0x1dca25===_0x51394a(0x1ab))_0x38a49d=Math[_0x51394a(0x1b1)](_0x48a18e[_0x51394a(0x17a)]('\x0a')[_0x51394a(0x16a)](_0x5a3ac6=>_0x5a3ac6[_0x51394a(0x18d)]())[_0x51394a(0x188)]/0x2);else{if(_0x1dca25===_0x51394a(0x1a5))try{_0x38a49d=JSON[_0x51394a(0x197)](_0x48a18e)[_0x51394a(0x19a)]?.[_0x51394a(0x188)]||0x0;}catch{}else _0x1dca25===_0x51394a(0x16d)?_0x38a49d=(_0x48a18e[_0x51394a(0x199)](/^\s{2}['"@a-z]/gm)||[])['length']:_0x38a49d=_0x48a18e[_0x51394a(0x17a)]('\x0a')[_0x51394a(0x16a)](_0x5797a4=>_0x5797a4['trim']())['length'];}}}}return _0x51394a(0x18c)+path['basename'](_0x4959db)+':\x20'+_0x38a49d+_0x51394a(0x196)+_0x308865[_0x51394a(0x160)]()+_0x51394a(0x15b);}catch{return null;}}function filterBinaryOrMinified(_0xab6e39,_0x44a9b0){const _0x2d9155=a0_0x2b0a30;try{if(_0x44a9b0){const _0x648587=_0x44a9b0['toLowerCase']();for(const _0x54beb6 of BINARY_EXTENSIONS){if(_0x648587[_0x2d9155(0x1af)](_0x54beb6))return'[binary/minified\x20file]\x20'+path[_0x2d9155(0x1bb)](_0x44a9b0)+',\x20'+_0xab6e39['length'][_0x2d9155(0x160)]()+_0x2d9155(0x174)+_0x54beb6+_0x2d9155(0x182);}}const _0x5ac389=_0xab6e39[_0x2d9155(0x14d)](0x0,0x3e8);let _0x30f0fd=0x0;for(let _0x2f76a5=0x0;_0x2f76a5<_0x5ac389[_0x2d9155(0x188)];_0x2f76a5++){if(_0x5ac389[_0x2d9155(0x189)](_0x2f76a5)===0x0)_0x30f0fd++;}if(_0x30f0fd>0x0)return'[binary\x20file]\x20'+_0xab6e39['length']['toLocaleString']()+_0x2d9155(0x19e);let _0x1c9e8e=0x0;for(let _0x423101=0x0;_0x423101<_0x5ac389[_0x2d9155(0x188)];_0x423101++){const _0x4e617c=_0x5ac389[_0x2d9155(0x189)](_0x423101);if(_0x4e617c<0x20&&_0x4e617c!==0xa&&_0x4e617c!==0xd&&_0x4e617c!==0x9)_0x1c9e8e++;}if(_0x5ac389[_0x2d9155(0x188)]>0x64&&_0x1c9e8e>_0x5ac389[_0x2d9155(0x188)]*0.1)return'[binary\x20file]\x20'+_0xab6e39[_0x2d9155(0x188)][_0x2d9155(0x160)]()+_0x2d9155(0x150);const _0x56c24b=_0xab6e39[_0x2d9155(0x17a)]('\x0a');if(_0x56c24b[_0x2d9155(0x188)]<=0x3&&_0xab6e39['length']>0x1388)return _0x2d9155(0x1d4)+_0xab6e39[_0x2d9155(0x188)][_0x2d9155(0x160)]()+_0x2d9155(0x159)+_0x56c24b[_0x2d9155(0x188)]+_0x2d9155(0x170);return null;}catch{return null;}}function filterJsonMinify(_0xaca7a3){const _0x1eec30=a0_0x2b0a30;try{const _0x574eef=_0xaca7a3['trim']();if(!_0x574eef[_0x1eec30(0x19b)]('{')&&!_0x574eef[_0x1eec30(0x19b)]('['))return null;const _0x51d239=_0x574eef[_0x1eec30(0x17a)]('\x0a');if(_0x51d239['length']<=0x14)return null;const _0x285df4=JSON[_0x1eec30(0x197)](_0x574eef),_0x57c8f0=JSON['stringify'](_0x285df4);if(_0x57c8f0['length']<_0x574eef['length'])return _0x57c8f0;return null;}catch{return null;}}function filterLs(_0x5c289e){const _0xd33e0e=a0_0x2b0a30,_0x8d7574=_0x5c289e['split']('\x0a')[_0xd33e0e(0x16a)](_0x2ebdc7=>_0x2ebdc7['trim']()[_0xd33e0e(0x188)]>0x0);if(_0x8d7574[_0xd33e0e(0x188)]===0x0)return _0xd33e0e(0x165);if(_0x8d7574[_0xd33e0e(0x188)]<=0x1e)return _0x5c289e[_0xd33e0e(0x18d)]();const _0x4dbf7e=[],_0x23198f=[];for(const _0x1829d0 of _0x8d7574){const _0x5d507a=_0x1829d0[_0xd33e0e(0x18d)]();if(_0x5d507a[_0xd33e0e(0x19b)](_0xd33e0e(0x1c2))||_0x5d507a['startsWith']('d')&&_0x5d507a['includes']('..'))continue;_0x5d507a[_0xd33e0e(0x1af)]('/')||_0x5d507a[_0xd33e0e(0x19b)]('d')&&_0x5d507a['includes']('\x20')?_0x4dbf7e[_0xd33e0e(0x153)](_0x5d507a):_0x23198f[_0xd33e0e(0x153)](_0x5d507a);}const _0x486823=[];return _0x4dbf7e[_0xd33e0e(0x188)]>0x0&&(_0x4dbf7e['length']<=0xf?_0x486823[_0xd33e0e(0x153)](..._0x4dbf7e):(_0x486823[_0xd33e0e(0x153)](..._0x4dbf7e[_0xd33e0e(0x17c)](0x0,0xa)),_0x486823[_0xd33e0e(0x153)](_0xd33e0e(0x1c0)+(_0x4dbf7e['length']-0xa)+_0xd33e0e(0x1ac)))),_0x23198f[_0xd33e0e(0x188)]>0x0&&(_0x23198f[_0xd33e0e(0x188)]<=0x14?_0x486823[_0xd33e0e(0x153)](..._0x23198f):(_0x486823[_0xd33e0e(0x153)](..._0x23198f[_0xd33e0e(0x17c)](0x0,0xf)),_0x486823['push'](_0xd33e0e(0x1c0)+(_0x23198f[_0xd33e0e(0x188)]-0xf)+_0xd33e0e(0x1a2)))),_0x486823[_0xd33e0e(0x153)]('\x0a('+_0x4dbf7e['length']+_0xd33e0e(0x1d6)+_0x23198f[_0xd33e0e(0x188)]+_0xd33e0e(0x1b6)),_0x486823[_0xd33e0e(0x1d5)]('\x0a');}function filterTree(_0x1da0c1){const _0x4b0fe2=a0_0x2b0a30,_0x101d1c=_0x1da0c1[_0x4b0fe2(0x17a)]('\x0a');if(_0x101d1c[_0x4b0fe2(0x188)]<=0x32)return _0x1da0c1[_0x4b0fe2(0x18d)]();const _0x5bac10=[];let _0xf4b0e6=0x0,_0x4ec856=0x0,_0x840645=0x0;for(const _0x1b5ea4 of _0x101d1c){const _0x36b939=_0x1b5ea4[_0x4b0fe2(0x199)](/(\d+)\s+director/),_0x1cfa1f=_0x1b5ea4[_0x4b0fe2(0x199)](/(\d+)\s+file/);if(_0x36b939)_0x840645=parseInt(_0x36b939[0x1]);if(_0x1cfa1f)_0x4ec856=parseInt(_0x1cfa1f[0x1]);const _0x5b4af8=(_0x1b5ea4[_0x4b0fe2(0x199)](/^[│├└\s─]+/)||[''])[0x0][_0x4b0fe2(0x188)];_0x5b4af8<=0x4&&(_0x5bac10[_0x4b0fe2(0x153)](_0x1b5ea4),_0xf4b0e6++);}return _0x101d1c['length']>_0x5bac10['length']&&_0x5bac10[_0x4b0fe2(0x153)](_0x4b0fe2(0x162)+_0x840645+'\x20directories,\x20'+_0x4ec856+_0x4b0fe2(0x151)),_0x5bac10['join']('\x0a');}function filterCat(_0x1d55f2,_0x5c9283=''){const _0xade677=a0_0x2b0a30,_0x2b0e2f=extractFilename(_0x5c9283);try{if(_0x2b0e2f&&isFeatureEnabled('lock')){const _0x5b75a3=filterLockFile(_0x1d55f2,_0x2b0e2f);if(_0x5b75a3)return _0x5b75a3;}if(isFeatureEnabled(_0xade677(0x1c9))){const _0x23f8c0=filterBinaryOrMinified(_0x1d55f2,_0x2b0e2f);if(_0x23f8c0)return _0x23f8c0;}if(isFeatureEnabled(_0xade677(0x1b9))){const _0x297a3a=(0x0,generic_1[_0xade677(0x1a3)])(_0x1d55f2);if(_0x297a3a)return _0x297a3a;}const _0x18f626=filterJsonMinify(_0x1d55f2);if(_0x18f626)return _0x18f626;if(_0x2b0e2f&&isFeatureEnabled(_0xade677(0x1c1))){const _0x3a668c=path[_0xade677(0x17d)](_0x2b0e2f)[_0xade677(0x167)](),_0x8884c7=[_0xade677(0x1bd),_0xade677(0x1d7),_0xade677(0x17e),_0xade677(0x1cf),'.py',_0xade677(0x19d),_0xade677(0x173),_0xade677(0x1a7),'.c','.cpp',_0xade677(0x1c5),_0xade677(0x181),_0xade677(0x152),'.kt'];if(_0x8884c7['includes'](_0x3a668c)){const _0x5ab27c=_0x1d55f2[_0xade677(0x17a)]('\x0a');if(_0x5ab27c[_0xade677(0x188)]>0x64){const _0x3d18df=[];_0x3d18df['push'](_0xade677(0x16c)+path[_0xade677(0x1bb)](_0x2b0e2f)+'\x20('+_0x5ab27c[_0xade677(0x188)]+_0xade677(0x193)),_0x3d18df[_0xade677(0x153)]('');for(const _0x2da204 of _0x5ab27c){const _0x3ad3c5=_0x2da204['trim']();if(_0x3ad3c5[_0xade677(0x19b)](_0xade677(0x14f))||_0x3ad3c5[_0xade677(0x19b)]('from\x20')||_0x3ad3c5['startsWith'](_0xade677(0x1a8))||_0x3ad3c5[_0xade677(0x199)](/=\s*require\(/)||_0x3ad3c5[_0xade677(0x19b)](_0xade677(0x15d))||_0x3ad3c5[_0xade677(0x19b)](_0xade677(0x18f))||_0x3ad3c5['startsWith']('package\x20'))_0x3d18df[_0xade677(0x153)](_0x2da204);else{if(_0x3ad3c5['match'](/^(export\s+)?(async\s+)?function\s+/)||_0x3ad3c5[_0xade677(0x199)](/^(export\s+)?(default\s+)?class\s+/)||_0x3ad3c5[_0xade677(0x199)](/^(export\s+)?(type|interface|enum)\s+/)||_0x3ad3c5[_0xade677(0x199)](/^(async\s+)?def\s+/)||_0x3ad3c5[_0xade677(0x199)](/^func\s+/)||_0x3ad3c5[_0xade677(0x199)](/^type\s+\w+\s+(struct|interface)/)||_0x3ad3c5['match'](/^(pub\s+)?(async\s+)?fn\s+/)||_0x3ad3c5[_0xade677(0x199)](/^(pub\s+)?(struct|enum|trait|impl)\s+/)||_0x3ad3c5[_0xade677(0x199)](/^(public|private|protected|static)\s+/))_0x3d18df['push'](_0x2da204);else{if(_0x3ad3c5[_0xade677(0x19b)](_0xade677(0x18a))&&!_0x3ad3c5[_0xade677(0x166)]('=>')&&_0x3ad3c5['length']<0x78)_0x3d18df[_0xade677(0x153)](_0x2da204);else _0x3ad3c5[_0xade677(0x19b)]('@')&&!_0x3ad3c5['startsWith'](_0xade677(0x1b8))&&!_0x3ad3c5['startsWith']('@return')&&_0x3d18df['push'](_0x2da204);}}}_0x3d18df[_0xade677(0x153)](''),_0x3d18df[_0xade677(0x153)]('('+_0x5ab27c[_0xade677(0x188)]+_0xade677(0x19c)+(_0x3d18df['length']-0x2)+'\x20structural\x20lines\x20shown)');const _0x10c4da=_0x3d18df['join']('\x0a');if(_0x10c4da['length']<_0x1d55f2[_0xade677(0x188)])return _0x10c4da;}}}}catch{}let _0x81e9ee=(0x0,generic_1['collapseWhitespace'])(_0x1d55f2);if(_0x2b0e2f){const _0x412636=path[_0xade677(0x17d)](_0x2b0e2f)[_0xade677(0x167)]();_0x81e9ee=(0x0,generic_1[_0xade677(0x1b3)])(_0x81e9ee,_0x412636);}const _0x2299b7=_0x81e9ee[_0xade677(0x17a)]('\x0a');if(_0x2299b7[_0xade677(0x188)]<=0x64)return _0x81e9ee;const _0x5e164c=[];return _0x5e164c[_0xade677(0x153)](..._0x2299b7[_0xade677(0x17c)](0x0,0x32)),_0x5e164c[_0xade677(0x153)](_0xade677(0x171)+(_0x2299b7[_0xade677(0x188)]-0x50)+_0xade677(0x179)),_0x5e164c[_0xade677(0x153)](..._0x2299b7[_0xade677(0x17c)](-0x1e)),_0x5e164c['push']('\x0a('+_0x2299b7[_0xade677(0x188)]+_0xade677(0x169)),_0x5e164c[_0xade677(0x1d5)]('\x0a');}function a0_0x4144(_0x656bb5,_0xd769e3){_0x656bb5=_0x656bb5-0x14d;const _0xd24e52=a0_0xd24e();let _0x414401=_0xd24e52[_0x656bb5];return _0x414401;}function filterGrep(_0x2ffd00){const _0x5134f8=a0_0x2b0a30,_0x4f431e=_0x2ffd00[_0x5134f8(0x17a)]('\x0a')[_0x5134f8(0x16a)](_0x1c92ea=>_0x1c92ea[_0x5134f8(0x18d)]()[_0x5134f8(0x188)]>0x0);if(_0x4f431e[_0x5134f8(0x188)]===0x0)return _0x5134f8(0x195);if(_0x4f431e[_0x5134f8(0x188)]<=0x32)return _0x2ffd00[_0x5134f8(0x18d)]();const _0x363bf3={},_0xdc69a=[];for(const _0x1b8709 of _0x4f431e){const _0x17b8f1=_0x1b8709[_0x5134f8(0x1a9)](':');if(_0x17b8f1>0x0&&_0x17b8f1<0xc8){const _0x57d976=_0x1b8709['substring'](0x0,_0x17b8f1);if(_0x57d976[_0x5134f8(0x166)]('/')||_0x57d976['includes']('\x5c')||_0x57d976[_0x5134f8(0x166)]('.')){if(!_0x363bf3[_0x57d976])_0x363bf3[_0x57d976]=[];_0x363bf3[_0x57d976]['push'](_0x1b8709[_0x5134f8(0x14d)](_0x17b8f1+0x1)[_0x5134f8(0x18d)]());continue;}}_0xdc69a[_0x5134f8(0x153)](_0x1b8709);}const _0x2d10a4=[],_0x4d3c8b=Object[_0x5134f8(0x1ae)](_0x363bf3);if(_0x4d3c8b[_0x5134f8(0x188)]>0x0){const _0x463295=0x14,_0x579eee=_0x4d3c8b[_0x5134f8(0x17c)](0x0,_0x463295);for(const _0x2c78f0 of _0x579eee){const _0x44256f=_0x363bf3[_0x2c78f0];if(_0x44256f[_0x5134f8(0x188)]<=0x3)for(const _0x97cac7 of _0x44256f){_0x2d10a4['push'](_0x2c78f0+':\x20'+_0x97cac7);}else _0x2d10a4['push'](_0x2c78f0+':\x20'+_0x44256f[0x0]),_0x2d10a4[_0x5134f8(0x153)](_0x2c78f0+_0x5134f8(0x15a)+_0x44256f['length']+_0x5134f8(0x1d0));}_0x4d3c8b[_0x5134f8(0x188)]>_0x463295&&_0x2d10a4[_0x5134f8(0x153)](_0x5134f8(0x1c0)+(_0x4d3c8b[_0x5134f8(0x188)]-_0x463295)+_0x5134f8(0x1d2));}if(_0xdc69a['length']>0x0){const _0x5db571=0x1e;_0x2d10a4['push'](..._0xdc69a[_0x5134f8(0x17c)](0x0,_0x5db571)),_0xdc69a[_0x5134f8(0x188)]>_0x5db571&&_0x2d10a4[_0x5134f8(0x153)]('...\x20+'+(_0xdc69a['length']-_0x5db571)+_0x5134f8(0x19f));}const _0x165f48=_0x4f431e[_0x5134f8(0x188)];return _0x2d10a4['push']('\x0a('+_0x165f48+_0x5134f8(0x1d8)+(_0x4d3c8b[_0x5134f8(0x188)]||'?')+'\x20files)'),_0x2d10a4[_0x5134f8(0x1d5)]('\x0a');}function filterFind(_0xe15df){const _0x1cfaf0=a0_0x2b0a30,_0x3b8f06=_0xe15df[_0x1cfaf0(0x17a)]('\x0a')[_0x1cfaf0(0x16a)](_0x46c43f=>_0x46c43f[_0x1cfaf0(0x18d)]()[_0x1cfaf0(0x188)]>0x0);if(_0x3b8f06['length']===0x0)return _0x1cfaf0(0x16e);if(_0x3b8f06[_0x1cfaf0(0x188)]<=0x32)return _0xe15df[_0x1cfaf0(0x18d)]();const _0x3d3c8a={};for(const _0x2e4043 of _0x3b8f06){const _0x4744c0=path[_0x1cfaf0(0x1c8)](_0x2e4043[_0x1cfaf0(0x18d)]())||'.';_0x3d3c8a[_0x4744c0]=(_0x3d3c8a[_0x4744c0]||0x0)+0x1;}const _0xe36c3b=Object['entries'](_0x3d3c8a)[_0x1cfaf0(0x1c6)]((_0x10939f,_0x2da746)=>_0x2da746[0x1]-_0x10939f[0x1]),_0x16be58=[_0x3b8f06[_0x1cfaf0(0x188)]+'\x20files\x20found\x20across\x20'+_0xe36c3b[_0x1cfaf0(0x188)]+'\x20directories',''],_0x3a5376=0x1e;for(const [_0x1b26d6,_0x4028dd]of _0xe36c3b['slice'](0x0,_0x3a5376)){_0x16be58[_0x1cfaf0(0x153)]('\x20\x20'+_0x1b26d6+_0x1cfaf0(0x1ba)+_0x4028dd+_0x1cfaf0(0x1b6));}return _0xe36c3b[_0x1cfaf0(0x188)]>_0x3a5376&&_0x16be58['push'](_0x1cfaf0(0x1a4)+(_0xe36c3b['length']-_0x3a5376)+'\x20more\x20directories'),_0x16be58[_0x1cfaf0(0x1d5)]('\x0a');}
1
+ 'use strict';const a0_0x1e606d=a0_0x189c;function a0_0x3a7b(){const _0x45e7a7=['get','tracker','Cargo.lock','.tar.gz','join','.go','\x0a...\x20(','.obj','\x20dependencies,\x20','.cpp','sort','.sqlite','stringify','.rar','collapseWhitespace','filterGrep','substring','filterCat','1655448DMTtnK','\x20more\x20matches','go.sum','total\x20','.ico','.java','.7z','endsWith','33nmSURN','match','\x20(content\x20omitted\x20—\x20not\x20useful\x20for\x20LLM\x20context)','No\x20matches\x20found','defineProperty','/\x20(','getOwnPropertyDescriptor','call','\x20more\x20files','.so','.tsx','[lock\x20file]\x20','dependencies','filterTree','.kt','.rb','basename','758PHMnoW','includes','600wimJge','path','binary','.tgz','length','.swift','...\x20+','3484670dVudxq','[binary\x20file]\x20','bun.lockb','.zip','packages','../tracker','\x20line(s)\x20(content\x20omitted\x20—\x20not\x20human-readable)','__createBinding','\x20lines)','filterFind','use\x20','\x20directories,\x20','.rs','#include\x20','parse','from\x20','yarn.lock','some','.bin','extname','\x20more\x20directories','__setModuleDefault','6oHqUjl','\x20structural\x20lines\x20shown)','.png','getOwnPropertyNames','.bmp','.pyc','.webp','1293501vhxKUX','__importStar','\x20files)','.eot','.min.css','slice','50TnKmBe','filter','features_enabled','poetry.lock','\x20chars\x20across\x20','.avi','create',':\x20...\x20(','entries','hasOwnProperty','./generic','[binary/minified\x20file]\x20','.gif','__esModule','.jpeg','.webm','toLowerCase','.mp3','charCodeAt','composer.lock','pnpm-lock.yaml','.db','.gz','default','179416YvERSt','cargo.lock','\x20more\x20files\x20with\x20matches','stripComments','\x20files\x20found\x20across\x20','trim','\x20lines\x20total)','.woff','keys','\x20directories','\x0a...\x20[','.pyo','.jpg','split','\x20chars\x20(content\x20omitted\x20—\x20lock\x20files\x20are\x20not\x20useful\x20for\x20LLM\x20context)','Empty\x20directory','.bz2','push','\x20lines\x20total,\x20','package-lock.json','22077QaBlij','.exe','\x20matches\x20in\x20this\x20file)','.mp4','toLocaleString','writable','.jsx','\x20files\x20total\x20—\x20deep\x20entries\x20truncated)','.min.js','startsWith','.pdf','\x20\x20...\x20+','520JFYtvd','json_crusher','\x20chars\x20(contains\x20null\x20bytes\x20—\x20binary\x20content\x20omitted)','880315bWrTtD'];a0_0x3a7b=function(){return _0x45e7a7;};return a0_0x3a7b();}(function(_0x470451,_0x4c6b0d){const _0x4b3ce0=a0_0x189c,_0x3fabdc=_0x470451();while(!![]){try{const _0x368cc4=-parseInt(_0x4b3ce0(0xff))/0x1*(parseInt(_0x4b3ce0(0x163))/0x2)+parseInt(_0x4b3ce0(0xee))/0x3*(parseInt(_0x4b3ce0(0x143))/0x4)+parseInt(_0x4b3ce0(0x166))/0x5*(parseInt(_0x4b3ce0(0x11e))/0x6)+parseInt(_0x4b3ce0(0x108))/0x7+parseInt(_0x4b3ce0(0x101))/0x8*(parseInt(_0x4b3ce0(0x157))/0x9)+parseInt(_0x4b3ce0(0x12b))/0xa*(-parseInt(_0x4b3ce0(0x125))/0xb)+-parseInt(_0x4b3ce0(0xe6))/0xc;if(_0x368cc4===_0x4c6b0d)break;else _0x3fabdc['push'](_0x3fabdc['shift']());}catch(_0x4db336){_0x3fabdc['push'](_0x3fabdc['shift']());}}}(a0_0x3a7b,0x688dd));var __createBinding=this&&this[a0_0x1e606d(0x10f)]||(Object[a0_0x1e606d(0x131)]?function(_0x17aaa9,_0xe85d,_0x51fb94,_0xf20c73){const _0x25ade1=a0_0x1e606d;if(_0xf20c73===undefined)_0xf20c73=_0x51fb94;var _0x38b66a=Object[_0x25ade1(0xf4)](_0xe85d,_0x51fb94);(!_0x38b66a||(_0x25ade1(0x167)in _0x38b66a?!_0xe85d[_0x25ade1(0x138)]:_0x38b66a[_0x25ade1(0x15c)]||_0x38b66a['configurable']))&&(_0x38b66a={'enumerable':!![],'get':function(){return _0xe85d[_0x51fb94];}}),Object['defineProperty'](_0x17aaa9,_0xf20c73,_0x38b66a);}:function(_0x3a89a6,_0x47721c,_0x5fef39,_0x1ba71b){if(_0x1ba71b===undefined)_0x1ba71b=_0x5fef39;_0x3a89a6[_0x1ba71b]=_0x47721c[_0x5fef39];}),__setModuleDefault=this&&this[a0_0x1e606d(0x11d)]||(Object[a0_0x1e606d(0x131)]?function(_0x1bb97b,_0x4da5b1){const _0x389cc3=a0_0x1e606d;Object[_0x389cc3(0xf2)](_0x1bb97b,_0x389cc3(0x142),{'enumerable':!![],'value':_0x4da5b1});}:function(_0x110768,_0x57093f){const _0x469427=a0_0x1e606d;_0x110768[_0x469427(0x142)]=_0x57093f;}),__importStar=this&&this[a0_0x1e606d(0x126)]||(function(){var _0x5cee5c=function(_0x72c234){const _0x344b82=a0_0x189c;return _0x5cee5c=Object[_0x344b82(0x121)]||function(_0xe61937){const _0x1191a2=_0x344b82;var _0xb48932=[];for(var _0x53ffc0 in _0xe61937)if(Object['prototype'][_0x1191a2(0x134)][_0x1191a2(0xf5)](_0xe61937,_0x53ffc0))_0xb48932[_0xb48932['length']]=_0x53ffc0;return _0xb48932;},_0x5cee5c(_0x72c234);};return function(_0x2c01e9){const _0x2c11c1=a0_0x189c;if(_0x2c01e9&&_0x2c01e9['__esModule'])return _0x2c01e9;var _0x935dee={};if(_0x2c01e9!=null){for(var _0x3f0d4c=_0x5cee5c(_0x2c01e9),_0x5965b8=0x0;_0x5965b8<_0x3f0d4c[_0x2c11c1(0x105)];_0x5965b8++)if(_0x3f0d4c[_0x5965b8]!==_0x2c11c1(0x142))__createBinding(_0x935dee,_0x2c01e9,_0x3f0d4c[_0x5965b8]);}return __setModuleDefault(_0x935dee,_0x2c01e9),_0x935dee;};}());function a0_0x189c(_0x320fb3,_0x25f9fa){_0x320fb3=_0x320fb3-0xe6;const _0x3a7bbd=a0_0x3a7b();let _0x189c0f=_0x3a7bbd[_0x320fb3];return _0x189c0f;}Object[a0_0x1e606d(0xf2)](exports,'__esModule',{'value':!![]}),exports['filterLs']=filterLs,exports[a0_0x1e606d(0xfb)]=filterTree,exports[a0_0x1e606d(0x178)]=filterCat,exports[a0_0x1e606d(0x176)]=filterGrep,exports[a0_0x1e606d(0x111)]=filterFind;const path=__importStar(require(a0_0x1e606d(0x102))),generic_1=require(a0_0x1e606d(0x135)),tracker_1=require(a0_0x1e606d(0x10d));function isFeatureEnabled(_0x3b8874){const _0x42544a=a0_0x1e606d;try{const _0x33b2be=tracker_1[_0x42544a(0x168)]['getConfig'](),_0x55e410=_0x33b2be[_0x42544a(0x12d)];if(!_0x55e410||_0x55e410[_0x3b8874]===undefined)return!![];return _0x55e410[_0x3b8874]!==![];}catch{return!![];}}const LOCK_FILES=['package-lock.json','yarn.lock',a0_0x1e606d(0x13f),a0_0x1e606d(0x169),a0_0x1e606d(0xe8),'poetry.lock',a0_0x1e606d(0x13e),'Gemfile.lock',a0_0x1e606d(0x10a)],BINARY_EXTENSIONS=[a0_0x1e606d(0x15f),a0_0x1e606d(0x129),'.map','.wasm',a0_0x1e606d(0x120),a0_0x1e606d(0x14f),a0_0x1e606d(0x139),a0_0x1e606d(0x137),a0_0x1e606d(0xea),a0_0x1e606d(0x122),a0_0x1e606d(0x124),'.svg',a0_0x1e606d(0x161),a0_0x1e606d(0x10b),a0_0x1e606d(0x16a),a0_0x1e606d(0x104),a0_0x1e606d(0x141),a0_0x1e606d(0x153),a0_0x1e606d(0xec),a0_0x1e606d(0x174),a0_0x1e606d(0x158),'.dll',a0_0x1e606d(0xf7),'.dylib',a0_0x1e606d(0x11a),'.dat',a0_0x1e606d(0x172),a0_0x1e606d(0x140),'.sqlite3',a0_0x1e606d(0x14a),'.woff2','.ttf',a0_0x1e606d(0x128),'.otf',a0_0x1e606d(0x13c),a0_0x1e606d(0x15a),'.wav',a0_0x1e606d(0x130),'.mov',a0_0x1e606d(0x13a),a0_0x1e606d(0x123),a0_0x1e606d(0x14e),'.class','.o',a0_0x1e606d(0x16e)];function extractFilename(_0xadfcbc){const _0x3499d5=a0_0x1e606d,_0x1b9a52=_0xadfcbc[_0x3499d5(0x148)]()[_0x3499d5(0x150)](/\s+/);for(let _0x5c8951=0x1;_0x5c8951<_0x1b9a52[_0x3499d5(0x105)];_0x5c8951++){if(!_0x1b9a52[_0x5c8951][_0x3499d5(0x160)]('-'))return _0x1b9a52[_0x5c8951];}return null;}function filterLockFile(_0x158b7f,_0x1b27bc){const _0x35aea3=a0_0x1e606d;try{const _0x4c850b=path['basename'](_0x1b27bc)['toLowerCase']();if(!LOCK_FILES[_0x35aea3(0x119)](_0x3f4312=>_0x4c850b===_0x3f4312[_0x35aea3(0x13b)]()))return null;const _0x1e3f5a=_0x158b7f[_0x35aea3(0x105)];let _0x1d5165=0x0;if(_0x4c850b===_0x35aea3(0x156))try{const _0x4eb1c6=JSON['parse'](_0x158b7f);_0x1d5165=Object[_0x35aea3(0x14b)](_0x4eb1c6[_0x35aea3(0x10c)]||_0x4eb1c6[_0x35aea3(0xfa)]||{})[_0x35aea3(0x105)];}catch{_0x1d5165=(_0x158b7f[_0x35aea3(0xef)](/"resolved":/g)||[])[_0x35aea3(0x105)];}else{if(_0x4c850b===_0x35aea3(0x118))_0x1d5165=(_0x158b7f[_0x35aea3(0xef)](/^"?[^#\s][^:]*:$/gm)||[])['length'];else{if(_0x4c850b===_0x35aea3(0x144)||_0x4c850b===_0x35aea3(0x12e))_0x1d5165=(_0x158b7f[_0x35aea3(0xef)](/\[\[package\]\]/g)||[])[_0x35aea3(0x105)];else{if(_0x4c850b===_0x35aea3(0xe8))_0x1d5165=Math['floor'](_0x158b7f[_0x35aea3(0x150)]('\x0a')['filter'](_0x5b3de2=>_0x5b3de2[_0x35aea3(0x148)]())[_0x35aea3(0x105)]/0x2);else{if(_0x4c850b===_0x35aea3(0x13e))try{_0x1d5165=JSON[_0x35aea3(0x116)](_0x158b7f)[_0x35aea3(0x10c)]?.['length']||0x0;}catch{}else _0x4c850b===_0x35aea3(0x13f)?_0x1d5165=(_0x158b7f[_0x35aea3(0xef)](/^\s{2}['"@a-z]/gm)||[])[_0x35aea3(0x105)]:_0x1d5165=_0x158b7f['split']('\x0a')[_0x35aea3(0x12c)](_0xba25c=>_0xba25c[_0x35aea3(0x148)]())[_0x35aea3(0x105)];}}}}return _0x35aea3(0xf9)+path[_0x35aea3(0xfe)](_0x1b27bc)+':\x20'+_0x1d5165+_0x35aea3(0x16f)+_0x1e3f5a[_0x35aea3(0x15b)]()+_0x35aea3(0x151);}catch{return null;}}function filterBinaryOrMinified(_0x3f09d1,_0x3e538a){const _0x417800=a0_0x1e606d;try{if(_0x3e538a){const _0x526b3b=_0x3e538a[_0x417800(0x13b)]();for(const _0x5f53f2 of BINARY_EXTENSIONS){if(_0x526b3b[_0x417800(0xed)](_0x5f53f2))return _0x417800(0x136)+path[_0x417800(0xfe)](_0x3e538a)+',\x20'+_0x3f09d1[_0x417800(0x105)][_0x417800(0x15b)]()+'\x20chars,\x20type:\x20'+_0x5f53f2+_0x417800(0xf0);}}const _0x129cd2=_0x3f09d1[_0x417800(0x177)](0x0,0x3e8);let _0x137b83=0x0;for(let _0x35c5af=0x0;_0x35c5af<_0x129cd2[_0x417800(0x105)];_0x35c5af++){if(_0x129cd2[_0x417800(0x13d)](_0x35c5af)===0x0)_0x137b83++;}if(_0x137b83>0x0)return _0x417800(0x109)+_0x3f09d1[_0x417800(0x105)]['toLocaleString']()+_0x417800(0x165);let _0x212474=0x0;for(let _0x151c56=0x0;_0x151c56<_0x129cd2[_0x417800(0x105)];_0x151c56++){const _0x38062c=_0x129cd2[_0x417800(0x13d)](_0x151c56);if(_0x38062c<0x20&&_0x38062c!==0xa&&_0x38062c!==0xd&&_0x38062c!==0x9)_0x212474++;}if(_0x129cd2[_0x417800(0x105)]>0x64&&_0x212474>_0x129cd2[_0x417800(0x105)]*0.1)return _0x417800(0x109)+_0x3f09d1['length'][_0x417800(0x15b)]()+'\x20chars\x20(high\x20non-printable\x20ratio\x20—\x20content\x20omitted)';const _0x314110=_0x3f09d1[_0x417800(0x150)]('\x0a');if(_0x314110[_0x417800(0x105)]<=0x3&&_0x3f09d1[_0x417800(0x105)]>0x1388)return'[minified\x20file]\x20'+_0x3f09d1[_0x417800(0x105)][_0x417800(0x15b)]()+_0x417800(0x12f)+_0x314110[_0x417800(0x105)]+_0x417800(0x10e);return null;}catch{return null;}}function filterJsonMinify(_0x68846){const _0x1e946b=a0_0x1e606d;try{const _0x15e599=_0x68846['trim']();if(!_0x15e599[_0x1e946b(0x160)]('{')&&!_0x15e599[_0x1e946b(0x160)]('['))return null;const _0x6e3527=_0x15e599[_0x1e946b(0x150)]('\x0a');if(_0x6e3527['length']<=0x14)return null;const _0x81ccb=JSON[_0x1e946b(0x116)](_0x15e599),_0xea4ecd=JSON[_0x1e946b(0x173)](_0x81ccb);if(_0xea4ecd[_0x1e946b(0x105)]<_0x15e599[_0x1e946b(0x105)])return _0xea4ecd;return null;}catch{return null;}}function filterLs(_0x182295){const _0x4908e1=a0_0x1e606d,_0x3284fb=_0x182295[_0x4908e1(0x150)]('\x0a')['filter'](_0x66557=>_0x66557[_0x4908e1(0x148)]()[_0x4908e1(0x105)]>0x0);if(_0x3284fb[_0x4908e1(0x105)]===0x0)return _0x4908e1(0x152);if(_0x3284fb[_0x4908e1(0x105)]<=0x1e)return _0x182295[_0x4908e1(0x148)]();const _0xfabc56=[],_0x3bfa95=[];for(const _0x5b9d19 of _0x3284fb){const _0x1d694e=_0x5b9d19[_0x4908e1(0x148)]();if(_0x1d694e['startsWith'](_0x4908e1(0xe9))||_0x1d694e['startsWith']('d')&&_0x1d694e['includes']('..'))continue;_0x1d694e[_0x4908e1(0xed)]('/')||_0x1d694e[_0x4908e1(0x160)]('d')&&_0x1d694e[_0x4908e1(0x100)]('\x20')?_0xfabc56[_0x4908e1(0x154)](_0x1d694e):_0x3bfa95['push'](_0x1d694e);}const _0x303074=[];return _0xfabc56['length']>0x0&&(_0xfabc56[_0x4908e1(0x105)]<=0xf?_0x303074['push'](..._0xfabc56):(_0x303074[_0x4908e1(0x154)](..._0xfabc56[_0x4908e1(0x12a)](0x0,0xa)),_0x303074[_0x4908e1(0x154)](_0x4908e1(0x107)+(_0xfabc56[_0x4908e1(0x105)]-0xa)+_0x4908e1(0x11c)))),_0x3bfa95[_0x4908e1(0x105)]>0x0&&(_0x3bfa95['length']<=0x14?_0x303074[_0x4908e1(0x154)](..._0x3bfa95):(_0x303074['push'](..._0x3bfa95[_0x4908e1(0x12a)](0x0,0xf)),_0x303074[_0x4908e1(0x154)](_0x4908e1(0x107)+(_0x3bfa95[_0x4908e1(0x105)]-0xf)+_0x4908e1(0xf6)))),_0x303074[_0x4908e1(0x154)]('\x0a('+_0xfabc56[_0x4908e1(0x105)]+_0x4908e1(0x113)+_0x3bfa95[_0x4908e1(0x105)]+_0x4908e1(0x127)),_0x303074[_0x4908e1(0x16b)]('\x0a');}function filterTree(_0x2efd26){const _0x25978a=a0_0x1e606d,_0x38050a=_0x2efd26[_0x25978a(0x150)]('\x0a');if(_0x38050a['length']<=0x32)return _0x2efd26[_0x25978a(0x148)]();const _0x44e2e6=[];let _0x40b65e=0x0,_0x3c8a34=0x0,_0x325577=0x0;for(const _0x597137 of _0x38050a){const _0x501218=_0x597137['match'](/(\d+)\s+director/),_0x501290=_0x597137['match'](/(\d+)\s+file/);if(_0x501218)_0x325577=parseInt(_0x501218[0x1]);if(_0x501290)_0x3c8a34=parseInt(_0x501290[0x1]);const _0x444887=(_0x597137[_0x25978a(0xef)](/^[│├└\s─]+/)||[''])[0x0]['length'];_0x444887<=0x4&&(_0x44e2e6[_0x25978a(0x154)](_0x597137),_0x40b65e++);}return _0x38050a[_0x25978a(0x105)]>_0x44e2e6[_0x25978a(0x105)]&&_0x44e2e6[_0x25978a(0x154)](_0x25978a(0x16d)+_0x325577+_0x25978a(0x113)+_0x3c8a34+_0x25978a(0x15e)),_0x44e2e6[_0x25978a(0x16b)]('\x0a');}function filterCat(_0x9fd7c7,_0xf6ab64=''){const _0x4a1a72=a0_0x1e606d,_0x21f99b=extractFilename(_0xf6ab64);try{if(_0x21f99b&&isFeatureEnabled('lock')){const _0x4b2079=filterLockFile(_0x9fd7c7,_0x21f99b);if(_0x4b2079)return _0x4b2079;}if(isFeatureEnabled(_0x4a1a72(0x103))){const _0x2a229a=filterBinaryOrMinified(_0x9fd7c7,_0x21f99b);if(_0x2a229a)return _0x2a229a;}if(isFeatureEnabled(_0x4a1a72(0x164))){const _0x460363=(0x0,generic_1['smartCrushJson'])(_0x9fd7c7);if(_0x460363)return _0x460363;}const _0x4c460f=filterJsonMinify(_0x9fd7c7);if(_0x4c460f)return _0x4c460f;if(_0x21f99b&&isFeatureEnabled('skeleton')){const _0x2958f7=path[_0x4a1a72(0x11b)](_0x21f99b)[_0x4a1a72(0x13b)](),_0x1521ee=['.ts','.js',_0x4a1a72(0xf8),_0x4a1a72(0x15d),'.py',_0x4a1a72(0x16c),_0x4a1a72(0x114),_0x4a1a72(0xeb),'.c',_0x4a1a72(0x170),'.cs',_0x4a1a72(0xfd),_0x4a1a72(0x106),_0x4a1a72(0xfc)];if(_0x1521ee['includes'](_0x2958f7)){const _0x3e1716=_0x9fd7c7[_0x4a1a72(0x150)]('\x0a');if(_0x3e1716[_0x4a1a72(0x105)]>0x64){const _0x3ece2b=[];_0x3ece2b[_0x4a1a72(0x154)]('[code\x20skeleton]\x20'+path['basename'](_0x21f99b)+'\x20('+_0x3e1716[_0x4a1a72(0x105)]+_0x4a1a72(0x110)),_0x3ece2b['push']('');for(const _0x54592e of _0x3e1716){const _0x1d76d9=_0x54592e[_0x4a1a72(0x148)]();if(_0x1d76d9[_0x4a1a72(0x160)]('import\x20')||_0x1d76d9[_0x4a1a72(0x160)](_0x4a1a72(0x117))||_0x1d76d9[_0x4a1a72(0x160)]('require(')||_0x1d76d9[_0x4a1a72(0xef)](/=\s*require\(/)||_0x1d76d9['startsWith'](_0x4a1a72(0x115))||_0x1d76d9[_0x4a1a72(0x160)](_0x4a1a72(0x112))||_0x1d76d9[_0x4a1a72(0x160)]('package\x20'))_0x3ece2b[_0x4a1a72(0x154)](_0x54592e);else{if(_0x1d76d9[_0x4a1a72(0xef)](/^(export\s+)?(async\s+)?function\s+/)||_0x1d76d9[_0x4a1a72(0xef)](/^(export\s+)?(default\s+)?class\s+/)||_0x1d76d9[_0x4a1a72(0xef)](/^(export\s+)?(type|interface|enum)\s+/)||_0x1d76d9[_0x4a1a72(0xef)](/^(async\s+)?def\s+/)||_0x1d76d9[_0x4a1a72(0xef)](/^func\s+/)||_0x1d76d9['match'](/^type\s+\w+\s+(struct|interface)/)||_0x1d76d9[_0x4a1a72(0xef)](/^(pub\s+)?(async\s+)?fn\s+/)||_0x1d76d9[_0x4a1a72(0xef)](/^(pub\s+)?(struct|enum|trait|impl)\s+/)||_0x1d76d9[_0x4a1a72(0xef)](/^(public|private|protected|static)\s+/))_0x3ece2b['push'](_0x54592e);else{if(_0x1d76d9[_0x4a1a72(0x160)]('export\x20')&&!_0x1d76d9[_0x4a1a72(0x100)]('=>')&&_0x1d76d9[_0x4a1a72(0x105)]<0x78)_0x3ece2b[_0x4a1a72(0x154)](_0x54592e);else _0x1d76d9['startsWith']('@')&&!_0x1d76d9[_0x4a1a72(0x160)]('@param')&&!_0x1d76d9['startsWith']('@return')&&_0x3ece2b[_0x4a1a72(0x154)](_0x54592e);}}}_0x3ece2b[_0x4a1a72(0x154)](''),_0x3ece2b['push']('('+_0x3e1716['length']+_0x4a1a72(0x155)+(_0x3ece2b[_0x4a1a72(0x105)]-0x2)+_0x4a1a72(0x11f));const _0x571545=_0x3ece2b[_0x4a1a72(0x16b)]('\x0a');if(_0x571545[_0x4a1a72(0x105)]<_0x9fd7c7[_0x4a1a72(0x105)])return _0x571545;}}}}catch{}let _0x3aa0c4=(0x0,generic_1[_0x4a1a72(0x175)])(_0x9fd7c7);if(_0x21f99b){const _0x4ca8fc=path['extname'](_0x21f99b)[_0x4a1a72(0x13b)]();_0x3aa0c4=(0x0,generic_1[_0x4a1a72(0x146)])(_0x3aa0c4,_0x4ca8fc);}const _0x13f421=_0x3aa0c4[_0x4a1a72(0x150)]('\x0a');if(_0x13f421[_0x4a1a72(0x105)]<=0x64)return _0x3aa0c4;const _0x53329c=[];return _0x53329c['push'](..._0x13f421[_0x4a1a72(0x12a)](0x0,0x32)),_0x53329c[_0x4a1a72(0x154)](_0x4a1a72(0x14d)+(_0x13f421[_0x4a1a72(0x105)]-0x50)+'\x20lines\x20truncated]\x20...\x0a'),_0x53329c[_0x4a1a72(0x154)](..._0x13f421[_0x4a1a72(0x12a)](-0x1e)),_0x53329c[_0x4a1a72(0x154)]('\x0a('+_0x13f421[_0x4a1a72(0x105)]+_0x4a1a72(0x149)),_0x53329c[_0x4a1a72(0x16b)]('\x0a');}function filterGrep(_0x7b831c){const _0x482d79=a0_0x1e606d,_0x4ae74b=_0x7b831c[_0x482d79(0x150)]('\x0a')['filter'](_0x3ebf03=>_0x3ebf03['trim']()[_0x482d79(0x105)]>0x0);if(_0x4ae74b['length']===0x0)return _0x482d79(0xf1);if(_0x4ae74b['length']<=0x32)return _0x7b831c[_0x482d79(0x148)]();const _0xf0482f={},_0x3d9973=[];for(const _0x5c70a3 of _0x4ae74b){const _0x582fbc=_0x5c70a3['indexOf'](':');if(_0x582fbc>0x0&&_0x582fbc<0xc8){const _0x4b8300=_0x5c70a3[_0x482d79(0x177)](0x0,_0x582fbc);if(_0x4b8300['includes']('/')||_0x4b8300[_0x482d79(0x100)]('\x5c')||_0x4b8300['includes']('.')){if(!_0xf0482f[_0x4b8300])_0xf0482f[_0x4b8300]=[];_0xf0482f[_0x4b8300][_0x482d79(0x154)](_0x5c70a3[_0x482d79(0x177)](_0x582fbc+0x1)['trim']());continue;}}_0x3d9973[_0x482d79(0x154)](_0x5c70a3);}const _0x42c7b8=[],_0x3fb95d=Object['keys'](_0xf0482f);if(_0x3fb95d[_0x482d79(0x105)]>0x0){const _0x2b6d39=0x14,_0x55f651=_0x3fb95d[_0x482d79(0x12a)](0x0,_0x2b6d39);for(const _0x172de7 of _0x55f651){const _0x10dec7=_0xf0482f[_0x172de7];if(_0x10dec7['length']<=0x3)for(const _0x40433b of _0x10dec7){_0x42c7b8[_0x482d79(0x154)](_0x172de7+':\x20'+_0x40433b);}else _0x42c7b8['push'](_0x172de7+':\x20'+_0x10dec7[0x0]),_0x42c7b8['push'](_0x172de7+_0x482d79(0x132)+_0x10dec7[_0x482d79(0x105)]+_0x482d79(0x159));}_0x3fb95d[_0x482d79(0x105)]>_0x2b6d39&&_0x42c7b8[_0x482d79(0x154)](_0x482d79(0x107)+(_0x3fb95d[_0x482d79(0x105)]-_0x2b6d39)+_0x482d79(0x145));}if(_0x3d9973[_0x482d79(0x105)]>0x0){const _0x201fbe=0x1e;_0x42c7b8[_0x482d79(0x154)](..._0x3d9973[_0x482d79(0x12a)](0x0,_0x201fbe)),_0x3d9973['length']>_0x201fbe&&_0x42c7b8[_0x482d79(0x154)](_0x482d79(0x107)+(_0x3d9973['length']-_0x201fbe)+_0x482d79(0xe7));}const _0x2c4f02=_0x4ae74b[_0x482d79(0x105)];return _0x42c7b8[_0x482d79(0x154)]('\x0a('+_0x2c4f02+'\x20matches\x20across\x20'+(_0x3fb95d[_0x482d79(0x105)]||'?')+_0x482d79(0x127)),_0x42c7b8[_0x482d79(0x16b)]('\x0a');}function filterFind(_0x25b544){const _0x3ccb99=a0_0x1e606d,_0x1014d7=_0x25b544[_0x3ccb99(0x150)]('\x0a')[_0x3ccb99(0x12c)](_0x1cadb9=>_0x1cadb9[_0x3ccb99(0x148)]()['length']>0x0);if(_0x1014d7[_0x3ccb99(0x105)]===0x0)return'No\x20files\x20found';if(_0x1014d7[_0x3ccb99(0x105)]<=0x32)return _0x25b544[_0x3ccb99(0x148)]();const _0x5f47c8={};for(const _0x1a7cfc of _0x1014d7){const _0x52b148=path['dirname'](_0x1a7cfc[_0x3ccb99(0x148)]())||'.';_0x5f47c8[_0x52b148]=(_0x5f47c8[_0x52b148]||0x0)+0x1;}const _0x51901f=Object[_0x3ccb99(0x133)](_0x5f47c8)[_0x3ccb99(0x171)]((_0x25eb32,_0x121f2d)=>_0x121f2d[0x1]-_0x25eb32[0x1]),_0x1e193f=[_0x1014d7['length']+_0x3ccb99(0x147)+_0x51901f[_0x3ccb99(0x105)]+_0x3ccb99(0x14c),''],_0xefedf4=0x1e;for(const [_0x543dec,_0x429460]of _0x51901f['slice'](0x0,_0xefedf4)){_0x1e193f[_0x3ccb99(0x154)]('\x20\x20'+_0x543dec+_0x3ccb99(0xf3)+_0x429460+'\x20files)');}return _0x51901f[_0x3ccb99(0x105)]>_0xefedf4&&_0x1e193f[_0x3ccb99(0x154)](_0x3ccb99(0x162)+(_0x51901f[_0x3ccb99(0x105)]-_0xefedf4)+_0x3ccb99(0x11c)),_0x1e193f['join']('\x0a');}
package/index.html CHANGED
@@ -777,10 +777,11 @@
777
777
  { category: 'S — Security', features: [
778
778
  { key: 'redact', title: 'Secret redaction (20 patterns)', desc: 'AWS keys, API tokens, JWTs, DB strings auto-blocked', badges: ['Claude','Cursor','Copilot','Gemini','Antigravity'], statKey: 'secrets', statSub: 'secrets blocked', status: 'active' },
779
779
  ]},
780
- { category: 'P — Proxy (Universal AI API Compression)', features: [
781
- { key: 'conv_compress', title: 'Conversation history compression', desc: 'Score old messages by importance, drop low-value ones. Via trim proxy', badges: ['Claude Code CLI','Codex CLI','Aider','Copilot CLI','SDK / curl'], statSub: 'on conversation', status: 'active' },
782
- { key: 'resp_optimize', title: 'Response length optimization', desc: 'Set optimal max_tokens per request based on task complexity. Via trim proxy', badges: ['Claude Code CLI','Codex CLI','Aider','Copilot CLI','SDK / curl'], statSub: 'on output', status: 'active' },
783
- ], hasProxyToggle: true },
780
+ // --- P — Proxy section hidden for now (interceptor not functional yet). Re-enable by uncommenting. ---
781
+ // { category: 'P Proxy (Universal AI API Compression)', features: [
782
+ // { key: 'conv_compress', title: 'Conversation history compression', desc: 'Score old messages by importance, drop low-value ones. Via trim proxy', badges: ['Claude Code CLI','Codex CLI','Aider','Copilot CLI','SDK / curl'], statSub: 'on conversation', status: 'active' },
783
+ // { key: 'resp_optimize', title: 'Response length optimization', desc: 'Set optimal max_tokens per request based on task complexity. Via trim proxy', badges: ['Claude Code CLI','Codex CLI','Aider','Copilot CLI','SDK / curl'], statSub: 'on output', status: 'active' },
784
+ // ], hasProxyToggle: true },
784
785
  ];
785
786
 
786
787
  let proxyRunning = false;
@@ -896,12 +897,7 @@
896
897
  let html = '';
897
898
 
898
899
  CSA_FEATURES.forEach(cat => {
899
- if (cat.hasProxyToggle) {
900
- html += `<div class="csa-category" style="display:flex;justify-content:space-between;align-items:center;">${cat.category}<span id="proxy-toggle-area">${lastProxyToggleHtml}</span></div>`;
901
- html += `<div id="proxy-savings-card">${lastProxySavingsHtml}</div>`;
902
- } else {
903
- html += `<div class="csa-category">${cat.category}</div>`;
904
- }
900
+ html += `<div class="csa-category">${cat.category}</div>`;
905
901
  cat.features.forEach(f => {
906
902
  const isSoon = f.status === 'soon';
907
903
  const isOff = f.status === 'off';
package/mcp.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function a0_0x56e5(_0x1455bc,_0x583648){_0x1455bc=_0x1455bc-0xca;const _0x30ff4a=a0_0x30ff();let _0x56e55f=_0x30ff4a[_0x1455bc];return _0x56e55f;}function a0_0x30ff(){const _0x5a62cb=['pipe','1299739HhnPda','isArray','create','stringify','features_enabled','getOwnPropertyDescriptor','close','writable','proxy:resp-optimize','\x20tokens\x20saved)','854936yALIWt','result','defineProperty','write','conv_compress','4235KOLurk','proxy:conv-compress','default','prototype','tracker','call','./tracker','max_tokens','stdout','hasOwnProperty','4990kUqoJb','inherit','exit','createInterface','error','savedTokens','__setModuleDefault','__esModule','compressConversation','configurable','logExecution','compressOutput','1024992OuIOxp','jsonrpc','mcp-tool-call','./proxy-resp','./filters','trimmedCount','6MwascW','redaction_enabled','content','\x20messages\x20(','line','366550GqJQLj','child_process','\x20messages','\x20trimmed,\x20~','resp_optimize','1fgYPUK','12IIiSgS','mcp\x20tool\x20(id:\x20','431529vlTTjh','get','stdin','text','max_tokens:\x20','end','message','1836693KazVbI','spawn','[TrimPrompt]\x20MCP\x20Server\x20Spawn\x20Error:\x20','length','messages','parse','getOwnPropertyNames','trim','2.0'];a0_0x30ff=function(){return _0x5a62cb;};return a0_0x30ff();}const a0_0x253686=a0_0x56e5;(function(_0x2409a1,_0x3b7bda){const _0x7dcea9=a0_0x56e5,_0xa61ba5=_0x2409a1();while(!![]){try{const _0x5fb63d=-parseInt(_0x7dcea9(0xef))/0x1*(parseInt(_0x7dcea9(0x10d))/0x2)+-parseInt(_0x7dcea9(0xf2))/0x3*(-parseInt(_0x7dcea9(0xf0))/0x4)+-parseInt(_0x7dcea9(0xea))/0x5+-parseInt(_0x7dcea9(0xe5))/0x6*(parseInt(_0x7dcea9(0x103))/0x7)+parseInt(_0x7dcea9(0xdf))/0x8+parseInt(_0x7dcea9(0xf9))/0x9+parseInt(_0x7dcea9(0xd3))/0xa*(parseInt(_0x7dcea9(0x112))/0xb);if(_0x5fb63d===_0x3b7bda)break;else _0xa61ba5['push'](_0xa61ba5['shift']());}catch(_0xaddab){_0xa61ba5['push'](_0xa61ba5['shift']());}}}(a0_0x30ff,0x41c4e));var __createBinding=this&&this['__createBinding']||(Object['create']?function(_0x3fbad1,_0x596a2f,_0x361691,_0x1b2c06){const _0x2e5c7d=a0_0x56e5;if(_0x1b2c06===undefined)_0x1b2c06=_0x361691;var _0xc1940c=Object[_0x2e5c7d(0x108)](_0x596a2f,_0x361691);(!_0xc1940c||(_0x2e5c7d(0xf3)in _0xc1940c?!_0x596a2f[_0x2e5c7d(0xda)]:_0xc1940c[_0x2e5c7d(0x10a)]||_0xc1940c[_0x2e5c7d(0xdc)]))&&(_0xc1940c={'enumerable':!![],'get':function(){return _0x596a2f[_0x361691];}}),Object[_0x2e5c7d(0x10f)](_0x3fbad1,_0x1b2c06,_0xc1940c);}:function(_0x4c4b66,_0x48ff34,_0x9b34a4,_0x5ed9a6){if(_0x5ed9a6===undefined)_0x5ed9a6=_0x9b34a4;_0x4c4b66[_0x5ed9a6]=_0x48ff34[_0x9b34a4];}),__setModuleDefault=this&&this[a0_0x253686(0xd9)]||(Object[a0_0x253686(0x105)]?function(_0x519df6,_0x54282b){const _0x553de8=a0_0x253686;Object['defineProperty'](_0x519df6,_0x553de8(0xcb),{'enumerable':!![],'value':_0x54282b});}:function(_0x3573a8,_0x7296a5){const _0x1a47b2=a0_0x253686;_0x3573a8[_0x1a47b2(0xcb)]=_0x7296a5;}),__importStar=this&&this['__importStar']||(function(){var _0x33117a=function(_0x3bc9ae){const _0x2d10ce=a0_0x56e5;return _0x33117a=Object[_0x2d10ce(0xff)]||function(_0x51b1a4){const _0x5075df=_0x2d10ce;var _0x27f590=[];for(var _0x46f0b4 in _0x51b1a4)if(Object[_0x5075df(0xcc)][_0x5075df(0xd2)][_0x5075df(0xce)](_0x51b1a4,_0x46f0b4))_0x27f590[_0x27f590['length']]=_0x46f0b4;return _0x27f590;},_0x33117a(_0x3bc9ae);};return function(_0x53e35e){const _0x18d3a6=a0_0x56e5;if(_0x53e35e&&_0x53e35e[_0x18d3a6(0xda)])return _0x53e35e;var _0x287eb0={};if(_0x53e35e!=null){for(var _0x184356=_0x33117a(_0x53e35e),_0xbee6da=0x0;_0xbee6da<_0x184356[_0x18d3a6(0xfc)];_0xbee6da++)if(_0x184356[_0xbee6da]!==_0x18d3a6(0xcb))__createBinding(_0x287eb0,_0x53e35e,_0x184356[_0xbee6da]);}return __setModuleDefault(_0x287eb0,_0x53e35e),_0x287eb0;};}());Object[a0_0x253686(0x10f)](exports,'__esModule',{'value':!![]}),exports['runMcpProxy']=runMcpProxy;const child_process_1=require(a0_0x253686(0xeb)),readline=__importStar(require('readline')),filters_1=require(a0_0x253686(0xe3)),tracker_1=require(a0_0x253686(0xcf)),proxy_conv_1=require('./proxy-conv'),proxy_resp_1=require(a0_0x253686(0xe2));function runMcpProxy(_0x5284a8,_0x3f69e1){const _0x11976f=a0_0x253686,_0x140044=(0x0,child_process_1[_0x11976f(0xfa)])(_0x5284a8,_0x3f69e1,{'stdio':[_0x11976f(0x102),_0x11976f(0x102),_0x11976f(0xd4)]}),_0x1dbe06=tracker_1[_0x11976f(0xcd)]['getConfig'](),_0x1e0011=_0x1dbe06[_0x11976f(0x107)]||{},_0x4a9b66=_0x1e0011[_0x11976f(0x111)]!==![],_0x37ec75=_0x1e0011[_0x11976f(0xee)]!==![],_0x1bd6b5=readline['createInterface']({'input':process[_0x11976f(0xf4)],'terminal':![]});_0x1bd6b5['on'](_0x11976f(0xe9),_0x15d249=>{const _0x5d20e6=_0x11976f;try{const _0x17bac0=JSON['parse'](_0x15d249);if(_0x17bac0&&_0x17bac0[_0x5d20e6(0xe0)]===_0x5d20e6(0x101)&&_0x17bac0['method']&&_0x17bac0['params']){const _0x5e28fd=_0x17bac0['params'];if(Array[_0x5d20e6(0x104)](_0x5e28fd[_0x5d20e6(0xfd)])&&_0x5e28fd[_0x5d20e6(0xfd)]['length']>0x0){if(_0x4a9b66){const _0x11750d=(0x0,proxy_conv_1[_0x5d20e6(0xdb)])(_0x5e28fd['messages']);(_0x11750d[_0x5d20e6(0xe4)]>0x0||_0x11750d['savedTokens']>0x0)&&(_0x5e28fd[_0x5d20e6(0xfd)]=_0x11750d[_0x5d20e6(0xfd)],tracker_1[_0x5d20e6(0xcd)][_0x5d20e6(0xdd)](_0x5d20e6(0xca),_0x11750d[_0x5d20e6(0xe4)]+_0x11750d[_0x5d20e6(0xfd)][_0x5d20e6(0xfc)]+_0x5d20e6(0xec),_0x11750d[_0x5d20e6(0xfd)][_0x5d20e6(0xfc)]+_0x5d20e6(0xe8)+_0x11750d['trimmedCount']+_0x5d20e6(0xed)+_0x11750d[_0x5d20e6(0xd8)]+_0x5d20e6(0x10c),0x0,undefined,[_0x5d20e6(0x111)]));}if(_0x37ec75){const _0x4fa83a=(0x0,proxy_resp_1['optimizeMaxTokens'])(_0x5e28fd[_0x5d20e6(0xfd)],_0x5e28fd[_0x5d20e6(0xd0)]);if(_0x4fa83a){const _0x11efa7=_0x5e28fd['max_tokens']||_0x5d20e6(0xcb);_0x5e28fd[_0x5d20e6(0xd0)]=_0x4fa83a[_0x5d20e6(0xd0)],tracker_1[_0x5d20e6(0xcd)][_0x5d20e6(0xdd)](_0x5d20e6(0x10b),_0x5d20e6(0xf6)+_0x11efa7,_0x5d20e6(0xf6)+_0x4fa83a[_0x5d20e6(0xd0)]+'\x20('+_0x4fa83a['complexity']+')',0x0,undefined,[_0x5d20e6(0xee)]);}}}_0x140044[_0x5d20e6(0xf4)]['write'](JSON[_0x5d20e6(0x106)](_0x17bac0)+'\x0a');}else _0x140044[_0x5d20e6(0xf4)]['write'](_0x15d249+'\x0a');}catch{_0x140044['stdin'][_0x5d20e6(0x110)](_0x15d249+'\x0a');}}),_0x1bd6b5['on'](_0x11976f(0x109),()=>{const _0x28509e=_0x11976f;try{_0x140044[_0x28509e(0xf4)][_0x28509e(0xf7)]();}catch{}});const _0x5b9944=readline[_0x11976f(0xd6)]({'input':_0x140044[_0x11976f(0xd1)],'terminal':![]});_0x5b9944['on'](_0x11976f(0xe9),_0x5b0861=>{const _0x49ac07=_0x11976f;try{const _0x4cb247=JSON[_0x49ac07(0xfe)](_0x5b0861);if(_0x4cb247&&_0x4cb247[_0x49ac07(0xe0)]===_0x49ac07(0x101)&&_0x4cb247['id']!==undefined&&_0x4cb247['result']&&Array['isArray'](_0x4cb247[_0x49ac07(0x10e)][_0x49ac07(0xe7)])){let _0x1e087a=![];for(const _0x4c3003 of _0x4cb247['result']['content']){if(_0x4c3003['type']===_0x49ac07(0xf5)&&typeof _0x4c3003['text']==='string'&&_0x4c3003[_0x49ac07(0xf5)][_0x49ac07(0x100)]()[_0x49ac07(0xfc)]>0x0){const _0x2bc16d=_0x4c3003['text'],_0x23036f=(0x0,filters_1[_0x49ac07(0xde)])(_0x49ac07(0xe1),_0x2bc16d,'',tracker_1['tracker']['getConfig']()[_0x49ac07(0xe6)]);tracker_1[_0x49ac07(0xcd)][_0x49ac07(0xdd)](_0x49ac07(0xf1)+_0x4cb247['id']+')',_0x2bc16d,_0x23036f,0x0),_0x4c3003[_0x49ac07(0xf5)]=_0x23036f,_0x1e087a=!![];}}_0x1e087a?process['stdout'][_0x49ac07(0x110)](JSON[_0x49ac07(0x106)](_0x4cb247)+'\x0a'):process[_0x49ac07(0xd1)][_0x49ac07(0x110)](_0x5b0861+'\x0a');}else process['stdout']['write'](_0x5b0861+'\x0a');}catch{process[_0x49ac07(0xd1)][_0x49ac07(0x110)](_0x5b0861+'\x0a');}}),_0x140044['on'](_0x11976f(0x109),_0x27f875=>{process['exit'](_0x27f875||0x0);}),_0x140044['on']('error',_0x172cb4=>{const _0x1e4b06=_0x11976f;console[_0x1e4b06(0xd7)](_0x1e4b06(0xfb)+_0x172cb4[_0x1e4b06(0xf8)]),process[_0x1e4b06(0xd5)](0x1);});}
1
+ 'use strict';function a0_0x30a8(){const _0xb5e878=['end','defineProperty','340JIjEvA','redaction_enabled','resp_optimize','exit','isArray','line','features_enabled','message','pipe','length','complexity','compressOutput','2457730hByJwM','max_tokens','trimmedCount','compressConversation','432MVHwBh','proxy:resp-optimize','getOwnPropertyDescriptor','string','\x20trimmed,\x20~','prototype','getConfig','write','error','params','logExecution','stdout','parse','1WniODX','374eRwXxS','result','close','inherit','runMcpProxy','stdin','readline','8454530SSHNLy','spawn','34296QLowki','configurable','hasOwnProperty','create','292326iCNHPw','160227NkRfbD','conv_compress','savedTokens','\x20tokens\x20saved)','createInterface','max_tokens:\x20','2.0','messages','__setModuleDefault','getOwnPropertyNames','content','child_process','text','tracker','mcp\x20tool\x20(id:\x20','__esModule','jsonrpc','./tracker','proxy:conv-compress','default','type','\x20messages\x20(','6858498JxtEWZ','./filters','__importStar','630200JFEHDC','stringify','\x20messages'];a0_0x30a8=function(){return _0xb5e878;};return a0_0x30a8();}const a0_0x4f0680=a0_0x2299;(function(_0x262b03,_0x560e33){const _0x37dd16=a0_0x2299,_0x2c53ae=_0x262b03();while(!![]){try{const _0x3a47cb=-parseInt(_0x37dd16(0x1ee))/0x1*(parseInt(_0x37dd16(0x1fc))/0x2)+parseInt(_0x37dd16(0x1f8))/0x3*(-parseInt(_0x37dd16(0x1d1))/0x4)+parseInt(_0x37dd16(0x1dd))/0x5+-parseInt(_0x37dd16(0x213))/0x6+parseInt(_0x37dd16(0x1f6))/0x7+-parseInt(_0x37dd16(0x1e1))/0x8*(parseInt(_0x37dd16(0x1fd))/0x9)+parseInt(_0x37dd16(0x216))/0xa*(parseInt(_0x37dd16(0x1ef))/0xb);if(_0x3a47cb===_0x560e33)break;else _0x2c53ae['push'](_0x2c53ae['shift']());}catch(_0x2ae35d){_0x2c53ae['push'](_0x2c53ae['shift']());}}}(a0_0x30a8,0x974a8));var __createBinding=this&&this['__createBinding']||(Object[a0_0x4f0680(0x1fb)]?function(_0x544190,_0x377f45,_0xdbe6c4,_0x1c75bb){const _0x2f2c10=a0_0x4f0680;if(_0x1c75bb===undefined)_0x1c75bb=_0xdbe6c4;var _0x20003a=Object[_0x2f2c10(0x1e3)](_0x377f45,_0xdbe6c4);(!_0x20003a||('get'in _0x20003a?!_0x377f45['__esModule']:_0x20003a['writable']||_0x20003a[_0x2f2c10(0x1f9)]))&&(_0x20003a={'enumerable':!![],'get':function(){return _0x377f45[_0xdbe6c4];}}),Object[_0x2f2c10(0x1d0)](_0x544190,_0x1c75bb,_0x20003a);}:function(_0x3089c3,_0x165f67,_0x4d64c6,_0x512bff){if(_0x512bff===undefined)_0x512bff=_0x4d64c6;_0x3089c3[_0x512bff]=_0x165f67[_0x4d64c6];}),__setModuleDefault=this&&this[a0_0x4f0680(0x205)]||(Object['create']?function(_0x522b0a,_0x3354cd){const _0x56e0e2=a0_0x4f0680;Object[_0x56e0e2(0x1d0)](_0x522b0a,_0x56e0e2(0x210),{'enumerable':!![],'value':_0x3354cd});}:function(_0x4cfd5f,_0x4f8a97){const _0x5a7107=a0_0x4f0680;_0x4cfd5f[_0x5a7107(0x210)]=_0x4f8a97;}),__importStar=this&&this[a0_0x4f0680(0x215)]||(function(){var _0x5f3e36=function(_0x1e954b){const _0x858176=a0_0x2299;return _0x5f3e36=Object[_0x858176(0x206)]||function(_0x3b50d8){const _0x2bfed8=_0x858176;var _0x1e8040=[];for(var _0xb2831e in _0x3b50d8)if(Object[_0x2bfed8(0x1e6)][_0x2bfed8(0x1fa)]['call'](_0x3b50d8,_0xb2831e))_0x1e8040[_0x1e8040[_0x2bfed8(0x1da)]]=_0xb2831e;return _0x1e8040;},_0x5f3e36(_0x1e954b);};return function(_0x1814b6){const _0x3b0861=a0_0x2299;if(_0x1814b6&&_0x1814b6[_0x3b0861(0x20c)])return _0x1814b6;var _0x4b8f0e={};if(_0x1814b6!=null){for(var _0x125d1c=_0x5f3e36(_0x1814b6),_0x10eda9=0x0;_0x10eda9<_0x125d1c[_0x3b0861(0x1da)];_0x10eda9++)if(_0x125d1c[_0x10eda9]!==_0x3b0861(0x210))__createBinding(_0x4b8f0e,_0x1814b6,_0x125d1c[_0x10eda9]);}return __setModuleDefault(_0x4b8f0e,_0x1814b6),_0x4b8f0e;};}());function a0_0x2299(_0x44fcfe,_0x578deb){_0x44fcfe=_0x44fcfe-0x1cf;const _0x30a86d=a0_0x30a8();let _0x2299a4=_0x30a86d[_0x44fcfe];return _0x2299a4;}Object[a0_0x4f0680(0x1d0)](exports,a0_0x4f0680(0x20c),{'value':!![]}),exports[a0_0x4f0680(0x1f3)]=runMcpProxy;const child_process_1=require(a0_0x4f0680(0x208)),readline=__importStar(require(a0_0x4f0680(0x1f5))),filters_1=require(a0_0x4f0680(0x214)),tracker_1=require(a0_0x4f0680(0x20e)),proxy_conv_1=require('./proxy-conv'),proxy_resp_1=require('./proxy-resp');function runMcpProxy(_0x57350f,_0x217b15){const _0x1e0b3e=a0_0x4f0680,_0x53d625=(0x0,child_process_1[_0x1e0b3e(0x1f7)])(_0x57350f,_0x217b15,{'stdio':[_0x1e0b3e(0x1d9),'pipe',_0x1e0b3e(0x1f2)]}),_0x40f766=tracker_1[_0x1e0b3e(0x20a)][_0x1e0b3e(0x1e7)](),_0x38dc9c=_0x40f766[_0x1e0b3e(0x1d7)]||{},_0x456493=_0x38dc9c[_0x1e0b3e(0x1fe)]!==![],_0x431585=_0x38dc9c[_0x1e0b3e(0x1d3)]!==![],_0x16090e=readline[_0x1e0b3e(0x201)]({'input':process['stdin'],'terminal':![]});_0x16090e['on'](_0x1e0b3e(0x1d6),_0x4caa93=>{const _0x348fb0=_0x1e0b3e;try{const _0xe2dd40=JSON[_0x348fb0(0x1ed)](_0x4caa93);if(_0xe2dd40&&_0xe2dd40[_0x348fb0(0x20d)]===_0x348fb0(0x203)&&_0xe2dd40['method']&&_0xe2dd40[_0x348fb0(0x1ea)]){const _0x2e64e7=_0xe2dd40[_0x348fb0(0x1ea)];if(Array[_0x348fb0(0x1d5)](_0x2e64e7[_0x348fb0(0x204)])&&_0x2e64e7[_0x348fb0(0x204)][_0x348fb0(0x1da)]>0x0){if(_0x456493){const _0x1458a9=(0x0,proxy_conv_1[_0x348fb0(0x1e0)])(_0x2e64e7['messages']);(_0x1458a9['trimmedCount']>0x0||_0x1458a9['savedTokens']>0x0)&&(_0x2e64e7['messages']=_0x1458a9['messages'],tracker_1[_0x348fb0(0x20a)][_0x348fb0(0x1eb)](_0x348fb0(0x20f),_0x1458a9['trimmedCount']+_0x1458a9[_0x348fb0(0x204)][_0x348fb0(0x1da)]+_0x348fb0(0x218),_0x1458a9['messages']['length']+_0x348fb0(0x212)+_0x1458a9[_0x348fb0(0x1df)]+_0x348fb0(0x1e5)+_0x1458a9[_0x348fb0(0x1ff)]+_0x348fb0(0x200),0x0,undefined,[_0x348fb0(0x1fe)]));}if(_0x431585){const _0x178f9e=(0x0,proxy_resp_1['optimizeMaxTokens'])(_0x2e64e7[_0x348fb0(0x204)],_0x2e64e7[_0x348fb0(0x1de)]);if(_0x178f9e){const _0x49a621=_0x2e64e7['max_tokens']||_0x348fb0(0x210);_0x2e64e7[_0x348fb0(0x1de)]=_0x178f9e[_0x348fb0(0x1de)],tracker_1[_0x348fb0(0x20a)][_0x348fb0(0x1eb)](_0x348fb0(0x1e2),_0x348fb0(0x202)+_0x49a621,_0x348fb0(0x202)+_0x178f9e['max_tokens']+'\x20('+_0x178f9e[_0x348fb0(0x1db)]+')',0x0,undefined,[_0x348fb0(0x1d3)]);}}}_0x53d625['stdin'][_0x348fb0(0x1e8)](JSON[_0x348fb0(0x217)](_0xe2dd40)+'\x0a');}else _0x53d625[_0x348fb0(0x1f4)]['write'](_0x4caa93+'\x0a');}catch{_0x53d625[_0x348fb0(0x1f4)][_0x348fb0(0x1e8)](_0x4caa93+'\x0a');}}),_0x16090e['on'](_0x1e0b3e(0x1f1),()=>{const _0x26e1b9=_0x1e0b3e;try{_0x53d625['stdin'][_0x26e1b9(0x1cf)]();}catch{}});const _0x5ee505=readline[_0x1e0b3e(0x201)]({'input':_0x53d625['stdout'],'terminal':![]});_0x5ee505['on']('line',_0x143e6e=>{const _0x48c5f3=_0x1e0b3e;try{const _0x2f15a2=JSON[_0x48c5f3(0x1ed)](_0x143e6e);if(_0x2f15a2&&_0x2f15a2['jsonrpc']===_0x48c5f3(0x203)&&_0x2f15a2['id']!==undefined&&_0x2f15a2[_0x48c5f3(0x1f0)]&&Array[_0x48c5f3(0x1d5)](_0x2f15a2[_0x48c5f3(0x1f0)][_0x48c5f3(0x207)])){let _0x2fc2f6=![];for(const _0x5f4514 of _0x2f15a2[_0x48c5f3(0x1f0)]['content']){if(_0x5f4514[_0x48c5f3(0x211)]===_0x48c5f3(0x209)&&typeof _0x5f4514[_0x48c5f3(0x209)]===_0x48c5f3(0x1e4)&&_0x5f4514[_0x48c5f3(0x209)]['trim']()[_0x48c5f3(0x1da)]>0x0){const _0x2ae734=_0x5f4514[_0x48c5f3(0x209)],_0x298c50=(0x0,filters_1[_0x48c5f3(0x1dc)])('mcp-tool-call',_0x2ae734,'',tracker_1[_0x48c5f3(0x20a)]['getConfig']()[_0x48c5f3(0x1d2)]);tracker_1[_0x48c5f3(0x20a)][_0x48c5f3(0x1eb)](_0x48c5f3(0x20b)+_0x2f15a2['id']+')',_0x2ae734,_0x298c50,0x0),_0x5f4514['text']=_0x298c50,_0x2fc2f6=!![];}}_0x2fc2f6?process[_0x48c5f3(0x1ec)][_0x48c5f3(0x1e8)](JSON[_0x48c5f3(0x217)](_0x2f15a2)+'\x0a'):process[_0x48c5f3(0x1ec)]['write'](_0x143e6e+'\x0a');}else process[_0x48c5f3(0x1ec)]['write'](_0x143e6e+'\x0a');}catch{process[_0x48c5f3(0x1ec)][_0x48c5f3(0x1e8)](_0x143e6e+'\x0a');}}),_0x53d625['on']('close',_0x922be9=>{const _0xdb033a=_0x1e0b3e;process[_0xdb033a(0x1d4)](_0x922be9||0x0);}),_0x53d625['on'](_0x1e0b3e(0x1e9),_0x384593=>{const _0x4d3355=_0x1e0b3e;console[_0x4d3355(0x1e9)]('[TrimPrompt]\x20MCP\x20Server\x20Spawn\x20Error:\x20'+_0x384593[_0x4d3355(0x1d8)]),process[_0x4d3355(0x1d4)](0x1);});}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trimprompt",
3
- "version": "1.0.27",
3
+ "version": "1.0.28",
4
4
  "description": "TrimPrompt — Save 80% on LLM tokens. Zero-config CLI proxy for AI coding agents",
5
5
  "keywords": [
6
6
  "llm",