@lovrabet/lovrabet-cli 2.1.23-beta.4 → 2.1.23

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 (132) 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/app-config/get.js +1 -1
  10. package/lib/commands/app-config/index.js +1 -1
  11. package/lib/commands/artifact/index.js +1 -1
  12. package/lib/commands/auth/device.js +1 -1
  13. package/lib/commands/auth/index.js +1 -1
  14. package/lib/commands/auth/prompt.js +1 -1
  15. package/lib/commands/bff/detail.js +1 -1
  16. package/lib/commands/bff/exec.js +1 -1
  17. package/lib/commands/bff/index.js +1 -1
  18. package/lib/commands/cli-skill/index.js +1 -1
  19. package/lib/commands/common/config-policy.js +1 -1
  20. package/lib/commands/common/constraints.js +1 -1
  21. package/lib/commands/common/flags.js +1 -1
  22. package/lib/commands/common/local-file.js +1 -1
  23. package/lib/commands/config/definitions.js +1 -1
  24. package/lib/commands/config/shared.js +1 -1
  25. package/lib/commands/data/index.js +1 -1
  26. package/lib/commands/dataset/detail.js +1 -1
  27. package/lib/commands/dataset/index.js +1 -1
  28. package/lib/commands/dataset/list.js +1 -1
  29. package/lib/commands/dataset/sdk-doc.js +1 -1
  30. package/lib/commands/doctor.js +1 -1
  31. package/lib/commands/file/index.js +1 -1
  32. package/lib/commands/init.js +1 -1
  33. package/lib/commands/kb/index.js +1 -1
  34. package/lib/commands/logs/index.js +1 -1
  35. package/lib/commands/ocr/index.js +1 -1
  36. package/lib/commands/personal-bff/index.js +1 -1
  37. package/lib/commands/registry.js +1 -1
  38. package/lib/commands/schedule/index.js +1 -1
  39. package/lib/commands/schema.js +1 -1
  40. package/lib/commands/service/dynamic.js +1 -1
  41. package/lib/commands/service/function-name-adapter.js +1 -1
  42. package/lib/commands/service/index.js +1 -1
  43. package/lib/commands/service/registry.js +1 -1
  44. package/lib/commands/skill/commands/create.js +1 -1
  45. package/lib/commands/skill/commands/diagram.js +1 -1
  46. package/lib/commands/skill/commands/install.js +1 -1
  47. package/lib/commands/skill/commands/list.js +1 -1
  48. package/lib/commands/skill/commands/push.js +1 -1
  49. package/lib/commands/skill/commands/validate.js +1 -1
  50. package/lib/commands/skill/diagram.js +1 -1
  51. package/lib/commands/skill/flags.js +1 -1
  52. package/lib/commands/skill/index.js +1 -1
  53. package/lib/commands/skill/manifest-helpers.js +1 -1
  54. package/lib/commands/skill/push-execute.js +1 -1
  55. package/lib/commands/skill/push-flow-helpers.js +1 -1
  56. package/lib/commands/skill/push-retarget.js +1 -1
  57. package/lib/commands/skill/scopes.js +1 -1
  58. package/lib/commands/skill/summary.js +1 -1
  59. package/lib/commands/skill/templates.js +1 -1
  60. package/lib/commands/skill/validate.js +1 -1
  61. package/lib/commands/sql/detail.js +1 -1
  62. package/lib/commands/sql/exec.js +1 -1
  63. package/lib/commands/sql/index.js +1 -1
  64. package/lib/commands/update.js +1 -1
  65. package/lib/commands/workspace/index.js +1 -1
  66. package/lib/config/schema.js +1 -1
  67. package/lib/constant/app.js +1 -1
  68. package/lib/constant/auth-mode.js +1 -1
  69. package/lib/constant/cli.js +1 -1
  70. package/lib/constant/defaults.js +1 -1
  71. package/lib/constant/distribution.js +1 -1
  72. package/lib/constant/domain.js +1 -1
  73. package/lib/constant/env.js +1 -1
  74. package/lib/constant/output.js +1 -1
  75. package/lib/constant/product.js +1 -1
  76. package/lib/constant/risk.js +1 -1
  77. package/lib/constant/url.js +1 -1
  78. package/lib/context.js +1 -1
  79. package/lib/core/api-client.js +1 -1
  80. package/lib/core/db-resolver.js +1 -1
  81. package/lib/core/sdk-client.js +1 -1
  82. package/lib/errors.js +1 -1
  83. package/lib/framework/build-all-flags.js +1 -1
  84. package/lib/framework/dryrun.js +1 -1
  85. package/lib/framework/flags.js +1 -1
  86. package/lib/framework/help.js +1 -1
  87. package/lib/framework/index.js +1 -1
  88. package/lib/framework/output.js +1 -1
  89. package/lib/framework/preparse.js +1 -1
  90. package/lib/framework/rate-limit.js +1 -1
  91. package/lib/framework/raw-flags.js +1 -1
  92. package/lib/framework/response.js +1 -1
  93. package/lib/framework/runner-confirmation.js +1 -1
  94. package/lib/framework/runner-error.js +1 -1
  95. package/lib/framework/runner.js +1 -1
  96. package/lib/framework/schema-export.js +1 -1
  97. package/lib/framework/service-order.js +1 -1
  98. package/lib/framework/types.js +1 -1
  99. package/lib/generated/build-info.d.ts +4 -4
  100. package/lib/generated/build-info.js +1 -1
  101. package/lib/help.js +1 -1
  102. package/lib/runtime/confirmation.js +1 -1
  103. package/lib/runtime/event.js +1 -1
  104. package/lib/runtime/index.js +1 -1
  105. package/lib/runtime/queue.js +1 -1
  106. package/lib/runtime/resolve.js +1 -1
  107. package/lib/skills/npx-skills-add.js +1 -1
  108. package/lib/skills/runtime-skill-sync/constants.js +1 -1
  109. package/lib/skills/runtime-skill-sync/fs-utils.js +1 -1
  110. package/lib/skills/runtime-skill-sync/hashing.js +1 -1
  111. package/lib/skills/runtime-skill-sync/install-target.js +1 -1
  112. package/lib/skills/runtime-skill-sync/links.js +1 -1
  113. package/lib/skills/runtime-skill-sync/list-local.js +1 -1
  114. package/lib/skills/runtime-skill-sync/local-files.js +1 -1
  115. package/lib/skills/runtime-skill-sync/materialize.js +1 -1
  116. package/lib/skills/runtime-skill-sync/metadata.js +1 -1
  117. package/lib/skills/runtime-skill-sync/paths.js +1 -1
  118. package/lib/skills/runtime-skill-sync/push.js +1 -1
  119. package/lib/skills/runtime-skill-sync/scopes.js +1 -1
  120. package/lib/skills/runtime-skill-sync/zip-codec.js +1 -1
  121. package/lib/skills/runtime-skill-sync/zip-package.js +1 -1
  122. package/lib/skills/runtime-skill-sync.js +1 -1
  123. package/lib/skills/skill-presence.js +1 -1
  124. package/lib/utils/apply-jq-filter.js +1 -1
  125. package/lib/utils/logger.js +1 -1
  126. package/lib/utils/lossless-json.js +1 -1
  127. package/lib/utils/params.js +1 -1
  128. package/lib/utils/platform.js +1 -1
  129. package/lib/utils/update-notice.js +1 -1
  130. package/lib/utils/version.js +1 -1
  131. package/lib/utils/write-cli-side-channel.js +1 -1
  132. package/package.json +1 -1
@@ -1 +1 @@
1
- (function(_0x36e6e0,_0x47e19a){const _0x20ae8b=a129_0xe693,_0x3a892e=_0x36e6e0();while(!![]){try{const _0x10eae3=parseInt(_0x20ae8b(0x14c))/0x1+parseInt(_0x20ae8b(0x160))/0x2*(parseInt(_0x20ae8b(0x158))/0x3)+parseInt(_0x20ae8b(0x14a))/0x4+-parseInt(_0x20ae8b(0x161))/0x5+-parseInt(_0x20ae8b(0x14b))/0x6*(-parseInt(_0x20ae8b(0x15d))/0x7)+parseInt(_0x20ae8b(0x148))/0x8*(parseInt(_0x20ae8b(0x146))/0x9)+-parseInt(_0x20ae8b(0x13f))/0xa;if(_0x10eae3===_0x47e19a)break;else _0x3a892e['push'](_0x3a892e['shift']());}catch(_0x1e8a8f){_0x3a892e['push'](_0x3a892e['shift']());}}}(a129_0x17ea,0xc0fa7));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';function a129_0x17ea(){const _0x378255=['/v/','Invalid\x20semver','1937061epgVyn','true','40sFzIAD','stringify','276420wklcrZ','81240dLHhne','106752WwyOTU','minor','entries','lastNotifiedAt','json','checkedAt','patch','https://www.npmjs.com/package/','lovrabet-cli','timeout','\x20available,\x20current\x20','trim','134334RyqNcg','object','latest','fromEntries','update-check.json','805HSATjA','.cache','utf8','22WLmUyo','5101725bbtoLz',',\x20run:\x20','prerelease','yes','parse','14908760UrLHGC','toLowerCase','major','string','match'];a129_0x17ea=function(){return _0x378255;};return a129_0x17ea();}import{LOVRABET_NPM_PACKAGE_NAME,NPM_REGISTRY_BASE_URL}from'../constant/distribution.js';function a129_0xe693(_0x41cbba,_0x195726){_0x41cbba=_0x41cbba-0x13b;const _0x17eafc=a129_0x17ea();let _0xe69303=_0x17eafc[_0x41cbba];return _0xe69303;}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(_0xb0c197){const _0x7b4a90=a129_0xe693,_0x552d8b=_0xb0c197['trim']()[_0x7b4a90(0x143)](/^(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z.-]+))?$/);if(!_0x552d8b)return null;return{'major':Number(_0x552d8b[0x1]),'minor':Number(_0x552d8b[0x2]),'patch':Number(_0x552d8b[0x3]),'prerelease':_0x552d8b[0x4]};}function compareSemver(_0x42a134,_0x45db11){const _0x52f937=a129_0xe693,_0x38167f=parseSemver(_0x42a134),_0x58d2e5=parseSemver(_0x45db11);if(!_0x38167f||!_0x58d2e5)throw new Error(_0x52f937(0x145));for(const _0x3dc715 of[_0x52f937(0x141),_0x52f937(0x14d),_0x52f937(0x152)]){if(_0x38167f[_0x3dc715]<_0x58d2e5[_0x3dc715])return-0x1;if(_0x38167f[_0x3dc715]>_0x58d2e5[_0x3dc715])return 0x1;}if(!_0x38167f[_0x52f937(0x13c)]&&!_0x58d2e5[_0x52f937(0x13c)])return 0x0;if(!_0x38167f[_0x52f937(0x13c)])return 0x1;if(!_0x58d2e5[_0x52f937(0x13c)])return-0x1;if(_0x38167f['prerelease']===_0x58d2e5[_0x52f937(0x13c)])return 0x0;return _0x38167f[_0x52f937(0x13c)]<_0x58d2e5[_0x52f937(0x13c)]?-0x1:0x1;}function isUpdateNoticeDisabled(){const _0x53f441=a129_0xe693,_0x18ce42=process.env.LOVRABET_NO_UPDATE_NOTICE?.[_0x53f441(0x157)]()[_0x53f441(0x140)]();return _0x18ce42==='1'||_0x18ce42===_0x53f441(0x147)||_0x18ce42===_0x53f441(0x13d);}function cacheRoot(){const _0x5d724c=a129_0xe693;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x5d724c(0x15e));}export function getUpdateNoticeCachePath(){const _0x1d3ab3=a129_0xe693;return join(cacheRoot(),_0x1d3ab3(0x154),_0x1d3ab3(0x15c));}async function readUpdateNoticeCache(){const _0x5960a4=a129_0xe693;try{const _0x1b4e80=await readFile(getUpdateNoticeCachePath(),_0x5960a4(0x15f)),_0x48a099=JSON[_0x5960a4(0x13e)](_0x1b4e80);if(!_0x48a099||typeof _0x48a099!==_0x5960a4(0x159))return{};return _0x48a099;}catch{return{};}}async function writeUpdateNoticeCache(_0x37e626){const _0x6c9fc4=a129_0xe693;try{const _0x319f7f=getUpdateNoticeCachePath();await mkdir(dirname(_0x319f7f),{'recursive':!![]}),await writeFile(_0x319f7f,JSON[_0x6c9fc4(0x149)](_0x37e626,null,0x2)+'\x0a',_0x6c9fc4(0x15f));}catch{}}function isFreshCheck(_0x3982a8,_0x55e00e){const _0x279a5f=a129_0xe693;return typeof _0x3982a8[_0x279a5f(0x151)]==='number'&&_0x55e00e-_0x3982a8[_0x279a5f(0x151)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x326605,_0x200b85,_0x544770){const _0x2442f4=a129_0xe693;return _0x326605['lastNotifiedVersion']===_0x200b85&&typeof _0x326605[_0x2442f4(0x14f)]==='number'&&_0x544770-_0x326605['lastNotifiedAt']<UPDATE_NOTICE_TTL_MS;}async function fetchNpmDistTags(_0x10b708=0x5dc){const _0x5a5021=a129_0xe693;try{const _0x353269=NPM_REGISTRY_BASE_URL+'/-/package/'+encodeURIComponent(LOVRABET_NPM_PACKAGE_NAME)+'/dist-tags',_0x5a3ef9=await fetch(_0x353269,{'signal':AbortSignal[_0x5a5021(0x155)](_0x10b708)});if(!_0x5a3ef9['ok'])return null;const _0x36c639=await _0x5a3ef9[_0x5a5021(0x150)]();if(!_0x36c639||typeof _0x36c639!==_0x5a5021(0x159))return null;return Object[_0x5a5021(0x15b)](Object[_0x5a5021(0x14e)](_0x36c639)['filter'](([,_0x32b25b])=>typeof _0x32b25b===_0x5a5021(0x142)&&_0x32b25b[_0x5a5021(0x157)]())['map'](([_0x43864f,_0x1c4365])=>[_0x43864f,String(_0x1c4365)[_0x5a5021(0x157)]()]));}catch{return null;}}export function buildNpmVersionUrl(_0x3f42c9){const _0x527004=a129_0xe693;return _0x527004(0x153)+LOVRABET_NPM_PACKAGE_NAME+_0x527004(0x144)+_0x3f42c9;}export async function resolveLatestUpdateNotice(){const _0x42df55=a129_0xe693;if(isUpdateNoticeDisabled())return null;try{const _0x2fb98c=Date['now'](),_0x440e81=getCliVersion(),_0x3084f6=await readUpdateNoticeCache();let _0xcfc8ec=isFreshCheck(_0x3084f6,_0x2fb98c)?_0x3084f6[_0x42df55(0x15a)]?.[_0x42df55(0x157)]():undefined;if(!_0xcfc8ec&&!isFreshCheck(_0x3084f6,_0x2fb98c)){const _0xdd4210=await fetchNpmDistTags();_0xcfc8ec=_0xdd4210?.[_0x42df55(0x15a)]?.[_0x42df55(0x157)](),await writeUpdateNoticeCache({..._0x3084f6,'checkedAt':_0x2fb98c,'latest':_0xcfc8ec,'failed':!_0xcfc8ec});}if(!_0xcfc8ec||compareSemver(_0x440e81,_0xcfc8ec)>=0x0)return null;if(isRecentlyNotified(_0x3084f6,_0xcfc8ec,_0x2fb98c))return null;const _0x14f0ee=CLI_BIN_NAME+'\x20update';return await writeUpdateNoticeCache({..._0x3084f6,'checkedAt':isFreshCheck(_0x3084f6,_0x2fb98c)?_0x3084f6[_0x42df55(0x151)]:_0x2fb98c,'latest':_0xcfc8ec,'failed':![],'lastNotifiedVersion':_0xcfc8ec,'lastNotifiedAt':_0x2fb98c}),{'command':_0x14f0ee,'current':_0x440e81,'latest':_0xcfc8ec,'url':buildNpmVersionUrl(_0xcfc8ec),'message':CLI_BIN_NAME+'\x20'+_0xcfc8ec+_0x42df55(0x156)+_0x440e81+_0x42df55(0x13b)+_0x14f0ee};}catch{return null;}}
1
+ (function(_0x5f0df7,_0x2ca386){const _0x4e727d=a129_0x4667,_0x529d37=_0x5f0df7();while(!![]){try{const _0x21ab2a=-parseInt(_0x4e727d(0x141))/0x1*(parseInt(_0x4e727d(0x12b))/0x2)+parseInt(_0x4e727d(0x133))/0x3+-parseInt(_0x4e727d(0x12a))/0x4*(-parseInt(_0x4e727d(0x126))/0x5)+parseInt(_0x4e727d(0x136))/0x6*(-parseInt(_0x4e727d(0x130))/0x7)+-parseInt(_0x4e727d(0x129))/0x8*(parseInt(_0x4e727d(0x134))/0x9)+-parseInt(_0x4e727d(0x11c))/0xa*(parseInt(_0x4e727d(0x131))/0xb)+parseInt(_0x4e727d(0x12c))/0xc;if(_0x21ab2a===_0x2ca386)break;else _0x529d37['push'](_0x529d37['shift']());}catch(_0x573295){_0x529d37['push'](_0x529d37['shift']());}}}(a129_0x42c1,0x3258c));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';function a129_0x4667(_0x4e6314,_0x54de16){_0x4e6314=_0x4e6314-0x11b;const _0x42c132=a129_0x42c1();let _0x4667a4=_0x42c132[_0x4e6314];return _0x4667a4;}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(_0x48fdb5){const _0x54c23f=a129_0x4667,_0x243850=_0x48fdb5[_0x54c23f(0x137)]()[_0x54c23f(0x124)](/^(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z.-]+))?$/);if(!_0x243850)return null;return{'major':Number(_0x243850[0x1]),'minor':Number(_0x243850[0x2]),'patch':Number(_0x243850[0x3]),'prerelease':_0x243850[0x4]};}function a129_0x42c1(){const _0x54a0ab=['735735WZhLEx','327042vJujIP','now','90138fkCGxD','trim','fromEntries','\x20available,\x20current\x20','checkedAt','json','toLowerCase','timeout','latest','/-/package/','/dist-tags','87WtqopN',',\x20run:\x20','true','number','.cache','\x20update','update-check.json','1715650iyynUd','filter','patch','yes','entries','object','stringify','utf8','match','prerelease','1210645rLiiiS','lastNotifiedAt','major','88XeCtik','4drqLGQ','3818PzREWN','7457580KbQHEH','lovrabet-cli','string','Invalid\x20semver','77FFNeLb','11bQCXLP','lastNotifiedVersion'];a129_0x42c1=function(){return _0x54a0ab;};return a129_0x42c1();}function compareSemver(_0x360c0e,_0x2fd5f){const _0x1815b2=a129_0x4667,_0x194d16=parseSemver(_0x360c0e),_0xfbc557=parseSemver(_0x2fd5f);if(!_0x194d16||!_0xfbc557)throw new Error(_0x1815b2(0x12f));for(const _0x361354 of[_0x1815b2(0x128),'minor',_0x1815b2(0x11e)]){if(_0x194d16[_0x361354]<_0xfbc557[_0x361354])return-0x1;if(_0x194d16[_0x361354]>_0xfbc557[_0x361354])return 0x1;}if(!_0x194d16['prerelease']&&!_0xfbc557[_0x1815b2(0x125)])return 0x0;if(!_0x194d16[_0x1815b2(0x125)])return 0x1;if(!_0xfbc557[_0x1815b2(0x125)])return-0x1;if(_0x194d16['prerelease']===_0xfbc557[_0x1815b2(0x125)])return 0x0;return _0x194d16[_0x1815b2(0x125)]<_0xfbc557[_0x1815b2(0x125)]?-0x1:0x1;}function isUpdateNoticeDisabled(){const _0x33c6a0=a129_0x4667,_0x35f8e6=process.env.LOVRABET_NO_UPDATE_NOTICE?.['trim']()[_0x33c6a0(0x13c)]();return _0x35f8e6==='1'||_0x35f8e6===_0x33c6a0(0x143)||_0x35f8e6===_0x33c6a0(0x11f);}function cacheRoot(){const _0x2a8420=a129_0x4667;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x2a8420(0x145));}export function getUpdateNoticeCachePath(){const _0xbffd3b=a129_0x4667;return join(cacheRoot(),_0xbffd3b(0x12d),_0xbffd3b(0x11b));}async function readUpdateNoticeCache(){const _0x4f66ad=a129_0x4667;try{const _0x139e11=await readFile(getUpdateNoticeCachePath(),'utf8'),_0x193480=JSON['parse'](_0x139e11);if(!_0x193480||typeof _0x193480!==_0x4f66ad(0x121))return{};return _0x193480;}catch{return{};}}async function writeUpdateNoticeCache(_0x7e7c3f){const _0x37eecf=a129_0x4667;try{const _0x1bc498=getUpdateNoticeCachePath();await mkdir(dirname(_0x1bc498),{'recursive':!![]}),await writeFile(_0x1bc498,JSON[_0x37eecf(0x122)](_0x7e7c3f,null,0x2)+'\x0a',_0x37eecf(0x123));}catch{}}function isFreshCheck(_0x3d8b7c,_0x1b9f41){const _0x401453=a129_0x4667;return typeof _0x3d8b7c[_0x401453(0x13a)]===_0x401453(0x144)&&_0x1b9f41-_0x3d8b7c['checkedAt']<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x3b7485,_0x207397,_0x279d5b){const _0x3b818c=a129_0x4667;return _0x3b7485[_0x3b818c(0x132)]===_0x207397&&typeof _0x3b7485[_0x3b818c(0x127)]===_0x3b818c(0x144)&&_0x279d5b-_0x3b7485['lastNotifiedAt']<UPDATE_NOTICE_TTL_MS;}async function fetchNpmDistTags(_0xbd169=0x5dc){const _0x551a09=a129_0x4667;try{const _0xea2c=NPM_REGISTRY_BASE_URL+_0x551a09(0x13f)+encodeURIComponent(LOVRABET_NPM_PACKAGE_NAME)+_0x551a09(0x140),_0x543c93=await fetch(_0xea2c,{'signal':AbortSignal[_0x551a09(0x13d)](_0xbd169)});if(!_0x543c93['ok'])return null;const _0x2437d1=await _0x543c93[_0x551a09(0x13b)]();if(!_0x2437d1||typeof _0x2437d1!==_0x551a09(0x121))return null;return Object[_0x551a09(0x138)](Object[_0x551a09(0x120)](_0x2437d1)[_0x551a09(0x11d)](([,_0x250063])=>typeof _0x250063===_0x551a09(0x12e)&&_0x250063[_0x551a09(0x137)]())['map'](([_0x585ca2,_0x22f2d2])=>[_0x585ca2,String(_0x22f2d2)[_0x551a09(0x137)]()]));}catch{return null;}}export function buildNpmVersionUrl(_0x4ff711){return'https://www.npmjs.com/package/'+LOVRABET_NPM_PACKAGE_NAME+'/v/'+_0x4ff711;}export async function resolveLatestUpdateNotice(){const _0x86f6fb=a129_0x4667;if(isUpdateNoticeDisabled())return null;try{const _0x60923b=Date[_0x86f6fb(0x135)](),_0x2e9262=getCliVersion(),_0x4ff0bf=await readUpdateNoticeCache();let _0x3db6cc=isFreshCheck(_0x4ff0bf,_0x60923b)?_0x4ff0bf[_0x86f6fb(0x13e)]?.[_0x86f6fb(0x137)]():undefined;if(!_0x3db6cc&&!isFreshCheck(_0x4ff0bf,_0x60923b)){const _0x1afc1f=await fetchNpmDistTags();_0x3db6cc=_0x1afc1f?.[_0x86f6fb(0x13e)]?.[_0x86f6fb(0x137)](),await writeUpdateNoticeCache({..._0x4ff0bf,'checkedAt':_0x60923b,'latest':_0x3db6cc,'failed':!_0x3db6cc});}if(!_0x3db6cc||compareSemver(_0x2e9262,_0x3db6cc)>=0x0)return null;if(isRecentlyNotified(_0x4ff0bf,_0x3db6cc,_0x60923b))return null;const _0x1f9fdc=CLI_BIN_NAME+_0x86f6fb(0x146);return await writeUpdateNoticeCache({..._0x4ff0bf,'checkedAt':isFreshCheck(_0x4ff0bf,_0x60923b)?_0x4ff0bf[_0x86f6fb(0x13a)]:_0x60923b,'latest':_0x3db6cc,'failed':![],'lastNotifiedVersion':_0x3db6cc,'lastNotifiedAt':_0x60923b}),{'command':_0x1f9fdc,'current':_0x2e9262,'latest':_0x3db6cc,'url':buildNpmVersionUrl(_0x3db6cc),'message':CLI_BIN_NAME+'\x20'+_0x3db6cc+_0x86f6fb(0x139)+_0x2e9262+_0x86f6fb(0x142)+_0x1f9fdc};}catch{return null;}}
@@ -1 +1 @@
1
- (function(_0x22fe77,_0x768e1f){const _0x5c7954=a130_0x7f4a,_0x33e656=_0x22fe77();while(!![]){try{const _0x3f9688=parseInt(_0x5c7954(0xb9))/0x1+parseInt(_0x5c7954(0xb3))/0x2*(-parseInt(_0x5c7954(0xb7))/0x3)+-parseInt(_0x5c7954(0xaf))/0x4*(-parseInt(_0x5c7954(0xb8))/0x5)+-parseInt(_0x5c7954(0xb0))/0x6+parseInt(_0x5c7954(0xbb))/0x7*(parseInt(_0x5c7954(0xb1))/0x8)+parseInt(_0x5c7954(0xba))/0x9*(parseInt(_0x5c7954(0xb5))/0xa)+-parseInt(_0x5c7954(0xb2))/0xb;if(_0x3f9688===_0x768e1f)break;else _0x33e656['push'](_0x33e656['shift']());}catch(_0x42890e){_0x33e656['push'](_0x33e656['shift']());}}}(a130_0x5022,0x59a8e));function a130_0x7f4a(_0x1a47cc,_0x2f290){_0x1a47cc=_0x1a47cc-0xaf;const _0x50221a=a130_0x5022();let _0x7f4ab0=_0x50221a[_0x1a47cc];return _0x7f4ab0;}import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}export function getCliGitCommit(){const _0x4532dc=a130_0x7f4a,_0x4465ed=String(GIT_COMMIT);return _0x4465ed&&_0x4465ed!==_0x4532dc(0xb4)?_0x4465ed:'';}export function getCliVersionDisplay(){const _0x4c427e=a130_0x7f4a,_0x8edcbb=getCliGitCommit(),_0x2cacdd=BUILD_TIME[_0x4c427e(0xb6)](0x0,0xa);if(!_0x8edcbb||!_0x2cacdd)return VERSION;return VERSION+'\x20('+_0x8edcbb+',\x20'+_0x2cacdd+')';}function a130_0x5022(){const _0x34e23c=['11487322PKekbM','194EjPGEF','unknown','10mGMYcN','slice','12129ZBBNbb','5lEeNSs','509689MpFRll','6485004KyvlSg','7gtbWLU','1638916cyLSkX','1629894AaNxXG','3483152ahhAsW'];a130_0x5022=function(){return _0x34e23c;};return a130_0x5022();}
1
+ (function(_0x305d9c,_0x4920a7){const _0x2a30bb=a130_0x5aa0,_0x590d9b=_0x305d9c();while(!![]){try{const _0x18e40c=parseInt(_0x2a30bb(0xd5))/0x1+parseInt(_0x2a30bb(0xde))/0x2*(-parseInt(_0x2a30bb(0xda))/0x3)+-parseInt(_0x2a30bb(0xdb))/0x4*(parseInt(_0x2a30bb(0xdd))/0x5)+-parseInt(_0x2a30bb(0xd6))/0x6+parseInt(_0x2a30bb(0xd9))/0x7+parseInt(_0x2a30bb(0xd4))/0x8+-parseInt(_0x2a30bb(0xdc))/0x9*(-parseInt(_0x2a30bb(0xd8))/0xa);if(_0x18e40c===_0x4920a7)break;else _0x590d9b['push'](_0x590d9b['shift']());}catch(_0xb75485){_0x590d9b['push'](_0x590d9b['shift']());}}}(a130_0x2456,0xd25ef));import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';function a130_0x2456(){const _0x200137=['unknown','33456KtnQiu','546308RSdSYz','5002596DLfIsW','slice','391480qzSxNz','2802464FlDlnY','3411SzlMLa','64oAbFAu','477OJGcRG','398290zktUXZ','98iIgZIW'];a130_0x2456=function(){return _0x200137;};return a130_0x2456();}export function getCliVersion(){return VERSION;}function a130_0x5aa0(_0x328dbb,_0x5667fd){_0x328dbb=_0x328dbb-0xd3;const _0x245653=a130_0x2456();let _0x5aa032=_0x245653[_0x328dbb];return _0x5aa032;}export function getCliGitCommit(){const _0xb45b8a=a130_0x5aa0,_0x1bc74d=String(GIT_COMMIT);return _0x1bc74d&&_0x1bc74d!==_0xb45b8a(0xd3)?_0x1bc74d:'';}export function getCliVersionDisplay(){const _0x5c111c=a130_0x5aa0,_0x1ca1d2=getCliGitCommit(),_0x4daf6e=BUILD_TIME[_0x5c111c(0xd7)](0x0,0xa);if(!_0x1ca1d2||!_0x4daf6e)return VERSION;return VERSION+'\x20('+_0x1ca1d2+',\x20'+_0x4daf6e+')';}
@@ -1 +1 @@
1
- (function(_0x538318,_0x5dd79d){var _0x202869=a131_0x576b,_0x4ef034=_0x538318();while(!![]){try{var _0xde46f5=-parseInt(_0x202869(0x17a))/0x1+-parseInt(_0x202869(0x17b))/0x2+parseInt(_0x202869(0x185))/0x3*(-parseInt(_0x202869(0x17d))/0x4)+-parseInt(_0x202869(0x178))/0x5*(parseInt(_0x202869(0x183))/0x6)+parseInt(_0x202869(0x17c))/0x7*(-parseInt(_0x202869(0x179))/0x8)+parseInt(_0x202869(0x182))/0x9*(parseInt(_0x202869(0x17f))/0xa)+parseInt(_0x202869(0x181))/0xb*(parseInt(_0x202869(0x184))/0xc);if(_0xde46f5===_0x5dd79d)break;else _0x4ef034['push'](_0x4ef034['shift']());}catch(_0x31118a){_0x4ef034['push'](_0x4ef034['shift']());}}}(a131_0x27ef,0x348f3));function a131_0x576b(_0xb0e06b,_0xe99a40){_0xb0e06b=_0xb0e06b-0x178;var _0x27eff0=a131_0x27ef();var _0x576b6c=_0x27eff0[_0xb0e06b];return _0x576b6c;}export function writeCliSideChannelLine(_0x56bfe8){var _0x157d63=a131_0x576b;process[_0x157d63(0x180)][_0x157d63(0x17e)](_0x56bfe8+'\x0a');}function a131_0x27ef(){var _0x48a91e=['11zKZXAq','2452932qApUUQ','17022WDDzUi','16804644hElqqb','425079xtwYVd','150CyPnVf','112APFDay','182328STLHge','777322GZXtgE','188237tJWLDu','12mwuVue','write','10DPOlyM','stderr'];a131_0x27ef=function(){return _0x48a91e;};return a131_0x27ef();}
1
+ (function(_0xe5d1a7,_0x11f7cc){var _0x1f4c68=a131_0x2d7e,_0x1cfebd=_0xe5d1a7();while(!![]){try{var _0x2137be=parseInt(_0x1f4c68(0xcb))/0x1+-parseInt(_0x1f4c68(0xc5))/0x2*(-parseInt(_0x1f4c68(0xc4))/0x3)+-parseInt(_0x1f4c68(0xca))/0x4+parseInt(_0x1f4c68(0xcc))/0x5+parseInt(_0x1f4c68(0xc9))/0x6*(-parseInt(_0x1f4c68(0xc3))/0x7)+parseInt(_0x1f4c68(0xc8))/0x8+parseInt(_0x1f4c68(0xc6))/0x9*(-parseInt(_0x1f4c68(0xc7))/0xa);if(_0x2137be===_0x11f7cc)break;else _0x1cfebd['push'](_0x1cfebd['shift']());}catch(_0x52e7cf){_0x1cfebd['push'](_0x1cfebd['shift']());}}}(a131_0x4836,0x60d7a));function a131_0x2d7e(_0x42ff90,_0x4ae3ff){_0x42ff90=_0x42ff90-0xc3;var _0x483622=a131_0x4836();var _0x2d7e38=_0x483622[_0x42ff90];return _0x2d7e38;}export function writeCliSideChannelLine(_0x2c0aaa){process['stderr']['write'](_0x2c0aaa+'\x0a');}function a131_0x4836(){var _0x3e4dd6=['335258CGrBwc','114QNOrGh','22808WLSsSK','4634046MHiejW','10fUftTH','4710552NtTouc','60JamFPU','796664shUuMW','158225FBcDZd','2046350BVNsdP'];a131_0x4836=function(){return _0x3e4dd6;};return a131_0x4836();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/lovrabet-cli",
3
- "version": "2.1.23-beta.4",
3
+ "version": "2.1.23",
4
4
  "description": "Runtime CLI for Lovrabet apps, datasets, SQL, BFF, skills, and AI agent workflows.",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [