@guanghechen/kit-copilot 0.6.16 → 0.6.17

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/index.mjs CHANGED
@@ -1 +1 @@
1
- (function(_0x16dae3,_0x309b7e){var _0x4f5e78={_0x1d48b7:0x3ac,_0x30eaee:0x3a3,_0x35bfd1:'$DpE',_0x7ac072:0x39e,_0x5f2ff5:'jB(%',_0x5375b4:0x3ad,_0x1e1558:'dH0y',_0x387ae1:0x1d,_0x4a49b2:0x1c,_0x491b24:0x1b,_0x46623c:'x31X',_0x3df8ae:0x16,_0x433ee2:0x3b4,_0xb6139b:0x3b2,_0x240a65:'XNtm',_0x2d6c78:0x3af,_0x3e6b90:'J0lc',_0x58fdc3:0x3a6,_0x5d6822:'nq@@',_0x2104e6:0x3a8,_0x3a2b1d:0x3b8,_0x3750e1:0x3b6,_0x419f16:0x3ab,_0x19a7e0:0x3a4},_0x5ea185={_0x271bf3:0x263},_0x3898aa=_0x16dae3();function _0xd22d40(_0x46f939,_0x5378ee,_0x284315,_0x2b8c47){return _0x345f(_0x2b8c47- -0x12b,_0x5378ee);}function _0x594cee(_0x416139,_0x24f459,_0x43a076,_0x3ca462){return _0x345f(_0x24f459-_0x5ea185._0x271bf3,_0x43a076);}while(!![]){try{var _0x5d7a86=-parseInt(_0x594cee(_0x4f5e78._0x1d48b7,_0x4f5e78._0x30eaee,_0x4f5e78._0x35bfd1,0x3a4))/(0x1*0x1d09+0x503*0x1+0x245*-0xf)*(parseInt(_0x594cee(_0x4f5e78._0x7ac072,0x3a6,_0x4f5e78._0x5f2ff5,0x39e))/(0x3de*-0x7+-0x5*-0x567+-0x1*-0x11))+-parseInt(_0x594cee(_0x4f5e78._0x5375b4,_0x4f5e78._0x1d48b7,_0x4f5e78._0x1e1558,0x3aa))/(0xf7b+0x17bc+-0x2734)+-parseInt(_0xd22d40(_0x4f5e78._0x387ae1,'%^mo',0x14,_0x4f5e78._0x4a49b2))/(-0x1*-0x15f7+0x1d0f*0x1+-0x3302*0x1)+-parseInt(_0xd22d40(_0x4f5e78._0x491b24,_0x4f5e78._0x46623c,_0x4f5e78._0x3df8ae,0x19))/(-0xbf*0xa+0x1*0x1689+-0xf0e)*(parseInt(_0x594cee(_0x4f5e78._0x433ee2,_0x4f5e78._0xb6139b,_0x4f5e78._0x240a65,0x3ac))/(-0x1b*-0xb+-0x69*-0x1b+-0x61b*0x2))+parseInt(_0x594cee(0x3b1,_0x4f5e78._0x2d6c78,_0x4f5e78._0x3e6b90,0x3ac))/(-0x4*0x3ad+0x2bf+0x5fe*0x2)+parseInt(_0x594cee(_0x4f5e78._0x58fdc3,0x3ad,_0x4f5e78._0x5d6822,_0x4f5e78._0x2104e6))/(0x269+-0x1ac6+0x1865)+-parseInt(_0x594cee(_0x4f5e78._0x3a2b1d,0x3b0,'u%j5',_0x4f5e78._0x3750e1))/(0x1379+0xc57*0x1+-0x1fc7)*(-parseInt(_0x594cee(_0x4f5e78._0x419f16,_0x4f5e78._0x19a7e0,'BplB',0x39c))/(-0x2*-0x125f+0x3*-0x4ac+-0x16b0));if(_0x5d7a86===_0x309b7e)break;else _0x3898aa['push'](_0x3898aa['shift']());}catch(_0x460200){_0x3898aa['push'](_0x3898aa['shift']());}}}(_0x2069,0x5d331*0x1+-0x843d8+-0x282c*-0x2c));export{C as default}from'./command-DX8OAb_7.mjs';import'@guanghechen/commander/node';function _0x345f(_0x3fe605,_0x4250b1){_0x3fe605=_0x3fe605-(-0xac7+0x1f*-0xa3+0x1fc3);var _0x19419b=_0x2069();var _0x683165=_0x19419b[_0x3fe605];if(_0x345f['jCWkpC']===undefined){var _0x4767bb=function(_0x4f8d3d){var _0x916b7b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x1da99e='',_0x73c259='';for(var _0x58e158=0x8d9+0x82f+-0x1108,_0x5ce289,_0x4a09b6,_0xb1b5bf=-0x1943+-0x25c9+0xc9c*0x5;_0x4a09b6=_0x4f8d3d['charAt'](_0xb1b5bf++);~_0x4a09b6&&(_0x5ce289=_0x58e158%(0xa11+-0x680+-0x3*0x12f)?_0x5ce289*(-0x2*0xcca+-0xe41+-0x1*-0x2815)+_0x4a09b6:_0x4a09b6,_0x58e158++%(-0x281+-0xa45+0xcca))?_0x1da99e+=String['fromCharCode'](0x406*-0x5+0x5*0xad+0x11bc&_0x5ce289>>(-(-0x1*0x37+-0x1c31+-0x1*-0x1c6a)*_0x58e158&0x1b4a+0x1b4c+-0xc*0x48c)):0x1*-0xdf1+0x1ad9*-0x1+0x28ca){_0x4a09b6=_0x916b7b['indexOf'](_0x4a09b6);}for(var _0x55a2b2=-0xb71*-0x3+0x267*0xd+-0x418e,_0x9651b8=_0x1da99e['length'];_0x55a2b2<_0x9651b8;_0x55a2b2++){_0x73c259+='%'+('00'+_0x1da99e['charCodeAt'](_0x55a2b2)['toString'](0x524+0x1*0x916+-0xe2a))['slice'](-(0x5*0x12a+0x24b2+-0x2a82));}return decodeURIComponent(_0x73c259);};var _0x4dddb4=function(_0x53376a,_0x537d04){var _0x22352b=[],_0x2a95b7=-0x593*-0x2+0x1*0x127b+0x5*-0x5ed,_0x276276,_0x8cdeb='';_0x53376a=_0x4767bb(_0x53376a);var _0x3d41b2;for(_0x3d41b2=0x71*0x43+0xc5*0x7+-0x22f6;_0x3d41b2<0x901*0x3+0x38d+-0x16*0x158;_0x3d41b2++){_0x22352b[_0x3d41b2]=_0x3d41b2;}for(_0x3d41b2=0xf7b+0x17bc+-0x2737;_0x3d41b2<-0x1*-0x15f7+0x1d0f*0x1+-0x1903*0x2;_0x3d41b2++){_0x2a95b7=(_0x2a95b7+_0x22352b[_0x3d41b2]+_0x537d04['charCodeAt'](_0x3d41b2%_0x537d04['length']))%(-0xbf*0xa+0x1*0x1689+-0xe13),_0x276276=_0x22352b[_0x3d41b2],_0x22352b[_0x3d41b2]=_0x22352b[_0x2a95b7],_0x22352b[_0x2a95b7]=_0x276276;}_0x3d41b2=-0x1b*-0xb+-0x69*-0x1b+-0x15c*0x9,_0x2a95b7=-0x4*0x3ad+0x2bf+0xbf5*0x1;for(var _0x5df90f=0x269+-0x1ac6+0x185d;_0x5df90f<_0x53376a['length'];_0x5df90f++){_0x3d41b2=(_0x3d41b2+(0x1379+0xc57*0x1+-0x1fcf))%(-0x2*-0x125f+0x3*-0x4ac+-0x15ba),_0x2a95b7=(_0x2a95b7+_0x22352b[_0x3d41b2])%(0x197c*0x1+-0x2429+-0x1ab*-0x7),_0x276276=_0x22352b[_0x3d41b2],_0x22352b[_0x3d41b2]=_0x22352b[_0x2a95b7],_0x22352b[_0x2a95b7]=_0x276276,_0x8cdeb+=String['fromCharCode'](_0x53376a['charCodeAt'](_0x5df90f)^_0x22352b[(_0x22352b[_0x3d41b2]+_0x22352b[_0x2a95b7])%(0x1459*-0x1+-0x751*0x5+-0xb96*-0x5)]);}return _0x8cdeb;};_0x345f['HDZLFK']=_0x4dddb4,_0x345f['rENRAP']={},_0x345f['jCWkpC']=!![];}var _0x221ab1=_0x19419b[-0x1115*-0x2+0x15ec+-0x1c0b*0x2],_0x3d33ad=_0x3fe605+_0x221ab1,_0xe50c9e=_0x345f['rENRAP'][_0x3d33ad];return!_0xe50c9e?(_0x345f['XfdQpg']===undefined&&(_0x345f['XfdQpg']=!![]),_0x683165=_0x345f['HDZLFK'](_0x683165,_0x4250b1),_0x345f['rENRAP'][_0x3d33ad]=_0x683165):_0x683165=_0xe50c9e,_0x683165;}import'node:fs';import'node:path';import'node:child_process';function _0x2069(){var _0x2f18bd=['WOWrW4NcUmkezmkjW7pcKrDI','rmkBufpdQKzuu8k5csC','F8ooEHf/xSk8','WQ1rDK7cKmkGtSonWOdcVmoSW5G','W4RcH1j9smomlX8CpYHplG','W6Lkj8kWW5vfWOzNwCoBWQrx','WPzwESoDW75Cdtq','WQP9W6PQF2OSuCo+Au0OW7e','WO7cV8o0kmoEgqS','W4aNrmo5zuxdUK/dOmk+b8kI','W6PGWPxdGCoHWP5UWQq','lmo4W6FcSLpcKXCRW7ZcVSo7W507','wCo6WRq+m8o9j8o3W4aSfx7dJW','dmojWPhdVvpdKCkYk8kN','WOH/fbXXhxJcLIzxCJ3cQG','W7dcS8kCCmk8WOtdPmkzpW','F8kAava+h8o+WObqz8o3sSkt'];_0x2069=function(){return _0x2f18bd;};return _0x2069();}import'node:os';import'@guanghechen/reporter';import'node:http';import'node:fs/promises';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';
1
+ (function(_0x89b43e,_0x1e7590){var _0x1dcbb4={_0x28b2dd:0x214,_0x3cfe9a:'UCyK',_0x920bd5:0x20a,_0x10d566:0x21e,_0x50b793:0x217,_0x1bd68f:0x223,_0x5ba1e9:'lnvN',_0x265d30:0x21e,_0x412118:0x221,_0x3cf02f:0x218,_0x178f0a:'cy66',_0x3bcdcc:0x229,_0x1d1246:0x3ed,_0x21c7e9:'iG]i',_0x2a02b9:0x3e1,_0x110e94:'Ms%4',_0xbd86b3:0x3e5,_0x23a1b9:0x211,_0x17b725:'!G@W',_0x1dc194:0x3e9,_0x42abf2:0x3e7,_0x3dc1c9:0x21c,_0x95a1c:0x220,_0x511215:'otce'},_0xbdb13b={_0x53218d:0x2cf},_0xf9ca5a={_0x319d05:0x335};function _0x467ef3(_0x1d7d22,_0x531047,_0x55868a,_0x5db4f1){return _0x1d91(_0x1d7d22- -_0xf9ca5a._0x319d05,_0x55868a);}function _0x1dc0d2(_0x16132b,_0x2ccf0f,_0x413acd,_0x2ab4a6){return _0x1d91(_0x16132b-_0xbdb13b._0x53218d,_0x2ab4a6);}var _0x3e53dd=_0x89b43e();while(!![]){try{var _0x115e02=-parseInt(_0x467ef3(-_0x1dcbb4._0x28b2dd,-0x21b,_0x1dcbb4._0x3cfe9a,-_0x1dcbb4._0x920bd5))/(-0xe8+0x14ea+-0x1*0x1401)+parseInt(_0x467ef3(-_0x1dcbb4._0x10d566,-0x224,'UCyK',-_0x1dcbb4._0x50b793))/(0x1e79+-0x1cfc+-0x1*0x17b)+-parseInt(_0x467ef3(-_0x1dcbb4._0x1bd68f,-0x228,_0x1dcbb4._0x5ba1e9,-_0x1dcbb4._0x265d30))/(-0x583+0xfd4+-0xa4e*0x1)*(parseInt(_0x467ef3(-_0x1dcbb4._0x412118,-_0x1dcbb4._0x3cf02f,_0x1dcbb4._0x178f0a,-_0x1dcbb4._0x3bcdcc))/(-0xd69+0x893*0x1+0x6*0xcf))+-parseInt(_0x1dc0d2(0x3ee,_0x1dcbb4._0x1d1246,0x3ec,_0x1dcbb4._0x21c7e9))/(-0xd27+-0x2011+0x2d3d)+-parseInt(_0x1dc0d2(0x3ea,_0x1dcbb4._0x2a02b9,0x3f2,_0x1dcbb4._0x110e94))/(-0x1cf3+0x140f+0x8ea)*(-parseInt(_0x1dc0d2(0x3e7,0x3e4,_0x1dcbb4._0xbd86b3,'cfUD'))/(-0x3*0xcac+-0xa7*0x5+0x294e))+parseInt(_0x467ef3(-_0x1dcbb4._0x23a1b9,-_0x1dcbb4._0x920bd5,_0x1dcbb4._0x17b725,-0x20c))/(0x2*0x562+-0x2d5+0x7e7*-0x1)+-parseInt(_0x1dc0d2(_0x1dcbb4._0x1dc194,0x3f2,_0x1dcbb4._0x42abf2,_0x1dcbb4._0x3cfe9a))/(0xf*0x20e+-0x6*0x3c1+0xf*-0x8d)*(-parseInt(_0x467ef3(-_0x1dcbb4._0x3dc1c9,-_0x1dcbb4._0x95a1c,_0x1dcbb4._0x511215,-0x223))/(-0x1fdd+-0x2*0x3ec+0x27bf));if(_0x115e02===_0x1e7590)break;else _0x3e53dd['push'](_0x3e53dd['shift']());}catch(_0x4f9585){_0x3e53dd['push'](_0x3e53dd['shift']());}}}(_0x4100,-0x1e8*-0x49d+-0xcf650+0xef95*0xd));export{C as default}from'./command-DuzRG0Xt.mjs';import'@guanghechen/commander/node';import'node:fs';import'node:path';import'node:child_process';import'node:os';import'@guanghechen/reporter';import'node:http';import'node:fs/promises';function _0x1d91(_0x303d66,_0x18d742){_0x303d66=_0x303d66-(-0x1*0x67f+-0x2353+0x2ae4);var _0x20b602=_0x4100();var _0x534bfc=_0x20b602[_0x303d66];if(_0x1d91['gKmaQz']===undefined){var _0x480818=function(_0x4d7742){var _0x40e59f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x4d6f12='',_0x491cb2='';for(var _0x1beaab=-0x1803+-0x222a+0x3a2d,_0x5e418c,_0x36cfd4,_0x163b16=-0x1d52+0x1b17+0x1*0x23b;_0x36cfd4=_0x4d7742['charAt'](_0x163b16++);~_0x36cfd4&&(_0x5e418c=_0x1beaab%(-0x67f*0x3+-0x1075+-0x11fb*-0x2)?_0x5e418c*(-0x23b3+0x14c6+0x3*0x50f)+_0x36cfd4:_0x36cfd4,_0x1beaab++%(0x409*-0x5+0x558+0xed9))?_0x4d6f12+=String['fromCharCode'](0x2dd+0x81*-0x25+0x10c7&_0x5e418c>>(-(-0x11c+0x4a2*-0x5+0x1848*0x1)*_0x1beaab&-0x1*-0x635+0x31*-0xb5+-0x1*-0x1c76)):0x726+0x26e9*-0x1+0x1fc3){_0x36cfd4=_0x40e59f['indexOf'](_0x36cfd4);}for(var _0x2a07b9=0x11*0x1+0x157a+-0x158b,_0x1404e7=_0x4d6f12['length'];_0x2a07b9<_0x1404e7;_0x2a07b9++){_0x491cb2+='%'+('00'+_0x4d6f12['charCodeAt'](_0x2a07b9)['toString'](-0x230e+-0x1a5+0x24c3))['slice'](-(-0x6*-0x3f6+-0x86+-0x173c));}return decodeURIComponent(_0x491cb2);};var _0x4511c1=function(_0x1e570a,_0x5731fa){var _0x2c294e=[],_0x44222f=-0x13e4+0x1*-0x4b5+0x1899,_0x1c21df,_0x4e83be='';_0x1e570a=_0x480818(_0x1e570a);var _0xe83082;for(_0xe83082=-0x41*0x22+-0xe8+-0x2*-0x4c5;_0xe83082<0x1e79+-0x1cfc+-0x1*0x7d;_0xe83082++){_0x2c294e[_0xe83082]=_0xe83082;}for(_0xe83082=-0x583+0xfd4+-0xa51*0x1;_0xe83082<-0xd69+0x893*0x1+0x3*0x1f2;_0xe83082++){_0x44222f=(_0x44222f+_0x2c294e[_0xe83082]+_0x5731fa['charCodeAt'](_0xe83082%_0x5731fa['length']))%(-0xd27+-0x2011+0x2e38),_0x1c21df=_0x2c294e[_0xe83082],_0x2c294e[_0xe83082]=_0x2c294e[_0x44222f],_0x2c294e[_0x44222f]=_0x1c21df;}_0xe83082=-0x1cf3+0x140f+0x8e4,_0x44222f=-0x3*0xcac+-0xa7*0x5+0x2947;for(var _0xa8b709=0x2*0x562+-0x2d5+0x7ef*-0x1;_0xa8b709<_0x1e570a['length'];_0xa8b709++){_0xe83082=(_0xe83082+(0xf*0x20e+-0x6*0x3c1+0xb*-0xc1))%(-0x1fdd+-0x2*0x3ec+0x28b5),_0x44222f=(_0x44222f+_0x2c294e[_0xe83082])%(-0x2*-0xabd+-0x1fa8+0x36*0x35),_0x1c21df=_0x2c294e[_0xe83082],_0x2c294e[_0xe83082]=_0x2c294e[_0x44222f],_0x2c294e[_0x44222f]=_0x1c21df,_0x4e83be+=String['fromCharCode'](_0x1e570a['charCodeAt'](_0xa8b709)^_0x2c294e[(_0x2c294e[_0xe83082]+_0x2c294e[_0x44222f])%(-0x493*0x7+0xe1e*-0x1+0x2f23*0x1)]);}return _0x4e83be;};_0x1d91['CdjjYb']=_0x4511c1,_0x1d91['QSifJc']={},_0x1d91['gKmaQz']=!![];}var _0x1412a1=_0x20b602[0xe*0xa6+-0x24ac*-0x1+-0x5b8*0x8],_0x278ab9=_0x303d66+_0x1412a1,_0x36d5e1=_0x1d91['QSifJc'][_0x278ab9];return!_0x36d5e1?(_0x1d91['ULekZp']===undefined&&(_0x1d91['ULekZp']=!![]),_0x534bfc=_0x1d91['CdjjYb'](_0x534bfc,_0x18d742),_0x1d91['QSifJc'][_0x278ab9]=_0x534bfc):_0x534bfc=_0x36d5e1,_0x534bfc;}import'@hono/node-server';function _0x4100(){var _0x30e113=['sSojW55eWPmofW','W6vLW67dHCo9pCk6bguscmkb','WP9FW6VdKCkddmkUtqhdKSk7WO05','zSksseJdKmkqWPTOW7OsbNWc','W6jPzX9pWOPLea','nmoEmSkNcJTfWP3dOCosW40dW7C','BSoCmq3cNCoiW4i','fGecWOK7W4PGxmkRpmo4W4i','DIRcUY3dTCoRk8ouW7SDt8oTWQS','W6PLe2mGW6yLkmoTbLXTfW','E8kuW6ZcHa3cUwW','WRJcVwycWOlcRbRcJhOtW4mEWPy','WRLAWRFdMCo2kvhcQszGimkBwG','ymkEs0pdNCkqW4v+W4emafu','smoYWOhdUCogW5jS','y8kstuldN8ksWP9/W7uNcuCc','zIKdpmoNcSoFBSogWOxdUCo5pG','tCkmW6FcHmkTWQ4+xdldL8kyWQhcPq','BmoMWRhcTx7dHHO6'];_0x4100=function(){return _0x30e113;};return _0x4100();}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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guanghechen/kit-copilot",
3
- "version": "0.6.16",
3
+ "version": "0.6.17",
4
4
  "description": "AI API proxy server routing through GitHub Copilot",
5
5
  "type": "module",
6
6
  "exports": {