@lovrabet/lovrabet-cli 2.0.3 → 2.0.4
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 +6 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a57_0x3dde77=a57_0x2049;(function(_0x20286d,_0x178a90){const _0x371fd1=a57_0x2049,_0x22fe9c=_0x20286d();while(!![]){try{const _0x189d5e=-parseInt(_0x371fd1(0x1a3))/0x1+-parseInt(_0x371fd1(0x1b0))/0x2*(parseInt(_0x371fd1(0x1ae))/0x3)+parseInt(_0x371fd1(0x1a7))/0x4+parseInt(_0x371fd1(0x1a0))/0x5+-parseInt(_0x371fd1(0x1a2))/0x6+-parseInt(_0x371fd1(0x1a1))/0x7+parseInt(_0x371fd1(0x1ad))/0x8*(parseInt(_0x371fd1(0x19d))/0x9);if(_0x189d5e===_0x178a90)break;else _0x22fe9c['push'](_0x22fe9c['shift']());}catch(_0x4bba43){_0x22fe9c['push'](_0x22fe9c['shift']());}}}(a57_0x51ee,0x4ef14));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';export const LOVRABET_SKILL_SOURCE=a57_0x3dde77(0x1aa);export const LOVRABET_SKIP_NPX_SKILLS_ENV='LOVRABET_SKIP_NPX_SKILLS';function a57_0x2049(_0x1a0391,_0x59dfd2){_0x1a0391=_0x1a0391-0x19b;const _0x51eef1=a57_0x51ee();let _0x204933=_0x51eef1[_0x1a0391];return _0x204933;}function a57_0x51ee(){const _0x1459d9=['1881132oMNbPI','unknown','skills','lovrabet/lovrabet-cli','toString','trim','5512RsVSrh','12IVKlqx','stderr','13292aaaBpq','status','join','19701PrVyXr','inherit','stdio','778505rimUYk','3929933auvTdQ','3519996RFIaEx','636188HQRqeF','stdout','npx','pipe'];a57_0x51ee=function(){return _0x1459d9;};return a57_0x51ee();}export function shouldSkipNpxSkillsAdd(){return process.env[LOVRABET_SKIP_NPX_SKILLS_ENV]==='1';}export function runNpxSkillsAddGlobal(_0x1024ed,_0x125591=LOVRABET_SKILL_SOURCE,_0x47fdc6){const _0x221da6=a57_0x3dde77;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x50e9ea=_0x47fdc6?.[_0x221da6(0x19f)]??_0x221da6(0x19e),_0x11c477=resolveNpmBin(_0x221da6(0x1a5)),_0x2b3de1=[_0x221da6(0x1a9),'add',_0x125591,'-g','-y'],_0x3993bd=[_0x11c477,..._0x2b3de1][_0x221da6(0x19c)]('\x20');console['log']('*\x20'+_0x3993bd);const _0x14893e=spawnSync(_0x11c477,_0x2b3de1,{'cwd':_0x1024ed,'stdio':_0x50e9ea,'env':process.env,'shell':![]});if(_0x14893e[_0x221da6(0x19b)]===0x0)return{'ok':!![],'status':0x0};let _0x19815c='exit\x20'+(_0x14893e['status']??_0x221da6(0x1a8));if(_0x50e9ea===_0x221da6(0x1a6)){const _0x29cce5=_0x14893e['stderr']?_0x14893e[_0x221da6(0x1af)][_0x221da6(0x1ab)]()[_0x221da6(0x1ac)]():'',_0x4bd755=_0x14893e[_0x221da6(0x1a4)]?_0x14893e[_0x221da6(0x1a4)][_0x221da6(0x1ab)]()['trim']():'';if(_0x29cce5)_0x19815c=_0x29cce5;else{if(_0x4bd755)_0x19815c=_0x4bd755;}}return{'ok':![],'status':_0x14893e[_0x221da6(0x19b)]??null,'error':_0x19815c};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a58_0x559c(_0x131970,_0x4e987b){_0x131970=_0x131970-0x196;const _0x3051aa=a58_0x3051();let _0x559cb4=_0x3051aa[_0x131970];return _0x559cb4;}(function(_0x2c260a,_0x31fe47){const _0x39c151=a58_0x559c,_0x59da61=_0x2c260a();while(!![]){try{const _0x4e04ac=parseInt(_0x39c151(0x1a1))/0x1*(-parseInt(_0x39c151(0x199))/0x2)+parseInt(_0x39c151(0x19a))/0x3*(parseInt(_0x39c151(0x197))/0x4)+-parseInt(_0x39c151(0x1a0))/0x5+-parseInt(_0x39c151(0x19e))/0x6*(parseInt(_0x39c151(0x19c))/0x7)+-parseInt(_0x39c151(0x198))/0x8*(parseInt(_0x39c151(0x19f))/0x9)+-parseInt(_0x39c151(0x19d))/0xa*(parseInt(_0x39c151(0x19b))/0xb)+parseInt(_0x39c151(0x196))/0xc;if(_0x4e04ac===_0x31fe47)break;else _0x59da61['push'](_0x59da61['shift']());}catch(_0x2737c4){_0x59da61['push'](_0x59da61['shift']());}}}(a58_0x3051,0x95222));import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a58_0x3051(){const _0x8618c9=['4137306PUbCfk','446139pDqNwR','2773405DfHBLZ','13889PmuEdT','38564856iuzWro','4IRdsEB','56vyKKTP','34NiAQTD','200388DLlfcB','407Tbdtpg','7fvljDz','227660CuEHqP'];a58_0x3051=function(){return _0x8618c9;};return a58_0x3051();}export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
|
package/lib/utils/logger.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a59_0x59818a=a59_0x8a2d;function a59_0x8a2d(_0x5da9ed,_0x2c7ea0){_0x5da9ed=_0x5da9ed-0x198;const _0x22435d=a59_0x2243();let _0x8a2def=_0x22435d[_0x5da9ed];return _0x8a2def;}function a59_0x2243(){const _0x21f1f=['now','205602lQdHoi','trim','Failed:\x20','filter','39uXXMSM','mkdirSync','duration','blue','5berWel','343556FFSZEp','clear','timestamp','map','format','green','message','utf8','10484ktGPPY','printf','level','2936uWbluh','toISOString','readFileSync','clearLogs','yellow','rawCommand','errors','File','success','red','command','Completed:\x20','5327IPslWm','currentRawCommand','readLogs','initWinstonLogger','error','existsSync','stringify','addColors','split','combine','logTask','710cyeZuY','winstonLogger','Failed\x20to\x20clear\x20logs:','transports','2354sxExvu','createLogger','3982950gESQeJ','dirname','166004XopJka','Failed\x20to\x20read\x20logs:','warn','logFilePath','setRawCommand','info','writeFileSync','unknown','Starting:\x20'];a59_0x2243=function(){return _0x21f1f;};return a59_0x2243();}(function(_0x10186f,_0x359335){const _0x2425b5=a59_0x8a2d,_0x4e4530=_0x10186f();while(!![]){try{const _0x2ec5f1=parseInt(_0x2425b5(0x1a5))/0x1+parseInt(_0x2425b5(0x1b8))/0x2+-parseInt(_0x2425b5(0x1b3))/0x3*(-parseInt(_0x2425b5(0x1c0))/0x4)+-parseInt(_0x2425b5(0x1b7))/0x5*(-parseInt(_0x2425b5(0x1af))/0x6)+-parseInt(_0x2425b5(0x1cf))/0x7*(-parseInt(_0x2425b5(0x1c3))/0x8)+-parseInt(_0x2425b5(0x1a3))/0x9+parseInt(_0x2425b5(0x19d))/0xa*(-parseInt(_0x2425b5(0x1a1))/0xb);if(_0x2ec5f1===_0x359335)break;else _0x4e4530['push'](_0x4e4530['shift']());}catch(_0x508155){_0x4e4530['push'](_0x4e4530['shift']());}}}(a59_0x2243,0x37951));import a59_0x1101f2 from'winston';import a59_0x2a1664 from'node:fs';import a59_0x5cf269 from'node:path';class Logger{['winstonLogger'];[a59_0x59818a(0x1a8)]='';[a59_0x59818a(0x1d0)]='';constructor(){}[a59_0x59818a(0x1a9)](_0x142e3c){const _0x1ddd0a=a59_0x59818a;this[_0x1ddd0a(0x1d0)]=_0x142e3c;}['setLogPath'](_0x2cb43a){const _0x5964ec=a59_0x59818a;this[_0x5964ec(0x1a8)]=a59_0x5cf269['join'](_0x2cb43a,'.lovrabet-runtime.log'),this[_0x5964ec(0x19e)]&&this['winstonLogger'][_0x5964ec(0x1b9)](),this[_0x5964ec(0x1d2)]();}[a59_0x59818a(0x1d2)](){const _0x264e5f=a59_0x59818a,_0x521c4d=a59_0x5cf269[_0x264e5f(0x1a4)](this['logFilePath']);!a59_0x2a1664[_0x264e5f(0x1d4)](_0x521c4d)&&a59_0x2a1664[_0x264e5f(0x1b4)](_0x521c4d,{'recursive':!![]});const _0x22c4e2=a59_0x1101f2[_0x264e5f(0x1bc)][_0x264e5f(0x19b)](a59_0x1101f2[_0x264e5f(0x1bc)][_0x264e5f(0x1ba)](),a59_0x1101f2['format'][_0x264e5f(0x1c9)]({'stack':!![]}),a59_0x1101f2[_0x264e5f(0x1bc)][_0x264e5f(0x1c1)](_0x263447=>{const _0x3f6cc5=_0x264e5f,_0x5193e9={'timestamp':_0x263447[_0x3f6cc5(0x1ba)]||new Date()[_0x3f6cc5(0x1c4)](),'level':_0x263447[_0x3f6cc5(0x1c2)]||_0x3f6cc5(0x1aa),'command':_0x263447[_0x3f6cc5(0x1cd)]||_0x3f6cc5(0x1ac),'rawCommand':_0x263447[_0x3f6cc5(0x1c8)]||this[_0x3f6cc5(0x1d0)]||undefined,'message':_0x263447[_0x3f6cc5(0x1be)]||'','duration':_0x263447[_0x3f6cc5(0x1b5)]||undefined,'details':_0x263447['details']||undefined};return JSON[_0x3f6cc5(0x198)](_0x5193e9);}));this['winstonLogger']=a59_0x1101f2[_0x264e5f(0x1a2)]({'level':_0x264e5f(0x1aa),'format':_0x22c4e2,'transports':[new a59_0x1101f2[(_0x264e5f(0x1a0))][(_0x264e5f(0x1ca))]({'filename':this[_0x264e5f(0x1a8)],'level':_0x264e5f(0x1aa)})],'silent':![]}),a59_0x1101f2[_0x264e5f(0x199)]({'success':_0x264e5f(0x1bd),'error':_0x264e5f(0x1cc),'warn':_0x264e5f(0x1c7),'info':_0x264e5f(0x1b6)});}[a59_0x59818a(0x1aa)](_0x2553ea,_0x27f5ba,_0x7352b){const _0x48712f=a59_0x59818a;if(!this[_0x48712f(0x1a8)]||!this[_0x48712f(0x19e)])return;this['winstonLogger']['info'](_0x27f5ba,{'command':_0x2553ea,'details':_0x7352b});}[a59_0x59818a(0x1cb)](_0x37db42,_0x3bcaa9,_0x7ca9ce,_0x1678d0){const _0x31a5e4=a59_0x59818a;if(!this[_0x31a5e4(0x1a8)]||!this[_0x31a5e4(0x19e)])return;this[_0x31a5e4(0x19e)]['log']('info',_0x3bcaa9,{'level':_0x31a5e4(0x1cb),'command':_0x37db42,'duration':_0x7ca9ce,'details':_0x1678d0});}['error'](_0x1c1d5b,_0x400bc8,_0x721ecf){const _0x3c3d4b=a59_0x59818a;if(!this[_0x3c3d4b(0x1a8)]||!this[_0x3c3d4b(0x19e)])return;this[_0x3c3d4b(0x19e)]['error'](_0x400bc8,{'command':_0x1c1d5b,'details':_0x721ecf});}[a59_0x59818a(0x1a7)](_0x1e12f1,_0x193224,_0x528b18){const _0x308c91=a59_0x59818a;if(!this[_0x308c91(0x1a8)]||!this[_0x308c91(0x19e)])return;this[_0x308c91(0x19e)][_0x308c91(0x1a7)](_0x193224,{'command':_0x1e12f1,'details':_0x528b18});}async[a59_0x59818a(0x19c)](_0x2f1aaf,_0x37f042,_0x1b0fd4){const _0x562fde=a59_0x59818a,_0x4b966d=Date[_0x562fde(0x1ae)]();this[_0x562fde(0x1aa)](_0x2f1aaf,_0x562fde(0x1ad)+_0x37f042);try{const _0x2558d0=await _0x1b0fd4(),_0x27ab80=Date[_0x562fde(0x1ae)]()-_0x4b966d;return this['success'](_0x2f1aaf,_0x562fde(0x1ce)+_0x37f042,_0x27ab80),_0x2558d0;}catch(_0x784097){const _0x4ff3f0=Date[_0x562fde(0x1ae)]()-_0x4b966d;this[_0x562fde(0x1d3)](_0x2f1aaf,_0x562fde(0x1b1)+_0x37f042,{'error':_0x784097 instanceof Error?_0x784097['message']:String(_0x784097),'duration':_0x4ff3f0});throw _0x784097;}}[a59_0x59818a(0x1d1)](){const _0x49d0f0=a59_0x59818a;try{if(!a59_0x2a1664[_0x49d0f0(0x1d4)](this['logFilePath']))return[];const _0xd75ef7=a59_0x2a1664[_0x49d0f0(0x1c5)](this[_0x49d0f0(0x1a8)],'utf8');return _0xd75ef7[_0x49d0f0(0x19a)](/\r?\n/)[_0x49d0f0(0x1b2)](_0x49a3fb=>_0x49a3fb[_0x49d0f0(0x1b0)]())[_0x49d0f0(0x1bb)](_0x493631=>JSON['parse'](_0x493631));}catch(_0x68b8e){return console[_0x49d0f0(0x1a7)](_0x49d0f0(0x1a6),_0x68b8e),[];}}[a59_0x59818a(0x1c6)](){const _0x268ae5=a59_0x59818a;try{a59_0x2a1664['existsSync'](this['logFilePath'])&&a59_0x2a1664[_0x268ae5(0x1ab)](this[_0x268ae5(0x1a8)],'',_0x268ae5(0x1bf));}catch(_0x588ea6){console[_0x268ae5(0x1a7)](_0x268ae5(0x19f),_0x588ea6);}}['getWinstonInstance'](){const _0x1f64f0=a59_0x59818a;return this[_0x1f64f0(0x19e)];}}export const logger=new Logger();
|
package/lib/utils/params.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a60_0x11b3(_0x3914fa,_0x1de6ec){_0x3914fa=_0x3914fa-0xc9;var _0x5108ff=a60_0x5108();var _0x11b34b=_0x5108ff[_0x3914fa];return _0x11b34b;}function a60_0x5108(){var _0x486d0e=['1980268QhlTRU','77REOJZF','50XOOeEP','6MJJfXG','121xVVIDc','5JbLdEm','parse','Invalid\x20JSON\x20for\x20--params:\x20','1481184jjLwDn','validation','495306LWKwwq','items','1246890pxbMej','isArray','938456WAQNHg','4289142BwWdCc','2458956GUQjsf'];a60_0x5108=function(){return _0x486d0e;};return a60_0x5108();}(function(_0x2e9886,_0x50e433){var _0x135370=a60_0x11b3,_0x586dc9=_0x2e9886();while(!![]){try{var _0x48d440=parseInt(_0x135370(0xd4))/0x1+-parseInt(_0x135370(0xd8))/0x2*(parseInt(_0x135370(0xcf))/0x3)+parseInt(_0x135370(0xcc))/0x4+-parseInt(_0x135370(0xd1))/0x5*(-parseInt(_0x135370(0xca))/0x6)+parseInt(_0x135370(0xcd))/0x7*(parseInt(_0x135370(0xc9))/0x8)+-parseInt(_0x135370(0xd6))/0x9*(-parseInt(_0x135370(0xce))/0xa)+-parseInt(_0x135370(0xd0))/0xb*(parseInt(_0x135370(0xcb))/0xc);if(_0x48d440===_0x50e433)break;else _0x586dc9['push'](_0x586dc9['shift']());}catch(_0x170473){_0x586dc9['push'](_0x586dc9['shift']());}}}(a60_0x5108,0xb880a));import{CliErrors}from'../errors.js';export function parseJsonParams(_0x2011a3){var _0x5ae698=a60_0x11b3;if(!_0x2011a3)return undefined;try{return JSON[_0x5ae698(0xd2)](_0x2011a3);}catch{throw CliErrors[_0x5ae698(0xd5)](_0x5ae698(0xd3)+_0x2011a3);}}export function parseJsonParamsValue(_0x24928b){var _0x25e690=a60_0x11b3;if(!_0x24928b)return undefined;try{return JSON[_0x25e690(0xd2)](_0x24928b);}catch{throw CliErrors[_0x25e690(0xd5)](_0x25e690(0xd3)+_0x24928b);}}export function parseBatchCreateItemsFromParams(_0x5935c8){var _0x2a13e2=a60_0x11b3;if(Array['isArray'](_0x5935c8))return _0x5935c8;if(_0x5935c8!==null&&_0x5935c8!==undefined&&typeof _0x5935c8==='object'&&Array[_0x2a13e2(0xd9)](_0x5935c8[_0x2a13e2(0xd7)]))return _0x5935c8[_0x2a13e2(0xd7)];throw CliErrors[_0x2a13e2(0xd5)]('batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27');}
|
package/lib/utils/platform.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x2cc86e,_0xc2828){const _0x7bf558=a61_0x1e13,_0x24d0b1=_0x2cc86e();while(!![]){try{const _0x5bf01c=-parseInt(_0x7bf558(0x14e))/0x1+parseInt(_0x7bf558(0x155))/0x2+parseInt(_0x7bf558(0x152))/0x3+-parseInt(_0x7bf558(0x156))/0x4+parseInt(_0x7bf558(0x157))/0x5*(-parseInt(_0x7bf558(0x14d))/0x6)+parseInt(_0x7bf558(0x153))/0x7*(parseInt(_0x7bf558(0x14f))/0x8)+parseInt(_0x7bf558(0x150))/0x9*(parseInt(_0x7bf558(0x154))/0xa);if(_0x5bf01c===_0xc2828)break;else _0x24d0b1['push'](_0x24d0b1['shift']());}catch(_0x2d5f9d){_0x24d0b1['push'](_0x24d0b1['shift']());}}}(a61_0x3831,0xeb0af));export const isWindows=process['platform']==='win32';export function resolveNpmBin(_0x1f3fe7){const _0x38b378=a61_0x1e13;return isWindows?_0x1f3fe7+_0x38b378(0x151):_0x1f3fe7;}function a61_0x1e13(_0x3fc4b7,_0x429ab8){_0x3fc4b7=_0x3fc4b7-0x14d;const _0x383156=a61_0x3831();let _0x1e13c2=_0x383156[_0x3fc4b7];return _0x1e13c2;}function a61_0x3831(){const _0x494f36=['.cmd','1022964cuDQGL','819xFDeEL','14495470Gonvtf','1620178GfSCVr','5083116mCgNim','1770425bATYiZ','6xiyFir','1554032TgEOdo','105368QivMCE','9gNuOxX'];a61_0x3831=function(){return _0x494f36;};return a61_0x3831();}
|
package/lib/utils/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x9bcb40,_0x57a7e2){const _0x503695=a62_0x2a52,_0x754f2=_0x9bcb40();while(!![]){try{const _0x133fd2=parseInt(_0x503695(0x1eb))/0x1*(parseInt(_0x503695(0x1f1))/0x2)+-parseInt(_0x503695(0x1ed))/0x3+-parseInt(_0x503695(0x1ea))/0x4+parseInt(_0x503695(0x1e9))/0x5*(-parseInt(_0x503695(0x1e6))/0x6)+parseInt(_0x503695(0x1ee))/0x7*(-parseInt(_0x503695(0x1e5))/0x8)+-parseInt(_0x503695(0x1ec))/0x9+parseInt(_0x503695(0x1ef))/0xa;if(_0x133fd2===_0x57a7e2)break;else _0x754f2['push'](_0x754f2['shift']());}catch(_0x510624){_0x754f2['push'](_0x754f2['shift']());}}}(a62_0x5879,0xb2b46));import{readFileSync}from'node:fs';import{dirname,join}from'node:path';function a62_0x2a52(_0x3bf630,_0x51003f){_0x3bf630=_0x3bf630-0x1e4;const _0x58791a=a62_0x5879();let _0x2a52ca=_0x58791a[_0x3bf630];return _0x2a52ca;}function a62_0x5879(){const _0x3a4027=['package.json','8354xINcln','version','737176HURAMY','3222LJoJII','parse','utf8','6625SWBFhN','2439464YSHRPD','13dtYQMg','3159171OPhZFe','3607074TYjJZm','7YBVWDK','36445880FLwzXD'];a62_0x5879=function(){return _0x3a4027;};return a62_0x5879();}import{fileURLToPath}from'node:url';let cached;export function getCliVersion(){const _0x444f76=a62_0x2a52;if(cached)return cached;const _0x5eced9=join(dirname(fileURLToPath(import.meta.url)),'..','..'),_0x5118d9=readFileSync(join(_0x5eced9,_0x444f76(0x1f0)),_0x444f76(0x1e8)),_0x33f8d6=JSON[_0x444f76(0x1e7)](_0x5118d9);return cached=_0x33f8d6[_0x444f76(0x1e4)],cached;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x496faf,_0x38a93f){var _0x94204f=a63_0x4099,_0x4b7576=_0x496faf();while(!![]){try{var _0x41b050=-parseInt(_0x94204f(0x10f))/0x1+-parseInt(_0x94204f(0x117))/0x2+-parseInt(_0x94204f(0x118))/0x3+parseInt(_0x94204f(0x116))/0x4*(-parseInt(_0x94204f(0x115))/0x5)+parseInt(_0x94204f(0x119))/0x6+parseInt(_0x94204f(0x114))/0x7*(-parseInt(_0x94204f(0x113))/0x8)+-parseInt(_0x94204f(0x11a))/0x9*(-parseInt(_0x94204f(0x110))/0xa);if(_0x41b050===_0x38a93f)break;else _0x4b7576['push'](_0x4b7576['shift']());}catch(_0x582991){_0x4b7576['push'](_0x4b7576['shift']());}}}(a63_0xeec4,0x82c4a));export function writeCliSideChannelLine(_0x159fd8){var _0x22900a=a63_0x4099;process[_0x22900a(0x111)][_0x22900a(0x112)](_0x159fd8+'\x0a');}function a63_0x4099(_0x413f45,_0x495ba0){_0x413f45=_0x413f45-0x10f;var _0xeec4cb=a63_0xeec4();var _0x4099c9=_0xeec4cb[_0x413f45];return _0x4099c9;}function a63_0xeec4(){var _0x45f833=['99965AHZxat','12324010DyylLC','stderr','write','8tCVNHj','6778793JtXFvK','22810VTGJTP','748qANzHY','1408230eWJmsJ','1685397NwLLrf','154770NXmlkv','27gYXCzH'];a63_0xeec4=function(){return _0x45f833;};return a63_0xeec4();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lovrabet/lovrabet-cli",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"build:dev": "rimraf lib && tsc && tsc-alias",
|
|
24
24
|
"start": "tsc --watch",
|
|
25
25
|
"typecheck": "tsc --noEmit",
|
|
26
|
+
"verify:bundled-jq": "node scripts/verify-bundled-jq.mjs",
|
|
26
27
|
"publish:github": "node scripts/publish-github.mjs",
|
|
27
28
|
"lint": "echo 'No linter configured yet'",
|
|
28
29
|
"beta-release": "sh scripts/update-beta-version.sh && bun run build && git push && git push origin --tag && bun publish --tag beta",
|
|
@@ -36,14 +37,13 @@
|
|
|
36
37
|
"lib"
|
|
37
38
|
],
|
|
38
39
|
"dependencies": {
|
|
39
|
-
"@lovrabet/cli-framework": "1.0.
|
|
40
|
-
"chalk": "^5.6.2",
|
|
40
|
+
"@lovrabet/cli-framework": "1.0.3",
|
|
41
41
|
"@lovrabet/sdk": "1.4.1",
|
|
42
42
|
"@types/winston": "^2.4.4",
|
|
43
|
+
"chalk": "^5.6.2",
|
|
43
44
|
"ink": "^6.2.3",
|
|
44
45
|
"ink-spinner": "^5.0.0",
|
|
45
46
|
"meow": "^13.2.0",
|
|
46
|
-
"node-jq": "^6.3.1",
|
|
47
47
|
"react": "^19.2.0",
|
|
48
48
|
"winston": "^3.17.0"
|
|
49
49
|
},
|
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
"@types/react": "^19.2.0",
|
|
53
53
|
"@vitest/coverage-v8": "^4.1.2",
|
|
54
54
|
"javascript-obfuscator": "^5.4.1",
|
|
55
|
-
"tsc-alias": "^1.8.10",
|
|
56
55
|
"rimraf": "^6.1.3",
|
|
57
|
-
"
|
|
56
|
+
"tsc-alias": "^1.8.10",
|
|
57
|
+
"typescript": "5.9.3",
|
|
58
58
|
"vitest": "^4.1.2"
|
|
59
59
|
}
|
|
60
60
|
}
|