trimprompt 1.0.7 → 1.0.8

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';function a0_0x4f05(_0x112185,_0x8c4fa7){const _0x14228b=a0_0x1422();return a0_0x4f05=function(_0x4f0562,_0x23b3a6){_0x4f0562=_0x4f0562-0x1b8;let _0x584019=_0x14228b[_0x4f0562];return _0x584019;},a0_0x4f05(_0x112185,_0x8c4fa7);}const a0_0x459912=a0_0x4f05;(function(_0x521e5a,_0x59ede0){const _0x3c598a=a0_0x4f05,_0x40d70b=_0x521e5a();while(!![]){try{const _0x499f4e=-parseInt(_0x3c598a(0x1c7))/0x1+-parseInt(_0x3c598a(0x1c3))/0x2+-parseInt(_0x3c598a(0x1ca))/0x3*(-parseInt(_0x3c598a(0x1cf))/0x4)+-parseInt(_0x3c598a(0x1d2))/0x5*(-parseInt(_0x3c598a(0x1d3))/0x6)+parseInt(_0x3c598a(0x1d7))/0x7*(-parseInt(_0x3c598a(0x1de))/0x8)+-parseInt(_0x3c598a(0x1ce))/0x9*(parseInt(_0x3c598a(0x1ba))/0xa)+parseInt(_0x3c598a(0x1be))/0xb;if(_0x499f4e===_0x59ede0)break;else _0x40d70b['push'](_0x40d70b['shift']());}catch(_0x2abed8){_0x40d70b['push'](_0x40d70b['shift']());}}}(a0_0x1422,0xb92cd));function a0_0x1422(){const _0x4d5d57=['22160Xnrddf','\x20passed','Tests:','filterNpmInstall','24838099cHamAU','replace','length','Test\x20Files:','match','633668WggCSj','\x20lines\x20of\x20trace\x20details\x20truncated)','slice','FAIL\x20\x20','993713aXWARO','\x20failed\x20(','found\x20','8523oMXqZv','added\x20','Test\x20Runner:\x20','\x20passed,\x20','495Fxhtha','1324GofWtn','includes','startsWith','36395kTFhcL','180aPnFOs','push','Test\x20Suites:','join','7FKzUBv','FAIL','split','__esModule','NPM:\x20Packages\x20verified/installed\x20successfully','\x0aFailures:','removed\x20','9806768pOmAUf','filterJestVitest','PASS','trim','up\x20to\x20date'];a0_0x1422=function(){return _0x4d5d57;};return a0_0x1422();}Object['defineProperty'](exports,a0_0x459912(0x1da),{'value':!![]}),exports[a0_0x459912(0x1bd)]=filterNpmInstall,exports[a0_0x459912(0x1df)]=filterJestVitest;function filterNpmInstall(_0x1e7235){const _0x5e5e69=a0_0x459912,_0x84a6=_0x1e7235[_0x5e5e69(0x1bf)](/\r/g,'\x0a'),_0x14b5fe=_0x84a6[_0x5e5e69(0x1d9)]('\x0a'),_0x42a3f6=[];for(const _0x14704a of _0x14b5fe){const _0x18d92d=_0x14704a[_0x5e5e69(0x1b8)]();(_0x18d92d['includes'](_0x5e5e69(0x1cb))||_0x18d92d[_0x5e5e69(0x1d0)](_0x5e5e69(0x1dd))||_0x18d92d[_0x5e5e69(0x1d0)]('audited\x20')||_0x18d92d[_0x5e5e69(0x1d0)](_0x5e5e69(0x1b9))||_0x18d92d['includes'](_0x5e5e69(0x1c9)))&&(!_0x18d92d[_0x5e5e69(0x1d0)]('%')&&!_0x18d92d[_0x5e5e69(0x1d1)]('⠋')&&!_0x18d92d[_0x5e5e69(0x1d1)]('⠙')&&_0x42a3f6[_0x5e5e69(0x1d4)](_0x18d92d));}const _0x1efb00=_0x42a3f6[_0x5e5e69(0x1d6)]('\x0a')['trim']();return _0x1efb00[_0x5e5e69(0x1c0)]>0x0?_0x1efb00:_0x5e5e69(0x1db);}function filterJestVitest(_0x482cce){const _0x52c908=a0_0x459912,_0xeb9733=_0x482cce[_0x52c908(0x1d9)]('\x0a');let _0x4a1bd9=0x0,_0x105e86=0x0,_0x3cd9e0=0x0;const _0x2e4cb1=[];let _0x3d5a33=![];for(const _0xe7cf1e of _0xeb9733){const _0x2f9e4c=_0xe7cf1e[_0x52c908(0x1b8)]();if(_0x2f9e4c[_0x52c908(0x1d1)](_0x52c908(0x1bc))||_0x2f9e4c['includes'](_0x52c908(0x1c1))){const _0x265193=_0x2f9e4c['match'](/(\d+)\s+passed/),_0xe66a95=_0x2f9e4c[_0x52c908(0x1c2)](/(\d+)\s+failed/),_0x5e6d89=_0x2f9e4c[_0x52c908(0x1c2)](/(\d+)\s+total/);if(_0x265193)_0x4a1bd9=parseInt(_0x265193[0x1]);if(_0xe66a95)_0x105e86=parseInt(_0xe66a95[0x1]);if(_0x5e6d89)_0x3cd9e0=parseInt(_0x5e6d89[0x1]);continue;}(_0x2f9e4c[_0x52c908(0x1d1)]('❯')||_0x2f9e4c[_0x52c908(0x1d1)]('●')||_0x2f9e4c[_0x52c908(0x1d1)](_0x52c908(0x1c6)))&&(_0x3d5a33=!![]),_0x3d5a33&&(_0x2f9e4c['length']>0x0&&!_0x2f9e4c[_0x52c908(0x1d1)](_0x52c908(0x1d5))&&!_0x2f9e4c[_0x52c908(0x1d1)]('Tests:')&&_0x2e4cb1[_0x52c908(0x1d4)](_0xe7cf1e));}if(_0x3cd9e0===0x0&&_0x4a1bd9===0x0&&_0x105e86===0x0){if(_0x482cce[_0x52c908(0x1d0)](_0x52c908(0x1e0))&&!_0x482cce[_0x52c908(0x1d0)](_0x52c908(0x1d8))){const _0x44a116=_0x482cce[_0x52c908(0x1c2)](/(\d+)\s+passed/),_0x156e90=_0x44a116?_0x44a116[0x1]:'all';return _0x52c908(0x1cc)+_0x156e90+_0x52c908(0x1bb);}return _0x482cce;}if(_0x105e86===0x0&&_0x4a1bd9>0x0)return _0x52c908(0x1cc)+_0x4a1bd9+_0x52c908(0x1bb);const _0x4695b1=[_0x52c908(0x1cc)+_0x4a1bd9+_0x52c908(0x1cd)+_0x105e86+_0x52c908(0x1c8)+_0x3cd9e0+'\x20total)'];if(_0x2e4cb1[_0x52c908(0x1c0)]>0x0){_0x4695b1[_0x52c908(0x1d4)](_0x52c908(0x1dc));const _0x352b04=0x19,_0x1d6ca3=_0x2e4cb1[_0x52c908(0x1c5)](0x0,_0x352b04);for(const _0x240db4 of _0x1d6ca3){_0x4695b1['push']('\x20\x20'+_0x240db4);}_0x2e4cb1[_0x52c908(0x1c0)]>_0x352b04&&_0x4695b1[_0x52c908(0x1d4)]('\x20\x20...\x20('+(_0x2e4cb1[_0x52c908(0x1c0)]-_0x352b04)+_0x52c908(0x1c4));}return _0x4695b1['join']('\x0a');}
1
+ 'use strict';const a0_0x4faa20=a0_0x4f54;(function(_0x298f02,_0x366f43){const _0x1e7c2c=a0_0x4f54,_0x31c6a1=_0x298f02();while(!![]){try{const _0x4d9a77=-parseInt(_0x1e7c2c(0x106))/0x1+-parseInt(_0x1e7c2c(0x108))/0x2+-parseInt(_0x1e7c2c(0x116))/0x3*(-parseInt(_0x1e7c2c(0x129))/0x4)+-parseInt(_0x1e7c2c(0x104))/0x5*(-parseInt(_0x1e7c2c(0x10d))/0x6)+parseInt(_0x1e7c2c(0x122))/0x7*(-parseInt(_0x1e7c2c(0x124))/0x8)+-parseInt(_0x1e7c2c(0x11c))/0x9*(-parseInt(_0x1e7c2c(0x10b))/0xa)+-parseInt(_0x1e7c2c(0x110))/0xb*(-parseInt(_0x1e7c2c(0x118))/0xc);if(_0x4d9a77===_0x366f43)break;else _0x31c6a1['push'](_0x31c6a1['shift']());}catch(_0x1fa0ce){_0x31c6a1['push'](_0x31c6a1['shift']());}}}(a0_0x1178,0xbde77));function a0_0x4f54(_0x24028c,_0x286667){const _0x11782f=a0_0x1178();return a0_0x4f54=function(_0x4f546d,_0x36424f){_0x4f546d=_0x4f546d-0xff;let _0x4611c8=_0x11782f[_0x4f546d];return _0x4611c8;},a0_0x4f54(_0x24028c,_0x286667);}Object[a0_0x4faa20(0x125)](exports,a0_0x4faa20(0x123),{'value':!![]}),exports[a0_0x4faa20(0x115)]=filterNpmInstall,exports[a0_0x4faa20(0x105)]=filterJestVitest;function filterNpmInstall(_0x5ee3b6){const _0x6e28a6=a0_0x4faa20,_0xef088=_0x5ee3b6[_0x6e28a6(0x113)](/\r/g,'\x0a'),_0x2e7a86=_0xef088[_0x6e28a6(0x11a)]('\x0a'),_0x1bfdbf=[];for(const _0x4d8191 of _0x2e7a86){const _0x5c2b94=_0x4d8191[_0x6e28a6(0x112)]();(_0x5c2b94[_0x6e28a6(0x128)](_0x6e28a6(0x119))||_0x5c2b94[_0x6e28a6(0x128)](_0x6e28a6(0x126))||_0x5c2b94[_0x6e28a6(0x128)](_0x6e28a6(0xff))||_0x5c2b94[_0x6e28a6(0x128)](_0x6e28a6(0x11b))||_0x5c2b94[_0x6e28a6(0x128)](_0x6e28a6(0x102)))&&(!_0x5c2b94[_0x6e28a6(0x128)]('%')&&!_0x5c2b94['startsWith']('⠋')&&!_0x5c2b94['startsWith']('⠙')&&_0x1bfdbf[_0x6e28a6(0x127)](_0x5c2b94));}const _0x1dfa79=_0x1bfdbf[_0x6e28a6(0x120)]('\x0a')[_0x6e28a6(0x112)]();return _0x1dfa79[_0x6e28a6(0x11f)]>0x0?_0x1dfa79:_0x6e28a6(0x10c);}function a0_0x1178(){const _0x450248=['Test\x20Suites:','filterNpmInstall','4585539lBcEUw','\x20passed','452208hSyQES','added\x20','split','up\x20to\x20date','6598071nqwPiJ','\x0aFailures:','\x20failed\x20(','length','join','\x20\x20...\x20(','14PwRYbd','__esModule','5912584yNXkqr','defineProperty','removed\x20','push','includes','4PAjgAa','audited\x20','\x20total)','Tests:','found\x20','Test\x20Runner:\x20','915JukgGy','filterJestVitest','1026534YYGyht','match','1770738SqiWba','PASS','FAIL','20OdbBOG','NPM:\x20Packages\x20verified/installed\x20successfully','162udBtTH','\x20lines\x20of\x20trace\x20details\x20truncated)','startsWith','341YxRxhz','FAIL\x20\x20','trim','replace'];a0_0x1178=function(){return _0x450248;};return a0_0x1178();}function filterJestVitest(_0x59f00e){const _0xe170f9=a0_0x4faa20,_0x332ab3=_0x59f00e['split']('\x0a');let _0x3f17a5=0x0,_0x35f568=0x0,_0xfe71a=0x0;const _0x10635f=[];let _0x2db676=![];for(const _0x4548d2 of _0x332ab3){const _0x4e6589=_0x4548d2[_0xe170f9(0x112)]();if(_0x4e6589['startsWith'](_0xe170f9(0x101))||_0x4e6589[_0xe170f9(0x128)]('Test\x20Files:')){const _0x327c9d=_0x4e6589[_0xe170f9(0x107)](/(\d+)\s+passed/),_0x24cec1=_0x4e6589[_0xe170f9(0x107)](/(\d+)\s+failed/),_0x2fd546=_0x4e6589['match'](/(\d+)\s+total/);if(_0x327c9d)_0x3f17a5=parseInt(_0x327c9d[0x1]);if(_0x24cec1)_0x35f568=parseInt(_0x24cec1[0x1]);if(_0x2fd546)_0xfe71a=parseInt(_0x2fd546[0x1]);continue;}(_0x4e6589[_0xe170f9(0x10f)]('❯')||_0x4e6589[_0xe170f9(0x10f)]('●')||_0x4e6589[_0xe170f9(0x10f)](_0xe170f9(0x111)))&&(_0x2db676=!![]),_0x2db676&&(_0x4e6589[_0xe170f9(0x11f)]>0x0&&!_0x4e6589[_0xe170f9(0x10f)](_0xe170f9(0x114))&&!_0x4e6589[_0xe170f9(0x10f)](_0xe170f9(0x101))&&_0x10635f['push'](_0x4548d2));}if(_0xfe71a===0x0&&_0x3f17a5===0x0&&_0x35f568===0x0){if(_0x59f00e[_0xe170f9(0x128)](_0xe170f9(0x109))&&!_0x59f00e[_0xe170f9(0x128)](_0xe170f9(0x10a))){const _0x234717=_0x59f00e[_0xe170f9(0x107)](/(\d+)\s+passed/),_0x2aa4d7=_0x234717?_0x234717[0x1]:'all';return _0xe170f9(0x103)+_0x2aa4d7+_0xe170f9(0x117);}return _0x59f00e;}if(_0x35f568===0x0&&_0x3f17a5>0x0)return _0xe170f9(0x103)+_0x3f17a5+'\x20passed';const _0x29c902=[_0xe170f9(0x103)+_0x3f17a5+'\x20passed,\x20'+_0x35f568+_0xe170f9(0x11e)+_0xfe71a+_0xe170f9(0x100)];if(_0x10635f['length']>0x0){_0x29c902[_0xe170f9(0x127)](_0xe170f9(0x11d));const _0x58884f=0x19,_0x392dfd=_0x10635f['slice'](0x0,_0x58884f);for(const _0x5279f0 of _0x392dfd){_0x29c902[_0xe170f9(0x127)]('\x20\x20'+_0x5279f0);}_0x10635f[_0xe170f9(0x11f)]>_0x58884f&&_0x29c902[_0xe170f9(0x127)](_0xe170f9(0x121)+(_0x10635f[_0xe170f9(0x11f)]-_0x58884f)+_0xe170f9(0x10e));}return _0x29c902[_0xe170f9(0x120)]('\x0a');}
package/filters/python.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x34d01d=a0_0x2a0c;(function(_0x192d65,_0x1dcf57){const _0x245623=a0_0x2a0c,_0x271db5=_0x192d65();while(!![]){try{const _0x1c1c0e=parseInt(_0x245623(0x161))/0x1+-parseInt(_0x245623(0x18b))/0x2*(-parseInt(_0x245623(0x184))/0x3)+parseInt(_0x245623(0x169))/0x4*(parseInt(_0x245623(0x162))/0x5)+parseInt(_0x245623(0x16e))/0x6*(parseInt(_0x245623(0x163))/0x7)+-parseInt(_0x245623(0x167))/0x8*(parseInt(_0x245623(0x177))/0x9)+parseInt(_0x245623(0x16d))/0xa*(-parseInt(_0x245623(0x188))/0xb)+parseInt(_0x245623(0x15b))/0xc*(-parseInt(_0x245623(0x186))/0xd);if(_0x1c1c0e===_0x1dcf57)break;else _0x271db5['push'](_0x271db5['shift']());}catch(_0xe58b0){_0x271db5['push'](_0x271db5['shift']());}}}(a0_0x5e6a,0x24a74));Object[a0_0x34d01d(0x165)](exports,a0_0x34d01d(0x15f),{'value':!![]}),exports[a0_0x34d01d(0x166)]=filterPytest,exports[a0_0x34d01d(0x16b)]=filterPipInstall;function a0_0x2a0c(_0x3030f2,_0x49d096){const _0x5e6ad3=a0_0x5e6a();return a0_0x2a0c=function(_0x2a0c79,_0x18a7b0){_0x2a0c79=_0x2a0c79-0x157;let _0x5d4727=_0x5e6ad3[_0x2a0c79];return _0x5d4727;},a0_0x2a0c(_0x3030f2,_0x49d096);}function filterPytest(_0x2b4b44){const _0x4d42e8=a0_0x34d01d,_0x39f537=_0x2b4b44[_0x4d42e8(0x15c)]('\x0a');let _0x354a17=0x0,_0x4341d9=0x0,_0x57e24d=0x0,_0x199cfe=0x0,_0x30bf50=0x0;const _0x16a6c8=[];let _0x5f10cc=[],_0x1a6b73=![];for(const _0x3bf185 of _0x39f537){const _0x4e8c5c=_0x3bf185['trim']();if(_0x4e8c5c[_0x4d42e8(0x164)](_0x4d42e8(0x182))||_0x4e8c5c[_0x4d42e8(0x164)](_0x4d42e8(0x17b))){_0x1a6b73=!![];continue;}else(_0x4e8c5c[_0x4d42e8(0x164)](_0x4d42e8(0x16a))||_0x4e8c5c[_0x4d42e8(0x164)](_0x4d42e8(0x170))&&_0x4e8c5c[_0x4d42e8(0x158)]('passed'))&&(_0x1a6b73=![],_0x5f10cc[_0x4d42e8(0x17c)]>0x0&&(_0x16a6c8[_0x4d42e8(0x173)](_0x5f10cc),_0x5f10cc=[]));if(_0x1a6b73){if(_0x4e8c5c[_0x4d42e8(0x164)]('___'))_0x5f10cc[_0x4d42e8(0x17c)]>0x0&&(_0x16a6c8[_0x4d42e8(0x173)](_0x5f10cc),_0x5f10cc=[]),_0x5f10cc[_0x4d42e8(0x173)](_0x4e8c5c);else _0x4e8c5c[_0x4d42e8(0x17c)]>0x0&&_0x5f10cc[_0x4d42e8(0x173)](_0x3bf185);continue;}if(_0x4e8c5c[_0x4d42e8(0x164)](_0x4d42e8(0x170))&&_0x4e8c5c[_0x4d42e8(0x158)](_0x4d42e8(0x172))){const _0x6f2bf9=_0x4e8c5c[_0x4d42e8(0x18c)](/(\d+)\s+passed/),_0x34167d=_0x4e8c5c[_0x4d42e8(0x18c)](/(\d+)\s+failed/),_0x17fc86=_0x4e8c5c[_0x4d42e8(0x18c)](/(\d+)\s+skipped/),_0x5cca38=_0x4e8c5c['match'](/(\d+)\s+xfailed/),_0x3f107d=_0x4e8c5c[_0x4d42e8(0x18c)](/(\d+)\s+xpassed/);if(_0x6f2bf9)_0x354a17=parseInt(_0x6f2bf9[0x1]);if(_0x34167d)_0x4341d9=parseInt(_0x34167d[0x1]);if(_0x17fc86)_0x57e24d=parseInt(_0x17fc86[0x1]);if(_0x5cca38)_0x199cfe=parseInt(_0x5cca38[0x1]);if(_0x3f107d)_0x30bf50=parseInt(_0x3f107d[0x1]);}}_0x5f10cc['length']>0x0&&_0x16a6c8[_0x4d42e8(0x173)](_0x5f10cc);if(_0x354a17===0x0&&_0x4341d9===0x0&&_0x57e24d===0x0&&_0x199cfe===0x0&&_0x30bf50===0x0){if(_0x2b4b44[_0x4d42e8(0x158)](_0x4d42e8(0x168))&&!_0x2b4b44[_0x4d42e8(0x158)](_0x4d42e8(0x176)))return _0x4d42e8(0x189);return _0x2b4b44;}if(_0x4341d9===0x0&&_0x354a17>0x0&&_0x57e24d===0x0&&_0x199cfe===0x0&&_0x30bf50===0x0)return _0x4d42e8(0x15e)+_0x354a17+_0x4d42e8(0x16f);const _0x490b58=[];_0x490b58[_0x4d42e8(0x173)]('Pytest:\x20'+_0x354a17+'\x20passed');if(_0x4341d9>0x0)_0x490b58['push'](_0x4341d9+_0x4d42e8(0x17a));if(_0x57e24d>0x0)_0x490b58['push'](_0x57e24d+_0x4d42e8(0x15a));if(_0x199cfe>0x0)_0x490b58[_0x4d42e8(0x173)](_0x199cfe+_0x4d42e8(0x160));if(_0x30bf50>0x0)_0x490b58[_0x4d42e8(0x173)](_0x30bf50+_0x4d42e8(0x180));const _0x592a86=[_0x490b58['join'](',\x20')];if(_0x16a6c8[_0x4d42e8(0x17c)]>0x0){_0x592a86[_0x4d42e8(0x173)](_0x4d42e8(0x16c));const _0x439597=0x3,_0x4f109c=_0x16a6c8['slice'](0x0,_0x439597);for(let _0x7b85d=0x0;_0x7b85d<_0x4f109c[_0x4d42e8(0x17c)];_0x7b85d++){const _0x50ac13=_0x4f109c[_0x7b85d],_0x21cf25=_0x50ac13[0x0][_0x4d42e8(0x178)](/_/g,'')[_0x4d42e8(0x175)]();_0x592a86[_0x4d42e8(0x173)]('\x20\x20'+(_0x7b85d+0x1)+_0x4d42e8(0x17e)+_0x21cf25);const _0x1ca63b=_0x50ac13[_0x4d42e8(0x18a)](0x1),_0x300e8e=_0x1ca63b[_0x4d42e8(0x187)](_0x26d6a9=>{const _0x1775fd=_0x4d42e8,_0x132a8b=_0x26d6a9['trim']();return _0x132a8b[_0x1775fd(0x164)]('>')||_0x132a8b['startsWith']('E\x20\x20\x20')||_0x132a8b[_0x1775fd(0x158)](_0x1775fd(0x159))||_0x132a8b[_0x1775fd(0x158)]('AssertionError:');});for(const _0x591033 of _0x300e8e[_0x4d42e8(0x18a)](0x0,0x8)){_0x592a86[_0x4d42e8(0x173)]('\x20\x20\x20\x20'+_0x591033);}_0x300e8e['length']>0x8&&_0x592a86[_0x4d42e8(0x173)](_0x4d42e8(0x181)+(_0x300e8e['length']-0x8)+_0x4d42e8(0x17d));}_0x16a6c8[_0x4d42e8(0x17c)]>_0x439597&&_0x592a86[_0x4d42e8(0x173)](_0x4d42e8(0x183)+(_0x16a6c8[_0x4d42e8(0x17c)]-_0x439597)+_0x4d42e8(0x15d));}return _0x592a86['join']('\x0a');}function a0_0x5e6a(){const _0x349854=['split','\x20more\x20failures\x20truncated','Pytest:\x20','__esModule','\x20xfailed','284186IMXDjU','114765KphtzE','52941wXtPdV','startsWith','defineProperty','filterPytest','16amOpng','passed','28VdFiic','===\x20short\x20test\x20summary\x20info\x20===','filterPipInstall','\x0aFailures:','60ZZeoJz','18MYzSNF','\x20passed','===','Collecting','\x20in\x20','push','Using\x20cached','trim','failed','1080990ePLDRb','replace','Requirement\x20already\x20satisfied','\x20failed','===\x20ERRORS\x20===','length','\x20lines\x20of\x20stacktrace\x20truncated)','.\x20[FAIL]\x20','Downloading','\x20xpassed\x20(warning!)','\x20\x20\x20\x20...\x20(','===\x20FAILURES\x20===','\x20\x20...\x20+','216XOOOyB','join','553072sPtehk','filter','301301eCyfXA','Pytest:\x20All\x20tests\x20passed','slice','7148Lwmifo','match','Successfully\x20installed','includes','.py:','\x20skipped','48zIUpvh'];a0_0x5e6a=function(){return _0x349854;};return a0_0x5e6a();}function filterPipInstall(_0x36836c){const _0x340cc4=a0_0x34d01d,_0x37c81a=_0x36836c[_0x340cc4(0x15c)]('\x0a'),_0x5756d2=[];for(const _0x4e6f9a of _0x37c81a){const _0x50f150=_0x4e6f9a['trim']();_0x50f150[_0x340cc4(0x164)](_0x340cc4(0x157))&&_0x5756d2[_0x340cc4(0x173)](_0x50f150);}if(_0x5756d2['length']>0x0)return _0x5756d2['join']('\x0a');return _0x37c81a[_0x340cc4(0x187)](_0x326465=>{const _0x3e9f20=_0x340cc4,_0x2ec11d=_0x326465[_0x3e9f20(0x175)]();return!_0x2ec11d[_0x3e9f20(0x164)](_0x3e9f20(0x171))&&!_0x2ec11d[_0x3e9f20(0x164)](_0x3e9f20(0x17f))&&!_0x2ec11d['includes'](_0x3e9f20(0x174))&&!_0x2ec11d[_0x3e9f20(0x164)](_0x3e9f20(0x179));})[_0x340cc4(0x185)]('\x0a')[_0x340cc4(0x175)]();}
1
+ 'use strict';function a0_0x4d73(){const _0x251b84=['filterPytest','failed','\x20\x20\x20\x20...\x20(','push','E\x20\x20\x20','.\x20[FAIL]\x20','__esModule','1009348XGGrKo','slice','9502190dflqAO','\x20failed','\x20\x20\x20\x20','\x0aFailures:','filterPipInstall','1000156xMGEZB','Using\x20cached','length','292860cyPePZ','1905642EhtRup','Collecting','\x20xfailed','25BNWmSJ','AssertionError:','510660HDFyYk','join','.py:','Successfully\x20installed','3RseVUr','Pytest:\x20','includes','1169syLREM','split','\x20more\x20failures\x20truncated','1128pClDpC','\x20lines\x20of\x20stacktrace\x20truncated)','===\x20FAILURES\x20===','192gScNIs','Requirement\x20already\x20satisfied','===','407fEyLWj','\x20skipped','startsWith','passed','___','trim','match'];a0_0x4d73=function(){return _0x251b84;};return a0_0x4d73();}const a0_0xf55e34=a0_0x2193;(function(_0x2cb444,_0x5ba2d8){const _0x450a56=a0_0x2193,_0x49be88=_0x2cb444();while(!![]){try{const _0x4b7c1d=parseInt(_0x450a56(0x1bb))/0x1*(parseInt(_0x450a56(0x1d5))/0x2)+parseInt(_0x450a56(0x1b2))/0x3+parseInt(_0x450a56(0x1ae))/0x4*(-parseInt(_0x450a56(0x1b5))/0x5)+-parseInt(_0x450a56(0x1c1))/0x6*(-parseInt(_0x450a56(0x1be))/0x7)+parseInt(_0x450a56(0x1c4))/0x8*(-parseInt(_0x450a56(0x1b1))/0x9)+-parseInt(_0x450a56(0x1d7))/0xa+parseInt(_0x450a56(0x1c7))/0xb*(parseInt(_0x450a56(0x1b7))/0xc);if(_0x4b7c1d===_0x5ba2d8)break;else _0x49be88['push'](_0x49be88['shift']());}catch(_0xe80af6){_0x49be88['push'](_0x49be88['shift']());}}}(a0_0x4d73,0xbcea1));Object['defineProperty'](exports,a0_0xf55e34(0x1d4),{'value':!![]}),exports[a0_0xf55e34(0x1ce)]=filterPytest,exports[a0_0xf55e34(0x1ad)]=filterPipInstall;function a0_0x2193(_0x5345bb,_0x59c1db){const _0x4d735b=a0_0x4d73();return a0_0x2193=function(_0x219331,_0x1e7d84){_0x219331=_0x219331-0x1ac;let _0x3db726=_0x4d735b[_0x219331];return _0x3db726;},a0_0x2193(_0x5345bb,_0x59c1db);}function filterPytest(_0x1a6384){const _0x8314c2=a0_0xf55e34,_0x5c4320=_0x1a6384[_0x8314c2(0x1bf)]('\x0a');let _0x3e4091=0x0,_0x29ff19=0x0,_0x12bccc=0x0,_0x249a7e=0x0,_0x5876fc=0x0;const _0x21dcab=[];let _0x417434=[],_0x2df210=![];for(const _0x541dcc of _0x5c4320){const _0x3c54ae=_0x541dcc[_0x8314c2(0x1cc)]();if(_0x3c54ae[_0x8314c2(0x1c9)](_0x8314c2(0x1c3))||_0x3c54ae['startsWith']('===\x20ERRORS\x20===')){_0x2df210=!![];continue;}else(_0x3c54ae['startsWith']('===\x20short\x20test\x20summary\x20info\x20===')||_0x3c54ae[_0x8314c2(0x1c9)](_0x8314c2(0x1c6))&&_0x3c54ae[_0x8314c2(0x1bd)]('passed'))&&(_0x2df210=![],_0x417434[_0x8314c2(0x1b0)]>0x0&&(_0x21dcab[_0x8314c2(0x1d1)](_0x417434),_0x417434=[]));if(_0x2df210){if(_0x3c54ae['startsWith'](_0x8314c2(0x1cb)))_0x417434[_0x8314c2(0x1b0)]>0x0&&(_0x21dcab['push'](_0x417434),_0x417434=[]),_0x417434[_0x8314c2(0x1d1)](_0x3c54ae);else _0x3c54ae[_0x8314c2(0x1b0)]>0x0&&_0x417434['push'](_0x541dcc);continue;}if(_0x3c54ae['startsWith']('===')&&_0x3c54ae['includes']('\x20in\x20')){const _0x22adce=_0x3c54ae[_0x8314c2(0x1cd)](/(\d+)\s+passed/),_0x48ead3=_0x3c54ae['match'](/(\d+)\s+failed/),_0x1c1aa1=_0x3c54ae[_0x8314c2(0x1cd)](/(\d+)\s+skipped/),_0x58a5d4=_0x3c54ae[_0x8314c2(0x1cd)](/(\d+)\s+xfailed/),_0x45aacf=_0x3c54ae[_0x8314c2(0x1cd)](/(\d+)\s+xpassed/);if(_0x22adce)_0x3e4091=parseInt(_0x22adce[0x1]);if(_0x48ead3)_0x29ff19=parseInt(_0x48ead3[0x1]);if(_0x1c1aa1)_0x12bccc=parseInt(_0x1c1aa1[0x1]);if(_0x58a5d4)_0x249a7e=parseInt(_0x58a5d4[0x1]);if(_0x45aacf)_0x5876fc=parseInt(_0x45aacf[0x1]);}}_0x417434[_0x8314c2(0x1b0)]>0x0&&_0x21dcab[_0x8314c2(0x1d1)](_0x417434);if(_0x3e4091===0x0&&_0x29ff19===0x0&&_0x12bccc===0x0&&_0x249a7e===0x0&&_0x5876fc===0x0){if(_0x1a6384[_0x8314c2(0x1bd)](_0x8314c2(0x1ca))&&!_0x1a6384[_0x8314c2(0x1bd)](_0x8314c2(0x1cf)))return'Pytest:\x20All\x20tests\x20passed';return _0x1a6384;}if(_0x29ff19===0x0&&_0x3e4091>0x0&&_0x12bccc===0x0&&_0x249a7e===0x0&&_0x5876fc===0x0)return _0x8314c2(0x1bc)+_0x3e4091+'\x20passed';const _0x44bbdc=[];_0x44bbdc[_0x8314c2(0x1d1)]('Pytest:\x20'+_0x3e4091+'\x20passed');if(_0x29ff19>0x0)_0x44bbdc[_0x8314c2(0x1d1)](_0x29ff19+_0x8314c2(0x1d8));if(_0x12bccc>0x0)_0x44bbdc[_0x8314c2(0x1d1)](_0x12bccc+_0x8314c2(0x1c8));if(_0x249a7e>0x0)_0x44bbdc['push'](_0x249a7e+_0x8314c2(0x1b4));if(_0x5876fc>0x0)_0x44bbdc['push'](_0x5876fc+'\x20xpassed\x20(warning!)');const _0x1a7534=[_0x44bbdc['join'](',\x20')];if(_0x21dcab[_0x8314c2(0x1b0)]>0x0){_0x1a7534['push'](_0x8314c2(0x1ac));const _0x669534=0x3,_0x5eb1d3=_0x21dcab[_0x8314c2(0x1d6)](0x0,_0x669534);for(let _0x286d00=0x0;_0x286d00<_0x5eb1d3['length'];_0x286d00++){const _0x188628=_0x5eb1d3[_0x286d00],_0x267cca=_0x188628[0x0]['replace'](/_/g,'')[_0x8314c2(0x1cc)]();_0x1a7534[_0x8314c2(0x1d1)]('\x20\x20'+(_0x286d00+0x1)+_0x8314c2(0x1d3)+_0x267cca);const _0x39c898=_0x188628[_0x8314c2(0x1d6)](0x1),_0xe5109=_0x39c898['filter'](_0x1b8705=>{const _0x44a917=_0x8314c2,_0x28816f=_0x1b8705['trim']();return _0x28816f[_0x44a917(0x1c9)]('>')||_0x28816f[_0x44a917(0x1c9)](_0x44a917(0x1d2))||_0x28816f[_0x44a917(0x1bd)](_0x44a917(0x1b9))||_0x28816f[_0x44a917(0x1bd)](_0x44a917(0x1b6));});for(const _0x161dcf of _0xe5109[_0x8314c2(0x1d6)](0x0,0x8)){_0x1a7534[_0x8314c2(0x1d1)](_0x8314c2(0x1d9)+_0x161dcf);}_0xe5109[_0x8314c2(0x1b0)]>0x8&&_0x1a7534['push'](_0x8314c2(0x1d0)+(_0xe5109[_0x8314c2(0x1b0)]-0x8)+_0x8314c2(0x1c2));}_0x21dcab[_0x8314c2(0x1b0)]>_0x669534&&_0x1a7534[_0x8314c2(0x1d1)]('\x20\x20...\x20+'+(_0x21dcab['length']-_0x669534)+_0x8314c2(0x1c0));}return _0x1a7534[_0x8314c2(0x1b8)]('\x0a');}function filterPipInstall(_0xd585d3){const _0x29ae86=a0_0xf55e34,_0x3e4b5b=_0xd585d3[_0x29ae86(0x1bf)]('\x0a'),_0x58c29f=[];for(const _0x41d73c of _0x3e4b5b){const _0xa660cc=_0x41d73c[_0x29ae86(0x1cc)]();_0xa660cc[_0x29ae86(0x1c9)](_0x29ae86(0x1ba))&&_0x58c29f[_0x29ae86(0x1d1)](_0xa660cc);}if(_0x58c29f[_0x29ae86(0x1b0)]>0x0)return _0x58c29f[_0x29ae86(0x1b8)]('\x0a');return _0x3e4b5b['filter'](_0x22d645=>{const _0x42447d=_0x29ae86,_0x24f78d=_0x22d645[_0x42447d(0x1cc)]();return!_0x24f78d[_0x42447d(0x1c9)](_0x42447d(0x1b3))&&!_0x24f78d[_0x42447d(0x1c9)]('Downloading')&&!_0x24f78d[_0x42447d(0x1bd)](_0x42447d(0x1af))&&!_0x24f78d[_0x42447d(0x1c9)](_0x42447d(0x1c5));})[_0x29ae86(0x1b8)]('\x0a')[_0x29ae86(0x1cc)]();}
package/filters/rust.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x71af59=a0_0x3269;(function(_0x3f895d,_0x484e1f){const _0x72437=a0_0x3269,_0x10f0b9=_0x3f895d();while(!![]){try{const _0x527ec0=-parseInt(_0x72437(0x8d))/0x1+-parseInt(_0x72437(0x90))/0x2*(parseInt(_0x72437(0x87))/0x3)+-parseInt(_0x72437(0x83))/0x4+-parseInt(_0x72437(0xad))/0x5*(-parseInt(_0x72437(0x9f))/0x6)+parseInt(_0x72437(0x93))/0x7+-parseInt(_0x72437(0x92))/0x8+parseInt(_0x72437(0x8f))/0x9;if(_0x527ec0===_0x484e1f)break;else _0x10f0b9['push'](_0x10f0b9['shift']());}catch(_0x437915){_0x10f0b9['push'](_0x10f0b9['shift']());}}}(a0_0x5698,0x4fdc8));Object[a0_0x71af59(0xae)](exports,'__esModule',{'value':!![]}),exports[a0_0x71af59(0x8b)]=filterCargoTest,exports[a0_0x71af59(0xa0)]=filterCargoBuild;function filterCargoTest(_0x289583){const _0x4dadcd=a0_0x71af59,_0x35ee2f=_0x289583[_0x4dadcd(0x9d)]('\x0a');let _0x7cd13f=0x0,_0x3597af=0x0,_0x4a5160=0x0,_0x125402=0x0;const _0x1dd3db=[];let _0x2e07c9=![],_0x4ee480=[];for(const _0x1fb2c9 of _0x35ee2f){const _0x2c5bff=_0x1fb2c9[_0x4dadcd(0xa7)](),_0x450a5f=_0x2c5bff[_0x4dadcd(0x97)](/test result:\s*(\w+)\.\s*(\d+)\s+passed;\s*(\d+)\s+failed;\s*(\d+)\s+ignored;\s*(\d+)\s+measured/);if(_0x450a5f){_0x7cd13f+=parseInt(_0x450a5f[0x2]),_0x3597af+=parseInt(_0x450a5f[0x3]),_0x4a5160+=parseInt(_0x450a5f[0x4]),_0x125402+=parseInt(_0x450a5f[0x5]);continue;}if(_0x2c5bff===_0x4dadcd(0x8a)||_0x2c5bff==='----\x20failures\x20----'){_0x2e07c9=!![];continue;}if(_0x2e07c9){if(_0x2c5bff[_0x4dadcd(0x99)](_0x4dadcd(0xa5))&&_0x2c5bff[_0x4dadcd(0xa9)](_0x4dadcd(0x9e))){if(_0x4ee480[_0x4dadcd(0x95)]>0x0)_0x1dd3db[_0x4dadcd(0x84)](_0x4ee480[_0x4dadcd(0x7d)]('\x0a'));_0x4ee480=[_0x2c5bff[_0x4dadcd(0x98)](/^-+\s*/,'')['replace'](/\s*-+$/,'')];}else{if(_0x2c5bff===_0x4dadcd(0x8a)||_0x2c5bff[_0x4dadcd(0x99)](_0x4dadcd(0x82))){if(_0x4ee480[_0x4dadcd(0x95)]>0x0)_0x1dd3db[_0x4dadcd(0x84)](_0x4ee480[_0x4dadcd(0x7d)]('\x0a'));_0x4ee480=[],_0x2e07c9=![];}else _0x2c5bff[_0x4dadcd(0x95)]>0x0&&_0x4ee480[_0x4dadcd(0x84)](_0x1fb2c9);}}}if(_0x4ee480[_0x4dadcd(0x95)]>0x0)_0x1dd3db[_0x4dadcd(0x84)](_0x4ee480[_0x4dadcd(0x7d)]('\x0a'));if(_0x7cd13f===0x0&&_0x3597af===0x0&&_0x4a5160===0x0){if(_0x289583['includes'](_0x4dadcd(0x85)))return _0x4dadcd(0xac);return _0x289583;}if(_0x3597af===0x0){const _0x3ce5d0=[_0x4dadcd(0xaf)+_0x7cd13f+_0x4dadcd(0xa3)];if(_0x4a5160>0x0)_0x3ce5d0[_0x4dadcd(0x84)](_0x4a5160+_0x4dadcd(0xa4));return _0x3ce5d0[_0x4dadcd(0x7d)](',\x20');}const _0x24795e=[_0x4dadcd(0xaf)+_0x7cd13f+'\x20passed,\x20'+_0x3597af+'\x20failed,\x20'+_0x4a5160+_0x4dadcd(0xa4)];if(_0x1dd3db[_0x4dadcd(0x95)]>0x0){_0x24795e[_0x4dadcd(0x84)](_0x4dadcd(0x7e));const _0x9cf30b=0x3;for(let _0x30d390=0x0;_0x30d390<Math[_0x4dadcd(0x86)](_0x1dd3db[_0x4dadcd(0x95)],_0x9cf30b);_0x30d390++){const _0x4e8dca=_0x1dd3db[_0x30d390][_0x4dadcd(0x9d)]('\x0a');_0x24795e[_0x4dadcd(0x84)]('\x20\x20'+(_0x30d390+0x1)+'.\x20'+_0x4e8dca[0x0]);const _0xaa6a8d=_0x4e8dca[_0x4dadcd(0x9c)](0x1),_0x141d37=_0xaa6a8d[_0x4dadcd(0x9a)](_0x2c6627=>_0x2c6627[_0x4dadcd(0xa7)]()[_0x4dadcd(0x99)](_0x4dadcd(0x7c))||_0x2c6627['includes'](_0x4dadcd(0xa1))||_0x2c6627[_0x4dadcd(0x9b)](_0x4dadcd(0x89))||_0x2c6627['includes']('left:')||_0x2c6627[_0x4dadcd(0x9b)](_0x4dadcd(0x7f)));for(const _0x3a9163 of _0x141d37[_0x4dadcd(0x9c)](0x0,0x5)){_0x24795e['push'](_0x4dadcd(0x91)+_0x3a9163[_0x4dadcd(0xa7)]());}}_0x1dd3db[_0x4dadcd(0x95)]>_0x9cf30b&&_0x24795e[_0x4dadcd(0x84)](_0x4dadcd(0x96)+(_0x1dd3db[_0x4dadcd(0x95)]-_0x9cf30b)+_0x4dadcd(0x8e));}return _0x24795e['join']('\x0a');}function filterCargoBuild(_0x1f576e){const _0x54af47=a0_0x71af59,_0x5d1a1f=_0x1f576e[_0x54af47(0x9d)]('\x0a'),_0x335273=[],_0x1f6495=[];let _0x2d2770=0x0;for(const _0x259dfe of _0x5d1a1f){const _0x2c06bc=_0x259dfe['trim']();if(_0x2c06bc['startsWith'](_0x54af47(0xa8)))_0x2d2770++;else{if(_0x2c06bc[_0x54af47(0x99)]('warning[')||_0x2c06bc[_0x54af47(0x99)]('warning:'))_0x335273[_0x54af47(0x84)](_0x2c06bc);else{if(_0x2c06bc['startsWith'](_0x54af47(0x8c))||_0x2c06bc[_0x54af47(0x99)](_0x54af47(0xa2)))_0x1f6495[_0x54af47(0x84)](_0x2c06bc);}}}if(_0x1f6495[_0x54af47(0x95)]===0x0&&_0x335273[_0x54af47(0x95)]===0x0)return _0x2d2770>0x0?_0x54af47(0x88)+_0x2d2770+_0x54af47(0x80):_0x1f576e['trim']();const _0x26c4c6=[];if(_0x1f6495[_0x54af47(0x95)]>0x0){_0x26c4c6[_0x54af47(0x84)](_0x54af47(0xa6)+_0x1f6495['length']+'\x20errors,\x20'+_0x335273[_0x54af47(0x95)]+_0x54af47(0x94)),_0x26c4c6[_0x54af47(0x84)]('\x0aErrors:');for(const _0x1e0810 of _0x1f6495['slice'](0x0,0x5))_0x26c4c6[_0x54af47(0x84)]('\x20\x20'+_0x1e0810);if(_0x1f6495[_0x54af47(0x95)]>0x5)_0x26c4c6[_0x54af47(0x84)]('\x20\x20...\x20+'+(_0x1f6495[_0x54af47(0x95)]-0x5)+_0x54af47(0xab));}else _0x26c4c6['push'](_0x54af47(0x88)+_0x2d2770+_0x54af47(0xaa)+_0x335273['length']+_0x54af47(0x94));if(_0x335273[_0x54af47(0x95)]>0x0&&_0x335273[_0x54af47(0x95)]<=0x5){_0x26c4c6['push'](_0x54af47(0x81));for(const _0x282e48 of _0x335273)_0x26c4c6['push']('\x20\x20'+_0x282e48);}else _0x335273['length']>0x5&&_0x26c4c6[_0x54af47(0x84)]('\x0a('+_0x335273[_0x54af47(0x95)]+'\x20warnings\x20—\x20run\x20cargo\x20clippy\x20for\x20details)');return _0x26c4c6[_0x54af47(0x7d)]('\x0a');}function a0_0x3269(_0x15063f,_0x101c23){const _0x56984b=a0_0x5698();return a0_0x3269=function(_0x326905,_0x303bef){_0x326905=_0x326905-0x7c;let _0x125591=_0x56984b[_0x326905];return _0x125591;},a0_0x3269(_0x15063f,_0x101c23);}function a0_0x5698(){const _0x39c1b8=['6xnDbtO','filterCargoBuild','panicked','error:','\x20passed','\x20ignored','----\x20','Cargo:\x20','trim','Compiling\x20','endsWith','\x20crates,\x20','\x20more\x20errors','Cargo\x20test:\x20all\x20tests\x20passed','389230wBrWWG','defineProperty','Cargo\x20test:\x20','thread','join','\x0aFailures:','right:','\x20crates\x20successfully','\x0aWarnings:','test\x20result:','1728428IqNDLQ','push','test\x20result:\x20ok','min','4353aZYBqh','Cargo:\x20compiled\x20','assert','failures:','filterCargoTest','error[','565178KtrBaW','\x20more\x20failures','8714610sGLJuQ','374umYOau','\x20\x20\x20\x20','279624heylik','4091857Oubstb','\x20warnings','length','\x20\x20...\x20+','match','replace','startsWith','filter','includes','slice','split','\x20----'];a0_0x5698=function(){return _0x39c1b8;};return a0_0x5698();}
1
+ 'use strict';function a0_0x13dc(_0x4917b7,_0x1622d0){const _0x2ae693=a0_0x2ae6();return a0_0x13dc=function(_0x13dcfc,_0x617d15){_0x13dcfc=_0x13dcfc-0x1a4;let _0x21d56f=_0x2ae693[_0x13dcfc];return _0x21d56f;},a0_0x13dc(_0x4917b7,_0x1622d0);}const a0_0x4873f9=a0_0x13dc;(function(_0x27785c,_0x5d674a){const _0x58d1ab=a0_0x13dc,_0x455b6b=_0x27785c();while(!![]){try{const _0xe33de6=-parseInt(_0x58d1ab(0x1ba))/0x1+parseInt(_0x58d1ab(0x1cf))/0x2*(parseInt(_0x58d1ab(0x1b3))/0x3)+-parseInt(_0x58d1ab(0x1af))/0x4*(-parseInt(_0x58d1ab(0x1c6))/0x5)+-parseInt(_0x58d1ab(0x1c9))/0x6*(-parseInt(_0x58d1ab(0x1bd))/0x7)+-parseInt(_0x58d1ab(0x1c8))/0x8+parseInt(_0x58d1ab(0x1c1))/0x9*(parseInt(_0x58d1ab(0x1ce))/0xa)+-parseInt(_0x58d1ab(0x1d8))/0xb*(-parseInt(_0x58d1ab(0x1ae))/0xc);if(_0xe33de6===_0x5d674a)break;else _0x455b6b['push'](_0x455b6b['shift']());}catch(_0x1e6608){_0x455b6b['push'](_0x455b6b['shift']());}}}(a0_0x2ae6,0xc2bee));function a0_0x2ae6(){const _0x36a2ff=['3FVBMji','startsWith','\x20warnings','\x20failed,\x20','----\x20failures\x20----','Cargo\x20test:\x20all\x20tests\x20passed','slice','262391UHsLAs','test\x20result:\x20ok','match','161uMJNkN','endsWith','includes','split','10107VurqUa','\x20crates\x20successfully','min','defineProperty','assert','225OEkIxT','right:','7008848EYdyYx','98526HWEeak','filterCargoTest','failures:','\x20\x20...\x20+','\x20warnings\x20—\x20run\x20cargo\x20clippy\x20for\x20details)','2750hCgNuT','669980NjWpNR','__esModule','\x0aWarnings:','error:','push','Cargo:\x20compiled\x20','Cargo\x20test:\x20','\x20errors,\x20','Compiling\x20','11pCBAzV','\x20passed,\x20','join','----\x20','\x20more\x20errors','trim','replace','filterCargoBuild','test\x20result:','\x20passed','\x20crates,\x20','\x20ignored','1809624aPEvNR','67900JjQTTx','length','warning[','\x20----'];a0_0x2ae6=function(){return _0x36a2ff;};return a0_0x2ae6();}Object[a0_0x4873f9(0x1c4)](exports,a0_0x4873f9(0x1d0),{'value':!![]}),exports[a0_0x4873f9(0x1ca)]=filterCargoTest,exports[a0_0x4873f9(0x1a9)]=filterCargoBuild;function filterCargoTest(_0x3dc59e){const _0x37a809=a0_0x4873f9,_0x9b4a23=_0x3dc59e[_0x37a809(0x1c0)]('\x0a');let _0x16acd9=0x0,_0x167e54=0x0,_0x37251f=0x0,_0x1e6261=0x0;const _0x3b2aaa=[];let _0x2e74df=![],_0x22b551=[];for(const _0x577660 of _0x9b4a23){const _0x3f8c21=_0x577660['trim'](),_0x42098f=_0x3f8c21[_0x37a809(0x1bc)](/test result:\s*(\w+)\.\s*(\d+)\s+passed;\s*(\d+)\s+failed;\s*(\d+)\s+ignored;\s*(\d+)\s+measured/);if(_0x42098f){_0x16acd9+=parseInt(_0x42098f[0x2]),_0x167e54+=parseInt(_0x42098f[0x3]),_0x37251f+=parseInt(_0x42098f[0x4]),_0x1e6261+=parseInt(_0x42098f[0x5]);continue;}if(_0x3f8c21===_0x37a809(0x1cb)||_0x3f8c21===_0x37a809(0x1b7)){_0x2e74df=!![];continue;}if(_0x2e74df){if(_0x3f8c21[_0x37a809(0x1b4)](_0x37a809(0x1a5))&&_0x3f8c21[_0x37a809(0x1be)](_0x37a809(0x1b2))){if(_0x22b551[_0x37a809(0x1b0)]>0x0)_0x3b2aaa[_0x37a809(0x1d3)](_0x22b551[_0x37a809(0x1a4)]('\x0a'));_0x22b551=[_0x3f8c21[_0x37a809(0x1a8)](/^-+\s*/,'')[_0x37a809(0x1a8)](/\s*-+$/,'')];}else{if(_0x3f8c21===_0x37a809(0x1cb)||_0x3f8c21[_0x37a809(0x1b4)](_0x37a809(0x1aa))){if(_0x22b551[_0x37a809(0x1b0)]>0x0)_0x3b2aaa[_0x37a809(0x1d3)](_0x22b551[_0x37a809(0x1a4)]('\x0a'));_0x22b551=[],_0x2e74df=![];}else _0x3f8c21[_0x37a809(0x1b0)]>0x0&&_0x22b551[_0x37a809(0x1d3)](_0x577660);}}}if(_0x22b551['length']>0x0)_0x3b2aaa[_0x37a809(0x1d3)](_0x22b551['join']('\x0a'));if(_0x16acd9===0x0&&_0x167e54===0x0&&_0x37251f===0x0){if(_0x3dc59e[_0x37a809(0x1bf)](_0x37a809(0x1bb)))return _0x37a809(0x1b8);return _0x3dc59e;}if(_0x167e54===0x0){const _0x30a516=['Cargo\x20test:\x20'+_0x16acd9+_0x37a809(0x1ab)];if(_0x37251f>0x0)_0x30a516[_0x37a809(0x1d3)](_0x37251f+_0x37a809(0x1ad));return _0x30a516[_0x37a809(0x1a4)](',\x20');}const _0x19abdf=[_0x37a809(0x1d5)+_0x16acd9+_0x37a809(0x1d9)+_0x167e54+_0x37a809(0x1b6)+_0x37251f+'\x20ignored'];if(_0x3b2aaa['length']>0x0){_0x19abdf[_0x37a809(0x1d3)]('\x0aFailures:');const _0x26993d=0x3;for(let _0x4716ec=0x0;_0x4716ec<Math[_0x37a809(0x1c3)](_0x3b2aaa[_0x37a809(0x1b0)],_0x26993d);_0x4716ec++){const _0x310a7d=_0x3b2aaa[_0x4716ec][_0x37a809(0x1c0)]('\x0a');_0x19abdf[_0x37a809(0x1d3)]('\x20\x20'+(_0x4716ec+0x1)+'.\x20'+_0x310a7d[0x0]);const _0xcaa3cf=_0x310a7d['slice'](0x1),_0x1c31b4=_0xcaa3cf['filter'](_0x4cf320=>_0x4cf320[_0x37a809(0x1a7)]()['startsWith']('thread')||_0x4cf320[_0x37a809(0x1bf)]('panicked')||_0x4cf320[_0x37a809(0x1bf)](_0x37a809(0x1c5))||_0x4cf320[_0x37a809(0x1bf)]('left:')||_0x4cf320[_0x37a809(0x1bf)](_0x37a809(0x1c7)));for(const _0x4e70fc of _0x1c31b4['slice'](0x0,0x5)){_0x19abdf[_0x37a809(0x1d3)]('\x20\x20\x20\x20'+_0x4e70fc[_0x37a809(0x1a7)]());}}_0x3b2aaa[_0x37a809(0x1b0)]>_0x26993d&&_0x19abdf['push'](_0x37a809(0x1cc)+(_0x3b2aaa['length']-_0x26993d)+'\x20more\x20failures');}return _0x19abdf['join']('\x0a');}function filterCargoBuild(_0x2ff629){const _0x54746a=a0_0x4873f9,_0x40b855=_0x2ff629[_0x54746a(0x1c0)]('\x0a'),_0x41c838=[],_0x15efc5=[];let _0x29bbdf=0x0;for(const _0x12b778 of _0x40b855){const _0x3eee1a=_0x12b778[_0x54746a(0x1a7)]();if(_0x3eee1a[_0x54746a(0x1b4)](_0x54746a(0x1d7)))_0x29bbdf++;else{if(_0x3eee1a[_0x54746a(0x1b4)](_0x54746a(0x1b1))||_0x3eee1a[_0x54746a(0x1b4)]('warning:'))_0x41c838[_0x54746a(0x1d3)](_0x3eee1a);else{if(_0x3eee1a[_0x54746a(0x1b4)]('error[')||_0x3eee1a[_0x54746a(0x1b4)](_0x54746a(0x1d2)))_0x15efc5[_0x54746a(0x1d3)](_0x3eee1a);}}}if(_0x15efc5[_0x54746a(0x1b0)]===0x0&&_0x41c838[_0x54746a(0x1b0)]===0x0)return _0x29bbdf>0x0?_0x54746a(0x1d4)+_0x29bbdf+_0x54746a(0x1c2):_0x2ff629[_0x54746a(0x1a7)]();const _0x44c97c=[];if(_0x15efc5[_0x54746a(0x1b0)]>0x0){_0x44c97c[_0x54746a(0x1d3)]('Cargo:\x20'+_0x15efc5[_0x54746a(0x1b0)]+_0x54746a(0x1d6)+_0x41c838[_0x54746a(0x1b0)]+_0x54746a(0x1b5)),_0x44c97c[_0x54746a(0x1d3)]('\x0aErrors:');for(const _0x2fc013 of _0x15efc5[_0x54746a(0x1b9)](0x0,0x5))_0x44c97c['push']('\x20\x20'+_0x2fc013);if(_0x15efc5[_0x54746a(0x1b0)]>0x5)_0x44c97c[_0x54746a(0x1d3)](_0x54746a(0x1cc)+(_0x15efc5[_0x54746a(0x1b0)]-0x5)+_0x54746a(0x1a6));}else _0x44c97c[_0x54746a(0x1d3)]('Cargo:\x20compiled\x20'+_0x29bbdf+_0x54746a(0x1ac)+_0x41c838[_0x54746a(0x1b0)]+_0x54746a(0x1b5));if(_0x41c838[_0x54746a(0x1b0)]>0x0&&_0x41c838[_0x54746a(0x1b0)]<=0x5){_0x44c97c['push'](_0x54746a(0x1d1));for(const _0x3d5a9d of _0x41c838)_0x44c97c['push']('\x20\x20'+_0x3d5a9d);}else _0x41c838[_0x54746a(0x1b0)]>0x5&&_0x44c97c[_0x54746a(0x1d3)]('\x0a('+_0x41c838['length']+_0x54746a(0x1cd));return _0x44c97c['join']('\x0a');}
package/filters/shell.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function a0_0x27e8(_0x5d67b3,_0x4fbea9){const _0x281c9e=a0_0x281c();return a0_0x27e8=function(_0x27e8b6,_0x1ae8da){_0x27e8b6=_0x27e8b6-0x9d;let _0xe2920c=_0x281c9e[_0x27e8b6];return _0xe2920c;},a0_0x27e8(_0x5d67b3,_0x4fbea9);}const a0_0x157704=a0_0x27e8;(function(_0xbbe27,_0x7c99f3){const _0x1ae3ed=a0_0x27e8,_0x51af3a=_0xbbe27();while(!![]){try{const _0x3eecc5=-parseInt(_0x1ae3ed(0xa8))/0x1*(-parseInt(_0x1ae3ed(0xb6))/0x2)+parseInt(_0x1ae3ed(0xc2))/0x3*(parseInt(_0x1ae3ed(0xaf))/0x4)+parseInt(_0x1ae3ed(0xac))/0x5+-parseInt(_0x1ae3ed(0xca))/0x6+-parseInt(_0x1ae3ed(0xa0))/0x7*(-parseInt(_0x1ae3ed(0xa5))/0x8)+parseInt(_0x1ae3ed(0xa7))/0x9*(parseInt(_0x1ae3ed(0xaa))/0xa)+-parseInt(_0x1ae3ed(0xc9))/0xb*(parseInt(_0x1ae3ed(0xb0))/0xc);if(_0x3eecc5===_0x7c99f3)break;else _0x51af3a['push'](_0x51af3a['shift']());}catch(_0x3009fa){_0x51af3a['push'](_0x51af3a['shift']());}}}(a0_0x281c,0x3ca33));Object[a0_0x157704(0xc6)](exports,a0_0x157704(0xc7),{'value':!![]}),exports[a0_0x157704(0xab)]=filterLs,exports[a0_0x157704(0xad)]=filterTree,exports[a0_0x157704(0xb4)]=filterCat,exports[a0_0x157704(0x9f)]=filterGrep;function a0_0x281c(){const _0x18e0c4=['\x20more\x20files\x20with\x20matches','\x0a...\x20[','length','\x20lines\x20truncated]\x20...\x0a','...\x20+','\x20directories,\x20','match','\x20more\x20files','\x20more\x20matches','slice',':\x20...\x20(','57ISzBuQ','filter','indexOf','total\x20','defineProperty','__esModule','\x20files)','2167lrIqTI','480786aYbZbH','No\x20matches\x20found','endsWith','filterGrep','14redYaf','split','startsWith','trim','\x20lines\x20total)','373640EuXfIR','join','21348kjrGfL','21355kwwVaB','includes','100JybQLu','filterLs','963135rBGfYU','filterTree','\x20files\x20total\x20—\x20deep\x20entries\x20truncated)','36212heHizA','35352lqFRBA','\x20matches\x20across\x20','Empty\x20directory','substring','filterCat','push','40mEbRUk'];a0_0x281c=function(){return _0x18e0c4;};return a0_0x281c();}function filterLs(_0x587637){const _0x8490c4=a0_0x157704,_0x64d54b=_0x587637[_0x8490c4(0xa1)]('\x0a')[_0x8490c4(0xc3)](_0x803f=>_0x803f[_0x8490c4(0xa3)]()[_0x8490c4(0xb9)]>0x0);if(_0x64d54b[_0x8490c4(0xb9)]===0x0)return _0x8490c4(0xb2);if(_0x64d54b[_0x8490c4(0xb9)]<=0x1e)return _0x587637[_0x8490c4(0xa3)]();const _0x489a85=[],_0x55dbdb=[];for(const _0x5e886c of _0x64d54b){const _0x3e4ce6=_0x5e886c[_0x8490c4(0xa3)]();if(_0x3e4ce6[_0x8490c4(0xa2)](_0x8490c4(0xc5))||_0x3e4ce6['startsWith']('d')&&_0x3e4ce6[_0x8490c4(0xa9)]('..'))continue;_0x3e4ce6[_0x8490c4(0x9e)]('/')||_0x3e4ce6[_0x8490c4(0xa2)]('d')&&_0x3e4ce6[_0x8490c4(0xa9)]('\x20')?_0x489a85['push'](_0x3e4ce6):_0x55dbdb[_0x8490c4(0xb5)](_0x3e4ce6);}const _0x26919b=[];return _0x489a85[_0x8490c4(0xb9)]>0x0&&(_0x489a85['length']<=0xf?_0x26919b[_0x8490c4(0xb5)](..._0x489a85):(_0x26919b[_0x8490c4(0xb5)](..._0x489a85[_0x8490c4(0xc0)](0x0,0xa)),_0x26919b[_0x8490c4(0xb5)]('...\x20+'+(_0x489a85[_0x8490c4(0xb9)]-0xa)+'\x20more\x20directories'))),_0x55dbdb[_0x8490c4(0xb9)]>0x0&&(_0x55dbdb[_0x8490c4(0xb9)]<=0x14?_0x26919b[_0x8490c4(0xb5)](..._0x55dbdb):(_0x26919b[_0x8490c4(0xb5)](..._0x55dbdb['slice'](0x0,0xf)),_0x26919b['push'](_0x8490c4(0xbb)+(_0x55dbdb[_0x8490c4(0xb9)]-0xf)+_0x8490c4(0xbe)))),_0x26919b[_0x8490c4(0xb5)]('\x0a('+_0x489a85[_0x8490c4(0xb9)]+_0x8490c4(0xbc)+_0x55dbdb[_0x8490c4(0xb9)]+_0x8490c4(0xc8)),_0x26919b[_0x8490c4(0xa6)]('\x0a');}function filterTree(_0x3f59e6){const _0x2e85a0=a0_0x157704,_0x1695f9=_0x3f59e6[_0x2e85a0(0xa1)]('\x0a');if(_0x1695f9[_0x2e85a0(0xb9)]<=0x32)return _0x3f59e6[_0x2e85a0(0xa3)]();const _0x2498cd=[];let _0x2a0cab=0x0,_0x260b0e=0x0,_0x492cf6=0x0;for(const _0x2d450e of _0x1695f9){const _0x34e142=_0x2d450e['match'](/(\d+)\s+director/),_0x53fdaa=_0x2d450e[_0x2e85a0(0xbd)](/(\d+)\s+file/);if(_0x34e142)_0x492cf6=parseInt(_0x34e142[0x1]);if(_0x53fdaa)_0x260b0e=parseInt(_0x53fdaa[0x1]);const _0x4fc35f=(_0x2d450e['match'](/^[│├└\s─]+/)||[''])[0x0][_0x2e85a0(0xb9)];_0x4fc35f<=0x4&&(_0x2498cd[_0x2e85a0(0xb5)](_0x2d450e),_0x2a0cab++);}return _0x1695f9[_0x2e85a0(0xb9)]>_0x2498cd[_0x2e85a0(0xb9)]&&_0x2498cd[_0x2e85a0(0xb5)]('\x0a...\x20('+_0x492cf6+_0x2e85a0(0xbc)+_0x260b0e+_0x2e85a0(0xae)),_0x2498cd[_0x2e85a0(0xa6)]('\x0a');}function filterCat(_0x552056){const _0x4a2c07=a0_0x157704,_0x53f650=_0x552056['split']('\x0a');if(_0x53f650[_0x4a2c07(0xb9)]<=0x64)return _0x552056;const _0x1297d9=[];return _0x1297d9[_0x4a2c07(0xb5)](..._0x53f650[_0x4a2c07(0xc0)](0x0,0x32)),_0x1297d9[_0x4a2c07(0xb5)](_0x4a2c07(0xb8)+(_0x53f650['length']-0x50)+_0x4a2c07(0xba)),_0x1297d9[_0x4a2c07(0xb5)](..._0x53f650[_0x4a2c07(0xc0)](-0x1e)),_0x1297d9[_0x4a2c07(0xb5)]('\x0a('+_0x53f650[_0x4a2c07(0xb9)]+_0x4a2c07(0xa4)),_0x1297d9[_0x4a2c07(0xa6)]('\x0a');}function filterGrep(_0x2cb636){const _0x5b461e=a0_0x157704,_0x136a75=_0x2cb636['split']('\x0a')[_0x5b461e(0xc3)](_0x19183e=>_0x19183e['trim']()[_0x5b461e(0xb9)]>0x0);if(_0x136a75[_0x5b461e(0xb9)]===0x0)return _0x5b461e(0x9d);if(_0x136a75[_0x5b461e(0xb9)]<=0x32)return _0x2cb636[_0x5b461e(0xa3)]();const _0x7854f5={},_0x148995=[];for(const _0x5491ed of _0x136a75){const _0x1d3fc2=_0x5491ed[_0x5b461e(0xc4)](':');if(_0x1d3fc2>0x0&&_0x1d3fc2<0xc8){const _0xf690cd=_0x5491ed[_0x5b461e(0xb3)](0x0,_0x1d3fc2);if(_0xf690cd['includes']('/')||_0xf690cd[_0x5b461e(0xa9)]('\x5c')||_0xf690cd[_0x5b461e(0xa9)]('.')){if(!_0x7854f5[_0xf690cd])_0x7854f5[_0xf690cd]=[];_0x7854f5[_0xf690cd][_0x5b461e(0xb5)](_0x5491ed[_0x5b461e(0xb3)](_0x1d3fc2+0x1)[_0x5b461e(0xa3)]());continue;}}_0x148995[_0x5b461e(0xb5)](_0x5491ed);}const _0x43dbf7=[],_0x562b58=Object['keys'](_0x7854f5);if(_0x562b58[_0x5b461e(0xb9)]>0x0){const _0x54747f=0x14,_0x9bb591=_0x562b58[_0x5b461e(0xc0)](0x0,_0x54747f);for(const _0x4b0f6e of _0x9bb591){const _0x197804=_0x7854f5[_0x4b0f6e];if(_0x197804[_0x5b461e(0xb9)]<=0x3)for(const _0x5f41eb of _0x197804){_0x43dbf7[_0x5b461e(0xb5)](_0x4b0f6e+':\x20'+_0x5f41eb);}else _0x43dbf7[_0x5b461e(0xb5)](_0x4b0f6e+':\x20'+_0x197804[0x0]),_0x43dbf7[_0x5b461e(0xb5)](_0x4b0f6e+_0x5b461e(0xc1)+_0x197804[_0x5b461e(0xb9)]+'\x20matches\x20in\x20this\x20file)');}_0x562b58[_0x5b461e(0xb9)]>_0x54747f&&_0x43dbf7[_0x5b461e(0xb5)](_0x5b461e(0xbb)+(_0x562b58[_0x5b461e(0xb9)]-_0x54747f)+_0x5b461e(0xb7));}if(_0x148995['length']>0x0){const _0x5335c6=0x1e;_0x43dbf7[_0x5b461e(0xb5)](..._0x148995[_0x5b461e(0xc0)](0x0,_0x5335c6)),_0x148995[_0x5b461e(0xb9)]>_0x5335c6&&_0x43dbf7[_0x5b461e(0xb5)](_0x5b461e(0xbb)+(_0x148995[_0x5b461e(0xb9)]-_0x5335c6)+_0x5b461e(0xbf));}const _0x5ddee1=_0x136a75[_0x5b461e(0xb9)];return _0x43dbf7[_0x5b461e(0xb5)]('\x0a('+_0x5ddee1+_0x5b461e(0xb1)+(_0x562b58[_0x5b461e(0xb9)]||'?')+_0x5b461e(0xc8)),_0x43dbf7[_0x5b461e(0xa6)]('\x0a');}
1
+ 'use strict';const a0_0x3c4f3e=a0_0x1f03;(function(_0x5e9f84,_0x3e130f){const _0x3169e0=a0_0x1f03,_0x41203e=_0x5e9f84();while(!![]){try{const _0x4e6e8c=parseInt(_0x3169e0(0x1f4))/0x1+-parseInt(_0x3169e0(0x207))/0x2*(-parseInt(_0x3169e0(0x208))/0x3)+-parseInt(_0x3169e0(0x1f2))/0x4*(-parseInt(_0x3169e0(0x1e9))/0x5)+-parseInt(_0x3169e0(0x1fe))/0x6*(-parseInt(_0x3169e0(0x1e1))/0x7)+-parseInt(_0x3169e0(0x204))/0x8+parseInt(_0x3169e0(0x1e5))/0x9+parseInt(_0x3169e0(0x1ee))/0xa*(-parseInt(_0x3169e0(0x20b))/0xb);if(_0x4e6e8c===_0x3e130f)break;else _0x41203e['push'](_0x41203e['shift']());}catch(_0x3805da){_0x41203e['push'](_0x41203e['shift']());}}}(a0_0x1649,0x7adf9));Object[a0_0x3c4f3e(0x1ea)](exports,a0_0x3c4f3e(0x1ec),{'value':!![]}),exports[a0_0x3c4f3e(0x206)]=filterLs,exports[a0_0x3c4f3e(0x202)]=filterTree,exports[a0_0x3c4f3e(0x1f0)]=filterCat,exports[a0_0x3c4f3e(0x1eb)]=filterGrep;function a0_0x1649(){const _0x58d1dd=['\x20matches\x20in\x20this\x20file)','\x20more\x20directories','push','8334891oXYcnm','\x20lines\x20truncated]\x20...\x0a','\x20matches\x20across\x20','\x20more\x20files','20EQNZcK','defineProperty','filterGrep','__esModule','trim','15243670bwJNEa','slice','filterCat','Empty\x20directory','956392XLVtOu','keys','473267GkOFQu','\x20directories,\x20','match','\x20more\x20files\x20with\x20matches','total\x20','length','endsWith','includes','\x0a...\x20[','\x20more\x20matches','25698fsDDQO','split','startsWith','\x20files)','filterTree','indexOf','5930240eecKOJ','join','filterLs','11300Cmapxy','183cbULyE','substring','filter','11ojpfBq','...\x20+','\x0a...\x20(','112NFxYhZ'];a0_0x1649=function(){return _0x58d1dd;};return a0_0x1649();}function a0_0x1f03(_0x3b8968,_0x165712){const _0x16498f=a0_0x1649();return a0_0x1f03=function(_0x1f03be,_0x2e882d){_0x1f03be=_0x1f03be-0x1df;let _0x34a6ab=_0x16498f[_0x1f03be];return _0x34a6ab;},a0_0x1f03(_0x3b8968,_0x165712);}function filterLs(_0x2d7ed6){const _0x3f022d=a0_0x3c4f3e,_0x2d9b60=_0x2d7ed6['split']('\x0a')[_0x3f022d(0x20a)](_0x5589da=>_0x5589da['trim']()[_0x3f022d(0x1f9)]>0x0);if(_0x2d9b60[_0x3f022d(0x1f9)]===0x0)return _0x3f022d(0x1f1);if(_0x2d9b60[_0x3f022d(0x1f9)]<=0x1e)return _0x2d7ed6[_0x3f022d(0x1ed)]();const _0x27c1e5=[],_0x4cd7e7=[];for(const _0x5251d1 of _0x2d9b60){const _0x29de68=_0x5251d1[_0x3f022d(0x1ed)]();if(_0x29de68[_0x3f022d(0x200)](_0x3f022d(0x1f8))||_0x29de68[_0x3f022d(0x200)]('d')&&_0x29de68[_0x3f022d(0x1fb)]('..'))continue;_0x29de68[_0x3f022d(0x1fa)]('/')||_0x29de68['startsWith']('d')&&_0x29de68[_0x3f022d(0x1fb)]('\x20')?_0x27c1e5[_0x3f022d(0x1e4)](_0x29de68):_0x4cd7e7[_0x3f022d(0x1e4)](_0x29de68);}const _0x1a9fd0=[];return _0x27c1e5['length']>0x0&&(_0x27c1e5[_0x3f022d(0x1f9)]<=0xf?_0x1a9fd0[_0x3f022d(0x1e4)](..._0x27c1e5):(_0x1a9fd0[_0x3f022d(0x1e4)](..._0x27c1e5[_0x3f022d(0x1ef)](0x0,0xa)),_0x1a9fd0[_0x3f022d(0x1e4)](_0x3f022d(0x1df)+(_0x27c1e5['length']-0xa)+_0x3f022d(0x1e3)))),_0x4cd7e7[_0x3f022d(0x1f9)]>0x0&&(_0x4cd7e7[_0x3f022d(0x1f9)]<=0x14?_0x1a9fd0[_0x3f022d(0x1e4)](..._0x4cd7e7):(_0x1a9fd0['push'](..._0x4cd7e7[_0x3f022d(0x1ef)](0x0,0xf)),_0x1a9fd0[_0x3f022d(0x1e4)](_0x3f022d(0x1df)+(_0x4cd7e7[_0x3f022d(0x1f9)]-0xf)+_0x3f022d(0x1e8)))),_0x1a9fd0['push']('\x0a('+_0x27c1e5[_0x3f022d(0x1f9)]+_0x3f022d(0x1f5)+_0x4cd7e7['length']+_0x3f022d(0x201)),_0x1a9fd0[_0x3f022d(0x205)]('\x0a');}function filterTree(_0x11d26e){const _0x12381c=a0_0x3c4f3e,_0x3a091a=_0x11d26e['split']('\x0a');if(_0x3a091a['length']<=0x32)return _0x11d26e[_0x12381c(0x1ed)]();const _0x2ee270=[];let _0x55face=0x0,_0xe76f51=0x0,_0x53f8ca=0x0;for(const _0x4980ea of _0x3a091a){const _0x975291=_0x4980ea[_0x12381c(0x1f6)](/(\d+)\s+director/),_0x2e4cab=_0x4980ea[_0x12381c(0x1f6)](/(\d+)\s+file/);if(_0x975291)_0x53f8ca=parseInt(_0x975291[0x1]);if(_0x2e4cab)_0xe76f51=parseInt(_0x2e4cab[0x1]);const _0x5e9476=(_0x4980ea[_0x12381c(0x1f6)](/^[│├└\s─]+/)||[''])[0x0]['length'];_0x5e9476<=0x4&&(_0x2ee270[_0x12381c(0x1e4)](_0x4980ea),_0x55face++);}return _0x3a091a[_0x12381c(0x1f9)]>_0x2ee270[_0x12381c(0x1f9)]&&_0x2ee270[_0x12381c(0x1e4)](_0x12381c(0x1e0)+_0x53f8ca+_0x12381c(0x1f5)+_0xe76f51+'\x20files\x20total\x20—\x20deep\x20entries\x20truncated)'),_0x2ee270[_0x12381c(0x205)]('\x0a');}function filterCat(_0x209ed6){const _0x545cc=a0_0x3c4f3e,_0x438776=_0x209ed6[_0x545cc(0x1ff)]('\x0a');if(_0x438776[_0x545cc(0x1f9)]<=0x64)return _0x209ed6;const _0x44f019=[];return _0x44f019[_0x545cc(0x1e4)](..._0x438776[_0x545cc(0x1ef)](0x0,0x32)),_0x44f019[_0x545cc(0x1e4)](_0x545cc(0x1fc)+(_0x438776[_0x545cc(0x1f9)]-0x50)+_0x545cc(0x1e6)),_0x44f019[_0x545cc(0x1e4)](..._0x438776['slice'](-0x1e)),_0x44f019[_0x545cc(0x1e4)]('\x0a('+_0x438776[_0x545cc(0x1f9)]+'\x20lines\x20total)'),_0x44f019['join']('\x0a');}function filterGrep(_0x2fb1a6){const _0x14b206=a0_0x3c4f3e,_0x3dc76b=_0x2fb1a6[_0x14b206(0x1ff)]('\x0a')[_0x14b206(0x20a)](_0x52ed3c=>_0x52ed3c[_0x14b206(0x1ed)]()[_0x14b206(0x1f9)]>0x0);if(_0x3dc76b[_0x14b206(0x1f9)]===0x0)return'No\x20matches\x20found';if(_0x3dc76b['length']<=0x32)return _0x2fb1a6[_0x14b206(0x1ed)]();const _0x551496={},_0x1af35c=[];for(const _0x2f3021 of _0x3dc76b){const _0x2234dd=_0x2f3021[_0x14b206(0x203)](':');if(_0x2234dd>0x0&&_0x2234dd<0xc8){const _0x406953=_0x2f3021[_0x14b206(0x209)](0x0,_0x2234dd);if(_0x406953[_0x14b206(0x1fb)]('/')||_0x406953[_0x14b206(0x1fb)]('\x5c')||_0x406953[_0x14b206(0x1fb)]('.')){if(!_0x551496[_0x406953])_0x551496[_0x406953]=[];_0x551496[_0x406953][_0x14b206(0x1e4)](_0x2f3021['substring'](_0x2234dd+0x1)[_0x14b206(0x1ed)]());continue;}}_0x1af35c[_0x14b206(0x1e4)](_0x2f3021);}const _0x588976=[],_0x3a1473=Object[_0x14b206(0x1f3)](_0x551496);if(_0x3a1473[_0x14b206(0x1f9)]>0x0){const _0x12a303=0x14,_0x4383b4=_0x3a1473[_0x14b206(0x1ef)](0x0,_0x12a303);for(const _0x2f523f of _0x4383b4){const _0xff2e30=_0x551496[_0x2f523f];if(_0xff2e30['length']<=0x3)for(const _0x5779af of _0xff2e30){_0x588976[_0x14b206(0x1e4)](_0x2f523f+':\x20'+_0x5779af);}else _0x588976[_0x14b206(0x1e4)](_0x2f523f+':\x20'+_0xff2e30[0x0]),_0x588976[_0x14b206(0x1e4)](_0x2f523f+':\x20...\x20('+_0xff2e30['length']+_0x14b206(0x1e2));}_0x3a1473[_0x14b206(0x1f9)]>_0x12a303&&_0x588976['push'](_0x14b206(0x1df)+(_0x3a1473[_0x14b206(0x1f9)]-_0x12a303)+_0x14b206(0x1f7));}if(_0x1af35c[_0x14b206(0x1f9)]>0x0){const _0xdcd030=0x1e;_0x588976['push'](..._0x1af35c[_0x14b206(0x1ef)](0x0,_0xdcd030)),_0x1af35c[_0x14b206(0x1f9)]>_0xdcd030&&_0x588976[_0x14b206(0x1e4)](_0x14b206(0x1df)+(_0x1af35c['length']-_0xdcd030)+_0x14b206(0x1fd));}const _0xbfd2c0=_0x3dc76b['length'];return _0x588976[_0x14b206(0x1e4)]('\x0a('+_0xbfd2c0+_0x14b206(0x1e7)+(_0x3a1473[_0x14b206(0x1f9)]||'?')+_0x14b206(0x201)),_0x588976[_0x14b206(0x205)]('\x0a');}
package/index.html CHANGED
@@ -487,8 +487,12 @@
487
487
  </div>
488
488
 
489
489
  <div class="history-section">
490
- <div class="history-header">
491
- <h2>Command Execution History</h2>
490
+ <div class="history-header" style="display: flex; align-items: center; gap: 16px;">
491
+ <h2 style="margin: 0;">Command Execution History</h2>
492
+ <div id="filter-toggle" style="display: flex; gap: 4px; background: rgba(255,255,255,0.06); border-radius: 8px; padding: 3px;">
493
+ <button id="btn-filter-ai" onclick="setFilter('ai')" style="padding: 4px 14px; border-radius: 6px; border: none; font-size: 12px; font-weight: 600; cursor: pointer; background: var(--emerald); color: #fff; transition: all 0.2s;">AI</button>
494
+ <button id="btn-filter-all" onclick="setFilter('all')" style="padding: 4px 14px; border-radius: 6px; border: none; font-size: 12px; font-weight: 600; cursor: pointer; background: transparent; color: #94A3B8; transition: all 0.2s;">ALL</button>
495
+ </div>
492
496
  </div>
493
497
  <div class="table-container">
494
498
  <table>
@@ -535,6 +539,33 @@
535
539
 
536
540
  <script>
537
541
  let savingsChart = null;
542
+ let currentFilter = 'ai';
543
+
544
+ function isAiCommand(log) {
545
+ // New logs have ai_detected field explicitly
546
+ if (log.ai_detected === true) return true;
547
+ if (log.ai_detected === false) return false;
548
+ // Old logs (before detection feature): assume AI — they went through TrimPrompt shims
549
+ return true;
550
+ }
551
+
552
+ function setFilter(mode) {
553
+ currentFilter = mode;
554
+ const btnAi = document.getElementById('btn-filter-ai');
555
+ const btnAll = document.getElementById('btn-filter-all');
556
+ if (mode === 'ai') {
557
+ btnAi.style.background = 'var(--emerald)';
558
+ btnAi.style.color = '#fff';
559
+ btnAll.style.background = 'transparent';
560
+ btnAll.style.color = '#94A3B8';
561
+ } else {
562
+ btnAll.style.background = 'var(--emerald)';
563
+ btnAll.style.color = '#fff';
564
+ btnAi.style.background = 'transparent';
565
+ btnAi.style.color = '#94A3B8';
566
+ }
567
+ loadHistory();
568
+ }
538
569
 
539
570
  const PRICING_TABLE = {
540
571
  "claude-fable-5": 10.00,
@@ -610,31 +641,22 @@
610
641
  labels: labels.length > 0 ? labels : ['No Data'],
611
642
  datasets: [
612
643
  {
613
- label: 'Original LLM Cost ($)',
644
+ label: 'Cost without TrimPrompt ($)',
614
645
  data: originalCostData.length > 0 ? originalCostData : [0],
615
646
  borderColor: '#EF4444',
616
- backgroundColor: 'rgba(239, 68, 68, 0.1)',
617
- fill: false,
618
- tension: 0.3,
647
+ backgroundColor: 'rgba(239, 68, 68, 0.05)',
648
+ fill: true,
649
+ tension: 0.4,
619
650
  borderWidth: 2
620
651
  },
621
652
  {
622
- label: 'Actual Shaved Cost ($)',
653
+ label: 'Actual cost with TrimPrompt ($)',
623
654
  data: shavedCostData.length > 0 ? shavedCostData : [0],
624
- borderColor: '#3B82F6',
625
- backgroundColor: 'rgba(59, 130, 246, 0.1)',
626
- fill: false,
627
- tension: 0.3,
628
- borderWidth: 2
629
- },
630
- {
631
- label: 'Cumulative Savings ($)',
632
- data: savingsUSDData.length > 0 ? savingsUSDData : [0],
633
655
  borderColor: '#10B981',
634
- backgroundColor: 'rgba(16, 185, 129, 0.1)',
656
+ backgroundColor: 'rgba(16, 185, 129, 0.15)',
635
657
  fill: true,
636
- tension: 0.3,
637
- borderWidth: 3
658
+ tension: 0.4,
659
+ borderWidth: 2
638
660
  }
639
661
  ]
640
662
  },
@@ -652,12 +674,15 @@
652
674
  scales: {
653
675
  x: {
654
676
  grid: { color: 'rgba(255, 255, 255, 0.05)' },
655
- ticks: { color: '#94A3B8', font: { size: 10 } }
677
+ ticks: { color: '#94A3B8', font: { size: 9 }, maxTicksLimit: 12, maxRotation: 35, autoSkip: true }
656
678
  },
657
679
  y: {
658
680
  grid: { color: 'rgba(255, 255, 255, 0.05)' },
659
681
  ticks: { color: '#94A3B8', font: { size: 10 } }
660
682
  }
683
+ },
684
+ elements: {
685
+ point: { radius: 0, hitRadius: 6, hoverRadius: 4 }
661
686
  }
662
687
  }
663
688
  });
@@ -673,16 +698,36 @@
673
698
  const model = select.value;
674
699
 
675
700
  try {
676
- const response = await fetch(`/api/stats/summary?model=${model}`);
677
- const data = await response.json();
678
-
679
- // Populate metrics cards
680
- document.getElementById('val-savings').innerText = `$${data.money_saved_usd.toFixed(4)}`;
681
- document.getElementById('val-savings-desc').innerText = `based on ${data.model_name} pricing${model === 'auto' ? ' (Auto-Detected)' : ''}`;
682
- document.getElementById('val-orig-cost').innerText = `$${data.raw_cost_usd.toFixed(4)}`;
683
- document.getElementById('val-comp-cost').innerText = `$${data.compressed_cost_usd.toFixed(4)}`;
684
- document.getElementById('val-reduction').innerText = `${data.savings_percentage}%`;
685
- document.getElementById('val-tokens-desc').innerText = `raw: ${data.total_raw_tokens.toLocaleString()} compressed: ${data.total_compressed_tokens.toLocaleString()}`;
701
+ // Fetch full history and compute AI-only stats client-side
702
+ const histResp = await fetch('/api/stats/history');
703
+ const allLogs = await histResp.json();
704
+ const aiLogs = allLogs.filter(l => isAiCommand(l));
705
+
706
+ const summaryResp = await fetch(`/api/stats/summary?model=${model}`);
707
+ const data = await summaryResp.json();
708
+
709
+ // Summary counts ALL commands (all went through TrimPrompt and saved tokens)
710
+ const pricePerM = PRICING_TABLE[data.model_key] || PRICING_TABLE[model] || 3.00;
711
+ let totalRaw = 0, totalComp = 0, totalSaved = 0;
712
+ allLogs.forEach(l => {
713
+ totalRaw += l.estimated_raw_tokens;
714
+ totalComp += l.estimated_compressed_tokens;
715
+ totalSaved += l.tokens_saved;
716
+ });
717
+ const pct = totalRaw > 0 ? ((totalSaved / totalRaw) * 100).toFixed(1) : '0.0';
718
+ const rawCostUsd = (totalRaw * pricePerM) / 1000000;
719
+ const compCostUsd = (totalComp * pricePerM) / 1000000;
720
+ const savedUsd = (totalSaved * pricePerM) / 1000000;
721
+
722
+ document.getElementById('val-savings').innerText = `$${savedUsd.toFixed(4)}`;
723
+ document.getElementById('val-savings-desc').innerText = `based on ${data.model_name} pricing`;
724
+ document.getElementById('val-orig-cost').innerText = `$${rawCostUsd.toFixed(4)}`;
725
+ document.getElementById('val-comp-cost').innerText = `$${compCostUsd.toFixed(4)}`;
726
+ document.getElementById('val-reduction').innerText = `${pct}%`;
727
+ document.getElementById('val-tokens-desc').innerText = `raw: ${totalRaw.toLocaleString()} → compressed: ${totalComp.toLocaleString()}`;
728
+
729
+ // Return for chart model resolution
730
+ data.model_key = data.model_key || model;
686
731
  return data;
687
732
  } catch (err) {
688
733
  console.error('Failed to fetch summary stats', err);
@@ -705,17 +750,25 @@
705
750
  }
706
751
  }
707
752
 
708
- // Render Chart.js analytics
709
- renderChart(logs, resolvedModel);
753
+ // Filter logs: AI-only for chart and summary, all for table if toggled
754
+ const aiLogs = logs.filter(l => isAiCommand(l));
755
+
756
+ // Chart + summary always use AI-only logs
757
+ renderChart(aiLogs, resolvedModel);
758
+
759
+ const displayLogs = currentFilter === 'ai' ? aiLogs : logs;
710
760
 
711
761
  const tbody = document.getElementById('history-table-body');
712
- if (logs.length === 0) {
713
- tbody.innerHTML = `<tr><td colspan="7" style="text-align: center; color: var(--text-muted);">No logs recorded yet. Run commands with TrimPrompt to see stats!</td></tr>`;
762
+ if (displayLogs.length === 0) {
763
+ const msg = currentFilter === 'ai'
764
+ ? 'No AI agent commands detected yet. Commands from Claude Code, Cursor, Copilot etc. will appear here.'
765
+ : 'No logs recorded yet. Run commands with TrimPrompt to see stats!';
766
+ tbody.innerHTML = `<tr><td colspan="7" style="text-align: center; color: var(--text-muted);">${msg}</td></tr>`;
714
767
  return;
715
768
  }
716
769
 
717
770
  tbody.innerHTML = '';
718
- logs.reverse().forEach(log => {
771
+ displayLogs.reverse().forEach(log => {
719
772
  const tr = document.createElement('tr');
720
773
  const time = new Date(log.timestamp).toLocaleTimeString();
721
774
 
@@ -766,9 +819,41 @@
766
819
  document.getElementById('diff-modal').style.display = 'none';
767
820
  }
768
821
 
769
- // Initial load
770
- loadStats();
771
- loadHistory();
822
+ // Auto-detect most-used model from AI logs and set dropdown
823
+ async function autoDetectModel() {
824
+ try {
825
+ const resp = await fetch('/api/stats/history');
826
+ const logs = await resp.json();
827
+ const aiLogs = logs.filter(l => isAiCommand(l));
828
+ if (aiLogs.length === 0) return;
829
+
830
+ const recent = aiLogs.slice(-100);
831
+ const counts = {};
832
+ recent.forEach(l => {
833
+ const m = l.model_used || '';
834
+ if (m) counts[m] = (counts[m] || 0) + 1;
835
+ });
836
+
837
+ let topModel = '';
838
+ let topCount = 0;
839
+ for (const [m, c] of Object.entries(counts)) {
840
+ if (c > topCount) { topModel = m; topCount = c; }
841
+ }
842
+
843
+ if (topModel && PRICING_TABLE[topModel]) {
844
+ const select = document.getElementById('model-select');
845
+ if (select.value === 'auto' || select.value === 'claude-3-5-sonnet') {
846
+ select.value = topModel;
847
+ }
848
+ }
849
+ } catch {}
850
+ }
851
+
852
+ // Initial load: detect model first, then load stats
853
+ autoDetectModel().then(() => {
854
+ loadStats();
855
+ loadHistory();
856
+ });
772
857
  // Poll updates every 5 seconds
773
858
  setInterval(() => {
774
859
  loadStats();
package/mcp.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x205d7d=a0_0x1079;(function(_0x336270,_0x336897){const _0x97af5d=a0_0x1079,_0x4e4937=_0x336270();while(!![]){try{const _0x2fbedd=-parseInt(_0x97af5d(0x1b2))/0x1+-parseInt(_0x97af5d(0x1b4))/0x2+-parseInt(_0x97af5d(0x1cf))/0x3*(-parseInt(_0x97af5d(0x1d7))/0x4)+parseInt(_0x97af5d(0x1e0))/0x5+-parseInt(_0x97af5d(0x1c5))/0x6+parseInt(_0x97af5d(0x1d1))/0x7*(-parseInt(_0x97af5d(0x1d3))/0x8)+-parseInt(_0x97af5d(0x1bf))/0x9*(-parseInt(_0x97af5d(0x1be))/0xa);if(_0x2fbedd===_0x336897)break;else _0x4e4937['push'](_0x4e4937['shift']());}catch(_0x4d0c40){_0x4e4937['push'](_0x4e4937['shift']());}}}(a0_0xd257,0x78d6c));var __createBinding=this&&this[a0_0x205d7d(0x1cc)]||(Object[a0_0x205d7d(0x1b5)]?function(_0x42e9a6,_0x586613,_0x21746a,_0x1f32cd){const _0x24f379=a0_0x205d7d;if(_0x1f32cd===undefined)_0x1f32cd=_0x21746a;var _0xaf1e97=Object[_0x24f379(0x1d5)](_0x586613,_0x21746a);(!_0xaf1e97||(_0x24f379(0x1de)in _0xaf1e97?!_0x586613[_0x24f379(0x1ca)]:_0xaf1e97[_0x24f379(0x1db)]||_0xaf1e97['configurable']))&&(_0xaf1e97={'enumerable':!![],'get':function(){return _0x586613[_0x21746a];}}),Object['defineProperty'](_0x42e9a6,_0x1f32cd,_0xaf1e97);}:function(_0x1f6999,_0x276d5d,_0x42a60e,_0x4bb041){if(_0x4bb041===undefined)_0x4bb041=_0x42a60e;_0x1f6999[_0x4bb041]=_0x276d5d[_0x42a60e];}),__setModuleDefault=this&&this[a0_0x205d7d(0x1ce)]||(Object[a0_0x205d7d(0x1b5)]?function(_0x16d05c,_0xc6d1f4){const _0x2701af=a0_0x205d7d;Object[_0x2701af(0x1d2)](_0x16d05c,_0x2701af(0x1cb),{'enumerable':!![],'value':_0xc6d1f4});}:function(_0x5e1532,_0x45c451){const _0x235f61=a0_0x205d7d;_0x5e1532[_0x235f61(0x1cb)]=_0x45c451;}),__importStar=this&&this[a0_0x205d7d(0x1c3)]||(function(){var _0x5c1574=function(_0x363bdf){return _0x5c1574=Object['getOwnPropertyNames']||function(_0x110f2f){const _0x5ae41a=a0_0x1079;var _0x494ad3=[];for(var _0x41321c in _0x110f2f)if(Object[_0x5ae41a(0x1b0)][_0x5ae41a(0x1cd)][_0x5ae41a(0x1e4)](_0x110f2f,_0x41321c))_0x494ad3[_0x494ad3[_0x5ae41a(0x1ba)]]=_0x41321c;return _0x494ad3;},_0x5c1574(_0x363bdf);};return function(_0x5192c5){const _0x52b027=a0_0x1079;if(_0x5192c5&&_0x5192c5['__esModule'])return _0x5192c5;var _0x2263f8={};if(_0x5192c5!=null){for(var _0xe7335e=_0x5c1574(_0x5192c5),_0xc00be1=0x0;_0xc00be1<_0xe7335e[_0x52b027(0x1ba)];_0xc00be1++)if(_0xe7335e[_0xc00be1]!=='default')__createBinding(_0x2263f8,_0x5192c5,_0xe7335e[_0xc00be1]);}return __setModuleDefault(_0x2263f8,_0x5192c5),_0x2263f8;};}());Object[a0_0x205d7d(0x1d2)](exports,a0_0x205d7d(0x1ca),{'value':!![]}),exports[a0_0x205d7d(0x1d9)]=runMcpProxy;function a0_0x1079(_0x5a6638,_0x10c613){const _0xd257c5=a0_0xd257();return a0_0x1079=function(_0x107936,_0x138e5c){_0x107936=_0x107936-0x1b0;let _0x4ccf45=_0xd257c5[_0x107936];return _0x4ccf45;},a0_0x1079(_0x5a6638,_0x10c613);}const child_process_1=require(a0_0x205d7d(0x1df)),readline=__importStar(require(a0_0x205d7d(0x1d6))),filters_1=require(a0_0x205d7d(0x1bc)),tracker_1=require(a0_0x205d7d(0x1e5));function a0_0xd257(){const _0x3ccdab=['runMcpProxy','logExecution','writable','mcp-tool-call','error','get','child_process','1571565KdERFZ','2.0','isArray','type','call','./tracker','prototype','write','642038hNvbzl','tracker','1052170NDYrks','create','result','parse','stringify','exit','length','stdin','./filters','pipe','542950OAoonn','207JbhdHh','compressOutput','getConfig','string','__importStar','spawn','2707134QzwTAn','close','trim','createInterface','stdout','__esModule','default','__createBinding','hasOwnProperty','__setModuleDefault','6EVACTz','jsonrpc','21jyRcmW','defineProperty','107248xkuwbI','text','getOwnPropertyDescriptor','readline','1182776DSQTTF','content'];a0_0xd257=function(){return _0x3ccdab;};return a0_0xd257();}function runMcpProxy(_0xb9e9ed,_0x41af20){const _0x271578=a0_0x205d7d,_0x3b2686=(0x0,child_process_1[_0x271578(0x1c4)])(_0xb9e9ed,_0x41af20,{'stdio':[_0x271578(0x1bd),_0x271578(0x1bd),'inherit']});process[_0x271578(0x1bb)][_0x271578(0x1bd)](_0x3b2686['stdin']);const _0x2d2467=readline[_0x271578(0x1c8)]({'input':_0x3b2686['stdout'],'terminal':![]});_0x2d2467['on']('line',_0x18fedd=>{const _0x3a1e6d=_0x271578;try{const _0x581a07=JSON[_0x3a1e6d(0x1b7)](_0x18fedd);if(_0x581a07&&_0x581a07[_0x3a1e6d(0x1d0)]===_0x3a1e6d(0x1e1)&&_0x581a07['id']!==undefined&&_0x581a07[_0x3a1e6d(0x1b6)]&&Array[_0x3a1e6d(0x1e2)](_0x581a07['result'][_0x3a1e6d(0x1d8)])){let _0x47c998=![];for(const _0x1fd35c of _0x581a07[_0x3a1e6d(0x1b6)][_0x3a1e6d(0x1d8)]){if(_0x1fd35c[_0x3a1e6d(0x1e3)]==='text'&&typeof _0x1fd35c[_0x3a1e6d(0x1d4)]===_0x3a1e6d(0x1c2)&&_0x1fd35c[_0x3a1e6d(0x1d4)][_0x3a1e6d(0x1c7)]()[_0x3a1e6d(0x1ba)]>0x0){const _0x3ac4ab=_0x1fd35c[_0x3a1e6d(0x1d4)],_0x16d0ed=(0x0,filters_1[_0x3a1e6d(0x1c0)])(_0x3a1e6d(0x1dc),_0x3ac4ab,'',tracker_1[_0x3a1e6d(0x1b3)][_0x3a1e6d(0x1c1)]()['redaction_enabled']);tracker_1['tracker'][_0x3a1e6d(0x1da)]('mcp\x20tool\x20(id:\x20'+_0x581a07['id']+')',_0x3ac4ab,_0x16d0ed,0x0),_0x1fd35c['text']=_0x16d0ed,_0x47c998=!![];}}_0x47c998?process['stdout'][_0x3a1e6d(0x1b1)](JSON[_0x3a1e6d(0x1b8)](_0x581a07)+'\x0a'):process['stdout'][_0x3a1e6d(0x1b1)](_0x18fedd+'\x0a');}else process['stdout'][_0x3a1e6d(0x1b1)](_0x18fedd+'\x0a');}catch{process[_0x3a1e6d(0x1c9)][_0x3a1e6d(0x1b1)](_0x18fedd+'\x0a');}}),_0x3b2686['on'](_0x271578(0x1c6),_0x290ace=>{process['exit'](_0x290ace||0x0);}),_0x3b2686['on'](_0x271578(0x1dd),_0x13a56a=>{const _0x34e12e=_0x271578;console[_0x34e12e(0x1dd)]('[TrimPrompt]\x20MCP\x20Server\x20Spawn\x20Error:\x20'+_0x13a56a['message']),process[_0x34e12e(0x1b9)](0x1);});}
1
+ 'use strict';const a0_0x2dee27=a0_0x5a8b;(function(_0x47c9b7,_0x5148ac){const _0x2de401=a0_0x5a8b,_0x4cadb6=_0x47c9b7();while(!![]){try{const _0x1ac478=-parseInt(_0x2de401(0x1a3))/0x1*(-parseInt(_0x2de401(0x19b))/0x2)+-parseInt(_0x2de401(0x18f))/0x3*(-parseInt(_0x2de401(0x190))/0x4)+-parseInt(_0x2de401(0x18b))/0x5+parseInt(_0x2de401(0x192))/0x6+-parseInt(_0x2de401(0x1ab))/0x7*(parseInt(_0x2de401(0x189))/0x8)+parseInt(_0x2de401(0x19e))/0x9*(parseInt(_0x2de401(0x1ad))/0xa)+-parseInt(_0x2de401(0x180))/0xb;if(_0x1ac478===_0x5148ac)break;else _0x4cadb6['push'](_0x4cadb6['shift']());}catch(_0x21093a){_0x4cadb6['push'](_0x4cadb6['shift']());}}}(a0_0x9076,0xe91f0));function a0_0x5a8b(_0x13bec1,_0x51b430){const _0x9076ad=a0_0x9076();return a0_0x5a8b=function(_0x5a8b97,_0x31e543){_0x5a8b97=_0x5a8b97-0x17a;let _0x3bf922=_0x9076ad[_0x5a8b97];return _0x3bf922;},a0_0x5a8b(_0x13bec1,_0x51b430);}var __createBinding=this&&this[a0_0x2dee27(0x188)]||(Object[a0_0x2dee27(0x195)]?function(_0x489068,_0xab2bb6,_0x4cc526,_0x238475){const _0x2f7fd2=a0_0x2dee27;if(_0x238475===undefined)_0x238475=_0x4cc526;var _0x1a4ca4=Object['getOwnPropertyDescriptor'](_0xab2bb6,_0x4cc526);(!_0x1a4ca4||(_0x2f7fd2(0x19a)in _0x1a4ca4?!_0xab2bb6[_0x2f7fd2(0x198)]:_0x1a4ca4[_0x2f7fd2(0x1a9)]||_0x1a4ca4[_0x2f7fd2(0x17c)]))&&(_0x1a4ca4={'enumerable':!![],'get':function(){return _0xab2bb6[_0x4cc526];}}),Object[_0x2f7fd2(0x1a1)](_0x489068,_0x238475,_0x1a4ca4);}:function(_0x3e5e8d,_0x4ba5b1,_0xfc2814,_0x351553){if(_0x351553===undefined)_0x351553=_0xfc2814;_0x3e5e8d[_0x351553]=_0x4ba5b1[_0xfc2814];}),__setModuleDefault=this&&this['__setModuleDefault']||(Object['create']?function(_0x3feee6,_0x586463){const _0x55aeca=a0_0x2dee27;Object[_0x55aeca(0x1a1)](_0x3feee6,'default',{'enumerable':!![],'value':_0x586463});}:function(_0xc5383d,_0x142208){const _0x4ff3fc=a0_0x2dee27;_0xc5383d[_0x4ff3fc(0x1aa)]=_0x142208;}),__importStar=this&&this[a0_0x2dee27(0x184)]||(function(){var _0x198985=function(_0x1ab2d3){const _0x25036c=a0_0x5a8b;return _0x198985=Object[_0x25036c(0x1ac)]||function(_0x72c4f0){const _0x149407=_0x25036c;var _0x38513a=[];for(var _0x4cb739 in _0x72c4f0)if(Object[_0x149407(0x1a6)]['hasOwnProperty'][_0x149407(0x1a8)](_0x72c4f0,_0x4cb739))_0x38513a[_0x38513a[_0x149407(0x18a)]]=_0x4cb739;return _0x38513a;},_0x198985(_0x1ab2d3);};return function(_0x12fdb8){const _0x24ae99=a0_0x5a8b;if(_0x12fdb8&&_0x12fdb8[_0x24ae99(0x198)])return _0x12fdb8;var _0x4b88d3={};if(_0x12fdb8!=null){for(var _0x546253=_0x198985(_0x12fdb8),_0x2a26f4=0x0;_0x2a26f4<_0x546253[_0x24ae99(0x18a)];_0x2a26f4++)if(_0x546253[_0x2a26f4]!==_0x24ae99(0x1aa))__createBinding(_0x4b88d3,_0x12fdb8,_0x546253[_0x2a26f4]);}return __setModuleDefault(_0x4b88d3,_0x12fdb8),_0x4b88d3;};}());Object[a0_0x2dee27(0x1a1)](exports,'__esModule',{'value':!![]}),exports[a0_0x2dee27(0x17e)]=runMcpProxy;const child_process_1=require('child_process'),readline=__importStar(require('readline')),filters_1=require(a0_0x2dee27(0x1af)),tracker_1=require(a0_0x2dee27(0x18d));function a0_0x9076(){const _0x3f6275=['runMcpProxy','isArray','203291CTqLDK','tracker','line','mcp-tool-call','__importStar','[TrimPrompt]\x20MCP\x20Server\x20Spawn\x20Error:\x20','stdout','text','__createBinding','24krpqzM','length','7752660acZWlp','type','./tracker','result','3iyvFyI','2584004GtdnXt','jsonrpc','1125864PEJzaX','pipe','inherit','create','content','message','__esModule','error','get','539018PBwNXV','string','logExecution','45OMfZqi','close','mcp\x20tool\x20(id:\x20','defineProperty','exit','3tCnWzc','redaction_enabled','spawn','prototype','createInterface','call','writable','default','1300985fQRPob','getOwnPropertyNames','2878540AUkIsP','parse','./filters','stdin','trim','stringify','write','configurable','getConfig'];a0_0x9076=function(){return _0x3f6275;};return a0_0x9076();}function runMcpProxy(_0x93122b,_0x5efb05){const _0x4b54c8=a0_0x2dee27,_0x560872=(0x0,child_process_1[_0x4b54c8(0x1a5)])(_0x93122b,_0x5efb05,{'stdio':[_0x4b54c8(0x193),_0x4b54c8(0x193),_0x4b54c8(0x194)]});process[_0x4b54c8(0x1b0)][_0x4b54c8(0x193)](_0x560872[_0x4b54c8(0x1b0)]);const _0x3637be=readline[_0x4b54c8(0x1a7)]({'input':_0x560872['stdout'],'terminal':![]});_0x3637be['on'](_0x4b54c8(0x182),_0x2170b9=>{const _0x10de2a=_0x4b54c8;try{const _0xb9077b=JSON[_0x10de2a(0x1ae)](_0x2170b9);if(_0xb9077b&&_0xb9077b[_0x10de2a(0x191)]==='2.0'&&_0xb9077b['id']!==undefined&&_0xb9077b[_0x10de2a(0x18e)]&&Array[_0x10de2a(0x17f)](_0xb9077b[_0x10de2a(0x18e)][_0x10de2a(0x196)])){let _0x2686f1=![];for(const _0x135b89 of _0xb9077b[_0x10de2a(0x18e)][_0x10de2a(0x196)]){if(_0x135b89[_0x10de2a(0x18c)]===_0x10de2a(0x187)&&typeof _0x135b89[_0x10de2a(0x187)]===_0x10de2a(0x19c)&&_0x135b89[_0x10de2a(0x187)][_0x10de2a(0x1b1)]()[_0x10de2a(0x18a)]>0x0){const _0x37a270=_0x135b89[_0x10de2a(0x187)],_0x390107=(0x0,filters_1['compressOutput'])(_0x10de2a(0x183),_0x37a270,'',tracker_1['tracker'][_0x10de2a(0x17d)]()[_0x10de2a(0x1a4)]);tracker_1[_0x10de2a(0x181)][_0x10de2a(0x19d)](_0x10de2a(0x1a0)+_0xb9077b['id']+')',_0x37a270,_0x390107,0x0),_0x135b89[_0x10de2a(0x187)]=_0x390107,_0x2686f1=!![];}}_0x2686f1?process[_0x10de2a(0x186)][_0x10de2a(0x17b)](JSON[_0x10de2a(0x17a)](_0xb9077b)+'\x0a'):process[_0x10de2a(0x186)][_0x10de2a(0x17b)](_0x2170b9+'\x0a');}else process[_0x10de2a(0x186)][_0x10de2a(0x17b)](_0x2170b9+'\x0a');}catch{process[_0x10de2a(0x186)]['write'](_0x2170b9+'\x0a');}}),_0x560872['on'](_0x4b54c8(0x19f),_0x5371be=>{const _0x138a9b=_0x4b54c8;process[_0x138a9b(0x1a2)](_0x5371be||0x0);}),_0x560872['on'](_0x4b54c8(0x199),_0x4ff13d=>{const _0x1d90b5=_0x4b54c8;console[_0x1d90b5(0x199)](_0x1d90b5(0x185)+_0x4ff13d[_0x1d90b5(0x197)]),process[_0x1d90b5(0x1a2)](0x1);});}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trimprompt",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
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_0x45e058=a0_0x6761;(function(_0x8ecca8,_0x2338d0){const _0x2869de=a0_0x6761,_0x4d869d=_0x8ecca8();while(!![]){try{const _0xf313ba=parseInt(_0x2869de(0xf1))/0x1*(parseInt(_0x2869de(0xfc))/0x2)+parseInt(_0x2869de(0xf6))/0x3*(parseInt(_0x2869de(0xff))/0x4)+-parseInt(_0x2869de(0xec))/0x5+-parseInt(_0x2869de(0xf4))/0x6+-parseInt(_0x2869de(0xfe))/0x7+-parseInt(_0x2869de(0xfa))/0x8*(parseInt(_0x2869de(0x101))/0x9)+parseInt(_0x2869de(0xf9))/0xa;if(_0xf313ba===_0x2338d0)break;else _0x4d869d['push'](_0x4d869d['shift']());}catch(_0x52fe87){_0x4d869d['push'](_0x4d869d['shift']());}}}(a0_0x17ab,0x7657e));function a0_0x6761(_0x3387cb,_0x4f050e){const _0x17abc0=a0_0x17ab();return a0_0x6761=function(_0x6761e,_0x3920b7){_0x6761e=_0x6761e-0xeb;let _0x1d2c07=_0x17abc0[_0x6761e];return _0x1d2c07;},a0_0x6761(_0x3387cb,_0x4f050e);}function a0_0x17ab(){const _0x39f12b=['loadDefaultRules','regex','[REDACTED_EMAIL]','redactor','43IZxwvH','Redactor','Email\x20Address','627342mKVzvl','defineProperty','831399qMCMRU','rules','replace','12219060PxIMyY','8GQzYOK','API\x20Key\x20or\x20Password','18500YFIUwH','replacement','1483748hmmtsa','4BGhmOJ','IPv4\x20Address','6225390YtmOOC','[REDACTED_DB_CONNECTION_STRING]','2019120wFxIuE'];a0_0x17ab=function(){return _0x39f12b;};return a0_0x17ab();}Object[a0_0x45e058(0xf5)](exports,'__esModule',{'value':!![]}),exports['redactor']=exports[a0_0x45e058(0xf2)]=void 0x0;class Redactor{[a0_0x45e058(0xf7)]=[];constructor(){const _0x23d1e5=a0_0x45e058;this[_0x23d1e5(0xed)]();}[a0_0x45e058(0xed)](){const _0x384f01=a0_0x45e058;this[_0x384f01(0xf7)]=[{'name':'Database\x20Connection\x20String','regex':/(mongodb|postgres|postgresql|mysql|redis|sqlite):\/\/[a-zA-Z0-9_]+:[^@\s\n]+@[^\s\n]+/gi,'replacement':_0x384f01(0xeb)},{'name':_0x384f01(0xfb),'regex':/(api[_-]?key|secret|password|passwd|auth|token|private[_-]?key)[\s:=]+[a-zA-Z0-9_-]{16,}/gi,'replacement':'$1:\x20[REDACTED_CREDENTIAL]'},{'name':_0x384f01(0x100),'regex':/\b(?!127\.0\.0\.1|255\.255\.255\.0)(?:[0-9]{1,3}\.){3}[0-9]{1,3}\b/g,'replacement':'[REDACTED_IP]'},{'name':_0x384f01(0xf3),'regex':/\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b/g,'replacement':_0x384f01(0xef)}];}['redact'](_0x539f26){const _0x32b7b0=a0_0x45e058;let _0x2dff01=_0x539f26;for(const _0xf6fbc8 of this[_0x32b7b0(0xf7)]){_0x2dff01=_0x2dff01[_0x32b7b0(0xf8)](_0xf6fbc8[_0x32b7b0(0xee)],_0xf6fbc8[_0x32b7b0(0xfd)]);}return _0x2dff01;}}exports[a0_0x45e058(0xf2)]=Redactor,exports[a0_0x45e058(0xf0)]=new Redactor();
1
+ 'use strict';const a0_0x1ed6e5=a0_0x5364;(function(_0x29f216,_0x59d75e){const _0x577fe4=a0_0x5364,_0x222c9d=_0x29f216();while(!![]){try{const _0x16be55=-parseInt(_0x577fe4(0x11b))/0x1+parseInt(_0x577fe4(0x12e))/0x2*(parseInt(_0x577fe4(0x12d))/0x3)+parseInt(_0x577fe4(0x11e))/0x4*(-parseInt(_0x577fe4(0x128))/0x5)+-parseInt(_0x577fe4(0x121))/0x6*(-parseInt(_0x577fe4(0x12f))/0x7)+-parseInt(_0x577fe4(0x12a))/0x8*(parseInt(_0x577fe4(0x11f))/0x9)+-parseInt(_0x577fe4(0x125))/0xa+parseInt(_0x577fe4(0x130))/0xb*(parseInt(_0x577fe4(0x12c))/0xc);if(_0x16be55===_0x59d75e)break;else _0x222c9d['push'](_0x222c9d['shift']());}catch(_0x2ef2b8){_0x222c9d['push'](_0x222c9d['shift']());}}}(a0_0x210b,0xbb9ca));Object[a0_0x1ed6e5(0x123)](exports,a0_0x1ed6e5(0x120),{'value':!![]}),exports['redactor']=exports[a0_0x1ed6e5(0x124)]=void 0x0;class Redactor{[a0_0x1ed6e5(0x11d)]=[];constructor(){this['loadDefaultRules']();}['loadDefaultRules'](){const _0x596b68=a0_0x1ed6e5;this[_0x596b68(0x11d)]=[{'name':_0x596b68(0x129),'regex':/(mongodb|postgres|postgresql|mysql|redis|sqlite):\/\/[a-zA-Z0-9_]+:[^@\s\n]+@[^\s\n]+/gi,'replacement':_0x596b68(0x11c)},{'name':_0x596b68(0x131),'regex':/(api[_-]?key|secret|password|passwd|auth|token|private[_-]?key)[\s:=]+[a-zA-Z0-9_-]{16,}/gi,'replacement':_0x596b68(0x127)},{'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':'[REDACTED_IP]'},{'name':'Email\x20Address','regex':/\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b/g,'replacement':_0x596b68(0x12b)}];}[a0_0x1ed6e5(0x132)](_0x2a24f8){const _0x3185b5=a0_0x1ed6e5;let _0x43cc59=_0x2a24f8;for(const _0x226871 of this[_0x3185b5(0x11d)]){_0x43cc59=_0x43cc59[_0x3185b5(0x122)](_0x226871[_0x3185b5(0x126)],_0x226871['replacement']);}return _0x43cc59;}}exports[a0_0x1ed6e5(0x124)]=Redactor,exports['redactor']=new Redactor();function a0_0x5364(_0x2e8353,_0x3f27cc){const _0x210bc1=a0_0x210b();return a0_0x5364=function(_0x5364e9,_0x5b72a6){_0x5364e9=_0x5364e9-0x11b;let _0x2d73db=_0x210bc1[_0x5364e9];return _0x2d73db;},a0_0x5364(_0x2e8353,_0x3f27cc);}function a0_0x210b(){const _0x40ab8f=['1001296DhqtDP','1737rtQWUK','__esModule','9474gOEYkY','replace','defineProperty','Redactor','3175580mAgTEy','regex','$1:\x20[REDACTED_CREDENTIAL]','15EoSqyH','Database\x20Connection\x20String','35320FsaVyb','[REDACTED_EMAIL]','172644lGOROD','3sjkWQA','357362LxoDfg','2653wdHQJw','1661qOaWIJ','API\x20Key\x20or\x20Password','redact','260476UMthlm','[REDACTED_DB_CONNECTION_STRING]','rules'];a0_0x210b=function(){return _0x40ab8f;};return a0_0x210b();}
package/seed.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x1cb636=a0_0x2905;(function(_0x32937e,_0x595a0c){const _0x245fb1=a0_0x2905,_0x3292ba=_0x32937e();while(!![]){try{const _0x26c249=-parseInt(_0x245fb1(0x1ac))/0x1+parseInt(_0x245fb1(0x1a1))/0x2*(-parseInt(_0x245fb1(0x1ab))/0x3)+parseInt(_0x245fb1(0x1a7))/0x4+-parseInt(_0x245fb1(0x1af))/0x5*(parseInt(_0x245fb1(0x1a5))/0x6)+-parseInt(_0x245fb1(0x19e))/0x7*(-parseInt(_0x245fb1(0x19d))/0x8)+parseInt(_0x245fb1(0x191))/0x9+-parseInt(_0x245fb1(0x19a))/0xa;if(_0x26c249===_0x595a0c)break;else _0x3292ba['push'](_0x3292ba['shift']());}catch(_0xbc06f4){_0x3292ba['push'](_0x3292ba['shift']());}}}(a0_0x8dfd,0x2bffd));function a0_0x2905(_0x109f4e,_0x41e417){const _0x8dfda2=a0_0x8dfd();return a0_0x2905=function(_0x2905e5,_0x10d8cc){_0x2905e5=_0x2905e5-0x18c;let _0x208b55=_0x8dfda2[_0x2905e5];return _0x208b55;},a0_0x2905(_0x109f4e,_0x41e417);}function a0_0x8dfd(){const _0x45fea7=['gpt-4o','[INFO]\x20Building\x20modules...\x0a[SUCCESS]\x20Compiled\x20512\x20modules.\x20(repeated\x20400\x20times)','248JeHmaM','61432yaboNN','Step\x203/10\x20:\x20RUN\x20npm\x20install\x0a','Seeding\x20TrimPrompt\x20database\x20with\x20mock\x20LLM\x20command\x20telemetry...','12HNphMs','Test\x20suite\x20run\x20starting...\x0a','Step\x202/10\x20:\x20COPY\x20package.json\x20.\x0a','logExecution','317838YvaWRs','Successfully\x20built\x20image.','171512bwioxW','__esModule','Optimizing\x20assets...\x0a','docker\x20build:\x201420\x20packages\x20added.\x20Successfully\x20built\x20image.','40707JRuSpo','40624inEfoa','test_api.py\x20PASS\x0a','test_db.py\x20PASS\x0a','5KetFLt','TRIMPROMPT_MODEL','Compilation\x20Output:\x0a','[INFO]\x20Building\x20modules...\x0a','[SUCCESS]\x20Compiled\x20512\x20modules.\x0a','log','2984040xrFtgt','Database\x20successfully\x20seeded!','added\x201420\x20packages\x20in\x2014s\x0a','test_auth.py\x20PASS\x0a','repeat','pytest\x20tests/app','defineProperty','env','tracker','2912620wEMZUC'];a0_0x8dfd=function(){return _0x45fea7;};return a0_0x8dfd();}Object[a0_0x1cb636(0x197)](exports,a0_0x1cb636(0x1a8),{'value':!![]});const tracker_1=require('./tracker');console['log'](a0_0x1cb636(0x1a0)),process['env']['TRIMPROMPT_MODEL']='claude-3-opus',tracker_1[a0_0x1cb636(0x199)][a0_0x1cb636(0x1a4)]('npm\x20run\x20build',a0_0x1cb636(0x18d)+a0_0x1cb636(0x18e)+a0_0x1cb636(0x1a9)+a0_0x1cb636(0x18f)['repeat'](0x190),a0_0x1cb636(0x19c),0x0),process[a0_0x1cb636(0x198)][a0_0x1cb636(0x18c)]=a0_0x1cb636(0x19b),tracker_1[a0_0x1cb636(0x199)][a0_0x1cb636(0x1a4)](a0_0x1cb636(0x196),a0_0x1cb636(0x1a2)+a0_0x1cb636(0x194)+a0_0x1cb636(0x1ae)+a0_0x1cb636(0x1ad)[a0_0x1cb636(0x195)](0x12c)+'All\x20303\x20tests\x20passed\x20in\x204.22s.','pytest\x20app:\x20303\x20tests\x20passed\x20in\x204.22s.',0x0),process['env'][a0_0x1cb636(0x18c)]='gemini-1-5-pro',tracker_1[a0_0x1cb636(0x199)][a0_0x1cb636(0x1a4)]('docker\x20build\x20.','Sending\x20build\x20context\x20to\x20Docker\x20daemon...\x0a'+'Step\x201/10\x20:\x20FROM\x20node:20\x0a'+a0_0x1cb636(0x1a3)+a0_0x1cb636(0x19f)+a0_0x1cb636(0x193)[a0_0x1cb636(0x195)](0x3)+a0_0x1cb636(0x1a6),a0_0x1cb636(0x1aa),0x0),console[a0_0x1cb636(0x190)](a0_0x1cb636(0x192));
1
+ 'use strict';const a0_0x2bedc9=a0_0x5a7e;(function(_0xb16a09,_0x457e6c){const _0x5d30a0=a0_0x5a7e,_0x3216d6=_0xb16a09();while(!![]){try{const _0x12711f=parseInt(_0x5d30a0(0x92))/0x1+-parseInt(_0x5d30a0(0xa6))/0x2*(parseInt(_0x5d30a0(0xa0))/0x3)+parseInt(_0x5d30a0(0x91))/0x4+-parseInt(_0x5d30a0(0x98))/0x5*(-parseInt(_0x5d30a0(0xa2))/0x6)+-parseInt(_0x5d30a0(0x97))/0x7*(-parseInt(_0x5d30a0(0x82))/0x8)+-parseInt(_0x5d30a0(0x8f))/0x9*(parseInt(_0x5d30a0(0x86))/0xa)+parseInt(_0x5d30a0(0x96))/0xb*(-parseInt(_0x5d30a0(0x9d))/0xc);if(_0x12711f===_0x457e6c)break;else _0x3216d6['push'](_0x3216d6['shift']());}catch(_0x57c432){_0x3216d6['push'](_0x3216d6['shift']());}}}(a0_0x1c78,0xd5899));Object['defineProperty'](exports,a0_0x2bedc9(0x8e),{'value':!![]});function a0_0x5a7e(_0x1ae992,_0x39226c){const _0x1c78a2=a0_0x1c78();return a0_0x5a7e=function(_0x5a7e15,_0x1101e1){_0x5a7e15=_0x5a7e15-0x81;let _0x30a186=_0x1c78a2[_0x5a7e15];return _0x30a186;},a0_0x5a7e(_0x1ae992,_0x39226c);}const tracker_1=require(a0_0x2bedc9(0x90));function a0_0x1c78(){const _0x47da24=['13130793WyYFWV','./tracker','3863732LOniIa','708407fKwuUP','[INFO]\x20Building\x20modules...\x0a','pytest\x20app:\x20303\x20tests\x20passed\x20in\x204.22s.','test_db.py\x20PASS\x0a','7468681eNzyvA','8981ZEwjKs','5jzVbPL','npm\x20run\x20build','Step\x203/10\x20:\x20RUN\x20npm\x20install\x0a','Step\x201/10\x20:\x20FROM\x20node:20\x0a','Compilation\x20Output:\x0a','12yANFSr','[SUCCESS]\x20Compiled\x20512\x20modules.\x0a','Optimizing\x20assets...\x0a','3cmzWii','claude-3-opus','5934174NKttJz','Test\x20suite\x20run\x20starting...\x0a','[INFO]\x20Building\x20modules...\x0a[SUCCESS]\x20Compiled\x20512\x20modules.\x20(repeated\x20400\x20times)','gemini-1-5-pro','2224218LsVGBH','added\x201420\x20packages\x20in\x2014s\x0a','Successfully\x20built\x20image.','Step\x202/10\x20:\x20COPY\x20package.json\x20.\x0a','9112ysSEDO','tracker','test_api.py\x20PASS\x0a','test_auth.py\x20PASS\x0a','10fJcxWJ','logExecution','TRIMPROMPT_MODEL','log','All\x20303\x20tests\x20passed\x20in\x204.22s.','env','docker\x20build:\x201420\x20packages\x20added.\x20Successfully\x20built\x20image.','repeat','__esModule'];a0_0x1c78=function(){return _0x47da24;};return a0_0x1c78();}console['log']('Seeding\x20TrimPrompt\x20database\x20with\x20mock\x20LLM\x20command\x20telemetry...'),process[a0_0x2bedc9(0x8b)]['TRIMPROMPT_MODEL']=a0_0x2bedc9(0xa1),tracker_1[a0_0x2bedc9(0x83)][a0_0x2bedc9(0x87)](a0_0x2bedc9(0x99),a0_0x2bedc9(0x9c)+a0_0x2bedc9(0x93)+a0_0x2bedc9(0x9f)+a0_0x2bedc9(0x9e)[a0_0x2bedc9(0x8d)](0x190),a0_0x2bedc9(0xa4),0x0),process[a0_0x2bedc9(0x8b)][a0_0x2bedc9(0x88)]='gpt-4o',tracker_1[a0_0x2bedc9(0x83)]['logExecution']('pytest\x20tests/app',a0_0x2bedc9(0xa3)+a0_0x2bedc9(0x85)+a0_0x2bedc9(0x95)+a0_0x2bedc9(0x84)[a0_0x2bedc9(0x8d)](0x12c)+a0_0x2bedc9(0x8a),a0_0x2bedc9(0x94),0x0),process[a0_0x2bedc9(0x8b)]['TRIMPROMPT_MODEL']=a0_0x2bedc9(0xa5),tracker_1['tracker'][a0_0x2bedc9(0x87)]('docker\x20build\x20.','Sending\x20build\x20context\x20to\x20Docker\x20daemon...\x0a'+a0_0x2bedc9(0x9b)+a0_0x2bedc9(0x81)+a0_0x2bedc9(0x9a)+a0_0x2bedc9(0xa7)[a0_0x2bedc9(0x8d)](0x3)+a0_0x2bedc9(0xa8),a0_0x2bedc9(0x8c),0x0),console[a0_0x2bedc9(0x89)]('Database\x20successfully\x20seeded!');