@guanghechen/kit-copilot 0.6.13 → 0.6.15
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(_0x18f2d2,_0x55c1ee){const _0x59e70e={_0x4c6350:'sZ@a',_0x27ffc7:0x232,_0x16b048:0x241,_0x53f2d1:0x246,_0x17e45d:0x27d,_0xc00a76:0x268,_0x106cd2:0xab,_0xb8fbd9:'3oVp',_0x32d62c:'cL#K',_0x2c8a8f:0x26e,_0x1afdbb:'YulA',_0x527e7a:0x96,_0x28d8da:'H8t)',_0x1bad8c:0x24a,_0x2f8a62:0x254,_0x2880c9:0xa8,_0x534315:0xb8,_0x12a9e9:0xa5,_0x3f9e07:'aWrB',_0x4a2f67:0xac,_0x4a32b8:0x9e,_0x49de39:0x99,_0x13ac5a:'lnW3',_0x41587e:0xb3},_0x476ba2={_0x932bb:0x89},_0x3d18ad={_0x4d61e1:0x133},_0x4f6fb0=_0x18f2d2();function _0x4539e7(_0x15202e,_0x2ba38c,_0x7b3e29,_0x2dc439){return _0x319b(_0x15202e- -_0x3d18ad._0x4d61e1,_0x7b3e29);}function _0x5f377d(_0x4004e9,_0x2806ca,_0x4c48b3,_0x55e9c7){return _0x319b(_0x55e9c7-_0x476ba2._0x932bb,_0x4004e9);}while(!![]){try{const _0x3b398c=parseInt(_0x5f377d(_0x59e70e._0x4c6350,_0x59e70e._0x27ffc7,_0x59e70e._0x16b048,_0x59e70e._0x53f2d1))/(0x16d+0xb5*-0x29+0x1b91)+-parseInt(_0x5f377d('YulA',0x266,_0x59e70e._0x17e45d,_0x59e70e._0xc00a76))/(-0x2*-0xb6+-0x88*-0x32+0x1bfa*-0x1)*(parseInt(_0x4539e7(0x9f,_0x59e70e._0x106cd2,_0x59e70e._0xb8fbd9,0x95))/(-0x3a*0x91+0x2*0x373+0x11*0x187))+-parseInt(_0x5f377d(_0x59e70e._0x32d62c,_0x59e70e._0x2c8a8f,0x278,0x265))/(-0xe65*0x1+0x1*-0x5fc+0x1465)+-parseInt(_0x4539e7(0x86,0x9a,_0x59e70e._0x1afdbb,_0x59e70e._0x527e7a))/(-0x11d6+0x14c6*0x1+0x3*-0xf9)+-parseInt(_0x5f377d(_0x59e70e._0x28d8da,_0x59e70e._0x1bad8c,_0x59e70e._0x1bad8c,_0x59e70e._0x2f8a62))/(0xb11*-0x3+0x1e95+0x2a4)+-parseInt(_0x4539e7(_0x59e70e._0x2880c9,0xbb,'cP]M',_0x59e70e._0x534315))/(0x1*0x204d+-0x2*-0x883+-0x314c)+parseInt(_0x4539e7(_0x59e70e._0x12a9e9,0xb3,_0x59e70e._0x3f9e07,_0x59e70e._0x4a2f67))/(-0x1d8*-0x7+0x12f*0x2+0x2*-0x79f)*(parseInt(_0x4539e7(_0x59e70e._0x4a32b8,_0x59e70e._0x49de39,_0x59e70e._0x13ac5a,_0x59e70e._0x41587e))/(0x1eb*-0x5+0x2187+-0x17e7));if(_0x3b398c===_0x55c1ee)break;else _0x4f6fb0['push'](_0x4f6fb0['shift']());}catch(_0x5662d3){_0x4f6fb0['push'](_0x4f6fb0['shift']());}}}(_0x393a,0xa587d+-0x10bef7*-0x1+0x1e21*-0x7e));function _0x319b(_0x327d2f,_0xb92e24){_0x327d2f=_0x327d2f-(0x1*0x2243+-0x1b0c+-0x57e);const _0x483a7a=_0x393a();let _0x572793=_0x483a7a[_0x327d2f];if(_0x319b['pxcOfT']===undefined){var _0x3e3ed9=function(_0x504065){const _0x1f8d68='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x60950e='',_0x43cd24='';for(let _0x503e7d=-0x1abf+-0x1b9c+0x365b,_0x15f300,_0x380155,_0x289fef=-0xf5d+0x24fa+-0x159d;_0x380155=_0x504065['charAt'](_0x289fef++);~_0x380155&&(_0x15f300=_0x503e7d%(-0x9ac+-0x17fc+0x10d6*0x2)?_0x15f300*(-0x23*-0xa0+-0x42*0x12+-0x10fc)+_0x380155:_0x380155,_0x503e7d++%(0x8d9+0x813+-0x10e8*0x1))?_0x60950e+=String['fromCharCode'](0xad5+0xe83+-0x1859&_0x15f300>>(-(0x1a90+-0x1*-0x1a27+-0x34b5)*_0x503e7d&-0x3*-0xa13+0xb05+0x4*-0xa4e)):-0x21ac+-0x1bf2+0x3d9e){_0x380155=_0x1f8d68['indexOf'](_0x380155);}for(let _0x369445=-0x445+0x1f1b+-0x1ad6,_0x4e74d9=_0x60950e['length'];_0x369445<_0x4e74d9;_0x369445++){_0x43cd24+='%'+('00'+_0x60950e['charCodeAt'](_0x369445)['toString'](0x1*-0xe0f+-0x2450+0x326f*0x1))['slice'](-(0x156d+-0x7*-0x359+-0x2cda));}return decodeURIComponent(_0x43cd24);};const _0x33b80f=function(_0x18f2d2,_0x55c1ee){let _0x4f6fb0=[],_0x3b398c=-0xb47*-0x2+0x16ae+0xc1*-0x3c,_0x5662d3,_0x2e0c0c='';_0x18f2d2=_0x3e3ed9(_0x18f2d2);let _0x280994;for(_0x280994=0x165a+-0x1b60+0x506;_0x280994<-0x5*-0x7d+-0x8c+-0x1*0xe5;_0x280994++){_0x4f6fb0[_0x280994]=_0x280994;}for(_0x280994=0x9e1+-0x823*0x1+-0x1be;_0x280994<0x1333+-0x2*0xa99+0x3b*0xd;_0x280994++){_0x3b398c=(_0x3b398c+_0x4f6fb0[_0x280994]+_0x55c1ee['charCodeAt'](_0x280994%_0x55c1ee['length']))%(0x1942+-0x2*-0x959+0x1*-0x2af4),_0x5662d3=_0x4f6fb0[_0x280994],_0x4f6fb0[_0x280994]=_0x4f6fb0[_0x3b398c],_0x4f6fb0[_0x3b398c]=_0x5662d3;}_0x280994=0x6*-0x3ef+-0x1ea1*-0x1+-0x101*0x7,_0x3b398c=-0x6*0x5fc+0x153*0x1d+-0x1*0x27f;for(let _0x19a3b4=0x1d1*0x7+-0x16b9+0xb7*0xe;_0x19a3b4<_0x18f2d2['length'];_0x19a3b4++){_0x280994=(_0x280994+(0x7*-0x2b6+-0xd*-0xcb+0x8ac))%(0x1*0x2d+-0x24c1+0x2594),_0x3b398c=(_0x3b398c+_0x4f6fb0[_0x280994])%(0x14c6*0x1+0x11*-0x1fb+0xde5),_0x5662d3=_0x4f6fb0[_0x280994],_0x4f6fb0[_0x280994]=_0x4f6fb0[_0x3b398c],_0x4f6fb0[_0x3b398c]=_0x5662d3,_0x2e0c0c+=String['fromCharCode'](_0x18f2d2['charCodeAt'](_0x19a3b4)^_0x4f6fb0[(_0x4f6fb0[_0x280994]+_0x4f6fb0[_0x3b398c])%(-0x1e95*-0x1+0x577+0x4*-0x8c3)]);}return _0x2e0c0c;};_0x319b['WFWHmJ']=_0x33b80f,_0x319b['CQgxOi']={},_0x319b['pxcOfT']=!![];}const _0x476bcf=_0x483a7a[-0x10*-0xb5+0x4b9+0x1*-0x1009],_0x23fc32=_0x327d2f+_0x476bcf,_0x589c72=_0x319b['CQgxOi'][_0x23fc32];return!_0x589c72?(_0x319b['yKPdhF']===undefined&&(_0x319b['yKPdhF']=!![]),_0x572793=_0x319b['WFWHmJ'](_0x572793,_0xb92e24),_0x319b['CQgxOi'][_0x23fc32]=_0x572793):_0x572793=_0x589c72,_0x572793;}import{CompletionCommand}from'@guanghechen/commander/node';import{Reporter as _0x422edc}from'@guanghechen/reporter';import{a as _0x2edb55,C as _0x208d82}from'./command-B2vbzKhd.mjs';import'node:fs';import'node:path';import'node:child_process';import'node:os';import'node:http';import'node:fs/promises';function _0x393a(){const _0xfb06ae=['q34HWRGX','rbSUW5a','cmkBWRe','WRdcJ8oLjmoF','fmkiWRydW4m','AsahWOZdHG4dW6ZdNCk+WQ3dOrldVq','DCkqfSo7W5S','n8oFWQOZgmoLic/cGCkgW5CQW6S','Fq7cR8o0hW','xuyVW5RcTbdcPLqclSooE8kWCa','jv3dIZ/dMa','WO3dQCooi8oI','yXzkWPFdGG','d8knW6TiuCkVp8oZW6FdO1S/q0a','WRPAxeeuW4iCEMzBW5ZdJq','qmkcW4ZdPCoXrZxcR27dQ8oAWQRdHa','rwuLWQCZ','vmkEWQXv','CmkMAeGY','W7yqtIJcJq','W7PdkwuOWQzB','nI/cSCoCcMaT','f8kXzq','WQDAhHfQcXfhhSkhwLxdM8kZ','mchdLhRdI8oImg3dRuyOWRRdIq','WPzopwO','psZdNsFcQW','WOtcRCkPlMRdSSk3sW','cSkzWQWmW4m','WQpcGCo8pmoa','W7pcKCkpdwe','wsVdSSkCW6m1W77cSv3dIe4u','DhxcMsVcJa','WOdcR8ozzZ3cKSktF8kBamkHkq','WRJcISkuvZ3dPaGCW5hdLrdcSW','g8otWPa','W6ZdJmogga','W5z2BgtdKSkRW6yBw8oMW6eX','WPvFj3y3','W7DQzJddQCkDkCoqghZcM8ow','cbW0W4VcLG','DgBcIcxcLG','WPCTW6CPWRm','hhVcV8obWQq'];_0x393a=function(){return _0xfb06ae;};return _0x393a();}import'@hono/node-server';import'hono';import'hono/cors';import'@guanghechen/kit-stt';import'uuid';import'ws';import'zod';import'hono/streaming';import'node:url';import'node:module';import'node:worker_threads';import'node:crypto';const _0x5493fb={};_0x5493fb[_0x8d7c7f('cL#K',0x3a0,0x3a1,0x38d)+'x']=_0x2edb55;const _0x3d239d=new _0x422edc(_0x5493fb);function _0x8d7c7f(_0x15b18b,_0x2709c7,_0x2d6dc8,_0x9fdce3){return _0x319b(_0x2d6dc8-0x1e0,_0x15b18b);}function _0x1ceb4f(_0x4d1790,_0xa79145,_0x54609b,_0x3fa481){const _0x15c0d4={_0x5ccc1:0x207};return _0x319b(_0xa79145- -_0x15c0d4._0x5ccc1,_0x54609b);}const _0x453d9c=new _0x208d82(),_0x1c8278={};_0x1c8278['progr'+'amNam'+'e']=_0x2edb55,_0x1c8278[_0x8d7c7f('k0gS',0x3ae,0x3c1,0x3c2)]={},_0x1c8278[_0x8d7c7f('k0gS',0x3ae,0x3c1,0x3c2)][_0x8d7c7f('KRyY',0x3bb,0x3a5,0x394)]=_0x8d7c7f('ayiT',0x3b6,0x3c2,0x3b0)+_0x1ceb4f(-0x23,-0x39,'(mx$',-0x46)+_0x8d7c7f(']1n5',0x3c2,0x3b0,0x3a1)+'compl'+_0x8d7c7f('8JB0',0x3b9,0x3b4,0x3c9)+'s/'+_0x2edb55+_0x1ceb4f(-0x41,-0x2d,'c&8f',-0x3e),_0x1c8278[_0x8d7c7f('k0gS',0x3ae,0x3c1,0x3c2)][_0x8d7c7f('rjPc',0x3b1,0x3bd,0x3b2)]=_0x1ceb4f(-0x16,-0x29,'&2FG',-0x3d)+_0x1ceb4f(-0x4b,-0x45,'*9nY',-0x50)+_0x1ceb4f(-0x3d,-0x31,'DA)V',-0x37)+_0x1ceb4f(-0x3f,-0x43,'8JB0',-0x47)+'etion'+'s/'+_0x2edb55+_0x1ceb4f(-0x3f,-0x47,'KRyY',-0x34),_0x1c8278[_0x8d7c7f('k0gS',0x3ae,0x3c1,0x3c2)]['pwsh']=_0x8d7c7f('8z9S',0x3b6,0x3aa,0x3ba)+_0x1ceb4f(-0x29,-0x3f,'oy$M',-0x3c)+_0x1ceb4f(-0x32,-0x27,'oy$M',-0x33)+_0x8d7c7f('k0gS',0x3a1,0x3a7,0x392)+'etion'+'s/'+_0x2edb55+_0x1ceb4f(-0x3b,-0x32,'oy$M',-0x2e),_0x453d9c['subco'+_0x8d7c7f('*IvT',0x3a9,0x3af,0x39b)]('compl'+_0x1ceb4f(-0x24,-0x33,'8JB0',-0x20),new CompletionCommand(_0x453d9c,_0x1c8278));try{await _0x453d9c[_0x8d7c7f('oy$M',0x3ad,0x3a6,0x3b9)]({'argv':process[_0x1ceb4f(-0x5b,-0x4b,'ayiT',-0x39)][_0x8d7c7f('$30G',0x39d,0x3ac,0x3ba)](0x813+-0x7df*0x3+0xa*0x18e),'envs':process.env,'reporter':_0x3d239d});}catch(_0x1c6d19){_0x3d239d['error'](_0x1c6d19 instanceof Error?_0x1c6d19['stack']??_0x1c6d19['messa'+'ge']:String(_0x1c6d19)),process[_0x8d7c7f('rjPc',0x3a9,0x39e,0x38b)+_0x8d7c7f('61s8',0x38a,0x39b,0x3ae)]=-0x1301+0x137*-0x3+0x16a7;}
|