@guanghechen/kit-copilot 0.6.4 → 0.6.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/lib/esm/cli.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
(function(
|
|
2
|
+
(function(_0x31391d,_0x37ad65){const _0x526ed2={_0x1468af:0x2ad,_0x17b6d0:0x29a,_0x33b40d:0x2b1,_0x4bfe7e:'prb[',_0xcaaaa0:0x2a8,_0x50bedf:0x2b7,_0x246297:'*RN3',_0x10ce31:0x520,_0x426ac8:0x52f,_0x456edc:0x51a,_0x550079:0x4ff,_0x5ebb9e:0x4fa,_0x3e9d0e:0x509,_0x542c6d:0x296,_0xc0dda1:0x2a4,_0x262031:'C@z7',_0x3145fe:0x533,_0x9e3169:'C@z7',_0x44e4aa:0x513,_0x3130a5:0x51e,_0x269131:'u^]@',_0xad9725:0x4e9,_0x5b64f3:0x4fd,_0x2c1bf:0x503,_0x3b0645:0x501,_0x31c5a5:0x519,_0x8b99:0x51a,_0x4316e9:'eO9j',_0x2afa06:0x535,_0x4fb36f:0x529,_0xb1c916:0x2a5,_0xf7ef4d:0x29a,_0x56c2f9:0x2a5,_0x30c0c4:'KjIE'},_0x1205e0={_0x2f9842:0x35f},_0x8047ef={_0x563fb9:0xe4},_0x4807d9=_0x31391d();function _0x80f1cd(_0x5b8681,_0x2e8a75,_0xa24b10,_0x1fa11f){return _0x2520(_0x5b8681-_0x8047ef._0x563fb9,_0x1fa11f);}function _0x183f9f(_0x393853,_0xb9f8c2,_0x17e896,_0x3675b5){return _0x2520(_0x3675b5-_0x1205e0._0x2f9842,_0xb9f8c2);}while(!![]){try{const _0x3114c4=parseInt(_0x80f1cd(_0x526ed2._0x1468af,_0x526ed2._0x17b6d0,_0x526ed2._0x33b40d,_0x526ed2._0x4bfe7e))/(-0x2063+0x263e+0xe*-0x6b)+-parseInt(_0x80f1cd(_0x526ed2._0xcaaaa0,0x296,_0x526ed2._0x50bedf,_0x526ed2._0x246297))/(0xc49+0x146*-0x2+-0x9bb)*(-parseInt(_0x183f9f(_0x526ed2._0x10ce31,'D33x',_0x526ed2._0x426ac8,_0x526ed2._0x456edc))/(-0x2436+0x236c+0x5*0x29))+-parseInt(_0x183f9f(_0x526ed2._0x550079,'MI[(',_0x526ed2._0x5ebb9e,_0x526ed2._0x3e9d0e))/(0x7f*-0x4+0x1*-0x1f7d+-0x217d*-0x1)+-parseInt(_0x80f1cd(_0x526ed2._0x542c6d,_0x526ed2._0xc0dda1,0x2a9,_0x526ed2._0x262031))/(-0x1*0x20ff+-0x1186*0x1+0x328a)*(parseInt(_0x183f9f(_0x526ed2._0x3145fe,_0x526ed2._0x9e3169,_0x526ed2._0x44e4aa,_0x526ed2._0x3130a5))/(0x1f78+0x1825+0x13*-0x2ed))+parseInt(_0x183f9f(_0x526ed2._0x550079,_0x526ed2._0x269131,_0x526ed2._0xad9725,_0x526ed2._0x5b64f3))/(-0x3f*0x6b+0x1c03*0x1+-0x1a7*0x1)+-parseInt(_0x183f9f(_0x526ed2._0x2c1bf,'y]pS',_0x526ed2._0x3b0645,_0x526ed2._0x31c5a5))/(0x1200+0x1*-0x111f+-0x7*0x1f)+parseInt(_0x183f9f(_0x526ed2._0x8b99,_0x526ed2._0x4316e9,_0x526ed2._0x2afa06,_0x526ed2._0x4fb36f))/(0x1c06+0x1*0xd12+-0x290f)*(parseInt(_0x80f1cd(_0x526ed2._0xb1c916,_0x526ed2._0xf7ef4d,_0x526ed2._0x56c2f9,_0x526ed2._0x30c0c4))/(0x1ff7+0xb23+0x1*-0x2b10));if(_0x3114c4===_0x37ad65)break;else _0x4807d9['push'](_0x4807d9['shift']());}catch(_0x20ac96){_0x4807d9['push'](_0x4807d9['shift']());}}}(_0x201b,0x1*-0x13ce2b+-0x1e1*0x4ab+-0xaa471*-0x4));import{CompletionCommand}from'@guanghechen/commander/node';import{Reporter}from'@guanghechen/reporter';import{a as _0x2c05ee,C as _0xaf8abb}from'./command-CQiSivz8.mjs';import'node:fs';import'node:path';function _0x101f02(_0xfd71,_0xc27745,_0x28bbfa,_0x3b26df){const _0x2eb783={_0x1ae1f6:0x5d};return _0x2520(_0xfd71-_0x2eb783._0x1ae1f6,_0x3b26df);}import'node:child_process';import'node:os';import'node:http';import'node:fs/promises';import'@hono/node-server';import'hono';function _0x2520(_0xee6246,_0x37071a){_0xee6246=_0xee6246-(-0x41e+-0x1823+0x1ddf);const _0x352c7c=_0x201b();let _0x4d9b3e=_0x352c7c[_0xee6246];if(_0x2520['tmbdEf']===undefined){var _0x1e1299=function(_0x34a335){const _0x736dc7='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x56b3fd='',_0x3d47f3='';for(let _0x202978=-0x250*-0x2+0x12ac+-0x174c,_0x696bce,_0x39988b,_0x314ef6=0x1*-0x2702+-0x9d*-0x1a+-0x24*-0xa4;_0x39988b=_0x34a335['charAt'](_0x314ef6++);~_0x39988b&&(_0x696bce=_0x202978%(-0x236f+0x1a32+-0x67*-0x17)?_0x696bce*(-0xd*-0x242+0x2243+0x3f5d*-0x1)+_0x39988b:_0x39988b,_0x202978++%(-0x1f*0xef+-0x22cf+0x3fc4))?_0x56b3fd+=String['fromCharCode'](-0x1fb1+-0x1d*-0x2b+0x1bd1&_0x696bce>>(-(-0x11*0x1c5+-0x1*0x26a1+0x2*0x225c)*_0x202978&0x107d+-0x2*0x883+0x8f)):0x326+-0x73*0x2f+0x11f7){_0x39988b=_0x736dc7['indexOf'](_0x39988b);}for(let _0xdf2962=-0x2*0x115+0x197f+-0x1755,_0x20bf1d=_0x56b3fd['length'];_0xdf2962<_0x20bf1d;_0xdf2962++){_0x3d47f3+='%'+('00'+_0x56b3fd['charCodeAt'](_0xdf2962)['toString'](-0x1*-0x3d1+0x1ccf+0x4*-0x824))['slice'](-(0x1d0f+0x3*0x6ee+-0x109d*0x3));}return decodeURIComponent(_0x3d47f3);};const _0x3c850b=function(_0x471bd1,_0x31aba7){let _0x4726e7=[],_0x1a93a3=-0xe2*-0x25+-0x1*-0x1783+-0x49*0xc5,_0x310d29,_0x104791='';_0x471bd1=_0x1e1299(_0x471bd1);let _0x31391d;for(_0x31391d=0x3fd+-0xec0+0xac3;_0x31391d<0x5b1+-0xd6*-0x13+0xe5*-0x17;_0x31391d++){_0x4726e7[_0x31391d]=_0x31391d;}for(_0x31391d=-0x18b3+0x16*0xe3+0x531;_0x31391d<0x20ea+-0x73b+-0x18af;_0x31391d++){_0x1a93a3=(_0x1a93a3+_0x4726e7[_0x31391d]+_0x31aba7['charCodeAt'](_0x31391d%_0x31aba7['length']))%(0x1*0x882+-0x212d+0x19ab*0x1),_0x310d29=_0x4726e7[_0x31391d],_0x4726e7[_0x31391d]=_0x4726e7[_0x1a93a3],_0x4726e7[_0x1a93a3]=_0x310d29;}_0x31391d=-0x4c7*0x1+-0x1ed*0x5+-0x4*-0x39a,_0x1a93a3=0x1e*-0xe4+0x1c47+-0x18f;for(let _0x37ad65=0x12dc+0x2020+-0xfb*0x34;_0x37ad65<_0x471bd1['length'];_0x37ad65++){_0x31391d=(_0x31391d+(-0x1*0x1d76+0x795+0xaf1*0x2))%(-0x2133*-0x1+0x4b0+-0x24e3),_0x1a93a3=(_0x1a93a3+_0x4726e7[_0x31391d])%(-0xfa9*-0x1+-0x956+0x2f*-0x1d),_0x310d29=_0x4726e7[_0x31391d],_0x4726e7[_0x31391d]=_0x4726e7[_0x1a93a3],_0x4726e7[_0x1a93a3]=_0x310d29,_0x104791+=String['fromCharCode'](_0x471bd1['charCodeAt'](_0x37ad65)^_0x4726e7[(_0x4726e7[_0x31391d]+_0x4726e7[_0x1a93a3])%(0x1*-0xe95+-0x8f8+0x3*0x82f)]);}return _0x104791;};_0x2520['PYSIwx']=_0x3c850b,_0x2520['dLvuqd']={},_0x2520['tmbdEf']=!![];}const _0x51e435=_0x352c7c[0x1*-0x1160+0x13bd+-0xb*0x37],_0x3fa48f=_0xee6246+_0x51e435,_0x767175=_0x2520['dLvuqd'][_0x3fa48f];return!_0x767175?(_0x2520['iwZVqi']===undefined&&(_0x2520['iwZVqi']=!![]),_0x4d9b3e=_0x2520['PYSIwx'](_0x4d9b3e,_0x37071a),_0x2520['dLvuqd'][_0x3fa48f]=_0x4d9b3e):_0x4d9b3e=_0x767175,_0x4d9b3e;}import'hono/cors';import'uuid';import'zod';import'hono/streaming';import'node:url';import'node:module';import'node:worker_threads';import'node:crypto';const _0x8b1ce={};function _0x201b(){const _0x1d3df4=['lIpdRv4S','WOOeBx3cGq','lYBcPSopW58','ih7cRfOX','WO1ifmkUW7m','ohRcSCk/WOddGmkfWQOrW6ddNmouWPq','gLJcT8ocsW','WRDZWQtcMwq','oGtcGSkalW','lKpcHCkLWRC','bCkkAZVdImoyDs8qW4GZ','W5GEuSo+WPRcQM/dMuZdRG','W4BcSmo/WRK','W6vcW7CyoSkuWPTqW5n5jq','zJJdU3Kit0vOWPi','WQpcNSo3smoh','rX97','WOFdUSkQWQldTG','DCoyWQ0+','bCk0W4/cGq','W55fmspdL8o9WPO+pSoMvIO','EXZdN8oKW6ngW7GzkCoLWObOW5C','bLmSxSo6WQ3dNfZdSW','y8ogWQ0+','W7amW4K','WPBdTSkRW7WQWQJdSbHKWQ1+','W6vpW7HQrmkCWOPgW7u','WRuYW7fwfSkoW4JcNSoqlI0','ytJdSa5Zywb7WPeOWPW','WRpcHCo7w8oa','ySk3W4FdL1C','W55bmIBdNCk+WO8EeCoXta','zclcHSo0WONdPYuDz0vkiY4','W73dJb1mCG','WRKRW7NcKIq','sCkZW5xcMSos','mmoTWP/cLGpdPv5tW7GVbXG','W7NdTHZcI8okW4SYW6pdSCkc','lejEWPL8','FNHBjmo4','W7OAW57dHmk4','W6JdMqblBW','WO4DsNpcGG','ohlcSCoIW7xcV8o4WPig','DrNcM8orC1tcRSk2WRhdRYJdOmkJpW','WOtdRSk8WQNdQG','eaDpWO7dPW','pwNcSe4I','w8o0W6VdS1m','WPtdS8kHW7GRW4VcStXIWQ9IWPdcQW','wGHwWOlcNq'];_0x201b=function(){return _0x1d3df4;};return _0x201b();}_0x8b1ce[_0x101f02(0x1ff,0x1f6,0x206,'5K$h')+'x']=_0x2c05ee;const _0x476cfb=new Reporter(_0x8b1ce),_0x1eae99=new _0xaf8abb(),_0x5d73ac={};_0x5d73ac[_0x101f02(0x205,0x203,0x201,'KjIE')+_0x2a4ebb(0x3d7,'*RN3',0x3d6,0x3c0)+'e']=_0x2c05ee,_0x5d73ac[_0x2a4ebb(0x3ac,'n6tH',0x3a3,0x3bd)]={},_0x5d73ac[_0x2a4ebb(0x3ac,'n6tH',0x3a3,0x3bd)][_0x101f02(0x215,0x20b,0x202,'XCcV')]=_0x101f02(0x202,0x1f1,0x217,'KjIE')+_0x101f02(0x204,0x1ee,0x202,'z(0n')+_0x101f02(0x206,0x1fd,0x1ed,'5*PC')+_0x101f02(0x220,0x223,0x20b,'prb[')+'etion'+'s/'+_0x2c05ee+'.sh',_0x5d73ac[_0x2a4ebb(0x3ac,'n6tH',0x3a3,0x3bd)][_0x2a4ebb(0x3bf,'hXGB',0x3a5,0x3cd)]=_0x101f02(0x209,0x1f6,0x215,'n#84')+'nfig/'+'fish/'+_0x2a4ebb(0x3ca,'z@qK',0x3c4,0x3e0)+_0x101f02(0x228,0x22d,0x228,'xZpM')+'s/'+_0x2c05ee+_0x2a4ebb(0x3d0,'XCcV',0x3ba,0x3d1);function _0x2a4ebb(_0x1191e9,_0x386023,_0xdce930,_0xd0275d){const _0x11e48f={_0x336e13:0x208};return _0x2520(_0x1191e9-_0x11e48f._0x336e13,_0x386023);}_0x5d73ac[_0x2a4ebb(0x3ac,'n6tH',0x3a3,0x3bd)][_0x2a4ebb(0x3c4,'hXGB',0x3bc,0x3d2)]=_0x101f02(0x20a,0x216,0x218,'u^]@')+'nfig/'+_0x101f02(0x224,0x21e,0x223,'n#84')+_0x101f02(0x20b,0x1f8,0x20e,'y]pS')+_0x101f02(0x22b,0x219,0x215,'QxEn')+'s/'+_0x2c05ee+'.ps1',_0x1eae99[_0x2a4ebb(0x3a7,'R]$I',0x3a4,0x3b4)+'mmand']('compl'+_0x2a4ebb(0x3ae,'*RN3',0x3af,0x3b5),new CompletionCommand(_0x1eae99,_0x5d73ac));try{await _0x1eae99[_0x101f02(0x212,0x1ff,0x204,'D33x')]({'argv':process[_0x2a4ebb(0x3b9,'mdS3',0x3c3,0x3aa)][_0x2a4ebb(0x3b3,'lkgA',0x39f,0x3a4)](0x1bf4+0x203b+-0x41*0xed),'envs':process.env,'reporter':_0x476cfb});}catch(_0x2fa340){_0x476cfb[_0x101f02(0x22a,0x23d,0x212,'S7tK')](_0x2fa340 instanceof Error?_0x2fa340[_0x2a4ebb(0x3bc,'z@qK',0x3cd,0x3b2)]??_0x2fa340[_0x2a4ebb(0x3a9,'KjIE',0x3a3,0x397)+'ge']:String(_0x2fa340)),process[_0x101f02(0x229,0x22e,0x224,'RRR9')+_0x101f02(0x21a,0x205,0x215,'S7tK')]=-0x1596+-0x7eb*0x3+-0x4*-0xb56;}
|