@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.
Files changed (65) hide show
  1. package/lib/cli.js +1 -1
  2. package/lib/commands/app/cache.js +1 -1
  3. package/lib/commands/app/definitions.js +1 -1
  4. package/lib/commands/app/mock-loader.js +1 -1
  5. package/lib/commands/app/remote-source.js +1 -1
  6. package/lib/commands/app/shared.js +1 -1
  7. package/lib/commands/auth/index.js +1 -1
  8. package/lib/commands/auth/prompt.js +1 -1
  9. package/lib/commands/bff/detail.js +1 -1
  10. package/lib/commands/bff/exec.js +1 -1
  11. package/lib/commands/bff/index.js +1 -1
  12. package/lib/commands/common/config-policy.js +1 -1
  13. package/lib/commands/common/constraints.js +1 -1
  14. package/lib/commands/common/flags.js +1 -1
  15. package/lib/commands/config/definitions.js +1 -1
  16. package/lib/commands/config/shared.js +1 -1
  17. package/lib/commands/data/index.js +1 -1
  18. package/lib/commands/dataset/detail.js +1 -1
  19. package/lib/commands/dataset/index.js +1 -1
  20. package/lib/commands/dataset/list.js +1 -1
  21. package/lib/commands/doctor.js +1 -1
  22. package/lib/commands/init.js +1 -1
  23. package/lib/commands/logs/index.js +1 -1
  24. package/lib/commands/registry.js +1 -1
  25. package/lib/commands/schema.js +1 -1
  26. package/lib/commands/skill/index.js +1 -1
  27. package/lib/commands/sql/detail.js +1 -1
  28. package/lib/commands/sql/exec.js +1 -1
  29. package/lib/commands/sql/index.js +1 -1
  30. package/lib/config/schema.js +1 -1
  31. package/lib/constant/auth-mode.js +1 -1
  32. package/lib/constant/cli.js +1 -1
  33. package/lib/constant/defaults.js +1 -1
  34. package/lib/constant/domain.js +1 -1
  35. package/lib/constant/env.js +1 -1
  36. package/lib/constant/output.js +1 -1
  37. package/lib/constant/risk.js +1 -1
  38. package/lib/constant/url.js +1 -1
  39. package/lib/context.js +1 -1
  40. package/lib/core/api-client.js +1 -1
  41. package/lib/core/db-resolver.js +1 -1
  42. package/lib/core/sdk-client.js +1 -1
  43. package/lib/errors.js +1 -1
  44. package/lib/framework/build-all-flags.js +1 -1
  45. package/lib/framework/dryrun.js +1 -1
  46. package/lib/framework/flags.js +1 -1
  47. package/lib/framework/help.js +1 -1
  48. package/lib/framework/index.js +1 -1
  49. package/lib/framework/output.js +1 -1
  50. package/lib/framework/preparse.js +1 -1
  51. package/lib/framework/response.js +1 -1
  52. package/lib/framework/runner-confirmation.js +1 -1
  53. package/lib/framework/runner-error.js +1 -1
  54. package/lib/framework/runner.js +1 -1
  55. package/lib/framework/schema-export.js +1 -1
  56. package/lib/framework/types.js +1 -1
  57. package/lib/help.js +1 -1
  58. package/lib/skills/npx-skills-add.js +1 -1
  59. package/lib/utils/apply-jq-filter.js +1 -1
  60. package/lib/utils/logger.js +1 -1
  61. package/lib/utils/params.js +1 -1
  62. package/lib/utils/platform.js +1 -1
  63. package/lib/utils/version.js +1 -1
  64. package/lib/utils/write-cli-side-channel.js +1 -1
  65. package/package.json +6 -6
@@ -1 +1 @@
1
- const a57_0x16bece=a57_0x369e;(function(_0x48b30f,_0x397d34){const _0x5248fa=a57_0x369e,_0x1250fb=_0x48b30f();while(!![]){try{const _0x483899=parseInt(_0x5248fa(0x1cb))/0x1*(parseInt(_0x5248fa(0x1dd))/0x2)+-parseInt(_0x5248fa(0x1ce))/0x3*(-parseInt(_0x5248fa(0x1d3))/0x4)+parseInt(_0x5248fa(0x1de))/0x5+-parseInt(_0x5248fa(0x1c6))/0x6+-parseInt(_0x5248fa(0x1d7))/0x7*(parseInt(_0x5248fa(0x1db))/0x8)+-parseInt(_0x5248fa(0x1d9))/0x9*(parseInt(_0x5248fa(0x1dc))/0xa)+-parseInt(_0x5248fa(0x1df))/0xb*(-parseInt(_0x5248fa(0x1d5))/0xc);if(_0x483899===_0x397d34)break;else _0x1250fb['push'](_0x1250fb['shift']());}catch(_0x207066){_0x1250fb['push'](_0x1250fb['shift']());}}}(a57_0x5bb6,0x49989));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';function a57_0x369e(_0x296533,_0x106551){_0x296533=_0x296533-0x1c6;const _0x5bb603=a57_0x5bb6();let _0x369eb5=_0x5bb603[_0x296533];return _0x369eb5;}export const LOVRABET_SKILL_SOURCE=a57_0x16bece(0x1cd);export const LOVRABET_SKIP_NPX_SKILLS_ENV=a57_0x16bece(0x1d0);function a57_0x5bb6(){const _0x1e0bd5=['lovrabet/lovrabet-cli','39tFJWiM','toString','LOVRABET_SKIP_NPX_SKILLS','exit\x20','skills','117692CEfRDV','npx','72kpUBEK','unknown','28xxiMSz','stdout','738efcaNQ','stderr','564944uYrEaz','39070BRgUmm','422QrOUyI','636075sVnHNd','665335KGvQwF','1224096oGWbYk','status','add','trim','join','1117tCYuMM','inherit'];a57_0x5bb6=function(){return _0x1e0bd5;};return a57_0x5bb6();}export function shouldSkipNpxSkillsAdd(){return process.env[LOVRABET_SKIP_NPX_SKILLS_ENV]==='1';}export function runNpxSkillsAddGlobal(_0x5a9d7c,_0x3be9b0=LOVRABET_SKILL_SOURCE,_0x2e8c15){const _0x540c94=a57_0x16bece;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x4dd10b=_0x2e8c15?.['stdio']??_0x540c94(0x1cc),_0x420d3f=resolveNpmBin(_0x540c94(0x1d4)),_0x205c4f=[_0x540c94(0x1d2),_0x540c94(0x1c8),_0x3be9b0,'-g','-y'],_0x3aade0=[_0x420d3f,..._0x205c4f][_0x540c94(0x1ca)]('\x20');console['log']('*\x20'+_0x3aade0);const _0x1543b3=spawnSync(_0x420d3f,_0x205c4f,{'cwd':_0x5a9d7c,'stdio':_0x4dd10b,'env':process.env,'shell':![]});if(_0x1543b3[_0x540c94(0x1c7)]===0x0)return{'ok':!![],'status':0x0};let _0x4bee8b=_0x540c94(0x1d1)+(_0x1543b3['status']??_0x540c94(0x1d6));if(_0x4dd10b==='pipe'){const _0x4f6a5e=_0x1543b3[_0x540c94(0x1da)]?_0x1543b3[_0x540c94(0x1da)][_0x540c94(0x1cf)]()[_0x540c94(0x1c9)]():'',_0x50720a=_0x1543b3[_0x540c94(0x1d8)]?_0x1543b3[_0x540c94(0x1d8)][_0x540c94(0x1cf)]()[_0x540c94(0x1c9)]():'';if(_0x4f6a5e)_0x4bee8b=_0x4f6a5e;else{if(_0x50720a)_0x4bee8b=_0x50720a;}}return{'ok':![],'status':_0x1543b3[_0x540c94(0x1c7)]??null,'error':_0x4bee8b};}
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(_0x42f6a1,_0x11a427){const _0x5ef103=a58_0x24f7,_0x30b444=_0x42f6a1();while(!![]){try{const _0x36c1bd=-parseInt(_0x5ef103(0x7d))/0x1*(parseInt(_0x5ef103(0x79))/0x2)+-parseInt(_0x5ef103(0x7c))/0x3+parseInt(_0x5ef103(0x76))/0x4*(-parseInt(_0x5ef103(0x78))/0x5)+-parseInt(_0x5ef103(0x7a))/0x6*(-parseInt(_0x5ef103(0x7e))/0x7)+parseInt(_0x5ef103(0x7f))/0x8+parseInt(_0x5ef103(0x7b))/0x9*(-parseInt(_0x5ef103(0x80))/0xa)+parseInt(_0x5ef103(0x75))/0xb*(parseInt(_0x5ef103(0x77))/0xc);if(_0x36c1bd===_0x11a427)break;else _0x30b444['push'](_0x30b444['shift']());}catch(_0x36835a){_0x30b444['push'](_0x30b444['shift']());}}}(a58_0x1b0c,0x6d4e4));function a58_0x24f7(_0x2d8aa9,_0x4490d7){_0x2d8aa9=_0x2d8aa9-0x75;const _0x1b0c75=a58_0x1b0c();let _0x24f7bf=_0x1b0c75[_0x2d8aa9];return _0x24f7bf;}import{createJqFilter}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a58_0x1b0c(){const _0x30a0c0=['437153UVDHnu','7VcnRRI','5101096yGtDpA','10BFOcJc','27786ZLuQjh','230820teRYLi','6552UkcKWI','65ADNHoO','2ISazsg','901206ktluRH','180333CkXTqm','1535889PsCfnK'];a58_0x1b0c=function(){return _0x30a0c0;};return a58_0x1b0c();}export const applyJqFilter=createJqFilter(CliErrors);
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()});
@@ -1 +1 @@
1
- const a59_0x544bf5=a59_0xcab1;(function(_0x5e0676,_0x4960df){const _0x501461=a59_0xcab1,_0x2355bf=_0x5e0676();while(!![]){try{const _0x5ab552=parseInt(_0x501461(0x201))/0x1*(parseInt(_0x501461(0x21b))/0x2)+-parseInt(_0x501461(0x1fb))/0x3+parseInt(_0x501461(0x208))/0x4+-parseInt(_0x501461(0x1f5))/0x5*(parseInt(_0x501461(0x1f7))/0x6)+-parseInt(_0x501461(0x206))/0x7+-parseInt(_0x501461(0x21c))/0x8+parseInt(_0x501461(0x1ff))/0x9;if(_0x5ab552===_0x4960df)break;else _0x2355bf['push'](_0x2355bf['shift']());}catch(_0x46b848){_0x2355bf['push'](_0x2355bf['shift']());}}}(a59_0x451a,0xcfd2b));function a59_0xcab1(_0xa32b9e,_0x2b640c){_0xa32b9e=_0xa32b9e-0x1ef;const _0x451a39=a59_0x451a();let _0xcab17a=_0x451a39[_0xa32b9e];return _0xcab17a;}import a59_0x2fa18a from'winston';import a59_0x4a6933 from'node:fs';import a59_0x13ef6a from'node:path';class Logger{[a59_0x544bf5(0x222)];[a59_0x544bf5(0x202)]='';[a59_0x544bf5(0x21d)]='';constructor(){}['setRawCommand'](_0x1aed52){const _0x293dd3=a59_0x544bf5;this[_0x293dd3(0x21d)]=_0x1aed52;}['setLogPath'](_0x3643a6){const _0x1ff582=a59_0x544bf5;this[_0x1ff582(0x202)]=a59_0x13ef6a[_0x1ff582(0x215)](_0x3643a6,_0x1ff582(0x211)),this[_0x1ff582(0x222)]&&this[_0x1ff582(0x222)][_0x1ff582(0x1fe)](),this[_0x1ff582(0x1ef)]();}['initWinstonLogger'](){const _0x7bcb8f=a59_0x544bf5,_0x5a7e45=a59_0x13ef6a[_0x7bcb8f(0x20f)](this['logFilePath']);!a59_0x4a6933[_0x7bcb8f(0x200)](_0x5a7e45)&&a59_0x4a6933['mkdirSync'](_0x5a7e45,{'recursive':!![]});const _0x291279=a59_0x2fa18a[_0x7bcb8f(0x214)][_0x7bcb8f(0x1f0)](a59_0x2fa18a[_0x7bcb8f(0x214)][_0x7bcb8f(0x1f6)](),a59_0x2fa18a['format'][_0x7bcb8f(0x20b)]({'stack':!![]}),a59_0x2fa18a[_0x7bcb8f(0x214)][_0x7bcb8f(0x20d)](_0x38fc1d=>{const _0x230243=_0x7bcb8f,_0x15e238={'timestamp':_0x38fc1d[_0x230243(0x1f6)]||new Date()['toISOString'](),'level':_0x38fc1d['level']||_0x230243(0x212),'command':_0x38fc1d['command']||_0x230243(0x20e),'rawCommand':_0x38fc1d['rawCommand']||this['currentRawCommand']||undefined,'message':_0x38fc1d[_0x230243(0x213)]||'','duration':_0x38fc1d['duration']||undefined,'details':_0x38fc1d[_0x230243(0x21e)]||undefined};return JSON['stringify'](_0x15e238);}));this[_0x7bcb8f(0x222)]=a59_0x2fa18a[_0x7bcb8f(0x219)]({'level':'info','format':_0x291279,'transports':[new a59_0x2fa18a[(_0x7bcb8f(0x220))][(_0x7bcb8f(0x1fd))]({'filename':this['logFilePath'],'level':_0x7bcb8f(0x212)})],'silent':![]}),a59_0x2fa18a['addColors']({'success':'green','error':_0x7bcb8f(0x205),'warn':'yellow','info':_0x7bcb8f(0x1fc)});}[a59_0x544bf5(0x212)](_0x24b5be,_0xb5e31f,_0x136f00){const _0x3e537f=a59_0x544bf5;if(!this[_0x3e537f(0x202)]||!this[_0x3e537f(0x222)])return;this['winstonLogger'][_0x3e537f(0x212)](_0xb5e31f,{'command':_0x24b5be,'details':_0x136f00});}[a59_0x544bf5(0x1f4)](_0x38711e,_0x267ee9,_0x3776c3,_0x168c9c){const _0x50cdd9=a59_0x544bf5;if(!this['logFilePath']||!this[_0x50cdd9(0x222)])return;this['winstonLogger'][_0x50cdd9(0x20a)](_0x50cdd9(0x212),_0x267ee9,{'level':'success','command':_0x38711e,'duration':_0x3776c3,'details':_0x168c9c});}['error'](_0x55f00a,_0x21fd38,_0x2426f6){const _0x5512ac=a59_0x544bf5;if(!this[_0x5512ac(0x202)]||!this[_0x5512ac(0x222)])return;this[_0x5512ac(0x222)]['error'](_0x21fd38,{'command':_0x55f00a,'details':_0x2426f6});}[a59_0x544bf5(0x204)](_0x5835af,_0x53e003,_0x10a6d6){if(!this['logFilePath']||!this['winstonLogger'])return;this['winstonLogger']['warn'](_0x53e003,{'command':_0x5835af,'details':_0x10a6d6});}async[a59_0x544bf5(0x207)](_0x358a7d,_0x581335,_0x440589){const _0x52d4af=a59_0x544bf5,_0x385b07=Date[_0x52d4af(0x1fa)]();this[_0x52d4af(0x212)](_0x358a7d,_0x52d4af(0x218)+_0x581335);try{const _0x5745f8=await _0x440589(),_0x594178=Date[_0x52d4af(0x1fa)]()-_0x385b07;return this[_0x52d4af(0x1f4)](_0x358a7d,_0x52d4af(0x216)+_0x581335,_0x594178),_0x5745f8;}catch(_0x2193f5){const _0x3c1924=Date[_0x52d4af(0x1fa)]()-_0x385b07;this[_0x52d4af(0x223)](_0x358a7d,_0x52d4af(0x210)+_0x581335,{'error':_0x2193f5 instanceof Error?_0x2193f5[_0x52d4af(0x213)]:String(_0x2193f5),'duration':_0x3c1924});throw _0x2193f5;}}[a59_0x544bf5(0x1f9)](){const _0x2abb78=a59_0x544bf5;try{if(!a59_0x4a6933['existsSync'](this[_0x2abb78(0x202)]))return[];const _0xf8c105=a59_0x4a6933[_0x2abb78(0x203)](this[_0x2abb78(0x202)],_0x2abb78(0x217));return _0xf8c105[_0x2abb78(0x1f3)](/\r?\n/)[_0x2abb78(0x221)](_0x1318f1=>_0x1318f1[_0x2abb78(0x1f2)]())[_0x2abb78(0x1f8)](_0x51f62a=>JSON['parse'](_0x51f62a));}catch(_0x1c7a94){return console['warn'](_0x2abb78(0x21f),_0x1c7a94),[];}}[a59_0x544bf5(0x209)](){const _0x1d04bd=a59_0x544bf5;try{a59_0x4a6933[_0x1d04bd(0x200)](this[_0x1d04bd(0x202)])&&a59_0x4a6933[_0x1d04bd(0x20c)](this[_0x1d04bd(0x202)],'',_0x1d04bd(0x217));}catch(_0x2dc065){console[_0x1d04bd(0x204)](_0x1d04bd(0x21a),_0x2dc065);}}[a59_0x544bf5(0x1f1)](){const _0x4f299d=a59_0x544bf5;return this[_0x4f299d(0x222)];}}function a59_0x451a(){const _0x56a380=['now','1812564uYEPqc','blue','File','clear','13711779wOxRlO','existsSync','261131UaXreY','logFilePath','readFileSync','warn','red','9754773RpgZbX','logTask','5707532VBoaWe','clearLogs','log','errors','writeFileSync','printf','unknown','dirname','Failed:\x20','.lovrabet-runtime.log','info','message','format','join','Completed:\x20','utf8','Starting:\x20','createLogger','Failed\x20to\x20clear\x20logs:','10WbiDzx','9675608gwmxFl','currentRawCommand','details','Failed\x20to\x20read\x20logs:','transports','filter','winstonLogger','error','initWinstonLogger','combine','getWinstonInstance','trim','split','success','80cMJpew','timestamp','74118OaCUGi','map','readLogs'];a59_0x451a=function(){return _0x56a380;};return a59_0x451a();}export const logger=new Logger();
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();
@@ -1 +1 @@
1
- (function(_0x5090e4,_0x305c84){var _0x105a76=a60_0x1e80,_0xbccd70=_0x5090e4();while(!![]){try{var _0x2466f1=-parseInt(_0x105a76(0xc3))/0x1+-parseInt(_0x105a76(0xc1))/0x2*(-parseInt(_0x105a76(0xca))/0x3)+parseInt(_0x105a76(0xc8))/0x4+parseInt(_0x105a76(0xc0))/0x5*(-parseInt(_0x105a76(0xc9))/0x6)+parseInt(_0x105a76(0xbe))/0x7*(-parseInt(_0x105a76(0xc6))/0x8)+-parseInt(_0x105a76(0xbd))/0x9+parseInt(_0x105a76(0xc4))/0xa;if(_0x2466f1===_0x305c84)break;else _0xbccd70['push'](_0xbccd70['shift']());}catch(_0x54f293){_0xbccd70['push'](_0xbccd70['shift']());}}}(a60_0x1043,0xcd970));function a60_0x1e80(_0x12c0d6,_0x34f29b){_0x12c0d6=_0x12c0d6-0xbd;var _0x104334=a60_0x1043();var _0x1e8054=_0x104334[_0x12c0d6];return _0x1e8054;}import{CliErrors}from'../errors.js';export function parseJsonParams(_0x1cc2dd){var _0x442276=a60_0x1e80;if(!_0x1cc2dd)return undefined;try{return JSON[_0x442276(0xc5)](_0x1cc2dd);}catch{throw CliErrors[_0x442276(0xcd)](_0x442276(0xcc)+_0x1cc2dd);}}function a60_0x1043(){var _0x2c9904=['5UrvMTr','718RtXamG','items','374963EzogQk','23186120HmlRte','parse','223464gRePRf','Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27','4466312PipeGP','8181918tflbmb','5121BQggBK','isArray','Invalid\x20JSON\x20for\x20--params:\x20','validation','8931870GyyKjE','119yYDffr','batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}'];a60_0x1043=function(){return _0x2c9904;};return a60_0x1043();}export function parseJsonParamsValue(_0x4ce2bc){var _0x4f31c3=a60_0x1e80;if(!_0x4ce2bc)return undefined;try{return JSON[_0x4f31c3(0xc5)](_0x4ce2bc);}catch{throw CliErrors[_0x4f31c3(0xcd)](_0x4f31c3(0xcc)+_0x4ce2bc);}}export function parseBatchCreateItemsFromParams(_0x408a01){var _0x4e7366=a60_0x1e80;if(Array[_0x4e7366(0xcb)](_0x408a01))return _0x408a01;if(_0x408a01!==null&&_0x408a01!==undefined&&typeof _0x408a01==='object'&&Array[_0x4e7366(0xcb)](_0x408a01[_0x4e7366(0xc2)]))return _0x408a01[_0x4e7366(0xc2)];throw CliErrors[_0x4e7366(0xcd)](_0x4e7366(0xbf),_0x4e7366(0xc7));}
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');}
@@ -1 +1 @@
1
- const a61_0xbd9826=a61_0x524e;function a61_0x2999(){const _0x113742=['11142615ETqjPM','platform','90GDgFqD','436805loWOlx','win32','179736OjMeOW','3358800besMLz','377473eqrmgG','750597PeITAz','6WgJeuO','203EMzGMz','6OdaenD','.cmd','293031KuFEIj'];a61_0x2999=function(){return _0x113742;};return a61_0x2999();}(function(_0x2d1646,_0x3b47ae){const _0x2352b5=a61_0x524e,_0x1bce07=_0x2d1646();while(!![]){try{const _0x4cf796=parseInt(_0x2352b5(0x19b))/0x1+-parseInt(_0x2352b5(0x19f))/0x2*(parseInt(_0x2352b5(0x19c))/0x3)+parseInt(_0x2352b5(0x19a))/0x4+parseInt(_0x2352b5(0x1a5))/0x5*(parseInt(_0x2352b5(0x19d))/0x6)+parseInt(_0x2352b5(0x19e))/0x7*(parseInt(_0x2352b5(0x199))/0x8)+-parseInt(_0x2352b5(0x1a1))/0x9*(-parseInt(_0x2352b5(0x1a4))/0xa)+-parseInt(_0x2352b5(0x1a2))/0xb;if(_0x4cf796===_0x3b47ae)break;else _0x1bce07['push'](_0x1bce07['shift']());}catch(_0x1b758d){_0x1bce07['push'](_0x1bce07['shift']());}}}(a61_0x2999,0x768aa));export const isWindows=process[a61_0xbd9826(0x1a3)]===a61_0xbd9826(0x1a6);function a61_0x524e(_0x37b7c6,_0x33affc){_0x37b7c6=_0x37b7c6-0x199;const _0x2999d7=a61_0x2999();let _0x524ec6=_0x2999d7[_0x37b7c6];return _0x524ec6;}export function resolveNpmBin(_0x312a34){const _0x1a25dc=a61_0xbd9826;return isWindows?_0x312a34+_0x1a25dc(0x1a0):_0x312a34;}
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();}
@@ -1 +1 @@
1
- (function(_0x52ccc3,_0x285f0f){const _0x46992b=a62_0x260d,_0x4cabf3=_0x52ccc3();while(!![]){try{const _0x31b669=-parseInt(_0x46992b(0xd1))/0x1+-parseInt(_0x46992b(0xce))/0x2*(parseInt(_0x46992b(0xc9))/0x3)+-parseInt(_0x46992b(0xc8))/0x4+parseInt(_0x46992b(0xc7))/0x5*(parseInt(_0x46992b(0xcd))/0x6)+-parseInt(_0x46992b(0xcb))/0x7+-parseInt(_0x46992b(0xca))/0x8*(parseInt(_0x46992b(0xcc))/0x9)+parseInt(_0x46992b(0xc5))/0xa;if(_0x31b669===_0x285f0f)break;else _0x4cabf3['push'](_0x4cabf3['shift']());}catch(_0x48879e){_0x4cabf3['push'](_0x4cabf3['shift']());}}}(a62_0xf663,0x8ba3d));import{readFileSync}from'node:fs';import{dirname,join}from'node:path';import{fileURLToPath}from'node:url';let cached;function a62_0xf663(){const _0x1d4ed9=['363647Hdmcoh','29997720DkNAbh','parse','50nTPqMZ','911712vVRLlr','2609034VoLdGU','127240DOrHhm','7497938tqFsYE','450HfRDPN','539898IpWaeO','2YDihvq','version','utf8'];a62_0xf663=function(){return _0x1d4ed9;};return a62_0xf663();}function a62_0x260d(_0x2a1210,_0x3bc46b){_0x2a1210=_0x2a1210-0xc5;const _0xf663b6=a62_0xf663();let _0x260da8=_0xf663b6[_0x2a1210];return _0x260da8;}export function getCliVersion(){const _0x243bf0=a62_0x260d;if(cached)return cached;const _0x2cdef7=join(dirname(fileURLToPath(import.meta.url)),'..','..'),_0x52c8af=readFileSync(join(_0x2cdef7,'package.json'),_0x243bf0(0xd0)),_0x355403=JSON[_0x243bf0(0xc6)](_0x52c8af);return cached=_0x355403[_0x243bf0(0xcf)],cached;}
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
- function a63_0x5674(_0x5cee49,_0x55d4f3){_0x5cee49=_0x5cee49-0x115;var _0x40afe1=a63_0x40af();var _0x5674d7=_0x40afe1[_0x5cee49];return _0x5674d7;}(function(_0x595ad1,_0x5460c2){var _0x3a00b7=a63_0x5674,_0x43acb2=_0x595ad1();while(!![]){try{var _0x3f9672=parseInt(_0x3a00b7(0x115))/0x1*(-parseInt(_0x3a00b7(0x11a))/0x2)+parseInt(_0x3a00b7(0x117))/0x3+-parseInt(_0x3a00b7(0x11d))/0x4*(-parseInt(_0x3a00b7(0x121))/0x5)+parseInt(_0x3a00b7(0x11b))/0x6+-parseInt(_0x3a00b7(0x11c))/0x7*(parseInt(_0x3a00b7(0x119))/0x8)+parseInt(_0x3a00b7(0x118))/0x9+parseInt(_0x3a00b7(0x11f))/0xa*(-parseInt(_0x3a00b7(0x120))/0xb);if(_0x3f9672===_0x5460c2)break;else _0x43acb2['push'](_0x43acb2['shift']());}catch(_0x541b6a){_0x43acb2['push'](_0x43acb2['shift']());}}}(a63_0x40af,0xbe2e5));export function writeCliSideChannelLine(_0x3672f8){var _0x21923d=a63_0x5674;process[_0x21923d(0x116)][_0x21923d(0x11e)](_0x3672f8+'\x0a');}function a63_0x40af(){var _0x24a19d=['write','140DRUvWD','70125zFXSsR','5arKsQj','3shEchT','stderr','645798MweazS','2786832GBVEFs','328AJppdK','25276TXZCBr','1088958xVeYRL','180397JTeiJD','5025396BJWeSQ'];a63_0x40af=function(){return _0x24a19d;};return a63_0x40af();}
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",
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.1",
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
- "typescript": "latest",
56
+ "tsc-alias": "^1.8.10",
57
+ "typescript": "5.9.3",
58
58
  "vitest": "^4.1.2"
59
59
  }
60
60
  }