trimprompt 1.0.23 → 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 +3 -2
- 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';const
|
|
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_0x47f344=a0_0x41fc;(function(_0x162bfd,_0x19bac1){const _0x1edbc3=a0_0x41fc,_0x466520=_0x162bfd();while(!![]){try{const _0x1d5ef4=-parseInt(_0x1edbc3(0x120))/0x1*(-parseInt(_0x1edbc3(0x138))/0x2)+parseInt(_0x1edbc3(0x10e))/0x3+parseInt(_0x1edbc3(0x17f))/0x4*(parseInt(_0x1edbc3(0x146))/0x5)+-parseInt(_0x1edbc3(0x141))/0x6*(-parseInt(_0x1edbc3(0x106))/0x7)+parseInt(_0x1edbc3(0x111))/0x8*(-parseInt(_0x1edbc3(0x168))/0x9)+parseInt(_0x1edbc3(0x17d))/0xa+-parseInt(_0x1edbc3(0x10c))/0xb*(parseInt(_0x1edbc3(0x178))/0xc);if(_0x1d5ef4===_0x19bac1)break;else _0x466520['push'](_0x466520['shift']());}catch(_0x16dd6d){_0x466520['push'](_0x466520['shift']());}}}(a0_0x5d42,0xc133b));function a0_0x41fc(_0x35be53,_0x5bf593){_0x35be53=_0x35be53-0x105;const _0x5d4284=a0_0x5d42();let _0x41fcff=_0x5d4284[_0x35be53];return _0x41fcff;}function a0_0x5d42(){const _0x195023=['.avi','.tgz','indexOf','endsWith','push','\x20chars\x20across\x20','create','[lock\x20file]\x20','12541EdwTVP','filterCat','[minified\x20file]\x20','keys','\x20lines\x20truncated]\x20...\x0a','Empty\x20directory','[binary/minified\x20file]\x20','.pyo','__setModuleDefault','.pyc','bun.lockb','.zip','default','.wasm','.eot','.7z','.bin','Gemfile.lock','charCodeAt','...\x20+','.min.css','.class','\x20files)','package-lock.json','218ALsePI','go.sum','.tar.gz','.bmp','\x20dependencies,\x20','join','trim','filterGrep','\x20directories,\x20','1608QdaCxz','\x20chars\x20(high\x20non-printable\x20ratio\x20—\x20content\x20omitted)','.mp3','.svg','\x20chars\x20(content\x20omitted\x20—\x20lock\x20files\x20are\x20not\x20useful\x20for\x20LLM\x20context)','5vsuNDj','writable','.ttf','hasOwnProperty','\x20files\x20found\x20across\x20','some','[binary\x20file]\x20','.webp','.exe','split','filter','.wav','\x20\x20...\x20+','prototype','filterTree','getOwnPropertyNames','dirname','.woff2','\x20chars\x20(contains\x20null\x20bytes\x20—\x20binary\x20content\x20omitted)','.gz','\x20matches\x20in\x20this\x20file)','\x20more\x20directories','match','.min.js','\x20directories','.webm','slice','get','startsWith','includes','\x20more\x20matches','.dat','length','No\x20matches\x20found','10152RXivGx','\x20more\x20files\x20with\x20matches','No\x20files\x20found','poetry.lock','.so','dependencies','pnpm-lock.yaml','sort','.otf','\x20chars,\x20type:\x20','parse','/\x20(','path','floor','.gif','toLocaleString','12JdYAyI','.dll','.pdf','configurable','packages','2562120oaVJvi','.obj','453872ziGJAB','call','basename','34699wbNoTC','defineProperty','.rar','cargo.lock','substring','.ico','40827347XawbAY','\x0a...\x20[','4489389xckEYm','Cargo.lock',':\x20...\x20(','416DgGUzJ','composer.lock','.db','__esModule','yarn.lock','.bz2','toLowerCase'];a0_0x5d42=function(){return _0x195023;};return a0_0x5d42();}var __createBinding=this&&this['__createBinding']||(Object[a0_0x47f344(0x11e)]?function(_0x3514d4,_0x471183,_0x254099,_0x3d396c){const _0x2db42a=a0_0x47f344;if(_0x3d396c===undefined)_0x3d396c=_0x254099;var _0x12e22b=Object['getOwnPropertyDescriptor'](_0x471183,_0x254099);(!_0x12e22b||(_0x2db42a(0x161)in _0x12e22b?!_0x471183['__esModule']:_0x12e22b[_0x2db42a(0x147)]||_0x12e22b[_0x2db42a(0x17b)]))&&(_0x12e22b={'enumerable':!![],'get':function(){return _0x471183[_0x254099];}}),Object['defineProperty'](_0x3514d4,_0x3d396c,_0x12e22b);}:function(_0xc318fa,_0x6d2fb1,_0x2960b8,_0x309714){if(_0x309714===undefined)_0x309714=_0x2960b8;_0xc318fa[_0x309714]=_0x6d2fb1[_0x2960b8];}),__setModuleDefault=this&&this[a0_0x47f344(0x128)]||(Object[a0_0x47f344(0x11e)]?function(_0x253a9d,_0x1bfba9){const _0x1bd88a=a0_0x47f344;Object[_0x1bd88a(0x107)](_0x253a9d,_0x1bd88a(0x12c),{'enumerable':!![],'value':_0x1bfba9});}:function(_0x40610b,_0x10d822){const _0x49539f=a0_0x47f344;_0x40610b[_0x49539f(0x12c)]=_0x10d822;}),__importStar=this&&this['__importStar']||(function(){var _0x3bb3eb=function(_0x297bab){const _0x122263=a0_0x41fc;return _0x3bb3eb=Object[_0x122263(0x155)]||function(_0x344eb3){const _0x555a32=_0x122263;var _0xfbad67=[];for(var _0x28cff7 in _0x344eb3)if(Object[_0x555a32(0x153)][_0x555a32(0x149)][_0x555a32(0x180)](_0x344eb3,_0x28cff7))_0xfbad67[_0xfbad67['length']]=_0x28cff7;return _0xfbad67;},_0x3bb3eb(_0x297bab);};return function(_0x2be281){const _0x10af82=a0_0x41fc;if(_0x2be281&&_0x2be281[_0x10af82(0x114)])return _0x2be281;var _0x27936a={};if(_0x2be281!=null){for(var _0x536390=_0x3bb3eb(_0x2be281),_0x29de00=0x0;_0x29de00<_0x536390[_0x10af82(0x166)];_0x29de00++)if(_0x536390[_0x29de00]!==_0x10af82(0x12c))__createBinding(_0x27936a,_0x2be281,_0x536390[_0x29de00]);}return __setModuleDefault(_0x27936a,_0x2be281),_0x27936a;};}());Object[a0_0x47f344(0x107)](exports,a0_0x47f344(0x114),{'value':!![]}),exports['filterLs']=filterLs,exports[a0_0x47f344(0x154)]=filterTree,exports[a0_0x47f344(0x121)]=filterCat,exports[a0_0x47f344(0x13f)]=filterGrep,exports['filterFind']=filterFind;const path=__importStar(require(a0_0x47f344(0x174))),LOCK_FILES=['package-lock.json',a0_0x47f344(0x115),a0_0x47f344(0x16e),a0_0x47f344(0x10f),'go.sum',a0_0x47f344(0x16b),a0_0x47f344(0x112),a0_0x47f344(0x131),a0_0x47f344(0x12a)],BINARY_EXTENSIONS=[a0_0x47f344(0x15d),a0_0x47f344(0x134),'.map',a0_0x47f344(0x12d),'.png','.jpg','.jpeg',a0_0x47f344(0x176),a0_0x47f344(0x10b),a0_0x47f344(0x13b),a0_0x47f344(0x14d),a0_0x47f344(0x144),a0_0x47f344(0x17a),a0_0x47f344(0x12b),a0_0x47f344(0x13a),a0_0x47f344(0x119),a0_0x47f344(0x159),a0_0x47f344(0x116),a0_0x47f344(0x12f),a0_0x47f344(0x108),a0_0x47f344(0x14e),a0_0x47f344(0x179),a0_0x47f344(0x16c),'.dylib',a0_0x47f344(0x130),a0_0x47f344(0x165),'.sqlite',a0_0x47f344(0x113),'.sqlite3','.woff',a0_0x47f344(0x157),a0_0x47f344(0x148),a0_0x47f344(0x12e),a0_0x47f344(0x170),a0_0x47f344(0x143),'.mp4',a0_0x47f344(0x151),a0_0x47f344(0x118),'.mov',a0_0x47f344(0x15f),a0_0x47f344(0x129),a0_0x47f344(0x127),a0_0x47f344(0x135),'.o',a0_0x47f344(0x17e)];function extractFilename(_0x33baff){const _0x4e2662=a0_0x47f344,_0x3a69f7=_0x33baff[_0x4e2662(0x13e)]()['split'](/\s+/);for(let _0x3c9959=0x1;_0x3c9959<_0x3a69f7[_0x4e2662(0x166)];_0x3c9959++){if(!_0x3a69f7[_0x3c9959][_0x4e2662(0x162)]('-'))return _0x3a69f7[_0x3c9959];}return null;}function filterLockFile(_0x2e8f1c,_0x26dc12){const _0x260ca9=a0_0x47f344;try{const _0x312543=path[_0x260ca9(0x105)](_0x26dc12)['toLowerCase']();if(!LOCK_FILES[_0x260ca9(0x14b)](_0x1c6bd8=>_0x312543===_0x1c6bd8[_0x260ca9(0x117)]()))return null;const _0x4943ef=_0x2e8f1c[_0x260ca9(0x166)];let _0x36f25c=0x0;if(_0x312543===_0x260ca9(0x137))try{const _0x53b222=JSON[_0x260ca9(0x172)](_0x2e8f1c);_0x36f25c=Object['keys'](_0x53b222[_0x260ca9(0x17c)]||_0x53b222[_0x260ca9(0x16d)]||{})[_0x260ca9(0x166)];}catch{_0x36f25c=(_0x2e8f1c[_0x260ca9(0x15c)](/"resolved":/g)||[])[_0x260ca9(0x166)];}else{if(_0x312543===_0x260ca9(0x115))_0x36f25c=(_0x2e8f1c[_0x260ca9(0x15c)](/^"?[^#\s][^:]*:$/gm)||[])[_0x260ca9(0x166)];else{if(_0x312543===_0x260ca9(0x109)||_0x312543===_0x260ca9(0x16b))_0x36f25c=(_0x2e8f1c[_0x260ca9(0x15c)](/\[\[package\]\]/g)||[])[_0x260ca9(0x166)];else{if(_0x312543===_0x260ca9(0x139))_0x36f25c=Math[_0x260ca9(0x175)](_0x2e8f1c['split']('\x0a')['filter'](_0x29c145=>_0x29c145[_0x260ca9(0x13e)]())[_0x260ca9(0x166)]/0x2);else{if(_0x312543===_0x260ca9(0x112))try{_0x36f25c=JSON['parse'](_0x2e8f1c)[_0x260ca9(0x17c)]?.[_0x260ca9(0x166)]||0x0;}catch{}else _0x312543===_0x260ca9(0x16e)?_0x36f25c=(_0x2e8f1c[_0x260ca9(0x15c)](/^\s{2}['"@a-z]/gm)||[])['length']:_0x36f25c=_0x2e8f1c[_0x260ca9(0x14f)]('\x0a')['filter'](_0x1dac4a=>_0x1dac4a[_0x260ca9(0x13e)]())['length'];}}}}return _0x260ca9(0x11f)+path[_0x260ca9(0x105)](_0x26dc12)+':\x20'+_0x36f25c+_0x260ca9(0x13c)+_0x4943ef[_0x260ca9(0x177)]()+_0x260ca9(0x145);}catch{return null;}}function filterBinaryOrMinified(_0x4ea111,_0x1907e4){const _0x2dde35=a0_0x47f344;try{if(_0x1907e4){const _0x5a1eec=_0x1907e4[_0x2dde35(0x117)]();for(const _0x14cfa8 of BINARY_EXTENSIONS){if(_0x5a1eec['endsWith'](_0x14cfa8))return _0x2dde35(0x126)+path['basename'](_0x1907e4)+',\x20'+_0x4ea111[_0x2dde35(0x166)][_0x2dde35(0x177)]()+_0x2dde35(0x171)+_0x14cfa8+'\x20(content\x20omitted\x20—\x20not\x20useful\x20for\x20LLM\x20context)';}}const _0x1ce325=_0x4ea111[_0x2dde35(0x10a)](0x0,0x3e8);let _0x14108e=0x0;for(let _0x13d2c0=0x0;_0x13d2c0<_0x1ce325['length'];_0x13d2c0++){if(_0x1ce325[_0x2dde35(0x132)](_0x13d2c0)===0x0)_0x14108e++;}if(_0x14108e>0x0)return _0x2dde35(0x14c)+_0x4ea111[_0x2dde35(0x166)][_0x2dde35(0x177)]()+_0x2dde35(0x158);let _0x207656=0x0;for(let _0x351f25=0x0;_0x351f25<_0x1ce325[_0x2dde35(0x166)];_0x351f25++){const _0x3e7337=_0x1ce325[_0x2dde35(0x132)](_0x351f25);if(_0x3e7337<0x20&&_0x3e7337!==0xa&&_0x3e7337!==0xd&&_0x3e7337!==0x9)_0x207656++;}if(_0x1ce325[_0x2dde35(0x166)]>0x64&&_0x207656>_0x1ce325[_0x2dde35(0x166)]*0.1)return _0x2dde35(0x14c)+_0x4ea111[_0x2dde35(0x166)][_0x2dde35(0x177)]()+_0x2dde35(0x142);const _0x5f1550=_0x4ea111[_0x2dde35(0x14f)]('\x0a');if(_0x5f1550[_0x2dde35(0x166)]<=0x3&&_0x4ea111[_0x2dde35(0x166)]>0x1388)return _0x2dde35(0x122)+_0x4ea111[_0x2dde35(0x166)][_0x2dde35(0x177)]()+_0x2dde35(0x11d)+_0x5f1550[_0x2dde35(0x166)]+'\x20line(s)\x20(content\x20omitted\x20—\x20not\x20human-readable)';return null;}catch{return null;}}function filterJsonMinify(_0x539bf6){const _0x37a5d3=a0_0x47f344;try{const _0x283618=_0x539bf6[_0x37a5d3(0x13e)]();if(!_0x283618[_0x37a5d3(0x162)]('{')&&!_0x283618['startsWith']('['))return null;const _0x5185be=_0x283618[_0x37a5d3(0x14f)]('\x0a');if(_0x5185be['length']<=0x14)return null;const _0x482db7=JSON[_0x37a5d3(0x172)](_0x283618),_0x5ea3a3=JSON['stringify'](_0x482db7);if(_0x5ea3a3['length']<_0x283618[_0x37a5d3(0x166)])return _0x5ea3a3;return null;}catch{return null;}}function filterLs(_0x36661e){const _0x376f3d=a0_0x47f344,_0x3bda2d=_0x36661e[_0x376f3d(0x14f)]('\x0a')[_0x376f3d(0x150)](_0x103753=>_0x103753[_0x376f3d(0x13e)]()[_0x376f3d(0x166)]>0x0);if(_0x3bda2d[_0x376f3d(0x166)]===0x0)return _0x376f3d(0x125);if(_0x3bda2d[_0x376f3d(0x166)]<=0x1e)return _0x36661e[_0x376f3d(0x13e)]();const _0x54c0ff=[],_0x52d4f9=[];for(const _0x623870 of _0x3bda2d){const _0x695745=_0x623870[_0x376f3d(0x13e)]();if(_0x695745['startsWith']('total\x20')||_0x695745[_0x376f3d(0x162)]('d')&&_0x695745[_0x376f3d(0x163)]('..'))continue;_0x695745[_0x376f3d(0x11b)]('/')||_0x695745['startsWith']('d')&&_0x695745['includes']('\x20')?_0x54c0ff[_0x376f3d(0x11c)](_0x695745):_0x52d4f9['push'](_0x695745);}const _0x1754bd=[];return _0x54c0ff['length']>0x0&&(_0x54c0ff[_0x376f3d(0x166)]<=0xf?_0x1754bd[_0x376f3d(0x11c)](..._0x54c0ff):(_0x1754bd[_0x376f3d(0x11c)](..._0x54c0ff[_0x376f3d(0x160)](0x0,0xa)),_0x1754bd[_0x376f3d(0x11c)]('...\x20+'+(_0x54c0ff[_0x376f3d(0x166)]-0xa)+_0x376f3d(0x15b)))),_0x52d4f9[_0x376f3d(0x166)]>0x0&&(_0x52d4f9['length']<=0x14?_0x1754bd[_0x376f3d(0x11c)](..._0x52d4f9):(_0x1754bd[_0x376f3d(0x11c)](..._0x52d4f9[_0x376f3d(0x160)](0x0,0xf)),_0x1754bd['push'](_0x376f3d(0x133)+(_0x52d4f9['length']-0xf)+'\x20more\x20files'))),_0x1754bd['push']('\x0a('+_0x54c0ff['length']+_0x376f3d(0x140)+_0x52d4f9[_0x376f3d(0x166)]+_0x376f3d(0x136)),_0x1754bd['join']('\x0a');}function filterTree(_0x43a50a){const _0x585375=a0_0x47f344,_0x31fd4e=_0x43a50a[_0x585375(0x14f)]('\x0a');if(_0x31fd4e[_0x585375(0x166)]<=0x32)return _0x43a50a[_0x585375(0x13e)]();const _0x1883a2=[];let _0x24e165=0x0,_0x115d36=0x0,_0x2968ae=0x0;for(const _0x391b34 of _0x31fd4e){const _0x4da500=_0x391b34['match'](/(\d+)\s+director/),_0x47b444=_0x391b34[_0x585375(0x15c)](/(\d+)\s+file/);if(_0x4da500)_0x2968ae=parseInt(_0x4da500[0x1]);if(_0x47b444)_0x115d36=parseInt(_0x47b444[0x1]);const _0x1e4b5d=(_0x391b34[_0x585375(0x15c)](/^[│├└\s─]+/)||[''])[0x0][_0x585375(0x166)];_0x1e4b5d<=0x4&&(_0x1883a2[_0x585375(0x11c)](_0x391b34),_0x24e165++);}return _0x31fd4e[_0x585375(0x166)]>_0x1883a2[_0x585375(0x166)]&&_0x1883a2[_0x585375(0x11c)]('\x0a...\x20('+_0x2968ae+_0x585375(0x140)+_0x115d36+'\x20files\x20total\x20—\x20deep\x20entries\x20truncated)'),_0x1883a2['join']('\x0a');}function filterCat(_0x896e04,_0x370584=''){const _0x5e328d=a0_0x47f344,_0x1ca7a9=extractFilename(_0x370584);try{if(_0x1ca7a9){const _0x27ec40=filterLockFile(_0x896e04,_0x1ca7a9);if(_0x27ec40)return _0x27ec40;}const _0x47d5c5=filterBinaryOrMinified(_0x896e04,_0x1ca7a9);if(_0x47d5c5)return _0x47d5c5;const _0x248ba0=filterJsonMinify(_0x896e04);if(_0x248ba0)return _0x248ba0;}catch{}const _0x863fbe=_0x896e04['split']('\x0a');if(_0x863fbe[_0x5e328d(0x166)]<=0x64)return _0x896e04;const _0x57a6be=[];return _0x57a6be['push'](..._0x863fbe[_0x5e328d(0x160)](0x0,0x32)),_0x57a6be[_0x5e328d(0x11c)](_0x5e328d(0x10d)+(_0x863fbe['length']-0x50)+_0x5e328d(0x124)),_0x57a6be['push'](..._0x863fbe[_0x5e328d(0x160)](-0x1e)),_0x57a6be[_0x5e328d(0x11c)]('\x0a('+_0x863fbe['length']+'\x20lines\x20total)'),_0x57a6be[_0x5e328d(0x13d)]('\x0a');}function filterGrep(_0x260a45){const _0x1b9f73=a0_0x47f344,_0x4b180f=_0x260a45['split']('\x0a')[_0x1b9f73(0x150)](_0x5c9eca=>_0x5c9eca[_0x1b9f73(0x13e)]()[_0x1b9f73(0x166)]>0x0);if(_0x4b180f[_0x1b9f73(0x166)]===0x0)return _0x1b9f73(0x167);if(_0x4b180f[_0x1b9f73(0x166)]<=0x32)return _0x260a45[_0x1b9f73(0x13e)]();const _0x5142e6={},_0x58b570=[];for(const _0x9af39d of _0x4b180f){const _0x21548d=_0x9af39d[_0x1b9f73(0x11a)](':');if(_0x21548d>0x0&&_0x21548d<0xc8){const _0xa3c7f4=_0x9af39d['substring'](0x0,_0x21548d);if(_0xa3c7f4[_0x1b9f73(0x163)]('/')||_0xa3c7f4['includes']('\x5c')||_0xa3c7f4[_0x1b9f73(0x163)]('.')){if(!_0x5142e6[_0xa3c7f4])_0x5142e6[_0xa3c7f4]=[];_0x5142e6[_0xa3c7f4]['push'](_0x9af39d[_0x1b9f73(0x10a)](_0x21548d+0x1)[_0x1b9f73(0x13e)]());continue;}}_0x58b570[_0x1b9f73(0x11c)](_0x9af39d);}const _0x3e2d18=[],_0xe326a2=Object[_0x1b9f73(0x123)](_0x5142e6);if(_0xe326a2['length']>0x0){const _0x3d3e1f=0x14,_0x20fd4b=_0xe326a2[_0x1b9f73(0x160)](0x0,_0x3d3e1f);for(const _0x465ea8 of _0x20fd4b){const _0x40ee58=_0x5142e6[_0x465ea8];if(_0x40ee58[_0x1b9f73(0x166)]<=0x3)for(const _0x2a1048 of _0x40ee58){_0x3e2d18[_0x1b9f73(0x11c)](_0x465ea8+':\x20'+_0x2a1048);}else _0x3e2d18[_0x1b9f73(0x11c)](_0x465ea8+':\x20'+_0x40ee58[0x0]),_0x3e2d18['push'](_0x465ea8+_0x1b9f73(0x110)+_0x40ee58[_0x1b9f73(0x166)]+_0x1b9f73(0x15a));}_0xe326a2[_0x1b9f73(0x166)]>_0x3d3e1f&&_0x3e2d18[_0x1b9f73(0x11c)](_0x1b9f73(0x133)+(_0xe326a2[_0x1b9f73(0x166)]-_0x3d3e1f)+_0x1b9f73(0x169));}if(_0x58b570[_0x1b9f73(0x166)]>0x0){const _0x21bafc=0x1e;_0x3e2d18['push'](..._0x58b570['slice'](0x0,_0x21bafc)),_0x58b570[_0x1b9f73(0x166)]>_0x21bafc&&_0x3e2d18[_0x1b9f73(0x11c)]('...\x20+'+(_0x58b570[_0x1b9f73(0x166)]-_0x21bafc)+_0x1b9f73(0x164));}const _0x56544d=_0x4b180f[_0x1b9f73(0x166)];return _0x3e2d18['push']('\x0a('+_0x56544d+'\x20matches\x20across\x20'+(_0xe326a2['length']||'?')+_0x1b9f73(0x136)),_0x3e2d18[_0x1b9f73(0x13d)]('\x0a');}function filterFind(_0x133c35){const _0x5716f3=a0_0x47f344,_0x272196=_0x133c35[_0x5716f3(0x14f)]('\x0a')[_0x5716f3(0x150)](_0x2b06cd=>_0x2b06cd[_0x5716f3(0x13e)]()[_0x5716f3(0x166)]>0x0);if(_0x272196['length']===0x0)return _0x5716f3(0x16a);if(_0x272196[_0x5716f3(0x166)]<=0x32)return _0x133c35[_0x5716f3(0x13e)]();const _0x55fd8={};for(const _0x2cc574 of _0x272196){const _0x185415=path[_0x5716f3(0x156)](_0x2cc574[_0x5716f3(0x13e)]())||'.';_0x55fd8[_0x185415]=(_0x55fd8[_0x185415]||0x0)+0x1;}const _0x3c3eb8=Object['entries'](_0x55fd8)[_0x5716f3(0x16f)]((_0x14a63b,_0x2c64d5)=>_0x2c64d5[0x1]-_0x14a63b[0x1]),_0x408e8a=[_0x272196['length']+_0x5716f3(0x14a)+_0x3c3eb8[_0x5716f3(0x166)]+_0x5716f3(0x15e),''],_0xcd2bd7=0x1e;for(const [_0x4a947d,_0x5a523c]of _0x3c3eb8['slice'](0x0,_0xcd2bd7)){_0x408e8a[_0x5716f3(0x11c)]('\x20\x20'+_0x4a947d+_0x5716f3(0x173)+_0x5a523c+_0x5716f3(0x136));}return _0x3c3eb8['length']>_0xcd2bd7&&_0x408e8a[_0x5716f3(0x11c)](_0x5716f3(0x152)+(_0x3c3eb8[_0x5716f3(0x166)]-_0xcd2bd7)+_0x5716f3(0x15b)),_0x408e8a[_0x5716f3(0x13d)]('\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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "trimprompt",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.25",
|
|
4
4
|
"description": "TrimPrompt — Save 80% on LLM tokens. Zero-config CLI proxy for AI coding agents",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"llm",
|
|
@@ -30,7 +30,8 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"commander": "^11.1.0",
|
|
32
32
|
"express": "^4.18.2",
|
|
33
|
-
"open": "^8.4.2"
|
|
33
|
+
"open": "^8.4.2",
|
|
34
|
+
"trim": "^1.0.1"
|
|
34
35
|
},
|
|
35
36
|
"engines": {
|
|
36
37
|
"node": ">=18.0.0"
|
package/redactor.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
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_0x411755=a0_0x17cd;(function(_0x48b025,_0x25b319){const _0x324e25=a0_0x17cd,_0x45f671=_0x48b025();while(!![]){try{const _0x18f82e=parseInt(_0x324e25(0x14b))/0x1*(-parseInt(_0x324e25(0x123))/0x2)+-parseInt(_0x324e25(0xfe))/0x3*(-parseInt(_0x324e25(0x14f))/0x4)+-parseInt(_0x324e25(0xf6))/0x5+parseInt(_0x324e25(0x114))/0x6+parseInt(_0x324e25(0xfc))/0x7*(parseInt(_0x324e25(0x111))/0x8)+parseInt(_0x324e25(0x109))/0x9+parseInt(_0x324e25(0xdd))/0xa*(parseInt(_0x324e25(0x11c))/0xb);if(_0x18f82e===_0x25b319)break;else _0x45f671['push'](_0x45f671['shift']());}catch(_0x49ef47){_0x45f671['push'](_0x45f671['shift']());}}}(a0_0x1555,0xbbf8d));var __createBinding=this&&this[a0_0x411755(0x108)]||(Object[a0_0x411755(0x12b)]?function(_0x2e3db8,_0x7d2ac8,_0x39da6d,_0x4ece83){const _0x29fff6=a0_0x411755;if(_0x4ece83===undefined)_0x4ece83=_0x39da6d;var _0x88a68f=Object[_0x29fff6(0x14a)](_0x7d2ac8,_0x39da6d);(!_0x88a68f||(_0x29fff6(0x12f)in _0x88a68f?!_0x7d2ac8[_0x29fff6(0x13f)]:_0x88a68f['writable']||_0x88a68f[_0x29fff6(0x103)]))&&(_0x88a68f={'enumerable':!![],'get':function(){return _0x7d2ac8[_0x39da6d];}}),Object['defineProperty'](_0x2e3db8,_0x4ece83,_0x88a68f);}:function(_0x589c1c,_0x5489b4,_0x1e3eb5,_0xb750b0){if(_0xb750b0===undefined)_0xb750b0=_0x1e3eb5;_0x589c1c[_0xb750b0]=_0x5489b4[_0x1e3eb5];}),__setModuleDefault=this&&this['__setModuleDefault']||(Object[a0_0x411755(0x12b)]?function(_0x2112f0,_0x39c106){const _0x33192e=a0_0x411755;Object[_0x33192e(0x150)](_0x2112f0,'default',{'enumerable':!![],'value':_0x39c106});}:function(_0x30f8e5,_0x27e8f0){const _0x14db31=a0_0x411755;_0x30f8e5[_0x14db31(0x131)]=_0x27e8f0;}),__importStar=this&&this[a0_0x411755(0x132)]||(function(){var _0x2467d3=function(_0x3daa7a){const _0x40bb8d=a0_0x17cd;return _0x2467d3=Object[_0x40bb8d(0x13c)]||function(_0x123b70){const _0x521750=_0x40bb8d;var _0x5ea1b0=[];for(var _0x1ffc6c in _0x123b70)if(Object['prototype']['hasOwnProperty'][_0x521750(0x145)](_0x123b70,_0x1ffc6c))_0x5ea1b0[_0x5ea1b0[_0x521750(0x10b)]]=_0x1ffc6c;return _0x5ea1b0;},_0x2467d3(_0x3daa7a);};return function(_0x51eb68){const _0x192146=a0_0x17cd;if(_0x51eb68&&_0x51eb68[_0x192146(0x13f)])return _0x51eb68;var _0x4f27ad={};if(_0x51eb68!=null){for(var _0x7c79ef=_0x2467d3(_0x51eb68),_0x2fc4e9=0x0;_0x2fc4e9<_0x7c79ef[_0x192146(0x10b)];_0x2fc4e9++)if(_0x7c79ef[_0x2fc4e9]!=='default')__createBinding(_0x4f27ad,_0x51eb68,_0x7c79ef[_0x2fc4e9]);}return __setModuleDefault(_0x4f27ad,_0x51eb68),_0x4f27ad;};}());Object[a0_0x411755(0x150)](exports,a0_0x411755(0x13f),{'value':!![]}),exports[a0_0x411755(0xd6)]=installShims,exports[a0_0x411755(0x128)]=uninstallShims;const fs=__importStar(require('fs')),path=__importStar(require('path')),os=__importStar(require('os')),SHIMMED_COMMANDS=['ls','tree',a0_0x411755(0xf9),a0_0x411755(0x142),a0_0x411755(0xfd),'rg','ruff','git','gh',a0_0x411755(0x104),a0_0x411755(0xda),a0_0x411755(0xdf),a0_0x411755(0xf8),a0_0x411755(0x124),a0_0x411755(0x129),a0_0x411755(0xd9),a0_0x411755(0x144),a0_0x411755(0x127),'pip',a0_0x411755(0x148),'go','find'],PROFILE_MARKER=a0_0x411755(0x130);function getExecSync(){const _0x220824=a0_0x411755;return require(_0x220824(0x13b))[_0x220824(0x117)];}function getExecFileSync(){const _0x3cb2db=a0_0x411755;return require(_0x3cb2db(0x13b))[_0x3cb2db(0xe4)];}function ensureProfileContains(_0x3fda9f,_0x1d22ce,_0x521dfa){const _0x1bd4da=a0_0x411755;try{const _0x4c6c3a=path[_0x1bd4da(0x120)](_0x3fda9f);!fs[_0x1bd4da(0x122)](_0x4c6c3a)&&fs[_0x1bd4da(0x105)](_0x4c6c3a,{'recursive':!![]});if(fs[_0x1bd4da(0x122)](_0x3fda9f)){const _0x35b638=fs[_0x1bd4da(0x11d)](_0x3fda9f,'utf8');if(_0x35b638[_0x1bd4da(0x119)](_0x1d22ce))return;fs[_0x1bd4da(0xf3)](_0x3fda9f,_0x521dfa,'utf8');}else fs[_0x1bd4da(0xe0)](_0x3fda9f,_0x521dfa,_0x1bd4da(0x141));}catch{}}function removeProfileBlock(_0x5b9c23,_0x51e33e){const _0x13207f=a0_0x411755;try{if(!fs['existsSync'](_0x5b9c23))return;const _0x431262=fs[_0x13207f(0x11d)](_0x5b9c23,_0x13207f(0x141));if(!_0x431262[_0x13207f(0x119)](_0x51e33e))return;const _0x3f4c70=_0x431262['split']('\x0a'),_0x1276da=[];let _0x5ad728=![];for(let _0xe7f9fa=0x0;_0xe7f9fa<_0x3f4c70['length'];_0xe7f9fa++){if(_0x3f4c70[_0xe7f9fa][_0x13207f(0x119)](_0x51e33e)){_0x5ad728=!![];continue;}if(_0x5ad728){_0x5ad728=![];continue;}_0x1276da['push'](_0x3f4c70[_0xe7f9fa]);}const _0x46a9eb=_0x1276da[_0x13207f(0xef)]('\x0a')[_0x13207f(0x134)](/\n{3,}/g,'\x0a\x0a');fs[_0x13207f(0xe0)](_0x5b9c23,_0x46a9eb,'utf8');}catch{}}function a0_0x17cd(_0x584a66,_0x51b747){_0x584a66=_0x584a66-0xd5;const _0x155572=a0_0x1555();let _0x17cdfa=_0x155572[_0x584a66];return _0x17cdfa;}function collectPowerShellProfiles(){const _0x370cc9=a0_0x411755,_0x46745c=getExecSync(),_0x37a65a=[],_0x210a44=[[_0x370cc9(0x14c),_0x370cc9(0xf5)],[_0x370cc9(0x14c),'$PROFILE.CurrentUserAllHosts']];try{_0x46745c(_0x370cc9(0xe6),{'stdio':_0x370cc9(0xf2)}),_0x210a44[_0x370cc9(0x102)](['pwsh',_0x370cc9(0x101)]);}catch{}for(const [_0x4a0154,_0x15bc95]of _0x210a44){try{const _0x4222c6=_0x46745c(_0x4a0154+_0x370cc9(0x11b)+_0x15bc95+'\x22',{'encoding':'utf8'})['trim']();_0x4222c6&&!_0x37a65a[_0x370cc9(0xd7)](_0x9afcb2=>_0x9afcb2[_0x370cc9(0x12c)]()===_0x4222c6[_0x370cc9(0x12c)]())&&_0x37a65a[_0x370cc9(0x102)](_0x4222c6);}catch{}}return _0x37a65a;}function getBashProfilesWindows(){const _0xef518a=a0_0x411755,_0x37177e=os[_0xef518a(0x135)]();return[_0xef518a(0xfb),_0xef518a(0x140)][_0xef518a(0x121)](_0x2862b1=>path['join'](_0x37177e,_0x2862b1));}function a0_0x1555(){const _0x264ceb=['read','-NoProfile','docker','call',':$PATH\x22\x0a','.zshrc','pip3','platform','getOwnPropertyDescriptor','58042yHCkfi','powershell','\x20\x20trim\x20','trim','8BZEMML','defineProperty','$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);','installShims','some','\x20commands.\x0a\x0a','kubectl','cargo','HKCU:\x5cSoftware\x5cMicrosoft\x5cCommand\x20Processor',';=%\x22','216190wKcyvD','\x0a$env:PATH\x20=\x20\x22','npm','writeFileSync','-Command',';%PATH%\x22','\x27\x20-Name\x20AutoRun\x20-ErrorAction\x20Stop).AutoRun\x20}\x20catch\x20{\x20\x27\x27\x20}','execFileSync','\x20@args\x20}\x0a','pwsh\x20-NoProfile\x20-Command\x20\x22exit\x200\x22','\x20\x22$@\x22;\x20fi\x0a','\x20&\x20','[WARNING]\x20Could\x20not\x20automatically\x20update\x20your\x20system\x20PATH.\x20','Please\x20add\x20the\x20following\x20path\x20to\x20the\x20front\x20of\x20your\x20User\x20PATH\x20environment\x20variable\x20manually:\x0a\x20\x20','readdirSync','\x27,\x20\x27User\x27)','.trimprompt','\x20@args\x20}\x20else\x20{\x20&\x20','join','if\x20exist\x20\x22%~dp0..\x5c..\x5cAppData\x5cRoaming\x5cnpm\x5ctrim.cmd\x22','\x0a#\x20','ignore','appendFileSync','pipe','$PROFILE.CurrentUserCurrentHost','4787190BgXqfW','powershell.exe','pnpm','cat','\x20%*','.bashrc','77JCjSdy','grep','418377mFeCsJ','Failed\x20to\x20uninstall\x20shims:\x20','message','$PROFILE.CurrentUserAllHosts','push','configurable','glab','mkdirSync','win32','if\x20(Get-Command\x20trim\x20-ErrorAction\x20SilentlyContinue)\x20{\x20&\x20trim\x20','__createBinding','2135592BoHLAU','if\x20exist\x20\x22','length','try\x20{\x20(Get-ItemProperty\x20-Path\x20\x27','\x27\x20-Name\x20AutoRun\x20-ErrorAction\x20SilentlyContinue','rmdirSync',';\x22\x20+\x20$env:PATH\x0a','@echo\x20off','991856OWyEvQ','\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','\x27\x20-Name\x20AutoRun\x20-Value\x20\x27','2225490KiAnag','\x22\x20set\x20\x22PATH=','shims','execSync','New-Item\x20-Path\x20\x27','includes','filter','\x20-NoProfile\x20-Command\x20\x22','88UIJktX','readFileSync',':||g\x22);\x20exec\x20env\x20PATH=\x22$CLEAN_PATH\x22\x20','755','dirname','map','existsSync','24McrrOX','npx','split','unlinkSync','pytest','uninstallShims','yarn',')\x20else\x20(','create','toLowerCase','.cmd','\x20\x20set\x20\x22PATH=%PATH:','get','TrimPrompt\x20Shims\x20PATH','default','__importStar','Remove-ItemProperty\x20-Path\x20\x27','replace','homedir','TrimPrompt\x20shims\x20fully\x20uninstalled.\x20All\x20PATH\x20modifications,\x20shell\x20profiles,\x20and\x20registry\x20entries\x20have\x20been\x20cleaned\x20up.','[Environment]::GetEnvironmentVariable(\x27PATH\x27,\x20\x27User\x27)','#!/bin/sh\x0aif\x20command\x20-v\x20trim\x20>/dev/null\x202>&1;\x20then\x20exec\x20trim\x20','.profile',':$PATH\x22','child_process','getOwnPropertyNames','powershell\x20-NoProfile\x20-Command\x20\x22','\x20\x22$@\x22;\x20else\x20CLEAN_PATH=$(echo\x20\x22$PATH\x22\x20|\x20sed\x20\x22s|','__esModule','.bash_profile','utf8'];a0_0x1555=function(){return _0x264ceb;};return a0_0x1555();}function getBroadcastCommand(){const _0x2e72d1=a0_0x411755;return _0x2e72d1(0xd5);}function installShims(){const _0x4a35c1=a0_0x411755,_0x4d0f28=path[_0x4a35c1(0xef)](os['homedir'](),_0x4a35c1(0xed),'shims');try{!fs[_0x4a35c1(0x122)](_0x4d0f28)&&fs[_0x4a35c1(0x105)](_0x4d0f28,{'recursive':!![]});const _0x182597=os[_0x4a35c1(0x149)]()===_0x4a35c1(0x106);for(const _0x111748 of SHIMMED_COMMANDS){if(_0x182597){const _0x4d8e87=path['join'](_0x4d0f28,_0x111748+_0x4a35c1(0x12d)),_0x437341=process.env.APPDATA?path[_0x4a35c1(0xef)](process.env.APPDATA,_0x4a35c1(0xdf)):'',_0x1556f5=_0x437341?_0x4a35c1(0x10a)+path['join'](_0x437341,'trim.cmd')+'\x22':_0x4a35c1(0xf0),_0x1f445a=[_0x4a35c1(0x110),_0x1556f5+'\x20(',_0x4a35c1(0x14d)+_0x111748+'\x20%*',_0x4a35c1(0x12a),_0x4a35c1(0x12e)+_0x4d0f28+_0x4a35c1(0xdc),'\x20\x20'+_0x111748+_0x4a35c1(0xfa),')'][_0x4a35c1(0xef)]('\x0d\x0a')+'\x0d\x0a';fs['writeFileSync'](_0x4d8e87,_0x1f445a,'utf8');const _0x1890b1=path[_0x4a35c1(0xef)](_0x4d0f28,_0x111748+'.ps1'),_0x273cdb=_0x4a35c1(0x107)+_0x111748+_0x4a35c1(0xee)+_0x111748+_0x4a35c1(0xe5);fs[_0x4a35c1(0xe0)](_0x1890b1,_0x273cdb,'utf8');const _0x3e8461=path['join'](_0x4d0f28,_0x111748),_0x22cfd8=_0x4d0f28[_0x4a35c1(0x134)](/\\/g,'/')[_0x4a35c1(0x134)](/^([A-Za-z]):/,(_0xc59b1,_0x57eaee)=>'/'+_0x57eaee[_0x4a35c1(0x12c)]()),_0x26cd87=_0x4a35c1(0x138)+_0x111748+_0x4a35c1(0x13e)+_0x22cfd8+_0x4a35c1(0x11e)+_0x111748+_0x4a35c1(0xe7);fs['writeFileSync'](_0x3e8461,_0x26cd87,_0x4a35c1(0x141));}else{const _0x63bef1=path['join'](_0x4d0f28,_0x111748),_0x285b4b=_0x4a35c1(0x138)+_0x111748+_0x4a35c1(0x112)+_0x111748+'\x20\x22$@\x22;\x20fi\x0a';fs[_0x4a35c1(0xe0)](_0x63bef1,_0x285b4b,_0x4a35c1(0x141)),fs['chmodSync'](_0x63bef1,_0x4a35c1(0x11f));}}let _0x48d33b=![],_0x1171b7='';if(_0x182597)try{const _0x304faf=getExecSync(),_0x754dd=_0x4a35c1(0xf1)+PROFILE_MARKER+_0x4a35c1(0xde)+_0x4d0f28+_0x4a35c1(0x10f),_0x4cf0f9=collectPowerShellProfiles();for(const _0x292e07 of _0x4cf0f9){ensureProfileContains(_0x292e07,_0x4d0f28,_0x754dd);}try{const _0x5d5666=getExecFileSync(),_0x1b3263=_0x4a35c1(0x10a)+_0x4d0f28+_0x4a35c1(0x115)+_0x4d0f28+_0x4a35c1(0xe2),_0xff5cad=_0x4a35c1(0xdb);let _0x249b00='';try{const _0x574efb=_0x4a35c1(0x10c)+_0xff5cad+_0x4a35c1(0xe3);_0x249b00=_0x5d5666(_0x4a35c1(0xf7),[_0x4a35c1(0x143),_0x4a35c1(0xe1),_0x574efb],{'encoding':_0x4a35c1(0x141),'stdio':[_0x4a35c1(0xf4),_0x4a35c1(0xf4),_0x4a35c1(0xf2)]})[_0x4a35c1(0x14e)]();}catch{}if(!_0x249b00[_0x4a35c1(0x119)](_0x4d0f28)){const _0x5d80d4=_0x249b00?_0x249b00+_0x4a35c1(0xe8)+_0x1b3263:_0x1b3263,_0x515d63=_0x4a35c1(0x118)+_0xff5cad+'\x27\x20-Force\x20|\x20Out-Null;\x20Set-ItemProperty\x20-Path\x20\x27'+_0xff5cad+_0x4a35c1(0x113)+_0x5d80d4+'\x27';_0x5d5666('powershell.exe',[_0x4a35c1(0x143),_0x4a35c1(0xe1),_0x515d63],{'stdio':_0x4a35c1(0xf2)});}}catch{}try{const _0x8a33eb=_0x4d0f28[_0x4a35c1(0x134)](/\\/g,'/')[_0x4a35c1(0x134)](/^([A-Za-z]):/,(_0x586ba4,_0x32bca1)=>'/'+_0x32bca1['toLowerCase']()),_0x3335d8=_0x4a35c1(0xf1)+PROFILE_MARKER+'\x0aexport\x20PATH=\x22'+_0x8a33eb+_0x4a35c1(0x146),_0x4f2203=getBashProfilesWindows();let _0xd7c839=![];for(const _0x402ab5 of _0x4f2203){fs['existsSync'](_0x402ab5)&&(ensureProfileContains(_0x402ab5,_0x8a33eb,_0x3335d8),_0xd7c839=!![]);}!_0xd7c839&&ensureProfileContains(_0x4f2203[0x0],_0x8a33eb,_0x3335d8);}catch{}const _0x2f3113=_0x4a35c1(0x137),_0x5bad75=_0x304faf(_0x4a35c1(0x13d)+_0x2f3113+'\x22',{'encoding':_0x4a35c1(0x141),'stdio':[_0x4a35c1(0xf4),_0x4a35c1(0xf4),_0x4a35c1(0xf2)]})['trim']();if(!_0x5bad75[_0x4a35c1(0x119)](_0x4d0f28)){const _0xdee029=_0x4d0f28+';'+_0x5bad75,_0x503dc1=_0xdee029[_0x4a35c1(0x134)](/'/g,'\x27\x27'),_0x577bad='[Environment]::SetEnvironmentVariable(\x27PATH\x27,\x20\x27'+_0x503dc1+_0x4a35c1(0xec);_0x304faf('powershell\x20-NoProfile\x20-Command\x20\x22'+_0x577bad+';\x20'+getBroadcastCommand()+'\x22',{'stdio':_0x4a35c1(0xf2)});}const _0x2d24d8=path[_0x4a35c1(0xef)](process.env.APPDATA||'',_0x4a35c1(0xdf),'trim.ps1');if(fs[_0x4a35c1(0x122)](_0x2d24d8))try{fs[_0x4a35c1(0x126)](_0x2d24d8);}catch{}_0x48d33b=!![];}catch(_0x108e68){_0x1171b7=_0x4a35c1(0xea)+_0x4d0f28;}else try{const _0x29d9dd='export\x20PATH=\x22'+_0x4d0f28+_0x4a35c1(0x146),_0x3a5d98=os['homedir'](),_0x1ebbfd=[_0x4a35c1(0xfb),_0x4a35c1(0x147),_0x4a35c1(0x140),_0x4a35c1(0x139)];let _0x4c9853=![];for(const _0x140405 of _0x1ebbfd){const _0x492b74=path[_0x4a35c1(0xef)](_0x3a5d98,_0x140405);fs[_0x4a35c1(0x122)](_0x492b74)&&(ensureProfileContains(_0x492b74,_0x4d0f28,_0x4a35c1(0xf1)+PROFILE_MARKER+'\x0a'+_0x29d9dd),_0x4c9853=!![]);}if(!_0x4c9853){const _0x460b43=path[_0x4a35c1(0xef)](_0x3a5d98,_0x4a35c1(0xfb));ensureProfileContains(_0x460b43,_0x4d0f28,_0x4a35c1(0xf1)+PROFILE_MARKER+'\x0a'+_0x29d9dd);}_0x48d33b=!![];}catch(_0x2f2eec){_0x1171b7='Please\x20add\x20this\x20to\x20your\x20shell\x20profile\x20(~/.bashrc,\x20~/.zshrc)\x20manually:\x0a\x20\x20export\x20PATH=\x22'+_0x4d0f28+_0x4a35c1(0x13a);}const _0x24ee8c='TrimPrompt\x20shims\x20successfully\x20installed\x20for\x20'+SHIMMED_COMMANDS[_0x4a35c1(0x10b)]+_0x4a35c1(0xd8),_0x50738c=_0x48d33b?_0x24ee8c+'[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.':_0x24ee8c+_0x4a35c1(0xe9)+_0x1171b7;return{'success':!![],'pathDir':_0x4d0f28,'message':_0x50738c};}catch(_0x1b6ca5){return{'success':![],'pathDir':_0x4d0f28,'message':'Failed\x20to\x20install\x20shims:\x20'+_0x1b6ca5['message']};}}function uninstallShims(){const _0x1ce378=a0_0x411755,_0x38aa0c=path[_0x1ce378(0xef)](os['homedir'](),_0x1ce378(0xed),_0x1ce378(0x116)),_0x56db30=os['platform']()===_0x1ce378(0x106);try{if(_0x56db30){const _0x10ea0d=getExecSync();try{const _0x4b51bb=getExecFileSync(),_0x450c5f='HKCU:\x5cSoftware\x5cMicrosoft\x5cCommand\x20Processor',_0xabc2fb=_0x1ce378(0x10c)+_0x450c5f+_0x1ce378(0xe3),_0x16edb4=_0x4b51bb(_0x1ce378(0xf7),[_0x1ce378(0x143),_0x1ce378(0xe1),_0xabc2fb],{'encoding':_0x1ce378(0x141),'stdio':[_0x1ce378(0xf4),_0x1ce378(0xf4),_0x1ce378(0xf2)]})[_0x1ce378(0x14e)]();if(_0x16edb4[_0x1ce378(0x119)](_0x38aa0c)){const _0x3d55c4=_0x16edb4[_0x1ce378(0x125)](_0x1ce378(0xe8))[_0x1ce378(0x11a)](_0x4361f4=>!_0x4361f4[_0x1ce378(0x119)](_0x38aa0c));if(_0x3d55c4['length']===0x0){const _0x28cf49=_0x1ce378(0x133)+_0x450c5f+_0x1ce378(0x10d);_0x4b51bb(_0x1ce378(0xf7),[_0x1ce378(0x143),'-Command',_0x28cf49],{'stdio':_0x1ce378(0xf2)});}else{const _0x511ed7=_0x3d55c4['join'](_0x1ce378(0xe8)),_0x2dfc28='Set-ItemProperty\x20-Path\x20\x27'+_0x450c5f+'\x27\x20-Name\x20AutoRun\x20-Value\x20\x27'+_0x511ed7+'\x27';_0x4b51bb(_0x1ce378(0xf7),['-NoProfile',_0x1ce378(0xe1),_0x2dfc28],{'stdio':'ignore'});}}}catch{}try{const _0x14a02f=collectPowerShellProfiles();for(const _0x493797 of _0x14a02f){removeProfileBlock(_0x493797,PROFILE_MARKER);}}catch{}try{for(const _0x162402 of getBashProfilesWindows()){removeProfileBlock(_0x162402,PROFILE_MARKER);}}catch{}try{const _0x22a33c='[Environment]::GetEnvironmentVariable(\x27PATH\x27,\x20\x27User\x27)',_0x1efe78=_0x10ea0d(_0x1ce378(0x13d)+_0x22a33c+'\x22',{'encoding':_0x1ce378(0x141),'stdio':['pipe','pipe','ignore']})[_0x1ce378(0x14e)]();if(_0x1efe78[_0x1ce378(0x119)](_0x38aa0c)){const _0xbe310=_0x1efe78['split'](';')[_0x1ce378(0x11a)](_0x22d68b=>_0x22d68b[_0x1ce378(0x14e)]()[_0x1ce378(0x12c)]()!==_0x38aa0c[_0x1ce378(0x12c)]())['join'](';'),_0xf8ae5=_0xbe310[_0x1ce378(0x134)](/'/g,'\x27\x27'),_0x1888ed='[Environment]::SetEnvironmentVariable(\x27PATH\x27,\x20\x27'+_0xf8ae5+_0x1ce378(0xec);_0x10ea0d(_0x1ce378(0x13d)+_0x1888ed+';\x20'+getBroadcastCommand()+'\x22',{'stdio':_0x1ce378(0xf2)});}}catch{}}else{const _0x320945=os[_0x1ce378(0x135)](),_0x3736a9=[_0x1ce378(0xfb),_0x1ce378(0x147),_0x1ce378(0x140),_0x1ce378(0x139)];for(const _0x27fd8e of _0x3736a9){removeProfileBlock(path[_0x1ce378(0xef)](_0x320945,_0x27fd8e),PROFILE_MARKER);}}if(fs[_0x1ce378(0x122)](_0x38aa0c)){const _0xe9ee7f=fs[_0x1ce378(0xeb)](_0x38aa0c);for(const _0x2201bd of _0xe9ee7f){fs[_0x1ce378(0x126)](path[_0x1ce378(0xef)](_0x38aa0c,_0x2201bd));}fs[_0x1ce378(0x10e)](_0x38aa0c);}return{'success':!![],'message':_0x1ce378(0x136)};}catch(_0x3aacee){return{'success':![],'message':_0x1ce378(0xff)+_0x3aacee[_0x1ce378(0x100)]};}}
|
|
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));
|