@lovrabet/lovrabet-cli 2.3.0-beta.4 → 2.3.0-beta.5

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 (164) hide show
  1. package/lib/cli.js +1 -1
  2. package/lib/commands/api-doc/index.js +1 -1
  3. package/lib/commands/app/cache.js +1 -1
  4. package/lib/commands/app/definitions.js +1 -1
  5. package/lib/commands/app/eligibility.js +1 -1
  6. package/lib/commands/app/mock-loader.js +1 -1
  7. package/lib/commands/app/remote-source.js +1 -1
  8. package/lib/commands/app/shared.js +1 -1
  9. package/lib/commands/app-config/get.js +1 -1
  10. package/lib/commands/app-config/index.js +1 -1
  11. package/lib/commands/artifact/index.js +1 -1
  12. package/lib/commands/auth/device.js +1 -1
  13. package/lib/commands/auth/index.js +1 -1
  14. package/lib/commands/auth/prompt.js +1 -1
  15. package/lib/commands/bff/detail.js +1 -1
  16. package/lib/commands/bff/exec.js +1 -1
  17. package/lib/commands/bff/index.js +1 -1
  18. package/lib/commands/cli-skill/index.js +1 -1
  19. package/lib/commands/common/config-policy.js +1 -1
  20. package/lib/commands/common/constraints.js +1 -1
  21. package/lib/commands/common/flags.js +1 -1
  22. package/lib/commands/common/local-file.js +1 -1
  23. package/lib/commands/config/definitions.js +1 -1
  24. package/lib/commands/config/init.js +1 -1
  25. package/lib/commands/config/shared.js +1 -1
  26. package/lib/commands/data/index.js +1 -1
  27. package/lib/commands/dataset/detail.js +1 -1
  28. package/lib/commands/dataset/index.js +1 -1
  29. package/lib/commands/dataset/list.js +1 -1
  30. package/lib/commands/dataset/sdk-doc.js +1 -1
  31. package/lib/commands/doctor.js +1 -1
  32. package/lib/commands/file/index.js +1 -1
  33. package/lib/commands/init.js +1 -1
  34. package/lib/commands/kb/index.js +1 -1
  35. package/lib/commands/logs/index.js +1 -1
  36. package/lib/commands/notification/config-list.js +1 -1
  37. package/lib/commands/notification/index.js +1 -1
  38. package/lib/commands/notification/shared.js +1 -1
  39. package/lib/commands/ocr/index.js +1 -1
  40. package/lib/commands/permit/dataset-get.js +1 -1
  41. package/lib/commands/permit/dataset-set.js +1 -1
  42. package/lib/commands/permit/index.js +1 -1
  43. package/lib/commands/permit/page-get.js +1 -1
  44. package/lib/commands/permit/page-set.js +1 -1
  45. package/lib/commands/permit/role-menus-set.js +1 -1
  46. package/lib/commands/permit/role-menus.js +1 -1
  47. package/lib/commands/permit/shared.js +1 -1
  48. package/lib/commands/personal-bff/index.js +1 -1
  49. package/lib/commands/registry.js +1 -1
  50. package/lib/commands/role/create.js +1 -1
  51. package/lib/commands/role/delete.js +1 -1
  52. package/lib/commands/role/detail.js +1 -1
  53. package/lib/commands/role/index.js +1 -1
  54. package/lib/commands/role/list.js +1 -1
  55. package/lib/commands/role/shared.js +1 -1
  56. package/lib/commands/role/update.js +1 -1
  57. package/lib/commands/role/user-add.js +1 -1
  58. package/lib/commands/role/user-remove.js +1 -1
  59. package/lib/commands/schedule/index.js +1 -1
  60. package/lib/commands/schema.js +1 -1
  61. package/lib/commands/service/dynamic.js +1 -1
  62. package/lib/commands/service/function-name-adapter.js +1 -1
  63. package/lib/commands/service/index.js +1 -1
  64. package/lib/commands/service/registry.js +1 -1
  65. package/lib/commands/skill/commands/create.js +1 -1
  66. package/lib/commands/skill/commands/diagram.js +1 -1
  67. package/lib/commands/skill/commands/install.js +1 -1
  68. package/lib/commands/skill/commands/list.js +1 -1
  69. package/lib/commands/skill/commands/push.js +1 -1
  70. package/lib/commands/skill/commands/validate.js +1 -1
  71. package/lib/commands/skill/diagram.js +1 -1
  72. package/lib/commands/skill/flags.js +1 -1
  73. package/lib/commands/skill/index.js +1 -1
  74. package/lib/commands/skill/manifest-helpers.js +1 -1
  75. package/lib/commands/skill/push-execute.js +1 -1
  76. package/lib/commands/skill/push-flow-helpers.js +1 -1
  77. package/lib/commands/skill/push-retarget.js +1 -1
  78. package/lib/commands/skill/scopes.js +1 -1
  79. package/lib/commands/skill/summary.js +1 -1
  80. package/lib/commands/skill/templates.js +1 -1
  81. package/lib/commands/skill/validate.js +1 -1
  82. package/lib/commands/sql/detail.js +1 -1
  83. package/lib/commands/sql/exec.js +1 -1
  84. package/lib/commands/sql/index.js +1 -1
  85. package/lib/commands/update.js +1 -1
  86. package/lib/commands/user-account/bind.js +1 -1
  87. package/lib/commands/user-account/index.js +1 -1
  88. package/lib/commands/workspace/index.js +1 -1
  89. package/lib/config/domain-config.js +1 -1
  90. package/lib/config/schema.js +1 -1
  91. package/lib/constant/app.js +1 -1
  92. package/lib/constant/auth-mode.js +1 -1
  93. package/lib/constant/cli.js +1 -1
  94. package/lib/constant/defaults.js +1 -1
  95. package/lib/constant/distribution.js +1 -1
  96. package/lib/constant/domain.js +1 -1
  97. package/lib/constant/env.js +1 -1
  98. package/lib/constant/output.js +1 -1
  99. package/lib/constant/product.js +1 -1
  100. package/lib/constant/region.js +1 -1
  101. package/lib/constant/risk.js +1 -1
  102. package/lib/constant/url.js +1 -1
  103. package/lib/context.js +1 -1
  104. package/lib/core/api-client.js +1 -1
  105. package/lib/core/db-resolver.js +1 -1
  106. package/lib/core/sdk-client.js +1 -1
  107. package/lib/errors.js +1 -1
  108. package/lib/framework/build-all-flags.js +1 -1
  109. package/lib/framework/dryrun.js +1 -1
  110. package/lib/framework/flags.js +1 -1
  111. package/lib/framework/help.js +1 -1
  112. package/lib/framework/index.js +1 -1
  113. package/lib/framework/output.js +1 -1
  114. package/lib/framework/preparse.js +1 -1
  115. package/lib/framework/rate-limit.js +1 -1
  116. package/lib/framework/raw-flags.js +1 -1
  117. package/lib/framework/response.js +1 -1
  118. package/lib/framework/runner-confirmation.js +1 -1
  119. package/lib/framework/runner-error.js +1 -1
  120. package/lib/framework/runner.js +1 -1
  121. package/lib/framework/schema-export.js +1 -1
  122. package/lib/framework/service-order.js +1 -1
  123. package/lib/framework/types.js +1 -1
  124. package/lib/generated/build-info.d.ts +4 -4
  125. package/lib/generated/build-info.js +1 -1
  126. package/lib/help.js +1 -1
  127. package/lib/postinstall.js +1 -1
  128. package/lib/runtime/confirmation.js +1 -1
  129. package/lib/runtime/event.js +1 -1
  130. package/lib/runtime/index.js +1 -1
  131. package/lib/runtime/queue.js +1 -1
  132. package/lib/runtime/resolve.js +1 -1
  133. package/lib/skills/builtin-skill.js +1 -1
  134. package/lib/skills/npx-skills-add.js +1 -1
  135. package/lib/skills/runtime-skill-sync/constants.js +1 -1
  136. package/lib/skills/runtime-skill-sync/fs-utils.js +1 -1
  137. package/lib/skills/runtime-skill-sync/hashing.js +1 -1
  138. package/lib/skills/runtime-skill-sync/install-target.js +1 -1
  139. package/lib/skills/runtime-skill-sync/links.js +1 -1
  140. package/lib/skills/runtime-skill-sync/list-local.js +1 -1
  141. package/lib/skills/runtime-skill-sync/local-files.js +1 -1
  142. package/lib/skills/runtime-skill-sync/materialize.js +1 -1
  143. package/lib/skills/runtime-skill-sync/metadata.js +1 -1
  144. package/lib/skills/runtime-skill-sync/paths.js +1 -1
  145. package/lib/skills/runtime-skill-sync/push.js +1 -1
  146. package/lib/skills/runtime-skill-sync/scopes.js +1 -1
  147. package/lib/skills/runtime-skill-sync/zip-codec.js +1 -1
  148. package/lib/skills/runtime-skill-sync/zip-package.js +1 -1
  149. package/lib/skills/runtime-skill-sync.js +1 -1
  150. package/lib/skills/skill-presence.js +1 -1
  151. package/lib/utils/access-key-redaction.js +1 -1
  152. package/lib/utils/apply-jq-filter.js +1 -1
  153. package/lib/utils/cli-version-check.js +1 -1
  154. package/lib/utils/cli-version-policy.js +1 -1
  155. package/lib/utils/logger.js +1 -1
  156. package/lib/utils/lossless-json.js +1 -1
  157. package/lib/utils/params.js +1 -1
  158. package/lib/utils/platform.js +1 -1
  159. package/lib/utils/update-notice.js +1 -1
  160. package/lib/utils/version.js +1 -1
  161. package/lib/utils/write-cli-side-channel.js +1 -1
  162. package/package.json +1 -1
  163. package/skills/lovrabet/SKILL.md +1 -1
  164. package/skills/lovrabet.manifest.json +3 -3
@@ -1 +1 @@
1
- const a150_0xe03b37=a150_0x4236;(function(_0x495909,_0x440e36){const _0x529ca7=a150_0x4236,_0x551490=_0x495909();while(!![]){try{const _0x3b99b8=parseInt(_0x529ca7(0xf3))/0x1*(-parseInt(_0x529ca7(0x104))/0x2)+parseInt(_0x529ca7(0xec))/0x3*(parseInt(_0x529ca7(0xf5))/0x4)+parseInt(_0x529ca7(0xe9))/0x5*(parseInt(_0x529ca7(0xf9))/0x6)+-parseInt(_0x529ca7(0x103))/0x7*(parseInt(_0x529ca7(0xee))/0x8)+parseInt(_0x529ca7(0x105))/0x9+-parseInt(_0x529ca7(0xf2))/0xa+-parseInt(_0x529ca7(0xfc))/0xb*(-parseInt(_0x529ca7(0xeb))/0xc);if(_0x3b99b8===_0x440e36)break;else _0x551490['push'](_0x551490['shift']());}catch(_0x1d99f7){_0x551490['push'](_0x551490['shift']());}}}(a150_0x1f17,0x78866));import{existsSync,readFileSync}from'node:fs';import{homedir}from'node:os';function a150_0x1f17(){const _0x78fd0e=['29bbeoMj','lockFile','33244GgspCZ','.claude','unusable','join','688254txCEhv','.skill-lock.json','\x20uses\x20unsupported\x20version\x20','11BTuatx','version','recorded','absent','kind','.agents','\x22\x20but\x20no\x20SKILL.md\x20was\x20found\x20in\x20known\x20layouts\x20','58618WqLyDW','64894tlruzi','2972601eDYwCk','reason','not-recorded','skills','includes','\x20has\x20no\x20skills\x20map','\x20records\x20\x22','find','20oDQBQT','parse','13113636UNOiKM','141MyJeWA','globalSkillsDirs','576DcStPH','utf8','message','object','2349840EKEipc'];a150_0x1f17=function(){return _0x78fd0e;};return a150_0x1f17();}import{join}from'node:path';export const SKILL_LOCK_RELATIVE_PATH=join(a150_0xe03b37(0x101),a150_0xe03b37(0xfa));function a150_0x4236(_0x22181d,_0x5a3014){_0x22181d=_0x22181d-0xe3;const _0x1f1725=a150_0x1f17();let _0x423646=_0x1f1725[_0x22181d];return _0x423646;}export const GLOBAL_SKILLS_DIR_RELATIVE_PATHS=[join(a150_0xe03b37(0x101),a150_0xe03b37(0xe4)),join(a150_0xe03b37(0xf6),a150_0xe03b37(0xe4))];const SUPPORTED_LOCK_VERSIONS=[0x3];function readLockLookup(_0x50ba6c,_0x30fb60){const _0x5efe48=a150_0xe03b37;if(!existsSync(_0x50ba6c))return{'kind':_0x5efe48(0xe3)};let _0x2f1df2;try{_0x2f1df2=JSON[_0x5efe48(0xea)](readFileSync(_0x50ba6c,_0x5efe48(0xef)));}catch(_0xb78e54){return{'kind':_0x5efe48(0xf7),'reason':_0x50ba6c+'\x20is\x20unreadable:\x20'+_0xb78e54[_0x5efe48(0xf0)]};}const _0x1047a9=_0x2f1df2;if(typeof _0x1047a9?.['version']!=='number'||!SUPPORTED_LOCK_VERSIONS[_0x5efe48(0xe5)](_0x1047a9[_0x5efe48(0xfd)]))return{'kind':'unusable','reason':_0x50ba6c+_0x5efe48(0xfb)+String(_0x1047a9?.[_0x5efe48(0xfd)])};if(!_0x1047a9['skills']||typeof _0x1047a9[_0x5efe48(0xe4)]!==_0x5efe48(0xf1))return{'kind':_0x5efe48(0xf7),'reason':_0x50ba6c+_0x5efe48(0xe6)};return _0x1047a9['skills'][_0x30fb60]?{'kind':_0x5efe48(0xfe)}:{'kind':'not-recorded'};}export function resolveInstalledSkill(_0x524141,_0x173317){const _0x5f2362=a150_0xe03b37,_0x4b7d63=_0x173317?.['home']??homedir(),_0x2aab9f=_0x173317?.[_0x5f2362(0xed)]??GLOBAL_SKILLS_DIR_RELATIVE_PATHS['map'](_0x4d433=>join(_0x4b7d63,_0x4d433)),_0x2a4a60=_0x173317?.[_0x5f2362(0xf4)]??join(_0x4b7d63,SKILL_LOCK_RELATIVE_PATH),_0x4cfaca=_0x2aab9f['map'](_0x2059d2=>join(_0x2059d2,_0x524141,'SKILL.md')),_0x56827a=_0x4cfaca[_0x5f2362(0xe8)](_0xeb2a62=>existsSync(_0xeb2a62));if(_0x56827a)return{'state':'present','path':_0x56827a};const _0x43788f=readLockLookup(_0x2a4a60,_0x524141);if(_0x43788f[_0x5f2362(0x100)]===_0x5f2362(0xf7))return{'state':'unverifiable','reason':_0x43788f[_0x5f2362(0x106)]};if(_0x43788f[_0x5f2362(0x100)]==='recorded')return{'state':'unverifiable','reason':_0x2a4a60+_0x5f2362(0xe7)+_0x524141+_0x5f2362(0x102)+('('+_0x4cfaca[_0x5f2362(0xf8)](',\x20')+')')};return{'state':_0x5f2362(0xff),'checked':_0x4cfaca};}
1
+ const a150_0x23899d=a150_0x2d9e;(function(_0x54f626,_0x29ed8a){const _0x6a0e3=a150_0x2d9e,_0x2f9649=_0x54f626();while(!![]){try{const _0x406814=parseInt(_0x6a0e3(0x1a4))/0x1+-parseInt(_0x6a0e3(0x19f))/0x2*(parseInt(_0x6a0e3(0x19b))/0x3)+parseInt(_0x6a0e3(0x18f))/0x4+parseInt(_0x6a0e3(0x195))/0x5*(parseInt(_0x6a0e3(0x18e))/0x6)+parseInt(_0x6a0e3(0x19a))/0x7+parseInt(_0x6a0e3(0x1a5))/0x8+-parseInt(_0x6a0e3(0x1a2))/0x9;if(_0x406814===_0x29ed8a)break;else _0x2f9649['push'](_0x2f9649['shift']());}catch(_0x225079){_0x2f9649['push'](_0x2f9649['shift']());}}}(a150_0x13e4,0xa7c19));function a150_0x2d9e(_0x1e9e65,_0x1d736a){_0x1e9e65=_0x1e9e65-0x189;const _0x13e485=a150_0x13e4();let _0x2d9e59=_0x13e485[_0x1e9e65];return _0x2d9e59;}import{existsSync,readFileSync}from'node:fs';import{homedir}from'node:os';import{join}from'node:path';function a150_0x13e4(){const _0xddb437=['.skill-lock.json','version','globalSkillsDirs','includes','\x20is\x20unreadable:\x20','\x22\x20but\x20no\x20SKILL.md\x20was\x20found\x20in\x20known\x20layouts\x20','parse','skills','866298ebDUUL','1307328aoKIea','SKILL.md','message','lockFile','.claude','kind','5UrrtYc','unverifiable','\x20has\x20no\x20skills\x20map','\x20records\x20\x22','recorded','8686622PvyjkG','9dGvwzT','not-recorded','\x20uses\x20unsupported\x20version\x20','absent','442678lzQstj','join','find','9871119WJGgzh','unusable','112161CPBlNl','4988920dMQcRn','map','reason','object','.agents'];a150_0x13e4=function(){return _0xddb437;};return a150_0x13e4();}export const SKILL_LOCK_RELATIVE_PATH=join('.agents',a150_0x23899d(0x1aa));export const GLOBAL_SKILLS_DIR_RELATIVE_PATHS=[join(a150_0x23899d(0x1a9),a150_0x23899d(0x18d)),join(a150_0x23899d(0x193),a150_0x23899d(0x18d))];const SUPPORTED_LOCK_VERSIONS=[0x3];function readLockLookup(_0x255907,_0x165eaf){const _0x52dc4d=a150_0x23899d;if(!existsSync(_0x255907))return{'kind':_0x52dc4d(0x19c)};let _0x2a75f1;try{_0x2a75f1=JSON[_0x52dc4d(0x18c)](readFileSync(_0x255907,'utf8'));}catch(_0x1ad72e){return{'kind':_0x52dc4d(0x1a3),'reason':_0x255907+_0x52dc4d(0x18a)+_0x1ad72e[_0x52dc4d(0x191)]};}const _0x365f05=_0x2a75f1;if(typeof _0x365f05?.[_0x52dc4d(0x1ab)]!=='number'||!SUPPORTED_LOCK_VERSIONS[_0x52dc4d(0x189)](_0x365f05['version']))return{'kind':'unusable','reason':_0x255907+_0x52dc4d(0x19d)+String(_0x365f05?.[_0x52dc4d(0x1ab)])};if(!_0x365f05[_0x52dc4d(0x18d)]||typeof _0x365f05['skills']!==_0x52dc4d(0x1a8))return{'kind':_0x52dc4d(0x1a3),'reason':_0x255907+_0x52dc4d(0x197)};return _0x365f05['skills'][_0x165eaf]?{'kind':_0x52dc4d(0x199)}:{'kind':_0x52dc4d(0x19c)};}export function resolveInstalledSkill(_0xbbcc1,_0x5e9413){const _0x339e99=a150_0x23899d,_0x3eaa22=_0x5e9413?.['home']??homedir(),_0x3c4d67=_0x5e9413?.[_0x339e99(0x1ac)]??GLOBAL_SKILLS_DIR_RELATIVE_PATHS['map'](_0x3ee889=>join(_0x3eaa22,_0x3ee889)),_0x5ac305=_0x5e9413?.[_0x339e99(0x192)]??join(_0x3eaa22,SKILL_LOCK_RELATIVE_PATH),_0x27ba09=_0x3c4d67[_0x339e99(0x1a6)](_0x8d46d2=>join(_0x8d46d2,_0xbbcc1,_0x339e99(0x190))),_0x4726fc=_0x27ba09[_0x339e99(0x1a1)](_0x1de147=>existsSync(_0x1de147));if(_0x4726fc)return{'state':'present','path':_0x4726fc};const _0xe91676=readLockLookup(_0x5ac305,_0xbbcc1);if(_0xe91676[_0x339e99(0x194)]===_0x339e99(0x1a3))return{'state':'unverifiable','reason':_0xe91676[_0x339e99(0x1a7)]};if(_0xe91676['kind']===_0x339e99(0x199))return{'state':_0x339e99(0x196),'reason':_0x5ac305+_0x339e99(0x198)+_0xbbcc1+_0x339e99(0x18b)+('('+_0x27ba09[_0x339e99(0x1a0)](',\x20')+')')};return{'state':_0x339e99(0x19e),'checked':_0x27ba09};}
@@ -1 +1 @@
1
- const a151_0x1a2389=a151_0x13a5;(function(_0x33ad27,_0x432575){const _0x575cc9=a151_0x13a5,_0x2ea8a9=_0x33ad27();while(!![]){try{const _0x5441df=parseInt(_0x575cc9(0x136))/0x1*(-parseInt(_0x575cc9(0x131))/0x2)+-parseInt(_0x575cc9(0x137))/0x3+parseInt(_0x575cc9(0x142))/0x4*(-parseInt(_0x575cc9(0x12d))/0x5)+parseInt(_0x575cc9(0x133))/0x6+parseInt(_0x575cc9(0x145))/0x7*(-parseInt(_0x575cc9(0x130))/0x8)+parseInt(_0x575cc9(0x143))/0x9+parseInt(_0x575cc9(0x141))/0xa*(parseInt(_0x575cc9(0x13d))/0xb);if(_0x5441df===_0x432575)break;else _0x2ea8a9['push'](_0x2ea8a9['shift']());}catch(_0x16e034){_0x2ea8a9['push'](_0x2ea8a9['shift']());}}}(a151_0x2703,0x34c70));const REDACTED_ACCESS_KEY=a151_0x1a2389(0x13c);function a151_0x13a5(_0x478c94,_0x1296ac){_0x478c94=_0x478c94-0x12d;const _0x270399=a151_0x2703();let _0x13a563=_0x270399[_0x478c94];return _0x13a563;}export function maskCliAccessKey(_0x287120){const _0x1ebe11=a151_0x1a2389;if(typeof _0x287120!==_0x1ebe11(0x12e)||_0x287120[_0x1ebe11(0x12f)]<=0x8)return REDACTED_ACCESS_KEY;return''+_0x287120[_0x1ebe11(0x132)](0x0,0x8)+'*'[_0x1ebe11(0x140)](_0x287120[_0x1ebe11(0x12f)]-0x8);}export function redactCliConfigCredentials(_0x5833e4){const _0x2674b4=a151_0x1a2389,_0x577c96={..._0x5833e4};return Object[_0x2674b4(0x13a)]['hasOwnProperty']['call'](_0x577c96,'accessKey')&&(_0x577c96[_0x2674b4(0x13f)]=maskCliAccessKey(_0x577c96['accessKey'])),_0x577c96[_0x2674b4(0x144)]&&typeof _0x577c96[_0x2674b4(0x144)]===_0x2674b4(0x13e)&&!Array[_0x2674b4(0x138)](_0x577c96[_0x2674b4(0x144)])&&(_0x577c96[_0x2674b4(0x144)]=redactLegacyAppCredentials(_0x577c96[_0x2674b4(0x144)])),_0x577c96;}export function redactCliConfigValue(_0x5a5f31,_0x26a993){const _0x2d0775=a151_0x1a2389;if(_0x5a5f31===_0x2d0775(0x13f)||/^apps\.[^.]+\.accessKey$/[_0x2d0775(0x134)](_0x5a5f31))return maskCliAccessKey(_0x26a993);if(_0x5a5f31===_0x2d0775(0x144)&&_0x26a993&&typeof _0x26a993===_0x2d0775(0x13e)&&!Array[_0x2d0775(0x138)](_0x26a993))return redactLegacyAppCredentials(_0x26a993);if(/^apps\.[^.]+$/[_0x2d0775(0x134)](_0x5a5f31)&&_0x26a993&&typeof _0x26a993==='object'&&!Array[_0x2d0775(0x138)](_0x26a993)){const _0x2d8291=_0x26a993;return Object[_0x2d0775(0x13a)]['hasOwnProperty']['call'](_0x2d8291,_0x2d0775(0x13f))?{..._0x2d8291,'accessKey':maskCliAccessKey(_0x2d8291['accessKey'])}:_0x26a993;}return _0x26a993;}function a151_0x2703(){const _0x53e0bd=['string','length','1437280fvYwNl','226HSNjgp','slice','863028hQfOaM','test','hasOwnProperty','3301XTwFfo','1259160aeuMAt','isArray','call','prototype','entries','<redacted>','33mYtyEG','object','accessKey','repeat','3770590tcLsnA','160MMrVGv','556866eRlwMU','apps','7FAzgKe','18540sGTFPG'];a151_0x2703=function(){return _0x53e0bd;};return a151_0x2703();}function redactLegacyAppCredentials(_0x1c5671){const _0x239a3f=a151_0x1a2389;return Object['fromEntries'](Object[_0x239a3f(0x13b)](_0x1c5671)['map'](([_0x2d5f82,_0x27d98e])=>{const _0x14ecf3=_0x239a3f;if(!_0x27d98e||typeof _0x27d98e!==_0x14ecf3(0x13e)||Array[_0x14ecf3(0x138)](_0x27d98e))return[_0x2d5f82,_0x27d98e];const _0x9c17f3={..._0x27d98e};return Object[_0x14ecf3(0x13a)][_0x14ecf3(0x135)][_0x14ecf3(0x139)](_0x9c17f3,'accessKey')&&(_0x9c17f3['accessKey']=maskCliAccessKey(_0x9c17f3[_0x14ecf3(0x13f)])),[_0x2d5f82,_0x9c17f3];}));}
1
+ function a151_0x3be9(_0x4c6f81,_0x307b4d){_0x4c6f81=_0x4c6f81-0x1b7;const _0x52d8c5=a151_0x52d8();let _0x3be92f=_0x52d8c5[_0x4c6f81];return _0x3be92f;}function a151_0x52d8(){const _0x567fe8=['entries','repeat','slice','object','1076704icdBPd','30438924ZWdpNK','639420qAoIaV','fromEntries','map','hasOwnProperty','13HpvzTf','18jEdibn','2031286AdOlxF','10RhawMO','<redacted>','1vFWUXq','71403CeadNi','accessKey','string','apps','call','length','3034866gMTbVI','1345003tGfngP','14ExeEPQ','40LNeQmq','isArray','test','prototype'];a151_0x52d8=function(){return _0x567fe8;};return a151_0x52d8();}const a151_0x4bbcb9=a151_0x3be9;(function(_0x5bc91d,_0x3a6157){const _0x3df84c=a151_0x3be9,_0xacc663=_0x5bc91d();while(!![]){try{const _0x406ec4=parseInt(_0x3df84c(0x1cc))/0x1*(-parseInt(_0x3df84c(0x1c9))/0x2)+-parseInt(_0x3df84c(0x1cd))/0x3*(parseInt(_0x3df84c(0x1b9))/0x4)+parseInt(_0x3df84c(0x1c3))/0x5+parseInt(_0x3df84c(0x1d3))/0x6*(-parseInt(_0x3df84c(0x1b8))/0x7)+-parseInt(_0x3df84c(0x1c1))/0x8*(-parseInt(_0x3df84c(0x1c8))/0x9)+-parseInt(_0x3df84c(0x1ca))/0xa*(parseInt(_0x3df84c(0x1b7))/0xb)+parseInt(_0x3df84c(0x1c2))/0xc*(parseInt(_0x3df84c(0x1c7))/0xd);if(_0x406ec4===_0x3a6157)break;else _0xacc663['push'](_0xacc663['shift']());}catch(_0x495c89){_0xacc663['push'](_0xacc663['shift']());}}}(a151_0x52d8,0x85529));const REDACTED_ACCESS_KEY=a151_0x4bbcb9(0x1cb);export function maskCliAccessKey(_0x476db3){const _0x543e64=a151_0x4bbcb9;if(typeof _0x476db3!==_0x543e64(0x1cf)||_0x476db3[_0x543e64(0x1d2)]<=0x8)return REDACTED_ACCESS_KEY;return''+_0x476db3[_0x543e64(0x1bf)](0x0,0x8)+'*'[_0x543e64(0x1be)](_0x476db3[_0x543e64(0x1d2)]-0x8);}export function redactCliConfigCredentials(_0x1ed5c3){const _0x32668b=a151_0x4bbcb9,_0x4cd774={..._0x1ed5c3};return Object[_0x32668b(0x1bc)][_0x32668b(0x1c6)][_0x32668b(0x1d1)](_0x4cd774,'accessKey')&&(_0x4cd774['accessKey']=maskCliAccessKey(_0x4cd774[_0x32668b(0x1ce)])),_0x4cd774['apps']&&typeof _0x4cd774[_0x32668b(0x1d0)]===_0x32668b(0x1c0)&&!Array[_0x32668b(0x1ba)](_0x4cd774[_0x32668b(0x1d0)])&&(_0x4cd774['apps']=redactLegacyAppCredentials(_0x4cd774[_0x32668b(0x1d0)])),_0x4cd774;}export function redactCliConfigValue(_0x11cdf0,_0x38eeee){const _0x5f1ef7=a151_0x4bbcb9;if(_0x11cdf0===_0x5f1ef7(0x1ce)||/^apps\.[^.]+\.accessKey$/[_0x5f1ef7(0x1bb)](_0x11cdf0))return maskCliAccessKey(_0x38eeee);if(_0x11cdf0===_0x5f1ef7(0x1d0)&&_0x38eeee&&typeof _0x38eeee===_0x5f1ef7(0x1c0)&&!Array[_0x5f1ef7(0x1ba)](_0x38eeee))return redactLegacyAppCredentials(_0x38eeee);if(/^apps\.[^.]+$/[_0x5f1ef7(0x1bb)](_0x11cdf0)&&_0x38eeee&&typeof _0x38eeee===_0x5f1ef7(0x1c0)&&!Array[_0x5f1ef7(0x1ba)](_0x38eeee)){const _0xed23a=_0x38eeee;return Object[_0x5f1ef7(0x1bc)]['hasOwnProperty'][_0x5f1ef7(0x1d1)](_0xed23a,'accessKey')?{..._0xed23a,'accessKey':maskCliAccessKey(_0xed23a[_0x5f1ef7(0x1ce)])}:_0x38eeee;}return _0x38eeee;}function redactLegacyAppCredentials(_0x50a9ed){const _0x30833b=a151_0x4bbcb9;return Object[_0x30833b(0x1c4)](Object[_0x30833b(0x1bd)](_0x50a9ed)[_0x30833b(0x1c5)](([_0x19322d,_0x1b7b52])=>{const _0x46e055=_0x30833b;if(!_0x1b7b52||typeof _0x1b7b52!==_0x46e055(0x1c0)||Array[_0x46e055(0x1ba)](_0x1b7b52))return[_0x19322d,_0x1b7b52];const _0x4d89d1={..._0x1b7b52};return Object[_0x46e055(0x1bc)][_0x46e055(0x1c6)]['call'](_0x4d89d1,'accessKey')&&(_0x4d89d1[_0x46e055(0x1ce)]=maskCliAccessKey(_0x4d89d1[_0x46e055(0x1ce)])),[_0x19322d,_0x4d89d1];}));}
@@ -1 +1 @@
1
- (function(_0x51d7f3,_0x26d5d0){const _0x402f63=a152_0x4d76,_0x36ec3d=_0x51d7f3();while(!![]){try{const _0x2f6c6b=-parseInt(_0x402f63(0x79))/0x1+-parseInt(_0x402f63(0x77))/0x2+parseInt(_0x402f63(0x7b))/0x3*(parseInt(_0x402f63(0x75))/0x4)+-parseInt(_0x402f63(0x73))/0x5+parseInt(_0x402f63(0x76))/0x6*(parseInt(_0x402f63(0x7a))/0x7)+-parseInt(_0x402f63(0x74))/0x8*(-parseInt(_0x402f63(0x78))/0x9)+-parseInt(_0x402f63(0x71))/0xa*(-parseInt(_0x402f63(0x72))/0xb);if(_0x2f6c6b===_0x26d5d0)break;else _0x36ec3d['push'](_0x36ec3d['shift']());}catch(_0x22877f){_0x36ec3d['push'](_0x36ec3d['shift']());}}}(a152_0x567c,0x1aeb1));import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a152_0x567c(){const _0x270219=['25383FagQmu','10969gqgMmz','1713RTbzTa','1797800mwVFfU','11akSAko','498980QsQmpm','80344SgusrU','952CaqRWB','6mlKUwr','424736wjWOdu','117AOwkgU'];a152_0x567c=function(){return _0x270219;};return a152_0x567c();}function a152_0x4d76(_0x33656,_0x5d337d){_0x33656=_0x33656-0x71;const _0x567cab=a152_0x567c();let _0x4d761a=_0x567cab[_0x33656];return _0x4d761a;}import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
1
+ function a152_0x5eba(_0x579edc,_0x4d6cf7){_0x579edc=_0x579edc-0xe1;const _0x104e99=a152_0x104e();let _0x5ebaa=_0x104e99[_0x579edc];return _0x5ebaa;}(function(_0x105a1d,_0x105f2f){const _0x53276f=a152_0x5eba,_0x5bbfb4=_0x105a1d();while(!![]){try{const _0x3a41e5=parseInt(_0x53276f(0xe1))/0x1+parseInt(_0x53276f(0xe7))/0x2*(-parseInt(_0x53276f(0xe5))/0x3)+parseInt(_0x53276f(0xe8))/0x4+-parseInt(_0x53276f(0xe2))/0x5*(-parseInt(_0x53276f(0xe9))/0x6)+-parseInt(_0x53276f(0xe4))/0x7*(parseInt(_0x53276f(0xeb))/0x8)+-parseInt(_0x53276f(0xea))/0x9+-parseInt(_0x53276f(0xe3))/0xa*(-parseInt(_0x53276f(0xe6))/0xb);if(_0x3a41e5===_0x105f2f)break;else _0x5bbfb4['push'](_0x5bbfb4['shift']());}catch(_0x151934){_0x5bbfb4['push'](_0x5bbfb4['shift']());}}}(a152_0x104e,0x46ab5));function a152_0x104e(){const _0x241bcf=['4MmZoTb','2072412UwWjTR','6rwYsch','4010850sLVrFp','171784EMupdM','151623zsCOjZ','65890puHabd','43740yuoiyY','7fbXJUa','158481vZiwFS','451OwvgGl'];a152_0x104e=function(){return _0x241bcf;};return a152_0x104e();}import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
@@ -1 +1 @@
1
- (function(_0x1e4616,_0x368b66){const _0x23d569=a153_0x1d5f,_0x21a9c1=_0x1e4616();while(!![]){try{const _0x292621=-parseInt(_0x23d569(0x95))/0x1+parseInt(_0x23d569(0x9c))/0x2+-parseInt(_0x23d569(0x8f))/0x3*(parseInt(_0x23d569(0x90))/0x4)+-parseInt(_0x23d569(0x9d))/0x5+-parseInt(_0x23d569(0x92))/0x6+parseInt(_0x23d569(0x97))/0x7+parseInt(_0x23d569(0xa2))/0x8;if(_0x292621===_0x368b66)break;else _0x21a9c1['push'](_0x21a9c1['shift']());}catch(_0x620c39){_0x21a9c1['push'](_0x21a9c1['shift']());}}}(a153_0x60b5,0x38f7f));import a153_0x59d83c from'semver';import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';function a153_0x60b5(){const _0x4d90ef=['593134qmDKMW','1751905sXxHSR','stableVersion','upgradeMessage','validation','Current\x20version:\x20','6431736jDWSVR','Current\x20CLI\x20version\x20is\x20below\x20the\x20minimum\x20supported\x20version.','Minimum\x20supported:\x20','minimumVersionMessage','276vFOgtA','1912KurmKJ','belowMinimum','1732512IoshHA','currentVersion','Recommended\x20stable:\x20','376202zNdTNM','unavailable','1344840KTgWgd','npm\x20install\x20-g\x20','filter','latest','minimumVersion'];a153_0x60b5=function(){return _0x4d90ef;};return a153_0x60b5();}import{CliErrors}from'../errors.js';import{getCliVersionPolicy}from'../utils/cli-version-policy.js';import{getCliVersion}from'../utils/version.js';export function evaluateCliVersionPolicy(_0x32c960,_0x14d88b){const _0x49dd82=a153_0x1d5f,_0x4019e8=a153_0x59d83c['valid'](_0x32c960)===_0x32c960,_0x59b96a=_0x14d88b?.['stableVersion']??null,_0x20cd65=_0x14d88b?.[_0x49dd82(0x9b)]??null,_0x11a076=Boolean(_0x4019e8&&_0x59b96a&&a153_0x59d83c['lt'](_0x32c960,_0x59b96a)),_0x41545f=Boolean(_0x4019e8&&_0x20cd65&&a153_0x59d83c['lt'](_0x32c960,_0x20cd65));return{'currentVersion':_0x32c960,'stableVersion':_0x59b96a,'minimumVersion':_0x20cd65,'needsUpgrade':_0x11a076||_0x41545f,'belowMinimum':_0x41545f,'upgradeMessage':_0x14d88b?.[_0x49dd82(0x9f)],'minimumVersionMessage':_0x14d88b?.[_0x49dd82(0x8e)]};}function a153_0x1d5f(_0x3196d9,_0x1e28d3){_0x3196d9=_0x3196d9-0x8c;const _0x60b571=a153_0x60b5();let _0x1d5f34=_0x60b571[_0x3196d9];return _0x1d5f34;}export async function checkCliVersion(){return evaluateCliVersionPolicy(getCliVersion(),await getCliVersionPolicy());}export function getCliUpgradeCommand(_0x3d67ca){const _0x434ba1=a153_0x1d5f;return _0x434ba1(0x98)+LOVRABET_NPM_PACKAGE_NAME+'@'+(_0x3d67ca['stableVersion']??_0x434ba1(0x9a));}export function assertCliVersionSupported(_0x371cef){const _0xecc168=a153_0x1d5f;if(!_0x371cef[_0xecc168(0x91)])return;const _0x12d6b7=[_0x371cef[_0xecc168(0x8e)],_0xecc168(0xa1)+_0x371cef[_0xecc168(0x93)],_0xecc168(0x8d)+_0x371cef['minimumVersion'],_0xecc168(0x94)+(_0x371cef[_0xecc168(0x9e)]??_0xecc168(0x96)),'Upgrade\x20command:\x20'+getCliUpgradeCommand(_0x371cef)][_0xecc168(0x99)](Boolean)['join']('\x0a');throw CliErrors[_0xecc168(0xa0)](_0xecc168(0x8c),_0x12d6b7);}
1
+ (function(_0x773537,_0x520442){const _0x1dc908=a153_0x3254,_0x290641=_0x773537();while(!![]){try{const _0x1c5aba=parseInt(_0x1dc908(0x18e))/0x1+-parseInt(_0x1dc908(0x182))/0x2*(-parseInt(_0x1dc908(0x177))/0x3)+parseInt(_0x1dc908(0x181))/0x4+parseInt(_0x1dc908(0x17c))/0x5*(parseInt(_0x1dc908(0x190))/0x6)+-parseInt(_0x1dc908(0x180))/0x7*(parseInt(_0x1dc908(0x178))/0x8)+parseInt(_0x1dc908(0x189))/0x9*(-parseInt(_0x1dc908(0x185))/0xa)+-parseInt(_0x1dc908(0x17d))/0xb;if(_0x1c5aba===_0x520442)break;else _0x290641['push'](_0x290641['shift']());}catch(_0x2be358){_0x290641['push'](_0x290641['shift']());}}}(a153_0x4d26,0xd9305));import a153_0x5987cf 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(_0x2feb09,_0x330b24){const _0x502b63=a153_0x3254,_0x2f7f77=a153_0x5987cf['valid'](_0x2feb09)===_0x2feb09,_0x1052a5=_0x330b24?.[_0x502b63(0x18b)]??null,_0xcbd494=_0x330b24?.[_0x502b63(0x187)]??null,_0x2596df=Boolean(_0x2f7f77&&_0x1052a5&&a153_0x5987cf['lt'](_0x2feb09,_0x1052a5)),_0x5f3a3b=Boolean(_0x2f7f77&&_0xcbd494&&a153_0x5987cf['lt'](_0x2feb09,_0xcbd494));return{'currentVersion':_0x2feb09,'stableVersion':_0x1052a5,'minimumVersion':_0xcbd494,'needsUpgrade':_0x2596df||_0x5f3a3b,'belowMinimum':_0x5f3a3b,'upgradeMessage':_0x330b24?.['upgradeMessage'],'minimumVersionMessage':_0x330b24?.[_0x502b63(0x184)]};}export async function checkCliVersion(){return evaluateCliVersionPolicy(getCliVersion(),await getCliVersionPolicy());}function a153_0x3254(_0x189705,_0x433107){_0x189705=_0x189705-0x177;const _0x4d2617=a153_0x4d26();let _0x325494=_0x4d2617[_0x189705];return _0x325494;}function a153_0x4d26(){const _0xf62e2f=['minimumVersion','latest','81ggACFf','Recommended\x20stable:\x20','stableVersion','npm\x20install\x20-g\x20','Current\x20CLI\x20version\x20is\x20below\x20the\x20minimum\x20supported\x20version.','577662WTRGhp','filter','186UcgdVv','1554303rWZhEP','8AJOyGi','Upgrade\x20command:\x20','join','belowMinimum','243025OhALXD','9620556uFUYXC','Current\x20version:\x20','unavailable','6091673WoKvXX','2918516jFqzFy','2QiPeaW','Minimum\x20supported:\x20','minimumVersionMessage','775230IwbgIp','currentVersion'];a153_0x4d26=function(){return _0xf62e2f;};return a153_0x4d26();}export function getCliUpgradeCommand(_0x46a459){const _0xe9d985=a153_0x3254;return _0xe9d985(0x18c)+LOVRABET_NPM_PACKAGE_NAME+'@'+(_0x46a459[_0xe9d985(0x18b)]??_0xe9d985(0x188));}export function assertCliVersionSupported(_0x1b0052){const _0x1c88d2=a153_0x3254;if(!_0x1b0052[_0x1c88d2(0x17b)])return;const _0x3698b8=[_0x1b0052[_0x1c88d2(0x184)],_0x1c88d2(0x17e)+_0x1b0052[_0x1c88d2(0x186)],_0x1c88d2(0x183)+_0x1b0052[_0x1c88d2(0x187)],_0x1c88d2(0x18a)+(_0x1b0052[_0x1c88d2(0x18b)]??_0x1c88d2(0x17f)),_0x1c88d2(0x179)+getCliUpgradeCommand(_0x1b0052)][_0x1c88d2(0x18f)](Boolean)[_0x1c88d2(0x17a)]('\x0a');throw CliErrors['validation'](_0x1c88d2(0x18d),_0x3698b8);}
@@ -1 +1 @@
1
- function a154_0x1e6e(){const _0x4913de=['now','minVersion','finally','then','409912BauYVO','32KjpmdV','2745736aPMHeL','valid','minimumVersionMessage','object','55HGQIND','trim','string','minimumVersion','application/json','3128139CBeVeQ','6719769mGDJWQ','timeout','latestVersion','81012uWWwTl','700106qzqwfx','cli','183928YviRqG'];a154_0x1e6e=function(){return _0x4913de;};return a154_0x1e6e();}(function(_0xc45949,_0x278560){const _0xec0427=a154_0x2db2,_0x2f7a85=_0xc45949();while(!![]){try{const _0x450d5b=-parseInt(_0xec0427(0x1a4))/0x1+parseInt(_0xec0427(0x1a2))/0x2+-parseInt(_0xec0427(0x19d))/0x3+parseInt(_0xec0427(0x1a9))/0x4*(-parseInt(_0xec0427(0x1af))/0x5)+-parseInt(_0xec0427(0x1a1))/0x6+-parseInt(_0xec0427(0x1ab))/0x7+-parseInt(_0xec0427(0x1aa))/0x8*(-parseInt(_0xec0427(0x19e))/0x9);if(_0x450d5b===_0x278560)break;else _0x2f7a85['push'](_0x2f7a85['shift']());}catch(_0x33c249){_0x2f7a85['push'](_0x2f7a85['shift']());}}}(a154_0x1e6e,0x8cdc8));import a154_0x4711fa 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(_0x5c3ecd){const _0x356f24=a154_0x2db2;return typeof _0x5c3ecd===_0x356f24(0x1b1)&&_0x5c3ecd[_0x356f24(0x1b0)]()?_0x5c3ecd[_0x356f24(0x1b0)]():null;}function pickStrictSemver(_0x2f0c89){const _0x490e3f=a154_0x2db2,_0x278c9d=pickString(_0x2f0c89);return _0x278c9d&&a154_0x4711fa[_0x490e3f(0x1ac)](_0x278c9d)===_0x278c9d?_0x278c9d:null;}export function normalizeCliVersionPolicy(_0x5a102d){const _0x3350bb=a154_0x2db2;if(!_0x5a102d||typeof _0x5a102d!==_0x3350bb(0x1ae))return null;const _0x2d8765=_0x5a102d,_0x4bee1d=_0x2d8765[_0x3350bb(0x1a3)]&&typeof _0x2d8765[_0x3350bb(0x1a3)]===_0x3350bb(0x1ae)?_0x2d8765[_0x3350bb(0x1a3)]:_0x2d8765,_0x2f21df=pickStrictSemver(_0x4bee1d['stableVersion']??_0x4bee1d[_0x3350bb(0x1a0)]??_0x4bee1d['recommendedVersion']),_0x2fbff2=pickStrictSemver(_0x4bee1d[_0x3350bb(0x1b2)]??_0x4bee1d[_0x3350bb(0x1a6)]);if(!_0x2f21df&&!_0x2fbff2)return null;if(_0x2f21df&&_0x2fbff2&&a154_0x4711fa['gt'](_0x2fbff2,_0x2f21df))return null;return{'stableVersion':_0x2f21df,'minimumVersion':_0x2fbff2,'upgradeMessage':pickString(_0x4bee1d['upgradeMessage'])??undefined,'minimumVersionMessage':pickString(_0x4bee1d[_0x3350bb(0x1ad)])??undefined};}export async function fetchCliVersionPolicy(){const _0x689b8e=a154_0x2db2;try{const _0x48ddc0=await fetch(LOVRABET_CLI_VERSION_POLICY_URL,{'headers':{'Accept':_0x689b8e(0x19c)},'signal':AbortSignal[_0x689b8e(0x19f)](FETCH_TIMEOUT_MS)});if(!_0x48ddc0['ok'])return null;return normalizeCliVersionPolicy(await _0x48ddc0['json']());}catch{return null;}}let cachedPolicy=null,cachedAt=0x0,hasCachedPolicy=![],pendingPolicy=null;function a154_0x2db2(_0x38de56,_0x241b4f){_0x38de56=_0x38de56-0x19c;const _0x1e6e66=a154_0x1e6e();let _0x2db28a=_0x1e6e66[_0x38de56];return _0x2db28a;}export async function getCliVersionPolicy(){const _0x20048d=a154_0x2db2,_0x587dba=Date[_0x20048d(0x1a5)]();if(hasCachedPolicy){const _0x336f7d=cachedPolicy?SUCCESS_CACHE_TTL_MS:FAILURE_CACHE_TTL_MS;if(_0x587dba-cachedAt<_0x336f7d)return cachedPolicy;}if(pendingPolicy)return pendingPolicy;return pendingPolicy=fetchCliVersionPolicy()[_0x20048d(0x1a8)](_0x3d8952=>{const _0x59ed08=_0x20048d;return cachedPolicy=_0x3d8952,cachedAt=Date[_0x59ed08(0x1a5)](),hasCachedPolicy=!![],_0x3d8952;})[_0x20048d(0x1a7)](()=>{pendingPolicy=null;}),pendingPolicy;}export function clearCliVersionPolicyCache(){cachedPolicy=null,cachedAt=0x0,hasCachedPolicy=![],pendingPolicy=null;}
1
+ (function(_0x42b33b,_0x1e899e){const _0x5e5dd4=a154_0x5763,_0x3f9958=_0x42b33b();while(!![]){try{const _0x21327a=parseInt(_0x5e5dd4(0x1d4))/0x1+parseInt(_0x5e5dd4(0x1d7))/0x2+parseInt(_0x5e5dd4(0x1da))/0x3*(parseInt(_0x5e5dd4(0x1d1))/0x4)+-parseInt(_0x5e5dd4(0x1e1))/0x5+-parseInt(_0x5e5dd4(0x1df))/0x6*(-parseInt(_0x5e5dd4(0x1d3))/0x7)+parseInt(_0x5e5dd4(0x1cc))/0x8*(-parseInt(_0x5e5dd4(0x1cf))/0x9)+parseInt(_0x5e5dd4(0x1d0))/0xa;if(_0x21327a===_0x1e899e)break;else _0x3f9958['push'](_0x3f9958['shift']());}catch(_0x2051f9){_0x3f9958['push'](_0x3f9958['shift']());}}}(a154_0x15cd,0xcf9ff));import a154_0x28361e 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(_0x26acaf){const _0x5505b3=a154_0x5763;return typeof _0x26acaf==='string'&&_0x26acaf[_0x5505b3(0x1cd)]()?_0x26acaf[_0x5505b3(0x1cd)]():null;}function pickStrictSemver(_0xd38dc7){const _0x7bfcdc=pickString(_0xd38dc7);return _0x7bfcdc&&a154_0x28361e['valid'](_0x7bfcdc)===_0x7bfcdc?_0x7bfcdc:null;}export function normalizeCliVersionPolicy(_0x49d31e){const _0x3c049=a154_0x5763;if(!_0x49d31e||typeof _0x49d31e!==_0x3c049(0x1d5))return null;const _0xf9def3=_0x49d31e,_0x179096=_0xf9def3[_0x3c049(0x1d8)]&&typeof _0xf9def3[_0x3c049(0x1d8)]==='object'?_0xf9def3[_0x3c049(0x1d8)]:_0xf9def3,_0x4f2095=pickStrictSemver(_0x179096[_0x3c049(0x1e2)]??_0x179096[_0x3c049(0x1d2)]??_0x179096[_0x3c049(0x1dd)]),_0x288f73=pickStrictSemver(_0x179096['minimumVersion']??_0x179096[_0x3c049(0x1d6)]);if(!_0x4f2095&&!_0x288f73)return null;if(_0x4f2095&&_0x288f73&&a154_0x28361e['gt'](_0x288f73,_0x4f2095))return null;return{'stableVersion':_0x4f2095,'minimumVersion':_0x288f73,'upgradeMessage':pickString(_0x179096[_0x3c049(0x1e0)])??undefined,'minimumVersionMessage':pickString(_0x179096[_0x3c049(0x1dc)])??undefined};}export async function fetchCliVersionPolicy(){const _0x1c6a5d=a154_0x5763;try{const _0x5c2e46=await fetch(LOVRABET_CLI_VERSION_POLICY_URL,{'headers':{'Accept':'application/json'},'signal':AbortSignal['timeout'](FETCH_TIMEOUT_MS)});if(!_0x5c2e46['ok'])return null;return normalizeCliVersionPolicy(await _0x5c2e46[_0x1c6a5d(0x1ce)]());}catch{return null;}}let cachedPolicy=null,cachedAt=0x0,hasCachedPolicy=![],pendingPolicy=null;export async function getCliVersionPolicy(){const _0x32c434=a154_0x5763,_0x89b9cf=Date[_0x32c434(0x1db)]();if(hasCachedPolicy){const _0x2a1e17=cachedPolicy?SUCCESS_CACHE_TTL_MS:FAILURE_CACHE_TTL_MS;if(_0x89b9cf-cachedAt<_0x2a1e17)return cachedPolicy;}if(pendingPolicy)return pendingPolicy;return pendingPolicy=fetchCliVersionPolicy()[_0x32c434(0x1de)](_0x5e5ad0=>{const _0x645c95=_0x32c434;return cachedPolicy=_0x5e5ad0,cachedAt=Date[_0x645c95(0x1db)](),hasCachedPolicy=!![],_0x5e5ad0;})[_0x32c434(0x1d9)](()=>{pendingPolicy=null;}),pendingPolicy;}function a154_0x5763(_0x46bf0e,_0x3e3d2c){_0x46bf0e=_0x46bf0e-0x1cc;const _0x15cdef=a154_0x15cd();let _0x5763dc=_0x15cdef[_0x46bf0e];return _0x5763dc;}function a154_0x15cd(){const _0x94fd4d=['stableVersion','16lcqMmV','trim','json','4728879YBWQni','11917330hjrJai','4YSWtvh','latestVersion','7gJMeSI','424888OokuYZ','object','minVersion','269372YERVRx','cli','finally','343065iLqdcd','now','minimumVersionMessage','recommendedVersion','then','7821102BpDcfS','upgradeMessage','6339430BHPVPO'];a154_0x15cd=function(){return _0x94fd4d;};return a154_0x15cd();}export function clearCliVersionPolicyCache(){cachedPolicy=null,cachedAt=0x0,hasCachedPolicy=![],pendingPolicy=null;}
@@ -1 +1 @@
1
- const a155_0x381a03=a155_0x4048;(function(_0x3c4619,_0x2ef7d0){const _0x6fa872=a155_0x4048,_0x1eba11=_0x3c4619();while(!![]){try{const _0x5f496b=-parseInt(_0x6fa872(0x79))/0x1*(parseInt(_0x6fa872(0x82))/0x2)+-parseInt(_0x6fa872(0x90))/0x3*(-parseInt(_0x6fa872(0x88))/0x4)+-parseInt(_0x6fa872(0x7e))/0x5*(-parseInt(_0x6fa872(0x70))/0x6)+parseInt(_0x6fa872(0x65))/0x7+parseInt(_0x6fa872(0x7c))/0x8*(-parseInt(_0x6fa872(0x83))/0x9)+-parseInt(_0x6fa872(0x8e))/0xa*(parseInt(_0x6fa872(0x7b))/0xb)+parseInt(_0x6fa872(0x6e))/0xc;if(_0x5f496b===_0x2ef7d0)break;else _0x1eba11['push'](_0x1eba11['shift']());}catch(_0x40db50){_0x1eba11['push'](_0x1eba11['shift']());}}}(a155_0x29d4,0x95d5d));import a155_0x1f7441 from'winston';import a155_0x21b867 from'node:fs';import a155_0x70922c from'node:path';import{PRODUCT_CONFIG}from'../constant/product.js';class Logger{[a155_0x381a03(0x95)];[a155_0x381a03(0xa0)]='';[a155_0x381a03(0x86)]='';constructor(){}[a155_0x381a03(0x6c)](_0x2bb6ac){const _0x54cfd4=a155_0x381a03;this[_0x54cfd4(0x86)]=_0x2bb6ac;}[a155_0x381a03(0x8b)](_0x52222b){const _0x1297f8=a155_0x381a03;this[_0x1297f8(0xa0)]=a155_0x70922c[_0x1297f8(0x78)](_0x52222b,PRODUCT_CONFIG[_0x1297f8(0x8f)]),this[_0x1297f8(0x95)]&&this[_0x1297f8(0x95)][_0x1297f8(0x8d)](),this[_0x1297f8(0x89)]();}[a155_0x381a03(0x89)](){const _0x3f7231=a155_0x381a03,_0x2c7659=a155_0x70922c[_0x3f7231(0x68)](this['logFilePath']);!a155_0x21b867[_0x3f7231(0x94)](_0x2c7659)&&a155_0x21b867[_0x3f7231(0x67)](_0x2c7659,{'recursive':!![]});const _0x28d314=a155_0x1f7441[_0x3f7231(0x69)][_0x3f7231(0x7a)](a155_0x1f7441[_0x3f7231(0x69)][_0x3f7231(0x9e)](),a155_0x1f7441[_0x3f7231(0x69)][_0x3f7231(0x6b)]({'stack':!![]}),a155_0x1f7441[_0x3f7231(0x69)][_0x3f7231(0x85)](_0x58d81f=>{const _0x423fba=_0x3f7231,_0x40bff3={'timestamp':_0x58d81f['timestamp']||new Date()[_0x423fba(0x81)](),'level':_0x58d81f['level']||'info','command':_0x58d81f['command']||_0x423fba(0x8c),'rawCommand':_0x58d81f[_0x423fba(0x77)]||this[_0x423fba(0x86)]||undefined,'message':_0x58d81f['message']||'','duration':_0x58d81f[_0x423fba(0x9c)]||undefined,'details':_0x58d81f[_0x423fba(0x6d)]||undefined};return JSON[_0x423fba(0x96)](_0x40bff3);}));this['winstonLogger']=a155_0x1f7441[_0x3f7231(0x76)]({'level':_0x3f7231(0x92),'format':_0x28d314,'transports':[new a155_0x1f7441[(_0x3f7231(0x75))][(_0x3f7231(0x71))]({'filename':this[_0x3f7231(0xa0)],'level':'info'})],'silent':![]}),a155_0x1f7441[_0x3f7231(0x80)]({'success':_0x3f7231(0x9d),'error':_0x3f7231(0x9a),'warn':_0x3f7231(0x97),'info':'blue'});}[a155_0x381a03(0x92)](_0x539f8f,_0x4e123b,_0x28a338){const _0x18370b=a155_0x381a03;if(!this[_0x18370b(0xa0)]||!this[_0x18370b(0x95)])return;this[_0x18370b(0x95)][_0x18370b(0x92)](_0x4e123b,{'command':_0x539f8f,'details':_0x28a338});}['success'](_0xfd98c3,_0x980b1f,_0x5dcda4,_0x2ab1a5){const _0x5bc860=a155_0x381a03;if(!this[_0x5bc860(0xa0)]||!this['winstonLogger'])return;this[_0x5bc860(0x95)][_0x5bc860(0x66)](_0x5bc860(0x92),_0x980b1f,{'level':_0x5bc860(0x9b),'command':_0xfd98c3,'duration':_0x5dcda4,'details':_0x2ab1a5});}['error'](_0x9bec4a,_0x4d2457,_0x245d2e){const _0x42ae9c=a155_0x381a03;if(!this[_0x42ae9c(0xa0)]||!this['winstonLogger'])return;this['winstonLogger'][_0x42ae9c(0x73)](_0x4d2457,{'command':_0x9bec4a,'details':_0x245d2e});}['warn'](_0x35627b,_0x59a4a9,_0x4a4bc1){const _0x5abcd9=a155_0x381a03;if(!this['logFilePath']||!this['winstonLogger'])return;this[_0x5abcd9(0x95)][_0x5abcd9(0x87)](_0x59a4a9,{'command':_0x35627b,'details':_0x4a4bc1});}async[a155_0x381a03(0x98)](_0x539a5f,_0x329189,_0x140b48){const _0x5b010e=a155_0x381a03,_0x50930b=Date[_0x5b010e(0x9f)]();this[_0x5b010e(0x92)](_0x539a5f,_0x5b010e(0x74)+_0x329189);try{const _0xd397b3=await _0x140b48(),_0x33af08=Date['now']()-_0x50930b;return this[_0x5b010e(0x9b)](_0x539a5f,_0x5b010e(0x72)+_0x329189,_0x33af08),_0xd397b3;}catch(_0x1d28c3){const _0x352cff=Date[_0x5b010e(0x9f)]()-_0x50930b;this[_0x5b010e(0x73)](_0x539a5f,_0x5b010e(0x6a)+_0x329189,{'error':_0x1d28c3 instanceof Error?_0x1d28c3['message']:String(_0x1d28c3),'duration':_0x352cff});throw _0x1d28c3;}}[a155_0x381a03(0x8a)](){const _0x7b4576=a155_0x381a03;try{if(!a155_0x21b867[_0x7b4576(0x94)](this[_0x7b4576(0xa0)]))return[];const _0x474a6f=a155_0x21b867[_0x7b4576(0x7f)](this['logFilePath'],_0x7b4576(0x6f));return _0x474a6f['split'](/\r?\n/)[_0x7b4576(0x93)](_0x3293c4=>_0x3293c4[_0x7b4576(0x84)]())['map'](_0x3367b3=>JSON['parse'](_0x3367b3));}catch(_0x2a9b4){return console['warn'](_0x7b4576(0x91),_0x2a9b4),[];}}[a155_0x381a03(0x7d)](){const _0x4b30e1=a155_0x381a03;try{a155_0x21b867[_0x4b30e1(0x94)](this['logFilePath'])&&a155_0x21b867['writeFileSync'](this[_0x4b30e1(0xa0)],'','utf8');}catch(_0x158528){console[_0x4b30e1(0x87)](_0x4b30e1(0x99),_0x158528);}}['getWinstonInstance'](){const _0x2b062c=a155_0x381a03;return this[_0x2b062c(0x95)];}}function a155_0x4048(_0x1ebe39,_0x103c67){_0x1ebe39=_0x1ebe39-0x65;const _0x29d4e9=a155_0x29d4();let _0x40485a=_0x29d4e9[_0x1ebe39];return _0x40485a;}export const logger=new Logger();function a155_0x29d4(){const _0x41351b=['createLogger','rawCommand','join','258ELjMXu','combine','72391VLcyQY','2653480HZbOWX','clearLogs','150AtYOPc','readFileSync','addColors','toISOString','8504OwqrNb','9yqyniA','trim','printf','currentRawCommand','warn','135404agDnUR','initWinstonLogger','readLogs','setLogPath','unknown','clear','1470sDbVzN','logFileName','63rGbiSO','Failed\x20to\x20read\x20logs:','info','filter','existsSync','winstonLogger','stringify','yellow','logTask','Failed\x20to\x20clear\x20logs:','red','success','duration','green','timestamp','now','logFilePath','6188154xOhIbj','log','mkdirSync','dirname','format','Failed:\x20','errors','setRawCommand','details','9498120CQzZnB','utf8','124686FfmTFC','File','Completed:\x20','error','Starting:\x20','transports'];a155_0x29d4=function(){return _0x41351b;};return a155_0x29d4();}
1
+ const a155_0x1815f4=a155_0x53bd;(function(_0x132902,_0x419610){const _0x2467f9=a155_0x53bd,_0x5bb205=_0x132902();while(!![]){try{const _0x4415f9=-parseInt(_0x2467f9(0x16a))/0x1+-parseInt(_0x2467f9(0x15e))/0x2*(-parseInt(_0x2467f9(0x17b))/0x3)+parseInt(_0x2467f9(0x15d))/0x4+-parseInt(_0x2467f9(0x179))/0x5*(-parseInt(_0x2467f9(0x181))/0x6)+parseInt(_0x2467f9(0x169))/0x7*(-parseInt(_0x2467f9(0x161))/0x8)+parseInt(_0x2467f9(0x17d))/0x9*(-parseInt(_0x2467f9(0x158))/0xa)+parseInt(_0x2467f9(0x167))/0xb;if(_0x4415f9===_0x419610)break;else _0x5bb205['push'](_0x5bb205['shift']());}catch(_0x57ad2d){_0x5bb205['push'](_0x5bb205['shift']());}}}(a155_0x2822,0x9b504));import a155_0x586b36 from'winston';import a155_0x65950a from'node:fs';import a155_0x22bfd1 from'node:path';function a155_0x53bd(_0x36b19b,_0x46d29e){_0x36b19b=_0x36b19b-0x153;const _0x28228f=a155_0x2822();let _0x53bd09=_0x28228f[_0x36b19b];return _0x53bd09;}import{PRODUCT_CONFIG}from'../constant/product.js';class Logger{['winstonLogger'];[a155_0x1815f4(0x170)]='';['currentRawCommand']='';constructor(){}['setRawCommand'](_0x2e4048){const _0x4a1588=a155_0x1815f4;this[_0x4a1588(0x171)]=_0x2e4048;}[a155_0x1815f4(0x172)](_0x4adf59){const _0x13c47e=a155_0x1815f4;this[_0x13c47e(0x170)]=a155_0x22bfd1[_0x13c47e(0x15a)](_0x4adf59,PRODUCT_CONFIG[_0x13c47e(0x16d)]),this['winstonLogger']&&this[_0x13c47e(0x16b)][_0x13c47e(0x177)](),this['initWinstonLogger']();}[a155_0x1815f4(0x183)](){const _0x1906b8=a155_0x1815f4,_0x2bb4bb=a155_0x22bfd1[_0x1906b8(0x155)](this[_0x1906b8(0x170)]);!a155_0x65950a[_0x1906b8(0x175)](_0x2bb4bb)&&a155_0x65950a['mkdirSync'](_0x2bb4bb,{'recursive':!![]});const _0x3d1cc5=a155_0x586b36['format'][_0x1906b8(0x184)](a155_0x586b36['format']['timestamp'](),a155_0x586b36['format'][_0x1906b8(0x168)]({'stack':!![]}),a155_0x586b36[_0x1906b8(0x166)][_0x1906b8(0x164)](_0x511d0c=>{const _0x3e53f7=_0x1906b8,_0xe4d337={'timestamp':_0x511d0c[_0x3e53f7(0x163)]||new Date()['toISOString'](),'level':_0x511d0c[_0x3e53f7(0x160)]||_0x3e53f7(0x16c),'command':_0x511d0c['command']||_0x3e53f7(0x180),'rawCommand':_0x511d0c[_0x3e53f7(0x17f)]||this[_0x3e53f7(0x171)]||undefined,'message':_0x511d0c['message']||'','duration':_0x511d0c[_0x3e53f7(0x16f)]||undefined,'details':_0x511d0c[_0x3e53f7(0x15b)]||undefined};return JSON['stringify'](_0xe4d337);}));this['winstonLogger']=a155_0x586b36[_0x1906b8(0x174)]({'level':_0x1906b8(0x16c),'format':_0x3d1cc5,'transports':[new a155_0x586b36[(_0x1906b8(0x153))]['File']({'filename':this[_0x1906b8(0x170)],'level':'info'})],'silent':![]}),a155_0x586b36[_0x1906b8(0x173)]({'success':_0x1906b8(0x157),'error':'red','warn':_0x1906b8(0x189),'info':_0x1906b8(0x185)});}[a155_0x1815f4(0x16c)](_0x4eff5b,_0x292db2,_0x4319e1){const _0x98d2e3=a155_0x1815f4;if(!this[_0x98d2e3(0x170)]||!this[_0x98d2e3(0x16b)])return;this[_0x98d2e3(0x16b)][_0x98d2e3(0x16c)](_0x292db2,{'command':_0x4eff5b,'details':_0x4319e1});}['success'](_0x2bb083,_0x621046,_0x3edce6,_0x5c2085){const _0x3e1b08=a155_0x1815f4;if(!this[_0x3e1b08(0x170)]||!this[_0x3e1b08(0x16b)])return;this[_0x3e1b08(0x16b)][_0x3e1b08(0x182)](_0x3e1b08(0x16c),_0x621046,{'level':_0x3e1b08(0x16e),'command':_0x2bb083,'duration':_0x3edce6,'details':_0x5c2085});}[a155_0x1815f4(0x187)](_0x3b5ff3,_0x55ae31,_0x2034ee){const _0x44f9b3=a155_0x1815f4;if(!this['logFilePath']||!this[_0x44f9b3(0x16b)])return;this['winstonLogger'][_0x44f9b3(0x187)](_0x55ae31,{'command':_0x3b5ff3,'details':_0x2034ee});}[a155_0x1815f4(0x156)](_0x513016,_0x76afbb,_0x51bca7){const _0x7702d2=a155_0x1815f4;if(!this[_0x7702d2(0x170)]||!this['winstonLogger'])return;this[_0x7702d2(0x16b)][_0x7702d2(0x156)](_0x76afbb,{'command':_0x513016,'details':_0x51bca7});}async[a155_0x1815f4(0x17c)](_0x4c5bc9,_0x634e69,_0xc5f20a){const _0x1fefff=a155_0x1815f4,_0x482bff=Date[_0x1fefff(0x15f)]();this[_0x1fefff(0x16c)](_0x4c5bc9,_0x1fefff(0x178)+_0x634e69);try{const _0x501ee6=await _0xc5f20a(),_0x303780=Date[_0x1fefff(0x15f)]()-_0x482bff;return this[_0x1fefff(0x16e)](_0x4c5bc9,_0x1fefff(0x17e)+_0x634e69,_0x303780),_0x501ee6;}catch(_0x3ea5ef){const _0x19c472=Date[_0x1fefff(0x15f)]()-_0x482bff;this[_0x1fefff(0x187)](_0x4c5bc9,_0x1fefff(0x165)+_0x634e69,{'error':_0x3ea5ef instanceof Error?_0x3ea5ef['message']:String(_0x3ea5ef),'duration':_0x19c472});throw _0x3ea5ef;}}[a155_0x1815f4(0x186)](){const _0x1eae78=a155_0x1815f4;try{if(!a155_0x65950a['existsSync'](this[_0x1eae78(0x170)]))return[];const _0x32a352=a155_0x65950a[_0x1eae78(0x15c)](this[_0x1eae78(0x170)],_0x1eae78(0x154));return _0x32a352[_0x1eae78(0x18a)](/\r?\n/)[_0x1eae78(0x188)](_0x17baf9=>_0x17baf9['trim']())[_0x1eae78(0x176)](_0x90acf0=>JSON['parse'](_0x90acf0));}catch(_0x4bba58){return console[_0x1eae78(0x156)]('Failed\x20to\x20read\x20logs:',_0x4bba58),[];}}[a155_0x1815f4(0x159)](){const _0x3abfc4=a155_0x1815f4;try{a155_0x65950a[_0x3abfc4(0x175)](this[_0x3abfc4(0x170)])&&a155_0x65950a['writeFileSync'](this[_0x3abfc4(0x170)],'',_0x3abfc4(0x154));}catch(_0x44327d){console[_0x3abfc4(0x156)](_0x3abfc4(0x17a),_0x44327d);}}[a155_0x1815f4(0x162)](){const _0x4b1b0b=a155_0x1815f4;return this[_0x4b1b0b(0x16b)];}}export const logger=new Logger();function a155_0x2822(){const _0x1288ba=['format','8832142nQJLOV','errors','189NCKMzZ','984667oLETqc','winstonLogger','info','logFileName','success','duration','logFilePath','currentRawCommand','setLogPath','addColors','createLogger','existsSync','map','clear','Starting:\x20','3331820NtUXyi','Failed\x20to\x20clear\x20logs:','33zvBOia','logTask','9ZbykfW','Completed:\x20','rawCommand','unknown','6kGqFlo','log','initWinstonLogger','combine','blue','readLogs','error','filter','yellow','split','transports','utf8','dirname','warn','green','8758780HSEyMH','clearLogs','join','details','readFileSync','839652IjUPuP','188014YUzNsm','now','level','64168RTeGyf','getWinstonInstance','timestamp','printf','Failed:\x20'];a155_0x2822=function(){return _0x1288ba;};return a155_0x2822();}
@@ -1 +1 @@
1
- const a156_0x2f2160=a156_0x4334;(function(_0x53bf00,_0x17a81c){const _0x59e002=a156_0x4334,_0x376fe0=_0x53bf00();while(!![]){try{const _0x3aa204=-parseInt(_0x59e002(0x1ab))/0x1*(parseInt(_0x59e002(0x1be))/0x2)+-parseInt(_0x59e002(0x1b0))/0x3+-parseInt(_0x59e002(0x1ba))/0x4*(parseInt(_0x59e002(0x1b6))/0x5)+parseInt(_0x59e002(0x1bf))/0x6+parseInt(_0x59e002(0x1bb))/0x7+parseInt(_0x59e002(0x1b7))/0x8*(parseInt(_0x59e002(0x1b1))/0x9)+parseInt(_0x59e002(0x1ac))/0xa*(-parseInt(_0x59e002(0x1b9))/0xb);if(_0x3aa204===_0x17a81c)break;else _0x376fe0['push'](_0x376fe0['shift']());}catch(_0x483e71){_0x376fe0['push'](_0x376fe0['shift']());}}}(a156_0x1c4a,0xcb06f));const JSON_NUMBER_PATTERN=/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?/,MAX_SAFE_INTEGER=BigInt(Number[a156_0x2f2160(0x1c0)]),MIN_SAFE_INTEGER=BigInt(Number[a156_0x2f2160(0x1b3)]);let restoreResponseJsonParser,responseJsonPrototype,originalResponseJsonDescriptor;function isUnsafeIntegerLiteral(_0x358aad){const _0x553fe7=a156_0x2f2160;if(_0x358aad['includes']('.')||_0x358aad[_0x553fe7(0x1af)]('e')||_0x358aad[_0x553fe7(0x1af)]('E'))return![];const _0x5b6b73=BigInt(_0x358aad);return _0x5b6b73>MAX_SAFE_INTEGER||_0x5b6b73<MIN_SAFE_INTEGER;}function quoteUnsafeIntegerLiterals(_0x5f1625){const _0x5f0907=a156_0x2f2160;let _0x1d1f6c='',_0x8e2f25=![],_0x40db24=![];for(let _0x212240=0x0;_0x212240<_0x5f1625[_0x5f0907(0x1b5)];){const _0xe5d7f8=_0x5f1625[_0x212240];if(_0x8e2f25){_0x1d1f6c+=_0xe5d7f8,_0x212240+=0x1;if(_0x40db24)_0x40db24=![];else{if(_0xe5d7f8==='\x5c')_0x40db24=!![];else _0xe5d7f8==='\x22'&&(_0x8e2f25=![]);}continue;}if(_0xe5d7f8==='\x22'){_0x8e2f25=!![],_0x1d1f6c+=_0xe5d7f8,_0x212240+=0x1;continue;}if(_0xe5d7f8==='-'||_0xe5d7f8>='0'&&_0xe5d7f8<='9'){const _0x5a368f=JSON_NUMBER_PATTERN[_0x5f0907(0x1b2)](_0x5f1625[_0x5f0907(0x1bd)](_0x212240))?.[0x0];if(_0x5a368f){_0x1d1f6c+=isUnsafeIntegerLiteral(_0x5a368f)?'\x22'+_0x5a368f+'\x22':_0x5a368f,_0x212240+=_0x5a368f[_0x5f0907(0x1b5)];continue;}}_0x1d1f6c+=_0xe5d7f8,_0x212240+=0x1;}return _0x1d1f6c;}function a156_0x4334(_0x233ced,_0x5d13ac){_0x233ced=_0x233ced-0x1aa;const _0x1c4a86=a156_0x1c4a();let _0x43347f=_0x1c4a86[_0x233ced];return _0x43347f;}export function parseLosslessJson(_0x15bc5a){const _0xfabad=a156_0x2f2160;return JSON[_0xfabad(0x1c1)](quoteUnsafeIntegerLiterals(_0x15bc5a));}export function installLosslessJsonResponseParser(){const _0x1f824b=a156_0x2f2160;if(typeof Response===_0x1f824b(0x1ad))return()=>{};if(restoreResponseJsonParser)return restoreResponseJsonParser;return responseJsonPrototype=Response[_0x1f824b(0x1b4)],originalResponseJsonDescriptor=Object[_0x1f824b(0x1ae)](responseJsonPrototype,_0x1f824b(0x1bc)),Object[_0x1f824b(0x1aa)](responseJsonPrototype,'json',{...originalResponseJsonDescriptor??{'configurable':!![],'enumerable':![],'writable':!![]},'value':async function _0x29f542(){const _0x42dca0=_0x1f824b;return parseLosslessJson(await this[_0x42dca0(0x1b8)]());}}),restoreResponseJsonParser=()=>{const _0x338dc6=_0x1f824b;if(!responseJsonPrototype)return;originalResponseJsonDescriptor?Object[_0x338dc6(0x1aa)](responseJsonPrototype,_0x338dc6(0x1bc),originalResponseJsonDescriptor):delete responseJsonPrototype['json'],responseJsonPrototype=undefined,originalResponseJsonDescriptor=undefined,restoreResponseJsonParser=undefined;},restoreResponseJsonParser;}export function restoreLosslessJsonResponseParser(){restoreResponseJsonParser?.();}function a156_0x1c4a(){const _0x29ec81=['6671064tRAOlS','text','11EfeqHg','121252TjZGag','10901275ODqxAk','json','slice','164PqsVZY','6458562CgiHeA','MAX_SAFE_INTEGER','parse','defineProperty','18253mYKGEi','22710AKzAbb','undefined','getOwnPropertyDescriptor','includes','773826nvoubE','9aOfdTh','exec','MIN_SAFE_INTEGER','prototype','length','145pZglsh'];a156_0x1c4a=function(){return _0x29ec81;};return a156_0x1c4a();}
1
+ function a156_0x1d1d(){const _0x122859=['11dtDGcV','text','slice','24XkpKUU','1138629GFiWSV','undefined','prototype','1951425aaPnGE','15046884fUeile','includes','MIN_SAFE_INTEGER','642420tKwgCD','4NiAoLZ','defineProperty','MAX_SAFE_INTEGER','length','parse','json','741251KbCXGF','113865RFPNoD','18WhGauh','6fceOzR','217385vABpKE'];a156_0x1d1d=function(){return _0x122859;};return a156_0x1d1d();}const a156_0x5359b8=a156_0x3f00;function a156_0x3f00(_0x45518b,_0x26b672){_0x45518b=_0x45518b-0xa3;const _0x1d1d63=a156_0x1d1d();let _0x3f0003=_0x1d1d63[_0x45518b];return _0x3f0003;}(function(_0x4788ac,_0xd74aab){const _0x1745e3=a156_0x3f00,_0x849aed=_0x4788ac();while(!![]){try{const _0x422327=-parseInt(_0x1745e3(0xa4))/0x1*(parseInt(_0x1745e3(0xa6))/0x2)+parseInt(_0x1745e3(0xac))/0x3*(-parseInt(_0x1745e3(0xb4))/0x4)+-parseInt(_0x1745e3(0xa7))/0x5*(-parseInt(_0x1745e3(0xa5))/0x6)+parseInt(_0x1745e3(0xa3))/0x7*(-parseInt(_0x1745e3(0xab))/0x8)+-parseInt(_0x1745e3(0xaf))/0x9+parseInt(_0x1745e3(0xb3))/0xa+parseInt(_0x1745e3(0xa8))/0xb*(parseInt(_0x1745e3(0xb0))/0xc);if(_0x422327===_0xd74aab)break;else _0x849aed['push'](_0x849aed['shift']());}catch(_0x3f05c9){_0x849aed['push'](_0x849aed['shift']());}}}(a156_0x1d1d,0x2f1aa));const JSON_NUMBER_PATTERN=/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?/,MAX_SAFE_INTEGER=BigInt(Number[a156_0x5359b8(0xb6)]),MIN_SAFE_INTEGER=BigInt(Number[a156_0x5359b8(0xb2)]);let restoreResponseJsonParser,responseJsonPrototype,originalResponseJsonDescriptor;function isUnsafeIntegerLiteral(_0x43c46b){const _0x3de80e=a156_0x5359b8;if(_0x43c46b['includes']('.')||_0x43c46b[_0x3de80e(0xb1)]('e')||_0x43c46b[_0x3de80e(0xb1)]('E'))return![];const _0x2093c0=BigInt(_0x43c46b);return _0x2093c0>MAX_SAFE_INTEGER||_0x2093c0<MIN_SAFE_INTEGER;}function quoteUnsafeIntegerLiterals(_0x4e69cc){const _0x5bd914=a156_0x5359b8;let _0x214f74='',_0x34ae51=![],_0xc6d9c2=![];for(let _0x323070=0x0;_0x323070<_0x4e69cc[_0x5bd914(0xb7)];){const _0x186fd5=_0x4e69cc[_0x323070];if(_0x34ae51){_0x214f74+=_0x186fd5,_0x323070+=0x1;if(_0xc6d9c2)_0xc6d9c2=![];else{if(_0x186fd5==='\x5c')_0xc6d9c2=!![];else _0x186fd5==='\x22'&&(_0x34ae51=![]);}continue;}if(_0x186fd5==='\x22'){_0x34ae51=!![],_0x214f74+=_0x186fd5,_0x323070+=0x1;continue;}if(_0x186fd5==='-'||_0x186fd5>='0'&&_0x186fd5<='9'){const _0x543f06=JSON_NUMBER_PATTERN['exec'](_0x4e69cc[_0x5bd914(0xaa)](_0x323070))?.[0x0];if(_0x543f06){_0x214f74+=isUnsafeIntegerLiteral(_0x543f06)?'\x22'+_0x543f06+'\x22':_0x543f06,_0x323070+=_0x543f06[_0x5bd914(0xb7)];continue;}}_0x214f74+=_0x186fd5,_0x323070+=0x1;}return _0x214f74;}export function parseLosslessJson(_0x4c2bd7){const _0x3b12a2=a156_0x5359b8;return JSON[_0x3b12a2(0xb8)](quoteUnsafeIntegerLiterals(_0x4c2bd7));}export function installLosslessJsonResponseParser(){const _0x193bf7=a156_0x5359b8;if(typeof Response===_0x193bf7(0xad))return()=>{};if(restoreResponseJsonParser)return restoreResponseJsonParser;return responseJsonPrototype=Response[_0x193bf7(0xae)],originalResponseJsonDescriptor=Object['getOwnPropertyDescriptor'](responseJsonPrototype,_0x193bf7(0xb9)),Object[_0x193bf7(0xb5)](responseJsonPrototype,_0x193bf7(0xb9),{...originalResponseJsonDescriptor??{'configurable':!![],'enumerable':![],'writable':!![]},'value':async function _0x241e06(){const _0xbb833d=_0x193bf7;return parseLosslessJson(await this[_0xbb833d(0xa9)]());}}),restoreResponseJsonParser=()=>{const _0x5571c4=_0x193bf7;if(!responseJsonPrototype)return;originalResponseJsonDescriptor?Object[_0x5571c4(0xb5)](responseJsonPrototype,'json',originalResponseJsonDescriptor):delete responseJsonPrototype['json'],responseJsonPrototype=undefined,originalResponseJsonDescriptor=undefined,restoreResponseJsonParser=undefined;},restoreResponseJsonParser;}export function restoreLosslessJsonResponseParser(){restoreResponseJsonParser?.();}
@@ -1 +1 @@
1
- (function(_0x3c9f4d,_0xb9201d){const _0x17e442=a157_0x714f,_0x20531e=_0x3c9f4d();while(!![]){try{const _0x21a6ca=-parseInt(_0x17e442(0xf7))/0x1+parseInt(_0x17e442(0xea))/0x2*(-parseInt(_0x17e442(0xe7))/0x3)+parseInt(_0x17e442(0xef))/0x4+parseInt(_0x17e442(0xec))/0x5*(-parseInt(_0x17e442(0xe3))/0x6)+parseInt(_0x17e442(0xf0))/0x7*(parseInt(_0x17e442(0xfa))/0x8)+-parseInt(_0x17e442(0xe4))/0x9+parseInt(_0x17e442(0xff))/0xa*(parseInt(_0x17e442(0xf8))/0xb);if(_0x21a6ca===_0xb9201d)break;else _0x20531e['push'](_0x20531e['shift']());}catch(_0x558f86){_0x20531e['push'](_0x20531e['shift']());}}}(a157_0x463a,0xcefd8));import{CliErrors}from'../errors.js';function a157_0x463a(){const _0x40102c=['10HXTyBE','number','8448GqyfuD','13942440jjZlGK','id[','Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27','51yvNHPY','map','string','159826kdlGsy','validation','1075qivKuL','data\x20update\x20--params\x20must\x20be\x20a\x20JSON\x20object\x20with\x20id.','isArray','3650912vDunPE','253799bNRzDm','Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27','data\x20update\x20id\x20array\x20cannot\x20be\x20empty.','items','\x20records\x20per\x20call;\x20received\x20','test','length','445979yWeKMp','23553244wRqPys','batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','320lMODGX','Invalid\x20JSON\x20for\x20--params:\x20','data\x20update\x20can\x20update\x20at\x20most\x20','data\x20update\x20requires\x20\x22id\x22\x20in\x20--params.','data\x20update\x20--params.'];a157_0x463a=function(){return _0x40102c;};return a157_0x463a();}import{parseLosslessJson}from'../utils/lossless-json.js';function a157_0x714f(_0x2e45db,_0x88dcd6){_0x2e45db=_0x2e45db-0xe3;const _0x463a95=a157_0x463a();let _0x714faa=_0x463a95[_0x2e45db];return _0x714faa;}export const MAX_DATA_UPDATE_IDS=0x3e8;export function parseJsonParams(_0x1d70fc){const _0x321f30=a157_0x714f;if(!_0x1d70fc)return undefined;try{return parseLosslessJson(_0x1d70fc);}catch{throw CliErrors[_0x321f30(0xeb)]('Invalid\x20JSON\x20for\x20--params:\x20'+_0x1d70fc);}}export function parseJsonParamsValue(_0x36d1d1){const _0x28e911=a157_0x714f;if(!_0x36d1d1)return undefined;try{return parseLosslessJson(_0x36d1d1);}catch{throw CliErrors[_0x28e911(0xeb)](_0x28e911(0xfb)+_0x36d1d1);}}export function parseBatchCreateItemsFromParams(_0x95ccf5){const _0x1dc160=a157_0x714f;if(Array[_0x1dc160(0xee)](_0x95ccf5))return _0x95ccf5;if(_0x95ccf5!==null&&_0x95ccf5!==undefined&&typeof _0x95ccf5==='object'&&Array[_0x1dc160(0xee)](_0x95ccf5[_0x1dc160(0xf3)]))return _0x95ccf5['items'];throw CliErrors[_0x1dc160(0xeb)](_0x1dc160(0xf9),_0x1dc160(0xe6));}function parseDataUpdateId(_0x5814a8,_0x2869af){const _0x142981=a157_0x714f;if(typeof _0x5814a8===_0x142981(0x100)&&Number['isSafeInteger'](_0x5814a8)&&_0x5814a8>0x0)return _0x5814a8;if(typeof _0x5814a8===_0x142981(0xe9)){if(/^[1-9]\d*$/[_0x142981(0xf5)](_0x5814a8))return _0x5814a8;}throw CliErrors[_0x142981(0xeb)](_0x142981(0xfe)+_0x2869af+'\x20must\x20be\x20a\x20positive\x20integer\x20or\x20numeric\x20string.');}export function parseUpdateIdsFromParams(_0x4423ae){const _0x5f2f02=a157_0x714f;if(_0x4423ae===null||_0x4423ae===undefined||typeof _0x4423ae!=='object'||Array[_0x5f2f02(0xee)](_0x4423ae))throw CliErrors[_0x5f2f02(0xeb)](_0x5f2f02(0xed),_0x5f2f02(0xf1));const _0x2d6fdb=_0x4423ae['id'];if(_0x2d6fdb===undefined||_0x2d6fdb===null)throw CliErrors[_0x5f2f02(0xeb)](_0x5f2f02(0xfd),_0x5f2f02(0xf1));const _0x4841cc=Array['isArray'](_0x2d6fdb)?_0x2d6fdb:[_0x2d6fdb];if(_0x4841cc[_0x5f2f02(0xf6)]===0x0)throw CliErrors[_0x5f2f02(0xeb)](_0x5f2f02(0xf2));if(_0x4841cc['length']>MAX_DATA_UPDATE_IDS)throw CliErrors[_0x5f2f02(0xeb)](_0x5f2f02(0xfc)+MAX_DATA_UPDATE_IDS+_0x5f2f02(0xf4)+_0x4841cc[_0x5f2f02(0xf6)]+'.');return _0x4841cc[_0x5f2f02(0xe8)]((_0x1907f5,_0xf0eb51)=>parseDataUpdateId(_0x1907f5,Array['isArray'](_0x2d6fdb)?_0x5f2f02(0xe5)+_0xf0eb51+']':'id'));}export function normalizeUpdateParamsForRuntime(_0x16d38a,_0x350ff4){const _0x2c9df2=a157_0x714f;if(Array[_0x2c9df2(0xee)](_0x16d38a['id'])&&_0x350ff4[_0x2c9df2(0xf6)]>0x1)return{..._0x16d38a,'id':_0x350ff4['join'](',')};return _0x16d38a;}
1
+ (function(_0x248a24,_0x3430f1){const _0x3f43af=a157_0x1f30,_0x329ea0=_0x248a24();while(!![]){try{const _0x449829=parseInt(_0x3f43af(0x1aa))/0x1*(-parseInt(_0x3f43af(0x1a3))/0x2)+parseInt(_0x3f43af(0x1b8))/0x3+parseInt(_0x3f43af(0x1ae))/0x4*(-parseInt(_0x3f43af(0x1a7))/0x5)+parseInt(_0x3f43af(0x1a6))/0x6*(parseInt(_0x3f43af(0x1a1))/0x7)+-parseInt(_0x3f43af(0x1b9))/0x8*(-parseInt(_0x3f43af(0x1b4))/0x9)+parseInt(_0x3f43af(0x1a4))/0xa+-parseInt(_0x3f43af(0x1b1))/0xb;if(_0x449829===_0x3430f1)break;else _0x329ea0['push'](_0x329ea0['shift']());}catch(_0x1ea93a){_0x329ea0['push'](_0x329ea0['shift']());}}}(a157_0x2058,0xa970e));import{CliErrors}from'../errors.js';import{parseLosslessJson}from'../utils/lossless-json.js';function a157_0x1f30(_0x4fb664,_0x9c993d){_0x4fb664=_0x4fb664-0x1a0;const _0x205861=a157_0x2058();let _0x1f30ec=_0x205861[_0x4fb664];return _0x1f30ec;}export const MAX_DATA_UPDATE_IDS=0x3e8;export function parseJsonParams(_0x3aa464){const _0x33d0bc=a157_0x1f30;if(!_0x3aa464)return undefined;try{return parseLosslessJson(_0x3aa464);}catch{throw CliErrors[_0x33d0bc(0x1b7)](_0x33d0bc(0x1ab)+_0x3aa464);}}export function parseJsonParamsValue(_0x125b9f){const _0x472c35=a157_0x1f30;if(!_0x125b9f)return undefined;try{return parseLosslessJson(_0x125b9f);}catch{throw CliErrors['validation'](_0x472c35(0x1ab)+_0x125b9f);}}export function parseBatchCreateItemsFromParams(_0x5b3442){const _0x4b026e=a157_0x1f30;if(Array[_0x4b026e(0x1a8)](_0x5b3442))return _0x5b3442;if(_0x5b3442!==null&&_0x5b3442!==undefined&&typeof _0x5b3442===_0x4b026e(0x1ad)&&Array[_0x4b026e(0x1a8)](_0x5b3442[_0x4b026e(0x1b6)]))return _0x5b3442[_0x4b026e(0x1b6)];throw CliErrors[_0x4b026e(0x1b7)](_0x4b026e(0x1af),_0x4b026e(0x1b2));}function parseDataUpdateId(_0x47b10d,_0x57a72d){const _0x1971e5=a157_0x1f30;if(typeof _0x47b10d==='number'&&Number[_0x1971e5(0x1a2)](_0x47b10d)&&_0x47b10d>0x0)return _0x47b10d;if(typeof _0x47b10d===_0x1971e5(0x1ba)){if(/^[1-9]\d*$/['test'](_0x47b10d))return _0x47b10d;}throw CliErrors['validation'](_0x1971e5(0x1a5)+_0x57a72d+'\x20must\x20be\x20a\x20positive\x20integer\x20or\x20numeric\x20string.');}export function parseUpdateIdsFromParams(_0x231f7d){const _0x33dac8=a157_0x1f30;if(_0x231f7d===null||_0x231f7d===undefined||typeof _0x231f7d!=='object'||Array['isArray'](_0x231f7d))throw CliErrors[_0x33dac8(0x1b7)]('data\x20update\x20--params\x20must\x20be\x20a\x20JSON\x20object\x20with\x20id.',_0x33dac8(0x1b3));const _0x16ff77=_0x231f7d['id'];if(_0x16ff77===undefined||_0x16ff77===null)throw CliErrors[_0x33dac8(0x1b7)](_0x33dac8(0x1b5),'Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27');const _0xf7458e=Array[_0x33dac8(0x1a8)](_0x16ff77)?_0x16ff77:[_0x16ff77];if(_0xf7458e[_0x33dac8(0x1ac)]===0x0)throw CliErrors[_0x33dac8(0x1b7)](_0x33dac8(0x1a9));if(_0xf7458e[_0x33dac8(0x1ac)]>MAX_DATA_UPDATE_IDS)throw CliErrors[_0x33dac8(0x1b7)](_0x33dac8(0x1b0)+MAX_DATA_UPDATE_IDS+_0x33dac8(0x1a0)+_0xf7458e[_0x33dac8(0x1ac)]+'.');return _0xf7458e['map']((_0x3c258e,_0x4ba0a3)=>parseDataUpdateId(_0x3c258e,Array[_0x33dac8(0x1a8)](_0x16ff77)?'id['+_0x4ba0a3+']':'id'));}export function normalizeUpdateParamsForRuntime(_0x221dcf,_0x428406){const _0x36fc6c=a157_0x1f30;if(Array[_0x36fc6c(0x1a8)](_0x221dcf['id'])&&_0x428406[_0x36fc6c(0x1ac)]>0x1)return{..._0x221dcf,'id':_0x428406[_0x36fc6c(0x1bb)](',')};return _0x221dcf;}function a157_0x2058(){const _0x53d471=['items','validation','4010109EjPopg','3191144OEdmhQ','string','join','\x20records\x20per\x20call;\x20received\x20','12768EnqbYO','isSafeInteger','91886oDopLW','10169530vagONg','data\x20update\x20--params.','732VLtlUS','6013090GwRoJo','isArray','data\x20update\x20id\x20array\x20cannot\x20be\x20empty.','1GoptoY','Invalid\x20JSON\x20for\x20--params:\x20','length','object','4CLHQIn','batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','data\x20update\x20can\x20update\x20at\x20most\x20','11357346CXmTON','Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27','Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27','9aBLDKw','data\x20update\x20requires\x20\x22id\x22\x20in\x20--params.'];a157_0x2058=function(){return _0x53d471;};return a157_0x2058();}
@@ -1 +1 @@
1
- const a158_0x27b719=a158_0x29a5;(function(_0x524e84,_0x12ed9c){const _0x1b3996=a158_0x29a5,_0x279441=_0x524e84();while(!![]){try{const _0x5b1cfb=-parseInt(_0x1b3996(0x87))/0x1*(parseInt(_0x1b3996(0x7d))/0x2)+-parseInt(_0x1b3996(0x88))/0x3+parseInt(_0x1b3996(0x82))/0x4*(-parseInt(_0x1b3996(0x85))/0x5)+-parseInt(_0x1b3996(0x7e))/0x6*(-parseInt(_0x1b3996(0x7f))/0x7)+-parseInt(_0x1b3996(0x86))/0x8+parseInt(_0x1b3996(0x84))/0x9+-parseInt(_0x1b3996(0x7c))/0xa*(-parseInt(_0x1b3996(0x80))/0xb);if(_0x5b1cfb===_0x12ed9c)break;else _0x279441['push'](_0x279441['shift']());}catch(_0x3eb47e){_0x279441['push'](_0x279441['shift']());}}}(a158_0x5bae,0x5fa2c));function a158_0x29a5(_0x3d7357,_0x22d725){_0x3d7357=_0x3d7357-0x7c;const _0x5bae0c=a158_0x5bae();let _0x29a5a9=_0x5bae0c[_0x3d7357];return _0x29a5a9;}function a158_0x5bae(){const _0x6b99bb=['1342137LLxJXm','3620xjACOA','405388HrLkjJ','6QeADqn','2755382YdqSmt','33451rPylAX','platform','4rxmyRj','.cmd','1160271yKxnJO','660815kgeXHL','1973864sLrqRX','2Tughyk'];a158_0x5bae=function(){return _0x6b99bb;};return a158_0x5bae();}export const isWindows=process[a158_0x27b719(0x81)]==='win32';export function resolveNpmBin(_0x18a414){const _0x3e7c62=a158_0x27b719;return isWindows?_0x18a414+_0x3e7c62(0x83):_0x18a414;}
1
+ const a158_0x80492e=a158_0x206a;(function(_0x3af0c9,_0x2e0fbd){const _0xe83d8b=a158_0x206a,_0x3676cd=_0x3af0c9();while(!![]){try{const _0x189ccd=-parseInt(_0xe83d8b(0x9a))/0x1*(parseInt(_0xe83d8b(0x92))/0x2)+parseInt(_0xe83d8b(0x90))/0x3*(parseInt(_0xe83d8b(0x91))/0x4)+-parseInt(_0xe83d8b(0x99))/0x5+parseInt(_0xe83d8b(0x93))/0x6*(parseInt(_0xe83d8b(0x94))/0x7)+parseInt(_0xe83d8b(0x9b))/0x8+parseInt(_0xe83d8b(0x9c))/0x9*(-parseInt(_0xe83d8b(0x96))/0xa)+-parseInt(_0xe83d8b(0x95))/0xb;if(_0x189ccd===_0x2e0fbd)break;else _0x3676cd['push'](_0x3676cd['shift']());}catch(_0x2e5b41){_0x3676cd['push'](_0x3676cd['shift']());}}}(a158_0x3bea,0xeca95));export const isWindows=process[a158_0x80492e(0x97)]===a158_0x80492e(0x98);function a158_0x3bea(){const _0x34b65d=['245620EaJoyR','2KyshWD','42oyOXKF','1744218BynUaB','830907JziwfF','1025260SWLpsK','platform','win32','6890190hGvASS','1239172HSCPfU','12733528mXLwnX','63oJEPIN','51RAapys'];a158_0x3bea=function(){return _0x34b65d;};return a158_0x3bea();}function a158_0x206a(_0x45afdb,_0x31ba83){_0x45afdb=_0x45afdb-0x90;const _0x3bea8a=a158_0x3bea();let _0x206ab8=_0x3bea8a[_0x45afdb];return _0x206ab8;}export function resolveNpmBin(_0x431038){return isWindows?_0x431038+'.cmd':_0x431038;}
@@ -1 +1 @@
1
- (function(_0x5968a4,_0x456adf){const _0x46b498=a159_0x1a76,_0x3e15f3=_0x5968a4();while(!![]){try{const _0x145e0f=parseInt(_0x46b498(0x1f3))/0x1+-parseInt(_0x46b498(0x203))/0x2+parseInt(_0x46b498(0x1ed))/0x3*(parseInt(_0x46b498(0x1ef))/0x4)+parseInt(_0x46b498(0x206))/0x5*(-parseInt(_0x46b498(0x1f5))/0x6)+parseInt(_0x46b498(0x208))/0x7*(parseInt(_0x46b498(0x1ff))/0x8)+parseInt(_0x46b498(0x205))/0x9*(parseInt(_0x46b498(0x1f9))/0xa)+parseInt(_0x46b498(0x1fe))/0xb;if(_0x145e0f===_0x456adf)break;else _0x3e15f3['push'](_0x3e15f3['shift']());}catch(_0x2c8e49){_0x3e15f3['push'](_0x3e15f3['shift']());}}}(a159_0x31c8,0x3c68e));import{mkdir,readFile,writeFile}from'node:fs/promises';function a159_0x1a76(_0x3f543b,_0x3901b1){_0x3f543b=_0x3f543b-0x1ed;const _0x31c860=a159_0x31c8();let _0x1a767b=_0x31c860[_0x3f543b];return _0x1a767b;}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 isUpdateNoticeDisabled(){const _0x2ce960=a159_0x1a76,_0x1df4e7=process.env.LOVRABET_NO_UPDATE_NOTICE?.[_0x2ce960(0x1f0)]()[_0x2ce960(0x1f4)]();return _0x1df4e7==='1'||_0x1df4e7===_0x2ce960(0x204)||_0x1df4e7===_0x2ce960(0x1fc);}function cacheRoot(){const _0x6a6826=a159_0x1a76;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x6a6826(0x1fd));}export function getUpdateNoticeCachePath(){const _0x18f2bb=a159_0x1a76;return join(cacheRoot(),_0x18f2bb(0x1f8),_0x18f2bb(0x1f1));}async function readUpdateNoticeCache(){const _0x519cbd=a159_0x1a76;try{const _0x24e72e=await readFile(getUpdateNoticeCachePath(),_0x519cbd(0x1f6)),_0x268d9f=JSON[_0x519cbd(0x1f7)](_0x24e72e);if(!_0x268d9f||typeof _0x268d9f!==_0x519cbd(0x1fa))return{};return _0x268d9f;}catch{return{};}}function a159_0x31c8(){const _0x5eac2c=['91607BaxvXL','toLowerCase','171474FxhFZn','utf8','parse','lovrabet-cli','4582190KFlDvr','object','lastNotifiedVersion','yes','.cache','970783jJbiOo','200dxKQLc','https://www.npmjs.com/package/','stableVersion','lastNotifiedAt','299430mZJyYQ','true','9LAAyzw','50hRdVEV','/v/','2044SxMFzh','number','3DdWoCe',',\x20run:\x20','150256DrQLJy','trim','update-check.json','\x20is\x20recommended,\x20current\x20'];a159_0x31c8=function(){return _0x5eac2c;};return a159_0x31c8();}async function writeUpdateNoticeCache(_0x4689ad){try{const _0x2c4999=getUpdateNoticeCachePath();await mkdir(dirname(_0x2c4999),{'recursive':!![]}),await writeFile(_0x2c4999,JSON['stringify'](_0x4689ad,null,0x2)+'\x0a','utf8');}catch{}}function isRecentlyNotified(_0x3f734b,_0x4e535f,_0x498c52){const _0x1984e8=a159_0x1a76;return _0x3f734b[_0x1984e8(0x1fb)]===_0x4e535f&&typeof _0x3f734b[_0x1984e8(0x202)]===_0x1984e8(0x209)&&_0x498c52-_0x3f734b[_0x1984e8(0x202)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x313a8c){const _0x189fdb=a159_0x1a76;return _0x189fdb(0x200)+LOVRABET_NPM_PACKAGE_NAME+_0x189fdb(0x207)+_0x313a8c;}export async function resolveLatestUpdateNotice(_0x4db25b){const _0x2baf5b=a159_0x1a76;if(isUpdateNoticeDisabled())return null;try{const _0x128f7d=Date['now'](),_0x32fe6b=_0x4db25b??await checkCliVersion(),_0xf60e50=_0x32fe6b['currentVersion'],_0x4863a2=_0x32fe6b[_0x2baf5b(0x201)],_0x380594=await readUpdateNoticeCache();if(!_0x4863a2||!_0x32fe6b['needsUpgrade']||_0x32fe6b['belowMinimum'])return null;if(isRecentlyNotified(_0x380594,_0x4863a2,_0x128f7d))return null;const _0x4a93dc=getCliUpgradeCommand(_0x32fe6b);return await writeUpdateNoticeCache({..._0x380594,'checkedAt':_0x128f7d,'latest':_0x4863a2,'failed':![],'lastNotifiedVersion':_0x4863a2,'lastNotifiedAt':_0x128f7d}),{'command':_0x4a93dc,'current':_0xf60e50,'latest':_0x4863a2,'url':buildNpmVersionUrl(_0x4863a2),'message':[_0x32fe6b['upgradeMessage'],CLI_BIN_NAME+'\x20'+_0x4863a2+_0x2baf5b(0x1f2)+_0xf60e50+_0x2baf5b(0x1ee)+_0x4a93dc]['filter'](Boolean)['join']('\x20')};}catch{return null;}}
1
+ function a159_0x467d(_0x39cd0d,_0x572dd3){_0x39cd0d=_0x39cd0d-0x112;const _0x375243=a159_0x3752();let _0x467d13=_0x375243[_0x39cd0d];return _0x467d13;}(function(_0x1e628e,_0x55fa44){const _0x1fb60b=a159_0x467d,_0x908dbd=_0x1e628e();while(!![]){try{const _0x2d3ab5=-parseInt(_0x1fb60b(0x112))/0x1+-parseInt(_0x1fb60b(0x125))/0x2+-parseInt(_0x1fb60b(0x128))/0x3+parseInt(_0x1fb60b(0x11f))/0x4+parseInt(_0x1fb60b(0x11d))/0x5+parseInt(_0x1fb60b(0x122))/0x6*(parseInt(_0x1fb60b(0x114))/0x7)+-parseInt(_0x1fb60b(0x126))/0x8;if(_0x2d3ab5===_0x55fa44)break;else _0x908dbd['push'](_0x908dbd['shift']());}catch(_0xc63ab0){_0x908dbd['push'](_0x908dbd['shift']());}}}(a159_0x3752,0x7c175));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 isUpdateNoticeDisabled(){const _0x51e5f3=a159_0x467d,_0x46c580=process.env.LOVRABET_NO_UPDATE_NOTICE?.[_0x51e5f3(0x119)]()[_0x51e5f3(0x120)]();return _0x46c580==='1'||_0x46c580==='true'||_0x46c580===_0x51e5f3(0x129);}function cacheRoot(){return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),'.cache');}export function getUpdateNoticeCachePath(){const _0x25b1b1=a159_0x467d;return join(cacheRoot(),_0x25b1b1(0x11a),_0x25b1b1(0x117));}async function readUpdateNoticeCache(){const _0x51d4b7=a159_0x467d;try{const _0x22c97e=await readFile(getUpdateNoticeCachePath(),_0x51d4b7(0x115)),_0x4d4233=JSON[_0x51d4b7(0x12a)](_0x22c97e);if(!_0x4d4233||typeof _0x4d4233!==_0x51d4b7(0x123))return{};return _0x4d4233;}catch{return{};}}async function writeUpdateNoticeCache(_0x4b16ca){const _0x415cd5=a159_0x467d;try{const _0x315cea=getUpdateNoticeCachePath();await mkdir(dirname(_0x315cea),{'recursive':!![]}),await writeFile(_0x315cea,JSON[_0x415cd5(0x116)](_0x4b16ca,null,0x2)+'\x0a','utf8');}catch{}}function isRecentlyNotified(_0x40dd41,_0x3c440c,_0x2c1386){const _0x50c633=a159_0x467d;return _0x40dd41['lastNotifiedVersion']===_0x3c440c&&typeof _0x40dd41['lastNotifiedAt']===_0x50c633(0x118)&&_0x2c1386-_0x40dd41['lastNotifiedAt']<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x3b3116){return'https://www.npmjs.com/package/'+LOVRABET_NPM_PACKAGE_NAME+'/v/'+_0x3b3116;}function a159_0x3752(){const _0x2fe4bd=['998746Llbxxp','utf8','stringify','update-check.json','number','trim','lovrabet-cli','join','needsUpgrade','4461045ewruTH','filter','3578944lOlpze','toLowerCase',',\x20run:\x20','30HILZQN','object','stableVersion','966000PtWxyx','3910216taIhtZ','\x20is\x20recommended,\x20current\x20','1662969IiIeUC','yes','parse','465958sZyhsD','upgradeMessage'];a159_0x3752=function(){return _0x2fe4bd;};return a159_0x3752();}export async function resolveLatestUpdateNotice(_0x24cc2b){const _0xa37af1=a159_0x467d;if(isUpdateNoticeDisabled())return null;try{const _0x3253f2=Date['now'](),_0x383758=_0x24cc2b??await checkCliVersion(),_0x407d53=_0x383758['currentVersion'],_0x3f55eb=_0x383758[_0xa37af1(0x124)],_0x431dd9=await readUpdateNoticeCache();if(!_0x3f55eb||!_0x383758[_0xa37af1(0x11c)]||_0x383758['belowMinimum'])return null;if(isRecentlyNotified(_0x431dd9,_0x3f55eb,_0x3253f2))return null;const _0x1426e3=getCliUpgradeCommand(_0x383758);return await writeUpdateNoticeCache({..._0x431dd9,'checkedAt':_0x3253f2,'latest':_0x3f55eb,'failed':![],'lastNotifiedVersion':_0x3f55eb,'lastNotifiedAt':_0x3253f2}),{'command':_0x1426e3,'current':_0x407d53,'latest':_0x3f55eb,'url':buildNpmVersionUrl(_0x3f55eb),'message':[_0x383758[_0xa37af1(0x113)],CLI_BIN_NAME+'\x20'+_0x3f55eb+_0xa37af1(0x127)+_0x407d53+_0xa37af1(0x121)+_0x1426e3][_0xa37af1(0x11e)](Boolean)[_0xa37af1(0x11b)]('\x20')};}catch{return null;}}
@@ -1 +1 @@
1
- (function(_0x27e696,_0x3194c1){const _0x19c029=a160_0x2a4b,_0x169b93=_0x27e696();while(!![]){try{const _0x101424=-parseInt(_0x19c029(0x1cd))/0x1+parseInt(_0x19c029(0x1ca))/0x2+parseInt(_0x19c029(0x1c5))/0x3+-parseInt(_0x19c029(0x1c4))/0x4*(parseInt(_0x19c029(0x1c8))/0x5)+-parseInt(_0x19c029(0x1c9))/0x6+parseInt(_0x19c029(0x1c7))/0x7*(-parseInt(_0x19c029(0x1cb))/0x8)+parseInt(_0x19c029(0x1c6))/0x9;if(_0x101424===_0x3194c1)break;else _0x169b93['push'](_0x169b93['shift']());}catch(_0x47257f){_0x169b93['push'](_0x169b93['shift']());}}}(a160_0x207a,0xbce99));import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}function a160_0x207a(){const _0x45b714=['2435GSPYsK','5932458ksdwwa','622330fOaeGX','133216oFuThZ','slice','1111072zFeJGD','7780fAckvI','2599563ttHbER','28134333kYgGsg','203BCvhkD'];a160_0x207a=function(){return _0x45b714;};return a160_0x207a();}function a160_0x2a4b(_0x579dcb,_0x4d5007){_0x579dcb=_0x579dcb-0x1c4;const _0x207a7e=a160_0x207a();let _0x2a4bfc=_0x207a7e[_0x579dcb];return _0x2a4bfc;}export function getCliGitCommit(){const _0xa0322b=String(GIT_COMMIT);return _0xa0322b&&_0xa0322b!=='unknown'?_0xa0322b:'';}export function getCliVersionDisplay(){const _0x2fbe77=a160_0x2a4b,_0x4608da=getCliGitCommit(),_0x2549f1=BUILD_TIME[_0x2fbe77(0x1cc)](0x0,0xa);if(!_0x4608da||!_0x2549f1)return VERSION;return VERSION+'\x20('+_0x4608da+',\x20'+_0x2549f1+')';}
1
+ (function(_0x24e1ae,_0x2bc1de){const _0x1100af=a160_0x9e22,_0x721276=_0x24e1ae();while(!![]){try{const _0x3285e8=-parseInt(_0x1100af(0x164))/0x1*(parseInt(_0x1100af(0x166))/0x2)+-parseInt(_0x1100af(0x160))/0x3+parseInt(_0x1100af(0x165))/0x4*(-parseInt(_0x1100af(0x15f))/0x5)+parseInt(_0x1100af(0x161))/0x6+-parseInt(_0x1100af(0x15e))/0x7+parseInt(_0x1100af(0x168))/0x8+parseInt(_0x1100af(0x162))/0x9;if(_0x3285e8===_0x2bc1de)break;else _0x721276['push'](_0x721276['shift']());}catch(_0x26f923){_0x721276['push'](_0x721276['shift']());}}}(a160_0x1742,0xeb6c1));function a160_0x9e22(_0x193c26,_0x1bf724){_0x193c26=_0x193c26-0x15e;const _0x17428a=a160_0x1742();let _0x9e22ae=_0x17428a[_0x193c26];return _0x9e22ae;}function a160_0x1742(){const _0x1cb04a=['slice','128710ZVnINv','132lYUzGW','14CzujcD','unknown','13467272dmyWuh','2076543INPwYI','242700kAGeEB','5241153NPhzCl','2616468etnGhx','30521628buUxkB'];a160_0x1742=function(){return _0x1cb04a;};return a160_0x1742();}import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}export function getCliGitCommit(){const _0x3e3ceb=a160_0x9e22,_0x383b4c=String(GIT_COMMIT);return _0x383b4c&&_0x383b4c!==_0x3e3ceb(0x167)?_0x383b4c:'';}export function getCliVersionDisplay(){const _0x48b872=a160_0x9e22,_0xb62f6f=getCliGitCommit(),_0x563c1a=BUILD_TIME[_0x48b872(0x163)](0x0,0xa);if(!_0xb62f6f||!_0x563c1a)return VERSION;return VERSION+'\x20('+_0xb62f6f+',\x20'+_0x563c1a+')';}
@@ -1 +1 @@
1
- function a161_0x2a09(){var _0x10768e=['545823TqkCgB','2086600ULwelT','8BVWrJx','6cqBtpM','6SfCYNk','9410346NirSYf','write','1209992kjJcYN','stderr','1498064bVyiip','658838IsBxxi','1186200drzpfr','27CIYONJ'];a161_0x2a09=function(){return _0x10768e;};return a161_0x2a09();}(function(_0x16173f,_0x13ccae){var _0x54bad3=a161_0x41c3,_0x45dc26=_0x16173f();while(!![]){try{var _0x26722e=parseInt(_0x54bad3(0x1af))/0x1+-parseInt(_0x54bad3(0x1ac))/0x2+parseInt(_0x54bad3(0x1b2))/0x3*(-parseInt(_0x54bad3(0x1ab))/0x4)+parseInt(_0x54bad3(0x1b0))/0x5*(parseInt(_0x54bad3(0x1a6))/0x6)+-parseInt(_0x54bad3(0x1a9))/0x7*(-parseInt(_0x54bad3(0x1b1))/0x8)+parseInt(_0x54bad3(0x1ae))/0x9*(-parseInt(_0x54bad3(0x1ad))/0xa)+parseInt(_0x54bad3(0x1a7))/0xb;if(_0x26722e===_0x13ccae)break;else _0x45dc26['push'](_0x45dc26['shift']());}catch(_0x3de7b8){_0x45dc26['push'](_0x45dc26['shift']());}}}(a161_0x2a09,0x88076));function a161_0x41c3(_0x12bf08,_0x33188a){_0x12bf08=_0x12bf08-0x1a6;var _0x2a0942=a161_0x2a09();var _0x41c361=_0x2a0942[_0x12bf08];return _0x41c361;}export function writeCliSideChannelLine(_0x59d9be){var _0x350eb2=a161_0x41c3;process[_0x350eb2(0x1aa)][_0x350eb2(0x1a8)](_0x59d9be+'\x0a');}
1
+ function a161_0x8556(_0x2026ed,_0x2b5e39){_0x2026ed=_0x2026ed-0x82;var _0x59ca8d=a161_0x59ca();var _0x85566f=_0x59ca8d[_0x2026ed];return _0x85566f;}(function(_0x2c90b4,_0x22c06a){var _0x1fd92f=a161_0x8556,_0x1faacc=_0x2c90b4();while(!![]){try{var _0x34c382=-parseInt(_0x1fd92f(0x89))/0x1+-parseInt(_0x1fd92f(0x87))/0x2*(-parseInt(_0x1fd92f(0x84))/0x3)+-parseInt(_0x1fd92f(0x82))/0x4*(parseInt(_0x1fd92f(0x83))/0x5)+-parseInt(_0x1fd92f(0x8e))/0x6*(parseInt(_0x1fd92f(0x8f))/0x7)+parseInt(_0x1fd92f(0x86))/0x8+parseInt(_0x1fd92f(0x88))/0x9*(parseInt(_0x1fd92f(0x85))/0xa)+parseInt(_0x1fd92f(0x8b))/0xb*(-parseInt(_0x1fd92f(0x8c))/0xc);if(_0x34c382===_0x22c06a)break;else _0x1faacc['push'](_0x1faacc['shift']());}catch(_0xa56e79){_0x1faacc['push'](_0x1faacc['shift']());}}}(a161_0x59ca,0x66993));function a161_0x59ca(){var _0x154738=['560LDxbSb','8285sUKZDe','364389hCrMeb','2500tFekJz','6500040pOoqUh','10FdupSO','9351uEoDei','533440sWKMpW','stderr','41415nfAFqY','408qCsNFM','write','13146wTpZmH','1169JIUwag'];a161_0x59ca=function(){return _0x154738;};return a161_0x59ca();}export function writeCliSideChannelLine(_0x53000e){var _0x329596=a161_0x8556;process[_0x329596(0x8a)][_0x329596(0x8d)](_0x53000e+'\x0a');}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/lovrabet-cli",
3
- "version": "2.3.0-beta.4",
3
+ "version": "2.3.0-beta.5",
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": [
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: lovrabet
3
3
  displayName: Lovrabet 运行态 CLI
4
- version: 2.3.0-beta.4
4
+ version: 2.3.0-beta.5
5
5
  description: "Lovrabet 运行态 CLI — 面向业务场景的 AI 操作套件,通过 lovrabet 命令管理应用目录、业务角色与权限、用户级外部账号、Service Tree 业务命令、API 文档发现、数据集查询、Instant API 数据操作、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、file upload、file query-url、ocr recognize、OCR 识别、票证文字提取、票证字段提取、发票识别、票据识别、证照识别、附件上传、personal-bff、schedule、定时任务、cron、kb、skill、sql exec、bff exec、app-config、accessKey、compress、jq。"
6
6
  metadata:
7
7
  requires:
@@ -2,8 +2,8 @@
2
2
  "schemaVersion": 1,
3
3
  "name": "lovrabet",
4
4
  "packageName": "@lovrabet/lovrabet-cli",
5
- "packageVersion": "2.3.0-beta.4",
6
- "skillVersion": "2.3.0-beta.4",
5
+ "packageVersion": "2.3.0-beta.5",
6
+ "skillVersion": "2.3.0-beta.5",
7
7
  "files": [
8
8
  "SKILL.md",
9
9
  "guides/app-resolution.md",
@@ -37,5 +37,5 @@
37
37
  "references/lovrabet-user-account.md",
38
38
  "references/lovrabet-workspace.md"
39
39
  ],
40
- "digest": "249eef84c94b96c02160736d1f56b0b755931c44502147a9dd859a1c1469586a"
40
+ "digest": "55421552ae34af1952b9cd03c09635b7ab9c6ed5d13c934f30848893ddf94a7a"
41
41
  }