trimprompt 1.0.24 → 1.0.25
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/cache.js +1 -1
- package/cli.js +1 -1
- package/dashboard.js +1 -1
- package/executor.js +1 -1
- package/filters/devops.js +1 -1
- package/filters/generic.js +1 -1
- package/filters/git.js +1 -1
- package/filters/go.js +1 -1
- package/filters/index.js +1 -1
- package/filters/js.js +1 -1
- package/filters/python.js +1 -1
- package/filters/rust.js +1 -1
- package/filters/shell.js +1 -1
- package/mcp.js +1 -1
- package/package.json +1 -1
- package/redactor.js +1 -1
- package/seed.js +1 -1
- package/shims.js +1 -1
- package/simulate.js +1 -1
- package/sync.js +1 -1
- package/tracker.js +1 -1
package/filters/js.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a0_0xde49d4=a0_0x3bf3;(function(_0x4f229a,_0x190ade){const _0x1c2fee=a0_0x3bf3,_0x5a199d=_0x4f229a();while(!![]){try{const _0x5e0abd=parseInt(_0x1c2fee(0x16b))/0x1*(parseInt(_0x1c2fee(0x171))/0x2)+-parseInt(_0x1c2fee(0x167))/0x3*(parseInt(_0x1c2fee(0x15c))/0x4)+-parseInt(_0x1c2fee(0x15e))/0x5*(parseInt(_0x1c2fee(0x14d))/0x6)+parseInt(_0x1c2fee(0x14f))/0x7+-parseInt(_0x1c2fee(0x163))/0x8*(parseInt(_0x1c2fee(0x173))/0x9)+-parseInt(_0x1c2fee(0x150))/0xa+-parseInt(_0x1c2fee(0x169))/0xb*(-parseInt(_0x1c2fee(0x154))/0xc);if(_0x5e0abd===_0x190ade)break;else _0x5a199d['push'](_0x5a199d['shift']());}catch(_0x44974d){_0x5a199d['push'](_0x5a199d['shift']());}}}(a0_0x5331,0xeffb5));function a0_0x3bf3(_0xdef86,_0x34d7e2){_0xdef86=_0xdef86-0x14c;const _0x533142=a0_0x5331();let _0x3bf303=_0x533142[_0xdef86];return _0x3bf303;}function a0_0x5331(){const _0x1c8645=['151794bSsYoC','Test\x20Suites:','6271657hwcFnM','283950QhutUL','replace','length','removed\x20','45048228IaCRmk','startsWith','all','filterJestVitest','\x20\x20...\x20(','\x20passed','defineProperty','push','8QsQNVE','filterNpmInstall','270VpXFCI','Test\x20Files:','up\x20to\x20date','includes','Test\x20Runner:\x20','26680ZeRpUs','split','\x0aFailures:','PASS','2355459iFGdcx','Tests:','11XFUzWQ','join','1KxEXWh','trim','\x20passed,\x20','\x20failed\x20(','match','FAIL','990214nyiMYi','\x20lines\x20of\x20trace\x20details\x20truncated)','3231TSnEFh','FAIL\x20\x20'];a0_0x5331=function(){return _0x1c8645;};return a0_0x5331();}Object[a0_0xde49d4(0x15a)](exports,'__esModule',{'value':!![]}),exports[a0_0xde49d4(0x15d)]=filterNpmInstall,exports[a0_0xde49d4(0x157)]=filterJestVitest;function filterNpmInstall(_0xb42a18){const _0x26e721=a0_0xde49d4,_0x9cfa35=_0xb42a18[_0x26e721(0x151)](/\r/g,'\x0a'),_0x2c8b3f=_0x9cfa35[_0x26e721(0x164)]('\x0a'),_0xad9064=[];for(const _0x3196fc of _0x2c8b3f){const _0x1dd5bf=_0x3196fc[_0x26e721(0x16c)]();(_0x1dd5bf['includes']('added\x20')||_0x1dd5bf[_0x26e721(0x161)](_0x26e721(0x153))||_0x1dd5bf[_0x26e721(0x161)]('audited\x20')||_0x1dd5bf[_0x26e721(0x161)](_0x26e721(0x160))||_0x1dd5bf[_0x26e721(0x161)]('found\x20'))&&(!_0x1dd5bf[_0x26e721(0x161)]('%')&&!_0x1dd5bf[_0x26e721(0x155)]('⠋')&&!_0x1dd5bf[_0x26e721(0x155)]('⠙')&&_0xad9064[_0x26e721(0x15b)](_0x1dd5bf));}const _0x2c5f34=_0xad9064[_0x26e721(0x16a)]('\x0a')[_0x26e721(0x16c)]();return _0x2c5f34[_0x26e721(0x152)]>0x0?_0x2c5f34:'NPM:\x20Packages\x20verified/installed\x20successfully';}function filterJestVitest(_0x50a14b){const _0x1babb7=a0_0xde49d4,_0x28b719=_0x50a14b[_0x1babb7(0x164)]('\x0a');let _0x4b2f56=0x0,_0x4971fb=0x0,_0x59abcd=0x0;const _0x16ae4c=[];let _0x339ede=![];for(const _0x58777f of _0x28b719){const _0xccc0a5=_0x58777f[_0x1babb7(0x16c)]();if(_0xccc0a5[_0x1babb7(0x155)](_0x1babb7(0x168))||_0xccc0a5[_0x1babb7(0x161)](_0x1babb7(0x15f))){const _0x792c1d=_0xccc0a5[_0x1babb7(0x16f)](/(\d+)\s+passed/),_0x196b9f=_0xccc0a5[_0x1babb7(0x16f)](/(\d+)\s+failed/),_0x304cb3=_0xccc0a5['match'](/(\d+)\s+total/);if(_0x792c1d)_0x4b2f56=parseInt(_0x792c1d[0x1]);if(_0x196b9f)_0x4971fb=parseInt(_0x196b9f[0x1]);if(_0x304cb3)_0x59abcd=parseInt(_0x304cb3[0x1]);continue;}(_0xccc0a5[_0x1babb7(0x155)]('❯')||_0xccc0a5[_0x1babb7(0x155)]('●')||_0xccc0a5[_0x1babb7(0x155)](_0x1babb7(0x14c)))&&(_0x339ede=!![]),_0x339ede&&(_0xccc0a5[_0x1babb7(0x152)]>0x0&&!_0xccc0a5[_0x1babb7(0x155)](_0x1babb7(0x14e))&&!_0xccc0a5['startsWith'](_0x1babb7(0x168))&&_0x16ae4c[_0x1babb7(0x15b)](_0x58777f));}if(_0x59abcd===0x0&&_0x4b2f56===0x0&&_0x4971fb===0x0){if(_0x50a14b[_0x1babb7(0x161)](_0x1babb7(0x166))&&!_0x50a14b[_0x1babb7(0x161)](_0x1babb7(0x170))){const _0x501c8f=_0x50a14b[_0x1babb7(0x16f)](/(\d+)\s+passed/),_0x4adffe=_0x501c8f?_0x501c8f[0x1]:_0x1babb7(0x156);return _0x1babb7(0x162)+_0x4adffe+'\x20passed';}return _0x50a14b;}if(_0x4971fb===0x0&&_0x4b2f56>0x0)return'Test\x20Runner:\x20'+_0x4b2f56+_0x1babb7(0x159);const _0x5cee73=[_0x1babb7(0x162)+_0x4b2f56+_0x1babb7(0x16d)+_0x4971fb+_0x1babb7(0x16e)+_0x59abcd+'\x20total)'];if(_0x16ae4c[_0x1babb7(0x152)]>0x0){_0x5cee73[_0x1babb7(0x15b)](_0x1babb7(0x165));const _0x2fd69b=0x19,_0x5f2b1a=_0x16ae4c['slice'](0x0,_0x2fd69b);for(const _0x300472 of _0x5f2b1a){_0x5cee73[_0x1babb7(0x15b)]('\x20\x20'+_0x300472);}_0x16ae4c['length']>_0x2fd69b&&_0x5cee73[_0x1babb7(0x15b)](_0x1babb7(0x158)+(_0x16ae4c[_0x1babb7(0x152)]-_0x2fd69b)+_0x1babb7(0x172));}return _0x5cee73['join']('\x0a');}
|
package/filters/python.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a0_0x52e35f=a0_0x3209;(function(_0x399291,_0x5619cb){const _0x28bd19=a0_0x3209,_0x1a259b=_0x399291();while(!![]){try{const _0x3d96db=parseInt(_0x28bd19(0xcf))/0x1+parseInt(_0x28bd19(0xdc))/0x2+-parseInt(_0x28bd19(0xd2))/0x3+parseInt(_0x28bd19(0xdf))/0x4+parseInt(_0x28bd19(0xe0))/0x5*(parseInt(_0x28bd19(0xd1))/0x6)+parseInt(_0x28bd19(0xd4))/0x7+-parseInt(_0x28bd19(0xdd))/0x8*(parseInt(_0x28bd19(0xbe))/0x9);if(_0x3d96db===_0x5619cb)break;else _0x1a259b['push'](_0x1a259b['shift']());}catch(_0xe8c0ae){_0x1a259b['push'](_0x1a259b['shift']());}}}(a0_0x286d,0x52746));Object[a0_0x52e35f(0xc4)](exports,a0_0x52e35f(0xd7),{'value':!![]}),exports[a0_0x52e35f(0xcc)]=filterPytest,exports[a0_0x52e35f(0xd8)]=filterPipInstall;function a0_0x3209(_0x26fff8,_0x2b6ed0){_0x26fff8=_0x26fff8-0xbd;const _0x286dbb=a0_0x286d();let _0x320927=_0x286dbb[_0x26fff8];return _0x320927;}function filterPytest(_0x12acb6){const _0x4ad63c=a0_0x52e35f,_0x5941ca=_0x12acb6[_0x4ad63c(0xc0)]('\x0a');let _0x5e5e55=0x0,_0x11e939=0x0,_0x9a1515=0x0,_0x2b07bc=0x0,_0x52cc56=0x0;const _0x2047b0=[];let _0x1b200e=[],_0x2d9a31=![];for(const _0x4256c9 of _0x5941ca){const _0x37477c=_0x4256c9[_0x4ad63c(0xd0)]();if(_0x37477c['startsWith'](_0x4ad63c(0xc9))||_0x37477c[_0x4ad63c(0xe3)](_0x4ad63c(0xdb))){_0x2d9a31=!![];continue;}else(_0x37477c[_0x4ad63c(0xe3)](_0x4ad63c(0xec))||_0x37477c[_0x4ad63c(0xe3)](_0x4ad63c(0xe1))&&_0x37477c[_0x4ad63c(0xeb)](_0x4ad63c(0xd9)))&&(_0x2d9a31=![],_0x1b200e[_0x4ad63c(0xda)]>0x0&&(_0x2047b0['push'](_0x1b200e),_0x1b200e=[]));if(_0x2d9a31){if(_0x37477c[_0x4ad63c(0xe3)](_0x4ad63c(0xc3)))_0x1b200e[_0x4ad63c(0xda)]>0x0&&(_0x2047b0[_0x4ad63c(0xe5)](_0x1b200e),_0x1b200e=[]),_0x1b200e[_0x4ad63c(0xe5)](_0x37477c);else _0x37477c[_0x4ad63c(0xda)]>0x0&&_0x1b200e[_0x4ad63c(0xe5)](_0x4256c9);continue;}if(_0x37477c[_0x4ad63c(0xe3)](_0x4ad63c(0xe1))&&_0x37477c['includes'](_0x4ad63c(0xed))){const _0x4e96d8=_0x37477c['match'](/(\d+)\s+passed/),_0x5b70e8=_0x37477c['match'](/(\d+)\s+failed/),_0x54923a=_0x37477c['match'](/(\d+)\s+skipped/),_0x5be237=_0x37477c[_0x4ad63c(0xd6)](/(\d+)\s+xfailed/),_0x67604=_0x37477c[_0x4ad63c(0xd6)](/(\d+)\s+xpassed/);if(_0x4e96d8)_0x5e5e55=parseInt(_0x4e96d8[0x1]);if(_0x5b70e8)_0x11e939=parseInt(_0x5b70e8[0x1]);if(_0x54923a)_0x9a1515=parseInt(_0x54923a[0x1]);if(_0x5be237)_0x2b07bc=parseInt(_0x5be237[0x1]);if(_0x67604)_0x52cc56=parseInt(_0x67604[0x1]);}}_0x1b200e[_0x4ad63c(0xda)]>0x0&&_0x2047b0[_0x4ad63c(0xe5)](_0x1b200e);if(_0x5e5e55===0x0&&_0x11e939===0x0&&_0x9a1515===0x0&&_0x2b07bc===0x0&&_0x52cc56===0x0){if(_0x12acb6['includes']('passed')&&!_0x12acb6[_0x4ad63c(0xeb)](_0x4ad63c(0xca)))return _0x4ad63c(0xe8);return _0x12acb6;}if(_0x11e939===0x0&&_0x5e5e55>0x0&&_0x9a1515===0x0&&_0x2b07bc===0x0&&_0x52cc56===0x0)return _0x4ad63c(0xe7)+_0x5e5e55+_0x4ad63c(0xe2);const _0x3a6fc2=[];_0x3a6fc2[_0x4ad63c(0xe5)](_0x4ad63c(0xe7)+_0x5e5e55+_0x4ad63c(0xe2));if(_0x11e939>0x0)_0x3a6fc2[_0x4ad63c(0xe5)](_0x11e939+_0x4ad63c(0xcd));if(_0x9a1515>0x0)_0x3a6fc2[_0x4ad63c(0xe5)](_0x9a1515+_0x4ad63c(0xcb));if(_0x2b07bc>0x0)_0x3a6fc2['push'](_0x2b07bc+'\x20xfailed');if(_0x52cc56>0x0)_0x3a6fc2[_0x4ad63c(0xe5)](_0x52cc56+'\x20xpassed\x20(warning!)');const _0x44a29c=[_0x3a6fc2[_0x4ad63c(0xea)](',\x20')];if(_0x2047b0[_0x4ad63c(0xda)]>0x0){_0x44a29c['push'](_0x4ad63c(0xc1));const _0x58110a=0x3,_0x3d6969=_0x2047b0[_0x4ad63c(0xc8)](0x0,_0x58110a);for(let _0x34f6c0=0x0;_0x34f6c0<_0x3d6969[_0x4ad63c(0xda)];_0x34f6c0++){const _0xad000d=_0x3d6969[_0x34f6c0],_0x40a466=_0xad000d[0x0][_0x4ad63c(0xc6)](/_/g,'')['trim']();_0x44a29c['push']('\x20\x20'+(_0x34f6c0+0x1)+_0x4ad63c(0xc2)+_0x40a466);const _0x3e9094=_0xad000d['slice'](0x1),_0x483d34=_0x3e9094[_0x4ad63c(0xe4)](_0x1a9bb4=>{const _0x23ca27=_0x4ad63c,_0x51c404=_0x1a9bb4['trim']();return _0x51c404[_0x23ca27(0xe3)]('>')||_0x51c404['startsWith']('E\x20\x20\x20')||_0x51c404[_0x23ca27(0xeb)](_0x23ca27(0xbd))||_0x51c404[_0x23ca27(0xeb)](_0x23ca27(0xd3));});for(const _0x2b2a26 of _0x483d34[_0x4ad63c(0xc8)](0x0,0x8)){_0x44a29c[_0x4ad63c(0xe5)](_0x4ad63c(0xde)+_0x2b2a26);}_0x483d34[_0x4ad63c(0xda)]>0x8&&_0x44a29c[_0x4ad63c(0xe5)](_0x4ad63c(0xce)+(_0x483d34[_0x4ad63c(0xda)]-0x8)+_0x4ad63c(0xe9));}_0x2047b0['length']>_0x58110a&&_0x44a29c[_0x4ad63c(0xe5)](_0x4ad63c(0xbf)+(_0x2047b0[_0x4ad63c(0xda)]-_0x58110a)+_0x4ad63c(0xe6));}return _0x44a29c[_0x4ad63c(0xea)]('\x0a');}function filterPipInstall(_0x56691b){const _0x49f48b=a0_0x52e35f,_0x31c3d7=_0x56691b[_0x49f48b(0xc0)]('\x0a'),_0x431774=[];for(const _0x74b0a2 of _0x31c3d7){const _0x334b45=_0x74b0a2[_0x49f48b(0xd0)]();_0x334b45['startsWith'](_0x49f48b(0xd5))&&_0x431774['push'](_0x334b45);}if(_0x431774[_0x49f48b(0xda)]>0x0)return _0x431774[_0x49f48b(0xea)]('\x0a');return _0x31c3d7[_0x49f48b(0xe4)](_0x3d288b=>{const _0x33c8b0=_0x49f48b,_0x38edc1=_0x3d288b[_0x33c8b0(0xd0)]();return!_0x38edc1['startsWith']('Collecting')&&!_0x38edc1[_0x33c8b0(0xe3)](_0x33c8b0(0xc7))&&!_0x38edc1[_0x33c8b0(0xeb)](_0x33c8b0(0xc5))&&!_0x38edc1[_0x33c8b0(0xe3)]('Requirement\x20already\x20satisfied');})[_0x49f48b(0xea)]('\x0a')[_0x49f48b(0xd0)]();}function a0_0x286d(){const _0x5ed2bb=['Successfully\x20installed','match','__esModule','filterPipInstall','passed','length','===\x20ERRORS\x20===','653160huNVWl','8711592LrKIny','\x20\x20\x20\x20','1283096CpKXnH','481775rilWYo','===','\x20passed','startsWith','filter','push','\x20more\x20failures\x20truncated','Pytest:\x20','Pytest:\x20All\x20tests\x20passed','\x20lines\x20of\x20stacktrace\x20truncated)','join','includes','===\x20short\x20test\x20summary\x20info\x20===','\x20in\x20','.py:','9waFBfb','\x20\x20...\x20+','split','\x0aFailures:','.\x20[FAIL]\x20','___','defineProperty','Using\x20cached','replace','Downloading','slice','===\x20FAILURES\x20===','failed','\x20skipped','filterPytest','\x20failed','\x20\x20\x20\x20...\x20(','437789qPcnuO','trim','6icqyKZ','1057404ayRXgd','AssertionError:','4183571qzNCQH'];a0_0x286d=function(){return _0x5ed2bb;};return a0_0x286d();}
|
package/filters/rust.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function a0_0x593f(_0x3719b8,_0x4b1691){_0x3719b8=_0x3719b8-0x1d8;const _0x4df4dc=a0_0x4df4();let _0x593f66=_0x4df4dc[_0x3719b8];return _0x593f66;}const a0_0x1f1659=a0_0x593f;(function(_0x498792,_0x53f0ac){const _0x46eba6=a0_0x593f,_0x2020dd=_0x498792();while(!![]){try{const _0x365af0=parseInt(_0x46eba6(0x204))/0x1+-parseInt(_0x46eba6(0x1f1))/0x2*(parseInt(_0x46eba6(0x1f9))/0x3)+parseInt(_0x46eba6(0x1e5))/0x4+parseInt(_0x46eba6(0x206))/0x5+parseInt(_0x46eba6(0x1fa))/0x6*(parseInt(_0x46eba6(0x20c))/0x7)+parseInt(_0x46eba6(0x202))/0x8+-parseInt(_0x46eba6(0x205))/0x9*(parseInt(_0x46eba6(0x1e2))/0xa);if(_0x365af0===_0x53f0ac)break;else _0x2020dd['push'](_0x2020dd['shift']());}catch(_0xba3b2e){_0x2020dd['push'](_0x2020dd['shift']());}}}(a0_0x4df4,0xa4dbb));Object['defineProperty'](exports,a0_0x1f1659(0x20b),{'value':!![]}),exports[a0_0x1f1659(0x1da)]=filterCargoTest,exports[a0_0x1f1659(0x20a)]=filterCargoBuild;function filterCargoTest(_0x44be3d){const _0x5113fe=a0_0x1f1659,_0x4316c0=_0x44be3d[_0x5113fe(0x1e7)]('\x0a');let _0x2f3c8f=0x0,_0x1fe789=0x0,_0x817618=0x0,_0x3ea514=0x0;const _0xcf8f8=[];let _0x383b1b=![],_0x4c35f9=[];for(const _0x451e51 of _0x4316c0){const _0x1e01c9=_0x451e51[_0x5113fe(0x200)](),_0x49072c=_0x1e01c9[_0x5113fe(0x1de)](/test result:\s*(\w+)\.\s*(\d+)\s+passed;\s*(\d+)\s+failed;\s*(\d+)\s+ignored;\s*(\d+)\s+measured/);if(_0x49072c){_0x2f3c8f+=parseInt(_0x49072c[0x2]),_0x1fe789+=parseInt(_0x49072c[0x3]),_0x817618+=parseInt(_0x49072c[0x4]),_0x3ea514+=parseInt(_0x49072c[0x5]);continue;}if(_0x1e01c9==='failures:'||_0x1e01c9===_0x5113fe(0x1dd)){_0x383b1b=!![];continue;}if(_0x383b1b){if(_0x1e01c9[_0x5113fe(0x1eb)](_0x5113fe(0x1e3))&&_0x1e01c9['endsWith'](_0x5113fe(0x1ee))){if(_0x4c35f9[_0x5113fe(0x1fd)]>0x0)_0xcf8f8[_0x5113fe(0x1ec)](_0x4c35f9[_0x5113fe(0x1ed)]('\x0a'));_0x4c35f9=[_0x1e01c9[_0x5113fe(0x201)](/^-+\s*/,'')[_0x5113fe(0x201)](/\s*-+$/,'')];}else{if(_0x1e01c9==='failures:'||_0x1e01c9[_0x5113fe(0x1eb)]('test\x20result:')){if(_0x4c35f9[_0x5113fe(0x1fd)]>0x0)_0xcf8f8[_0x5113fe(0x1ec)](_0x4c35f9[_0x5113fe(0x1ed)]('\x0a'));_0x4c35f9=[],_0x383b1b=![];}else _0x1e01c9[_0x5113fe(0x1fd)]>0x0&&_0x4c35f9[_0x5113fe(0x1ec)](_0x451e51);}}}if(_0x4c35f9['length']>0x0)_0xcf8f8[_0x5113fe(0x1ec)](_0x4c35f9[_0x5113fe(0x1ed)]('\x0a'));if(_0x2f3c8f===0x0&&_0x1fe789===0x0&&_0x817618===0x0){if(_0x44be3d[_0x5113fe(0x209)](_0x5113fe(0x207)))return _0x5113fe(0x1d9);return _0x44be3d;}if(_0x1fe789===0x0){const _0x10fe4a=['Cargo\x20test:\x20'+_0x2f3c8f+_0x5113fe(0x1fb)];if(_0x817618>0x0)_0x10fe4a[_0x5113fe(0x1ec)](_0x817618+_0x5113fe(0x1db));return _0x10fe4a[_0x5113fe(0x1ed)](',\x20');}const _0x5e3bc3=[_0x5113fe(0x1d8)+_0x2f3c8f+'\x20passed,\x20'+_0x1fe789+_0x5113fe(0x1e0)+_0x817618+_0x5113fe(0x1db)];if(_0xcf8f8[_0x5113fe(0x1fd)]>0x0){_0x5e3bc3[_0x5113fe(0x1ec)]('\x0aFailures:');const _0x5827e8=0x3;for(let _0x3e29ef=0x0;_0x3e29ef<Math['min'](_0xcf8f8[_0x5113fe(0x1fd)],_0x5827e8);_0x3e29ef++){const _0x159b94=_0xcf8f8[_0x3e29ef][_0x5113fe(0x1e7)]('\x0a');_0x5e3bc3['push']('\x20\x20'+(_0x3e29ef+0x1)+'.\x20'+_0x159b94[0x0]);const _0x1c8d6e=_0x159b94['slice'](0x1),_0x48653d=_0x1c8d6e[_0x5113fe(0x1fc)](_0x4eea3e=>_0x4eea3e['trim']()[_0x5113fe(0x1eb)](_0x5113fe(0x1e8))||_0x4eea3e[_0x5113fe(0x209)]('panicked')||_0x4eea3e['includes'](_0x5113fe(0x1df))||_0x4eea3e[_0x5113fe(0x209)](_0x5113fe(0x1e9))||_0x4eea3e['includes'](_0x5113fe(0x1f3)));for(const _0xf51e47 of _0x48653d[_0x5113fe(0x1e4)](0x0,0x5)){_0x5e3bc3[_0x5113fe(0x1ec)](_0x5113fe(0x1ef)+_0xf51e47[_0x5113fe(0x200)]());}}_0xcf8f8[_0x5113fe(0x1fd)]>_0x5827e8&&_0x5e3bc3[_0x5113fe(0x1ec)](_0x5113fe(0x1f2)+(_0xcf8f8[_0x5113fe(0x1fd)]-_0x5827e8)+'\x20more\x20failures');}return _0x5e3bc3[_0x5113fe(0x1ed)]('\x0a');}function a0_0x4df4(){const _0x21b1d2=['join','\x20----','\x20\x20\x20\x20','\x20errors,\x20','6986zViiGC','\x20\x20...\x20+','right:','error[','error:','\x20warnings','\x20more\x20errors','\x20warnings\x20—\x20run\x20cargo\x20clippy\x20for\x20details)','906IToobB','534kcFDcE','\x20passed','filter','length','Cargo:\x20','Cargo:\x20compiled\x20','trim','replace','3411504CkmVgT','\x20crates\x20successfully','535108MxpdeZ','1254429YofXRJ','3487995CSsktK','test\x20result:\x20ok','\x0aWarnings:','includes','filterCargoBuild','__esModule','3157cRyWau','Cargo\x20test:\x20','Cargo\x20test:\x20all\x20tests\x20passed','filterCargoTest','\x20ignored','warning:','----\x20failures\x20----','match','assert','\x20failed,\x20','\x20crates,\x20','90vbcrQh','----\x20','slice','5141160IRUtIS','\x0aErrors:','split','thread','left:','warning[','startsWith','push'];a0_0x4df4=function(){return _0x21b1d2;};return a0_0x4df4();}function filterCargoBuild(_0x34c3ff){const _0x501609=a0_0x1f1659,_0x37f23e=_0x34c3ff[_0x501609(0x1e7)]('\x0a'),_0x24337b=[],_0x3199d7=[];let _0x56d96a=0x0;for(const _0x182ab1 of _0x37f23e){const _0x1d5485=_0x182ab1[_0x501609(0x200)]();if(_0x1d5485[_0x501609(0x1eb)]('Compiling\x20'))_0x56d96a++;else{if(_0x1d5485['startsWith'](_0x501609(0x1ea))||_0x1d5485[_0x501609(0x1eb)](_0x501609(0x1dc)))_0x24337b['push'](_0x1d5485);else{if(_0x1d5485[_0x501609(0x1eb)](_0x501609(0x1f4))||_0x1d5485[_0x501609(0x1eb)](_0x501609(0x1f5)))_0x3199d7['push'](_0x1d5485);}}}if(_0x3199d7['length']===0x0&&_0x24337b[_0x501609(0x1fd)]===0x0)return _0x56d96a>0x0?_0x501609(0x1ff)+_0x56d96a+_0x501609(0x203):_0x34c3ff[_0x501609(0x200)]();const _0x896f9e=[];if(_0x3199d7[_0x501609(0x1fd)]>0x0){_0x896f9e[_0x501609(0x1ec)](_0x501609(0x1fe)+_0x3199d7[_0x501609(0x1fd)]+_0x501609(0x1f0)+_0x24337b[_0x501609(0x1fd)]+_0x501609(0x1f6)),_0x896f9e[_0x501609(0x1ec)](_0x501609(0x1e6));for(const _0x31d13d of _0x3199d7['slice'](0x0,0x5))_0x896f9e[_0x501609(0x1ec)]('\x20\x20'+_0x31d13d);if(_0x3199d7['length']>0x5)_0x896f9e[_0x501609(0x1ec)](_0x501609(0x1f2)+(_0x3199d7['length']-0x5)+_0x501609(0x1f7));}else _0x896f9e[_0x501609(0x1ec)](_0x501609(0x1ff)+_0x56d96a+_0x501609(0x1e1)+_0x24337b[_0x501609(0x1fd)]+_0x501609(0x1f6));if(_0x24337b['length']>0x0&&_0x24337b[_0x501609(0x1fd)]<=0x5){_0x896f9e['push'](_0x501609(0x208));for(const _0x5d50ba of _0x24337b)_0x896f9e[_0x501609(0x1ec)]('\x20\x20'+_0x5d50ba);}else _0x24337b[_0x501609(0x1fd)]>0x5&&_0x896f9e[_0x501609(0x1ec)]('\x0a('+_0x24337b[_0x501609(0x1fd)]+_0x501609(0x1f8));return _0x896f9e['join']('\x0a');}
|
package/filters/shell.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a0_0x23b92a=a0_0x258f;(function(_0x55057e,_0x1ca1ea){const _0x5c1fbe=a0_0x258f,_0x132365=_0x55057e();while(!![]){try{const _0x4f4d34=-parseInt(_0x5c1fbe(0x1dd))/0x1+parseInt(_0x5c1fbe(0x1d0))/0x2+-parseInt(_0x5c1fbe(0x226))/0x3*(-parseInt(_0x5c1fbe(0x1f7))/0x4)+-parseInt(_0x5c1fbe(0x215))/0x5*(-parseInt(_0x5c1fbe(0x1d5))/0x6)+-parseInt(_0x5c1fbe(0x1c9))/0x7*(parseInt(_0x5c1fbe(0x1c2))/0x8)+-parseInt(_0x5c1fbe(0x204))/0x9+-parseInt(_0x5c1fbe(0x1f4))/0xa*(parseInt(_0x5c1fbe(0x20d))/0xb);if(_0x4f4d34===_0x1ca1ea)break;else _0x132365['push'](_0x132365['shift']());}catch(_0x280f23){_0x132365['push'](_0x132365['shift']());}}}(a0_0x7d99,0xb9d14));var __createBinding=this&&this[a0_0x23b92a(0x1da)]||(Object[a0_0x23b92a(0x1c0)]?function(_0x505213,_0x5cd45b,_0xd8289,_0x507858){const _0x5a0fe1=a0_0x23b92a;if(_0x507858===undefined)_0x507858=_0xd8289;var _0x1ca004=Object['getOwnPropertyDescriptor'](_0x5cd45b,_0xd8289);(!_0x1ca004||(_0x5a0fe1(0x1cd)in _0x1ca004?!_0x5cd45b[_0x5a0fe1(0x1db)]:_0x1ca004['writable']||_0x1ca004[_0x5a0fe1(0x1bc)]))&&(_0x1ca004={'enumerable':!![],'get':function(){return _0x5cd45b[_0xd8289];}}),Object[_0x5a0fe1(0x20b)](_0x505213,_0x507858,_0x1ca004);}:function(_0x5c222b,_0x41de8a,_0x5cc492,_0x495c61){if(_0x495c61===undefined)_0x495c61=_0x5cc492;_0x5c222b[_0x495c61]=_0x41de8a[_0x5cc492];}),__setModuleDefault=this&&this['__setModuleDefault']||(Object[a0_0x23b92a(0x1c0)]?function(_0x5bd56a,_0x5b16e6){const _0x20a73b=a0_0x23b92a;Object[_0x20a73b(0x20b)](_0x5bd56a,_0x20a73b(0x214),{'enumerable':!![],'value':_0x5b16e6});}:function(_0x4bcc08,_0x5e668d){_0x4bcc08['default']=_0x5e668d;}),__importStar=this&&this[a0_0x23b92a(0x203)]||(function(){var _0x1c2a11=function(_0x38998c){return _0x1c2a11=Object['getOwnPropertyNames']||function(_0x510b75){const _0x19a693=a0_0x258f;var _0xb8285b=[];for(var _0x2701eb in _0x510b75)if(Object['prototype']['hasOwnProperty'][_0x19a693(0x200)](_0x510b75,_0x2701eb))_0xb8285b[_0xb8285b['length']]=_0x2701eb;return _0xb8285b;},_0x1c2a11(_0x38998c);};return function(_0x3e0fd7){const _0x4c0f10=a0_0x258f;if(_0x3e0fd7&&_0x3e0fd7[_0x4c0f10(0x1db)])return _0x3e0fd7;var _0x2d87e6={};if(_0x3e0fd7!=null){for(var _0x2d6763=_0x1c2a11(_0x3e0fd7),_0x494c17=0x0;_0x494c17<_0x2d6763[_0x4c0f10(0x1be)];_0x494c17++)if(_0x2d6763[_0x494c17]!==_0x4c0f10(0x214))__createBinding(_0x2d87e6,_0x3e0fd7,_0x2d6763[_0x494c17]);}return __setModuleDefault(_0x2d87e6,_0x3e0fd7),_0x2d87e6;};}());Object[a0_0x23b92a(0x20b)](exports,'__esModule',{'value':!![]}),exports[a0_0x23b92a(0x1e8)]=filterLs,exports['filterTree']=filterTree,exports['filterCat']=filterCat,exports[a0_0x23b92a(0x223)]=filterGrep,exports[a0_0x23b92a(0x1f3)]=filterFind;function a0_0x7d99(){const _0x2c70c1=['.mov','yarn.lock','filter','endsWith','indexOf','total\x20','\x20chars,\x20type:\x20','filterGrep','trim','Gemfile.lock','12hNevqG','split','toLowerCase','[minified\x20file]\x20','\x20chars\x20(content\x20omitted\x20—\x20lock\x20files\x20are\x20not\x20useful\x20for\x20LLM\x20context)','packages','.bmp','pnpm-lock.yaml','.sqlite','configurable','sort','length','Cargo.lock','create','dirname','2562792LgDZnQ','entries','.webm','join','.obj','\x20chars\x20across\x20','keys','14PdQCpS','includes','\x20(content\x20omitted\x20—\x20not\x20useful\x20for\x20LLM\x20context)','\x20matches\x20across\x20','get','bun.lockb','\x20directories','1119862NPWMzX','Empty\x20directory','dependencies','.ico','basename','2334hmECSc','\x20more\x20files','.map','.min.js','\x20directories,\x20','__createBinding','__esModule','.bin','205829nsXooJ','.bz2','\x20dependencies,\x20','go.sum','package-lock.json','\x20chars\x20(contains\x20null\x20bytes\x20—\x20binary\x20content\x20omitted)','.tgz','\x20more\x20matches','.sqlite3','.dylib','.pyc','filterLs','\x20line(s)\x20(content\x20omitted\x20—\x20not\x20human-readable)','...\x20+','.pyo','\x20more\x20files\x20with\x20matches','.rar','charCodeAt','composer.lock','.wasm','[binary\x20file]\x20','\x20\x20...\x20+','filterFind','227930gFKDAf','toLocaleString','.jpg','504844wtnAFl','floor','.mp3','cargo.lock','.dat','.jpeg','.gif','substring','\x20files)','call','startsWith','poetry.lock','__importStar','656559vgaHJv','parse','.png','.tar.gz','[lock\x20file]\x20','push','some','defineProperty','\x0a...\x20[','110UsLTCb','\x20matches\x20in\x20this\x20file)','\x0a...\x20(','match','[binary/minified\x20file]\x20','.7z','/\x20(','default','10845IdCPvL','\x20more\x20directories','.mp4','.avi','slice','.db','.gz'];a0_0x7d99=function(){return _0x2c70c1;};return a0_0x7d99();}const path=__importStar(require('path')),LOCK_FILES=[a0_0x23b92a(0x1e1),a0_0x23b92a(0x21d),'pnpm-lock.yaml',a0_0x23b92a(0x1bf),a0_0x23b92a(0x1e0),a0_0x23b92a(0x202),'composer.lock',a0_0x23b92a(0x225),a0_0x23b92a(0x1ce)],BINARY_EXTENSIONS=[a0_0x23b92a(0x1d8),'.min.css',a0_0x23b92a(0x1d7),a0_0x23b92a(0x1f0),a0_0x23b92a(0x206),a0_0x23b92a(0x1f6),a0_0x23b92a(0x1fc),a0_0x23b92a(0x1fd),a0_0x23b92a(0x1d3),a0_0x23b92a(0x1b9),'.webp','.svg','.pdf','.zip',a0_0x23b92a(0x207),a0_0x23b92a(0x1e3),a0_0x23b92a(0x21b),a0_0x23b92a(0x1de),a0_0x23b92a(0x212),a0_0x23b92a(0x1ed),'.exe','.dll','.so',a0_0x23b92a(0x1e6),a0_0x23b92a(0x1dc),a0_0x23b92a(0x1fb),a0_0x23b92a(0x1bb),a0_0x23b92a(0x21a),a0_0x23b92a(0x1e5),'.woff','.woff2','.ttf','.eot','.otf',a0_0x23b92a(0x1f9),a0_0x23b92a(0x217),'.wav',a0_0x23b92a(0x218),a0_0x23b92a(0x21c),a0_0x23b92a(0x1c4),a0_0x23b92a(0x1e7),a0_0x23b92a(0x1eb),'.class','.o',a0_0x23b92a(0x1c6)];function extractFilename(_0x48648){const _0x283ded=a0_0x23b92a,_0x1d4e9b=_0x48648[_0x283ded(0x224)]()[_0x283ded(0x227)](/\s+/);for(let _0x55db97=0x1;_0x55db97<_0x1d4e9b[_0x283ded(0x1be)];_0x55db97++){if(!_0x1d4e9b[_0x55db97][_0x283ded(0x201)]('-'))return _0x1d4e9b[_0x55db97];}return null;}function a0_0x258f(_0x5bf774,_0x452e18){_0x5bf774=_0x5bf774-0x1b9;const _0x7d99ac=a0_0x7d99();let _0x258f38=_0x7d99ac[_0x5bf774];return _0x258f38;}function filterLockFile(_0xb8753f,_0x42a98c){const _0x4afca4=a0_0x23b92a;try{const _0xbd928a=path['basename'](_0x42a98c)[_0x4afca4(0x228)]();if(!LOCK_FILES[_0x4afca4(0x20a)](_0x2b2186=>_0xbd928a===_0x2b2186[_0x4afca4(0x228)]()))return null;const _0x46438b=_0xb8753f['length'];let _0xbf8ffe=0x0;if(_0xbd928a===_0x4afca4(0x1e1))try{const _0x2e987a=JSON[_0x4afca4(0x205)](_0xb8753f);_0xbf8ffe=Object[_0x4afca4(0x1c8)](_0x2e987a['packages']||_0x2e987a[_0x4afca4(0x1d2)]||{})[_0x4afca4(0x1be)];}catch{_0xbf8ffe=(_0xb8753f[_0x4afca4(0x210)](/"resolved":/g)||[])[_0x4afca4(0x1be)];}else{if(_0xbd928a===_0x4afca4(0x21d))_0xbf8ffe=(_0xb8753f[_0x4afca4(0x210)](/^"?[^#\s][^:]*:$/gm)||[])[_0x4afca4(0x1be)];else{if(_0xbd928a===_0x4afca4(0x1fa)||_0xbd928a===_0x4afca4(0x202))_0xbf8ffe=(_0xb8753f[_0x4afca4(0x210)](/\[\[package\]\]/g)||[])[_0x4afca4(0x1be)];else{if(_0xbd928a===_0x4afca4(0x1e0))_0xbf8ffe=Math[_0x4afca4(0x1f8)](_0xb8753f[_0x4afca4(0x227)]('\x0a')[_0x4afca4(0x21e)](_0x4e51e2=>_0x4e51e2['trim']())['length']/0x2);else{if(_0xbd928a===_0x4afca4(0x1ef))try{_0xbf8ffe=JSON[_0x4afca4(0x205)](_0xb8753f)[_0x4afca4(0x22b)]?.[_0x4afca4(0x1be)]||0x0;}catch{}else _0xbd928a===_0x4afca4(0x1ba)?_0xbf8ffe=(_0xb8753f[_0x4afca4(0x210)](/^\s{2}['"@a-z]/gm)||[])['length']:_0xbf8ffe=_0xb8753f[_0x4afca4(0x227)]('\x0a')[_0x4afca4(0x21e)](_0x4cc7a7=>_0x4cc7a7['trim']())[_0x4afca4(0x1be)];}}}}return _0x4afca4(0x208)+path['basename'](_0x42a98c)+':\x20'+_0xbf8ffe+_0x4afca4(0x1df)+_0x46438b[_0x4afca4(0x1f5)]()+_0x4afca4(0x22a);}catch{return null;}}function filterBinaryOrMinified(_0x145588,_0x30874d){const _0x3281bc=a0_0x23b92a;try{if(_0x30874d){const _0xdd02b2=_0x30874d[_0x3281bc(0x228)]();for(const _0x55c568 of BINARY_EXTENSIONS){if(_0xdd02b2[_0x3281bc(0x21f)](_0x55c568))return _0x3281bc(0x211)+path[_0x3281bc(0x1d4)](_0x30874d)+',\x20'+_0x145588[_0x3281bc(0x1be)][_0x3281bc(0x1f5)]()+_0x3281bc(0x222)+_0x55c568+_0x3281bc(0x1cb);}}const _0x4f68c2=_0x145588['substring'](0x0,0x3e8);let _0x230ccd=0x0;for(let _0x12a290=0x0;_0x12a290<_0x4f68c2[_0x3281bc(0x1be)];_0x12a290++){if(_0x4f68c2[_0x3281bc(0x1ee)](_0x12a290)===0x0)_0x230ccd++;}if(_0x230ccd>0x0)return _0x3281bc(0x1f1)+_0x145588[_0x3281bc(0x1be)][_0x3281bc(0x1f5)]()+_0x3281bc(0x1e2);let _0x3f9bfb=0x0;for(let _0x37a244=0x0;_0x37a244<_0x4f68c2['length'];_0x37a244++){const _0x14df49=_0x4f68c2['charCodeAt'](_0x37a244);if(_0x14df49<0x20&&_0x14df49!==0xa&&_0x14df49!==0xd&&_0x14df49!==0x9)_0x3f9bfb++;}if(_0x4f68c2[_0x3281bc(0x1be)]>0x64&&_0x3f9bfb>_0x4f68c2[_0x3281bc(0x1be)]*0.1)return _0x3281bc(0x1f1)+_0x145588[_0x3281bc(0x1be)]['toLocaleString']()+'\x20chars\x20(high\x20non-printable\x20ratio\x20—\x20content\x20omitted)';const _0x513c98=_0x145588['split']('\x0a');if(_0x513c98[_0x3281bc(0x1be)]<=0x3&&_0x145588[_0x3281bc(0x1be)]>0x1388)return _0x3281bc(0x229)+_0x145588[_0x3281bc(0x1be)][_0x3281bc(0x1f5)]()+_0x3281bc(0x1c7)+_0x513c98[_0x3281bc(0x1be)]+_0x3281bc(0x1e9);return null;}catch{return null;}}function filterJsonMinify(_0xa99b68){const _0xa0087a=a0_0x23b92a;try{const _0xa34217=_0xa99b68[_0xa0087a(0x224)]();if(!_0xa34217[_0xa0087a(0x201)]('{')&&!_0xa34217[_0xa0087a(0x201)]('['))return null;const _0x52411f=_0xa34217[_0xa0087a(0x227)]('\x0a');if(_0x52411f[_0xa0087a(0x1be)]<=0x14)return null;const _0x33954b=JSON[_0xa0087a(0x205)](_0xa34217),_0x3e4c67=JSON['stringify'](_0x33954b);if(_0x3e4c67[_0xa0087a(0x1be)]<_0xa34217['length'])return _0x3e4c67;return null;}catch{return null;}}function filterLs(_0x2ce5cb){const _0x1e297a=a0_0x23b92a,_0x2b5bf8=_0x2ce5cb[_0x1e297a(0x227)]('\x0a')[_0x1e297a(0x21e)](_0x3771b2=>_0x3771b2[_0x1e297a(0x224)]()[_0x1e297a(0x1be)]>0x0);if(_0x2b5bf8[_0x1e297a(0x1be)]===0x0)return _0x1e297a(0x1d1);if(_0x2b5bf8['length']<=0x1e)return _0x2ce5cb[_0x1e297a(0x224)]();const _0x12daac=[],_0x28a5a0=[];for(const _0x4eb671 of _0x2b5bf8){const _0x42e335=_0x4eb671[_0x1e297a(0x224)]();if(_0x42e335[_0x1e297a(0x201)](_0x1e297a(0x221))||_0x42e335[_0x1e297a(0x201)]('d')&&_0x42e335[_0x1e297a(0x1ca)]('..'))continue;_0x42e335[_0x1e297a(0x21f)]('/')||_0x42e335[_0x1e297a(0x201)]('d')&&_0x42e335[_0x1e297a(0x1ca)]('\x20')?_0x12daac['push'](_0x42e335):_0x28a5a0[_0x1e297a(0x209)](_0x42e335);}const _0x76c9dc=[];return _0x12daac[_0x1e297a(0x1be)]>0x0&&(_0x12daac[_0x1e297a(0x1be)]<=0xf?_0x76c9dc[_0x1e297a(0x209)](..._0x12daac):(_0x76c9dc['push'](..._0x12daac[_0x1e297a(0x219)](0x0,0xa)),_0x76c9dc[_0x1e297a(0x209)](_0x1e297a(0x1ea)+(_0x12daac[_0x1e297a(0x1be)]-0xa)+_0x1e297a(0x216)))),_0x28a5a0[_0x1e297a(0x1be)]>0x0&&(_0x28a5a0[_0x1e297a(0x1be)]<=0x14?_0x76c9dc[_0x1e297a(0x209)](..._0x28a5a0):(_0x76c9dc[_0x1e297a(0x209)](..._0x28a5a0[_0x1e297a(0x219)](0x0,0xf)),_0x76c9dc['push'](_0x1e297a(0x1ea)+(_0x28a5a0[_0x1e297a(0x1be)]-0xf)+_0x1e297a(0x1d6)))),_0x76c9dc[_0x1e297a(0x209)]('\x0a('+_0x12daac[_0x1e297a(0x1be)]+_0x1e297a(0x1d9)+_0x28a5a0[_0x1e297a(0x1be)]+_0x1e297a(0x1ff)),_0x76c9dc[_0x1e297a(0x1c5)]('\x0a');}function filterTree(_0x8b812){const _0x2026ce=a0_0x23b92a,_0x2ae37e=_0x8b812[_0x2026ce(0x227)]('\x0a');if(_0x2ae37e['length']<=0x32)return _0x8b812[_0x2026ce(0x224)]();const _0x59de10=[];let _0x4d2dfb=0x0,_0x8582d9=0x0,_0x3e5b41=0x0;for(const _0x130143 of _0x2ae37e){const _0x412bd0=_0x130143[_0x2026ce(0x210)](/(\d+)\s+director/),_0xa8d795=_0x130143[_0x2026ce(0x210)](/(\d+)\s+file/);if(_0x412bd0)_0x3e5b41=parseInt(_0x412bd0[0x1]);if(_0xa8d795)_0x8582d9=parseInt(_0xa8d795[0x1]);const _0x1aa39f=(_0x130143['match'](/^[│├└\s─]+/)||[''])[0x0]['length'];_0x1aa39f<=0x4&&(_0x59de10[_0x2026ce(0x209)](_0x130143),_0x4d2dfb++);}return _0x2ae37e[_0x2026ce(0x1be)]>_0x59de10[_0x2026ce(0x1be)]&&_0x59de10['push'](_0x2026ce(0x20f)+_0x3e5b41+_0x2026ce(0x1d9)+_0x8582d9+'\x20files\x20total\x20—\x20deep\x20entries\x20truncated)'),_0x59de10[_0x2026ce(0x1c5)]('\x0a');}function filterCat(_0x56df4d,_0x4a19b5=''){const _0x400e51=a0_0x23b92a,_0x47598c=extractFilename(_0x4a19b5);try{if(_0x47598c){const _0xbc532e=filterLockFile(_0x56df4d,_0x47598c);if(_0xbc532e)return _0xbc532e;}const _0x3e60b5=filterBinaryOrMinified(_0x56df4d,_0x47598c);if(_0x3e60b5)return _0x3e60b5;const _0x362acb=filterJsonMinify(_0x56df4d);if(_0x362acb)return _0x362acb;}catch{}const _0x4fc394=_0x56df4d[_0x400e51(0x227)]('\x0a');if(_0x4fc394[_0x400e51(0x1be)]<=0x64)return _0x56df4d;const _0x518b05=[];return _0x518b05[_0x400e51(0x209)](..._0x4fc394[_0x400e51(0x219)](0x0,0x32)),_0x518b05[_0x400e51(0x209)](_0x400e51(0x20c)+(_0x4fc394[_0x400e51(0x1be)]-0x50)+'\x20lines\x20truncated]\x20...\x0a'),_0x518b05[_0x400e51(0x209)](..._0x4fc394['slice'](-0x1e)),_0x518b05['push']('\x0a('+_0x4fc394[_0x400e51(0x1be)]+'\x20lines\x20total)'),_0x518b05[_0x400e51(0x1c5)]('\x0a');}function filterGrep(_0x108e9f){const _0x4a063b=a0_0x23b92a,_0x4db958=_0x108e9f[_0x4a063b(0x227)]('\x0a')['filter'](_0x4ae932=>_0x4ae932[_0x4a063b(0x224)]()['length']>0x0);if(_0x4db958[_0x4a063b(0x1be)]===0x0)return'No\x20matches\x20found';if(_0x4db958[_0x4a063b(0x1be)]<=0x32)return _0x108e9f[_0x4a063b(0x224)]();const _0x52bf8={},_0x1c15c1=[];for(const _0x13dfdc of _0x4db958){const _0x5cec1b=_0x13dfdc[_0x4a063b(0x220)](':');if(_0x5cec1b>0x0&&_0x5cec1b<0xc8){const _0xc45e09=_0x13dfdc[_0x4a063b(0x1fe)](0x0,_0x5cec1b);if(_0xc45e09['includes']('/')||_0xc45e09[_0x4a063b(0x1ca)]('\x5c')||_0xc45e09[_0x4a063b(0x1ca)]('.')){if(!_0x52bf8[_0xc45e09])_0x52bf8[_0xc45e09]=[];_0x52bf8[_0xc45e09][_0x4a063b(0x209)](_0x13dfdc[_0x4a063b(0x1fe)](_0x5cec1b+0x1)['trim']());continue;}}_0x1c15c1[_0x4a063b(0x209)](_0x13dfdc);}const _0x3ef29c=[],_0x68dcea=Object[_0x4a063b(0x1c8)](_0x52bf8);if(_0x68dcea['length']>0x0){const _0xf0f5bc=0x14,_0x206806=_0x68dcea[_0x4a063b(0x219)](0x0,_0xf0f5bc);for(const _0x32d0dc of _0x206806){const _0x1b6036=_0x52bf8[_0x32d0dc];if(_0x1b6036[_0x4a063b(0x1be)]<=0x3)for(const _0x22e02e of _0x1b6036){_0x3ef29c[_0x4a063b(0x209)](_0x32d0dc+':\x20'+_0x22e02e);}else _0x3ef29c['push'](_0x32d0dc+':\x20'+_0x1b6036[0x0]),_0x3ef29c['push'](_0x32d0dc+':\x20...\x20('+_0x1b6036[_0x4a063b(0x1be)]+_0x4a063b(0x20e));}_0x68dcea[_0x4a063b(0x1be)]>_0xf0f5bc&&_0x3ef29c[_0x4a063b(0x209)](_0x4a063b(0x1ea)+(_0x68dcea[_0x4a063b(0x1be)]-_0xf0f5bc)+_0x4a063b(0x1ec));}if(_0x1c15c1[_0x4a063b(0x1be)]>0x0){const _0x21cd24=0x1e;_0x3ef29c[_0x4a063b(0x209)](..._0x1c15c1['slice'](0x0,_0x21cd24)),_0x1c15c1[_0x4a063b(0x1be)]>_0x21cd24&&_0x3ef29c['push'](_0x4a063b(0x1ea)+(_0x1c15c1['length']-_0x21cd24)+_0x4a063b(0x1e4));}const _0x2707ae=_0x4db958[_0x4a063b(0x1be)];return _0x3ef29c[_0x4a063b(0x209)]('\x0a('+_0x2707ae+_0x4a063b(0x1cc)+(_0x68dcea[_0x4a063b(0x1be)]||'?')+_0x4a063b(0x1ff)),_0x3ef29c[_0x4a063b(0x1c5)]('\x0a');}function filterFind(_0x83ab9e){const _0x17407c=a0_0x23b92a,_0x538f60=_0x83ab9e[_0x17407c(0x227)]('\x0a')[_0x17407c(0x21e)](_0x2cc7b3=>_0x2cc7b3[_0x17407c(0x224)]()[_0x17407c(0x1be)]>0x0);if(_0x538f60[_0x17407c(0x1be)]===0x0)return'No\x20files\x20found';if(_0x538f60[_0x17407c(0x1be)]<=0x32)return _0x83ab9e[_0x17407c(0x224)]();const _0x204c1d={};for(const _0x275ebb of _0x538f60){const _0x8874db=path[_0x17407c(0x1c1)](_0x275ebb['trim']())||'.';_0x204c1d[_0x8874db]=(_0x204c1d[_0x8874db]||0x0)+0x1;}const _0x59e3bb=Object[_0x17407c(0x1c3)](_0x204c1d)[_0x17407c(0x1bd)]((_0x3c8cc3,_0x5c8cca)=>_0x5c8cca[0x1]-_0x3c8cc3[0x1]),_0x99032a=[_0x538f60[_0x17407c(0x1be)]+'\x20files\x20found\x20across\x20'+_0x59e3bb[_0x17407c(0x1be)]+_0x17407c(0x1cf),''],_0x1acde2=0x1e;for(const [_0x163a7,_0x23ce57]of _0x59e3bb[_0x17407c(0x219)](0x0,_0x1acde2)){_0x99032a[_0x17407c(0x209)]('\x20\x20'+_0x163a7+_0x17407c(0x213)+_0x23ce57+_0x17407c(0x1ff));}return _0x59e3bb[_0x17407c(0x1be)]>_0x1acde2&&_0x99032a['push'](_0x17407c(0x1f2)+(_0x59e3bb[_0x17407c(0x1be)]-_0x1acde2)+'\x20more\x20directories'),_0x99032a[_0x17407c(0x1c5)]('\x0a');}
|
|
1
|
+
'use strict';const a0_0x223c89=a0_0x4871;(function(_0x140138,_0x2ef695){const _0x18a889=a0_0x4871,_0x3abc07=_0x140138();while(!![]){try{const _0x21c6d8=-parseInt(_0x18a889(0x243))/0x1*(parseInt(_0x18a889(0x1cd))/0x2)+-parseInt(_0x18a889(0x209))/0x3*(-parseInt(_0x18a889(0x229))/0x4)+-parseInt(_0x18a889(0x23c))/0x5+-parseInt(_0x18a889(0x23f))/0x6+-parseInt(_0x18a889(0x222))/0x7*(parseInt(_0x18a889(0x212))/0x8)+-parseInt(_0x18a889(0x22d))/0x9*(parseInt(_0x18a889(0x1d7))/0xa)+parseInt(_0x18a889(0x1e2))/0xb;if(_0x21c6d8===_0x2ef695)break;else _0x3abc07['push'](_0x3abc07['shift']());}catch(_0x2da892){_0x3abc07['push'](_0x3abc07['shift']());}}}(a0_0x5e0d,0x52750));var __createBinding=this&&this[a0_0x223c89(0x220)]||(Object['create']?function(_0x28ee0d,_0x3aaed3,_0x43b0cc,_0x4c49a0){const _0x188d6c=a0_0x223c89;if(_0x4c49a0===undefined)_0x4c49a0=_0x43b0cc;var _0x555a50=Object[_0x188d6c(0x205)](_0x3aaed3,_0x43b0cc);(!_0x555a50||(_0x188d6c(0x22f)in _0x555a50?!_0x3aaed3[_0x188d6c(0x1f4)]:_0x555a50[_0x188d6c(0x218)]||_0x555a50[_0x188d6c(0x1ea)]))&&(_0x555a50={'enumerable':!![],'get':function(){return _0x3aaed3[_0x43b0cc];}}),Object[_0x188d6c(0x1de)](_0x28ee0d,_0x4c49a0,_0x555a50);}:function(_0x382ab6,_0x308255,_0x677f0f,_0x139036){if(_0x139036===undefined)_0x139036=_0x677f0f;_0x382ab6[_0x139036]=_0x308255[_0x677f0f];}),__setModuleDefault=this&&this[a0_0x223c89(0x1ce)]||(Object['create']?function(_0x4a90f9,_0x8abe3c){const _0x341099=a0_0x223c89;Object['defineProperty'](_0x4a90f9,_0x341099(0x1ec),{'enumerable':!![],'value':_0x8abe3c});}:function(_0x110a6c,_0x2bf82c){const _0x468e25=a0_0x223c89;_0x110a6c[_0x468e25(0x1ec)]=_0x2bf82c;}),__importStar=this&&this[a0_0x223c89(0x22a)]||(function(){var _0x48a7ad=function(_0xfdcf8d){return _0x48a7ad=Object['getOwnPropertyNames']||function(_0x58c66f){const _0x1cc65=a0_0x4871;var _0x3da82a=[];for(var _0xfa7b88 in _0x58c66f)if(Object[_0x1cc65(0x216)][_0x1cc65(0x1dd)][_0x1cc65(0x1e1)](_0x58c66f,_0xfa7b88))_0x3da82a[_0x3da82a[_0x1cc65(0x20d)]]=_0xfa7b88;return _0x3da82a;},_0x48a7ad(_0xfdcf8d);};return function(_0x507d63){const _0x49855f=a0_0x4871;if(_0x507d63&&_0x507d63[_0x49855f(0x1f4)])return _0x507d63;var _0x54c710={};if(_0x507d63!=null){for(var _0x4cda25=_0x48a7ad(_0x507d63),_0x477ae9=0x0;_0x477ae9<_0x4cda25[_0x49855f(0x20d)];_0x477ae9++)if(_0x4cda25[_0x477ae9]!=='default')__createBinding(_0x54c710,_0x507d63,_0x4cda25[_0x477ae9]);}return __setModuleDefault(_0x54c710,_0x507d63),_0x54c710;};}());Object[a0_0x223c89(0x1de)](exports,a0_0x223c89(0x1f4),{'value':!![]}),exports[a0_0x223c89(0x22e)]=filterLs,exports[a0_0x223c89(0x20b)]=filterTree,exports[a0_0x223c89(0x1fd)]=filterCat,exports[a0_0x223c89(0x215)]=filterGrep,exports[a0_0x223c89(0x1d3)]=filterFind;const path=__importStar(require('path')),LOCK_FILES=['package-lock.json','yarn.lock','pnpm-lock.yaml','Cargo.lock','go.sum',a0_0x223c89(0x1fb),a0_0x223c89(0x1cf),a0_0x223c89(0x1d2),a0_0x223c89(0x1f8)],BINARY_EXTENSIONS=[a0_0x223c89(0x233),a0_0x223c89(0x21f),a0_0x223c89(0x20a),a0_0x223c89(0x213),a0_0x223c89(0x1d6),a0_0x223c89(0x1fc),'.jpeg',a0_0x223c89(0x1d4),'.ico','.bmp',a0_0x223c89(0x23a),a0_0x223c89(0x23b),a0_0x223c89(0x1df),a0_0x223c89(0x1d9),a0_0x223c89(0x1d5),a0_0x223c89(0x201),'.gz',a0_0x223c89(0x1e9),'.7z',a0_0x223c89(0x23d),a0_0x223c89(0x1db),'.dll',a0_0x223c89(0x1ee),a0_0x223c89(0x230),a0_0x223c89(0x1f5),a0_0x223c89(0x22c),'.sqlite',a0_0x223c89(0x232),a0_0x223c89(0x207),a0_0x223c89(0x1f6),'.woff2',a0_0x223c89(0x1dc),a0_0x223c89(0x231),'.otf',a0_0x223c89(0x1e6),a0_0x223c89(0x1e3),a0_0x223c89(0x239),a0_0x223c89(0x1fa),a0_0x223c89(0x206),'.webm',a0_0x223c89(0x1f9),a0_0x223c89(0x23e),a0_0x223c89(0x1cb),'.o',a0_0x223c89(0x211)];function extractFilename(_0x152595){const _0x3ff7a6=a0_0x223c89,_0xeb4f49=_0x152595[_0x3ff7a6(0x1e5)]()[_0x3ff7a6(0x1ff)](/\s+/);for(let _0xe773cb=0x1;_0xe773cb<_0xeb4f49[_0x3ff7a6(0x20d)];_0xe773cb++){if(!_0xeb4f49[_0xe773cb][_0x3ff7a6(0x21d)]('-'))return _0xeb4f49[_0xe773cb];}return null;}function a0_0x4871(_0x17652b,_0x45ee0d){_0x17652b=_0x17652b-0x1cb;const _0x5e0d8b=a0_0x5e0d();let _0x4871c2=_0x5e0d8b[_0x17652b];return _0x4871c2;}function filterLockFile(_0x3d5df2,_0x6b6f88){const _0x18416e=a0_0x223c89;try{const _0x3cf7fe=path['basename'](_0x6b6f88)[_0x18416e(0x22b)]();if(!LOCK_FILES['some'](_0x93e5e1=>_0x3cf7fe===_0x93e5e1[_0x18416e(0x22b)]()))return null;const _0x3d9ad6=_0x3d5df2['length'];let _0x3e8b98=0x0;if(_0x3cf7fe===_0x18416e(0x210))try{const _0x34a965=JSON[_0x18416e(0x20c)](_0x3d5df2);_0x3e8b98=Object[_0x18416e(0x202)](_0x34a965[_0x18416e(0x219)]||_0x34a965[_0x18416e(0x21a)]||{})['length'];}catch{_0x3e8b98=(_0x3d5df2[_0x18416e(0x227)](/"resolved":/g)||[])['length'];}else{if(_0x3cf7fe==='yarn.lock')_0x3e8b98=(_0x3d5df2[_0x18416e(0x227)](/^"?[^#\s][^:]*:$/gm)||[])[_0x18416e(0x20d)];else{if(_0x3cf7fe==='cargo.lock'||_0x3cf7fe===_0x18416e(0x1fb))_0x3e8b98=(_0x3d5df2[_0x18416e(0x227)](/\[\[package\]\]/g)||[])[_0x18416e(0x20d)];else{if(_0x3cf7fe===_0x18416e(0x1f0))_0x3e8b98=Math[_0x18416e(0x241)](_0x3d5df2[_0x18416e(0x1ff)]('\x0a')[_0x18416e(0x1cc)](_0x37e7d3=>_0x37e7d3['trim']())['length']/0x2);else{if(_0x3cf7fe===_0x18416e(0x1cf))try{_0x3e8b98=JSON[_0x18416e(0x20c)](_0x3d5df2)[_0x18416e(0x219)]?.['length']||0x0;}catch{}else _0x3cf7fe===_0x18416e(0x228)?_0x3e8b98=(_0x3d5df2[_0x18416e(0x227)](/^\s{2}['"@a-z]/gm)||[])[_0x18416e(0x20d)]:_0x3e8b98=_0x3d5df2['split']('\x0a')['filter'](_0x13425f=>_0x13425f[_0x18416e(0x1e5)]())[_0x18416e(0x20d)];}}}}return _0x18416e(0x1e0)+path[_0x18416e(0x226)](_0x6b6f88)+':\x20'+_0x3e8b98+_0x18416e(0x204)+_0x3d9ad6['toLocaleString']()+'\x20chars\x20(content\x20omitted\x20—\x20lock\x20files\x20are\x20not\x20useful\x20for\x20LLM\x20context)';}catch{return null;}}function a0_0x5e0d(){const _0x234b16=['.dylib','.eot','.db','.min.js',':\x20...\x20(','\x20more\x20files\x20with\x20matches','\x20(content\x20omitted\x20—\x20not\x20useful\x20for\x20LLM\x20context)','\x20chars,\x20type:\x20','includes','.wav','.webp','.svg','825865KXNVgG','.rar','.pyo','919284PtKibM','total\x20','floor','join','1TMEHhz','.class','filter','644896FZSCjD','__setModuleDefault','composer.lock','\x20more\x20matches','\x20files)','Gemfile.lock','filterFind','.gif','.tar.gz','.png','20CySUzL','...\x20+','.zip','push','.exe','.ttf','hasOwnProperty','defineProperty','.pdf','[lock\x20file]\x20','call','12913538AegbXW','.mp4','toLocaleString','trim','.mp3','stringify','dirname','.bz2','configurable','substring','default','\x20directories','.so','\x20lines\x20total)','go.sum','\x20chars\x20(high\x20non-printable\x20ratio\x20—\x20content\x20omitted)','\x0a...\x20(','sort','__esModule','.bin','.woff','Empty\x20directory','bun.lockb','.pyc','.avi','poetry.lock','.jpg','filterCat','\x20matches\x20in\x20this\x20file)','split','\x20chars\x20(contains\x20null\x20bytes\x20—\x20binary\x20content\x20omitted)','.tgz','keys','endsWith','\x20dependencies,\x20','getOwnPropertyDescriptor','.mov','.sqlite3','[binary/minified\x20file]\x20','795603odjyPP','.map','filterTree','parse','length','No\x20matches\x20found','\x20directories,\x20','package-lock.json','.obj','39384ZPIxnN','.wasm','slice','filterGrep','prototype','entries','writable','packages','dependencies','charCodeAt','[binary\x20file]\x20','startsWith','\x20more\x20directories','.min.css','__createBinding','\x20line(s)\x20(content\x20omitted\x20—\x20not\x20human-readable)','91yBODjR','\x20matches\x20across\x20','indexOf','No\x20files\x20found','basename','match','pnpm-lock.yaml','8lkTCVE','__importStar','toLowerCase','.dat','2978019LOmmaY','filterLs','get'];a0_0x5e0d=function(){return _0x234b16;};return a0_0x5e0d();}function filterBinaryOrMinified(_0x42432d,_0x101801){const _0x15a14e=a0_0x223c89;try{if(_0x101801){const _0x240d14=_0x101801[_0x15a14e(0x22b)]();for(const _0x450d28 of BINARY_EXTENSIONS){if(_0x240d14[_0x15a14e(0x203)](_0x450d28))return _0x15a14e(0x208)+path['basename'](_0x101801)+',\x20'+_0x42432d['length']['toLocaleString']()+_0x15a14e(0x237)+_0x450d28+_0x15a14e(0x236);}}const _0x5b8736=_0x42432d[_0x15a14e(0x1eb)](0x0,0x3e8);let _0x55012b=0x0;for(let _0x17e372=0x0;_0x17e372<_0x5b8736[_0x15a14e(0x20d)];_0x17e372++){if(_0x5b8736[_0x15a14e(0x21b)](_0x17e372)===0x0)_0x55012b++;}if(_0x55012b>0x0)return _0x15a14e(0x21c)+_0x42432d[_0x15a14e(0x20d)][_0x15a14e(0x1e4)]()+_0x15a14e(0x200);let _0x71e9e5=0x0;for(let _0x1aa57c=0x0;_0x1aa57c<_0x5b8736[_0x15a14e(0x20d)];_0x1aa57c++){const _0x407ee5=_0x5b8736[_0x15a14e(0x21b)](_0x1aa57c);if(_0x407ee5<0x20&&_0x407ee5!==0xa&&_0x407ee5!==0xd&&_0x407ee5!==0x9)_0x71e9e5++;}if(_0x5b8736['length']>0x64&&_0x71e9e5>_0x5b8736[_0x15a14e(0x20d)]*0.1)return _0x15a14e(0x21c)+_0x42432d[_0x15a14e(0x20d)][_0x15a14e(0x1e4)]()+_0x15a14e(0x1f1);const _0x56e5fa=_0x42432d[_0x15a14e(0x1ff)]('\x0a');if(_0x56e5fa['length']<=0x3&&_0x42432d[_0x15a14e(0x20d)]>0x1388)return'[minified\x20file]\x20'+_0x42432d['length'][_0x15a14e(0x1e4)]()+'\x20chars\x20across\x20'+_0x56e5fa[_0x15a14e(0x20d)]+_0x15a14e(0x221);return null;}catch{return null;}}function filterJsonMinify(_0x573d43){const _0x41d6c9=a0_0x223c89;try{const _0xae867b=_0x573d43[_0x41d6c9(0x1e5)]();if(!_0xae867b[_0x41d6c9(0x21d)]('{')&&!_0xae867b[_0x41d6c9(0x21d)]('['))return null;const _0x35ee82=_0xae867b[_0x41d6c9(0x1ff)]('\x0a');if(_0x35ee82['length']<=0x14)return null;const _0x101176=JSON['parse'](_0xae867b),_0x8e9522=JSON[_0x41d6c9(0x1e7)](_0x101176);if(_0x8e9522[_0x41d6c9(0x20d)]<_0xae867b[_0x41d6c9(0x20d)])return _0x8e9522;return null;}catch{return null;}}function filterLs(_0x151e12){const _0xfebf47=a0_0x223c89,_0x124977=_0x151e12[_0xfebf47(0x1ff)]('\x0a')[_0xfebf47(0x1cc)](_0x57eb2=>_0x57eb2[_0xfebf47(0x1e5)]()[_0xfebf47(0x20d)]>0x0);if(_0x124977['length']===0x0)return _0xfebf47(0x1f7);if(_0x124977[_0xfebf47(0x20d)]<=0x1e)return _0x151e12[_0xfebf47(0x1e5)]();const _0x328908=[],_0x2ed992=[];for(const _0x457394 of _0x124977){const _0x4e38ab=_0x457394[_0xfebf47(0x1e5)]();if(_0x4e38ab[_0xfebf47(0x21d)](_0xfebf47(0x240))||_0x4e38ab['startsWith']('d')&&_0x4e38ab['includes']('..'))continue;_0x4e38ab[_0xfebf47(0x203)]('/')||_0x4e38ab[_0xfebf47(0x21d)]('d')&&_0x4e38ab[_0xfebf47(0x238)]('\x20')?_0x328908[_0xfebf47(0x1da)](_0x4e38ab):_0x2ed992[_0xfebf47(0x1da)](_0x4e38ab);}const _0x1ec358=[];return _0x328908[_0xfebf47(0x20d)]>0x0&&(_0x328908[_0xfebf47(0x20d)]<=0xf?_0x1ec358[_0xfebf47(0x1da)](..._0x328908):(_0x1ec358['push'](..._0x328908[_0xfebf47(0x214)](0x0,0xa)),_0x1ec358[_0xfebf47(0x1da)](_0xfebf47(0x1d8)+(_0x328908[_0xfebf47(0x20d)]-0xa)+_0xfebf47(0x21e)))),_0x2ed992['length']>0x0&&(_0x2ed992[_0xfebf47(0x20d)]<=0x14?_0x1ec358[_0xfebf47(0x1da)](..._0x2ed992):(_0x1ec358['push'](..._0x2ed992['slice'](0x0,0xf)),_0x1ec358[_0xfebf47(0x1da)]('...\x20+'+(_0x2ed992[_0xfebf47(0x20d)]-0xf)+'\x20more\x20files'))),_0x1ec358[_0xfebf47(0x1da)]('\x0a('+_0x328908['length']+'\x20directories,\x20'+_0x2ed992[_0xfebf47(0x20d)]+'\x20files)'),_0x1ec358[_0xfebf47(0x242)]('\x0a');}function filterTree(_0x22c08f){const _0x27dab3=a0_0x223c89,_0x15da7d=_0x22c08f[_0x27dab3(0x1ff)]('\x0a');if(_0x15da7d[_0x27dab3(0x20d)]<=0x32)return _0x22c08f[_0x27dab3(0x1e5)]();const _0x106398=[];let _0x4afa2c=0x0,_0x50e6f7=0x0,_0x1d57a5=0x0;for(const _0x417ccb of _0x15da7d){const _0x389a31=_0x417ccb[_0x27dab3(0x227)](/(\d+)\s+director/),_0x52a776=_0x417ccb[_0x27dab3(0x227)](/(\d+)\s+file/);if(_0x389a31)_0x1d57a5=parseInt(_0x389a31[0x1]);if(_0x52a776)_0x50e6f7=parseInt(_0x52a776[0x1]);const _0x42f560=(_0x417ccb[_0x27dab3(0x227)](/^[│├└\s─]+/)||[''])[0x0][_0x27dab3(0x20d)];_0x42f560<=0x4&&(_0x106398[_0x27dab3(0x1da)](_0x417ccb),_0x4afa2c++);}return _0x15da7d['length']>_0x106398['length']&&_0x106398[_0x27dab3(0x1da)](_0x27dab3(0x1f2)+_0x1d57a5+_0x27dab3(0x20f)+_0x50e6f7+'\x20files\x20total\x20—\x20deep\x20entries\x20truncated)'),_0x106398['join']('\x0a');}function filterCat(_0x4266a,_0x431e1a=''){const _0x1007d3=a0_0x223c89,_0xbf2421=extractFilename(_0x431e1a);try{if(_0xbf2421){const _0x4f9e7f=filterLockFile(_0x4266a,_0xbf2421);if(_0x4f9e7f)return _0x4f9e7f;}const _0x462564=filterBinaryOrMinified(_0x4266a,_0xbf2421);if(_0x462564)return _0x462564;const _0x56c90c=filterJsonMinify(_0x4266a);if(_0x56c90c)return _0x56c90c;}catch{}const _0x2ee603=_0x4266a[_0x1007d3(0x1ff)]('\x0a');if(_0x2ee603[_0x1007d3(0x20d)]<=0x64)return _0x4266a;const _0x144512=[];return _0x144512['push'](..._0x2ee603[_0x1007d3(0x214)](0x0,0x32)),_0x144512[_0x1007d3(0x1da)]('\x0a...\x20['+(_0x2ee603[_0x1007d3(0x20d)]-0x50)+'\x20lines\x20truncated]\x20...\x0a'),_0x144512[_0x1007d3(0x1da)](..._0x2ee603['slice'](-0x1e)),_0x144512[_0x1007d3(0x1da)]('\x0a('+_0x2ee603['length']+_0x1007d3(0x1ef)),_0x144512[_0x1007d3(0x242)]('\x0a');}function filterGrep(_0x467a1d){const _0xc5f7d7=a0_0x223c89,_0x16dfa6=_0x467a1d['split']('\x0a')[_0xc5f7d7(0x1cc)](_0x5cf0ff=>_0x5cf0ff[_0xc5f7d7(0x1e5)]()[_0xc5f7d7(0x20d)]>0x0);if(_0x16dfa6[_0xc5f7d7(0x20d)]===0x0)return _0xc5f7d7(0x20e);if(_0x16dfa6[_0xc5f7d7(0x20d)]<=0x32)return _0x467a1d[_0xc5f7d7(0x1e5)]();const _0x354f24={},_0x307d1e=[];for(const _0x3956da of _0x16dfa6){const _0x308581=_0x3956da[_0xc5f7d7(0x224)](':');if(_0x308581>0x0&&_0x308581<0xc8){const _0x3fcbd2=_0x3956da[_0xc5f7d7(0x1eb)](0x0,_0x308581);if(_0x3fcbd2[_0xc5f7d7(0x238)]('/')||_0x3fcbd2[_0xc5f7d7(0x238)]('\x5c')||_0x3fcbd2[_0xc5f7d7(0x238)]('.')){if(!_0x354f24[_0x3fcbd2])_0x354f24[_0x3fcbd2]=[];_0x354f24[_0x3fcbd2]['push'](_0x3956da['substring'](_0x308581+0x1)[_0xc5f7d7(0x1e5)]());continue;}}_0x307d1e[_0xc5f7d7(0x1da)](_0x3956da);}const _0x33017c=[],_0x3d67c1=Object[_0xc5f7d7(0x202)](_0x354f24);if(_0x3d67c1[_0xc5f7d7(0x20d)]>0x0){const _0x31549a=0x14,_0x5e7b9e=_0x3d67c1[_0xc5f7d7(0x214)](0x0,_0x31549a);for(const _0x253809 of _0x5e7b9e){const _0x3e6602=_0x354f24[_0x253809];if(_0x3e6602[_0xc5f7d7(0x20d)]<=0x3)for(const _0x20c7c7 of _0x3e6602){_0x33017c[_0xc5f7d7(0x1da)](_0x253809+':\x20'+_0x20c7c7);}else _0x33017c[_0xc5f7d7(0x1da)](_0x253809+':\x20'+_0x3e6602[0x0]),_0x33017c[_0xc5f7d7(0x1da)](_0x253809+_0xc5f7d7(0x234)+_0x3e6602['length']+_0xc5f7d7(0x1fe));}_0x3d67c1['length']>_0x31549a&&_0x33017c[_0xc5f7d7(0x1da)]('...\x20+'+(_0x3d67c1[_0xc5f7d7(0x20d)]-_0x31549a)+_0xc5f7d7(0x235));}if(_0x307d1e[_0xc5f7d7(0x20d)]>0x0){const _0x2282d0=0x1e;_0x33017c[_0xc5f7d7(0x1da)](..._0x307d1e['slice'](0x0,_0x2282d0)),_0x307d1e[_0xc5f7d7(0x20d)]>_0x2282d0&&_0x33017c[_0xc5f7d7(0x1da)](_0xc5f7d7(0x1d8)+(_0x307d1e[_0xc5f7d7(0x20d)]-_0x2282d0)+_0xc5f7d7(0x1d0));}const _0x2191ba=_0x16dfa6['length'];return _0x33017c[_0xc5f7d7(0x1da)]('\x0a('+_0x2191ba+_0xc5f7d7(0x223)+(_0x3d67c1[_0xc5f7d7(0x20d)]||'?')+_0xc5f7d7(0x1d1)),_0x33017c[_0xc5f7d7(0x242)]('\x0a');}function filterFind(_0x2b51f6){const _0x3cdc4c=a0_0x223c89,_0x111e4c=_0x2b51f6[_0x3cdc4c(0x1ff)]('\x0a')[_0x3cdc4c(0x1cc)](_0x4895d1=>_0x4895d1[_0x3cdc4c(0x1e5)]()[_0x3cdc4c(0x20d)]>0x0);if(_0x111e4c['length']===0x0)return _0x3cdc4c(0x225);if(_0x111e4c['length']<=0x32)return _0x2b51f6[_0x3cdc4c(0x1e5)]();const _0x346744={};for(const _0xa85ae9 of _0x111e4c){const _0x2f596f=path[_0x3cdc4c(0x1e8)](_0xa85ae9['trim']())||'.';_0x346744[_0x2f596f]=(_0x346744[_0x2f596f]||0x0)+0x1;}const _0x11c3e2=Object[_0x3cdc4c(0x217)](_0x346744)[_0x3cdc4c(0x1f3)]((_0x349fdb,_0x33a79f)=>_0x33a79f[0x1]-_0x349fdb[0x1]),_0x238e12=[_0x111e4c[_0x3cdc4c(0x20d)]+'\x20files\x20found\x20across\x20'+_0x11c3e2['length']+_0x3cdc4c(0x1ed),''],_0x10db4b=0x1e;for(const [_0x3442ed,_0x3ba74a]of _0x11c3e2[_0x3cdc4c(0x214)](0x0,_0x10db4b)){_0x238e12[_0x3cdc4c(0x1da)]('\x20\x20'+_0x3442ed+'/\x20('+_0x3ba74a+'\x20files)');}return _0x11c3e2[_0x3cdc4c(0x20d)]>_0x10db4b&&_0x238e12[_0x3cdc4c(0x1da)]('\x20\x20...\x20+'+(_0x11c3e2[_0x3cdc4c(0x20d)]-_0x10db4b)+_0x3cdc4c(0x21e)),_0x238e12['join']('\x0a');}
|
package/mcp.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function a0_0x1d84(_0x22f783,_0xe95cb7){_0x22f783=_0x22f783-0x69;const _0x7d3f28=a0_0x7d3f();let _0x1d844d=_0x7d3f28[_0x22f783];return _0x1d844d;}const a0_0x462d6f=a0_0x1d84;(function(_0x249ce3,_0x12dd16){const _0xd0d9a5=a0_0x1d84,_0x8f8c28=_0x249ce3();while(!![]){try{const _0x306ecf=parseInt(_0xd0d9a5(0x6d))/0x1*(parseInt(_0xd0d9a5(0x92))/0x2)+parseInt(_0xd0d9a5(0x7e))/0x3*(-parseInt(_0xd0d9a5(0x9c))/0x4)+-parseInt(_0xd0d9a5(0xa0))/0x5*(-parseInt(_0xd0d9a5(0x6b))/0x6)+parseInt(_0xd0d9a5(0x9b))/0x7*(-parseInt(_0xd0d9a5(0x79))/0x8)+-parseInt(_0xd0d9a5(0x6c))/0x9*(-parseInt(_0xd0d9a5(0x77))/0xa)+parseInt(_0xd0d9a5(0x93))/0xb+-parseInt(_0xd0d9a5(0x72))/0xc*(parseInt(_0xd0d9a5(0x98))/0xd);if(_0x306ecf===_0x12dd16)break;else _0x8f8c28['push'](_0x8f8c28['shift']());}catch(_0x32de39){_0x8f8c28['push'](_0x8f8c28['shift']());}}}(a0_0x7d3f,0x61e6f));var __createBinding=this&&this[a0_0x462d6f(0x87)]||(Object[a0_0x462d6f(0x96)]?function(_0x1c8022,_0x4c30ac,_0x11101c,_0x3834c0){const _0x1fac4a=a0_0x462d6f;if(_0x3834c0===undefined)_0x3834c0=_0x11101c;var _0x477f2a=Object[_0x1fac4a(0x88)](_0x4c30ac,_0x11101c);(!_0x477f2a||(_0x1fac4a(0x8a)in _0x477f2a?!_0x4c30ac[_0x1fac4a(0x7b)]:_0x477f2a['writable']||_0x477f2a[_0x1fac4a(0x80)]))&&(_0x477f2a={'enumerable':!![],'get':function(){return _0x4c30ac[_0x11101c];}}),Object[_0x1fac4a(0x71)](_0x1c8022,_0x3834c0,_0x477f2a);}:function(_0x27a144,_0x3b7bb3,_0x46c598,_0x34a0eb){if(_0x34a0eb===undefined)_0x34a0eb=_0x46c598;_0x27a144[_0x34a0eb]=_0x3b7bb3[_0x46c598];}),__setModuleDefault=this&&this['__setModuleDefault']||(Object[a0_0x462d6f(0x96)]?function(_0x4123b9,_0x2d178c){const _0x283dde=a0_0x462d6f;Object[_0x283dde(0x71)](_0x4123b9,_0x283dde(0x8c),{'enumerable':!![],'value':_0x2d178c});}:function(_0x5bb8df,_0x1fa7c8){const _0xa7d277=a0_0x462d6f;_0x5bb8df[_0xa7d277(0x8c)]=_0x1fa7c8;}),__importStar=this&&this[a0_0x462d6f(0x83)]||(function(){var _0x2d47f9=function(_0x167a73){const _0xccf81c=a0_0x1d84;return _0x2d47f9=Object[_0xccf81c(0x74)]||function(_0x4714a6){const _0x32e9bf=_0xccf81c;var _0xba7c74=[];for(var _0x3d8b85 in _0x4714a6)if(Object['prototype'][_0x32e9bf(0x8b)][_0x32e9bf(0x91)](_0x4714a6,_0x3d8b85))_0xba7c74[_0xba7c74[_0x32e9bf(0x8d)]]=_0x3d8b85;return _0xba7c74;},_0x2d47f9(_0x167a73);};return function(_0x468e4a){const _0x36ebd7=a0_0x1d84;if(_0x468e4a&&_0x468e4a[_0x36ebd7(0x7b)])return _0x468e4a;var _0x26edb2={};if(_0x468e4a!=null){for(var _0x2004c5=_0x2d47f9(_0x468e4a),_0x4c9248=0x0;_0x4c9248<_0x2004c5['length'];_0x4c9248++)if(_0x2004c5[_0x4c9248]!==_0x36ebd7(0x8c))__createBinding(_0x26edb2,_0x468e4a,_0x2004c5[_0x4c9248]);}return __setModuleDefault(_0x26edb2,_0x468e4a),_0x26edb2;};}());function a0_0x7d3f(){const _0x5f52b9=['4001067iKMTAV','311105ojjUKl','isArray','tracker','stdout','defineProperty','2544ecAfGm','inherit','getOwnPropertyNames','close','pipe','10ctArBm','mcp\x20tool\x20(id:\x20','944UJRRMa','type','__esModule','message','spawn','204lROvca','logExecution','configurable','compressOutput','stringify','__importStar','parse','redaction_enabled','content','__createBinding','getOwnPropertyDescriptor','write','get','hasOwnProperty','default','length','error','result','trim','call','2Zdnwmi','3929926XFImun','createInterface','stdin','create','getConfig','33839rvnAuv','text','jsonrpc','28448dUHCCh','484seubbQ','2.0','exit','./tracker','1638445zvBvlk','mcp-tool-call','runMcpProxy','6Rpqhwa'];a0_0x7d3f=function(){return _0x5f52b9;};return a0_0x7d3f();}Object[a0_0x462d6f(0x71)](exports,a0_0x462d6f(0x7b),{'value':!![]}),exports[a0_0x462d6f(0x6a)]=runMcpProxy;const child_process_1=require('child_process'),readline=__importStar(require('readline')),filters_1=require('./filters'),tracker_1=require(a0_0x462d6f(0x9f));function runMcpProxy(_0xd4f9d4,_0x25e6a3){const _0x59fb77=a0_0x462d6f,_0x58800e=(0x0,child_process_1[_0x59fb77(0x7d)])(_0xd4f9d4,_0x25e6a3,{'stdio':[_0x59fb77(0x76),_0x59fb77(0x76),_0x59fb77(0x73)]});process[_0x59fb77(0x95)][_0x59fb77(0x76)](_0x58800e[_0x59fb77(0x95)]);const _0x252b91=readline[_0x59fb77(0x94)]({'input':_0x58800e[_0x59fb77(0x70)],'terminal':![]});_0x252b91['on']('line',_0xc34fcd=>{const _0x2dfa6b=_0x59fb77;try{const _0x5a1bdc=JSON[_0x2dfa6b(0x84)](_0xc34fcd);if(_0x5a1bdc&&_0x5a1bdc[_0x2dfa6b(0x9a)]===_0x2dfa6b(0x9d)&&_0x5a1bdc['id']!==undefined&&_0x5a1bdc[_0x2dfa6b(0x8f)]&&Array[_0x2dfa6b(0x6e)](_0x5a1bdc[_0x2dfa6b(0x8f)][_0x2dfa6b(0x86)])){let _0x36f3f7=![];for(const _0x4c9664 of _0x5a1bdc['result'][_0x2dfa6b(0x86)]){if(_0x4c9664[_0x2dfa6b(0x7a)]===_0x2dfa6b(0x99)&&typeof _0x4c9664[_0x2dfa6b(0x99)]==='string'&&_0x4c9664[_0x2dfa6b(0x99)][_0x2dfa6b(0x90)]()['length']>0x0){const _0x1b5cb1=_0x4c9664[_0x2dfa6b(0x99)],_0x1e83d0=(0x0,filters_1[_0x2dfa6b(0x81)])(_0x2dfa6b(0x69),_0x1b5cb1,'',tracker_1[_0x2dfa6b(0x6f)][_0x2dfa6b(0x97)]()[_0x2dfa6b(0x85)]);tracker_1[_0x2dfa6b(0x6f)][_0x2dfa6b(0x7f)](_0x2dfa6b(0x78)+_0x5a1bdc['id']+')',_0x1b5cb1,_0x1e83d0,0x0),_0x4c9664[_0x2dfa6b(0x99)]=_0x1e83d0,_0x36f3f7=!![];}}_0x36f3f7?process[_0x2dfa6b(0x70)][_0x2dfa6b(0x89)](JSON[_0x2dfa6b(0x82)](_0x5a1bdc)+'\x0a'):process['stdout']['write'](_0xc34fcd+'\x0a');}else process[_0x2dfa6b(0x70)][_0x2dfa6b(0x89)](_0xc34fcd+'\x0a');}catch{process[_0x2dfa6b(0x70)][_0x2dfa6b(0x89)](_0xc34fcd+'\x0a');}}),_0x58800e['on'](_0x59fb77(0x75),_0x453e8d=>{const _0x481686=_0x59fb77;process[_0x481686(0x9e)](_0x453e8d||0x0);}),_0x58800e['on'](_0x59fb77(0x8e),_0x2b33ec=>{const _0xcda10=_0x59fb77;console[_0xcda10(0x8e)]('[TrimPrompt]\x20MCP\x20Server\x20Spawn\x20Error:\x20'+_0x2b33ec[_0xcda10(0x7c)]),process[_0xcda10(0x9e)](0x1);});}
|
package/package.json
CHANGED
package/redactor.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a0_0x3be992=a0_0x214a;(function(_0x3ca43b,_0x2367e0){const _0x16b7d0=a0_0x214a,_0x43b1f4=_0x3ca43b();while(!![]){try{const _0xfe06e5=parseInt(_0x16b7d0(0x77))/0x1*(-parseInt(_0x16b7d0(0xa4))/0x2)+-parseInt(_0x16b7d0(0xb3))/0x3*(parseInt(_0x16b7d0(0x9e))/0x4)+-parseInt(_0x16b7d0(0xae))/0x5+-parseInt(_0x16b7d0(0x88))/0x6+-parseInt(_0x16b7d0(0x91))/0x7*(-parseInt(_0x16b7d0(0x97))/0x8)+-parseInt(_0x16b7d0(0x82))/0x9*(-parseInt(_0x16b7d0(0x90))/0xa)+parseInt(_0x16b7d0(0x8f))/0xb;if(_0xfe06e5===_0x2367e0)break;else _0x43b1f4['push'](_0x43b1f4['shift']());}catch(_0x31d58a){_0x43b1f4['push'](_0x43b1f4['shift']());}}}(a0_0x3b33,0x4ff22));function a0_0x3b33(){const _0x44da8c=['AWS\x20Access\x20Key','1572yveSEM','[REDACTED_STRIPE_KEY]','Bearer\x20[REDACTED_TOKEN]','Slack\x20Token','__esModule','1WpLqLj','Twilio\x20Key','rules','type','Generic\x20API\x20Key/Secret/Password','[REDACTED_IP]','[REDACTED_SLACK_TOKEN]','[REDACTED_DB_CONNECTION]','[REDACTED_GITHUB_TOKEN]','Anthropic\x20API\x20Key','github_token','9EbyIrv','aws_secret','OpenAI\x20API\x20Key','defineProperty','AWS\x20Secret\x20Key','GitHub\x20Token','861918EVakJi','loadDefaultRules','JWT\x20Token','aws_key','Database\x20Connection\x20String','includes','sendgrid_key','10466808cgDpUa','3185990SwERkq','226933EdgPCd','GCP\x20Service\x20Account\x20Key','replace','regex','redactor','text','16rEJGJn','push','private_key','bearer','db_connection','slack_token','[REDACTED_SENDGRID_KEY]','4124UDPrFp','gcp_key','Basic\x20Auth','[REDACTED_AWS_KEY]','match','\x22private_key\x22:\x20\x22[REDACTED_GCP_PRIVATE_KEY]\x22','576866OHJsUH','[REDACTED_PRIVATE_KEY]','alert','Private\x20Key\x20Block','ip_address','redactWithAudit','length','IPv4\x20Address\x20(non-local)','[REDACTED_ANTHROPIC_KEY]','email','175885OrDLvz','Stripe\x20Key','Redactor','twilio_key'];a0_0x3b33=function(){return _0x44da8c;};return a0_0x3b33();}Object[a0_0x3be992(0x85)](exports,a0_0x3be992(0x76),{'value':!![]}),exports[a0_0x3be992(0x95)]=exports[a0_0x3be992(0xb0)]=void 0x0;function a0_0x214a(_0x1bec37,_0x178d9a){_0x1bec37=_0x1bec37-0x73;const _0x3b33c8=a0_0x3b33();let _0x214abe=_0x3b33c8[_0x1bec37];return _0x214abe;}class Redactor{['rules']=[];constructor(){const _0x337752=a0_0x3be992;this[_0x337752(0x89)]();}['loadDefaultRules'](){const _0x11f624=a0_0x3be992;this[_0x11f624(0x79)]=[{'name':_0x11f624(0xb2),'type':_0x11f624(0x8b),'regex':/\b(AKIA[0-9A-Z]{16})\b/g,'replacement':_0x11f624(0xa1)},{'name':_0x11f624(0x86),'type':_0x11f624(0x83),'regex':/(aws_secret_access_key|AWS_SECRET_ACCESS_KEY)[\s:=]+[A-Za-z0-9/+=]{30,}/gi,'replacement':'$1=[REDACTED_AWS_SECRET]'},{'name':_0x11f624(0x92),'type':_0x11f624(0x9f),'regex':/"private_key"\s*:\s*"-----BEGIN[^"]+-----END[^"]*"/g,'replacement':_0x11f624(0xa3)},{'name':'Azure\x20Connection\x20String','type':'azure_conn','regex':/DefaultEndpointsProtocol=https?;AccountName=[^;]+;AccountKey=[^;]+;?[^\s]*/gi,'replacement':'[REDACTED_AZURE_CONNECTION]'},{'name':_0x11f624(0x80),'type':'anthropic_key','regex':/\bsk-ant-api\d{2}-[A-Za-z0-9_-]{20,}\b/g,'replacement':_0x11f624(0xac)},{'name':_0x11f624(0x84),'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':_0x11f624(0x87),'type':_0x11f624(0x81),'regex':/\b(ghp_[A-Za-z0-9]{20,}|gho_[A-Za-z0-9]{20,}|github_pat_[A-Za-z0-9_]{22,})\b/g,'replacement':_0x11f624(0x7f)},{'name':_0x11f624(0x75),'type':_0x11f624(0x9c),'regex':/\b(xoxb-[0-9A-Za-z-]+|xoxp-[0-9A-Za-z-]+|xapp-[0-9A-Za-z-]+)\b/g,'replacement':_0x11f624(0x7d)},{'name':_0x11f624(0xaf),'type':'stripe_key','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':_0x11f624(0x73)},{'name':_0x11f624(0x78),'type':_0x11f624(0xb1),'regex':/\bSK[0-9a-f]{32}\b/g,'replacement':'[REDACTED_TWILIO_KEY]'},{'name':'SendGrid\x20Key','type':_0x11f624(0x8e),'regex':/\bSG\.[A-Za-z0-9_-]{22,}\.[A-Za-z0-9_-]{22,}\b/g,'replacement':_0x11f624(0x9d)},{'name':_0x11f624(0xa7),'type':_0x11f624(0x99),'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':_0x11f624(0xa5)},{'name':_0x11f624(0x8a),'type':'jwt','regex':/\beyJ[A-Za-z0-9_-]{10,}\.eyJ[A-Za-z0-9_-]{10,}\.[A-Za-z0-9_-]{10,}\b/g,'replacement':'[REDACTED_JWT]'},{'name':'Bearer\x20Token','type':_0x11f624(0x9a),'regex':/Bearer\s+[A-Za-z0-9_\-.]{20,}/gi,'replacement':_0x11f624(0x74)},{'name':_0x11f624(0xa0),'type':'basic_auth','regex':/Basic\s+[A-Za-z0-9+/=]{10,}/gi,'replacement':'Basic\x20[REDACTED_AUTH]'},{'name':_0x11f624(0x8c),'type':_0x11f624(0x9b),'regex':/(mongodb(\+srv)?|postgres|postgresql|mysql|redis|amqp|sqlite):\/\/[A-Za-z0-9_]+:[^@\s\n]+@[^\s\n]+/gi,'replacement':_0x11f624(0x7e)},{'name':_0x11f624(0x7b),'type':'generic_credential','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':_0x11f624(0xab),'type':_0x11f624(0xa8),'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':_0x11f624(0x7c),'alert':![]},{'name':'Email\x20Address','type':_0x11f624(0xad),'regex':/\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b/g,'replacement':'[REDACTED_EMAIL]','alert':![]}];}['redact'](_0x1f750e){const _0x1fd93a=a0_0x3be992;return this[_0x1fd93a(0xa9)](_0x1f750e)[_0x1fd93a(0x96)];}[a0_0x3be992(0xa9)](_0x1eb46d){const _0x333de2=a0_0x3be992;let _0x1463b4=_0x1eb46d,_0x5254fc=0x0;const _0x2e1e15=[];for(const _0x38c509 of this[_0x333de2(0x79)]){const _0xc58b25=_0x1463b4[_0x333de2(0xa2)](_0x38c509[_0x333de2(0x94)]);_0xc58b25&&_0xc58b25[_0x333de2(0xaa)]>0x0&&(_0x38c509[_0x333de2(0xa6)]!==![]&&(_0x5254fc+=_0xc58b25['length'],!_0x2e1e15[_0x333de2(0x8d)](_0x38c509[_0x333de2(0x7a)])&&_0x2e1e15[_0x333de2(0x98)](_0x38c509[_0x333de2(0x7a)])),_0x1463b4=_0x1463b4[_0x333de2(0x93)](_0x38c509[_0x333de2(0x94)],_0x38c509['replacement']));}return{'text':_0x1463b4,'secretsFound':_0x5254fc,'secretTypes':_0x2e1e15};}}exports[a0_0x3be992(0xb0)]=Redactor,exports[a0_0x3be992(0x95)]=new Redactor();
|
package/seed.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a0_0x39adcb=a0_0x4ca5;(function(_0x9d4bc0,_0x2d6faf){const _0x4ce2b8=a0_0x4ca5,_0x3dec88=_0x9d4bc0();while(!![]){try{const _0x126f62=-parseInt(_0x4ce2b8(0x1ba))/0x1*(parseInt(_0x4ce2b8(0x1b5))/0x2)+-parseInt(_0x4ce2b8(0x1c4))/0x3+-parseInt(_0x4ce2b8(0x1b2))/0x4+parseInt(_0x4ce2b8(0x1be))/0x5+-parseInt(_0x4ce2b8(0x1cf))/0x6+-parseInt(_0x4ce2b8(0x1c3))/0x7*(parseInt(_0x4ce2b8(0x1b1))/0x8)+parseInt(_0x4ce2b8(0x1c9))/0x9*(parseInt(_0x4ce2b8(0x1b7))/0xa);if(_0x126f62===_0x2d6faf)break;else _0x3dec88['push'](_0x3dec88['shift']());}catch(_0x5a966d){_0x3dec88['push'](_0x3dec88['shift']());}}}(a0_0xa303,0x58993));function a0_0xa303(){const _0x26bcf4=['tracker','Test\x20suite\x20run\x20starting...\x0a','1035095VhfnbD','All\x20303\x20tests\x20passed\x20in\x204.22s.','docker\x20build:\x201420\x20packages\x20added.\x20Successfully\x20built\x20image.','gemini-1-5-pro','npm\x20run\x20build','21kKIOnT','90735wpfhvr','repeat','Successfully\x20built\x20image.','__esModule','logExecution','9oEFkSr','Compilation\x20Output:\x0a','test_auth.py\x20PASS\x0a','defineProperty','docker\x20build\x20.','Step\x203/10\x20:\x20RUN\x20npm\x20install\x0a','1221690hgXNwO','Sending\x20build\x20context\x20to\x20Docker\x20daemon...\x0a','Optimizing\x20assets...\x0a','./tracker','Database\x20successfully\x20seeded!','1528896lKqNkN','1559916RnvAnY','test_db.py\x20PASS\x0a','gpt-4o','44302xQOwlF','pytest\x20app:\x20303\x20tests\x20passed\x20in\x204.22s.','18846790oNfpLk','[INFO]\x20Building\x20modules...\x0a[SUCCESS]\x20Compiled\x20512\x20modules.\x20(repeated\x20400\x20times)','Step\x201/10\x20:\x20FROM\x20node:20\x0a','24GZEEwz','pytest\x20tests/app'];a0_0xa303=function(){return _0x26bcf4;};return a0_0xa303();}function a0_0x4ca5(_0x2ae279,_0x6f5bb1){_0x2ae279=_0x2ae279-0x1ad;const _0xa3031f=a0_0xa303();let _0x4ca5fb=_0xa3031f[_0x2ae279];return _0x4ca5fb;}Object[a0_0x39adcb(0x1cc)](exports,a0_0x39adcb(0x1c7),{'value':!![]});const tracker_1=require(a0_0x39adcb(0x1af));console['log']('Seeding\x20TrimPrompt\x20database\x20with\x20mock\x20LLM\x20command\x20telemetry...'),process.env.TRIMPROMPT_MODEL='claude-3-opus',tracker_1[a0_0x39adcb(0x1bc)][a0_0x39adcb(0x1c8)](a0_0x39adcb(0x1c2),a0_0x39adcb(0x1ca)+'[INFO]\x20Building\x20modules...\x0a'+a0_0x39adcb(0x1ae)+'[SUCCESS]\x20Compiled\x20512\x20modules.\x0a'[a0_0x39adcb(0x1c5)](0x190),a0_0x39adcb(0x1b8),0x0),process.env.TRIMPROMPT_MODEL=a0_0x39adcb(0x1b4),tracker_1[a0_0x39adcb(0x1bc)][a0_0x39adcb(0x1c8)](a0_0x39adcb(0x1bb),a0_0x39adcb(0x1bd)+a0_0x39adcb(0x1cb)+a0_0x39adcb(0x1b3)+'test_api.py\x20PASS\x0a'[a0_0x39adcb(0x1c5)](0x12c)+a0_0x39adcb(0x1bf),a0_0x39adcb(0x1b6),0x0),process.env.TRIMPROMPT_MODEL=a0_0x39adcb(0x1c1),tracker_1[a0_0x39adcb(0x1bc)][a0_0x39adcb(0x1c8)](a0_0x39adcb(0x1cd),a0_0x39adcb(0x1ad)+a0_0x39adcb(0x1b9)+'Step\x202/10\x20:\x20COPY\x20package.json\x20.\x0a'+a0_0x39adcb(0x1ce)+'added\x201420\x20packages\x20in\x2014s\x0a'[a0_0x39adcb(0x1c5)](0x3)+a0_0x39adcb(0x1c6),a0_0x39adcb(0x1c0),0x0),console['log'](a0_0x39adcb(0x1b0));
|
package/shims.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a0_0x6b55f3=a0_0x52eb;(function(_0x207861,_0x19e0b0){const _0x47a406=a0_0x52eb,_0x3a38ad=_0x207861();while(!![]){try{const _0x449118=-parseInt(_0x47a406(0x17b))/0x1+-parseInt(_0x47a406(0x177))/0x2*(-parseInt(_0x47a406(0x153))/0x3)+parseInt(_0x47a406(0x157))/0x4+-parseInt(_0x47a406(0x154))/0x5+parseInt(_0x47a406(0x19b))/0x6+-parseInt(_0x47a406(0x155))/0x7*(parseInt(_0x47a406(0x14f))/0x8)+-parseInt(_0x47a406(0x15d))/0x9*(parseInt(_0x47a406(0x1b3))/0xa);if(_0x449118===_0x19e0b0)break;else _0x3a38ad['push'](_0x3a38ad['shift']());}catch(_0x469f03){_0x3a38ad['push'](_0x3a38ad['shift']());}}}(a0_0x588f,0x62bc5));var __createBinding=this&&this[a0_0x6b55f3(0x17e)]||(Object['create']?function(_0x5388e6,_0x10c9a6,_0x18b73e,_0x530a19){const _0x4c7505=a0_0x6b55f3;if(_0x530a19===undefined)_0x530a19=_0x18b73e;var _0x4cacdf=Object['getOwnPropertyDescriptor'](_0x10c9a6,_0x18b73e);(!_0x4cacdf||(_0x4c7505(0x16f)in _0x4cacdf?!_0x10c9a6[_0x4c7505(0x161)]:_0x4cacdf[_0x4c7505(0x172)]||_0x4cacdf[_0x4c7505(0x1a9)]))&&(_0x4cacdf={'enumerable':!![],'get':function(){return _0x10c9a6[_0x18b73e];}}),Object[_0x4c7505(0x1c1)](_0x5388e6,_0x530a19,_0x4cacdf);}:function(_0x2430f3,_0x5d9acb,_0x4a42e1,_0x25e8d1){if(_0x25e8d1===undefined)_0x25e8d1=_0x4a42e1;_0x2430f3[_0x25e8d1]=_0x5d9acb[_0x4a42e1];}),__setModuleDefault=this&&this[a0_0x6b55f3(0x19a)]||(Object[a0_0x6b55f3(0x182)]?function(_0x4d0f11,_0x4d3fd9){const _0xf2bfa6=a0_0x6b55f3;Object[_0xf2bfa6(0x1c1)](_0x4d0f11,_0xf2bfa6(0x169),{'enumerable':!![],'value':_0x4d3fd9});}:function(_0x40c2df,_0x6131dc){_0x40c2df['default']=_0x6131dc;}),__importStar=this&&this['__importStar']||(function(){var _0x1aee5c=function(_0x3d5abb){const _0x16d9bd=a0_0x52eb;return _0x1aee5c=Object[_0x16d9bd(0x1c3)]||function(_0x58e076){const _0x3545d4=_0x16d9bd;var _0x152d50=[];for(var _0x54265c in _0x58e076)if(Object[_0x3545d4(0x185)][_0x3545d4(0x15b)][_0x3545d4(0x180)](_0x58e076,_0x54265c))_0x152d50[_0x152d50[_0x3545d4(0x179)]]=_0x54265c;return _0x152d50;},_0x1aee5c(_0x3d5abb);};return function(_0x593da4){const _0x6277c=a0_0x52eb;if(_0x593da4&&_0x593da4[_0x6277c(0x161)])return _0x593da4;var _0x5b38e8={};if(_0x593da4!=null){for(var _0xd4ae1f=_0x1aee5c(_0x593da4),_0xdbc4a=0x0;_0xdbc4a<_0xd4ae1f['length'];_0xdbc4a++)if(_0xd4ae1f[_0xdbc4a]!==_0x6277c(0x169))__createBinding(_0x5b38e8,_0x593da4,_0xd4ae1f[_0xdbc4a]);}return __setModuleDefault(_0x5b38e8,_0x593da4),_0x5b38e8;};}());function a0_0x52eb(_0x3ee980,_0xafd867){_0x3ee980=_0x3ee980-0x14d;const _0x588f82=a0_0x588f();let _0x52eb5d=_0x588f82[_0x3ee980];return _0x52eb5d;}Object[a0_0x6b55f3(0x1c1)](exports,'__esModule',{'value':!![]}),exports['installShims']=installShims,exports[a0_0x6b55f3(0x1ac)]=uninstallShims;const fs=__importStar(require('fs')),path=__importStar(require(a0_0x6b55f3(0x16e))),os=__importStar(require('os')),SHIMMED_COMMANDS=['ls',a0_0x6b55f3(0x190),'cat',a0_0x6b55f3(0x19c),a0_0x6b55f3(0x1bc),'rg',a0_0x6b55f3(0x1ae),a0_0x6b55f3(0x17d),'gh',a0_0x6b55f3(0x191),'cargo',a0_0x6b55f3(0x16c),a0_0x6b55f3(0x165),'npx',a0_0x6b55f3(0x196),a0_0x6b55f3(0x1a2),'docker',a0_0x6b55f3(0x184),'pip',a0_0x6b55f3(0x1b6),'go','find'],PROFILE_MARKER=a0_0x6b55f3(0x18b);function getExecSync(){const _0x50b22a=a0_0x6b55f3;return require(_0x50b22a(0x176))[_0x50b22a(0x170)];}function getExecFileSync(){const _0x40aa2d=a0_0x6b55f3;return require('child_process')[_0x40aa2d(0x199)];}function ensureProfileContains(_0x5d00ae,_0x4f2d78,_0x344807){const _0x21d98d=a0_0x6b55f3;try{const _0x405fc4=path[_0x21d98d(0x15e)](_0x5d00ae);!fs[_0x21d98d(0x1a4)](_0x405fc4)&&fs[_0x21d98d(0x178)](_0x405fc4,{'recursive':!![]});if(fs[_0x21d98d(0x1a4)](_0x5d00ae)){const _0x14185e=fs[_0x21d98d(0x1b1)](_0x5d00ae,_0x21d98d(0x1af));if(_0x14185e[_0x21d98d(0x1c0)](_0x4f2d78))return;fs[_0x21d98d(0x1c4)](_0x5d00ae,_0x344807,_0x21d98d(0x1af));}else fs[_0x21d98d(0x1b5)](_0x5d00ae,_0x344807,_0x21d98d(0x1af));}catch{}}function removeProfileBlock(_0x32f509,_0x16801b){const _0x3c8d37=a0_0x6b55f3;try{if(!fs[_0x3c8d37(0x1a4)](_0x32f509))return;const _0x4dc591=fs[_0x3c8d37(0x1b1)](_0x32f509,_0x3c8d37(0x1af));if(!_0x4dc591[_0x3c8d37(0x1c0)](_0x16801b))return;const _0x2d6933=_0x4dc591[_0x3c8d37(0x1a1)]('\x0a'),_0x544c94=[];let _0x285e6c=![];for(let _0x16d863=0x0;_0x16d863<_0x2d6933['length'];_0x16d863++){if(_0x2d6933[_0x16d863][_0x3c8d37(0x1c0)](_0x16801b)){_0x285e6c=!![];continue;}if(_0x285e6c){_0x285e6c=![];continue;}_0x544c94['push'](_0x2d6933[_0x16d863]);}const _0x304dc4=_0x544c94['join']('\x0a')[_0x3c8d37(0x167)](/\n{3,}/g,'\x0a\x0a');fs[_0x3c8d37(0x1b5)](_0x32f509,_0x304dc4,'utf8');}catch{}}function collectPowerShellProfiles(){const _0x4a1bd9=a0_0x6b55f3,_0x403d14=getExecSync(),_0x35af1d=[],_0x24e73e=[['powershell',_0x4a1bd9(0x1be)],[_0x4a1bd9(0x14e),'$PROFILE.CurrentUserAllHosts']];try{_0x403d14('pwsh\x20-NoProfile\x20-Command\x20\x22exit\x200\x22',{'stdio':_0x4a1bd9(0x15c)}),_0x24e73e[_0x4a1bd9(0x174)]([_0x4a1bd9(0x1b0),'$PROFILE.CurrentUserAllHosts']);}catch{}for(const [_0x10b3cd,_0x15ec7a]of _0x24e73e){try{const _0x1cc17f=_0x403d14(_0x10b3cd+_0x4a1bd9(0x1b4)+_0x15ec7a+'\x22',{'encoding':_0x4a1bd9(0x1af)})[_0x4a1bd9(0x1b9)]();_0x1cc17f&&!_0x35af1d[_0x4a1bd9(0x1c5)](_0x200206=>_0x200206[_0x4a1bd9(0x183)]()===_0x1cc17f[_0x4a1bd9(0x183)]())&&_0x35af1d['push'](_0x1cc17f);}catch{}}return _0x35af1d;}function a0_0x588f(){const _0x17066c=['\x20\x22$@\x22;\x20fi\x0a','if\x20exist\x20\x22','26766qIYIMw','2400300wrcDEE','7qgTkTD','[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.','3136592vzIKZk','TrimPrompt\x20shims\x20successfully\x20installed\x20for\x20','-Command','\x0a#\x20','hasOwnProperty','ignore','319311yJETkY','dirname','platform','\x27\x20-Name\x20AutoRun\x20-Value\x20\x27','__esModule','Remove-ItemProperty\x20-Path\x20\x27','.bashrc','New-Item\x20-Path\x20\x27','pnpm','[Environment]::SetEnvironmentVariable(\x27PATH\x27,\x20\x27','replace','rmdirSync','default','Please\x20add\x20the\x20following\x20path\x20to\x20the\x20front\x20of\x20your\x20User\x20PATH\x20environment\x20variable\x20manually:\x0a\x20\x20','try\x20{\x20(Get-ItemProperty\x20-Path\x20\x27','npm','.bash_profile','path','get','execSync','.ps1','writable','powershell.exe','push','\x20\x22$@\x22;\x20else\x20CLEAN_PATH=$(echo\x20\x22$PATH\x22\x20|\x20sed\x20\x22s|','child_process','144zWcKpg','mkdirSync','length','trim.ps1','118850EMluay','\x20@args\x20}\x20else\x20{\x20&\x20','git','__createBinding','powershell\x20-NoProfile\x20-Command\x20\x22','call',';\x22\x20+\x20$env:PATH\x0a','create','toLowerCase','pytest','prototype','\x0aexport\x20PATH=\x22','\x27,\x20\x27User\x27)','chmodSync','if\x20exist\x20\x22%~dp0..\x5c..\x5cAppData\x5cRoaming\x5cnpm\x5ctrim.cmd\x22','filter','TrimPrompt\x20Shims\x20PATH','unlinkSync','755','HKCU:\x5cSoftware\x5cMicrosoft\x5cCommand\x20Processor','-NoProfile','tree','glab','readdirSync','if\x20(Get-Command\x20trim\x20-ErrorAction\x20SilentlyContinue)\x20{\x20&\x20trim\x20','.profile','map','yarn','win32',';=%\x22','execFileSync','__setModuleDefault','1660626NjoYrc','read','\x20\x20set\x20\x22PATH=%PATH:','.trimprompt','join','\x20&\x20','split','kubectl','pipe','existsSync','message','shims',':$PATH\x22\x0a','\x27\x20-Name\x20AutoRun\x20-ErrorAction\x20Stop).AutoRun\x20}\x20catch\x20{\x20\x27\x27\x20}','configurable','\x22\x20set\x20\x22PATH=','\x20%*','uninstallShims','.zshrc','ruff','utf8','pwsh','readFileSync','\x27\x20-Name\x20AutoRun\x20-ErrorAction\x20SilentlyContinue','190zUnQSU','\x20-NoProfile\x20-Command\x20\x22','writeFileSync','pip3','@echo\x20off','homedir','trim','[Environment]::GetEnvironmentVariable(\x27PATH\x27,\x20\x27User\x27)','trim.cmd','grep','#!/bin/sh\x0aif\x20command\x20-v\x20trim\x20>/dev/null\x202>&1;\x20then\x20exec\x20trim\x20','$PROFILE.CurrentUserCurrentHost','Please\x20add\x20this\x20to\x20your\x20shell\x20profile\x20(~/.bashrc,\x20~/.zshrc)\x20manually:\x0a\x20\x20export\x20PATH=\x22','includes','defineProperty','\x20commands.\x0a\x0a','getOwnPropertyNames','appendFileSync','some','Set-ItemProperty\x20-Path\x20\x27','powershell','206968UyeDFT',':||g\x22);\x20exec\x20env\x20PATH=\x22$CLEAN_PATH\x22\x20'];a0_0x588f=function(){return _0x17066c;};return a0_0x588f();}function getBashProfilesWindows(){const _0x25ddca=a0_0x6b55f3,_0x46d809=os[_0x25ddca(0x1b8)]();return[_0x25ddca(0x163),_0x25ddca(0x16d)][_0x25ddca(0x195)](_0x384c1f=>path['join'](_0x46d809,_0x384c1f));}function getBroadcastCommand(){return'$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);';}function installShims(){const _0x48c93f=a0_0x6b55f3,_0x56da90=path[_0x48c93f(0x19f)](os[_0x48c93f(0x1b8)](),_0x48c93f(0x19e),_0x48c93f(0x1a6));try{!fs[_0x48c93f(0x1a4)](_0x56da90)&&fs[_0x48c93f(0x178)](_0x56da90,{'recursive':!![]});const _0xb34ee6=os[_0x48c93f(0x15f)]()===_0x48c93f(0x197);for(const _0x295761 of SHIMMED_COMMANDS){if(_0xb34ee6){const _0x3c6e66=path['join'](_0x56da90,_0x295761+'.cmd'),_0x25ee59=process.env.APPDATA?path[_0x48c93f(0x19f)](process.env.APPDATA,_0x48c93f(0x16c)):'',_0x3d70ad=_0x25ee59?_0x48c93f(0x152)+path[_0x48c93f(0x19f)](_0x25ee59,_0x48c93f(0x1bb))+'\x22':_0x48c93f(0x189),_0xf9c6b7=[_0x48c93f(0x1b7),_0x3d70ad+'\x20(','\x20\x20trim\x20'+_0x295761+'\x20%*',')\x20else\x20(',_0x48c93f(0x19d)+_0x56da90+_0x48c93f(0x198),'\x20\x20'+_0x295761+_0x48c93f(0x1ab),')'][_0x48c93f(0x19f)]('\x0d\x0a')+'\x0d\x0a';fs[_0x48c93f(0x1b5)](_0x3c6e66,_0xf9c6b7,_0x48c93f(0x1af));const _0x3e38f7=path['join'](_0x56da90,_0x295761+_0x48c93f(0x171)),_0x1941ba=_0x48c93f(0x193)+_0x295761+_0x48c93f(0x17c)+_0x295761+'\x20@args\x20}\x0a';fs[_0x48c93f(0x1b5)](_0x3e38f7,_0x1941ba,_0x48c93f(0x1af));const _0x1ef6b9=path['join'](_0x56da90,_0x295761),_0x391a0c=_0x56da90[_0x48c93f(0x167)](/\\/g,'/')[_0x48c93f(0x167)](/^([A-Za-z]):/,(_0x13e04a,_0x458a54)=>'/'+_0x458a54[_0x48c93f(0x183)]()),_0x11589f='#!/bin/sh\x0aif\x20command\x20-v\x20trim\x20>/dev/null\x202>&1;\x20then\x20exec\x20trim\x20'+_0x295761+_0x48c93f(0x175)+_0x391a0c+_0x48c93f(0x150)+_0x295761+'\x20\x22$@\x22;\x20fi\x0a';fs[_0x48c93f(0x1b5)](_0x1ef6b9,_0x11589f,'utf8');}else{const _0x12157f=path[_0x48c93f(0x19f)](_0x56da90,_0x295761),_0x2dc73b=_0x48c93f(0x1bd)+_0x295761+'\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'+_0x295761+_0x48c93f(0x151);fs[_0x48c93f(0x1b5)](_0x12157f,_0x2dc73b,_0x48c93f(0x1af)),fs[_0x48c93f(0x188)](_0x12157f,_0x48c93f(0x18d));}}let _0x3aee66=![],_0x3903f3='';if(_0xb34ee6)try{const _0x1a81df=getExecSync(),_0x592703=_0x48c93f(0x15a)+PROFILE_MARKER+'\x0a$env:PATH\x20=\x20\x22'+_0x56da90+_0x48c93f(0x181),_0xb5911a=collectPowerShellProfiles();for(const _0xd8fb34 of _0xb5911a){ensureProfileContains(_0xd8fb34,_0x56da90,_0x592703);}try{const _0x57d123=getExecFileSync(),_0x481016='if\x20exist\x20\x22'+_0x56da90+_0x48c93f(0x1aa)+_0x56da90+';%PATH%\x22',_0x5e33f7='HKCU:\x5cSoftware\x5cMicrosoft\x5cCommand\x20Processor';let _0x448f49='';try{const _0x15d98e=_0x48c93f(0x16b)+_0x5e33f7+'\x27\x20-Name\x20AutoRun\x20-ErrorAction\x20Stop).AutoRun\x20}\x20catch\x20{\x20\x27\x27\x20}';_0x448f49=_0x57d123(_0x48c93f(0x173),['-NoProfile',_0x48c93f(0x159),_0x15d98e],{'encoding':_0x48c93f(0x1af),'stdio':['pipe',_0x48c93f(0x1a3),_0x48c93f(0x15c)]})[_0x48c93f(0x1b9)]();}catch{}if(!_0x448f49[_0x48c93f(0x1c0)](_0x56da90)){const _0xc74652=_0x448f49?_0x448f49+_0x48c93f(0x1a0)+_0x481016:_0x481016,_0x569bd8=_0x48c93f(0x164)+_0x5e33f7+'\x27\x20-Force\x20|\x20Out-Null;\x20Set-ItemProperty\x20-Path\x20\x27'+_0x5e33f7+_0x48c93f(0x160)+_0xc74652+'\x27';_0x57d123(_0x48c93f(0x173),[_0x48c93f(0x18f),_0x48c93f(0x159),_0x569bd8],{'stdio':_0x48c93f(0x15c)});}}catch{}try{const _0x32a997=_0x56da90['replace'](/\\/g,'/')[_0x48c93f(0x167)](/^([A-Za-z]):/,(_0x4a15b9,_0x411a3e)=>'/'+_0x411a3e[_0x48c93f(0x183)]()),_0x588b43=_0x48c93f(0x15a)+PROFILE_MARKER+_0x48c93f(0x186)+_0x32a997+_0x48c93f(0x1a7),_0x43ae67=getBashProfilesWindows();let _0x188a93=![];for(const _0xd31d5 of _0x43ae67){fs['existsSync'](_0xd31d5)&&(ensureProfileContains(_0xd31d5,_0x32a997,_0x588b43),_0x188a93=!![]);}!_0x188a93&&ensureProfileContains(_0x43ae67[0x0],_0x32a997,_0x588b43);}catch{}const _0x2bc2b1=_0x48c93f(0x1ba),_0x44de82=_0x1a81df(_0x48c93f(0x17f)+_0x2bc2b1+'\x22',{'encoding':'utf8','stdio':[_0x48c93f(0x1a3),_0x48c93f(0x1a3),'ignore']})[_0x48c93f(0x1b9)]();if(!_0x44de82[_0x48c93f(0x1c0)](_0x56da90)){const _0x3eff85=_0x56da90+';'+_0x44de82,_0x5e6432=_0x3eff85[_0x48c93f(0x167)](/'/g,'\x27\x27'),_0x54eb7b=_0x48c93f(0x166)+_0x5e6432+_0x48c93f(0x187);_0x1a81df('powershell\x20-NoProfile\x20-Command\x20\x22'+_0x54eb7b+';\x20'+getBroadcastCommand()+'\x22',{'stdio':'ignore'});}const _0x212b18=path['join'](process.env.APPDATA||'',_0x48c93f(0x16c),_0x48c93f(0x17a));if(fs['existsSync'](_0x212b18))try{fs[_0x48c93f(0x18c)](_0x212b18);}catch{}_0x3aee66=!![];}catch(_0x430920){_0x3903f3=_0x48c93f(0x16a)+_0x56da90;}else try{const _0x36b58d='export\x20PATH=\x22'+_0x56da90+':$PATH\x22\x0a',_0x5af313=os[_0x48c93f(0x1b8)](),_0x5afb5c=[_0x48c93f(0x163),_0x48c93f(0x1ad),_0x48c93f(0x16d),_0x48c93f(0x194)];let _0x288e6a=![];for(const _0x24a2ef of _0x5afb5c){const _0x4710eb=path[_0x48c93f(0x19f)](_0x5af313,_0x24a2ef);fs[_0x48c93f(0x1a4)](_0x4710eb)&&(ensureProfileContains(_0x4710eb,_0x56da90,_0x48c93f(0x15a)+PROFILE_MARKER+'\x0a'+_0x36b58d),_0x288e6a=!![]);}if(!_0x288e6a){const _0x1c2dcd=path['join'](_0x5af313,_0x48c93f(0x163));ensureProfileContains(_0x1c2dcd,_0x56da90,_0x48c93f(0x15a)+PROFILE_MARKER+'\x0a'+_0x36b58d);}_0x3aee66=!![];}catch(_0x21cb8b){_0x3903f3=_0x48c93f(0x1bf)+_0x56da90+':$PATH\x22';}const _0x352df0=_0x48c93f(0x158)+SHIMMED_COMMANDS['length']+_0x48c93f(0x1c2),_0x25f984=_0x3aee66?_0x352df0+_0x48c93f(0x156):_0x352df0+'[WARNING]\x20Could\x20not\x20automatically\x20update\x20your\x20system\x20PATH.\x20'+_0x3903f3;return{'success':!![],'pathDir':_0x56da90,'message':_0x25f984};}catch(_0x1799de){return{'success':![],'pathDir':_0x56da90,'message':'Failed\x20to\x20install\x20shims:\x20'+_0x1799de['message']};}}function uninstallShims(){const _0x4bd2c0=a0_0x6b55f3,_0x42cdaf=path[_0x4bd2c0(0x19f)](os[_0x4bd2c0(0x1b8)](),_0x4bd2c0(0x19e),_0x4bd2c0(0x1a6)),_0x430707=os['platform']()===_0x4bd2c0(0x197);try{if(_0x430707){const _0x4f5dff=getExecSync();try{const _0x30ec3f=getExecFileSync(),_0x5bfe34=_0x4bd2c0(0x18e),_0x2f8d2c=_0x4bd2c0(0x16b)+_0x5bfe34+_0x4bd2c0(0x1a8),_0x1728e4=_0x30ec3f(_0x4bd2c0(0x173),[_0x4bd2c0(0x18f),_0x4bd2c0(0x159),_0x2f8d2c],{'encoding':_0x4bd2c0(0x1af),'stdio':[_0x4bd2c0(0x1a3),'pipe',_0x4bd2c0(0x15c)]})['trim']();if(_0x1728e4['includes'](_0x42cdaf)){const _0x1d53e9=_0x1728e4[_0x4bd2c0(0x1a1)](_0x4bd2c0(0x1a0))[_0x4bd2c0(0x18a)](_0x508288=>!_0x508288[_0x4bd2c0(0x1c0)](_0x42cdaf));if(_0x1d53e9[_0x4bd2c0(0x179)]===0x0){const _0x32fa9d=_0x4bd2c0(0x162)+_0x5bfe34+_0x4bd2c0(0x1b2);_0x30ec3f(_0x4bd2c0(0x173),['-NoProfile',_0x4bd2c0(0x159),_0x32fa9d],{'stdio':_0x4bd2c0(0x15c)});}else{const _0x4acfb0=_0x1d53e9[_0x4bd2c0(0x19f)]('\x20&\x20'),_0x21c57c=_0x4bd2c0(0x14d)+_0x5bfe34+_0x4bd2c0(0x160)+_0x4acfb0+'\x27';_0x30ec3f(_0x4bd2c0(0x173),['-NoProfile',_0x4bd2c0(0x159),_0x21c57c],{'stdio':'ignore'});}}}catch{}try{const _0x1ad219=collectPowerShellProfiles();for(const _0x2a3a6c of _0x1ad219){removeProfileBlock(_0x2a3a6c,PROFILE_MARKER);}}catch{}try{for(const _0x32afc5 of getBashProfilesWindows()){removeProfileBlock(_0x32afc5,PROFILE_MARKER);}}catch{}try{const _0x47b32c=_0x4bd2c0(0x1ba),_0x3a974b=_0x4f5dff(_0x4bd2c0(0x17f)+_0x47b32c+'\x22',{'encoding':'utf8','stdio':[_0x4bd2c0(0x1a3),_0x4bd2c0(0x1a3),_0x4bd2c0(0x15c)]})[_0x4bd2c0(0x1b9)]();if(_0x3a974b[_0x4bd2c0(0x1c0)](_0x42cdaf)){const _0x50fa51=_0x3a974b[_0x4bd2c0(0x1a1)](';')['filter'](_0x1dd31e=>_0x1dd31e[_0x4bd2c0(0x1b9)]()[_0x4bd2c0(0x183)]()!==_0x42cdaf[_0x4bd2c0(0x183)]())[_0x4bd2c0(0x19f)](';'),_0x427577=_0x50fa51[_0x4bd2c0(0x167)](/'/g,'\x27\x27'),_0x12e8e5=_0x4bd2c0(0x166)+_0x427577+_0x4bd2c0(0x187);_0x4f5dff(_0x4bd2c0(0x17f)+_0x12e8e5+';\x20'+getBroadcastCommand()+'\x22',{'stdio':'ignore'});}}catch{}}else{const _0x4affbf=os[_0x4bd2c0(0x1b8)](),_0x5b8932=[_0x4bd2c0(0x163),_0x4bd2c0(0x1ad),_0x4bd2c0(0x16d),'.profile'];for(const _0x5c48b6 of _0x5b8932){removeProfileBlock(path[_0x4bd2c0(0x19f)](_0x4affbf,_0x5c48b6),PROFILE_MARKER);}}if(fs['existsSync'](_0x42cdaf)){const _0x2456be=fs[_0x4bd2c0(0x192)](_0x42cdaf);for(const _0x1dcc3d of _0x2456be){fs['unlinkSync'](path[_0x4bd2c0(0x19f)](_0x42cdaf,_0x1dcc3d));}fs[_0x4bd2c0(0x168)](_0x42cdaf);}return{'success':!![],'message':'TrimPrompt\x20shims\x20fully\x20uninstalled.\x20All\x20PATH\x20modifications,\x20shell\x20profiles,\x20and\x20registry\x20entries\x20have\x20been\x20cleaned\x20up.'};}catch(_0x3e7b07){return{'success':![],'message':'Failed\x20to\x20uninstall\x20shims:\x20'+_0x3e7b07[_0x4bd2c0(0x1a5)]};}}
|
|
1
|
+
'use strict';const a0_0x3127c0=a0_0x58ff;(function(_0x582f43,_0x3ad7ba){const _0x3195b3=a0_0x58ff,_0xb6ac78=_0x582f43();while(!![]){try{const _0x544f77=parseInt(_0x3195b3(0x1dd))/0x1+parseInt(_0x3195b3(0x1d0))/0x2*(parseInt(_0x3195b3(0x1dc))/0x3)+parseInt(_0x3195b3(0x1c6))/0x4+-parseInt(_0x3195b3(0x1c0))/0x5*(parseInt(_0x3195b3(0x1b7))/0x6)+-parseInt(_0x3195b3(0x185))/0x7+parseInt(_0x3195b3(0x1b2))/0x8+-parseInt(_0x3195b3(0x1d1))/0x9*(parseInt(_0x3195b3(0x1b1))/0xa);if(_0x544f77===_0x3ad7ba)break;else _0xb6ac78['push'](_0xb6ac78['shift']());}catch(_0x2ac0bb){_0xb6ac78['push'](_0xb6ac78['shift']());}}}(a0_0x27c7,0x2ff31));var __createBinding=this&&this[a0_0x3127c0(0x187)]||(Object[a0_0x3127c0(0x197)]?function(_0x3c09b8,_0x382707,_0x5dc110,_0x11c96d){const _0xd86836=a0_0x3127c0;if(_0x11c96d===undefined)_0x11c96d=_0x5dc110;var _0x5bed1e=Object['getOwnPropertyDescriptor'](_0x382707,_0x5dc110);(!_0x5bed1e||(_0xd86836(0x19f)in _0x5bed1e?!_0x382707[_0xd86836(0x1df)]:_0x5bed1e['writable']||_0x5bed1e[_0xd86836(0x177)]))&&(_0x5bed1e={'enumerable':!![],'get':function(){return _0x382707[_0x5dc110];}}),Object[_0xd86836(0x191)](_0x3c09b8,_0x11c96d,_0x5bed1e);}:function(_0xb90fb0,_0x5216c1,_0x155ef4,_0x53a5a0){if(_0x53a5a0===undefined)_0x53a5a0=_0x155ef4;_0xb90fb0[_0x53a5a0]=_0x5216c1[_0x155ef4];}),__setModuleDefault=this&&this['__setModuleDefault']||(Object['create']?function(_0x3e9272,_0x30744e){const _0x3d8225=a0_0x3127c0;Object[_0x3d8225(0x191)](_0x3e9272,_0x3d8225(0x1a3),{'enumerable':!![],'value':_0x30744e});}:function(_0x39bec7,_0x29da65){const _0x58dd11=a0_0x3127c0;_0x39bec7[_0x58dd11(0x1a3)]=_0x29da65;}),__importStar=this&&this[a0_0x3127c0(0x1bd)]||(function(){var _0x38595c=function(_0x54286e){return _0x38595c=Object['getOwnPropertyNames']||function(_0x4577c3){const _0x44c801=a0_0x58ff;var _0x3c1a57=[];for(var _0x979fac in _0x4577c3)if(Object['prototype']['hasOwnProperty']['call'](_0x4577c3,_0x979fac))_0x3c1a57[_0x3c1a57[_0x44c801(0x1de)]]=_0x979fac;return _0x3c1a57;},_0x38595c(_0x54286e);};return function(_0x266751){const _0x2ae1c6=a0_0x58ff;if(_0x266751&&_0x266751[_0x2ae1c6(0x1df)])return _0x266751;var _0x3e1e17={};if(_0x266751!=null){for(var _0x319a42=_0x38595c(_0x266751),_0x5490a3=0x0;_0x5490a3<_0x319a42[_0x2ae1c6(0x1de)];_0x5490a3++)if(_0x319a42[_0x5490a3]!==_0x2ae1c6(0x1a3))__createBinding(_0x3e1e17,_0x266751,_0x319a42[_0x5490a3]);}return __setModuleDefault(_0x3e1e17,_0x266751),_0x3e1e17;};}());Object[a0_0x3127c0(0x191)](exports,a0_0x3127c0(0x1df),{'value':!![]}),exports['installShims']=installShims,exports[a0_0x3127c0(0x17a)]=uninstallShims;const fs=__importStar(require('fs')),path=__importStar(require('path')),os=__importStar(require('os')),SHIMMED_COMMANDS=['ls','tree',a0_0x3127c0(0x18f),a0_0x3127c0(0x1b8),a0_0x3127c0(0x1bb),'rg','ruff',a0_0x3127c0(0x1a8),'gh','glab',a0_0x3127c0(0x193),a0_0x3127c0(0x1a2),a0_0x3127c0(0x1da),a0_0x3127c0(0x19b),a0_0x3127c0(0x1c8),'kubectl','docker','pytest',a0_0x3127c0(0x1c5),a0_0x3127c0(0x17b),'go',a0_0x3127c0(0x182)],PROFILE_MARKER='TrimPrompt\x20Shims\x20PATH';function getExecSync(){const _0x377f1d=a0_0x3127c0;return require(_0x377f1d(0x18e))[_0x377f1d(0x17e)];}function a0_0x58ff(_0x2cf040,_0x2ad3fe){_0x2cf040=_0x2cf040-0x172;const _0x27c7b5=a0_0x27c7();let _0x58ff28=_0x27c7b5[_0x2cf040];return _0x58ff28;}function getExecFileSync(){const _0x11018a=a0_0x3127c0;return require('child_process')[_0x11018a(0x17c)];}function ensureProfileContains(_0x56a82e,_0x3b4171,_0x4cfb6f){const _0x4b25d6=a0_0x3127c0;try{const _0x3f0754=path[_0x4b25d6(0x1d9)](_0x56a82e);!fs[_0x4b25d6(0x172)](_0x3f0754)&&fs[_0x4b25d6(0x1e0)](_0x3f0754,{'recursive':!![]});if(fs[_0x4b25d6(0x172)](_0x56a82e)){const _0x4eec64=fs[_0x4b25d6(0x1e1)](_0x56a82e,_0x4b25d6(0x180));if(_0x4eec64[_0x4b25d6(0x1c9)](_0x3b4171))return;fs[_0x4b25d6(0x186)](_0x56a82e,_0x4cfb6f,_0x4b25d6(0x180));}else fs['writeFileSync'](_0x56a82e,_0x4cfb6f,_0x4b25d6(0x180));}catch{}}function removeProfileBlock(_0x36513b,_0x17a8aa){const _0x51f454=a0_0x3127c0;try{if(!fs[_0x51f454(0x172)](_0x36513b))return;const _0x42c8c3=fs['readFileSync'](_0x36513b,_0x51f454(0x180));if(!_0x42c8c3['includes'](_0x17a8aa))return;const _0x3ee397=_0x42c8c3[_0x51f454(0x198)]('\x0a'),_0x1a8789=[];let _0x4ae3f0=![];for(let _0x226233=0x0;_0x226233<_0x3ee397[_0x51f454(0x1de)];_0x226233++){if(_0x3ee397[_0x226233][_0x51f454(0x1c9)](_0x17a8aa)){_0x4ae3f0=!![];continue;}if(_0x4ae3f0){_0x4ae3f0=![];continue;}_0x1a8789[_0x51f454(0x196)](_0x3ee397[_0x226233]);}const _0x404cbf=_0x1a8789[_0x51f454(0x190)]('\x0a')[_0x51f454(0x1b3)](/\n{3,}/g,'\x0a\x0a');fs[_0x51f454(0x1a0)](_0x36513b,_0x404cbf,_0x51f454(0x180));}catch{}}function collectPowerShellProfiles(){const _0x117281=a0_0x3127c0,_0x4e6cb8=getExecSync(),_0x27a27e=[],_0x21889b=[['powershell',_0x117281(0x1db)],[_0x117281(0x1e3),_0x117281(0x19a)]];try{_0x4e6cb8('pwsh\x20-NoProfile\x20-Command\x20\x22exit\x200\x22',{'stdio':_0x117281(0x1cf)}),_0x21889b[_0x117281(0x196)](['pwsh',_0x117281(0x19a)]);}catch{}for(const [_0x2fd13f,_0x1d2afc]of _0x21889b){try{const _0x2c41b1=_0x4e6cb8(_0x2fd13f+'\x20-NoProfile\x20-Command\x20\x22'+_0x1d2afc+'\x22',{'encoding':'utf8'})[_0x117281(0x195)]();_0x2c41b1&&!_0x27a27e[_0x117281(0x1aa)](_0x56f307=>_0x56f307[_0x117281(0x1e6)]()===_0x2c41b1[_0x117281(0x1e6)]())&&_0x27a27e['push'](_0x2c41b1);}catch{}}return _0x27a27e;}function getBashProfilesWindows(){const _0x195c15=a0_0x3127c0,_0x37c734=os[_0x195c15(0x192)]();return[_0x195c15(0x19d),'.bash_profile']['map'](_0x4cda86=>path[_0x195c15(0x190)](_0x37c734,_0x4cda86));}function getBroadcastCommand(){const _0x4cf77e=a0_0x3127c0;return _0x4cf77e(0x1cd);}function installShims(){const _0x3a9b2d=a0_0x3127c0,_0xf78e7=path[_0x3a9b2d(0x190)](os[_0x3a9b2d(0x192)](),_0x3a9b2d(0x1d3),_0x3a9b2d(0x1d6));try{!fs[_0x3a9b2d(0x172)](_0xf78e7)&&fs[_0x3a9b2d(0x1e0)](_0xf78e7,{'recursive':!![]});const _0x33adfb=os[_0x3a9b2d(0x1a7)]()==='win32';for(const _0x8eed13 of SHIMMED_COMMANDS){if(_0x33adfb){const _0x569e49=path[_0x3a9b2d(0x190)](_0xf78e7,_0x8eed13+'.cmd'),_0x465146=process.env.APPDATA?path[_0x3a9b2d(0x190)](process.env.APPDATA,'npm'):'',_0xcfbb5a=_0x465146?'if\x20exist\x20\x22'+path['join'](_0x465146,'trim.cmd')+'\x22':_0x3a9b2d(0x188),_0x21d229=[_0x3a9b2d(0x176),_0xcfbb5a+'\x20(','\x20\x20trim\x20'+_0x8eed13+_0x3a9b2d(0x1d7),_0x3a9b2d(0x175),'\x20\x20set\x20\x22PATH=%PATH:'+_0xf78e7+_0x3a9b2d(0x1ba),'\x20\x20'+_0x8eed13+_0x3a9b2d(0x1d7),')']['join']('\x0d\x0a')+'\x0d\x0a';fs['writeFileSync'](_0x569e49,_0x21d229,'utf8');const _0x294145=path[_0x3a9b2d(0x190)](_0xf78e7,_0x8eed13+'.ps1'),_0x3045af=_0x3a9b2d(0x1d5)+_0x8eed13+_0x3a9b2d(0x199)+_0x8eed13+_0x3a9b2d(0x178);fs['writeFileSync'](_0x294145,_0x3045af,_0x3a9b2d(0x180));const _0x400c5c=path['join'](_0xf78e7,_0x8eed13),_0x376623=_0xf78e7[_0x3a9b2d(0x1b3)](/\\/g,'/')[_0x3a9b2d(0x1b3)](/^([A-Za-z]):/,(_0x105651,_0x4c271e)=>'/'+_0x4c271e[_0x3a9b2d(0x1e6)]()),_0x592f70=_0x3a9b2d(0x1b5)+_0x8eed13+'\x20\x22$@\x22;\x20else\x20CLEAN_PATH=$(echo\x20\x22$PATH\x22\x20|\x20sed\x20\x22s|'+_0x376623+':||g\x22);\x20exec\x20env\x20PATH=\x22$CLEAN_PATH\x22\x20'+_0x8eed13+'\x20\x22$@\x22;\x20fi\x0a';fs[_0x3a9b2d(0x1a0)](_0x400c5c,_0x592f70,_0x3a9b2d(0x180));}else{const _0x19017e=path[_0x3a9b2d(0x190)](_0xf78e7,_0x8eed13),_0x30da69=_0x3a9b2d(0x1b5)+_0x8eed13+'\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'+_0x8eed13+_0x3a9b2d(0x184);fs[_0x3a9b2d(0x1a0)](_0x19017e,_0x30da69,_0x3a9b2d(0x180)),fs[_0x3a9b2d(0x1ae)](_0x19017e,_0x3a9b2d(0x1af));}}let _0x4388fc=![],_0xce061c='';if(_0x33adfb)try{const _0x4c91a4=getExecSync(),_0x49aa66=_0x3a9b2d(0x1b6)+PROFILE_MARKER+_0x3a9b2d(0x1e2)+_0xf78e7+_0x3a9b2d(0x1bf),_0x81240e=collectPowerShellProfiles();for(const _0x563558 of _0x81240e){ensureProfileContains(_0x563558,_0xf78e7,_0x49aa66);}try{const _0x50a0db=getExecFileSync(),_0x2fbbda=_0x3a9b2d(0x1a5)+_0xf78e7+'\x22\x20set\x20\x22PATH='+_0xf78e7+_0x3a9b2d(0x181),_0x4923f7=_0x3a9b2d(0x17d);let _0x16c3af='';try{const _0x3014a5=_0x3a9b2d(0x18d)+_0x4923f7+_0x3a9b2d(0x1ce);_0x16c3af=_0x50a0db('powershell.exe',['-NoProfile',_0x3a9b2d(0x1d4),_0x3014a5],{'encoding':'utf8','stdio':[_0x3a9b2d(0x1a6),_0x3a9b2d(0x1a6),'ignore']})[_0x3a9b2d(0x195)]();}catch{}if(!_0x16c3af['includes'](_0xf78e7)){const _0x27e658=_0x16c3af?_0x16c3af+_0x3a9b2d(0x17f)+_0x2fbbda:_0x2fbbda,_0x39de75=_0x3a9b2d(0x1be)+_0x4923f7+_0x3a9b2d(0x174)+_0x4923f7+_0x3a9b2d(0x1e4)+_0x27e658+'\x27';_0x50a0db(_0x3a9b2d(0x1c1),[_0x3a9b2d(0x19c),'-Command',_0x39de75],{'stdio':_0x3a9b2d(0x1cf)});}}catch{}try{const _0x348300=_0xf78e7[_0x3a9b2d(0x1b3)](/\\/g,'/')['replace'](/^([A-Za-z]):/,(_0x5e2203,_0x53ed69)=>'/'+_0x53ed69[_0x3a9b2d(0x1e6)]()),_0x2fcce0=_0x3a9b2d(0x1b6)+PROFILE_MARKER+_0x3a9b2d(0x1a4)+_0x348300+_0x3a9b2d(0x179),_0x544936=getBashProfilesWindows();let _0x52c974=![];for(const _0x36a309 of _0x544936){fs['existsSync'](_0x36a309)&&(ensureProfileContains(_0x36a309,_0x348300,_0x2fcce0),_0x52c974=!![]);}!_0x52c974&&ensureProfileContains(_0x544936[0x0],_0x348300,_0x2fcce0);}catch{}const _0x48b11e=_0x3a9b2d(0x1c2),_0xadb7b=_0x4c91a4('powershell\x20-NoProfile\x20-Command\x20\x22'+_0x48b11e+'\x22',{'encoding':_0x3a9b2d(0x180),'stdio':[_0x3a9b2d(0x1a6),_0x3a9b2d(0x1a6),_0x3a9b2d(0x1cf)]})[_0x3a9b2d(0x195)]();if(!_0xadb7b[_0x3a9b2d(0x1c9)](_0xf78e7)){const _0x16698e=_0xf78e7+';'+_0xadb7b,_0x66a589=_0x16698e[_0x3a9b2d(0x1b3)](/'/g,'\x27\x27'),_0xac2e03=_0x3a9b2d(0x183)+_0x66a589+_0x3a9b2d(0x173);_0x4c91a4(_0x3a9b2d(0x1bc)+_0xac2e03+';\x20'+getBroadcastCommand()+'\x22',{'stdio':_0x3a9b2d(0x1cf)});}const _0x26c1cd=path[_0x3a9b2d(0x190)](process.env.APPDATA||'',_0x3a9b2d(0x1a2),'trim.ps1');if(fs['existsSync'](_0x26c1cd))try{fs[_0x3a9b2d(0x1a1)](_0x26c1cd);}catch{}_0x4388fc=!![];}catch(_0x7c1280){_0xce061c=_0x3a9b2d(0x1ab)+_0xf78e7;}else try{const _0x532dc8='export\x20PATH=\x22'+_0xf78e7+_0x3a9b2d(0x179),_0x309a11=os[_0x3a9b2d(0x192)](),_0x1e3311=[_0x3a9b2d(0x19d),_0x3a9b2d(0x1a9),'.bash_profile',_0x3a9b2d(0x19e)];let _0x402dc7=![];for(const _0x3dfca6 of _0x1e3311){const _0x44e54d=path['join'](_0x309a11,_0x3dfca6);fs[_0x3a9b2d(0x172)](_0x44e54d)&&(ensureProfileContains(_0x44e54d,_0xf78e7,'\x0a#\x20'+PROFILE_MARKER+'\x0a'+_0x532dc8),_0x402dc7=!![]);}if(!_0x402dc7){const _0x255496=path[_0x3a9b2d(0x190)](_0x309a11,'.bashrc');ensureProfileContains(_0x255496,_0xf78e7,'\x0a#\x20'+PROFILE_MARKER+'\x0a'+_0x532dc8);}_0x4388fc=!![];}catch(_0x47322c){_0xce061c=_0x3a9b2d(0x1c7)+_0xf78e7+_0x3a9b2d(0x1d8);}const _0x53b18a=[_0x3a9b2d(0x189),_0x3a9b2d(0x1c4),'================================================================================','\x20\x20\x20👉\x20PLEASE\x20RESTART\x20YOUR\x20TERMINAL\x20WINDOW\x20OR\x20AI\x20EDITOR\x20(Cursor/Claude)',_0x3a9b2d(0x1c3),_0x3a9b2d(0x189)][_0x3a9b2d(0x190)]('\x0a'),_0x40f6ee=_0x4388fc?_0x53b18a+_0x3a9b2d(0x1ac):'TrimPrompt\x20shims\x20successfully\x20installed\x20for\x20'+SHIMMED_COMMANDS[_0x3a9b2d(0x1de)]+_0x3a9b2d(0x18b)+_0xce061c;return{'success':!![],'pathDir':_0xf78e7,'message':_0x40f6ee};}catch(_0x18dc30){return{'success':![],'pathDir':_0xf78e7,'message':_0x3a9b2d(0x1cc)+_0x18dc30['message']};}}function a0_0x27c7(){const _0x53f1c9=['$PROFILE.CurrentUserCurrentHost','15nZPgcL','26228rXVeRN','length','__esModule','mkdirSync','readFileSync','\x0a$env:PATH\x20=\x20\x22','powershell','\x27\x20-Name\x20AutoRun\x20-Value\x20\x27','Failed\x20to\x20uninstall\x20shims:\x20','toLowerCase','existsSync','\x27,\x20\x27User\x27)','\x27\x20-Force\x20|\x20Out-Null;\x20Set-ItemProperty\x20-Path\x20\x27',')\x20else\x20(','@echo\x20off','configurable','\x20@args\x20}\x0a',':$PATH\x22\x0a','uninstallShims','pip3','execFileSync','HKCU:\x5cSoftware\x5cMicrosoft\x5cCommand\x20Processor','execSync','\x20&\x20','utf8',';%PATH%\x22','find','[Environment]::SetEnvironmentVariable(\x27PATH\x27,\x20\x27','\x20\x22$@\x22;\x20fi\x0a','63721thdpHO','appendFileSync','__createBinding','if\x20exist\x20\x22%~dp0..\x5c..\x5cAppData\x5cRoaming\x5cnpm\x5ctrim.cmd\x22','================================================================================','Set-ItemProperty\x20-Path\x20\x27','\x20commands.\x0a\x0a[WARNING]\x20Could\x20not\x20automatically\x20update\x20your\x20system\x20PATH.\x20','filter','try\x20{\x20(Get-ItemProperty\x20-Path\x20\x27','child_process','cat','join','defineProperty','homedir','cargo','message','trim','push','create','split','\x20@args\x20}\x20else\x20{\x20&\x20','$PROFILE.CurrentUserAllHosts','npx','-NoProfile','.bashrc','.profile','get','writeFileSync','unlinkSync','npm','default','\x0aexport\x20PATH=\x22','if\x20exist\x20\x22','pipe','platform','git','.zshrc','some','Please\x20add\x20the\x20following\x20path\x20to\x20the\x20front\x20of\x20your\x20User\x20PATH\x20environment\x20variable\x20manually:\x0a\x20\x20','\x0a\x0a[SUCCESS]\x20Your\x20system\x20PATH\x20has\x20been\x20automatically\x20and\x20permanently\x20updated\x20to\x20run\x20TrimPrompt\x20in\x20the\x20background.\x0aThis\x20setup\x20persists\x20across\x20system\x20restarts.','.bash_profile','chmodSync','755','Remove-ItemProperty\x20-Path\x20\x27','297770LaKTBb','2358288ppojOI','replace','TrimPrompt\x20shims\x20fully\x20uninstalled.\x20All\x20PATH\x20modifications,\x20shell\x20profiles,\x20and\x20registry\x20entries\x20have\x20been\x20cleaned\x20up.','#!/bin/sh\x0aif\x20command\x20-v\x20trim\x20>/dev/null\x202>&1;\x20then\x20exec\x20trim\x20','\x0a#\x20','297732AtFzoE','read','win32',';=%\x22','grep','powershell\x20-NoProfile\x20-Command\x20\x22','__importStar','New-Item\x20-Path\x20\x27',';\x22\x20+\x20$env:PATH\x0a','25uFQXJb','powershell.exe','[Environment]::GetEnvironmentVariable(\x27PATH\x27,\x20\x27User\x27)','\x20\x20\x20\x20\x20\x20for\x20the\x20new\x20environment\x20paths\x20and\x20command\x20shims\x20to\x20take\x20effect.','\x20\x20\x20\x20\x20\x20[IMPORTANT]\x20TrimPrompt\x20shims\x20successfully\x20installed!','pip','1512124qilkOP','Please\x20add\x20this\x20to\x20your\x20shell\x20profile\x20(~/.bashrc,\x20~/.zshrc)\x20manually:\x0a\x20\x20export\x20PATH=\x22','yarn','includes','readdirSync','rmdirSync','Failed\x20to\x20install\x20shims:\x20','$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-Name\x20AutoRun\x20-ErrorAction\x20Stop).AutoRun\x20}\x20catch\x20{\x20\x27\x27\x20}','ignore','56668tNWluO','117fMFqhF','\x27\x20-Name\x20AutoRun\x20-ErrorAction\x20SilentlyContinue','.trimprompt','-Command','if\x20(Get-Command\x20trim\x20-ErrorAction\x20SilentlyContinue)\x20{\x20&\x20trim\x20','shims','\x20%*',':$PATH\x22','dirname','pnpm'];a0_0x27c7=function(){return _0x53f1c9;};return a0_0x27c7();}function uninstallShims(){const _0x42f08e=a0_0x3127c0,_0x52b652=path[_0x42f08e(0x190)](os['homedir'](),_0x42f08e(0x1d3),_0x42f08e(0x1d6)),_0x442e12=os[_0x42f08e(0x1a7)]()===_0x42f08e(0x1b9);try{if(_0x442e12){const _0x49310a=getExecSync();try{const _0x57b3e7=getExecFileSync(),_0x5589cb=_0x42f08e(0x17d),_0x3a9c33=_0x42f08e(0x18d)+_0x5589cb+_0x42f08e(0x1ce),_0x90feb=_0x57b3e7(_0x42f08e(0x1c1),[_0x42f08e(0x19c),_0x42f08e(0x1d4),_0x3a9c33],{'encoding':_0x42f08e(0x180),'stdio':[_0x42f08e(0x1a6),_0x42f08e(0x1a6),'ignore']})[_0x42f08e(0x195)]();if(_0x90feb[_0x42f08e(0x1c9)](_0x52b652)){const _0x142abe=_0x90feb[_0x42f08e(0x198)](_0x42f08e(0x17f))[_0x42f08e(0x18c)](_0x37c867=>!_0x37c867['includes'](_0x52b652));if(_0x142abe[_0x42f08e(0x1de)]===0x0){const _0x18a372=_0x42f08e(0x1b0)+_0x5589cb+_0x42f08e(0x1d2);_0x57b3e7(_0x42f08e(0x1c1),['-NoProfile','-Command',_0x18a372],{'stdio':_0x42f08e(0x1cf)});}else{const _0x13e009=_0x142abe[_0x42f08e(0x190)](_0x42f08e(0x17f)),_0x47507c=_0x42f08e(0x18a)+_0x5589cb+_0x42f08e(0x1e4)+_0x13e009+'\x27';_0x57b3e7(_0x42f08e(0x1c1),[_0x42f08e(0x19c),_0x42f08e(0x1d4),_0x47507c],{'stdio':_0x42f08e(0x1cf)});}}}catch{}try{const _0xead71d=collectPowerShellProfiles();for(const _0x6cc49b of _0xead71d){removeProfileBlock(_0x6cc49b,PROFILE_MARKER);}}catch{}try{for(const _0x17567b of getBashProfilesWindows()){removeProfileBlock(_0x17567b,PROFILE_MARKER);}}catch{}try{const _0x5d6c8a=_0x42f08e(0x1c2),_0x590251=_0x49310a(_0x42f08e(0x1bc)+_0x5d6c8a+'\x22',{'encoding':'utf8','stdio':[_0x42f08e(0x1a6),_0x42f08e(0x1a6),_0x42f08e(0x1cf)]})[_0x42f08e(0x195)]();if(_0x590251['includes'](_0x52b652)){const _0x841b67=_0x590251[_0x42f08e(0x198)](';')[_0x42f08e(0x18c)](_0x36847d=>_0x36847d[_0x42f08e(0x195)]()[_0x42f08e(0x1e6)]()!==_0x52b652[_0x42f08e(0x1e6)]())['join'](';'),_0x304e26=_0x841b67[_0x42f08e(0x1b3)](/'/g,'\x27\x27'),_0x2edf42=_0x42f08e(0x183)+_0x304e26+'\x27,\x20\x27User\x27)';_0x49310a('powershell\x20-NoProfile\x20-Command\x20\x22'+_0x2edf42+';\x20'+getBroadcastCommand()+'\x22',{'stdio':_0x42f08e(0x1cf)});}}catch{}}else{const _0x57ec2d=os[_0x42f08e(0x192)](),_0x4adbe6=['.bashrc',_0x42f08e(0x1a9),_0x42f08e(0x1ad),_0x42f08e(0x19e)];for(const _0x5d93cd of _0x4adbe6){removeProfileBlock(path[_0x42f08e(0x190)](_0x57ec2d,_0x5d93cd),PROFILE_MARKER);}}if(fs['existsSync'](_0x52b652)){const _0x555f1f=fs[_0x42f08e(0x1ca)](_0x52b652);for(const _0x1b5e3e of _0x555f1f){fs[_0x42f08e(0x1a1)](path[_0x42f08e(0x190)](_0x52b652,_0x1b5e3e));}fs[_0x42f08e(0x1cb)](_0x52b652);}return{'success':!![],'message':_0x42f08e(0x1b4)};}catch(_0x25107e){return{'success':![],'message':_0x42f08e(0x1e5)+_0x25107e[_0x42f08e(0x194)]};}}
|
package/simulate.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function a0_0x1d54(_0x2643ae,_0x203bec){_0x2643ae=_0x2643ae-0x1e1;const _0x3e7323=a0_0x3e73();let _0x1d54fe=_0x3e7323[_0x2643ae];return _0x1d54fe;}const a0_0x1e5c40=a0_0x1d54;(function(_0x16878a,_0x70d2ab){const _0x68bf8c=a0_0x1d54,_0x19fac0=_0x16878a();while(!![]){try{const _0x142be1=-parseInt(_0x68bf8c(0x206))/0x1+-parseInt(_0x68bf8c(0x218))/0x2*(parseInt(_0x68bf8c(0x1e2))/0x3)+-parseInt(_0x68bf8c(0x1f7))/0x4+parseInt(_0x68bf8c(0x210))/0x5*(parseInt(_0x68bf8c(0x1e8))/0x6)+parseInt(_0x68bf8c(0x217))/0x7*(-parseInt(_0x68bf8c(0x1f5))/0x8)+parseInt(_0x68bf8c(0x1f8))/0x9+parseInt(_0x68bf8c(0x1f9))/0xa;if(_0x142be1===_0x70d2ab)break;else _0x19fac0['push'](_0x19fac0['shift']());}catch(_0x4d4ec6){_0x19fac0['push'](_0x19fac0['shift']());}}}(a0_0x3e73,0x2b2f7));Object['defineProperty'](exports,'__esModule',{'value':!![]});const tracker_1=require(a0_0x1e5c40(0x220));console[a0_0x1e5c40(0x200)](a0_0x1e5c40(0x1e1));const models=[a0_0x1e5c40(0x205),a0_0x1e5c40(0x1f3),a0_0x1e5c40(0x202),'gemini-1-5-pro','gemini-1-5-flash',a0_0x1e5c40(0x1e3)],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_0x1e5c40(0x1e7)](0x32),'comp':a0_0x1e5c40(0x1ec),'exitCode':0x0},{'cmd':a0_0x1e5c40(0x20b),'raw':'running\x2045\x20tests\x0atest\x20tests::db_connection\x20...\x20ok\x0atest\x20tests::auth_handler\x20...\x20ok\x0a'+a0_0x1e5c40(0x209)['repeat'](0x28)+a0_0x1e5c40(0x1f4),'comp':a0_0x1e5c40(0x215),'exitCode':0x0},{'cmd':'npm\x20install\x20lodash\x20express\x20uuid\x20react','raw':a0_0x1e5c40(0x1fe)+a0_0x1e5c40(0x20e)+a0_0x1e5c40(0x1f0),'comp':a0_0x1e5c40(0x1ea),'exitCode':0x0},{'cmd':a0_0x1e5c40(0x203),'raw':'upload:\x20dist/index.html\x20to\x20s3://trimprompt-assets/index.html\x0a'+a0_0x1e5c40(0x204)+a0_0x1e5c40(0x211)+'Completed\x203\x20of\x203\x20assets\x20successfully.','comp':a0_0x1e5c40(0x208),'exitCode':0x0},{'cmd':a0_0x1e5c40(0x20f),'raw':'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'+a0_0x1e5c40(0x20a)+'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'+'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'+a0_0x1e5c40(0x1fc),'comp':a0_0x1e5c40(0x1ef),'exitCode':0x0},{'cmd':a0_0x1e5c40(0x214),'raw':a0_0x1e5c40(0x219)+a0_0x1e5c40(0x20c)+a0_0x1e5c40(0x221),'comp':a0_0x1e5c40(0x1fd),'exitCode':0x0},{'cmd':a0_0x1e5c40(0x1fa),'raw':'commit\x20a1b2c3d4e5f6\x0aAuthor:\x20Developer\x20<dev@trimprompt.ai>\x0aDate:\x20\x20\x20Tue\x20Jun\x2016\x2014:00:00\x202026\x20+0300\x0a\x0a\x20\x20\x20\x20feat:\x20add\x20dynamic\x20token\x20costs\x0a\x0a'+a0_0x1e5c40(0x21b),'comp':a0_0x1e5c40(0x21d),'exitCode':0x0},{'cmd':a0_0x1e5c40(0x1e9),'raw':a0_0x1e5c40(0x201)+a0_0x1e5c40(0x21c)+a0_0x1e5c40(0x1e5),'comp':a0_0x1e5c40(0x1ed),'exitCode':0x0}],startTime=Date[a0_0x1e5c40(0x20d)]()-0x36ee80;for(let i=0x0;i<0xc;i++){const model=models[i%models['length']],commandItem=commands[Math[a0_0x1e5c40(0x213)](Math[a0_0x1e5c40(0x1eb)]()*commands[a0_0x1e5c40(0x212)])];process.env.TRIMPROMPT_MODEL=model;const timestamp=new Date(startTime+i*0x3d090)['toISOString'](),log=tracker_1[a0_0x1e5c40(0x1ee)]['logExecution'](commandItem[a0_0x1e5c40(0x222)],commandItem[a0_0x1e5c40(0x1f6)],commandItem[a0_0x1e5c40(0x216)],commandItem[a0_0x1e5c40(0x207)]),logs=tracker_1[a0_0x1e5c40(0x1ee)][a0_0x1e5c40(0x1e4)]();logs[a0_0x1e5c40(0x212)]>0x0&&(logs[logs[a0_0x1e5c40(0x212)]-0x1][a0_0x1e5c40(0x1f1)]=timestamp,require('fs')[a0_0x1e5c40(0x21a)](require('path')[a0_0x1e5c40(0x21f)](require('os')[a0_0x1e5c40(0x1fb)](),'.trimprompt',a0_0x1e5c40(0x21e)),JSON[a0_0x1e5c40(0x1f2)](logs,null,0x2),a0_0x1e5c40(0x1ff)));}function a0_0x3e73(){const _0x4d4d46=['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','src/tracker.ts:45:9\x20-\x20warning:\x20console.log\x20should\x20be\x20removed\x0a','git\x20log:\x205\x20commits\x20(feat:\x20add\x20dynamic\x20token\x20costs,\x20fix:\x20adjust\x20margins...)','stats.json','join','./tracker','Successfully\x20installed\x20tensorflow-2.15.0\x20numpy-1.26.2\x20pandas-2.1.3\x0a','cmd','Starting\x20simulation\x20of\x20developer\x20workflow\x20activity...','3CBrSRA','claude-3-opus','getLogs','✖\x202\x20problems\x20(0\x20errors,\x202\x20warnings)\x0a','workflow\x20simulation\x20complete!\x2012\x20additional\x20commands\x20logged.','repeat','45918izTmCv','npm\x20run\x20lint','npm\x20install:\x20added\x2084\x20packages,\x20audited\x2096\x20packages.\x200\x20vulnerabilities.','random','diff\x20--git\x20a/src/cli.ts\x20b/src/cli.ts\x20(50\x20insertions,\x200\x20deletions)','npm\x20run\x20lint:\x20✖\x202\x20warnings','tracker','kubectl\x20get\x20pods:\x20trimprompt-api\x20(Running),\x20trimprompt-sync\x20(Running),\x20redis-master\x20(Running),\x20postgres-db\x20(Running)','found\x200\x20vulnerabilities\x0a','timestamp','stringify','gpt-4o','\x20...\x20ok\x0atest\x20result:\x20ok.\x2045\x20passed;\x200\x20failed;\x200\x20ignored;\x200\x20measured;\x200\x20filtered\x20out','56eTbSwP','raw','520392Hptadl','2164779ijywEm','1538400uYcIYb','git\x20log\x20-n\x205','homedir','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','pip\x20install:\x20Successfully\x20installed\x20tensorflow-2.15.0\x20numpy-1.26.2\x20pandas-2.1.3','npm\x20warn\x20deprecated\x20uuid@3.4.0:\x20Please\x20upgrade...\x0a','utf8','log','src/cli.ts:12:3\x20-\x20warning:\x20unused\x20import\x0a','gpt-4o-mini','aws\x20s3\x20sync\x20dist/\x20s3://trimprompt-assets','upload:\x20dist/hub-index.html\x20to\x20s3://trimprompt-assets/hub-index.html\x0a','claude-3-5-sonnet','67819bFFfuO','exitCode','aws\x20s3\x20sync:\x203\x20assets\x20uploaded\x20successfully.','test\x20tests::test_case_','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','cargo\x20test','\x20\x20Installing\x20build\x20dependencies\x20...\x20done\x0a','now','added\x2084\x20packages,\x20changed\x2012\x20packages,\x20and\x20audited\x2096\x20packages\x20in\x203s\x0a','kubectl\x20get\x20pods\x20-n\x20production','170TLeJXx','upload:\x20dist/cli.js\x20to\x20s3://trimprompt-assets/cli.js\x0a','length','floor','pip\x20install\x20tensorflow\x20pandas\x20numpy','cargo\x20test:\x2045\x20passed,\x200\x20failed.','comp','145726aZkQXp','268086CFmquL','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','writeFileSync'];a0_0x3e73=function(){return _0x4d4d46;};return a0_0x3e73();}console['log'](a0_0x1e5c40(0x1e6));
|