@lovrabet/lovrabet-cli 2.0.6 → 2.0.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/cli.js +1 -1
- package/lib/commands/app/cache.js +1 -1
- package/lib/commands/app/definitions.js +1 -1
- package/lib/commands/app/mock-loader.js +1 -1
- package/lib/commands/app/remote-source.js +1 -1
- package/lib/commands/app/shared.js +1 -1
- package/lib/commands/auth/index.js +1 -1
- package/lib/commands/auth/prompt.js +1 -1
- package/lib/commands/bff/detail.js +1 -1
- package/lib/commands/bff/exec.js +1 -1
- package/lib/commands/bff/index.js +1 -1
- package/lib/commands/common/config-policy.js +1 -1
- package/lib/commands/common/constraints.js +1 -1
- package/lib/commands/common/flags.js +1 -1
- package/lib/commands/config/definitions.js +1 -1
- package/lib/commands/config/shared.js +1 -1
- package/lib/commands/data/index.js +1 -1
- package/lib/commands/dataset/detail.js +1 -1
- package/lib/commands/dataset/index.js +1 -1
- package/lib/commands/dataset/list.js +1 -1
- package/lib/commands/doctor.js +1 -1
- package/lib/commands/init.js +1 -1
- package/lib/commands/logs/index.js +1 -1
- package/lib/commands/registry.js +1 -1
- package/lib/commands/schema.js +1 -1
- package/lib/commands/skill/index.js +1 -1
- package/lib/commands/sql/detail.js +1 -1
- package/lib/commands/sql/exec.js +1 -1
- package/lib/commands/sql/index.js +1 -1
- package/lib/commands/update.js +1 -0
- package/lib/config/schema.js +1 -1
- package/lib/constant/auth-mode.js +1 -1
- package/lib/constant/cli.js +1 -1
- package/lib/constant/defaults.js +1 -1
- package/lib/constant/distribution.js +1 -0
- package/lib/constant/domain.js +1 -1
- package/lib/constant/env.js +1 -1
- package/lib/constant/output.js +1 -1
- package/lib/constant/product.js +1 -0
- package/lib/constant/risk.js +1 -1
- package/lib/constant/url.js +1 -1
- package/lib/context.js +1 -1
- package/lib/core/api-client.js +1 -1
- package/lib/core/db-resolver.js +1 -1
- package/lib/core/sdk-client.js +1 -1
- package/lib/errors.js +1 -1
- package/lib/framework/build-all-flags.js +1 -1
- package/lib/framework/dryrun.js +1 -1
- package/lib/framework/flags.js +1 -1
- package/lib/framework/help.js +1 -1
- package/lib/framework/index.js +1 -1
- package/lib/framework/output.js +1 -1
- package/lib/framework/preparse.js +1 -1
- package/lib/framework/response.js +1 -1
- package/lib/framework/runner-confirmation.js +1 -1
- package/lib/framework/runner-error.js +1 -1
- package/lib/framework/runner.js +1 -1
- package/lib/framework/schema-export.js +1 -1
- package/lib/framework/types.js +1 -1
- package/lib/help.js +1 -1
- package/lib/skills/npx-skills-add.js +1 -1
- package/lib/utils/apply-jq-filter.js +1 -1
- package/lib/utils/logger.js +1 -1
- package/lib/utils/params.js +1 -1
- package/lib/utils/platform.js +1 -1
- package/lib/utils/version.js +1 -1
- package/lib/utils/write-cli-side-channel.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a60_0x7673fb=a60_0x4ce7;(function(_0x44d355,_0x1aa14e){const _0x4794fe=a60_0x4ce7,_0x492fda=_0x44d355();while(!![]){try{const _0x4b6ef5=-parseInt(_0x4794fe(0xe3))/0x1*(parseInt(_0x4794fe(0xe5))/0x2)+-parseInt(_0x4794fe(0xdc))/0x3*(-parseInt(_0x4794fe(0xdb))/0x4)+-parseInt(_0x4794fe(0xe4))/0x5*(-parseInt(_0x4794fe(0xe2))/0x6)+parseInt(_0x4794fe(0xdd))/0x7*(parseInt(_0x4794fe(0xe6))/0x8)+-parseInt(_0x4794fe(0xe8))/0x9+-parseInt(_0x4794fe(0xd9))/0xa+parseInt(_0x4794fe(0xde))/0xb;if(_0x4b6ef5===_0x1aa14e)break;else _0x492fda['push'](_0x492fda['shift']());}catch(_0x428ab0){_0x492fda['push'](_0x492fda['shift']());}}}(a60_0xad54,0x5a068));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';function a60_0x4ce7(_0x136f9f,_0x129bb9){_0x136f9f=_0x136f9f-0xd2;const _0xad5437=a60_0xad54();let _0x4ce7aa=_0xad5437[_0x136f9f];return _0x4ce7aa;}import{LOVRABET_SKILL_SOURCE as a60_0x2d7406}from'../constant/distribution.js';import{PRODUCT_CONFIG,productEnvName}from'../constant/product.js';export const LOVRABET_SKILL_SOURCE=a60_0x2d7406;function a60_0xad54(){const _0x39cacc=['skills','21812FhDVEb','192LUvHFu','441BzavEb','3736711WumgOx','log','skipNpxSkillsEnvSuffix','add','2994TTUOvm','5334bEZWrS','5620XtcRIK','148jWqGLZ','28264qvIKqP','npx','721080tZoufi','stdio','trim','join','pipe','status','inherit','toString','stdout','stderr','unknown','exit\x20','6285680UsauDO'];a60_0xad54=function(){return _0x39cacc;};return a60_0xad54();}export const LOVRABET_SKIP_NPX_SKILLS_ENV=productEnvName(PRODUCT_CONFIG[a60_0x7673fb(0xe0)]);export function shouldSkipNpxSkillsAdd(){return process.env[LOVRABET_SKIP_NPX_SKILLS_ENV]==='1';}export function runNpxSkillsAddGlobal(_0x104da8,_0x1874fb=LOVRABET_SKILL_SOURCE,_0xecb5c5){const _0x1aa3a2=a60_0x7673fb;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x20b074=_0xecb5c5?.[_0x1aa3a2(0xe9)]??_0x1aa3a2(0xd3),_0x47dba8=resolveNpmBin(_0x1aa3a2(0xe7)),_0x1bc787=[_0x1aa3a2(0xda),_0x1aa3a2(0xe1),_0x1874fb,'-g','-y'],_0x1c66fb=[_0x47dba8,..._0x1bc787][_0x1aa3a2(0xeb)]('\x20');console[_0x1aa3a2(0xdf)]('*\x20'+_0x1c66fb);const _0x9fed35=spawnSync(_0x47dba8,_0x1bc787,{'cwd':_0x104da8,'stdio':_0x20b074,'env':process.env,'shell':![]});if(_0x9fed35[_0x1aa3a2(0xd2)]===0x0)return{'ok':!![],'status':0x0};let _0x1cdb52=_0x1aa3a2(0xd8)+(_0x9fed35[_0x1aa3a2(0xd2)]??_0x1aa3a2(0xd7));if(_0x20b074===_0x1aa3a2(0xec)){const _0x177b62=_0x9fed35[_0x1aa3a2(0xd6)]?_0x9fed35[_0x1aa3a2(0xd6)][_0x1aa3a2(0xd4)]()[_0x1aa3a2(0xea)]():'',_0x279087=_0x9fed35[_0x1aa3a2(0xd5)]?_0x9fed35['stdout'][_0x1aa3a2(0xd4)]()['trim']():'';if(_0x177b62)_0x1cdb52=_0x177b62;else{if(_0x279087)_0x1cdb52=_0x279087;}}return{'ok':![],'status':_0x9fed35[_0x1aa3a2(0xd2)]??null,'error':_0x1cdb52};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a61_0x5360(_0x2482fb,_0x43334d){_0x2482fb=_0x2482fb-0x76;const _0x1029cd=a61_0x1029();let _0x5360fd=_0x1029cd[_0x2482fb];return _0x5360fd;}(function(_0x30ad4f,_0x45a6a0){const _0x843737=a61_0x5360,_0x109b3f=_0x30ad4f();while(!![]){try{const _0x2000da=parseInt(_0x843737(0x77))/0x1+parseInt(_0x843737(0x7a))/0x2+-parseInt(_0x843737(0x76))/0x3+parseInt(_0x843737(0x78))/0x4+-parseInt(_0x843737(0x7e))/0x5*(-parseInt(_0x843737(0x79))/0x6)+parseInt(_0x843737(0x7c))/0x7+parseInt(_0x843737(0x7b))/0x8*(-parseInt(_0x843737(0x7d))/0x9);if(_0x2000da===_0x45a6a0)break;else _0x109b3f['push'](_0x109b3f['shift']());}catch(_0x44fd28){_0x109b3f['push'](_0x109b3f['shift']());}}}(a61_0x1029,0xaf7fc));import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a61_0x1029(){const _0x700763=['662702jVewPK','1420856WbaeAJ','1182eyHJxt','299152OxifXl','448MTHnJs','5813080nwYUak','349182PgkgYA','23795sIHUrf','131769ELsNpF'];a61_0x1029=function(){return _0x700763;};return a61_0x1029();}import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
|
package/lib/utils/logger.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a62_0x3a5c7b=a62_0x359e;function a62_0x5dfd(){const _0x5ab9e2=['info','join','setLogPath','Failed:\x20','184PMXsMX','50MlRrWc','dirname','stringify','details','success','20KaKKSL','Starting:\x20','createLogger','initWinstonLogger','yellow','logFilePath','6736860oJghJF','trim','red','utf8','printf','toISOString','logTask','mkdirSync','combine','now','372GFqsSI','log','errors','12021WVsDbP','writeFileSync','rawCommand','winstonLogger','existsSync','setRawCommand','warn','readFileSync','getWinstonInstance','readLogs','error','logFileName','692EhWzzr','159741qVYCSn','map','Completed:\x20','125koMiPK','currentRawCommand','47030RgMViV','clearLogs','green','Failed\x20to\x20read\x20logs:','148314pAEelV','format','File','filter','message','parse','blue','Failed\x20to\x20clear\x20logs:','203455cyADWz','14124XgdgKF'];a62_0x5dfd=function(){return _0x5ab9e2;};return a62_0x5dfd();}(function(_0xbd1e88,_0x47fb67){const _0x1148f3=a62_0x359e,_0x46b8be=_0xbd1e88();while(!![]){try{const _0x26f63c=parseInt(_0x1148f3(0x1d1))/0x1*(parseInt(_0x1148f3(0x1b9))/0x2)+parseInt(_0x1148f3(0x1e4))/0x3*(parseInt(_0x1148f3(0x1b3))/0x4)+-parseInt(_0x1148f3(0x1b7))/0x5*(parseInt(_0x1148f3(0x1bd))/0x6)+-parseInt(_0x1148f3(0x1c5))/0x7*(parseInt(_0x1148f3(0x1cb))/0x8)+-parseInt(_0x1148f3(0x1b4))/0x9*(-parseInt(_0x1148f3(0x1cc))/0xa)+parseInt(_0x1148f3(0x1c6))/0xb*(-parseInt(_0x1148f3(0x1e1))/0xc)+parseInt(_0x1148f3(0x1d7))/0xd;if(_0x26f63c===_0x47fb67)break;else _0x46b8be['push'](_0x46b8be['shift']());}catch(_0x27ef71){_0x46b8be['push'](_0x46b8be['shift']());}}}(a62_0x5dfd,0x6c72a));import a62_0x1ac54f from'winston';import a62_0x59899c from'node:fs';function a62_0x359e(_0x83a4fe,_0x670ef7){_0x83a4fe=_0x83a4fe-0x1ab;const _0x5dfdf0=a62_0x5dfd();let _0x359e6d=_0x5dfdf0[_0x83a4fe];return _0x359e6d;}import a62_0x47fdd8 from'node:path';import{PRODUCT_CONFIG}from'../constant/product.js';class Logger{['winstonLogger'];['logFilePath']='';[a62_0x3a5c7b(0x1b8)]='';constructor(){}[a62_0x3a5c7b(0x1ac)](_0x2a2412){const _0x2ea3ef=a62_0x3a5c7b;this[_0x2ea3ef(0x1b8)]=_0x2a2412;}[a62_0x3a5c7b(0x1c9)](_0x1b6453){const _0x49841c=a62_0x3a5c7b;this['logFilePath']=a62_0x47fdd8[_0x49841c(0x1c8)](_0x1b6453,PRODUCT_CONFIG[_0x49841c(0x1b2)]),this['winstonLogger']&&this[_0x49841c(0x1e7)]['clear'](),this['initWinstonLogger']();}[a62_0x3a5c7b(0x1d4)](){const _0x4dc43b=a62_0x3a5c7b,_0x11a622=a62_0x47fdd8[_0x4dc43b(0x1cd)](this[_0x4dc43b(0x1d6)]);!a62_0x59899c[_0x4dc43b(0x1ab)](_0x11a622)&&a62_0x59899c[_0x4dc43b(0x1de)](_0x11a622,{'recursive':!![]});const _0x7eabf5=a62_0x1ac54f['format'][_0x4dc43b(0x1df)](a62_0x1ac54f[_0x4dc43b(0x1be)]['timestamp'](),a62_0x1ac54f[_0x4dc43b(0x1be)][_0x4dc43b(0x1e3)]({'stack':!![]}),a62_0x1ac54f[_0x4dc43b(0x1be)][_0x4dc43b(0x1db)](_0x1a1c3a=>{const _0x4f45fa=_0x4dc43b,_0x19d9ef={'timestamp':_0x1a1c3a['timestamp']||new Date()[_0x4f45fa(0x1dc)](),'level':_0x1a1c3a['level']||'info','command':_0x1a1c3a['command']||'unknown','rawCommand':_0x1a1c3a[_0x4f45fa(0x1e6)]||this[_0x4f45fa(0x1b8)]||undefined,'message':_0x1a1c3a['message']||'','duration':_0x1a1c3a['duration']||undefined,'details':_0x1a1c3a[_0x4f45fa(0x1cf)]||undefined};return JSON[_0x4f45fa(0x1ce)](_0x19d9ef);}));this['winstonLogger']=a62_0x1ac54f[_0x4dc43b(0x1d3)]({'level':_0x4dc43b(0x1c7),'format':_0x7eabf5,'transports':[new a62_0x1ac54f['transports'][(_0x4dc43b(0x1bf))]({'filename':this[_0x4dc43b(0x1d6)],'level':_0x4dc43b(0x1c7)})],'silent':![]}),a62_0x1ac54f['addColors']({'success':_0x4dc43b(0x1bb),'error':_0x4dc43b(0x1d9),'warn':_0x4dc43b(0x1d5),'info':_0x4dc43b(0x1c3)});}[a62_0x3a5c7b(0x1c7)](_0x1d0fbd,_0xaa2844,_0x5d00c5){const _0x5858d4=a62_0x3a5c7b;if(!this[_0x5858d4(0x1d6)]||!this[_0x5858d4(0x1e7)])return;this['winstonLogger'][_0x5858d4(0x1c7)](_0xaa2844,{'command':_0x1d0fbd,'details':_0x5d00c5});}[a62_0x3a5c7b(0x1d0)](_0x2a5e71,_0x554559,_0x2a26a7,_0x43cb7b){const _0x339a89=a62_0x3a5c7b;if(!this[_0x339a89(0x1d6)]||!this[_0x339a89(0x1e7)])return;this[_0x339a89(0x1e7)][_0x339a89(0x1e2)](_0x339a89(0x1c7),_0x554559,{'level':_0x339a89(0x1d0),'command':_0x2a5e71,'duration':_0x2a26a7,'details':_0x43cb7b});}[a62_0x3a5c7b(0x1b1)](_0x5b526e,_0x4db773,_0x4b229d){const _0x1e7f56=a62_0x3a5c7b;if(!this[_0x1e7f56(0x1d6)]||!this[_0x1e7f56(0x1e7)])return;this[_0x1e7f56(0x1e7)]['error'](_0x4db773,{'command':_0x5b526e,'details':_0x4b229d});}['warn'](_0x1c3dca,_0x46563a,_0x2f8a06){const _0x291df5=a62_0x3a5c7b;if(!this['logFilePath']||!this[_0x291df5(0x1e7)])return;this['winstonLogger']['warn'](_0x46563a,{'command':_0x1c3dca,'details':_0x2f8a06});}async[a62_0x3a5c7b(0x1dd)](_0x304350,_0x423a74,_0xb51b8d){const _0x13dd80=a62_0x3a5c7b,_0x5a3c9e=Date[_0x13dd80(0x1e0)]();this['info'](_0x304350,_0x13dd80(0x1d2)+_0x423a74);try{const _0x33a827=await _0xb51b8d(),_0x3a3b20=Date['now']()-_0x5a3c9e;return this[_0x13dd80(0x1d0)](_0x304350,_0x13dd80(0x1b6)+_0x423a74,_0x3a3b20),_0x33a827;}catch(_0x1eae60){const _0x4486f1=Date[_0x13dd80(0x1e0)]()-_0x5a3c9e;this[_0x13dd80(0x1b1)](_0x304350,_0x13dd80(0x1ca)+_0x423a74,{'error':_0x1eae60 instanceof Error?_0x1eae60[_0x13dd80(0x1c1)]:String(_0x1eae60),'duration':_0x4486f1});throw _0x1eae60;}}[a62_0x3a5c7b(0x1b0)](){const _0x423a18=a62_0x3a5c7b;try{if(!a62_0x59899c[_0x423a18(0x1ab)](this['logFilePath']))return[];const _0x8153b=a62_0x59899c[_0x423a18(0x1ae)](this[_0x423a18(0x1d6)],_0x423a18(0x1da));return _0x8153b['split'](/\r?\n/)[_0x423a18(0x1c0)](_0x24391a=>_0x24391a[_0x423a18(0x1d8)]())[_0x423a18(0x1b5)](_0x4e28a9=>JSON[_0x423a18(0x1c2)](_0x4e28a9));}catch(_0x2cee5a){return console[_0x423a18(0x1ad)](_0x423a18(0x1bc),_0x2cee5a),[];}}[a62_0x3a5c7b(0x1ba)](){const _0x1395ab=a62_0x3a5c7b;try{a62_0x59899c[_0x1395ab(0x1ab)](this['logFilePath'])&&a62_0x59899c[_0x1395ab(0x1e5)](this['logFilePath'],'','utf8');}catch(_0x5479e0){console['warn'](_0x1395ab(0x1c4),_0x5479e0);}}[a62_0x3a5c7b(0x1af)](){const _0x1fa5b1=a62_0x3a5c7b;return this[_0x1fa5b1(0x1e7)];}}export const logger=new Logger();
|
package/lib/utils/params.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x59d883,_0x260f31){var _0x4b7f53=a63_0x3901,_0x1043f6=_0x59d883();while(!![]){try{var _0x10cf34=parseInt(_0x4b7f53(0x11a))/0x1+-parseInt(_0x4b7f53(0x11c))/0x2+-parseInt(_0x4b7f53(0x11b))/0x3+parseInt(_0x4b7f53(0x117))/0x4+-parseInt(_0x4b7f53(0x119))/0x5+parseInt(_0x4b7f53(0x120))/0x6*(-parseInt(_0x4b7f53(0x116))/0x7)+parseInt(_0x4b7f53(0x121))/0x8*(parseInt(_0x4b7f53(0x11d))/0x9);if(_0x10cf34===_0x260f31)break;else _0x1043f6['push'](_0x1043f6['shift']());}catch(_0x2d55d2){_0x1043f6['push'](_0x1043f6['shift']());}}}(a63_0x3d77,0x8c3be));function a63_0x3d77(){var _0x129b22=['6qLDrAE','14680NMesyA','batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','validation','object','7492415aChOxH','4339360cYTevX','items','2587105PEirBB','98651gAOYwP','3053007fIwVKG','2165576yCLIuV','15102pQlXwE','Invalid\x20JSON\x20for\x20--params:\x20','parse'];a63_0x3d77=function(){return _0x129b22;};return a63_0x3d77();}import{CliErrors}from'../errors.js';function a63_0x3901(_0x107191,_0x378fe7){_0x107191=_0x107191-0x113;var _0x3d7758=a63_0x3d77();var _0x3901e4=_0x3d7758[_0x107191];return _0x3901e4;}export function parseJsonParams(_0x4a19cc){var _0x41de3e=a63_0x3901;if(!_0x4a19cc)return undefined;try{return JSON[_0x41de3e(0x11f)](_0x4a19cc);}catch{throw CliErrors[_0x41de3e(0x114)](_0x41de3e(0x11e)+_0x4a19cc);}}export function parseJsonParamsValue(_0x3e3949){var _0x425f70=a63_0x3901;if(!_0x3e3949)return undefined;try{return JSON[_0x425f70(0x11f)](_0x3e3949);}catch{throw CliErrors[_0x425f70(0x114)]('Invalid\x20JSON\x20for\x20--params:\x20'+_0x3e3949);}}export function parseBatchCreateItemsFromParams(_0x2647df){var _0x458741=a63_0x3901;if(Array['isArray'](_0x2647df))return _0x2647df;if(_0x2647df!==null&&_0x2647df!==undefined&&typeof _0x2647df===_0x458741(0x115)&&Array['isArray'](_0x2647df[_0x458741(0x118)]))return _0x2647df[_0x458741(0x118)];throw CliErrors[_0x458741(0x114)](_0x458741(0x113),'Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27');}
|
package/lib/utils/platform.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a64_0x3f6204=a64_0x202d;(function(_0x1c97bd,_0x5cc06f){const _0x408f72=a64_0x202d,_0x25e38a=_0x1c97bd();while(!![]){try{const _0x440faa=-parseInt(_0x408f72(0x170))/0x1*(-parseInt(_0x408f72(0x16c))/0x2)+-parseInt(_0x408f72(0x16f))/0x3+parseInt(_0x408f72(0x16d))/0x4+-parseInt(_0x408f72(0x16e))/0x5*(-parseInt(_0x408f72(0x171))/0x6)+-parseInt(_0x408f72(0x168))/0x7+parseInt(_0x408f72(0x172))/0x8+-parseInt(_0x408f72(0x16b))/0x9;if(_0x440faa===_0x5cc06f)break;else _0x25e38a['push'](_0x25e38a['shift']());}catch(_0x1f6c95){_0x25e38a['push'](_0x25e38a['shift']());}}}(a64_0x5eba,0x546a5));function a64_0x202d(_0x3924d8,_0x376abe){_0x3924d8=_0x3924d8-0x168;const _0x5eba21=a64_0x5eba();let _0x202d6c=_0x5eba21[_0x3924d8];return _0x202d6c;}function a64_0x5eba(){const _0x26b1ec=['platform','5498289IQmgAg','2MjbulK','138036AfzJVG','135olEAhc','1118553THLidM','516394huOqDm','115914ZqsKtp','4705744WVQkmN','2318379yUVQSZ','win32'];a64_0x5eba=function(){return _0x26b1ec;};return a64_0x5eba();}export const isWindows=process[a64_0x3f6204(0x16a)]===a64_0x3f6204(0x169);export function resolveNpmBin(_0x1ba4e7){return isWindows?_0x1ba4e7+'.cmd':_0x1ba4e7;}
|
package/lib/utils/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x18bed4,_0x2e1e49){const _0x544c1f=a65_0x91c9,_0x2b352c=_0x18bed4();while(!![]){try{const _0x367c26=-parseInt(_0x544c1f(0x19c))/0x1*(parseInt(_0x544c1f(0x19b))/0x2)+parseInt(_0x544c1f(0x19a))/0x3*(-parseInt(_0x544c1f(0x193))/0x4)+parseInt(_0x544c1f(0x18f))/0x5*(parseInt(_0x544c1f(0x197))/0x6)+parseInt(_0x544c1f(0x198))/0x7+parseInt(_0x544c1f(0x199))/0x8*(parseInt(_0x544c1f(0x19d))/0x9)+parseInt(_0x544c1f(0x195))/0xa+-parseInt(_0x544c1f(0x191))/0xb*(parseInt(_0x544c1f(0x196))/0xc);if(_0x367c26===_0x2e1e49)break;else _0x2b352c['push'](_0x2b352c['shift']());}catch(_0x29e537){_0x2b352c['push'](_0x2b352c['shift']());}}}(a65_0x2233,0x5c366));function a65_0x91c9(_0x3c16ca,_0x4b816c){_0x3c16ca=_0x3c16ca-0x18f;const _0x223358=a65_0x2233();let _0x91c9a5=_0x223358[_0x3c16ca];return _0x91c9a5;}import{readFileSync}from'node:fs';import{dirname,join}from'node:path';function a65_0x2233(){const _0x32f156=['4412zmtWBF','package.json','1962570bDCFak','12HJcAbH','99054eDmZRk','3895787SwrMIx','16vWJBMM','1047PlbLqf','6dUWQdz','102086nFEtNA','2970369SosqFG','190jywGHY','utf8','10684465HYHZIl','version'];a65_0x2233=function(){return _0x32f156;};return a65_0x2233();}import{fileURLToPath}from'node:url';let cached;export function getCliVersion(){const _0x293a56=a65_0x91c9;if(cached)return cached;const _0x3494be=join(dirname(fileURLToPath(import.meta.url)),'..','..'),_0xaf326d=readFileSync(join(_0x3494be,_0x293a56(0x194)),_0x293a56(0x190)),_0x41c1b8=JSON['parse'](_0xaf326d);return cached=_0x41c1b8[_0x293a56(0x192)],cached;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a66_0x1d14(){var _0x1051b5=['30zjJsDo','18240cPldjS','41931144WdcutJ','15658016uAufCO','45MUdcqP','6543229JiXoAW','3315LKuDOS','388504kNbcBQ','10eQStHf','45270gYWFtE','717EFNiAO','3042qIZVBm'];a66_0x1d14=function(){return _0x1051b5;};return a66_0x1d14();}function a66_0x578a(_0x4f2f5e,_0x5731f5){_0x4f2f5e=_0x4f2f5e-0x15d;var _0x1d143b=a66_0x1d14();var _0x578a83=_0x1d143b[_0x4f2f5e];return _0x578a83;}(function(_0x2309f8,_0x56128b){var _0x3d8c79=a66_0x578a,_0x12f1ee=_0x2309f8();while(!![]){try{var _0x26269f=parseInt(_0x3d8c79(0x15e))/0x1*(-parseInt(_0x3d8c79(0x167))/0x2)+parseInt(_0x3d8c79(0x168))/0x3*(parseInt(_0x3d8c79(0x15f))/0x4)+parseInt(_0x3d8c79(0x164))/0x5*(-parseInt(_0x3d8c79(0x15d))/0x6)+-parseInt(_0x3d8c79(0x163))/0x7+-parseInt(_0x3d8c79(0x165))/0x8*(parseInt(_0x3d8c79(0x162))/0x9)+parseInt(_0x3d8c79(0x166))/0xa*(-parseInt(_0x3d8c79(0x161))/0xb)+parseInt(_0x3d8c79(0x160))/0xc;if(_0x26269f===_0x56128b)break;else _0x12f1ee['push'](_0x12f1ee['shift']());}catch(_0x5933b7){_0x12f1ee['push'](_0x12f1ee['shift']());}}}(a66_0x1d14,0xec4d5));export function writeCliSideChannelLine(_0x4f77c0){process['stderr']['write'](_0x4f77c0+'\x0a');}
|