@lovrabet/lovrabet-cli 2.1.22 → 2.1.23-beta.2

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 (140) 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.d.ts +4 -8
  5. package/lib/commands/app/definitions.js +1 -1
  6. package/lib/commands/app/eligibility.js +1 -1
  7. package/lib/commands/app/mock-loader.js +1 -1
  8. package/lib/commands/app/remote-source.js +1 -1
  9. package/lib/commands/app/shared.d.ts +1 -16
  10. package/lib/commands/app/shared.js +1 -1
  11. package/lib/commands/app-config/get.js +1 -1
  12. package/lib/commands/app-config/index.js +1 -1
  13. package/lib/commands/artifact/index.js +1 -1
  14. package/lib/commands/auth/device.js +1 -1
  15. package/lib/commands/auth/index.d.ts +2 -2
  16. package/lib/commands/auth/index.js +1 -1
  17. package/lib/commands/auth/prompt.js +1 -1
  18. package/lib/commands/bff/detail.js +1 -1
  19. package/lib/commands/bff/exec.js +1 -1
  20. package/lib/commands/bff/index.js +1 -1
  21. package/lib/commands/cli-skill/index.js +1 -1
  22. package/lib/commands/common/config-policy.d.ts +4 -8
  23. package/lib/commands/common/config-policy.js +1 -1
  24. package/lib/commands/common/constraints.js +1 -1
  25. package/lib/commands/common/flags.js +1 -1
  26. package/lib/commands/common/local-file.js +1 -1
  27. package/lib/commands/config/definitions.js +1 -1
  28. package/lib/commands/config/shared.js +1 -1
  29. package/lib/commands/data/index.js +1 -1
  30. package/lib/commands/dataset/detail.js +1 -1
  31. package/lib/commands/dataset/index.js +1 -1
  32. package/lib/commands/dataset/list.js +1 -1
  33. package/lib/commands/dataset/sdk-doc.js +1 -1
  34. package/lib/commands/doctor.js +1 -1
  35. package/lib/commands/file/index.js +1 -1
  36. package/lib/commands/init.d.ts +6 -24
  37. package/lib/commands/init.js +1 -1
  38. package/lib/commands/kb/index.js +1 -1
  39. package/lib/commands/logs/index.js +1 -1
  40. package/lib/commands/ocr/index.js +1 -1
  41. package/lib/commands/personal-bff/index.js +1 -1
  42. package/lib/commands/registry.d.ts +7 -0
  43. package/lib/commands/registry.js +1 -1
  44. package/lib/commands/schedule/index.js +1 -1
  45. package/lib/commands/schema.js +1 -1
  46. package/lib/commands/service/dynamic.js +1 -1
  47. package/lib/commands/service/function-name-adapter.js +1 -1
  48. package/lib/commands/service/index.js +1 -1
  49. package/lib/commands/service/registry.js +1 -1
  50. package/lib/commands/skill/commands/create.js +1 -1
  51. package/lib/commands/skill/commands/diagram.js +1 -1
  52. package/lib/commands/skill/commands/install.js +1 -1
  53. package/lib/commands/skill/commands/list.js +1 -1
  54. package/lib/commands/skill/commands/push.js +1 -1
  55. package/lib/commands/skill/commands/validate.js +1 -1
  56. package/lib/commands/skill/diagram.js +1 -1
  57. package/lib/commands/skill/flags.js +1 -1
  58. package/lib/commands/skill/index.js +1 -1
  59. package/lib/commands/skill/manifest-helpers.js +1 -1
  60. package/lib/commands/skill/push-execute.js +1 -1
  61. package/lib/commands/skill/push-flow-helpers.js +1 -1
  62. package/lib/commands/skill/push-retarget.js +1 -1
  63. package/lib/commands/skill/scopes.js +1 -1
  64. package/lib/commands/skill/summary.js +1 -1
  65. package/lib/commands/skill/templates.js +1 -1
  66. package/lib/commands/skill/validate.js +1 -1
  67. package/lib/commands/sql/detail.js +1 -1
  68. package/lib/commands/sql/exec.js +1 -1
  69. package/lib/commands/sql/index.js +1 -1
  70. package/lib/commands/update.js +1 -1
  71. package/lib/commands/workspace/index.js +1 -1
  72. package/lib/config/schema.js +1 -1
  73. package/lib/constant/app.js +1 -1
  74. package/lib/constant/auth-mode.js +1 -1
  75. package/lib/constant/cli.js +1 -1
  76. package/lib/constant/defaults.js +1 -1
  77. package/lib/constant/distribution.js +1 -1
  78. package/lib/constant/domain.js +1 -1
  79. package/lib/constant/env.js +1 -1
  80. package/lib/constant/output.js +1 -1
  81. package/lib/constant/product.js +1 -1
  82. package/lib/constant/risk.js +1 -1
  83. package/lib/constant/url.js +1 -1
  84. package/lib/context.d.ts +5 -5
  85. package/lib/context.js +1 -1
  86. package/lib/core/api-client.js +1 -1
  87. package/lib/core/db-resolver.js +1 -1
  88. package/lib/core/sdk-client.js +1 -1
  89. package/lib/errors.js +1 -1
  90. package/lib/framework/build-all-flags.js +1 -1
  91. package/lib/framework/dryrun.js +1 -1
  92. package/lib/framework/flags.js +1 -1
  93. package/lib/framework/help.js +1 -1
  94. package/lib/framework/index.js +1 -1
  95. package/lib/framework/output.js +1 -1
  96. package/lib/framework/preparse.js +1 -1
  97. package/lib/framework/rate-limit.js +1 -1
  98. package/lib/framework/raw-flags.js +1 -1
  99. package/lib/framework/response.js +1 -1
  100. package/lib/framework/runner-confirmation.js +1 -1
  101. package/lib/framework/runner-error.js +1 -1
  102. package/lib/framework/runner.js +1 -1
  103. package/lib/framework/schema-export.js +1 -1
  104. package/lib/framework/service-order.js +1 -1
  105. package/lib/framework/types.js +1 -1
  106. package/lib/generated/build-info.d.ts +4 -4
  107. package/lib/generated/build-info.js +1 -1
  108. package/lib/help.js +1 -1
  109. package/lib/runtime/confirmation.js +1 -1
  110. package/lib/runtime/event.js +1 -1
  111. package/lib/runtime/index.d.ts +1 -1
  112. package/lib/runtime/index.js +1 -1
  113. package/lib/runtime/queue.d.ts +2 -1
  114. package/lib/runtime/queue.js +1 -1
  115. package/lib/runtime/resolve.js +1 -1
  116. package/lib/skills/npx-skills-add.js +1 -1
  117. package/lib/skills/runtime-skill-sync/constants.js +1 -1
  118. package/lib/skills/runtime-skill-sync/fs-utils.js +1 -1
  119. package/lib/skills/runtime-skill-sync/hashing.js +1 -1
  120. package/lib/skills/runtime-skill-sync/install-target.js +1 -1
  121. package/lib/skills/runtime-skill-sync/links.js +1 -1
  122. package/lib/skills/runtime-skill-sync/list-local.js +1 -1
  123. package/lib/skills/runtime-skill-sync/local-files.js +1 -1
  124. package/lib/skills/runtime-skill-sync/materialize.js +1 -1
  125. package/lib/skills/runtime-skill-sync/metadata.js +1 -1
  126. package/lib/skills/runtime-skill-sync/paths.js +1 -1
  127. package/lib/skills/runtime-skill-sync/push.js +1 -1
  128. package/lib/skills/runtime-skill-sync/scopes.js +1 -1
  129. package/lib/skills/runtime-skill-sync/zip-codec.js +1 -1
  130. package/lib/skills/runtime-skill-sync/zip-package.js +1 -1
  131. package/lib/skills/runtime-skill-sync.js +1 -1
  132. package/lib/utils/apply-jq-filter.js +1 -1
  133. package/lib/utils/logger.js +1 -1
  134. package/lib/utils/lossless-json.js +1 -1
  135. package/lib/utils/params.js +1 -1
  136. package/lib/utils/platform.js +1 -1
  137. package/lib/utils/update-notice.js +1 -1
  138. package/lib/utils/version.js +1 -1
  139. package/lib/utils/write-cli-side-channel.js +1 -1
  140. package/package.json +1 -1
@@ -1 +1 @@
1
- (function(_0x28b4d9,_0x2624b9){const _0x1963da=a128_0x4b7c,_0x3cc709=_0x28b4d9();while(!![]){try{const _0x552676=-parseInt(_0x1963da(0x1fc))/0x1+parseInt(_0x1963da(0x1fa))/0x2*(-parseInt(_0x1963da(0x1e9))/0x3)+parseInt(_0x1963da(0x1f5))/0x4+-parseInt(_0x1963da(0x1ed))/0x5+-parseInt(_0x1963da(0x1f1))/0x6+-parseInt(_0x1963da(0x1e7))/0x7+parseInt(_0x1963da(0x1dd))/0x8;if(_0x552676===_0x2624b9)break;else _0x3cc709['push'](_0x3cc709['shift']());}catch(_0x48f581){_0x3cc709['push'](_0x3cc709['shift']());}}}(a128_0xff7a,0xcba6e));import{mkdir,readFile,writeFile}from'node:fs/promises';function a128_0x4b7c(_0x13424a,_0x4848d5){_0x13424a=_0x13424a-0x1dd;const _0xff7a85=a128_0xff7a();let _0x4b7cd6=_0xff7a85[_0x13424a];return _0x4b7cd6;}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(_0x4ac648){const _0x5b72fc=a128_0x4b7c,_0x53b215=_0x4ac648[_0x5b72fc(0x1fb)]()['match'](/^(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z.-]+))?$/);if(!_0x53b215)return null;return{'major':Number(_0x53b215[0x1]),'minor':Number(_0x53b215[0x2]),'patch':Number(_0x53b215[0x3]),'prerelease':_0x53b215[0x4]};}function compareSemver(_0x229755,_0x5bf536){const _0x5766cc=a128_0x4b7c,_0x3debfb=parseSemver(_0x229755),_0x3faac8=parseSemver(_0x5bf536);if(!_0x3debfb||!_0x3faac8)throw new Error(_0x5766cc(0x1f9));for(const _0x4ef783 of['major',_0x5766cc(0x1e3),_0x5766cc(0x1fe)]){if(_0x3debfb[_0x4ef783]<_0x3faac8[_0x4ef783])return-0x1;if(_0x3debfb[_0x4ef783]>_0x3faac8[_0x4ef783])return 0x1;}if(!_0x3debfb[_0x5766cc(0x1f7)]&&!_0x3faac8[_0x5766cc(0x1f7)])return 0x0;if(!_0x3debfb[_0x5766cc(0x1f7)])return 0x1;if(!_0x3faac8['prerelease'])return-0x1;if(_0x3debfb['prerelease']===_0x3faac8[_0x5766cc(0x1f7)])return 0x0;return _0x3debfb[_0x5766cc(0x1f7)]<_0x3faac8[_0x5766cc(0x1f7)]?-0x1:0x1;}function isUpdateNoticeDisabled(){const _0x5b9217=a128_0x4b7c,_0x5bba4d=process.env.LOVRABET_NO_UPDATE_NOTICE?.[_0x5b9217(0x1fb)]()[_0x5b9217(0x1de)]();return _0x5bba4d==='1'||_0x5bba4d==='true'||_0x5bba4d===_0x5b9217(0x1f0);}function cacheRoot(){const _0x42d387=a128_0x4b7c;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x42d387(0x1ec));}export function getUpdateNoticeCachePath(){const _0x1d00d3=a128_0x4b7c;return join(cacheRoot(),'lovrabet-cli',_0x1d00d3(0x1e1));}async function readUpdateNoticeCache(){const _0x3e5d34=a128_0x4b7c;try{const _0x180842=await readFile(getUpdateNoticeCachePath(),_0x3e5d34(0x1ef)),_0x341cbc=JSON[_0x3e5d34(0x200)](_0x180842);if(!_0x341cbc||typeof _0x341cbc!==_0x3e5d34(0x1f2))return{};return _0x341cbc;}catch{return{};}}async function writeUpdateNoticeCache(_0x45ea16){const _0x39354b=a128_0x4b7c;try{const _0x523131=getUpdateNoticeCachePath();await mkdir(dirname(_0x523131),{'recursive':!![]}),await writeFile(_0x523131,JSON[_0x39354b(0x1e0)](_0x45ea16,null,0x2)+'\x0a',_0x39354b(0x1ef));}catch{}}function a128_0xff7a(){const _0x456cc8=['5510880NHQCCe','checkedAt','utf8','yes','8665902VrOErB','object','timeout','/-/package/','1990844IHuxiv','/dist-tags','prerelease','map','Invalid\x20semver','30CQIqSX','trim','1454673DivMkX','entries','patch','latest','parse','50241936NocALZ','toLowerCase','now','stringify','update-check.json','filter','minor','\x20available,\x20current\x20',',\x20run:\x20','lastNotifiedVersion','6971223hBjXWn','string','189348ATmPFd','lastNotifiedAt','https://www.npmjs.com/package/','.cache'];a128_0xff7a=function(){return _0x456cc8;};return a128_0xff7a();}function isFreshCheck(_0x3961cd,_0x550810){const _0x2fd3d5=a128_0x4b7c;return typeof _0x3961cd['checkedAt']==='number'&&_0x550810-_0x3961cd[_0x2fd3d5(0x1ee)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x1bff64,_0xe052ac,_0x4962de){const _0x3caefe=a128_0x4b7c;return _0x1bff64[_0x3caefe(0x1e6)]===_0xe052ac&&typeof _0x1bff64[_0x3caefe(0x1ea)]==='number'&&_0x4962de-_0x1bff64['lastNotifiedAt']<UPDATE_NOTICE_TTL_MS;}async function fetchNpmDistTags(_0x4dd471=0x5dc){const _0x536eac=a128_0x4b7c;try{const _0x2ef90e=NPM_REGISTRY_BASE_URL+_0x536eac(0x1f4)+encodeURIComponent(LOVRABET_NPM_PACKAGE_NAME)+_0x536eac(0x1f6),_0x3d04cb=await fetch(_0x2ef90e,{'signal':AbortSignal[_0x536eac(0x1f3)](_0x4dd471)});if(!_0x3d04cb['ok'])return null;const _0x38dbf9=await _0x3d04cb['json']();if(!_0x38dbf9||typeof _0x38dbf9!==_0x536eac(0x1f2))return null;return Object['fromEntries'](Object[_0x536eac(0x1fd)](_0x38dbf9)[_0x536eac(0x1e2)](([,_0x495cf8])=>typeof _0x495cf8===_0x536eac(0x1e8)&&_0x495cf8[_0x536eac(0x1fb)]())[_0x536eac(0x1f8)](([_0x1b3916,_0x260a02])=>[_0x1b3916,String(_0x260a02)['trim']()]));}catch{return null;}}export function buildNpmVersionUrl(_0x4aff97){const _0x54a67=a128_0x4b7c;return _0x54a67(0x1eb)+LOVRABET_NPM_PACKAGE_NAME+'/v/'+_0x4aff97;}export async function resolveLatestUpdateNotice(){const _0x5eca43=a128_0x4b7c;if(isUpdateNoticeDisabled())return null;try{const _0x4ca4d0=Date[_0x5eca43(0x1df)](),_0x394ec9=getCliVersion(),_0xc2de73=await readUpdateNoticeCache();let _0x571d33=isFreshCheck(_0xc2de73,_0x4ca4d0)?_0xc2de73[_0x5eca43(0x1ff)]?.[_0x5eca43(0x1fb)]():undefined;if(!_0x571d33&&!isFreshCheck(_0xc2de73,_0x4ca4d0)){const _0x1b33cc=await fetchNpmDistTags();_0x571d33=_0x1b33cc?.[_0x5eca43(0x1ff)]?.[_0x5eca43(0x1fb)](),await writeUpdateNoticeCache({..._0xc2de73,'checkedAt':_0x4ca4d0,'latest':_0x571d33,'failed':!_0x571d33});}if(!_0x571d33||compareSemver(_0x394ec9,_0x571d33)>=0x0)return null;if(isRecentlyNotified(_0xc2de73,_0x571d33,_0x4ca4d0))return null;const _0x3c443e=CLI_BIN_NAME+'\x20update';return await writeUpdateNoticeCache({..._0xc2de73,'checkedAt':isFreshCheck(_0xc2de73,_0x4ca4d0)?_0xc2de73['checkedAt']:_0x4ca4d0,'latest':_0x571d33,'failed':![],'lastNotifiedVersion':_0x571d33,'lastNotifiedAt':_0x4ca4d0}),{'command':_0x3c443e,'current':_0x394ec9,'latest':_0x571d33,'url':buildNpmVersionUrl(_0x571d33),'message':CLI_BIN_NAME+'\x20'+_0x571d33+_0x5eca43(0x1e4)+_0x394ec9+_0x5eca43(0x1e5)+_0x3c443e};}catch{return null;}}
1
+ (function(_0x1eb5fd,_0x48f76e){const _0x5667b7=a128_0x11e5,_0x5eb017=_0x1eb5fd();while(!![]){try{const _0x1b4c93=parseInt(_0x5667b7(0xe1))/0x1*(-parseInt(_0x5667b7(0xd6))/0x2)+parseInt(_0x5667b7(0xdf))/0x3*(-parseInt(_0x5667b7(0xe7))/0x4)+parseInt(_0x5667b7(0xe4))/0x5*(-parseInt(_0x5667b7(0xe9))/0x6)+parseInt(_0x5667b7(0xde))/0x7*(parseInt(_0x5667b7(0xd4))/0x8)+parseInt(_0x5667b7(0xec))/0x9+parseInt(_0x5667b7(0xdb))/0xa*(parseInt(_0x5667b7(0xdc))/0xb)+parseInt(_0x5667b7(0xf6))/0xc;if(_0x1b4c93===_0x48f76e)break;else _0x5eb017['push'](_0x5eb017['shift']());}catch(_0x2afb42){_0x5eb017['push'](_0x5eb017['shift']());}}}(a128_0x3fd2,0x769ed));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';function a128_0x11e5(_0x82f226,_0x10c349){_0x82f226=_0x82f226-0xd3;const _0x3fd260=a128_0x3fd2();let _0x11e5dd=_0x3fd260[_0x82f226];return _0x11e5dd;}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(_0x52056a){const _0x5ddd7a=a128_0x11e5,_0x1b2a69=_0x52056a[_0x5ddd7a(0xed)]()[_0x5ddd7a(0xf1)](/^(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z.-]+))?$/);if(!_0x1b2a69)return null;return{'major':Number(_0x1b2a69[0x1]),'minor':Number(_0x1b2a69[0x2]),'patch':Number(_0x1b2a69[0x3]),'prerelease':_0x1b2a69[0x4]};}function compareSemver(_0x8f09e9,_0x3f3926){const _0x176db1=a128_0x11e5,_0x5a55b1=parseSemver(_0x8f09e9),_0x4ea2d1=parseSemver(_0x3f3926);if(!_0x5a55b1||!_0x4ea2d1)throw new Error(_0x176db1(0xfb));for(const _0x19d4e9 of['major',_0x176db1(0xf5),_0x176db1(0xe3)]){if(_0x5a55b1[_0x19d4e9]<_0x4ea2d1[_0x19d4e9])return-0x1;if(_0x5a55b1[_0x19d4e9]>_0x4ea2d1[_0x19d4e9])return 0x1;}if(!_0x5a55b1[_0x176db1(0xd8)]&&!_0x4ea2d1[_0x176db1(0xd8)])return 0x0;if(!_0x5a55b1[_0x176db1(0xd8)])return 0x1;if(!_0x4ea2d1[_0x176db1(0xd8)])return-0x1;if(_0x5a55b1[_0x176db1(0xd8)]===_0x4ea2d1[_0x176db1(0xd8)])return 0x0;return _0x5a55b1[_0x176db1(0xd8)]<_0x4ea2d1[_0x176db1(0xd8)]?-0x1:0x1;}function isUpdateNoticeDisabled(){const _0x27d6ca=a128_0x11e5,_0xb93473=process.env.LOVRABET_NO_UPDATE_NOTICE?.['trim']()[_0x27d6ca(0xe6)]();return _0xb93473==='1'||_0xb93473===_0x27d6ca(0xfe)||_0xb93473==='yes';}function a128_0x3fd2(){const _0x482820=['/v/','toLowerCase','2846708lSmOLp','checkedAt','114TaQoOQ','lastNotifiedAt','lovrabet-cli','8396667sPxcLD','trim','parse','\x20update','number','match','/-/package/','string','\x20available,\x20current\x20','minor','7123812mBtmqz','/dist-tags','entries',',\x20run:\x20','update-check.json','Invalid\x20semver','latest','utf8','true','now','1224oRvUtF','object','1717132mSraFP','timeout','prerelease','filter','fromEntries','1878990awccpl','33IwZnxP','json','5327jfTbNp','3QjTWew','lastNotifiedVersion','1FPoEJv','stringify','patch','39640TOcJfJ'];a128_0x3fd2=function(){return _0x482820;};return a128_0x3fd2();}function cacheRoot(){return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),'.cache');}export function getUpdateNoticeCachePath(){const _0x84bb40=a128_0x11e5;return join(cacheRoot(),_0x84bb40(0xeb),_0x84bb40(0xfa));}async function readUpdateNoticeCache(){const _0x3d7b89=a128_0x11e5;try{const _0x12d31d=await readFile(getUpdateNoticeCachePath(),_0x3d7b89(0xfd)),_0x4a9036=JSON[_0x3d7b89(0xee)](_0x12d31d);if(!_0x4a9036||typeof _0x4a9036!==_0x3d7b89(0xd5))return{};return _0x4a9036;}catch{return{};}}async function writeUpdateNoticeCache(_0x47d72d){const _0x4254df=a128_0x11e5;try{const _0x69a5e5=getUpdateNoticeCachePath();await mkdir(dirname(_0x69a5e5),{'recursive':!![]}),await writeFile(_0x69a5e5,JSON[_0x4254df(0xe2)](_0x47d72d,null,0x2)+'\x0a',_0x4254df(0xfd));}catch{}}function isFreshCheck(_0x42ef46,_0x201fc3){const _0x57245d=a128_0x11e5;return typeof _0x42ef46[_0x57245d(0xe8)]===_0x57245d(0xf0)&&_0x201fc3-_0x42ef46['checkedAt']<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x370b13,_0x1f33d9,_0x561929){const _0x5244c7=a128_0x11e5;return _0x370b13[_0x5244c7(0xe0)]===_0x1f33d9&&typeof _0x370b13[_0x5244c7(0xea)]===_0x5244c7(0xf0)&&_0x561929-_0x370b13[_0x5244c7(0xea)]<UPDATE_NOTICE_TTL_MS;}async function fetchNpmDistTags(_0x23952b=0x5dc){const _0x5d4452=a128_0x11e5;try{const _0x31f9c8=NPM_REGISTRY_BASE_URL+_0x5d4452(0xf2)+encodeURIComponent(LOVRABET_NPM_PACKAGE_NAME)+_0x5d4452(0xf7),_0x28b764=await fetch(_0x31f9c8,{'signal':AbortSignal[_0x5d4452(0xd7)](_0x23952b)});if(!_0x28b764['ok'])return null;const _0x5812b=await _0x28b764[_0x5d4452(0xdd)]();if(!_0x5812b||typeof _0x5812b!=='object')return null;return Object[_0x5d4452(0xda)](Object[_0x5d4452(0xf8)](_0x5812b)[_0x5d4452(0xd9)](([,_0x539b6f])=>typeof _0x539b6f===_0x5d4452(0xf3)&&_0x539b6f[_0x5d4452(0xed)]())['map'](([_0x3f6746,_0x249722])=>[_0x3f6746,String(_0x249722)[_0x5d4452(0xed)]()]));}catch{return null;}}export function buildNpmVersionUrl(_0x599c38){const _0x56488f=a128_0x11e5;return'https://www.npmjs.com/package/'+LOVRABET_NPM_PACKAGE_NAME+_0x56488f(0xe5)+_0x599c38;}export async function resolveLatestUpdateNotice(){const _0x574a17=a128_0x11e5;if(isUpdateNoticeDisabled())return null;try{const _0x385013=Date[_0x574a17(0xd3)](),_0x1caa71=getCliVersion(),_0x3d7673=await readUpdateNoticeCache();let _0x2eddb8=isFreshCheck(_0x3d7673,_0x385013)?_0x3d7673[_0x574a17(0xfc)]?.[_0x574a17(0xed)]():undefined;if(!_0x2eddb8&&!isFreshCheck(_0x3d7673,_0x385013)){const _0xfb1e7e=await fetchNpmDistTags();_0x2eddb8=_0xfb1e7e?.['latest']?.[_0x574a17(0xed)](),await writeUpdateNoticeCache({..._0x3d7673,'checkedAt':_0x385013,'latest':_0x2eddb8,'failed':!_0x2eddb8});}if(!_0x2eddb8||compareSemver(_0x1caa71,_0x2eddb8)>=0x0)return null;if(isRecentlyNotified(_0x3d7673,_0x2eddb8,_0x385013))return null;const _0x2bcc6d=CLI_BIN_NAME+_0x574a17(0xef);return await writeUpdateNoticeCache({..._0x3d7673,'checkedAt':isFreshCheck(_0x3d7673,_0x385013)?_0x3d7673[_0x574a17(0xe8)]:_0x385013,'latest':_0x2eddb8,'failed':![],'lastNotifiedVersion':_0x2eddb8,'lastNotifiedAt':_0x385013}),{'command':_0x2bcc6d,'current':_0x1caa71,'latest':_0x2eddb8,'url':buildNpmVersionUrl(_0x2eddb8),'message':CLI_BIN_NAME+'\x20'+_0x2eddb8+_0x574a17(0xf4)+_0x1caa71+_0x574a17(0xf9)+_0x2bcc6d};}catch{return null;}}
@@ -1 +1 @@
1
- function a129_0x2a4d(_0x1fecdd,_0x21fae7){_0x1fecdd=_0x1fecdd-0x1d7;const _0x40cfaa=a129_0x40cf();let _0x2a4dc2=_0x40cfaa[_0x1fecdd];return _0x2a4dc2;}(function(_0x12c611,_0x407a26){const _0xec4d75=a129_0x2a4d,_0x151474=_0x12c611();while(!![]){try{const _0x38a5a4=-parseInt(_0xec4d75(0x1e1))/0x1+-parseInt(_0xec4d75(0x1da))/0x2+parseInt(_0xec4d75(0x1de))/0x3*(parseInt(_0xec4d75(0x1df))/0x4)+parseInt(_0xec4d75(0x1dd))/0x5*(parseInt(_0xec4d75(0x1d7))/0x6)+parseInt(_0xec4d75(0x1d8))/0x7+-parseInt(_0xec4d75(0x1dc))/0x8+-parseInt(_0xec4d75(0x1e2))/0x9*(-parseInt(_0xec4d75(0x1d9))/0xa);if(_0x38a5a4===_0x407a26)break;else _0x151474['push'](_0x151474['shift']());}catch(_0x54a408){_0x151474['push'](_0x151474['shift']());}}}(a129_0x40cf,0xde04e));import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';function a129_0x40cf(){const _0x4c6a8c=['712802NfWOhv','unknown','11324456BgnyeR','4100yPtVxr','33EalNaX','316364HufGSu','slice','21270XxmWEh','9FMslSH','4020rWhaoy','5163683tlQYRX','5455480NBwYXX'];a129_0x40cf=function(){return _0x4c6a8c;};return a129_0x40cf();}export function getCliVersion(){return VERSION;}export function getCliGitCommit(){const _0x4a5d72=a129_0x2a4d,_0x8dd564=String(GIT_COMMIT);return _0x8dd564&&_0x8dd564!==_0x4a5d72(0x1db)?_0x8dd564:'';}export function getCliVersionDisplay(){const _0xdb4cf9=a129_0x2a4d,_0x35d2fb=getCliGitCommit(),_0x5a43ad=BUILD_TIME[_0xdb4cf9(0x1e0)](0x0,0xa);if(!_0x35d2fb||!_0x5a43ad)return VERSION;return VERSION+'\x20('+_0x35d2fb+',\x20'+_0x5a43ad+')';}
1
+ (function(_0x5719b5,_0x3335b8){const _0x159939=a129_0x17c4,_0x3c6288=_0x5719b5();while(!![]){try{const _0x237f7a=-parseInt(_0x159939(0xe6))/0x1+-parseInt(_0x159939(0xe7))/0x2*(-parseInt(_0x159939(0xe8))/0x3)+parseInt(_0x159939(0xef))/0x4*(parseInt(_0x159939(0xed))/0x5)+parseInt(_0x159939(0xe5))/0x6*(-parseInt(_0x159939(0xeb))/0x7)+parseInt(_0x159939(0xee))/0x8+-parseInt(_0x159939(0xf0))/0x9*(-parseInt(_0x159939(0xec))/0xa)+parseInt(_0x159939(0xe9))/0xb;if(_0x237f7a===_0x3335b8)break;else _0x3c6288['push'](_0x3c6288['shift']());}catch(_0x2603fe){_0x3c6288['push'](_0x3c6288['shift']());}}}(a129_0x2951,0xc2234));function a129_0x17c4(_0x5da219,_0x313995){_0x5da219=_0x5da219-0xe5;const _0x295138=a129_0x2951();let _0x17c42d=_0x295138[_0x5da219];return _0x17c42d;}import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}function a129_0x2951(){const _0x4ec9bb=['136870GWxolE','5jlZQzC','7270512vNGPOX','1807532jQBfGW','63abYeKj','44394qEsewW','1007347wNBRLo','292212wyuXvl','6htMavG','13614227BrPShJ','unknown','1120mASSlL'];a129_0x2951=function(){return _0x4ec9bb;};return a129_0x2951();}export function getCliGitCommit(){const _0x39252e=a129_0x17c4,_0x13ef23=String(GIT_COMMIT);return _0x13ef23&&_0x13ef23!==_0x39252e(0xea)?_0x13ef23:'';}export function getCliVersionDisplay(){const _0x21192a=getCliGitCommit(),_0x18dd85=BUILD_TIME['slice'](0x0,0xa);if(!_0x21192a||!_0x18dd85)return VERSION;return VERSION+'\x20('+_0x21192a+',\x20'+_0x18dd85+')';}
@@ -1 +1 @@
1
- (function(_0x1e7773,_0x335a33){var _0x338762=a130_0x456b,_0x5b459e=_0x1e7773();while(!![]){try{var _0x28165e=-parseInt(_0x338762(0xa0))/0x1*(parseInt(_0x338762(0x9b))/0x2)+parseInt(_0x338762(0x98))/0x3*(-parseInt(_0x338762(0x9e))/0x4)+parseInt(_0x338762(0x96))/0x5+-parseInt(_0x338762(0x9c))/0x6*(-parseInt(_0x338762(0x97))/0x7)+-parseInt(_0x338762(0x99))/0x8+parseInt(_0x338762(0x9d))/0x9+-parseInt(_0x338762(0x9f))/0xa*(-parseInt(_0x338762(0x9a))/0xb);if(_0x28165e===_0x335a33)break;else _0x5b459e['push'](_0x5b459e['shift']());}catch(_0x165cf2){_0x5b459e['push'](_0x5b459e['shift']());}}}(a130_0x2e11,0xc38af));function a130_0x2e11(){var _0x4e7d9d=['8634TQuzMf','8386326OUZlgB','4JddiBT','20vZdumx','419ejjRik','write','7754460nPLhhY','2051YbbloD','2863029jKZWtH','9137648XErkcC','2467366vnuIGS','2174yraFQF'];a130_0x2e11=function(){return _0x4e7d9d;};return a130_0x2e11();}function a130_0x456b(_0x2545c3,_0x568e06){_0x2545c3=_0x2545c3-0x95;var _0x2e11d5=a130_0x2e11();var _0x456b3e=_0x2e11d5[_0x2545c3];return _0x456b3e;}export function writeCliSideChannelLine(_0x16f2c6){var _0x778fab=a130_0x456b;process['stderr'][_0x778fab(0x95)](_0x16f2c6+'\x0a');}
1
+ function a130_0x3953(_0x3fe05f,_0x228e1a){_0x3fe05f=_0x3fe05f-0x1a9;var _0x36faf0=a130_0x36fa();var _0x3953d3=_0x36faf0[_0x3fe05f];return _0x3953d3;}(function(_0x63dcda,_0x3ae600){var _0x28c0cb=a130_0x3953,_0x227108=_0x63dcda();while(!![]){try{var _0x478bc5=parseInt(_0x28c0cb(0x1b0))/0x1*(parseInt(_0x28c0cb(0x1af))/0x2)+-parseInt(_0x28c0cb(0x1b4))/0x3+parseInt(_0x28c0cb(0x1ab))/0x4*(-parseInt(_0x28c0cb(0x1b2))/0x5)+parseInt(_0x28c0cb(0x1b3))/0x6+-parseInt(_0x28c0cb(0x1b1))/0x7+-parseInt(_0x28c0cb(0x1ae))/0x8+-parseInt(_0x28c0cb(0x1a9))/0x9*(-parseInt(_0x28c0cb(0x1aa))/0xa);if(_0x478bc5===_0x3ae600)break;else _0x227108['push'](_0x227108['shift']());}catch(_0x335a89){_0x227108['push'](_0x227108['shift']());}}}(a130_0x36fa,0xb0513));function a130_0x36fa(){var _0x42097f=['write','stderr','5490080RClgIG','114438ZGGRSg','6dzKsLE','9218783ZSZFqK','160uhdRuN','2702262FCQzcW','330042YYVbvG','171FJAHqc','1572170tvpmEI','118172jbjXXu'];a130_0x36fa=function(){return _0x42097f;};return a130_0x36fa();}export function writeCliSideChannelLine(_0x5e5aee){var _0x467bb5=a130_0x3953;process[_0x467bb5(0x1ad)][_0x467bb5(0x1ac)](_0x5e5aee+'\x0a');}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/lovrabet-cli",
3
- "version": "2.1.22",
3
+ "version": "2.1.23-beta.2",
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": [