@lovrabet/lovrabet-cli 2.1.0 → 2.1.1-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.
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(_0x2d5496,_0x114588){const _0xe55a67=a81_0x81d9,_0x2e34c5=_0x2d5496();while(!![]){try{const _0x2da56e=parseInt(_0xe55a67(0x131))/0x1+parseInt(_0xe55a67(0x14e))/0x2+-parseInt(_0xe55a67(0x133))/0x3+-parseInt(_0xe55a67(0x13d))/0x4+parseInt(_0xe55a67(0x135))/0x5*(parseInt(_0xe55a67(0x145))/0x6)+-parseInt(_0xe55a67(0x136))/0x7+-parseInt(_0xe55a67(0x153))/0x8*(-parseInt(_0xe55a67(0x138))/0x9);if(_0x2da56e===_0x114588)break;else _0x2e34c5['push'](_0x2e34c5['shift']());}catch(_0x29aa7a){_0x2e34c5['push'](_0x2e34c5['shift']());}}}(a81_0x41e3,0x42148));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(_0x2b2a07){const _0x490dc3=a81_0x81d9,_0x2403ca=_0x2b2a07[_0x490dc3(0x130)]()[_0x490dc3(0x14c)](/^(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z.-]+))?$/);if(!_0x2403ca)return null;return{'major':Number(_0x2403ca[0x1]),'minor':Number(_0x2403ca[0x2]),'patch':Number(_0x2403ca[0x3]),'prerelease':_0x2403ca[0x4]};}function compareSemver(_0x5b09db,_0x1e0378){const _0x3bbec6=a81_0x81d9,_0x572a07=parseSemver(_0x5b09db),_0x2eeb64=parseSemver(_0x1e0378);if(!_0x572a07||!_0x2eeb64)throw new Error('Invalid\x20semver');for(const _0xd5e29f of[_0x3bbec6(0x14b),_0x3bbec6(0x149),_0x3bbec6(0x141)]){if(_0x572a07[_0xd5e29f]<_0x2eeb64[_0xd5e29f])return-0x1;if(_0x572a07[_0xd5e29f]>_0x2eeb64[_0xd5e29f])return 0x1;}if(!_0x572a07[_0x3bbec6(0x12f)]&&!_0x2eeb64[_0x3bbec6(0x12f)])return 0x0;if(!_0x572a07[_0x3bbec6(0x12f)])return 0x1;if(!_0x2eeb64[_0x3bbec6(0x12f)])return-0x1;if(_0x572a07[_0x3bbec6(0x12f)]===_0x2eeb64['prerelease'])return 0x0;return _0x572a07[_0x3bbec6(0x12f)]<_0x2eeb64[_0x3bbec6(0x12f)]?-0x1:0x1;}function isUpdateNoticeDisabled(){const _0x4ac24f=a81_0x81d9,_0x4804fe=process.env.LOVRABET_NO_UPDATE_NOTICE?.[_0x4ac24f(0x130)]()['toLowerCase']();return _0x4804fe==='1'||_0x4804fe===_0x4ac24f(0x14a)||_0x4804fe==='yes';}function cacheRoot(){const _0x345b2f=a81_0x81d9;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x345b2f(0x12e));}export function getUpdateNoticeCachePath(){return join(cacheRoot(),'lovrabet-cli','update-check.json');}async function readUpdateNoticeCache(){const _0x38918c=a81_0x81d9;try{const _0xca4b8b=await readFile(getUpdateNoticeCachePath(),_0x38918c(0x140)),_0x35e2f9=JSON[_0x38918c(0x142)](_0xca4b8b);if(!_0x35e2f9||typeof _0x35e2f9!==_0x38918c(0x146))return{};return _0x35e2f9;}catch{return{};}}async function writeUpdateNoticeCache(_0x5a1f4e){const _0x216c46=a81_0x81d9;try{const _0x31b256=getUpdateNoticeCachePath();await mkdir(dirname(_0x31b256),{'recursive':!![]}),await writeFile(_0x31b256,JSON[_0x216c46(0x151)](_0x5a1f4e,null,0x2)+'\x0a',_0x216c46(0x140));}catch{}}function isFreshCheck(_0x149b1a,_0x2df520){const _0x178620=a81_0x81d9;return typeof _0x149b1a['checkedAt']===_0x178620(0x13c)&&_0x2df520-_0x149b1a[_0x178620(0x148)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x5e31dc,_0x4c0480,_0x4234a3){const _0x42c778=a81_0x81d9;return _0x5e31dc[_0x42c778(0x134)]===_0x4c0480&&typeof _0x5e31dc[_0x42c778(0x14d)]===_0x42c778(0x13c)&&_0x4234a3-_0x5e31dc[_0x42c778(0x14d)]<UPDATE_NOTICE_TTL_MS;}function a81_0x81d9(_0x42a45a,_0x280cb3){_0x42a45a=_0x42a45a-0x12d;const _0x41e356=a81_0x41e3();let _0x81d951=_0x41e356[_0x42a45a];return _0x81d951;}function a81_0x41e3(){const _0x29a16a=['stringify','\x20available,\x20current\x20','8sVRMmv','map','.cache','prerelease','trim','37959viYMiG','/v/','1002933PLRVdz','lastNotifiedVersion','71405tVOcju','1179850oKakCp','https://www.npmjs.com/package/','776349gmdNEl',',\x20run:\x20','filter','/dist-tags','number','9784uxZONq','timeout','now','utf8','patch','parse','latest','/-/package/','138erwjqc','object','entries','checkedAt','minor','true','major','match','lastNotifiedAt','646576lIJJMn','json','string'];a81_0x41e3=function(){return _0x29a16a;};return a81_0x41e3();}async function fetchNpmDistTags(_0x2a224b=0x5dc){const _0x3cf2bf=a81_0x81d9;try{const _0x149b67=NPM_REGISTRY_BASE_URL+_0x3cf2bf(0x144)+encodeURIComponent(LOVRABET_NPM_PACKAGE_NAME)+_0x3cf2bf(0x13b),_0x9b0959=await fetch(_0x149b67,{'signal':AbortSignal[_0x3cf2bf(0x13e)](_0x2a224b)});if(!_0x9b0959['ok'])return null;const _0x26603f=await _0x9b0959[_0x3cf2bf(0x14f)]();if(!_0x26603f||typeof _0x26603f!==_0x3cf2bf(0x146))return null;return Object['fromEntries'](Object[_0x3cf2bf(0x147)](_0x26603f)[_0x3cf2bf(0x13a)](([,_0x5e564c])=>typeof _0x5e564c===_0x3cf2bf(0x150)&&_0x5e564c[_0x3cf2bf(0x130)]())[_0x3cf2bf(0x12d)](([_0x3d4191,_0x148323])=>[_0x3d4191,String(_0x148323)[_0x3cf2bf(0x130)]()]));}catch{return null;}}export function buildNpmVersionUrl(_0x2761c2){const _0x141e84=a81_0x81d9;return _0x141e84(0x137)+LOVRABET_NPM_PACKAGE_NAME+_0x141e84(0x132)+_0x2761c2;}export async function resolveLatestUpdateNotice(){const _0x2fb291=a81_0x81d9;if(isUpdateNoticeDisabled())return null;try{const _0x11547b=Date[_0x2fb291(0x13f)](),_0x328c63=getCliVersion(),_0x3d25a7=await readUpdateNoticeCache();let _0x26de57=isFreshCheck(_0x3d25a7,_0x11547b)?_0x3d25a7['latest']?.['trim']():undefined;if(!_0x26de57&&!isFreshCheck(_0x3d25a7,_0x11547b)){const _0x434ea1=await fetchNpmDistTags();_0x26de57=_0x434ea1?.[_0x2fb291(0x143)]?.['trim'](),await writeUpdateNoticeCache({..._0x3d25a7,'checkedAt':_0x11547b,'latest':_0x26de57,'failed':!_0x26de57});}if(!_0x26de57||compareSemver(_0x328c63,_0x26de57)>=0x0)return null;if(isRecentlyNotified(_0x3d25a7,_0x26de57,_0x11547b))return null;const _0x27f167=CLI_BIN_NAME+'\x20update';return await writeUpdateNoticeCache({..._0x3d25a7,'checkedAt':isFreshCheck(_0x3d25a7,_0x11547b)?_0x3d25a7['checkedAt']:_0x11547b,'latest':_0x26de57,'failed':![],'lastNotifiedVersion':_0x26de57,'lastNotifiedAt':_0x11547b}),{'command':_0x27f167,'current':_0x328c63,'latest':_0x26de57,'url':buildNpmVersionUrl(_0x26de57),'message':CLI_BIN_NAME+'\x20'+_0x26de57+_0x2fb291(0x152)+_0x328c63+_0x2fb291(0x139)+_0x27f167};}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 a82_0x25c0(){const _0x3165d0=['15OeQWgu','8990613uOWipH','448150HtbwAY','5669804kbRAhd','3396128VefQTf','692820adpCyN','3deruSr','538348sZdewN','2085944UmbSbv','unknown'];a82_0x25c0=function(){return _0x3165d0;};return a82_0x25c0();}function a82_0xf81b(_0x11bbc3,_0xf6ca64){_0x11bbc3=_0x11bbc3-0x92;const _0x25c0f5=a82_0x25c0();let _0xf81b93=_0x25c0f5[_0x11bbc3];return _0xf81b93;}(function(_0x6aa73a,_0xbf8ab2){const _0x4896cc=a82_0xf81b,_0xb72cc4=_0x6aa73a();while(!![]){try{const _0x34f117=-parseInt(_0x4896cc(0x92))/0x1+parseInt(_0x4896cc(0x97))/0x2*(parseInt(_0x4896cc(0x9b))/0x3)+-parseInt(_0x4896cc(0x99))/0x4+-parseInt(_0x4896cc(0x95))/0x5*(parseInt(_0x4896cc(0x9a))/0x6)+parseInt(_0x4896cc(0x98))/0x7+parseInt(_0x4896cc(0x93))/0x8+parseInt(_0x4896cc(0x96))/0x9;if(_0x34f117===_0xbf8ab2)break;else _0xb72cc4['push'](_0xb72cc4['shift']());}catch(_0x184e79){_0xb72cc4['push'](_0xb72cc4['shift']());}}}(a82_0x25c0,0x88b55));import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}export function getCliGitCommit(){const _0xf203b6=a82_0xf81b,_0x29c538=String(GIT_COMMIT);return _0x29c538&&_0x29c538!==_0xf203b6(0x94)?_0x29c538:'';}export function getCliVersionDisplay(){const _0x15ffa9=getCliGitCommit(),_0x57ff9f=BUILD_TIME['slice'](0x0,0xa);if(!_0x15ffa9||!_0x57ff9f)return VERSION;return VERSION+'\x20('+_0x15ffa9+',\x20'+_0x57ff9f+')';}
@@ -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(_0x373e83,_0x2a13e5){var _0xba2141=a83_0x1471,_0x3b663a=_0x373e83();while(!![]){try{var _0x4b5051=parseInt(_0xba2141(0x78))/0x1*(-parseInt(_0xba2141(0x75))/0x2)+-parseInt(_0xba2141(0x76))/0x3*(-parseInt(_0xba2141(0x6f))/0x4)+-parseInt(_0xba2141(0x74))/0x5+-parseInt(_0xba2141(0x77))/0x6*(parseInt(_0xba2141(0x72))/0x7)+-parseInt(_0xba2141(0x71))/0x8+parseInt(_0xba2141(0x70))/0x9+parseInt(_0xba2141(0x73))/0xa;if(_0x4b5051===_0x2a13e5)break;else _0x3b663a['push'](_0x3b663a['shift']());}catch(_0x299e68){_0x3b663a['push'](_0x3b663a['shift']());}}}(a83_0x5d5e,0xd9070));export function writeCliSideChannelLine(_0x13419b){process['stderr']['write'](_0x13419b+'\x0a');}function a83_0x1471(_0x34476c,_0x43ee47){_0x34476c=_0x34476c-0x6f;var _0x5d5e9b=a83_0x5d5e();var _0x1471e7=_0x5d5e9b[_0x34476c];return _0x1471e7;}function a83_0x5d5e(){var _0x15d4e3=['12867430vWrQiL','5340090ZWIpNX','2182sncbZH','2080248IaxPJU','437160dOhgFN','113rQnHIT','4rNrxVK','8326539CymXiX','6017800KkvnyW','7Xwhqhr'];a83_0x5d5e=function(){return _0x15d4e3;};return a83_0x5d5e();}
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-beta.1",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",