@lovrabet/lovrabet-cli 2.3.7-beta.1 → 2.3.8-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 (181) hide show
  1. package/README.md +1 -1
  2. package/lib/cli.js +1 -1
  3. package/lib/commands/api-doc/index.js +1 -1
  4. package/lib/commands/app/cache.js +1 -1
  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.js +1 -1
  10. package/lib/commands/app-config/get.js +1 -1
  11. package/lib/commands/app-config/index.js +1 -1
  12. package/lib/commands/approval/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.js +1 -1
  16. package/lib/commands/auth/prompt.js +1 -1
  17. package/lib/commands/bff/detail.js +1 -1
  18. package/lib/commands/bff/exec.js +1 -1
  19. package/lib/commands/bff/index.js +1 -1
  20. package/lib/commands/cli-skill/index.js +1 -1
  21. package/lib/commands/common/config-policy.js +1 -1
  22. package/lib/commands/common/constraints.js +1 -1
  23. package/lib/commands/common/flags.js +1 -1
  24. package/lib/commands/common/local-file.js +1 -1
  25. package/lib/commands/config/definitions.js +1 -1
  26. package/lib/commands/config/init.js +1 -1
  27. package/lib/commands/config/shared.js +1 -1
  28. package/lib/commands/data/import-excel.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.js +1 -1
  37. package/lib/commands/kb/index.js +1 -1
  38. package/lib/commands/logs/index.js +1 -1
  39. package/lib/commands/notification/config-list.js +1 -1
  40. package/lib/commands/notification/index.js +1 -1
  41. package/lib/commands/notification/shared.js +1 -1
  42. package/lib/commands/ocr/index.js +1 -1
  43. package/lib/commands/permit/dataset-get.js +1 -1
  44. package/lib/commands/permit/dataset-set.js +1 -1
  45. package/lib/commands/permit/index.js +1 -1
  46. package/lib/commands/permit/page-get.js +1 -1
  47. package/lib/commands/permit/page-set.js +1 -1
  48. package/lib/commands/permit/role-menus-set.js +1 -1
  49. package/lib/commands/permit/role-menus.js +1 -1
  50. package/lib/commands/permit/shared.js +1 -1
  51. package/lib/commands/personal-bff/index.js +1 -1
  52. package/lib/commands/registry.js +1 -1
  53. package/lib/commands/role/create.js +1 -1
  54. package/lib/commands/role/delete.js +1 -1
  55. package/lib/commands/role/detail.js +1 -1
  56. package/lib/commands/role/index.js +1 -1
  57. package/lib/commands/role/list.js +1 -1
  58. package/lib/commands/role/shared.js +1 -1
  59. package/lib/commands/role/update.js +1 -1
  60. package/lib/commands/role/user-add.js +1 -1
  61. package/lib/commands/role/user-remove.js +1 -1
  62. package/lib/commands/schedule/index.js +1 -1
  63. package/lib/commands/schema.js +1 -1
  64. package/lib/commands/service/dynamic.js +1 -1
  65. package/lib/commands/service/function-name-adapter.js +1 -1
  66. package/lib/commands/service/index.js +1 -1
  67. package/lib/commands/service/registry.js +1 -1
  68. package/lib/commands/skill/commands/create.js +1 -1
  69. package/lib/commands/skill/commands/diagram.js +1 -1
  70. package/lib/commands/skill/commands/install.js +1 -1
  71. package/lib/commands/skill/commands/list.js +1 -1
  72. package/lib/commands/skill/commands/push.js +1 -1
  73. package/lib/commands/skill/commands/validate.js +1 -1
  74. package/lib/commands/skill/diagram.js +1 -1
  75. package/lib/commands/skill/flags.js +1 -1
  76. package/lib/commands/skill/index.js +1 -1
  77. package/lib/commands/skill/manifest-helpers.js +1 -1
  78. package/lib/commands/skill/push-execute.js +1 -1
  79. package/lib/commands/skill/push-flow-helpers.js +1 -1
  80. package/lib/commands/skill/push-retarget.js +1 -1
  81. package/lib/commands/skill/scopes.js +1 -1
  82. package/lib/commands/skill/summary.js +1 -1
  83. package/lib/commands/skill/templates.js +1 -1
  84. package/lib/commands/skill/validate.js +1 -1
  85. package/lib/commands/sql/detail.js +1 -1
  86. package/lib/commands/sql/exec.js +1 -1
  87. package/lib/commands/sql/index.js +1 -1
  88. package/lib/commands/update.js +1 -1
  89. package/lib/commands/user-account/bind.js +1 -1
  90. package/lib/commands/user-account/index.js +1 -1
  91. package/lib/commands/workspace/index.js +1 -1
  92. package/lib/config/domain-config.js +1 -1
  93. package/lib/config/schema.js +1 -1
  94. package/lib/constant/app.js +1 -1
  95. package/lib/constant/auth-mode.js +1 -1
  96. package/lib/constant/cli.js +1 -1
  97. package/lib/constant/defaults.js +1 -1
  98. package/lib/constant/distribution.js +1 -1
  99. package/lib/constant/domain.js +1 -1
  100. package/lib/constant/env.js +1 -1
  101. package/lib/constant/output.js +1 -1
  102. package/lib/constant/product.js +1 -1
  103. package/lib/constant/region.js +1 -1
  104. package/lib/constant/risk.js +1 -1
  105. package/lib/constant/url.js +1 -1
  106. package/lib/context.js +1 -1
  107. package/lib/core/api-client.js +1 -1
  108. package/lib/core/db-resolver.js +1 -1
  109. package/lib/core/kb-management-client.js +1 -1
  110. package/lib/core/kb-search-client.js +1 -1
  111. package/lib/core/sdk-client.js +1 -1
  112. package/lib/errors.js +1 -1
  113. package/lib/framework/access-error.js +1 -1
  114. package/lib/framework/build-all-flags.js +1 -1
  115. package/lib/framework/dryrun.js +1 -1
  116. package/lib/framework/flags.js +1 -1
  117. package/lib/framework/help.js +1 -1
  118. package/lib/framework/index.js +1 -1
  119. package/lib/framework/output.js +1 -1
  120. package/lib/framework/preparse.js +1 -1
  121. package/lib/framework/rate-limit.js +1 -1
  122. package/lib/framework/raw-flags.js +1 -1
  123. package/lib/framework/response.js +1 -1
  124. package/lib/framework/runner-confirmation.js +1 -1
  125. package/lib/framework/runner-error.js +1 -1
  126. package/lib/framework/runner.js +1 -1
  127. package/lib/framework/schema-export.js +1 -1
  128. package/lib/framework/service-order.js +1 -1
  129. package/lib/framework/types.js +1 -1
  130. package/lib/generated/build-info.d.ts +4 -4
  131. package/lib/generated/build-info.js +1 -1
  132. package/lib/generated/official-routing.js +1 -1
  133. package/lib/generated/routing-contract.js +1 -1
  134. package/lib/help.js +1 -1
  135. package/lib/postinstall.js +1 -1
  136. package/lib/runtime/confirmation.js +1 -1
  137. package/lib/runtime/event.js +1 -1
  138. package/lib/runtime/index.js +1 -1
  139. package/lib/runtime/queue.js +1 -1
  140. package/lib/runtime/resolve.js +1 -1
  141. package/lib/services/dataset-import/auto-id-runner.js +1 -1
  142. package/lib/services/dataset-import/excel-reader.js +1 -1
  143. package/lib/services/dataset-import/image-bytes.js +1 -1
  144. package/lib/services/dataset-import/image-ooxml.js +1 -1
  145. package/lib/services/dataset-import/image-runner.js +1 -1
  146. package/lib/services/dataset-import/metadata.js +1 -1
  147. package/lib/services/dataset-import/preview.js +1 -1
  148. package/lib/services/dataset-import/runner.js +1 -1
  149. package/lib/skills/builtin-skill.js +1 -1
  150. package/lib/skills/npx-skills-add.js +1 -1
  151. package/lib/skills/runtime-skill-sync/constants.js +1 -1
  152. package/lib/skills/runtime-skill-sync/fs-utils.js +1 -1
  153. package/lib/skills/runtime-skill-sync/hashing.js +1 -1
  154. package/lib/skills/runtime-skill-sync/install-target.js +1 -1
  155. package/lib/skills/runtime-skill-sync/links.js +1 -1
  156. package/lib/skills/runtime-skill-sync/list-local.js +1 -1
  157. package/lib/skills/runtime-skill-sync/local-files.js +1 -1
  158. package/lib/skills/runtime-skill-sync/materialize.js +1 -1
  159. package/lib/skills/runtime-skill-sync/metadata.js +1 -1
  160. package/lib/skills/runtime-skill-sync/paths.js +1 -1
  161. package/lib/skills/runtime-skill-sync/push.js +1 -1
  162. package/lib/skills/runtime-skill-sync/scopes.js +1 -1
  163. package/lib/skills/runtime-skill-sync/zip-codec.js +1 -1
  164. package/lib/skills/runtime-skill-sync/zip-package.js +1 -1
  165. package/lib/skills/runtime-skill-sync.js +1 -1
  166. package/lib/skills/skill-presence.js +1 -1
  167. package/lib/utils/access-key-redaction.js +1 -1
  168. package/lib/utils/apply-jq-filter.js +1 -1
  169. package/lib/utils/cli-version-check.js +1 -1
  170. package/lib/utils/cli-version-policy.js +1 -1
  171. package/lib/utils/logger.js +1 -1
  172. package/lib/utils/lossless-json.js +1 -1
  173. package/lib/utils/params.js +1 -1
  174. package/lib/utils/positive-safe-integer.js +1 -1
  175. package/lib/utils/redaction.js +1 -1
  176. package/lib/utils/update-notice.js +1 -1
  177. package/lib/utils/version.js +1 -1
  178. package/lib/utils/write-cli-side-channel.js +1 -1
  179. package/package.json +2 -2
  180. package/skills/lovrabet/SKILL.md +2 -2
  181. package/skills/lovrabet.manifest.json +3 -3
@@ -1 +1 @@
1
- (function(_0x43bfa6,_0x3d61b9){const _0x431b50=a169_0x4c3e,_0x5f26bb=_0x43bfa6();while(!![]){try{const _0xe90483=-parseInt(_0x431b50(0xa7))/0x1+parseInt(_0x431b50(0xaf))/0x2+parseInt(_0x431b50(0xa0))/0x3+-parseInt(_0x431b50(0xb1))/0x4+parseInt(_0x431b50(0xa3))/0x5+-parseInt(_0x431b50(0xa8))/0x6+parseInt(_0x431b50(0xae))/0x7;if(_0xe90483===_0x3d61b9)break;else _0x5f26bb['push'](_0x5f26bb['shift']());}catch(_0x24601a){_0x5f26bb['push'](_0x5f26bb['shift']());}}}(a169_0xf634,0x50900));import a169_0x1c0301 from'semver';import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';import{CliErrors}from'../errors.js';import{getCliVersionPolicy}from'../utils/cli-version-policy.js';import{getCliVersion}from'../utils/version.js';function a169_0xf634(){const _0x439c28=['Upgrade\x20command:\x20','minimumVersion','1715441yeOuiL','998368GlBTWP','valid','251184noxNwA','Current\x20CLI\x20version\x20is\x20below\x20the\x20minimum\x20supported\x20version.','Recommended\x20stable:\x20','Current\x20version:\x20','1728525tVSETq','filter','latest','1331425fKBSzB','npm\x20install\x20-g\x20','stableVersion','upgradeMessage','555544eONGoA','3830298cWXunP','minimumVersionMessage','join','Minimum\x20supported:\x20'];a169_0xf634=function(){return _0x439c28;};return a169_0xf634();}export function evaluateCliVersionPolicy(_0x4c2583,_0x727a99){const _0x3e78ff=a169_0x4c3e,_0x579e34=a169_0x1c0301[_0x3e78ff(0xb0)](_0x4c2583)===_0x4c2583,_0x89f1e8=_0x727a99?.[_0x3e78ff(0xa5)]??null,_0x4f9ca6=_0x727a99?.['minimumVersion']??null,_0x2eec4d=Boolean(_0x579e34&&_0x89f1e8&&a169_0x1c0301['lt'](_0x4c2583,_0x89f1e8)),_0xe9ce90=Boolean(_0x579e34&&_0x4f9ca6&&a169_0x1c0301['lt'](_0x4c2583,_0x4f9ca6));return{'currentVersion':_0x4c2583,'stableVersion':_0x89f1e8,'minimumVersion':_0x4f9ca6,'needsUpgrade':_0x2eec4d||_0xe9ce90,'belowMinimum':_0xe9ce90,'upgradeMessage':_0x727a99?.[_0x3e78ff(0xa6)],'minimumVersionMessage':_0x727a99?.[_0x3e78ff(0xa9)]};}export async function checkCliVersion(){return evaluateCliVersionPolicy(getCliVersion(),await getCliVersionPolicy());}export function getCliUpgradeCommand(_0xe6028c){const _0x54a3e0=a169_0x4c3e;return _0x54a3e0(0xa4)+LOVRABET_NPM_PACKAGE_NAME+'@'+(_0xe6028c[_0x54a3e0(0xa5)]??_0x54a3e0(0xa2));}function a169_0x4c3e(_0x279ba2,_0x52889c){_0x279ba2=_0x279ba2-0xa0;const _0xf634bf=a169_0xf634();let _0x4c3e9e=_0xf634bf[_0x279ba2];return _0x4c3e9e;}export function assertCliVersionSupported(_0x205b8c){const _0xc5ca2=a169_0x4c3e;if(!_0x205b8c['belowMinimum'])return;const _0x15a233=[_0x205b8c[_0xc5ca2(0xa9)],_0xc5ca2(0xb4)+_0x205b8c['currentVersion'],_0xc5ca2(0xab)+_0x205b8c[_0xc5ca2(0xad)],_0xc5ca2(0xb3)+(_0x205b8c[_0xc5ca2(0xa5)]??'unavailable'),_0xc5ca2(0xac)+getCliUpgradeCommand(_0x205b8c)][_0xc5ca2(0xa1)](Boolean)[_0xc5ca2(0xaa)]('\x0a');throw CliErrors['validation'](_0xc5ca2(0xb2),_0x15a233);}
1
+ (function(_0x7cf387,_0x3f19fa){const _0x3b9c12=a169_0x47b3,_0x27012a=_0x7cf387();while(!![]){try{const _0x53d5a4=parseInt(_0x3b9c12(0xfc))/0x1*(-parseInt(_0x3b9c12(0xee))/0x2)+parseInt(_0x3b9c12(0xf5))/0x3*(-parseInt(_0x3b9c12(0xf1))/0x4)+parseInt(_0x3b9c12(0xfe))/0x5*(-parseInt(_0x3b9c12(0x100))/0x6)+parseInt(_0x3b9c12(0xf2))/0x7*(-parseInt(_0x3b9c12(0xf0))/0x8)+parseInt(_0x3b9c12(0xf3))/0x9+-parseInt(_0x3b9c12(0x102))/0xa+parseInt(_0x3b9c12(0xef))/0xb*(parseInt(_0x3b9c12(0xf6))/0xc);if(_0x53d5a4===_0x3f19fa)break;else _0x27012a['push'](_0x27012a['shift']());}catch(_0x2fcdd7){_0x27012a['push'](_0x27012a['shift']());}}}(a169_0x4ec6,0x4ba13));import a169_0x5baf11 from'semver';import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';import{CliErrors}from'../errors.js';import{getCliVersionPolicy}from'../utils/cli-version-policy.js';import{getCliVersion}from'../utils/version.js';export function evaluateCliVersionPolicy(_0xbaf32,_0x2bcb5c){const _0x292a8d=a169_0x47b3,_0x11bf35=a169_0x5baf11[_0x292a8d(0xfa)](_0xbaf32)===_0xbaf32,_0x1695f2=_0x2bcb5c?.[_0x292a8d(0x103)]??null,_0x4da68a=_0x2bcb5c?.['minimumVersion']??null,_0x38966b=Boolean(_0x11bf35&&_0x1695f2&&a169_0x5baf11['lt'](_0xbaf32,_0x1695f2)),_0x5bcbab=Boolean(_0x11bf35&&_0x4da68a&&a169_0x5baf11['lt'](_0xbaf32,_0x4da68a));return{'currentVersion':_0xbaf32,'stableVersion':_0x1695f2,'minimumVersion':_0x4da68a,'needsUpgrade':_0x38966b||_0x5bcbab,'belowMinimum':_0x5bcbab,'upgradeMessage':_0x2bcb5c?.[_0x292a8d(0xf4)],'minimumVersionMessage':_0x2bcb5c?.[_0x292a8d(0xf8)]};}export async function checkCliVersion(){return evaluateCliVersionPolicy(getCliVersion(),await getCliVersionPolicy());}function a169_0x47b3(_0x42f67d,_0x571ba8){_0x42f67d=_0x42f67d-0xed;const _0x4ec631=a169_0x4ec6();let _0x47b3ff=_0x4ec631[_0x42f67d];return _0x47b3ff;}export function getCliUpgradeCommand(_0x57d11b){const _0x1b141a=a169_0x47b3;return _0x1b141a(0xf7)+LOVRABET_NPM_PACKAGE_NAME+'@'+(_0x57d11b[_0x1b141a(0x103)]??_0x1b141a(0x101));}export function assertCliVersionSupported(_0x386269){const _0xa548a8=a169_0x47b3;if(!_0x386269['belowMinimum'])return;const _0x4afdef=[_0x386269[_0xa548a8(0xf8)],_0xa548a8(0xfb)+_0x386269[_0xa548a8(0xf9)],'Minimum\x20supported:\x20'+_0x386269['minimumVersion'],'Recommended\x20stable:\x20'+(_0x386269[_0xa548a8(0x103)]??_0xa548a8(0xed)),_0xa548a8(0xfd)+getCliUpgradeCommand(_0x386269)]['filter'](Boolean)['join']('\x0a');throw CliErrors[_0xa548a8(0xff)]('Current\x20CLI\x20version\x20is\x20below\x20the\x20minimum\x20supported\x20version.',_0x4afdef);}function a169_0x4ec6(){const _0x2dbdb0=['Upgrade\x20command:\x20','5365uuMOVL','validation','1212YefbtH','latest','2239830YcNmxk','stableVersion','unavailable','10zrzqMh','110JKgHTL','685736DqgpEZ','12ApxVYJ','7zueOkm','948582uLNtXu','upgradeMessage','277998vYEePc','1554684wGaDLA','npm\x20install\x20-g\x20','minimumVersionMessage','currentVersion','valid','Current\x20version:\x20','57349LOmyTb'];a169_0x4ec6=function(){return _0x2dbdb0;};return a169_0x4ec6();}
@@ -1 +1 @@
1
- (function(_0x2fc143,_0x19ecba){const _0x231afb=a170_0x3b94,_0x5647d3=_0x2fc143();while(!![]){try{const _0x37acd8=parseInt(_0x231afb(0x15c))/0x1+-parseInt(_0x231afb(0x14d))/0x2*(parseInt(_0x231afb(0x14c))/0x3)+-parseInt(_0x231afb(0x158))/0x4+-parseInt(_0x231afb(0x14e))/0x5*(parseInt(_0x231afb(0x14f))/0x6)+-parseInt(_0x231afb(0x164))/0x7+-parseInt(_0x231afb(0x159))/0x8*(parseInt(_0x231afb(0x153))/0x9)+-parseInt(_0x231afb(0x161))/0xa*(-parseInt(_0x231afb(0x15f))/0xb);if(_0x37acd8===_0x19ecba)break;else _0x5647d3['push'](_0x5647d3['shift']());}catch(_0xaf2542){_0x5647d3['push'](_0x5647d3['shift']());}}}(a170_0x3e56,0x18caa));import a170_0x1ab70e from'semver';import{LOVRABET_CLI_VERSION_POLICY_URL}from'../constant/distribution.js';const SUCCESS_CACHE_TTL_MS=0x5*0x3c*0x3e8,FAILURE_CACHE_TTL_MS=0x3c*0x3e8,FETCH_TIMEOUT_MS=0x5dc;function pickString(_0x16b2e6){const _0x12e18d=a170_0x3b94;return typeof _0x16b2e6===_0x12e18d(0x163)&&_0x16b2e6[_0x12e18d(0x156)]()?_0x16b2e6[_0x12e18d(0x156)]():null;}function pickStrictSemver(_0x58dd41){const _0x4a5c7e=a170_0x3b94,_0x4c76cf=pickString(_0x58dd41);return _0x4c76cf&&a170_0x1ab70e[_0x4a5c7e(0x15e)](_0x4c76cf)===_0x4c76cf?_0x4c76cf:null;}function a170_0x3e56(){const _0x290ac4=['184563tnLClS','recommendedVersion','now','trim','minimumVersionMessage','104520qAhhYp','24tKJWYa','cli','upgradeMessage','84343npQfdC','application/json','valid','252692IBDUNh','timeout','110svgDNX','object','string','682591UUrRtN','6Oieydw','2872COTdWC','5sVQyAg','284718uNVIcq','minVersion','latestVersion','stableVersion'];a170_0x3e56=function(){return _0x290ac4;};return a170_0x3e56();}export function normalizeCliVersionPolicy(_0x540f8b){const _0x71e557=a170_0x3b94;if(!_0x540f8b||typeof _0x540f8b!==_0x71e557(0x162))return null;const _0x2b4520=_0x540f8b,_0x36c2c7=_0x2b4520[_0x71e557(0x15a)]&&typeof _0x2b4520[_0x71e557(0x15a)]===_0x71e557(0x162)?_0x2b4520[_0x71e557(0x15a)]:_0x2b4520,_0x27851e=pickStrictSemver(_0x36c2c7[_0x71e557(0x152)]??_0x36c2c7[_0x71e557(0x151)]??_0x36c2c7[_0x71e557(0x154)]),_0x1e9c38=pickStrictSemver(_0x36c2c7['minimumVersion']??_0x36c2c7[_0x71e557(0x150)]);if(!_0x27851e&&!_0x1e9c38)return null;if(_0x27851e&&_0x1e9c38&&a170_0x1ab70e['gt'](_0x1e9c38,_0x27851e))return null;return{'stableVersion':_0x27851e,'minimumVersion':_0x1e9c38,'upgradeMessage':pickString(_0x36c2c7[_0x71e557(0x15b)])??undefined,'minimumVersionMessage':pickString(_0x36c2c7[_0x71e557(0x157)])??undefined};}export async function fetchCliVersionPolicy(){const _0x4aad38=a170_0x3b94;try{const _0x349464=await fetch(LOVRABET_CLI_VERSION_POLICY_URL,{'headers':{'Accept':_0x4aad38(0x15d)},'signal':AbortSignal[_0x4aad38(0x160)](FETCH_TIMEOUT_MS)});if(!_0x349464['ok'])return null;return normalizeCliVersionPolicy(await _0x349464['json']());}catch{return null;}}let cachedPolicy=null,cachedAt=0x0,hasCachedPolicy=![],pendingPolicy=null;export async function getCliVersionPolicy(){const _0x512670=a170_0x3b94,_0x1c9f25=Date[_0x512670(0x155)]();if(hasCachedPolicy){const _0x108fb2=cachedPolicy?SUCCESS_CACHE_TTL_MS:FAILURE_CACHE_TTL_MS;if(_0x1c9f25-cachedAt<_0x108fb2)return cachedPolicy;}if(pendingPolicy)return pendingPolicy;return pendingPolicy=fetchCliVersionPolicy()['then'](_0x4f9f08=>{const _0x2fd6a4=_0x512670;return cachedPolicy=_0x4f9f08,cachedAt=Date[_0x2fd6a4(0x155)](),hasCachedPolicy=!![],_0x4f9f08;})['finally'](()=>{pendingPolicy=null;}),pendingPolicy;}function a170_0x3b94(_0x141462,_0x1aa152){_0x141462=_0x141462-0x14c;const _0x3e5643=a170_0x3e56();let _0x3b9402=_0x3e5643[_0x141462];return _0x3b9402;}export function clearCliVersionPolicyCache(){cachedPolicy=null,cachedAt=0x0,hasCachedPolicy=![],pendingPolicy=null;}
1
+ (function(_0x37b966,_0x2aeda4){const _0x3994b9=a170_0x35ab,_0x14758b=_0x37b966();while(!![]){try{const _0x812cb=parseInt(_0x3994b9(0xc0))/0x1*(-parseInt(_0x3994b9(0xc6))/0x2)+parseInt(_0x3994b9(0xb1))/0x3*(parseInt(_0x3994b9(0xbc))/0x4)+-parseInt(_0x3994b9(0xc5))/0x5+parseInt(_0x3994b9(0xb4))/0x6*(parseInt(_0x3994b9(0xc3))/0x7)+parseInt(_0x3994b9(0xc7))/0x8*(parseInt(_0x3994b9(0xb8))/0x9)+-parseInt(_0x3994b9(0xbb))/0xa+-parseInt(_0x3994b9(0xb6))/0xb*(parseInt(_0x3994b9(0xc1))/0xc);if(_0x812cb===_0x2aeda4)break;else _0x14758b['push'](_0x14758b['shift']());}catch(_0x10149b){_0x14758b['push'](_0x14758b['shift']());}}}(a170_0x54d8,0x2964f));import a170_0x46281c from'semver';import{LOVRABET_CLI_VERSION_POLICY_URL}from'../constant/distribution.js';const SUCCESS_CACHE_TTL_MS=0x5*0x3c*0x3e8,FAILURE_CACHE_TTL_MS=0x3c*0x3e8,FETCH_TIMEOUT_MS=0x5dc;function pickString(_0x53f00d){const _0x4ace65=a170_0x35ab;return typeof _0x53f00d==='string'&&_0x53f00d[_0x4ace65(0xb7)]()?_0x53f00d[_0x4ace65(0xb7)]():null;}function pickStrictSemver(_0x4cb13d){const _0x441804=a170_0x35ab,_0x31bfc5=pickString(_0x4cb13d);return _0x31bfc5&&a170_0x46281c[_0x441804(0xb2)](_0x31bfc5)===_0x31bfc5?_0x31bfc5:null;}export function normalizeCliVersionPolicy(_0x1a99c5){const _0x406a25=a170_0x35ab;if(!_0x1a99c5||typeof _0x1a99c5!==_0x406a25(0xc4))return null;const _0x3275b3=_0x1a99c5,_0xa30e24=_0x3275b3['cli']&&typeof _0x3275b3[_0x406a25(0xbd)]===_0x406a25(0xc4)?_0x3275b3[_0x406a25(0xbd)]:_0x3275b3,_0x2b66ae=pickStrictSemver(_0xa30e24[_0x406a25(0xbe)]??_0xa30e24['latestVersion']??_0xa30e24[_0x406a25(0xb0)]),_0x3ebad2=pickStrictSemver(_0xa30e24[_0x406a25(0xc2)]??_0xa30e24[_0x406a25(0xbf)]);if(!_0x2b66ae&&!_0x3ebad2)return null;if(_0x2b66ae&&_0x3ebad2&&a170_0x46281c['gt'](_0x3ebad2,_0x2b66ae))return null;return{'stableVersion':_0x2b66ae,'minimumVersion':_0x3ebad2,'upgradeMessage':pickString(_0xa30e24['upgradeMessage'])??undefined,'minimumVersionMessage':pickString(_0xa30e24['minimumVersionMessage'])??undefined};}export async function fetchCliVersionPolicy(){const _0x4ca75b=a170_0x35ab;try{const _0x261c6f=await fetch(LOVRABET_CLI_VERSION_POLICY_URL,{'headers':{'Accept':_0x4ca75b(0xb5)},'signal':AbortSignal[_0x4ca75b(0xb3)](FETCH_TIMEOUT_MS)});if(!_0x261c6f['ok'])return null;return normalizeCliVersionPolicy(await _0x261c6f[_0x4ca75b(0xaf)]());}catch{return null;}}function a170_0x35ab(_0x307e0e,_0x6266be){_0x307e0e=_0x307e0e-0xaf;const _0x54d8fe=a170_0x54d8();let _0x35ab90=_0x54d8fe[_0x307e0e];return _0x35ab90;}let cachedPolicy=null,cachedAt=0x0,hasCachedPolicy=![],pendingPolicy=null;export async function getCliVersionPolicy(){const _0x18dc3a=a170_0x35ab,_0x115ca2=Date[_0x18dc3a(0xba)]();if(hasCachedPolicy){const _0x590b22=cachedPolicy?SUCCESS_CACHE_TTL_MS:FAILURE_CACHE_TTL_MS;if(_0x115ca2-cachedAt<_0x590b22)return cachedPolicy;}if(pendingPolicy)return pendingPolicy;return pendingPolicy=fetchCliVersionPolicy()[_0x18dc3a(0xb9)](_0x1f92dc=>{const _0x387539=_0x18dc3a;return cachedPolicy=_0x1f92dc,cachedAt=Date[_0x387539(0xba)](),hasCachedPolicy=!![],_0x1f92dc;})['finally'](()=>{pendingPolicy=null;}),pendingPolicy;}export function clearCliVersionPolicyCache(){cachedPolicy=null,cachedAt=0x0,hasCachedPolicy=![],pendingPolicy=null;}function a170_0x54d8(){const _0x5ad18f=['trim','1060830RabmuD','then','now','544980BWGXGW','446412XJbdOf','cli','stableVersion','minVersion','496xqyFoS','325344LkmajD','minimumVersion','21IdAWaS','object','1124295akyimQ','454VRXinP','16BJSrQA','json','recommendedVersion','6vWFmWT','valid','timeout','422004umUMmu','application/json','44SyNWkf'];a170_0x54d8=function(){return _0x5ad18f;};return a170_0x54d8();}
@@ -1 +1 @@
1
- function a171_0x3c7b(){const _0xc15474=['trim','logFileName','Failed\x20to\x20read\x20logs:','now','688695NMMVtX','writeFileSync','Failed:\x20','rawCommand','map','initWinstonLogger','4465764VLxaSb','2455565eNtTgm','1154936fghrOF','52ohnNzJ','toISOString','Failed\x20to\x20clear\x20logs:','level','8986850qOLiwM','success','combine','10NoGdNl','command','Completed:\x20','error','mkdirSync','logTask','winstonLogger','message','info','Starting:\x20','warn','format','File','unknown','existsSync','green','logFilePath','log','details','189009MUFjTF','getWinstonInstance','clear','readLogs','utf8','createLogger','duration','transports','split','dirname','blue','9BSFNDX','63995vdvWSE','currentRawCommand','timestamp','errors','setRawCommand','yellow'];a171_0x3c7b=function(){return _0xc15474;};return a171_0x3c7b();}const a171_0x4fe3eb=a171_0x288c;(function(_0x39a597,_0x73f579){const _0x3fbe0e=a171_0x288c,_0x1d6230=_0x39a597();while(!![]){try{const _0x1da67a=-parseInt(_0x3fbe0e(0xb6))/0x1+parseInt(_0x3fbe0e(0xc6))/0x2*(parseInt(_0x3fbe0e(0xd9))/0x3)+-parseInt(_0x3fbe0e(0xbf))/0x4*(-parseInt(_0x3fbe0e(0xe5))/0x5)+-parseInt(_0x3fbe0e(0xbc))/0x6+parseInt(_0x3fbe0e(0xbd))/0x7+parseInt(_0x3fbe0e(0xbe))/0x8+parseInt(_0x3fbe0e(0xe4))/0x9*(parseInt(_0x3fbe0e(0xc3))/0xa);if(_0x1da67a===_0x73f579)break;else _0x1d6230['push'](_0x1d6230['shift']());}catch(_0x4541fa){_0x1d6230['push'](_0x1d6230['shift']());}}}(a171_0x3c7b,0x6bf94));import a171_0x2cee21 from'winston';import a171_0x499352 from'node:fs';import a171_0x7609b1 from'node:path';function a171_0x288c(_0xb9598f,_0x3622d8){_0xb9598f=_0xb9598f-0xad;const _0x3c7b59=a171_0x3c7b();let _0x288c62=_0x3c7b59[_0xb9598f];return _0x288c62;}import{PRODUCT_CONFIG}from'../constant/product.js';class Logger{[a171_0x4fe3eb(0xcc)];[a171_0x4fe3eb(0xd6)]='';[a171_0x4fe3eb(0xad)]='';constructor(){}[a171_0x4fe3eb(0xb0)](_0x385e56){this['currentRawCommand']=_0x385e56;}['setLogPath'](_0x55dbc6){const _0x15f86a=a171_0x4fe3eb;this[_0x15f86a(0xd6)]=a171_0x7609b1['join'](_0x55dbc6,PRODUCT_CONFIG[_0x15f86a(0xb3)]),this[_0x15f86a(0xcc)]&&this['winstonLogger'][_0x15f86a(0xdb)](),this[_0x15f86a(0xbb)]();}['initWinstonLogger'](){const _0x4bbe8e=a171_0x4fe3eb,_0x2d1b3a=a171_0x7609b1[_0x4bbe8e(0xe2)](this[_0x4bbe8e(0xd6)]);!a171_0x499352['existsSync'](_0x2d1b3a)&&a171_0x499352[_0x4bbe8e(0xca)](_0x2d1b3a,{'recursive':!![]});const _0x319d55=a171_0x2cee21[_0x4bbe8e(0xd1)][_0x4bbe8e(0xc5)](a171_0x2cee21[_0x4bbe8e(0xd1)][_0x4bbe8e(0xae)](),a171_0x2cee21[_0x4bbe8e(0xd1)][_0x4bbe8e(0xaf)]({'stack':!![]}),a171_0x2cee21[_0x4bbe8e(0xd1)]['printf'](_0x5941d3=>{const _0x470a69=_0x4bbe8e,_0x117dcd={'timestamp':_0x5941d3[_0x470a69(0xae)]||new Date()[_0x470a69(0xc0)](),'level':_0x5941d3[_0x470a69(0xc2)]||_0x470a69(0xce),'command':_0x5941d3[_0x470a69(0xc7)]||_0x470a69(0xd3),'rawCommand':_0x5941d3[_0x470a69(0xb9)]||this[_0x470a69(0xad)]||undefined,'message':_0x5941d3[_0x470a69(0xcd)]||'','duration':_0x5941d3[_0x470a69(0xdf)]||undefined,'details':_0x5941d3[_0x470a69(0xd8)]||undefined};return JSON['stringify'](_0x117dcd);}));this['winstonLogger']=a171_0x2cee21[_0x4bbe8e(0xde)]({'level':_0x4bbe8e(0xce),'format':_0x319d55,'transports':[new a171_0x2cee21[(_0x4bbe8e(0xe0))][(_0x4bbe8e(0xd2))]({'filename':this[_0x4bbe8e(0xd6)],'level':_0x4bbe8e(0xce)})],'silent':![]}),a171_0x2cee21['addColors']({'success':_0x4bbe8e(0xd5),'error':'red','warn':_0x4bbe8e(0xb1),'info':_0x4bbe8e(0xe3)});}[a171_0x4fe3eb(0xce)](_0x5b0be1,_0x1cbdbd,_0x68d622){const _0x4b8ca9=a171_0x4fe3eb;if(!this[_0x4b8ca9(0xd6)]||!this[_0x4b8ca9(0xcc)])return;this['winstonLogger'][_0x4b8ca9(0xce)](_0x1cbdbd,{'command':_0x5b0be1,'details':_0x68d622});}[a171_0x4fe3eb(0xc4)](_0x560b6b,_0x415163,_0x144ee1,_0x4aaec7){const _0x465a86=a171_0x4fe3eb;if(!this[_0x465a86(0xd6)]||!this[_0x465a86(0xcc)])return;this[_0x465a86(0xcc)][_0x465a86(0xd7)](_0x465a86(0xce),_0x415163,{'level':_0x465a86(0xc4),'command':_0x560b6b,'duration':_0x144ee1,'details':_0x4aaec7});}[a171_0x4fe3eb(0xc9)](_0x15a755,_0x3f5c4c,_0x3e0b61){const _0x460f5e=a171_0x4fe3eb;if(!this[_0x460f5e(0xd6)]||!this[_0x460f5e(0xcc)])return;this[_0x460f5e(0xcc)][_0x460f5e(0xc9)](_0x3f5c4c,{'command':_0x15a755,'details':_0x3e0b61});}['warn'](_0x83e1a6,_0x346d48,_0x561fb6){const _0x5b5e94=a171_0x4fe3eb;if(!this[_0x5b5e94(0xd6)]||!this['winstonLogger'])return;this[_0x5b5e94(0xcc)][_0x5b5e94(0xd0)](_0x346d48,{'command':_0x83e1a6,'details':_0x561fb6});}async[a171_0x4fe3eb(0xcb)](_0x30d0ef,_0xe68cd1,_0x282c91){const _0x3495d8=a171_0x4fe3eb,_0x40c514=Date[_0x3495d8(0xb5)]();this[_0x3495d8(0xce)](_0x30d0ef,_0x3495d8(0xcf)+_0xe68cd1);try{const _0x4af55b=await _0x282c91(),_0x1fb001=Date['now']()-_0x40c514;return this[_0x3495d8(0xc4)](_0x30d0ef,_0x3495d8(0xc8)+_0xe68cd1,_0x1fb001),_0x4af55b;}catch(_0x5a7b8f){const _0x362a12=Date['now']()-_0x40c514;this['error'](_0x30d0ef,_0x3495d8(0xb8)+_0xe68cd1,{'error':_0x5a7b8f instanceof Error?_0x5a7b8f[_0x3495d8(0xcd)]:String(_0x5a7b8f),'duration':_0x362a12});throw _0x5a7b8f;}}[a171_0x4fe3eb(0xdc)](){const _0x47c27c=a171_0x4fe3eb;try{if(!a171_0x499352[_0x47c27c(0xd4)](this[_0x47c27c(0xd6)]))return[];const _0x3fdfc8=a171_0x499352['readFileSync'](this[_0x47c27c(0xd6)],_0x47c27c(0xdd));return _0x3fdfc8[_0x47c27c(0xe1)](/\r?\n/)['filter'](_0x26c973=>_0x26c973[_0x47c27c(0xb2)]())[_0x47c27c(0xba)](_0x17d59f=>JSON['parse'](_0x17d59f));}catch(_0x11b361){return console[_0x47c27c(0xd0)](_0x47c27c(0xb4),_0x11b361),[];}}['clearLogs'](){const _0xd4de1d=a171_0x4fe3eb;try{a171_0x499352[_0xd4de1d(0xd4)](this[_0xd4de1d(0xd6)])&&a171_0x499352[_0xd4de1d(0xb7)](this[_0xd4de1d(0xd6)],'',_0xd4de1d(0xdd));}catch(_0x3d0609){console['warn'](_0xd4de1d(0xc1),_0x3d0609);}}[a171_0x4fe3eb(0xda)](){return this['winstonLogger'];}}export const logger=new Logger();
1
+ const a171_0x3b1aef=a171_0x50bf;(function(_0x2cd2b7,_0x59b632){const _0x28b269=a171_0x50bf,_0x4dbd0e=_0x2cd2b7();while(!![]){try{const _0x346b04=-parseInt(_0x28b269(0x1f4))/0x1+-parseInt(_0x28b269(0x1e2))/0x2+parseInt(_0x28b269(0x1df))/0x3+parseInt(_0x28b269(0x1fb))/0x4*(parseInt(_0x28b269(0x1f2))/0x5)+parseInt(_0x28b269(0x1ec))/0x6*(-parseInt(_0x28b269(0x1f9))/0x7)+-parseInt(_0x28b269(0x201))/0x8*(parseInt(_0x28b269(0x203))/0x9)+parseInt(_0x28b269(0x206))/0xa*(parseInt(_0x28b269(0x207))/0xb);if(_0x346b04===_0x59b632)break;else _0x4dbd0e['push'](_0x4dbd0e['shift']());}catch(_0x3f2d87){_0x4dbd0e['push'](_0x4dbd0e['shift']());}}}(a171_0x17e1,0x9a102));import a171_0x285263 from'winston';import a171_0x31f244 from'node:fs';function a171_0x17e1(){const _0x349507=['setRawCommand','dirname','toISOString','logTask','readFileSync','transports','initWinstonLogger','logFilePath','553854qcRNvu','mkdirSync','currentRawCommand','231410nYXptO','format','parse','stringify','getWinstonInstance','message','green','join','blue','createLogger','762MVzYVM','success','winstonLogger','now','writeFileSync','printf','5KRBuJt','log','692670CMGPdY','Failed:\x20','rawCommand','addColors','utf8','62573vvFyGk','existsSync','2872732lULGDb','combine','error','info','Failed\x20to\x20read\x20logs:','errors','190360HgbbdF','split','333QqJMDn','clear','yellow','911530OMhNpF','308AatVTp','Starting:\x20','timestamp','command','warn'];a171_0x17e1=function(){return _0x349507;};return a171_0x17e1();}import a171_0x3e340c from'node:path';import{PRODUCT_CONFIG}from'../constant/product.js';function a171_0x50bf(_0xe7f365,_0x33254f){_0xe7f365=_0xe7f365-0x1d7;const _0x17e1e4=a171_0x17e1();let _0x50bf6=_0x17e1e4[_0xe7f365];return _0x50bf6;}class Logger{[a171_0x3b1aef(0x1ee)];[a171_0x3b1aef(0x1de)]='';['currentRawCommand']='';constructor(){}[a171_0x3b1aef(0x1d7)](_0x1e6aa9){const _0x8f9e80=a171_0x3b1aef;this[_0x8f9e80(0x1e1)]=_0x1e6aa9;}['setLogPath'](_0x389700){const _0x5b3ef1=a171_0x3b1aef;this[_0x5b3ef1(0x1de)]=a171_0x3e340c[_0x5b3ef1(0x1e9)](_0x389700,PRODUCT_CONFIG['logFileName']),this['winstonLogger']&&this[_0x5b3ef1(0x1ee)][_0x5b3ef1(0x204)](),this[_0x5b3ef1(0x1dd)]();}[a171_0x3b1aef(0x1dd)](){const _0x5c9e50=a171_0x3b1aef,_0x69d72d=a171_0x3e340c[_0x5c9e50(0x1d8)](this[_0x5c9e50(0x1de)]);!a171_0x31f244[_0x5c9e50(0x1fa)](_0x69d72d)&&a171_0x31f244[_0x5c9e50(0x1e0)](_0x69d72d,{'recursive':!![]});const _0x14bbbe=a171_0x285263[_0x5c9e50(0x1e3)][_0x5c9e50(0x1fc)](a171_0x285263[_0x5c9e50(0x1e3)][_0x5c9e50(0x209)](),a171_0x285263[_0x5c9e50(0x1e3)][_0x5c9e50(0x200)]({'stack':!![]}),a171_0x285263[_0x5c9e50(0x1e3)][_0x5c9e50(0x1f1)](_0xc93aa1=>{const _0x298992=_0x5c9e50,_0xdda907={'timestamp':_0xc93aa1[_0x298992(0x209)]||new Date()[_0x298992(0x1d9)](),'level':_0xc93aa1['level']||_0x298992(0x1fe),'command':_0xc93aa1[_0x298992(0x20a)]||'unknown','rawCommand':_0xc93aa1[_0x298992(0x1f6)]||this[_0x298992(0x1e1)]||undefined,'message':_0xc93aa1[_0x298992(0x1e7)]||'','duration':_0xc93aa1['duration']||undefined,'details':_0xc93aa1['details']||undefined};return JSON[_0x298992(0x1e5)](_0xdda907);}));this[_0x5c9e50(0x1ee)]=a171_0x285263[_0x5c9e50(0x1eb)]({'level':_0x5c9e50(0x1fe),'format':_0x14bbbe,'transports':[new a171_0x285263[(_0x5c9e50(0x1dc))]['File']({'filename':this[_0x5c9e50(0x1de)],'level':_0x5c9e50(0x1fe)})],'silent':![]}),a171_0x285263[_0x5c9e50(0x1f7)]({'success':_0x5c9e50(0x1e8),'error':'red','warn':_0x5c9e50(0x205),'info':_0x5c9e50(0x1ea)});}['info'](_0x146b16,_0x27243d,_0x1f4482){const _0x1beff1=a171_0x3b1aef;if(!this[_0x1beff1(0x1de)]||!this[_0x1beff1(0x1ee)])return;this['winstonLogger'][_0x1beff1(0x1fe)](_0x27243d,{'command':_0x146b16,'details':_0x1f4482});}[a171_0x3b1aef(0x1ed)](_0xf88c9b,_0x42b386,_0x2ea515,_0x3e218e){const _0x31b699=a171_0x3b1aef;if(!this[_0x31b699(0x1de)]||!this[_0x31b699(0x1ee)])return;this['winstonLogger'][_0x31b699(0x1f3)]('info',_0x42b386,{'level':_0x31b699(0x1ed),'command':_0xf88c9b,'duration':_0x2ea515,'details':_0x3e218e});}[a171_0x3b1aef(0x1fd)](_0x521636,_0x32660d,_0xe46cc7){const _0x4d9ac7=a171_0x3b1aef;if(!this['logFilePath']||!this[_0x4d9ac7(0x1ee)])return;this[_0x4d9ac7(0x1ee)][_0x4d9ac7(0x1fd)](_0x32660d,{'command':_0x521636,'details':_0xe46cc7});}[a171_0x3b1aef(0x20b)](_0xe45b32,_0x4ccffc,_0x5eef70){const _0x5c7fa8=a171_0x3b1aef;if(!this['logFilePath']||!this[_0x5c7fa8(0x1ee)])return;this[_0x5c7fa8(0x1ee)][_0x5c7fa8(0x20b)](_0x4ccffc,{'command':_0xe45b32,'details':_0x5eef70});}async[a171_0x3b1aef(0x1da)](_0x330e43,_0xcd2fca,_0x252c95){const _0x26f05b=a171_0x3b1aef,_0x5d2189=Date[_0x26f05b(0x1ef)]();this['info'](_0x330e43,_0x26f05b(0x208)+_0xcd2fca);try{const _0x255177=await _0x252c95(),_0x548365=Date[_0x26f05b(0x1ef)]()-_0x5d2189;return this['success'](_0x330e43,'Completed:\x20'+_0xcd2fca,_0x548365),_0x255177;}catch(_0x2f60e1){const _0x2fcd6f=Date[_0x26f05b(0x1ef)]()-_0x5d2189;this[_0x26f05b(0x1fd)](_0x330e43,_0x26f05b(0x1f5)+_0xcd2fca,{'error':_0x2f60e1 instanceof Error?_0x2f60e1['message']:String(_0x2f60e1),'duration':_0x2fcd6f});throw _0x2f60e1;}}['readLogs'](){const _0xebdd30=a171_0x3b1aef;try{if(!a171_0x31f244[_0xebdd30(0x1fa)](this['logFilePath']))return[];const _0x24e6d8=a171_0x31f244[_0xebdd30(0x1db)](this[_0xebdd30(0x1de)],_0xebdd30(0x1f8));return _0x24e6d8[_0xebdd30(0x202)](/\r?\n/)['filter'](_0x4a1e3c=>_0x4a1e3c['trim']())['map'](_0x51829d=>JSON[_0xebdd30(0x1e4)](_0x51829d));}catch(_0xab3e03){return console[_0xebdd30(0x20b)](_0xebdd30(0x1ff),_0xab3e03),[];}}['clearLogs'](){const _0x134c1a=a171_0x3b1aef;try{a171_0x31f244[_0x134c1a(0x1fa)](this[_0x134c1a(0x1de)])&&a171_0x31f244[_0x134c1a(0x1f0)](this[_0x134c1a(0x1de)],'',_0x134c1a(0x1f8));}catch(_0x5dad63){console[_0x134c1a(0x20b)]('Failed\x20to\x20clear\x20logs:',_0x5dad63);}}[a171_0x3b1aef(0x1e6)](){const _0x3f9c31=a171_0x3b1aef;return this[_0x3f9c31(0x1ee)];}}export const logger=new Logger();
@@ -1 +1 @@
1
- const a172_0x3f256b=a172_0x505c;(function(_0x1b4683,_0x11bc38){const _0x31eb0d=a172_0x505c,_0x1dcd51=_0x1b4683();while(!![]){try{const _0x274541=-parseInt(_0x31eb0d(0x19a))/0x1*(parseInt(_0x31eb0d(0x19f))/0x2)+-parseInt(_0x31eb0d(0x194))/0x3*(parseInt(_0x31eb0d(0x19e))/0x4)+parseInt(_0x31eb0d(0x1a4))/0x5+parseInt(_0x31eb0d(0x19c))/0x6*(parseInt(_0x31eb0d(0x198))/0x7)+-parseInt(_0x31eb0d(0x1a6))/0x8*(-parseInt(_0x31eb0d(0x19b))/0x9)+parseInt(_0x31eb0d(0x1a7))/0xa*(-parseInt(_0x31eb0d(0x19d))/0xb)+parseInt(_0x31eb0d(0x199))/0xc;if(_0x274541===_0x11bc38)break;else _0x1dcd51['push'](_0x1dcd51['shift']());}catch(_0x467c45){_0x1dcd51['push'](_0x1dcd51['shift']());}}}(a172_0x5102,0x96294));function a172_0x505c(_0x165973,_0x150b57){_0x165973=_0x165973-0x192;const _0x5102c1=a172_0x5102();let _0x505c00=_0x5102c1[_0x165973];return _0x505c00;}const JSON_NUMBER_PATTERN=/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?/,MAX_SAFE_INTEGER=BigInt(Number[a172_0x3f256b(0x192)]),MIN_SAFE_INTEGER=BigInt(Number[a172_0x3f256b(0x1a2)]);let restoreResponseJsonParser,responseJsonPrototype,originalResponseJsonDescriptor;function isUnsafeIntegerLiteral(_0x5f02c3){const _0x4dc991=a172_0x3f256b;if(_0x5f02c3['includes']('.')||_0x5f02c3[_0x4dc991(0x196)]('e')||_0x5f02c3[_0x4dc991(0x196)]('E'))return![];const _0x2f4818=BigInt(_0x5f02c3);return _0x2f4818>MAX_SAFE_INTEGER||_0x2f4818<MIN_SAFE_INTEGER;}function quoteUnsafeIntegerLiterals(_0x6e00af){const _0xda30cd=a172_0x3f256b;let _0x284860='',_0x2fe37d=![],_0x1ab096=![];for(let _0xe82c33=0x0;_0xe82c33<_0x6e00af[_0xda30cd(0x195)];){const _0x25fc48=_0x6e00af[_0xe82c33];if(_0x2fe37d){_0x284860+=_0x25fc48,_0xe82c33+=0x1;if(_0x1ab096)_0x1ab096=![];else{if(_0x25fc48==='\x5c')_0x1ab096=!![];else _0x25fc48==='\x22'&&(_0x2fe37d=![]);}continue;}if(_0x25fc48==='\x22'){_0x2fe37d=!![],_0x284860+=_0x25fc48,_0xe82c33+=0x1;continue;}if(_0x25fc48==='-'||_0x25fc48>='0'&&_0x25fc48<='9'){const _0x241163=JSON_NUMBER_PATTERN[_0xda30cd(0x193)](_0x6e00af[_0xda30cd(0x197)](_0xe82c33))?.[0x0];if(_0x241163){_0x284860+=isUnsafeIntegerLiteral(_0x241163)?'\x22'+_0x241163+'\x22':_0x241163,_0xe82c33+=_0x241163[_0xda30cd(0x195)];continue;}}_0x284860+=_0x25fc48,_0xe82c33+=0x1;}return _0x284860;}function a172_0x5102(){const _0x31bd18=['80OmHbXR','30iWYAIg','json','MAX_SAFE_INTEGER','exec','2853267BfdNwT','length','includes','slice','764372UzvXMG','16934196QwxyCP','1EMSoJO','456363JuzEAx','18otZFYI','4274941BvDqzy','4TKURXp','1291754vIQilE','text','defineProperty','MIN_SAFE_INTEGER','parse','5660390TBiJkx','prototype'];a172_0x5102=function(){return _0x31bd18;};return a172_0x5102();}export function parseLosslessJson(_0x53d48e){const _0xcd883=a172_0x3f256b;return JSON[_0xcd883(0x1a3)](quoteUnsafeIntegerLiterals(_0x53d48e));}export function installLosslessJsonResponseParser(){const _0x43973d=a172_0x3f256b;if(typeof Response==='undefined')return()=>{};if(restoreResponseJsonParser)return restoreResponseJsonParser;return responseJsonPrototype=Response[_0x43973d(0x1a5)],originalResponseJsonDescriptor=Object['getOwnPropertyDescriptor'](responseJsonPrototype,_0x43973d(0x1a8)),Object[_0x43973d(0x1a1)](responseJsonPrototype,_0x43973d(0x1a8),{...originalResponseJsonDescriptor??{'configurable':!![],'enumerable':![],'writable':!![]},'value':async function _0x58b594(){const _0x3c0284=_0x43973d;return parseLosslessJson(await this[_0x3c0284(0x1a0)]());}}),restoreResponseJsonParser=()=>{const _0x2cf9a9=_0x43973d;if(!responseJsonPrototype)return;originalResponseJsonDescriptor?Object['defineProperty'](responseJsonPrototype,_0x2cf9a9(0x1a8),originalResponseJsonDescriptor):delete responseJsonPrototype[_0x2cf9a9(0x1a8)],responseJsonPrototype=undefined,originalResponseJsonDescriptor=undefined,restoreResponseJsonParser=undefined;},restoreResponseJsonParser;}export function restoreLosslessJsonResponseParser(){restoreResponseJsonParser?.();}
1
+ const a172_0x1d58ed=a172_0x2da5;(function(_0xb8ec16,_0x4c95d6){const _0x2c973a=a172_0x2da5,_0x24abed=_0xb8ec16();while(!![]){try{const _0x31a9e3=-parseInt(_0x2c973a(0xf9))/0x1*(-parseInt(_0x2c973a(0xf6))/0x2)+-parseInt(_0x2c973a(0xef))/0x3*(parseInt(_0x2c973a(0xe7))/0x4)+parseInt(_0x2c973a(0xee))/0x5*(parseInt(_0x2c973a(0xfd))/0x6)+parseInt(_0x2c973a(0xf3))/0x7+parseInt(_0x2c973a(0xf7))/0x8+parseInt(_0x2c973a(0xfb))/0x9*(-parseInt(_0x2c973a(0xe8))/0xa)+-parseInt(_0x2c973a(0xf1))/0xb*(parseInt(_0x2c973a(0xe9))/0xc);if(_0x31a9e3===_0x4c95d6)break;else _0x24abed['push'](_0x24abed['shift']());}catch(_0x5b36e4){_0x24abed['push'](_0x24abed['shift']());}}}(a172_0x1200,0xae8f6));const JSON_NUMBER_PATTERN=/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?/,MAX_SAFE_INTEGER=BigInt(Number[a172_0x1d58ed(0xf8)]),MIN_SAFE_INTEGER=BigInt(Number[a172_0x1d58ed(0xf5)]);let restoreResponseJsonParser,responseJsonPrototype,originalResponseJsonDescriptor;function isUnsafeIntegerLiteral(_0x376bc9){const _0x20802a=a172_0x1d58ed;if(_0x376bc9[_0x20802a(0xeb)]('.')||_0x376bc9[_0x20802a(0xeb)]('e')||_0x376bc9['includes']('E'))return![];const _0x12f382=BigInt(_0x376bc9);return _0x12f382>MAX_SAFE_INTEGER||_0x12f382<MIN_SAFE_INTEGER;}function a172_0x1200(){const _0x405c80=['defineProperty','102OqiGIU','8lBYNte','20QjohhQ','348kizQdg','length','includes','parse','prototype','45905fIOBep','65127bWInCy','slice','928433JyIlhO','json','4418519brRllt','exec','MIN_SAFE_INTEGER','118xNZanr','10778856hZkjgb','MAX_SAFE_INTEGER','18806oPCkdn','getOwnPropertyDescriptor','171459hmKHEx'];a172_0x1200=function(){return _0x405c80;};return a172_0x1200();}function quoteUnsafeIntegerLiterals(_0x1efe40){const _0x1d4252=a172_0x1d58ed;let _0x16ac05='',_0x393e81=![],_0x228761=![];for(let _0x2db81e=0x0;_0x2db81e<_0x1efe40[_0x1d4252(0xea)];){const _0x472fe0=_0x1efe40[_0x2db81e];if(_0x393e81){_0x16ac05+=_0x472fe0,_0x2db81e+=0x1;if(_0x228761)_0x228761=![];else{if(_0x472fe0==='\x5c')_0x228761=!![];else _0x472fe0==='\x22'&&(_0x393e81=![]);}continue;}if(_0x472fe0==='\x22'){_0x393e81=!![],_0x16ac05+=_0x472fe0,_0x2db81e+=0x1;continue;}if(_0x472fe0==='-'||_0x472fe0>='0'&&_0x472fe0<='9'){const _0x511788=JSON_NUMBER_PATTERN[_0x1d4252(0xf4)](_0x1efe40[_0x1d4252(0xf0)](_0x2db81e))?.[0x0];if(_0x511788){_0x16ac05+=isUnsafeIntegerLiteral(_0x511788)?'\x22'+_0x511788+'\x22':_0x511788,_0x2db81e+=_0x511788[_0x1d4252(0xea)];continue;}}_0x16ac05+=_0x472fe0,_0x2db81e+=0x1;}return _0x16ac05;}function a172_0x2da5(_0x3818ca,_0x36d38e){_0x3818ca=_0x3818ca-0xe7;const _0x120046=a172_0x1200();let _0x2da5ef=_0x120046[_0x3818ca];return _0x2da5ef;}export function parseLosslessJson(_0x305112){const _0x301c09=a172_0x1d58ed;return JSON[_0x301c09(0xec)](quoteUnsafeIntegerLiterals(_0x305112));}export function installLosslessJsonResponseParser(){const _0x241670=a172_0x1d58ed;if(typeof Response==='undefined')return()=>{};if(restoreResponseJsonParser)return restoreResponseJsonParser;return responseJsonPrototype=Response[_0x241670(0xed)],originalResponseJsonDescriptor=Object[_0x241670(0xfa)](responseJsonPrototype,'json'),Object[_0x241670(0xfc)](responseJsonPrototype,'json',{...originalResponseJsonDescriptor??{'configurable':!![],'enumerable':![],'writable':!![]},'value':async function _0x26aaf6(){return parseLosslessJson(await this['text']());}}),restoreResponseJsonParser=()=>{const _0x59af09=_0x241670;if(!responseJsonPrototype)return;originalResponseJsonDescriptor?Object[_0x59af09(0xfc)](responseJsonPrototype,_0x59af09(0xf2),originalResponseJsonDescriptor):delete responseJsonPrototype[_0x59af09(0xf2)],responseJsonPrototype=undefined,originalResponseJsonDescriptor=undefined,restoreResponseJsonParser=undefined;},restoreResponseJsonParser;}export function restoreLosslessJsonResponseParser(){restoreResponseJsonParser?.();}
@@ -1 +1 @@
1
- (function(_0x1a7c54,_0x182230){const _0xe155b2=a173_0xef1f,_0x1bcc35=_0x1a7c54();while(!![]){try{const _0x4fa929=parseInt(_0xe155b2(0xcf))/0x1*(parseInt(_0xe155b2(0xc8))/0x2)+-parseInt(_0xe155b2(0xd0))/0x3*(parseInt(_0xe155b2(0xc6))/0x4)+-parseInt(_0xe155b2(0xbd))/0x5*(parseInt(_0xe155b2(0xbb))/0x6)+-parseInt(_0xe155b2(0xd4))/0x7+parseInt(_0xe155b2(0xbe))/0x8*(-parseInt(_0xe155b2(0xc1))/0x9)+-parseInt(_0xe155b2(0xc4))/0xa*(parseInt(_0xe155b2(0xc7))/0xb)+parseInt(_0xe155b2(0xd5))/0xc;if(_0x4fa929===_0x182230)break;else _0x1bcc35['push'](_0x1bcc35['shift']());}catch(_0x65445a){_0x1bcc35['push'](_0x1bcc35['shift']());}}}(a173_0x2c3e,0xafcc2));import{CliErrors}from'../errors.js';import{parseLosslessJson}from'../utils/lossless-json.js';export const MAX_DATA_UPDATE_IDS=0x3e8;export function parseJsonParams(_0x452a79){const _0x24d850=a173_0xef1f;if(!_0x452a79)return undefined;try{return parseLosslessJson(_0x452a79);}catch{throw CliErrors[_0x24d850(0xcb)]('Invalid\x20JSON\x20for\x20--params:\x20'+_0x452a79);}}function a173_0xef1f(_0x5cb2b5,_0x17be91){_0x5cb2b5=_0x5cb2b5-0xbb;const _0x2c3e17=a173_0x2c3e();let _0xef1f0=_0x2c3e17[_0x5cb2b5];return _0xef1f0;}function a173_0x2c3e(){const _0x31326b=['map','188631frPnxx','string','Invalid\x20JSON\x20for\x20--params:\x20','6229060ssVbih','object','4QuCfNA','22eKVtPr','830Wgcsqa','test','items','validation','data\x20update\x20--params.','isSafeInteger','\x20must\x20be\x20a\x20positive\x20integer\x20or\x20numeric\x20string.','15UJsEzN','94476jxHoBM','Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27','data\x20update\x20id\x20array\x20cannot\x20be\x20empty.','join','5434793uKKxcF','50264364nCPysM','length','16836ljIrdo','isArray','2495uGDVYj','8JSMpMM','\x20records\x20per\x20call;\x20received\x20'];a173_0x2c3e=function(){return _0x31326b;};return a173_0x2c3e();}export function parseJsonParamsValue(_0x45917b){const _0x1ba128=a173_0xef1f;if(!_0x45917b)return undefined;try{return parseLosslessJson(_0x45917b);}catch{throw CliErrors[_0x1ba128(0xcb)](_0x1ba128(0xc3)+_0x45917b);}}export function parseBatchCreateItemsFromParams(_0x32a601){const _0x41359d=a173_0xef1f;if(Array[_0x41359d(0xbc)](_0x32a601))return _0x32a601;if(_0x32a601!==null&&_0x32a601!==undefined&&typeof _0x32a601==='object'&&Array[_0x41359d(0xbc)](_0x32a601[_0x41359d(0xca)]))return _0x32a601[_0x41359d(0xca)];throw CliErrors[_0x41359d(0xcb)]('batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27');}function parseDataUpdateId(_0x568ffc,_0x2e2a8d){const _0x14be16=a173_0xef1f;if(typeof _0x568ffc==='number'&&Number[_0x14be16(0xcd)](_0x568ffc)&&_0x568ffc>0x0)return _0x568ffc;if(typeof _0x568ffc===_0x14be16(0xc2)){if(/^[1-9]\d*$/[_0x14be16(0xc9)](_0x568ffc))return _0x568ffc;}throw CliErrors[_0x14be16(0xcb)](_0x14be16(0xcc)+_0x2e2a8d+_0x14be16(0xce));}export function parseUpdateIdsFromParams(_0x17e8d0){const _0x555c21=a173_0xef1f;if(_0x17e8d0===null||_0x17e8d0===undefined||typeof _0x17e8d0!==_0x555c21(0xc5)||Array[_0x555c21(0xbc)](_0x17e8d0))throw CliErrors['validation']('data\x20update\x20--params\x20must\x20be\x20a\x20JSON\x20object\x20with\x20id.',_0x555c21(0xd1));const _0x5971a3=_0x17e8d0['id'];if(_0x5971a3===undefined||_0x5971a3===null)throw CliErrors[_0x555c21(0xcb)]('data\x20update\x20requires\x20\x22id\x22\x20in\x20--params.',_0x555c21(0xd1));const _0x21b864=Array[_0x555c21(0xbc)](_0x5971a3)?_0x5971a3:[_0x5971a3];if(_0x21b864[_0x555c21(0xd6)]===0x0)throw CliErrors[_0x555c21(0xcb)](_0x555c21(0xd2));if(_0x21b864[_0x555c21(0xd6)]>MAX_DATA_UPDATE_IDS)throw CliErrors[_0x555c21(0xcb)]('data\x20update\x20can\x20update\x20at\x20most\x20'+MAX_DATA_UPDATE_IDS+_0x555c21(0xbf)+_0x21b864[_0x555c21(0xd6)]+'.');return _0x21b864[_0x555c21(0xc0)]((_0x190402,_0x1ff2f8)=>parseDataUpdateId(_0x190402,Array['isArray'](_0x5971a3)?'id['+_0x1ff2f8+']':'id'));}export function normalizeUpdateParamsForRuntime(_0x4ae44f,_0xdd439f){const _0x5d1efa=a173_0xef1f;if(Array['isArray'](_0x4ae44f['id'])&&_0xdd439f[_0x5d1efa(0xd6)]>0x1)return{..._0x4ae44f,'id':_0xdd439f[_0x5d1efa(0xd3)](',')};return _0x4ae44f;}
1
+ function a173_0x2945(){const _0x445491=['map','3960AnJDhq','id[','object','batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','828nmeSvr','124090BoLddJ','number','data\x20update\x20requires\x20\x22id\x22\x20in\x20--params.','Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27','length','\x20must\x20be\x20a\x20positive\x20integer\x20or\x20numeric\x20string.','492VKjdhS','369789DDerDW','1264848dtzbcz','8mrZYZR','347djjXVs','isSafeInteger','items','1722lhUPeC','4232952yJyumQ','validation','Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27','Invalid\x20JSON\x20for\x20--params:\x20','121WJUqwe','11105rKerXJ','data\x20update\x20id\x20array\x20cannot\x20be\x20empty.','isArray'];a173_0x2945=function(){return _0x445491;};return a173_0x2945();}(function(_0x504dce,_0x44a4e6){const _0x25db31=a173_0x2511,_0x2f2784=_0x504dce();while(!![]){try{const _0x466fce=parseInt(_0x25db31(0x181))/0x1*(parseInt(_0x25db31(0x176))/0x2)+-parseInt(_0x25db31(0x17e))/0x3+parseInt(_0x25db31(0x17d))/0x4*(-parseInt(_0x25db31(0x16e))/0x5)+-parseInt(_0x25db31(0x172))/0x6*(parseInt(_0x25db31(0x184))/0x7)+parseInt(_0x25db31(0x180))/0x8*(parseInt(_0x25db31(0x185))/0x9)+-parseInt(_0x25db31(0x177))/0xa*(-parseInt(_0x25db31(0x16d))/0xb)+parseInt(_0x25db31(0x17f))/0xc;if(_0x466fce===_0x44a4e6)break;else _0x2f2784['push'](_0x2f2784['shift']());}catch(_0x3ab436){_0x2f2784['push'](_0x2f2784['shift']());}}}(a173_0x2945,0x4887b));import{CliErrors}from'../errors.js';import{parseLosslessJson}from'../utils/lossless-json.js';export const MAX_DATA_UPDATE_IDS=0x3e8;export function parseJsonParams(_0x4588bf){const _0x133648=a173_0x2511;if(!_0x4588bf)return undefined;try{return parseLosslessJson(_0x4588bf);}catch{throw CliErrors[_0x133648(0x186)](_0x133648(0x16c)+_0x4588bf);}}export function parseJsonParamsValue(_0x3c938e){const _0x29a217=a173_0x2511;if(!_0x3c938e)return undefined;try{return parseLosslessJson(_0x3c938e);}catch{throw CliErrors[_0x29a217(0x186)](_0x29a217(0x16c)+_0x3c938e);}}export function parseBatchCreateItemsFromParams(_0x521bac){const _0x137671=a173_0x2511;if(Array[_0x137671(0x170)](_0x521bac))return _0x521bac;if(_0x521bac!==null&&_0x521bac!==undefined&&typeof _0x521bac===_0x137671(0x174)&&Array[_0x137671(0x170)](_0x521bac[_0x137671(0x183)]))return _0x521bac[_0x137671(0x183)];throw CliErrors[_0x137671(0x186)](_0x137671(0x175),_0x137671(0x17a));}function parseDataUpdateId(_0x1e66c1,_0x408234){const _0x4ea373=a173_0x2511;if(typeof _0x1e66c1===_0x4ea373(0x178)&&Number[_0x4ea373(0x182)](_0x1e66c1)&&_0x1e66c1>0x0)return _0x1e66c1;if(typeof _0x1e66c1==='string'){if(/^[1-9]\d*$/['test'](_0x1e66c1))return _0x1e66c1;}throw CliErrors['validation']('data\x20update\x20--params.'+_0x408234+_0x4ea373(0x17c));}function a173_0x2511(_0x5b787d,_0x10b541){_0x5b787d=_0x5b787d-0x16c;const _0x294574=a173_0x2945();let _0x25113d=_0x294574[_0x5b787d];return _0x25113d;}export function parseUpdateIdsFromParams(_0x5adc1d){const _0x2b8cf2=a173_0x2511;if(_0x5adc1d===null||_0x5adc1d===undefined||typeof _0x5adc1d!==_0x2b8cf2(0x174)||Array[_0x2b8cf2(0x170)](_0x5adc1d))throw CliErrors[_0x2b8cf2(0x186)]('data\x20update\x20--params\x20must\x20be\x20a\x20JSON\x20object\x20with\x20id.',_0x2b8cf2(0x187));const _0x5bb22a=_0x5adc1d['id'];if(_0x5bb22a===undefined||_0x5bb22a===null)throw CliErrors['validation'](_0x2b8cf2(0x179),_0x2b8cf2(0x187));const _0xd1e791=Array[_0x2b8cf2(0x170)](_0x5bb22a)?_0x5bb22a:[_0x5bb22a];if(_0xd1e791['length']===0x0)throw CliErrors[_0x2b8cf2(0x186)](_0x2b8cf2(0x16f));if(_0xd1e791[_0x2b8cf2(0x17b)]>MAX_DATA_UPDATE_IDS)throw CliErrors[_0x2b8cf2(0x186)]('data\x20update\x20can\x20update\x20at\x20most\x20'+MAX_DATA_UPDATE_IDS+'\x20records\x20per\x20call;\x20received\x20'+_0xd1e791[_0x2b8cf2(0x17b)]+'.');return _0xd1e791[_0x2b8cf2(0x171)]((_0x3e981f,_0x34c44a)=>parseDataUpdateId(_0x3e981f,Array[_0x2b8cf2(0x170)](_0x5bb22a)?_0x2b8cf2(0x173)+_0x34c44a+']':'id'));}export function normalizeUpdateParamsForRuntime(_0x43a48b,_0x472fc9){const _0x2724da=a173_0x2511;if(Array[_0x2724da(0x170)](_0x43a48b['id'])&&_0x472fc9[_0x2724da(0x17b)]>0x1)return{..._0x43a48b,'id':_0x472fc9['join'](',')};return _0x43a48b;}
@@ -1 +1 @@
1
- function a174_0x576f(_0x555dbe,_0x3d546b){_0x555dbe=_0x555dbe-0x17e;const _0xa250e5=a174_0xa250();let _0x576f06=_0xa250e5[_0x555dbe];return _0x576f06;}(function(_0x468d97,_0x14b32a){const _0x484668=a174_0x576f,_0x5ddc1c=_0x468d97();while(!![]){try{const _0x59b409=-parseInt(_0x484668(0x185))/0x1*(-parseInt(_0x484668(0x18a))/0x2)+-parseInt(_0x484668(0x189))/0x3+parseInt(_0x484668(0x17f))/0x4+parseInt(_0x484668(0x181))/0x5*(-parseInt(_0x484668(0x183))/0x6)+-parseInt(_0x484668(0x17e))/0x7*(-parseInt(_0x484668(0x182))/0x8)+-parseInt(_0x484668(0x187))/0x9+-parseInt(_0x484668(0x180))/0xa;if(_0x59b409===_0x14b32a)break;else _0x5ddc1c['push'](_0x5ddc1c['shift']());}catch(_0x6f3b43){_0x5ddc1c['push'](_0x5ddc1c['shift']());}}}(a174_0xa250,0xc523b));export function normalizePositiveSafeInteger(_0x30d2c1){const _0x119578=a174_0x576f;if(typeof _0x30d2c1==='number')return Number[_0x119578(0x184)](_0x30d2c1)&&_0x30d2c1>0x0?_0x30d2c1:undefined;if(typeof _0x30d2c1!==_0x119578(0x186)||!/^\d+$/[_0x119578(0x188)](_0x30d2c1))return undefined;const _0x57710=Number(_0x30d2c1);return Number['isSafeInteger'](_0x57710)&&_0x57710>0x0?_0x57710:undefined;}function a174_0xa250(){const _0x3e34c4=['2835558cFjjGy','test','2063850OVcRJX','500aBPXWF','63QbNrDB','4657464ulWBZX','1757090qzfFkZ','5bwIgQD','848984Bxhxke','4981614SXlIzt','isSafeInteger','2788lFJWdQ','string'];a174_0xa250=function(){return _0x3e34c4;};return a174_0xa250();}
1
+ function a174_0x267f(_0x7f142b,_0x3ccfbe){_0x7f142b=_0x7f142b-0xf5;const _0x2da60e=a174_0x2da6();let _0x267f07=_0x2da60e[_0x7f142b];return _0x267f07;}(function(_0x10860e,_0x4a5af3){const _0x11eba0=a174_0x267f,_0xbac10a=_0x10860e();while(!![]){try{const _0x42413f=parseInt(_0x11eba0(0x100))/0x1*(-parseInt(_0x11eba0(0xfe))/0x2)+parseInt(_0x11eba0(0x101))/0x3+-parseInt(_0x11eba0(0xff))/0x4*(-parseInt(_0x11eba0(0xf8))/0x5)+parseInt(_0x11eba0(0x102))/0x6*(parseInt(_0x11eba0(0xf6))/0x7)+-parseInt(_0x11eba0(0xfd))/0x8+parseInt(_0x11eba0(0xf9))/0x9+-parseInt(_0x11eba0(0xfc))/0xa*(parseInt(_0x11eba0(0xf5))/0xb);if(_0x42413f===_0x4a5af3)break;else _0xbac10a['push'](_0xbac10a['shift']());}catch(_0x59b75f){_0xbac10a['push'](_0xbac10a['shift']());}}}(a174_0x2da6,0xb6837));function a174_0x2da6(){const _0x3f90df=['string','100gNVpMW','2511873WxALAN','number','isSafeInteger','10AIeTqy','6276544gtPbWw','4114ClWyXk','261572qjxVze','119vCvZme','1946652QfprbX','90264gfeFfo','21100013FNPiec','679tkOLgY'];a174_0x2da6=function(){return _0x3f90df;};return a174_0x2da6();}export function normalizePositiveSafeInteger(_0x794542){const _0x258bf2=a174_0x267f;if(typeof _0x794542===_0x258bf2(0xfa))return Number[_0x258bf2(0xfb)](_0x794542)&&_0x794542>0x0?_0x794542:undefined;if(typeof _0x794542!==_0x258bf2(0xf7)||!/^\d+$/['test'](_0x794542))return undefined;const _0x835b7b=Number(_0x794542);return Number[_0x258bf2(0xfb)](_0x835b7b)&&_0x835b7b>0x0?_0x835b7b:undefined;}
@@ -1 +1 @@
1
- const a175_0x1d3cf4=a175_0x4371;(function(_0x25572e,_0x343a6b){const _0x5df851=a175_0x4371,_0x3b9c40=_0x25572e();while(!![]){try{const _0xcd0f86=-parseInt(_0x5df851(0xca))/0x1+-parseInt(_0x5df851(0xcc))/0x2+-parseInt(_0x5df851(0xd7))/0x3*(parseInt(_0x5df851(0xcd))/0x4)+-parseInt(_0x5df851(0xc6))/0x5*(-parseInt(_0x5df851(0xd2))/0x6)+-parseInt(_0x5df851(0xd0))/0x7+parseInt(_0x5df851(0xd4))/0x8*(-parseInt(_0x5df851(0xce))/0x9)+-parseInt(_0x5df851(0xd6))/0xa*(-parseInt(_0x5df851(0xd3))/0xb);if(_0xcd0f86===_0x343a6b)break;else _0x3b9c40['push'](_0x3b9c40['shift']());}catch(_0x3d8b5c){_0x3b9c40['push'](_0x3b9c40['shift']());}}}(a175_0x1efc,0xe4903));const REDACTED_VALUE='[REDACTED]',SENSITIVE_KEY_PATTERN=/(?:access.?key|api.?key|authorization|cookie|credential|password|passwd|private.?key|secret|token|webhook)/i,SENSITIVE_FLAG_NAMES=new Set([a175_0x1d3cf4(0xd5),a175_0x1d3cf4(0xc2)]),SENSITIVE_VALUE_KEYS=new Set(['comment']);export function isSensitiveKey(_0x3ade03){const _0x3fbc91=a175_0x1d3cf4,_0x5028ae=_0x3ade03[_0x3fbc91(0xc4)](/_/g,'-')[_0x3fbc91(0xc5)]();return SENSITIVE_KEY_PATTERN[_0x3fbc91(0xc1)](_0x5028ae);}export function isSensitiveFlagName(_0xebad1b){const _0x59eb2b=a175_0x1d3cf4,_0x5db80a=_0xebad1b['replace'](/_/g,'-')[_0x59eb2b(0xc5)]();return isSensitiveKey(_0x5db80a)||SENSITIVE_FLAG_NAMES[_0x59eb2b(0xc9)](_0x5db80a);}function a175_0x4371(_0x24ee10,_0x167de0){_0x24ee10=_0x24ee10-0xc1;const _0x1efc1e=a175_0x1efc();let _0x43717b=_0x1efc1e[_0x24ee10];return _0x43717b;}function redactVariableValues(_0x533635){const _0x59079f=a175_0x1d3cf4;if(Array[_0x59079f(0xc8)](_0x533635))return _0x533635['map'](_0x37f6a7=>redactVariableValues(_0x37f6a7));if(_0x533635&&typeof _0x533635==='object')return Object['fromEntries'](Object[_0x59079f(0xc7)](_0x533635)[_0x59079f(0xcf)](([_0x59d43b,_0x48b53b])=>[_0x59d43b,redactVariableValues(_0x48b53b)]));return REDACTED_VALUE;}export function redactSensitiveValue(_0x627a04){const _0x34e34c=a175_0x1d3cf4;if(Array[_0x34e34c(0xc8)](_0x627a04))return _0x627a04['map'](_0x362fb1=>redactSensitiveValue(_0x362fb1));if(!_0x627a04||typeof _0x627a04!==_0x34e34c(0xd1))return _0x627a04;const _0x1ab458={};for(const [_0x573c3c,_0x3222fb]of Object[_0x34e34c(0xc7)](_0x627a04)){const _0x2b5042=_0x573c3c[_0x34e34c(0xc4)](/_/g,'-')[_0x34e34c(0xc5)]();_0x1ab458[_0x573c3c]=_0x2b5042===_0x34e34c(0xc2)?redactVariableValues(_0x3222fb):SENSITIVE_VALUE_KEYS['has'](_0x2b5042)||isSensitiveKey(_0x573c3c)?REDACTED_VALUE:redactSensitiveValue(_0x3222fb);}return _0x1ab458;}export function redactCommandArgv(_0x164bd5){const _0x3252cf=a175_0x1d3cf4,_0x4afc19=[];let _0x4f85f6=![];for(const _0x1e1d04 of _0x164bd5){if(_0x4f85f6){_0x4afc19['push'](REDACTED_VALUE),_0x4f85f6=![];continue;}const _0x4ca8e3=_0x1e1d04[_0x3252cf(0xcb)](/^--([^=]+)(?:=(.*))?$/);if(!_0x4ca8e3||!isSensitiveFlagName(_0x4ca8e3[0x1]??'')){_0x4afc19[_0x3252cf(0xc3)](_0x1e1d04);continue;}_0x4afc19[_0x3252cf(0xc3)]('--'+_0x4ca8e3[0x1]+(_0x4ca8e3[0x2]===undefined?'':'='+REDACTED_VALUE)),_0x4ca8e3[0x2]===undefined&&(_0x4f85f6=!![]);}return _0x4afc19;}export{REDACTED_VALUE};function a175_0x1efc(){const _0x1ef890=['isArray','has','846010MyvCvW','match','2610094CsBbrB','4744tKXqwk','405FniXGy','map','13104483YCPyek','object','6HngFcv','9515ccNejm','2224NgStPc','comment','60850oPohpx','1797fjuKaW','test','variables','push','replace','toLowerCase','2093600rZhlvB','entries'];a175_0x1efc=function(){return _0x1ef890;};return a175_0x1efc();}
1
+ const a175_0x77057=a175_0x32f9;function a175_0x32f9(_0x2d7114,_0x1e16e0){_0x2d7114=_0x2d7114-0x1ad;const _0x52959b=a175_0x5295();let _0x32f99e=_0x52959b[_0x2d7114];return _0x32f99e;}(function(_0x17a915,_0x250d0){const _0x3bd5a2=a175_0x32f9,_0x34da26=_0x17a915();while(!![]){try{const _0x22e644=-parseInt(_0x3bd5a2(0x1b3))/0x1+-parseInt(_0x3bd5a2(0x1bb))/0x2+-parseInt(_0x3bd5a2(0x1c0))/0x3*(-parseInt(_0x3bd5a2(0x1ad))/0x4)+-parseInt(_0x3bd5a2(0x1b6))/0x5*(parseInt(_0x3bd5a2(0x1b2))/0x6)+-parseInt(_0x3bd5a2(0x1c2))/0x7+parseInt(_0x3bd5a2(0x1be))/0x8+parseInt(_0x3bd5a2(0x1b8))/0x9*(parseInt(_0x3bd5a2(0x1b7))/0xa);if(_0x22e644===_0x250d0)break;else _0x34da26['push'](_0x34da26['shift']());}catch(_0xa33a5a){_0x34da26['push'](_0x34da26['shift']());}}}(a175_0x5295,0x50ada));const REDACTED_VALUE=a175_0x77057(0x1af),SENSITIVE_KEY_PATTERN=/(?:access.?key|api.?key|authorization|cookie|credential|password|passwd|private.?key|secret|token|webhook)/i,SENSITIVE_FLAG_NAMES=new Set([a175_0x77057(0x1c1),a175_0x77057(0x1b1)]),SENSITIVE_VALUE_KEYS=new Set([a175_0x77057(0x1c1)]);export function isSensitiveKey(_0x33ab59){const _0x43b44b=a175_0x77057,_0x7ae133=_0x33ab59[_0x43b44b(0x1bf)](/_/g,'-')[_0x43b44b(0x1b4)]();return SENSITIVE_KEY_PATTERN[_0x43b44b(0x1ae)](_0x7ae133);}export function isSensitiveFlagName(_0x4fbece){const _0x193a0c=a175_0x77057,_0xb7b7a1=_0x4fbece[_0x193a0c(0x1bf)](/_/g,'-')[_0x193a0c(0x1b4)]();return isSensitiveKey(_0xb7b7a1)||SENSITIVE_FLAG_NAMES['has'](_0xb7b7a1);}function redactVariableValues(_0x294963){const _0x546019=a175_0x77057;if(Array[_0x546019(0x1bc)](_0x294963))return _0x294963['map'](_0x30b6f1=>redactVariableValues(_0x30b6f1));if(_0x294963&&typeof _0x294963===_0x546019(0x1b0))return Object['fromEntries'](Object[_0x546019(0x1ba)](_0x294963)[_0x546019(0x1b5)](([_0x883114,_0x1354a4])=>[_0x883114,redactVariableValues(_0x1354a4)]));return REDACTED_VALUE;}export function redactSensitiveValue(_0x35676a){const _0xb9367b=a175_0x77057;if(Array[_0xb9367b(0x1bc)](_0x35676a))return _0x35676a[_0xb9367b(0x1b5)](_0x341b19=>redactSensitiveValue(_0x341b19));if(!_0x35676a||typeof _0x35676a!==_0xb9367b(0x1b0))return _0x35676a;const _0x31baa9={};for(const [_0x3fe96b,_0x2c5b66]of Object[_0xb9367b(0x1ba)](_0x35676a)){const _0xb61e76=_0x3fe96b[_0xb9367b(0x1bf)](/_/g,'-')[_0xb9367b(0x1b4)]();_0x31baa9[_0x3fe96b]=_0xb61e76===_0xb9367b(0x1b1)?redactVariableValues(_0x2c5b66):SENSITIVE_VALUE_KEYS['has'](_0xb61e76)||isSensitiveKey(_0x3fe96b)?REDACTED_VALUE:redactSensitiveValue(_0x2c5b66);}return _0x31baa9;}function a175_0x5295(){const _0x494801=['50YKFUet','2710vxvuzI','37593JgWObg','match','entries','1312268loKzPT','isArray','push','523672emUcpX','replace','1959189uzbXot','comment','1616552jJVsgX','4PKEVzH','test','[REDACTED]','object','variables','171786NfmrqI','346651lYdANN','toLowerCase','map'];a175_0x5295=function(){return _0x494801;};return a175_0x5295();}export function redactCommandArgv(_0x5b8309){const _0x3f663f=a175_0x77057,_0x3684f3=[];let _0x3bbc88=![];for(const _0x951b82 of _0x5b8309){if(_0x3bbc88){_0x3684f3[_0x3f663f(0x1bd)](REDACTED_VALUE),_0x3bbc88=![];continue;}const _0x3e0662=_0x951b82[_0x3f663f(0x1b9)](/^--([^=]+)(?:=(.*))?$/);if(!_0x3e0662||!isSensitiveFlagName(_0x3e0662[0x1]??'')){_0x3684f3[_0x3f663f(0x1bd)](_0x951b82);continue;}_0x3684f3[_0x3f663f(0x1bd)]('--'+_0x3e0662[0x1]+(_0x3e0662[0x2]===undefined?'':'='+REDACTED_VALUE)),_0x3e0662[0x2]===undefined&&(_0x3bbc88=!![]);}return _0x3684f3;}export{REDACTED_VALUE};
@@ -1 +1 @@
1
- (function(_0x1901de,_0x2c12a4){const _0x284bf4=a176_0x1029,_0x2761f8=_0x1901de();while(!![]){try{const _0x8531aa=parseInt(_0x284bf4(0xd4))/0x1*(-parseInt(_0x284bf4(0xc7))/0x2)+-parseInt(_0x284bf4(0xcc))/0x3*(parseInt(_0x284bf4(0xbf))/0x4)+-parseInt(_0x284bf4(0xd2))/0x5*(parseInt(_0x284bf4(0xcf))/0x6)+parseInt(_0x284bf4(0xd5))/0x7*(-parseInt(_0x284bf4(0xd1))/0x8)+parseInt(_0x284bf4(0xc0))/0x9+-parseInt(_0x284bf4(0xca))/0xa+-parseInt(_0x284bf4(0xce))/0xb*(-parseInt(_0x284bf4(0xbd))/0xc);if(_0x8531aa===_0x2c12a4)break;else _0x2761f8['push'](_0x2761f8['shift']());}catch(_0x2a7587){_0x2761f8['push'](_0x2761f8['shift']());}}}(a176_0x4e7a,0x32403));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';import{CLI_BIN_NAME}from'../constant/cli.js';import{checkCliVersion,getCliUpgradeCommand}from'../utils/cli-version-check.js';function a176_0x1029(_0x15214c,_0xcd7eac){_0x15214c=_0x15214c-0xbc;const _0x4e7a25=a176_0x4e7a();let _0x1029fe=_0x4e7a25[_0x15214c];return _0x1029fe;}const UPDATE_NOTICE_TTL_MS=0x18*0x3c*0x3c*0x3e8;function isUpdateNoticeDisabled(){const _0x423872=a176_0x1029,_0x5eae94=process.env.LOVRABET_NO_UPDATE_NOTICE?.[_0x423872(0xc8)]()['toLowerCase']();return _0x5eae94==='1'||_0x5eae94===_0x423872(0xc2)||_0x5eae94==='yes';}function cacheRoot(){return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),'.cache');}export function getUpdateNoticeCachePath(){const _0x18367e=a176_0x1029;return join(cacheRoot(),'lovrabet-cli',_0x18367e(0xc5));}async function readUpdateNoticeCache(){const _0x17be29=a176_0x1029;try{const _0x360f57=await readFile(getUpdateNoticeCachePath(),_0x17be29(0xc4)),_0x129af5=JSON[_0x17be29(0xc9)](_0x360f57);if(!_0x129af5||typeof _0x129af5!=='object')return{};return _0x129af5;}catch{return{};}}async function writeUpdateNoticeCache(_0x5aa497){const _0x3635c5=a176_0x1029;try{const _0x58de3f=getUpdateNoticeCachePath();await mkdir(dirname(_0x58de3f),{'recursive':!![]}),await writeFile(_0x58de3f,JSON['stringify'](_0x5aa497,null,0x2)+'\x0a',_0x3635c5(0xc4));}catch{}}function a176_0x4e7a(){const _0x292007=['join','true',',\x20run:\x20','utf8','update-check.json','upgradeMessage','50322UCZtbE','trim','parse','1943020CkJcQw','/v/','3fmwGdf','\x20is\x20recommended,\x20current\x20','22Odekhw','68940haIdih','stableVersion','4872NRqIpO','25CVLCuT','belowMinimum','1TIRlwm','3794fPuOuB','https://www.npmjs.com/package/','5074044XTUGvz','lastNotifiedAt','724852egAFYV','1335213GdNGKK'];a176_0x4e7a=function(){return _0x292007;};return a176_0x4e7a();}function isRecentlyNotified(_0x3918d5,_0x272e5a,_0x576cfd){const _0x48c9f9=a176_0x1029;return _0x3918d5['lastNotifiedVersion']===_0x272e5a&&typeof _0x3918d5['lastNotifiedAt']==='number'&&_0x576cfd-_0x3918d5[_0x48c9f9(0xbe)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x261de9){const _0x55172d=a176_0x1029;return _0x55172d(0xbc)+LOVRABET_NPM_PACKAGE_NAME+_0x55172d(0xcb)+_0x261de9;}export async function resolveLatestUpdateNotice(_0x456610){const _0x5580bd=a176_0x1029;if(isUpdateNoticeDisabled())return null;try{const _0x2b9a8d=Date['now'](),_0x5cfe77=_0x456610??await checkCliVersion(),_0x3f9826=_0x5cfe77['currentVersion'],_0x35b9c8=_0x5cfe77[_0x5580bd(0xd0)],_0x331b8a=await readUpdateNoticeCache();if(!_0x35b9c8||!_0x5cfe77['needsUpgrade']||_0x5cfe77[_0x5580bd(0xd3)])return null;if(isRecentlyNotified(_0x331b8a,_0x35b9c8,_0x2b9a8d))return null;const _0x236a80=getCliUpgradeCommand(_0x5cfe77);return await writeUpdateNoticeCache({..._0x331b8a,'checkedAt':_0x2b9a8d,'latest':_0x35b9c8,'failed':![],'lastNotifiedVersion':_0x35b9c8,'lastNotifiedAt':_0x2b9a8d}),{'command':_0x236a80,'current':_0x3f9826,'latest':_0x35b9c8,'url':buildNpmVersionUrl(_0x35b9c8),'message':[_0x5cfe77[_0x5580bd(0xc6)],CLI_BIN_NAME+'\x20'+_0x35b9c8+_0x5580bd(0xcd)+_0x3f9826+_0x5580bd(0xc3)+_0x236a80]['filter'](Boolean)[_0x5580bd(0xc1)]('\x20')};}catch{return null;}}
1
+ (function(_0x42c2d8,_0x3bb072){const _0x55584b=a176_0x5596,_0x354b0b=_0x42c2d8();while(!![]){try{const _0x5930d0=-parseInt(_0x55584b(0x1df))/0x1+parseInt(_0x55584b(0x1e8))/0x2+-parseInt(_0x55584b(0x1d3))/0x3*(-parseInt(_0x55584b(0x1da))/0x4)+parseInt(_0x55584b(0x1d8))/0x5+-parseInt(_0x55584b(0x1e7))/0x6*(parseInt(_0x55584b(0x1e2))/0x7)+parseInt(_0x55584b(0x1d7))/0x8*(parseInt(_0x55584b(0x1e6))/0x9)+-parseInt(_0x55584b(0x1d4))/0xa;if(_0x5930d0===_0x3bb072)break;else _0x354b0b['push'](_0x354b0b['shift']());}catch(_0x5ed400){_0x354b0b['push'](_0x354b0b['shift']());}}}(a176_0x564c,0xa04e3));function a176_0x5596(_0x5403a6,_0x383193){_0x5403a6=_0x5403a6-0x1cf;const _0x564cef=a176_0x564c();let _0x559670=_0x564cef[_0x5403a6];return _0x559670;}import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';import{CLI_BIN_NAME}from'../constant/cli.js';import{checkCliVersion,getCliUpgradeCommand}from'../utils/cli-version-check.js';const UPDATE_NOTICE_TTL_MS=0x18*0x3c*0x3c*0x3e8;function a176_0x564c(){const _0x3f4db5=['object','currentVersion','utf8','join','70914GKzucQ','16119600IMUYTr','.cache','yes','176LFHkTB','4512085YXebVr','stableVersion','212WsioZU','update-check.json',',\x20run:\x20','belowMinimum','toLowerCase','1085819uCPWFT','number','lastNotifiedAt','20755WSpUcE','filter','needsUpgrade','upgradeMessage','463041eCIlom','498ofMlah','626752cxJFia','trim'];a176_0x564c=function(){return _0x3f4db5;};return a176_0x564c();}function isUpdateNoticeDisabled(){const _0x318c75=a176_0x5596,_0x2fb824=process.env.LOVRABET_NO_UPDATE_NOTICE?.[_0x318c75(0x1e9)]()[_0x318c75(0x1de)]();return _0x2fb824==='1'||_0x2fb824==='true'||_0x2fb824===_0x318c75(0x1d6);}function cacheRoot(){const _0x174b0e=a176_0x5596;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x174b0e(0x1d5));}export function getUpdateNoticeCachePath(){const _0x534422=a176_0x5596;return join(cacheRoot(),'lovrabet-cli',_0x534422(0x1db));}async function readUpdateNoticeCache(){const _0x154497=a176_0x5596;try{const _0x11336a=await readFile(getUpdateNoticeCachePath(),_0x154497(0x1d1)),_0x379a2e=JSON['parse'](_0x11336a);if(!_0x379a2e||typeof _0x379a2e!==_0x154497(0x1cf))return{};return _0x379a2e;}catch{return{};}}async function writeUpdateNoticeCache(_0x3f71a8){const _0x341849=a176_0x5596;try{const _0x153519=getUpdateNoticeCachePath();await mkdir(dirname(_0x153519),{'recursive':!![]}),await writeFile(_0x153519,JSON['stringify'](_0x3f71a8,null,0x2)+'\x0a',_0x341849(0x1d1));}catch{}}function isRecentlyNotified(_0x520789,_0x29a70d,_0x1d55b6){const _0x263ac9=a176_0x5596;return _0x520789['lastNotifiedVersion']===_0x29a70d&&typeof _0x520789[_0x263ac9(0x1e1)]===_0x263ac9(0x1e0)&&_0x1d55b6-_0x520789[_0x263ac9(0x1e1)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x819e51){return'https://www.npmjs.com/package/'+LOVRABET_NPM_PACKAGE_NAME+'/v/'+_0x819e51;}export async function resolveLatestUpdateNotice(_0x1de7b5){const _0x2c5e2d=a176_0x5596;if(isUpdateNoticeDisabled())return null;try{const _0x3af539=Date['now'](),_0x282ca7=_0x1de7b5??await checkCliVersion(),_0x266afa=_0x282ca7[_0x2c5e2d(0x1d0)],_0x28563d=_0x282ca7[_0x2c5e2d(0x1d9)],_0x259b27=await readUpdateNoticeCache();if(!_0x28563d||!_0x282ca7[_0x2c5e2d(0x1e4)]||_0x282ca7[_0x2c5e2d(0x1dd)])return null;if(isRecentlyNotified(_0x259b27,_0x28563d,_0x3af539))return null;const _0x466907=getCliUpgradeCommand(_0x282ca7);return await writeUpdateNoticeCache({..._0x259b27,'checkedAt':_0x3af539,'latest':_0x28563d,'failed':![],'lastNotifiedVersion':_0x28563d,'lastNotifiedAt':_0x3af539}),{'command':_0x466907,'current':_0x266afa,'latest':_0x28563d,'url':buildNpmVersionUrl(_0x28563d),'message':[_0x282ca7[_0x2c5e2d(0x1e5)],CLI_BIN_NAME+'\x20'+_0x28563d+'\x20is\x20recommended,\x20current\x20'+_0x266afa+_0x2c5e2d(0x1dc)+_0x466907][_0x2c5e2d(0x1e3)](Boolean)[_0x2c5e2d(0x1d2)]('\x20')};}catch{return null;}}
@@ -1 +1 @@
1
- (function(_0x316c4f,_0x2b2da2){const _0x50a893=a177_0x5184,_0x336ee1=_0x316c4f();while(!![]){try{const _0x44a588=parseInt(_0x50a893(0x1b9))/0x1+parseInt(_0x50a893(0x1b8))/0x2+-parseInt(_0x50a893(0x1b4))/0x3*(-parseInt(_0x50a893(0x1b1))/0x4)+-parseInt(_0x50a893(0x1b6))/0x5*(parseInt(_0x50a893(0x1bc))/0x6)+-parseInt(_0x50a893(0x1b5))/0x7+parseInt(_0x50a893(0x1b2))/0x8*(parseInt(_0x50a893(0x1bb))/0x9)+parseInt(_0x50a893(0x1b0))/0xa*(-parseInt(_0x50a893(0x1b3))/0xb);if(_0x44a588===_0x2b2da2)break;else _0x336ee1['push'](_0x336ee1['shift']());}catch(_0x46c352){_0x336ee1['push'](_0x336ee1['shift']());}}}(a177_0x4583,0xc88de));import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';function a177_0x5184(_0x4d9c56,_0xd96cbb){_0x4d9c56=_0x4d9c56-0x1b0;const _0x45836f=a177_0x4583();let _0x518438=_0x45836f[_0x4d9c56];return _0x518438;}function a177_0x4583(){const _0x1460d6=['5244197MvQMCs','1157465YGZGrt','slice','2189694HyEKVB','557763RYssEz','unknown','569106nZfpsH','18IYlNsI','130JhPVVf','37004nROSdz','160WCSunn','1405063bAveZY','327VUeqUN'];a177_0x4583=function(){return _0x1460d6;};return a177_0x4583();}export function getCliVersion(){return VERSION;}export function getCliGitCommit(){const _0x55a6b2=a177_0x5184,_0x3508ba=String(GIT_COMMIT);return _0x3508ba&&_0x3508ba!==_0x55a6b2(0x1ba)?_0x3508ba:'';}export function getCliVersionDisplay(){const _0x146749=a177_0x5184,_0x28ecbc=getCliGitCommit(),_0x21b3c2=BUILD_TIME[_0x146749(0x1b7)](0x0,0xa);if(!_0x28ecbc||!_0x21b3c2)return VERSION;return VERSION+'\x20('+_0x28ecbc+',\x20'+_0x21b3c2+')';}
1
+ (function(_0x50cd58,_0x273d3b){const _0x9074f0=a177_0x25fb,_0x52238f=_0x50cd58();while(!![]){try{const _0x16db86=parseInt(_0x9074f0(0x81))/0x1+-parseInt(_0x9074f0(0x78))/0x2+parseInt(_0x9074f0(0x7a))/0x3*(-parseInt(_0x9074f0(0x77))/0x4)+-parseInt(_0x9074f0(0x80))/0x5*(-parseInt(_0x9074f0(0x7c))/0x6)+parseInt(_0x9074f0(0x7f))/0x7+-parseInt(_0x9074f0(0x79))/0x8*(-parseInt(_0x9074f0(0x7e))/0x9)+-parseInt(_0x9074f0(0x7b))/0xa*(parseInt(_0x9074f0(0x7d))/0xb);if(_0x16db86===_0x273d3b)break;else _0x52238f['push'](_0x52238f['shift']());}catch(_0x4298b2){_0x52238f['push'](_0x52238f['shift']());}}}(a177_0x359d,0x49f56));import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}export function getCliGitCommit(){const _0x4f8cd9=a177_0x25fb,_0x3836b7=String(GIT_COMMIT);return _0x3836b7&&_0x3836b7!==_0x4f8cd9(0x75)?_0x3836b7:'';}export function getCliVersionDisplay(){const _0xf12398=a177_0x25fb,_0x376890=getCliGitCommit(),_0x23f04c=BUILD_TIME[_0xf12398(0x76)](0x0,0xa);if(!_0x376890||!_0x23f04c)return VERSION;return VERSION+'\x20('+_0x376890+',\x20'+_0x23f04c+')';}function a177_0x25fb(_0x2db7ce,_0x43b4f6){_0x2db7ce=_0x2db7ce-0x75;const _0x359d1a=a177_0x359d();let _0x25fbc8=_0x359d1a[_0x2db7ce];return _0x25fbc8;}function a177_0x359d(){const _0x195493=['slice','1249004hPQijj','35390kLuwSz','687704rfaOeu','3enSICY','585910cwHpUs','48olYmWs','11QuWaDl','45lmrjXq','412230GnzigS','92030JUGCcP','55518QZZaog','unknown'];a177_0x359d=function(){return _0x195493;};return a177_0x359d();}
@@ -1 +1 @@
1
- (function(_0x1e1aff,_0x246097){var _0x5580f7=a178_0xd159,_0x1fe181=_0x1e1aff();while(!![]){try{var _0x51ae99=-parseInt(_0x5580f7(0x11c))/0x1+parseInt(_0x5580f7(0x11b))/0x2*(parseInt(_0x5580f7(0x116))/0x3)+-parseInt(_0x5580f7(0x11a))/0x4*(parseInt(_0x5580f7(0x118))/0x5)+-parseInt(_0x5580f7(0x115))/0x6+parseInt(_0x5580f7(0x11d))/0x7+-parseInt(_0x5580f7(0x11e))/0x8+-parseInt(_0x5580f7(0x11f))/0x9*(-parseInt(_0x5580f7(0x119))/0xa);if(_0x51ae99===_0x246097)break;else _0x1fe181['push'](_0x1fe181['shift']());}catch(_0x111a0f){_0x1fe181['push'](_0x1fe181['shift']());}}}(a178_0x1e8d,0xaf181));function a178_0xd159(_0x442269,_0x4ca4e5){_0x442269=_0x442269-0x114;var _0x1e8de3=a178_0x1e8d();var _0xd1599e=_0x1e8de3[_0x442269];return _0xd1599e;}function a178_0x1e8d(){var _0x57ff79=['8208319XGjlZV','384616RgRbnY','9mSMaAJ','stderr','1772376YeXEEj','438GiTSZz','write','8765ndkgZe','6550450nYqLlh','2348GcqsPV','18952vDyFEi','1121489EuZUxr'];a178_0x1e8d=function(){return _0x57ff79;};return a178_0x1e8d();}export function writeCliSideChannelLine(_0xbc22fa){var _0x12be39=a178_0xd159;process[_0x12be39(0x114)][_0x12be39(0x117)](_0xbc22fa+'\x0a');}
1
+ function a178_0xfed7(){var _0x25c5b0=['2739213CCamUT','write','5192zNDBfd','2699300bkiscB','59imwBDV','268648PAMRLu','55QaoSIh','5613849qkncof','stderr','882287GYxFci','12DMrNHr','10ZhOmFd','6461200ZSwpeA'];a178_0xfed7=function(){return _0x25c5b0;};return a178_0xfed7();}function a178_0x5804(_0x4a9295,_0x318314){_0x4a9295=_0x4a9295-0xa7;var _0xfed75=a178_0xfed7();var _0x580422=_0xfed75[_0x4a9295];return _0x580422;}(function(_0xbbca7d,_0x20bf40){var _0x4cc548=a178_0x5804,_0x1bd467=_0xbbca7d();while(!![]){try{var _0x5776fb=-parseInt(_0x4cc548(0xab))/0x1*(parseInt(_0x4cc548(0xa9))/0x2)+-parseInt(_0x4cc548(0xa7))/0x3+parseInt(_0x4cc548(0xac))/0x4*(-parseInt(_0x4cc548(0xb2))/0x5)+-parseInt(_0x4cc548(0xb1))/0x6*(-parseInt(_0x4cc548(0xb0))/0x7)+parseInt(_0x4cc548(0xb3))/0x8+-parseInt(_0x4cc548(0xae))/0x9+-parseInt(_0x4cc548(0xaa))/0xa*(-parseInt(_0x4cc548(0xad))/0xb);if(_0x5776fb===_0x20bf40)break;else _0x1bd467['push'](_0x1bd467['shift']());}catch(_0x40926d){_0x1bd467['push'](_0x1bd467['shift']());}}}(a178_0xfed7,0x8ed66));export function writeCliSideChannelLine(_0x12eb7a){var _0x45b055=a178_0x5804;process[_0x45b055(0xaf)][_0x45b055(0xa8)](_0x12eb7a+'\x0a');}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/lovrabet-cli",
3
- "version": "2.3.7-beta.1",
3
+ "version": "2.3.8-beta.1",
4
4
  "description": "Runtime CLI for Lovrabet apps, datasets, SQL, Backend Function, skills, and AI agent workflows.",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [
@@ -34,7 +34,7 @@
34
34
  }
35
35
  },
36
36
  "engines": {
37
- "node": ">=22.20.0"
37
+ "node": ">=24.0.0"
38
38
  },
39
39
  "publishConfig": {
40
40
  "access": "public"
@@ -1,12 +1,12 @@
1
1
  ---
2
2
  name: lovrabet
3
3
  displayName: Lovrabet 运行态 CLI
4
- version: 2.3.7-beta.1
4
+ version: 2.3.8-beta.1
5
5
  description: "Lovrabet 运行态 CLI — 面向业务场景的 AI 操作套件,通过 lovrabet 命令管理应用目录、业务角色与权限、用户级外部账号、Service Tree 业务命令、API 文档发现、数据集查询、Instant API 数据操作、可恢复 Excel 导入、Custom SQL/Backend Function、Personal Backend Function、文件上传、面向票证类业务材料文字与结构化字段提取的 OCR、审批待办与任务办理、定时任务、Skill、知识库与运行态 app-config key 状态检查。触发词:云图、lovrabet、lovrabet-cli、业务角色、角色成员、页面权限、菜单权限、数据集权限、user-account bind、provider 外部账号绑定、钉钉 userId 绑定、service tree、业务服务树、api-doc、dataset、data filter、Excel 导入、data import-excel、file upload、file query-url、ocr recognize、OCR 识别、票证文字提取、票证字段提取、发票识别、票据识别、证照识别、附件上传、personal-bff、approval、审批、待办、approve、reject、transfer、schedule、定时任务、cron、kb、skill、sql exec、bff exec、app-config、accessKey、compress、jq。"
6
6
  metadata:
7
7
  requires:
8
8
  bins: ["lovrabet"]
9
- node: ">=22.20.0"
9
+ node: ">=24.0.0"
10
10
  cliHelp: "lovrabet --help"
11
11
  ---
12
12
 
@@ -2,8 +2,8 @@
2
2
  "schemaVersion": 1,
3
3
  "name": "lovrabet",
4
4
  "packageName": "@lovrabet/lovrabet-cli",
5
- "packageVersion": "2.3.7-beta.1",
6
- "skillVersion": "2.3.7-beta.1",
5
+ "packageVersion": "2.3.8-beta.1",
6
+ "skillVersion": "2.3.8-beta.1",
7
7
  "files": [
8
8
  "SKILL.md",
9
9
  "guides/app-resolution.md",
@@ -40,5 +40,5 @@
40
40
  "references/lovrabet-user-account.md",
41
41
  "references/lovrabet-workspace.md"
42
42
  ],
43
- "digest": "9687132bc2cecef1061207a561177c6e02469b633615c5c735e52ae6a1fe56f7"
43
+ "digest": "eff5dad531db2b3a864dc67dead9c562ffa390920882329225c3303bc87aa13a"
44
44
  }