trimprompt 1.0.6 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/filters/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x4797ef=a0_0x4fad;function a0_0x4fad(_0x384ddd,_0x3eae18){const _0x35b164=a0_0x35b1();return a0_0x4fad=function(_0x4fad6b,_0x53a526){_0x4fad6b=_0x4fad6b-0xfa;let _0xe2ff1b=_0x35b164[_0x4fad6b];return _0xe2ff1b;},a0_0x4fad(_0x384ddd,_0x3eae18);}function a0_0x35b1(){const _0x54e8b1=['jest','npm\x20run\x20test','74980HQmODE','9331JmNqJG','match','pip3\x20install','trim\x20ruff','git\x20show','filterGoVet','trim\x20pytest','1111GRrTYr','\x20tree','12bFeTIm','333JLDajj','toLowerCase','cargo\x20check','./python','trim\x20pnpm','./rust','3570732gzyAGs','filterDockerLogs','endsWith','cargo\x20test','go\x20test','656GEZkco','pytest','npm\x20install','test','./devops','collapseDuplicates','trim\x20go','960390OPxArG','./go','trim\x20grep','trim\x20npm','./generic','yarn\x20install','length','filterCargoTest','filterGitStatus','npm\x20test','trim\x20tree','trim','444SaFWBF','includes','6561907SKOoxO','pnpm\x20install','filterLs','\x20tree\x20','redact','trim\x20cargo','./git','__esModule','cargo\x20clippy','filterGitLog','startsWith','go\x20vet','trim\x20','filterJestVitest','trim\x20ls','pip\x20install','trim\x20read','filterPytest','filterDockerImages','trim\x20gh','trim\x20docker','130844UuCUNz','trim\x20kubectl','../redactor','filterGitDiff','defineProperty','ruff\x20check','trim\x20git','filterPipInstall','kubectl','\x20ls\x20','trim\x20pip','vitest','\x20ls','npm\x20i\x20','cargo\x20build','redactor','pnpm\x20test','get','pattern','npm\x20i','filterDockerPs','git\x20status','filterGoTest','filterCargoBuild','15fvGXfu','./shell'];a0_0x35b1=function(){return _0x54e8b1;};return a0_0x35b1();}(function(_0x28d39c,_0x873a26){const _0x28aed6=a0_0x4fad,_0x1407d2=_0x28d39c();while(!![]){try{const _0xad3881=parseInt(_0x28aed6(0x11b))/0x1*(-parseInt(_0x28aed6(0x13c))/0x2)+-parseInt(_0x28aed6(0x10f))/0x3*(-parseInt(_0x28aed6(0x153))/0x4)+parseInt(_0x28aed6(0x130))/0x5+parseInt(_0x28aed6(0x124))/0x6+-parseInt(_0x28aed6(0x114))/0x7*(-parseInt(_0x28aed6(0x129))/0x8)+parseInt(_0x28aed6(0x11e))/0x9*(parseInt(_0x28aed6(0x113))/0xa)+parseInt(_0x28aed6(0x13e))/0xb*(-parseInt(_0x28aed6(0x11d))/0xc);if(_0xad3881===_0x873a26)break;else _0x1407d2['push'](_0x1407d2['shift']());}catch(_0x5458d8){_0x1407d2['push'](_0x1407d2['shift']());}}}(a0_0x35b1,0x78ae4));Object[a0_0x4797ef(0xfb)](exports,a0_0x4797ef(0x145),{'value':!![]}),exports['compressOutput']=compressOutput,exports['rewriteCommand']=rewriteCommand;const generic_1=require(a0_0x4797ef(0x134)),git_1=require(a0_0x4797ef(0x144)),python_1=require(a0_0x4797ef(0x121)),js_1=require('./js'),shell_1=require(a0_0x4797ef(0x110)),rust_1=require(a0_0x4797ef(0x123)),go_1=require(a0_0x4797ef(0x131)),devops_1=require(a0_0x4797ef(0x12d)),redactor_1=require(a0_0x4797ef(0x155));function compressOutput(_0x195225,_0x310e4e,_0x3a2b9b,_0x238f67=!![]){const _0x5bd4b8=a0_0x4797ef,_0x41012c=_0x195225[_0x5bd4b8(0x13b)]();let _0x418d92=_0x310e4e;_0x3a2b9b['trim']()[_0x5bd4b8(0x136)]>0x0&&(_0x418d92=_0x310e4e+'\x0a'+_0x3a2b9b);let _0x21e38f=(0x0,generic_1['stripAnsi'])(_0x418d92);_0x238f67&&(_0x21e38f=redactor_1[_0x5bd4b8(0x106)][_0x5bd4b8(0x142)](_0x21e38f));const _0x2dd5ac=_0x41012c[_0x5bd4b8(0x11f)]();try{if(_0x2dd5ac[_0x5bd4b8(0x13d)](_0x5bd4b8(0x10c))||_0x2dd5ac[_0x5bd4b8(0x13d)]('yadm\x20status'))return(0x0,git_1[_0x5bd4b8(0x138)])(_0x21e38f);if(_0x2dd5ac[_0x5bd4b8(0x13d)]('git\x20log')||_0x2dd5ac[_0x5bd4b8(0x13d)]('yadm\x20log'))return(0x0,git_1[_0x5bd4b8(0x147)])(_0x21e38f);if(_0x2dd5ac[_0x5bd4b8(0x13d)]('git\x20diff')||_0x2dd5ac[_0x5bd4b8(0x13d)](_0x5bd4b8(0x118))||_0x2dd5ac[_0x5bd4b8(0x13d)]('yadm\x20diff'))return(0x0,git_1[_0x5bd4b8(0xfa)])(_0x21e38f);if(_0x2dd5ac[_0x5bd4b8(0x13d)](_0x5bd4b8(0x12a))||_0x2dd5ac[_0x5bd4b8(0x115)](/python3?\s+-m\s+pytest/))return(0x0,python_1[_0x5bd4b8(0x14f)])(_0x21e38f);if(_0x2dd5ac[_0x5bd4b8(0x13d)](_0x5bd4b8(0x14d))||_0x2dd5ac[_0x5bd4b8(0x13d)](_0x5bd4b8(0x116)))return(0x0,python_1[_0x5bd4b8(0xfe)])(_0x21e38f);if(_0x2dd5ac[_0x5bd4b8(0x13d)](_0x5bd4b8(0xfc))||_0x2dd5ac['includes']('ruff\x20'))return(0x0,devops_1['filterRuff'])(_0x21e38f);if(_0x2dd5ac['includes'](_0x5bd4b8(0x12b))||_0x2dd5ac['includes'](_0x5bd4b8(0x104))||_0x2dd5ac[_0x5bd4b8(0x126)](_0x5bd4b8(0x10a))||_0x2dd5ac[_0x5bd4b8(0x13d)](_0x5bd4b8(0x13f))||_0x2dd5ac[_0x5bd4b8(0x13d)](_0x5bd4b8(0x135)))return(0x0,js_1['filterNpmInstall'])(_0x21e38f);if(_0x2dd5ac[_0x5bd4b8(0x13d)](_0x5bd4b8(0x111))||_0x2dd5ac[_0x5bd4b8(0x13d)](_0x5bd4b8(0x102)))return(0x0,js_1['filterJestVitest'])(_0x21e38f);if(_0x2dd5ac['includes'](_0x5bd4b8(0x139))||_0x2dd5ac[_0x5bd4b8(0x13d)](_0x5bd4b8(0x107))||_0x2dd5ac[_0x5bd4b8(0x13d)]('yarn\x20test')||_0x2dd5ac[_0x5bd4b8(0x13d)](_0x5bd4b8(0x112)))return(0x0,js_1[_0x5bd4b8(0x14b)])(_0x21e38f);if(_0x2dd5ac['includes'](_0x5bd4b8(0x127)))return(0x0,rust_1[_0x5bd4b8(0x137)])(_0x21e38f);if(_0x2dd5ac[_0x5bd4b8(0x13d)](_0x5bd4b8(0x105))||_0x2dd5ac[_0x5bd4b8(0x13d)](_0x5bd4b8(0x120))||_0x2dd5ac[_0x5bd4b8(0x13d)](_0x5bd4b8(0x146)))return(0x0,rust_1[_0x5bd4b8(0x10e)])(_0x21e38f);if(_0x2dd5ac['includes'](_0x5bd4b8(0x128)))return(0x0,go_1[_0x5bd4b8(0x10d)])(_0x21e38f);if(_0x2dd5ac['includes'](_0x5bd4b8(0x149)))return(0x0,go_1[_0x5bd4b8(0x119)])(_0x21e38f);if(_0x2dd5ac[_0x5bd4b8(0x115)](/docker\s+ps/))return(0x0,devops_1[_0x5bd4b8(0x10b)])(_0x21e38f);if(_0x2dd5ac[_0x5bd4b8(0x115)](/docker\s+images/))return(0x0,devops_1[_0x5bd4b8(0x150)])(_0x21e38f);if(_0x2dd5ac['match'](/docker\s+logs/))return(0x0,devops_1[_0x5bd4b8(0x125)])(_0x21e38f);if(_0x2dd5ac[_0x5bd4b8(0x13d)](_0x5bd4b8(0xff))){const _0x5a21a8=_0x2dd5ac[_0x5bd4b8(0x115)](/kubectl\s+(get|logs|describe|apply)/),_0x523e26=_0x5a21a8?_0x5a21a8[0x1]:_0x5bd4b8(0x108);return(0x0,devops_1['filterKubectl'])(_0x21e38f,_0x523e26);}if(_0x2dd5ac['match'](/^(ls|dir)(\s|$)/)||_0x2dd5ac[_0x5bd4b8(0x13d)](_0x5bd4b8(0x100))||_0x2dd5ac[_0x5bd4b8(0x126)](_0x5bd4b8(0x103)))return(0x0,shell_1[_0x5bd4b8(0x140)])(_0x21e38f);if(_0x2dd5ac[_0x5bd4b8(0x115)](/^tree(\s|$)/)||_0x2dd5ac[_0x5bd4b8(0x13d)](_0x5bd4b8(0x141))||_0x2dd5ac[_0x5bd4b8(0x126)](_0x5bd4b8(0x11c)))return(0x0,shell_1['filterTree'])(_0x21e38f);if(_0x2dd5ac['match'](/^(cat|head|tail|read|bat)(\s|$)/))return(0x0,shell_1['filterCat'])(_0x21e38f);if(_0x2dd5ac[_0x5bd4b8(0x115)](/^(grep|rg|ripgrep)(\s|$)/))return(0x0,shell_1['filterGrep'])(_0x21e38f);}catch(_0x36172f){}return _0x21e38f=(0x0,generic_1[_0x5bd4b8(0x12e)])(_0x21e38f),_0x21e38f=(0x0,generic_1['softTruncate'])(_0x21e38f,0x4e20),_0x21e38f;}const REWRITE_RULES=[{'pattern':/^(?:git|yadm)\s+(?:-[Cc]\s+\S+\s+)*(status|log|diff|show|add|commit|push|pull|branch|fetch|stash|worktree)/,'prefix':a0_0x4797ef(0xfd)},{'pattern':/^gh\s+(pr|issue|run|repo|api|release)/,'prefix':a0_0x4797ef(0x151)},{'pattern':/^glab\s+(mr|issue|ci|pipeline|api|release)/,'prefix':'trim\x20glab'},{'pattern':/^cargo\s+(build|test|clippy|check|fmt|install)/,'prefix':a0_0x4797ef(0x143)},{'pattern':/^pnpm\s+(exec|i|install|list|ls|outdated|run|run-script)/,'prefix':a0_0x4797ef(0x122)},{'pattern':/^npm\s+(exec|run|run-script|rum|urn|x|test)(\s|$)/,'prefix':a0_0x4797ef(0x133)},{'pattern':/^npx\s+/,'prefix':'trim\x20npx'},{'pattern':/^(cat|head|tail)\s+/,'prefix':a0_0x4797ef(0x14e)},{'pattern':/^(rg|grep)\s+/,'prefix':a0_0x4797ef(0x132)},{'pattern':/^ls(\s|$)/,'prefix':a0_0x4797ef(0x14c)},{'pattern':/^tree(\s|$)/,'prefix':a0_0x4797ef(0x13a)},{'pattern':/^find\s+/,'prefix':'trim\x20find'},{'pattern':/^docker\s+(ps|images|logs|run|exec|build|compose)/,'prefix':a0_0x4797ef(0x152)},{'pattern':/^kubectl\s+(get|logs|describe|apply)/,'prefix':a0_0x4797ef(0x154)},{'pattern':/^(python3?\s+-m\s+)?pytest(\s|$)/,'prefix':a0_0x4797ef(0x11a)},{'pattern':/^ruff\s+(check|format)/,'prefix':a0_0x4797ef(0x117)},{'pattern':/^(pip3?|uv\s+pip)\s+(list|outdated|install|show)/,'prefix':a0_0x4797ef(0x101)},{'pattern':/^go\s+(test|build|vet)/,'prefix':a0_0x4797ef(0x12f)}];function rewriteCommand(_0x5e4049){const _0x3c5556=a0_0x4797ef,_0x472169=_0x5e4049[_0x3c5556(0x13b)]();if(_0x472169[_0x3c5556(0x148)](_0x3c5556(0x14a)))return _0x472169;for(const _0x382d71 of REWRITE_RULES){if(_0x382d71[_0x3c5556(0x109)][_0x3c5556(0x12c)](_0x472169))return'trim\x20'+_0x472169;}return _0x472169;}
1
+ 'use strict';const a0_0x3c9c19=a0_0x130a;(function(_0x37d65f,_0xa62dcc){const _0x46e48e=a0_0x130a,_0x887b91=_0x37d65f();while(!![]){try{const _0x30cfc6=-parseInt(_0x46e48e(0xd3))/0x1+parseInt(_0x46e48e(0xc7))/0x2*(-parseInt(_0x46e48e(0xf3))/0x3)+parseInt(_0x46e48e(0xec))/0x4*(-parseInt(_0x46e48e(0xd1))/0x5)+-parseInt(_0x46e48e(0xeb))/0x6*(-parseInt(_0x46e48e(0xfa))/0x7)+parseInt(_0x46e48e(0xbd))/0x8*(-parseInt(_0x46e48e(0xe1))/0x9)+-parseInt(_0x46e48e(0xf0))/0xa+parseInt(_0x46e48e(0xcd))/0xb;if(_0x30cfc6===_0xa62dcc)break;else _0x887b91['push'](_0x887b91['shift']());}catch(_0x2c4d4f){_0x887b91['push'](_0x887b91['shift']());}}}(a0_0x1154,0xc322a));function a0_0x130a(_0x39a01c,_0xe415d8){const _0x1154ff=a0_0x1154();return a0_0x130a=function(_0x130a92,_0x536473){_0x130a92=_0x130a92-0xb3;let _0x3f9ae4=_0x1154ff[_0x130a92];return _0x3f9ae4;},a0_0x130a(_0x39a01c,_0xe415d8);}Object[a0_0x3c9c19(0xfd)](exports,a0_0x3c9c19(0xcf),{'value':!![]}),exports[a0_0x3c9c19(0xf1)]=compressOutput,exports[a0_0x3c9c19(0x113)]=rewriteCommand;const generic_1=require('./generic'),git_1=require('./git'),python_1=require(a0_0x3c9c19(0x106)),js_1=require(a0_0x3c9c19(0xc2)),shell_1=require(a0_0x3c9c19(0xdc)),rust_1=require(a0_0x3c9c19(0xd7)),go_1=require(a0_0x3c9c19(0x10e)),devops_1=require(a0_0x3c9c19(0xed)),redactor_1=require(a0_0x3c9c19(0xb4));function a0_0x1154(){const _0x350164=['cargo\x20check','filterDockerImages','startsWith','npm\x20i','trim','toLowerCase','16JmiFrp','trim\x20gh','length','filterCargoTest','filterCargoBuild','./js','trim\x20pip','filterPytest','ruff\x20check','yadm\x20log','2qPWzAR','yadm\x20diff','filterPipInstall','trim\x20go','\x20tree\x20','pip\x20install','45176175ibNMeN','trim\x20grep','__esModule','pytest','5BPXXqs','match','1279608KyFIjS','filterCat','stripAnsi','trim\x20cargo','./rust','cargo\x20build','\x20tree','filterDockerLogs','jest','./shell','git\x20log','filterGrep','filterRuff','trim\x20','1669806YReRgk','trim\x20ruff','pnpm\x20test','trim\x20kubectl','trim\x20pytest','filterJestVitest','trim\x20find','test','trim\x20tree','redactor','3248286kmQVMI','2973668xNyrdK','./devops','npm\x20test','endsWith','14399470OJAcIc','compressOutput','trim\x20pnpm','44976PaGhzV','filterLs','trim\x20ls','yarn\x20install','yarn\x20test','vitest','filterGoVet','7rkDVqG','get','filterGitLog','defineProperty','trim\x20npm','\x20ls\x20','filterGitDiff','cargo\x20clippy','go\x20test','npm\x20install','trim\x20docker','git\x20status','./python','git\x20show','filterTree','filterGoTest','cargo\x20test','yadm\x20status','filterKubectl','go\x20vet','./go','pnpm\x20install','npm\x20i\x20','pip3\x20install','includes','rewriteCommand','collapseDuplicates','../redactor','softTruncate','trim\x20git'];a0_0x1154=function(){return _0x350164;};return a0_0x1154();}function compressOutput(_0x4deaf3,_0xc8e758,_0x15d775,_0x2f129a=!![]){const _0x314b88=a0_0x3c9c19,_0x509305=_0x4deaf3[_0x314b88(0xbb)]();let _0x5e1dc5=_0xc8e758;_0x15d775[_0x314b88(0xbb)]()[_0x314b88(0xbf)]>0x0&&(_0x5e1dc5=_0xc8e758+'\x0a'+_0x15d775);let _0x1ff6e7=(0x0,generic_1[_0x314b88(0xd5)])(_0x5e1dc5);_0x2f129a&&(_0x1ff6e7=redactor_1[_0x314b88(0xea)]['redact'](_0x1ff6e7));const _0x4f8872=_0x509305[_0x314b88(0xbc)]();try{if(_0x4f8872[_0x314b88(0x112)](_0x314b88(0x105))||_0x4f8872[_0x314b88(0x112)](_0x314b88(0x10b)))return(0x0,git_1['filterGitStatus'])(_0x1ff6e7);if(_0x4f8872[_0x314b88(0x112)](_0x314b88(0xdd))||_0x4f8872[_0x314b88(0x112)](_0x314b88(0xc6)))return(0x0,git_1[_0x314b88(0xfc)])(_0x1ff6e7);if(_0x4f8872[_0x314b88(0x112)]('git\x20diff')||_0x4f8872[_0x314b88(0x112)](_0x314b88(0x107))||_0x4f8872[_0x314b88(0x112)](_0x314b88(0xc8)))return(0x0,git_1[_0x314b88(0x100)])(_0x1ff6e7);if(_0x4f8872[_0x314b88(0x112)](_0x314b88(0xd0))||_0x4f8872[_0x314b88(0xd2)](/python3?\s+-m\s+pytest/))return(0x0,python_1[_0x314b88(0xc4)])(_0x1ff6e7);if(_0x4f8872[_0x314b88(0x112)](_0x314b88(0xcc))||_0x4f8872[_0x314b88(0x112)](_0x314b88(0x111)))return(0x0,python_1[_0x314b88(0xc9)])(_0x1ff6e7);if(_0x4f8872[_0x314b88(0x112)](_0x314b88(0xc5))||_0x4f8872['includes']('ruff\x20'))return(0x0,devops_1[_0x314b88(0xdf)])(_0x1ff6e7);if(_0x4f8872[_0x314b88(0x112)](_0x314b88(0x103))||_0x4f8872[_0x314b88(0x112)](_0x314b88(0x110))||_0x4f8872['endsWith'](_0x314b88(0xba))||_0x4f8872['includes'](_0x314b88(0x10f))||_0x4f8872[_0x314b88(0x112)](_0x314b88(0xf6)))return(0x0,js_1['filterNpmInstall'])(_0x1ff6e7);if(_0x4f8872[_0x314b88(0x112)](_0x314b88(0xdb))||_0x4f8872[_0x314b88(0x112)](_0x314b88(0xf8)))return(0x0,js_1[_0x314b88(0xe6)])(_0x1ff6e7);if(_0x4f8872['includes'](_0x314b88(0xee))||_0x4f8872[_0x314b88(0x112)](_0x314b88(0xe3))||_0x4f8872[_0x314b88(0x112)](_0x314b88(0xf7))||_0x4f8872['includes']('npm\x20run\x20test'))return(0x0,js_1['filterJestVitest'])(_0x1ff6e7);if(_0x4f8872['includes'](_0x314b88(0x10a)))return(0x0,rust_1[_0x314b88(0xc0)])(_0x1ff6e7);if(_0x4f8872[_0x314b88(0x112)](_0x314b88(0xd8))||_0x4f8872['includes'](_0x314b88(0xb7))||_0x4f8872['includes'](_0x314b88(0x101)))return(0x0,rust_1[_0x314b88(0xc1)])(_0x1ff6e7);if(_0x4f8872['includes'](_0x314b88(0x102)))return(0x0,go_1[_0x314b88(0x109)])(_0x1ff6e7);if(_0x4f8872[_0x314b88(0x112)](_0x314b88(0x10d)))return(0x0,go_1[_0x314b88(0xf9)])(_0x1ff6e7);if(_0x4f8872[_0x314b88(0xd2)](/docker\s+ps/))return(0x0,devops_1['filterDockerPs'])(_0x1ff6e7);if(_0x4f8872['match'](/docker\s+images/))return(0x0,devops_1[_0x314b88(0xb8)])(_0x1ff6e7);if(_0x4f8872['match'](/docker\s+logs/))return(0x0,devops_1[_0x314b88(0xda)])(_0x1ff6e7);if(_0x4f8872[_0x314b88(0x112)]('kubectl')){const _0x332629=_0x4f8872[_0x314b88(0xd2)](/kubectl\s+(get|logs|describe|apply)/),_0x467b09=_0x332629?_0x332629[0x1]:_0x314b88(0xfb);return(0x0,devops_1[_0x314b88(0x10c)])(_0x1ff6e7,_0x467b09);}if(_0x4f8872[_0x314b88(0xd2)](/^(ls|dir)(\s|$)/)||_0x4f8872['includes'](_0x314b88(0xff))||_0x4f8872['endsWith']('\x20ls'))return(0x0,shell_1[_0x314b88(0xf4)])(_0x1ff6e7);if(_0x4f8872['match'](/^tree(\s|$)/)||_0x4f8872[_0x314b88(0x112)](_0x314b88(0xcb))||_0x4f8872[_0x314b88(0xef)](_0x314b88(0xd9)))return(0x0,shell_1[_0x314b88(0x108)])(_0x1ff6e7);if(_0x4f8872[_0x314b88(0xd2)](/^(cat|head|tail|read|bat)(\s|$)/))return(0x0,shell_1[_0x314b88(0xd4)])(_0x1ff6e7);if(_0x4f8872[_0x314b88(0xd2)](/^(grep|rg|ripgrep)(\s|$)/))return(0x0,shell_1[_0x314b88(0xde)])(_0x1ff6e7);}catch(_0x4bef55){}return _0x1ff6e7=(0x0,generic_1[_0x314b88(0xb3)])(_0x1ff6e7),_0x1ff6e7=(0x0,generic_1[_0x314b88(0xb5)])(_0x1ff6e7,0x4e20),_0x1ff6e7;}const REWRITE_RULES=[{'pattern':/^(?:git|yadm)\s+(?:-[Cc]\s+\S+\s+)*(status|log|diff|show|add|commit|push|pull|branch|fetch|stash|worktree)/,'prefix':a0_0x3c9c19(0xb6)},{'pattern':/^gh\s+(pr|issue|run|repo|api|release)/,'prefix':a0_0x3c9c19(0xbe)},{'pattern':/^glab\s+(mr|issue|ci|pipeline|api|release)/,'prefix':'trim\x20glab'},{'pattern':/^cargo\s+(build|test|clippy|check|fmt|install)/,'prefix':a0_0x3c9c19(0xd6)},{'pattern':/^pnpm\s+(exec|i|install|list|ls|outdated|run|run-script)/,'prefix':a0_0x3c9c19(0xf2)},{'pattern':/^npm\s+(exec|run|run-script|rum|urn|x|test)(\s|$)/,'prefix':a0_0x3c9c19(0xfe)},{'pattern':/^npx\s+/,'prefix':'trim\x20npx'},{'pattern':/^(cat|head|tail)\s+/,'prefix':'trim\x20read'},{'pattern':/^(rg|grep)\s+/,'prefix':a0_0x3c9c19(0xce)},{'pattern':/^ls(\s|$)/,'prefix':a0_0x3c9c19(0xf5)},{'pattern':/^tree(\s|$)/,'prefix':a0_0x3c9c19(0xe9)},{'pattern':/^find\s+/,'prefix':a0_0x3c9c19(0xe7)},{'pattern':/^docker\s+(ps|images|logs|run|exec|build|compose)/,'prefix':a0_0x3c9c19(0x104)},{'pattern':/^kubectl\s+(get|logs|describe|apply)/,'prefix':a0_0x3c9c19(0xe4)},{'pattern':/^(python3?\s+-m\s+)?pytest(\s|$)/,'prefix':a0_0x3c9c19(0xe5)},{'pattern':/^ruff\s+(check|format)/,'prefix':a0_0x3c9c19(0xe2)},{'pattern':/^(pip3?|uv\s+pip)\s+(list|outdated|install|show)/,'prefix':a0_0x3c9c19(0xc3)},{'pattern':/^go\s+(test|build|vet)/,'prefix':a0_0x3c9c19(0xca)}];function rewriteCommand(_0x21311d){const _0x10c9a1=a0_0x3c9c19,_0x3e259e=_0x21311d[_0x10c9a1(0xbb)]();if(_0x3e259e[_0x10c9a1(0xb9)]('trim\x20'))return _0x3e259e;for(const _0x181227 of REWRITE_RULES){if(_0x181227['pattern'][_0x10c9a1(0xe8)](_0x3e259e))return _0x10c9a1(0xe0)+_0x3e259e;}return _0x3e259e;}
package/filters/js.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x5a957e=a0_0x39fc;(function(_0x24f666,_0x435078){const _0x5144c8=a0_0x39fc,_0x3080fb=_0x24f666();while(!![]){try{const _0xd3712b=parseInt(_0x5144c8(0x1c9))/0x1+-parseInt(_0x5144c8(0x1da))/0x2*(parseInt(_0x5144c8(0x1cc))/0x3)+parseInt(_0x5144c8(0x1dc))/0x4*(parseInt(_0x5144c8(0x1ce))/0x5)+-parseInt(_0x5144c8(0x1c7))/0x6+parseInt(_0x5144c8(0x1c4))/0x7*(-parseInt(_0x5144c8(0x1d4))/0x8)+parseInt(_0x5144c8(0x1d6))/0x9+-parseInt(_0x5144c8(0x1e1))/0xa;if(_0xd3712b===_0x435078)break;else _0x3080fb['push'](_0x3080fb['shift']());}catch(_0x2c5b8c){_0x3080fb['push'](_0x3080fb['shift']());}}}(a0_0x4c33,0x4227b));Object['defineProperty'](exports,a0_0x5a957e(0x1e0),{'value':!![]}),exports[a0_0x5a957e(0x1c5)]=filterNpmInstall,exports[a0_0x5a957e(0x1df)]=filterJestVitest;function filterNpmInstall(_0x34d717){const _0x38253a=a0_0x5a957e,_0x53f77e=_0x34d717[_0x38253a(0x1d7)](/\r/g,'\x0a'),_0x2611cb=_0x53f77e['split']('\x0a'),_0x21d1ee=[];for(const _0x1e9cc9 of _0x2611cb){const _0x2c9054=_0x1e9cc9[_0x38253a(0x1c0)]();(_0x2c9054[_0x38253a(0x1d3)](_0x38253a(0x1d2))||_0x2c9054[_0x38253a(0x1d3)](_0x38253a(0x1c6))||_0x2c9054[_0x38253a(0x1d3)](_0x38253a(0x1db))||_0x2c9054[_0x38253a(0x1d3)]('up\x20to\x20date')||_0x2c9054[_0x38253a(0x1d3)]('found\x20'))&&(!_0x2c9054[_0x38253a(0x1d3)]('%')&&!_0x2c9054['startsWith']('⠋')&&!_0x2c9054[_0x38253a(0x1cd)]('⠙')&&_0x21d1ee[_0x38253a(0x1c8)](_0x2c9054));}const _0x561542=_0x21d1ee[_0x38253a(0x1cf)]('\x0a')[_0x38253a(0x1c0)]();return _0x561542['length']>0x0?_0x561542:_0x38253a(0x1d9);}function a0_0x4c33(){const _0x4706dc=['33oiQXHZ','startsWith','110KpBTtJ','join','\x20\x20...\x20(','FAIL','added\x20','includes','96FKqEDq','\x20total)','3491946AAizEM','replace','\x20passed','NPM:\x20Packages\x20verified/installed\x20successfully','29246zlTooC','audited\x20','79988DRWXKe','\x20lines\x20of\x20trace\x20details\x20truncated)','all','filterJestVitest','__esModule','2899540IWauWq','Test\x20Files:','Test\x20Runner:\x20','PASS','slice','\x0aFailures:','Tests:','trim','length','match','\x20passed,\x20','266vgSMFQ','filterNpmInstall','removed\x20','2936652zbByRo','push','383748hJsQGM','Test\x20Suites:','\x20failed\x20('];a0_0x4c33=function(){return _0x4706dc;};return a0_0x4c33();}function a0_0x39fc(_0x55ed4e,_0xb37432){const _0x4c3343=a0_0x4c33();return a0_0x39fc=function(_0x39fc10,_0x3b241e){_0x39fc10=_0x39fc10-0x1c0;let _0x4e57d9=_0x4c3343[_0x39fc10];return _0x4e57d9;},a0_0x39fc(_0x55ed4e,_0xb37432);}function filterJestVitest(_0x7e0bca){const _0x4b3075=a0_0x5a957e,_0x4647ef=_0x7e0bca['split']('\x0a');let _0x34e657=0x0,_0x122a4a=0x0,_0x500071=0x0;const _0x1b2913=[];let _0x21484f=![];for(const _0x5aead3 of _0x4647ef){const _0x2a860f=_0x5aead3[_0x4b3075(0x1c0)]();if(_0x2a860f[_0x4b3075(0x1cd)]('Tests:')||_0x2a860f[_0x4b3075(0x1d3)](_0x4b3075(0x1e2))){const _0x3180c9=_0x2a860f[_0x4b3075(0x1c2)](/(\d+)\s+passed/),_0x12fe4e=_0x2a860f[_0x4b3075(0x1c2)](/(\d+)\s+failed/),_0x485871=_0x2a860f[_0x4b3075(0x1c2)](/(\d+)\s+total/);if(_0x3180c9)_0x34e657=parseInt(_0x3180c9[0x1]);if(_0x12fe4e)_0x122a4a=parseInt(_0x12fe4e[0x1]);if(_0x485871)_0x500071=parseInt(_0x485871[0x1]);continue;}(_0x2a860f[_0x4b3075(0x1cd)]('❯')||_0x2a860f[_0x4b3075(0x1cd)]('●')||_0x2a860f[_0x4b3075(0x1cd)]('FAIL\x20\x20'))&&(_0x21484f=!![]),_0x21484f&&(_0x2a860f[_0x4b3075(0x1c1)]>0x0&&!_0x2a860f[_0x4b3075(0x1cd)](_0x4b3075(0x1ca))&&!_0x2a860f[_0x4b3075(0x1cd)](_0x4b3075(0x1e7))&&_0x1b2913[_0x4b3075(0x1c8)](_0x5aead3));}if(_0x500071===0x0&&_0x34e657===0x0&&_0x122a4a===0x0){if(_0x7e0bca['includes'](_0x4b3075(0x1e4))&&!_0x7e0bca[_0x4b3075(0x1d3)](_0x4b3075(0x1d1))){const _0x1928c8=_0x7e0bca[_0x4b3075(0x1c2)](/(\d+)\s+passed/),_0x418a61=_0x1928c8?_0x1928c8[0x1]:_0x4b3075(0x1de);return _0x4b3075(0x1e3)+_0x418a61+_0x4b3075(0x1d8);}return _0x7e0bca;}if(_0x122a4a===0x0&&_0x34e657>0x0)return'Test\x20Runner:\x20'+_0x34e657+'\x20passed';const _0x41bfc2=[_0x4b3075(0x1e3)+_0x34e657+_0x4b3075(0x1c3)+_0x122a4a+_0x4b3075(0x1cb)+_0x500071+_0x4b3075(0x1d5)];if(_0x1b2913[_0x4b3075(0x1c1)]>0x0){_0x41bfc2[_0x4b3075(0x1c8)](_0x4b3075(0x1e6));const _0x3affae=0x19,_0x324a61=_0x1b2913[_0x4b3075(0x1e5)](0x0,_0x3affae);for(const _0x4bb61d of _0x324a61){_0x41bfc2[_0x4b3075(0x1c8)]('\x20\x20'+_0x4bb61d);}_0x1b2913[_0x4b3075(0x1c1)]>_0x3affae&&_0x41bfc2[_0x4b3075(0x1c8)](_0x4b3075(0x1d0)+(_0x1b2913['length']-_0x3affae)+_0x4b3075(0x1dd));}return _0x41bfc2[_0x4b3075(0x1cf)]('\x0a');}
1
+ 'use strict';function a0_0x4f05(_0x112185,_0x8c4fa7){const _0x14228b=a0_0x1422();return a0_0x4f05=function(_0x4f0562,_0x23b3a6){_0x4f0562=_0x4f0562-0x1b8;let _0x584019=_0x14228b[_0x4f0562];return _0x584019;},a0_0x4f05(_0x112185,_0x8c4fa7);}const a0_0x459912=a0_0x4f05;(function(_0x521e5a,_0x59ede0){const _0x3c598a=a0_0x4f05,_0x40d70b=_0x521e5a();while(!![]){try{const _0x499f4e=-parseInt(_0x3c598a(0x1c7))/0x1+-parseInt(_0x3c598a(0x1c3))/0x2+-parseInt(_0x3c598a(0x1ca))/0x3*(-parseInt(_0x3c598a(0x1cf))/0x4)+-parseInt(_0x3c598a(0x1d2))/0x5*(-parseInt(_0x3c598a(0x1d3))/0x6)+parseInt(_0x3c598a(0x1d7))/0x7*(-parseInt(_0x3c598a(0x1de))/0x8)+-parseInt(_0x3c598a(0x1ce))/0x9*(parseInt(_0x3c598a(0x1ba))/0xa)+parseInt(_0x3c598a(0x1be))/0xb;if(_0x499f4e===_0x59ede0)break;else _0x40d70b['push'](_0x40d70b['shift']());}catch(_0x2abed8){_0x40d70b['push'](_0x40d70b['shift']());}}}(a0_0x1422,0xb92cd));function a0_0x1422(){const _0x4d5d57=['22160Xnrddf','\x20passed','Tests:','filterNpmInstall','24838099cHamAU','replace','length','Test\x20Files:','match','633668WggCSj','\x20lines\x20of\x20trace\x20details\x20truncated)','slice','FAIL\x20\x20','993713aXWARO','\x20failed\x20(','found\x20','8523oMXqZv','added\x20','Test\x20Runner:\x20','\x20passed,\x20','495Fxhtha','1324GofWtn','includes','startsWith','36395kTFhcL','180aPnFOs','push','Test\x20Suites:','join','7FKzUBv','FAIL','split','__esModule','NPM:\x20Packages\x20verified/installed\x20successfully','\x0aFailures:','removed\x20','9806768pOmAUf','filterJestVitest','PASS','trim','up\x20to\x20date'];a0_0x1422=function(){return _0x4d5d57;};return a0_0x1422();}Object['defineProperty'](exports,a0_0x459912(0x1da),{'value':!![]}),exports[a0_0x459912(0x1bd)]=filterNpmInstall,exports[a0_0x459912(0x1df)]=filterJestVitest;function filterNpmInstall(_0x1e7235){const _0x5e5e69=a0_0x459912,_0x84a6=_0x1e7235[_0x5e5e69(0x1bf)](/\r/g,'\x0a'),_0x14b5fe=_0x84a6[_0x5e5e69(0x1d9)]('\x0a'),_0x42a3f6=[];for(const _0x14704a of _0x14b5fe){const _0x18d92d=_0x14704a[_0x5e5e69(0x1b8)]();(_0x18d92d['includes'](_0x5e5e69(0x1cb))||_0x18d92d[_0x5e5e69(0x1d0)](_0x5e5e69(0x1dd))||_0x18d92d[_0x5e5e69(0x1d0)]('audited\x20')||_0x18d92d[_0x5e5e69(0x1d0)](_0x5e5e69(0x1b9))||_0x18d92d['includes'](_0x5e5e69(0x1c9)))&&(!_0x18d92d[_0x5e5e69(0x1d0)]('%')&&!_0x18d92d[_0x5e5e69(0x1d1)]('⠋')&&!_0x18d92d[_0x5e5e69(0x1d1)]('⠙')&&_0x42a3f6[_0x5e5e69(0x1d4)](_0x18d92d));}const _0x1efb00=_0x42a3f6[_0x5e5e69(0x1d6)]('\x0a')['trim']();return _0x1efb00[_0x5e5e69(0x1c0)]>0x0?_0x1efb00:_0x5e5e69(0x1db);}function filterJestVitest(_0x482cce){const _0x52c908=a0_0x459912,_0xeb9733=_0x482cce[_0x52c908(0x1d9)]('\x0a');let _0x4a1bd9=0x0,_0x105e86=0x0,_0x3cd9e0=0x0;const _0x2e4cb1=[];let _0x3d5a33=![];for(const _0xe7cf1e of _0xeb9733){const _0x2f9e4c=_0xe7cf1e[_0x52c908(0x1b8)]();if(_0x2f9e4c[_0x52c908(0x1d1)](_0x52c908(0x1bc))||_0x2f9e4c['includes'](_0x52c908(0x1c1))){const _0x265193=_0x2f9e4c['match'](/(\d+)\s+passed/),_0xe66a95=_0x2f9e4c[_0x52c908(0x1c2)](/(\d+)\s+failed/),_0x5e6d89=_0x2f9e4c[_0x52c908(0x1c2)](/(\d+)\s+total/);if(_0x265193)_0x4a1bd9=parseInt(_0x265193[0x1]);if(_0xe66a95)_0x105e86=parseInt(_0xe66a95[0x1]);if(_0x5e6d89)_0x3cd9e0=parseInt(_0x5e6d89[0x1]);continue;}(_0x2f9e4c[_0x52c908(0x1d1)]('❯')||_0x2f9e4c[_0x52c908(0x1d1)]('●')||_0x2f9e4c[_0x52c908(0x1d1)](_0x52c908(0x1c6)))&&(_0x3d5a33=!![]),_0x3d5a33&&(_0x2f9e4c['length']>0x0&&!_0x2f9e4c[_0x52c908(0x1d1)](_0x52c908(0x1d5))&&!_0x2f9e4c[_0x52c908(0x1d1)]('Tests:')&&_0x2e4cb1[_0x52c908(0x1d4)](_0xe7cf1e));}if(_0x3cd9e0===0x0&&_0x4a1bd9===0x0&&_0x105e86===0x0){if(_0x482cce[_0x52c908(0x1d0)](_0x52c908(0x1e0))&&!_0x482cce[_0x52c908(0x1d0)](_0x52c908(0x1d8))){const _0x44a116=_0x482cce[_0x52c908(0x1c2)](/(\d+)\s+passed/),_0x156e90=_0x44a116?_0x44a116[0x1]:'all';return _0x52c908(0x1cc)+_0x156e90+_0x52c908(0x1bb);}return _0x482cce;}if(_0x105e86===0x0&&_0x4a1bd9>0x0)return _0x52c908(0x1cc)+_0x4a1bd9+_0x52c908(0x1bb);const _0x4695b1=[_0x52c908(0x1cc)+_0x4a1bd9+_0x52c908(0x1cd)+_0x105e86+_0x52c908(0x1c8)+_0x3cd9e0+'\x20total)'];if(_0x2e4cb1[_0x52c908(0x1c0)]>0x0){_0x4695b1[_0x52c908(0x1d4)](_0x52c908(0x1dc));const _0x352b04=0x19,_0x1d6ca3=_0x2e4cb1[_0x52c908(0x1c5)](0x0,_0x352b04);for(const _0x240db4 of _0x1d6ca3){_0x4695b1['push']('\x20\x20'+_0x240db4);}_0x2e4cb1[_0x52c908(0x1c0)]>_0x352b04&&_0x4695b1[_0x52c908(0x1d4)]('\x20\x20...\x20('+(_0x2e4cb1[_0x52c908(0x1c0)]-_0x352b04)+_0x52c908(0x1c4));}return _0x4695b1['join']('\x0a');}
package/filters/python.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x3d4088=a0_0x2111;(function(_0x31a1d8,_0x168a38){const _0x58b200=a0_0x2111,_0x4b8431=_0x31a1d8();while(!![]){try{const _0x1fe590=parseInt(_0x58b200(0x138))/0x1*(parseInt(_0x58b200(0x150))/0x2)+parseInt(_0x58b200(0x15e))/0x3+parseInt(_0x58b200(0x15a))/0x4+-parseInt(_0x58b200(0x13f))/0x5*(-parseInt(_0x58b200(0x159))/0x6)+parseInt(_0x58b200(0x136))/0x7+parseInt(_0x58b200(0x146))/0x8+-parseInt(_0x58b200(0x134))/0x9;if(_0x1fe590===_0x168a38)break;else _0x4b8431['push'](_0x4b8431['shift']());}catch(_0x169fad){_0x4b8431['push'](_0x4b8431['shift']());}}}(a0_0x4e07,0xa25ab));Object[a0_0x3d4088(0x14e)](exports,a0_0x3d4088(0x13e),{'value':!![]}),exports['filterPytest']=filterPytest,exports[a0_0x3d4088(0x133)]=filterPipInstall;function filterPytest(_0x3868f8){const _0x2209f2=a0_0x3d4088,_0x256820=_0x3868f8[_0x2209f2(0x14a)]('\x0a');let _0x5dcb07=0x0,_0xaa6bfa=0x0,_0x22472b=0x0,_0x3b0417=0x0,_0x40c437=0x0;const _0x84690d=[];let _0x5180d3=[],_0x3051e2=![];for(const _0x30bb1a of _0x256820){const _0x4f2a70=_0x30bb1a[_0x2209f2(0x139)]();if(_0x4f2a70['startsWith'](_0x2209f2(0x143))||_0x4f2a70[_0x2209f2(0x13c)](_0x2209f2(0x144))){_0x3051e2=!![];continue;}else(_0x4f2a70[_0x2209f2(0x13c)](_0x2209f2(0x15b))||_0x4f2a70[_0x2209f2(0x13c)]('===')&&_0x4f2a70['includes'](_0x2209f2(0x149)))&&(_0x3051e2=![],_0x5180d3[_0x2209f2(0x145)]>0x0&&(_0x84690d[_0x2209f2(0x160)](_0x5180d3),_0x5180d3=[]));if(_0x3051e2){if(_0x4f2a70[_0x2209f2(0x13c)](_0x2209f2(0x132)))_0x5180d3[_0x2209f2(0x145)]>0x0&&(_0x84690d['push'](_0x5180d3),_0x5180d3=[]),_0x5180d3[_0x2209f2(0x160)](_0x4f2a70);else _0x4f2a70[_0x2209f2(0x145)]>0x0&&_0x5180d3[_0x2209f2(0x160)](_0x30bb1a);continue;}if(_0x4f2a70[_0x2209f2(0x13c)]('===')&&_0x4f2a70['includes']('\x20in\x20')){const _0x5ef856=_0x4f2a70[_0x2209f2(0x137)](/(\d+)\s+passed/),_0x3598bd=_0x4f2a70[_0x2209f2(0x137)](/(\d+)\s+failed/),_0x852e33=_0x4f2a70['match'](/(\d+)\s+skipped/),_0x177856=_0x4f2a70[_0x2209f2(0x137)](/(\d+)\s+xfailed/),_0x2d50f0=_0x4f2a70[_0x2209f2(0x137)](/(\d+)\s+xpassed/);if(_0x5ef856)_0x5dcb07=parseInt(_0x5ef856[0x1]);if(_0x3598bd)_0xaa6bfa=parseInt(_0x3598bd[0x1]);if(_0x852e33)_0x22472b=parseInt(_0x852e33[0x1]);if(_0x177856)_0x3b0417=parseInt(_0x177856[0x1]);if(_0x2d50f0)_0x40c437=parseInt(_0x2d50f0[0x1]);}}_0x5180d3[_0x2209f2(0x145)]>0x0&&_0x84690d[_0x2209f2(0x160)](_0x5180d3);if(_0x5dcb07===0x0&&_0xaa6bfa===0x0&&_0x22472b===0x0&&_0x3b0417===0x0&&_0x40c437===0x0){if(_0x3868f8['includes'](_0x2209f2(0x149))&&!_0x3868f8[_0x2209f2(0x15c)](_0x2209f2(0x13d)))return _0x2209f2(0x14d);return _0x3868f8;}if(_0xaa6bfa===0x0&&_0x5dcb07>0x0&&_0x22472b===0x0&&_0x3b0417===0x0&&_0x40c437===0x0)return _0x2209f2(0x15d)+_0x5dcb07+_0x2209f2(0x153);const _0x9d4209=[];_0x9d4209[_0x2209f2(0x160)](_0x2209f2(0x15d)+_0x5dcb07+_0x2209f2(0x153));if(_0xaa6bfa>0x0)_0x9d4209[_0x2209f2(0x160)](_0xaa6bfa+_0x2209f2(0x141));if(_0x22472b>0x0)_0x9d4209[_0x2209f2(0x160)](_0x22472b+_0x2209f2(0x157));if(_0x3b0417>0x0)_0x9d4209[_0x2209f2(0x160)](_0x3b0417+_0x2209f2(0x13a));if(_0x40c437>0x0)_0x9d4209[_0x2209f2(0x160)](_0x40c437+_0x2209f2(0x140));const _0xc8bc2c=[_0x9d4209['join'](',\x20')];if(_0x84690d[_0x2209f2(0x145)]>0x0){_0xc8bc2c[_0x2209f2(0x160)]('\x0aFailures:');const _0x3b542e=0x3,_0x2201ed=_0x84690d[_0x2209f2(0x142)](0x0,_0x3b542e);for(let _0x23302b=0x0;_0x23302b<_0x2201ed['length'];_0x23302b++){const _0x52ee66=_0x2201ed[_0x23302b],_0x483a66=_0x52ee66[0x0][_0x2209f2(0x135)](/_/g,'')[_0x2209f2(0x139)]();_0xc8bc2c['push']('\x20\x20'+(_0x23302b+0x1)+_0x2209f2(0x148)+_0x483a66);const _0x36d829=_0x52ee66['slice'](0x1),_0x196767=_0x36d829['filter'](_0x5c3dbb=>{const _0x5a4651=_0x2209f2,_0x2d654b=_0x5c3dbb[_0x5a4651(0x139)]();return _0x2d654b['startsWith']('>')||_0x2d654b[_0x5a4651(0x13c)](_0x5a4651(0x14c))||_0x2d654b[_0x5a4651(0x15c)]('.py:')||_0x2d654b[_0x5a4651(0x15c)](_0x5a4651(0x14b));});for(const _0x204c2d of _0x196767['slice'](0x0,0x8)){_0xc8bc2c['push'](_0x2209f2(0x14f)+_0x204c2d);}_0x196767['length']>0x8&&_0xc8bc2c[_0x2209f2(0x160)](_0x2209f2(0x154)+(_0x196767['length']-0x8)+_0x2209f2(0x147));}_0x84690d[_0x2209f2(0x145)]>_0x3b542e&&_0xc8bc2c['push'](_0x2209f2(0x151)+(_0x84690d[_0x2209f2(0x145)]-_0x3b542e)+_0x2209f2(0x158));}return _0xc8bc2c[_0x2209f2(0x130)]('\x0a');}function filterPipInstall(_0x3185d0){const _0x49d326=a0_0x3d4088,_0x5e37a5=_0x3185d0[_0x49d326(0x14a)]('\x0a'),_0x2fce1e=[];for(const _0x152927 of _0x5e37a5){const _0x347225=_0x152927[_0x49d326(0x139)]();_0x347225[_0x49d326(0x13c)](_0x49d326(0x156))&&_0x2fce1e[_0x49d326(0x160)](_0x347225);}if(_0x2fce1e[_0x49d326(0x145)]>0x0)return _0x2fce1e[_0x49d326(0x130)]('\x0a');return _0x5e37a5[_0x49d326(0x155)](_0x510f6c=>{const _0x2c9727=_0x49d326,_0x106372=_0x510f6c[_0x2c9727(0x139)]();return!_0x106372[_0x2c9727(0x13c)](_0x2c9727(0x131))&&!_0x106372[_0x2c9727(0x13c)](_0x2c9727(0x13b))&&!_0x106372[_0x2c9727(0x15c)](_0x2c9727(0x152))&&!_0x106372[_0x2c9727(0x13c)](_0x2c9727(0x15f));})[_0x49d326(0x130)]('\x0a')['trim']();}function a0_0x2111(_0x1b26f4,_0x483a29){const _0x4e07aa=a0_0x4e07();return a0_0x2111=function(_0x2111cc,_0x1b6f6e){_0x2111cc=_0x2111cc-0x130;let _0xbec499=_0x4e07aa[_0x2111cc];return _0xbec499;},a0_0x2111(_0x1b26f4,_0x483a29);}function a0_0x4e07(){const _0x45d69c=['includes','Pytest:\x20','3320682ecfsUR','Requirement\x20already\x20satisfied','push','join','Collecting','___','filterPipInstall','39415158AfsEJR','replace','7473277JuFGBQ','match','168854iGDIbH','trim','\x20xfailed','Downloading','startsWith','failed','__esModule','3668495OxcLax','\x20xpassed\x20(warning!)','\x20failed','slice','===\x20FAILURES\x20===','===\x20ERRORS\x20===','length','7011688XpXZRw','\x20lines\x20of\x20stacktrace\x20truncated)','.\x20[FAIL]\x20','passed','split','AssertionError:','E\x20\x20\x20','Pytest:\x20All\x20tests\x20passed','defineProperty','\x20\x20\x20\x20','10YYGTBV','\x20\x20...\x20+','Using\x20cached','\x20passed','\x20\x20\x20\x20...\x20(','filter','Successfully\x20installed','\x20skipped','\x20more\x20failures\x20truncated','6drcVJq','1662120RvBXdz','===\x20short\x20test\x20summary\x20info\x20==='];a0_0x4e07=function(){return _0x45d69c;};return a0_0x4e07();}
1
+ 'use strict';const a0_0x34d01d=a0_0x2a0c;(function(_0x192d65,_0x1dcf57){const _0x245623=a0_0x2a0c,_0x271db5=_0x192d65();while(!![]){try{const _0x1c1c0e=parseInt(_0x245623(0x161))/0x1+-parseInt(_0x245623(0x18b))/0x2*(-parseInt(_0x245623(0x184))/0x3)+parseInt(_0x245623(0x169))/0x4*(parseInt(_0x245623(0x162))/0x5)+parseInt(_0x245623(0x16e))/0x6*(parseInt(_0x245623(0x163))/0x7)+-parseInt(_0x245623(0x167))/0x8*(parseInt(_0x245623(0x177))/0x9)+parseInt(_0x245623(0x16d))/0xa*(-parseInt(_0x245623(0x188))/0xb)+parseInt(_0x245623(0x15b))/0xc*(-parseInt(_0x245623(0x186))/0xd);if(_0x1c1c0e===_0x1dcf57)break;else _0x271db5['push'](_0x271db5['shift']());}catch(_0xe58b0){_0x271db5['push'](_0x271db5['shift']());}}}(a0_0x5e6a,0x24a74));Object[a0_0x34d01d(0x165)](exports,a0_0x34d01d(0x15f),{'value':!![]}),exports[a0_0x34d01d(0x166)]=filterPytest,exports[a0_0x34d01d(0x16b)]=filterPipInstall;function a0_0x2a0c(_0x3030f2,_0x49d096){const _0x5e6ad3=a0_0x5e6a();return a0_0x2a0c=function(_0x2a0c79,_0x18a7b0){_0x2a0c79=_0x2a0c79-0x157;let _0x5d4727=_0x5e6ad3[_0x2a0c79];return _0x5d4727;},a0_0x2a0c(_0x3030f2,_0x49d096);}function filterPytest(_0x2b4b44){const _0x4d42e8=a0_0x34d01d,_0x39f537=_0x2b4b44[_0x4d42e8(0x15c)]('\x0a');let _0x354a17=0x0,_0x4341d9=0x0,_0x57e24d=0x0,_0x199cfe=0x0,_0x30bf50=0x0;const _0x16a6c8=[];let _0x5f10cc=[],_0x1a6b73=![];for(const _0x3bf185 of _0x39f537){const _0x4e8c5c=_0x3bf185['trim']();if(_0x4e8c5c[_0x4d42e8(0x164)](_0x4d42e8(0x182))||_0x4e8c5c[_0x4d42e8(0x164)](_0x4d42e8(0x17b))){_0x1a6b73=!![];continue;}else(_0x4e8c5c[_0x4d42e8(0x164)](_0x4d42e8(0x16a))||_0x4e8c5c[_0x4d42e8(0x164)](_0x4d42e8(0x170))&&_0x4e8c5c[_0x4d42e8(0x158)]('passed'))&&(_0x1a6b73=![],_0x5f10cc[_0x4d42e8(0x17c)]>0x0&&(_0x16a6c8[_0x4d42e8(0x173)](_0x5f10cc),_0x5f10cc=[]));if(_0x1a6b73){if(_0x4e8c5c[_0x4d42e8(0x164)]('___'))_0x5f10cc[_0x4d42e8(0x17c)]>0x0&&(_0x16a6c8[_0x4d42e8(0x173)](_0x5f10cc),_0x5f10cc=[]),_0x5f10cc[_0x4d42e8(0x173)](_0x4e8c5c);else _0x4e8c5c[_0x4d42e8(0x17c)]>0x0&&_0x5f10cc[_0x4d42e8(0x173)](_0x3bf185);continue;}if(_0x4e8c5c[_0x4d42e8(0x164)](_0x4d42e8(0x170))&&_0x4e8c5c[_0x4d42e8(0x158)](_0x4d42e8(0x172))){const _0x6f2bf9=_0x4e8c5c[_0x4d42e8(0x18c)](/(\d+)\s+passed/),_0x34167d=_0x4e8c5c[_0x4d42e8(0x18c)](/(\d+)\s+failed/),_0x17fc86=_0x4e8c5c[_0x4d42e8(0x18c)](/(\d+)\s+skipped/),_0x5cca38=_0x4e8c5c['match'](/(\d+)\s+xfailed/),_0x3f107d=_0x4e8c5c[_0x4d42e8(0x18c)](/(\d+)\s+xpassed/);if(_0x6f2bf9)_0x354a17=parseInt(_0x6f2bf9[0x1]);if(_0x34167d)_0x4341d9=parseInt(_0x34167d[0x1]);if(_0x17fc86)_0x57e24d=parseInt(_0x17fc86[0x1]);if(_0x5cca38)_0x199cfe=parseInt(_0x5cca38[0x1]);if(_0x3f107d)_0x30bf50=parseInt(_0x3f107d[0x1]);}}_0x5f10cc['length']>0x0&&_0x16a6c8[_0x4d42e8(0x173)](_0x5f10cc);if(_0x354a17===0x0&&_0x4341d9===0x0&&_0x57e24d===0x0&&_0x199cfe===0x0&&_0x30bf50===0x0){if(_0x2b4b44[_0x4d42e8(0x158)](_0x4d42e8(0x168))&&!_0x2b4b44[_0x4d42e8(0x158)](_0x4d42e8(0x176)))return _0x4d42e8(0x189);return _0x2b4b44;}if(_0x4341d9===0x0&&_0x354a17>0x0&&_0x57e24d===0x0&&_0x199cfe===0x0&&_0x30bf50===0x0)return _0x4d42e8(0x15e)+_0x354a17+_0x4d42e8(0x16f);const _0x490b58=[];_0x490b58[_0x4d42e8(0x173)]('Pytest:\x20'+_0x354a17+'\x20passed');if(_0x4341d9>0x0)_0x490b58['push'](_0x4341d9+_0x4d42e8(0x17a));if(_0x57e24d>0x0)_0x490b58['push'](_0x57e24d+_0x4d42e8(0x15a));if(_0x199cfe>0x0)_0x490b58[_0x4d42e8(0x173)](_0x199cfe+_0x4d42e8(0x160));if(_0x30bf50>0x0)_0x490b58[_0x4d42e8(0x173)](_0x30bf50+_0x4d42e8(0x180));const _0x592a86=[_0x490b58['join'](',\x20')];if(_0x16a6c8[_0x4d42e8(0x17c)]>0x0){_0x592a86[_0x4d42e8(0x173)](_0x4d42e8(0x16c));const _0x439597=0x3,_0x4f109c=_0x16a6c8['slice'](0x0,_0x439597);for(let _0x7b85d=0x0;_0x7b85d<_0x4f109c[_0x4d42e8(0x17c)];_0x7b85d++){const _0x50ac13=_0x4f109c[_0x7b85d],_0x21cf25=_0x50ac13[0x0][_0x4d42e8(0x178)](/_/g,'')[_0x4d42e8(0x175)]();_0x592a86[_0x4d42e8(0x173)]('\x20\x20'+(_0x7b85d+0x1)+_0x4d42e8(0x17e)+_0x21cf25);const _0x1ca63b=_0x50ac13[_0x4d42e8(0x18a)](0x1),_0x300e8e=_0x1ca63b[_0x4d42e8(0x187)](_0x26d6a9=>{const _0x1775fd=_0x4d42e8,_0x132a8b=_0x26d6a9['trim']();return _0x132a8b[_0x1775fd(0x164)]('>')||_0x132a8b['startsWith']('E\x20\x20\x20')||_0x132a8b[_0x1775fd(0x158)](_0x1775fd(0x159))||_0x132a8b[_0x1775fd(0x158)]('AssertionError:');});for(const _0x591033 of _0x300e8e[_0x4d42e8(0x18a)](0x0,0x8)){_0x592a86[_0x4d42e8(0x173)]('\x20\x20\x20\x20'+_0x591033);}_0x300e8e['length']>0x8&&_0x592a86[_0x4d42e8(0x173)](_0x4d42e8(0x181)+(_0x300e8e['length']-0x8)+_0x4d42e8(0x17d));}_0x16a6c8[_0x4d42e8(0x17c)]>_0x439597&&_0x592a86[_0x4d42e8(0x173)](_0x4d42e8(0x183)+(_0x16a6c8[_0x4d42e8(0x17c)]-_0x439597)+_0x4d42e8(0x15d));}return _0x592a86['join']('\x0a');}function a0_0x5e6a(){const _0x349854=['split','\x20more\x20failures\x20truncated','Pytest:\x20','__esModule','\x20xfailed','284186IMXDjU','114765KphtzE','52941wXtPdV','startsWith','defineProperty','filterPytest','16amOpng','passed','28VdFiic','===\x20short\x20test\x20summary\x20info\x20===','filterPipInstall','\x0aFailures:','60ZZeoJz','18MYzSNF','\x20passed','===','Collecting','\x20in\x20','push','Using\x20cached','trim','failed','1080990ePLDRb','replace','Requirement\x20already\x20satisfied','\x20failed','===\x20ERRORS\x20===','length','\x20lines\x20of\x20stacktrace\x20truncated)','.\x20[FAIL]\x20','Downloading','\x20xpassed\x20(warning!)','\x20\x20\x20\x20...\x20(','===\x20FAILURES\x20===','\x20\x20...\x20+','216XOOOyB','join','553072sPtehk','filter','301301eCyfXA','Pytest:\x20All\x20tests\x20passed','slice','7148Lwmifo','match','Successfully\x20installed','includes','.py:','\x20skipped','48zIUpvh'];a0_0x5e6a=function(){return _0x349854;};return a0_0x5e6a();}function filterPipInstall(_0x36836c){const _0x340cc4=a0_0x34d01d,_0x37c81a=_0x36836c[_0x340cc4(0x15c)]('\x0a'),_0x5756d2=[];for(const _0x4e6f9a of _0x37c81a){const _0x50f150=_0x4e6f9a['trim']();_0x50f150[_0x340cc4(0x164)](_0x340cc4(0x157))&&_0x5756d2[_0x340cc4(0x173)](_0x50f150);}if(_0x5756d2['length']>0x0)return _0x5756d2['join']('\x0a');return _0x37c81a[_0x340cc4(0x187)](_0x326465=>{const _0x3e9f20=_0x340cc4,_0x2ec11d=_0x326465[_0x3e9f20(0x175)]();return!_0x2ec11d[_0x3e9f20(0x164)](_0x3e9f20(0x171))&&!_0x2ec11d[_0x3e9f20(0x164)](_0x3e9f20(0x17f))&&!_0x2ec11d['includes'](_0x3e9f20(0x174))&&!_0x2ec11d[_0x3e9f20(0x164)](_0x3e9f20(0x179));})[_0x340cc4(0x185)]('\x0a')[_0x340cc4(0x175)]();}
package/filters/rust.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x6565a9=a0_0x3f7a;function a0_0x3f7a(_0x302e65,_0x4a592f){const _0x2899c9=a0_0x2899();return a0_0x3f7a=function(_0x3f7ab1,_0x44516f){_0x3f7ab1=_0x3f7ab1-0x1d5;let _0x5b4d93=_0x2899c9[_0x3f7ab1];return _0x5b4d93;},a0_0x3f7a(_0x302e65,_0x4a592f);}(function(_0x42687e,_0x1b93f7){const _0x9a78b4=a0_0x3f7a,_0x382182=_0x42687e();while(!![]){try{const _0x245a10=parseInt(_0x9a78b4(0x200))/0x1+-parseInt(_0x9a78b4(0x1ea))/0x2+parseInt(_0x9a78b4(0x1d7))/0x3+parseInt(_0x9a78b4(0x1f4))/0x4*(-parseInt(_0x9a78b4(0x1d9))/0x5)+parseInt(_0x9a78b4(0x1f2))/0x6*(parseInt(_0x9a78b4(0x1e3))/0x7)+parseInt(_0x9a78b4(0x204))/0x8*(parseInt(_0x9a78b4(0x1dc))/0x9)+-parseInt(_0x9a78b4(0x206))/0xa;if(_0x245a10===_0x1b93f7)break;else _0x382182['push'](_0x382182['shift']());}catch(_0x3d9c2a){_0x382182['push'](_0x382182['shift']());}}}(a0_0x2899,0x4411c));Object[a0_0x6565a9(0x1e0)](exports,'__esModule',{'value':!![]}),exports[a0_0x6565a9(0x205)]=filterCargoTest,exports[a0_0x6565a9(0x1fc)]=filterCargoBuild;function filterCargoTest(_0x1c9c33){const _0x288bf1=a0_0x6565a9,_0x4641ad=_0x1c9c33[_0x288bf1(0x1f3)]('\x0a');let _0x27e30d=0x0,_0x4bbb5f=0x0,_0x55fd1b=0x0,_0x2d9bca=0x0;const _0x1830a8=[];let _0x3e040a=![],_0x3093c1=[];for(const _0x59b2a9 of _0x4641ad){const _0x1e06ce=_0x59b2a9[_0x288bf1(0x1ee)](),_0x4234b2=_0x1e06ce['match'](/test result:\s*(\w+)\.\s*(\d+)\s+passed;\s*(\d+)\s+failed;\s*(\d+)\s+ignored;\s*(\d+)\s+measured/);if(_0x4234b2){_0x27e30d+=parseInt(_0x4234b2[0x2]),_0x4bbb5f+=parseInt(_0x4234b2[0x3]),_0x55fd1b+=parseInt(_0x4234b2[0x4]),_0x2d9bca+=parseInt(_0x4234b2[0x5]);continue;}if(_0x1e06ce===_0x288bf1(0x1f8)||_0x1e06ce==='----\x20failures\x20----'){_0x3e040a=!![];continue;}if(_0x3e040a){if(_0x1e06ce[_0x288bf1(0x1e4)]('----\x20')&&_0x1e06ce['endsWith']('\x20----')){if(_0x3093c1[_0x288bf1(0x1eb)]>0x0)_0x1830a8['push'](_0x3093c1[_0x288bf1(0x1d6)]('\x0a'));_0x3093c1=[_0x1e06ce[_0x288bf1(0x1e6)](/^-+\s*/,'')[_0x288bf1(0x1e6)](/\s*-+$/,'')];}else{if(_0x1e06ce==='failures:'||_0x1e06ce['startsWith'](_0x288bf1(0x1f1))){if(_0x3093c1[_0x288bf1(0x1eb)]>0x0)_0x1830a8[_0x288bf1(0x1ed)](_0x3093c1['join']('\x0a'));_0x3093c1=[],_0x3e040a=![];}else _0x1e06ce[_0x288bf1(0x1eb)]>0x0&&_0x3093c1[_0x288bf1(0x1ed)](_0x59b2a9);}}}if(_0x3093c1['length']>0x0)_0x1830a8['push'](_0x3093c1[_0x288bf1(0x1d6)]('\x0a'));if(_0x27e30d===0x0&&_0x4bbb5f===0x0&&_0x55fd1b===0x0){if(_0x1c9c33[_0x288bf1(0x203)](_0x288bf1(0x1fd)))return'Cargo\x20test:\x20all\x20tests\x20passed';return _0x1c9c33;}if(_0x4bbb5f===0x0){const _0x5d9765=[_0x288bf1(0x1e5)+_0x27e30d+_0x288bf1(0x1fb)];if(_0x55fd1b>0x0)_0x5d9765[_0x288bf1(0x1ed)](_0x55fd1b+_0x288bf1(0x1db));return _0x5d9765[_0x288bf1(0x1d6)](',\x20');}const _0x1af358=[_0x288bf1(0x1e5)+_0x27e30d+'\x20passed,\x20'+_0x4bbb5f+_0x288bf1(0x1d5)+_0x55fd1b+'\x20ignored'];if(_0x1830a8['length']>0x0){_0x1af358['push'](_0x288bf1(0x1dd));const _0x51ac9f=0x3;for(let _0x49e0ef=0x0;_0x49e0ef<Math[_0x288bf1(0x1e9)](_0x1830a8['length'],_0x51ac9f);_0x49e0ef++){const _0x41568d=_0x1830a8[_0x49e0ef][_0x288bf1(0x1f3)]('\x0a');_0x1af358['push']('\x20\x20'+(_0x49e0ef+0x1)+'.\x20'+_0x41568d[0x0]);const _0x44a291=_0x41568d[_0x288bf1(0x1e7)](0x1),_0x51d921=_0x44a291['filter'](_0x281979=>_0x281979[_0x288bf1(0x1ee)]()[_0x288bf1(0x1e4)](_0x288bf1(0x1d8))||_0x281979[_0x288bf1(0x203)]('panicked')||_0x281979[_0x288bf1(0x203)](_0x288bf1(0x1de))||_0x281979['includes'](_0x288bf1(0x1da))||_0x281979['includes'](_0x288bf1(0x1e1)));for(const _0x3911ee of _0x51d921[_0x288bf1(0x1e7)](0x0,0x5)){_0x1af358[_0x288bf1(0x1ed)](_0x288bf1(0x1f0)+_0x3911ee[_0x288bf1(0x1ee)]());}}_0x1830a8[_0x288bf1(0x1eb)]>_0x51ac9f&&_0x1af358[_0x288bf1(0x1ed)](_0x288bf1(0x201)+(_0x1830a8[_0x288bf1(0x1eb)]-_0x51ac9f)+'\x20more\x20failures');}return _0x1af358[_0x288bf1(0x1d6)]('\x0a');}function filterCargoBuild(_0x3c104c){const _0x17d56a=a0_0x6565a9,_0x2e1370=_0x3c104c[_0x17d56a(0x1f3)]('\x0a'),_0x5eba3b=[],_0x364a0c=[];let _0x397cd6=0x0;for(const _0x46a642 of _0x2e1370){const _0x244887=_0x46a642[_0x17d56a(0x1ee)]();if(_0x244887[_0x17d56a(0x1e4)](_0x17d56a(0x1ec)))_0x397cd6++;else{if(_0x244887[_0x17d56a(0x1e4)](_0x17d56a(0x202))||_0x244887[_0x17d56a(0x1e4)](_0x17d56a(0x1f6)))_0x5eba3b[_0x17d56a(0x1ed)](_0x244887);else{if(_0x244887['startsWith'](_0x17d56a(0x1f7))||_0x244887[_0x17d56a(0x1e4)](_0x17d56a(0x1df)))_0x364a0c[_0x17d56a(0x1ed)](_0x244887);}}}if(_0x364a0c[_0x17d56a(0x1eb)]===0x0&&_0x5eba3b[_0x17d56a(0x1eb)]===0x0)return _0x397cd6>0x0?_0x17d56a(0x1fa)+_0x397cd6+_0x17d56a(0x1f9):_0x3c104c[_0x17d56a(0x1ee)]();const _0x24b93c=[];if(_0x364a0c[_0x17d56a(0x1eb)]>0x0){_0x24b93c[_0x17d56a(0x1ed)](_0x17d56a(0x1e8)+_0x364a0c[_0x17d56a(0x1eb)]+'\x20errors,\x20'+_0x5eba3b[_0x17d56a(0x1eb)]+'\x20warnings'),_0x24b93c[_0x17d56a(0x1ed)](_0x17d56a(0x1fe));for(const _0x497a32 of _0x364a0c['slice'](0x0,0x5))_0x24b93c['push']('\x20\x20'+_0x497a32);if(_0x364a0c[_0x17d56a(0x1eb)]>0x5)_0x24b93c[_0x17d56a(0x1ed)](_0x17d56a(0x201)+(_0x364a0c[_0x17d56a(0x1eb)]-0x5)+_0x17d56a(0x1ff));}else _0x24b93c['push'](_0x17d56a(0x1fa)+_0x397cd6+_0x17d56a(0x1f5)+_0x5eba3b[_0x17d56a(0x1eb)]+_0x17d56a(0x1e2));if(_0x5eba3b[_0x17d56a(0x1eb)]>0x0&&_0x5eba3b[_0x17d56a(0x1eb)]<=0x5){_0x24b93c[_0x17d56a(0x1ed)]('\x0aWarnings:');for(const _0x50f8af of _0x5eba3b)_0x24b93c[_0x17d56a(0x1ed)]('\x20\x20'+_0x50f8af);}else _0x5eba3b[_0x17d56a(0x1eb)]>0x5&&_0x24b93c[_0x17d56a(0x1ed)]('\x0a('+_0x5eba3b[_0x17d56a(0x1eb)]+_0x17d56a(0x1ef));return _0x24b93c[_0x17d56a(0x1d6)]('\x0a');}function a0_0x2899(){const _0x30778e=['28HyZJbI','startsWith','Cargo\x20test:\x20','replace','slice','Cargo:\x20','min','447756Pvyikg','length','Compiling\x20','push','trim','\x20warnings\x20—\x20run\x20cargo\x20clippy\x20for\x20details)','\x20\x20\x20\x20','test\x20result:','449742YiNcBf','split','2672HKlQug','\x20crates,\x20','warning:','error[','failures:','\x20crates\x20successfully','Cargo:\x20compiled\x20','\x20passed','filterCargoBuild','test\x20result:\x20ok','\x0aErrors:','\x20more\x20errors','386747SjabcM','\x20\x20...\x20+','warning[','includes','8NyrquA','filterCargoTest','2021820yJrTcU','\x20failed,\x20','join','205125JHXnrm','thread','1790OjjeYS','left:','\x20ignored','1701594nIwynK','\x0aFailures:','assert','error:','defineProperty','right:','\x20warnings'];a0_0x2899=function(){return _0x30778e;};return a0_0x2899();}
1
+ 'use strict';const a0_0x71af59=a0_0x3269;(function(_0x3f895d,_0x484e1f){const _0x72437=a0_0x3269,_0x10f0b9=_0x3f895d();while(!![]){try{const _0x527ec0=-parseInt(_0x72437(0x8d))/0x1+-parseInt(_0x72437(0x90))/0x2*(parseInt(_0x72437(0x87))/0x3)+-parseInt(_0x72437(0x83))/0x4+-parseInt(_0x72437(0xad))/0x5*(-parseInt(_0x72437(0x9f))/0x6)+parseInt(_0x72437(0x93))/0x7+-parseInt(_0x72437(0x92))/0x8+parseInt(_0x72437(0x8f))/0x9;if(_0x527ec0===_0x484e1f)break;else _0x10f0b9['push'](_0x10f0b9['shift']());}catch(_0x437915){_0x10f0b9['push'](_0x10f0b9['shift']());}}}(a0_0x5698,0x4fdc8));Object[a0_0x71af59(0xae)](exports,'__esModule',{'value':!![]}),exports[a0_0x71af59(0x8b)]=filterCargoTest,exports[a0_0x71af59(0xa0)]=filterCargoBuild;function filterCargoTest(_0x289583){const _0x4dadcd=a0_0x71af59,_0x35ee2f=_0x289583[_0x4dadcd(0x9d)]('\x0a');let _0x7cd13f=0x0,_0x3597af=0x0,_0x4a5160=0x0,_0x125402=0x0;const _0x1dd3db=[];let _0x2e07c9=![],_0x4ee480=[];for(const _0x1fb2c9 of _0x35ee2f){const _0x2c5bff=_0x1fb2c9[_0x4dadcd(0xa7)](),_0x450a5f=_0x2c5bff[_0x4dadcd(0x97)](/test result:\s*(\w+)\.\s*(\d+)\s+passed;\s*(\d+)\s+failed;\s*(\d+)\s+ignored;\s*(\d+)\s+measured/);if(_0x450a5f){_0x7cd13f+=parseInt(_0x450a5f[0x2]),_0x3597af+=parseInt(_0x450a5f[0x3]),_0x4a5160+=parseInt(_0x450a5f[0x4]),_0x125402+=parseInt(_0x450a5f[0x5]);continue;}if(_0x2c5bff===_0x4dadcd(0x8a)||_0x2c5bff==='----\x20failures\x20----'){_0x2e07c9=!![];continue;}if(_0x2e07c9){if(_0x2c5bff[_0x4dadcd(0x99)](_0x4dadcd(0xa5))&&_0x2c5bff[_0x4dadcd(0xa9)](_0x4dadcd(0x9e))){if(_0x4ee480[_0x4dadcd(0x95)]>0x0)_0x1dd3db[_0x4dadcd(0x84)](_0x4ee480[_0x4dadcd(0x7d)]('\x0a'));_0x4ee480=[_0x2c5bff[_0x4dadcd(0x98)](/^-+\s*/,'')['replace'](/\s*-+$/,'')];}else{if(_0x2c5bff===_0x4dadcd(0x8a)||_0x2c5bff[_0x4dadcd(0x99)](_0x4dadcd(0x82))){if(_0x4ee480[_0x4dadcd(0x95)]>0x0)_0x1dd3db[_0x4dadcd(0x84)](_0x4ee480[_0x4dadcd(0x7d)]('\x0a'));_0x4ee480=[],_0x2e07c9=![];}else _0x2c5bff[_0x4dadcd(0x95)]>0x0&&_0x4ee480[_0x4dadcd(0x84)](_0x1fb2c9);}}}if(_0x4ee480[_0x4dadcd(0x95)]>0x0)_0x1dd3db[_0x4dadcd(0x84)](_0x4ee480[_0x4dadcd(0x7d)]('\x0a'));if(_0x7cd13f===0x0&&_0x3597af===0x0&&_0x4a5160===0x0){if(_0x289583['includes'](_0x4dadcd(0x85)))return _0x4dadcd(0xac);return _0x289583;}if(_0x3597af===0x0){const _0x3ce5d0=[_0x4dadcd(0xaf)+_0x7cd13f+_0x4dadcd(0xa3)];if(_0x4a5160>0x0)_0x3ce5d0[_0x4dadcd(0x84)](_0x4a5160+_0x4dadcd(0xa4));return _0x3ce5d0[_0x4dadcd(0x7d)](',\x20');}const _0x24795e=[_0x4dadcd(0xaf)+_0x7cd13f+'\x20passed,\x20'+_0x3597af+'\x20failed,\x20'+_0x4a5160+_0x4dadcd(0xa4)];if(_0x1dd3db[_0x4dadcd(0x95)]>0x0){_0x24795e[_0x4dadcd(0x84)](_0x4dadcd(0x7e));const _0x9cf30b=0x3;for(let _0x30d390=0x0;_0x30d390<Math[_0x4dadcd(0x86)](_0x1dd3db[_0x4dadcd(0x95)],_0x9cf30b);_0x30d390++){const _0x4e8dca=_0x1dd3db[_0x30d390][_0x4dadcd(0x9d)]('\x0a');_0x24795e[_0x4dadcd(0x84)]('\x20\x20'+(_0x30d390+0x1)+'.\x20'+_0x4e8dca[0x0]);const _0xaa6a8d=_0x4e8dca[_0x4dadcd(0x9c)](0x1),_0x141d37=_0xaa6a8d[_0x4dadcd(0x9a)](_0x2c6627=>_0x2c6627[_0x4dadcd(0xa7)]()[_0x4dadcd(0x99)](_0x4dadcd(0x7c))||_0x2c6627['includes'](_0x4dadcd(0xa1))||_0x2c6627[_0x4dadcd(0x9b)](_0x4dadcd(0x89))||_0x2c6627['includes']('left:')||_0x2c6627[_0x4dadcd(0x9b)](_0x4dadcd(0x7f)));for(const _0x3a9163 of _0x141d37[_0x4dadcd(0x9c)](0x0,0x5)){_0x24795e['push'](_0x4dadcd(0x91)+_0x3a9163[_0x4dadcd(0xa7)]());}}_0x1dd3db[_0x4dadcd(0x95)]>_0x9cf30b&&_0x24795e[_0x4dadcd(0x84)](_0x4dadcd(0x96)+(_0x1dd3db[_0x4dadcd(0x95)]-_0x9cf30b)+_0x4dadcd(0x8e));}return _0x24795e['join']('\x0a');}function filterCargoBuild(_0x1f576e){const _0x54af47=a0_0x71af59,_0x5d1a1f=_0x1f576e[_0x54af47(0x9d)]('\x0a'),_0x335273=[],_0x1f6495=[];let _0x2d2770=0x0;for(const _0x259dfe of _0x5d1a1f){const _0x2c06bc=_0x259dfe['trim']();if(_0x2c06bc['startsWith'](_0x54af47(0xa8)))_0x2d2770++;else{if(_0x2c06bc[_0x54af47(0x99)]('warning[')||_0x2c06bc[_0x54af47(0x99)]('warning:'))_0x335273[_0x54af47(0x84)](_0x2c06bc);else{if(_0x2c06bc['startsWith'](_0x54af47(0x8c))||_0x2c06bc[_0x54af47(0x99)](_0x54af47(0xa2)))_0x1f6495[_0x54af47(0x84)](_0x2c06bc);}}}if(_0x1f6495[_0x54af47(0x95)]===0x0&&_0x335273[_0x54af47(0x95)]===0x0)return _0x2d2770>0x0?_0x54af47(0x88)+_0x2d2770+_0x54af47(0x80):_0x1f576e['trim']();const _0x26c4c6=[];if(_0x1f6495[_0x54af47(0x95)]>0x0){_0x26c4c6[_0x54af47(0x84)](_0x54af47(0xa6)+_0x1f6495['length']+'\x20errors,\x20'+_0x335273[_0x54af47(0x95)]+_0x54af47(0x94)),_0x26c4c6[_0x54af47(0x84)]('\x0aErrors:');for(const _0x1e0810 of _0x1f6495['slice'](0x0,0x5))_0x26c4c6[_0x54af47(0x84)]('\x20\x20'+_0x1e0810);if(_0x1f6495[_0x54af47(0x95)]>0x5)_0x26c4c6[_0x54af47(0x84)]('\x20\x20...\x20+'+(_0x1f6495[_0x54af47(0x95)]-0x5)+_0x54af47(0xab));}else _0x26c4c6['push'](_0x54af47(0x88)+_0x2d2770+_0x54af47(0xaa)+_0x335273['length']+_0x54af47(0x94));if(_0x335273[_0x54af47(0x95)]>0x0&&_0x335273[_0x54af47(0x95)]<=0x5){_0x26c4c6['push'](_0x54af47(0x81));for(const _0x282e48 of _0x335273)_0x26c4c6['push']('\x20\x20'+_0x282e48);}else _0x335273['length']>0x5&&_0x26c4c6[_0x54af47(0x84)]('\x0a('+_0x335273[_0x54af47(0x95)]+'\x20warnings\x20—\x20run\x20cargo\x20clippy\x20for\x20details)');return _0x26c4c6[_0x54af47(0x7d)]('\x0a');}function a0_0x3269(_0x15063f,_0x101c23){const _0x56984b=a0_0x5698();return a0_0x3269=function(_0x326905,_0x303bef){_0x326905=_0x326905-0x7c;let _0x125591=_0x56984b[_0x326905];return _0x125591;},a0_0x3269(_0x15063f,_0x101c23);}function a0_0x5698(){const _0x39c1b8=['6xnDbtO','filterCargoBuild','panicked','error:','\x20passed','\x20ignored','----\x20','Cargo:\x20','trim','Compiling\x20','endsWith','\x20crates,\x20','\x20more\x20errors','Cargo\x20test:\x20all\x20tests\x20passed','389230wBrWWG','defineProperty','Cargo\x20test:\x20','thread','join','\x0aFailures:','right:','\x20crates\x20successfully','\x0aWarnings:','test\x20result:','1728428IqNDLQ','push','test\x20result:\x20ok','min','4353aZYBqh','Cargo:\x20compiled\x20','assert','failures:','filterCargoTest','error[','565178KtrBaW','\x20more\x20failures','8714610sGLJuQ','374umYOau','\x20\x20\x20\x20','279624heylik','4091857Oubstb','\x20warnings','length','\x20\x20...\x20+','match','replace','startsWith','filter','includes','slice','split','\x20----'];a0_0x5698=function(){return _0x39c1b8;};return a0_0x5698();}
package/filters/shell.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x1d76dd=a0_0x3535;(function(_0x2d313d,_0x5f31a9){const _0x10a71b=a0_0x3535,_0x49d19f=_0x2d313d();while(!![]){try{const _0x28b416=-parseInt(_0x10a71b(0x1c6))/0x1+parseInt(_0x10a71b(0x1d9))/0x2+parseInt(_0x10a71b(0x1e2))/0x3+-parseInt(_0x10a71b(0x1d0))/0x4+parseInt(_0x10a71b(0x1e1))/0x5+-parseInt(_0x10a71b(0x1db))/0x6+parseInt(_0x10a71b(0x1cf))/0x7;if(_0x28b416===_0x5f31a9)break;else _0x49d19f['push'](_0x49d19f['shift']());}catch(_0x1df42d){_0x49d19f['push'](_0x49d19f['shift']());}}}(a0_0x508c,0x8c046));function a0_0x3535(_0x4a9bae,_0x1ca97f){const _0x508c32=a0_0x508c();return a0_0x3535=function(_0x3535f8,_0x5b330a){_0x3535f8=_0x3535f8-0x1c2;let _0x3fec27=_0x508c32[_0x3535f8];return _0x3fec27;},a0_0x3535(_0x4a9bae,_0x1ca97f);}function a0_0x508c(){const _0x2c3563=['348573zxtdkC','length','\x20files\x20total\x20—\x20deep\x20entries\x20truncated)','match','filterTree','filterGrep','filter','Empty\x20directory','\x20more\x20matches','\x20matches\x20in\x20this\x20file)','...\x20+','914656teMrGY','substring','slice','\x20directories,\x20','includes','No\x20matches\x20found','trim','\x20more\x20directories',':\x20...\x20(','12705602JwJHUr','2870532YFgXKK','split','keys','total\x20','defineProperty','join','\x20files)','\x20lines\x20truncated]\x20...\x0a','indexOf','803650LAOVkm','filterLs','1174080LqkYeL','\x0a...\x20(','push','\x20lines\x20total)','\x20more\x20files\x20with\x20matches','startsWith','341885SWuqJl'];a0_0x508c=function(){return _0x2c3563;};return a0_0x508c();}Object[a0_0x1d76dd(0x1d4)](exports,'__esModule',{'value':!![]}),exports[a0_0x1d76dd(0x1da)]=filterLs,exports[a0_0x1d76dd(0x1e6)]=filterTree,exports['filterCat']=filterCat,exports[a0_0x1d76dd(0x1e7)]=filterGrep;function filterLs(_0x23ec22){const _0xc84e69=a0_0x1d76dd,_0x3ed690=_0x23ec22[_0xc84e69(0x1d1)]('\x0a')[_0xc84e69(0x1e8)](_0x3d5242=>_0x3d5242['trim']()[_0xc84e69(0x1e3)]>0x0);if(_0x3ed690[_0xc84e69(0x1e3)]===0x0)return _0xc84e69(0x1c2);if(_0x3ed690[_0xc84e69(0x1e3)]<=0x1e)return _0x23ec22[_0xc84e69(0x1cc)]();const _0x370c4e=[],_0xc0e34b=[];for(const _0x576935 of _0x3ed690){const _0xd00ea8=_0x576935['trim']();if(_0xd00ea8['startsWith'](_0xc84e69(0x1d3))||_0xd00ea8[_0xc84e69(0x1e0)]('d')&&_0xd00ea8[_0xc84e69(0x1ca)]('..'))continue;_0xd00ea8['endsWith']('/')||_0xd00ea8[_0xc84e69(0x1e0)]('d')&&_0xd00ea8[_0xc84e69(0x1ca)]('\x20')?_0x370c4e['push'](_0xd00ea8):_0xc0e34b[_0xc84e69(0x1dd)](_0xd00ea8);}const _0x54bdd3=[];return _0x370c4e[_0xc84e69(0x1e3)]>0x0&&(_0x370c4e[_0xc84e69(0x1e3)]<=0xf?_0x54bdd3[_0xc84e69(0x1dd)](..._0x370c4e):(_0x54bdd3['push'](..._0x370c4e[_0xc84e69(0x1c8)](0x0,0xa)),_0x54bdd3[_0xc84e69(0x1dd)](_0xc84e69(0x1c5)+(_0x370c4e[_0xc84e69(0x1e3)]-0xa)+_0xc84e69(0x1cd)))),_0xc0e34b[_0xc84e69(0x1e3)]>0x0&&(_0xc0e34b[_0xc84e69(0x1e3)]<=0x14?_0x54bdd3[_0xc84e69(0x1dd)](..._0xc0e34b):(_0x54bdd3['push'](..._0xc0e34b['slice'](0x0,0xf)),_0x54bdd3[_0xc84e69(0x1dd)](_0xc84e69(0x1c5)+(_0xc0e34b[_0xc84e69(0x1e3)]-0xf)+'\x20more\x20files'))),_0x54bdd3[_0xc84e69(0x1dd)]('\x0a('+_0x370c4e[_0xc84e69(0x1e3)]+_0xc84e69(0x1c9)+_0xc0e34b[_0xc84e69(0x1e3)]+'\x20files)'),_0x54bdd3[_0xc84e69(0x1d5)]('\x0a');}function filterTree(_0x25af0d){const _0x25b3fd=a0_0x1d76dd,_0x35d12c=_0x25af0d['split']('\x0a');if(_0x35d12c['length']<=0x32)return _0x25af0d[_0x25b3fd(0x1cc)]();const _0x24475a=[];let _0x836369=0x0,_0x6ed6ec=0x0,_0x399d20=0x0;for(const _0x408c8b of _0x35d12c){const _0x1cb35f=_0x408c8b[_0x25b3fd(0x1e5)](/(\d+)\s+director/),_0x1c1831=_0x408c8b['match'](/(\d+)\s+file/);if(_0x1cb35f)_0x399d20=parseInt(_0x1cb35f[0x1]);if(_0x1c1831)_0x6ed6ec=parseInt(_0x1c1831[0x1]);const _0x10f582=(_0x408c8b[_0x25b3fd(0x1e5)](/^[│├└\s─]+/)||[''])[0x0][_0x25b3fd(0x1e3)];_0x10f582<=0x4&&(_0x24475a[_0x25b3fd(0x1dd)](_0x408c8b),_0x836369++);}return _0x35d12c['length']>_0x24475a[_0x25b3fd(0x1e3)]&&_0x24475a[_0x25b3fd(0x1dd)](_0x25b3fd(0x1dc)+_0x399d20+_0x25b3fd(0x1c9)+_0x6ed6ec+_0x25b3fd(0x1e4)),_0x24475a['join']('\x0a');}function filterCat(_0x2682f7){const _0x5cc41a=a0_0x1d76dd,_0x4c0cce=_0x2682f7[_0x5cc41a(0x1d1)]('\x0a');if(_0x4c0cce[_0x5cc41a(0x1e3)]<=0x64)return _0x2682f7;const _0x465c5b=[];return _0x465c5b[_0x5cc41a(0x1dd)](..._0x4c0cce['slice'](0x0,0x32)),_0x465c5b[_0x5cc41a(0x1dd)]('\x0a...\x20['+(_0x4c0cce[_0x5cc41a(0x1e3)]-0x50)+_0x5cc41a(0x1d7)),_0x465c5b[_0x5cc41a(0x1dd)](..._0x4c0cce[_0x5cc41a(0x1c8)](-0x1e)),_0x465c5b['push']('\x0a('+_0x4c0cce[_0x5cc41a(0x1e3)]+_0x5cc41a(0x1de)),_0x465c5b[_0x5cc41a(0x1d5)]('\x0a');}function filterGrep(_0x2f5181){const _0x43873d=a0_0x1d76dd,_0x2313b8=_0x2f5181[_0x43873d(0x1d1)]('\x0a')['filter'](_0xc76043=>_0xc76043[_0x43873d(0x1cc)]()[_0x43873d(0x1e3)]>0x0);if(_0x2313b8[_0x43873d(0x1e3)]===0x0)return _0x43873d(0x1cb);if(_0x2313b8[_0x43873d(0x1e3)]<=0x32)return _0x2f5181['trim']();const _0x51485f={},_0x57fdfc=[];for(const _0x2ef219 of _0x2313b8){const _0x46ca3d=_0x2ef219[_0x43873d(0x1d8)](':');if(_0x46ca3d>0x0&&_0x46ca3d<0xc8){const _0x131d84=_0x2ef219[_0x43873d(0x1c7)](0x0,_0x46ca3d);if(_0x131d84[_0x43873d(0x1ca)]('/')||_0x131d84['includes']('\x5c')||_0x131d84[_0x43873d(0x1ca)]('.')){if(!_0x51485f[_0x131d84])_0x51485f[_0x131d84]=[];_0x51485f[_0x131d84]['push'](_0x2ef219[_0x43873d(0x1c7)](_0x46ca3d+0x1)[_0x43873d(0x1cc)]());continue;}}_0x57fdfc[_0x43873d(0x1dd)](_0x2ef219);}const _0x58e3c9=[],_0x567dd4=Object[_0x43873d(0x1d2)](_0x51485f);if(_0x567dd4[_0x43873d(0x1e3)]>0x0){const _0x5e03bd=0x14,_0x15028c=_0x567dd4[_0x43873d(0x1c8)](0x0,_0x5e03bd);for(const _0x1ccb24 of _0x15028c){const _0x4df345=_0x51485f[_0x1ccb24];if(_0x4df345[_0x43873d(0x1e3)]<=0x3)for(const _0x1550f2 of _0x4df345){_0x58e3c9[_0x43873d(0x1dd)](_0x1ccb24+':\x20'+_0x1550f2);}else _0x58e3c9[_0x43873d(0x1dd)](_0x1ccb24+':\x20'+_0x4df345[0x0]),_0x58e3c9['push'](_0x1ccb24+_0x43873d(0x1ce)+_0x4df345[_0x43873d(0x1e3)]+_0x43873d(0x1c4));}_0x567dd4['length']>_0x5e03bd&&_0x58e3c9[_0x43873d(0x1dd)](_0x43873d(0x1c5)+(_0x567dd4['length']-_0x5e03bd)+_0x43873d(0x1df));}if(_0x57fdfc[_0x43873d(0x1e3)]>0x0){const _0x2ba8bb=0x1e;_0x58e3c9[_0x43873d(0x1dd)](..._0x57fdfc[_0x43873d(0x1c8)](0x0,_0x2ba8bb)),_0x57fdfc[_0x43873d(0x1e3)]>_0x2ba8bb&&_0x58e3c9[_0x43873d(0x1dd)]('...\x20+'+(_0x57fdfc[_0x43873d(0x1e3)]-_0x2ba8bb)+_0x43873d(0x1c3));}const _0x2860eb=_0x2313b8[_0x43873d(0x1e3)];return _0x58e3c9[_0x43873d(0x1dd)]('\x0a('+_0x2860eb+'\x20matches\x20across\x20'+(_0x567dd4[_0x43873d(0x1e3)]||'?')+_0x43873d(0x1d6)),_0x58e3c9[_0x43873d(0x1d5)]('\x0a');}
1
+ 'use strict';function a0_0x27e8(_0x5d67b3,_0x4fbea9){const _0x281c9e=a0_0x281c();return a0_0x27e8=function(_0x27e8b6,_0x1ae8da){_0x27e8b6=_0x27e8b6-0x9d;let _0xe2920c=_0x281c9e[_0x27e8b6];return _0xe2920c;},a0_0x27e8(_0x5d67b3,_0x4fbea9);}const a0_0x157704=a0_0x27e8;(function(_0xbbe27,_0x7c99f3){const _0x1ae3ed=a0_0x27e8,_0x51af3a=_0xbbe27();while(!![]){try{const _0x3eecc5=-parseInt(_0x1ae3ed(0xa8))/0x1*(-parseInt(_0x1ae3ed(0xb6))/0x2)+parseInt(_0x1ae3ed(0xc2))/0x3*(parseInt(_0x1ae3ed(0xaf))/0x4)+parseInt(_0x1ae3ed(0xac))/0x5+-parseInt(_0x1ae3ed(0xca))/0x6+-parseInt(_0x1ae3ed(0xa0))/0x7*(-parseInt(_0x1ae3ed(0xa5))/0x8)+parseInt(_0x1ae3ed(0xa7))/0x9*(parseInt(_0x1ae3ed(0xaa))/0xa)+-parseInt(_0x1ae3ed(0xc9))/0xb*(parseInt(_0x1ae3ed(0xb0))/0xc);if(_0x3eecc5===_0x7c99f3)break;else _0x51af3a['push'](_0x51af3a['shift']());}catch(_0x3009fa){_0x51af3a['push'](_0x51af3a['shift']());}}}(a0_0x281c,0x3ca33));Object[a0_0x157704(0xc6)](exports,a0_0x157704(0xc7),{'value':!![]}),exports[a0_0x157704(0xab)]=filterLs,exports[a0_0x157704(0xad)]=filterTree,exports[a0_0x157704(0xb4)]=filterCat,exports[a0_0x157704(0x9f)]=filterGrep;function a0_0x281c(){const _0x18e0c4=['\x20more\x20files\x20with\x20matches','\x0a...\x20[','length','\x20lines\x20truncated]\x20...\x0a','...\x20+','\x20directories,\x20','match','\x20more\x20files','\x20more\x20matches','slice',':\x20...\x20(','57ISzBuQ','filter','indexOf','total\x20','defineProperty','__esModule','\x20files)','2167lrIqTI','480786aYbZbH','No\x20matches\x20found','endsWith','filterGrep','14redYaf','split','startsWith','trim','\x20lines\x20total)','373640EuXfIR','join','21348kjrGfL','21355kwwVaB','includes','100JybQLu','filterLs','963135rBGfYU','filterTree','\x20files\x20total\x20—\x20deep\x20entries\x20truncated)','36212heHizA','35352lqFRBA','\x20matches\x20across\x20','Empty\x20directory','substring','filterCat','push','40mEbRUk'];a0_0x281c=function(){return _0x18e0c4;};return a0_0x281c();}function filterLs(_0x587637){const _0x8490c4=a0_0x157704,_0x64d54b=_0x587637[_0x8490c4(0xa1)]('\x0a')[_0x8490c4(0xc3)](_0x803f=>_0x803f[_0x8490c4(0xa3)]()[_0x8490c4(0xb9)]>0x0);if(_0x64d54b[_0x8490c4(0xb9)]===0x0)return _0x8490c4(0xb2);if(_0x64d54b[_0x8490c4(0xb9)]<=0x1e)return _0x587637[_0x8490c4(0xa3)]();const _0x489a85=[],_0x55dbdb=[];for(const _0x5e886c of _0x64d54b){const _0x3e4ce6=_0x5e886c[_0x8490c4(0xa3)]();if(_0x3e4ce6[_0x8490c4(0xa2)](_0x8490c4(0xc5))||_0x3e4ce6['startsWith']('d')&&_0x3e4ce6[_0x8490c4(0xa9)]('..'))continue;_0x3e4ce6[_0x8490c4(0x9e)]('/')||_0x3e4ce6[_0x8490c4(0xa2)]('d')&&_0x3e4ce6[_0x8490c4(0xa9)]('\x20')?_0x489a85['push'](_0x3e4ce6):_0x55dbdb[_0x8490c4(0xb5)](_0x3e4ce6);}const _0x26919b=[];return _0x489a85[_0x8490c4(0xb9)]>0x0&&(_0x489a85['length']<=0xf?_0x26919b[_0x8490c4(0xb5)](..._0x489a85):(_0x26919b[_0x8490c4(0xb5)](..._0x489a85[_0x8490c4(0xc0)](0x0,0xa)),_0x26919b[_0x8490c4(0xb5)]('...\x20+'+(_0x489a85[_0x8490c4(0xb9)]-0xa)+'\x20more\x20directories'))),_0x55dbdb[_0x8490c4(0xb9)]>0x0&&(_0x55dbdb[_0x8490c4(0xb9)]<=0x14?_0x26919b[_0x8490c4(0xb5)](..._0x55dbdb):(_0x26919b[_0x8490c4(0xb5)](..._0x55dbdb['slice'](0x0,0xf)),_0x26919b['push'](_0x8490c4(0xbb)+(_0x55dbdb[_0x8490c4(0xb9)]-0xf)+_0x8490c4(0xbe)))),_0x26919b[_0x8490c4(0xb5)]('\x0a('+_0x489a85[_0x8490c4(0xb9)]+_0x8490c4(0xbc)+_0x55dbdb[_0x8490c4(0xb9)]+_0x8490c4(0xc8)),_0x26919b[_0x8490c4(0xa6)]('\x0a');}function filterTree(_0x3f59e6){const _0x2e85a0=a0_0x157704,_0x1695f9=_0x3f59e6[_0x2e85a0(0xa1)]('\x0a');if(_0x1695f9[_0x2e85a0(0xb9)]<=0x32)return _0x3f59e6[_0x2e85a0(0xa3)]();const _0x2498cd=[];let _0x2a0cab=0x0,_0x260b0e=0x0,_0x492cf6=0x0;for(const _0x2d450e of _0x1695f9){const _0x34e142=_0x2d450e['match'](/(\d+)\s+director/),_0x53fdaa=_0x2d450e[_0x2e85a0(0xbd)](/(\d+)\s+file/);if(_0x34e142)_0x492cf6=parseInt(_0x34e142[0x1]);if(_0x53fdaa)_0x260b0e=parseInt(_0x53fdaa[0x1]);const _0x4fc35f=(_0x2d450e['match'](/^[│├└\s─]+/)||[''])[0x0][_0x2e85a0(0xb9)];_0x4fc35f<=0x4&&(_0x2498cd[_0x2e85a0(0xb5)](_0x2d450e),_0x2a0cab++);}return _0x1695f9[_0x2e85a0(0xb9)]>_0x2498cd[_0x2e85a0(0xb9)]&&_0x2498cd[_0x2e85a0(0xb5)]('\x0a...\x20('+_0x492cf6+_0x2e85a0(0xbc)+_0x260b0e+_0x2e85a0(0xae)),_0x2498cd[_0x2e85a0(0xa6)]('\x0a');}function filterCat(_0x552056){const _0x4a2c07=a0_0x157704,_0x53f650=_0x552056['split']('\x0a');if(_0x53f650[_0x4a2c07(0xb9)]<=0x64)return _0x552056;const _0x1297d9=[];return _0x1297d9[_0x4a2c07(0xb5)](..._0x53f650[_0x4a2c07(0xc0)](0x0,0x32)),_0x1297d9[_0x4a2c07(0xb5)](_0x4a2c07(0xb8)+(_0x53f650['length']-0x50)+_0x4a2c07(0xba)),_0x1297d9[_0x4a2c07(0xb5)](..._0x53f650[_0x4a2c07(0xc0)](-0x1e)),_0x1297d9[_0x4a2c07(0xb5)]('\x0a('+_0x53f650[_0x4a2c07(0xb9)]+_0x4a2c07(0xa4)),_0x1297d9[_0x4a2c07(0xa6)]('\x0a');}function filterGrep(_0x2cb636){const _0x5b461e=a0_0x157704,_0x136a75=_0x2cb636['split']('\x0a')[_0x5b461e(0xc3)](_0x19183e=>_0x19183e['trim']()[_0x5b461e(0xb9)]>0x0);if(_0x136a75[_0x5b461e(0xb9)]===0x0)return _0x5b461e(0x9d);if(_0x136a75[_0x5b461e(0xb9)]<=0x32)return _0x2cb636[_0x5b461e(0xa3)]();const _0x7854f5={},_0x148995=[];for(const _0x5491ed of _0x136a75){const _0x1d3fc2=_0x5491ed[_0x5b461e(0xc4)](':');if(_0x1d3fc2>0x0&&_0x1d3fc2<0xc8){const _0xf690cd=_0x5491ed[_0x5b461e(0xb3)](0x0,_0x1d3fc2);if(_0xf690cd['includes']('/')||_0xf690cd[_0x5b461e(0xa9)]('\x5c')||_0xf690cd[_0x5b461e(0xa9)]('.')){if(!_0x7854f5[_0xf690cd])_0x7854f5[_0xf690cd]=[];_0x7854f5[_0xf690cd][_0x5b461e(0xb5)](_0x5491ed[_0x5b461e(0xb3)](_0x1d3fc2+0x1)[_0x5b461e(0xa3)]());continue;}}_0x148995[_0x5b461e(0xb5)](_0x5491ed);}const _0x43dbf7=[],_0x562b58=Object['keys'](_0x7854f5);if(_0x562b58[_0x5b461e(0xb9)]>0x0){const _0x54747f=0x14,_0x9bb591=_0x562b58[_0x5b461e(0xc0)](0x0,_0x54747f);for(const _0x4b0f6e of _0x9bb591){const _0x197804=_0x7854f5[_0x4b0f6e];if(_0x197804[_0x5b461e(0xb9)]<=0x3)for(const _0x5f41eb of _0x197804){_0x43dbf7[_0x5b461e(0xb5)](_0x4b0f6e+':\x20'+_0x5f41eb);}else _0x43dbf7[_0x5b461e(0xb5)](_0x4b0f6e+':\x20'+_0x197804[0x0]),_0x43dbf7[_0x5b461e(0xb5)](_0x4b0f6e+_0x5b461e(0xc1)+_0x197804[_0x5b461e(0xb9)]+'\x20matches\x20in\x20this\x20file)');}_0x562b58[_0x5b461e(0xb9)]>_0x54747f&&_0x43dbf7[_0x5b461e(0xb5)](_0x5b461e(0xbb)+(_0x562b58[_0x5b461e(0xb9)]-_0x54747f)+_0x5b461e(0xb7));}if(_0x148995['length']>0x0){const _0x5335c6=0x1e;_0x43dbf7[_0x5b461e(0xb5)](..._0x148995[_0x5b461e(0xc0)](0x0,_0x5335c6)),_0x148995[_0x5b461e(0xb9)]>_0x5335c6&&_0x43dbf7[_0x5b461e(0xb5)](_0x5b461e(0xbb)+(_0x148995[_0x5b461e(0xb9)]-_0x5335c6)+_0x5b461e(0xbf));}const _0x5ddee1=_0x136a75[_0x5b461e(0xb9)];return _0x43dbf7[_0x5b461e(0xb5)]('\x0a('+_0x5ddee1+_0x5b461e(0xb1)+(_0x562b58[_0x5b461e(0xb9)]||'?')+_0x5b461e(0xc8)),_0x43dbf7[_0x5b461e(0xa6)]('\x0a');}
package/mcp.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function a0_0x4b5f(_0x4db878,_0x4130a8){const _0x46f450=a0_0x46f4();return a0_0x4b5f=function(_0x4b5f5a,_0x17c58c){_0x4b5f5a=_0x4b5f5a-0x106;let _0x3f15e8=_0x46f450[_0x4b5f5a];return _0x3f15e8;},a0_0x4b5f(_0x4db878,_0x4130a8);}const a0_0x32c45d=a0_0x4b5f;(function(_0x80d026,_0x5e63a5){const _0x13b74a=a0_0x4b5f,_0x141c7c=_0x80d026();while(!![]){try{const _0xbca2d9=-parseInt(_0x13b74a(0x114))/0x1+parseInt(_0x13b74a(0x12b))/0x2*(parseInt(_0x13b74a(0x12a))/0x3)+parseInt(_0x13b74a(0x134))/0x4*(-parseInt(_0x13b74a(0x120))/0x5)+-parseInt(_0x13b74a(0x139))/0x6+-parseInt(_0x13b74a(0x13a))/0x7*(parseInt(_0x13b74a(0x131))/0x8)+-parseInt(_0x13b74a(0x119))/0x9*(-parseInt(_0x13b74a(0x121))/0xa)+parseInt(_0x13b74a(0x11a))/0xb;if(_0xbca2d9===_0x5e63a5)break;else _0x141c7c['push'](_0x141c7c['shift']());}catch(_0x3412d8){_0x141c7c['push'](_0x141c7c['shift']());}}}(a0_0x46f4,0x76e00));var __createBinding=this&&this[a0_0x32c45d(0x107)]||(Object[a0_0x32c45d(0x12f)]?function(_0x34d34e,_0x2a9d76,_0x465f9c,_0x195e9d){const _0x5d1a26=a0_0x32c45d;if(_0x195e9d===undefined)_0x195e9d=_0x465f9c;var _0x1f1012=Object[_0x5d1a26(0x116)](_0x2a9d76,_0x465f9c);(!_0x1f1012||('get'in _0x1f1012?!_0x2a9d76[_0x5d1a26(0x127)]:_0x1f1012[_0x5d1a26(0x10a)]||_0x1f1012[_0x5d1a26(0x13c)]))&&(_0x1f1012={'enumerable':!![],'get':function(){return _0x2a9d76[_0x465f9c];}}),Object[_0x5d1a26(0x113)](_0x34d34e,_0x195e9d,_0x1f1012);}:function(_0x3f7c44,_0x323376,_0x3de8d5,_0x44d070){if(_0x44d070===undefined)_0x44d070=_0x3de8d5;_0x3f7c44[_0x44d070]=_0x323376[_0x3de8d5];}),__setModuleDefault=this&&this[a0_0x32c45d(0x10e)]||(Object[a0_0x32c45d(0x12f)]?function(_0x1b4869,_0x516b1f){const _0x825001=a0_0x32c45d;Object[_0x825001(0x113)](_0x1b4869,_0x825001(0x12d),{'enumerable':!![],'value':_0x516b1f});}:function(_0x1d7e56,_0x55a668){const _0xa6d54b=a0_0x32c45d;_0x1d7e56[_0xa6d54b(0x12d)]=_0x55a668;}),__importStar=this&&this[a0_0x32c45d(0x106)]||(function(){var _0x13ddcc=function(_0xf4cc06){const _0x4dc13c=a0_0x4b5f;return _0x13ddcc=Object[_0x4dc13c(0x13b)]||function(_0x58e943){const _0x4fa8f0=_0x4dc13c;var _0x1326f4=[];for(var _0x4c5443 in _0x58e943)if(Object[_0x4fa8f0(0x133)][_0x4fa8f0(0x124)][_0x4fa8f0(0x12e)](_0x58e943,_0x4c5443))_0x1326f4[_0x1326f4[_0x4fa8f0(0x136)]]=_0x4c5443;return _0x1326f4;},_0x13ddcc(_0xf4cc06);};return function(_0x434745){const _0x55f0bd=a0_0x4b5f;if(_0x434745&&_0x434745['__esModule'])return _0x434745;var _0x18afe4={};if(_0x434745!=null){for(var _0x326fcf=_0x13ddcc(_0x434745),_0x131abd=0x0;_0x131abd<_0x326fcf[_0x55f0bd(0x136)];_0x131abd++)if(_0x326fcf[_0x131abd]!==_0x55f0bd(0x12d))__createBinding(_0x18afe4,_0x434745,_0x326fcf[_0x131abd]);}return __setModuleDefault(_0x18afe4,_0x434745),_0x18afe4;};}());Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a0_0x32c45d(0x112)]=runMcpProxy;function a0_0x46f4(){const _0x537c81=['stdin','getConfig','writable','inherit','2.0','pipe','__setModuleDefault','logExecution','content','isArray','runMcpProxy','defineProperty','105790OwKJNG','result','getOwnPropertyDescriptor','exit','trim','468FYNqFf','11131648eYoXmK','mcp\x20tool\x20(id:\x20','readline','[TrimPrompt]\x20MCP\x20Server\x20Spawn\x20Error:\x20','stdout','redaction_enabled','504635qGBZDw','174630XpWQfk','tracker','child_process','hasOwnProperty','close','error','__esModule','./tracker','write','6CCGtLM','279494hWBXNV','jsonrpc','default','call','create','message','2707688EqWsfo','createInterface','prototype','24WJanmT','mcp-tool-call','length','compressOutput','text','1946112PrlcRo','14uiscJK','getOwnPropertyNames','configurable','__importStar','__createBinding'];a0_0x46f4=function(){return _0x537c81;};return a0_0x46f4();}const child_process_1=require(a0_0x32c45d(0x123)),readline=__importStar(require(a0_0x32c45d(0x11c))),filters_1=require('./filters'),tracker_1=require(a0_0x32c45d(0x128));function runMcpProxy(_0x4bcb4e,_0x5b0782){const _0x3f3285=a0_0x32c45d,_0x127571=(0x0,child_process_1['spawn'])(_0x4bcb4e,_0x5b0782,{'stdio':['pipe','pipe',_0x3f3285(0x10b)]});process[_0x3f3285(0x108)][_0x3f3285(0x10d)](_0x127571[_0x3f3285(0x108)]);const _0xa3df10=readline[_0x3f3285(0x132)]({'input':_0x127571[_0x3f3285(0x11e)],'terminal':![]});_0xa3df10['on']('line',_0x17f38e=>{const _0x26882d=_0x3f3285;try{const _0x2db818=JSON['parse'](_0x17f38e);if(_0x2db818&&_0x2db818[_0x26882d(0x12c)]===_0x26882d(0x10c)&&_0x2db818['id']!==undefined&&_0x2db818[_0x26882d(0x115)]&&Array[_0x26882d(0x111)](_0x2db818[_0x26882d(0x115)][_0x26882d(0x110)])){let _0x2f1393=![];for(const _0x548f25 of _0x2db818['result'][_0x26882d(0x110)]){if(_0x548f25['type']===_0x26882d(0x138)&&typeof _0x548f25['text']==='string'&&_0x548f25[_0x26882d(0x138)][_0x26882d(0x118)]()[_0x26882d(0x136)]>0x0){const _0x5d4e1b=_0x548f25['text'],_0x557675=(0x0,filters_1[_0x26882d(0x137)])(_0x26882d(0x135),_0x5d4e1b,'',tracker_1[_0x26882d(0x122)][_0x26882d(0x109)]()[_0x26882d(0x11f)]);tracker_1[_0x26882d(0x122)][_0x26882d(0x10f)](_0x26882d(0x11b)+_0x2db818['id']+')',_0x5d4e1b,_0x557675,0x0),_0x548f25[_0x26882d(0x138)]=_0x557675,_0x2f1393=!![];}}_0x2f1393?process[_0x26882d(0x11e)][_0x26882d(0x129)](JSON['stringify'](_0x2db818)+'\x0a'):process[_0x26882d(0x11e)][_0x26882d(0x129)](_0x17f38e+'\x0a');}else process['stdout']['write'](_0x17f38e+'\x0a');}catch{process[_0x26882d(0x11e)][_0x26882d(0x129)](_0x17f38e+'\x0a');}}),_0x127571['on'](_0x3f3285(0x125),_0x2017f8=>{process['exit'](_0x2017f8||0x0);}),_0x127571['on'](_0x3f3285(0x126),_0x199427=>{const _0x47dd09=_0x3f3285;console['error'](_0x47dd09(0x11d)+_0x199427[_0x47dd09(0x130)]),process[_0x47dd09(0x117)](0x1);});}
1
+ 'use strict';const a0_0x205d7d=a0_0x1079;(function(_0x336270,_0x336897){const _0x97af5d=a0_0x1079,_0x4e4937=_0x336270();while(!![]){try{const _0x2fbedd=-parseInt(_0x97af5d(0x1b2))/0x1+-parseInt(_0x97af5d(0x1b4))/0x2+-parseInt(_0x97af5d(0x1cf))/0x3*(-parseInt(_0x97af5d(0x1d7))/0x4)+parseInt(_0x97af5d(0x1e0))/0x5+-parseInt(_0x97af5d(0x1c5))/0x6+parseInt(_0x97af5d(0x1d1))/0x7*(-parseInt(_0x97af5d(0x1d3))/0x8)+-parseInt(_0x97af5d(0x1bf))/0x9*(-parseInt(_0x97af5d(0x1be))/0xa);if(_0x2fbedd===_0x336897)break;else _0x4e4937['push'](_0x4e4937['shift']());}catch(_0x4d0c40){_0x4e4937['push'](_0x4e4937['shift']());}}}(a0_0xd257,0x78d6c));var __createBinding=this&&this[a0_0x205d7d(0x1cc)]||(Object[a0_0x205d7d(0x1b5)]?function(_0x42e9a6,_0x586613,_0x21746a,_0x1f32cd){const _0x24f379=a0_0x205d7d;if(_0x1f32cd===undefined)_0x1f32cd=_0x21746a;var _0xaf1e97=Object[_0x24f379(0x1d5)](_0x586613,_0x21746a);(!_0xaf1e97||(_0x24f379(0x1de)in _0xaf1e97?!_0x586613[_0x24f379(0x1ca)]:_0xaf1e97[_0x24f379(0x1db)]||_0xaf1e97['configurable']))&&(_0xaf1e97={'enumerable':!![],'get':function(){return _0x586613[_0x21746a];}}),Object['defineProperty'](_0x42e9a6,_0x1f32cd,_0xaf1e97);}:function(_0x1f6999,_0x276d5d,_0x42a60e,_0x4bb041){if(_0x4bb041===undefined)_0x4bb041=_0x42a60e;_0x1f6999[_0x4bb041]=_0x276d5d[_0x42a60e];}),__setModuleDefault=this&&this[a0_0x205d7d(0x1ce)]||(Object[a0_0x205d7d(0x1b5)]?function(_0x16d05c,_0xc6d1f4){const _0x2701af=a0_0x205d7d;Object[_0x2701af(0x1d2)](_0x16d05c,_0x2701af(0x1cb),{'enumerable':!![],'value':_0xc6d1f4});}:function(_0x5e1532,_0x45c451){const _0x235f61=a0_0x205d7d;_0x5e1532[_0x235f61(0x1cb)]=_0x45c451;}),__importStar=this&&this[a0_0x205d7d(0x1c3)]||(function(){var _0x5c1574=function(_0x363bdf){return _0x5c1574=Object['getOwnPropertyNames']||function(_0x110f2f){const _0x5ae41a=a0_0x1079;var _0x494ad3=[];for(var _0x41321c in _0x110f2f)if(Object[_0x5ae41a(0x1b0)][_0x5ae41a(0x1cd)][_0x5ae41a(0x1e4)](_0x110f2f,_0x41321c))_0x494ad3[_0x494ad3[_0x5ae41a(0x1ba)]]=_0x41321c;return _0x494ad3;},_0x5c1574(_0x363bdf);};return function(_0x5192c5){const _0x52b027=a0_0x1079;if(_0x5192c5&&_0x5192c5['__esModule'])return _0x5192c5;var _0x2263f8={};if(_0x5192c5!=null){for(var _0xe7335e=_0x5c1574(_0x5192c5),_0xc00be1=0x0;_0xc00be1<_0xe7335e[_0x52b027(0x1ba)];_0xc00be1++)if(_0xe7335e[_0xc00be1]!=='default')__createBinding(_0x2263f8,_0x5192c5,_0xe7335e[_0xc00be1]);}return __setModuleDefault(_0x2263f8,_0x5192c5),_0x2263f8;};}());Object[a0_0x205d7d(0x1d2)](exports,a0_0x205d7d(0x1ca),{'value':!![]}),exports[a0_0x205d7d(0x1d9)]=runMcpProxy;function a0_0x1079(_0x5a6638,_0x10c613){const _0xd257c5=a0_0xd257();return a0_0x1079=function(_0x107936,_0x138e5c){_0x107936=_0x107936-0x1b0;let _0x4ccf45=_0xd257c5[_0x107936];return _0x4ccf45;},a0_0x1079(_0x5a6638,_0x10c613);}const child_process_1=require(a0_0x205d7d(0x1df)),readline=__importStar(require(a0_0x205d7d(0x1d6))),filters_1=require(a0_0x205d7d(0x1bc)),tracker_1=require(a0_0x205d7d(0x1e5));function a0_0xd257(){const _0x3ccdab=['runMcpProxy','logExecution','writable','mcp-tool-call','error','get','child_process','1571565KdERFZ','2.0','isArray','type','call','./tracker','prototype','write','642038hNvbzl','tracker','1052170NDYrks','create','result','parse','stringify','exit','length','stdin','./filters','pipe','542950OAoonn','207JbhdHh','compressOutput','getConfig','string','__importStar','spawn','2707134QzwTAn','close','trim','createInterface','stdout','__esModule','default','__createBinding','hasOwnProperty','__setModuleDefault','6EVACTz','jsonrpc','21jyRcmW','defineProperty','107248xkuwbI','text','getOwnPropertyDescriptor','readline','1182776DSQTTF','content'];a0_0xd257=function(){return _0x3ccdab;};return a0_0xd257();}function runMcpProxy(_0xb9e9ed,_0x41af20){const _0x271578=a0_0x205d7d,_0x3b2686=(0x0,child_process_1[_0x271578(0x1c4)])(_0xb9e9ed,_0x41af20,{'stdio':[_0x271578(0x1bd),_0x271578(0x1bd),'inherit']});process[_0x271578(0x1bb)][_0x271578(0x1bd)](_0x3b2686['stdin']);const _0x2d2467=readline[_0x271578(0x1c8)]({'input':_0x3b2686['stdout'],'terminal':![]});_0x2d2467['on']('line',_0x18fedd=>{const _0x3a1e6d=_0x271578;try{const _0x581a07=JSON[_0x3a1e6d(0x1b7)](_0x18fedd);if(_0x581a07&&_0x581a07[_0x3a1e6d(0x1d0)]===_0x3a1e6d(0x1e1)&&_0x581a07['id']!==undefined&&_0x581a07[_0x3a1e6d(0x1b6)]&&Array[_0x3a1e6d(0x1e2)](_0x581a07['result'][_0x3a1e6d(0x1d8)])){let _0x47c998=![];for(const _0x1fd35c of _0x581a07[_0x3a1e6d(0x1b6)][_0x3a1e6d(0x1d8)]){if(_0x1fd35c[_0x3a1e6d(0x1e3)]==='text'&&typeof _0x1fd35c[_0x3a1e6d(0x1d4)]===_0x3a1e6d(0x1c2)&&_0x1fd35c[_0x3a1e6d(0x1d4)][_0x3a1e6d(0x1c7)]()[_0x3a1e6d(0x1ba)]>0x0){const _0x3ac4ab=_0x1fd35c[_0x3a1e6d(0x1d4)],_0x16d0ed=(0x0,filters_1[_0x3a1e6d(0x1c0)])(_0x3a1e6d(0x1dc),_0x3ac4ab,'',tracker_1[_0x3a1e6d(0x1b3)][_0x3a1e6d(0x1c1)]()['redaction_enabled']);tracker_1['tracker'][_0x3a1e6d(0x1da)]('mcp\x20tool\x20(id:\x20'+_0x581a07['id']+')',_0x3ac4ab,_0x16d0ed,0x0),_0x1fd35c['text']=_0x16d0ed,_0x47c998=!![];}}_0x47c998?process['stdout'][_0x3a1e6d(0x1b1)](JSON[_0x3a1e6d(0x1b8)](_0x581a07)+'\x0a'):process['stdout'][_0x3a1e6d(0x1b1)](_0x18fedd+'\x0a');}else process['stdout'][_0x3a1e6d(0x1b1)](_0x18fedd+'\x0a');}catch{process[_0x3a1e6d(0x1c9)][_0x3a1e6d(0x1b1)](_0x18fedd+'\x0a');}}),_0x3b2686['on'](_0x271578(0x1c6),_0x290ace=>{process['exit'](_0x290ace||0x0);}),_0x3b2686['on'](_0x271578(0x1dd),_0x13a56a=>{const _0x34e12e=_0x271578;console[_0x34e12e(0x1dd)]('[TrimPrompt]\x20MCP\x20Server\x20Spawn\x20Error:\x20'+_0x13a56a['message']),process[_0x34e12e(0x1b9)](0x1);});}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trimprompt",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "TrimPrompt.ai Client CLI & Local Developer Dashboard",
5
5
  "main": "cli.js",
6
6
  "bin": {
package/redactor.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x213c3e=a0_0xf979;(function(_0x561326,_0x5a08fc){const _0x16eac8=a0_0xf979,_0x2af73c=_0x561326();while(!![]){try{const _0x360484=-parseInt(_0x16eac8(0x99))/0x1*(-parseInt(_0x16eac8(0x9e))/0x2)+parseInt(_0x16eac8(0xae))/0x3+-parseInt(_0x16eac8(0xb0))/0x4+-parseInt(_0x16eac8(0xa4))/0x5*(parseInt(_0x16eac8(0x96))/0x6)+-parseInt(_0x16eac8(0xa2))/0x7*(-parseInt(_0x16eac8(0xa5))/0x8)+-parseInt(_0x16eac8(0x9c))/0x9*(parseInt(_0x16eac8(0x9f))/0xa)+parseInt(_0x16eac8(0xa7))/0xb;if(_0x360484===_0x5a08fc)break;else _0x2af73c['push'](_0x2af73c['shift']());}catch(_0x327df4){_0x2af73c['push'](_0x2af73c['shift']());}}}(a0_0x49db,0x34576));function a0_0x49db(){const _0x78c368=['14VVwbaX','988730XPpymB','redactor','redact','825965KOSjWV','Database\x20Connection\x20String','20EpXOCk','24PetZbe','replacement','1426931mguliO','IPv4\x20Address','__esModule','defineProperty','[REDACTED_IP]','loadDefaultRules','regex','209979YcMets','rules','634532HpdWPU','589926epoFBF','Redactor','Email\x20Address','58622HXCAOj','[REDACTED_DB_CONNECTION_STRING]','API\x20Key\x20or\x20Password','18AdCAbV','$1:\x20[REDACTED_CREDENTIAL]'];a0_0x49db=function(){return _0x78c368;};return a0_0x49db();}function a0_0xf979(_0x5c431e,_0x4a70ae){const _0x49dbf4=a0_0x49db();return a0_0xf979=function(_0xf979bb,_0x35406d){_0xf979bb=_0xf979bb-0x96;let _0x49210d=_0x49dbf4[_0xf979bb];return _0x49210d;},a0_0xf979(_0x5c431e,_0x4a70ae);}Object[a0_0x213c3e(0xaa)](exports,a0_0x213c3e(0xa9),{'value':!![]}),exports[a0_0x213c3e(0xa0)]=exports[a0_0x213c3e(0x97)]=void 0x0;class Redactor{[a0_0x213c3e(0xaf)]=[];constructor(){this['loadDefaultRules']();}[a0_0x213c3e(0xac)](){const _0xf98796=a0_0x213c3e;this[_0xf98796(0xaf)]=[{'name':_0xf98796(0xa3),'regex':/(mongodb|postgres|postgresql|mysql|redis|sqlite):\/\/[a-zA-Z0-9_]+:[^@\s\n]+@[^\s\n]+/gi,'replacement':_0xf98796(0x9a)},{'name':_0xf98796(0x9b),'regex':/(api[_-]?key|secret|password|passwd|auth|token|private[_-]?key)[\s:=]+[a-zA-Z0-9_-]{16,}/gi,'replacement':_0xf98796(0x9d)},{'name':_0xf98796(0xa8),'regex':/\b(?!127\.0\.0\.1|255\.255\.255\.0)(?:[0-9]{1,3}\.){3}[0-9]{1,3}\b/g,'replacement':_0xf98796(0xab)},{'name':_0xf98796(0x98),'regex':/\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b/g,'replacement':'[REDACTED_EMAIL]'}];}[a0_0x213c3e(0xa1)](_0x20487f){const _0x491dc7=a0_0x213c3e;let _0x296e70=_0x20487f;for(const _0x40f12d of this[_0x491dc7(0xaf)]){_0x296e70=_0x296e70['replace'](_0x40f12d[_0x491dc7(0xad)],_0x40f12d[_0x491dc7(0xa6)]);}return _0x296e70;}}exports[a0_0x213c3e(0x97)]=Redactor,exports[a0_0x213c3e(0xa0)]=new Redactor();
1
+ 'use strict';const a0_0x45e058=a0_0x6761;(function(_0x8ecca8,_0x2338d0){const _0x2869de=a0_0x6761,_0x4d869d=_0x8ecca8();while(!![]){try{const _0xf313ba=parseInt(_0x2869de(0xf1))/0x1*(parseInt(_0x2869de(0xfc))/0x2)+parseInt(_0x2869de(0xf6))/0x3*(parseInt(_0x2869de(0xff))/0x4)+-parseInt(_0x2869de(0xec))/0x5+-parseInt(_0x2869de(0xf4))/0x6+-parseInt(_0x2869de(0xfe))/0x7+-parseInt(_0x2869de(0xfa))/0x8*(parseInt(_0x2869de(0x101))/0x9)+parseInt(_0x2869de(0xf9))/0xa;if(_0xf313ba===_0x2338d0)break;else _0x4d869d['push'](_0x4d869d['shift']());}catch(_0x52fe87){_0x4d869d['push'](_0x4d869d['shift']());}}}(a0_0x17ab,0x7657e));function a0_0x6761(_0x3387cb,_0x4f050e){const _0x17abc0=a0_0x17ab();return a0_0x6761=function(_0x6761e,_0x3920b7){_0x6761e=_0x6761e-0xeb;let _0x1d2c07=_0x17abc0[_0x6761e];return _0x1d2c07;},a0_0x6761(_0x3387cb,_0x4f050e);}function a0_0x17ab(){const _0x39f12b=['loadDefaultRules','regex','[REDACTED_EMAIL]','redactor','43IZxwvH','Redactor','Email\x20Address','627342mKVzvl','defineProperty','831399qMCMRU','rules','replace','12219060PxIMyY','8GQzYOK','API\x20Key\x20or\x20Password','18500YFIUwH','replacement','1483748hmmtsa','4BGhmOJ','IPv4\x20Address','6225390YtmOOC','[REDACTED_DB_CONNECTION_STRING]','2019120wFxIuE'];a0_0x17ab=function(){return _0x39f12b;};return a0_0x17ab();}Object[a0_0x45e058(0xf5)](exports,'__esModule',{'value':!![]}),exports['redactor']=exports[a0_0x45e058(0xf2)]=void 0x0;class Redactor{[a0_0x45e058(0xf7)]=[];constructor(){const _0x23d1e5=a0_0x45e058;this[_0x23d1e5(0xed)]();}[a0_0x45e058(0xed)](){const _0x384f01=a0_0x45e058;this[_0x384f01(0xf7)]=[{'name':'Database\x20Connection\x20String','regex':/(mongodb|postgres|postgresql|mysql|redis|sqlite):\/\/[a-zA-Z0-9_]+:[^@\s\n]+@[^\s\n]+/gi,'replacement':_0x384f01(0xeb)},{'name':_0x384f01(0xfb),'regex':/(api[_-]?key|secret|password|passwd|auth|token|private[_-]?key)[\s:=]+[a-zA-Z0-9_-]{16,}/gi,'replacement':'$1:\x20[REDACTED_CREDENTIAL]'},{'name':_0x384f01(0x100),'regex':/\b(?!127\.0\.0\.1|255\.255\.255\.0)(?:[0-9]{1,3}\.){3}[0-9]{1,3}\b/g,'replacement':'[REDACTED_IP]'},{'name':_0x384f01(0xf3),'regex':/\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b/g,'replacement':_0x384f01(0xef)}];}['redact'](_0x539f26){const _0x32b7b0=a0_0x45e058;let _0x2dff01=_0x539f26;for(const _0xf6fbc8 of this[_0x32b7b0(0xf7)]){_0x2dff01=_0x2dff01[_0x32b7b0(0xf8)](_0xf6fbc8[_0x32b7b0(0xee)],_0xf6fbc8[_0x32b7b0(0xfd)]);}return _0x2dff01;}}exports[a0_0x45e058(0xf2)]=Redactor,exports[a0_0x45e058(0xf0)]=new Redactor();
package/seed.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x4697ec=a0_0x4561;(function(_0x165841,_0x12a6e1){const _0x42bf32=a0_0x4561,_0x2c4dc5=_0x165841();while(!![]){try{const _0x45ae23=-parseInt(_0x42bf32(0x16a))/0x1*(parseInt(_0x42bf32(0x15b))/0x2)+-parseInt(_0x42bf32(0x158))/0x3*(parseInt(_0x42bf32(0x167))/0x4)+parseInt(_0x42bf32(0x164))/0x5*(parseInt(_0x42bf32(0x163))/0x6)+-parseInt(_0x42bf32(0x16b))/0x7+-parseInt(_0x42bf32(0x171))/0x8*(-parseInt(_0x42bf32(0x159))/0x9)+parseInt(_0x42bf32(0x175))/0xa*(parseInt(_0x42bf32(0x168))/0xb)+parseInt(_0x42bf32(0x16e))/0xc;if(_0x45ae23===_0x12a6e1)break;else _0x2c4dc5['push'](_0x2c4dc5['shift']());}catch(_0x4e8fc8){_0x2c4dc5['push'](_0x2c4dc5['shift']());}}}(a0_0x4614,0x71403));function a0_0x4614(){const _0x186d98=['[SUCCESS]\x20Compiled\x20512\x20modules.\x0a','187260fPMIEP','gemini-1-5-pro','defineProperty','test_auth.py\x20PASS\x0a','Step\x201/10\x20:\x20FROM\x20node:20\x0a','Test\x20suite\x20run\x20starting...\x0a','added\x201420\x20packages\x20in\x2014s\x0a','[INFO]\x20Building\x20modules...\x0a','pytest\x20app:\x20303\x20tests\x20passed\x20in\x204.22s.','Successfully\x20built\x20image.','gpt-4o','84jzMhyc','171ucOCBs','npm\x20run\x20build','8CMZaCM','pytest\x20tests/app','claude-3-opus','Database\x20successfully\x20seeded!','[INFO]\x20Building\x20modules...\x0a[SUCCESS]\x20Compiled\x20512\x20modules.\x20(repeated\x20400\x20times)','tracker','log','logExecution','24wdotXr','214380fRMDfB','Compilation\x20Output:\x0a','repeat','110824JaHFMk','418sdjesI','env','217181nChlHL','1604442dyrYiq','Sending\x20build\x20context\x20to\x20Docker\x20daemon...\x0a','Optimizing\x20assets...\x0a','12439368PiPbKi','docker\x20build:\x201420\x20packages\x20added.\x20Successfully\x20built\x20image.','./tracker','175944XcStXj','docker\x20build\x20.','TRIMPROMPT_MODEL'];a0_0x4614=function(){return _0x186d98;};return a0_0x4614();}Object[a0_0x4697ec(0x14f)](exports,'__esModule',{'value':!![]});const tracker_1=require(a0_0x4697ec(0x170));function a0_0x4561(_0x5475ce,_0x223c9a){const _0x461467=a0_0x4614();return a0_0x4561=function(_0x456186,_0x14a14e){_0x456186=_0x456186-0x14f;let _0x3ceb0c=_0x461467[_0x456186];return _0x3ceb0c;},a0_0x4561(_0x5475ce,_0x223c9a);}console[a0_0x4697ec(0x161)]('Seeding\x20TrimPrompt\x20database\x20with\x20mock\x20LLM\x20command\x20telemetry...'),process[a0_0x4697ec(0x169)][a0_0x4697ec(0x173)]=a0_0x4697ec(0x15d),tracker_1[a0_0x4697ec(0x160)]['logExecution'](a0_0x4697ec(0x15a),a0_0x4697ec(0x165)+a0_0x4697ec(0x154)+a0_0x4697ec(0x16d)+a0_0x4697ec(0x174)[a0_0x4697ec(0x166)](0x190),a0_0x4697ec(0x15f),0x0),process[a0_0x4697ec(0x169)][a0_0x4697ec(0x173)]=a0_0x4697ec(0x157),tracker_1[a0_0x4697ec(0x160)][a0_0x4697ec(0x162)](a0_0x4697ec(0x15c),a0_0x4697ec(0x152)+a0_0x4697ec(0x150)+'test_db.py\x20PASS\x0a'+'test_api.py\x20PASS\x0a'[a0_0x4697ec(0x166)](0x12c)+'All\x20303\x20tests\x20passed\x20in\x204.22s.',a0_0x4697ec(0x155),0x0),process[a0_0x4697ec(0x169)]['TRIMPROMPT_MODEL']=a0_0x4697ec(0x176),tracker_1['tracker'][a0_0x4697ec(0x162)](a0_0x4697ec(0x172),a0_0x4697ec(0x16c)+a0_0x4697ec(0x151)+'Step\x202/10\x20:\x20COPY\x20package.json\x20.\x0a'+'Step\x203/10\x20:\x20RUN\x20npm\x20install\x0a'+a0_0x4697ec(0x153)[a0_0x4697ec(0x166)](0x3)+a0_0x4697ec(0x156),a0_0x4697ec(0x16f),0x0),console[a0_0x4697ec(0x161)](a0_0x4697ec(0x15e));
1
+ 'use strict';const a0_0x1cb636=a0_0x2905;(function(_0x32937e,_0x595a0c){const _0x245fb1=a0_0x2905,_0x3292ba=_0x32937e();while(!![]){try{const _0x26c249=-parseInt(_0x245fb1(0x1ac))/0x1+parseInt(_0x245fb1(0x1a1))/0x2*(-parseInt(_0x245fb1(0x1ab))/0x3)+parseInt(_0x245fb1(0x1a7))/0x4+-parseInt(_0x245fb1(0x1af))/0x5*(parseInt(_0x245fb1(0x1a5))/0x6)+-parseInt(_0x245fb1(0x19e))/0x7*(-parseInt(_0x245fb1(0x19d))/0x8)+parseInt(_0x245fb1(0x191))/0x9+-parseInt(_0x245fb1(0x19a))/0xa;if(_0x26c249===_0x595a0c)break;else _0x3292ba['push'](_0x3292ba['shift']());}catch(_0xbc06f4){_0x3292ba['push'](_0x3292ba['shift']());}}}(a0_0x8dfd,0x2bffd));function a0_0x2905(_0x109f4e,_0x41e417){const _0x8dfda2=a0_0x8dfd();return a0_0x2905=function(_0x2905e5,_0x10d8cc){_0x2905e5=_0x2905e5-0x18c;let _0x208b55=_0x8dfda2[_0x2905e5];return _0x208b55;},a0_0x2905(_0x109f4e,_0x41e417);}function a0_0x8dfd(){const _0x45fea7=['gpt-4o','[INFO]\x20Building\x20modules...\x0a[SUCCESS]\x20Compiled\x20512\x20modules.\x20(repeated\x20400\x20times)','248JeHmaM','61432yaboNN','Step\x203/10\x20:\x20RUN\x20npm\x20install\x0a','Seeding\x20TrimPrompt\x20database\x20with\x20mock\x20LLM\x20command\x20telemetry...','12HNphMs','Test\x20suite\x20run\x20starting...\x0a','Step\x202/10\x20:\x20COPY\x20package.json\x20.\x0a','logExecution','317838YvaWRs','Successfully\x20built\x20image.','171512bwioxW','__esModule','Optimizing\x20assets...\x0a','docker\x20build:\x201420\x20packages\x20added.\x20Successfully\x20built\x20image.','40707JRuSpo','40624inEfoa','test_api.py\x20PASS\x0a','test_db.py\x20PASS\x0a','5KetFLt','TRIMPROMPT_MODEL','Compilation\x20Output:\x0a','[INFO]\x20Building\x20modules...\x0a','[SUCCESS]\x20Compiled\x20512\x20modules.\x0a','log','2984040xrFtgt','Database\x20successfully\x20seeded!','added\x201420\x20packages\x20in\x2014s\x0a','test_auth.py\x20PASS\x0a','repeat','pytest\x20tests/app','defineProperty','env','tracker','2912620wEMZUC'];a0_0x8dfd=function(){return _0x45fea7;};return a0_0x8dfd();}Object[a0_0x1cb636(0x197)](exports,a0_0x1cb636(0x1a8),{'value':!![]});const tracker_1=require('./tracker');console['log'](a0_0x1cb636(0x1a0)),process['env']['TRIMPROMPT_MODEL']='claude-3-opus',tracker_1[a0_0x1cb636(0x199)][a0_0x1cb636(0x1a4)]('npm\x20run\x20build',a0_0x1cb636(0x18d)+a0_0x1cb636(0x18e)+a0_0x1cb636(0x1a9)+a0_0x1cb636(0x18f)['repeat'](0x190),a0_0x1cb636(0x19c),0x0),process[a0_0x1cb636(0x198)][a0_0x1cb636(0x18c)]=a0_0x1cb636(0x19b),tracker_1[a0_0x1cb636(0x199)][a0_0x1cb636(0x1a4)](a0_0x1cb636(0x196),a0_0x1cb636(0x1a2)+a0_0x1cb636(0x194)+a0_0x1cb636(0x1ae)+a0_0x1cb636(0x1ad)[a0_0x1cb636(0x195)](0x12c)+'All\x20303\x20tests\x20passed\x20in\x204.22s.','pytest\x20app:\x20303\x20tests\x20passed\x20in\x204.22s.',0x0),process['env'][a0_0x1cb636(0x18c)]='gemini-1-5-pro',tracker_1[a0_0x1cb636(0x199)][a0_0x1cb636(0x1a4)]('docker\x20build\x20.','Sending\x20build\x20context\x20to\x20Docker\x20daemon...\x0a'+'Step\x201/10\x20:\x20FROM\x20node:20\x0a'+a0_0x1cb636(0x1a3)+a0_0x1cb636(0x19f)+a0_0x1cb636(0x193)[a0_0x1cb636(0x195)](0x3)+a0_0x1cb636(0x1a6),a0_0x1cb636(0x1aa),0x0),console[a0_0x1cb636(0x190)](a0_0x1cb636(0x192));
package/shims.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0xd17c11=a0_0x38a4;(function(_0x1595e1,_0x32a88b){const _0x218949=a0_0x38a4,_0x5326c2=_0x1595e1();while(!![]){try{const _0x54ebf3=-parseInt(_0x218949(0x201))/0x1*(-parseInt(_0x218949(0x202))/0x2)+-parseInt(_0x218949(0x1f0))/0x3+-parseInt(_0x218949(0x1ee))/0x4+-parseInt(_0x218949(0x219))/0x5*(parseInt(_0x218949(0x22c))/0x6)+-parseInt(_0x218949(0x21a))/0x7+parseInt(_0x218949(0x217))/0x8*(-parseInt(_0x218949(0x1d0))/0x9)+parseInt(_0x218949(0x1d3))/0xa*(parseInt(_0x218949(0x1d2))/0xb);if(_0x54ebf3===_0x32a88b)break;else _0x5326c2['push'](_0x5326c2['shift']());}catch(_0x554e93){_0x5326c2['push'](_0x5326c2['shift']());}}}(a0_0x2731,0xb48f5));var __createBinding=this&&this[a0_0xd17c11(0x1e6)]||(Object['create']?function(_0x122d6f,_0x6324a0,_0x41b612,_0x385a75){const _0x255d36=a0_0xd17c11;if(_0x385a75===undefined)_0x385a75=_0x41b612;var _0x41a834=Object[_0x255d36(0x220)](_0x6324a0,_0x41b612);(!_0x41a834||(_0x255d36(0x223)in _0x41a834?!_0x6324a0[_0x255d36(0x1f9)]:_0x41a834['writable']||_0x41a834[_0x255d36(0x1f2)]))&&(_0x41a834={'enumerable':!![],'get':function(){return _0x6324a0[_0x41b612];}}),Object[_0x255d36(0x225)](_0x122d6f,_0x385a75,_0x41a834);}:function(_0x468bec,_0x4c8dee,_0x3cfb9e,_0x307c65){if(_0x307c65===undefined)_0x307c65=_0x3cfb9e;_0x468bec[_0x307c65]=_0x4c8dee[_0x3cfb9e];}),__setModuleDefault=this&&this['__setModuleDefault']||(Object[a0_0xd17c11(0x22b)]?function(_0x23998e,_0x704ade){const _0x2311b5=a0_0xd17c11;Object[_0x2311b5(0x225)](_0x23998e,'default',{'enumerable':!![],'value':_0x704ade});}:function(_0x42521a,_0x2d8fc7){const _0x2b95a5=a0_0xd17c11;_0x42521a[_0x2b95a5(0x20c)]=_0x2d8fc7;}),__importStar=this&&this['__importStar']||(function(){var _0x51e21d=function(_0x3ab1ca){return _0x51e21d=Object['getOwnPropertyNames']||function(_0x462e99){const _0x1106b4=a0_0x38a4;var _0x194de3=[];for(var _0x23b5f1 in _0x462e99)if(Object['prototype'][_0x1106b4(0x211)][_0x1106b4(0x209)](_0x462e99,_0x23b5f1))_0x194de3[_0x194de3[_0x1106b4(0x22e)]]=_0x23b5f1;return _0x194de3;},_0x51e21d(_0x3ab1ca);};return function(_0x39c762){const _0x535114=a0_0x38a4;if(_0x39c762&&_0x39c762[_0x535114(0x1f9)])return _0x39c762;var _0x5483c4={};if(_0x39c762!=null){for(var _0x29937d=_0x51e21d(_0x39c762),_0x5634af=0x0;_0x5634af<_0x29937d[_0x535114(0x22e)];_0x5634af++)if(_0x29937d[_0x5634af]!==_0x535114(0x20c))__createBinding(_0x5483c4,_0x39c762,_0x29937d[_0x5634af]);}return __setModuleDefault(_0x5483c4,_0x39c762),_0x5483c4;};}());Object['defineProperty'](exports,a0_0xd17c11(0x1f9),{'value':!![]}),exports[a0_0xd17c11(0x1ea)]=installShims,exports[a0_0xd17c11(0x1c6)]=uninstallShims;function a0_0x38a4(_0x24ee62,_0x4b36ca){const _0x2731eb=a0_0x2731();return a0_0x38a4=function(_0x38a454,_0x430ea1){_0x38a454=_0x38a454-0x1bf;let _0x18497f=_0x2731eb[_0x38a454];return _0x18497f;},a0_0x38a4(_0x24ee62,_0x4b36ca);}const fs=__importStar(require('fs')),path=__importStar(require(a0_0xd17c11(0x21e))),os=__importStar(require('os')),SHIMMED_COMMANDS=['ls',a0_0xd17c11(0x1d9),a0_0xd17c11(0x210),a0_0xd17c11(0x1fb),a0_0xd17c11(0x1dc),'rg',a0_0xd17c11(0x1c1),a0_0xd17c11(0x200),'gh',a0_0xd17c11(0x1de),'cargo','npm','pnpm','npx',a0_0xd17c11(0x1ff),a0_0xd17c11(0x20d),'docker',a0_0xd17c11(0x20a),a0_0xd17c11(0x1e2),a0_0xd17c11(0x204),'go'],PROFILE_MARKER=a0_0xd17c11(0x1cf);function getExecSync(){const _0xe93730=a0_0xd17c11;return require(_0xe93730(0x229))[_0xe93730(0x20e)];}function getExecFileSync(){return require('child_process')['execFileSync'];}function ensureProfileContains(_0x370215,_0x586b9c,_0x3cf1ab){const _0x124971=a0_0xd17c11;try{const _0x1df097=path[_0x124971(0x230)](_0x370215);!fs[_0x124971(0x206)](_0x1df097)&&fs[_0x124971(0x1c5)](_0x1df097,{'recursive':!![]});if(fs['existsSync'](_0x370215)){const _0x45a36f=fs[_0x124971(0x22a)](_0x370215,'utf8');if(_0x45a36f[_0x124971(0x1d1)](_0x586b9c))return;fs[_0x124971(0x1ed)](_0x370215,_0x3cf1ab,_0x124971(0x1f4));}else fs[_0x124971(0x1d5)](_0x370215,_0x3cf1ab,_0x124971(0x1f4));}catch{}}function removeProfileBlock(_0x16795d,_0x17a027){const _0x20e77e=a0_0xd17c11;try{if(!fs[_0x20e77e(0x206)](_0x16795d))return;const _0x352c12=fs[_0x20e77e(0x22a)](_0x16795d,_0x20e77e(0x1f4));if(!_0x352c12[_0x20e77e(0x1d1)](_0x17a027))return;const _0x53079d=_0x352c12[_0x20e77e(0x21c)]('\x0a'),_0x326db4=[];let _0x482e9b=![];for(let _0x12795a=0x0;_0x12795a<_0x53079d[_0x20e77e(0x22e)];_0x12795a++){if(_0x53079d[_0x12795a]['includes'](_0x17a027)){_0x482e9b=!![];continue;}if(_0x482e9b){_0x482e9b=![];continue;}_0x326db4[_0x20e77e(0x1f3)](_0x53079d[_0x12795a]);}const _0x925fe=_0x326db4['join']('\x0a')[_0x20e77e(0x1e9)](/\n{3,}/g,'\x0a\x0a');fs['writeFileSync'](_0x16795d,_0x925fe,_0x20e77e(0x1f4));}catch{}}function collectPowerShellProfiles(){const _0x1df211=a0_0xd17c11,_0xff21c2=getExecSync(),_0x292a0b=[],_0x7705a5=[[_0x1df211(0x216),_0x1df211(0x1bf)],['powershell','$PROFILE.CurrentUserAllHosts']];try{_0xff21c2('pwsh\x20-NoProfile\x20-Command\x20\x22exit\x200\x22',{'stdio':_0x1df211(0x1da)}),_0x7705a5['push'](['pwsh','$PROFILE.CurrentUserAllHosts']);}catch{}for(const [_0x573f39,_0x36d1d5]of _0x7705a5){try{const _0x1300d5=_0xff21c2(_0x573f39+_0x1df211(0x213)+_0x36d1d5+'\x22',{'encoding':'utf8'})[_0x1df211(0x1f8)]();_0x1300d5&&!_0x292a0b[_0x1df211(0x1dd)](_0x25ba30=>_0x25ba30['toLowerCase']()===_0x1300d5[_0x1df211(0x1c9)]())&&_0x292a0b['push'](_0x1300d5);}catch{}}return _0x292a0b;}function getBashProfilesWindows(){const _0x446c7e=a0_0xd17c11,_0x548498=os['homedir']();return[_0x446c7e(0x1e5),'.bash_profile'][_0x446c7e(0x1ec)](_0x1696f8=>path[_0x446c7e(0x22f)](_0x548498,_0x1696f8));}function getBroadcastCommand(){return'$sig\x20=\x20\x27[DllImport(\x5c\x22user32.dll\x5c\x22,\x20SetLastError\x20=\x20true,\x20CharSet\x20=\x20CharSet.Auto)]\x20public\x20static\x20extern\x20IntPtr\x20SendMessageTimeout(IntPtr\x20hWnd,\x20uint\x20Msg,\x20IntPtr\x20wParam,\x20string\x20lParam,\x20uint\x20fuFlags,\x20uint\x20uTimeout,\x20out\x20IntPtr\x20lpdwResult);\x27;\x20Add-Type\x20-MemberDefinition\x20$sig\x20-Name\x20\x5c\x22Win32\x5c\x22\x20-Namespace\x20\x5c\x22Win32\x5c\x22\x20-PassThru\x20>\x20$null;\x20[IntPtr]$res\x20=\x200;\x20[void][Win32.Win32]::SendMessageTimeout([IntPtr]0xffff,\x200x001A,\x20[IntPtr]::Zero,\x20\x5c\x22Environment\x5c\x22,\x202,\x201000,\x20[ref]$res);';}function a0_0x2731(){const _0x38806d=['getOwnPropertyDescriptor','rmdirSync','.profile','get',';%PATH%\x22','defineProperty','homedir','[Environment]::SetEnvironmentVariable(\x27PATH\x27,\x20\x27','755','child_process','readFileSync','create','6nDSFAy','.cmd','length','join','dirname','$PROFILE.CurrentUserCurrentHost','message','ruff','export\x20PATH=\x22','powershell\x20-NoProfile\x20-Command\x20\x22','platform','mkdirSync','uninstallShims','unlinkSync','\x20%*\x0a','toLowerCase','\x0a#\x20','-Command','Set-ItemProperty\x20-Path\x20\x27','\x20@args\x0a','chmodSync','TrimPrompt\x20Shims\x20PATH','54gYlxZp','includes','2184457Yuqndj','210VqWYBk','env','writeFileSync','-NoProfile','New-Item\x20-Path\x20\x27','Failed\x20to\x20install\x20shims:\x20','tree','ignore','try\x20{\x20(Get-ItemProperty\x20-Path\x20\x27','grep','some','glab','APPDATA','powershell.exe','readdirSync','pip','@echo\x20off\x0atrim\x20','pipe','.bashrc','__createBinding','shims','\x20\x22$@\x22\x0a','replace','installShims','TrimPrompt\x20shims\x20successfully\x20installed\x20for\x20','map','appendFileSync','2853800LAvCUH','HKCU:\x5cSoftware\x5cMicrosoft\x5cCommand\x20Processor','924060bvLgFO','\x27\x20-Force\x20|\x20Out-Null;\x20Set-ItemProperty\x20-Path\x20\x27','configurable','push','utf8','\x27\x20-Name\x20AutoRun\x20-Value\x20\x27','\x27\x20-Name\x20AutoRun\x20-ErrorAction\x20Stop).AutoRun\x20}\x20catch\x20{\x20\x27\x27\x20}',':$PATH\x22','trim','__esModule','\x22\x20set\x20\x22PATH=','read','Please\x20add\x20the\x20following\x20path\x20to\x20the\x20front\x20of\x20your\x20User\x20PATH\x20environment\x20variable\x20manually:\x0a\x20\x20','.zshrc','if\x20exist\x20\x22','yarn','git','34ZNKBfe','3334MEfYLM','#!/bin/sh\x0aexec\x20trim\x20','pip3','\x20commands.\x0a\x0a','existsSync','\x0a$env:PATH\x20=\x20\x22','\x0aexport\x20PATH=\x22','call','pytest','[Environment]::GetEnvironmentVariable(\x27PATH\x27,\x20\x27User\x27)','default','kubectl','execSync','filter','cat','hasOwnProperty','\x27\x20-Name\x20AutoRun\x20-ErrorAction\x20SilentlyContinue','\x20-NoProfile\x20-Command\x20\x22','&\x20trim\x20','TrimPrompt\x20shims\x20fully\x20uninstalled.\x20All\x20PATH\x20modifications,\x20shell\x20profiles,\x20and\x20registry\x20entries\x20have\x20been\x20cleaned\x20up.','powershell','914192Jrdpmf','Remove-ItemProperty\x20-Path\x20\x27','1965615jISBaU','9710365UNpXCz',';\x22\x20+\x20$env:PATH\x0a','split','.trimprompt','path','\x20&\x20'];a0_0x2731=function(){return _0x38806d;};return a0_0x2731();}function installShims(){const _0x4c53fe=a0_0xd17c11,_0x277d52=path['join'](os[_0x4c53fe(0x226)](),'.trimprompt',_0x4c53fe(0x1e7));try{!fs[_0x4c53fe(0x206)](_0x277d52)&&fs['mkdirSync'](_0x277d52,{'recursive':!![]});const _0x586d66=os[_0x4c53fe(0x1c4)]()==='win32';for(const _0x47654b of SHIMMED_COMMANDS){if(_0x586d66){const _0xa269de=path[_0x4c53fe(0x22f)](_0x277d52,_0x47654b+_0x4c53fe(0x22d));fs['writeFileSync'](_0xa269de,_0x4c53fe(0x1e3)+_0x47654b+_0x4c53fe(0x1c8),'utf8');const _0x128050=path['join'](_0x277d52,_0x47654b+'.ps1');fs['writeFileSync'](_0x128050,_0x4c53fe(0x214)+_0x47654b+_0x4c53fe(0x1cd),_0x4c53fe(0x1f4));const _0x4fa397=path[_0x4c53fe(0x22f)](_0x277d52,_0x47654b);fs[_0x4c53fe(0x1d5)](_0x4fa397,_0x4c53fe(0x203)+_0x47654b+_0x4c53fe(0x1e8),'utf8');}else{const _0x2073de=path['join'](_0x277d52,_0x47654b);fs[_0x4c53fe(0x1d5)](_0x2073de,_0x4c53fe(0x203)+_0x47654b+_0x4c53fe(0x1e8),_0x4c53fe(0x1f4)),fs[_0x4c53fe(0x1ce)](_0x2073de,_0x4c53fe(0x228));}}let _0x458a26=![],_0x3f58dd='';if(_0x586d66)try{const _0x312302=getExecSync(),_0x4555b6=_0x4c53fe(0x1ca)+PROFILE_MARKER+_0x4c53fe(0x207)+_0x277d52+_0x4c53fe(0x21b),_0x210792=collectPowerShellProfiles();for(const _0x3a9f63 of _0x210792){ensureProfileContains(_0x3a9f63,_0x277d52,_0x4555b6);}try{const _0x2de902=getExecFileSync(),_0x52b1ae=_0x4c53fe(0x1fe)+_0x277d52+_0x4c53fe(0x1fa)+_0x277d52+_0x4c53fe(0x224),_0xafabac=_0x4c53fe(0x1ef);let _0x153ded='';try{const _0x354a0a=_0x4c53fe(0x1db)+_0xafabac+_0x4c53fe(0x1f6);_0x153ded=_0x2de902(_0x4c53fe(0x1e0),['-NoProfile',_0x4c53fe(0x1cb),_0x354a0a],{'encoding':_0x4c53fe(0x1f4),'stdio':[_0x4c53fe(0x1e4),'pipe',_0x4c53fe(0x1da)]})[_0x4c53fe(0x1f8)]();}catch{}if(!_0x153ded[_0x4c53fe(0x1d1)](_0x277d52)){const _0x1e7cbb=_0x153ded?_0x153ded+_0x4c53fe(0x21f)+_0x52b1ae:_0x52b1ae,_0x4d0410=_0x4c53fe(0x1d7)+_0xafabac+_0x4c53fe(0x1f1)+_0xafabac+_0x4c53fe(0x1f5)+_0x1e7cbb+'\x27';_0x2de902(_0x4c53fe(0x1e0),['-NoProfile','-Command',_0x4d0410],{'stdio':_0x4c53fe(0x1da)});}}catch{}try{const _0x6397aa=_0x277d52[_0x4c53fe(0x1e9)](/\\/g,'/')['replace'](/^([A-Za-z]):/,(_0x49efef,_0x2a897a)=>'/'+_0x2a897a[_0x4c53fe(0x1c9)]()),_0x4bf33e=_0x4c53fe(0x1ca)+PROFILE_MARKER+_0x4c53fe(0x208)+_0x6397aa+':$PATH\x22\x0a',_0xc252c0=getBashProfilesWindows();let _0x42ca23=![];for(const _0x4532a5 of _0xc252c0){fs[_0x4c53fe(0x206)](_0x4532a5)&&(ensureProfileContains(_0x4532a5,_0x6397aa,_0x4bf33e),_0x42ca23=!![]);}!_0x42ca23&&ensureProfileContains(_0xc252c0[0x0],_0x6397aa,_0x4bf33e);}catch{}const _0xe62e61=_0x4c53fe(0x20b),_0x23ec02=_0x312302(_0x4c53fe(0x1c3)+_0xe62e61+'\x22',{'encoding':_0x4c53fe(0x1f4),'stdio':[_0x4c53fe(0x1e4),_0x4c53fe(0x1e4),'ignore']})[_0x4c53fe(0x1f8)]();if(!_0x23ec02['includes'](_0x277d52)){const _0xb3967a=_0x277d52+';'+_0x23ec02,_0x1bbd03=_0xb3967a[_0x4c53fe(0x1e9)](/'/g,'\x27\x27'),_0x30da59=_0x4c53fe(0x227)+_0x1bbd03+'\x27,\x20\x27User\x27)';_0x312302('powershell\x20-NoProfile\x20-Command\x20\x22'+_0x30da59+';\x20'+getBroadcastCommand()+'\x22',{'stdio':_0x4c53fe(0x1da)});}const _0x1d0aa3=path[_0x4c53fe(0x22f)](process[_0x4c53fe(0x1d4)][_0x4c53fe(0x1df)]||'','npm','trim.ps1');if(fs['existsSync'](_0x1d0aa3))try{fs['unlinkSync'](_0x1d0aa3);}catch{}_0x458a26=!![];}catch(_0x54d392){_0x3f58dd=_0x4c53fe(0x1fc)+_0x277d52;}else try{const _0x696535=_0x4c53fe(0x1c2)+_0x277d52+':$PATH\x22\x0a',_0x40e31f=os[_0x4c53fe(0x226)](),_0x516b4d=[_0x4c53fe(0x1e5),_0x4c53fe(0x1fd),'.bash_profile',_0x4c53fe(0x222)];let _0x6f921b=![];for(const _0x5539fb of _0x516b4d){const _0x129bcb=path[_0x4c53fe(0x22f)](_0x40e31f,_0x5539fb);fs[_0x4c53fe(0x206)](_0x129bcb)&&(ensureProfileContains(_0x129bcb,_0x277d52,_0x4c53fe(0x1ca)+PROFILE_MARKER+'\x0a'+_0x696535),_0x6f921b=!![]);}if(!_0x6f921b){const _0x454990=path['join'](_0x40e31f,'.bashrc');ensureProfileContains(_0x454990,_0x277d52,_0x4c53fe(0x1ca)+PROFILE_MARKER+'\x0a'+_0x696535);}_0x458a26=!![];}catch(_0x574367){_0x3f58dd='Please\x20add\x20this\x20to\x20your\x20shell\x20profile\x20(~/.bashrc,\x20~/.zshrc)\x20manually:\x0a\x20\x20export\x20PATH=\x22'+_0x277d52+_0x4c53fe(0x1f7);}const _0x37e8ad=_0x4c53fe(0x1eb)+SHIMMED_COMMANDS['length']+_0x4c53fe(0x205),_0x49dd52=_0x458a26?_0x37e8ad+'[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.':_0x37e8ad+'[WARNING]\x20Could\x20not\x20automatically\x20update\x20your\x20system\x20PATH.\x20'+_0x3f58dd;return{'success':!![],'pathDir':_0x277d52,'message':_0x49dd52};}catch(_0x411bcc){return{'success':![],'pathDir':_0x277d52,'message':_0x4c53fe(0x1d8)+_0x411bcc[_0x4c53fe(0x1c0)]};}}function uninstallShims(){const _0x39d188=a0_0xd17c11,_0x155cc6=path['join'](os[_0x39d188(0x226)](),_0x39d188(0x21d),_0x39d188(0x1e7)),_0x1759b9=os[_0x39d188(0x1c4)]()==='win32';try{if(_0x1759b9){const _0x2e1112=getExecSync();try{const _0x3e9b65=getExecFileSync(),_0x498091='HKCU:\x5cSoftware\x5cMicrosoft\x5cCommand\x20Processor',_0x1b8615=_0x39d188(0x1db)+_0x498091+_0x39d188(0x1f6),_0x3c78c6=_0x3e9b65('powershell.exe',[_0x39d188(0x1d6),_0x39d188(0x1cb),_0x1b8615],{'encoding':_0x39d188(0x1f4),'stdio':[_0x39d188(0x1e4),_0x39d188(0x1e4),_0x39d188(0x1da)]})['trim']();if(_0x3c78c6[_0x39d188(0x1d1)](_0x155cc6)){const _0x1a601b=_0x3c78c6[_0x39d188(0x21c)](_0x39d188(0x21f))[_0x39d188(0x20f)](_0x3a74fe=>!_0x3a74fe['includes'](_0x155cc6));if(_0x1a601b[_0x39d188(0x22e)]===0x0){const _0x521589=_0x39d188(0x218)+_0x498091+_0x39d188(0x212);_0x3e9b65('powershell.exe',['-NoProfile',_0x39d188(0x1cb),_0x521589],{'stdio':_0x39d188(0x1da)});}else{const _0x812dc3=_0x1a601b[_0x39d188(0x22f)]('\x20&\x20'),_0x4ea3ae=_0x39d188(0x1cc)+_0x498091+'\x27\x20-Name\x20AutoRun\x20-Value\x20\x27'+_0x812dc3+'\x27';_0x3e9b65(_0x39d188(0x1e0),[_0x39d188(0x1d6),_0x39d188(0x1cb),_0x4ea3ae],{'stdio':_0x39d188(0x1da)});}}}catch{}try{const _0x2b8c8c=collectPowerShellProfiles();for(const _0x301835 of _0x2b8c8c){removeProfileBlock(_0x301835,PROFILE_MARKER);}}catch{}try{for(const _0x1722c2 of getBashProfilesWindows()){removeProfileBlock(_0x1722c2,PROFILE_MARKER);}}catch{}try{const _0x201f84='[Environment]::GetEnvironmentVariable(\x27PATH\x27,\x20\x27User\x27)',_0x329f72=_0x2e1112('powershell\x20-NoProfile\x20-Command\x20\x22'+_0x201f84+'\x22',{'encoding':_0x39d188(0x1f4),'stdio':['pipe',_0x39d188(0x1e4),'ignore']})[_0x39d188(0x1f8)]();if(_0x329f72[_0x39d188(0x1d1)](_0x155cc6)){const _0x545bc0=_0x329f72[_0x39d188(0x21c)](';')[_0x39d188(0x20f)](_0x13e2ed=>_0x13e2ed[_0x39d188(0x1f8)]()['toLowerCase']()!==_0x155cc6[_0x39d188(0x1c9)]())['join'](';'),_0x4c10c6=_0x545bc0[_0x39d188(0x1e9)](/'/g,'\x27\x27'),_0x2e0dda=_0x39d188(0x227)+_0x4c10c6+'\x27,\x20\x27User\x27)';_0x2e1112(_0x39d188(0x1c3)+_0x2e0dda+';\x20'+getBroadcastCommand()+'\x22',{'stdio':'ignore'});}}catch{}}else{const _0x1c0d3=os[_0x39d188(0x226)](),_0x41dd59=[_0x39d188(0x1e5),_0x39d188(0x1fd),'.bash_profile',_0x39d188(0x222)];for(const _0x13dcac of _0x41dd59){removeProfileBlock(path[_0x39d188(0x22f)](_0x1c0d3,_0x13dcac),PROFILE_MARKER);}}if(fs[_0x39d188(0x206)](_0x155cc6)){const _0x68221c=fs[_0x39d188(0x1e1)](_0x155cc6);for(const _0x4f9ade of _0x68221c){fs[_0x39d188(0x1c7)](path[_0x39d188(0x22f)](_0x155cc6,_0x4f9ade));}fs[_0x39d188(0x221)](_0x155cc6);}return{'success':!![],'message':_0x39d188(0x215)};}catch(_0x399142){return{'success':![],'message':'Failed\x20to\x20uninstall\x20shims:\x20'+_0x399142[_0x39d188(0x1c0)]};}}
1
+ 'use strict';const a0_0x36ea5d=a0_0x1919;(function(_0x47dd51,_0x6928af){const _0x2e0eb7=a0_0x1919,_0x24f121=_0x47dd51();while(!![]){try{const _0x170e9e=-parseInt(_0x2e0eb7(0xae))/0x1*(parseInt(_0x2e0eb7(0xc5))/0x2)+parseInt(_0x2e0eb7(0x93))/0x3*(parseInt(_0x2e0eb7(0xac))/0x4)+-parseInt(_0x2e0eb7(0xe9))/0x5+-parseInt(_0x2e0eb7(0xc3))/0x6+parseInt(_0x2e0eb7(0xc2))/0x7+parseInt(_0x2e0eb7(0xd0))/0x8+-parseInt(_0x2e0eb7(0x9e))/0x9*(-parseInt(_0x2e0eb7(0xa8))/0xa);if(_0x170e9e===_0x6928af)break;else _0x24f121['push'](_0x24f121['shift']());}catch(_0x597435){_0x24f121['push'](_0x24f121['shift']());}}}(a0_0x1301,0xe5f4f));function a0_0x1919(_0x1f8375,_0x34402d){const _0x1301b7=a0_0x1301();return a0_0x1919=function(_0x19198b,_0xf14527){_0x19198b=_0x19198b-0x7d;let _0x154d22=_0x1301b7[_0x19198b];return _0x154d22;},a0_0x1919(_0x1f8375,_0x34402d);}var __createBinding=this&&this[a0_0x36ea5d(0xed)]||(Object[a0_0x36ea5d(0xdd)]?function(_0x55eddb,_0x10e279,_0x17a999,_0x59b177){const _0x776254=a0_0x36ea5d;if(_0x59b177===undefined)_0x59b177=_0x17a999;var _0x425604=Object[_0x776254(0x87)](_0x10e279,_0x17a999);(!_0x425604||('get'in _0x425604?!_0x10e279[_0x776254(0xd5)]:_0x425604[_0x776254(0x97)]||_0x425604[_0x776254(0xee)]))&&(_0x425604={'enumerable':!![],'get':function(){return _0x10e279[_0x17a999];}}),Object['defineProperty'](_0x55eddb,_0x59b177,_0x425604);}:function(_0x5f5a72,_0x171fd2,_0x37f74f,_0x1cbcee){if(_0x1cbcee===undefined)_0x1cbcee=_0x37f74f;_0x5f5a72[_0x1cbcee]=_0x171fd2[_0x37f74f];}),__setModuleDefault=this&&this[a0_0x36ea5d(0x81)]||(Object[a0_0x36ea5d(0xdd)]?function(_0x5af59c,_0x17c99e){const _0x287c64=a0_0x36ea5d;Object[_0x287c64(0x9a)](_0x5af59c,_0x287c64(0xa7),{'enumerable':!![],'value':_0x17c99e});}:function(_0x48c13f,_0x46ef4b){const _0x354776=a0_0x36ea5d;_0x48c13f[_0x354776(0xa7)]=_0x46ef4b;}),__importStar=this&&this['__importStar']||(function(){var _0x295e7f=function(_0x230259){const _0x4b198b=a0_0x1919;return _0x295e7f=Object[_0x4b198b(0x90)]||function(_0x46c7c2){const _0x3d06d0=_0x4b198b;var _0x403bb8=[];for(var _0x12a87c in _0x46c7c2)if(Object[_0x3d06d0(0xc0)]['hasOwnProperty'][_0x3d06d0(0x9b)](_0x46c7c2,_0x12a87c))_0x403bb8[_0x403bb8[_0x3d06d0(0x82)]]=_0x12a87c;return _0x403bb8;},_0x295e7f(_0x230259);};return function(_0xc499ce){const _0x149bd3=a0_0x1919;if(_0xc499ce&&_0xc499ce[_0x149bd3(0xd5)])return _0xc499ce;var _0x40b375={};if(_0xc499ce!=null){for(var _0x5a6c9c=_0x295e7f(_0xc499ce),_0x412332=0x0;_0x412332<_0x5a6c9c['length'];_0x412332++)if(_0x5a6c9c[_0x412332]!==_0x149bd3(0xa7))__createBinding(_0x40b375,_0xc499ce,_0x5a6c9c[_0x412332]);}return __setModuleDefault(_0x40b375,_0xc499ce),_0x40b375;};}());Object[a0_0x36ea5d(0x9a)](exports,a0_0x36ea5d(0xd5),{'value':!![]}),exports[a0_0x36ea5d(0x7d)]=installShims,exports[a0_0x36ea5d(0xdc)]=uninstallShims;const fs=__importStar(require('fs')),path=__importStar(require(a0_0x36ea5d(0xe4))),os=__importStar(require('os')),SHIMMED_COMMANDS=['ls',a0_0x36ea5d(0xbe),'cat',a0_0x36ea5d(0xab),a0_0x36ea5d(0xba),'rg',a0_0x36ea5d(0xe1),a0_0x36ea5d(0x7e),'gh',a0_0x36ea5d(0xe6),'cargo',a0_0x36ea5d(0xa0),'pnpm',a0_0x36ea5d(0xa2),a0_0x36ea5d(0xd3),'kubectl',a0_0x36ea5d(0x8a),'pytest',a0_0x36ea5d(0xd4),a0_0x36ea5d(0xe0),'go'],PROFILE_MARKER=a0_0x36ea5d(0xd9);function getExecSync(){const _0xa9e6b4=a0_0x36ea5d;return require(_0xa9e6b4(0xb6))['execSync'];}function getExecFileSync(){const _0x5924b4=a0_0x36ea5d;return require(_0x5924b4(0xb6))[_0x5924b4(0x7f)];}function a0_0x1301(){const _0x5712e6=['homedir','platform','utf8','__createBinding','configurable','&\x20trim\x20','if\x20exist\x20\x22','Failed\x20to\x20uninstall\x20shims:\x20','trim','-NoProfile','.bash_profile','installShims','git','execFileSync','includes','__setModuleDefault','length','dirname','\x27\x20-Name\x20AutoRun\x20-Value\x20\x27','$PROFILE.CurrentUserCurrentHost','push','getOwnPropertyDescriptor','pipe','Failed\x20to\x20install\x20shims:\x20','docker','\x0aexport\x20PATH=\x22',';%PATH%\x22','\x20-NoProfile\x20-Command\x20\x22','win32','.profile','getOwnPropertyNames','\x0a$env:PATH\x20=\x20\x22','powershell\x20-NoProfile\x20-Command\x20\x22','12JsXNze','\x27\x20-Name\x20AutoRun\x20-ErrorAction\x20Stop).AutoRun\x20}\x20catch\x20{\x20\x27\x27\x20}','Please\x20add\x20this\x20to\x20your\x20shell\x20profile\x20(~/.bashrc,\x20~/.zshrc)\x20manually:\x0a\x20\x20export\x20PATH=\x22',';\x22\x20+\x20$env:PATH\x0a','writable','mkdirSync','appendFileSync','defineProperty','call','.zshrc','toLowerCase','18TkHzeH','.cmd','npm','$PROFILE.CurrentUserAllHosts','npx','@echo\x20off\x0atrim\x20','powershell.exe','TrimPrompt\x20shims\x20successfully\x20installed\x20for\x20','\x20%*\x0a','default','2528930TAOnCY','existsSync','APPDATA','read','938228KujcUr','\x27,\x20\x27User\x27)','729wZPXtS','pwsh','[Environment]::SetEnvironmentVariable(\x27PATH\x27,\x20\x27','#!/bin/sh\x0aexec\x20trim\x20','trim.ps1','\x20\x22$@\x22\x0a','export\x20PATH=\x22','\x20commands.\x0a\x0a','child_process','ignore','HKCU:\x5cSoftware\x5cMicrosoft\x5cCommand\x20Processor','filter','grep','readdirSync','-Command','try\x20{\x20(Get-ItemProperty\x20-Path\x20\x27','tree','.bashrc','prototype','join','6135556yfVxAy','10401324zegOLt','[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.','464PKmnVO','Set-ItemProperty\x20-Path\x20\x27','755',':$PATH\x22','.ps1','readFileSync','TrimPrompt\x20shims\x20fully\x20uninstalled.\x20All\x20PATH\x20modifications,\x20shell\x20profiles,\x20and\x20registry\x20entries\x20have\x20been\x20cleaned\x20up.','.trimprompt','\x27\x20-Name\x20AutoRun\x20-ErrorAction\x20SilentlyContinue','some','replace','12297408zoEPzZ','unlinkSync','\x20@args\x0a','yarn','pip','__esModule','\x0a#\x20','Remove-ItemProperty\x20-Path\x20\x27','[WARNING]\x20Could\x20not\x20automatically\x20update\x20your\x20system\x20PATH.\x20','TrimPrompt\x20Shims\x20PATH',':$PATH\x22\x0a','env','uninstallShims','create','powershell','split','pip3','ruff','[Environment]::GetEnvironmentVariable(\x27PATH\x27,\x20\x27User\x27)','\x20&\x20','path','shims','glab','rmdirSync','writeFileSync','5065565jHrqGL'];a0_0x1301=function(){return _0x5712e6;};return a0_0x1301();}function ensureProfileContains(_0x3441f5,_0x203b59,_0x214b05){const _0x200e01=a0_0x36ea5d;try{const _0x575490=path[_0x200e01(0x83)](_0x3441f5);!fs['existsSync'](_0x575490)&&fs[_0x200e01(0x98)](_0x575490,{'recursive':!![]});if(fs[_0x200e01(0xa9)](_0x3441f5)){const _0x281c47=fs[_0x200e01(0xca)](_0x3441f5,_0x200e01(0xec));if(_0x281c47['includes'](_0x203b59))return;fs[_0x200e01(0x99)](_0x3441f5,_0x214b05,_0x200e01(0xec));}else fs[_0x200e01(0xe8)](_0x3441f5,_0x214b05,_0x200e01(0xec));}catch{}}function removeProfileBlock(_0x2e96e4,_0x7af880){const _0x25503c=a0_0x36ea5d;try{if(!fs[_0x25503c(0xa9)](_0x2e96e4))return;const _0x5e5ca0=fs['readFileSync'](_0x2e96e4,_0x25503c(0xec));if(!_0x5e5ca0[_0x25503c(0x80)](_0x7af880))return;const _0x5310b9=_0x5e5ca0[_0x25503c(0xdf)]('\x0a'),_0x552e17=[];let _0x4e50d8=![];for(let _0x3efc96=0x0;_0x3efc96<_0x5310b9[_0x25503c(0x82)];_0x3efc96++){if(_0x5310b9[_0x3efc96][_0x25503c(0x80)](_0x7af880)){_0x4e50d8=!![];continue;}if(_0x4e50d8){_0x4e50d8=![];continue;}_0x552e17[_0x25503c(0x86)](_0x5310b9[_0x3efc96]);}const _0x1f7554=_0x552e17[_0x25503c(0xc1)]('\x0a')[_0x25503c(0xcf)](/\n{3,}/g,'\x0a\x0a');fs[_0x25503c(0xe8)](_0x2e96e4,_0x1f7554,_0x25503c(0xec));}catch{}}function collectPowerShellProfiles(){const _0x3f6fa8=a0_0x36ea5d,_0xddabc7=getExecSync(),_0x2e67f1=[],_0x4a11ca=[[_0x3f6fa8(0xde),_0x3f6fa8(0x85)],[_0x3f6fa8(0xde),_0x3f6fa8(0xa1)]];try{_0xddabc7('pwsh\x20-NoProfile\x20-Command\x20\x22exit\x200\x22',{'stdio':_0x3f6fa8(0xb7)}),_0x4a11ca[_0x3f6fa8(0x86)]([_0x3f6fa8(0xaf),_0x3f6fa8(0xa1)]);}catch{}for(const [_0x18c17b,_0x5517a5]of _0x4a11ca){try{const _0x12ee79=_0xddabc7(_0x18c17b+_0x3f6fa8(0x8d)+_0x5517a5+'\x22',{'encoding':'utf8'})[_0x3f6fa8(0xf2)]();_0x12ee79&&!_0x2e67f1[_0x3f6fa8(0xce)](_0x5d2661=>_0x5d2661['toLowerCase']()===_0x12ee79[_0x3f6fa8(0x9d)]())&&_0x2e67f1[_0x3f6fa8(0x86)](_0x12ee79);}catch{}}return _0x2e67f1;}function getBashProfilesWindows(){const _0x19a43c=a0_0x36ea5d,_0x99a6b=os[_0x19a43c(0xea)]();return[_0x19a43c(0xbf),'.bash_profile']['map'](_0x4c026f=>path[_0x19a43c(0xc1)](_0x99a6b,_0x4c026f));}function getBroadcastCommand(){return'$sig\x20=\x20\x27[DllImport(\x5c\x22user32.dll\x5c\x22,\x20SetLastError\x20=\x20true,\x20CharSet\x20=\x20CharSet.Auto)]\x20public\x20static\x20extern\x20IntPtr\x20SendMessageTimeout(IntPtr\x20hWnd,\x20uint\x20Msg,\x20IntPtr\x20wParam,\x20string\x20lParam,\x20uint\x20fuFlags,\x20uint\x20uTimeout,\x20out\x20IntPtr\x20lpdwResult);\x27;\x20Add-Type\x20-MemberDefinition\x20$sig\x20-Name\x20\x5c\x22Win32\x5c\x22\x20-Namespace\x20\x5c\x22Win32\x5c\x22\x20-PassThru\x20>\x20$null;\x20[IntPtr]$res\x20=\x200;\x20[void][Win32.Win32]::SendMessageTimeout([IntPtr]0xffff,\x200x001A,\x20[IntPtr]::Zero,\x20\x5c\x22Environment\x5c\x22,\x202,\x201000,\x20[ref]$res);';}function installShims(){const _0x5e5f80=a0_0x36ea5d,_0x213fa1=path[_0x5e5f80(0xc1)](os[_0x5e5f80(0xea)](),_0x5e5f80(0xcc),_0x5e5f80(0xe5));try{!fs[_0x5e5f80(0xa9)](_0x213fa1)&&fs[_0x5e5f80(0x98)](_0x213fa1,{'recursive':!![]});const _0x3524bb=os['platform']()===_0x5e5f80(0x8e);for(const _0x39f88e of SHIMMED_COMMANDS){if(_0x3524bb){const _0x335ead=path[_0x5e5f80(0xc1)](_0x213fa1,_0x39f88e+_0x5e5f80(0x9f));fs[_0x5e5f80(0xe8)](_0x335ead,_0x5e5f80(0xa3)+_0x39f88e+_0x5e5f80(0xa6),_0x5e5f80(0xec));const _0x4a2a53=path[_0x5e5f80(0xc1)](_0x213fa1,_0x39f88e+_0x5e5f80(0xc9));fs[_0x5e5f80(0xe8)](_0x4a2a53,_0x5e5f80(0xef)+_0x39f88e+_0x5e5f80(0xd2),'utf8');const _0x44427c=path[_0x5e5f80(0xc1)](_0x213fa1,_0x39f88e);fs[_0x5e5f80(0xe8)](_0x44427c,_0x5e5f80(0xb1)+_0x39f88e+_0x5e5f80(0xb3),_0x5e5f80(0xec));}else{const _0x52147e=path[_0x5e5f80(0xc1)](_0x213fa1,_0x39f88e);fs['writeFileSync'](_0x52147e,_0x5e5f80(0xb1)+_0x39f88e+_0x5e5f80(0xb3),'utf8'),fs['chmodSync'](_0x52147e,_0x5e5f80(0xc7));}}let _0x256030=![],_0x14424f='';if(_0x3524bb)try{const _0x4ffb8f=getExecSync(),_0xfe6225=_0x5e5f80(0xd6)+PROFILE_MARKER+_0x5e5f80(0x91)+_0x213fa1+_0x5e5f80(0x96),_0x23a05e=collectPowerShellProfiles();for(const _0x47f7df of _0x23a05e){ensureProfileContains(_0x47f7df,_0x213fa1,_0xfe6225);}try{const _0x979cb7=getExecFileSync(),_0x42ab21=_0x5e5f80(0xf0)+_0x213fa1+'\x22\x20set\x20\x22PATH='+_0x213fa1+_0x5e5f80(0x8c),_0x5bbad5='HKCU:\x5cSoftware\x5cMicrosoft\x5cCommand\x20Processor';let _0x2f6c18='';try{const _0x4d3270=_0x5e5f80(0xbd)+_0x5bbad5+_0x5e5f80(0x94);_0x2f6c18=_0x979cb7('powershell.exe',['-NoProfile',_0x5e5f80(0xbc),_0x4d3270],{'encoding':_0x5e5f80(0xec),'stdio':[_0x5e5f80(0x88),_0x5e5f80(0x88),_0x5e5f80(0xb7)]})[_0x5e5f80(0xf2)]();}catch{}if(!_0x2f6c18[_0x5e5f80(0x80)](_0x213fa1)){const _0x2b1756=_0x2f6c18?_0x2f6c18+_0x5e5f80(0xe3)+_0x42ab21:_0x42ab21,_0x1ed208='New-Item\x20-Path\x20\x27'+_0x5bbad5+'\x27\x20-Force\x20|\x20Out-Null;\x20Set-ItemProperty\x20-Path\x20\x27'+_0x5bbad5+_0x5e5f80(0x84)+_0x2b1756+'\x27';_0x979cb7(_0x5e5f80(0xa4),[_0x5e5f80(0xf3),'-Command',_0x1ed208],{'stdio':'ignore'});}}catch{}try{const _0x55a425=_0x213fa1[_0x5e5f80(0xcf)](/\\/g,'/')[_0x5e5f80(0xcf)](/^([A-Za-z]):/,(_0x30ef8e,_0x2bfa88)=>'/'+_0x2bfa88['toLowerCase']()),_0x58a674=_0x5e5f80(0xd6)+PROFILE_MARKER+_0x5e5f80(0x8b)+_0x55a425+':$PATH\x22\x0a',_0x6a758c=getBashProfilesWindows();let _0x17a0c4=![];for(const _0xcfc2bd of _0x6a758c){fs[_0x5e5f80(0xa9)](_0xcfc2bd)&&(ensureProfileContains(_0xcfc2bd,_0x55a425,_0x58a674),_0x17a0c4=!![]);}!_0x17a0c4&&ensureProfileContains(_0x6a758c[0x0],_0x55a425,_0x58a674);}catch{}const _0x4c305f=_0x5e5f80(0xe2),_0x592d69=_0x4ffb8f(_0x5e5f80(0x92)+_0x4c305f+'\x22',{'encoding':'utf8','stdio':[_0x5e5f80(0x88),_0x5e5f80(0x88),_0x5e5f80(0xb7)]})[_0x5e5f80(0xf2)]();if(!_0x592d69[_0x5e5f80(0x80)](_0x213fa1)){const _0x837591=_0x213fa1+';'+_0x592d69,_0x1eda84=_0x837591[_0x5e5f80(0xcf)](/'/g,'\x27\x27'),_0x1e9fe5=_0x5e5f80(0xb0)+_0x1eda84+_0x5e5f80(0xad);_0x4ffb8f(_0x5e5f80(0x92)+_0x1e9fe5+';\x20'+getBroadcastCommand()+'\x22',{'stdio':_0x5e5f80(0xb7)});}const _0x22c8c7=path[_0x5e5f80(0xc1)](process[_0x5e5f80(0xdb)][_0x5e5f80(0xaa)]||'',_0x5e5f80(0xa0),_0x5e5f80(0xb2));if(fs[_0x5e5f80(0xa9)](_0x22c8c7))try{fs['unlinkSync'](_0x22c8c7);}catch{}_0x256030=!![];}catch(_0x3ca12c){_0x14424f='Please\x20add\x20the\x20following\x20path\x20to\x20the\x20front\x20of\x20your\x20User\x20PATH\x20environment\x20variable\x20manually:\x0a\x20\x20'+_0x213fa1;}else try{const _0x153495=_0x5e5f80(0xb4)+_0x213fa1+_0x5e5f80(0xda),_0x3e4eba=os[_0x5e5f80(0xea)](),_0x2cf5f1=[_0x5e5f80(0xbf),'.zshrc','.bash_profile',_0x5e5f80(0x8f)];let _0x21a6c6=![];for(const _0x59a9da of _0x2cf5f1){const _0x26cf01=path['join'](_0x3e4eba,_0x59a9da);fs[_0x5e5f80(0xa9)](_0x26cf01)&&(ensureProfileContains(_0x26cf01,_0x213fa1,_0x5e5f80(0xd6)+PROFILE_MARKER+'\x0a'+_0x153495),_0x21a6c6=!![]);}if(!_0x21a6c6){const _0x42e68f=path[_0x5e5f80(0xc1)](_0x3e4eba,_0x5e5f80(0xbf));ensureProfileContains(_0x42e68f,_0x213fa1,_0x5e5f80(0xd6)+PROFILE_MARKER+'\x0a'+_0x153495);}_0x256030=!![];}catch(_0x83341){_0x14424f=_0x5e5f80(0x95)+_0x213fa1+_0x5e5f80(0xc8);}const _0x47a9ff=_0x5e5f80(0xa5)+SHIMMED_COMMANDS[_0x5e5f80(0x82)]+_0x5e5f80(0xb5),_0x1ad191=_0x256030?_0x47a9ff+_0x5e5f80(0xc4):_0x47a9ff+_0x5e5f80(0xd8)+_0x14424f;return{'success':!![],'pathDir':_0x213fa1,'message':_0x1ad191};}catch(_0x4d4fef){return{'success':![],'pathDir':_0x213fa1,'message':_0x5e5f80(0x89)+_0x4d4fef['message']};}}function uninstallShims(){const _0x320229=a0_0x36ea5d,_0x1b107c=path[_0x320229(0xc1)](os[_0x320229(0xea)](),_0x320229(0xcc),_0x320229(0xe5)),_0x36f7a9=os[_0x320229(0xeb)]()===_0x320229(0x8e);try{if(_0x36f7a9){const _0x3ac627=getExecSync();try{const _0x23ca15=getExecFileSync(),_0x4e0028=_0x320229(0xb8),_0x25bfb5='try\x20{\x20(Get-ItemProperty\x20-Path\x20\x27'+_0x4e0028+_0x320229(0x94),_0x424dd7=_0x23ca15('powershell.exe',[_0x320229(0xf3),'-Command',_0x25bfb5],{'encoding':_0x320229(0xec),'stdio':[_0x320229(0x88),'pipe','ignore']})[_0x320229(0xf2)]();if(_0x424dd7[_0x320229(0x80)](_0x1b107c)){const _0x25a7e0=_0x424dd7[_0x320229(0xdf)](_0x320229(0xe3))[_0x320229(0xb9)](_0x31c6c1=>!_0x31c6c1['includes'](_0x1b107c));if(_0x25a7e0[_0x320229(0x82)]===0x0){const _0x16f15b=_0x320229(0xd7)+_0x4e0028+_0x320229(0xcd);_0x23ca15('powershell.exe',[_0x320229(0xf3),_0x320229(0xbc),_0x16f15b],{'stdio':_0x320229(0xb7)});}else{const _0x162673=_0x25a7e0[_0x320229(0xc1)](_0x320229(0xe3)),_0x58cc16=_0x320229(0xc6)+_0x4e0028+'\x27\x20-Name\x20AutoRun\x20-Value\x20\x27'+_0x162673+'\x27';_0x23ca15(_0x320229(0xa4),[_0x320229(0xf3),_0x320229(0xbc),_0x58cc16],{'stdio':_0x320229(0xb7)});}}}catch{}try{const _0x18160b=collectPowerShellProfiles();for(const _0x4f2bc7 of _0x18160b){removeProfileBlock(_0x4f2bc7,PROFILE_MARKER);}}catch{}try{for(const _0x154d27 of getBashProfilesWindows()){removeProfileBlock(_0x154d27,PROFILE_MARKER);}}catch{}try{const _0x1a2298=_0x320229(0xe2),_0x1b4b7d=_0x3ac627('powershell\x20-NoProfile\x20-Command\x20\x22'+_0x1a2298+'\x22',{'encoding':_0x320229(0xec),'stdio':[_0x320229(0x88),_0x320229(0x88),'ignore']})[_0x320229(0xf2)]();if(_0x1b4b7d[_0x320229(0x80)](_0x1b107c)){const _0x25327c=_0x1b4b7d[_0x320229(0xdf)](';')[_0x320229(0xb9)](_0x1adaa1=>_0x1adaa1['trim']()[_0x320229(0x9d)]()!==_0x1b107c['toLowerCase']())['join'](';'),_0x41289c=_0x25327c['replace'](/'/g,'\x27\x27'),_0x10a24b=_0x320229(0xb0)+_0x41289c+_0x320229(0xad);_0x3ac627('powershell\x20-NoProfile\x20-Command\x20\x22'+_0x10a24b+';\x20'+getBroadcastCommand()+'\x22',{'stdio':_0x320229(0xb7)});}}catch{}}else{const _0x4a56a1=os[_0x320229(0xea)](),_0x209f2a=[_0x320229(0xbf),_0x320229(0x9c),_0x320229(0xf4),_0x320229(0x8f)];for(const _0x863209 of _0x209f2a){removeProfileBlock(path[_0x320229(0xc1)](_0x4a56a1,_0x863209),PROFILE_MARKER);}}if(fs['existsSync'](_0x1b107c)){const _0x1f22d1=fs[_0x320229(0xbb)](_0x1b107c);for(const _0x11dca7 of _0x1f22d1){fs[_0x320229(0xd1)](path[_0x320229(0xc1)](_0x1b107c,_0x11dca7));}fs[_0x320229(0xe7)](_0x1b107c);}return{'success':!![],'message':_0x320229(0xcb)};}catch(_0x596607){return{'success':![],'message':_0x320229(0xf1)+_0x596607['message']};}}
package/simulate.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x2c38fc=a0_0x4583;(function(_0x2bc286,_0x26a363){const _0x4301e3=a0_0x4583,_0x411880=_0x2bc286();while(!![]){try{const _0x208d11=-parseInt(_0x4301e3(0xfb))/0x1*(-parseInt(_0x4301e3(0x110))/0x2)+-parseInt(_0x4301e3(0x119))/0x3+parseInt(_0x4301e3(0x12a))/0x4*(-parseInt(_0x4301e3(0x109))/0x5)+-parseInt(_0x4301e3(0x121))/0x6+parseInt(_0x4301e3(0x117))/0x7*(-parseInt(_0x4301e3(0x10a))/0x8)+-parseInt(_0x4301e3(0x130))/0x9*(parseInt(_0x4301e3(0x126))/0xa)+parseInt(_0x4301e3(0xfe))/0xb;if(_0x208d11===_0x26a363)break;else _0x411880['push'](_0x411880['shift']());}catch(_0x524011){_0x411880['push'](_0x411880['shift']());}}}(a0_0x2e60,0x2fef1));function a0_0x4583(_0x24c04e,_0x391c13){const _0x2e609e=a0_0x2e60();return a0_0x4583=function(_0x4583fd,_0xef63ef){_0x4583fd=_0x4583fd-0xfa;let _0x3ddad8=_0x2e609e[_0x4583fd];return _0x3ddad8;},a0_0x4583(_0x24c04e,_0x391c13);}function a0_0x2e60(){const _0x103e1c=['2445270LcYVEL','upload:\x20dist/cli.js\x20to\x20s3://trimprompt-assets/cli.js\x0a','logExecution','./tracker','524292MAKxxT','join','repeat','npm\x20run\x20lint','utf8','npm\x20install\x20lodash\x20express\x20uuid\x20react','9nMPkbv','env','comp','gemini-1-5-flash','✖\x202\x20problems\x20(0\x20errors,\x202\x20warnings)\x0a','tracker','length','toISOString','\x20\x20Installing\x20build\x20dependencies\x20...\x20done\x0a','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','\x20...\x20ok\x0atest\x20result:\x20ok.\x2045\x20passed;\x200\x20failed;\x200\x20ignored;\x200\x20measured;\x200\x20filtered\x20out','src/tracker.ts:45:9\x20-\x20warning:\x20console.log\x20should\x20be\x20removed\x0a','4sPXnMp','kubectl\x20get\x20pods:\x20trimprompt-api\x20(Running),\x20trimprompt-sync\x20(Running),\x20redis-master\x20(Running),\x20postgres-db\x20(Running)','__esModule','12564079FbGkEz','gemini-1-5-pro','gpt-4o','Completed\x203\x20of\x203\x20assets\x20successfully.','aws\x20s3\x20sync\x20dist/\x20s3://trimprompt-assets','upload:\x20dist/hub-index.html\x20to\x20s3://trimprompt-assets/hub-index.html\x0a','gpt-4o-mini','path','Starting\x20simulation\x20of\x20developer\x20workflow\x20activity...','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','npm\x20warn\x20deprecated\x20uuid@3.4.0:\x20Please\x20upgrade...\x0a','10crKzrE','47336ZaPQNY','now','upload:\x20dist/index.html\x20to\x20s3://trimprompt-assets/index.html\x0a','aws\x20s3\x20sync:\x203\x20assets\x20uploaded\x20successfully.','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','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','161642ZXdgWc','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','defineProperty','Successfully\x20installed\x20tensorflow-2.15.0\x20numpy-1.26.2\x20pandas-2.1.3\x0a','git\x20diff\x20main','running\x2045\x20tests\x0atest\x20tests::db_connection\x20...\x20ok\x0atest\x20tests::auth_handler\x20...\x20ok\x0a','git\x20log:\x205\x20commits\x20(feat:\x20add\x20dynamic\x20token\x20costs,\x20fix:\x20adjust\x20margins...)','448BVtDYR','added\x2084\x20packages,\x20changed\x2012\x20packages,\x20and\x20audited\x2096\x20packages\x20in\x203s\x0a','496239gbMYvy','kubectl\x20get\x20pods\x20-n\x20production','log','.trimprompt','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','test\x20tests::test_case_','npm\x20run\x20lint:\x20✖\x202\x20warnings','1310172ZHayCy','claude-3-opus','postgres-db-0\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201/1\x20\x20\x20\x20\x20Running\x20\x20\x200\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2012d\x0a','diff\x20--git\x20a/src/cli.ts\x20b/src/cli.ts\x0aindex\x201234..5678\x20100644\x0a---\x20a/src/cli.ts\x0a+++\x20b/src/cli.ts\x0a@@\x20-10,6\x20+10,12\x20@@\x0a+\x20//\x20Added\x20new\x20telemetry\x20features\x0a+\x20console.log(\x22Initializing\x20sync\x20daemon...\x22);\x0a+\x20startSync();\x0a','raw'];a0_0x2e60=function(){return _0x103e1c;};return a0_0x2e60();}Object[a0_0x2c38fc(0x112)](exports,a0_0x2c38fc(0xfd),{'value':!![]});const tracker_1=require(a0_0x2c38fc(0x129));console['log'](a0_0x2c38fc(0x106));const models=['claude-3-5-sonnet',a0_0x2c38fc(0x100),a0_0x2c38fc(0x104),a0_0x2c38fc(0xff),a0_0x2c38fc(0x133),a0_0x2c38fc(0x122)],commands=[{'cmd':a0_0x2c38fc(0x114),'raw':a0_0x2c38fc(0x124)[a0_0x2c38fc(0x12c)](0x32),'comp':'diff\x20--git\x20a/src/cli.ts\x20b/src/cli.ts\x20(50\x20insertions,\x200\x20deletions)','exitCode':0x0},{'cmd':'cargo\x20test','raw':a0_0x2c38fc(0x115)+a0_0x2c38fc(0x11f)[a0_0x2c38fc(0x12c)](0x28)+a0_0x2c38fc(0x13a),'comp':'cargo\x20test:\x2045\x20passed,\x200\x20failed.','exitCode':0x0},{'cmd':a0_0x2c38fc(0x12f),'raw':a0_0x2c38fc(0x108)+a0_0x2c38fc(0x118)+'found\x200\x20vulnerabilities\x0a','comp':'npm\x20install:\x20added\x2084\x20packages,\x20audited\x2096\x20packages.\x200\x20vulnerabilities.','exitCode':0x0},{'cmd':a0_0x2c38fc(0x102),'raw':a0_0x2c38fc(0x10c)+a0_0x2c38fc(0x103)+a0_0x2c38fc(0x127)+a0_0x2c38fc(0x101),'comp':a0_0x2c38fc(0x10d),'exitCode':0x0},{'cmd':a0_0x2c38fc(0x11a),'raw':a0_0x2c38fc(0x111)+a0_0x2c38fc(0x10f)+'trimprompt-sync-324db87d1-p8q2e\x20\x20\x201/1\x20\x20\x20\x20\x20Running\x20\x20\x200\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204d\x0a'+a0_0x2c38fc(0x10e)+a0_0x2c38fc(0x123),'comp':a0_0x2c38fc(0xfc),'exitCode':0x0},{'cmd':'pip\x20install\x20tensorflow\x20pandas\x20numpy','raw':a0_0x2c38fc(0x11d)+a0_0x2c38fc(0x138)+a0_0x2c38fc(0x113),'comp':'pip\x20install:\x20Successfully\x20installed\x20tensorflow-2.15.0\x20numpy-1.26.2\x20pandas-2.1.3','exitCode':0x0},{'cmd':'git\x20log\x20-n\x205','raw':a0_0x2c38fc(0x139)+a0_0x2c38fc(0x107),'comp':a0_0x2c38fc(0x116),'exitCode':0x0},{'cmd':a0_0x2c38fc(0x12d),'raw':'src/cli.ts:12:3\x20-\x20warning:\x20unused\x20import\x0a'+a0_0x2c38fc(0xfa)+a0_0x2c38fc(0x134),'comp':a0_0x2c38fc(0x120),'exitCode':0x0}],startTime=Date[a0_0x2c38fc(0x10b)]()-0x36ee80;for(let i=0x0;i<0xc;i++){const model=models[i%models['length']],commandItem=commands[Math['floor'](Math['random']()*commands[a0_0x2c38fc(0x136)])];process[a0_0x2c38fc(0x131)]['TRIMPROMPT_MODEL']=model;const timestamp=new Date(startTime+i*0x3d090)[a0_0x2c38fc(0x137)](),log=tracker_1[a0_0x2c38fc(0x135)][a0_0x2c38fc(0x128)](commandItem['cmd'],commandItem[a0_0x2c38fc(0x125)],commandItem[a0_0x2c38fc(0x132)],commandItem['exitCode']),logs=tracker_1['tracker']['getLogs']();logs[a0_0x2c38fc(0x136)]>0x0&&(logs[logs[a0_0x2c38fc(0x136)]-0x1]['timestamp']=timestamp,require('fs')[a0_0x2c38fc(0x11e)](require(a0_0x2c38fc(0x105))[a0_0x2c38fc(0x12b)](require('os')['homedir'](),a0_0x2c38fc(0x11c),'stats.json'),JSON['stringify'](logs,null,0x2),a0_0x2c38fc(0x12e)));}console[a0_0x2c38fc(0x11b)]('workflow\x20simulation\x20complete!\x2012\x20additional\x20commands\x20logged.');
1
+ 'use strict';const a0_0x28046f=a0_0x3f87;(function(_0x3292f3,_0x4cdc4f){const _0x57581c=a0_0x3f87,_0x3cd7cc=_0x3292f3();while(!![]){try{const _0x21416a=parseInt(_0x57581c(0x13a))/0x1*(parseInt(_0x57581c(0x13d))/0x2)+-parseInt(_0x57581c(0x160))/0x3+-parseInt(_0x57581c(0x140))/0x4+parseInt(_0x57581c(0x151))/0x5*(parseInt(_0x57581c(0x152))/0x6)+parseInt(_0x57581c(0x139))/0x7*(-parseInt(_0x57581c(0x145))/0x8)+-parseInt(_0x57581c(0x161))/0x9*(parseInt(_0x57581c(0x14b))/0xa)+parseInt(_0x57581c(0x14d))/0xb*(parseInt(_0x57581c(0x12c))/0xc);if(_0x21416a===_0x4cdc4f)break;else _0x3cd7cc['push'](_0x3cd7cc['shift']());}catch(_0x4bcf2f){_0x3cd7cc['push'](_0x3cd7cc['shift']());}}}(a0_0x4526,0xc6055));Object[a0_0x28046f(0x137)](exports,a0_0x28046f(0x14c),{'value':!![]});function a0_0x4526(){const _0x2f701d=['570aowYVc','tracker','test\x20tests::test_case_','npm\x20warn\x20deprecated\x20uuid@3.4.0:\x20Please\x20upgrade...\x0a','Collecting\x20tensorflow\x0a\x20\x20Downloading\x20tensorflow-2.15.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl\x20(475.2\x20MB)\x0a','utf8','./tracker','comp','git\x20log\x20-n\x205','gemini-1-5-flash','Successfully\x20installed\x20tensorflow-2.15.0\x20numpy-1.26.2\x20pandas-2.1.3\x0a','exitCode','upload:\x20dist/hub-index.html\x20to\x20s3://trimprompt-assets/hub-index.html\x0a','claude-3-opus','4235154RcYzJW','2691YIybYb','random','join','writeFileSync','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','Completed\x203\x20of\x203\x20assets\x20successfully.','gpt-4o','running\x2045\x20tests\x0atest\x20tests::db_connection\x20...\x20ok\x0atest\x20tests::auth_handler\x20...\x20ok\x0a','floor','stats.json','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','708cpIKUD','timestamp','length','repeat','✖\x202\x20problems\x20(0\x20errors,\x202\x20warnings)\x0a','upload:\x20dist/cli.js\x20to\x20s3://trimprompt-assets/cli.js\x0a','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','claude-3-5-sonnet','.trimprompt','found\x200\x20vulnerabilities\x0a','src/tracker.ts:45:9\x20-\x20warning:\x20console.log\x20should\x20be\x20removed\x0a','defineProperty','src/cli.ts:12:3\x20-\x20warning:\x20unused\x20import\x0a','7hzUkhA','2edAiTO','kubectl\x20get\x20pods:\x20trimprompt-api\x20(Running),\x20trimprompt-sync\x20(Running),\x20redis-master\x20(Running),\x20postgres-db\x20(Running)','diff\x20--git\x20a/src/cli.ts\x20b/src/cli.ts\x20(50\x20insertions,\x200\x20deletions)','145186eNkQxe','pip\x20install:\x20Successfully\x20installed\x20tensorflow-2.15.0\x20numpy-1.26.2\x20pandas-2.1.3','pip\x20install\x20tensorflow\x20pandas\x20numpy','2564856bhCUSC','workflow\x20simulation\x20complete!\x2012\x20additional\x20commands\x20logged.','aws\x20s3\x20sync\x20dist/\x20s3://trimprompt-assets','\x20...\x20ok\x0atest\x20result:\x20ok.\x2045\x20passed;\x200\x20failed;\x200\x20ignored;\x200\x20measured;\x200\x20filtered\x20out','kubectl\x20get\x20pods\x20-n\x20production','49568thriwH','npm\x20run\x20lint','cargo\x20test:\x2045\x20passed,\x200\x20failed.','cmd','TRIMPROMPT_MODEL','path','45060nxGQWo','__esModule','652091qAcDJC','now','added\x2084\x20packages,\x20changed\x2012\x20packages,\x20and\x20audited\x2096\x20packages\x20in\x203s\x0a','npm\x20run\x20lint:\x20✖\x202\x20warnings','30250LbRJFp'];a0_0x4526=function(){return _0x2f701d;};return a0_0x4526();}const tracker_1=require(a0_0x28046f(0x158));console['log']('Starting\x20simulation\x20of\x20developer\x20workflow\x20activity...');const models=[a0_0x28046f(0x133),a0_0x28046f(0x167),'gpt-4o-mini','gemini-1-5-pro',a0_0x28046f(0x15b),a0_0x28046f(0x15f)],commands=[{'cmd':'git\x20diff\x20main','raw':a0_0x28046f(0x165)['repeat'](0x32),'comp':a0_0x28046f(0x13c),'exitCode':0x0},{'cmd':'cargo\x20test','raw':a0_0x28046f(0x168)+a0_0x28046f(0x154)[a0_0x28046f(0x12f)](0x28)+a0_0x28046f(0x143),'comp':a0_0x28046f(0x147),'exitCode':0x0},{'cmd':'npm\x20install\x20lodash\x20express\x20uuid\x20react','raw':a0_0x28046f(0x155)+a0_0x28046f(0x14f)+a0_0x28046f(0x135),'comp':'npm\x20install:\x20added\x2084\x20packages,\x20audited\x2096\x20packages.\x200\x20vulnerabilities.','exitCode':0x0},{'cmd':a0_0x28046f(0x142),'raw':'upload:\x20dist/index.html\x20to\x20s3://trimprompt-assets/index.html\x0a'+a0_0x28046f(0x15e)+a0_0x28046f(0x131)+a0_0x28046f(0x166),'comp':'aws\x20s3\x20sync:\x203\x20assets\x20uploaded\x20successfully.','exitCode':0x0},{'cmd':a0_0x28046f(0x144),'raw':a0_0x28046f(0x12b)+'trimprompt-api-567fdb7d6-x8w9q\x20\x20\x20\x201/1\x20\x20\x20\x20\x20Running\x20\x20\x200\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204d\x0a'+'trimprompt-sync-324db87d1-p8q2e\x20\x20\x201/1\x20\x20\x20\x20\x20Running\x20\x20\x200\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204d\x0a'+'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'+'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','comp':a0_0x28046f(0x13b),'exitCode':0x0},{'cmd':a0_0x28046f(0x13f),'raw':a0_0x28046f(0x156)+'\x20\x20Installing\x20build\x20dependencies\x20...\x20done\x0a'+a0_0x28046f(0x15c),'comp':a0_0x28046f(0x13e),'exitCode':0x0},{'cmd':a0_0x28046f(0x15a),'raw':a0_0x28046f(0x132)+'commit\x20f6e5d4c3b2a1\x0aAuthor:\x20Developer\x20<dev@trimprompt.ai>\x0aDate:\x20\x20\x20Tue\x20Jun\x2016\x2013:30:00\x202026\x20+0300\x0a\x0a\x20\x20\x20\x20fix:\x20adjust\x20margins\x20on\x20visual\x20graph','comp':'git\x20log:\x205\x20commits\x20(feat:\x20add\x20dynamic\x20token\x20costs,\x20fix:\x20adjust\x20margins...)','exitCode':0x0},{'cmd':a0_0x28046f(0x146),'raw':a0_0x28046f(0x138)+a0_0x28046f(0x136)+a0_0x28046f(0x130),'comp':a0_0x28046f(0x150),'exitCode':0x0}],startTime=Date[a0_0x28046f(0x14e)]()-0x36ee80;function a0_0x3f87(_0x39feb2,_0x7a6e2f){const _0x4526cc=a0_0x4526();return a0_0x3f87=function(_0x3f87a9,_0x4e1eef){_0x3f87a9=_0x3f87a9-0x129;let _0x2a9e37=_0x4526cc[_0x3f87a9];return _0x2a9e37;},a0_0x3f87(_0x39feb2,_0x7a6e2f);}for(let i=0x0;i<0xc;i++){const model=models[i%models[a0_0x28046f(0x12e)]],commandItem=commands[Math[a0_0x28046f(0x129)](Math[a0_0x28046f(0x162)]()*commands['length'])];process['env'][a0_0x28046f(0x149)]=model;const timestamp=new Date(startTime+i*0x3d090)['toISOString'](),log=tracker_1[a0_0x28046f(0x153)]['logExecution'](commandItem[a0_0x28046f(0x148)],commandItem['raw'],commandItem[a0_0x28046f(0x159)],commandItem[a0_0x28046f(0x15d)]),logs=tracker_1[a0_0x28046f(0x153)]['getLogs']();logs['length']>0x0&&(logs[logs['length']-0x1][a0_0x28046f(0x12d)]=timestamp,require('fs')[a0_0x28046f(0x164)](require(a0_0x28046f(0x14a))[a0_0x28046f(0x163)](require('os')['homedir'](),a0_0x28046f(0x134),a0_0x28046f(0x12a)),JSON['stringify'](logs,null,0x2),a0_0x28046f(0x157)));}console['log'](a0_0x28046f(0x141));