@lovrabet/rabetbase-cli 2.3.12 → 2.3.13-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (260) 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/async-task.js +1 -1
  48. package/lib/commands/common/dry-run.js +1 -1
  49. package/lib/commands/common/flags.js +1 -1
  50. package/lib/commands/common/local-file.js +1 -1
  51. package/lib/commands/common/validate.js +1 -1
  52. package/lib/commands/config/get.js +1 -1
  53. package/lib/commands/config/index.js +1 -1
  54. package/lib/commands/config/list.js +1 -1
  55. package/lib/commands/config/set.js +1 -1
  56. package/lib/commands/config/shared.js +1 -1
  57. package/lib/commands/data/filter.js +1 -1
  58. package/lib/commands/data/getOne.js +1 -1
  59. package/lib/commands/data/index.js +1 -1
  60. package/lib/commands/data/shared.js +1 -1
  61. package/lib/commands/dataset/business-group-update.js +1 -1
  62. package/lib/commands/dataset/capability.js +1 -1
  63. package/lib/commands/dataset/delete.js +1 -1
  64. package/lib/commands/dataset/detail.js +1 -1
  65. package/lib/commands/dataset/extend-update.js +1 -1
  66. package/lib/commands/dataset/field-update.js +1 -1
  67. package/lib/commands/dataset/generate.js +1 -1
  68. package/lib/commands/dataset/index.js +1 -1
  69. package/lib/commands/dataset/list.js +1 -1
  70. package/lib/commands/dataset/operations.js +1 -1
  71. package/lib/commands/dataset/relation-audit.js +1 -1
  72. package/lib/commands/dataset/relation-create.js +1 -1
  73. package/lib/commands/dataset/relation-delete.js +1 -1
  74. package/lib/commands/dataset/relation-shared.js +1 -1
  75. package/lib/commands/dataset/relation-update.js +1 -1
  76. package/lib/commands/dataset/relations.js +1 -1
  77. package/lib/commands/dataset/rename.js +1 -1
  78. package/lib/commands/dataset/restore.js +1 -1
  79. package/lib/commands/db/analysis-batching.js +1 -1
  80. package/lib/commands/db/analyze-batch-plan.js +1 -1
  81. package/lib/commands/db/analyze-cancel.js +1 -1
  82. package/lib/commands/db/analyze-start.js +1 -1
  83. package/lib/commands/db/analyze-status.js +1 -1
  84. package/lib/commands/db/create.js +1 -1
  85. package/lib/commands/db/delete.js +1 -1
  86. package/lib/commands/db/detail.js +1 -1
  87. package/lib/commands/db/diff.js +1 -1
  88. package/lib/commands/db/index.js +1 -1
  89. package/lib/commands/db/list.js +1 -1
  90. package/lib/commands/db/shared.js +1 -1
  91. package/lib/commands/db/tables.js +1 -1
  92. package/lib/commands/db/test.js +1 -1
  93. package/lib/commands/db/update.js +1 -1
  94. package/lib/commands/doctor.js +1 -1
  95. package/lib/commands/file/index.js +1 -1
  96. package/lib/commands/init/index.js +1 -1
  97. package/lib/commands/issue/index.js +1 -1
  98. package/lib/commands/issue/nudge.js +1 -1
  99. package/lib/commands/issue/report.js +1 -1
  100. package/lib/commands/issue/shared.js +1 -1
  101. package/lib/commands/logs/index.js +1 -1
  102. package/lib/commands/menu/delete.js +1 -1
  103. package/lib/commands/menu/external-link-create.js +1 -1
  104. package/lib/commands/menu/group-create.js +1 -1
  105. package/lib/commands/menu/group-update.js +1 -1
  106. package/lib/commands/menu/index.js +1 -1
  107. package/lib/commands/menu/list.js +1 -1
  108. package/lib/commands/menu/move.js +1 -1
  109. package/lib/commands/menu/regroup-start.js +1 -1
  110. package/lib/commands/menu/shared/compare-table.js +1 -1
  111. package/lib/commands/menu/shared/delete-plan.js +1 -1
  112. package/lib/commands/menu/shared/facts.js +1 -1
  113. package/lib/commands/menu/shared/index.js +1 -1
  114. package/lib/commands/menu/shared/inquirer.js +1 -1
  115. package/lib/commands/menu/shared/local-pages.js +1 -1
  116. package/lib/commands/menu/shared/logic.js +1 -1
  117. package/lib/commands/menu/shared/mutations.js +1 -1
  118. package/lib/commands/menu/shared/service.js +1 -1
  119. package/lib/commands/menu/shared/sync-core.js +1 -1
  120. package/lib/commands/menu/shared/update-core.js +1 -1
  121. package/lib/commands/menu/shared/valid-url.js +1 -1
  122. package/lib/commands/menu/sync.js +1 -1
  123. package/lib/commands/menu/update.js +1 -1
  124. package/lib/commands/notification/config-list.js +1 -1
  125. package/lib/commands/notification/index.js +1 -1
  126. package/lib/commands/page/generate-start.js +1 -1
  127. package/lib/commands/page/generate-status.js +1 -1
  128. package/lib/commands/page/index.js +1 -1
  129. package/lib/commands/page/pull.js +1 -1
  130. package/lib/commands/page/push.js +1 -1
  131. package/lib/commands/page/relation-audit.js +1 -1
  132. package/lib/commands/page/shared.js +1 -1
  133. package/lib/commands/page/standard-page-status.js +1 -1
  134. package/lib/commands/page/sync.js +1 -1
  135. package/lib/commands/permit/index.js +1 -1
  136. package/lib/commands/permit/page-get.js +1 -1
  137. package/lib/commands/permit/page-set.js +1 -1
  138. package/lib/commands/permit/role-apis-set.js +1 -1
  139. package/lib/commands/permit/role-menus-set.js +1 -1
  140. package/lib/commands/permit/role-menus.js +1 -1
  141. package/lib/commands/permit/shared.js +1 -1
  142. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  143. package/lib/commands/project/create/format-elapsed.js +1 -1
  144. package/lib/commands/project/create/main.js +1 -1
  145. package/lib/commands/project/create/non-interactive.js +1 -1
  146. package/lib/commands/project/create/project-template-path.js +1 -1
  147. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  148. package/lib/commands/project/create/use-format-code.js +1 -1
  149. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  150. package/lib/commands/project/index.js +1 -1
  151. package/lib/commands/project/init.js +1 -1
  152. package/lib/commands/project/upgrade.js +1 -1
  153. package/lib/commands/registry.js +1 -1
  154. package/lib/commands/role/create.js +1 -1
  155. package/lib/commands/role/delete.js +1 -1
  156. package/lib/commands/role/detail.js +1 -1
  157. package/lib/commands/role/index.js +1 -1
  158. package/lib/commands/role/list.js +1 -1
  159. package/lib/commands/role/shared.js +1 -1
  160. package/lib/commands/role/update.js +1 -1
  161. package/lib/commands/role/user-add.js +1 -1
  162. package/lib/commands/role/user-remove.js +1 -1
  163. package/lib/commands/role/user-resolve.js +1 -1
  164. package/lib/commands/run/index.js +1 -1
  165. package/lib/commands/schema.js +1 -1
  166. package/lib/commands/sql/create.js +1 -1
  167. package/lib/commands/sql/delete.js +1 -1
  168. package/lib/commands/sql/detail.js +1 -1
  169. package/lib/commands/sql/exec.js +1 -1
  170. package/lib/commands/sql/index.js +1 -1
  171. package/lib/commands/sql/list.js +1 -1
  172. package/lib/commands/sql/pull.js +1 -1
  173. package/lib/commands/sql/push.js +1 -1
  174. package/lib/commands/sql/save.js +1 -1
  175. package/lib/commands/sql/shared.js +1 -1
  176. package/lib/commands/sql/status.js +1 -1
  177. package/lib/commands/sql/validate.js +1 -1
  178. package/lib/commands/task/index.js +1 -1
  179. package/lib/commands/task/status.js +1 -1
  180. package/lib/commands/workspace/add.js +1 -1
  181. package/lib/commands/workspace/index.js +1 -1
  182. package/lib/commands/workspace/remove.js +1 -1
  183. package/lib/config/schema.js +1 -1
  184. package/lib/constant/cdn.js +1 -1
  185. package/lib/constant/cli.js +1 -1
  186. package/lib/constant/defaults.js +1 -1
  187. package/lib/constant/domain.js +1 -1
  188. package/lib/constant/env.js +1 -1
  189. package/lib/constant/output.js +1 -1
  190. package/lib/constant/paths.js +1 -1
  191. package/lib/constant/risk.js +1 -1
  192. package/lib/context/app-resolver.js +1 -1
  193. package/lib/context/auth-resolver.js +1 -1
  194. package/lib/context/config-loader.js +1 -1
  195. package/lib/context.js +1 -1
  196. package/lib/core/alias-resolver.js +1 -1
  197. package/lib/core/api-client.js +1 -1
  198. package/lib/core/bff/config.js +1 -1
  199. package/lib/core/bff/file-system.js +1 -1
  200. package/lib/core/bff/hash.js +1 -1
  201. package/lib/core/bff/lock.js +1 -1
  202. package/lib/core/bff/utils.js +1 -1
  203. package/lib/core/db-resolver.js +1 -1
  204. package/lib/core/page/file-system.js +1 -1
  205. package/lib/core/page/hash.js +1 -1
  206. package/lib/core/page/lock.js +1 -1
  207. package/lib/core/sql-index-auditor.js +1 -1
  208. package/lib/core/sql-sync/config.js +1 -1
  209. package/lib/core/sql-sync/file-system.js +1 -1
  210. package/lib/core/sql-sync/hash.js +1 -1
  211. package/lib/core/sql-sync/lock.js +1 -1
  212. package/lib/core/sql-sync/utils.js +1 -1
  213. package/lib/core/sql-validator.js +1 -1
  214. package/lib/errors.js +1 -1
  215. package/lib/framework/build-all-flags.js +1 -1
  216. package/lib/framework/error-output.js +1 -1
  217. package/lib/framework/explicit-yes.js +1 -1
  218. package/lib/framework/flags.js +1 -1
  219. package/lib/framework/help.js +1 -1
  220. package/lib/framework/index.js +1 -1
  221. package/lib/framework/output.js +1 -1
  222. package/lib/framework/response.js +1 -1
  223. package/lib/framework/runner-alias.js +1 -1
  224. package/lib/framework/runner.js +1 -1
  225. package/lib/framework/schema-export.js +1 -1
  226. package/lib/framework/types.js +1 -1
  227. package/lib/generated/build-info.js +1 -1
  228. package/lib/help.js +1 -1
  229. package/lib/skills/main.js +1 -1
  230. package/lib/skills/npx-skills-add.js +1 -1
  231. package/lib/telemetry/cli-command-trace.js +1 -1
  232. package/lib/telemetry/cli-help-trace.js +1 -1
  233. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  234. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  235. package/lib/telemetry/send-cli-trace-log.js +1 -1
  236. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  237. package/lib/utils/ai_config.js +1 -1
  238. package/lib/utils/apply-jq-filter.js +1 -1
  239. package/lib/utils/cdn-config.js +1 -1
  240. package/lib/utils/check-sdk-version.js +1 -1
  241. package/lib/utils/cli-version-check.js +1 -1
  242. package/lib/utils/cli-version-policy.js +1 -1
  243. package/lib/utils/config.js +1 -1
  244. package/lib/utils/copy-directory.js +1 -1
  245. package/lib/utils/entity-with-id.js +1 -1
  246. package/lib/utils/file-utils.js +1 -1
  247. package/lib/utils/guides-cdn.js +1 -1
  248. package/lib/utils/http-client.js +1 -1
  249. package/lib/utils/is-non-interactive.js +1 -1
  250. package/lib/utils/logger.js +1 -1
  251. package/lib/utils/params.js +1 -1
  252. package/lib/utils/platform.js +1 -1
  253. package/lib/utils/rules-cdn.js +1 -1
  254. package/lib/utils/sleep.js +1 -1
  255. package/lib/utils/template-replacer.js +1 -1
  256. package/lib/utils/update-notice.js +1 -1
  257. package/lib/utils/version.js +1 -1
  258. package/lib/utils/with-active-cookie.js +1 -1
  259. package/lib/utils/write-cli-side-channel.js +1 -1
  260. package/package.json +1 -1
@@ -1 +1 @@
1
- const a227_0x4bf3f4=a227_0x161b;(function(_0x244ac5,_0x107616){const _0xa54dbb=a227_0x161b,_0x4294c1=_0x244ac5();while(!![]){try{const _0x2a7b79=parseInt(_0xa54dbb(0x195))/0x1*(parseInt(_0xa54dbb(0x1b9))/0x2)+-parseInt(_0xa54dbb(0x1ba))/0x3+-parseInt(_0xa54dbb(0x1ac))/0x4+-parseInt(_0xa54dbb(0x1a3))/0x5+parseInt(_0xa54dbb(0x190))/0x6+-parseInt(_0xa54dbb(0x18d))/0x7+parseInt(_0xa54dbb(0x19a))/0x8;if(_0x2a7b79===_0x107616)break;else _0x4294c1['push'](_0x4294c1['shift']());}catch(_0x29f0f4){_0x4294c1['push'](_0x4294c1['shift']());}}}(a227_0x4f59,0x61f83));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';import{isNonInteractive as a227_0x13bdeb}from'../utils/is-non-interactive.js';function a227_0x4f59(){const _0x10b813=['appcode','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','verbose','toUpperCase','6661800eMUCUB','doctor','hint','catch','mergedCli','some','No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.','update','object','188505foYWpk','⚠\x20\x20High-risk\x20operation:\x20','isNonInteractive','hasFormat','includes','defaultPageSize','explicitAppName','apiDir','Current\x20resolved\x20appcode\x20is\x20\x22','933544BZOYBI','_notice','required','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','appCode','message','../core/api-client.js','Set\x20appcode\x20via\x20`','pretty','resolveAppCode','filter','apps','currentApp','10mILpQN','1937520wJzzoZ','configMissing','defaultApp','validation','rawFlags','\x20\x20\x20Continue?\x20[y/N]\x20','selectedAppName','nonInteractive','meowKey','map','has','High-risk\x20operation\x20`','cancelled','requiresAppCode','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','RABETBASE_APPCODE','cookie','pageSize','name','value','service','none','3738224oazrHR','resolve','string','4487532KwpuQF','authRequired','riskLevel','LOVRABET_APPCODE','resolveCookie','54319jCWfHw'];a227_0x4f59=function(){return _0x10b813;};return a227_0x4f59();}import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x4b9606){const _0x41adb4=a227_0x161b;return typeof _0x4b9606===_0x41adb4(0x18f)&&_0x4b9606['trim']()?_0x4b9606['trim']():undefined;}function a227_0x161b(_0x7cd606,_0x3898dd){_0x7cd606=_0x7cd606-0x18a;const _0x4f5997=a227_0x4f59();let _0x161b9c=_0x4f5997[_0x7cd606];return _0x161b9c;}function resolveEnvAppCode(){const _0x3ed9aa=a227_0x161b,_0x2a6687=stringFlag(process.env.RABETBASE_APPCODE);if(_0x2a6687)return{'name':_0x3ed9aa(0x1c9),'value':_0x2a6687};const _0x3f4f5f=stringFlag(process.env.LOVRABET_APPCODE);if(_0x3f4f5f)return{'name':_0x3ed9aa(0x193),'value':_0x3f4f5f};return undefined;}function hasExplicitAppCode(_0x477c13,_0x2c558f){const _0x3e9192=a227_0x161b;return!!(stringFlag(_0x477c13[_0x3e9192(0x196)])||stringFlag(_0x2c558f[_0x3e9192(0x196)]));}function assertEnvAppCodeNotIgnored(_0xf500b6,_0x1bad2f,_0x235533){const _0x23c117=a227_0x161b;if(!_0x1bad2f||_0x235533||_0xf500b6===_0x1bad2f[_0x23c117(0x18a)])return;const _0x16dea1=_0xf500b6?_0x23c117(0x1ab)+_0xf500b6+'\x22.':_0x23c117(0x1a0);throw CliErrors[_0x23c117(0x1bd)](_0x1bad2f[_0x23c117(0x1cc)]+'='+_0x1bad2f[_0x23c117(0x18a)]+'\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20'+_0x16dea1+'\x20'+(_0x23c117(0x1af)+_0x1bad2f[_0x23c117(0x1cc)]+'\x22.'));}export function createPipelineEnv(_0x2c35de,_0x35d42d,_0x555e3c=[]){const _0x374751=a227_0x161b;return{'rawFlags':_0x35d42d,'args':_0x555e3c,'resolveAppCode':()=>_0x2c35de[_0x374751(0x1b0)],'resolveCookie':()=>_0x2c35de[_0x374751(0x1ca)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a227_0x13bdeb(_0x35d42d),'defaultFormat':_0x2c35de['format'],'defaultPageSize':_0x2c35de[_0x374751(0x1cb)],'defaultVerbose':_0x2c35de[_0x374751(0x198)],'apiDir':_0x2c35de[_0x374751(0x1aa)],'riskLevel':_0x2c35de[_0x374751(0x192)],'selectedAppName':_0x2c35de[_0x374751(0x1a9)],'mergedCli':{'defaultApp':_0x2c35de[_0x374751(0x1bc)],'currentApp':_0x2c35de[_0x374751(0x1b8)],'appCode':_0x2c35de[_0x374751(0x1b0)],'apps':_0x2c35de[_0x374751(0x1b7)]}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[a227_0x4bf3f4(0x1b6)](_0x2e97d6=>PIPELINE_FLAG_NAMES[a227_0x4bf3f4(0x1c4)](_0x2e97d6[a227_0x4bf3f4(0x1cc)]))[a227_0x4bf3f4(0x1c3)](({name:_0x5088e7,type:_0x36507c,description:_0x865cb0})=>({'name':_0x5088e7,'type':_0x36507c,'description':_0x865cb0})),'formatOutput':formatOutput,'getCommandLabel'(_0x3f9bbc){return CLI_BIN_NAME+'\x20'+_0x3f9bbc['service']+'\x20'+_0x3f9bbc['command'];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x19f593){const _0x491396=a227_0x4bf3f4;return CliErrors[_0x491396(0x1bd)](_0x19f593);}},async 'prepare'(_0x5bb55e,_0x2689a1,_0x68c8,_0x3cfd1f){const _0x1c5702=a227_0x4bf3f4,_0x1d90bc=_0x2689a1[_0x1c5702(0x1aa)]||DEFAULT_API_DIR;resolveAliasToCode(_0x5bb55e,_0x68c8,_0x1d90bc,_0x3cfd1f);const _0xe4dfd2=resolveCommandAuthMode(_0x5bb55e);let _0x2ff1ac='';if(_0xe4dfd2!==_0x1c5702(0x18c)){_0x2ff1ac=_0x2689a1[_0x1c5702(0x194)]()||'';if(!_0x2ff1ac){if(_0xe4dfd2===_0x1c5702(0x1ae))throw CliErrors[_0x1c5702(0x191)]();}else{const {setActiveCookie:_0x2b86b6}=await import(_0x1c5702(0x1b2));_0x2b86b6(_0x2ff1ac);}}const _0x3abf79=_0x2689a1[_0x1c5702(0x1b5)]()??'';if(_0x5bb55e[_0x1c5702(0x1c7)]!==![]){assertEnvAppCodeNotIgnored(_0x3abf79,resolveEnvAppCode(),hasExplicitAppCode(_0x68c8,_0x2689a1[_0x1c5702(0x1be)]));if(!_0x3abf79)throw CliErrors[_0x1c5702(0x1bb)](_0x1c5702(0x1b3)+CLI_BIN_NAME+_0x1c5702(0x1c8));}return{'defaults':{'booleans':{'verbose':_0x2689a1['defaultVerbose']},'numbers':{'pagesize':_0x2689a1[_0x1c5702(0x1a8)]}},'extras':{'appCode':_0x3abf79,'cookie':_0x2ff1ac,'apiDomain':_0x2689a1['resolveApiDomain'](),'apiDir':_0x1d90bc,'selectedAppName':_0x2689a1[_0x1c5702(0x1c0)],'mergedCli':_0x2689a1[_0x1c5702(0x19e)]}};},async 'confirmHighRisk'({env:_0x40b33b,commandLabel:_0xae3dbc}){const _0x50e2b1=a227_0x4bf3f4;if(_0x40b33b[_0x50e2b1(0x1a5)])throw CliErrors[_0x50e2b1(0x1bd)](_0x50e2b1(0x1c5)+_0xae3dbc+_0x50e2b1(0x197));await requireConfirmationPrompt({'lines':[_0x50e2b1(0x1a4)+_0xae3dbc,_0x50e2b1(0x1bf)],'createCancelledError':_0x44c4ae=>CliErrors[_0x50e2b1(0x1c6)](_0x44c4ae)});},async 'finalize'(){const {clearActiveCookie:_0x20b2e5}=await import('../core/api-client.js');_0x20b2e5();}};export async function runCommand(_0x41ce13,_0x4e4253){assertRejectedFlags(_0x41ce13,_0x4e4253['rawFlags']),await runCommandWithAdapter(shouldAttachUpdateNotice(_0x41ce13)?withUpdateNotice(_0x41ce13):_0x41ce13,_0x4e4253,runnerAdapter);}function assertRejectedFlags(_0xb9e9de,_0x3374aa){const _0x70fb95=a227_0x4bf3f4;for(const _0x455837 of _0xb9e9de['rejectedFlags']??[]){const _0xb177b1=GLOBAL_FLAGS['find'](_0xf0de3c=>_0xf0de3c[_0x70fb95(0x1cc)]===_0x455837['name']),_0x17848d=new Set([_0x455837[_0x70fb95(0x1cc)],toCamelCase(_0x455837[_0x70fb95(0x1cc)]),_0xb177b1?.[_0x70fb95(0x1c2)]]),_0x2b5cb2=[..._0x17848d][_0x70fb95(0x19f)](_0x1436a0=>{if(!_0x1436a0)return![];const _0x197eb4=_0x3374aa[_0x1436a0];return _0x197eb4!==undefined&&_0x197eb4!==null&&_0x197eb4!==![];});if(_0x2b5cb2)throw CliErrors[_0x70fb95(0x1bd)](_0x455837[_0x70fb95(0x1b1)],_0x455837[_0x70fb95(0x19c)]);}}function toCamelCase(_0x49c95c){const _0x2d01d0=a227_0x4bf3f4;return _0x49c95c['replace'](/-([a-z])/g,(_0x58664a,_0x5c1c0d)=>_0x5c1c0d[_0x2d01d0(0x199)]());}function shouldAttachUpdateNotice(_0x4ae8a4){const _0x4f0a2c=a227_0x4bf3f4;if(_0x4ae8a4[_0x4f0a2c(0x1a6)]===![])return![];return![_0x4f0a2c(0x1a1),'schema',_0x4f0a2c(0x19b)][_0x4f0a2c(0x1a7)](_0x4ae8a4[_0x4f0a2c(0x18b)]);}function withUpdateNotice(_0xe446d9){return{..._0xe446d9,async 'execute'(_0x2ba785){const _0x22bb3d=a227_0x161b,_0x129b8b=shouldResolveUpdateNotice(_0x2ba785)?resolveLatestUpdateNotice()[_0x22bb3d(0x19d)](()=>null):Promise[_0x22bb3d(0x18e)](null),_0x1a1707=await _0xe446d9['execute'](_0x2ba785);return attachUpdateNotice(_0x1a1707,await _0x129b8b);}};}function shouldResolveUpdateNotice(_0x3b70ee){const _0xb3a615=a227_0x4bf3f4;return _0x3b70ee['format']===_0xb3a615(0x1b4)&&!_0x3b70ee[_0xb3a615(0x1c1)];}function attachUpdateNotice(_0x1045b9,_0x2a87af){const _0x47cc2d=a227_0x4bf3f4;if(!_0x2a87af||!_0x1045b9||typeof _0x1045b9!==_0x47cc2d(0x1a2))return _0x1045b9;const _0x45d147=_0x1045b9,_0x42197b=typeof _0x45d147[_0x47cc2d(0x1ad)]===_0x47cc2d(0x1a2)&&_0x45d147['_notice']!==null?_0x45d147[_0x47cc2d(0x1ad)]:{};return{..._0x45d147,'_notice':{..._0x42197b,'update':_0x2a87af}};}
1
+ const a227_0x47d170=a227_0x5e00;(function(_0x591541,_0x52c24d){const _0x55e7d3=a227_0x5e00,_0x3c990b=_0x591541();while(!![]){try{const _0x1abf9f=-parseInt(_0x55e7d3(0xd8))/0x1*(-parseInt(_0x55e7d3(0xc7))/0x2)+parseInt(_0x55e7d3(0xdc))/0x3*(-parseInt(_0x55e7d3(0xc0))/0x4)+-parseInt(_0x55e7d3(0xa5))/0x5+-parseInt(_0x55e7d3(0xa7))/0x6+-parseInt(_0x55e7d3(0xab))/0x7*(parseInt(_0x55e7d3(0xc1))/0x8)+parseInt(_0x55e7d3(0xa6))/0x9+-parseInt(_0x55e7d3(0xd2))/0xa*(-parseInt(_0x55e7d3(0xb9))/0xb);if(_0x1abf9f===_0x52c24d)break;else _0x3c990b['push'](_0x3c990b['shift']());}catch(_0x4e9790){_0x3c990b['push'](_0x3c990b['shift']());}}}(a227_0x3299,0x8cb3b));import{resolveCommandAuthMode,runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';function a227_0x3299(){const _0x488ba1=['replace','string','defaultApp','276960SeTlRq','../core/api-client.js','riskLevel','nonInteractive','⚠\x20\x20High-risk\x20operation:\x20','mergedCli','1013lCvdVG','hasFormat','includes','resolve','3696ZdQOrV','hint','LOVRABET_APPCODE','name','verbose','filter','_notice','update','isNonInteractive','requiresAppCode','3465145yEBPtu','5998050XPWFjK','2381754mdIVbo','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','High-risk\x20operation\x20`','value','369530lMWsLD','none','rejectedFlags','meowKey','cookie','schema','defaultPageSize','required','command','service','resolveCookie','format','trim','explicitAppName','308FcffRp','validation','has','\x20\x20\x20Continue?\x20[y/N]\x20','rawFlags','configMissing','Current\x20resolved\x20appcode\x20is\x20\x22','544FBompL','8FgEZgb','Set\x20appcode\x20via\x20`','object','pageSize','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','appCode','878qFlhzy','resolveAppCode','appcode','cancelled','apiDir','catch','resolveApiDomain','No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.'];a227_0x3299=function(){return _0x488ba1;};return a227_0x3299();}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 a227_0x53efc1}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x9b9f36){const _0x247873=a227_0x5e00;return typeof _0x9b9f36===_0x247873(0xd0)&&_0x9b9f36[_0x247873(0xb7)]()?_0x9b9f36[_0x247873(0xb7)]():undefined;}function resolveEnvAppCode(){const _0x4c7819=a227_0x5e00,_0x3e707b=stringFlag(process.env.RABETBASE_APPCODE);if(_0x3e707b)return{'name':'RABETBASE_APPCODE','value':_0x3e707b};const _0x200af3=stringFlag(process.env.LOVRABET_APPCODE);if(_0x200af3)return{'name':_0x4c7819(0xde),'value':_0x200af3};return undefined;}function hasExplicitAppCode(_0x134221,_0x4cd5bf){const _0x3d8fe8=a227_0x5e00;return!!(stringFlag(_0x134221[_0x3d8fe8(0xc9)])||stringFlag(_0x4cd5bf[_0x3d8fe8(0xc9)]));}function a227_0x5e00(_0x41ae03,_0x26de31){_0x41ae03=_0x41ae03-0xa3;const _0x329963=a227_0x3299();let _0x5e0029=_0x329963[_0x41ae03];return _0x5e0029;}function assertEnvAppCodeNotIgnored(_0x1f6083,_0x32f2a3,_0x180d82){const _0x2054c2=a227_0x5e00;if(!_0x32f2a3||_0x180d82||_0x1f6083===_0x32f2a3[_0x2054c2(0xaa)])return;const _0x183db7=_0x1f6083?_0x2054c2(0xbf)+_0x1f6083+'\x22.':_0x2054c2(0xce);throw CliErrors[_0x2054c2(0xba)](_0x32f2a3['name']+'='+_0x32f2a3['value']+'\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20'+_0x183db7+'\x20'+(_0x2054c2(0xa8)+_0x32f2a3[_0x2054c2(0xdf)]+'\x22.'));}export function createPipelineEnv(_0x2a0033,_0x5cc231,_0x3568b8=[]){const _0x5e69f4=a227_0x5e00;return{'rawFlags':_0x5cc231,'args':_0x3568b8,'resolveAppCode':()=>_0x2a0033[_0x5e69f4(0xc6)],'resolveCookie':()=>_0x2a0033[_0x5e69f4(0xaf)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a227_0x53efc1(_0x5cc231),'defaultFormat':_0x2a0033['format'],'defaultPageSize':_0x2a0033[_0x5e69f4(0xc4)],'defaultVerbose':_0x2a0033[_0x5e69f4(0xe0)],'apiDir':_0x2a0033[_0x5e69f4(0xcb)],'riskLevel':_0x2a0033[_0x5e69f4(0xd4)],'selectedAppName':_0x2a0033[_0x5e69f4(0xb8)],'mergedCli':{'defaultApp':_0x2a0033[_0x5e69f4(0xd1)],'currentApp':_0x2a0033['currentApp'],'appCode':_0x2a0033['appCode'],'apps':_0x2a0033['apps']}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[a227_0x47d170(0xe1)](_0x535ec9=>PIPELINE_FLAG_NAMES[a227_0x47d170(0xbb)](_0x535ec9[a227_0x47d170(0xdf)]))['map'](({name:_0x42df48,type:_0x354c3e,description:_0xda7b5a})=>({'name':_0x42df48,'type':_0x354c3e,'description':_0xda7b5a})),'formatOutput':formatOutput,'getCommandLabel'(_0x725018){const _0x5a614c=a227_0x47d170;return CLI_BIN_NAME+'\x20'+_0x725018[_0x5a614c(0xb4)]+'\x20'+_0x725018[_0x5a614c(0xb3)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x11fa22){const _0x458e38=a227_0x47d170;return CliErrors[_0x458e38(0xba)](_0x11fa22);}},async 'prepare'(_0x13a639,_0x6be1b2,_0x291538,_0x586a7a){const _0x5e1b3f=a227_0x47d170,_0x328040=_0x6be1b2['apiDir']||DEFAULT_API_DIR;resolveAliasToCode(_0x13a639,_0x291538,_0x328040,_0x586a7a);const _0xdb2097=resolveCommandAuthMode(_0x13a639);let _0x3e5852='';if(_0xdb2097!==_0x5e1b3f(0xac)){_0x3e5852=_0x6be1b2[_0x5e1b3f(0xb5)]()||'';if(!_0x3e5852){if(_0xdb2097===_0x5e1b3f(0xb2))throw CliErrors['authRequired']();}else{const {setActiveCookie:_0x1bcb01}=await import(_0x5e1b3f(0xd3));_0x1bcb01(_0x3e5852);}}const _0x110563=_0x6be1b2[_0x5e1b3f(0xc8)]()??'';if(_0x13a639[_0x5e1b3f(0xa4)]!==![]){assertEnvAppCodeNotIgnored(_0x110563,resolveEnvAppCode(),hasExplicitAppCode(_0x291538,_0x6be1b2[_0x5e1b3f(0xbd)]));if(!_0x110563)throw CliErrors[_0x5e1b3f(0xbe)](_0x5e1b3f(0xc2)+CLI_BIN_NAME+'\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.');}return{'defaults':{'booleans':{'verbose':_0x6be1b2['defaultVerbose']},'numbers':{'pagesize':_0x6be1b2[_0x5e1b3f(0xb1)]}},'extras':{'appCode':_0x110563,'cookie':_0x3e5852,'apiDomain':_0x6be1b2[_0x5e1b3f(0xcd)](),'apiDir':_0x328040,'selectedAppName':_0x6be1b2['selectedAppName'],'mergedCli':_0x6be1b2[_0x5e1b3f(0xd7)]}};},async 'confirmHighRisk'({env:_0x3aae85,commandLabel:_0x192c53}){const _0x5c88f1=a227_0x47d170;if(_0x3aae85[_0x5c88f1(0xa3)])throw CliErrors['validation'](_0x5c88f1(0xa9)+_0x192c53+_0x5c88f1(0xc5));await requireConfirmationPrompt({'lines':[_0x5c88f1(0xd6)+_0x192c53,_0x5c88f1(0xbc)],'createCancelledError':_0x19450b=>CliErrors[_0x5c88f1(0xca)](_0x19450b)});},async 'finalize'(){const {clearActiveCookie:_0x4133be}=await import('../core/api-client.js');_0x4133be();}};export async function runCommand(_0x5d6067,_0x93d738){const _0x39d21c=a227_0x47d170;assertRejectedFlags(_0x5d6067,_0x93d738[_0x39d21c(0xbd)]),await runCommandWithAdapter(shouldAttachUpdateNotice(_0x5d6067)?withUpdateNotice(_0x5d6067):_0x5d6067,_0x93d738,runnerAdapter);}function assertRejectedFlags(_0x2bc7ea,_0x27b478){const _0x262f2e=a227_0x47d170;for(const _0x3137b6 of _0x2bc7ea[_0x262f2e(0xad)]??[]){const _0x4ce82f=GLOBAL_FLAGS['find'](_0x35b8eb=>_0x35b8eb[_0x262f2e(0xdf)]===_0x3137b6[_0x262f2e(0xdf)]),_0x63ac4e=new Set([_0x3137b6['name'],toCamelCase(_0x3137b6['name']),_0x4ce82f?.[_0x262f2e(0xae)]]),_0x1c0530=[..._0x63ac4e]['some'](_0x23e4c4=>{if(!_0x23e4c4)return![];const _0x46d630=_0x27b478[_0x23e4c4];return _0x46d630!==undefined&&_0x46d630!==null&&_0x46d630!==![];});if(_0x1c0530)throw CliErrors[_0x262f2e(0xba)](_0x3137b6['message'],_0x3137b6[_0x262f2e(0xdd)]);}}function toCamelCase(_0x14bb96){const _0x19f04c=a227_0x47d170;return _0x14bb96[_0x19f04c(0xcf)](/-([a-z])/g,(_0xbbfb2f,_0x14c36e)=>_0x14c36e['toUpperCase']());}function shouldAttachUpdateNotice(_0x16761a){const _0x4178c7=a227_0x47d170;if(_0x16761a[_0x4178c7(0xd9)]===![])return![];return![_0x4178c7(0xe3),_0x4178c7(0xb0),'doctor'][_0x4178c7(0xda)](_0x16761a['service']);}function withUpdateNotice(_0x5e1f26){return{..._0x5e1f26,async 'execute'(_0x30a7be){const _0x2386d5=a227_0x5e00,_0x1d50bf=shouldResolveUpdateNotice(_0x30a7be)?resolveLatestUpdateNotice()[_0x2386d5(0xcc)](()=>null):Promise[_0x2386d5(0xdb)](null),_0x9fc769=await _0x5e1f26['execute'](_0x30a7be);return attachUpdateNotice(_0x9fc769,await _0x1d50bf);}};}function shouldResolveUpdateNotice(_0x280d22){const _0x648c8e=a227_0x47d170;return _0x280d22[_0x648c8e(0xb6)]==='pretty'&&!_0x280d22[_0x648c8e(0xd5)];}function attachUpdateNotice(_0x422a14,_0x2e8e1e){const _0xd5e320=a227_0x47d170;if(!_0x2e8e1e||!_0x422a14||typeof _0x422a14!==_0xd5e320(0xc3))return _0x422a14;const _0x5d7dc3=_0x422a14,_0xfc35d6=typeof _0x5d7dc3[_0xd5e320(0xe2)]===_0xd5e320(0xc3)&&_0x5d7dc3[_0xd5e320(0xe2)]!==null?_0x5d7dc3['_notice']:{};return{..._0x5d7dc3,'_notice':{..._0xfc35d6,'update':_0x2e8e1e}};}
@@ -1 +1 @@
1
- (function(_0x204143,_0x41f4d5){const _0x18c2cb=a228_0x48c2,_0x21d818=_0x204143();while(!![]){try{const _0x4ec687=parseInt(_0x18c2cb(0x127))/0x1*(-parseInt(_0x18c2cb(0x125))/0x2)+-parseInt(_0x18c2cb(0x12b))/0x3+parseInt(_0x18c2cb(0x129))/0x4+-parseInt(_0x18c2cb(0x128))/0x5*(-parseInt(_0x18c2cb(0x126))/0x6)+parseInt(_0x18c2cb(0x124))/0x7+-parseInt(_0x18c2cb(0x12a))/0x8+parseInt(_0x18c2cb(0x123))/0x9;if(_0x4ec687===_0x41f4d5)break;else _0x21d818['push'](_0x21d818['shift']());}catch(_0x30a3ae){_0x21d818['push'](_0x21d818['shift']());}}}(a228_0x27c6,0xb841c));function a228_0x48c2(_0x13a2a3,_0x5119b1){_0x13a2a3=_0x13a2a3-0x122;const _0x27c688=a228_0x27c6();let _0x48c2f3=_0x27c688[_0x13a2a3];return _0x48c2f3;}import{buildSchemaPayload as a228_0x5b975b}from'@lovrabet/cli-framework';function a228_0x27c6(){const _0x478faa=['1890930IWbMDj','16883MkAXUO','15bhkEjX','2683296Krkskj','11803520lZZuHD','3670521mkShZW','../commands/registry.js','11536884tYJOnp','7552097DkWtIZ','62BuvIzL'];a228_0x27c6=function(){return _0x478faa;};return a228_0x27c6();}import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0xbf2507=a228_0x48c2,{serviceRegistry:_0x3e4bd4,findDefinition:_0x159811}=await import(_0xbf2507(0x122));return a228_0x5b975b({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x3e4bd4,'buildAllFlags':buildAllFlags,'findDefinition':_0x159811});}
1
+ function a228_0x370d(){const _0x4b30fe=['97241KJwpjL','6dOUuxz','3180704tbDvun','3136512WmQatX','9736279whjYaO','381609URfwdA','330HIrqAu','2QDoUEH','1517315ReOzxt','425220hJKwDF','../commands/registry.js'];a228_0x370d=function(){return _0x4b30fe;};return a228_0x370d();}function a228_0x2ee4(_0x34d928,_0x1c69e8){_0x34d928=_0x34d928-0x123;const _0x370d97=a228_0x370d();let _0x2ee4d4=_0x370d97[_0x34d928];return _0x2ee4d4;}(function(_0x499a97,_0x570eaa){const _0x4115f2=a228_0x2ee4,_0x2e0d67=_0x499a97();while(!![]){try{const _0x48c6df=parseInt(_0x4115f2(0x128))/0x1*(-parseInt(_0x4115f2(0x124))/0x2)+parseInt(_0x4115f2(0x12b))/0x3+-parseInt(_0x4115f2(0x126))/0x4+parseInt(_0x4115f2(0x125))/0x5+-parseInt(_0x4115f2(0x129))/0x6*(-parseInt(_0x4115f2(0x12c))/0x7)+-parseInt(_0x4115f2(0x12a))/0x8+parseInt(_0x4115f2(0x12d))/0x9*(-parseInt(_0x4115f2(0x123))/0xa);if(_0x48c6df===_0x570eaa)break;else _0x2e0d67['push'](_0x2e0d67['shift']());}catch(_0x35f46d){_0x2e0d67['push'](_0x2e0d67['shift']());}}}(a228_0x370d,0xb48a9));import{buildSchemaPayload as a228_0x2707d8}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';import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x5d359f=a228_0x2ee4,{serviceRegistry:_0x2a77e0,findDefinition:_0x4b130d}=await import(_0x5d359f(0x127));return a228_0x2707d8({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x2a77e0,'buildAllFlags':buildAllFlags,'findDefinition':_0x4b130d});}
@@ -1 +1 @@
1
- function a229_0x31f5(){var _0x5dfd76=['168616XAFgKp','3982865mambkY','21fnNFhh','1353044QXOkff','1645604whLJUD','11tUjVhH','10538890rFIFgQ','90DoWtYx','230968cjfgbR','34244mXqWMP','174SFinsN'];a229_0x31f5=function(){return _0x5dfd76;};return a229_0x31f5();}function a229_0x3558(_0x16185e,_0x14bbac){_0x16185e=_0x16185e-0x1d1;var _0x31f5df=a229_0x31f5();var _0x3558f4=_0x31f5df[_0x16185e];return _0x3558f4;}(function(_0x425db3,_0x46c46d){var _0xb36f12=a229_0x3558,_0x1c4769=_0x425db3();while(!![]){try{var _0x551aca=-parseInt(_0xb36f12(0x1da))/0x1+parseInt(_0xb36f12(0x1db))/0x2+parseInt(_0xb36f12(0x1d9))/0x3*(parseInt(_0xb36f12(0x1d5))/0x4)+-parseInt(_0xb36f12(0x1d8))/0x5+parseInt(_0xb36f12(0x1d6))/0x6*(parseInt(_0xb36f12(0x1d7))/0x7)+parseInt(_0xb36f12(0x1d4))/0x8*(parseInt(_0xb36f12(0x1d3))/0x9)+parseInt(_0xb36f12(0x1d2))/0xa*(parseInt(_0xb36f12(0x1d1))/0xb);if(_0x551aca===_0x46c46d)break;else _0x1c4769['push'](_0x1c4769['shift']());}catch(_0x2dcc87){_0x1c4769['push'](_0x1c4769['shift']());}}}(a229_0x31f5,0xbd077));export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';
1
+ function a229_0x2a51(_0x1fbab5,_0x1c6af4){_0x1fbab5=_0x1fbab5-0x19a;var _0x377b79=a229_0x377b();var _0x2a5106=_0x377b79[_0x1fbab5];return _0x2a5106;}function a229_0x377b(){var _0x43b6dd=['1922944EAyklh','55156ZpTdOb','36AvdRLi','94744WxbuSh','130HXplxa','2305lasUDE','235557ERemnT','654FVxUoL','469803NxhRJG','17612qSNGsJ'];a229_0x377b=function(){return _0x43b6dd;};return a229_0x377b();}(function(_0x3558fd,_0x3cca30){var _0x14a2e7=a229_0x2a51,_0x3ad94a=_0x3558fd();while(!![]){try{var _0x49a266=parseInt(_0x14a2e7(0x19c))/0x1+-parseInt(_0x14a2e7(0x19e))/0x2+-parseInt(_0x14a2e7(0x1a3))/0x3+-parseInt(_0x14a2e7(0x19d))/0x4*(parseInt(_0x14a2e7(0x1a0))/0x5)+parseInt(_0x14a2e7(0x1a2))/0x6*(-parseInt(_0x14a2e7(0x19a))/0x7)+parseInt(_0x14a2e7(0x19b))/0x8+parseInt(_0x14a2e7(0x1a1))/0x9*(parseInt(_0x14a2e7(0x19f))/0xa);if(_0x49a266===_0x3cca30)break;else _0x3ad94a['push'](_0x3ad94a['shift']());}catch(_0x2eda89){_0x3ad94a['push'](_0x3ad94a['shift']());}}}(a229_0x377b,0x2573f));export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';
@@ -1 +1 @@
1
- const a230_0x104ae5=a230_0x336c;function a230_0x22de(){const _0x104f55=['698xiCDHo','feb8d38','v2.3.12-beta.1','8250816BNqFpK','2026-08-04T08:14:29.635Z','2522795EQcRaR','48984720thpeYy','27853KUobEF','8802162TwpScr','2.3.12','2817LXSxtV','348omwfAK','1101588vyJgal','4zkzpdd'];a230_0x22de=function(){return _0x104f55;};return a230_0x22de();}(function(_0xd9feb0,_0x2e2dfe){const _0x1ffbe8=a230_0x336c,_0x3e9c91=_0xd9feb0();while(!![]){try{const _0x4566d5=-parseInt(_0x1ffbe8(0x128))/0x1+-parseInt(_0x1ffbe8(0x12a))/0x2*(parseInt(_0x1ffbe8(0x126))/0x3)+-parseInt(_0x1ffbe8(0x129))/0x4*(parseInt(_0x1ffbe8(0x121))/0x5)+parseInt(_0x1ffbe8(0x127))/0x6*(-parseInt(_0x1ffbe8(0x123))/0x7)+-parseInt(_0x1ffbe8(0x11f))/0x8+-parseInt(_0x1ffbe8(0x124))/0x9+parseInt(_0x1ffbe8(0x122))/0xa;if(_0x4566d5===_0x2e2dfe)break;else _0x3e9c91['push'](_0x3e9c91['shift']());}catch(_0x1f5209){_0x3e9c91['push'](_0x3e9c91['shift']());}}}(a230_0x22de,0xb0dee));export const VERSION=a230_0x104ae5(0x125);export const GIT_TAG=a230_0x104ae5(0x11e);function a230_0x336c(_0x110d27,_0xd2c0c2){_0x110d27=_0x110d27-0x11d;const _0x22de42=a230_0x22de();let _0x336c67=_0x22de42[_0x110d27];return _0x336c67;}export const GIT_COMMIT=a230_0x104ae5(0x11d);export const BUILD_TIME=a230_0x104ae5(0x120);
1
+ const a230_0x512a89=a230_0x7703;(function(_0x1ad129,_0x376286){const _0x158507=a230_0x7703,_0x2ebd78=_0x1ad129();while(!![]){try{const _0x39c682=parseInt(_0x158507(0x70))/0x1*(parseInt(_0x158507(0x6e))/0x2)+-parseInt(_0x158507(0x71))/0x3*(parseInt(_0x158507(0x68))/0x4)+parseInt(_0x158507(0x76))/0x5+parseInt(_0x158507(0x74))/0x6*(-parseInt(_0x158507(0x6b))/0x7)+parseInt(_0x158507(0x6d))/0x8*(parseInt(_0x158507(0x69))/0x9)+parseInt(_0x158507(0x75))/0xa+parseInt(_0x158507(0x77))/0xb*(parseInt(_0x158507(0x6f))/0xc);if(_0x39c682===_0x376286)break;else _0x2ebd78['push'](_0x2ebd78['shift']());}catch(_0x643562){_0x2ebd78['push'](_0x2ebd78['shift']());}}}(a230_0xb1df,0x1e139));export const VERSION=a230_0x512a89(0x6c);export const GIT_TAG=a230_0x512a89(0x72);export const GIT_COMMIT=a230_0x512a89(0x73);export const BUILD_TIME=a230_0x512a89(0x6a);function a230_0x7703(_0x560cc4,_0x2e2beb){_0x560cc4=_0x560cc4-0x68;const _0xb1dff0=a230_0xb1df();let _0x7703a8=_0xb1dff0[_0x560cc4];return _0x7703a8;}function a230_0xb1df(){const _0x258bba=['891732VPmgBP','40522VCXIaW','90720ptFFef','v2.3.13-beta.2','377a9df','40962rgaSHX','1349350JLBObq','16365vNxsZP','11WpaDQn','28jHuQnS','89334nDCSHw','2026-08-04T15:26:58.178Z','140OfeAcv','2.3.13-beta.2','176KlyLoq','2xjVptv'];a230_0xb1df=function(){return _0x258bba;};return a230_0xb1df();}
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- (function(_0x412680,_0xa31050){var _0x2354fb=a231_0x4d2c,_0x14ed98=_0x412680();while(!![]){try{var _0x1586ee=parseInt(_0x2354fb(0x188))/0x1*(-parseInt(_0x2354fb(0x18c))/0x2)+parseInt(_0x2354fb(0x18b))/0x3*(-parseInt(_0x2354fb(0x18e))/0x4)+parseInt(_0x2354fb(0x187))/0x5*(parseInt(_0x2354fb(0x189))/0x6)+parseInt(_0x2354fb(0x184))/0x7+parseInt(_0x2354fb(0x18f))/0x8+-parseInt(_0x2354fb(0x191))/0x9+parseInt(_0x2354fb(0x190))/0xa*(parseInt(_0x2354fb(0x183))/0xb);if(_0x1586ee===_0xa31050)break;else _0x14ed98['push'](_0x14ed98['shift']());}catch(_0x17efe3){_0x14ed98['push'](_0x14ed98['shift']());}}}(a231_0x2e9b,0x6461c));import a231_0x2d1d49 from'chalk';function a231_0x4d2c(_0x167e8c,_0x39e159){_0x167e8c=_0x167e8c-0x183;var _0x2e9bef=a231_0x2e9b();var _0x4d2c60=_0x2e9bef[_0x167e8c];return _0x4d2c60;}function a231_0x2e9b(){var _0x45fc8a=['green','4187546DRwgCc','933534pfzOcE','\x20to\x20view\x20available\x20commands.','log','20UEMkXO','470ZDeECf','400608rWVdxT','bold','17418AmZmWV','3394DFmswD','\x20--help','236vfdFHW','404408ZFnyJh','30KQnawX','375615aqSwlx'];a231_0x2e9b=function(){return _0x45fc8a;};return a231_0x2e9b();}import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0x529fef=a231_0x4d2c;console['log'](),console[_0x529fef(0x186)](a231_0x2d1d49[_0x529fef(0x192)][_0x529fef(0x18a)]('\x20\x20'+CLI_DISPLAY_NAME)),console['log'](),console[_0x529fef(0x186)]('\x20\x20Use\x20'+a231_0x2d1d49['green'][_0x529fef(0x18a)](CLI_BIN_NAME+_0x529fef(0x18d))+_0x529fef(0x185)),console[_0x529fef(0x186)]();}
1
+ (function(_0x369da3,_0x108f4b){var _0x363fa8=a231_0x2d73,_0x1eb2ae=_0x369da3();while(!![]){try{var _0x338c52=parseInt(_0x363fa8(0x1d3))/0x1+-parseInt(_0x363fa8(0x1d2))/0x2*(-parseInt(_0x363fa8(0x1db))/0x3)+parseInt(_0x363fa8(0x1d4))/0x4*(parseInt(_0x363fa8(0x1dc))/0x5)+-parseInt(_0x363fa8(0x1d8))/0x6*(-parseInt(_0x363fa8(0x1d9))/0x7)+-parseInt(_0x363fa8(0x1d6))/0x8+-parseInt(_0x363fa8(0x1da))/0x9*(parseInt(_0x363fa8(0x1de))/0xa)+-parseInt(_0x363fa8(0x1d1))/0xb;if(_0x338c52===_0x108f4b)break;else _0x1eb2ae['push'](_0x1eb2ae['shift']());}catch(_0x4f88dd){_0x1eb2ae['push'](_0x1eb2ae['shift']());}}}(a231_0x8405,0xad6ec));import a231_0x2488b9 from'chalk';function a231_0x8405(){var _0x475760=['log','10MPAnaR','green','bold','5259925zhaHbF','46lqYDoU','974047HofRJd','12108fSJujr','\x20--help','4123272xgBkqI','\x20\x20Use\x20','6deGMJn','8619814hgqeej','10113579GDWLXl','27861kFzgRs','675ghFBPk'];a231_0x8405=function(){return _0x475760;};return a231_0x8405();}function a231_0x2d73(_0x4fc91e,_0x11816a){_0x4fc91e=_0x4fc91e-0x1cf;var _0x840565=a231_0x8405();var _0x2d7334=_0x840565[_0x4fc91e];return _0x2d7334;}import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0x2f0caa=a231_0x2d73;console[_0x2f0caa(0x1dd)](),console['log'](a231_0x2488b9[_0x2f0caa(0x1cf)][_0x2f0caa(0x1d0)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x2f0caa(0x1dd)](),console[_0x2f0caa(0x1dd)](_0x2f0caa(0x1d7)+a231_0x2488b9[_0x2f0caa(0x1cf)]['bold'](CLI_BIN_NAME+_0x2f0caa(0x1d5))+'\x20to\x20view\x20available\x20commands.'),console[_0x2f0caa(0x1dd)]();}
@@ -1 +1 @@
1
- function a232_0x39b1(){const _0x3a306b=['error','dangerously-bff-save','\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill','slice','11277657ZAQTpP','\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/rabetbase/guides/.\x0a','6091430asVkaY','push','entries','Equivalent\x20command:\x20','Error:\x20Unsupported\x20command:\x20','\x0aAvailable\x20commands:','7262913wvIZop','has','toLowerCase','1070025cCremZ','includes','cwd','setLogPath','exit','8WJvNbZ','log','542qVqeYz','add','startsWith','7941XeVmsq','不支持的命令:\x20','7626180ucExdc','argv','\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','-$1','enable-bff-save','911628ufkuSs','10yROwci'];a232_0x39b1=function(){return _0x3a306b;};return a232_0x39b1();}(function(_0x49e74e,_0x5c31ba){const _0x660956=a232_0x1a9d,_0x9337b=_0x49e74e();while(!![]){try{const _0xe745fe=-parseInt(_0x660956(0x1fc))/0x1+parseInt(_0x660956(0x203))/0x2*(-parseInt(_0x660956(0x206))/0x3)+parseInt(_0x660956(0x1eb))/0x4+-parseInt(_0x660956(0x1f3))/0x5+parseInt(_0x660956(0x208))/0x6+parseInt(_0x660956(0x1f9))/0x7*(parseInt(_0x660956(0x201))/0x8)+-parseInt(_0x660956(0x1f1))/0x9*(-parseInt(_0x660956(0x1ec))/0xa);if(_0xe745fe===_0x5c31ba)break;else _0x9337b['push'](_0x9337b['shift']());}catch(_0x112271){_0x9337b['push'](_0x9337b['shift']());}}}(a232_0x39b1,0xbf631));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(_0x3dd17c){const _0x3cb43d=a232_0x1a9d,_0x26cd40=[];for(const [_0x5d2a14,_0x40dd86]of Object[_0x3cb43d(0x1f5)](_0x3dd17c)){if(_0x40dd86===!![]){const _0x24babb=_0x5d2a14['replace'](/([A-Z])/g,_0x3cb43d(0x20b))[_0x3cb43d(0x1fb)]();_0x26cd40[_0x3cb43d(0x1f4)](_0x24babb);}}return _0x26cd40;}export function parseDynamicFlags(){const _0x59882a=a232_0x1a9d,_0x39c427=[];for(let _0x3b8908=0x3;_0x3b8908<process[_0x59882a(0x209)]['length'];_0x3b8908++){const _0x2f0448=process[_0x59882a(0x209)][_0x3b8908];if(_0x2f0448&&_0x2f0448[_0x59882a(0x205)]('--')){const _0x39dab5=_0x2f0448[_0x59882a(0x1f0)](0x2);_0x39dab5&&!_0x39dab5[_0x59882a(0x1fd)]('=')&&_0x39c427[_0x59882a(0x1f4)](_0x39dab5);}}return _0x39c427;}export function getAllProvidedFlags(_0x537342){const _0xf8fc1d=camelCaseFlagsToKebab(_0x537342),_0x423236=parseDynamicFlags(),_0x1585a4=new Set([..._0xf8fc1d,..._0x423236]);return Array['from'](_0x1585a4);}export function normalizeLegacyBffSaveFlags(_0x56d4ad){const _0x213a82=a232_0x1a9d,_0x3c2a9b=new Set(_0x56d4ad);return _0x3c2a9b[_0x213a82(0x1fa)](_0x213a82(0x1ee))&&_0x3c2a9b[_0x213a82(0x204)](_0x213a82(0x1ea)),Array['from'](_0x3c2a9b);}function a232_0x1a9d(_0x4666fd,_0x1026ce){_0x4666fd=_0x4666fd-0x1ea;const _0x39b1dd=a232_0x39b1();let _0x1a9da0=_0x39b1dd[_0x4666fd];return _0x1a9da0;}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;export async function skillsCommand(_0x278fd8,_0x35397c,_0x224fab){const _0xe3e103=a232_0x1a9d;logger[_0xe3e103(0x1ff)](process[_0xe3e103(0x1fe)]());if(_0x224fab?.['help']||_0x278fd8==='--help'){showHelp();return;}console[_0xe3e103(0x1ed)](_0xe3e103(0x1f7)+(_0x278fd8||'(empty)')),console[_0xe3e103(0x202)](_0xe3e103(0x1f8)),console['log']('\x20\x20'+CLI_BIN_NAME+_0xe3e103(0x1ef)),console[_0xe3e103(0x202)](''),console[_0xe3e103(0x202)](_0xe3e103(0x1f6)+SKILLS_INSTALL_COMMAND_LINE),logger[_0xe3e103(0x1ed)]('skill',_0xe3e103(0x207)+_0x278fd8),process[_0xe3e103(0x200)](0x1);}function showHelp(){const _0x4e1744=a232_0x1a9d;console[_0x4e1744(0x202)](_0x4e1744(0x20a)+CLI_BIN_NAME+'\x20cli-skill\x20install\x0a\x0aEquivalent\x20command:\x20'+SKILLS_INSTALL_COMMAND_LINE+_0x4e1744(0x1f2));}
1
+ (function(_0x120fa8,_0x1f38b8){const _0x2382ca=a232_0x2ddf,_0x5e4df9=_0x120fa8();while(!![]){try{const _0x429051=parseInt(_0x2382ca(0x128))/0x1+parseInt(_0x2382ca(0x125))/0x2+-parseInt(_0x2382ca(0x135))/0x3+-parseInt(_0x2382ca(0x121))/0x4+-parseInt(_0x2382ca(0x13b))/0x5+parseInt(_0x2382ca(0x11d))/0x6*(parseInt(_0x2382ca(0x126))/0x7)+-parseInt(_0x2382ca(0x12d))/0x8*(-parseInt(_0x2382ca(0x120))/0x9);if(_0x429051===_0x1f38b8)break;else _0x5e4df9['push'](_0x5e4df9['shift']());}catch(_0x2c4752){_0x5e4df9['push'](_0x5e4df9['shift']());}}}(a232_0x428e,0xbf789));import{logger}from'../utils/logger.js';import{CLI_BIN_NAME}from'../constant/cli.js';function a232_0x2ddf(_0x13498b,_0x4fab29){_0x13498b=_0x13498b-0x11c;const _0x428e70=a232_0x428e();let _0x2ddf26=_0x428e70[_0x13498b];return _0x2ddf26;}import{NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE}from'../skills/npx-skills-add.js';export function camelCaseFlagsToKebab(_0x531422){const _0x5616ed=a232_0x2ddf,_0x19a1b4=[];for(const [_0x287576,_0x9e9c84]of Object[_0x5616ed(0x132)](_0x531422)){if(_0x9e9c84===!![]){const _0x14db91=_0x287576['replace'](/([A-Z])/g,_0x5616ed(0x137))['toLowerCase']();_0x19a1b4[_0x5616ed(0x12b)](_0x14db91);}}return _0x19a1b4;}export function parseDynamicFlags(){const _0x2d494a=a232_0x2ddf,_0xfbba8f=[];for(let _0x1ff881=0x3;_0x1ff881<process['argv'][_0x2d494a(0x129)];_0x1ff881++){const _0x3bd0f8=process[_0x2d494a(0x13c)][_0x1ff881];if(_0x3bd0f8&&_0x3bd0f8['startsWith']('--')){const _0xcf90b6=_0x3bd0f8[_0x2d494a(0x11e)](0x2);_0xcf90b6&&!_0xcf90b6[_0x2d494a(0x12e)]('=')&&_0xfbba8f[_0x2d494a(0x12b)](_0xcf90b6);}}return _0xfbba8f;}export function getAllProvidedFlags(_0x3544ce){const _0x5c30ef=a232_0x2ddf,_0x318d86=camelCaseFlagsToKebab(_0x3544ce),_0x338e32=parseDynamicFlags(),_0x41243b=new Set([..._0x318d86,..._0x338e32]);return Array[_0x5c30ef(0x13a)](_0x41243b);}export function normalizeLegacyBffSaveFlags(_0x33bf05){const _0x5bc02a=a232_0x2ddf,_0x54ee00=new Set(_0x33bf05);return _0x54ee00[_0x5bc02a(0x13d)](_0x5bc02a(0x136))&&_0x54ee00[_0x5bc02a(0x12c)](_0x5bc02a(0x11c)),Array[_0x5bc02a(0x13a)](_0x54ee00);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;function a232_0x428e(){const _0x83aba7=['--help','\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','entries','Error:\x20Unsupported\x20command:\x20','(empty)','2084613jHdpHR','dangerously-bff-save','-$1','\x0aAvailable\x20commands:','log','from','1799340DkPEOz','argv','has','enable-bff-save','30414cNFTEE','slice','help','9VOKTkF','5132232xpIDcQ','exit','skill','setLogPath','612606zmGlmH','434VrFWTZ','不支持的命令:\x20','137162mBahnr','length','error','push','add','18914552mIDaRG','includes','\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill'];a232_0x428e=function(){return _0x83aba7;};return a232_0x428e();}export async function skillsCommand(_0x2d0cb2,_0x3141e4,_0x4debc6){const _0xe76ac=a232_0x2ddf;logger[_0xe76ac(0x124)](process['cwd']());if(_0x4debc6?.[_0xe76ac(0x11f)]||_0x2d0cb2===_0xe76ac(0x130)){showHelp();return;}console[_0xe76ac(0x12a)](_0xe76ac(0x133)+(_0x2d0cb2||_0xe76ac(0x134))),console[_0xe76ac(0x139)](_0xe76ac(0x138)),console[_0xe76ac(0x139)]('\x20\x20'+CLI_BIN_NAME+_0xe76ac(0x12f)),console[_0xe76ac(0x139)](''),console[_0xe76ac(0x139)]('Equivalent\x20command:\x20'+SKILLS_INSTALL_COMMAND_LINE),logger[_0xe76ac(0x12a)](_0xe76ac(0x123),_0xe76ac(0x127)+_0x2d0cb2),process[_0xe76ac(0x122)](0x1);}function showHelp(){const _0x57ff9c=a232_0x2ddf;console[_0x57ff9c(0x139)](_0x57ff9c(0x131)+CLI_BIN_NAME+'\x20cli-skill\x20install\x0a\x0aEquivalent\x20command:\x20'+SKILLS_INSTALL_COMMAND_LINE+'\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/rabetbase/guides/.\x0a');}
@@ -1 +1 @@
1
- const a233_0x4cecf8=a233_0x1526;(function(_0x319bd5,_0x34c029){const _0x2d6020=a233_0x1526,_0x22b546=_0x319bd5();while(!![]){try{const _0x1a6979=-parseInt(_0x2d6020(0x152))/0x1*(parseInt(_0x2d6020(0x168))/0x2)+-parseInt(_0x2d6020(0x15a))/0x3*(parseInt(_0x2d6020(0x14a))/0x4)+-parseInt(_0x2d6020(0x160))/0x5*(parseInt(_0x2d6020(0x15f))/0x6)+-parseInt(_0x2d6020(0x154))/0x7+-parseInt(_0x2d6020(0x14d))/0x8*(-parseInt(_0x2d6020(0x153))/0x9)+parseInt(_0x2d6020(0x14c))/0xa+parseInt(_0x2d6020(0x14b))/0xb;if(_0x1a6979===_0x34c029)break;else _0x22b546['push'](_0x22b546['shift']());}catch(_0x4baebb){_0x22b546['push'](_0x22b546['shift']());}}}(a233_0x2354,0xb4a48));function a233_0x2354(){const _0x284dab=['add','log','3MBzQRC','567369ZtQtZz','1654989PyVUvJ','pipe','unknown','join','yes','stderr','882027qvQYed','npx','stdout','push','stdio','246MVAvkC','77845rMAvPB','toString','inherit','exit\x20','Lovrabet','trim','skills','status','914738vmZDhg','skill','4albWSf','28313582kYfEIu','5176990hSUdxO','24njXHXf','--skill','lovrabet/lovrabet-skill'];a233_0x2354=function(){return _0x284dab;};return a233_0x2354();}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=a233_0x4cecf8(0x166);export const NPX_SKILLS_SUBCOMMAND_ADD=a233_0x4cecf8(0x150);export const NPX_SKILLS_FLAG_SKILL=a233_0x4cecf8(0x14e);export const RABETBASE_SKILL_SOURCE='lovrabet/rabetbase';export const LEGACY_RABETBASE_SKILL_SOURCE=a233_0x4cecf8(0x14f);export const DEFAULT_RABETBASE_SKILL_NAME=a233_0x4cecf8(0x164);export function buildNpxSkillsAddArgv(_0x1025a0){const _0x12bcc6=a233_0x4cecf8,_0x1d5d64=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE];return _0x1025a0&&_0x1d5d64[_0x12bcc6(0x15d)](NPX_SKILLS_FLAG_SKILL,_0x1025a0),_0x1d5d64;}export const NPX_SKILLS_ADD_COMMAND_LINE=['npx',...buildNpxSkillsAddArgv()]['join']('\x20');function a233_0x1526(_0x3a6fc9,_0x1bba1a){_0x3a6fc9=_0x3a6fc9-0x149;const _0x23540b=a233_0x2354();let _0x15260d=_0x23540b[_0x3a6fc9];return _0x15260d;}export const NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE=[a233_0x4cecf8(0x15b),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(_0x1aaef8,_0x1abb0e){const _0x1ad590=a233_0x4cecf8;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x29e893=_0x1abb0e?.[_0x1ad590(0x15e)]??_0x1ad590(0x162),_0x463ddc=resolveNpmBin(_0x1ad590(0x15b)),_0x52a0a4=buildNpxSkillsAddArgv(_0x1abb0e?.[_0x1ad590(0x149)]),_0x4eb39e=['npx',..._0x52a0a4]['join']('\x20');console['log']('*\x20'+_0x4eb39e);const _0x2f0885=spawnSync(_0x463ddc,_0x52a0a4,{'cwd':_0x1aaef8,'stdio':_0x29e893,'env':process.env,'shell':![]}),_0x3ec704=_0x2f0885[_0x1ad590(0x167)];if(_0x3ec704===0x0)return{'ok':!![],'status':0x0};let _0x526a96=_0x1ad590(0x163)+(_0x3ec704??'unknown');if(_0x29e893==='pipe'){const _0x569bc4=_0x2f0885[_0x1ad590(0x159)]?_0x2f0885['stderr'][_0x1ad590(0x161)]()[_0x1ad590(0x165)]():'',_0x1ada78=_0x2f0885[_0x1ad590(0x15c)]?_0x2f0885['stdout']['toString']()[_0x1ad590(0x165)]():'';if(_0x569bc4)_0x526a96=_0x569bc4;else{if(_0x1ada78)_0x526a96=_0x1ada78;}}return{'ok':![],'status':_0x3ec704??null,'error':_0x526a96};}export function runNpxSkillsRemove(_0x3cc0ee,_0x5d4640,_0x1e2524=LEGACY_RABETBASE_SKILL_SOURCE){const _0x2ba654=a233_0x4cecf8;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x34af1f=_0x5d4640?.[_0x2ba654(0x15e)]??'inherit',_0x195630=resolveNpmBin('npx'),_0x164b80=[NPX_FLAG_YES,NPX_SKILLS_CLI,'remove',_0x1e2524,NPX_SKILLS_FLAG_SKILL,_0x5d4640?.['skill']??DEFAULT_RABETBASE_SKILL_NAME,..._0x5d4640?.[_0x2ba654(0x158)]?['-y']:[]],_0x35bb5d=[_0x195630,..._0x164b80][_0x2ba654(0x157)]('\x20');console[_0x2ba654(0x151)]('*\x20'+_0x35bb5d);const _0x1a90fd=spawnSync(_0x195630,_0x164b80,{'cwd':_0x3cc0ee,'stdio':_0x34af1f,'env':process.env,'shell':![]}),_0x17254f=_0x1a90fd[_0x2ba654(0x167)];if(_0x17254f===0x0)return{'ok':!![],'status':0x0};let _0x4e7c81='exit\x20'+(_0x17254f??_0x2ba654(0x156));if(_0x34af1f==='pipe'){const _0xe44e0b=_0x1a90fd['stderr']?_0x1a90fd['stderr'][_0x2ba654(0x161)]()[_0x2ba654(0x165)]():'',_0x31fa63=_0x1a90fd[_0x2ba654(0x15c)]?_0x1a90fd[_0x2ba654(0x15c)][_0x2ba654(0x161)]()[_0x2ba654(0x165)]():'';if(_0xe44e0b)_0x4e7c81=_0xe44e0b;else{if(_0x31fa63)_0x4e7c81=_0x31fa63;}}return{'ok':![],'status':_0x17254f??null,'error':_0x4e7c81};}export function runNpxSkillsAddGlobal(_0x4258ad,_0x55aee8,_0x39529a){const _0x2de6b9=a233_0x4cecf8;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x422dea=_0x39529a?.['stdio']??_0x2de6b9(0x162),_0x35841c=resolveNpmBin('npx'),_0x17968f=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x55aee8,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES],_0x4dbbbb=[_0x2de6b9(0x15b),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x55aee8,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES]['join']('\x20');console[_0x2de6b9(0x151)]('*\x20'+_0x4dbbbb);const _0x157ec5=spawnSync(_0x35841c,_0x17968f,{'cwd':_0x4258ad,'stdio':_0x422dea,'env':process.env,'shell':![]}),_0x5aaef0=_0x157ec5[_0x2de6b9(0x167)];if(_0x5aaef0===0x0)return{'ok':!![],'status':0x0};let _0x24889d=_0x2de6b9(0x163)+(_0x5aaef0??_0x2de6b9(0x156));if(_0x422dea===_0x2de6b9(0x155)){const _0x2ae604=_0x157ec5['stderr']?_0x157ec5[_0x2de6b9(0x159)]['toString']()['trim']():'',_0x4b54e4=_0x157ec5[_0x2de6b9(0x15c)]?_0x157ec5['stdout'][_0x2de6b9(0x161)]()[_0x2de6b9(0x165)]():'';if(_0x2ae604)_0x24889d=_0x2ae604;else{if(_0x4b54e4)_0x24889d=_0x4b54e4;}}return{'ok':![],'status':_0x5aaef0??null,'error':_0x24889d};}
1
+ function a233_0x1407(){const _0x2da6c4=['5189457mQEMzw','1416434LQKRha','lovrabet/rabetbase','trim','4nBdBTh','4873udLxwQ','pipe','remove','stdio','Lovrabet','join','3246605beKBiU','7596mGuwtk','push','27036nSdXff','2106774WTEsWf','9237606mGgpxV','inherit','3nJyhAI','--skill','toString','lovrabet/lovrabet-skill','5510IjNBjU','status','npx','unknown','16fVPgwD','add','exit\x20','stderr','stdout'];a233_0x1407=function(){return _0x2da6c4;};return a233_0x1407();}const a233_0x4d24de=a233_0x22b5;(function(_0x46b458,_0x1232b0){const _0x3c454d=a233_0x22b5,_0x457682=_0x46b458();while(!![]){try{const _0x220ada=-parseInt(_0x3c454d(0x1d3))/0x1+-parseInt(_0x3c454d(0x1e1))/0x2*(-parseInt(_0x3c454d(0x1e4))/0x3)+-parseInt(_0x3c454d(0x1d6))/0x4*(-parseInt(_0x3c454d(0x1dd))/0x5)+parseInt(_0x3c454d(0x1e2))/0x6+parseInt(_0x3c454d(0x1d2))/0x7*(-parseInt(_0x3c454d(0x1cd))/0x8)+-parseInt(_0x3c454d(0x1de))/0x9*(parseInt(_0x3c454d(0x1c9))/0xa)+parseInt(_0x3c454d(0x1d7))/0xb*(parseInt(_0x3c454d(0x1e0))/0xc);if(_0x220ada===_0x1232b0)break;else _0x457682['push'](_0x457682['shift']());}catch(_0x2bfa72){_0x457682['push'](_0x457682['shift']());}}}(a233_0x1407,0xd5eb0));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';function a233_0x22b5(_0x24ab36,_0x2d5d11){_0x24ab36=_0x24ab36-0x1c9;const _0x1407eb=a233_0x1407();let _0x22b557=_0x1407eb[_0x24ab36];return _0x22b557;}export const NPX_SKILLS_SUBCOMMAND_ADD=a233_0x4d24de(0x1ce);export const NPX_SKILLS_FLAG_SKILL=a233_0x4d24de(0x1e5);export const RABETBASE_SKILL_SOURCE=a233_0x4d24de(0x1d4);export const LEGACY_RABETBASE_SKILL_SOURCE=a233_0x4d24de(0x1e7);export const DEFAULT_RABETBASE_SKILL_NAME=a233_0x4d24de(0x1db);export function buildNpxSkillsAddArgv(_0x5bf8f1){const _0x4500e8=a233_0x4d24de,_0x3db02a=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE];return _0x5bf8f1&&_0x3db02a[_0x4500e8(0x1df)](NPX_SKILLS_FLAG_SKILL,_0x5bf8f1),_0x3db02a;}export const NPX_SKILLS_ADD_COMMAND_LINE=[a233_0x4d24de(0x1cb),...buildNpxSkillsAddArgv()]['join']('\x20');export const NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE=[a233_0x4d24de(0x1cb),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][a233_0x4d24de(0x1dc)]('\x20');export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0x1ca636,_0x4d9a00){const _0x3f49bc=a233_0x4d24de;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x36563f=_0x4d9a00?.[_0x3f49bc(0x1da)]??_0x3f49bc(0x1e3),_0x1b6335=resolveNpmBin(_0x3f49bc(0x1cb)),_0x327343=buildNpxSkillsAddArgv(_0x4d9a00?.['skill']),_0x557583=[_0x3f49bc(0x1cb),..._0x327343][_0x3f49bc(0x1dc)]('\x20');console['log']('*\x20'+_0x557583);const _0x5ef6a8=spawnSync(_0x1b6335,_0x327343,{'cwd':_0x1ca636,'stdio':_0x36563f,'env':process.env,'shell':![]}),_0x40a9d6=_0x5ef6a8[_0x3f49bc(0x1ca)];if(_0x40a9d6===0x0)return{'ok':!![],'status':0x0};let _0x4b1b02=_0x3f49bc(0x1cf)+(_0x40a9d6??_0x3f49bc(0x1cc));if(_0x36563f===_0x3f49bc(0x1d8)){const _0x444237=_0x5ef6a8[_0x3f49bc(0x1d0)]?_0x5ef6a8['stderr'][_0x3f49bc(0x1e6)]()[_0x3f49bc(0x1d5)]():'',_0x1bbe59=_0x5ef6a8['stdout']?_0x5ef6a8['stdout'][_0x3f49bc(0x1e6)]()[_0x3f49bc(0x1d5)]():'';if(_0x444237)_0x4b1b02=_0x444237;else{if(_0x1bbe59)_0x4b1b02=_0x1bbe59;}}return{'ok':![],'status':_0x40a9d6??null,'error':_0x4b1b02};}export function runNpxSkillsRemove(_0x303771,_0x5db13d,_0x2ced31=LEGACY_RABETBASE_SKILL_SOURCE){const _0x2a6fc1=a233_0x4d24de;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x53e709=_0x5db13d?.['stdio']??_0x2a6fc1(0x1e3),_0x4afec0=resolveNpmBin(_0x2a6fc1(0x1cb)),_0x4a63bd=[NPX_FLAG_YES,NPX_SKILLS_CLI,_0x2a6fc1(0x1d9),_0x2ced31,NPX_SKILLS_FLAG_SKILL,_0x5db13d?.['skill']??DEFAULT_RABETBASE_SKILL_NAME,..._0x5db13d?.['yes']?['-y']:[]],_0x5c9122=[_0x4afec0,..._0x4a63bd][_0x2a6fc1(0x1dc)]('\x20');console['log']('*\x20'+_0x5c9122);const _0x37a737=spawnSync(_0x4afec0,_0x4a63bd,{'cwd':_0x303771,'stdio':_0x53e709,'env':process.env,'shell':![]}),_0x611fd4=_0x37a737[_0x2a6fc1(0x1ca)];if(_0x611fd4===0x0)return{'ok':!![],'status':0x0};let _0x18b74a='exit\x20'+(_0x611fd4??'unknown');if(_0x53e709===_0x2a6fc1(0x1d8)){const _0x2c6098=_0x37a737[_0x2a6fc1(0x1d0)]?_0x37a737['stderr'][_0x2a6fc1(0x1e6)]()['trim']():'',_0x56741f=_0x37a737[_0x2a6fc1(0x1d1)]?_0x37a737[_0x2a6fc1(0x1d1)][_0x2a6fc1(0x1e6)]()['trim']():'';if(_0x2c6098)_0x18b74a=_0x2c6098;else{if(_0x56741f)_0x18b74a=_0x56741f;}}return{'ok':![],'status':_0x611fd4??null,'error':_0x18b74a};}export function runNpxSkillsAddGlobal(_0x52e7cf,_0x2ed286,_0x2bf8c3){const _0xb22b5a=a233_0x4d24de;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x211b52=_0x2bf8c3?.[_0xb22b5a(0x1da)]??_0xb22b5a(0x1e3),_0x5665dc=resolveNpmBin('npx'),_0x340a48=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x2ed286,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES],_0x1a4f59=['npx',NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x2ed286,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][_0xb22b5a(0x1dc)]('\x20');console['log']('*\x20'+_0x1a4f59);const _0x14139e=spawnSync(_0x5665dc,_0x340a48,{'cwd':_0x52e7cf,'stdio':_0x211b52,'env':process.env,'shell':![]}),_0x336a5e=_0x14139e[_0xb22b5a(0x1ca)];if(_0x336a5e===0x0)return{'ok':!![],'status':0x0};let _0x56b559=_0xb22b5a(0x1cf)+(_0x336a5e??_0xb22b5a(0x1cc));if(_0x211b52===_0xb22b5a(0x1d8)){const _0x452317=_0x14139e['stderr']?_0x14139e['stderr']['toString']()[_0xb22b5a(0x1d5)]():'',_0x2d0513=_0x14139e[_0xb22b5a(0x1d1)]?_0x14139e[_0xb22b5a(0x1d1)][_0xb22b5a(0x1e6)]()[_0xb22b5a(0x1d5)]():'';if(_0x452317)_0x56b559=_0x452317;else{if(_0x2d0513)_0x56b559=_0x2d0513;}}return{'ok':![],'status':_0x336a5e??null,'error':_0x56b559};}
@@ -1 +1 @@
1
- function a234_0x29a2(_0x5b453b,_0x43d2d6){_0x5b453b=_0x5b453b-0xb1;const _0xa9528e=a234_0xa952();let _0x29a21a=_0xa9528e[_0x5b453b];return _0x29a21a;}(function(_0x2d8dfc,_0x246329){const _0x135fc6=a234_0x29a2,_0x70cfbb=_0x2d8dfc();while(!![]){try{const _0x332f73=-parseInt(_0x135fc6(0xb4))/0x1*(parseInt(_0x135fc6(0xb1))/0x2)+-parseInt(_0x135fc6(0xb7))/0x3+parseInt(_0x135fc6(0xb2))/0x4+-parseInt(_0x135fc6(0xbf))/0x5+-parseInt(_0x135fc6(0xba))/0x6*(parseInt(_0x135fc6(0xc0))/0x7)+-parseInt(_0x135fc6(0xb3))/0x8+parseInt(_0x135fc6(0xc1))/0x9;if(_0x332f73===_0x246329)break;else _0x70cfbb['push'](_0x70cfbb['shift']());}catch(_0x3e5fe6){_0x70cfbb['push'](_0x70cfbb['shift']());}}}(a234_0xa952,0xd7678));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 a234_0xa952(){const _0x304f38=['durationMs','command','7914KTUaKd','message','service','entries','error','113930pPEZVt','8596pMdzOt','23999751zGTPeb','6866HtkTOt','5819224pufwpZ','4792120WmXpFi','201zYhECg','stringify','flags','922749fxywYQ'];a234_0xa952=function(){return _0x304f38;};return a234_0xa952();}function isSensitiveKey(_0x542cec){return SENSITIVE_PATTERNS['some'](_0x2cd8d9=>_0x2cd8d9['test'](_0x542cec));}function sanitizeFlags(_0x3ed40c){const _0x2a9799=a234_0x29a2,_0x392521={};for(const [_0x17b7cd,_0x2c153f]of Object[_0x2a9799(0xbd)](_0x3ed40c)){isSensitiveKey(_0x17b7cd)?_0x392521[_0x17b7cd]=_0x2c153f!=null&&_0x2c153f!==''?'[REDACTED]':_0x2c153f:_0x392521[_0x17b7cd]=_0x2c153f;}return _0x392521;}export async function reportCommandTrace(_0x40438b){const _0x2a0660=a234_0x29a2;try{const _0x3a6eb9=sanitizeFlags(_0x40438b[_0x2a0660(0xb6)]);await sendCliTraceLog({'spanName':'rabetbase.command','logData':{'command.cli_version':getCliVersion(),'command.service':_0x40438b[_0x2a0660(0xbc)],'command.name':_0x40438b[_0x2a0660(0xb9)],'command.flags':JSON[_0x2a0660(0xb5)](_0x3a6eb9),..._0x40438b[_0x2a0660(0xb8)]!=null?{'command.duration_ms':_0x40438b['durationMs']}:{},..._0x40438b[_0x2a0660(0xbe)]?{'command.error':_0x40438b[_0x2a0660(0xbe)]instanceof Error?_0x40438b[_0x2a0660(0xbe)][_0x2a0660(0xbb)]:String(_0x40438b[_0x2a0660(0xbe)])}:{}}});}catch{}}
1
+ (function(_0x519e11,_0x382c82){const _0x30fbff=a234_0x2639,_0x553322=_0x519e11();while(!![]){try{const _0x5c65a3=parseInt(_0x30fbff(0x1ea))/0x1+parseInt(_0x30fbff(0x1dc))/0x2*(-parseInt(_0x30fbff(0x1ed))/0x3)+-parseInt(_0x30fbff(0x1e6))/0x4+parseInt(_0x30fbff(0x1da))/0x5*(-parseInt(_0x30fbff(0x1de))/0x6)+-parseInt(_0x30fbff(0x1e7))/0x7+-parseInt(_0x30fbff(0x1e3))/0x8*(parseInt(_0x30fbff(0x1e5))/0x9)+-parseInt(_0x30fbff(0x1db))/0xa*(-parseInt(_0x30fbff(0x1e1))/0xb);if(_0x5c65a3===_0x382c82)break;else _0x553322['push'](_0x553322['shift']());}catch(_0x53b5c1){_0x553322['push'](_0x553322['shift']());}}}(a234_0x2525,0x9506f));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';import{getCliVersion}from'../utils/version.js';function a234_0x2525(){const _0x1964d0=['test','4936CtiqVH','flags','2205jPSlop','924744sNEbfp','6841835mGIZkq','error','message','865797EkYptc','rabetbase.command','stringify','1077RZnZaP','service','667015YOYJlC','10yOYlaW','3934tDfNbu','durationMs','42buQtLg','[REDACTED]','entries','30187828DiXxdV'];a234_0x2525=function(){return _0x1964d0;};return a234_0x2525();}const SENSITIVE_PATTERNS=[/cookie/i,/token/i,/password/i,/passwd/i,/secret/i,/auth/i,/session/i,/credential/i,/^value$/i];function isSensitiveKey(_0x3cafe1){const _0x2be282=a234_0x2639;return SENSITIVE_PATTERNS['some'](_0x50b857=>_0x50b857[_0x2be282(0x1e2)](_0x3cafe1));}function a234_0x2639(_0x44fbb0,_0x369f0b){_0x44fbb0=_0x44fbb0-0x1d9;const _0x25259e=a234_0x2525();let _0x263947=_0x25259e[_0x44fbb0];return _0x263947;}function sanitizeFlags(_0x5b9283){const _0x5a1825=a234_0x2639,_0x5beffb={};for(const [_0x4031ea,_0x25b8ad]of Object[_0x5a1825(0x1e0)](_0x5b9283)){isSensitiveKey(_0x4031ea)?_0x5beffb[_0x4031ea]=_0x25b8ad!=null&&_0x25b8ad!==''?_0x5a1825(0x1df):_0x25b8ad:_0x5beffb[_0x4031ea]=_0x25b8ad;}return _0x5beffb;}export async function reportCommandTrace(_0x470dfb){const _0x6bcc33=a234_0x2639;try{const _0x26685a=sanitizeFlags(_0x470dfb[_0x6bcc33(0x1e4)]);await sendCliTraceLog({'spanName':_0x6bcc33(0x1eb),'logData':{'command.cli_version':getCliVersion(),'command.service':_0x470dfb[_0x6bcc33(0x1d9)],'command.name':_0x470dfb['command'],'command.flags':JSON[_0x6bcc33(0x1ec)](_0x26685a),..._0x470dfb[_0x6bcc33(0x1dd)]!=null?{'command.duration_ms':_0x470dfb[_0x6bcc33(0x1dd)]}:{},..._0x470dfb['error']?{'command.error':_0x470dfb['error']instanceof Error?_0x470dfb['error'][_0x6bcc33(0x1e9)]:String(_0x470dfb[_0x6bcc33(0x1e8)])}:{}}});}catch{}}
@@ -1 +1 @@
1
- (function(_0xe56a3f,_0x20521d){var _0x2681c8=a235_0x1266,_0xda097e=_0xe56a3f();while(!![]){try{var _0x242f93=parseInt(_0x2681c8(0x179))/0x1+-parseInt(_0x2681c8(0x17c))/0x2+parseInt(_0x2681c8(0x174))/0x3+-parseInt(_0x2681c8(0x17a))/0x4*(parseInt(_0x2681c8(0x178))/0x5)+-parseInt(_0x2681c8(0x175))/0x6*(-parseInt(_0x2681c8(0x172))/0x7)+parseInt(_0x2681c8(0x17b))/0x8+-parseInt(_0x2681c8(0x176))/0x9;if(_0x242f93===_0x20521d)break;else _0xda097e['push'](_0xda097e['shift']());}catch(_0x162a34){_0xda097e['push'](_0xda097e['shift']());}}}(a235_0x34f9,0x1be00));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';function a235_0x1266(_0x402204,_0x4d4f3a){_0x402204=_0x402204-0x172;var _0x34f91f=a235_0x34f9();var _0x1266f3=_0x34f91f[_0x402204];return _0x1266f3;}function a235_0x34f9(){var _0x3c8508=['1374992vDgXIG','323756WcUdHD','service','71155ZhVGnW','cli.help','460473gvMXoP','84cNWtNh','2431017eDMqyr','error','15965IyhwpG','81685dpKSWa','4EzJcaN'];a235_0x34f9=function(){return _0x3c8508;};return a235_0x34f9();}export async function reportCliHelpTrace(_0x32d057,_0x30c16c){var _0x3b2bec=a235_0x1266;try{await sendCliTraceLog({'spanName':_0x3b2bec(0x173),'logData':{'rabetbase.help.kind':_0x32d057,..._0x30c16c?.[_0x3b2bec(0x17d)]&&{'rabetbase.help.service':_0x30c16c[_0x3b2bec(0x17d)]}}});}catch(_0x44ce4b){console[_0x3b2bec(0x177)]('Failed\x20to\x20report\x20CLI\x20help\x20trace:',_0x44ce4b);}}
1
+ function a235_0xc42b(_0x35e7b9,_0x49d59a){_0x35e7b9=_0x35e7b9-0x1de;var _0x2639ba=a235_0x2639();var _0xc42b17=_0x2639ba[_0x35e7b9];return _0xc42b17;}(function(_0x39c1b3,_0x141a6b){var _0x152a15=a235_0xc42b,_0x41accc=_0x39c1b3();while(!![]){try{var _0x445ea9=parseInt(_0x152a15(0x1e4))/0x1+parseInt(_0x152a15(0x1e0))/0x2*(parseInt(_0x152a15(0x1de))/0x3)+-parseInt(_0x152a15(0x1e2))/0x4+-parseInt(_0x152a15(0x1e7))/0x5+-parseInt(_0x152a15(0x1df))/0x6+parseInt(_0x152a15(0x1e5))/0x7+parseInt(_0x152a15(0x1e3))/0x8;if(_0x445ea9===_0x141a6b)break;else _0x41accc['push'](_0x41accc['shift']());}catch(_0x2830b6){_0x41accc['push'](_0x41accc['shift']());}}}(a235_0x2639,0x31c5f));function a235_0x2639(){var _0x24ce26=['3996328vENYvW','47412NpFfEo','913801tfmcBv','service','1610855zIjIsM','1203RTnoEf','1093524OzbqHi','1174MSEudp','Failed\x20to\x20report\x20CLI\x20help\x20trace:','818348uNbKIq'];a235_0x2639=function(){return _0x24ce26;};return a235_0x2639();}import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export async function reportCliHelpTrace(_0x23ac5e,_0x20c6af){var _0x5348c4=a235_0xc42b;try{await sendCliTraceLog({'spanName':'cli.help','logData':{'rabetbase.help.kind':_0x23ac5e,..._0x20c6af?.[_0x5348c4(0x1e6)]&&{'rabetbase.help.service':_0x20c6af[_0x5348c4(0x1e6)]}}});}catch(_0x3cae9d){console['error'](_0x5348c4(0x1e1),_0x3cae9d);}}
@@ -1 +1 @@
1
- (function(_0x2e04dc,_0x453cff){const _0x1173c9=a236_0x5b53,_0x1cedfa=_0x2e04dc();while(!![]){try{const _0x5c4558=parseInt(_0x1173c9(0x98))/0x1*(parseInt(_0x1173c9(0x9f))/0x2)+-parseInt(_0x1173c9(0xa5))/0x3*(parseInt(_0x1173c9(0x9d))/0x4)+-parseInt(_0x1173c9(0xa4))/0x5+-parseInt(_0x1173c9(0xa2))/0x6*(parseInt(_0x1173c9(0x9b))/0x7)+-parseInt(_0x1173c9(0xa3))/0x8+parseInt(_0x1173c9(0x97))/0x9*(parseInt(_0x1173c9(0x9c))/0xa)+parseInt(_0x1173c9(0xa0))/0xb;if(_0x5c4558===_0x453cff)break;else _0x1cedfa['push'](_0x1cedfa['shift']());}catch(_0x28f264){_0x1cedfa['push'](_0x1cedfa['shift']());}}}(a236_0x1bc9,0x47795));import{VERSION,GIT_COMMIT}from'../generated/build-info.js';function a236_0x5b53(_0x492e4d,_0x32c2d5){_0x492e4d=_0x492e4d-0x96;const _0x1bc9cd=a236_0x1bc9();let _0x5b53db=_0x1bc9cd[_0x492e4d];return _0x5b53db;}import{getSessionUserInfo}from'../auth/get-session-user.js';import{setServiceConfig,setUserContext}from'@lovrabet/otel-logger';function a236_0x1bc9(){const _0x2a961d=['4278224vexzpU','1449675WvvEtx','6wqTkUx','user','9ThqelG','41odIYRv','tenant_code','username','84zitAEj','3302470KzlJDs','389304dkKllm','production','9850EbIxaS','14841002GrNRoC','nickname','284616pXGazG'];a236_0x1bc9=function(){return _0x2a961d;};return a236_0x1bc9();}import{NPM_PACKAGE_NAME}from'../constant/cli.js';import{getConfigAppCode}from'../utils/config.js';let cliOtelTraceInitialized=![];export async function ensureCliOtelTraceConfig(){const _0x3135f5=a236_0x5b53,_0x3551d9=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x480775=_0x3551d9?.[_0x3135f5(0x96)];setServiceConfig({'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!=='unknown'?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?'daily':_0x3135f5(0x9e))}),setUserContext({'id':_0x480775?.['id'],'username':_0x480775?.[_0x3135f5(0x9a)],'nickname':_0x480775?.[_0x3135f5(0xa1)],'email':_0x480775?.['email'],'tenantCode':_0x480775?.['tenant'][_0x3135f5(0x99)],'appCode':getConfigAppCode()}),cliOtelTraceInitialized=!![];}return _0x3551d9;}
1
+ (function(_0x41deef,_0x5a9538){const _0x43cc0a=a236_0x3379,_0x4243a0=_0x41deef();while(!![]){try{const _0x5bae65=parseInt(_0x43cc0a(0x1ac))/0x1*(-parseInt(_0x43cc0a(0x1b3))/0x2)+-parseInt(_0x43cc0a(0x1b0))/0x3*(parseInt(_0x43cc0a(0x1a4))/0x4)+parseInt(_0x43cc0a(0x1a9))/0x5*(-parseInt(_0x43cc0a(0x1a3))/0x6)+-parseInt(_0x43cc0a(0x1ad))/0x7+-parseInt(_0x43cc0a(0x1a6))/0x8+-parseInt(_0x43cc0a(0x1a8))/0x9+parseInt(_0x43cc0a(0x1ae))/0xa;if(_0x5bae65===_0x5a9538)break;else _0x4243a0['push'](_0x4243a0['shift']());}catch(_0x518b63){_0x4243a0['push'](_0x4243a0['shift']());}}}(a236_0xf6f0,0x92971));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 a236_0x3379(_0x22b0a6,_0x2834c4){_0x22b0a6=_0x22b0a6-0x1a3;const _0xf6f051=a236_0xf6f0();let _0x3379cf=_0xf6f051[_0x22b0a6];return _0x3379cf;}function a236_0xf6f0(){const _0x4fa95b=['30FKDtvX','production','nickname','1LSmNXC','2147810pYwPWL','48270530dXwzaM','daily','12YDRird','tenant_code','user','1670566lbPEFR','485916CYdjlg','969632NpYFLz','unknown','8723928IrtflL','email','4846212RnyhcV'];a236_0xf6f0=function(){return _0x4fa95b;};return a236_0xf6f0();}import{NPM_PACKAGE_NAME}from'../constant/cli.js';import{getConfigAppCode}from'../utils/config.js';let cliOtelTraceInitialized=![];export async function ensureCliOtelTraceConfig(){const _0x180a31=a236_0x3379,_0x7d5e88=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x3709aa=_0x7d5e88?.[_0x180a31(0x1b2)];setServiceConfig({'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!==_0x180a31(0x1a5)?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?_0x180a31(0x1af):_0x180a31(0x1aa))}),setUserContext({'id':_0x3709aa?.['id'],'username':_0x3709aa?.['username'],'nickname':_0x3709aa?.[_0x180a31(0x1ab)],'email':_0x3709aa?.[_0x180a31(0x1a7)],'tenantCode':_0x3709aa?.['tenant'][_0x180a31(0x1b1)],'appCode':getConfigAppCode()}),cliOtelTraceInitialized=!![];}return _0x7d5e88;}
@@ -1 +1 @@
1
- function a237_0x2a0e(_0x48be2b,_0x1a3ce6){_0x48be2b=_0x48be2b-0xcd;const _0xb15908=a237_0xb159();let _0x2a0eb2=_0xb15908[_0x48be2b];return _0x2a0eb2;}(function(_0x232c1a,_0x3485dd){const _0x505e1f=a237_0x2a0e,_0x1cd1cc=_0x232c1a();while(!![]){try{const _0x42b768=parseInt(_0x505e1f(0xd7))/0x1*(parseInt(_0x505e1f(0xd8))/0x2)+-parseInt(_0x505e1f(0xd2))/0x3+-parseInt(_0x505e1f(0xd0))/0x4+-parseInt(_0x505e1f(0xd9))/0x5*(-parseInt(_0x505e1f(0xd5))/0x6)+-parseInt(_0x505e1f(0xcf))/0x7*(-parseInt(_0x505e1f(0xdb))/0x8)+parseInt(_0x505e1f(0xd6))/0x9*(parseInt(_0x505e1f(0xdc))/0xa)+-parseInt(_0x505e1f(0xce))/0xb;if(_0x42b768===_0x3485dd)break;else _0x1cd1cc['push'](_0x1cd1cc['shift']());}catch(_0x2929a7){_0x1cd1cc['push'](_0x1cd1cc['shift']());}}}(a237_0xb159,0xee4e5));import{shutdownTraces}from'@lovrabet/otel-logger';let shutdownPromise=null;function a237_0xb159(){const _0x359cd6=['23346JNElsz','120573FUhvBi','269AeNdVU','12910NlrPul','585gzoFYe','SIGINT','9168184uMXCvx','550zcVGJW','SIGTERM','exit','369490ALBtRM','7xHFtYL','6511416Dsrmdy','once','4310865fTLPGn','then','beforeExit'];a237_0xb159=function(){return _0x359cd6;};return a237_0xb159();}export async function flushOtelNodeIfUsed(){if(shutdownPromise)return shutdownPromise;return shutdownPromise=((async()=>{try{await shutdownTraces();}catch{}})()),shutdownPromise;}export function registerOtelShutdownOnExit(){const _0x1cf38e=a237_0x2a0e;process[_0x1cf38e(0xd1)](_0x1cf38e(0xd4),()=>{void flushOtelNodeIfUsed();});const _0x4562f6=()=>{const _0x5e5d71=_0x1cf38e;void flushOtelNodeIfUsed()[_0x5e5d71(0xd3)](()=>process[_0x5e5d71(0xcd)](0x0));};process[_0x1cf38e(0xd1)](_0x1cf38e(0xda),_0x4562f6),process['once'](_0x1cf38e(0xdd),_0x4562f6);}export async function exitWithOtelShutdown(_0x1bc5ae){const _0x57f23a=a237_0x2a0e;await flushOtelNodeIfUsed(),process[_0x57f23a(0xcd)](_0x1bc5ae);}
1
+ (function(_0x55727d,_0x1f9255){const _0x55a220=a237_0x5322,_0x2e777d=_0x55727d();while(!![]){try{const _0x1fb6e1=parseInt(_0x55a220(0xfa))/0x1*(-parseInt(_0x55a220(0xf8))/0x2)+-parseInt(_0x55a220(0xf0))/0x3+-parseInt(_0x55a220(0xfe))/0x4*(parseInt(_0x55a220(0xf7))/0x5)+-parseInt(_0x55a220(0xf3))/0x6+-parseInt(_0x55a220(0xf4))/0x7+parseInt(_0x55a220(0xf2))/0x8+-parseInt(_0x55a220(0xf9))/0x9*(-parseInt(_0x55a220(0xfb))/0xa);if(_0x1fb6e1===_0x1f9255)break;else _0x2e777d['push'](_0x2e777d['shift']());}catch(_0x3e3bdd){_0x2e777d['push'](_0x2e777d['shift']());}}}(a237_0x4ddf,0x1d79b));import{shutdownTraces}from'@lovrabet/otel-logger';function a237_0x5322(_0x2b8c10,_0x93a4d2){_0x2b8c10=_0x2b8c10-0xef;const _0x4ddff8=a237_0x4ddf();let _0x532276=_0x4ddff8[_0x2b8c10];return _0x532276;}let shutdownPromise=null;export async function flushOtelNodeIfUsed(){if(shutdownPromise)return shutdownPromise;return shutdownPromise=((async()=>{try{await shutdownTraces();}catch{}})()),shutdownPromise;}export function registerOtelShutdownOnExit(){const _0x32981f=a237_0x5322;process[_0x32981f(0xef)](_0x32981f(0xf5),()=>{void flushOtelNodeIfUsed();});const _0x51604f=()=>{const _0x4ba2c9=_0x32981f;void flushOtelNodeIfUsed()[_0x4ba2c9(0xfc)](()=>process[_0x4ba2c9(0xf6)](0x0));};process[_0x32981f(0xef)](_0x32981f(0xfd),_0x51604f),process['once'](_0x32981f(0xf1),_0x51604f);}export async function exitWithOtelShutdown(_0x1195bf){const _0x229089=a237_0x5322;await flushOtelNodeIfUsed(),process[_0x229089(0xf6)](_0x1195bf);}function a237_0x4ddf(){const _0x25b2fa=['SIGINT','34460RUGkUq','once','241977XGTgkg','SIGTERM','1370824yOvLqm','534300fkcnCD','1288322KYGwmC','beforeExit','exit','110jhEEDn','50782iWRgjk','37098kFtDfs','3EGOliv','1380KDXkbs','then'];a237_0x4ddf=function(){return _0x25b2fa;};return a237_0x4ddf();}
@@ -1 +1 @@
1
- const a238_0x11efc7=a238_0x512d;(function(_0x23fb4b,_0x2c23c9){const _0x50f932=a238_0x512d,_0x59acd6=_0x23fb4b();while(!![]){try{const _0x3eb087=parseInt(_0x50f932(0x86))/0x1+parseInt(_0x50f932(0x83))/0x2+parseInt(_0x50f932(0x85))/0x3+-parseInt(_0x50f932(0x92))/0x4*(parseInt(_0x50f932(0x91))/0x5)+parseInt(_0x50f932(0x8b))/0x6*(-parseInt(_0x50f932(0x8d))/0x7)+parseInt(_0x50f932(0x8a))/0x8+-parseInt(_0x50f932(0x82))/0x9*(parseInt(_0x50f932(0x8c))/0xa);if(_0x3eb087===_0x2c23c9)break;else _0x59acd6['push'](_0x59acd6['shift']());}catch(_0xacebdb){_0x59acd6['push'](_0x59acd6['shift']());}}}(a238_0x520a,0x4f501));import{sendTraceLog}from'@lovrabet/otel-logger';function a238_0x512d(_0x1810ee,_0x280b19){_0x1810ee=_0x1810ee-0x82;const _0x520a67=a238_0x520a();let _0x512d01=_0x520a67[_0x1810ee];return _0x512d01;}import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';import{getCliVersion}from'../utils/version.js';const DEFAULT_TRACE_NAME=a238_0x11efc7(0x88);export async function sendCliTraceLog(_0x3c6f15){const _0x107f7f=a238_0x11efc7;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x3c6f15[_0x107f7f(0x84)]??DEFAULT_TRACE_NAME,'version':_0x3c6f15[_0x107f7f(0x90)]??getCliVersion(),'spanName':_0x3c6f15[_0x107f7f(0x87)],'eventType':_0x107f7f(0x8e),'logData':_0x3c6f15[_0x107f7f(0x8f)],..._0x3c6f15[_0x107f7f(0x89)]&&{'traceparent':_0x3c6f15[_0x107f7f(0x89)]}});}function a238_0x520a(){const _0x57d72e=['18531icLvoz','1125036aaMxpq','traceName','1124859tJCRxX','588699MefNqY','spanName','rabetbase-cli','traceparent','2522392XMTRsP','102GIjFbV','4610boLLdB','63077YESyma','manual','logData','version','70PphqDH','118348lXfyKz'];a238_0x520a=function(){return _0x57d72e;};return a238_0x520a();}
1
+ const a238_0x224cb8=a238_0x29e9;(function(_0x335ec3,_0x154502){const _0x398597=a238_0x29e9,_0x380838=_0x335ec3();while(!![]){try{const _0xe5fcfa=-parseInt(_0x398597(0xdc))/0x1+parseInt(_0x398597(0xde))/0x2*(-parseInt(_0x398597(0xe1))/0x3)+parseInt(_0x398597(0xdd))/0x4*(-parseInt(_0x398597(0xd8))/0x5)+parseInt(_0x398597(0xda))/0x6+parseInt(_0x398597(0xdb))/0x7+-parseInt(_0x398597(0xe2))/0x8+parseInt(_0x398597(0xd6))/0x9;if(_0xe5fcfa===_0x154502)break;else _0x380838['push'](_0x380838['shift']());}catch(_0x4a16c0){_0x380838['push'](_0x380838['shift']());}}}(a238_0xd8a2,0xf29f5));import{sendTraceLog}from'@lovrabet/otel-logger';function a238_0x29e9(_0x64f098,_0x149e2d){_0x64f098=_0x64f098-0xd5;const _0xd8a26a=a238_0xd8a2();let _0x29e9bb=_0xd8a26a[_0x64f098];return _0x29e9bb;}import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';import{getCliVersion}from'../utils/version.js';const DEFAULT_TRACE_NAME=a238_0x224cb8(0xd7);function a238_0xd8a2(){const _0x52f264=['9622674dOFeNT','4734373CSnCcx','1578156NULZGa','304SHViXD','1654rBAitC','logData','traceName','5151IdJxKQ','1468504qLVmpk','traceparent','20623077sTQmZY','rabetbase-cli','26060ozTZHf','version'];a238_0xd8a2=function(){return _0x52f264;};return a238_0xd8a2();}export async function sendCliTraceLog(_0x478df4){const _0x4923e7=a238_0x224cb8;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x478df4[_0x4923e7(0xe0)]??DEFAULT_TRACE_NAME,'version':_0x478df4[_0x4923e7(0xd9)]??getCliVersion(),'spanName':_0x478df4['spanName'],'eventType':'manual','logData':_0x478df4[_0x4923e7(0xdf)],..._0x478df4['traceparent']&&{'traceparent':_0x478df4[_0x4923e7(0xd5)]}});}
@@ -1 +1 @@
1
- function a239_0x4681(_0x445e07,_0x9336f8){_0x445e07=_0x445e07-0x93;const _0x2c79ab=a239_0x2c79();let _0x4681fc=_0x2c79ab[_0x445e07];return _0x4681fc;}const a239_0x58da73=a239_0x4681;function a239_0x2c79(){const _0x279a67=['20347063jBezNP','7HmvRZn','1022884UtJskk','issue.log.collect','description','platform-issue-log-collect','5710480ycyJic','12crysSJ','45svZQeN','originalBytes','2594664gRmOQT','title','185466PXrdZn','180zvoXIM','redactionCount','1449170SwWDMC','19015seZxGP','sanitize','join','2FnGFhZ'];a239_0x2c79=function(){return _0x279a67;};return a239_0x2c79();}(function(_0x4185ba,_0x360d93){const _0x33c34a=a239_0x4681,_0xc56d21=_0x4185ba();while(!![]){try{const _0x5bb6bd=-parseInt(_0x33c34a(0xa5))/0x1+-parseInt(_0x33c34a(0xa2))/0x2*(-parseInt(_0x33c34a(0x9b))/0x3)+-parseInt(_0x33c34a(0x9c))/0x4*(-parseInt(_0x33c34a(0x9f))/0x5)+-parseInt(_0x33c34a(0x99))/0x6+parseInt(_0x33c34a(0xa4))/0x7*(parseInt(_0x33c34a(0x95))/0x8)+-parseInt(_0x33c34a(0x97))/0x9*(parseInt(_0x33c34a(0x9e))/0xa)+parseInt(_0x33c34a(0xa3))/0xb*(parseInt(_0x33c34a(0x96))/0xc);if(_0x5bb6bd===_0x360d93)break;else _0xc56d21['push'](_0xc56d21['shift']());}catch(_0x5aebc7){_0xc56d21['push'](_0xc56d21['shift']());}}}(a239_0x2c79,0x9688b));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export const PLATFORM_ISSUE_TRACE_NAME=a239_0x58da73(0x94);export const PLATFORM_ISSUE_SPAN_NAME=a239_0x58da73(0xa6);export async function sendPlatformIssueCollectLog(_0x5acf95){const _0x1f1bb2=a239_0x58da73;await sendCliTraceLog({'traceName':PLATFORM_ISSUE_TRACE_NAME,'spanName':PLATFORM_ISSUE_SPAN_NAME,'logData':{'issue.title':_0x5acf95[_0x1f1bb2(0x9a)],'issue.description':_0x5acf95[_0x1f1bb2(0x93)],..._0x5acf95[_0x1f1bb2(0xa0)]?{'issue.description_original_bytes':_0x5acf95[_0x1f1bb2(0xa0)][_0x1f1bb2(0x98)],'issue.description_truncated':_0x5acf95[_0x1f1bb2(0xa0)]['truncated'],'issue.description_redactions':_0x5acf95['sanitize'][_0x1f1bb2(0x9d)],'issue.description_redaction_kinds':_0x5acf95[_0x1f1bb2(0xa0)]['redactionKinds'][_0x1f1bb2(0xa1)](',')}:{}}});}
1
+ const a239_0x30e15b=a239_0x5efe;(function(_0x54c0fb,_0x219b72){const _0x3e37cf=a239_0x5efe,_0x561758=_0x54c0fb();while(!![]){try{const _0x156102=parseInt(_0x3e37cf(0x13a))/0x1*(-parseInt(_0x3e37cf(0x12f))/0x2)+parseInt(_0x3e37cf(0x132))/0x3*(-parseInt(_0x3e37cf(0x135))/0x4)+parseInt(_0x3e37cf(0x13b))/0x5*(parseInt(_0x3e37cf(0x12b))/0x6)+parseInt(_0x3e37cf(0x13c))/0x7+parseInt(_0x3e37cf(0x131))/0x8*(-parseInt(_0x3e37cf(0x139))/0x9)+-parseInt(_0x3e37cf(0x138))/0xa+parseInt(_0x3e37cf(0x130))/0xb;if(_0x156102===_0x219b72)break;else _0x561758['push'](_0x561758['shift']());}catch(_0x1acbfd){_0x561758['push'](_0x561758['shift']());}}}(a239_0x474f,0x3d695));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export const PLATFORM_ISSUE_TRACE_NAME='platform-issue-log-collect';export const PLATFORM_ISSUE_SPAN_NAME=a239_0x30e15b(0x12d);function a239_0x5efe(_0x21a084,_0x3d6389){_0x21a084=_0x21a084-0x12a;const _0x474f79=a239_0x474f();let _0x5efe37=_0x474f79[_0x21a084];return _0x5efe37;}export async function sendPlatformIssueCollectLog(_0x8ff09f){const _0x528e71=a239_0x30e15b;await sendCliTraceLog({'traceName':PLATFORM_ISSUE_TRACE_NAME,'spanName':PLATFORM_ISSUE_SPAN_NAME,'logData':{'issue.title':_0x8ff09f[_0x528e71(0x13d)],'issue.description':_0x8ff09f[_0x528e71(0x137)],..._0x8ff09f['sanitize']?{'issue.description_original_bytes':_0x8ff09f[_0x528e71(0x12c)][_0x528e71(0x134)],'issue.description_truncated':_0x8ff09f[_0x528e71(0x12c)][_0x528e71(0x12a)],'issue.description_redactions':_0x8ff09f[_0x528e71(0x12c)][_0x528e71(0x136)],'issue.description_redaction_kinds':_0x8ff09f['sanitize'][_0x528e71(0x133)][_0x528e71(0x12e)](',')}:{}}});}function a239_0x474f(){const _0x12ee50=['2VuviHB','10IzVDyM','1436134ksQMfN','title','truncated','1181274hYWWyG','sanitize','issue.log.collect','join','237172halvCI','6497414TcbZeX','1529072lIzGZJ','165cVtuPR','redactionKinds','originalBytes','31988lPIyKl','redactionCount','description','699120DOnfYs','9NMxoGh'];a239_0x474f=function(){return _0x12ee50;};return a239_0x474f();}
@@ -1 +1 @@
1
- const a241_0xe36df8=a241_0x1a15;(function(_0x288747,_0x157055){const _0x2bb0a5=a241_0x1a15,_0x31cdc3=_0x288747();while(!![]){try{const _0x321f9d=parseInt(_0x2bb0a5(0x148))/0x1*(-parseInt(_0x2bb0a5(0x133))/0x2)+-parseInt(_0x2bb0a5(0x156))/0x3+parseInt(_0x2bb0a5(0x12b))/0x4+parseInt(_0x2bb0a5(0x14e))/0x5*(-parseInt(_0x2bb0a5(0x13a))/0x6)+-parseInt(_0x2bb0a5(0x142))/0x7+parseInt(_0x2bb0a5(0x132))/0x8*(-parseInt(_0x2bb0a5(0x130))/0x9)+-parseInt(_0x2bb0a5(0x129))/0xa*(-parseInt(_0x2bb0a5(0x145))/0xb);if(_0x321f9d===_0x157055)break;else _0x31cdc3['push'](_0x31cdc3['shift']());}catch(_0x4063de){_0x31cdc3['push'](_0x31cdc3['shift']());}}}(a241_0xf47d,0x78161));export const CORE_IDE_CONFIGS={'cursor':{'name':a241_0xe36df8(0x144),'description':a241_0xe36df8(0x14c),'folders':[a241_0xe36df8(0x140),a241_0xe36df8(0x14d)],'files':[{'type':a241_0xe36df8(0x124),'path':'.cursor/skills/rabetbase.md','template':a241_0xe36df8(0x12f)}]},'windsurf':{'name':'Windsurf','description':a241_0xe36df8(0x14a),'folders':[a241_0xe36df8(0x12d)],'files':[{'type':a241_0xe36df8(0x124),'path':'.windsurf/workflows/rabetbase.md','template':a241_0xe36df8(0x12f)}]},'claude':{'name':a241_0xe36df8(0x13d),'description':'Claude\x20Code','folders':['.claude'],'files':[{'type':a241_0xe36df8(0x124),'path':a241_0xe36df8(0x151),'template':'SKILL.md.tpl'}]},'cline':{'name':a241_0xe36df8(0x134),'description':a241_0xe36df8(0x14f),'folders':[a241_0xe36df8(0x125)],'files':[{'type':a241_0xe36df8(0x124),'path':'.cline/skills/lovrabet/SKILL.md','template':a241_0xe36df8(0x12f)}]},'codex':{'name':a241_0xe36df8(0x158),'description':a241_0xe36df8(0x141),'folders':['.codex'],'files':[{'type':a241_0xe36df8(0x124),'path':'.codex/skills/lovrabet/SKILL.md','template':a241_0xe36df8(0x12f)}]},'opencode':{'name':a241_0xe36df8(0x131),'description':a241_0xe36df8(0x126),'folders':[a241_0xe36df8(0x128)],'files':[{'type':'file','path':'.opencode/skills/lovrabet/SKILL.md','template':a241_0xe36df8(0x12f)}]},'qoder':{'name':a241_0xe36df8(0x12c),'description':'Qoder\x20IDE','folders':['.qoder'],'files':[{'type':'file','path':a241_0xe36df8(0x153),'template':a241_0xe36df8(0x12f)},{'type':a241_0xe36df8(0x124),'path':a241_0xe36df8(0x12e),'template':a241_0xe36df8(0x12f)}]},'codebuddy':{'name':a241_0xe36df8(0x152),'description':'CodeBuddy\x20IDE','folders':[a241_0xe36df8(0x13f)],'files':[{'type':a241_0xe36df8(0x124),'path':a241_0xe36df8(0x127),'template':a241_0xe36df8(0x12f)}]},'trae':{'name':'Trae','description':a241_0xe36df8(0x155),'folders':[a241_0xe36df8(0x157)],'files':[{'type':'file','path':a241_0xe36df8(0x147),'template':a241_0xe36df8(0x12f)}]}};function a241_0x1a15(_0x248266,_0x1de14f){_0x248266=_0x248266-0x124;const _0xf47d9b=a241_0xf47d();let _0x1a159d=_0xf47d9b[_0x248266];return _0x1a159d;}export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':'其他\x20(通用模板)','description':a241_0xe36df8(0x13b),'folders':[a241_0xe36df8(0x136)],'files':[{'type':a241_0xe36df8(0x124),'path':a241_0xe36df8(0x139),'template':a241_0xe36df8(0x12f)}]},'antigravity':{'name':a241_0xe36df8(0x135),'description':a241_0xe36df8(0x149),'folders':[a241_0xe36df8(0x136)],'files':[{'type':a241_0xe36df8(0x124),'path':a241_0xe36df8(0x139),'template':a241_0xe36df8(0x12f)}]}};function a241_0xf47d(){const _0x2b5b6=['7231obAONU','Antigravity\x20IDE','Windsurf\x20IDE','qoder','Cursor\x20IDE','.cursor','5YxaNAj','Cline\x20IDE','codex','.claude/skills/lovrabet/SKILL.md','CodeBuddy','.qoder/rules/rabetbase.md','cline','Trae\x20IDE','2645865XbUhym','.trae','Codex','file','.cline','OpenCode\x20IDE','.codebuddy/skills/lovrabet/SKILL.md','.opencode','6980tleGHH','trae','1492800gvsBsu','Qoder','.windsurf','.qoder/skills/lovrabet/SKILL.md','SKILL.md.tpl','4295061yKnpZN','OpenCode','8bORWcK','98fzWAYF','Cline','Antigravity','.agent','opencode','claude','.agent/skills/lovrabet/SKILL.md','2313546NofsXr','通用模板\x20-\x20兜底方案','antigravity','Claude\x20Code','cursor','.codebuddy','.cursorrules','Codex\x20IDE','4786733vhUjRy','windsurf','Cursor','45727AsjFic','codebuddy','.trae/skills/lovrabet/SKILL.md'];a241_0xf47d=function(){return _0x2b5b6;};return a241_0xf47d();}export const CORE_IDE_LIST=[a241_0xe36df8(0x138),a241_0xe36df8(0x154),'codebuddy',a241_0xe36df8(0x150),a241_0xe36df8(0x13e),a241_0xe36df8(0x137),'qoder',a241_0xe36df8(0x12a),'windsurf'];export const IDE_LIST=[a241_0xe36df8(0x13c),a241_0xe36df8(0x138),a241_0xe36df8(0x154),'codebuddy',a241_0xe36df8(0x150),'cursor','opencode',a241_0xe36df8(0x14b),'trae',a241_0xe36df8(0x143),'agent'];export const ALL_CORE_IDES=[a241_0xe36df8(0x13e),a241_0xe36df8(0x143),a241_0xe36df8(0x138),'cline',a241_0xe36df8(0x150),a241_0xe36df8(0x137),a241_0xe36df8(0x14b),a241_0xe36df8(0x146),a241_0xe36df8(0x12a)];
1
+ function a241_0x2fcf(_0xa9477b,_0x33f0e3){_0xa9477b=_0xa9477b-0x1e8;const _0xde02f6=a241_0xde02();let _0x2fcfb6=_0xde02f6[_0xa9477b];return _0x2fcfb6;}function a241_0xde02(){const _0x3661ba=['18137kPyiIi','10657920lttztq','.claude/skills/lovrabet/SKILL.md','cursor','4551VeauJf','file','Claude\x20Code','Trae\x20IDE','745ZlmJNp','antigravity','Windsurf','Cursor\x20IDE','Antigravity','cline','.cline/skills/lovrabet/SKILL.md','.agent','trae','windsurf','376MLAPbQ','.qoder/rules/rabetbase.md','.codebuddy/skills/lovrabet/SKILL.md','.claude','.cursor/skills/rabetbase.md','opencode','.windsurf','claude','qoder','.cursor','.cline','.qoder/skills/lovrabet/SKILL.md','4829470XpOwbi','Trae','通用模板\x20-\x20兜底方案','Cursor','.agent/skills/lovrabet/SKILL.md','SKILL.md.tpl','codebuddy','Cline','Qoder\x20IDE','.codex','Codex\x20IDE','Antigravity\x20IDE','2934ObCDdZ','.opencode','10036184YBaDMI','.codebuddy','.windsurf/workflows/rabetbase.md','Codex','3662163cLoSPj','codex','2722Pxjcea','CodeBuddy','OpenCode','其他\x20(通用模板)'];a241_0xde02=function(){return _0x3661ba;};return a241_0xde02();}const a241_0x34a5b6=a241_0x2fcf;(function(_0x1cc2b4,_0x2d4850){const _0x449d72=a241_0x2fcf,_0x317220=_0x1cc2b4();while(!![]){try{const _0x59e6da=parseInt(_0x449d72(0x1f6))/0x1*(parseInt(_0x449d72(0x1ea))/0x2)+parseInt(_0x449d72(0x1f2))/0x3*(-parseInt(_0x449d72(0x200))/0x4)+parseInt(_0x449d72(0x20c))/0x5+parseInt(_0x449d72(0x218))/0x6*(-parseInt(_0x449d72(0x1ee))/0x7)+-parseInt(_0x449d72(0x21a))/0x8+parseInt(_0x449d72(0x1e8))/0x9+parseInt(_0x449d72(0x1ef))/0xa;if(_0x59e6da===_0x2d4850)break;else _0x317220['push'](_0x317220['shift']());}catch(_0x5e97f6){_0x317220['push'](_0x317220['shift']());}}}(a241_0xde02,0xc07c2));export const CORE_IDE_CONFIGS={'cursor':{'name':a241_0x34a5b6(0x20f),'description':a241_0x34a5b6(0x1f9),'folders':['.cursorrules',a241_0x34a5b6(0x209)],'files':[{'type':'file','path':a241_0x34a5b6(0x204),'template':a241_0x34a5b6(0x211)}]},'windsurf':{'name':a241_0x34a5b6(0x1f8),'description':'Windsurf\x20IDE','folders':[a241_0x34a5b6(0x206)],'files':[{'type':a241_0x34a5b6(0x1f3),'path':a241_0x34a5b6(0x21c),'template':a241_0x34a5b6(0x211)}]},'claude':{'name':a241_0x34a5b6(0x1f4),'description':a241_0x34a5b6(0x1f4),'folders':[a241_0x34a5b6(0x203)],'files':[{'type':a241_0x34a5b6(0x1f3),'path':a241_0x34a5b6(0x1f0),'template':a241_0x34a5b6(0x211)}]},'cline':{'name':a241_0x34a5b6(0x213),'description':'Cline\x20IDE','folders':[a241_0x34a5b6(0x20a)],'files':[{'type':a241_0x34a5b6(0x1f3),'path':a241_0x34a5b6(0x1fc),'template':'SKILL.md.tpl'}]},'codex':{'name':a241_0x34a5b6(0x21d),'description':a241_0x34a5b6(0x216),'folders':[a241_0x34a5b6(0x215)],'files':[{'type':a241_0x34a5b6(0x1f3),'path':'.codex/skills/lovrabet/SKILL.md','template':'SKILL.md.tpl'}]},'opencode':{'name':a241_0x34a5b6(0x1ec),'description':'OpenCode\x20IDE','folders':[a241_0x34a5b6(0x219)],'files':[{'type':a241_0x34a5b6(0x1f3),'path':'.opencode/skills/lovrabet/SKILL.md','template':'SKILL.md.tpl'}]},'qoder':{'name':'Qoder','description':a241_0x34a5b6(0x214),'folders':['.qoder'],'files':[{'type':a241_0x34a5b6(0x1f3),'path':a241_0x34a5b6(0x201),'template':a241_0x34a5b6(0x211)},{'type':'file','path':a241_0x34a5b6(0x20b),'template':a241_0x34a5b6(0x211)}]},'codebuddy':{'name':a241_0x34a5b6(0x1eb),'description':'CodeBuddy\x20IDE','folders':[a241_0x34a5b6(0x21b)],'files':[{'type':a241_0x34a5b6(0x1f3),'path':a241_0x34a5b6(0x202),'template':a241_0x34a5b6(0x211)}]},'trae':{'name':a241_0x34a5b6(0x20d),'description':a241_0x34a5b6(0x1f5),'folders':['.trae'],'files':[{'type':a241_0x34a5b6(0x1f3),'path':'.trae/skills/lovrabet/SKILL.md','template':'SKILL.md.tpl'}]}};export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':a241_0x34a5b6(0x1ed),'description':a241_0x34a5b6(0x20e),'folders':[a241_0x34a5b6(0x1fd)],'files':[{'type':a241_0x34a5b6(0x1f3),'path':'.agent/skills/lovrabet/SKILL.md','template':a241_0x34a5b6(0x211)}]},'antigravity':{'name':a241_0x34a5b6(0x1fa),'description':a241_0x34a5b6(0x217),'folders':['.agent'],'files':[{'type':a241_0x34a5b6(0x1f3),'path':a241_0x34a5b6(0x210),'template':a241_0x34a5b6(0x211)}]}};export const CORE_IDE_LIST=[a241_0x34a5b6(0x207),'cline',a241_0x34a5b6(0x212),'codex','cursor',a241_0x34a5b6(0x205),'qoder','trae',a241_0x34a5b6(0x1ff)];export const IDE_LIST=[a241_0x34a5b6(0x1f7),a241_0x34a5b6(0x207),'cline','codebuddy','codex',a241_0x34a5b6(0x1f1),a241_0x34a5b6(0x205),'qoder',a241_0x34a5b6(0x1fe),a241_0x34a5b6(0x1ff),'agent'];export const ALL_CORE_IDES=[a241_0x34a5b6(0x1f1),a241_0x34a5b6(0x1ff),a241_0x34a5b6(0x207),a241_0x34a5b6(0x1fb),a241_0x34a5b6(0x1e9),'opencode',a241_0x34a5b6(0x208),'codebuddy',a241_0x34a5b6(0x1fe)];
@@ -1 +1 @@
1
- (function(_0x27243e,_0x5e6b95){const _0x44691a=a242_0x3652,_0x33386b=_0x27243e();while(!![]){try{const _0x491cdc=-parseInt(_0x44691a(0xca))/0x1+parseInt(_0x44691a(0xd0))/0x2+parseInt(_0x44691a(0xcf))/0x3+-parseInt(_0x44691a(0xd2))/0x4*(parseInt(_0x44691a(0xd3))/0x5)+-parseInt(_0x44691a(0xcc))/0x6+-parseInt(_0x44691a(0xcb))/0x7*(parseInt(_0x44691a(0xcd))/0x8)+parseInt(_0x44691a(0xd1))/0x9*(parseInt(_0x44691a(0xce))/0xa);if(_0x491cdc===_0x5e6b95)break;else _0x33386b['push'](_0x33386b['shift']());}catch(_0x54cac0){_0x33386b['push'](_0x33386b['shift']());}}}(a242_0x21f4,0x9b40e));import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a242_0x21f4(){const _0x42d8ae=['3142290jGhuOL','3234591boCuyw','935550GlXuPx','18JiEHoG','315592NMFFAY','30rfWgKa','333987hwWpNI','1819811dnZmlh','1267146UgWNii','16HlCAwj'];a242_0x21f4=function(){return _0x42d8ae;};return a242_0x21f4();}function a242_0x3652(_0x568cfa,_0x56cb36){_0x568cfa=_0x568cfa-0xca;const _0x21f4b8=a242_0x21f4();let _0x365292=_0x21f4b8[_0x568cfa];return _0x365292;}export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
1
+ (function(_0x3ca8ad,_0x425579){const _0x32c99b=a242_0x330f,_0x5cb10c=_0x3ca8ad();while(!![]){try{const _0x828ada=parseInt(_0x32c99b(0x1a0))/0x1+-parseInt(_0x32c99b(0x19e))/0x2+parseInt(_0x32c99b(0x19c))/0x3*(parseInt(_0x32c99b(0x19f))/0x4)+parseInt(_0x32c99b(0x19d))/0x5*(-parseInt(_0x32c99b(0x199))/0x6)+parseInt(_0x32c99b(0x1a3))/0x7*(parseInt(_0x32c99b(0x19a))/0x8)+-parseInt(_0x32c99b(0x1a1))/0x9+parseInt(_0x32c99b(0x1a2))/0xa*(parseInt(_0x32c99b(0x19b))/0xb);if(_0x828ada===_0x425579)break;else _0x5cb10c['push'](_0x5cb10c['shift']());}catch(_0x15602e){_0x5cb10c['push'](_0x5cb10c['shift']());}}}(a242_0x5199,0x96ac1));import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a242_0x330f(_0x1b9cf7,_0x583f88){_0x1b9cf7=_0x1b9cf7-0x199;const _0x519986=a242_0x5199();let _0x330f47=_0x519986[_0x1b9cf7];return _0x330f47;}export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});function a242_0x5199(){const _0x22bc4d=['40527uPGaZT','840upIyjg','260558ooRzHu','56nHXaoD','910508ZEFBaF','10758762JVLXrw','1012530eSeJlY','21Kivjlv','40446ojIyDH','678408HVERRy','187qmAdXM'];a242_0x5199=function(){return _0x22bc4d;};return a242_0x5199();}
@@ -1 +1 @@
1
- function a243_0x4a07(_0x27e9d8,_0x13197a){_0x27e9d8=_0x27e9d8-0xe9;const _0x477dfd=a243_0x477d();let _0x4a0776=_0x477dfd[_0x27e9d8];return _0x4a0776;}(function(_0xa9cd6d,_0x3cf007){const _0x20e547=a243_0x4a07,_0x44cf82=_0xa9cd6d();while(!![]){try{const _0x2c91a6=parseInt(_0x20e547(0xeb))/0x1+-parseInt(_0x20e547(0xec))/0x2*(parseInt(_0x20e547(0xf4))/0x3)+-parseInt(_0x20e547(0xee))/0x4+parseInt(_0x20e547(0xf3))/0x5*(parseInt(_0x20e547(0xf8))/0x6)+-parseInt(_0x20e547(0xf1))/0x7*(-parseInt(_0x20e547(0xfa))/0x8)+-parseInt(_0x20e547(0xf6))/0x9*(parseInt(_0x20e547(0xe9))/0xa)+parseInt(_0x20e547(0xf9))/0xb;if(_0x2c91a6===_0x3cf007)break;else _0x44cf82['push'](_0x44cf82['shift']());}catch(_0x218463){_0x44cf82['push'](_0x44cf82['shift']());}}}(a243_0x477d,0x6c249));function a243_0x477d(){const _0x9d8bc6=['4728020zAvsZt','376144SZmHTc','10ixiSmF','stableVersion','367787AvNBtW','2WiWiMk','now','1374252cKyGdL','node','cli','84jrCuut','/config/index.json','1360180bUfuDj','1326363UTmjVY','application/json','6095322FyNNRd','json','12mzpHWa'];a243_0x477d=function(){return _0x9d8bc6;};return a243_0x477d();}import{getTemplateBaseUrl}from'../utils/config.js';export async function fetchCdnConfig(){const _0x419a05=a243_0x4a07,_0x4c7242=getTemplateBaseUrl(),_0x2e3b10=[_0x4c7242+'/config.json',_0x4c7242+_0x419a05(0xf2)];for(const _0x529554 of _0x2e3b10){try{const _0x487217=await fetch(_0x529554,{'headers':{'Accept':_0x419a05(0xf5)}});if(!_0x487217['ok'])continue;const _0x4b4575=await _0x487217[_0x419a05(0xf7)]();if(!_0x4b4575[_0x419a05(0xf0)]?.['stableVersion']||!_0x4b4575['sdk']?.[_0x419a05(0xef)]?.[_0x419a05(0xea)])continue;return _0x4b4575;}catch{}}return null;}let cachedConfig=null,cacheTime=0x0;const CACHE_TTL=0x5*0x3c*0x3e8,FAILURE_CACHE_TTL=0x3c*0x3e8;let hasCachedConfig=![];export async function getCdnConfig(){const _0x28aa38=a243_0x4a07,_0x414b7e=Date[_0x28aa38(0xed)]();if(hasCachedConfig){const _0x9c1e4d=cachedConfig?CACHE_TTL:FAILURE_CACHE_TTL;if(_0x414b7e-cacheTime<_0x9c1e4d)return cachedConfig;}const _0x1f2927=await fetchCdnConfig();return cachedConfig=_0x1f2927,cacheTime=_0x414b7e,hasCachedConfig=!![],_0x1f2927;}export function clearCdnConfigCache(){cachedConfig=null,cacheTime=0x0,hasCachedConfig=![];}
1
+ (function(_0x712861,_0x16f64c){const _0x18ef0c=a243_0x2c77,_0xfbc0ea=_0x712861();while(!![]){try{const _0x327cb5=parseInt(_0x18ef0c(0xf4))/0x1*(-parseInt(_0x18ef0c(0xe9))/0x2)+-parseInt(_0x18ef0c(0xf6))/0x3+parseInt(_0x18ef0c(0xea))/0x4*(parseInt(_0x18ef0c(0xee))/0x5)+-parseInt(_0x18ef0c(0xf2))/0x6*(-parseInt(_0x18ef0c(0xe8))/0x7)+-parseInt(_0x18ef0c(0xed))/0x8+parseInt(_0x18ef0c(0xf3))/0x9*(-parseInt(_0x18ef0c(0xf5))/0xa)+parseInt(_0x18ef0c(0xf8))/0xb;if(_0x327cb5===_0x16f64c)break;else _0xfbc0ea['push'](_0xfbc0ea['shift']());}catch(_0x5947bb){_0xfbc0ea['push'](_0xfbc0ea['shift']());}}}(a243_0x352d,0x55e7f));import{getTemplateBaseUrl}from'../utils/config.js';function a243_0x352d(){const _0x37fe3f=['sdk','now','3266232HqfeOP','27GdIUUC','41qvxswN','1548920zRZPlN','1476576tYxMBZ','node','9613945sbtxVV','/config/index.json','7zSsvMl','21650HZtgWy','2316984gtQDDS','/config.json','application/json','1960392YZsbtF','5HZOYoN','stableVersion'];a243_0x352d=function(){return _0x37fe3f;};return a243_0x352d();}function a243_0x2c77(_0x6285de,_0x38dc2b){_0x6285de=_0x6285de-0xe7;const _0x352db3=a243_0x352d();let _0x2c77d0=_0x352db3[_0x6285de];return _0x2c77d0;}export async function fetchCdnConfig(){const _0x4bc802=a243_0x2c77,_0x1c0b7b=getTemplateBaseUrl(),_0x3a4157=[_0x1c0b7b+_0x4bc802(0xeb),_0x1c0b7b+_0x4bc802(0xe7)];for(const _0xe9729 of _0x3a4157){try{const _0x2331a0=await fetch(_0xe9729,{'headers':{'Accept':_0x4bc802(0xec)}});if(!_0x2331a0['ok'])continue;const _0x3393d4=await _0x2331a0['json']();if(!_0x3393d4['cli']?.[_0x4bc802(0xef)]||!_0x3393d4[_0x4bc802(0xf0)]?.[_0x4bc802(0xf7)]?.[_0x4bc802(0xef)])continue;return _0x3393d4;}catch{}}return null;}let cachedConfig=null,cacheTime=0x0;const CACHE_TTL=0x5*0x3c*0x3e8,FAILURE_CACHE_TTL=0x3c*0x3e8;let hasCachedConfig=![];export async function getCdnConfig(){const _0x3c31f4=a243_0x2c77,_0x607a07=Date[_0x3c31f4(0xf1)]();if(hasCachedConfig){const _0x3460d7=cachedConfig?CACHE_TTL:FAILURE_CACHE_TTL;if(_0x607a07-cacheTime<_0x3460d7)return cachedConfig;}const _0x51d8e1=await fetchCdnConfig();return cachedConfig=_0x51d8e1,cacheTime=_0x607a07,hasCachedConfig=!![],_0x51d8e1;}export function clearCdnConfigCache(){cachedConfig=null,cacheTime=0x0,hasCachedConfig=![];}
@@ -1 +1 @@
1
- (function(_0x4bc4d6,_0x1de813){const _0x36e3b4=a244_0x5550,_0x17e3f0=_0x4bc4d6();while(!![]){try{const _0x25ea64=parseInt(_0x36e3b4(0x1b0))/0x1*(parseInt(_0x36e3b4(0x1b7))/0x2)+parseInt(_0x36e3b4(0x1b2))/0x3*(-parseInt(_0x36e3b4(0x1ba))/0x4)+parseInt(_0x36e3b4(0x1d0))/0x5*(parseInt(_0x36e3b4(0x1bc))/0x6)+-parseInt(_0x36e3b4(0x1c3))/0x7*(-parseInt(_0x36e3b4(0x1ca))/0x8)+-parseInt(_0x36e3b4(0x1c5))/0x9+-parseInt(_0x36e3b4(0x1cc))/0xa+parseInt(_0x36e3b4(0x1b1))/0xb*(parseInt(_0x36e3b4(0x1b6))/0xc);if(_0x25ea64===_0x1de813)break;else _0x17e3f0['push'](_0x17e3f0['shift']());}catch(_0x49c107){_0x17e3f0['push'](_0x17e3f0['shift']());}}}(a244_0x2686,0xc8af6));function a244_0x2686(){const _0x269eac=['\x1b[33m','164rKNCup','version','134454wxwqWB','\x20\x20\x20Current\x20version:\x20','log','needsUpgrade','stableVersion','npm\x20install\x20','dependencies','7jCHECr','sdk','7126641kmKPWm','↪\x20SDK\x20update\x20available','\x1b[1m','\x20\x20\x20Upgrade\x20command:\x20','existsSync','9324328yHJCFP','parse','10987040zHKexH','node','utf-8','minVersion','125lkeUxa','@lovrabet/sdk','packageName','test','coerce','utf8','node_modules','71423vSZLvy','16978841UnnCNx','45963iuZXcz','package.json','join','some','12xFWkYN','2IfWlkj','readFileSync'];a244_0x2686=function(){return _0x269eac;};return a244_0x2686();}import a244_0x4778e1 from'node:fs';import a244_0x32e712 from'node:path';import a244_0x3c70ad from'semver';import{getCdnConfig}from'../utils/cdn-config.js';const FALLBACK_MIN_SDK_VERSION='1.2.0';function isNonNumericVersion(_0x574d0b){const _0x1c2e31=a244_0x5550,_0x1d5155=[/^latest$/i,/^beta$/i,/^alpha$/i,/^canary$/i,/^\*$/,/^x$/];return _0x1d5155[_0x1c2e31(0x1b5)](_0x863b16=>_0x863b16[_0x1c2e31(0x1ac)](_0x574d0b));}function getInstalledVersion(_0x55598d,_0x33b927){const _0x39e44e=a244_0x5550;try{const _0x987828=a244_0x32e712[_0x39e44e(0x1b4)](_0x55598d,_0x39e44e(0x1af),_0x33b927,_0x39e44e(0x1b3));if(a244_0x4778e1[_0x39e44e(0x1c9)](_0x987828)){const _0x57d0a3=JSON[_0x39e44e(0x1cb)](a244_0x4778e1[_0x39e44e(0x1b8)](_0x987828,_0x39e44e(0x1ce)));return _0x57d0a3[_0x39e44e(0x1bb)]||null;}}catch{}return null;}function a244_0x5550(_0x2f709c,_0x4d2643){_0x2f709c=_0x2f709c-0x1ab;const _0x2686d9=a244_0x2686();let _0x55501f=_0x2686d9[_0x2f709c];return _0x55501f;}async function getSdkStableVersion(){try{const _0x23111c=await getCdnConfig();return _0x23111c?.['sdk']?.['node']?.['stableVersion']||null;}catch{return null;}}async function getSdkPackageName(){const _0x2f99f7=a244_0x5550;try{const _0x50b73c=await getCdnConfig();return _0x50b73c?.[_0x2f99f7(0x1c4)]?.[_0x2f99f7(0x1cd)]?.[_0x2f99f7(0x1ab)]||_0x2f99f7(0x1d1);}catch{return _0x2f99f7(0x1d1);}}export async function checkSdkVersion(_0x3adee7){const _0x2510c6=a244_0x5550,_0x1419bf=a244_0x32e712[_0x2510c6(0x1b4)](_0x3adee7,_0x2510c6(0x1b3)),[_0x25773c,_0x8aa48d]=await Promise['all']([getSdkStableVersion(),getSdkPackageName()]),_0x4b407e=_0x25773c||FALLBACK_MIN_SDK_VERSION;if(!a244_0x4778e1[_0x2510c6(0x1c9)](_0x1419bf))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x4b407e,'packageName':_0x8aa48d,'stableVersion':_0x25773c};try{const _0x5e89fe=JSON[_0x2510c6(0x1cb)](a244_0x4778e1[_0x2510c6(0x1b8)](_0x1419bf,_0x2510c6(0x1ae))),_0x496cee=_0x5e89fe[_0x2510c6(0x1c2)]||{},_0x10f115=_0x5e89fe['devDependencies']||{},_0x182971=_0x496cee[_0x8aa48d]||_0x10f115[_0x8aa48d];if(!_0x182971)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x4b407e,'packageName':_0x8aa48d,'stableVersion':_0x25773c};let _0x187a96=getInstalledVersion(_0x3adee7,_0x8aa48d);!_0x187a96&&(_0x187a96=_0x182971);if(isNonNumericVersion(_0x182971))return{'installed':!![],'version':_0x187a96,'needsUpgrade':![],'minVersion':_0x4b407e,'packageName':_0x8aa48d,'stableVersion':_0x25773c};const _0x582ce9=a244_0x3c70ad[_0x2510c6(0x1ad)](_0x187a96),_0x23162d=a244_0x3c70ad[_0x2510c6(0x1ad)](_0x4b407e),_0x1dbb23=_0x582ce9&&_0x23162d?a244_0x3c70ad['lt'](_0x582ce9,_0x23162d):![];return{'installed':!![],'version':_0x187a96,'needsUpgrade':_0x1dbb23,'minVersion':_0x4b407e,'packageName':_0x8aa48d,'stableVersion':_0x25773c};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x4b407e,'packageName':_0x8aa48d,'stableVersion':_0x25773c};}}export function checkSdkVersionSync(_0x4add3b){const _0x536ce7=a244_0x5550,_0x58371a=a244_0x32e712[_0x536ce7(0x1b4)](_0x4add3b,'package.json'),_0x777d98=_0x536ce7(0x1d1);if(!a244_0x4778e1[_0x536ce7(0x1c9)](_0x58371a))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x777d98,'stableVersion':null};try{const _0x19e80f=JSON[_0x536ce7(0x1cb)](a244_0x4778e1[_0x536ce7(0x1b8)](_0x58371a,'utf8')),_0x2d6186=_0x19e80f[_0x536ce7(0x1c2)]||{},_0x2ef34d=_0x19e80f['devDependencies']||{},_0x1fdb71=_0x2d6186[_0x777d98]||_0x2ef34d[_0x777d98];if(!_0x1fdb71)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x777d98,'stableVersion':null};let _0x13232b=getInstalledVersion(_0x4add3b,_0x777d98);!_0x13232b&&(_0x13232b=_0x1fdb71);if(isNonNumericVersion(_0x1fdb71))return{'installed':!![],'version':_0x13232b,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x777d98,'stableVersion':null};const _0x505f4b=a244_0x3c70ad[_0x536ce7(0x1ad)](_0x13232b),_0x1bb5a1=_0x505f4b?a244_0x3c70ad['lt'](_0x505f4b,FALLBACK_MIN_SDK_VERSION):![];return{'installed':!![],'version':_0x13232b,'needsUpgrade':_0x1bb5a1,'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x777d98,'stableVersion':null};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x777d98,'stableVersion':null};}}export function printSdkUpgradeWarning(_0x102152){const _0x325ee1=a244_0x5550;if(!_0x102152[_0x325ee1(0x1bf)])return;const _0x40680f=_0x325ee1(0x1b9),_0x57ed57='\x1b[0m',_0x518523=_0x325ee1(0x1c7),_0x390798=_0x102152[_0x325ee1(0x1ab)]||_0x325ee1(0x1d1),_0x2151de=_0x102152[_0x325ee1(0x1c0)]||_0x102152[_0x325ee1(0x1cf)],_0x5a54b6=_0x325ee1(0x1c1)+_0x390798+'@'+(_0x2151de||'latest');console[_0x325ee1(0x1be)](),console[_0x325ee1(0x1be)](''+_0x40680f+_0x518523+_0x325ee1(0x1c6)+_0x57ed57),console[_0x325ee1(0x1be)](_0x40680f+_0x325ee1(0x1bd)+_0x390798+'@'+_0x102152[_0x325ee1(0x1bb)]+_0x57ed57),console['log'](_0x40680f+'\x20\x20\x20Stable\x20version:\x20'+_0x2151de+_0x57ed57),console['log'](_0x40680f+_0x325ee1(0x1c8)+_0x5a54b6+_0x57ed57),console['log']();}
1
+ (function(_0x49072b,_0x374e31){const _0x1b2a60=a244_0x1a0a,_0x11e32a=_0x49072b();while(!![]){try{const _0x5ceb37=parseInt(_0x1b2a60(0x106))/0x1+parseInt(_0x1b2a60(0x10d))/0x2*(-parseInt(_0x1b2a60(0x118))/0x3)+-parseInt(_0x1b2a60(0x11d))/0x4*(parseInt(_0x1b2a60(0x108))/0x5)+-parseInt(_0x1b2a60(0x11a))/0x6*(parseInt(_0x1b2a60(0x119))/0x7)+parseInt(_0x1b2a60(0x11f))/0x8*(-parseInt(_0x1b2a60(0x115))/0x9)+-parseInt(_0x1b2a60(0x109))/0xa*(parseInt(_0x1b2a60(0x129))/0xb)+parseInt(_0x1b2a60(0x125))/0xc;if(_0x5ceb37===_0x374e31)break;else _0x11e32a['push'](_0x11e32a['shift']());}catch(_0x5ba032){_0x11e32a['push'](_0x11e32a['shift']());}}}(a244_0x24bc,0xe6081));function a244_0x1a0a(_0x5e9a13,_0x1cf035){_0x5e9a13=_0x5e9a13-0x105;const _0x24bc25=a244_0x24bc();let _0x1a0a29=_0x24bc25[_0x5e9a13];return _0x1a0a29;}import a244_0x524fb7 from'node:fs';import a244_0xb4a649 from'node:path';import a244_0x387c52 from'semver';import{getCdnConfig}from'../utils/cdn-config.js';const FALLBACK_MIN_SDK_VERSION='1.2.0';function isNonNumericVersion(_0x7dd97f){const _0x3fc2d2=a244_0x1a0a,_0x157d3f=[/^latest$/i,/^beta$/i,/^alpha$/i,/^canary$/i,/^\*$/,/^x$/];return _0x157d3f['some'](_0x527083=>_0x527083[_0x3fc2d2(0x113)](_0x7dd97f));}function getInstalledVersion(_0x3720cd,_0x21547a){const _0x1dd85c=a244_0x1a0a;try{const _0x5ae8ee=a244_0xb4a649['join'](_0x3720cd,_0x1dd85c(0x122),_0x21547a,_0x1dd85c(0x124));if(a244_0x524fb7[_0x1dd85c(0x110)](_0x5ae8ee)){const _0x529013=JSON[_0x1dd85c(0x114)](a244_0x524fb7['readFileSync'](_0x5ae8ee,'utf-8'));return _0x529013[_0x1dd85c(0x123)]||null;}}catch{}return null;}async function getSdkStableVersion(){const _0x4c741f=a244_0x1a0a;try{const _0x44f3ac=await getCdnConfig();return _0x44f3ac?.[_0x4c741f(0x105)]?.[_0x4c741f(0x120)]?.[_0x4c741f(0x117)]||null;}catch{return null;}}async function getSdkPackageName(){const _0x2de1ec=a244_0x1a0a;try{const _0x5a932e=await getCdnConfig();return _0x5a932e?.[_0x2de1ec(0x105)]?.['node']?.[_0x2de1ec(0x107)]||'@lovrabet/sdk';}catch{return _0x2de1ec(0x121);}}export async function checkSdkVersion(_0x4e1cf3){const _0x3987d8=a244_0x1a0a,_0x164203=a244_0xb4a649[_0x3987d8(0x116)](_0x4e1cf3,_0x3987d8(0x124)),[_0x2ede4c,_0x13635b]=await Promise['all']([getSdkStableVersion(),getSdkPackageName()]),_0x47692c=_0x2ede4c||FALLBACK_MIN_SDK_VERSION;if(!a244_0x524fb7[_0x3987d8(0x110)](_0x164203))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x47692c,'packageName':_0x13635b,'stableVersion':_0x2ede4c};try{const _0x39f1cf=JSON['parse'](a244_0x524fb7[_0x3987d8(0x10b)](_0x164203,_0x3987d8(0x126))),_0x4aa9dc=_0x39f1cf['dependencies']||{},_0x125e1e=_0x39f1cf[_0x3987d8(0x10e)]||{},_0x56aa33=_0x4aa9dc[_0x13635b]||_0x125e1e[_0x13635b];if(!_0x56aa33)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x47692c,'packageName':_0x13635b,'stableVersion':_0x2ede4c};let _0x1ce308=getInstalledVersion(_0x4e1cf3,_0x13635b);!_0x1ce308&&(_0x1ce308=_0x56aa33);if(isNonNumericVersion(_0x56aa33))return{'installed':!![],'version':_0x1ce308,'needsUpgrade':![],'minVersion':_0x47692c,'packageName':_0x13635b,'stableVersion':_0x2ede4c};const _0x3ec2ab=a244_0x387c52[_0x3987d8(0x11b)](_0x1ce308),_0x2d46f0=a244_0x387c52['coerce'](_0x47692c),_0x137920=_0x3ec2ab&&_0x2d46f0?a244_0x387c52['lt'](_0x3ec2ab,_0x2d46f0):![];return{'installed':!![],'version':_0x1ce308,'needsUpgrade':_0x137920,'minVersion':_0x47692c,'packageName':_0x13635b,'stableVersion':_0x2ede4c};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x47692c,'packageName':_0x13635b,'stableVersion':_0x2ede4c};}}function a244_0x24bc(){const _0x134f56=['utf8','latest','\x20\x20\x20Upgrade\x20command:\x20','22AmohVh','sdk','1015282eXNvDZ','packageName','111490fmreJO','430410FceSOw','↪\x20SDK\x20update\x20available','readFileSync','log','417926LOmoce','devDependencies','needsUpgrade','existsSync','\x1b[1m','\x1b[33m','test','parse','3177hAtrzG','join','stableVersion','3pQcuki','15225EhiFnI','4818aaCbeK','coerce','\x1b[0m','164PvNVIC','npm\x20install\x20','38888vJhEyS','node','@lovrabet/sdk','node_modules','version','package.json','55183776NlEmOF'];a244_0x24bc=function(){return _0x134f56;};return a244_0x24bc();}export function checkSdkVersionSync(_0x18e0b1){const _0xf49296=a244_0x1a0a,_0x2ec1cc=a244_0xb4a649[_0xf49296(0x116)](_0x18e0b1,_0xf49296(0x124)),_0x161b0e='@lovrabet/sdk';if(!a244_0x524fb7[_0xf49296(0x110)](_0x2ec1cc))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x161b0e,'stableVersion':null};try{const _0x632b66=JSON[_0xf49296(0x114)](a244_0x524fb7[_0xf49296(0x10b)](_0x2ec1cc,_0xf49296(0x126))),_0x31e6fd=_0x632b66['dependencies']||{},_0x176c54=_0x632b66[_0xf49296(0x10e)]||{},_0x1a13e7=_0x31e6fd[_0x161b0e]||_0x176c54[_0x161b0e];if(!_0x1a13e7)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x161b0e,'stableVersion':null};let _0x1116cd=getInstalledVersion(_0x18e0b1,_0x161b0e);!_0x1116cd&&(_0x1116cd=_0x1a13e7);if(isNonNumericVersion(_0x1a13e7))return{'installed':!![],'version':_0x1116cd,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x161b0e,'stableVersion':null};const _0x3e4416=a244_0x387c52[_0xf49296(0x11b)](_0x1116cd),_0x6a87ad=_0x3e4416?a244_0x387c52['lt'](_0x3e4416,FALLBACK_MIN_SDK_VERSION):![];return{'installed':!![],'version':_0x1116cd,'needsUpgrade':_0x6a87ad,'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x161b0e,'stableVersion':null};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x161b0e,'stableVersion':null};}}export function printSdkUpgradeWarning(_0x312aec){const _0x2a040a=a244_0x1a0a;if(!_0x312aec[_0x2a040a(0x10f)])return;const _0x47831a=_0x2a040a(0x112),_0x26a334=_0x2a040a(0x11c),_0x223245=_0x2a040a(0x111),_0x451fe9=_0x312aec[_0x2a040a(0x107)]||_0x2a040a(0x121),_0x262729=_0x312aec[_0x2a040a(0x117)]||_0x312aec['minVersion'],_0x3d48c5=_0x2a040a(0x11e)+_0x451fe9+'@'+(_0x262729||_0x2a040a(0x127));console[_0x2a040a(0x10c)](),console['log'](''+_0x47831a+_0x223245+_0x2a040a(0x10a)+_0x26a334),console[_0x2a040a(0x10c)](_0x47831a+'\x20\x20\x20Current\x20version:\x20'+_0x451fe9+'@'+_0x312aec[_0x2a040a(0x123)]+_0x26a334),console[_0x2a040a(0x10c)](_0x47831a+'\x20\x20\x20Stable\x20version:\x20'+_0x262729+_0x26a334),console['log'](_0x47831a+_0x2a040a(0x128)+_0x3d48c5+_0x26a334),console[_0x2a040a(0x10c)]();}
@@ -1 +1 @@
1
- (function(_0x4dfb0e,_0x524cbe){const _0x1ad68a=a245_0x2828,_0x544aec=_0x4dfb0e();while(!![]){try{const _0x13aff8=-parseInt(_0x1ad68a(0x1c8))/0x1*(parseInt(_0x1ad68a(0x1e0))/0x2)+parseInt(_0x1ad68a(0x1de))/0x3+parseInt(_0x1ad68a(0x1d9))/0x4+-parseInt(_0x1ad68a(0x1ec))/0x5*(-parseInt(_0x1ad68a(0x1e7))/0x6)+parseInt(_0x1ad68a(0x1cc))/0x7+-parseInt(_0x1ad68a(0x1dc))/0x8+-parseInt(_0x1ad68a(0x1e2))/0x9;if(_0x13aff8===_0x524cbe)break;else _0x544aec['push'](_0x544aec['shift']());}catch(_0x25ef0b){_0x544aec['push'](_0x544aec['shift']());}}}(a245_0x4fd7,0x5360d));import{readFileSync}from'node:fs';import{resolve,dirname}from'node:path';import{fileURLToPath}from'node:url';import a245_0x259e33 from'semver';function a245_0x2828(_0x5d9c88,_0x3cf293){_0x5d9c88=_0x5d9c88-0x1c8;const _0x4fd7dc=a245_0x4fd7();let _0x282867=_0x4fd7dc[_0x5d9c88];return _0x282867;}import{getCliVersionPolicy}from'../utils/cli-version-policy.js';function a245_0x4fd7(){const _0x1603aa=['\x20\x20\x20Current\x20CLI\x20version:\x20','Minimum\x20supported:\x20','minimumVersion','1605135lZCjkP','belowMinimum','\x20\x20\x20Upgrade\x20command:\x20','package.json','log','version','npm\x20install\x20-g\x20','\x20\x20\x20Stable\x20version:\x20','parse','\x20\x20\x20','\x20\x20\x20Minimum\x20supported:\x20','\x1b[0m','upgradeMessage','1749824ipxaJU','1.0.0','currentVersion','2597232lfKkZD','coerce','1260732XSXWBM','\x1b[1m','446hFsxWD','join','654696PSbabD','minimumVersionMessage','needsUpgrade','Current\x20CLI\x20version\x20is\x20below\x20the\x20service\x20compatibility\x20support\x20line.','\x1b[31m','1707366jKPMpt','stableVersion','filter','latest','Current\x20version:\x20','5KSOVvH','../..','2837AHblag'];a245_0x4fd7=function(){return _0x1603aa;};return a245_0x4fd7();}import{NPM_PACKAGE_NAME}from'../constant/cli.js';import{CliErrors}from'../errors.js';export function getCliUpgradeCommand(_0x43f840){const _0x3ebed6=a245_0x2828,_0x4eaf65=_0x43f840[_0x3ebed6(0x1e8)]||_0x3ebed6(0x1ea);return _0x3ebed6(0x1d2)+NPM_PACKAGE_NAME+'@'+_0x4eaf65;}function getCurrentCliVersion(){const _0x52acbf=a245_0x2828;try{const _0x206d2e=fileURLToPath(import.meta.url),_0x4db730=resolve(dirname(_0x206d2e),_0x52acbf(0x1ed)),_0x4de78c=resolve(_0x4db730,_0x52acbf(0x1cf)),_0x32e8ba=JSON[_0x52acbf(0x1d4)](readFileSync(_0x4de78c,'utf-8'));return _0x32e8ba[_0x52acbf(0x1d1)]||_0x52acbf(0x1da);}catch{return'1.0.0';}}export async function checkCliVersion(){const _0x47763a=a245_0x2828,_0x2f6faf=getCurrentCliVersion(),_0x406bfa=await getCliVersionPolicy(),_0x31bed2=_0x406bfa?.[_0x47763a(0x1e8)]||null,_0x64ef3d=_0x406bfa?.[_0x47763a(0x1cb)]||null;let _0x4e04fd=![],_0x51a41a=![];const _0x276703=a245_0x259e33['coerce'](_0x2f6faf);if(_0x276703&&_0x31bed2)try{const _0x147fda=a245_0x259e33[_0x47763a(0x1dd)](_0x31bed2);if(_0x147fda)_0x4e04fd=a245_0x259e33['lt'](_0x276703,_0x147fda);}catch{}if(_0x276703&&_0x64ef3d)try{const _0x4eaef3=a245_0x259e33[_0x47763a(0x1dd)](_0x64ef3d);if(_0x4eaef3)_0x51a41a=a245_0x259e33['lt'](_0x276703,_0x4eaef3);}catch{}return _0x51a41a&&(_0x4e04fd=!![]),{'currentVersion':_0x2f6faf,'stableVersion':_0x31bed2,'minimumVersion':_0x64ef3d,'needsUpgrade':_0x4e04fd,'belowMinimum':_0x51a41a,'isPreRelease':![],'upgradeMessage':_0x406bfa?.[_0x47763a(0x1d8)],'minimumVersionMessage':_0x406bfa?.['minimumVersionMessage']};}export function printCliUpgradeWarning(_0x5e7f0d){const _0x33626f=a245_0x2828;if(!_0x5e7f0d[_0x33626f(0x1e4)]&&!_0x5e7f0d[_0x33626f(0x1cd)])return;const _0x10d41e=_0x33626f(0x1e6),_0x37eb14='\x1b[33m',_0xccd151=_0x33626f(0x1d7),_0x4e22d7=_0x33626f(0x1df),_0xb74443=getCliUpgradeCommand(_0x5e7f0d);console[_0x33626f(0x1d0)](),_0x5e7f0d[_0x33626f(0x1cd)]?(console[_0x33626f(0x1d0)](''+_0x10d41e+_0x4e22d7+'↪\x20Critical\x20CLI\x20upgrade\x20required'+_0xccd151),console['log'](_0x10d41e+_0x33626f(0x1c9)+_0x5e7f0d[_0x33626f(0x1db)]+_0xccd151),_0x5e7f0d[_0x33626f(0x1cb)]&&console[_0x33626f(0x1d0)](_0x10d41e+_0x33626f(0x1d6)+_0x5e7f0d[_0x33626f(0x1cb)]+_0xccd151),_0x5e7f0d['stableVersion']&&_0x5e7f0d[_0x33626f(0x1e8)]!==_0x5e7f0d[_0x33626f(0x1cb)]&&console[_0x33626f(0x1d0)](_0x10d41e+'\x20\x20\x20Recommended\x20stable:\x20'+_0x5e7f0d[_0x33626f(0x1e8)]+_0xccd151),_0x5e7f0d['minimumVersionMessage']&&console[_0x33626f(0x1d0)](_0x10d41e+_0x33626f(0x1d5)+_0x5e7f0d[_0x33626f(0x1e3)]+_0xccd151),console[_0x33626f(0x1d0)](_0x10d41e+_0x33626f(0x1ce)+_0xb74443+_0xccd151)):(console[_0x33626f(0x1d0)](''+_0x37eb14+_0x4e22d7+'↪\x20New\x20version\x20available'+_0xccd151),console[_0x33626f(0x1d0)](_0x37eb14+_0x33626f(0x1c9)+_0x5e7f0d[_0x33626f(0x1db)]+_0xccd151),console['log'](_0x37eb14+_0x33626f(0x1d3)+_0x5e7f0d[_0x33626f(0x1e8)]+_0xccd151),_0x5e7f0d[_0x33626f(0x1d8)]&&console[_0x33626f(0x1d0)](_0x37eb14+_0x33626f(0x1d5)+_0x5e7f0d['upgradeMessage']+_0xccd151),console[_0x33626f(0x1d0)](_0x37eb14+_0x33626f(0x1ce)+_0xb74443+_0xccd151)),console[_0x33626f(0x1d0)]();}export function assertCliVersionSupported(_0x5b4a89){const _0x4598c0=a245_0x2828;if(!_0x5b4a89[_0x4598c0(0x1cd)])return;const _0x4ca02e=[_0x5b4a89[_0x4598c0(0x1e3)],_0x4598c0(0x1eb)+_0x5b4a89[_0x4598c0(0x1db)],_0x5b4a89[_0x4598c0(0x1cb)]?_0x4598c0(0x1ca)+_0x5b4a89[_0x4598c0(0x1cb)]:null,'Upgrade\x20command:\x20'+getCliUpgradeCommand(_0x5b4a89)][_0x4598c0(0x1e9)](Boolean)[_0x4598c0(0x1e1)]('\x0a');throw CliErrors['validation'](_0x4598c0(0x1e5),_0x4ca02e);}
1
+ (function(_0x5382ec,_0x245b81){const _0x29e899=a245_0x4757,_0x398c32=_0x5382ec();while(!![]){try{const _0x24ff8b=-parseInt(_0x29e899(0x155))/0x1+parseInt(_0x29e899(0x159))/0x2*(-parseInt(_0x29e899(0x15a))/0x3)+-parseInt(_0x29e899(0x157))/0x4+parseInt(_0x29e899(0x148))/0x5+parseInt(_0x29e899(0x14a))/0x6*(parseInt(_0x29e899(0x144))/0x7)+parseInt(_0x29e899(0x142))/0x8*(parseInt(_0x29e899(0x147))/0x9)+-parseInt(_0x29e899(0x152))/0xa;if(_0x24ff8b===_0x245b81)break;else _0x398c32['push'](_0x398c32['shift']());}catch(_0x439bf5){_0x398c32['push'](_0x398c32['shift']());}}}(a245_0x55cc,0xb2184));function a245_0x4757(_0xcaffe6,_0x214eb6){_0xcaffe6=_0xcaffe6-0x13d;const _0x55cc39=a245_0x55cc();let _0x475730=_0x55cc39[_0xcaffe6];return _0x475730;}function a245_0x55cc(){const _0x55ddb0=['stableVersion','↪\x20New\x20version\x20available','\x20\x20\x20','npm\x20install\x20-g\x20','\x1b[33m','currentVersion','8gGeVOy','minimumVersionMessage','9275gycBtZ','validation','\x20\x20\x20Current\x20CLI\x20version:\x20','3809403IqkpQs','4354755zcmEND','1.0.0','4020mEmeLL','../..','\x20\x20\x20Stable\x20version:\x20','parse','version','belowMinimum','log','Current\x20CLI\x20version\x20is\x20below\x20the\x20service\x20compatibility\x20support\x20line.','2487570VDZIzK','\x1b[1m','join','984506IZdOFH','filter','744840ZgbwqN','coerce','106RzcMLk','1869RfobRX','Current\x20version:\x20','upgradeMessage','\x1b[0m','minimumVersion','utf-8','\x1b[31m','\x20\x20\x20Upgrade\x20command:\x20'];a245_0x55cc=function(){return _0x55ddb0;};return a245_0x55cc();}import{readFileSync}from'node:fs';import{resolve,dirname}from'node:path';import{fileURLToPath}from'node:url';import a245_0x525563 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(_0x403300){const _0x55ccdd=a245_0x4757,_0x2dc1b5=_0x403300['stableVersion']||'latest';return _0x55ccdd(0x13f)+NPM_PACKAGE_NAME+'@'+_0x2dc1b5;}function getCurrentCliVersion(){const _0x894859=a245_0x4757;try{const _0x58cee3=fileURLToPath(import.meta.url),_0x5bc9df=resolve(dirname(_0x58cee3),_0x894859(0x14b)),_0xb5e575=resolve(_0x5bc9df,'package.json'),_0xc17e0d=JSON[_0x894859(0x14d)](readFileSync(_0xb5e575,_0x894859(0x15f)));return _0xc17e0d[_0x894859(0x14e)]||_0x894859(0x149);}catch{return _0x894859(0x149);}}export async function checkCliVersion(){const _0x5d51e3=a245_0x4757,_0x173b1c=getCurrentCliVersion(),_0x4a9f85=await getCliVersionPolicy(),_0x57754c=_0x4a9f85?.['stableVersion']||null,_0x359dff=_0x4a9f85?.[_0x5d51e3(0x15e)]||null;let _0xf13b25=![],_0x389b62=![];const _0x4f7dba=a245_0x525563[_0x5d51e3(0x158)](_0x173b1c);if(_0x4f7dba&&_0x57754c)try{const _0x2d8e00=a245_0x525563[_0x5d51e3(0x158)](_0x57754c);if(_0x2d8e00)_0xf13b25=a245_0x525563['lt'](_0x4f7dba,_0x2d8e00);}catch{}if(_0x4f7dba&&_0x359dff)try{const _0x413f2b=a245_0x525563['coerce'](_0x359dff);if(_0x413f2b)_0x389b62=a245_0x525563['lt'](_0x4f7dba,_0x413f2b);}catch{}return _0x389b62&&(_0xf13b25=!![]),{'currentVersion':_0x173b1c,'stableVersion':_0x57754c,'minimumVersion':_0x359dff,'needsUpgrade':_0xf13b25,'belowMinimum':_0x389b62,'isPreRelease':![],'upgradeMessage':_0x4a9f85?.[_0x5d51e3(0x15c)],'minimumVersionMessage':_0x4a9f85?.['minimumVersionMessage']};}export function printCliUpgradeWarning(_0x14a674){const _0x58558e=a245_0x4757;if(!_0x14a674['needsUpgrade']&&!_0x14a674[_0x58558e(0x14f)])return;const _0x58e597=_0x58558e(0x160),_0xcbede4=_0x58558e(0x140),_0x5ded28=_0x58558e(0x15d),_0x37fc31=_0x58558e(0x153),_0x42e2e6=getCliUpgradeCommand(_0x14a674);console['log'](),_0x14a674['belowMinimum']?(console[_0x58558e(0x150)](''+_0x58e597+_0x37fc31+'↪\x20Critical\x20CLI\x20upgrade\x20required'+_0x5ded28),console[_0x58558e(0x150)](_0x58e597+_0x58558e(0x146)+_0x14a674['currentVersion']+_0x5ded28),_0x14a674[_0x58558e(0x15e)]&&console[_0x58558e(0x150)](_0x58e597+'\x20\x20\x20Minimum\x20supported:\x20'+_0x14a674[_0x58558e(0x15e)]+_0x5ded28),_0x14a674[_0x58558e(0x162)]&&_0x14a674['stableVersion']!==_0x14a674[_0x58558e(0x15e)]&&console[_0x58558e(0x150)](_0x58e597+'\x20\x20\x20Recommended\x20stable:\x20'+_0x14a674[_0x58558e(0x162)]+_0x5ded28),_0x14a674[_0x58558e(0x143)]&&console[_0x58558e(0x150)](_0x58e597+_0x58558e(0x13e)+_0x14a674['minimumVersionMessage']+_0x5ded28),console[_0x58558e(0x150)](_0x58e597+_0x58558e(0x161)+_0x42e2e6+_0x5ded28)):(console[_0x58558e(0x150)](''+_0xcbede4+_0x37fc31+_0x58558e(0x13d)+_0x5ded28),console[_0x58558e(0x150)](_0xcbede4+_0x58558e(0x146)+_0x14a674[_0x58558e(0x141)]+_0x5ded28),console['log'](_0xcbede4+_0x58558e(0x14c)+_0x14a674['stableVersion']+_0x5ded28),_0x14a674[_0x58558e(0x15c)]&&console['log'](_0xcbede4+'\x20\x20\x20'+_0x14a674[_0x58558e(0x15c)]+_0x5ded28),console[_0x58558e(0x150)](_0xcbede4+_0x58558e(0x161)+_0x42e2e6+_0x5ded28)),console[_0x58558e(0x150)]();}export function assertCliVersionSupported(_0x3d4cc2){const _0x5451ed=a245_0x4757;if(!_0x3d4cc2[_0x5451ed(0x14f)])return;const _0x1d6359=[_0x3d4cc2[_0x5451ed(0x143)],_0x5451ed(0x15b)+_0x3d4cc2['currentVersion'],_0x3d4cc2[_0x5451ed(0x15e)]?'Minimum\x20supported:\x20'+_0x3d4cc2[_0x5451ed(0x15e)]:null,'Upgrade\x20command:\x20'+getCliUpgradeCommand(_0x3d4cc2)][_0x5451ed(0x156)](Boolean)[_0x5451ed(0x154)]('\x0a');throw CliErrors[_0x5451ed(0x145)](_0x5451ed(0x151),_0x1d6359);}
@@ -1 +1 @@
1
- (function(_0x2dd183,_0x6135d0){const _0x289518=a246_0x52a3,_0x579c4f=_0x2dd183();while(!![]){try{const _0x1e8534=-parseInt(_0x289518(0xbd))/0x1*(parseInt(_0x289518(0xc4))/0x2)+parseInt(_0x289518(0xbe))/0x3*(-parseInt(_0x289518(0xc9))/0x4)+-parseInt(_0x289518(0xbc))/0x5+-parseInt(_0x289518(0xcc))/0x6+-parseInt(_0x289518(0xba))/0x7*(parseInt(_0x289518(0xc1))/0x8)+parseInt(_0x289518(0xcd))/0x9*(-parseInt(_0x289518(0xcf))/0xa)+-parseInt(_0x289518(0xc0))/0xb*(-parseInt(_0x289518(0xc8))/0xc);if(_0x1e8534===_0x6135d0)break;else _0x579c4f['push'](_0x579c4f['shift']());}catch(_0x1d8123){_0x579c4f['push'](_0x579c4f['shift']());}}}(a246_0x34d5,0xc4cee));import{CLI_VERSION_POLICY_URL}from'../constant/cdn.js';function a246_0x34d5(){const _0x552deb=['application/json','object','8058270DCtXTA','275742SEDwYW','upgradeMessage','190ZgLlvQ','trim','signal','minimumVersion','now','cli','473137WgGQxK','recommendedVersion','2678515uoxwqj','509441lEXZbr','1254Aqlwxg','json','3109733kkAzML','160fSuYUb','stableVersion','string','6EnmnmG','length','minVersion','abort','300qSSKtw','8808YWIbbj'];a246_0x34d5=function(){return _0x552deb;};return a246_0x34d5();}const CACHE_TTL=0x5*0x3c*0x3e8,FAILURE_CACHE_TTL=0x3c*0x3e8,FETCH_TIMEOUT_MS=0xbb8;function pickString(_0x44f59e){const _0x22f654=a246_0x52a3;return typeof _0x44f59e===_0x22f654(0xc3)&&_0x44f59e[_0x22f654(0xd0)]()[_0x22f654(0xc5)]>0x0?_0x44f59e[_0x22f654(0xd0)]():null;}function normalizeCliVersionPolicy(_0x2cafa2){const _0x2007bf=a246_0x52a3;if(!_0x2cafa2||typeof _0x2cafa2!==_0x2007bf(0xcb))return null;const _0x1e3712=_0x2cafa2,_0x51c050=_0x1e3712[_0x2007bf(0xb9)]&&typeof _0x1e3712['cli']===_0x2007bf(0xcb)?_0x1e3712[_0x2007bf(0xb9)]:_0x1e3712,_0x1120cb=pickString(_0x51c050[_0x2007bf(0xc2)])||pickString(_0x51c050['latestVersion'])||pickString(_0x51c050[_0x2007bf(0xbb)]),_0x32c574=pickString(_0x51c050[_0x2007bf(0xd2)])||pickString(_0x51c050[_0x2007bf(0xc6)]);if(!_0x1120cb&&!_0x32c574)return null;return{'stableVersion':_0x1120cb,'minimumVersion':_0x32c574,'upgradeMessage':pickString(_0x51c050[_0x2007bf(0xce)])||undefined,'minimumVersionMessage':pickString(_0x51c050['minimumVersionMessage'])||undefined};}export async function fetchCliVersionPolicy(){const _0x122308=a246_0x52a3,_0xc6a47c=new AbortController(),_0x4e15ba=setTimeout(()=>_0xc6a47c[_0x122308(0xc7)](),FETCH_TIMEOUT_MS);try{const _0x19e74c=await fetch(CLI_VERSION_POLICY_URL,{'headers':{'Accept':_0x122308(0xca)},'signal':_0xc6a47c[_0x122308(0xd1)]});if(!_0x19e74c['ok'])return null;const _0x17136e=await _0x19e74c[_0x122308(0xbf)]();return normalizeCliVersionPolicy(_0x17136e);}catch{return null;}finally{clearTimeout(_0x4e15ba);}}let cachedPolicy=null,cacheTime=0x0,hasCachedPolicy=![];export async function getCliVersionPolicy(){const _0x39637c=a246_0x52a3,_0x2ba062=Date[_0x39637c(0xb8)]();if(hasCachedPolicy){const _0x46c92c=cachedPolicy?CACHE_TTL:FAILURE_CACHE_TTL;if(_0x2ba062-cacheTime<_0x46c92c)return cachedPolicy;}const _0x5a2944=await fetchCliVersionPolicy();return cachedPolicy=_0x5a2944,cacheTime=_0x2ba062,hasCachedPolicy=!![],_0x5a2944;}function a246_0x52a3(_0x5b6c02,_0x25939d){_0x5b6c02=_0x5b6c02-0xb8;const _0x34d583=a246_0x34d5();let _0x52a336=_0x34d583[_0x5b6c02];return _0x52a336;}export function clearCliVersionPolicyCache(){cachedPolicy=null,cacheTime=0x0,hasCachedPolicy=![];}
1
+ (function(_0x5aab83,_0x2f7b15){const _0x5c6aa1=a246_0x2092,_0x3a6013=_0x5aab83();while(!![]){try{const _0x177a23=-parseInt(_0x5c6aa1(0xd2))/0x1*(parseInt(_0x5c6aa1(0xe1))/0x2)+-parseInt(_0x5c6aa1(0xe3))/0x3*(-parseInt(_0x5c6aa1(0xd6))/0x4)+-parseInt(_0x5c6aa1(0xd8))/0x5+parseInt(_0x5c6aa1(0xe2))/0x6*(parseInt(_0x5c6aa1(0xdc))/0x7)+-parseInt(_0x5c6aa1(0xda))/0x8+-parseInt(_0x5c6aa1(0xd9))/0x9+-parseInt(_0x5c6aa1(0xd4))/0xa*(-parseInt(_0x5c6aa1(0xd1))/0xb);if(_0x177a23===_0x2f7b15)break;else _0x3a6013['push'](_0x3a6013['shift']());}catch(_0x3570b3){_0x3a6013['push'](_0x3a6013['shift']());}}}(a246_0x2d76,0xa80f1));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 a246_0x2d76(){const _0x20a916=['9988176xlibPM','cli','10549vcdHdG','minimumVersion','upgradeMessage','minimumVersionMessage','latestVersion','5206BKwgGs','30dQxYoo','1991322vhbAWC','trim','application/json','length','24816561HjKpIU','408zeKrUw','string','10fnFoAs','recommendedVersion','8NhOemy','now','1952515QOCWhD','1815444Oektra'];a246_0x2d76=function(){return _0x20a916;};return a246_0x2d76();}function a246_0x2092(_0x2573c9,_0x10312e){_0x2573c9=_0x2573c9-0xce;const _0x2d76aa=a246_0x2d76();let _0x209266=_0x2d76aa[_0x2573c9];return _0x209266;}function pickString(_0x4ff272){const _0x28e1ee=a246_0x2092;return typeof _0x4ff272===_0x28e1ee(0xd3)&&_0x4ff272['trim']()[_0x28e1ee(0xd0)]>0x0?_0x4ff272[_0x28e1ee(0xce)]():null;}function normalizeCliVersionPolicy(_0x575119){const _0x1a260b=a246_0x2092;if(!_0x575119||typeof _0x575119!=='object')return null;const _0x5985bc=_0x575119,_0x98f5e7=_0x5985bc[_0x1a260b(0xdb)]&&typeof _0x5985bc[_0x1a260b(0xdb)]==='object'?_0x5985bc['cli']:_0x5985bc,_0x2cbd37=pickString(_0x98f5e7['stableVersion'])||pickString(_0x98f5e7[_0x1a260b(0xe0)])||pickString(_0x98f5e7[_0x1a260b(0xd5)]),_0x21482f=pickString(_0x98f5e7[_0x1a260b(0xdd)])||pickString(_0x98f5e7['minVersion']);if(!_0x2cbd37&&!_0x21482f)return null;return{'stableVersion':_0x2cbd37,'minimumVersion':_0x21482f,'upgradeMessage':pickString(_0x98f5e7[_0x1a260b(0xde)])||undefined,'minimumVersionMessage':pickString(_0x98f5e7[_0x1a260b(0xdf)])||undefined};}export async function fetchCliVersionPolicy(){const _0x19f007=a246_0x2092,_0x37616a=new AbortController(),_0x377cd5=setTimeout(()=>_0x37616a['abort'](),FETCH_TIMEOUT_MS);try{const _0x28f07f=await fetch(CLI_VERSION_POLICY_URL,{'headers':{'Accept':_0x19f007(0xcf)},'signal':_0x37616a['signal']});if(!_0x28f07f['ok'])return null;const _0x5b481c=await _0x28f07f['json']();return normalizeCliVersionPolicy(_0x5b481c);}catch{return null;}finally{clearTimeout(_0x377cd5);}}let cachedPolicy=null,cacheTime=0x0,hasCachedPolicy=![];export async function getCliVersionPolicy(){const _0x44ce5f=a246_0x2092,_0x2afd7f=Date[_0x44ce5f(0xd7)]();if(hasCachedPolicy){const _0x478c4d=cachedPolicy?CACHE_TTL:FAILURE_CACHE_TTL;if(_0x2afd7f-cacheTime<_0x478c4d)return cachedPolicy;}const _0x58f68e=await fetchCliVersionPolicy();return cachedPolicy=_0x58f68e,cacheTime=_0x2afd7f,hasCachedPolicy=!![],_0x58f68e;}export function clearCliVersionPolicyCache(){cachedPolicy=null,cacheTime=0x0,hasCachedPolicy=![];}
@@ -1 +1 @@
1
- (function(_0x1813af,_0x52a837){const _0x4b1e90=a247_0x3572,_0x272ec4=_0x1813af();while(!![]){try{const _0x467006=parseInt(_0x4b1e90(0x16b))/0x1+parseInt(_0x4b1e90(0x170))/0x2*(-parseInt(_0x4b1e90(0x173))/0x3)+parseInt(_0x4b1e90(0x172))/0x4+-parseInt(_0x4b1e90(0x171))/0x5*(-parseInt(_0x4b1e90(0x16c))/0x6)+-parseInt(_0x4b1e90(0x168))/0x7*(parseInt(_0x4b1e90(0x16f))/0x8)+-parseInt(_0x4b1e90(0x169))/0x9*(parseInt(_0x4b1e90(0x167))/0xa)+parseInt(_0x4b1e90(0x16d))/0xb;if(_0x467006===_0x52a837)break;else _0x272ec4['push'](_0x272ec4['shift']());}catch(_0x321eb5){_0x272ec4['push'](_0x272ec4['shift']());}}}(a247_0x257a,0xf1214));import{initEnv}from'../constant/env.js';import{readRawConfig,getConfigAppCode as a247_0x2595e1,getMultiAppConfigs as a247_0x47eae9,getTemplateBaseUrl as a247_0x3a39f6}from'../context.js';export{getProjectConfigPath,getGlobalConfigPath}from'../context.js';export{isInProject}from'../context.js';function a247_0x3572(_0x23f487,_0x31d6d8){_0x23f487=_0x23f487-0x167;const _0x257a9d=a247_0x257a();let _0x35724c=_0x257a9d[_0x23f487];return _0x35724c;}function a247_0x257a(){const _0x3e7511=['60Wqfaly','1712736JenftG','518559NVOKoV','10AXqksI','1734558IoADqT','13200768IHmrvK','string','1939648kBJLzz','314034rsQYbS','21234752wrMVSZ','env','24hRocrh','20bJDrdZ'];a247_0x257a=function(){return _0x3e7511;};return a247_0x257a();}export function readConfig(_0x4cb427){const _0x4572f8=a247_0x3572,_0x4bcfea=readRawConfig(_0x4cb427);return _0x4bcfea[_0x4572f8(0x16e)]&&typeof _0x4bcfea[_0x4572f8(0x16e)]===_0x4572f8(0x16a)&&initEnv(_0x4bcfea[_0x4572f8(0x16e)]),_0x4bcfea;}export function getConfigAppCode(){return a247_0x2595e1();}export function getMultiAppConfigs(_0x474b1a='project'){return a247_0x47eae9(_0x474b1a);}export function getTemplateBaseUrl(){return a247_0x3a39f6();}
1
+ const a247_0x2cb590=a247_0x36f6;(function(_0x42487d,_0x24b4fe){const _0x29a6dd=a247_0x36f6,_0x22e31f=_0x42487d();while(!![]){try{const _0x12e66e=-parseInt(_0x29a6dd(0x187))/0x1+-parseInt(_0x29a6dd(0x17f))/0x2+parseInt(_0x29a6dd(0x186))/0x3*(-parseInt(_0x29a6dd(0x181))/0x4)+-parseInt(_0x29a6dd(0x184))/0x5*(-parseInt(_0x29a6dd(0x183))/0x6)+parseInt(_0x29a6dd(0x182))/0x7*(parseInt(_0x29a6dd(0x185))/0x8)+-parseInt(_0x29a6dd(0x189))/0x9*(-parseInt(_0x29a6dd(0x18b))/0xa)+parseInt(_0x29a6dd(0x188))/0xb;if(_0x12e66e===_0x24b4fe)break;else _0x22e31f['push'](_0x22e31f['shift']());}catch(_0x1e175e){_0x22e31f['push'](_0x22e31f['shift']());}}}(a247_0x2a8b,0x1a581));import{initEnv}from'../constant/env.js';import{readRawConfig,getConfigAppCode as a247_0x208a6c,getMultiAppConfigs as a247_0x360d40,getTemplateBaseUrl as a247_0x4b0e24}from'../context.js';export{getProjectConfigPath,getGlobalConfigPath}from'../context.js';export{isInProject}from'../context.js';function a247_0x36f6(_0x2fedd1,_0x3b6091){_0x2fedd1=_0x2fedd1-0x17f;const _0x2a8b03=a247_0x2a8b();let _0x36f669=_0x2a8b03[_0x2fedd1];return _0x36f669;}function a247_0x2a8b(){const _0xc1fee5=['275960jTpWHH','3rgYyPH','112415jSxCUr','101332WOAheg','288954KzscHc','env','30TQTHDE','162618oHupaZ','project','206724BYlucw','7FYVrtl','1770xxJkHB','3615qpCvoG'];a247_0x2a8b=function(){return _0xc1fee5;};return a247_0x2a8b();}export function readConfig(_0x2d59b3){const _0x5cbc82=a247_0x36f6,_0x6bca74=readRawConfig(_0x2d59b3);return _0x6bca74[_0x5cbc82(0x18a)]&&typeof _0x6bca74['env']==='string'&&initEnv(_0x6bca74[_0x5cbc82(0x18a)]),_0x6bca74;}export function getConfigAppCode(){return a247_0x208a6c();}export function getMultiAppConfigs(_0x43b2c8=a247_0x2cb590(0x180)){return a247_0x360d40(_0x43b2c8);}export function getTemplateBaseUrl(){return a247_0x4b0e24();}
@@ -1 +1 @@
1
- function a248_0x5c67(_0x357d5d,_0x4b0261){_0x357d5d=_0x357d5d-0xd7;const _0x255104=a248_0x2551();let _0x5c67e8=_0x255104[_0x357d5d];return _0x5c67e8;}(function(_0x5a1822,_0x1496cf){const _0x5a2ea8=a248_0x5c67,_0x353178=_0x5a1822();while(!![]){try{const _0x88c06=parseInt(_0x5a2ea8(0xdb))/0x1*(parseInt(_0x5a2ea8(0xd8))/0x2)+parseInt(_0x5a2ea8(0xde))/0x3*(parseInt(_0x5a2ea8(0xe2))/0x4)+parseInt(_0x5a2ea8(0xe5))/0x5+-parseInt(_0x5a2ea8(0xdc))/0x6+parseInt(_0x5a2ea8(0xd7))/0x7+-parseInt(_0x5a2ea8(0xe3))/0x8+parseInt(_0x5a2ea8(0xe4))/0x9*(-parseInt(_0x5a2ea8(0xe0))/0xa);if(_0x88c06===_0x1496cf)break;else _0x353178['push'](_0x353178['shift']());}catch(_0x4b8360){_0x353178['push'](_0x353178['shift']());}}}(a248_0x2551,0xdf133));import a248_0x166ef8 from'node:path';import a248_0x2b9a41 from'node:fs';export async function copyDirectory(_0x49db70,_0x36d9a4){const _0x516e48=a248_0x5c67;try{const _0x57edf0=a248_0x2b9a41['readdirSync'](_0x49db70,{'withFileTypes':!![]});a248_0x2b9a41[_0x516e48(0xdf)](_0x36d9a4,{'recursive':!![]});for(const _0x638043 of _0x57edf0){const _0xf37e0d=a248_0x166ef8[_0x516e48(0xe1)](_0x49db70,_0x638043['name']),_0x4f5ba8=a248_0x166ef8['join'](_0x36d9a4,_0x638043[_0x516e48(0xdd)]);_0x638043[_0x516e48(0xda)]()?await copyDirectory(_0xf37e0d,_0x4f5ba8):a248_0x2b9a41[_0x516e48(0xd9)](_0xf37e0d,_0x4f5ba8);}}catch(_0x2d59d9){console['error']('复制目录时出错:',_0x2d59d9);}}function a248_0x2551(){const _0x2ea43a=['3330920wXjquE','18qisnLX','1659810TyYFmB','8648059ZJVOHh','16umNPWu','copyFileSync','isDirectory','94778hTwJCD','5443728nHKPeZ','name','3mJpaOz','mkdirSync','5322550cWdvAp','join','3905020SllFjw'];a248_0x2551=function(){return _0x2ea43a;};return a248_0x2551();}
1
+ (function(_0x8be7c0,_0x245e2a){const _0x143e81=a248_0x11c5,_0x8e01cc=_0x8be7c0();while(!![]){try{const _0x159164=parseInt(_0x143e81(0x70))/0x1+parseInt(_0x143e81(0x6b))/0x2+-parseInt(_0x143e81(0x75))/0x3*(parseInt(_0x143e81(0x6e))/0x4)+parseInt(_0x143e81(0x71))/0x5*(-parseInt(_0x143e81(0x6d))/0x6)+-parseInt(_0x143e81(0x74))/0x7*(parseInt(_0x143e81(0x69))/0x8)+parseInt(_0x143e81(0x73))/0x9+parseInt(_0x143e81(0x72))/0xa*(-parseInt(_0x143e81(0x6f))/0xb);if(_0x159164===_0x245e2a)break;else _0x8e01cc['push'](_0x8e01cc['shift']());}catch(_0x11b442){_0x8e01cc['push'](_0x8e01cc['shift']());}}}(a248_0x144c,0xc8670));function a248_0x144c(){const _0x340ba9=['275610GXeEwo','9303345LPMjfT','118811ojaxNp','3guebqK','join','isDirectory','name','248dvpeXz','复制目录时出错:','2171764Tuynmr','copyFileSync','797766uRbzXg','3061136xnGWHW','11XGItfS','419152htmYHo','15oNnPHr'];a248_0x144c=function(){return _0x340ba9;};return a248_0x144c();}import a248_0x3b0206 from'node:path';function a248_0x11c5(_0x2cec9a,_0xf28570){_0x2cec9a=_0x2cec9a-0x66;const _0x144c44=a248_0x144c();let _0x11c58b=_0x144c44[_0x2cec9a];return _0x11c58b;}import a248_0x2a7ddc from'node:fs';export async function copyDirectory(_0x1ac01c,_0x3b3dad){const _0x146f8c=a248_0x11c5;try{const _0x26c3d6=a248_0x2a7ddc['readdirSync'](_0x1ac01c,{'withFileTypes':!![]});a248_0x2a7ddc['mkdirSync'](_0x3b3dad,{'recursive':!![]});for(const _0x4f2045 of _0x26c3d6){const _0x5a44ad=a248_0x3b0206[_0x146f8c(0x66)](_0x1ac01c,_0x4f2045[_0x146f8c(0x68)]),_0x47580f=a248_0x3b0206['join'](_0x3b3dad,_0x4f2045[_0x146f8c(0x68)]);_0x4f2045[_0x146f8c(0x67)]()?await copyDirectory(_0x5a44ad,_0x47580f):a248_0x2a7ddc[_0x146f8c(0x6c)](_0x5a44ad,_0x47580f);}}catch(_0x539b7d){console['error'](_0x146f8c(0x6a),_0x539b7d);}}