@guanghechen/kit-copilot 0.6.9 → 0.6.11

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
@@ -15,26 +15,43 @@ There is no runtime fallback from business logic to global `process.env` for cri
15
15
  - `GH_PRIMARY_TOKEN`
16
16
  - `COPILOT_MODEL_REFRESH_SEC`
17
17
 
18
- ## Preset Root And `.env.local`
18
+ ## Preset File (`preset.json`)
19
19
 
20
- Preset root:
20
+ Config root:
21
21
 
22
22
  - `$XDG_CONFIG_HOME/kit/copilot` when `XDG_CONFIG_HOME` is set
23
23
  - `~/.config/kit/copilot` otherwise
24
24
 
25
- Default preset env file:
25
+ Default preset file:
26
26
 
27
- - `<preset-root>/.env.local`
27
+ - `<config-root>/preset.json`
28
28
 
29
- The file is loaded by commander preset logic and merged into `ctx.envs`.
29
+ Commander loads preset data from `preset.json` (`preset.file`) and merges selected profile into `ctx.envs`.
30
+ If `<config-root>/preset.json` does not exist, command runs without preset envs.
31
+
32
+ Example `preset.json`:
33
+
34
+ ```json
35
+ {
36
+ "version": 1,
37
+ "defaults": { "profile": "default" },
38
+ "profiles": {
39
+ "default": {
40
+ "envFile": ".env.local"
41
+ }
42
+ }
43
+ }
44
+ ```
30
45
 
31
46
  ## Token Persistence
32
47
 
33
48
  `kit-copilot auth` persists `GH_PRIMARY_TOKEN` to preset env storage.
34
49
 
35
- - Persist target: `<preset-root>/.env.local`
50
+ - Persist target: `<config-root>/.env.local`
36
51
  - `GH_COPILOT_TOKEN` is not persisted
37
52
 
53
+ Note: `.env.local` is not auto-loaded by commander unless `preset.json` profile points to it (for example via `envFile`).
54
+
38
55
  ## Examples
39
56
 
40
57
  ```bash
package/lib/esm/cli.mjs CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- (function(_0xfe421a,_0x441bd2){const _0x3a98a6={_0x21bbfb:'&$fL',_0x4de827:0x53b,_0x2dc987:0x53f,_0x889bf5:0x539,_0x456b08:'pfnD',_0x39fbf9:0x558,_0x4c135c:0x55f,_0x4c71f2:0x562,_0x395677:'gQz*',_0x3f6f07:0x547,_0xe4c330:0x52c,_0x498374:'r!dj',_0x922179:0x55a,_0x172a9d:0x543,_0x556296:0x559,_0x5603ce:0x55b,_0x267425:0x554,_0x37ac3e:'@xwg',_0x9a1203:0x363,_0x243ea4:0x34f,_0x17db70:'3Y!s',_0x52d14b:0x348,_0x1469d7:'r!dj',_0x15c146:0x541,_0x2e7437:0x538,_0x173020:0x54f,_0x5d8124:'3Y!s',_0x1be619:0x356,_0x1d5487:0x35f,_0xd81861:0x359,_0x581c2f:'jKZr',_0xcc0726:0x341,_0x21c16a:0x34d,_0x4670c7:'Rk*['},_0x52d7b6={_0x3c3c87:0x1d5},_0x43a25f={_0x1d317c:0x3d7};function _0x31ddf8(_0x4f6423,_0x175461,_0x13d525,_0x4b9de0){return _0x3340(_0x175461-_0x43a25f._0x1d317c,_0x4f6423);}function _0x149214(_0x2759ae,_0x372b16,_0x4a12fe,_0x2a2d5a){return _0x3340(_0x4a12fe-_0x52d7b6._0x3c3c87,_0x2759ae);}const _0x2be92a=_0xfe421a();while(!![]){try{const _0x15336d=parseInt(_0x31ddf8(_0x3a98a6._0x21bbfb,_0x3a98a6._0x4de827,_0x3a98a6._0x2dc987,_0x3a98a6._0x889bf5))/(0x176a*-0x1+-0x1b93+0x3d*0xd6)*(parseInt(_0x31ddf8(_0x3a98a6._0x456b08,_0x3a98a6._0x39fbf9,_0x3a98a6._0x4c135c,_0x3a98a6._0x4c71f2))/(0x2*0x607+-0x2197+0x158b*0x1))+-parseInt(_0x31ddf8(_0x3a98a6._0x395677,0x542,_0x3a98a6._0x3f6f07,_0x3a98a6._0xe4c330))/(0x1c13+0xe5*0x1b+-0x3437)*(parseInt(_0x31ddf8(_0x3a98a6._0x498374,_0x3a98a6._0x922179,_0x3a98a6._0x172a9d,_0x3a98a6._0x556296))/(0x1b*-0x14f+-0x2*-0xf92+0x1*0x435))+-parseInt(_0x31ddf8('Rk*[',0x54b,_0x3a98a6._0x5603ce,_0x3a98a6._0x267425))/(-0x2530+-0xaea+0x301f*0x1)+parseInt(_0x149214(_0x3a98a6._0x37ac3e,_0x3a98a6._0x9a1203,0x352,_0x3a98a6._0x243ea4))/(-0x6*-0x337+0x11+-0x1355)+-parseInt(_0x149214(_0x3a98a6._0x17db70,0x34a,_0x3a98a6._0x52d14b,_0x3a98a6._0x243ea4))/(-0x25e3+-0x217a+-0xc*-0x5f3)+parseInt(_0x31ddf8(_0x3a98a6._0x1469d7,_0x3a98a6._0x15c146,_0x3a98a6._0x2e7437,_0x3a98a6._0x173020))/(0x14c2+0xb*0x33a+0x1*-0x3838)*(-parseInt(_0x149214(_0x3a98a6._0x5d8124,_0x3a98a6._0x1be619,_0x3a98a6._0x1d5487,_0x3a98a6._0xd81861))/(-0xa63+0xacf*0x1+-0x63))+parseInt(_0x149214(_0x3a98a6._0x581c2f,_0x3a98a6._0xcc0726,_0x3a98a6._0x21c16a,0x35f))/(-0x24bd+-0x100*-0xc+0x18c7)*(parseInt(_0x149214(_0x3a98a6._0x4670c7,_0x3a98a6._0x9a1203,0x355,0x356))/(0x1*-0x950+0x2fe*0x5+-0x59b));if(_0x15336d===_0x441bd2)break;else _0x2be92a['push'](_0x2be92a['shift']());}catch(_0x19b1b0){_0x2be92a['push'](_0x2be92a['shift']());}}}(_0x5237,0xbbe5+0xce*0x46d+-0x5db*0x62));import{CompletionCommand}from'@guanghechen/commander/node';function _0x38361c(_0x5b0923,_0x19b5e3,_0x1846b2,_0x5513e0){return _0x3340(_0x1846b2-0x320,_0x5513e0);}import{Reporter}from'@guanghechen/reporter';import{a as _0x56c8da,C as _0x3dfe66}from'./command-DJUrs5rc.mjs';import'node:fs';import'node:path';import'node:child_process';import'node:os';import'node:http';function _0x3340(_0x6d3e9c,_0x1df373){_0x6d3e9c=_0x6d3e9c-(0x1*-0x1cd0+0x5*-0x439+0x334d);const _0x2bbad5=_0x5237();let _0x3168c4=_0x2bbad5[_0x6d3e9c];if(_0x3340['HHnVYM']===undefined){var _0x1a879c=function(_0x3a1507){const _0x4cc989='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x325599='',_0x23030f='';for(let _0x3ce0fe=0x168f+-0x83*0x11+-0xddc,_0x23b71a,_0x4be2c3,_0x5950cb=-0x1fbb*-0x1+0x19bd+-0x3978;_0x4be2c3=_0x3a1507['charAt'](_0x5950cb++);~_0x4be2c3&&(_0x23b71a=_0x3ce0fe%(0x3*0x71f+0x25ab+-0x3b04)?_0x23b71a*(-0x8db*-0x2+0x26e8+-0x385e)+_0x4be2c3:_0x4be2c3,_0x3ce0fe++%(0x2292+-0x20a3+-0x1eb))?_0x325599+=String['fromCharCode'](-0x1*-0x1387+-0x1ed*-0x10+0x4*-0xc56&_0x23b71a>>(-(0xa11+-0x1506+0xaf7)*_0x3ce0fe&-0x2410+0x25f5+-0x1df*0x1)):0x169*-0x5+0x1e67+-0x175a){_0x4be2c3=_0x4cc989['indexOf'](_0x4be2c3);}for(let _0x98ac57=0x8e*-0x1d+0x5*-0xfd+0x1*0x1507,_0x2d8dfa=_0x325599['length'];_0x98ac57<_0x2d8dfa;_0x98ac57++){_0x23030f+='%'+('00'+_0x325599['charCodeAt'](_0x98ac57)['toString'](0xd87+-0x3*0x78d+0x930))['slice'](-(-0x7b2*0x1+0x269a+-0x1ee6));}return decodeURIComponent(_0x23030f);};const _0x47e203=function(_0x3e555d,_0x221ab7){let _0x4f89dd=[],_0xd81347=0xc11*0x1+-0x30d*-0x6+-0x1e5f*0x1,_0x15e4dd,_0x2452ab='';_0x3e555d=_0x1a879c(_0x3e555d);let _0x41f2de;for(_0x41f2de=0x89f*-0x1+-0x24e7+0x1*0x2d86;_0x41f2de<-0x1*-0xf7c+-0x6bb*-0x1+-0x1537;_0x41f2de++){_0x4f89dd[_0x41f2de]=_0x41f2de;}for(_0x41f2de=0x1542+0x1*-0x1987+0x445;_0x41f2de<0x1*-0x1703+-0x948+-0x3*-0xb19;_0x41f2de++){_0xd81347=(_0xd81347+_0x4f89dd[_0x41f2de]+_0x221ab7['charCodeAt'](_0x41f2de%_0x221ab7['length']))%(0x11d*0x8+-0x42d*0x4+-0x233*-0x4),_0x15e4dd=_0x4f89dd[_0x41f2de],_0x4f89dd[_0x41f2de]=_0x4f89dd[_0xd81347],_0x4f89dd[_0xd81347]=_0x15e4dd;}_0x41f2de=-0x150e+0xd53+0x7bb,_0xd81347=0x1c0b*-0x1+0x24a6+-0x89b;for(let _0x53d7f4=0x6f2+0x23*0x113+-0xed9*0x3;_0x53d7f4<_0x3e555d['length'];_0x53d7f4++){_0x41f2de=(_0x41f2de+(0xda9+0x429*0x3+0x1a23*-0x1))%(-0x1*0x1ad7+0x1a76+0x161*0x1),_0xd81347=(_0xd81347+_0x4f89dd[_0x41f2de])%(0xc44+0x1*0x1c4f+-0x2793),_0x15e4dd=_0x4f89dd[_0x41f2de],_0x4f89dd[_0x41f2de]=_0x4f89dd[_0xd81347],_0x4f89dd[_0xd81347]=_0x15e4dd,_0x2452ab+=String['fromCharCode'](_0x3e555d['charCodeAt'](_0x53d7f4)^_0x4f89dd[(_0x4f89dd[_0x41f2de]+_0x4f89dd[_0xd81347])%(-0xaea+0x23a7*-0x1+0x1*0x2f91)]);}return _0x2452ab;};_0x3340['KapWfs']=_0x47e203,_0x3340['VoahYB']={},_0x3340['HHnVYM']=!![];}const _0x49059f=_0x2bbad5[0x2e2+-0x10c6+0xde4],_0x5b0156=_0x6d3e9c+_0x49059f,_0x709d82=_0x3340['VoahYB'][_0x5b0156];return!_0x709d82?(_0x3340['nlzwnB']===undefined&&(_0x3340['nlzwnB']=!![]),_0x3168c4=_0x3340['KapWfs'](_0x3168c4,_0x1df373),_0x3340['VoahYB'][_0x5b0156]=_0x3168c4):_0x3168c4=_0x709d82,_0x3168c4;}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 _0x3bf9ce={};_0x3bf9ce[_0x38361c(0x483,0x4a0,0x492,'!KV]')+'x']=_0x56c8da;const _0x16079a=new Reporter(_0x3bf9ce),_0xced192=new _0x3dfe66();function _0x2cc445(_0x59414c,_0x425850,_0xc4bb7b,_0x498276){const _0x568f98={_0x1f789c:0x335};return _0x3340(_0x498276-_0x568f98._0x1f789c,_0x425850);}function _0x5237(){const _0xa3a12f=['WPBcLH3dPZ8','WOLzWOmgoa','WQtcJmoWta0','g2XcqbqHofa','WPFcOSkDW4y','lSoYqW','W7FcNCkVW5tcQmohWOBcNXVcLCk2uW','WRhdJ8keW6fhWOm0','WPZdM8o9WR3dHq','zmo3W4FdQ8ojpumwgmozrSk8WQO','yhXllh4','vKRdTmkqW6e','W7rIDxGB','quBdKhXmWRfuzmkkfG','WOOGgticDMWefSoT','amo8i8k/ta','bSoBabiu','gSoDWPC8W7S','nCo8WR3dQa','W5v8s2Wd','WRyih0S+WQrmDfpcQCowfLu','fCo8nmk2vW','Eqaux8kmWQ/cMCkRefyIW68L','aJZdQCoTk8oqWPOsdCkNW4VcUq','ySksWQ8YW64','vKBdTmklW4W','WPpdHSkKWQVdLq','WQNcNaNcG0BdS8k9tW','fadcHJW','lxvpl3O','qH8ohra','WORdKSo8WRNdK8oZW4NcJSoDWQxdLmo2','WORdM8o9WRJdNmo2WRdcMSoIWOVdL8oElq','qYC4WPi7','uwtcRCk1mW','aJhdQSoVlSouWQGPd8kPW4BcPW','tSkcW5vHW6nmWRBcTW4VW7X0','pw9aphK','r0xdLWvbWPz7uSkB','p8oOqcOb','W7ddQ8kSW4Hj','n8kMWOlcSG','dNTjWRmt','ygLk','W6BcTSoEyrqenG','FWSqhCo/W7ldP8kXkG'];_0x5237=function(){return _0xa3a12f;};return _0x5237();}const _0x189102={};_0x189102[_0x2cc445(0x4cc,'r1A*',0x4d2,0x4c2)+'amNam'+'e']=_0x56c8da,_0x189102[_0x2cc445(0x4c0,'zgRl',0x49e,0x4b3)]={},_0x189102[_0x2cc445(0x4c0,'zgRl',0x49e,0x4b3)][_0x38361c(0x4b5,0x4b8,0x4a6,'3v7V')]='~/.co'+_0x38361c(0x498,0x496,0x485,'u6Fk')+_0x38361c(0x495,0x497,0x49f,'Rk*[')+_0x2cc445(0x4a9,'0k3y',0x49c,0x4af)+'etion'+'s/'+_0x56c8da+_0x2cc445(0x4b2,'0k3y',0x4c0,0x4bd),_0x189102[_0x2cc445(0x4c0,'zgRl',0x49e,0x4b3)][_0x2cc445(0x4ab,'gu59',0x490,0x4a4)]=_0x2cc445(0x4c9,'UOrp',0x4d7,0x4c0)+'nfig/'+_0x38361c(0x48e,0x47a,0x48e,'pfnD')+_0x38361c(0x4a3,0x488,0x48d,'UZA!')+_0x38361c(0x4b7,0x49d,0x4a7,'HCDW')+'s/'+_0x56c8da+_0x2cc445(0x49e,'0k3y',0x48c,0x49c),_0x189102[_0x2cc445(0x4c0,'zgRl',0x49e,0x4b3)]['pwsh']=_0x38361c(0x48a,0x49e,0x495,'nr9e')+'nfig/'+_0x38361c(0x474,0x477,0x489,'jf01')+'compl'+_0x38361c(0x4a2,0x48e,0x497,'hJcT')+'s/'+_0x56c8da+_0x38361c(0x482,0x487,0x481,'7ce&'),_0xced192[_0x2cc445(0x4a9,'0k3y',0x4af,0x4b7)+_0x2cc445(0x4a5,'gQz*',0x4bb,0x4a5)](_0x38361c(0x4a2,0x4a3,0x4a4,'^[@k')+_0x2cc445(0x49c,'7dxZ',0x4ba,0x4ab),new CompletionCommand(_0xced192,_0x189102));try{await _0xced192[_0x2cc445(0x4a2,'^[@k',0x481,0x497)]({'argv':process[_0x38361c(0x488,0x497,0x499,'r!dj')][_0x2cc445(0x4cc,'&$fL',0x4cc,0x4ba)](-0x1a4+0x2292+-0x20ec),'envs':process.env,'reporter':_0x16079a});}catch(_0xab1dbd){_0x16079a[_0x2cc445(0x4b7,'!KV]',0x499,0x4a1)](_0xab1dbd instanceof Error?_0xab1dbd[_0x38361c(0x4a9,0x498,0x49b,'DNnh')]??_0xab1dbd[_0x38361c(0x4ad,0x4a7,0x4ac,'KlNm')+'ge']:String(_0xab1dbd)),process[_0x38361c(0x486,0x487,0x488,'7dxZ')+'ode']=0xa*-0x27c+0x1387+-0x2a9*-0x2;}
2
+ (function(_0x2b15a4,_0x33e30b){const _0x47c9b4={_0x2607fc:'clc!',_0x53e8b6:0x71,_0x4a20ce:0x70,_0x21da19:'8NEn',_0x283a64:0x70,_0x2560ed:0x83,_0x13f033:0x6c,_0x5bb45b:'84I!',_0x1e99ad:0x6a,_0x3b4920:0x6e,_0x3827b1:0x69,_0x4f34e6:0x7e,_0x40ae72:'Xru%',_0x452422:'ZESh',_0x5dba3a:0x56,_0x2dcb46:0x5c,_0x425842:0x53,_0x51a456:')8%n',_0x308177:0x67,_0x336869:0x7a,_0x15865e:0x42,_0x2c0f9e:'c]L4',_0x1bff97:0x67,_0x3248db:0x84,_0x37cd79:0x76,_0xfa129:0x43,_0x374fbf:0x56,_0x296800:0x5e,_0x5a4a8c:0x45,_0x8fc953:0x5c,_0x1ab442:']yph'},_0x4125f8={_0x23ec2c:0x12c},_0x287538=_0x2b15a4();function _0x39246b(_0x479ef4,_0x225126,_0x85b945,_0x24ec68){return _0x2ff3(_0x24ec68- -_0x4125f8._0x23ec2c,_0x479ef4);}function _0x3f1226(_0xc8ebd6,_0x90e437,_0x38973d,_0x411b8d){return _0x2ff3(_0x90e437- -0x123,_0x411b8d);}while(!![]){try{const _0x191354=parseInt(_0x39246b(_0x47c9b4._0x2607fc,-0x7c,-_0x47c9b4._0x53e8b6,-_0x47c9b4._0x4a20ce))/(0x77b+0xa8e+-0x4*0x482)+-parseInt(_0x39246b(_0x47c9b4._0x21da19,-_0x47c9b4._0x283a64,-_0x47c9b4._0x2560ed,-_0x47c9b4._0x13f033))/(0x2*-0x14f+-0x2269+0x2509)*(-parseInt(_0x39246b(_0x47c9b4._0x5bb45b,-0x71,-_0x47c9b4._0x1e99ad,-_0x47c9b4._0x3b4920))/(0x4d*-0x59+0x3*0xaf3+-0x611*0x1))+parseInt(_0x3f1226(-0x76,-_0x47c9b4._0x3827b1,-_0x47c9b4._0x4f34e6,_0x47c9b4._0x40ae72))/(0xea9+0x1f3*0x12+0x31bb*-0x1)*(-parseInt(_0x39246b(_0x47c9b4._0x452422,-_0x47c9b4._0x5dba3a,-_0x47c9b4._0x2dcb46,-_0x47c9b4._0x425842))/(0x262e+-0x22d*0x6+-0x191b))+-parseInt(_0x39246b(_0x47c9b4._0x51a456,-0x6f,-_0x47c9b4._0x308177,-_0x47c9b4._0x336869))/(0x11e7+0x1*0xf59+-0x2*0x109d)*(parseInt(_0x39246b('1!%i',-_0x47c9b4._0x15865e,-0x58,-_0x47c9b4._0x5dba3a))/(-0xe4c+0x9*0x1b7+-0x11c))+-parseInt(_0x39246b(_0x47c9b4._0x2c0f9e,-_0x47c9b4._0x1bff97,-_0x47c9b4._0x3248db,-_0x47c9b4._0x37cd79))/(-0x1f*-0x15+-0x1ca*-0x8+-0x3b*0x49)+-parseInt(_0x3f1226(-_0x47c9b4._0xfa129,-_0x47c9b4._0x374fbf,-_0x47c9b4._0x296800,'uOLk'))/(-0x10*0x1a5+0x1*0x1f49+0x8*-0x9e)+parseInt(_0x3f1226(-_0x47c9b4._0x5a4a8c,-0x5b,-_0x47c9b4._0x8fc953,_0x47c9b4._0x1ab442))/(0x1dad+0x1393+-0x3136);if(_0x191354===_0x33e30b)break;else _0x287538['push'](_0x287538['shift']());}catch(_0x488b31){_0x287538['push'](_0x287538['shift']());}}}(_0x2ec4,-0x880ef+0xea249+0x46aa8));import{CompletionCommand}from'@guanghechen/commander/node';import{Reporter}from'@guanghechen/reporter';import{a as _0x56db25,C as _0x5e3adc}from'./command-DF8UKSzn.mjs';import'node:fs';function _0x2ec4(){const _0x577634=['W4GiW4/dKSoF','e8k1WQpdPCoG','WQlcJmkyW5PuW4pdVCkMW7D6zmk7wq','FxzPWP4X','BCk2q1/cKdrAW65+WOlcTCoiW6C','ACklW7q+fG','WQ9CeqDC','WQFcM8oXW7dcPa','qSohWRJdMNC','WQDtcWG','hmo2jmobdG','W6qhW48juKykBmkgWRNdRSoX','B8kCW7a6oq','W73dJ8k2WQdcUSoQeHC9W4BcG8kTiG','ASk1qf7cKtPFW6HGWPNcVmoKW6y','wtanxmoEWQiLgmkMWOWdWRdcOG','hCo9WOvIW5Lct8oUwx8CeSoe','jSkzk8k7WPC','WPRcR8opWPpcMG','WQpcL1ldSCkNj8oPWQOYWRCCW5tcNW','a0zCW5WMW5JdHW','xCk7W5W','jCkQwatdIa','W5hdKI0c','bmkBWRVdJYCqWRu','kXrdW7Cv','W7tdLGdcVW','W47dVv0zWRj9WRG','WRldPSoKm0tcSfSnWQpcHqddR1m','nH5dW7nF','pCoSbq/cIa','WPNcRCoEWPJdMG','nmkGW5eTmmkwca','W5hdHdDaW78','WQhcJ8kDW59qW43cN8kGW5TfrCkx','n8oCW78H','W79qW4RdMJVcKSkQ','WR/dOSoLnuBcSLTRWRBcLdJdS1uU','AuGCWQ1gW5pcLrpcRmkiW5ZcNSku','WOdcSCoS','WPhcHHujza','rSouEa','WO3dGCork3S','k8o3eWhdJG','nSolWPJcN8oS','WQRdLCk2W74','sSoHW6lcP8k2W48lp8k9DmkVjmkrfW'];_0x2ec4=function(){return _0x577634;};return _0x2ec4();}import'node:path';import'node:child_process';function _0x39ec1a(_0x5db673,_0x64da0c,_0xdb1cb9,_0x2f770e){const _0x34b4bd={_0x45e1b:0xcd};return _0x2ff3(_0x2f770e-_0x34b4bd._0x45e1b,_0x64da0c);}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 _0x4e611b={};_0x4e611b[_0x171b85('uOLk',-0x73,-0x7e,-0x7c)+'x']=_0x56db25;const _0x5b0248=new Reporter(_0x4e611b),_0x16538a=new _0x5e3adc(),_0x19bcb3={};function _0x171b85(_0x4fbaa8,_0x218126,_0xe31d7c,_0x5ca1c7){const _0x2e9bef={_0x159dab:0x138};return _0x2ff3(_0x218126- -_0x2e9bef._0x159dab,_0x4fbaa8);}function _0x2ff3(_0x32ca90,_0x4127b0){_0x32ca90=_0x32ca90-(0x3e2+0x43*-0x4d+0x10f1);const _0x458129=_0x2ec4();let _0x17016b=_0x458129[_0x32ca90];if(_0x2ff3['xKPDUK']===undefined){var _0x328520=function(_0x55ded5){const _0x356102='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x18b64f='',_0x327218='';for(let _0x41c9a2=0x1f0*-0xf+-0xb69+0x2879,_0x494557,_0x3e9196,_0x53e83a=-0xdf4+0x2536+0x1ca*-0xd;_0x3e9196=_0x55ded5['charAt'](_0x53e83a++);~_0x3e9196&&(_0x494557=_0x41c9a2%(-0x152e+-0x59*-0x6e+0x4*-0x443)?_0x494557*(-0x2420+0x67a*0x1+-0x59*-0x56)+_0x3e9196:_0x3e9196,_0x41c9a2++%(-0x16*0x147+0x130*0x8+0x1*0x129e))?_0x18b64f+=String['fromCharCode'](-0x254a+0xe56*0x1+0x17f3*0x1&_0x494557>>(-(0x1c*-0xbe+0x4*-0x47f+0x26c6)*_0x41c9a2&-0x2282+-0x21b1+-0x4439*-0x1)):-0x11*-0xaa+0x4d2+-0x101c){_0x3e9196=_0x356102['indexOf'](_0x3e9196);}for(let _0x4793e2=-0x1223+-0x5*-0x52f+-0x7c8,_0x20e380=_0x18b64f['length'];_0x4793e2<_0x20e380;_0x4793e2++){_0x327218+='%'+('00'+_0x18b64f['charCodeAt'](_0x4793e2)['toString'](-0x2448+0x16cf*-0x1+0x3b27))['slice'](-(0x15d7*0x1+-0x591+-0x1044));}return decodeURIComponent(_0x327218);};const _0xf9301c=function(_0x1bfe21,_0x221bc4){let _0x1c77ac=[],_0x50c414=-0x1c4*-0x6+0x1c51+0x58f*-0x7,_0x2ac960,_0x11885a='';_0x1bfe21=_0x328520(_0x1bfe21);let _0x20d39b;for(_0x20d39b=0x15c*-0x8+0x1106*-0x1+0x1*0x1be6;_0x20d39b<-0x826+-0x7*-0x1d+-0x17*-0x5d;_0x20d39b++){_0x1c77ac[_0x20d39b]=_0x20d39b;}for(_0x20d39b=-0x1c17+-0xa*0x21f+0x314d;_0x20d39b<0xb68+0x22dc+-0x2d44;_0x20d39b++){_0x50c414=(_0x50c414+_0x1c77ac[_0x20d39b]+_0x221bc4['charCodeAt'](_0x20d39b%_0x221bc4['length']))%(0x12b3*0x2+0x17f8+-0x3c5e),_0x2ac960=_0x1c77ac[_0x20d39b],_0x1c77ac[_0x20d39b]=_0x1c77ac[_0x50c414],_0x1c77ac[_0x50c414]=_0x2ac960;}_0x20d39b=-0x104e+0x1*0x5ed+-0x1*-0xa61,_0x50c414=-0x9c3+0x22a9+-0x18e6;for(let _0x2b15a4=0x2550+0x556+-0x2aa6;_0x2b15a4<_0x1bfe21['length'];_0x2b15a4++){_0x20d39b=(_0x20d39b+(0xaf3*0x3+0x851*0x2+-0x317a))%(0xea9+0x1f3*0x12+0x30bf*-0x1),_0x50c414=(_0x50c414+_0x1c77ac[_0x20d39b])%(0x262e+-0x22d*0x6+-0x1820),_0x2ac960=_0x1c77ac[_0x20d39b],_0x1c77ac[_0x20d39b]=_0x1c77ac[_0x50c414],_0x1c77ac[_0x50c414]=_0x2ac960,_0x11885a+=String['fromCharCode'](_0x1bfe21['charCodeAt'](_0x2b15a4)^_0x1c77ac[(_0x1c77ac[_0x20d39b]+_0x1c77ac[_0x50c414])%(0x11e7+0x1*0xf59+-0x40*0x81)]);}return _0x11885a;};_0x2ff3['sedKIH']=_0xf9301c,_0x2ff3['gvmLxL']={},_0x2ff3['xKPDUK']=!![];}const _0x109f43=_0x458129[-0xe4c+0x9*0x1b7+-0x123],_0x52dd11=_0x32ca90+_0x109f43,_0x20072f=_0x2ff3['gvmLxL'][_0x52dd11];return!_0x20072f?(_0x2ff3['ruBBxe']===undefined&&(_0x2ff3['ruBBxe']=!![]),_0x17016b=_0x2ff3['sedKIH'](_0x17016b,_0x4127b0),_0x2ff3['gvmLxL'][_0x52dd11]=_0x17016b):_0x17016b=_0x20072f,_0x17016b;}_0x19bcb3[_0x171b85('dPiR',-0x74,-0x6a,-0x89)+'amNam'+'e']=_0x56db25,_0x19bcb3[_0x39ec1a(0x17d,'m7Nw',0x17b,0x18f)]={},_0x19bcb3[_0x39ec1a(0x17d,'m7Nw',0x17b,0x18f)][_0x171b85('$aGc',-0x7b,-0x66,-0x8e)]='~/.co'+_0x39ec1a(0x1a7,'&fXn',0x1a6,0x19c)+_0x39ec1a(0x18f,'1!%i',0x19b,0x19d)+'compl'+_0x171b85('tzar',-0x67,-0x72,-0x75)+'s/'+_0x56db25+_0x39ec1a(0x1a2,'eLC#',0x1a7,0x190),_0x19bcb3[_0x39ec1a(0x17d,'m7Nw',0x17b,0x18f)][_0x171b85('&fXn',-0x66,-0x70,-0x66)]=_0x171b85('uOLk',-0x88,-0x78,-0x83)+_0x171b85('&fXn',-0x69,-0x5e,-0x67)+_0x39ec1a(0x191,'uOLk',0x173,0x185)+_0x171b85('USM%',-0x65,-0x7b,-0x65)+'etion'+'s/'+_0x56db25+_0x39ec1a(0x174,'FB%K',0x176,0x188),_0x19bcb3[_0x39ec1a(0x17d,'m7Nw',0x17b,0x18f)][_0x171b85('N1]1',-0x71,-0x78,-0x88)]=_0x39ec1a(0x1a5,'yDeM',0x196,0x1a7)+_0x171b85('8NEn',-0x81,-0x7b,-0x6e)+_0x39ec1a(0x184,'$no1',0x193,0x186)+'compl'+'etion'+'s/'+_0x56db25+_0x39ec1a(0x193,'FB%K',0x18c,0x17e),_0x16538a[_0x171b85('$no1',-0x8c,-0x98,-0x80)+'mmand'](_0x39ec1a(0x18e,'Xru%',0x18c,0x1a2)+_0x39ec1a(0x184,'E[jD',0x19a,0x199),new CompletionCommand(_0x16538a,_0x19bcb3));try{await _0x16538a[_0x171b85('ZESh',-0x89,-0x8a,-0x7a)]({'argv':process[_0x39ec1a(0x170,'s4Q#',0x18a,0x181)][_0x39ec1a(0x17f,'8NEn',0x187,0x180)](0x19ee+0x3*-0x69d+-0x615),'envs':process.env,'reporter':_0x5b0248});}catch(_0x37d4ad){_0x5b0248['error'](_0x37d4ad instanceof Error?_0x37d4ad[_0x39ec1a(0x181,'J&aO',0x19b,0x196)]??_0x37d4ad[_0x39ec1a(0x191,']yph',0x183,0x197)+'ge']:String(_0x37d4ad)),process[_0x39ec1a(0x18d,'Xru%',0x184,0x19b)+_0x39ec1a(0x17d,'TxgF',0x193,0x18e)]=0x1*0x180b+0x1f6a+-0xb6*0x4e;}