@guanghechen/kit-copilot 0.4.3 → 0.4.4
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(_0x5d6734,_0xa3d631){const _0x41a815={_0x75a327:0x17a,_0x413084:'7JCg',_0x3e14b8:0x180,_0x4ae1ab:0x178,_0x2a77d5:0x517,_0x339d7b:0x514,_0x443705:0x522,_0x23f64e:'QnSy',_0x2a851d:'*IO[',_0xb8f762:0x15d,_0x32992a:0x165,_0x3f0071:0x520,_0x72c862:0x50a,_0x5a52f5:'VWcw',_0x51c047:0x15d,_0x12b431:'&xs3',_0x114b7a:0x147,_0x1acb86:0x168,_0xc2abb4:0x188,_0x3ee902:'ef^b',_0x5f2d0d:0x191,_0x3f8eb2:0x539,_0x242bb3:0x50d,_0x8e1405:0x50e,_0x2a79a0:0x526};function _0x528da3(_0x1cb002,_0x6d18dc,_0xb7ed95,_0x458ba1){return _0x5d1c(_0x1cb002- -0x351,_0x6d18dc);}function _0x5cd391(_0x1fb67f,_0x1ef994,_0x507625,_0x3c27c8){return _0x5d1c(_0x1ef994-0x340,_0x3c27c8);}const _0x590a82=_0x5d6734();while(!![]){try{const _0x16a99e=parseInt(_0x528da3(-_0x41a815._0x75a327,_0x41a815._0x413084,-_0x41a815._0x3e14b8,-_0x41a815._0x4ae1ab))/(0x11*-0x58+-0x2322+0x28fb)+-parseInt(_0x5cd391(_0x41a815._0x2a77d5,_0x41a815._0x339d7b,_0x41a815._0x443705,_0x41a815._0x23f64e))/(0x1d4d*-0x1+0x104d+0x6*0x22b)*(-parseInt(_0x528da3(-0x173,_0x41a815._0x2a851d,-_0x41a815._0xb8f762,-_0x41a815._0x32992a))/(-0x17*0x5+-0x162e*0x1+0x16a4))+-parseInt(_0x5cd391(_0x41a815._0x3f0071,_0x41a815._0x72c862,0x512,_0x41a815._0x5a52f5))/(0x455*0x9+-0x2*-0x22f+-0x2b57)+parseInt(_0x528da3(-_0x41a815._0x51c047,_0x41a815._0x12b431,-_0x41a815._0x114b7a,-_0x41a815._0x1acb86))/(-0x3ad+-0x4c6*0x5+0x1b90)+parseInt(_0x528da3(-_0x41a815._0xc2abb4,_0x41a815._0x3ee902,-0x17b,-_0x41a815._0x5f2d0d))/(0x1f42+0x5cb+-0x2507)+parseInt(_0x5cd391(0x52b,0x52e,_0x41a815._0x3f8eb2,'Cv$F'))/(-0x3*-0x619+0x105c+-0x454*0x8)+parseInt(_0x5cd391(0x503,_0x41a815._0x242bb3,_0x41a815._0x8e1405,'WX1['))/(-0xb84+-0x1218+0x1da4)*(-parseInt(_0x5cd391(0x533,_0x41a815._0x2a79a0,0x51a,'Z1Oz'))/(-0x1e80+-0xabd+0x6e1*0x6));if(_0x16a99e===_0xa3d631)break;else _0x590a82['push'](_0x590a82['shift']());}catch(_0x1c6bc6){_0x590a82['push'](_0x590a82['shift']());}}}(_0x589a,0x1*-0xba998+-0x12*-0x94d+-0x13e311*-0x1));import{CompletionCommand}from'@guanghechen/commander';import{Reporter}from'@guanghechen/reporter';import{a as _0x5e1026,C as _0x590576}from'./command-CPXj2qcT.mjs';import'node:module';function _0xdd68c2(_0x1955f2,_0x48a1a4,_0x11699d,_0x180179){return _0x5d1c(_0x180179- -0x371,_0x11699d);}import'node:os';import'node:http';import'node:fs';import'node:fs/promises';import'node:path';import'node:child_process';import'@hono/node-server';import'hono';import'hono/cors';import'uuid';import'zod';import'hono/streaming';import'node:url';function _0x5d1c(_0x105faa,_0x3171c5){_0x105faa=_0x105faa-(0xd3e*0x2+-0x67*0x5+-0x16b0);const _0x3fd81d=_0x589a();let _0x3272e7=_0x3fd81d[_0x105faa];if(_0x5d1c['XIwvRW']===undefined){var _0x4020ff=function(_0xa3d631){const _0x590a82='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x16a99e='',_0x1c6bc6='';for(let _0x2de712=0xbd4+0x3a*0x79+-0x273e,_0x269bbe,_0x3e1a54,_0xcfef5f=0x26cd+0x188e+-0x14b*0x31;_0x3e1a54=_0xa3d631['charAt'](_0xcfef5f++);~_0x3e1a54&&(_0x269bbe=_0x2de712%(0xb7*-0xb+0xc3a+-0x173*0x3)?_0x269bbe*(-0xc7*0x12+0xadc+0x362)+_0x3e1a54:_0x3e1a54,_0x2de712++%(0xd28+0x25a0+0x2*-0x1962))?_0x16a99e+=String['fromCharCode'](0x1*-0x225d+0x1a7d*0x1+0x3*0x2f5&_0x269bbe>>(-(-0xaab*-0x3+0x869*-0x1+-0xbcb*0x2)*_0x2de712&-0x1*-0x183f+-0x2*-0x33b+-0x1eaf)):-0x1bfb+0x3*-0x953+-0x37f4*-0x1){_0x3e1a54=_0x590a82['indexOf'](_0x3e1a54);}for(let _0x1b0343=0x1e53+-0xf*0x95+0x1*-0x1598,_0x28a4ef=_0x16a99e['length'];_0x1b0343<_0x28a4ef;_0x1b0343++){_0x1c6bc6+='%'+('00'+_0x16a99e['charCodeAt'](_0x1b0343)['toString'](0x137f*0x1+0x140f+-0x277e))['slice'](-(-0x4f*-0x49+0x1*0xf33+-0x25b8));}return decodeURIComponent(_0x1c6bc6);};const _0x5d6734=function(_0x594695,_0x218914){let _0x91583d=[],_0x425a72=-0x1a9b+0xf*-0x57+0x1fb4,_0x3433d2,_0x35d383='';_0x594695=_0x4020ff(_0x594695);let _0xeb660b;for(_0xeb660b=-0xf90+0x1*0x1184+0x1*-0x1f4;_0xeb660b<-0x1*0x1fe2+0x2b*0x41+0x15f7;_0xeb660b++){_0x91583d[_0xeb660b]=_0xeb660b;}for(_0xeb660b=0x1239+-0xe96*-0x1+-0x20cf;_0xeb660b<0x1e71+0x9df+0x4ea*-0x8;_0xeb660b++){_0x425a72=(_0x425a72+_0x91583d[_0xeb660b]+_0x218914['charCodeAt'](_0xeb660b%_0x218914['length']))%(0x11*-0x58+-0x2322+0x29fa),_0x3433d2=_0x91583d[_0xeb660b],_0x91583d[_0xeb660b]=_0x91583d[_0x425a72],_0x91583d[_0x425a72]=_0x3433d2;}_0xeb660b=0x1d4d*-0x1+0x104d+0x8*0x1a0,_0x425a72=-0x17*0x5+-0x162e*0x1+0x16a1;for(let _0x2c9dea=0x455*0x9+-0x2*-0x22f+-0x2b5b;_0x2c9dea<_0x594695['length'];_0x2c9dea++){_0xeb660b=(_0xeb660b+(-0x3ad+-0x4c6*0x5+0x1b8c))%(0x1f42+0x5cb+-0x240d),_0x425a72=(_0x425a72+_0x91583d[_0xeb660b])%(-0x3*-0x619+0x105c+-0x6bb*0x5),_0x3433d2=_0x91583d[_0xeb660b],_0x91583d[_0xeb660b]=_0x91583d[_0x425a72],_0x91583d[_0x425a72]=_0x3433d2,_0x35d383+=String['fromCharCode'](_0x594695['charCodeAt'](_0x2c9dea)^_0x91583d[(_0x91583d[_0xeb660b]+_0x91583d[_0x425a72])%(-0xb84+-0x1218+0x1e9c)]);}return _0x35d383;};_0x5d1c['wJTtBx']=_0x5d6734,_0x5d1c['XLPRgx']={},_0x5d1c['XIwvRW']=!![];}const _0x1ad83e=_0x3fd81d[-0x1e80+-0xabd+0x1cb*0x17],_0x3e534a=_0x105faa+_0x1ad83e,_0x2649ca=_0x5d1c['XLPRgx'][_0x3e534a];return!_0x2649ca?(_0x5d1c['WNRAAH']===undefined&&(_0x5d1c['WNRAAH']=!![]),_0x3272e7=_0x5d1c['wJTtBx'](_0x3272e7,_0x3171c5),_0x5d1c['XLPRgx'][_0x3e534a]=_0x3272e7):_0x3272e7=_0x2649ca,_0x3272e7;}import'node:worker_threads';function _0x589a(){const _0x48f10a=['W41SW6VcJmo2W7FcRmorsCoVwSkMWQ0','W5zpWQKQW5W','Brz0chddQmklhqezW5SN','xhXdtbu','W5zCWRiLW50','yN7cLMHH','y33dNSoUWRK','t8knFCofWRK','WReww2Cd','WQuDW4mfjeaNWPi7uwhdHa','cCojm8owe8oZW4BcV8o1zmk3WRW','mIdcG8kRW6mzWOZcSchdQmovCa','WPnmW4pcJYa','W7KnwHGk','zSoTvu/dMG','W5WYt8k1','W4fCWRzZW74','WRD0lCoHWRjaWONdUSoBW6K6sa','W57dId/dRJO','W5WKsmk1WRC','DJSVWRu','W5/cJ3ePWOm','WRRcPSkvWQZcO8kQb8o1WPm','l3b6W7iDW5hcSSkhvHpdH8oY','W7RdL3i','WO3cUCkmWOddL8kWWQKaWPJdOSopkW','WO5aW5BcItC','WP92cSoKW7pcOgjeWPVcJsZcHmk0','W6OHDmk1WQ4','tCoIhfP4','W4D0W57cKY4','dmomp8kCWQddMwtcIWq1W5NcVYO','WPuQWOBdL3FcO8oTWRb2AmkNWOOp','WOLDW6pdH8kfBxhdOSk7WRvJW5ZdSG','F8oYxSkvW4a','W6yMBSk6','smoIWQJdKNCTWQ5rWPW','W63dVmoqWOK','W7KuB0iNguC','pmoEcW0r','WQ/dONajW5e','W4/dKJW','W68cv3ic','WP5EWOWbW6ldHCo2'];_0x589a=function(){return _0x48f10a;};return _0x589a();}const _0x3c0942={};_0x3c0942[_0x53ceb8(0x2a6,0x2af,0x2b6,'&^o%')+'x']=_0x5e1026;const _0x56c050=new Reporter(_0x3c0942),_0x256cd1=new _0x590576(),_0x3e709f={};_0x3e709f[_0xdd68c2(-0x197,-0x184,'QnSy',-0x198)+'amNam'+'e']=_0x5e1026;function _0x53ceb8(_0x5da7bc,_0x51a4b0,_0x40587a,_0x10d38a){const _0x1dd79c={_0x43ee7c:0xc9};return _0x5d1c(_0x5da7bc-_0x1dd79c._0x43ee7c,_0x10d38a);}_0x3e709f[_0x53ceb8(0x2b8,0x2a9,0x2c8,'Rox6')]={},_0x3e709f[_0x53ceb8(0x2b8,0x2a9,0x2c8,'Rox6')][_0x53ceb8(0x295,0x28b,0x299,'Z1Oz')]='~/.co'+_0xdd68c2(-0x18b,-0x183,'SP8B',-0x18f)+'bash/'+_0xdd68c2(-0x184,-0x180,'HdYr',-0x196)+'etion'+'s/'+_0x5e1026+'.sh',_0x3e709f[_0x53ceb8(0x2b8,0x2a9,0x2c8,'Rox6')][_0xdd68c2(-0x1a1,-0x190,'hS)5',-0x1a3)]='~/.co'+_0x53ceb8(0x2ba,0x2aa,0x2b8,'Z1Oz')+_0xdd68c2(-0x190,-0x192,'NOoL',-0x197)+_0xdd68c2(-0x17d,-0x18c,'T60d',-0x187)+_0x53ceb8(0x294,0x285,0x298,'2tfZ')+'s/'+_0x5e1026+_0x53ceb8(0x29c,0x28f,0x29c,'&^o%'),_0x3e709f[_0x53ceb8(0x2b8,0x2a9,0x2c8,'Rox6')][_0xdd68c2(-0x17f,-0x18c,'qeu6',-0x18d)]='~/.co'+_0x53ceb8(0x2a1,0x2ab,0x2b5,'Xox7')+_0xdd68c2(-0x181,-0x1a6,'&xs3',-0x195)+_0x53ceb8(0x2bc,0x2b1,0x2d1,'ef^b')+_0x53ceb8(0x29a,0x2a3,0x29c,'C*0t')+'s/'+_0x5e1026+'.ps1',_0x256cd1['subco'+_0x53ceb8(0x2aa,0x2b0,0x296,'Rox6')](_0x53ceb8(0x2b0,0x2ac,0x2b3,'BFd(')+'etion',new CompletionCommand(_0x256cd1,_0x3e709f));try{await _0x256cd1[_0x53ceb8(0x29b,0x289,0x2ad,'BFd(')]({'argv':process[_0xdd68c2(-0x181,-0x18d,'Nm7C',-0x188)]['slice'](0x1a3e*-0x1+-0x174a+0x318a),'envs':process.env,'reporter':_0x56c050});}catch(_0xc4456b){_0x56c050[_0x53ceb8(0x2ac,0x2a2,0x2ad,'75A@')](_0xc4456b instanceof Error?_0xc4456b['stack']??_0xc4456b[_0x53ceb8(0x2ae,0x2a0,0x299,'rFx)')+'ge']:String(_0xc4456b)),process[_0xdd68c2(-0x175,-0x171,'#p4&',-0x17f)+_0xdd68c2(-0x181,-0x191,'#l15',-0x184)]=0x17d5+0xd*0x21+0x1981*-0x1;}
|