trimprompt 1.0.17 → 1.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/filters/js.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x34c37f=a0_0x3842;(function(_0x47bf09,_0x11aa21){const _0x55b2b5=a0_0x3842,_0x381a09=_0x47bf09();while(!![]){try{const _0x5dc841=parseInt(_0x55b2b5(0x1d8))/0x1+parseInt(_0x55b2b5(0x1c9))/0x2+parseInt(_0x55b2b5(0x1d0))/0x3+-parseInt(_0x55b2b5(0x1d7))/0x4*(-parseInt(_0x55b2b5(0x1c0))/0x5)+parseInt(_0x55b2b5(0x1c6))/0x6*(-parseInt(_0x55b2b5(0x1d2))/0x7)+-parseInt(_0x55b2b5(0x1db))/0x8*(parseInt(_0x55b2b5(0x1c7))/0x9)+-parseInt(_0x55b2b5(0x1bf))/0xa;if(_0x5dc841===_0x11aa21)break;else _0x381a09['push'](_0x381a09['shift']());}catch(_0x414c09){_0x381a09['push'](_0x381a09['shift']());}}}(a0_0x318a,0x64210));function a0_0x318a(){const _0x379e27=['Test\x20Runner:\x20','NPM:\x20Packages\x20verified/installed\x20successfully','defineProperty','match','replace','2954150nrXylX','915SyVkQQ','PASS','added\x20','split','__esModule','up\x20to\x20date','4632rIZkta','477iwKRjc','removed\x20','41980ApExLu','length','Tests:','includes','trim','join','Test\x20Files:','1540122LuutbD','filterJestVitest','644DXuKEY','\x20\x20...\x20(','startsWith','FAIL\x20\x20','filterNpmInstall','13788fkfKSb','27717XPKFdb','push','\x20passed,\x20','62840LAGlbM','\x20failed\x20(','\x20passed','audited\x20'];a0_0x318a=function(){return _0x379e27;};return a0_0x318a();}Object[a0_0x34c37f(0x1bc)](exports,a0_0x34c37f(0x1c4),{'value':!![]}),exports[a0_0x34c37f(0x1d6)]=filterNpmInstall,exports[a0_0x34c37f(0x1d1)]=filterJestVitest;function filterNpmInstall(_0x500429){const _0x429c87=a0_0x34c37f,_0x28cc30=_0x500429[_0x429c87(0x1be)](/\r/g,'\x0a'),_0x4e80a9=_0x28cc30[_0x429c87(0x1c3)]('\x0a'),_0x394843=[];for(const _0x2d6870 of _0x4e80a9){const _0x183a38=_0x2d6870[_0x429c87(0x1cd)]();(_0x183a38[_0x429c87(0x1cc)](_0x429c87(0x1c2))||_0x183a38['includes'](_0x429c87(0x1c8))||_0x183a38[_0x429c87(0x1cc)](_0x429c87(0x1de))||_0x183a38['includes'](_0x429c87(0x1c5))||_0x183a38[_0x429c87(0x1cc)]('found\x20'))&&(!_0x183a38[_0x429c87(0x1cc)]('%')&&!_0x183a38[_0x429c87(0x1d4)]('⠋')&&!_0x183a38['startsWith']('⠙')&&_0x394843[_0x429c87(0x1d9)](_0x183a38));}const _0xec1b6b=_0x394843['join']('\x0a')[_0x429c87(0x1cd)]();return _0xec1b6b[_0x429c87(0x1ca)]>0x0?_0xec1b6b:_0x429c87(0x1bb);}function a0_0x3842(_0x1e7449,_0x14a30a){const _0x318a78=a0_0x318a();return a0_0x3842=function(_0x3842c3,_0x35c8ac){_0x3842c3=_0x3842c3-0x1ba;let _0x36dfdb=_0x318a78[_0x3842c3];return _0x36dfdb;},a0_0x3842(_0x1e7449,_0x14a30a);}function filterJestVitest(_0x28050e){const _0x27193c=a0_0x34c37f,_0x5645e3=_0x28050e[_0x27193c(0x1c3)]('\x0a');let _0x3a94c0=0x0,_0x44b6fe=0x0,_0x46bd7a=0x0;const _0x55f621=[];let _0x507821=![];for(const _0x94ef9 of _0x5645e3){const _0x421fb2=_0x94ef9[_0x27193c(0x1cd)]();if(_0x421fb2[_0x27193c(0x1d4)](_0x27193c(0x1cb))||_0x421fb2['includes'](_0x27193c(0x1cf))){const _0x32ff5e=_0x421fb2[_0x27193c(0x1bd)](/(\d+)\s+passed/),_0xdcca98=_0x421fb2[_0x27193c(0x1bd)](/(\d+)\s+failed/),_0x3e9e4c=_0x421fb2[_0x27193c(0x1bd)](/(\d+)\s+total/);if(_0x32ff5e)_0x3a94c0=parseInt(_0x32ff5e[0x1]);if(_0xdcca98)_0x44b6fe=parseInt(_0xdcca98[0x1]);if(_0x3e9e4c)_0x46bd7a=parseInt(_0x3e9e4c[0x1]);continue;}(_0x421fb2['startsWith']('❯')||_0x421fb2[_0x27193c(0x1d4)]('●')||_0x421fb2[_0x27193c(0x1d4)](_0x27193c(0x1d5)))&&(_0x507821=!![]),_0x507821&&(_0x421fb2[_0x27193c(0x1ca)]>0x0&&!_0x421fb2['startsWith']('Test\x20Suites:')&&!_0x421fb2[_0x27193c(0x1d4)](_0x27193c(0x1cb))&&_0x55f621['push'](_0x94ef9));}if(_0x46bd7a===0x0&&_0x3a94c0===0x0&&_0x44b6fe===0x0){if(_0x28050e[_0x27193c(0x1cc)](_0x27193c(0x1c1))&&!_0x28050e['includes']('FAIL')){const _0x41895e=_0x28050e[_0x27193c(0x1bd)](/(\d+)\s+passed/),_0x1c66c3=_0x41895e?_0x41895e[0x1]:'all';return _0x27193c(0x1ba)+_0x1c66c3+_0x27193c(0x1dd);}return _0x28050e;}if(_0x44b6fe===0x0&&_0x3a94c0>0x0)return _0x27193c(0x1ba)+_0x3a94c0+_0x27193c(0x1dd);const _0x46dc0d=[_0x27193c(0x1ba)+_0x3a94c0+_0x27193c(0x1da)+_0x44b6fe+_0x27193c(0x1dc)+_0x46bd7a+'\x20total)'];if(_0x55f621[_0x27193c(0x1ca)]>0x0){_0x46dc0d[_0x27193c(0x1d9)]('\x0aFailures:');const _0xa8152a=0x19,_0x49e141=_0x55f621['slice'](0x0,_0xa8152a);for(const _0x52a8e2 of _0x49e141){_0x46dc0d[_0x27193c(0x1d9)]('\x20\x20'+_0x52a8e2);}_0x55f621['length']>_0xa8152a&&_0x46dc0d[_0x27193c(0x1d9)](_0x27193c(0x1d3)+(_0x55f621[_0x27193c(0x1ca)]-_0xa8152a)+'\x20lines\x20of\x20trace\x20details\x20truncated)');}return _0x46dc0d[_0x27193c(0x1ce)]('\x0a');}
1
+ 'use strict';const a0_0x463c3a=a0_0x3dbe;(function(_0x1a2022,_0x2661aa){const _0x5cdd6e=a0_0x3dbe,_0x4e72aa=_0x1a2022();while(!![]){try{const _0x3d8640=-parseInt(_0x5cdd6e(0xd3))/0x1+parseInt(_0x5cdd6e(0xcd))/0x2*(-parseInt(_0x5cdd6e(0xe3))/0x3)+-parseInt(_0x5cdd6e(0xdd))/0x4*(-parseInt(_0x5cdd6e(0xd5))/0x5)+parseInt(_0x5cdd6e(0xc3))/0x6+-parseInt(_0x5cdd6e(0xd0))/0x7+parseInt(_0x5cdd6e(0xd6))/0x8+-parseInt(_0x5cdd6e(0xc1))/0x9*(-parseInt(_0x5cdd6e(0xbc))/0xa);if(_0x3d8640===_0x2661aa)break;else _0x4e72aa['push'](_0x4e72aa['shift']());}catch(_0x5a6942){_0x4e72aa['push'](_0x4e72aa['shift']());}}}(a0_0x4729,0x53aac));function a0_0x3dbe(_0x16a33b,_0x66cd3f){_0x16a33b=_0x16a33b-0xbc;const _0x47297b=a0_0x4729();let _0x3dbefe=_0x47297b[_0x16a33b];return _0x3dbefe;}function a0_0x4729(){const _0x5f4711=['length','found\x20','filterNpmInstall','Test\x20Suites:','67988iDpchh','Tests:','join','push','startsWith','slice','6rMqoeC','Test\x20Files:','29180wWORxK','split','audited\x20','up\x20to\x20date','Test\x20Runner:\x20','2214eFqlqh','includes','1012842uvcbzv','added\x20','\x20total)','\x20failed\x20(','removed\x20','\x20\x20...\x20(','\x20passed,\x20','filterJestVitest','FAIL\x20\x20','NPM:\x20Packages\x20verified/installed\x20successfully','32154IpUjdg','\x20passed','PASS','2692592Jwkwdi','\x0aFailures:','match','678934qnOfMI','__esModule','110xHbdrg','1423000VDzQTK','trim','all'];a0_0x4729=function(){return _0x5f4711;};return a0_0x4729();}Object['defineProperty'](exports,a0_0x463c3a(0xd4),{'value':!![]}),exports[a0_0x463c3a(0xdb)]=filterNpmInstall,exports[a0_0x463c3a(0xca)]=filterJestVitest;function filterNpmInstall(_0x416ec8){const _0x1d3736=a0_0x463c3a,_0x288f29=_0x416ec8['replace'](/\r/g,'\x0a'),_0x3e86df=_0x288f29[_0x1d3736(0xbd)]('\x0a'),_0x33d4df=[];for(const _0x16b317 of _0x3e86df){const _0x158a10=_0x16b317['trim']();(_0x158a10['includes'](_0x1d3736(0xc4))||_0x158a10[_0x1d3736(0xc2)](_0x1d3736(0xc7))||_0x158a10[_0x1d3736(0xc2)](_0x1d3736(0xbe))||_0x158a10[_0x1d3736(0xc2)](_0x1d3736(0xbf))||_0x158a10[_0x1d3736(0xc2)](_0x1d3736(0xda)))&&(!_0x158a10['includes']('%')&&!_0x158a10['startsWith']('⠋')&&!_0x158a10[_0x1d3736(0xe1)]('⠙')&&_0x33d4df[_0x1d3736(0xe0)](_0x158a10));}const _0x24a93d=_0x33d4df[_0x1d3736(0xdf)]('\x0a')[_0x1d3736(0xd7)]();return _0x24a93d['length']>0x0?_0x24a93d:_0x1d3736(0xcc);}function filterJestVitest(_0x56d8b6){const _0x806999=a0_0x463c3a,_0x3ec9a2=_0x56d8b6['split']('\x0a');let _0xe3727f=0x0,_0x4ccc7e=0x0,_0x2f5e3d=0x0;const _0x2eea50=[];let _0xb2bdcd=![];for(const _0x3567f3 of _0x3ec9a2){const _0x1e7697=_0x3567f3['trim']();if(_0x1e7697[_0x806999(0xe1)](_0x806999(0xde))||_0x1e7697[_0x806999(0xc2)](_0x806999(0xe4))){const _0x4b3750=_0x1e7697[_0x806999(0xd2)](/(\d+)\s+passed/),_0x3760eb=_0x1e7697[_0x806999(0xd2)](/(\d+)\s+failed/),_0x499092=_0x1e7697[_0x806999(0xd2)](/(\d+)\s+total/);if(_0x4b3750)_0xe3727f=parseInt(_0x4b3750[0x1]);if(_0x3760eb)_0x4ccc7e=parseInt(_0x3760eb[0x1]);if(_0x499092)_0x2f5e3d=parseInt(_0x499092[0x1]);continue;}(_0x1e7697[_0x806999(0xe1)]('❯')||_0x1e7697[_0x806999(0xe1)]('●')||_0x1e7697[_0x806999(0xe1)](_0x806999(0xcb)))&&(_0xb2bdcd=!![]),_0xb2bdcd&&(_0x1e7697[_0x806999(0xd9)]>0x0&&!_0x1e7697['startsWith'](_0x806999(0xdc))&&!_0x1e7697[_0x806999(0xe1)](_0x806999(0xde))&&_0x2eea50[_0x806999(0xe0)](_0x3567f3));}if(_0x2f5e3d===0x0&&_0xe3727f===0x0&&_0x4ccc7e===0x0){if(_0x56d8b6['includes'](_0x806999(0xcf))&&!_0x56d8b6['includes']('FAIL')){const _0x5cfb2e=_0x56d8b6[_0x806999(0xd2)](/(\d+)\s+passed/),_0x3586fb=_0x5cfb2e?_0x5cfb2e[0x1]:_0x806999(0xd8);return _0x806999(0xc0)+_0x3586fb+_0x806999(0xce);}return _0x56d8b6;}if(_0x4ccc7e===0x0&&_0xe3727f>0x0)return _0x806999(0xc0)+_0xe3727f+_0x806999(0xce);const _0x54af0e=['Test\x20Runner:\x20'+_0xe3727f+_0x806999(0xc9)+_0x4ccc7e+_0x806999(0xc6)+_0x2f5e3d+_0x806999(0xc5)];if(_0x2eea50[_0x806999(0xd9)]>0x0){_0x54af0e[_0x806999(0xe0)](_0x806999(0xd1));const _0x400cad=0x19,_0x231991=_0x2eea50[_0x806999(0xe2)](0x0,_0x400cad);for(const _0x368653 of _0x231991){_0x54af0e[_0x806999(0xe0)]('\x20\x20'+_0x368653);}_0x2eea50[_0x806999(0xd9)]>_0x400cad&&_0x54af0e[_0x806999(0xe0)](_0x806999(0xc8)+(_0x2eea50[_0x806999(0xd9)]-_0x400cad)+'\x20lines\x20of\x20trace\x20details\x20truncated)');}return _0x54af0e[_0x806999(0xdf)]('\x0a');}
package/filters/python.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x19b21a=a0_0x5249;(function(_0x4294c6,_0x25b147){const _0x119d0d=a0_0x5249,_0x168274=_0x4294c6();while(!![]){try{const _0x3f8597=parseInt(_0x119d0d(0x1f8))/0x1*(-parseInt(_0x119d0d(0x202))/0x2)+parseInt(_0x119d0d(0x1ee))/0x3+-parseInt(_0x119d0d(0x1e7))/0x4+parseInt(_0x119d0d(0x212))/0x5+parseInt(_0x119d0d(0x1f2))/0x6*(parseInt(_0x119d0d(0x20d))/0x7)+parseInt(_0x119d0d(0x20b))/0x8*(parseInt(_0x119d0d(0x1f6))/0x9)+parseInt(_0x119d0d(0x1ea))/0xa*(-parseInt(_0x119d0d(0x1ec))/0xb);if(_0x3f8597===_0x25b147)break;else _0x168274['push'](_0x168274['shift']());}catch(_0x776b9){_0x168274['push'](_0x168274['shift']());}}}(a0_0x5a86,0x646fb));function a0_0x5249(_0x1c0ff0,_0x242fd2){const _0x5a8694=a0_0x5a86();return a0_0x5249=function(_0x524907,_0x403cdb){_0x524907=_0x524907-0x1e4;let _0x4bdb1f=_0x5a8694[_0x524907];return _0x4bdb1f;},a0_0x5249(_0x1c0ff0,_0x242fd2);}Object[a0_0x19b21a(0x214)](exports,a0_0x19b21a(0x200),{'value':!![]}),exports[a0_0x19b21a(0x1e9)]=filterPytest,exports[a0_0x19b21a(0x1f5)]=filterPipInstall;function filterPytest(_0x4e2376){const _0x1cf00b=a0_0x19b21a,_0x267a1d=_0x4e2376[_0x1cf00b(0x1f4)]('\x0a');let _0x505952=0x0,_0x27cd42=0x0,_0x5f39f8=0x0,_0x2c3cfa=0x0,_0x298727=0x0;const _0x2d8d73=[];let _0x435f0c=[],_0x46ab21=![];for(const _0x327286 of _0x267a1d){const _0x3888cd=_0x327286[_0x1cf00b(0x205)]();if(_0x3888cd[_0x1cf00b(0x1f3)](_0x1cf00b(0x211))||_0x3888cd[_0x1cf00b(0x1f3)]('===\x20ERRORS\x20===')){_0x46ab21=!![];continue;}else(_0x3888cd['startsWith'](_0x1cf00b(0x208))||_0x3888cd['startsWith'](_0x1cf00b(0x215))&&_0x3888cd[_0x1cf00b(0x1e5)]('passed'))&&(_0x46ab21=![],_0x435f0c[_0x1cf00b(0x1f7)]>0x0&&(_0x2d8d73['push'](_0x435f0c),_0x435f0c=[]));if(_0x46ab21){if(_0x3888cd['startsWith'](_0x1cf00b(0x210)))_0x435f0c['length']>0x0&&(_0x2d8d73[_0x1cf00b(0x1ff)](_0x435f0c),_0x435f0c=[]),_0x435f0c[_0x1cf00b(0x1ff)](_0x3888cd);else _0x3888cd[_0x1cf00b(0x1f7)]>0x0&&_0x435f0c[_0x1cf00b(0x1ff)](_0x327286);continue;}if(_0x3888cd['startsWith'](_0x1cf00b(0x215))&&_0x3888cd[_0x1cf00b(0x1e5)](_0x1cf00b(0x1fa))){const _0x3d70d8=_0x3888cd[_0x1cf00b(0x1e8)](/(\d+)\s+passed/),_0x1ecb1a=_0x3888cd['match'](/(\d+)\s+failed/),_0x492fb3=_0x3888cd[_0x1cf00b(0x1e8)](/(\d+)\s+skipped/),_0x5f0146=_0x3888cd[_0x1cf00b(0x1e8)](/(\d+)\s+xfailed/),_0x4de646=_0x3888cd[_0x1cf00b(0x1e8)](/(\d+)\s+xpassed/);if(_0x3d70d8)_0x505952=parseInt(_0x3d70d8[0x1]);if(_0x1ecb1a)_0x27cd42=parseInt(_0x1ecb1a[0x1]);if(_0x492fb3)_0x5f39f8=parseInt(_0x492fb3[0x1]);if(_0x5f0146)_0x2c3cfa=parseInt(_0x5f0146[0x1]);if(_0x4de646)_0x298727=parseInt(_0x4de646[0x1]);}}_0x435f0c[_0x1cf00b(0x1f7)]>0x0&&_0x2d8d73[_0x1cf00b(0x1ff)](_0x435f0c);if(_0x505952===0x0&&_0x27cd42===0x0&&_0x5f39f8===0x0&&_0x2c3cfa===0x0&&_0x298727===0x0){if(_0x4e2376[_0x1cf00b(0x1e5)]('passed')&&!_0x4e2376[_0x1cf00b(0x1e5)](_0x1cf00b(0x206)))return _0x1cf00b(0x204);return _0x4e2376;}if(_0x27cd42===0x0&&_0x505952>0x0&&_0x5f39f8===0x0&&_0x2c3cfa===0x0&&_0x298727===0x0)return'Pytest:\x20'+_0x505952+'\x20passed';const _0x334ed7=[];_0x334ed7[_0x1cf00b(0x1ff)]('Pytest:\x20'+_0x505952+_0x1cf00b(0x1f0));if(_0x27cd42>0x0)_0x334ed7[_0x1cf00b(0x1ff)](_0x27cd42+_0x1cf00b(0x1eb));if(_0x5f39f8>0x0)_0x334ed7['push'](_0x5f39f8+_0x1cf00b(0x20e));if(_0x2c3cfa>0x0)_0x334ed7[_0x1cf00b(0x1ff)](_0x2c3cfa+_0x1cf00b(0x207));if(_0x298727>0x0)_0x334ed7[_0x1cf00b(0x1ff)](_0x298727+_0x1cf00b(0x20c));const _0x57ff21=[_0x334ed7[_0x1cf00b(0x209)](',\x20')];if(_0x2d8d73['length']>0x0){_0x57ff21['push'](_0x1cf00b(0x1e4));const _0x36d958=0x3,_0x2322aa=_0x2d8d73[_0x1cf00b(0x1ed)](0x0,_0x36d958);for(let _0x2dcaed=0x0;_0x2dcaed<_0x2322aa[_0x1cf00b(0x1f7)];_0x2dcaed++){const _0x553527=_0x2322aa[_0x2dcaed],_0x3b7546=_0x553527[0x0][_0x1cf00b(0x1f9)](/_/g,'')['trim']();_0x57ff21['push']('\x20\x20'+(_0x2dcaed+0x1)+'.\x20[FAIL]\x20'+_0x3b7546);const _0x1d872e=_0x553527['slice'](0x1),_0x4556fa=_0x1d872e['filter'](_0x414662=>{const _0x59404d=_0x1cf00b,_0x5e6a03=_0x414662[_0x59404d(0x205)]();return _0x5e6a03[_0x59404d(0x1f3)]('>')||_0x5e6a03[_0x59404d(0x1f3)]('E\x20\x20\x20')||_0x5e6a03[_0x59404d(0x1e5)](_0x59404d(0x1ef))||_0x5e6a03[_0x59404d(0x1e5)](_0x59404d(0x1fe));});for(const _0x377d15 of _0x4556fa[_0x1cf00b(0x1ed)](0x0,0x8)){_0x57ff21['push'](_0x1cf00b(0x1fb)+_0x377d15);}_0x4556fa[_0x1cf00b(0x1f7)]>0x8&&_0x57ff21[_0x1cf00b(0x1ff)](_0x1cf00b(0x201)+(_0x4556fa[_0x1cf00b(0x1f7)]-0x8)+_0x1cf00b(0x203));}_0x2d8d73['length']>_0x36d958&&_0x57ff21[_0x1cf00b(0x1ff)](_0x1cf00b(0x1f1)+(_0x2d8d73[_0x1cf00b(0x1f7)]-_0x36d958)+'\x20more\x20failures\x20truncated');}return _0x57ff21[_0x1cf00b(0x209)]('\x0a');}function filterPipInstall(_0x450018){const _0x5d06a9=a0_0x19b21a,_0x26a96a=_0x450018[_0x5d06a9(0x1f4)]('\x0a'),_0x1ceeb1=[];for(const _0x5b2444 of _0x26a96a){const _0x25d29f=_0x5b2444[_0x5d06a9(0x205)]();_0x25d29f[_0x5d06a9(0x1f3)](_0x5d06a9(0x1fd))&&_0x1ceeb1[_0x5d06a9(0x1ff)](_0x25d29f);}if(_0x1ceeb1[_0x5d06a9(0x1f7)]>0x0)return _0x1ceeb1['join']('\x0a');return _0x26a96a[_0x5d06a9(0x1e6)](_0x1bc814=>{const _0x5702b0=_0x5d06a9,_0x3353f7=_0x1bc814[_0x5702b0(0x205)]();return!_0x3353f7[_0x5702b0(0x1f3)](_0x5702b0(0x1fc))&&!_0x3353f7[_0x5702b0(0x1f3)](_0x5702b0(0x20f))&&!_0x3353f7[_0x5702b0(0x1e5)](_0x5702b0(0x20a))&&!_0x3353f7[_0x5702b0(0x1f3)](_0x5702b0(0x213));})[_0x5d06a9(0x209)]('\x0a')['trim']();}function a0_0x5a86(){const _0x3b038d=['\x20skipped','Downloading','___','===\x20FAILURES\x20===','3595795bMMijy','Requirement\x20already\x20satisfied','defineProperty','===','\x0aFailures:','includes','filter','1201296pazjEt','match','filterPytest','2440MSZSvO','\x20failed','63811JcLkOs','slice','1680519GSEoRP','.py:','\x20passed','\x20\x20...\x20+','474YkajgO','startsWith','split','filterPipInstall','9kaqeVP','length','8399bykhgB','replace','\x20in\x20','\x20\x20\x20\x20','Collecting','Successfully\x20installed','AssertionError:','push','__esModule','\x20\x20\x20\x20...\x20(','94bqBsDN','\x20lines\x20of\x20stacktrace\x20truncated)','Pytest:\x20All\x20tests\x20passed','trim','failed','\x20xfailed','===\x20short\x20test\x20summary\x20info\x20===','join','Using\x20cached','5689144pXFxBs','\x20xpassed\x20(warning!)','47089spKftA'];a0_0x5a86=function(){return _0x3b038d;};return a0_0x5a86();}
1
+ 'use strict';const a0_0x481eeb=a0_0x2336;function a0_0x107a(){const _0x17dfd0=['Pytest:\x20All\x20tests\x20passed','\x20\x20\x20\x20','\x20passed','401865ITynwW','Collecting','\x20failed','426830TEXJZu','.py:','12PxrOiM','\x20xfailed','defineProperty','filter','slice','9536160uQJvSs','push','Pytest:\x20','trim','===','Downloading','Requirement\x20already\x20satisfied','Successfully\x20installed','split','length','480816wzcfEg','\x20more\x20failures\x20truncated','Using\x20cached','match','includes','__esModule','961074mqjsbJ','196fJEVmR','===\x20ERRORS\x20===','\x20in\x20','E\x20\x20\x20','failed','===\x20short\x20test\x20summary\x20info\x20===','startsWith','join','\x20xpassed\x20(warning!)','filterPytest','.\x20[FAIL]\x20','AssertionError:','filterPipInstall','2YXQOMi','\x20\x20\x20\x20...\x20(','352299xxeCeH','73880oIlgnv','___'];a0_0x107a=function(){return _0x17dfd0;};return a0_0x107a();}(function(_0x3dc692,_0x4acbd1){const _0x4012bd=a0_0x2336,_0x200bed=_0x3dc692();while(!![]){try{const _0x52f15d=-parseInt(_0x4012bd(0x18e))/0x1+-parseInt(_0x4012bd(0x186))/0x2*(parseInt(_0x4012bd(0x188))/0x3)+-parseInt(_0x4012bd(0x193))/0x4*(-parseInt(_0x4012bd(0x191))/0x5)+-parseInt(_0x4012bd(0x1a2))/0x6+-parseInt(_0x4012bd(0x1a9))/0x7*(parseInt(_0x4012bd(0x189))/0x8)+-parseInt(_0x4012bd(0x1a8))/0x9+parseInt(_0x4012bd(0x198))/0xa;if(_0x52f15d===_0x4acbd1)break;else _0x200bed['push'](_0x200bed['shift']());}catch(_0x2dae6a){_0x200bed['push'](_0x200bed['shift']());}}}(a0_0x107a,0x3bcb2));function a0_0x2336(_0x3aa466,_0x46d70f){_0x3aa466=_0x3aa466-0x184;const _0x107a7d=a0_0x107a();let _0x233664=_0x107a7d[_0x3aa466];return _0x233664;}Object[a0_0x481eeb(0x195)](exports,a0_0x481eeb(0x1a7),{'value':!![]}),exports[a0_0x481eeb(0x1b2)]=filterPytest,exports[a0_0x481eeb(0x185)]=filterPipInstall;function filterPytest(_0x4acfe5){const _0x2e1c55=a0_0x481eeb,_0x372ebc=_0x4acfe5[_0x2e1c55(0x1a0)]('\x0a');let _0x43cde8=0x0,_0x1e5c3e=0x0,_0x218bb3=0x0,_0xd2e0df=0x0,_0x1b944e=0x0;const _0x24a6a4=[];let _0x439a2f=[],_0x3a2099=![];for(const _0x50e3a7 of _0x372ebc){const _0x336532=_0x50e3a7['trim']();if(_0x336532[_0x2e1c55(0x1af)]('===\x20FAILURES\x20===')||_0x336532[_0x2e1c55(0x1af)](_0x2e1c55(0x1aa))){_0x3a2099=!![];continue;}else(_0x336532[_0x2e1c55(0x1af)](_0x2e1c55(0x1ae))||_0x336532[_0x2e1c55(0x1af)](_0x2e1c55(0x19c))&&_0x336532[_0x2e1c55(0x1a6)]('passed'))&&(_0x3a2099=![],_0x439a2f['length']>0x0&&(_0x24a6a4[_0x2e1c55(0x199)](_0x439a2f),_0x439a2f=[]));if(_0x3a2099){if(_0x336532['startsWith'](_0x2e1c55(0x18a)))_0x439a2f[_0x2e1c55(0x1a1)]>0x0&&(_0x24a6a4['push'](_0x439a2f),_0x439a2f=[]),_0x439a2f[_0x2e1c55(0x199)](_0x336532);else _0x336532[_0x2e1c55(0x1a1)]>0x0&&_0x439a2f[_0x2e1c55(0x199)](_0x50e3a7);continue;}if(_0x336532[_0x2e1c55(0x1af)]('===')&&_0x336532[_0x2e1c55(0x1a6)](_0x2e1c55(0x1ab))){const _0x322459=_0x336532[_0x2e1c55(0x1a5)](/(\d+)\s+passed/),_0x526f26=_0x336532[_0x2e1c55(0x1a5)](/(\d+)\s+failed/),_0x3d3b0e=_0x336532[_0x2e1c55(0x1a5)](/(\d+)\s+skipped/),_0x12053e=_0x336532['match'](/(\d+)\s+xfailed/),_0x30506e=_0x336532[_0x2e1c55(0x1a5)](/(\d+)\s+xpassed/);if(_0x322459)_0x43cde8=parseInt(_0x322459[0x1]);if(_0x526f26)_0x1e5c3e=parseInt(_0x526f26[0x1]);if(_0x3d3b0e)_0x218bb3=parseInt(_0x3d3b0e[0x1]);if(_0x12053e)_0xd2e0df=parseInt(_0x12053e[0x1]);if(_0x30506e)_0x1b944e=parseInt(_0x30506e[0x1]);}}_0x439a2f[_0x2e1c55(0x1a1)]>0x0&&_0x24a6a4[_0x2e1c55(0x199)](_0x439a2f);if(_0x43cde8===0x0&&_0x1e5c3e===0x0&&_0x218bb3===0x0&&_0xd2e0df===0x0&&_0x1b944e===0x0){if(_0x4acfe5['includes']('passed')&&!_0x4acfe5[_0x2e1c55(0x1a6)](_0x2e1c55(0x1ad)))return _0x2e1c55(0x18b);return _0x4acfe5;}if(_0x1e5c3e===0x0&&_0x43cde8>0x0&&_0x218bb3===0x0&&_0xd2e0df===0x0&&_0x1b944e===0x0)return'Pytest:\x20'+_0x43cde8+_0x2e1c55(0x18d);const _0x5063fc=[];_0x5063fc[_0x2e1c55(0x199)](_0x2e1c55(0x19a)+_0x43cde8+_0x2e1c55(0x18d));if(_0x1e5c3e>0x0)_0x5063fc[_0x2e1c55(0x199)](_0x1e5c3e+_0x2e1c55(0x190));if(_0x218bb3>0x0)_0x5063fc[_0x2e1c55(0x199)](_0x218bb3+'\x20skipped');if(_0xd2e0df>0x0)_0x5063fc[_0x2e1c55(0x199)](_0xd2e0df+_0x2e1c55(0x194));if(_0x1b944e>0x0)_0x5063fc[_0x2e1c55(0x199)](_0x1b944e+_0x2e1c55(0x1b1));const _0x834ddb=[_0x5063fc['join'](',\x20')];if(_0x24a6a4['length']>0x0){_0x834ddb[_0x2e1c55(0x199)]('\x0aFailures:');const _0x5c9346=0x3,_0x19a12c=_0x24a6a4[_0x2e1c55(0x197)](0x0,_0x5c9346);for(let _0x4708c7=0x0;_0x4708c7<_0x19a12c['length'];_0x4708c7++){const _0x56f147=_0x19a12c[_0x4708c7],_0x54c824=_0x56f147[0x0]['replace'](/_/g,'')['trim']();_0x834ddb['push']('\x20\x20'+(_0x4708c7+0x1)+_0x2e1c55(0x1b3)+_0x54c824);const _0xfa76c9=_0x56f147['slice'](0x1),_0x5303af=_0xfa76c9['filter'](_0x2a461c=>{const _0x4ab0c=_0x2e1c55,_0x150a08=_0x2a461c[_0x4ab0c(0x19b)]();return _0x150a08[_0x4ab0c(0x1af)]('>')||_0x150a08[_0x4ab0c(0x1af)](_0x4ab0c(0x1ac))||_0x150a08[_0x4ab0c(0x1a6)](_0x4ab0c(0x192))||_0x150a08[_0x4ab0c(0x1a6)](_0x4ab0c(0x184));});for(const _0x465c39 of _0x5303af['slice'](0x0,0x8)){_0x834ddb['push'](_0x2e1c55(0x18c)+_0x465c39);}_0x5303af[_0x2e1c55(0x1a1)]>0x8&&_0x834ddb['push'](_0x2e1c55(0x187)+(_0x5303af[_0x2e1c55(0x1a1)]-0x8)+'\x20lines\x20of\x20stacktrace\x20truncated)');}_0x24a6a4[_0x2e1c55(0x1a1)]>_0x5c9346&&_0x834ddb[_0x2e1c55(0x199)]('\x20\x20...\x20+'+(_0x24a6a4[_0x2e1c55(0x1a1)]-_0x5c9346)+_0x2e1c55(0x1a3));}return _0x834ddb[_0x2e1c55(0x1b0)]('\x0a');}function filterPipInstall(_0x5e6a2a){const _0x3f912b=a0_0x481eeb,_0x22ba8c=_0x5e6a2a[_0x3f912b(0x1a0)]('\x0a'),_0x50ce44=[];for(const _0x1b72d9 of _0x22ba8c){const _0x5007ee=_0x1b72d9[_0x3f912b(0x19b)]();_0x5007ee['startsWith'](_0x3f912b(0x19f))&&_0x50ce44[_0x3f912b(0x199)](_0x5007ee);}if(_0x50ce44[_0x3f912b(0x1a1)]>0x0)return _0x50ce44[_0x3f912b(0x1b0)]('\x0a');return _0x22ba8c[_0x3f912b(0x196)](_0x3129f0=>{const _0x572092=_0x3f912b,_0x1b0215=_0x3129f0[_0x572092(0x19b)]();return!_0x1b0215['startsWith'](_0x572092(0x18f))&&!_0x1b0215[_0x572092(0x1af)](_0x572092(0x19d))&&!_0x1b0215[_0x572092(0x1a6)](_0x572092(0x1a4))&&!_0x1b0215[_0x572092(0x1af)](_0x572092(0x19e));})[_0x3f912b(0x1b0)]('\x0a')[_0x3f912b(0x19b)]();}
package/filters/rust.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x11f07c=a0_0x4d4f;(function(_0x292acf,_0x2e724c){const _0x340736=a0_0x4d4f,_0x46afca=_0x292acf();while(!![]){try{const _0x2a01c2=parseInt(_0x340736(0x173))/0x1*(-parseInt(_0x340736(0x16b))/0x2)+-parseInt(_0x340736(0x193))/0x3+-parseInt(_0x340736(0x17f))/0x4+parseInt(_0x340736(0x171))/0x5+parseInt(_0x340736(0x17c))/0x6+parseInt(_0x340736(0x178))/0x7*(parseInt(_0x340736(0x175))/0x8)+parseInt(_0x340736(0x186))/0x9*(parseInt(_0x340736(0x183))/0xa);if(_0x2a01c2===_0x2e724c)break;else _0x46afca['push'](_0x46afca['shift']());}catch(_0x2aa241){_0x46afca['push'](_0x46afca['shift']());}}}(a0_0x252b,0xa9cbf));Object[a0_0x11f07c(0x18d)](exports,'__esModule',{'value':!![]}),exports[a0_0x11f07c(0x179)]=filterCargoTest,exports[a0_0x11f07c(0x168)]=filterCargoBuild;function a0_0x252b(){const _0x32af9f=['error:','62392XjNoYj','startsWith','----\x20failures\x20----','427NbVPBe','filterCargoTest','left:','includes','5996766zhiZsa','Cargo:\x20compiled\x20','min','380008bUsumF','right:','warning:','replace','10nSyzzv','\x20\x20\x20\x20','\x20\x20...\x20+','2976543kSmtqE','\x20warnings','\x20crates\x20successfully','assert','thread','\x0aWarnings:','length','defineProperty','test\x20result:\x20ok','split','\x20more\x20failures','\x20more\x20errors','trim','2225796IiotqI','\x20----','slice','\x20ignored','error[','push','\x20passed','panicked','\x20warnings\x20—\x20run\x20cargo\x20clippy\x20for\x20details)','filterCargoBuild','join','failures:','498470VfvNjB','Cargo\x20test:\x20','\x20crates,\x20','\x0aErrors:','\x20passed,\x20','filter','2370995eHpedD','\x20errors,\x20','3mYtqgI'];a0_0x252b=function(){return _0x32af9f;};return a0_0x252b();}function filterCargoTest(_0x54cb35){const _0x54766d=a0_0x11f07c,_0x5f32e2=_0x54cb35['split']('\x0a');let _0xab5060=0x0,_0x5e54b7=0x0,_0x15c5f9=0x0,_0x2ee218=0x0;const _0x1baa9a=[];let _0x3b0b74=![],_0x2f9f5c=[];for(const _0x182766 of _0x5f32e2){const _0x392075=_0x182766['trim'](),_0x39c959=_0x392075['match'](/test result:\s*(\w+)\.\s*(\d+)\s+passed;\s*(\d+)\s+failed;\s*(\d+)\s+ignored;\s*(\d+)\s+measured/);if(_0x39c959){_0xab5060+=parseInt(_0x39c959[0x2]),_0x5e54b7+=parseInt(_0x39c959[0x3]),_0x15c5f9+=parseInt(_0x39c959[0x4]),_0x2ee218+=parseInt(_0x39c959[0x5]);continue;}if(_0x392075===_0x54766d(0x16a)||_0x392075===_0x54766d(0x177)){_0x3b0b74=!![];continue;}if(_0x3b0b74){if(_0x392075['startsWith']('----\x20')&&_0x392075['endsWith'](_0x54766d(0x194))){if(_0x2f9f5c[_0x54766d(0x18c)]>0x0)_0x1baa9a['push'](_0x2f9f5c[_0x54766d(0x169)]('\x0a'));_0x2f9f5c=[_0x392075[_0x54766d(0x182)](/^-+\s*/,'')['replace'](/\s*-+$/,'')];}else{if(_0x392075===_0x54766d(0x16a)||_0x392075[_0x54766d(0x176)]('test\x20result:')){if(_0x2f9f5c[_0x54766d(0x18c)]>0x0)_0x1baa9a['push'](_0x2f9f5c[_0x54766d(0x169)]('\x0a'));_0x2f9f5c=[],_0x3b0b74=![];}else _0x392075[_0x54766d(0x18c)]>0x0&&_0x2f9f5c[_0x54766d(0x164)](_0x182766);}}}if(_0x2f9f5c[_0x54766d(0x18c)]>0x0)_0x1baa9a[_0x54766d(0x164)](_0x2f9f5c[_0x54766d(0x169)]('\x0a'));if(_0xab5060===0x0&&_0x5e54b7===0x0&&_0x15c5f9===0x0){if(_0x54cb35[_0x54766d(0x17b)](_0x54766d(0x18e)))return'Cargo\x20test:\x20all\x20tests\x20passed';return _0x54cb35;}if(_0x5e54b7===0x0){const _0x663ded=[_0x54766d(0x16c)+_0xab5060+_0x54766d(0x165)];if(_0x15c5f9>0x0)_0x663ded['push'](_0x15c5f9+_0x54766d(0x196));return _0x663ded[_0x54766d(0x169)](',\x20');}const _0x18bfba=[_0x54766d(0x16c)+_0xab5060+_0x54766d(0x16f)+_0x5e54b7+'\x20failed,\x20'+_0x15c5f9+_0x54766d(0x196)];if(_0x1baa9a[_0x54766d(0x18c)]>0x0){_0x18bfba[_0x54766d(0x164)]('\x0aFailures:');const _0x30918a=0x3;for(let _0x315985=0x0;_0x315985<Math[_0x54766d(0x17e)](_0x1baa9a[_0x54766d(0x18c)],_0x30918a);_0x315985++){const _0x1167cd=_0x1baa9a[_0x315985][_0x54766d(0x18f)]('\x0a');_0x18bfba[_0x54766d(0x164)]('\x20\x20'+(_0x315985+0x1)+'.\x20'+_0x1167cd[0x0]);const _0x5bc0f9=_0x1167cd['slice'](0x1),_0x4c785d=_0x5bc0f9[_0x54766d(0x170)](_0x14f325=>_0x14f325['trim']()[_0x54766d(0x176)](_0x54766d(0x18a))||_0x14f325[_0x54766d(0x17b)](_0x54766d(0x166))||_0x14f325[_0x54766d(0x17b)](_0x54766d(0x189))||_0x14f325[_0x54766d(0x17b)](_0x54766d(0x17a))||_0x14f325[_0x54766d(0x17b)](_0x54766d(0x180)));for(const _0x2461ab of _0x4c785d[_0x54766d(0x195)](0x0,0x5)){_0x18bfba[_0x54766d(0x164)](_0x54766d(0x184)+_0x2461ab[_0x54766d(0x192)]());}}_0x1baa9a['length']>_0x30918a&&_0x18bfba[_0x54766d(0x164)](_0x54766d(0x185)+(_0x1baa9a[_0x54766d(0x18c)]-_0x30918a)+_0x54766d(0x190));}return _0x18bfba[_0x54766d(0x169)]('\x0a');}function a0_0x4d4f(_0x3e8c09,_0x37d41c){const _0x252b11=a0_0x252b();return a0_0x4d4f=function(_0x4d4fd9,_0x2cf679){_0x4d4fd9=_0x4d4fd9-0x163;let _0x4d6002=_0x252b11[_0x4d4fd9];return _0x4d6002;},a0_0x4d4f(_0x3e8c09,_0x37d41c);}function filterCargoBuild(_0x4e8fc0){const _0x58ff1b=a0_0x11f07c,_0x1a9dfb=_0x4e8fc0[_0x58ff1b(0x18f)]('\x0a'),_0x24a448=[],_0x2e88a7=[];let _0x419ee1=0x0;for(const _0x71915f of _0x1a9dfb){const _0x286fb=_0x71915f[_0x58ff1b(0x192)]();if(_0x286fb['startsWith']('Compiling\x20'))_0x419ee1++;else{if(_0x286fb[_0x58ff1b(0x176)]('warning[')||_0x286fb[_0x58ff1b(0x176)](_0x58ff1b(0x181)))_0x24a448[_0x58ff1b(0x164)](_0x286fb);else{if(_0x286fb[_0x58ff1b(0x176)](_0x58ff1b(0x163))||_0x286fb[_0x58ff1b(0x176)](_0x58ff1b(0x174)))_0x2e88a7[_0x58ff1b(0x164)](_0x286fb);}}}if(_0x2e88a7['length']===0x0&&_0x24a448[_0x58ff1b(0x18c)]===0x0)return _0x419ee1>0x0?_0x58ff1b(0x17d)+_0x419ee1+_0x58ff1b(0x188):_0x4e8fc0[_0x58ff1b(0x192)]();const _0x5f5634=[];if(_0x2e88a7[_0x58ff1b(0x18c)]>0x0){_0x5f5634[_0x58ff1b(0x164)]('Cargo:\x20'+_0x2e88a7[_0x58ff1b(0x18c)]+_0x58ff1b(0x172)+_0x24a448['length']+_0x58ff1b(0x187)),_0x5f5634['push'](_0x58ff1b(0x16e));for(const _0x3c9a3b of _0x2e88a7[_0x58ff1b(0x195)](0x0,0x5))_0x5f5634[_0x58ff1b(0x164)]('\x20\x20'+_0x3c9a3b);if(_0x2e88a7[_0x58ff1b(0x18c)]>0x5)_0x5f5634['push'](_0x58ff1b(0x185)+(_0x2e88a7[_0x58ff1b(0x18c)]-0x5)+_0x58ff1b(0x191));}else _0x5f5634[_0x58ff1b(0x164)]('Cargo:\x20compiled\x20'+_0x419ee1+_0x58ff1b(0x16d)+_0x24a448[_0x58ff1b(0x18c)]+_0x58ff1b(0x187));if(_0x24a448[_0x58ff1b(0x18c)]>0x0&&_0x24a448[_0x58ff1b(0x18c)]<=0x5){_0x5f5634[_0x58ff1b(0x164)](_0x58ff1b(0x18b));for(const _0x310dd1 of _0x24a448)_0x5f5634[_0x58ff1b(0x164)]('\x20\x20'+_0x310dd1);}else _0x24a448[_0x58ff1b(0x18c)]>0x5&&_0x5f5634[_0x58ff1b(0x164)]('\x0a('+_0x24a448['length']+_0x58ff1b(0x167));return _0x5f5634['join']('\x0a');}
1
+ 'use strict';function a0_0x1342(_0x5506ef,_0x2052b8){_0x5506ef=_0x5506ef-0x1c4;const _0x2260f4=a0_0x2260();let _0x134298=_0x2260f4[_0x5506ef];return _0x134298;}const a0_0x3d552f=a0_0x1342;(function(_0x9950d0,_0x37beb3){const _0x48c945=a0_0x1342,_0x195850=_0x9950d0();while(!![]){try{const _0x1d5a24=parseInt(_0x48c945(0x1fb))/0x1+parseInt(_0x48c945(0x1d1))/0x2*(-parseInt(_0x48c945(0x1f0))/0x3)+parseInt(_0x48c945(0x1db))/0x4+parseInt(_0x48c945(0x1d4))/0x5*(-parseInt(_0x48c945(0x1ef))/0x6)+parseInt(_0x48c945(0x1e5))/0x7*(parseInt(_0x48c945(0x1f3))/0x8)+-parseInt(_0x48c945(0x1eb))/0x9*(-parseInt(_0x48c945(0x1cb))/0xa)+-parseInt(_0x48c945(0x1f9))/0xb;if(_0x1d5a24===_0x37beb3)break;else _0x195850['push'](_0x195850['shift']());}catch(_0x20b50a){_0x195850['push'](_0x195850['shift']());}}}(a0_0x2260,0xf373d));Object[a0_0x3d552f(0x1fc)](exports,'__esModule',{'value':!![]}),exports[a0_0x3d552f(0x1cf)]=filterCargoTest,exports[a0_0x3d552f(0x1d6)]=filterCargoBuild;function filterCargoTest(_0x12ae41){const _0x2f8f2c=a0_0x3d552f,_0x2f8019=_0x12ae41[_0x2f8f2c(0x1f5)]('\x0a');let _0x556351=0x0,_0x23eefd=0x0,_0x2ae50a=0x0,_0x59f160=0x0;const _0x2e3a34=[];let _0x16062d=![],_0x4ad745=[];for(const _0x17ddbd of _0x2f8019){const _0x4d211a=_0x17ddbd[_0x2f8f2c(0x1e7)](),_0x5442e0=_0x4d211a[_0x2f8f2c(0x1d5)](/test result:\s*(\w+)\.\s*(\d+)\s+passed;\s*(\d+)\s+failed;\s*(\d+)\s+ignored;\s*(\d+)\s+measured/);if(_0x5442e0){_0x556351+=parseInt(_0x5442e0[0x2]),_0x23eefd+=parseInt(_0x5442e0[0x3]),_0x2ae50a+=parseInt(_0x5442e0[0x4]),_0x59f160+=parseInt(_0x5442e0[0x5]);continue;}if(_0x4d211a==='failures:'||_0x4d211a==='----\x20failures\x20----'){_0x16062d=!![];continue;}if(_0x16062d){if(_0x4d211a[_0x2f8f2c(0x1ce)]('----\x20')&&_0x4d211a[_0x2f8f2c(0x1e8)](_0x2f8f2c(0x1ed))){if(_0x4ad745[_0x2f8f2c(0x1dc)]>0x0)_0x2e3a34[_0x2f8f2c(0x1cd)](_0x4ad745['join']('\x0a'));_0x4ad745=[_0x4d211a[_0x2f8f2c(0x1e0)](/^-+\s*/,'')[_0x2f8f2c(0x1e0)](/\s*-+$/,'')];}else{if(_0x4d211a===_0x2f8f2c(0x1ec)||_0x4d211a[_0x2f8f2c(0x1ce)](_0x2f8f2c(0x1cc))){if(_0x4ad745[_0x2f8f2c(0x1dc)]>0x0)_0x2e3a34[_0x2f8f2c(0x1cd)](_0x4ad745[_0x2f8f2c(0x1d0)]('\x0a'));_0x4ad745=[],_0x16062d=![];}else _0x4d211a['length']>0x0&&_0x4ad745[_0x2f8f2c(0x1cd)](_0x17ddbd);}}}if(_0x4ad745[_0x2f8f2c(0x1dc)]>0x0)_0x2e3a34[_0x2f8f2c(0x1cd)](_0x4ad745['join']('\x0a'));if(_0x556351===0x0&&_0x23eefd===0x0&&_0x2ae50a===0x0){if(_0x12ae41['includes'](_0x2f8f2c(0x1da)))return _0x2f8f2c(0x1ee);return _0x12ae41;}if(_0x23eefd===0x0){const _0x19bd27=[_0x2f8f2c(0x1e3)+_0x556351+'\x20passed'];if(_0x2ae50a>0x0)_0x19bd27['push'](_0x2ae50a+_0x2f8f2c(0x1c9));return _0x19bd27[_0x2f8f2c(0x1d0)](',\x20');}const _0x1f9545=[_0x2f8f2c(0x1e3)+_0x556351+_0x2f8f2c(0x1d8)+_0x23eefd+_0x2f8f2c(0x1ea)+_0x2ae50a+_0x2f8f2c(0x1c9)];if(_0x2e3a34[_0x2f8f2c(0x1dc)]>0x0){_0x1f9545[_0x2f8f2c(0x1cd)](_0x2f8f2c(0x1e9));const _0x147477=0x3;for(let _0x8dde69=0x0;_0x8dde69<Math[_0x2f8f2c(0x1e2)](_0x2e3a34[_0x2f8f2c(0x1dc)],_0x147477);_0x8dde69++){const _0x331bb0=_0x2e3a34[_0x8dde69][_0x2f8f2c(0x1f5)]('\x0a');_0x1f9545[_0x2f8f2c(0x1cd)]('\x20\x20'+(_0x8dde69+0x1)+'.\x20'+_0x331bb0[0x0]);const _0x1c2728=_0x331bb0[_0x2f8f2c(0x1df)](0x1),_0x162a63=_0x1c2728[_0x2f8f2c(0x1de)](_0x4959fd=>_0x4959fd[_0x2f8f2c(0x1e7)]()[_0x2f8f2c(0x1ce)](_0x2f8f2c(0x1f8))||_0x4959fd[_0x2f8f2c(0x1ca)](_0x2f8f2c(0x1dd))||_0x4959fd[_0x2f8f2c(0x1ca)](_0x2f8f2c(0x1c5))||_0x4959fd[_0x2f8f2c(0x1ca)]('left:')||_0x4959fd[_0x2f8f2c(0x1ca)](_0x2f8f2c(0x1c4)));for(const _0x15007e of _0x162a63[_0x2f8f2c(0x1df)](0x0,0x5)){_0x1f9545[_0x2f8f2c(0x1cd)](_0x2f8f2c(0x1e6)+_0x15007e[_0x2f8f2c(0x1e7)]());}}_0x2e3a34['length']>_0x147477&&_0x1f9545[_0x2f8f2c(0x1cd)]('\x20\x20...\x20+'+(_0x2e3a34[_0x2f8f2c(0x1dc)]-_0x147477)+'\x20more\x20failures');}return _0x1f9545[_0x2f8f2c(0x1d0)]('\x0a');}function filterCargoBuild(_0x2ff7e9){const _0x2a8176=a0_0x3d552f,_0x4efc90=_0x2ff7e9[_0x2a8176(0x1f5)]('\x0a'),_0x5d6232=[],_0x540868=[];let _0x49c646=0x0;for(const _0x12905f of _0x4efc90){const _0x524004=_0x12905f['trim']();if(_0x524004['startsWith'](_0x2a8176(0x1f7)))_0x49c646++;else{if(_0x524004['startsWith'](_0x2a8176(0x1e4))||_0x524004['startsWith'](_0x2a8176(0x1d2)))_0x5d6232[_0x2a8176(0x1cd)](_0x524004);else{if(_0x524004[_0x2a8176(0x1ce)](_0x2a8176(0x1f6))||_0x524004[_0x2a8176(0x1ce)](_0x2a8176(0x1f2)))_0x540868['push'](_0x524004);}}}if(_0x540868[_0x2a8176(0x1dc)]===0x0&&_0x5d6232[_0x2a8176(0x1dc)]===0x0)return _0x49c646>0x0?'Cargo:\x20compiled\x20'+_0x49c646+_0x2a8176(0x1fa):_0x2ff7e9[_0x2a8176(0x1e7)]();const _0x2201bc=[];if(_0x540868[_0x2a8176(0x1dc)]>0x0){_0x2201bc['push']('Cargo:\x20'+_0x540868[_0x2a8176(0x1dc)]+_0x2a8176(0x1f1)+_0x5d6232['length']+'\x20warnings'),_0x2201bc[_0x2a8176(0x1cd)](_0x2a8176(0x1d7));for(const _0x1c2f45 of _0x540868[_0x2a8176(0x1df)](0x0,0x5))_0x2201bc[_0x2a8176(0x1cd)]('\x20\x20'+_0x1c2f45);if(_0x540868['length']>0x5)_0x2201bc[_0x2a8176(0x1cd)](_0x2a8176(0x1d9)+(_0x540868[_0x2a8176(0x1dc)]-0x5)+_0x2a8176(0x1d3));}else _0x2201bc['push'](_0x2a8176(0x1c6)+_0x49c646+_0x2a8176(0x1f4)+_0x5d6232[_0x2a8176(0x1dc)]+_0x2a8176(0x1e1));if(_0x5d6232[_0x2a8176(0x1dc)]>0x0&&_0x5d6232[_0x2a8176(0x1dc)]<=0x5){_0x2201bc[_0x2a8176(0x1cd)](_0x2a8176(0x1c7));for(const _0x5e5f92 of _0x5d6232)_0x2201bc[_0x2a8176(0x1cd)]('\x20\x20'+_0x5e5f92);}else _0x5d6232[_0x2a8176(0x1dc)]>0x5&&_0x2201bc[_0x2a8176(0x1cd)]('\x0a('+_0x5d6232[_0x2a8176(0x1dc)]+_0x2a8176(0x1c8));return _0x2201bc['join']('\x0a');}function a0_0x2260(){const _0x5da32b=['\x20warnings\x20—\x20run\x20cargo\x20clippy\x20for\x20details)','\x20ignored','includes','10AJVAWX','test\x20result:','push','startsWith','filterCargoTest','join','187570JNpJIq','warning:','\x20more\x20errors','5MnXyvQ','match','filterCargoBuild','\x0aErrors:','\x20passed,\x20','\x20\x20...\x20+','test\x20result:\x20ok','1999468tIedFs','length','panicked','filter','slice','replace','\x20warnings','min','Cargo\x20test:\x20','warning[','555877ghmAfl','\x20\x20\x20\x20','trim','endsWith','\x0aFailures:','\x20failed,\x20','3585483Naprcm','failures:','\x20----','Cargo\x20test:\x20all\x20tests\x20passed','6904374EGRfJj','3MCFVQO','\x20errors,\x20','error:','48HeSvLq','\x20crates,\x20','split','error[','Compiling\x20','thread','11003157SGKmxY','\x20crates\x20successfully','1867262AWExhN','defineProperty','right:','assert','Cargo:\x20compiled\x20','\x0aWarnings:'];a0_0x2260=function(){return _0x5da32b;};return a0_0x2260();}
package/filters/shell.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x3256c1=a0_0x1f9a;function a0_0x1f9a(_0x13bf29,_0x37b1b0){const _0x277cb6=a0_0x277c();return a0_0x1f9a=function(_0x1f9af1,_0x282273){_0x1f9af1=_0x1f9af1-0xf9;let _0x3b2c82=_0x277cb6[_0x1f9af1];return _0x3b2c82;},a0_0x1f9a(_0x13bf29,_0x37b1b0);}(function(_0x499661,_0x190dd8){const _0x364fe9=a0_0x1f9a,_0x5e9b46=_0x499661();while(!![]){try{const _0x19a72b=-parseInt(_0x364fe9(0x107))/0x1*(parseInt(_0x364fe9(0xfa))/0x2)+-parseInt(_0x364fe9(0x123))/0x3+-parseInt(_0x364fe9(0x169))/0x4+parseInt(_0x364fe9(0x10a))/0x5*(-parseInt(_0x364fe9(0x147))/0x6)+parseInt(_0x364fe9(0x126))/0x7*(-parseInt(_0x364fe9(0x170))/0x8)+-parseInt(_0x364fe9(0x13c))/0x9+parseInt(_0x364fe9(0x119))/0xa;if(_0x19a72b===_0x190dd8)break;else _0x5e9b46['push'](_0x5e9b46['shift']());}catch(_0x3908c7){_0x5e9b46['push'](_0x5e9b46['shift']());}}}(a0_0x277c,0x96edb));var __createBinding=this&&this[a0_0x3256c1(0x110)]||(Object[a0_0x3256c1(0x139)]?function(_0x21b531,_0x5467dd,_0x1d02a0,_0x578c8e){const _0x554e64=a0_0x3256c1;if(_0x578c8e===undefined)_0x578c8e=_0x1d02a0;var _0x2f2df8=Object['getOwnPropertyDescriptor'](_0x5467dd,_0x1d02a0);(!_0x2f2df8||('get'in _0x2f2df8?!_0x5467dd[_0x554e64(0x160)]:_0x2f2df8[_0x554e64(0x159)]||_0x2f2df8[_0x554e64(0x125)]))&&(_0x2f2df8={'enumerable':!![],'get':function(){return _0x5467dd[_0x1d02a0];}}),Object['defineProperty'](_0x21b531,_0x578c8e,_0x2f2df8);}:function(_0x2be923,_0x1749be,_0x3f8779,_0x7c7d4b){if(_0x7c7d4b===undefined)_0x7c7d4b=_0x3f8779;_0x2be923[_0x7c7d4b]=_0x1749be[_0x3f8779];}),__setModuleDefault=this&&this['__setModuleDefault']||(Object[a0_0x3256c1(0x139)]?function(_0x11102f,_0x468b93){const _0x504d2d=a0_0x3256c1;Object['defineProperty'](_0x11102f,_0x504d2d(0x154),{'enumerable':!![],'value':_0x468b93});}:function(_0x4dda82,_0x4c30e6){const _0x20fd9a=a0_0x3256c1;_0x4dda82[_0x20fd9a(0x154)]=_0x4c30e6;}),__importStar=this&&this['__importStar']||(function(){var _0xb74bb2=function(_0x146dd6){return _0xb74bb2=Object['getOwnPropertyNames']||function(_0x5e7eb3){const _0x5c594a=a0_0x1f9a;var _0x54d612=[];for(var _0x18b70f in _0x5e7eb3)if(Object[_0x5c594a(0x164)]['hasOwnProperty'][_0x5c594a(0x14b)](_0x5e7eb3,_0x18b70f))_0x54d612[_0x54d612[_0x5c594a(0x124)]]=_0x18b70f;return _0x54d612;},_0xb74bb2(_0x146dd6);};return function(_0x446515){const _0x3fc3e9=a0_0x1f9a;if(_0x446515&&_0x446515[_0x3fc3e9(0x160)])return _0x446515;var _0x3bd55f={};if(_0x446515!=null){for(var _0x41bd68=_0xb74bb2(_0x446515),_0x373c04=0x0;_0x373c04<_0x41bd68[_0x3fc3e9(0x124)];_0x373c04++)if(_0x41bd68[_0x373c04]!==_0x3fc3e9(0x154))__createBinding(_0x3bd55f,_0x446515,_0x41bd68[_0x373c04]);}return __setModuleDefault(_0x3bd55f,_0x446515),_0x3bd55f;};}());Object['defineProperty'](exports,a0_0x3256c1(0x160),{'value':!![]}),exports[a0_0x3256c1(0x132)]=filterLs,exports[a0_0x3256c1(0x16a)]=filterTree,exports[a0_0x3256c1(0x157)]=filterCat,exports[a0_0x3256c1(0x16c)]=filterGrep,exports['filterFind']=filterFind;const path=__importStar(require(a0_0x3256c1(0x12c))),LOCK_FILES=[a0_0x3256c1(0x102),a0_0x3256c1(0x11a),a0_0x3256c1(0x16d),'Cargo.lock',a0_0x3256c1(0xfc),a0_0x3256c1(0x156),a0_0x3256c1(0x13d),a0_0x3256c1(0x103),'bun.lockb'],BINARY_EXTENSIONS=[a0_0x3256c1(0x171),a0_0x3256c1(0x106),a0_0x3256c1(0x10f),a0_0x3256c1(0x166),a0_0x3256c1(0x13f),'.jpg',a0_0x3256c1(0x16e),a0_0x3256c1(0x14d),a0_0x3256c1(0x12b),'.bmp',a0_0x3256c1(0x11d),a0_0x3256c1(0x148),a0_0x3256c1(0x150),a0_0x3256c1(0x149),a0_0x3256c1(0x15f),a0_0x3256c1(0x109),'.gz',a0_0x3256c1(0x104),a0_0x3256c1(0x15b),'.rar',a0_0x3256c1(0x133),a0_0x3256c1(0x11e),a0_0x3256c1(0x129),a0_0x3256c1(0x144),a0_0x3256c1(0x10e),'.dat',a0_0x3256c1(0x13b),a0_0x3256c1(0x134),a0_0x3256c1(0x14a),a0_0x3256c1(0x152),a0_0x3256c1(0x127),a0_0x3256c1(0x153),'.eot',a0_0x3256c1(0x14c),a0_0x3256c1(0x155),a0_0x3256c1(0x172),a0_0x3256c1(0x13a),a0_0x3256c1(0x10c),a0_0x3256c1(0x118),a0_0x3256c1(0xf9),a0_0x3256c1(0x16b),a0_0x3256c1(0x15a),'.class','.o',a0_0x3256c1(0x140)];function extractFilename(_0x418e3c){const _0x352065=a0_0x3256c1,_0x1d4e05=_0x418e3c[_0x352065(0x111)]()[_0x352065(0x116)](/\s+/);for(let _0x172aa6=0x1;_0x172aa6<_0x1d4e05['length'];_0x172aa6++){if(!_0x1d4e05[_0x172aa6][_0x352065(0x12e)]('-'))return _0x1d4e05[_0x172aa6];}return null;}function filterLockFile(_0x350fbe,_0x47d96c){const _0x33f438=a0_0x3256c1;try{const _0x20cc67=path['basename'](_0x47d96c)[_0x33f438(0x130)]();if(!LOCK_FILES[_0x33f438(0x121)](_0x357560=>_0x20cc67===_0x357560[_0x33f438(0x130)]()))return null;const _0x1aa12b=_0x350fbe[_0x33f438(0x124)];let _0x15fdd7=0x0;if(_0x20cc67===_0x33f438(0x102))try{const _0x3f05e8=JSON[_0x33f438(0x12a)](_0x350fbe);_0x15fdd7=Object['keys'](_0x3f05e8[_0x33f438(0x10d)]||_0x3f05e8[_0x33f438(0x11c)]||{})[_0x33f438(0x124)];}catch{_0x15fdd7=(_0x350fbe[_0x33f438(0x100)](/"resolved":/g)||[])[_0x33f438(0x124)];}else{if(_0x20cc67===_0x33f438(0x11a))_0x15fdd7=(_0x350fbe[_0x33f438(0x100)](/^"?[^#\s][^:]*:$/gm)||[])[_0x33f438(0x124)];else{if(_0x20cc67===_0x33f438(0x112)||_0x20cc67===_0x33f438(0x156))_0x15fdd7=(_0x350fbe[_0x33f438(0x100)](/\[\[package\]\]/g)||[])['length'];else{if(_0x20cc67==='go.sum')_0x15fdd7=Math['floor'](_0x350fbe[_0x33f438(0x116)]('\x0a')[_0x33f438(0x137)](_0x2cacfb=>_0x2cacfb[_0x33f438(0x111)]())['length']/0x2);else{if(_0x20cc67===_0x33f438(0x13d))try{_0x15fdd7=JSON['parse'](_0x350fbe)[_0x33f438(0x10d)]?.[_0x33f438(0x124)]||0x0;}catch{}else _0x20cc67==='pnpm-lock.yaml'?_0x15fdd7=(_0x350fbe[_0x33f438(0x100)](/^\s{2}['"@a-z]/gm)||[])['length']:_0x15fdd7=_0x350fbe[_0x33f438(0x116)]('\x0a')[_0x33f438(0x137)](_0x5f1f74=>_0x5f1f74[_0x33f438(0x111)]())[_0x33f438(0x124)];}}}}return _0x33f438(0x168)+path[_0x33f438(0x138)](_0x47d96c)+':\x20'+_0x15fdd7+_0x33f438(0x131)+_0x1aa12b['toLocaleString']()+'\x20chars\x20(content\x20omitted\x20—\x20lock\x20files\x20are\x20not\x20useful\x20for\x20LLM\x20context)';}catch{return null;}}function filterBinaryOrMinified(_0x219c40,_0x8c7317){const _0x580add=a0_0x3256c1;try{if(_0x8c7317){const _0xe99bf=_0x8c7317[_0x580add(0x130)]();for(const _0x1a149f of BINARY_EXTENSIONS){if(_0xe99bf[_0x580add(0x108)](_0x1a149f))return _0x580add(0xfb)+path['basename'](_0x8c7317)+',\x20'+_0x219c40['length'][_0x580add(0x151)]()+_0x580add(0x146)+_0x1a149f+_0x580add(0x13e);}}const _0x230e1a=_0x219c40[_0x580add(0x120)](0x0,0x3e8);let _0x2b0541=0x0;for(let _0x3ccee2=0x0;_0x3ccee2<_0x230e1a[_0x580add(0x124)];_0x3ccee2++){if(_0x230e1a[_0x580add(0x161)](_0x3ccee2)===0x0)_0x2b0541++;}if(_0x2b0541>0x0)return _0x580add(0x141)+_0x219c40[_0x580add(0x124)][_0x580add(0x151)]()+_0x580add(0x128);let _0x31787b=0x0;for(let _0x15f4ff=0x0;_0x15f4ff<_0x230e1a[_0x580add(0x124)];_0x15f4ff++){const _0x4b4e3e=_0x230e1a[_0x580add(0x161)](_0x15f4ff);if(_0x4b4e3e<0x20&&_0x4b4e3e!==0xa&&_0x4b4e3e!==0xd&&_0x4b4e3e!==0x9)_0x31787b++;}if(_0x230e1a[_0x580add(0x124)]>0x64&&_0x31787b>_0x230e1a[_0x580add(0x124)]*0.1)return _0x580add(0x141)+_0x219c40[_0x580add(0x124)][_0x580add(0x151)]()+_0x580add(0x167);const _0x9e811e=_0x219c40[_0x580add(0x116)]('\x0a');if(_0x9e811e[_0x580add(0x124)]<=0x3&&_0x219c40[_0x580add(0x124)]>0x1388)return'[minified\x20file]\x20'+_0x219c40[_0x580add(0x124)][_0x580add(0x151)]()+'\x20chars\x20across\x20'+_0x9e811e[_0x580add(0x124)]+_0x580add(0x135);return null;}catch{return null;}}function filterJsonMinify(_0x30d80d){const _0x4da59e=a0_0x3256c1;try{const _0x20a27b=_0x30d80d[_0x4da59e(0x111)]();if(!_0x20a27b[_0x4da59e(0x12e)]('{')&&!_0x20a27b[_0x4da59e(0x12e)]('['))return null;const _0x486226=_0x20a27b[_0x4da59e(0x116)]('\x0a');if(_0x486226[_0x4da59e(0x124)]<=0x14)return null;const _0x1be5e6=JSON['parse'](_0x20a27b),_0x7a108b=JSON[_0x4da59e(0x105)](_0x1be5e6);if(_0x7a108b['length']<_0x20a27b['length'])return _0x7a108b;return null;}catch{return null;}}function filterLs(_0xcef9db){const _0x3aff8c=a0_0x3256c1,_0x223095=_0xcef9db[_0x3aff8c(0x116)]('\x0a')[_0x3aff8c(0x137)](_0x1dc212=>_0x1dc212[_0x3aff8c(0x111)]()['length']>0x0);if(_0x223095[_0x3aff8c(0x124)]===0x0)return _0x3aff8c(0x145);if(_0x223095['length']<=0x1e)return _0xcef9db[_0x3aff8c(0x111)]();const _0x2eb7cb=[],_0x139883=[];for(const _0x563e9b of _0x223095){const _0xe59226=_0x563e9b['trim']();if(_0xe59226[_0x3aff8c(0x12e)](_0x3aff8c(0x143))||_0xe59226[_0x3aff8c(0x12e)]('d')&&_0xe59226[_0x3aff8c(0x15e)]('..'))continue;_0xe59226[_0x3aff8c(0x108)]('/')||_0xe59226[_0x3aff8c(0x12e)]('d')&&_0xe59226[_0x3aff8c(0x15e)]('\x20')?_0x2eb7cb[_0x3aff8c(0x163)](_0xe59226):_0x139883[_0x3aff8c(0x163)](_0xe59226);}const _0x16b558=[];return _0x2eb7cb['length']>0x0&&(_0x2eb7cb[_0x3aff8c(0x124)]<=0xf?_0x16b558[_0x3aff8c(0x163)](..._0x2eb7cb):(_0x16b558['push'](..._0x2eb7cb[_0x3aff8c(0x165)](0x0,0xa)),_0x16b558[_0x3aff8c(0x163)](_0x3aff8c(0x113)+(_0x2eb7cb[_0x3aff8c(0x124)]-0xa)+_0x3aff8c(0xfe)))),_0x139883[_0x3aff8c(0x124)]>0x0&&(_0x139883[_0x3aff8c(0x124)]<=0x14?_0x16b558[_0x3aff8c(0x163)](..._0x139883):(_0x16b558[_0x3aff8c(0x163)](..._0x139883[_0x3aff8c(0x165)](0x0,0xf)),_0x16b558[_0x3aff8c(0x163)]('...\x20+'+(_0x139883[_0x3aff8c(0x124)]-0xf)+'\x20more\x20files'))),_0x16b558['push']('\x0a('+_0x2eb7cb[_0x3aff8c(0x124)]+_0x3aff8c(0x101)+_0x139883[_0x3aff8c(0x124)]+_0x3aff8c(0xfd)),_0x16b558[_0x3aff8c(0xff)]('\x0a');}function filterTree(_0x36def3){const _0x355138=a0_0x3256c1,_0x2813e4=_0x36def3[_0x355138(0x116)]('\x0a');if(_0x2813e4['length']<=0x32)return _0x36def3[_0x355138(0x111)]();const _0x53da57=[];let _0x9fee55=0x0,_0x280bb3=0x0,_0x397666=0x0;for(const _0x1ff9dd of _0x2813e4){const _0xc7d2bb=_0x1ff9dd['match'](/(\d+)\s+director/),_0x17f980=_0x1ff9dd[_0x355138(0x100)](/(\d+)\s+file/);if(_0xc7d2bb)_0x397666=parseInt(_0xc7d2bb[0x1]);if(_0x17f980)_0x280bb3=parseInt(_0x17f980[0x1]);const _0x5999ca=(_0x1ff9dd[_0x355138(0x100)](/^[│├└\s─]+/)||[''])[0x0][_0x355138(0x124)];_0x5999ca<=0x4&&(_0x53da57[_0x355138(0x163)](_0x1ff9dd),_0x9fee55++);}return _0x2813e4[_0x355138(0x124)]>_0x53da57[_0x355138(0x124)]&&_0x53da57[_0x355138(0x163)](_0x355138(0x12d)+_0x397666+_0x355138(0x101)+_0x280bb3+_0x355138(0x14f)),_0x53da57[_0x355138(0xff)]('\x0a');}function filterCat(_0x41c489,_0x442590=''){const _0x48bb32=a0_0x3256c1,_0x2440d6=extractFilename(_0x442590);try{if(_0x2440d6){const _0x49a1ac=filterLockFile(_0x41c489,_0x2440d6);if(_0x49a1ac)return _0x49a1ac;}const _0x6c2264=filterBinaryOrMinified(_0x41c489,_0x2440d6);if(_0x6c2264)return _0x6c2264;const _0x32973a=filterJsonMinify(_0x41c489);if(_0x32973a)return _0x32973a;}catch{}const _0xaa631c=_0x41c489[_0x48bb32(0x116)]('\x0a');if(_0xaa631c[_0x48bb32(0x124)]<=0x64)return _0x41c489;const _0x5e68b1=[];return _0x5e68b1[_0x48bb32(0x163)](..._0xaa631c[_0x48bb32(0x165)](0x0,0x32)),_0x5e68b1[_0x48bb32(0x163)]('\x0a...\x20['+(_0xaa631c[_0x48bb32(0x124)]-0x50)+_0x48bb32(0x136)),_0x5e68b1[_0x48bb32(0x163)](..._0xaa631c[_0x48bb32(0x165)](-0x1e)),_0x5e68b1[_0x48bb32(0x163)]('\x0a('+_0xaa631c[_0x48bb32(0x124)]+_0x48bb32(0x122)),_0x5e68b1[_0x48bb32(0xff)]('\x0a');}function a0_0x277c(){const _0x31686c=['.wav','.sqlite','3372300lRNcgO','composer.lock','\x20(content\x20omitted\x20—\x20not\x20useful\x20for\x20LLM\x20context)','.png','.obj','[binary\x20file]\x20','\x20files\x20found\x20across\x20','total\x20','.dylib','Empty\x20directory','\x20chars,\x20type:\x20','6426018uVHkzc','.svg','.zip','.sqlite3','call','.otf','.gif','\x20\x20...\x20+','\x20files\x20total\x20—\x20deep\x20entries\x20truncated)','.pdf','toLocaleString','.woff','.ttf','default','.mp3','poetry.lock','filterCat',':\x20...\x20(','writable','.pyo','.7z','\x20more\x20matches','\x20more\x20files\x20with\x20matches','includes','.tar.gz','__esModule','charCodeAt','keys','push','prototype','slice','.wasm','\x20chars\x20(high\x20non-printable\x20ratio\x20—\x20content\x20omitted)','[lock\x20file]\x20','3161572HtDEwQ','filterTree','.pyc','filterGrep','pnpm-lock.yaml','.jpeg','\x20matches\x20in\x20this\x20file)','200RVeHPk','.min.js','.mp4','.webm','320956IhcDsn','[binary/minified\x20file]\x20','go.sum','\x20files)','\x20more\x20directories','join','match','\x20directories,\x20','package-lock.json','Gemfile.lock','.bz2','stringify','.min.css','6gEwAne','endsWith','.tgz','5VgrhDb','\x20directories','.avi','packages','.bin','.map','__createBinding','trim','cargo.lock','...\x20+','sort','\x20matches\x20across\x20','split','entries','.mov','49237370hdwjUl','yarn.lock','dirname','dependencies','.webp','.dll','No\x20files\x20found','substring','some','\x20lines\x20total)','2831535cEaqDq','length','configurable','45563HHVYVl','.woff2','\x20chars\x20(contains\x20null\x20bytes\x20—\x20binary\x20content\x20omitted)','.so','parse','.ico','path','\x0a...\x20(','startsWith','/\x20(','toLowerCase','\x20dependencies,\x20','filterLs','.exe','.db','\x20line(s)\x20(content\x20omitted\x20—\x20not\x20human-readable)','\x20lines\x20truncated]\x20...\x0a','filter','basename','create'];a0_0x277c=function(){return _0x31686c;};return a0_0x277c();}function filterGrep(_0x170566){const _0x141bb5=a0_0x3256c1,_0x58a95b=_0x170566[_0x141bb5(0x116)]('\x0a')[_0x141bb5(0x137)](_0x507581=>_0x507581['trim']()[_0x141bb5(0x124)]>0x0);if(_0x58a95b[_0x141bb5(0x124)]===0x0)return'No\x20matches\x20found';if(_0x58a95b[_0x141bb5(0x124)]<=0x32)return _0x170566[_0x141bb5(0x111)]();const _0xefeba={},_0x23c4c9=[];for(const _0xb5997b of _0x58a95b){const _0x18536b=_0xb5997b['indexOf'](':');if(_0x18536b>0x0&&_0x18536b<0xc8){const _0x45cb51=_0xb5997b[_0x141bb5(0x120)](0x0,_0x18536b);if(_0x45cb51['includes']('/')||_0x45cb51['includes']('\x5c')||_0x45cb51[_0x141bb5(0x15e)]('.')){if(!_0xefeba[_0x45cb51])_0xefeba[_0x45cb51]=[];_0xefeba[_0x45cb51]['push'](_0xb5997b[_0x141bb5(0x120)](_0x18536b+0x1)[_0x141bb5(0x111)]());continue;}}_0x23c4c9[_0x141bb5(0x163)](_0xb5997b);}const _0x39e3fe=[],_0x595b9f=Object[_0x141bb5(0x162)](_0xefeba);if(_0x595b9f['length']>0x0){const _0x49e204=0x14,_0x10a71f=_0x595b9f['slice'](0x0,_0x49e204);for(const _0x12d276 of _0x10a71f){const _0x286429=_0xefeba[_0x12d276];if(_0x286429[_0x141bb5(0x124)]<=0x3)for(const _0x353762 of _0x286429){_0x39e3fe[_0x141bb5(0x163)](_0x12d276+':\x20'+_0x353762);}else _0x39e3fe[_0x141bb5(0x163)](_0x12d276+':\x20'+_0x286429[0x0]),_0x39e3fe[_0x141bb5(0x163)](_0x12d276+_0x141bb5(0x158)+_0x286429[_0x141bb5(0x124)]+_0x141bb5(0x16f));}_0x595b9f['length']>_0x49e204&&_0x39e3fe['push'](_0x141bb5(0x113)+(_0x595b9f['length']-_0x49e204)+_0x141bb5(0x15d));}if(_0x23c4c9[_0x141bb5(0x124)]>0x0){const _0x2647b9=0x1e;_0x39e3fe[_0x141bb5(0x163)](..._0x23c4c9[_0x141bb5(0x165)](0x0,_0x2647b9)),_0x23c4c9[_0x141bb5(0x124)]>_0x2647b9&&_0x39e3fe[_0x141bb5(0x163)](_0x141bb5(0x113)+(_0x23c4c9['length']-_0x2647b9)+_0x141bb5(0x15c));}const _0x358ba2=_0x58a95b['length'];return _0x39e3fe[_0x141bb5(0x163)]('\x0a('+_0x358ba2+_0x141bb5(0x115)+(_0x595b9f[_0x141bb5(0x124)]||'?')+_0x141bb5(0xfd)),_0x39e3fe[_0x141bb5(0xff)]('\x0a');}function filterFind(_0x5dccae){const _0x39dc08=a0_0x3256c1,_0x4c9865=_0x5dccae[_0x39dc08(0x116)]('\x0a')['filter'](_0x780f18=>_0x780f18[_0x39dc08(0x111)]()[_0x39dc08(0x124)]>0x0);if(_0x4c9865[_0x39dc08(0x124)]===0x0)return _0x39dc08(0x11f);if(_0x4c9865[_0x39dc08(0x124)]<=0x32)return _0x5dccae[_0x39dc08(0x111)]();const _0x2f3189={};for(const _0x44925b of _0x4c9865){const _0x2ae297=path[_0x39dc08(0x11b)](_0x44925b[_0x39dc08(0x111)]())||'.';_0x2f3189[_0x2ae297]=(_0x2f3189[_0x2ae297]||0x0)+0x1;}const _0x90bcba=Object[_0x39dc08(0x117)](_0x2f3189)[_0x39dc08(0x114)]((_0x4d9744,_0x21eef2)=>_0x21eef2[0x1]-_0x4d9744[0x1]),_0x5596fb=[_0x4c9865[_0x39dc08(0x124)]+_0x39dc08(0x142)+_0x90bcba[_0x39dc08(0x124)]+_0x39dc08(0x10b),''],_0x29bc8a=0x1e;for(const [_0x4905c2,_0x2bf013]of _0x90bcba[_0x39dc08(0x165)](0x0,_0x29bc8a)){_0x5596fb[_0x39dc08(0x163)]('\x20\x20'+_0x4905c2+_0x39dc08(0x12f)+_0x2bf013+'\x20files)');}return _0x90bcba[_0x39dc08(0x124)]>_0x29bc8a&&_0x5596fb[_0x39dc08(0x163)](_0x39dc08(0x14e)+(_0x90bcba[_0x39dc08(0x124)]-_0x29bc8a)+_0x39dc08(0xfe)),_0x5596fb['join']('\x0a');}
1
+ 'use strict';const a0_0xca23f4=a0_0x35c6;(function(_0x2dd92e,_0x1f1228){const _0x2cc954=a0_0x35c6,_0x1f385e=_0x2dd92e();while(!![]){try{const _0x590e34=-parseInt(_0x2cc954(0x16b))/0x1+-parseInt(_0x2cc954(0x1da))/0x2+-parseInt(_0x2cc954(0x197))/0x3*(parseInt(_0x2cc954(0x1b9))/0x4)+parseInt(_0x2cc954(0x192))/0x5+-parseInt(_0x2cc954(0x16d))/0x6*(parseInt(_0x2cc954(0x1c1))/0x7)+parseInt(_0x2cc954(0x18b))/0x8*(-parseInt(_0x2cc954(0x194))/0x9)+parseInt(_0x2cc954(0x173))/0xa;if(_0x590e34===_0x1f1228)break;else _0x1f385e['push'](_0x1f385e['shift']());}catch(_0x5e287f){_0x1f385e['push'](_0x1f385e['shift']());}}}(a0_0x40b9,0xce1f7));var __createBinding=this&&this['__createBinding']||(Object[a0_0xca23f4(0x190)]?function(_0x4cd656,_0x2cc9b0,_0x54e224,_0x1dd46b){const _0x18d006=a0_0xca23f4;if(_0x1dd46b===undefined)_0x1dd46b=_0x54e224;var _0x46c825=Object[_0x18d006(0x1a9)](_0x2cc9b0,_0x54e224);(!_0x46c825||(_0x18d006(0x188)in _0x46c825?!_0x2cc9b0[_0x18d006(0x1c0)]:_0x46c825[_0x18d006(0x1cd)]||_0x46c825['configurable']))&&(_0x46c825={'enumerable':!![],'get':function(){return _0x2cc9b0[_0x54e224];}}),Object['defineProperty'](_0x4cd656,_0x1dd46b,_0x46c825);}:function(_0xca87f7,_0x499a7a,_0x3b41dd,_0x3b1de3){if(_0x3b1de3===undefined)_0x3b1de3=_0x3b41dd;_0xca87f7[_0x3b1de3]=_0x499a7a[_0x3b41dd];}),__setModuleDefault=this&&this['__setModuleDefault']||(Object[a0_0xca23f4(0x190)]?function(_0x54868d,_0x2241b0){const _0x13a081=a0_0xca23f4;Object[_0x13a081(0x1d6)](_0x54868d,_0x13a081(0x198),{'enumerable':!![],'value':_0x2241b0});}:function(_0x2f75dc,_0x316f15){const _0x14f764=a0_0xca23f4;_0x2f75dc[_0x14f764(0x198)]=_0x316f15;}),__importStar=this&&this[a0_0xca23f4(0x1be)]||(function(){var _0x55e4c2=function(_0x2c94e2){const _0x456672=a0_0x35c6;return _0x55e4c2=Object[_0x456672(0x189)]||function(_0x4b7fd7){const _0x4d1bb3=_0x456672;var _0x19b4ec=[];for(var _0x6e8833 in _0x4b7fd7)if(Object[_0x4d1bb3(0x19f)][_0x4d1bb3(0x195)][_0x4d1bb3(0x1ae)](_0x4b7fd7,_0x6e8833))_0x19b4ec[_0x19b4ec[_0x4d1bb3(0x1e5)]]=_0x6e8833;return _0x19b4ec;},_0x55e4c2(_0x2c94e2);};return function(_0x50211c){const _0xc6aa00=a0_0x35c6;if(_0x50211c&&_0x50211c[_0xc6aa00(0x1c0)])return _0x50211c;var _0x5d56bd={};if(_0x50211c!=null){for(var _0x4596e2=_0x55e4c2(_0x50211c),_0x28b255=0x0;_0x28b255<_0x4596e2[_0xc6aa00(0x1e5)];_0x28b255++)if(_0x4596e2[_0x28b255]!==_0xc6aa00(0x198))__createBinding(_0x5d56bd,_0x50211c,_0x4596e2[_0x28b255]);}return __setModuleDefault(_0x5d56bd,_0x50211c),_0x5d56bd;};}());function a0_0x35c6(_0x4c18c8,_0x2d0c98){_0x4c18c8=_0x4c18c8-0x168;const _0x40b9eb=a0_0x40b9();let _0x35c601=_0x40b9eb[_0x4c18c8];return _0x35c601;}function a0_0x40b9(){const _0x1cd679=['push','.rar','basename','__importStar','toLowerCase','__esModule','7ijlRwJ','/\x20(','includes','total\x20','.class','.pdf','.woff','.bz2','.min.js','composer.lock','\x20files\x20found\x20across\x20','.bin','writable','.mov','\x20chars\x20across\x20','\x20chars\x20(high\x20non-printable\x20ratio\x20—\x20content\x20omitted)','.db','pnpm-lock.yaml',':\x20...\x20(','.avi','.png','defineProperty','sort','[binary\x20file]\x20','split','1609732KCnoWC','keys','\x20lines\x20truncated]\x20...\x0a','.mp4','\x20files)','poetry.lock','.woff2','\x20chars\x20(contains\x20null\x20bytes\x20—\x20binary\x20content\x20omitted)','Cargo.lock','.7z','.ttf','length','\x20more\x20files\x20with\x20matches','filter','.gz','stringify','trim','480018OIBDnw','filterLs','57522tUvyyg','.webp','Gemfile.lock','.otf','.tgz','dirname','29206110giCEQZ','\x0a...\x20(','package-lock.json','floor','indexOf','join','.eot','some','No\x20files\x20found','substring','filterCat','\x20more\x20files','.obj','bun.lockb','.ico','endsWith','filterGrep','.dll','toLocaleString','.so','.dat','get','getOwnPropertyNames','[binary/minified\x20file]\x20','8OgVAWd','\x20directories,\x20','filterFind','.pyo','\x20more\x20directories','create','.zip','7819775ukuiiY','packages','9013203vkxWYw','hasOwnProperty','\x20matches\x20in\x20this\x20file)','3lpBFjM','default','yarn.lock','startsWith','cargo.lock','match','...\x20+','.sqlite','prototype','[lock\x20file]\x20','[minified\x20file]\x20','.sqlite3','.wasm','\x20more\x20matches','.bmp','.mp3','.pyc','.svg','getOwnPropertyDescriptor','Empty\x20directory','\x0a...\x20[','entries','parse','call','.jpeg','charCodeAt','\x20chars\x20(content\x20omitted\x20—\x20lock\x20files\x20are\x20not\x20useful\x20for\x20LLM\x20context)','\x20matches\x20across\x20','.jpg','.gif','go.sum','path','\x20files\x20total\x20—\x20deep\x20entries\x20truncated)','slice','5377396foRHKB','No\x20matches\x20found'];a0_0x40b9=function(){return _0x1cd679;};return a0_0x40b9();}Object['defineProperty'](exports,a0_0xca23f4(0x1c0),{'value':!![]}),exports[a0_0xca23f4(0x16c)]=filterLs,exports['filterTree']=filterTree,exports[a0_0xca23f4(0x17d)]=filterCat,exports[a0_0xca23f4(0x183)]=filterGrep,exports[a0_0xca23f4(0x18d)]=filterFind;const path=__importStar(require(a0_0xca23f4(0x1b6))),LOCK_FILES=[a0_0xca23f4(0x175),'yarn.lock',a0_0xca23f4(0x1d2),a0_0xca23f4(0x1e2),a0_0xca23f4(0x1b5),a0_0xca23f4(0x1df),a0_0xca23f4(0x1ca),a0_0xca23f4(0x16f),a0_0xca23f4(0x180)],BINARY_EXTENSIONS=[a0_0xca23f4(0x1c9),'.min.css','.map',a0_0xca23f4(0x1a3),a0_0xca23f4(0x1d5),a0_0xca23f4(0x1b3),a0_0xca23f4(0x1af),a0_0xca23f4(0x1b4),a0_0xca23f4(0x181),a0_0xca23f4(0x1a5),a0_0xca23f4(0x16e),a0_0xca23f4(0x1a8),a0_0xca23f4(0x1c6),a0_0xca23f4(0x191),'.tar.gz',a0_0xca23f4(0x171),a0_0xca23f4(0x168),a0_0xca23f4(0x1c8),a0_0xca23f4(0x1e3),a0_0xca23f4(0x1bc),'.exe',a0_0xca23f4(0x184),a0_0xca23f4(0x186),'.dylib',a0_0xca23f4(0x1cc),a0_0xca23f4(0x187),a0_0xca23f4(0x19e),a0_0xca23f4(0x1d1),a0_0xca23f4(0x1a2),a0_0xca23f4(0x1c7),a0_0xca23f4(0x1e0),a0_0xca23f4(0x1e4),a0_0xca23f4(0x179),a0_0xca23f4(0x170),a0_0xca23f4(0x1a6),a0_0xca23f4(0x1dd),'.wav',a0_0xca23f4(0x1d4),a0_0xca23f4(0x1ce),'.webm',a0_0xca23f4(0x1a7),a0_0xca23f4(0x18e),a0_0xca23f4(0x1c5),'.o',a0_0xca23f4(0x17f)];function extractFilename(_0x2a3731){const _0x3c8b0f=a0_0xca23f4,_0x503806=_0x2a3731[_0x3c8b0f(0x16a)]()[_0x3c8b0f(0x1d9)](/\s+/);for(let _0x251bbf=0x1;_0x251bbf<_0x503806[_0x3c8b0f(0x1e5)];_0x251bbf++){if(!_0x503806[_0x251bbf][_0x3c8b0f(0x19a)]('-'))return _0x503806[_0x251bbf];}return null;}function filterLockFile(_0x542047,_0x7d08d5){const _0x80d62b=a0_0xca23f4;try{const _0x4f75a1=path[_0x80d62b(0x1bd)](_0x7d08d5)[_0x80d62b(0x1bf)]();if(!LOCK_FILES[_0x80d62b(0x17a)](_0xe4d3de=>_0x4f75a1===_0xe4d3de[_0x80d62b(0x1bf)]()))return null;const _0x613be9=_0x542047[_0x80d62b(0x1e5)];let _0xe894ac=0x0;if(_0x4f75a1==='package-lock.json')try{const _0x14386e=JSON[_0x80d62b(0x1ad)](_0x542047);_0xe894ac=Object[_0x80d62b(0x1db)](_0x14386e[_0x80d62b(0x193)]||_0x14386e['dependencies']||{})[_0x80d62b(0x1e5)];}catch{_0xe894ac=(_0x542047[_0x80d62b(0x19c)](/"resolved":/g)||[])[_0x80d62b(0x1e5)];}else{if(_0x4f75a1===_0x80d62b(0x199))_0xe894ac=(_0x542047[_0x80d62b(0x19c)](/^"?[^#\s][^:]*:$/gm)||[])[_0x80d62b(0x1e5)];else{if(_0x4f75a1===_0x80d62b(0x19b)||_0x4f75a1===_0x80d62b(0x1df))_0xe894ac=(_0x542047[_0x80d62b(0x19c)](/\[\[package\]\]/g)||[])['length'];else{if(_0x4f75a1===_0x80d62b(0x1b5))_0xe894ac=Math[_0x80d62b(0x176)](_0x542047[_0x80d62b(0x1d9)]('\x0a')[_0x80d62b(0x1e7)](_0x2162ea=>_0x2162ea[_0x80d62b(0x16a)]())[_0x80d62b(0x1e5)]/0x2);else{if(_0x4f75a1===_0x80d62b(0x1ca))try{_0xe894ac=JSON[_0x80d62b(0x1ad)](_0x542047)[_0x80d62b(0x193)]?.[_0x80d62b(0x1e5)]||0x0;}catch{}else _0x4f75a1===_0x80d62b(0x1d2)?_0xe894ac=(_0x542047[_0x80d62b(0x19c)](/^\s{2}['"@a-z]/gm)||[])[_0x80d62b(0x1e5)]:_0xe894ac=_0x542047[_0x80d62b(0x1d9)]('\x0a')[_0x80d62b(0x1e7)](_0x3b50e6=>_0x3b50e6['trim']())[_0x80d62b(0x1e5)];}}}}return _0x80d62b(0x1a0)+path[_0x80d62b(0x1bd)](_0x7d08d5)+':\x20'+_0xe894ac+'\x20dependencies,\x20'+_0x613be9[_0x80d62b(0x185)]()+_0x80d62b(0x1b1);}catch{return null;}}function filterBinaryOrMinified(_0x225d72,_0x1594e7){const _0x3afac6=a0_0xca23f4;try{if(_0x1594e7){const _0x59fbf8=_0x1594e7[_0x3afac6(0x1bf)]();for(const _0x219ca6 of BINARY_EXTENSIONS){if(_0x59fbf8['endsWith'](_0x219ca6))return _0x3afac6(0x18a)+path[_0x3afac6(0x1bd)](_0x1594e7)+',\x20'+_0x225d72[_0x3afac6(0x1e5)][_0x3afac6(0x185)]()+'\x20chars,\x20type:\x20'+_0x219ca6+'\x20(content\x20omitted\x20—\x20not\x20useful\x20for\x20LLM\x20context)';}}const _0x683ec8=_0x225d72[_0x3afac6(0x17c)](0x0,0x3e8);let _0x13f260=0x0;for(let _0x4f2b77=0x0;_0x4f2b77<_0x683ec8[_0x3afac6(0x1e5)];_0x4f2b77++){if(_0x683ec8[_0x3afac6(0x1b0)](_0x4f2b77)===0x0)_0x13f260++;}if(_0x13f260>0x0)return _0x3afac6(0x1d8)+_0x225d72[_0x3afac6(0x1e5)]['toLocaleString']()+_0x3afac6(0x1e1);let _0x209c6d=0x0;for(let _0x19ea09=0x0;_0x19ea09<_0x683ec8[_0x3afac6(0x1e5)];_0x19ea09++){const _0x1a87c4=_0x683ec8['charCodeAt'](_0x19ea09);if(_0x1a87c4<0x20&&_0x1a87c4!==0xa&&_0x1a87c4!==0xd&&_0x1a87c4!==0x9)_0x209c6d++;}if(_0x683ec8[_0x3afac6(0x1e5)]>0x64&&_0x209c6d>_0x683ec8[_0x3afac6(0x1e5)]*0.1)return _0x3afac6(0x1d8)+_0x225d72[_0x3afac6(0x1e5)][_0x3afac6(0x185)]()+_0x3afac6(0x1d0);const _0x244ddc=_0x225d72['split']('\x0a');if(_0x244ddc[_0x3afac6(0x1e5)]<=0x3&&_0x225d72[_0x3afac6(0x1e5)]>0x1388)return _0x3afac6(0x1a1)+_0x225d72[_0x3afac6(0x1e5)]['toLocaleString']()+_0x3afac6(0x1cf)+_0x244ddc[_0x3afac6(0x1e5)]+'\x20line(s)\x20(content\x20omitted\x20—\x20not\x20human-readable)';return null;}catch{return null;}}function filterJsonMinify(_0x176a38){const _0x2d0bd4=a0_0xca23f4;try{const _0x2e74b1=_0x176a38['trim']();if(!_0x2e74b1[_0x2d0bd4(0x19a)]('{')&&!_0x2e74b1[_0x2d0bd4(0x19a)]('['))return null;const _0x46ca1a=_0x2e74b1[_0x2d0bd4(0x1d9)]('\x0a');if(_0x46ca1a[_0x2d0bd4(0x1e5)]<=0x14)return null;const _0x4dbb97=JSON[_0x2d0bd4(0x1ad)](_0x2e74b1),_0x31ef2d=JSON[_0x2d0bd4(0x169)](_0x4dbb97);if(_0x31ef2d[_0x2d0bd4(0x1e5)]<_0x2e74b1[_0x2d0bd4(0x1e5)])return _0x31ef2d;return null;}catch{return null;}}function filterLs(_0xe44bcf){const _0x19a91c=a0_0xca23f4,_0x1d257b=_0xe44bcf[_0x19a91c(0x1d9)]('\x0a')[_0x19a91c(0x1e7)](_0x21af49=>_0x21af49[_0x19a91c(0x16a)]()[_0x19a91c(0x1e5)]>0x0);if(_0x1d257b['length']===0x0)return _0x19a91c(0x1aa);if(_0x1d257b['length']<=0x1e)return _0xe44bcf[_0x19a91c(0x16a)]();const _0xf7c0d6=[],_0x4cfeb9=[];for(const _0x8996b2 of _0x1d257b){const _0x2b189a=_0x8996b2[_0x19a91c(0x16a)]();if(_0x2b189a[_0x19a91c(0x19a)](_0x19a91c(0x1c4))||_0x2b189a[_0x19a91c(0x19a)]('d')&&_0x2b189a['includes']('..'))continue;_0x2b189a[_0x19a91c(0x182)]('/')||_0x2b189a[_0x19a91c(0x19a)]('d')&&_0x2b189a['includes']('\x20')?_0xf7c0d6[_0x19a91c(0x1bb)](_0x2b189a):_0x4cfeb9['push'](_0x2b189a);}const _0x17fdfd=[];return _0xf7c0d6['length']>0x0&&(_0xf7c0d6[_0x19a91c(0x1e5)]<=0xf?_0x17fdfd[_0x19a91c(0x1bb)](..._0xf7c0d6):(_0x17fdfd[_0x19a91c(0x1bb)](..._0xf7c0d6['slice'](0x0,0xa)),_0x17fdfd['push'](_0x19a91c(0x19d)+(_0xf7c0d6[_0x19a91c(0x1e5)]-0xa)+'\x20more\x20directories'))),_0x4cfeb9[_0x19a91c(0x1e5)]>0x0&&(_0x4cfeb9[_0x19a91c(0x1e5)]<=0x14?_0x17fdfd[_0x19a91c(0x1bb)](..._0x4cfeb9):(_0x17fdfd[_0x19a91c(0x1bb)](..._0x4cfeb9[_0x19a91c(0x1b8)](0x0,0xf)),_0x17fdfd[_0x19a91c(0x1bb)](_0x19a91c(0x19d)+(_0x4cfeb9['length']-0xf)+_0x19a91c(0x17e)))),_0x17fdfd[_0x19a91c(0x1bb)]('\x0a('+_0xf7c0d6[_0x19a91c(0x1e5)]+_0x19a91c(0x18c)+_0x4cfeb9['length']+_0x19a91c(0x1de)),_0x17fdfd[_0x19a91c(0x178)]('\x0a');}function filterTree(_0x48cfac){const _0x2327b8=a0_0xca23f4,_0x1f2a60=_0x48cfac[_0x2327b8(0x1d9)]('\x0a');if(_0x1f2a60['length']<=0x32)return _0x48cfac[_0x2327b8(0x16a)]();const _0x52bea7=[];let _0x1831cf=0x0,_0xf2a515=0x0,_0x4e04b1=0x0;for(const _0x33cf43 of _0x1f2a60){const _0x2775a9=_0x33cf43[_0x2327b8(0x19c)](/(\d+)\s+director/),_0x586517=_0x33cf43['match'](/(\d+)\s+file/);if(_0x2775a9)_0x4e04b1=parseInt(_0x2775a9[0x1]);if(_0x586517)_0xf2a515=parseInt(_0x586517[0x1]);const _0x56a3e6=(_0x33cf43[_0x2327b8(0x19c)](/^[│├└\s─]+/)||[''])[0x0][_0x2327b8(0x1e5)];_0x56a3e6<=0x4&&(_0x52bea7['push'](_0x33cf43),_0x1831cf++);}return _0x1f2a60[_0x2327b8(0x1e5)]>_0x52bea7[_0x2327b8(0x1e5)]&&_0x52bea7[_0x2327b8(0x1bb)](_0x2327b8(0x174)+_0x4e04b1+_0x2327b8(0x18c)+_0xf2a515+_0x2327b8(0x1b7)),_0x52bea7[_0x2327b8(0x178)]('\x0a');}function filterCat(_0x34ba1d,_0x3cb466=''){const _0x639db5=a0_0xca23f4,_0x201fa3=extractFilename(_0x3cb466);try{if(_0x201fa3){const _0x2cdcfb=filterLockFile(_0x34ba1d,_0x201fa3);if(_0x2cdcfb)return _0x2cdcfb;}const _0x41d63a=filterBinaryOrMinified(_0x34ba1d,_0x201fa3);if(_0x41d63a)return _0x41d63a;const _0x5675ad=filterJsonMinify(_0x34ba1d);if(_0x5675ad)return _0x5675ad;}catch{}const _0x5b11b2=_0x34ba1d['split']('\x0a');if(_0x5b11b2[_0x639db5(0x1e5)]<=0x64)return _0x34ba1d;const _0x11a16b=[];return _0x11a16b['push'](..._0x5b11b2[_0x639db5(0x1b8)](0x0,0x32)),_0x11a16b[_0x639db5(0x1bb)](_0x639db5(0x1ab)+(_0x5b11b2['length']-0x50)+_0x639db5(0x1dc)),_0x11a16b['push'](..._0x5b11b2[_0x639db5(0x1b8)](-0x1e)),_0x11a16b[_0x639db5(0x1bb)]('\x0a('+_0x5b11b2['length']+'\x20lines\x20total)'),_0x11a16b[_0x639db5(0x178)]('\x0a');}function filterGrep(_0x25da5a){const _0xc9e77b=a0_0xca23f4,_0x37f672=_0x25da5a[_0xc9e77b(0x1d9)]('\x0a')[_0xc9e77b(0x1e7)](_0x3e3ed5=>_0x3e3ed5[_0xc9e77b(0x16a)]()[_0xc9e77b(0x1e5)]>0x0);if(_0x37f672[_0xc9e77b(0x1e5)]===0x0)return _0xc9e77b(0x1ba);if(_0x37f672[_0xc9e77b(0x1e5)]<=0x32)return _0x25da5a['trim']();const _0x728044={},_0x5a8b38=[];for(const _0x2432be of _0x37f672){const _0x4c007e=_0x2432be[_0xc9e77b(0x177)](':');if(_0x4c007e>0x0&&_0x4c007e<0xc8){const _0x4328fe=_0x2432be['substring'](0x0,_0x4c007e);if(_0x4328fe[_0xc9e77b(0x1c3)]('/')||_0x4328fe['includes']('\x5c')||_0x4328fe['includes']('.')){if(!_0x728044[_0x4328fe])_0x728044[_0x4328fe]=[];_0x728044[_0x4328fe][_0xc9e77b(0x1bb)](_0x2432be[_0xc9e77b(0x17c)](_0x4c007e+0x1)['trim']());continue;}}_0x5a8b38['push'](_0x2432be);}const _0x1e1204=[],_0x46e82c=Object[_0xc9e77b(0x1db)](_0x728044);if(_0x46e82c[_0xc9e77b(0x1e5)]>0x0){const _0x220a3d=0x14,_0x4a1dea=_0x46e82c[_0xc9e77b(0x1b8)](0x0,_0x220a3d);for(const _0x128258 of _0x4a1dea){const _0x462a07=_0x728044[_0x128258];if(_0x462a07[_0xc9e77b(0x1e5)]<=0x3)for(const _0xeb368 of _0x462a07){_0x1e1204['push'](_0x128258+':\x20'+_0xeb368);}else _0x1e1204[_0xc9e77b(0x1bb)](_0x128258+':\x20'+_0x462a07[0x0]),_0x1e1204[_0xc9e77b(0x1bb)](_0x128258+_0xc9e77b(0x1d3)+_0x462a07[_0xc9e77b(0x1e5)]+_0xc9e77b(0x196));}_0x46e82c['length']>_0x220a3d&&_0x1e1204[_0xc9e77b(0x1bb)](_0xc9e77b(0x19d)+(_0x46e82c['length']-_0x220a3d)+_0xc9e77b(0x1e6));}if(_0x5a8b38[_0xc9e77b(0x1e5)]>0x0){const _0x11b691=0x1e;_0x1e1204['push'](..._0x5a8b38[_0xc9e77b(0x1b8)](0x0,_0x11b691)),_0x5a8b38['length']>_0x11b691&&_0x1e1204['push']('...\x20+'+(_0x5a8b38[_0xc9e77b(0x1e5)]-_0x11b691)+_0xc9e77b(0x1a4));}const _0x1d3d2a=_0x37f672[_0xc9e77b(0x1e5)];return _0x1e1204[_0xc9e77b(0x1bb)]('\x0a('+_0x1d3d2a+_0xc9e77b(0x1b2)+(_0x46e82c[_0xc9e77b(0x1e5)]||'?')+'\x20files)'),_0x1e1204[_0xc9e77b(0x178)]('\x0a');}function filterFind(_0x22ba4b){const _0x37f4ff=a0_0xca23f4,_0x54c499=_0x22ba4b[_0x37f4ff(0x1d9)]('\x0a')[_0x37f4ff(0x1e7)](_0x4eab70=>_0x4eab70[_0x37f4ff(0x16a)]()[_0x37f4ff(0x1e5)]>0x0);if(_0x54c499['length']===0x0)return _0x37f4ff(0x17b);if(_0x54c499['length']<=0x32)return _0x22ba4b['trim']();const _0xb17114={};for(const _0x326db0 of _0x54c499){const _0x3e8c51=path[_0x37f4ff(0x172)](_0x326db0['trim']())||'.';_0xb17114[_0x3e8c51]=(_0xb17114[_0x3e8c51]||0x0)+0x1;}const _0x2a8703=Object[_0x37f4ff(0x1ac)](_0xb17114)[_0x37f4ff(0x1d7)]((_0xad10ab,_0x2155bf)=>_0x2155bf[0x1]-_0xad10ab[0x1]),_0x26a6a4=[_0x54c499['length']+_0x37f4ff(0x1cb)+_0x2a8703[_0x37f4ff(0x1e5)]+'\x20directories',''],_0x3fb58e=0x1e;for(const [_0x21ab01,_0x471310]of _0x2a8703[_0x37f4ff(0x1b8)](0x0,_0x3fb58e)){_0x26a6a4['push']('\x20\x20'+_0x21ab01+_0x37f4ff(0x1c2)+_0x471310+_0x37f4ff(0x1de));}return _0x2a8703[_0x37f4ff(0x1e5)]>_0x3fb58e&&_0x26a6a4[_0x37f4ff(0x1bb)]('\x20\x20...\x20+'+(_0x2a8703[_0x37f4ff(0x1e5)]-_0x3fb58e)+_0x37f4ff(0x18f)),_0x26a6a4[_0x37f4ff(0x178)]('\x0a');}
package/index.html CHANGED
@@ -487,6 +487,19 @@
487
487
  </div>
488
488
  </div>
489
489
 
490
+ <div id="security-banner" class="history-section" style="display:none;">
491
+ <div style="display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px;">
492
+ <div style="display:flex; align-items:center; gap:10px;">
493
+ <div style="width:40px;height:40px;border-radius:10px;background:rgba(239,68,68,0.12);display:flex;align-items:center;justify-content:center;font-size:20px;">&#x1f6e1;</div>
494
+ <div>
495
+ <div style="font-size:15px;font-weight:600;color:#F09595;" id="sec-title">0 secrets blocked</div>
496
+ <div style="font-size:12px;color:#94A3B8;" id="sec-subtitle">No sensitive data leaked to LLM</div>
497
+ </div>
498
+ </div>
499
+ <div id="sec-tags" style="display:flex;gap:6px;flex-wrap:wrap;"></div>
500
+ </div>
501
+ </div>
502
+
490
503
  <div class="history-section">
491
504
  <div class="history-header" style="display: flex; align-items: center; gap: 16px;">
492
505
  <h2 style="margin: 0;">Command Execution History</h2>
@@ -635,7 +648,11 @@
635
648
  if (!chartCanvas) return;
636
649
 
637
650
  if (savingsChart) {
638
- savingsChart.destroy();
651
+ savingsChart.data.labels = labels.length > 0 ? labels : ['No Data'];
652
+ savingsChart.data.datasets[0].data = originalCostData.length > 0 ? originalCostData : [0];
653
+ savingsChart.data.datasets[1].data = shavedCostData.length > 0 ? shavedCostData : [0];
654
+ savingsChart.update('none');
655
+ return;
639
656
  }
640
657
 
641
658
  savingsChart = new Chart(chartCanvas, {
@@ -759,6 +776,30 @@
759
776
  // Chart + summary always use AI-only logs
760
777
  renderChart(aiLogs, resolvedModel);
761
778
 
779
+ // Security banner — aggregate across all logs
780
+ let totalSecrets = 0;
781
+ const allSecretTypes = {};
782
+ logs.forEach(l => {
783
+ if (l.secrets_found) {
784
+ totalSecrets += l.secrets_found;
785
+ (l.secret_types || []).forEach(t => { allSecretTypes[t] = (allSecretTypes[t] || 0) + 1; });
786
+ }
787
+ });
788
+ const secBanner = document.getElementById('security-banner');
789
+ if (totalSecrets > 0) {
790
+ secBanner.style.display = 'block';
791
+ document.getElementById('sec-title').innerText = `${totalSecrets} secret${totalSecrets > 1 ? 's' : ''} blocked`;
792
+ document.getElementById('sec-subtitle').innerText = `TrimPrompt prevented sensitive data from reaching LLM APIs`;
793
+ const tagsEl = document.getElementById('sec-tags');
794
+ tagsEl.innerHTML = Object.entries(allSecretTypes)
795
+ .sort((a, b) => b[1] - a[1])
796
+ .slice(0, 8)
797
+ .map(([t, c]) => `<span style="background:rgba(239,68,68,0.12);color:#F7C1C1;padding:3px 10px;border-radius:6px;font-size:11px;font-weight:500;">${t.replace(/_/g, ' ')} (${c})</span>`)
798
+ .join('');
799
+ } else {
800
+ secBanner.style.display = 'none';
801
+ }
802
+
762
803
  const displayLogs = currentFilter === 'ai' ? aiLogs : logs;
763
804
 
764
805
  const tbody = document.getElementById('history-table-body');
@@ -781,7 +822,7 @@
781
822
 
782
823
  tr.innerHTML = `
783
824
  <td>${time}</td>
784
- <td style="font-weight: 500;">${log.command}</td>
825
+ <td style="font-weight: 500;">${log.command}${log.secrets_found ? ' <span style="color:#F09595;font-size:11px;" title="' + log.secrets_found + ' secrets redacted">&#x1f6e1;' + log.secrets_found + '</span>' : ''}</td>
785
826
  <td>${log.estimated_raw_tokens.toLocaleString()}</td>
786
827
  <td>${log.estimated_compressed_tokens.toLocaleString()}</td>
787
828
  <td style="color: var(--emerald); font-weight: 600;">${savingsPct}%</td>
@@ -791,7 +832,7 @@
791
832
  </span>
792
833
  </td>
793
834
  <td>
794
- <button class="btn-inspect" onclick="inspectDiff('${log.id}', '${log.command}')">Inspect</button>
835
+ <button class="btn-inspect" data-id="${log.id}" data-cmd="${log.command}" data-sec="${log.secrets_found || 0}" data-types="${(log.secret_types || []).join(',')}" onclick="inspectFromBtn(this)">Inspect</button>
795
836
  </td>
796
837
  `;
797
838
  tbody.appendChild(tr);
@@ -801,6 +842,48 @@
801
842
  }
802
843
  }
803
844
 
845
+ function escapeHtml(text) {
846
+ return text.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;');
847
+ }
848
+
849
+ // Human-friendly labels for redactor rule types (see redactor.ts)
850
+ const SECRET_TYPE_LABELS = {
851
+ aws_key: 'AWS access key',
852
+ aws_secret: 'AWS secret key',
853
+ gcp_key: 'GCP service account key',
854
+ azure_conn: 'Azure connection string',
855
+ anthropic_key: 'Anthropic API key',
856
+ openai_key: 'OpenAI API key',
857
+ github_token: 'GitHub token',
858
+ slack_token: 'Slack token',
859
+ stripe_key: 'Stripe key',
860
+ twilio_key: 'Twilio key',
861
+ sendgrid_key: 'SendGrid key',
862
+ private_key: 'Private key',
863
+ jwt: 'JWT token',
864
+ bearer: 'Bearer token',
865
+ basic_auth: 'Basic auth',
866
+ db_connection: 'Database connection',
867
+ generic_credential: 'API key / credential',
868
+ ip_address: 'IP address',
869
+ email: 'Email address'
870
+ };
871
+ function secretLabel(t) {
872
+ return SECRET_TYPE_LABELS[t] || String(t).replace(/_/g, ' ');
873
+ }
874
+
875
+ // Highlights [REDACTED_*] markers. mode 'red' marks where a secret was caught
876
+ // (left/raw pane); mode 'green' marks the safe replacement (right/output pane).
877
+ function highlightRedacted(html, mode) {
878
+ const red = mode === 'red';
879
+ const bg = red ? 'rgba(239,68,68,0.16)' : 'rgba(16,185,129,0.18)';
880
+ const fg = red ? '#FCA5A5' : '#5DCAA5';
881
+ const bd = red ? 'rgba(239,68,68,0.45)' : 'rgba(16,185,129,0.3)';
882
+ return html.replace(/\[REDACTED_[A-Z_]+\]/g, match =>
883
+ `<span style="background:${bg};color:${fg};padding:1px 6px;border-radius:3px;border:1px solid ${bd};font-weight:500;">${match}</span>`
884
+ );
885
+ }
886
+
804
887
  function detectFilterType(raw, compressed, command) {
805
888
  const rawLen = raw.length;
806
889
  const compLen = compressed.length;
@@ -829,7 +912,15 @@
829
912
  return { pct, rawLen, compLen, tags };
830
913
  }
831
914
 
832
- async function inspectDiff(id, command) {
915
+ function inspectFromBtn(btn) {
916
+ const id = btn.getAttribute('data-id');
917
+ const cmd = btn.getAttribute('data-cmd');
918
+ const sec = parseInt(btn.getAttribute('data-sec') || '0');
919
+ const types = (btn.getAttribute('data-types') || '').split(',').filter(Boolean);
920
+ inspectDiff(id, cmd, sec, types);
921
+ }
922
+
923
+ async function inspectDiff(id, command, secretsFound, secretTypes) {
833
924
  try {
834
925
  document.getElementById('modal-command-title').innerText = `Inspector: trim ${command}`;
835
926
  document.getElementById('diff-raw').innerText = 'Loading...';
@@ -839,8 +930,8 @@
839
930
  const response = await fetch(`/api/stats/inspect/${id}`);
840
931
  const data = await response.json();
841
932
 
842
- document.getElementById('diff-raw').innerText = data.raw;
843
- document.getElementById('diff-comp').innerText = data.compressed;
933
+ document.getElementById('diff-raw').innerHTML = highlightRedacted(escapeHtml(data.raw), 'red');
934
+ document.getElementById('diff-comp').innerHTML = highlightRedacted(escapeHtml(data.compressed), 'green');
844
935
 
845
936
  const info = detectFilterType(data.raw, data.compressed, command);
846
937
  const bar = document.getElementById('inspect-info-bar');
@@ -852,6 +943,24 @@
852
943
  });
853
944
  bar.innerHTML = html;
854
945
  bar.style.display = 'flex';
946
+
947
+ // Security bar — show only when secrets were found
948
+ let secBar = document.getElementById('inspect-security-bar');
949
+ if (!secBar) {
950
+ secBar = document.createElement('div');
951
+ secBar.id = 'inspect-security-bar';
952
+ bar.parentNode.insertBefore(secBar, bar.nextSibling);
953
+ }
954
+ if (secretsFound && secretsFound > 0) {
955
+ let secHtml = `<span style="background:rgba(239,68,68,0.2);color:#F09595;padding:3px 10px;border-radius:5px;font-size:11px;font-weight:600;border:1px solid rgba(239,68,68,0.4);">&#x1f6e1; ${secretsFound} secret${secretsFound > 1 ? 's' : ''} blocked</span>`;
956
+ (secretTypes || []).forEach(t => {
957
+ secHtml += `<span style="background:rgba(239,68,68,0.12);color:#F7C1C1;padding:2px 10px;border-radius:4px;font-size:11px;border:1px solid rgba(239,68,68,0.25);">${secretLabel(t)}</span>`;
958
+ });
959
+ secBar.innerHTML = secHtml;
960
+ secBar.style.cssText = 'display:flex;padding:10px 20px;background:rgba(239,68,68,0.08);border-bottom:1px solid rgba(239,68,68,0.15);font-size:13px;color:#F09595;gap:10px;flex-wrap:wrap;align-items:center;';
961
+ } else {
962
+ secBar.style.display = 'none';
963
+ }
855
964
  } catch (err) {
856
965
  console.error('Failed to load diff logs', err);
857
966
  }
package/mcp.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x27e515=a0_0x593a;(function(_0x9f42f9,_0x666828){const _0x4afdc9=a0_0x593a,_0x2bf2fd=_0x9f42f9();while(!![]){try{const _0x4ca9d2=parseInt(_0x4afdc9(0x106))/0x1+-parseInt(_0x4afdc9(0x101))/0x2*(-parseInt(_0x4afdc9(0x10a))/0x3)+-parseInt(_0x4afdc9(0x117))/0x4+-parseInt(_0x4afdc9(0x112))/0x5+-parseInt(_0x4afdc9(0x129))/0x6+parseInt(_0x4afdc9(0x111))/0x7*(parseInt(_0x4afdc9(0x102))/0x8)+-parseInt(_0x4afdc9(0x125))/0x9;if(_0x4ca9d2===_0x666828)break;else _0x2bf2fd['push'](_0x2bf2fd['shift']());}catch(_0x17d2fd){_0x2bf2fd['push'](_0x2bf2fd['shift']());}}}(a0_0xdf9c,0x5a331));function a0_0x593a(_0x7d3e13,_0x3dfa9c){const _0xdf9ce5=a0_0xdf9c();return a0_0x593a=function(_0x593a53,_0x3f7316){_0x593a53=_0x593a53-0xf8;let _0x142cf5=_0xdf9ce5[_0x593a53];return _0x142cf5;},a0_0x593a(_0x7d3e13,_0x3dfa9c);}var __createBinding=this&&this[a0_0x27e515(0x123)]||(Object['create']?function(_0x195dec,_0x117e1,_0x1ce832,_0x38a17a){const _0x2852e5=a0_0x27e515;if(_0x38a17a===undefined)_0x38a17a=_0x1ce832;var _0x5c2413=Object[_0x2852e5(0x11a)](_0x117e1,_0x1ce832);(!_0x5c2413||(_0x2852e5(0x113)in _0x5c2413?!_0x117e1[_0x2852e5(0xfd)]:_0x5c2413['writable']||_0x5c2413['configurable']))&&(_0x5c2413={'enumerable':!![],'get':function(){return _0x117e1[_0x1ce832];}}),Object[_0x2852e5(0x11b)](_0x195dec,_0x38a17a,_0x5c2413);}:function(_0x431c82,_0x31e2b4,_0x264faf,_0x2d340e){if(_0x2d340e===undefined)_0x2d340e=_0x264faf;_0x431c82[_0x2d340e]=_0x31e2b4[_0x264faf];}),__setModuleDefault=this&&this[a0_0x27e515(0x100)]||(Object[a0_0x27e515(0x11c)]?function(_0x400d23,_0x610e25){const _0x1ad031=a0_0x27e515;Object['defineProperty'](_0x400d23,_0x1ad031(0x115),{'enumerable':!![],'value':_0x610e25});}:function(_0x598486,_0x5e56a4){const _0x382598=a0_0x27e515;_0x598486[_0x382598(0x115)]=_0x5e56a4;}),__importStar=this&&this[a0_0x27e515(0x105)]||(function(){var _0x5e9813=function(_0x175dbc){const _0x577649=a0_0x593a;return _0x5e9813=Object[_0x577649(0xfe)]||function(_0x460f0b){const _0x2273c8=_0x577649;var _0x351785=[];for(var _0x5428bf in _0x460f0b)if(Object[_0x2273c8(0x11f)]['hasOwnProperty'][_0x2273c8(0x103)](_0x460f0b,_0x5428bf))_0x351785[_0x351785[_0x2273c8(0x11d)]]=_0x5428bf;return _0x351785;},_0x5e9813(_0x175dbc);};return function(_0x16296f){const _0x5a37f2=a0_0x593a;if(_0x16296f&&_0x16296f[_0x5a37f2(0xfd)])return _0x16296f;var _0x5acc97={};if(_0x16296f!=null){for(var _0x494d93=_0x5e9813(_0x16296f),_0x585862=0x0;_0x585862<_0x494d93[_0x5a37f2(0x11d)];_0x585862++)if(_0x494d93[_0x585862]!==_0x5a37f2(0x115))__createBinding(_0x5acc97,_0x16296f,_0x494d93[_0x585862]);}return __setModuleDefault(_0x5acc97,_0x16296f),_0x5acc97;};}());Object[a0_0x27e515(0x11b)](exports,a0_0x27e515(0xfd),{'value':!![]}),exports[a0_0x27e515(0x114)]=runMcpProxy;const child_process_1=require('child_process'),readline=__importStar(require(a0_0x27e515(0x127))),filters_1=require('./filters'),tracker_1=require(a0_0x27e515(0x116));function a0_0xdf9c(){const _0x1a9313=['call','trim','__importStar','464231qaGtzI','result','redaction_enabled','mcp-tool-call','78bdcqGg','text','string','content','[TrimPrompt]\x20MCP\x20Server\x20Spawn\x20Error:\x20','stringify','stdin','301ODySdv','1282390QNVyFH','get','runMcpProxy','default','./tracker','1183176AxwswS','jsonrpc','pipe','getOwnPropertyDescriptor','defineProperty','create','length','createInterface','prototype','stdout','tracker','exit','__createBinding','write','1695114dSRtxs','inherit','readline','error','182322QhpwiW','message','mcp\x20tool\x20(id:\x20','close','spawn','parse','type','__esModule','getOwnPropertyNames','logExecution','__setModuleDefault','18018eleegj','82232iwSDZI'];a0_0xdf9c=function(){return _0x1a9313;};return a0_0xdf9c();}function runMcpProxy(_0x2d5135,_0x8f822b){const _0x198043=a0_0x27e515,_0x21e4fb=(0x0,child_process_1[_0x198043(0xfa)])(_0x2d5135,_0x8f822b,{'stdio':[_0x198043(0x119),'pipe',_0x198043(0x126)]});process[_0x198043(0x110)][_0x198043(0x119)](_0x21e4fb['stdin']);const _0xf464e1=readline[_0x198043(0x11e)]({'input':_0x21e4fb[_0x198043(0x120)],'terminal':![]});_0xf464e1['on']('line',_0x6520d8=>{const _0x21c263=_0x198043;try{const _0x130e08=JSON[_0x21c263(0xfb)](_0x6520d8);if(_0x130e08&&_0x130e08[_0x21c263(0x118)]==='2.0'&&_0x130e08['id']!==undefined&&_0x130e08[_0x21c263(0x107)]&&Array['isArray'](_0x130e08[_0x21c263(0x107)][_0x21c263(0x10d)])){let _0xe8e944=![];for(const _0x405cb2 of _0x130e08['result'][_0x21c263(0x10d)]){if(_0x405cb2[_0x21c263(0xfc)]===_0x21c263(0x10b)&&typeof _0x405cb2['text']===_0x21c263(0x10c)&&_0x405cb2[_0x21c263(0x10b)][_0x21c263(0x104)]()['length']>0x0){const _0x217c4a=_0x405cb2[_0x21c263(0x10b)],_0x52b641=(0x0,filters_1['compressOutput'])(_0x21c263(0x109),_0x217c4a,'',tracker_1[_0x21c263(0x121)]['getConfig']()[_0x21c263(0x108)]);tracker_1[_0x21c263(0x121)][_0x21c263(0xff)](_0x21c263(0xf8)+_0x130e08['id']+')',_0x217c4a,_0x52b641,0x0),_0x405cb2['text']=_0x52b641,_0xe8e944=!![];}}_0xe8e944?process['stdout'][_0x21c263(0x124)](JSON[_0x21c263(0x10f)](_0x130e08)+'\x0a'):process[_0x21c263(0x120)][_0x21c263(0x124)](_0x6520d8+'\x0a');}else process['stdout']['write'](_0x6520d8+'\x0a');}catch{process[_0x21c263(0x120)]['write'](_0x6520d8+'\x0a');}}),_0x21e4fb['on'](_0x198043(0xf9),_0x509b73=>{const _0x4e750c=_0x198043;process[_0x4e750c(0x122)](_0x509b73||0x0);}),_0x21e4fb['on'](_0x198043(0x128),_0x5e056a=>{const _0x52168e=_0x198043;console['error'](_0x52168e(0x10e)+_0x5e056a[_0x52168e(0x12a)]),process[_0x52168e(0x122)](0x1);});}
1
+ 'use strict';const a0_0x28c579=a0_0x3725;(function(_0x2a3441,_0x5597bd){const _0x271511=a0_0x3725,_0x513242=_0x2a3441();while(!![]){try{const _0x1ab180=-parseInt(_0x271511(0x1bc))/0x1*(-parseInt(_0x271511(0x1c7))/0x2)+-parseInt(_0x271511(0x1c5))/0x3+-parseInt(_0x271511(0x1d9))/0x4*(parseInt(_0x271511(0x1f2))/0x5)+-parseInt(_0x271511(0x1d3))/0x6*(parseInt(_0x271511(0x1e2))/0x7)+parseInt(_0x271511(0x1e5))/0x8*(parseInt(_0x271511(0x1e8))/0x9)+-parseInt(_0x271511(0x1de))/0xa*(parseInt(_0x271511(0x1ee))/0xb)+-parseInt(_0x271511(0x1da))/0xc*(-parseInt(_0x271511(0x1c2))/0xd);if(_0x1ab180===_0x5597bd)break;else _0x513242['push'](_0x513242['shift']());}catch(_0x25918b){_0x513242['push'](_0x513242['shift']());}}}(a0_0x5ccb,0xde536));function a0_0x3725(_0x821e8b,_0x21e50e){_0x821e8b=_0x821e8b-0x1bb;const _0x5ccb29=a0_0x5ccb();let _0x372594=_0x5ccb29[_0x821e8b];return _0x372594;}function a0_0x5ccb(){const _0x3ddbb5=['text','length','27464ndkOoG','readline','write','1917vShPSq','configurable','isArray','message','getConfig','redaction_enabled','10637hROBUQ','default','./tracker','child_process','180SCtUXZ','tracker','call','1qowkZA','parse','hasOwnProperty','__setModuleDefault','stdout','content','240864VPaxqT','stringify','defineProperty','3179178VhHHwq','jsonrpc','206002IWrbLe','createInterface','writable','pipe','2.0','get','string','mcp\x20tool\x20(id:\x20','[TrimPrompt]\x20MCP\x20Server\x20Spawn\x20Error:\x20','create','__esModule','error','9821154AwGnfS','result','inherit','exit','__createBinding','spawn','164392lpKLfn','3792NkSWYk','prototype','type','line','16570hnIzkM','stdin','getOwnPropertyNames','trim','7iqyONi'];a0_0x5ccb=function(){return _0x3ddbb5;};return a0_0x5ccb();}var __createBinding=this&&this[a0_0x28c579(0x1d7)]||(Object['create']?function(_0x4d7d7e,_0x3dd81d,_0x4964bf,_0x5e4fe0){const _0x3f4148=a0_0x28c579;if(_0x5e4fe0===undefined)_0x5e4fe0=_0x4964bf;var _0x4707cd=Object['getOwnPropertyDescriptor'](_0x3dd81d,_0x4964bf);(!_0x4707cd||(_0x3f4148(0x1cc)in _0x4707cd?!_0x3dd81d[_0x3f4148(0x1d1)]:_0x4707cd[_0x3f4148(0x1c9)]||_0x4707cd[_0x3f4148(0x1e9)]))&&(_0x4707cd={'enumerable':!![],'get':function(){return _0x3dd81d[_0x4964bf];}}),Object[_0x3f4148(0x1c4)](_0x4d7d7e,_0x5e4fe0,_0x4707cd);}:function(_0x1509cf,_0x49c769,_0x37eae3,_0x4051e8){if(_0x4051e8===undefined)_0x4051e8=_0x37eae3;_0x1509cf[_0x4051e8]=_0x49c769[_0x37eae3];}),__setModuleDefault=this&&this[a0_0x28c579(0x1bf)]||(Object[a0_0x28c579(0x1d0)]?function(_0x1b417c,_0x4c4077){const _0x4f001c=a0_0x28c579;Object[_0x4f001c(0x1c4)](_0x1b417c,_0x4f001c(0x1ef),{'enumerable':!![],'value':_0x4c4077});}:function(_0x1a8eb4,_0x179662){_0x1a8eb4['default']=_0x179662;}),__importStar=this&&this['__importStar']||(function(){var _0x316655=function(_0x396c41){const _0xff4a35=a0_0x3725;return _0x316655=Object[_0xff4a35(0x1e0)]||function(_0x28da32){const _0x87d62=_0xff4a35;var _0x294186=[];for(var _0x335fa8 in _0x28da32)if(Object[_0x87d62(0x1db)][_0x87d62(0x1be)][_0x87d62(0x1bb)](_0x28da32,_0x335fa8))_0x294186[_0x294186[_0x87d62(0x1e4)]]=_0x335fa8;return _0x294186;},_0x316655(_0x396c41);};return function(_0x4f5847){const _0x726ba2=a0_0x3725;if(_0x4f5847&&_0x4f5847[_0x726ba2(0x1d1)])return _0x4f5847;var _0x26ab6c={};if(_0x4f5847!=null){for(var _0x158f07=_0x316655(_0x4f5847),_0x3ebc9e=0x0;_0x3ebc9e<_0x158f07[_0x726ba2(0x1e4)];_0x3ebc9e++)if(_0x158f07[_0x3ebc9e]!=='default')__createBinding(_0x26ab6c,_0x4f5847,_0x158f07[_0x3ebc9e]);}return __setModuleDefault(_0x26ab6c,_0x4f5847),_0x26ab6c;};}());Object[a0_0x28c579(0x1c4)](exports,'__esModule',{'value':!![]}),exports['runMcpProxy']=runMcpProxy;const child_process_1=require(a0_0x28c579(0x1f1)),readline=__importStar(require(a0_0x28c579(0x1e6))),filters_1=require('./filters'),tracker_1=require(a0_0x28c579(0x1f0));function runMcpProxy(_0x1de302,_0x3cbcdf){const _0x1db1c3=a0_0x28c579,_0x5ae91e=(0x0,child_process_1[_0x1db1c3(0x1d8)])(_0x1de302,_0x3cbcdf,{'stdio':['pipe',_0x1db1c3(0x1ca),_0x1db1c3(0x1d5)]});process['stdin'][_0x1db1c3(0x1ca)](_0x5ae91e[_0x1db1c3(0x1df)]);const _0x555d8e=readline[_0x1db1c3(0x1c8)]({'input':_0x5ae91e['stdout'],'terminal':![]});_0x555d8e['on'](_0x1db1c3(0x1dd),_0x1673eb=>{const _0x12074a=_0x1db1c3;try{const _0x28ba04=JSON[_0x12074a(0x1bd)](_0x1673eb);if(_0x28ba04&&_0x28ba04[_0x12074a(0x1c6)]===_0x12074a(0x1cb)&&_0x28ba04['id']!==undefined&&_0x28ba04[_0x12074a(0x1d4)]&&Array[_0x12074a(0x1ea)](_0x28ba04[_0x12074a(0x1d4)][_0x12074a(0x1c1)])){let _0x46cd12=![];for(const _0x1a805d of _0x28ba04['result']['content']){if(_0x1a805d[_0x12074a(0x1dc)]==='text'&&typeof _0x1a805d[_0x12074a(0x1e3)]===_0x12074a(0x1cd)&&_0x1a805d[_0x12074a(0x1e3)][_0x12074a(0x1e1)]()[_0x12074a(0x1e4)]>0x0){const _0x56e70c=_0x1a805d[_0x12074a(0x1e3)],_0x4042fc=(0x0,filters_1['compressOutput'])('mcp-tool-call',_0x56e70c,'',tracker_1[_0x12074a(0x1f3)][_0x12074a(0x1ec)]()[_0x12074a(0x1ed)]);tracker_1[_0x12074a(0x1f3)]['logExecution'](_0x12074a(0x1ce)+_0x28ba04['id']+')',_0x56e70c,_0x4042fc,0x0),_0x1a805d[_0x12074a(0x1e3)]=_0x4042fc,_0x46cd12=!![];}}_0x46cd12?process[_0x12074a(0x1c0)][_0x12074a(0x1e7)](JSON[_0x12074a(0x1c3)](_0x28ba04)+'\x0a'):process['stdout'][_0x12074a(0x1e7)](_0x1673eb+'\x0a');}else process[_0x12074a(0x1c0)]['write'](_0x1673eb+'\x0a');}catch{process[_0x12074a(0x1c0)][_0x12074a(0x1e7)](_0x1673eb+'\x0a');}}),_0x5ae91e['on']('close',_0x5295f0=>{process['exit'](_0x5295f0||0x0);}),_0x5ae91e['on'](_0x1db1c3(0x1d2),_0x572ef7=>{const _0x33912f=_0x1db1c3;console[_0x33912f(0x1d2)](_0x33912f(0x1cf)+_0x572ef7[_0x33912f(0x1eb)]),process[_0x33912f(0x1d6)](0x1);});}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trimprompt",
3
- "version": "1.0.17",
3
+ "version": "1.0.19",
4
4
  "description": "TrimPrompt.ai Client CLI & Local Developer Dashboard",
5
5
  "main": "cli.js",
6
6
  "bin": {
package/redactor.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x1ba115=a0_0x52c4;(function(_0x208093,_0x423ebc){const _0x36dcce=a0_0x52c4,_0x387efe=_0x208093();while(!![]){try{const _0x146cbe=-parseInt(_0x36dcce(0xf3))/0x1+-parseInt(_0x36dcce(0x100))/0x2*(-parseInt(_0x36dcce(0xf8))/0x3)+parseInt(_0x36dcce(0x101))/0x4+-parseInt(_0x36dcce(0x105))/0x5+parseInt(_0x36dcce(0xf1))/0x6+parseInt(_0x36dcce(0x102))/0x7*(parseInt(_0x36dcce(0xff))/0x8)+-parseInt(_0x36dcce(0xfc))/0x9;if(_0x146cbe===_0x423ebc)break;else _0x387efe['push'](_0x387efe['shift']());}catch(_0x1902af){_0x387efe['push'](_0x387efe['shift']());}}}(a0_0x203b,0xe1c20));Object[a0_0x1ba115(0xf0)](exports,'__esModule',{'value':!![]}),exports[a0_0x1ba115(0xfd)]=exports['Redactor']=void 0x0;function a0_0x203b(){const _0xe92d6b=['redactor','replace','88OhwbFM','1595814BKhXjy','6902636mUQhen','509341pzvzdD','[REDACTED_IP]','loadDefaultRules','2536075vZaSbF','defineProperty','4336746iZhsfi','Redactor','548096bnPxPq','redact','regex','rules','Email\x20Address','3cvRybF','$1:\x20[REDACTED_CREDENTIAL]','[REDACTED_DB_CONNECTION_STRING]','Database\x20Connection\x20String','18600615CmXMOU'];a0_0x203b=function(){return _0xe92d6b;};return a0_0x203b();}function a0_0x52c4(_0x47df46,_0x12cde3){const _0x203bc0=a0_0x203b();return a0_0x52c4=function(_0x52c42c,_0xf032d){_0x52c42c=_0x52c42c-0xf0;let _0x1e450e=_0x203bc0[_0x52c42c];return _0x1e450e;},a0_0x52c4(_0x47df46,_0x12cde3);}class Redactor{[a0_0x1ba115(0xf6)]=[];constructor(){const _0x1a9ae4=a0_0x1ba115;this[_0x1a9ae4(0x104)]();}['loadDefaultRules'](){const _0x12ed91=a0_0x1ba115;this[_0x12ed91(0xf6)]=[{'name':_0x12ed91(0xfb),'regex':/(mongodb|postgres|postgresql|mysql|redis|sqlite):\/\/[a-zA-Z0-9_]+:[^@\s\n]+@[^\s\n]+/gi,'replacement':_0x12ed91(0xfa)},{'name':'API\x20Key\x20or\x20Password','regex':/(api[_-]?key|secret|password|passwd|auth|token|private[_-]?key)[\s:=]+[a-zA-Z0-9_-]{16,}/gi,'replacement':_0x12ed91(0xf9)},{'name':'IPv4\x20Address','regex':/\b(?!127\.0\.0\.1|255\.255\.255\.0)(?:[0-9]{1,3}\.){3}[0-9]{1,3}\b/g,'replacement':_0x12ed91(0x103)},{'name':_0x12ed91(0xf7),'regex':/\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b/g,'replacement':'[REDACTED_EMAIL]'}];}[a0_0x1ba115(0xf4)](_0x1f5927){const _0x29816f=a0_0x1ba115;let _0x1643c5=_0x1f5927;for(const _0x4cde90 of this[_0x29816f(0xf6)]){_0x1643c5=_0x1643c5[_0x29816f(0xfe)](_0x4cde90[_0x29816f(0xf5)],_0x4cde90['replacement']);}return _0x1643c5;}}exports[a0_0x1ba115(0xf2)]=Redactor,exports[a0_0x1ba115(0xfd)]=new Redactor();
1
+ 'use strict';const a0_0x196e8e=a0_0x20f1;(function(_0x4db724,_0x28be0c){const _0x517a50=a0_0x20f1,_0x23a3af=_0x4db724();while(!![]){try{const _0x246dc1=-parseInt(_0x517a50(0xa7))/0x1+parseInt(_0x517a50(0x86))/0x2+parseInt(_0x517a50(0x6e))/0x3*(parseInt(_0x517a50(0x96))/0x4)+parseInt(_0x517a50(0x82))/0x5*(parseInt(_0x517a50(0x87))/0x6)+-parseInt(_0x517a50(0x8e))/0x7*(-parseInt(_0x517a50(0x9d))/0x8)+-parseInt(_0x517a50(0x7d))/0x9*(parseInt(_0x517a50(0x85))/0xa)+parseInt(_0x517a50(0x73))/0xb*(-parseInt(_0x517a50(0x70))/0xc);if(_0x246dc1===_0x28be0c)break;else _0x23a3af['push'](_0x23a3af['shift']());}catch(_0x485eb5){_0x23a3af['push'](_0x23a3af['shift']());}}}(a0_0x2aab,0xb422b));function a0_0x2aab(){const _0x4d2425=['Basic\x20Auth','regex','\x22private_key\x22:\x20\x22[REDACTED_GCP_PRIVATE_KEY]\x22','sendgrid_key','[REDACTED_GITHUB_TOKEN]','[REDACTED_EMAIL]','874475HRRNEw','rules','alert','Stripe\x20Key','aws_key','[REDACTED_AWS_KEY]','$1=[REDACTED_AWS_SECRET]','length','4028GAIhdd','redactor','$1=[REDACTED_CREDENTIAL]','loadDefaultRules','[REDACTED_PRIVATE_KEY]','AWS\x20Secret\x20Key','redact','80hEOdUH','[REDACTED_SLACK_TOKEN]','JWT\x20Token','bearer','github_token','Bearer\x20Token','IPv4\x20Address\x20(non-local)','replacement','generic_credential','[REDACTED_IP]','182472pBqZFU','[REDACTED_JWT]','anthropic_key','[REDACTED_DB_CONNECTION]','replace','twilio_key','[REDACTED_TWILIO_KEY]','AWS\x20Access\x20Key','2859LQePgs','text','48bUdNKZ','ip_address','defineProperty','7203086lxgWmr','includes','Redactor','GitHub\x20Token','Azure\x20Connection\x20String','redactWithAudit','stripe_key','Database\x20Connection\x20String','Email\x20Address','OpenAI\x20API\x20Key','290547GJJVmX','private_key','push','type','db_connection','1540995dLMtxe','[REDACTED_AZURE_CONNECTION]','openai_key','300vBLdQC','2749166gNMRYA','18zRdYSx'];a0_0x2aab=function(){return _0x4d2425;};return a0_0x2aab();}Object[a0_0x196e8e(0x72)](exports,'__esModule',{'value':!![]}),exports[a0_0x196e8e(0x97)]=exports[a0_0x196e8e(0x75)]=void 0x0;function a0_0x20f1(_0x1b6a48,_0x15d439){_0x1b6a48=_0x1b6a48-0x6e;const _0x2aab55=a0_0x2aab();let _0x20f106=_0x2aab55[_0x1b6a48];return _0x20f106;}class Redactor{[a0_0x196e8e(0x8f)]=[];constructor(){const _0x14ce3d=a0_0x196e8e;this[_0x14ce3d(0x99)]();}[a0_0x196e8e(0x99)](){const _0x4e5196=a0_0x196e8e;this[_0x4e5196(0x8f)]=[{'name':_0x4e5196(0xae),'type':_0x4e5196(0x92),'regex':/\b(AKIA[0-9A-Z]{16})\b/g,'replacement':_0x4e5196(0x93)},{'name':_0x4e5196(0x9b),'type':'aws_secret','regex':/(aws_secret_access_key|AWS_SECRET_ACCESS_KEY)[\s:=]+[A-Za-z0-9/+=]{30,}/gi,'replacement':_0x4e5196(0x94)},{'name':'GCP\x20Service\x20Account\x20Key','type':'gcp_key','regex':/"private_key"\s*:\s*"-----BEGIN[^"]+-----END[^"]*"/g,'replacement':_0x4e5196(0x8a)},{'name':_0x4e5196(0x77),'type':'azure_conn','regex':/DefaultEndpointsProtocol=https?;AccountName=[^;]+;AccountKey=[^;]+;?[^\s]*/gi,'replacement':_0x4e5196(0x83)},{'name':'Anthropic\x20API\x20Key','type':_0x4e5196(0xa9),'regex':/\bsk-ant-api\d{2}-[A-Za-z0-9_-]{20,}\b/g,'replacement':'[REDACTED_ANTHROPIC_KEY]'},{'name':_0x4e5196(0x7c),'type':_0x4e5196(0x84),'regex':/\b(sk-proj-[A-Za-z0-9_-]{20,}|sk-[A-Za-z0-9]{32,})\b/g,'replacement':'[REDACTED_OPENAI_KEY]'},{'name':_0x4e5196(0x76),'type':_0x4e5196(0xa1),'regex':/\b(ghp_[A-Za-z0-9]{20,}|gho_[A-Za-z0-9]{20,}|github_pat_[A-Za-z0-9_]{22,})\b/g,'replacement':_0x4e5196(0x8c)},{'name':'Slack\x20Token','type':'slack_token','regex':/\b(xoxb-[0-9A-Za-z-]+|xoxp-[0-9A-Za-z-]+|xapp-[0-9A-Za-z-]+)\b/g,'replacement':_0x4e5196(0x9e)},{'name':_0x4e5196(0x91),'type':_0x4e5196(0x79),'regex':/\b(sk_live_[A-Za-z0-9]{24,}|sk_test_[A-Za-z0-9]{24,}|rk_live_[A-Za-z0-9]{24,}|rk_test_[A-Za-z0-9]{24,})\b/g,'replacement':'[REDACTED_STRIPE_KEY]'},{'name':'Twilio\x20Key','type':_0x4e5196(0xac),'regex':/\bSK[0-9a-f]{32}\b/g,'replacement':_0x4e5196(0xad)},{'name':'SendGrid\x20Key','type':_0x4e5196(0x8b),'regex':/\bSG\.[A-Za-z0-9_-]{22,}\.[A-Za-z0-9_-]{22,}\b/g,'replacement':'[REDACTED_SENDGRID_KEY]'},{'name':'Private\x20Key\x20Block','type':_0x4e5196(0x7e),'regex':/-----BEGIN\s+(RSA|EC|DSA|ED25519|OPENSSH|PGP)?\s*PRIVATE KEY-----[\s\S]*?-----END\s+(RSA|EC|DSA|ED25519|OPENSSH|PGP)?\s*PRIVATE KEY-----/g,'replacement':_0x4e5196(0x9a)},{'name':_0x4e5196(0x9f),'type':'jwt','regex':/\beyJ[A-Za-z0-9_-]{10,}\.eyJ[A-Za-z0-9_-]{10,}\.[A-Za-z0-9_-]{10,}\b/g,'replacement':_0x4e5196(0xa8)},{'name':_0x4e5196(0xa2),'type':_0x4e5196(0xa0),'regex':/Bearer\s+[A-Za-z0-9_\-.]{20,}/gi,'replacement':'Bearer\x20[REDACTED_TOKEN]'},{'name':_0x4e5196(0x88),'type':'basic_auth','regex':/Basic\s+[A-Za-z0-9+/=]{10,}/gi,'replacement':'Basic\x20[REDACTED_AUTH]'},{'name':_0x4e5196(0x7a),'type':_0x4e5196(0x81),'regex':/(mongodb(\+srv)?|postgres|postgresql|mysql|redis|amqp|sqlite):\/\/[A-Za-z0-9_]+:[^@\s\n]+@[^\s\n]+/gi,'replacement':_0x4e5196(0xaa)},{'name':'Generic\x20API\x20Key/Secret/Password','type':_0x4e5196(0xa5),'regex':/(api[_-]?key|secret[_-]?key|password|passwd|auth[_-]?token|private[_-]?key|access[_-]?token|refresh[_-]?token|client[_-]?secret)[\s:="']+[A-Za-z0-9_\-./+=]{16,}/gi,'replacement':_0x4e5196(0x98)},{'name':_0x4e5196(0xa3),'type':_0x4e5196(0x71),'regex':/\b(?!127\.0\.0\.1|0\.0\.0\.0|255\.255\.255\.0|10\.\d|172\.(1[6-9]|2\d|3[01])\.|192\.168\.)(?:[0-9]{1,3}\.){3}[0-9]{1,3}\b/g,'replacement':_0x4e5196(0xa6),'alert':![]},{'name':_0x4e5196(0x7b),'type':'email','regex':/\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b/g,'replacement':_0x4e5196(0x8d),'alert':![]}];}[a0_0x196e8e(0x9c)](_0x11b130){const _0x8a6c49=a0_0x196e8e;return this[_0x8a6c49(0x78)](_0x11b130)[_0x8a6c49(0x6f)];}[a0_0x196e8e(0x78)](_0x43b988){const _0x50614d=a0_0x196e8e;let _0x41481b=_0x43b988,_0x4811ce=0x0;const _0x15cdc2=[];for(const _0x133b85 of this[_0x50614d(0x8f)]){const _0x514731=_0x41481b['match'](_0x133b85['regex']);_0x514731&&_0x514731[_0x50614d(0x95)]>0x0&&(_0x133b85[_0x50614d(0x90)]!==![]&&(_0x4811ce+=_0x514731[_0x50614d(0x95)],!_0x15cdc2[_0x50614d(0x74)](_0x133b85[_0x50614d(0x80)])&&_0x15cdc2[_0x50614d(0x7f)](_0x133b85['type'])),_0x41481b=_0x41481b[_0x50614d(0xab)](_0x133b85[_0x50614d(0x89)],_0x133b85[_0x50614d(0xa4)]));}return{'text':_0x41481b,'secretsFound':_0x4811ce,'secretTypes':_0x15cdc2};}}exports[a0_0x196e8e(0x75)]=Redactor,exports['redactor']=new Redactor();
package/seed.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x4ee597=a0_0x2742;(function(_0x2339f4,_0x2da179){const _0xb65f8e=a0_0x2742,_0x22e859=_0x2339f4();while(!![]){try{const _0x5e5520=parseInt(_0xb65f8e(0xda))/0x1*(parseInt(_0xb65f8e(0xd3))/0x2)+-parseInt(_0xb65f8e(0xc1))/0x3*(parseInt(_0xb65f8e(0xcb))/0x4)+parseInt(_0xb65f8e(0xd7))/0x5*(-parseInt(_0xb65f8e(0xdb))/0x6)+parseInt(_0xb65f8e(0xd1))/0x7+parseInt(_0xb65f8e(0xb8))/0x8+parseInt(_0xb65f8e(0xc5))/0x9+-parseInt(_0xb65f8e(0xb6))/0xa;if(_0x5e5520===_0x2da179)break;else _0x22e859['push'](_0x22e859['shift']());}catch(_0x19a5c4){_0x22e859['push'](_0x22e859['shift']());}}}(a0_0x2e22,0x8d20d));function a0_0x2e22(){const _0x82a58f=['Compilation\x20Output:\x0a','pytest\x20app:\x20303\x20tests\x20passed\x20in\x204.22s.','All\x20303\x20tests\x20passed\x20in\x204.22s.','gemini-1-5-pro','Seeding\x20TrimPrompt\x20database\x20with\x20mock\x20LLM\x20command\x20telemetry...','Step\x203/10\x20:\x20RUN\x20npm\x20install\x0a','docker\x20build:\x201420\x20packages\x20added.\x20Successfully\x20built\x20image.','[SUCCESS]\x20Compiled\x20512\x20modules.\x0a','1684788wJkgxn','Step\x202/10\x20:\x20COPY\x20package.json\x20.\x0a','Test\x20suite\x20run\x20starting...\x0a','__esModule','2287152cUsPHC','test_api.py\x20PASS\x0a','log','added\x201420\x20packages\x20in\x2014s\x0a','logExecution','Sending\x20build\x20context\x20to\x20Docker\x20daemon...\x0a','4ZEidVN','Successfully\x20built\x20image.','gpt-4o','repeat','defineProperty','tracker','1535604bHCPCq','pytest\x20tests/app','2onmlCQ','test_auth.py\x20PASS\x0a','TRIMPROMPT_MODEL','./tracker','5JtkpDW','docker\x20build\x20.','Step\x201/10\x20:\x20FROM\x20node:20\x0a','1047247AHKfBj','2238594XkVUxx','9097340UqjCvK','claude-3-opus','7213944sfmJbh'];a0_0x2e22=function(){return _0x82a58f;};return a0_0x2e22();}Object[a0_0x4ee597(0xcf)](exports,a0_0x4ee597(0xc4),{'value':!![]});const tracker_1=require(a0_0x4ee597(0xd6));function a0_0x2742(_0x531128,_0x571efc){const _0x2e2201=a0_0x2e22();return a0_0x2742=function(_0x27421b,_0x2cfbf2){_0x27421b=_0x27421b-0xb6;let _0x183023=_0x2e2201[_0x27421b];return _0x183023;},a0_0x2742(_0x531128,_0x571efc);}console[a0_0x4ee597(0xc7)](a0_0x4ee597(0xbd)),process['env'][a0_0x4ee597(0xd5)]=a0_0x4ee597(0xb7),tracker_1[a0_0x4ee597(0xd0)][a0_0x4ee597(0xc9)]('npm\x20run\x20build',a0_0x4ee597(0xb9)+'[INFO]\x20Building\x20modules...\x0a'+'Optimizing\x20assets...\x0a'+a0_0x4ee597(0xc0)[a0_0x4ee597(0xce)](0x190),'[INFO]\x20Building\x20modules...\x0a[SUCCESS]\x20Compiled\x20512\x20modules.\x20(repeated\x20400\x20times)',0x0),process['env']['TRIMPROMPT_MODEL']=a0_0x4ee597(0xcd),tracker_1[a0_0x4ee597(0xd0)]['logExecution'](a0_0x4ee597(0xd2),a0_0x4ee597(0xc3)+a0_0x4ee597(0xd4)+'test_db.py\x20PASS\x0a'+a0_0x4ee597(0xc6)['repeat'](0x12c)+a0_0x4ee597(0xbb),a0_0x4ee597(0xba),0x0),process['env'][a0_0x4ee597(0xd5)]=a0_0x4ee597(0xbc),tracker_1[a0_0x4ee597(0xd0)][a0_0x4ee597(0xc9)](a0_0x4ee597(0xd8),a0_0x4ee597(0xca)+a0_0x4ee597(0xd9)+a0_0x4ee597(0xc2)+a0_0x4ee597(0xbe)+a0_0x4ee597(0xc8)[a0_0x4ee597(0xce)](0x3)+a0_0x4ee597(0xcc),a0_0x4ee597(0xbf),0x0),console[a0_0x4ee597(0xc7)]('Database\x20successfully\x20seeded!');
1
+ 'use strict';const a0_0x30ed6c=a0_0x43a4;(function(_0x2d1c7b,_0x1a8f7c){const _0x15716e=a0_0x43a4,_0x1030d3=_0x2d1c7b();while(!![]){try{const _0x1d4413=parseInt(_0x15716e(0xf7))/0x1+-parseInt(_0x15716e(0xf6))/0x2+parseInt(_0x15716e(0x10d))/0x3*(-parseInt(_0x15716e(0x100))/0x4)+-parseInt(_0x15716e(0x112))/0x5*(parseInt(_0x15716e(0x104))/0x6)+parseInt(_0x15716e(0xf5))/0x7+parseInt(_0x15716e(0x10e))/0x8*(parseInt(_0x15716e(0x108))/0x9)+parseInt(_0x15716e(0xfe))/0xa;if(_0x1d4413===_0x1a8f7c)break;else _0x1030d3['push'](_0x1030d3['shift']());}catch(_0x5da3c4){_0x1030d3['push'](_0x1030d3['shift']());}}}(a0_0x25a9,0xdd2da));function a0_0x25a9(){const _0x2ba38c=['6144880MTDZVj','pytest\x20app:\x20303\x20tests\x20passed\x20in\x204.22s.','244268fIyEfe','Database\x20successfully\x20seeded!','log','Step\x202/10\x20:\x20COPY\x20package.json\x20.\x0a','270QMrMwy','test_api.py\x20PASS\x0a','Compilation\x20Output:\x0a','Step\x203/10\x20:\x20RUN\x20npm\x20install\x0a','45iBHxFv','Sending\x20build\x20context\x20to\x20Docker\x20daemon...\x0a','./tracker','claude-3-opus','__esModule','21EUHiMU','628664JtWels','[INFO]\x20Building\x20modules...\x0a','Step\x201/10\x20:\x20FROM\x20node:20\x0a','test_auth.py\x20PASS\x0a','96970hgPxfE','added\x201420\x20packages\x20in\x2014s\x0a','Seeding\x20TrimPrompt\x20database\x20with\x20mock\x20LLM\x20command\x20telemetry...','[INFO]\x20Building\x20modules...\x0a[SUCCESS]\x20Compiled\x20512\x20modules.\x20(repeated\x20400\x20times)','logExecution','gpt-4o','Test\x20suite\x20run\x20starting...\x0a','Optimizing\x20assets...\x0a','2808715qwKzid','498216iXhPMq','1046605cHBcpd','repeat','tracker','docker\x20build:\x201420\x20packages\x20added.\x20Successfully\x20built\x20image.','[SUCCESS]\x20Compiled\x20512\x20modules.\x0a','npm\x20run\x20build','gemini-1-5-pro'];a0_0x25a9=function(){return _0x2ba38c;};return a0_0x25a9();}Object['defineProperty'](exports,a0_0x30ed6c(0x10c),{'value':!![]});const tracker_1=require(a0_0x30ed6c(0x10a));function a0_0x43a4(_0x8993c5,_0x44fa8f){_0x8993c5=_0x8993c5-0xee;const _0x25a90f=a0_0x25a9();let _0x43a4dd=_0x25a90f[_0x8993c5];return _0x43a4dd;}console[a0_0x30ed6c(0x102)](a0_0x30ed6c(0xef)),process.env.TRIMPROMPT_MODEL=a0_0x30ed6c(0x10b),tracker_1[a0_0x30ed6c(0xf9)][a0_0x30ed6c(0xf1)](a0_0x30ed6c(0xfc),a0_0x30ed6c(0x106)+a0_0x30ed6c(0x10f)+a0_0x30ed6c(0xf4)+a0_0x30ed6c(0xfb)['repeat'](0x190),a0_0x30ed6c(0xf0),0x0),process.env.TRIMPROMPT_MODEL=a0_0x30ed6c(0xf2),tracker_1['tracker'][a0_0x30ed6c(0xf1)]('pytest\x20tests/app',a0_0x30ed6c(0xf3)+a0_0x30ed6c(0x111)+'test_db.py\x20PASS\x0a'+a0_0x30ed6c(0x105)['repeat'](0x12c)+'All\x20303\x20tests\x20passed\x20in\x204.22s.',a0_0x30ed6c(0xff),0x0),process.env.TRIMPROMPT_MODEL=a0_0x30ed6c(0xfd),tracker_1['tracker'][a0_0x30ed6c(0xf1)]('docker\x20build\x20.',a0_0x30ed6c(0x109)+a0_0x30ed6c(0x110)+a0_0x30ed6c(0x103)+a0_0x30ed6c(0x107)+a0_0x30ed6c(0xee)[a0_0x30ed6c(0xf8)](0x3)+'Successfully\x20built\x20image.',a0_0x30ed6c(0xfa),0x0),console[a0_0x30ed6c(0x102)](a0_0x30ed6c(0x101));