@lovrabet/lovrabet-cli 2.0.5-beta.1 → 2.0.5-beta.2
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_0x2ac974=a57_0x3157;(function(_0x3c5581,_0x1147d8){const _0x44bdaa=a57_0x3157,_0x3a5f8b=_0x3c5581();while(!![]){try{const _0x10185d=-parseInt(_0x44bdaa(0x73))/0x1+parseInt(_0x44bdaa(0x84))/0x2*(parseInt(_0x44bdaa(0x71))/0x3)+-parseInt(_0x44bdaa(0x86))/0x4+-parseInt(_0x44bdaa(0x77))/0x5+parseInt(_0x44bdaa(0x74))/0x6*(parseInt(_0x44bdaa(0x85))/0x7)+parseInt(_0x44bdaa(0x7d))/0x8*(parseInt(_0x44bdaa(0x76))/0x9)+parseInt(_0x44bdaa(0x7b))/0xa;if(_0x10185d===_0x1147d8)break;else _0x3a5f8b['push'](_0x3a5f8b['shift']());}catch(_0x492b35){_0x3a5f8b['push'](_0x3a5f8b['shift']());}}}(a57_0x55b6,0x2546f));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';export const LOVRABET_SKILL_SOURCE=a57_0x2ac974(0x7e);export const LOVRABET_SKIP_NPX_SKILLS_ENV=a57_0x2ac974(0x72);function a57_0x3157(_0x1d441c,_0x9fdeb8){_0x1d441c=_0x1d441c-0x71;const _0x55b65b=a57_0x55b6();let _0x31574b=_0x55b65b[_0x1d441c];return _0x31574b;}function a57_0x55b6(){const _0x53df09=['6IdQewJ','skills','14877BBrRZu','836950zHjegy','toString','pipe','inherit','2506430oLyHVJ','status','400BbAQjg','lovrabet/lovrabet-cli','add','stdout','unknown','stderr','trim','194942ZVwYzx','1417528LnWPTV','514088BQvuOM','exit\x20','stdio','npx','3dEBQtW','LOVRABET_SKIP_NPX_SKILLS','184669YdzaRe'];a57_0x55b6=function(){return _0x53df09;};return a57_0x55b6();}export function shouldSkipNpxSkillsAdd(){return process.env[LOVRABET_SKIP_NPX_SKILLS_ENV]==='1';}export function runNpxSkillsAddGlobal(_0x1e43b3,_0x270de3=LOVRABET_SKILL_SOURCE,_0xe61e8b){const _0x2eff9e=a57_0x2ac974;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x1abc57=_0xe61e8b?.[_0x2eff9e(0x88)]??_0x2eff9e(0x7a),_0x3d3369=resolveNpmBin(_0x2eff9e(0x89)),_0x170755=[_0x2eff9e(0x75),_0x2eff9e(0x7f),_0x270de3,'-g','-y'],_0x40dffb=[_0x3d3369,..._0x170755]['join']('\x20');console['log']('*\x20'+_0x40dffb);const _0x2ff612=spawnSync(_0x3d3369,_0x170755,{'cwd':_0x1e43b3,'stdio':_0x1abc57,'env':process.env,'shell':![]});if(_0x2ff612[_0x2eff9e(0x7c)]===0x0)return{'ok':!![],'status':0x0};let _0x2e303b=_0x2eff9e(0x87)+(_0x2ff612[_0x2eff9e(0x7c)]??_0x2eff9e(0x81));if(_0x1abc57===_0x2eff9e(0x79)){const _0x10676f=_0x2ff612[_0x2eff9e(0x82)]?_0x2ff612[_0x2eff9e(0x82)][_0x2eff9e(0x78)]()[_0x2eff9e(0x83)]():'',_0x23b93c=_0x2ff612['stdout']?_0x2ff612[_0x2eff9e(0x80)][_0x2eff9e(0x78)]()[_0x2eff9e(0x83)]():'';if(_0x10676f)_0x2e303b=_0x10676f;else{if(_0x23b93c)_0x2e303b=_0x23b93c;}}return{'ok':![],'status':_0x2ff612['status']??null,'error':_0x2e303b};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a58_0x581e(_0x3e76d8,_0x2fa67e){_0x3e76d8=_0x3e76d8-0x141;const _0x250370=a58_0x2503();let _0x581ed7=_0x250370[_0x3e76d8];return _0x581ed7;}function a58_0x2503(){const _0x548288=['2iVlLoT','14532cQgqbx','5819770jHFmbA','10967svfjAq','13078872NtPdck','2316iModMz','8661380iowava','6990RaqFWi','833325svigVT','520dyziDc','18fluOPB','82788TtFAOQ'];a58_0x2503=function(){return _0x548288;};return a58_0x2503();}(function(_0x355b3c,_0x57f28c){const _0x333fea=a58_0x581e,_0x1746dd=_0x355b3c();while(!![]){try{const _0x5bd110=parseInt(_0x333fea(0x14b))/0x1*(parseInt(_0x333fea(0x143))/0x2)+parseInt(_0x333fea(0x14a))/0x3*(parseInt(_0x333fea(0x148))/0x4)+parseInt(_0x333fea(0x14c))/0x5*(parseInt(_0x333fea(0x142))/0x6)+parseInt(_0x333fea(0x149))/0x7+-parseInt(_0x333fea(0x147))/0x8+parseInt(_0x333fea(0x141))/0x9*(-parseInt(_0x333fea(0x145))/0xa)+-parseInt(_0x333fea(0x146))/0xb*(parseInt(_0x333fea(0x144))/0xc);if(_0x5bd110===_0x57f28c)break;else _0x1746dd['push'](_0x1746dd['shift']());}catch(_0x35a7f1){_0x1746dd['push'](_0x1746dd['shift']());}}}(a58_0x2503,0xcf2a3));import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
|
package/lib/utils/logger.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a59_0x30aa(){const _0x3d40d9=['red','error','printf','createLogger','utf8','clear','logFilePath','currentRawCommand','setLogPath','3347766KiwiZz','join','yellow','26200CBKdpK','success','now','72483LqYCEW','unknown','969510xfLBop','readLogs','Starting:\x20','combine','Failed\x20to\x20clear\x20logs:','errors','244ZArJsq','549002USGlui','log','map','22308946woocGd','timestamp','stringify','duration','.lovrabet-runtime.log','8pNHxKK','warn','135zpuZRL','details','clearLogs','command','split','323309qzzUHq','info','existsSync','trim','writeFileSync','message','Failed\x20to\x20read\x20logs:','86SJWaXo','winstonLogger','level','format','parse','mkdirSync'];a59_0x30aa=function(){return _0x3d40d9;};return a59_0x30aa();}const a59_0x116b2c=a59_0x4079;(function(_0x4b2770,_0x972fed){const _0x3cf031=a59_0x4079,_0x2ddcc2=_0x4b2770();while(!![]){try{const _0x6e2eb7=parseInt(_0x3cf031(0x1ab))/0x1+-parseInt(_0x3cf031(0x18d))/0x2*(-parseInt(_0x3cf031(0x1a2))/0x3)+parseInt(_0x3cf031(0x1aa))/0x4*(parseInt(_0x3cf031(0x19f))/0x5)+-parseInt(_0x3cf031(0x19c))/0x6+-parseInt(_0x3cf031(0x1ba))/0x7*(-parseInt(_0x3cf031(0x1b3))/0x8)+parseInt(_0x3cf031(0x1b5))/0x9*(parseInt(_0x3cf031(0x1a4))/0xa)+-parseInt(_0x3cf031(0x1ae))/0xb;if(_0x6e2eb7===_0x972fed)break;else _0x2ddcc2['push'](_0x2ddcc2['shift']());}catch(_0x4102df){_0x2ddcc2['push'](_0x2ddcc2['shift']());}}}(a59_0x30aa,0xc8ad2));import a59_0x5d2e04 from'winston';import a59_0x2c86c1 from'node:fs';function a59_0x4079(_0x18435c,_0x5e6d2d){_0x18435c=_0x18435c-0x187;const _0x30aaab=a59_0x30aa();let _0x4079bb=_0x30aaab[_0x18435c];return _0x4079bb;}import a59_0x167f03 from'node:path';class Logger{[a59_0x116b2c(0x18e)];[a59_0x116b2c(0x199)]='';['currentRawCommand']='';constructor(){}['setRawCommand'](_0x2933cd){this['currentRawCommand']=_0x2933cd;}[a59_0x116b2c(0x19b)](_0x21025a){const _0x59f60c=a59_0x116b2c;this[_0x59f60c(0x199)]=a59_0x167f03[_0x59f60c(0x19d)](_0x21025a,_0x59f60c(0x1b2)),this[_0x59f60c(0x18e)]&&this[_0x59f60c(0x18e)][_0x59f60c(0x198)](),this['initWinstonLogger']();}['initWinstonLogger'](){const _0x4b9122=a59_0x116b2c,_0x45fcc7=a59_0x167f03['dirname'](this[_0x4b9122(0x199)]);!a59_0x2c86c1[_0x4b9122(0x188)](_0x45fcc7)&&a59_0x2c86c1[_0x4b9122(0x192)](_0x45fcc7,{'recursive':!![]});const _0x590d01=a59_0x5d2e04[_0x4b9122(0x190)][_0x4b9122(0x1a7)](a59_0x5d2e04[_0x4b9122(0x190)][_0x4b9122(0x1af)](),a59_0x5d2e04[_0x4b9122(0x190)][_0x4b9122(0x1a9)]({'stack':!![]}),a59_0x5d2e04[_0x4b9122(0x190)][_0x4b9122(0x195)](_0x5d1940=>{const _0xd88a47=_0x4b9122,_0x27556c={'timestamp':_0x5d1940[_0xd88a47(0x1af)]||new Date()['toISOString'](),'level':_0x5d1940[_0xd88a47(0x18f)]||_0xd88a47(0x187),'command':_0x5d1940[_0xd88a47(0x1b8)]||_0xd88a47(0x1a3),'rawCommand':_0x5d1940['rawCommand']||this[_0xd88a47(0x19a)]||undefined,'message':_0x5d1940[_0xd88a47(0x18b)]||'','duration':_0x5d1940[_0xd88a47(0x1b1)]||undefined,'details':_0x5d1940[_0xd88a47(0x1b6)]||undefined};return JSON[_0xd88a47(0x1b0)](_0x27556c);}));this['winstonLogger']=a59_0x5d2e04[_0x4b9122(0x196)]({'level':'info','format':_0x590d01,'transports':[new a59_0x5d2e04['transports']['File']({'filename':this['logFilePath'],'level':'info'})],'silent':![]}),a59_0x5d2e04['addColors']({'success':'green','error':_0x4b9122(0x193),'warn':_0x4b9122(0x19e),'info':'blue'});}[a59_0x116b2c(0x187)](_0x3d086c,_0x2196bd,_0x491888){const _0x413d4c=a59_0x116b2c;if(!this[_0x413d4c(0x199)]||!this[_0x413d4c(0x18e)])return;this[_0x413d4c(0x18e)]['info'](_0x2196bd,{'command':_0x3d086c,'details':_0x491888});}[a59_0x116b2c(0x1a0)](_0x5d640d,_0x34b8ce,_0x363afe,_0x8d2d20){const _0x5574d9=a59_0x116b2c;if(!this[_0x5574d9(0x199)]||!this[_0x5574d9(0x18e)])return;this[_0x5574d9(0x18e)][_0x5574d9(0x1ac)](_0x5574d9(0x187),_0x34b8ce,{'level':_0x5574d9(0x1a0),'command':_0x5d640d,'duration':_0x363afe,'details':_0x8d2d20});}['error'](_0x20b8bb,_0x238062,_0x273719){const _0xa5401b=a59_0x116b2c;if(!this[_0xa5401b(0x199)]||!this[_0xa5401b(0x18e)])return;this['winstonLogger'][_0xa5401b(0x194)](_0x238062,{'command':_0x20b8bb,'details':_0x273719});}[a59_0x116b2c(0x1b4)](_0x363a36,_0xc26298,_0x5c8e91){const _0x20f303=a59_0x116b2c;if(!this['logFilePath']||!this['winstonLogger'])return;this['winstonLogger'][_0x20f303(0x1b4)](_0xc26298,{'command':_0x363a36,'details':_0x5c8e91});}async['logTask'](_0x4fce0c,_0x29c0ec,_0x442a74){const _0x2f1b5d=a59_0x116b2c,_0x41b0aa=Date[_0x2f1b5d(0x1a1)]();this[_0x2f1b5d(0x187)](_0x4fce0c,_0x2f1b5d(0x1a6)+_0x29c0ec);try{const _0x150932=await _0x442a74(),_0x35ef1c=Date[_0x2f1b5d(0x1a1)]()-_0x41b0aa;return this[_0x2f1b5d(0x1a0)](_0x4fce0c,'Completed:\x20'+_0x29c0ec,_0x35ef1c),_0x150932;}catch(_0x46b7a5){const _0x5baae4=Date[_0x2f1b5d(0x1a1)]()-_0x41b0aa;this[_0x2f1b5d(0x194)](_0x4fce0c,'Failed:\x20'+_0x29c0ec,{'error':_0x46b7a5 instanceof Error?_0x46b7a5[_0x2f1b5d(0x18b)]:String(_0x46b7a5),'duration':_0x5baae4});throw _0x46b7a5;}}[a59_0x116b2c(0x1a5)](){const _0x4dd3f2=a59_0x116b2c;try{if(!a59_0x2c86c1['existsSync'](this['logFilePath']))return[];const _0x3bee13=a59_0x2c86c1['readFileSync'](this[_0x4dd3f2(0x199)],_0x4dd3f2(0x197));return _0x3bee13[_0x4dd3f2(0x1b9)](/\r?\n/)['filter'](_0x1382d8=>_0x1382d8[_0x4dd3f2(0x189)]())[_0x4dd3f2(0x1ad)](_0x24d0cb=>JSON[_0x4dd3f2(0x191)](_0x24d0cb));}catch(_0x521272){return console['warn'](_0x4dd3f2(0x18c),_0x521272),[];}}[a59_0x116b2c(0x1b7)](){const _0x281d92=a59_0x116b2c;try{a59_0x2c86c1[_0x281d92(0x188)](this[_0x281d92(0x199)])&&a59_0x2c86c1[_0x281d92(0x18a)](this[_0x281d92(0x199)],'',_0x281d92(0x197));}catch(_0xd6f507){console['warn'](_0x281d92(0x1a8),_0xd6f507);}}['getWinstonInstance'](){const _0x2de605=a59_0x116b2c;return this[_0x2de605(0x18e)];}}export const logger=new Logger();
|
package/lib/utils/params.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x67c43c,_0x333af0){var _0x4adc65=a60_0x133f,_0x513535=_0x67c43c();while(!![]){try{var _0x5e6198=-parseInt(_0x4adc65(0xbc))/0x1+-parseInt(_0x4adc65(0xbb))/0x2+-parseInt(_0x4adc65(0xc0))/0x3+-parseInt(_0x4adc65(0xbd))/0x4+parseInt(_0x4adc65(0xbe))/0x5+parseInt(_0x4adc65(0xba))/0x6+parseInt(_0x4adc65(0xbf))/0x7;if(_0x5e6198===_0x333af0)break;else _0x513535['push'](_0x513535['shift']());}catch(_0xcbd321){_0x513535['push'](_0x513535['shift']());}}}(a60_0x253f,0x8e4f4));import{CliErrors}from'../errors.js';function a60_0x133f(_0x129c59,_0x387f61){_0x129c59=_0x129c59-0xb4;var _0x253fc7=a60_0x253f();var _0x133ffd=_0x253fc7[_0x129c59];return _0x133ffd;}export function parseJsonParams(_0x4c5e6c){var _0x39987d=a60_0x133f;if(!_0x4c5e6c)return undefined;try{return JSON['parse'](_0x4c5e6c);}catch{throw CliErrors[_0x39987d(0xb4)](_0x39987d(0xb9)+_0x4c5e6c);}}export function parseJsonParamsValue(_0x1cdc08){var _0x5d4a1a=a60_0x133f;if(!_0x1cdc08)return undefined;try{return JSON[_0x5d4a1a(0xb8)](_0x1cdc08);}catch{throw CliErrors[_0x5d4a1a(0xb4)](_0x5d4a1a(0xb9)+_0x1cdc08);}}export function parseBatchCreateItemsFromParams(_0x5132a0){var _0x8813e2=a60_0x133f;if(Array['isArray'](_0x5132a0))return _0x5132a0;if(_0x5132a0!==null&&_0x5132a0!==undefined&&typeof _0x5132a0===_0x8813e2(0xb5)&&Array[_0x8813e2(0xc1)](_0x5132a0['items']))return _0x5132a0[_0x8813e2(0xb7)];throw CliErrors['validation']('batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}',_0x8813e2(0xb6));}function a60_0x253f(){var _0x5d3270=['4586364PBAbiU','2068100vmCoKm','20073312zfFnFJ','2297748dxQDeu','isArray','validation','object','Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27','items','parse','Invalid\x20JSON\x20for\x20--params:\x20','5587482PfOrbz','2025110XJPpXi','704521oXtTzp'];a60_0x253f=function(){return _0x5d3270;};return a60_0x253f();}
|
package/lib/utils/platform.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a61_0x413d(_0x482f30,_0x3e8fb3){_0x482f30=_0x482f30-0x146;const _0x4aee02=a61_0x4aee();let _0x413d79=_0x4aee02[_0x482f30];return _0x413d79;}function a61_0x4aee(){const _0x4d847c=['9WhkBOt','3600366xVJZbs','9640uVhQyj','67748SEFKCr','260IttILD','7cvCzDb','2dKDoje','win32','863022nzygFm','433137IUXCzv','840568ppVRkH','platform','2705750UBbeGs','.cmd'];a61_0x4aee=function(){return _0x4d847c;};return a61_0x4aee();}const a61_0xbbeeb6=a61_0x413d;(function(_0x584a42,_0x23919c){const _0x1f62da=a61_0x413d,_0x5ba44e=_0x584a42();while(!![]){try{const _0x5608f6=parseInt(_0x1f62da(0x146))/0x1*(-parseInt(_0x1f62da(0x151))/0x2)+parseInt(_0x1f62da(0x149))/0x3+parseInt(_0x1f62da(0x150))/0x4*(-parseInt(_0x1f62da(0x152))/0x5)+-parseInt(_0x1f62da(0x148))/0x6*(parseInt(_0x1f62da(0x153))/0x7)+-parseInt(_0x1f62da(0x14a))/0x8*(-parseInt(_0x1f62da(0x14e))/0x9)+parseInt(_0x1f62da(0x14c))/0xa+parseInt(_0x1f62da(0x14f))/0xb;if(_0x5608f6===_0x23919c)break;else _0x5ba44e['push'](_0x5ba44e['shift']());}catch(_0x35aba7){_0x5ba44e['push'](_0x5ba44e['shift']());}}}(a61_0x4aee,0x7c9da));export const isWindows=process[a61_0xbbeeb6(0x14b)]===a61_0xbbeeb6(0x147);export function resolveNpmBin(_0x26fcfc){const _0x41c7cd=a61_0xbbeeb6;return isWindows?_0x26fcfc+_0x41c7cd(0x14d):_0x26fcfc;}
|
package/lib/utils/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x28e40d,_0x32d896){const _0x19049a=a62_0x3981,_0xc6536e=_0x28e40d();while(!![]){try{const _0x5cbb91=parseInt(_0x19049a(0xb3))/0x1*(-parseInt(_0x19049a(0xb5))/0x2)+-parseInt(_0x19049a(0xb8))/0x3*(-parseInt(_0x19049a(0xb0))/0x4)+parseInt(_0x19049a(0xb6))/0x5+parseInt(_0x19049a(0xb1))/0x6+-parseInt(_0x19049a(0xaf))/0x7+-parseInt(_0x19049a(0xb2))/0x8+parseInt(_0x19049a(0xb7))/0x9;if(_0x5cbb91===_0x32d896)break;else _0xc6536e['push'](_0xc6536e['shift']());}catch(_0x3f5b85){_0xc6536e['push'](_0xc6536e['shift']());}}}(a62_0xfd79,0x97a73));import{readFileSync}from'node:fs';function a62_0x3981(_0x2a7f2b,_0x3ec4fd){_0x2a7f2b=_0x2a7f2b-0xae;const _0xfd7959=a62_0xfd79();let _0x39814c=_0xfd7959[_0x2a7f2b];return _0x39814c;}import{dirname,join}from'node:path';import{fileURLToPath}from'node:url';let cached;export function getCliVersion(){const _0x29f13b=a62_0x3981;if(cached)return cached;const _0x3d8c03=join(dirname(fileURLToPath(import.meta.url)),'..','..'),_0x3d26fc=readFileSync(join(_0x3d8c03,_0x29f13b(0xae)),_0x29f13b(0xba)),_0x104983=JSON[_0x29f13b(0xb9)](_0x3d26fc);return cached=_0x104983[_0x29f13b(0xb4)],cached;}function a62_0xfd79(){const _0x8727b0=['368155TMDjYb','version','6FUjkjm','2222265Ttwcgc','8329500bDwWxW','3tvoxyG','parse','utf8','package.json','3017154dRKXFM','3678184NaKqxR','6553020oqnBTy','9800088xHkbjJ'];a62_0xfd79=function(){return _0x8727b0;};return a62_0xfd79();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x97b1c5,_0x28f0e1){var _0x581321=a63_0x77f6,_0x132232=_0x97b1c5();while(!![]){try{var _0x1fd856=-parseInt(_0x581321(0xc0))/0x1*(parseInt(_0x581321(0xc6))/0x2)+parseInt(_0x581321(0xc7))/0x3+-parseInt(_0x581321(0xbe))/0x4+parseInt(_0x581321(0xc3))/0x5+-parseInt(_0x581321(0xc4))/0x6*(parseInt(_0x581321(0xc1))/0x7)+parseInt(_0x581321(0xbd))/0x8*(parseInt(_0x581321(0xc5))/0x9)+parseInt(_0x581321(0xc2))/0xa;if(_0x1fd856===_0x28f0e1)break;else _0x132232['push'](_0x132232['shift']());}catch(_0x6e6e44){_0x132232['push'](_0x132232['shift']());}}}(a63_0x1a9c,0x38df0));export function writeCliSideChannelLine(_0x5a2526){var _0x5bb7a5=a63_0x77f6;process[_0x5bb7a5(0xbf)]['write'](_0x5a2526+'\x0a');}function a63_0x77f6(_0x59067a,_0x5e6e52){_0x59067a=_0x59067a-0xbd;var _0x1a9c86=a63_0x1a9c();var _0x77f60f=_0x1a9c86[_0x59067a];return _0x77f60f;}function a63_0x1a9c(){var _0x3a8423=['94cxGFGT','14scWgTW','2612110WKtOng','775795VCJdRQ','497922QLVoYC','9rdACtz','4758FdVUSX','307221xROYGR','2035768tHNtDV','602816KlHKAw','stderr'];a63_0x1a9c=function(){return _0x3a8423;};return a63_0x1a9c();}
|