trimprompt 1.0.19 → 1.0.20

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_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');}
1
+ 'use strict';const a0_0x1fd557=a0_0x2f8a;(function(_0x35458b,_0x5cbf74){const _0x325113=a0_0x2f8a,_0x3f4fd3=_0x35458b();while(!![]){try{const _0x3db6b0=parseInt(_0x325113(0x150))/0x1*(parseInt(_0x325113(0x161))/0x2)+parseInt(_0x325113(0x14f))/0x3+-parseInt(_0x325113(0x160))/0x4*(-parseInt(_0x325113(0x14d))/0x5)+parseInt(_0x325113(0x152))/0x6+-parseInt(_0x325113(0x16d))/0x7+parseInt(_0x325113(0x15a))/0x8*(-parseInt(_0x325113(0x171))/0x9)+parseInt(_0x325113(0x172))/0xa;if(_0x3db6b0===_0x5cbf74)break;else _0x3f4fd3['push'](_0x3f4fd3['shift']());}catch(_0x559711){_0x3f4fd3['push'](_0x3f4fd3['shift']());}}}(a0_0x53fb,0xc4a87));function a0_0x53fb(){const _0x2e56b8=['Tests:','3898447CJkCnf','Test\x20Files:','join','\x20failed\x20(','160830ZXIUQY','510800Jcqtnr','Test\x20Runner:\x20','5cvrnuG','\x20total)','2862231ekwRBK','3BKnWUx','filterJestVitest','311628hIpOLA','slice','split','match','PASS','startsWith','length','all','368NwauNn','\x20\x20...\x20(','trim','NPM:\x20Packages\x20verified/installed\x20successfully','Test\x20Suites:','includes','2334104FGEMqO','362554bsemWI','FAIL\x20\x20','\x20lines\x20of\x20trace\x20details\x20truncated)','added\x20','\x20passed,\x20','audited\x20','\x20passed','replace','\x0aFailures:','__esModule','push'];a0_0x53fb=function(){return _0x2e56b8;};return a0_0x53fb();}function a0_0x2f8a(_0x374530,_0x4e728a){_0x374530=_0x374530-0x14c;const _0x53fb35=a0_0x53fb();let _0x2f8ad8=_0x53fb35[_0x374530];return _0x2f8ad8;}Object['defineProperty'](exports,a0_0x1fd557(0x16a),{'value':!![]}),exports['filterNpmInstall']=filterNpmInstall,exports[a0_0x1fd557(0x151)]=filterJestVitest;function filterNpmInstall(_0x41d3ae){const _0x516479=a0_0x1fd557,_0x264f37=_0x41d3ae[_0x516479(0x168)](/\r/g,'\x0a'),_0x829840=_0x264f37[_0x516479(0x154)]('\x0a'),_0x5c275c=[];for(const _0x237721 of _0x829840){const _0x3c2ed3=_0x237721[_0x516479(0x15c)]();(_0x3c2ed3[_0x516479(0x15f)](_0x516479(0x164))||_0x3c2ed3[_0x516479(0x15f)]('removed\x20')||_0x3c2ed3[_0x516479(0x15f)](_0x516479(0x166))||_0x3c2ed3[_0x516479(0x15f)]('up\x20to\x20date')||_0x3c2ed3[_0x516479(0x15f)]('found\x20'))&&(!_0x3c2ed3[_0x516479(0x15f)]('%')&&!_0x3c2ed3[_0x516479(0x157)]('⠋')&&!_0x3c2ed3[_0x516479(0x157)]('⠙')&&_0x5c275c[_0x516479(0x16b)](_0x3c2ed3));}const _0x4f3734=_0x5c275c['join']('\x0a')[_0x516479(0x15c)]();return _0x4f3734[_0x516479(0x158)]>0x0?_0x4f3734:_0x516479(0x15d);}function filterJestVitest(_0x28b610){const _0x36c820=a0_0x1fd557,_0xe67f2e=_0x28b610['split']('\x0a');let _0x430943=0x0,_0x475edd=0x0,_0x4a7879=0x0;const _0x4771a3=[];let _0x45c6f3=![];for(const _0x2943e2 of _0xe67f2e){const _0x22d9ba=_0x2943e2[_0x36c820(0x15c)]();if(_0x22d9ba[_0x36c820(0x157)]('Tests:')||_0x22d9ba[_0x36c820(0x15f)](_0x36c820(0x16e))){const _0x514b5f=_0x22d9ba[_0x36c820(0x155)](/(\d+)\s+passed/),_0x7e336f=_0x22d9ba[_0x36c820(0x155)](/(\d+)\s+failed/),_0x39f2be=_0x22d9ba[_0x36c820(0x155)](/(\d+)\s+total/);if(_0x514b5f)_0x430943=parseInt(_0x514b5f[0x1]);if(_0x7e336f)_0x475edd=parseInt(_0x7e336f[0x1]);if(_0x39f2be)_0x4a7879=parseInt(_0x39f2be[0x1]);continue;}(_0x22d9ba[_0x36c820(0x157)]('❯')||_0x22d9ba[_0x36c820(0x157)]('●')||_0x22d9ba['startsWith'](_0x36c820(0x162)))&&(_0x45c6f3=!![]),_0x45c6f3&&(_0x22d9ba[_0x36c820(0x158)]>0x0&&!_0x22d9ba[_0x36c820(0x157)](_0x36c820(0x15e))&&!_0x22d9ba[_0x36c820(0x157)](_0x36c820(0x16c))&&_0x4771a3[_0x36c820(0x16b)](_0x2943e2));}if(_0x4a7879===0x0&&_0x430943===0x0&&_0x475edd===0x0){if(_0x28b610['includes'](_0x36c820(0x156))&&!_0x28b610[_0x36c820(0x15f)]('FAIL')){const _0x146854=_0x28b610[_0x36c820(0x155)](/(\d+)\s+passed/),_0x2bd5f5=_0x146854?_0x146854[0x1]:_0x36c820(0x159);return _0x36c820(0x14c)+_0x2bd5f5+_0x36c820(0x167);}return _0x28b610;}if(_0x475edd===0x0&&_0x430943>0x0)return _0x36c820(0x14c)+_0x430943+_0x36c820(0x167);const _0x1507d7=[_0x36c820(0x14c)+_0x430943+_0x36c820(0x165)+_0x475edd+_0x36c820(0x170)+_0x4a7879+_0x36c820(0x14e)];if(_0x4771a3[_0x36c820(0x158)]>0x0){_0x1507d7[_0x36c820(0x16b)](_0x36c820(0x169));const _0x419dba=0x19,_0x5f3eae=_0x4771a3[_0x36c820(0x153)](0x0,_0x419dba);for(const _0x59e47e of _0x5f3eae){_0x1507d7[_0x36c820(0x16b)]('\x20\x20'+_0x59e47e);}_0x4771a3[_0x36c820(0x158)]>_0x419dba&&_0x1507d7[_0x36c820(0x16b)](_0x36c820(0x15b)+(_0x4771a3[_0x36c820(0x158)]-_0x419dba)+_0x36c820(0x163));}return _0x1507d7[_0x36c820(0x16f)]('\x0a');}
package/filters/python.js CHANGED
@@ -1 +1 @@
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)]();}
1
+ 'use strict';const a0_0xc8bf81=a0_0x58c4;(function(_0x539ca,_0x267ed7){const _0xb6fe9=a0_0x58c4,_0x497e31=_0x539ca();while(!![]){try{const _0x3a96e4=parseInt(_0xb6fe9(0x18d))/0x1+parseInt(_0xb6fe9(0x189))/0x2*(parseInt(_0xb6fe9(0x1ab))/0x3)+parseInt(_0xb6fe9(0x1af))/0x4*(-parseInt(_0xb6fe9(0x187))/0x5)+-parseInt(_0xb6fe9(0x18b))/0x6+parseInt(_0xb6fe9(0x18c))/0x7*(parseInt(_0xb6fe9(0x1ae))/0x8)+parseInt(_0xb6fe9(0x198))/0x9+-parseInt(_0xb6fe9(0x1b4))/0xa;if(_0x3a96e4===_0x267ed7)break;else _0x497e31['push'](_0x497e31['shift']());}catch(_0x19f7e6){_0x497e31['push'](_0x497e31['shift']());}}}(a0_0x348e,0x5d2a0));Object[a0_0xc8bf81(0x193)](exports,a0_0xc8bf81(0x1a4),{'value':!![]}),exports[a0_0xc8bf81(0x19f)]=filterPytest,exports['filterPipInstall']=filterPipInstall;function a0_0x348e(){const _0x1bb14c=['Successfully\x20installed','===\x20ERRORS\x20===','\x20\x20\x20\x20...\x20(','includes','2955uXcTrx','===\x20FAILURES\x20===','split','232XqsqAu','40wewjbh','===','Using\x20cached','slice','Downloading','3816410vSAZrS','failed','\x0aFailures:','307355UmkWrF','\x20more\x20failures\x20truncated','838TmcMsf','Collecting','1905408WNRtQq','96887yShOSI','683175kupmhN','\x20passed','\x20in\x20','length','match','Requirement\x20already\x20satisfied','defineProperty','push','startsWith','\x20skipped','filter','1784160qtYdfO','\x20\x20\x20\x20','trim','.\x20[FAIL]\x20','.py:','===\x20short\x20test\x20summary\x20info\x20===','___','filterPytest','replace','\x20xpassed\x20(warning!)','Pytest:\x20All\x20tests\x20passed','join','__esModule','\x20xfailed','Pytest:\x20'];a0_0x348e=function(){return _0x1bb14c;};return a0_0x348e();}function a0_0x58c4(_0x3aa4b1,_0x19aa35){_0x3aa4b1=_0x3aa4b1-0x185;const _0x348e2d=a0_0x348e();let _0x58c4b7=_0x348e2d[_0x3aa4b1];return _0x58c4b7;}function filterPytest(_0x9d068f){const _0x541df9=a0_0xc8bf81,_0x1f7e6a=_0x9d068f[_0x541df9(0x1ad)]('\x0a');let _0x50ebab=0x0,_0x24e83b=0x0,_0x281f7c=0x0,_0x27ebd5=0x0,_0x17ad6d=0x0;const _0xe7f50e=[];let _0x6328ad=[],_0x9010b2=![];for(const _0x6eaddc of _0x1f7e6a){const _0x377e1d=_0x6eaddc[_0x541df9(0x19a)]();if(_0x377e1d[_0x541df9(0x195)](_0x541df9(0x1ac))||_0x377e1d['startsWith'](_0x541df9(0x1a8))){_0x9010b2=!![];continue;}else(_0x377e1d[_0x541df9(0x195)](_0x541df9(0x19d))||_0x377e1d[_0x541df9(0x195)](_0x541df9(0x1b0))&&_0x377e1d[_0x541df9(0x1aa)]('passed'))&&(_0x9010b2=![],_0x6328ad['length']>0x0&&(_0xe7f50e[_0x541df9(0x194)](_0x6328ad),_0x6328ad=[]));if(_0x9010b2){if(_0x377e1d[_0x541df9(0x195)](_0x541df9(0x19e)))_0x6328ad[_0x541df9(0x190)]>0x0&&(_0xe7f50e[_0x541df9(0x194)](_0x6328ad),_0x6328ad=[]),_0x6328ad[_0x541df9(0x194)](_0x377e1d);else _0x377e1d['length']>0x0&&_0x6328ad[_0x541df9(0x194)](_0x6eaddc);continue;}if(_0x377e1d[_0x541df9(0x195)]('===')&&_0x377e1d[_0x541df9(0x1aa)](_0x541df9(0x18f))){const _0x258f0e=_0x377e1d[_0x541df9(0x191)](/(\d+)\s+passed/),_0x155bfb=_0x377e1d[_0x541df9(0x191)](/(\d+)\s+failed/),_0x338c0f=_0x377e1d[_0x541df9(0x191)](/(\d+)\s+skipped/),_0x598477=_0x377e1d[_0x541df9(0x191)](/(\d+)\s+xfailed/),_0x9ecf80=_0x377e1d[_0x541df9(0x191)](/(\d+)\s+xpassed/);if(_0x258f0e)_0x50ebab=parseInt(_0x258f0e[0x1]);if(_0x155bfb)_0x24e83b=parseInt(_0x155bfb[0x1]);if(_0x338c0f)_0x281f7c=parseInt(_0x338c0f[0x1]);if(_0x598477)_0x27ebd5=parseInt(_0x598477[0x1]);if(_0x9ecf80)_0x17ad6d=parseInt(_0x9ecf80[0x1]);}}_0x6328ad['length']>0x0&&_0xe7f50e['push'](_0x6328ad);if(_0x50ebab===0x0&&_0x24e83b===0x0&&_0x281f7c===0x0&&_0x27ebd5===0x0&&_0x17ad6d===0x0){if(_0x9d068f['includes']('passed')&&!_0x9d068f[_0x541df9(0x1aa)](_0x541df9(0x185)))return _0x541df9(0x1a2);return _0x9d068f;}if(_0x24e83b===0x0&&_0x50ebab>0x0&&_0x281f7c===0x0&&_0x27ebd5===0x0&&_0x17ad6d===0x0)return _0x541df9(0x1a6)+_0x50ebab+'\x20passed';const _0x33be53=[];_0x33be53['push'](_0x541df9(0x1a6)+_0x50ebab+_0x541df9(0x18e));if(_0x24e83b>0x0)_0x33be53[_0x541df9(0x194)](_0x24e83b+'\x20failed');if(_0x281f7c>0x0)_0x33be53['push'](_0x281f7c+_0x541df9(0x196));if(_0x27ebd5>0x0)_0x33be53[_0x541df9(0x194)](_0x27ebd5+_0x541df9(0x1a5));if(_0x17ad6d>0x0)_0x33be53['push'](_0x17ad6d+_0x541df9(0x1a1));const _0x2cf59b=[_0x33be53[_0x541df9(0x1a3)](',\x20')];if(_0xe7f50e[_0x541df9(0x190)]>0x0){_0x2cf59b[_0x541df9(0x194)](_0x541df9(0x186));const _0x48715c=0x3,_0x452cd8=_0xe7f50e[_0x541df9(0x1b2)](0x0,_0x48715c);for(let _0x5c699f=0x0;_0x5c699f<_0x452cd8[_0x541df9(0x190)];_0x5c699f++){const _0xfdd428=_0x452cd8[_0x5c699f],_0x6edf29=_0xfdd428[0x0][_0x541df9(0x1a0)](/_/g,'')['trim']();_0x2cf59b['push']('\x20\x20'+(_0x5c699f+0x1)+_0x541df9(0x19b)+_0x6edf29);const _0xda6baf=_0xfdd428[_0x541df9(0x1b2)](0x1),_0x23d0d5=_0xda6baf['filter'](_0x102b2a=>{const _0x18e041=_0x541df9,_0x41f9e5=_0x102b2a['trim']();return _0x41f9e5[_0x18e041(0x195)]('>')||_0x41f9e5[_0x18e041(0x195)]('E\x20\x20\x20')||_0x41f9e5[_0x18e041(0x1aa)](_0x18e041(0x19c))||_0x41f9e5[_0x18e041(0x1aa)]('AssertionError:');});for(const _0x57d3f7 of _0x23d0d5[_0x541df9(0x1b2)](0x0,0x8)){_0x2cf59b[_0x541df9(0x194)](_0x541df9(0x199)+_0x57d3f7);}_0x23d0d5[_0x541df9(0x190)]>0x8&&_0x2cf59b[_0x541df9(0x194)](_0x541df9(0x1a9)+(_0x23d0d5[_0x541df9(0x190)]-0x8)+'\x20lines\x20of\x20stacktrace\x20truncated)');}_0xe7f50e[_0x541df9(0x190)]>_0x48715c&&_0x2cf59b[_0x541df9(0x194)]('\x20\x20...\x20+'+(_0xe7f50e[_0x541df9(0x190)]-_0x48715c)+_0x541df9(0x188));}return _0x2cf59b[_0x541df9(0x1a3)]('\x0a');}function filterPipInstall(_0x1c2fd1){const _0x411261=a0_0xc8bf81,_0x3a005f=_0x1c2fd1['split']('\x0a'),_0x2a8b15=[];for(const _0x490c35 of _0x3a005f){const _0x487bd8=_0x490c35[_0x411261(0x19a)]();_0x487bd8['startsWith'](_0x411261(0x1a7))&&_0x2a8b15[_0x411261(0x194)](_0x487bd8);}if(_0x2a8b15[_0x411261(0x190)]>0x0)return _0x2a8b15[_0x411261(0x1a3)]('\x0a');return _0x3a005f[_0x411261(0x197)](_0x1c6df1=>{const _0x412446=_0x411261,_0x4ada28=_0x1c6df1[_0x412446(0x19a)]();return!_0x4ada28['startsWith'](_0x412446(0x18a))&&!_0x4ada28['startsWith'](_0x412446(0x1b3))&&!_0x4ada28[_0x412446(0x1aa)](_0x412446(0x1b1))&&!_0x4ada28[_0x412446(0x195)](_0x412446(0x192));})[_0x411261(0x1a3)]('\x0a')[_0x411261(0x19a)]();}
package/filters/rust.js CHANGED
@@ -1 +1 @@
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();}
1
+ 'use strict';const a0_0x2836bd=a0_0x51d9;function a0_0x14f7(){const _0x306b6a=['match','replace','\x20errors,\x20','panicked','right:','36197Bhtjwi','length','thread','test\x20result:','trim','join','\x20passed','\x20failed,\x20','__esModule','\x20\x20...\x20+','2697840IeVNPQ','\x20\x20\x20\x20','Cargo\x20test:\x20','\x20ignored','filterCargoBuild','\x20crates,\x20','error[','push','4676640WEShaV','1347518BwJnYs','warning:','Cargo\x20test:\x20all\x20tests\x20passed','\x20more\x20failures','20MLVqLS','endsWith','includes','left:','split','\x20----','failures:','1pPHjHQ','filter','Cargo:\x20compiled\x20','466119sbcRtg','slice','8440344KnTDUr','\x20more\x20errors','Compiling\x20','\x20warnings\x20—\x20run\x20cargo\x20clippy\x20for\x20details)','min','\x0aFailures:','624MhimBK','defineProperty','5720685YuSaHw','12GYMaeF','startsWith','\x20warnings'];a0_0x14f7=function(){return _0x306b6a;};return a0_0x14f7();}(function(_0x5c494d,_0x1c0c6f){const _0x34b71a=a0_0x51d9,_0x126cb9=_0x5c494d();while(!![]){try{const _0xc10858=-parseInt(_0x34b71a(0x19f))/0x1*(-parseInt(_0x34b71a(0x194))/0x2)+parseInt(_0x34b71a(0x1a2))/0x3*(parseInt(_0x34b71a(0x1ad))/0x4)+parseInt(_0x34b71a(0x1ac))/0x5+parseInt(_0x34b71a(0x193))/0x6+parseInt(_0x34b71a(0x181))/0x7*(-parseInt(_0x34b71a(0x1aa))/0x8)+-parseInt(_0x34b71a(0x18b))/0x9+-parseInt(_0x34b71a(0x198))/0xa*(parseInt(_0x34b71a(0x1a4))/0xb);if(_0xc10858===_0x1c0c6f)break;else _0x126cb9['push'](_0x126cb9['shift']());}catch(_0x2d6a9e){_0x126cb9['push'](_0x126cb9['shift']());}}}(a0_0x14f7,0xc9995));function a0_0x51d9(_0xd9f429,_0x1adf1f){_0xd9f429=_0xd9f429-0x17e;const _0x14f707=a0_0x14f7();let _0x51d962=_0x14f707[_0xd9f429];return _0x51d962;}Object[a0_0x2836bd(0x1ab)](exports,a0_0x2836bd(0x189),{'value':!![]}),exports['filterCargoTest']=filterCargoTest,exports[a0_0x2836bd(0x18f)]=filterCargoBuild;function filterCargoTest(_0x5196f1){const _0x430293=a0_0x2836bd,_0x484d98=_0x5196f1[_0x430293(0x19c)]('\x0a');let _0x50553b=0x0,_0x44dc1d=0x0,_0x55b098=0x0,_0x475211=0x0;const _0xc1ede3=[];let _0x667db2=![],_0x385960=[];for(const _0x22ffde of _0x484d98){const _0x2bf835=_0x22ffde['trim'](),_0x5c2712=_0x2bf835[_0x430293(0x1b0)](/test result:\s*(\w+)\.\s*(\d+)\s+passed;\s*(\d+)\s+failed;\s*(\d+)\s+ignored;\s*(\d+)\s+measured/);if(_0x5c2712){_0x50553b+=parseInt(_0x5c2712[0x2]),_0x44dc1d+=parseInt(_0x5c2712[0x3]),_0x55b098+=parseInt(_0x5c2712[0x4]),_0x475211+=parseInt(_0x5c2712[0x5]);continue;}if(_0x2bf835==='failures:'||_0x2bf835==='----\x20failures\x20----'){_0x667db2=!![];continue;}if(_0x667db2){if(_0x2bf835[_0x430293(0x1ae)]('----\x20')&&_0x2bf835[_0x430293(0x199)](_0x430293(0x19d))){if(_0x385960['length']>0x0)_0xc1ede3[_0x430293(0x192)](_0x385960[_0x430293(0x186)]('\x0a'));_0x385960=[_0x2bf835[_0x430293(0x1b1)](/^-+\s*/,'')['replace'](/\s*-+$/,'')];}else{if(_0x2bf835===_0x430293(0x19e)||_0x2bf835['startsWith'](_0x430293(0x184))){if(_0x385960['length']>0x0)_0xc1ede3[_0x430293(0x192)](_0x385960['join']('\x0a'));_0x385960=[],_0x667db2=![];}else _0x2bf835['length']>0x0&&_0x385960['push'](_0x22ffde);}}}if(_0x385960[_0x430293(0x182)]>0x0)_0xc1ede3[_0x430293(0x192)](_0x385960[_0x430293(0x186)]('\x0a'));if(_0x50553b===0x0&&_0x44dc1d===0x0&&_0x55b098===0x0){if(_0x5196f1[_0x430293(0x19a)]('test\x20result:\x20ok'))return _0x430293(0x196);return _0x5196f1;}if(_0x44dc1d===0x0){const _0xbbff0c=[_0x430293(0x18d)+_0x50553b+_0x430293(0x187)];if(_0x55b098>0x0)_0xbbff0c[_0x430293(0x192)](_0x55b098+_0x430293(0x18e));return _0xbbff0c[_0x430293(0x186)](',\x20');}const _0x3ed23b=[_0x430293(0x18d)+_0x50553b+'\x20passed,\x20'+_0x44dc1d+_0x430293(0x188)+_0x55b098+'\x20ignored'];if(_0xc1ede3[_0x430293(0x182)]>0x0){_0x3ed23b[_0x430293(0x192)](_0x430293(0x1a9));const _0x4cb0fd=0x3;for(let _0x82918f=0x0;_0x82918f<Math[_0x430293(0x1a8)](_0xc1ede3[_0x430293(0x182)],_0x4cb0fd);_0x82918f++){const _0x2a1e0d=_0xc1ede3[_0x82918f][_0x430293(0x19c)]('\x0a');_0x3ed23b[_0x430293(0x192)]('\x20\x20'+(_0x82918f+0x1)+'.\x20'+_0x2a1e0d[0x0]);const _0x3e02e3=_0x2a1e0d[_0x430293(0x1a3)](0x1),_0x1c4348=_0x3e02e3[_0x430293(0x1a0)](_0x418465=>_0x418465[_0x430293(0x185)]()['startsWith'](_0x430293(0x183))||_0x418465[_0x430293(0x19a)](_0x430293(0x17f))||_0x418465[_0x430293(0x19a)]('assert')||_0x418465[_0x430293(0x19a)](_0x430293(0x19b))||_0x418465[_0x430293(0x19a)](_0x430293(0x180)));for(const _0x259b5e of _0x1c4348[_0x430293(0x1a3)](0x0,0x5)){_0x3ed23b[_0x430293(0x192)](_0x430293(0x18c)+_0x259b5e[_0x430293(0x185)]());}}_0xc1ede3[_0x430293(0x182)]>_0x4cb0fd&&_0x3ed23b[_0x430293(0x192)](_0x430293(0x18a)+(_0xc1ede3['length']-_0x4cb0fd)+_0x430293(0x197));}return _0x3ed23b[_0x430293(0x186)]('\x0a');}function filterCargoBuild(_0x3ac9a8){const _0x3c36d5=a0_0x2836bd,_0xbf4efa=_0x3ac9a8[_0x3c36d5(0x19c)]('\x0a'),_0x431f1e=[],_0x9c4245=[];let _0x4f1d6e=0x0;for(const _0x22ea59 of _0xbf4efa){const _0x3ac58f=_0x22ea59[_0x3c36d5(0x185)]();if(_0x3ac58f['startsWith'](_0x3c36d5(0x1a6)))_0x4f1d6e++;else{if(_0x3ac58f['startsWith']('warning[')||_0x3ac58f[_0x3c36d5(0x1ae)](_0x3c36d5(0x195)))_0x431f1e[_0x3c36d5(0x192)](_0x3ac58f);else{if(_0x3ac58f[_0x3c36d5(0x1ae)](_0x3c36d5(0x191))||_0x3ac58f[_0x3c36d5(0x1ae)]('error:'))_0x9c4245['push'](_0x3ac58f);}}}if(_0x9c4245['length']===0x0&&_0x431f1e[_0x3c36d5(0x182)]===0x0)return _0x4f1d6e>0x0?_0x3c36d5(0x1a1)+_0x4f1d6e+'\x20crates\x20successfully':_0x3ac9a8['trim']();const _0x4a6464=[];if(_0x9c4245[_0x3c36d5(0x182)]>0x0){_0x4a6464[_0x3c36d5(0x192)]('Cargo:\x20'+_0x9c4245[_0x3c36d5(0x182)]+_0x3c36d5(0x17e)+_0x431f1e[_0x3c36d5(0x182)]+_0x3c36d5(0x1af)),_0x4a6464[_0x3c36d5(0x192)]('\x0aErrors:');for(const _0x2c715f of _0x9c4245[_0x3c36d5(0x1a3)](0x0,0x5))_0x4a6464['push']('\x20\x20'+_0x2c715f);if(_0x9c4245['length']>0x5)_0x4a6464['push'](_0x3c36d5(0x18a)+(_0x9c4245['length']-0x5)+_0x3c36d5(0x1a5));}else _0x4a6464[_0x3c36d5(0x192)]('Cargo:\x20compiled\x20'+_0x4f1d6e+_0x3c36d5(0x190)+_0x431f1e[_0x3c36d5(0x182)]+_0x3c36d5(0x1af));if(_0x431f1e[_0x3c36d5(0x182)]>0x0&&_0x431f1e[_0x3c36d5(0x182)]<=0x5){_0x4a6464[_0x3c36d5(0x192)]('\x0aWarnings:');for(const _0x11ade9 of _0x431f1e)_0x4a6464['push']('\x20\x20'+_0x11ade9);}else _0x431f1e[_0x3c36d5(0x182)]>0x5&&_0x4a6464[_0x3c36d5(0x192)]('\x0a('+_0x431f1e[_0x3c36d5(0x182)]+_0x3c36d5(0x1a7));return _0x4a6464['join']('\x0a');}
package/filters/shell.js CHANGED
@@ -1 +1 @@
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');}
1
+ 'use strict';const a0_0x2fc984=a0_0x2578;(function(_0x933ff9,_0x17ea80){const _0x1bf9fb=a0_0x2578,_0x8c3524=_0x933ff9();while(!![]){try{const _0x45d817=parseInt(_0x1bf9fb(0x116))/0x1+-parseInt(_0x1bf9fb(0x142))/0x2*(-parseInt(_0x1bf9fb(0xd9))/0x3)+-parseInt(_0x1bf9fb(0x107))/0x4*(parseInt(_0x1bf9fb(0xde))/0x5)+-parseInt(_0x1bf9fb(0xed))/0x6+parseInt(_0x1bf9fb(0x115))/0x7*(parseInt(_0x1bf9fb(0xff))/0x8)+-parseInt(_0x1bf9fb(0xfc))/0x9*(-parseInt(_0x1bf9fb(0x143))/0xa)+parseInt(_0x1bf9fb(0x103))/0xb;if(_0x45d817===_0x17ea80)break;else _0x8c3524['push'](_0x8c3524['shift']());}catch(_0x4d167b){_0x8c3524['push'](_0x8c3524['shift']());}}}(a0_0x5372,0x68002));function a0_0x2578(_0x29ebb9,_0x39676a){_0x29ebb9=_0x29ebb9-0xce;const _0x5372b0=a0_0x5372();let _0x257820=_0x5372b0[_0x29ebb9];return _0x257820;}var __createBinding=this&&this['__createBinding']||(Object['create']?function(_0x4ddc05,_0x34d4b3,_0x38afee,_0x5cc669){const _0x593c19=a0_0x2578;if(_0x5cc669===undefined)_0x5cc669=_0x38afee;var _0x110b3f=Object[_0x593c19(0xe5)](_0x34d4b3,_0x38afee);(!_0x110b3f||(_0x593c19(0xf5)in _0x110b3f?!_0x34d4b3[_0x593c19(0x11d)]:_0x110b3f[_0x593c19(0x13f)]||_0x110b3f['configurable']))&&(_0x110b3f={'enumerable':!![],'get':function(){return _0x34d4b3[_0x38afee];}}),Object[_0x593c19(0xee)](_0x4ddc05,_0x5cc669,_0x110b3f);}:function(_0x23ca4d,_0x3d2406,_0x2759b3,_0x31847d){if(_0x31847d===undefined)_0x31847d=_0x2759b3;_0x23ca4d[_0x31847d]=_0x3d2406[_0x2759b3];}),__setModuleDefault=this&&this[a0_0x2fc984(0xfb)]||(Object[a0_0x2fc984(0xdb)]?function(_0x3fad02,_0x4798be){const _0x3ca9e2=a0_0x2fc984;Object['defineProperty'](_0x3fad02,_0x3ca9e2(0x10b),{'enumerable':!![],'value':_0x4798be});}:function(_0x1c21e2,_0x4f7e1a){const _0x5879ed=a0_0x2fc984;_0x1c21e2[_0x5879ed(0x10b)]=_0x4f7e1a;}),__importStar=this&&this[a0_0x2fc984(0x108)]||(function(){var _0x4034d9=function(_0x530b2f){const _0x28025d=a0_0x2578;return _0x4034d9=Object[_0x28025d(0xe6)]||function(_0x5323fc){const _0xd8800e=_0x28025d;var _0x359ffe=[];for(var _0x3c7f47 in _0x5323fc)if(Object[_0xd8800e(0x140)][_0xd8800e(0xe7)][_0xd8800e(0x11b)](_0x5323fc,_0x3c7f47))_0x359ffe[_0x359ffe[_0xd8800e(0x13a)]]=_0x3c7f47;return _0x359ffe;},_0x4034d9(_0x530b2f);};return function(_0x229a05){const _0x1f6a68=a0_0x2578;if(_0x229a05&&_0x229a05[_0x1f6a68(0x11d)])return _0x229a05;var _0xe4dace={};if(_0x229a05!=null){for(var _0x1010d5=_0x4034d9(_0x229a05),_0xc8c3db=0x0;_0xc8c3db<_0x1010d5[_0x1f6a68(0x13a)];_0xc8c3db++)if(_0x1010d5[_0xc8c3db]!==_0x1f6a68(0x10b))__createBinding(_0xe4dace,_0x229a05,_0x1010d5[_0xc8c3db]);}return __setModuleDefault(_0xe4dace,_0x229a05),_0xe4dace;};}());Object[a0_0x2fc984(0xee)](exports,'__esModule',{'value':!![]}),exports['filterLs']=filterLs,exports[a0_0x2fc984(0x10d)]=filterTree,exports['filterCat']=filterCat,exports[a0_0x2fc984(0x106)]=filterGrep,exports[a0_0x2fc984(0xec)]=filterFind;const path=__importStar(require(a0_0x2fc984(0x11c))),LOCK_FILES=[a0_0x2fc984(0x141),a0_0x2fc984(0xf7),a0_0x2fc984(0x124),a0_0x2fc984(0xfe),'go.sum',a0_0x2fc984(0x125),a0_0x2fc984(0x12e),a0_0x2fc984(0x133),a0_0x2fc984(0x121)],BINARY_EXTENSIONS=[a0_0x2fc984(0xf1),a0_0x2fc984(0x137),a0_0x2fc984(0xcf),a0_0x2fc984(0x131),a0_0x2fc984(0xd7),a0_0x2fc984(0xe8),a0_0x2fc984(0xea),a0_0x2fc984(0xe4),a0_0x2fc984(0x111),'.bmp',a0_0x2fc984(0x112),a0_0x2fc984(0x10c),'.pdf',a0_0x2fc984(0xfa),a0_0x2fc984(0xd6),a0_0x2fc984(0x13b),a0_0x2fc984(0x11a),'.bz2',a0_0x2fc984(0x105),a0_0x2fc984(0x12c),a0_0x2fc984(0x100),'.dll',a0_0x2fc984(0xdc),a0_0x2fc984(0xdf),a0_0x2fc984(0x139),a0_0x2fc984(0xf6),a0_0x2fc984(0xe9),a0_0x2fc984(0x138),'.sqlite3',a0_0x2fc984(0x122),a0_0x2fc984(0x102),a0_0x2fc984(0x10f),a0_0x2fc984(0xd5),a0_0x2fc984(0xef),a0_0x2fc984(0xd8),a0_0x2fc984(0x10e),a0_0x2fc984(0x10a),a0_0x2fc984(0x101),a0_0x2fc984(0xd4),a0_0x2fc984(0x119),'.pyc',a0_0x2fc984(0x11e),a0_0x2fc984(0x132),'.o',a0_0x2fc984(0x12b)];function extractFilename(_0x224cb6){const _0xa54967=a0_0x2fc984,_0x517f13=_0x224cb6['trim']()[_0xa54967(0xf9)](/\s+/);for(let _0x7a0e73=0x1;_0x7a0e73<_0x517f13[_0xa54967(0x13a)];_0x7a0e73++){if(!_0x517f13[_0x7a0e73][_0xa54967(0x13c)]('-'))return _0x517f13[_0x7a0e73];}return null;}function filterLockFile(_0x33a83f,_0x444da0){const _0x231ee7=a0_0x2fc984;try{const _0x72f60b=path[_0x231ee7(0xf8)](_0x444da0)[_0x231ee7(0x136)]();if(!LOCK_FILES[_0x231ee7(0xf0)](_0x22f50e=>_0x72f60b===_0x22f50e[_0x231ee7(0x136)]()))return null;const _0x2ae9c6=_0x33a83f[_0x231ee7(0x13a)];let _0x369743=0x0;if(_0x72f60b===_0x231ee7(0x141))try{const _0x6651e8=JSON[_0x231ee7(0x109)](_0x33a83f);_0x369743=Object['keys'](_0x6651e8['packages']||_0x6651e8[_0x231ee7(0xd3)]||{})['length'];}catch{_0x369743=(_0x33a83f['match'](/"resolved":/g)||[])['length'];}else{if(_0x72f60b==='yarn.lock')_0x369743=(_0x33a83f[_0x231ee7(0x123)](/^"?[^#\s][^:]*:$/gm)||[])[_0x231ee7(0x13a)];else{if(_0x72f60b===_0x231ee7(0x13d)||_0x72f60b===_0x231ee7(0x125))_0x369743=(_0x33a83f[_0x231ee7(0x123)](/\[\[package\]\]/g)||[])[_0x231ee7(0x13a)];else{if(_0x72f60b==='go.sum')_0x369743=Math['floor'](_0x33a83f[_0x231ee7(0xf9)]('\x0a')['filter'](_0x8f5784=>_0x8f5784[_0x231ee7(0x12d)]())[_0x231ee7(0x13a)]/0x2);else{if(_0x72f60b==='composer.lock')try{_0x369743=JSON['parse'](_0x33a83f)['packages']?.[_0x231ee7(0x13a)]||0x0;}catch{}else _0x72f60b===_0x231ee7(0x124)?_0x369743=(_0x33a83f[_0x231ee7(0x123)](/^\s{2}['"@a-z]/gm)||[])['length']:_0x369743=_0x33a83f[_0x231ee7(0xf9)]('\x0a')[_0x231ee7(0x12f)](_0x1eb366=>_0x1eb366[_0x231ee7(0x12d)]())[_0x231ee7(0x13a)];}}}}return _0x231ee7(0x114)+path['basename'](_0x444da0)+':\x20'+_0x369743+'\x20dependencies,\x20'+_0x2ae9c6[_0x231ee7(0xe3)]()+_0x231ee7(0xf4);}catch{return null;}}function a0_0x5372(){const _0x3575fd=['includes','/\x20(','.obj','.rar','trim','composer.lock','filter','\x20\x20...\x20+','.wasm','.class','Gemfile.lock','push','\x20directories','toLowerCase','.min.css','.db','.bin','length','.tgz','startsWith','cargo.lock','[binary\x20file]\x20','writable','prototype','package-lock.json','125418rSoLOa','5260IvcvBj','\x20chars,\x20type:\x20','\x20chars\x20across\x20','.map','indexOf','\x20lines\x20truncated]\x20...\x0a','substring','dependencies','.mov','.eot','.tar.gz','.png','.mp3','12lecdmq',':\x20...\x20(','create','.so','\x20chars\x20(contains\x20null\x20bytes\x20—\x20binary\x20content\x20omitted)','75CKghcH','.dylib','...\x20+','join','charCodeAt','toLocaleString','.gif','getOwnPropertyDescriptor','getOwnPropertyNames','hasOwnProperty','.jpg','.sqlite','.jpeg','\x20matches\x20in\x20this\x20file)','filterFind','4476090yeOUGi','defineProperty','.otf','some','.min.js','\x20files)','slice','\x20chars\x20(content\x20omitted\x20—\x20lock\x20files\x20are\x20not\x20useful\x20for\x20LLM\x20context)','get','.dat','yarn.lock','basename','split','.zip','__setModuleDefault','13887lDNVzL','keys','Cargo.lock','80408FVezul','.exe','.avi','.woff2','4610485scqFHW','No\x20files\x20found','.7z','filterGrep','164508BjuwCZ','__importStar','parse','.wav','default','.svg','filterTree','.mp4','.ttf','total\x20','.ico','.webp','\x20more\x20matches','[lock\x20file]\x20','70NWxBSc','206807fjYkQP','[binary/minified\x20file]\x20','\x20directories,\x20','.webm','.gz','call','path','__esModule','.pyo','\x20matches\x20across\x20','No\x20matches\x20found','bun.lockb','.woff','match','pnpm-lock.yaml','poetry.lock','\x20more\x20directories','\x20lines\x20total)','\x20more\x20files\x20with\x20matches'];a0_0x5372=function(){return _0x3575fd;};return a0_0x5372();}function filterBinaryOrMinified(_0x925fbe,_0x413021){const _0x3c509e=a0_0x2fc984;try{if(_0x413021){const _0x2ca8eb=_0x413021[_0x3c509e(0x136)]();for(const _0x523f72 of BINARY_EXTENSIONS){if(_0x2ca8eb['endsWith'](_0x523f72))return _0x3c509e(0x117)+path[_0x3c509e(0xf8)](_0x413021)+',\x20'+_0x925fbe[_0x3c509e(0x13a)][_0x3c509e(0xe3)]()+_0x3c509e(0x144)+_0x523f72+'\x20(content\x20omitted\x20—\x20not\x20useful\x20for\x20LLM\x20context)';}}const _0x17264c=_0x925fbe[_0x3c509e(0xd2)](0x0,0x3e8);let _0x2fbada=0x0;for(let _0x44c8f3=0x0;_0x44c8f3<_0x17264c['length'];_0x44c8f3++){if(_0x17264c[_0x3c509e(0xe2)](_0x44c8f3)===0x0)_0x2fbada++;}if(_0x2fbada>0x0)return'[binary\x20file]\x20'+_0x925fbe['length'][_0x3c509e(0xe3)]()+_0x3c509e(0xdd);let _0x11cce6=0x0;for(let _0x3d9546=0x0;_0x3d9546<_0x17264c[_0x3c509e(0x13a)];_0x3d9546++){const _0x49de79=_0x17264c['charCodeAt'](_0x3d9546);if(_0x49de79<0x20&&_0x49de79!==0xa&&_0x49de79!==0xd&&_0x49de79!==0x9)_0x11cce6++;}if(_0x17264c[_0x3c509e(0x13a)]>0x64&&_0x11cce6>_0x17264c['length']*0.1)return _0x3c509e(0x13e)+_0x925fbe['length'][_0x3c509e(0xe3)]()+'\x20chars\x20(high\x20non-printable\x20ratio\x20—\x20content\x20omitted)';const _0x4ba6bc=_0x925fbe[_0x3c509e(0xf9)]('\x0a');if(_0x4ba6bc[_0x3c509e(0x13a)]<=0x3&&_0x925fbe['length']>0x1388)return'[minified\x20file]\x20'+_0x925fbe['length']['toLocaleString']()+_0x3c509e(0xce)+_0x4ba6bc['length']+'\x20line(s)\x20(content\x20omitted\x20—\x20not\x20human-readable)';return null;}catch{return null;}}function filterJsonMinify(_0x4f78e1){const _0x22bb5e=a0_0x2fc984;try{const _0x5ebfcd=_0x4f78e1[_0x22bb5e(0x12d)]();if(!_0x5ebfcd[_0x22bb5e(0x13c)]('{')&&!_0x5ebfcd[_0x22bb5e(0x13c)]('['))return null;const _0x495edf=_0x5ebfcd[_0x22bb5e(0xf9)]('\x0a');if(_0x495edf[_0x22bb5e(0x13a)]<=0x14)return null;const _0x1087db=JSON['parse'](_0x5ebfcd),_0xabaa1e=JSON['stringify'](_0x1087db);if(_0xabaa1e['length']<_0x5ebfcd[_0x22bb5e(0x13a)])return _0xabaa1e;return null;}catch{return null;}}function filterLs(_0x15b5c2){const _0x33ee12=a0_0x2fc984,_0x117998=_0x15b5c2[_0x33ee12(0xf9)]('\x0a')['filter'](_0xe026c=>_0xe026c[_0x33ee12(0x12d)]()[_0x33ee12(0x13a)]>0x0);if(_0x117998[_0x33ee12(0x13a)]===0x0)return'Empty\x20directory';if(_0x117998[_0x33ee12(0x13a)]<=0x1e)return _0x15b5c2[_0x33ee12(0x12d)]();const _0x220ecb=[],_0x2f4912=[];for(const _0xd64af6 of _0x117998){const _0x2d7c25=_0xd64af6['trim']();if(_0x2d7c25['startsWith'](_0x33ee12(0x110))||_0x2d7c25['startsWith']('d')&&_0x2d7c25[_0x33ee12(0x129)]('..'))continue;_0x2d7c25['endsWith']('/')||_0x2d7c25[_0x33ee12(0x13c)]('d')&&_0x2d7c25[_0x33ee12(0x129)]('\x20')?_0x220ecb[_0x33ee12(0x134)](_0x2d7c25):_0x2f4912['push'](_0x2d7c25);}const _0x2f18dd=[];return _0x220ecb[_0x33ee12(0x13a)]>0x0&&(_0x220ecb[_0x33ee12(0x13a)]<=0xf?_0x2f18dd[_0x33ee12(0x134)](..._0x220ecb):(_0x2f18dd[_0x33ee12(0x134)](..._0x220ecb[_0x33ee12(0xf3)](0x0,0xa)),_0x2f18dd[_0x33ee12(0x134)]('...\x20+'+(_0x220ecb['length']-0xa)+_0x33ee12(0x126)))),_0x2f4912[_0x33ee12(0x13a)]>0x0&&(_0x2f4912[_0x33ee12(0x13a)]<=0x14?_0x2f18dd[_0x33ee12(0x134)](..._0x2f4912):(_0x2f18dd[_0x33ee12(0x134)](..._0x2f4912[_0x33ee12(0xf3)](0x0,0xf)),_0x2f18dd[_0x33ee12(0x134)](_0x33ee12(0xe0)+(_0x2f4912[_0x33ee12(0x13a)]-0xf)+'\x20more\x20files'))),_0x2f18dd[_0x33ee12(0x134)]('\x0a('+_0x220ecb[_0x33ee12(0x13a)]+_0x33ee12(0x118)+_0x2f4912[_0x33ee12(0x13a)]+_0x33ee12(0xf2)),_0x2f18dd[_0x33ee12(0xe1)]('\x0a');}function filterTree(_0x39dc98){const _0x4e7232=a0_0x2fc984,_0x595d07=_0x39dc98[_0x4e7232(0xf9)]('\x0a');if(_0x595d07[_0x4e7232(0x13a)]<=0x32)return _0x39dc98[_0x4e7232(0x12d)]();const _0x558365=[];let _0x3d3dd0=0x0,_0x18430b=0x0,_0x11f1c7=0x0;for(const _0x3952e0 of _0x595d07){const _0x27397c=_0x3952e0['match'](/(\d+)\s+director/),_0x5269d3=_0x3952e0[_0x4e7232(0x123)](/(\d+)\s+file/);if(_0x27397c)_0x11f1c7=parseInt(_0x27397c[0x1]);if(_0x5269d3)_0x18430b=parseInt(_0x5269d3[0x1]);const _0x317f84=(_0x3952e0[_0x4e7232(0x123)](/^[│├└\s─]+/)||[''])[0x0][_0x4e7232(0x13a)];_0x317f84<=0x4&&(_0x558365['push'](_0x3952e0),_0x3d3dd0++);}return _0x595d07[_0x4e7232(0x13a)]>_0x558365['length']&&_0x558365['push']('\x0a...\x20('+_0x11f1c7+_0x4e7232(0x118)+_0x18430b+'\x20files\x20total\x20—\x20deep\x20entries\x20truncated)'),_0x558365[_0x4e7232(0xe1)]('\x0a');}function filterCat(_0x5ee372,_0x3a3b21=''){const _0x4f8b15=a0_0x2fc984,_0x1da7dd=extractFilename(_0x3a3b21);try{if(_0x1da7dd){const _0x319c7d=filterLockFile(_0x5ee372,_0x1da7dd);if(_0x319c7d)return _0x319c7d;}const _0x581abe=filterBinaryOrMinified(_0x5ee372,_0x1da7dd);if(_0x581abe)return _0x581abe;const _0x65ce52=filterJsonMinify(_0x5ee372);if(_0x65ce52)return _0x65ce52;}catch{}const _0x151099=_0x5ee372[_0x4f8b15(0xf9)]('\x0a');if(_0x151099['length']<=0x64)return _0x5ee372;const _0x3ab214=[];return _0x3ab214[_0x4f8b15(0x134)](..._0x151099[_0x4f8b15(0xf3)](0x0,0x32)),_0x3ab214[_0x4f8b15(0x134)]('\x0a...\x20['+(_0x151099[_0x4f8b15(0x13a)]-0x50)+_0x4f8b15(0xd1)),_0x3ab214[_0x4f8b15(0x134)](..._0x151099[_0x4f8b15(0xf3)](-0x1e)),_0x3ab214[_0x4f8b15(0x134)]('\x0a('+_0x151099[_0x4f8b15(0x13a)]+_0x4f8b15(0x127)),_0x3ab214[_0x4f8b15(0xe1)]('\x0a');}function filterGrep(_0x45ec78){const _0x4761b5=a0_0x2fc984,_0x63ef77=_0x45ec78['split']('\x0a')[_0x4761b5(0x12f)](_0x4636a3=>_0x4636a3[_0x4761b5(0x12d)]()[_0x4761b5(0x13a)]>0x0);if(_0x63ef77[_0x4761b5(0x13a)]===0x0)return _0x4761b5(0x120);if(_0x63ef77[_0x4761b5(0x13a)]<=0x32)return _0x45ec78[_0x4761b5(0x12d)]();const _0x1bd79b={},_0x2f8c0d=[];for(const _0x5031b4 of _0x63ef77){const _0x176b59=_0x5031b4[_0x4761b5(0xd0)](':');if(_0x176b59>0x0&&_0x176b59<0xc8){const _0x254cb9=_0x5031b4[_0x4761b5(0xd2)](0x0,_0x176b59);if(_0x254cb9['includes']('/')||_0x254cb9[_0x4761b5(0x129)]('\x5c')||_0x254cb9[_0x4761b5(0x129)]('.')){if(!_0x1bd79b[_0x254cb9])_0x1bd79b[_0x254cb9]=[];_0x1bd79b[_0x254cb9][_0x4761b5(0x134)](_0x5031b4[_0x4761b5(0xd2)](_0x176b59+0x1)['trim']());continue;}}_0x2f8c0d[_0x4761b5(0x134)](_0x5031b4);}const _0x5d343e=[],_0x19d0c8=Object[_0x4761b5(0xfd)](_0x1bd79b);if(_0x19d0c8[_0x4761b5(0x13a)]>0x0){const _0x11082d=0x14,_0x2a6a3b=_0x19d0c8['slice'](0x0,_0x11082d);for(const _0x295a8b of _0x2a6a3b){const _0x1f464b=_0x1bd79b[_0x295a8b];if(_0x1f464b[_0x4761b5(0x13a)]<=0x3)for(const _0x1ed0e4 of _0x1f464b){_0x5d343e[_0x4761b5(0x134)](_0x295a8b+':\x20'+_0x1ed0e4);}else _0x5d343e[_0x4761b5(0x134)](_0x295a8b+':\x20'+_0x1f464b[0x0]),_0x5d343e['push'](_0x295a8b+_0x4761b5(0xda)+_0x1f464b[_0x4761b5(0x13a)]+_0x4761b5(0xeb));}_0x19d0c8[_0x4761b5(0x13a)]>_0x11082d&&_0x5d343e[_0x4761b5(0x134)]('...\x20+'+(_0x19d0c8[_0x4761b5(0x13a)]-_0x11082d)+_0x4761b5(0x128));}if(_0x2f8c0d['length']>0x0){const _0x1007a6=0x1e;_0x5d343e[_0x4761b5(0x134)](..._0x2f8c0d[_0x4761b5(0xf3)](0x0,_0x1007a6)),_0x2f8c0d[_0x4761b5(0x13a)]>_0x1007a6&&_0x5d343e[_0x4761b5(0x134)](_0x4761b5(0xe0)+(_0x2f8c0d[_0x4761b5(0x13a)]-_0x1007a6)+_0x4761b5(0x113));}const _0x196221=_0x63ef77[_0x4761b5(0x13a)];return _0x5d343e['push']('\x0a('+_0x196221+_0x4761b5(0x11f)+(_0x19d0c8[_0x4761b5(0x13a)]||'?')+_0x4761b5(0xf2)),_0x5d343e[_0x4761b5(0xe1)]('\x0a');}function filterFind(_0x233dc8){const _0xb4d383=a0_0x2fc984,_0x5e863c=_0x233dc8[_0xb4d383(0xf9)]('\x0a')[_0xb4d383(0x12f)](_0x23ce28=>_0x23ce28[_0xb4d383(0x12d)]()[_0xb4d383(0x13a)]>0x0);if(_0x5e863c[_0xb4d383(0x13a)]===0x0)return _0xb4d383(0x104);if(_0x5e863c[_0xb4d383(0x13a)]<=0x32)return _0x233dc8[_0xb4d383(0x12d)]();const _0x1307c6={};for(const _0x174b84 of _0x5e863c){const _0x36bdc6=path['dirname'](_0x174b84[_0xb4d383(0x12d)]())||'.';_0x1307c6[_0x36bdc6]=(_0x1307c6[_0x36bdc6]||0x0)+0x1;}const _0xfd7c70=Object['entries'](_0x1307c6)['sort']((_0x701cc3,_0x42d011)=>_0x42d011[0x1]-_0x701cc3[0x1]),_0x22a93b=[_0x5e863c['length']+'\x20files\x20found\x20across\x20'+_0xfd7c70[_0xb4d383(0x13a)]+_0xb4d383(0x135),''],_0x2de1cd=0x1e;for(const [_0x31175a,_0x420e27]of _0xfd7c70[_0xb4d383(0xf3)](0x0,_0x2de1cd)){_0x22a93b[_0xb4d383(0x134)]('\x20\x20'+_0x31175a+_0xb4d383(0x12a)+_0x420e27+_0xb4d383(0xf2));}return _0xfd7c70['length']>_0x2de1cd&&_0x22a93b[_0xb4d383(0x134)](_0xb4d383(0x130)+(_0xfd7c70[_0xb4d383(0x13a)]-_0x2de1cd)+_0xb4d383(0x126)),_0x22a93b[_0xb4d383(0xe1)]('\x0a');}
package/mcp.js CHANGED
@@ -1 +1 @@
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);});}
1
+ 'use strict';const a0_0xc6fde3=a0_0x42a7;(function(_0x5af09b,_0x251305){const _0x1e54e3=a0_0x42a7,_0x40635b=_0x5af09b();while(!![]){try{const _0x3dde20=-parseInt(_0x1e54e3(0x14e))/0x1+-parseInt(_0x1e54e3(0x123))/0x2*(-parseInt(_0x1e54e3(0x153))/0x3)+-parseInt(_0x1e54e3(0x131))/0x4+-parseInt(_0x1e54e3(0x144))/0x5+-parseInt(_0x1e54e3(0x13c))/0x6*(-parseInt(_0x1e54e3(0x12c))/0x7)+-parseInt(_0x1e54e3(0x14b))/0x8*(parseInt(_0x1e54e3(0x137))/0x9)+parseInt(_0x1e54e3(0x124))/0xa;if(_0x3dde20===_0x251305)break;else _0x40635b['push'](_0x40635b['shift']());}catch(_0x113a91){_0x40635b['push'](_0x40635b['shift']());}}}(a0_0x1e90,0xebab0));var __createBinding=this&&this[a0_0xc6fde3(0x142)]||(Object['create']?function(_0x55551c,_0x336599,_0x1d7e8f,_0x40fc5f){const _0x4f333b=a0_0xc6fde3;if(_0x40fc5f===undefined)_0x40fc5f=_0x1d7e8f;var _0xfa0040=Object[_0x4f333b(0x14c)](_0x336599,_0x1d7e8f);(!_0xfa0040||(_0x4f333b(0x12b)in _0xfa0040?!_0x336599[_0x4f333b(0x14f)]:_0xfa0040['writable']||_0xfa0040[_0x4f333b(0x146)]))&&(_0xfa0040={'enumerable':!![],'get':function(){return _0x336599[_0x1d7e8f];}}),Object[_0x4f333b(0x145)](_0x55551c,_0x40fc5f,_0xfa0040);}:function(_0x489b2a,_0x15f15e,_0x278c4e,_0x5c80f3){if(_0x5c80f3===undefined)_0x5c80f3=_0x278c4e;_0x489b2a[_0x5c80f3]=_0x15f15e[_0x278c4e];}),__setModuleDefault=this&&this[a0_0xc6fde3(0x129)]||(Object[a0_0xc6fde3(0x13a)]?function(_0xa864d1,_0x1a4960){const _0x24f672=a0_0xc6fde3;Object[_0x24f672(0x145)](_0xa864d1,'default',{'enumerable':!![],'value':_0x1a4960});}:function(_0x1e784f,_0x530efe){const _0x1e57c2=a0_0xc6fde3;_0x1e784f[_0x1e57c2(0x14d)]=_0x530efe;}),__importStar=this&&this['__importStar']||(function(){var _0xa29c3f=function(_0x26850f){return _0xa29c3f=Object['getOwnPropertyNames']||function(_0x21155e){const _0x28dc45=a0_0x42a7;var _0x59ee13=[];for(var _0x380f41 in _0x21155e)if(Object['prototype'][_0x28dc45(0x12f)][_0x28dc45(0x152)](_0x21155e,_0x380f41))_0x59ee13[_0x59ee13['length']]=_0x380f41;return _0x59ee13;},_0xa29c3f(_0x26850f);};return function(_0x5a547f){const _0x1bcc87=a0_0x42a7;if(_0x5a547f&&_0x5a547f[_0x1bcc87(0x14f)])return _0x5a547f;var _0x138d17={};if(_0x5a547f!=null){for(var _0x56f851=_0xa29c3f(_0x5a547f),_0x57f55c=0x0;_0x57f55c<_0x56f851[_0x1bcc87(0x12d)];_0x57f55c++)if(_0x56f851[_0x57f55c]!==_0x1bcc87(0x14d))__createBinding(_0x138d17,_0x5a547f,_0x56f851[_0x57f55c]);}return __setModuleDefault(_0x138d17,_0x5a547f),_0x138d17;};}());Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['runMcpProxy']=runMcpProxy;const child_process_1=require(a0_0xc6fde3(0x147)),readline=__importStar(require(a0_0xc6fde3(0x126))),filters_1=require(a0_0xc6fde3(0x141)),tracker_1=require(a0_0xc6fde3(0x127));function a0_0x42a7(_0x4b777e,_0x12eec9){_0x4b777e=_0x4b777e-0x123;const _0x1e90aa=a0_0x1e90();let _0x42a723=_0x1e90aa[_0x4b777e];return _0x42a723;}function runMcpProxy(_0x30b962,_0xca42fa){const _0xdc2c5d=a0_0xc6fde3,_0x2dc95f=(0x0,child_process_1[_0xdc2c5d(0x13e)])(_0x30b962,_0xca42fa,{'stdio':['pipe',_0xdc2c5d(0x139),_0xdc2c5d(0x134)]});process[_0xdc2c5d(0x128)][_0xdc2c5d(0x139)](_0x2dc95f[_0xdc2c5d(0x128)]);const _0x25b338=readline[_0xdc2c5d(0x148)]({'input':_0x2dc95f[_0xdc2c5d(0x158)],'terminal':![]});_0x25b338['on'](_0xdc2c5d(0x150),_0x46c9db=>{const _0x52df84=_0xdc2c5d;try{const _0x5b4432=JSON[_0x52df84(0x138)](_0x46c9db);if(_0x5b4432&&_0x5b4432['jsonrpc']===_0x52df84(0x159)&&_0x5b4432['id']!==undefined&&_0x5b4432[_0x52df84(0x13d)]&&Array[_0x52df84(0x136)](_0x5b4432[_0x52df84(0x13d)][_0x52df84(0x130)])){let _0x142d5c=![];for(const _0x3a792c of _0x5b4432[_0x52df84(0x13d)][_0x52df84(0x130)]){if(_0x3a792c[_0x52df84(0x155)]===_0x52df84(0x12e)&&typeof _0x3a792c[_0x52df84(0x12e)]===_0x52df84(0x14a)&&_0x3a792c[_0x52df84(0x12e)][_0x52df84(0x157)]()[_0x52df84(0x12d)]>0x0){const _0x38d3da=_0x3a792c[_0x52df84(0x12e)],_0x4ed233=(0x0,filters_1[_0x52df84(0x135)])(_0x52df84(0x154),_0x38d3da,'',tracker_1['tracker'][_0x52df84(0x156)]()[_0x52df84(0x125)]);tracker_1['tracker'][_0x52df84(0x133)](_0x52df84(0x132)+_0x5b4432['id']+')',_0x38d3da,_0x4ed233,0x0),_0x3a792c[_0x52df84(0x12e)]=_0x4ed233,_0x142d5c=!![];}}_0x142d5c?process[_0x52df84(0x158)]['write'](JSON[_0x52df84(0x151)](_0x5b4432)+'\x0a'):process[_0x52df84(0x158)][_0x52df84(0x13b)](_0x46c9db+'\x0a');}else process['stdout']['write'](_0x46c9db+'\x0a');}catch{process['stdout'][_0x52df84(0x13b)](_0x46c9db+'\x0a');}}),_0x2dc95f['on'](_0xdc2c5d(0x149),_0x24d8b6=>{const _0x59cbb4=_0xdc2c5d;process[_0x59cbb4(0x143)](_0x24d8b6||0x0);}),_0x2dc95f['on'](_0xdc2c5d(0x12a),_0x1dc36b=>{const _0x13e199=_0xdc2c5d;console[_0x13e199(0x12a)](_0x13e199(0x13f)+_0x1dc36b[_0x13e199(0x140)]),process[_0x13e199(0x143)](0x1);});}function a0_0x1e90(){const _0x2bab8f=['redaction_enabled','readline','./tracker','stdin','__setModuleDefault','error','get','183806BbVUqB','length','text','hasOwnProperty','content','1247180ZEccoS','mcp\x20tool\x20(id:\x20','logExecution','inherit','compressOutput','isArray','63uRiJfW','parse','pipe','create','write','342yivMfF','result','spawn','[TrimPrompt]\x20MCP\x20Server\x20Spawn\x20Error:\x20','message','./filters','__createBinding','exit','6523895uvVobC','defineProperty','configurable','child_process','createInterface','close','string','327864OWLhMT','getOwnPropertyDescriptor','default','972264bNDecZ','__esModule','line','stringify','call','879NOXRaV','mcp-tool-call','type','getConfig','trim','stdout','2.0','12782sTmRVY','4717460LcBuJM'];a0_0x1e90=function(){return _0x2bab8f;};return a0_0x1e90();}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "trimprompt",
3
- "version": "1.0.19",
4
- "description": "TrimPrompt.ai Client CLI & Local Developer Dashboard",
3
+ "version": "1.0.20",
4
+ "description": "TrimPrompt — Save 80% on LLM tokens. Zero-config CLI proxy for AI coding agents",
5
5
  "main": "cli.js",
6
6
  "bin": {
7
7
  "trim": "cli.js"
package/redactor.js CHANGED
@@ -1 +1 @@
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();
1
+ 'use strict';const a0_0x390c48=a0_0x33f5;(function(_0x1f73b9,_0xd5537a){const _0x289969=a0_0x33f5,_0x577b8b=_0x1f73b9();while(!![]){try{const _0x307613=-parseInt(_0x289969(0x1ad))/0x1*(-parseInt(_0x289969(0x1b3))/0x2)+parseInt(_0x289969(0x1b4))/0x3+-parseInt(_0x289969(0x199))/0x4+parseInt(_0x289969(0x197))/0x5+-parseInt(_0x289969(0x1a8))/0x6+parseInt(_0x289969(0x1b2))/0x7*(-parseInt(_0x289969(0x1c8))/0x8)+parseInt(_0x289969(0x1b6))/0x9;if(_0x307613===_0xd5537a)break;else _0x577b8b['push'](_0x577b8b['shift']());}catch(_0x5581af){_0x577b8b['push'](_0x577b8b['shift']());}}}(a0_0x26b0,0xe9f44));Object['defineProperty'](exports,a0_0x390c48(0x1b8),{'value':!![]}),exports[a0_0x390c48(0x19e)]=exports[a0_0x390c48(0x19f)]=void 0x0;function a0_0x33f5(_0x1aafb6,_0x344a1b){_0x1aafb6=_0x1aafb6-0x197;const _0x26b025=a0_0x26b0();let _0x33f5a6=_0x26b025[_0x1aafb6];return _0x33f5a6;}function a0_0x26b0(){const _0x16beb8=['redactor','Redactor','bearer','\x22private_key\x22:\x20\x22[REDACTED_GCP_PRIVATE_KEY]\x22','jwt','[REDACTED_SENDGRID_KEY]','includes','[REDACTED_AZURE_CONNECTION]','aws_secret','match','8065944riIcBN','IPv4\x20Address\x20(non-local)','Generic\x20API\x20Key/Secret/Password','db_connection','GitHub\x20Token','1166653NZDyrs','text','email','rules','Basic\x20[REDACTED_AUTH]','4694242HemLzR','2LPEeXm','3358026LfMaok','redactWithAudit','8547669mXwCVM','[REDACTED_IP]','__esModule','azure_conn','regex','Private\x20Key\x20Block','OpenAI\x20API\x20Key','loadDefaultRules','type','replace','[REDACTED_AWS_KEY]','length','[REDACTED_DB_CONNECTION]','stripe_key','redact','[REDACTED_SLACK_TOKEN]','Basic\x20Auth','Anthropic\x20API\x20Key','16znETEX','Azure\x20Connection\x20String','alert','[REDACTED_TWILIO_KEY]','Twilio\x20Key','replacement','ip_address','gcp_key','Bearer\x20Token','$1=[REDACTED_AWS_SECRET]','Bearer\x20[REDACTED_TOKEN]','2712695rNjKDJ','AWS\x20Secret\x20Key','537852DIDQhs','push','generic_credential','Database\x20Connection\x20String','Stripe\x20Key'];a0_0x26b0=function(){return _0x16beb8;};return a0_0x26b0();}class Redactor{[a0_0x390c48(0x1b0)]=[];constructor(){const _0x24085e=a0_0x390c48;this[_0x24085e(0x1bd)]();}['loadDefaultRules'](){const _0xf18596=a0_0x390c48;this[_0xf18596(0x1b0)]=[{'name':'AWS\x20Access\x20Key','type':'aws_key','regex':/\b(AKIA[0-9A-Z]{16})\b/g,'replacement':_0xf18596(0x1c0)},{'name':_0xf18596(0x198),'type':_0xf18596(0x1a6),'regex':/(aws_secret_access_key|AWS_SECRET_ACCESS_KEY)[\s:=]+[A-Za-z0-9/+=]{30,}/gi,'replacement':_0xf18596(0x1d1)},{'name':'GCP\x20Service\x20Account\x20Key','type':_0xf18596(0x1cf),'regex':/"private_key"\s*:\s*"-----BEGIN[^"]+-----END[^"]*"/g,'replacement':_0xf18596(0x1a1)},{'name':_0xf18596(0x1c9),'type':_0xf18596(0x1b9),'regex':/DefaultEndpointsProtocol=https?;AccountName=[^;]+;AccountKey=[^;]+;?[^\s]*/gi,'replacement':_0xf18596(0x1a5)},{'name':_0xf18596(0x1c7),'type':'anthropic_key','regex':/\bsk-ant-api\d{2}-[A-Za-z0-9_-]{20,}\b/g,'replacement':'[REDACTED_ANTHROPIC_KEY]'},{'name':_0xf18596(0x1bc),'type':'openai_key','regex':/\b(sk-proj-[A-Za-z0-9_-]{20,}|sk-[A-Za-z0-9]{32,})\b/g,'replacement':'[REDACTED_OPENAI_KEY]'},{'name':_0xf18596(0x1ac),'type':'github_token','regex':/\b(ghp_[A-Za-z0-9]{20,}|gho_[A-Za-z0-9]{20,}|github_pat_[A-Za-z0-9_]{22,})\b/g,'replacement':'[REDACTED_GITHUB_TOKEN]'},{'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':_0xf18596(0x1c5)},{'name':_0xf18596(0x19d),'type':_0xf18596(0x1c3),'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':_0xf18596(0x1cc),'type':'twilio_key','regex':/\bSK[0-9a-f]{32}\b/g,'replacement':_0xf18596(0x1cb)},{'name':'SendGrid\x20Key','type':'sendgrid_key','regex':/\bSG\.[A-Za-z0-9_-]{22,}\.[A-Za-z0-9_-]{22,}\b/g,'replacement':_0xf18596(0x1a3)},{'name':_0xf18596(0x1bb),'type':'private_key','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':_0xf18596(0x1a2),'regex':/\beyJ[A-Za-z0-9_-]{10,}\.eyJ[A-Za-z0-9_-]{10,}\.[A-Za-z0-9_-]{10,}\b/g,'replacement':'[REDACTED_JWT]'},{'name':_0xf18596(0x1d0),'type':_0xf18596(0x1a0),'regex':/Bearer\s+[A-Za-z0-9_\-.]{20,}/gi,'replacement':_0xf18596(0x1d2)},{'name':_0xf18596(0x1c6),'type':'basic_auth','regex':/Basic\s+[A-Za-z0-9+/=]{10,}/gi,'replacement':_0xf18596(0x1b1)},{'name':_0xf18596(0x19c),'type':_0xf18596(0x1ab),'regex':/(mongodb(\+srv)?|postgres|postgresql|mysql|redis|amqp|sqlite):\/\/[A-Za-z0-9_]+:[^@\s\n]+@[^\s\n]+/gi,'replacement':_0xf18596(0x1c2)},{'name':_0xf18596(0x1aa),'type':_0xf18596(0x19b),'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':'$1=[REDACTED_CREDENTIAL]'},{'name':_0xf18596(0x1a9),'type':_0xf18596(0x1ce),'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':_0xf18596(0x1b7),'alert':![]},{'name':'Email\x20Address','type':_0xf18596(0x1af),'regex':/\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b/g,'replacement':'[REDACTED_EMAIL]','alert':![]}];}[a0_0x390c48(0x1c4)](_0x156bfb){const _0xce5614=a0_0x390c48;return this[_0xce5614(0x1b5)](_0x156bfb)[_0xce5614(0x1ae)];}[a0_0x390c48(0x1b5)](_0x352028){const _0x1bbc99=a0_0x390c48;let _0x517d7b=_0x352028,_0x2f3178=0x0;const _0x5f3ea2=[];for(const _0x4836d7 of this['rules']){const _0xb822fb=_0x517d7b[_0x1bbc99(0x1a7)](_0x4836d7[_0x1bbc99(0x1ba)]);_0xb822fb&&_0xb822fb[_0x1bbc99(0x1c1)]>0x0&&(_0x4836d7[_0x1bbc99(0x1ca)]!==![]&&(_0x2f3178+=_0xb822fb['length'],!_0x5f3ea2[_0x1bbc99(0x1a4)](_0x4836d7[_0x1bbc99(0x1be)])&&_0x5f3ea2[_0x1bbc99(0x19a)](_0x4836d7[_0x1bbc99(0x1be)])),_0x517d7b=_0x517d7b[_0x1bbc99(0x1bf)](_0x4836d7[_0x1bbc99(0x1ba)],_0x4836d7[_0x1bbc99(0x1cd)]));}return{'text':_0x517d7b,'secretsFound':_0x2f3178,'secretTypes':_0x5f3ea2};}}exports[a0_0x390c48(0x19f)]=Redactor,exports[a0_0x390c48(0x19e)]=new Redactor();
package/seed.js CHANGED
@@ -1 +1 @@
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));
1
+ 'use strict';const a0_0x24d498=a0_0xb06f;(function(_0x3795cc,_0x66eebe){const _0x58f866=a0_0xb06f,_0x5bc7bc=_0x3795cc();while(!![]){try{const _0x13681a=parseInt(_0x58f866(0x154))/0x1+parseInt(_0x58f866(0x14e))/0x2+parseInt(_0x58f866(0x155))/0x3*(-parseInt(_0x58f866(0x14b))/0x4)+-parseInt(_0x58f866(0x153))/0x5+-parseInt(_0x58f866(0x148))/0x6+-parseInt(_0x58f866(0x15d))/0x7+-parseInt(_0x58f866(0x150))/0x8*(-parseInt(_0x58f866(0x149))/0x9);if(_0x13681a===_0x66eebe)break;else _0x5bc7bc['push'](_0x5bc7bc['shift']());}catch(_0x208b06){_0x5bc7bc['push'](_0x5bc7bc['shift']());}}}(a0_0x1205,0x807e8));function a0_0x1205(){const _0x5132d1=['test_db.py\x20PASS\x0a','1520260XCRrpK','Optimizing\x20assets...\x0a','4000MRskID','docker\x20build\x20.','All\x20303\x20tests\x20passed\x20in\x204.22s.','4268155lTEkWc','971201Rpdfkq','3qasoCt','[INFO]\x20Building\x20modules...\x0a','log','pytest\x20app:\x20303\x20tests\x20passed\x20in\x204.22s.','repeat','__esModule','gemini-1-5-pro','Step\x202/10\x20:\x20COPY\x20package.json\x20.\x0a','1661240OQFQbr','Successfully\x20built\x20image.','test_api.py\x20PASS\x0a','Step\x201/10\x20:\x20FROM\x20node:20\x0a','tracker','defineProperty','Compilation\x20Output:\x0a','[SUCCESS]\x20Compiled\x20512\x20modules.\x0a','test_auth.py\x20PASS\x0a','claude-3-opus','logExecution','npm\x20run\x20build','303606qtvfMr','6435Eptgth','pytest\x20tests/app','1683868IRvWuT','Step\x203/10\x20:\x20RUN\x20npm\x20install\x0a'];a0_0x1205=function(){return _0x5132d1;};return a0_0x1205();}function a0_0xb06f(_0x4f5fa7,_0x4aea90){_0x4f5fa7=_0x4f5fa7-0x147;const _0x120574=a0_0x1205();let _0xb06fda=_0x120574[_0x4f5fa7];return _0xb06fda;}Object[a0_0x24d498(0x162)](exports,a0_0x24d498(0x15a),{'value':!![]});const tracker_1=require('./tracker');console[a0_0x24d498(0x157)]('Seeding\x20TrimPrompt\x20database\x20with\x20mock\x20LLM\x20command\x20telemetry...'),process.env.TRIMPROMPT_MODEL=a0_0x24d498(0x166),tracker_1[a0_0x24d498(0x161)][a0_0x24d498(0x167)](a0_0x24d498(0x147),a0_0x24d498(0x163)+a0_0x24d498(0x156)+a0_0x24d498(0x14f)+a0_0x24d498(0x164)[a0_0x24d498(0x159)](0x190),'[INFO]\x20Building\x20modules...\x0a[SUCCESS]\x20Compiled\x20512\x20modules.\x20(repeated\x20400\x20times)',0x0),process.env.TRIMPROMPT_MODEL='gpt-4o',tracker_1[a0_0x24d498(0x161)][a0_0x24d498(0x167)](a0_0x24d498(0x14a),'Test\x20suite\x20run\x20starting...\x0a'+a0_0x24d498(0x165)+a0_0x24d498(0x14d)+a0_0x24d498(0x15f)[a0_0x24d498(0x159)](0x12c)+a0_0x24d498(0x152),a0_0x24d498(0x158),0x0),process.env.TRIMPROMPT_MODEL=a0_0x24d498(0x15b),tracker_1[a0_0x24d498(0x161)][a0_0x24d498(0x167)](a0_0x24d498(0x151),'Sending\x20build\x20context\x20to\x20Docker\x20daemon...\x0a'+a0_0x24d498(0x160)+a0_0x24d498(0x15c)+a0_0x24d498(0x14c)+'added\x201420\x20packages\x20in\x2014s\x0a'['repeat'](0x3)+a0_0x24d498(0x15e),'docker\x20build:\x201420\x20packages\x20added.\x20Successfully\x20built\x20image.',0x0),console[a0_0x24d498(0x157)]('Database\x20successfully\x20seeded!');
package/shims.js CHANGED
@@ -1 +1 @@
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']};}}
1
+ 'use strict';const a0_0x370065=a0_0x1b8e;(function(_0x38d90b,_0x17f24e){const _0x458022=a0_0x1b8e,_0x3ad971=_0x38d90b();while(!![]){try{const _0x67fa30=-parseInt(_0x458022(0xcb))/0x1*(parseInt(_0x458022(0xe2))/0x2)+-parseInt(_0x458022(0x97))/0x3*(parseInt(_0x458022(0x9e))/0x4)+parseInt(_0x458022(0x81))/0x5*(-parseInt(_0x458022(0xbf))/0x6)+parseInt(_0x458022(0xac))/0x7*(parseInt(_0x458022(0x70))/0x8)+-parseInt(_0x458022(0xa1))/0x9+parseInt(_0x458022(0xbb))/0xa*(parseInt(_0x458022(0xe3))/0xb)+parseInt(_0x458022(0x7b))/0xc*(parseInt(_0x458022(0xc5))/0xd);if(_0x67fa30===_0x17f24e)break;else _0x3ad971['push'](_0x3ad971['shift']());}catch(_0x15be6d){_0x3ad971['push'](_0x3ad971['shift']());}}}(a0_0x4566,0x8905c));var __createBinding=this&&this[a0_0x370065(0xcf)]||(Object['create']?function(_0x56b233,_0xb4dacb,_0x3bd987,_0x46eefd){const _0x169935=a0_0x370065;if(_0x46eefd===undefined)_0x46eefd=_0x3bd987;var _0x292654=Object[_0x169935(0xbe)](_0xb4dacb,_0x3bd987);(!_0x292654||(_0x169935(0x87)in _0x292654?!_0xb4dacb[_0x169935(0x6d)]:_0x292654[_0x169935(0xd6)]||_0x292654['configurable']))&&(_0x292654={'enumerable':!![],'get':function(){return _0xb4dacb[_0x3bd987];}}),Object['defineProperty'](_0x56b233,_0x46eefd,_0x292654);}:function(_0x50f0ff,_0x2bbdf0,_0x51c79e,_0x3c9d98){if(_0x3c9d98===undefined)_0x3c9d98=_0x51c79e;_0x50f0ff[_0x3c9d98]=_0x2bbdf0[_0x51c79e];}),__setModuleDefault=this&&this['__setModuleDefault']||(Object['create']?function(_0x4b2e00,_0x50bbc7){const _0x92daf8=a0_0x370065;Object[_0x92daf8(0x88)](_0x4b2e00,_0x92daf8(0xb8),{'enumerable':!![],'value':_0x50bbc7});}:function(_0x2f4e24,_0x53b3f3){const _0x554127=a0_0x370065;_0x2f4e24[_0x554127(0xb8)]=_0x53b3f3;}),__importStar=this&&this[a0_0x370065(0xd0)]||(function(){var _0x2a098f=function(_0x34535f){return _0x2a098f=Object['getOwnPropertyNames']||function(_0x364b04){const _0x2b2237=a0_0x1b8e;var _0x17a3b5=[];for(var _0x1cbd1c in _0x364b04)if(Object[_0x2b2237(0xe6)][_0x2b2237(0x7f)][_0x2b2237(0x99)](_0x364b04,_0x1cbd1c))_0x17a3b5[_0x17a3b5[_0x2b2237(0xca)]]=_0x1cbd1c;return _0x17a3b5;},_0x2a098f(_0x34535f);};return function(_0x1a7b08){const _0x4c310f=a0_0x1b8e;if(_0x1a7b08&&_0x1a7b08[_0x4c310f(0x6d)])return _0x1a7b08;var _0x1686cc={};if(_0x1a7b08!=null){for(var _0x1759e9=_0x2a098f(_0x1a7b08),_0x5c6912=0x0;_0x5c6912<_0x1759e9['length'];_0x5c6912++)if(_0x1759e9[_0x5c6912]!==_0x4c310f(0xb8))__createBinding(_0x1686cc,_0x1a7b08,_0x1759e9[_0x5c6912]);}return __setModuleDefault(_0x1686cc,_0x1a7b08),_0x1686cc;};}());Object[a0_0x370065(0x88)](exports,a0_0x370065(0x6d),{'value':!![]}),exports[a0_0x370065(0x6e)]=installShims,exports[a0_0x370065(0x92)]=uninstallShims;const fs=__importStar(require('fs')),path=__importStar(require(a0_0x370065(0xc9))),os=__importStar(require('os')),SHIMMED_COMMANDS=['ls',a0_0x370065(0xe9),a0_0x370065(0xc6),a0_0x370065(0xa6),'grep','rg',a0_0x370065(0x79),a0_0x370065(0xb4),'gh',a0_0x370065(0x7a),a0_0x370065(0x7d),a0_0x370065(0xa4),'pnpm',a0_0x370065(0x9f),a0_0x370065(0xdd),'kubectl',a0_0x370065(0x75),a0_0x370065(0xc0),'pip',a0_0x370065(0x8d),'go',a0_0x370065(0xd2)],PROFILE_MARKER=a0_0x370065(0xa3);function getExecSync(){const _0x33c397=a0_0x370065;return require(_0x33c397(0x9a))[_0x33c397(0xab)];}function getExecFileSync(){const _0x2c048a=a0_0x370065;return require(_0x2c048a(0x9a))['execFileSync'];}function ensureProfileContains(_0x3d2d82,_0x131424,_0x199fba){const _0x57f0ef=a0_0x370065;try{const _0x39e661=path[_0x57f0ef(0xd9)](_0x3d2d82);!fs[_0x57f0ef(0x80)](_0x39e661)&&fs[_0x57f0ef(0xce)](_0x39e661,{'recursive':!![]});if(fs[_0x57f0ef(0x80)](_0x3d2d82)){const _0x18fe0b=fs[_0x57f0ef(0xd1)](_0x3d2d82,_0x57f0ef(0xa2));if(_0x18fe0b['includes'](_0x131424))return;fs['appendFileSync'](_0x3d2d82,_0x199fba,_0x57f0ef(0xa2));}else fs['writeFileSync'](_0x3d2d82,_0x199fba,_0x57f0ef(0xa2));}catch{}}function removeProfileBlock(_0x2a9dbc,_0x43e2dc){const _0x124304=a0_0x370065;try{if(!fs[_0x124304(0x80)](_0x2a9dbc))return;const _0x5c4100=fs['readFileSync'](_0x2a9dbc,_0x124304(0xa2));if(!_0x5c4100['includes'](_0x43e2dc))return;const _0x571569=_0x5c4100['split']('\x0a'),_0x984bb9=[];let _0x41989f=![];for(let _0xf28bf9=0x0;_0xf28bf9<_0x571569[_0x124304(0xca)];_0xf28bf9++){if(_0x571569[_0xf28bf9]['includes'](_0x43e2dc)){_0x41989f=!![];continue;}if(_0x41989f){_0x41989f=![];continue;}_0x984bb9[_0x124304(0x6f)](_0x571569[_0xf28bf9]);}const _0x170d89=_0x984bb9['join']('\x0a')[_0x124304(0x7e)](/\n{3,}/g,'\x0a\x0a');fs['writeFileSync'](_0x2a9dbc,_0x170d89,_0x124304(0xa2));}catch{}}function a0_0x4566(){const _0x4d8516=['pipe','\x22\x20set\x20\x22PATH=','[Environment]::SetEnvironmentVariable(\x27PATH\x27,\x20\x27','get','defineProperty','TrimPrompt\x20shims\x20fully\x20uninstalled.\x20All\x20PATH\x20modifications,\x20shell\x20profiles,\x20and\x20registry\x20entries\x20have\x20been\x20cleaned\x20up.',';%PATH%\x22','win32','Remove-ItemProperty\x20-Path\x20\x27','pip3','.trimprompt','Set-ItemProperty\x20-Path\x20\x27','writeFileSync','try\x20{\x20(Get-ItemProperty\x20-Path\x20\x27','uninstallShims',')\x20else\x20(','pwsh\x20-NoProfile\x20-Command\x20\x22exit\x200\x22','\x20\x20set\x20\x22PATH=%PATH:','$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);','213912oihGyh','trim.ps1','call','child_process','ignore','join','#!/bin/sh\x0aif\x20command\x20-v\x20trim\x20>/dev/null\x202>&1;\x20then\x20exec\x20trim\x20','52vaFHNI','npx','includes','7897482wuZzqa','utf8','TrimPrompt\x20Shims\x20PATH','npm','pwsh','read',':||g\x22);\x20exec\x20env\x20PATH=\x22$CLEAN_PATH\x22\x20','.cmd','if\x20exist\x20\x22%~dp0..\x5c..\x5cAppData\x5cRoaming\x5cnpm\x5ctrim.cmd\x22','\x20\x22$@\x22;\x20fi\x0a','execSync','21CeDEsg','.bash_profile','powershell','\x0a#\x20','unlinkSync',':$PATH\x22','.bashrc','\x20-NoProfile\x20-Command\x20\x22','git','rmdirSync','powershell.exe','if\x20exist\x20\x22','default','HKCU:\x5cSoftware\x5cMicrosoft\x5cCommand\x20Processor','$PROFILE.CurrentUserAllHosts','729730hLXplj','message','\x27\x20-Name\x20AutoRun\x20-ErrorAction\x20Stop).AutoRun\x20}\x20catch\x20{\x20\x27\x27\x20}','getOwnPropertyDescriptor','138achESK','pytest','if\x20(Get-Command\x20trim\x20-ErrorAction\x20SilentlyContinue)\x20{\x20&\x20trim\x20','toLowerCase','filter','$PROFILE.CurrentUserCurrentHost','344656uAjesN','cat','split','homedir','path','length','149vdZNzf','platform','trim','mkdirSync','__createBinding','__importStar','readFileSync','find','.zshrc','\x20commands.\x0a\x0a','-Command','writable','\x20\x22$@\x22;\x20else\x20CLEAN_PATH=$(echo\x20\x22$PATH\x22\x20|\x20sed\x20\x22s|','\x20@args\x20}\x20else\x20{\x20&\x20','dirname','powershell\x20-NoProfile\x20-Command\x20\x22','[Environment]::GetEnvironmentVariable(\x27PATH\x27,\x20\x27User\x27)','[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.','yarn','readdirSync',';\x22\x20+\x20$env:PATH\x0a','Please\x20add\x20the\x20following\x20path\x20to\x20the\x20front\x20of\x20your\x20User\x20PATH\x20environment\x20variable\x20manually:\x0a\x20\x20','Please\x20add\x20this\x20to\x20your\x20shell\x20profile\x20(~/.bashrc,\x20~/.zshrc)\x20manually:\x0a\x20\x20export\x20PATH=\x22','5582KQTwKO','77rdPRaz',':$PATH\x22\x0a','-NoProfile','prototype','\x27\x20-Name\x20AutoRun\x20-Value\x20\x27','New-Item\x20-Path\x20\x27','tree','@echo\x20off','__esModule','installShims','push','1246264aozWvb','\x20%*','.profile','755','\x27,\x20\x27User\x27)','docker','\x27\x20-Name\x20AutoRun\x20-ErrorAction\x20SilentlyContinue','\x0aexport\x20PATH=\x22','map','ruff','glab','852FmUPoF','Failed\x20to\x20uninstall\x20shims:\x20','cargo','replace','hasOwnProperty','existsSync','17165zKifVt','shims','trim.cmd'];a0_0x4566=function(){return _0x4d8516;};return a0_0x4566();}function collectPowerShellProfiles(){const _0x661122=a0_0x370065,_0x8eface=getExecSync(),_0x434830=[],_0x142b2e=[['powershell',_0x661122(0xc4)],[_0x661122(0xae),_0x661122(0xba)]];try{_0x8eface(_0x661122(0x94),{'stdio':_0x661122(0x9b)}),_0x142b2e[_0x661122(0x6f)]([_0x661122(0xa5),'$PROFILE.CurrentUserAllHosts']);}catch{}for(const [_0x856b6,_0x2c5136]of _0x142b2e){try{const _0x5778f6=_0x8eface(_0x856b6+_0x661122(0xb3)+_0x2c5136+'\x22',{'encoding':_0x661122(0xa2)})[_0x661122(0xcd)]();_0x5778f6&&!_0x434830['some'](_0x3a4875=>_0x3a4875[_0x661122(0xc2)]()===_0x5778f6[_0x661122(0xc2)]())&&_0x434830[_0x661122(0x6f)](_0x5778f6);}catch{}}return _0x434830;}function getBashProfilesWindows(){const _0x1a0944=a0_0x370065,_0x34c202=os['homedir']();return[_0x1a0944(0xb2),_0x1a0944(0xad)][_0x1a0944(0x78)](_0x4a81a5=>path[_0x1a0944(0x9c)](_0x34c202,_0x4a81a5));}function getBroadcastCommand(){const _0xb0cf14=a0_0x370065;return _0xb0cf14(0x96);}function a0_0x1b8e(_0x4a3307,_0x5438ae){_0x4a3307=_0x4a3307-0x6c;const _0x4566d7=a0_0x4566();let _0x1b8e32=_0x4566d7[_0x4a3307];return _0x1b8e32;}function installShims(){const _0x48191c=a0_0x370065,_0x56694e=path[_0x48191c(0x9c)](os[_0x48191c(0xc8)](),_0x48191c(0x8e),_0x48191c(0x82));try{!fs[_0x48191c(0x80)](_0x56694e)&&fs[_0x48191c(0xce)](_0x56694e,{'recursive':!![]});const _0x9c82f8=os[_0x48191c(0xcc)]()===_0x48191c(0x8b);for(const _0x3d9ae6 of SHIMMED_COMMANDS){if(_0x9c82f8){const _0x4a399b=path[_0x48191c(0x9c)](_0x56694e,_0x3d9ae6+_0x48191c(0xa8)),_0x1a1c63=process.env.APPDATA?path[_0x48191c(0x9c)](process.env.APPDATA,'npm'):'',_0x93d599=_0x1a1c63?_0x48191c(0xb7)+path['join'](_0x1a1c63,_0x48191c(0x83))+'\x22':_0x48191c(0xa9),_0x5f486a=[_0x48191c(0x6c),_0x93d599+'\x20(','\x20\x20trim\x20'+_0x3d9ae6+_0x48191c(0x71),_0x48191c(0x93),_0x48191c(0x95)+_0x56694e+';=%\x22','\x20\x20'+_0x3d9ae6+'\x20%*',')'][_0x48191c(0x9c)]('\x0d\x0a')+'\x0d\x0a';fs[_0x48191c(0x90)](_0x4a399b,_0x5f486a,_0x48191c(0xa2));const _0x35a9f2=path[_0x48191c(0x9c)](_0x56694e,_0x3d9ae6+'.ps1'),_0x41f389=_0x48191c(0xc1)+_0x3d9ae6+_0x48191c(0xd8)+_0x3d9ae6+'\x20@args\x20}\x0a';fs[_0x48191c(0x90)](_0x35a9f2,_0x41f389,_0x48191c(0xa2));const _0xc4add3=path[_0x48191c(0x9c)](_0x56694e,_0x3d9ae6),_0x2377ae=_0x56694e[_0x48191c(0x7e)](/\\/g,'/')[_0x48191c(0x7e)](/^([A-Za-z]):/,(_0x367c37,_0x264c4c)=>'/'+_0x264c4c['toLowerCase']()),_0x3c2ea8='#!/bin/sh\x0aif\x20command\x20-v\x20trim\x20>/dev/null\x202>&1;\x20then\x20exec\x20trim\x20'+_0x3d9ae6+_0x48191c(0xd7)+_0x2377ae+_0x48191c(0xa7)+_0x3d9ae6+_0x48191c(0xaa);fs['writeFileSync'](_0xc4add3,_0x3c2ea8,_0x48191c(0xa2));}else{const _0x47f65f=path[_0x48191c(0x9c)](_0x56694e,_0x3d9ae6),_0x27329f=_0x48191c(0x9d)+_0x3d9ae6+'\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'+_0x3d9ae6+_0x48191c(0xaa);fs[_0x48191c(0x90)](_0x47f65f,_0x27329f,'utf8'),fs['chmodSync'](_0x47f65f,_0x48191c(0x73));}}let _0x445e2a=![],_0x46f9bd='';if(_0x9c82f8)try{const _0x4882af=getExecSync(),_0x2c476f='\x0a#\x20'+PROFILE_MARKER+'\x0a$env:PATH\x20=\x20\x22'+_0x56694e+_0x48191c(0xdf),_0x3af852=collectPowerShellProfiles();for(const _0x1e1a5f of _0x3af852){ensureProfileContains(_0x1e1a5f,_0x56694e,_0x2c476f);}try{const _0x5570d3=getExecFileSync(),_0x3b65e3=_0x48191c(0xb7)+_0x56694e+_0x48191c(0x85)+_0x56694e+_0x48191c(0x8a),_0x3bfac3=_0x48191c(0xb9);let _0x1451a6='';try{const _0x1b91d0=_0x48191c(0x91)+_0x3bfac3+'\x27\x20-Name\x20AutoRun\x20-ErrorAction\x20Stop).AutoRun\x20}\x20catch\x20{\x20\x27\x27\x20}';_0x1451a6=_0x5570d3(_0x48191c(0xb6),['-NoProfile',_0x48191c(0xd5),_0x1b91d0],{'encoding':_0x48191c(0xa2),'stdio':[_0x48191c(0x84),_0x48191c(0x84),'ignore']})[_0x48191c(0xcd)]();}catch{}if(!_0x1451a6['includes'](_0x56694e)){const _0x5643ac=_0x1451a6?_0x1451a6+'\x20&\x20'+_0x3b65e3:_0x3b65e3,_0x402281=_0x48191c(0xe8)+_0x3bfac3+'\x27\x20-Force\x20|\x20Out-Null;\x20Set-ItemProperty\x20-Path\x20\x27'+_0x3bfac3+_0x48191c(0xe7)+_0x5643ac+'\x27';_0x5570d3('powershell.exe',[_0x48191c(0xe5),_0x48191c(0xd5),_0x402281],{'stdio':'ignore'});}}catch{}try{const _0x15f23f=_0x56694e[_0x48191c(0x7e)](/\\/g,'/')[_0x48191c(0x7e)](/^([A-Za-z]):/,(_0x45f5a7,_0x22850b)=>'/'+_0x22850b['toLowerCase']()),_0x48dc57=_0x48191c(0xaf)+PROFILE_MARKER+_0x48191c(0x77)+_0x15f23f+':$PATH\x22\x0a',_0x181db4=getBashProfilesWindows();let _0x18ce3c=![];for(const _0x3a8f26 of _0x181db4){fs['existsSync'](_0x3a8f26)&&(ensureProfileContains(_0x3a8f26,_0x15f23f,_0x48dc57),_0x18ce3c=!![]);}!_0x18ce3c&&ensureProfileContains(_0x181db4[0x0],_0x15f23f,_0x48dc57);}catch{}const _0x3e3664=_0x48191c(0xdb),_0xf2e8cb=_0x4882af('powershell\x20-NoProfile\x20-Command\x20\x22'+_0x3e3664+'\x22',{'encoding':_0x48191c(0xa2),'stdio':['pipe',_0x48191c(0x84),_0x48191c(0x9b)]})[_0x48191c(0xcd)]();if(!_0xf2e8cb['includes'](_0x56694e)){const _0x11b023=_0x56694e+';'+_0xf2e8cb,_0x5bba0d=_0x11b023[_0x48191c(0x7e)](/'/g,'\x27\x27'),_0x5b7b2a='[Environment]::SetEnvironmentVariable(\x27PATH\x27,\x20\x27'+_0x5bba0d+_0x48191c(0x74);_0x4882af('powershell\x20-NoProfile\x20-Command\x20\x22'+_0x5b7b2a+';\x20'+getBroadcastCommand()+'\x22',{'stdio':_0x48191c(0x9b)});}const _0x386cbf=path['join'](process.env.APPDATA||'',_0x48191c(0xa4),_0x48191c(0x98));if(fs['existsSync'](_0x386cbf))try{fs[_0x48191c(0xb0)](_0x386cbf);}catch{}_0x445e2a=!![];}catch(_0x476b43){_0x46f9bd=_0x48191c(0xe0)+_0x56694e;}else try{const _0x17259f='export\x20PATH=\x22'+_0x56694e+_0x48191c(0xe4),_0x26d75d=os[_0x48191c(0xc8)](),_0x415947=[_0x48191c(0xb2),_0x48191c(0xd3),'.bash_profile','.profile'];let _0x8c9870=![];for(const _0x855653 of _0x415947){const _0x196314=path['join'](_0x26d75d,_0x855653);fs[_0x48191c(0x80)](_0x196314)&&(ensureProfileContains(_0x196314,_0x56694e,'\x0a#\x20'+PROFILE_MARKER+'\x0a'+_0x17259f),_0x8c9870=!![]);}if(!_0x8c9870){const _0x37dd62=path[_0x48191c(0x9c)](_0x26d75d,_0x48191c(0xb2));ensureProfileContains(_0x37dd62,_0x56694e,_0x48191c(0xaf)+PROFILE_MARKER+'\x0a'+_0x17259f);}_0x445e2a=!![];}catch(_0x14c732){_0x46f9bd=_0x48191c(0xe1)+_0x56694e+_0x48191c(0xb1);}const _0x19cd0a='TrimPrompt\x20shims\x20successfully\x20installed\x20for\x20'+SHIMMED_COMMANDS[_0x48191c(0xca)]+_0x48191c(0xd4),_0x3ce50c=_0x445e2a?_0x19cd0a+_0x48191c(0xdc):_0x19cd0a+'[WARNING]\x20Could\x20not\x20automatically\x20update\x20your\x20system\x20PATH.\x20'+_0x46f9bd;return{'success':!![],'pathDir':_0x56694e,'message':_0x3ce50c};}catch(_0x4a30b1){return{'success':![],'pathDir':_0x56694e,'message':'Failed\x20to\x20install\x20shims:\x20'+_0x4a30b1[_0x48191c(0xbc)]};}}function uninstallShims(){const _0xd88f05=a0_0x370065,_0x5e6fce=path[_0xd88f05(0x9c)](os['homedir'](),'.trimprompt',_0xd88f05(0x82)),_0x4c4bf1=os[_0xd88f05(0xcc)]()===_0xd88f05(0x8b);try{if(_0x4c4bf1){const _0x582231=getExecSync();try{const _0x3ad249=getExecFileSync(),_0x5c217e=_0xd88f05(0xb9),_0x59c374=_0xd88f05(0x91)+_0x5c217e+_0xd88f05(0xbd),_0x1cd015=_0x3ad249(_0xd88f05(0xb6),['-NoProfile',_0xd88f05(0xd5),_0x59c374],{'encoding':_0xd88f05(0xa2),'stdio':['pipe',_0xd88f05(0x84),_0xd88f05(0x9b)]})[_0xd88f05(0xcd)]();if(_0x1cd015[_0xd88f05(0xa0)](_0x5e6fce)){const _0x38d91d=_0x1cd015['split']('\x20&\x20')[_0xd88f05(0xc3)](_0x58164e=>!_0x58164e[_0xd88f05(0xa0)](_0x5e6fce));if(_0x38d91d[_0xd88f05(0xca)]===0x0){const _0x4664d2=_0xd88f05(0x8c)+_0x5c217e+_0xd88f05(0x76);_0x3ad249(_0xd88f05(0xb6),[_0xd88f05(0xe5),_0xd88f05(0xd5),_0x4664d2],{'stdio':'ignore'});}else{const _0x45c48a=_0x38d91d[_0xd88f05(0x9c)]('\x20&\x20'),_0x59afd4=_0xd88f05(0x8f)+_0x5c217e+'\x27\x20-Name\x20AutoRun\x20-Value\x20\x27'+_0x45c48a+'\x27';_0x3ad249(_0xd88f05(0xb6),['-NoProfile',_0xd88f05(0xd5),_0x59afd4],{'stdio':_0xd88f05(0x9b)});}}}catch{}try{const _0x2e633b=collectPowerShellProfiles();for(const _0x21bfad of _0x2e633b){removeProfileBlock(_0x21bfad,PROFILE_MARKER);}}catch{}try{for(const _0x11c4ea of getBashProfilesWindows()){removeProfileBlock(_0x11c4ea,PROFILE_MARKER);}}catch{}try{const _0x1df123='[Environment]::GetEnvironmentVariable(\x27PATH\x27,\x20\x27User\x27)',_0x3b2d86=_0x582231(_0xd88f05(0xda)+_0x1df123+'\x22',{'encoding':_0xd88f05(0xa2),'stdio':[_0xd88f05(0x84),_0xd88f05(0x84),'ignore']})[_0xd88f05(0xcd)]();if(_0x3b2d86['includes'](_0x5e6fce)){const _0x435949=_0x3b2d86[_0xd88f05(0xc7)](';')['filter'](_0x3ebec6=>_0x3ebec6[_0xd88f05(0xcd)]()[_0xd88f05(0xc2)]()!==_0x5e6fce[_0xd88f05(0xc2)]())[_0xd88f05(0x9c)](';'),_0x17c0a3=_0x435949[_0xd88f05(0x7e)](/'/g,'\x27\x27'),_0x13d3ab=_0xd88f05(0x86)+_0x17c0a3+_0xd88f05(0x74);_0x582231(_0xd88f05(0xda)+_0x13d3ab+';\x20'+getBroadcastCommand()+'\x22',{'stdio':_0xd88f05(0x9b)});}}catch{}}else{const _0xc83450=os[_0xd88f05(0xc8)](),_0x5090e6=[_0xd88f05(0xb2),_0xd88f05(0xd3),_0xd88f05(0xad),_0xd88f05(0x72)];for(const _0x3f0a29 of _0x5090e6){removeProfileBlock(path['join'](_0xc83450,_0x3f0a29),PROFILE_MARKER);}}if(fs[_0xd88f05(0x80)](_0x5e6fce)){const _0x167ada=fs[_0xd88f05(0xde)](_0x5e6fce);for(const _0x3b65db of _0x167ada){fs[_0xd88f05(0xb0)](path[_0xd88f05(0x9c)](_0x5e6fce,_0x3b65db));}fs[_0xd88f05(0xb5)](_0x5e6fce);}return{'success':!![],'message':_0xd88f05(0x89)};}catch(_0x1b053e){return{'success':![],'message':_0xd88f05(0x7c)+_0x1b053e[_0xd88f05(0xbc)]};}}
package/simulate.js CHANGED
@@ -1 +1 @@
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));
1
+ 'use strict';function a0_0x34f5(_0x58b56b,_0xe4ab22){_0x58b56b=_0x58b56b-0x1b1;const _0x35afdc=a0_0x35af();let _0x34f5c7=_0x35afdc[_0x58b56b];return _0x34f5c7;}const a0_0x1bed78=a0_0x34f5;(function(_0x2dbba7,_0x154bcc){const _0x5450c4=a0_0x34f5,_0x4f7148=_0x2dbba7();while(!![]){try{const _0x112095=-parseInt(_0x5450c4(0x1c5))/0x1*(-parseInt(_0x5450c4(0x1ed))/0x2)+-parseInt(_0x5450c4(0x1c7))/0x3*(-parseInt(_0x5450c4(0x1e2))/0x4)+parseInt(_0x5450c4(0x1bd))/0x5*(parseInt(_0x5450c4(0x1cf))/0x6)+parseInt(_0x5450c4(0x1ef))/0x7+parseInt(_0x5450c4(0x1e4))/0x8+parseInt(_0x5450c4(0x1e0))/0x9*(-parseInt(_0x5450c4(0x1c6))/0xa)+-parseInt(_0x5450c4(0x1b7))/0xb;if(_0x112095===_0x154bcc)break;else _0x4f7148['push'](_0x4f7148['shift']());}catch(_0x1a970b){_0x4f7148['push'](_0x4f7148['shift']());}}}(a0_0x35af,0xbaaf5));function a0_0x35af(){const _0x4c9428=['Completed\x203\x20of\x203\x20assets\x20successfully.','11497905xFAMdV','npm\x20run\x20lint:\x20✖\x202\x20warnings','4MIsMay','raw','4271136EwUjAY','git\x20log\x20-n\x205','Successfully\x20installed\x20tensorflow-2.15.0\x20numpy-1.26.2\x20pandas-2.1.3\x0a','\x20\x20Installing\x20build\x20dependencies\x20...\x20done\x0a','path','src/tracker.ts:45:9\x20-\x20warning:\x20console.log\x20should\x20be\x20removed\x0a','pip\x20install:\x20Successfully\x20installed\x20tensorflow-2.15.0\x20numpy-1.26.2\x20pandas-2.1.3','stats.json','now','62rvwpik','floor','8247624akAshz','length','.trimprompt','homedir','defineProperty','gpt-4o','gemini-1-5-pro','timestamp','aws\x20s3\x20sync:\x203\x20assets\x20uploaded\x20successfully.','npm\x20install:\x20added\x2084\x20packages,\x20audited\x2096\x20packages.\x200\x20vulnerabilities.','Starting\x20simulation\x20of\x20developer\x20workflow\x20activity...','21960301AlEnXp','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','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','random','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','kubectl\x20get\x20pods:\x20trimprompt-api\x20(Running),\x20trimprompt-sync\x20(Running),\x20redis-master\x20(Running),\x20postgres-db\x20(Running)','5bfphBa','npm\x20run\x20lint','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.','cmd','gemini-1-5-flash','claude-3-opus','tracker','32203RMvhKd','10cZafZN','202881KIfhEQ','\x20...\x20ok\x0atest\x20result:\x20ok.\x2045\x20passed;\x200\x20failed;\x200\x20ignored;\x200\x20measured;\x200\x20filtered\x20out','logExecution','./tracker','toISOString','npm\x20warn\x20deprecated\x20uuid@3.4.0:\x20Please\x20upgrade...\x0a','npm\x20install\x20lodash\x20express\x20uuid\x20react','upload:\x20dist/hub-index.html\x20to\x20s3://trimprompt-assets/hub-index.html\x0a','7563318QcPCUJ','added\x2084\x20packages,\x20changed\x2012\x20packages,\x20and\x20audited\x2096\x20packages\x20in\x203s\x0a','upload:\x20dist/cli.js\x20to\x20s3://trimprompt-assets/cli.js\x0a','log','comp','✖\x202\x20problems\x20(0\x20errors,\x202\x20warnings)\x0a','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','gpt-4o-mini','stringify','diff\x20--git\x20a/src/cli.ts\x20b/src/cli.ts\x20(50\x20insertions,\x200\x20deletions)','pip\x20install\x20tensorflow\x20pandas\x20numpy','kubectl\x20get\x20pods\x20-n\x20production','exitCode','getLogs','join','repeat'];a0_0x35af=function(){return _0x4c9428;};return a0_0x35af();}Object[a0_0x1bed78(0x1f3)](exports,'__esModule',{'value':!![]});const tracker_1=require(a0_0x1bed78(0x1ca));console[a0_0x1bed78(0x1d2)](a0_0x1bed78(0x1b6));const models=['claude-3-5-sonnet',a0_0x1bed78(0x1b1),a0_0x1bed78(0x1d6),a0_0x1bed78(0x1b2),a0_0x1bed78(0x1c2),a0_0x1bed78(0x1c3)],commands=[{'cmd':'git\x20diff\x20main','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_0x1bed78(0x1de)](0x32),'comp':a0_0x1bed78(0x1d8),'exitCode':0x0},{'cmd':'cargo\x20test','raw':'running\x2045\x20tests\x0atest\x20tests::db_connection\x20...\x20ok\x0atest\x20tests::auth_handler\x20...\x20ok\x0a'+'test\x20tests::test_case_'[a0_0x1bed78(0x1de)](0x28)+a0_0x1bed78(0x1c8),'comp':'cargo\x20test:\x2045\x20passed,\x200\x20failed.','exitCode':0x0},{'cmd':a0_0x1bed78(0x1cd),'raw':a0_0x1bed78(0x1cc)+a0_0x1bed78(0x1d0)+'found\x200\x20vulnerabilities\x0a','comp':a0_0x1bed78(0x1b5),'exitCode':0x0},{'cmd':'aws\x20s3\x20sync\x20dist/\x20s3://trimprompt-assets','raw':'upload:\x20dist/index.html\x20to\x20s3://trimprompt-assets/index.html\x0a'+a0_0x1bed78(0x1ce)+a0_0x1bed78(0x1d1)+a0_0x1bed78(0x1df),'comp':a0_0x1bed78(0x1b4),'exitCode':0x0},{'cmd':a0_0x1bed78(0x1da),'raw':a0_0x1bed78(0x1b9)+'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'+'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_0x1bed78(0x1b8)+a0_0x1bed78(0x1d5),'comp':a0_0x1bed78(0x1bc),'exitCode':0x0},{'cmd':a0_0x1bed78(0x1d9),'raw':a0_0x1bed78(0x1bb)+a0_0x1bed78(0x1e7)+a0_0x1bed78(0x1e6),'comp':a0_0x1bed78(0x1ea),'exitCode':0x0},{'cmd':a0_0x1bed78(0x1e5),'raw':a0_0x1bed78(0x1bf)+'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','comp':'git\x20log:\x205\x20commits\x20(feat:\x20add\x20dynamic\x20token\x20costs,\x20fix:\x20adjust\x20margins...)','exitCode':0x0},{'cmd':a0_0x1bed78(0x1be),'raw':'src/cli.ts:12:3\x20-\x20warning:\x20unused\x20import\x0a'+a0_0x1bed78(0x1e9)+a0_0x1bed78(0x1d4),'comp':a0_0x1bed78(0x1e1),'exitCode':0x0}],startTime=Date[a0_0x1bed78(0x1ec)]()-0x36ee80;for(let i=0x0;i<0xc;i++){const model=models[i%models['length']],commandItem=commands[Math[a0_0x1bed78(0x1ee)](Math[a0_0x1bed78(0x1ba)]()*commands[a0_0x1bed78(0x1f0)])];process.env.TRIMPROMPT_MODEL=model;const timestamp=new Date(startTime+i*0x3d090)[a0_0x1bed78(0x1cb)](),log=tracker_1[a0_0x1bed78(0x1c4)][a0_0x1bed78(0x1c9)](commandItem[a0_0x1bed78(0x1c1)],commandItem[a0_0x1bed78(0x1e3)],commandItem[a0_0x1bed78(0x1d3)],commandItem[a0_0x1bed78(0x1db)]),logs=tracker_1[a0_0x1bed78(0x1c4)][a0_0x1bed78(0x1dc)]();logs[a0_0x1bed78(0x1f0)]>0x0&&(logs[logs[a0_0x1bed78(0x1f0)]-0x1][a0_0x1bed78(0x1b3)]=timestamp,require('fs')['writeFileSync'](require(a0_0x1bed78(0x1e8))[a0_0x1bed78(0x1dd)](require('os')[a0_0x1bed78(0x1f2)](),a0_0x1bed78(0x1f1),a0_0x1bed78(0x1eb)),JSON[a0_0x1bed78(0x1d7)](logs,null,0x2),'utf8'));}console[a0_0x1bed78(0x1d2)](a0_0x1bed78(0x1c0));