@lovrabet/lovrabet-cli 2.1.23-beta.3 → 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 (136) 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.d.ts +2 -8
  35. package/lib/commands/logs/index.js +1 -1
  36. package/lib/commands/ocr/index.js +1 -1
  37. package/lib/commands/personal-bff/index.js +1 -1
  38. package/lib/commands/registry.js +1 -1
  39. package/lib/commands/schedule/index.js +1 -1
  40. package/lib/commands/schema.js +1 -1
  41. package/lib/commands/service/dynamic.js +1 -1
  42. package/lib/commands/service/function-name-adapter.js +1 -1
  43. package/lib/commands/service/index.js +1 -1
  44. package/lib/commands/service/registry.js +1 -1
  45. package/lib/commands/skill/commands/create.js +1 -1
  46. package/lib/commands/skill/commands/diagram.js +1 -1
  47. package/lib/commands/skill/commands/install.js +1 -1
  48. package/lib/commands/skill/commands/list.js +1 -1
  49. package/lib/commands/skill/commands/push.js +1 -1
  50. package/lib/commands/skill/commands/validate.js +1 -1
  51. package/lib/commands/skill/diagram.d.ts +6 -0
  52. package/lib/commands/skill/diagram.js +1 -1
  53. package/lib/commands/skill/flags.js +1 -1
  54. package/lib/commands/skill/index.js +1 -1
  55. package/lib/commands/skill/manifest-helpers.js +1 -1
  56. package/lib/commands/skill/push-execute.js +1 -1
  57. package/lib/commands/skill/push-flow-helpers.js +1 -1
  58. package/lib/commands/skill/push-retarget.js +1 -1
  59. package/lib/commands/skill/scopes.js +1 -1
  60. package/lib/commands/skill/summary.js +1 -1
  61. package/lib/commands/skill/templates.js +1 -1
  62. package/lib/commands/skill/validate.js +1 -1
  63. package/lib/commands/sql/detail.js +1 -1
  64. package/lib/commands/sql/exec.js +1 -1
  65. package/lib/commands/sql/index.js +1 -1
  66. package/lib/commands/update.js +1 -1
  67. package/lib/commands/workspace/index.js +1 -1
  68. package/lib/config/schema.js +1 -1
  69. package/lib/constant/app.js +1 -1
  70. package/lib/constant/auth-mode.js +1 -1
  71. package/lib/constant/cli.js +1 -1
  72. package/lib/constant/defaults.js +1 -1
  73. package/lib/constant/distribution.js +1 -1
  74. package/lib/constant/domain.js +1 -1
  75. package/lib/constant/env.js +1 -1
  76. package/lib/constant/output.js +1 -1
  77. package/lib/constant/product.js +1 -1
  78. package/lib/constant/risk.js +1 -1
  79. package/lib/constant/url.js +1 -1
  80. package/lib/context.js +1 -1
  81. package/lib/core/api-client.js +1 -1
  82. package/lib/core/db-resolver.js +1 -1
  83. package/lib/core/sdk-client.js +1 -1
  84. package/lib/errors.js +1 -1
  85. package/lib/framework/build-all-flags.js +1 -1
  86. package/lib/framework/dryrun.js +1 -1
  87. package/lib/framework/flags.js +1 -1
  88. package/lib/framework/help.js +1 -1
  89. package/lib/framework/index.js +1 -1
  90. package/lib/framework/output.js +1 -1
  91. package/lib/framework/preparse.js +1 -1
  92. package/lib/framework/rate-limit.js +1 -1
  93. package/lib/framework/raw-flags.js +1 -1
  94. package/lib/framework/response.js +1 -1
  95. package/lib/framework/runner-confirmation.js +1 -1
  96. package/lib/framework/runner-error.js +1 -1
  97. package/lib/framework/runner.js +1 -1
  98. package/lib/framework/schema-export.js +1 -1
  99. package/lib/framework/service-order.js +1 -1
  100. package/lib/framework/types.js +1 -1
  101. package/lib/generated/build-info.d.ts +4 -4
  102. package/lib/generated/build-info.js +1 -1
  103. package/lib/help.js +1 -1
  104. package/lib/runtime/confirmation.js +1 -1
  105. package/lib/runtime/event.js +1 -1
  106. package/lib/runtime/index.js +1 -1
  107. package/lib/runtime/queue.js +1 -1
  108. package/lib/runtime/resolve.js +1 -1
  109. package/lib/skills/npx-skills-add.js +1 -1
  110. package/lib/skills/runtime-skill-sync/constants.js +1 -1
  111. package/lib/skills/runtime-skill-sync/fs-utils.js +1 -1
  112. package/lib/skills/runtime-skill-sync/hashing.js +1 -1
  113. package/lib/skills/runtime-skill-sync/install-target.js +1 -1
  114. package/lib/skills/runtime-skill-sync/links.js +1 -1
  115. package/lib/skills/runtime-skill-sync/list-local.js +1 -1
  116. package/lib/skills/runtime-skill-sync/local-files.d.ts +4 -1
  117. package/lib/skills/runtime-skill-sync/local-files.js +1 -1
  118. package/lib/skills/runtime-skill-sync/materialize.js +1 -1
  119. package/lib/skills/runtime-skill-sync/metadata.js +1 -1
  120. package/lib/skills/runtime-skill-sync/paths.js +1 -1
  121. package/lib/skills/runtime-skill-sync/push.d.ts +1 -0
  122. package/lib/skills/runtime-skill-sync/push.js +1 -1
  123. package/lib/skills/runtime-skill-sync/scopes.js +1 -1
  124. package/lib/skills/runtime-skill-sync/zip-codec.js +1 -1
  125. package/lib/skills/runtime-skill-sync/zip-package.js +1 -1
  126. package/lib/skills/runtime-skill-sync.js +1 -1
  127. package/lib/skills/skill-presence.js +1 -1
  128. package/lib/utils/apply-jq-filter.js +1 -1
  129. package/lib/utils/logger.js +1 -1
  130. package/lib/utils/lossless-json.js +1 -1
  131. package/lib/utils/params.js +1 -1
  132. package/lib/utils/platform.js +1 -1
  133. package/lib/utils/update-notice.js +1 -1
  134. package/lib/utils/version.js +1 -1
  135. package/lib/utils/write-cli-side-channel.js +1 -1
  136. package/package.json +1 -1
@@ -1 +1 @@
1
- (function(_0x531e94,_0x59f798){const _0x8c066d=a129_0x16a1,_0x293af1=_0x531e94();while(!![]){try{const _0x360d6b=-parseInt(_0x8c066d(0x12a))/0x1+-parseInt(_0x8c066d(0x13d))/0x2*(parseInt(_0x8c066d(0x131))/0x3)+parseInt(_0x8c066d(0x128))/0x4*(-parseInt(_0x8c066d(0x139))/0x5)+-parseInt(_0x8c066d(0x12c))/0x6+parseInt(_0x8c066d(0x133))/0x7*(-parseInt(_0x8c066d(0x127))/0x8)+parseInt(_0x8c066d(0x13a))/0x9+parseInt(_0x8c066d(0x129))/0xa*(parseInt(_0x8c066d(0x136))/0xb);if(_0x360d6b===_0x59f798)break;else _0x293af1['push'](_0x293af1['shift']());}catch(_0x4e00ea){_0x293af1['push'](_0x293af1['shift']());}}}(a129_0x4c8b,0xc503b));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(_0x1363ab){const _0x1297ea=a129_0x16a1,_0x47bdb3=_0x1363ab[_0x1297ea(0x126)]()[_0x1297ea(0x132)](/^(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z.-]+))?$/);if(!_0x47bdb3)return null;return{'major':Number(_0x47bdb3[0x1]),'minor':Number(_0x47bdb3[0x2]),'patch':Number(_0x47bdb3[0x3]),'prerelease':_0x47bdb3[0x4]};}function a129_0x4c8b(){const _0x550d55=['4140PFrpES','match','7wdfPFx','json','fromEntries','353265ZIjTWo','checkedAt','\x20update','5DiCtMq','11463318plmCMh','object','yes','2324pHVCmQ','string','lastNotifiedAt','/v/','.cache','timeout','prerelease','lastNotifiedVersion','utf8','now','toLowerCase','latest','trim','557104llNBlM','2079800gYFdAb','1180FDPyNN','1408252knxqag','/dist-tags','3929406wTpABu','https://www.npmjs.com/package/','minor','Invalid\x20semver','filter'];a129_0x4c8b=function(){return _0x550d55;};return a129_0x4c8b();}function a129_0x16a1(_0x3dfcc5,_0x32f96b){_0x3dfcc5=_0x3dfcc5-0x122;const _0x4c8bc3=a129_0x4c8b();let _0x16a19a=_0x4c8bc3[_0x3dfcc5];return _0x16a19a;}function compareSemver(_0x457263,_0x1bb5fd){const _0x33acf8=a129_0x16a1,_0x5571ef=parseSemver(_0x457263),_0x62f0bb=parseSemver(_0x1bb5fd);if(!_0x5571ef||!_0x62f0bb)throw new Error(_0x33acf8(0x12f));for(const _0x2e4f7d of['major',_0x33acf8(0x12e),'patch']){if(_0x5571ef[_0x2e4f7d]<_0x62f0bb[_0x2e4f7d])return-0x1;if(_0x5571ef[_0x2e4f7d]>_0x62f0bb[_0x2e4f7d])return 0x1;}if(!_0x5571ef[_0x33acf8(0x143)]&&!_0x62f0bb[_0x33acf8(0x143)])return 0x0;if(!_0x5571ef[_0x33acf8(0x143)])return 0x1;if(!_0x62f0bb[_0x33acf8(0x143)])return-0x1;if(_0x5571ef[_0x33acf8(0x143)]===_0x62f0bb[_0x33acf8(0x143)])return 0x0;return _0x5571ef['prerelease']<_0x62f0bb[_0x33acf8(0x143)]?-0x1:0x1;}function isUpdateNoticeDisabled(){const _0x4b5d48=a129_0x16a1,_0x5bc620=process.env.LOVRABET_NO_UPDATE_NOTICE?.[_0x4b5d48(0x126)]()[_0x4b5d48(0x124)]();return _0x5bc620==='1'||_0x5bc620==='true'||_0x5bc620===_0x4b5d48(0x13c);}function cacheRoot(){const _0x5c1549=a129_0x16a1;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x5c1549(0x141));}export function getUpdateNoticeCachePath(){return join(cacheRoot(),'lovrabet-cli','update-check.json');}async function readUpdateNoticeCache(){const _0x58ffdb=a129_0x16a1;try{const _0x3b34b9=await readFile(getUpdateNoticeCachePath(),'utf8'),_0x541f7f=JSON['parse'](_0x3b34b9);if(!_0x541f7f||typeof _0x541f7f!==_0x58ffdb(0x13b))return{};return _0x541f7f;}catch{return{};}}async function writeUpdateNoticeCache(_0x31ad65){const _0x21f54a=a129_0x16a1;try{const _0x33f355=getUpdateNoticeCachePath();await mkdir(dirname(_0x33f355),{'recursive':!![]}),await writeFile(_0x33f355,JSON['stringify'](_0x31ad65,null,0x2)+'\x0a',_0x21f54a(0x122));}catch{}}function isFreshCheck(_0x4b859a,_0x28ef3e){const _0x24ae77=a129_0x16a1;return typeof _0x4b859a[_0x24ae77(0x137)]==='number'&&_0x28ef3e-_0x4b859a['checkedAt']<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x599a5f,_0x3cfaa5,_0x467024){const _0x182c16=a129_0x16a1;return _0x599a5f[_0x182c16(0x144)]===_0x3cfaa5&&typeof _0x599a5f[_0x182c16(0x13f)]==='number'&&_0x467024-_0x599a5f['lastNotifiedAt']<UPDATE_NOTICE_TTL_MS;}async function fetchNpmDistTags(_0x2a5d1a=0x5dc){const _0x23d78f=a129_0x16a1;try{const _0x3f4776=NPM_REGISTRY_BASE_URL+'/-/package/'+encodeURIComponent(LOVRABET_NPM_PACKAGE_NAME)+_0x23d78f(0x12b),_0x15c7d3=await fetch(_0x3f4776,{'signal':AbortSignal[_0x23d78f(0x142)](_0x2a5d1a)});if(!_0x15c7d3['ok'])return null;const _0x5e37cd=await _0x15c7d3[_0x23d78f(0x134)]();if(!_0x5e37cd||typeof _0x5e37cd!==_0x23d78f(0x13b))return null;return Object[_0x23d78f(0x135)](Object['entries'](_0x5e37cd)[_0x23d78f(0x130)](([,_0x1a64ad])=>typeof _0x1a64ad===_0x23d78f(0x13e)&&_0x1a64ad[_0x23d78f(0x126)]())['map'](([_0xca722c,_0x1f29f5])=>[_0xca722c,String(_0x1f29f5)[_0x23d78f(0x126)]()]));}catch{return null;}}export function buildNpmVersionUrl(_0x476158){const _0x215e1b=a129_0x16a1;return _0x215e1b(0x12d)+LOVRABET_NPM_PACKAGE_NAME+_0x215e1b(0x140)+_0x476158;}export async function resolveLatestUpdateNotice(){const _0x56635c=a129_0x16a1;if(isUpdateNoticeDisabled())return null;try{const _0x20d5ea=Date[_0x56635c(0x123)](),_0x305ced=getCliVersion(),_0x309f72=await readUpdateNoticeCache();let _0x3e9754=isFreshCheck(_0x309f72,_0x20d5ea)?_0x309f72[_0x56635c(0x125)]?.[_0x56635c(0x126)]():undefined;if(!_0x3e9754&&!isFreshCheck(_0x309f72,_0x20d5ea)){const _0x1130f4=await fetchNpmDistTags();_0x3e9754=_0x1130f4?.['latest']?.['trim'](),await writeUpdateNoticeCache({..._0x309f72,'checkedAt':_0x20d5ea,'latest':_0x3e9754,'failed':!_0x3e9754});}if(!_0x3e9754||compareSemver(_0x305ced,_0x3e9754)>=0x0)return null;if(isRecentlyNotified(_0x309f72,_0x3e9754,_0x20d5ea))return null;const _0x3210aa=CLI_BIN_NAME+_0x56635c(0x138);return await writeUpdateNoticeCache({..._0x309f72,'checkedAt':isFreshCheck(_0x309f72,_0x20d5ea)?_0x309f72['checkedAt']:_0x20d5ea,'latest':_0x3e9754,'failed':![],'lastNotifiedVersion':_0x3e9754,'lastNotifiedAt':_0x20d5ea}),{'command':_0x3210aa,'current':_0x305ced,'latest':_0x3e9754,'url':buildNpmVersionUrl(_0x3e9754),'message':CLI_BIN_NAME+'\x20'+_0x3e9754+'\x20available,\x20current\x20'+_0x305ced+',\x20run:\x20'+_0x3210aa};}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 a130_0x25d1(_0x2dcc53,_0x5a64a3){_0x2dcc53=_0x2dcc53-0x196;const _0x1a9b24=a130_0x1a9b();let _0x25d1d4=_0x1a9b24[_0x2dcc53];return _0x25d1d4;}(function(_0x2ca60e,_0x27847e){const _0xf03cee=a130_0x25d1,_0x146554=_0x2ca60e();while(!![]){try{const _0x581b25=-parseInt(_0xf03cee(0x19b))/0x1*(-parseInt(_0xf03cee(0x196))/0x2)+-parseInt(_0xf03cee(0x19f))/0x3+parseInt(_0xf03cee(0x1a0))/0x4+-parseInt(_0xf03cee(0x197))/0x5+parseInt(_0xf03cee(0x19d))/0x6+-parseInt(_0xf03cee(0x199))/0x7+-parseInt(_0xf03cee(0x19e))/0x8*(-parseInt(_0xf03cee(0x19a))/0x9);if(_0x581b25===_0x27847e)break;else _0x146554['push'](_0x146554['shift']());}catch(_0x134f3d){_0x146554['push'](_0x146554['shift']());}}}(a130_0x1a9b,0xb0e4c));import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}export function getCliGitCommit(){const _0x2d9cbf=a130_0x25d1,_0x12dc0d=String(GIT_COMMIT);return _0x12dc0d&&_0x12dc0d!==_0x2d9cbf(0x198)?_0x12dc0d:'';}function a130_0x1a9b(){const _0x4494bf=['4841832bUwHZD','8uKKCpL','1041957BdYCDK','2927648KdrZAC','3266AyGNWo','5044085NThVgl','unknown','2574250RZcQoC','6966171bvruQm','83uYqyBh','slice'];a130_0x1a9b=function(){return _0x4494bf;};return a130_0x1a9b();}export function getCliVersionDisplay(){const _0x2ac1ea=a130_0x25d1,_0x4170d9=getCliGitCommit(),_0x4a32b4=BUILD_TIME[_0x2ac1ea(0x19c)](0x0,0xa);if(!_0x4170d9||!_0x4a32b4)return VERSION;return VERSION+'\x20('+_0x4170d9+',\x20'+_0x4a32b4+')';}
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 a131_0x3090(_0x4dff65,_0x25b48f){_0x4dff65=_0x4dff65-0x167;var _0x4974ea=a131_0x4974();var _0x309041=_0x4974ea[_0x4dff65];return _0x309041;}function a131_0x4974(){var _0x5c4ac2=['5071780UQcYjG','8pWjwUz','30eQzMJy','1012102jNZmfL','146935cYwmsN','12184713IDMQKQ','5586160sEAXaM','write','10NodgIB','stderr','42657aawvkm','159166VVmSHF'];a131_0x4974=function(){return _0x5c4ac2;};return a131_0x4974();}(function(_0x4c5c23,_0x3304ce){var _0x36c622=a131_0x3090,_0x326aae=_0x4c5c23();while(!![]){try{var _0x49a9b3=-parseInt(_0x36c622(0x16c))/0x1+-parseInt(_0x36c622(0x170))/0x2+parseInt(_0x36c622(0x16b))/0x3*(parseInt(_0x36c622(0x16e))/0x4)+-parseInt(_0x36c622(0x171))/0x5*(parseInt(_0x36c622(0x16f))/0x6)+-parseInt(_0x36c622(0x16d))/0x7+parseInt(_0x36c622(0x167))/0x8+parseInt(_0x36c622(0x172))/0x9*(parseInt(_0x36c622(0x169))/0xa);if(_0x49a9b3===_0x3304ce)break;else _0x326aae['push'](_0x326aae['shift']());}catch(_0x5e94cb){_0x326aae['push'](_0x326aae['shift']());}}}(a131_0x4974,0x84c81));export function writeCliSideChannelLine(_0x28566a){var _0x183e24=a131_0x3090;process[_0x183e24(0x16a)][_0x183e24(0x168)](_0x28566a+'\x0a');}
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.3",
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": [