@lovrabet/lovrabet-cli 2.0.4 → 2.0.5-beta.0
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/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/domain.js +1 -1
- package/lib/constant/env.js +1 -1
- package/lib/constant/output.js +1 -1
- 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 a57_0x2242dc=a57_0x2f2c;function a57_0x2f2c(_0x5dd9c1,_0x8cf521){_0x5dd9c1=_0x5dd9c1-0x131;const _0x56fa8d=a57_0x56fa();let _0x2f2c89=_0x56fa8d[_0x5dd9c1];return _0x2f2c89;}(function(_0x5867aa,_0x11e475){const _0x5d8b81=a57_0x2f2c,_0x4252b0=_0x5867aa();while(!![]){try{const _0x46822d=parseInt(_0x5d8b81(0x144))/0x1*(parseInt(_0x5d8b81(0x13b))/0x2)+parseInt(_0x5d8b81(0x13a))/0x3*(-parseInt(_0x5d8b81(0x140))/0x4)+-parseInt(_0x5d8b81(0x145))/0x5+parseInt(_0x5d8b81(0x131))/0x6*(-parseInt(_0x5d8b81(0x148))/0x7)+-parseInt(_0x5d8b81(0x134))/0x8*(parseInt(_0x5d8b81(0x142))/0x9)+parseInt(_0x5d8b81(0x141))/0xa+parseInt(_0x5d8b81(0x133))/0xb;if(_0x46822d===_0x11e475)break;else _0x4252b0['push'](_0x4252b0['shift']());}catch(_0x2fc57c){_0x4252b0['push'](_0x4252b0['shift']());}}}(a57_0x56fa,0x72003));import{spawnSync}from'node:child_process';function a57_0x56fa(){const _0x4c0d9e=['10844614fRrOqA','8vNTahB','pipe','status','stdio','skills','join','12594IPVFOx','2SqhbXC','npx','stderr','trim','log','332fKlEIQ','6341700JSGXdA','632943bFVExJ','stdout','667529gLCcUl','2577500HcotoQ','inherit','toString','315CvMsis','exit\x20','118182CaoaWo','lovrabet/lovrabet-cli'];a57_0x56fa=function(){return _0x4c0d9e;};return a57_0x56fa();}import{resolveNpmBin}from'../utils/platform.js';export const LOVRABET_SKILL_SOURCE=a57_0x2242dc(0x132);export const LOVRABET_SKIP_NPX_SKILLS_ENV='LOVRABET_SKIP_NPX_SKILLS';export function shouldSkipNpxSkillsAdd(){return process.env[LOVRABET_SKIP_NPX_SKILLS_ENV]==='1';}export function runNpxSkillsAddGlobal(_0x167bb3,_0x386581=LOVRABET_SKILL_SOURCE,_0x1638de){const _0x30832e=a57_0x2242dc;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x5f930f=_0x1638de?.[_0x30832e(0x137)]??_0x30832e(0x146),_0x42ff68=resolveNpmBin(_0x30832e(0x13c)),_0x45dc0d=[_0x30832e(0x138),'add',_0x386581,'-g','-y'],_0xed0dfd=[_0x42ff68,..._0x45dc0d][_0x30832e(0x139)]('\x20');console[_0x30832e(0x13f)]('*\x20'+_0xed0dfd);const _0x1427ba=spawnSync(_0x42ff68,_0x45dc0d,{'cwd':_0x167bb3,'stdio':_0x5f930f,'env':process.env,'shell':![]});if(_0x1427ba[_0x30832e(0x136)]===0x0)return{'ok':!![],'status':0x0};let _0xd3a15b=_0x30832e(0x149)+(_0x1427ba[_0x30832e(0x136)]??'unknown');if(_0x5f930f===_0x30832e(0x135)){const _0x5785e2=_0x1427ba[_0x30832e(0x13d)]?_0x1427ba[_0x30832e(0x13d)][_0x30832e(0x147)]()[_0x30832e(0x13e)]():'',_0x5dc1b0=_0x1427ba[_0x30832e(0x143)]?_0x1427ba[_0x30832e(0x143)]['toString']()[_0x30832e(0x13e)]():'';if(_0x5785e2)_0xd3a15b=_0x5785e2;else{if(_0x5dc1b0)_0xd3a15b=_0x5dc1b0;}}return{'ok':![],'status':_0x1427ba[_0x30832e(0x136)]??null,'error':_0xd3a15b};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a58_0x341c(){const _0x5af0be=['1082421waBoUu','367624saEFpZ','554106CidIud','9wFXYZU','680864zlcWzH','2ObsvKX','1960348VySwxg','11PqJmCb','8550052CyKMCi','65dWLnsZ','28589270kQxBSL'];a58_0x341c=function(){return _0x5af0be;};return a58_0x341c();}(function(_0x236fd9,_0x18b3e7){const _0xb10c28=a58_0x3cf9,_0x2ff7f7=_0x236fd9();while(!![]){try{const _0x3c2e65=-parseInt(_0xb10c28(0x107))/0x1*(parseInt(_0xb10c28(0x111))/0x2)+parseInt(_0xb10c28(0x10d))/0x3+parseInt(_0xb10c28(0x108))/0x4+-parseInt(_0xb10c28(0x10b))/0x5*(parseInt(_0xb10c28(0x10f))/0x6)+-parseInt(_0xb10c28(0x10a))/0x7+parseInt(_0xb10c28(0x10e))/0x8*(parseInt(_0xb10c28(0x110))/0x9)+parseInt(_0xb10c28(0x10c))/0xa*(parseInt(_0xb10c28(0x109))/0xb);if(_0x3c2e65===_0x18b3e7)break;else _0x2ff7f7['push'](_0x2ff7f7['shift']());}catch(_0x1fb197){_0x2ff7f7['push'](_0x2ff7f7['shift']());}}}(a58_0x341c,0x9f66f));import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a58_0x3cf9(_0xdba9a3,_0x369b4b){_0xdba9a3=_0xdba9a3-0x107;const _0x341ca4=a58_0x341c();let _0x3cf9af=_0x341ca4[_0xdba9a3];return _0x3cf9af;}import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
|
package/lib/utils/logger.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a59_0x2be2db=a59_0x2a90;(function(_0xda5f4e,_0x5acd45){const _0x38ecbf=a59_0x2a90,_0xbb7bd0=_0xda5f4e();while(!![]){try{const _0x4ac267=-parseInt(_0x38ecbf(0x119))/0x1*(parseInt(_0x38ecbf(0x122))/0x2)+parseInt(_0x38ecbf(0x107))/0x3+parseInt(_0x38ecbf(0x12d))/0x4*(-parseInt(_0x38ecbf(0x117))/0x5)+parseInt(_0x38ecbf(0x106))/0x6+parseInt(_0x38ecbf(0x124))/0x7+-parseInt(_0x38ecbf(0x12a))/0x8*(parseInt(_0x38ecbf(0x12e))/0x9)+parseInt(_0x38ecbf(0x11f))/0xa*(-parseInt(_0x38ecbf(0x12c))/0xb);if(_0x4ac267===_0x5acd45)break;else _0xbb7bd0['push'](_0xbb7bd0['shift']());}catch(_0x5cbed7){_0xbb7bd0['push'](_0xbb7bd0['shift']());}}}(a59_0x13ee,0x9fbfb));function a59_0x2a90(_0xd36023,_0xd77c85){_0xd36023=_0xd36023-0xfa;const _0x13ee61=a59_0x13ee();let _0x2a9006=_0x13ee61[_0xd36023];return _0x2a9006;}function a59_0x13ee(){const _0x54d47f=['logFilePath','split','log','rawCommand','format','red','parse','duration','combine','addColors','6948810YxcAKB','3045477XfyVHB','level','Failed\x20to\x20read\x20logs:','utf8','message','filter','getWinstonInstance','Completed:\x20','readFileSync','command','yellow','now','stringify','timestamp','initWinstonLogger','transports','1265uZKAja','existsSync','1AZtCAl','warn','winstonLogger','clear','green','mkdirSync','40aeNsUy','Failed\x20to\x20clear\x20logs:','Starting:\x20','547688VpiVuM','errors','2744882TFsjnr','createLogger','clearLogs','Failed:\x20','join','success','4237680qfShYZ','info','828564nZvJXw','4372QHDHxE','18MvnXpM','currentRawCommand','writeFileSync','setRawCommand'];a59_0x13ee=function(){return _0x54d47f;};return a59_0x13ee();}import a59_0x57febd from'winston';import a59_0x165aba from'node:fs';import a59_0x6f8899 from'node:path';class Logger{[a59_0x2be2db(0x11b)];[a59_0x2be2db(0xfc)]='';[a59_0x2be2db(0x12f)]='';constructor(){}[a59_0x2be2db(0xfb)](_0x1e8e58){const _0x1f7053=a59_0x2be2db;this[_0x1f7053(0x12f)]=_0x1e8e58;}['setLogPath'](_0x50ab81){const _0x367573=a59_0x2be2db;this[_0x367573(0xfc)]=a59_0x6f8899[_0x367573(0x128)](_0x50ab81,'.lovrabet-runtime.log'),this['winstonLogger']&&this['winstonLogger'][_0x367573(0x11c)](),this[_0x367573(0x115)]();}[a59_0x2be2db(0x115)](){const _0x119dc5=a59_0x2be2db,_0x244dd6=a59_0x6f8899['dirname'](this[_0x119dc5(0xfc)]);!a59_0x165aba[_0x119dc5(0x118)](_0x244dd6)&&a59_0x165aba[_0x119dc5(0x11e)](_0x244dd6,{'recursive':!![]});const _0x3a5b63=a59_0x57febd['format'][_0x119dc5(0x104)](a59_0x57febd['format']['timestamp'](),a59_0x57febd[_0x119dc5(0x100)][_0x119dc5(0x123)]({'stack':!![]}),a59_0x57febd['format']['printf'](_0x20d858=>{const _0x5baf52=_0x119dc5,_0x14f043={'timestamp':_0x20d858[_0x5baf52(0x114)]||new Date()['toISOString'](),'level':_0x20d858[_0x5baf52(0x108)]||_0x5baf52(0x12b),'command':_0x20d858[_0x5baf52(0x110)]||'unknown','rawCommand':_0x20d858[_0x5baf52(0xff)]||this['currentRawCommand']||undefined,'message':_0x20d858[_0x5baf52(0x10b)]||'','duration':_0x20d858[_0x5baf52(0x103)]||undefined,'details':_0x20d858['details']||undefined};return JSON[_0x5baf52(0x113)](_0x14f043);}));this[_0x119dc5(0x11b)]=a59_0x57febd[_0x119dc5(0x125)]({'level':_0x119dc5(0x12b),'format':_0x3a5b63,'transports':[new a59_0x57febd[(_0x119dc5(0x116))]['File']({'filename':this[_0x119dc5(0xfc)],'level':'info'})],'silent':![]}),a59_0x57febd[_0x119dc5(0x105)]({'success':_0x119dc5(0x11d),'error':_0x119dc5(0x101),'warn':_0x119dc5(0x111),'info':'blue'});}[a59_0x2be2db(0x12b)](_0x135a84,_0x5793f3,_0x36c67e){const _0x158261=a59_0x2be2db;if(!this[_0x158261(0xfc)]||!this[_0x158261(0x11b)])return;this[_0x158261(0x11b)]['info'](_0x5793f3,{'command':_0x135a84,'details':_0x36c67e});}[a59_0x2be2db(0x129)](_0x701b47,_0x2683d2,_0x5ba0c4,_0x3d72d1){const _0x47e7ce=a59_0x2be2db;if(!this[_0x47e7ce(0xfc)]||!this['winstonLogger'])return;this[_0x47e7ce(0x11b)][_0x47e7ce(0xfe)](_0x47e7ce(0x12b),_0x2683d2,{'level':_0x47e7ce(0x129),'command':_0x701b47,'duration':_0x5ba0c4,'details':_0x3d72d1});}['error'](_0x54aa63,_0x3cd1aa,_0x38d69c){const _0x113635=a59_0x2be2db;if(!this[_0x113635(0xfc)]||!this[_0x113635(0x11b)])return;this[_0x113635(0x11b)]['error'](_0x3cd1aa,{'command':_0x54aa63,'details':_0x38d69c});}[a59_0x2be2db(0x11a)](_0x37a1ec,_0x4fcc68,_0x3b3177){const _0x119206=a59_0x2be2db;if(!this[_0x119206(0xfc)]||!this[_0x119206(0x11b)])return;this['winstonLogger'][_0x119206(0x11a)](_0x4fcc68,{'command':_0x37a1ec,'details':_0x3b3177});}async['logTask'](_0x369a75,_0x3f94a4,_0x26b076){const _0x2bc671=a59_0x2be2db,_0x26933f=Date[_0x2bc671(0x112)]();this[_0x2bc671(0x12b)](_0x369a75,_0x2bc671(0x121)+_0x3f94a4);try{const _0x4e6423=await _0x26b076(),_0x44a498=Date[_0x2bc671(0x112)]()-_0x26933f;return this['success'](_0x369a75,_0x2bc671(0x10e)+_0x3f94a4,_0x44a498),_0x4e6423;}catch(_0x256ebd){const _0x35ba09=Date[_0x2bc671(0x112)]()-_0x26933f;this['error'](_0x369a75,_0x2bc671(0x127)+_0x3f94a4,{'error':_0x256ebd instanceof Error?_0x256ebd[_0x2bc671(0x10b)]:String(_0x256ebd),'duration':_0x35ba09});throw _0x256ebd;}}['readLogs'](){const _0x55b6d9=a59_0x2be2db;try{if(!a59_0x165aba[_0x55b6d9(0x118)](this['logFilePath']))return[];const _0x95b7e2=a59_0x165aba[_0x55b6d9(0x10f)](this[_0x55b6d9(0xfc)],_0x55b6d9(0x10a));return _0x95b7e2[_0x55b6d9(0xfd)](/\r?\n/)[_0x55b6d9(0x10c)](_0x5edc8e=>_0x5edc8e['trim']())['map'](_0x5ad425=>JSON[_0x55b6d9(0x102)](_0x5ad425));}catch(_0x5422d3){return console[_0x55b6d9(0x11a)](_0x55b6d9(0x109),_0x5422d3),[];}}[a59_0x2be2db(0x126)](){const _0x3f2cdf=a59_0x2be2db;try{a59_0x165aba[_0x3f2cdf(0x118)](this[_0x3f2cdf(0xfc)])&&a59_0x165aba[_0x3f2cdf(0xfa)](this['logFilePath'],'',_0x3f2cdf(0x10a));}catch(_0x2978e2){console[_0x3f2cdf(0x11a)](_0x3f2cdf(0x120),_0x2978e2);}}[a59_0x2be2db(0x10d)](){return this['winstonLogger'];}}export const logger=new Logger();
|
package/lib/utils/params.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x14ac40,_0x499127){var _0x3eacf6=a60_0x2919,_0x2d56ed=_0x14ac40();while(!![]){try{var _0x39d719=parseInt(_0x3eacf6(0x182))/0x1*(parseInt(_0x3eacf6(0x18a))/0x2)+-parseInt(_0x3eacf6(0x18c))/0x3+parseInt(_0x3eacf6(0x185))/0x4*(-parseInt(_0x3eacf6(0x17e))/0x5)+-parseInt(_0x3eacf6(0x188))/0x6+-parseInt(_0x3eacf6(0x181))/0x7*(-parseInt(_0x3eacf6(0x186))/0x8)+parseInt(_0x3eacf6(0x187))/0x9+parseInt(_0x3eacf6(0x17d))/0xa;if(_0x39d719===_0x499127)break;else _0x2d56ed['push'](_0x2d56ed['shift']());}catch(_0x4c3ce6){_0x2d56ed['push'](_0x2d56ed['shift']());}}}(a60_0x286d,0xe0700));function a60_0x2919(_0x37d4e6,_0x2658c5){_0x37d4e6=_0x37d4e6-0x17d;var _0x286d6d=a60_0x286d();var _0x291924=_0x286d6d[_0x37d4e6];return _0x291924;}import{CliErrors}from'../errors.js';export function parseJsonParams(_0x53de24){var _0xbdecd2=a60_0x2919;if(!_0x53de24)return undefined;try{return JSON[_0xbdecd2(0x17f)](_0x53de24);}catch{throw CliErrors[_0xbdecd2(0x189)]('Invalid\x20JSON\x20for\x20--params:\x20'+_0x53de24);}}export function parseJsonParamsValue(_0xfb8fe6){var _0x488c3f=a60_0x2919;if(!_0xfb8fe6)return undefined;try{return JSON[_0x488c3f(0x17f)](_0xfb8fe6);}catch{throw CliErrors[_0x488c3f(0x189)]('Invalid\x20JSON\x20for\x20--params:\x20'+_0xfb8fe6);}}function a60_0x286d(){var _0x199829=['Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27','9515400AxheLJ','870130GRLSpS','parse','batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','7231FLFFaX','482BOEmra','isArray','items','28qPGHQL','472yFHQWl','8937189AMLyzw','2616918zstTSI','validation','6226tRAMdt','object','2797029XbHYIr'];a60_0x286d=function(){return _0x199829;};return a60_0x286d();}export function parseBatchCreateItemsFromParams(_0x2c4ff7){var _0xb5405a=a60_0x2919;if(Array['isArray'](_0x2c4ff7))return _0x2c4ff7;if(_0x2c4ff7!==null&&_0x2c4ff7!==undefined&&typeof _0x2c4ff7===_0xb5405a(0x18b)&&Array[_0xb5405a(0x183)](_0x2c4ff7[_0xb5405a(0x184)]))return _0x2c4ff7[_0xb5405a(0x184)];throw CliErrors[_0xb5405a(0x189)](_0xb5405a(0x180),_0xb5405a(0x18d));}
|
package/lib/utils/platform.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
const a61_0xe2bf56=a61_0x1253;(function(_0x9fb356,_0x23865e){const _0x5173d3=a61_0x1253,_0x328c8c=_0x9fb356();while(!![]){try{const _0x276322=parseInt(_0x5173d3(0x16d))/0x1*(parseInt(_0x5173d3(0x167))/0x2)+parseInt(_0x5173d3(0x168))/0x3+-parseInt(_0x5173d3(0x16c))/0x4*(-parseInt(_0x5173d3(0x169))/0x5)+parseInt(_0x5173d3(0x166))/0x6+parseInt(_0x5173d3(0x16a))/0x7+-parseInt(_0x5173d3(0x164))/0x8+-parseInt(_0x5173d3(0x16b))/0x9;if(_0x276322===_0x23865e)break;else _0x328c8c['push'](_0x328c8c['shift']());}catch(_0x526162){_0x328c8c['push'](_0x328c8c['shift']());}}}(a61_0x1ccd,0xbbeb4));function a61_0x1ccd(){const _0x2b7279=['8DutucQ','1rfrrfG','382160vjJBOl','win32','7524504GKxExk','1842574eZCmKf','2722980LMQHxh','1555885NMbinL','293440kycGAu','26368371HXyXSi'];a61_0x1ccd=function(){return _0x2b7279;};return a61_0x1ccd();}export const isWindows=process['platform']===a61_0xe2bf56(0x165);function a61_0x1253(_0x4501a9,_0x20cf88){_0x4501a9=_0x4501a9-0x164;const _0x1ccd73=a61_0x1ccd();let _0x1253d7=_0x1ccd73[_0x4501a9];return _0x1253d7;}export function resolveNpmBin(_0x36866c){return isWindows?_0x36866c+'.cmd':_0x36866c;}
|
package/lib/utils/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x27ac3e,_0x5e05d8){const _0x282a69=a62_0x9d8a,_0x47eb94=_0x27ac3e();while(!![]){try{const _0x238a83=parseInt(_0x282a69(0x168))/0x1*(-parseInt(_0x282a69(0x16c))/0x2)+-parseInt(_0x282a69(0x16f))/0x3+parseInt(_0x282a69(0x170))/0x4*(parseInt(_0x282a69(0x16d))/0x5)+parseInt(_0x282a69(0x173))/0x6*(-parseInt(_0x282a69(0x171))/0x7)+-parseInt(_0x282a69(0x175))/0x8*(-parseInt(_0x282a69(0x169))/0x9)+-parseInt(_0x282a69(0x16b))/0xa+parseInt(_0x282a69(0x174))/0xb;if(_0x238a83===_0x5e05d8)break;else _0x47eb94['push'](_0x47eb94['shift']());}catch(_0xbfcd54){_0x47eb94['push'](_0x47eb94['shift']());}}}(a62_0x3486,0x63c88));function a62_0x3486(){const _0x4ac494=['4zoNsnJ','18214bsLOiV','package.json','654wVqWQU','17854089SDGgTh','56PEWEsD','2wtOjug','92529bIxeYq','utf8','6038630zZMxJz','644264OiEXPs','3442035qwokrh','parse','1329048zDOfjf'];a62_0x3486=function(){return _0x4ac494;};return a62_0x3486();}import{readFileSync}from'node:fs';import{dirname,join}from'node:path';import{fileURLToPath}from'node:url';let cached;function a62_0x9d8a(_0x484764,_0x550a9d){_0x484764=_0x484764-0x168;const _0x34869e=a62_0x3486();let _0x9d8aaa=_0x34869e[_0x484764];return _0x9d8aaa;}export function getCliVersion(){const _0x563cb6=a62_0x9d8a;if(cached)return cached;const _0x268119=join(dirname(fileURLToPath(import.meta.url)),'..','..'),_0x8106a9=readFileSync(join(_0x268119,_0x563cb6(0x172)),_0x563cb6(0x16a)),_0x30a791=JSON[_0x563cb6(0x16e)](_0x8106a9);return cached=_0x30a791['version'],cached;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a63_0x20f5(_0x165d04,_0x2cf945){_0x165d04=_0x165d04-0xab;var _0x53efcc=a63_0x53ef();var _0x20f540=_0x53efcc[_0x165d04];return _0x20f540;}(function(_0xf9dca8,_0x360e24){var _0x13cf32=a63_0x20f5,_0x149aa9=_0xf9dca8();while(!![]){try{var _0x57ef6b=-parseInt(_0x13cf32(0xaf))/0x1*(-parseInt(_0x13cf32(0xb3))/0x2)+parseInt(_0x13cf32(0xac))/0x3+-parseInt(_0x13cf32(0xb6))/0x4+-parseInt(_0x13cf32(0xb2))/0x5*(parseInt(_0x13cf32(0xae))/0x6)+-parseInt(_0x13cf32(0xb7))/0x7+-parseInt(_0x13cf32(0xb4))/0x8*(-parseInt(_0x13cf32(0xad))/0x9)+-parseInt(_0x13cf32(0xb1))/0xa*(-parseInt(_0x13cf32(0xb0))/0xb);if(_0x57ef6b===_0x360e24)break;else _0x149aa9['push'](_0x149aa9['shift']());}catch(_0x3412ac){_0x149aa9['push'](_0x149aa9['shift']());}}}(a63_0x53ef,0x75639));export function writeCliSideChannelLine(_0x293dab){var _0x423100=a63_0x20f5;process[_0x423100(0xb5)][_0x423100(0xab)](_0x293dab+'\x0a');}function a63_0x53ef(){var _0x2363c7=['72286zOSeUa','83896VUUYSb','stderr','2450360ZHUqzE','1417794KterzX','write','1192770eiUFgf','45eQGgnO','301350eDKEGe','2gdMMlO','38489FogvLG','3790rtQIDn','55lggfDJ'];a63_0x53ef=function(){return _0x2363c7;};return a63_0x53ef();}
|