trimprompt 1.0.17 → 1.0.18

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_0x5ad1a8=a0_0x5169;(function(_0xa2fbf9,_0x2ec144){const _0xe208d5=a0_0x5169,_0x137873=_0xa2fbf9();while(!![]){try{const _0x142b59=-parseInt(_0xe208d5(0x212))/0x1*(-parseInt(_0xe208d5(0x1fa))/0x2)+-parseInt(_0xe208d5(0x20a))/0x3*(-parseInt(_0xe208d5(0x206))/0x4)+-parseInt(_0xe208d5(0x205))/0x5+-parseInt(_0xe208d5(0x1f6))/0x6*(parseInt(_0xe208d5(0x21b))/0x7)+parseInt(_0xe208d5(0x202))/0x8*(-parseInt(_0xe208d5(0x213))/0x9)+-parseInt(_0xe208d5(0x1ff))/0xa*(parseInt(_0xe208d5(0x21d))/0xb)+-parseInt(_0xe208d5(0x1fb))/0xc*(-parseInt(_0xe208d5(0x20c))/0xd);if(_0x142b59===_0x2ec144)break;else _0x137873['push'](_0x137873['shift']());}catch(_0x58cf6b){_0x137873['push'](_0x137873['shift']());}}}(a0_0x450b,0x46983));Object[a0_0x5ad1a8(0x218)](exports,'__esModule',{'value':!![]}),exports[a0_0x5ad1a8(0x215)]=filterNpmInstall,exports[a0_0x5ad1a8(0x21a)]=filterJestVitest;function a0_0x5169(_0x4e983b,_0x18e42e){_0x4e983b=_0x4e983b-0x1f4;const _0x450b68=a0_0x450b();let _0x5169cc=_0x450b68[_0x4e983b];return _0x5169cc;}function filterNpmInstall(_0x3abb18){const _0xd23ca=a0_0x5ad1a8,_0x54a903=_0x3abb18[_0xd23ca(0x1fd)](/\r/g,'\x0a'),_0x4e9543=_0x54a903[_0xd23ca(0x1fc)]('\x0a'),_0x54dc61=[];for(const _0x4372af of _0x4e9543){const _0xf8d42e=_0x4372af[_0xd23ca(0x208)]();(_0xf8d42e[_0xd23ca(0x1f4)](_0xd23ca(0x216))||_0xf8d42e[_0xd23ca(0x1f4)](_0xd23ca(0x20f))||_0xf8d42e['includes'](_0xd23ca(0x21e))||_0xf8d42e[_0xd23ca(0x1f4)]('up\x20to\x20date')||_0xf8d42e[_0xd23ca(0x1f4)](_0xd23ca(0x1f9)))&&(!_0xf8d42e['includes']('%')&&!_0xf8d42e['startsWith']('⠋')&&!_0xf8d42e[_0xd23ca(0x204)]('⠙')&&_0x54dc61[_0xd23ca(0x207)](_0xf8d42e));}const _0x35ad20=_0x54dc61[_0xd23ca(0x20b)]('\x0a')[_0xd23ca(0x208)]();return _0x35ad20['length']>0x0?_0x35ad20:_0xd23ca(0x209);}function filterJestVitest(_0x1b739a){const _0x44fc1f=a0_0x5ad1a8,_0x43a4f9=_0x1b739a[_0x44fc1f(0x1fc)]('\x0a');let _0x53df18=0x0,_0x328999=0x0,_0x54db23=0x0;const _0x9f57cf=[];let _0x717e26=![];for(const _0x4e86f0 of _0x43a4f9){const _0xdb8b3f=_0x4e86f0[_0x44fc1f(0x208)]();if(_0xdb8b3f[_0x44fc1f(0x204)]('Tests:')||_0xdb8b3f[_0x44fc1f(0x1f4)](_0x44fc1f(0x21c))){const _0xbf1c5a=_0xdb8b3f[_0x44fc1f(0x1f5)](/(\d+)\s+passed/),_0x4a0096=_0xdb8b3f['match'](/(\d+)\s+failed/),_0x5bf4b8=_0xdb8b3f[_0x44fc1f(0x1f5)](/(\d+)\s+total/);if(_0xbf1c5a)_0x53df18=parseInt(_0xbf1c5a[0x1]);if(_0x4a0096)_0x328999=parseInt(_0x4a0096[0x1]);if(_0x5bf4b8)_0x54db23=parseInt(_0x5bf4b8[0x1]);continue;}(_0xdb8b3f[_0x44fc1f(0x204)]('❯')||_0xdb8b3f[_0x44fc1f(0x204)]('●')||_0xdb8b3f[_0x44fc1f(0x204)]('FAIL\x20\x20'))&&(_0x717e26=!![]),_0x717e26&&(_0xdb8b3f[_0x44fc1f(0x201)]>0x0&&!_0xdb8b3f['startsWith'](_0x44fc1f(0x1fe))&&!_0xdb8b3f['startsWith'](_0x44fc1f(0x1f7))&&_0x9f57cf[_0x44fc1f(0x207)](_0x4e86f0));}if(_0x54db23===0x0&&_0x53df18===0x0&&_0x328999===0x0){if(_0x1b739a[_0x44fc1f(0x1f4)]('PASS')&&!_0x1b739a[_0x44fc1f(0x1f4)](_0x44fc1f(0x1f8))){const _0x5a69aa=_0x1b739a[_0x44fc1f(0x1f5)](/(\d+)\s+passed/),_0x533db7=_0x5a69aa?_0x5a69aa[0x1]:_0x44fc1f(0x211);return'Test\x20Runner:\x20'+_0x533db7+_0x44fc1f(0x219);}return _0x1b739a;}if(_0x328999===0x0&&_0x53df18>0x0)return _0x44fc1f(0x203)+_0x53df18+_0x44fc1f(0x219);const _0x32a629=[_0x44fc1f(0x203)+_0x53df18+_0x44fc1f(0x20d)+_0x328999+'\x20failed\x20('+_0x54db23+_0x44fc1f(0x210)];if(_0x9f57cf[_0x44fc1f(0x201)]>0x0){_0x32a629['push'](_0x44fc1f(0x214));const _0x354b88=0x19,_0x41b44b=_0x9f57cf[_0x44fc1f(0x20e)](0x0,_0x354b88);for(const _0x169dfc of _0x41b44b){_0x32a629[_0x44fc1f(0x207)]('\x20\x20'+_0x169dfc);}_0x9f57cf['length']>_0x354b88&&_0x32a629[_0x44fc1f(0x207)](_0x44fc1f(0x200)+(_0x9f57cf['length']-_0x354b88)+_0x44fc1f(0x217));}return _0x32a629[_0x44fc1f(0x20b)]('\x0a');}function a0_0x450b(){const _0x35e571=['all','62824pdcFlH','9vTimDt','\x0aFailures:','filterNpmInstall','added\x20','\x20lines\x20of\x20trace\x20details\x20truncated)','defineProperty','\x20passed','filterJestVitest','229397ceFukJ','Test\x20Files:','1431463ghnEye','audited\x20','includes','match','42jpwAQZ','Tests:','FAIL','found\x20','10UCPqRB','13043112dnfjBU','split','replace','Test\x20Suites:','10NQIlDw','\x20\x20...\x20(','length','3374696fYfMJY','Test\x20Runner:\x20','startsWith','2867595LBgfAK','460wvxjTk','push','trim','NPM:\x20Packages\x20verified/installed\x20successfully','6339QTiZJV','join','13RrinRL','\x20passed,\x20','slice','removed\x20','\x20total)'];a0_0x450b=function(){return _0x35e571;};return a0_0x450b();}
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_0x180d5b=a0_0x478e;(function(_0x4c7ec9,_0x1ca32b){const _0x5c00f3=a0_0x478e,_0x3a8607=_0x4c7ec9();while(!![]){try{const _0x59d64a=-parseInt(_0x5c00f3(0x127))/0x1*(parseInt(_0x5c00f3(0x12c))/0x2)+parseInt(_0x5c00f3(0x12d))/0x3+-parseInt(_0x5c00f3(0x124))/0x4+parseInt(_0x5c00f3(0x120))/0x5*(-parseInt(_0x5c00f3(0x114))/0x6)+-parseInt(_0x5c00f3(0x110))/0x7+parseInt(_0x5c00f3(0x104))/0x8*(-parseInt(_0x5c00f3(0x105))/0x9)+parseInt(_0x5c00f3(0x112))/0xa*(parseInt(_0x5c00f3(0x10c))/0xb);if(_0x59d64a===_0x1ca32b)break;else _0x3a8607['push'](_0x3a8607['shift']());}catch(_0x5ce756){_0x3a8607['push'](_0x3a8607['shift']());}}}(a0_0x4fd9,0xc7a61));function a0_0x4fd9(){const _0x348ee8=['1183NHvdqp','\x20xfailed','\x20\x20\x20\x20','\x20\x20\x20\x20...\x20(','AssertionError:','16ugXgGI','2972931JljNvW','includes','===','7312912qdzNPK','9PevFUw','passed','slice','failed','\x0aFailures:','split','length','6974DiXYxh','\x20\x20...\x20+','join','match','2974230rQTeYp','Pytest:\x20All\x20tests\x20passed','42420apcOdq','Downloading','2683866rUtjni','\x20skipped','trim','\x20passed','__esModule','E\x20\x20\x20','defineProperty','.\x20[FAIL]\x20','filter','===\x20short\x20test\x20summary\x20info\x20===','push','Requirement\x20already\x20satisfied','10dMPQqn','Pytest:\x20','\x20more\x20failures\x20truncated','Collecting','2478216QBKFCS','startsWith','\x20xpassed\x20(warning!)'];a0_0x4fd9=function(){return _0x348ee8;};return a0_0x4fd9();}Object[a0_0x180d5b(0x11a)](exports,a0_0x180d5b(0x118),{'value':!![]}),exports['filterPytest']=filterPytest,exports['filterPipInstall']=filterPipInstall;function a0_0x478e(_0x5543b2,_0x2c076d){_0x5543b2=_0x5543b2-0x102;const _0x4fd98c=a0_0x4fd9();let _0x478e31=_0x4fd98c[_0x5543b2];return _0x478e31;}function filterPytest(_0x27e19d){const _0x1d2b93=a0_0x180d5b,_0x5b9cfa=_0x27e19d[_0x1d2b93(0x10a)]('\x0a');let _0x2f403a=0x0,_0x4aa4b8=0x0,_0x6940cb=0x0,_0x258d72=0x0,_0x15d939=0x0;const _0xf4baca=[];let _0x3c86af=[],_0x3fa4df=![];for(const _0x259fa7 of _0x5b9cfa){const _0x2966ea=_0x259fa7['trim']();if(_0x2966ea[_0x1d2b93(0x125)]('===\x20FAILURES\x20===')||_0x2966ea['startsWith']('===\x20ERRORS\x20===')){_0x3fa4df=!![];continue;}else(_0x2966ea[_0x1d2b93(0x125)](_0x1d2b93(0x11d))||_0x2966ea[_0x1d2b93(0x125)]('===')&&_0x2966ea[_0x1d2b93(0x102)](_0x1d2b93(0x106)))&&(_0x3fa4df=![],_0x3c86af[_0x1d2b93(0x10b)]>0x0&&(_0xf4baca[_0x1d2b93(0x11e)](_0x3c86af),_0x3c86af=[]));if(_0x3fa4df){if(_0x2966ea['startsWith']('___'))_0x3c86af[_0x1d2b93(0x10b)]>0x0&&(_0xf4baca[_0x1d2b93(0x11e)](_0x3c86af),_0x3c86af=[]),_0x3c86af[_0x1d2b93(0x11e)](_0x2966ea);else _0x2966ea[_0x1d2b93(0x10b)]>0x0&&_0x3c86af[_0x1d2b93(0x11e)](_0x259fa7);continue;}if(_0x2966ea[_0x1d2b93(0x125)](_0x1d2b93(0x103))&&_0x2966ea[_0x1d2b93(0x102)]('\x20in\x20')){const _0x4c9282=_0x2966ea['match'](/(\d+)\s+passed/),_0x50f5a7=_0x2966ea[_0x1d2b93(0x10f)](/(\d+)\s+failed/),_0x588eee=_0x2966ea['match'](/(\d+)\s+skipped/),_0x5907b4=_0x2966ea[_0x1d2b93(0x10f)](/(\d+)\s+xfailed/),_0x73f6bb=_0x2966ea[_0x1d2b93(0x10f)](/(\d+)\s+xpassed/);if(_0x4c9282)_0x2f403a=parseInt(_0x4c9282[0x1]);if(_0x50f5a7)_0x4aa4b8=parseInt(_0x50f5a7[0x1]);if(_0x588eee)_0x6940cb=parseInt(_0x588eee[0x1]);if(_0x5907b4)_0x258d72=parseInt(_0x5907b4[0x1]);if(_0x73f6bb)_0x15d939=parseInt(_0x73f6bb[0x1]);}}_0x3c86af[_0x1d2b93(0x10b)]>0x0&&_0xf4baca[_0x1d2b93(0x11e)](_0x3c86af);if(_0x2f403a===0x0&&_0x4aa4b8===0x0&&_0x6940cb===0x0&&_0x258d72===0x0&&_0x15d939===0x0){if(_0x27e19d['includes'](_0x1d2b93(0x106))&&!_0x27e19d[_0x1d2b93(0x102)](_0x1d2b93(0x108)))return _0x1d2b93(0x111);return _0x27e19d;}if(_0x4aa4b8===0x0&&_0x2f403a>0x0&&_0x6940cb===0x0&&_0x258d72===0x0&&_0x15d939===0x0)return _0x1d2b93(0x121)+_0x2f403a+_0x1d2b93(0x117);const _0x292d35=[];_0x292d35[_0x1d2b93(0x11e)]('Pytest:\x20'+_0x2f403a+_0x1d2b93(0x117));if(_0x4aa4b8>0x0)_0x292d35[_0x1d2b93(0x11e)](_0x4aa4b8+'\x20failed');if(_0x6940cb>0x0)_0x292d35[_0x1d2b93(0x11e)](_0x6940cb+_0x1d2b93(0x115));if(_0x258d72>0x0)_0x292d35[_0x1d2b93(0x11e)](_0x258d72+_0x1d2b93(0x128));if(_0x15d939>0x0)_0x292d35[_0x1d2b93(0x11e)](_0x15d939+_0x1d2b93(0x126));const _0x3e5201=[_0x292d35[_0x1d2b93(0x10e)](',\x20')];if(_0xf4baca[_0x1d2b93(0x10b)]>0x0){_0x3e5201[_0x1d2b93(0x11e)](_0x1d2b93(0x109));const _0x59ef73=0x3,_0x21a119=_0xf4baca['slice'](0x0,_0x59ef73);for(let _0x2cc293=0x0;_0x2cc293<_0x21a119[_0x1d2b93(0x10b)];_0x2cc293++){const _0x33887f=_0x21a119[_0x2cc293],_0x1b04a7=_0x33887f[0x0]['replace'](/_/g,'')['trim']();_0x3e5201[_0x1d2b93(0x11e)]('\x20\x20'+(_0x2cc293+0x1)+_0x1d2b93(0x11b)+_0x1b04a7);const _0x34f279=_0x33887f[_0x1d2b93(0x107)](0x1),_0x4e98a4=_0x34f279[_0x1d2b93(0x11c)](_0x1ff969=>{const _0x303c81=_0x1d2b93,_0x1eccaf=_0x1ff969[_0x303c81(0x116)]();return _0x1eccaf[_0x303c81(0x125)]('>')||_0x1eccaf[_0x303c81(0x125)](_0x303c81(0x119))||_0x1eccaf[_0x303c81(0x102)]('.py:')||_0x1eccaf['includes'](_0x303c81(0x12b));});for(const _0x117a1b of _0x4e98a4['slice'](0x0,0x8)){_0x3e5201[_0x1d2b93(0x11e)](_0x1d2b93(0x129)+_0x117a1b);}_0x4e98a4[_0x1d2b93(0x10b)]>0x8&&_0x3e5201[_0x1d2b93(0x11e)](_0x1d2b93(0x12a)+(_0x4e98a4[_0x1d2b93(0x10b)]-0x8)+'\x20lines\x20of\x20stacktrace\x20truncated)');}_0xf4baca[_0x1d2b93(0x10b)]>_0x59ef73&&_0x3e5201[_0x1d2b93(0x11e)](_0x1d2b93(0x10d)+(_0xf4baca[_0x1d2b93(0x10b)]-_0x59ef73)+_0x1d2b93(0x122));}return _0x3e5201['join']('\x0a');}function filterPipInstall(_0x1361e0){const _0x161164=a0_0x180d5b,_0xbf78b3=_0x1361e0[_0x161164(0x10a)]('\x0a'),_0x2cad22=[];for(const _0x58a417 of _0xbf78b3){const _0x56b7af=_0x58a417[_0x161164(0x116)]();_0x56b7af['startsWith']('Successfully\x20installed')&&_0x2cad22[_0x161164(0x11e)](_0x56b7af);}if(_0x2cad22[_0x161164(0x10b)]>0x0)return _0x2cad22[_0x161164(0x10e)]('\x0a');return _0xbf78b3['filter'](_0x20e839=>{const _0x3d0bd8=_0x161164,_0x15bfbb=_0x20e839[_0x3d0bd8(0x116)]();return!_0x15bfbb[_0x3d0bd8(0x125)](_0x3d0bd8(0x123))&&!_0x15bfbb[_0x3d0bd8(0x125)](_0x3d0bd8(0x113))&&!_0x15bfbb['includes']('Using\x20cached')&&!_0x15bfbb[_0x3d0bd8(0x125)](_0x3d0bd8(0x11f));})[_0x161164(0x10e)]('\x0a')['trim']();}
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';const a0_0x382528=a0_0x1e32;(function(_0x7faaea,_0x348b79){const _0x464649=a0_0x1e32,_0x52b17d=_0x7faaea();while(!![]){try{const _0x499ab6=parseInt(_0x464649(0x1e7))/0x1+-parseInt(_0x464649(0x219))/0x2+parseInt(_0x464649(0x215))/0x3*(-parseInt(_0x464649(0x1f3))/0x4)+parseInt(_0x464649(0x1ef))/0x5+-parseInt(_0x464649(0x1f4))/0x6*(parseInt(_0x464649(0x1e8))/0x7)+parseInt(_0x464649(0x1e2))/0x8+parseInt(_0x464649(0x1f5))/0x9;if(_0x499ab6===_0x348b79)break;else _0x52b17d['push'](_0x52b17d['shift']());}catch(_0x5e9721){_0x52b17d['push'](_0x52b17d['shift']());}}}(a0_0x5f03,0x2d940));function a0_0x1e32(_0x269cb4,_0x2a98b4){_0x269cb4=_0x269cb4-0x1e1;const _0x5f03ca=a0_0x5f03();let _0x1e32b1=_0x5f03ca[_0x269cb4];return _0x1e32b1;}Object[a0_0x382528(0x1e6)](exports,a0_0x382528(0x212),{'value':!![]}),exports[a0_0x382528(0x208)]=filterCargoTest,exports[a0_0x382528(0x1f8)]=filterCargoBuild;function filterCargoTest(_0x29e114){const _0x4ce245=a0_0x382528,_0x1e6533=_0x29e114[_0x4ce245(0x20d)]('\x0a');let _0x61bf71=0x0,_0x117585=0x0,_0x32880d=0x0,_0x5f3039=0x0;const _0xf46071=[];let _0x55f14b=![],_0x66060f=[];for(const _0x4bd4d5 of _0x1e6533){const _0x45f91e=_0x4bd4d5['trim'](),_0x53c3af=_0x45f91e[_0x4ce245(0x1e9)](/test result:\s*(\w+)\.\s*(\d+)\s+passed;\s*(\d+)\s+failed;\s*(\d+)\s+ignored;\s*(\d+)\s+measured/);if(_0x53c3af){_0x61bf71+=parseInt(_0x53c3af[0x2]),_0x117585+=parseInt(_0x53c3af[0x3]),_0x32880d+=parseInt(_0x53c3af[0x4]),_0x5f3039+=parseInt(_0x53c3af[0x5]);continue;}if(_0x45f91e===_0x4ce245(0x211)||_0x45f91e===_0x4ce245(0x203)){_0x55f14b=!![];continue;}if(_0x55f14b){if(_0x45f91e[_0x4ce245(0x1ec)]('----\x20')&&_0x45f91e[_0x4ce245(0x1fb)](_0x4ce245(0x1e1))){if(_0x66060f[_0x4ce245(0x206)]>0x0)_0xf46071[_0x4ce245(0x1f9)](_0x66060f[_0x4ce245(0x214)]('\x0a'));_0x66060f=[_0x45f91e[_0x4ce245(0x1e4)](/^-+\s*/,'')[_0x4ce245(0x1e4)](/\s*-+$/,'')];}else{if(_0x45f91e===_0x4ce245(0x211)||_0x45f91e[_0x4ce245(0x1ec)](_0x4ce245(0x1f7))){if(_0x66060f[_0x4ce245(0x206)]>0x0)_0xf46071[_0x4ce245(0x1f9)](_0x66060f[_0x4ce245(0x214)]('\x0a'));_0x66060f=[],_0x55f14b=![];}else _0x45f91e[_0x4ce245(0x206)]>0x0&&_0x66060f[_0x4ce245(0x1f9)](_0x4bd4d5);}}}if(_0x66060f[_0x4ce245(0x206)]>0x0)_0xf46071['push'](_0x66060f['join']('\x0a'));if(_0x61bf71===0x0&&_0x117585===0x0&&_0x32880d===0x0){if(_0x29e114[_0x4ce245(0x207)]('test\x20result:\x20ok'))return _0x4ce245(0x20f);return _0x29e114;}if(_0x117585===0x0){const _0x5c2238=[_0x4ce245(0x218)+_0x61bf71+_0x4ce245(0x1f0)];if(_0x32880d>0x0)_0x5c2238['push'](_0x32880d+_0x4ce245(0x1ea));return _0x5c2238['join'](',\x20');}const _0x3c4d2d=[_0x4ce245(0x218)+_0x61bf71+'\x20passed,\x20'+_0x117585+_0x4ce245(0x202)+_0x32880d+_0x4ce245(0x1ea)];if(_0xf46071[_0x4ce245(0x206)]>0x0){_0x3c4d2d['push'](_0x4ce245(0x1fd));const _0x5ae78d=0x3;for(let _0x5570c7=0x0;_0x5570c7<Math[_0x4ce245(0x1eb)](_0xf46071[_0x4ce245(0x206)],_0x5ae78d);_0x5570c7++){const _0x4ef548=_0xf46071[_0x5570c7][_0x4ce245(0x20d)]('\x0a');_0x3c4d2d[_0x4ce245(0x1f9)]('\x20\x20'+(_0x5570c7+0x1)+'.\x20'+_0x4ef548[0x0]);const _0x5aaeed=_0x4ef548[_0x4ce245(0x200)](0x1),_0x530db3=_0x5aaeed[_0x4ce245(0x205)](_0x1579ee=>_0x1579ee[_0x4ce245(0x216)]()[_0x4ce245(0x1ec)]('thread')||_0x1579ee['includes'](_0x4ce245(0x1ed))||_0x1579ee[_0x4ce245(0x207)](_0x4ce245(0x1ff))||_0x1579ee[_0x4ce245(0x207)](_0x4ce245(0x1e3))||_0x1579ee[_0x4ce245(0x207)](_0x4ce245(0x20e)));for(const _0x3f585d of _0x530db3[_0x4ce245(0x200)](0x0,0x5)){_0x3c4d2d[_0x4ce245(0x1f9)](_0x4ce245(0x20a)+_0x3f585d['trim']());}}_0xf46071['length']>_0x5ae78d&&_0x3c4d2d['push'](_0x4ce245(0x1f1)+(_0xf46071[_0x4ce245(0x206)]-_0x5ae78d)+_0x4ce245(0x20c));}return _0x3c4d2d['join']('\x0a');}function filterCargoBuild(_0x870175){const _0x12cb96=a0_0x382528,_0x4015d8=_0x870175[_0x12cb96(0x20d)]('\x0a'),_0x3d33a5=[],_0x26d11e=[];let _0x4c6986=0x0;for(const _0x213151 of _0x4015d8){const _0x3584bd=_0x213151[_0x12cb96(0x216)]();if(_0x3584bd[_0x12cb96(0x1ec)](_0x12cb96(0x20b)))_0x4c6986++;else{if(_0x3584bd['startsWith'](_0x12cb96(0x1f2))||_0x3584bd[_0x12cb96(0x1ec)](_0x12cb96(0x1e5)))_0x3d33a5['push'](_0x3584bd);else{if(_0x3584bd[_0x12cb96(0x1ec)](_0x12cb96(0x1fc))||_0x3584bd['startsWith'](_0x12cb96(0x1fe)))_0x26d11e[_0x12cb96(0x1f9)](_0x3584bd);}}}if(_0x26d11e[_0x12cb96(0x206)]===0x0&&_0x3d33a5[_0x12cb96(0x206)]===0x0)return _0x4c6986>0x0?_0x12cb96(0x1fa)+_0x4c6986+_0x12cb96(0x217):_0x870175[_0x12cb96(0x216)]();const _0x3b9bba=[];if(_0x26d11e['length']>0x0){_0x3b9bba['push'](_0x12cb96(0x204)+_0x26d11e['length']+_0x12cb96(0x1ee)+_0x3d33a5[_0x12cb96(0x206)]+_0x12cb96(0x210)),_0x3b9bba[_0x12cb96(0x1f9)](_0x12cb96(0x209));for(const _0x38ea3b of _0x26d11e[_0x12cb96(0x200)](0x0,0x5))_0x3b9bba[_0x12cb96(0x1f9)]('\x20\x20'+_0x38ea3b);if(_0x26d11e['length']>0x5)_0x3b9bba[_0x12cb96(0x1f9)](_0x12cb96(0x1f1)+(_0x26d11e[_0x12cb96(0x206)]-0x5)+_0x12cb96(0x201));}else _0x3b9bba['push'](_0x12cb96(0x1fa)+_0x4c6986+_0x12cb96(0x1f6)+_0x3d33a5[_0x12cb96(0x206)]+_0x12cb96(0x210));if(_0x3d33a5[_0x12cb96(0x206)]>0x0&&_0x3d33a5[_0x12cb96(0x206)]<=0x5){_0x3b9bba['push']('\x0aWarnings:');for(const _0x1fb3b3 of _0x3d33a5)_0x3b9bba[_0x12cb96(0x1f9)]('\x20\x20'+_0x1fb3b3);}else _0x3d33a5[_0x12cb96(0x206)]>0x5&&_0x3b9bba[_0x12cb96(0x1f9)]('\x0a('+_0x3d33a5[_0x12cb96(0x206)]+_0x12cb96(0x213));return _0x3b9bba[_0x12cb96(0x214)]('\x0a');}function a0_0x5f03(){const _0x4b33b4=['assert','slice','\x20more\x20errors','\x20failed,\x20','----\x20failures\x20----','Cargo:\x20','filter','length','includes','filterCargoTest','\x0aErrors:','\x20\x20\x20\x20','Compiling\x20','\x20more\x20failures','split','right:','Cargo\x20test:\x20all\x20tests\x20passed','\x20warnings','failures:','__esModule','\x20warnings\x20—\x20run\x20cargo\x20clippy\x20for\x20details)','join','204RhyRtF','trim','\x20crates\x20successfully','Cargo\x20test:\x20','339178zQJPQI','\x20----','743776GPWPQU','left:','replace','warning:','defineProperty','77941qNJYFl','2091278uBfKFp','match','\x20ignored','min','startsWith','panicked','\x20errors,\x20','311145yKGUMr','\x20passed','\x20\x20...\x20+','warning[','8132qtuicz','6WXASFz','5041197eKjizt','\x20crates,\x20','test\x20result:','filterCargoBuild','push','Cargo:\x20compiled\x20','endsWith','error[','\x0aFailures:','error:'];a0_0x5f03=function(){return _0x4b33b4;};return a0_0x5f03();}
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_0x463c99=a0_0x132c;(function(_0xf80008,_0x1c33ce){const _0x2b98c4=a0_0x132c,_0x163eeb=_0xf80008();while(!![]){try{const _0x3947f3=parseInt(_0x2b98c4(0x108))/0x1*(-parseInt(_0x2b98c4(0x115))/0x2)+-parseInt(_0x2b98c4(0x11a))/0x3+-parseInt(_0x2b98c4(0x114))/0x4+-parseInt(_0x2b98c4(0xf7))/0x5+parseInt(_0x2b98c4(0x156))/0x6+-parseInt(_0x2b98c4(0x109))/0x7*(parseInt(_0x2b98c4(0x140))/0x8)+parseInt(_0x2b98c4(0x129))/0x9;if(_0x3947f3===_0x1c33ce)break;else _0x163eeb['push'](_0x163eeb['shift']());}catch(_0x2141b1){_0x163eeb['push'](_0x163eeb['shift']());}}}(a0_0x3861,0x331a8));var __createBinding=this&&this[a0_0x463c99(0x113)]||(Object[a0_0x463c99(0x123)]?function(_0x1a8e66,_0xd74fe1,_0x478de0,_0x1cf191){const _0x5bfbfd=a0_0x463c99;if(_0x1cf191===undefined)_0x1cf191=_0x478de0;var _0x25ef4b=Object[_0x5bfbfd(0x10d)](_0xd74fe1,_0x478de0);(!_0x25ef4b||('get'in _0x25ef4b?!_0xd74fe1['__esModule']:_0x25ef4b[_0x5bfbfd(0xfe)]||_0x25ef4b[_0x5bfbfd(0x158)]))&&(_0x25ef4b={'enumerable':!![],'get':function(){return _0xd74fe1[_0x478de0];}}),Object['defineProperty'](_0x1a8e66,_0x1cf191,_0x25ef4b);}:function(_0x5265e6,_0x3942d1,_0x4426fd,_0x5d28bb){if(_0x5d28bb===undefined)_0x5d28bb=_0x4426fd;_0x5265e6[_0x5d28bb]=_0x3942d1[_0x4426fd];}),__setModuleDefault=this&&this['__setModuleDefault']||(Object[a0_0x463c99(0x123)]?function(_0x469b05,_0x4be778){const _0x32c127=a0_0x463c99;Object[_0x32c127(0x128)](_0x469b05,_0x32c127(0x15d),{'enumerable':!![],'value':_0x4be778});}:function(_0x4eab6b,_0x10e541){const _0x53a3a1=a0_0x463c99;_0x4eab6b[_0x53a3a1(0x15d)]=_0x10e541;}),__importStar=this&&this[a0_0x463c99(0x133)]||(function(){var _0x355d05=function(_0x3d995a){const _0x35f6ee=a0_0x132c;return _0x355d05=Object[_0x35f6ee(0xf5)]||function(_0x1a4d46){const _0x3098ec=_0x35f6ee;var _0x45700d=[];for(var _0x5a4b8b in _0x1a4d46)if(Object[_0x3098ec(0x151)][_0x3098ec(0x15a)][_0x3098ec(0x157)](_0x1a4d46,_0x5a4b8b))_0x45700d[_0x45700d[_0x3098ec(0x12f)]]=_0x5a4b8b;return _0x45700d;},_0x355d05(_0x3d995a);};return function(_0x5e3930){const _0x1244d3=a0_0x132c;if(_0x5e3930&&_0x5e3930[_0x1244d3(0x110)])return _0x5e3930;var _0xcf1dac={};if(_0x5e3930!=null){for(var _0xddedc9=_0x355d05(_0x5e3930),_0xcbe05a=0x0;_0xcbe05a<_0xddedc9['length'];_0xcbe05a++)if(_0xddedc9[_0xcbe05a]!=='default')__createBinding(_0xcf1dac,_0x5e3930,_0xddedc9[_0xcbe05a]);}return __setModuleDefault(_0xcf1dac,_0x5e3930),_0xcf1dac;};}());Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a0_0x463c99(0x122)]=filterLs,exports[a0_0x463c99(0x14d)]=filterTree,exports['filterCat']=filterCat,exports[a0_0x463c99(0x126)]=filterGrep,exports[a0_0x463c99(0x143)]=filterFind;function a0_0x132c(_0x13c811,_0x54291b){_0x13c811=_0x13c811-0xee;const _0x3861ac=a0_0x3861();let _0x132c8d=_0x3861ac[_0x13c811];return _0x132c8d;}const path=__importStar(require('path')),LOCK_FILES=['package-lock.json',a0_0x463c99(0x147),'pnpm-lock.yaml','Cargo.lock',a0_0x463c99(0x13d),a0_0x463c99(0x154),a0_0x463c99(0x131),a0_0x463c99(0x148),'bun.lockb'],BINARY_EXTENSIONS=[a0_0x463c99(0x127),a0_0x463c99(0x125),'.map',a0_0x463c99(0x12e),a0_0x463c99(0x111),a0_0x463c99(0x144),a0_0x463c99(0xfd),'.gif',a0_0x463c99(0x13b),a0_0x463c99(0x150),a0_0x463c99(0x124),a0_0x463c99(0x120),a0_0x463c99(0x15c),a0_0x463c99(0xfc),'.tar.gz',a0_0x463c99(0x117),a0_0x463c99(0xf8),a0_0x463c99(0x102),'.7z','.rar',a0_0x463c99(0x136),a0_0x463c99(0x12a),a0_0x463c99(0x135),a0_0x463c99(0x10f),'.bin','.dat',a0_0x463c99(0x112),a0_0x463c99(0x116),'.sqlite3',a0_0x463c99(0x119),a0_0x463c99(0x141),a0_0x463c99(0x146),a0_0x463c99(0xf9),'.otf',a0_0x463c99(0x14c),'.mp4',a0_0x463c99(0x13c),a0_0x463c99(0x139),a0_0x463c99(0x103),a0_0x463c99(0x137),'.pyc','.pyo','.class','.o','.obj'];function extractFilename(_0x15368d){const _0x5c0c0b=a0_0x463c99,_0x53ae74=_0x15368d[_0x5c0c0b(0x105)]()['split'](/\s+/);for(let _0x2f3f6d=0x1;_0x2f3f6d<_0x53ae74[_0x5c0c0b(0x12f)];_0x2f3f6d++){if(!_0x53ae74[_0x2f3f6d][_0x5c0c0b(0x106)]('-'))return _0x53ae74[_0x2f3f6d];}return null;}function filterLockFile(_0x268766,_0x285b06){const _0x87b1a0=a0_0x463c99;try{const _0x5f0f2e=path[_0x87b1a0(0x11d)](_0x285b06)[_0x87b1a0(0xf4)]();if(!LOCK_FILES[_0x87b1a0(0xfa)](_0x246c86=>_0x5f0f2e===_0x246c86[_0x87b1a0(0xf4)]()))return null;const _0x2be71b=_0x268766[_0x87b1a0(0x12f)];let _0x2a69ed=0x0;if(_0x5f0f2e==='package-lock.json')try{const _0xccd4f0=JSON[_0x87b1a0(0xff)](_0x268766);_0x2a69ed=Object['keys'](_0xccd4f0[_0x87b1a0(0x13f)]||_0xccd4f0[_0x87b1a0(0x12b)]||{})['length'];}catch{_0x2a69ed=(_0x268766[_0x87b1a0(0x11b)](/"resolved":/g)||[])['length'];}else{if(_0x5f0f2e===_0x87b1a0(0x147))_0x2a69ed=(_0x268766['match'](/^"?[^#\s][^:]*:$/gm)||[])[_0x87b1a0(0x12f)];else{if(_0x5f0f2e==='cargo.lock'||_0x5f0f2e===_0x87b1a0(0x154))_0x2a69ed=(_0x268766['match'](/\[\[package\]\]/g)||[])['length'];else{if(_0x5f0f2e===_0x87b1a0(0x13d))_0x2a69ed=Math['floor'](_0x268766[_0x87b1a0(0x152)]('\x0a')[_0x87b1a0(0x159)](_0x5bbfd8=>_0x5bbfd8['trim']())[_0x87b1a0(0x12f)]/0x2);else{if(_0x5f0f2e===_0x87b1a0(0x131))try{_0x2a69ed=JSON[_0x87b1a0(0xff)](_0x268766)[_0x87b1a0(0x13f)]?.[_0x87b1a0(0x12f)]||0x0;}catch{}else _0x5f0f2e===_0x87b1a0(0xf1)?_0x2a69ed=(_0x268766[_0x87b1a0(0x11b)](/^\s{2}['"@a-z]/gm)||[])['length']:_0x2a69ed=_0x268766[_0x87b1a0(0x152)]('\x0a')[_0x87b1a0(0x159)](_0x3722c0=>_0x3722c0[_0x87b1a0(0x105)]())[_0x87b1a0(0x12f)];}}}}return _0x87b1a0(0x10c)+path['basename'](_0x285b06)+':\x20'+_0x2a69ed+_0x87b1a0(0xef)+_0x2be71b[_0x87b1a0(0x145)]()+'\x20chars\x20(content\x20omitted\x20—\x20lock\x20files\x20are\x20not\x20useful\x20for\x20LLM\x20context)';}catch{return null;}}function filterBinaryOrMinified(_0x3e61d7,_0x289469){const _0x3c2f0b=a0_0x463c99;try{if(_0x289469){const _0x3a578e=_0x289469[_0x3c2f0b(0xf4)]();for(const _0x591ddb of BINARY_EXTENSIONS){if(_0x3a578e[_0x3c2f0b(0x11c)](_0x591ddb))return _0x3c2f0b(0x11f)+path[_0x3c2f0b(0x11d)](_0x289469)+',\x20'+_0x3e61d7[_0x3c2f0b(0x12f)][_0x3c2f0b(0x145)]()+_0x3c2f0b(0xf2)+_0x591ddb+_0x3c2f0b(0x134);}}const _0x95a269=_0x3e61d7[_0x3c2f0b(0x14b)](0x0,0x3e8);let _0x537792=0x0;for(let _0x598bd0=0x0;_0x598bd0<_0x95a269['length'];_0x598bd0++){if(_0x95a269[_0x3c2f0b(0x12d)](_0x598bd0)===0x0)_0x537792++;}if(_0x537792>0x0)return'[binary\x20file]\x20'+_0x3e61d7[_0x3c2f0b(0x12f)][_0x3c2f0b(0x145)]()+_0x3c2f0b(0x14f);let _0xa27247=0x0;for(let _0xafc6fe=0x0;_0xafc6fe<_0x95a269['length'];_0xafc6fe++){const _0x1ba881=_0x95a269[_0x3c2f0b(0x12d)](_0xafc6fe);if(_0x1ba881<0x20&&_0x1ba881!==0xa&&_0x1ba881!==0xd&&_0x1ba881!==0x9)_0xa27247++;}if(_0x95a269[_0x3c2f0b(0x12f)]>0x64&&_0xa27247>_0x95a269[_0x3c2f0b(0x12f)]*0.1)return _0x3c2f0b(0xfb)+_0x3e61d7[_0x3c2f0b(0x12f)][_0x3c2f0b(0x145)]()+_0x3c2f0b(0xf6);const _0x1cc27c=_0x3e61d7['split']('\x0a');if(_0x1cc27c[_0x3c2f0b(0x12f)]<=0x3&&_0x3e61d7[_0x3c2f0b(0x12f)]>0x1388)return _0x3c2f0b(0x14e)+_0x3e61d7[_0x3c2f0b(0x12f)][_0x3c2f0b(0x145)]()+_0x3c2f0b(0x132)+_0x1cc27c['length']+_0x3c2f0b(0x10e);return null;}catch{return null;}}function filterJsonMinify(_0x4b14c4){const _0xc12f5f=a0_0x463c99;try{const _0x387d0c=_0x4b14c4[_0xc12f5f(0x105)]();if(!_0x387d0c[_0xc12f5f(0x106)]('{')&&!_0x387d0c[_0xc12f5f(0x106)]('['))return null;const _0x57f58e=_0x387d0c[_0xc12f5f(0x152)]('\x0a');if(_0x57f58e[_0xc12f5f(0x12f)]<=0x14)return null;const _0x226064=JSON[_0xc12f5f(0xff)](_0x387d0c),_0x5de18e=JSON['stringify'](_0x226064);if(_0x5de18e[_0xc12f5f(0x12f)]<_0x387d0c['length'])return _0x5de18e;return null;}catch{return null;}}function a0_0x3861(){const _0x323510=['filterLs','create','.webp','.min.css','filterGrep','.min.js','defineProperty','13481892VRLyDc','.dll','dependencies','total\x20','charCodeAt','.wasm','length','push','composer.lock','\x20chars\x20across\x20','__importStar','\x20(content\x20omitted\x20—\x20not\x20useful\x20for\x20LLM\x20context)','.so','.exe','.webm','\x20more\x20matches','.avi','\x20files\x20found\x20across\x20','.ico','.wav','go.sum','\x20matches\x20in\x20this\x20file)','packages','88144UWLlxS','.woff2','/\x20(','filterFind','.jpg','toLocaleString','.ttf','yarn.lock','Gemfile.lock','\x20matches\x20across\x20','\x20more\x20directories','substring','.mp3','filterTree','[minified\x20file]\x20','\x20chars\x20(contains\x20null\x20bytes\x20—\x20binary\x20content\x20omitted)','.bmp','prototype','split','slice','poetry.lock','includes','574692pzkeko','call','configurable','filter','hasOwnProperty','\x20lines\x20truncated]\x20...\x0a','.pdf','default','entries','\x20dependencies,\x20','\x20more\x20files\x20with\x20matches','pnpm-lock.yaml','\x20chars,\x20type:\x20','dirname','toLowerCase','getOwnPropertyNames','\x20chars\x20(high\x20non-printable\x20ratio\x20—\x20content\x20omitted)','1363295KFeXRy','.gz','.eot','some','[binary\x20file]\x20','.zip','.jpeg','writable','parse','keys','Empty\x20directory','.bz2','.mov','indexOf','trim','startsWith','...\x20+','1MEetrw','203xGbuhr','join','\x20files\x20total\x20—\x20deep\x20entries\x20truncated)','[lock\x20file]\x20','getOwnPropertyDescriptor','\x20line(s)\x20(content\x20omitted\x20—\x20not\x20human-readable)','.dylib','__esModule','.png','.sqlite','__createBinding','1370488xYEXhO','550742fXBGnu','.db','.tgz','\x0a...\x20[','.woff','522828uMKPES','match','endsWith','basename','\x20files)','[binary/minified\x20file]\x20','.svg','\x20more\x20files'];a0_0x3861=function(){return _0x323510;};return a0_0x3861();}function filterLs(_0x4bfb18){const _0x3e80b5=a0_0x463c99,_0x531ab9=_0x4bfb18[_0x3e80b5(0x152)]('\x0a')[_0x3e80b5(0x159)](_0x1cf225=>_0x1cf225[_0x3e80b5(0x105)]()[_0x3e80b5(0x12f)]>0x0);if(_0x531ab9['length']===0x0)return _0x3e80b5(0x101);if(_0x531ab9['length']<=0x1e)return _0x4bfb18[_0x3e80b5(0x105)]();const _0x2296bf=[],_0x2b0b83=[];for(const _0x1b041d of _0x531ab9){const _0x1c207a=_0x1b041d[_0x3e80b5(0x105)]();if(_0x1c207a['startsWith'](_0x3e80b5(0x12c))||_0x1c207a['startsWith']('d')&&_0x1c207a[_0x3e80b5(0x155)]('..'))continue;_0x1c207a['endsWith']('/')||_0x1c207a['startsWith']('d')&&_0x1c207a[_0x3e80b5(0x155)]('\x20')?_0x2296bf[_0x3e80b5(0x130)](_0x1c207a):_0x2b0b83[_0x3e80b5(0x130)](_0x1c207a);}const _0x547dc0=[];return _0x2296bf[_0x3e80b5(0x12f)]>0x0&&(_0x2296bf[_0x3e80b5(0x12f)]<=0xf?_0x547dc0[_0x3e80b5(0x130)](..._0x2296bf):(_0x547dc0[_0x3e80b5(0x130)](..._0x2296bf[_0x3e80b5(0x153)](0x0,0xa)),_0x547dc0[_0x3e80b5(0x130)](_0x3e80b5(0x107)+(_0x2296bf['length']-0xa)+'\x20more\x20directories'))),_0x2b0b83[_0x3e80b5(0x12f)]>0x0&&(_0x2b0b83[_0x3e80b5(0x12f)]<=0x14?_0x547dc0[_0x3e80b5(0x130)](..._0x2b0b83):(_0x547dc0[_0x3e80b5(0x130)](..._0x2b0b83[_0x3e80b5(0x153)](0x0,0xf)),_0x547dc0[_0x3e80b5(0x130)]('...\x20+'+(_0x2b0b83[_0x3e80b5(0x12f)]-0xf)+_0x3e80b5(0x121)))),_0x547dc0[_0x3e80b5(0x130)]('\x0a('+_0x2296bf[_0x3e80b5(0x12f)]+'\x20directories,\x20'+_0x2b0b83[_0x3e80b5(0x12f)]+_0x3e80b5(0x11e)),_0x547dc0[_0x3e80b5(0x10a)]('\x0a');}function filterTree(_0x3cff21){const _0x2821a7=a0_0x463c99,_0x3b52da=_0x3cff21['split']('\x0a');if(_0x3b52da[_0x2821a7(0x12f)]<=0x32)return _0x3cff21[_0x2821a7(0x105)]();const _0x1d355f=[];let _0x36bb38=0x0,_0x14035b=0x0,_0x3ab1dc=0x0;for(const _0x889dc8 of _0x3b52da){const _0x38c171=_0x889dc8[_0x2821a7(0x11b)](/(\d+)\s+director/),_0x4a2ea2=_0x889dc8[_0x2821a7(0x11b)](/(\d+)\s+file/);if(_0x38c171)_0x3ab1dc=parseInt(_0x38c171[0x1]);if(_0x4a2ea2)_0x14035b=parseInt(_0x4a2ea2[0x1]);const _0x2103d3=(_0x889dc8[_0x2821a7(0x11b)](/^[│├└\s─]+/)||[''])[0x0]['length'];_0x2103d3<=0x4&&(_0x1d355f[_0x2821a7(0x130)](_0x889dc8),_0x36bb38++);}return _0x3b52da[_0x2821a7(0x12f)]>_0x1d355f[_0x2821a7(0x12f)]&&_0x1d355f['push']('\x0a...\x20('+_0x3ab1dc+'\x20directories,\x20'+_0x14035b+_0x2821a7(0x10b)),_0x1d355f['join']('\x0a');}function filterCat(_0x11110e,_0x1999d2=''){const _0x2a49b6=a0_0x463c99,_0x5fc5c7=extractFilename(_0x1999d2);try{if(_0x5fc5c7){const _0x3d1638=filterLockFile(_0x11110e,_0x5fc5c7);if(_0x3d1638)return _0x3d1638;}const _0x56289b=filterBinaryOrMinified(_0x11110e,_0x5fc5c7);if(_0x56289b)return _0x56289b;const _0x25c922=filterJsonMinify(_0x11110e);if(_0x25c922)return _0x25c922;}catch{}const _0x3e82b2=_0x11110e[_0x2a49b6(0x152)]('\x0a');if(_0x3e82b2['length']<=0x64)return _0x11110e;const _0x133c55=[];return _0x133c55[_0x2a49b6(0x130)](..._0x3e82b2[_0x2a49b6(0x153)](0x0,0x32)),_0x133c55['push'](_0x2a49b6(0x118)+(_0x3e82b2['length']-0x50)+_0x2a49b6(0x15b)),_0x133c55['push'](..._0x3e82b2[_0x2a49b6(0x153)](-0x1e)),_0x133c55[_0x2a49b6(0x130)]('\x0a('+_0x3e82b2[_0x2a49b6(0x12f)]+'\x20lines\x20total)'),_0x133c55['join']('\x0a');}function filterGrep(_0x34a37b){const _0x3f068f=a0_0x463c99,_0x2972f1=_0x34a37b[_0x3f068f(0x152)]('\x0a')[_0x3f068f(0x159)](_0x42d154=>_0x42d154[_0x3f068f(0x105)]()[_0x3f068f(0x12f)]>0x0);if(_0x2972f1[_0x3f068f(0x12f)]===0x0)return'No\x20matches\x20found';if(_0x2972f1[_0x3f068f(0x12f)]<=0x32)return _0x34a37b[_0x3f068f(0x105)]();const _0x5c883d={},_0x2700e3=[];for(const _0x18f30b of _0x2972f1){const _0x4ac99a=_0x18f30b[_0x3f068f(0x104)](':');if(_0x4ac99a>0x0&&_0x4ac99a<0xc8){const _0x8f97f3=_0x18f30b['substring'](0x0,_0x4ac99a);if(_0x8f97f3[_0x3f068f(0x155)]('/')||_0x8f97f3[_0x3f068f(0x155)]('\x5c')||_0x8f97f3['includes']('.')){if(!_0x5c883d[_0x8f97f3])_0x5c883d[_0x8f97f3]=[];_0x5c883d[_0x8f97f3][_0x3f068f(0x130)](_0x18f30b[_0x3f068f(0x14b)](_0x4ac99a+0x1)['trim']());continue;}}_0x2700e3[_0x3f068f(0x130)](_0x18f30b);}const _0x3b6581=[],_0x3985f0=Object[_0x3f068f(0x100)](_0x5c883d);if(_0x3985f0[_0x3f068f(0x12f)]>0x0){const _0x51f7dc=0x14,_0x426e42=_0x3985f0[_0x3f068f(0x153)](0x0,_0x51f7dc);for(const _0x26a33e of _0x426e42){const _0x45d7ab=_0x5c883d[_0x26a33e];if(_0x45d7ab['length']<=0x3)for(const _0xac47cb of _0x45d7ab){_0x3b6581[_0x3f068f(0x130)](_0x26a33e+':\x20'+_0xac47cb);}else _0x3b6581[_0x3f068f(0x130)](_0x26a33e+':\x20'+_0x45d7ab[0x0]),_0x3b6581['push'](_0x26a33e+':\x20...\x20('+_0x45d7ab[_0x3f068f(0x12f)]+_0x3f068f(0x13e));}_0x3985f0['length']>_0x51f7dc&&_0x3b6581['push']('...\x20+'+(_0x3985f0[_0x3f068f(0x12f)]-_0x51f7dc)+_0x3f068f(0xf0));}if(_0x2700e3[_0x3f068f(0x12f)]>0x0){const _0x45dce8=0x1e;_0x3b6581['push'](..._0x2700e3[_0x3f068f(0x153)](0x0,_0x45dce8)),_0x2700e3[_0x3f068f(0x12f)]>_0x45dce8&&_0x3b6581[_0x3f068f(0x130)](_0x3f068f(0x107)+(_0x2700e3[_0x3f068f(0x12f)]-_0x45dce8)+_0x3f068f(0x138));}const _0x5d4cd5=_0x2972f1[_0x3f068f(0x12f)];return _0x3b6581[_0x3f068f(0x130)]('\x0a('+_0x5d4cd5+_0x3f068f(0x149)+(_0x3985f0[_0x3f068f(0x12f)]||'?')+_0x3f068f(0x11e)),_0x3b6581['join']('\x0a');}function filterFind(_0x2a93f2){const _0x4b9ec2=a0_0x463c99,_0x4e385c=_0x2a93f2[_0x4b9ec2(0x152)]('\x0a')[_0x4b9ec2(0x159)](_0x172bd8=>_0x172bd8[_0x4b9ec2(0x105)]()[_0x4b9ec2(0x12f)]>0x0);if(_0x4e385c[_0x4b9ec2(0x12f)]===0x0)return'No\x20files\x20found';if(_0x4e385c['length']<=0x32)return _0x2a93f2['trim']();const _0x2ed8d2={};for(const _0xb117f4 of _0x4e385c){const _0x5258f7=path[_0x4b9ec2(0xf3)](_0xb117f4[_0x4b9ec2(0x105)]())||'.';_0x2ed8d2[_0x5258f7]=(_0x2ed8d2[_0x5258f7]||0x0)+0x1;}const _0x32e6fb=Object[_0x4b9ec2(0xee)](_0x2ed8d2)['sort']((_0x59e5eb,_0x301b76)=>_0x301b76[0x1]-_0x59e5eb[0x1]),_0x532ba6=[_0x4e385c[_0x4b9ec2(0x12f)]+_0x4b9ec2(0x13a)+_0x32e6fb[_0x4b9ec2(0x12f)]+'\x20directories',''],_0x27b883=0x1e;for(const [_0x49dac2,_0xa96def]of _0x32e6fb[_0x4b9ec2(0x153)](0x0,_0x27b883)){_0x532ba6[_0x4b9ec2(0x130)]('\x20\x20'+_0x49dac2+_0x4b9ec2(0x142)+_0xa96def+_0x4b9ec2(0x11e));}return _0x32e6fb[_0x4b9ec2(0x12f)]>_0x27b883&&_0x532ba6[_0x4b9ec2(0x130)]('\x20\x20...\x20+'+(_0x32e6fb[_0x4b9ec2(0x12f)]-_0x27b883)+_0x4b9ec2(0x14a)),_0x532ba6[_0x4b9ec2(0x10a)]('\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>
@@ -759,6 +772,30 @@
759
772
  // Chart + summary always use AI-only logs
760
773
  renderChart(aiLogs, resolvedModel);
761
774
 
775
+ // Security banner — aggregate across all logs
776
+ let totalSecrets = 0;
777
+ const allSecretTypes = {};
778
+ logs.forEach(l => {
779
+ if (l.secrets_found) {
780
+ totalSecrets += l.secrets_found;
781
+ (l.secret_types || []).forEach(t => { allSecretTypes[t] = (allSecretTypes[t] || 0) + 1; });
782
+ }
783
+ });
784
+ const secBanner = document.getElementById('security-banner');
785
+ if (totalSecrets > 0) {
786
+ secBanner.style.display = 'block';
787
+ document.getElementById('sec-title').innerText = `${totalSecrets} secret${totalSecrets > 1 ? 's' : ''} blocked`;
788
+ document.getElementById('sec-subtitle').innerText = `TrimPrompt prevented sensitive data from reaching LLM APIs`;
789
+ const tagsEl = document.getElementById('sec-tags');
790
+ tagsEl.innerHTML = Object.entries(allSecretTypes)
791
+ .sort((a, b) => b[1] - a[1])
792
+ .slice(0, 8)
793
+ .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>`)
794
+ .join('');
795
+ } else {
796
+ secBanner.style.display = 'none';
797
+ }
798
+
762
799
  const displayLogs = currentFilter === 'ai' ? aiLogs : logs;
763
800
 
764
801
  const tbody = document.getElementById('history-table-body');
@@ -781,7 +818,7 @@
781
818
 
782
819
  tr.innerHTML = `
783
820
  <td>${time}</td>
784
- <td style="font-weight: 500;">${log.command}</td>
821
+ <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
822
  <td>${log.estimated_raw_tokens.toLocaleString()}</td>
786
823
  <td>${log.estimated_compressed_tokens.toLocaleString()}</td>
787
824
  <td style="color: var(--emerald); font-weight: 600;">${savingsPct}%</td>
@@ -791,7 +828,7 @@
791
828
  </span>
792
829
  </td>
793
830
  <td>
794
- <button class="btn-inspect" onclick="inspectDiff('${log.id}', '${log.command}')">Inspect</button>
831
+ <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
832
  </td>
796
833
  `;
797
834
  tbody.appendChild(tr);
@@ -801,6 +838,48 @@
801
838
  }
802
839
  }
803
840
 
841
+ function escapeHtml(text) {
842
+ return text.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;');
843
+ }
844
+
845
+ // Human-friendly labels for redactor rule types (see redactor.ts)
846
+ const SECRET_TYPE_LABELS = {
847
+ aws_key: 'AWS access key',
848
+ aws_secret: 'AWS secret key',
849
+ gcp_key: 'GCP service account key',
850
+ azure_conn: 'Azure connection string',
851
+ anthropic_key: 'Anthropic API key',
852
+ openai_key: 'OpenAI API key',
853
+ github_token: 'GitHub token',
854
+ slack_token: 'Slack token',
855
+ stripe_key: 'Stripe key',
856
+ twilio_key: 'Twilio key',
857
+ sendgrid_key: 'SendGrid key',
858
+ private_key: 'Private key',
859
+ jwt: 'JWT token',
860
+ bearer: 'Bearer token',
861
+ basic_auth: 'Basic auth',
862
+ db_connection: 'Database connection',
863
+ generic_credential: 'API key / credential',
864
+ ip_address: 'IP address',
865
+ email: 'Email address'
866
+ };
867
+ function secretLabel(t) {
868
+ return SECRET_TYPE_LABELS[t] || String(t).replace(/_/g, ' ');
869
+ }
870
+
871
+ // Highlights [REDACTED_*] markers. mode 'red' marks where a secret was caught
872
+ // (left/raw pane); mode 'green' marks the safe replacement (right/output pane).
873
+ function highlightRedacted(html, mode) {
874
+ const red = mode === 'red';
875
+ const bg = red ? 'rgba(239,68,68,0.16)' : 'rgba(16,185,129,0.18)';
876
+ const fg = red ? '#FCA5A5' : '#5DCAA5';
877
+ const bd = red ? 'rgba(239,68,68,0.45)' : 'rgba(16,185,129,0.3)';
878
+ return html.replace(/\[REDACTED_[A-Z_]+\]/g, match =>
879
+ `<span style="background:${bg};color:${fg};padding:1px 6px;border-radius:3px;border:1px solid ${bd};font-weight:500;">${match}</span>`
880
+ );
881
+ }
882
+
804
883
  function detectFilterType(raw, compressed, command) {
805
884
  const rawLen = raw.length;
806
885
  const compLen = compressed.length;
@@ -829,7 +908,15 @@
829
908
  return { pct, rawLen, compLen, tags };
830
909
  }
831
910
 
832
- async function inspectDiff(id, command) {
911
+ function inspectFromBtn(btn) {
912
+ const id = btn.getAttribute('data-id');
913
+ const cmd = btn.getAttribute('data-cmd');
914
+ const sec = parseInt(btn.getAttribute('data-sec') || '0');
915
+ const types = (btn.getAttribute('data-types') || '').split(',').filter(Boolean);
916
+ inspectDiff(id, cmd, sec, types);
917
+ }
918
+
919
+ async function inspectDiff(id, command, secretsFound, secretTypes) {
833
920
  try {
834
921
  document.getElementById('modal-command-title').innerText = `Inspector: trim ${command}`;
835
922
  document.getElementById('diff-raw').innerText = 'Loading...';
@@ -839,8 +926,8 @@
839
926
  const response = await fetch(`/api/stats/inspect/${id}`);
840
927
  const data = await response.json();
841
928
 
842
- document.getElementById('diff-raw').innerText = data.raw;
843
- document.getElementById('diff-comp').innerText = data.compressed;
929
+ document.getElementById('diff-raw').innerHTML = highlightRedacted(escapeHtml(data.raw), 'red');
930
+ document.getElementById('diff-comp').innerHTML = highlightRedacted(escapeHtml(data.compressed), 'green');
844
931
 
845
932
  const info = detectFilterType(data.raw, data.compressed, command);
846
933
  const bar = document.getElementById('inspect-info-bar');
@@ -852,6 +939,24 @@
852
939
  });
853
940
  bar.innerHTML = html;
854
941
  bar.style.display = 'flex';
942
+
943
+ // Security bar — show only when secrets were found
944
+ let secBar = document.getElementById('inspect-security-bar');
945
+ if (!secBar) {
946
+ secBar = document.createElement('div');
947
+ secBar.id = 'inspect-security-bar';
948
+ bar.parentNode.insertBefore(secBar, bar.nextSibling);
949
+ }
950
+ if (secretsFound && secretsFound > 0) {
951
+ 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>`;
952
+ (secretTypes || []).forEach(t => {
953
+ 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>`;
954
+ });
955
+ secBar.innerHTML = secHtml;
956
+ 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;';
957
+ } else {
958
+ secBar.style.display = 'none';
959
+ }
855
960
  } catch (err) {
856
961
  console.error('Failed to load diff logs', err);
857
962
  }
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_0x5cb18c=a0_0x4f2f;(function(_0x40e49f,_0x2df2d7){const _0xf0e51d=a0_0x4f2f,_0x627c73=_0x40e49f();while(!![]){try{const _0x521a43=parseInt(_0xf0e51d(0x1f6))/0x1+parseInt(_0xf0e51d(0x21c))/0x2+-parseInt(_0xf0e51d(0x1f1))/0x3*(-parseInt(_0xf0e51d(0x1ef))/0x4)+parseInt(_0xf0e51d(0x20a))/0x5+-parseInt(_0xf0e51d(0x200))/0x6*(-parseInt(_0xf0e51d(0x1f7))/0x7)+parseInt(_0xf0e51d(0x213))/0x8*(-parseInt(_0xf0e51d(0x21d))/0x9)+-parseInt(_0xf0e51d(0x20b))/0xa;if(_0x521a43===_0x2df2d7)break;else _0x627c73['push'](_0x627c73['shift']());}catch(_0x1a8ff2){_0x627c73['push'](_0x627c73['shift']());}}}(a0_0x4287,0x5fa4c));function a0_0x4287(){const _0x53c1db=['default','close','create','714232VATvKQ','595XgGUFM','stringify','defineProperty','call','stdout','__esModule','parse','type','child_process','39750DfnhUL','text','jsonrpc','line','mcp\x20tool\x20(id:\x20','pipe','inherit','write','readline','stdin','2455620joeUeD','17531390sFJeVD','exit','[TrimPrompt]\x20MCP\x20Server\x20Spawn\x20Error:\x20','getOwnPropertyDescriptor','mcp-tool-call','tracker','trim','error','1016qtZMaO','string','createInterface','2.0','__importStar','writable','length','spawn','./filters','1501416SKPgsz','35163xHRsfn','result','97516tbDSBV','compressOutput','15IioxJf','getConfig'];a0_0x4287=function(){return _0x53c1db;};return a0_0x4287();}var __createBinding=this&&this['__createBinding']||(Object[a0_0x5cb18c(0x1f5)]?function(_0x35db1d,_0x3fbfca,_0x4a3d3a,_0x256021){const _0x2d72d4=a0_0x5cb18c;if(_0x256021===undefined)_0x256021=_0x4a3d3a;var _0x3eb337=Object[_0x2d72d4(0x20e)](_0x3fbfca,_0x4a3d3a);(!_0x3eb337||('get'in _0x3eb337?!_0x3fbfca[_0x2d72d4(0x1fc)]:_0x3eb337[_0x2d72d4(0x218)]||_0x3eb337['configurable']))&&(_0x3eb337={'enumerable':!![],'get':function(){return _0x3fbfca[_0x4a3d3a];}}),Object['defineProperty'](_0x35db1d,_0x256021,_0x3eb337);}:function(_0x113a5a,_0x114a6e,_0x1d4828,_0x5a9e39){if(_0x5a9e39===undefined)_0x5a9e39=_0x1d4828;_0x113a5a[_0x5a9e39]=_0x114a6e[_0x1d4828];}),__setModuleDefault=this&&this['__setModuleDefault']||(Object[a0_0x5cb18c(0x1f5)]?function(_0x1c60de,_0x4006eb){const _0x15d7bc=a0_0x5cb18c;Object[_0x15d7bc(0x1f9)](_0x1c60de,_0x15d7bc(0x1f3),{'enumerable':!![],'value':_0x4006eb});}:function(_0x34aa9e,_0xb2b745){const _0x2c5c76=a0_0x5cb18c;_0x34aa9e[_0x2c5c76(0x1f3)]=_0xb2b745;}),__importStar=this&&this[a0_0x5cb18c(0x217)]||(function(){var _0x3295d=function(_0x4d55d4){return _0x3295d=Object['getOwnPropertyNames']||function(_0x520806){const _0x55f1ce=a0_0x4f2f;var _0x590b78=[];for(var _0xeb35d7 in _0x520806)if(Object['prototype']['hasOwnProperty'][_0x55f1ce(0x1fa)](_0x520806,_0xeb35d7))_0x590b78[_0x590b78[_0x55f1ce(0x219)]]=_0xeb35d7;return _0x590b78;},_0x3295d(_0x4d55d4);};return function(_0x471daf){const _0x5c2801=a0_0x4f2f;if(_0x471daf&&_0x471daf[_0x5c2801(0x1fc)])return _0x471daf;var _0x26ae3e={};if(_0x471daf!=null){for(var _0x1bdfea=_0x3295d(_0x471daf),_0x1a9c29=0x0;_0x1a9c29<_0x1bdfea[_0x5c2801(0x219)];_0x1a9c29++)if(_0x1bdfea[_0x1a9c29]!==_0x5c2801(0x1f3))__createBinding(_0x26ae3e,_0x471daf,_0x1bdfea[_0x1a9c29]);}return __setModuleDefault(_0x26ae3e,_0x471daf),_0x26ae3e;};}());function a0_0x4f2f(_0x5192e8,_0x4eab78){_0x5192e8=_0x5192e8-0x1ef;const _0x4287fe=a0_0x4287();let _0x4f2f79=_0x4287fe[_0x5192e8];return _0x4f2f79;}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['runMcpProxy']=runMcpProxy;const child_process_1=require(a0_0x5cb18c(0x1ff)),readline=__importStar(require(a0_0x5cb18c(0x208))),filters_1=require(a0_0x5cb18c(0x21b)),tracker_1=require('./tracker');function runMcpProxy(_0x1fce36,_0xa4c3d3){const _0x5c9957=a0_0x5cb18c,_0x59308c=(0x0,child_process_1[_0x5c9957(0x21a)])(_0x1fce36,_0xa4c3d3,{'stdio':[_0x5c9957(0x205),_0x5c9957(0x205),_0x5c9957(0x206)]});process[_0x5c9957(0x209)][_0x5c9957(0x205)](_0x59308c[_0x5c9957(0x209)]);const _0x31e47e=readline[_0x5c9957(0x215)]({'input':_0x59308c[_0x5c9957(0x1fb)],'terminal':![]});_0x31e47e['on'](_0x5c9957(0x203),_0x40653c=>{const _0x10b6d6=_0x5c9957;try{const _0x2307d9=JSON[_0x10b6d6(0x1fd)](_0x40653c);if(_0x2307d9&&_0x2307d9[_0x10b6d6(0x202)]===_0x10b6d6(0x216)&&_0x2307d9['id']!==undefined&&_0x2307d9[_0x10b6d6(0x21e)]&&Array['isArray'](_0x2307d9[_0x10b6d6(0x21e)]['content'])){let _0x1366fd=![];for(const _0x3578a3 of _0x2307d9[_0x10b6d6(0x21e)]['content']){if(_0x3578a3[_0x10b6d6(0x1fe)]==='text'&&typeof _0x3578a3[_0x10b6d6(0x201)]===_0x10b6d6(0x214)&&_0x3578a3[_0x10b6d6(0x201)][_0x10b6d6(0x211)]()['length']>0x0){const _0x50c8e8=_0x3578a3['text'],_0x248b53=(0x0,filters_1[_0x10b6d6(0x1f0)])(_0x10b6d6(0x20f),_0x50c8e8,'',tracker_1[_0x10b6d6(0x210)][_0x10b6d6(0x1f2)]()['redaction_enabled']);tracker_1[_0x10b6d6(0x210)]['logExecution'](_0x10b6d6(0x204)+_0x2307d9['id']+')',_0x50c8e8,_0x248b53,0x0),_0x3578a3[_0x10b6d6(0x201)]=_0x248b53,_0x1366fd=!![];}}_0x1366fd?process['stdout'][_0x10b6d6(0x207)](JSON[_0x10b6d6(0x1f8)](_0x2307d9)+'\x0a'):process[_0x10b6d6(0x1fb)]['write'](_0x40653c+'\x0a');}else process[_0x10b6d6(0x1fb)]['write'](_0x40653c+'\x0a');}catch{process['stdout'][_0x10b6d6(0x207)](_0x40653c+'\x0a');}}),_0x59308c['on'](_0x5c9957(0x1f4),_0x205937=>{const _0x54c406=_0x5c9957;process[_0x54c406(0x20c)](_0x205937||0x0);}),_0x59308c['on'](_0x5c9957(0x212),_0x2e509a=>{const _0x5040f1=_0x5c9957;console['error'](_0x5040f1(0x20d)+_0x2e509a['message']),process[_0x5040f1(0x20c)](0x1);});}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trimprompt",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
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_0x3ec13d=a0_0x1009;function a0_0x1009(_0x268140,_0x722d54){_0x268140=_0x268140-0x16d;const _0xfe8bbd=a0_0xfe8b();let _0x1009d8=_0xfe8bbd[_0x268140];return _0x1009d8;}(function(_0x4b99ce,_0x11d199){const _0x549fe3=a0_0x1009,_0xb80051=_0x4b99ce();while(!![]){try{const _0x366aa2=parseInt(_0x549fe3(0x174))/0x1*(parseInt(_0x549fe3(0x16d))/0x2)+parseInt(_0x549fe3(0x199))/0x3+-parseInt(_0x549fe3(0x1a5))/0x4*(-parseInt(_0x549fe3(0x16e))/0x5)+parseInt(_0x549fe3(0x193))/0x6*(-parseInt(_0x549fe3(0x1a4))/0x7)+-parseInt(_0x549fe3(0x190))/0x8*(parseInt(_0x549fe3(0x1a0))/0x9)+parseInt(_0x549fe3(0x198))/0xa+-parseInt(_0x549fe3(0x1ae))/0xb;if(_0x366aa2===_0x11d199)break;else _0xb80051['push'](_0xb80051['shift']());}catch(_0x4bc459){_0xb80051['push'](_0xb80051['shift']());}}}(a0_0xfe8b,0xaf379));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a0_0x3ec13d(0x184)]=exports[a0_0x3ec13d(0x19f)]=void 0x0;function a0_0xfe8b(){const _0x1f6ac0=['anthropic_key','3944950XPaIqM','1542108kOXKvP','Bearer\x20Token','stripe_key','[REDACTED_JWT]','Azure\x20Connection\x20String','ip_address','Redactor','214497otKdFu','OpenAI\x20API\x20Key','azure_conn','Slack\x20Token','7332843PNBVoK','12EMGGZX','twilio_key','match','Basic\x20Auth','length','regex','redactWithAudit','[REDACTED_GITHUB_TOKEN]','generic_credential','9019186WqyjcE','[REDACTED_AZURE_CONNECTION]','[REDACTED_STRIPE_KEY]','[REDACTED_EMAIL]','[REDACTED_ANTHROPIC_KEY]','514934SNQyPD','2023435rYjLks','rules','[REDACTED_AWS_KEY]','[REDACTED_SLACK_TOKEN]','github_token','type','3syEnYN','private_key','gcp_key','loadDefaultRules','[REDACTED_DB_CONNECTION]','[REDACTED_IP]','[REDACTED_SENDGRID_KEY]','text','AWS\x20Secret\x20Key','GCP\x20Service\x20Account\x20Key','replace','basic_auth','includes','push','email','Email\x20Address','redactor','GitHub\x20Token','slack_token','Anthropic\x20API\x20Key','replacement','alert','aws_secret','[REDACTED_OPENAI_KEY]','SendGrid\x20Key','Database\x20Connection\x20String','aws_key','Twilio\x20Key','104XbhVSn','openai_key','db_connection','6ZtQlAF','Generic\x20API\x20Key/Secret/Password','IPv4\x20Address\x20(non-local)','$1=[REDACTED_CREDENTIAL]'];a0_0xfe8b=function(){return _0x1f6ac0;};return a0_0xfe8b();}class Redactor{[a0_0x3ec13d(0x16f)]=[];constructor(){const _0x58ce96=a0_0x3ec13d;this[_0x58ce96(0x177)]();}[a0_0x3ec13d(0x177)](){const _0x18ffdc=a0_0x3ec13d;this[_0x18ffdc(0x16f)]=[{'name':'AWS\x20Access\x20Key','type':_0x18ffdc(0x18e),'regex':/\b(AKIA[0-9A-Z]{16})\b/g,'replacement':_0x18ffdc(0x170)},{'name':_0x18ffdc(0x17c),'type':_0x18ffdc(0x18a),'regex':/(aws_secret_access_key|AWS_SECRET_ACCESS_KEY)[\s:=]+[A-Za-z0-9/+=]{30,}/gi,'replacement':'$1=[REDACTED_AWS_SECRET]'},{'name':_0x18ffdc(0x17d),'type':_0x18ffdc(0x176),'regex':/"private_key"\s*:\s*"-----BEGIN[^"]+-----END[^"]*"/g,'replacement':'\x22private_key\x22:\x20\x22[REDACTED_GCP_PRIVATE_KEY]\x22'},{'name':_0x18ffdc(0x19d),'type':_0x18ffdc(0x1a2),'regex':/DefaultEndpointsProtocol=https?;AccountName=[^;]+;AccountKey=[^;]+;?[^\s]*/gi,'replacement':_0x18ffdc(0x1af)},{'name':_0x18ffdc(0x187),'type':_0x18ffdc(0x197),'regex':/\bsk-ant-api\d{2}-[A-Za-z0-9_-]{20,}\b/g,'replacement':_0x18ffdc(0x1b2)},{'name':_0x18ffdc(0x1a1),'type':_0x18ffdc(0x191),'regex':/\b(sk-proj-[A-Za-z0-9_-]{20,}|sk-[A-Za-z0-9]{32,})\b/g,'replacement':_0x18ffdc(0x18b)},{'name':_0x18ffdc(0x185),'type':_0x18ffdc(0x172),'regex':/\b(ghp_[A-Za-z0-9]{20,}|gho_[A-Za-z0-9]{20,}|github_pat_[A-Za-z0-9_]{22,})\b/g,'replacement':_0x18ffdc(0x1ac)},{'name':_0x18ffdc(0x1a3),'type':_0x18ffdc(0x186),'regex':/\b(xoxb-[0-9A-Za-z-]+|xoxp-[0-9A-Za-z-]+|xapp-[0-9A-Za-z-]+)\b/g,'replacement':_0x18ffdc(0x171)},{'name':'Stripe\x20Key','type':_0x18ffdc(0x19b),'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':_0x18ffdc(0x1b0)},{'name':_0x18ffdc(0x18f),'type':_0x18ffdc(0x1a6),'regex':/\bSK[0-9a-f]{32}\b/g,'replacement':'[REDACTED_TWILIO_KEY]'},{'name':_0x18ffdc(0x18c),'type':'sendgrid_key','regex':/\bSG\.[A-Za-z0-9_-]{22,}\.[A-Za-z0-9_-]{22,}\b/g,'replacement':_0x18ffdc(0x17a)},{'name':'Private\x20Key\x20Block','type':_0x18ffdc(0x175),'regex':/-----BEGIN\s+(RSA|EC|DSA|ED25519|OPENSSH|PGP)?\s*PRIVATE KEY-----[\s\S]*?-----END\s+(RSA|EC|DSA|ED25519|OPENSSH|PGP)?\s*PRIVATE KEY-----/g,'replacement':'[REDACTED_PRIVATE_KEY]'},{'name':'JWT\x20Token','type':'jwt','regex':/\beyJ[A-Za-z0-9_-]{10,}\.eyJ[A-Za-z0-9_-]{10,}\.[A-Za-z0-9_-]{10,}\b/g,'replacement':_0x18ffdc(0x19c)},{'name':_0x18ffdc(0x19a),'type':'bearer','regex':/Bearer\s+[A-Za-z0-9_\-.]{20,}/gi,'replacement':'Bearer\x20[REDACTED_TOKEN]'},{'name':_0x18ffdc(0x1a8),'type':_0x18ffdc(0x17f),'regex':/Basic\s+[A-Za-z0-9+/=]{10,}/gi,'replacement':'Basic\x20[REDACTED_AUTH]'},{'name':_0x18ffdc(0x18d),'type':_0x18ffdc(0x192),'regex':/(mongodb(\+srv)?|postgres|postgresql|mysql|redis|amqp|sqlite):\/\/[A-Za-z0-9_]+:[^@\s\n]+@[^\s\n]+/gi,'replacement':_0x18ffdc(0x178)},{'name':_0x18ffdc(0x194),'type':_0x18ffdc(0x1ad),'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':_0x18ffdc(0x196)},{'name':_0x18ffdc(0x195),'type':_0x18ffdc(0x19e),'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':_0x18ffdc(0x179),'alert':![]},{'name':_0x18ffdc(0x183),'type':_0x18ffdc(0x182),'regex':/\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b/g,'replacement':_0x18ffdc(0x1b1),'alert':![]}];}['redact'](_0x38d754){const _0x2475c3=a0_0x3ec13d;return this['redactWithAudit'](_0x38d754)[_0x2475c3(0x17b)];}[a0_0x3ec13d(0x1ab)](_0x1b200c){const _0x4e9a20=a0_0x3ec13d;let _0x25a8e0=_0x1b200c,_0x93ff38=0x0;const _0x254d3d=[];for(const _0x479bd1 of this[_0x4e9a20(0x16f)]){const _0x574966=_0x25a8e0[_0x4e9a20(0x1a7)](_0x479bd1[_0x4e9a20(0x1aa)]);_0x574966&&_0x574966['length']>0x0&&(_0x479bd1[_0x4e9a20(0x189)]!==![]&&(_0x93ff38+=_0x574966[_0x4e9a20(0x1a9)],!_0x254d3d[_0x4e9a20(0x180)](_0x479bd1[_0x4e9a20(0x173)])&&_0x254d3d[_0x4e9a20(0x181)](_0x479bd1[_0x4e9a20(0x173)])),_0x25a8e0=_0x25a8e0[_0x4e9a20(0x17e)](_0x479bd1[_0x4e9a20(0x1aa)],_0x479bd1[_0x4e9a20(0x188)]));}return{'text':_0x25a8e0,'secretsFound':_0x93ff38,'secretTypes':_0x254d3d};}}exports[a0_0x3ec13d(0x19f)]=Redactor,exports[a0_0x3ec13d(0x184)]=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';function a0_0x508b(){const _0x544a13=['logExecution','104642WaHCEN','[SUCCESS]\x20Compiled\x20512\x20modules.\x0a','npm\x20run\x20build','defineProperty','348444ETRvRh','12jvivOR','Step\x202/10\x20:\x20COPY\x20package.json\x20.\x0a','Compilation\x20Output:\x0a','repeat','added\x201420\x20packages\x20in\x2014s\x0a','docker\x20build\x20.','[INFO]\x20Building\x20modules...\x0a','5375272IEGzxe','All\x20303\x20tests\x20passed\x20in\x204.22s.','test_db.py\x20PASS\x0a','Optimizing\x20assets...\x0a','tracker','test_api.py\x20PASS\x0a','./tracker','Sending\x20build\x20context\x20to\x20Docker\x20daemon...\x0a','2440gcbyWJ','900980IsvXgV','Successfully\x20built\x20image.','360787TmOSxm','gemini-1-5-pro','pytest\x20tests/app','1519912ybTBBJ','pytest\x20app:\x20303\x20tests\x20passed\x20in\x204.22s.','claude-3-opus','log','918HKAYty','Database\x20successfully\x20seeded!','130mOaQGO','gpt-4o','__esModule'];a0_0x508b=function(){return _0x544a13;};return a0_0x508b();}const a0_0x5b3403=a0_0x559a;function a0_0x559a(_0x50c1e2,_0x4580c4){_0x50c1e2=_0x50c1e2-0x117;const _0x508b77=a0_0x508b();let _0x559a62=_0x508b77[_0x50c1e2];return _0x559a62;}(function(_0x13128f,_0x249180){const _0xf57d08=a0_0x559a,_0x5b16ee=_0x13128f();while(!![]){try{const _0x4266db=parseInt(_0xf57d08(0x123))/0x1+-parseInt(_0xf57d08(0x130))/0x2*(-parseInt(_0xf57d08(0x135))/0x3)+-parseInt(_0xf57d08(0x121))/0x4+-parseInt(_0xf57d08(0x120))/0x5*(parseInt(_0xf57d08(0x12a))/0x6)+parseInt(_0xf57d08(0x118))/0x7+parseInt(_0xf57d08(0x126))/0x8+-parseInt(_0xf57d08(0x134))/0x9*(parseInt(_0xf57d08(0x12c))/0xa);if(_0x4266db===_0x249180)break;else _0x5b16ee['push'](_0x5b16ee['shift']());}catch(_0x450541){_0x5b16ee['push'](_0x5b16ee['shift']());}}}(a0_0x508b,0xb0f03));Object[a0_0x5b3403(0x133)](exports,a0_0x5b3403(0x12e),{'value':!![]});const tracker_1=require(a0_0x5b3403(0x11e));console[a0_0x5b3403(0x129)]('Seeding\x20TrimPrompt\x20database\x20with\x20mock\x20LLM\x20command\x20telemetry...'),process.env.TRIMPROMPT_MODEL=a0_0x5b3403(0x128),tracker_1['tracker']['logExecution'](a0_0x5b3403(0x132),a0_0x5b3403(0x137)+a0_0x5b3403(0x117)+a0_0x5b3403(0x11b)+a0_0x5b3403(0x131)['repeat'](0x190),'[INFO]\x20Building\x20modules...\x0a[SUCCESS]\x20Compiled\x20512\x20modules.\x20(repeated\x20400\x20times)',0x0),process.env.TRIMPROMPT_MODEL=a0_0x5b3403(0x12d),tracker_1[a0_0x5b3403(0x11c)]['logExecution'](a0_0x5b3403(0x125),'Test\x20suite\x20run\x20starting...\x0a'+'test_auth.py\x20PASS\x0a'+a0_0x5b3403(0x11a)+a0_0x5b3403(0x11d)['repeat'](0x12c)+a0_0x5b3403(0x119),a0_0x5b3403(0x127),0x0),process.env.TRIMPROMPT_MODEL=a0_0x5b3403(0x124),tracker_1[a0_0x5b3403(0x11c)][a0_0x5b3403(0x12f)](a0_0x5b3403(0x13a),a0_0x5b3403(0x11f)+'Step\x201/10\x20:\x20FROM\x20node:20\x0a'+a0_0x5b3403(0x136)+'Step\x203/10\x20:\x20RUN\x20npm\x20install\x0a'+a0_0x5b3403(0x139)[a0_0x5b3403(0x138)](0x3)+a0_0x5b3403(0x122),'docker\x20build:\x201420\x20packages\x20added.\x20Successfully\x20built\x20image.',0x0),console[a0_0x5b3403(0x129)](a0_0x5b3403(0x12b));