@lovrabet/lovrabet-cli 2.1.0 → 2.1.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.
Files changed (85) hide show
  1. package/lib/cli.js +1 -1
  2. package/lib/commands/api-doc/index.js +1 -1
  3. package/lib/commands/app/cache.js +1 -1
  4. package/lib/commands/app/definitions.js +1 -1
  5. package/lib/commands/app/eligibility.js +1 -1
  6. package/lib/commands/app/mock-loader.js +1 -1
  7. package/lib/commands/app/remote-source.js +1 -1
  8. package/lib/commands/app/shared.js +1 -1
  9. package/lib/commands/artifact/index.js +1 -1
  10. package/lib/commands/auth/index.js +1 -1
  11. package/lib/commands/auth/prompt.js +1 -1
  12. package/lib/commands/bff/detail.js +1 -1
  13. package/lib/commands/bff/exec.js +1 -1
  14. package/lib/commands/bff/index.js +1 -1
  15. package/lib/commands/cli-skill/index.js +1 -1
  16. package/lib/commands/common/config-policy.js +1 -1
  17. package/lib/commands/common/constraints.js +1 -1
  18. package/lib/commands/common/flags.js +1 -1
  19. package/lib/commands/config/definitions.js +1 -1
  20. package/lib/commands/config/shared.js +1 -1
  21. package/lib/commands/data/index.js +1 -1
  22. package/lib/commands/dataset/detail.js +1 -1
  23. package/lib/commands/dataset/index.js +1 -1
  24. package/lib/commands/dataset/list.js +1 -1
  25. package/lib/commands/dataset/sdk-doc.js +1 -1
  26. package/lib/commands/doctor.js +1 -1
  27. package/lib/commands/init.js +1 -1
  28. package/lib/commands/kb/index.js +1 -1
  29. package/lib/commands/logs/index.js +1 -1
  30. package/lib/commands/personal-bff/index.js +1 -1
  31. package/lib/commands/registry.js +1 -1
  32. package/lib/commands/schema.js +1 -1
  33. package/lib/commands/service/dynamic.js +1 -1
  34. package/lib/commands/service/index.js +1 -1
  35. package/lib/commands/service/registry.js +1 -1
  36. package/lib/commands/skill/index.js +1 -1
  37. package/lib/commands/skill/templates.js +1 -1
  38. package/lib/commands/skill/validate.js +1 -1
  39. package/lib/commands/sql/detail.js +1 -1
  40. package/lib/commands/sql/exec.js +1 -1
  41. package/lib/commands/sql/index.js +1 -1
  42. package/lib/commands/update.js +1 -1
  43. package/lib/commands/workspace/index.js +1 -1
  44. package/lib/config/schema.js +1 -1
  45. package/lib/constant/app.js +1 -1
  46. package/lib/constant/auth-mode.js +1 -1
  47. package/lib/constant/cli.js +1 -1
  48. package/lib/constant/defaults.js +1 -1
  49. package/lib/constant/distribution.js +1 -1
  50. package/lib/constant/domain.js +1 -1
  51. package/lib/constant/env.js +1 -1
  52. package/lib/constant/output.js +1 -1
  53. package/lib/constant/product.js +1 -1
  54. package/lib/constant/risk.js +1 -1
  55. package/lib/constant/url.js +1 -1
  56. package/lib/context.js +1 -1
  57. package/lib/core/api-client.js +1 -1
  58. package/lib/core/db-resolver.js +1 -1
  59. package/lib/core/sdk-client.js +1 -1
  60. package/lib/errors.js +1 -1
  61. package/lib/framework/build-all-flags.js +1 -1
  62. package/lib/framework/dryrun.js +1 -1
  63. package/lib/framework/flags.js +1 -1
  64. package/lib/framework/help.js +1 -1
  65. package/lib/framework/index.js +1 -1
  66. package/lib/framework/output.js +1 -1
  67. package/lib/framework/preparse.js +1 -1
  68. package/lib/framework/response.js +1 -1
  69. package/lib/framework/runner-confirmation.js +1 -1
  70. package/lib/framework/runner-error.js +1 -1
  71. package/lib/framework/runner.js +1 -1
  72. package/lib/framework/schema-export.js +1 -1
  73. package/lib/framework/types.js +1 -1
  74. package/lib/generated/build-info.js +1 -1
  75. package/lib/help.js +1 -1
  76. package/lib/skills/npx-skills-add.js +1 -1
  77. package/lib/skills/runtime-skill-sync.js +1 -1
  78. package/lib/utils/apply-jq-filter.js +1 -1
  79. package/lib/utils/logger.js +1 -1
  80. package/lib/utils/params.js +1 -1
  81. package/lib/utils/platform.js +1 -1
  82. package/lib/utils/update-notice.js +1 -1
  83. package/lib/utils/version.js +1 -1
  84. package/lib/utils/write-cli-side-channel.js +1 -1
  85. package/package.json +1 -1
@@ -1 +1 @@
1
- (function(_0x38eae6,_0x59df53){const _0x144ff1=a81_0x2b61,_0x386efb=_0x38eae6();while(!![]){try{const _0x3c9577=-parseInt(_0x144ff1(0xa9))/0x1*(parseInt(_0x144ff1(0x9b))/0x2)+-parseInt(_0x144ff1(0xa1))/0x3+-parseInt(_0x144ff1(0xa2))/0x4*(parseInt(_0x144ff1(0x9e))/0x5)+parseInt(_0x144ff1(0xb3))/0x6+-parseInt(_0x144ff1(0x96))/0x7+parseInt(_0x144ff1(0xa8))/0x8+parseInt(_0x144ff1(0x9a))/0x9;if(_0x3c9577===_0x59df53)break;else _0x386efb['push'](_0x386efb['shift']());}catch(_0x29efd5){_0x386efb['push'](_0x386efb['shift']());}}}(a81_0x2d25,0x22617));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import{LOVRABET_NPM_PACKAGE_NAME,NPM_REGISTRY_BASE_URL}from'../constant/distribution.js';import{CLI_BIN_NAME}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';const UPDATE_CHECK_TTL_MS=0xc*0x3c*0x3c*0x3e8,UPDATE_NOTICE_TTL_MS=0x18*0x3c*0x3c*0x3e8;function a81_0x2d25(){const _0x7afe9e=['176SvIDus','update-check.json','.cache','lastNotifiedAt','entries','match','1106344poMeNI','9743FvIPxw','stringify','lovrabet-cli','yes','checkedAt',',\x20run:\x20','fromEntries','number','string','patch','1333566SuRgiK','/-/package/','object','Invalid\x20semver','lastNotifiedVersion','latest','toLowerCase','https://www.npmjs.com/package/','now','1455384LZoryY','trim','major','utf8','2534823tdqhWA','2ddfkjh','prerelease','minor','1550htSlgz','parse','\x20update','810249fCqXlm'];a81_0x2d25=function(){return _0x7afe9e;};return a81_0x2d25();}function parseSemver(_0x223b80){const _0x6a4b6a=a81_0x2b61,_0x758353=_0x223b80['trim']()[_0x6a4b6a(0xa7)](/^(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z.-]+))?$/);if(!_0x758353)return null;return{'major':Number(_0x758353[0x1]),'minor':Number(_0x758353[0x2]),'patch':Number(_0x758353[0x3]),'prerelease':_0x758353[0x4]};}function compareSemver(_0x1769ec,_0x4130f3){const _0x466920=a81_0x2b61,_0x33bac4=parseSemver(_0x1769ec),_0x22584c=parseSemver(_0x4130f3);if(!_0x33bac4||!_0x22584c)throw new Error(_0x466920(0xb6));for(const _0x1535d1 of[_0x466920(0x98),_0x466920(0x9d),_0x466920(0xb2)]){if(_0x33bac4[_0x1535d1]<_0x22584c[_0x1535d1])return-0x1;if(_0x33bac4[_0x1535d1]>_0x22584c[_0x1535d1])return 0x1;}if(!_0x33bac4[_0x466920(0x9c)]&&!_0x22584c['prerelease'])return 0x0;if(!_0x33bac4[_0x466920(0x9c)])return 0x1;if(!_0x22584c[_0x466920(0x9c)])return-0x1;if(_0x33bac4[_0x466920(0x9c)]===_0x22584c[_0x466920(0x9c)])return 0x0;return _0x33bac4[_0x466920(0x9c)]<_0x22584c[_0x466920(0x9c)]?-0x1:0x1;}function isUpdateNoticeDisabled(){const _0x5e57fe=a81_0x2b61,_0xcc8c9=process.env.LOVRABET_NO_UPDATE_NOTICE?.['trim']()[_0x5e57fe(0x93)]();return _0xcc8c9==='1'||_0xcc8c9==='true'||_0xcc8c9===_0x5e57fe(0xac);}function cacheRoot(){const _0x3e551e=a81_0x2b61;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x3e551e(0xa4));}export function getUpdateNoticeCachePath(){const _0x15ba4d=a81_0x2b61;return join(cacheRoot(),_0x15ba4d(0xab),_0x15ba4d(0xa3));}async function readUpdateNoticeCache(){const _0x33855f=a81_0x2b61;try{const _0x13acfc=await readFile(getUpdateNoticeCachePath(),_0x33855f(0x99)),_0x5b8786=JSON[_0x33855f(0x9f)](_0x13acfc);if(!_0x5b8786||typeof _0x5b8786!==_0x33855f(0xb5))return{};return _0x5b8786;}catch{return{};}}async function writeUpdateNoticeCache(_0x4ce4fa){const _0x27e24b=a81_0x2b61;try{const _0x2b6c9f=getUpdateNoticeCachePath();await mkdir(dirname(_0x2b6c9f),{'recursive':!![]}),await writeFile(_0x2b6c9f,JSON[_0x27e24b(0xaa)](_0x4ce4fa,null,0x2)+'\x0a',_0x27e24b(0x99));}catch{}}function isFreshCheck(_0x4f7837,_0x56b47d){const _0x58f251=a81_0x2b61;return typeof _0x4f7837[_0x58f251(0xad)]==='number'&&_0x56b47d-_0x4f7837['checkedAt']<UPDATE_CHECK_TTL_MS;}function a81_0x2b61(_0x233174,_0x2c75fe){_0x233174=_0x233174-0x91;const _0x2d25d7=a81_0x2d25();let _0x2b617f=_0x2d25d7[_0x233174];return _0x2b617f;}function isRecentlyNotified(_0x3e18ca,_0x499bb9,_0x24a34b){const _0x4c9caa=a81_0x2b61;return _0x3e18ca[_0x4c9caa(0x91)]===_0x499bb9&&typeof _0x3e18ca[_0x4c9caa(0xa5)]===_0x4c9caa(0xb0)&&_0x24a34b-_0x3e18ca[_0x4c9caa(0xa5)]<UPDATE_NOTICE_TTL_MS;}async function fetchNpmDistTags(_0x19ef37=0x5dc){const _0x11dc65=a81_0x2b61;try{const _0x4f8aa8=NPM_REGISTRY_BASE_URL+_0x11dc65(0xb4)+encodeURIComponent(LOVRABET_NPM_PACKAGE_NAME)+'/dist-tags',_0x13039a=await fetch(_0x4f8aa8,{'signal':AbortSignal['timeout'](_0x19ef37)});if(!_0x13039a['ok'])return null;const _0x325b4a=await _0x13039a['json']();if(!_0x325b4a||typeof _0x325b4a!=='object')return null;return Object[_0x11dc65(0xaf)](Object[_0x11dc65(0xa6)](_0x325b4a)['filter'](([,_0x15b0c5])=>typeof _0x15b0c5===_0x11dc65(0xb1)&&_0x15b0c5[_0x11dc65(0x97)]())['map'](([_0x174def,_0x5b8eed])=>[_0x174def,String(_0x5b8eed)[_0x11dc65(0x97)]()]));}catch{return null;}}export function buildNpmVersionUrl(_0x53fb8d){const _0x4d0cec=a81_0x2b61;return _0x4d0cec(0x94)+LOVRABET_NPM_PACKAGE_NAME+'/v/'+_0x53fb8d;}export async function resolveLatestUpdateNotice(){const _0x3ae89c=a81_0x2b61;if(isUpdateNoticeDisabled())return null;try{const _0x932d89=Date[_0x3ae89c(0x95)](),_0x3b004d=getCliVersion(),_0x1f8512=await readUpdateNoticeCache();let _0x3a5bf7=isFreshCheck(_0x1f8512,_0x932d89)?_0x1f8512['latest']?.[_0x3ae89c(0x97)]():undefined;if(!_0x3a5bf7&&!isFreshCheck(_0x1f8512,_0x932d89)){const _0x40132d=await fetchNpmDistTags();_0x3a5bf7=_0x40132d?.[_0x3ae89c(0x92)]?.[_0x3ae89c(0x97)](),await writeUpdateNoticeCache({..._0x1f8512,'checkedAt':_0x932d89,'latest':_0x3a5bf7,'failed':!_0x3a5bf7});}if(!_0x3a5bf7||compareSemver(_0x3b004d,_0x3a5bf7)>=0x0)return null;if(isRecentlyNotified(_0x1f8512,_0x3a5bf7,_0x932d89))return null;const _0x3affe3=CLI_BIN_NAME+_0x3ae89c(0xa0);return await writeUpdateNoticeCache({..._0x1f8512,'checkedAt':isFreshCheck(_0x1f8512,_0x932d89)?_0x1f8512[_0x3ae89c(0xad)]:_0x932d89,'latest':_0x3a5bf7,'failed':![],'lastNotifiedVersion':_0x3a5bf7,'lastNotifiedAt':_0x932d89}),{'command':_0x3affe3,'current':_0x3b004d,'latest':_0x3a5bf7,'url':buildNpmVersionUrl(_0x3a5bf7),'message':CLI_BIN_NAME+'\x20'+_0x3a5bf7+'\x20available,\x20current\x20'+_0x3b004d+_0x3ae89c(0xae)+_0x3affe3};}catch{return null;}}
1
+ function a81_0x1ea5(_0xfc4f2a,_0x5276bb){_0xfc4f2a=_0xfc4f2a-0x12b;const _0x500080=a81_0x5000();let _0x1ea512=_0x500080[_0xfc4f2a];return _0x1ea512;}(function(_0x568d13,_0x1d9ab1){const _0x23835e=a81_0x1ea5,_0x49d12e=_0x568d13();while(!![]){try{const _0x30d5ca=parseInt(_0x23835e(0x13c))/0x1*(parseInt(_0x23835e(0x141))/0x2)+-parseInt(_0x23835e(0x138))/0x3*(parseInt(_0x23835e(0x12d))/0x4)+-parseInt(_0x23835e(0x13f))/0x5+-parseInt(_0x23835e(0x130))/0x6*(-parseInt(_0x23835e(0x147))/0x7)+-parseInt(_0x23835e(0x12e))/0x8*(parseInt(_0x23835e(0x156))/0x9)+parseInt(_0x23835e(0x143))/0xa*(-parseInt(_0x23835e(0x12f))/0xb)+parseInt(_0x23835e(0x132))/0xc*(parseInt(_0x23835e(0x148))/0xd);if(_0x30d5ca===_0x1d9ab1)break;else _0x49d12e['push'](_0x49d12e['shift']());}catch(_0x29bea2){_0x49d12e['push'](_0x49d12e['shift']());}}}(a81_0x5000,0x8f64a));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import{LOVRABET_NPM_PACKAGE_NAME,NPM_REGISTRY_BASE_URL}from'../constant/distribution.js';import{CLI_BIN_NAME}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';const UPDATE_CHECK_TTL_MS=0xc*0x3c*0x3c*0x3e8,UPDATE_NOTICE_TTL_MS=0x18*0x3c*0x3c*0x3e8;function parseSemver(_0x2ed9f4){const _0x582dbd=a81_0x1ea5,_0x4e3bec=_0x2ed9f4[_0x582dbd(0x146)]()[_0x582dbd(0x157)](/^(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z.-]+))?$/);if(!_0x4e3bec)return null;return{'major':Number(_0x4e3bec[0x1]),'minor':Number(_0x4e3bec[0x2]),'patch':Number(_0x4e3bec[0x3]),'prerelease':_0x4e3bec[0x4]};}function compareSemver(_0x7ba5ff,_0x24c8ff){const _0xbc3a31=a81_0x1ea5,_0x2b6dc5=parseSemver(_0x7ba5ff),_0x53950f=parseSemver(_0x24c8ff);if(!_0x2b6dc5||!_0x53950f)throw new Error(_0xbc3a31(0x142));for(const _0x594570 of[_0xbc3a31(0x151),_0xbc3a31(0x137),_0xbc3a31(0x14d)]){if(_0x2b6dc5[_0x594570]<_0x53950f[_0x594570])return-0x1;if(_0x2b6dc5[_0x594570]>_0x53950f[_0x594570])return 0x1;}if(!_0x2b6dc5[_0xbc3a31(0x13d)]&&!_0x53950f['prerelease'])return 0x0;if(!_0x2b6dc5['prerelease'])return 0x1;if(!_0x53950f['prerelease'])return-0x1;if(_0x2b6dc5[_0xbc3a31(0x13d)]===_0x53950f[_0xbc3a31(0x13d)])return 0x0;return _0x2b6dc5[_0xbc3a31(0x13d)]<_0x53950f[_0xbc3a31(0x13d)]?-0x1:0x1;}function isUpdateNoticeDisabled(){const _0x565b93=a81_0x1ea5,_0x2f5fb9=process.env.LOVRABET_NO_UPDATE_NOTICE?.[_0x565b93(0x146)]()[_0x565b93(0x13b)]();return _0x2f5fb9==='1'||_0x2f5fb9==='true'||_0x2f5fb9===_0x565b93(0x13e);}function cacheRoot(){return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),'.cache');}export function getUpdateNoticeCachePath(){const _0x205371=a81_0x1ea5;return join(cacheRoot(),_0x205371(0x14c),_0x205371(0x13a));}function a81_0x5000(){const _0x4b3492=['json','https://www.npmjs.com/package/','333jlPfMF','match','map','now','4QEeQpe','126632ByfUhx','11vCaCFk','943518zONgYp','checkedAt','19593996YHjsHJ','timeout','\x20update','/v/','latest','minor','1028151nOBgXL','lastNotifiedAt','update-check.json','toLowerCase','392FGHTnc','prerelease','yes','5482470IbiKuS','filter','1544fGmxPg','Invalid\x20semver','11133210UgAebJ','utf8','number','trim','7BdCDtb','26OKrFww','/-/package/','string','stringify','lovrabet-cli','patch','\x20available,\x20current\x20',',\x20run:\x20','/dist-tags','major','entries','object'];a81_0x5000=function(){return _0x4b3492;};return a81_0x5000();}async function readUpdateNoticeCache(){try{const _0x3fc03a=await readFile(getUpdateNoticeCachePath(),'utf8'),_0x3f019e=JSON['parse'](_0x3fc03a);if(!_0x3f019e||typeof _0x3f019e!=='object')return{};return _0x3f019e;}catch{return{};}}async function writeUpdateNoticeCache(_0x13c8b5){const _0x65c337=a81_0x1ea5;try{const _0x88160d=getUpdateNoticeCachePath();await mkdir(dirname(_0x88160d),{'recursive':!![]}),await writeFile(_0x88160d,JSON[_0x65c337(0x14b)](_0x13c8b5,null,0x2)+'\x0a',_0x65c337(0x144));}catch{}}function isFreshCheck(_0x3b2fce,_0x25b681){const _0xac8fd1=a81_0x1ea5;return typeof _0x3b2fce['checkedAt']===_0xac8fd1(0x145)&&_0x25b681-_0x3b2fce[_0xac8fd1(0x131)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x468912,_0x2ef488,_0x1e3601){const _0x1ce5eb=a81_0x1ea5;return _0x468912['lastNotifiedVersion']===_0x2ef488&&typeof _0x468912[_0x1ce5eb(0x139)]===_0x1ce5eb(0x145)&&_0x1e3601-_0x468912['lastNotifiedAt']<UPDATE_NOTICE_TTL_MS;}async function fetchNpmDistTags(_0x49f964=0x5dc){const _0x49399b=a81_0x1ea5;try{const _0x47f79d=NPM_REGISTRY_BASE_URL+_0x49399b(0x149)+encodeURIComponent(LOVRABET_NPM_PACKAGE_NAME)+_0x49399b(0x150),_0x304e56=await fetch(_0x47f79d,{'signal':AbortSignal[_0x49399b(0x133)](_0x49f964)});if(!_0x304e56['ok'])return null;const _0x3a88c0=await _0x304e56[_0x49399b(0x154)]();if(!_0x3a88c0||typeof _0x3a88c0!==_0x49399b(0x153))return null;return Object['fromEntries'](Object[_0x49399b(0x152)](_0x3a88c0)[_0x49399b(0x140)](([,_0x59b0ad])=>typeof _0x59b0ad===_0x49399b(0x14a)&&_0x59b0ad[_0x49399b(0x146)]())[_0x49399b(0x12b)](([_0x565a48,_0x79258b])=>[_0x565a48,String(_0x79258b)[_0x49399b(0x146)]()]));}catch{return null;}}export function buildNpmVersionUrl(_0x231991){const _0x3df51b=a81_0x1ea5;return _0x3df51b(0x155)+LOVRABET_NPM_PACKAGE_NAME+_0x3df51b(0x135)+_0x231991;}export async function resolveLatestUpdateNotice(){const _0x278f32=a81_0x1ea5;if(isUpdateNoticeDisabled())return null;try{const _0x539ddb=Date[_0x278f32(0x12c)](),_0x3ef7ab=getCliVersion(),_0x568515=await readUpdateNoticeCache();let _0x8f2176=isFreshCheck(_0x568515,_0x539ddb)?_0x568515[_0x278f32(0x136)]?.['trim']():undefined;if(!_0x8f2176&&!isFreshCheck(_0x568515,_0x539ddb)){const _0xc12470=await fetchNpmDistTags();_0x8f2176=_0xc12470?.[_0x278f32(0x136)]?.['trim'](),await writeUpdateNoticeCache({..._0x568515,'checkedAt':_0x539ddb,'latest':_0x8f2176,'failed':!_0x8f2176});}if(!_0x8f2176||compareSemver(_0x3ef7ab,_0x8f2176)>=0x0)return null;if(isRecentlyNotified(_0x568515,_0x8f2176,_0x539ddb))return null;const _0x133c5f=CLI_BIN_NAME+_0x278f32(0x134);return await writeUpdateNoticeCache({..._0x568515,'checkedAt':isFreshCheck(_0x568515,_0x539ddb)?_0x568515['checkedAt']:_0x539ddb,'latest':_0x8f2176,'failed':![],'lastNotifiedVersion':_0x8f2176,'lastNotifiedAt':_0x539ddb}),{'command':_0x133c5f,'current':_0x3ef7ab,'latest':_0x8f2176,'url':buildNpmVersionUrl(_0x8f2176),'message':CLI_BIN_NAME+'\x20'+_0x8f2176+_0x278f32(0x14e)+_0x3ef7ab+_0x278f32(0x14f)+_0x133c5f};}catch{return null;}}
@@ -1 +1 @@
1
- (function(_0x839dc1,_0x326b57){const _0x218d33=a82_0x12ef,_0x39e921=_0x839dc1();while(!![]){try{const _0x580d2f=-parseInt(_0x218d33(0x77))/0x1*(-parseInt(_0x218d33(0x76))/0x2)+parseInt(_0x218d33(0x72))/0x3+parseInt(_0x218d33(0x78))/0x4*(parseInt(_0x218d33(0x6f))/0x5)+parseInt(_0x218d33(0x75))/0x6*(-parseInt(_0x218d33(0x7a))/0x7)+parseInt(_0x218d33(0x70))/0x8+-parseInt(_0x218d33(0x71))/0x9*(-parseInt(_0x218d33(0x79))/0xa)+parseInt(_0x218d33(0x6d))/0xb*(-parseInt(_0x218d33(0x74))/0xc);if(_0x580d2f===_0x326b57)break;else _0x39e921['push'](_0x39e921['shift']());}catch(_0xc2f850){_0x39e921['push'](_0x39e921['shift']());}}}(a82_0x55b9,0x8ce2b));import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}function a82_0x12ef(_0x221cd7,_0xe68aae){_0x221cd7=_0x221cd7-0x6d;const _0x55b92b=a82_0x55b9();let _0x12ef42=_0x55b92b[_0x221cd7];return _0x12ef42;}export function getCliGitCommit(){const _0x2f3509=a82_0x12ef,_0x5e90cc=String(GIT_COMMIT);return _0x5e90cc&&_0x5e90cc!==_0x2f3509(0x6e)?_0x5e90cc:'';}export function getCliVersionDisplay(){const _0x21deae=a82_0x12ef,_0x4aed6c=getCliGitCommit(),_0x59f902=BUILD_TIME[_0x21deae(0x73)](0x0,0xa);if(!_0x4aed6c||!_0x59f902)return VERSION;return VERSION+'\x20('+_0x4aed6c+',\x20'+_0x59f902+')';}function a82_0x55b9(){const _0x49e72b=['4636295jExoJs','664328iHWrUM','894420TEPxHw','704394TGSCKr','slice','19240548jkqSfY','489288JmoOYL','133870RPGcGf','4WRBgMh','4nSzYPU','100fCmqzt','28UFSQUX','11yZQkPW','unknown'];a82_0x55b9=function(){return _0x49e72b;};return a82_0x55b9();}
1
+ (function(_0x3be782,_0x41eda0){const _0x1767a5=a82_0x4bce,_0x43fdf6=_0x3be782();while(!![]){try{const _0x1e94fb=parseInt(_0x1767a5(0xb9))/0x1*(-parseInt(_0x1767a5(0xba))/0x2)+-parseInt(_0x1767a5(0xb7))/0x3+parseInt(_0x1767a5(0xb4))/0x4+parseInt(_0x1767a5(0xb3))/0x5+-parseInt(_0x1767a5(0xb5))/0x6+-parseInt(_0x1767a5(0xbb))/0x7+parseInt(_0x1767a5(0xb8))/0x8;if(_0x1e94fb===_0x41eda0)break;else _0x43fdf6['push'](_0x43fdf6['shift']());}catch(_0x4267d5){_0x43fdf6['push'](_0x43fdf6['shift']());}}}(a82_0x542f,0xdcad0));function a82_0x4bce(_0x1df5b3,_0x5a5d72){_0x1df5b3=_0x1df5b3-0xb3;const _0x542f06=a82_0x542f();let _0x4bce2f=_0x542f06[_0x1df5b3];return _0x4bce2f;}import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}export function getCliGitCommit(){const _0x4fde14=String(GIT_COMMIT);return _0x4fde14&&_0x4fde14!=='unknown'?_0x4fde14:'';}export function getCliVersionDisplay(){const _0x44622e=a82_0x4bce,_0x16ec8e=getCliGitCommit(),_0x6c820f=BUILD_TIME[_0x44622e(0xb6)](0x0,0xa);if(!_0x16ec8e||!_0x6c820f)return VERSION;return VERSION+'\x20('+_0x16ec8e+',\x20'+_0x6c820f+')';}function a82_0x542f(){const _0x34cec2=['5116230GnwHDf','5808612YkCHwT','10329594syWjou','slice','4838823TspITR','26103744AwOjbs','414FidhEn','1286XIcpEs','8636159LALFQf'];a82_0x542f=function(){return _0x34cec2;};return a82_0x542f();}
@@ -1 +1 @@
1
- function a83_0x1407(){var _0x10da89=['21149919pmoPDi','372330rSjAox','stderr','4491490gnvVso','1577049yYkefM','6329208TcxITI','write','2371640qDPbFF','2827408biRrbi'];a83_0x1407=function(){return _0x10da89;};return a83_0x1407();}(function(_0x2b38d0,_0x42b9ab){var _0x5f03d2=a83_0x12fb,_0xe0ee94=_0x2b38d0();while(!![]){try{var _0x39ffad=-parseInt(_0x5f03d2(0x12f))/0x1+parseInt(_0x5f03d2(0x135))/0x2+-parseInt(_0x5f03d2(0x132))/0x3+-parseInt(_0x5f03d2(0x12d))/0x4+-parseInt(_0x5f03d2(0x131))/0x5+-parseInt(_0x5f03d2(0x133))/0x6+parseInt(_0x5f03d2(0x12e))/0x7;if(_0x39ffad===_0x42b9ab)break;else _0xe0ee94['push'](_0xe0ee94['shift']());}catch(_0x134706){_0xe0ee94['push'](_0xe0ee94['shift']());}}}(a83_0x1407,0x9e7f6));function a83_0x12fb(_0x2f1cc1,_0x50c71a){_0x2f1cc1=_0x2f1cc1-0x12d;var _0x1407ee=a83_0x1407();var _0x12fb6e=_0x1407ee[_0x2f1cc1];return _0x12fb6e;}export function writeCliSideChannelLine(_0x2a1427){var _0x1c64ca=a83_0x12fb;process[_0x1c64ca(0x130)][_0x1c64ca(0x134)](_0x2a1427+'\x0a');}
1
+ function a83_0x1897(_0x18da8a,_0x1b39fe){_0x18da8a=_0x18da8a-0xb2;var _0x406c40=a83_0x406c();var _0x18976d=_0x406c40[_0x18da8a];return _0x18976d;}(function(_0x429526,_0x468c04){var _0x53c24d=a83_0x1897,_0x521005=_0x429526();while(!![]){try{var _0x55595e=parseInt(_0x53c24d(0xbe))/0x1*(parseInt(_0x53c24d(0xbb))/0x2)+-parseInt(_0x53c24d(0xb6))/0x3*(-parseInt(_0x53c24d(0xb9))/0x4)+parseInt(_0x53c24d(0xb2))/0x5+parseInt(_0x53c24d(0xb7))/0x6+parseInt(_0x53c24d(0xbd))/0x7*(-parseInt(_0x53c24d(0xb3))/0x8)+parseInt(_0x53c24d(0xb5))/0x9+parseInt(_0x53c24d(0xb4))/0xa*(-parseInt(_0x53c24d(0xbc))/0xb);if(_0x55595e===_0x468c04)break;else _0x521005['push'](_0x521005['shift']());}catch(_0x369ccc){_0x521005['push'](_0x521005['shift']());}}}(a83_0x406c,0xce7de));export function writeCliSideChannelLine(_0x58f3ae){var _0x4adf78=a83_0x1897;process[_0x4adf78(0xba)][_0x4adf78(0xb8)](_0x58f3ae+'\x0a');}function a83_0x406c(){var _0x576f88=['36786GdEhWu','66845bYtUrP','616792NDatsV','121270EUzGke','2392902Juhhea','4075056pEDXdN','4420530iQjDMt','write','4rUUDgD','stderr','2toFLJg','231vmJIAX','119VASDzX'];a83_0x406c=function(){return _0x576f88;};return a83_0x406c();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/lovrabet-cli",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",