@lovrabet/rabetbase-cli 2.3.5-beta.1 → 2.3.6-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (239) hide show
  1. package/lib/api/api-doc.js +1 -1
  2. package/lib/api/fetch-model-list.js +1 -1
  3. package/lib/api/generate-api-file.js +1 -1
  4. package/lib/auth/auth-server-ui.js +1 -1
  5. package/lib/auth/auth-server.js +1 -1
  6. package/lib/auth/constant.js +1 -1
  7. package/lib/auth/get-cookie.js +1 -1
  8. package/lib/auth/get-session-user.js +1 -1
  9. package/lib/auth/is-session-valid.js +1 -1
  10. package/lib/auth/login-success-html.js +1 -1
  11. package/lib/auth/logout.js +1 -1
  12. package/lib/cli-flags.js +1 -1
  13. package/lib/cli.js +1 -1
  14. package/lib/commands/api/generate.js +1 -1
  15. package/lib/commands/api/index.js +1 -1
  16. package/lib/commands/api/list.js +1 -1
  17. package/lib/commands/api/pull.js +1 -1
  18. package/lib/commands/api/shared.js +1 -1
  19. package/lib/commands/app/add.js +1 -1
  20. package/lib/commands/app/index.js +1 -1
  21. package/lib/commands/app/list.js +1 -1
  22. package/lib/commands/app/remote-directory.js +1 -1
  23. package/lib/commands/app/remove.js +1 -1
  24. package/lib/commands/app/shared.js +1 -1
  25. package/lib/commands/app-config/delete.js +1 -1
  26. package/lib/commands/app-config/get.js +1 -1
  27. package/lib/commands/app-config/index.js +1 -1
  28. package/lib/commands/app-config/list.js +1 -1
  29. package/lib/commands/app-config/set.js +1 -1
  30. package/lib/commands/app-config/shared.js +1 -1
  31. package/lib/commands/auth/index.js +1 -1
  32. package/lib/commands/bff/create.js +1 -1
  33. package/lib/commands/bff/delete.js +1 -1
  34. package/lib/commands/bff/detail.js +1 -1
  35. package/lib/commands/bff/index.js +1 -1
  36. package/lib/commands/bff/list.js +1 -1
  37. package/lib/commands/bff/pull.js +1 -1
  38. package/lib/commands/bff/push.js +1 -1
  39. package/lib/commands/bff/status.js +1 -1
  40. package/lib/commands/cli-skill/index.js +1 -1
  41. package/lib/commands/cli-update.js +1 -1
  42. package/lib/commands/codegen/index.js +1 -1
  43. package/lib/commands/codegen/sdk.js +1 -1
  44. package/lib/commands/codegen/sql.js +1 -1
  45. package/lib/commands/common/app-registry.js +1 -1
  46. package/lib/commands/common/app-selector.js +1 -1
  47. package/lib/commands/common/dry-run.js +1 -1
  48. package/lib/commands/common/flags.js +1 -1
  49. package/lib/commands/common/validate.js +1 -1
  50. package/lib/commands/config/get.js +1 -1
  51. package/lib/commands/config/index.js +1 -1
  52. package/lib/commands/config/list.js +1 -1
  53. package/lib/commands/config/set.js +1 -1
  54. package/lib/commands/config/shared.js +1 -1
  55. package/lib/commands/data/filter.js +1 -1
  56. package/lib/commands/data/getOne.js +1 -1
  57. package/lib/commands/data/index.js +1 -1
  58. package/lib/commands/data/shared.js +1 -1
  59. package/lib/commands/dataset/business-group-update.js +1 -1
  60. package/lib/commands/dataset/capability.js +1 -1
  61. package/lib/commands/dataset/delete.js +1 -1
  62. package/lib/commands/dataset/detail.js +1 -1
  63. package/lib/commands/dataset/extend-update.js +1 -1
  64. package/lib/commands/dataset/field-update.js +1 -1
  65. package/lib/commands/dataset/generate.js +1 -1
  66. package/lib/commands/dataset/index.js +1 -1
  67. package/lib/commands/dataset/list.js +1 -1
  68. package/lib/commands/dataset/operations.js +1 -1
  69. package/lib/commands/dataset/relation-audit.js +1 -1
  70. package/lib/commands/dataset/relation-create.js +1 -1
  71. package/lib/commands/dataset/relation-delete.js +1 -1
  72. package/lib/commands/dataset/relation-shared.js +1 -1
  73. package/lib/commands/dataset/relation-update.js +1 -1
  74. package/lib/commands/dataset/relations.js +1 -1
  75. package/lib/commands/dataset/rename.js +1 -1
  76. package/lib/commands/dataset/restore.js +1 -1
  77. package/lib/commands/db/analyze-cancel.js +1 -1
  78. package/lib/commands/db/analyze-start.js +1 -1
  79. package/lib/commands/db/analyze-status.js +1 -1
  80. package/lib/commands/db/create.js +1 -1
  81. package/lib/commands/db/delete.js +1 -1
  82. package/lib/commands/db/detail.js +1 -1
  83. package/lib/commands/db/diff.js +1 -1
  84. package/lib/commands/db/index.js +1 -1
  85. package/lib/commands/db/list.js +1 -1
  86. package/lib/commands/db/shared.js +1 -1
  87. package/lib/commands/db/tables.js +1 -1
  88. package/lib/commands/db/test.js +1 -1
  89. package/lib/commands/db/update.js +1 -1
  90. package/lib/commands/doctor.js +1 -1
  91. package/lib/commands/init/index.js +1 -1
  92. package/lib/commands/issue/index.js +1 -1
  93. package/lib/commands/issue/nudge.js +1 -1
  94. package/lib/commands/issue/report.js +1 -1
  95. package/lib/commands/issue/shared.js +1 -1
  96. package/lib/commands/logs/index.js +1 -1
  97. package/lib/commands/menu/index.js +1 -1
  98. package/lib/commands/menu/list.js +1 -1
  99. package/lib/commands/menu/shared/compare-table.js +1 -1
  100. package/lib/commands/menu/shared/index.js +1 -1
  101. package/lib/commands/menu/shared/inquirer.js +1 -1
  102. package/lib/commands/menu/shared/local-pages.js +1 -1
  103. package/lib/commands/menu/shared/logic.js +1 -1
  104. package/lib/commands/menu/shared/service.js +1 -1
  105. package/lib/commands/menu/shared/sync-core.js +1 -1
  106. package/lib/commands/menu/shared/update-core.js +1 -1
  107. package/lib/commands/menu/shared/valid-url.js +1 -1
  108. package/lib/commands/menu/sync.js +1 -1
  109. package/lib/commands/menu/update.js +1 -1
  110. package/lib/commands/page/generate-start.js +1 -1
  111. package/lib/commands/page/generate-status.js +1 -1
  112. package/lib/commands/page/index.js +1 -1
  113. package/lib/commands/page/pull.js +1 -1
  114. package/lib/commands/page/push.js +1 -1
  115. package/lib/commands/page/relation-audit.js +1 -1
  116. package/lib/commands/page/shared.js +1 -1
  117. package/lib/commands/page/standard-page-status.js +1 -1
  118. package/lib/commands/page/sync.js +1 -1
  119. package/lib/commands/permit/index.js +1 -1
  120. package/lib/commands/permit/page-get.js +1 -1
  121. package/lib/commands/permit/page-set.js +1 -1
  122. package/lib/commands/permit/role-apis-set.js +1 -1
  123. package/lib/commands/permit/role-menus-set.js +1 -1
  124. package/lib/commands/permit/role-menus.js +1 -1
  125. package/lib/commands/permit/shared.js +1 -1
  126. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  127. package/lib/commands/project/create/format-elapsed.js +1 -1
  128. package/lib/commands/project/create/main.js +1 -1
  129. package/lib/commands/project/create/non-interactive.js +1 -1
  130. package/lib/commands/project/create/project-template-path.js +1 -1
  131. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  132. package/lib/commands/project/create/use-format-code.js +1 -1
  133. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  134. package/lib/commands/project/index.js +1 -1
  135. package/lib/commands/project/init.js +1 -1
  136. package/lib/commands/project/upgrade.js +1 -1
  137. package/lib/commands/registry.js +1 -1
  138. package/lib/commands/role/create.js +1 -1
  139. package/lib/commands/role/delete.js +1 -1
  140. package/lib/commands/role/detail.js +1 -1
  141. package/lib/commands/role/index.js +1 -1
  142. package/lib/commands/role/list.js +1 -1
  143. package/lib/commands/role/shared.js +1 -1
  144. package/lib/commands/role/update.js +1 -1
  145. package/lib/commands/role/user-add.js +1 -1
  146. package/lib/commands/role/user-remove.js +1 -1
  147. package/lib/commands/role/user-resolve.js +1 -1
  148. package/lib/commands/run/index.js +1 -1
  149. package/lib/commands/schema.js +1 -1
  150. package/lib/commands/sql/create.js +1 -1
  151. package/lib/commands/sql/delete.js +1 -1
  152. package/lib/commands/sql/detail.js +1 -1
  153. package/lib/commands/sql/exec.js +1 -1
  154. package/lib/commands/sql/index.js +1 -1
  155. package/lib/commands/sql/list.js +1 -1
  156. package/lib/commands/sql/pull.js +1 -1
  157. package/lib/commands/sql/push.js +1 -1
  158. package/lib/commands/sql/save.js +1 -1
  159. package/lib/commands/sql/shared.js +1 -1
  160. package/lib/commands/sql/status.js +1 -1
  161. package/lib/commands/sql/validate.js +1 -1
  162. package/lib/commands/workspace/add.js +1 -1
  163. package/lib/commands/workspace/index.js +1 -1
  164. package/lib/commands/workspace/remove.js +1 -1
  165. package/lib/config/schema.js +1 -1
  166. package/lib/constant/cdn.js +1 -1
  167. package/lib/constant/cli.js +1 -1
  168. package/lib/constant/defaults.js +1 -1
  169. package/lib/constant/domain.js +1 -1
  170. package/lib/constant/env.js +1 -1
  171. package/lib/constant/output.js +1 -1
  172. package/lib/constant/paths.js +1 -1
  173. package/lib/constant/risk.js +1 -1
  174. package/lib/context/app-resolver.js +1 -1
  175. package/lib/context/auth-resolver.js +1 -1
  176. package/lib/context/config-loader.js +1 -1
  177. package/lib/context.js +1 -1
  178. package/lib/core/alias-resolver.js +1 -1
  179. package/lib/core/api-client.js +1 -1
  180. package/lib/core/bff/config.js +1 -1
  181. package/lib/core/bff/file-system.js +1 -1
  182. package/lib/core/bff/hash.js +1 -1
  183. package/lib/core/bff/lock.js +1 -1
  184. package/lib/core/bff/utils.js +1 -1
  185. package/lib/core/db-resolver.js +1 -1
  186. package/lib/core/page/file-system.js +1 -1
  187. package/lib/core/page/hash.js +1 -1
  188. package/lib/core/page/lock.js +1 -1
  189. package/lib/core/sql-sync/config.js +1 -1
  190. package/lib/core/sql-sync/file-system.js +1 -1
  191. package/lib/core/sql-sync/hash.js +1 -1
  192. package/lib/core/sql-sync/lock.js +1 -1
  193. package/lib/core/sql-sync/utils.js +1 -1
  194. package/lib/core/sql-validator.js +1 -1
  195. package/lib/errors.js +1 -1
  196. package/lib/framework/build-all-flags.js +1 -1
  197. package/lib/framework/flags.js +1 -1
  198. package/lib/framework/help.js +1 -1
  199. package/lib/framework/index.js +1 -1
  200. package/lib/framework/output.js +1 -1
  201. package/lib/framework/response.js +1 -1
  202. package/lib/framework/runner-alias.js +1 -1
  203. package/lib/framework/runner.js +1 -1
  204. package/lib/framework/schema-export.js +1 -1
  205. package/lib/framework/types.js +1 -1
  206. package/lib/generated/build-info.js +1 -1
  207. package/lib/help.js +1 -1
  208. package/lib/skills/main.js +1 -1
  209. package/lib/skills/npx-skills-add.js +1 -1
  210. package/lib/telemetry/cli-command-trace.js +1 -1
  211. package/lib/telemetry/cli-help-trace.js +1 -1
  212. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  213. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  214. package/lib/telemetry/send-cli-trace-log.js +1 -1
  215. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  216. package/lib/utils/ai_config.js +1 -1
  217. package/lib/utils/apply-jq-filter.js +1 -1
  218. package/lib/utils/cdn-config.js +1 -1
  219. package/lib/utils/check-sdk-version.js +1 -1
  220. package/lib/utils/cli-version-check.js +1 -1
  221. package/lib/utils/cli-version-policy.js +1 -1
  222. package/lib/utils/config.js +1 -1
  223. package/lib/utils/copy-directory.js +1 -1
  224. package/lib/utils/entity-with-id.js +1 -1
  225. package/lib/utils/file-utils.js +1 -1
  226. package/lib/utils/guides-cdn.js +1 -1
  227. package/lib/utils/http-client.js +1 -1
  228. package/lib/utils/is-non-interactive.js +1 -1
  229. package/lib/utils/logger.js +1 -1
  230. package/lib/utils/params.js +1 -1
  231. package/lib/utils/platform.js +1 -1
  232. package/lib/utils/rules-cdn.js +1 -1
  233. package/lib/utils/sleep.js +1 -1
  234. package/lib/utils/template-replacer.js +1 -1
  235. package/lib/utils/update-notice.js +1 -1
  236. package/lib/utils/version.js +1 -1
  237. package/lib/utils/with-active-cookie.js +1 -1
  238. package/lib/utils/write-cli-side-channel.js +1 -1
  239. package/package.json +1 -1
@@ -1 +1 @@
1
- const a206_0x2da0ed=a206_0x47a9;(function(_0x50513b,_0x5697ae){const _0x353456=a206_0x47a9,_0x50b148=_0x50513b();while(!![]){try{const _0xd4f265=-parseInt(_0x353456(0x135))/0x1*(parseInt(_0x353456(0x14f))/0x2)+-parseInt(_0x353456(0x153))/0x3+-parseInt(_0x353456(0x15d))/0x4*(-parseInt(_0x353456(0x14b))/0x5)+-parseInt(_0x353456(0x146))/0x6*(parseInt(_0x353456(0x147))/0x7)+-parseInt(_0x353456(0x142))/0x8+parseInt(_0x353456(0x12a))/0x9+parseInt(_0x353456(0x132))/0xa*(parseInt(_0x353456(0x138))/0xb);if(_0xd4f265===_0x5697ae)break;else _0x50b148['push'](_0x50b148['shift']());}catch(_0x2ca1c4){_0x50b148['push'](_0x50b148['shift']());}}}(a206_0x303e,0x68115));import{resolveCommandAuthMode,runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';function a206_0x47a9(_0x6181b5,_0xb5972){_0x6181b5=_0x6181b5-0x12a;const _0x303e06=a206_0x303e();let _0x47a9b0=_0x303e06[_0x6181b5];return _0x47a9b0;}import{CliErrors}from'../errors.js';import{getCookie}from'../auth/get-cookie.js';import{getApiDomain}from'../constant/domain.js';import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{DEFAULT_API_DIR}from'../constant/paths.js';import{isNonInteractive as a206_0x340855}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x5b1c5d){const _0x34ad34=a206_0x47a9;return typeof _0x5b1c5d===_0x34ad34(0x156)&&_0x5b1c5d[_0x34ad34(0x13a)]()?_0x5b1c5d[_0x34ad34(0x13a)]():undefined;}function resolveEnvAppCode(){const _0x3cc25f=a206_0x47a9,_0x145b90=stringFlag(process.env.RABETBASE_APPCODE);if(_0x145b90)return{'name':_0x3cc25f(0x159),'value':_0x145b90};const _0xed9994=stringFlag(process.env.LOVRABET_APPCODE);if(_0xed9994)return{'name':'LOVRABET_APPCODE','value':_0xed9994};return undefined;}function hasExplicitAppCode(_0x3ebeff,_0x181fb7){const _0x596abf=a206_0x47a9;return!!(stringFlag(_0x3ebeff[_0x596abf(0x154)])||stringFlag(_0x181fb7['appcode']));}function assertEnvAppCodeNotIgnored(_0x8117b3,_0xf83582,_0x58750b){const _0x242843=a206_0x47a9;if(!_0xf83582||_0x58750b||_0x8117b3===_0xf83582[_0x242843(0x166)])return;const _0x351fb2=_0x8117b3?'Current\x20resolved\x20appcode\x20is\x20\x22'+_0x8117b3+'\x22.':'No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.';throw CliErrors[_0x242843(0x15b)](_0xf83582[_0x242843(0x13d)]+'='+_0xf83582[_0x242843(0x166)]+_0x242843(0x131)+_0x351fb2+'\x20'+(_0x242843(0x155)+_0xf83582[_0x242843(0x13d)]+'\x22.'));}export function createPipelineEnv(_0xe7a1b5,_0x374816,_0x47b118=[]){const _0x5ac74e=a206_0x47a9;return{'rawFlags':_0x374816,'args':_0x47b118,'resolveAppCode':()=>_0xe7a1b5[_0x5ac74e(0x15c)],'resolveCookie':()=>_0xe7a1b5[_0x5ac74e(0x157)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a206_0x340855(_0x374816),'defaultFormat':_0xe7a1b5[_0x5ac74e(0x163)],'defaultPageSize':_0xe7a1b5[_0x5ac74e(0x144)],'defaultVerbose':_0xe7a1b5[_0x5ac74e(0x12e)],'apiDir':_0xe7a1b5[_0x5ac74e(0x148)],'riskLevel':_0xe7a1b5[_0x5ac74e(0x139)],'selectedAppName':_0xe7a1b5[_0x5ac74e(0x164)],'mergedCli':{'defaultApp':_0xe7a1b5[_0x5ac74e(0x152)],'currentApp':_0xe7a1b5[_0x5ac74e(0x133)],'appCode':_0xe7a1b5[_0x5ac74e(0x15c)],'apps':_0xe7a1b5[_0x5ac74e(0x165)]}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS['filter'](_0x59c519=>PIPELINE_FLAG_NAMES[a206_0x2da0ed(0x13f)](_0x59c519[a206_0x2da0ed(0x13d)]))[a206_0x2da0ed(0x13c)](({name:_0x3b7f51,type:_0x15d8f5,description:_0x38ed6e})=>({'name':_0x3b7f51,'type':_0x15d8f5,'description':_0x38ed6e})),'formatOutput':formatOutput,'getCommandLabel'(_0x69ebae){const _0x4ee39c=a206_0x2da0ed;return CLI_BIN_NAME+'\x20'+_0x69ebae[_0x4ee39c(0x162)]+'\x20'+_0x69ebae[_0x4ee39c(0x15e)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x26f49a){return CliErrors['validation'](_0x26f49a);}},async 'prepare'(_0x2d32b8,_0x51904b,_0x430568,_0x5bfef7){const _0x112f5b=a206_0x2da0ed,_0x68ac37=_0x51904b[_0x112f5b(0x148)]||DEFAULT_API_DIR;resolveAliasToCode(_0x2d32b8,_0x430568,_0x68ac37,_0x5bfef7);const _0x4a6738=resolveCommandAuthMode(_0x2d32b8);let _0x227629='';if(_0x4a6738!==_0x112f5b(0x161)){_0x227629=_0x51904b[_0x112f5b(0x160)]()||'';if(!_0x227629){if(_0x4a6738===_0x112f5b(0x141))throw CliErrors[_0x112f5b(0x136)]();}else{const {setActiveCookie:_0x510b5c}=await import('../core/api-client.js');_0x510b5c(_0x227629);}}const _0x4ae20a=_0x51904b['resolveAppCode']()??'';if(_0x2d32b8[_0x112f5b(0x14c)]!==![]){assertEnvAppCodeNotIgnored(_0x4ae20a,resolveEnvAppCode(),hasExplicitAppCode(_0x430568,_0x51904b[_0x112f5b(0x151)]));if(!_0x4ae20a)throw CliErrors[_0x112f5b(0x14e)]('Set\x20appcode\x20via\x20`'+CLI_BIN_NAME+_0x112f5b(0x13b));}return{'defaults':{'booleans':{'verbose':_0x51904b[_0x112f5b(0x168)]},'numbers':{'pagesize':_0x51904b[_0x112f5b(0x15a)]}},'extras':{'appCode':_0x4ae20a,'cookie':_0x227629,'apiDomain':_0x51904b[_0x112f5b(0x134)](),'apiDir':_0x68ac37,'selectedAppName':_0x51904b[_0x112f5b(0x12b)],'mergedCli':_0x51904b[_0x112f5b(0x167)]}};},async 'confirmHighRisk'({env:_0x529449,commandLabel:_0x36ffe6}){const _0x1f3156=a206_0x2da0ed;if(_0x529449[_0x1f3156(0x130)])throw CliErrors[_0x1f3156(0x15b)]('High-risk\x20operation\x20`'+_0x36ffe6+_0x1f3156(0x14d));await requireConfirmationPrompt({'lines':['⚠\x20\x20High-risk\x20operation:\x20'+_0x36ffe6,_0x1f3156(0x143)],'createCancelledError':_0x9fc78d=>CliErrors[_0x1f3156(0x149)](_0x9fc78d)});},async 'finalize'(){const _0x4acfe3=a206_0x2da0ed,{clearActiveCookie:_0x588597}=await import(_0x4acfe3(0x158));_0x588597();}};export async function runCommand(_0x7c9716,_0x48a6d1){await runCommandWithAdapter(shouldAttachUpdateNotice(_0x7c9716)?withUpdateNotice(_0x7c9716):_0x7c9716,_0x48a6d1,runnerAdapter);}function shouldAttachUpdateNotice(_0x155a36){const _0x5495a6=a206_0x2da0ed;if(_0x155a36[_0x5495a6(0x14a)]===![])return![];return![_0x5495a6(0x12f),_0x5495a6(0x140),_0x5495a6(0x12c)][_0x5495a6(0x12d)](_0x155a36[_0x5495a6(0x162)]);}function withUpdateNotice(_0x499954){return{..._0x499954,async 'execute'(_0x131ba6){const _0x566b47=a206_0x47a9,_0x16ad45=shouldResolveUpdateNotice(_0x131ba6)?resolveLatestUpdateNotice()['catch'](()=>null):Promise[_0x566b47(0x150)](null),_0x45d024=await _0x499954[_0x566b47(0x15f)](_0x131ba6);return attachUpdateNotice(_0x45d024,await _0x16ad45);}};}function shouldResolveUpdateNotice(_0x24a3fa){const _0x6d20af=a206_0x2da0ed;return _0x24a3fa['format']===_0x6d20af(0x137)&&!_0x24a3fa[_0x6d20af(0x13e)];}function attachUpdateNotice(_0xd14820,_0x1621c4){const _0x2e831f=a206_0x2da0ed;if(!_0x1621c4||!_0xd14820||typeof _0xd14820!==_0x2e831f(0x145))return _0xd14820;const _0x4caeb3=_0xd14820,_0x32bb2b=typeof _0x4caeb3[_0x2e831f(0x169)]===_0x2e831f(0x145)&&_0x4caeb3[_0x2e831f(0x169)]!==null?_0x4caeb3[_0x2e831f(0x169)]:{};return{..._0x4caeb3,'_notice':{..._0x32bb2b,'update':_0x1621c4}};}function a206_0x303e(){const _0x5eb6c4=['cookie','../core/api-client.js','RABETBASE_APPCODE','defaultPageSize','validation','appCode','355236pnfuaU','command','execute','resolveCookie','none','service','format','explicitAppName','apps','value','mergedCli','defaultVerbose','_notice','5947767bnJaoO','selectedAppName','doctor','includes','verbose','update','isNonInteractive','\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20','7148530dGjobH','currentApp','resolveApiDomain','17xogwMo','authRequired','pretty','22MjggYR','riskLevel','trim','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','map','name','nonInteractive','has','schema','required','4023560GYkFTx','\x20\x20\x20Continue?\x20[y/N]\x20','pageSize','object','6nOwMle','1670354tHRKTE','apiDir','cancelled','hasFormat','25ItHVJv','requiresAppCode','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','configMissing','81248bonJnk','resolve','rawFlags','defaultApp','2028534whyGwY','appcode','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','string'];a206_0x303e=function(){return _0x5eb6c4;};return a206_0x303e();}
1
+ const a206_0x2b7a44=a206_0x1cbc;(function(_0x3d938e,_0xcc1470){const _0x204720=a206_0x1cbc,_0x2cb141=_0x3d938e();while(!![]){try{const _0x5982bf=parseInt(_0x204720(0x229))/0x1*(-parseInt(_0x204720(0x1ff))/0x2)+parseInt(_0x204720(0x203))/0x3+-parseInt(_0x204720(0x21e))/0x4+parseInt(_0x204720(0x218))/0x5*(-parseInt(_0x204720(0x1fe))/0x6)+parseInt(_0x204720(0x202))/0x7*(parseInt(_0x204720(0x223))/0x8)+parseInt(_0x204720(0x207))/0x9*(-parseInt(_0x204720(0x213))/0xa)+parseInt(_0x204720(0x21f))/0xb;if(_0x5982bf===_0xcc1470)break;else _0x2cb141['push'](_0x2cb141['shift']());}catch(_0x2c1b60){_0x2cb141['push'](_0x2cb141['shift']());}}}(a206_0x2768,0x9ecdc));import{resolveCommandAuthMode,runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';import{getCookie}from'../auth/get-cookie.js';import{getApiDomain}from'../constant/domain.js';import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{DEFAULT_API_DIR}from'../constant/paths.js';function a206_0x1cbc(_0x5d3100,_0x5c474b){_0x5d3100=_0x5d3100-0x1ee;const _0x276860=a206_0x2768();let _0x1cbc31=_0x276860[_0x5d3100];return _0x1cbc31;}import{isNonInteractive as a206_0x350d84}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';function a206_0x2768(){const _0x4caddd=['value','1902760WfTMzo','pageSize','requiresAppCode','apps','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','update','2jsjioZ','pretty','filter','trim','defaultVerbose','nonInteractive','resolveCookie','../core/api-client.js','mergedCli','resolve','\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20','none','cookie','service','riskLevel','defaultApp','rawFlags','670314SWwBnj','126172upMJKb','configMissing','name','28UCKoyO','539820jdSNbA','appcode','⚠\x20\x20High-risk\x20operation:\x20','command','9atHJdo','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','LOVRABET_APPCODE','required','has','validation','selectedAppName','map','verbose','apiDir','RABETBASE_APPCODE','4324370AhcBZL','explicitAppName','Current\x20resolved\x20appcode\x20is\x20\x22','doctor','_notice','40MJSwfR','appCode','authRequired','Set\x20appcode\x20via\x20`','currentApp','string','2477828VJwZvy','17500538KncsAD','schema','object'];a206_0x2768=function(){return _0x4caddd;};return a206_0x2768();}import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x5a752b){const _0x9ddcb1=a206_0x1cbc;return typeof _0x5a752b===_0x9ddcb1(0x21d)&&_0x5a752b[_0x9ddcb1(0x1f0)]()?_0x5a752b[_0x9ddcb1(0x1f0)]():undefined;}function resolveEnvAppCode(){const _0x483f38=a206_0x1cbc,_0x2f6e0c=stringFlag(process.env.RABETBASE_APPCODE);if(_0x2f6e0c)return{'name':_0x483f38(0x212),'value':_0x2f6e0c};const _0x1ff694=stringFlag(process.env.LOVRABET_APPCODE);if(_0x1ff694)return{'name':_0x483f38(0x20a),'value':_0x1ff694};return undefined;}function hasExplicitAppCode(_0x59a8fd,_0xced7ec){const _0x37d2b6=a206_0x1cbc;return!!(stringFlag(_0x59a8fd[_0x37d2b6(0x204)])||stringFlag(_0xced7ec[_0x37d2b6(0x204)]));}function assertEnvAppCodeNotIgnored(_0x4043de,_0x53e8b7,_0x188d88){const _0x37be25=a206_0x1cbc;if(!_0x53e8b7||_0x188d88||_0x4043de===_0x53e8b7['value'])return;const _0xcae92e=_0x4043de?_0x37be25(0x215)+_0x4043de+'\x22.':'No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.';throw CliErrors[_0x37be25(0x20d)](_0x53e8b7[_0x37be25(0x201)]+'='+_0x53e8b7[_0x37be25(0x222)]+_0x37be25(0x1f7)+_0xcae92e+'\x20'+(_0x37be25(0x208)+_0x53e8b7[_0x37be25(0x201)]+'\x22.'));}export function createPipelineEnv(_0x1df3a4,_0x443fd9,_0x55b45f=[]){const _0x4bb5bc=a206_0x1cbc;return{'rawFlags':_0x443fd9,'args':_0x55b45f,'resolveAppCode':()=>_0x1df3a4[_0x4bb5bc(0x219)],'resolveCookie':()=>_0x1df3a4[_0x4bb5bc(0x1f9)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a206_0x350d84(_0x443fd9),'defaultFormat':_0x1df3a4['format'],'defaultPageSize':_0x1df3a4[_0x4bb5bc(0x224)],'defaultVerbose':_0x1df3a4[_0x4bb5bc(0x210)],'apiDir':_0x1df3a4['apiDir'],'riskLevel':_0x1df3a4[_0x4bb5bc(0x1fb)],'selectedAppName':_0x1df3a4[_0x4bb5bc(0x214)],'mergedCli':{'defaultApp':_0x1df3a4[_0x4bb5bc(0x1fc)],'currentApp':_0x1df3a4[_0x4bb5bc(0x21c)],'appCode':_0x1df3a4[_0x4bb5bc(0x219)],'apps':_0x1df3a4[_0x4bb5bc(0x226)]}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[a206_0x2b7a44(0x1ef)](_0x57a7b0=>PIPELINE_FLAG_NAMES[a206_0x2b7a44(0x20c)](_0x57a7b0[a206_0x2b7a44(0x201)]))[a206_0x2b7a44(0x20f)](({name:_0x3c2efc,type:_0x10a9eb,description:_0x35cc50})=>({'name':_0x3c2efc,'type':_0x10a9eb,'description':_0x35cc50})),'formatOutput':formatOutput,'getCommandLabel'(_0xee8a2f){const _0x329e1a=a206_0x2b7a44;return CLI_BIN_NAME+'\x20'+_0xee8a2f[_0x329e1a(0x1fa)]+'\x20'+_0xee8a2f[_0x329e1a(0x206)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0xb03712){const _0x9e2d04=a206_0x2b7a44;return CliErrors[_0x9e2d04(0x20d)](_0xb03712);}},async 'prepare'(_0x18ea6a,_0x35c9ee,_0x32473,_0x37dee4){const _0x5ded5b=a206_0x2b7a44,_0xa76cec=_0x35c9ee[_0x5ded5b(0x211)]||DEFAULT_API_DIR;resolveAliasToCode(_0x18ea6a,_0x32473,_0xa76cec,_0x37dee4);const _0x162394=resolveCommandAuthMode(_0x18ea6a);let _0x14594a='';if(_0x162394!==_0x5ded5b(0x1f8)){_0x14594a=_0x35c9ee[_0x5ded5b(0x1f3)]()||'';if(!_0x14594a){if(_0x162394===_0x5ded5b(0x20b))throw CliErrors[_0x5ded5b(0x21a)]();}else{const {setActiveCookie:_0x11ab30}=await import(_0x5ded5b(0x1f4));_0x11ab30(_0x14594a);}}const _0x1c7dc3=_0x35c9ee['resolveAppCode']()??'';if(_0x18ea6a[_0x5ded5b(0x225)]!==![]){assertEnvAppCodeNotIgnored(_0x1c7dc3,resolveEnvAppCode(),hasExplicitAppCode(_0x32473,_0x35c9ee[_0x5ded5b(0x1fd)]));if(!_0x1c7dc3)throw CliErrors[_0x5ded5b(0x200)](_0x5ded5b(0x21b)+CLI_BIN_NAME+_0x5ded5b(0x209));}return{'defaults':{'booleans':{'verbose':_0x35c9ee[_0x5ded5b(0x1f1)]},'numbers':{'pagesize':_0x35c9ee['defaultPageSize']}},'extras':{'appCode':_0x1c7dc3,'cookie':_0x14594a,'apiDomain':_0x35c9ee['resolveApiDomain'](),'apiDir':_0xa76cec,'selectedAppName':_0x35c9ee[_0x5ded5b(0x20e)],'mergedCli':_0x35c9ee[_0x5ded5b(0x1f5)]}};},async 'confirmHighRisk'({env:_0x5e8c26,commandLabel:_0x2b4f82}){const _0x5902b0=a206_0x2b7a44;if(_0x5e8c26['isNonInteractive'])throw CliErrors['validation']('High-risk\x20operation\x20`'+_0x2b4f82+_0x5902b0(0x227));await requireConfirmationPrompt({'lines':[_0x5902b0(0x205)+_0x2b4f82,'\x20\x20\x20Continue?\x20[y/N]\x20'],'createCancelledError':_0x477977=>CliErrors['cancelled'](_0x477977)});},async 'finalize'(){const _0x1dc289=a206_0x2b7a44,{clearActiveCookie:_0x491efc}=await import(_0x1dc289(0x1f4));_0x491efc();}};export async function runCommand(_0x1f23fc,_0x8069a6){await runCommandWithAdapter(shouldAttachUpdateNotice(_0x1f23fc)?withUpdateNotice(_0x1f23fc):_0x1f23fc,_0x8069a6,runnerAdapter);}function shouldAttachUpdateNotice(_0x236455){const _0x1ba117=a206_0x2b7a44;if(_0x236455['hasFormat']===![])return![];return![_0x1ba117(0x228),_0x1ba117(0x220),_0x1ba117(0x216)]['includes'](_0x236455[_0x1ba117(0x1fa)]);}function withUpdateNotice(_0x1e1513){return{..._0x1e1513,async 'execute'(_0x47a3bb){const _0x11158b=a206_0x1cbc,_0x34e6c9=shouldResolveUpdateNotice(_0x47a3bb)?resolveLatestUpdateNotice()['catch'](()=>null):Promise[_0x11158b(0x1f6)](null),_0x44505d=await _0x1e1513['execute'](_0x47a3bb);return attachUpdateNotice(_0x44505d,await _0x34e6c9);}};}function shouldResolveUpdateNotice(_0x3d7e5f){const _0x3342fb=a206_0x2b7a44;return _0x3d7e5f['format']===_0x3342fb(0x1ee)&&!_0x3d7e5f[_0x3342fb(0x1f2)];}function attachUpdateNotice(_0x4fc905,_0x3e9137){const _0x21803e=a206_0x2b7a44;if(!_0x3e9137||!_0x4fc905||typeof _0x4fc905!==_0x21803e(0x221))return _0x4fc905;const _0x8648b3=_0x4fc905,_0x1f81b4=typeof _0x8648b3[_0x21803e(0x217)]===_0x21803e(0x221)&&_0x8648b3['_notice']!==null?_0x8648b3[_0x21803e(0x217)]:{};return{..._0x8648b3,'_notice':{..._0x1f81b4,'update':_0x3e9137}};}
@@ -1 +1 @@
1
- (function(_0x3454a8,_0x47dea9){const _0x18c73b=a207_0x59c7,_0x59e1ca=_0x3454a8();while(!![]){try{const _0x13dd6a=parseInt(_0x18c73b(0xd1))/0x1+parseInt(_0x18c73b(0xd8))/0x2*(-parseInt(_0x18c73b(0xd9))/0x3)+parseInt(_0x18c73b(0xd7))/0x4+-parseInt(_0x18c73b(0xdd))/0x5*(-parseInt(_0x18c73b(0xd3))/0x6)+-parseInt(_0x18c73b(0xd4))/0x7*(parseInt(_0x18c73b(0xdc))/0x8)+parseInt(_0x18c73b(0xd2))/0x9*(parseInt(_0x18c73b(0xda))/0xa)+parseInt(_0x18c73b(0xdb))/0xb*(-parseInt(_0x18c73b(0xd5))/0xc);if(_0x13dd6a===_0x47dea9)break;else _0x59e1ca['push'](_0x59e1ca['shift']());}catch(_0x4d25f2){_0x59e1ca['push'](_0x59e1ca['shift']());}}}(a207_0x488c,0x2fafc));import{buildSchemaPayload as a207_0x1ab4fe}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';function a207_0x488c(){const _0x26196a=['6QZxzhB','3440gWjSKk','11CNglwq','64DjnjFq','5BDdsrX','196575mqxbqN','2880aroWtC','637812JQQacS','40642pjESkf','1531080ILxNvm','../commands/registry.js','1136508FCzWUT','327722CmgqIJ'];a207_0x488c=function(){return _0x26196a;};return a207_0x488c();}import{getCliVersion}from'../utils/version.js';function a207_0x59c7(_0x59172d,_0x48004a){_0x59172d=_0x59172d-0xd1;const _0x488cc2=a207_0x488c();let _0x59c7c2=_0x488cc2[_0x59172d];return _0x59c7c2;}export async function buildSchemaPayload(){const _0x1a47d4=a207_0x59c7,{serviceRegistry:_0x3b8d35,findDefinition:_0x484b7a}=await import(_0x1a47d4(0xd6));return a207_0x1ab4fe({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x3b8d35,'buildAllFlags':buildAllFlags,'findDefinition':_0x484b7a});}
1
+ (function(_0x5c4b0f,_0x29fdcc){const _0x37b51e=a207_0x502f,_0x3cbe3c=_0x5c4b0f();while(!![]){try{const _0x5d4f24=parseInt(_0x37b51e(0x1e5))/0x1*(-parseInt(_0x37b51e(0x1ef))/0x2)+-parseInt(_0x37b51e(0x1e8))/0x3*(parseInt(_0x37b51e(0x1e6))/0x4)+-parseInt(_0x37b51e(0x1ee))/0x5+parseInt(_0x37b51e(0x1e9))/0x6+parseInt(_0x37b51e(0x1eb))/0x7*(parseInt(_0x37b51e(0x1ea))/0x8)+-parseInt(_0x37b51e(0x1ed))/0x9+-parseInt(_0x37b51e(0x1ec))/0xa*(-parseInt(_0x37b51e(0x1e7))/0xb);if(_0x5d4f24===_0x29fdcc)break;else _0x3cbe3c['push'](_0x3cbe3c['shift']());}catch(_0x5e0d49){_0x3cbe3c['push'](_0x3cbe3c['shift']());}}}(a207_0x28af,0x3d0a4));import{buildSchemaPayload as a207_0xe873b2}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';function a207_0x28af(){const _0x51f630=['3473217CnCNKA','986220ULXVhd','4Abthke','../commands/registry.js','178357aytpjE','25888WEeBcy','10813ZqDlfs','183sZtjeW','2895390diIUKa','280nmmvCx','82607EhjtCz','7010LuUgmx'];a207_0x28af=function(){return _0x51f630;};return a207_0x28af();}import{getCliVersion}from'../utils/version.js';function a207_0x502f(_0xfde35a,_0xd028c4){_0xfde35a=_0xfde35a-0x1e5;const _0x28afa7=a207_0x28af();let _0x502fe8=_0x28afa7[_0xfde35a];return _0x502fe8;}export async function buildSchemaPayload(){const _0xff7850=a207_0x502f,{serviceRegistry:_0x2b1e87,findDefinition:_0xefce3d}=await import(_0xff7850(0x1f0));return a207_0xe873b2({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x2b1e87,'buildAllFlags':buildAllFlags,'findDefinition':_0xefce3d});}
@@ -1 +1 @@
1
- (function(_0x2f9f90,_0x298c0d){var _0x544f1c=a208_0x1ef2,_0x52470b=_0x2f9f90();while(!![]){try{var _0x1d778a=parseInt(_0x544f1c(0x15a))/0x1+parseInt(_0x544f1c(0x15f))/0x2+-parseInt(_0x544f1c(0x160))/0x3*(-parseInt(_0x544f1c(0x161))/0x4)+parseInt(_0x544f1c(0x15e))/0x5+parseInt(_0x544f1c(0x158))/0x6*(parseInt(_0x544f1c(0x15c))/0x7)+parseInt(_0x544f1c(0x159))/0x8+-parseInt(_0x544f1c(0x15d))/0x9*(parseInt(_0x544f1c(0x15b))/0xa);if(_0x1d778a===_0x298c0d)break;else _0x52470b['push'](_0x52470b['shift']());}catch(_0x40e678){_0x52470b['push'](_0x52470b['shift']());}}}(a208_0x53bb,0xcb597));function a208_0x1ef2(_0x3dcd1a,_0x44d876){_0x3dcd1a=_0x3dcd1a-0x158;var _0x53bb9d=a208_0x53bb();var _0x1ef24a=_0x53bb9d[_0x3dcd1a];return _0x1ef24a;}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';function a208_0x53bb(){var _0x4898c4=['7MgtAks','9thFNmO','6289480nEtruP','2018550EAJymq','75LoathS','236444IJjKFm','7732740EZmkBZ','12873000MKgNWj','1656915VvpkTN','74668570evnQZr'];a208_0x53bb=function(){return _0x4898c4;};return a208_0x53bb();}
1
+ function a208_0x5b31(_0x73fb8,_0x252c6c){_0x73fb8=_0x73fb8-0x126;var _0x1f21bf=a208_0x1f21();var _0x5b31b7=_0x1f21bf[_0x73fb8];return _0x5b31b7;}(function(_0x16dff2,_0x9f3ac0){var _0x207bcf=a208_0x5b31,_0x4e0b75=_0x16dff2();while(!![]){try{var _0x3b0e9e=-parseInt(_0x207bcf(0x129))/0x1+parseInt(_0x207bcf(0x12a))/0x2*(-parseInt(_0x207bcf(0x12c))/0x3)+parseInt(_0x207bcf(0x128))/0x4+parseInt(_0x207bcf(0x12f))/0x5+-parseInt(_0x207bcf(0x130))/0x6*(-parseInt(_0x207bcf(0x126))/0x7)+-parseInt(_0x207bcf(0x12b))/0x8*(parseInt(_0x207bcf(0x12d))/0x9)+-parseInt(_0x207bcf(0x12e))/0xa*(parseInt(_0x207bcf(0x127))/0xb);if(_0x3b0e9e===_0x9f3ac0)break;else _0x4e0b75['push'](_0x4e0b75['shift']());}catch(_0x43cea7){_0x4e0b75['push'](_0x4e0b75['shift']());}}}(a208_0x1f21,0xe58b6));function a208_0x1f21(){var _0x3b0ca7=['99nDfYxC','1370cCJhQp','5896295uzeogs','3018pjIHwh','20839YlNKDK','183271ckflGz','4907440IrjsYX','498253vrRrAh','6046iwDUYA','75584fbGOrx','78PvROcK'];a208_0x1f21=function(){return _0x3b0ca7;};return a208_0x1f21();}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';
@@ -1 +1 @@
1
- function a209_0x4aec(){const _0x3eec14=['1797yUYmwH','10tnbUAZ','68230lqjEkw','1000ztzXCT','102jxqnhb','3308968QRrNYv','3528636QpshBP','11ReqqVv','2018yZdYBZ','2834721imTvLL','2759904YqfPWD','2026-07-14T15:24:06.734Z','2.3.5-beta.1','301AOSMPm'];a209_0x4aec=function(){return _0x3eec14;};return a209_0x4aec();}const a209_0x2db6da=a209_0x117a;function a209_0x117a(_0x286126,_0x6abde2){_0x286126=_0x286126-0x185;const _0x4aecc2=a209_0x4aec();let _0x117a45=_0x4aecc2[_0x286126];return _0x117a45;}(function(_0x42bc77,_0x3f09ac){const _0x34493d=a209_0x117a,_0x57b8fe=_0x42bc77();while(!![]){try{const _0x20ec0b=-parseInt(_0x34493d(0x191))/0x1*(-parseInt(_0x34493d(0x18c))/0x2)+-parseInt(_0x34493d(0x192))/0x3*(-parseInt(_0x34493d(0x187))/0x4)+parseInt(_0x34493d(0x186))/0x5*(-parseInt(_0x34493d(0x188))/0x6)+-parseInt(_0x34493d(0x18e))/0x7+parseInt(_0x34493d(0x189))/0x8+-parseInt(_0x34493d(0x18d))/0x9*(parseInt(_0x34493d(0x185))/0xa)+-parseInt(_0x34493d(0x18b))/0xb*(-parseInt(_0x34493d(0x18a))/0xc);if(_0x20ec0b===_0x3f09ac)break;else _0x57b8fe['push'](_0x57b8fe['shift']());}catch(_0x3640f6){_0x57b8fe['push'](_0x57b8fe['shift']());}}}(a209_0x4aec,0x35b06));export const VERSION=a209_0x2db6da(0x190);export const GIT_TAG='v2.3.5-beta.1';export const GIT_COMMIT='a39e59e';export const BUILD_TIME=a209_0x2db6da(0x18f);
1
+ const a209_0x54e31d=a209_0x3c6b;function a209_0x3c6b(_0x4e5227,_0x1e2b17){_0x4e5227=_0x4e5227-0x154;const _0x55a262=a209_0x55a2();let _0x3c6b73=_0x55a262[_0x4e5227];return _0x3c6b73;}function a209_0x55a2(){const _0x4b3ee8=['1668878BJVJYM','v2.3.6-beta.1','9LccToS','2026-07-16T09:10:09.476Z','2701464BFyWQe','901807AoiRGM','3hYcSjy','6981256DgfXkD','3972918JsWgVM','3003345SLzkln','26498840AmRfjv','7EwnTKs','b1289b6'];a209_0x55a2=function(){return _0x4b3ee8;};return a209_0x55a2();}(function(_0x4cd226,_0x27d510){const _0x35a027=a209_0x3c6b,_0x22dc4b=_0x4cd226();while(!![]){try{const _0x5366f1=-parseInt(_0x35a027(0x15b))/0x1+parseInt(_0x35a027(0x156))/0x2*(-parseInt(_0x35a027(0x15c))/0x3)+parseInt(_0x35a027(0x15a))/0x4+parseInt(_0x35a027(0x15f))/0x5+parseInt(_0x35a027(0x15e))/0x6*(-parseInt(_0x35a027(0x154))/0x7)+parseInt(_0x35a027(0x15d))/0x8*(-parseInt(_0x35a027(0x158))/0x9)+parseInt(_0x35a027(0x160))/0xa;if(_0x5366f1===_0x27d510)break;else _0x22dc4b['push'](_0x22dc4b['shift']());}catch(_0x15c542){_0x22dc4b['push'](_0x22dc4b['shift']());}}}(a209_0x55a2,0x9fe0f));export const VERSION='2.3.6-beta.1';export const GIT_TAG=a209_0x54e31d(0x157);export const GIT_COMMIT=a209_0x54e31d(0x155);export const BUILD_TIME=a209_0x54e31d(0x159);
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- function a210_0x35bb(_0x4c4d86,_0x56ed4f){_0x4c4d86=_0x4c4d86-0xb3;var _0x33229d=a210_0x3322();var _0x35bbcf=_0x33229d[_0x4c4d86];return _0x35bbcf;}(function(_0x17823e,_0x5a21a9){var _0x5a614d=a210_0x35bb,_0x163958=_0x17823e();while(!![]){try{var _0x25e5a5=parseInt(_0x5a614d(0xb9))/0x1*(parseInt(_0x5a614d(0xb5))/0x2)+parseInt(_0x5a614d(0xb8))/0x3*(-parseInt(_0x5a614d(0xbe))/0x4)+parseInt(_0x5a614d(0xc0))/0x5+-parseInt(_0x5a614d(0xbd))/0x6+-parseInt(_0x5a614d(0xb7))/0x7*(parseInt(_0x5a614d(0xba))/0x8)+-parseInt(_0x5a614d(0xbf))/0x9+parseInt(_0x5a614d(0xbb))/0xa;if(_0x25e5a5===_0x5a21a9)break;else _0x163958['push'](_0x163958['shift']());}catch(_0x3c54e6){_0x163958['push'](_0x163958['shift']());}}}(a210_0x3322,0x3ef3f));import a210_0x5b907d from'chalk';function a210_0x3322(){var _0x45d818=['green','log','27966LhXPoK','\x20to\x20view\x20available\x20commands.','98vTRANS','141DCaQip','15ecwpIg','25304sTXCdc','10040660pQNwkq','\x20\x20Use\x20','1952202GvcmGo','39956UNqJoT','1234179pDlims','101535UPSvuE'];a210_0x3322=function(){return _0x45d818;};return a210_0x3322();}import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0x17e7fb=a210_0x35bb;console['log'](),console['log'](a210_0x5b907d[_0x17e7fb(0xb3)]['bold']('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x17e7fb(0xb4)](),console['log'](_0x17e7fb(0xbc)+a210_0x5b907d[_0x17e7fb(0xb3)]['bold'](CLI_BIN_NAME+'\x20--help')+_0x17e7fb(0xb6)),console[_0x17e7fb(0xb4)]();}
1
+ function a210_0x313e(){var _0x3792bc=['569008AQhfgl','7640082tAqNES','6dbvXeB','22naVAgY','77301JEVxoz','444485byFpek','30475QWTRWh','284824DsVwXq','\x20--help','\x20\x20Use\x20','green','\x20to\x20view\x20available\x20commands.','log','1730078FMXpjO'];a210_0x313e=function(){return _0x3792bc;};return a210_0x313e();}function a210_0x4965(_0x21705c,_0x39e7fc){_0x21705c=_0x21705c-0xea;var _0x313e05=a210_0x313e();var _0x49656f=_0x313e05[_0x21705c];return _0x49656f;}(function(_0x5987c4,_0x5a5f52){var _0x442510=a210_0x4965,_0x48ec2e=_0x5987c4();while(!![]){try{var _0xb6a974=parseInt(_0x442510(0xf6))/0x1+parseInt(_0x442510(0xf3))/0x2*(-parseInt(_0x442510(0xf4))/0x3)+-parseInt(_0x442510(0xf0))/0x4+-parseInt(_0x442510(0xf5))/0x5+parseInt(_0x442510(0xf2))/0x6*(-parseInt(_0x442510(0xef))/0x7)+parseInt(_0x442510(0xf7))/0x8+parseInt(_0x442510(0xf1))/0x9;if(_0xb6a974===_0x5a5f52)break;else _0x48ec2e['push'](_0x48ec2e['shift']());}catch(_0x4b047d){_0x48ec2e['push'](_0x48ec2e['shift']());}}}(a210_0x313e,0x25694));import a210_0xa139f1 from'chalk';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0x4c5abc=a210_0x4965;console[_0x4c5abc(0xee)](),console['log'](a210_0xa139f1[_0x4c5abc(0xec)]['bold']('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x4c5abc(0xee)](),console[_0x4c5abc(0xee)](_0x4c5abc(0xeb)+a210_0xa139f1['green']['bold'](CLI_BIN_NAME+_0x4c5abc(0xea))+_0x4c5abc(0xed)),console[_0x4c5abc(0xee)]();}
@@ -1 +1 @@
1
- (function(_0x15a48a,_0x59fa4f){const _0x5c45c0=a211_0x2489,_0x2a8db4=_0x15a48a();while(!![]){try{const _0x3c62a0=parseInt(_0x5c45c0(0xa8))/0x1*(parseInt(_0x5c45c0(0xa2))/0x2)+parseInt(_0x5c45c0(0xa4))/0x3*(-parseInt(_0x5c45c0(0x96))/0x4)+-parseInt(_0x5c45c0(0x9a))/0x5*(parseInt(_0x5c45c0(0x98))/0x6)+parseInt(_0x5c45c0(0xa0))/0x7+parseInt(_0x5c45c0(0xb7))/0x8+parseInt(_0x5c45c0(0xac))/0x9+parseInt(_0x5c45c0(0xb5))/0xa*(-parseInt(_0x5c45c0(0xa5))/0xb);if(_0x3c62a0===_0x59fa4f)break;else _0x2a8db4['push'](_0x2a8db4['shift']());}catch(_0x44dfce){_0x2a8db4['push'](_0x2a8db4['shift']());}}}(a211_0x2b15,0x24c83));import{logger}from'../utils/logger.js';function a211_0x2489(_0x4c221b,_0x2adf27){_0x4c221b=_0x4c221b-0x96;const _0x2b15aa=a211_0x2b15();let _0x248942=_0x2b15aa[_0x4c221b];return _0x248942;}import{CLI_BIN_NAME}from'../constant/cli.js';import{NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE}from'../skills/npx-skills-add.js';export function camelCaseFlagsToKebab(_0x1bebb4){const _0x6af363=a211_0x2489,_0xaf4381=[];for(const [_0x4e4522,_0x29d3e2]of Object['entries'](_0x1bebb4)){if(_0x29d3e2===!![]){const _0x1b33b8=_0x4e4522[_0x6af363(0x9d)](/([A-Z])/g,'-$1')[_0x6af363(0xa9)]();_0xaf4381[_0x6af363(0xb0)](_0x1b33b8);}}return _0xaf4381;}export function parseDynamicFlags(){const _0x21565b=a211_0x2489,_0xef34a1=[];for(let _0x258ca4=0x3;_0x258ca4<process[_0x21565b(0xae)][_0x21565b(0xb1)];_0x258ca4++){const _0x53b4f6=process['argv'][_0x258ca4];if(_0x53b4f6&&_0x53b4f6[_0x21565b(0xb8)]('--')){const _0x17676e=_0x53b4f6[_0x21565b(0xb9)](0x2);_0x17676e&&!_0x17676e[_0x21565b(0xa6)]('=')&&_0xef34a1[_0x21565b(0xb0)](_0x17676e);}}return _0xef34a1;}function a211_0x2b15(){const _0x4eb2e1=['3852CvskHY','3707VyQwxI','includes','--help','2SbwIKC','toLowerCase','skill','\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/rabetbase/guides/.\x0a','1795995nrmYtA','dangerously-bff-save','argv','log','push','length','error','(empty)','from','8070mESeES','\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','304808tbHIwG','startsWith','slice','help','300YalnBR','has','6YSGqUR','enable-bff-save','775015fPAyfw','setLogPath','exit','replace','\x20cli-skill\x20install\x0a\x0aEquivalent\x20command:\x20','Error:\x20Unsupported\x20command:\x20','2103073bjVOGg','Equivalent\x20command:\x20','135826VMfKGG','cwd'];a211_0x2b15=function(){return _0x4eb2e1;};return a211_0x2b15();}export function getAllProvidedFlags(_0xc64a47){const _0x3d96b3=camelCaseFlagsToKebab(_0xc64a47),_0x548c98=parseDynamicFlags(),_0x481c2d=new Set([..._0x3d96b3,..._0x548c98]);return Array['from'](_0x481c2d);}export function normalizeLegacyBffSaveFlags(_0xe2b6c0){const _0x4d72f1=a211_0x2489,_0x158d6a=new Set(_0xe2b6c0);return _0x158d6a[_0x4d72f1(0x97)](_0x4d72f1(0xad))&&_0x158d6a['add'](_0x4d72f1(0x99)),Array[_0x4d72f1(0xb4)](_0x158d6a);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;export async function skillsCommand(_0x1f4e69,_0x2ca929,_0x5e1ae1){const _0x74744b=a211_0x2489;logger[_0x74744b(0x9b)](process[_0x74744b(0xa3)]());if(_0x5e1ae1?.[_0x74744b(0xba)]||_0x1f4e69===_0x74744b(0xa7)){showHelp();return;}console[_0x74744b(0xb2)](_0x74744b(0x9f)+(_0x1f4e69||_0x74744b(0xb3))),console['log']('\x0aAvailable\x20commands:'),console[_0x74744b(0xaf)]('\x20\x20'+CLI_BIN_NAME+'\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill'),console[_0x74744b(0xaf)](''),console[_0x74744b(0xaf)](_0x74744b(0xa1)+SKILLS_INSTALL_COMMAND_LINE),logger[_0x74744b(0xb2)](_0x74744b(0xaa),'不支持的命令:\x20'+_0x1f4e69),process[_0x74744b(0x9c)](0x1);}function showHelp(){const _0x43a61f=a211_0x2489;console[_0x43a61f(0xaf)](_0x43a61f(0xb6)+CLI_BIN_NAME+_0x43a61f(0x9e)+SKILLS_INSTALL_COMMAND_LINE+_0x43a61f(0xab));}
1
+ function a211_0x343d(){const _0x53b72d=['dangerously-bff-save','length','(empty)','4laeruL','\x0aAvailable\x20commands:','74ZiiABA','startsWith','\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','Equivalent\x20command:\x20','349240BYcJoW','\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/rabetbase/guides/.\x0a','3402900YrDDnx','30798gZLdmm','985002pAiZQH','Error:\x20Unsupported\x20command:\x20','enable-bff-save','entries','includes','setLogPath','exit','--help','push','replace','error','7644805YBoAfD','5108514HbZivI','from','add','不支持的命令:\x20','skill','5LRVHzU','cwd','\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill','has','241072yevcZt','log','help','argv'];a211_0x343d=function(){return _0x53b72d;};return a211_0x343d();}function a211_0x57ce(_0x13ecba,_0x7ab6a8){_0x13ecba=_0x13ecba-0x1db;const _0x343d3c=a211_0x343d();let _0x57ce71=_0x343d3c[_0x13ecba];return _0x57ce71;}(function(_0x1be066,_0x871181){const _0x31a61d=a211_0x57ce,_0x5e4192=_0x1be066();while(!![]){try{const _0x477948=-parseInt(_0x31a61d(0x1fe))/0x1*(-parseInt(_0x31a61d(0x1df))/0x2)+parseInt(_0x31a61d(0x1e0))/0x3*(-parseInt(_0x31a61d(0x1fc))/0x4)+-parseInt(_0x31a61d(0x1f1))/0x5*(parseInt(_0x31a61d(0x1ec))/0x6)+parseInt(_0x31a61d(0x1eb))/0x7+-parseInt(_0x31a61d(0x1f5))/0x8+-parseInt(_0x31a61d(0x1de))/0x9+-parseInt(_0x31a61d(0x1dc))/0xa;if(_0x477948===_0x871181)break;else _0x5e4192['push'](_0x5e4192['shift']());}catch(_0x27b8c2){_0x5e4192['push'](_0x5e4192['shift']());}}}(a211_0x343d,0x949da));import{logger}from'../utils/logger.js';import{CLI_BIN_NAME}from'../constant/cli.js';import{NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE}from'../skills/npx-skills-add.js';export function camelCaseFlagsToKebab(_0x1eafba){const _0x412c7c=a211_0x57ce,_0x47f138=[];for(const [_0x2616d6,_0xd8924d]of Object[_0x412c7c(0x1e3)](_0x1eafba)){if(_0xd8924d===!![]){const _0x3e8b83=_0x2616d6[_0x412c7c(0x1e9)](/([A-Z])/g,'-$1')['toLowerCase']();_0x47f138[_0x412c7c(0x1e8)](_0x3e8b83);}}return _0x47f138;}export function parseDynamicFlags(){const _0x34fa6f=a211_0x57ce,_0x156e17=[];for(let _0x2116b6=0x3;_0x2116b6<process[_0x34fa6f(0x1f8)][_0x34fa6f(0x1fa)];_0x2116b6++){const _0x250ff5=process['argv'][_0x2116b6];if(_0x250ff5&&_0x250ff5[_0x34fa6f(0x1ff)]('--')){const _0x7c3d63=_0x250ff5['slice'](0x2);_0x7c3d63&&!_0x7c3d63[_0x34fa6f(0x1e4)]('=')&&_0x156e17[_0x34fa6f(0x1e8)](_0x7c3d63);}}return _0x156e17;}export function getAllProvidedFlags(_0x6d55dd){const _0x20c30b=a211_0x57ce,_0xb687b0=camelCaseFlagsToKebab(_0x6d55dd),_0x3349d3=parseDynamicFlags(),_0x1decf0=new Set([..._0xb687b0,..._0x3349d3]);return Array[_0x20c30b(0x1ed)](_0x1decf0);}export function normalizeLegacyBffSaveFlags(_0x56c1fe){const _0xce4bc3=a211_0x57ce,_0x488e0d=new Set(_0x56c1fe);return _0x488e0d[_0xce4bc3(0x1f4)](_0xce4bc3(0x1f9))&&_0x488e0d[_0xce4bc3(0x1ee)](_0xce4bc3(0x1e2)),Array['from'](_0x488e0d);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;export async function skillsCommand(_0x5989ca,_0x4b9602,_0x26cd89){const _0x5182a0=a211_0x57ce;logger[_0x5182a0(0x1e5)](process[_0x5182a0(0x1f2)]());if(_0x26cd89?.[_0x5182a0(0x1f7)]||_0x5989ca===_0x5182a0(0x1e7)){showHelp();return;}console[_0x5182a0(0x1ea)](_0x5182a0(0x1e1)+(_0x5989ca||_0x5182a0(0x1fb))),console[_0x5182a0(0x1f6)](_0x5182a0(0x1fd)),console[_0x5182a0(0x1f6)]('\x20\x20'+CLI_BIN_NAME+_0x5182a0(0x1f3)),console['log'](''),console['log'](_0x5182a0(0x1db)+SKILLS_INSTALL_COMMAND_LINE),logger[_0x5182a0(0x1ea)](_0x5182a0(0x1f0),_0x5182a0(0x1ef)+_0x5989ca),process[_0x5182a0(0x1e6)](0x1);}function showHelp(){const _0x155576=a211_0x57ce;console[_0x155576(0x1f6)](_0x155576(0x200)+CLI_BIN_NAME+'\x20cli-skill\x20install\x0a\x0aEquivalent\x20command:\x20'+SKILLS_INSTALL_COMMAND_LINE+_0x155576(0x1dd));}
@@ -1 +1 @@
1
- const a212_0x37e5e2=a212_0x35f8;(function(_0x391873,_0x4e082d){const _0x4d2293=a212_0x35f8,_0x3f0ebe=_0x391873();while(!![]){try{const _0x12ddc6=parseInt(_0x4d2293(0xd0))/0x1*(-parseInt(_0x4d2293(0xc9))/0x2)+parseInt(_0x4d2293(0xc6))/0x3+parseInt(_0x4d2293(0xd5))/0x4*(parseInt(_0x4d2293(0xde))/0x5)+parseInt(_0x4d2293(0xcd))/0x6*(parseInt(_0x4d2293(0xca))/0x7)+-parseInt(_0x4d2293(0xc7))/0x8*(parseInt(_0x4d2293(0xe2))/0x9)+parseInt(_0x4d2293(0xcc))/0xa+-parseInt(_0x4d2293(0xdd))/0xb*(parseInt(_0x4d2293(0xdc))/0xc);if(_0x12ddc6===_0x4e082d)break;else _0x3f0ebe['push'](_0x3f0ebe['shift']());}catch(_0x361c16){_0x3f0ebe['push'](_0x3f0ebe['shift']());}}}(a212_0x5b4e,0x1ab48));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';export const NPX_FLAG_YES='-y';export const SKILLS_FLAG_GLOBAL='-g';export const SKILLS_FLAG_YES='-y';export const NPX_SKILLS_CLI=a212_0x37e5e2(0xcf);export const NPX_SKILLS_SUBCOMMAND_ADD=a212_0x37e5e2(0xdb);function a212_0x35f8(_0x5409b5,_0x21048b){_0x5409b5=_0x5409b5-0xc2;const _0x5b4ec2=a212_0x5b4e();let _0x35f8f7=_0x5b4ec2[_0x5409b5];return _0x35f8f7;}export const NPX_SKILLS_FLAG_SKILL='--skill';export const RABETBASE_SKILL_SOURCE=a212_0x37e5e2(0xc3);function a212_0x5b4e(){const _0x2c4e55=['exit\x20','535569UkclEE','291768tlPTpK','stdio','8xQVOOu','7567QkGmaU','Lovrabet','1897620EatDGy','588dYAHnt','inherit','skills','20048vaHxno','pipe','yes','unknown','skill','853868eLqyjl','log','toString','status','trim','stderr','add','142044lpoZDy','429dHPrcB','5ELogHM','remove','npx','join','9wfvLem','push','lovrabet/rabetbase','stdout'];a212_0x5b4e=function(){return _0x2c4e55;};return a212_0x5b4e();}export const LEGACY_RABETBASE_SKILL_SOURCE='lovrabet/lovrabet-skill';export const DEFAULT_RABETBASE_SKILL_NAME=a212_0x37e5e2(0xcb);export function buildNpxSkillsAddArgv(_0x104949){const _0x386a22=a212_0x37e5e2,_0x882f67=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE];return _0x104949&&_0x882f67[_0x386a22(0xc2)](NPX_SKILLS_FLAG_SKILL,_0x104949),_0x882f67;}export const NPX_SKILLS_ADD_COMMAND_LINE=[a212_0x37e5e2(0xe0),...buildNpxSkillsAddArgv()][a212_0x37e5e2(0xe1)]('\x20');export const NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE=['npx',NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES]['join']('\x20');export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0xac48b0,_0x433ca8){const _0x5a78dd=a212_0x37e5e2;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x1c8067=_0x433ca8?.['stdio']??_0x5a78dd(0xce),_0x246c40=resolveNpmBin(_0x5a78dd(0xe0)),_0x38fe41=buildNpxSkillsAddArgv(_0x433ca8?.[_0x5a78dd(0xd4)]),_0x2e139d=[_0x5a78dd(0xe0),..._0x38fe41][_0x5a78dd(0xe1)]('\x20');console[_0x5a78dd(0xd6)]('*\x20'+_0x2e139d);const _0x4169d9=spawnSync(_0x246c40,_0x38fe41,{'cwd':_0xac48b0,'stdio':_0x1c8067,'env':process.env,'shell':![]}),_0x8ebcf1=_0x4169d9[_0x5a78dd(0xd8)];if(_0x8ebcf1===0x0)return{'ok':!![],'status':0x0};let _0x1209c2='exit\x20'+(_0x8ebcf1??_0x5a78dd(0xd3));if(_0x1c8067===_0x5a78dd(0xd1)){const _0xbfd47c=_0x4169d9[_0x5a78dd(0xda)]?_0x4169d9[_0x5a78dd(0xda)]['toString']()['trim']():'',_0x3fb1f3=_0x4169d9['stdout']?_0x4169d9[_0x5a78dd(0xc4)]['toString']()[_0x5a78dd(0xd9)]():'';if(_0xbfd47c)_0x1209c2=_0xbfd47c;else{if(_0x3fb1f3)_0x1209c2=_0x3fb1f3;}}return{'ok':![],'status':_0x8ebcf1??null,'error':_0x1209c2};}export function runNpxSkillsRemove(_0x32a3bf,_0x2a5076,_0x5b8307=LEGACY_RABETBASE_SKILL_SOURCE){const _0x744ead=a212_0x37e5e2;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x235348=_0x2a5076?.[_0x744ead(0xc8)]??_0x744ead(0xce),_0x2bd34a=resolveNpmBin(_0x744ead(0xe0)),_0x2c5d9b=[NPX_FLAG_YES,NPX_SKILLS_CLI,_0x744ead(0xdf),_0x5b8307,NPX_SKILLS_FLAG_SKILL,_0x2a5076?.['skill']??DEFAULT_RABETBASE_SKILL_NAME,..._0x2a5076?.[_0x744ead(0xd2)]?['-y']:[]],_0x5c63c1=[_0x2bd34a,..._0x2c5d9b][_0x744ead(0xe1)]('\x20');console['log']('*\x20'+_0x5c63c1);const _0xfcbd39=spawnSync(_0x2bd34a,_0x2c5d9b,{'cwd':_0x32a3bf,'stdio':_0x235348,'env':process.env,'shell':![]}),_0x11d2bb=_0xfcbd39[_0x744ead(0xd8)];if(_0x11d2bb===0x0)return{'ok':!![],'status':0x0};let _0x5ba512=_0x744ead(0xc5)+(_0x11d2bb??_0x744ead(0xd3));if(_0x235348===_0x744ead(0xd1)){const _0x1cd0e5=_0xfcbd39[_0x744ead(0xda)]?_0xfcbd39[_0x744ead(0xda)][_0x744ead(0xd7)]()[_0x744ead(0xd9)]():'',_0x5d2521=_0xfcbd39[_0x744ead(0xc4)]?_0xfcbd39[_0x744ead(0xc4)][_0x744ead(0xd7)]()['trim']():'';if(_0x1cd0e5)_0x5ba512=_0x1cd0e5;else{if(_0x5d2521)_0x5ba512=_0x5d2521;}}return{'ok':![],'status':_0x11d2bb??null,'error':_0x5ba512};}export function runNpxSkillsAddGlobal(_0x4d2422,_0x41a533,_0x5664e0){const _0x1546d7=a212_0x37e5e2;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x5b3d4a=_0x5664e0?.['stdio']??_0x1546d7(0xce),_0x47613f=resolveNpmBin(_0x1546d7(0xe0)),_0x4f094a=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x41a533,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES],_0x3b1f8f=['npx',NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x41a533,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][_0x1546d7(0xe1)]('\x20');console[_0x1546d7(0xd6)]('*\x20'+_0x3b1f8f);const _0x2be6c5=spawnSync(_0x47613f,_0x4f094a,{'cwd':_0x4d2422,'stdio':_0x5b3d4a,'env':process.env,'shell':![]}),_0x2c1374=_0x2be6c5[_0x1546d7(0xd8)];if(_0x2c1374===0x0)return{'ok':!![],'status':0x0};let _0x693f7f=_0x1546d7(0xc5)+(_0x2c1374??_0x1546d7(0xd3));if(_0x5b3d4a==='pipe'){const _0x4647bb=_0x2be6c5[_0x1546d7(0xda)]?_0x2be6c5[_0x1546d7(0xda)]['toString']()[_0x1546d7(0xd9)]():'',_0x2cd7f0=_0x2be6c5['stdout']?_0x2be6c5[_0x1546d7(0xc4)][_0x1546d7(0xd7)]()[_0x1546d7(0xd9)]():'';if(_0x4647bb)_0x693f7f=_0x4647bb;else{if(_0x2cd7f0)_0x693f7f=_0x2cd7f0;}}return{'ok':![],'status':_0x2c1374??null,'error':_0x693f7f};}
1
+ const a212_0x2fa29e=a212_0x3a2a;function a212_0x2b01(){const _0x51be26=['stdio','npx','822778DueueP','pipe','stdout','stderr','270816OaarAs','393932KlHVkF','add','lovrabet/lovrabet-skill','--skill','3210RYjJNw','join','5DxzuEB','11673UwxiAY','remove','8qlLAfA','unknown','log','skill','status','183JlHrOz','exit\x20','toString','lovrabet/rabetbase','2723064iMJTSP','trim','push','2374ZbvRzI','502772txuBUw'];a212_0x2b01=function(){return _0x51be26;};return a212_0x2b01();}(function(_0x174601,_0x28f6ae){const _0x37ccb7=a212_0x3a2a,_0x3084e8=_0x174601();while(!![]){try{const _0x42b010=-parseInt(_0x37ccb7(0x1bb))/0x1*(-parseInt(_0x37ccb7(0x1c2))/0x2)+-parseInt(_0x37ccb7(0x1ca))/0x3+parseInt(_0x37ccb7(0x1c3))/0x4+parseInt(_0x37ccb7(0x1d1))/0x5*(-parseInt(_0x37ccb7(0x1bf))/0x6)+-parseInt(_0x37ccb7(0x1cb))/0x7*(-parseInt(_0x37ccb7(0x1b6))/0x8)+-parseInt(_0x37ccb7(0x1d2))/0x9*(-parseInt(_0x37ccb7(0x1cf))/0xa)+parseInt(_0x37ccb7(0x1c6))/0xb;if(_0x42b010===_0x28f6ae)break;else _0x3084e8['push'](_0x3084e8['shift']());}catch(_0x28992d){_0x3084e8['push'](_0x3084e8['shift']());}}}(a212_0x2b01,0x54861));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';export const NPX_FLAG_YES='-y';export const SKILLS_FLAG_GLOBAL='-g';export const SKILLS_FLAG_YES='-y';export const NPX_SKILLS_CLI='skills';export const NPX_SKILLS_SUBCOMMAND_ADD=a212_0x2fa29e(0x1cc);function a212_0x3a2a(_0x404024,_0x2450cb){_0x404024=_0x404024-0x1b6;const _0x2b01a9=a212_0x2b01();let _0x3a2aac=_0x2b01a9[_0x404024];return _0x3a2aac;}export const NPX_SKILLS_FLAG_SKILL=a212_0x2fa29e(0x1ce);export const RABETBASE_SKILL_SOURCE=a212_0x2fa29e(0x1be);export const LEGACY_RABETBASE_SKILL_SOURCE=a212_0x2fa29e(0x1cd);export const DEFAULT_RABETBASE_SKILL_NAME='Lovrabet';export function buildNpxSkillsAddArgv(_0x4183f0){const _0x132c65=a212_0x2fa29e,_0x1a3531=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE];return _0x4183f0&&_0x1a3531[_0x132c65(0x1c1)](NPX_SKILLS_FLAG_SKILL,_0x4183f0),_0x1a3531;}export const NPX_SKILLS_ADD_COMMAND_LINE=[a212_0x2fa29e(0x1c5),...buildNpxSkillsAddArgv()][a212_0x2fa29e(0x1d0)]('\x20');export const NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE=[a212_0x2fa29e(0x1c5),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES]['join']('\x20');export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0x335c1a,_0x2bb373){const _0x310449=a212_0x2fa29e;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0xb9d02e=_0x2bb373?.[_0x310449(0x1c4)]??'inherit',_0x52e20d=resolveNpmBin('npx'),_0x4d95a6=buildNpxSkillsAddArgv(_0x2bb373?.[_0x310449(0x1b9)]),_0x44e977=['npx',..._0x4d95a6][_0x310449(0x1d0)]('\x20');console[_0x310449(0x1b8)]('*\x20'+_0x44e977);const _0x439eaa=spawnSync(_0x52e20d,_0x4d95a6,{'cwd':_0x335c1a,'stdio':_0xb9d02e,'env':process.env,'shell':![]}),_0x3bbc97=_0x439eaa[_0x310449(0x1ba)];if(_0x3bbc97===0x0)return{'ok':!![],'status':0x0};let _0x3cfbf5='exit\x20'+(_0x3bbc97??_0x310449(0x1b7));if(_0xb9d02e===_0x310449(0x1c7)){const _0x486671=_0x439eaa[_0x310449(0x1c9)]?_0x439eaa[_0x310449(0x1c9)][_0x310449(0x1bd)]()[_0x310449(0x1c0)]():'',_0x385e71=_0x439eaa[_0x310449(0x1c8)]?_0x439eaa[_0x310449(0x1c8)][_0x310449(0x1bd)]()[_0x310449(0x1c0)]():'';if(_0x486671)_0x3cfbf5=_0x486671;else{if(_0x385e71)_0x3cfbf5=_0x385e71;}}return{'ok':![],'status':_0x3bbc97??null,'error':_0x3cfbf5};}export function runNpxSkillsRemove(_0x42a6c1,_0x2a0a3f,_0x59f837=LEGACY_RABETBASE_SKILL_SOURCE){const _0x362719=a212_0x2fa29e;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x28a932=_0x2a0a3f?.[_0x362719(0x1c4)]??'inherit',_0x4bd8b2=resolveNpmBin(_0x362719(0x1c5)),_0xfac658=[NPX_FLAG_YES,NPX_SKILLS_CLI,_0x362719(0x1d3),_0x59f837,NPX_SKILLS_FLAG_SKILL,_0x2a0a3f?.[_0x362719(0x1b9)]??DEFAULT_RABETBASE_SKILL_NAME,..._0x2a0a3f?.['yes']?['-y']:[]],_0x1dc4c6=[_0x4bd8b2,..._0xfac658][_0x362719(0x1d0)]('\x20');console[_0x362719(0x1b8)]('*\x20'+_0x1dc4c6);const _0x48ef78=spawnSync(_0x4bd8b2,_0xfac658,{'cwd':_0x42a6c1,'stdio':_0x28a932,'env':process.env,'shell':![]}),_0x37afcc=_0x48ef78[_0x362719(0x1ba)];if(_0x37afcc===0x0)return{'ok':!![],'status':0x0};let _0x11b863=_0x362719(0x1bc)+(_0x37afcc??_0x362719(0x1b7));if(_0x28a932===_0x362719(0x1c7)){const _0x209e61=_0x48ef78[_0x362719(0x1c9)]?_0x48ef78[_0x362719(0x1c9)]['toString']()[_0x362719(0x1c0)]():'',_0x4cb6c4=_0x48ef78[_0x362719(0x1c8)]?_0x48ef78[_0x362719(0x1c8)][_0x362719(0x1bd)]()[_0x362719(0x1c0)]():'';if(_0x209e61)_0x11b863=_0x209e61;else{if(_0x4cb6c4)_0x11b863=_0x4cb6c4;}}return{'ok':![],'status':_0x37afcc??null,'error':_0x11b863};}export function runNpxSkillsAddGlobal(_0x24b2ba,_0x1fad75,_0x2598ec){const _0x24876c=a212_0x2fa29e;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x143091=_0x2598ec?.[_0x24876c(0x1c4)]??'inherit',_0x8a5c95=resolveNpmBin(_0x24876c(0x1c5)),_0x12d5d6=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x1fad75,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES],_0x2f8ba3=[_0x24876c(0x1c5),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x1fad75,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][_0x24876c(0x1d0)]('\x20');console['log']('*\x20'+_0x2f8ba3);const _0x1384de=spawnSync(_0x8a5c95,_0x12d5d6,{'cwd':_0x24b2ba,'stdio':_0x143091,'env':process.env,'shell':![]}),_0x40b8ff=_0x1384de[_0x24876c(0x1ba)];if(_0x40b8ff===0x0)return{'ok':!![],'status':0x0};let _0x42d636=_0x24876c(0x1bc)+(_0x40b8ff??_0x24876c(0x1b7));if(_0x143091==='pipe'){const _0x573b3e=_0x1384de['stderr']?_0x1384de[_0x24876c(0x1c9)][_0x24876c(0x1bd)]()['trim']():'',_0x15871c=_0x1384de['stdout']?_0x1384de[_0x24876c(0x1c8)][_0x24876c(0x1bd)]()['trim']():'';if(_0x573b3e)_0x42d636=_0x573b3e;else{if(_0x15871c)_0x42d636=_0x15871c;}}return{'ok':![],'status':_0x40b8ff??null,'error':_0x42d636};}
@@ -1 +1 @@
1
- function a213_0x2a27(){const _0x10048b=['243657CjrQkD','766087FJloNG','error','6qmPzqm','stringify','1416786tDNyhb','1096860ncRkgv','12WSqOvH','136QdFWyj','11957Olxwfc','flags','message','test','[REDACTED]','514205aMevDe','service','2259732ALmwOs','durationMs','156yzajkn','1EZsEEr','command','80xXkovX'];a213_0x2a27=function(){return _0x10048b;};return a213_0x2a27();}(function(_0x202cab,_0x238d95){const _0x43ddf4=a213_0x2f8f,_0x11d1d2=_0x202cab();while(!![]){try{const _0x2d3ec7=-parseInt(_0x43ddf4(0x18b))/0x1*(parseInt(_0x43ddf4(0x17e))/0x2)+-parseInt(_0x43ddf4(0x17d))/0x3+-parseInt(_0x43ddf4(0x17f))/0x4*(parseInt(_0x43ddf4(0x186))/0x5)+parseInt(_0x43ddf4(0x17b))/0x6*(-parseInt(_0x43ddf4(0x179))/0x7)+parseInt(_0x43ddf4(0x180))/0x8*(-parseInt(_0x43ddf4(0x178))/0x9)+parseInt(_0x43ddf4(0x18d))/0xa*(parseInt(_0x43ddf4(0x181))/0xb)+parseInt(_0x43ddf4(0x188))/0xc*(parseInt(_0x43ddf4(0x18a))/0xd);if(_0x2d3ec7===_0x238d95)break;else _0x11d1d2['push'](_0x11d1d2['shift']());}catch(_0x193d23){_0x11d1d2['push'](_0x11d1d2['shift']());}}}(a213_0x2a27,0x5a37b));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';import{getCliVersion}from'../utils/version.js';const SENSITIVE_PATTERNS=[/cookie/i,/token/i,/password/i,/passwd/i,/secret/i,/auth/i,/session/i,/credential/i,/^value$/i];function isSensitiveKey(_0x40706d){const _0x176609=a213_0x2f8f;return SENSITIVE_PATTERNS['some'](_0x64686a=>_0x64686a[_0x176609(0x184)](_0x40706d));}function a213_0x2f8f(_0x5cf748,_0x505aca){_0x5cf748=_0x5cf748-0x178;const _0x2a27bf=a213_0x2a27();let _0x2f8f31=_0x2a27bf[_0x5cf748];return _0x2f8f31;}function sanitizeFlags(_0x5b2d48){const _0x240e94=a213_0x2f8f,_0x45ed65={};for(const [_0x88c62e,_0x329d0a]of Object['entries'](_0x5b2d48)){isSensitiveKey(_0x88c62e)?_0x45ed65[_0x88c62e]=_0x329d0a!=null&&_0x329d0a!==''?_0x240e94(0x185):_0x329d0a:_0x45ed65[_0x88c62e]=_0x329d0a;}return _0x45ed65;}export async function reportCommandTrace(_0x468730){const _0x347a70=a213_0x2f8f;try{const _0x714334=sanitizeFlags(_0x468730[_0x347a70(0x182)]);await sendCliTraceLog({'spanName':'rabetbase.command','logData':{'command.cli_version':getCliVersion(),'command.service':_0x468730[_0x347a70(0x187)],'command.name':_0x468730[_0x347a70(0x18c)],'command.flags':JSON[_0x347a70(0x17c)](_0x714334),..._0x468730[_0x347a70(0x189)]!=null?{'command.duration_ms':_0x468730[_0x347a70(0x189)]}:{},..._0x468730[_0x347a70(0x17a)]?{'command.error':_0x468730[_0x347a70(0x17a)]instanceof Error?_0x468730[_0x347a70(0x17a)][_0x347a70(0x183)]:String(_0x468730[_0x347a70(0x17a)])}:{}}});}catch{}}
1
+ (function(_0x19b4f7,_0x45e220){const _0x4c6082=a213_0x47e4,_0x1af145=_0x19b4f7();while(!![]){try{const _0x2e23f8=parseInt(_0x4c6082(0xea))/0x1*(parseInt(_0x4c6082(0xe8))/0x2)+parseInt(_0x4c6082(0xf0))/0x3+parseInt(_0x4c6082(0xed))/0x4+-parseInt(_0x4c6082(0xee))/0x5+parseInt(_0x4c6082(0xe2))/0x6+-parseInt(_0x4c6082(0xec))/0x7+-parseInt(_0x4c6082(0xe9))/0x8;if(_0x2e23f8===_0x45e220)break;else _0x1af145['push'](_0x1af145['shift']());}catch(_0x549ea1){_0x1af145['push'](_0x1af145['shift']());}}}(a213_0x11d6,0x8f3ba));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';import{getCliVersion}from'../utils/version.js';function a213_0x47e4(_0x19d425,_0x396472){_0x19d425=_0x19d425-0xe0;const _0x11d6e6=a213_0x11d6();let _0x47e4a7=_0x11d6e6[_0x19d425];return _0x47e4a7;}const SENSITIVE_PATTERNS=[/cookie/i,/token/i,/password/i,/passwd/i,/secret/i,/auth/i,/session/i,/credential/i,/^value$/i];function a213_0x11d6(){const _0x39bd04=['10VsgREa','8461200xWjHHO','185815Krplwu','error','5670441CWPaNj','2370836dICzZH','2912685NqJhbE','durationMs','1401483PaZPjG','command','test','[REDACTED]','6287922nIaLHR','service','some','message','flags','entries'];a213_0x11d6=function(){return _0x39bd04;};return a213_0x11d6();}function isSensitiveKey(_0x34f536){const _0x46edc1=a213_0x47e4;return SENSITIVE_PATTERNS[_0x46edc1(0xe4)](_0x2b9c18=>_0x2b9c18[_0x46edc1(0xe0)](_0x34f536));}function sanitizeFlags(_0x259e0b){const _0x5a5c6c=a213_0x47e4,_0xfce9a5={};for(const [_0x15d5fc,_0x50311c]of Object[_0x5a5c6c(0xe7)](_0x259e0b)){isSensitiveKey(_0x15d5fc)?_0xfce9a5[_0x15d5fc]=_0x50311c!=null&&_0x50311c!==''?_0x5a5c6c(0xe1):_0x50311c:_0xfce9a5[_0x15d5fc]=_0x50311c;}return _0xfce9a5;}export async function reportCommandTrace(_0x45e123){const _0x55018b=a213_0x47e4;try{const _0x10d8fd=sanitizeFlags(_0x45e123[_0x55018b(0xe6)]);await sendCliTraceLog({'spanName':'rabetbase.command','logData':{'command.cli_version':getCliVersion(),'command.service':_0x45e123[_0x55018b(0xe3)],'command.name':_0x45e123[_0x55018b(0xf1)],'command.flags':JSON['stringify'](_0x10d8fd),..._0x45e123[_0x55018b(0xef)]!=null?{'command.duration_ms':_0x45e123['durationMs']}:{},..._0x45e123[_0x55018b(0xeb)]?{'command.error':_0x45e123[_0x55018b(0xeb)]instanceof Error?_0x45e123[_0x55018b(0xeb)][_0x55018b(0xe5)]:String(_0x45e123['error'])}:{}}});}catch{}}
@@ -1 +1 @@
1
- function a214_0x5d6f(){var _0xc2eb91=['2676812JVeRUg','cli.help','327DXnAaO','7924378mOdIhp','7CICaJq','service','5CSqnRl','8KzMrcT','5298vwTEsn','244972dCdJPi','1535406TqpuHu','Failed\x20to\x20report\x20CLI\x20help\x20trace:','3893180WRSGIF','5399991lonXef'];a214_0x5d6f=function(){return _0xc2eb91;};return a214_0x5d6f();}function a214_0x2e19(_0x4e84ca,_0xab7e6b){_0x4e84ca=_0x4e84ca-0xaa;var _0x5d6f90=a214_0x5d6f();var _0x2e19c2=_0x5d6f90[_0x4e84ca];return _0x2e19c2;}(function(_0xf3bfa1,_0x20e9c8){var _0x54f0c3=a214_0x2e19,_0x1d2b73=_0xf3bfa1();while(!![]){try{var _0x3c6036=-parseInt(_0x54f0c3(0xaf))/0x1+parseInt(_0x54f0c3(0xae))/0x2*(-parseInt(_0x54f0c3(0xb6))/0x3)+-parseInt(_0x54f0c3(0xb4))/0x4*(-parseInt(_0x54f0c3(0xac))/0x5)+-parseInt(_0x54f0c3(0xb0))/0x6*(parseInt(_0x54f0c3(0xaa))/0x7)+-parseInt(_0x54f0c3(0xad))/0x8*(parseInt(_0x54f0c3(0xb3))/0x9)+parseInt(_0x54f0c3(0xb2))/0xa+parseInt(_0x54f0c3(0xb7))/0xb;if(_0x3c6036===_0x20e9c8)break;else _0x1d2b73['push'](_0x1d2b73['shift']());}catch(_0x49dd48){_0x1d2b73['push'](_0x1d2b73['shift']());}}}(a214_0x5d6f,0x5f0ba));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export async function reportCliHelpTrace(_0x5b6ca0,_0x515341){var _0x647c0b=a214_0x2e19;try{await sendCliTraceLog({'spanName':_0x647c0b(0xb5),'logData':{'rabetbase.help.kind':_0x5b6ca0,..._0x515341?.[_0x647c0b(0xab)]&&{'rabetbase.help.service':_0x515341['service']}}});}catch(_0x4e8d60){console['error'](_0x647c0b(0xb1),_0x4e8d60);}}
1
+ function a214_0x46aa(_0x2af650,_0x31376c){_0x2af650=_0x2af650-0x197;var _0x1fb09e=a214_0x1fb0();var _0x46aa32=_0x1fb09e[_0x2af650];return _0x46aa32;}(function(_0x58a859,_0x4330f6){var _0xed4fc7=a214_0x46aa,_0x1a74e4=_0x58a859();while(!![]){try{var _0x3dac1e=-parseInt(_0xed4fc7(0x199))/0x1*(parseInt(_0xed4fc7(0x197))/0x2)+parseInt(_0xed4fc7(0x1a5))/0x3*(-parseInt(_0xed4fc7(0x198))/0x4)+-parseInt(_0xed4fc7(0x19d))/0x5*(parseInt(_0xed4fc7(0x1a0))/0x6)+-parseInt(_0xed4fc7(0x19c))/0x7*(parseInt(_0xed4fc7(0x19b))/0x8)+-parseInt(_0xed4fc7(0x19f))/0x9*(parseInt(_0xed4fc7(0x1a4))/0xa)+-parseInt(_0xed4fc7(0x19a))/0xb+parseInt(_0xed4fc7(0x1a3))/0xc;if(_0x3dac1e===_0x4330f6)break;else _0x1a74e4['push'](_0x1a74e4['shift']());}catch(_0x1c18c4){_0x1a74e4['push'](_0x1a74e4['shift']());}}}(a214_0x1fb0,0x3fc5b));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export async function reportCliHelpTrace(_0x27d0db,_0x1e96e0){var _0x3f2da1=a214_0x46aa;try{await sendCliTraceLog({'spanName':_0x3f2da1(0x1a2),'logData':{'rabetbase.help.kind':_0x27d0db,..._0x1e96e0?.[_0x3f2da1(0x19e)]&&{'rabetbase.help.service':_0x1e96e0['service']}}});}catch(_0x3b74ce){console[_0x3f2da1(0x1a1)]('Failed\x20to\x20report\x20CLI\x20help\x20trace:',_0x3b74ce);}}function a214_0x1fb0(){var _0x4c28f8=['cli.help','19349508XQCXor','204770GEccpO','534PSZYEn','2386GmDZBs','7960vnoJFl','53fFDlkV','356147psjDFx','1362504WjjfSv','7ZLaWYz','11405CTQnIe','service','189JkeUNk','792qGiNSt','error'];a214_0x1fb0=function(){return _0x4c28f8;};return a214_0x1fb0();}
@@ -1 +1 @@
1
- function a215_0x49a3(_0x510689,_0xce26b0){_0x510689=_0x510689-0x1df;const _0x229750=a215_0x2297();let _0x49a37f=_0x229750[_0x510689];return _0x49a37f;}(function(_0x372602,_0x41d234){const _0x34f0a2=a215_0x49a3,_0x1224ad=_0x372602();while(!![]){try{const _0x3dad44=parseInt(_0x34f0a2(0x1e5))/0x1+parseInt(_0x34f0a2(0x1ea))/0x2+-parseInt(_0x34f0a2(0x1ec))/0x3+parseInt(_0x34f0a2(0x1ee))/0x4*(parseInt(_0x34f0a2(0x1e6))/0x5)+parseInt(_0x34f0a2(0x1e2))/0x6*(parseInt(_0x34f0a2(0x1eb))/0x7)+-parseInt(_0x34f0a2(0x1e1))/0x8+-parseInt(_0x34f0a2(0x1e0))/0x9;if(_0x3dad44===_0x41d234)break;else _0x1224ad['push'](_0x1224ad['shift']());}catch(_0x3af8a8){_0x1224ad['push'](_0x1224ad['shift']());}}}(a215_0x2297,0x8b163));import{VERSION,GIT_COMMIT}from'../generated/build-info.js';import{getSessionUserInfo}from'../auth/get-session-user.js';function a215_0x2297(){const _0x5137a9=['username','634626JOMOlV','2554640qihkqF','54TvAnIg','tenant_code','unknown','178743tnyHSl','89035SkPsJj','email','daily','tenant','1500024mhNDlh','164199FRNmrL','3051762aVSzYy','production','188FLtLZM'];a215_0x2297=function(){return _0x5137a9;};return a215_0x2297();}import{setServiceConfig,setUserContext}from'@lovrabet/otel-logger';import{NPM_PACKAGE_NAME}from'../constant/cli.js';import{getConfigAppCode}from'../utils/config.js';let cliOtelTraceInitialized=![];export async function ensureCliOtelTraceConfig(){const _0x113e3c=a215_0x49a3,_0x4c8b9d=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0xc15cae=_0x4c8b9d?.['user'];setServiceConfig({'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!==_0x113e3c(0x1e4)?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?_0x113e3c(0x1e8):_0x113e3c(0x1ed))}),setUserContext({'id':_0xc15cae?.['id'],'username':_0xc15cae?.[_0x113e3c(0x1df)],'nickname':_0xc15cae?.['nickname'],'email':_0xc15cae?.[_0x113e3c(0x1e7)],'tenantCode':_0xc15cae?.[_0x113e3c(0x1e9)][_0x113e3c(0x1e3)],'appCode':getConfigAppCode()}),cliOtelTraceInitialized=!![];}return _0x4c8b9d;}
1
+ function a215_0x4365(){const _0x4bddf9=['722290GXjQsr','production','user','14mIcqpa','2SKzxRd','daily','557844kFZKIL','308368QxHLbk','unknown','username','1593009zfGzbc','tenant_code','1010AuwfNE','176901EubvEJ','4228nsTLHn','201241dCGfWU','nickname','27PXUSDS','tenant'];a215_0x4365=function(){return _0x4bddf9;};return a215_0x4365();}(function(_0x47e042,_0x478bf0){const _0xe42e5c=a215_0x2a19,_0xfc09f1=_0x47e042();while(!![]){try{const _0x26b7a2=parseInt(_0xe42e5c(0x1c5))/0x1+parseInt(_0xe42e5c(0x1cd))/0x2*(parseInt(_0xe42e5c(0x1c3))/0x3)+-parseInt(_0xe42e5c(0x1c4))/0x4*(-parseInt(_0xe42e5c(0x1c2))/0x5)+parseInt(_0xe42e5c(0x1cf))/0x6+-parseInt(_0xe42e5c(0x1cc))/0x7*(parseInt(_0xe42e5c(0x1bd))/0x8)+parseInt(_0xe42e5c(0x1c7))/0x9*(-parseInt(_0xe42e5c(0x1c9))/0xa)+-parseInt(_0xe42e5c(0x1c0))/0xb;if(_0x26b7a2===_0x478bf0)break;else _0xfc09f1['push'](_0xfc09f1['shift']());}catch(_0xf58dde){_0xfc09f1['push'](_0xfc09f1['shift']());}}}(a215_0x4365,0x1f462));import{VERSION,GIT_COMMIT}from'../generated/build-info.js';import{getSessionUserInfo}from'../auth/get-session-user.js';import{setServiceConfig,setUserContext}from'@lovrabet/otel-logger';function a215_0x2a19(_0x1a3248,_0xa6898b){_0x1a3248=_0x1a3248-0x1bd;const _0x436505=a215_0x4365();let _0x2a191f=_0x436505[_0x1a3248];return _0x2a191f;}import{NPM_PACKAGE_NAME}from'../constant/cli.js';import{getConfigAppCode}from'../utils/config.js';let cliOtelTraceInitialized=![];export async function ensureCliOtelTraceConfig(){const _0x2076a0=a215_0x2a19,_0x1dd4e9=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x39a3d9=_0x1dd4e9?.[_0x2076a0(0x1cb)];setServiceConfig({'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!==_0x2076a0(0x1be)?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?_0x2076a0(0x1ce):_0x2076a0(0x1ca))}),setUserContext({'id':_0x39a3d9?.['id'],'username':_0x39a3d9?.[_0x2076a0(0x1bf)],'nickname':_0x39a3d9?.[_0x2076a0(0x1c6)],'email':_0x39a3d9?.['email'],'tenantCode':_0x39a3d9?.[_0x2076a0(0x1c8)][_0x2076a0(0x1c1)],'appCode':getConfigAppCode()}),cliOtelTraceInitialized=!![];}return _0x1dd4e9;}
@@ -1 +1 @@
1
- (function(_0x484ee5,_0x263c4f){const _0x48da28=a216_0x1be2,_0x557483=_0x484ee5();while(!![]){try{const _0x5e35cf=parseInt(_0x48da28(0x10b))/0x1+parseInt(_0x48da28(0x103))/0x2*(-parseInt(_0x48da28(0x10f))/0x3)+-parseInt(_0x48da28(0x101))/0x4*(-parseInt(_0x48da28(0x10d))/0x5)+-parseInt(_0x48da28(0x106))/0x6*(parseInt(_0x48da28(0x104))/0x7)+-parseInt(_0x48da28(0x10c))/0x8+parseInt(_0x48da28(0x105))/0x9+-parseInt(_0x48da28(0x107))/0xa*(-parseInt(_0x48da28(0x10e))/0xb);if(_0x5e35cf===_0x263c4f)break;else _0x557483['push'](_0x557483['shift']());}catch(_0x3e695d){_0x557483['push'](_0x557483['shift']());}}}(a216_0x3c1b,0x5307e));import{shutdownTraces}from'@lovrabet/otel-logger';function a216_0x3c1b(){const _0x2d585c=['SIGTERM','2YXPQLO','1485057pPvtxN','1283346vuijTz','18FgKmSh','10RzzjOO','once','beforeExit','exit','662320XyvfEe','1766088vqzqQd','49420pNaidV','3797651bXvTTp','540537MptSoJ','SIGINT','92ZcBkgd'];a216_0x3c1b=function(){return _0x2d585c;};return a216_0x3c1b();}let shutdownPromise=null;export async function flushOtelNodeIfUsed(){if(shutdownPromise)return shutdownPromise;return shutdownPromise=((async()=>{try{await shutdownTraces();}catch{}})()),shutdownPromise;}export function registerOtelShutdownOnExit(){const _0x1c9399=a216_0x1be2;process[_0x1c9399(0x108)](_0x1c9399(0x109),()=>{void flushOtelNodeIfUsed();});const _0x1f3676=()=>{const _0x117048=_0x1c9399;void flushOtelNodeIfUsed()['then'](()=>process[_0x117048(0x10a)](0x0));};process[_0x1c9399(0x108)](_0x1c9399(0x110),_0x1f3676),process['once'](_0x1c9399(0x102),_0x1f3676);}function a216_0x1be2(_0x287393,_0x3c2717){_0x287393=_0x287393-0x101;const _0x3c1b9d=a216_0x3c1b();let _0x1be2c7=_0x3c1b9d[_0x287393];return _0x1be2c7;}export async function exitWithOtelShutdown(_0xfb4c11){const _0x1e9eb5=a216_0x1be2;await flushOtelNodeIfUsed(),process[_0x1e9eb5(0x10a)](_0xfb4c11);}
1
+ (function(_0x1629d3,_0x523b05){const _0x41c589=a216_0x529a,_0x2274bb=_0x1629d3();while(!![]){try{const _0x2d4ba0=-parseInt(_0x41c589(0x1f0))/0x1*(parseInt(_0x41c589(0x1eb))/0x2)+-parseInt(_0x41c589(0x1f2))/0x3*(parseInt(_0x41c589(0x1fa))/0x4)+-parseInt(_0x41c589(0x1ee))/0x5+-parseInt(_0x41c589(0x1f6))/0x6*(parseInt(_0x41c589(0x1f5))/0x7)+parseInt(_0x41c589(0x1f4))/0x8+parseInt(_0x41c589(0x1ef))/0x9+parseInt(_0x41c589(0x1f1))/0xa;if(_0x2d4ba0===_0x523b05)break;else _0x2274bb['push'](_0x2274bb['shift']());}catch(_0x274656){_0x2274bb['push'](_0x2274bb['shift']());}}}(a216_0x4b94,0xd9217));function a216_0x4b94(){const _0x32b02d=['beforeExit','exit','SIGINT','17672ZGucSO','2LTORzp','once','SIGTERM','1266545yCDSBc','5875011BkqaWc','975377QpmFul','5092500yDttZK','303AzgPpF','then','13165224pzGUED','567959NBrsaw','18iZwVOL'];a216_0x4b94=function(){return _0x32b02d;};return a216_0x4b94();}import{shutdownTraces}from'@lovrabet/otel-logger';let shutdownPromise=null;function a216_0x529a(_0x33416f,_0x50c11b){_0x33416f=_0x33416f-0x1eb;const _0x4b9450=a216_0x4b94();let _0x529ab5=_0x4b9450[_0x33416f];return _0x529ab5;}export async function flushOtelNodeIfUsed(){if(shutdownPromise)return shutdownPromise;return shutdownPromise=((async()=>{try{await shutdownTraces();}catch{}})()),shutdownPromise;}export function registerOtelShutdownOnExit(){const _0x180411=a216_0x529a;process[_0x180411(0x1ec)](_0x180411(0x1f7),()=>{void flushOtelNodeIfUsed();});const _0x22f0a9=()=>{const _0x32b56c=_0x180411;void flushOtelNodeIfUsed()[_0x32b56c(0x1f3)](()=>process[_0x32b56c(0x1f8)](0x0));};process[_0x180411(0x1ec)](_0x180411(0x1f9),_0x22f0a9),process[_0x180411(0x1ec)](_0x180411(0x1ed),_0x22f0a9);}export async function exitWithOtelShutdown(_0x41fdce){const _0x28f004=a216_0x529a;await flushOtelNodeIfUsed(),process[_0x28f004(0x1f8)](_0x41fdce);}
@@ -1 +1 @@
1
- const a217_0x34ccdd=a217_0x43e6;(function(_0x4be0b6,_0x582105){const _0x93796b=a217_0x43e6,_0x3c80b0=_0x4be0b6();while(!![]){try{const _0xa30e2c=-parseInt(_0x93796b(0x13c))/0x1*(-parseInt(_0x93796b(0x140))/0x2)+parseInt(_0x93796b(0x13e))/0x3*(-parseInt(_0x93796b(0x138))/0x4)+parseInt(_0x93796b(0x135))/0x5+parseInt(_0x93796b(0x134))/0x6+parseInt(_0x93796b(0x137))/0x7+parseInt(_0x93796b(0x13f))/0x8*(parseInt(_0x93796b(0x139))/0x9)+-parseInt(_0x93796b(0x13b))/0xa;if(_0xa30e2c===_0x582105)break;else _0x3c80b0['push'](_0x3c80b0['shift']());}catch(_0x4c40f7){_0x3c80b0['push'](_0x3c80b0['shift']());}}}(a217_0x2dec,0xabc89));function a217_0x2dec(){const _0x23957c=['12dCioAL','manual','spanName','6728874JXFGlS','5762160Pwgehh','logData','8658587kWUnRS','88CqfSUt','12237273bxOQQg','traceparent','40488000oIvHHK','129711wqCDav','rabetbase-cli','122235suQDuV','8JoVpCg'];a217_0x2dec=function(){return _0x23957c;};return a217_0x2dec();}import{sendTraceLog}from'@lovrabet/otel-logger';import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';import{getCliVersion}from'../utils/version.js';function a217_0x43e6(_0x8a0588,_0x587eaa){_0x8a0588=_0x8a0588-0x132;const _0x2dec55=a217_0x2dec();let _0x43e659=_0x2dec55[_0x8a0588];return _0x43e659;}const DEFAULT_TRACE_NAME=a217_0x34ccdd(0x13d);export async function sendCliTraceLog(_0x5b80ac){const _0x4f7802=a217_0x34ccdd;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x5b80ac['traceName']??DEFAULT_TRACE_NAME,'version':_0x5b80ac['version']??getCliVersion(),'spanName':_0x5b80ac[_0x4f7802(0x133)],'eventType':_0x4f7802(0x132),'logData':_0x5b80ac[_0x4f7802(0x136)],..._0x5b80ac[_0x4f7802(0x13a)]&&{'traceparent':_0x5b80ac[_0x4f7802(0x13a)]}});}
1
+ (function(_0x329517,_0x31822e){const _0x21a7d2=a217_0x2004,_0x1d20ba=_0x329517();while(!![]){try{const _0x3445a3=parseInt(_0x21a7d2(0x78))/0x1+-parseInt(_0x21a7d2(0x6a))/0x2+-parseInt(_0x21a7d2(0x71))/0x3+parseInt(_0x21a7d2(0x6f))/0x4*(parseInt(_0x21a7d2(0x6e))/0x5)+-parseInt(_0x21a7d2(0x70))/0x6*(-parseInt(_0x21a7d2(0x75))/0x7)+parseInt(_0x21a7d2(0x73))/0x8+-parseInt(_0x21a7d2(0x72))/0x9*(parseInt(_0x21a7d2(0x6b))/0xa);if(_0x3445a3===_0x31822e)break;else _0x1d20ba['push'](_0x1d20ba['shift']());}catch(_0x83c6fd){_0x1d20ba['push'](_0x1d20ba['shift']());}}}(a217_0x882f,0x25de9));import{sendTraceLog}from'@lovrabet/otel-logger';function a217_0x882f(){const _0x3079b1=['logData','10HyHmaG','292856dtlJMU','512010ZwUNxa','561993AyAijb','707193MkUmwz','1472440BOlEcf','version','7kzNXiN','spanName','manual','123441kxGVnr','236476OeaNLU','10lggRwl','traceparent'];a217_0x882f=function(){return _0x3079b1;};return a217_0x882f();}function a217_0x2004(_0x1c34d7,_0x3e3a2f){_0x1c34d7=_0x1c34d7-0x6a;const _0x882f74=a217_0x882f();let _0x2004b9=_0x882f74[_0x1c34d7];return _0x2004b9;}import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';import{getCliVersion}from'../utils/version.js';const DEFAULT_TRACE_NAME='rabetbase-cli';export async function sendCliTraceLog(_0x2b0fa9){const _0x57622b=a217_0x2004;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x2b0fa9['traceName']??DEFAULT_TRACE_NAME,'version':_0x2b0fa9[_0x57622b(0x74)]??getCliVersion(),'spanName':_0x2b0fa9[_0x57622b(0x76)],'eventType':_0x57622b(0x77),'logData':_0x2b0fa9[_0x57622b(0x6d)],..._0x2b0fa9['traceparent']&&{'traceparent':_0x2b0fa9[_0x57622b(0x6c)]}});}
@@ -1 +1 @@
1
- const a218_0x5d17db=a218_0x406c;(function(_0x536aa7,_0x1ca7af){const _0x3f9569=a218_0x406c,_0x130699=_0x536aa7();while(!![]){try{const _0x2c7aaa=-parseInt(_0x3f9569(0x1af))/0x1*(parseInt(_0x3f9569(0x1b9))/0x2)+parseInt(_0x3f9569(0x1bb))/0x3+parseInt(_0x3f9569(0x1c1))/0x4+-parseInt(_0x3f9569(0x1b3))/0x5*(-parseInt(_0x3f9569(0x1b6))/0x6)+parseInt(_0x3f9569(0x1b2))/0x7*(-parseInt(_0x3f9569(0x1b1))/0x8)+parseInt(_0x3f9569(0x1c0))/0x9+parseInt(_0x3f9569(0x1be))/0xa*(-parseInt(_0x3f9569(0x1b5))/0xb);if(_0x2c7aaa===_0x1ca7af)break;else _0x130699['push'](_0x130699['shift']());}catch(_0x4bbee3){_0x130699['push'](_0x130699['shift']());}}}(a218_0x8813,0x3cda3));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';function a218_0x406c(_0x34dcd6,_0x4a4e24){_0x34dcd6=_0x34dcd6-0x1af;const _0x8813f6=a218_0x8813();let _0x406c72=_0x8813f6[_0x34dcd6];return _0x406c72;}function a218_0x8813(){const _0x365902=['408543DSgkuB','issue.log.collect','redactionCount','2273470MujUFw','originalBytes','3334365SjspZD','1805908KjmFeP','truncated','1wByKFy','sanitize','160504neRFCN','140ZWARSZ','5RfrRnx','join','22muDNqI','1946382zARmno','platform-issue-log-collect','description','354670QMIDRs','title'];a218_0x8813=function(){return _0x365902;};return a218_0x8813();}export const PLATFORM_ISSUE_TRACE_NAME=a218_0x5d17db(0x1b7);export const PLATFORM_ISSUE_SPAN_NAME=a218_0x5d17db(0x1bc);export async function sendPlatformIssueCollectLog(_0x24fb59){const _0x49cff5=a218_0x5d17db;await sendCliTraceLog({'traceName':PLATFORM_ISSUE_TRACE_NAME,'spanName':PLATFORM_ISSUE_SPAN_NAME,'logData':{'issue.title':_0x24fb59[_0x49cff5(0x1ba)],'issue.description':_0x24fb59[_0x49cff5(0x1b8)],..._0x24fb59[_0x49cff5(0x1b0)]?{'issue.description_original_bytes':_0x24fb59[_0x49cff5(0x1b0)][_0x49cff5(0x1bf)],'issue.description_truncated':_0x24fb59[_0x49cff5(0x1b0)][_0x49cff5(0x1c2)],'issue.description_redactions':_0x24fb59[_0x49cff5(0x1b0)][_0x49cff5(0x1bd)],'issue.description_redaction_kinds':_0x24fb59[_0x49cff5(0x1b0)]['redactionKinds'][_0x49cff5(0x1b4)](',')}:{}}});}
1
+ const a218_0x1d1e82=a218_0x1f55;(function(_0x155bf6,_0xb4d044){const _0xab39e1=a218_0x1f55,_0x54457e=_0x155bf6();while(!![]){try{const _0x11899a=parseInt(_0xab39e1(0xbe))/0x1+parseInt(_0xab39e1(0xb9))/0x2*(-parseInt(_0xab39e1(0xbd))/0x3)+parseInt(_0xab39e1(0xb3))/0x4*(-parseInt(_0xab39e1(0xb1))/0x5)+-parseInt(_0xab39e1(0xae))/0x6+parseInt(_0xab39e1(0xb5))/0x7*(-parseInt(_0xab39e1(0xb7))/0x8)+-parseInt(_0xab39e1(0xb6))/0x9+parseInt(_0xab39e1(0xb8))/0xa;if(_0x11899a===_0xb4d044)break;else _0x54457e['push'](_0x54457e['shift']());}catch(_0x330337){_0x54457e['push'](_0x54457e['shift']());}}}(a218_0x3c14,0xb4531));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export const PLATFORM_ISSUE_TRACE_NAME=a218_0x1d1e82(0xbb);function a218_0x3c14(){const _0x3a29d2=['12ltXsVn','redactionCount','14ecrnam','728028ToqXiw','2391112mtZUtz','16831080qXEkkl','3112eunLNT','description','platform-issue-log-collect','originalBytes','627hYRwtO','1271505DZmdcm','redactionKinds','title','2604948DMWnsA','sanitize','truncated','1296620LBRcFh','issue.log.collect'];a218_0x3c14=function(){return _0x3a29d2;};return a218_0x3c14();}function a218_0x1f55(_0x1cd9d7,_0x594f42){_0x1cd9d7=_0x1cd9d7-0xae;const _0x3c14ac=a218_0x3c14();let _0x1f55a6=_0x3c14ac[_0x1cd9d7];return _0x1f55a6;}export const PLATFORM_ISSUE_SPAN_NAME=a218_0x1d1e82(0xb2);export async function sendPlatformIssueCollectLog(_0x46fbbb){const _0x24427c=a218_0x1d1e82;await sendCliTraceLog({'traceName':PLATFORM_ISSUE_TRACE_NAME,'spanName':PLATFORM_ISSUE_SPAN_NAME,'logData':{'issue.title':_0x46fbbb[_0x24427c(0xc0)],'issue.description':_0x46fbbb[_0x24427c(0xba)],..._0x46fbbb[_0x24427c(0xaf)]?{'issue.description_original_bytes':_0x46fbbb[_0x24427c(0xaf)][_0x24427c(0xbc)],'issue.description_truncated':_0x46fbbb[_0x24427c(0xaf)][_0x24427c(0xb0)],'issue.description_redactions':_0x46fbbb[_0x24427c(0xaf)][_0x24427c(0xb4)],'issue.description_redaction_kinds':_0x46fbbb['sanitize'][_0x24427c(0xbf)]['join'](',')}:{}}});}
@@ -1 +1 @@
1
- function a220_0x5a27(){const _0x578d04=['SKILL.md.tpl','Windsurf','trae','codebuddy','.claude/skills/lovrabet/SKILL.md','1741302klFzMY','.cursor','Antigravity','.opencode/skills/lovrabet/SKILL.md','Windsurf\x20IDE','Cline','file','619940YrIeNf','Qoder\x20IDE','.cline/skills/lovrabet/SKILL.md','1518408AqCcZl','qoder','5201vsekQl','.codebuddy','.windsurf/workflows/rabetbase.md','opencode','5684049WspLbJ','Trae\x20IDE','.agent/skills/lovrabet/SKILL.md','Codex\x20IDE','.cursor/skills/rabetbase.md','Qoder','5orLLvp','Trae','windsurf','.codex','.agent','.cursorrules','codex','CodeBuddy\x20IDE','Antigravity\x20IDE','.codex/skills/lovrabet/SKILL.md','Claude\x20Code','Cursor','cline','Cursor\x20IDE','1768277rpyDVl','cursor','Cline\x20IDE','50616tWgcJE','claude','.opencode','4DFReDA','.windsurf','.qoder','通用模板\x20-\x20兜底方案','CodeBuddy'];a220_0x5a27=function(){return _0x578d04;};return a220_0x5a27();}const a220_0xf3d8d7=a220_0xb690;(function(_0x2bf727,_0x5260f8){const _0x27eeb0=a220_0xb690,_0x2e8ab1=_0x2bf727();while(!![]){try{const _0x223c5f=parseInt(_0x27eeb0(0x15d))/0x1*(-parseInt(_0x27eeb0(0x17b))/0x2)+parseInt(_0x27eeb0(0x15b))/0x3+parseInt(_0x27eeb0(0x18c))/0x4*(-parseInt(_0x27eeb0(0x167))/0x5)+parseInt(_0x27eeb0(0x185))/0x6+parseInt(_0x27eeb0(0x175))/0x7+parseInt(_0x27eeb0(0x178))/0x8+-parseInt(_0x27eeb0(0x161))/0x9;if(_0x223c5f===_0x5260f8)break;else _0x2e8ab1['push'](_0x2e8ab1['shift']());}catch(_0x5d5992){_0x2e8ab1['push'](_0x2e8ab1['shift']());}}}(a220_0x5a27,0x3f127));export const CORE_IDE_CONFIGS={'cursor':{'name':a220_0xf3d8d7(0x172),'description':a220_0xf3d8d7(0x174),'folders':[a220_0xf3d8d7(0x16c),a220_0xf3d8d7(0x186)],'files':[{'type':a220_0xf3d8d7(0x18b),'path':a220_0xf3d8d7(0x165),'template':'SKILL.md.tpl'}]},'windsurf':{'name':a220_0xf3d8d7(0x181),'description':a220_0xf3d8d7(0x189),'folders':[a220_0xf3d8d7(0x17c)],'files':[{'type':a220_0xf3d8d7(0x18b),'path':a220_0xf3d8d7(0x15f),'template':'SKILL.md.tpl'}]},'claude':{'name':a220_0xf3d8d7(0x171),'description':a220_0xf3d8d7(0x171),'folders':['.claude'],'files':[{'type':'file','path':a220_0xf3d8d7(0x184),'template':'SKILL.md.tpl'}]},'cline':{'name':a220_0xf3d8d7(0x18a),'description':a220_0xf3d8d7(0x177),'folders':['.cline'],'files':[{'type':a220_0xf3d8d7(0x18b),'path':a220_0xf3d8d7(0x15a),'template':a220_0xf3d8d7(0x180)}]},'codex':{'name':'Codex','description':a220_0xf3d8d7(0x164),'folders':[a220_0xf3d8d7(0x16a)],'files':[{'type':a220_0xf3d8d7(0x18b),'path':a220_0xf3d8d7(0x170),'template':a220_0xf3d8d7(0x180)}]},'opencode':{'name':'OpenCode','description':'OpenCode\x20IDE','folders':[a220_0xf3d8d7(0x17a)],'files':[{'type':a220_0xf3d8d7(0x18b),'path':a220_0xf3d8d7(0x188),'template':'SKILL.md.tpl'}]},'qoder':{'name':a220_0xf3d8d7(0x166),'description':a220_0xf3d8d7(0x18d),'folders':[a220_0xf3d8d7(0x17d)],'files':[{'type':'file','path':'.qoder/rules/rabetbase.md','template':a220_0xf3d8d7(0x180)},{'type':a220_0xf3d8d7(0x18b),'path':'.qoder/skills/lovrabet/SKILL.md','template':a220_0xf3d8d7(0x180)}]},'codebuddy':{'name':a220_0xf3d8d7(0x17f),'description':a220_0xf3d8d7(0x16e),'folders':[a220_0xf3d8d7(0x15e)],'files':[{'type':a220_0xf3d8d7(0x18b),'path':'.codebuddy/skills/lovrabet/SKILL.md','template':a220_0xf3d8d7(0x180)}]},'trae':{'name':a220_0xf3d8d7(0x168),'description':a220_0xf3d8d7(0x162),'folders':['.trae'],'files':[{'type':a220_0xf3d8d7(0x18b),'path':'.trae/skills/lovrabet/SKILL.md','template':a220_0xf3d8d7(0x180)}]}};function a220_0xb690(_0x134ef6,_0x5f234d){_0x134ef6=_0x134ef6-0x15a;const _0x5a275c=a220_0x5a27();let _0xb690d7=_0x5a275c[_0x134ef6];return _0xb690d7;}export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':'其他\x20(通用模板)','description':a220_0xf3d8d7(0x17e),'folders':['.agent'],'files':[{'type':a220_0xf3d8d7(0x18b),'path':a220_0xf3d8d7(0x163),'template':a220_0xf3d8d7(0x180)}]},'antigravity':{'name':a220_0xf3d8d7(0x187),'description':a220_0xf3d8d7(0x16f),'folders':[a220_0xf3d8d7(0x16b)],'files':[{'type':a220_0xf3d8d7(0x18b),'path':a220_0xf3d8d7(0x163),'template':a220_0xf3d8d7(0x180)}]}};export const CORE_IDE_LIST=['claude','cline','codebuddy',a220_0xf3d8d7(0x16d),'cursor',a220_0xf3d8d7(0x160),'qoder',a220_0xf3d8d7(0x182),a220_0xf3d8d7(0x169)];export const IDE_LIST=['antigravity','claude','cline',a220_0xf3d8d7(0x183),a220_0xf3d8d7(0x16d),a220_0xf3d8d7(0x176),a220_0xf3d8d7(0x160),'qoder',a220_0xf3d8d7(0x182),a220_0xf3d8d7(0x169),'agent'];export const ALL_CORE_IDES=['cursor',a220_0xf3d8d7(0x169),a220_0xf3d8d7(0x179),a220_0xf3d8d7(0x173),a220_0xf3d8d7(0x16d),a220_0xf3d8d7(0x160),a220_0xf3d8d7(0x15c),'codebuddy',a220_0xf3d8d7(0x182)];
1
+ function a220_0x1d06(_0x4f1e60,_0x43506f){_0x4f1e60=_0x4f1e60-0xba;const _0x6da0e=a220_0x6da0();let _0x1d06a1=_0x6da0e[_0x4f1e60];return _0x1d06a1;}const a220_0x1a3a16=a220_0x1d06;(function(_0x2ed055,_0xc0d17c){const _0x530d00=a220_0x1d06,_0x14fad0=_0x2ed055();while(!![]){try{const _0x59fb94=-parseInt(_0x530d00(0xe4))/0x1*(parseInt(_0x530d00(0xe8))/0x2)+parseInt(_0x530d00(0xc3))/0x3+parseInt(_0x530d00(0xc5))/0x4+-parseInt(_0x530d00(0xee))/0x5*(-parseInt(_0x530d00(0xdb))/0x6)+-parseInt(_0x530d00(0xdd))/0x7*(parseInt(_0x530d00(0xde))/0x8)+-parseInt(_0x530d00(0xe6))/0x9*(-parseInt(_0x530d00(0xf5))/0xa)+parseInt(_0x530d00(0xf2))/0xb*(-parseInt(_0x530d00(0xec))/0xc);if(_0x59fb94===_0xc0d17c)break;else _0x14fad0['push'](_0x14fad0['shift']());}catch(_0xc4ee50){_0x14fad0['push'](_0x14fad0['shift']());}}}(a220_0x6da0,0x6fee2));export const CORE_IDE_CONFIGS={'cursor':{'name':a220_0x1a3a16(0xc0),'description':a220_0x1a3a16(0xcc),'folders':[a220_0x1a3a16(0xd6),'.cursor'],'files':[{'type':a220_0x1a3a16(0xc9),'path':a220_0x1a3a16(0xbe),'template':a220_0x1a3a16(0xeb)}]},'windsurf':{'name':a220_0x1a3a16(0xed),'description':a220_0x1a3a16(0xe1),'folders':[a220_0x1a3a16(0xd8)],'files':[{'type':'file','path':a220_0x1a3a16(0xf1),'template':'SKILL.md.tpl'}]},'claude':{'name':a220_0x1a3a16(0xe2),'description':'Claude\x20Code','folders':[a220_0x1a3a16(0xca)],'files':[{'type':'file','path':a220_0x1a3a16(0xcb),'template':a220_0x1a3a16(0xeb)}]},'cline':{'name':'Cline','description':a220_0x1a3a16(0xbc),'folders':[a220_0x1a3a16(0xc2)],'files':[{'type':a220_0x1a3a16(0xc9),'path':a220_0x1a3a16(0xce),'template':a220_0x1a3a16(0xeb)}]},'codex':{'name':a220_0x1a3a16(0xc4),'description':'Codex\x20IDE','folders':[a220_0x1a3a16(0xd4)],'files':[{'type':'file','path':a220_0x1a3a16(0xda),'template':a220_0x1a3a16(0xeb)}]},'opencode':{'name':a220_0x1a3a16(0xcf),'description':a220_0x1a3a16(0xe5),'folders':[a220_0x1a3a16(0xe0)],'files':[{'type':a220_0x1a3a16(0xc9),'path':a220_0x1a3a16(0xef),'template':a220_0x1a3a16(0xeb)}]},'qoder':{'name':a220_0x1a3a16(0xea),'description':a220_0x1a3a16(0xbb),'folders':[a220_0x1a3a16(0xf0)],'files':[{'type':a220_0x1a3a16(0xc9),'path':a220_0x1a3a16(0xd3),'template':'SKILL.md.tpl'},{'type':a220_0x1a3a16(0xc9),'path':'.qoder/skills/lovrabet/SKILL.md','template':'SKILL.md.tpl'}]},'codebuddy':{'name':'CodeBuddy','description':'CodeBuddy\x20IDE','folders':[a220_0x1a3a16(0xbd)],'files':[{'type':a220_0x1a3a16(0xc9),'path':a220_0x1a3a16(0xd9),'template':a220_0x1a3a16(0xeb)}]},'trae':{'name':a220_0x1a3a16(0xd1),'description':a220_0x1a3a16(0xf4),'folders':[a220_0x1a3a16(0xc1)],'files':[{'type':'file','path':'.trae/skills/lovrabet/SKILL.md','template':a220_0x1a3a16(0xeb)}]}};export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':'其他\x20(通用模板)','description':a220_0x1a3a16(0xc7),'folders':[a220_0x1a3a16(0xd0)],'files':[{'type':a220_0x1a3a16(0xc9),'path':'.agent/skills/lovrabet/SKILL.md','template':a220_0x1a3a16(0xeb)}]},'antigravity':{'name':a220_0x1a3a16(0xe7),'description':a220_0x1a3a16(0xcd),'folders':[a220_0x1a3a16(0xd0)],'files':[{'type':a220_0x1a3a16(0xc9),'path':a220_0x1a3a16(0xdc),'template':a220_0x1a3a16(0xeb)}]}};export const CORE_IDE_LIST=[a220_0x1a3a16(0xd7),'cline','codebuddy',a220_0x1a3a16(0xd2),'cursor',a220_0x1a3a16(0xe3),a220_0x1a3a16(0xe9),'trae',a220_0x1a3a16(0xc6)];export const IDE_LIST=[a220_0x1a3a16(0xdf),a220_0x1a3a16(0xd7),a220_0x1a3a16(0xf3),'codebuddy',a220_0x1a3a16(0xd2),'cursor','opencode',a220_0x1a3a16(0xe9),a220_0x1a3a16(0xbf),'windsurf',a220_0x1a3a16(0xba)];export const ALL_CORE_IDES=[a220_0x1a3a16(0xc8),a220_0x1a3a16(0xc6),'claude','cline',a220_0x1a3a16(0xd2),a220_0x1a3a16(0xe3),'qoder',a220_0x1a3a16(0xd5),'trae'];function a220_0x6da0(){const _0x93e00b=['56JBclnr','antigravity','.opencode','Windsurf\x20IDE','Claude\x20Code','opencode','3205PAUzJW','OpenCode\x20IDE','297YTdqKq','Antigravity','2aFPTYz','qoder','Qoder','SKILL.md.tpl','48pVMLqC','Windsurf','707545uVRVIK','.opencode/skills/lovrabet/SKILL.md','.qoder','.windsurf/workflows/rabetbase.md','3036770VPIxwO','cline','Trae\x20IDE','137470XGKgMw','agent','Qoder\x20IDE','Cline\x20IDE','.codebuddy','.cursor/skills/rabetbase.md','trae','Cursor','.trae','.cline','2367234rHyeBa','Codex','665460dAQTgM','windsurf','通用模板\x20-\x20兜底方案','cursor','file','.claude','.claude/skills/lovrabet/SKILL.md','Cursor\x20IDE','Antigravity\x20IDE','.cline/skills/lovrabet/SKILL.md','OpenCode','.agent','Trae','codex','.qoder/rules/rabetbase.md','.codex','codebuddy','.cursorrules','claude','.windsurf','.codebuddy/skills/lovrabet/SKILL.md','.codex/skills/lovrabet/SKILL.md','12MumyaZ','.agent/skills/lovrabet/SKILL.md','126161raflsD'];a220_0x6da0=function(){return _0x93e00b;};return a220_0x6da0();}
@@ -1 +1 @@
1
- (function(_0x4f79e7,_0x988967){const _0x47eab3=a221_0x2442,_0x3cfccd=_0x4f79e7();while(!![]){try{const _0x31fab7=parseInt(_0x47eab3(0x15a))/0x1+-parseInt(_0x47eab3(0x15e))/0x2+parseInt(_0x47eab3(0x161))/0x3*(-parseInt(_0x47eab3(0x15f))/0x4)+parseInt(_0x47eab3(0x162))/0x5*(parseInt(_0x47eab3(0x15d))/0x6)+-parseInt(_0x47eab3(0x15c))/0x7+-parseInt(_0x47eab3(0x160))/0x8+parseInt(_0x47eab3(0x15b))/0x9*(parseInt(_0x47eab3(0x159))/0xa);if(_0x31fab7===_0x988967)break;else _0x3cfccd['push'](_0x3cfccd['shift']());}catch(_0x3b6b23){_0x3cfccd['push'](_0x3cfccd['shift']());}}}(a221_0x5203,0x54f53));import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a221_0x2442(_0xb1406f,_0x535ba3){_0xb1406f=_0xb1406f-0x159;const _0x5203b4=a221_0x5203();let _0x2442b3=_0x5203b4[_0xb1406f];return _0x2442b3;}function a221_0x5203(){const _0x9cc1df=['156290QaWbWP','61480gJKUrQ','201841TeVOea','1089kSuDFL','1448755FThLJM','102rmKRhC','7206rvDGfO','72YwAPTc','4731728WunQAw','54519gKJewi'];a221_0x5203=function(){return _0x9cc1df;};return a221_0x5203();}import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
1
+ (function(_0x3ec3ac,_0x19ff94){const _0x27d519=a221_0xb837,_0xf9f920=_0x3ec3ac();while(!![]){try{const _0x3e9c34=parseInt(_0x27d519(0x11d))/0x1+parseInt(_0x27d519(0x11f))/0x2+parseInt(_0x27d519(0x11b))/0x3*(-parseInt(_0x27d519(0x11e))/0x4)+parseInt(_0x27d519(0x11c))/0x5+parseInt(_0x27d519(0x121))/0x6*(-parseInt(_0x27d519(0x11a))/0x7)+parseInt(_0x27d519(0x120))/0x8+-parseInt(_0x27d519(0x122))/0x9;if(_0x3e9c34===_0x19ff94)break;else _0xf9f920['push'](_0xf9f920['shift']());}catch(_0x1dd90c){_0xf9f920['push'](_0xf9f920['shift']());}}}(a221_0x306b,0xbb7c8));function a221_0x306b(){const _0x30bbd2=['2308fRaKea','1812404pmGdsg','4787032TInErL','654ijJGla','18319536QwKpOL','35763iIXQDL','4323IjExuU','7035370eNGaEt','1280131uDevhM'];a221_0x306b=function(){return _0x30bbd2;};return a221_0x306b();}import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a221_0xb837(_0x5f28d8,_0x2e4907){_0x5f28d8=_0x5f28d8-0x11a;const _0x306b38=a221_0x306b();let _0xb837d=_0x306b38[_0x5f28d8];return _0xb837d;}import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
@@ -1 +1 @@
1
- (function(_0x3b7927,_0x287acb){const _0x55f9d1=a222_0x6896,_0x11546c=_0x3b7927();while(!![]){try{const _0x2d6b77=parseInt(_0x55f9d1(0xe6))/0x1+-parseInt(_0x55f9d1(0xeb))/0x2+-parseInt(_0x55f9d1(0xec))/0x3+parseInt(_0x55f9d1(0xef))/0x4+-parseInt(_0x55f9d1(0xe4))/0x5+-parseInt(_0x55f9d1(0xea))/0x6+parseInt(_0x55f9d1(0xe5))/0x7;if(_0x2d6b77===_0x287acb)break;else _0x11546c['push'](_0x11546c['shift']());}catch(_0x2f3701){_0x11546c['push'](_0x11546c['shift']());}}}(a222_0x303a,0x78109));import{getTemplateBaseUrl}from'../utils/config.js';export async function fetchCdnConfig(){const _0x3deac4=a222_0x6896,_0x2e4380=getTemplateBaseUrl(),_0x32cee2=[_0x2e4380+_0x3deac4(0xee),_0x2e4380+_0x3deac4(0xed)];for(const _0x1cc52e of _0x32cee2){try{const _0x1a5f65=await fetch(_0x1cc52e,{'headers':{'Accept':'application/json'}});if(!_0x1a5f65['ok'])continue;const _0x3ef548=await _0x1a5f65[_0x3deac4(0xe9)]();if(!_0x3ef548['cli']?.[_0x3deac4(0xe7)]||!_0x3ef548['sdk']?.[_0x3deac4(0xe8)]?.[_0x3deac4(0xe7)])continue;return _0x3ef548;}catch{}}return null;}function a222_0x6896(_0x482e9d,_0xedba02){_0x482e9d=_0x482e9d-0xe4;const _0x303aad=a222_0x303a();let _0x68968c=_0x303aad[_0x482e9d];return _0x68968c;}let cachedConfig=null,cacheTime=0x0;const CACHE_TTL=0x5*0x3c*0x3e8,FAILURE_CACHE_TTL=0x3c*0x3e8;let hasCachedConfig=![];export async function getCdnConfig(){const _0xcb4643=Date['now']();if(hasCachedConfig){const _0x52b282=cachedConfig?CACHE_TTL:FAILURE_CACHE_TTL;if(_0xcb4643-cacheTime<_0x52b282)return cachedConfig;}const _0xdb22df=await fetchCdnConfig();return cachedConfig=_0xdb22df,cacheTime=_0xcb4643,hasCachedConfig=!![],_0xdb22df;}export function clearCdnConfigCache(){cachedConfig=null,cacheTime=0x0,hasCachedConfig=![];}function a222_0x303a(){const _0x187ed0=['/config/index.json','/config.json','1494752lWRvpV','1791270GTGChm','8289232vGoYuS','800944EvUwvO','stableVersion','node','json','2663652tfEwFT','533518QyGLTu','2394204rATwFr'];a222_0x303a=function(){return _0x187ed0;};return a222_0x303a();}
1
+ function a222_0xa4d5(){const _0x400b5e=['now','2BawBMi','886465nwFVSX','6EDvEMv','sdk','/config/index.json','62787crbqij','json','1070163QoCwvk','application/json','22682341fVRDlL','6286140RSUzXM','9454403prAZcn','426442uNrUtx','stableVersion','56pYRwkc','80LJvxyv'];a222_0xa4d5=function(){return _0x400b5e;};return a222_0xa4d5();}(function(_0x112df7,_0x25a962){const _0x2ddbf8=a222_0x25e5,_0x8c45fe=_0x112df7();while(!![]){try{const _0x400f70=parseInt(_0x2ddbf8(0x1d9))/0x1*(-parseInt(_0x2ddbf8(0x1e5))/0x2)+parseInt(_0x2ddbf8(0x1de))/0x3*(parseInt(_0x2ddbf8(0x1d6))/0x4)+parseInt(_0x2ddbf8(0x1da))/0x5*(-parseInt(_0x2ddbf8(0x1db))/0x6)+parseInt(_0x2ddbf8(0x1e4))/0x7+-parseInt(_0x2ddbf8(0x1d7))/0x8*(-parseInt(_0x2ddbf8(0x1e0))/0x9)+parseInt(_0x2ddbf8(0x1e3))/0xa+-parseInt(_0x2ddbf8(0x1e2))/0xb;if(_0x400f70===_0x25a962)break;else _0x8c45fe['push'](_0x8c45fe['shift']());}catch(_0x54ec71){_0x8c45fe['push'](_0x8c45fe['shift']());}}}(a222_0xa4d5,0xc23a1));import{getTemplateBaseUrl}from'../utils/config.js';export async function fetchCdnConfig(){const _0x4827a2=a222_0x25e5,_0x448f97=getTemplateBaseUrl(),_0x5bd0b6=[_0x448f97+'/config.json',_0x448f97+_0x4827a2(0x1dd)];for(const _0x1e9b63 of _0x5bd0b6){try{const _0x59335a=await fetch(_0x1e9b63,{'headers':{'Accept':_0x4827a2(0x1e1)}});if(!_0x59335a['ok'])continue;const _0x41471a=await _0x59335a[_0x4827a2(0x1df)]();if(!_0x41471a['cli']?.[_0x4827a2(0x1d5)]||!_0x41471a[_0x4827a2(0x1dc)]?.['node']?.['stableVersion'])continue;return _0x41471a;}catch{}}return null;}let cachedConfig=null,cacheTime=0x0;const CACHE_TTL=0x5*0x3c*0x3e8,FAILURE_CACHE_TTL=0x3c*0x3e8;let hasCachedConfig=![];function a222_0x25e5(_0x4924ae,_0x5afaf6){_0x4924ae=_0x4924ae-0x1d5;const _0xa4d575=a222_0xa4d5();let _0x25e5ab=_0xa4d575[_0x4924ae];return _0x25e5ab;}export async function getCdnConfig(){const _0x20a673=a222_0x25e5,_0x47cae1=Date[_0x20a673(0x1d8)]();if(hasCachedConfig){const _0x30878c=cachedConfig?CACHE_TTL:FAILURE_CACHE_TTL;if(_0x47cae1-cacheTime<_0x30878c)return cachedConfig;}const _0x1cbada=await fetchCdnConfig();return cachedConfig=_0x1cbada,cacheTime=_0x47cae1,hasCachedConfig=!![],_0x1cbada;}export function clearCdnConfigCache(){cachedConfig=null,cacheTime=0x0,hasCachedConfig=![];}
@@ -1 +1 @@
1
- const a223_0x5eeddd=a223_0x2e16;(function(_0x14c0c6,_0x43c7d1){const _0x279f5e=a223_0x2e16,_0x2301e3=_0x14c0c6();while(!![]){try{const _0x15b983=parseInt(_0x279f5e(0x1a4))/0x1+parseInt(_0x279f5e(0x1a8))/0x2+parseInt(_0x279f5e(0x1c6))/0x3+parseInt(_0x279f5e(0x1ba))/0x4*(parseInt(_0x279f5e(0x1c1))/0x5)+parseInt(_0x279f5e(0x1c7))/0x6+-parseInt(_0x279f5e(0x1c2))/0x7*(-parseInt(_0x279f5e(0x1b3))/0x8)+-parseInt(_0x279f5e(0x1a9))/0x9;if(_0x15b983===_0x43c7d1)break;else _0x2301e3['push'](_0x2301e3['shift']());}catch(_0x58ebde){_0x2301e3['push'](_0x2301e3['shift']());}}}(a223_0x5740,0x80f28));import a223_0x25315a from'node:fs';import a223_0x5922e1 from'node:path';import a223_0x4f0743 from'semver';import{getCdnConfig}from'../utils/cdn-config.js';function a223_0x5740(){const _0x1cb3e7=['stableVersion','node','coerce','892fBmFaY','dependencies','↪\x20SDK\x20update\x20available','\x20\x20\x20Current\x20version:\x20','join','parse','existsSync','23235NvNRPj','7npSQhV','1.2.0','utf8','\x1b[1m','2092155vGQgcY','3389646CyIZku','packageName','npm\x20install\x20','\x20\x20\x20Upgrade\x20command:\x20','some','71138PDsnLS','log','@lovrabet/sdk','utf-8','213364wRqOrC','23428683MrcrjH','sdk','devDependencies','node_modules','\x20\x20\x20Stable\x20version:\x20','all','latest','package.json','\x1b[0m','minVersion','5239424MWqDFR','needsUpgrade','version','readFileSync'];a223_0x5740=function(){return _0x1cb3e7;};return a223_0x5740();}const FALLBACK_MIN_SDK_VERSION=a223_0x5eeddd(0x1c3);function isNonNumericVersion(_0x4ecb06){const _0x3e5518=a223_0x5eeddd,_0x3164b6=[/^latest$/i,/^beta$/i,/^alpha$/i,/^canary$/i,/^\*$/,/^x$/];return _0x3164b6[_0x3e5518(0x1a3)](_0x5678a2=>_0x5678a2['test'](_0x4ecb06));}function getInstalledVersion(_0xd9a530,_0x2bdd65){const _0x4ca408=a223_0x5eeddd;try{const _0x1e22b9=a223_0x5922e1['join'](_0xd9a530,_0x4ca408(0x1ac),_0x2bdd65,_0x4ca408(0x1b0));if(a223_0x25315a[_0x4ca408(0x1c0)](_0x1e22b9)){const _0x2ce951=JSON[_0x4ca408(0x1bf)](a223_0x25315a['readFileSync'](_0x1e22b9,_0x4ca408(0x1a7)));return _0x2ce951[_0x4ca408(0x1b5)]||null;}}catch{}return null;}function a223_0x2e16(_0x4375a1,_0x6b13e7){_0x4375a1=_0x4375a1-0x1a3;const _0x5740da=a223_0x5740();let _0x2e162d=_0x5740da[_0x4375a1];return _0x2e162d;}async function getSdkStableVersion(){const _0x36f89e=a223_0x5eeddd;try{const _0x5004a2=await getCdnConfig();return _0x5004a2?.['sdk']?.[_0x36f89e(0x1b8)]?.[_0x36f89e(0x1b7)]||null;}catch{return null;}}async function getSdkPackageName(){const _0x29a701=a223_0x5eeddd;try{const _0x1d77c3=await getCdnConfig();return _0x1d77c3?.[_0x29a701(0x1aa)]?.[_0x29a701(0x1b8)]?.[_0x29a701(0x1c8)]||_0x29a701(0x1a6);}catch{return'@lovrabet/sdk';}}export async function checkSdkVersion(_0x8f7bcb){const _0x5d927d=a223_0x5eeddd,_0xef60bf=a223_0x5922e1[_0x5d927d(0x1be)](_0x8f7bcb,_0x5d927d(0x1b0)),[_0x37fffa,_0x1970b8]=await Promise[_0x5d927d(0x1ae)]([getSdkStableVersion(),getSdkPackageName()]),_0x43159c=_0x37fffa||FALLBACK_MIN_SDK_VERSION;if(!a223_0x25315a[_0x5d927d(0x1c0)](_0xef60bf))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x43159c,'packageName':_0x1970b8,'stableVersion':_0x37fffa};try{const _0x2f360a=JSON['parse'](a223_0x25315a[_0x5d927d(0x1b6)](_0xef60bf,_0x5d927d(0x1c4))),_0x4bd1a1=_0x2f360a[_0x5d927d(0x1bb)]||{},_0x1f1781=_0x2f360a[_0x5d927d(0x1ab)]||{},_0x1e5b63=_0x4bd1a1[_0x1970b8]||_0x1f1781[_0x1970b8];if(!_0x1e5b63)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x43159c,'packageName':_0x1970b8,'stableVersion':_0x37fffa};let _0x4d14ec=getInstalledVersion(_0x8f7bcb,_0x1970b8);!_0x4d14ec&&(_0x4d14ec=_0x1e5b63);if(isNonNumericVersion(_0x1e5b63))return{'installed':!![],'version':_0x4d14ec,'needsUpgrade':![],'minVersion':_0x43159c,'packageName':_0x1970b8,'stableVersion':_0x37fffa};const _0x3c9109=a223_0x4f0743[_0x5d927d(0x1b9)](_0x4d14ec),_0x3b3094=a223_0x4f0743[_0x5d927d(0x1b9)](_0x43159c),_0x3adfb0=_0x3c9109&&_0x3b3094?a223_0x4f0743['lt'](_0x3c9109,_0x3b3094):![];return{'installed':!![],'version':_0x4d14ec,'needsUpgrade':_0x3adfb0,'minVersion':_0x43159c,'packageName':_0x1970b8,'stableVersion':_0x37fffa};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x43159c,'packageName':_0x1970b8,'stableVersion':_0x37fffa};}}export function checkSdkVersionSync(_0x4533f5){const _0x2299c6=a223_0x5eeddd,_0x26637a=a223_0x5922e1[_0x2299c6(0x1be)](_0x4533f5,'package.json'),_0x1167dc=_0x2299c6(0x1a6);if(!a223_0x25315a[_0x2299c6(0x1c0)](_0x26637a))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x1167dc,'stableVersion':null};try{const _0xd5f47c=JSON['parse'](a223_0x25315a[_0x2299c6(0x1b6)](_0x26637a,_0x2299c6(0x1c4))),_0x3499c5=_0xd5f47c[_0x2299c6(0x1bb)]||{},_0x49c212=_0xd5f47c[_0x2299c6(0x1ab)]||{},_0x2c6c7b=_0x3499c5[_0x1167dc]||_0x49c212[_0x1167dc];if(!_0x2c6c7b)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x1167dc,'stableVersion':null};let _0x3f551f=getInstalledVersion(_0x4533f5,_0x1167dc);!_0x3f551f&&(_0x3f551f=_0x2c6c7b);if(isNonNumericVersion(_0x2c6c7b))return{'installed':!![],'version':_0x3f551f,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x1167dc,'stableVersion':null};const _0x5dd8f9=a223_0x4f0743[_0x2299c6(0x1b9)](_0x3f551f),_0x4f295e=_0x5dd8f9?a223_0x4f0743['lt'](_0x5dd8f9,FALLBACK_MIN_SDK_VERSION):![];return{'installed':!![],'version':_0x3f551f,'needsUpgrade':_0x4f295e,'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x1167dc,'stableVersion':null};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x1167dc,'stableVersion':null};}}export function printSdkUpgradeWarning(_0x810a85){const _0x455f3c=a223_0x5eeddd;if(!_0x810a85[_0x455f3c(0x1b4)])return;const _0x43a17d='\x1b[33m',_0x14f268=_0x455f3c(0x1b1),_0x512159=_0x455f3c(0x1c5),_0x29545d=_0x810a85[_0x455f3c(0x1c8)]||_0x455f3c(0x1a6),_0xf0fdb7=_0x810a85[_0x455f3c(0x1b7)]||_0x810a85[_0x455f3c(0x1b2)],_0xe6fe87=_0x455f3c(0x1c9)+_0x29545d+'@'+(_0xf0fdb7||_0x455f3c(0x1af));console[_0x455f3c(0x1a5)](),console['log'](''+_0x43a17d+_0x512159+_0x455f3c(0x1bc)+_0x14f268),console[_0x455f3c(0x1a5)](_0x43a17d+_0x455f3c(0x1bd)+_0x29545d+'@'+_0x810a85[_0x455f3c(0x1b5)]+_0x14f268),console['log'](_0x43a17d+_0x455f3c(0x1ad)+_0xf0fdb7+_0x14f268),console[_0x455f3c(0x1a5)](_0x43a17d+_0x455f3c(0x1ca)+_0xe6fe87+_0x14f268),console['log']();}
1
+ function a223_0x3dde(_0x22141a,_0x2474dc){_0x22141a=_0x22141a-0x1d8;const _0x1041bd=a223_0x1041();let _0x3dde1f=_0x1041bd[_0x22141a];return _0x3dde1f;}const a223_0x5d91e0=a223_0x3dde;(function(_0x2feaa4,_0x19474c){const _0x210b75=a223_0x3dde,_0x33a0d2=_0x2feaa4();while(!![]){try{const _0x3816da=-parseInt(_0x210b75(0x1e4))/0x1+-parseInt(_0x210b75(0x200))/0x2*(parseInt(_0x210b75(0x1eb))/0x3)+parseInt(_0x210b75(0x1fd))/0x4*(-parseInt(_0x210b75(0x1d9))/0x5)+parseInt(_0x210b75(0x1e2))/0x6+parseInt(_0x210b75(0x1f3))/0x7*(parseInt(_0x210b75(0x1dc))/0x8)+-parseInt(_0x210b75(0x1e3))/0x9+parseInt(_0x210b75(0x1f0))/0xa*(parseInt(_0x210b75(0x1fe))/0xb);if(_0x3816da===_0x19474c)break;else _0x33a0d2['push'](_0x33a0d2['shift']());}catch(_0x5434f5){_0x33a0d2['push'](_0x33a0d2['shift']());}}}(a223_0x1041,0x68129));import a223_0x5cb0b8 from'node:fs';import a223_0x457991 from'node:path';import a223_0x78ede6 from'semver';import{getCdnConfig}from'../utils/cdn-config.js';function a223_0x1041(){const _0x270e2f=['node','some','test','\x1b[1m','4buhsoZ','22HCOZtO','latest','14878PQcaWj','@lovrabet/sdk','4232105FsvoQE','utf-8','\x20\x20\x20Stable\x20version:\x20','120lhyeYN','package.json','join','packageName','coerce','utf8','2733444gOlYyb','5427567MiPaGv','796925jOjLkR','npm\x20install\x20','↪\x20SDK\x20update\x20available','all','\x1b[0m','\x1b[33m','dependencies','159HfMDJM','sdk','stableVersion','parse','existsSync','11442540LZnwqf','log','minVersion','150675fFSTqE','devDependencies','node_modules','1.2.0','version','\x20\x20\x20Upgrade\x20command:\x20'];a223_0x1041=function(){return _0x270e2f;};return a223_0x1041();}const FALLBACK_MIN_SDK_VERSION=a223_0x5d91e0(0x1f6);function isNonNumericVersion(_0x2ab0d5){const _0x252e26=a223_0x5d91e0,_0x108249=[/^latest$/i,/^beta$/i,/^alpha$/i,/^canary$/i,/^\*$/,/^x$/];return _0x108249[_0x252e26(0x1fa)](_0x51c3f7=>_0x51c3f7[_0x252e26(0x1fb)](_0x2ab0d5));}function getInstalledVersion(_0x30e79a,_0x5988de){const _0x10cc1b=a223_0x5d91e0;try{const _0x3c64ce=a223_0x457991['join'](_0x30e79a,_0x10cc1b(0x1f5),_0x5988de,_0x10cc1b(0x1dd));if(a223_0x5cb0b8[_0x10cc1b(0x1ef)](_0x3c64ce)){const _0x14dd1b=JSON[_0x10cc1b(0x1ee)](a223_0x5cb0b8['readFileSync'](_0x3c64ce,_0x10cc1b(0x1da)));return _0x14dd1b[_0x10cc1b(0x1f7)]||null;}}catch{}return null;}async function getSdkStableVersion(){const _0x514354=a223_0x5d91e0;try{const _0x13fde4=await getCdnConfig();return _0x13fde4?.['sdk']?.[_0x514354(0x1f9)]?.[_0x514354(0x1ed)]||null;}catch{return null;}}async function getSdkPackageName(){const _0x45691d=a223_0x5d91e0;try{const _0x141938=await getCdnConfig();return _0x141938?.[_0x45691d(0x1ec)]?.[_0x45691d(0x1f9)]?.[_0x45691d(0x1df)]||_0x45691d(0x1d8);}catch{return _0x45691d(0x1d8);}}export async function checkSdkVersion(_0x3b3074){const _0x495866=a223_0x5d91e0,_0x3f9581=a223_0x457991[_0x495866(0x1de)](_0x3b3074,_0x495866(0x1dd)),[_0x5c19d4,_0x191511]=await Promise[_0x495866(0x1e7)]([getSdkStableVersion(),getSdkPackageName()]),_0x2b60d4=_0x5c19d4||FALLBACK_MIN_SDK_VERSION;if(!a223_0x5cb0b8[_0x495866(0x1ef)](_0x3f9581))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x2b60d4,'packageName':_0x191511,'stableVersion':_0x5c19d4};try{const _0x3d0ef3=JSON[_0x495866(0x1ee)](a223_0x5cb0b8['readFileSync'](_0x3f9581,_0x495866(0x1e1))),_0x281f56=_0x3d0ef3['dependencies']||{},_0x81cca0=_0x3d0ef3['devDependencies']||{},_0x4598ea=_0x281f56[_0x191511]||_0x81cca0[_0x191511];if(!_0x4598ea)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x2b60d4,'packageName':_0x191511,'stableVersion':_0x5c19d4};let _0x32facd=getInstalledVersion(_0x3b3074,_0x191511);!_0x32facd&&(_0x32facd=_0x4598ea);if(isNonNumericVersion(_0x4598ea))return{'installed':!![],'version':_0x32facd,'needsUpgrade':![],'minVersion':_0x2b60d4,'packageName':_0x191511,'stableVersion':_0x5c19d4};const _0x38e761=a223_0x78ede6[_0x495866(0x1e0)](_0x32facd),_0x1929e8=a223_0x78ede6[_0x495866(0x1e0)](_0x2b60d4),_0x3e86d5=_0x38e761&&_0x1929e8?a223_0x78ede6['lt'](_0x38e761,_0x1929e8):![];return{'installed':!![],'version':_0x32facd,'needsUpgrade':_0x3e86d5,'minVersion':_0x2b60d4,'packageName':_0x191511,'stableVersion':_0x5c19d4};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x2b60d4,'packageName':_0x191511,'stableVersion':_0x5c19d4};}}export function checkSdkVersionSync(_0x4ca98b){const _0x59b964=a223_0x5d91e0,_0x1c613d=a223_0x457991[_0x59b964(0x1de)](_0x4ca98b,_0x59b964(0x1dd)),_0x353244=_0x59b964(0x1d8);if(!a223_0x5cb0b8['existsSync'](_0x1c613d))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x353244,'stableVersion':null};try{const _0x474d19=JSON[_0x59b964(0x1ee)](a223_0x5cb0b8['readFileSync'](_0x1c613d,'utf8')),_0x2ba0fa=_0x474d19[_0x59b964(0x1ea)]||{},_0x4bf8c3=_0x474d19[_0x59b964(0x1f4)]||{},_0x5f3f2d=_0x2ba0fa[_0x353244]||_0x4bf8c3[_0x353244];if(!_0x5f3f2d)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x353244,'stableVersion':null};let _0x1e193e=getInstalledVersion(_0x4ca98b,_0x353244);!_0x1e193e&&(_0x1e193e=_0x5f3f2d);if(isNonNumericVersion(_0x5f3f2d))return{'installed':!![],'version':_0x1e193e,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x353244,'stableVersion':null};const _0x3d6db6=a223_0x78ede6[_0x59b964(0x1e0)](_0x1e193e),_0x273ad6=_0x3d6db6?a223_0x78ede6['lt'](_0x3d6db6,FALLBACK_MIN_SDK_VERSION):![];return{'installed':!![],'version':_0x1e193e,'needsUpgrade':_0x273ad6,'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x353244,'stableVersion':null};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x353244,'stableVersion':null};}}export function printSdkUpgradeWarning(_0x4d56a4){const _0x1b4ef5=a223_0x5d91e0;if(!_0x4d56a4['needsUpgrade'])return;const _0x349b5a=_0x1b4ef5(0x1e9),_0x4c1c6a=_0x1b4ef5(0x1e8),_0x337e53=_0x1b4ef5(0x1fc),_0x130cf2=_0x4d56a4['packageName']||_0x1b4ef5(0x1d8),_0xcaa4cd=_0x4d56a4[_0x1b4ef5(0x1ed)]||_0x4d56a4[_0x1b4ef5(0x1f2)],_0x1072ae=_0x1b4ef5(0x1e5)+_0x130cf2+'@'+(_0xcaa4cd||_0x1b4ef5(0x1ff));console[_0x1b4ef5(0x1f1)](),console[_0x1b4ef5(0x1f1)](''+_0x349b5a+_0x337e53+_0x1b4ef5(0x1e6)+_0x4c1c6a),console[_0x1b4ef5(0x1f1)](_0x349b5a+'\x20\x20\x20Current\x20version:\x20'+_0x130cf2+'@'+_0x4d56a4['version']+_0x4c1c6a),console['log'](_0x349b5a+_0x1b4ef5(0x1db)+_0xcaa4cd+_0x4c1c6a),console['log'](_0x349b5a+_0x1b4ef5(0x1f8)+_0x1072ae+_0x4c1c6a),console[_0x1b4ef5(0x1f1)]();}
@@ -1 +1 @@
1
- (function(_0x20d427,_0x88096a){const _0x32e68b=a224_0x4e5d,_0x36420b=_0x20d427();while(!![]){try{const _0x81647d=-parseInt(_0x32e68b(0xd4))/0x1+-parseInt(_0x32e68b(0xda))/0x2*(parseInt(_0x32e68b(0xe3))/0x3)+parseInt(_0x32e68b(0xd0))/0x4*(-parseInt(_0x32e68b(0xbd))/0x5)+parseInt(_0x32e68b(0xe2))/0x6*(parseInt(_0x32e68b(0xc4))/0x7)+parseInt(_0x32e68b(0xc7))/0x8+parseInt(_0x32e68b(0xc2))/0x9+-parseInt(_0x32e68b(0xd8))/0xa;if(_0x81647d===_0x88096a)break;else _0x36420b['push'](_0x36420b['shift']());}catch(_0x1159fa){_0x36420b['push'](_0x36420b['shift']());}}}(a224_0x5ec5,0x5e6e2));function a224_0x4e5d(_0x12ff40,_0x54a147){_0x12ff40=_0x12ff40-0xbd;const _0x5ec590=a224_0x5ec5();let _0x4e5df2=_0x5ec590[_0x12ff40];return _0x4e5df2;}import{readFileSync}from'node:fs';import{resolve,dirname}from'node:path';import{fileURLToPath}from'node:url';import a224_0xc08a71 from'semver';import{getCliVersionPolicy}from'../utils/cli-version-policy.js';import{NPM_PACKAGE_NAME}from'../constant/cli.js';import{CliErrors}from'../errors.js';export function getCliUpgradeCommand(_0x1e5045){const _0x24ac16=a224_0x4e5d,_0x7b6a22=_0x1e5045[_0x24ac16(0xc3)]||_0x24ac16(0xe1);return'npm\x20install\x20-g\x20'+NPM_PACKAGE_NAME+'@'+_0x7b6a22;}function getCurrentCliVersion(){const _0x4b38f1=a224_0x4e5d;try{const _0x213543=fileURLToPath(import.meta.url),_0x4994cc=resolve(dirname(_0x213543),_0x4b38f1(0xc0)),_0x33ebd2=resolve(_0x4994cc,_0x4b38f1(0xe0)),_0x565a1b=JSON['parse'](readFileSync(_0x33ebd2,'utf-8'));return _0x565a1b[_0x4b38f1(0xc9)]||'1.0.0';}catch{return _0x4b38f1(0xbe);}}export async function checkCliVersion(){const _0x4e435c=a224_0x4e5d,_0x35acbb=getCurrentCliVersion(),_0x5e0a05=await getCliVersionPolicy(),_0x40ecff=_0x5e0a05?.[_0x4e435c(0xc3)]||null,_0x1564f0=_0x5e0a05?.[_0x4e435c(0xdd)]||null;let _0x3f2cd0=![],_0xd5c6fe=![];const _0x11e57a=a224_0xc08a71[_0x4e435c(0xc8)](_0x35acbb);if(_0x11e57a&&_0x40ecff)try{const _0x5a273b=a224_0xc08a71[_0x4e435c(0xc8)](_0x40ecff);if(_0x5a273b)_0x3f2cd0=a224_0xc08a71['lt'](_0x11e57a,_0x5a273b);}catch{}if(_0x11e57a&&_0x1564f0)try{const _0x577b72=a224_0xc08a71[_0x4e435c(0xc8)](_0x1564f0);if(_0x577b72)_0xd5c6fe=a224_0xc08a71['lt'](_0x11e57a,_0x577b72);}catch{}return _0xd5c6fe&&(_0x3f2cd0=!![]),{'currentVersion':_0x35acbb,'stableVersion':_0x40ecff,'minimumVersion':_0x1564f0,'needsUpgrade':_0x3f2cd0,'belowMinimum':_0xd5c6fe,'isPreRelease':![],'upgradeMessage':_0x5e0a05?.[_0x4e435c(0xca)],'minimumVersionMessage':_0x5e0a05?.[_0x4e435c(0xcf)]};}export function printCliUpgradeWarning(_0x2d3605){const _0x849742=a224_0x4e5d;if(!_0x2d3605[_0x849742(0xcd)]&&!_0x2d3605[_0x849742(0xd6)])return;const _0x472a7d=_0x849742(0xd1),_0xc07fd0=_0x849742(0xd3),_0x3e36a5='\x1b[0m',_0x37f9f5=_0x849742(0xd7),_0x17636b=getCliUpgradeCommand(_0x2d3605);console[_0x849742(0xde)](),_0x2d3605[_0x849742(0xd6)]?(console[_0x849742(0xde)](''+_0x472a7d+_0x37f9f5+_0x849742(0xdb)+_0x3e36a5),console[_0x849742(0xde)](_0x472a7d+_0x849742(0xce)+_0x2d3605[_0x849742(0xc1)]+_0x3e36a5),_0x2d3605[_0x849742(0xdd)]&&console[_0x849742(0xde)](_0x472a7d+_0x849742(0xc6)+_0x2d3605[_0x849742(0xdd)]+_0x3e36a5),_0x2d3605['stableVersion']&&_0x2d3605[_0x849742(0xc3)]!==_0x2d3605[_0x849742(0xdd)]&&console[_0x849742(0xde)](_0x472a7d+_0x849742(0xd9)+_0x2d3605[_0x849742(0xc3)]+_0x3e36a5),_0x2d3605['minimumVersionMessage']&&console[_0x849742(0xde)](_0x472a7d+_0x849742(0xd2)+_0x2d3605['minimumVersionMessage']+_0x3e36a5),console['log'](_0x472a7d+_0x849742(0xdc)+_0x17636b+_0x3e36a5)):(console[_0x849742(0xde)](''+_0xc07fd0+_0x37f9f5+_0x849742(0xe4)+_0x3e36a5),console[_0x849742(0xde)](_0xc07fd0+_0x849742(0xce)+_0x2d3605[_0x849742(0xc1)]+_0x3e36a5),console[_0x849742(0xde)](_0xc07fd0+_0x849742(0xcb)+_0x2d3605[_0x849742(0xc3)]+_0x3e36a5),_0x2d3605[_0x849742(0xca)]&&console[_0x849742(0xde)](_0xc07fd0+'\x20\x20\x20'+_0x2d3605[_0x849742(0xca)]+_0x3e36a5),console[_0x849742(0xde)](_0xc07fd0+_0x849742(0xdc)+_0x17636b+_0x3e36a5)),console['log']();}function a224_0x5ec5(){const _0x2eafe0=['↪\x20Critical\x20CLI\x20upgrade\x20required','\x20\x20\x20Upgrade\x20command:\x20','minimumVersion','log','join','package.json','latest','330yKIUUv','82257uGJBaC','↪\x20New\x20version\x20available','40ZlCrnH','1.0.0','Minimum\x20supported:\x20','../..','currentVersion','2503575wVdbpc','stableVersion','45584PwnXPW','Upgrade\x20command:\x20','\x20\x20\x20Minimum\x20supported:\x20','4325304goffBJ','coerce','version','upgradeMessage','\x20\x20\x20Stable\x20version:\x20','validation','needsUpgrade','\x20\x20\x20Current\x20CLI\x20version:\x20','minimumVersionMessage','188640NXPlQk','\x1b[31m','\x20\x20\x20','\x1b[33m','119986ObKwmF','Current\x20version:\x20','belowMinimum','\x1b[1m','1010130SwTUUy','\x20\x20\x20Recommended\x20stable:\x20','14PEodPG'];a224_0x5ec5=function(){return _0x2eafe0;};return a224_0x5ec5();}export function assertCliVersionSupported(_0x5a5985){const _0x2bb1e2=a224_0x4e5d;if(!_0x5a5985['belowMinimum'])return;const _0x4910f7=[_0x5a5985[_0x2bb1e2(0xcf)],_0x2bb1e2(0xd5)+_0x5a5985[_0x2bb1e2(0xc1)],_0x5a5985['minimumVersion']?_0x2bb1e2(0xbf)+_0x5a5985[_0x2bb1e2(0xdd)]:null,_0x2bb1e2(0xc5)+getCliUpgradeCommand(_0x5a5985)]['filter'](Boolean)[_0x2bb1e2(0xdf)]('\x0a');throw CliErrors[_0x2bb1e2(0xcc)]('Current\x20CLI\x20version\x20is\x20below\x20the\x20service\x20compatibility\x20support\x20line.',_0x4910f7);}
1
+ function a224_0x2019(){const _0x33e50a=['\x20\x20\x20Recommended\x20stable:\x20','Current\x20version:\x20','minimumVersionMessage','495WRLVLe','\x20\x20\x20Current\x20CLI\x20version:\x20','upgradeMessage','100830GfDafZ','minimumVersion','utf-8','↪\x20Critical\x20CLI\x20upgrade\x20required','\x1b[1m','51348hyCVME','Upgrade\x20command:\x20','filter','latest','\x1b[0m','Minimum\x20supported:\x20','90JHEduW','parse','↪\x20New\x20version\x20available','164364toIIrx','37122LicFRh','\x20\x20\x20Stable\x20version:\x20','\x20\x20\x20','1.0.0','belowMinimum','1761128nqnzdL','\x20\x20\x20Minimum\x20supported:\x20','needsUpgrade','coerce','3751741Puyzuj','package.json','28FabmMv','../..','stableVersion','currentVersion','join','74704VowjOT','npm\x20install\x20-g\x20','\x1b[31m','log'];a224_0x2019=function(){return _0x33e50a;};return a224_0x2019();}(function(_0x268f19,_0x4c8ef9){const _0x4dddcb=a224_0x4661,_0x4b2131=_0x268f19();while(!![]){try{const _0x5aa6bf=parseInt(_0x4dddcb(0xe8))/0x1+-parseInt(_0x4dddcb(0x102))/0x2+-parseInt(_0x4dddcb(0xf2))/0x3*(parseInt(_0x4dddcb(0xfd))/0x4)+-parseInt(_0x4dddcb(0xee))/0x5*(parseInt(_0x4dddcb(0xf1))/0x6)+parseInt(_0x4dddcb(0xfb))/0x7+-parseInt(_0x4dddcb(0xf7))/0x8+-parseInt(_0x4dddcb(0xe0))/0x9*(-parseInt(_0x4dddcb(0xe3))/0xa);if(_0x5aa6bf===_0x4c8ef9)break;else _0x4b2131['push'](_0x4b2131['shift']());}catch(_0x3f09b2){_0x4b2131['push'](_0x4b2131['shift']());}}}(a224_0x2019,0x4a621));import{readFileSync}from'node:fs';import{resolve,dirname}from'node:path';import{fileURLToPath}from'node:url';function a224_0x4661(_0x5cb1c8,_0x281e10){_0x5cb1c8=_0x5cb1c8-0xda;const _0x201952=a224_0x2019();let _0x46617e=_0x201952[_0x5cb1c8];return _0x46617e;}import a224_0x823db2 from'semver';import{getCliVersionPolicy}from'../utils/cli-version-policy.js';import{NPM_PACKAGE_NAME}from'../constant/cli.js';import{CliErrors}from'../errors.js';export function getCliUpgradeCommand(_0x81cc88){const _0x9ad474=a224_0x4661,_0x3f6e04=_0x81cc88[_0x9ad474(0xff)]||_0x9ad474(0xeb);return _0x9ad474(0xda)+NPM_PACKAGE_NAME+'@'+_0x3f6e04;}function getCurrentCliVersion(){const _0x4514c0=a224_0x4661;try{const _0x17d2b6=fileURLToPath(import.meta.url),_0x9f69cb=resolve(dirname(_0x17d2b6),_0x4514c0(0xfe)),_0x2378a2=resolve(_0x9f69cb,_0x4514c0(0xfc)),_0x181eed=JSON[_0x4514c0(0xef)](readFileSync(_0x2378a2,_0x4514c0(0xe5)));return _0x181eed['version']||_0x4514c0(0xf5);}catch{return _0x4514c0(0xf5);}}export async function checkCliVersion(){const _0x2db48b=a224_0x4661,_0x23d051=getCurrentCliVersion(),_0x4bf5d2=await getCliVersionPolicy(),_0x3bdc36=_0x4bf5d2?.[_0x2db48b(0xff)]||null,_0x4f7678=_0x4bf5d2?.['minimumVersion']||null;let _0x18d6b9=![],_0x5db5a1=![];const _0x1fab5b=a224_0x823db2[_0x2db48b(0xfa)](_0x23d051);if(_0x1fab5b&&_0x3bdc36)try{const _0x5db53e=a224_0x823db2[_0x2db48b(0xfa)](_0x3bdc36);if(_0x5db53e)_0x18d6b9=a224_0x823db2['lt'](_0x1fab5b,_0x5db53e);}catch{}if(_0x1fab5b&&_0x4f7678)try{const _0x29b0bd=a224_0x823db2[_0x2db48b(0xfa)](_0x4f7678);if(_0x29b0bd)_0x5db5a1=a224_0x823db2['lt'](_0x1fab5b,_0x29b0bd);}catch{}return _0x5db5a1&&(_0x18d6b9=!![]),{'currentVersion':_0x23d051,'stableVersion':_0x3bdc36,'minimumVersion':_0x4f7678,'needsUpgrade':_0x18d6b9,'belowMinimum':_0x5db5a1,'isPreRelease':![],'upgradeMessage':_0x4bf5d2?.[_0x2db48b(0xe2)],'minimumVersionMessage':_0x4bf5d2?.[_0x2db48b(0xdf)]};}export function printCliUpgradeWarning(_0x58e062){const _0x1febc9=a224_0x4661;if(!_0x58e062[_0x1febc9(0xf9)]&&!_0x58e062['belowMinimum'])return;const _0x1c022a=_0x1febc9(0xdb),_0x404c18='\x1b[33m',_0x141819=_0x1febc9(0xec),_0x568572=_0x1febc9(0xe7),_0x46ecef=getCliUpgradeCommand(_0x58e062);console[_0x1febc9(0xdc)](),_0x58e062['belowMinimum']?(console[_0x1febc9(0xdc)](''+_0x1c022a+_0x568572+_0x1febc9(0xe6)+_0x141819),console[_0x1febc9(0xdc)](_0x1c022a+_0x1febc9(0xe1)+_0x58e062['currentVersion']+_0x141819),_0x58e062['minimumVersion']&&console['log'](_0x1c022a+_0x1febc9(0xf8)+_0x58e062[_0x1febc9(0xe4)]+_0x141819),_0x58e062['stableVersion']&&_0x58e062[_0x1febc9(0xff)]!==_0x58e062[_0x1febc9(0xe4)]&&console['log'](_0x1c022a+_0x1febc9(0xdd)+_0x58e062[_0x1febc9(0xff)]+_0x141819),_0x58e062[_0x1febc9(0xdf)]&&console[_0x1febc9(0xdc)](_0x1c022a+_0x1febc9(0xf4)+_0x58e062['minimumVersionMessage']+_0x141819),console[_0x1febc9(0xdc)](_0x1c022a+'\x20\x20\x20Upgrade\x20command:\x20'+_0x46ecef+_0x141819)):(console[_0x1febc9(0xdc)](''+_0x404c18+_0x568572+_0x1febc9(0xf0)+_0x141819),console[_0x1febc9(0xdc)](_0x404c18+'\x20\x20\x20Current\x20CLI\x20version:\x20'+_0x58e062['currentVersion']+_0x141819),console[_0x1febc9(0xdc)](_0x404c18+_0x1febc9(0xf3)+_0x58e062['stableVersion']+_0x141819),_0x58e062['upgradeMessage']&&console[_0x1febc9(0xdc)](_0x404c18+'\x20\x20\x20'+_0x58e062['upgradeMessage']+_0x141819),console['log'](_0x404c18+'\x20\x20\x20Upgrade\x20command:\x20'+_0x46ecef+_0x141819)),console[_0x1febc9(0xdc)]();}export function assertCliVersionSupported(_0x18c189){const _0x31343d=a224_0x4661;if(!_0x18c189[_0x31343d(0xf6)])return;const _0xf9a001=[_0x18c189[_0x31343d(0xdf)],_0x31343d(0xde)+_0x18c189[_0x31343d(0x100)],_0x18c189[_0x31343d(0xe4)]?_0x31343d(0xed)+_0x18c189['minimumVersion']:null,_0x31343d(0xe9)+getCliUpgradeCommand(_0x18c189)][_0x31343d(0xea)](Boolean)[_0x31343d(0x101)]('\x0a');throw CliErrors['validation']('Current\x20CLI\x20version\x20is\x20below\x20the\x20service\x20compatibility\x20support\x20line.',_0xf9a001);}
@@ -1 +1 @@
1
- (function(_0x1dbdea,_0x35afbe){const _0x4f6467=a225_0x3020,_0x271eda=_0x1dbdea();while(!![]){try{const _0x4afcdb=-parseInt(_0x4f6467(0x1ba))/0x1+parseInt(_0x4f6467(0x1b9))/0x2*(-parseInt(_0x4f6467(0x1b2))/0x3)+-parseInt(_0x4f6467(0x1b3))/0x4*(-parseInt(_0x4f6467(0x1b4))/0x5)+-parseInt(_0x4f6467(0x1c5))/0x6+parseInt(_0x4f6467(0x1c6))/0x7+-parseInt(_0x4f6467(0x1b8))/0x8+parseInt(_0x4f6467(0x1b6))/0x9*(parseInt(_0x4f6467(0x1bc))/0xa);if(_0x4afcdb===_0x35afbe)break;else _0x271eda['push'](_0x271eda['shift']());}catch(_0x4a3d51){_0x271eda['push'](_0x271eda['shift']());}}}(a225_0x4f20,0x346aa));import{CLI_VERSION_POLICY_URL}from'../constant/cdn.js';const CACHE_TTL=0x5*0x3c*0x3e8,FAILURE_CACHE_TTL=0x3c*0x3e8,FETCH_TIMEOUT_MS=0xbb8;function pickString(_0x48a66f){const _0x478988=a225_0x3020;return typeof _0x48a66f===_0x478988(0x1be)&&_0x48a66f[_0x478988(0x1c2)]()['length']>0x0?_0x48a66f[_0x478988(0x1c2)]():null;}function a225_0x3020(_0x28b4a9,_0x2ce3bd){_0x28b4a9=_0x28b4a9-0x1b2;const _0x4f20dc=a225_0x4f20();let _0x302005=_0x4f20dc[_0x28b4a9];return _0x302005;}function normalizeCliVersionPolicy(_0x4a91ff){const _0x305625=a225_0x3020;if(!_0x4a91ff||typeof _0x4a91ff!==_0x305625(0x1c0))return null;const _0x379de2=_0x4a91ff,_0x25c95b=_0x379de2['cli']&&typeof _0x379de2[_0x305625(0x1bb)]==='object'?_0x379de2['cli']:_0x379de2,_0x34c48a=pickString(_0x25c95b[_0x305625(0x1c1)])||pickString(_0x25c95b[_0x305625(0x1c3)])||pickString(_0x25c95b['recommendedVersion']),_0xd6de44=pickString(_0x25c95b[_0x305625(0x1b5)])||pickString(_0x25c95b['minVersion']);if(!_0x34c48a&&!_0xd6de44)return null;return{'stableVersion':_0x34c48a,'minimumVersion':_0xd6de44,'upgradeMessage':pickString(_0x25c95b['upgradeMessage'])||undefined,'minimumVersionMessage':pickString(_0x25c95b[_0x305625(0x1b7)])||undefined};}export async function fetchCliVersionPolicy(){const _0x4f15b7=a225_0x3020,_0x30da0a=new AbortController(),_0x2c5b7f=setTimeout(()=>_0x30da0a[_0x4f15b7(0x1bf)](),FETCH_TIMEOUT_MS);try{const _0x152a15=await fetch(CLI_VERSION_POLICY_URL,{'headers':{'Accept':_0x4f15b7(0x1c7)},'signal':_0x30da0a['signal']});if(!_0x152a15['ok'])return null;const _0x39e301=await _0x152a15[_0x4f15b7(0x1c4)]();return normalizeCliVersionPolicy(_0x39e301);}catch{return null;}finally{clearTimeout(_0x2c5b7f);}}let cachedPolicy=null,cacheTime=0x0,hasCachedPolicy=![];export async function getCliVersionPolicy(){const _0x547605=a225_0x3020,_0x5ae202=Date[_0x547605(0x1bd)]();if(hasCachedPolicy){const _0xca5b2f=cachedPolicy?CACHE_TTL:FAILURE_CACHE_TTL;if(_0x5ae202-cacheTime<_0xca5b2f)return cachedPolicy;}const _0x760c3a=await fetchCliVersionPolicy();return cachedPolicy=_0x760c3a,cacheTime=_0x5ae202,hasCachedPolicy=!![],_0x760c3a;}export function clearCliVersionPolicyCache(){cachedPolicy=null,cacheTime=0x0,hasCachedPolicy=![];}function a225_0x4f20(){const _0x129745=['10zywEJP','minimumVersion','90gIETIp','minimumVersionMessage','3112672sWRBTa','212FssfeO','266173HjISRr','cli','844020nOnccx','now','string','abort','object','stableVersion','trim','latestVersion','json','2064210UczDSd','2690758pcRDiN','application/json','9573setWtM','647644GITyoC'];a225_0x4f20=function(){return _0x129745;};return a225_0x4f20();}
1
+ (function(_0x4e6c68,_0x4fa5db){const _0x19ead2=a225_0x2cce,_0x293e32=_0x4e6c68();while(!![]){try{const _0x132493=-parseInt(_0x19ead2(0xf6))/0x1*(parseInt(_0x19ead2(0xfe))/0x2)+-parseInt(_0x19ead2(0xf0))/0x3+-parseInt(_0x19ead2(0xfb))/0x4+-parseInt(_0x19ead2(0xf8))/0x5+-parseInt(_0x19ead2(0xf5))/0x6+-parseInt(_0x19ead2(0xfa))/0x7+parseInt(_0x19ead2(0xf7))/0x8*(parseInt(_0x19ead2(0xef))/0x9);if(_0x132493===_0x4fa5db)break;else _0x293e32['push'](_0x293e32['shift']());}catch(_0x372dc5){_0x293e32['push'](_0x293e32['shift']());}}}(a225_0x2d02,0x9485b));import{CLI_VERSION_POLICY_URL}from'../constant/cdn.js';const CACHE_TTL=0x5*0x3c*0x3e8,FAILURE_CACHE_TTL=0x3c*0x3e8,FETCH_TIMEOUT_MS=0xbb8;function pickString(_0x2e4cc9){const _0x49b9e1=a225_0x2cce;return typeof _0x2e4cc9===_0x49b9e1(0xea)&&_0x2e4cc9[_0x49b9e1(0xf9)]()[_0x49b9e1(0xf1)]>0x0?_0x2e4cc9['trim']():null;}function normalizeCliVersionPolicy(_0x356b1d){const _0x14c9d0=a225_0x2cce;if(!_0x356b1d||typeof _0x356b1d!==_0x14c9d0(0xe9))return null;const _0x466529=_0x356b1d,_0x5644ad=_0x466529[_0x14c9d0(0xec)]&&typeof _0x466529[_0x14c9d0(0xec)]==='object'?_0x466529[_0x14c9d0(0xec)]:_0x466529,_0x1bbd39=pickString(_0x5644ad['stableVersion'])||pickString(_0x5644ad[_0x14c9d0(0xf2)])||pickString(_0x5644ad[_0x14c9d0(0xf4)]),_0x347482=pickString(_0x5644ad[_0x14c9d0(0xed)])||pickString(_0x5644ad['minVersion']);if(!_0x1bbd39&&!_0x347482)return null;return{'stableVersion':_0x1bbd39,'minimumVersion':_0x347482,'upgradeMessage':pickString(_0x5644ad[_0x14c9d0(0xfd)])||undefined,'minimumVersionMessage':pickString(_0x5644ad[_0x14c9d0(0xf3)])||undefined};}function a225_0x2cce(_0x2cf87a,_0x163137){_0x2cf87a=_0x2cf87a-0xe9;const _0x2d02ab=a225_0x2d02();let _0x2cce4c=_0x2d02ab[_0x2cf87a];return _0x2cce4c;}export async function fetchCliVersionPolicy(){const _0x33a37c=a225_0x2cce,_0xd297a6=new AbortController(),_0x1d48d4=setTimeout(()=>_0xd297a6[_0x33a37c(0xfc)](),FETCH_TIMEOUT_MS);try{const _0x264aff=await fetch(CLI_VERSION_POLICY_URL,{'headers':{'Accept':'application/json'},'signal':_0xd297a6[_0x33a37c(0xeb)]});if(!_0x264aff['ok'])return null;const _0x5864a7=await _0x264aff[_0x33a37c(0xee)]();return normalizeCliVersionPolicy(_0x5864a7);}catch{return null;}finally{clearTimeout(_0x1d48d4);}}let cachedPolicy=null,cacheTime=0x0,hasCachedPolicy=![];export async function getCliVersionPolicy(){const _0x486335=Date['now']();if(hasCachedPolicy){const _0x30d41b=cachedPolicy?CACHE_TTL:FAILURE_CACHE_TTL;if(_0x486335-cacheTime<_0x30d41b)return cachedPolicy;}const _0x5e367c=await fetchCliVersionPolicy();return cachedPolicy=_0x5e367c,cacheTime=_0x486335,hasCachedPolicy=!![],_0x5e367c;}export function clearCliVersionPolicyCache(){cachedPolicy=null,cacheTime=0x0,hasCachedPolicy=![];}function a225_0x2d02(){const _0x28248e=['length','latestVersion','minimumVersionMessage','recommendedVersion','4852842lrlWBA','887421WfkaLy','5246808CubSlD','58530NxCaBn','trim','1667428mpeyVK','1766548OCVjWF','abort','upgradeMessage','2oAnShN','object','string','signal','cli','minimumVersion','json','45hlVeNN','849399hELfOO'];a225_0x2d02=function(){return _0x28248e;};return a225_0x2d02();}
@@ -1 +1 @@
1
- const a226_0x312764=a226_0x53c1;(function(_0xee30ee,_0x56c687){const _0xe045c5=a226_0x53c1,_0x550a88=_0xee30ee();while(!![]){try{const _0x58ae98=-parseInt(_0xe045c5(0x90))/0x1*(parseInt(_0xe045c5(0x97))/0x2)+parseInt(_0xe045c5(0x92))/0x3*(parseInt(_0xe045c5(0x9e))/0x4)+parseInt(_0xe045c5(0x9d))/0x5*(-parseInt(_0xe045c5(0x93))/0x6)+parseInt(_0xe045c5(0x95))/0x7*(-parseInt(_0xe045c5(0x9c))/0x8)+parseInt(_0xe045c5(0x9b))/0x9*(-parseInt(_0xe045c5(0x94))/0xa)+parseInt(_0xe045c5(0x99))/0xb*(parseInt(_0xe045c5(0x96))/0xc)+parseInt(_0xe045c5(0x98))/0xd;if(_0x58ae98===_0x56c687)break;else _0x550a88['push'](_0x550a88['shift']());}catch(_0x8aee7e){_0x550a88['push'](_0x550a88['shift']());}}}(a226_0xff54,0xe6101));import{initEnv}from'../constant/env.js';import{readRawConfig,getConfigAppCode as a226_0x3a5373,getMultiAppConfigs as a226_0x5d2924,getTemplateBaseUrl as a226_0x223945}from'../context.js';export{getProjectConfigPath,getGlobalConfigPath}from'../context.js';export{isInProject}from'../context.js';export function readConfig(_0x15d5a2){const _0x33afdd=a226_0x53c1,_0x3f1a0f=readRawConfig(_0x15d5a2);return _0x3f1a0f['env']&&typeof _0x3f1a0f[_0x33afdd(0x91)]==='string'&&initEnv(_0x3f1a0f['env']),_0x3f1a0f;}function a226_0x53c1(_0x4c4255,_0x4970ca){_0x4c4255=_0x4c4255-0x90;const _0xff545a=a226_0xff54();let _0x53c114=_0xff545a[_0x4c4255];return _0x53c114;}export function getConfigAppCode(){return a226_0x3a5373();}export function getMultiAppConfigs(_0x334e18=a226_0x312764(0x9a)){return a226_0x5d2924(_0x334e18);}export function getTemplateBaseUrl(){return a226_0x223945();}function a226_0xff54(){const _0x1991f9=['15foOtPN','125178uvMbJs','3730Psaqkj','284788BukbfG','137628HHmDKy','339734rockdX','27589991PUcDBQ','165cHNgHL','project','5562KGkkTJ','56GOcapb','135ZvOOrf','1276108bgvmcU','11HmIdBC','env'];a226_0xff54=function(){return _0x1991f9;};return a226_0xff54();}
1
+ function a226_0x5707(_0x58f599,_0x15a6c7){_0x58f599=_0x58f599-0xd8;const _0x57ae26=a226_0x57ae();let _0x570719=_0x57ae26[_0x58f599];return _0x570719;}const a226_0x1bb653=a226_0x5707;(function(_0x5e4d2c,_0x39269e){const _0x33a3b1=a226_0x5707,_0x24cd27=_0x5e4d2c();while(!![]){try{const _0x4115d6=-parseInt(_0x33a3b1(0xde))/0x1*(-parseInt(_0x33a3b1(0xdf))/0x2)+parseInt(_0x33a3b1(0xd8))/0x3+-parseInt(_0x33a3b1(0xd9))/0x4*(-parseInt(_0x33a3b1(0xda))/0x5)+parseInt(_0x33a3b1(0xe2))/0x6+-parseInt(_0x33a3b1(0xdc))/0x7+-parseInt(_0x33a3b1(0xe0))/0x8+parseInt(_0x33a3b1(0xdd))/0x9;if(_0x4115d6===_0x39269e)break;else _0x24cd27['push'](_0x24cd27['shift']());}catch(_0x5a69a3){_0x24cd27['push'](_0x24cd27['shift']());}}}(a226_0x57ae,0x677d1));import{initEnv}from'../constant/env.js';import{readRawConfig,getConfigAppCode as a226_0x216a6d,getMultiAppConfigs as a226_0x387c5c,getTemplateBaseUrl as a226_0x2f402a}from'../context.js';function a226_0x57ae(){const _0x286377=['2150qAjErD','project','2672572tPzyha','47151gSHgUa','174373ncuofm','2krcMXJ','3302368SOliBJ','string','4104396agYrUF','env','999909yGYzyz','200yikhVK'];a226_0x57ae=function(){return _0x286377;};return a226_0x57ae();}export{getProjectConfigPath,getGlobalConfigPath}from'../context.js';export{isInProject}from'../context.js';export function readConfig(_0x3416a6){const _0x34b5fd=a226_0x5707,_0x3e908e=readRawConfig(_0x3416a6);return _0x3e908e['env']&&typeof _0x3e908e['env']===_0x34b5fd(0xe1)&&initEnv(_0x3e908e[_0x34b5fd(0xe3)]),_0x3e908e;}export function getConfigAppCode(){return a226_0x216a6d();}export function getMultiAppConfigs(_0xc3f35e=a226_0x1bb653(0xdb)){return a226_0x387c5c(_0xc3f35e);}export function getTemplateBaseUrl(){return a226_0x2f402a();}
@@ -1 +1 @@
1
- (function(_0x219c8a,_0x55dccd){const _0x19fdba=a227_0x219e,_0x2339b8=_0x219c8a();while(!![]){try{const _0x1432cb=parseInt(_0x19fdba(0x118))/0x1*(parseInt(_0x19fdba(0x114))/0x2)+-parseInt(_0x19fdba(0x11b))/0x3+parseInt(_0x19fdba(0x11d))/0x4*(parseInt(_0x19fdba(0x116))/0x5)+-parseInt(_0x19fdba(0x120))/0x6+parseInt(_0x19fdba(0x11a))/0x7+parseInt(_0x19fdba(0x11e))/0x8*(-parseInt(_0x19fdba(0x113))/0x9)+-parseInt(_0x19fdba(0x11c))/0xa*(parseInt(_0x19fdba(0x117))/0xb);if(_0x1432cb===_0x55dccd)break;else _0x2339b8['push'](_0x2339b8['shift']());}catch(_0x1c07d7){_0x2339b8['push'](_0x2339b8['shift']());}}}(a227_0x3a3a,0xc5acc));import a227_0x18bbb8 from'node:path';function a227_0x219e(_0x4731b4,_0x11e675){_0x4731b4=_0x4731b4-0x112;const _0x3a3ad8=a227_0x3a3a();let _0x219ecc=_0x3a3ad8[_0x4731b4];return _0x219ecc;}function a227_0x3a3a(){const _0x2f40aa=['readdirSync','3018232szYSGs','1593531YkAHEN','37330gxfcnZ','2835820FXEITM','6169664ANGTZV','join','1175874uwYMOb','复制目录时出错:','name','18mVicjh','3035206qBaQCb','isDirectory','10BAQWUo','847YbiwNN','1lNJXOb'];a227_0x3a3a=function(){return _0x2f40aa;};return a227_0x3a3a();}import a227_0x180512 from'node:fs';export async function copyDirectory(_0x43349c,_0x59279d){const _0x283bc8=a227_0x219e;try{const _0x554a88=a227_0x180512[_0x283bc8(0x119)](_0x43349c,{'withFileTypes':!![]});a227_0x180512['mkdirSync'](_0x59279d,{'recursive':!![]});for(const _0x2ba017 of _0x554a88){const _0x3efb4c=a227_0x18bbb8[_0x283bc8(0x11f)](_0x43349c,_0x2ba017[_0x283bc8(0x112)]),_0x417d68=a227_0x18bbb8[_0x283bc8(0x11f)](_0x59279d,_0x2ba017[_0x283bc8(0x112)]);_0x2ba017[_0x283bc8(0x115)]()?await copyDirectory(_0x3efb4c,_0x417d68):a227_0x180512['copyFileSync'](_0x3efb4c,_0x417d68);}}catch(_0x1204c1){console['error'](_0x283bc8(0x121),_0x1204c1);}}
1
+ function a227_0x16bb(_0x196fd0,_0x4fa819){_0x196fd0=_0x196fd0-0x1a7;const _0x1193a5=a227_0x1193();let _0x16bb04=_0x1193a5[_0x196fd0];return _0x16bb04;}function a227_0x1193(){const _0x429d62=['1101516KNBTVM','error','copyFileSync','14331015mFRZWF','isDirectory','16fJUJuR','4647688QbJqZU','29263tOMzwv','mkdirSync','readdirSync','复制目录时出错:','5AtDPlc','join','name','477540JzrdPZ','1371223Opbdyi','1543794vIDcuS'];a227_0x1193=function(){return _0x429d62;};return a227_0x1193();}(function(_0x5e428f,_0x4b4062){const _0x54bd4b=a227_0x16bb,_0xcfc27b=_0x5e428f();while(!![]){try{const _0xb13e1=parseInt(_0x54bd4b(0x1b5))/0x1*(-parseInt(_0x54bd4b(0x1b3))/0x2)+-parseInt(_0x54bd4b(0x1ad))/0x3+parseInt(_0x54bd4b(0x1ae))/0x4*(parseInt(_0x54bd4b(0x1a8))/0x5)+parseInt(_0x54bd4b(0x1ab))/0x6+-parseInt(_0x54bd4b(0x1ac))/0x7+-parseInt(_0x54bd4b(0x1b4))/0x8+parseInt(_0x54bd4b(0x1b1))/0x9;if(_0xb13e1===_0x4b4062)break;else _0xcfc27b['push'](_0xcfc27b['shift']());}catch(_0x22ed4e){_0xcfc27b['push'](_0xcfc27b['shift']());}}}(a227_0x1193,0x66f78));import a227_0x566dc3 from'node:path';import a227_0xc18130 from'node:fs';export async function copyDirectory(_0x5057f3,_0x20c230){const _0x465f82=a227_0x16bb;try{const _0x215acf=a227_0xc18130[_0x465f82(0x1b7)](_0x5057f3,{'withFileTypes':!![]});a227_0xc18130[_0x465f82(0x1b6)](_0x20c230,{'recursive':!![]});for(const _0x5361fa of _0x215acf){const _0x3a22e0=a227_0x566dc3[_0x465f82(0x1a9)](_0x5057f3,_0x5361fa[_0x465f82(0x1aa)]),_0x24c441=a227_0x566dc3[_0x465f82(0x1a9)](_0x20c230,_0x5361fa['name']);_0x5361fa[_0x465f82(0x1b2)]()?await copyDirectory(_0x3a22e0,_0x24c441):a227_0xc18130[_0x465f82(0x1b0)](_0x3a22e0,_0x24c441);}}catch(_0x470ba6){console[_0x465f82(0x1af)](_0x465f82(0x1a7),_0x470ba6);}}
@@ -1 +1 @@
1
- function a228_0x1410(){const _0x57ca4a=['6819830EBgGfG','132ApCrrB','object','12KqByuE','string','47025LsHnLv','trim','152aBdOaG','isFinite','4635638BEsFqQ','18QIrdIL','2603248HoUeXS','2693930jWeJEF','number','5849pVqqTc','17172650HObiRw'];a228_0x1410=function(){return _0x57ca4a;};return a228_0x1410();}(function(_0x36c4f8,_0x425414){const _0x2b5d75=a228_0x52d3,_0x364bba=_0x36c4f8();while(!![]){try{const _0x3c69b4=parseInt(_0x2b5d75(0x1ad))/0x1*(-parseInt(_0x2b5d75(0x1a6))/0x2)+-parseInt(_0x2b5d75(0x1a4))/0x3*(parseInt(_0x2b5d75(0x1a0))/0x4)+parseInt(_0x2b5d75(0x19f))/0x5+parseInt(_0x2b5d75(0x1a2))/0x6*(-parseInt(_0x2b5d75(0x1a8))/0x7)+-parseInt(_0x2b5d75(0x1aa))/0x8+-parseInt(_0x2b5d75(0x1a9))/0x9*(-parseInt(_0x2b5d75(0x1ab))/0xa)+parseInt(_0x2b5d75(0x1ae))/0xb;if(_0x3c69b4===_0x425414)break;else _0x364bba['push'](_0x364bba['shift']());}catch(_0x421a08){_0x364bba['push'](_0x364bba['shift']());}}}(a228_0x1410,0xd0105));function a228_0x52d3(_0x3bcbeb,_0x4a61e2){_0x3bcbeb=_0x3bcbeb-0x19f;const _0x141058=a228_0x1410();let _0x52d3f5=_0x141058[_0x3bcbeb];return _0x52d3f5;}function toFiniteNumber(_0x5ca902){const _0x1d9e42=a228_0x52d3;if(typeof _0x5ca902===_0x1d9e42(0x1ac)&&Number[_0x1d9e42(0x1a7)](_0x5ca902))return _0x5ca902;if(typeof _0x5ca902===_0x1d9e42(0x1a3)){const _0x20d787=_0x5ca902[_0x1d9e42(0x1a5)]();if(!_0x20d787)return undefined;const _0x35b178=Number(_0x20d787);if(Number[_0x1d9e42(0x1a7)](_0x35b178))return _0x35b178;}return undefined;}export function normalizeEntityWithIdResponse(_0x392f94){const _0x4e8baa=a228_0x52d3,_0x58a636=toFiniteNumber(_0x392f94);if(_0x58a636!==undefined)return{'id':_0x58a636,'entity':{'id':_0x58a636}};if(!_0x392f94||typeof _0x392f94!==_0x4e8baa(0x1a1))return{'id':undefined,'entity':{}};const _0x224f53={..._0x392f94},_0x4cc5df=toFiniteNumber(_0x224f53['id']);return _0x4cc5df!==undefined&&(_0x224f53['id']=_0x4cc5df),{'id':_0x4cc5df,'entity':_0x224f53};}
1
+ function a228_0x5041(_0x57cc54,_0x286c6f){_0x57cc54=_0x57cc54-0x94;const _0x5e62b9=a228_0x5e62();let _0x504108=_0x5e62b9[_0x57cc54];return _0x504108;}(function(_0x1b1fb1,_0x353d72){const _0x3c31ef=a228_0x5041,_0x12169a=_0x1b1fb1();while(!![]){try{const _0x4a8fa9=-parseInt(_0x3c31ef(0x9d))/0x1+parseInt(_0x3c31ef(0x9c))/0x2+-parseInt(_0x3c31ef(0x98))/0x3*(-parseInt(_0x3c31ef(0x94))/0x4)+parseInt(_0x3c31ef(0x95))/0x5+parseInt(_0x3c31ef(0x9f))/0x6+-parseInt(_0x3c31ef(0x9e))/0x7*(-parseInt(_0x3c31ef(0x96))/0x8)+-parseInt(_0x3c31ef(0x97))/0x9;if(_0x4a8fa9===_0x353d72)break;else _0x12169a['push'](_0x12169a['shift']());}catch(_0x13db89){_0x12169a['push'](_0x12169a['shift']());}}}(a228_0x5e62,0xccdb5));function a228_0x5e62(){const _0x26cf62=['25892640QuSWGr','3KYwean','object','string','trim','478786WOcmaV','24169WucDpd','42AXQXEq','4894782MPQldQ','isFinite','2161360FyfQCR','5047040LVlCyU','1513712neLFZt'];a228_0x5e62=function(){return _0x26cf62;};return a228_0x5e62();}function toFiniteNumber(_0x42516c){const _0x4d3769=a228_0x5041;if(typeof _0x42516c==='number'&&Number[_0x4d3769(0xa0)](_0x42516c))return _0x42516c;if(typeof _0x42516c===_0x4d3769(0x9a)){const _0x10583e=_0x42516c[_0x4d3769(0x9b)]();if(!_0x10583e)return undefined;const _0x43740f=Number(_0x10583e);if(Number['isFinite'](_0x43740f))return _0x43740f;}return undefined;}export function normalizeEntityWithIdResponse(_0x19071c){const _0x297c7c=a228_0x5041,_0x42f180=toFiniteNumber(_0x19071c);if(_0x42f180!==undefined)return{'id':_0x42f180,'entity':{'id':_0x42f180}};if(!_0x19071c||typeof _0x19071c!==_0x297c7c(0x99))return{'id':undefined,'entity':{}};const _0x1924d8={..._0x19071c},_0x1b4d24=toFiniteNumber(_0x1924d8['id']);return _0x1b4d24!==undefined&&(_0x1924d8['id']=_0x1b4d24),{'id':_0x1b4d24,'entity':_0x1924d8};}