@lovrabet/lovrabet-cli 2.3.0-beta.1 → 2.3.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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_0x16ab57=a150_0x4552;function a150_0x4911(){const _0x202709=['51724KPreCv','33CMAwHJ','recorded','430crSOpc','71154RhlMeW','\x22\x20but\x20no\x20SKILL.md\x20was\x20found\x20in\x20known\x20layouts\x20','includes','197048VGTKpb','\x20is\x20unreadable:\x20','6ZbTzdL','find','68088SPZUvC','present','parse','5826000fvZPbv','join','absent','kind','\x20records\x20\x22','lockFile','\x20uses\x20unsupported\x20version\x20','.agents','home','map','296755AMuwUZ','not-recorded','message','2640ZmHTkG','reason','unusable','6015233SyKDIv','SKILL.md','skills','version','.claude','18mGRhVC'];a150_0x4911=function(){return _0x202709;};return a150_0x4911();}(function(_0x7e86f8,_0x373ce5){const _0x1e496f=a150_0x4552,_0x552728=_0x7e86f8();while(!![]){try{const _0x14ee1c=parseInt(_0x1e496f(0x1a4))/0x1*(-parseInt(_0x1e496f(0x1ad))/0x2)+-parseInt(_0x1e496f(0x1a5))/0x3*(-parseInt(_0x1e496f(0x1ab))/0x4)+parseInt(_0x1e496f(0x198))/0x5*(parseInt(_0x1e496f(0x1a3))/0x6)+parseInt(_0x1e496f(0x19e))/0x7+parseInt(_0x1e496f(0x18e))/0x8+-parseInt(_0x1e496f(0x1a8))/0x9*(parseInt(_0x1e496f(0x1a7))/0xa)+parseInt(_0x1e496f(0x19b))/0xb*(-parseInt(_0x1e496f(0x1af))/0xc);if(_0x14ee1c===_0x373ce5)break;else _0x552728['push'](_0x552728['shift']());}catch(_0x537176){_0x552728['push'](_0x552728['shift']());}}}(a150_0x4911,0x6e036));import{existsSync,readFileSync}from'node:fs';import{homedir}from'node:os';import{join}from'node:path';export const SKILL_LOCK_RELATIVE_PATH=join(a150_0x16ab57(0x195),'.skill-lock.json');export const GLOBAL_SKILLS_DIR_RELATIVE_PATHS=[join(a150_0x16ab57(0x195),a150_0x16ab57(0x1a0)),join(a150_0x16ab57(0x1a2),a150_0x16ab57(0x1a0))];function a150_0x4552(_0x169b3c,_0x519e77){_0x169b3c=_0x169b3c-0x18c;const _0x4911ed=a150_0x4911();let _0x4552b7=_0x4911ed[_0x169b3c];return _0x4552b7;}const SUPPORTED_LOCK_VERSIONS=[0x3];function readLockLookup(_0x24520b,_0x433cd8){const _0x46570a=a150_0x16ab57;if(!existsSync(_0x24520b))return{'kind':'not-recorded'};let _0x5aaa3c;try{_0x5aaa3c=JSON[_0x46570a(0x18d)](readFileSync(_0x24520b,'utf8'));}catch(_0x2ee9fc){return{'kind':_0x46570a(0x19d),'reason':_0x24520b+_0x46570a(0x1ac)+_0x2ee9fc[_0x46570a(0x19a)]};}const _0x819acf=_0x5aaa3c;if(typeof _0x819acf?.[_0x46570a(0x1a1)]!=='number'||!SUPPORTED_LOCK_VERSIONS[_0x46570a(0x1aa)](_0x819acf[_0x46570a(0x1a1)]))return{'kind':'unusable','reason':_0x24520b+_0x46570a(0x194)+String(_0x819acf?.[_0x46570a(0x1a1)])};if(!_0x819acf[_0x46570a(0x1a0)]||typeof _0x819acf['skills']!=='object')return{'kind':_0x46570a(0x19d),'reason':_0x24520b+'\x20has\x20no\x20skills\x20map'};return _0x819acf['skills'][_0x433cd8]?{'kind':_0x46570a(0x1a6)}:{'kind':_0x46570a(0x199)};}export function resolveInstalledSkill(_0x480422,_0x28eedd){const _0x1827c8=a150_0x16ab57,_0x13fda6=_0x28eedd?.[_0x1827c8(0x196)]??homedir(),_0x1aa82b=_0x28eedd?.['globalSkillsDirs']??GLOBAL_SKILLS_DIR_RELATIVE_PATHS['map'](_0x1d0fbe=>join(_0x13fda6,_0x1d0fbe)),_0x2f7367=_0x28eedd?.[_0x1827c8(0x193)]??join(_0x13fda6,SKILL_LOCK_RELATIVE_PATH),_0x2ae861=_0x1aa82b[_0x1827c8(0x197)](_0x25b394=>join(_0x25b394,_0x480422,_0x1827c8(0x19f))),_0x4af7b1=_0x2ae861[_0x1827c8(0x1ae)](_0x5e5211=>existsSync(_0x5e5211));if(_0x4af7b1)return{'state':_0x1827c8(0x18c),'path':_0x4af7b1};const _0x3dd1b8=readLockLookup(_0x2f7367,_0x480422);if(_0x3dd1b8[_0x1827c8(0x191)]===_0x1827c8(0x19d))return{'state':'unverifiable','reason':_0x3dd1b8[_0x1827c8(0x19c)]};if(_0x3dd1b8[_0x1827c8(0x191)]===_0x1827c8(0x1a6))return{'state':'unverifiable','reason':_0x2f7367+_0x1827c8(0x192)+_0x480422+_0x1827c8(0x1a9)+('('+_0x2ae861[_0x1827c8(0x18f)](',\x20')+')')};return{'state':_0x1827c8(0x190),'checked':_0x2ae861};}
1
+ const a150_0x465a5a=a150_0x450e;(function(_0x961e4f,_0x5dcae3){const _0x1f6a0c=a150_0x450e,_0x9ba269=_0x961e4f();while(!![]){try{const _0x573117=parseInt(_0x1f6a0c(0x19f))/0x1+-parseInt(_0x1f6a0c(0x1b5))/0x2+-parseInt(_0x1f6a0c(0x1a3))/0x3*(-parseInt(_0x1f6a0c(0x1b4))/0x4)+-parseInt(_0x1f6a0c(0x1b6))/0x5*(parseInt(_0x1f6a0c(0x1a8))/0x6)+parseInt(_0x1f6a0c(0x1b0))/0x7+parseInt(_0x1f6a0c(0x1a6))/0x8*(parseInt(_0x1f6a0c(0x1ba))/0x9)+-parseInt(_0x1f6a0c(0x1a9))/0xa;if(_0x573117===_0x5dcae3)break;else _0x9ba269['push'](_0x9ba269['shift']());}catch(_0x539605){_0x9ba269['push'](_0x9ba269['shift']());}}}(a150_0x4104,0x8207f));import{existsSync,readFileSync}from'node:fs';import{homedir}from'node:os';import{join}from'node:path';function a150_0x450e(_0x2e7603,_0x167848){_0x2e7603=_0x2e7603-0x198;const _0x410496=a150_0x4104();let _0x450e15=_0x410496[_0x2e7603];return _0x450e15;}export const SKILL_LOCK_RELATIVE_PATH=join('.agents','.skill-lock.json');export const GLOBAL_SKILLS_DIR_RELATIVE_PATHS=[join(a150_0x465a5a(0x1ac),'skills'),join(a150_0x465a5a(0x19c),a150_0x465a5a(0x1a0))];const SUPPORTED_LOCK_VERSIONS=[0x3];function readLockLookup(_0x2eb6ba,_0x22688f){const _0x234748=a150_0x465a5a;if(!existsSync(_0x2eb6ba))return{'kind':_0x234748(0x199)};let _0x4b106f;try{_0x4b106f=JSON[_0x234748(0x1a1)](readFileSync(_0x2eb6ba,'utf8'));}catch(_0x255b8f){return{'kind':_0x234748(0x19a),'reason':_0x2eb6ba+_0x234748(0x19e)+_0x255b8f[_0x234748(0x19d)]};}const _0x3eec3f=_0x4b106f;if(typeof _0x3eec3f?.[_0x234748(0x1aa)]!==_0x234748(0x1b7)||!SUPPORTED_LOCK_VERSIONS['includes'](_0x3eec3f[_0x234748(0x1aa)]))return{'kind':'unusable','reason':_0x2eb6ba+_0x234748(0x19b)+String(_0x3eec3f?.[_0x234748(0x1aa)])};if(!_0x3eec3f[_0x234748(0x1a0)]||typeof _0x3eec3f['skills']!==_0x234748(0x1af))return{'kind':_0x234748(0x19a),'reason':_0x2eb6ba+'\x20has\x20no\x20skills\x20map'};return _0x3eec3f[_0x234748(0x1a0)][_0x22688f]?{'kind':_0x234748(0x1b2)}:{'kind':_0x234748(0x199)};}export function resolveInstalledSkill(_0x284f38,_0x27b26b){const _0x2e2282=a150_0x465a5a,_0x3bd8af=_0x27b26b?.[_0x2e2282(0x1a4)]??homedir(),_0x155abf=_0x27b26b?.[_0x2e2282(0x1b3)]??GLOBAL_SKILLS_DIR_RELATIVE_PATHS[_0x2e2282(0x1ab)](_0x176318=>join(_0x3bd8af,_0x176318)),_0x382b78=_0x27b26b?.[_0x2e2282(0x1a7)]??join(_0x3bd8af,SKILL_LOCK_RELATIVE_PATH),_0x34f9d2=_0x155abf['map'](_0x291831=>join(_0x291831,_0x284f38,_0x2e2282(0x198))),_0x3dadbb=_0x34f9d2['find'](_0xca78ff=>existsSync(_0xca78ff));if(_0x3dadbb)return{'state':_0x2e2282(0x1b8),'path':_0x3dadbb};const _0x10e6e8=readLockLookup(_0x382b78,_0x284f38);if(_0x10e6e8[_0x2e2282(0x1a5)]===_0x2e2282(0x19a))return{'state':_0x2e2282(0x1b1),'reason':_0x10e6e8[_0x2e2282(0x1ad)]};if(_0x10e6e8[_0x2e2282(0x1a5)]==='recorded')return{'state':'unverifiable','reason':_0x382b78+_0x2e2282(0x1ae)+_0x284f38+_0x2e2282(0x1b9)+('('+_0x34f9d2['join'](',\x20')+')')};return{'state':_0x2e2282(0x1a2),'checked':_0x34f9d2};}function a150_0x4104(){const _0x1356b2=['2450196qHYjyc','unverifiable','recorded','globalSkillsDirs','188otHRnR','929100NzndaR','20290TdKMQM','number','present','\x22\x20but\x20no\x20SKILL.md\x20was\x20found\x20in\x20known\x20layouts\x20','11889wNYzuC','SKILL.md','not-recorded','unusable','\x20uses\x20unsupported\x20version\x20','.claude','message','\x20is\x20unreadable:\x20','280558yXWocB','skills','parse','absent','64569hQjfLU','home','kind','5000WeQrtQ','lockFile','264iQQhTa','12920830jZTVqW','version','map','.agents','reason','\x20records\x20\x22','object'];a150_0x4104=function(){return _0x1356b2;};return a150_0x4104();}
@@ -1 +1 @@
1
- const a151_0x1d6c4a=a151_0x1602;(function(_0x26cf41,_0x59b8ad){const _0x58c94f=a151_0x1602,_0x3b8aa2=_0x26cf41();while(!![]){try{const _0x5a628c=-parseInt(_0x58c94f(0x12d))/0x1+parseInt(_0x58c94f(0x129))/0x2+-parseInt(_0x58c94f(0x131))/0x3*(-parseInt(_0x58c94f(0x127))/0x4)+parseInt(_0x58c94f(0x128))/0x5*(-parseInt(_0x58c94f(0x121))/0x6)+-parseInt(_0x58c94f(0x125))/0x7*(parseInt(_0x58c94f(0x12c))/0x8)+-parseInt(_0x58c94f(0x123))/0x9*(parseInt(_0x58c94f(0x11e))/0xa)+-parseInt(_0x58c94f(0x11d))/0xb*(-parseInt(_0x58c94f(0x120))/0xc);if(_0x5a628c===_0x59b8ad)break;else _0x3b8aa2['push'](_0x3b8aa2['shift']());}catch(_0x2d24db){_0x3b8aa2['push'](_0x3b8aa2['shift']());}}}(a151_0x4971,0xedf70));const REDACTED_ACCESS_KEY=a151_0x1d6c4a(0x124);function a151_0x1602(_0x347f3f,_0x32b862){_0x347f3f=_0x347f3f-0x118;const _0x497175=a151_0x4971();let _0x16027c=_0x497175[_0x347f3f];return _0x16027c;}export function maskCliAccessKey(_0x1b15bb){const _0x3eea21=a151_0x1d6c4a;if(typeof _0x1b15bb!==_0x3eea21(0x126)||_0x1b15bb['length']<=0x8)return REDACTED_ACCESS_KEY;return''+_0x1b15bb[_0x3eea21(0x12a)](0x0,0x8)+'*'['repeat'](_0x1b15bb[_0x3eea21(0x119)]-0x8);}export function redactCliConfigCredentials(_0x3ded4c){const _0x34bfad=a151_0x1d6c4a,_0x15c898={..._0x3ded4c};return Object[_0x34bfad(0x12e)][_0x34bfad(0x12b)]['call'](_0x15c898,_0x34bfad(0x11c))&&(_0x15c898[_0x34bfad(0x11c)]=maskCliAccessKey(_0x15c898['accessKey'])),_0x15c898['apps']&&typeof _0x15c898[_0x34bfad(0x11b)]===_0x34bfad(0x122)&&!Array['isArray'](_0x15c898[_0x34bfad(0x11b)])&&(_0x15c898[_0x34bfad(0x11b)]=redactLegacyAppCredentials(_0x15c898[_0x34bfad(0x11b)])),_0x15c898;}export function redactCliConfigValue(_0xd7b7ad,_0x1773c9){const _0x557677=a151_0x1d6c4a;if(_0xd7b7ad===_0x557677(0x11c)||/^apps\.[^.]+\.accessKey$/[_0x557677(0x118)](_0xd7b7ad))return maskCliAccessKey(_0x1773c9);if(_0xd7b7ad===_0x557677(0x11b)&&_0x1773c9&&typeof _0x1773c9===_0x557677(0x122)&&!Array[_0x557677(0x11f)](_0x1773c9))return redactLegacyAppCredentials(_0x1773c9);if(/^apps\.[^.]+$/[_0x557677(0x118)](_0xd7b7ad)&&_0x1773c9&&typeof _0x1773c9===_0x557677(0x122)&&!Array['isArray'](_0x1773c9)){const _0x5c6d69=_0x1773c9;return Object[_0x557677(0x12e)][_0x557677(0x12b)][_0x557677(0x130)](_0x5c6d69,_0x557677(0x11c))?{..._0x5c6d69,'accessKey':maskCliAccessKey(_0x5c6d69[_0x557677(0x11c)])}:_0x1773c9;}return _0x1773c9;}function redactLegacyAppCredentials(_0x59dbdb){const _0x1df5ca=a151_0x1d6c4a;return Object[_0x1df5ca(0x11a)](Object[_0x1df5ca(0x12f)](_0x59dbdb)['map'](([_0x17334f,_0x492a54])=>{const _0xc610d0=_0x1df5ca;if(!_0x492a54||typeof _0x492a54!==_0xc610d0(0x122)||Array[_0xc610d0(0x11f)](_0x492a54))return[_0x17334f,_0x492a54];const _0x304fce={..._0x492a54};return Object[_0xc610d0(0x12e)][_0xc610d0(0x12b)][_0xc610d0(0x130)](_0x304fce,_0xc610d0(0x11c))&&(_0x304fce[_0xc610d0(0x11c)]=maskCliAccessKey(_0x304fce[_0xc610d0(0x11c)])),[_0x17334f,_0x304fce];}));}function a151_0x4971(){const _0x57dbdd=['117036rlLWaW','<redacted>','373765kwpniq','string','4lJsvix','1898915xILkrF','5456WNwtie','slice','hasOwnProperty','80baEQcF','689878gEFHxg','prototype','entries','call','3285876LwAeaa','test','length','fromEntries','apps','accessKey','24167Ewarlu','590FJHPJD','isArray','12276DJdiTF','6mKJfMK','object'];a151_0x4971=function(){return _0x57dbdd;};return a151_0x4971();}
1
+ function a151_0x3565(_0x211ca2,_0x3942fd){_0x211ca2=_0x211ca2-0xc8;const _0x31e9b1=a151_0x31e9();let _0x356533=_0x31e9b1[_0x211ca2];return _0x356533;}const a151_0xb895f8=a151_0x3565;(function(_0x493758,_0x4ed712){const _0x306102=a151_0x3565,_0x2225da=_0x493758();while(!![]){try{const _0x17f5a4=parseInt(_0x306102(0xd1))/0x1*(-parseInt(_0x306102(0xdb))/0x2)+parseInt(_0x306102(0xe1))/0x3*(-parseInt(_0x306102(0xd8))/0x4)+-parseInt(_0x306102(0xe2))/0x5*(parseInt(_0x306102(0xd0))/0x6)+-parseInt(_0x306102(0xd5))/0x7+parseInt(_0x306102(0xc8))/0x8*(parseInt(_0x306102(0xde))/0x9)+-parseInt(_0x306102(0xcb))/0xa+parseInt(_0x306102(0xd3))/0xb;if(_0x17f5a4===_0x4ed712)break;else _0x2225da['push'](_0x2225da['shift']());}catch(_0x1b61cc){_0x2225da['push'](_0x2225da['shift']());}}}(a151_0x31e9,0x3df13));function a151_0x31e9(){const _0x58c30f=['14367TtWLkb','3340ffIOFN','192952JkFFmp','hasOwnProperty','<redacted>','1444290RxbMPM','repeat','string','test','isArray','1602JDHLeS','341336vOjukQ','accessKey','13945767nGkgle','call','3468815cWEVHy','apps','prototype','100UIEutT','fromEntries','entries','2SUXgIG','length','map','99foAgdg','object','slice'];a151_0x31e9=function(){return _0x58c30f;};return a151_0x31e9();}const REDACTED_ACCESS_KEY=a151_0xb895f8(0xca);export function maskCliAccessKey(_0xfe5923){const _0x3a28d1=a151_0xb895f8;if(typeof _0xfe5923!==_0x3a28d1(0xcd)||_0xfe5923[_0x3a28d1(0xdc)]<=0x8)return REDACTED_ACCESS_KEY;return''+_0xfe5923[_0x3a28d1(0xe0)](0x0,0x8)+'*'[_0x3a28d1(0xcc)](_0xfe5923[_0x3a28d1(0xdc)]-0x8);}export function redactCliConfigCredentials(_0x2e64b5){const _0x465146=a151_0xb895f8,_0x388fee={..._0x2e64b5};return Object[_0x465146(0xd7)][_0x465146(0xc9)][_0x465146(0xd4)](_0x388fee,_0x465146(0xd2))&&(_0x388fee[_0x465146(0xd2)]=maskCliAccessKey(_0x388fee[_0x465146(0xd2)])),_0x388fee[_0x465146(0xd6)]&&typeof _0x388fee[_0x465146(0xd6)]===_0x465146(0xdf)&&!Array[_0x465146(0xcf)](_0x388fee[_0x465146(0xd6)])&&(_0x388fee[_0x465146(0xd6)]=redactLegacyAppCredentials(_0x388fee[_0x465146(0xd6)])),_0x388fee;}export function redactCliConfigValue(_0x30f37c,_0x3a7927){const _0x26ee4e=a151_0xb895f8;if(_0x30f37c==='accessKey'||/^apps\.[^.]+\.accessKey$/['test'](_0x30f37c))return maskCliAccessKey(_0x3a7927);if(_0x30f37c===_0x26ee4e(0xd6)&&_0x3a7927&&typeof _0x3a7927===_0x26ee4e(0xdf)&&!Array[_0x26ee4e(0xcf)](_0x3a7927))return redactLegacyAppCredentials(_0x3a7927);if(/^apps\.[^.]+$/[_0x26ee4e(0xce)](_0x30f37c)&&_0x3a7927&&typeof _0x3a7927===_0x26ee4e(0xdf)&&!Array[_0x26ee4e(0xcf)](_0x3a7927)){const _0xfe2629=_0x3a7927;return Object['prototype']['hasOwnProperty'][_0x26ee4e(0xd4)](_0xfe2629,_0x26ee4e(0xd2))?{..._0xfe2629,'accessKey':maskCliAccessKey(_0xfe2629[_0x26ee4e(0xd2)])}:_0x3a7927;}return _0x3a7927;}function redactLegacyAppCredentials(_0x343f3a){const _0x291e2b=a151_0xb895f8;return Object[_0x291e2b(0xd9)](Object[_0x291e2b(0xda)](_0x343f3a)[_0x291e2b(0xdd)](([_0x1ec559,_0x27aa4f])=>{const _0x3bd630=_0x291e2b;if(!_0x27aa4f||typeof _0x27aa4f!=='object'||Array[_0x3bd630(0xcf)](_0x27aa4f))return[_0x1ec559,_0x27aa4f];const _0x69d542={..._0x27aa4f};return Object[_0x3bd630(0xd7)][_0x3bd630(0xc9)][_0x3bd630(0xd4)](_0x69d542,_0x3bd630(0xd2))&&(_0x69d542[_0x3bd630(0xd2)]=maskCliAccessKey(_0x69d542[_0x3bd630(0xd2)])),[_0x1ec559,_0x69d542];}));}
@@ -1 +1 @@
1
- (function(_0x5da297,_0x4b71f8){const _0x79471b=a152_0xf055,_0x3ae3bb=_0x5da297();while(!![]){try{const _0x145f6d=-parseInt(_0x79471b(0x98))/0x1+-parseInt(_0x79471b(0x9c))/0x2*(parseInt(_0x79471b(0x99))/0x3)+parseInt(_0x79471b(0x9b))/0x4+-parseInt(_0x79471b(0x9f))/0x5+-parseInt(_0x79471b(0x96))/0x6*(-parseInt(_0x79471b(0x9a))/0x7)+-parseInt(_0x79471b(0xa0))/0x8*(-parseInt(_0x79471b(0x9e))/0x9)+-parseInt(_0x79471b(0x9d))/0xa*(-parseInt(_0x79471b(0x97))/0xb);if(_0x145f6d===_0x4b71f8)break;else _0x3ae3bb['push'](_0x3ae3bb['shift']());}catch(_0xf930b9){_0x3ae3bb['push'](_0x3ae3bb['shift']());}}}(a152_0x267c,0x6272c));function a152_0xf055(_0x14e0b5,_0x415e83){_0x14e0b5=_0x14e0b5-0x96;const _0x267ca4=a152_0x267c();let _0xf055ec=_0x267ca4[_0x14e0b5];return _0xf055ec;}import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a152_0x267c(){const _0x1a474c=['8236660ErdhBd','145989ebahXG','2578740cOYgkO','88CGCtoA','6MqEERo','11jVyGjJ','551442GGuIBw','4329opSnSG','5608995TxWxeq','590284zCLPYm','666eFfznf'];a152_0x267c=function(){return _0x1a474c;};return a152_0x267c();}export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
1
+ function a152_0x5612(_0x422876,_0x44a503){_0x422876=_0x422876-0x11e;const _0x2ae8b1=a152_0x2ae8();let _0x561239=_0x2ae8b1[_0x422876];return _0x561239;}(function(_0x16b7d6,_0x526fdd){const _0x411cb0=a152_0x5612,_0x727cae=_0x16b7d6();while(!![]){try{const _0x2d32a7=parseInt(_0x411cb0(0x124))/0x1+parseInt(_0x411cb0(0x121))/0x2+parseInt(_0x411cb0(0x120))/0x3+parseInt(_0x411cb0(0x122))/0x4+-parseInt(_0x411cb0(0x123))/0x5+parseInt(_0x411cb0(0x11e))/0x6*(parseInt(_0x411cb0(0x125))/0x7)+-parseInt(_0x411cb0(0x11f))/0x8;if(_0x2d32a7===_0x526fdd)break;else _0x727cae['push'](_0x727cae['shift']());}catch(_0x4d2152){_0x727cae['push'](_0x727cae['shift']());}}}(a152_0x2ae8,0x6fcb2));import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a152_0x2ae8(){const _0x206f0a=['5220896YOFZYa','343614eBiJUV','401734bpzPex','408016KGAEBE','626560xiItWF','22919whwteC','5568514iTyPUX','6BwkyZJ'];a152_0x2ae8=function(){return _0x206f0a;};return a152_0x2ae8();}import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
@@ -1 +1 @@
1
- (function(_0x41c1bb,_0x3b660e){const _0x3df138=a153_0x415c,_0x2f3684=_0x41c1bb();while(!![]){try{const _0x1f3e21=-parseInt(_0x3df138(0x113))/0x1*(-parseInt(_0x3df138(0x112))/0x2)+parseInt(_0x3df138(0x110))/0x3*(parseInt(_0x3df138(0x105))/0x4)+parseInt(_0x3df138(0x103))/0x5+-parseInt(_0x3df138(0x106))/0x6+parseInt(_0x3df138(0xff))/0x7*(parseInt(_0x3df138(0x102))/0x8)+-parseInt(_0x3df138(0x10f))/0x9+-parseInt(_0x3df138(0x101))/0xa;if(_0x1f3e21===_0x3b660e)break;else _0x2f3684['push'](_0x2f3684['shift']());}catch(_0x2291b1){_0x2f3684['push'](_0x2f3684['shift']());}}}(a153_0x32ed,0x91db3));import a153_0x2c5157 from'semver';import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';import{CliErrors}from'../errors.js';function a153_0x415c(_0x418ceb,_0x3f6a41){_0x418ceb=_0x418ceb-0xfe;const _0x32ed30=a153_0x32ed();let _0x415c74=_0x32ed30[_0x418ceb];return _0x415c74;}import{getCliVersionPolicy}from'../utils/cli-version-policy.js';import{getCliVersion}from'../utils/version.js';export function evaluateCliVersionPolicy(_0xb6a2a8,_0x59a417){const _0x1f85ed=a153_0x415c,_0x10da12=a153_0x2c5157[_0x1f85ed(0x104)](_0xb6a2a8)===_0xb6a2a8,_0x39c9a5=_0x59a417?.[_0x1f85ed(0x10b)]??null,_0x2e6bb8=_0x59a417?.[_0x1f85ed(0xfe)]??null,_0x37750b=Boolean(_0x10da12&&_0x39c9a5&&a153_0x2c5157['lt'](_0xb6a2a8,_0x39c9a5)),_0x2e8ccc=Boolean(_0x10da12&&_0x2e6bb8&&a153_0x2c5157['lt'](_0xb6a2a8,_0x2e6bb8));return{'currentVersion':_0xb6a2a8,'stableVersion':_0x39c9a5,'minimumVersion':_0x2e6bb8,'needsUpgrade':_0x37750b||_0x2e8ccc,'belowMinimum':_0x2e8ccc,'upgradeMessage':_0x59a417?.[_0x1f85ed(0x116)],'minimumVersionMessage':_0x59a417?.[_0x1f85ed(0x109)]};}export async function checkCliVersion(){return evaluateCliVersionPolicy(getCliVersion(),await getCliVersionPolicy());}function a153_0x32ed(){const _0x43ddc5=['validation','stableVersion','join','npm\x20install\x20-g\x20','latest','9686052FxhKTN','97377wKZRxt','Current\x20CLI\x20version\x20is\x20below\x20the\x20minimum\x20supported\x20version.','2nNFXFt','1118078PLVCnA','filter','currentVersion','upgradeMessage','minimumVersion','2624118iMpuWj','unavailable','8625420cQVofl','16CsfDHp','1934315atNDhR','valid','56PeGIkV','1037508pslIrO','Recommended\x20stable:\x20','belowMinimum','minimumVersionMessage'];a153_0x32ed=function(){return _0x43ddc5;};return a153_0x32ed();}export function getCliUpgradeCommand(_0x3fffab){const _0x4a4b8b=a153_0x415c;return _0x4a4b8b(0x10d)+LOVRABET_NPM_PACKAGE_NAME+'@'+(_0x3fffab[_0x4a4b8b(0x10b)]??_0x4a4b8b(0x10e));}export function assertCliVersionSupported(_0x456336){const _0x315a1f=a153_0x415c;if(!_0x456336[_0x315a1f(0x108)])return;const _0x288d09=[_0x456336['minimumVersionMessage'],'Current\x20version:\x20'+_0x456336[_0x315a1f(0x115)],'Minimum\x20supported:\x20'+_0x456336[_0x315a1f(0xfe)],_0x315a1f(0x107)+(_0x456336['stableVersion']??_0x315a1f(0x100)),'Upgrade\x20command:\x20'+getCliUpgradeCommand(_0x456336)][_0x315a1f(0x114)](Boolean)[_0x315a1f(0x10c)]('\x0a');throw CliErrors[_0x315a1f(0x10a)](_0x315a1f(0x111),_0x288d09);}
1
+ (function(_0x671945,_0x1df166){const _0x2387f8=a153_0x4d97,_0x2159ab=_0x671945();while(!![]){try{const _0x339f15=-parseInt(_0x2387f8(0x14d))/0x1*(-parseInt(_0x2387f8(0x141))/0x2)+-parseInt(_0x2387f8(0x145))/0x3+parseInt(_0x2387f8(0x13f))/0x4*(-parseInt(_0x2387f8(0x14e))/0x5)+-parseInt(_0x2387f8(0x14b))/0x6+parseInt(_0x2387f8(0x148))/0x7*(parseInt(_0x2387f8(0x140))/0x8)+parseInt(_0x2387f8(0x13e))/0x9+-parseInt(_0x2387f8(0x13d))/0xa;if(_0x339f15===_0x1df166)break;else _0x2159ab['push'](_0x2159ab['shift']());}catch(_0x5c26d4){_0x2159ab['push'](_0x2159ab['shift']());}}}(a153_0x2208,0xe6fd4));import a153_0x199b52 from'semver';import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';import{CliErrors}from'../errors.js';import{getCliVersionPolicy}from'../utils/cli-version-policy.js';function a153_0x4d97(_0x436ad2,_0x2aa7a5){_0x436ad2=_0x436ad2-0x13b;const _0x2208f1=a153_0x2208();let _0x4d9762=_0x2208f1[_0x436ad2];return _0x4d9762;}import{getCliVersion}from'../utils/version.js';function a153_0x2208(){const _0x3f5202=['10765020EvprPr','Upgrade\x20command:\x20','126347sWKPFI','24715ACWEjN','Current\x20version:\x20','minimumVersion','stableVersion','Minimum\x20supported:\x20','upgradeMessage','Recommended\x20stable:\x20','npm\x20install\x20-g\x20','14513690BBwEUx','14091012bkvUmF','148VQGQGL','8UITVCH','26ofrbzb','currentVersion','validation','belowMinimum','539034ZzWYXh','minimumVersionMessage','Current\x20CLI\x20version\x20is\x20below\x20the\x20minimum\x20supported\x20version.','9422427dEKsAW','filter','valid'];a153_0x2208=function(){return _0x3f5202;};return a153_0x2208();}export function evaluateCliVersionPolicy(_0x43c20c,_0x1c2427){const _0x4079aa=a153_0x4d97,_0x53fa5e=a153_0x199b52[_0x4079aa(0x14a)](_0x43c20c)===_0x43c20c,_0x4cf27b=_0x1c2427?.['stableVersion']??null,_0x3b37a2=_0x1c2427?.[_0x4079aa(0x150)]??null,_0x29b0a8=Boolean(_0x53fa5e&&_0x4cf27b&&a153_0x199b52['lt'](_0x43c20c,_0x4cf27b)),_0x21c072=Boolean(_0x53fa5e&&_0x3b37a2&&a153_0x199b52['lt'](_0x43c20c,_0x3b37a2));return{'currentVersion':_0x43c20c,'stableVersion':_0x4cf27b,'minimumVersion':_0x3b37a2,'needsUpgrade':_0x29b0a8||_0x21c072,'belowMinimum':_0x21c072,'upgradeMessage':_0x1c2427?.[_0x4079aa(0x153)],'minimumVersionMessage':_0x1c2427?.[_0x4079aa(0x146)]};}export async function checkCliVersion(){return evaluateCliVersionPolicy(getCliVersion(),await getCliVersionPolicy());}export function getCliUpgradeCommand(_0x402a0c){const _0x312ffb=a153_0x4d97;return _0x312ffb(0x13c)+LOVRABET_NPM_PACKAGE_NAME+'@'+(_0x402a0c[_0x312ffb(0x151)]??'latest');}export function assertCliVersionSupported(_0x11b164){const _0x12b3e1=a153_0x4d97;if(!_0x11b164[_0x12b3e1(0x144)])return;const _0x15c735=[_0x11b164[_0x12b3e1(0x146)],_0x12b3e1(0x14f)+_0x11b164[_0x12b3e1(0x142)],_0x12b3e1(0x152)+_0x11b164[_0x12b3e1(0x150)],_0x12b3e1(0x13b)+(_0x11b164[_0x12b3e1(0x151)]??'unavailable'),_0x12b3e1(0x14c)+getCliUpgradeCommand(_0x11b164)][_0x12b3e1(0x149)](Boolean)['join']('\x0a');throw CliErrors[_0x12b3e1(0x143)](_0x12b3e1(0x147),_0x15c735);}
@@ -1 +1 @@
1
- (function(_0x14081a,_0x169f05){const _0x2a2f23=a154_0x1af4,_0x199bd6=_0x14081a();while(!![]){try{const _0x6e2bf6=-parseInt(_0x2a2f23(0x186))/0x1*(parseInt(_0x2a2f23(0x197))/0x2)+parseInt(_0x2a2f23(0x182))/0x3*(parseInt(_0x2a2f23(0x188))/0x4)+parseInt(_0x2a2f23(0x196))/0x5+parseInt(_0x2a2f23(0x17d))/0x6*(parseInt(_0x2a2f23(0x192))/0x7)+-parseInt(_0x2a2f23(0x191))/0x8+-parseInt(_0x2a2f23(0x189))/0x9*(-parseInt(_0x2a2f23(0x17e))/0xa)+-parseInt(_0x2a2f23(0x18d))/0xb*(-parseInt(_0x2a2f23(0x180))/0xc);if(_0x6e2bf6===_0x169f05)break;else _0x199bd6['push'](_0x199bd6['shift']());}catch(_0x2dde31){_0x199bd6['push'](_0x199bd6['shift']());}}}(a154_0x54ab,0x3368a));function a154_0x54ab(){const _0x131b68=['finally','timeout','545446NVWjps','string','object','latestVersion','308888BBjhDQ','7aZlFtc','minimumVersion','json','cli','314825LpXDbT','392990vnzmSD','minimumVersionMessage','valid','244386LOsosA','10KcANab','recommendedVersion','12IkgygY','now','94254RDdIbB','then','application/json','minVersion','2frZrKP','upgradeMessage','52evNmXa','724095gWHIVu','trim'];a154_0x54ab=function(){return _0x131b68;};return a154_0x54ab();}import a154_0x536f34 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(_0x453af0){const _0x272cc6=a154_0x1af4;return typeof _0x453af0===_0x272cc6(0x18e)&&_0x453af0[_0x272cc6(0x18a)]()?_0x453af0['trim']():null;}function pickStrictSemver(_0xcc621e){const _0x1034da=a154_0x1af4,_0x125020=pickString(_0xcc621e);return _0x125020&&a154_0x536f34[_0x1034da(0x199)](_0x125020)===_0x125020?_0x125020:null;}export function normalizeCliVersionPolicy(_0x277af6){const _0x22a7f9=a154_0x1af4;if(!_0x277af6||typeof _0x277af6!==_0x22a7f9(0x18f))return null;const _0x2514ed=_0x277af6,_0x3798ed=_0x2514ed[_0x22a7f9(0x195)]&&typeof _0x2514ed[_0x22a7f9(0x195)]==='object'?_0x2514ed[_0x22a7f9(0x195)]:_0x2514ed,_0x2fa6f1=pickStrictSemver(_0x3798ed['stableVersion']??_0x3798ed[_0x22a7f9(0x190)]??_0x3798ed[_0x22a7f9(0x17f)]),_0x5d3ad0=pickStrictSemver(_0x3798ed[_0x22a7f9(0x193)]??_0x3798ed[_0x22a7f9(0x185)]);if(!_0x2fa6f1&&!_0x5d3ad0)return null;if(_0x2fa6f1&&_0x5d3ad0&&a154_0x536f34['gt'](_0x5d3ad0,_0x2fa6f1))return null;return{'stableVersion':_0x2fa6f1,'minimumVersion':_0x5d3ad0,'upgradeMessage':pickString(_0x3798ed[_0x22a7f9(0x187)])??undefined,'minimumVersionMessage':pickString(_0x3798ed[_0x22a7f9(0x198)])??undefined};}export async function fetchCliVersionPolicy(){const _0x10aba5=a154_0x1af4;try{const _0x2da518=await fetch(LOVRABET_CLI_VERSION_POLICY_URL,{'headers':{'Accept':_0x10aba5(0x184)},'signal':AbortSignal[_0x10aba5(0x18c)](FETCH_TIMEOUT_MS)});if(!_0x2da518['ok'])return null;return normalizeCliVersionPolicy(await _0x2da518[_0x10aba5(0x194)]());}catch{return null;}}let cachedPolicy=null,cachedAt=0x0,hasCachedPolicy=![],pendingPolicy=null;function a154_0x1af4(_0x44bece,_0x204469){_0x44bece=_0x44bece-0x17d;const _0x54abb1=a154_0x54ab();let _0x1af4b5=_0x54abb1[_0x44bece];return _0x1af4b5;}export async function getCliVersionPolicy(){const _0x12ed6b=a154_0x1af4,_0x444d0f=Date[_0x12ed6b(0x181)]();if(hasCachedPolicy){const _0x4dbfd0=cachedPolicy?SUCCESS_CACHE_TTL_MS:FAILURE_CACHE_TTL_MS;if(_0x444d0f-cachedAt<_0x4dbfd0)return cachedPolicy;}if(pendingPolicy)return pendingPolicy;return pendingPolicy=fetchCliVersionPolicy()[_0x12ed6b(0x183)](_0x3a2857=>{const _0x585d80=_0x12ed6b;return cachedPolicy=_0x3a2857,cachedAt=Date[_0x585d80(0x181)](),hasCachedPolicy=!![],_0x3a2857;})[_0x12ed6b(0x18b)](()=>{pendingPolicy=null;}),pendingPolicy;}export function clearCliVersionPolicyCache(){cachedPolicy=null,cachedAt=0x0,hasCachedPolicy=![],pendingPolicy=null;}
1
+ (function(_0x24d884,_0x4d8710){const _0x57769b=a154_0x5a86,_0x3f4045=_0x24d884();while(!![]){try{const _0x564e88=parseInt(_0x57769b(0x132))/0x1*(-parseInt(_0x57769b(0x130))/0x2)+-parseInt(_0x57769b(0x141))/0x3+-parseInt(_0x57769b(0x13a))/0x4*(-parseInt(_0x57769b(0x135))/0x5)+-parseInt(_0x57769b(0x13e))/0x6*(-parseInt(_0x57769b(0x145))/0x7)+parseInt(_0x57769b(0x133))/0x8+parseInt(_0x57769b(0x13c))/0x9*(parseInt(_0x57769b(0x137))/0xa)+-parseInt(_0x57769b(0x139))/0xb;if(_0x564e88===_0x4d8710)break;else _0x3f4045['push'](_0x3f4045['shift']());}catch(_0x4f6c35){_0x3f4045['push'](_0x3f4045['shift']());}}}(a154_0x4832,0x24d84));import a154_0x4aba97 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 a154_0x5a86(_0xff835e,_0xde5144){_0xff835e=_0xff835e-0x12c;const _0x48320a=a154_0x4832();let _0x5a86eb=_0x48320a[_0xff835e];return _0x5a86eb;}function pickString(_0x183bfb){const _0x24a7d1=a154_0x5a86;return typeof _0x183bfb===_0x24a7d1(0x138)&&_0x183bfb[_0x24a7d1(0x144)]()?_0x183bfb[_0x24a7d1(0x144)]():null;}function pickStrictSemver(_0x18e7af){const _0x3045f3=a154_0x5a86,_0x3c3db8=pickString(_0x18e7af);return _0x3c3db8&&a154_0x4aba97[_0x3045f3(0x143)](_0x3c3db8)===_0x3c3db8?_0x3c3db8:null;}export function normalizeCliVersionPolicy(_0x2d809d){const _0x31aad2=a154_0x5a86;if(!_0x2d809d||typeof _0x2d809d!==_0x31aad2(0x142))return null;const _0x597932=_0x2d809d,_0x4de18f=_0x597932[_0x31aad2(0x13f)]&&typeof _0x597932[_0x31aad2(0x13f)]===_0x31aad2(0x142)?_0x597932[_0x31aad2(0x13f)]:_0x597932,_0x2a1523=pickStrictSemver(_0x4de18f[_0x31aad2(0x136)]??_0x4de18f['latestVersion']??_0x4de18f[_0x31aad2(0x13d)]),_0x2bf68e=pickStrictSemver(_0x4de18f['minimumVersion']??_0x4de18f[_0x31aad2(0x131)]);if(!_0x2a1523&&!_0x2bf68e)return null;if(_0x2a1523&&_0x2bf68e&&a154_0x4aba97['gt'](_0x2bf68e,_0x2a1523))return null;return{'stableVersion':_0x2a1523,'minimumVersion':_0x2bf68e,'upgradeMessage':pickString(_0x4de18f[_0x31aad2(0x12d)])??undefined,'minimumVersionMessage':pickString(_0x4de18f[_0x31aad2(0x12f)])??undefined};}function a154_0x4832(){const _0xde8823=['string','2106731zpJAiN','188JKpmBI','json','120060fQmNkj','recommendedVersion','2178tvCdpx','cli','application/json','738027TPAJHh','object','valid','trim','840AENUBc','now','upgradeMessage','then','minimumVersionMessage','39418HYazDT','minVersion','3tFLSwO','2333648HlxLWT','timeout','31805mHlUiu','stableVersion','10lFiiKC'];a154_0x4832=function(){return _0xde8823;};return a154_0x4832();}export async function fetchCliVersionPolicy(){const _0xb15e09=a154_0x5a86;try{const _0x28ea76=await fetch(LOVRABET_CLI_VERSION_POLICY_URL,{'headers':{'Accept':_0xb15e09(0x140)},'signal':AbortSignal[_0xb15e09(0x134)](FETCH_TIMEOUT_MS)});if(!_0x28ea76['ok'])return null;return normalizeCliVersionPolicy(await _0x28ea76[_0xb15e09(0x13b)]());}catch{return null;}}let cachedPolicy=null,cachedAt=0x0,hasCachedPolicy=![],pendingPolicy=null;export async function getCliVersionPolicy(){const _0x5674e3=a154_0x5a86,_0x47cdde=Date[_0x5674e3(0x12c)]();if(hasCachedPolicy){const _0x481cff=cachedPolicy?SUCCESS_CACHE_TTL_MS:FAILURE_CACHE_TTL_MS;if(_0x47cdde-cachedAt<_0x481cff)return cachedPolicy;}if(pendingPolicy)return pendingPolicy;return pendingPolicy=fetchCliVersionPolicy()[_0x5674e3(0x12e)](_0x380582=>{return cachedPolicy=_0x380582,cachedAt=Date['now'](),hasCachedPolicy=!![],_0x380582;})['finally'](()=>{pendingPolicy=null;}),pendingPolicy;}export function clearCliVersionPolicyCache(){cachedPolicy=null,cachedAt=0x0,hasCachedPolicy=![],pendingPolicy=null;}
@@ -1 +1 @@
1
- const a155_0x26f21b=a155_0x3486;function a155_0x3486(_0x1268a1,_0x125f17){_0x1268a1=_0x1268a1-0xe1;const _0x48a281=a155_0x48a2();let _0x34869c=_0x48a281[_0x1268a1];return _0x34869c;}(function(_0x383bf7,_0x739648){const _0x38d468=a155_0x3486,_0x549648=_0x383bf7();while(!![]){try{const _0x42f4a1=parseInt(_0x38d468(0xf9))/0x1+-parseInt(_0x38d468(0x110))/0x2*(parseInt(_0x38d468(0xee))/0x3)+parseInt(_0x38d468(0x10f))/0x4+parseInt(_0x38d468(0x109))/0x5+-parseInt(_0x38d468(0xf3))/0x6*(-parseInt(_0x38d468(0xfd))/0x7)+-parseInt(_0x38d468(0xe6))/0x8+-parseInt(_0x38d468(0xe7))/0x9;if(_0x42f4a1===_0x739648)break;else _0x549648['push'](_0x549648['shift']());}catch(_0x5316b8){_0x549648['push'](_0x549648['shift']());}}}(a155_0x48a2,0x3aa80));import a155_0x3beb0c from'winston';function a155_0x48a2(){const _0x32822b=['success','log','164836MnQztT','615324hSNZLS','dirname','utf8','existsSync','currentRawCommand','message','Failed\x20to\x20clear\x20logs:','level','addColors','File','3173504KdzewN','501147EpYfSQ','parse','clear','unknown','getWinstonInstance','mkdirSync','combine','3AoZSLC','transports','info','join','duration','2190xpakUq','readFileSync','details','rawCommand','logFilePath','warn','377569WqMUwo','errors','writeFileSync','format','5313VpsDDq','printf','logTask','now','Completed:\x20','blue','setRawCommand','winstonLogger','toISOString','trim','red','initWinstonLogger','1522380QrExpf','split','stringify','green'];a155_0x48a2=function(){return _0x32822b;};return a155_0x48a2();}import a155_0x1b0c82 from'node:fs';import a155_0x3ce451 from'node:path';import{PRODUCT_CONFIG}from'../constant/product.js';class Logger{[a155_0x26f21b(0x104)];[a155_0x26f21b(0xf7)]='';[a155_0x26f21b(0x114)]='';constructor(){}[a155_0x26f21b(0x103)](_0x268268){this['currentRawCommand']=_0x268268;}['setLogPath'](_0x4dc5e8){const _0x1fc07f=a155_0x26f21b;this[_0x1fc07f(0xf7)]=a155_0x3ce451[_0x1fc07f(0xf1)](_0x4dc5e8,PRODUCT_CONFIG['logFileName']),this[_0x1fc07f(0x104)]&&this[_0x1fc07f(0x104)][_0x1fc07f(0xe9)](),this['initWinstonLogger']();}[a155_0x26f21b(0x108)](){const _0x2b569f=a155_0x26f21b,_0x3e2f0c=a155_0x3ce451[_0x2b569f(0x111)](this[_0x2b569f(0xf7)]);!a155_0x1b0c82[_0x2b569f(0x113)](_0x3e2f0c)&&a155_0x1b0c82[_0x2b569f(0xec)](_0x3e2f0c,{'recursive':!![]});const _0x55b647=a155_0x3beb0c[_0x2b569f(0xfc)][_0x2b569f(0xed)](a155_0x3beb0c[_0x2b569f(0xfc)]['timestamp'](),a155_0x3beb0c[_0x2b569f(0xfc)][_0x2b569f(0xfa)]({'stack':!![]}),a155_0x3beb0c['format'][_0x2b569f(0xfe)](_0x3ad1a5=>{const _0x332111=_0x2b569f,_0x12ce96={'timestamp':_0x3ad1a5['timestamp']||new Date()[_0x332111(0x105)](),'level':_0x3ad1a5[_0x332111(0xe3)]||_0x332111(0xf0),'command':_0x3ad1a5['command']||_0x332111(0xea),'rawCommand':_0x3ad1a5[_0x332111(0xf6)]||this['currentRawCommand']||undefined,'message':_0x3ad1a5[_0x332111(0xe1)]||'','duration':_0x3ad1a5[_0x332111(0xf2)]||undefined,'details':_0x3ad1a5[_0x332111(0xf5)]||undefined};return JSON[_0x332111(0x10b)](_0x12ce96);}));this[_0x2b569f(0x104)]=a155_0x3beb0c['createLogger']({'level':'info','format':_0x55b647,'transports':[new a155_0x3beb0c[(_0x2b569f(0xef))][(_0x2b569f(0xe5))]({'filename':this[_0x2b569f(0xf7)],'level':'info'})],'silent':![]}),a155_0x3beb0c[_0x2b569f(0xe4)]({'success':_0x2b569f(0x10c),'error':_0x2b569f(0x107),'warn':'yellow','info':_0x2b569f(0x102)});}[a155_0x26f21b(0xf0)](_0x30fac9,_0x48c2ac,_0x186e40){const _0x2a0514=a155_0x26f21b;if(!this[_0x2a0514(0xf7)]||!this[_0x2a0514(0x104)])return;this[_0x2a0514(0x104)][_0x2a0514(0xf0)](_0x48c2ac,{'command':_0x30fac9,'details':_0x186e40});}[a155_0x26f21b(0x10d)](_0x5bebb4,_0xcafdba,_0x1ed2c8,_0x50be79){const _0x462fc2=a155_0x26f21b;if(!this[_0x462fc2(0xf7)]||!this[_0x462fc2(0x104)])return;this[_0x462fc2(0x104)][_0x462fc2(0x10e)]('info',_0xcafdba,{'level':_0x462fc2(0x10d),'command':_0x5bebb4,'duration':_0x1ed2c8,'details':_0x50be79});}['error'](_0x4a1ec3,_0x1e0dec,_0x5c9d15){const _0x57530e=a155_0x26f21b;if(!this['logFilePath']||!this[_0x57530e(0x104)])return;this['winstonLogger']['error'](_0x1e0dec,{'command':_0x4a1ec3,'details':_0x5c9d15});}[a155_0x26f21b(0xf8)](_0xf4cb18,_0x2c7ae3,_0x1dae35){const _0x1f1642=a155_0x26f21b;if(!this[_0x1f1642(0xf7)]||!this[_0x1f1642(0x104)])return;this[_0x1f1642(0x104)][_0x1f1642(0xf8)](_0x2c7ae3,{'command':_0xf4cb18,'details':_0x1dae35});}async[a155_0x26f21b(0xff)](_0x577938,_0x50b943,_0x3970ed){const _0x17b675=a155_0x26f21b,_0x33d78a=Date[_0x17b675(0x100)]();this['info'](_0x577938,'Starting:\x20'+_0x50b943);try{const _0x43f71d=await _0x3970ed(),_0x487667=Date[_0x17b675(0x100)]()-_0x33d78a;return this['success'](_0x577938,_0x17b675(0x101)+_0x50b943,_0x487667),_0x43f71d;}catch(_0x3db0a8){const _0x517d93=Date[_0x17b675(0x100)]()-_0x33d78a;this['error'](_0x577938,'Failed:\x20'+_0x50b943,{'error':_0x3db0a8 instanceof Error?_0x3db0a8[_0x17b675(0xe1)]:String(_0x3db0a8),'duration':_0x517d93});throw _0x3db0a8;}}['readLogs'](){const _0x4d908a=a155_0x26f21b;try{if(!a155_0x1b0c82[_0x4d908a(0x113)](this['logFilePath']))return[];const _0x33836c=a155_0x1b0c82[_0x4d908a(0xf4)](this['logFilePath'],_0x4d908a(0x112));return _0x33836c[_0x4d908a(0x10a)](/\r?\n/)['filter'](_0xe2043a=>_0xe2043a[_0x4d908a(0x106)]())['map'](_0x1e789f=>JSON[_0x4d908a(0xe8)](_0x1e789f));}catch(_0x4098e1){return console['warn']('Failed\x20to\x20read\x20logs:',_0x4098e1),[];}}['clearLogs'](){const _0x2dad90=a155_0x26f21b;try{a155_0x1b0c82[_0x2dad90(0x113)](this[_0x2dad90(0xf7)])&&a155_0x1b0c82[_0x2dad90(0xfb)](this[_0x2dad90(0xf7)],'',_0x2dad90(0x112));}catch(_0x2fccd6){console[_0x2dad90(0xf8)](_0x2dad90(0xe2),_0x2fccd6);}}[a155_0x26f21b(0xeb)](){const _0x5d5866=a155_0x26f21b;return this[_0x5d5866(0x104)];}}export const logger=new Logger();
1
+ const a155_0x3a51c9=a155_0x3873;(function(_0xd6064b,_0x195493){const _0x40e0d9=a155_0x3873,_0x4773b7=_0xd6064b();while(!![]){try{const _0x365c1c=parseInt(_0x40e0d9(0x1cf))/0x1*(-parseInt(_0x40e0d9(0x1ae))/0x2)+-parseInt(_0x40e0d9(0x1a6))/0x3+-parseInt(_0x40e0d9(0x1c5))/0x4*(parseInt(_0x40e0d9(0x1d1))/0x5)+-parseInt(_0x40e0d9(0x1cb))/0x6+parseInt(_0x40e0d9(0x1ce))/0x7*(parseInt(_0x40e0d9(0x1b5))/0x8)+parseInt(_0x40e0d9(0x1dc))/0x9*(parseInt(_0x40e0d9(0x1ac))/0xa)+-parseInt(_0x40e0d9(0x1b7))/0xb*(-parseInt(_0x40e0d9(0x1d8))/0xc);if(_0x365c1c===_0x195493)break;else _0x4773b7['push'](_0x4773b7['shift']());}catch(_0x3934a2){_0x4773b7['push'](_0x4773b7['shift']());}}}(a155_0x4f9f,0xb1977));function a155_0x4f9f(){const _0x12f6a4=['map','Starting:\x20','683712erFwuo','Failed\x20to\x20read\x20logs:','dirname','242011oFBpyX','1CLOkkD','currentRawCommand','97525njLLTZ','readLogs','getWinstonInstance','stringify','Failed\x20to\x20clear\x20logs:','format','log','504KWgltg','warn','printf','level','1134099JaaGxC','File','1846377TtbIgL','message','join','timestamp','logFileName','combine','50gOXkbW','initWinstonLogger','736966BAvnyH','Completed:\x20','now','trim','filter','blue','logFilePath','328yysvgh','Failed:\x20','161458PRUPRF','clear','readFileSync','details','existsSync','utf8','winstonLogger','errors','error','logTask','clearLogs','rawCommand','writeFileSync','success','172meEIDq','info','green','command'];a155_0x4f9f=function(){return _0x12f6a4;};return a155_0x4f9f();}import a155_0x12df83 from'winston';import a155_0x546920 from'node:fs';function a155_0x3873(_0x256629,_0x38c7a2){_0x256629=_0x256629-0x1a5;const _0x4f9f3a=a155_0x4f9f();let _0x3873df=_0x4f9f3a[_0x256629];return _0x3873df;}import a155_0x1462c5 from'node:path';import{PRODUCT_CONFIG}from'../constant/product.js';class Logger{[a155_0x3a51c9(0x1bd)];[a155_0x3a51c9(0x1b4)]='';[a155_0x3a51c9(0x1d0)]='';constructor(){}['setRawCommand'](_0x54d463){this['currentRawCommand']=_0x54d463;}['setLogPath'](_0xf07dca){const _0x58808f=a155_0x3a51c9;this['logFilePath']=a155_0x1462c5[_0x58808f(0x1a8)](_0xf07dca,PRODUCT_CONFIG[_0x58808f(0x1aa)]),this[_0x58808f(0x1bd)]&&this[_0x58808f(0x1bd)][_0x58808f(0x1b8)](),this[_0x58808f(0x1ad)]();}['initWinstonLogger'](){const _0x16de36=a155_0x3a51c9,_0x77769a=a155_0x1462c5[_0x16de36(0x1cd)](this[_0x16de36(0x1b4)]);!a155_0x546920[_0x16de36(0x1bb)](_0x77769a)&&a155_0x546920['mkdirSync'](_0x77769a,{'recursive':!![]});const _0x5dc55f=a155_0x12df83['format'][_0x16de36(0x1ab)](a155_0x12df83[_0x16de36(0x1d6)]['timestamp'](),a155_0x12df83[_0x16de36(0x1d6)][_0x16de36(0x1be)]({'stack':!![]}),a155_0x12df83['format'][_0x16de36(0x1da)](_0x374bf6=>{const _0x2e872d=_0x16de36,_0x11768b={'timestamp':_0x374bf6[_0x2e872d(0x1a9)]||new Date()['toISOString'](),'level':_0x374bf6[_0x2e872d(0x1db)]||_0x2e872d(0x1c6),'command':_0x374bf6[_0x2e872d(0x1c8)]||'unknown','rawCommand':_0x374bf6[_0x2e872d(0x1c2)]||this[_0x2e872d(0x1d0)]||undefined,'message':_0x374bf6[_0x2e872d(0x1a7)]||'','duration':_0x374bf6['duration']||undefined,'details':_0x374bf6[_0x2e872d(0x1ba)]||undefined};return JSON[_0x2e872d(0x1d4)](_0x11768b);}));this[_0x16de36(0x1bd)]=a155_0x12df83['createLogger']({'level':_0x16de36(0x1c6),'format':_0x5dc55f,'transports':[new a155_0x12df83['transports'][(_0x16de36(0x1a5))]({'filename':this[_0x16de36(0x1b4)],'level':_0x16de36(0x1c6)})],'silent':![]}),a155_0x12df83['addColors']({'success':_0x16de36(0x1c7),'error':'red','warn':'yellow','info':_0x16de36(0x1b3)});}[a155_0x3a51c9(0x1c6)](_0x5c0556,_0x10e2af,_0x1fa66a){const _0x532ede=a155_0x3a51c9;if(!this['logFilePath']||!this[_0x532ede(0x1bd)])return;this[_0x532ede(0x1bd)]['info'](_0x10e2af,{'command':_0x5c0556,'details':_0x1fa66a});}[a155_0x3a51c9(0x1c4)](_0x555d2d,_0x5615ed,_0x9ff2fb,_0x5bd41b){const _0x292460=a155_0x3a51c9;if(!this['logFilePath']||!this['winstonLogger'])return;this[_0x292460(0x1bd)][_0x292460(0x1d7)](_0x292460(0x1c6),_0x5615ed,{'level':_0x292460(0x1c4),'command':_0x555d2d,'duration':_0x9ff2fb,'details':_0x5bd41b});}[a155_0x3a51c9(0x1bf)](_0x27845b,_0x591c8e,_0x1643b0){const _0x24c9df=a155_0x3a51c9;if(!this[_0x24c9df(0x1b4)]||!this[_0x24c9df(0x1bd)])return;this[_0x24c9df(0x1bd)][_0x24c9df(0x1bf)](_0x591c8e,{'command':_0x27845b,'details':_0x1643b0});}['warn'](_0x1f88e0,_0xc9d138,_0x3e0184){const _0x261164=a155_0x3a51c9;if(!this['logFilePath']||!this[_0x261164(0x1bd)])return;this[_0x261164(0x1bd)][_0x261164(0x1d9)](_0xc9d138,{'command':_0x1f88e0,'details':_0x3e0184});}async[a155_0x3a51c9(0x1c0)](_0x44e3f1,_0x162a56,_0x5269f4){const _0x405525=a155_0x3a51c9,_0x487bda=Date[_0x405525(0x1b0)]();this[_0x405525(0x1c6)](_0x44e3f1,_0x405525(0x1ca)+_0x162a56);try{const _0x44572a=await _0x5269f4(),_0x1efaaa=Date[_0x405525(0x1b0)]()-_0x487bda;return this[_0x405525(0x1c4)](_0x44e3f1,_0x405525(0x1af)+_0x162a56,_0x1efaaa),_0x44572a;}catch(_0x2cf23a){const _0x1ed8c5=Date[_0x405525(0x1b0)]()-_0x487bda;this[_0x405525(0x1bf)](_0x44e3f1,_0x405525(0x1b6)+_0x162a56,{'error':_0x2cf23a instanceof Error?_0x2cf23a[_0x405525(0x1a7)]:String(_0x2cf23a),'duration':_0x1ed8c5});throw _0x2cf23a;}}[a155_0x3a51c9(0x1d2)](){const _0x3ca150=a155_0x3a51c9;try{if(!a155_0x546920[_0x3ca150(0x1bb)](this['logFilePath']))return[];const _0xccdb40=a155_0x546920[_0x3ca150(0x1b9)](this[_0x3ca150(0x1b4)],_0x3ca150(0x1bc));return _0xccdb40['split'](/\r?\n/)[_0x3ca150(0x1b2)](_0x2777b5=>_0x2777b5[_0x3ca150(0x1b1)]())[_0x3ca150(0x1c9)](_0x39a79f=>JSON['parse'](_0x39a79f));}catch(_0x3b87cc){return console[_0x3ca150(0x1d9)](_0x3ca150(0x1cc),_0x3b87cc),[];}}[a155_0x3a51c9(0x1c1)](){const _0xcef42d=a155_0x3a51c9;try{a155_0x546920[_0xcef42d(0x1bb)](this['logFilePath'])&&a155_0x546920[_0xcef42d(0x1c3)](this['logFilePath'],'',_0xcef42d(0x1bc));}catch(_0x2c677d){console[_0xcef42d(0x1d9)](_0xcef42d(0x1d5),_0x2c677d);}}[a155_0x3a51c9(0x1d3)](){const _0x17ca69=a155_0x3a51c9;return this[_0x17ca69(0x1bd)];}}export const logger=new Logger();
@@ -1 +1 @@
1
- const a156_0x4ce0e0=a156_0x2437;(function(_0x152998,_0x2a33f8){const _0x117ec1=a156_0x2437,_0x149692=_0x152998();while(!![]){try{const _0x495059=parseInt(_0x117ec1(0x1fb))/0x1+parseInt(_0x117ec1(0x1f8))/0x2*(parseInt(_0x117ec1(0x201))/0x3)+-parseInt(_0x117ec1(0x1f5))/0x4+parseInt(_0x117ec1(0x1f0))/0x5*(parseInt(_0x117ec1(0x203))/0x6)+parseInt(_0x117ec1(0x1ef))/0x7*(-parseInt(_0x117ec1(0x1ee))/0x8)+parseInt(_0x117ec1(0x1f1))/0x9*(-parseInt(_0x117ec1(0x1f4))/0xa)+parseInt(_0x117ec1(0x1f3))/0xb;if(_0x495059===_0x2a33f8)break;else _0x149692['push'](_0x149692['shift']());}catch(_0x1687d1){_0x149692['push'](_0x149692['shift']());}}}(a156_0x4974,0xee7e6));const JSON_NUMBER_PATTERN=/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?/,MAX_SAFE_INTEGER=BigInt(Number['MAX_SAFE_INTEGER']),MIN_SAFE_INTEGER=BigInt(Number[a156_0x4ce0e0(0x200)]);let restoreResponseJsonParser,responseJsonPrototype,originalResponseJsonDescriptor;function isUnsafeIntegerLiteral(_0x40864d){const _0x5a884f=a156_0x4ce0e0;if(_0x40864d[_0x5a884f(0x1f2)]('.')||_0x40864d[_0x5a884f(0x1f2)]('e')||_0x40864d[_0x5a884f(0x1f2)]('E'))return![];const _0x1db42d=BigInt(_0x40864d);return _0x1db42d>MAX_SAFE_INTEGER||_0x1db42d<MIN_SAFE_INTEGER;}function quoteUnsafeIntegerLiterals(_0x56f831){const _0x2144a7=a156_0x4ce0e0;let _0x3da03a='',_0x348eea=![],_0x188dea=![];for(let _0x4f95fe=0x0;_0x4f95fe<_0x56f831[_0x2144a7(0x1f6)];){const _0x1c8bbf=_0x56f831[_0x4f95fe];if(_0x348eea){_0x3da03a+=_0x1c8bbf,_0x4f95fe+=0x1;if(_0x188dea)_0x188dea=![];else{if(_0x1c8bbf==='\x5c')_0x188dea=!![];else _0x1c8bbf==='\x22'&&(_0x348eea=![]);}continue;}if(_0x1c8bbf==='\x22'){_0x348eea=!![],_0x3da03a+=_0x1c8bbf,_0x4f95fe+=0x1;continue;}if(_0x1c8bbf==='-'||_0x1c8bbf>='0'&&_0x1c8bbf<='9'){const _0x34cf71=JSON_NUMBER_PATTERN[_0x2144a7(0x1fe)](_0x56f831[_0x2144a7(0x1f7)](_0x4f95fe))?.[0x0];if(_0x34cf71){_0x3da03a+=isUnsafeIntegerLiteral(_0x34cf71)?'\x22'+_0x34cf71+'\x22':_0x34cf71,_0x4f95fe+=_0x34cf71[_0x2144a7(0x1f6)];continue;}}_0x3da03a+=_0x1c8bbf,_0x4f95fe+=0x1;}return _0x3da03a;}export function parseLosslessJson(_0x42149c){const _0x1d8ac1=a156_0x4ce0e0;return JSON[_0x1d8ac1(0x1fd)](quoteUnsafeIntegerLiterals(_0x42149c));}export function installLosslessJsonResponseParser(){const _0x2e1306=a156_0x4ce0e0;if(typeof Response===_0x2e1306(0x1fa))return()=>{};if(restoreResponseJsonParser)return restoreResponseJsonParser;return responseJsonPrototype=Response[_0x2e1306(0x1fc)],originalResponseJsonDescriptor=Object['getOwnPropertyDescriptor'](responseJsonPrototype,_0x2e1306(0x1f9)),Object[_0x2e1306(0x202)](responseJsonPrototype,_0x2e1306(0x1f9),{...originalResponseJsonDescriptor??{'configurable':!![],'enumerable':![],'writable':!![]},'value':async function _0x422953(){const _0x48000c=_0x2e1306;return parseLosslessJson(await this[_0x48000c(0x1ff)]());}}),restoreResponseJsonParser=()=>{const _0x261615=_0x2e1306;if(!responseJsonPrototype)return;originalResponseJsonDescriptor?Object[_0x261615(0x202)](responseJsonPrototype,_0x261615(0x1f9),originalResponseJsonDescriptor):delete responseJsonPrototype[_0x261615(0x1f9)],responseJsonPrototype=undefined,originalResponseJsonDescriptor=undefined,restoreResponseJsonParser=undefined;},restoreResponseJsonParser;}function a156_0x2437(_0x11088d,_0x1dc50a){_0x11088d=_0x11088d-0x1ee;const _0x497445=a156_0x4974();let _0x243764=_0x497445[_0x11088d];return _0x243764;}export function restoreLosslessJsonResponseParser(){restoreResponseJsonParser?.();}function a156_0x4974(){const _0x26b2a4=['34688170obdAUt','14890vEDDSX','5343024xAYnpd','length','slice','3022pxqfSR','json','undefined','289511gdJBaY','prototype','parse','exec','text','MIN_SAFE_INTEGER','921Vkzole','defineProperty','5669430dMmrUB','704lAXQAc','142163soUsBi','5rPAfcD','4545kNzYPJ','includes'];a156_0x4974=function(){return _0x26b2a4;};return a156_0x4974();}
1
+ const a156_0x507a54=a156_0x111c;(function(_0x30fc59,_0x2cc903){const _0x49925c=a156_0x111c,_0x241dc2=_0x30fc59();while(!![]){try{const _0x3019a6=parseInt(_0x49925c(0x1d5))/0x1*(-parseInt(_0x49925c(0x1d8))/0x2)+-parseInt(_0x49925c(0x1df))/0x3*(parseInt(_0x49925c(0x1e0))/0x4)+parseInt(_0x49925c(0x1de))/0x5+parseInt(_0x49925c(0x1d9))/0x6+parseInt(_0x49925c(0x1d4))/0x7+-parseInt(_0x49925c(0x1cd))/0x8*(-parseInt(_0x49925c(0x1d3))/0x9)+parseInt(_0x49925c(0x1dd))/0xa*(parseInt(_0x49925c(0x1d7))/0xb);if(_0x3019a6===_0x2cc903)break;else _0x241dc2['push'](_0x241dc2['shift']());}catch(_0x5ad29f){_0x241dc2['push'](_0x241dc2['shift']());}}}(a156_0x4dc0,0xa7e75));const JSON_NUMBER_PATTERN=/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?/,MAX_SAFE_INTEGER=BigInt(Number[a156_0x507a54(0x1dc)]),MIN_SAFE_INTEGER=BigInt(Number[a156_0x507a54(0x1cf)]);let restoreResponseJsonParser,responseJsonPrototype,originalResponseJsonDescriptor;function isUnsafeIntegerLiteral(_0x1852f4){const _0x1814cb=a156_0x507a54;if(_0x1852f4[_0x1814cb(0x1db)]('.')||_0x1852f4[_0x1814cb(0x1db)]('e')||_0x1852f4[_0x1814cb(0x1db)]('E'))return![];const _0x36352c=BigInt(_0x1852f4);return _0x36352c>MAX_SAFE_INTEGER||_0x36352c<MIN_SAFE_INTEGER;}function quoteUnsafeIntegerLiterals(_0x22bf2d){const _0x38997a=a156_0x507a54;let _0x2870db='',_0x3960ba=![],_0x47e1ef=![];for(let _0x298cbe=0x0;_0x298cbe<_0x22bf2d[_0x38997a(0x1d1)];){const _0x550a6d=_0x22bf2d[_0x298cbe];if(_0x3960ba){_0x2870db+=_0x550a6d,_0x298cbe+=0x1;if(_0x47e1ef)_0x47e1ef=![];else{if(_0x550a6d==='\x5c')_0x47e1ef=!![];else _0x550a6d==='\x22'&&(_0x3960ba=![]);}continue;}if(_0x550a6d==='\x22'){_0x3960ba=!![],_0x2870db+=_0x550a6d,_0x298cbe+=0x1;continue;}if(_0x550a6d==='-'||_0x550a6d>='0'&&_0x550a6d<='9'){const _0x3d9849=JSON_NUMBER_PATTERN[_0x38997a(0x1d6)](_0x22bf2d['slice'](_0x298cbe))?.[0x0];if(_0x3d9849){_0x2870db+=isUnsafeIntegerLiteral(_0x3d9849)?'\x22'+_0x3d9849+'\x22':_0x3d9849,_0x298cbe+=_0x3d9849[_0x38997a(0x1d1)];continue;}}_0x2870db+=_0x550a6d,_0x298cbe+=0x1;}return _0x2870db;}function a156_0x4dc0(){const _0x158f9e=['554MIWnNU','exec','22eGVcrI','4142lsbiRY','1682772RrQPhI','undefined','includes','MAX_SAFE_INTEGER','3800770XMzjje','1090110ZyMomC','140541dLOiEg','20hlQuVy','defineProperty','8ZdcZlY','text','MIN_SAFE_INTEGER','json','length','prototype','6033357rsbvyC','982037yMpDOo'];a156_0x4dc0=function(){return _0x158f9e;};return a156_0x4dc0();}export function parseLosslessJson(_0x16de98){return JSON['parse'](quoteUnsafeIntegerLiterals(_0x16de98));}export function installLosslessJsonResponseParser(){const _0x5dfa1a=a156_0x507a54;if(typeof Response===_0x5dfa1a(0x1da))return()=>{};if(restoreResponseJsonParser)return restoreResponseJsonParser;return responseJsonPrototype=Response[_0x5dfa1a(0x1d2)],originalResponseJsonDescriptor=Object['getOwnPropertyDescriptor'](responseJsonPrototype,'json'),Object[_0x5dfa1a(0x1e1)](responseJsonPrototype,'json',{...originalResponseJsonDescriptor??{'configurable':!![],'enumerable':![],'writable':!![]},'value':async function _0x1f1901(){const _0xad8373=_0x5dfa1a;return parseLosslessJson(await this[_0xad8373(0x1ce)]());}}),restoreResponseJsonParser=()=>{const _0x2c2d2e=_0x5dfa1a;if(!responseJsonPrototype)return;originalResponseJsonDescriptor?Object[_0x2c2d2e(0x1e1)](responseJsonPrototype,_0x2c2d2e(0x1d0),originalResponseJsonDescriptor):delete responseJsonPrototype['json'],responseJsonPrototype=undefined,originalResponseJsonDescriptor=undefined,restoreResponseJsonParser=undefined;},restoreResponseJsonParser;}function a156_0x111c(_0x588bbc,_0x3881c1){_0x588bbc=_0x588bbc-0x1cd;const _0x4dc075=a156_0x4dc0();let _0x111cf1=_0x4dc075[_0x588bbc];return _0x111cf1;}export function restoreLosslessJsonResponseParser(){restoreResponseJsonParser?.();}
@@ -1 +1 @@
1
- (function(_0x1a815c,_0x304c36){const _0x4d7ea3=a157_0x6979,_0x5c59ff=_0x1a815c();while(!![]){try{const _0x5c07d9=-parseInt(_0x4d7ea3(0x143))/0x1*(-parseInt(_0x4d7ea3(0x14b))/0x2)+parseInt(_0x4d7ea3(0x151))/0x3+-parseInt(_0x4d7ea3(0x153))/0x4*(-parseInt(_0x4d7ea3(0x148))/0x5)+parseInt(_0x4d7ea3(0x14c))/0x6+parseInt(_0x4d7ea3(0x13f))/0x7+-parseInt(_0x4d7ea3(0x14a))/0x8+-parseInt(_0x4d7ea3(0x152))/0x9;if(_0x5c07d9===_0x304c36)break;else _0x5c59ff['push'](_0x5c59ff['shift']());}catch(_0x2bb8b4){_0x5c59ff['push'](_0x5c59ff['shift']());}}}(a157_0x5857,0x9d6fe));import{CliErrors}from'../errors.js';import{parseLosslessJson}from'../utils/lossless-json.js';export const MAX_DATA_UPDATE_IDS=0x3e8;function a157_0x5857(){const _0x32faf4=['3355170XGZPEa','38093814eGVzzG','32ihCoCT','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','Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27','string','map','join','length','data\x20update\x20id\x20array\x20cannot\x20be\x20empty.','data\x20update\x20requires\x20\x22id\x22\x20in\x20--params.','5366816aAXCef','\x20must\x20be\x20a\x20positive\x20integer\x20or\x20numeric\x20string.','object','data\x20update\x20can\x20update\x20at\x20most\x20','4wwFkCl','Invalid\x20JSON\x20for\x20--params:\x20','data\x20update\x20--params\x20must\x20be\x20a\x20JSON\x20object\x20with\x20id.','validation','number','580795WuUwrA','isArray','666224HgrrcE','481070EDzVuL','7105776YEbNsR','data\x20update\x20--params.','isSafeInteger','items','\x20records\x20per\x20call;\x20received\x20'];a157_0x5857=function(){return _0x32faf4;};return a157_0x5857();}export function parseJsonParams(_0x366e45){const _0x2642d2=a157_0x6979;if(!_0x366e45)return undefined;try{return parseLosslessJson(_0x366e45);}catch{throw CliErrors[_0x2642d2(0x146)](_0x2642d2(0x144)+_0x366e45);}}function a157_0x6979(_0x31780f,_0x56b6fe){_0x31780f=_0x31780f-0x136;const _0x585703=a157_0x5857();let _0x6979b7=_0x585703[_0x31780f];return _0x6979b7;}export function parseJsonParamsValue(_0xf4dfe9){const _0x3f9fbb=a157_0x6979;if(!_0xf4dfe9)return undefined;try{return parseLosslessJson(_0xf4dfe9);}catch{throw CliErrors[_0x3f9fbb(0x146)](_0x3f9fbb(0x144)+_0xf4dfe9);}}export function parseBatchCreateItemsFromParams(_0x1a5359){const _0x53bcf9=a157_0x6979;if(Array['isArray'](_0x1a5359))return _0x1a5359;if(_0x1a5359!==null&&_0x1a5359!==undefined&&typeof _0x1a5359===_0x53bcf9(0x141)&&Array[_0x53bcf9(0x149)](_0x1a5359['items']))return _0x1a5359[_0x53bcf9(0x14f)];throw CliErrors[_0x53bcf9(0x146)](_0x53bcf9(0x136),_0x53bcf9(0x137));}function parseDataUpdateId(_0x56a01b,_0x2dca3b){const _0x5f0efa=a157_0x6979;if(typeof _0x56a01b===_0x5f0efa(0x147)&&Number[_0x5f0efa(0x14e)](_0x56a01b)&&_0x56a01b>0x0)return _0x56a01b;if(typeof _0x56a01b===_0x5f0efa(0x139)){if(/^[1-9]\d*$/['test'](_0x56a01b))return _0x56a01b;}throw CliErrors['validation'](_0x5f0efa(0x14d)+_0x2dca3b+_0x5f0efa(0x140));}export function parseUpdateIdsFromParams(_0x3b26c1){const _0x2c4a35=a157_0x6979;if(_0x3b26c1===null||_0x3b26c1===undefined||typeof _0x3b26c1!=='object'||Array[_0x2c4a35(0x149)](_0x3b26c1))throw CliErrors['validation'](_0x2c4a35(0x145),'Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27');const _0xae1523=_0x3b26c1['id'];if(_0xae1523===undefined||_0xae1523===null)throw CliErrors[_0x2c4a35(0x146)](_0x2c4a35(0x13e),_0x2c4a35(0x138));const _0x191edf=Array['isArray'](_0xae1523)?_0xae1523:[_0xae1523];if(_0x191edf['length']===0x0)throw CliErrors['validation'](_0x2c4a35(0x13d));if(_0x191edf['length']>MAX_DATA_UPDATE_IDS)throw CliErrors[_0x2c4a35(0x146)](_0x2c4a35(0x142)+MAX_DATA_UPDATE_IDS+_0x2c4a35(0x150)+_0x191edf[_0x2c4a35(0x13c)]+'.');return _0x191edf[_0x2c4a35(0x13a)]((_0x1b9433,_0x2055f3)=>parseDataUpdateId(_0x1b9433,Array[_0x2c4a35(0x149)](_0xae1523)?'id['+_0x2055f3+']':'id'));}export function normalizeUpdateParamsForRuntime(_0x25da33,_0x46a429){const _0x5d9c53=a157_0x6979;if(Array[_0x5d9c53(0x149)](_0x25da33['id'])&&_0x46a429['length']>0x1)return{..._0x25da33,'id':_0x46a429[_0x5d9c53(0x13b)](',')};return _0x25da33;}
1
+ (function(_0x5d9b5b,_0x38387a){const _0x10fb68=a157_0x2b8e,_0x4d1d1d=_0x5d9b5b();while(!![]){try{const _0xaa18ef=parseInt(_0x10fb68(0xbf))/0x1*(-parseInt(_0x10fb68(0xc6))/0x2)+parseInt(_0x10fb68(0xc5))/0x3*(-parseInt(_0x10fb68(0xcc))/0x4)+-parseInt(_0x10fb68(0xd0))/0x5*(-parseInt(_0x10fb68(0xce))/0x6)+-parseInt(_0x10fb68(0xbc))/0x7*(parseInt(_0x10fb68(0xc8))/0x8)+-parseInt(_0x10fb68(0xd5))/0x9+parseInt(_0x10fb68(0xc0))/0xa*(parseInt(_0x10fb68(0xc1))/0xb)+parseInt(_0x10fb68(0xd4))/0xc;if(_0xaa18ef===_0x38387a)break;else _0x4d1d1d['push'](_0x4d1d1d['shift']());}catch(_0x5b26f2){_0x4d1d1d['push'](_0x4d1d1d['shift']());}}}(a157_0x14a0,0xb87a0));import{CliErrors}from'../errors.js';import{parseLosslessJson}from'../utils/lossless-json.js';export const MAX_DATA_UPDATE_IDS=0x3e8;export function parseJsonParams(_0x56d974){const _0x53b448=a157_0x2b8e;if(!_0x56d974)return undefined;try{return parseLosslessJson(_0x56d974);}catch{throw CliErrors[_0x53b448(0xca)]('Invalid\x20JSON\x20for\x20--params:\x20'+_0x56d974);}}export function parseJsonParamsValue(_0x2388a8){const _0x11a669=a157_0x2b8e;if(!_0x2388a8)return undefined;try{return parseLosslessJson(_0x2388a8);}catch{throw CliErrors[_0x11a669(0xca)](_0x11a669(0xd8)+_0x2388a8);}}export function parseBatchCreateItemsFromParams(_0x260ba5){const _0x1d84c5=a157_0x2b8e;if(Array[_0x1d84c5(0xc7)](_0x260ba5))return _0x260ba5;if(_0x260ba5!==null&&_0x260ba5!==undefined&&typeof _0x260ba5===_0x1d84c5(0xc9)&&Array[_0x1d84c5(0xc7)](_0x260ba5['items']))return _0x260ba5[_0x1d84c5(0xc3)];throw CliErrors[_0x1d84c5(0xca)]('batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}',_0x1d84c5(0xcd));}function parseDataUpdateId(_0x523b64,_0x443603){const _0xbb82eb=a157_0x2b8e;if(typeof _0x523b64===_0xbb82eb(0xcf)&&Number[_0xbb82eb(0xd1)](_0x523b64)&&_0x523b64>0x0)return _0x523b64;if(typeof _0x523b64===_0xbb82eb(0xd2)){if(/^[1-9]\d*$/[_0xbb82eb(0xbb)](_0x523b64))return _0x523b64;}throw CliErrors[_0xbb82eb(0xca)]('data\x20update\x20--params.'+_0x443603+_0xbb82eb(0xd7));}function a157_0x14a0(){const _0x2ca809=['validation','map','4hJqbtl','Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27','210rMUEQt','number','50765VWgHnK','isSafeInteger','string','\x20records\x20per\x20call;\x20received\x20','9911304iiYkMe','1568574YKJZPH','length','\x20must\x20be\x20a\x20positive\x20integer\x20or\x20numeric\x20string.','Invalid\x20JSON\x20for\x20--params:\x20','test','915194qBwRiX','data\x20update\x20--params\x20must\x20be\x20a\x20JSON\x20object\x20with\x20id.','Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27','421679oyfPJt','170xaSARZ','973742SRaibT','data\x20update\x20requires\x20\x22id\x22\x20in\x20--params.','items','join','2042640RBNUVm','2tjqkjU','isArray','40HPHRSx','object'];a157_0x14a0=function(){return _0x2ca809;};return a157_0x14a0();}export function parseUpdateIdsFromParams(_0x351ed3){const _0x3a300e=a157_0x2b8e;if(_0x351ed3===null||_0x351ed3===undefined||typeof _0x351ed3!==_0x3a300e(0xc9)||Array[_0x3a300e(0xc7)](_0x351ed3))throw CliErrors[_0x3a300e(0xca)](_0x3a300e(0xbd),_0x3a300e(0xbe));const _0x2c0c87=_0x351ed3['id'];if(_0x2c0c87===undefined||_0x2c0c87===null)throw CliErrors[_0x3a300e(0xca)](_0x3a300e(0xc2),_0x3a300e(0xbe));const _0x5152fb=Array[_0x3a300e(0xc7)](_0x2c0c87)?_0x2c0c87:[_0x2c0c87];if(_0x5152fb['length']===0x0)throw CliErrors['validation']('data\x20update\x20id\x20array\x20cannot\x20be\x20empty.');if(_0x5152fb[_0x3a300e(0xd6)]>MAX_DATA_UPDATE_IDS)throw CliErrors[_0x3a300e(0xca)]('data\x20update\x20can\x20update\x20at\x20most\x20'+MAX_DATA_UPDATE_IDS+_0x3a300e(0xd3)+_0x5152fb[_0x3a300e(0xd6)]+'.');return _0x5152fb[_0x3a300e(0xcb)]((_0x53a655,_0x12b98a)=>parseDataUpdateId(_0x53a655,Array[_0x3a300e(0xc7)](_0x2c0c87)?'id['+_0x12b98a+']':'id'));}function a157_0x2b8e(_0x3721f6,_0x39161e){_0x3721f6=_0x3721f6-0xbb;const _0x14a087=a157_0x14a0();let _0x2b8e52=_0x14a087[_0x3721f6];return _0x2b8e52;}export function normalizeUpdateParamsForRuntime(_0x21baaa,_0xbcfbd2){const _0x127d3d=a157_0x2b8e;if(Array['isArray'](_0x21baaa['id'])&&_0xbcfbd2['length']>0x1)return{..._0x21baaa,'id':_0xbcfbd2[_0x127d3d(0xc4)](',')};return _0x21baaa;}
@@ -1 +1 @@
1
- function a158_0x9a9a(){const _0x48586a=['6566448TLoGqm','1017310mtUavP','82ZQVvGV','platform','2857740NUMTkS','1836024MiiOdQ','.cmd','1270YyADNu','396744rPwxsF','154065gZimdS'];a158_0x9a9a=function(){return _0x48586a;};return a158_0x9a9a();}const a158_0x504b04=a158_0x4174;(function(_0x61ce25,_0x550982){const _0x920ec2=a158_0x4174,_0x59932b=_0x61ce25();while(!![]){try{const _0x4a2596=-parseInt(_0x920ec2(0x1d1))/0x1*(parseInt(_0x920ec2(0x1d6))/0x2)+parseInt(_0x920ec2(0x1d7))/0x3+parseInt(_0x920ec2(0x1d4))/0x4+parseInt(_0x920ec2(0x1d8))/0x5+parseInt(_0x920ec2(0x1d3))/0x6+parseInt(_0x920ec2(0x1d0))/0x7+-parseInt(_0x920ec2(0x1d9))/0x8;if(_0x4a2596===_0x550982)break;else _0x59932b['push'](_0x59932b['shift']());}catch(_0x275127){_0x59932b['push'](_0x59932b['shift']());}}}(a158_0x9a9a,0x5a87b));function a158_0x4174(_0x160504,_0x1ce05f){_0x160504=_0x160504-0x1d0;const _0x9a9af4=a158_0x9a9a();let _0x41741e=_0x9a9af4[_0x160504];return _0x41741e;}export const isWindows=process[a158_0x504b04(0x1d2)]==='win32';export function resolveNpmBin(_0x342089){const _0x5bd564=a158_0x504b04;return isWindows?_0x342089+_0x5bd564(0x1d5):_0x342089;}
1
+ function a158_0x1160(){const _0x395262=['5605095RgrkUw','701634UglmFo','94nnujGe','33461uEVcpk','win32','830720IJirmj','10560270RUteLP','999EIFWmh','14776poIGzs','platform','13240520ZMFNPE','15ksWTiI'];a158_0x1160=function(){return _0x395262;};return a158_0x1160();}const a158_0x533106=a158_0x2d60;function a158_0x2d60(_0x4977f0,_0x317862){_0x4977f0=_0x4977f0-0x181;const _0x11608f=a158_0x1160();let _0x2d606d=_0x11608f[_0x4977f0];return _0x2d606d;}(function(_0xd68589,_0x4089fc){const _0x578836=a158_0x2d60,_0x11cf24=_0xd68589();while(!![]){try{const _0x2940fa=-parseInt(_0x578836(0x18a))/0x1*(parseInt(_0x578836(0x189))/0x2)+-parseInt(_0x578836(0x186))/0x3*(-parseInt(_0x578836(0x18c))/0x4)+-parseInt(_0x578836(0x187))/0x5+-parseInt(_0x578836(0x188))/0x6+parseInt(_0x578836(0x181))/0x7+parseInt(_0x578836(0x183))/0x8*(-parseInt(_0x578836(0x182))/0x9)+parseInt(_0x578836(0x185))/0xa;if(_0x2940fa===_0x4089fc)break;else _0x11cf24['push'](_0x11cf24['shift']());}catch(_0x2d396c){_0x11cf24['push'](_0x11cf24['shift']());}}}(a158_0x1160,0xd0d7c));export const isWindows=process[a158_0x533106(0x184)]===a158_0x533106(0x18b);export function resolveNpmBin(_0x567d71){return isWindows?_0x567d71+'.cmd':_0x567d71;}
@@ -1 +1 @@
1
- (function(_0x3e4134,_0x614e0f){const _0x40838a=a159_0x4eb1,_0x2db008=_0x3e4134();while(!![]){try{const _0x437a6a=-parseInt(_0x40838a(0x9b))/0x1*(-parseInt(_0x40838a(0x95))/0x2)+parseInt(_0x40838a(0x89))/0x3+-parseInt(_0x40838a(0x92))/0x4*(-parseInt(_0x40838a(0x9d))/0x5)+-parseInt(_0x40838a(0x91))/0x6*(-parseInt(_0x40838a(0x7f))/0x7)+parseInt(_0x40838a(0x97))/0x8+-parseInt(_0x40838a(0x90))/0x9*(parseInt(_0x40838a(0x96))/0xa)+-parseInt(_0x40838a(0x8f))/0xb*(parseInt(_0x40838a(0x9a))/0xc);if(_0x437a6a===_0x614e0f)break;else _0x2db008['push'](_0x2db008['shift']());}catch(_0x297945){_0x2db008['push'](_0x2db008['shift']());}}}(a159_0x27c1,0x66712));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 _0x3eb371=a159_0x4eb1,_0x12f659=process.env.LOVRABET_NO_UPDATE_NOTICE?.[_0x3eb371(0x98)]()[_0x3eb371(0x83)]();return _0x12f659==='1'||_0x12f659===_0x3eb371(0x99)||_0x12f659==='yes';}function cacheRoot(){const _0x2cd1c8=a159_0x4eb1;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x2cd1c8(0x8b));}export function getUpdateNoticeCachePath(){const _0x4ab4c1=a159_0x4eb1;return join(cacheRoot(),_0x4ab4c1(0x8e),_0x4ab4c1(0x8c));}function a159_0x4eb1(_0x32b604,_0x904fc8){_0x32b604=_0x32b604-0x7f;const _0x27c164=a159_0x27c1();let _0x4eb117=_0x27c164[_0x32b604];return _0x4eb117;}function a159_0x27c1(){const _0x480352=['325866pbTZdk','2530gnsdZN','4578400LhTXwC','trim','true','477168BTiNlG','3ZMYfic','/v/','263040XubwfE','parse','122353sjwmRM','\x20is\x20recommended,\x20current\x20','needsUpgrade','number','toLowerCase','upgradeMessage','now','utf8','currentVersion','filter','2175144YTQcpK',',\x20run:\x20','.cache','update-check.json','lastNotifiedAt','lovrabet-cli','308uswGYP','16479WtKWgi','36lcPRiU','8fLfsyN','https://www.npmjs.com/package/','stableVersion'];a159_0x27c1=function(){return _0x480352;};return a159_0x27c1();}async function readUpdateNoticeCache(){const _0x53f141=a159_0x4eb1;try{const _0x276d50=await readFile(getUpdateNoticeCachePath(),_0x53f141(0x86)),_0x475f57=JSON[_0x53f141(0x9e)](_0x276d50);if(!_0x475f57||typeof _0x475f57!=='object')return{};return _0x475f57;}catch{return{};}}async function writeUpdateNoticeCache(_0x5f58e0){const _0x546034=a159_0x4eb1;try{const _0x39475b=getUpdateNoticeCachePath();await mkdir(dirname(_0x39475b),{'recursive':!![]}),await writeFile(_0x39475b,JSON['stringify'](_0x5f58e0,null,0x2)+'\x0a',_0x546034(0x86));}catch{}}function isRecentlyNotified(_0x24363e,_0x59440f,_0x5c4b95){const _0x56303d=a159_0x4eb1;return _0x24363e['lastNotifiedVersion']===_0x59440f&&typeof _0x24363e[_0x56303d(0x8d)]===_0x56303d(0x82)&&_0x5c4b95-_0x24363e[_0x56303d(0x8d)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x3cb7c0){const _0x19a71e=a159_0x4eb1;return _0x19a71e(0x93)+LOVRABET_NPM_PACKAGE_NAME+_0x19a71e(0x9c)+_0x3cb7c0;}export async function resolveLatestUpdateNotice(_0x10ab3e){const _0x42be3f=a159_0x4eb1;if(isUpdateNoticeDisabled())return null;try{const _0x55b169=Date[_0x42be3f(0x85)](),_0x86af13=_0x10ab3e??await checkCliVersion(),_0xca43fe=_0x86af13[_0x42be3f(0x87)],_0x81af38=_0x86af13[_0x42be3f(0x94)],_0x58a34a=await readUpdateNoticeCache();if(!_0x81af38||!_0x86af13[_0x42be3f(0x81)]||_0x86af13['belowMinimum'])return null;if(isRecentlyNotified(_0x58a34a,_0x81af38,_0x55b169))return null;const _0xe446c=getCliUpgradeCommand(_0x86af13);return await writeUpdateNoticeCache({..._0x58a34a,'checkedAt':_0x55b169,'latest':_0x81af38,'failed':![],'lastNotifiedVersion':_0x81af38,'lastNotifiedAt':_0x55b169}),{'command':_0xe446c,'current':_0xca43fe,'latest':_0x81af38,'url':buildNpmVersionUrl(_0x81af38),'message':[_0x86af13[_0x42be3f(0x84)],CLI_BIN_NAME+'\x20'+_0x81af38+_0x42be3f(0x80)+_0xca43fe+_0x42be3f(0x8a)+_0xe446c][_0x42be3f(0x88)](Boolean)['join']('\x20')};}catch{return null;}}
1
+ (function(_0x3103fc,_0xc62a79){const _0x2e4f27=a159_0x1985,_0x14f96d=_0x3103fc();while(!![]){try{const _0x536ae1=parseInt(_0x2e4f27(0x149))/0x1*(parseInt(_0x2e4f27(0x147))/0x2)+parseInt(_0x2e4f27(0x14d))/0x3+parseInt(_0x2e4f27(0x145))/0x4+parseInt(_0x2e4f27(0x13f))/0x5*(-parseInt(_0x2e4f27(0x154))/0x6)+-parseInt(_0x2e4f27(0x14e))/0x7*(parseInt(_0x2e4f27(0x14b))/0x8)+parseInt(_0x2e4f27(0x152))/0x9+-parseInt(_0x2e4f27(0x150))/0xa*(parseInt(_0x2e4f27(0x14c))/0xb);if(_0x536ae1===_0xc62a79)break;else _0x14f96d['push'](_0x14f96d['shift']());}catch(_0x177b7e){_0x14f96d['push'](_0x14f96d['shift']());}}}(a159_0x3054,0xd40ad));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 _0x86cc98=a159_0x1985,_0x5041cf=process.env.LOVRABET_NO_UPDATE_NOTICE?.['trim']()[_0x86cc98(0x146)]();return _0x5041cf==='1'||_0x5041cf===_0x86cc98(0x155)||_0x5041cf==='yes';}function cacheRoot(){const _0x898f55=a159_0x1985;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x898f55(0x143));}export function getUpdateNoticeCachePath(){const _0x384bc9=a159_0x1985;return join(cacheRoot(),'lovrabet-cli',_0x384bc9(0x157));}async function readUpdateNoticeCache(){const _0x419d5d=a159_0x1985;try{const _0x47eed8=await readFile(getUpdateNoticeCachePath(),'utf8'),_0x47ab0f=JSON[_0x419d5d(0x140)](_0x47eed8);if(!_0x47ab0f||typeof _0x47ab0f!==_0x419d5d(0x13e))return{};return _0x47ab0f;}catch{return{};}}async function writeUpdateNoticeCache(_0x4f7bc7){const _0x3ba9e9=a159_0x1985;try{const _0xcafc8c=getUpdateNoticeCachePath();await mkdir(dirname(_0xcafc8c),{'recursive':!![]}),await writeFile(_0xcafc8c,JSON['stringify'](_0x4f7bc7,null,0x2)+'\x0a',_0x3ba9e9(0x158));}catch{}}function a159_0x1985(_0x1bc2e2,_0x1c7201){_0x1bc2e2=_0x1bc2e2-0x13a;const _0x305440=a159_0x3054();let _0x19853e=_0x305440[_0x1bc2e2];return _0x19853e;}function isRecentlyNotified(_0x2d3015,_0xe15074,_0x287a80){const _0x5d3006=a159_0x1985;return _0x2d3015[_0x5d3006(0x156)]===_0xe15074&&typeof _0x2d3015[_0x5d3006(0x14f)]===_0x5d3006(0x151)&&_0x287a80-_0x2d3015[_0x5d3006(0x14f)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x554509){const _0x489492=a159_0x1985;return'https://www.npmjs.com/package/'+LOVRABET_NPM_PACKAGE_NAME+_0x489492(0x144)+_0x554509;}export async function resolveLatestUpdateNotice(_0x394f96){const _0x5c0d79=a159_0x1985;if(isUpdateNoticeDisabled())return null;try{const _0xf596c7=Date[_0x5c0d79(0x14a)](),_0x51f9fc=_0x394f96??await checkCliVersion(),_0x119892=_0x51f9fc[_0x5c0d79(0x141)],_0x1d7adf=_0x51f9fc[_0x5c0d79(0x13a)],_0x152b4c=await readUpdateNoticeCache();if(!_0x1d7adf||!_0x51f9fc['needsUpgrade']||_0x51f9fc[_0x5c0d79(0x13c)])return null;if(isRecentlyNotified(_0x152b4c,_0x1d7adf,_0xf596c7))return null;const _0xb3f03f=getCliUpgradeCommand(_0x51f9fc);return await writeUpdateNoticeCache({..._0x152b4c,'checkedAt':_0xf596c7,'latest':_0x1d7adf,'failed':![],'lastNotifiedVersion':_0x1d7adf,'lastNotifiedAt':_0xf596c7}),{'command':_0xb3f03f,'current':_0x119892,'latest':_0x1d7adf,'url':buildNpmVersionUrl(_0x1d7adf),'message':[_0x51f9fc[_0x5c0d79(0x13b)],CLI_BIN_NAME+'\x20'+_0x1d7adf+_0x5c0d79(0x153)+_0x119892+_0x5c0d79(0x142)+_0xb3f03f][_0x5c0d79(0x148)](Boolean)[_0x5c0d79(0x13d)]('\x20')};}catch{return null;}}function a159_0x3054(){const _0x191b35=['currentVersion',',\x20run:\x20','.cache','/v/','6859676KolbIr','toLowerCase','824BiXZIN','filter','3080cGuGTN','now','2631976mkMCpF','25949gVaaFp','3148518GUzMUY','7cAOImU','lastNotifiedAt','12160oVGNbl','number','14450112dIiqXc','\x20is\x20recommended,\x20current\x20','9437322udNgfd','true','lastNotifiedVersion','update-check.json','utf8','stableVersion','upgradeMessage','belowMinimum','join','object','5gzRHXz','parse'];a159_0x3054=function(){return _0x191b35;};return a159_0x3054();}
@@ -1 +1 @@
1
- (function(_0x7d12f0,_0x262b2a){const _0x516f47=a160_0x54da,_0x442e1d=_0x7d12f0();while(!![]){try{const _0x2577cf=-parseInt(_0x516f47(0x1ec))/0x1+parseInt(_0x516f47(0x1ef))/0x2*(-parseInt(_0x516f47(0x1f1))/0x3)+parseInt(_0x516f47(0x1f0))/0x4*(parseInt(_0x516f47(0x1f7))/0x5)+parseInt(_0x516f47(0x1f2))/0x6+parseInt(_0x516f47(0x1f6))/0x7*(parseInt(_0x516f47(0x1ee))/0x8)+parseInt(_0x516f47(0x1ed))/0x9*(parseInt(_0x516f47(0x1f5))/0xa)+parseInt(_0x516f47(0x1eb))/0xb*(-parseInt(_0x516f47(0x1f8))/0xc);if(_0x2577cf===_0x262b2a)break;else _0x442e1d['push'](_0x442e1d['shift']());}catch(_0x5290f3){_0x442e1d['push'](_0x442e1d['shift']());}}}(a160_0x390e,0x493ed));import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';function a160_0x54da(_0x5aa127,_0x29db6a){_0x5aa127=_0x5aa127-0x1eb;const _0x390ef2=a160_0x390e();let _0x54dafd=_0x390ef2[_0x5aa127];return _0x54dafd;}function a160_0x390e(){const _0x4b9246=['1586263FHDRuf','116295gKYnIs','12KqJFmn','1032361JPMIOJ','52977PcWoqZ','54asuksF','8zVtKsu','152pNcAKy','44McobuL','5493rShzLM','26298UCwAah','unknown','slice','165260vtIKiv'];a160_0x390e=function(){return _0x4b9246;};return a160_0x390e();}export function getCliVersion(){return VERSION;}export function getCliGitCommit(){const _0x48941d=a160_0x54da,_0x5907eb=String(GIT_COMMIT);return _0x5907eb&&_0x5907eb!==_0x48941d(0x1f3)?_0x5907eb:'';}export function getCliVersionDisplay(){const _0x80f9c2=a160_0x54da,_0x445673=getCliGitCommit(),_0x5ea600=BUILD_TIME[_0x80f9c2(0x1f4)](0x0,0xa);if(!_0x445673||!_0x5ea600)return VERSION;return VERSION+'\x20('+_0x445673+',\x20'+_0x5ea600+')';}
1
+ (function(_0x4b4fae,_0x1ba913){const _0x228027=a160_0x10a4,_0x36e188=_0x4b4fae();while(!![]){try{const _0x1d6f0c=parseInt(_0x228027(0x82))/0x1+parseInt(_0x228027(0x7c))/0x2+parseInt(_0x228027(0x85))/0x3+parseInt(_0x228027(0x84))/0x4*(parseInt(_0x228027(0x7e))/0x5)+-parseInt(_0x228027(0x7d))/0x6*(-parseInt(_0x228027(0x80))/0x7)+parseInt(_0x228027(0x83))/0x8+-parseInt(_0x228027(0x81))/0x9;if(_0x1d6f0c===_0x1ba913)break;else _0x36e188['push'](_0x36e188['shift']());}catch(_0x13d11e){_0x36e188['push'](_0x36e188['shift']());}}}(a160_0x2189,0x2f75a));function a160_0x10a4(_0xbe8010,_0x5c81d4){_0xbe8010=_0xbe8010-0x7b;const _0x218959=a160_0x2189();let _0x10a4cf=_0x218959[_0xbe8010];return _0x10a4cf;}import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}export function getCliGitCommit(){const _0x3b3c84=a160_0x10a4,_0x368a0f=String(GIT_COMMIT);return _0x368a0f&&_0x368a0f!==_0x3b3c84(0x7f)?_0x368a0f:'';}export function getCliVersionDisplay(){const _0x321b10=a160_0x10a4,_0x1c17b7=getCliGitCommit(),_0x5a415e=BUILD_TIME[_0x321b10(0x7b)](0x0,0xa);if(!_0x1c17b7||!_0x5a415e)return VERSION;return VERSION+'\x20('+_0x1c17b7+',\x20'+_0x5a415e+')';}function a160_0x2189(){const _0x14d1f0=['370293lxqwmY','slice','194166HEoXvs','255654MdFjsZ','205xOJgoK','unknown','28gGxUJt','4671333UsIqYy','7073OzQBVs','1565832GoPers','11676VBEAWP'];a160_0x2189=function(){return _0x14d1f0;};return a160_0x2189();}
@@ -1 +1 @@
1
- (function(_0x2b56df,_0x51b786){var _0x66e9df=a161_0x4699,_0x5ec1cb=_0x2b56df();while(!![]){try{var _0x3ae965=parseInt(_0x66e9df(0x199))/0x1*(-parseInt(_0x66e9df(0x193))/0x2)+-parseInt(_0x66e9df(0x198))/0x3+-parseInt(_0x66e9df(0x191))/0x4+-parseInt(_0x66e9df(0x192))/0x5+parseInt(_0x66e9df(0x18f))/0x6*(parseInt(_0x66e9df(0x195))/0x7)+-parseInt(_0x66e9df(0x190))/0x8+parseInt(_0x66e9df(0x197))/0x9;if(_0x3ae965===_0x51b786)break;else _0x5ec1cb['push'](_0x5ec1cb['shift']());}catch(_0x3095ff){_0x5ec1cb['push'](_0x5ec1cb['shift']());}}}(a161_0xa06f,0x8c02a));function a161_0x4699(_0x1d2dcd,_0x45fe4e){_0x1d2dcd=_0x1d2dcd-0x18f;var _0xa06f5d=a161_0xa06f();var _0x46993e=_0xa06f5d[_0x1d2dcd];return _0x46993e;}export function writeCliSideChannelLine(_0x1699dd){var _0x119b3b=a161_0x4699;process[_0x119b3b(0x196)][_0x119b3b(0x194)](_0x1699dd+'\x0a');}function a161_0xa06f(){var _0x19e877=['stderr','27043227yAwCRk','283071dlNbqw','1npgNbL','6vVbaet','7290128nvIyWq','1096876GRNNSg','5148280HUkHQD','927004CdnagN','write','2391753IXOhBl'];a161_0xa06f=function(){return _0x19e877;};return a161_0xa06f();}
1
+ function a161_0x2641(){var _0x477208=['stderr','742092nzmHUI','8GuZdfA','1781241NtcVRZ','1259810XQDfOt','102992uPHyeT','2718918BTBYyq','27oOifHP','158188wuAgpc','177576qqYqeX','write'];a161_0x2641=function(){return _0x477208;};return a161_0x2641();}(function(_0x42d3d7,_0x401e2f){var _0x20d35a=a161_0x1796,_0x45ebc8=_0x42d3d7();while(!![]){try{var _0x163e04=parseInt(_0x20d35a(0x1a8))/0x1+-parseInt(_0x20d35a(0x1a4))/0x2+-parseInt(_0x20d35a(0x1a6))/0x3*(parseInt(_0x20d35a(0x1a7))/0x4)+parseInt(_0x20d35a(0x1a3))/0x5+parseInt(_0x20d35a(0x1ab))/0x6+-parseInt(_0x20d35a(0x1ad))/0x7+-parseInt(_0x20d35a(0x1ac))/0x8*(-parseInt(_0x20d35a(0x1a5))/0x9);if(_0x163e04===_0x401e2f)break;else _0x45ebc8['push'](_0x45ebc8['shift']());}catch(_0x2176a9){_0x45ebc8['push'](_0x45ebc8['shift']());}}}(a161_0x2641,0x2f3a0));function a161_0x1796(_0x3a1276,_0x1e4a5a){_0x3a1276=_0x3a1276-0x1a3;var _0x264115=a161_0x2641();var _0x179697=_0x264115[_0x3a1276];return _0x179697;}export function writeCliSideChannelLine(_0x5a11ad){var _0x2eb7e3=a161_0x1796;process[_0x2eb7e3(0x1aa)][_0x2eb7e3(0x1a9)](_0x5a11ad+'\x0a');}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/lovrabet-cli",
3
- "version": "2.3.0-beta.1",
3
+ "version": "2.3.0-beta.2",
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.1
4
+ version: 2.3.0-beta.2
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.1",
6
- "skillVersion": "2.3.0-beta.1",
5
+ "packageVersion": "2.3.0-beta.2",
6
+ "skillVersion": "2.3.0-beta.2",
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": "b1c587225cc9a8cde209699eee429ac8320c0d51af11573ddc8a37d4176bc6c6"
40
+ "digest": "5c22be545ab5d6315e8b966eb4f49e90f0c87e0d05c63de9b57e90fbbdb4fb79"
41
41
  }