trimprompt 1.0.18 → 1.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/filters/js.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_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();}
1
+ 'use strict';const a0_0x463c3a=a0_0x3dbe;(function(_0x1a2022,_0x2661aa){const _0x5cdd6e=a0_0x3dbe,_0x4e72aa=_0x1a2022();while(!![]){try{const _0x3d8640=-parseInt(_0x5cdd6e(0xd3))/0x1+parseInt(_0x5cdd6e(0xcd))/0x2*(-parseInt(_0x5cdd6e(0xe3))/0x3)+-parseInt(_0x5cdd6e(0xdd))/0x4*(-parseInt(_0x5cdd6e(0xd5))/0x5)+parseInt(_0x5cdd6e(0xc3))/0x6+-parseInt(_0x5cdd6e(0xd0))/0x7+parseInt(_0x5cdd6e(0xd6))/0x8+-parseInt(_0x5cdd6e(0xc1))/0x9*(-parseInt(_0x5cdd6e(0xbc))/0xa);if(_0x3d8640===_0x2661aa)break;else _0x4e72aa['push'](_0x4e72aa['shift']());}catch(_0x5a6942){_0x4e72aa['push'](_0x4e72aa['shift']());}}}(a0_0x4729,0x53aac));function a0_0x3dbe(_0x16a33b,_0x66cd3f){_0x16a33b=_0x16a33b-0xbc;const _0x47297b=a0_0x4729();let _0x3dbefe=_0x47297b[_0x16a33b];return _0x3dbefe;}function a0_0x4729(){const _0x5f4711=['length','found\x20','filterNpmInstall','Test\x20Suites:','67988iDpchh','Tests:','join','push','startsWith','slice','6rMqoeC','Test\x20Files:','29180wWORxK','split','audited\x20','up\x20to\x20date','Test\x20Runner:\x20','2214eFqlqh','includes','1012842uvcbzv','added\x20','\x20total)','\x20failed\x20(','removed\x20','\x20\x20...\x20(','\x20passed,\x20','filterJestVitest','FAIL\x20\x20','NPM:\x20Packages\x20verified/installed\x20successfully','32154IpUjdg','\x20passed','PASS','2692592Jwkwdi','\x0aFailures:','match','678934qnOfMI','__esModule','110xHbdrg','1423000VDzQTK','trim','all'];a0_0x4729=function(){return _0x5f4711;};return a0_0x4729();}Object['defineProperty'](exports,a0_0x463c3a(0xd4),{'value':!![]}),exports[a0_0x463c3a(0xdb)]=filterNpmInstall,exports[a0_0x463c3a(0xca)]=filterJestVitest;function filterNpmInstall(_0x416ec8){const _0x1d3736=a0_0x463c3a,_0x288f29=_0x416ec8['replace'](/\r/g,'\x0a'),_0x3e86df=_0x288f29[_0x1d3736(0xbd)]('\x0a'),_0x33d4df=[];for(const _0x16b317 of _0x3e86df){const _0x158a10=_0x16b317['trim']();(_0x158a10['includes'](_0x1d3736(0xc4))||_0x158a10[_0x1d3736(0xc2)](_0x1d3736(0xc7))||_0x158a10[_0x1d3736(0xc2)](_0x1d3736(0xbe))||_0x158a10[_0x1d3736(0xc2)](_0x1d3736(0xbf))||_0x158a10[_0x1d3736(0xc2)](_0x1d3736(0xda)))&&(!_0x158a10['includes']('%')&&!_0x158a10['startsWith']('⠋')&&!_0x158a10[_0x1d3736(0xe1)]('⠙')&&_0x33d4df[_0x1d3736(0xe0)](_0x158a10));}const _0x24a93d=_0x33d4df[_0x1d3736(0xdf)]('\x0a')[_0x1d3736(0xd7)]();return _0x24a93d['length']>0x0?_0x24a93d:_0x1d3736(0xcc);}function filterJestVitest(_0x56d8b6){const _0x806999=a0_0x463c3a,_0x3ec9a2=_0x56d8b6['split']('\x0a');let _0xe3727f=0x0,_0x4ccc7e=0x0,_0x2f5e3d=0x0;const _0x2eea50=[];let _0xb2bdcd=![];for(const _0x3567f3 of _0x3ec9a2){const _0x1e7697=_0x3567f3['trim']();if(_0x1e7697[_0x806999(0xe1)](_0x806999(0xde))||_0x1e7697[_0x806999(0xc2)](_0x806999(0xe4))){const _0x4b3750=_0x1e7697[_0x806999(0xd2)](/(\d+)\s+passed/),_0x3760eb=_0x1e7697[_0x806999(0xd2)](/(\d+)\s+failed/),_0x499092=_0x1e7697[_0x806999(0xd2)](/(\d+)\s+total/);if(_0x4b3750)_0xe3727f=parseInt(_0x4b3750[0x1]);if(_0x3760eb)_0x4ccc7e=parseInt(_0x3760eb[0x1]);if(_0x499092)_0x2f5e3d=parseInt(_0x499092[0x1]);continue;}(_0x1e7697[_0x806999(0xe1)]('❯')||_0x1e7697[_0x806999(0xe1)]('●')||_0x1e7697[_0x806999(0xe1)](_0x806999(0xcb)))&&(_0xb2bdcd=!![]),_0xb2bdcd&&(_0x1e7697[_0x806999(0xd9)]>0x0&&!_0x1e7697['startsWith'](_0x806999(0xdc))&&!_0x1e7697[_0x806999(0xe1)](_0x806999(0xde))&&_0x2eea50[_0x806999(0xe0)](_0x3567f3));}if(_0x2f5e3d===0x0&&_0xe3727f===0x0&&_0x4ccc7e===0x0){if(_0x56d8b6['includes'](_0x806999(0xcf))&&!_0x56d8b6['includes']('FAIL')){const _0x5cfb2e=_0x56d8b6[_0x806999(0xd2)](/(\d+)\s+passed/),_0x3586fb=_0x5cfb2e?_0x5cfb2e[0x1]:_0x806999(0xd8);return _0x806999(0xc0)+_0x3586fb+_0x806999(0xce);}return _0x56d8b6;}if(_0x4ccc7e===0x0&&_0xe3727f>0x0)return _0x806999(0xc0)+_0xe3727f+_0x806999(0xce);const _0x54af0e=['Test\x20Runner:\x20'+_0xe3727f+_0x806999(0xc9)+_0x4ccc7e+_0x806999(0xc6)+_0x2f5e3d+_0x806999(0xc5)];if(_0x2eea50[_0x806999(0xd9)]>0x0){_0x54af0e[_0x806999(0xe0)](_0x806999(0xd1));const _0x400cad=0x19,_0x231991=_0x2eea50[_0x806999(0xe2)](0x0,_0x400cad);for(const _0x368653 of _0x231991){_0x54af0e[_0x806999(0xe0)]('\x20\x20'+_0x368653);}_0x2eea50[_0x806999(0xd9)]>_0x400cad&&_0x54af0e[_0x806999(0xe0)](_0x806999(0xc8)+(_0x2eea50[_0x806999(0xd9)]-_0x400cad)+'\x20lines\x20of\x20trace\x20details\x20truncated)');}return _0x54af0e[_0x806999(0xdf)]('\x0a');}
package/filters/python.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_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']();}
1
+ 'use strict';const a0_0x481eeb=a0_0x2336;function a0_0x107a(){const _0x17dfd0=['Pytest:\x20All\x20tests\x20passed','\x20\x20\x20\x20','\x20passed','401865ITynwW','Collecting','\x20failed','426830TEXJZu','.py:','12PxrOiM','\x20xfailed','defineProperty','filter','slice','9536160uQJvSs','push','Pytest:\x20','trim','===','Downloading','Requirement\x20already\x20satisfied','Successfully\x20installed','split','length','480816wzcfEg','\x20more\x20failures\x20truncated','Using\x20cached','match','includes','__esModule','961074mqjsbJ','196fJEVmR','===\x20ERRORS\x20===','\x20in\x20','E\x20\x20\x20','failed','===\x20short\x20test\x20summary\x20info\x20===','startsWith','join','\x20xpassed\x20(warning!)','filterPytest','.\x20[FAIL]\x20','AssertionError:','filterPipInstall','2YXQOMi','\x20\x20\x20\x20...\x20(','352299xxeCeH','73880oIlgnv','___'];a0_0x107a=function(){return _0x17dfd0;};return a0_0x107a();}(function(_0x3dc692,_0x4acbd1){const _0x4012bd=a0_0x2336,_0x200bed=_0x3dc692();while(!![]){try{const _0x52f15d=-parseInt(_0x4012bd(0x18e))/0x1+-parseInt(_0x4012bd(0x186))/0x2*(parseInt(_0x4012bd(0x188))/0x3)+-parseInt(_0x4012bd(0x193))/0x4*(-parseInt(_0x4012bd(0x191))/0x5)+-parseInt(_0x4012bd(0x1a2))/0x6+-parseInt(_0x4012bd(0x1a9))/0x7*(parseInt(_0x4012bd(0x189))/0x8)+-parseInt(_0x4012bd(0x1a8))/0x9+parseInt(_0x4012bd(0x198))/0xa;if(_0x52f15d===_0x4acbd1)break;else _0x200bed['push'](_0x200bed['shift']());}catch(_0x2dae6a){_0x200bed['push'](_0x200bed['shift']());}}}(a0_0x107a,0x3bcb2));function a0_0x2336(_0x3aa466,_0x46d70f){_0x3aa466=_0x3aa466-0x184;const _0x107a7d=a0_0x107a();let _0x233664=_0x107a7d[_0x3aa466];return _0x233664;}Object[a0_0x481eeb(0x195)](exports,a0_0x481eeb(0x1a7),{'value':!![]}),exports[a0_0x481eeb(0x1b2)]=filterPytest,exports[a0_0x481eeb(0x185)]=filterPipInstall;function filterPytest(_0x4acfe5){const _0x2e1c55=a0_0x481eeb,_0x372ebc=_0x4acfe5[_0x2e1c55(0x1a0)]('\x0a');let _0x43cde8=0x0,_0x1e5c3e=0x0,_0x218bb3=0x0,_0xd2e0df=0x0,_0x1b944e=0x0;const _0x24a6a4=[];let _0x439a2f=[],_0x3a2099=![];for(const _0x50e3a7 of _0x372ebc){const _0x336532=_0x50e3a7['trim']();if(_0x336532[_0x2e1c55(0x1af)]('===\x20FAILURES\x20===')||_0x336532[_0x2e1c55(0x1af)](_0x2e1c55(0x1aa))){_0x3a2099=!![];continue;}else(_0x336532[_0x2e1c55(0x1af)](_0x2e1c55(0x1ae))||_0x336532[_0x2e1c55(0x1af)](_0x2e1c55(0x19c))&&_0x336532[_0x2e1c55(0x1a6)]('passed'))&&(_0x3a2099=![],_0x439a2f['length']>0x0&&(_0x24a6a4[_0x2e1c55(0x199)](_0x439a2f),_0x439a2f=[]));if(_0x3a2099){if(_0x336532['startsWith'](_0x2e1c55(0x18a)))_0x439a2f[_0x2e1c55(0x1a1)]>0x0&&(_0x24a6a4['push'](_0x439a2f),_0x439a2f=[]),_0x439a2f[_0x2e1c55(0x199)](_0x336532);else _0x336532[_0x2e1c55(0x1a1)]>0x0&&_0x439a2f[_0x2e1c55(0x199)](_0x50e3a7);continue;}if(_0x336532[_0x2e1c55(0x1af)]('===')&&_0x336532[_0x2e1c55(0x1a6)](_0x2e1c55(0x1ab))){const _0x322459=_0x336532[_0x2e1c55(0x1a5)](/(\d+)\s+passed/),_0x526f26=_0x336532[_0x2e1c55(0x1a5)](/(\d+)\s+failed/),_0x3d3b0e=_0x336532[_0x2e1c55(0x1a5)](/(\d+)\s+skipped/),_0x12053e=_0x336532['match'](/(\d+)\s+xfailed/),_0x30506e=_0x336532[_0x2e1c55(0x1a5)](/(\d+)\s+xpassed/);if(_0x322459)_0x43cde8=parseInt(_0x322459[0x1]);if(_0x526f26)_0x1e5c3e=parseInt(_0x526f26[0x1]);if(_0x3d3b0e)_0x218bb3=parseInt(_0x3d3b0e[0x1]);if(_0x12053e)_0xd2e0df=parseInt(_0x12053e[0x1]);if(_0x30506e)_0x1b944e=parseInt(_0x30506e[0x1]);}}_0x439a2f[_0x2e1c55(0x1a1)]>0x0&&_0x24a6a4[_0x2e1c55(0x199)](_0x439a2f);if(_0x43cde8===0x0&&_0x1e5c3e===0x0&&_0x218bb3===0x0&&_0xd2e0df===0x0&&_0x1b944e===0x0){if(_0x4acfe5['includes']('passed')&&!_0x4acfe5[_0x2e1c55(0x1a6)](_0x2e1c55(0x1ad)))return _0x2e1c55(0x18b);return _0x4acfe5;}if(_0x1e5c3e===0x0&&_0x43cde8>0x0&&_0x218bb3===0x0&&_0xd2e0df===0x0&&_0x1b944e===0x0)return'Pytest:\x20'+_0x43cde8+_0x2e1c55(0x18d);const _0x5063fc=[];_0x5063fc[_0x2e1c55(0x199)](_0x2e1c55(0x19a)+_0x43cde8+_0x2e1c55(0x18d));if(_0x1e5c3e>0x0)_0x5063fc[_0x2e1c55(0x199)](_0x1e5c3e+_0x2e1c55(0x190));if(_0x218bb3>0x0)_0x5063fc[_0x2e1c55(0x199)](_0x218bb3+'\x20skipped');if(_0xd2e0df>0x0)_0x5063fc[_0x2e1c55(0x199)](_0xd2e0df+_0x2e1c55(0x194));if(_0x1b944e>0x0)_0x5063fc[_0x2e1c55(0x199)](_0x1b944e+_0x2e1c55(0x1b1));const _0x834ddb=[_0x5063fc['join'](',\x20')];if(_0x24a6a4['length']>0x0){_0x834ddb[_0x2e1c55(0x199)]('\x0aFailures:');const _0x5c9346=0x3,_0x19a12c=_0x24a6a4[_0x2e1c55(0x197)](0x0,_0x5c9346);for(let _0x4708c7=0x0;_0x4708c7<_0x19a12c['length'];_0x4708c7++){const _0x56f147=_0x19a12c[_0x4708c7],_0x54c824=_0x56f147[0x0]['replace'](/_/g,'')['trim']();_0x834ddb['push']('\x20\x20'+(_0x4708c7+0x1)+_0x2e1c55(0x1b3)+_0x54c824);const _0xfa76c9=_0x56f147['slice'](0x1),_0x5303af=_0xfa76c9['filter'](_0x2a461c=>{const _0x4ab0c=_0x2e1c55,_0x150a08=_0x2a461c[_0x4ab0c(0x19b)]();return _0x150a08[_0x4ab0c(0x1af)]('>')||_0x150a08[_0x4ab0c(0x1af)](_0x4ab0c(0x1ac))||_0x150a08[_0x4ab0c(0x1a6)](_0x4ab0c(0x192))||_0x150a08[_0x4ab0c(0x1a6)](_0x4ab0c(0x184));});for(const _0x465c39 of _0x5303af['slice'](0x0,0x8)){_0x834ddb['push'](_0x2e1c55(0x18c)+_0x465c39);}_0x5303af[_0x2e1c55(0x1a1)]>0x8&&_0x834ddb['push'](_0x2e1c55(0x187)+(_0x5303af[_0x2e1c55(0x1a1)]-0x8)+'\x20lines\x20of\x20stacktrace\x20truncated)');}_0x24a6a4[_0x2e1c55(0x1a1)]>_0x5c9346&&_0x834ddb[_0x2e1c55(0x199)]('\x20\x20...\x20+'+(_0x24a6a4[_0x2e1c55(0x1a1)]-_0x5c9346)+_0x2e1c55(0x1a3));}return _0x834ddb[_0x2e1c55(0x1b0)]('\x0a');}function filterPipInstall(_0x5e6a2a){const _0x3f912b=a0_0x481eeb,_0x22ba8c=_0x5e6a2a[_0x3f912b(0x1a0)]('\x0a'),_0x50ce44=[];for(const _0x1b72d9 of _0x22ba8c){const _0x5007ee=_0x1b72d9[_0x3f912b(0x19b)]();_0x5007ee['startsWith'](_0x3f912b(0x19f))&&_0x50ce44[_0x3f912b(0x199)](_0x5007ee);}if(_0x50ce44[_0x3f912b(0x1a1)]>0x0)return _0x50ce44[_0x3f912b(0x1b0)]('\x0a');return _0x22ba8c[_0x3f912b(0x196)](_0x3129f0=>{const _0x572092=_0x3f912b,_0x1b0215=_0x3129f0[_0x572092(0x19b)]();return!_0x1b0215['startsWith'](_0x572092(0x18f))&&!_0x1b0215[_0x572092(0x1af)](_0x572092(0x19d))&&!_0x1b0215[_0x572092(0x1a6)](_0x572092(0x1a4))&&!_0x1b0215[_0x572092(0x1af)](_0x572092(0x19e));})[_0x3f912b(0x1b0)]('\x0a')[_0x3f912b(0x19b)]();}
package/filters/rust.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_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();}
1
+ 'use strict';function a0_0x1342(_0x5506ef,_0x2052b8){_0x5506ef=_0x5506ef-0x1c4;const _0x2260f4=a0_0x2260();let _0x134298=_0x2260f4[_0x5506ef];return _0x134298;}const a0_0x3d552f=a0_0x1342;(function(_0x9950d0,_0x37beb3){const _0x48c945=a0_0x1342,_0x195850=_0x9950d0();while(!![]){try{const _0x1d5a24=parseInt(_0x48c945(0x1fb))/0x1+parseInt(_0x48c945(0x1d1))/0x2*(-parseInt(_0x48c945(0x1f0))/0x3)+parseInt(_0x48c945(0x1db))/0x4+parseInt(_0x48c945(0x1d4))/0x5*(-parseInt(_0x48c945(0x1ef))/0x6)+parseInt(_0x48c945(0x1e5))/0x7*(parseInt(_0x48c945(0x1f3))/0x8)+-parseInt(_0x48c945(0x1eb))/0x9*(-parseInt(_0x48c945(0x1cb))/0xa)+-parseInt(_0x48c945(0x1f9))/0xb;if(_0x1d5a24===_0x37beb3)break;else _0x195850['push'](_0x195850['shift']());}catch(_0x20b50a){_0x195850['push'](_0x195850['shift']());}}}(a0_0x2260,0xf373d));Object[a0_0x3d552f(0x1fc)](exports,'__esModule',{'value':!![]}),exports[a0_0x3d552f(0x1cf)]=filterCargoTest,exports[a0_0x3d552f(0x1d6)]=filterCargoBuild;function filterCargoTest(_0x12ae41){const _0x2f8f2c=a0_0x3d552f,_0x2f8019=_0x12ae41[_0x2f8f2c(0x1f5)]('\x0a');let _0x556351=0x0,_0x23eefd=0x0,_0x2ae50a=0x0,_0x59f160=0x0;const _0x2e3a34=[];let _0x16062d=![],_0x4ad745=[];for(const _0x17ddbd of _0x2f8019){const _0x4d211a=_0x17ddbd[_0x2f8f2c(0x1e7)](),_0x5442e0=_0x4d211a[_0x2f8f2c(0x1d5)](/test result:\s*(\w+)\.\s*(\d+)\s+passed;\s*(\d+)\s+failed;\s*(\d+)\s+ignored;\s*(\d+)\s+measured/);if(_0x5442e0){_0x556351+=parseInt(_0x5442e0[0x2]),_0x23eefd+=parseInt(_0x5442e0[0x3]),_0x2ae50a+=parseInt(_0x5442e0[0x4]),_0x59f160+=parseInt(_0x5442e0[0x5]);continue;}if(_0x4d211a==='failures:'||_0x4d211a==='----\x20failures\x20----'){_0x16062d=!![];continue;}if(_0x16062d){if(_0x4d211a[_0x2f8f2c(0x1ce)]('----\x20')&&_0x4d211a[_0x2f8f2c(0x1e8)](_0x2f8f2c(0x1ed))){if(_0x4ad745[_0x2f8f2c(0x1dc)]>0x0)_0x2e3a34[_0x2f8f2c(0x1cd)](_0x4ad745['join']('\x0a'));_0x4ad745=[_0x4d211a[_0x2f8f2c(0x1e0)](/^-+\s*/,'')[_0x2f8f2c(0x1e0)](/\s*-+$/,'')];}else{if(_0x4d211a===_0x2f8f2c(0x1ec)||_0x4d211a[_0x2f8f2c(0x1ce)](_0x2f8f2c(0x1cc))){if(_0x4ad745[_0x2f8f2c(0x1dc)]>0x0)_0x2e3a34[_0x2f8f2c(0x1cd)](_0x4ad745[_0x2f8f2c(0x1d0)]('\x0a'));_0x4ad745=[],_0x16062d=![];}else _0x4d211a['length']>0x0&&_0x4ad745[_0x2f8f2c(0x1cd)](_0x17ddbd);}}}if(_0x4ad745[_0x2f8f2c(0x1dc)]>0x0)_0x2e3a34[_0x2f8f2c(0x1cd)](_0x4ad745['join']('\x0a'));if(_0x556351===0x0&&_0x23eefd===0x0&&_0x2ae50a===0x0){if(_0x12ae41['includes'](_0x2f8f2c(0x1da)))return _0x2f8f2c(0x1ee);return _0x12ae41;}if(_0x23eefd===0x0){const _0x19bd27=[_0x2f8f2c(0x1e3)+_0x556351+'\x20passed'];if(_0x2ae50a>0x0)_0x19bd27['push'](_0x2ae50a+_0x2f8f2c(0x1c9));return _0x19bd27[_0x2f8f2c(0x1d0)](',\x20');}const _0x1f9545=[_0x2f8f2c(0x1e3)+_0x556351+_0x2f8f2c(0x1d8)+_0x23eefd+_0x2f8f2c(0x1ea)+_0x2ae50a+_0x2f8f2c(0x1c9)];if(_0x2e3a34[_0x2f8f2c(0x1dc)]>0x0){_0x1f9545[_0x2f8f2c(0x1cd)](_0x2f8f2c(0x1e9));const _0x147477=0x3;for(let _0x8dde69=0x0;_0x8dde69<Math[_0x2f8f2c(0x1e2)](_0x2e3a34[_0x2f8f2c(0x1dc)],_0x147477);_0x8dde69++){const _0x331bb0=_0x2e3a34[_0x8dde69][_0x2f8f2c(0x1f5)]('\x0a');_0x1f9545[_0x2f8f2c(0x1cd)]('\x20\x20'+(_0x8dde69+0x1)+'.\x20'+_0x331bb0[0x0]);const _0x1c2728=_0x331bb0[_0x2f8f2c(0x1df)](0x1),_0x162a63=_0x1c2728[_0x2f8f2c(0x1de)](_0x4959fd=>_0x4959fd[_0x2f8f2c(0x1e7)]()[_0x2f8f2c(0x1ce)](_0x2f8f2c(0x1f8))||_0x4959fd[_0x2f8f2c(0x1ca)](_0x2f8f2c(0x1dd))||_0x4959fd[_0x2f8f2c(0x1ca)](_0x2f8f2c(0x1c5))||_0x4959fd[_0x2f8f2c(0x1ca)]('left:')||_0x4959fd[_0x2f8f2c(0x1ca)](_0x2f8f2c(0x1c4)));for(const _0x15007e of _0x162a63[_0x2f8f2c(0x1df)](0x0,0x5)){_0x1f9545[_0x2f8f2c(0x1cd)](_0x2f8f2c(0x1e6)+_0x15007e[_0x2f8f2c(0x1e7)]());}}_0x2e3a34['length']>_0x147477&&_0x1f9545[_0x2f8f2c(0x1cd)]('\x20\x20...\x20+'+(_0x2e3a34[_0x2f8f2c(0x1dc)]-_0x147477)+'\x20more\x20failures');}return _0x1f9545[_0x2f8f2c(0x1d0)]('\x0a');}function filterCargoBuild(_0x2ff7e9){const _0x2a8176=a0_0x3d552f,_0x4efc90=_0x2ff7e9[_0x2a8176(0x1f5)]('\x0a'),_0x5d6232=[],_0x540868=[];let _0x49c646=0x0;for(const _0x12905f of _0x4efc90){const _0x524004=_0x12905f['trim']();if(_0x524004['startsWith'](_0x2a8176(0x1f7)))_0x49c646++;else{if(_0x524004['startsWith'](_0x2a8176(0x1e4))||_0x524004['startsWith'](_0x2a8176(0x1d2)))_0x5d6232[_0x2a8176(0x1cd)](_0x524004);else{if(_0x524004[_0x2a8176(0x1ce)](_0x2a8176(0x1f6))||_0x524004[_0x2a8176(0x1ce)](_0x2a8176(0x1f2)))_0x540868['push'](_0x524004);}}}if(_0x540868[_0x2a8176(0x1dc)]===0x0&&_0x5d6232[_0x2a8176(0x1dc)]===0x0)return _0x49c646>0x0?'Cargo:\x20compiled\x20'+_0x49c646+_0x2a8176(0x1fa):_0x2ff7e9[_0x2a8176(0x1e7)]();const _0x2201bc=[];if(_0x540868[_0x2a8176(0x1dc)]>0x0){_0x2201bc['push']('Cargo:\x20'+_0x540868[_0x2a8176(0x1dc)]+_0x2a8176(0x1f1)+_0x5d6232['length']+'\x20warnings'),_0x2201bc[_0x2a8176(0x1cd)](_0x2a8176(0x1d7));for(const _0x1c2f45 of _0x540868[_0x2a8176(0x1df)](0x0,0x5))_0x2201bc[_0x2a8176(0x1cd)]('\x20\x20'+_0x1c2f45);if(_0x540868['length']>0x5)_0x2201bc[_0x2a8176(0x1cd)](_0x2a8176(0x1d9)+(_0x540868[_0x2a8176(0x1dc)]-0x5)+_0x2a8176(0x1d3));}else _0x2201bc['push'](_0x2a8176(0x1c6)+_0x49c646+_0x2a8176(0x1f4)+_0x5d6232[_0x2a8176(0x1dc)]+_0x2a8176(0x1e1));if(_0x5d6232[_0x2a8176(0x1dc)]>0x0&&_0x5d6232[_0x2a8176(0x1dc)]<=0x5){_0x2201bc[_0x2a8176(0x1cd)](_0x2a8176(0x1c7));for(const _0x5e5f92 of _0x5d6232)_0x2201bc[_0x2a8176(0x1cd)]('\x20\x20'+_0x5e5f92);}else _0x5d6232[_0x2a8176(0x1dc)]>0x5&&_0x2201bc[_0x2a8176(0x1cd)]('\x0a('+_0x5d6232[_0x2a8176(0x1dc)]+_0x2a8176(0x1c8));return _0x2201bc['join']('\x0a');}function a0_0x2260(){const _0x5da32b=['\x20warnings\x20—\x20run\x20cargo\x20clippy\x20for\x20details)','\x20ignored','includes','10AJVAWX','test\x20result:','push','startsWith','filterCargoTest','join','187570JNpJIq','warning:','\x20more\x20errors','5MnXyvQ','match','filterCargoBuild','\x0aErrors:','\x20passed,\x20','\x20\x20...\x20+','test\x20result:\x20ok','1999468tIedFs','length','panicked','filter','slice','replace','\x20warnings','min','Cargo\x20test:\x20','warning[','555877ghmAfl','\x20\x20\x20\x20','trim','endsWith','\x0aFailures:','\x20failed,\x20','3585483Naprcm','failures:','\x20----','Cargo\x20test:\x20all\x20tests\x20passed','6904374EGRfJj','3MCFVQO','\x20errors,\x20','error:','48HeSvLq','\x20crates,\x20','split','error[','Compiling\x20','thread','11003157SGKmxY','\x20crates\x20successfully','1867262AWExhN','defineProperty','right:','assert','Cargo:\x20compiled\x20','\x0aWarnings:'];a0_0x2260=function(){return _0x5da32b;};return a0_0x2260();}
package/filters/shell.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_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');}
1
+ 'use strict';const a0_0xca23f4=a0_0x35c6;(function(_0x2dd92e,_0x1f1228){const _0x2cc954=a0_0x35c6,_0x1f385e=_0x2dd92e();while(!![]){try{const _0x590e34=-parseInt(_0x2cc954(0x16b))/0x1+-parseInt(_0x2cc954(0x1da))/0x2+-parseInt(_0x2cc954(0x197))/0x3*(parseInt(_0x2cc954(0x1b9))/0x4)+parseInt(_0x2cc954(0x192))/0x5+-parseInt(_0x2cc954(0x16d))/0x6*(parseInt(_0x2cc954(0x1c1))/0x7)+parseInt(_0x2cc954(0x18b))/0x8*(-parseInt(_0x2cc954(0x194))/0x9)+parseInt(_0x2cc954(0x173))/0xa;if(_0x590e34===_0x1f1228)break;else _0x1f385e['push'](_0x1f385e['shift']());}catch(_0x5e287f){_0x1f385e['push'](_0x1f385e['shift']());}}}(a0_0x40b9,0xce1f7));var __createBinding=this&&this['__createBinding']||(Object[a0_0xca23f4(0x190)]?function(_0x4cd656,_0x2cc9b0,_0x54e224,_0x1dd46b){const _0x18d006=a0_0xca23f4;if(_0x1dd46b===undefined)_0x1dd46b=_0x54e224;var _0x46c825=Object[_0x18d006(0x1a9)](_0x2cc9b0,_0x54e224);(!_0x46c825||(_0x18d006(0x188)in _0x46c825?!_0x2cc9b0[_0x18d006(0x1c0)]:_0x46c825[_0x18d006(0x1cd)]||_0x46c825['configurable']))&&(_0x46c825={'enumerable':!![],'get':function(){return _0x2cc9b0[_0x54e224];}}),Object['defineProperty'](_0x4cd656,_0x1dd46b,_0x46c825);}:function(_0xca87f7,_0x499a7a,_0x3b41dd,_0x3b1de3){if(_0x3b1de3===undefined)_0x3b1de3=_0x3b41dd;_0xca87f7[_0x3b1de3]=_0x499a7a[_0x3b41dd];}),__setModuleDefault=this&&this['__setModuleDefault']||(Object[a0_0xca23f4(0x190)]?function(_0x54868d,_0x2241b0){const _0x13a081=a0_0xca23f4;Object[_0x13a081(0x1d6)](_0x54868d,_0x13a081(0x198),{'enumerable':!![],'value':_0x2241b0});}:function(_0x2f75dc,_0x316f15){const _0x14f764=a0_0xca23f4;_0x2f75dc[_0x14f764(0x198)]=_0x316f15;}),__importStar=this&&this[a0_0xca23f4(0x1be)]||(function(){var _0x55e4c2=function(_0x2c94e2){const _0x456672=a0_0x35c6;return _0x55e4c2=Object[_0x456672(0x189)]||function(_0x4b7fd7){const _0x4d1bb3=_0x456672;var _0x19b4ec=[];for(var _0x6e8833 in _0x4b7fd7)if(Object[_0x4d1bb3(0x19f)][_0x4d1bb3(0x195)][_0x4d1bb3(0x1ae)](_0x4b7fd7,_0x6e8833))_0x19b4ec[_0x19b4ec[_0x4d1bb3(0x1e5)]]=_0x6e8833;return _0x19b4ec;},_0x55e4c2(_0x2c94e2);};return function(_0x50211c){const _0xc6aa00=a0_0x35c6;if(_0x50211c&&_0x50211c[_0xc6aa00(0x1c0)])return _0x50211c;var _0x5d56bd={};if(_0x50211c!=null){for(var _0x4596e2=_0x55e4c2(_0x50211c),_0x28b255=0x0;_0x28b255<_0x4596e2[_0xc6aa00(0x1e5)];_0x28b255++)if(_0x4596e2[_0x28b255]!==_0xc6aa00(0x198))__createBinding(_0x5d56bd,_0x50211c,_0x4596e2[_0x28b255]);}return __setModuleDefault(_0x5d56bd,_0x50211c),_0x5d56bd;};}());function a0_0x35c6(_0x4c18c8,_0x2d0c98){_0x4c18c8=_0x4c18c8-0x168;const _0x40b9eb=a0_0x40b9();let _0x35c601=_0x40b9eb[_0x4c18c8];return _0x35c601;}function a0_0x40b9(){const _0x1cd679=['push','.rar','basename','__importStar','toLowerCase','__esModule','7ijlRwJ','/\x20(','includes','total\x20','.class','.pdf','.woff','.bz2','.min.js','composer.lock','\x20files\x20found\x20across\x20','.bin','writable','.mov','\x20chars\x20across\x20','\x20chars\x20(high\x20non-printable\x20ratio\x20—\x20content\x20omitted)','.db','pnpm-lock.yaml',':\x20...\x20(','.avi','.png','defineProperty','sort','[binary\x20file]\x20','split','1609732KCnoWC','keys','\x20lines\x20truncated]\x20...\x0a','.mp4','\x20files)','poetry.lock','.woff2','\x20chars\x20(contains\x20null\x20bytes\x20—\x20binary\x20content\x20omitted)','Cargo.lock','.7z','.ttf','length','\x20more\x20files\x20with\x20matches','filter','.gz','stringify','trim','480018OIBDnw','filterLs','57522tUvyyg','.webp','Gemfile.lock','.otf','.tgz','dirname','29206110giCEQZ','\x0a...\x20(','package-lock.json','floor','indexOf','join','.eot','some','No\x20files\x20found','substring','filterCat','\x20more\x20files','.obj','bun.lockb','.ico','endsWith','filterGrep','.dll','toLocaleString','.so','.dat','get','getOwnPropertyNames','[binary/minified\x20file]\x20','8OgVAWd','\x20directories,\x20','filterFind','.pyo','\x20more\x20directories','create','.zip','7819775ukuiiY','packages','9013203vkxWYw','hasOwnProperty','\x20matches\x20in\x20this\x20file)','3lpBFjM','default','yarn.lock','startsWith','cargo.lock','match','...\x20+','.sqlite','prototype','[lock\x20file]\x20','[minified\x20file]\x20','.sqlite3','.wasm','\x20more\x20matches','.bmp','.mp3','.pyc','.svg','getOwnPropertyDescriptor','Empty\x20directory','\x0a...\x20[','entries','parse','call','.jpeg','charCodeAt','\x20chars\x20(content\x20omitted\x20—\x20lock\x20files\x20are\x20not\x20useful\x20for\x20LLM\x20context)','\x20matches\x20across\x20','.jpg','.gif','go.sum','path','\x20files\x20total\x20—\x20deep\x20entries\x20truncated)','slice','5377396foRHKB','No\x20matches\x20found'];a0_0x40b9=function(){return _0x1cd679;};return a0_0x40b9();}Object['defineProperty'](exports,a0_0xca23f4(0x1c0),{'value':!![]}),exports[a0_0xca23f4(0x16c)]=filterLs,exports['filterTree']=filterTree,exports[a0_0xca23f4(0x17d)]=filterCat,exports[a0_0xca23f4(0x183)]=filterGrep,exports[a0_0xca23f4(0x18d)]=filterFind;const path=__importStar(require(a0_0xca23f4(0x1b6))),LOCK_FILES=[a0_0xca23f4(0x175),'yarn.lock',a0_0xca23f4(0x1d2),a0_0xca23f4(0x1e2),a0_0xca23f4(0x1b5),a0_0xca23f4(0x1df),a0_0xca23f4(0x1ca),a0_0xca23f4(0x16f),a0_0xca23f4(0x180)],BINARY_EXTENSIONS=[a0_0xca23f4(0x1c9),'.min.css','.map',a0_0xca23f4(0x1a3),a0_0xca23f4(0x1d5),a0_0xca23f4(0x1b3),a0_0xca23f4(0x1af),a0_0xca23f4(0x1b4),a0_0xca23f4(0x181),a0_0xca23f4(0x1a5),a0_0xca23f4(0x16e),a0_0xca23f4(0x1a8),a0_0xca23f4(0x1c6),a0_0xca23f4(0x191),'.tar.gz',a0_0xca23f4(0x171),a0_0xca23f4(0x168),a0_0xca23f4(0x1c8),a0_0xca23f4(0x1e3),a0_0xca23f4(0x1bc),'.exe',a0_0xca23f4(0x184),a0_0xca23f4(0x186),'.dylib',a0_0xca23f4(0x1cc),a0_0xca23f4(0x187),a0_0xca23f4(0x19e),a0_0xca23f4(0x1d1),a0_0xca23f4(0x1a2),a0_0xca23f4(0x1c7),a0_0xca23f4(0x1e0),a0_0xca23f4(0x1e4),a0_0xca23f4(0x179),a0_0xca23f4(0x170),a0_0xca23f4(0x1a6),a0_0xca23f4(0x1dd),'.wav',a0_0xca23f4(0x1d4),a0_0xca23f4(0x1ce),'.webm',a0_0xca23f4(0x1a7),a0_0xca23f4(0x18e),a0_0xca23f4(0x1c5),'.o',a0_0xca23f4(0x17f)];function extractFilename(_0x2a3731){const _0x3c8b0f=a0_0xca23f4,_0x503806=_0x2a3731[_0x3c8b0f(0x16a)]()[_0x3c8b0f(0x1d9)](/\s+/);for(let _0x251bbf=0x1;_0x251bbf<_0x503806[_0x3c8b0f(0x1e5)];_0x251bbf++){if(!_0x503806[_0x251bbf][_0x3c8b0f(0x19a)]('-'))return _0x503806[_0x251bbf];}return null;}function filterLockFile(_0x542047,_0x7d08d5){const _0x80d62b=a0_0xca23f4;try{const _0x4f75a1=path[_0x80d62b(0x1bd)](_0x7d08d5)[_0x80d62b(0x1bf)]();if(!LOCK_FILES[_0x80d62b(0x17a)](_0xe4d3de=>_0x4f75a1===_0xe4d3de[_0x80d62b(0x1bf)]()))return null;const _0x613be9=_0x542047[_0x80d62b(0x1e5)];let _0xe894ac=0x0;if(_0x4f75a1==='package-lock.json')try{const _0x14386e=JSON[_0x80d62b(0x1ad)](_0x542047);_0xe894ac=Object[_0x80d62b(0x1db)](_0x14386e[_0x80d62b(0x193)]||_0x14386e['dependencies']||{})[_0x80d62b(0x1e5)];}catch{_0xe894ac=(_0x542047[_0x80d62b(0x19c)](/"resolved":/g)||[])[_0x80d62b(0x1e5)];}else{if(_0x4f75a1===_0x80d62b(0x199))_0xe894ac=(_0x542047[_0x80d62b(0x19c)](/^"?[^#\s][^:]*:$/gm)||[])[_0x80d62b(0x1e5)];else{if(_0x4f75a1===_0x80d62b(0x19b)||_0x4f75a1===_0x80d62b(0x1df))_0xe894ac=(_0x542047[_0x80d62b(0x19c)](/\[\[package\]\]/g)||[])['length'];else{if(_0x4f75a1===_0x80d62b(0x1b5))_0xe894ac=Math[_0x80d62b(0x176)](_0x542047[_0x80d62b(0x1d9)]('\x0a')[_0x80d62b(0x1e7)](_0x2162ea=>_0x2162ea[_0x80d62b(0x16a)]())[_0x80d62b(0x1e5)]/0x2);else{if(_0x4f75a1===_0x80d62b(0x1ca))try{_0xe894ac=JSON[_0x80d62b(0x1ad)](_0x542047)[_0x80d62b(0x193)]?.[_0x80d62b(0x1e5)]||0x0;}catch{}else _0x4f75a1===_0x80d62b(0x1d2)?_0xe894ac=(_0x542047[_0x80d62b(0x19c)](/^\s{2}['"@a-z]/gm)||[])[_0x80d62b(0x1e5)]:_0xe894ac=_0x542047[_0x80d62b(0x1d9)]('\x0a')[_0x80d62b(0x1e7)](_0x3b50e6=>_0x3b50e6['trim']())[_0x80d62b(0x1e5)];}}}}return _0x80d62b(0x1a0)+path[_0x80d62b(0x1bd)](_0x7d08d5)+':\x20'+_0xe894ac+'\x20dependencies,\x20'+_0x613be9[_0x80d62b(0x185)]()+_0x80d62b(0x1b1);}catch{return null;}}function filterBinaryOrMinified(_0x225d72,_0x1594e7){const _0x3afac6=a0_0xca23f4;try{if(_0x1594e7){const _0x59fbf8=_0x1594e7[_0x3afac6(0x1bf)]();for(const _0x219ca6 of BINARY_EXTENSIONS){if(_0x59fbf8['endsWith'](_0x219ca6))return _0x3afac6(0x18a)+path[_0x3afac6(0x1bd)](_0x1594e7)+',\x20'+_0x225d72[_0x3afac6(0x1e5)][_0x3afac6(0x185)]()+'\x20chars,\x20type:\x20'+_0x219ca6+'\x20(content\x20omitted\x20—\x20not\x20useful\x20for\x20LLM\x20context)';}}const _0x683ec8=_0x225d72[_0x3afac6(0x17c)](0x0,0x3e8);let _0x13f260=0x0;for(let _0x4f2b77=0x0;_0x4f2b77<_0x683ec8[_0x3afac6(0x1e5)];_0x4f2b77++){if(_0x683ec8[_0x3afac6(0x1b0)](_0x4f2b77)===0x0)_0x13f260++;}if(_0x13f260>0x0)return _0x3afac6(0x1d8)+_0x225d72[_0x3afac6(0x1e5)]['toLocaleString']()+_0x3afac6(0x1e1);let _0x209c6d=0x0;for(let _0x19ea09=0x0;_0x19ea09<_0x683ec8[_0x3afac6(0x1e5)];_0x19ea09++){const _0x1a87c4=_0x683ec8['charCodeAt'](_0x19ea09);if(_0x1a87c4<0x20&&_0x1a87c4!==0xa&&_0x1a87c4!==0xd&&_0x1a87c4!==0x9)_0x209c6d++;}if(_0x683ec8[_0x3afac6(0x1e5)]>0x64&&_0x209c6d>_0x683ec8[_0x3afac6(0x1e5)]*0.1)return _0x3afac6(0x1d8)+_0x225d72[_0x3afac6(0x1e5)][_0x3afac6(0x185)]()+_0x3afac6(0x1d0);const _0x244ddc=_0x225d72['split']('\x0a');if(_0x244ddc[_0x3afac6(0x1e5)]<=0x3&&_0x225d72[_0x3afac6(0x1e5)]>0x1388)return _0x3afac6(0x1a1)+_0x225d72[_0x3afac6(0x1e5)]['toLocaleString']()+_0x3afac6(0x1cf)+_0x244ddc[_0x3afac6(0x1e5)]+'\x20line(s)\x20(content\x20omitted\x20—\x20not\x20human-readable)';return null;}catch{return null;}}function filterJsonMinify(_0x176a38){const _0x2d0bd4=a0_0xca23f4;try{const _0x2e74b1=_0x176a38['trim']();if(!_0x2e74b1[_0x2d0bd4(0x19a)]('{')&&!_0x2e74b1[_0x2d0bd4(0x19a)]('['))return null;const _0x46ca1a=_0x2e74b1[_0x2d0bd4(0x1d9)]('\x0a');if(_0x46ca1a[_0x2d0bd4(0x1e5)]<=0x14)return null;const _0x4dbb97=JSON[_0x2d0bd4(0x1ad)](_0x2e74b1),_0x31ef2d=JSON[_0x2d0bd4(0x169)](_0x4dbb97);if(_0x31ef2d[_0x2d0bd4(0x1e5)]<_0x2e74b1[_0x2d0bd4(0x1e5)])return _0x31ef2d;return null;}catch{return null;}}function filterLs(_0xe44bcf){const _0x19a91c=a0_0xca23f4,_0x1d257b=_0xe44bcf[_0x19a91c(0x1d9)]('\x0a')[_0x19a91c(0x1e7)](_0x21af49=>_0x21af49[_0x19a91c(0x16a)]()[_0x19a91c(0x1e5)]>0x0);if(_0x1d257b['length']===0x0)return _0x19a91c(0x1aa);if(_0x1d257b['length']<=0x1e)return _0xe44bcf[_0x19a91c(0x16a)]();const _0xf7c0d6=[],_0x4cfeb9=[];for(const _0x8996b2 of _0x1d257b){const _0x2b189a=_0x8996b2[_0x19a91c(0x16a)]();if(_0x2b189a[_0x19a91c(0x19a)](_0x19a91c(0x1c4))||_0x2b189a[_0x19a91c(0x19a)]('d')&&_0x2b189a['includes']('..'))continue;_0x2b189a[_0x19a91c(0x182)]('/')||_0x2b189a[_0x19a91c(0x19a)]('d')&&_0x2b189a['includes']('\x20')?_0xf7c0d6[_0x19a91c(0x1bb)](_0x2b189a):_0x4cfeb9['push'](_0x2b189a);}const _0x17fdfd=[];return _0xf7c0d6['length']>0x0&&(_0xf7c0d6[_0x19a91c(0x1e5)]<=0xf?_0x17fdfd[_0x19a91c(0x1bb)](..._0xf7c0d6):(_0x17fdfd[_0x19a91c(0x1bb)](..._0xf7c0d6['slice'](0x0,0xa)),_0x17fdfd['push'](_0x19a91c(0x19d)+(_0xf7c0d6[_0x19a91c(0x1e5)]-0xa)+'\x20more\x20directories'))),_0x4cfeb9[_0x19a91c(0x1e5)]>0x0&&(_0x4cfeb9[_0x19a91c(0x1e5)]<=0x14?_0x17fdfd[_0x19a91c(0x1bb)](..._0x4cfeb9):(_0x17fdfd[_0x19a91c(0x1bb)](..._0x4cfeb9[_0x19a91c(0x1b8)](0x0,0xf)),_0x17fdfd[_0x19a91c(0x1bb)](_0x19a91c(0x19d)+(_0x4cfeb9['length']-0xf)+_0x19a91c(0x17e)))),_0x17fdfd[_0x19a91c(0x1bb)]('\x0a('+_0xf7c0d6[_0x19a91c(0x1e5)]+_0x19a91c(0x18c)+_0x4cfeb9['length']+_0x19a91c(0x1de)),_0x17fdfd[_0x19a91c(0x178)]('\x0a');}function filterTree(_0x48cfac){const _0x2327b8=a0_0xca23f4,_0x1f2a60=_0x48cfac[_0x2327b8(0x1d9)]('\x0a');if(_0x1f2a60['length']<=0x32)return _0x48cfac[_0x2327b8(0x16a)]();const _0x52bea7=[];let _0x1831cf=0x0,_0xf2a515=0x0,_0x4e04b1=0x0;for(const _0x33cf43 of _0x1f2a60){const _0x2775a9=_0x33cf43[_0x2327b8(0x19c)](/(\d+)\s+director/),_0x586517=_0x33cf43['match'](/(\d+)\s+file/);if(_0x2775a9)_0x4e04b1=parseInt(_0x2775a9[0x1]);if(_0x586517)_0xf2a515=parseInt(_0x586517[0x1]);const _0x56a3e6=(_0x33cf43[_0x2327b8(0x19c)](/^[│├└\s─]+/)||[''])[0x0][_0x2327b8(0x1e5)];_0x56a3e6<=0x4&&(_0x52bea7['push'](_0x33cf43),_0x1831cf++);}return _0x1f2a60[_0x2327b8(0x1e5)]>_0x52bea7[_0x2327b8(0x1e5)]&&_0x52bea7[_0x2327b8(0x1bb)](_0x2327b8(0x174)+_0x4e04b1+_0x2327b8(0x18c)+_0xf2a515+_0x2327b8(0x1b7)),_0x52bea7[_0x2327b8(0x178)]('\x0a');}function filterCat(_0x34ba1d,_0x3cb466=''){const _0x639db5=a0_0xca23f4,_0x201fa3=extractFilename(_0x3cb466);try{if(_0x201fa3){const _0x2cdcfb=filterLockFile(_0x34ba1d,_0x201fa3);if(_0x2cdcfb)return _0x2cdcfb;}const _0x41d63a=filterBinaryOrMinified(_0x34ba1d,_0x201fa3);if(_0x41d63a)return _0x41d63a;const _0x5675ad=filterJsonMinify(_0x34ba1d);if(_0x5675ad)return _0x5675ad;}catch{}const _0x5b11b2=_0x34ba1d['split']('\x0a');if(_0x5b11b2[_0x639db5(0x1e5)]<=0x64)return _0x34ba1d;const _0x11a16b=[];return _0x11a16b['push'](..._0x5b11b2[_0x639db5(0x1b8)](0x0,0x32)),_0x11a16b[_0x639db5(0x1bb)](_0x639db5(0x1ab)+(_0x5b11b2['length']-0x50)+_0x639db5(0x1dc)),_0x11a16b['push'](..._0x5b11b2[_0x639db5(0x1b8)](-0x1e)),_0x11a16b[_0x639db5(0x1bb)]('\x0a('+_0x5b11b2['length']+'\x20lines\x20total)'),_0x11a16b[_0x639db5(0x178)]('\x0a');}function filterGrep(_0x25da5a){const _0xc9e77b=a0_0xca23f4,_0x37f672=_0x25da5a[_0xc9e77b(0x1d9)]('\x0a')[_0xc9e77b(0x1e7)](_0x3e3ed5=>_0x3e3ed5[_0xc9e77b(0x16a)]()[_0xc9e77b(0x1e5)]>0x0);if(_0x37f672[_0xc9e77b(0x1e5)]===0x0)return _0xc9e77b(0x1ba);if(_0x37f672[_0xc9e77b(0x1e5)]<=0x32)return _0x25da5a['trim']();const _0x728044={},_0x5a8b38=[];for(const _0x2432be of _0x37f672){const _0x4c007e=_0x2432be[_0xc9e77b(0x177)](':');if(_0x4c007e>0x0&&_0x4c007e<0xc8){const _0x4328fe=_0x2432be['substring'](0x0,_0x4c007e);if(_0x4328fe[_0xc9e77b(0x1c3)]('/')||_0x4328fe['includes']('\x5c')||_0x4328fe['includes']('.')){if(!_0x728044[_0x4328fe])_0x728044[_0x4328fe]=[];_0x728044[_0x4328fe][_0xc9e77b(0x1bb)](_0x2432be[_0xc9e77b(0x17c)](_0x4c007e+0x1)['trim']());continue;}}_0x5a8b38['push'](_0x2432be);}const _0x1e1204=[],_0x46e82c=Object[_0xc9e77b(0x1db)](_0x728044);if(_0x46e82c[_0xc9e77b(0x1e5)]>0x0){const _0x220a3d=0x14,_0x4a1dea=_0x46e82c[_0xc9e77b(0x1b8)](0x0,_0x220a3d);for(const _0x128258 of _0x4a1dea){const _0x462a07=_0x728044[_0x128258];if(_0x462a07[_0xc9e77b(0x1e5)]<=0x3)for(const _0xeb368 of _0x462a07){_0x1e1204['push'](_0x128258+':\x20'+_0xeb368);}else _0x1e1204[_0xc9e77b(0x1bb)](_0x128258+':\x20'+_0x462a07[0x0]),_0x1e1204[_0xc9e77b(0x1bb)](_0x128258+_0xc9e77b(0x1d3)+_0x462a07[_0xc9e77b(0x1e5)]+_0xc9e77b(0x196));}_0x46e82c['length']>_0x220a3d&&_0x1e1204[_0xc9e77b(0x1bb)](_0xc9e77b(0x19d)+(_0x46e82c['length']-_0x220a3d)+_0xc9e77b(0x1e6));}if(_0x5a8b38[_0xc9e77b(0x1e5)]>0x0){const _0x11b691=0x1e;_0x1e1204['push'](..._0x5a8b38[_0xc9e77b(0x1b8)](0x0,_0x11b691)),_0x5a8b38['length']>_0x11b691&&_0x1e1204['push']('...\x20+'+(_0x5a8b38[_0xc9e77b(0x1e5)]-_0x11b691)+_0xc9e77b(0x1a4));}const _0x1d3d2a=_0x37f672[_0xc9e77b(0x1e5)];return _0x1e1204[_0xc9e77b(0x1bb)]('\x0a('+_0x1d3d2a+_0xc9e77b(0x1b2)+(_0x46e82c[_0xc9e77b(0x1e5)]||'?')+'\x20files)'),_0x1e1204[_0xc9e77b(0x178)]('\x0a');}function filterFind(_0x22ba4b){const _0x37f4ff=a0_0xca23f4,_0x54c499=_0x22ba4b[_0x37f4ff(0x1d9)]('\x0a')[_0x37f4ff(0x1e7)](_0x4eab70=>_0x4eab70[_0x37f4ff(0x16a)]()[_0x37f4ff(0x1e5)]>0x0);if(_0x54c499['length']===0x0)return _0x37f4ff(0x17b);if(_0x54c499['length']<=0x32)return _0x22ba4b['trim']();const _0xb17114={};for(const _0x326db0 of _0x54c499){const _0x3e8c51=path[_0x37f4ff(0x172)](_0x326db0['trim']())||'.';_0xb17114[_0x3e8c51]=(_0xb17114[_0x3e8c51]||0x0)+0x1;}const _0x2a8703=Object[_0x37f4ff(0x1ac)](_0xb17114)[_0x37f4ff(0x1d7)]((_0xad10ab,_0x2155bf)=>_0x2155bf[0x1]-_0xad10ab[0x1]),_0x26a6a4=[_0x54c499['length']+_0x37f4ff(0x1cb)+_0x2a8703[_0x37f4ff(0x1e5)]+'\x20directories',''],_0x3fb58e=0x1e;for(const [_0x21ab01,_0x471310]of _0x2a8703[_0x37f4ff(0x1b8)](0x0,_0x3fb58e)){_0x26a6a4['push']('\x20\x20'+_0x21ab01+_0x37f4ff(0x1c2)+_0x471310+_0x37f4ff(0x1de));}return _0x2a8703[_0x37f4ff(0x1e5)]>_0x3fb58e&&_0x26a6a4[_0x37f4ff(0x1bb)]('\x20\x20...\x20+'+(_0x2a8703[_0x37f4ff(0x1e5)]-_0x3fb58e)+_0x37f4ff(0x18f)),_0x26a6a4[_0x37f4ff(0x178)]('\x0a');}
package/index.html CHANGED
@@ -648,7 +648,11 @@
648
648
  if (!chartCanvas) return;
649
649
 
650
650
  if (savingsChart) {
651
- savingsChart.destroy();
651
+ savingsChart.data.labels = labels.length > 0 ? labels : ['No Data'];
652
+ savingsChart.data.datasets[0].data = originalCostData.length > 0 ? originalCostData : [0];
653
+ savingsChart.data.datasets[1].data = shavedCostData.length > 0 ? shavedCostData : [0];
654
+ savingsChart.update('none');
655
+ return;
652
656
  }
653
657
 
654
658
  savingsChart = new Chart(chartCanvas, {
package/mcp.js CHANGED
@@ -1 +1 @@
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);});}
1
+ 'use strict';const a0_0x28c579=a0_0x3725;(function(_0x2a3441,_0x5597bd){const _0x271511=a0_0x3725,_0x513242=_0x2a3441();while(!![]){try{const _0x1ab180=-parseInt(_0x271511(0x1bc))/0x1*(-parseInt(_0x271511(0x1c7))/0x2)+-parseInt(_0x271511(0x1c5))/0x3+-parseInt(_0x271511(0x1d9))/0x4*(parseInt(_0x271511(0x1f2))/0x5)+-parseInt(_0x271511(0x1d3))/0x6*(parseInt(_0x271511(0x1e2))/0x7)+parseInt(_0x271511(0x1e5))/0x8*(parseInt(_0x271511(0x1e8))/0x9)+-parseInt(_0x271511(0x1de))/0xa*(parseInt(_0x271511(0x1ee))/0xb)+-parseInt(_0x271511(0x1da))/0xc*(-parseInt(_0x271511(0x1c2))/0xd);if(_0x1ab180===_0x5597bd)break;else _0x513242['push'](_0x513242['shift']());}catch(_0x25918b){_0x513242['push'](_0x513242['shift']());}}}(a0_0x5ccb,0xde536));function a0_0x3725(_0x821e8b,_0x21e50e){_0x821e8b=_0x821e8b-0x1bb;const _0x5ccb29=a0_0x5ccb();let _0x372594=_0x5ccb29[_0x821e8b];return _0x372594;}function a0_0x5ccb(){const _0x3ddbb5=['text','length','27464ndkOoG','readline','write','1917vShPSq','configurable','isArray','message','getConfig','redaction_enabled','10637hROBUQ','default','./tracker','child_process','180SCtUXZ','tracker','call','1qowkZA','parse','hasOwnProperty','__setModuleDefault','stdout','content','240864VPaxqT','stringify','defineProperty','3179178VhHHwq','jsonrpc','206002IWrbLe','createInterface','writable','pipe','2.0','get','string','mcp\x20tool\x20(id:\x20','[TrimPrompt]\x20MCP\x20Server\x20Spawn\x20Error:\x20','create','__esModule','error','9821154AwGnfS','result','inherit','exit','__createBinding','spawn','164392lpKLfn','3792NkSWYk','prototype','type','line','16570hnIzkM','stdin','getOwnPropertyNames','trim','7iqyONi'];a0_0x5ccb=function(){return _0x3ddbb5;};return a0_0x5ccb();}var __createBinding=this&&this[a0_0x28c579(0x1d7)]||(Object['create']?function(_0x4d7d7e,_0x3dd81d,_0x4964bf,_0x5e4fe0){const _0x3f4148=a0_0x28c579;if(_0x5e4fe0===undefined)_0x5e4fe0=_0x4964bf;var _0x4707cd=Object['getOwnPropertyDescriptor'](_0x3dd81d,_0x4964bf);(!_0x4707cd||(_0x3f4148(0x1cc)in _0x4707cd?!_0x3dd81d[_0x3f4148(0x1d1)]:_0x4707cd[_0x3f4148(0x1c9)]||_0x4707cd[_0x3f4148(0x1e9)]))&&(_0x4707cd={'enumerable':!![],'get':function(){return _0x3dd81d[_0x4964bf];}}),Object[_0x3f4148(0x1c4)](_0x4d7d7e,_0x5e4fe0,_0x4707cd);}:function(_0x1509cf,_0x49c769,_0x37eae3,_0x4051e8){if(_0x4051e8===undefined)_0x4051e8=_0x37eae3;_0x1509cf[_0x4051e8]=_0x49c769[_0x37eae3];}),__setModuleDefault=this&&this[a0_0x28c579(0x1bf)]||(Object[a0_0x28c579(0x1d0)]?function(_0x1b417c,_0x4c4077){const _0x4f001c=a0_0x28c579;Object[_0x4f001c(0x1c4)](_0x1b417c,_0x4f001c(0x1ef),{'enumerable':!![],'value':_0x4c4077});}:function(_0x1a8eb4,_0x179662){_0x1a8eb4['default']=_0x179662;}),__importStar=this&&this['__importStar']||(function(){var _0x316655=function(_0x396c41){const _0xff4a35=a0_0x3725;return _0x316655=Object[_0xff4a35(0x1e0)]||function(_0x28da32){const _0x87d62=_0xff4a35;var _0x294186=[];for(var _0x335fa8 in _0x28da32)if(Object[_0x87d62(0x1db)][_0x87d62(0x1be)][_0x87d62(0x1bb)](_0x28da32,_0x335fa8))_0x294186[_0x294186[_0x87d62(0x1e4)]]=_0x335fa8;return _0x294186;},_0x316655(_0x396c41);};return function(_0x4f5847){const _0x726ba2=a0_0x3725;if(_0x4f5847&&_0x4f5847[_0x726ba2(0x1d1)])return _0x4f5847;var _0x26ab6c={};if(_0x4f5847!=null){for(var _0x158f07=_0x316655(_0x4f5847),_0x3ebc9e=0x0;_0x3ebc9e<_0x158f07[_0x726ba2(0x1e4)];_0x3ebc9e++)if(_0x158f07[_0x3ebc9e]!=='default')__createBinding(_0x26ab6c,_0x4f5847,_0x158f07[_0x3ebc9e]);}return __setModuleDefault(_0x26ab6c,_0x4f5847),_0x26ab6c;};}());Object[a0_0x28c579(0x1c4)](exports,'__esModule',{'value':!![]}),exports['runMcpProxy']=runMcpProxy;const child_process_1=require(a0_0x28c579(0x1f1)),readline=__importStar(require(a0_0x28c579(0x1e6))),filters_1=require('./filters'),tracker_1=require(a0_0x28c579(0x1f0));function runMcpProxy(_0x1de302,_0x3cbcdf){const _0x1db1c3=a0_0x28c579,_0x5ae91e=(0x0,child_process_1[_0x1db1c3(0x1d8)])(_0x1de302,_0x3cbcdf,{'stdio':['pipe',_0x1db1c3(0x1ca),_0x1db1c3(0x1d5)]});process['stdin'][_0x1db1c3(0x1ca)](_0x5ae91e[_0x1db1c3(0x1df)]);const _0x555d8e=readline[_0x1db1c3(0x1c8)]({'input':_0x5ae91e['stdout'],'terminal':![]});_0x555d8e['on'](_0x1db1c3(0x1dd),_0x1673eb=>{const _0x12074a=_0x1db1c3;try{const _0x28ba04=JSON[_0x12074a(0x1bd)](_0x1673eb);if(_0x28ba04&&_0x28ba04[_0x12074a(0x1c6)]===_0x12074a(0x1cb)&&_0x28ba04['id']!==undefined&&_0x28ba04[_0x12074a(0x1d4)]&&Array[_0x12074a(0x1ea)](_0x28ba04[_0x12074a(0x1d4)][_0x12074a(0x1c1)])){let _0x46cd12=![];for(const _0x1a805d of _0x28ba04['result']['content']){if(_0x1a805d[_0x12074a(0x1dc)]==='text'&&typeof _0x1a805d[_0x12074a(0x1e3)]===_0x12074a(0x1cd)&&_0x1a805d[_0x12074a(0x1e3)][_0x12074a(0x1e1)]()[_0x12074a(0x1e4)]>0x0){const _0x56e70c=_0x1a805d[_0x12074a(0x1e3)],_0x4042fc=(0x0,filters_1['compressOutput'])('mcp-tool-call',_0x56e70c,'',tracker_1[_0x12074a(0x1f3)][_0x12074a(0x1ec)]()[_0x12074a(0x1ed)]);tracker_1[_0x12074a(0x1f3)]['logExecution'](_0x12074a(0x1ce)+_0x28ba04['id']+')',_0x56e70c,_0x4042fc,0x0),_0x1a805d[_0x12074a(0x1e3)]=_0x4042fc,_0x46cd12=!![];}}_0x46cd12?process[_0x12074a(0x1c0)][_0x12074a(0x1e7)](JSON[_0x12074a(0x1c3)](_0x28ba04)+'\x0a'):process['stdout'][_0x12074a(0x1e7)](_0x1673eb+'\x0a');}else process[_0x12074a(0x1c0)]['write'](_0x1673eb+'\x0a');}catch{process[_0x12074a(0x1c0)][_0x12074a(0x1e7)](_0x1673eb+'\x0a');}}),_0x5ae91e['on']('close',_0x5295f0=>{process['exit'](_0x5295f0||0x0);}),_0x5ae91e['on'](_0x1db1c3(0x1d2),_0x572ef7=>{const _0x33912f=_0x1db1c3;console[_0x33912f(0x1d2)](_0x33912f(0x1cf)+_0x572ef7[_0x33912f(0x1eb)]),process[_0x33912f(0x1d6)](0x1);});}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trimprompt",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "description": "TrimPrompt.ai Client CLI & Local Developer Dashboard",
5
5
  "main": "cli.js",
6
6
  "bin": {
package/redactor.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_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();
1
+ 'use strict';const a0_0x196e8e=a0_0x20f1;(function(_0x4db724,_0x28be0c){const _0x517a50=a0_0x20f1,_0x23a3af=_0x4db724();while(!![]){try{const _0x246dc1=-parseInt(_0x517a50(0xa7))/0x1+parseInt(_0x517a50(0x86))/0x2+parseInt(_0x517a50(0x6e))/0x3*(parseInt(_0x517a50(0x96))/0x4)+parseInt(_0x517a50(0x82))/0x5*(parseInt(_0x517a50(0x87))/0x6)+-parseInt(_0x517a50(0x8e))/0x7*(-parseInt(_0x517a50(0x9d))/0x8)+-parseInt(_0x517a50(0x7d))/0x9*(parseInt(_0x517a50(0x85))/0xa)+parseInt(_0x517a50(0x73))/0xb*(-parseInt(_0x517a50(0x70))/0xc);if(_0x246dc1===_0x28be0c)break;else _0x23a3af['push'](_0x23a3af['shift']());}catch(_0x485eb5){_0x23a3af['push'](_0x23a3af['shift']());}}}(a0_0x2aab,0xb422b));function a0_0x2aab(){const _0x4d2425=['Basic\x20Auth','regex','\x22private_key\x22:\x20\x22[REDACTED_GCP_PRIVATE_KEY]\x22','sendgrid_key','[REDACTED_GITHUB_TOKEN]','[REDACTED_EMAIL]','874475HRRNEw','rules','alert','Stripe\x20Key','aws_key','[REDACTED_AWS_KEY]','$1=[REDACTED_AWS_SECRET]','length','4028GAIhdd','redactor','$1=[REDACTED_CREDENTIAL]','loadDefaultRules','[REDACTED_PRIVATE_KEY]','AWS\x20Secret\x20Key','redact','80hEOdUH','[REDACTED_SLACK_TOKEN]','JWT\x20Token','bearer','github_token','Bearer\x20Token','IPv4\x20Address\x20(non-local)','replacement','generic_credential','[REDACTED_IP]','182472pBqZFU','[REDACTED_JWT]','anthropic_key','[REDACTED_DB_CONNECTION]','replace','twilio_key','[REDACTED_TWILIO_KEY]','AWS\x20Access\x20Key','2859LQePgs','text','48bUdNKZ','ip_address','defineProperty','7203086lxgWmr','includes','Redactor','GitHub\x20Token','Azure\x20Connection\x20String','redactWithAudit','stripe_key','Database\x20Connection\x20String','Email\x20Address','OpenAI\x20API\x20Key','290547GJJVmX','private_key','push','type','db_connection','1540995dLMtxe','[REDACTED_AZURE_CONNECTION]','openai_key','300vBLdQC','2749166gNMRYA','18zRdYSx'];a0_0x2aab=function(){return _0x4d2425;};return a0_0x2aab();}Object[a0_0x196e8e(0x72)](exports,'__esModule',{'value':!![]}),exports[a0_0x196e8e(0x97)]=exports[a0_0x196e8e(0x75)]=void 0x0;function a0_0x20f1(_0x1b6a48,_0x15d439){_0x1b6a48=_0x1b6a48-0x6e;const _0x2aab55=a0_0x2aab();let _0x20f106=_0x2aab55[_0x1b6a48];return _0x20f106;}class Redactor{[a0_0x196e8e(0x8f)]=[];constructor(){const _0x14ce3d=a0_0x196e8e;this[_0x14ce3d(0x99)]();}[a0_0x196e8e(0x99)](){const _0x4e5196=a0_0x196e8e;this[_0x4e5196(0x8f)]=[{'name':_0x4e5196(0xae),'type':_0x4e5196(0x92),'regex':/\b(AKIA[0-9A-Z]{16})\b/g,'replacement':_0x4e5196(0x93)},{'name':_0x4e5196(0x9b),'type':'aws_secret','regex':/(aws_secret_access_key|AWS_SECRET_ACCESS_KEY)[\s:=]+[A-Za-z0-9/+=]{30,}/gi,'replacement':_0x4e5196(0x94)},{'name':'GCP\x20Service\x20Account\x20Key','type':'gcp_key','regex':/"private_key"\s*:\s*"-----BEGIN[^"]+-----END[^"]*"/g,'replacement':_0x4e5196(0x8a)},{'name':_0x4e5196(0x77),'type':'azure_conn','regex':/DefaultEndpointsProtocol=https?;AccountName=[^;]+;AccountKey=[^;]+;?[^\s]*/gi,'replacement':_0x4e5196(0x83)},{'name':'Anthropic\x20API\x20Key','type':_0x4e5196(0xa9),'regex':/\bsk-ant-api\d{2}-[A-Za-z0-9_-]{20,}\b/g,'replacement':'[REDACTED_ANTHROPIC_KEY]'},{'name':_0x4e5196(0x7c),'type':_0x4e5196(0x84),'regex':/\b(sk-proj-[A-Za-z0-9_-]{20,}|sk-[A-Za-z0-9]{32,})\b/g,'replacement':'[REDACTED_OPENAI_KEY]'},{'name':_0x4e5196(0x76),'type':_0x4e5196(0xa1),'regex':/\b(ghp_[A-Za-z0-9]{20,}|gho_[A-Za-z0-9]{20,}|github_pat_[A-Za-z0-9_]{22,})\b/g,'replacement':_0x4e5196(0x8c)},{'name':'Slack\x20Token','type':'slack_token','regex':/\b(xoxb-[0-9A-Za-z-]+|xoxp-[0-9A-Za-z-]+|xapp-[0-9A-Za-z-]+)\b/g,'replacement':_0x4e5196(0x9e)},{'name':_0x4e5196(0x91),'type':_0x4e5196(0x79),'regex':/\b(sk_live_[A-Za-z0-9]{24,}|sk_test_[A-Za-z0-9]{24,}|rk_live_[A-Za-z0-9]{24,}|rk_test_[A-Za-z0-9]{24,})\b/g,'replacement':'[REDACTED_STRIPE_KEY]'},{'name':'Twilio\x20Key','type':_0x4e5196(0xac),'regex':/\bSK[0-9a-f]{32}\b/g,'replacement':_0x4e5196(0xad)},{'name':'SendGrid\x20Key','type':_0x4e5196(0x8b),'regex':/\bSG\.[A-Za-z0-9_-]{22,}\.[A-Za-z0-9_-]{22,}\b/g,'replacement':'[REDACTED_SENDGRID_KEY]'},{'name':'Private\x20Key\x20Block','type':_0x4e5196(0x7e),'regex':/-----BEGIN\s+(RSA|EC|DSA|ED25519|OPENSSH|PGP)?\s*PRIVATE KEY-----[\s\S]*?-----END\s+(RSA|EC|DSA|ED25519|OPENSSH|PGP)?\s*PRIVATE KEY-----/g,'replacement':_0x4e5196(0x9a)},{'name':_0x4e5196(0x9f),'type':'jwt','regex':/\beyJ[A-Za-z0-9_-]{10,}\.eyJ[A-Za-z0-9_-]{10,}\.[A-Za-z0-9_-]{10,}\b/g,'replacement':_0x4e5196(0xa8)},{'name':_0x4e5196(0xa2),'type':_0x4e5196(0xa0),'regex':/Bearer\s+[A-Za-z0-9_\-.]{20,}/gi,'replacement':'Bearer\x20[REDACTED_TOKEN]'},{'name':_0x4e5196(0x88),'type':'basic_auth','regex':/Basic\s+[A-Za-z0-9+/=]{10,}/gi,'replacement':'Basic\x20[REDACTED_AUTH]'},{'name':_0x4e5196(0x7a),'type':_0x4e5196(0x81),'regex':/(mongodb(\+srv)?|postgres|postgresql|mysql|redis|amqp|sqlite):\/\/[A-Za-z0-9_]+:[^@\s\n]+@[^\s\n]+/gi,'replacement':_0x4e5196(0xaa)},{'name':'Generic\x20API\x20Key/Secret/Password','type':_0x4e5196(0xa5),'regex':/(api[_-]?key|secret[_-]?key|password|passwd|auth[_-]?token|private[_-]?key|access[_-]?token|refresh[_-]?token|client[_-]?secret)[\s:="']+[A-Za-z0-9_\-./+=]{16,}/gi,'replacement':_0x4e5196(0x98)},{'name':_0x4e5196(0xa3),'type':_0x4e5196(0x71),'regex':/\b(?!127\.0\.0\.1|0\.0\.0\.0|255\.255\.255\.0|10\.\d|172\.(1[6-9]|2\d|3[01])\.|192\.168\.)(?:[0-9]{1,3}\.){3}[0-9]{1,3}\b/g,'replacement':_0x4e5196(0xa6),'alert':![]},{'name':_0x4e5196(0x7b),'type':'email','regex':/\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b/g,'replacement':_0x4e5196(0x8d),'alert':![]}];}[a0_0x196e8e(0x9c)](_0x11b130){const _0x8a6c49=a0_0x196e8e;return this[_0x8a6c49(0x78)](_0x11b130)[_0x8a6c49(0x6f)];}[a0_0x196e8e(0x78)](_0x43b988){const _0x50614d=a0_0x196e8e;let _0x41481b=_0x43b988,_0x4811ce=0x0;const _0x15cdc2=[];for(const _0x133b85 of this[_0x50614d(0x8f)]){const _0x514731=_0x41481b['match'](_0x133b85['regex']);_0x514731&&_0x514731[_0x50614d(0x95)]>0x0&&(_0x133b85[_0x50614d(0x90)]!==![]&&(_0x4811ce+=_0x514731[_0x50614d(0x95)],!_0x15cdc2[_0x50614d(0x74)](_0x133b85[_0x50614d(0x80)])&&_0x15cdc2[_0x50614d(0x7f)](_0x133b85['type'])),_0x41481b=_0x41481b[_0x50614d(0xab)](_0x133b85[_0x50614d(0x89)],_0x133b85[_0x50614d(0xa4)]));}return{'text':_0x41481b,'secretsFound':_0x4811ce,'secretTypes':_0x15cdc2};}}exports[a0_0x196e8e(0x75)]=Redactor,exports['redactor']=new Redactor();
package/seed.js CHANGED
@@ -1 +1 @@
1
- 'use strict';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));
1
+ 'use strict';const a0_0x30ed6c=a0_0x43a4;(function(_0x2d1c7b,_0x1a8f7c){const _0x15716e=a0_0x43a4,_0x1030d3=_0x2d1c7b();while(!![]){try{const _0x1d4413=parseInt(_0x15716e(0xf7))/0x1+-parseInt(_0x15716e(0xf6))/0x2+parseInt(_0x15716e(0x10d))/0x3*(-parseInt(_0x15716e(0x100))/0x4)+-parseInt(_0x15716e(0x112))/0x5*(parseInt(_0x15716e(0x104))/0x6)+parseInt(_0x15716e(0xf5))/0x7+parseInt(_0x15716e(0x10e))/0x8*(parseInt(_0x15716e(0x108))/0x9)+parseInt(_0x15716e(0xfe))/0xa;if(_0x1d4413===_0x1a8f7c)break;else _0x1030d3['push'](_0x1030d3['shift']());}catch(_0x5da3c4){_0x1030d3['push'](_0x1030d3['shift']());}}}(a0_0x25a9,0xdd2da));function a0_0x25a9(){const _0x2ba38c=['6144880MTDZVj','pytest\x20app:\x20303\x20tests\x20passed\x20in\x204.22s.','244268fIyEfe','Database\x20successfully\x20seeded!','log','Step\x202/10\x20:\x20COPY\x20package.json\x20.\x0a','270QMrMwy','test_api.py\x20PASS\x0a','Compilation\x20Output:\x0a','Step\x203/10\x20:\x20RUN\x20npm\x20install\x0a','45iBHxFv','Sending\x20build\x20context\x20to\x20Docker\x20daemon...\x0a','./tracker','claude-3-opus','__esModule','21EUHiMU','628664JtWels','[INFO]\x20Building\x20modules...\x0a','Step\x201/10\x20:\x20FROM\x20node:20\x0a','test_auth.py\x20PASS\x0a','96970hgPxfE','added\x201420\x20packages\x20in\x2014s\x0a','Seeding\x20TrimPrompt\x20database\x20with\x20mock\x20LLM\x20command\x20telemetry...','[INFO]\x20Building\x20modules...\x0a[SUCCESS]\x20Compiled\x20512\x20modules.\x20(repeated\x20400\x20times)','logExecution','gpt-4o','Test\x20suite\x20run\x20starting...\x0a','Optimizing\x20assets...\x0a','2808715qwKzid','498216iXhPMq','1046605cHBcpd','repeat','tracker','docker\x20build:\x201420\x20packages\x20added.\x20Successfully\x20built\x20image.','[SUCCESS]\x20Compiled\x20512\x20modules.\x0a','npm\x20run\x20build','gemini-1-5-pro'];a0_0x25a9=function(){return _0x2ba38c;};return a0_0x25a9();}Object['defineProperty'](exports,a0_0x30ed6c(0x10c),{'value':!![]});const tracker_1=require(a0_0x30ed6c(0x10a));function a0_0x43a4(_0x8993c5,_0x44fa8f){_0x8993c5=_0x8993c5-0xee;const _0x25a90f=a0_0x25a9();let _0x43a4dd=_0x25a90f[_0x8993c5];return _0x43a4dd;}console[a0_0x30ed6c(0x102)](a0_0x30ed6c(0xef)),process.env.TRIMPROMPT_MODEL=a0_0x30ed6c(0x10b),tracker_1[a0_0x30ed6c(0xf9)][a0_0x30ed6c(0xf1)](a0_0x30ed6c(0xfc),a0_0x30ed6c(0x106)+a0_0x30ed6c(0x10f)+a0_0x30ed6c(0xf4)+a0_0x30ed6c(0xfb)['repeat'](0x190),a0_0x30ed6c(0xf0),0x0),process.env.TRIMPROMPT_MODEL=a0_0x30ed6c(0xf2),tracker_1['tracker'][a0_0x30ed6c(0xf1)]('pytest\x20tests/app',a0_0x30ed6c(0xf3)+a0_0x30ed6c(0x111)+'test_db.py\x20PASS\x0a'+a0_0x30ed6c(0x105)['repeat'](0x12c)+'All\x20303\x20tests\x20passed\x20in\x204.22s.',a0_0x30ed6c(0xff),0x0),process.env.TRIMPROMPT_MODEL=a0_0x30ed6c(0xfd),tracker_1['tracker'][a0_0x30ed6c(0xf1)]('docker\x20build\x20.',a0_0x30ed6c(0x109)+a0_0x30ed6c(0x110)+a0_0x30ed6c(0x103)+a0_0x30ed6c(0x107)+a0_0x30ed6c(0xee)[a0_0x30ed6c(0xf8)](0x3)+'Successfully\x20built\x20image.',a0_0x30ed6c(0xfa),0x0),console[a0_0x30ed6c(0x102)](a0_0x30ed6c(0x101));
package/shims.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x34de10=a0_0x672b;function a0_0x3962(){const _0x5107a9=['some','TrimPrompt\x20Shims\x20PATH','default','TrimPrompt\x20shims\x20successfully\x20installed\x20for\x20','uninstallShims','pip3','@echo\x20off','readdirSync','shims','4354aOfqaw','.zshrc','New-Item\x20-Path\x20\x27','tree','length','prototype','\x20\x20trim\x20','trim.cmd','#!/bin/sh\x0aif\x20command\x20-v\x20trim\x20>/dev/null\x202>&1;\x20then\x20exec\x20trim\x20','-NoProfile','\x27\x20-Name\x20AutoRun\x20-ErrorAction\x20SilentlyContinue','$sig\x20=\x20\x27[DllImport(\x5c\x22user32.dll\x5c\x22,\x20SetLastError\x20=\x20true,\x20CharSet\x20=\x20CharSet.Auto)]\x20public\x20static\x20extern\x20IntPtr\x20SendMessageTimeout(IntPtr\x20hWnd,\x20uint\x20Msg,\x20IntPtr\x20wParam,\x20string\x20lParam,\x20uint\x20fuFlags,\x20uint\x20uTimeout,\x20out\x20IntPtr\x20lpdwResult);\x27;\x20Add-Type\x20-MemberDefinition\x20$sig\x20-Name\x20\x5c\x22Win32\x5c\x22\x20-Namespace\x20\x5c\x22Win32\x5c\x22\x20-PassThru\x20>\x20$null;\x20[IntPtr]$res\x20=\x200;\x20[void][Win32.Win32]::SendMessageTimeout([IntPtr]0xffff,\x200x001A,\x20[IntPtr]::Zero,\x20\x5c\x22Environment\x5c\x22,\x202,\x201000,\x20[ref]$res);','\x20@args\x20}\x20else\x20{\x20&\x20','toLowerCase','\x27,\x20\x27User\x27)','if\x20exist\x20\x22','$PROFILE.CurrentUserCurrentHost','Please\x20add\x20the\x20following\x20path\x20to\x20the\x20front\x20of\x20your\x20User\x20PATH\x20environment\x20variable\x20manually:\x0a\x20\x20','__createBinding','\x0a#\x20','\x20&\x20','message','2822082MzgGnL','chmodSync','getOwnPropertyNames','readFileSync','dirname','Failed\x20to\x20install\x20shims:\x20','\x20\x22$@\x22;\x20fi\x0a','homedir','$PROFILE.CurrentUserAllHosts','unlinkSync','read','create','__importStar','-Command',';=%\x22','\x27\x20-Name\x20AutoRun\x20-Value\x20\x27','4eSswCu','existsSync','rmdirSync','git','119779yHwDIo','yarn','filter','split','call','powershell.exe','replace','includes',';%PATH%\x22','.profile','\x20@args\x20}\x0a','\x20\x20set\x20\x22PATH=%PATH:','mkdirSync','join','if\x20exist\x20\x22%~dp0..\x5c..\x5cAppData\x5cRoaming\x5cnpm\x5ctrim.cmd\x22',':$PATH\x22\x0a','writable','try\x20{\x20(Get-ItemProperty\x20-Path\x20\x27','npx','powershell','.cmd','installShims','[SUCCESS]\x20Your\x20system\x20PATH\x20has\x20been\x20automatically\x20and\x20permanently\x20updated\x20to\x20run\x20TrimPrompt\x20in\x20the\x20background.\x0aThis\x20setup\x20persists\x20across\x20system\x20restarts.\x0a\x0a*Note*:\x20Please\x20restart\x20your\x20active\x20terminal\x20window\x20or\x20AI\x20assistant\x20(e.g.\x20Claude\x20Code/Cursor)\x20for\x20the\x20environment\x20changes\x20to\x20take\x20effect.','powershell\x20-NoProfile\x20-Command\x20\x22','Failed\x20to\x20uninstall\x20shims:\x20','24cUvXSL','51057890wnnGSz','win32',':||g\x22);\x20exec\x20env\x20PATH=\x22$CLEAN_PATH\x22\x20','792yDCQGZ','utf8','.trimprompt','getOwnPropertyDescriptor','map','pytest','[Environment]::SetEnvironmentVariable(\x27PATH\x27,\x20\x27','\x20commands.\x0a\x0a','ignore','TrimPrompt\x20shims\x20fully\x20uninstalled.\x20All\x20PATH\x20modifications,\x20shell\x20profiles,\x20and\x20registry\x20entries\x20have\x20been\x20cleaned\x20up.','__esModule','755','writeFileSync','docker','\x20-NoProfile\x20-Command\x20\x22','.bash_profile','push','pipe','2270097aDoTsG','\x20\x22$@\x22;\x20else\x20CLEAN_PATH=$(echo\x20\x22$PATH\x22\x20|\x20sed\x20\x22s|','ruff','.ps1','pwsh','export\x20PATH=\x22','3424465BzKznS','defineProperty','execFileSync','.bashrc','trim','cat','Remove-ItemProperty\x20-Path\x20\x27','pip','14JLwyzM','if\x20(Get-Command\x20trim\x20-ErrorAction\x20SilentlyContinue)\x20{\x20&\x20trim\x20','npm','__setModuleDefault','HKCU:\x5cSoftware\x5cMicrosoft\x5cCommand\x20Processor','\x0aexport\x20PATH=\x22','5xGdCzE','execSync','Set-ItemProperty\x20-Path\x20\x27','70220cUYedv','pwsh\x20-NoProfile\x20-Command\x20\x22exit\x200\x22','\x20%*','[Environment]::GetEnvironmentVariable(\x27PATH\x27,\x20\x27User\x27)','1864qwUlZJ'];a0_0x3962=function(){return _0x5107a9;};return a0_0x3962();}(function(_0x493785,_0x59808a){const _0x24f908=a0_0x672b,_0x598f12=_0x493785();while(!![]){try{const _0x43d361=-parseInt(_0x24f908(0xda))/0x1*(parseInt(_0x24f908(0x99))/0x2)+parseInt(_0x24f908(0x8b))/0x3*(-parseInt(_0x24f908(0xd6))/0x4)+parseInt(_0x24f908(0x9f))/0x5*(-parseInt(_0x24f908(0xc6))/0x6)+-parseInt(_0x24f908(0xb0))/0x7*(parseInt(_0x24f908(0xa6))/0x8)+-parseInt(_0x24f908(0xf7))/0x9*(parseInt(_0x24f908(0xa2))/0xa)+parseInt(_0x24f908(0x91))/0xb*(-parseInt(_0x24f908(0xf3))/0xc)+parseInt(_0x24f908(0xf4))/0xd;if(_0x43d361===_0x59808a)break;else _0x598f12['push'](_0x598f12['shift']());}catch(_0x50c1de){_0x598f12['push'](_0x598f12['shift']());}}}(a0_0x3962,0x7457b));var __createBinding=this&&this[a0_0x34de10(0xc2)]||(Object[a0_0x34de10(0xd1)]?function(_0x2b380a,_0x229553,_0x402b43,_0x4a2f06){const _0x31dc97=a0_0x34de10;if(_0x4a2f06===undefined)_0x4a2f06=_0x402b43;var _0x129e09=Object[_0x31dc97(0xfa)](_0x229553,_0x402b43);(!_0x129e09||('get'in _0x129e09?!_0x229553[_0x31dc97(0x101)]:_0x129e09[_0x31dc97(0xea)]||_0x129e09['configurable']))&&(_0x129e09={'enumerable':!![],'get':function(){return _0x229553[_0x402b43];}}),Object[_0x31dc97(0x92)](_0x2b380a,_0x4a2f06,_0x129e09);}:function(_0x58460c,_0x446d15,_0x11fdfc,_0x30cb80){if(_0x30cb80===undefined)_0x30cb80=_0x11fdfc;_0x58460c[_0x30cb80]=_0x446d15[_0x11fdfc];}),__setModuleDefault=this&&this[a0_0x34de10(0x9c)]||(Object[a0_0x34de10(0xd1)]?function(_0xe1612c,_0x136520){const _0x1b69db=a0_0x34de10;Object[_0x1b69db(0x92)](_0xe1612c,'default',{'enumerable':!![],'value':_0x136520});}:function(_0x6effc1,_0x12afdf){_0x6effc1['default']=_0x12afdf;}),__importStar=this&&this[a0_0x34de10(0xd2)]||(function(){var _0x155ceb=function(_0x271edf){const _0x1f7a49=a0_0x672b;return _0x155ceb=Object[_0x1f7a49(0xc8)]||function(_0x584130){const _0x32095b=_0x1f7a49;var _0x5c0586=[];for(var _0x585bd3 in _0x584130)if(Object[_0x32095b(0xb5)]['hasOwnProperty'][_0x32095b(0xde)](_0x584130,_0x585bd3))_0x5c0586[_0x5c0586[_0x32095b(0xb4)]]=_0x585bd3;return _0x5c0586;},_0x155ceb(_0x271edf);};return function(_0x43a7c8){const _0x136727=a0_0x672b;if(_0x43a7c8&&_0x43a7c8[_0x136727(0x101)])return _0x43a7c8;var _0x219d09={};if(_0x43a7c8!=null){for(var _0x5c59bf=_0x155ceb(_0x43a7c8),_0xe4bbbf=0x0;_0xe4bbbf<_0x5c59bf[_0x136727(0xb4)];_0xe4bbbf++)if(_0x5c59bf[_0xe4bbbf]!==_0x136727(0xa9))__createBinding(_0x219d09,_0x43a7c8,_0x5c59bf[_0xe4bbbf]);}return __setModuleDefault(_0x219d09,_0x43a7c8),_0x219d09;};}());Object[a0_0x34de10(0x92)](exports,a0_0x34de10(0x101),{'value':!![]}),exports[a0_0x34de10(0xef)]=installShims,exports[a0_0x34de10(0xab)]=uninstallShims;const fs=__importStar(require('fs')),path=__importStar(require('path')),os=__importStar(require('os')),SHIMMED_COMMANDS=['ls',a0_0x34de10(0xb3),a0_0x34de10(0x96),a0_0x34de10(0xd0),'grep','rg',a0_0x34de10(0x8d),a0_0x34de10(0xd9),'gh','glab','cargo','npm','pnpm',a0_0x34de10(0xec),a0_0x34de10(0xdb),'kubectl',a0_0x34de10(0x86),a0_0x34de10(0xfc),a0_0x34de10(0x98),a0_0x34de10(0xac),'go','find'],PROFILE_MARKER=a0_0x34de10(0xa8);function getExecSync(){const _0x5b8b36=a0_0x34de10;return require('child_process')[_0x5b8b36(0xa0)];}function getExecFileSync(){const _0x5b3856=a0_0x34de10;return require('child_process')[_0x5b3856(0x93)];}function ensureProfileContains(_0x5d4e19,_0xd0304,_0x275a56){const _0x3dbb76=a0_0x34de10;try{const _0x21936d=path[_0x3dbb76(0xca)](_0x5d4e19);!fs['existsSync'](_0x21936d)&&fs[_0x3dbb76(0xe6)](_0x21936d,{'recursive':!![]});if(fs[_0x3dbb76(0xd7)](_0x5d4e19)){const _0x1da21e=fs[_0x3dbb76(0xc9)](_0x5d4e19,'utf8');if(_0x1da21e[_0x3dbb76(0xe1)](_0xd0304))return;fs['appendFileSync'](_0x5d4e19,_0x275a56,'utf8');}else fs[_0x3dbb76(0x103)](_0x5d4e19,_0x275a56,_0x3dbb76(0xf8));}catch{}}function a0_0x672b(_0x29dd27,_0x491702){_0x29dd27=_0x29dd27-0x86;const _0x3962ce=a0_0x3962();let _0x672ba5=_0x3962ce[_0x29dd27];return _0x672ba5;}function removeProfileBlock(_0x4e395f,_0x363644){const _0xe3339c=a0_0x34de10;try{if(!fs['existsSync'](_0x4e395f))return;const _0x4d93f5=fs[_0xe3339c(0xc9)](_0x4e395f,'utf8');if(!_0x4d93f5[_0xe3339c(0xe1)](_0x363644))return;const _0xe63ed5=_0x4d93f5[_0xe3339c(0xdd)]('\x0a'),_0x2efebe=[];let _0xa2f6a8=![];for(let _0x1637d8=0x0;_0x1637d8<_0xe63ed5['length'];_0x1637d8++){if(_0xe63ed5[_0x1637d8][_0xe3339c(0xe1)](_0x363644)){_0xa2f6a8=!![];continue;}if(_0xa2f6a8){_0xa2f6a8=![];continue;}_0x2efebe[_0xe3339c(0x89)](_0xe63ed5[_0x1637d8]);}const _0x261118=_0x2efebe[_0xe3339c(0xe7)]('\x0a')['replace'](/\n{3,}/g,'\x0a\x0a');fs[_0xe3339c(0x103)](_0x4e395f,_0x261118,'utf8');}catch{}}function collectPowerShellProfiles(){const _0x1fc654=a0_0x34de10,_0x2073f5=getExecSync(),_0x36af75=[],_0x108cf2=[[_0x1fc654(0xed),_0x1fc654(0xc0)],[_0x1fc654(0xed),_0x1fc654(0xce)]];try{_0x2073f5(_0x1fc654(0xa3),{'stdio':_0x1fc654(0xff)}),_0x108cf2['push']([_0x1fc654(0x8f),'$PROFILE.CurrentUserAllHosts']);}catch{}for(const [_0x460545,_0xbc44c]of _0x108cf2){try{const _0x4e0f56=_0x2073f5(_0x460545+_0x1fc654(0x87)+_0xbc44c+'\x22',{'encoding':_0x1fc654(0xf8)})[_0x1fc654(0x95)]();_0x4e0f56&&!_0x36af75[_0x1fc654(0xa7)](_0x956b3e=>_0x956b3e[_0x1fc654(0xbd)]()===_0x4e0f56[_0x1fc654(0xbd)]())&&_0x36af75[_0x1fc654(0x89)](_0x4e0f56);}catch{}}return _0x36af75;}function getBashProfilesWindows(){const _0x3e3b47=a0_0x34de10,_0x1679b7=os[_0x3e3b47(0xcd)]();return[_0x3e3b47(0x94),'.bash_profile'][_0x3e3b47(0xfb)](_0x3b49db=>path['join'](_0x1679b7,_0x3b49db));}function getBroadcastCommand(){const _0x3f470c=a0_0x34de10;return _0x3f470c(0xbb);}function installShims(){const _0x29b51f=a0_0x34de10,_0x3b38b2=path[_0x29b51f(0xe7)](os['homedir'](),_0x29b51f(0xf9),_0x29b51f(0xaf));try{!fs[_0x29b51f(0xd7)](_0x3b38b2)&&fs['mkdirSync'](_0x3b38b2,{'recursive':!![]});const _0x44e037=os['platform']()===_0x29b51f(0xf5);for(const _0x24eb20 of SHIMMED_COMMANDS){if(_0x44e037){const _0x277be5=path[_0x29b51f(0xe7)](_0x3b38b2,_0x24eb20+_0x29b51f(0xee)),_0xa68bd7=process.env.APPDATA?path['join'](process.env.APPDATA,_0x29b51f(0x9b)):'',_0x4437fc=_0xa68bd7?'if\x20exist\x20\x22'+path[_0x29b51f(0xe7)](_0xa68bd7,_0x29b51f(0xb7))+'\x22':_0x29b51f(0xe8),_0x513792=[_0x29b51f(0xad),_0x4437fc+'\x20(',_0x29b51f(0xb6)+_0x24eb20+'\x20%*',')\x20else\x20(',_0x29b51f(0xe5)+_0x3b38b2+_0x29b51f(0xd4),'\x20\x20'+_0x24eb20+_0x29b51f(0xa4),')']['join']('\x0d\x0a')+'\x0d\x0a';fs['writeFileSync'](_0x277be5,_0x513792,_0x29b51f(0xf8));const _0x3f0fa6=path[_0x29b51f(0xe7)](_0x3b38b2,_0x24eb20+_0x29b51f(0x8e)),_0x241527=_0x29b51f(0x9a)+_0x24eb20+_0x29b51f(0xbc)+_0x24eb20+_0x29b51f(0xe4);fs[_0x29b51f(0x103)](_0x3f0fa6,_0x241527,_0x29b51f(0xf8));const _0x47188c=path[_0x29b51f(0xe7)](_0x3b38b2,_0x24eb20),_0x55c017=_0x3b38b2[_0x29b51f(0xe0)](/\\/g,'/')['replace'](/^([A-Za-z]):/,(_0x37805b,_0x400105)=>'/'+_0x400105[_0x29b51f(0xbd)]()),_0x38cea1=_0x29b51f(0xb8)+_0x24eb20+_0x29b51f(0x8c)+_0x55c017+_0x29b51f(0xf6)+_0x24eb20+_0x29b51f(0xcc);fs[_0x29b51f(0x103)](_0x47188c,_0x38cea1,_0x29b51f(0xf8));}else{const _0x48adc3=path[_0x29b51f(0xe7)](_0x3b38b2,_0x24eb20),_0x2e11c6=_0x29b51f(0xb8)+_0x24eb20+'\x20\x22$@\x22;\x20else\x20CLEAN_PATH=$(echo\x20\x22$PATH\x22\x20|\x20sed\x20\x27s|[^:]*\x5c.trimprompt/shims:||g\x27);\x20exec\x20env\x20PATH=\x22$CLEAN_PATH\x22\x20'+_0x24eb20+_0x29b51f(0xcc);fs[_0x29b51f(0x103)](_0x48adc3,_0x2e11c6,_0x29b51f(0xf8)),fs[_0x29b51f(0xc7)](_0x48adc3,_0x29b51f(0x102));}}let _0x18cbbe=![],_0xac421d='';if(_0x44e037)try{const _0x50b3a7=getExecSync(),_0x292234=_0x29b51f(0xc3)+PROFILE_MARKER+'\x0a$env:PATH\x20=\x20\x22'+_0x3b38b2+';\x22\x20+\x20$env:PATH\x0a',_0x5a4b97=collectPowerShellProfiles();for(const _0x5a025d of _0x5a4b97){ensureProfileContains(_0x5a025d,_0x3b38b2,_0x292234);}try{const _0x1d02f1=getExecFileSync(),_0x12ef94=_0x29b51f(0xbf)+_0x3b38b2+'\x22\x20set\x20\x22PATH='+_0x3b38b2+_0x29b51f(0xe2),_0x321fd6=_0x29b51f(0x9d);let _0x464872='';try{const _0x449908=_0x29b51f(0xeb)+_0x321fd6+'\x27\x20-Name\x20AutoRun\x20-ErrorAction\x20Stop).AutoRun\x20}\x20catch\x20{\x20\x27\x27\x20}';_0x464872=_0x1d02f1(_0x29b51f(0xdf),['-NoProfile','-Command',_0x449908],{'encoding':_0x29b51f(0xf8),'stdio':['pipe',_0x29b51f(0x8a),'ignore']})[_0x29b51f(0x95)]();}catch{}if(!_0x464872[_0x29b51f(0xe1)](_0x3b38b2)){const _0x402dd1=_0x464872?_0x464872+_0x29b51f(0xc4)+_0x12ef94:_0x12ef94,_0x337f4d=_0x29b51f(0xb2)+_0x321fd6+'\x27\x20-Force\x20|\x20Out-Null;\x20Set-ItemProperty\x20-Path\x20\x27'+_0x321fd6+'\x27\x20-Name\x20AutoRun\x20-Value\x20\x27'+_0x402dd1+'\x27';_0x1d02f1('powershell.exe',[_0x29b51f(0xb9),_0x29b51f(0xd3),_0x337f4d],{'stdio':_0x29b51f(0xff)});}}catch{}try{const _0x56b4f3=_0x3b38b2[_0x29b51f(0xe0)](/\\/g,'/')[_0x29b51f(0xe0)](/^([A-Za-z]):/,(_0x325bd6,_0x30bc97)=>'/'+_0x30bc97['toLowerCase']()),_0x17405e=_0x29b51f(0xc3)+PROFILE_MARKER+_0x29b51f(0x9e)+_0x56b4f3+_0x29b51f(0xe9),_0x31a342=getBashProfilesWindows();let _0x25d120=![];for(const _0x4375b1 of _0x31a342){fs[_0x29b51f(0xd7)](_0x4375b1)&&(ensureProfileContains(_0x4375b1,_0x56b4f3,_0x17405e),_0x25d120=!![]);}!_0x25d120&&ensureProfileContains(_0x31a342[0x0],_0x56b4f3,_0x17405e);}catch{}const _0x560a85=_0x29b51f(0xa5),_0x17b168=_0x50b3a7(_0x29b51f(0xf1)+_0x560a85+'\x22',{'encoding':'utf8','stdio':[_0x29b51f(0x8a),_0x29b51f(0x8a),'ignore']})['trim']();if(!_0x17b168['includes'](_0x3b38b2)){const _0x3c8892=_0x3b38b2+';'+_0x17b168,_0x14e2d6=_0x3c8892[_0x29b51f(0xe0)](/'/g,'\x27\x27'),_0x12877d=_0x29b51f(0xfd)+_0x14e2d6+_0x29b51f(0xbe);_0x50b3a7(_0x29b51f(0xf1)+_0x12877d+';\x20'+getBroadcastCommand()+'\x22',{'stdio':'ignore'});}const _0x2832c7=path['join'](process.env.APPDATA||'',_0x29b51f(0x9b),'trim.ps1');if(fs[_0x29b51f(0xd7)](_0x2832c7))try{fs['unlinkSync'](_0x2832c7);}catch{}_0x18cbbe=!![];}catch(_0x564aa3){_0xac421d=_0x29b51f(0xc1)+_0x3b38b2;}else try{const _0x51b845=_0x29b51f(0x90)+_0x3b38b2+':$PATH\x22\x0a',_0x15f132=os[_0x29b51f(0xcd)](),_0x57c28a=['.bashrc',_0x29b51f(0xb1),_0x29b51f(0x88),_0x29b51f(0xe3)];let _0x5e461b=![];for(const _0x5ce0c9 of _0x57c28a){const _0x2803e9=path[_0x29b51f(0xe7)](_0x15f132,_0x5ce0c9);fs[_0x29b51f(0xd7)](_0x2803e9)&&(ensureProfileContains(_0x2803e9,_0x3b38b2,_0x29b51f(0xc3)+PROFILE_MARKER+'\x0a'+_0x51b845),_0x5e461b=!![]);}if(!_0x5e461b){const _0x227532=path[_0x29b51f(0xe7)](_0x15f132,_0x29b51f(0x94));ensureProfileContains(_0x227532,_0x3b38b2,'\x0a#\x20'+PROFILE_MARKER+'\x0a'+_0x51b845);}_0x18cbbe=!![];}catch(_0x396ce9){_0xac421d='Please\x20add\x20this\x20to\x20your\x20shell\x20profile\x20(~/.bashrc,\x20~/.zshrc)\x20manually:\x0a\x20\x20export\x20PATH=\x22'+_0x3b38b2+':$PATH\x22';}const _0x64a38a=_0x29b51f(0xaa)+SHIMMED_COMMANDS[_0x29b51f(0xb4)]+_0x29b51f(0xfe),_0xbb4e05=_0x18cbbe?_0x64a38a+_0x29b51f(0xf0):_0x64a38a+'[WARNING]\x20Could\x20not\x20automatically\x20update\x20your\x20system\x20PATH.\x20'+_0xac421d;return{'success':!![],'pathDir':_0x3b38b2,'message':_0xbb4e05};}catch(_0x3dea22){return{'success':![],'pathDir':_0x3b38b2,'message':_0x29b51f(0xcb)+_0x3dea22[_0x29b51f(0xc5)]};}}function uninstallShims(){const _0x4c2022=a0_0x34de10,_0x14ce9c=path['join'](os[_0x4c2022(0xcd)](),'.trimprompt','shims'),_0x182909=os['platform']()===_0x4c2022(0xf5);try{if(_0x182909){const _0x35c388=getExecSync();try{const _0xaa356b=getExecFileSync(),_0x5346fd=_0x4c2022(0x9d),_0x19dd46=_0x4c2022(0xeb)+_0x5346fd+'\x27\x20-Name\x20AutoRun\x20-ErrorAction\x20Stop).AutoRun\x20}\x20catch\x20{\x20\x27\x27\x20}',_0x5d8c98=_0xaa356b(_0x4c2022(0xdf),[_0x4c2022(0xb9),_0x4c2022(0xd3),_0x19dd46],{'encoding':_0x4c2022(0xf8),'stdio':[_0x4c2022(0x8a),_0x4c2022(0x8a),'ignore']})[_0x4c2022(0x95)]();if(_0x5d8c98[_0x4c2022(0xe1)](_0x14ce9c)){const _0x54ec5c=_0x5d8c98['split'](_0x4c2022(0xc4))[_0x4c2022(0xdc)](_0x233714=>!_0x233714[_0x4c2022(0xe1)](_0x14ce9c));if(_0x54ec5c[_0x4c2022(0xb4)]===0x0){const _0x5654ef=_0x4c2022(0x97)+_0x5346fd+_0x4c2022(0xba);_0xaa356b(_0x4c2022(0xdf),['-NoProfile',_0x4c2022(0xd3),_0x5654ef],{'stdio':_0x4c2022(0xff)});}else{const _0x21a54b=_0x54ec5c['join'](_0x4c2022(0xc4)),_0x20cd04=_0x4c2022(0xa1)+_0x5346fd+_0x4c2022(0xd5)+_0x21a54b+'\x27';_0xaa356b('powershell.exe',[_0x4c2022(0xb9),_0x4c2022(0xd3),_0x20cd04],{'stdio':'ignore'});}}}catch{}try{const _0x15bbda=collectPowerShellProfiles();for(const _0x51d28c of _0x15bbda){removeProfileBlock(_0x51d28c,PROFILE_MARKER);}}catch{}try{for(const _0x5b9220 of getBashProfilesWindows()){removeProfileBlock(_0x5b9220,PROFILE_MARKER);}}catch{}try{const _0xf1c5f9=_0x4c2022(0xa5),_0x3cf850=_0x35c388(_0x4c2022(0xf1)+_0xf1c5f9+'\x22',{'encoding':'utf8','stdio':[_0x4c2022(0x8a),_0x4c2022(0x8a),_0x4c2022(0xff)]})['trim']();if(_0x3cf850[_0x4c2022(0xe1)](_0x14ce9c)){const _0x35707b=_0x3cf850[_0x4c2022(0xdd)](';')[_0x4c2022(0xdc)](_0x50698b=>_0x50698b[_0x4c2022(0x95)]()[_0x4c2022(0xbd)]()!==_0x14ce9c[_0x4c2022(0xbd)]())[_0x4c2022(0xe7)](';'),_0x4cb46d=_0x35707b[_0x4c2022(0xe0)](/'/g,'\x27\x27'),_0x464c5f=_0x4c2022(0xfd)+_0x4cb46d+_0x4c2022(0xbe);_0x35c388(_0x4c2022(0xf1)+_0x464c5f+';\x20'+getBroadcastCommand()+'\x22',{'stdio':_0x4c2022(0xff)});}}catch{}}else{const _0x1082e9=os[_0x4c2022(0xcd)](),_0x32a110=[_0x4c2022(0x94),'.zshrc',_0x4c2022(0x88),_0x4c2022(0xe3)];for(const _0x543935 of _0x32a110){removeProfileBlock(path[_0x4c2022(0xe7)](_0x1082e9,_0x543935),PROFILE_MARKER);}}if(fs[_0x4c2022(0xd7)](_0x14ce9c)){const _0x124e0a=fs[_0x4c2022(0xae)](_0x14ce9c);for(const _0x57945f of _0x124e0a){fs[_0x4c2022(0xcf)](path[_0x4c2022(0xe7)](_0x14ce9c,_0x57945f));}fs[_0x4c2022(0xd8)](_0x14ce9c);}return{'success':!![],'message':_0x4c2022(0x100)};}catch(_0x18c758){return{'success':![],'message':_0x4c2022(0xf2)+_0x18c758['message']};}}
1
+ 'use strict';const a0_0xf428e7=a0_0x9c46;(function(_0x2d77e5,_0x3b579c){const _0x489065=a0_0x9c46,_0x1b60de=_0x2d77e5();while(!![]){try{const _0x451dbe=-parseInt(_0x489065(0x14b))/0x1*(-parseInt(_0x489065(0x120))/0x2)+-parseInt(_0x489065(0x14f))/0x3*(parseInt(_0x489065(0x153))/0x4)+parseInt(_0x489065(0x121))/0x5+parseInt(_0x489065(0x150))/0x6+-parseInt(_0x489065(0x131))/0x7+parseInt(_0x489065(0x134))/0x8+parseInt(_0x489065(0x164))/0x9*(-parseInt(_0x489065(0x11c))/0xa);if(_0x451dbe===_0x3b579c)break;else _0x1b60de['push'](_0x1b60de['shift']());}catch(_0x43d65b){_0x1b60de['push'](_0x1b60de['shift']());}}}(a0_0x2c22,0xee459));var __createBinding=this&&this[a0_0xf428e7(0x127)]||(Object[a0_0xf428e7(0x17d)]?function(_0x205ae7,_0x13263c,_0x4d6b41,_0x51c31f){const _0x250f03=a0_0xf428e7;if(_0x51c31f===undefined)_0x51c31f=_0x4d6b41;var _0xed72cd=Object[_0x250f03(0x11d)](_0x13263c,_0x4d6b41);(!_0xed72cd||(_0x250f03(0x155)in _0xed72cd?!_0x13263c[_0x250f03(0x11f)]:_0xed72cd[_0x250f03(0x105)]||_0xed72cd[_0x250f03(0x112)]))&&(_0xed72cd={'enumerable':!![],'get':function(){return _0x13263c[_0x4d6b41];}}),Object[_0x250f03(0x13c)](_0x205ae7,_0x51c31f,_0xed72cd);}:function(_0x11c3d9,_0x453faf,_0x185789,_0x204a54){if(_0x204a54===undefined)_0x204a54=_0x185789;_0x11c3d9[_0x204a54]=_0x453faf[_0x185789];}),__setModuleDefault=this&&this['__setModuleDefault']||(Object[a0_0xf428e7(0x17d)]?function(_0xd3b361,_0x6a5e3c){const _0x37f457=a0_0xf428e7;Object[_0x37f457(0x13c)](_0xd3b361,_0x37f457(0x178),{'enumerable':!![],'value':_0x6a5e3c});}:function(_0x232200,_0x4a10fe){const _0x327815=a0_0xf428e7;_0x232200[_0x327815(0x178)]=_0x4a10fe;}),__importStar=this&&this[a0_0xf428e7(0x17a)]||(function(){var _0x15a054=function(_0x28b324){return _0x15a054=Object['getOwnPropertyNames']||function(_0x215651){const _0x2df4f0=a0_0x9c46;var _0xbfecd1=[];for(var _0x2e477f in _0x215651)if(Object[_0x2df4f0(0x167)]['hasOwnProperty'][_0x2df4f0(0x15c)](_0x215651,_0x2e477f))_0xbfecd1[_0xbfecd1['length']]=_0x2e477f;return _0xbfecd1;},_0x15a054(_0x28b324);};return function(_0x5716b6){const _0x433f32=a0_0x9c46;if(_0x5716b6&&_0x5716b6[_0x433f32(0x11f)])return _0x5716b6;var _0x1ddd1f={};if(_0x5716b6!=null){for(var _0x2b6d86=_0x15a054(_0x5716b6),_0x1d2a43=0x0;_0x1d2a43<_0x2b6d86[_0x433f32(0x142)];_0x1d2a43++)if(_0x2b6d86[_0x1d2a43]!==_0x433f32(0x178))__createBinding(_0x1ddd1f,_0x5716b6,_0x2b6d86[_0x1d2a43]);}return __setModuleDefault(_0x1ddd1f,_0x5716b6),_0x1ddd1f;};}());Object['defineProperty'](exports,a0_0xf428e7(0x11f),{'value':!![]}),exports[a0_0xf428e7(0x16d)]=installShims,exports[a0_0xf428e7(0x132)]=uninstallShims;const fs=__importStar(require('fs')),path=__importStar(require(a0_0xf428e7(0x168))),os=__importStar(require('os')),SHIMMED_COMMANDS=['ls',a0_0xf428e7(0x15a),'cat','read',a0_0xf428e7(0x125),'rg',a0_0xf428e7(0x145),a0_0xf428e7(0x10e),'gh',a0_0xf428e7(0x119),a0_0xf428e7(0x136),'npm',a0_0xf428e7(0x152),'npx',a0_0xf428e7(0x151),a0_0xf428e7(0x175),a0_0xf428e7(0x117),a0_0xf428e7(0x160),a0_0xf428e7(0x11a),'pip3','go','find'],PROFILE_MARKER=a0_0xf428e7(0x133);function getExecSync(){const _0x38418c=a0_0xf428e7;return require(_0x38418c(0x10c))[_0x38418c(0x161)];}function getExecFileSync(){const _0xe27b78=a0_0xf428e7;return require(_0xe27b78(0x10c))[_0xe27b78(0x143)];}function ensureProfileContains(_0x2e5e01,_0x3f2c87,_0x757d14){const _0x21f14b=a0_0xf428e7;try{const _0x133932=path[_0x21f14b(0x17c)](_0x2e5e01);!fs[_0x21f14b(0x10b)](_0x133932)&&fs['mkdirSync'](_0x133932,{'recursive':!![]});if(fs['existsSync'](_0x2e5e01)){const _0x178d07=fs['readFileSync'](_0x2e5e01,_0x21f14b(0x147));if(_0x178d07[_0x21f14b(0x139)](_0x3f2c87))return;fs['appendFileSync'](_0x2e5e01,_0x757d14,_0x21f14b(0x147));}else fs['writeFileSync'](_0x2e5e01,_0x757d14,'utf8');}catch{}}function removeProfileBlock(_0xf82aa8,_0x33d8ca){const _0x2e78bd=a0_0xf428e7;try{if(!fs[_0x2e78bd(0x10b)](_0xf82aa8))return;const _0x132481=fs[_0x2e78bd(0x158)](_0xf82aa8,_0x2e78bd(0x147));if(!_0x132481['includes'](_0x33d8ca))return;const _0x4dec55=_0x132481[_0x2e78bd(0x126)]('\x0a'),_0x154bb2=[];let _0x170584=![];for(let _0x5fa64a=0x0;_0x5fa64a<_0x4dec55[_0x2e78bd(0x142)];_0x5fa64a++){if(_0x4dec55[_0x5fa64a]['includes'](_0x33d8ca)){_0x170584=!![];continue;}if(_0x170584){_0x170584=![];continue;}_0x154bb2[_0x2e78bd(0x173)](_0x4dec55[_0x5fa64a]);}const _0x482669=_0x154bb2['join']('\x0a')['replace'](/\n{3,}/g,'\x0a\x0a');fs[_0x2e78bd(0x171)](_0xf82aa8,_0x482669,'utf8');}catch{}}function a0_0x9c46(_0x3bbf80,_0x251423){_0x3bbf80=_0x3bbf80-0x105;const _0x2c22e7=a0_0x2c22();let _0x9c4695=_0x2c22e7[_0x3bbf80];return _0x9c4695;}function collectPowerShellProfiles(){const _0x54ee43=a0_0xf428e7,_0x2b8189=getExecSync(),_0xd199ef=[],_0xa0118a=[['powershell',_0x54ee43(0x12e)],[_0x54ee43(0x10d),_0x54ee43(0x12f)]];try{_0x2b8189(_0x54ee43(0x12a),{'stdio':_0x54ee43(0x16b)}),_0xa0118a[_0x54ee43(0x173)]([_0x54ee43(0x123),_0x54ee43(0x12f)]);}catch{}for(const [_0x39f527,_0x411d31]of _0xa0118a){try{const _0x1ad1ae=_0x2b8189(_0x39f527+_0x54ee43(0x128)+_0x411d31+'\x22',{'encoding':_0x54ee43(0x147)})['trim']();_0x1ad1ae&&!_0xd199ef[_0x54ee43(0x10f)](_0x568e07=>_0x568e07[_0x54ee43(0x177)]()===_0x1ad1ae[_0x54ee43(0x177)]())&&_0xd199ef['push'](_0x1ad1ae);}catch{}}return _0xd199ef;}function getBashProfilesWindows(){const _0x540e46=a0_0xf428e7,_0x585b3=os[_0x540e46(0x140)]();return[_0x540e46(0x13f),'.bash_profile']['map'](_0xccfbf4=>path['join'](_0x585b3,_0xccfbf4));}function a0_0x2c22(){const _0x5b4f01=['path','join','trim.cmd','ignore','if\x20exist\x20\x22','installShims','rmdirSync','export\x20PATH=\x22','Please\x20add\x20this\x20to\x20your\x20shell\x20profile\x20(~/.bashrc,\x20~/.zshrc)\x20manually:\x0a\x20\x20export\x20PATH=\x22','writeFileSync','\x0a$env:PATH\x20=\x20\x22','push','#!/bin/sh\x0aif\x20command\x20-v\x20trim\x20>/dev/null\x202>&1;\x20then\x20exec\x20trim\x20','kubectl','trim.ps1','toLowerCase','default','\x20\x20trim\x20','__importStar','\x20@args\x20}\x0a','dirname','create','\x20&\x20','Please\x20add\x20the\x20following\x20path\x20to\x20the\x20front\x20of\x20your\x20User\x20PATH\x20environment\x20variable\x20manually:\x0a\x20\x20','.zshrc','message','replace','platform','writable','Failed\x20to\x20install\x20shims:\x20','win32','filter','if\x20exist\x20\x22%~dp0..\x5c..\x5cAppData\x5cRoaming\x5cnpm\x5ctrim.cmd\x22','shims','existsSync','child_process','powershell','git','some','\x20\x22$@\x22;\x20fi\x0a','@echo\x20off','configurable','\x20@args\x20}\x20else\x20{\x20&\x20','pipe','\x20\x22$@\x22;\x20else\x20CLEAN_PATH=$(echo\x20\x22$PATH\x22\x20|\x20sed\x20\x22s|','.trimprompt','docker','HKCU:\x5cSoftware\x5cMicrosoft\x5cCommand\x20Processor','glab','pip','chmodSync','1956530yNuiMc','getOwnPropertyDescriptor',')\x20else\x20(','__esModule','398iBRjWq','9654875CcOUej','\x20commands.\x0a\x0a','pwsh',';\x22\x20+\x20$env:PATH\x0a','grep','split','__createBinding','\x20-NoProfile\x20-Command\x20\x22',':||g\x22);\x20exec\x20env\x20PATH=\x22$CLEAN_PATH\x22\x20','pwsh\x20-NoProfile\x20-Command\x20\x22exit\x200\x22','\x27\x20-Name\x20AutoRun\x20-Value\x20\x27','unlinkSync','\x0aexport\x20PATH=\x22','$PROFILE.CurrentUserCurrentHost','$PROFILE.CurrentUserAllHosts','.ps1','4551239bwEtEY','uninstallShims','TrimPrompt\x20Shims\x20PATH','4327808VpgwHn',';%PATH%\x22','cargo','readdirSync','\x0a#\x20','includes','\x20\x20set\x20\x22PATH=%PATH:','[WARNING]\x20Could\x20not\x20automatically\x20update\x20your\x20system\x20PATH.\x20','defineProperty','[SUCCESS]\x20Your\x20system\x20PATH\x20has\x20been\x20automatically\x20and\x20permanently\x20updated\x20to\x20run\x20TrimPrompt\x20in\x20the\x20background.\x0aThis\x20setup\x20persists\x20across\x20system\x20restarts.\x0a\x0a*Note*:\x20Please\x20restart\x20your\x20active\x20terminal\x20window\x20or\x20AI\x20assistant\x20(e.g.\x20Claude\x20Code/Cursor)\x20for\x20the\x20environment\x20changes\x20to\x20take\x20effect.','\x27,\x20\x27User\x27)','.bashrc','homedir','trim','length','execFileSync','-Command','ruff','Remove-ItemProperty\x20-Path\x20\x27','utf8',':$PATH\x22\x0a','try\x20{\x20(Get-ItemProperty\x20-Path\x20\x27','powershell\x20-NoProfile\x20-Command\x20\x22','5661cekaFh','.bash_profile','[Environment]::GetEnvironmentVariable(\x27PATH\x27,\x20\x27User\x27)','TrimPrompt\x20shims\x20fully\x20uninstalled.\x20All\x20PATH\x20modifications,\x20shell\x20profiles,\x20and\x20registry\x20entries\x20have\x20been\x20cleaned\x20up.','1158UvtNRA','6323292pYrPip','yarn','pnpm','15140DNaQFb','-NoProfile','get','$sig\x20=\x20\x27[DllImport(\x5c\x22user32.dll\x5c\x22,\x20SetLastError\x20=\x20true,\x20CharSet\x20=\x20CharSet.Auto)]\x20public\x20static\x20extern\x20IntPtr\x20SendMessageTimeout(IntPtr\x20hWnd,\x20uint\x20Msg,\x20IntPtr\x20wParam,\x20string\x20lParam,\x20uint\x20fuFlags,\x20uint\x20uTimeout,\x20out\x20IntPtr\x20lpdwResult);\x27;\x20Add-Type\x20-MemberDefinition\x20$sig\x20-Name\x20\x5c\x22Win32\x5c\x22\x20-Namespace\x20\x5c\x22Win32\x5c\x22\x20-PassThru\x20>\x20$null;\x20[IntPtr]$res\x20=\x200;\x20[void][Win32.Win32]::SendMessageTimeout([IntPtr]0xffff,\x200x001A,\x20[IntPtr]::Zero,\x20\x5c\x22Environment\x5c\x22,\x202,\x201000,\x20[ref]$res);','\x27\x20-Force\x20|\x20Out-Null;\x20Set-ItemProperty\x20-Path\x20\x27','readFileSync','Failed\x20to\x20uninstall\x20shims:\x20','tree','New-Item\x20-Path\x20\x27','call','powershell.exe','\x27\x20-Name\x20AutoRun\x20-ErrorAction\x20Stop).AutoRun\x20}\x20catch\x20{\x20\x27\x27\x20}','755','pytest','execSync','\x20%*','.profile','72ShawaL','[Environment]::SetEnvironmentVariable(\x27PATH\x27,\x20\x27','.cmd','prototype'];a0_0x2c22=function(){return _0x5b4f01;};return a0_0x2c22();}function getBroadcastCommand(){const _0x56b85d=a0_0xf428e7;return _0x56b85d(0x156);}function installShims(){const _0x5835ed=a0_0xf428e7,_0x50c2ef=path[_0x5835ed(0x169)](os[_0x5835ed(0x140)](),_0x5835ed(0x116),_0x5835ed(0x10a));try{!fs[_0x5835ed(0x10b)](_0x50c2ef)&&fs['mkdirSync'](_0x50c2ef,{'recursive':!![]});const _0x145c5f=os[_0x5835ed(0x183)]()===_0x5835ed(0x107);for(const _0x36fcbc of SHIMMED_COMMANDS){if(_0x145c5f){const _0x24c307=path[_0x5835ed(0x169)](_0x50c2ef,_0x36fcbc+_0x5835ed(0x166)),_0x1dfb8c=process.env.APPDATA?path[_0x5835ed(0x169)](process.env.APPDATA,'npm'):'',_0x23aea7=_0x1dfb8c?_0x5835ed(0x16c)+path[_0x5835ed(0x169)](_0x1dfb8c,_0x5835ed(0x16a))+'\x22':_0x5835ed(0x109),_0x46ecc9=[_0x5835ed(0x111),_0x23aea7+'\x20(',_0x5835ed(0x179)+_0x36fcbc+_0x5835ed(0x162),_0x5835ed(0x11e),_0x5835ed(0x13a)+_0x50c2ef+';=%\x22','\x20\x20'+_0x36fcbc+_0x5835ed(0x162),')'][_0x5835ed(0x169)]('\x0d\x0a')+'\x0d\x0a';fs[_0x5835ed(0x171)](_0x24c307,_0x46ecc9,_0x5835ed(0x147));const _0x6ad573=path['join'](_0x50c2ef,_0x36fcbc+_0x5835ed(0x130)),_0x31d545='if\x20(Get-Command\x20trim\x20-ErrorAction\x20SilentlyContinue)\x20{\x20&\x20trim\x20'+_0x36fcbc+_0x5835ed(0x113)+_0x36fcbc+_0x5835ed(0x17b);fs[_0x5835ed(0x171)](_0x6ad573,_0x31d545,_0x5835ed(0x147));const _0x570ea3=path[_0x5835ed(0x169)](_0x50c2ef,_0x36fcbc),_0xbd6e6e=_0x50c2ef[_0x5835ed(0x182)](/\\/g,'/')['replace'](/^([A-Za-z]):/,(_0x105b00,_0x348b35)=>'/'+_0x348b35[_0x5835ed(0x177)]()),_0x1f146e='#!/bin/sh\x0aif\x20command\x20-v\x20trim\x20>/dev/null\x202>&1;\x20then\x20exec\x20trim\x20'+_0x36fcbc+_0x5835ed(0x115)+_0xbd6e6e+_0x5835ed(0x129)+_0x36fcbc+'\x20\x22$@\x22;\x20fi\x0a';fs[_0x5835ed(0x171)](_0x570ea3,_0x1f146e,_0x5835ed(0x147));}else{const _0x4a42d6=path['join'](_0x50c2ef,_0x36fcbc),_0x1bae51=_0x5835ed(0x174)+_0x36fcbc+'\x20\x22$@\x22;\x20else\x20CLEAN_PATH=$(echo\x20\x22$PATH\x22\x20|\x20sed\x20\x27s|[^:]*\x5c.trimprompt/shims:||g\x27);\x20exec\x20env\x20PATH=\x22$CLEAN_PATH\x22\x20'+_0x36fcbc+_0x5835ed(0x110);fs['writeFileSync'](_0x4a42d6,_0x1bae51,_0x5835ed(0x147)),fs[_0x5835ed(0x11b)](_0x4a42d6,_0x5835ed(0x15f));}}let _0x171974=![],_0x1a26fb='';if(_0x145c5f)try{const _0x54953d=getExecSync(),_0x3827a2=_0x5835ed(0x138)+PROFILE_MARKER+_0x5835ed(0x172)+_0x50c2ef+_0x5835ed(0x124),_0x11ae03=collectPowerShellProfiles();for(const _0x56a6a8 of _0x11ae03){ensureProfileContains(_0x56a6a8,_0x50c2ef,_0x3827a2);}try{const _0x7e2644=getExecFileSync(),_0x7e512e='if\x20exist\x20\x22'+_0x50c2ef+'\x22\x20set\x20\x22PATH='+_0x50c2ef+_0x5835ed(0x135),_0x1a83a0=_0x5835ed(0x118);let _0x4da75b='';try{const _0x42277d=_0x5835ed(0x149)+_0x1a83a0+_0x5835ed(0x15e);_0x4da75b=_0x7e2644(_0x5835ed(0x15d),[_0x5835ed(0x154),'-Command',_0x42277d],{'encoding':_0x5835ed(0x147),'stdio':[_0x5835ed(0x114),_0x5835ed(0x114),_0x5835ed(0x16b)]})[_0x5835ed(0x141)]();}catch{}if(!_0x4da75b[_0x5835ed(0x139)](_0x50c2ef)){const _0x5bb53e=_0x4da75b?_0x4da75b+_0x5835ed(0x17e)+_0x7e512e:_0x7e512e,_0x2ed265=_0x5835ed(0x15b)+_0x1a83a0+_0x5835ed(0x157)+_0x1a83a0+_0x5835ed(0x12b)+_0x5bb53e+'\x27';_0x7e2644('powershell.exe',['-NoProfile','-Command',_0x2ed265],{'stdio':_0x5835ed(0x16b)});}}catch{}try{const _0x5c7398=_0x50c2ef['replace'](/\\/g,'/')[_0x5835ed(0x182)](/^([A-Za-z]):/,(_0x444fa9,_0x3f1c90)=>'/'+_0x3f1c90['toLowerCase']()),_0x543cbf=_0x5835ed(0x138)+PROFILE_MARKER+_0x5835ed(0x12d)+_0x5c7398+_0x5835ed(0x148),_0x21f4aa=getBashProfilesWindows();let _0xed40a4=![];for(const _0x1b0643 of _0x21f4aa){fs[_0x5835ed(0x10b)](_0x1b0643)&&(ensureProfileContains(_0x1b0643,_0x5c7398,_0x543cbf),_0xed40a4=!![]);}!_0xed40a4&&ensureProfileContains(_0x21f4aa[0x0],_0x5c7398,_0x543cbf);}catch{}const _0x404168='[Environment]::GetEnvironmentVariable(\x27PATH\x27,\x20\x27User\x27)',_0x5d0e9f=_0x54953d(_0x5835ed(0x14a)+_0x404168+'\x22',{'encoding':_0x5835ed(0x147),'stdio':[_0x5835ed(0x114),_0x5835ed(0x114),_0x5835ed(0x16b)]})[_0x5835ed(0x141)]();if(!_0x5d0e9f[_0x5835ed(0x139)](_0x50c2ef)){const _0x1b7b3f=_0x50c2ef+';'+_0x5d0e9f,_0x150c42=_0x1b7b3f[_0x5835ed(0x182)](/'/g,'\x27\x27'),_0x301c73='[Environment]::SetEnvironmentVariable(\x27PATH\x27,\x20\x27'+_0x150c42+_0x5835ed(0x13e);_0x54953d(_0x5835ed(0x14a)+_0x301c73+';\x20'+getBroadcastCommand()+'\x22',{'stdio':_0x5835ed(0x16b)});}const _0x311b1a=path[_0x5835ed(0x169)](process.env.APPDATA||'','npm',_0x5835ed(0x176));if(fs[_0x5835ed(0x10b)](_0x311b1a))try{fs[_0x5835ed(0x12c)](_0x311b1a);}catch{}_0x171974=!![];}catch(_0x4e1c66){_0x1a26fb=_0x5835ed(0x17f)+_0x50c2ef;}else try{const _0x1292f9=_0x5835ed(0x16f)+_0x50c2ef+_0x5835ed(0x148),_0x4a95a8=os[_0x5835ed(0x140)](),_0x15a57b=['.bashrc',_0x5835ed(0x180),_0x5835ed(0x14c),_0x5835ed(0x163)];let _0x230660=![];for(const _0x43f78a of _0x15a57b){const _0x4ffb21=path[_0x5835ed(0x169)](_0x4a95a8,_0x43f78a);fs['existsSync'](_0x4ffb21)&&(ensureProfileContains(_0x4ffb21,_0x50c2ef,_0x5835ed(0x138)+PROFILE_MARKER+'\x0a'+_0x1292f9),_0x230660=!![]);}if(!_0x230660){const _0x49b4bc=path[_0x5835ed(0x169)](_0x4a95a8,_0x5835ed(0x13f));ensureProfileContains(_0x49b4bc,_0x50c2ef,_0x5835ed(0x138)+PROFILE_MARKER+'\x0a'+_0x1292f9);}_0x171974=!![];}catch(_0x1d3b71){_0x1a26fb=_0x5835ed(0x170)+_0x50c2ef+':$PATH\x22';}const _0x48c781='TrimPrompt\x20shims\x20successfully\x20installed\x20for\x20'+SHIMMED_COMMANDS[_0x5835ed(0x142)]+_0x5835ed(0x122),_0x4b9e27=_0x171974?_0x48c781+_0x5835ed(0x13d):_0x48c781+_0x5835ed(0x13b)+_0x1a26fb;return{'success':!![],'pathDir':_0x50c2ef,'message':_0x4b9e27};}catch(_0x169a65){return{'success':![],'pathDir':_0x50c2ef,'message':_0x5835ed(0x106)+_0x169a65[_0x5835ed(0x181)]};}}function uninstallShims(){const _0x5b6e61=a0_0xf428e7,_0x5cdcb4=path['join'](os[_0x5b6e61(0x140)](),_0x5b6e61(0x116),_0x5b6e61(0x10a)),_0x5e40d9=os[_0x5b6e61(0x183)]()===_0x5b6e61(0x107);try{if(_0x5e40d9){const _0x6b3290=getExecSync();try{const _0x655254=getExecFileSync(),_0x2f212d='HKCU:\x5cSoftware\x5cMicrosoft\x5cCommand\x20Processor',_0x269163=_0x5b6e61(0x149)+_0x2f212d+'\x27\x20-Name\x20AutoRun\x20-ErrorAction\x20Stop).AutoRun\x20}\x20catch\x20{\x20\x27\x27\x20}',_0x2c7071=_0x655254(_0x5b6e61(0x15d),[_0x5b6e61(0x154),'-Command',_0x269163],{'encoding':_0x5b6e61(0x147),'stdio':['pipe','pipe','ignore']})[_0x5b6e61(0x141)]();if(_0x2c7071[_0x5b6e61(0x139)](_0x5cdcb4)){const _0x5574d1=_0x2c7071[_0x5b6e61(0x126)](_0x5b6e61(0x17e))[_0x5b6e61(0x108)](_0x141590=>!_0x141590[_0x5b6e61(0x139)](_0x5cdcb4));if(_0x5574d1['length']===0x0){const _0x13cbb8=_0x5b6e61(0x146)+_0x2f212d+'\x27\x20-Name\x20AutoRun\x20-ErrorAction\x20SilentlyContinue';_0x655254(_0x5b6e61(0x15d),['-NoProfile',_0x5b6e61(0x144),_0x13cbb8],{'stdio':_0x5b6e61(0x16b)});}else{const _0x2249c8=_0x5574d1[_0x5b6e61(0x169)](_0x5b6e61(0x17e)),_0x13b7c2='Set-ItemProperty\x20-Path\x20\x27'+_0x2f212d+'\x27\x20-Name\x20AutoRun\x20-Value\x20\x27'+_0x2249c8+'\x27';_0x655254(_0x5b6e61(0x15d),[_0x5b6e61(0x154),_0x5b6e61(0x144),_0x13b7c2],{'stdio':_0x5b6e61(0x16b)});}}}catch{}try{const _0x466771=collectPowerShellProfiles();for(const _0x3b06fd of _0x466771){removeProfileBlock(_0x3b06fd,PROFILE_MARKER);}}catch{}try{for(const _0x9b2fa9 of getBashProfilesWindows()){removeProfileBlock(_0x9b2fa9,PROFILE_MARKER);}}catch{}try{const _0x50d785=_0x5b6e61(0x14d),_0x9cf3e5=_0x6b3290('powershell\x20-NoProfile\x20-Command\x20\x22'+_0x50d785+'\x22',{'encoding':_0x5b6e61(0x147),'stdio':[_0x5b6e61(0x114),'pipe',_0x5b6e61(0x16b)]})[_0x5b6e61(0x141)]();if(_0x9cf3e5[_0x5b6e61(0x139)](_0x5cdcb4)){const _0x5d0287=_0x9cf3e5[_0x5b6e61(0x126)](';')[_0x5b6e61(0x108)](_0x3060e0=>_0x3060e0[_0x5b6e61(0x141)]()[_0x5b6e61(0x177)]()!==_0x5cdcb4[_0x5b6e61(0x177)]())['join'](';'),_0x23748d=_0x5d0287[_0x5b6e61(0x182)](/'/g,'\x27\x27'),_0x525122=_0x5b6e61(0x165)+_0x23748d+_0x5b6e61(0x13e);_0x6b3290(_0x5b6e61(0x14a)+_0x525122+';\x20'+getBroadcastCommand()+'\x22',{'stdio':_0x5b6e61(0x16b)});}}catch{}}else{const _0x16bbde=os['homedir'](),_0x38111e=['.bashrc',_0x5b6e61(0x180),'.bash_profile',_0x5b6e61(0x163)];for(const _0x561b98 of _0x38111e){removeProfileBlock(path[_0x5b6e61(0x169)](_0x16bbde,_0x561b98),PROFILE_MARKER);}}if(fs['existsSync'](_0x5cdcb4)){const _0x47f307=fs[_0x5b6e61(0x137)](_0x5cdcb4);for(const _0x58d901 of _0x47f307){fs[_0x5b6e61(0x12c)](path['join'](_0x5cdcb4,_0x58d901));}fs[_0x5b6e61(0x16e)](_0x5cdcb4);}return{'success':!![],'message':_0x5b6e61(0x14e)};}catch(_0x34aec4){return{'success':![],'message':_0x5b6e61(0x159)+_0x34aec4['message']};}}
package/simulate.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x2d760a=a0_0x58fb;(function(_0x3e65a4,_0xb600c){const _0x52bb0e=a0_0x58fb,_0x58a8a1=_0x3e65a4();while(!![]){try{const _0xf66192=-parseInt(_0x52bb0e(0x140))/0x1*(-parseInt(_0x52bb0e(0x11b))/0x2)+parseInt(_0x52bb0e(0x14d))/0x3+parseInt(_0x52bb0e(0x12e))/0x4*(-parseInt(_0x52bb0e(0x146))/0x5)+-parseInt(_0x52bb0e(0x132))/0x6+-parseInt(_0x52bb0e(0x13d))/0x7+-parseInt(_0x52bb0e(0x135))/0x8+parseInt(_0x52bb0e(0x11c))/0x9;if(_0xf66192===_0xb600c)break;else _0x58a8a1['push'](_0x58a8a1['shift']());}catch(_0x1ebd0d){_0x58a8a1['push'](_0x58a8a1['shift']());}}}(a0_0x15f6,0x9ea40));Object[a0_0x2d760a(0x14f)](exports,a0_0x2d760a(0x151),{'value':!![]});const tracker_1=require('./tracker');console[a0_0x2d760a(0x122)](a0_0x2d760a(0x14c));function a0_0x58fb(_0x3210d4,_0x4216a4){_0x3210d4=_0x3210d4-0x11a;const _0x15f65a=a0_0x15f6();let _0x58fb72=_0x15f65a[_0x3210d4];return _0x58fb72;}function a0_0x15f6(){const _0x4ab76a=['\x20...\x20ok\x0atest\x20result:\x20ok.\x2045\x20passed;\x200\x20failed;\x200\x20ignored;\x200\x20measured;\x200\x20filtered\x20out','floor','pip\x20install\x20tensorflow\x20pandas\x20numpy','utf8','kubectl\x20get\x20pods\x20-n\x20production','path','commit\x20f6e5d4c3b2a1\x0aAuthor:\x20Developer\x20<dev@trimprompt.ai>\x0aDate:\x20\x20\x20Tue\x20Jun\x2016\x2013:30:00\x202026\x20+0300\x0a\x0a\x20\x20\x20\x20fix:\x20adjust\x20margins\x20on\x20visual\x20graph','writeFileSync','length','exitCode','upload:\x20dist/hub-index.html\x20to\x20s3://trimprompt-assets/hub-index.html\x0a','62stXhaU','13384341KmjvBt','upload:\x20dist/cli.js\x20to\x20s3://trimprompt-assets/cli.js\x0a','git\x20log:\x205\x20commits\x20(feat:\x20add\x20dynamic\x20token\x20costs,\x20fix:\x20adjust\x20margins...)','aws\x20s3\x20sync:\x203\x20assets\x20uploaded\x20successfully.','NAME\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20READY\x20\x20\x20STATUS\x20\x20\x20\x20RESTARTS\x20\x20\x20AGE\x0a','getLogs','log','comp','redis-master-0\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201/1\x20\x20\x20\x20\x20Running\x20\x20\x200\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2012d\x0a','Collecting\x20tensorflow\x0a\x20\x20Downloading\x20tensorflow-2.15.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl\x20(475.2\x20MB)\x0a','logExecution','stats.json','random','trimprompt-sync-324db87d1-p8q2e\x20\x20\x201/1\x20\x20\x20\x20\x20Running\x20\x20\x200\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204d\x0a','pip\x20install:\x20Successfully\x20installed\x20tensorflow-2.15.0\x20numpy-1.26.2\x20pandas-2.1.3','diff\x20--git\x20a/src/cli.ts\x20b/src/cli.ts\x20(50\x20insertions,\x200\x20deletions)','toISOString','gemini-1-5-flash','224956THBzjY','npm\x20warn\x20deprecated\x20uuid@3.4.0:\x20Please\x20upgrade...\x0a','workflow\x20simulation\x20complete!\x2012\x20additional\x20commands\x20logged.','found\x200\x20vulnerabilities\x0a','1663668FNvoHU','tracker','raw','1428536rrKCDO','trimprompt-api-567fdb7d6-x8w9q\x20\x20\x20\x201/1\x20\x20\x20\x20\x20Running\x20\x20\x200\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204d\x0a','claude-3-5-sonnet','Successfully\x20installed\x20tensorflow-2.15.0\x20numpy-1.26.2\x20pandas-2.1.3\x0a','join','test\x20tests::test_case_','npm\x20install:\x20added\x2084\x20packages,\x20audited\x2096\x20packages.\x200\x20vulnerabilities.','claude-3-opus','7725865TOAoQr','repeat','now','19227DKUhun','gpt-4o','Completed\x203\x20of\x203\x20assets\x20successfully.','src/tracker.ts:45:9\x20-\x20warning:\x20console.log\x20should\x20be\x20removed\x0a','aws\x20s3\x20sync\x20dist/\x20s3://trimprompt-assets','upload:\x20dist/index.html\x20to\x20s3://trimprompt-assets/index.html\x0a','70wJmfvw','stringify','npm\x20install\x20lodash\x20express\x20uuid\x20react','postgres-db-0\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201/1\x20\x20\x20\x20\x20Running\x20\x20\x200\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2012d\x0a','git\x20log\x20-n\x205','cmd','Starting\x20simulation\x20of\x20developer\x20workflow\x20activity...','2740476eIIIyx','git\x20diff\x20main','defineProperty','npm\x20run\x20lint:\x20✖\x202\x20warnings','__esModule','running\x2045\x20tests\x0atest\x20tests::db_connection\x20...\x20ok\x0atest\x20tests::auth_handler\x20...\x20ok\x0a','gpt-4o-mini'];a0_0x15f6=function(){return _0x4ab76a;};return a0_0x15f6();}const models=[a0_0x2d760a(0x137),a0_0x2d760a(0x141),a0_0x2d760a(0x153),'gemini-1-5-pro',a0_0x2d760a(0x12d),a0_0x2d760a(0x13c)],commands=[{'cmd':a0_0x2d760a(0x14e),'raw':'diff\x20--git\x20a/src/cli.ts\x20b/src/cli.ts\x0aindex\x201234..5678\x20100644\x0a---\x20a/src/cli.ts\x0a+++\x20b/src/cli.ts\x0a@@\x20-10,6\x20+10,12\x20@@\x0a+\x20//\x20Added\x20new\x20telemetry\x20features\x0a+\x20console.log(\x22Initializing\x20sync\x20daemon...\x22);\x0a+\x20startSync();\x0a'[a0_0x2d760a(0x13e)](0x32),'comp':a0_0x2d760a(0x12b),'exitCode':0x0},{'cmd':'cargo\x20test','raw':a0_0x2d760a(0x152)+a0_0x2d760a(0x13a)[a0_0x2d760a(0x13e)](0x28)+a0_0x2d760a(0x154),'comp':'cargo\x20test:\x2045\x20passed,\x200\x20failed.','exitCode':0x0},{'cmd':a0_0x2d760a(0x148),'raw':a0_0x2d760a(0x12f)+'added\x2084\x20packages,\x20changed\x2012\x20packages,\x20and\x20audited\x2096\x20packages\x20in\x203s\x0a'+a0_0x2d760a(0x131),'comp':a0_0x2d760a(0x13b),'exitCode':0x0},{'cmd':a0_0x2d760a(0x144),'raw':a0_0x2d760a(0x145)+a0_0x2d760a(0x11a)+a0_0x2d760a(0x11d)+a0_0x2d760a(0x142),'comp':a0_0x2d760a(0x11f),'exitCode':0x0},{'cmd':a0_0x2d760a(0x158),'raw':a0_0x2d760a(0x120)+a0_0x2d760a(0x136)+a0_0x2d760a(0x129)+a0_0x2d760a(0x124)+a0_0x2d760a(0x149),'comp':'kubectl\x20get\x20pods:\x20trimprompt-api\x20(Running),\x20trimprompt-sync\x20(Running),\x20redis-master\x20(Running),\x20postgres-db\x20(Running)','exitCode':0x0},{'cmd':a0_0x2d760a(0x156),'raw':a0_0x2d760a(0x125)+'\x20\x20Installing\x20build\x20dependencies\x20...\x20done\x0a'+a0_0x2d760a(0x138),'comp':a0_0x2d760a(0x12a),'exitCode':0x0},{'cmd':a0_0x2d760a(0x14a),'raw':'commit\x20a1b2c3d4e5f6\x0aAuthor:\x20Developer\x20<dev@trimprompt.ai>\x0aDate:\x20\x20\x20Tue\x20Jun\x2016\x2014:00:00\x202026\x20+0300\x0a\x0a\x20\x20\x20\x20feat:\x20add\x20dynamic\x20token\x20costs\x0a\x0a'+a0_0x2d760a(0x15a),'comp':a0_0x2d760a(0x11e),'exitCode':0x0},{'cmd':'npm\x20run\x20lint','raw':'src/cli.ts:12:3\x20-\x20warning:\x20unused\x20import\x0a'+a0_0x2d760a(0x143)+'✖\x202\x20problems\x20(0\x20errors,\x202\x20warnings)\x0a','comp':a0_0x2d760a(0x150),'exitCode':0x0}],startTime=Date[a0_0x2d760a(0x13f)]()-0x36ee80;for(let i=0x0;i<0xc;i++){const model=models[i%models[a0_0x2d760a(0x15c)]],commandItem=commands[Math[a0_0x2d760a(0x155)](Math[a0_0x2d760a(0x128)]()*commands[a0_0x2d760a(0x15c)])];process.env.TRIMPROMPT_MODEL=model;const timestamp=new Date(startTime+i*0x3d090)[a0_0x2d760a(0x12c)](),log=tracker_1[a0_0x2d760a(0x133)][a0_0x2d760a(0x126)](commandItem[a0_0x2d760a(0x14b)],commandItem[a0_0x2d760a(0x134)],commandItem[a0_0x2d760a(0x123)],commandItem[a0_0x2d760a(0x15d)]),logs=tracker_1['tracker'][a0_0x2d760a(0x121)]();logs[a0_0x2d760a(0x15c)]>0x0&&(logs[logs['length']-0x1]['timestamp']=timestamp,require('fs')[a0_0x2d760a(0x15b)](require(a0_0x2d760a(0x159))[a0_0x2d760a(0x139)](require('os')['homedir'](),'.trimprompt',a0_0x2d760a(0x127)),JSON[a0_0x2d760a(0x147)](logs,null,0x2),a0_0x2d760a(0x157)));}console[a0_0x2d760a(0x122)](a0_0x2d760a(0x130));
1
+ 'use strict';const a0_0x2a777f=a0_0x47dd;(function(_0x553981,_0x32ca12){const _0x33eb04=a0_0x47dd,_0x3dc43a=_0x553981();while(!![]){try{const _0x58cff1=parseInt(_0x33eb04(0x1ce))/0x1*(parseInt(_0x33eb04(0x1c3))/0x2)+parseInt(_0x33eb04(0x1e2))/0x3*(parseInt(_0x33eb04(0x1ef))/0x4)+-parseInt(_0x33eb04(0x1cd))/0x5+-parseInt(_0x33eb04(0x1e3))/0x6*(-parseInt(_0x33eb04(0x1f2))/0x7)+parseInt(_0x33eb04(0x1b5))/0x8*(-parseInt(_0x33eb04(0x1e7))/0x9)+parseInt(_0x33eb04(0x1ee))/0xa*(-parseInt(_0x33eb04(0x1b9))/0xb)+-parseInt(_0x33eb04(0x1d3))/0xc*(-parseInt(_0x33eb04(0x1c5))/0xd);if(_0x58cff1===_0x32ca12)break;else _0x3dc43a['push'](_0x3dc43a['shift']());}catch(_0x292c93){_0x3dc43a['push'](_0x3dc43a['shift']());}}}(a0_0x422b,0x81098));Object[a0_0x2a777f(0x1e8)](exports,'__esModule',{'value':!![]});const tracker_1=require(a0_0x2a777f(0x1bc));function a0_0x47dd(_0x5de5d2,_0x429ca9){_0x5de5d2=_0x5de5d2-0x1af;const _0x422ba7=a0_0x422b();let _0x47ddcf=_0x422ba7[_0x5de5d2];return _0x47ddcf;}console[a0_0x2a777f(0x1b0)](a0_0x2a777f(0x1c6));const models=[a0_0x2a777f(0x1d1),a0_0x2a777f(0x1de),a0_0x2a777f(0x1c7),a0_0x2a777f(0x1c8),a0_0x2a777f(0x1bf),'claude-3-opus'],commands=[{'cmd':a0_0x2a777f(0x1e5),'raw':a0_0x2a777f(0x1e0)[a0_0x2a777f(0x1d0)](0x32),'comp':a0_0x2a777f(0x1e4),'exitCode':0x0},{'cmd':a0_0x2a777f(0x1d5),'raw':a0_0x2a777f(0x1e1)+'test\x20tests::test_case_'['repeat'](0x28)+a0_0x2a777f(0x1bd),'comp':a0_0x2a777f(0x1f3),'exitCode':0x0},{'cmd':a0_0x2a777f(0x1d4),'raw':a0_0x2a777f(0x1c9)+a0_0x2a777f(0x1f4)+'found\x200\x20vulnerabilities\x0a','comp':a0_0x2a777f(0x1cc),'exitCode':0x0},{'cmd':a0_0x2a777f(0x1b1),'raw':'upload:\x20dist/index.html\x20to\x20s3://trimprompt-assets/index.html\x0a'+a0_0x2a777f(0x1da)+a0_0x2a777f(0x1dd)+'Completed\x203\x20of\x203\x20assets\x20successfully.','comp':a0_0x2a777f(0x1b3),'exitCode':0x0},{'cmd':a0_0x2a777f(0x1f5),'raw':a0_0x2a777f(0x1d9)+a0_0x2a777f(0x1c0)+'trimprompt-sync-324db87d1-p8q2e\x20\x20\x201/1\x20\x20\x20\x20\x20Running\x20\x20\x200\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204d\x0a'+a0_0x2a777f(0x1bb)+a0_0x2a777f(0x1df),'comp':a0_0x2a777f(0x1c2),'exitCode':0x0},{'cmd':a0_0x2a777f(0x1cf),'raw':'Collecting\x20tensorflow\x0a\x20\x20Downloading\x20tensorflow-2.15.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl\x20(475.2\x20MB)\x0a'+'\x20\x20Installing\x20build\x20dependencies\x20...\x20done\x0a'+a0_0x2a777f(0x1db),'comp':a0_0x2a777f(0x1c4),'exitCode':0x0},{'cmd':a0_0x2a777f(0x1e6),'raw':a0_0x2a777f(0x1ea)+a0_0x2a777f(0x1d8),'comp':'git\x20log:\x205\x20commits\x20(feat:\x20add\x20dynamic\x20token\x20costs,\x20fix:\x20adjust\x20margins...)','exitCode':0x0},{'cmd':'npm\x20run\x20lint','raw':'src/cli.ts:12:3\x20-\x20warning:\x20unused\x20import\x0a'+a0_0x2a777f(0x1dc)+'✖\x202\x20problems\x20(0\x20errors,\x202\x20warnings)\x0a','comp':a0_0x2a777f(0x1d6),'exitCode':0x0}],startTime=Date[a0_0x2a777f(0x1b4)]()-0x36ee80;function a0_0x422b(){const _0x51bbf3=['defineProperty','path','commit\x20a1b2c3d4e5f6\x0aAuthor:\x20Developer\x20<dev@trimprompt.ai>\x0aDate:\x20\x20\x20Tue\x20Jun\x2016\x2014:00:00\x202026\x20+0300\x0a\x0a\x20\x20\x20\x20feat:\x20add\x20dynamic\x20token\x20costs\x0a\x0a','workflow\x20simulation\x20complete!\x2012\x20additional\x20commands\x20logged.','toISOString','logExecution','3496960coyjZb','4VBedtn','join','cmd','518yYrlkd','cargo\x20test:\x2045\x20passed,\x200\x20failed.','added\x2084\x20packages,\x20changed\x2012\x20packages,\x20and\x20audited\x2096\x20packages\x20in\x203s\x0a','kubectl\x20get\x20pods\x20-n\x20production','length','log','aws\x20s3\x20sync\x20dist/\x20s3://trimprompt-assets','random','aws\x20s3\x20sync:\x203\x20assets\x20uploaded\x20successfully.','now','8JmsPra','tracker','stats.json','exitCode','33GnDfIP','raw','redis-master-0\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201/1\x20\x20\x20\x20\x20Running\x20\x20\x200\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2012d\x0a','./tracker','\x20...\x20ok\x0atest\x20result:\x20ok.\x2045\x20passed;\x200\x20failed;\x200\x20ignored;\x200\x20measured;\x200\x20filtered\x20out','homedir','gemini-1-5-flash','trimprompt-api-567fdb7d6-x8w9q\x20\x20\x20\x201/1\x20\x20\x20\x20\x20Running\x20\x20\x200\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204d\x0a','getLogs','kubectl\x20get\x20pods:\x20trimprompt-api\x20(Running),\x20trimprompt-sync\x20(Running),\x20redis-master\x20(Running),\x20postgres-db\x20(Running)','1336646hUBwio','pip\x20install:\x20Successfully\x20installed\x20tensorflow-2.15.0\x20numpy-1.26.2\x20pandas-2.1.3','130RbUpMq','Starting\x20simulation\x20of\x20developer\x20workflow\x20activity...','gpt-4o-mini','gemini-1-5-pro','npm\x20warn\x20deprecated\x20uuid@3.4.0:\x20Please\x20upgrade...\x0a','utf8','timestamp','npm\x20install:\x20added\x2084\x20packages,\x20audited\x2096\x20packages.\x200\x20vulnerabilities.','3521315vkwYMy','1OIMzZk','pip\x20install\x20tensorflow\x20pandas\x20numpy','repeat','claude-3-5-sonnet','comp','1637676ANREIL','npm\x20install\x20lodash\x20express\x20uuid\x20react','cargo\x20test','npm\x20run\x20lint:\x20✖\x202\x20warnings','floor','commit\x20f6e5d4c3b2a1\x0aAuthor:\x20Developer\x20<dev@trimprompt.ai>\x0aDate:\x20\x20\x20Tue\x20Jun\x2016\x2013:30:00\x202026\x20+0300\x0a\x0a\x20\x20\x20\x20fix:\x20adjust\x20margins\x20on\x20visual\x20graph','NAME\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20READY\x20\x20\x20STATUS\x20\x20\x20\x20RESTARTS\x20\x20\x20AGE\x0a','upload:\x20dist/hub-index.html\x20to\x20s3://trimprompt-assets/hub-index.html\x0a','Successfully\x20installed\x20tensorflow-2.15.0\x20numpy-1.26.2\x20pandas-2.1.3\x0a','src/tracker.ts:45:9\x20-\x20warning:\x20console.log\x20should\x20be\x20removed\x0a','upload:\x20dist/cli.js\x20to\x20s3://trimprompt-assets/cli.js\x0a','gpt-4o','postgres-db-0\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201/1\x20\x20\x20\x20\x20Running\x20\x20\x200\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2012d\x0a','diff\x20--git\x20a/src/cli.ts\x20b/src/cli.ts\x0aindex\x201234..5678\x20100644\x0a---\x20a/src/cli.ts\x0a+++\x20b/src/cli.ts\x0a@@\x20-10,6\x20+10,12\x20@@\x0a+\x20//\x20Added\x20new\x20telemetry\x20features\x0a+\x20console.log(\x22Initializing\x20sync\x20daemon...\x22);\x0a+\x20startSync();\x0a','running\x2045\x20tests\x0atest\x20tests::db_connection\x20...\x20ok\x0atest\x20tests::auth_handler\x20...\x20ok\x0a','1837149lMzLNE','28596FYkDcE','diff\x20--git\x20a/src/cli.ts\x20b/src/cli.ts\x20(50\x20insertions,\x200\x20deletions)','git\x20diff\x20main','git\x20log\x20-n\x205','6446097PIuthX'];a0_0x422b=function(){return _0x51bbf3;};return a0_0x422b();}for(let i=0x0;i<0xc;i++){const model=models[i%models[a0_0x2a777f(0x1af)]],commandItem=commands[Math[a0_0x2a777f(0x1d7)](Math[a0_0x2a777f(0x1b2)]()*commands['length'])];process.env.TRIMPROMPT_MODEL=model;const timestamp=new Date(startTime+i*0x3d090)[a0_0x2a777f(0x1ec)](),log=tracker_1[a0_0x2a777f(0x1b6)][a0_0x2a777f(0x1ed)](commandItem[a0_0x2a777f(0x1f1)],commandItem[a0_0x2a777f(0x1ba)],commandItem[a0_0x2a777f(0x1d2)],commandItem[a0_0x2a777f(0x1b8)]),logs=tracker_1[a0_0x2a777f(0x1b6)][a0_0x2a777f(0x1c1)]();logs[a0_0x2a777f(0x1af)]>0x0&&(logs[logs['length']-0x1][a0_0x2a777f(0x1cb)]=timestamp,require('fs')['writeFileSync'](require(a0_0x2a777f(0x1e9))[a0_0x2a777f(0x1f0)](require('os')[a0_0x2a777f(0x1be)](),'.trimprompt',a0_0x2a777f(0x1b7)),JSON['stringify'](logs,null,0x2),a0_0x2a777f(0x1ca)));}console['log'](a0_0x2a777f(0x1eb));