@lovrabet/rabetbase-cli 2.1.7-beta.2 → 2.1.7-beta.3

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 (196) 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/delete.js +1 -1
  52. package/lib/commands/dataset/detail.js +1 -1
  53. package/lib/commands/dataset/index.js +1 -1
  54. package/lib/commands/dataset/link-create.js +1 -1
  55. package/lib/commands/dataset/link-delete.js +1 -1
  56. package/lib/commands/dataset/link-shared.js +1 -1
  57. package/lib/commands/dataset/link-update.js +1 -1
  58. package/lib/commands/dataset/links.js +1 -1
  59. package/lib/commands/dataset/list.js +1 -1
  60. package/lib/commands/dataset/operations.js +1 -1
  61. package/lib/commands/db/analyze-cancel.js +1 -1
  62. package/lib/commands/db/analyze-start.js +1 -1
  63. package/lib/commands/db/analyze-status.js +1 -1
  64. package/lib/commands/db/create.js +1 -1
  65. package/lib/commands/db/delete.js +1 -1
  66. package/lib/commands/db/detail.js +1 -1
  67. package/lib/commands/db/diff.js +1 -1
  68. package/lib/commands/db/index.js +1 -1
  69. package/lib/commands/db/list.js +1 -1
  70. package/lib/commands/db/shared.js +1 -1
  71. package/lib/commands/db/tables.js +1 -1
  72. package/lib/commands/db/test.js +1 -1
  73. package/lib/commands/db/update.js +1 -1
  74. package/lib/commands/doctor.js +1 -1
  75. package/lib/commands/init/index.js +1 -1
  76. package/lib/commands/issue/index.js +1 -1
  77. package/lib/commands/issue/report.js +1 -1
  78. package/lib/commands/logs/index.js +1 -1
  79. package/lib/commands/menu/index.js +1 -1
  80. package/lib/commands/menu/shared/compare-table.js +1 -1
  81. package/lib/commands/menu/shared/index.js +1 -1
  82. package/lib/commands/menu/shared/inquirer.js +1 -1
  83. package/lib/commands/menu/shared/local-pages.js +1 -1
  84. package/lib/commands/menu/shared/logic.js +1 -1
  85. package/lib/commands/menu/shared/service.js +1 -1
  86. package/lib/commands/menu/shared/sync-core.js +1 -1
  87. package/lib/commands/menu/shared/update-core.js +1 -1
  88. package/lib/commands/menu/shared/valid-url.js +1 -1
  89. package/lib/commands/menu/sync.js +1 -1
  90. package/lib/commands/menu/update.js +1 -1
  91. package/lib/commands/page/generate-start.js +1 -1
  92. package/lib/commands/page/generate-status.js +1 -1
  93. package/lib/commands/page/index.js +1 -1
  94. package/lib/commands/page/pull.js +1 -1
  95. package/lib/commands/page/push.js +1 -1
  96. package/lib/commands/page/shared.js +1 -1
  97. package/lib/commands/page/standard-page-status.js +1 -1
  98. package/lib/commands/page/sync.js +1 -1
  99. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  100. package/lib/commands/project/create/format-elapsed.js +1 -1
  101. package/lib/commands/project/create/main.js +1 -1
  102. package/lib/commands/project/create/non-interactive.js +1 -1
  103. package/lib/commands/project/create/project-template-path.js +1 -1
  104. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  105. package/lib/commands/project/create/use-format-code.js +1 -1
  106. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  107. package/lib/commands/project/index.js +1 -1
  108. package/lib/commands/project/init.js +1 -1
  109. package/lib/commands/project/upgrade.js +1 -1
  110. package/lib/commands/registry.js +1 -1
  111. package/lib/commands/run/index.js +1 -1
  112. package/lib/commands/schema.js +1 -1
  113. package/lib/commands/skill/index.js +1 -1
  114. package/lib/commands/sql/create.js +1 -1
  115. package/lib/commands/sql/delete.js +1 -1
  116. package/lib/commands/sql/detail.js +1 -1
  117. package/lib/commands/sql/exec.js +1 -1
  118. package/lib/commands/sql/index.js +1 -1
  119. package/lib/commands/sql/list.js +1 -1
  120. package/lib/commands/sql/pull.js +1 -1
  121. package/lib/commands/sql/push.js +1 -1
  122. package/lib/commands/sql/save.js +1 -1
  123. package/lib/commands/sql/shared.js +1 -1
  124. package/lib/commands/sql/status.js +1 -1
  125. package/lib/commands/sql/validate.js +1 -1
  126. package/lib/config/schema.js +1 -1
  127. package/lib/constant/cdn.js +1 -1
  128. package/lib/constant/cli.js +1 -1
  129. package/lib/constant/defaults.js +1 -1
  130. package/lib/constant/domain.js +1 -1
  131. package/lib/constant/env.js +1 -1
  132. package/lib/constant/output.js +1 -1
  133. package/lib/constant/paths.js +1 -1
  134. package/lib/constant/risk.js +1 -1
  135. package/lib/context.js +1 -1
  136. package/lib/core/alias-resolver.js +1 -1
  137. package/lib/core/api-client.js +1 -1
  138. package/lib/core/bff/config.js +1 -1
  139. package/lib/core/bff/file-system.js +1 -1
  140. package/lib/core/bff/hash.js +1 -1
  141. package/lib/core/bff/lock.js +1 -1
  142. package/lib/core/bff/utils.js +1 -1
  143. package/lib/core/db-resolver.js +1 -1
  144. package/lib/core/page/file-system.js +1 -1
  145. package/lib/core/page/hash.js +1 -1
  146. package/lib/core/page/lock.js +1 -1
  147. package/lib/core/sql-sync/config.js +1 -1
  148. package/lib/core/sql-sync/file-system.js +1 -1
  149. package/lib/core/sql-sync/hash.js +1 -1
  150. package/lib/core/sql-sync/lock.js +1 -1
  151. package/lib/core/sql-sync/utils.js +1 -1
  152. package/lib/core/sql-validator.js +1 -1
  153. package/lib/errors.js +1 -1
  154. package/lib/framework/build-all-flags.js +1 -1
  155. package/lib/framework/flags.js +1 -1
  156. package/lib/framework/help.js +1 -1
  157. package/lib/framework/index.js +1 -1
  158. package/lib/framework/output.js +1 -1
  159. package/lib/framework/response.js +1 -1
  160. package/lib/framework/runner-alias.js +1 -1
  161. package/lib/framework/runner.js +1 -1
  162. package/lib/framework/schema-export.js +1 -1
  163. package/lib/framework/types.js +1 -1
  164. package/lib/generated/build-info.js +1 -1
  165. package/lib/help.js +1 -1
  166. package/lib/skills/main.js +1 -1
  167. package/lib/skills/npx-skills-add.js +1 -1
  168. package/lib/telemetry/cli-command-trace.js +1 -1
  169. package/lib/telemetry/cli-help-trace.js +1 -1
  170. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  171. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  172. package/lib/telemetry/send-cli-trace-log.js +1 -1
  173. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  174. package/lib/utils/ai_config.js +1 -1
  175. package/lib/utils/apply-jq-filter.js +1 -1
  176. package/lib/utils/cdn-config.js +1 -1
  177. package/lib/utils/check-sdk-version.js +1 -1
  178. package/lib/utils/cli-version-check.js +1 -1
  179. package/lib/utils/cli-version-policy.js +1 -1
  180. package/lib/utils/config.js +1 -1
  181. package/lib/utils/copy-directory.js +1 -1
  182. package/lib/utils/entity-with-id.js +1 -1
  183. package/lib/utils/file-utils.js +1 -1
  184. package/lib/utils/guides-cdn.js +1 -1
  185. package/lib/utils/http-client.js +1 -1
  186. package/lib/utils/is-non-interactive.js +1 -1
  187. package/lib/utils/logger.js +1 -1
  188. package/lib/utils/params.js +1 -1
  189. package/lib/utils/platform.js +1 -1
  190. package/lib/utils/rules-cdn.js +1 -1
  191. package/lib/utils/sleep.js +1 -1
  192. package/lib/utils/template-replacer.js +1 -1
  193. package/lib/utils/version.js +1 -1
  194. package/lib/utils/with-active-cookie.js +1 -1
  195. package/lib/utils/write-cli-side-channel.js +1 -1
  196. package/package.json +1 -1
@@ -1 +1 @@
1
- (function(_0x2e9321,_0x556643){var _0x3dc4eb=a157_0x106b,_0x4a61ad=_0x2e9321();while(!![]){try{var _0x2fcc0d=parseInt(_0x3dc4eb(0xe9))/0x1+-parseInt(_0x3dc4eb(0xe7))/0x2+parseInt(_0x3dc4eb(0xe6))/0x3+-parseInt(_0x3dc4eb(0xea))/0x4*(parseInt(_0x3dc4eb(0xec))/0x5)+parseInt(_0x3dc4eb(0xe5))/0x6+-parseInt(_0x3dc4eb(0xeb))/0x7*(parseInt(_0x3dc4eb(0xe4))/0x8)+parseInt(_0x3dc4eb(0xe8))/0x9;if(_0x2fcc0d===_0x556643)break;else _0x4a61ad['push'](_0x4a61ad['shift']());}catch(_0x321e6e){_0x4a61ad['push'](_0x4a61ad['shift']());}}}(a157_0x2fa5,0xa14f7));function a157_0x2fa5(){var _0x309b17=['7jeBSLU','6236935AzctIh','6171064ehqOFc','7387758bqgBhp','341817KrYGsR','1756916XCVzBN','9246924ZjSQRB','1185287iUKQUF','4kUBJot'];a157_0x2fa5=function(){return _0x309b17;};return a157_0x2fa5();}function a157_0x106b(_0x44f82a,_0x3cea9f){_0x44f82a=_0x44f82a-0xe4;var _0x2fa5bb=a157_0x2fa5();var _0x106bfd=_0x2fa5bb[_0x44f82a];return _0x106bfd;}import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';import{buildAllFlags as a157_0x33535d}from'@lovrabet/cli-framework';export function buildAllFlags(_0x23cf53){return a157_0x33535d(_0x23cf53,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});}
1
+ function a157_0x3cd1(_0x327db3,_0x4027b1){_0x327db3=_0x327db3-0x1da;var _0x52bb94=a157_0x52bb();var _0x3cd1b9=_0x52bb94[_0x327db3];return _0x3cd1b9;}(function(_0x1c046b,_0x3a504d){var _0x457828=a157_0x3cd1,_0x1415ef=_0x1c046b();while(!![]){try{var _0xfbda00=parseInt(_0x457828(0x1db))/0x1*(parseInt(_0x457828(0x1da))/0x2)+parseInt(_0x457828(0x1dd))/0x3+-parseInt(_0x457828(0x1e3))/0x4+parseInt(_0x457828(0x1e0))/0x5*(-parseInt(_0x457828(0x1dc))/0x6)+parseInt(_0x457828(0x1e1))/0x7+-parseInt(_0x457828(0x1de))/0x8+-parseInt(_0x457828(0x1e2))/0x9*(parseInt(_0x457828(0x1df))/0xa);if(_0xfbda00===_0x3a504d)break;else _0x1415ef['push'](_0x1415ef['shift']());}catch(_0x96d187){_0x1415ef['push'](_0x1415ef['shift']());}}}(a157_0x52bb,0xecc49));import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';import{buildAllFlags as a157_0x5d0e33}from'@lovrabet/cli-framework';export function buildAllFlags(_0x52b8ad){return a157_0x5d0e33(_0x52b8ad,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});}function a157_0x52bb(){var _0x8db6cb=['6286576BNSIxE','6VzKVDn','521389cPSJVD','330kJLhLT','4217298wUSAhr','4253800HguSeE','1310yZAXjn','50395RlUdkC','7410011LpoHut','27549OZXkEc'];a157_0x52bb=function(){return _0x8db6cb;};return a157_0x52bb();}
@@ -1 +1 @@
1
- const a158_0xdd2a92=a158_0x3e86;(function(_0x5e6c0d,_0xd274f0){const _0x392e00=a158_0x3e86,_0x3942af=_0x5e6c0d();while(!![]){try{const _0x4ff849=-parseInt(_0x392e00(0x187))/0x1*(-parseInt(_0x392e00(0x17c))/0x2)+parseInt(_0x392e00(0x17f))/0x3+parseInt(_0x392e00(0x17e))/0x4+-parseInt(_0x392e00(0x183))/0x5*(-parseInt(_0x392e00(0x180))/0x6)+-parseInt(_0x392e00(0x184))/0x7*(parseInt(_0x392e00(0x182))/0x8)+parseInt(_0x392e00(0x17d))/0x9*(-parseInt(_0x392e00(0x181))/0xa)+parseInt(_0x392e00(0x185))/0xb*(parseInt(_0x392e00(0x188))/0xc);if(_0x4ff849===_0xd274f0)break;else _0x3942af['push'](_0x3942af['shift']());}catch(_0x2c22e1){_0x3942af['push'](_0x3942af['shift']());}}}(a158_0x43ad,0x624b9));function a158_0x43ad(){const _0x12e26f=['694970BuDOmg','1171665fsWOpv','1456020iRBTfT','326628bDFwsD','54zwbsnJ','50bwOHrx','88CemTeV','320805qFSXSK','228011mOuXsz','671rvIJri','validateFlags','1zKfnHB','2760yiSwYn'];a158_0x43ad=function(){return _0x12e26f;};return a158_0x43ad();}import{createFlagHelpers}from'@lovrabet/cli-framework';function a158_0x3e86(_0x3d7b07,_0x3d97b3){_0x3d7b07=_0x3d7b07-0x17c;const _0x43ad0d=a158_0x43ad();let _0x3e86db=_0x43ad0d[_0x3d7b07];return _0x3e86db;}import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers['parseFlags'];export const validateFlags=helpers[a158_0xdd2a92(0x186)];
1
+ const a158_0x338157=a158_0x31ba;(function(_0x574c5f,_0x4626e6){const _0x54c7d4=a158_0x31ba,_0x30ee98=_0x574c5f();while(!![]){try{const _0xc86fc=-parseInt(_0x54c7d4(0x1ad))/0x1+parseInt(_0x54c7d4(0x1b3))/0x2+parseInt(_0x54c7d4(0x1ae))/0x3+parseInt(_0x54c7d4(0x1ac))/0x4*(parseInt(_0x54c7d4(0x1b2))/0x5)+parseInt(_0x54c7d4(0x1a9))/0x6*(-parseInt(_0x54c7d4(0x1ab))/0x7)+-parseInt(_0x54c7d4(0x1aa))/0x8+-parseInt(_0x54c7d4(0x1b1))/0x9*(-parseInt(_0x54c7d4(0x1b4))/0xa);if(_0xc86fc===_0x4626e6)break;else _0x30ee98['push'](_0x30ee98['shift']());}catch(_0x3b4270){_0x30ee98['push'](_0x30ee98['shift']());}}}(a158_0xf579,0x6db94));function a158_0xf579(){const _0x5c19e4=['32646jzBCMr','6896424pGaQmO','413havjvD','36ZcIxkD','610608sfsxYY','905163IoxgSU','parseFlags','validateFlags','156879aZrnbq','175145btsFpM','149534dlRDMs','890lkTSMg'];a158_0xf579=function(){return _0x5c19e4;};return a158_0xf579();}import{createFlagHelpers}from'@lovrabet/cli-framework';function a158_0x31ba(_0x2d2144,_0x14d154){_0x2d2144=_0x2d2144-0x1a9;const _0xf579e2=a158_0xf579();let _0x31bac=_0xf579e2[_0x2d2144];return _0x31bac;}import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers[a158_0x338157(0x1af)];export const validateFlags=helpers[a158_0x338157(0x1b0)];
@@ -1 +1 @@
1
- const a159_0x2323b7=a159_0x5170;(function(_0x4f27de,_0xce533b){const _0x4c7e86=a159_0x5170,_0xaba81a=_0x4f27de();while(!![]){try{const _0x422f5c=parseInt(_0x4c7e86(0x15f))/0x1+parseInt(_0x4c7e86(0x15d))/0x2*(-parseInt(_0x4c7e86(0x159))/0x3)+-parseInt(_0x4c7e86(0x164))/0x4+parseInt(_0x4c7e86(0x166))/0x5+parseInt(_0x4c7e86(0x160))/0x6*(parseInt(_0x4c7e86(0x15a))/0x7)+-parseInt(_0x4c7e86(0x165))/0x8+parseInt(_0x4c7e86(0x15b))/0x9;if(_0x422f5c===_0xce533b)break;else _0xaba81a['push'](_0xaba81a['shift']());}catch(_0x154584){_0xaba81a['push'](_0xaba81a['shift']());}}}(a159_0xd840,0x5dd84));import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';const generators=createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x3fd738=>serviceGroups[a159_0x2323b7(0x158)](_0x3fd738),'buildAllFlags':buildAllFlags,'appPrerequisiteText':a159_0x2323b7(0x163)+CLI_BIN_NAME+a159_0x2323b7(0x15c),'serviceUsageSuffix':'\x20[args]\x20[flags]','includeWildcardExtraInFullHelp':!![]});function a159_0x5170(_0x1fa3b3,_0x103c15){_0x1fa3b3=_0x1fa3b3-0x158;const _0xd84020=a159_0xd840();let _0x5170ec=_0xd84020[_0x1fa3b3];return _0x5170ec;}export function generateCommandHelp(_0xffa77a){const _0x330bec=a159_0x2323b7;return generators[_0x330bec(0x161)](_0xffa77a);}export const generateServiceHelp=generators[a159_0x2323b7(0x162)];function a159_0xd840(){const _0x56553f=['generateCommandHelp','generateServiceHelp','Requires\x20appcode\x20(set\x20via\x20`','1451044rAAhZY','839864EzVzvF','355305oFvXQT','get','225vFTGHS','7nZFzvO','1590543WmmFtu','\x20project\x20init`\x20or\x20--appcode).','4638BlrFQb','generateFullHelp','139835iQmnfT','3830604ZJIepB'];a159_0xd840=function(){return _0x56553f;};return a159_0xd840();}export const generateFullHelp=generators[a159_0x2323b7(0x15e)];
1
+ const a159_0x3d393e=a159_0x9f96;(function(_0xbd2e8d,_0x5304af){const _0x992a03=a159_0x9f96,_0xeaebc=_0xbd2e8d();while(!![]){try{const _0x43802d=-parseInt(_0x992a03(0x1da))/0x1+-parseInt(_0x992a03(0x1de))/0x2*(-parseInt(_0x992a03(0x1e9))/0x3)+-parseInt(_0x992a03(0x1dc))/0x4*(parseInt(_0x992a03(0x1e3))/0x5)+parseInt(_0x992a03(0x1e1))/0x6*(parseInt(_0x992a03(0x1db))/0x7)+-parseInt(_0x992a03(0x1e8))/0x8*(parseInt(_0x992a03(0x1e2))/0x9)+-parseInt(_0x992a03(0x1e7))/0xa+parseInt(_0x992a03(0x1e6))/0xb*(parseInt(_0x992a03(0x1d7))/0xc);if(_0x43802d===_0x5304af)break;else _0xeaebc['push'](_0xeaebc['shift']());}catch(_0x2a9bd7){_0xeaebc['push'](_0xeaebc['shift']());}}}(a159_0x58e3,0xc8f02));import{createHelpGenerators}from'@lovrabet/cli-framework';function a159_0x58e3(){const _0x40a8f7=['generateServiceHelp','55xeLfbS','12922980XPkTSz','5107848bDrNRK','2351598yBGLGF','1714236snqfif','\x20project\x20init`\x20or\x20--appcode).','generateFullHelp','105117jTmKNh','500374qRkjva','5908eHNOHU','Requires\x20appcode\x20(set\x20via\x20`','2nQQbRL','\x20[args]\x20[flags]','get','126JTTdSt','9MRUGAt','475XfpmVY','generateCommandHelp'];a159_0x58e3=function(){return _0x40a8f7;};return a159_0x58e3();}import{buildAllFlags}from'../framework/build-all-flags.js';import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';const generators=createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x5bace1=>serviceGroups[a159_0x3d393e(0x1e0)](_0x5bace1),'buildAllFlags':buildAllFlags,'appPrerequisiteText':a159_0x3d393e(0x1dd)+CLI_BIN_NAME+a159_0x3d393e(0x1d8),'serviceUsageSuffix':a159_0x3d393e(0x1df),'includeWildcardExtraInFullHelp':!![]});export function generateCommandHelp(_0x5e6528){const _0x59a1c5=a159_0x3d393e;return generators[_0x59a1c5(0x1e4)](_0x5e6528);}function a159_0x9f96(_0x3a9935,_0x545c60){_0x3a9935=_0x3a9935-0x1d7;const _0x58e3f0=a159_0x58e3();let _0x9f96b2=_0x58e3f0[_0x3a9935];return _0x9f96b2;}export const generateServiceHelp=generators[a159_0x3d393e(0x1e5)];export const generateFullHelp=generators[a159_0x3d393e(0x1d9)];
@@ -1 +1 @@
1
- (function(_0x1c4892,_0x4cabfb){var _0x27f191=a160_0x5a48,_0x44712e=_0x1c4892();while(!![]){try{var _0x181dca=-parseInt(_0x27f191(0x1a4))/0x1+-parseInt(_0x27f191(0x1a5))/0x2*(parseInt(_0x27f191(0x1a9))/0x3)+parseInt(_0x27f191(0x1a3))/0x4*(-parseInt(_0x27f191(0x1a2))/0x5)+-parseInt(_0x27f191(0x1a8))/0x6*(-parseInt(_0x27f191(0x1a7))/0x7)+-parseInt(_0x27f191(0x1ad))/0x8+parseInt(_0x27f191(0x1ab))/0x9*(-parseInt(_0x27f191(0x1aa))/0xa)+parseInt(_0x27f191(0x1a6))/0xb*(parseInt(_0x27f191(0x1ac))/0xc);if(_0x181dca===_0x4cabfb)break;else _0x44712e['push'](_0x44712e['shift']());}catch(_0x5ea8c9){_0x44712e['push'](_0x44712e['shift']());}}}(a160_0xf77c,0x7e70f));export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';function a160_0x5a48(_0x2c354e,_0x421cf1){_0x2c354e=_0x2c354e-0x1a2;var _0xf77c0e=a160_0xf77c();var _0x5a4866=_0xf77c0e[_0x2c354e];return _0x5a4866;}export{extractList,extractPaging}from'../framework/response.js';export{riskLevelOrder}from'../framework/types.js';function a160_0xf77c(){var _0x2ba360=['5TEMJRC','364972vFvmEp','534704JuERMG','17450bSEXuI','14619qAbgnP','189FWQRxL','114702ERHlMV','261iTVtoO','10GLuZDA','8574678tarwJk','27996FBuDQj','6088392XYrTuy'];a160_0xf77c=function(){return _0x2ba360;};return a160_0xf77c();}
1
+ function a160_0x232f(_0x159e25,_0x10089a){_0x159e25=_0x159e25-0x1d3;var _0x397b1f=a160_0x397b();var _0x232f68=_0x397b1f[_0x159e25];return _0x232f68;}(function(_0x43f4a6,_0x550050){var _0x119606=a160_0x232f,_0x54c167=_0x43f4a6();while(!![]){try{var _0x23926c=-parseInt(_0x119606(0x1d5))/0x1*(-parseInt(_0x119606(0x1d6))/0x2)+parseInt(_0x119606(0x1d4))/0x3*(parseInt(_0x119606(0x1d3))/0x4)+parseInt(_0x119606(0x1d7))/0x5+parseInt(_0x119606(0x1d9))/0x6*(-parseInt(_0x119606(0x1dc))/0x7)+parseInt(_0x119606(0x1db))/0x8*(parseInt(_0x119606(0x1d8))/0x9)+-parseInt(_0x119606(0x1da))/0xa+-parseInt(_0x119606(0x1dd))/0xb;if(_0x23926c===_0x550050)break;else _0x54c167['push'](_0x54c167['shift']());}catch(_0x2b612e){_0x54c167['push'](_0x54c167['shift']());}}}(a160_0x397b,0x730fa));export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';function a160_0x397b(){var _0x3d2f08=['715746blOlCB','1813620rNdLfH','1217360qqnbPi','35Vjworr','1142889YgVuKu','1784XXmfva','324xeyOGL','51506OolybM','10ZMWjim','3714840CUZndH','18sQgTax'];a160_0x397b=function(){return _0x3d2f08;};return a160_0x397b();}export{riskLevelOrder}from'../framework/types.js';
@@ -1 +1 @@
1
- (function(_0x56f743,_0x117427){const _0x7a751=a161_0xd640,_0x2846a0=_0x56f743();while(!![]){try{const _0x52a13b=parseInt(_0x7a751(0x177))/0x1+-parseInt(_0x7a751(0x17b))/0x2+-parseInt(_0x7a751(0x178))/0x3+parseInt(_0x7a751(0x179))/0x4+-parseInt(_0x7a751(0x17a))/0x5*(-parseInt(_0x7a751(0x17c))/0x6)+-parseInt(_0x7a751(0x17d))/0x7+parseInt(_0x7a751(0x17e))/0x8;if(_0x52a13b===_0x117427)break;else _0x2846a0['push'](_0x2846a0['shift']());}catch(_0x10b541){_0x2846a0['push'](_0x2846a0['shift']());}}}(a161_0x3851,0x48fbb));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a161_0xd640(_0x37df06,_0x14767d){_0x37df06=_0x37df06-0x177;const _0x38516f=a161_0x3851();let _0xd6406e=_0x38516f[_0x37df06];return _0xd6406e;}function a161_0x3851(){const _0x2f2f37=['6052016vDeQtj','141109JvXkYh','1564500lgzjKS','501304MQakrg','20745YcIHvg','101492VOiNfb','534RdoBZT','3647091HYugfp'];a161_0x3851=function(){return _0x2f2f37;};return a161_0x3851();}export const formatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});
1
+ (function(_0x59b44f,_0x368cbe){const _0x153112=a161_0x152a,_0xbb94fb=_0x59b44f();while(!![]){try{const _0x5b1c52=-parseInt(_0x153112(0x12a))/0x1*(-parseInt(_0x153112(0x130))/0x2)+-parseInt(_0x153112(0x127))/0x3+parseInt(_0x153112(0x12c))/0x4+parseInt(_0x153112(0x12f))/0x5*(-parseInt(_0x153112(0x12e))/0x6)+-parseInt(_0x153112(0x129))/0x7*(-parseInt(_0x153112(0x126))/0x8)+parseInt(_0x153112(0x12d))/0x9+parseInt(_0x153112(0x12b))/0xa*(-parseInt(_0x153112(0x128))/0xb);if(_0x5b1c52===_0x368cbe)break;else _0xbb94fb['push'](_0xbb94fb['shift']());}catch(_0x1e1802){_0xbb94fb['push'](_0xbb94fb['shift']());}}}(a161_0x3f23,0xc6130));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';export const formatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});function a161_0x152a(_0x2f030c,_0x4f52cf){_0x2f030c=_0x2f030c-0x126;const _0x3f232d=a161_0x3f23();let _0x152a2e=_0x3f232d[_0x2f030c];return _0x152a2e;}function a161_0x3f23(){const _0x4ffaf4=['22AOFGlk','3626XLGcIY','1QEAlcw','12120930JUcCka','666920lroqUX','9531333JsHeSn','18gFbtxu','234035SLyUtp','2418986qPaWSW','23864izgNAQ','1813605UcQyOi'];a161_0x3f23=function(){return _0x4ffaf4;};return a161_0x3f23();}
@@ -1 +1 @@
1
- function a162_0x2f98(_0x5beb0a,_0xffcf6b){_0x5beb0a=_0x5beb0a-0x1c0;var _0x43917b=a162_0x4391();var _0x2f98b3=_0x43917b[_0x5beb0a];return _0x2f98b3;}(function(_0x16da82,_0x5d0ecd){var _0x2c41b4=a162_0x2f98,_0x2b4fa1=_0x16da82();while(!![]){try{var _0x251a3b=parseInt(_0x2c41b4(0x1c7))/0x1*(-parseInt(_0x2c41b4(0x1c3))/0x2)+-parseInt(_0x2c41b4(0x1cc))/0x3*(-parseInt(_0x2c41b4(0x1c0))/0x4)+-parseInt(_0x2c41b4(0x1c2))/0x5*(parseInt(_0x2c41b4(0x1c4))/0x6)+parseInt(_0x2c41b4(0x1c1))/0x7*(parseInt(_0x2c41b4(0x1cb))/0x8)+-parseInt(_0x2c41b4(0x1c9))/0x9+-parseInt(_0x2c41b4(0x1c5))/0xa*(-parseInt(_0x2c41b4(0x1c8))/0xb)+-parseInt(_0x2c41b4(0x1c6))/0xc*(-parseInt(_0x2c41b4(0x1ca))/0xd);if(_0x251a3b===_0x5d0ecd)break;else _0x2b4fa1['push'](_0x2b4fa1['shift']());}catch(_0x42f5d7){_0x2b4fa1['push'](_0x2b4fa1['shift']());}}}(a162_0x4391,0xec7df));export{extractList,extractPaging}from'@lovrabet/cli-framework';function a162_0x4391(){var _0x1f8e3f=['252SftxQa','275033SfKwtj','2960837PGGvEV','9376938fJDDxO','883714dNJppA','2731576kTTnAR','267wfgXUm','20396tEfhvy','14uoilFD','10ajifhb','14hPCFaG','1537884FuxGQO','70bpTxyf'];a162_0x4391=function(){return _0x1f8e3f;};return a162_0x4391();}
1
+ function a162_0x2f09(_0x403d61,_0x1e641f){_0x403d61=_0x403d61-0xbe;var _0xa9528e=a162_0xa952();var _0x2f09d6=_0xa9528e[_0x403d61];return _0x2f09d6;}function a162_0xa952(){var _0x4dbfc8=['566zVDIKB','1619808UmCGkV','124452HtzGTs','1960QNjVmn','695195uydUdx','1429ZubJar','3wkCQGY','6385962yngqnA','66pelCJI','179067tqHHwR','9081IqxNTw','12IiJaXL'];a162_0xa952=function(){return _0x4dbfc8;};return a162_0xa952();}(function(_0xf71d5e,_0x329a97){var _0x4434d7=a162_0x2f09,_0x15f00c=_0xf71d5e();while(!![]){try{var _0x5f53f8=-parseInt(_0x4434d7(0xc7))/0x1*(-parseInt(_0x4434d7(0xc2))/0x2)+-parseInt(_0x4434d7(0xc8))/0x3*(parseInt(_0x4434d7(0xc4))/0x4)+parseInt(_0x4434d7(0xc6))/0x5+parseInt(_0x4434d7(0xbe))/0x6*(parseInt(_0x4434d7(0xbf))/0x7)+parseInt(_0x4434d7(0xc3))/0x8+-parseInt(_0x4434d7(0xc0))/0x9*(parseInt(_0x4434d7(0xc5))/0xa)+parseInt(_0x4434d7(0xc9))/0xb*(-parseInt(_0x4434d7(0xc1))/0xc);if(_0x5f53f8===_0x329a97)break;else _0x15f00c['push'](_0x15f00c['shift']());}catch(_0x21f34c){_0x15f00c['push'](_0x15f00c['shift']());}}}(a162_0xa952,0x35326));export{extractList,extractPaging}from'@lovrabet/cli-framework';
@@ -1 +1 @@
1
- function a163_0x577e(){const _0x4ee231=['code','name','validation','1511882xjEvAS','join','some','278490DQuScT','Available\x20aliases:\x20','544HBDJkZ','319JCxKHN','No\x20api.ts\x20found\x20in\x20','57591qFtiab','type','\x22.\x20','\x20api\x20pull`\x20first.','`\x20requires\x20either\x20--code\x20or\x20--alias.','Unknown\x20alias\x20\x22','flags','36029940TPbPEM','172lNmZDD','map','176615qSZpnH','387678IWfkSg','70RDpGLy','13620EAKADO','94WMrOIW','string','alias','.\x20Run\x20`'];a163_0x577e=function(){return _0x4ee231;};return a163_0x577e();}(function(_0x974c52,_0x360b85){const _0x2b0e44=a163_0x156a,_0x2c0738=_0x974c52();while(!![]){try{const _0x284d0c=parseInt(_0x2b0e44(0x164))/0x1+-parseInt(_0x2b0e44(0x15d))/0x2*(parseInt(_0x2b0e44(0x15c))/0x3)+-parseInt(_0x2b0e44(0x157))/0x4*(-parseInt(_0x2b0e44(0x159))/0x5)+-parseInt(_0x2b0e44(0x15a))/0x6*(-parseInt(_0x2b0e44(0x15b))/0x7)+parseInt(_0x2b0e44(0x169))/0x8*(-parseInt(_0x2b0e44(0x16c))/0x9)+parseInt(_0x2b0e44(0x167))/0xa*(parseInt(_0x2b0e44(0x16a))/0xb)+-parseInt(_0x2b0e44(0x156))/0xc;if(_0x284d0c===_0x360b85)break;else _0x2c0738['push'](_0x2c0738['shift']());}catch(_0x22d7c7){_0x2c0738['push'](_0x2c0738['shift']());}}}(a163_0x577e,0xcb7eb));import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';function a163_0x156a(_0x331ca1,_0x24d2f3){_0x331ca1=_0x331ca1-0x156;const _0x577e57=a163_0x577e();let _0x156acb=_0x577e57[_0x331ca1];return _0x156acb;}import{CLI_BIN_NAME}from'../constant/cli.js';export function resolveAliasToCode(_0x2e9352,_0x4e3dc4,_0x4ba849,_0x479836){const _0x155f93=a163_0x156a,_0x6ebe9b=_0x2e9352[_0x155f93(0x172)]['some'](_0x32c626=>_0x32c626[_0x155f93(0x162)]==='code'&&_0x32c626[_0x155f93(0x16d)]===_0x155f93(0x15e)),_0x108bf2=_0x2e9352[_0x155f93(0x172)][_0x155f93(0x166)](_0xc157e3=>_0xc157e3[_0x155f93(0x162)]===_0x155f93(0x15f)&&_0xc157e3[_0x155f93(0x16d)]===_0x155f93(0x15e));if(!_0x6ebe9b||!_0x108bf2)return;const _0x32eb6d=_0x4e3dc4[_0x155f93(0x161)]?String(_0x4e3dc4[_0x155f93(0x161)]):'',_0x341104=_0x4e3dc4[_0x155f93(0x15f)]?String(_0x4e3dc4[_0x155f93(0x15f)]):'';if(!_0x32eb6d&&!_0x341104)throw CliErrors[_0x155f93(0x163)]('`'+_0x479836+_0x155f93(0x170));if(_0x341104&&!_0x32eb6d){const _0x472502=resolveAlias(_0x4ba849,_0x341104);if(!_0x472502){const _0x52a955=listAliases(_0x4ba849)[_0x155f93(0x158)](_0x229508=>_0x229508[_0x155f93(0x15f)]),_0x4be209=_0x52a955['length']?_0x155f93(0x168)+_0x52a955[_0x155f93(0x165)](',\x20'):_0x155f93(0x16b)+_0x4ba849+_0x155f93(0x160)+CLI_BIN_NAME+_0x155f93(0x16f);throw CliErrors[_0x155f93(0x163)](_0x155f93(0x171)+_0x341104+_0x155f93(0x16e)+_0x4be209);}_0x4e3dc4[_0x155f93(0x161)]=_0x472502;}}
1
+ (function(_0xe9fcfe,_0x38f21e){const _0x548cbe=a163_0x4438,_0x4f0ce3=_0xe9fcfe();while(!![]){try{const _0x1b8544=parseInt(_0x548cbe(0x1a5))/0x1+parseInt(_0x548cbe(0x194))/0x2+-parseInt(_0x548cbe(0x1a3))/0x3*(parseInt(_0x548cbe(0x19a))/0x4)+parseInt(_0x548cbe(0x196))/0x5+parseInt(_0x548cbe(0x195))/0x6+parseInt(_0x548cbe(0x198))/0x7*(-parseInt(_0x548cbe(0x19b))/0x8)+parseInt(_0x548cbe(0x19d))/0x9*(parseInt(_0x548cbe(0x18f))/0xa);if(_0x1b8544===_0x38f21e)break;else _0x4f0ce3['push'](_0x4f0ce3['shift']());}catch(_0x1259f4){_0x4f0ce3['push'](_0x4f0ce3['shift']());}}}(a163_0xd625,0x8127f));import{CliErrors}from'../errors.js';function a163_0x4438(_0x255b37,_0x54890c){_0x255b37=_0x255b37-0x18f;const _0xd62535=a163_0xd625();let _0x443894=_0xd62535[_0x255b37];return _0x443894;}import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';function a163_0xd625(){const _0x6f6576=['1074472tzKzvj','alias','9LdECxD','join','validation','length','map','Unknown\x20alias\x20\x22','3ThxBFX','\x22.\x20','391956iROWFA','`\x20requires\x20either\x20--code\x20or\x20--alias.','390890wFsaDR','some','string','\x20api\x20pull`\x20first.','code','279312RIeeJv','407886DYIrTo','1231230VKqfin','type','7nYruNM','flags','886384dcYNZd'];a163_0xd625=function(){return _0x6f6576;};return a163_0xd625();}export function resolveAliasToCode(_0x2af391,_0x531bb4,_0x28251a,_0x3dbedd){const _0x102bec=a163_0x4438,_0x11e078=_0x2af391[_0x102bec(0x199)][_0x102bec(0x190)](_0x4c6019=>_0x4c6019['name']==='code'&&_0x4c6019[_0x102bec(0x197)]==='string'),_0x4b76ad=_0x2af391[_0x102bec(0x199)]['some'](_0x47f5ec=>_0x47f5ec['name']===_0x102bec(0x19c)&&_0x47f5ec['type']===_0x102bec(0x191));if(!_0x11e078||!_0x4b76ad)return;const _0x3ce92e=_0x531bb4[_0x102bec(0x193)]?String(_0x531bb4[_0x102bec(0x193)]):'',_0xb08c01=_0x531bb4[_0x102bec(0x19c)]?String(_0x531bb4[_0x102bec(0x19c)]):'';if(!_0x3ce92e&&!_0xb08c01)throw CliErrors[_0x102bec(0x19f)]('`'+_0x3dbedd+_0x102bec(0x1a6));if(_0xb08c01&&!_0x3ce92e){const _0x5117ae=resolveAlias(_0x28251a,_0xb08c01);if(!_0x5117ae){const _0x1c9078=listAliases(_0x28251a)[_0x102bec(0x1a1)](_0x50db14=>_0x50db14[_0x102bec(0x19c)]),_0x45becd=_0x1c9078[_0x102bec(0x1a0)]?'Available\x20aliases:\x20'+_0x1c9078[_0x102bec(0x19e)](',\x20'):'No\x20api.ts\x20found\x20in\x20'+_0x28251a+'.\x20Run\x20`'+CLI_BIN_NAME+_0x102bec(0x192);throw CliErrors[_0x102bec(0x19f)](_0x102bec(0x1a2)+_0xb08c01+_0x102bec(0x1a4)+_0x45becd);}_0x531bb4[_0x102bec(0x193)]=_0x5117ae;}}
@@ -1 +1 @@
1
- function a164_0x94de(){const _0x4e8b5a=['apiDir','map','requiresAppCode','High-risk\x20operation\x20`','appcode','2195598CxUxxS','2453152lBoxGq','verbose','filter','resolveApiDomain','9bEjHnh','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','authRequired','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','mergedCli','\x20\x20\x20Continue?\x20[y/N]\x20','pageSize','format','../core/api-client.js','explicitAppName','7811052EyWulH','⚠\x20\x20High-risk\x20operation:\x20','37695zrjlRA','appCode','validation','currentApp','defaultPageSize','resolveAppCode','configMissing','76MIhpkH','name','apps','riskLevel','1051260WdZLIX','cookie','2215500hcwmcP','2473821xbfoeD','defaultApp','Set\x20appcode\x20via\x20`','selectedAppName','has','isNonInteractive'];a164_0x94de=function(){return _0x4e8b5a;};return a164_0x94de();}const a164_0x15c8f8=a164_0x2843;(function(_0x4d8f71,_0x235de8){const _0x38985d=a164_0x2843,_0x10ea45=_0x4d8f71();while(!![]){try{const _0x559349=-parseInt(_0x38985d(0x175))/0x1+-parseInt(_0x38985d(0x177))/0x2+parseInt(_0x38985d(0x183))/0x3+parseInt(_0x38985d(0x171))/0x4*(parseInt(_0x38985d(0x16a))/0x5)+parseInt(_0x38985d(0x168))/0x6+parseInt(_0x38985d(0x178))/0x7+parseInt(_0x38985d(0x184))/0x8*(parseInt(_0x38985d(0x188))/0x9);if(_0x559349===_0x235de8)break;else _0x10ea45['push'](_0x10ea45['shift']());}catch(_0x5cec81){_0x10ea45['push'](_0x10ea45['shift']());}}}(a164_0x94de,0xa5862));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';function a164_0x2843(_0x4c2f1a,_0x15ac24){_0x4c2f1a=_0x4c2f1a-0x164;const _0x94deeb=a164_0x94de();let _0x2843e7=_0x94deeb[_0x4c2f1a];return _0x2843e7;}import{DEFAULT_API_DIR}from'../constant/paths.js';import{isNonInteractive as a164_0x4c5297}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';export function createPipelineEnv(_0x335296,_0x1fc1a8,_0x39ae6e=[]){const _0x346f3f=a164_0x2843;return{'rawFlags':_0x1fc1a8,'args':_0x39ae6e,'resolveAppCode':()=>_0x335296[_0x346f3f(0x16b)]||_0x1fc1a8[_0x346f3f(0x182)]||process.env.RABETBASE_APPCODE||process.env.LOVRABET_APPCODE||undefined,'resolveCookie':()=>_0x335296[_0x346f3f(0x176)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a164_0x4c5297(_0x1fc1a8),'defaultFormat':_0x335296[_0x346f3f(0x165)],'defaultPageSize':_0x335296[_0x346f3f(0x164)],'defaultVerbose':_0x335296[_0x346f3f(0x185)],'apiDir':_0x335296['apiDir'],'riskLevel':_0x335296[_0x346f3f(0x174)],'selectedAppName':_0x335296[_0x346f3f(0x167)],'mergedCli':{'defaultApp':_0x335296[_0x346f3f(0x179)],'currentApp':_0x335296[_0x346f3f(0x16d)],'appCode':_0x335296['appCode'],'apps':_0x335296[_0x346f3f(0x173)]}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[a164_0x15c8f8(0x186)](_0x4f8565=>PIPELINE_FLAG_NAMES[a164_0x15c8f8(0x17c)](_0x4f8565[a164_0x15c8f8(0x172)]))[a164_0x15c8f8(0x17f)](({name:_0x50f961,type:_0x1f432f,description:_0x405555})=>({'name':_0x50f961,'type':_0x1f432f,'description':_0x405555})),'formatOutput':formatOutput,'getCommandLabel'(_0x1c4c8e){return CLI_BIN_NAME+'\x20'+_0x1c4c8e['service']+'\x20'+_0x1c4c8e['command'];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x51f969){const _0x21fc7b=a164_0x15c8f8;return CliErrors[_0x21fc7b(0x16c)](_0x51f969);}},async 'prepare'(_0x2460ff,_0x51d012,_0x3a40d0,_0x3e926d){const _0x1d5804=a164_0x15c8f8,_0x54dee1=_0x51d012[_0x1d5804(0x17e)]||DEFAULT_API_DIR;resolveAliasToCode(_0x2460ff,_0x3a40d0,_0x54dee1,_0x3e926d);let _0x1aebc7='';if(_0x2460ff['requiresAuth']!==![]){_0x1aebc7=_0x51d012['resolveCookie']();if(!_0x1aebc7)throw CliErrors[_0x1d5804(0x18a)]();const {setActiveCookie:_0x54965f}=await import(_0x1d5804(0x166));_0x54965f(_0x1aebc7);}let _0x231e0c='';if(_0x2460ff[_0x1d5804(0x180)]!==![]){_0x231e0c=_0x51d012[_0x1d5804(0x16f)]()??'';if(!_0x231e0c)throw CliErrors[_0x1d5804(0x170)](_0x1d5804(0x17a)+CLI_BIN_NAME+_0x1d5804(0x18b));}return{'defaults':{'booleans':{'verbose':_0x51d012['defaultVerbose']},'numbers':{'pagesize':_0x51d012[_0x1d5804(0x16e)]}},'extras':{'appCode':_0x231e0c,'cookie':_0x1aebc7,'apiDomain':_0x51d012[_0x1d5804(0x187)](),'apiDir':_0x54dee1,'selectedAppName':_0x51d012[_0x1d5804(0x17b)],'mergedCli':_0x51d012[_0x1d5804(0x18c)]}};},async 'confirmHighRisk'({env:_0x57ed79,commandLabel:_0x14f645}){const _0x3e06ba=a164_0x15c8f8;if(_0x57ed79[_0x3e06ba(0x17d)])throw CliErrors[_0x3e06ba(0x16c)](_0x3e06ba(0x181)+_0x14f645+_0x3e06ba(0x189));await requireConfirmationPrompt({'lines':[_0x3e06ba(0x169)+_0x14f645,_0x3e06ba(0x18d)],'createCancelledError':_0x1efa2a=>CliErrors['cancelled'](_0x1efa2a)});},async 'finalize'(){const _0x364381=a164_0x15c8f8,{clearActiveCookie:_0xa54331}=await import(_0x364381(0x166));_0xa54331();}};export async function runCommand(_0x558151,_0xd411d3){await runCommandWithAdapter(_0x558151,_0xd411d3,runnerAdapter);}
1
+ const a164_0x28fd72=a164_0x3526;(function(_0x3537f6,_0x415608){const _0x19edc9=a164_0x3526,_0x2ce27f=_0x3537f6();while(!![]){try{const _0x3b6a84=-parseInt(_0x19edc9(0x16d))/0x1*(parseInt(_0x19edc9(0x185))/0x2)+parseInt(_0x19edc9(0x167))/0x3*(-parseInt(_0x19edc9(0x170))/0x4)+-parseInt(_0x19edc9(0x18b))/0x5*(parseInt(_0x19edc9(0x16f))/0x6)+-parseInt(_0x19edc9(0x184))/0x7*(parseInt(_0x19edc9(0x17e))/0x8)+-parseInt(_0x19edc9(0x183))/0x9+parseInt(_0x19edc9(0x16b))/0xa+parseInt(_0x19edc9(0x189))/0xb;if(_0x3b6a84===_0x415608)break;else _0x2ce27f['push'](_0x2ce27f['shift']());}catch(_0x12ac4b){_0x2ce27f['push'](_0x2ce27f['shift']());}}}(a164_0x1c06,0xa50f0));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';function a164_0x3526(_0xb59383,_0x46cd10){_0xb59383=_0xb59383-0x162;const _0x1c0678=a164_0x1c06();let _0x352613=_0x1c0678[_0xb59383];return _0x352613;}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 a164_0x3b86b2}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';export function createPipelineEnv(_0x339b2f,_0x204ecd,_0x4ec64f=[]){const _0x1f2621=a164_0x3526;return{'rawFlags':_0x204ecd,'args':_0x4ec64f,'resolveAppCode':()=>_0x339b2f[_0x1f2621(0x178)]||_0x204ecd[_0x1f2621(0x177)]||process.env.RABETBASE_APPCODE||process.env.LOVRABET_APPCODE||undefined,'resolveCookie':()=>_0x339b2f[_0x1f2621(0x179)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a164_0x3b86b2(_0x204ecd),'defaultFormat':_0x339b2f[_0x1f2621(0x172)],'defaultPageSize':_0x339b2f['pageSize'],'defaultVerbose':_0x339b2f[_0x1f2621(0x169)],'apiDir':_0x339b2f['apiDir'],'riskLevel':_0x339b2f[_0x1f2621(0x176)],'selectedAppName':_0x339b2f['explicitAppName'],'mergedCli':{'defaultApp':_0x339b2f[_0x1f2621(0x16c)],'currentApp':_0x339b2f[_0x1f2621(0x17c)],'appCode':_0x339b2f[_0x1f2621(0x178)],'apps':_0x339b2f[_0x1f2621(0x163)]}};}function a164_0x1c06(){const _0x5a8412=['apps','../core/api-client.js','mergedCli','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','12552LSXYub','resolveAppCode','verbose','High-risk\x20operation\x20`','1877450wyXqtg','defaultApp','16645SBwZOP','\x20\x20\x20Continue?\x20[y/N]\x20','426dLwFCW','1252atyZIT','Set\x20appcode\x20via\x20`','format','⚠\x20\x20High-risk\x20operation:\x20','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','service','riskLevel','appcode','appCode','cookie','resolveApiDomain','defaultPageSize','currentApp','configMissing','8ZdSUpy','authRequired','command','requiresAuth','isNonInteractive','9110862cUegcY','5026595jCbnUR','26sTuTdK','cancelled','name','validation','47846766SGdHfY','filter','42605oDrMYE','resolveCookie'];a164_0x1c06=function(){return _0x5a8412;};return a164_0x1c06();}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[a164_0x28fd72(0x18a)](_0x4e567f=>PIPELINE_FLAG_NAMES['has'](_0x4e567f[a164_0x28fd72(0x187)]))['map'](({name:_0x25f7af,type:_0x5341c0,description:_0x4432b8})=>({'name':_0x25f7af,'type':_0x5341c0,'description':_0x4432b8})),'formatOutput':formatOutput,'getCommandLabel'(_0x5dce94){const _0x588c47=a164_0x28fd72;return CLI_BIN_NAME+'\x20'+_0x5dce94[_0x588c47(0x175)]+'\x20'+_0x5dce94[_0x588c47(0x180)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x39dcf6){const _0x558827=a164_0x28fd72;return CliErrors[_0x558827(0x188)](_0x39dcf6);}},async 'prepare'(_0x2b9179,_0x4e6cbc,_0x3c6b30,_0xdbcef4){const _0x9bb8d5=a164_0x28fd72,_0x2469e5=_0x4e6cbc['apiDir']||DEFAULT_API_DIR;resolveAliasToCode(_0x2b9179,_0x3c6b30,_0x2469e5,_0xdbcef4);let _0x376559='';if(_0x2b9179[_0x9bb8d5(0x181)]!==![]){_0x376559=_0x4e6cbc[_0x9bb8d5(0x162)]();if(!_0x376559)throw CliErrors[_0x9bb8d5(0x17f)]();const {setActiveCookie:_0x40c62c}=await import('../core/api-client.js');_0x40c62c(_0x376559);}let _0x4bfb9d='';if(_0x2b9179['requiresAppCode']!==![]){_0x4bfb9d=_0x4e6cbc[_0x9bb8d5(0x168)]()??'';if(!_0x4bfb9d)throw CliErrors[_0x9bb8d5(0x17d)](_0x9bb8d5(0x171)+CLI_BIN_NAME+_0x9bb8d5(0x174));}return{'defaults':{'booleans':{'verbose':_0x4e6cbc['defaultVerbose']},'numbers':{'pagesize':_0x4e6cbc[_0x9bb8d5(0x17b)]}},'extras':{'appCode':_0x4bfb9d,'cookie':_0x376559,'apiDomain':_0x4e6cbc[_0x9bb8d5(0x17a)](),'apiDir':_0x2469e5,'selectedAppName':_0x4e6cbc['selectedAppName'],'mergedCli':_0x4e6cbc[_0x9bb8d5(0x165)]}};},async 'confirmHighRisk'({env:_0x47049d,commandLabel:_0x3a78a5}){const _0x138fe0=a164_0x28fd72;if(_0x47049d[_0x138fe0(0x182)])throw CliErrors[_0x138fe0(0x188)](_0x138fe0(0x16a)+_0x3a78a5+_0x138fe0(0x166));await requireConfirmationPrompt({'lines':[_0x138fe0(0x173)+_0x3a78a5,_0x138fe0(0x16e)],'createCancelledError':_0x238a9c=>CliErrors[_0x138fe0(0x186)](_0x238a9c)});},async 'finalize'(){const _0xc25927=a164_0x28fd72,{clearActiveCookie:_0x5ce0fb}=await import(_0xc25927(0x164));_0x5ce0fb();}};export async function runCommand(_0x150e62,_0x316471){await runCommandWithAdapter(_0x150e62,_0x316471,runnerAdapter);}
@@ -1 +1 @@
1
- (function(_0x11c222,_0x12f4b5){const _0x543010=a165_0x4241,_0x55c5e2=_0x11c222();while(!![]){try{const _0x43b0ff=parseInt(_0x543010(0x71))/0x1*(parseInt(_0x543010(0x72))/0x2)+parseInt(_0x543010(0x75))/0x3+parseInt(_0x543010(0x6f))/0x4*(-parseInt(_0x543010(0x6d))/0x5)+-parseInt(_0x543010(0x74))/0x6+parseInt(_0x543010(0x6e))/0x7+parseInt(_0x543010(0x70))/0x8+-parseInt(_0x543010(0x73))/0x9*(parseInt(_0x543010(0x6c))/0xa);if(_0x43b0ff===_0x12f4b5)break;else _0x55c5e2['push'](_0x55c5e2['shift']());}catch(_0x570aac){_0x55c5e2['push'](_0x55c5e2['shift']());}}}(a165_0x384e,0x57b3f));import{buildSchemaPayload as a165_0x4e9e4e}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';function a165_0x4241(_0x14e8f7,_0x327e7a){_0x14e8f7=_0x14e8f7-0x6c;const _0x384e27=a165_0x384e();let _0x4241f2=_0x384e27[_0x14e8f7];return _0x4241f2;}import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const {serviceRegistry:_0x19b5f1,findDefinition:_0x2a1a00}=await import('../commands/registry.js');return a165_0x4e9e4e({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x19b5f1,'buildAllFlags':buildAllFlags,'findDefinition':_0x2a1a00});}function a165_0x384e(){const _0x791a26=['1984680TxVVhv','3010782GeoioT','741213EBAJzK','10kzQWDP','25uONyDG','3219797KFeDGM','212468DNgrlR','77720JxAIdu','2iEFTZZ','630376VCJbPN'];a165_0x384e=function(){return _0x791a26;};return a165_0x384e();}
1
+ (function(_0x16928b,_0x26b9ff){const _0x52c3f5=a165_0x346c,_0x10e59b=_0x16928b();while(!![]){try{const _0x286e36=-parseInt(_0x52c3f5(0x14f))/0x1+parseInt(_0x52c3f5(0x156))/0x2*(parseInt(_0x52c3f5(0x15c))/0x3)+-parseInt(_0x52c3f5(0x157))/0x4*(parseInt(_0x52c3f5(0x152))/0x5)+-parseInt(_0x52c3f5(0x158))/0x6*(-parseInt(_0x52c3f5(0x159))/0x7)+parseInt(_0x52c3f5(0x150))/0x8*(parseInt(_0x52c3f5(0x153))/0x9)+parseInt(_0x52c3f5(0x151))/0xa*(parseInt(_0x52c3f5(0x15a))/0xb)+parseInt(_0x52c3f5(0x15b))/0xc*(-parseInt(_0x52c3f5(0x155))/0xd);if(_0x286e36===_0x26b9ff)break;else _0x10e59b['push'](_0x10e59b['shift']());}catch(_0x3fe0ac){_0x10e59b['push'](_0x10e59b['shift']());}}}(a165_0x1bdb,0x77694));function a165_0x346c(_0x5dfb4b,_0x26d999){_0x5dfb4b=_0x5dfb4b-0x14f;const _0x1bdbcf=a165_0x1bdb();let _0x346c16=_0x1bdbcf[_0x5dfb4b];return _0x346c16;}import{buildSchemaPayload as a165_0x125ee3}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';function a165_0x1bdb(){const _0x213e5c=['501125BiKMSZ','24VjgjCG','9271910iweplH','1536010TUVSCY','2781720miwsVo','../commands/registry.js','13XvgVrY','4946IKtXyr','8KYTbwJ','1222686pwLush','7FvAmsg','11MKqebf','5561604CFvTpC','12dYvuSh'];a165_0x1bdb=function(){return _0x213e5c;};return a165_0x1bdb();}import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x1eb706=a165_0x346c,{serviceRegistry:_0x5e1037,findDefinition:_0x18bd0d}=await import(_0x1eb706(0x154));return a165_0x125ee3({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x5e1037,'buildAllFlags':buildAllFlags,'findDefinition':_0x18bd0d});}
@@ -1 +1 @@
1
- (function(_0x587970,_0x452bf6){var _0x534d0a=a166_0x4989,_0x57edb7=_0x587970();while(!![]){try{var _0x45d01f=-parseInt(_0x534d0a(0x111))/0x1*(parseInt(_0x534d0a(0x115))/0x2)+parseInt(_0x534d0a(0x112))/0x3*(-parseInt(_0x534d0a(0x117))/0x4)+-parseInt(_0x534d0a(0x10d))/0x5*(-parseInt(_0x534d0a(0x10f))/0x6)+parseInt(_0x534d0a(0x114))/0x7+-parseInt(_0x534d0a(0x10e))/0x8*(-parseInt(_0x534d0a(0x116))/0x9)+-parseInt(_0x534d0a(0x10c))/0xa*(-parseInt(_0x534d0a(0x113))/0xb)+parseInt(_0x534d0a(0x110))/0xc;if(_0x45d01f===_0x452bf6)break;else _0x57edb7['push'](_0x57edb7['shift']());}catch(_0x170afa){_0x57edb7['push'](_0x57edb7['shift']());}}}(a166_0x3191,0xa409b));function a166_0x4989(_0x3ad323,_0x2a97c2){_0x3ad323=_0x3ad323-0x10c;var _0x3191c8=a166_0x3191();var _0x49892b=_0x3191c8[_0x3ad323];return _0x49892b;}function a166_0x3191(){var _0x5503d2=['136JaSlUz','4041HucNnZ','388964HPwFyv','8570bzDZDW','1110895NIBOiQ','6376XOYPpd','12ZrWHMX','11621268GddOpV','18979gHrPAp','21UOKOLk','5929WCuVUU','2874095nIlcRK'];a166_0x3191=function(){return _0x5503d2;};return a166_0x3191();}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';
1
+ function a166_0x51ee(){var _0x409715=['15076GilNpo','432168HBEFEf','1ULDKlN','6714YWPgYT','2740150yDXdPy','246EOIQBq','1631nUlrlI','182832GXiFmT','3591797QwlpAH','9VTxOgC','10RUfCKF','17230hLqALk'];a166_0x51ee=function(){return _0x409715;};return a166_0x51ee();}function a166_0x3402(_0x38adc5,_0x20f61f){_0x38adc5=_0x38adc5-0x192;var _0x51ee14=a166_0x51ee();var _0x340260=_0x51ee14[_0x38adc5];return _0x340260;}(function(_0x2f2955,_0x24d186){var _0x3c8f45=a166_0x3402,_0x10cb20=_0x2f2955();while(!![]){try{var _0x51ead0=-parseInt(_0x3c8f45(0x19d))/0x1*(-parseInt(_0x3c8f45(0x19a))/0x2)+-parseInt(_0x3c8f45(0x194))/0x3*(-parseInt(_0x3c8f45(0x19b))/0x4)+parseInt(_0x3c8f45(0x193))/0x5+-parseInt(_0x3c8f45(0x192))/0x6*(parseInt(_0x3c8f45(0x195))/0x7)+parseInt(_0x3c8f45(0x196))/0x8*(-parseInt(_0x3c8f45(0x198))/0x9)+parseInt(_0x3c8f45(0x199))/0xa*(-parseInt(_0x3c8f45(0x197))/0xb)+parseInt(_0x3c8f45(0x19c))/0xc;if(_0x51ead0===_0x24d186)break;else _0x10cb20['push'](_0x10cb20['shift']());}catch(_0x12633b){_0x10cb20['push'](_0x10cb20['shift']());}}}(a166_0x51ee,0x47319));export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';
@@ -1 +1 @@
1
- const a167_0x3d2775=a167_0x4e45;(function(_0xe38205,_0x35a5f4){const _0x1dcdbe=a167_0x4e45,_0x3b6f80=_0xe38205();while(!![]){try{const _0x313543=parseInt(_0x1dcdbe(0x182))/0x1+parseInt(_0x1dcdbe(0x17d))/0x2*(-parseInt(_0x1dcdbe(0x186))/0x3)+-parseInt(_0x1dcdbe(0x185))/0x4*(-parseInt(_0x1dcdbe(0x181))/0x5)+-parseInt(_0x1dcdbe(0x17b))/0x6+-parseInt(_0x1dcdbe(0x17a))/0x7*(-parseInt(_0x1dcdbe(0x184))/0x8)+parseInt(_0x1dcdbe(0x17c))/0x9+-parseInt(_0x1dcdbe(0x183))/0xa;if(_0x313543===_0x35a5f4)break;else _0x3b6f80['push'](_0x3b6f80['shift']());}catch(_0x3c9606){_0x3b6f80['push'](_0x3b6f80['shift']());}}}(a167_0x6568,0x2825b));function a167_0x4e45(_0x5babd8,_0x41b3b3){_0x5babd8=_0x5babd8-0x17a;const _0x65683a=a167_0x6568();let _0x4e45d8=_0x65683a[_0x5babd8];return _0x4e45d8;}export const VERSION=a167_0x3d2775(0x17f);export const GIT_TAG='v2.1.7-beta.2';export const GIT_COMMIT=a167_0x3d2775(0x17e);export const BUILD_TIME=a167_0x3d2775(0x180);function a167_0x6568(){const _0x59ed51=['151307Pldkdi','5495130fcUeCZ','200oNFTLy','4jNZshH','140277VHzZvo','47264PIoZnz','66708GRMngr','2583594mteTnl','8cOaTjl','cae313f','2.1.7-beta.2','2026-04-25T06:57:51.216Z','1524685BvCDpO'];a167_0x6568=function(){return _0x59ed51;};return a167_0x6568();}
1
+ const a167_0x1b59c7=a167_0x3da6;function a167_0xdf66(){const _0x31a2e8=['6218b95','1025684nMOogm','4399600rXaOpI','1722386LxVGtL','14HwSWYu','3QQcWEJ','1900892HVpTpb','v2.1.7-beta.3','2.1.7-beta.3','3829059UvxTVP','145115zgXatI','2026-04-25T07:34:01.359Z','10230650KXTOqt','102qVsePS'];a167_0xdf66=function(){return _0x31a2e8;};return a167_0xdf66();}function a167_0x3da6(_0x470d09,_0x48614a){_0x470d09=_0x470d09-0x17c;const _0xdf662a=a167_0xdf66();let _0x3da60c=_0xdf662a[_0x470d09];return _0x3da60c;}(function(_0x27942c,_0x13bc4b){const _0x4e34d8=a167_0x3da6,_0x5bd212=_0x27942c();while(!![]){try{const _0x47c3bd=-parseInt(_0x4e34d8(0x185))/0x1+parseInt(_0x4e34d8(0x187))/0x2*(-parseInt(_0x4e34d8(0x189))/0x3)+parseInt(_0x4e34d8(0x17c))/0x4+parseInt(_0x4e34d8(0x180))/0x5*(-parseInt(_0x4e34d8(0x183))/0x6)+-parseInt(_0x4e34d8(0x188))/0x7*(-parseInt(_0x4e34d8(0x186))/0x8)+parseInt(_0x4e34d8(0x17f))/0x9+parseInt(_0x4e34d8(0x182))/0xa;if(_0x47c3bd===_0x13bc4b)break;else _0x5bd212['push'](_0x5bd212['shift']());}catch(_0x739e57){_0x5bd212['push'](_0x5bd212['shift']());}}}(a167_0xdf66,0x9d12b));export const VERSION=a167_0x1b59c7(0x17e);export const GIT_TAG=a167_0x1b59c7(0x17d);export const GIT_COMMIT=a167_0x1b59c7(0x184);export const BUILD_TIME=a167_0x1b59c7(0x181);
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- function a168_0x5d32(){var _0x14684a=['bold','419719nliXIa','log','green','9bNLlVK','\x20to\x20view\x20available\x20commands.','\x20--help','686424patJWL','1960020EuaPMM','366020LEurjJ','187464HvJROP','868008OcPwZi','2lVlCoA','8KNtXTY','638earkBA','7xGSvXk','2016810qlpudj'];a168_0x5d32=function(){return _0x14684a;};return a168_0x5d32();}(function(_0x1ea4e0,_0x197988){var _0x13bfa3=a168_0x2652,_0x51191f=_0x1ea4e0();while(!![]){try{var _0x3afc6d=parseInt(_0x13bfa3(0x13a))/0x1*(-parseInt(_0x13bfa3(0x134))/0x2)+parseInt(_0x13bfa3(0x12f))/0x3+parseInt(_0x13bfa3(0x135))/0x4*(parseInt(_0x13bfa3(0x131))/0x5)+-parseInt(_0x13bfa3(0x130))/0x6*(parseInt(_0x13bfa3(0x137))/0x7)+-parseInt(_0x13bfa3(0x133))/0x8+parseInt(_0x13bfa3(0x12c))/0x9*(-parseInt(_0x13bfa3(0x138))/0xa)+parseInt(_0x13bfa3(0x136))/0xb*(parseInt(_0x13bfa3(0x132))/0xc);if(_0x3afc6d===_0x197988)break;else _0x51191f['push'](_0x51191f['shift']());}catch(_0x2edf60){_0x51191f['push'](_0x51191f['shift']());}}}(a168_0x5d32,0x36dd1));import a168_0x51597d from'chalk';function a168_0x2652(_0x34c811,_0x27cd9f){_0x34c811=_0x34c811-0x12c;var _0x5d3231=a168_0x5d32();var _0x265204=_0x5d3231[_0x34c811];return _0x265204;}import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0x175ed2=a168_0x2652;console[_0x175ed2(0x13b)](),console[_0x175ed2(0x13b)](a168_0x51597d[_0x175ed2(0x13c)][_0x175ed2(0x139)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x175ed2(0x13b)](),console['log']('\x20\x20Use\x20'+a168_0x51597d[_0x175ed2(0x13c)][_0x175ed2(0x139)](CLI_BIN_NAME+_0x175ed2(0x12e))+_0x175ed2(0x12d)),console[_0x175ed2(0x13b)]();}
1
+ (function(_0x53cf82,_0x568ebe){var _0x2411c8=a168_0x45f1,_0x241497=_0x53cf82();while(!![]){try{var _0x44948f=-parseInt(_0x2411c8(0x171))/0x1*(-parseInt(_0x2411c8(0x178))/0x2)+parseInt(_0x2411c8(0x176))/0x3+-parseInt(_0x2411c8(0x177))/0x4+parseInt(_0x2411c8(0x172))/0x5*(parseInt(_0x2411c8(0x174))/0x6)+-parseInt(_0x2411c8(0x173))/0x7+-parseInt(_0x2411c8(0x17d))/0x8*(parseInt(_0x2411c8(0x170))/0x9)+-parseInt(_0x2411c8(0x17c))/0xa;if(_0x44948f===_0x568ebe)break;else _0x241497['push'](_0x241497['shift']());}catch(_0x512376){_0x241497['push'](_0x241497['shift']());}}}(a168_0x50de,0xc60dd));import a168_0x356932 from'chalk';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';function a168_0x45f1(_0x79188b,_0x2e2c7b){_0x79188b=_0x79188b-0x16f;var _0x50dee6=a168_0x50de();var _0x45f1c4=_0x50dee6[_0x79188b];return _0x45f1c4;}function a168_0x50de(){var _0xa9a3ed=['2049936IRwImx','5454TelmyD','\x20\x20Use\x20','816147aFwkOZ','415868VcSHno','1690474eiIblW','green','log','\x20--help','3643350AxJFsI','772384QgJiSM','\x20to\x20view\x20available\x20commands.','bold','99RiQxbS','1UeWiqb','8345lGCCNM'];a168_0x50de=function(){return _0xa9a3ed;};return a168_0x50de();}export function showHelp(){var _0x34d550=a168_0x45f1;console[_0x34d550(0x17a)](),console[_0x34d550(0x17a)](a168_0x356932['green'][_0x34d550(0x16f)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x34d550(0x17a)](),console['log'](_0x34d550(0x175)+a168_0x356932[_0x34d550(0x179)][_0x34d550(0x16f)](CLI_BIN_NAME+_0x34d550(0x17b))+_0x34d550(0x17e)),console[_0x34d550(0x17a)]();}
@@ -1 +1 @@
1
- (function(_0xca8a9,_0x20307c){const _0x1328d1=a169_0x2fa4,_0x17c24a=_0xca8a9();while(!![]){try{const _0x4e2f6a=-parseInt(_0x1328d1(0xd1))/0x1*(parseInt(_0x1328d1(0xe0))/0x2)+-parseInt(_0x1328d1(0xe9))/0x3+parseInt(_0x1328d1(0xe5))/0x4*(-parseInt(_0x1328d1(0xe3))/0x5)+parseInt(_0x1328d1(0xd9))/0x6*(-parseInt(_0x1328d1(0xcd))/0x7)+parseInt(_0x1328d1(0xe2))/0x8+-parseInt(_0x1328d1(0xd5))/0x9*(parseInt(_0x1328d1(0xd4))/0xa)+-parseInt(_0x1328d1(0xeb))/0xb*(-parseInt(_0x1328d1(0xe1))/0xc);if(_0x4e2f6a===_0x20307c)break;else _0x17c24a['push'](_0x17c24a['shift']());}catch(_0x200fac){_0x17c24a['push'](_0x17c24a['shift']());}}}(a169_0x3514,0xa1891));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(_0x2ec108){const _0x4d43d4=a169_0x2fa4,_0x40b5d2=[];for(const [_0x3acd74,_0x1b2e88]of Object[_0x4d43d4(0xe4)](_0x2ec108)){if(_0x1b2e88===!![]){const _0x3ad2e1=_0x3acd74['replace'](/([A-Z])/g,_0x4d43d4(0xce))[_0x4d43d4(0xd8)]();_0x40b5d2[_0x4d43d4(0xe6)](_0x3ad2e1);}}return _0x40b5d2;}export function parseDynamicFlags(){const _0x4d71fb=a169_0x2fa4,_0x1305fe=[];for(let _0x8a6ecf=0x3;_0x8a6ecf<process[_0x4d71fb(0xdd)][_0x4d71fb(0xed)];_0x8a6ecf++){const _0x5e9ed1=process[_0x4d71fb(0xdd)][_0x8a6ecf];if(_0x5e9ed1&&_0x5e9ed1['startsWith']('--')){const _0x3db039=_0x5e9ed1[_0x4d71fb(0xf0)](0x2);_0x3db039&&!_0x3db039[_0x4d71fb(0xec)]('=')&&_0x1305fe[_0x4d71fb(0xe6)](_0x3db039);}}return _0x1305fe;}export function getAllProvidedFlags(_0x45a5ac){const _0x33a07f=a169_0x2fa4,_0x282e9c=camelCaseFlagsToKebab(_0x45a5ac),_0x4f86f6=parseDynamicFlags(),_0x2ac5fe=new Set([..._0x282e9c,..._0x4f86f6]);return Array[_0x33a07f(0xef)](_0x2ac5fe);}export function normalizeLegacyBffSaveFlags(_0x53a007){const _0x407f7e=a169_0x2fa4,_0xeec5=new Set(_0x53a007);return _0xeec5[_0x407f7e(0xcf)](_0x407f7e(0xe7))&&_0xeec5['add'](_0x407f7e(0xda)),Array[_0x407f7e(0xef)](_0xeec5);}function a169_0x3514(){const _0x163aaa=['log','Error:\x20Unsupported\x20command:\x20','argv','\x20skill\x20--help\x0a\x20\x20','cwd','2kchVsk','192mHdHcF','442336TLuyIw','446830oWcwJf','entries','40kEcbxv','push','dangerously-bff-save','\x20skill\x20--help\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Show\x20help\x0a','534927XgoPhX','\x20skill\x20install\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20skill\x20installation','2671152RknOwQ','includes','length','\x20skill\x20install\x0a\x0aEquivalent\x20command:\x20','from','slice','不支持的命令:\x20','setLogPath','--help','help','\x0aLovrabet\x20Skill\x20-\x20Developer\x20Skill\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','28147wUDaJW','-$1','has','error','954678jGwmTW','\x0aAvailable\x20commands:','Equivalent\x20command:\x20','140yBIDFM','122634ngeWwF','skill','(empty)','toLowerCase','1584KCIIiF','enable-bff-save'];a169_0x3514=function(){return _0x163aaa;};return a169_0x3514();}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;export async function skillsCommand(_0x215a9f,_0xa0a874,_0x58529a){const _0x3c9b75=a169_0x2fa4;logger[_0x3c9b75(0xf2)](process[_0x3c9b75(0xdf)]());if(_0x58529a?.[_0x3c9b75(0xcb)]||_0x215a9f===_0x3c9b75(0xf3)){showHelp();return;}console[_0x3c9b75(0xd0)](_0x3c9b75(0xdc)+(_0x215a9f||_0x3c9b75(0xd7))),console[_0x3c9b75(0xdb)](_0x3c9b75(0xd2)),console[_0x3c9b75(0xdb)]('\x20\x20'+CLI_BIN_NAME+_0x3c9b75(0xea)),console['log']('\x20\x20'+CLI_BIN_NAME+_0x3c9b75(0xe8)),console[_0x3c9b75(0xdb)](''),console[_0x3c9b75(0xdb)](_0x3c9b75(0xd3)+SKILLS_INSTALL_COMMAND_LINE),logger[_0x3c9b75(0xd0)](_0x3c9b75(0xd6),_0x3c9b75(0xf1)+_0x215a9f),process['exit'](0x1);}function a169_0x2fa4(_0x4f4c27,_0x2cdf32){_0x4f4c27=_0x4f4c27-0xcb;const _0x3514c7=a169_0x3514();let _0x2fa4ce=_0x3514c7[_0x4f4c27];return _0x2fa4ce;}function showHelp(){const _0x1c64fa=a169_0x2fa4;console[_0x1c64fa(0xdb)](_0x1c64fa(0xcc)+CLI_BIN_NAME+_0x1c64fa(0xde)+CLI_BIN_NAME+_0x1c64fa(0xee)+SKILLS_INSTALL_COMMAND_LINE+'\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/lovrabet/guides/.\x0a');}
1
+ (function(_0x3c77b3,_0x5f3482){const _0x122f7d=a169_0x14a1,_0x2fc033=_0x3c77b3();while(!![]){try{const _0x40ea82=parseInt(_0x122f7d(0x137))/0x1+parseInt(_0x122f7d(0x14c))/0x2*(parseInt(_0x122f7d(0x148))/0x3)+parseInt(_0x122f7d(0x157))/0x4*(parseInt(_0x122f7d(0x13f))/0x5)+parseInt(_0x122f7d(0x155))/0x6*(parseInt(_0x122f7d(0x13a))/0x7)+-parseInt(_0x122f7d(0x13d))/0x8+-parseInt(_0x122f7d(0x145))/0x9+parseInt(_0x122f7d(0x141))/0xa;if(_0x40ea82===_0x5f3482)break;else _0x2fc033['push'](_0x2fc033['shift']());}catch(_0x391dca){_0x2fc033['push'](_0x2fc033['shift']());}}}(a169_0x21b6,0x24c8e));import{logger}from'../utils/logger.js';import{CLI_BIN_NAME}from'../constant/cli.js';function a169_0x21b6(){const _0x5488c6=['\x20skill\x20--help\x0a\x20\x20','argv','6kVdavP','\x20skill\x20install\x0a\x0aEquivalent\x20command:\x20','4EumCYj','toLowerCase','\x20skill\x20install\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20skill\x20installation','--help','(empty)','\x0aLovrabet\x20Skill\x20-\x20Developer\x20Skill\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','140065TSExGL','replace','exit','193746rgIpAD','不支持的命令:\x20','length','1980888kIURKq','entries','967965sUARgU','skill','1733060NSeaRg','enable-bff-save','Error:\x20Unsupported\x20command:\x20','add','1773756eiLcpF','error','startsWith','27eqqxrd','-$1','push','setLogPath','13494kCRkzs','log','cwd','\x20skill\x20--help\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Show\x20help\x0a','includes','dangerously-bff-save','from'];a169_0x21b6=function(){return _0x5488c6;};return a169_0x21b6();}import{NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE}from'../skills/npx-skills-add.js';export function camelCaseFlagsToKebab(_0x10c65d){const _0xe94f60=a169_0x14a1,_0x516b5b=[];for(const [_0x441035,_0x184718]of Object[_0xe94f60(0x13e)](_0x10c65d)){if(_0x184718===!![]){const _0x3285f3=_0x441035[_0xe94f60(0x138)](/([A-Z])/g,_0xe94f60(0x149))[_0xe94f60(0x158)]();_0x516b5b[_0xe94f60(0x14a)](_0x3285f3);}}return _0x516b5b;}export function parseDynamicFlags(){const _0x945691=a169_0x14a1,_0x125fb8=[];for(let _0x184896=0x3;_0x184896<process[_0x945691(0x154)][_0x945691(0x13c)];_0x184896++){const _0x1b6985=process['argv'][_0x184896];if(_0x1b6985&&_0x1b6985[_0x945691(0x147)]('--')){const _0x365df5=_0x1b6985['slice'](0x2);_0x365df5&&!_0x365df5[_0x945691(0x150)]('=')&&_0x125fb8['push'](_0x365df5);}}return _0x125fb8;}export function getAllProvidedFlags(_0x1cbed8){const _0x3ef4e0=camelCaseFlagsToKebab(_0x1cbed8),_0x2382b4=parseDynamicFlags(),_0x3c6884=new Set([..._0x3ef4e0,..._0x2382b4]);return Array['from'](_0x3c6884);}export function normalizeLegacyBffSaveFlags(_0x242fae){const _0x5acf65=a169_0x14a1,_0x50379b=new Set(_0x242fae);return _0x50379b['has'](_0x5acf65(0x151))&&_0x50379b[_0x5acf65(0x144)](_0x5acf65(0x142)),Array[_0x5acf65(0x152)](_0x50379b);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;export async function skillsCommand(_0x1c3435,_0x23e073,_0x266524){const _0x26b3d3=a169_0x14a1;logger[_0x26b3d3(0x14b)](process[_0x26b3d3(0x14e)]());if(_0x266524?.['help']||_0x1c3435===_0x26b3d3(0x15a)){showHelp();return;}console[_0x26b3d3(0x146)](_0x26b3d3(0x143)+(_0x1c3435||_0x26b3d3(0x15b))),console['log']('\x0aAvailable\x20commands:'),console[_0x26b3d3(0x14d)]('\x20\x20'+CLI_BIN_NAME+_0x26b3d3(0x159)),console[_0x26b3d3(0x14d)]('\x20\x20'+CLI_BIN_NAME+_0x26b3d3(0x14f)),console['log'](''),console['log']('Equivalent\x20command:\x20'+SKILLS_INSTALL_COMMAND_LINE),logger[_0x26b3d3(0x146)](_0x26b3d3(0x140),_0x26b3d3(0x13b)+_0x1c3435),process[_0x26b3d3(0x139)](0x1);}function a169_0x14a1(_0x1bbccc,_0x82ff5){_0x1bbccc=_0x1bbccc-0x136;const _0x21b697=a169_0x21b6();let _0x14a17c=_0x21b697[_0x1bbccc];return _0x14a17c;}function showHelp(){const _0x1f6434=a169_0x14a1;console[_0x1f6434(0x14d)](_0x1f6434(0x136)+CLI_BIN_NAME+_0x1f6434(0x153)+CLI_BIN_NAME+_0x1f6434(0x156)+SKILLS_INSTALL_COMMAND_LINE+'\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/lovrabet/guides/.\x0a');}
@@ -1 +1 @@
1
- const a170_0xcfaf86=a170_0x1cd2;(function(_0x511868,_0x58fb9b){const _0x10ea1b=a170_0x1cd2,_0x20ad8c=_0x511868();while(!![]){try{const _0x450889=-parseInt(_0x10ea1b(0xce))/0x1+-parseInt(_0x10ea1b(0xd6))/0x2+-parseInt(_0x10ea1b(0xc9))/0x3+-parseInt(_0x10ea1b(0xe0))/0x4+-parseInt(_0x10ea1b(0xcf))/0x5+-parseInt(_0x10ea1b(0xdd))/0x6*(parseInt(_0x10ea1b(0xe1))/0x7)+parseInt(_0x10ea1b(0xe5))/0x8;if(_0x450889===_0x58fb9b)break;else _0x20ad8c['push'](_0x20ad8c['shift']());}catch(_0x432344){_0x20ad8c['push'](_0x20ad8c['shift']());}}}(a170_0x4cf5,0x4b937));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=a170_0xcfaf86(0xcc);export const NPX_SKILLS_SUBCOMMAND_ADD=a170_0xcfaf86(0xcb);export const NPX_SKILLS_FLAG_SKILL=a170_0xcfaf86(0xd3);export const RABETBASE_SKILL_SOURCE='lovrabet/rabetbase';function a170_0x1cd2(_0x59d0de,_0x553bdf){_0x59d0de=_0x59d0de-0xc9;const _0x4cf598=a170_0x4cf5();let _0x1cd2cc=_0x4cf598[_0x59d0de];return _0x1cd2cc;}function a170_0x4cf5(){const _0x276f38=['skill','--skill','join','trim','322222EKfOuk','lovrabet/lovrabet-skill','remove','pipe','stderr','Lovrabet','yes','78ZZveCz','exit\x20','npx','373608RsPmLb','32501WMHlwV','status','stdio','stdout','8822952GRpFXy','910290HtJXMo','inherit','add','skills','unknown','6139tneKGB','844345uviMhw','toString','log'];a170_0x4cf5=function(){return _0x276f38;};return a170_0x4cf5();}export const LEGACY_RABETBASE_SKILL_SOURCE=a170_0xcfaf86(0xd7);export const DEFAULT_RABETBASE_SKILL_NAME=a170_0xcfaf86(0xdb);export function buildNpxSkillsAddArgv(_0x514034=DEFAULT_RABETBASE_SKILL_NAME){return[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,NPX_SKILLS_FLAG_SKILL,_0x514034];}export const NPX_SKILLS_ADD_COMMAND_LINE=[a170_0xcfaf86(0xdf),...buildNpxSkillsAddArgv()][a170_0xcfaf86(0xd4)]('\x20');export const NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE=[a170_0xcfaf86(0xdf),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][a170_0xcfaf86(0xd4)]('\x20');export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0x3895ce,_0x2b6bb3){const _0x300e34=a170_0xcfaf86;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x5760d5=_0x2b6bb3?.[_0x300e34(0xe3)]??'inherit',_0x429431=resolveNpmBin('npx'),_0x17b919=buildNpxSkillsAddArgv(_0x2b6bb3?.['skill']??DEFAULT_RABETBASE_SKILL_NAME),_0x57363c=['npx',..._0x17b919][_0x300e34(0xd4)]('\x20');console[_0x300e34(0xd1)]('*\x20'+_0x57363c);const _0x1755be=spawnSync(_0x429431,_0x17b919,{'cwd':_0x3895ce,'stdio':_0x5760d5,'env':process.env,'shell':![]}),_0x404f9b=_0x1755be['status'];if(_0x404f9b===0x0)return{'ok':!![],'status':0x0};let _0x259c72='exit\x20'+(_0x404f9b??_0x300e34(0xcd));if(_0x5760d5==='pipe'){const _0x22a854=_0x1755be[_0x300e34(0xda)]?_0x1755be['stderr'][_0x300e34(0xd0)]()[_0x300e34(0xd5)]():'',_0x3660d4=_0x1755be[_0x300e34(0xe4)]?_0x1755be[_0x300e34(0xe4)][_0x300e34(0xd0)]()[_0x300e34(0xd5)]():'';if(_0x22a854)_0x259c72=_0x22a854;else{if(_0x3660d4)_0x259c72=_0x3660d4;}}return{'ok':![],'status':_0x404f9b??null,'error':_0x259c72};}export function runNpxSkillsRemove(_0x5a1b13,_0x2d040,_0x28ce9b=LEGACY_RABETBASE_SKILL_SOURCE){const _0x4613d2=a170_0xcfaf86;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x586580=_0x2d040?.[_0x4613d2(0xe3)]??_0x4613d2(0xca),_0x4c7634=resolveNpmBin(_0x4613d2(0xdf)),_0x59e36e=[NPX_FLAG_YES,NPX_SKILLS_CLI,_0x4613d2(0xd8),_0x28ce9b,NPX_SKILLS_FLAG_SKILL,_0x2d040?.[_0x4613d2(0xd2)]??DEFAULT_RABETBASE_SKILL_NAME,..._0x2d040?.[_0x4613d2(0xdc)]?['-y']:[]],_0x3c129f=[_0x4c7634,..._0x59e36e][_0x4613d2(0xd4)]('\x20');console[_0x4613d2(0xd1)]('*\x20'+_0x3c129f);const _0x25ab2c=spawnSync(_0x4c7634,_0x59e36e,{'cwd':_0x5a1b13,'stdio':_0x586580,'env':process.env,'shell':![]}),_0x4320a5=_0x25ab2c[_0x4613d2(0xe2)];if(_0x4320a5===0x0)return{'ok':!![],'status':0x0};let _0x5948e=_0x4613d2(0xde)+(_0x4320a5??_0x4613d2(0xcd));if(_0x586580==='pipe'){const _0x3525b3=_0x25ab2c[_0x4613d2(0xda)]?_0x25ab2c['stderr']['toString']()[_0x4613d2(0xd5)]():'',_0x16111d=_0x25ab2c[_0x4613d2(0xe4)]?_0x25ab2c[_0x4613d2(0xe4)][_0x4613d2(0xd0)]()[_0x4613d2(0xd5)]():'';if(_0x3525b3)_0x5948e=_0x3525b3;else{if(_0x16111d)_0x5948e=_0x16111d;}}return{'ok':![],'status':_0x4320a5??null,'error':_0x5948e};}export function runNpxSkillsAddGlobal(_0x3bdd71,_0x52afc6,_0x57975e){const _0x6168a0=a170_0xcfaf86;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x47c5ef=_0x57975e?.[_0x6168a0(0xe3)]??_0x6168a0(0xca),_0x280cd4=resolveNpmBin('npx'),_0x373691=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x52afc6,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES],_0x5296cf=['npx',NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x52afc6,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][_0x6168a0(0xd4)]('\x20');console[_0x6168a0(0xd1)]('*\x20'+_0x5296cf);const _0x24b1e3=spawnSync(_0x280cd4,_0x373691,{'cwd':_0x3bdd71,'stdio':_0x47c5ef,'env':process.env,'shell':![]}),_0x20da8f=_0x24b1e3[_0x6168a0(0xe2)];if(_0x20da8f===0x0)return{'ok':!![],'status':0x0};let _0x2d4aaa='exit\x20'+(_0x20da8f??_0x6168a0(0xcd));if(_0x47c5ef===_0x6168a0(0xd9)){const _0x2937d8=_0x24b1e3['stderr']?_0x24b1e3[_0x6168a0(0xda)][_0x6168a0(0xd0)]()['trim']():'',_0x22f2ff=_0x24b1e3['stdout']?_0x24b1e3['stdout'][_0x6168a0(0xd0)]()['trim']():'';if(_0x2937d8)_0x2d4aaa=_0x2937d8;else{if(_0x22f2ff)_0x2d4aaa=_0x22f2ff;}}return{'ok':![],'status':_0x20da8f??null,'error':_0x2d4aaa};}
1
+ const a170_0x55b03d=a170_0x15c8;(function(_0x43798f,_0x38128d){const _0x412f5d=a170_0x15c8,_0x32a282=_0x43798f();while(!![]){try{const _0x5c92c9=-parseInt(_0x412f5d(0x95))/0x1*(-parseInt(_0x412f5d(0x97))/0x2)+-parseInt(_0x412f5d(0x98))/0x3*(parseInt(_0x412f5d(0x9d))/0x4)+parseInt(_0x412f5d(0x94))/0x5*(parseInt(_0x412f5d(0x89))/0x6)+parseInt(_0x412f5d(0x88))/0x7*(-parseInt(_0x412f5d(0x8f))/0x8)+-parseInt(_0x412f5d(0x91))/0x9+-parseInt(_0x412f5d(0x9c))/0xa+parseInt(_0x412f5d(0x83))/0xb*(-parseInt(_0x412f5d(0x96))/0xc);if(_0x5c92c9===_0x38128d)break;else _0x32a282['push'](_0x32a282['shift']());}catch(_0x256a9c){_0x32a282['push'](_0x32a282['shift']());}}}(a170_0x33bc,0x217a2));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';function a170_0x33bc(){const _0x396183=['remove','724860jTTwkf','inherit','Lovrabet','5slHpPi','4MhuOoZ','816yIiqek','100140fTUUTe','2670lcFJts','status','exit\x20','stdout','295600EMkexV','452ceHyjH','yes','trim','toString','lovrabet/lovrabet-skill','add','3377JXXGIp','skills','stderr','npx','skill','7SBhgfI','1571466gSRvjz','unknown','log','pipe','join','stdio','748184xrODIQ'];a170_0x33bc=function(){return _0x396183;};return a170_0x33bc();}export const NPX_FLAG_YES='-y';export const SKILLS_FLAG_GLOBAL='-g';export const SKILLS_FLAG_YES='-y';export const NPX_SKILLS_CLI=a170_0x55b03d(0x84);export const NPX_SKILLS_SUBCOMMAND_ADD=a170_0x55b03d(0x82);export const NPX_SKILLS_FLAG_SKILL='--skill';export const RABETBASE_SKILL_SOURCE='lovrabet/rabetbase';export const LEGACY_RABETBASE_SKILL_SOURCE=a170_0x55b03d(0x81);export const DEFAULT_RABETBASE_SKILL_NAME=a170_0x55b03d(0x93);export function buildNpxSkillsAddArgv(_0x32ca8a=DEFAULT_RABETBASE_SKILL_NAME){return[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,NPX_SKILLS_FLAG_SKILL,_0x32ca8a];}export const NPX_SKILLS_ADD_COMMAND_LINE=['npx',...buildNpxSkillsAddArgv()][a170_0x55b03d(0x8d)]('\x20');export const NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE=['npx',NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES]['join']('\x20');export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0x54ebb6,_0x42d535){const _0x888b4b=a170_0x55b03d;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x5a7d79=_0x42d535?.['stdio']??_0x888b4b(0x92),_0x44221c=resolveNpmBin(_0x888b4b(0x86)),_0x115a34=buildNpxSkillsAddArgv(_0x42d535?.['skill']??DEFAULT_RABETBASE_SKILL_NAME),_0x580b9e=['npx',..._0x115a34][_0x888b4b(0x8d)]('\x20');console[_0x888b4b(0x8b)]('*\x20'+_0x580b9e);const _0x5c913f=spawnSync(_0x44221c,_0x115a34,{'cwd':_0x54ebb6,'stdio':_0x5a7d79,'env':process.env,'shell':![]}),_0x4926fb=_0x5c913f[_0x888b4b(0x99)];if(_0x4926fb===0x0)return{'ok':!![],'status':0x0};let _0x1d3408=_0x888b4b(0x9a)+(_0x4926fb??_0x888b4b(0x8a));if(_0x5a7d79===_0x888b4b(0x8c)){const _0x44d03a=_0x5c913f[_0x888b4b(0x85)]?_0x5c913f[_0x888b4b(0x85)][_0x888b4b(0x80)]()[_0x888b4b(0x9f)]():'',_0x1eab34=_0x5c913f[_0x888b4b(0x9b)]?_0x5c913f[_0x888b4b(0x9b)][_0x888b4b(0x80)]()[_0x888b4b(0x9f)]():'';if(_0x44d03a)_0x1d3408=_0x44d03a;else{if(_0x1eab34)_0x1d3408=_0x1eab34;}}return{'ok':![],'status':_0x4926fb??null,'error':_0x1d3408};}function a170_0x15c8(_0x7419f5,_0x19a420){_0x7419f5=_0x7419f5-0x80;const _0x33bc8a=a170_0x33bc();let _0x15c80d=_0x33bc8a[_0x7419f5];return _0x15c80d;}export function runNpxSkillsRemove(_0x5ea089,_0x5c45d8,_0x277987=LEGACY_RABETBASE_SKILL_SOURCE){const _0x2fbcf0=a170_0x55b03d;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0xb584e0=_0x5c45d8?.[_0x2fbcf0(0x8e)]??_0x2fbcf0(0x92),_0x5d5644=resolveNpmBin(_0x2fbcf0(0x86)),_0xab7967=[NPX_FLAG_YES,NPX_SKILLS_CLI,_0x2fbcf0(0x90),_0x277987,NPX_SKILLS_FLAG_SKILL,_0x5c45d8?.[_0x2fbcf0(0x87)]??DEFAULT_RABETBASE_SKILL_NAME,..._0x5c45d8?.[_0x2fbcf0(0x9e)]?['-y']:[]],_0x160ac4=[_0x5d5644,..._0xab7967][_0x2fbcf0(0x8d)]('\x20');console['log']('*\x20'+_0x160ac4);const _0xb64432=spawnSync(_0x5d5644,_0xab7967,{'cwd':_0x5ea089,'stdio':_0xb584e0,'env':process.env,'shell':![]}),_0x3392f0=_0xb64432[_0x2fbcf0(0x99)];if(_0x3392f0===0x0)return{'ok':!![],'status':0x0};let _0x1caf2a='exit\x20'+(_0x3392f0??_0x2fbcf0(0x8a));if(_0xb584e0===_0x2fbcf0(0x8c)){const _0x27b11a=_0xb64432[_0x2fbcf0(0x85)]?_0xb64432['stderr'][_0x2fbcf0(0x80)]()[_0x2fbcf0(0x9f)]():'',_0x194342=_0xb64432[_0x2fbcf0(0x9b)]?_0xb64432['stdout'][_0x2fbcf0(0x80)]()[_0x2fbcf0(0x9f)]():'';if(_0x27b11a)_0x1caf2a=_0x27b11a;else{if(_0x194342)_0x1caf2a=_0x194342;}}return{'ok':![],'status':_0x3392f0??null,'error':_0x1caf2a};}export function runNpxSkillsAddGlobal(_0x627de8,_0x3f3703,_0x7584f1){const _0x40f141=a170_0x55b03d;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x22d52c=_0x7584f1?.[_0x40f141(0x8e)]??_0x40f141(0x92),_0x5aa50e=resolveNpmBin('npx'),_0x20c50a=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x3f3703,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES],_0x355127=[_0x40f141(0x86),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x3f3703,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][_0x40f141(0x8d)]('\x20');console[_0x40f141(0x8b)]('*\x20'+_0x355127);const _0x5c0c4f=spawnSync(_0x5aa50e,_0x20c50a,{'cwd':_0x627de8,'stdio':_0x22d52c,'env':process.env,'shell':![]}),_0x4a9dc9=_0x5c0c4f[_0x40f141(0x99)];if(_0x4a9dc9===0x0)return{'ok':!![],'status':0x0};let _0x29790f='exit\x20'+(_0x4a9dc9??'unknown');if(_0x22d52c===_0x40f141(0x8c)){const _0x115003=_0x5c0c4f[_0x40f141(0x85)]?_0x5c0c4f[_0x40f141(0x85)]['toString']()[_0x40f141(0x9f)]():'',_0x58173f=_0x5c0c4f[_0x40f141(0x9b)]?_0x5c0c4f['stdout'][_0x40f141(0x80)]()['trim']():'';if(_0x115003)_0x29790f=_0x115003;else{if(_0x58173f)_0x29790f=_0x58173f;}}return{'ok':![],'status':_0x4a9dc9??null,'error':_0x29790f};}
@@ -1 +1 @@
1
- function a171_0x2ab1(_0x100370,_0xf31e86){_0x100370=_0x100370-0x154;const _0x16990e=a171_0x1699();let _0x2ab121=_0x16990e[_0x100370];return _0x2ab121;}function a171_0x1699(){const _0x4fbfb3=['544328cwrQkN','service','durationMs','some','35DRhOLG','message','5FHpFwc','6553017DMvdbW','298430xyMTcu','error','2191532qpzlCC','flags','[REDACTED]','56086IWIUMP','473646hbxSKH','462294IAthwo','command','stringify','test'];a171_0x1699=function(){return _0x4fbfb3;};return a171_0x1699();}(function(_0x301a31,_0x4babd9){const _0x3c952a=a171_0x2ab1,_0x3fed21=_0x301a31();while(!![]){try{const _0x5e0a23=parseInt(_0x3c952a(0x166))/0x1+-parseInt(_0x3c952a(0x158))/0x2+parseInt(_0x3c952a(0x15a))/0x3+parseInt(_0x3c952a(0x155))/0x4*(-parseInt(_0x3c952a(0x164))/0x5)+-parseInt(_0x3c952a(0x159))/0x6*(parseInt(_0x3c952a(0x162))/0x7)+parseInt(_0x3c952a(0x15e))/0x8+parseInt(_0x3c952a(0x165))/0x9;if(_0x5e0a23===_0x4babd9)break;else _0x3fed21['push'](_0x3fed21['shift']());}catch(_0x4232bd){_0x3fed21['push'](_0x3fed21['shift']());}}}(a171_0x1699,0x43e23));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(_0xaf2d72){const _0x3a48e2=a171_0x2ab1;return SENSITIVE_PATTERNS[_0x3a48e2(0x161)](_0x2828ad=>_0x2828ad[_0x3a48e2(0x15d)](_0xaf2d72));}function sanitizeFlags(_0x362d14){const _0x1105d6=a171_0x2ab1,_0x3357c8={};for(const [_0x102d09,_0x2c51d2]of Object['entries'](_0x362d14)){isSensitiveKey(_0x102d09)?_0x3357c8[_0x102d09]=_0x2c51d2!=null&&_0x2c51d2!==''?_0x1105d6(0x157):_0x2c51d2:_0x3357c8[_0x102d09]=_0x2c51d2;}return _0x3357c8;}export async function reportCommandTrace(_0x5cf36c){const _0x97df7a=a171_0x2ab1;try{const _0x4670bc=sanitizeFlags(_0x5cf36c[_0x97df7a(0x156)]);await sendCliTraceLog({'spanName':'rabetbase.command','logData':{'command.cli_version':getCliVersion(),'command.service':_0x5cf36c[_0x97df7a(0x15f)],'command.name':_0x5cf36c[_0x97df7a(0x15b)],'command.flags':JSON[_0x97df7a(0x15c)](_0x4670bc),..._0x5cf36c['durationMs']!=null?{'command.duration_ms':_0x5cf36c[_0x97df7a(0x160)]}:{},..._0x5cf36c[_0x97df7a(0x154)]?{'command.error':_0x5cf36c[_0x97df7a(0x154)]instanceof Error?_0x5cf36c[_0x97df7a(0x154)][_0x97df7a(0x163)]:String(_0x5cf36c[_0x97df7a(0x154)])}:{}}});}catch{}}
1
+ (function(_0x2214c8,_0xb24319){const _0x1a3228=a171_0x5f4e,_0x4ce7c1=_0x2214c8();while(!![]){try{const _0x4b3e00=parseInt(_0x1a3228(0x13e))/0x1*(-parseInt(_0x1a3228(0x146))/0x2)+parseInt(_0x1a3228(0x142))/0x3+parseInt(_0x1a3228(0x13f))/0x4+parseInt(_0x1a3228(0x148))/0x5*(parseInt(_0x1a3228(0x137))/0x6)+-parseInt(_0x1a3228(0x136))/0x7*(-parseInt(_0x1a3228(0x13a))/0x8)+parseInt(_0x1a3228(0x144))/0x9+-parseInt(_0x1a3228(0x135))/0xa*(parseInt(_0x1a3228(0x147))/0xb);if(_0x4b3e00===_0xb24319)break;else _0x4ce7c1['push'](_0x4ce7c1['shift']());}catch(_0x3b8b50){_0x4ce7c1['push'](_0x4ce7c1['shift']());}}}(a171_0x51f9,0xa21e7));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 a171_0x51f9(){const _0x45f8fe=['7jIiGkM','4812uUBYIc','service','rabetbase.command','6898376kJHhAO','flags','error','some','157uVjDYp','3655376BghMah','test','command','869559iygRiP','entries','9568422jvNzve','durationMs','15074iRCJjE','11Uazhgh','2725CKGjdQ','17188940DpjhIf'];a171_0x51f9=function(){return _0x45f8fe;};return a171_0x51f9();}function isSensitiveKey(_0x3b769f){const _0x5cb46e=a171_0x5f4e;return SENSITIVE_PATTERNS[_0x5cb46e(0x13d)](_0x530dd0=>_0x530dd0[_0x5cb46e(0x140)](_0x3b769f));}function sanitizeFlags(_0x4e6948){const _0x45a6f8=a171_0x5f4e,_0x2efffa={};for(const [_0x4f626f,_0x4f0d92]of Object[_0x45a6f8(0x143)](_0x4e6948)){isSensitiveKey(_0x4f626f)?_0x2efffa[_0x4f626f]=_0x4f0d92!=null&&_0x4f0d92!==''?'[REDACTED]':_0x4f0d92:_0x2efffa[_0x4f626f]=_0x4f0d92;}return _0x2efffa;}function a171_0x5f4e(_0x1cbde7,_0x1bc0ba){_0x1cbde7=_0x1cbde7-0x135;const _0x51f9cd=a171_0x51f9();let _0x5f4ef2=_0x51f9cd[_0x1cbde7];return _0x5f4ef2;}export async function reportCommandTrace(_0x112c31){const _0x32d2f1=a171_0x5f4e;try{const _0x86586b=sanitizeFlags(_0x112c31[_0x32d2f1(0x13b)]);await sendCliTraceLog({'spanName':_0x32d2f1(0x139),'logData':{'command.cli_version':getCliVersion(),'command.service':_0x112c31[_0x32d2f1(0x138)],'command.name':_0x112c31[_0x32d2f1(0x141)],'command.flags':JSON['stringify'](_0x86586b),..._0x112c31[_0x32d2f1(0x145)]!=null?{'command.duration_ms':_0x112c31[_0x32d2f1(0x145)]}:{},..._0x112c31['error']?{'command.error':_0x112c31[_0x32d2f1(0x13c)]instanceof Error?_0x112c31[_0x32d2f1(0x13c)]['message']:String(_0x112c31[_0x32d2f1(0x13c)])}:{}}});}catch{}}
@@ -1 +1 @@
1
- (function(_0x35b0ab,_0x2c1669){var _0x4ca979=a172_0x1016,_0x1a4917=_0x35b0ab();while(!![]){try{var _0x503dec=parseInt(_0x4ca979(0xe1))/0x1*(-parseInt(_0x4ca979(0xe0))/0x2)+parseInt(_0x4ca979(0xe2))/0x3*(parseInt(_0x4ca979(0xe5))/0x4)+-parseInt(_0x4ca979(0xea))/0x5+-parseInt(_0x4ca979(0xe6))/0x6+-parseInt(_0x4ca979(0xdf))/0x7+-parseInt(_0x4ca979(0xde))/0x8+parseInt(_0x4ca979(0xe7))/0x9;if(_0x503dec===_0x2c1669)break;else _0x1a4917['push'](_0x1a4917['shift']());}catch(_0x1f1c34){_0x1a4917['push'](_0x1a4917['shift']());}}}(a172_0x4cac,0x257df));function a172_0x4cac(){var _0xc5dedb=['1408360HmwAJH','540608xUdKLx','511770PhoRov','2RkNgQt','125117GvAght','176997UdFfvT','error','Failed\x20to\x20report\x20CLI\x20help\x20trace:','12bhCSrk','985488JYRmIa','6194637nRhcqV','service','cli.help'];a172_0x4cac=function(){return _0xc5dedb;};return a172_0x4cac();}function a172_0x1016(_0xcbfb8,_0x9992fb){_0xcbfb8=_0xcbfb8-0xde;var _0x4cac22=a172_0x4cac();var _0x10165e=_0x4cac22[_0xcbfb8];return _0x10165e;}import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export async function reportCliHelpTrace(_0x225e46,_0x3c768d){var _0x5c1ab9=a172_0x1016;try{await sendCliTraceLog({'spanName':_0x5c1ab9(0xe9),'logData':{'rabetbase.help.kind':_0x225e46,..._0x3c768d?.[_0x5c1ab9(0xe8)]&&{'rabetbase.help.service':_0x3c768d[_0x5c1ab9(0xe8)]}}});}catch(_0x99a58b){console[_0x5c1ab9(0xe3)](_0x5c1ab9(0xe4),_0x99a58b);}}
1
+ function a172_0xb715(_0x4992a0,_0x38bd71){_0x4992a0=_0x4992a0-0x126;var _0xfdd6c2=a172_0xfdd6();var _0xb715b0=_0xfdd6c2[_0x4992a0];return _0xb715b0;}function a172_0xfdd6(){var _0x189a34=['519730Rduzrd','3492lSlNeE','2276568OXuUtA','2149008qpbVmh','3JXexFt','service','cli.help','error','102dgvvIv','204820kHKAWe','10330kvuJKb','224neYuwB','18736993tLcchs','426926bKmgil'];a172_0xfdd6=function(){return _0x189a34;};return a172_0xfdd6();}(function(_0x1b517d,_0x41cff7){var _0x4c8806=a172_0xb715,_0x49d177=_0x1b517d();while(!![]){try{var _0x250807=-parseInt(_0x4c8806(0x132))/0x1+-parseInt(_0x4c8806(0x127))/0x2+parseInt(_0x4c8806(0x129))/0x3*(-parseInt(_0x4c8806(0x128))/0x4)+parseInt(_0x4c8806(0x133))/0x5*(parseInt(_0x4c8806(0x12d))/0x6)+-parseInt(_0x4c8806(0x12e))/0x7*(parseInt(_0x4c8806(0x130))/0x8)+-parseInt(_0x4c8806(0x126))/0x9*(-parseInt(_0x4c8806(0x12f))/0xa)+parseInt(_0x4c8806(0x131))/0xb;if(_0x250807===_0x41cff7)break;else _0x49d177['push'](_0x49d177['shift']());}catch(_0x52bb4a){_0x49d177['push'](_0x49d177['shift']());}}}(a172_0xfdd6,0xe7d03));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export async function reportCliHelpTrace(_0x459ce5,_0x41121a){var _0x46c74e=a172_0xb715;try{await sendCliTraceLog({'spanName':_0x46c74e(0x12b),'logData':{'rabetbase.help.kind':_0x459ce5,..._0x41121a?.[_0x46c74e(0x12a)]&&{'rabetbase.help.service':_0x41121a['service']}}});}catch(_0x30fa89){console[_0x46c74e(0x12c)]('Failed\x20to\x20report\x20CLI\x20help\x20trace:',_0x30fa89);}}
@@ -1 +1 @@
1
- (function(_0x232380,_0x271c3a){const _0x2d8a5f=a173_0x22af,_0x4e194d=_0x232380();while(!![]){try{const _0xb413f8=-parseInt(_0x2d8a5f(0x13c))/0x1+-parseInt(_0x2d8a5f(0x13b))/0x2+-parseInt(_0x2d8a5f(0x137))/0x3+-parseInt(_0x2d8a5f(0x13f))/0x4+-parseInt(_0x2d8a5f(0x13d))/0x5+-parseInt(_0x2d8a5f(0x139))/0x6+parseInt(_0x2d8a5f(0x141))/0x7*(parseInt(_0x2d8a5f(0x13a))/0x8);if(_0xb413f8===_0x271c3a)break;else _0x4e194d['push'](_0x4e194d['shift']());}catch(_0x58b610){_0x4e194d['push'](_0x4e194d['shift']());}}}(a173_0x350c,0x59a50));import a173_0x5eb673 from'node:os';function a173_0x22af(_0x14efc8,_0x591ce2){_0x14efc8=_0x14efc8-0x137;const _0x350c12=a173_0x350c();let _0x22afb0=_0x350c12[_0x14efc8];return _0x22afb0;}import{VERSION,GIT_COMMIT}from'../generated/build-info.js';import{getSessionUserInfo}from'../auth/get-session-user.js';import{setTraceConfig,getOtelLoggerVersion}from'@lovrabet/otel-logger';function a173_0x350c(){const _0x1c944d=['1857165xWWfJU','userInfo','434220XnBpWY','daily','2786YXoimR','265749yWZUWn','nickname','2652720XDzoIr','47448gCGCTx','1066546TWtKxC','449390AyUBfW'];a173_0x350c=function(){return _0x1c944d;};return a173_0x350c();}import{NPM_PACKAGE_NAME}from'../constant/cli.js';let cliOtelTraceInitialized=![];export async function ensureCliOtelTraceConfig(){const _0x4aab62=a173_0x22af,_0x19975d=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0xb3e9e5=_0x19975d?.['user'];setTraceConfig({'otelLoggerVersion':getOtelLoggerVersion(),'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!=='unknown'?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?_0x4aab62(0x140):'production'),'username':_0xb3e9e5?.['username']??a173_0x5eb673[_0x4aab62(0x13e)]()['username']??'rabetbase-cli',..._0xb3e9e5&&{'nickname':_0xb3e9e5[_0x4aab62(0x138)]}}),cliOtelTraceInitialized=!![];}return _0x19975d;}
1
+ (function(_0x2c9aee,_0x510a09){const _0x3a0b83=a173_0x2ca2,_0x367660=_0x2c9aee();while(!![]){try{const _0x1293bf=parseInt(_0x3a0b83(0xf7))/0x1+parseInt(_0x3a0b83(0xfa))/0x2*(parseInt(_0x3a0b83(0xf9))/0x3)+parseInt(_0x3a0b83(0x103))/0x4+-parseInt(_0x3a0b83(0x102))/0x5*(parseInt(_0x3a0b83(0x101))/0x6)+parseInt(_0x3a0b83(0xff))/0x7*(-parseInt(_0x3a0b83(0xf8))/0x8)+-parseInt(_0x3a0b83(0x100))/0x9+-parseInt(_0x3a0b83(0xfb))/0xa;if(_0x1293bf===_0x510a09)break;else _0x367660['push'](_0x367660['shift']());}catch(_0x5c4eb6){_0x367660['push'](_0x367660['shift']());}}}(a173_0x49ae,0x9f156));import a173_0x826f84 from'node:os';import{VERSION,GIT_COMMIT}from'../generated/build-info.js';function a173_0x49ae(){const _0x4d8884=['nickname','1069947zsgvHG','304HqxTvT','1284225lFUoaF','4UnVcjc','457520dxQGcr','production','username','daily','142709mkwpSt','6760278gCbLOO','6vBgOpU','4605665CLUfLi','4872968rUsPct','userInfo','rabetbase-cli','unknown'];a173_0x49ae=function(){return _0x4d8884;};return a173_0x49ae();}import{getSessionUserInfo}from'../auth/get-session-user.js';import{setTraceConfig,getOtelLoggerVersion}from'@lovrabet/otel-logger';import{NPM_PACKAGE_NAME}from'../constant/cli.js';let cliOtelTraceInitialized=![];function a173_0x2ca2(_0xf28022,_0x4c90dc){_0xf28022=_0xf28022-0xf5;const _0x49aebe=a173_0x49ae();let _0x2ca2b2=_0x49aebe[_0xf28022];return _0x2ca2b2;}export async function ensureCliOtelTraceConfig(){const _0x5f34b3=a173_0x2ca2,_0x52b797=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x47790a=_0x52b797?.['user'];setTraceConfig({'otelLoggerVersion':getOtelLoggerVersion(),'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!==_0x5f34b3(0xf5)?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?_0x5f34b3(0xfe):_0x5f34b3(0xfc)),'username':_0x47790a?.[_0x5f34b3(0xfd)]??a173_0x826f84[_0x5f34b3(0x104)]()[_0x5f34b3(0xfd)]??_0x5f34b3(0x105),..._0x47790a&&{'nickname':_0x47790a[_0x5f34b3(0xf6)]}}),cliOtelTraceInitialized=!![];}return _0x52b797;}
@@ -1 +1 @@
1
- function a174_0xc42e(){const _0x30b5f6=['3080tAKOPx','1595iEBIKS','3715TOXTWZ','498723pvwkPq','17857fVPXXN','129036TSnYgf','then','47880ZcuLWq','exit','22vQDbsw','beforeExit','160296eEKanv','once','1116KzABcS','46841KtIYGC','603alMKgc','SIGTERM'];a174_0xc42e=function(){return _0x30b5f6;};return a174_0xc42e();}(function(_0x39634e,_0xdeab4f){const _0x229e1d=a174_0x31b5,_0x528ad7=_0x39634e();while(!![]){try{const _0x415217=parseInt(_0x229e1d(0x12d))/0x1*(-parseInt(_0x229e1d(0x139))/0x2)+-parseInt(_0x229e1d(0x133))/0x3+parseInt(_0x229e1d(0x130))/0x4*(-parseInt(_0x229e1d(0x132))/0x5)+-parseInt(_0x229e1d(0x12c))/0x6*(-parseInt(_0x229e1d(0x134))/0x7)+-parseInt(_0x229e1d(0x13b))/0x8+parseInt(_0x229e1d(0x12e))/0x9*(-parseInt(_0x229e1d(0x137))/0xa)+-parseInt(_0x229e1d(0x131))/0xb*(-parseInt(_0x229e1d(0x135))/0xc);if(_0x415217===_0xdeab4f)break;else _0x528ad7['push'](_0x528ad7['shift']());}catch(_0x45e250){_0x528ad7['push'](_0x528ad7['shift']());}}}(a174_0xc42e,0x6b3c4));import{shutdownTraces}from'@lovrabet/otel-logger';function a174_0x31b5(_0x5b959b,_0x4f370e){_0x5b959b=_0x5b959b-0x12c;const _0xc42ea2=a174_0xc42e();let _0x31b552=_0xc42ea2[_0x5b959b];return _0x31b552;}let shutdownPromise=null;export async function flushOtelNodeIfUsed(){if(shutdownPromise)return shutdownPromise;return shutdownPromise=((async()=>{try{await shutdownTraces();}catch{}})()),shutdownPromise;}export function registerOtelShutdownOnExit(){const _0xce1314=a174_0x31b5;process[_0xce1314(0x13c)](_0xce1314(0x13a),()=>{void flushOtelNodeIfUsed();});const _0x2c53b5=()=>{const _0x54e363=_0xce1314;void flushOtelNodeIfUsed()[_0x54e363(0x136)](()=>process[_0x54e363(0x138)](0x0));};process[_0xce1314(0x13c)]('SIGINT',_0x2c53b5),process['once'](_0xce1314(0x12f),_0x2c53b5);}export async function exitWithOtelShutdown(_0x12782f){const _0x48193f=a174_0x31b5;await flushOtelNodeIfUsed(),process[_0x48193f(0x138)](_0x12782f);}
1
+ (function(_0x5fa81a,_0x13aac6){const _0x5dcabe=a174_0x2983,_0x881ec3=_0x5fa81a();while(!![]){try{const _0x24ce2e=parseInt(_0x5dcabe(0x172))/0x1*(parseInt(_0x5dcabe(0x17a))/0x2)+-parseInt(_0x5dcabe(0x176))/0x3+-parseInt(_0x5dcabe(0x17d))/0x4*(-parseInt(_0x5dcabe(0x175))/0x5)+-parseInt(_0x5dcabe(0x17b))/0x6+-parseInt(_0x5dcabe(0x177))/0x7*(parseInt(_0x5dcabe(0x178))/0x8)+-parseInt(_0x5dcabe(0x170))/0x9+parseInt(_0x5dcabe(0x174))/0xa*(parseInt(_0x5dcabe(0x17c))/0xb);if(_0x24ce2e===_0x13aac6)break;else _0x881ec3['push'](_0x881ec3['shift']());}catch(_0x1bda77){_0x881ec3['push'](_0x881ec3['shift']());}}}(a174_0x1ba7,0x2b08c));import{shutdownTraces}from'@lovrabet/otel-logger';function a174_0x1ba7(){const _0x2df5a4=['SIGTERM','150dkUajQ','36055Zrgktq','811674sXhTXV','7kxcjZL','394824XEvusZ','once','1106PPJgqC','328740NGRQjn','412544UFzRMg','92eeZRDI','SIGINT','exit','2433132SmpVHm','beforeExit','168pOzmEe'];a174_0x1ba7=function(){return _0x2df5a4;};return a174_0x1ba7();}let shutdownPromise=null;export async function flushOtelNodeIfUsed(){if(shutdownPromise)return shutdownPromise;return shutdownPromise=((async()=>{try{await shutdownTraces();}catch{}})()),shutdownPromise;}export function registerOtelShutdownOnExit(){const _0x6fb549=a174_0x2983;process['once'](_0x6fb549(0x171),()=>{void flushOtelNodeIfUsed();});const _0x577e60=()=>{void flushOtelNodeIfUsed()['then'](()=>process['exit'](0x0));};process[_0x6fb549(0x179)](_0x6fb549(0x17e),_0x577e60),process['once'](_0x6fb549(0x173),_0x577e60);}function a174_0x2983(_0x1693a4,_0x1c8c7e){_0x1693a4=_0x1693a4-0x16f;const _0x1ba73a=a174_0x1ba7();let _0x2983bc=_0x1ba73a[_0x1693a4];return _0x2983bc;}export async function exitWithOtelShutdown(_0x3ec66c){const _0x276a69=a174_0x2983;await flushOtelNodeIfUsed(),process[_0x276a69(0x16f)](_0x3ec66c);}
@@ -1 +1 @@
1
- const a175_0xf8ab46=a175_0x14e0;(function(_0x1af723,_0x402b6f){const _0x5c1e61=a175_0x14e0,_0x42d07f=_0x1af723();while(!![]){try{const _0x4e2cf7=-parseInt(_0x5c1e61(0xae))/0x1*(-parseInt(_0x5c1e61(0xad))/0x2)+parseInt(_0x5c1e61(0xaa))/0x3*(parseInt(_0x5c1e61(0xaf))/0x4)+parseInt(_0x5c1e61(0xac))/0x5+-parseInt(_0x5c1e61(0xb2))/0x6+parseInt(_0x5c1e61(0xa9))/0x7*(-parseInt(_0x5c1e61(0xab))/0x8)+-parseInt(_0x5c1e61(0xa8))/0x9*(-parseInt(_0x5c1e61(0xb5))/0xa)+parseInt(_0x5c1e61(0xb3))/0xb;if(_0x4e2cf7===_0x402b6f)break;else _0x42d07f['push'](_0x42d07f['shift']());}catch(_0x25c325){_0x42d07f['push'](_0x42d07f['shift']());}}}(a175_0x8e5a,0xcc35e));import{sendTraceLog}from'@lovrabet/otel-logger';function a175_0x8e5a(){const _0xd085cc=['version','21610lXhrWD','logData','4149dJLCly','51779kGSNLh','3POJXgR','1800ZYmGwI','2279850SVwSng','168494WePTgW','1SzGtBi','4093476eeWliR','spanName','rabetbase-cli','9204570bWgeDP','16225649ouFGzQ'];a175_0x8e5a=function(){return _0xd085cc;};return a175_0x8e5a();}import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';import{getCliVersion}from'../utils/version.js';function a175_0x14e0(_0x4408a0,_0x16ab48){_0x4408a0=_0x4408a0-0xa8;const _0x8e5a5c=a175_0x8e5a();let _0x14e020=_0x8e5a5c[_0x4408a0];return _0x14e020;}const DEFAULT_TRACE_NAME=a175_0xf8ab46(0xb1);export async function sendCliTraceLog(_0x1dee25){const _0x25c0b8=a175_0xf8ab46;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x1dee25['traceName']??DEFAULT_TRACE_NAME,'version':_0x1dee25[_0x25c0b8(0xb4)]??getCliVersion(),'spanName':_0x1dee25[_0x25c0b8(0xb0)],'eventType':'manual','logData':_0x1dee25[_0x25c0b8(0xb6)],..._0x1dee25['traceparent']&&{'traceparent':_0x1dee25['traceparent']}});}
1
+ const a175_0x18e485=a175_0x4223;(function(_0x3b5101,_0x18aa15){const _0x508c65=a175_0x4223,_0x430537=_0x3b5101();while(!![]){try{const _0x5d62a2=parseInt(_0x508c65(0x1e0))/0x1+parseInt(_0x508c65(0x1e5))/0x2*(-parseInt(_0x508c65(0x1e2))/0x3)+-parseInt(_0x508c65(0x1ed))/0x4+-parseInt(_0x508c65(0x1ec))/0x5*(-parseInt(_0x508c65(0x1e7))/0x6)+-parseInt(_0x508c65(0x1e6))/0x7*(-parseInt(_0x508c65(0x1e4))/0x8)+-parseInt(_0x508c65(0x1e9))/0x9*(-parseInt(_0x508c65(0x1de))/0xa)+-parseInt(_0x508c65(0x1e8))/0xb*(-parseInt(_0x508c65(0x1ea))/0xc);if(_0x5d62a2===_0x18aa15)break;else _0x430537['push'](_0x430537['shift']());}catch(_0x1afb2c){_0x430537['push'](_0x430537['shift']());}}}(a175_0x32e3,0x1f41e));import{sendTraceLog}from'@lovrabet/otel-logger';function a175_0x32e3(){const _0xcbd374=['789804jkSpSg','70hsTXIA','version','15178psAHwt','traceparent','122907zrToIZ','logData','8veNkTi','10dSYHXy','296338xSTgaw','6CBVbdI','11aHZMMD','174195ECDecU','2856288qaVKYK','rabetbase-cli','496525NdjtaY'];a175_0x32e3=function(){return _0xcbd374;};return a175_0x32e3();}import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';import{getCliVersion}from'../utils/version.js';const DEFAULT_TRACE_NAME=a175_0x18e485(0x1eb);function a175_0x4223(_0x1c09fc,_0x28b2be){_0x1c09fc=_0x1c09fc-0x1de;const _0x32e397=a175_0x32e3();let _0x4223d2=_0x32e397[_0x1c09fc];return _0x4223d2;}export async function sendCliTraceLog(_0x59c915){const _0x50247a=a175_0x18e485;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x59c915['traceName']??DEFAULT_TRACE_NAME,'version':_0x59c915[_0x50247a(0x1df)]??getCliVersion(),'spanName':_0x59c915['spanName'],'eventType':'manual','logData':_0x59c915[_0x50247a(0x1e3)],..._0x59c915[_0x50247a(0x1e1)]&&{'traceparent':_0x59c915['traceparent']}});}
@@ -1 +1 @@
1
- const a176_0x40d46e=a176_0xd636;(function(_0x517c54,_0x48a918){const _0x25b81e=a176_0xd636,_0x5b0de7=_0x517c54();while(!![]){try{const _0x4fb64b=-parseInt(_0x25b81e(0x192))/0x1+parseInt(_0x25b81e(0x18d))/0x2*(parseInt(_0x25b81e(0x194))/0x3)+-parseInt(_0x25b81e(0x191))/0x4+parseInt(_0x25b81e(0x18f))/0x5+parseInt(_0x25b81e(0x195))/0x6*(parseInt(_0x25b81e(0x196))/0x7)+-parseInt(_0x25b81e(0x18c))/0x8*(-parseInt(_0x25b81e(0x193))/0x9)+-parseInt(_0x25b81e(0x190))/0xa;if(_0x4fb64b===_0x48a918)break;else _0x5b0de7['push'](_0x5b0de7['shift']());}catch(_0x1ead44){_0x5b0de7['push'](_0x5b0de7['shift']());}}}(a176_0x2809,0x4ad4b));function a176_0xd636(_0x5bdd5b,_0x5917c3){_0x5bdd5b=_0x5bdd5b-0x18b;const _0x280916=a176_0x2809();let _0xd6362c=_0x280916[_0x5bdd5b];return _0xd6362c;}import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';function a176_0x2809(){const _0x5a7b18=['117qHBnDd','24iqAtGW','344302jvgdUg','platform-issue-log-collect','5512MKFVZd','13788lLQkHO','title','1371255NwqVdN','1189570GQWsXC','1626784evxhKe','314900svOJDR','5319dnfcKy'];a176_0x2809=function(){return _0x5a7b18;};return a176_0x2809();}export const PLATFORM_ISSUE_TRACE_NAME=a176_0x40d46e(0x18b);export const PLATFORM_ISSUE_SPAN_NAME='issue.log.collect';export async function sendPlatformIssueCollectLog(_0x2610d3){const _0x3948ae=a176_0x40d46e;await sendCliTraceLog({'traceName':PLATFORM_ISSUE_TRACE_NAME,'spanName':PLATFORM_ISSUE_SPAN_NAME,'logData':{'issue.title':_0x2610d3[_0x3948ae(0x18e)],'issue.description':_0x2610d3['description']}});}
1
+ const a176_0x5ed276=a176_0x5f50;function a176_0x4ff5(){const _0x50a77f=['12BeBesF','188235CYxSYE','88461XtIkGD','411385igcPjy','7ETASmU','272588ZBpMgs','85657RTwqgu','328AXLuAL','title','544686IVSnAw','250cORlvN','description','platform-issue-log-collect','18783hgODGd'];a176_0x4ff5=function(){return _0x50a77f;};return a176_0x4ff5();}(function(_0x1b6f68,_0x20c3f9){const _0x561d1b=a176_0x5f50,_0x59e4cc=_0x1b6f68();while(!![]){try{const _0x5bc042=-parseInt(_0x561d1b(0x125))/0x1+parseInt(_0x561d1b(0x128))/0x2+-parseInt(_0x561d1b(0x124))/0x3*(-parseInt(_0x561d1b(0x123))/0x4)+-parseInt(_0x561d1b(0x126))/0x5+-parseInt(_0x561d1b(0x11e))/0x6*(-parseInt(_0x561d1b(0x127))/0x7)+parseInt(_0x561d1b(0x12a))/0x8*(parseInt(_0x561d1b(0x122))/0x9)+parseInt(_0x561d1b(0x11f))/0xa*(-parseInt(_0x561d1b(0x129))/0xb);if(_0x5bc042===_0x20c3f9)break;else _0x59e4cc['push'](_0x59e4cc['shift']());}catch(_0x40c6fd){_0x59e4cc['push'](_0x59e4cc['shift']());}}}(a176_0x4ff5,0x21128));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export const PLATFORM_ISSUE_TRACE_NAME=a176_0x5ed276(0x121);function a176_0x5f50(_0x282802,_0x29cf4c){_0x282802=_0x282802-0x11e;const _0x4ff527=a176_0x4ff5();let _0x5f500c=_0x4ff527[_0x282802];return _0x5f500c;}export const PLATFORM_ISSUE_SPAN_NAME='issue.log.collect';export async function sendPlatformIssueCollectLog(_0x46cd0b){const _0x661881=a176_0x5ed276;await sendCliTraceLog({'traceName':PLATFORM_ISSUE_TRACE_NAME,'spanName':PLATFORM_ISSUE_SPAN_NAME,'logData':{'issue.title':_0x46cd0b[_0x661881(0x12b)],'issue.description':_0x46cd0b[_0x661881(0x120)]}});}
@@ -1 +1 @@
1
- const a178_0x2320e2=a178_0x32a7;(function(_0x3bb68b,_0x4ca7bc){const _0x42c426=a178_0x32a7,_0x22a74e=_0x3bb68b();while(!![]){try{const _0x54f2b3=parseInt(_0x42c426(0x1e3))/0x1*(-parseInt(_0x42c426(0x20b))/0x2)+parseInt(_0x42c426(0x20e))/0x3*(-parseInt(_0x42c426(0x1ea))/0x4)+-parseInt(_0x42c426(0x1f7))/0x5+parseInt(_0x42c426(0x1f2))/0x6+-parseInt(_0x42c426(0x1f1))/0x7+parseInt(_0x42c426(0x1ff))/0x8+parseInt(_0x42c426(0x212))/0x9;if(_0x54f2b3===_0x4ca7bc)break;else _0x22a74e['push'](_0x22a74e['shift']());}catch(_0x2b44f5){_0x22a74e['push'](_0x22a74e['shift']());}}}(a178_0x37f3,0xe1224));function a178_0x37f3(){const _0x3a3dec=['SKILL.md.tpl','agent','Codex\x20IDE','7650976RhQrWQ','cline','Cursor\x20IDE','opencode','通用模板\x20-\x20兜底方案','Cline','.claude','.codebuddy','Antigravity\x20IDE','.trae/skills/lovrabet/SKILL.md','codebuddy','.cline/skills/lovrabet/SKILL.md','18zkRBda','file','Windsurf','48936ljnPyP','Codex','.windsurf/workflows/rabetbase.md','codex','42389064JLsLLW','.codex','Trae','.cursorrules','Qoder','.agent','trae','Antigravity','202889VWfgac','.trae','Claude\x20Code','.opencode','windsurf','.agent/skills/lovrabet/SKILL.md','OpenCode','332OvbXWN','antigravity','cursor','Qoder\x20IDE','.qoder','.windsurf','其他\x20(通用模板)','1364237FzuCac','1681536eYIXzd','Windsurf\x20IDE','.cursor','.cursor/skills/rabetbase.md','Cursor','8247940cOPYCh','Cline\x20IDE','claude','qoder','.cline'];a178_0x37f3=function(){return _0x3a3dec;};return a178_0x37f3();}export const CORE_IDE_CONFIGS={'cursor':{'name':a178_0x2320e2(0x1f6),'description':a178_0x2320e2(0x201),'folders':[a178_0x2320e2(0x215),a178_0x2320e2(0x1f4)],'files':[{'type':a178_0x2320e2(0x20c),'path':a178_0x2320e2(0x1f5),'template':'SKILL.md.tpl'}]},'windsurf':{'name':a178_0x2320e2(0x20d),'description':a178_0x2320e2(0x1f3),'folders':[a178_0x2320e2(0x1ef)],'files':[{'type':a178_0x2320e2(0x20c),'path':a178_0x2320e2(0x210),'template':a178_0x2320e2(0x1fc)}]},'claude':{'name':a178_0x2320e2(0x1e5),'description':'Claude\x20Code','folders':[a178_0x2320e2(0x205)],'files':[{'type':a178_0x2320e2(0x20c),'path':'.claude/skills/lovrabet/SKILL.md','template':a178_0x2320e2(0x1fc)}]},'cline':{'name':a178_0x2320e2(0x204),'description':a178_0x2320e2(0x1f8),'folders':[a178_0x2320e2(0x1fb)],'files':[{'type':a178_0x2320e2(0x20c),'path':a178_0x2320e2(0x20a),'template':a178_0x2320e2(0x1fc)}]},'codex':{'name':a178_0x2320e2(0x20f),'description':a178_0x2320e2(0x1fe),'folders':[a178_0x2320e2(0x213)],'files':[{'type':a178_0x2320e2(0x20c),'path':'.codex/skills/lovrabet/SKILL.md','template':'SKILL.md.tpl'}]},'opencode':{'name':a178_0x2320e2(0x1e9),'description':'OpenCode\x20IDE','folders':[a178_0x2320e2(0x1e6)],'files':[{'type':a178_0x2320e2(0x20c),'path':'.opencode/skills/lovrabet/SKILL.md','template':a178_0x2320e2(0x1fc)}]},'qoder':{'name':a178_0x2320e2(0x216),'description':a178_0x2320e2(0x1ed),'folders':[a178_0x2320e2(0x1ee)],'files':[{'type':a178_0x2320e2(0x20c),'path':'.qoder/rules/rabetbase.md','template':'SKILL.md.tpl'},{'type':a178_0x2320e2(0x20c),'path':'.qoder/skills/lovrabet/SKILL.md','template':a178_0x2320e2(0x1fc)}]},'codebuddy':{'name':'CodeBuddy','description':'CodeBuddy\x20IDE','folders':[a178_0x2320e2(0x206)],'files':[{'type':a178_0x2320e2(0x20c),'path':'.codebuddy/skills/lovrabet/SKILL.md','template':a178_0x2320e2(0x1fc)}]},'trae':{'name':a178_0x2320e2(0x214),'description':'Trae\x20IDE','folders':[a178_0x2320e2(0x1e4)],'files':[{'type':a178_0x2320e2(0x20c),'path':a178_0x2320e2(0x208),'template':a178_0x2320e2(0x1fc)}]}};export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':a178_0x2320e2(0x1f0),'description':a178_0x2320e2(0x203),'folders':[a178_0x2320e2(0x217)],'files':[{'type':'file','path':a178_0x2320e2(0x1e8),'template':a178_0x2320e2(0x1fc)}]},'antigravity':{'name':a178_0x2320e2(0x219),'description':a178_0x2320e2(0x207),'folders':['.agent'],'files':[{'type':a178_0x2320e2(0x20c),'path':'.agent/skills/lovrabet/SKILL.md','template':a178_0x2320e2(0x1fc)}]}};export const CORE_IDE_LIST=[a178_0x2320e2(0x1f9),a178_0x2320e2(0x200),'codebuddy',a178_0x2320e2(0x211),a178_0x2320e2(0x1ec),a178_0x2320e2(0x202),'qoder',a178_0x2320e2(0x218),a178_0x2320e2(0x1e7)];function a178_0x32a7(_0x1b2e0d,_0x1bdc35){_0x1b2e0d=_0x1b2e0d-0x1e3;const _0x37f3dc=a178_0x37f3();let _0x32a722=_0x37f3dc[_0x1b2e0d];return _0x32a722;}export const IDE_LIST=[a178_0x2320e2(0x1eb),'claude',a178_0x2320e2(0x200),'codebuddy',a178_0x2320e2(0x211),a178_0x2320e2(0x1ec),'opencode','qoder',a178_0x2320e2(0x218),a178_0x2320e2(0x1e7),a178_0x2320e2(0x1fd)];export const ALL_CORE_IDES=[a178_0x2320e2(0x1ec),a178_0x2320e2(0x1e7),a178_0x2320e2(0x1f9),a178_0x2320e2(0x200),a178_0x2320e2(0x211),a178_0x2320e2(0x202),a178_0x2320e2(0x1fa),a178_0x2320e2(0x209),a178_0x2320e2(0x218)];
1
+ const a178_0xe3128d=a178_0x1e60;(function(_0x3d0fda,_0x496967){const _0x1f666a=a178_0x1e60,_0x3e473f=_0x3d0fda();while(!![]){try{const _0x17692e=-parseInt(_0x1f666a(0x1a9))/0x1*(parseInt(_0x1f666a(0x1b0))/0x2)+parseInt(_0x1f666a(0x1c4))/0x3+parseInt(_0x1f666a(0x1b9))/0x4+-parseInt(_0x1f666a(0x1c1))/0x5*(parseInt(_0x1f666a(0x1bb))/0x6)+-parseInt(_0x1f666a(0x1a5))/0x7+-parseInt(_0x1f666a(0x1c0))/0x8+parseInt(_0x1f666a(0x1c2))/0x9;if(_0x17692e===_0x496967)break;else _0x3e473f['push'](_0x3e473f['shift']());}catch(_0x4e083a){_0x3e473f['push'](_0x3e473f['shift']());}}}(a178_0x15f8,0x379b6));export const CORE_IDE_CONFIGS={'cursor':{'name':'Cursor','description':a178_0xe3128d(0x1aa),'folders':[a178_0xe3128d(0x1b1),a178_0xe3128d(0x1cc)],'files':[{'type':a178_0xe3128d(0x19a),'path':a178_0xe3128d(0x1c3),'template':a178_0xe3128d(0x1a3)}]},'windsurf':{'name':'Windsurf','description':'Windsurf\x20IDE','folders':[a178_0xe3128d(0x1ac)],'files':[{'type':a178_0xe3128d(0x19a),'path':a178_0xe3128d(0x1b5),'template':a178_0xe3128d(0x1a3)}]},'claude':{'name':a178_0xe3128d(0x19d),'description':a178_0xe3128d(0x19d),'folders':[a178_0xe3128d(0x1b4)],'files':[{'type':a178_0xe3128d(0x19a),'path':a178_0xe3128d(0x1cd),'template':a178_0xe3128d(0x1a3)}]},'cline':{'name':'Cline','description':a178_0xe3128d(0x1cf),'folders':[a178_0xe3128d(0x19f)],'files':[{'type':a178_0xe3128d(0x19a),'path':a178_0xe3128d(0x1a4),'template':'SKILL.md.tpl'}]},'codex':{'name':a178_0xe3128d(0x1a2),'description':'Codex\x20IDE','folders':['.codex'],'files':[{'type':a178_0xe3128d(0x19a),'path':a178_0xe3128d(0x1b3),'template':a178_0xe3128d(0x1a3)}]},'opencode':{'name':a178_0xe3128d(0x199),'description':a178_0xe3128d(0x1bf),'folders':[a178_0xe3128d(0x1af)],'files':[{'type':'file','path':'.opencode/skills/lovrabet/SKILL.md','template':a178_0xe3128d(0x1a3)}]},'qoder':{'name':a178_0xe3128d(0x1ad),'description':a178_0xe3128d(0x1ae),'folders':[a178_0xe3128d(0x1ab)],'files':[{'type':a178_0xe3128d(0x19a),'path':a178_0xe3128d(0x19e),'template':a178_0xe3128d(0x1a3)},{'type':'file','path':a178_0xe3128d(0x19b),'template':a178_0xe3128d(0x1a3)}]},'codebuddy':{'name':a178_0xe3128d(0x19c),'description':'CodeBuddy\x20IDE','folders':[a178_0xe3128d(0x1b2)],'files':[{'type':'file','path':a178_0xe3128d(0x1c6),'template':a178_0xe3128d(0x1a3)}]},'trae':{'name':a178_0xe3128d(0x1cb),'description':a178_0xe3128d(0x1bd),'folders':[a178_0xe3128d(0x1a7)],'files':[{'type':'file','path':'.trae/skills/lovrabet/SKILL.md','template':a178_0xe3128d(0x1a3)}]}};function a178_0x1e60(_0x5bb424,_0x5eeb61){_0x5bb424=_0x5bb424-0x198;const _0x15f849=a178_0x15f8();let _0x1e6050=_0x15f849[_0x5bb424];return _0x1e6050;}export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':a178_0xe3128d(0x1c7),'description':a178_0xe3128d(0x1a1),'folders':['.agent'],'files':[{'type':a178_0xe3128d(0x19a),'path':a178_0xe3128d(0x1a6),'template':a178_0xe3128d(0x1a3)}]},'antigravity':{'name':a178_0xe3128d(0x1bc),'description':a178_0xe3128d(0x198),'folders':[a178_0xe3128d(0x1b8)],'files':[{'type':'file','path':a178_0xe3128d(0x1a6),'template':a178_0xe3128d(0x1a3)}]}};export const CORE_IDE_LIST=[a178_0xe3128d(0x1ca),a178_0xe3128d(0x1c8),a178_0xe3128d(0x1c5),a178_0xe3128d(0x1ce),a178_0xe3128d(0x1b6),a178_0xe3128d(0x1ba),'qoder','trae',a178_0xe3128d(0x1c9)];function a178_0x15f8(){const _0x207733=['.windsurf/workflows/rabetbase.md','cursor','trae','.agent','1059564qBNiPX','opencode','6EhSmNC','Antigravity','Trae\x20IDE','antigravity','OpenCode\x20IDE','2287680dpXHWv','300170gNCWDl','8058249BblaZW','.cursor/skills/rabetbase.md','12798yvvzFr','codebuddy','.codebuddy/skills/lovrabet/SKILL.md','其他\x20(通用模板)','cline','windsurf','claude','Trae','.cursor','.claude/skills/lovrabet/SKILL.md','codex','Cline\x20IDE','Antigravity\x20IDE','OpenCode','file','.qoder/skills/lovrabet/SKILL.md','CodeBuddy','Claude\x20Code','.qoder/rules/rabetbase.md','.cline','qoder','通用模板\x20-\x20兜底方案','Codex','SKILL.md.tpl','.cline/skills/lovrabet/SKILL.md','2322509LVISBv','.agent/skills/lovrabet/SKILL.md','.trae','agent','258971jdYAqL','Cursor\x20IDE','.qoder','.windsurf','Qoder','Qoder\x20IDE','.opencode','2vpBLyP','.cursorrules','.codebuddy','.codex/skills/lovrabet/SKILL.md','.claude'];a178_0x15f8=function(){return _0x207733;};return a178_0x15f8();}export const IDE_LIST=[a178_0xe3128d(0x1be),a178_0xe3128d(0x1ca),a178_0xe3128d(0x1c8),a178_0xe3128d(0x1c5),a178_0xe3128d(0x1ce),a178_0xe3128d(0x1b6),a178_0xe3128d(0x1ba),a178_0xe3128d(0x1a0),a178_0xe3128d(0x1b7),a178_0xe3128d(0x1c9),a178_0xe3128d(0x1a8)];export const ALL_CORE_IDES=[a178_0xe3128d(0x1b6),'windsurf',a178_0xe3128d(0x1ca),a178_0xe3128d(0x1c8),'codex',a178_0xe3128d(0x1ba),a178_0xe3128d(0x1a0),a178_0xe3128d(0x1c5),'trae'];
@@ -1 +1 @@
1
- (function(_0x2496aa,_0x2fecdd){const _0x2d8c22=a179_0x327f,_0x4956c3=_0x2496aa();while(!![]){try{const _0x4f97d7=-parseInt(_0x2d8c22(0x180))/0x1*(-parseInt(_0x2d8c22(0x17c))/0x2)+-parseInt(_0x2d8c22(0x186))/0x3*(-parseInt(_0x2d8c22(0x187))/0x4)+-parseInt(_0x2d8c22(0x17f))/0x5*(-parseInt(_0x2d8c22(0x17d))/0x6)+-parseInt(_0x2d8c22(0x184))/0x7+-parseInt(_0x2d8c22(0x185))/0x8+-parseInt(_0x2d8c22(0x181))/0x9*(parseInt(_0x2d8c22(0x182))/0xa)+-parseInt(_0x2d8c22(0x17e))/0xb*(-parseInt(_0x2d8c22(0x183))/0xc);if(_0x4f97d7===_0x2fecdd)break;else _0x4956c3['push'](_0x4956c3['shift']());}catch(_0x522641){_0x4956c3['push'](_0x4956c3['shift']());}}}(a179_0x28c3,0x9e7f2));function a179_0x327f(_0x3f1160,_0x471b98){_0x3f1160=_0x3f1160-0x17c;const _0x28c36f=a179_0x28c3();let _0x327f94=_0x28c36f[_0x3f1160];return _0x327f94;}import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a179_0x28c3(){const _0x393448=['474onlxdx','18228NtviuN','1390894dSTBqB','6PvYsNV','3014jufurZ','613895ZoeAhu','1wTcwop','9qswHmJ','3503630QHJbPt','46884UCKWHo','4709530kCoZzq','7491160ehrsNb'];a179_0x28c3=function(){return _0x393448;};return a179_0x28c3();}import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
1
+ (function(_0x5664d6,_0x3d1be3){const _0x1525a4=a179_0xee35,_0x4b2d65=_0x5664d6();while(!![]){try{const _0x22b6f7=parseInt(_0x1525a4(0x1bf))/0x1*(-parseInt(_0x1525a4(0x1c0))/0x2)+parseInt(_0x1525a4(0x1b9))/0x3+-parseInt(_0x1525a4(0x1b5))/0x4*(parseInt(_0x1525a4(0x1bc))/0x5)+-parseInt(_0x1525a4(0x1ba))/0x6*(-parseInt(_0x1525a4(0x1bb))/0x7)+parseInt(_0x1525a4(0x1bd))/0x8*(parseInt(_0x1525a4(0x1b8))/0x9)+-parseInt(_0x1525a4(0x1b6))/0xa+parseInt(_0x1525a4(0x1be))/0xb*(parseInt(_0x1525a4(0x1b7))/0xc);if(_0x22b6f7===_0x3d1be3)break;else _0x4b2d65['push'](_0x4b2d65['shift']());}catch(_0x181fe3){_0x4b2d65['push'](_0x4b2d65['shift']());}}}(a179_0x4929,0x87eef));import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a179_0xee35(_0x329012,_0x267209){_0x329012=_0x329012-0x1b5;const _0x4929ad=a179_0x4929();let _0xee356c=_0x4929ad[_0x329012];return _0xee356c;}import{CliErrors}from'../errors.js';function a179_0x4929(){const _0x1cec76=['23SOgcHq','13914fKgDjg','8YioeJv','3821140cGffBr','51588nowYqi','17001opPIyI','2609163ArITHO','6WOxVPV','6217470amdLOL','2359505NwvNnT','496Tczqbc','429QlDSXH'];a179_0x4929=function(){return _0x1cec76;};return a179_0x4929();}export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
@@ -1 +1 @@
1
- (function(_0x1cafb2,_0x2bf40b){const _0x822430=a180_0x5e1d,_0x42a411=_0x1cafb2();while(!![]){try{const _0x4fac64=-parseInt(_0x822430(0x8f))/0x1+parseInt(_0x822430(0x9c))/0x2+-parseInt(_0x822430(0x91))/0x3+parseInt(_0x822430(0x98))/0x4*(parseInt(_0x822430(0x9a))/0x5)+-parseInt(_0x822430(0x96))/0x6*(parseInt(_0x822430(0x97))/0x7)+parseInt(_0x822430(0x95))/0x8+parseInt(_0x822430(0x93))/0x9*(parseInt(_0x822430(0x90))/0xa);if(_0x4fac64===_0x2bf40b)break;else _0x42a411['push'](_0x42a411['shift']());}catch(_0x5991dc){_0x42a411['push'](_0x42a411['shift']());}}}(a180_0x1804,0x5e256));import{getTemplateBaseUrl}from'../utils/config.js';export async function fetchCdnConfig(){const _0x24db14=a180_0x5e1d,_0x522895=getTemplateBaseUrl(),_0x24b561=[_0x522895+'/config.json',_0x522895+_0x24db14(0x92)];for(const _0x508ee4 of _0x24b561){try{const _0xd54a2f=await fetch(_0x508ee4,{'headers':{'Accept':'application/json'}});if(!_0xd54a2f['ok'])continue;const _0x195dc6=await _0xd54a2f[_0x24db14(0x9b)]();if(!_0x195dc6['cli']?.[_0x24db14(0x9d)]||!_0x195dc6[_0x24db14(0x99)]?.['node']?.[_0x24db14(0x9d)])continue;return _0x195dc6;}catch{}}return null;}let cachedConfig=null,cacheTime=0x0;const CACHE_TTL=0x5*0x3c*0x3e8,FAILURE_CACHE_TTL=0x3c*0x3e8;let hasCachedConfig=![];function a180_0x5e1d(_0x4ed437,_0x23aa25){_0x4ed437=_0x4ed437-0x8f;const _0x1804c3=a180_0x1804();let _0x5e1d45=_0x1804c3[_0x4ed437];return _0x5e1d45;}export async function getCdnConfig(){const _0x300433=a180_0x5e1d,_0x250733=Date[_0x300433(0x94)]();if(hasCachedConfig){const _0xc22f7b=cachedConfig?CACHE_TTL:FAILURE_CACHE_TTL;if(_0x250733-cacheTime<_0xc22f7b)return cachedConfig;}const _0x54677b=await fetchCdnConfig();return cachedConfig=_0x54677b,cacheTime=_0x250733,hasCachedConfig=!![],_0x54677b;}function a180_0x1804(){const _0x2db1a0=['1141672YNBsWk','6nvtfge','3617782owGqAi','5104dydgso','sdk','2660nAxifC','json','890216jWrgLP','stableVersion','684960bKXclg','2023610jNXLJL','858972OKHelS','/config/index.json','27NmVeWl','now'];a180_0x1804=function(){return _0x2db1a0;};return a180_0x1804();}export function clearCdnConfigCache(){cachedConfig=null,cacheTime=0x0,hasCachedConfig=![];}
1
+ (function(_0x116e5c,_0x2e4cb7){const _0x31e00f=a180_0x51d4,_0x41c02b=_0x116e5c();while(!![]){try{const _0xbe0f06=parseInt(_0x31e00f(0x14a))/0x1+parseInt(_0x31e00f(0x147))/0x2+parseInt(_0x31e00f(0x150))/0x3*(parseInt(_0x31e00f(0x14b))/0x4)+parseInt(_0x31e00f(0x14f))/0x5+parseInt(_0x31e00f(0x152))/0x6*(parseInt(_0x31e00f(0x14e))/0x7)+-parseInt(_0x31e00f(0x14c))/0x8+-parseInt(_0x31e00f(0x151))/0x9;if(_0xbe0f06===_0x2e4cb7)break;else _0x41c02b['push'](_0x41c02b['shift']());}catch(_0x4d963f){_0x41c02b['push'](_0x41c02b['shift']());}}}(a180_0x39d5,0xb0ec7));import{getTemplateBaseUrl}from'../utils/config.js';export async function fetchCdnConfig(){const _0xc4b27e=a180_0x51d4,_0x327973=getTemplateBaseUrl(),_0x2cf644=[_0x327973+'/config.json',_0x327973+_0xc4b27e(0x148)];for(const _0x281ad2 of _0x2cf644){try{const _0x2f9409=await fetch(_0x281ad2,{'headers':{'Accept':'application/json'}});if(!_0x2f9409['ok'])continue;const _0x262b92=await _0x2f9409['json']();if(!_0x262b92[_0xc4b27e(0x14d)]?.[_0xc4b27e(0x146)]||!_0x262b92[_0xc4b27e(0x145)]?.['node']?.[_0xc4b27e(0x146)])continue;return _0x262b92;}catch{}}return null;}let cachedConfig=null,cacheTime=0x0;function a180_0x51d4(_0x4efec1,_0x5268cb){_0x4efec1=_0x4efec1-0x145;const _0x39d528=a180_0x39d5();let _0x51d431=_0x39d528[_0x4efec1];return _0x51d431;}const CACHE_TTL=0x5*0x3c*0x3e8,FAILURE_CACHE_TTL=0x3c*0x3e8;let hasCachedConfig=![];export async function getCdnConfig(){const _0x529b68=a180_0x51d4,_0x5a1bf6=Date[_0x529b68(0x149)]();if(hasCachedConfig){const _0xaec297=cachedConfig?CACHE_TTL:FAILURE_CACHE_TTL;if(_0x5a1bf6-cacheTime<_0xaec297)return cachedConfig;}const _0x2bcdfb=await fetchCdnConfig();return cachedConfig=_0x2bcdfb,cacheTime=_0x5a1bf6,hasCachedConfig=!![],_0x2bcdfb;}function a180_0x39d5(){const _0x4f16dd=['cli','7GZTccu','2739900ZiSvnp','2995281esovut','25266708CZdIDm','4247556MZYqAF','sdk','stableVersion','1300540CSoNzn','/config/index.json','now','774803jcyxdh','4Lkpowc','1178520mIuPkI'];a180_0x39d5=function(){return _0x4f16dd;};return a180_0x39d5();}export function clearCdnConfigCache(){cachedConfig=null,cacheTime=0x0,hasCachedConfig=![];}
@@ -1 +1 @@
1
- const a181_0x5e1de6=a181_0x4401;(function(_0xc8af81,_0x30b566){const _0xe1e572=a181_0x4401,_0x384abf=_0xc8af81();while(!![]){try{const _0x5f017b=parseInt(_0xe1e572(0x11a))/0x1+parseInt(_0xe1e572(0xf5))/0x2+-parseInt(_0xe1e572(0x103))/0x3*(parseInt(_0xe1e572(0xf6))/0x4)+parseInt(_0xe1e572(0x111))/0x5+-parseInt(_0xe1e572(0x108))/0x6*(parseInt(_0xe1e572(0x10e))/0x7)+parseInt(_0xe1e572(0xff))/0x8*(parseInt(_0xe1e572(0x112))/0x9)+parseInt(_0xe1e572(0x104))/0xa*(parseInt(_0xe1e572(0x10b))/0xb);if(_0x5f017b===_0x30b566)break;else _0x384abf['push'](_0x384abf['shift']());}catch(_0x5e7754){_0x384abf['push'](_0x384abf['shift']());}}}(a181_0x53a6,0x42fcf));import a181_0x4dad0a from'node:fs';function a181_0x4401(_0x7f0e1f,_0x3fb27d){_0x7f0e1f=_0x7f0e1f-0xf5;const _0x53a6c8=a181_0x53a6();let _0x44015c=_0x53a6c8[_0x7f0e1f];return _0x44015c;}import a181_0xb56511 from'node:path';import a181_0x161500 from'semver';import{getCdnConfig}from'../utils/cdn-config.js';const FALLBACK_MIN_SDK_VERSION=a181_0x5e1de6(0x106);function isNonNumericVersion(_0x4f0b2b){const _0x178d13=a181_0x5e1de6,_0x5e34a4=[/^latest$/i,/^beta$/i,/^alpha$/i,/^canary$/i,/^\*$/,/^x$/];return _0x5e34a4[_0x178d13(0xf7)](_0x338146=>_0x338146['test'](_0x4f0b2b));}function getInstalledVersion(_0x20925d,_0x79345d){const _0x27ac5d=a181_0x5e1de6;try{const _0x1ca740=a181_0xb56511[_0x27ac5d(0x105)](_0x20925d,_0x27ac5d(0xfb),_0x79345d,_0x27ac5d(0x117));if(a181_0x4dad0a[_0x27ac5d(0x102)](_0x1ca740)){const _0x24481d=JSON['parse'](a181_0x4dad0a[_0x27ac5d(0x101)](_0x1ca740,_0x27ac5d(0x109)));return _0x24481d[_0x27ac5d(0x119)]||null;}}catch{}return null;}async function getSdkStableVersion(){const _0x41c10b=a181_0x5e1de6;try{const _0x5aee52=await getCdnConfig();return _0x5aee52?.[_0x41c10b(0x113)]?.[_0x41c10b(0x114)]?.['stableVersion']||null;}catch{return null;}}async function getSdkPackageName(){const _0x26b6b3=a181_0x5e1de6;try{const _0x11faac=await getCdnConfig();return _0x11faac?.[_0x26b6b3(0x113)]?.[_0x26b6b3(0x114)]?.[_0x26b6b3(0x10c)]||_0x26b6b3(0x100);}catch{return _0x26b6b3(0x100);}}function a181_0x53a6(){const _0x502f98=['package.json','minVersion','version','185658MBmNlg','\x1b[33m','83882esbHpF','153812Ovlnlz','some','parse','dependencies','coerce','node_modules','stableVersion','\x20\x20\x20Upgrade\x20command:\x20','\x1b[1m','6456rqKgqX','@lovrabet/sdk','readFileSync','existsSync','15VEHqVc','20DgcwHe','join','1.2.0','utf8','10368gdWJIo','utf-8','devDependencies','240493kbgbVp','packageName','log','700cHjukr','\x1b[0m','all','613975cyENwv','2736mhkbhZ','sdk','node','npm\x20install\x20','\x20\x20\x20Stable\x20version:\x20'];a181_0x53a6=function(){return _0x502f98;};return a181_0x53a6();}export async function checkSdkVersion(_0xf9c71c){const _0x44ea03=a181_0x5e1de6,_0xd04fef=a181_0xb56511[_0x44ea03(0x105)](_0xf9c71c,'package.json'),[_0x580b02,_0x293db5]=await Promise[_0x44ea03(0x110)]([getSdkStableVersion(),getSdkPackageName()]),_0x31f27e=_0x580b02||FALLBACK_MIN_SDK_VERSION;if(!a181_0x4dad0a[_0x44ea03(0x102)](_0xd04fef))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x31f27e,'packageName':_0x293db5,'stableVersion':_0x580b02};try{const _0x181b88=JSON[_0x44ea03(0xf8)](a181_0x4dad0a[_0x44ea03(0x101)](_0xd04fef,_0x44ea03(0x107))),_0x1f52b4=_0x181b88[_0x44ea03(0xf9)]||{},_0x4b425d=_0x181b88[_0x44ea03(0x10a)]||{},_0x386a15=_0x1f52b4[_0x293db5]||_0x4b425d[_0x293db5];if(!_0x386a15)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x31f27e,'packageName':_0x293db5,'stableVersion':_0x580b02};let _0x3546b6=getInstalledVersion(_0xf9c71c,_0x293db5);!_0x3546b6&&(_0x3546b6=_0x386a15);if(isNonNumericVersion(_0x386a15))return{'installed':!![],'version':_0x3546b6,'needsUpgrade':![],'minVersion':_0x31f27e,'packageName':_0x293db5,'stableVersion':_0x580b02};const _0x1a1c67=a181_0x161500[_0x44ea03(0xfa)](_0x3546b6),_0x5da913=a181_0x161500[_0x44ea03(0xfa)](_0x31f27e),_0x2d60e7=_0x1a1c67&&_0x5da913?a181_0x161500['lt'](_0x1a1c67,_0x5da913):![];return{'installed':!![],'version':_0x3546b6,'needsUpgrade':_0x2d60e7,'minVersion':_0x31f27e,'packageName':_0x293db5,'stableVersion':_0x580b02};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x31f27e,'packageName':_0x293db5,'stableVersion':_0x580b02};}}export function checkSdkVersionSync(_0x5e6a44){const _0x285bb0=a181_0x5e1de6,_0x56ef68=a181_0xb56511[_0x285bb0(0x105)](_0x5e6a44,_0x285bb0(0x117)),_0x34f386=_0x285bb0(0x100);if(!a181_0x4dad0a[_0x285bb0(0x102)](_0x56ef68))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x34f386,'stableVersion':null};try{const _0x28290a=JSON[_0x285bb0(0xf8)](a181_0x4dad0a[_0x285bb0(0x101)](_0x56ef68,_0x285bb0(0x107))),_0x9e6804=_0x28290a[_0x285bb0(0xf9)]||{},_0x5ae941=_0x28290a[_0x285bb0(0x10a)]||{},_0x29ab76=_0x9e6804[_0x34f386]||_0x5ae941[_0x34f386];if(!_0x29ab76)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x34f386,'stableVersion':null};let _0x5c9393=getInstalledVersion(_0x5e6a44,_0x34f386);!_0x5c9393&&(_0x5c9393=_0x29ab76);if(isNonNumericVersion(_0x29ab76))return{'installed':!![],'version':_0x5c9393,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x34f386,'stableVersion':null};const _0x2b8d10=a181_0x161500[_0x285bb0(0xfa)](_0x5c9393),_0x488c27=_0x2b8d10?a181_0x161500['lt'](_0x2b8d10,FALLBACK_MIN_SDK_VERSION):![];return{'installed':!![],'version':_0x5c9393,'needsUpgrade':_0x488c27,'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x34f386,'stableVersion':null};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x34f386,'stableVersion':null};}}export function printSdkUpgradeWarning(_0x32fda0){const _0x4802c2=a181_0x5e1de6;if(!_0x32fda0['needsUpgrade'])return;const _0x5108b6=_0x4802c2(0x11b),_0x377777=_0x4802c2(0x10f),_0x99457c=_0x4802c2(0xfe),_0x3d8984=_0x32fda0[_0x4802c2(0x10c)]||_0x4802c2(0x100),_0x137128=_0x32fda0[_0x4802c2(0xfc)]||_0x32fda0[_0x4802c2(0x118)],_0x116299=_0x4802c2(0x115)+_0x3d8984+'@'+(_0x137128||'latest');console[_0x4802c2(0x10d)](),console[_0x4802c2(0x10d)](''+_0x5108b6+_0x99457c+'↪\x20SDK\x20update\x20available'+_0x377777),console['log'](_0x5108b6+'\x20\x20\x20Current\x20version:\x20'+_0x3d8984+'@'+_0x32fda0[_0x4802c2(0x119)]+_0x377777),console[_0x4802c2(0x10d)](_0x5108b6+_0x4802c2(0x116)+_0x137128+_0x377777),console[_0x4802c2(0x10d)](_0x5108b6+_0x4802c2(0xfd)+_0x116299+_0x377777),console[_0x4802c2(0x10d)]();}
1
+ const a181_0x14bb64=a181_0x5939;(function(_0x1ea656,_0x34b113){const _0x17e7da=a181_0x5939,_0x5ab607=_0x1ea656();while(!![]){try{const _0x41fd36=-parseInt(_0x17e7da(0xf4))/0x1+parseInt(_0x17e7da(0xe0))/0x2*(parseInt(_0x17e7da(0xe8))/0x3)+-parseInt(_0x17e7da(0xdc))/0x4+parseInt(_0x17e7da(0xed))/0x5*(-parseInt(_0x17e7da(0xd4))/0x6)+parseInt(_0x17e7da(0xf3))/0x7*(-parseInt(_0x17e7da(0xe4))/0x8)+parseInt(_0x17e7da(0xeb))/0x9+parseInt(_0x17e7da(0xf6))/0xa;if(_0x41fd36===_0x34b113)break;else _0x5ab607['push'](_0x5ab607['shift']());}catch(_0x292706){_0x5ab607['push'](_0x5ab607['shift']());}}}(a181_0x5436,0xd954f));import a181_0x54b216 from'node:fs';function a181_0x5436(){const _0x2d1b94=['version','utf8','180320tqfjSD','minVersion','dependencies','devDependencies','2026msQgdC','parse','\x1b[1m','packageName','1736KfpSui','existsSync','join','1.2.0','4371yHMqUv','\x20\x20\x20Upgrade\x20command:\x20','all','236025MyVtVD','node_modules','5sqQAtq','needsUpgrade','coerce','readFileSync','node','package.json','56385QFpolh','1739606bDFAbW','test','46462030XkZVuQ','latest','\x20\x20\x20Current\x20version:\x20','stableVersion','10353342mngTvR','some','npm\x20install\x20','log','sdk','@lovrabet/sdk'];a181_0x5436=function(){return _0x2d1b94;};return a181_0x5436();}import a181_0x116c52 from'node:path';import a181_0x1c6139 from'semver';import{getCdnConfig}from'../utils/cdn-config.js';function a181_0x5939(_0x268e0e,_0x285432){_0x268e0e=_0x268e0e-0xd4;const _0x54368c=a181_0x5436();let _0x593946=_0x54368c[_0x268e0e];return _0x593946;}const FALLBACK_MIN_SDK_VERSION=a181_0x14bb64(0xe7);function isNonNumericVersion(_0x16aff7){const _0x18df57=a181_0x14bb64,_0x4de397=[/^latest$/i,/^beta$/i,/^alpha$/i,/^canary$/i,/^\*$/,/^x$/];return _0x4de397[_0x18df57(0xd5)](_0x25ab6e=>_0x25ab6e[_0x18df57(0xf5)](_0x16aff7));}function getInstalledVersion(_0x33e501,_0x1d858d){const _0x214966=a181_0x14bb64;try{const _0x4d938e=a181_0x116c52[_0x214966(0xe6)](_0x33e501,_0x214966(0xec),_0x1d858d,_0x214966(0xf2));if(a181_0x54b216[_0x214966(0xe5)](_0x4d938e)){const _0x5da1a0=JSON[_0x214966(0xe1)](a181_0x54b216[_0x214966(0xf0)](_0x4d938e,'utf-8'));return _0x5da1a0[_0x214966(0xda)]||null;}}catch{}return null;}async function getSdkStableVersion(){const _0x2a5be1=a181_0x14bb64;try{const _0x23577a=await getCdnConfig();return _0x23577a?.['sdk']?.['node']?.[_0x2a5be1(0xf9)]||null;}catch{return null;}}async function getSdkPackageName(){const _0x1170d5=a181_0x14bb64;try{const _0x3fcdbb=await getCdnConfig();return _0x3fcdbb?.[_0x1170d5(0xd8)]?.[_0x1170d5(0xf1)]?.[_0x1170d5(0xe3)]||_0x1170d5(0xd9);}catch{return _0x1170d5(0xd9);}}export async function checkSdkVersion(_0x4bd138){const _0x2d92b0=a181_0x14bb64,_0x401394=a181_0x116c52[_0x2d92b0(0xe6)](_0x4bd138,_0x2d92b0(0xf2)),[_0x39dbc4,_0x38be69]=await Promise[_0x2d92b0(0xea)]([getSdkStableVersion(),getSdkPackageName()]),_0x505922=_0x39dbc4||FALLBACK_MIN_SDK_VERSION;if(!a181_0x54b216[_0x2d92b0(0xe5)](_0x401394))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x505922,'packageName':_0x38be69,'stableVersion':_0x39dbc4};try{const _0x5f3e3e=JSON[_0x2d92b0(0xe1)](a181_0x54b216[_0x2d92b0(0xf0)](_0x401394,'utf8')),_0x16aef7=_0x5f3e3e[_0x2d92b0(0xde)]||{},_0x3d147f=_0x5f3e3e[_0x2d92b0(0xdf)]||{},_0x5b34b0=_0x16aef7[_0x38be69]||_0x3d147f[_0x38be69];if(!_0x5b34b0)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x505922,'packageName':_0x38be69,'stableVersion':_0x39dbc4};let _0x56a457=getInstalledVersion(_0x4bd138,_0x38be69);!_0x56a457&&(_0x56a457=_0x5b34b0);if(isNonNumericVersion(_0x5b34b0))return{'installed':!![],'version':_0x56a457,'needsUpgrade':![],'minVersion':_0x505922,'packageName':_0x38be69,'stableVersion':_0x39dbc4};const _0xe7428e=a181_0x1c6139[_0x2d92b0(0xef)](_0x56a457),_0x42e0d5=a181_0x1c6139['coerce'](_0x505922),_0x743c57=_0xe7428e&&_0x42e0d5?a181_0x1c6139['lt'](_0xe7428e,_0x42e0d5):![];return{'installed':!![],'version':_0x56a457,'needsUpgrade':_0x743c57,'minVersion':_0x505922,'packageName':_0x38be69,'stableVersion':_0x39dbc4};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x505922,'packageName':_0x38be69,'stableVersion':_0x39dbc4};}}export function checkSdkVersionSync(_0x4ba9ed){const _0x527850=a181_0x14bb64,_0x2dfe7f=a181_0x116c52['join'](_0x4ba9ed,_0x527850(0xf2)),_0x2b8663='@lovrabet/sdk';if(!a181_0x54b216['existsSync'](_0x2dfe7f))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x2b8663,'stableVersion':null};try{const _0x4a52bd=JSON[_0x527850(0xe1)](a181_0x54b216[_0x527850(0xf0)](_0x2dfe7f,_0x527850(0xdb))),_0x1913cb=_0x4a52bd[_0x527850(0xde)]||{},_0x476222=_0x4a52bd[_0x527850(0xdf)]||{},_0x1c89a0=_0x1913cb[_0x2b8663]||_0x476222[_0x2b8663];if(!_0x1c89a0)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x2b8663,'stableVersion':null};let _0x420a87=getInstalledVersion(_0x4ba9ed,_0x2b8663);!_0x420a87&&(_0x420a87=_0x1c89a0);if(isNonNumericVersion(_0x1c89a0))return{'installed':!![],'version':_0x420a87,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x2b8663,'stableVersion':null};const _0x174890=a181_0x1c6139[_0x527850(0xef)](_0x420a87),_0x43662c=_0x174890?a181_0x1c6139['lt'](_0x174890,FALLBACK_MIN_SDK_VERSION):![];return{'installed':!![],'version':_0x420a87,'needsUpgrade':_0x43662c,'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x2b8663,'stableVersion':null};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x2b8663,'stableVersion':null};}}export function printSdkUpgradeWarning(_0x306cde){const _0x3d6964=a181_0x14bb64;if(!_0x306cde[_0x3d6964(0xee)])return;const _0x1b666a='\x1b[33m',_0xd0e68a='\x1b[0m',_0x10c87c=_0x3d6964(0xe2),_0x29c6c1=_0x306cde[_0x3d6964(0xe3)]||_0x3d6964(0xd9),_0x43e6bb=_0x306cde['stableVersion']||_0x306cde[_0x3d6964(0xdd)],_0x29b518=_0x3d6964(0xd6)+_0x29c6c1+'@'+(_0x43e6bb||_0x3d6964(0xf7));console[_0x3d6964(0xd7)](),console[_0x3d6964(0xd7)](''+_0x1b666a+_0x10c87c+'↪\x20SDK\x20update\x20available'+_0xd0e68a),console['log'](_0x1b666a+_0x3d6964(0xf8)+_0x29c6c1+'@'+_0x306cde['version']+_0xd0e68a),console[_0x3d6964(0xd7)](_0x1b666a+'\x20\x20\x20Stable\x20version:\x20'+_0x43e6bb+_0xd0e68a),console[_0x3d6964(0xd7)](_0x1b666a+_0x3d6964(0xe9)+_0x29b518+_0xd0e68a),console['log']();}