@guanghechen/kit-copilot 0.6.10 → 0.6.12

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/README.md CHANGED
@@ -12,8 +12,10 @@ GitHub Copilot proxy server for `Claude`, `Codex`, and `Gemini` compatible endpo
12
12
 
13
13
  There is no runtime fallback from business logic to global `process.env` for critical keys such as:
14
14
 
15
- - `GH_PRIMARY_TOKEN`
16
- - `COPILOT_MODEL_REFRESH_SEC`
15
+ - `KIT_COPILOT_GITHUB_TOKEN`
16
+ - `COPILOT_CODEX_EXPERIMENTAL_HEADERS_ENABLED`
17
+ - `COPILOT_CODEX_BETA_FEATURES_ALLOWLIST`
18
+ - `COPILOT_OPENAI_BETA_ALLOWLIST`
17
19
 
18
20
  ## Preset File (`preset.json`)
19
21
 
@@ -45,7 +47,7 @@ Example `preset.json`:
45
47
 
46
48
  ## Token Persistence
47
49
 
48
- `kit-copilot auth` persists `GH_PRIMARY_TOKEN` to preset env storage.
50
+ `kit-copilot auth` persists `KIT_COPILOT_GITHUB_TOKEN` to preset env storage.
49
51
 
50
52
  - Persist target: `<config-root>/.env.local`
51
53
  - `GH_COPILOT_TOKEN` is not persisted
@@ -62,6 +64,9 @@ kit-copilot start --port=4141
62
64
  With preset env file:
63
65
 
64
66
  ```dotenv
65
- GH_PRIMARY_TOKEN=ghu_xxx
66
- COPILOT_MODEL_REFRESH_SEC=300
67
+ KIT_COPILOT_GITHUB_TOKEN=ghu_xxx
68
+ # Optional: allow forwarding high-risk Codex beta/experimental headers
69
+ COPILOT_CODEX_EXPERIMENTAL_HEADERS_ENABLED=true
70
+ COPILOT_CODEX_BETA_FEATURES_ALLOWLIST=feature_a
71
+ COPILOT_OPENAI_BETA_ALLOWLIST=responses_websockets=2026-02-06
67
72
  ```
package/lib/esm/cli.mjs CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- (function(_0xd578af,_0x3a1eb0){const _0x255f9e={_0x2235bb:'4K2Y',_0x40aebe:0x4c4,_0x48d3f5:0x4d0,_0x1625b8:0x50b,_0x30dae0:0x50a,_0x26b355:'x[ZA',_0x18fa1d:0x4e3,_0x4fba81:0x4e2,_0x203e72:0x4df,_0x42e1c3:'sU)L',_0x5f47d2:0x4f0,_0x35ee43:0x4da,_0x3cf0de:0x4fd,_0x689c97:'U$$f',_0x58c1d9:0x4ec,_0x384d56:0x503,_0x2aaa51:'fSBH',_0x31df87:0x504,_0x37ff34:0x4db,_0x11ef20:0x4e6,_0x388b8d:0x4bc,_0x54bd06:'4K2Y',_0x44063b:0x4cf,_0x23dcd9:0x4e4,_0x3d95c0:0x4f6,_0x1f66c9:'xQ[i',_0x11c802:0x4ef,_0x966d2d:'ep9I',_0x518583:0x4f7},_0x10c574={_0x1d6f2b:0x374},_0x1c98b8={_0xf67466:0x393};function _0x448a53(_0x105d98,_0x54a5e7,_0x3f1c4f,_0x12b293){return _0x4d72(_0x12b293-_0x1c98b8._0xf67466,_0x3f1c4f);}const _0x2629fb=_0xd578af();function _0x17707a(_0x6ab23d,_0x1d9b96,_0x59d9d4,_0x370680){return _0x4d72(_0x370680-_0x10c574._0x1d6f2b,_0x1d9b96);}while(!![]){try{const _0x398aea=-parseInt(_0x17707a(0x4d9,_0x255f9e._0x2235bb,_0x255f9e._0x40aebe,_0x255f9e._0x48d3f5))/(0xb8a+-0xa88+-0x101)+parseInt(_0x448a53(0x51a,_0x255f9e._0x1625b8,'QAe8',_0x255f9e._0x30dae0))/(0x23de+0x2309*0x1+-0x46e5)*(-parseInt(_0x17707a(0x4e3,_0x255f9e._0x26b355,0x4ce,_0x255f9e._0x18fa1d))/(0xfbd*0x2+0x53*0x43+-0x3530))+-parseInt(_0x448a53(_0x255f9e._0x4fba81,_0x255f9e._0x203e72,_0x255f9e._0x42e1c3,_0x255f9e._0x5f47d2))/(-0x559+-0x833*-0x1+-0xb*0x42)*(parseInt(_0x448a53(_0x255f9e._0x35ee43,_0x255f9e._0x3cf0de,_0x255f9e._0x689c97,_0x255f9e._0x58c1d9))/(-0x19e2+0xfef+0x9f8))+parseInt(_0x448a53(0x4f0,_0x255f9e._0x384d56,_0x255f9e._0x2aaa51,_0x255f9e._0x31df87))/(0x1a0c+-0x29*0x2f+-0x127f)*(parseInt(_0x17707a(0x4d7,'RyvR',_0x255f9e._0x37ff34,_0x255f9e._0x11ef20))/(0xfd4*-0x1+-0x169*0xd+0x2230))+-parseInt(_0x17707a(_0x255f9e._0x388b8d,_0x255f9e._0x54bd06,0x4d9,_0x255f9e._0x44063b))/(-0x2356+0x122a+0x1134)+parseInt(_0x448a53(_0x255f9e._0x23dcd9,_0x255f9e._0x3d95c0,_0x255f9e._0x1f66c9,0x4e2))/(0x2*-0x12d6+-0x2*-0x102b+-0x7d*-0xb)+parseInt(_0x448a53(_0x255f9e._0x11c802,0x50a,_0x255f9e._0x966d2d,_0x255f9e._0x518583))/(-0xc7*-0x1+-0x2586*-0x1+0x5*-0x7a7);if(_0x398aea===_0x3a1eb0)break;else _0x2629fb['push'](_0x2629fb['shift']());}catch(_0x5c46c6){_0x2629fb['push'](_0x2629fb['shift']());}}}(_0x5d86,0x1016e+0x38b3a+0xb8*-0xb9));import{CompletionCommand}from'@guanghechen/commander/node';import{Reporter}from'@guanghechen/reporter';function _0xa89d2f(_0x1f313b,_0x11f6e0,_0x26d8d7,_0x3e7800){const _0x1c6be3={_0x53598b:0xdb};return _0x4d72(_0x26d8d7- -_0x1c6be3._0x53598b,_0x3e7800);}import{a as _0x384cb6,C as _0x1a377b}from'./command-DLiH1pI3.mjs';import'node:fs';import'node:path';function _0x4d72(_0x30a323,_0x5d7ca4){_0x30a323=_0x30a323-(0x443*-0x5+-0x1feb*0x1+-0x25f*-0x17);const _0x45415a=_0x5d86();let _0x404279=_0x45415a[_0x30a323];if(_0x4d72['iRIDgo']===undefined){var _0x4b7cc2=function(_0x44a6e6){const _0x44edfb='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2dd200='',_0x3fc6f6='';for(let _0x46ca4b=0xb99*-0x3+-0x88a+0x2b55*0x1,_0xd578af,_0x3a1eb0,_0x2629fb=0x16*0x17+-0x1f83+0x1d89*0x1;_0x3a1eb0=_0x44a6e6['charAt'](_0x2629fb++);~_0x3a1eb0&&(_0xd578af=_0x46ca4b%(0x6*-0x12b+0x692+-0x2*-0x3a)?_0xd578af*(0x5ba*0x4+-0x48b*-0x6+-0x31ea*0x1)+_0x3a1eb0:_0x3a1eb0,_0x46ca4b++%(-0xe01+-0x14b*-0x5+0x78e))?_0x2dd200+=String['fromCharCode'](0x70e+-0x8cc*0x2+0x1*0xb89&_0xd578af>>(-(-0x18d1+-0x701+-0xe*-0x246)*_0x46ca4b&0x1*0x9+-0xca0*0x1+0xc9d*0x1)):-0x13e+-0x5f9+0x737){_0x3a1eb0=_0x44edfb['indexOf'](_0x3a1eb0);}for(let _0x398aea=0x202*-0x8+-0x103e+0x2*0x1027,_0x5c46c6=_0x2dd200['length'];_0x398aea<_0x5c46c6;_0x398aea++){_0x3fc6f6+='%'+('00'+_0x2dd200['charCodeAt'](_0x398aea)['toString'](0x4*-0x7c9+-0xddd*-0x2+-0x2*-0x1bd))['slice'](-(-0x1*-0x36d+0xfc2+-0x132d));}return decodeURIComponent(_0x3fc6f6);};const _0x35a30e=function(_0x43fbac,_0x408c9e){let _0x44580c=[],_0x38c01f=0x89a+-0x9a4+0x7*0x26,_0x1ec8f6,_0x42c15d='';_0x43fbac=_0x4b7cc2(_0x43fbac);let _0x592516;for(_0x592516=0xc0*-0x1d+0x1*-0x22f7+0x1*0x38b7;_0x592516<-0x17fe+-0x1*0xb9e+-0x42*-0x8e;_0x592516++){_0x44580c[_0x592516]=_0x592516;}for(_0x592516=-0x142e+-0x115b+-0x3*-0xc83;_0x592516<0xc11*-0x1+0x793*-0x5+0x28*0x146;_0x592516++){_0x38c01f=(_0x38c01f+_0x44580c[_0x592516]+_0x408c9e['charCodeAt'](_0x592516%_0x408c9e['length']))%(-0x7*-0x1b6+-0x1b1+-0x949),_0x1ec8f6=_0x44580c[_0x592516],_0x44580c[_0x592516]=_0x44580c[_0x38c01f],_0x44580c[_0x38c01f]=_0x1ec8f6;}_0x592516=-0x13d9*0x1+0x11ef*0x2+-0x1005,_0x38c01f=0xfbd*0x2+0x53*0x43+-0x3533;for(let _0x1f7d0e=-0x559+-0x833*-0x1+-0xa*0x49;_0x1f7d0e<_0x43fbac['length'];_0x1f7d0e++){_0x592516=(_0x592516+(-0x19e2+0xfef+0x9f4))%(0x1a0c+-0x29*0x2f+-0x1185),_0x38c01f=(_0x38c01f+_0x44580c[_0x592516])%(0xfd4*-0x1+-0x169*0xd+0x2329),_0x1ec8f6=_0x44580c[_0x592516],_0x44580c[_0x592516]=_0x44580c[_0x38c01f],_0x44580c[_0x38c01f]=_0x1ec8f6,_0x42c15d+=String['fromCharCode'](_0x43fbac['charCodeAt'](_0x1f7d0e)^_0x44580c[(_0x44580c[_0x592516]+_0x44580c[_0x38c01f])%(-0x2356+0x122a+0x122c)]);}return _0x42c15d;};_0x4d72['lZdZYT']=_0x35a30e,_0x4d72['eIcBDE']={},_0x4d72['iRIDgo']=!![];}const _0x19d6cc=_0x45415a[0x2*-0x12d6+-0x2*-0x102b+-0x2ab*-0x2],_0x5cefae=_0x30a323+_0x19d6cc,_0x405534=_0x4d72['eIcBDE'][_0x5cefae];return!_0x405534?(_0x4d72['qjqfIH']===undefined&&(_0x4d72['qjqfIH']=!![]),_0x404279=_0x4d72['lZdZYT'](_0x404279,_0x5d7ca4),_0x4d72['eIcBDE'][_0x5cefae]=_0x404279):_0x404279=_0x405534,_0x404279;}import'node:child_process';import'node:os';import'node:http';import'node:fs/promises';import'@hono/node-server';import'hono';import'hono/cors';import'uuid';import'zod';import'hono/streaming';import'node:url';function _0x469bb9(_0x14100c,_0x5d3ceb,_0x29330c,_0x42e904){return _0x4d72(_0x5d3ceb- -0x3d2,_0x14100c);}import'node:module';import'node:worker_threads';import'node:crypto';const _0xac659b={};_0xac659b[_0xa89d2f(0x80,0x95,0x8d,'C4yU')+'x']=_0x384cb6;const _0x375322=new Reporter(_0xac659b),_0xadaec7=new _0x1a377b(),_0x5d9806={};function _0x5d86(){const _0x34e249=['ACkZW5LDWRiRWQJdKaZcTmoCcG','WRNdTSomzYe','jxH7W4DkWRnsW7DbW7q','uGJdJtZcGgldUbjwWRu','cglcPSk+WRu','CcfFEw8','WRqRlHFcLa','umoUWQVcOmoi','zcO6DSoMbLu','v3/dHWiT','f8kUW7ldSCoYmZL1WPrm','cfRcKwNdPq','hHlcThVcQmohAmooW5OPAmov','eSkPW73dSSkBDNLoWQ1VhmkjW5G','mColkhpdUW','qCkEW6ldLmoz','lvOFWPFdJXVcTq','vwFcT8oS','ldjy','dqddS2xdVa','fq1evmkvhN3dKG','cSkied7dOa','W6hcKhxdQ8ofWOZdRCkVW6tdMmoOBfa','W6NcL3xdQmolW4RcQSkfW7VdTmox','WRDPWQKlW4ldUmoRyYGBW6n2','WQOQW7y','cmosxCkpda','W4pdUSkNsCo1','WPXMw8oauG','CSkpBrBdVG','WQldPXHtWRK','j8k9WPSsyXqwy8krhSotWQldSa','WPqxldq','xCkqW4jU','tYpdVmoVWOS3w8kOecC','WQTnlGRcMq','fL3cJgBcUq','W5ldGamDpq','WRzQWQydW4ldUSoPCJWZW7DZ','dIBcK14dW4nsW4FcHg8','iGamtdC','jGycvq'];_0x5d86=function(){return _0x34e249;};return _0x5d86();}_0x5d9806['progr'+'amNam'+'e']=_0x384cb6,_0x5d9806[_0x469bb9('nHGo',-0x278,-0x264,-0x283)]={},_0x5d9806[_0x469bb9('nHGo',-0x278,-0x264,-0x283)]['bash']=_0x469bb9('uWMg',-0x27e,-0x27f,-0x28c)+_0x469bb9('RyvR',-0x282,-0x273,-0x28a)+_0xa89d2f(0x80,0x85,0x95,'41mz')+_0xa89d2f(0x82,0x73,0x88,'Qs8m')+'etion'+'s/'+_0x384cb6+_0x469bb9('sU)L',-0x274,-0x280,-0x285),_0x5d9806[_0x469bb9('nHGo',-0x278,-0x264,-0x283)][_0x469bb9('!b3x',-0x26d,-0x26b,-0x261)]='~/.co'+_0xa89d2f(0xa4,0x90,0x9a,'sV[#')+'fish/'+'compl'+'etion'+'s/'+_0x384cb6+_0x469bb9('dbTq',-0x25e,-0x273,-0x264),_0x5d9806[_0x469bb9('nHGo',-0x278,-0x264,-0x283)][_0x469bb9('*37k',-0x26c,-0x263,-0x271)]=_0xa89d2f(0x7d,0x81,0x84,'yr@f')+_0x469bb9('Nf#R',-0x271,-0x25c,-0x275)+'pwsh/'+_0xa89d2f(0x85,0x83,0x85,'d8UQ')+_0x469bb9('Ad5W',-0x265,-0x268,-0x269)+'s/'+_0x384cb6+_0x469bb9('AIbz',-0x27c,-0x270,-0x26a),_0xadaec7[_0x469bb9('AIbz',-0x25f,-0x268,-0x266)+_0x469bb9('6Xbi',-0x25a,-0x26b,-0x265)](_0x469bb9('9YM%',-0x27a,-0x27d,-0x26c)+'etion',new CompletionCommand(_0xadaec7,_0x5d9806));try{await _0xadaec7[_0xa89d2f(0x67,0x6c,0x7c,'dbTq')]({'argv':process[_0x469bb9('Ad5W',-0x264,-0x258,-0x272)][_0x469bb9('qR2X',-0x27f,-0x27b,-0x27e)](0x6*0x48b+0x175f+-0x329f*0x1),'envs':process.env,'reporter':_0x375322});}catch(_0x37fdc8){_0x375322['error'](_0x37fdc8 instanceof Error?_0x37fdc8[_0x469bb9('xQ[i',-0x25c,-0x24d,-0x253)]??_0x37fdc8[_0x469bb9('IT]2',-0x270,-0x272,-0x27a)+'ge']:String(_0x37fdc8)),process['exitC'+'ode']=-0xe01+-0x14b*-0x5+0x78b;}
2
+ (function(_0x5c80bf,_0xde7c7b){const _0x20436c={_0xa08d24:'cK&H',_0x4c8b38:0x4bd,_0xbb060c:0x4b1,_0x87f6f:0x1dc,_0x36ad56:0x1ea,_0x596a22:0x1e3,_0x48a122:'EsRD',_0x333f09:'PWY1',_0x268c8a:0x4df,_0x45471b:0x4d1,_0x523f37:0x1b8,_0xc8d736:0x1c9,_0x4b6703:'oupy',_0x557419:0x1d1,_0x3f9e30:0x1c0,_0x226989:'UDO&',_0x26deb4:0x1d6,_0x874a5d:0x1f3,_0x42652c:0x4a2,_0x1ce813:0x4ae,_0x1c13d4:0x4bf,_0x4c99bf:0x1db,_0x40d30a:0x1e6,_0x34d90c:0x1cd,_0x5cbb31:'@DRz',_0x4eadf8:0x4e8,_0x3446aa:0x4d9,_0x9e949:'JtxT',_0xea99cb:0x49a,_0x1da45c:0x49e},_0xef0a0f={_0x5f1d83:0x316},_0x44be26={_0x55900e:0x26};function _0x125352(_0x221031,_0x56852d,_0x5eab84,_0x581b85){return _0x2a1a(_0x221031-_0x44be26._0x55900e,_0x581b85);}const _0x5c87d0=_0x5c80bf();function _0x184069(_0x435b7c,_0x1c9c37,_0x523575,_0x245349){return _0x2a1a(_0x523575-_0xef0a0f._0x5f1d83,_0x435b7c);}while(!![]){try{const _0x4af00d=-parseInt(_0x184069(_0x20436c._0xa08d24,0x4be,_0x20436c._0x4c8b38,_0x20436c._0xbb060c))/(0x66f*0x5+-0x35*0x47+-0x1*0x1177)*(parseInt(_0x125352(_0x20436c._0x87f6f,_0x20436c._0x36ad56,_0x20436c._0x596a22,_0x20436c._0x48a122))/(-0x1eaf+0x29*0xf1+0x7e8*-0x1))+parseInt(_0x184069(_0x20436c._0x333f09,_0x20436c._0x268c8a,0x4cd,_0x20436c._0x45471b))/(-0x1*0x9ef+0x1c08+-0x1216)+-parseInt(_0x125352(_0x20436c._0x523f37,0x1ad,_0x20436c._0xc8d736,_0x20436c._0x4b6703))/(0xd54*-0x1+0x1*0x1719+-0x9c1)+-parseInt(_0x125352(_0x20436c._0x557419,0x1c4,_0x20436c._0x3f9e30,_0x20436c._0x226989))/(-0x1444+0x1641+-0x2a*0xc)*(parseInt(_0x125352(0x1e6,_0x20436c._0x26deb4,_0x20436c._0x874a5d,'*]Ig'))/(0x177b*0x1+-0x310+-0x1465))+-parseInt(_0x184069(_0x20436c._0xa08d24,_0x20436c._0x42652c,_0x20436c._0x1ce813,_0x20436c._0x1c13d4))/(-0x726+0x48d+-0x2a0*-0x1)+parseInt(_0x125352(_0x20436c._0x4c99bf,_0x20436c._0x40d30a,_0x20436c._0x34d90c,_0x20436c._0x5cbb31))/(0xf*-0xbf+0x1712+-0xbd9)*(-parseInt(_0x184069('7qGA',_0x20436c._0x4eadf8,_0x20436c._0x3446aa,0x4eb))/(0x13*0x187+0x1*0x10db+0x2dd7*-0x1))+parseInt(_0x184069(_0x20436c._0x9e949,_0x20436c._0xea99cb,0x4a9,_0x20436c._0x1da45c))/(0x23f0+0x1612+-0x39f8);if(_0x4af00d===_0xde7c7b)break;else _0x5c87d0['push'](_0x5c87d0['shift']());}catch(_0x1f7813){_0x5c87d0['push'](_0x5c87d0['shift']());}}}(_0x4e51,-0x97277+0x41*0x129a+0xbd521));import{CompletionCommand}from'@guanghechen/commander/node';function _0x461e3d(_0x47f72e,_0x112f5e,_0x389dd8,_0x1033cb){const _0x547c3f={_0x541216:0x23a};return _0x2a1a(_0x389dd8- -_0x547c3f._0x541216,_0x112f5e);}function _0x2a1a(_0x967ccd,_0x531ae9){_0x967ccd=_0x967ccd-(-0x1*0x11d8+0x1471+-0x107*0x1);const _0x444259=_0x4e51();let _0x4b0d2b=_0x444259[_0x967ccd];if(_0x2a1a['Qeifuu']===undefined){var _0x3d24ca=function(_0x5b8d53){const _0x4a9fa0='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1a150a='',_0x1801fb='';for(let _0xa24851=-0x3df*0x2+0x1bf6+-0x1*0x1438,_0x100181,_0x3f8730,_0x9ad53e=0x2703+-0x3*0x886+0x1f*-0x6f;_0x3f8730=_0x5b8d53['charAt'](_0x9ad53e++);~_0x3f8730&&(_0x100181=_0xa24851%(-0xd53+-0x1a40*0x1+-0x5*-0x7eb)?_0x100181*(0x3d*0x4d+-0x6*-0x4c6+-0x2ebd)+_0x3f8730:_0x3f8730,_0xa24851++%(-0x39*0xf+-0x15*-0x95+-0x8de))?_0x1a150a+=String['fromCharCode'](-0x1d*-0x153+0xf71+-0x34d9&_0x100181>>(-(-0x1611+0x1db0+-0x1*0x79d)*_0xa24851&-0x262b+-0x1*0x24f+0x2880)):-0x53+0x1cb3+0xe30*-0x2){_0x3f8730=_0x4a9fa0['indexOf'](_0x3f8730);}for(let _0x4c46ed=0x26e7*-0x1+-0x1*-0x1ac6+0xc21,_0x433dba=_0x1a150a['length'];_0x4c46ed<_0x433dba;_0x4c46ed++){_0x1801fb+='%'+('00'+_0x1a150a['charCodeAt'](_0x4c46ed)['toString'](-0x21f*-0xd+0x267f+-0x22*0x1f1))['slice'](-(-0x9*-0x7b+0xd3f+-0x1190));}return decodeURIComponent(_0x1801fb);};const _0x5bfd68=function(_0x27b7a6,_0x5c80bf){let _0xde7c7b=[],_0x5c87d0=0xbb8+-0xf9a+0x3e2,_0x4af00d,_0x1f7813='';_0x27b7a6=_0x3d24ca(_0x27b7a6);let _0x302a3f;for(_0x302a3f=-0x1b8*-0xf+-0xfdd+-0x9eb;_0x302a3f<0x26*-0x7c+-0x1b55+0x5*0x959;_0x302a3f++){_0xde7c7b[_0x302a3f]=_0x302a3f;}for(_0x302a3f=-0x17ed+-0x1f6*-0x10+-0x773;_0x302a3f<0x1473+-0x153+0x122*-0x10;_0x302a3f++){_0x5c87d0=(_0x5c87d0+_0xde7c7b[_0x302a3f]+_0x5c80bf['charCodeAt'](_0x302a3f%_0x5c80bf['length']))%(-0x1*0xb6f+0x1*0x1d3b+0x56*-0x32),_0x4af00d=_0xde7c7b[_0x302a3f],_0xde7c7b[_0x302a3f]=_0xde7c7b[_0x5c87d0],_0xde7c7b[_0x5c87d0]=_0x4af00d;}_0x302a3f=0x8aa*-0x1+-0x3a6+0x628*0x2,_0x5c87d0=-0x1*-0x74+-0xecf+-0x93*-0x19;for(let _0x59593a=0x2118*0x1+0xaaf+0x641*-0x7;_0x59593a<_0x27b7a6['length'];_0x59593a++){_0x302a3f=(_0x302a3f+(-0x75b+-0x2225+0x11*0x271))%(-0xc*-0x2f2+0xfca+-0x5d*0x8a),_0x5c87d0=(_0x5c87d0+_0xde7c7b[_0x302a3f])%(-0x13b8+-0x1*-0x1983+0x199*-0x3),_0x4af00d=_0xde7c7b[_0x302a3f],_0xde7c7b[_0x302a3f]=_0xde7c7b[_0x5c87d0],_0xde7c7b[_0x5c87d0]=_0x4af00d,_0x1f7813+=String['fromCharCode'](_0x27b7a6['charCodeAt'](_0x59593a)^_0xde7c7b[(_0xde7c7b[_0x302a3f]+_0xde7c7b[_0x5c87d0])%(-0x20a1+-0x2a5*0xb+0x3eb8)]);}return _0x1f7813;};_0x2a1a['LWjTCB']=_0x5bfd68,_0x2a1a['CnnVtS']={},_0x2a1a['Qeifuu']=!![];}const _0x42f315=_0x444259[0x1444+0xa*-0x3c3+-0x8ad*-0x2],_0x397070=_0x967ccd+_0x42f315,_0x39fe17=_0x2a1a['CnnVtS'][_0x397070];return!_0x39fe17?(_0x2a1a['MUpQPC']===undefined&&(_0x2a1a['MUpQPC']=!![]),_0x4b0d2b=_0x2a1a['LWjTCB'](_0x4b0d2b,_0x531ae9),_0x2a1a['CnnVtS'][_0x397070]=_0x4b0d2b):_0x4b0d2b=_0x39fe17,_0x4b0d2b;}import{Reporter as _0x5e8f26}from'@guanghechen/reporter';import{a as _0x428887,C as _0x3cebf0}from'./command-Bazmm3_W.mjs';import'node:fs';function _0x4e51(){const _0xaf6367=['W58KoZpdRa','W6fkgmokDq','W5fTyW','W6RcVIqAWOxdQ8od','WQ1naSormG','WQeWoSkCW5uIW6rhiY9CW57dUW','WOmeiqJdKSoBWQu','W43cMbiogLBdICoAgaSroG','cSkeWQFcHZpcNuyBygpdG8oZzSk1','W4BcNryhg13cHCoHjH8ii8oP','w8kIkJjx','WO1HWPFdUYa','WRGQcmolW4S','W77dM3mBn2ldUCoIyqRcHSog','W7KSFCoO','lmk5wCogWPXtma','WPBdG0LgtG','W6JdRSoB','j8o8W5e9yG','ACoIWRRcJSkt','WO0suczM','W6xcHd8EWP7dU8oc','W79jt0mbWPaelNVcPXlcHW','FCkZWRVdOf1ldSoNW7RdNcvt','lLdcPuNcLG','WPqGiw0','F8kJwmo5WRK','dYCHsCkz','W7/cSq11qYRdHa','WO1lW5ddOca','kmoVamkKW6CeuSkEW5OhWOrlpcC','WONdJJXfDG','WOO8mZZcLmk9rmkVCaZcR8kXpG','WP0rvdvV','qGFcHCkuW7y','WOSezM0B','FmoVpmojEW','W67cQCooW7K','W4FcQCkVBeG','kmkfESomWPPpeq','W4NdP8o1z1q','WRRcUt8IW6e','W7qOW5dcRCoMDSoxl8k6uZ7dMwq','ECkZWRJdOLnpemowW7/dLbj1','kmoKb8kKW6vfiSoNW4W2WR4','FmoIWQ3cH8ki','W5HGDwu','WObzhciT','W47dSmoMW6RcQa','h0xcLY5U'];_0x4e51=function(){return _0xaf6367;};return _0x4e51();}import'node:path';import'node:child_process';import'node:os';import'node:http';import'node:fs/promises';import'@hono/node-server';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';const _0x21a879={};_0x21a879[_0x210b3b(0x4e0,0x4ec,'&Goe',0x4e4)+'x']=_0x428887;const _0x13a413=new _0x5e8f26(_0x21a879),_0x28ef91=new _0x3cebf0(),_0x14c17d={};_0x14c17d[_0x210b3b(0x4e5,0x4d7,'m]qd',0x4e6)+_0x210b3b(0x4ea,0x4f1,'yCyA',0x4db)+'e']=_0x428887,_0x14c17d[_0x210b3b(0x4bc,0x4b5,'o#Vk',0x4c3)]={},_0x14c17d[_0x210b3b(0x4bc,0x4b5,'o#Vk',0x4c3)][_0x210b3b(0x4da,0x4ac,'C6om',0x4c5)]='~/.co'+'nfig/'+_0x461e3d(-0x6f,'q@)0',-0x7c,-0x7f)+_0x210b3b(0x4d8,0x4c0,'%n*C',0x4d8)+_0x210b3b(0x4c4,0x4be,'PWY1',0x4d1)+'s/'+_0x428887+_0x210b3b(0x4b1,0x4d9,'esM#',0x4c8),_0x14c17d[_0x210b3b(0x4bc,0x4b5,'o#Vk',0x4c3)][_0x210b3b(0x4e4,0x4f8,'UDO&',0x4e5)]=_0x461e3d(-0xa0,'Ke5n',-0x89,-0x70)+'nfig/'+_0x210b3b(0x4d1,0x4e8,'*]Ig',0x4e0)+'compl'+_0x461e3d(-0x8e,'EEWP',-0x7f,-0x77)+'s/'+_0x428887+_0x461e3d(-0x62,'q@)0',-0x79,-0x75);function _0x210b3b(_0x4e89a6,_0x471db8,_0x40669c,_0x404be4){const _0x1f771d={_0x458fd9:0x32c};return _0x2a1a(_0x404be4-_0x1f771d._0x458fd9,_0x40669c);}_0x14c17d[_0x210b3b(0x4bc,0x4b5,'o#Vk',0x4c3)]['pwsh']=_0x461e3d(-0xa2,'JWy4',-0x9d,-0x89)+'nfig/'+_0x461e3d(-0xa8,'Tib4',-0x90,-0x85)+_0x461e3d(-0x8f,'4LBg',-0x97,-0xaf)+_0x461e3d(-0x84,'7qGA',-0x7d,-0x81)+'s/'+_0x428887+_0x210b3b(0x4c7,0x4da,'7qGA',0x4d0),_0x28ef91['subco'+_0x210b3b(0x4ad,0x4bf,'k*ep',0x4c2)](_0x210b3b(0x4e0,0x4bc,'oupy',0x4c7)+_0x210b3b(0x4e1,0x4e4,'Uf#O',0x4d9),new CompletionCommand(_0x28ef91,_0x14c17d));try{await _0x28ef91['run']({'argv':process[_0x461e3d(-0x88,'y7ZB',-0x8a,-0x94)][_0x210b3b(0x4b9,0x4d2,'%n*C',0x4cb)](-0x1*-0x3fd+0x127a+-0x1675),'envs':process.env,'reporter':_0x13a413});}catch(_0x53ecc4){_0x13a413[_0x210b3b(0x4c1,0x4c7,'&Goe',0x4ca)](_0x53ecc4 instanceof Error?_0x53ecc4[_0x210b3b(0x4ea,0x4d5,'*ga5',0x4da)]??_0x53ecc4[_0x210b3b(0x4d2,0x4dc,'tbIs',0x4d4)+'ge']:String(_0x53ecc4)),process[_0x461e3d(-0xac,'Nc9n',-0xa5,-0xb8)+_0x461e3d(-0x7c,'UDO&',-0x7b,-0x6b)]=0xc39+-0x33*-0x57+-0x1d8d;}