@lovrabet/lovrabet-cli 2.0.4 → 2.0.5-beta.1
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_0x1bc513=a57_0x2f0f;(function(_0x3af1e5,_0x5afade){const _0x970440=a57_0x2f0f,_0x13d662=_0x3af1e5();while(!![]){try{const _0x2ad1c9=-parseInt(_0x970440(0x1ca))/0x1*(-parseInt(_0x970440(0x1ce))/0x2)+-parseInt(_0x970440(0x1dc))/0x3*(-parseInt(_0x970440(0x1d4))/0x4)+-parseInt(_0x970440(0x1df))/0x5*(-parseInt(_0x970440(0x1db))/0x6)+parseInt(_0x970440(0x1d9))/0x7+parseInt(_0x970440(0x1d8))/0x8+-parseInt(_0x970440(0x1cf))/0x9+parseInt(_0x970440(0x1d3))/0xa*(-parseInt(_0x970440(0x1d2))/0xb);if(_0x2ad1c9===_0x5afade)break;else _0x13d662['push'](_0x13d662['shift']());}catch(_0x2cc07f){_0x13d662['push'](_0x13d662['shift']());}}}(a57_0x4136,0x44389));function a57_0x2f0f(_0x4808ac,_0x48350e){_0x4808ac=_0x4808ac-0x1c7;const _0x413655=a57_0x4136();let _0x2f0f82=_0x413655[_0x4808ac];return _0x2f0f82;}import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';export const LOVRABET_SKILL_SOURCE=a57_0x1bc513(0x1de);export const LOVRABET_SKIP_NPX_SKILLS_ENV=a57_0x1bc513(0x1c7);function a57_0x4136(){const _0xcccb87=['add','status','2992392ODCvuI','3816582qhUjiQ','trim','1782XqWSaV','411pJfwkv','stdio','lovrabet/lovrabet-cli','4015afHKvr','LOVRABET_SKIP_NPX_SKILLS','log','stdout','2ojObPE','npx','stderr','inherit','373584hQcCnE','2780172djRTzF','toString','join','33emzjws','4142550HqDkGI','8752kUuHTD','exit\x20'];a57_0x4136=function(){return _0xcccb87;};return a57_0x4136();}export function shouldSkipNpxSkillsAdd(){return process.env[LOVRABET_SKIP_NPX_SKILLS_ENV]==='1';}export function runNpxSkillsAddGlobal(_0x264098,_0x18afb8=LOVRABET_SKILL_SOURCE,_0x2d0304){const _0x2ae222=a57_0x1bc513;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x3794d0=_0x2d0304?.[_0x2ae222(0x1dd)]??_0x2ae222(0x1cd),_0xd175da=resolveNpmBin(_0x2ae222(0x1cb)),_0x479a66=['skills',_0x2ae222(0x1d6),_0x18afb8,'-g','-y'],_0x263a3c=[_0xd175da,..._0x479a66][_0x2ae222(0x1d1)]('\x20');console[_0x2ae222(0x1c8)]('*\x20'+_0x263a3c);const _0x1d26b7=spawnSync(_0xd175da,_0x479a66,{'cwd':_0x264098,'stdio':_0x3794d0,'env':process.env,'shell':![]});if(_0x1d26b7[_0x2ae222(0x1d7)]===0x0)return{'ok':!![],'status':0x0};let _0x449ff5=_0x2ae222(0x1d5)+(_0x1d26b7[_0x2ae222(0x1d7)]??'unknown');if(_0x3794d0==='pipe'){const _0x54ee6b=_0x1d26b7[_0x2ae222(0x1cc)]?_0x1d26b7[_0x2ae222(0x1cc)][_0x2ae222(0x1d0)]()[_0x2ae222(0x1da)]():'',_0x1e21de=_0x1d26b7['stdout']?_0x1d26b7[_0x2ae222(0x1c9)]['toString']()[_0x2ae222(0x1da)]():'';if(_0x54ee6b)_0x449ff5=_0x54ee6b;else{if(_0x1e21de)_0x449ff5=_0x1e21de;}}return{'ok':![],'status':_0x1d26b7[_0x2ae222(0x1d7)]??null,'error':_0x449ff5};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a58_0x9242(_0x48b6aa,_0x4063b2){_0x48b6aa=_0x48b6aa-0x66;const _0x3eb88c=a58_0x3eb8();let _0x92424f=_0x3eb88c[_0x48b6aa];return _0x92424f;}(function(_0x403837,_0x15b7f1){const _0x3ec2bc=a58_0x9242,_0x44b261=_0x403837();while(!![]){try{const _0x2be744=-parseInt(_0x3ec2bc(0x6a))/0x1*(parseInt(_0x3ec2bc(0x67))/0x2)+-parseInt(_0x3ec2bc(0x6e))/0x3+-parseInt(_0x3ec2bc(0x66))/0x4*(parseInt(_0x3ec2bc(0x6d))/0x5)+-parseInt(_0x3ec2bc(0x68))/0x6*(parseInt(_0x3ec2bc(0x6c))/0x7)+-parseInt(_0x3ec2bc(0x6b))/0x8+parseInt(_0x3ec2bc(0x69))/0x9+parseInt(_0x3ec2bc(0x6f))/0xa;if(_0x2be744===_0x15b7f1)break;else _0x44b261['push'](_0x44b261['shift']());}catch(_0x4f4ba9){_0x44b261['push'](_0x44b261['shift']());}}}(a58_0x3eb8,0xa1f65));import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a58_0x3eb8(){const _0x45e307=['4685tXrxow','1565301rDDETy','29647460ERmvDY','4akNTlf','8sPVYpu','84aGoDBq','960012fytktC','248701PaknnN','3422808piroOM','231329gvEAeR'];a58_0x3eb8=function(){return _0x45e307;};return a58_0x3eb8();}export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
|
package/lib/utils/logger.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a59_0x251c3d=a59_0x2908;(function(_0x59440a,_0x7e0a4c){const _0x41044a=a59_0x2908,_0x3cbadb=_0x59440a();while(!![]){try{const _0x2c9661=-parseInt(_0x41044a(0x1be))/0x1+parseInt(_0x41044a(0x1ca))/0x2*(-parseInt(_0x41044a(0x1e3))/0x3)+parseInt(_0x41044a(0x1d6))/0x4+parseInt(_0x41044a(0x1d8))/0x5*(parseInt(_0x41044a(0x1c6))/0x6)+-parseInt(_0x41044a(0x1b3))/0x7+parseInt(_0x41044a(0x1cb))/0x8*(-parseInt(_0x41044a(0x1d9))/0x9)+parseInt(_0x41044a(0x1b5))/0xa;if(_0x2c9661===_0x7e0a4c)break;else _0x3cbadb['push'](_0x3cbadb['shift']());}catch(_0x26f9cb){_0x3cbadb['push'](_0x3cbadb['shift']());}}}(a59_0x2407,0x6ab2e));import a59_0x8a58d from'winston';import a59_0x55ffa3 from'node:fs';function a59_0x2407(){const _0x4ede5a=['now','existsSync','rawCommand','1163687dyoDwT','unknown','10575200TRvvGw','log','Starting:\x20','printf','success','duration','error','utf8','setLogPath','649620vCPNNZ','format','filter','transports','initWinstonLogger','logTask','getWinstonInstance','Failed:\x20','179706GjzkLe','dirname','readFileSync','details','190286TEcGaq','360HBDINO','warn','green','File','mkdirSync','Failed\x20to\x20read\x20logs:','winstonLogger','Failed\x20to\x20clear\x20logs:','timestamp','logFilePath','command','1972056hDABVG','parse','30tfDTMA','57411SnCQyD','errors','toISOString','currentRawCommand','writeFileSync','info','map','setRawCommand','readLogs','split','6ExldYr','addColors','stringify','level','clear'];a59_0x2407=function(){return _0x4ede5a;};return a59_0x2407();}import a59_0x47ccc9 from'node:path';function a59_0x2908(_0xe81e77,_0x3746ad){_0xe81e77=_0xe81e77-0x1b1;const _0x24076c=a59_0x2407();let _0x290833=_0x24076c[_0xe81e77];return _0x290833;}class Logger{[a59_0x251c3d(0x1d1)];[a59_0x251c3d(0x1d4)]='';[a59_0x251c3d(0x1dc)]='';constructor(){}[a59_0x251c3d(0x1e0)](_0xf4d21d){const _0x2ed9e7=a59_0x251c3d;this[_0x2ed9e7(0x1dc)]=_0xf4d21d;}[a59_0x251c3d(0x1bd)](_0x1af5f3){const _0x25976b=a59_0x251c3d;this['logFilePath']=a59_0x47ccc9['join'](_0x1af5f3,'.lovrabet-runtime.log'),this[_0x25976b(0x1d1)]&&this['winstonLogger'][_0x25976b(0x1e7)](),this['initWinstonLogger']();}[a59_0x251c3d(0x1c2)](){const _0x1ac596=a59_0x251c3d,_0x17a263=a59_0x47ccc9[_0x1ac596(0x1c7)](this[_0x1ac596(0x1d4)]);!a59_0x55ffa3[_0x1ac596(0x1b1)](_0x17a263)&&a59_0x55ffa3[_0x1ac596(0x1cf)](_0x17a263,{'recursive':!![]});const _0x3a86d3=a59_0x8a58d[_0x1ac596(0x1bf)]['combine'](a59_0x8a58d[_0x1ac596(0x1bf)][_0x1ac596(0x1d3)](),a59_0x8a58d['format'][_0x1ac596(0x1da)]({'stack':!![]}),a59_0x8a58d[_0x1ac596(0x1bf)][_0x1ac596(0x1b8)](_0x3c12cf=>{const _0x154650=_0x1ac596,_0x1d28d8={'timestamp':_0x3c12cf[_0x154650(0x1d3)]||new Date()[_0x154650(0x1db)](),'level':_0x3c12cf[_0x154650(0x1e6)]||_0x154650(0x1de),'command':_0x3c12cf[_0x154650(0x1d5)]||_0x154650(0x1b4),'rawCommand':_0x3c12cf[_0x154650(0x1b2)]||this[_0x154650(0x1dc)]||undefined,'message':_0x3c12cf['message']||'','duration':_0x3c12cf[_0x154650(0x1ba)]||undefined,'details':_0x3c12cf[_0x154650(0x1c9)]||undefined};return JSON[_0x154650(0x1e5)](_0x1d28d8);}));this[_0x1ac596(0x1d1)]=a59_0x8a58d['createLogger']({'level':_0x1ac596(0x1de),'format':_0x3a86d3,'transports':[new a59_0x8a58d[(_0x1ac596(0x1c1))][(_0x1ac596(0x1ce))]({'filename':this['logFilePath'],'level':'info'})],'silent':![]}),a59_0x8a58d[_0x1ac596(0x1e4)]({'success':_0x1ac596(0x1cd),'error':'red','warn':'yellow','info':'blue'});}[a59_0x251c3d(0x1de)](_0x15aa60,_0x456017,_0x2ab73f){const _0x51c297=a59_0x251c3d;if(!this['logFilePath']||!this[_0x51c297(0x1d1)])return;this[_0x51c297(0x1d1)][_0x51c297(0x1de)](_0x456017,{'command':_0x15aa60,'details':_0x2ab73f});}[a59_0x251c3d(0x1b9)](_0x531810,_0x5a2525,_0x44ccc3,_0x20e9de){const _0x101f4a=a59_0x251c3d;if(!this[_0x101f4a(0x1d4)]||!this[_0x101f4a(0x1d1)])return;this[_0x101f4a(0x1d1)][_0x101f4a(0x1b6)](_0x101f4a(0x1de),_0x5a2525,{'level':_0x101f4a(0x1b9),'command':_0x531810,'duration':_0x44ccc3,'details':_0x20e9de});}[a59_0x251c3d(0x1bb)](_0x5b8942,_0x50b55f,_0x4d77db){const _0x39cf12=a59_0x251c3d;if(!this[_0x39cf12(0x1d4)]||!this[_0x39cf12(0x1d1)])return;this['winstonLogger']['error'](_0x50b55f,{'command':_0x5b8942,'details':_0x4d77db});}[a59_0x251c3d(0x1cc)](_0x2a9a82,_0x216359,_0xdc5a0f){const _0x271674=a59_0x251c3d;if(!this[_0x271674(0x1d4)]||!this[_0x271674(0x1d1)])return;this['winstonLogger']['warn'](_0x216359,{'command':_0x2a9a82,'details':_0xdc5a0f});}async[a59_0x251c3d(0x1c3)](_0xddf458,_0x206b93,_0x2eec14){const _0x8c3966=a59_0x251c3d,_0x322c45=Date[_0x8c3966(0x1e8)]();this[_0x8c3966(0x1de)](_0xddf458,_0x8c3966(0x1b7)+_0x206b93);try{const _0x2d8dfe=await _0x2eec14(),_0x1030a7=Date[_0x8c3966(0x1e8)]()-_0x322c45;return this[_0x8c3966(0x1b9)](_0xddf458,'Completed:\x20'+_0x206b93,_0x1030a7),_0x2d8dfe;}catch(_0x25fbd8){const _0x339de9=Date[_0x8c3966(0x1e8)]()-_0x322c45;this[_0x8c3966(0x1bb)](_0xddf458,_0x8c3966(0x1c5)+_0x206b93,{'error':_0x25fbd8 instanceof Error?_0x25fbd8['message']:String(_0x25fbd8),'duration':_0x339de9});throw _0x25fbd8;}}[a59_0x251c3d(0x1e1)](){const _0xb67140=a59_0x251c3d;try{if(!a59_0x55ffa3[_0xb67140(0x1b1)](this['logFilePath']))return[];const _0x155e61=a59_0x55ffa3[_0xb67140(0x1c8)](this[_0xb67140(0x1d4)],_0xb67140(0x1bc));return _0x155e61[_0xb67140(0x1e2)](/\r?\n/)[_0xb67140(0x1c0)](_0x42227e=>_0x42227e['trim']())[_0xb67140(0x1df)](_0x3fcd7b=>JSON[_0xb67140(0x1d7)](_0x3fcd7b));}catch(_0x1bcc25){return console[_0xb67140(0x1cc)](_0xb67140(0x1d0),_0x1bcc25),[];}}['clearLogs'](){const _0x5a6f9e=a59_0x251c3d;try{a59_0x55ffa3[_0x5a6f9e(0x1b1)](this[_0x5a6f9e(0x1d4)])&&a59_0x55ffa3[_0x5a6f9e(0x1dd)](this[_0x5a6f9e(0x1d4)],'',_0x5a6f9e(0x1bc));}catch(_0x31f197){console['warn'](_0x5a6f9e(0x1d2),_0x31f197);}}[a59_0x251c3d(0x1c4)](){const _0x222092=a59_0x251c3d;return this[_0x222092(0x1d1)];}}export const logger=new Logger();
|
package/lib/utils/params.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x3dc5a2,_0x2113d0){var _0x3b9dad=a60_0x49ae,_0x1ff70e=_0x3dc5a2();while(!![]){try{var _0x40cc3f=-parseInt(_0x3b9dad(0x166))/0x1*(parseInt(_0x3b9dad(0x162))/0x2)+parseInt(_0x3b9dad(0x15b))/0x3+parseInt(_0x3b9dad(0x155))/0x4*(parseInt(_0x3b9dad(0x15e))/0x5)+parseInt(_0x3b9dad(0x158))/0x6+-parseInt(_0x3b9dad(0x165))/0x7*(parseInt(_0x3b9dad(0x15d))/0x8)+-parseInt(_0x3b9dad(0x161))/0x9*(-parseInt(_0x3b9dad(0x15c))/0xa)+-parseInt(_0x3b9dad(0x164))/0xb*(-parseInt(_0x3b9dad(0x160))/0xc);if(_0x40cc3f===_0x2113d0)break;else _0x1ff70e['push'](_0x1ff70e['shift']());}catch(_0x5e573e){_0x1ff70e['push'](_0x1ff70e['shift']());}}}(a60_0x3778,0x9f989));import{CliErrors}from'../errors.js';export function parseJsonParams(_0x12524b){if(!_0x12524b)return undefined;try{return JSON['parse'](_0x12524b);}catch{throw CliErrors['validation']('Invalid\x20JSON\x20for\x20--params:\x20'+_0x12524b);}}function a60_0x49ae(_0x4d50ee,_0x539bdc){_0x4d50ee=_0x4d50ee-0x155;var _0x3778d8=a60_0x3778();var _0x49aea6=_0x3778d8[_0x4d50ee];return _0x49aea6;}export function parseJsonParamsValue(_0x1f9c4a){var _0x400d02=a60_0x49ae;if(!_0x1f9c4a)return undefined;try{return JSON['parse'](_0x1f9c4a);}catch{throw CliErrors[_0x400d02(0x15a)](_0x400d02(0x15f)+_0x1f9c4a);}}export function parseBatchCreateItemsFromParams(_0x12ad64){var _0x9223b3=a60_0x49ae;if(Array[_0x9223b3(0x159)](_0x12ad64))return _0x12ad64;if(_0x12ad64!==null&&_0x12ad64!==undefined&&typeof _0x12ad64===_0x9223b3(0x163)&&Array['isArray'](_0x12ad64[_0x9223b3(0x156)]))return _0x12ad64[_0x9223b3(0x156)];throw CliErrors[_0x9223b3(0x15a)](_0x9223b3(0x157),'Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27');}function a60_0x3778(){var _0xa38bf1=['isArray','validation','729609DWbxVl','65220QPwidK','2847272LBNibW','780nmmyul','Invalid\x20JSON\x20for\x20--params:\x20','60fMCnoY','333wBdZBN','454484qzKshM','object','800393iOoWml','21fuFvOe','1TdbCEb','24004aFcugt','items','batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','985116zwZGhB'];a60_0x3778=function(){return _0xa38bf1;};return a60_0x3778();}
|
package/lib/utils/platform.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
const a61_0xde7bb=a61_0x3630;(function(_0x3a4897,_0x3f00d1){const _0x4a1c3a=a61_0x3630,_0xfbc014=_0x3a4897();while(!![]){try{const _0x217755=-parseInt(_0x4a1c3a(0xdd))/0x1+parseInt(_0x4a1c3a(0xdb))/0x2+-parseInt(_0x4a1c3a(0xe1))/0x3+parseInt(_0x4a1c3a(0xe0))/0x4+parseInt(_0x4a1c3a(0xda))/0x5+-parseInt(_0x4a1c3a(0xd9))/0x6+parseInt(_0x4a1c3a(0xdf))/0x7;if(_0x217755===_0x3f00d1)break;else _0xfbc014['push'](_0xfbc014['shift']());}catch(_0x4ce435){_0xfbc014['push'](_0xfbc014['shift']());}}}(a61_0x43c9,0x3d6ff));function a61_0x43c9(){const _0x261759=['win32','322681ypfqRD','.cmd','977088zBGWrn','1613176kjGYoM','849717rkeoxe','1957782OTCoPD','1559870apQoZA','658024hPnJSD'];a61_0x43c9=function(){return _0x261759;};return a61_0x43c9();}export const isWindows=process['platform']===a61_0xde7bb(0xdc);function a61_0x3630(_0x495100,_0x3f9096){_0x495100=_0x495100-0xd9;const _0x43c9e4=a61_0x43c9();let _0x36307f=_0x43c9e4[_0x495100];return _0x36307f;}export function resolveNpmBin(_0x4138de){const _0x48c815=a61_0xde7bb;return isWindows?_0x4138de+_0x48c815(0xde):_0x4138de;}
|
package/lib/utils/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x212e1c,_0xb7224a){const _0x27b86a=a62_0x2250,_0x1c2a12=_0x212e1c();while(!![]){try{const _0x3a248e=parseInt(_0x27b86a(0x114))/0x1+-parseInt(_0x27b86a(0x119))/0x2+parseInt(_0x27b86a(0x115))/0x3*(parseInt(_0x27b86a(0x11a))/0x4)+parseInt(_0x27b86a(0x112))/0x5+parseInt(_0x27b86a(0x113))/0x6*(-parseInt(_0x27b86a(0x11c))/0x7)+-parseInt(_0x27b86a(0x116))/0x8+parseInt(_0x27b86a(0x117))/0x9;if(_0x3a248e===_0xb7224a)break;else _0x1c2a12['push'](_0x1c2a12['shift']());}catch(_0x37bb1c){_0x1c2a12['push'](_0x1c2a12['shift']());}}}(a62_0xf955,0xd3663));import{readFileSync}from'node:fs';function a62_0xf955(){const _0x4b162f=['3375508UqVXvj','12vlfltL','version','28BjlVXi','parse','6054825wQLyHI','649758BNDtpS','1646360HoIRfz','678297MiVASz','6003632oSFYGU','1814841siVNsc','utf8'];a62_0xf955=function(){return _0x4b162f;};return a62_0xf955();}function a62_0x2250(_0x5a232b,_0x17f63b){_0x5a232b=_0x5a232b-0x111;const _0xf955fc=a62_0xf955();let _0x22501b=_0xf955fc[_0x5a232b];return _0x22501b;}import{dirname,join}from'node:path';import{fileURLToPath}from'node:url';let cached;export function getCliVersion(){const _0x33bb3a=a62_0x2250;if(cached)return cached;const _0x9ae459=join(dirname(fileURLToPath(import.meta.url)),'..','..'),_0x5367a5=readFileSync(join(_0x9ae459,'package.json'),_0x33bb3a(0x118)),_0x58246e=JSON[_0x33bb3a(0x111)](_0x5367a5);return cached=_0x58246e[_0x33bb3a(0x11b)],cached;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a63_0x4855(){var _0x31ef12=['516FRpdNM','871052ZuIFZt','257377kLxdmu','write','3251976ezvrvX','stderr','1757tSrbIQ','236394FIQsUY','966440UvXmqg','1008600HCMPXs'];a63_0x4855=function(){return _0x31ef12;};return a63_0x4855();}(function(_0x4020dd,_0x5b646f){var _0x5530a0=a63_0x1436,_0x228db8=_0x4020dd();while(!![]){try{var _0x5c346e=-parseInt(_0x5530a0(0x1ba))/0x1+parseInt(_0x5530a0(0x1b9))/0x2+parseInt(_0x5530a0(0x1b5))/0x3+parseInt(_0x5530a0(0x1b6))/0x4+parseInt(_0x5530a0(0x1b7))/0x5+-parseInt(_0x5530a0(0x1b8))/0x6*(parseInt(_0x5530a0(0x1b4))/0x7)+-parseInt(_0x5530a0(0x1bc))/0x8;if(_0x5c346e===_0x5b646f)break;else _0x228db8['push'](_0x228db8['shift']());}catch(_0x8bd1ab){_0x228db8['push'](_0x228db8['shift']());}}}(a63_0x4855,0x42742));function a63_0x1436(_0x22b80a,_0x2833a4){_0x22b80a=_0x22b80a-0x1b3;var _0x4855bc=a63_0x4855();var _0x143680=_0x4855bc[_0x22b80a];return _0x143680;}export function writeCliSideChannelLine(_0x596196){var _0x39adee=a63_0x1436;process[_0x39adee(0x1b3)][_0x39adee(0x1bb)](_0x596196+'\x0a');}
|