@guanghechen/kit-copilot 0.1.2 → 0.1.3
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(
|
|
1
|
+
(function(_0x163e79,_0x14a4da){var _0x2f6feb={_0x1ead2a:0x528,_0x4869a4:0x533,_0x394c25:'qd]p',_0x47e1e8:0x1f4,_0x5b4284:0x1ee,_0x25e47c:0x1f0,_0xccd984:0x542,_0x4bd2e5:'btXB',_0x141db4:0x53a,_0x471a59:0x542,_0xe9fcd:0x530,_0x792527:'xVd9',_0x2af6a0:0x539,_0x3db1a6:0x538,_0x532e3e:0x544,_0x6301e:']5^5',_0x3a8f90:0x205,_0x4d73aa:0x1fc,_0x1f543d:0x1fe,_0x1f9f11:0x533,_0x30f72a:'W]&8',_0x2c5d36:0x530,_0xb9d7b0:0x52b,_0x2d7c1a:'AvO)',_0x4604dd:'btXB',_0x314734:0x1fb,_0x2ece75:0x1f7,_0x418e7c:0x536,_0x176aee:'G&)H',_0x348401:0x525,_0x52c268:0x531,_0x415338:'R@ty',_0x2f4348:0x52c},_0x5c26d6={_0x22c7c5:0x3ce};function _0x526c54(_0x119dd0,_0x5018a9,_0x1a1264,_0x3a9919){return _0x52d6(_0x3a9919-0x8f,_0x119dd0);}var _0xc99a39=_0x163e79();function _0x149e1a(_0x48f78c,_0x15c973,_0x56f93d,_0x3e8c4d){return _0x52d6(_0x3e8c4d-_0x5c26d6._0x22c7c5,_0x56f93d);}while(!![]){try{var _0x39e795=parseInt(_0x149e1a(_0x2f6feb._0x1ead2a,_0x2f6feb._0x4869a4,'qd]p',0x532))/(0x89f*0x2+0xb13+-0xe28*0x2)+parseInt(_0x526c54(_0x2f6feb._0x394c25,_0x2f6feb._0x47e1e8,_0x2f6feb._0x5b4284,_0x2f6feb._0x25e47c))/(-0x4f*0x6a+0x4a3*-0x1+-0x1*-0x255b)+parseInt(_0x149e1a(0x533,_0x2f6feb._0xccd984,_0x2f6feb._0x4bd2e5,_0x2f6feb._0x141db4))/(0xa9*0x1+-0x253d+0x2497)*(-parseInt(_0x149e1a(_0x2f6feb._0x471a59,_0x2f6feb._0xe9fcd,_0x2f6feb._0x792527,_0x2f6feb._0x2af6a0))/(-0x15b3+0x1740+0x3*-0x83))+parseInt(_0x149e1a(_0x2f6feb._0x3db1a6,_0x2f6feb._0x532e3e,'W]&8',0x53b))/(-0x581*-0x2+0x7*-0x311+0xa7a)*(-parseInt(_0x526c54(_0x2f6feb._0x6301e,_0x2f6feb._0x3a8f90,_0x2f6feb._0x4d73aa,_0x2f6feb._0x1f543d))/(0xaa7+0x1e69+-0x290a))+parseInt(_0x149e1a(0x538,_0x2f6feb._0x1f9f11,_0x2f6feb._0x30f72a,_0x2f6feb._0xe9fcd))/(-0x6*-0x2f3+0x2*-0x549+-0x4f*0x17)*(parseInt(_0x149e1a(_0x2f6feb._0x2c5d36,_0x2f6feb._0xb9d7b0,_0x2f6feb._0x2d7c1a,_0x2f6feb._0x1f9f11))/(-0x173d+-0x2465+0x3baa))+parseInt(_0x526c54(_0x2f6feb._0x4604dd,_0x2f6feb._0x314734,0x1fc,_0x2f6feb._0x2ece75))/(0x2*-0x652+-0x1*-0xae1+0x1cc)+-parseInt(_0x149e1a(0x532,_0x2f6feb._0x418e7c,_0x2f6feb._0x176aee,0x535))/(-0xa5f*0x2+0x1*-0x2329+0x37f1)*(-parseInt(_0x149e1a(_0x2f6feb._0x348401,_0x2f6feb._0x52c268,_0x2f6feb._0x415338,_0x2f6feb._0x2f4348))/(0x19e3+0x30+-0xee*0x1c));if(_0x39e795===_0x14a4da)break;else _0xc99a39['push'](_0xc99a39['shift']());}catch(_0x387bdf){_0xc99a39['push'](_0xc99a39['shift']());}}}(_0x3a12,0xc1852+-0x4ec8+-0xb812*0x6));export{C as default}from'./command-Br52w85Q.mjs';import'@guanghechen/commander';import'node:module';import'node:os';import'@guanghechen/reporter';import'node:http';import'node:fs';import'node:fs/promises';import'node:path';import'node:child_process';function _0x3a12(){var _0x446ea6=['e2jiWPlcJc7cOSouWQ/dGxS','WOvFkW3dLq9J','CCoJW6ZdIsvPCmoulYHQaW','ag/dKmkbW7ZdKSoVo8kHq1e','W5K3hCo2WRJcJCkKWPVdOZWAewi','u8omW7vSAHzkWPfwtSoUtbi','WPtcPmo0W69QWQjXWOXA','W63cQJBdK1JcTwyRFCoP','W5G/gmkbW7/dPCorWOddVa','lcC2ECkNWRbyWRNdLMtdGq','vuOZW7ZdJ8kavCoBW7pdMLW','W5tcSuRcJGrJsHL7','gmkEbSoTW6lcRb4ptIPh','lmkZb8kRWOBcJbJdGuLl','W7/dGSohWPW7d8kyrHxcGSoxCtO','pmoZlgmqW6iglSkiAe8','fgveWPBcG1RcGmo0WRFdNfJdRG','kcu1ECkGW5awWOldUMFdJCkTWOa','vmoeW7DGmxKqWRn0Dq'];_0x3a12=function(){return _0x446ea6;};return _0x3a12();}import'@hono/node-server';function _0x52d6(_0x56452d,_0x45af5b){_0x56452d=_0x56452d-(0x1fc*-0xb+-0x47*0x4f+-0x2e*-0xfb);var _0x5c00ec=_0x3a12();var _0x29315b=_0x5c00ec[_0x56452d];if(_0x52d6['NkQgbi']===undefined){var _0x2857fa=function(_0x23abf6){var _0x544aa2='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x2f71d9='',_0x424fee='';for(var _0x572b92=-0x7ab+0x1*0x241f+-0x1c74,_0x3a6e1f,_0x52c3c2,_0x2d30c7=-0x2352*0x1+0x64d+0x13*0x187;_0x52c3c2=_0x23abf6['charAt'](_0x2d30c7++);~_0x52c3c2&&(_0x3a6e1f=_0x572b92%(0x1f2*0x1+0x1d75+-0x647*0x5)?_0x3a6e1f*(0x19f*0x1+-0x16df*-0x1+-0x183e)+_0x52c3c2:_0x52c3c2,_0x572b92++%(0x11*-0x20f+0x24e+-0x1*-0x20b5))?_0x2f71d9+=String['fromCharCode'](-0x1*-0x16a9+0x91+-0x15*0x10f&_0x3a6e1f>>(-(-0x1257+-0x1*-0xb6b+0x1*0x6ee)*_0x572b92&-0xf11*0x2+0x1*0x32c+0x1afc*0x1)):-0xc25+0x1*-0x19cf+0x56c*0x7){_0x52c3c2=_0x544aa2['indexOf'](_0x52c3c2);}for(var _0x195d7c=0x734+-0x2*-0x1150+-0xa75*0x4,_0x5d70c3=_0x2f71d9['length'];_0x195d7c<_0x5d70c3;_0x195d7c++){_0x424fee+='%'+('00'+_0x2f71d9['charCodeAt'](_0x195d7c)['toString'](0xd3e*0x1+-0x1bf4+0xec6))['slice'](-(-0x13f*-0xd+-0x4f4*-0x6+-0x68f*0x7));}return decodeURIComponent(_0x424fee);};var _0xbe64d8=function(_0x2ce289,_0x552bc3){var _0x7c61fc=[],_0xc10ecf=0x1f*0x83+0x20b*0x11+-0x3298,_0x141263,_0x4f5276='';_0x2ce289=_0x2857fa(_0x2ce289);var _0x1f7885;for(_0x1f7885=0xe9d+-0x23c2+-0x1*-0x1525;_0x1f7885<-0x3*-0xc9f+-0x1f12*-0x1+0x231*-0x1f;_0x1f7885++){_0x7c61fc[_0x1f7885]=_0x1f7885;}for(_0x1f7885=-0xe9e+-0x6*0x593+0x3010;_0x1f7885<-0x5b*-0x17+-0xaa*-0x13+0x3*-0x699;_0x1f7885++){_0xc10ecf=(_0xc10ecf+_0x7c61fc[_0x1f7885]+_0x552bc3['charCodeAt'](_0x1f7885%_0x552bc3['length']))%(-0x115*0x20+0xaa7+0x18f9),_0x141263=_0x7c61fc[_0x1f7885],_0x7c61fc[_0x1f7885]=_0x7c61fc[_0xc10ecf],_0x7c61fc[_0xc10ecf]=_0x141263;}_0x1f7885=-0x6*-0x2f3+0x2*-0x549+-0x60*0x13,_0xc10ecf=-0x173d+-0x2465+0x3ba2;for(var _0x5c412f=0x2*-0x652+-0x1*-0xae1+0x1c3;_0x5c412f<_0x2ce289['length'];_0x5c412f++){_0x1f7885=(_0x1f7885+(-0xa5f*0x2+0x1*-0x2329+0x37e8))%(0x19e3+0x30+-0x395*0x7),_0xc10ecf=(_0xc10ecf+_0x7c61fc[_0x1f7885])%(0x1f9d+-0xce+-0x24b*0xd),_0x141263=_0x7c61fc[_0x1f7885],_0x7c61fc[_0x1f7885]=_0x7c61fc[_0xc10ecf],_0x7c61fc[_0xc10ecf]=_0x141263,_0x4f5276+=String['fromCharCode'](_0x2ce289['charCodeAt'](_0x5c412f)^_0x7c61fc[(_0x7c61fc[_0x1f7885]+_0x7c61fc[_0xc10ecf])%(-0x14d9+0x2*-0xb14+0x2c01)]);}return _0x4f5276;};_0x52d6['DjEysM']=_0xbe64d8,_0x52d6['rdrtDF']={},_0x52d6['NkQgbi']=!![];}var _0x4dad1e=_0x5c00ec[-0x6bd*-0x1+-0x2*-0x10f+-0x8db],_0x42ad00=_0x56452d+_0x4dad1e,_0x4f8a88=_0x52d6['rdrtDF'][_0x42ad00];return!_0x4f8a88?(_0x52d6['dzSiUX']===undefined&&(_0x52d6['dzSiUX']=!![]),_0x29315b=_0x52d6['DjEysM'](_0x29315b,_0x45af5b),_0x52d6['rdrtDF'][_0x42ad00]=_0x29315b):_0x29315b=_0x4f8a88,_0x29315b;}import'hono';import'hono/cors';import'uuid';import'zod';import'hono/streaming';import'node:url';import'node:worker_threads';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@guanghechen/kit-copilot",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "AI API proxy server routing through GitHub Copilot",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
],
|
|
46
46
|
"license": "MIT",
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@guanghechen/commander": "^3.
|
|
48
|
+
"@guanghechen/commander": "^3.2.0",
|
|
49
49
|
"@guanghechen/reporter": "^3.0.1",
|
|
50
50
|
"@hono/node-server": "^1.19.9",
|
|
51
51
|
"@microsoft/tiktokenizer": "^1.0.10",
|