@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/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x38426,_0x5c8287){var _0x44140d={_0x4e3bf5:'(664',_0x3af41b:0x22d,_0x3637c3:0x229,_0x4b90f9:0x225,_0xff2077:0x228,_0x4066d1:'FX37',_0x1fdbd5:0x22d,_0x4ddb5a:0x226,_0x12e46d:0x22f,_0x1e2b9a:0x314,_0x522a99:'syp5',_0x59b2c1:0x316,_0x3d80d7:0x313,_0xe54fd4:0x31d,_0x49af32:0x319,_0x169e49:0x315,_0x40dc68:'[90U',_0x596734:0x30f,_0x1537eb:0x31b,_0x5127a0:0x317,_0x48f80b:0x317,_0x276d81:0x227,_0x4b8498:0x220,_0x3e3846:0x22a,_0x535238:0x321,_0x5729ff:'Np@4',_0x32ce47:0x318},_0x4181cc={_0x26e36b:0x1ec};function _0x1d33d8(_0x1e6c11,_0x41abc7,_0x58ed1a,_0x91859){return _0x11f6(_0x41abc7-0x101,_0x1e6c11);}var _0x3c47a7=_0x38426();function _0x4ea5e5(_0x2bd33b,_0x4205e1,_0x1477bd,_0x19490a){return _0x11f6(_0x1477bd-_0x4181cc._0x26e36b,_0x4205e1);}while(!![]){try{var _0x5aa35b=-parseInt(_0x1d33d8(_0x44140d._0x4e3bf5,0x228,_0x44140d._0x3af41b,_0x44140d._0x3637c3))/(-0x6*0x342+-0xb96+0x1f23)*(-parseInt(_0x1d33d8(_0x44140d._0x4e3bf5,_0x44140d._0x4b90f9,_0x44140d._0xff2077,0x227))/(0x1c52+0xff7*0x1+-0x2c47*0x1))+parseInt(_0x1d33d8(_0x44140d._0x4066d1,_0x44140d._0x1fdbd5,_0x44140d._0x4ddb5a,_0x44140d._0x12e46d))/(0x1*-0x617+-0x3*0x5e9+0x17d5)*(-parseInt(_0x4ea5e5(_0x44140d._0x1e2b9a,_0x44140d._0x522a99,_0x44140d._0x59b2c1,_0x44140d._0x3d80d7))/(-0x3*0x97c+-0x716*-0x4+-0x20*-0x1))+-parseInt(_0x4ea5e5(_0x44140d._0xe54fd4,'((U#',_0x44140d._0x49af32,0x313))/(-0x1442+0x1d2a+-0x8e3*0x1)+-parseInt(_0x4ea5e5(_0x44140d._0x169e49,_0x44140d._0x40dc68,_0x44140d._0x169e49,_0x44140d._0x596734))/(-0x16dd+-0x6ad*0x2+-0x243d*-0x1)+parseInt(_0x4ea5e5(_0x44140d._0x1537eb,'vXRG',_0x44140d._0x5127a0,_0x44140d._0x48f80b))/(-0xaff+-0x1cb4+0x5a*0x71)+-parseInt(_0x1d33d8('#O7X',_0x44140d._0x276d81,_0x44140d._0x4b8498,_0x44140d._0x3e3846))/(0x292+0xb7b+-0xe05)+parseInt(_0x4ea5e5(_0x44140d._0x535238,_0x44140d._0x5729ff,_0x44140d._0xe54fd4,_0x44140d._0x32ce47))/(-0x1acd+-0x1ee*-0x5+-0x190*-0xb);if(_0x5aa35b===_0x5c8287)break;else _0x3c47a7['push'](_0x3c47a7['shift']());}catch(_0x30f7df){_0x3c47a7['push'](_0x3c47a7['shift']());}}}(_0xb65e,-0x468d*0x25+-0x119127+0x24b504));export{C as default}from'./command-CQiSivz8.mjs';import'@guanghechen/commander/node';import'node:fs';import'node:path';import'node:child_process';function _0xb65e(){var _0x501b04=['W5umWPldKSk1WOJdU8kRACkRqNG','Dr8xW7vGCdykW57cMNBcM3K','WQOjWQBcNSofemo3wviEFCkN','W4VcNxRcPZL2W7qpW5/cG8oHmM8','wmk4W7JcUmkziSoRWRhdTqirlCoX','W4aTWPRcTXvWCCozWQTkt8oAfq','ygFcV1TEdZpdOX4sW7tdQ8k8','eCkJbZ7cRr40lN4','tSkdtwiMWRtcSZpcV1RcTwa','W4xcPNZcGuvGv8o1aJBcQCktba','h8kPaWVcLaS3nhC','EYrSW7LKsc8PWP0','C8k2WP0rgKBcOCoWhsSzW6C','WQ98W4BdUCk6DCoM','WP7dGehdThrrltRdK0WMWQyF'];_0xb65e=function(){return _0x501b04;};return _0xb65e();}import'node:os';import'@guanghechen/reporter';import'node:http';import'node:fs/promises';import'@hono/node-server';function _0x11f6(_0x3ce2da,_0x5e2449){_0x3ce2da=_0x3ce2da-(-0x2258+0x22c1+0x1f*0x6);var _0x1ccb6d=_0xb65e();var _0x2f350e=_0x1ccb6d[_0x3ce2da];if(_0x11f6['yQqbDo']===undefined){var _0x182009=function(_0x3b9d1e){var _0x428142='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x16c81a='',_0x5b7b3e='';for(var _0x2c02c4=0xa56+0x1*0x1912+-0x2*0x11b4,_0x34f40d,_0x2b41d2,_0x2747b6=-0x2e*0x4f+-0x59*0x2+0xee4*0x1;_0x2b41d2=_0x3b9d1e['charAt'](_0x2747b6++);~_0x2b41d2&&(_0x34f40d=_0x2c02c4%(-0x116d+-0x828+0x1999)?_0x34f40d*(-0x1*0x967+-0x75a*0x3+0x1fb5*0x1)+_0x2b41d2:_0x2b41d2,_0x2c02c4++%(-0x453*-0x1+0x281*-0x1+-0x1ce))?_0x16c81a+=String['fromCharCode'](0x12*0xdc+0x629*-0x1+0x214*-0x4&_0x34f40d>>(-(0x1de*-0x1+0x4cc+-0x2ec)*_0x2c02c4&0x3*0x10b+0x35*-0x85+0x35*0x76)):-0x1*-0xbb4+0x3a9*-0x1+-0x80b){_0x2b41d2=_0x428142['indexOf'](_0x2b41d2);}for(var _0x2e165c=0x206+-0x36d*-0x1+-0x573,_0x4f172c=_0x16c81a['length'];_0x2e165c<_0x4f172c;_0x2e165c++){_0x5b7b3e+='%'+('00'+_0x16c81a['charCodeAt'](_0x2e165c)['toString'](-0x7*0x565+0xf42+0x1691))['slice'](-(0x149b+-0x9a3+0x2e*-0x3d));}return decodeURIComponent(_0x5b7b3e);};var _0x590a48=function(_0x29b0aa,_0x4548c0){var _0x143243=[],_0x118adf=0x2223*-0x1+0x48+0x21db,_0x2c4c9b,_0x5d0d27='';_0x29b0aa=_0x182009(_0x29b0aa);var _0x1eaf4f;for(_0x1eaf4f=0x10b*-0x11+0x7ce+0x9ed;_0x1eaf4f<-0x3*0x97c+-0x716*-0x4+-0x11c*-0x1;_0x1eaf4f++){_0x143243[_0x1eaf4f]=_0x1eaf4f;}for(_0x1eaf4f=-0x1442+0x1d2a+-0x2f8*0x3;_0x1eaf4f<-0x16dd+-0x6ad*0x2+-0x551*-0x7;_0x1eaf4f++){_0x118adf=(_0x118adf+_0x143243[_0x1eaf4f]+_0x4548c0['charCodeAt'](_0x1eaf4f%_0x4548c0['length']))%(-0xaff+-0x1cb4+0x45*0x97),_0x2c4c9b=_0x143243[_0x1eaf4f],_0x143243[_0x1eaf4f]=_0x143243[_0x118adf],_0x143243[_0x118adf]=_0x2c4c9b;}_0x1eaf4f=0x292+0xb7b+-0xe0d,_0x118adf=-0x1acd+-0x1ee*-0x5+-0x1127*-0x1;for(var _0xbba4c3=-0x1645*0x1+-0x265e+0x3ca3;_0xbba4c3<_0x29b0aa['length'];_0xbba4c3++){_0x1eaf4f=(_0x1eaf4f+(0x1372*-0x2+-0x24b9*-0x1+0x22c))%(0x756+0x1*0x95f+-0xfb5),_0x118adf=(_0x118adf+_0x143243[_0x1eaf4f])%(-0x1eaf*-0x1+-0x939+0x12*-0x123),_0x2c4c9b=_0x143243[_0x1eaf4f],_0x143243[_0x1eaf4f]=_0x143243[_0x118adf],_0x143243[_0x118adf]=_0x2c4c9b,_0x5d0d27+=String['fromCharCode'](_0x29b0aa['charCodeAt'](_0xbba4c3)^_0x143243[(_0x143243[_0x1eaf4f]+_0x143243[_0x118adf])%(-0x1841+-0x1*-0x2fd+0x1644)]);}return _0x5d0d27;};_0x11f6['wjtKlM']=_0x590a48,_0x11f6['eRjSod']={},_0x11f6['yQqbDo']=!![];}var _0xfbd161=_0x1ccb6d[-0x1f6a+0x4e+0x2d4*0xb],_0x1c40d5=_0x3ce2da+_0xfbd161,_0x1c3abb=_0x11f6['eRjSod'][_0x1c40d5];return!_0x1c3abb?(_0x11f6['VedniV']===undefined&&(_0x11f6['VedniV']=!![]),_0x2f350e=_0x11f6['wjtKlM'](_0x2f350e,_0x5e2449),_0x11f6['eRjSod'][_0x1c40d5]=_0x2f350e):_0x2f350e=_0x1c3abb,_0x2f350e;}import'hono';import'hono/cors';import'uuid';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.
|
|
3
|
+
"version": "0.6.7",
|
|
4
4
|
"description": "AI API proxy server routing through GitHub Copilot",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -45,18 +45,18 @@
|
|
|
45
45
|
],
|
|
46
46
|
"license": "MIT",
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@guanghechen/commander": "^4.7.
|
|
48
|
+
"@guanghechen/commander": "^4.7.3",
|
|
49
49
|
"@guanghechen/reporter": "^3.3.0",
|
|
50
|
-
"@hono/node-server": "^1.19.
|
|
50
|
+
"@hono/node-server": "^1.19.10",
|
|
51
51
|
"@microsoft/tiktokenizer": "^1.0.10",
|
|
52
52
|
"ajv": "^8.18.0",
|
|
53
53
|
"ajv-formats": "^3.0.1",
|
|
54
|
-
"hono": "^4.
|
|
54
|
+
"hono": "^4.12.5",
|
|
55
55
|
"uuid": "^13.0.0",
|
|
56
56
|
"zod": "^4.3.6"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
|
-
"@guanghechen/commander": "^4.7.
|
|
59
|
+
"@guanghechen/commander": "^4.7.3"
|
|
60
60
|
},
|
|
61
61
|
"peerDependenciesMeta": {
|
|
62
62
|
"@guanghechen/commander": {
|