@lovrabet/rabetbase-cli 2.1.14-beta.3 → 2.2.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (209) 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/discover.js +1 -1
  21. package/lib/commands/app/index.js +1 -1
  22. package/lib/commands/app/list.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/use.js +1 -1
  26. package/lib/commands/auth/index.js +1 -1
  27. package/lib/commands/bff/create.js +1 -1
  28. package/lib/commands/bff/delete.js +1 -1
  29. package/lib/commands/bff/detail.js +1 -1
  30. package/lib/commands/bff/index.js +1 -1
  31. package/lib/commands/bff/list.js +1 -1
  32. package/lib/commands/bff/pull.js +1 -1
  33. package/lib/commands/bff/push.js +1 -1
  34. package/lib/commands/bff/status.js +1 -1
  35. package/lib/commands/cli-update.js +1 -1
  36. package/lib/commands/codegen/index.js +1 -1
  37. package/lib/commands/codegen/sdk.js +1 -1
  38. package/lib/commands/codegen/sql.js +1 -1
  39. package/lib/commands/common/app-selector.js +1 -1
  40. package/lib/commands/common/flags.js +1 -1
  41. package/lib/commands/common/validate.js +1 -1
  42. package/lib/commands/config/get.js +1 -1
  43. package/lib/commands/config/index.js +1 -1
  44. package/lib/commands/config/list.js +1 -1
  45. package/lib/commands/config/set.js +1 -1
  46. package/lib/commands/config/shared.js +1 -1
  47. package/lib/commands/data/filter.js +1 -1
  48. package/lib/commands/data/getOne.js +1 -1
  49. package/lib/commands/data/index.js +1 -1
  50. package/lib/commands/data/shared.js +1 -1
  51. package/lib/commands/dataset/capability.js +1 -1
  52. package/lib/commands/dataset/delete.js +1 -1
  53. package/lib/commands/dataset/detail.js +1 -1
  54. package/lib/commands/dataset/extend-update.js +1 -1
  55. package/lib/commands/dataset/field-update.js +1 -1
  56. package/lib/commands/dataset/index.js +1 -1
  57. package/lib/commands/dataset/list.js +1 -1
  58. package/lib/commands/dataset/operations.js +1 -1
  59. package/lib/commands/dataset/relation-create.js +1 -0
  60. package/lib/commands/dataset/relation-delete.js +1 -0
  61. package/lib/commands/dataset/relation-shared.js +1 -0
  62. package/lib/commands/dataset/relation-update.js +1 -0
  63. package/lib/commands/dataset/relations.js +1 -0
  64. package/lib/commands/dataset/rename.js +1 -1
  65. package/lib/commands/db/analyze-cancel.js +1 -1
  66. package/lib/commands/db/analyze-start.js +1 -1
  67. package/lib/commands/db/analyze-status.js +1 -1
  68. package/lib/commands/db/create.js +1 -1
  69. package/lib/commands/db/delete.js +1 -1
  70. package/lib/commands/db/detail.js +1 -1
  71. package/lib/commands/db/diff.js +1 -1
  72. package/lib/commands/db/index.js +1 -1
  73. package/lib/commands/db/list.js +1 -1
  74. package/lib/commands/db/shared.js +1 -1
  75. package/lib/commands/db/tables.js +1 -1
  76. package/lib/commands/db/test.js +1 -1
  77. package/lib/commands/db/update.js +1 -1
  78. package/lib/commands/doctor.js +1 -1
  79. package/lib/commands/init/index.js +1 -1
  80. package/lib/commands/issue/index.js +1 -1
  81. package/lib/commands/issue/nudge.js +1 -1
  82. package/lib/commands/issue/report.js +1 -1
  83. package/lib/commands/issue/shared.js +1 -1
  84. package/lib/commands/logs/index.js +1 -1
  85. package/lib/commands/menu/index.js +1 -1
  86. package/lib/commands/menu/shared/compare-table.js +1 -1
  87. package/lib/commands/menu/shared/index.js +1 -1
  88. package/lib/commands/menu/shared/inquirer.js +1 -1
  89. package/lib/commands/menu/shared/local-pages.js +1 -1
  90. package/lib/commands/menu/shared/logic.js +1 -1
  91. package/lib/commands/menu/shared/service.js +1 -1
  92. package/lib/commands/menu/shared/sync-core.js +1 -1
  93. package/lib/commands/menu/shared/update-core.js +1 -1
  94. package/lib/commands/menu/shared/valid-url.js +1 -1
  95. package/lib/commands/menu/sync.js +1 -1
  96. package/lib/commands/menu/update.js +1 -1
  97. package/lib/commands/page/generate-start.js +1 -1
  98. package/lib/commands/page/generate-status.js +1 -1
  99. package/lib/commands/page/index.js +1 -1
  100. package/lib/commands/page/pull.js +1 -1
  101. package/lib/commands/page/push.js +1 -1
  102. package/lib/commands/page/relation-audit.js +1 -0
  103. package/lib/commands/page/shared.js +1 -1
  104. package/lib/commands/page/standard-page-status.js +1 -1
  105. package/lib/commands/page/sync.js +1 -1
  106. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  107. package/lib/commands/project/create/format-elapsed.js +1 -1
  108. package/lib/commands/project/create/main.js +1 -1
  109. package/lib/commands/project/create/non-interactive.js +1 -1
  110. package/lib/commands/project/create/project-template-path.js +1 -1
  111. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  112. package/lib/commands/project/create/use-format-code.js +1 -1
  113. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  114. package/lib/commands/project/index.js +1 -1
  115. package/lib/commands/project/init.js +1 -1
  116. package/lib/commands/project/upgrade.js +1 -1
  117. package/lib/commands/registry.js +1 -1
  118. package/lib/commands/run/index.js +1 -1
  119. package/lib/commands/schema.js +1 -1
  120. package/lib/commands/skill/index.js +1 -1
  121. package/lib/commands/sql/create.js +1 -1
  122. package/lib/commands/sql/delete.js +1 -1
  123. package/lib/commands/sql/detail.js +1 -1
  124. package/lib/commands/sql/exec.js +1 -1
  125. package/lib/commands/sql/index.js +1 -1
  126. package/lib/commands/sql/list.js +1 -1
  127. package/lib/commands/sql/pull.js +1 -1
  128. package/lib/commands/sql/push.js +1 -1
  129. package/lib/commands/sql/save.js +1 -1
  130. package/lib/commands/sql/shared.js +1 -1
  131. package/lib/commands/sql/status.js +1 -1
  132. package/lib/commands/sql/validate.js +1 -1
  133. package/lib/config/schema.js +1 -1
  134. package/lib/constant/cdn.js +1 -1
  135. package/lib/constant/cli.js +1 -1
  136. package/lib/constant/defaults.js +1 -1
  137. package/lib/constant/domain.js +1 -1
  138. package/lib/constant/env.js +1 -1
  139. package/lib/constant/output.js +1 -1
  140. package/lib/constant/paths.js +1 -1
  141. package/lib/constant/risk.js +1 -1
  142. package/lib/context.js +1 -1
  143. package/lib/core/alias-resolver.js +1 -1
  144. package/lib/core/api-client.js +1 -1
  145. package/lib/core/bff/config.js +1 -1
  146. package/lib/core/bff/file-system.js +1 -1
  147. package/lib/core/bff/hash.js +1 -1
  148. package/lib/core/bff/lock.js +1 -1
  149. package/lib/core/bff/utils.js +1 -1
  150. package/lib/core/db-resolver.js +1 -1
  151. package/lib/core/page/file-system.js +1 -1
  152. package/lib/core/page/hash.js +1 -1
  153. package/lib/core/page/lock.js +1 -1
  154. package/lib/core/sql-sync/config.js +1 -1
  155. package/lib/core/sql-sync/file-system.js +1 -1
  156. package/lib/core/sql-sync/hash.js +1 -1
  157. package/lib/core/sql-sync/lock.js +1 -1
  158. package/lib/core/sql-sync/utils.js +1 -1
  159. package/lib/core/sql-validator.js +1 -1
  160. package/lib/errors.js +1 -1
  161. package/lib/framework/build-all-flags.js +1 -1
  162. package/lib/framework/flags.js +1 -1
  163. package/lib/framework/help.js +1 -1
  164. package/lib/framework/index.js +1 -1
  165. package/lib/framework/output.js +1 -1
  166. package/lib/framework/response.js +1 -1
  167. package/lib/framework/runner-alias.js +1 -1
  168. package/lib/framework/runner.js +1 -1
  169. package/lib/framework/schema-export.js +1 -1
  170. package/lib/framework/types.js +1 -1
  171. package/lib/generated/build-info.js +1 -1
  172. package/lib/help.js +1 -1
  173. package/lib/skills/main.js +1 -1
  174. package/lib/skills/npx-skills-add.js +1 -1
  175. package/lib/telemetry/cli-command-trace.js +1 -1
  176. package/lib/telemetry/cli-help-trace.js +1 -1
  177. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  178. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  179. package/lib/telemetry/send-cli-trace-log.js +1 -1
  180. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  181. package/lib/utils/ai_config.js +1 -1
  182. package/lib/utils/apply-jq-filter.js +1 -1
  183. package/lib/utils/cdn-config.js +1 -1
  184. package/lib/utils/check-sdk-version.js +1 -1
  185. package/lib/utils/cli-version-check.js +1 -1
  186. package/lib/utils/cli-version-policy.js +1 -1
  187. package/lib/utils/config.js +1 -1
  188. package/lib/utils/copy-directory.js +1 -1
  189. package/lib/utils/entity-with-id.js +1 -1
  190. package/lib/utils/file-utils.js +1 -1
  191. package/lib/utils/guides-cdn.js +1 -1
  192. package/lib/utils/http-client.js +1 -1
  193. package/lib/utils/is-non-interactive.js +1 -1
  194. package/lib/utils/logger.js +1 -1
  195. package/lib/utils/params.js +1 -1
  196. package/lib/utils/platform.js +1 -1
  197. package/lib/utils/rules-cdn.js +1 -1
  198. package/lib/utils/sleep.js +1 -1
  199. package/lib/utils/template-replacer.js +1 -1
  200. package/lib/utils/update-notice.js +1 -0
  201. package/lib/utils/version.js +1 -1
  202. package/lib/utils/with-active-cookie.js +1 -1
  203. package/lib/utils/write-cli-side-channel.js +1 -1
  204. package/package.json +1 -1
  205. package/lib/commands/dataset/link-create.js +0 -1
  206. package/lib/commands/dataset/link-delete.js +0 -1
  207. package/lib/commands/dataset/link-shared.js +0 -1
  208. package/lib/commands/dataset/link-update.js +0 -1
  209. package/lib/commands/dataset/links.js +0 -1
@@ -1 +1 @@
1
- const a170_0x31521c=a170_0x321b;(function(_0x31c203,_0xa7e287){const _0x25dd9f=a170_0x321b,_0x29f375=_0x31c203();while(!![]){try{const _0x7f3681=parseInt(_0x25dd9f(0x1c0))/0x1*(-parseInt(_0x25dd9f(0x1cf))/0x2)+-parseInt(_0x25dd9f(0x1c2))/0x3*(-parseInt(_0x25dd9f(0x1b5))/0x4)+-parseInt(_0x25dd9f(0x1d3))/0x5*(-parseInt(_0x25dd9f(0x1be))/0x6)+-parseInt(_0x25dd9f(0x1c5))/0x7+parseInt(_0x25dd9f(0x1ae))/0x8*(parseInt(_0x25dd9f(0x1b8))/0x9)+parseInt(_0x25dd9f(0x1c1))/0xa+-parseInt(_0x25dd9f(0x1ac))/0xb*(parseInt(_0x25dd9f(0x1b1))/0xc);if(_0x7f3681===_0xa7e287)break;else _0x29f375['push'](_0x29f375['shift']());}catch(_0x51b4c5){_0x29f375['push'](_0x29f375['shift']());}}}(a170_0x3890,0x40cac));import{runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';function a170_0x3890(){const _0x54dba6=['resolveAppCode','appcode','command','5kaxdOa','pageSize','configMissing','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','89848PGWpJB','name','8JTRHsI','resolveCookie','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','1092hcsNlu','authRequired','has','format','258052pqahds','cookie','selectedAppName','1645281jndeiA','validation','requiresAppCode','mergedCli','currentApp','apiDir','2159034eojsFv','High-risk\x20operation\x20`','9873MdqxPq','4534950KtOuvl','15tJVWHL','filter','isNonInteractive','1410003pQVBvK','verbose','appCode','Set\x20appcode\x20via\x20`','apps','\x20\x20\x20Continue?\x20[y/N]\x20','service','riskLevel','resolveApiDomain','cancelled','22sRuAVZ'];a170_0x3890=function(){return _0x54dba6;};return a170_0x3890();}function a170_0x321b(_0x573400,_0x431cec){_0x573400=_0x573400-0x1aa;const _0x3890af=a170_0x3890();let _0x321b61=_0x3890af[_0x573400];return _0x321b61;}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 a170_0xfc58bc}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';export function createPipelineEnv(_0x3debb1,_0x169028,_0x31bd61=[]){const _0x313430=a170_0x321b;return{'rawFlags':_0x169028,'args':_0x31bd61,'resolveAppCode':()=>_0x3debb1[_0x313430(0x1c7)]||_0x169028[_0x313430(0x1d1)]||process.env.RABETBASE_APPCODE||process.env.LOVRABET_APPCODE||undefined,'resolveCookie':()=>_0x3debb1[_0x313430(0x1b6)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a170_0xfc58bc(_0x169028),'defaultFormat':_0x3debb1[_0x313430(0x1b4)],'defaultPageSize':_0x3debb1[_0x313430(0x1d4)],'defaultVerbose':_0x3debb1[_0x313430(0x1c6)],'apiDir':_0x3debb1[_0x313430(0x1bd)],'riskLevel':_0x3debb1[_0x313430(0x1cc)],'selectedAppName':_0x3debb1['explicitAppName'],'mergedCli':{'defaultApp':_0x3debb1['defaultApp'],'currentApp':_0x3debb1[_0x313430(0x1bc)],'appCode':_0x3debb1[_0x313430(0x1c7)],'apps':_0x3debb1[_0x313430(0x1c9)]}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[a170_0x31521c(0x1c3)](_0x368fa6=>PIPELINE_FLAG_NAMES[a170_0x31521c(0x1b3)](_0x368fa6[a170_0x31521c(0x1ad)]))['map'](({name:_0x241022,type:_0x54bd88,description:_0xd5e635})=>({'name':_0x241022,'type':_0x54bd88,'description':_0xd5e635})),'formatOutput':formatOutput,'getCommandLabel'(_0x174ba){const _0xcfbe0b=a170_0x31521c;return CLI_BIN_NAME+'\x20'+_0x174ba[_0xcfbe0b(0x1cb)]+'\x20'+_0x174ba[_0xcfbe0b(0x1d2)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x4c3821){return CliErrors['validation'](_0x4c3821);}},async 'prepare'(_0x3289f0,_0x4605e7,_0x370fcf,_0x573f14){const _0x322692=a170_0x31521c,_0x350783=_0x4605e7[_0x322692(0x1bd)]||DEFAULT_API_DIR;resolveAliasToCode(_0x3289f0,_0x370fcf,_0x350783,_0x573f14);let _0xd09ba='';if(_0x3289f0['requiresAuth']!==![]){_0xd09ba=_0x4605e7[_0x322692(0x1af)]();if(!_0xd09ba)throw CliErrors[_0x322692(0x1b2)]();const {setActiveCookie:_0x21fcb9}=await import('../core/api-client.js');_0x21fcb9(_0xd09ba);}const _0x7b7788=_0x4605e7[_0x322692(0x1d0)]()??'';if(_0x3289f0[_0x322692(0x1ba)]!==![]){if(!_0x7b7788)throw CliErrors[_0x322692(0x1aa)](_0x322692(0x1c8)+CLI_BIN_NAME+_0x322692(0x1b0));}return{'defaults':{'booleans':{'verbose':_0x4605e7['defaultVerbose']},'numbers':{'pagesize':_0x4605e7['defaultPageSize']}},'extras':{'appCode':_0x7b7788,'cookie':_0xd09ba,'apiDomain':_0x4605e7[_0x322692(0x1cd)](),'apiDir':_0x350783,'selectedAppName':_0x4605e7[_0x322692(0x1b7)],'mergedCli':_0x4605e7[_0x322692(0x1bb)]}};},async 'confirmHighRisk'({env:_0x2408ac,commandLabel:_0x59dda2}){const _0x46f839=a170_0x31521c;if(_0x2408ac[_0x46f839(0x1c4)])throw CliErrors[_0x46f839(0x1b9)](_0x46f839(0x1bf)+_0x59dda2+_0x46f839(0x1ab));await requireConfirmationPrompt({'lines':['⚠\x20\x20High-risk\x20operation:\x20'+_0x59dda2,_0x46f839(0x1ca)],'createCancelledError':_0x18c1c3=>CliErrors[_0x46f839(0x1ce)](_0x18c1c3)});},async 'finalize'(){const {clearActiveCookie:_0x3de358}=await import('../core/api-client.js');_0x3de358();}};export async function runCommand(_0x31e5df,_0x21401c){await runCommandWithAdapter(_0x31e5df,_0x21401c,runnerAdapter);}
1
+ const a171_0x35702f=a171_0x3c8b;(function(_0x519940,_0x27467e){const _0x1476eb=a171_0x3c8b,_0x88c17=_0x519940();while(!![]){try{const _0xde51ab=parseInt(_0x1476eb(0x8a))/0x1*(-parseInt(_0x1476eb(0x84))/0x2)+parseInt(_0x1476eb(0x85))/0x3+parseInt(_0x1476eb(0x97))/0x4*(-parseInt(_0x1476eb(0x94))/0x5)+parseInt(_0x1476eb(0xa4))/0x6*(-parseInt(_0x1476eb(0x93))/0x7)+parseInt(_0x1476eb(0x88))/0x8*(-parseInt(_0x1476eb(0x92))/0x9)+parseInt(_0x1476eb(0x7f))/0xa*(-parseInt(_0x1476eb(0xa3))/0xb)+-parseInt(_0x1476eb(0x7d))/0xc*(-parseInt(_0x1476eb(0x99))/0xd);if(_0xde51ab===_0x27467e)break;else _0x88c17['push'](_0x88c17['shift']());}catch(_0x5258c1){_0x88c17['push'](_0x88c17['shift']());}}}(a171_0x36f4,0x30d2c));import{runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';import{getCookie}from'../auth/get-cookie.js';import{getApiDomain}from'../constant/domain.js';import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{DEFAULT_API_DIR}from'../constant/paths.js';function a171_0x36f4(){const _0x1304c1=['High-risk\x20operation\x20`','resolve','⚠\x20\x20High-risk\x20operation:\x20','name','3236913Nyndjs','49LylogY','410iExcbk','Set\x20appcode\x20via\x20`','requiresAppCode','3004kQDrXp','object','1066MOGFJB','authRequired','map','cookie','has','defaultVerbose','defaultApp','command','nonInteractive','schema','1221GWajVx','273558tnCYdT','apps','validation','mergedCli','doctor','riskLevel','appCode','cancelled','includes','explicitAppName','update','filter','resolveApiDomain','resolveCookie','format','_notice','196572SjRxza','selectedAppName','34360WRRetp','\x20\x20\x20Continue?\x20[y/N]\x20','currentApp','requiresAuth','isNonInteractive','789638ZgjMhG','1120029ZYeYaX','service','pretty','8oZBwDr','defaultPageSize','1HCAfif','pageSize','configMissing','../core/api-client.js'];a171_0x36f4=function(){return _0x1304c1;};return a171_0x36f4();}import{isNonInteractive as a171_0x124b40}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';export function createPipelineEnv(_0x1134f9,_0x5c85d2,_0x16372f=[]){const _0x6e8b3e=a171_0x3c8b;return{'rawFlags':_0x5c85d2,'args':_0x16372f,'resolveAppCode':()=>_0x1134f9[_0x6e8b3e(0x73)]||_0x5c85d2['appcode']||process.env.RABETBASE_APPCODE||process.env.LOVRABET_APPCODE||undefined,'resolveCookie':()=>_0x1134f9[_0x6e8b3e(0x9c)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a171_0x124b40(_0x5c85d2),'defaultFormat':_0x1134f9[_0x6e8b3e(0x7b)],'defaultPageSize':_0x1134f9[_0x6e8b3e(0x8b)],'defaultVerbose':_0x1134f9['verbose'],'apiDir':_0x1134f9['apiDir'],'riskLevel':_0x1134f9[_0x6e8b3e(0x72)],'selectedAppName':_0x1134f9[_0x6e8b3e(0x76)],'mergedCli':{'defaultApp':_0x1134f9[_0x6e8b3e(0x9f)],'currentApp':_0x1134f9[_0x6e8b3e(0x81)],'appCode':_0x1134f9[_0x6e8b3e(0x73)],'apps':_0x1134f9[_0x6e8b3e(0xa5)]}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[a171_0x35702f(0x78)](_0xff043f=>PIPELINE_FLAG_NAMES[a171_0x35702f(0x9d)](_0xff043f[a171_0x35702f(0x91)]))[a171_0x35702f(0x9b)](({name:_0x3079be,type:_0x434e2e,description:_0xbc0911})=>({'name':_0x3079be,'type':_0x434e2e,'description':_0xbc0911})),'formatOutput':formatOutput,'getCommandLabel'(_0x597670){const _0x3ec20e=a171_0x35702f;return CLI_BIN_NAME+'\x20'+_0x597670[_0x3ec20e(0x86)]+'\x20'+_0x597670[_0x3ec20e(0xa0)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x4e7cae){const _0x2280ef=a171_0x35702f;return CliErrors[_0x2280ef(0xa6)](_0x4e7cae);}},async 'prepare'(_0x407550,_0x2dfec9,_0x372967,_0x2813fc){const _0x4859ec=a171_0x35702f,_0x210bd0=_0x2dfec9['apiDir']||DEFAULT_API_DIR;resolveAliasToCode(_0x407550,_0x372967,_0x210bd0,_0x2813fc);let _0x15ddff='';if(_0x407550[_0x4859ec(0x82)]!==![]){_0x15ddff=_0x2dfec9[_0x4859ec(0x7a)]();if(!_0x15ddff)throw CliErrors[_0x4859ec(0x9a)]();const {setActiveCookie:_0x52a254}=await import(_0x4859ec(0x8d));_0x52a254(_0x15ddff);}const _0x327336=_0x2dfec9['resolveAppCode']()??'';if(_0x407550[_0x4859ec(0x96)]!==![]){if(!_0x327336)throw CliErrors[_0x4859ec(0x8c)](_0x4859ec(0x95)+CLI_BIN_NAME+'\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.');}return{'defaults':{'booleans':{'verbose':_0x2dfec9[_0x4859ec(0x9e)]},'numbers':{'pagesize':_0x2dfec9[_0x4859ec(0x89)]}},'extras':{'appCode':_0x327336,'cookie':_0x15ddff,'apiDomain':_0x2dfec9[_0x4859ec(0x79)](),'apiDir':_0x210bd0,'selectedAppName':_0x2dfec9[_0x4859ec(0x7e)],'mergedCli':_0x2dfec9[_0x4859ec(0xa7)]}};},async 'confirmHighRisk'({env:_0x5c8a6b,commandLabel:_0x4b58e5}){const _0xca3936=a171_0x35702f;if(_0x5c8a6b[_0xca3936(0x83)])throw CliErrors[_0xca3936(0xa6)](_0xca3936(0x8e)+_0x4b58e5+'`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.');await requireConfirmationPrompt({'lines':[_0xca3936(0x90)+_0x4b58e5,_0xca3936(0x80)],'createCancelledError':_0x5c33b9=>CliErrors[_0xca3936(0x74)](_0x5c33b9)});},async 'finalize'(){const _0x38d183=a171_0x35702f,{clearActiveCookie:_0x585997}=await import(_0x38d183(0x8d));_0x585997();}};export async function runCommand(_0x22bdb9,_0x53b503){await runCommandWithAdapter(shouldAttachUpdateNotice(_0x22bdb9)?withUpdateNotice(_0x22bdb9):_0x22bdb9,_0x53b503,runnerAdapter);}function shouldAttachUpdateNotice(_0xeea821){const _0x2ffe7b=a171_0x35702f;return![_0x2ffe7b(0x77),_0x2ffe7b(0xa2),_0x2ffe7b(0xa8)][_0x2ffe7b(0x75)](_0xeea821[_0x2ffe7b(0x86)]);}function withUpdateNotice(_0x2edf19){return{..._0x2edf19,async 'execute'(_0x4f6db2){const _0x46c88c=a171_0x3c8b,_0x84fadb=shouldResolveUpdateNotice(_0x4f6db2)?resolveLatestUpdateNotice()['catch'](()=>null):Promise[_0x46c88c(0x8f)](null),_0x236b78=await _0x2edf19['execute'](_0x4f6db2);return attachUpdateNotice(_0x236b78,await _0x84fadb);}};}function a171_0x3c8b(_0x5cc735,_0x48e3b4){_0x5cc735=_0x5cc735-0x72;const _0x36f45c=a171_0x36f4();let _0x3c8b9b=_0x36f45c[_0x5cc735];return _0x3c8b9b;}function shouldResolveUpdateNotice(_0x567b60){const _0x2f951f=a171_0x35702f;return _0x567b60[_0x2f951f(0x7b)]===_0x2f951f(0x87)&&!_0x567b60[_0x2f951f(0xa1)];}function attachUpdateNotice(_0x235310,_0xa66bc5){const _0x496610=a171_0x35702f;if(!_0xa66bc5||!_0x235310||typeof _0x235310!==_0x496610(0x98))return _0x235310;const _0x4c6948=_0x235310,_0x7505e5=typeof _0x4c6948[_0x496610(0x7c)]===_0x496610(0x98)&&_0x4c6948[_0x496610(0x7c)]!==null?_0x4c6948[_0x496610(0x7c)]:{};return{..._0x4c6948,'_notice':{..._0x7505e5,'update':_0xa66bc5}};}
@@ -1 +1 @@
1
- (function(_0x3937a3,_0x157115){const _0x1bf410=a171_0x2c82,_0x95f93e=_0x3937a3();while(!![]){try{const _0x1e83e1=-parseInt(_0x1bf410(0xa5))/0x1+parseInt(_0x1bf410(0xa1))/0x2*(-parseInt(_0x1bf410(0x9e))/0x3)+parseInt(_0x1bf410(0xa2))/0x4+-parseInt(_0x1bf410(0x9f))/0x5*(parseInt(_0x1bf410(0xa6))/0x6)+parseInt(_0x1bf410(0x9c))/0x7*(parseInt(_0x1bf410(0xa3))/0x8)+parseInt(_0x1bf410(0xa4))/0x9*(-parseInt(_0x1bf410(0xa0))/0xa)+parseInt(_0x1bf410(0xa7))/0xb;if(_0x1e83e1===_0x157115)break;else _0x95f93e['push'](_0x95f93e['shift']());}catch(_0x35c28b){_0x95f93e['push'](_0x95f93e['shift']());}}}(a171_0x5bed,0x850ff));import{buildSchemaPayload as a171_0x50c5d8}from'@lovrabet/cli-framework';function a171_0x5bed(){const _0x34c644=['537416iRPPHD','8052248KVyAnJ','1963278nNdVqJ','653278yxVVBJ','366pBrnyp','21336700lGhyGH','7Iyqwxd','../commands/registry.js','30aTOImt','52190ocLyxn','30bujVMn','118228kwZrgz'];a171_0x5bed=function(){return _0x34c644;};return a171_0x5bed();}import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';function a171_0x2c82(_0x4f4994,_0x53d18c){_0x4f4994=_0x4f4994-0x9c;const _0x5bedc6=a171_0x5bed();let _0x2c8215=_0x5bedc6[_0x4f4994];return _0x2c8215;}import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x5c07c2=a171_0x2c82,{serviceRegistry:_0x4cabb0,findDefinition:_0x2c1eca}=await import(_0x5c07c2(0x9d));return a171_0x50c5d8({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x4cabb0,'buildAllFlags':buildAllFlags,'findDefinition':_0x2c1eca});}
1
+ (function(_0x1f1f36,_0x587854){const _0xec30e6=a172_0x727c,_0xd63362=_0x1f1f36();while(!![]){try{const _0x1704a9=parseInt(_0xec30e6(0x168))/0x1*(parseInt(_0xec30e6(0x173))/0x2)+-parseInt(_0xec30e6(0x16a))/0x3*(-parseInt(_0xec30e6(0x171))/0x4)+parseInt(_0xec30e6(0x170))/0x5*(-parseInt(_0xec30e6(0x16c))/0x6)+parseInt(_0xec30e6(0x169))/0x7*(-parseInt(_0xec30e6(0x166))/0x8)+parseInt(_0xec30e6(0x16d))/0x9*(-parseInt(_0xec30e6(0x172))/0xa)+parseInt(_0xec30e6(0x167))/0xb+parseInt(_0xec30e6(0x16b))/0xc*(-parseInt(_0xec30e6(0x16f))/0xd);if(_0x1704a9===_0x587854)break;else _0xd63362['push'](_0xd63362['shift']());}catch(_0x4b86b3){_0xd63362['push'](_0xd63362['shift']());}}}(a172_0x243a,0x5242f));import{buildSchemaPayload as a172_0x44561d}from'@lovrabet/cli-framework';function a172_0x727c(_0x15597f,_0xedd2cd){_0x15597f=_0x15597f-0x166;const _0x243ad2=a172_0x243a();let _0x727c7e=_0x243ad2[_0x15597f];return _0x727c7e;}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 _0x15bb7b=a172_0x727c,{serviceRegistry:_0x380893,findDefinition:_0x2fd913}=await import(_0x15bb7b(0x16e));return a172_0x44561d({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x380893,'buildAllFlags':buildAllFlags,'findDefinition':_0x2fd913});}function a172_0x243a(){const _0x2bedc7=['1123829YhuwAR','6cyUiSD','4258932PVIPLe','6WbhsgE','131391GUkyTQ','../commands/registry.js','13AdaCdA','1760170aLKPxC','1123916KpKqXc','110QLrzGD','975336rBuYzg','24TGvhas','7001412iVLVsy','1VLLlQO'];a172_0x243a=function(){return _0x2bedc7;};return a172_0x243a();}
@@ -1 +1 @@
1
- (function(_0x2cdc8d,_0x1d13e9){var _0x376246=a172_0x2e8d,_0x12a1e8=_0x2cdc8d();while(!![]){try{var _0x5c2ee8=parseInt(_0x376246(0x1b3))/0x1*(-parseInt(_0x376246(0x1b5))/0x2)+parseInt(_0x376246(0x1bb))/0x3*(-parseInt(_0x376246(0x1b7))/0x4)+parseInt(_0x376246(0x1ba))/0x5+parseInt(_0x376246(0x1b4))/0x6+-parseInt(_0x376246(0x1b6))/0x7+parseInt(_0x376246(0x1bc))/0x8*(parseInt(_0x376246(0x1b9))/0x9)+parseInt(_0x376246(0x1b8))/0xa;if(_0x5c2ee8===_0x1d13e9)break;else _0x12a1e8['push'](_0x12a1e8['shift']());}catch(_0x72749e){_0x12a1e8['push'](_0x12a1e8['shift']());}}}(a172_0x597c,0xafb1b));function a172_0x2e8d(_0x442aac,_0x4965ef){_0x442aac=_0x442aac-0x1b3;var _0x597cf0=a172_0x597c();var _0x2e8deb=_0x597cf0[_0x442aac];return _0x2e8deb;}function a172_0x597c(){var _0x425ee8=['690895DxDucU','1725546KlpVov','11410904gSSrCu','4EnEEwm','7963134NBslxq','578938kzvZRD','7291333gZUmit','4urucyr','6025890OoOIBX','9IRlMmn'];a172_0x597c=function(){return _0x425ee8;};return a172_0x597c();}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';
1
+ function a173_0x40b7(_0x42ba9c,_0x1d78b1){_0x42ba9c=_0x42ba9c-0x110;var _0x4b304a=a173_0x4b30();var _0x40b725=_0x4b304a[_0x42ba9c];return _0x40b725;}(function(_0x4b6bfa,_0x114803){var _0x5958b3=a173_0x40b7,_0x495dec=_0x4b6bfa();while(!![]){try{var _0xb4efa5=parseInt(_0x5958b3(0x112))/0x1*(parseInt(_0x5958b3(0x110))/0x2)+parseInt(_0x5958b3(0x117))/0x3+parseInt(_0x5958b3(0x111))/0x4*(-parseInt(_0x5958b3(0x116))/0x5)+parseInt(_0x5958b3(0x114))/0x6+parseInt(_0x5958b3(0x119))/0x7+-parseInt(_0x5958b3(0x118))/0x8+parseInt(_0x5958b3(0x115))/0x9*(-parseInt(_0x5958b3(0x113))/0xa);if(_0xb4efa5===_0x114803)break;else _0x495dec['push'](_0x495dec['shift']());}catch(_0x2b0433){_0x495dec['push'](_0x495dec['shift']());}}}(a173_0x4b30,0x81425));export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';function a173_0x4b30(){var _0x40788d=['5346612ayRfSm','99xmpKni','5OyvXBc','2056914GtZKit','1231976ankuXM','6197219ppnnIx','16THtQBv','1954572kdBUje','96621sRYyNy','1875400jcLjoS'];a173_0x4b30=function(){return _0x40788d;};return a173_0x4b30();}
@@ -1 +1 @@
1
- const a173_0x519b98=a173_0x5506;(function(_0x568f95,_0x50505f){const _0x565cb6=a173_0x5506,_0x72610e=_0x568f95();while(!![]){try{const _0x5b9cb1=-parseInt(_0x565cb6(0x98))/0x1*(-parseInt(_0x565cb6(0x94))/0x2)+parseInt(_0x565cb6(0x9a))/0x3*(parseInt(_0x565cb6(0xa0))/0x4)+parseInt(_0x565cb6(0xa1))/0x5+-parseInt(_0x565cb6(0x97))/0x6+-parseInt(_0x565cb6(0x9b))/0x7*(-parseInt(_0x565cb6(0x9d))/0x8)+-parseInt(_0x565cb6(0x9c))/0x9*(-parseInt(_0x565cb6(0x99))/0xa)+-parseInt(_0x565cb6(0x9e))/0xb;if(_0x5b9cb1===_0x50505f)break;else _0x72610e['push'](_0x72610e['shift']());}catch(_0x37025f){_0x72610e['push'](_0x72610e['shift']());}}}(a173_0x387e,0x60d67));function a173_0x5506(_0x2494db,_0x30a020){_0x2494db=_0x2494db-0x94;const _0x387e06=a173_0x387e();let _0x55060a=_0x387e06[_0x2494db];return _0x55060a;}export const VERSION=a173_0x519b98(0x95);export const GIT_TAG='v2.1.14-beta.2';export const GIT_COMMIT=a173_0x519b98(0x9f);function a173_0x387e(){const _0x227664=['2.1.14-beta.3','2026-06-10T05:52:11.876Z','2067744CaOTxG','184282pLNbWt','548480PqaJgk','3RBVbbA','56rmjFuu','54KfgaoB','244792Dyuulg','16407512JXPTgt','544bc05','2148728mRGqqX','2844775brPCeW','6SiPrYD'];a173_0x387e=function(){return _0x227664;};return a173_0x387e();}export const BUILD_TIME=a173_0x519b98(0x96);
1
+ const a174_0x3ddf44=a174_0x57d9;(function(_0x2d097a,_0x15f774){const _0x476a80=a174_0x57d9,_0x2a2b60=_0x2d097a();while(!![]){try{const _0xd8a886=parseInt(_0x476a80(0x186))/0x1+parseInt(_0x476a80(0x183))/0x2*(-parseInt(_0x476a80(0x189))/0x3)+-parseInt(_0x476a80(0x188))/0x4+parseInt(_0x476a80(0x184))/0x5+parseInt(_0x476a80(0x182))/0x6*(parseInt(_0x476a80(0x180))/0x7)+-parseInt(_0x476a80(0x187))/0x8*(parseInt(_0x476a80(0x18a))/0x9)+-parseInt(_0x476a80(0x181))/0xa;if(_0xd8a886===_0x15f774)break;else _0x2a2b60['push'](_0x2a2b60['shift']());}catch(_0x545084){_0x2a2b60['push'](_0x2a2b60['shift']());}}}(a174_0x3276,0x6047a));function a174_0x57d9(_0x1a3d0b,_0x2b3a21){_0x1a3d0b=_0x1a3d0b-0x17f;const _0x327622=a174_0x3276();let _0x57d9a2=_0x327622[_0x1a3d0b];return _0x57d9a2;}export const VERSION=a174_0x3ddf44(0x17f);export const GIT_TAG=a174_0x3ddf44(0x185);function a174_0x3276(){const _0x357776=['63390mcXqem','482sGVDRM','1905875ctostM','v2.1.14-beta.3','85107dvMMUw','482960MSfPiO','1145236vNdqlb','1563ERyNZh','9LWFyzG','2.2.0-beta.1','371oohlkj','1596250Hkukxw'];a174_0x3276=function(){return _0x357776;};return a174_0x3276();}export const GIT_COMMIT='a3a6b69';export const BUILD_TIME='2026-06-11T08:31:23.680Z';
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- function a174_0x49c4(){var _0x3c265d=['9XtkCUk','\x20--help','10HVNtDi','2584085ziUcSw','599244fvVfyS','3CSiKux','bold','2137384LCqkRj','384346TsPKKw','214160uenuWC','5786100chjQPR','\x20to\x20view\x20available\x20commands.','log','977490aLsWft'];a174_0x49c4=function(){return _0x3c265d;};return a174_0x49c4();}function a174_0xac13(_0x1a358a,_0x290dac){_0x1a358a=_0x1a358a-0xc3;var _0x49c497=a174_0x49c4();var _0xac1395=_0x49c497[_0x1a358a];return _0xac1395;}(function(_0x5428a8,_0xe77e99){var _0x2f2c07=a174_0xac13,_0x564e20=_0x5428a8();while(!![]){try{var _0x2257bf=parseInt(_0x2f2c07(0xc7))/0x1+-parseInt(_0x2f2c07(0xc6))/0x2*(parseInt(_0x2f2c07(0xc3))/0x3)+-parseInt(_0x2f2c07(0xd0))/0x4+-parseInt(_0x2f2c07(0xce))/0x5*(parseInt(_0x2f2c07(0xcb))/0x6)+parseInt(_0x2f2c07(0xcf))/0x7+-parseInt(_0x2f2c07(0xc5))/0x8*(parseInt(_0x2f2c07(0xcc))/0x9)+parseInt(_0x2f2c07(0xc8))/0xa;if(_0x2257bf===_0xe77e99)break;else _0x564e20['push'](_0x564e20['shift']());}catch(_0x51be28){_0x564e20['push'](_0x564e20['shift']());}}}(a174_0x49c4,0x3767a));import a174_0xf555ed from'chalk';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0x4751ff=a174_0xac13;console[_0x4751ff(0xca)](),console[_0x4751ff(0xca)](a174_0xf555ed['green'][_0x4751ff(0xc4)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x4751ff(0xca)](),console['log']('\x20\x20Use\x20'+a174_0xf555ed['green'][_0x4751ff(0xc4)](CLI_BIN_NAME+_0x4751ff(0xcd))+_0x4751ff(0xc9)),console['log']();}
1
+ function a175_0x534e(_0x57b95d,_0x12f001){_0x57b95d=_0x57b95d-0xdf;var _0x2efb68=a175_0x2efb();var _0x534eee=_0x2efb68[_0x57b95d];return _0x534eee;}(function(_0x40f6b2,_0x3099a3){var _0x318955=a175_0x534e,_0x4733f0=_0x40f6b2();while(!![]){try{var _0x2d0b47=parseInt(_0x318955(0xe0))/0x1+parseInt(_0x318955(0xdf))/0x2*(parseInt(_0x318955(0xe8))/0x3)+-parseInt(_0x318955(0xeb))/0x4+-parseInt(_0x318955(0xe3))/0x5+parseInt(_0x318955(0xe5))/0x6+parseInt(_0x318955(0xe4))/0x7*(parseInt(_0x318955(0xec))/0x8)+-parseInt(_0x318955(0xe2))/0x9*(-parseInt(_0x318955(0xe7))/0xa);if(_0x2d0b47===_0x3099a3)break;else _0x4733f0['push'](_0x4733f0['shift']());}catch(_0xbff1c){_0x4733f0['push'](_0x4733f0['shift']());}}}(a175_0x2efb,0x76f50));import a175_0x409550 from'chalk';function a175_0x2efb(){var _0x14fa43=['\x20to\x20view\x20available\x20commands.','24921tYTgcT','815140xWuHPI','275261crsmDA','428166jEFGwz','bold','830YreIki','15bmaDRq','\x20--help','green','2737808knBVdP','8cEsffv','log','318238IheODI','198622hdicfE'];a175_0x2efb=function(){return _0x14fa43;};return a175_0x2efb();}import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0x4a9a69=a175_0x534e;console[_0x4a9a69(0xed)](),console[_0x4a9a69(0xed)](a175_0x409550[_0x4a9a69(0xea)][_0x4a9a69(0xe6)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x4a9a69(0xed)](),console['log']('\x20\x20Use\x20'+a175_0x409550[_0x4a9a69(0xea)][_0x4a9a69(0xe6)](CLI_BIN_NAME+_0x4a9a69(0xe9))+_0x4a9a69(0xe1)),console[_0x4a9a69(0xed)]();}
@@ -1 +1 @@
1
- (function(_0x37411d,_0x3094a7){const _0x1cdc54=a175_0x3cdf,_0x551ead=_0x37411d();while(!![]){try{const _0xf6f825=parseInt(_0x1cdc54(0x118))/0x1+-parseInt(_0x1cdc54(0x133))/0x2+parseInt(_0x1cdc54(0x115))/0x3*(parseInt(_0x1cdc54(0x120))/0x4)+parseInt(_0x1cdc54(0x10d))/0x5+-parseInt(_0x1cdc54(0x129))/0x6+-parseInt(_0x1cdc54(0x11f))/0x7*(-parseInt(_0x1cdc54(0x11e))/0x8)+-parseInt(_0x1cdc54(0x125))/0x9*(-parseInt(_0x1cdc54(0x12a))/0xa);if(_0xf6f825===_0x3094a7)break;else _0x551ead['push'](_0x551ead['shift']());}catch(_0x4f07ed){_0x551ead['push'](_0x551ead['shift']());}}}(a175_0x3555,0x1de32));function a175_0x3cdf(_0xf66966,_0x1a5cc4){_0xf66966=_0xf66966-0x10d;const _0x35553c=a175_0x3555();let _0x3cdf81=_0x35553c[_0xf66966];return _0x3cdf81;}import{logger}from'../utils/logger.js';import{CLI_BIN_NAME}from'../constant/cli.js';function a175_0x3555(){const _0xc874e7=['30qAqNzZ','slice','argv','\x20skill\x20install\x0a\x0aEquivalent\x20command:\x20','--help','\x0aAvailable\x20commands:','exit','length','Error:\x20Unsupported\x20command:\x20','219530yfDEey','530180mDEfyM','setLogPath','log','help','(empty)','Equivalent\x20command:\x20','replace','\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','29553xVEOqW','toLowerCase','entries','76912OuosbF','push','error','\x20skill\x20install\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20skill\x20installation','has','dangerously-bff-save','296pbMblR','43274RFCTOX','12nVvNzA','\x20skill\x20--help\x0a\x20\x20','add','from','startsWith','2115kJQRkI','includes','cwd','skill','1258542jHjpCC'];a175_0x3555=function(){return _0xc874e7;};return a175_0x3555();}import{NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE}from'../skills/npx-skills-add.js';export function camelCaseFlagsToKebab(_0x2ca409){const _0x2d9a6c=a175_0x3cdf,_0x4e486e=[];for(const [_0x4150eb,_0x498e0f]of Object[_0x2d9a6c(0x117)](_0x2ca409)){if(_0x498e0f===!![]){const _0x9facdd=_0x4150eb[_0x2d9a6c(0x113)](/([A-Z])/g,'-$1')[_0x2d9a6c(0x116)]();_0x4e486e[_0x2d9a6c(0x119)](_0x9facdd);}}return _0x4e486e;}export function parseDynamicFlags(){const _0x1d3982=a175_0x3cdf,_0x457730=[];for(let _0x13f36a=0x3;_0x13f36a<process[_0x1d3982(0x12c)][_0x1d3982(0x131)];_0x13f36a++){const _0x490134=process[_0x1d3982(0x12c)][_0x13f36a];if(_0x490134&&_0x490134[_0x1d3982(0x124)]('--')){const _0x15f830=_0x490134[_0x1d3982(0x12b)](0x2);_0x15f830&&!_0x15f830[_0x1d3982(0x126)]('=')&&_0x457730[_0x1d3982(0x119)](_0x15f830);}}return _0x457730;}export function getAllProvidedFlags(_0x460b98){const _0x141f3c=a175_0x3cdf,_0x745c2a=camelCaseFlagsToKebab(_0x460b98),_0xa28d4f=parseDynamicFlags(),_0xe5fa6f=new Set([..._0x745c2a,..._0xa28d4f]);return Array[_0x141f3c(0x123)](_0xe5fa6f);}export function normalizeLegacyBffSaveFlags(_0x2385a9){const _0x3cf15e=a175_0x3cdf,_0x6444cc=new Set(_0x2385a9);return _0x6444cc[_0x3cf15e(0x11c)](_0x3cf15e(0x11d))&&_0x6444cc[_0x3cf15e(0x122)]('enable-bff-save'),Array[_0x3cf15e(0x123)](_0x6444cc);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;export async function skillsCommand(_0x118d64,_0x4af937,_0x2217cf){const _0x48e286=a175_0x3cdf;logger[_0x48e286(0x10e)](process[_0x48e286(0x127)]());if(_0x2217cf?.[_0x48e286(0x110)]||_0x118d64===_0x48e286(0x12e)){showHelp();return;}console[_0x48e286(0x11a)](_0x48e286(0x132)+(_0x118d64||_0x48e286(0x111))),console[_0x48e286(0x10f)](_0x48e286(0x12f)),console['log']('\x20\x20'+CLI_BIN_NAME+_0x48e286(0x11b)),console[_0x48e286(0x10f)]('\x20\x20'+CLI_BIN_NAME+'\x20skill\x20--help\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Show\x20help\x0a'),console[_0x48e286(0x10f)](''),console[_0x48e286(0x10f)](_0x48e286(0x112)+SKILLS_INSTALL_COMMAND_LINE),logger['error'](_0x48e286(0x128),'不支持的命令:\x20'+_0x118d64),process[_0x48e286(0x130)](0x1);}function showHelp(){const _0x4312a5=a175_0x3cdf;console[_0x4312a5(0x10f)](_0x4312a5(0x114)+CLI_BIN_NAME+_0x4312a5(0x121)+CLI_BIN_NAME+_0x4312a5(0x12d)+SKILLS_INSTALL_COMMAND_LINE+'\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/rabetbase/guides/.\x0a');}
1
+ (function(_0x517e02,_0x20fbb5){const _0x212f59=a176_0x2f13,_0x3690bd=_0x517e02();while(!![]){try{const _0x359509=parseInt(_0x212f59(0x1da))/0x1+parseInt(_0x212f59(0x1e6))/0x2+-parseInt(_0x212f59(0x1db))/0x3*(parseInt(_0x212f59(0x1d3))/0x4)+parseInt(_0x212f59(0x1cc))/0x5*(parseInt(_0x212f59(0x1dd))/0x6)+parseInt(_0x212f59(0x1cb))/0x7+-parseInt(_0x212f59(0x1d4))/0x8+-parseInt(_0x212f59(0x1e1))/0x9;if(_0x359509===_0x20fbb5)break;else _0x3690bd['push'](_0x3690bd['shift']());}catch(_0x2f7a79){_0x3690bd['push'](_0x3690bd['shift']());}}}(a176_0x26e6,0xcc0dd));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(_0x32d7f4){const _0x3d1af3=a176_0x2f13,_0x354f7b=[];for(const [_0x6cf436,_0x20adfa]of Object[_0x3d1af3(0x1d6)](_0x32d7f4)){if(_0x20adfa===!![]){const _0x504025=_0x6cf436['replace'](/([A-Z])/g,_0x3d1af3(0x1e3))[_0x3d1af3(0x1d2)]();_0x354f7b[_0x3d1af3(0x1e9)](_0x504025);}}return _0x354f7b;}export function parseDynamicFlags(){const _0x3b96cf=a176_0x2f13,_0x2ca8d4=[];for(let _0xffa818=0x3;_0xffa818<process[_0x3b96cf(0x1de)][_0x3b96cf(0x1c9)];_0xffa818++){const _0x1919d7=process[_0x3b96cf(0x1de)][_0xffa818];if(_0x1919d7&&_0x1919d7[_0x3b96cf(0x1d8)]('--')){const _0x3f93f9=_0x1919d7[_0x3b96cf(0x1ea)](0x2);_0x3f93f9&&!_0x3f93f9[_0x3b96cf(0x1d9)]('=')&&_0x2ca8d4[_0x3b96cf(0x1e9)](_0x3f93f9);}}return _0x2ca8d4;}export function getAllProvidedFlags(_0x2d87ab){const _0x911f04=a176_0x2f13,_0x457e00=camelCaseFlagsToKebab(_0x2d87ab),_0x20d132=parseDynamicFlags(),_0x464501=new Set([..._0x457e00,..._0x20d132]);return Array[_0x911f04(0x1d1)](_0x464501);}export function normalizeLegacyBffSaveFlags(_0x5cc3e5){const _0x376c1e=a176_0x2f13,_0x58e305=new Set(_0x5cc3e5);return _0x58e305['has'](_0x376c1e(0x1d7))&&_0x58e305['add'](_0x376c1e(0x1ec)),Array[_0x376c1e(0x1d1)](_0x58e305);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;export async function skillsCommand(_0x285c9b,_0x12ae52,_0x1bea4a){const _0xd425cb=a176_0x2f13;logger[_0xd425cb(0x1eb)](process[_0xd425cb(0x1e0)]());if(_0x1bea4a?.['help']||_0x285c9b===_0xd425cb(0x1e2)){showHelp();return;}console[_0xd425cb(0x1cf)]('Error:\x20Unsupported\x20command:\x20'+(_0x285c9b||_0xd425cb(0x1e8))),console[_0xd425cb(0x1ca)](_0xd425cb(0x1df)),console[_0xd425cb(0x1ca)]('\x20\x20'+CLI_BIN_NAME+_0xd425cb(0x1e7)),console[_0xd425cb(0x1ca)]('\x20\x20'+CLI_BIN_NAME+_0xd425cb(0x1d5)),console[_0xd425cb(0x1ca)](''),console[_0xd425cb(0x1ca)](_0xd425cb(0x1cd)+SKILLS_INSTALL_COMMAND_LINE),logger[_0xd425cb(0x1cf)](_0xd425cb(0x1ce),_0xd425cb(0x1dc)+_0x285c9b),process[_0xd425cb(0x1e5)](0x1);}function a176_0x2f13(_0x45945a,_0x39e7b5){_0x45945a=_0x45945a-0x1c9;const _0x26e63a=a176_0x26e6();let _0x2f1333=_0x26e63a[_0x45945a];return _0x2f1333;}function a176_0x26e6(){const _0x308f13=['3152138oOfrrd','\x20skill\x20install\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20skill\x20installation','(empty)','push','slice','setLogPath','enable-bff-save','length','log','10341219AiQnOG','1181735BpUqTs','Equivalent\x20command:\x20','skill','error','\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/rabetbase/guides/.\x0a','from','toLowerCase','3415764AbRCoe','12476496SPDSkG','\x20skill\x20--help\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Show\x20help\x0a','entries','dangerously-bff-save','startsWith','includes','1596750HVuuIs','3hoMOiE','不支持的命令:\x20','30KiZOVC','argv','\x0aAvailable\x20commands:','cwd','23243067iwrRMh','--help','-$1','\x20skill\x20--help\x0a\x20\x20','exit'];a176_0x26e6=function(){return _0x308f13;};return a176_0x26e6();}function showHelp(){const _0x1a381d=a176_0x2f13;console[_0x1a381d(0x1ca)]('\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20'+CLI_BIN_NAME+_0x1a381d(0x1e4)+CLI_BIN_NAME+'\x20skill\x20install\x0a\x0aEquivalent\x20command:\x20'+SKILLS_INSTALL_COMMAND_LINE+_0x1a381d(0x1d0));}
@@ -1 +1 @@
1
- function a176_0x5ea3(_0x3d3373,_0x56df51){_0x3d3373=_0x3d3373-0xc9;const _0xde43b0=a176_0xde43();let _0x5ea391=_0xde43b0[_0x3d3373];return _0x5ea391;}const a176_0x480ba7=a176_0x5ea3;(function(_0x4510b2,_0x49f18d){const _0x1e0882=a176_0x5ea3,_0x550951=_0x4510b2();while(!![]){try{const _0x145d36=-parseInt(_0x1e0882(0xd0))/0x1*(-parseInt(_0x1e0882(0xd1))/0x2)+parseInt(_0x1e0882(0xd3))/0x3+parseInt(_0x1e0882(0xd6))/0x4*(parseInt(_0x1e0882(0xd9))/0x5)+parseInt(_0x1e0882(0xd4))/0x6*(parseInt(_0x1e0882(0xde))/0x7)+-parseInt(_0x1e0882(0xd8))/0x8+-parseInt(_0x1e0882(0xe3))/0x9+-parseInt(_0x1e0882(0xd5))/0xa;if(_0x145d36===_0x49f18d)break;else _0x550951['push'](_0x550951['shift']());}catch(_0x1b71c6){_0x550951['push'](_0x550951['shift']());}}}(a176_0xde43,0x54134));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=a176_0x480ba7(0xe0);export const NPX_SKILLS_SUBCOMMAND_ADD=a176_0x480ba7(0xe5);export const NPX_SKILLS_FLAG_SKILL='--skill';export const RABETBASE_SKILL_SOURCE='lovrabet/rabetbase';function a176_0xde43(){const _0x123c1c=['1gPndYm','1252684fGyvIO','inherit','1987950oriqrQ','2892hQwkmj','1410900FrCQRA','4UZRSNX','log','5338136jTHSdf','673760VHyJlJ','remove','unknown','push','skill','5495XjRMHG','stdio','skills','stderr','stdout','5844465xcCPDt','npx','add','join','yes','status','toString','exit\x20','pipe','trim'];a176_0xde43=function(){return _0x123c1c;};return a176_0xde43();}export const LEGACY_RABETBASE_SKILL_SOURCE='lovrabet/lovrabet-skill';export const DEFAULT_RABETBASE_SKILL_NAME='Lovrabet';export function buildNpxSkillsAddArgv(_0x13a771){const _0x1da423=a176_0x480ba7,_0x21ecdb=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE];return _0x13a771&&_0x21ecdb[_0x1da423(0xdc)](NPX_SKILLS_FLAG_SKILL,_0x13a771),_0x21ecdb;}export const NPX_SKILLS_ADD_COMMAND_LINE=[a176_0x480ba7(0xe4),...buildNpxSkillsAddArgv()][a176_0x480ba7(0xc9)]('\x20');export const NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE=[a176_0x480ba7(0xe4),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][a176_0x480ba7(0xc9)]('\x20');export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0x141d02,_0x35247a){const _0x1d5084=a176_0x480ba7;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x129ece=_0x35247a?.[_0x1d5084(0xdf)]??_0x1d5084(0xd2),_0x48454b=resolveNpmBin('npx'),_0x3a6b61=buildNpxSkillsAddArgv(_0x35247a?.[_0x1d5084(0xdd)]),_0x357074=['npx',..._0x3a6b61]['join']('\x20');console[_0x1d5084(0xd7)]('*\x20'+_0x357074);const _0x1a17e3=spawnSync(_0x48454b,_0x3a6b61,{'cwd':_0x141d02,'stdio':_0x129ece,'env':process.env,'shell':![]}),_0x4beff0=_0x1a17e3[_0x1d5084(0xcb)];if(_0x4beff0===0x0)return{'ok':!![],'status':0x0};let _0x160df7=_0x1d5084(0xcd)+(_0x4beff0??_0x1d5084(0xdb));if(_0x129ece==='pipe'){const _0x509bc5=_0x1a17e3['stderr']?_0x1a17e3[_0x1d5084(0xe1)]['toString']()[_0x1d5084(0xcf)]():'',_0x4c939b=_0x1a17e3[_0x1d5084(0xe2)]?_0x1a17e3[_0x1d5084(0xe2)][_0x1d5084(0xcc)]()[_0x1d5084(0xcf)]():'';if(_0x509bc5)_0x160df7=_0x509bc5;else{if(_0x4c939b)_0x160df7=_0x4c939b;}}return{'ok':![],'status':_0x4beff0??null,'error':_0x160df7};}export function runNpxSkillsRemove(_0x4cc2ff,_0x3217f2,_0x55b45e=LEGACY_RABETBASE_SKILL_SOURCE){const _0x23e46a=a176_0x480ba7;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x22b613=_0x3217f2?.[_0x23e46a(0xdf)]??_0x23e46a(0xd2),_0x53f679=resolveNpmBin(_0x23e46a(0xe4)),_0x474700=[NPX_FLAG_YES,NPX_SKILLS_CLI,_0x23e46a(0xda),_0x55b45e,NPX_SKILLS_FLAG_SKILL,_0x3217f2?.[_0x23e46a(0xdd)]??DEFAULT_RABETBASE_SKILL_NAME,..._0x3217f2?.[_0x23e46a(0xca)]?['-y']:[]],_0x214ba5=[_0x53f679,..._0x474700][_0x23e46a(0xc9)]('\x20');console[_0x23e46a(0xd7)]('*\x20'+_0x214ba5);const _0xc08456=spawnSync(_0x53f679,_0x474700,{'cwd':_0x4cc2ff,'stdio':_0x22b613,'env':process.env,'shell':![]}),_0x4f9b72=_0xc08456[_0x23e46a(0xcb)];if(_0x4f9b72===0x0)return{'ok':!![],'status':0x0};let _0x29018d=_0x23e46a(0xcd)+(_0x4f9b72??_0x23e46a(0xdb));if(_0x22b613===_0x23e46a(0xce)){const _0x18866e=_0xc08456['stderr']?_0xc08456[_0x23e46a(0xe1)][_0x23e46a(0xcc)]()[_0x23e46a(0xcf)]():'',_0x465871=_0xc08456[_0x23e46a(0xe2)]?_0xc08456[_0x23e46a(0xe2)]['toString']()['trim']():'';if(_0x18866e)_0x29018d=_0x18866e;else{if(_0x465871)_0x29018d=_0x465871;}}return{'ok':![],'status':_0x4f9b72??null,'error':_0x29018d};}export function runNpxSkillsAddGlobal(_0x5c0c0d,_0x5658ca,_0x4b6c66){const _0x4847ce=a176_0x480ba7;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x5a33fd=_0x4b6c66?.[_0x4847ce(0xdf)]??'inherit',_0x45ccc2=resolveNpmBin(_0x4847ce(0xe4)),_0x1fda1a=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x5658ca,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES],_0x33c7f0=[_0x4847ce(0xe4),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x5658ca,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][_0x4847ce(0xc9)]('\x20');console[_0x4847ce(0xd7)]('*\x20'+_0x33c7f0);const _0x579a95=spawnSync(_0x45ccc2,_0x1fda1a,{'cwd':_0x5c0c0d,'stdio':_0x5a33fd,'env':process.env,'shell':![]}),_0x57e45e=_0x579a95[_0x4847ce(0xcb)];if(_0x57e45e===0x0)return{'ok':!![],'status':0x0};let _0x90d538=_0x4847ce(0xcd)+(_0x57e45e??'unknown');if(_0x5a33fd===_0x4847ce(0xce)){const _0x578657=_0x579a95[_0x4847ce(0xe1)]?_0x579a95[_0x4847ce(0xe1)][_0x4847ce(0xcc)]()[_0x4847ce(0xcf)]():'',_0x10c429=_0x579a95[_0x4847ce(0xe2)]?_0x579a95[_0x4847ce(0xe2)][_0x4847ce(0xcc)]()[_0x4847ce(0xcf)]():'';if(_0x578657)_0x90d538=_0x578657;else{if(_0x10c429)_0x90d538=_0x10c429;}}return{'ok':![],'status':_0x57e45e??null,'error':_0x90d538};}
1
+ const a177_0x3aac95=a177_0x26c1;(function(_0x4b7784,_0x52fd3f){const _0x54a60c=a177_0x26c1,_0x5c7433=_0x4b7784();while(!![]){try{const _0x502c73=parseInt(_0x54a60c(0x163))/0x1+parseInt(_0x54a60c(0x15b))/0x2+-parseInt(_0x54a60c(0x169))/0x3+parseInt(_0x54a60c(0x168))/0x4*(-parseInt(_0x54a60c(0x16b))/0x5)+-parseInt(_0x54a60c(0x15d))/0x6+-parseInt(_0x54a60c(0x157))/0x7+parseInt(_0x54a60c(0x154))/0x8;if(_0x502c73===_0x52fd3f)break;else _0x5c7433['push'](_0x5c7433['shift']());}catch(_0xa2ba4b){_0x5c7433['push'](_0x5c7433['shift']());}}}(a177_0x487f,0xe5a13));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=a177_0x3aac95(0x162);export const NPX_SKILLS_SUBCOMMAND_ADD=a177_0x3aac95(0x160);export const NPX_SKILLS_FLAG_SKILL=a177_0x3aac95(0x16f);function a177_0x487f(){const _0xe65f4e=['skills','1392027YiEGHz','stderr','inherit','lovrabet/rabetbase','exit\x20','4FZWEqi','5224329MJkdQT','yes','6746010KWyXCP','npx','unknown','stdio','--skill','log','toString','27446872NOeMnn','lovrabet/lovrabet-skill','join','3014214tpaqmE','pipe','skill','push','2391420PHEHJU','Lovrabet','9340716pfgLbu','stdout','trim','add','status'];a177_0x487f=function(){return _0xe65f4e;};return a177_0x487f();}export const RABETBASE_SKILL_SOURCE=a177_0x3aac95(0x166);export const LEGACY_RABETBASE_SKILL_SOURCE=a177_0x3aac95(0x155);function a177_0x26c1(_0x5240a1,_0x14e6cf){_0x5240a1=_0x5240a1-0x154;const _0x487f60=a177_0x487f();let _0x26c17d=_0x487f60[_0x5240a1];return _0x26c17d;}export const DEFAULT_RABETBASE_SKILL_NAME=a177_0x3aac95(0x15c);export function buildNpxSkillsAddArgv(_0x36ec74){const _0x12c2b7=a177_0x3aac95,_0x4c9682=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE];return _0x36ec74&&_0x4c9682[_0x12c2b7(0x15a)](NPX_SKILLS_FLAG_SKILL,_0x36ec74),_0x4c9682;}export const NPX_SKILLS_ADD_COMMAND_LINE=['npx',...buildNpxSkillsAddArgv()]['join']('\x20');export const NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE=[a177_0x3aac95(0x16c),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(_0x15fd3c,_0x3e88b6){const _0x25be2c=a177_0x3aac95;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x1a5c2f=_0x3e88b6?.['stdio']??'inherit',_0x227a0b=resolveNpmBin('npx'),_0x37fdc2=buildNpxSkillsAddArgv(_0x3e88b6?.[_0x25be2c(0x159)]),_0x53e06e=[_0x25be2c(0x16c),..._0x37fdc2]['join']('\x20');console[_0x25be2c(0x170)]('*\x20'+_0x53e06e);const _0x44410a=spawnSync(_0x227a0b,_0x37fdc2,{'cwd':_0x15fd3c,'stdio':_0x1a5c2f,'env':process.env,'shell':![]}),_0x3b5f3d=_0x44410a[_0x25be2c(0x161)];if(_0x3b5f3d===0x0)return{'ok':!![],'status':0x0};let _0x2ed365=_0x25be2c(0x167)+(_0x3b5f3d??_0x25be2c(0x16d));if(_0x1a5c2f===_0x25be2c(0x158)){const _0x4f7a23=_0x44410a[_0x25be2c(0x164)]?_0x44410a['stderr'][_0x25be2c(0x171)]()['trim']():'',_0xdeab3b=_0x44410a[_0x25be2c(0x15e)]?_0x44410a[_0x25be2c(0x15e)][_0x25be2c(0x171)]()[_0x25be2c(0x15f)]():'';if(_0x4f7a23)_0x2ed365=_0x4f7a23;else{if(_0xdeab3b)_0x2ed365=_0xdeab3b;}}return{'ok':![],'status':_0x3b5f3d??null,'error':_0x2ed365};}export function runNpxSkillsRemove(_0x3c0401,_0x42287b,_0x37ea4d=LEGACY_RABETBASE_SKILL_SOURCE){const _0x3a66eb=a177_0x3aac95;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x57d198=_0x42287b?.[_0x3a66eb(0x16e)]??'inherit',_0xf32acf=resolveNpmBin(_0x3a66eb(0x16c)),_0x3651cd=[NPX_FLAG_YES,NPX_SKILLS_CLI,'remove',_0x37ea4d,NPX_SKILLS_FLAG_SKILL,_0x42287b?.[_0x3a66eb(0x159)]??DEFAULT_RABETBASE_SKILL_NAME,..._0x42287b?.[_0x3a66eb(0x16a)]?['-y']:[]],_0x311f6e=[_0xf32acf,..._0x3651cd][_0x3a66eb(0x156)]('\x20');console[_0x3a66eb(0x170)]('*\x20'+_0x311f6e);const _0x4f1d7b=spawnSync(_0xf32acf,_0x3651cd,{'cwd':_0x3c0401,'stdio':_0x57d198,'env':process.env,'shell':![]}),_0x13a670=_0x4f1d7b[_0x3a66eb(0x161)];if(_0x13a670===0x0)return{'ok':!![],'status':0x0};let _0x50485e=_0x3a66eb(0x167)+(_0x13a670??'unknown');if(_0x57d198==='pipe'){const _0x270861=_0x4f1d7b[_0x3a66eb(0x164)]?_0x4f1d7b[_0x3a66eb(0x164)][_0x3a66eb(0x171)]()['trim']():'',_0x56fa16=_0x4f1d7b['stdout']?_0x4f1d7b[_0x3a66eb(0x15e)][_0x3a66eb(0x171)]()[_0x3a66eb(0x15f)]():'';if(_0x270861)_0x50485e=_0x270861;else{if(_0x56fa16)_0x50485e=_0x56fa16;}}return{'ok':![],'status':_0x13a670??null,'error':_0x50485e};}export function runNpxSkillsAddGlobal(_0x1f3a4b,_0x5ddc97,_0x5b930e){const _0x835d55=a177_0x3aac95;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x4ea9ea=_0x5b930e?.[_0x835d55(0x16e)]??_0x835d55(0x165),_0x258809=resolveNpmBin('npx'),_0x451fc9=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x5ddc97,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES],_0x3f8421=[_0x835d55(0x16c),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x5ddc97,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][_0x835d55(0x156)]('\x20');console[_0x835d55(0x170)]('*\x20'+_0x3f8421);const _0x435876=spawnSync(_0x258809,_0x451fc9,{'cwd':_0x1f3a4b,'stdio':_0x4ea9ea,'env':process.env,'shell':![]}),_0x508951=_0x435876[_0x835d55(0x161)];if(_0x508951===0x0)return{'ok':!![],'status':0x0};let _0x2e04b8=_0x835d55(0x167)+(_0x508951??_0x835d55(0x16d));if(_0x4ea9ea===_0x835d55(0x158)){const _0x2a2b4b=_0x435876[_0x835d55(0x164)]?_0x435876[_0x835d55(0x164)][_0x835d55(0x171)]()[_0x835d55(0x15f)]():'',_0x10eb0e=_0x435876[_0x835d55(0x15e)]?_0x435876[_0x835d55(0x15e)][_0x835d55(0x171)]()[_0x835d55(0x15f)]():'';if(_0x2a2b4b)_0x2e04b8=_0x2a2b4b;else{if(_0x10eb0e)_0x2e04b8=_0x10eb0e;}}return{'ok':![],'status':_0x508951??null,'error':_0x2e04b8};}
@@ -1 +1 @@
1
- (function(_0x642ce0,_0x59a9d7){const _0x587f47=a177_0x1797,_0x424c55=_0x642ce0();while(!![]){try{const _0x5a39e6=parseInt(_0x587f47(0x1fa))/0x1*(parseInt(_0x587f47(0x1fc))/0x2)+parseInt(_0x587f47(0x1f7))/0x3+parseInt(_0x587f47(0x1f3))/0x4*(-parseInt(_0x587f47(0x1fd))/0x5)+parseInt(_0x587f47(0x204))/0x6*(-parseInt(_0x587f47(0x201))/0x7)+-parseInt(_0x587f47(0x205))/0x8*(parseInt(_0x587f47(0x1f5))/0x9)+-parseInt(_0x587f47(0x1f9))/0xa+parseInt(_0x587f47(0x202))/0xb*(parseInt(_0x587f47(0x1f6))/0xc);if(_0x5a39e6===_0x59a9d7)break;else _0x424c55['push'](_0x424c55['shift']());}catch(_0x4a09e6){_0x424c55['push'](_0x424c55['shift']());}}}(a177_0xc75a,0x4487a));function a177_0x1797(_0x22ddda,_0x2db2cf){_0x22ddda=_0x22ddda-0x1f2;const _0xc75a71=a177_0xc75a();let _0x1797f1=_0xc75a71[_0x22ddda];return _0x1797f1;}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];function isSensitiveKey(_0x1a6c40){const _0x839eaa=a177_0x1797;return SENSITIVE_PATTERNS[_0x839eaa(0x1f8)](_0x1b2426=>_0x1b2426['test'](_0x1a6c40));}function sanitizeFlags(_0x3c13bf){const _0x438f76=a177_0x1797,_0x17ecbf={};for(const [_0x5ec3ad,_0x48364a]of Object[_0x438f76(0x200)](_0x3c13bf)){isSensitiveKey(_0x5ec3ad)?_0x17ecbf[_0x5ec3ad]=_0x48364a!=null&&_0x48364a!==''?_0x438f76(0x207):_0x48364a:_0x17ecbf[_0x5ec3ad]=_0x48364a;}return _0x17ecbf;}function a177_0xc75a(){const _0x5844c8=['1286610MlmCuO','4377928KQAkGJ','flags','[REDACTED]','command','error','3356JJGcze','message','9XCbBCy','198732qsbIVm','895305rNPdgs','some','2189800QQCthN','3593lKagDZ','durationMs','146BFSyBS','1845RYTIvt','stringify','rabetbase.command','entries','7RuWUuB','671HHsQtj','service'];a177_0xc75a=function(){return _0x5844c8;};return a177_0xc75a();}export async function reportCommandTrace(_0x1b85f3){const _0x30776d=a177_0x1797;try{const _0x3ce96e=sanitizeFlags(_0x1b85f3[_0x30776d(0x206)]);await sendCliTraceLog({'spanName':_0x30776d(0x1ff),'logData':{'command.cli_version':getCliVersion(),'command.service':_0x1b85f3[_0x30776d(0x203)],'command.name':_0x1b85f3[_0x30776d(0x208)],'command.flags':JSON[_0x30776d(0x1fe)](_0x3ce96e),..._0x1b85f3[_0x30776d(0x1fb)]!=null?{'command.duration_ms':_0x1b85f3[_0x30776d(0x1fb)]}:{},..._0x1b85f3[_0x30776d(0x1f2)]?{'command.error':_0x1b85f3[_0x30776d(0x1f2)]instanceof Error?_0x1b85f3['error'][_0x30776d(0x1f4)]:String(_0x1b85f3[_0x30776d(0x1f2)])}:{}}});}catch{}}
1
+ (function(_0x40a86d,_0x226c7c){const _0x21558f=a178_0x31ca,_0x33fc35=_0x40a86d();while(!![]){try{const _0x2a6beb=-parseInt(_0x21558f(0x133))/0x1*(-parseInt(_0x21558f(0x12a))/0x2)+-parseInt(_0x21558f(0x136))/0x3*(parseInt(_0x21558f(0x12b))/0x4)+parseInt(_0x21558f(0x134))/0x5*(-parseInt(_0x21558f(0x12e))/0x6)+parseInt(_0x21558f(0x131))/0x7+parseInt(_0x21558f(0x135))/0x8+-parseInt(_0x21558f(0x12d))/0x9+parseInt(_0x21558f(0x130))/0xa;if(_0x2a6beb===_0x226c7c)break;else _0x33fc35['push'](_0x33fc35['shift']());}catch(_0x2473dc){_0x33fc35['push'](_0x33fc35['shift']());}}}(a178_0x4da7,0x905a1));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];function a178_0x31ca(_0x36c87e,_0xf05786){_0x36c87e=_0x36c87e-0x128;const _0x4da795=a178_0x4da7();let _0x31cad6=_0x4da795[_0x36c87e];return _0x31cad6;}function a178_0x4da7(){const _0x28753c=['2pkKOBH','5aHHCFp','5731912lhlvkQ','939789uOxxex','durationMs','some','rabetbase.command','flags','[REDACTED]','168268GWiePg','8nWpHeW','message','2240532hnppWy','1429926gQtvCr','command','1545110Sgtujx','4660544VsdzsZ','error'];a178_0x4da7=function(){return _0x28753c;};return a178_0x4da7();}function isSensitiveKey(_0x425eef){const _0x4b7fc7=a178_0x31ca;return SENSITIVE_PATTERNS[_0x4b7fc7(0x138)](_0x2be956=>_0x2be956['test'](_0x425eef));}function sanitizeFlags(_0x15a6d1){const _0x30f0b9=a178_0x31ca,_0x25701f={};for(const [_0x3313f4,_0x485ef2]of Object['entries'](_0x15a6d1)){isSensitiveKey(_0x3313f4)?_0x25701f[_0x3313f4]=_0x485ef2!=null&&_0x485ef2!==''?_0x30f0b9(0x129):_0x485ef2:_0x25701f[_0x3313f4]=_0x485ef2;}return _0x25701f;}export async function reportCommandTrace(_0x33669c){const _0x3309e2=a178_0x31ca;try{const _0x2e1b73=sanitizeFlags(_0x33669c[_0x3309e2(0x128)]);await sendCliTraceLog({'spanName':_0x3309e2(0x139),'logData':{'command.cli_version':getCliVersion(),'command.service':_0x33669c['service'],'command.name':_0x33669c[_0x3309e2(0x12f)],'command.flags':JSON['stringify'](_0x2e1b73),..._0x33669c['durationMs']!=null?{'command.duration_ms':_0x33669c[_0x3309e2(0x137)]}:{},..._0x33669c[_0x3309e2(0x132)]?{'command.error':_0x33669c[_0x3309e2(0x132)]instanceof Error?_0x33669c[_0x3309e2(0x132)][_0x3309e2(0x12c)]:String(_0x33669c['error'])}:{}}});}catch{}}
@@ -1 +1 @@
1
- function a178_0xa913(){var _0x212cbc=['5DPYYpL','1106562BeucGX','4360734dMpxCU','500264YSyNDu','cli.help','2882453rMdnfu','error','238794geiGpf','421505rBOLmv','8AivNcN','service','730548XQZOut','20dJtVfi','Failed\x20to\x20report\x20CLI\x20help\x20trace:','28cQlzTw','154TzUZzu'];a178_0xa913=function(){return _0x212cbc;};return a178_0xa913();}function a178_0x2a4d(_0x5866a7,_0x25aae2){_0x5866a7=_0x5866a7-0x117;var _0xa9131=a178_0xa913();var _0x2a4d6e=_0xa9131[_0x5866a7];return _0x2a4d6e;}(function(_0x867222,_0x31206e){var _0x3e142b=a178_0x2a4d,_0x2914a3=_0x867222();while(!![]){try{var _0x4d1306=parseInt(_0x3e142b(0x11a))/0x1+parseInt(_0x3e142b(0x125))/0x2+-parseInt(_0x3e142b(0x119))/0x3*(-parseInt(_0x3e142b(0x120))/0x4)+-parseInt(_0x3e142b(0x122))/0x5*(parseInt(_0x3e142b(0x123))/0x6)+-parseInt(_0x3e142b(0x117))/0x7*(parseInt(_0x3e142b(0x11b))/0x8)+-parseInt(_0x3e142b(0x124))/0x9*(parseInt(_0x3e142b(0x11e))/0xa)+parseInt(_0x3e142b(0x121))/0xb*(parseInt(_0x3e142b(0x11d))/0xc);if(_0x4d1306===_0x31206e)break;else _0x2914a3['push'](_0x2914a3['shift']());}catch(_0x5579e9){_0x2914a3['push'](_0x2914a3['shift']());}}}(a178_0xa913,0x7df1f));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export async function reportCliHelpTrace(_0x2ec7e1,_0x29cc7f){var _0x2e3497=a178_0x2a4d;try{await sendCliTraceLog({'spanName':_0x2e3497(0x126),'logData':{'rabetbase.help.kind':_0x2ec7e1,..._0x29cc7f?.[_0x2e3497(0x11c)]&&{'rabetbase.help.service':_0x29cc7f[_0x2e3497(0x11c)]}}});}catch(_0x4b15d7){console[_0x2e3497(0x118)](_0x2e3497(0x11f),_0x4b15d7);}}
1
+ (function(_0x17c6c7,_0x1ee465){var _0x47cf96=a179_0x56a2,_0x1465e9=_0x17c6c7();while(!![]){try{var _0x484724=-parseInt(_0x47cf96(0xc9))/0x1+-parseInt(_0x47cf96(0xd1))/0x2+-parseInt(_0x47cf96(0xd2))/0x3*(parseInt(_0x47cf96(0xcb))/0x4)+-parseInt(_0x47cf96(0xd0))/0x5+-parseInt(_0x47cf96(0xca))/0x6+-parseInt(_0x47cf96(0xc8))/0x7+parseInt(_0x47cf96(0xcc))/0x8*(parseInt(_0x47cf96(0xce))/0x9);if(_0x484724===_0x1ee465)break;else _0x1465e9['push'](_0x1465e9['shift']());}catch(_0x477ff0){_0x1465e9['push'](_0x1465e9['shift']());}}}(a179_0xe45a,0xed7ac));function a179_0xe45a(){var _0x417051=['454559FAuElF','1384418NqxQgE','8822820cvmbyo','12SLynbs','96emYznW','cli.help','5428206ZNqAhb','Failed\x20to\x20report\x20CLI\x20help\x20trace:','4347890kHwbOg','3223344qgyLfp','863817yKPfmv','error','service'];a179_0xe45a=function(){return _0x417051;};return a179_0xe45a();}function a179_0x56a2(_0x11cdd3,_0x1bb6e8){_0x11cdd3=_0x11cdd3-0xc8;var _0xe45a5a=a179_0xe45a();var _0x56a200=_0xe45a5a[_0x11cdd3];return _0x56a200;}import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export async function reportCliHelpTrace(_0x569615,_0x52cd31){var _0x2e07ab=a179_0x56a2;try{await sendCliTraceLog({'spanName':_0x2e07ab(0xcd),'logData':{'rabetbase.help.kind':_0x569615,..._0x52cd31?.[_0x2e07ab(0xd4)]&&{'rabetbase.help.service':_0x52cd31[_0x2e07ab(0xd4)]}}});}catch(_0x39feff){console[_0x2e07ab(0xd3)](_0x2e07ab(0xcf),_0x39feff);}}
@@ -1 +1 @@
1
- (function(_0x6b6a27,_0x3aefcf){const _0x21b135=a179_0x72f9,_0x57234b=_0x6b6a27();while(!![]){try{const _0x5e39de=parseInt(_0x21b135(0x10b))/0x1*(parseInt(_0x21b135(0x105))/0x2)+-parseInt(_0x21b135(0x109))/0x3*(-parseInt(_0x21b135(0x102))/0x4)+-parseInt(_0x21b135(0x104))/0x5+parseInt(_0x21b135(0x100))/0x6+parseInt(_0x21b135(0x101))/0x7+parseInt(_0x21b135(0x107))/0x8*(parseInt(_0x21b135(0x10c))/0x9)+-parseInt(_0x21b135(0xff))/0xa;if(_0x5e39de===_0x3aefcf)break;else _0x57234b['push'](_0x57234b['shift']());}catch(_0x564240){_0x57234b['push'](_0x57234b['shift']());}}}(a179_0x33b5,0x76ee0));import{VERSION,GIT_COMMIT}from'../generated/build-info.js';function a179_0x72f9(_0x35e86f,_0x29b0f9){_0x35e86f=_0x35e86f-0xff;const _0x33b56b=a179_0x33b5();let _0x72f931=_0x33b56b[_0x35e86f];return _0x72f931;}import{getSessionUserInfo}from'../auth/get-session-user.js';import{setServiceConfig,setUserContext}from'@lovrabet/otel-logger';import{NPM_PACKAGE_NAME}from'../constant/cli.js';function a179_0x33b5(){const _0x4a20c1=['production','7726552IsQImD','tenant_code','1183344sqQfTW','unknown','38VRpChg','9qVVkkB','23084380RFYKga','3806514xujEwJ','3745581iJVRQt','8YDGFFL','email','1968845dqRfGv','13954EkXfQS'];a179_0x33b5=function(){return _0x4a20c1;};return a179_0x33b5();}import{getConfigAppCode}from'../utils/config.js';let cliOtelTraceInitialized=![];export async function ensureCliOtelTraceConfig(){const _0x3282e8=a179_0x72f9,_0x1d8f08=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x510cb7=_0x1d8f08?.['user'];setServiceConfig({'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!==_0x3282e8(0x10a)?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?'daily':_0x3282e8(0x106))}),setUserContext({'id':_0x510cb7?.['id'],'username':_0x510cb7?.['username'],'nickname':_0x510cb7?.['nickname'],'email':_0x510cb7?.[_0x3282e8(0x103)],'tenantCode':_0x510cb7?.['tenant'][_0x3282e8(0x108)],'appCode':getConfigAppCode()}),cliOtelTraceInitialized=!![];}return _0x1d8f08;}
1
+ (function(_0x304019,_0x2e9ae6){const _0x10ebc6=a180_0x2e77,_0x1e609b=_0x304019();while(!![]){try{const _0x1fc86b=-parseInt(_0x10ebc6(0x1e9))/0x1+parseInt(_0x10ebc6(0x1f3))/0x2+parseInt(_0x10ebc6(0x1f8))/0x3+-parseInt(_0x10ebc6(0x1ef))/0x4*(parseInt(_0x10ebc6(0x1f4))/0x5)+parseInt(_0x10ebc6(0x1eb))/0x6+parseInt(_0x10ebc6(0x1ee))/0x7+-parseInt(_0x10ebc6(0x1ea))/0x8;if(_0x1fc86b===_0x2e9ae6)break;else _0x1e609b['push'](_0x1e609b['shift']());}catch(_0x437f66){_0x1e609b['push'](_0x1e609b['shift']());}}}(a180_0x3133,0xac763));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 a180_0x2e77(_0x4225df,_0x4b95dc){_0x4225df=_0x4225df-0x1e9;const _0x3133e0=a180_0x3133();let _0x2e77e0=_0x3133e0[_0x4225df];return _0x2e77e0;}import{NPM_PACKAGE_NAME}from'../constant/cli.js';function a180_0x3133(){const _0x213490=['tenant_code','username','1922028DbpSiC','5eOSsRF','email','user','unknown','2707635brICAR','290508WFREwI','13510760EiLviQ','3792306krMQyy','tenant','daily','5049128ZvkjtW','2124632nCksGV','nickname'];a180_0x3133=function(){return _0x213490;};return a180_0x3133();}import{getConfigAppCode}from'../utils/config.js';let cliOtelTraceInitialized=![];export async function ensureCliOtelTraceConfig(){const _0x4b52eb=a180_0x2e77,_0x285ffd=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x35ef95=_0x285ffd?.[_0x4b52eb(0x1f6)];setServiceConfig({'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!==_0x4b52eb(0x1f7)?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?_0x4b52eb(0x1ed):'production')}),setUserContext({'id':_0x35ef95?.['id'],'username':_0x35ef95?.[_0x4b52eb(0x1f2)],'nickname':_0x35ef95?.[_0x4b52eb(0x1f0)],'email':_0x35ef95?.[_0x4b52eb(0x1f5)],'tenantCode':_0x35ef95?.[_0x4b52eb(0x1ec)][_0x4b52eb(0x1f1)],'appCode':getConfigAppCode()}),cliOtelTraceInitialized=!![];}return _0x285ffd;}
@@ -1 +1 @@
1
- (function(_0x3e3cc6,_0x107774){const _0x4c6c4d=a180_0x1d66,_0x3d5df1=_0x3e3cc6();while(!![]){try{const _0x289a69=parseInt(_0x4c6c4d(0x71))/0x1*(-parseInt(_0x4c6c4d(0x73))/0x2)+parseInt(_0x4c6c4d(0x72))/0x3+parseInt(_0x4c6c4d(0x70))/0x4+-parseInt(_0x4c6c4d(0x69))/0x5+parseInt(_0x4c6c4d(0x6d))/0x6+parseInt(_0x4c6c4d(0x6a))/0x7*(-parseInt(_0x4c6c4d(0x6f))/0x8)+parseInt(_0x4c6c4d(0x6c))/0x9*(parseInt(_0x4c6c4d(0x67))/0xa);if(_0x289a69===_0x107774)break;else _0x3d5df1['push'](_0x3d5df1['shift']());}catch(_0x1adfe7){_0x3d5df1['push'](_0x3d5df1['shift']());}}}(a180_0x4522,0x85a41));import{shutdownTraces}from'@lovrabet/otel-logger';let shutdownPromise=null;function a180_0x1d66(_0x4b3368,_0x785ad5){_0x4b3368=_0x4b3368-0x67;const _0x4522b9=a180_0x4522();let _0x1d663d=_0x4522b9[_0x4b3368];return _0x1d663d;}function a180_0x4522(){const _0x25f45f=['325832ubgpgu','40goCJOD','once','4628625MkDZih','3567221miauno','SIGINT','2519253KeEcVX','2235120MPSWkh','exit','8efGnmr','1012608SnCDxf','1WijkLN','1200891fWWFGm'];a180_0x4522=function(){return _0x25f45f;};return a180_0x4522();}export async function flushOtelNodeIfUsed(){if(shutdownPromise)return shutdownPromise;return shutdownPromise=((async()=>{try{await shutdownTraces();}catch{}})()),shutdownPromise;}export function registerOtelShutdownOnExit(){const _0x5660f9=a180_0x1d66;process[_0x5660f9(0x68)]('beforeExit',()=>{void flushOtelNodeIfUsed();});const _0xc82324=()=>{const _0x3011e3=_0x5660f9;void flushOtelNodeIfUsed()['then'](()=>process[_0x3011e3(0x6e)](0x0));};process[_0x5660f9(0x68)](_0x5660f9(0x6b),_0xc82324),process[_0x5660f9(0x68)]('SIGTERM',_0xc82324);}export async function exitWithOtelShutdown(_0x57ff90){await flushOtelNodeIfUsed(),process['exit'](_0x57ff90);}
1
+ function a181_0x5070(_0x4555a2,_0x453be5){_0x4555a2=_0x4555a2-0x120;const _0x2466b2=a181_0x2466();let _0x5070a2=_0x2466b2[_0x4555a2];return _0x5070a2;}(function(_0x1be9ba,_0x5b7179){const _0x9eee01=a181_0x5070,_0x4dfc75=_0x1be9ba();while(!![]){try{const _0x588d68=parseInt(_0x9eee01(0x124))/0x1*(-parseInt(_0x9eee01(0x12a))/0x2)+parseInt(_0x9eee01(0x12b))/0x3+-parseInt(_0x9eee01(0x129))/0x4*(-parseInt(_0x9eee01(0x123))/0x5)+-parseInt(_0x9eee01(0x127))/0x6+-parseInt(_0x9eee01(0x120))/0x7*(parseInt(_0x9eee01(0x12d))/0x8)+-parseInt(_0x9eee01(0x128))/0x9+-parseInt(_0x9eee01(0x125))/0xa*(-parseInt(_0x9eee01(0x122))/0xb);if(_0x588d68===_0x5b7179)break;else _0x4dfc75['push'](_0x4dfc75['shift']());}catch(_0x3bb401){_0x4dfc75['push'](_0x4dfc75['shift']());}}}(a181_0x2466,0xedede));import{shutdownTraces}from'@lovrabet/otel-logger';function a181_0x2466(){const _0x4edaf7=['4dGByAG','310wGTYdM','once','5035038wEfsPo','9245385IuzmIt','3915068dFkccp','372354vflnwZ','2951892PPPtZu','SIGTERM','200EYRuGA','27811jEYIgi','beforeExit','611138OGGres','5bXVEQW'];a181_0x2466=function(){return _0x4edaf7;};return a181_0x2466();}let shutdownPromise=null;export async function flushOtelNodeIfUsed(){if(shutdownPromise)return shutdownPromise;return shutdownPromise=((async()=>{try{await shutdownTraces();}catch{}})()),shutdownPromise;}export function registerOtelShutdownOnExit(){const _0x3cfd18=a181_0x5070;process[_0x3cfd18(0x126)](_0x3cfd18(0x121),()=>{void flushOtelNodeIfUsed();});const _0x595350=()=>{void flushOtelNodeIfUsed()['then'](()=>process['exit'](0x0));};process['once']('SIGINT',_0x595350),process[_0x3cfd18(0x126)](_0x3cfd18(0x12c),_0x595350);}export async function exitWithOtelShutdown(_0xc5fc43){await flushOtelNodeIfUsed(),process['exit'](_0xc5fc43);}
@@ -1 +1 @@
1
- const a181_0x1c2480=a181_0x56b5;function a181_0x56b5(_0x1bcaf2,_0xf84ec3){_0x1bcaf2=_0x1bcaf2-0x188;const _0x2e13fb=a181_0x2e13();let _0x56b5ea=_0x2e13fb[_0x1bcaf2];return _0x56b5ea;}(function(_0xf9ada2,_0x2244ae){const _0xbd50a2=a181_0x56b5,_0x376a53=_0xf9ada2();while(!![]){try{const _0x381aab=-parseInt(_0xbd50a2(0x18c))/0x1+parseInt(_0xbd50a2(0x18b))/0x2+parseInt(_0xbd50a2(0x195))/0x3*(parseInt(_0xbd50a2(0x194))/0x4)+-parseInt(_0xbd50a2(0x18d))/0x5*(-parseInt(_0xbd50a2(0x191))/0x6)+-parseInt(_0xbd50a2(0x18e))/0x7+parseInt(_0xbd50a2(0x196))/0x8*(parseInt(_0xbd50a2(0x18f))/0x9)+parseInt(_0xbd50a2(0x197))/0xa*(-parseInt(_0xbd50a2(0x192))/0xb);if(_0x381aab===_0x2244ae)break;else _0x376a53['push'](_0x376a53['shift']());}catch(_0x26c19){_0x376a53['push'](_0x376a53['shift']());}}}(a181_0x2e13,0xc6c26));import{sendTraceLog}from'@lovrabet/otel-logger';import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';import{getCliVersion}from'../utils/version.js';const DEFAULT_TRACE_NAME=a181_0x1c2480(0x190);function a181_0x2e13(){const _0x16fda1=['traceparent','16INhZlZ','762897Omfgha','8264UZAbye','10agMxdt','logData','version','traceName','2704916xfKESs','1057784EtrZYD','5XwZjAL','2904104rdorGG','1656zFGxLO','rabetbase-cli','6524484gDCuZC','14964026DxFbrz'];a181_0x2e13=function(){return _0x16fda1;};return a181_0x2e13();}export async function sendCliTraceLog(_0x252e5c){const _0x23fc69=a181_0x1c2480;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x252e5c[_0x23fc69(0x18a)]??DEFAULT_TRACE_NAME,'version':_0x252e5c[_0x23fc69(0x189)]??getCliVersion(),'spanName':_0x252e5c['spanName'],'eventType':'manual','logData':_0x252e5c[_0x23fc69(0x188)],..._0x252e5c[_0x23fc69(0x193)]&&{'traceparent':_0x252e5c[_0x23fc69(0x193)]}});}
1
+ (function(_0x253781,_0x5bd08f){const _0x375e25=a182_0x5830,_0x5d0198=_0x253781();while(!![]){try{const _0xc3821e=-parseInt(_0x375e25(0x105))/0x1+parseInt(_0x375e25(0x109))/0x2*(-parseInt(_0x375e25(0x10c))/0x3)+-parseInt(_0x375e25(0x10b))/0x4*(-parseInt(_0x375e25(0x111))/0x5)+-parseInt(_0x375e25(0x102))/0x6+-parseInt(_0x375e25(0x10a))/0x7*(-parseInt(_0x375e25(0x110))/0x8)+-parseInt(_0x375e25(0x108))/0x9+parseInt(_0x375e25(0x103))/0xa*(parseInt(_0x375e25(0x104))/0xb);if(_0xc3821e===_0x5bd08f)break;else _0x5d0198['push'](_0x5d0198['shift']());}catch(_0x4a6e38){_0x5d0198['push'](_0x5d0198['shift']());}}}(a182_0x4aeb,0x93ac4));import{sendTraceLog}from'@lovrabet/otel-logger';import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';import{getCliVersion}from'../utils/version.js';function a182_0x4aeb(){const _0x2e0415=['19903862lFGRzB','792048bsYPaa','logData','traceName','3648645kHhwvK','586778lsTDbM','49rxtdYj','64pyRHUe','6sUKxSR','traceparent','version','spanName','138824PiZFlH','162455NHpEuP','370020jNxQhj','10qBLOpp'];a182_0x4aeb=function(){return _0x2e0415;};return a182_0x4aeb();}const DEFAULT_TRACE_NAME='rabetbase-cli';function a182_0x5830(_0x5337ca,_0x230647){_0x5337ca=_0x5337ca-0x102;const _0x4aeb1c=a182_0x4aeb();let _0x583082=_0x4aeb1c[_0x5337ca];return _0x583082;}export async function sendCliTraceLog(_0x1b71f6){const _0x37782e=a182_0x5830;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x1b71f6[_0x37782e(0x107)]??DEFAULT_TRACE_NAME,'version':_0x1b71f6[_0x37782e(0x10e)]??getCliVersion(),'spanName':_0x1b71f6[_0x37782e(0x10f)],'eventType':'manual','logData':_0x1b71f6[_0x37782e(0x106)],..._0x1b71f6['traceparent']&&{'traceparent':_0x1b71f6[_0x37782e(0x10d)]}});}
@@ -1 +1 @@
1
- (function(_0xcc861c,_0x25ab6a){const _0x447cd8=a182_0x2303,_0x3a6da7=_0xcc861c();while(!![]){try{const _0x2fa0ca=-parseInt(_0x447cd8(0x10b))/0x1*(parseInt(_0x447cd8(0x109))/0x2)+parseInt(_0x447cd8(0x110))/0x3+parseInt(_0x447cd8(0x10a))/0x4+parseInt(_0x447cd8(0x115))/0x5*(-parseInt(_0x447cd8(0x118))/0x6)+parseInt(_0x447cd8(0x10e))/0x7*(-parseInt(_0x447cd8(0x10d))/0x8)+-parseInt(_0x447cd8(0x113))/0x9*(-parseInt(_0x447cd8(0x114))/0xa)+parseInt(_0x447cd8(0x111))/0xb;if(_0x2fa0ca===_0x25ab6a)break;else _0x3a6da7['push'](_0x3a6da7['shift']());}catch(_0x50952b){_0x3a6da7['push'](_0x3a6da7['shift']());}}}(a182_0x215e,0x26112));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';function a182_0x215e(){const _0x26af97=['12qfYPqj','truncated','redactionKinds','138834RphHVT','999564jreATo','2CVkijU','redactionCount','35704ZBPwvJ','364gVAxUP','join','34983dwOUbH','4276591CceJbx','title','9gwTvyH','844930IJCsMz','519985IdsaxU','originalBytes','sanitize'];a182_0x215e=function(){return _0x26af97;};return a182_0x215e();}export const PLATFORM_ISSUE_TRACE_NAME='platform-issue-log-collect';function a182_0x2303(_0x1da8dc,_0x5015b1){_0x1da8dc=_0x1da8dc-0x109;const _0x215ec0=a182_0x215e();let _0x23035e=_0x215ec0[_0x1da8dc];return _0x23035e;}export const PLATFORM_ISSUE_SPAN_NAME='issue.log.collect';export async function sendPlatformIssueCollectLog(_0x5e8f2d){const _0x119a07=a182_0x2303;await sendCliTraceLog({'traceName':PLATFORM_ISSUE_TRACE_NAME,'spanName':PLATFORM_ISSUE_SPAN_NAME,'logData':{'issue.title':_0x5e8f2d[_0x119a07(0x112)],'issue.description':_0x5e8f2d['description'],..._0x5e8f2d[_0x119a07(0x117)]?{'issue.description_original_bytes':_0x5e8f2d[_0x119a07(0x117)][_0x119a07(0x116)],'issue.description_truncated':_0x5e8f2d[_0x119a07(0x117)][_0x119a07(0x119)],'issue.description_redactions':_0x5e8f2d['sanitize'][_0x119a07(0x10c)],'issue.description_redaction_kinds':_0x5e8f2d[_0x119a07(0x117)][_0x119a07(0x11a)][_0x119a07(0x10f)](',')}:{}}});}
1
+ (function(_0x386121,_0x357158){const _0x207f2d=a183_0x5e12,_0x29d307=_0x386121();while(!![]){try{const _0x326ce8=parseInt(_0x207f2d(0x165))/0x1*(parseInt(_0x207f2d(0x16b))/0x2)+parseInt(_0x207f2d(0x168))/0x3+-parseInt(_0x207f2d(0x163))/0x4+parseInt(_0x207f2d(0x167))/0x5*(-parseInt(_0x207f2d(0x162))/0x6)+parseInt(_0x207f2d(0x169))/0x7*(-parseInt(_0x207f2d(0x16f))/0x8)+parseInt(_0x207f2d(0x161))/0x9*(parseInt(_0x207f2d(0x16e))/0xa)+parseInt(_0x207f2d(0x16d))/0xb;if(_0x326ce8===_0x357158)break;else _0x29d307['push'](_0x29d307['shift']());}catch(_0x199968){_0x29d307['push'](_0x29d307['shift']());}}}(a183_0x408f,0x4b42a));function a183_0x5e12(_0x138e98,_0x436524){_0x138e98=_0x138e98-0x161;const _0x408fe6=a183_0x408f();let _0x5e12ee=_0x408fe6[_0x138e98];return _0x5e12ee;}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='issue.log.collect';function a183_0x408f(){const _0x5aa989=['redactionCount','6127792iWWWFI','2681060DxPRxk','3712amgrhj','join','9jMViDk','1759584qQsdiy','904860yHqVHN','sanitize','2GjUIjo','redactionKinds','10EnqLzu','991689NktkVm','2989YuXdrW','originalBytes','163396sLEkgO'];a183_0x408f=function(){return _0x5aa989;};return a183_0x408f();}export async function sendPlatformIssueCollectLog(_0x4e4072){const _0xe1e409=a183_0x5e12;await sendCliTraceLog({'traceName':PLATFORM_ISSUE_TRACE_NAME,'spanName':PLATFORM_ISSUE_SPAN_NAME,'logData':{'issue.title':_0x4e4072['title'],'issue.description':_0x4e4072['description'],..._0x4e4072['sanitize']?{'issue.description_original_bytes':_0x4e4072[_0xe1e409(0x164)][_0xe1e409(0x16a)],'issue.description_truncated':_0x4e4072[_0xe1e409(0x164)]['truncated'],'issue.description_redactions':_0x4e4072[_0xe1e409(0x164)][_0xe1e409(0x16c)],'issue.description_redaction_kinds':_0x4e4072[_0xe1e409(0x164)][_0xe1e409(0x166)][_0xe1e409(0x170)](',')}:{}}});}
@@ -1 +1 @@
1
- const a184_0x2dcd78=a184_0x480d;(function(_0x4c0f0d,_0x40f6b8){const _0x28d1fc=a184_0x480d,_0x12e770=_0x4c0f0d();while(!![]){try{const _0x1a8a97=parseInt(_0x28d1fc(0xc4))/0x1+-parseInt(_0x28d1fc(0xa9))/0x2*(parseInt(_0x28d1fc(0xb0))/0x3)+-parseInt(_0x28d1fc(0xca))/0x4+parseInt(_0x28d1fc(0xba))/0x5+parseInt(_0x28d1fc(0xc6))/0x6+parseInt(_0x28d1fc(0xd4))/0x7+parseInt(_0x28d1fc(0xb4))/0x8;if(_0x1a8a97===_0x40f6b8)break;else _0x12e770['push'](_0x12e770['shift']());}catch(_0x498f51){_0x12e770['push'](_0x12e770['shift']());}}}(a184_0x236e,0x8f613));function a184_0x480d(_0x3f38b8,_0x27c968){_0x3f38b8=_0x3f38b8-0xa9;const _0x236e45=a184_0x236e();let _0x480d15=_0x236e45[_0x3f38b8];return _0x480d15;}export const CORE_IDE_CONFIGS={'cursor':{'name':a184_0x2dcd78(0xcd),'description':a184_0x2dcd78(0xd9),'folders':[a184_0x2dcd78(0xda),a184_0x2dcd78(0xb9)],'files':[{'type':a184_0x2dcd78(0xbc),'path':'.cursor/skills/rabetbase.md','template':'SKILL.md.tpl'}]},'windsurf':{'name':'Windsurf','description':'Windsurf\x20IDE','folders':[a184_0x2dcd78(0xcb)],'files':[{'type':a184_0x2dcd78(0xbc),'path':a184_0x2dcd78(0xae),'template':a184_0x2dcd78(0xb3)}]},'claude':{'name':'Claude\x20Code','description':'Claude\x20Code','folders':[a184_0x2dcd78(0xbd)],'files':[{'type':'file','path':a184_0x2dcd78(0xd0),'template':a184_0x2dcd78(0xb3)}]},'cline':{'name':a184_0x2dcd78(0xac),'description':a184_0x2dcd78(0xd7),'folders':['.cline'],'files':[{'type':a184_0x2dcd78(0xbc),'path':a184_0x2dcd78(0xb8),'template':a184_0x2dcd78(0xb3)}]},'codex':{'name':a184_0x2dcd78(0xb6),'description':a184_0x2dcd78(0xad),'folders':[a184_0x2dcd78(0xc3)],'files':[{'type':a184_0x2dcd78(0xbc),'path':a184_0x2dcd78(0xd3),'template':'SKILL.md.tpl'}]},'opencode':{'name':a184_0x2dcd78(0xd8),'description':a184_0x2dcd78(0xb7),'folders':[a184_0x2dcd78(0xdf)],'files':[{'type':a184_0x2dcd78(0xbc),'path':a184_0x2dcd78(0xc0),'template':'SKILL.md.tpl'}]},'qoder':{'name':a184_0x2dcd78(0xd2),'description':a184_0x2dcd78(0xd6),'folders':[a184_0x2dcd78(0xbb)],'files':[{'type':a184_0x2dcd78(0xbc),'path':a184_0x2dcd78(0xb5),'template':a184_0x2dcd78(0xb3)},{'type':a184_0x2dcd78(0xbc),'path':a184_0x2dcd78(0xcc),'template':a184_0x2dcd78(0xb3)}]},'codebuddy':{'name':'CodeBuddy','description':a184_0x2dcd78(0xab),'folders':[a184_0x2dcd78(0xb1)],'files':[{'type':a184_0x2dcd78(0xbc),'path':a184_0x2dcd78(0xd5),'template':a184_0x2dcd78(0xb3)}]},'trae':{'name':a184_0x2dcd78(0xc8),'description':a184_0x2dcd78(0xbe),'folders':['.trae'],'files':[{'type':'file','path':a184_0x2dcd78(0xaa),'template':a184_0x2dcd78(0xb3)}]}};export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':'其他\x20(通用模板)','description':a184_0x2dcd78(0xdc),'folders':[a184_0x2dcd78(0xcf)],'files':[{'type':a184_0x2dcd78(0xbc),'path':a184_0x2dcd78(0xaf),'template':a184_0x2dcd78(0xb3)}]},'antigravity':{'name':'Antigravity','description':a184_0x2dcd78(0xc7),'folders':['.agent'],'files':[{'type':a184_0x2dcd78(0xbc),'path':a184_0x2dcd78(0xaf),'template':a184_0x2dcd78(0xb3)}]}};export const CORE_IDE_LIST=[a184_0x2dcd78(0xce),'cline',a184_0x2dcd78(0xdb),a184_0x2dcd78(0xd1),a184_0x2dcd78(0xc2),a184_0x2dcd78(0xc9),a184_0x2dcd78(0xc1),a184_0x2dcd78(0xc5),a184_0x2dcd78(0xbf)];function a184_0x236e(){const _0x5e62a2=['Codex\x20IDE','.windsurf/workflows/rabetbase.md','.agent/skills/lovrabet/SKILL.md','160155sRVJcv','.codebuddy','agent','SKILL.md.tpl','540456SDGokr','.qoder/rules/rabetbase.md','Codex','OpenCode\x20IDE','.cline/skills/lovrabet/SKILL.md','.cursor','5194615SvKbnA','.qoder','file','.claude','Trae\x20IDE','windsurf','.opencode/skills/lovrabet/SKILL.md','qoder','cursor','.codex','152274lsXclj','trae','2896416vwDdid','Antigravity\x20IDE','Trae','opencode','3502520qcOqTZ','.windsurf','.qoder/skills/lovrabet/SKILL.md','Cursor','claude','.agent','.claude/skills/lovrabet/SKILL.md','codex','Qoder','.codex/skills/lovrabet/SKILL.md','5150166ttucJL','.codebuddy/skills/lovrabet/SKILL.md','Qoder\x20IDE','Cline\x20IDE','OpenCode','Cursor\x20IDE','.cursorrules','codebuddy','通用模板\x20-\x20兜底方案','antigravity','cline','.opencode','38SADxwS','.trae/skills/lovrabet/SKILL.md','CodeBuddy\x20IDE','Cline'];a184_0x236e=function(){return _0x5e62a2;};return a184_0x236e();}export const IDE_LIST=[a184_0x2dcd78(0xdd),'claude',a184_0x2dcd78(0xde),a184_0x2dcd78(0xdb),a184_0x2dcd78(0xd1),'cursor','opencode',a184_0x2dcd78(0xc1),a184_0x2dcd78(0xc5),a184_0x2dcd78(0xbf),a184_0x2dcd78(0xb2)];export const ALL_CORE_IDES=[a184_0x2dcd78(0xc2),a184_0x2dcd78(0xbf),a184_0x2dcd78(0xce),'cline','codex',a184_0x2dcd78(0xc9),'qoder',a184_0x2dcd78(0xdb),a184_0x2dcd78(0xc5)];
1
+ const a185_0x31cc3=a185_0x283b;function a185_0x283b(_0x1bb419,_0x321605){_0x1bb419=_0x1bb419-0x1da;const _0x1d0208=a185_0x1d02();let _0x283b3d=_0x1d0208[_0x1bb419];return _0x283b3d;}function a185_0x1d02(){const _0x304674=['claude','.windsurf','qoder','.qoder/skills/lovrabet/SKILL.md','.claude','.cursorrules','codebuddy','.agent','Claude\x20Code','1033404jRjjmO','2YjqMfi','.qoder','.cursor','.codebuddy/skills/lovrabet/SKILL.md','Codex','CodeBuddy','.opencode/skills/lovrabet/SKILL.md','antigravity','cursor','.agent/skills/lovrabet/SKILL.md','.trae/skills/lovrabet/SKILL.md','95890jhAMuh','2104yRzCtA','2607Kfqweh','.cline/skills/lovrabet/SKILL.md','Windsurf','371916xNhlGy','其他\x20(通用模板)','Cline','272291PQLmkO','.codebuddy','Qoder\x20IDE','Windsurf\x20IDE','Cursor\x20IDE','Trae','77495sZCoPk','.trae','.codex','325980VJUtsk','windsurf','SKILL.md.tpl','opencode','Qoder','codex','cline','OpenCode\x20IDE','trae','CodeBuddy\x20IDE','2961CBHXvh','Cursor','file','Cline\x20IDE','Codex\x20IDE','444ksPIsb'];a185_0x1d02=function(){return _0x304674;};return a185_0x1d02();}(function(_0x14efa0,_0x5b3af6){const _0x17be85=a185_0x283b,_0x244857=_0x14efa0();while(!![]){try{const _0x274ec5=-parseInt(_0x17be85(0x1f2))/0x1*(-parseInt(_0x17be85(0x1df))/0x2)+parseInt(_0x17be85(0x1de))/0x3+parseInt(_0x17be85(0x20a))/0x4*(-parseInt(_0x17be85(0x1f8))/0x5)+-parseInt(_0x17be85(0x1ef))/0x6+parseInt(_0x17be85(0x205))/0x7*(-parseInt(_0x17be85(0x1eb))/0x8)+-parseInt(_0x17be85(0x1fb))/0x9+parseInt(_0x17be85(0x1ea))/0xa*(parseInt(_0x17be85(0x1ec))/0xb);if(_0x274ec5===_0x5b3af6)break;else _0x244857['push'](_0x244857['shift']());}catch(_0x4e6cff){_0x244857['push'](_0x244857['shift']());}}}(a185_0x1d02,0xea414));export const CORE_IDE_CONFIGS={'cursor':{'name':a185_0x31cc3(0x206),'description':a185_0x31cc3(0x1f6),'folders':[a185_0x31cc3(0x1da),a185_0x31cc3(0x1e1)],'files':[{'type':a185_0x31cc3(0x207),'path':'.cursor/skills/rabetbase.md','template':'SKILL.md.tpl'}]},'windsurf':{'name':a185_0x31cc3(0x1ee),'description':a185_0x31cc3(0x1f5),'folders':[a185_0x31cc3(0x20c)],'files':[{'type':a185_0x31cc3(0x207),'path':'.windsurf/workflows/rabetbase.md','template':a185_0x31cc3(0x1fd)}]},'claude':{'name':a185_0x31cc3(0x1dd),'description':a185_0x31cc3(0x1dd),'folders':[a185_0x31cc3(0x20f)],'files':[{'type':a185_0x31cc3(0x207),'path':'.claude/skills/lovrabet/SKILL.md','template':a185_0x31cc3(0x1fd)}]},'cline':{'name':a185_0x31cc3(0x1f1),'description':a185_0x31cc3(0x208),'folders':['.cline'],'files':[{'type':a185_0x31cc3(0x207),'path':a185_0x31cc3(0x1ed),'template':'SKILL.md.tpl'}]},'codex':{'name':a185_0x31cc3(0x1e3),'description':a185_0x31cc3(0x209),'folders':[a185_0x31cc3(0x1fa)],'files':[{'type':a185_0x31cc3(0x207),'path':'.codex/skills/lovrabet/SKILL.md','template':a185_0x31cc3(0x1fd)}]},'opencode':{'name':'OpenCode','description':a185_0x31cc3(0x202),'folders':['.opencode'],'files':[{'type':a185_0x31cc3(0x207),'path':a185_0x31cc3(0x1e5),'template':a185_0x31cc3(0x1fd)}]},'qoder':{'name':a185_0x31cc3(0x1ff),'description':a185_0x31cc3(0x1f4),'folders':[a185_0x31cc3(0x1e0)],'files':[{'type':a185_0x31cc3(0x207),'path':'.qoder/rules/rabetbase.md','template':a185_0x31cc3(0x1fd)},{'type':a185_0x31cc3(0x207),'path':a185_0x31cc3(0x20e),'template':'SKILL.md.tpl'}]},'codebuddy':{'name':a185_0x31cc3(0x1e4),'description':a185_0x31cc3(0x204),'folders':[a185_0x31cc3(0x1f3)],'files':[{'type':'file','path':a185_0x31cc3(0x1e2),'template':a185_0x31cc3(0x1fd)}]},'trae':{'name':a185_0x31cc3(0x1f7),'description':'Trae\x20IDE','folders':[a185_0x31cc3(0x1f9)],'files':[{'type':a185_0x31cc3(0x207),'path':a185_0x31cc3(0x1e9),'template':a185_0x31cc3(0x1fd)}]}};export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':a185_0x31cc3(0x1f0),'description':'通用模板\x20-\x20兜底方案','folders':[a185_0x31cc3(0x1dc)],'files':[{'type':a185_0x31cc3(0x207),'path':a185_0x31cc3(0x1e8),'template':a185_0x31cc3(0x1fd)}]},'antigravity':{'name':'Antigravity','description':'Antigravity\x20IDE','folders':[a185_0x31cc3(0x1dc)],'files':[{'type':a185_0x31cc3(0x207),'path':a185_0x31cc3(0x1e8),'template':'SKILL.md.tpl'}]}};export const CORE_IDE_LIST=[a185_0x31cc3(0x20b),'cline','codebuddy',a185_0x31cc3(0x200),a185_0x31cc3(0x1e7),'opencode',a185_0x31cc3(0x20d),a185_0x31cc3(0x203),'windsurf'];export const IDE_LIST=[a185_0x31cc3(0x1e6),'claude',a185_0x31cc3(0x201),'codebuddy',a185_0x31cc3(0x200),'cursor',a185_0x31cc3(0x1fe),a185_0x31cc3(0x20d),a185_0x31cc3(0x203),'windsurf','agent'];export const ALL_CORE_IDES=[a185_0x31cc3(0x1e7),a185_0x31cc3(0x1fc),a185_0x31cc3(0x20b),a185_0x31cc3(0x201),a185_0x31cc3(0x200),'opencode',a185_0x31cc3(0x20d),a185_0x31cc3(0x1db),a185_0x31cc3(0x203)];
@@ -1 +1 @@
1
- function a185_0x406e(){const _0x2ee20d=['20QrSGBw','9961434ofYpck','1233890SCuzOb','1274938iyNoSa','3540800sCOARD','14fAadXs','1719624RGFYlR','5508036INmVjN','970263BaoxYX'];a185_0x406e=function(){return _0x2ee20d;};return a185_0x406e();}function a185_0x29b4(_0xdfd15e,_0x19aee2){_0xdfd15e=_0xdfd15e-0xf5;const _0x406edb=a185_0x406e();let _0x29b4a0=_0x406edb[_0xdfd15e];return _0x29b4a0;}(function(_0x29814b,_0x1d4e07){const _0x232569=a185_0x29b4,_0x223e0d=_0x29814b();while(!![]){try{const _0x13cfb2=-parseInt(_0x232569(0xfd))/0x1+parseInt(_0x232569(0xfc))/0x2+parseInt(_0x232569(0xf9))/0x3*(parseInt(_0x232569(0xfa))/0x4)+-parseInt(_0x232569(0xf5))/0x5+-parseInt(_0x232569(0xf8))/0x6+parseInt(_0x232569(0xf6))/0x7*(parseInt(_0x232569(0xf7))/0x8)+parseInt(_0x232569(0xfb))/0x9;if(_0x13cfb2===_0x1d4e07)break;else _0x223e0d['push'](_0x223e0d['shift']());}catch(_0x599214){_0x223e0d['push'](_0x223e0d['shift']());}}}(a185_0x406e,0xd452e));import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
1
+ (function(_0x3d79a4,_0x14545e){const _0x3bad15=a186_0x10f8,_0x275d48=_0x3d79a4();while(!![]){try{const _0x216e8d=parseInt(_0x3bad15(0x65))/0x1+parseInt(_0x3bad15(0x6b))/0x2+parseInt(_0x3bad15(0x69))/0x3*(parseInt(_0x3bad15(0x67))/0x4)+-parseInt(_0x3bad15(0x6d))/0x5+parseInt(_0x3bad15(0x68))/0x6+-parseInt(_0x3bad15(0x6a))/0x7*(-parseInt(_0x3bad15(0x66))/0x8)+-parseInt(_0x3bad15(0x6c))/0x9;if(_0x216e8d===_0x14545e)break;else _0x275d48['push'](_0x275d48['shift']());}catch(_0x2f7524){_0x275d48['push'](_0x275d48['shift']());}}}(a186_0x52fe,0x47507));function a186_0x10f8(_0x5b47dd,_0x378c57){_0x5b47dd=_0x5b47dd-0x65;const _0x52fef2=a186_0x52fe();let _0x10f8f7=_0x52fef2[_0x5b47dd];return _0x10f8f7;}import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a186_0x52fe(){const _0x2fb96b=['678620XFMRez','1658802MvTWpa','6XEkfWG','15715YemThY','150394LLRPnm','1868931YbvdGS','2834560NVBNQI','216305nmXDMR','568HBqfRa'];a186_0x52fe=function(){return _0x2fb96b;};return a186_0x52fe();}import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
@@ -1 +1 @@
1
- (function(_0x6bf17d,_0x204bea){const _0x223055=a186_0x4d2f,_0x5b0fa2=_0x6bf17d();while(!![]){try{const _0x2e94ca=-parseInt(_0x223055(0xd4))/0x1+parseInt(_0x223055(0xd6))/0x2+-parseInt(_0x223055(0xe0))/0x3+-parseInt(_0x223055(0xdd))/0x4+parseInt(_0x223055(0xdf))/0x5+-parseInt(_0x223055(0xd3))/0x6+parseInt(_0x223055(0xd9))/0x7;if(_0x2e94ca===_0x204bea)break;else _0x5b0fa2['push'](_0x5b0fa2['shift']());}catch(_0xcdbed1){_0x5b0fa2['push'](_0x5b0fa2['shift']());}}}(a186_0x22c9,0x826b9));import{getTemplateBaseUrl}from'../utils/config.js';export async function fetchCdnConfig(){const _0x58de88=a186_0x4d2f,_0x3dfba3=getTemplateBaseUrl(),_0x147013=[_0x3dfba3+_0x58de88(0xda),_0x3dfba3+_0x58de88(0xe1)];for(const _0x539e08 of _0x147013){try{const _0x53c2fe=await fetch(_0x539e08,{'headers':{'Accept':_0x58de88(0xde)}});if(!_0x53c2fe['ok'])continue;const _0x4cb439=await _0x53c2fe[_0x58de88(0xd2)]();if(!_0x4cb439[_0x58de88(0xdb)]?.[_0x58de88(0xd7)]||!_0x4cb439[_0x58de88(0xd8)]?.[_0x58de88(0xd5)]?.['stableVersion'])continue;return _0x4cb439;}catch{}}return null;}function a186_0x22c9(){const _0x23ab42=['2107340ZloFSD','stableVersion','sdk','12302255WEVWnI','/config.json','cli','now','4214488BqOoBq','application/json','1484795vtCdEY','1492077lhyWQI','/config/index.json','json','3876864RFIPSb','376768IqrNlX','node'];a186_0x22c9=function(){return _0x23ab42;};return a186_0x22c9();}function a186_0x4d2f(_0x2720e4,_0xf55f78){_0x2720e4=_0x2720e4-0xd2;const _0x22c927=a186_0x22c9();let _0x4d2f37=_0x22c927[_0x2720e4];return _0x4d2f37;}let cachedConfig=null,cacheTime=0x0;const CACHE_TTL=0x5*0x3c*0x3e8,FAILURE_CACHE_TTL=0x3c*0x3e8;let hasCachedConfig=![];export async function getCdnConfig(){const _0xf7a58=a186_0x4d2f,_0x2ce7e3=Date[_0xf7a58(0xdc)]();if(hasCachedConfig){const _0x2becf6=cachedConfig?CACHE_TTL:FAILURE_CACHE_TTL;if(_0x2ce7e3-cacheTime<_0x2becf6)return cachedConfig;}const _0x104339=await fetchCdnConfig();return cachedConfig=_0x104339,cacheTime=_0x2ce7e3,hasCachedConfig=!![],_0x104339;}export function clearCdnConfigCache(){cachedConfig=null,cacheTime=0x0,hasCachedConfig=![];}
1
+ (function(_0x528513,_0x5502d5){const _0x121353=a187_0x144c,_0x11e623=_0x528513();while(!![]){try{const _0x55074e=-parseInt(_0x121353(0xbd))/0x1*(parseInt(_0x121353(0xbe))/0x2)+-parseInt(_0x121353(0xb5))/0x3+-parseInt(_0x121353(0xc7))/0x4*(parseInt(_0x121353(0xc3))/0x5)+parseInt(_0x121353(0xb8))/0x6+parseInt(_0x121353(0xb9))/0x7*(parseInt(_0x121353(0xbf))/0x8)+parseInt(_0x121353(0xba))/0x9*(parseInt(_0x121353(0xb7))/0xa)+parseInt(_0x121353(0xc2))/0xb*(parseInt(_0x121353(0xbc))/0xc);if(_0x55074e===_0x5502d5)break;else _0x11e623['push'](_0x11e623['shift']());}catch(_0x3dc277){_0x11e623['push'](_0x11e623['shift']());}}}(a187_0x402d,0xd6c86));import{getTemplateBaseUrl}from'../utils/config.js';export async function fetchCdnConfig(){const _0x2caa73=a187_0x144c,_0x4f38be=getTemplateBaseUrl(),_0x404b72=[_0x4f38be+_0x2caa73(0xb6),_0x4f38be+_0x2caa73(0xc8)];for(const _0xcc05c3 of _0x404b72){try{const _0x2b64db=await fetch(_0xcc05c3,{'headers':{'Accept':'application/json'}});if(!_0x2b64db['ok'])continue;const _0xde8844=await _0x2b64db[_0x2caa73(0xc0)]();if(!_0xde8844[_0x2caa73(0xc4)]?.[_0x2caa73(0xc5)]||!_0xde8844[_0x2caa73(0xbb)]?.[_0x2caa73(0xc6)]?.[_0x2caa73(0xc5)])continue;return _0xde8844;}catch{}}return null;}let cachedConfig=null,cacheTime=0x0;function a187_0x402d(){const _0x401941=['4103556WyvFnb','1kyGKyp','1975628TDnhau','6640736qMYhsn','json','now','11prGMmu','5zgjrbZ','cli','stableVersion','node','4055804kIKVJK','/config/index.json','3342942Skorom','/config.json','1704130lnrEZf','9917136RyZAkc','14fyPpFb','18NqFLHv','sdk'];a187_0x402d=function(){return _0x401941;};return a187_0x402d();}const CACHE_TTL=0x5*0x3c*0x3e8,FAILURE_CACHE_TTL=0x3c*0x3e8;let hasCachedConfig=![];export async function getCdnConfig(){const _0x2d2a99=a187_0x144c,_0x3bd023=Date[_0x2d2a99(0xc1)]();if(hasCachedConfig){const _0x407940=cachedConfig?CACHE_TTL:FAILURE_CACHE_TTL;if(_0x3bd023-cacheTime<_0x407940)return cachedConfig;}const _0x26fbef=await fetchCdnConfig();return cachedConfig=_0x26fbef,cacheTime=_0x3bd023,hasCachedConfig=!![],_0x26fbef;}function a187_0x144c(_0x224883,_0x428c51){_0x224883=_0x224883-0xb5;const _0x402d5b=a187_0x402d();let _0x144c2d=_0x402d5b[_0x224883];return _0x144c2d;}export function clearCdnConfigCache(){cachedConfig=null,cacheTime=0x0,hasCachedConfig=![];}
@@ -1 +1 @@
1
- (function(_0x4df015,_0x5e5ab0){const _0x2bb9a6=a187_0x9f35,_0x16a907=_0x4df015();while(!![]){try{const _0x20e1d9=parseInt(_0x2bb9a6(0x1ca))/0x1+parseInt(_0x2bb9a6(0x1c6))/0x2*(-parseInt(_0x2bb9a6(0x1b7))/0x3)+-parseInt(_0x2bb9a6(0x1b5))/0x4*(-parseInt(_0x2bb9a6(0x1b8))/0x5)+parseInt(_0x2bb9a6(0x1be))/0x6+-parseInt(_0x2bb9a6(0x1af))/0x7*(parseInt(_0x2bb9a6(0x1c3))/0x8)+parseInt(_0x2bb9a6(0x1ac))/0x9+-parseInt(_0x2bb9a6(0x1c1))/0xa;if(_0x20e1d9===_0x5e5ab0)break;else _0x16a907['push'](_0x16a907['shift']());}catch(_0x5d210a){_0x16a907['push'](_0x16a907['shift']());}}}(a187_0x55ec,0x3cd7e));import a187_0x12fd5 from'node:fs';import a187_0x25b4b1 from'node:path';import a187_0x5a509e from'semver';function a187_0x9f35(_0x2a07c8,_0x35b3a4){_0x2a07c8=_0x2a07c8-0x1ac;const _0x55ec1d=a187_0x55ec();let _0x9f35dd=_0x55ec1d[_0x2a07c8];return _0x9f35dd;}import{getCdnConfig}from'../utils/cdn-config.js';function a187_0x55ec(){const _0x20641d=['package.json','4016448vRxtFE','all','\x1b[33m','126CLyuTq','@lovrabet/sdk','latest','dependencies','node_modules','\x20\x20\x20Upgrade\x20command:\x20','181564DcrShV','readFileSync','1407993SZyxpW','35uwXdVp','existsSync','parse','minVersion','devDependencies','log','2593788UEjneh','join','\x1b[1m','2685560qkrzfp','node','149632XgxGEd','version','stableVersion','2ZLsyjc','utf8','packageName','\x1b[0m','127466pdFLgI','utf-8','npm\x20install\x20','coerce'];a187_0x55ec=function(){return _0x20641d;};return a187_0x55ec();}const FALLBACK_MIN_SDK_VERSION='1.2.0';function isNonNumericVersion(_0x275a93){const _0x45fbe6=[/^latest$/i,/^beta$/i,/^alpha$/i,/^canary$/i,/^\*$/,/^x$/];return _0x45fbe6['some'](_0xe82c8=>_0xe82c8['test'](_0x275a93));}function getInstalledVersion(_0x54aa5a,_0x5ed58){const _0x501510=a187_0x9f35;try{const _0x5e2713=a187_0x25b4b1['join'](_0x54aa5a,_0x501510(0x1b3),_0x5ed58,'package.json');if(a187_0x12fd5[_0x501510(0x1b9)](_0x5e2713)){const _0x4d2ec9=JSON[_0x501510(0x1ba)](a187_0x12fd5[_0x501510(0x1b6)](_0x5e2713,_0x501510(0x1cb)));return _0x4d2ec9[_0x501510(0x1c4)]||null;}}catch{}return null;}async function getSdkStableVersion(){const _0x5691ed=a187_0x9f35;try{const _0x410fe7=await getCdnConfig();return _0x410fe7?.['sdk']?.[_0x5691ed(0x1c2)]?.[_0x5691ed(0x1c5)]||null;}catch{return null;}}async function getSdkPackageName(){const _0x180a94=a187_0x9f35;try{const _0x10d71a=await getCdnConfig();return _0x10d71a?.['sdk']?.['node']?.[_0x180a94(0x1c8)]||_0x180a94(0x1b0);}catch{return _0x180a94(0x1b0);}}export async function checkSdkVersion(_0x1c42e8){const _0x4aa21f=a187_0x9f35,_0x14ac42=a187_0x25b4b1[_0x4aa21f(0x1bf)](_0x1c42e8,_0x4aa21f(0x1ce)),[_0x2eed40,_0x111b5d]=await Promise[_0x4aa21f(0x1ad)]([getSdkStableVersion(),getSdkPackageName()]),_0x2ce2e7=_0x2eed40||FALLBACK_MIN_SDK_VERSION;if(!a187_0x12fd5[_0x4aa21f(0x1b9)](_0x14ac42))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x2ce2e7,'packageName':_0x111b5d,'stableVersion':_0x2eed40};try{const _0x31aea0=JSON[_0x4aa21f(0x1ba)](a187_0x12fd5[_0x4aa21f(0x1b6)](_0x14ac42,_0x4aa21f(0x1c7))),_0x344d04=_0x31aea0[_0x4aa21f(0x1b2)]||{},_0x57e953=_0x31aea0[_0x4aa21f(0x1bc)]||{},_0x389125=_0x344d04[_0x111b5d]||_0x57e953[_0x111b5d];if(!_0x389125)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x2ce2e7,'packageName':_0x111b5d,'stableVersion':_0x2eed40};let _0x2c1ce2=getInstalledVersion(_0x1c42e8,_0x111b5d);!_0x2c1ce2&&(_0x2c1ce2=_0x389125);if(isNonNumericVersion(_0x389125))return{'installed':!![],'version':_0x2c1ce2,'needsUpgrade':![],'minVersion':_0x2ce2e7,'packageName':_0x111b5d,'stableVersion':_0x2eed40};const _0x4c2c46=a187_0x5a509e[_0x4aa21f(0x1cd)](_0x2c1ce2),_0x12a2b7=a187_0x5a509e[_0x4aa21f(0x1cd)](_0x2ce2e7),_0x2ee9fb=_0x4c2c46&&_0x12a2b7?a187_0x5a509e['lt'](_0x4c2c46,_0x12a2b7):![];return{'installed':!![],'version':_0x2c1ce2,'needsUpgrade':_0x2ee9fb,'minVersion':_0x2ce2e7,'packageName':_0x111b5d,'stableVersion':_0x2eed40};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x2ce2e7,'packageName':_0x111b5d,'stableVersion':_0x2eed40};}}export function checkSdkVersionSync(_0x376ca8){const _0x35d7e1=a187_0x9f35,_0x2d01da=a187_0x25b4b1[_0x35d7e1(0x1bf)](_0x376ca8,'package.json'),_0x9f748a=_0x35d7e1(0x1b0);if(!a187_0x12fd5['existsSync'](_0x2d01da))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x9f748a,'stableVersion':null};try{const _0x28e576=JSON[_0x35d7e1(0x1ba)](a187_0x12fd5[_0x35d7e1(0x1b6)](_0x2d01da,_0x35d7e1(0x1c7))),_0x3d16be=_0x28e576['dependencies']||{},_0x3c11f2=_0x28e576['devDependencies']||{},_0x44637f=_0x3d16be[_0x9f748a]||_0x3c11f2[_0x9f748a];if(!_0x44637f)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x9f748a,'stableVersion':null};let _0x1c1d5c=getInstalledVersion(_0x376ca8,_0x9f748a);!_0x1c1d5c&&(_0x1c1d5c=_0x44637f);if(isNonNumericVersion(_0x44637f))return{'installed':!![],'version':_0x1c1d5c,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x9f748a,'stableVersion':null};const _0x1fd0bf=a187_0x5a509e[_0x35d7e1(0x1cd)](_0x1c1d5c),_0x144e07=_0x1fd0bf?a187_0x5a509e['lt'](_0x1fd0bf,FALLBACK_MIN_SDK_VERSION):![];return{'installed':!![],'version':_0x1c1d5c,'needsUpgrade':_0x144e07,'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x9f748a,'stableVersion':null};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x9f748a,'stableVersion':null};}}export function printSdkUpgradeWarning(_0x8b5080){const _0x3e9b4b=a187_0x9f35;if(!_0x8b5080['needsUpgrade'])return;const _0x44945d=_0x3e9b4b(0x1ae),_0x1c8314=_0x3e9b4b(0x1c9),_0x2b04e3=_0x3e9b4b(0x1c0),_0x5350ea=_0x8b5080['packageName']||_0x3e9b4b(0x1b0),_0xf5f0=_0x8b5080['stableVersion']||_0x8b5080[_0x3e9b4b(0x1bb)],_0x21b8f2=_0x3e9b4b(0x1cc)+_0x5350ea+'@'+(_0xf5f0||_0x3e9b4b(0x1b1));console['log'](),console[_0x3e9b4b(0x1bd)](''+_0x44945d+_0x2b04e3+'↪\x20SDK\x20update\x20available'+_0x1c8314),console[_0x3e9b4b(0x1bd)](_0x44945d+'\x20\x20\x20Current\x20version:\x20'+_0x5350ea+'@'+_0x8b5080[_0x3e9b4b(0x1c4)]+_0x1c8314),console[_0x3e9b4b(0x1bd)](_0x44945d+'\x20\x20\x20Stable\x20version:\x20'+_0xf5f0+_0x1c8314),console[_0x3e9b4b(0x1bd)](_0x44945d+_0x3e9b4b(0x1b4)+_0x21b8f2+_0x1c8314),console[_0x3e9b4b(0x1bd)]();}
1
+ const a188_0x10a2ed=a188_0x2804;(function(_0x106f4e,_0x49009b){const _0x5e8689=a188_0x2804,_0xd95524=_0x106f4e();while(!![]){try{const _0x56702c=-parseInt(_0x5e8689(0xc5))/0x1*(parseInt(_0x5e8689(0xbd))/0x2)+-parseInt(_0x5e8689(0xa6))/0x3+parseInt(_0x5e8689(0xaf))/0x4+parseInt(_0x5e8689(0xb3))/0x5*(parseInt(_0x5e8689(0xb7))/0x6)+parseInt(_0x5e8689(0xc1))/0x7*(parseInt(_0x5e8689(0xc0))/0x8)+-parseInt(_0x5e8689(0xbb))/0x9+-parseInt(_0x5e8689(0xad))/0xa;if(_0x56702c===_0x49009b)break;else _0xd95524['push'](_0xd95524['shift']());}catch(_0x3a096b){_0xd95524['push'](_0xd95524['shift']());}}}(a188_0x4ef4,0x9265a));import a188_0x22d023 from'node:fs';import a188_0xf11ac3 from'node:path';import a188_0x23c995 from'semver';import{getCdnConfig}from'../utils/cdn-config.js';const FALLBACK_MIN_SDK_VERSION=a188_0x10a2ed(0xa5);function a188_0x4ef4(){const _0x413074=['dependencies','6JMuklr','version','devDependencies','parse','1337463FoMjra','sdk','324446dNgoDZ','npm\x20install\x20','@lovrabet/sdk','4624712mMsahb','7kilpUI','test','readFileSync','stableVersion','1OPWCKe','log','existsSync','1.2.0','1022028bdBiIU','↪\x20SDK\x20update\x20available','coerce','\x1b[1m','node_modules','packageName','\x1b[33m','2329260JWrgcq','package.json','1470248MHEEZK','\x20\x20\x20Current\x20version:\x20','\x20\x20\x20Stable\x20version:\x20','utf8','2692115nOhPXu','node','join'];a188_0x4ef4=function(){return _0x413074;};return a188_0x4ef4();}function isNonNumericVersion(_0x399fbd){const _0x3479e4=a188_0x10a2ed,_0xbf75ba=[/^latest$/i,/^beta$/i,/^alpha$/i,/^canary$/i,/^\*$/,/^x$/];return _0xbf75ba['some'](_0x46c51a=>_0x46c51a[_0x3479e4(0xc2)](_0x399fbd));}function getInstalledVersion(_0x187db6,_0x531ed5){const _0x630ddd=a188_0x10a2ed;try{const _0x3fc81c=a188_0xf11ac3[_0x630ddd(0xb5)](_0x187db6,_0x630ddd(0xaa),_0x531ed5,'package.json');if(a188_0x22d023[_0x630ddd(0xc7)](_0x3fc81c)){const _0x3e7c76=JSON[_0x630ddd(0xba)](a188_0x22d023['readFileSync'](_0x3fc81c,'utf-8'));return _0x3e7c76[_0x630ddd(0xb8)]||null;}}catch{}return null;}async function getSdkStableVersion(){const _0x4d9ac6=a188_0x10a2ed;try{const _0x2a29d5=await getCdnConfig();return _0x2a29d5?.[_0x4d9ac6(0xbc)]?.[_0x4d9ac6(0xb4)]?.['stableVersion']||null;}catch{return null;}}async function getSdkPackageName(){const _0x5983fe=a188_0x10a2ed;try{const _0x226a48=await getCdnConfig();return _0x226a48?.[_0x5983fe(0xbc)]?.[_0x5983fe(0xb4)]?.[_0x5983fe(0xab)]||'@lovrabet/sdk';}catch{return _0x5983fe(0xbf);}}export async function checkSdkVersion(_0x8e6511){const _0x3cc9bb=a188_0x10a2ed,_0xa103d3=a188_0xf11ac3[_0x3cc9bb(0xb5)](_0x8e6511,_0x3cc9bb(0xae)),[_0xddcfb,_0x1fd093]=await Promise['all']([getSdkStableVersion(),getSdkPackageName()]),_0x2bc317=_0xddcfb||FALLBACK_MIN_SDK_VERSION;if(!a188_0x22d023['existsSync'](_0xa103d3))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x2bc317,'packageName':_0x1fd093,'stableVersion':_0xddcfb};try{const _0x456614=JSON[_0x3cc9bb(0xba)](a188_0x22d023['readFileSync'](_0xa103d3,_0x3cc9bb(0xb2))),_0x3eebf9=_0x456614[_0x3cc9bb(0xb6)]||{},_0x5f441c=_0x456614[_0x3cc9bb(0xb9)]||{},_0x5075ea=_0x3eebf9[_0x1fd093]||_0x5f441c[_0x1fd093];if(!_0x5075ea)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x2bc317,'packageName':_0x1fd093,'stableVersion':_0xddcfb};let _0x44631e=getInstalledVersion(_0x8e6511,_0x1fd093);!_0x44631e&&(_0x44631e=_0x5075ea);if(isNonNumericVersion(_0x5075ea))return{'installed':!![],'version':_0x44631e,'needsUpgrade':![],'minVersion':_0x2bc317,'packageName':_0x1fd093,'stableVersion':_0xddcfb};const _0x3d2bb5=a188_0x23c995[_0x3cc9bb(0xa8)](_0x44631e),_0x30f2d9=a188_0x23c995[_0x3cc9bb(0xa8)](_0x2bc317),_0x507948=_0x3d2bb5&&_0x30f2d9?a188_0x23c995['lt'](_0x3d2bb5,_0x30f2d9):![];return{'installed':!![],'version':_0x44631e,'needsUpgrade':_0x507948,'minVersion':_0x2bc317,'packageName':_0x1fd093,'stableVersion':_0xddcfb};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x2bc317,'packageName':_0x1fd093,'stableVersion':_0xddcfb};}}export function checkSdkVersionSync(_0x3bfd51){const _0xd0edcf=a188_0x10a2ed,_0x1475db=a188_0xf11ac3['join'](_0x3bfd51,_0xd0edcf(0xae)),_0x1f939f='@lovrabet/sdk';if(!a188_0x22d023[_0xd0edcf(0xc7)](_0x1475db))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x1f939f,'stableVersion':null};try{const _0x7004a=JSON[_0xd0edcf(0xba)](a188_0x22d023[_0xd0edcf(0xc3)](_0x1475db,'utf8')),_0x457466=_0x7004a[_0xd0edcf(0xb6)]||{},_0x51e49e=_0x7004a[_0xd0edcf(0xb9)]||{},_0x1e8130=_0x457466[_0x1f939f]||_0x51e49e[_0x1f939f];if(!_0x1e8130)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x1f939f,'stableVersion':null};let _0xa4c220=getInstalledVersion(_0x3bfd51,_0x1f939f);!_0xa4c220&&(_0xa4c220=_0x1e8130);if(isNonNumericVersion(_0x1e8130))return{'installed':!![],'version':_0xa4c220,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x1f939f,'stableVersion':null};const _0x286493=a188_0x23c995[_0xd0edcf(0xa8)](_0xa4c220),_0x56def2=_0x286493?a188_0x23c995['lt'](_0x286493,FALLBACK_MIN_SDK_VERSION):![];return{'installed':!![],'version':_0xa4c220,'needsUpgrade':_0x56def2,'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x1f939f,'stableVersion':null};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x1f939f,'stableVersion':null};}}function a188_0x2804(_0x580b30,_0x42bf06){_0x580b30=_0x580b30-0xa5;const _0x4ef40f=a188_0x4ef4();let _0x280486=_0x4ef40f[_0x580b30];return _0x280486;}export function printSdkUpgradeWarning(_0x5a2ccb){const _0x400a30=a188_0x10a2ed;if(!_0x5a2ccb['needsUpgrade'])return;const _0x1feaad=_0x400a30(0xac),_0x458b4f='\x1b[0m',_0x2ff612=_0x400a30(0xa9),_0x26de97=_0x5a2ccb[_0x400a30(0xab)]||_0x400a30(0xbf),_0x7cf881=_0x5a2ccb[_0x400a30(0xc4)]||_0x5a2ccb['minVersion'],_0x2f776f=_0x400a30(0xbe)+_0x26de97+'@'+(_0x7cf881||'latest');console[_0x400a30(0xc6)](),console[_0x400a30(0xc6)](''+_0x1feaad+_0x2ff612+_0x400a30(0xa7)+_0x458b4f),console['log'](_0x1feaad+_0x400a30(0xb0)+_0x26de97+'@'+_0x5a2ccb['version']+_0x458b4f),console[_0x400a30(0xc6)](_0x1feaad+_0x400a30(0xb1)+_0x7cf881+_0x458b4f),console['log'](_0x1feaad+'\x20\x20\x20Upgrade\x20command:\x20'+_0x2f776f+_0x458b4f),console[_0x400a30(0xc6)]();}
@@ -1 +1 @@
1
- (function(_0x17b7f5,_0x2c5a43){const _0x2ff023=a188_0x1110,_0x182a3d=_0x17b7f5();while(!![]){try{const _0x576e2c=parseInt(_0x2ff023(0x18a))/0x1*(-parseInt(_0x2ff023(0x180))/0x2)+parseInt(_0x2ff023(0x179))/0x3+-parseInt(_0x2ff023(0x174))/0x4*(parseInt(_0x2ff023(0x181))/0x5)+parseInt(_0x2ff023(0x193))/0x6*(parseInt(_0x2ff023(0x171))/0x7)+parseInt(_0x2ff023(0x185))/0x8*(-parseInt(_0x2ff023(0x190))/0x9)+-parseInt(_0x2ff023(0x189))/0xa+-parseInt(_0x2ff023(0x177))/0xb*(-parseInt(_0x2ff023(0x184))/0xc);if(_0x576e2c===_0x2c5a43)break;else _0x182a3d['push'](_0x182a3d['shift']());}catch(_0x54735e){_0x182a3d['push'](_0x182a3d['shift']());}}}(a188_0x585a,0xa7256));function a188_0x585a(){const _0x1ad0a5=['1097002cxSTOy','6183590QogSCa','\x20\x20\x20','upgradeMessage','12pYKEwU','157336DAoeSG','\x1b[0m','coerce','\x1b[33m','5925620GHslIS','1ZNWeiu','log','\x20\x20\x20Recommended\x20stable:\x20','\x20\x20\x20Minimum\x20required:\x20','../..','↪\x20New\x20version\x20available','9lleyiM','minimumVersion','npm\x20install\x20-g\x20','222GTLvVx','↪\x20Critical\x20CLI\x20upgrade\x20required','minimumVersionMessage','validation','stableVersion','58982epPlYD','package.json','Current\x20CLI\x20version\x20is\x20below\x20the\x20minimum\x20supported\x20version.','4fiWeTe','1.0.0','\x20\x20\x20Upgrade\x20command:\x20','15729263rUImlr','currentVersion','4021149hWLTht','belowMinimum','Minimum\x20required:\x20','join','utf-8','Upgrade\x20command:\x20','\x1b[31m'];a188_0x585a=function(){return _0x1ad0a5;};return a188_0x585a();}function a188_0x1110(_0x4c8a1f,_0x24e8e4){_0x4c8a1f=_0x4c8a1f-0x16d;const _0x585a80=a188_0x585a();let _0x111050=_0x585a80[_0x4c8a1f];return _0x111050;}import{readFileSync}from'node:fs';import{resolve,dirname}from'node:path';import{fileURLToPath}from'node:url';import a188_0x1b4d57 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(_0x4c8b2a){const _0x460780=a188_0x1110,_0xcfb595=_0x4c8b2a['stableVersion']||'latest';return _0x460780(0x192)+NPM_PACKAGE_NAME+'@'+_0xcfb595;}function getCurrentCliVersion(){const _0x23d649=a188_0x1110;try{const _0x4bc9e6=fileURLToPath(import.meta.url),_0x506397=resolve(dirname(_0x4bc9e6),_0x23d649(0x18e)),_0x434c10=resolve(_0x506397,_0x23d649(0x172)),_0x183646=JSON['parse'](readFileSync(_0x434c10,_0x23d649(0x17d)));return _0x183646['version']||_0x23d649(0x175);}catch{return _0x23d649(0x175);}}export async function checkCliVersion(){const _0x4461f0=a188_0x1110,_0x5b3a75=getCurrentCliVersion(),_0x16025d=await getCliVersionPolicy(),_0x584c8b=_0x16025d?.[_0x4461f0(0x170)]||null,_0x21a0b0=_0x16025d?.[_0x4461f0(0x191)]||null;let _0x35de93=![],_0x44a7ee=![];const _0x3d9814=a188_0x1b4d57[_0x4461f0(0x187)](_0x5b3a75);if(_0x3d9814&&_0x584c8b)try{const _0x55e6da=a188_0x1b4d57[_0x4461f0(0x187)](_0x584c8b);if(_0x55e6da)_0x35de93=a188_0x1b4d57['lt'](_0x3d9814,_0x55e6da);}catch{}if(_0x3d9814&&_0x21a0b0)try{const _0x3ac314=a188_0x1b4d57[_0x4461f0(0x187)](_0x21a0b0);if(_0x3ac314)_0x44a7ee=a188_0x1b4d57['lt'](_0x3d9814,_0x3ac314);}catch{}return _0x44a7ee&&(_0x35de93=!![]),{'currentVersion':_0x5b3a75,'stableVersion':_0x584c8b,'minimumVersion':_0x21a0b0,'needsUpgrade':_0x35de93,'belowMinimum':_0x44a7ee,'isPreRelease':![],'upgradeMessage':_0x16025d?.[_0x4461f0(0x183)],'minimumVersionMessage':_0x16025d?.[_0x4461f0(0x16e)]};}export function printCliUpgradeWarning(_0x12b25f){const _0x1a307c=a188_0x1110;if(!_0x12b25f['needsUpgrade']&&!_0x12b25f[_0x1a307c(0x17a)])return;const _0x7bbcc3=_0x1a307c(0x17f),_0x33dfb5=_0x1a307c(0x188),_0x58c853=_0x1a307c(0x186),_0x1836cd='\x1b[1m',_0x15d3ec=getCliUpgradeCommand(_0x12b25f);console[_0x1a307c(0x18b)](),_0x12b25f[_0x1a307c(0x17a)]?(console['log'](''+_0x7bbcc3+_0x1836cd+_0x1a307c(0x16d)+_0x58c853),console[_0x1a307c(0x18b)](_0x7bbcc3+'\x20\x20\x20Current\x20CLI\x20version:\x20'+_0x12b25f['currentVersion']+_0x58c853),_0x12b25f[_0x1a307c(0x191)]&&console[_0x1a307c(0x18b)](_0x7bbcc3+_0x1a307c(0x18d)+_0x12b25f['minimumVersion']+_0x58c853),_0x12b25f[_0x1a307c(0x170)]&&_0x12b25f[_0x1a307c(0x170)]!==_0x12b25f['minimumVersion']&&console['log'](_0x7bbcc3+_0x1a307c(0x18c)+_0x12b25f[_0x1a307c(0x170)]+_0x58c853),_0x12b25f[_0x1a307c(0x16e)]&&console['log'](_0x7bbcc3+_0x1a307c(0x182)+_0x12b25f[_0x1a307c(0x16e)]+_0x58c853),console['log'](_0x7bbcc3+'\x20\x20\x20Upgrade\x20command:\x20'+_0x15d3ec+_0x58c853)):(console[_0x1a307c(0x18b)](''+_0x33dfb5+_0x1836cd+_0x1a307c(0x18f)+_0x58c853),console[_0x1a307c(0x18b)](_0x33dfb5+'\x20\x20\x20Current\x20CLI\x20version:\x20'+_0x12b25f[_0x1a307c(0x178)]+_0x58c853),console[_0x1a307c(0x18b)](_0x33dfb5+'\x20\x20\x20Stable\x20version:\x20'+_0x12b25f[_0x1a307c(0x170)]+_0x58c853),_0x12b25f[_0x1a307c(0x183)]&&console[_0x1a307c(0x18b)](_0x33dfb5+'\x20\x20\x20'+_0x12b25f[_0x1a307c(0x183)]+_0x58c853),console[_0x1a307c(0x18b)](_0x33dfb5+_0x1a307c(0x176)+_0x15d3ec+_0x58c853)),console[_0x1a307c(0x18b)]();}export function assertCliVersionSupported(_0x2ce99b){const _0xf99261=a188_0x1110;if(!_0x2ce99b[_0xf99261(0x17a)])return;const _0x4146c7=[_0x2ce99b[_0xf99261(0x16e)],'Current\x20version:\x20'+_0x2ce99b[_0xf99261(0x178)],_0x2ce99b[_0xf99261(0x191)]?_0xf99261(0x17b)+_0x2ce99b[_0xf99261(0x191)]:null,_0xf99261(0x17e)+getCliUpgradeCommand(_0x2ce99b)]['filter'](Boolean)[_0xf99261(0x17c)]('\x0a');throw CliErrors[_0xf99261(0x16f)](_0xf99261(0x173),_0x4146c7);}
1
+ (function(_0x401190,_0x521432){const _0x4d66dd=a189_0x4904,_0x3b4774=_0x401190();while(!![]){try{const _0x4de74a=-parseInt(_0x4d66dd(0xff))/0x1*(-parseInt(_0x4d66dd(0x113))/0x2)+-parseInt(_0x4d66dd(0x10a))/0x3*(-parseInt(_0x4d66dd(0xf0))/0x4)+-parseInt(_0x4d66dd(0x114))/0x5*(-parseInt(_0x4d66dd(0xf1))/0x6)+parseInt(_0x4d66dd(0xf7))/0x7+parseInt(_0x4d66dd(0x106))/0x8*(-parseInt(_0x4d66dd(0xed))/0x9)+parseInt(_0x4d66dd(0x103))/0xa+-parseInt(_0x4d66dd(0xe8))/0xb;if(_0x4de74a===_0x521432)break;else _0x3b4774['push'](_0x3b4774['shift']());}catch(_0x318d7b){_0x3b4774['push'](_0x3b4774['shift']());}}}(a189_0x1f92,0x5ec99));function a189_0x4904(_0x2098a0,_0x461c73){_0x2098a0=_0x2098a0-0xe8;const _0x1f92ea=a189_0x1f92();let _0x4904b6=_0x1f92ea[_0x2098a0];return _0x4904b6;}import{readFileSync}from'node:fs';import{resolve,dirname}from'node:path';import{fileURLToPath}from'node:url';import a189_0x40ccae from'semver';function a189_0x1f92(){const _0x4046d6=['package.json','version','\x20\x20\x20Current\x20CLI\x20version:\x20','upgradeMessage','1ATuuFM','filter','\x20\x20\x20Minimum\x20required:\x20','parse','4052690CdWpZW','↪\x20Critical\x20CLI\x20upgrade\x20required','minimumVersion','14216nmPUZa','needsUpgrade','currentVersion','join','558456ojdJmJ','\x1b[33m','coerce','↪\x20New\x20version\x20available','\x20\x20\x20Stable\x20version:\x20','\x1b[0m','../..','\x20\x20\x20Recommended\x20stable:\x20','belowMinimum','1164658wXcAbZ','775eAjwRZ','27105606VzPVNz','\x1b[1m','latest','log','Minimum\x20required:\x20','27stoCnx','npm\x20install\x20-g\x20','minimumVersionMessage','12VDTArn','22782EOaUcz','Current\x20CLI\x20version\x20is\x20below\x20the\x20minimum\x20supported\x20version.','\x20\x20\x20Upgrade\x20command:\x20','1.0.0','\x1b[31m','validation','5061959VzZWMt','Upgrade\x20command:\x20','\x20\x20\x20','stableVersion'];a189_0x1f92=function(){return _0x4046d6;};return a189_0x1f92();}import{getCliVersionPolicy}from'../utils/cli-version-policy.js';import{NPM_PACKAGE_NAME}from'../constant/cli.js';import{CliErrors}from'../errors.js';export function getCliUpgradeCommand(_0x39dc2b){const _0x50a727=a189_0x4904,_0x43bbd1=_0x39dc2b[_0x50a727(0xfa)]||_0x50a727(0xea);return _0x50a727(0xee)+NPM_PACKAGE_NAME+'@'+_0x43bbd1;}function getCurrentCliVersion(){const _0x2f5866=a189_0x4904;try{const _0x4d7d9d=fileURLToPath(import.meta.url),_0x239f50=resolve(dirname(_0x4d7d9d),_0x2f5866(0x110)),_0x2d9959=resolve(_0x239f50,_0x2f5866(0xfb)),_0x45dee4=JSON[_0x2f5866(0x102)](readFileSync(_0x2d9959,'utf-8'));return _0x45dee4[_0x2f5866(0xfc)]||_0x2f5866(0xf4);}catch{return _0x2f5866(0xf4);}}export async function checkCliVersion(){const _0x564332=a189_0x4904,_0x36b08e=getCurrentCliVersion(),_0x5c7e06=await getCliVersionPolicy(),_0x7f2a19=_0x5c7e06?.['stableVersion']||null,_0x1db926=_0x5c7e06?.[_0x564332(0x105)]||null;let _0x5957a7=![],_0xc3c180=![];const _0x3de502=a189_0x40ccae['coerce'](_0x36b08e);if(_0x3de502&&_0x7f2a19)try{const _0x7686e3=a189_0x40ccae[_0x564332(0x10c)](_0x7f2a19);if(_0x7686e3)_0x5957a7=a189_0x40ccae['lt'](_0x3de502,_0x7686e3);}catch{}if(_0x3de502&&_0x1db926)try{const _0x257b42=a189_0x40ccae[_0x564332(0x10c)](_0x1db926);if(_0x257b42)_0xc3c180=a189_0x40ccae['lt'](_0x3de502,_0x257b42);}catch{}return _0xc3c180&&(_0x5957a7=!![]),{'currentVersion':_0x36b08e,'stableVersion':_0x7f2a19,'minimumVersion':_0x1db926,'needsUpgrade':_0x5957a7,'belowMinimum':_0xc3c180,'isPreRelease':![],'upgradeMessage':_0x5c7e06?.[_0x564332(0xfe)],'minimumVersionMessage':_0x5c7e06?.['minimumVersionMessage']};}export function printCliUpgradeWarning(_0x44baab){const _0xb69fc3=a189_0x4904;if(!_0x44baab[_0xb69fc3(0x107)]&&!_0x44baab[_0xb69fc3(0x112)])return;const _0x577e97=_0xb69fc3(0xf5),_0x4f099c=_0xb69fc3(0x10b),_0x20609e=_0xb69fc3(0x10f),_0x13d365=_0xb69fc3(0xe9),_0x2d865a=getCliUpgradeCommand(_0x44baab);console[_0xb69fc3(0xeb)](),_0x44baab[_0xb69fc3(0x112)]?(console[_0xb69fc3(0xeb)](''+_0x577e97+_0x13d365+_0xb69fc3(0x104)+_0x20609e),console[_0xb69fc3(0xeb)](_0x577e97+_0xb69fc3(0xfd)+_0x44baab[_0xb69fc3(0x108)]+_0x20609e),_0x44baab[_0xb69fc3(0x105)]&&console[_0xb69fc3(0xeb)](_0x577e97+_0xb69fc3(0x101)+_0x44baab[_0xb69fc3(0x105)]+_0x20609e),_0x44baab['stableVersion']&&_0x44baab['stableVersion']!==_0x44baab[_0xb69fc3(0x105)]&&console[_0xb69fc3(0xeb)](_0x577e97+_0xb69fc3(0x111)+_0x44baab[_0xb69fc3(0xfa)]+_0x20609e),_0x44baab[_0xb69fc3(0xef)]&&console[_0xb69fc3(0xeb)](_0x577e97+'\x20\x20\x20'+_0x44baab['minimumVersionMessage']+_0x20609e),console[_0xb69fc3(0xeb)](_0x577e97+_0xb69fc3(0xf3)+_0x2d865a+_0x20609e)):(console['log'](''+_0x4f099c+_0x13d365+_0xb69fc3(0x10d)+_0x20609e),console[_0xb69fc3(0xeb)](_0x4f099c+_0xb69fc3(0xfd)+_0x44baab['currentVersion']+_0x20609e),console[_0xb69fc3(0xeb)](_0x4f099c+_0xb69fc3(0x10e)+_0x44baab['stableVersion']+_0x20609e),_0x44baab[_0xb69fc3(0xfe)]&&console[_0xb69fc3(0xeb)](_0x4f099c+_0xb69fc3(0xf9)+_0x44baab[_0xb69fc3(0xfe)]+_0x20609e),console['log'](_0x4f099c+_0xb69fc3(0xf3)+_0x2d865a+_0x20609e)),console[_0xb69fc3(0xeb)]();}export function assertCliVersionSupported(_0x2d4c01){const _0x56f2e2=a189_0x4904;if(!_0x2d4c01[_0x56f2e2(0x112)])return;const _0x2f1ab8=[_0x2d4c01['minimumVersionMessage'],'Current\x20version:\x20'+_0x2d4c01[_0x56f2e2(0x108)],_0x2d4c01[_0x56f2e2(0x105)]?_0x56f2e2(0xec)+_0x2d4c01['minimumVersion']:null,_0x56f2e2(0xf8)+getCliUpgradeCommand(_0x2d4c01)][_0x56f2e2(0x100)](Boolean)[_0x56f2e2(0x109)]('\x0a');throw CliErrors[_0x56f2e2(0xf6)](_0x56f2e2(0xf2),_0x2f1ab8);}
@@ -1 +1 @@
1
- (function(_0x234e7d,_0x206096){const _0x2cbf94=a189_0x25fd,_0x104b03=_0x234e7d();while(!![]){try{const _0x4c09bd=parseInt(_0x2cbf94(0x7d))/0x1+parseInt(_0x2cbf94(0x72))/0x2+parseInt(_0x2cbf94(0x82))/0x3*(-parseInt(_0x2cbf94(0x85))/0x4)+-parseInt(_0x2cbf94(0x84))/0x5*(-parseInt(_0x2cbf94(0x77))/0x6)+-parseInt(_0x2cbf94(0x7f))/0x7+-parseInt(_0x2cbf94(0x7c))/0x8+-parseInt(_0x2cbf94(0x78))/0x9;if(_0x4c09bd===_0x206096)break;else _0x104b03['push'](_0x104b03['shift']());}catch(_0x47e6f9){_0x104b03['push'](_0x104b03['shift']());}}}(a189_0xcbe0,0xda2d3));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 a189_0xcbe0(){const _0x496230=['3rYwGOq','recommendedVersion','15arkSCm','2353552Editzf','latestVersion','cli','length','object','915138ZygMIK','trim','minimumVersion','minVersion','json','2536206fyybXC','2251242GeKReT','abort','string','application/json','887000DtTmwZ','1282938QUTiKF','signal','8158906pmRWJP','upgradeMessage','now'];a189_0xcbe0=function(){return _0x496230;};return a189_0xcbe0();}function pickString(_0x2ceb96){const _0x5941db=a189_0x25fd;return typeof _0x2ceb96===_0x5941db(0x7a)&&_0x2ceb96[_0x5941db(0x73)]()[_0x5941db(0x88)]>0x0?_0x2ceb96['trim']():null;}function normalizeCliVersionPolicy(_0x18326c){const _0x477f99=a189_0x25fd;if(!_0x18326c||typeof _0x18326c!==_0x477f99(0x89))return null;const _0x1dcc8d=_0x18326c,_0x4482c4=_0x1dcc8d[_0x477f99(0x87)]&&typeof _0x1dcc8d[_0x477f99(0x87)]===_0x477f99(0x89)?_0x1dcc8d[_0x477f99(0x87)]:_0x1dcc8d,_0x5aa585=pickString(_0x4482c4['stableVersion'])||pickString(_0x4482c4[_0x477f99(0x86)])||pickString(_0x4482c4[_0x477f99(0x83)]),_0x3eb267=pickString(_0x4482c4[_0x477f99(0x74)])||pickString(_0x4482c4[_0x477f99(0x75)]);if(!_0x5aa585&&!_0x3eb267)return null;return{'stableVersion':_0x5aa585,'minimumVersion':_0x3eb267,'upgradeMessage':pickString(_0x4482c4[_0x477f99(0x80)])||undefined,'minimumVersionMessage':pickString(_0x4482c4['minimumVersionMessage'])||undefined};}export async function fetchCliVersionPolicy(){const _0x16fec9=a189_0x25fd,_0x32d631=new AbortController(),_0x467f15=setTimeout(()=>_0x32d631[_0x16fec9(0x79)](),FETCH_TIMEOUT_MS);try{const _0x412370=await fetch(CLI_VERSION_POLICY_URL,{'headers':{'Accept':_0x16fec9(0x7b)},'signal':_0x32d631[_0x16fec9(0x7e)]});if(!_0x412370['ok'])return null;const _0x163ac8=await _0x412370[_0x16fec9(0x76)]();return normalizeCliVersionPolicy(_0x163ac8);}catch{return null;}finally{clearTimeout(_0x467f15);}}let cachedPolicy=null,cacheTime=0x0,hasCachedPolicy=![];function a189_0x25fd(_0x50de5e,_0x114ecf){_0x50de5e=_0x50de5e-0x72;const _0xcbe0c0=a189_0xcbe0();let _0x25fd83=_0xcbe0c0[_0x50de5e];return _0x25fd83;}export async function getCliVersionPolicy(){const _0x1d5c9f=a189_0x25fd,_0x17ac5c=Date[_0x1d5c9f(0x81)]();if(hasCachedPolicy){const _0x38c590=cachedPolicy?CACHE_TTL:FAILURE_CACHE_TTL;if(_0x17ac5c-cacheTime<_0x38c590)return cachedPolicy;}const _0x1ca162=await fetchCliVersionPolicy();return cachedPolicy=_0x1ca162,cacheTime=_0x17ac5c,hasCachedPolicy=!![],_0x1ca162;}export function clearCliVersionPolicyCache(){cachedPolicy=null,cacheTime=0x0,hasCachedPolicy=![];}
1
+ function a190_0x2700(){const _0x41700=['398387xxqWQa','minimumVersionMessage','signal','6430ZmHYwU','3753jaNWDh','minimumVersion','recommendedVersion','abort','439172ZAyOkW','121824srJbcq','93846HYMMlj','96tOHzlW','application/json','3SbZqtC','json','upgradeMessage','15472pKsDAu','155ZjyvCg','2998980BJSewl','329vDAfNM','now','object','trim','cli'];a190_0x2700=function(){return _0x41700;};return a190_0x2700();}(function(_0x434ac1,_0x5459a9){const _0x2fc6bf=a190_0x259f,_0x152ff8=_0x434ac1();while(!![]){try{const _0x23987e=parseInt(_0x2fc6bf(0xc8))/0x1+-parseInt(_0x2fc6bf(0xc7))/0x2*(-parseInt(_0x2fc6bf(0xb4))/0x3)+parseInt(_0x2fc6bf(0xb9))/0x4+parseInt(_0x2fc6bf(0xb8))/0x5*(-parseInt(_0x2fc6bf(0xc9))/0x6)+parseInt(_0x2fc6bf(0xba))/0x7*(-parseInt(_0x2fc6bf(0xb7))/0x8)+-parseInt(_0x2fc6bf(0xc3))/0x9*(parseInt(_0x2fc6bf(0xc2))/0xa)+parseInt(_0x2fc6bf(0xbf))/0xb*(parseInt(_0x2fc6bf(0xca))/0xc);if(_0x23987e===_0x5459a9)break;else _0x152ff8['push'](_0x152ff8['shift']());}catch(_0x4f2b31){_0x152ff8['push'](_0x152ff8['shift']());}}}(a190_0x2700,0x8319f));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 a190_0x259f(_0x1c96b8,_0x3bc56c){_0x1c96b8=_0x1c96b8-0xb3;const _0x27006f=a190_0x2700();let _0x259f78=_0x27006f[_0x1c96b8];return _0x259f78;}function pickString(_0x1b3838){const _0x113e52=a190_0x259f;return typeof _0x1b3838==='string'&&_0x1b3838[_0x113e52(0xbd)]()['length']>0x0?_0x1b3838[_0x113e52(0xbd)]():null;}function normalizeCliVersionPolicy(_0x5306b7){const _0x360780=a190_0x259f;if(!_0x5306b7||typeof _0x5306b7!==_0x360780(0xbc))return null;const _0x2631e8=_0x5306b7,_0x34c0f7=_0x2631e8['cli']&&typeof _0x2631e8[_0x360780(0xbe)]==='object'?_0x2631e8[_0x360780(0xbe)]:_0x2631e8,_0x408315=pickString(_0x34c0f7['stableVersion'])||pickString(_0x34c0f7['latestVersion'])||pickString(_0x34c0f7[_0x360780(0xc5)]),_0x5f5bde=pickString(_0x34c0f7[_0x360780(0xc4)])||pickString(_0x34c0f7['minVersion']);if(!_0x408315&&!_0x5f5bde)return null;return{'stableVersion':_0x408315,'minimumVersion':_0x5f5bde,'upgradeMessage':pickString(_0x34c0f7[_0x360780(0xb6)])||undefined,'minimumVersionMessage':pickString(_0x34c0f7[_0x360780(0xc0)])||undefined};}export async function fetchCliVersionPolicy(){const _0x373ccf=a190_0x259f,_0x19e89c=new AbortController(),_0x1abcb2=setTimeout(()=>_0x19e89c[_0x373ccf(0xc6)](),FETCH_TIMEOUT_MS);try{const _0xf973e9=await fetch(CLI_VERSION_POLICY_URL,{'headers':{'Accept':_0x373ccf(0xb3)},'signal':_0x19e89c[_0x373ccf(0xc1)]});if(!_0xf973e9['ok'])return null;const _0x226de4=await _0xf973e9[_0x373ccf(0xb5)]();return normalizeCliVersionPolicy(_0x226de4);}catch{return null;}finally{clearTimeout(_0x1abcb2);}}let cachedPolicy=null,cacheTime=0x0,hasCachedPolicy=![];export async function getCliVersionPolicy(){const _0x3c6858=a190_0x259f,_0x5e36d3=Date[_0x3c6858(0xbb)]();if(hasCachedPolicy){const _0x47588c=cachedPolicy?CACHE_TTL:FAILURE_CACHE_TTL;if(_0x5e36d3-cacheTime<_0x47588c)return cachedPolicy;}const _0x1c8fb7=await fetchCliVersionPolicy();return cachedPolicy=_0x1c8fb7,cacheTime=_0x5e36d3,hasCachedPolicy=!![],_0x1c8fb7;}export function clearCliVersionPolicyCache(){cachedPolicy=null,cacheTime=0x0,hasCachedPolicy=![];}
@@ -1 +1 @@
1
- (function(_0x5261c3,_0x2ac356){const _0x7c6c12=a190_0x46bc,_0x346202=_0x5261c3();while(!![]){try{const _0x121965=-parseInt(_0x7c6c12(0x1ae))/0x1+-parseInt(_0x7c6c12(0x1ab))/0x2*(-parseInt(_0x7c6c12(0x1a4))/0x3)+-parseInt(_0x7c6c12(0x1ac))/0x4*(parseInt(_0x7c6c12(0x1aa))/0x5)+parseInt(_0x7c6c12(0x1a9))/0x6*(-parseInt(_0x7c6c12(0x1ad))/0x7)+-parseInt(_0x7c6c12(0x1a6))/0x8+parseInt(_0x7c6c12(0x1a3))/0x9*(-parseInt(_0x7c6c12(0x1a8))/0xa)+parseInt(_0x7c6c12(0x1a7))/0xb;if(_0x121965===_0x2ac356)break;else _0x346202['push'](_0x346202['shift']());}catch(_0x4ab21f){_0x346202['push'](_0x346202['shift']());}}}(a190_0x1230,0x81be7));import{initEnv}from'../constant/env.js';import{readRawConfig,getConfigAppCode as a190_0xf7bdc7,getMultiAppConfigs as a190_0x39b880,getTemplateBaseUrl as a190_0x259b6b}from'../context.js';export{getProjectConfigPath,getGlobalConfigPath}from'../context.js';export{isInProject}from'../context.js';export function readConfig(_0x38006f){const _0x40ca20=a190_0x46bc,_0x22ce8a=readRawConfig(_0x38006f);return _0x22ce8a[_0x40ca20(0x1a5)]&&typeof _0x22ce8a[_0x40ca20(0x1a5)]===_0x40ca20(0x1af)&&initEnv(_0x22ce8a[_0x40ca20(0x1a5)]),_0x22ce8a;}export function getConfigAppCode(){return a190_0xf7bdc7();}function a190_0x46bc(_0x1b4709,_0x24096b){_0x1b4709=_0x1b4709-0x1a3;const _0x1230eb=a190_0x1230();let _0x46bc1a=_0x1230eb[_0x1b4709];return _0x46bc1a;}export function getMultiAppConfigs(_0x431df5='project'){return a190_0x39b880(_0x431df5);}function a190_0x1230(){const _0x18d3ee=['1982533AHSVGA','477836afyNnQ','string','45xstlXJ','3141TQqpRX','env','930784kqhIzU','10740818VnkDUw','610960QlbMqR','6DRYfad','723725wcpWwF','1686nfhbJj','4rUGNLC'];a190_0x1230=function(){return _0x18d3ee;};return a190_0x1230();}export function getTemplateBaseUrl(){return a190_0x259b6b();}
1
+ const a191_0xd9794d=a191_0x141d;(function(_0x3799be,_0xfc6dbf){const _0x586735=a191_0x141d,_0x45351d=_0x3799be();while(!![]){try{const _0x2e7bed=-parseInt(_0x586735(0x161))/0x1*(-parseInt(_0x586735(0x163))/0x2)+-parseInt(_0x586735(0x169))/0x3+-parseInt(_0x586735(0x15d))/0x4+parseInt(_0x586735(0x167))/0x5*(parseInt(_0x586735(0x15f))/0x6)+-parseInt(_0x586735(0x162))/0x7+-parseInt(_0x586735(0x160))/0x8*(-parseInt(_0x586735(0x168))/0x9)+parseInt(_0x586735(0x164))/0xa;if(_0x2e7bed===_0xfc6dbf)break;else _0x45351d['push'](_0x45351d['shift']());}catch(_0x38057b){_0x45351d['push'](_0x45351d['shift']());}}}(a191_0x575b,0xbdbb1));import{initEnv}from'../constant/env.js';import{readRawConfig,getConfigAppCode as a191_0x4836d7,getMultiAppConfigs as a191_0x4c9997,getTemplateBaseUrl as a191_0x5b4a5b}from'../context.js';export{getProjectConfigPath,getGlobalConfigPath}from'../context.js';function a191_0x575b(){const _0x3fcd93=['8128tbnIni','10673KhrFYO','10315956etoINI','82BdrWRN','16696320xEPpqb','string','project','15ZtzAky','6417DvpHIY','3914085bWuntz','2316368WzsjOO','env','2605998clHIrO'];a191_0x575b=function(){return _0x3fcd93;};return a191_0x575b();}function a191_0x141d(_0x5ba063,_0x505982){_0x5ba063=_0x5ba063-0x15d;const _0x575bd0=a191_0x575b();let _0x141de0=_0x575bd0[_0x5ba063];return _0x141de0;}export{isInProject}from'../context.js';export function readConfig(_0x46a2d3){const _0x410c17=a191_0x141d,_0x2bb4a7=readRawConfig(_0x46a2d3);return _0x2bb4a7[_0x410c17(0x15e)]&&typeof _0x2bb4a7[_0x410c17(0x15e)]===_0x410c17(0x165)&&initEnv(_0x2bb4a7[_0x410c17(0x15e)]),_0x2bb4a7;}export function getConfigAppCode(){return a191_0x4836d7();}export function getMultiAppConfigs(_0x1bc272=a191_0xd9794d(0x166)){return a191_0x4c9997(_0x1bc272);}export function getTemplateBaseUrl(){return a191_0x5b4a5b();}
@@ -1 +1 @@
1
- function a191_0x506f(){const _0x1309fb=['readdirSync','1417514CvDkVR','8073630EDhBSm','copyFileSync','21626796ZUGWoy','356396zrkoed','12wSwPkL','mkdirSync','6hwuBjH','1860336xYNBMG','13mkHzzd','40LuPMPX','isDirectory','11CiEulL','join','342628GWnRnu','error','415NoePfK','复制目录时出错:','4552DcMQRU','name'];a191_0x506f=function(){return _0x1309fb;};return a191_0x506f();}function a191_0x589b(_0x2380d3,_0x5b4e39){_0x2380d3=_0x2380d3-0x15b;const _0x506f18=a191_0x506f();let _0x589bab=_0x506f18[_0x2380d3];return _0x589bab;}(function(_0x59c184,_0x502393){const _0x353efe=a191_0x589b,_0x307884=_0x59c184();while(!![]){try{const _0x2768ba=-parseInt(_0x353efe(0x16e))/0x1+parseInt(_0x353efe(0x163))/0x2*(-parseInt(_0x353efe(0x16f))/0x3)+parseInt(_0x353efe(0x167))/0x4*(-parseInt(_0x353efe(0x165))/0x5)+parseInt(_0x353efe(0x15c))/0x6*(parseInt(_0x353efe(0x16a))/0x7)+parseInt(_0x353efe(0x15f))/0x8*(-parseInt(_0x353efe(0x15d))/0x9)+parseInt(_0x353efe(0x16b))/0xa*(parseInt(_0x353efe(0x161))/0xb)+parseInt(_0x353efe(0x16d))/0xc*(parseInt(_0x353efe(0x15e))/0xd);if(_0x2768ba===_0x502393)break;else _0x307884['push'](_0x307884['shift']());}catch(_0x643634){_0x307884['push'](_0x307884['shift']());}}}(a191_0x506f,0x9cda8));import a191_0x257760 from'node:path';import a191_0x5275b7 from'node:fs';export async function copyDirectory(_0x4d5f91,_0x4769c9){const _0x3316fb=a191_0x589b;try{const _0x270407=a191_0x5275b7[_0x3316fb(0x169)](_0x4d5f91,{'withFileTypes':!![]});a191_0x5275b7[_0x3316fb(0x15b)](_0x4769c9,{'recursive':!![]});for(const _0x4adbff of _0x270407){const _0xa35228=a191_0x257760[_0x3316fb(0x162)](_0x4d5f91,_0x4adbff[_0x3316fb(0x168)]),_0x42f8b1=a191_0x257760[_0x3316fb(0x162)](_0x4769c9,_0x4adbff[_0x3316fb(0x168)]);_0x4adbff[_0x3316fb(0x160)]()?await copyDirectory(_0xa35228,_0x42f8b1):a191_0x5275b7[_0x3316fb(0x16c)](_0xa35228,_0x42f8b1);}}catch(_0x43bfa5){console[_0x3316fb(0x164)](_0x3316fb(0x166),_0x43bfa5);}}
1
+ (function(_0x4f5445,_0x1377cd){const _0x59b5d9=a192_0xfbe4,_0x5417c8=_0x4f5445();while(!![]){try{const _0x477b07=-parseInt(_0x59b5d9(0x1e3))/0x1+-parseInt(_0x59b5d9(0x1ed))/0x2*(parseInt(_0x59b5d9(0x1e9))/0x3)+parseInt(_0x59b5d9(0x1ea))/0x4*(-parseInt(_0x59b5d9(0x1ec))/0x5)+-parseInt(_0x59b5d9(0x1e6))/0x6*(parseInt(_0x59b5d9(0x1f0))/0x7)+parseInt(_0x59b5d9(0x1f1))/0x8*(parseInt(_0x59b5d9(0x1e8))/0x9)+-parseInt(_0x59b5d9(0x1e4))/0xa*(-parseInt(_0x59b5d9(0x1f4))/0xb)+parseInt(_0x59b5d9(0x1ef))/0xc;if(_0x477b07===_0x1377cd)break;else _0x5417c8['push'](_0x5417c8['shift']());}catch(_0x3231b3){_0x5417c8['push'](_0x5417c8['shift']());}}}(a192_0x3c4d,0x5da9b));function a192_0x3c4d(){const _0x1c0c15=['135348oCKsaJ','join','5LEqufA','399214kSfbyK','name','9084516dOdpEb','7eGIBem','16nbmBeG','isDirectory','copyFileSync','33EXgiSl','54933REPvle','311970zLJmXG','复制目录时出错:','266178pbWJra','error','294102hdEYRi','6XmsJUR'];a192_0x3c4d=function(){return _0x1c0c15;};return a192_0x3c4d();}import a192_0x562f78 from'node:path';function a192_0xfbe4(_0x22d532,_0x3b4e3e){_0x22d532=_0x22d532-0x1e3;const _0x3c4d59=a192_0x3c4d();let _0xfbe4b7=_0x3c4d59[_0x22d532];return _0xfbe4b7;}import a192_0x442d93 from'node:fs';export async function copyDirectory(_0x482c3a,_0x3ea0c1){const _0x2879f8=a192_0xfbe4;try{const _0x3e2c30=a192_0x442d93['readdirSync'](_0x482c3a,{'withFileTypes':!![]});a192_0x442d93['mkdirSync'](_0x3ea0c1,{'recursive':!![]});for(const _0x17b806 of _0x3e2c30){const _0x58fbf7=a192_0x562f78[_0x2879f8(0x1eb)](_0x482c3a,_0x17b806[_0x2879f8(0x1ee)]),_0x285b54=a192_0x562f78[_0x2879f8(0x1eb)](_0x3ea0c1,_0x17b806[_0x2879f8(0x1ee)]);_0x17b806[_0x2879f8(0x1f2)]()?await copyDirectory(_0x58fbf7,_0x285b54):a192_0x442d93[_0x2879f8(0x1f3)](_0x58fbf7,_0x285b54);}}catch(_0x2c93b7){console[_0x2879f8(0x1e7)](_0x2879f8(0x1e5),_0x2c93b7);}}
@@ -1 +1 @@
1
- (function(_0x2230e7,_0x339d96){const _0x2a91c2=a192_0x4505,_0x56d01c=_0x2230e7();while(!![]){try{const _0x5afcda=parseInt(_0x2a91c2(0x15c))/0x1*(parseInt(_0x2a91c2(0x15e))/0x2)+-parseInt(_0x2a91c2(0x157))/0x3+-parseInt(_0x2a91c2(0x158))/0x4+-parseInt(_0x2a91c2(0x160))/0x5*(-parseInt(_0x2a91c2(0x15b))/0x6)+parseInt(_0x2a91c2(0x15d))/0x7+parseInt(_0x2a91c2(0x15f))/0x8+-parseInt(_0x2a91c2(0x159))/0x9;if(_0x5afcda===_0x339d96)break;else _0x56d01c['push'](_0x56d01c['shift']());}catch(_0x519481){_0x56d01c['push'](_0x56d01c['shift']());}}}(a192_0x22a2,0xe1ed0));function toFiniteNumber(_0x28ff2a){const _0x254159=a192_0x4505;if(typeof _0x28ff2a===_0x254159(0x161)&&Number['isFinite'](_0x28ff2a))return _0x28ff2a;if(typeof _0x28ff2a==='string'){const _0x53b7ef=_0x28ff2a[_0x254159(0x15a)]();if(!_0x53b7ef)return undefined;const _0xdb3e2f=Number(_0x53b7ef);if(Number['isFinite'](_0xdb3e2f))return _0xdb3e2f;}return undefined;}function a192_0x22a2(){const _0x2508a3=['24443649AdPyzm','trim','4308108vGYaEz','942389zQdBAe','7659778ULWVjR','2BqQQCT','7268392vPnZFw','10rQVNYt','number','2051427SJoOCJ','224264tJAjma'];a192_0x22a2=function(){return _0x2508a3;};return a192_0x22a2();}function a192_0x4505(_0x33a3c5,_0x2dd304){_0x33a3c5=_0x33a3c5-0x157;const _0x22a21a=a192_0x22a2();let _0x4505ce=_0x22a21a[_0x33a3c5];return _0x4505ce;}export function normalizeEntityWithIdResponse(_0x459cfa){const _0x7cf8d4=toFiniteNumber(_0x459cfa);if(_0x7cf8d4!==undefined)return{'id':_0x7cf8d4,'entity':{'id':_0x7cf8d4}};if(!_0x459cfa||typeof _0x459cfa!=='object')return{'id':undefined,'entity':{}};const _0x286874={..._0x459cfa},_0x20d5c5=toFiniteNumber(_0x286874['id']);return _0x20d5c5!==undefined&&(_0x286874['id']=_0x20d5c5),{'id':_0x20d5c5,'entity':_0x286874};}
1
+ (function(_0x2935e8,_0x1dd042){const _0x5894af=a193_0x1646,_0x5abeab=_0x2935e8();while(!![]){try{const _0x5340ed=-parseInt(_0x5894af(0x8d))/0x1*(-parseInt(_0x5894af(0x8e))/0x2)+parseInt(_0x5894af(0x86))/0x3+-parseInt(_0x5894af(0x88))/0x4*(parseInt(_0x5894af(0x87))/0x5)+-parseInt(_0x5894af(0x8c))/0x6+parseInt(_0x5894af(0x82))/0x7+parseInt(_0x5894af(0x84))/0x8+-parseInt(_0x5894af(0x89))/0x9;if(_0x5340ed===_0x1dd042)break;else _0x5abeab['push'](_0x5abeab['shift']());}catch(_0x1993b5){_0x5abeab['push'](_0x5abeab['shift']());}}}(a193_0xa9f3,0xa4247));function toFiniteNumber(_0x2d691d){const _0x3189e6=a193_0x1646;if(typeof _0x2d691d===_0x3189e6(0x8a)&&Number[_0x3189e6(0x8b)](_0x2d691d))return _0x2d691d;if(typeof _0x2d691d===_0x3189e6(0x83)){const _0x3a5587=_0x2d691d[_0x3189e6(0x85)]();if(!_0x3a5587)return undefined;const _0x5e3dc0=Number(_0x3a5587);if(Number[_0x3189e6(0x8b)](_0x5e3dc0))return _0x5e3dc0;}return undefined;}export function normalizeEntityWithIdResponse(_0x531e11){const _0x555f69=a193_0x1646,_0x3b8d8a=toFiniteNumber(_0x531e11);if(_0x3b8d8a!==undefined)return{'id':_0x3b8d8a,'entity':{'id':_0x3b8d8a}};if(!_0x531e11||typeof _0x531e11!==_0x555f69(0x8f))return{'id':undefined,'entity':{}};const _0x1b319d={..._0x531e11},_0x4919ae=toFiniteNumber(_0x1b319d['id']);return _0x4919ae!==undefined&&(_0x1b319d['id']=_0x4919ae),{'id':_0x4919ae,'entity':_0x1b319d};}function a193_0x1646(_0x2fefcd,_0x59ee0b){_0x2fefcd=_0x2fefcd-0x82;const _0xa9f3e1=a193_0xa9f3();let _0x1646be=_0xa9f3e1[_0x2fefcd];return _0x1646be;}function a193_0xa9f3(){const _0x3954fe=['string','2168304KQRZok','trim','2367615CkfaGl','748780zdfERX','12GowrVp','10909566frRdkW','number','isFinite','1070982KLwOhn','1250668qGEwQu','2SZFIIf','object','1409485emUPYV'];a193_0xa9f3=function(){return _0x3954fe;};return a193_0xa9f3();}
@@ -1 +1 @@
1
- (function(_0xf9e3b2,_0x41ba79){const _0x5bdda0=a193_0x85fc,_0x563857=_0xf9e3b2();while(!![]){try{const _0x3dd934=parseInt(_0x5bdda0(0x1dc))/0x1*(parseInt(_0x5bdda0(0x1df))/0x2)+-parseInt(_0x5bdda0(0x1d8))/0x3*(parseInt(_0x5bdda0(0x1db))/0x4)+-parseInt(_0x5bdda0(0x1d5))/0x5+parseInt(_0x5bdda0(0x1d6))/0x6+-parseInt(_0x5bdda0(0x1d9))/0x7*(parseInt(_0x5bdda0(0x1de))/0x8)+-parseInt(_0x5bdda0(0x1d7))/0x9+-parseInt(_0x5bdda0(0x1da))/0xa*(-parseInt(_0x5bdda0(0x1dd))/0xb);if(_0x3dd934===_0x41ba79)break;else _0x563857['push'](_0x563857['shift']());}catch(_0x584524){_0x563857['push'](_0x563857['shift']());}}}(a193_0x6284,0x7c3e6));import{existsSync,mkdirSync,copyFileSync,readdirSync,statSync}from'node:fs';import{join}from'node:path';function a193_0x85fc(_0x317d5e,_0x4be8f3){_0x317d5e=_0x317d5e-0x1d5;const _0x62842e=a193_0x6284();let _0x85fc6=_0x62842e[_0x317d5e];return _0x85fc6;}export async function copyDir(_0x3ac7e0,_0x45d8b2){const _0x155c86=statSync(_0x3ac7e0);if(_0x155c86['isDirectory']()){!existsSync(_0x45d8b2)&&mkdirSync(_0x45d8b2,{'recursive':!![]});const _0xa7fe68=readdirSync(_0x3ac7e0);for(const _0x109975 of _0xa7fe68){await copyDir(join(_0x3ac7e0,_0x109975),join(_0x45d8b2,_0x109975));}}else copyFileSync(_0x3ac7e0,_0x45d8b2);}function a193_0x6284(){const _0x5239a2=['1571870dWrlEr','4699290gpuroc','4622166DdpsOo','1232244AuhRFk','1158XGPyjw','6493249qZOeFI','6310LstMQN','4632AGstaP','1LOYQWG','24475zqGbxK','8RQzZyf'];a193_0x6284=function(){return _0x5239a2;};return a193_0x6284();}export function ensureDir(_0x51b1f9){!existsSync(_0x51b1f9)&&mkdirSync(_0x51b1f9,{'recursive':!![]});}export function pathExists(_0x554f46){return existsSync(_0x554f46);}
1
+ (function(_0x1fbe82,_0x138b7b){const _0x3cb36f=a194_0x1af7,_0x4d2650=_0x1fbe82();while(!![]){try{const _0x5d9fea=parseInt(_0x3cb36f(0x15e))/0x1+parseInt(_0x3cb36f(0x15c))/0x2*(-parseInt(_0x3cb36f(0x15b))/0x3)+parseInt(_0x3cb36f(0x160))/0x4+parseInt(_0x3cb36f(0x162))/0x5+-parseInt(_0x3cb36f(0x15f))/0x6*(parseInt(_0x3cb36f(0x163))/0x7)+-parseInt(_0x3cb36f(0x161))/0x8+parseInt(_0x3cb36f(0x15d))/0x9;if(_0x5d9fea===_0x138b7b)break;else _0x4d2650['push'](_0x4d2650['shift']());}catch(_0xb28908){_0x4d2650['push'](_0x4d2650['shift']());}}}(a194_0x5dcb,0x9a536));function a194_0x1af7(_0x76658f,_0x2266f7){_0x76658f=_0x76658f-0x15b;const _0x5dcb31=a194_0x5dcb();let _0x1af7ba=_0x5dcb31[_0x76658f];return _0x1af7ba;}function a194_0x5dcb(){const _0x523afc=['6uxvutp','2184512nYmgGE','7330904yErNvo','4739890PakZTL','1081220MwEiKe','2792007vrIeAb','2ORpTuU','1884681BFssLl','930095xgqPPf'];a194_0x5dcb=function(){return _0x523afc;};return a194_0x5dcb();}import{existsSync,mkdirSync,copyFileSync,readdirSync,statSync}from'node:fs';import{join}from'node:path';export async function copyDir(_0x23cc4e,_0x4ec4eb){const _0x212714=statSync(_0x23cc4e);if(_0x212714['isDirectory']()){!existsSync(_0x4ec4eb)&&mkdirSync(_0x4ec4eb,{'recursive':!![]});const _0x4ba104=readdirSync(_0x23cc4e);for(const _0x5b6115 of _0x4ba104){await copyDir(join(_0x23cc4e,_0x5b6115),join(_0x4ec4eb,_0x5b6115));}}else copyFileSync(_0x23cc4e,_0x4ec4eb);}export function ensureDir(_0x5999c9){!existsSync(_0x5999c9)&&mkdirSync(_0x5999c9,{'recursive':!![]});}export function pathExists(_0x35f670){return existsSync(_0x35f670);}