@guanghechen/kit-pm 0.5.0 → 0.6.1
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/lib/esm/cli.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
(function(
|
|
2
|
+
(function(_0xce2590,_0x1d2173){const _0x17243d={_0x295db8:0x150,_0x39fb5b:0x15b,_0x20ce75:'L&@x',_0x11f0ae:0x170,_0x2b34f4:0x261,_0x59a955:0x170,_0x1debb4:'&cg9',_0x3a87b1:0x182,_0x8cd55a:'f*c$',_0x529a7b:0x239,_0x39f9c3:'OcT[',_0x2364df:0x23f,_0x3391a4:0x237,_0xce5982:'jf[Z',_0x4ae07f:0x147,_0x135e46:0x156,_0xe76d77:0x24d,_0x8d59be:0x25b,_0x5d2ed2:0x244,_0x3da4d6:'5CMP',_0xdeb186:0x24a,_0x10812d:0x248,_0x5a0f70:'p@@%',_0x22f98c:0x259,_0x20b74d:0x269,_0x116890:0x244,_0x3e8e36:0x16b,_0x1c79fb:'GfA(',_0x5b655b:0x178,_0x54612b:0x273},_0x37f10b={_0x10635c:0x108},_0x4a1128={_0x12e8f9:0x2b0};function _0x1d8b39(_0x121829,_0x4e8c28,_0x3a2ecd,_0x176d1d){return _0x2850(_0x4e8c28- -_0x4a1128._0x12e8f9,_0x3a2ecd);}const _0x51b6e7=_0xce2590();function _0x3d4968(_0x2a3a5f,_0x24bd4e,_0x3a64aa,_0x107e68){return _0x2850(_0x2a3a5f-_0x37f10b._0x10635c,_0x107e68);}while(!![]){try{const _0x105755=-parseInt(_0x1d8b39(-_0x17243d._0x295db8,-_0x17243d._0x39fb5b,_0x17243d._0x20ce75,-_0x17243d._0x11f0ae))/(0x8f1+0x20e6*-0x1+0x17f6)*(parseInt(_0x3d4968(0x253,_0x17243d._0x2b34f4,0x253,'eHGw'))/(-0x161e+0x1a1f+-0x3ff))+parseInt(_0x1d8b39(-0x15b,-_0x17243d._0x59a955,_0x17243d._0x1debb4,-0x15b))/(0x1353+0x19ab+-0x2cfb*0x1)+parseInt(_0x1d8b39(-0x184,-_0x17243d._0x3a87b1,_0x17243d._0x8cd55a,-0x192))/(-0x657*-0x1+-0x251*-0x1+0x13c*-0x7)+-parseInt(_0x3d4968(0x251,0x265,_0x17243d._0x529a7b,_0x17243d._0x39f9c3))/(0x196b+0x3*-0x595+-0x8a7)*(-parseInt(_0x3d4968(_0x17243d._0x2364df,_0x17243d._0x3391a4,0x257,_0x17243d._0xce5982))/(0x19f6*-0x1+0x5*0xf9+-0x1*-0x151f))+-parseInt(_0x1d8b39(-_0x17243d._0x4ae07f,-_0x17243d._0x135e46,'#%g*',-0x152))/(0x657+-0x566*0x2+-0x47c*-0x1)*(-parseInt(_0x3d4968(_0x17243d._0xe76d77,_0x17243d._0x8d59be,_0x17243d._0x5d2ed2,_0x17243d._0x3da4d6))/(-0x25*0xe4+0x913*-0x1+0x2a0f))+-parseInt(_0x3d4968(0x244,_0x17243d._0xdeb186,_0x17243d._0x10812d,_0x17243d._0x5a0f70))/(0xcdb+0xea*0x1+0x125*-0xc)*(-parseInt(_0x3d4968(_0x17243d._0x22f98c,_0x17243d._0x20b74d,_0x17243d._0x116890,'p@@%'))/(0x1ad3+-0xa*0x70+-0x1669))+-parseInt(_0x1d8b39(-_0x17243d._0x3e8e36,-0x168,_0x17243d._0x1c79fb,-_0x17243d._0x5b655b))/(-0x7*0x43f+0x10c+-0x8*-0x397)*(parseInt(_0x3d4968(_0x17243d._0x8d59be,_0x17243d._0x54612b,0x271,'(S6V'))/(0xe*-0x58+-0x1*-0x25b3+-0x20d7));if(_0x105755===_0x1d2173)break;else _0x51b6e7['push'](_0x51b6e7['shift']());}catch(_0x5bc798){_0x51b6e7['push'](_0x51b6e7['shift']());}}}(_0x434c,-0x5*0x345a0+0x2*0xad846+0x87d76));import{CompletionCommand}from'@guanghechen/commander/node';function _0x2850(_0x376cfb,_0x228220){_0x376cfb=_0x376cfb-(-0x5*-0x4a0+-0x2f1+-0x5*0x3cd);const _0x2d302d=_0x434c();let _0x50c86b=_0x2d302d[_0x376cfb];if(_0x2850['oQLpNt']===undefined){var _0xd80021=function(_0x5dd021){const _0x20fba9='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4807f7='',_0x5d3d96='';for(let _0x16ab98=-0x1e9f+0x103*-0x15+0x3*0x114a,_0x3f6073,_0x30ce40,_0x10108b=-0x1be1+0xa82*-0x1+0x2663;_0x30ce40=_0x5dd021['charAt'](_0x10108b++);~_0x30ce40&&(_0x3f6073=_0x16ab98%(-0x1bd5*0x1+0x18*0x6+-0xb*-0x27b)?_0x3f6073*(0x26b*0x2+-0x19db*0x1+0x1545)+_0x30ce40:_0x30ce40,_0x16ab98++%(-0xf3b+0x1107+-0x1c8))?_0x4807f7+=String['fromCharCode'](-0x1*-0x241d+-0x1*-0x105e+0x19be*-0x2&_0x3f6073>>(-(0x19e4+0x9b*0x33+0xb*-0x529)*_0x16ab98&0x153c+0x10f8+-0x262e)):-0x1*-0xc58+-0x1*0x200e+-0x1*-0x13b6){_0x30ce40=_0x20fba9['indexOf'](_0x30ce40);}for(let _0x35bade=-0x2206+0xb78+0x2*0xb47,_0x5f0ace=_0x4807f7['length'];_0x35bade<_0x5f0ace;_0x35bade++){_0x5d3d96+='%'+('00'+_0x4807f7['charCodeAt'](_0x35bade)['toString'](0x1*0xa63+0x62*-0x5e+0x19a9))['slice'](-(-0x213+-0xf72+-0x1*-0x1187));}return decodeURIComponent(_0x5d3d96);};const _0x249d4b=function(_0x30dceb,_0x49741d){let _0x506e07=[],_0x2a59bc=0x392*-0x1+-0x197e+0x1d10,_0x2bc342,_0x5e8940='';_0x30dceb=_0xd80021(_0x30dceb);let _0x2228fa;for(_0x2228fa=0xd*0x15f+0x2*0xa30+-0x2633;_0x2228fa<-0x3d6+-0x1*-0x14e7+0x3*-0x55b;_0x2228fa++){_0x506e07[_0x2228fa]=_0x2228fa;}for(_0x2228fa=0x20e5+-0x20ce*0x1+0x1*-0x17;_0x2228fa<-0x80b+0x860+0x1*0xab;_0x2228fa++){_0x2a59bc=(_0x2a59bc+_0x506e07[_0x2228fa]+_0x49741d['charCodeAt'](_0x2228fa%_0x49741d['length']))%(0x18b5+-0x2*0xe7a+0x53f),_0x2bc342=_0x506e07[_0x2228fa],_0x506e07[_0x2228fa]=_0x506e07[_0x2a59bc],_0x506e07[_0x2a59bc]=_0x2bc342;}_0x2228fa=-0xaa9*-0x3+0xf38+-0x2f33,_0x2a59bc=-0x80b+0x1*-0x10af+0xd3*0x1e;for(let _0x246260=-0x21d4+0x8f1+0x18e3*0x1;_0x246260<_0x30dceb['length'];_0x246260++){_0x2228fa=(_0x2228fa+(-0x1*0xbbd+-0x161e+0x21dc))%(0x1353+0x19ab+-0x2bfe*0x1),_0x2a59bc=(_0x2a59bc+_0x506e07[_0x2228fa])%(-0x657*-0x1+-0x251*-0x1+0x8c*-0xe),_0x2bc342=_0x506e07[_0x2228fa],_0x506e07[_0x2228fa]=_0x506e07[_0x2a59bc],_0x506e07[_0x2a59bc]=_0x2bc342,_0x5e8940+=String['fromCharCode'](_0x30dceb['charCodeAt'](_0x246260)^_0x506e07[(_0x506e07[_0x2228fa]+_0x506e07[_0x2a59bc])%(0x196b+0x3*-0x595+-0x7ac)]);}return _0x5e8940;};_0x2850['EKakCS']=_0x249d4b,_0x2850['ElxDTo']={},_0x2850['oQLpNt']=!![];}const _0x42b996=_0x2d302d[0x19f6*-0x1+0x5*0xf9+-0xb*-0x1eb],_0x2144af=_0x376cfb+_0x42b996,_0x77775f=_0x2850['ElxDTo'][_0x2144af];return!_0x77775f?(_0x2850['hykIcF']===undefined&&(_0x2850['hykIcF']=!![]),_0x50c86b=_0x2850['EKakCS'](_0x50c86b,_0x228220),_0x2850['ElxDTo'][_0x2144af]=_0x50c86b):_0x50c86b=_0x77775f,_0x50c86b;}function _0xe7b8b8(_0x338ab2,_0x19089d,_0x382ec3,_0x285b91){const _0x22fe56={_0x3ae179:0x1dc};return _0x2850(_0x382ec3-_0x22fe56._0x3ae179,_0x19089d);}function _0x518e86(_0x246b67,_0xfae9ac,_0x31d563,_0x33be9d){const _0x3da6b8={_0x30510d:0x318};return _0x2850(_0xfae9ac-_0x3da6b8._0x30510d,_0x31d563);}import{Reporter}from'@guanghechen/reporter';import{C as _0x304f8c,P as _0x2c52c3}from'./command-CspxM6By.mjs';import'node:fs';import'node:path';import'node:os';import'node:events';import'node:net';import'node:stream';import'node:crypto';import'node:child_process';import'node:url';import'node:util';import'node:fs/promises';function _0x434c(){const _0x26acec=['tqtdUSkaW7CRW7NcRW','WOlcHa3dOmkr','WRzskY7cNq','W5ZcGXddU8kk','WOKGWPlcRGTlW5O0shuNWOvo','oSoNzcfj','W7LRWO/dJq','WO7dKGVcGaO','W5vSE8opFW','AH7dMmouj8oWW6xdJIddVqzQfW','oLdcVrBcGMFcT8oVqexcLIJcLa','W7WrECkLbW','W4NcKCkYWQ/dPmkAWPOz','W5ddMb7dRCk8mvtdPdmeACoc','ELJcTmoxWRi','xmohlayLW5ndsCk2gv3dKmky','W4bWBCoCza','WRFcVaZcP8oQzmoqW70D','WPBdHSkrWQpcOa','C8o7zZhdT8kdaCo/dInRkSoM','W7meWQhdJG','tahcTCowWP9rWPJcRu0SgXTo','WQD6WOJcLgq','WP9DW6Ppkc/dRJRdRrSsW5yRWPi','W6qPW4tdJIxcUqP6FCoVW7rAWOG','pSkACYRcI8kKFq','wmoqWRFdJqa','bb/cOwfa','gSkXn8oVAW','W5RdGIRcIrBdQLy','gCk6tCksW6ZcMKO','W7ycWR/dLHW','nmkzv8o3WRVdVvi','gbyfm8oM','yWtdTLBdMG','AZhdT0ddIa','WPrKimk/WO7dQSkJW5NdVCkdv8oaba','WPhcHepcTSoS','yxqvWOddGq','WOxcNLddJ8kU','x3/cPW','uuddPq','WOOcW7DHWOVcM3ddTW','y8koWRpdSmoZ','pvNcTbBcJ2/cT8omwwtcIWRcQW','W4RcHeJdR8kWW7ZdV8ooW7i','nt02WP/dQCkMWRKQ','WPlcIv7cVCo6','v8k8uxC+','i8kSiwe'];_0x434c=function(){return _0x26acec;};return _0x434c();}const _0x578713={};_0x578713[_0xe7b8b8(0x30c,'[lm$',0x320,0x32d)+'x']=_0x304f8c;const _0x2bba40=new Reporter(_0x578713);_0x2c52c3[_0x518e86(0x46f,0x464,'[lm$',0x461)+_0x518e86(0x46e,0x477,'Ni^p',0x490)+_0xe7b8b8(0x30c,'z)$&',0x316,0x30c)+'t']();const _0x424348=new _0x2c52c3(),_0x585857={};_0x585857['progr'+'amNam'+'e']=_0x304f8c,_0x585857[_0x518e86(0x464,0x457,'geW]',0x465)]={},_0x585857[_0x518e86(0x464,0x457,'geW]',0x465)][_0x518e86(0x444,0x453,'ttcN',0x43f)]=_0x518e86(0x435,0x449,'jf[Z',0x45c)+_0x518e86(0x45f,0x44d,'Myye',0x45c)+_0x518e86(0x46e,0x470,'Z5^x',0x472)+_0x518e86(0x449,0x456,'Nrq*',0x460)+_0x518e86(0x46a,0x462,'oto!',0x467)+'s/'+_0x304f8c+_0xe7b8b8(0x2f8,'p@@%',0x30f,0x311),_0x585857[_0x518e86(0x464,0x457,'geW]',0x465)][_0x518e86(0x470,0x468,'tiZM',0x463)]='~/.co'+_0x518e86(0x45a,0x466,'GfA(',0x455)+'fish/'+_0x518e86(0x461,0x46e,')50E',0x463)+'etion'+'s/'+_0x304f8c+_0xe7b8b8(0x329,'geW]',0x319,0x30c),_0x585857[_0x518e86(0x464,0x457,'geW]',0x465)]['pwsh']=_0xe7b8b8(0x313,'VuIs',0x31d,0x335)+'nfig/'+'pwsh/'+'compl'+_0xe7b8b8(0x332,'&R!$',0x323,0x338)+'s/'+_0x304f8c+_0x518e86(0x444,0x45a,'8X1v',0x44d),_0x424348['subco'+_0xe7b8b8(0x33f,'POID',0x339,0x34b)](_0x518e86(0x484,0x473,'tiZM',0x45e)+_0x518e86(0x46b,0x45b,'IQ^l',0x446),new CompletionCommand(_0x424348,_0x585857));try{await _0x424348[_0x518e86(0x447,0x44a,'P9I5',0x45c)]({'argv':process['argv'][_0x518e86(0x455,0x447,'OcT[',0x452)](-0x291*-0x3+0x1818+-0x1fc9),'envs':process.env,'reporter':_0x2bba40});}catch(_0x4f49ec){_0x2bba40['error'](_0x4f49ec instanceof Error?_0x4f49ec[_0x518e86(0x476,0x46f,'kShz',0x476)]??_0x4f49ec[_0xe7b8b8(0x348,'Ni^p',0x33a,0x33c)+'ge']:String(_0x4f49ec)),process[_0xe7b8b8(0x30d,'2IMy',0x30c,0x312)+'ode']=0x1107+-0x1e0b+0x21*0x65;}
|