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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (260) hide show
  1. package/lib/api/api-doc.js +1 -1
  2. package/lib/api/fetch-model-list.js +1 -1
  3. package/lib/api/generate-api-file.js +1 -1
  4. package/lib/auth/auth-server-ui.js +1 -1
  5. package/lib/auth/auth-server.js +1 -1
  6. package/lib/auth/constant.js +1 -1
  7. package/lib/auth/get-cookie.js +1 -1
  8. package/lib/auth/get-session-user.js +1 -1
  9. package/lib/auth/is-session-valid.js +1 -1
  10. package/lib/auth/login-success-html.js +1 -1
  11. package/lib/auth/logout.js +1 -1
  12. package/lib/cli-flags.js +1 -1
  13. package/lib/cli.js +1 -1
  14. package/lib/commands/api/generate.js +1 -1
  15. package/lib/commands/api/index.js +1 -1
  16. package/lib/commands/api/list.js +1 -1
  17. package/lib/commands/api/pull.js +1 -1
  18. package/lib/commands/api/shared.js +1 -1
  19. package/lib/commands/app/add.js +1 -1
  20. package/lib/commands/app/index.js +1 -1
  21. package/lib/commands/app/list.js +1 -1
  22. package/lib/commands/app/remote-directory.js +1 -1
  23. package/lib/commands/app/remove.js +1 -1
  24. package/lib/commands/app/shared.js +1 -1
  25. package/lib/commands/app-config/delete.js +1 -1
  26. package/lib/commands/app-config/get.js +1 -1
  27. package/lib/commands/app-config/index.js +1 -1
  28. package/lib/commands/app-config/list.js +1 -1
  29. package/lib/commands/app-config/set.js +1 -1
  30. package/lib/commands/app-config/shared.js +1 -1
  31. package/lib/commands/auth/index.js +1 -1
  32. package/lib/commands/bff/create.js +1 -1
  33. package/lib/commands/bff/delete.js +1 -1
  34. package/lib/commands/bff/detail.js +1 -1
  35. package/lib/commands/bff/index.js +1 -1
  36. package/lib/commands/bff/list.js +1 -1
  37. package/lib/commands/bff/pull.js +1 -1
  38. package/lib/commands/bff/push.js +1 -1
  39. package/lib/commands/bff/status.js +1 -1
  40. package/lib/commands/cli-skill/index.js +1 -1
  41. package/lib/commands/cli-update.js +1 -1
  42. package/lib/commands/codegen/index.js +1 -1
  43. package/lib/commands/codegen/sdk.js +1 -1
  44. package/lib/commands/codegen/sql.js +1 -1
  45. package/lib/commands/common/app-registry.js +1 -1
  46. package/lib/commands/common/app-selector.js +1 -1
  47. package/lib/commands/common/async-task.js +1 -1
  48. package/lib/commands/common/dry-run.js +1 -1
  49. package/lib/commands/common/flags.js +1 -1
  50. package/lib/commands/common/local-file.js +1 -1
  51. package/lib/commands/common/validate.js +1 -1
  52. package/lib/commands/config/get.js +1 -1
  53. package/lib/commands/config/index.js +1 -1
  54. package/lib/commands/config/list.js +1 -1
  55. package/lib/commands/config/set.js +1 -1
  56. package/lib/commands/config/shared.js +1 -1
  57. package/lib/commands/data/filter.js +1 -1
  58. package/lib/commands/data/getOne.js +1 -1
  59. package/lib/commands/data/index.js +1 -1
  60. package/lib/commands/data/shared.js +1 -1
  61. package/lib/commands/dataset/business-group-update.js +1 -1
  62. package/lib/commands/dataset/capability.js +1 -1
  63. package/lib/commands/dataset/delete.js +1 -1
  64. package/lib/commands/dataset/detail.js +1 -1
  65. package/lib/commands/dataset/extend-update.js +1 -1
  66. package/lib/commands/dataset/field-update.js +1 -1
  67. package/lib/commands/dataset/generate.js +1 -1
  68. package/lib/commands/dataset/index.js +1 -1
  69. package/lib/commands/dataset/list.js +1 -1
  70. package/lib/commands/dataset/operations.js +1 -1
  71. package/lib/commands/dataset/relation-audit.js +1 -1
  72. package/lib/commands/dataset/relation-create.js +1 -1
  73. package/lib/commands/dataset/relation-delete.js +1 -1
  74. package/lib/commands/dataset/relation-shared.js +1 -1
  75. package/lib/commands/dataset/relation-update.js +1 -1
  76. package/lib/commands/dataset/relations.js +1 -1
  77. package/lib/commands/dataset/rename.js +1 -1
  78. package/lib/commands/dataset/restore.js +1 -1
  79. package/lib/commands/db/analysis-batching.js +1 -1
  80. package/lib/commands/db/analyze-batch-plan.js +1 -1
  81. package/lib/commands/db/analyze-cancel.js +1 -1
  82. package/lib/commands/db/analyze-start.js +1 -1
  83. package/lib/commands/db/analyze-status.js +1 -1
  84. package/lib/commands/db/create.js +1 -1
  85. package/lib/commands/db/delete.js +1 -1
  86. package/lib/commands/db/detail.js +1 -1
  87. package/lib/commands/db/diff.js +1 -1
  88. package/lib/commands/db/index.js +1 -1
  89. package/lib/commands/db/list.js +1 -1
  90. package/lib/commands/db/shared.js +1 -1
  91. package/lib/commands/db/tables.js +1 -1
  92. package/lib/commands/db/test.js +1 -1
  93. package/lib/commands/db/update.js +1 -1
  94. package/lib/commands/doctor.js +1 -1
  95. package/lib/commands/file/index.js +1 -1
  96. package/lib/commands/init/index.js +1 -1
  97. package/lib/commands/issue/index.js +1 -1
  98. package/lib/commands/issue/nudge.js +1 -1
  99. package/lib/commands/issue/report.js +1 -1
  100. package/lib/commands/issue/shared.js +1 -1
  101. package/lib/commands/logs/index.js +1 -1
  102. package/lib/commands/menu/delete.js +1 -1
  103. package/lib/commands/menu/external-link-create.js +1 -1
  104. package/lib/commands/menu/group-create.js +1 -1
  105. package/lib/commands/menu/group-update.js +1 -1
  106. package/lib/commands/menu/index.js +1 -1
  107. package/lib/commands/menu/list.js +1 -1
  108. package/lib/commands/menu/move.js +1 -1
  109. package/lib/commands/menu/regroup-start.js +1 -1
  110. package/lib/commands/menu/shared/compare-table.js +1 -1
  111. package/lib/commands/menu/shared/delete-plan.js +1 -1
  112. package/lib/commands/menu/shared/facts.js +1 -1
  113. package/lib/commands/menu/shared/index.js +1 -1
  114. package/lib/commands/menu/shared/inquirer.js +1 -1
  115. package/lib/commands/menu/shared/local-pages.js +1 -1
  116. package/lib/commands/menu/shared/logic.js +1 -1
  117. package/lib/commands/menu/shared/mutations.js +1 -1
  118. package/lib/commands/menu/shared/service.js +1 -1
  119. package/lib/commands/menu/shared/sync-core.js +1 -1
  120. package/lib/commands/menu/shared/update-core.js +1 -1
  121. package/lib/commands/menu/shared/valid-url.js +1 -1
  122. package/lib/commands/menu/sync.js +1 -1
  123. package/lib/commands/menu/update.js +1 -1
  124. package/lib/commands/notification/config-list.js +1 -1
  125. package/lib/commands/notification/index.js +1 -1
  126. package/lib/commands/page/generate-start.js +1 -1
  127. package/lib/commands/page/generate-status.js +1 -1
  128. package/lib/commands/page/index.js +1 -1
  129. package/lib/commands/page/pull.js +1 -1
  130. package/lib/commands/page/push.js +1 -1
  131. package/lib/commands/page/relation-audit.js +1 -1
  132. package/lib/commands/page/shared.js +1 -1
  133. package/lib/commands/page/standard-page-status.js +1 -1
  134. package/lib/commands/page/sync.js +1 -1
  135. package/lib/commands/permit/index.js +1 -1
  136. package/lib/commands/permit/page-get.js +1 -1
  137. package/lib/commands/permit/page-set.js +1 -1
  138. package/lib/commands/permit/role-apis-set.js +1 -1
  139. package/lib/commands/permit/role-menus-set.js +1 -1
  140. package/lib/commands/permit/role-menus.js +1 -1
  141. package/lib/commands/permit/shared.js +1 -1
  142. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  143. package/lib/commands/project/create/format-elapsed.js +1 -1
  144. package/lib/commands/project/create/main.js +1 -1
  145. package/lib/commands/project/create/non-interactive.js +1 -1
  146. package/lib/commands/project/create/project-template-path.js +1 -1
  147. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  148. package/lib/commands/project/create/use-format-code.js +1 -1
  149. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  150. package/lib/commands/project/index.js +1 -1
  151. package/lib/commands/project/init.js +1 -1
  152. package/lib/commands/project/upgrade.js +1 -1
  153. package/lib/commands/registry.js +1 -1
  154. package/lib/commands/role/create.js +1 -1
  155. package/lib/commands/role/delete.js +1 -1
  156. package/lib/commands/role/detail.js +1 -1
  157. package/lib/commands/role/index.js +1 -1
  158. package/lib/commands/role/list.js +1 -1
  159. package/lib/commands/role/shared.js +1 -1
  160. package/lib/commands/role/update.js +1 -1
  161. package/lib/commands/role/user-add.js +1 -1
  162. package/lib/commands/role/user-remove.js +1 -1
  163. package/lib/commands/role/user-resolve.js +1 -1
  164. package/lib/commands/run/index.js +1 -1
  165. package/lib/commands/schema.js +1 -1
  166. package/lib/commands/sql/create.js +1 -1
  167. package/lib/commands/sql/delete.js +1 -1
  168. package/lib/commands/sql/detail.js +1 -1
  169. package/lib/commands/sql/exec.js +1 -1
  170. package/lib/commands/sql/index.js +1 -1
  171. package/lib/commands/sql/list.js +1 -1
  172. package/lib/commands/sql/pull.js +1 -1
  173. package/lib/commands/sql/push.js +1 -1
  174. package/lib/commands/sql/save.js +1 -1
  175. package/lib/commands/sql/shared.js +1 -1
  176. package/lib/commands/sql/status.js +1 -1
  177. package/lib/commands/sql/validate.js +1 -1
  178. package/lib/commands/task/index.js +1 -1
  179. package/lib/commands/task/status.js +1 -1
  180. package/lib/commands/workspace/add.js +1 -1
  181. package/lib/commands/workspace/index.js +1 -1
  182. package/lib/commands/workspace/remove.js +1 -1
  183. package/lib/config/schema.js +1 -1
  184. package/lib/constant/cdn.js +1 -1
  185. package/lib/constant/cli.js +1 -1
  186. package/lib/constant/defaults.js +1 -1
  187. package/lib/constant/domain.js +1 -1
  188. package/lib/constant/env.js +1 -1
  189. package/lib/constant/output.js +1 -1
  190. package/lib/constant/paths.js +1 -1
  191. package/lib/constant/risk.js +1 -1
  192. package/lib/context/app-resolver.js +1 -1
  193. package/lib/context/auth-resolver.js +1 -1
  194. package/lib/context/config-loader.js +1 -1
  195. package/lib/context.js +1 -1
  196. package/lib/core/alias-resolver.js +1 -1
  197. package/lib/core/api-client.js +1 -1
  198. package/lib/core/bff/config.js +1 -1
  199. package/lib/core/bff/file-system.js +1 -1
  200. package/lib/core/bff/hash.js +1 -1
  201. package/lib/core/bff/lock.js +1 -1
  202. package/lib/core/bff/utils.js +1 -1
  203. package/lib/core/db-resolver.js +1 -1
  204. package/lib/core/page/file-system.js +1 -1
  205. package/lib/core/page/hash.js +1 -1
  206. package/lib/core/page/lock.js +1 -1
  207. package/lib/core/sql-index-auditor.js +1 -1
  208. package/lib/core/sql-sync/config.js +1 -1
  209. package/lib/core/sql-sync/file-system.js +1 -1
  210. package/lib/core/sql-sync/hash.js +1 -1
  211. package/lib/core/sql-sync/lock.js +1 -1
  212. package/lib/core/sql-sync/utils.js +1 -1
  213. package/lib/core/sql-validator.js +1 -1
  214. package/lib/errors.js +1 -1
  215. package/lib/framework/build-all-flags.js +1 -1
  216. package/lib/framework/error-output.js +1 -1
  217. package/lib/framework/explicit-yes.js +1 -1
  218. package/lib/framework/flags.js +1 -1
  219. package/lib/framework/help.js +1 -1
  220. package/lib/framework/index.js +1 -1
  221. package/lib/framework/output.js +1 -1
  222. package/lib/framework/response.js +1 -1
  223. package/lib/framework/runner-alias.js +1 -1
  224. package/lib/framework/runner.js +1 -1
  225. package/lib/framework/schema-export.js +1 -1
  226. package/lib/framework/types.js +1 -1
  227. package/lib/generated/build-info.js +1 -1
  228. package/lib/help.js +1 -1
  229. package/lib/skills/main.js +1 -1
  230. package/lib/skills/npx-skills-add.js +1 -1
  231. package/lib/telemetry/cli-command-trace.js +1 -1
  232. package/lib/telemetry/cli-help-trace.js +1 -1
  233. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  234. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  235. package/lib/telemetry/send-cli-trace-log.js +1 -1
  236. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  237. package/lib/utils/ai_config.js +1 -1
  238. package/lib/utils/apply-jq-filter.js +1 -1
  239. package/lib/utils/cdn-config.js +1 -1
  240. package/lib/utils/check-sdk-version.js +1 -1
  241. package/lib/utils/cli-version-check.js +1 -1
  242. package/lib/utils/cli-version-policy.js +1 -1
  243. package/lib/utils/config.js +1 -1
  244. package/lib/utils/copy-directory.js +1 -1
  245. package/lib/utils/entity-with-id.js +1 -1
  246. package/lib/utils/file-utils.js +1 -1
  247. package/lib/utils/guides-cdn.js +1 -1
  248. package/lib/utils/http-client.js +1 -1
  249. package/lib/utils/is-non-interactive.js +1 -1
  250. package/lib/utils/logger.js +1 -1
  251. package/lib/utils/params.js +1 -1
  252. package/lib/utils/platform.js +1 -1
  253. package/lib/utils/rules-cdn.js +1 -1
  254. package/lib/utils/sleep.js +1 -1
  255. package/lib/utils/template-replacer.js +1 -1
  256. package/lib/utils/update-notice.js +1 -1
  257. package/lib/utils/version.js +1 -1
  258. package/lib/utils/with-active-cookie.js +1 -1
  259. package/lib/utils/write-cli-side-channel.js +1 -1
  260. package/package.json +1 -1
@@ -1 +1 @@
1
- const a230_0x104ae5=a230_0x336c;function a230_0x22de(){const _0x104f55=['698xiCDHo','feb8d38','v2.3.12-beta.1','8250816BNqFpK','2026-08-04T08:14:29.635Z','2522795EQcRaR','48984720thpeYy','27853KUobEF','8802162TwpScr','2.3.12','2817LXSxtV','348omwfAK','1101588vyJgal','4zkzpdd'];a230_0x22de=function(){return _0x104f55;};return a230_0x22de();}(function(_0xd9feb0,_0x2e2dfe){const _0x1ffbe8=a230_0x336c,_0x3e9c91=_0xd9feb0();while(!![]){try{const _0x4566d5=-parseInt(_0x1ffbe8(0x128))/0x1+-parseInt(_0x1ffbe8(0x12a))/0x2*(parseInt(_0x1ffbe8(0x126))/0x3)+-parseInt(_0x1ffbe8(0x129))/0x4*(parseInt(_0x1ffbe8(0x121))/0x5)+parseInt(_0x1ffbe8(0x127))/0x6*(-parseInt(_0x1ffbe8(0x123))/0x7)+-parseInt(_0x1ffbe8(0x11f))/0x8+-parseInt(_0x1ffbe8(0x124))/0x9+parseInt(_0x1ffbe8(0x122))/0xa;if(_0x4566d5===_0x2e2dfe)break;else _0x3e9c91['push'](_0x3e9c91['shift']());}catch(_0x1f5209){_0x3e9c91['push'](_0x3e9c91['shift']());}}}(a230_0x22de,0xb0dee));export const VERSION=a230_0x104ae5(0x125);export const GIT_TAG=a230_0x104ae5(0x11e);function a230_0x336c(_0x110d27,_0xd2c0c2){_0x110d27=_0x110d27-0x11d;const _0x22de42=a230_0x22de();let _0x336c67=_0x22de42[_0x110d27];return _0x336c67;}export const GIT_COMMIT=a230_0x104ae5(0x11d);export const BUILD_TIME=a230_0x104ae5(0x120);
1
+ function a230_0x591c(_0x16d150,_0x45a18d){_0x16d150=_0x16d150-0x1f3;const _0x3fd872=a230_0x3fd8();let _0x591c82=_0x3fd872[_0x16d150];return _0x591c82;}const a230_0x44d9dd=a230_0x591c;(function(_0x408546,_0x5ce1ab){const _0x450983=a230_0x591c,_0x2b3c88=_0x408546();while(!![]){try{const _0x1004e3=-parseInt(_0x450983(0x1f5))/0x1*(parseInt(_0x450983(0x1ff))/0x2)+parseInt(_0x450983(0x1fe))/0x3*(parseInt(_0x450983(0x1fb))/0x4)+-parseInt(_0x450983(0x1f7))/0x5*(-parseInt(_0x450983(0x1fc))/0x6)+parseInt(_0x450983(0x1f6))/0x7+-parseInt(_0x450983(0x200))/0x8+parseInt(_0x450983(0x1fd))/0x9+-parseInt(_0x450983(0x1fa))/0xa;if(_0x1004e3===_0x5ce1ab)break;else _0x2b3c88['push'](_0x2b3c88['shift']());}catch(_0x4a568c){_0x2b3c88['push'](_0x2b3c88['shift']());}}}(a230_0x3fd8,0x4d602));export const VERSION=a230_0x44d9dd(0x1f3);function a230_0x3fd8(){const _0x331e48=['3638385WlKUAG','214947vjorBx','1686OOFGLu','243496pNNjxM','2.3.13-beta.1','v2.3.13-beta.1','596eYxqLn','1515829qAHdNB','120mzwRPG','034fabd','2026-08-04T13:45:41.133Z','1493470rjWcoC','8xgGxkW','58758BnkbJR'];a230_0x3fd8=function(){return _0x331e48;};return a230_0x3fd8();}export const GIT_TAG=a230_0x44d9dd(0x1f4);export const GIT_COMMIT=a230_0x44d9dd(0x1f8);export const BUILD_TIME=a230_0x44d9dd(0x1f9);
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- (function(_0x412680,_0xa31050){var _0x2354fb=a231_0x4d2c,_0x14ed98=_0x412680();while(!![]){try{var _0x1586ee=parseInt(_0x2354fb(0x188))/0x1*(-parseInt(_0x2354fb(0x18c))/0x2)+parseInt(_0x2354fb(0x18b))/0x3*(-parseInt(_0x2354fb(0x18e))/0x4)+parseInt(_0x2354fb(0x187))/0x5*(parseInt(_0x2354fb(0x189))/0x6)+parseInt(_0x2354fb(0x184))/0x7+parseInt(_0x2354fb(0x18f))/0x8+-parseInt(_0x2354fb(0x191))/0x9+parseInt(_0x2354fb(0x190))/0xa*(parseInt(_0x2354fb(0x183))/0xb);if(_0x1586ee===_0xa31050)break;else _0x14ed98['push'](_0x14ed98['shift']());}catch(_0x17efe3){_0x14ed98['push'](_0x14ed98['shift']());}}}(a231_0x2e9b,0x6461c));import a231_0x2d1d49 from'chalk';function a231_0x4d2c(_0x167e8c,_0x39e159){_0x167e8c=_0x167e8c-0x183;var _0x2e9bef=a231_0x2e9b();var _0x4d2c60=_0x2e9bef[_0x167e8c];return _0x4d2c60;}function a231_0x2e9b(){var _0x45fc8a=['green','4187546DRwgCc','933534pfzOcE','\x20to\x20view\x20available\x20commands.','log','20UEMkXO','470ZDeECf','400608rWVdxT','bold','17418AmZmWV','3394DFmswD','\x20--help','236vfdFHW','404408ZFnyJh','30KQnawX','375615aqSwlx'];a231_0x2e9b=function(){return _0x45fc8a;};return a231_0x2e9b();}import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0x529fef=a231_0x4d2c;console['log'](),console[_0x529fef(0x186)](a231_0x2d1d49[_0x529fef(0x192)][_0x529fef(0x18a)]('\x20\x20'+CLI_DISPLAY_NAME)),console['log'](),console[_0x529fef(0x186)]('\x20\x20Use\x20'+a231_0x2d1d49['green'][_0x529fef(0x18a)](CLI_BIN_NAME+_0x529fef(0x18d))+_0x529fef(0x185)),console[_0x529fef(0x186)]();}
1
+ function a231_0x4786(_0x2231aa,_0x29423b){_0x2231aa=_0x2231aa-0xf7;var _0x2c1e48=a231_0x2c1e();var _0x478632=_0x2c1e48[_0x2231aa];return _0x478632;}(function(_0x4c6f5a,_0x4ddeab){var _0xc229c8=a231_0x4786,_0x415b70=_0x4c6f5a();while(!![]){try{var _0x5d5cff=-parseInt(_0xc229c8(0x105))/0x1*(parseInt(_0xc229c8(0x103))/0x2)+-parseInt(_0xc229c8(0x102))/0x3*(-parseInt(_0xc229c8(0xf9))/0x4)+-parseInt(_0xc229c8(0x108))/0x5*(parseInt(_0xc229c8(0xfe))/0x6)+parseInt(_0xc229c8(0xfb))/0x7+parseInt(_0xc229c8(0xf7))/0x8*(-parseInt(_0xc229c8(0x107))/0x9)+-parseInt(_0xc229c8(0xf8))/0xa+parseInt(_0xc229c8(0x106))/0xb*(parseInt(_0xc229c8(0xfa))/0xc);if(_0x5d5cff===_0x4ddeab)break;else _0x415b70['push'](_0x415b70['shift']());}catch(_0x2b1b60){_0x415b70['push'](_0x415b70['shift']());}}}(a231_0x2c1e,0x24892));import a231_0x25be92 from'chalk';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';function a231_0x2c1e(){var _0x2f3f16=['6EqduHK','32bTLBXE','\x20to\x20view\x20available\x20commands.','14230bCKJaX','3713259TUEPYe','384102dimzor','5tHPCBS','40jdfgGW','1618170XNWmaZ','516772APCAhy','12tpvpIT','1547021DUrHMI','bold','log','386526gLszrm','green','\x20\x20Use\x20','\x20--help'];a231_0x2c1e=function(){return _0x2f3f16;};return a231_0x2c1e();}export function showHelp(){var _0x288df5=a231_0x4786;console['log'](),console['log'](a231_0x25be92[_0x288df5(0xff)][_0x288df5(0xfc)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x288df5(0xfd)](),console[_0x288df5(0xfd)](_0x288df5(0x100)+a231_0x25be92[_0x288df5(0xff)][_0x288df5(0xfc)](CLI_BIN_NAME+_0x288df5(0x101))+_0x288df5(0x104)),console[_0x288df5(0xfd)]();}
@@ -1 +1 @@
1
- function a232_0x39b1(){const _0x3a306b=['error','dangerously-bff-save','\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill','slice','11277657ZAQTpP','\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/rabetbase/guides/.\x0a','6091430asVkaY','push','entries','Equivalent\x20command:\x20','Error:\x20Unsupported\x20command:\x20','\x0aAvailable\x20commands:','7262913wvIZop','has','toLowerCase','1070025cCremZ','includes','cwd','setLogPath','exit','8WJvNbZ','log','542qVqeYz','add','startsWith','7941XeVmsq','不支持的命令:\x20','7626180ucExdc','argv','\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','-$1','enable-bff-save','911628ufkuSs','10yROwci'];a232_0x39b1=function(){return _0x3a306b;};return a232_0x39b1();}(function(_0x49e74e,_0x5c31ba){const _0x660956=a232_0x1a9d,_0x9337b=_0x49e74e();while(!![]){try{const _0xe745fe=-parseInt(_0x660956(0x1fc))/0x1+parseInt(_0x660956(0x203))/0x2*(-parseInt(_0x660956(0x206))/0x3)+parseInt(_0x660956(0x1eb))/0x4+-parseInt(_0x660956(0x1f3))/0x5+parseInt(_0x660956(0x208))/0x6+parseInt(_0x660956(0x1f9))/0x7*(parseInt(_0x660956(0x201))/0x8)+-parseInt(_0x660956(0x1f1))/0x9*(-parseInt(_0x660956(0x1ec))/0xa);if(_0xe745fe===_0x5c31ba)break;else _0x9337b['push'](_0x9337b['shift']());}catch(_0x112271){_0x9337b['push'](_0x9337b['shift']());}}}(a232_0x39b1,0xbf631));import{logger}from'../utils/logger.js';import{CLI_BIN_NAME}from'../constant/cli.js';import{NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE}from'../skills/npx-skills-add.js';export function camelCaseFlagsToKebab(_0x3dd17c){const _0x3cb43d=a232_0x1a9d,_0x26cd40=[];for(const [_0x5d2a14,_0x40dd86]of Object[_0x3cb43d(0x1f5)](_0x3dd17c)){if(_0x40dd86===!![]){const _0x24babb=_0x5d2a14['replace'](/([A-Z])/g,_0x3cb43d(0x20b))[_0x3cb43d(0x1fb)]();_0x26cd40[_0x3cb43d(0x1f4)](_0x24babb);}}return _0x26cd40;}export function parseDynamicFlags(){const _0x59882a=a232_0x1a9d,_0x39c427=[];for(let _0x3b8908=0x3;_0x3b8908<process[_0x59882a(0x209)]['length'];_0x3b8908++){const _0x2f0448=process[_0x59882a(0x209)][_0x3b8908];if(_0x2f0448&&_0x2f0448[_0x59882a(0x205)]('--')){const _0x39dab5=_0x2f0448[_0x59882a(0x1f0)](0x2);_0x39dab5&&!_0x39dab5[_0x59882a(0x1fd)]('=')&&_0x39c427[_0x59882a(0x1f4)](_0x39dab5);}}return _0x39c427;}export function getAllProvidedFlags(_0x537342){const _0xf8fc1d=camelCaseFlagsToKebab(_0x537342),_0x423236=parseDynamicFlags(),_0x1585a4=new Set([..._0xf8fc1d,..._0x423236]);return Array['from'](_0x1585a4);}export function normalizeLegacyBffSaveFlags(_0x56d4ad){const _0x213a82=a232_0x1a9d,_0x3c2a9b=new Set(_0x56d4ad);return _0x3c2a9b[_0x213a82(0x1fa)](_0x213a82(0x1ee))&&_0x3c2a9b[_0x213a82(0x204)](_0x213a82(0x1ea)),Array['from'](_0x3c2a9b);}function a232_0x1a9d(_0x4666fd,_0x1026ce){_0x4666fd=_0x4666fd-0x1ea;const _0x39b1dd=a232_0x39b1();let _0x1a9da0=_0x39b1dd[_0x4666fd];return _0x1a9da0;}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;export async function skillsCommand(_0x278fd8,_0x35397c,_0x224fab){const _0xe3e103=a232_0x1a9d;logger[_0xe3e103(0x1ff)](process[_0xe3e103(0x1fe)]());if(_0x224fab?.['help']||_0x278fd8==='--help'){showHelp();return;}console[_0xe3e103(0x1ed)](_0xe3e103(0x1f7)+(_0x278fd8||'(empty)')),console[_0xe3e103(0x202)](_0xe3e103(0x1f8)),console['log']('\x20\x20'+CLI_BIN_NAME+_0xe3e103(0x1ef)),console[_0xe3e103(0x202)](''),console[_0xe3e103(0x202)](_0xe3e103(0x1f6)+SKILLS_INSTALL_COMMAND_LINE),logger[_0xe3e103(0x1ed)]('skill',_0xe3e103(0x207)+_0x278fd8),process[_0xe3e103(0x200)](0x1);}function showHelp(){const _0x4e1744=a232_0x1a9d;console[_0x4e1744(0x202)](_0x4e1744(0x20a)+CLI_BIN_NAME+'\x20cli-skill\x20install\x0a\x0aEquivalent\x20command:\x20'+SKILLS_INSTALL_COMMAND_LINE+_0x4e1744(0x1f2));}
1
+ (function(_0x219617,_0x33170f){const _0x5ac56c=a232_0x211f,_0x583191=_0x219617();while(!![]){try{const _0x34a751=parseInt(_0x5ac56c(0xa8))/0x1+-parseInt(_0x5ac56c(0xc5))/0x2+parseInt(_0x5ac56c(0xa7))/0x3*(parseInt(_0x5ac56c(0xbe))/0x4)+-parseInt(_0x5ac56c(0xb0))/0x5+-parseInt(_0x5ac56c(0xaa))/0x6*(parseInt(_0x5ac56c(0xbf))/0x7)+-parseInt(_0x5ac56c(0xc1))/0x8*(-parseInt(_0x5ac56c(0xae))/0x9)+parseInt(_0x5ac56c(0xa9))/0xa*(parseInt(_0x5ac56c(0xac))/0xb);if(_0x34a751===_0x33170f)break;else _0x583191['push'](_0x583191['shift']());}catch(_0x2b137a){_0x583191['push'](_0x583191['shift']());}}}(a232_0x2451,0xda0e8));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(_0xf7b67a){const _0x360727=a232_0x211f,_0x4f457f=[];for(const [_0x576fb5,_0x104d7b]of Object[_0x360727(0xb8)](_0xf7b67a)){if(_0x104d7b===!![]){const _0x50675c=_0x576fb5[_0x360727(0xb6)](/([A-Z])/g,'-$1')[_0x360727(0xc4)]();_0x4f457f[_0x360727(0xa5)](_0x50675c);}}return _0x4f457f;}export function parseDynamicFlags(){const _0x601a9f=a232_0x211f,_0x5a9dae=[];for(let _0x32ebd9=0x3;_0x32ebd9<process[_0x601a9f(0xb3)][_0x601a9f(0xaf)];_0x32ebd9++){const _0xf28642=process[_0x601a9f(0xb3)][_0x32ebd9];if(_0xf28642&&_0xf28642[_0x601a9f(0xb1)]('--')){const _0x3a06ba=_0xf28642[_0x601a9f(0xb4)](0x2);_0x3a06ba&&!_0x3a06ba['includes']('=')&&_0x5a9dae['push'](_0x3a06ba);}}return _0x5a9dae;}export function getAllProvidedFlags(_0x30539f){const _0x277180=camelCaseFlagsToKebab(_0x30539f),_0x46d1c3=parseDynamicFlags(),_0x412d57=new Set([..._0x277180,..._0x46d1c3]);return Array['from'](_0x412d57);}export function normalizeLegacyBffSaveFlags(_0x2f3411){const _0x59b9d3=a232_0x211f,_0x3057b0=new Set(_0x2f3411);return _0x3057b0['has']('dangerously-bff-save')&&_0x3057b0[_0x59b9d3(0xbc)](_0x59b9d3(0xad)),Array[_0x59b9d3(0xbb)](_0x3057b0);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;function a232_0x211f(_0x533bac,_0x1cfc39){_0x533bac=_0x533bac-0xa4;const _0x24513b=a232_0x2451();let _0x211f3d=_0x24513b[_0x533bac];return _0x211f3d;}export async function skillsCommand(_0x43bb64,_0x546008,_0x126163){const _0x40e949=a232_0x211f;logger[_0x40e949(0xa6)](process[_0x40e949(0xc3)]());if(_0x126163?.[_0x40e949(0xb9)]||_0x43bb64===_0x40e949(0xb5)){showHelp();return;}console[_0x40e949(0xb2)](_0x40e949(0xba)+(_0x43bb64||_0x40e949(0xc0))),console['log']('\x0aAvailable\x20commands:'),console[_0x40e949(0xb7)]('\x20\x20'+CLI_BIN_NAME+'\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill'),console['log'](''),console[_0x40e949(0xb7)]('Equivalent\x20command:\x20'+SKILLS_INSTALL_COMMAND_LINE),logger[_0x40e949(0xb2)](_0x40e949(0xa4),'不支持的命令:\x20'+_0x43bb64),process['exit'](0x1);}function a232_0x2451(){const _0x2cc8ac=['length','2895795CanHNS','startsWith','error','argv','slice','--help','replace','log','entries','help','Error:\x20Unsupported\x20command:\x20','from','add','\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/rabetbase/guides/.\x0a','20476NrdvOU','1114967HIPmPV','(empty)','5936888sbiTQE','\x20cli-skill\x20install\x0a\x0aEquivalent\x20command:\x20','cwd','toLowerCase','3336520FkAuhB','skill','push','setLogPath','249udMAXD','828597QRPHDh','8910590oEDKCn','24agkCgm','\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','22JAprnd','enable-bff-save','9pBrveQ'];a232_0x2451=function(){return _0x2cc8ac;};return a232_0x2451();}function showHelp(){const _0x46f523=a232_0x211f;console['log'](_0x46f523(0xab)+CLI_BIN_NAME+_0x46f523(0xc2)+SKILLS_INSTALL_COMMAND_LINE+_0x46f523(0xbd));}
@@ -1 +1 @@
1
- const a233_0x4cecf8=a233_0x1526;(function(_0x319bd5,_0x34c029){const _0x2d6020=a233_0x1526,_0x22b546=_0x319bd5();while(!![]){try{const _0x1a6979=-parseInt(_0x2d6020(0x152))/0x1*(parseInt(_0x2d6020(0x168))/0x2)+-parseInt(_0x2d6020(0x15a))/0x3*(parseInt(_0x2d6020(0x14a))/0x4)+-parseInt(_0x2d6020(0x160))/0x5*(parseInt(_0x2d6020(0x15f))/0x6)+-parseInt(_0x2d6020(0x154))/0x7+-parseInt(_0x2d6020(0x14d))/0x8*(-parseInt(_0x2d6020(0x153))/0x9)+parseInt(_0x2d6020(0x14c))/0xa+parseInt(_0x2d6020(0x14b))/0xb;if(_0x1a6979===_0x34c029)break;else _0x22b546['push'](_0x22b546['shift']());}catch(_0x4baebb){_0x22b546['push'](_0x22b546['shift']());}}}(a233_0x2354,0xb4a48));function a233_0x2354(){const _0x284dab=['add','log','3MBzQRC','567369ZtQtZz','1654989PyVUvJ','pipe','unknown','join','yes','stderr','882027qvQYed','npx','stdout','push','stdio','246MVAvkC','77845rMAvPB','toString','inherit','exit\x20','Lovrabet','trim','skills','status','914738vmZDhg','skill','4albWSf','28313582kYfEIu','5176990hSUdxO','24njXHXf','--skill','lovrabet/lovrabet-skill'];a233_0x2354=function(){return _0x284dab;};return a233_0x2354();}import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';export const NPX_FLAG_YES='-y';export const SKILLS_FLAG_GLOBAL='-g';export const SKILLS_FLAG_YES='-y';export const NPX_SKILLS_CLI=a233_0x4cecf8(0x166);export const NPX_SKILLS_SUBCOMMAND_ADD=a233_0x4cecf8(0x150);export const NPX_SKILLS_FLAG_SKILL=a233_0x4cecf8(0x14e);export const RABETBASE_SKILL_SOURCE='lovrabet/rabetbase';export const LEGACY_RABETBASE_SKILL_SOURCE=a233_0x4cecf8(0x14f);export const DEFAULT_RABETBASE_SKILL_NAME=a233_0x4cecf8(0x164);export function buildNpxSkillsAddArgv(_0x1025a0){const _0x12bcc6=a233_0x4cecf8,_0x1d5d64=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE];return _0x1025a0&&_0x1d5d64[_0x12bcc6(0x15d)](NPX_SKILLS_FLAG_SKILL,_0x1025a0),_0x1d5d64;}export const NPX_SKILLS_ADD_COMMAND_LINE=['npx',...buildNpxSkillsAddArgv()]['join']('\x20');function a233_0x1526(_0x3a6fc9,_0x1bba1a){_0x3a6fc9=_0x3a6fc9-0x149;const _0x23540b=a233_0x2354();let _0x15260d=_0x23540b[_0x3a6fc9];return _0x15260d;}export const NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE=[a233_0x4cecf8(0x15b),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES]['join']('\x20');export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0x1aaef8,_0x1abb0e){const _0x1ad590=a233_0x4cecf8;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x29e893=_0x1abb0e?.[_0x1ad590(0x15e)]??_0x1ad590(0x162),_0x463ddc=resolveNpmBin(_0x1ad590(0x15b)),_0x52a0a4=buildNpxSkillsAddArgv(_0x1abb0e?.[_0x1ad590(0x149)]),_0x4eb39e=['npx',..._0x52a0a4]['join']('\x20');console['log']('*\x20'+_0x4eb39e);const _0x2f0885=spawnSync(_0x463ddc,_0x52a0a4,{'cwd':_0x1aaef8,'stdio':_0x29e893,'env':process.env,'shell':![]}),_0x3ec704=_0x2f0885[_0x1ad590(0x167)];if(_0x3ec704===0x0)return{'ok':!![],'status':0x0};let _0x526a96=_0x1ad590(0x163)+(_0x3ec704??'unknown');if(_0x29e893==='pipe'){const _0x569bc4=_0x2f0885[_0x1ad590(0x159)]?_0x2f0885['stderr'][_0x1ad590(0x161)]()[_0x1ad590(0x165)]():'',_0x1ada78=_0x2f0885[_0x1ad590(0x15c)]?_0x2f0885['stdout']['toString']()[_0x1ad590(0x165)]():'';if(_0x569bc4)_0x526a96=_0x569bc4;else{if(_0x1ada78)_0x526a96=_0x1ada78;}}return{'ok':![],'status':_0x3ec704??null,'error':_0x526a96};}export function runNpxSkillsRemove(_0x3cc0ee,_0x5d4640,_0x1e2524=LEGACY_RABETBASE_SKILL_SOURCE){const _0x2ba654=a233_0x4cecf8;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x34af1f=_0x5d4640?.[_0x2ba654(0x15e)]??'inherit',_0x195630=resolveNpmBin('npx'),_0x164b80=[NPX_FLAG_YES,NPX_SKILLS_CLI,'remove',_0x1e2524,NPX_SKILLS_FLAG_SKILL,_0x5d4640?.['skill']??DEFAULT_RABETBASE_SKILL_NAME,..._0x5d4640?.[_0x2ba654(0x158)]?['-y']:[]],_0x35bb5d=[_0x195630,..._0x164b80][_0x2ba654(0x157)]('\x20');console[_0x2ba654(0x151)]('*\x20'+_0x35bb5d);const _0x1a90fd=spawnSync(_0x195630,_0x164b80,{'cwd':_0x3cc0ee,'stdio':_0x34af1f,'env':process.env,'shell':![]}),_0x17254f=_0x1a90fd[_0x2ba654(0x167)];if(_0x17254f===0x0)return{'ok':!![],'status':0x0};let _0x4e7c81='exit\x20'+(_0x17254f??_0x2ba654(0x156));if(_0x34af1f==='pipe'){const _0xe44e0b=_0x1a90fd['stderr']?_0x1a90fd['stderr'][_0x2ba654(0x161)]()[_0x2ba654(0x165)]():'',_0x31fa63=_0x1a90fd[_0x2ba654(0x15c)]?_0x1a90fd[_0x2ba654(0x15c)][_0x2ba654(0x161)]()[_0x2ba654(0x165)]():'';if(_0xe44e0b)_0x4e7c81=_0xe44e0b;else{if(_0x31fa63)_0x4e7c81=_0x31fa63;}}return{'ok':![],'status':_0x17254f??null,'error':_0x4e7c81};}export function runNpxSkillsAddGlobal(_0x4258ad,_0x55aee8,_0x39529a){const _0x2de6b9=a233_0x4cecf8;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x422dea=_0x39529a?.['stdio']??_0x2de6b9(0x162),_0x35841c=resolveNpmBin('npx'),_0x17968f=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x55aee8,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES],_0x4dbbbb=[_0x2de6b9(0x15b),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x55aee8,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES]['join']('\x20');console[_0x2de6b9(0x151)]('*\x20'+_0x4dbbbb);const _0x157ec5=spawnSync(_0x35841c,_0x17968f,{'cwd':_0x4258ad,'stdio':_0x422dea,'env':process.env,'shell':![]}),_0x5aaef0=_0x157ec5[_0x2de6b9(0x167)];if(_0x5aaef0===0x0)return{'ok':!![],'status':0x0};let _0x24889d=_0x2de6b9(0x163)+(_0x5aaef0??_0x2de6b9(0x156));if(_0x422dea===_0x2de6b9(0x155)){const _0x2ae604=_0x157ec5['stderr']?_0x157ec5[_0x2de6b9(0x159)]['toString']()['trim']():'',_0x4b54e4=_0x157ec5[_0x2de6b9(0x15c)]?_0x157ec5['stdout'][_0x2de6b9(0x161)]()[_0x2de6b9(0x165)]():'';if(_0x2ae604)_0x24889d=_0x2ae604;else{if(_0x4b54e4)_0x24889d=_0x4b54e4;}}return{'ok':![],'status':_0x5aaef0??null,'error':_0x24889d};}
1
+ const a233_0x23340f=a233_0x39c8;(function(_0x537efa,_0x69119c){const _0x120a64=a233_0x39c8,_0x1dc57b=_0x537efa();while(!![]){try{const _0x139685=-parseInt(_0x120a64(0x13c))/0x1*(parseInt(_0x120a64(0x13b))/0x2)+parseInt(_0x120a64(0x154))/0x3*(-parseInt(_0x120a64(0x14b))/0x4)+parseInt(_0x120a64(0x145))/0x5*(-parseInt(_0x120a64(0x142))/0x6)+-parseInt(_0x120a64(0x138))/0x7*(-parseInt(_0x120a64(0x14e))/0x8)+parseInt(_0x120a64(0x136))/0x9*(-parseInt(_0x120a64(0x13d))/0xa)+parseInt(_0x120a64(0x151))/0xb+parseInt(_0x120a64(0x13f))/0xc;if(_0x139685===_0x69119c)break;else _0x1dc57b['push'](_0x1dc57b['shift']());}catch(_0x242bae){_0x1dc57b['push'](_0x1dc57b['shift']());}}}(a233_0x4545,0xe4db4));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';function a233_0x39c8(_0x48bcc1,_0xdd1c6d){_0x48bcc1=_0x48bcc1-0x135;const _0x4545b5=a233_0x4545();let _0x39c848=_0x4545b5[_0x48bcc1];return _0x39c848;}export const NPX_FLAG_YES='-y';export const SKILLS_FLAG_GLOBAL='-g';export const SKILLS_FLAG_YES='-y';export const NPX_SKILLS_CLI=a233_0x23340f(0x13a);export const NPX_SKILLS_SUBCOMMAND_ADD=a233_0x23340f(0x141);export const NPX_SKILLS_FLAG_SKILL=a233_0x23340f(0x148);export const RABETBASE_SKILL_SOURCE=a233_0x23340f(0x147);export const LEGACY_RABETBASE_SKILL_SOURCE=a233_0x23340f(0x146);export const DEFAULT_RABETBASE_SKILL_NAME=a233_0x23340f(0x153);export function buildNpxSkillsAddArgv(_0xb922cd){const _0x46bf30=a233_0x23340f,_0x4f7d9a=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE];return _0xb922cd&&_0x4f7d9a[_0x46bf30(0x14d)](NPX_SKILLS_FLAG_SKILL,_0xb922cd),_0x4f7d9a;}export const NPX_SKILLS_ADD_COMMAND_LINE=[a233_0x23340f(0x150),...buildNpxSkillsAddArgv()][a233_0x23340f(0x14c)]('\x20');export const NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE=[a233_0x23340f(0x150),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(_0x504b53,_0x37f93c){const _0x121394=a233_0x23340f;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x26dfcf=_0x37f93c?.['stdio']??_0x121394(0x13e),_0x331381=resolveNpmBin('npx'),_0x52d70f=buildNpxSkillsAddArgv(_0x37f93c?.['skill']),_0x36fd7d=[_0x121394(0x150),..._0x52d70f][_0x121394(0x14c)]('\x20');console[_0x121394(0x143)]('*\x20'+_0x36fd7d);const _0xef561a=spawnSync(_0x331381,_0x52d70f,{'cwd':_0x504b53,'stdio':_0x26dfcf,'env':process.env,'shell':![]}),_0x1b964e=_0xef561a[_0x121394(0x139)];if(_0x1b964e===0x0)return{'ok':!![],'status':0x0};let _0x1e4c5a=_0x121394(0x156)+(_0x1b964e??_0x121394(0x152));if(_0x26dfcf===_0x121394(0x155)){const _0x5da6bc=_0xef561a[_0x121394(0x137)]?_0xef561a['stderr']['toString']()[_0x121394(0x144)]():'',_0x426e2f=_0xef561a[_0x121394(0x135)]?_0xef561a['stdout'][_0x121394(0x14a)]()[_0x121394(0x144)]():'';if(_0x5da6bc)_0x1e4c5a=_0x5da6bc;else{if(_0x426e2f)_0x1e4c5a=_0x426e2f;}}return{'ok':![],'status':_0x1b964e??null,'error':_0x1e4c5a};}export function runNpxSkillsRemove(_0x5eea21,_0x196638,_0x12cc3d=LEGACY_RABETBASE_SKILL_SOURCE){const _0x2829f4=a233_0x23340f;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x2ad65d=_0x196638?.[_0x2829f4(0x149)]??_0x2829f4(0x13e),_0x39a72e=resolveNpmBin('npx'),_0x2a7024=[NPX_FLAG_YES,NPX_SKILLS_CLI,'remove',_0x12cc3d,NPX_SKILLS_FLAG_SKILL,_0x196638?.[_0x2829f4(0x140)]??DEFAULT_RABETBASE_SKILL_NAME,..._0x196638?.[_0x2829f4(0x14f)]?['-y']:[]],_0x5f3ce4=[_0x39a72e,..._0x2a7024]['join']('\x20');console[_0x2829f4(0x143)]('*\x20'+_0x5f3ce4);const _0x3dc284=spawnSync(_0x39a72e,_0x2a7024,{'cwd':_0x5eea21,'stdio':_0x2ad65d,'env':process.env,'shell':![]}),_0x2ab4e1=_0x3dc284['status'];if(_0x2ab4e1===0x0)return{'ok':!![],'status':0x0};let _0x1c1694=_0x2829f4(0x156)+(_0x2ab4e1??'unknown');if(_0x2ad65d===_0x2829f4(0x155)){const _0x16dda7=_0x3dc284[_0x2829f4(0x137)]?_0x3dc284['stderr'][_0x2829f4(0x14a)]()['trim']():'',_0x1d0bfc=_0x3dc284[_0x2829f4(0x135)]?_0x3dc284['stdout'][_0x2829f4(0x14a)]()['trim']():'';if(_0x16dda7)_0x1c1694=_0x16dda7;else{if(_0x1d0bfc)_0x1c1694=_0x1d0bfc;}}return{'ok':![],'status':_0x2ab4e1??null,'error':_0x1c1694};}export function runNpxSkillsAddGlobal(_0x4e1aba,_0x395b39,_0x584d9a){const _0x31ec2f=a233_0x23340f;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x160f18=_0x584d9a?.['stdio']??'inherit',_0x1d506a=resolveNpmBin('npx'),_0x11c217=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x395b39,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES],_0xadc48=[_0x31ec2f(0x150),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x395b39,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][_0x31ec2f(0x14c)]('\x20');console[_0x31ec2f(0x143)]('*\x20'+_0xadc48);const _0xb63be5=spawnSync(_0x1d506a,_0x11c217,{'cwd':_0x4e1aba,'stdio':_0x160f18,'env':process.env,'shell':![]}),_0x1bd95b=_0xb63be5[_0x31ec2f(0x139)];if(_0x1bd95b===0x0)return{'ok':!![],'status':0x0};let _0x140384=_0x31ec2f(0x156)+(_0x1bd95b??'unknown');if(_0x160f18===_0x31ec2f(0x155)){const _0x58f88d=_0xb63be5[_0x31ec2f(0x137)]?_0xb63be5[_0x31ec2f(0x137)]['toString']()[_0x31ec2f(0x144)]():'',_0x4c8036=_0xb63be5['stdout']?_0xb63be5['stdout'][_0x31ec2f(0x14a)]()[_0x31ec2f(0x144)]():'';if(_0x58f88d)_0x140384=_0x58f88d;else{if(_0x4c8036)_0x140384=_0x4c8036;}}return{'ok':![],'status':_0x1bd95b??null,'error':_0x140384};}function a233_0x4545(){const _0x3a036b=['stdio','toString','2191692eCRHsk','join','push','792gVEBXf','yes','npx','3571678JPzvCf','unknown','Lovrabet','3sxeEMZ','pipe','exit\x20','stdout','8009019CGFzaI','stderr','119147cvrYnm','status','skills','2Sxxyrr','1719192pleNjJ','10MspxkO','inherit','31000680rxBycK','skill','add','199506OKTGjR','log','trim','75YvVAWO','lovrabet/lovrabet-skill','lovrabet/rabetbase','--skill'];a233_0x4545=function(){return _0x3a036b;};return a233_0x4545();}
@@ -1 +1 @@
1
- function a234_0x29a2(_0x5b453b,_0x43d2d6){_0x5b453b=_0x5b453b-0xb1;const _0xa9528e=a234_0xa952();let _0x29a21a=_0xa9528e[_0x5b453b];return _0x29a21a;}(function(_0x2d8dfc,_0x246329){const _0x135fc6=a234_0x29a2,_0x70cfbb=_0x2d8dfc();while(!![]){try{const _0x332f73=-parseInt(_0x135fc6(0xb4))/0x1*(parseInt(_0x135fc6(0xb1))/0x2)+-parseInt(_0x135fc6(0xb7))/0x3+parseInt(_0x135fc6(0xb2))/0x4+-parseInt(_0x135fc6(0xbf))/0x5+-parseInt(_0x135fc6(0xba))/0x6*(parseInt(_0x135fc6(0xc0))/0x7)+-parseInt(_0x135fc6(0xb3))/0x8+parseInt(_0x135fc6(0xc1))/0x9;if(_0x332f73===_0x246329)break;else _0x70cfbb['push'](_0x70cfbb['shift']());}catch(_0x3e5fe6){_0x70cfbb['push'](_0x70cfbb['shift']());}}}(a234_0xa952,0xd7678));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';import{getCliVersion}from'../utils/version.js';const SENSITIVE_PATTERNS=[/cookie/i,/token/i,/password/i,/passwd/i,/secret/i,/auth/i,/session/i,/credential/i,/^value$/i];function a234_0xa952(){const _0x304f38=['durationMs','command','7914KTUaKd','message','service','entries','error','113930pPEZVt','8596pMdzOt','23999751zGTPeb','6866HtkTOt','5819224pufwpZ','4792120WmXpFi','201zYhECg','stringify','flags','922749fxywYQ'];a234_0xa952=function(){return _0x304f38;};return a234_0xa952();}function isSensitiveKey(_0x542cec){return SENSITIVE_PATTERNS['some'](_0x2cd8d9=>_0x2cd8d9['test'](_0x542cec));}function sanitizeFlags(_0x3ed40c){const _0x2a9799=a234_0x29a2,_0x392521={};for(const [_0x17b7cd,_0x2c153f]of Object[_0x2a9799(0xbd)](_0x3ed40c)){isSensitiveKey(_0x17b7cd)?_0x392521[_0x17b7cd]=_0x2c153f!=null&&_0x2c153f!==''?'[REDACTED]':_0x2c153f:_0x392521[_0x17b7cd]=_0x2c153f;}return _0x392521;}export async function reportCommandTrace(_0x40438b){const _0x2a0660=a234_0x29a2;try{const _0x3a6eb9=sanitizeFlags(_0x40438b[_0x2a0660(0xb6)]);await sendCliTraceLog({'spanName':'rabetbase.command','logData':{'command.cli_version':getCliVersion(),'command.service':_0x40438b[_0x2a0660(0xbc)],'command.name':_0x40438b[_0x2a0660(0xb9)],'command.flags':JSON[_0x2a0660(0xb5)](_0x3a6eb9),..._0x40438b[_0x2a0660(0xb8)]!=null?{'command.duration_ms':_0x40438b['durationMs']}:{},..._0x40438b[_0x2a0660(0xbe)]?{'command.error':_0x40438b[_0x2a0660(0xbe)]instanceof Error?_0x40438b[_0x2a0660(0xbe)][_0x2a0660(0xbb)]:String(_0x40438b[_0x2a0660(0xbe)])}:{}}});}catch{}}
1
+ (function(_0x76dfc2,_0x443550){const _0xef8866=a234_0x5ccb,_0x418230=_0x76dfc2();while(!![]){try{const _0x5407bf=parseInt(_0xef8866(0x13d))/0x1+parseInt(_0xef8866(0x13b))/0x2*(parseInt(_0xef8866(0x14a))/0x3)+-parseInt(_0xef8866(0x139))/0x4*(-parseInt(_0xef8866(0x13a))/0x5)+parseInt(_0xef8866(0x13c))/0x6*(-parseInt(_0xef8866(0x140))/0x7)+parseInt(_0xef8866(0x144))/0x8*(-parseInt(_0xef8866(0x149))/0x9)+-parseInt(_0xef8866(0x13f))/0xa+parseInt(_0xef8866(0x143))/0xb*(parseInt(_0xef8866(0x13e))/0xc);if(_0x5407bf===_0x443550)break;else _0x418230['push'](_0x418230['shift']());}catch(_0x1bd80e){_0x418230['push'](_0x418230['shift']());}}}(a234_0x52a0,0x28a75));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';import{getCliVersion}from'../utils/version.js';function a234_0x5ccb(_0xe79308,_0x2698f9){_0xe79308=_0xe79308-0x138;const _0x52a0d5=a234_0x52a0();let _0x5ccbca=_0x52a0d5[_0xe79308];return _0x5ccbca;}const SENSITIVE_PATTERNS=[/cookie/i,/token/i,/password/i,/passwd/i,/secret/i,/auth/i,/session/i,/credential/i,/^value$/i];function isSensitiveKey(_0x2160d9){const _0x412d80=a234_0x5ccb;return SENSITIVE_PATTERNS[_0x412d80(0x14b)](_0x5cb223=>_0x5cb223['test'](_0x2160d9));}function a234_0x52a0(){const _0x41164b=['stringify','[REDACTED]','flags','command','1629dArIhr','753132VUCwSP','some','durationMs','entries','4HFMiwy','526985phaygS','2QOPbhl','48fqNxvp','5773TgndmG','127392aLbbrM','797290icUJFb','221795yDOhVJ','service','error','198MGSJsZ','2368mlmYvz'];a234_0x52a0=function(){return _0x41164b;};return a234_0x52a0();}function sanitizeFlags(_0xbe1d4b){const _0x17b038=a234_0x5ccb,_0x51d3e6={};for(const [_0x4f28a8,_0x190d11]of Object[_0x17b038(0x138)](_0xbe1d4b)){isSensitiveKey(_0x4f28a8)?_0x51d3e6[_0x4f28a8]=_0x190d11!=null&&_0x190d11!==''?_0x17b038(0x146):_0x190d11:_0x51d3e6[_0x4f28a8]=_0x190d11;}return _0x51d3e6;}export async function reportCommandTrace(_0x4bad13){const _0x452c1c=a234_0x5ccb;try{const _0x3a0c99=sanitizeFlags(_0x4bad13[_0x452c1c(0x147)]);await sendCliTraceLog({'spanName':'rabetbase.command','logData':{'command.cli_version':getCliVersion(),'command.service':_0x4bad13[_0x452c1c(0x141)],'command.name':_0x4bad13[_0x452c1c(0x148)],'command.flags':JSON[_0x452c1c(0x145)](_0x3a0c99),..._0x4bad13[_0x452c1c(0x14c)]!=null?{'command.duration_ms':_0x4bad13[_0x452c1c(0x14c)]}:{},..._0x4bad13[_0x452c1c(0x142)]?{'command.error':_0x4bad13[_0x452c1c(0x142)]instanceof Error?_0x4bad13['error']['message']:String(_0x4bad13[_0x452c1c(0x142)])}:{}}});}catch{}}
@@ -1 +1 @@
1
- (function(_0xe56a3f,_0x20521d){var _0x2681c8=a235_0x1266,_0xda097e=_0xe56a3f();while(!![]){try{var _0x242f93=parseInt(_0x2681c8(0x179))/0x1+-parseInt(_0x2681c8(0x17c))/0x2+parseInt(_0x2681c8(0x174))/0x3+-parseInt(_0x2681c8(0x17a))/0x4*(parseInt(_0x2681c8(0x178))/0x5)+-parseInt(_0x2681c8(0x175))/0x6*(-parseInt(_0x2681c8(0x172))/0x7)+parseInt(_0x2681c8(0x17b))/0x8+-parseInt(_0x2681c8(0x176))/0x9;if(_0x242f93===_0x20521d)break;else _0xda097e['push'](_0xda097e['shift']());}catch(_0x162a34){_0xda097e['push'](_0xda097e['shift']());}}}(a235_0x34f9,0x1be00));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';function a235_0x1266(_0x402204,_0x4d4f3a){_0x402204=_0x402204-0x172;var _0x34f91f=a235_0x34f9();var _0x1266f3=_0x34f91f[_0x402204];return _0x1266f3;}function a235_0x34f9(){var _0x3c8508=['1374992vDgXIG','323756WcUdHD','service','71155ZhVGnW','cli.help','460473gvMXoP','84cNWtNh','2431017eDMqyr','error','15965IyhwpG','81685dpKSWa','4EzJcaN'];a235_0x34f9=function(){return _0x3c8508;};return a235_0x34f9();}export async function reportCliHelpTrace(_0x32d057,_0x30c16c){var _0x3b2bec=a235_0x1266;try{await sendCliTraceLog({'spanName':_0x3b2bec(0x173),'logData':{'rabetbase.help.kind':_0x32d057,..._0x30c16c?.[_0x3b2bec(0x17d)]&&{'rabetbase.help.service':_0x30c16c[_0x3b2bec(0x17d)]}}});}catch(_0x44ce4b){console[_0x3b2bec(0x177)]('Failed\x20to\x20report\x20CLI\x20help\x20trace:',_0x44ce4b);}}
1
+ (function(_0x58f658,_0x2547a9){var _0x5e7cbf=a235_0x5507,_0x499861=_0x58f658();while(!![]){try{var _0x666f3c=-parseInt(_0x5e7cbf(0x1bf))/0x1+-parseInt(_0x5e7cbf(0x1be))/0x2*(-parseInt(_0x5e7cbf(0x1bd))/0x3)+parseInt(_0x5e7cbf(0x1c5))/0x4*(-parseInt(_0x5e7cbf(0x1c3))/0x5)+-parseInt(_0x5e7cbf(0x1c2))/0x6+parseInt(_0x5e7cbf(0x1ba))/0x7*(-parseInt(_0x5e7cbf(0x1bb))/0x8)+-parseInt(_0x5e7cbf(0x1bc))/0x9+parseInt(_0x5e7cbf(0x1c1))/0xa;if(_0x666f3c===_0x2547a9)break;else _0x499861['push'](_0x499861['shift']());}catch(_0x3252ec){_0x499861['push'](_0x499861['shift']());}}}(a235_0x46cb,0x738df));function a235_0x5507(_0x36d1bd,_0x152c68){_0x36d1bd=_0x36d1bd-0x1ba;var _0x46cbad=a235_0x46cb();var _0x55077a=_0x46cbad[_0x36d1bd];return _0x55077a;}import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';function a235_0x46cb(){var _0xf54c90=['3577212SCEmQv','801310uhxhcy','Failed\x20to\x20report\x20CLI\x20help\x20trace:','16whZjrw','21LoueNH','283992zjIExX','1097370rfziKP','5286GNAIKr','250tCoiSd','329921cqaZsJ','cli.help','20486590vlUbbm'];a235_0x46cb=function(){return _0xf54c90;};return a235_0x46cb();}export async function reportCliHelpTrace(_0xa68f4d,_0x56a544){var _0x20e5d8=a235_0x5507;try{await sendCliTraceLog({'spanName':_0x20e5d8(0x1c0),'logData':{'rabetbase.help.kind':_0xa68f4d,..._0x56a544?.['service']&&{'rabetbase.help.service':_0x56a544['service']}}});}catch(_0x243be2){console['error'](_0x20e5d8(0x1c4),_0x243be2);}}
@@ -1 +1 @@
1
- (function(_0x2e04dc,_0x453cff){const _0x1173c9=a236_0x5b53,_0x1cedfa=_0x2e04dc();while(!![]){try{const _0x5c4558=parseInt(_0x1173c9(0x98))/0x1*(parseInt(_0x1173c9(0x9f))/0x2)+-parseInt(_0x1173c9(0xa5))/0x3*(parseInt(_0x1173c9(0x9d))/0x4)+-parseInt(_0x1173c9(0xa4))/0x5+-parseInt(_0x1173c9(0xa2))/0x6*(parseInt(_0x1173c9(0x9b))/0x7)+-parseInt(_0x1173c9(0xa3))/0x8+parseInt(_0x1173c9(0x97))/0x9*(parseInt(_0x1173c9(0x9c))/0xa)+parseInt(_0x1173c9(0xa0))/0xb;if(_0x5c4558===_0x453cff)break;else _0x1cedfa['push'](_0x1cedfa['shift']());}catch(_0x28f264){_0x1cedfa['push'](_0x1cedfa['shift']());}}}(a236_0x1bc9,0x47795));import{VERSION,GIT_COMMIT}from'../generated/build-info.js';function a236_0x5b53(_0x492e4d,_0x32c2d5){_0x492e4d=_0x492e4d-0x96;const _0x1bc9cd=a236_0x1bc9();let _0x5b53db=_0x1bc9cd[_0x492e4d];return _0x5b53db;}import{getSessionUserInfo}from'../auth/get-session-user.js';import{setServiceConfig,setUserContext}from'@lovrabet/otel-logger';function a236_0x1bc9(){const _0x2a961d=['4278224vexzpU','1449675WvvEtx','6wqTkUx','user','9ThqelG','41odIYRv','tenant_code','username','84zitAEj','3302470KzlJDs','389304dkKllm','production','9850EbIxaS','14841002GrNRoC','nickname','284616pXGazG'];a236_0x1bc9=function(){return _0x2a961d;};return a236_0x1bc9();}import{NPM_PACKAGE_NAME}from'../constant/cli.js';import{getConfigAppCode}from'../utils/config.js';let cliOtelTraceInitialized=![];export async function ensureCliOtelTraceConfig(){const _0x3135f5=a236_0x5b53,_0x3551d9=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x480775=_0x3551d9?.[_0x3135f5(0x96)];setServiceConfig({'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!=='unknown'?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?'daily':_0x3135f5(0x9e))}),setUserContext({'id':_0x480775?.['id'],'username':_0x480775?.[_0x3135f5(0x9a)],'nickname':_0x480775?.[_0x3135f5(0xa1)],'email':_0x480775?.['email'],'tenantCode':_0x480775?.['tenant'][_0x3135f5(0x99)],'appCode':getConfigAppCode()}),cliOtelTraceInitialized=!![];}return _0x3551d9;}
1
+ (function(_0x38636b,_0x1b3ec8){const _0x48af02=a236_0x43fb,_0x9be581=_0x38636b();while(!![]){try{const _0x222388=parseInt(_0x48af02(0x6e))/0x1+parseInt(_0x48af02(0x6b))/0x2+parseInt(_0x48af02(0x79))/0x3*(parseInt(_0x48af02(0x72))/0x4)+parseInt(_0x48af02(0x71))/0x5*(-parseInt(_0x48af02(0x78))/0x6)+-parseInt(_0x48af02(0x6a))/0x7*(-parseInt(_0x48af02(0x6f))/0x8)+parseInt(_0x48af02(0x73))/0x9+-parseInt(_0x48af02(0x75))/0xa*(parseInt(_0x48af02(0x69))/0xb);if(_0x222388===_0x1b3ec8)break;else _0x9be581['push'](_0x9be581['shift']());}catch(_0x1dfd4e){_0x9be581['push'](_0x9be581['shift']());}}}(a236_0xf8ac,0x49c0a));import{VERSION,GIT_COMMIT}from'../generated/build-info.js';import{getSessionUserInfo}from'../auth/get-session-user.js';import{setServiceConfig,setUserContext}from'@lovrabet/otel-logger';function a236_0x43fb(_0x2f7e10,_0x2e6a80){_0x2f7e10=_0x2f7e10-0x69;const _0xf8ace=a236_0xf8ac();let _0x43fb60=_0xf8ace[_0x2f7e10];return _0x43fb60;}import{NPM_PACKAGE_NAME}from'../constant/cli.js';import{getConfigAppCode}from'../utils/config.js';let cliOtelTraceInitialized=![];function a236_0xf8ac(){const _0x4a72d1=['unknown','15PDDfVS','637264DRYApG','4528989snpeqN','daily','40tdgIyP','email','user','1126038iinQhS','6Ijrfyy','username','nickname','tenant','1686410lFJSKT','2443KFpdsH','786692MzbIEr','production','tenant_code','40837uvcjiQ','5096XPsmUc'];a236_0xf8ac=function(){return _0x4a72d1;};return a236_0xf8ac();}export async function ensureCliOtelTraceConfig(){const _0x173677=a236_0x43fb,_0x3e8093=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x5b7486=_0x3e8093?.[_0x173677(0x77)];setServiceConfig({'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!==_0x173677(0x70)?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?_0x173677(0x74):_0x173677(0x6c))}),setUserContext({'id':_0x5b7486?.['id'],'username':_0x5b7486?.[_0x173677(0x7a)],'nickname':_0x5b7486?.[_0x173677(0x7b)],'email':_0x5b7486?.[_0x173677(0x76)],'tenantCode':_0x5b7486?.[_0x173677(0x7c)][_0x173677(0x6d)],'appCode':getConfigAppCode()}),cliOtelTraceInitialized=!![];}return _0x3e8093;}
@@ -1 +1 @@
1
- function a237_0x2a0e(_0x48be2b,_0x1a3ce6){_0x48be2b=_0x48be2b-0xcd;const _0xb15908=a237_0xb159();let _0x2a0eb2=_0xb15908[_0x48be2b];return _0x2a0eb2;}(function(_0x232c1a,_0x3485dd){const _0x505e1f=a237_0x2a0e,_0x1cd1cc=_0x232c1a();while(!![]){try{const _0x42b768=parseInt(_0x505e1f(0xd7))/0x1*(parseInt(_0x505e1f(0xd8))/0x2)+-parseInt(_0x505e1f(0xd2))/0x3+-parseInt(_0x505e1f(0xd0))/0x4+-parseInt(_0x505e1f(0xd9))/0x5*(-parseInt(_0x505e1f(0xd5))/0x6)+-parseInt(_0x505e1f(0xcf))/0x7*(-parseInt(_0x505e1f(0xdb))/0x8)+parseInt(_0x505e1f(0xd6))/0x9*(parseInt(_0x505e1f(0xdc))/0xa)+-parseInt(_0x505e1f(0xce))/0xb;if(_0x42b768===_0x3485dd)break;else _0x1cd1cc['push'](_0x1cd1cc['shift']());}catch(_0x2929a7){_0x1cd1cc['push'](_0x1cd1cc['shift']());}}}(a237_0xb159,0xee4e5));import{shutdownTraces}from'@lovrabet/otel-logger';let shutdownPromise=null;function a237_0xb159(){const _0x359cd6=['23346JNElsz','120573FUhvBi','269AeNdVU','12910NlrPul','585gzoFYe','SIGINT','9168184uMXCvx','550zcVGJW','SIGTERM','exit','369490ALBtRM','7xHFtYL','6511416Dsrmdy','once','4310865fTLPGn','then','beforeExit'];a237_0xb159=function(){return _0x359cd6;};return a237_0xb159();}export async function flushOtelNodeIfUsed(){if(shutdownPromise)return shutdownPromise;return shutdownPromise=((async()=>{try{await shutdownTraces();}catch{}})()),shutdownPromise;}export function registerOtelShutdownOnExit(){const _0x1cf38e=a237_0x2a0e;process[_0x1cf38e(0xd1)](_0x1cf38e(0xd4),()=>{void flushOtelNodeIfUsed();});const _0x4562f6=()=>{const _0x5e5d71=_0x1cf38e;void flushOtelNodeIfUsed()[_0x5e5d71(0xd3)](()=>process[_0x5e5d71(0xcd)](0x0));};process[_0x1cf38e(0xd1)](_0x1cf38e(0xda),_0x4562f6),process['once'](_0x1cf38e(0xdd),_0x4562f6);}export async function exitWithOtelShutdown(_0x1bc5ae){const _0x57f23a=a237_0x2a0e;await flushOtelNodeIfUsed(),process[_0x57f23a(0xcd)](_0x1bc5ae);}
1
+ (function(_0x494c50,_0x4fd935){const _0x3e5c92=a237_0x1b07,_0x327012=_0x494c50();while(!![]){try{const _0x41d99e=-parseInt(_0x3e5c92(0x167))/0x1*(parseInt(_0x3e5c92(0x165))/0x2)+parseInt(_0x3e5c92(0x15e))/0x3*(-parseInt(_0x3e5c92(0x160))/0x4)+-parseInt(_0x3e5c92(0x163))/0x5*(parseInt(_0x3e5c92(0x16c))/0x6)+-parseInt(_0x3e5c92(0x164))/0x7*(-parseInt(_0x3e5c92(0x162))/0x8)+parseInt(_0x3e5c92(0x168))/0x9*(-parseInt(_0x3e5c92(0x16d))/0xa)+parseInt(_0x3e5c92(0x16b))/0xb+parseInt(_0x3e5c92(0x166))/0xc;if(_0x41d99e===_0x4fd935)break;else _0x327012['push'](_0x327012['shift']());}catch(_0x1bada0){_0x327012['push'](_0x327012['shift']());}}}(a237_0x1f7f,0xa75e3));function a237_0x1b07(_0x4cb3ec,_0x441bab){_0x4cb3ec=_0x4cb3ec-0x15c;const _0x1f7fe4=a237_0x1f7f();let _0x1b0798=_0x1f7fe4[_0x4cb3ec];return _0x1b0798;}import{shutdownTraces}from'@lovrabet/otel-logger';let shutdownPromise=null;export async function flushOtelNodeIfUsed(){if(shutdownPromise)return shutdownPromise;return shutdownPromise=((async()=>{try{await shutdownTraces();}catch{}})()),shutdownPromise;}export function registerOtelShutdownOnExit(){const _0x440f9a=a237_0x1b07;process[_0x440f9a(0x15f)](_0x440f9a(0x15c),()=>{void flushOtelNodeIfUsed();});const _0x8e3b2f=()=>{const _0x3585f1=_0x440f9a;void flushOtelNodeIfUsed()[_0x3585f1(0x169)](()=>process[_0x3585f1(0x16a)](0x0));};process[_0x440f9a(0x15f)](_0x440f9a(0x161),_0x8e3b2f),process[_0x440f9a(0x15f)](_0x440f9a(0x15d),_0x8e3b2f);}export async function exitWithOtelShutdown(_0x47326d){await flushOtelNodeIfUsed(),process['exit'](_0x47326d);}function a237_0x1f7f(){const _0x16908c=['70FoeQpW','322315rzQthC','76144eLtaNf','6707628IseQXW','2Fevwjv','99odisis','then','exit','10489149YnwGLD','217338AxsVXr','143690xAAXhd','beforeExit','SIGTERM','3wJYyvz','once','895196GXkDAG','SIGINT','24BdXdvg'];a237_0x1f7f=function(){return _0x16908c;};return a237_0x1f7f();}
@@ -1 +1 @@
1
- const a238_0x11efc7=a238_0x512d;(function(_0x23fb4b,_0x2c23c9){const _0x50f932=a238_0x512d,_0x59acd6=_0x23fb4b();while(!![]){try{const _0x3eb087=parseInt(_0x50f932(0x86))/0x1+parseInt(_0x50f932(0x83))/0x2+parseInt(_0x50f932(0x85))/0x3+-parseInt(_0x50f932(0x92))/0x4*(parseInt(_0x50f932(0x91))/0x5)+parseInt(_0x50f932(0x8b))/0x6*(-parseInt(_0x50f932(0x8d))/0x7)+parseInt(_0x50f932(0x8a))/0x8+-parseInt(_0x50f932(0x82))/0x9*(parseInt(_0x50f932(0x8c))/0xa);if(_0x3eb087===_0x2c23c9)break;else _0x59acd6['push'](_0x59acd6['shift']());}catch(_0xacebdb){_0x59acd6['push'](_0x59acd6['shift']());}}}(a238_0x520a,0x4f501));import{sendTraceLog}from'@lovrabet/otel-logger';function a238_0x512d(_0x1810ee,_0x280b19){_0x1810ee=_0x1810ee-0x82;const _0x520a67=a238_0x520a();let _0x512d01=_0x520a67[_0x1810ee];return _0x512d01;}import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';import{getCliVersion}from'../utils/version.js';const DEFAULT_TRACE_NAME=a238_0x11efc7(0x88);export async function sendCliTraceLog(_0x3c6f15){const _0x107f7f=a238_0x11efc7;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x3c6f15[_0x107f7f(0x84)]??DEFAULT_TRACE_NAME,'version':_0x3c6f15[_0x107f7f(0x90)]??getCliVersion(),'spanName':_0x3c6f15[_0x107f7f(0x87)],'eventType':_0x107f7f(0x8e),'logData':_0x3c6f15[_0x107f7f(0x8f)],..._0x3c6f15[_0x107f7f(0x89)]&&{'traceparent':_0x3c6f15[_0x107f7f(0x89)]}});}function a238_0x520a(){const _0x57d72e=['18531icLvoz','1125036aaMxpq','traceName','1124859tJCRxX','588699MefNqY','spanName','rabetbase-cli','traceparent','2522392XMTRsP','102GIjFbV','4610boLLdB','63077YESyma','manual','logData','version','70PphqDH','118348lXfyKz'];a238_0x520a=function(){return _0x57d72e;};return a238_0x520a();}
1
+ const a238_0x1d3b9d=a238_0x1f46;(function(_0x403e2e,_0x30fa2f){const _0x27e924=a238_0x1f46,_0x28b805=_0x403e2e();while(!![]){try{const _0x38d3e2=parseInt(_0x27e924(0x1df))/0x1+parseInt(_0x27e924(0x1db))/0x2*(-parseInt(_0x27e924(0x1e5))/0x3)+-parseInt(_0x27e924(0x1d7))/0x4*(parseInt(_0x27e924(0x1e0))/0x5)+-parseInt(_0x27e924(0x1d9))/0x6+-parseInt(_0x27e924(0x1e1))/0x7+-parseInt(_0x27e924(0x1d5))/0x8*(-parseInt(_0x27e924(0x1e3))/0x9)+-parseInt(_0x27e924(0x1e2))/0xa*(-parseInt(_0x27e924(0x1d6))/0xb);if(_0x38d3e2===_0x30fa2f)break;else _0x28b805['push'](_0x28b805['shift']());}catch(_0x488ec7){_0x28b805['push'](_0x28b805['shift']());}}}(a238_0x3875,0x3a70e));import{sendTraceLog}from'@lovrabet/otel-logger';import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';import{getCliVersion}from'../utils/version.js';function a238_0x3875(){const _0x12ff5d=['logData','955056uWhWKz','spanName','manual','version','378092hMwnTZ','55mzWfgO','1778504ijTBjj','7089470hWweyY','357021MAAHhk','rabetbase-cli','3ckCCSj','32iWuwnK','11rwltnS','24468IxlSpd','traceparent','1244724hsuNUM'];a238_0x3875=function(){return _0x12ff5d;};return a238_0x3875();}function a238_0x1f46(_0x145164,_0x14fa49){_0x145164=_0x145164-0x1d5;const _0x3875c2=a238_0x3875();let _0x1f46b6=_0x3875c2[_0x145164];return _0x1f46b6;}const DEFAULT_TRACE_NAME=a238_0x1d3b9d(0x1e4);export async function sendCliTraceLog(_0x5f5a92){const _0x41a42b=a238_0x1d3b9d;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x5f5a92['traceName']??DEFAULT_TRACE_NAME,'version':_0x5f5a92[_0x41a42b(0x1de)]??getCliVersion(),'spanName':_0x5f5a92[_0x41a42b(0x1dc)],'eventType':_0x41a42b(0x1dd),'logData':_0x5f5a92[_0x41a42b(0x1da)],..._0x5f5a92[_0x41a42b(0x1d8)]&&{'traceparent':_0x5f5a92['traceparent']}});}
@@ -1 +1 @@
1
- function a239_0x4681(_0x445e07,_0x9336f8){_0x445e07=_0x445e07-0x93;const _0x2c79ab=a239_0x2c79();let _0x4681fc=_0x2c79ab[_0x445e07];return _0x4681fc;}const a239_0x58da73=a239_0x4681;function a239_0x2c79(){const _0x279a67=['20347063jBezNP','7HmvRZn','1022884UtJskk','issue.log.collect','description','platform-issue-log-collect','5710480ycyJic','12crysSJ','45svZQeN','originalBytes','2594664gRmOQT','title','185466PXrdZn','180zvoXIM','redactionCount','1449170SwWDMC','19015seZxGP','sanitize','join','2FnGFhZ'];a239_0x2c79=function(){return _0x279a67;};return a239_0x2c79();}(function(_0x4185ba,_0x360d93){const _0x33c34a=a239_0x4681,_0xc56d21=_0x4185ba();while(!![]){try{const _0x5bb6bd=-parseInt(_0x33c34a(0xa5))/0x1+-parseInt(_0x33c34a(0xa2))/0x2*(-parseInt(_0x33c34a(0x9b))/0x3)+-parseInt(_0x33c34a(0x9c))/0x4*(-parseInt(_0x33c34a(0x9f))/0x5)+-parseInt(_0x33c34a(0x99))/0x6+parseInt(_0x33c34a(0xa4))/0x7*(parseInt(_0x33c34a(0x95))/0x8)+-parseInt(_0x33c34a(0x97))/0x9*(parseInt(_0x33c34a(0x9e))/0xa)+parseInt(_0x33c34a(0xa3))/0xb*(parseInt(_0x33c34a(0x96))/0xc);if(_0x5bb6bd===_0x360d93)break;else _0xc56d21['push'](_0xc56d21['shift']());}catch(_0x5aebc7){_0xc56d21['push'](_0xc56d21['shift']());}}}(a239_0x2c79,0x9688b));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export const PLATFORM_ISSUE_TRACE_NAME=a239_0x58da73(0x94);export const PLATFORM_ISSUE_SPAN_NAME=a239_0x58da73(0xa6);export async function sendPlatformIssueCollectLog(_0x5acf95){const _0x1f1bb2=a239_0x58da73;await sendCliTraceLog({'traceName':PLATFORM_ISSUE_TRACE_NAME,'spanName':PLATFORM_ISSUE_SPAN_NAME,'logData':{'issue.title':_0x5acf95[_0x1f1bb2(0x9a)],'issue.description':_0x5acf95[_0x1f1bb2(0x93)],..._0x5acf95[_0x1f1bb2(0xa0)]?{'issue.description_original_bytes':_0x5acf95[_0x1f1bb2(0xa0)][_0x1f1bb2(0x98)],'issue.description_truncated':_0x5acf95[_0x1f1bb2(0xa0)]['truncated'],'issue.description_redactions':_0x5acf95['sanitize'][_0x1f1bb2(0x9d)],'issue.description_redaction_kinds':_0x5acf95[_0x1f1bb2(0xa0)]['redactionKinds'][_0x1f1bb2(0xa1)](',')}:{}}});}
1
+ const a239_0xbe103a=a239_0x22b8;(function(_0x5c26fe,_0x4da42e){const _0x25a1b7=a239_0x22b8,_0x25a126=_0x5c26fe();while(!![]){try{const _0x3c2751=parseInt(_0x25a1b7(0x1ce))/0x1+parseInt(_0x25a1b7(0x1d4))/0x2+-parseInt(_0x25a1b7(0x1d6))/0x3*(-parseInt(_0x25a1b7(0x1d2))/0x4)+parseInt(_0x25a1b7(0x1d1))/0x5*(-parseInt(_0x25a1b7(0x1d9))/0x6)+-parseInt(_0x25a1b7(0x1dc))/0x7+parseInt(_0x25a1b7(0x1d0))/0x8+parseInt(_0x25a1b7(0x1d7))/0x9*(-parseInt(_0x25a1b7(0x1cf))/0xa);if(_0x3c2751===_0x4da42e)break;else _0x25a126['push'](_0x25a126['shift']());}catch(_0x3e0e47){_0x25a126['push'](_0x25a126['shift']());}}}(a239_0x5ae7,0x457b6));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export const PLATFORM_ISSUE_TRACE_NAME=a239_0xbe103a(0x1d8);export const PLATFORM_ISSUE_SPAN_NAME=a239_0xbe103a(0x1d3);function a239_0x22b8(_0xe7b141,_0x447216){_0xe7b141=_0xe7b141-0x1ce;const _0x5ae71a=a239_0x5ae7();let _0x22b845=_0x5ae71a[_0xe7b141];return _0x22b845;}export async function sendPlatformIssueCollectLog(_0x5df5ef){const _0x41b37e=a239_0xbe103a;await sendCliTraceLog({'traceName':PLATFORM_ISSUE_TRACE_NAME,'spanName':PLATFORM_ISSUE_SPAN_NAME,'logData':{'issue.title':_0x5df5ef[_0x41b37e(0x1da)],'issue.description':_0x5df5ef['description'],..._0x5df5ef['sanitize']?{'issue.description_original_bytes':_0x5df5ef[_0x41b37e(0x1db)]['originalBytes'],'issue.description_truncated':_0x5df5ef[_0x41b37e(0x1db)]['truncated'],'issue.description_redactions':_0x5df5ef[_0x41b37e(0x1db)]['redactionCount'],'issue.description_redaction_kinds':_0x5df5ef[_0x41b37e(0x1db)]['redactionKinds'][_0x41b37e(0x1d5)](',')}:{}}});}function a239_0x5ae7(){const _0x2d6994=['307864meeuqK','100oqLWKp','3401888uohoFP','7335ZNulQt','32gAsOGV','issue.log.collect','68436uEirYe','join','98811TvKKzP','594252hOXsBT','platform-issue-log-collect','36OVUnZd','title','sanitize','539938jjEnAa'];a239_0x5ae7=function(){return _0x2d6994;};return a239_0x5ae7();}
@@ -1 +1 @@
1
- const a241_0xe36df8=a241_0x1a15;(function(_0x288747,_0x157055){const _0x2bb0a5=a241_0x1a15,_0x31cdc3=_0x288747();while(!![]){try{const _0x321f9d=parseInt(_0x2bb0a5(0x148))/0x1*(-parseInt(_0x2bb0a5(0x133))/0x2)+-parseInt(_0x2bb0a5(0x156))/0x3+parseInt(_0x2bb0a5(0x12b))/0x4+parseInt(_0x2bb0a5(0x14e))/0x5*(-parseInt(_0x2bb0a5(0x13a))/0x6)+-parseInt(_0x2bb0a5(0x142))/0x7+parseInt(_0x2bb0a5(0x132))/0x8*(-parseInt(_0x2bb0a5(0x130))/0x9)+-parseInt(_0x2bb0a5(0x129))/0xa*(-parseInt(_0x2bb0a5(0x145))/0xb);if(_0x321f9d===_0x157055)break;else _0x31cdc3['push'](_0x31cdc3['shift']());}catch(_0x4063de){_0x31cdc3['push'](_0x31cdc3['shift']());}}}(a241_0xf47d,0x78161));export const CORE_IDE_CONFIGS={'cursor':{'name':a241_0xe36df8(0x144),'description':a241_0xe36df8(0x14c),'folders':[a241_0xe36df8(0x140),a241_0xe36df8(0x14d)],'files':[{'type':a241_0xe36df8(0x124),'path':'.cursor/skills/rabetbase.md','template':a241_0xe36df8(0x12f)}]},'windsurf':{'name':'Windsurf','description':a241_0xe36df8(0x14a),'folders':[a241_0xe36df8(0x12d)],'files':[{'type':a241_0xe36df8(0x124),'path':'.windsurf/workflows/rabetbase.md','template':a241_0xe36df8(0x12f)}]},'claude':{'name':a241_0xe36df8(0x13d),'description':'Claude\x20Code','folders':['.claude'],'files':[{'type':a241_0xe36df8(0x124),'path':a241_0xe36df8(0x151),'template':'SKILL.md.tpl'}]},'cline':{'name':a241_0xe36df8(0x134),'description':a241_0xe36df8(0x14f),'folders':[a241_0xe36df8(0x125)],'files':[{'type':a241_0xe36df8(0x124),'path':'.cline/skills/lovrabet/SKILL.md','template':a241_0xe36df8(0x12f)}]},'codex':{'name':a241_0xe36df8(0x158),'description':a241_0xe36df8(0x141),'folders':['.codex'],'files':[{'type':a241_0xe36df8(0x124),'path':'.codex/skills/lovrabet/SKILL.md','template':a241_0xe36df8(0x12f)}]},'opencode':{'name':a241_0xe36df8(0x131),'description':a241_0xe36df8(0x126),'folders':[a241_0xe36df8(0x128)],'files':[{'type':'file','path':'.opencode/skills/lovrabet/SKILL.md','template':a241_0xe36df8(0x12f)}]},'qoder':{'name':a241_0xe36df8(0x12c),'description':'Qoder\x20IDE','folders':['.qoder'],'files':[{'type':'file','path':a241_0xe36df8(0x153),'template':a241_0xe36df8(0x12f)},{'type':a241_0xe36df8(0x124),'path':a241_0xe36df8(0x12e),'template':a241_0xe36df8(0x12f)}]},'codebuddy':{'name':a241_0xe36df8(0x152),'description':'CodeBuddy\x20IDE','folders':[a241_0xe36df8(0x13f)],'files':[{'type':a241_0xe36df8(0x124),'path':a241_0xe36df8(0x127),'template':a241_0xe36df8(0x12f)}]},'trae':{'name':'Trae','description':a241_0xe36df8(0x155),'folders':[a241_0xe36df8(0x157)],'files':[{'type':'file','path':a241_0xe36df8(0x147),'template':a241_0xe36df8(0x12f)}]}};function a241_0x1a15(_0x248266,_0x1de14f){_0x248266=_0x248266-0x124;const _0xf47d9b=a241_0xf47d();let _0x1a159d=_0xf47d9b[_0x248266];return _0x1a159d;}export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':'其他\x20(通用模板)','description':a241_0xe36df8(0x13b),'folders':[a241_0xe36df8(0x136)],'files':[{'type':a241_0xe36df8(0x124),'path':a241_0xe36df8(0x139),'template':a241_0xe36df8(0x12f)}]},'antigravity':{'name':a241_0xe36df8(0x135),'description':a241_0xe36df8(0x149),'folders':[a241_0xe36df8(0x136)],'files':[{'type':a241_0xe36df8(0x124),'path':a241_0xe36df8(0x139),'template':a241_0xe36df8(0x12f)}]}};function a241_0xf47d(){const _0x2b5b6=['7231obAONU','Antigravity\x20IDE','Windsurf\x20IDE','qoder','Cursor\x20IDE','.cursor','5YxaNAj','Cline\x20IDE','codex','.claude/skills/lovrabet/SKILL.md','CodeBuddy','.qoder/rules/rabetbase.md','cline','Trae\x20IDE','2645865XbUhym','.trae','Codex','file','.cline','OpenCode\x20IDE','.codebuddy/skills/lovrabet/SKILL.md','.opencode','6980tleGHH','trae','1492800gvsBsu','Qoder','.windsurf','.qoder/skills/lovrabet/SKILL.md','SKILL.md.tpl','4295061yKnpZN','OpenCode','8bORWcK','98fzWAYF','Cline','Antigravity','.agent','opencode','claude','.agent/skills/lovrabet/SKILL.md','2313546NofsXr','通用模板\x20-\x20兜底方案','antigravity','Claude\x20Code','cursor','.codebuddy','.cursorrules','Codex\x20IDE','4786733vhUjRy','windsurf','Cursor','45727AsjFic','codebuddy','.trae/skills/lovrabet/SKILL.md'];a241_0xf47d=function(){return _0x2b5b6;};return a241_0xf47d();}export const CORE_IDE_LIST=[a241_0xe36df8(0x138),a241_0xe36df8(0x154),'codebuddy',a241_0xe36df8(0x150),a241_0xe36df8(0x13e),a241_0xe36df8(0x137),'qoder',a241_0xe36df8(0x12a),'windsurf'];export const IDE_LIST=[a241_0xe36df8(0x13c),a241_0xe36df8(0x138),a241_0xe36df8(0x154),'codebuddy',a241_0xe36df8(0x150),'cursor','opencode',a241_0xe36df8(0x14b),'trae',a241_0xe36df8(0x143),'agent'];export const ALL_CORE_IDES=[a241_0xe36df8(0x13e),a241_0xe36df8(0x143),a241_0xe36df8(0x138),'cline',a241_0xe36df8(0x150),a241_0xe36df8(0x137),a241_0xe36df8(0x14b),a241_0xe36df8(0x146),a241_0xe36df8(0x12a)];
1
+ function a241_0x1d36(_0x4537e6,_0x2ef9b8){_0x4537e6=_0x4537e6-0x11f;const _0x5badc4=a241_0x5bad();let _0x1d36e9=_0x5badc4[_0x4537e6];return _0x1d36e9;}function a241_0x5bad(){const _0x246d97=['Antigravity\x20IDE','.cursorrules','cursor','trae','file','.claude/skills/lovrabet/SKILL.md','.codebuddy','2620612dJoyuA','.qoder/skills/lovrabet/SKILL.md','Cline\x20IDE','.cline','OpenCode\x20IDE','.windsurf/workflows/rabetbase.md','CodeBuddy\x20IDE','opencode','.agent','3180221TSOyPL','Cursor\x20IDE','.cursor','369828JePpoa','windsurf','Trae','其他\x20(通用模板)','Trae\x20IDE','Codex','.claude','claude','Windsurf','.trae/skills/lovrabet/SKILL.md','Qoder\x20IDE','.codebuddy/skills/lovrabet/SKILL.md','.qoder','SKILL.md.tpl','Claude\x20Code','8168wATklQ','.qoder/rules/rabetbase.md','1030248bsOuhA','24851UefZPX','通用模板\x20-\x20兜底方案','Cline','cline','Cursor','.opencode/skills/lovrabet/SKILL.md','3260382afoVKE','10YUlHKj','qoder','CodeBuddy','34RZeSTd','codebuddy','.codex/skills/lovrabet/SKILL.md','codex','Codex\x20IDE','924NpCVyF','.cursor/skills/rabetbase.md','.windsurf','10rVTixA','.agent/skills/lovrabet/SKILL.md'];a241_0x5bad=function(){return _0x246d97;};return a241_0x5bad();}const a241_0x5ca1a0=a241_0x1d36;(function(_0x4c60ee,_0x42ca5e){const _0xe51bb8=a241_0x1d36,_0x1e7bf9=_0x4c60ee();while(!![]){try{const _0x1695a6=-parseInt(_0xe51bb8(0x14e))/0x1*(parseInt(_0xe51bb8(0x11f))/0x2)+parseInt(_0xe51bb8(0x14d))/0x3+-parseInt(_0xe51bb8(0x130))/0x4+parseInt(_0xe51bb8(0x155))/0x5*(parseInt(_0xe51bb8(0x154))/0x6)+parseInt(_0xe51bb8(0x124))/0x7*(-parseInt(_0xe51bb8(0x14b))/0x8)+parseInt(_0xe51bb8(0x13c))/0x9+parseInt(_0xe51bb8(0x127))/0xa*(parseInt(_0xe51bb8(0x139))/0xb);if(_0x1695a6===_0x42ca5e)break;else _0x1e7bf9['push'](_0x1e7bf9['shift']());}catch(_0x4c6dee){_0x1e7bf9['push'](_0x1e7bf9['shift']());}}}(a241_0x5bad,0x85cb5));export const CORE_IDE_CONFIGS={'cursor':{'name':a241_0x5ca1a0(0x152),'description':a241_0x5ca1a0(0x13a),'folders':[a241_0x5ca1a0(0x12a),a241_0x5ca1a0(0x13b)],'files':[{'type':a241_0x5ca1a0(0x12d),'path':a241_0x5ca1a0(0x125),'template':a241_0x5ca1a0(0x149)}]},'windsurf':{'name':a241_0x5ca1a0(0x144),'description':'Windsurf\x20IDE','folders':[a241_0x5ca1a0(0x126)],'files':[{'type':a241_0x5ca1a0(0x12d),'path':a241_0x5ca1a0(0x135),'template':a241_0x5ca1a0(0x149)}]},'claude':{'name':a241_0x5ca1a0(0x14a),'description':a241_0x5ca1a0(0x14a),'folders':[a241_0x5ca1a0(0x142)],'files':[{'type':a241_0x5ca1a0(0x12d),'path':a241_0x5ca1a0(0x12e),'template':a241_0x5ca1a0(0x149)}]},'cline':{'name':a241_0x5ca1a0(0x150),'description':a241_0x5ca1a0(0x132),'folders':[a241_0x5ca1a0(0x133)],'files':[{'type':a241_0x5ca1a0(0x12d),'path':'.cline/skills/lovrabet/SKILL.md','template':a241_0x5ca1a0(0x149)}]},'codex':{'name':a241_0x5ca1a0(0x141),'description':a241_0x5ca1a0(0x123),'folders':['.codex'],'files':[{'type':a241_0x5ca1a0(0x12d),'path':a241_0x5ca1a0(0x121),'template':a241_0x5ca1a0(0x149)}]},'opencode':{'name':'OpenCode','description':a241_0x5ca1a0(0x134),'folders':['.opencode'],'files':[{'type':a241_0x5ca1a0(0x12d),'path':a241_0x5ca1a0(0x153),'template':a241_0x5ca1a0(0x149)}]},'qoder':{'name':'Qoder','description':a241_0x5ca1a0(0x146),'folders':[a241_0x5ca1a0(0x148)],'files':[{'type':a241_0x5ca1a0(0x12d),'path':a241_0x5ca1a0(0x14c),'template':'SKILL.md.tpl'},{'type':a241_0x5ca1a0(0x12d),'path':a241_0x5ca1a0(0x131),'template':a241_0x5ca1a0(0x149)}]},'codebuddy':{'name':a241_0x5ca1a0(0x157),'description':a241_0x5ca1a0(0x136),'folders':[a241_0x5ca1a0(0x12f)],'files':[{'type':a241_0x5ca1a0(0x12d),'path':a241_0x5ca1a0(0x147),'template':a241_0x5ca1a0(0x149)}]},'trae':{'name':a241_0x5ca1a0(0x13e),'description':a241_0x5ca1a0(0x140),'folders':['.trae'],'files':[{'type':a241_0x5ca1a0(0x12d),'path':a241_0x5ca1a0(0x145),'template':'SKILL.md.tpl'}]}};export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':a241_0x5ca1a0(0x13f),'description':a241_0x5ca1a0(0x14f),'folders':[a241_0x5ca1a0(0x138)],'files':[{'type':a241_0x5ca1a0(0x12d),'path':a241_0x5ca1a0(0x128),'template':'SKILL.md.tpl'}]},'antigravity':{'name':'Antigravity','description':a241_0x5ca1a0(0x129),'folders':[a241_0x5ca1a0(0x138)],'files':[{'type':a241_0x5ca1a0(0x12d),'path':a241_0x5ca1a0(0x128),'template':a241_0x5ca1a0(0x149)}]}};export const CORE_IDE_LIST=[a241_0x5ca1a0(0x143),a241_0x5ca1a0(0x151),a241_0x5ca1a0(0x120),a241_0x5ca1a0(0x122),a241_0x5ca1a0(0x12b),a241_0x5ca1a0(0x137),a241_0x5ca1a0(0x156),a241_0x5ca1a0(0x12c),'windsurf'];export const IDE_LIST=['antigravity',a241_0x5ca1a0(0x143),a241_0x5ca1a0(0x151),a241_0x5ca1a0(0x120),'codex',a241_0x5ca1a0(0x12b),a241_0x5ca1a0(0x137),a241_0x5ca1a0(0x156),'trae','windsurf','agent'];export const ALL_CORE_IDES=[a241_0x5ca1a0(0x12b),a241_0x5ca1a0(0x13d),'claude',a241_0x5ca1a0(0x151),a241_0x5ca1a0(0x122),a241_0x5ca1a0(0x137),'qoder',a241_0x5ca1a0(0x120),a241_0x5ca1a0(0x12c)];
@@ -1 +1 @@
1
- (function(_0x27243e,_0x5e6b95){const _0x44691a=a242_0x3652,_0x33386b=_0x27243e();while(!![]){try{const _0x491cdc=-parseInt(_0x44691a(0xca))/0x1+parseInt(_0x44691a(0xd0))/0x2+parseInt(_0x44691a(0xcf))/0x3+-parseInt(_0x44691a(0xd2))/0x4*(parseInt(_0x44691a(0xd3))/0x5)+-parseInt(_0x44691a(0xcc))/0x6+-parseInt(_0x44691a(0xcb))/0x7*(parseInt(_0x44691a(0xcd))/0x8)+parseInt(_0x44691a(0xd1))/0x9*(parseInt(_0x44691a(0xce))/0xa);if(_0x491cdc===_0x5e6b95)break;else _0x33386b['push'](_0x33386b['shift']());}catch(_0x54cac0){_0x33386b['push'](_0x33386b['shift']());}}}(a242_0x21f4,0x9b40e));import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a242_0x21f4(){const _0x42d8ae=['3142290jGhuOL','3234591boCuyw','935550GlXuPx','18JiEHoG','315592NMFFAY','30rfWgKa','333987hwWpNI','1819811dnZmlh','1267146UgWNii','16HlCAwj'];a242_0x21f4=function(){return _0x42d8ae;};return a242_0x21f4();}function a242_0x3652(_0x568cfa,_0x56cb36){_0x568cfa=_0x568cfa-0xca;const _0x21f4b8=a242_0x21f4();let _0x365292=_0x21f4b8[_0x568cfa];return _0x365292;}export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
1
+ function a242_0x3c63(_0x2dabb0,_0x4991d9){_0x2dabb0=_0x2dabb0-0xf5;const _0x2d1294=a242_0x2d12();let _0x3c6330=_0x2d1294[_0x2dabb0];return _0x3c6330;}(function(_0x5725b1,_0x2ce053){const _0x498d8b=a242_0x3c63,_0x1cb74e=_0x5725b1();while(!![]){try{const _0x205541=-parseInt(_0x498d8b(0xfc))/0x1+-parseInt(_0x498d8b(0xf7))/0x2+parseInt(_0x498d8b(0xfb))/0x3*(parseInt(_0x498d8b(0xf6))/0x4)+parseInt(_0x498d8b(0xfe))/0x5*(-parseInt(_0x498d8b(0xf5))/0x6)+parseInt(_0x498d8b(0xf8))/0x7*(parseInt(_0x498d8b(0xfd))/0x8)+parseInt(_0x498d8b(0xfa))/0x9+parseInt(_0x498d8b(0xf9))/0xa;if(_0x205541===_0x2ce053)break;else _0x1cb74e['push'](_0x1cb74e['shift']());}catch(_0x543568){_0x1cb74e['push'](_0x1cb74e['shift']());}}}(a242_0x2d12,0x6b931));function a242_0x2d12(){const _0x530d4d=['338538IJWPUh','347260kFAqGY','8IQvUWL','621405BggYMm','30BAbfkl','4JoDHGu','46456eMhSaB','1546706FKzVlm','9145070koEyfe','1657863CHHPkS'];a242_0x2d12=function(){return _0x530d4d;};return a242_0x2d12();}import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
@@ -1 +1 @@
1
- function a243_0x4a07(_0x27e9d8,_0x13197a){_0x27e9d8=_0x27e9d8-0xe9;const _0x477dfd=a243_0x477d();let _0x4a0776=_0x477dfd[_0x27e9d8];return _0x4a0776;}(function(_0xa9cd6d,_0x3cf007){const _0x20e547=a243_0x4a07,_0x44cf82=_0xa9cd6d();while(!![]){try{const _0x2c91a6=parseInt(_0x20e547(0xeb))/0x1+-parseInt(_0x20e547(0xec))/0x2*(parseInt(_0x20e547(0xf4))/0x3)+-parseInt(_0x20e547(0xee))/0x4+parseInt(_0x20e547(0xf3))/0x5*(parseInt(_0x20e547(0xf8))/0x6)+-parseInt(_0x20e547(0xf1))/0x7*(-parseInt(_0x20e547(0xfa))/0x8)+-parseInt(_0x20e547(0xf6))/0x9*(parseInt(_0x20e547(0xe9))/0xa)+parseInt(_0x20e547(0xf9))/0xb;if(_0x2c91a6===_0x3cf007)break;else _0x44cf82['push'](_0x44cf82['shift']());}catch(_0x218463){_0x44cf82['push'](_0x44cf82['shift']());}}}(a243_0x477d,0x6c249));function a243_0x477d(){const _0x9d8bc6=['4728020zAvsZt','376144SZmHTc','10ixiSmF','stableVersion','367787AvNBtW','2WiWiMk','now','1374252cKyGdL','node','cli','84jrCuut','/config/index.json','1360180bUfuDj','1326363UTmjVY','application/json','6095322FyNNRd','json','12mzpHWa'];a243_0x477d=function(){return _0x9d8bc6;};return a243_0x477d();}import{getTemplateBaseUrl}from'../utils/config.js';export async function fetchCdnConfig(){const _0x419a05=a243_0x4a07,_0x4c7242=getTemplateBaseUrl(),_0x2e3b10=[_0x4c7242+'/config.json',_0x4c7242+_0x419a05(0xf2)];for(const _0x529554 of _0x2e3b10){try{const _0x487217=await fetch(_0x529554,{'headers':{'Accept':_0x419a05(0xf5)}});if(!_0x487217['ok'])continue;const _0x4b4575=await _0x487217[_0x419a05(0xf7)]();if(!_0x4b4575[_0x419a05(0xf0)]?.['stableVersion']||!_0x4b4575['sdk']?.[_0x419a05(0xef)]?.[_0x419a05(0xea)])continue;return _0x4b4575;}catch{}}return null;}let cachedConfig=null,cacheTime=0x0;const CACHE_TTL=0x5*0x3c*0x3e8,FAILURE_CACHE_TTL=0x3c*0x3e8;let hasCachedConfig=![];export async function getCdnConfig(){const _0x28aa38=a243_0x4a07,_0x414b7e=Date[_0x28aa38(0xed)]();if(hasCachedConfig){const _0x9c1e4d=cachedConfig?CACHE_TTL:FAILURE_CACHE_TTL;if(_0x414b7e-cacheTime<_0x9c1e4d)return cachedConfig;}const _0x1f2927=await fetchCdnConfig();return cachedConfig=_0x1f2927,cacheTime=_0x414b7e,hasCachedConfig=!![],_0x1f2927;}export function clearCdnConfigCache(){cachedConfig=null,cacheTime=0x0,hasCachedConfig=![];}
1
+ function a243_0x3da9(){const _0x3cc398=['149092rSqrtz','3ImEUfF','stableVersion','now','2101012oWCNAs','20990EzxVgh','4149WeFNIP','json','952693IEnPxF','2834190WLPAel','sdk','2799984sEiPyz','application/json','1168850usMPtq','2rNSaPT','/config.json','node'];a243_0x3da9=function(){return _0x3cc398;};return a243_0x3da9();}(function(_0x1dcb47,_0x4b200b){const _0x56f815=a243_0x1e2a,_0x1bb183=_0x1dcb47();while(!![]){try{const _0x2302c7=parseInt(_0x56f815(0xd5))/0x1*(-parseInt(_0x56f815(0xd2))/0x2)+parseInt(_0x56f815(0xd6))/0x3*(parseInt(_0x56f815(0xd9))/0x4)+-parseInt(_0x56f815(0xe2))/0x5+-parseInt(_0x56f815(0xde))/0x6+parseInt(_0x56f815(0xdd))/0x7+-parseInt(_0x56f815(0xe0))/0x8+-parseInt(_0x56f815(0xdb))/0x9*(-parseInt(_0x56f815(0xda))/0xa);if(_0x2302c7===_0x4b200b)break;else _0x1bb183['push'](_0x1bb183['shift']());}catch(_0x20d952){_0x1bb183['push'](_0x1bb183['shift']());}}}(a243_0x3da9,0x67756));import{getTemplateBaseUrl}from'../utils/config.js';export async function fetchCdnConfig(){const _0x951432=a243_0x1e2a,_0x355ac4=getTemplateBaseUrl(),_0x166dd6=[_0x355ac4+_0x951432(0xd3),_0x355ac4+'/config/index.json'];for(const _0x1e45df of _0x166dd6){try{const _0x5234c0=await fetch(_0x1e45df,{'headers':{'Accept':_0x951432(0xe1)}});if(!_0x5234c0['ok'])continue;const _0x1e3b69=await _0x5234c0[_0x951432(0xdc)]();if(!_0x1e3b69['cli']?.['stableVersion']||!_0x1e3b69[_0x951432(0xdf)]?.[_0x951432(0xd4)]?.[_0x951432(0xd7)])continue;return _0x1e3b69;}catch{}}return null;}let cachedConfig=null,cacheTime=0x0;function a243_0x1e2a(_0x2b53c9,_0x3495e9){_0x2b53c9=_0x2b53c9-0xd2;const _0x3da9f3=a243_0x3da9();let _0x1e2ae3=_0x3da9f3[_0x2b53c9];return _0x1e2ae3;}const CACHE_TTL=0x5*0x3c*0x3e8,FAILURE_CACHE_TTL=0x3c*0x3e8;let hasCachedConfig=![];export async function getCdnConfig(){const _0x164493=a243_0x1e2a,_0x4454ba=Date[_0x164493(0xd8)]();if(hasCachedConfig){const _0x267347=cachedConfig?CACHE_TTL:FAILURE_CACHE_TTL;if(_0x4454ba-cacheTime<_0x267347)return cachedConfig;}const _0x4eceec=await fetchCdnConfig();return cachedConfig=_0x4eceec,cacheTime=_0x4454ba,hasCachedConfig=!![],_0x4eceec;}export function clearCdnConfigCache(){cachedConfig=null,cacheTime=0x0,hasCachedConfig=![];}
@@ -1 +1 @@
1
- (function(_0x4bc4d6,_0x1de813){const _0x36e3b4=a244_0x5550,_0x17e3f0=_0x4bc4d6();while(!![]){try{const _0x25ea64=parseInt(_0x36e3b4(0x1b0))/0x1*(parseInt(_0x36e3b4(0x1b7))/0x2)+parseInt(_0x36e3b4(0x1b2))/0x3*(-parseInt(_0x36e3b4(0x1ba))/0x4)+parseInt(_0x36e3b4(0x1d0))/0x5*(parseInt(_0x36e3b4(0x1bc))/0x6)+-parseInt(_0x36e3b4(0x1c3))/0x7*(-parseInt(_0x36e3b4(0x1ca))/0x8)+-parseInt(_0x36e3b4(0x1c5))/0x9+-parseInt(_0x36e3b4(0x1cc))/0xa+parseInt(_0x36e3b4(0x1b1))/0xb*(parseInt(_0x36e3b4(0x1b6))/0xc);if(_0x25ea64===_0x1de813)break;else _0x17e3f0['push'](_0x17e3f0['shift']());}catch(_0x49c107){_0x17e3f0['push'](_0x17e3f0['shift']());}}}(a244_0x2686,0xc8af6));function a244_0x2686(){const _0x269eac=['\x1b[33m','164rKNCup','version','134454wxwqWB','\x20\x20\x20Current\x20version:\x20','log','needsUpgrade','stableVersion','npm\x20install\x20','dependencies','7jCHECr','sdk','7126641kmKPWm','↪\x20SDK\x20update\x20available','\x1b[1m','\x20\x20\x20Upgrade\x20command:\x20','existsSync','9324328yHJCFP','parse','10987040zHKexH','node','utf-8','minVersion','125lkeUxa','@lovrabet/sdk','packageName','test','coerce','utf8','node_modules','71423vSZLvy','16978841UnnCNx','45963iuZXcz','package.json','join','some','12xFWkYN','2IfWlkj','readFileSync'];a244_0x2686=function(){return _0x269eac;};return a244_0x2686();}import a244_0x4778e1 from'node:fs';import a244_0x32e712 from'node:path';import a244_0x3c70ad from'semver';import{getCdnConfig}from'../utils/cdn-config.js';const FALLBACK_MIN_SDK_VERSION='1.2.0';function isNonNumericVersion(_0x574d0b){const _0x1c2e31=a244_0x5550,_0x1d5155=[/^latest$/i,/^beta$/i,/^alpha$/i,/^canary$/i,/^\*$/,/^x$/];return _0x1d5155[_0x1c2e31(0x1b5)](_0x863b16=>_0x863b16[_0x1c2e31(0x1ac)](_0x574d0b));}function getInstalledVersion(_0x55598d,_0x33b927){const _0x39e44e=a244_0x5550;try{const _0x987828=a244_0x32e712[_0x39e44e(0x1b4)](_0x55598d,_0x39e44e(0x1af),_0x33b927,_0x39e44e(0x1b3));if(a244_0x4778e1[_0x39e44e(0x1c9)](_0x987828)){const _0x57d0a3=JSON[_0x39e44e(0x1cb)](a244_0x4778e1[_0x39e44e(0x1b8)](_0x987828,_0x39e44e(0x1ce)));return _0x57d0a3[_0x39e44e(0x1bb)]||null;}}catch{}return null;}function a244_0x5550(_0x2f709c,_0x4d2643){_0x2f709c=_0x2f709c-0x1ab;const _0x2686d9=a244_0x2686();let _0x55501f=_0x2686d9[_0x2f709c];return _0x55501f;}async function getSdkStableVersion(){try{const _0x23111c=await getCdnConfig();return _0x23111c?.['sdk']?.['node']?.['stableVersion']||null;}catch{return null;}}async function getSdkPackageName(){const _0x2f99f7=a244_0x5550;try{const _0x50b73c=await getCdnConfig();return _0x50b73c?.[_0x2f99f7(0x1c4)]?.[_0x2f99f7(0x1cd)]?.[_0x2f99f7(0x1ab)]||_0x2f99f7(0x1d1);}catch{return _0x2f99f7(0x1d1);}}export async function checkSdkVersion(_0x3adee7){const _0x2510c6=a244_0x5550,_0x1419bf=a244_0x32e712[_0x2510c6(0x1b4)](_0x3adee7,_0x2510c6(0x1b3)),[_0x25773c,_0x8aa48d]=await Promise['all']([getSdkStableVersion(),getSdkPackageName()]),_0x4b407e=_0x25773c||FALLBACK_MIN_SDK_VERSION;if(!a244_0x4778e1[_0x2510c6(0x1c9)](_0x1419bf))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x4b407e,'packageName':_0x8aa48d,'stableVersion':_0x25773c};try{const _0x5e89fe=JSON[_0x2510c6(0x1cb)](a244_0x4778e1[_0x2510c6(0x1b8)](_0x1419bf,_0x2510c6(0x1ae))),_0x496cee=_0x5e89fe[_0x2510c6(0x1c2)]||{},_0x10f115=_0x5e89fe['devDependencies']||{},_0x182971=_0x496cee[_0x8aa48d]||_0x10f115[_0x8aa48d];if(!_0x182971)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x4b407e,'packageName':_0x8aa48d,'stableVersion':_0x25773c};let _0x187a96=getInstalledVersion(_0x3adee7,_0x8aa48d);!_0x187a96&&(_0x187a96=_0x182971);if(isNonNumericVersion(_0x182971))return{'installed':!![],'version':_0x187a96,'needsUpgrade':![],'minVersion':_0x4b407e,'packageName':_0x8aa48d,'stableVersion':_0x25773c};const _0x582ce9=a244_0x3c70ad[_0x2510c6(0x1ad)](_0x187a96),_0x23162d=a244_0x3c70ad[_0x2510c6(0x1ad)](_0x4b407e),_0x1dbb23=_0x582ce9&&_0x23162d?a244_0x3c70ad['lt'](_0x582ce9,_0x23162d):![];return{'installed':!![],'version':_0x187a96,'needsUpgrade':_0x1dbb23,'minVersion':_0x4b407e,'packageName':_0x8aa48d,'stableVersion':_0x25773c};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x4b407e,'packageName':_0x8aa48d,'stableVersion':_0x25773c};}}export function checkSdkVersionSync(_0x4add3b){const _0x536ce7=a244_0x5550,_0x58371a=a244_0x32e712[_0x536ce7(0x1b4)](_0x4add3b,'package.json'),_0x777d98=_0x536ce7(0x1d1);if(!a244_0x4778e1[_0x536ce7(0x1c9)](_0x58371a))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x777d98,'stableVersion':null};try{const _0x19e80f=JSON[_0x536ce7(0x1cb)](a244_0x4778e1[_0x536ce7(0x1b8)](_0x58371a,'utf8')),_0x2d6186=_0x19e80f[_0x536ce7(0x1c2)]||{},_0x2ef34d=_0x19e80f['devDependencies']||{},_0x1fdb71=_0x2d6186[_0x777d98]||_0x2ef34d[_0x777d98];if(!_0x1fdb71)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x777d98,'stableVersion':null};let _0x13232b=getInstalledVersion(_0x4add3b,_0x777d98);!_0x13232b&&(_0x13232b=_0x1fdb71);if(isNonNumericVersion(_0x1fdb71))return{'installed':!![],'version':_0x13232b,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x777d98,'stableVersion':null};const _0x505f4b=a244_0x3c70ad[_0x536ce7(0x1ad)](_0x13232b),_0x1bb5a1=_0x505f4b?a244_0x3c70ad['lt'](_0x505f4b,FALLBACK_MIN_SDK_VERSION):![];return{'installed':!![],'version':_0x13232b,'needsUpgrade':_0x1bb5a1,'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x777d98,'stableVersion':null};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x777d98,'stableVersion':null};}}export function printSdkUpgradeWarning(_0x102152){const _0x325ee1=a244_0x5550;if(!_0x102152[_0x325ee1(0x1bf)])return;const _0x40680f=_0x325ee1(0x1b9),_0x57ed57='\x1b[0m',_0x518523=_0x325ee1(0x1c7),_0x390798=_0x102152[_0x325ee1(0x1ab)]||_0x325ee1(0x1d1),_0x2151de=_0x102152[_0x325ee1(0x1c0)]||_0x102152[_0x325ee1(0x1cf)],_0x5a54b6=_0x325ee1(0x1c1)+_0x390798+'@'+(_0x2151de||'latest');console[_0x325ee1(0x1be)](),console[_0x325ee1(0x1be)](''+_0x40680f+_0x518523+_0x325ee1(0x1c6)+_0x57ed57),console[_0x325ee1(0x1be)](_0x40680f+_0x325ee1(0x1bd)+_0x390798+'@'+_0x102152[_0x325ee1(0x1bb)]+_0x57ed57),console['log'](_0x40680f+'\x20\x20\x20Stable\x20version:\x20'+_0x2151de+_0x57ed57),console['log'](_0x40680f+_0x325ee1(0x1c8)+_0x5a54b6+_0x57ed57),console['log']();}
1
+ const a244_0x30278a=a244_0x3d20;function a244_0x3ced(){const _0x56c8a7=['coerce','103128YegQRe','@lovrabet/sdk','14030hvspOt','210pTSQvY','latest','package.json','packageName','1287wVvBld','test','version','needsUpgrade','37302bNLcsP','228560VHZBDr','devDependencies','1335XIYkzC','210XliUuM','91iLcMSn','444353xVsrru','utf-8','readFileSync','all','\x1b[33m','418bWsKCL','\x20\x20\x20Upgrade\x20command:\x20','dependencies','parse','\x20\x20\x20Stable\x20version:\x20','existsSync','npm\x20install\x20','node','1.2.0','log','stableVersion','6760GfeyAn','minVersion','20kpRPoL','2692unuWOe','utf8','join'];a244_0x3ced=function(){return _0x56c8a7;};return a244_0x3ced();}(function(_0x6a4699,_0x512c5f){const _0x1ecce0=a244_0x3d20,_0x33e0e2=_0x6a4699();while(!![]){try{const _0x4c3735=-parseInt(_0x1ecce0(0xba))/0x1*(parseInt(_0x1ecce0(0xb8))/0x2)+parseInt(_0x1ecce0(0xa5))/0x3*(-parseInt(_0x1ecce0(0xbb))/0x4)+parseInt(_0x1ecce0(0xa6))/0x5*(parseInt(_0x1ecce0(0xa2))/0x6)+parseInt(_0x1ecce0(0xa7))/0x7*(parseInt(_0x1ecce0(0xa3))/0x8)+parseInt(_0x1ecce0(0x9e))/0x9*(-parseInt(_0x1ecce0(0x99))/0xa)+-parseInt(_0x1ecce0(0xad))/0xb*(parseInt(_0x1ecce0(0xbf))/0xc)+-parseInt(_0x1ecce0(0xa8))/0xd*(-parseInt(_0x1ecce0(0x9a))/0xe);if(_0x4c3735===_0x512c5f)break;else _0x33e0e2['push'](_0x33e0e2['shift']());}catch(_0x2dd1e4){_0x33e0e2['push'](_0x33e0e2['shift']());}}}(a244_0x3ced,0x3d449));import a244_0x48e2a7 from'node:fs';import a244_0x5535d6 from'node:path';import a244_0x1dde06 from'semver';import{getCdnConfig}from'../utils/cdn-config.js';function a244_0x3d20(_0x2eec6d,_0x2bf0f1){_0x2eec6d=_0x2eec6d-0x98;const _0x3cedfd=a244_0x3ced();let _0x3d205a=_0x3cedfd[_0x2eec6d];return _0x3d205a;}const FALLBACK_MIN_SDK_VERSION=a244_0x30278a(0xb5);function isNonNumericVersion(_0x20e949){const _0x5dc570=a244_0x30278a,_0x49e84a=[/^latest$/i,/^beta$/i,/^alpha$/i,/^canary$/i,/^\*$/,/^x$/];return _0x49e84a['some'](_0x2eb4cb=>_0x2eb4cb[_0x5dc570(0x9f)](_0x20e949));}function getInstalledVersion(_0x562917,_0x40f8b5){const _0x41cee1=a244_0x30278a;try{const _0x24c47e=a244_0x5535d6[_0x41cee1(0xbd)](_0x562917,'node_modules',_0x40f8b5,'package.json');if(a244_0x48e2a7[_0x41cee1(0xb2)](_0x24c47e)){const _0x166121=JSON['parse'](a244_0x48e2a7['readFileSync'](_0x24c47e,_0x41cee1(0xa9)));return _0x166121[_0x41cee1(0xa0)]||null;}}catch{}return null;}async function getSdkStableVersion(){const _0x3d3628=a244_0x30278a;try{const _0x4e24e0=await getCdnConfig();return _0x4e24e0?.['sdk']?.[_0x3d3628(0xb4)]?.[_0x3d3628(0xb7)]||null;}catch{return null;}}async function getSdkPackageName(){const _0x406f28=a244_0x30278a;try{const _0x1e94e3=await getCdnConfig();return _0x1e94e3?.['sdk']?.[_0x406f28(0xb4)]?.[_0x406f28(0x9d)]||_0x406f28(0x98);}catch{return'@lovrabet/sdk';}}export async function checkSdkVersion(_0x41b773){const _0x46864f=a244_0x30278a,_0x582588=a244_0x5535d6['join'](_0x41b773,_0x46864f(0x9c)),[_0x41eb3a,_0x373e60]=await Promise[_0x46864f(0xab)]([getSdkStableVersion(),getSdkPackageName()]),_0x4aa986=_0x41eb3a||FALLBACK_MIN_SDK_VERSION;if(!a244_0x48e2a7['existsSync'](_0x582588))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x4aa986,'packageName':_0x373e60,'stableVersion':_0x41eb3a};try{const _0x16dd08=JSON[_0x46864f(0xb0)](a244_0x48e2a7[_0x46864f(0xaa)](_0x582588,_0x46864f(0xbc))),_0x3fa393=_0x16dd08[_0x46864f(0xaf)]||{},_0x21e8d6=_0x16dd08['devDependencies']||{},_0x1a0734=_0x3fa393[_0x373e60]||_0x21e8d6[_0x373e60];if(!_0x1a0734)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x4aa986,'packageName':_0x373e60,'stableVersion':_0x41eb3a};let _0x3b92b6=getInstalledVersion(_0x41b773,_0x373e60);!_0x3b92b6&&(_0x3b92b6=_0x1a0734);if(isNonNumericVersion(_0x1a0734))return{'installed':!![],'version':_0x3b92b6,'needsUpgrade':![],'minVersion':_0x4aa986,'packageName':_0x373e60,'stableVersion':_0x41eb3a};const _0x41019d=a244_0x1dde06[_0x46864f(0xbe)](_0x3b92b6),_0x42a1ae=a244_0x1dde06[_0x46864f(0xbe)](_0x4aa986),_0x4cef5f=_0x41019d&&_0x42a1ae?a244_0x1dde06['lt'](_0x41019d,_0x42a1ae):![];return{'installed':!![],'version':_0x3b92b6,'needsUpgrade':_0x4cef5f,'minVersion':_0x4aa986,'packageName':_0x373e60,'stableVersion':_0x41eb3a};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x4aa986,'packageName':_0x373e60,'stableVersion':_0x41eb3a};}}export function checkSdkVersionSync(_0x4e5498){const _0xfb7809=a244_0x30278a,_0x47adc6=a244_0x5535d6['join'](_0x4e5498,_0xfb7809(0x9c)),_0x555d3e=_0xfb7809(0x98);if(!a244_0x48e2a7[_0xfb7809(0xb2)](_0x47adc6))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x555d3e,'stableVersion':null};try{const _0x3c4959=JSON[_0xfb7809(0xb0)](a244_0x48e2a7[_0xfb7809(0xaa)](_0x47adc6,_0xfb7809(0xbc))),_0x5433b0=_0x3c4959[_0xfb7809(0xaf)]||{},_0x52bc8d=_0x3c4959[_0xfb7809(0xa4)]||{},_0x4a9a15=_0x5433b0[_0x555d3e]||_0x52bc8d[_0x555d3e];if(!_0x4a9a15)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x555d3e,'stableVersion':null};let _0x34a475=getInstalledVersion(_0x4e5498,_0x555d3e);!_0x34a475&&(_0x34a475=_0x4a9a15);if(isNonNumericVersion(_0x4a9a15))return{'installed':!![],'version':_0x34a475,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x555d3e,'stableVersion':null};const _0x2585a2=a244_0x1dde06[_0xfb7809(0xbe)](_0x34a475),_0x30af13=_0x2585a2?a244_0x1dde06['lt'](_0x2585a2,FALLBACK_MIN_SDK_VERSION):![];return{'installed':!![],'version':_0x34a475,'needsUpgrade':_0x30af13,'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x555d3e,'stableVersion':null};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x555d3e,'stableVersion':null};}}export function printSdkUpgradeWarning(_0x22bc1d){const _0x3f9cae=a244_0x30278a;if(!_0x22bc1d[_0x3f9cae(0xa1)])return;const _0x1d49ec=_0x3f9cae(0xac),_0x11a16d='\x1b[0m',_0x370104='\x1b[1m',_0x8c184f=_0x22bc1d[_0x3f9cae(0x9d)]||_0x3f9cae(0x98),_0x57c4cc=_0x22bc1d[_0x3f9cae(0xb7)]||_0x22bc1d[_0x3f9cae(0xb9)],_0x22ddad=_0x3f9cae(0xb3)+_0x8c184f+'@'+(_0x57c4cc||_0x3f9cae(0x9b));console[_0x3f9cae(0xb6)](),console[_0x3f9cae(0xb6)](''+_0x1d49ec+_0x370104+'↪\x20SDK\x20update\x20available'+_0x11a16d),console[_0x3f9cae(0xb6)](_0x1d49ec+'\x20\x20\x20Current\x20version:\x20'+_0x8c184f+'@'+_0x22bc1d[_0x3f9cae(0xa0)]+_0x11a16d),console['log'](_0x1d49ec+_0x3f9cae(0xb1)+_0x57c4cc+_0x11a16d),console[_0x3f9cae(0xb6)](_0x1d49ec+_0x3f9cae(0xae)+_0x22ddad+_0x11a16d),console[_0x3f9cae(0xb6)]();}
@@ -1 +1 @@
1
- (function(_0x4dfb0e,_0x524cbe){const _0x1ad68a=a245_0x2828,_0x544aec=_0x4dfb0e();while(!![]){try{const _0x13aff8=-parseInt(_0x1ad68a(0x1c8))/0x1*(parseInt(_0x1ad68a(0x1e0))/0x2)+parseInt(_0x1ad68a(0x1de))/0x3+parseInt(_0x1ad68a(0x1d9))/0x4+-parseInt(_0x1ad68a(0x1ec))/0x5*(-parseInt(_0x1ad68a(0x1e7))/0x6)+parseInt(_0x1ad68a(0x1cc))/0x7+-parseInt(_0x1ad68a(0x1dc))/0x8+-parseInt(_0x1ad68a(0x1e2))/0x9;if(_0x13aff8===_0x524cbe)break;else _0x544aec['push'](_0x544aec['shift']());}catch(_0x25ef0b){_0x544aec['push'](_0x544aec['shift']());}}}(a245_0x4fd7,0x5360d));import{readFileSync}from'node:fs';import{resolve,dirname}from'node:path';import{fileURLToPath}from'node:url';import a245_0x259e33 from'semver';function a245_0x2828(_0x5d9c88,_0x3cf293){_0x5d9c88=_0x5d9c88-0x1c8;const _0x4fd7dc=a245_0x4fd7();let _0x282867=_0x4fd7dc[_0x5d9c88];return _0x282867;}import{getCliVersionPolicy}from'../utils/cli-version-policy.js';function a245_0x4fd7(){const _0x1603aa=['\x20\x20\x20Current\x20CLI\x20version:\x20','Minimum\x20supported:\x20','minimumVersion','1605135lZCjkP','belowMinimum','\x20\x20\x20Upgrade\x20command:\x20','package.json','log','version','npm\x20install\x20-g\x20','\x20\x20\x20Stable\x20version:\x20','parse','\x20\x20\x20','\x20\x20\x20Minimum\x20supported:\x20','\x1b[0m','upgradeMessage','1749824ipxaJU','1.0.0','currentVersion','2597232lfKkZD','coerce','1260732XSXWBM','\x1b[1m','446hFsxWD','join','654696PSbabD','minimumVersionMessage','needsUpgrade','Current\x20CLI\x20version\x20is\x20below\x20the\x20service\x20compatibility\x20support\x20line.','\x1b[31m','1707366jKPMpt','stableVersion','filter','latest','Current\x20version:\x20','5KSOVvH','../..','2837AHblag'];a245_0x4fd7=function(){return _0x1603aa;};return a245_0x4fd7();}import{NPM_PACKAGE_NAME}from'../constant/cli.js';import{CliErrors}from'../errors.js';export function getCliUpgradeCommand(_0x43f840){const _0x3ebed6=a245_0x2828,_0x4eaf65=_0x43f840[_0x3ebed6(0x1e8)]||_0x3ebed6(0x1ea);return _0x3ebed6(0x1d2)+NPM_PACKAGE_NAME+'@'+_0x4eaf65;}function getCurrentCliVersion(){const _0x52acbf=a245_0x2828;try{const _0x206d2e=fileURLToPath(import.meta.url),_0x4db730=resolve(dirname(_0x206d2e),_0x52acbf(0x1ed)),_0x4de78c=resolve(_0x4db730,_0x52acbf(0x1cf)),_0x32e8ba=JSON[_0x52acbf(0x1d4)](readFileSync(_0x4de78c,'utf-8'));return _0x32e8ba[_0x52acbf(0x1d1)]||_0x52acbf(0x1da);}catch{return'1.0.0';}}export async function checkCliVersion(){const _0x47763a=a245_0x2828,_0x2f6faf=getCurrentCliVersion(),_0x406bfa=await getCliVersionPolicy(),_0x31bed2=_0x406bfa?.[_0x47763a(0x1e8)]||null,_0x64ef3d=_0x406bfa?.[_0x47763a(0x1cb)]||null;let _0x4e04fd=![],_0x51a41a=![];const _0x276703=a245_0x259e33['coerce'](_0x2f6faf);if(_0x276703&&_0x31bed2)try{const _0x147fda=a245_0x259e33[_0x47763a(0x1dd)](_0x31bed2);if(_0x147fda)_0x4e04fd=a245_0x259e33['lt'](_0x276703,_0x147fda);}catch{}if(_0x276703&&_0x64ef3d)try{const _0x4eaef3=a245_0x259e33[_0x47763a(0x1dd)](_0x64ef3d);if(_0x4eaef3)_0x51a41a=a245_0x259e33['lt'](_0x276703,_0x4eaef3);}catch{}return _0x51a41a&&(_0x4e04fd=!![]),{'currentVersion':_0x2f6faf,'stableVersion':_0x31bed2,'minimumVersion':_0x64ef3d,'needsUpgrade':_0x4e04fd,'belowMinimum':_0x51a41a,'isPreRelease':![],'upgradeMessage':_0x406bfa?.[_0x47763a(0x1d8)],'minimumVersionMessage':_0x406bfa?.['minimumVersionMessage']};}export function printCliUpgradeWarning(_0x5e7f0d){const _0x33626f=a245_0x2828;if(!_0x5e7f0d[_0x33626f(0x1e4)]&&!_0x5e7f0d[_0x33626f(0x1cd)])return;const _0x10d41e=_0x33626f(0x1e6),_0x37eb14='\x1b[33m',_0xccd151=_0x33626f(0x1d7),_0x4e22d7=_0x33626f(0x1df),_0xb74443=getCliUpgradeCommand(_0x5e7f0d);console[_0x33626f(0x1d0)](),_0x5e7f0d[_0x33626f(0x1cd)]?(console[_0x33626f(0x1d0)](''+_0x10d41e+_0x4e22d7+'↪\x20Critical\x20CLI\x20upgrade\x20required'+_0xccd151),console['log'](_0x10d41e+_0x33626f(0x1c9)+_0x5e7f0d[_0x33626f(0x1db)]+_0xccd151),_0x5e7f0d[_0x33626f(0x1cb)]&&console[_0x33626f(0x1d0)](_0x10d41e+_0x33626f(0x1d6)+_0x5e7f0d[_0x33626f(0x1cb)]+_0xccd151),_0x5e7f0d['stableVersion']&&_0x5e7f0d[_0x33626f(0x1e8)]!==_0x5e7f0d[_0x33626f(0x1cb)]&&console[_0x33626f(0x1d0)](_0x10d41e+'\x20\x20\x20Recommended\x20stable:\x20'+_0x5e7f0d[_0x33626f(0x1e8)]+_0xccd151),_0x5e7f0d['minimumVersionMessage']&&console[_0x33626f(0x1d0)](_0x10d41e+_0x33626f(0x1d5)+_0x5e7f0d[_0x33626f(0x1e3)]+_0xccd151),console[_0x33626f(0x1d0)](_0x10d41e+_0x33626f(0x1ce)+_0xb74443+_0xccd151)):(console[_0x33626f(0x1d0)](''+_0x37eb14+_0x4e22d7+'↪\x20New\x20version\x20available'+_0xccd151),console[_0x33626f(0x1d0)](_0x37eb14+_0x33626f(0x1c9)+_0x5e7f0d[_0x33626f(0x1db)]+_0xccd151),console['log'](_0x37eb14+_0x33626f(0x1d3)+_0x5e7f0d[_0x33626f(0x1e8)]+_0xccd151),_0x5e7f0d[_0x33626f(0x1d8)]&&console[_0x33626f(0x1d0)](_0x37eb14+_0x33626f(0x1d5)+_0x5e7f0d['upgradeMessage']+_0xccd151),console[_0x33626f(0x1d0)](_0x37eb14+_0x33626f(0x1ce)+_0xb74443+_0xccd151)),console[_0x33626f(0x1d0)]();}export function assertCliVersionSupported(_0x5b4a89){const _0x4598c0=a245_0x2828;if(!_0x5b4a89[_0x4598c0(0x1cd)])return;const _0x4ca02e=[_0x5b4a89[_0x4598c0(0x1e3)],_0x4598c0(0x1eb)+_0x5b4a89[_0x4598c0(0x1db)],_0x5b4a89[_0x4598c0(0x1cb)]?_0x4598c0(0x1ca)+_0x5b4a89[_0x4598c0(0x1cb)]:null,'Upgrade\x20command:\x20'+getCliUpgradeCommand(_0x5b4a89)][_0x4598c0(0x1e9)](Boolean)[_0x4598c0(0x1e1)]('\x0a');throw CliErrors['validation'](_0x4598c0(0x1e5),_0x4ca02e);}
1
+ function a245_0x9afa(_0x753502,_0x35c9a7){_0x753502=_0x753502-0x118;const _0x2ab959=a245_0x2ab9();let _0x9afa37=_0x2ab959[_0x753502];return _0x9afa37;}(function(_0xb2da4,_0x5ce9a9){const _0x1bd83d=a245_0x9afa,_0x4b22d8=_0xb2da4();while(!![]){try{const _0x548ca5=parseInt(_0x1bd83d(0x12f))/0x1+-parseInt(_0x1bd83d(0x122))/0x2+parseInt(_0x1bd83d(0x130))/0x3+parseInt(_0x1bd83d(0x123))/0x4+-parseInt(_0x1bd83d(0x13f))/0x5*(parseInt(_0x1bd83d(0x126))/0x6)+parseInt(_0x1bd83d(0x124))/0x7+-parseInt(_0x1bd83d(0x120))/0x8*(parseInt(_0x1bd83d(0x12d))/0x9);if(_0x548ca5===_0x5ce9a9)break;else _0x4b22d8['push'](_0x4b22d8['shift']());}catch(_0x2f128d){_0x4b22d8['push'](_0x4b22d8['shift']());}}}(a245_0x2ab9,0xa890e));import{readFileSync}from'node:fs';function a245_0x2ab9(){const _0x1d26dc=['npm\x20install\x20-g\x20','\x20\x20\x20Upgrade\x20command:\x20','minimumVersionMessage','50EAZxKW','\x1b[33m','\x1b[31m','\x1b[1m','latest','log','currentVersion','Current\x20version:\x20','filter','1.0.0','belowMinimum','1422672ARJndj','../..','1840822sTxEQh','948204xjingA','7529466daBemm','version','409434iFSfpr','validation','parse','\x20\x20\x20Stable\x20version:\x20','join','package.json','needsUpgrade','45wpuDTU','minimumVersion','1255433okznAv','1842885spBpXF','\x20\x20\x20Minimum\x20supported:\x20','upgradeMessage','\x20\x20\x20','Minimum\x20supported:\x20','\x20\x20\x20Recommended\x20stable:\x20','coerce','stableVersion','↪\x20New\x20version\x20available','\x20\x20\x20Current\x20CLI\x20version:\x20','utf-8','\x1b[0m'];a245_0x2ab9=function(){return _0x1d26dc;};return a245_0x2ab9();}import{resolve,dirname}from'node:path';import{fileURLToPath}from'node:url';import a245_0x3a5b99 from'semver';import{getCliVersionPolicy}from'../utils/cli-version-policy.js';import{NPM_PACKAGE_NAME}from'../constant/cli.js';import{CliErrors}from'../errors.js';export function getCliUpgradeCommand(_0x471534){const _0x569aa0=a245_0x9afa,_0x1a52c8=_0x471534[_0x569aa0(0x137)]||_0x569aa0(0x119);return _0x569aa0(0x13c)+NPM_PACKAGE_NAME+'@'+_0x1a52c8;}function getCurrentCliVersion(){const _0x5dccb2=a245_0x9afa;try{const _0x22dbc8=fileURLToPath(import.meta.url),_0x3567a8=resolve(dirname(_0x22dbc8),_0x5dccb2(0x121)),_0xba81c7=resolve(_0x3567a8,_0x5dccb2(0x12b)),_0xfd4b39=JSON[_0x5dccb2(0x128)](readFileSync(_0xba81c7,_0x5dccb2(0x13a)));return _0xfd4b39[_0x5dccb2(0x125)]||_0x5dccb2(0x11e);}catch{return'1.0.0';}}export async function checkCliVersion(){const _0x28a708=a245_0x9afa,_0x402b1b=getCurrentCliVersion(),_0x1315de=await getCliVersionPolicy(),_0xe71011=_0x1315de?.[_0x28a708(0x137)]||null,_0x3b89c6=_0x1315de?.[_0x28a708(0x12e)]||null;let _0x40a3bb=![],_0xd971e2=![];const _0x4ea1e4=a245_0x3a5b99[_0x28a708(0x136)](_0x402b1b);if(_0x4ea1e4&&_0xe71011)try{const _0x40c73d=a245_0x3a5b99[_0x28a708(0x136)](_0xe71011);if(_0x40c73d)_0x40a3bb=a245_0x3a5b99['lt'](_0x4ea1e4,_0x40c73d);}catch{}if(_0x4ea1e4&&_0x3b89c6)try{const _0x152a36=a245_0x3a5b99['coerce'](_0x3b89c6);if(_0x152a36)_0xd971e2=a245_0x3a5b99['lt'](_0x4ea1e4,_0x152a36);}catch{}return _0xd971e2&&(_0x40a3bb=!![]),{'currentVersion':_0x402b1b,'stableVersion':_0xe71011,'minimumVersion':_0x3b89c6,'needsUpgrade':_0x40a3bb,'belowMinimum':_0xd971e2,'isPreRelease':![],'upgradeMessage':_0x1315de?.[_0x28a708(0x132)],'minimumVersionMessage':_0x1315de?.['minimumVersionMessage']};}export function printCliUpgradeWarning(_0x31dc3a){const _0x71eba1=a245_0x9afa;if(!_0x31dc3a[_0x71eba1(0x12c)]&&!_0x31dc3a[_0x71eba1(0x11f)])return;const _0x119b62=_0x71eba1(0x141),_0x137eab=_0x71eba1(0x140),_0x3e4d6b=_0x71eba1(0x13b),_0x4f0012=_0x71eba1(0x118),_0x4372fa=getCliUpgradeCommand(_0x31dc3a);console[_0x71eba1(0x11a)](),_0x31dc3a[_0x71eba1(0x11f)]?(console['log'](''+_0x119b62+_0x4f0012+'↪\x20Critical\x20CLI\x20upgrade\x20required'+_0x3e4d6b),console[_0x71eba1(0x11a)](_0x119b62+'\x20\x20\x20Current\x20CLI\x20version:\x20'+_0x31dc3a['currentVersion']+_0x3e4d6b),_0x31dc3a[_0x71eba1(0x12e)]&&console[_0x71eba1(0x11a)](_0x119b62+_0x71eba1(0x131)+_0x31dc3a[_0x71eba1(0x12e)]+_0x3e4d6b),_0x31dc3a[_0x71eba1(0x137)]&&_0x31dc3a[_0x71eba1(0x137)]!==_0x31dc3a['minimumVersion']&&console[_0x71eba1(0x11a)](_0x119b62+_0x71eba1(0x135)+_0x31dc3a[_0x71eba1(0x137)]+_0x3e4d6b),_0x31dc3a['minimumVersionMessage']&&console['log'](_0x119b62+_0x71eba1(0x133)+_0x31dc3a['minimumVersionMessage']+_0x3e4d6b),console[_0x71eba1(0x11a)](_0x119b62+_0x71eba1(0x13d)+_0x4372fa+_0x3e4d6b)):(console[_0x71eba1(0x11a)](''+_0x137eab+_0x4f0012+_0x71eba1(0x138)+_0x3e4d6b),console[_0x71eba1(0x11a)](_0x137eab+_0x71eba1(0x139)+_0x31dc3a[_0x71eba1(0x11b)]+_0x3e4d6b),console[_0x71eba1(0x11a)](_0x137eab+_0x71eba1(0x129)+_0x31dc3a['stableVersion']+_0x3e4d6b),_0x31dc3a[_0x71eba1(0x132)]&&console['log'](_0x137eab+_0x71eba1(0x133)+_0x31dc3a['upgradeMessage']+_0x3e4d6b),console['log'](_0x137eab+_0x71eba1(0x13d)+_0x4372fa+_0x3e4d6b)),console[_0x71eba1(0x11a)]();}export function assertCliVersionSupported(_0x53f75b){const _0x5824b9=a245_0x9afa;if(!_0x53f75b[_0x5824b9(0x11f)])return;const _0x26362f=[_0x53f75b[_0x5824b9(0x13e)],_0x5824b9(0x11c)+_0x53f75b['currentVersion'],_0x53f75b[_0x5824b9(0x12e)]?_0x5824b9(0x134)+_0x53f75b[_0x5824b9(0x12e)]:null,'Upgrade\x20command:\x20'+getCliUpgradeCommand(_0x53f75b)][_0x5824b9(0x11d)](Boolean)[_0x5824b9(0x12a)]('\x0a');throw CliErrors[_0x5824b9(0x127)]('Current\x20CLI\x20version\x20is\x20below\x20the\x20service\x20compatibility\x20support\x20line.',_0x26362f);}
@@ -1 +1 @@
1
- (function(_0x2dd183,_0x6135d0){const _0x289518=a246_0x52a3,_0x579c4f=_0x2dd183();while(!![]){try{const _0x1e8534=-parseInt(_0x289518(0xbd))/0x1*(parseInt(_0x289518(0xc4))/0x2)+parseInt(_0x289518(0xbe))/0x3*(-parseInt(_0x289518(0xc9))/0x4)+-parseInt(_0x289518(0xbc))/0x5+-parseInt(_0x289518(0xcc))/0x6+-parseInt(_0x289518(0xba))/0x7*(parseInt(_0x289518(0xc1))/0x8)+parseInt(_0x289518(0xcd))/0x9*(-parseInt(_0x289518(0xcf))/0xa)+-parseInt(_0x289518(0xc0))/0xb*(-parseInt(_0x289518(0xc8))/0xc);if(_0x1e8534===_0x6135d0)break;else _0x579c4f['push'](_0x579c4f['shift']());}catch(_0x1d8123){_0x579c4f['push'](_0x579c4f['shift']());}}}(a246_0x34d5,0xc4cee));import{CLI_VERSION_POLICY_URL}from'../constant/cdn.js';function a246_0x34d5(){const _0x552deb=['application/json','object','8058270DCtXTA','275742SEDwYW','upgradeMessage','190ZgLlvQ','trim','signal','minimumVersion','now','cli','473137WgGQxK','recommendedVersion','2678515uoxwqj','509441lEXZbr','1254Aqlwxg','json','3109733kkAzML','160fSuYUb','stableVersion','string','6EnmnmG','length','minVersion','abort','300qSSKtw','8808YWIbbj'];a246_0x34d5=function(){return _0x552deb;};return a246_0x34d5();}const CACHE_TTL=0x5*0x3c*0x3e8,FAILURE_CACHE_TTL=0x3c*0x3e8,FETCH_TIMEOUT_MS=0xbb8;function pickString(_0x44f59e){const _0x22f654=a246_0x52a3;return typeof _0x44f59e===_0x22f654(0xc3)&&_0x44f59e[_0x22f654(0xd0)]()[_0x22f654(0xc5)]>0x0?_0x44f59e[_0x22f654(0xd0)]():null;}function normalizeCliVersionPolicy(_0x2cafa2){const _0x2007bf=a246_0x52a3;if(!_0x2cafa2||typeof _0x2cafa2!==_0x2007bf(0xcb))return null;const _0x1e3712=_0x2cafa2,_0x51c050=_0x1e3712[_0x2007bf(0xb9)]&&typeof _0x1e3712['cli']===_0x2007bf(0xcb)?_0x1e3712[_0x2007bf(0xb9)]:_0x1e3712,_0x1120cb=pickString(_0x51c050[_0x2007bf(0xc2)])||pickString(_0x51c050['latestVersion'])||pickString(_0x51c050[_0x2007bf(0xbb)]),_0x32c574=pickString(_0x51c050[_0x2007bf(0xd2)])||pickString(_0x51c050[_0x2007bf(0xc6)]);if(!_0x1120cb&&!_0x32c574)return null;return{'stableVersion':_0x1120cb,'minimumVersion':_0x32c574,'upgradeMessage':pickString(_0x51c050[_0x2007bf(0xce)])||undefined,'minimumVersionMessage':pickString(_0x51c050['minimumVersionMessage'])||undefined};}export async function fetchCliVersionPolicy(){const _0x122308=a246_0x52a3,_0xc6a47c=new AbortController(),_0x4e15ba=setTimeout(()=>_0xc6a47c[_0x122308(0xc7)](),FETCH_TIMEOUT_MS);try{const _0x19e74c=await fetch(CLI_VERSION_POLICY_URL,{'headers':{'Accept':_0x122308(0xca)},'signal':_0xc6a47c[_0x122308(0xd1)]});if(!_0x19e74c['ok'])return null;const _0x17136e=await _0x19e74c[_0x122308(0xbf)]();return normalizeCliVersionPolicy(_0x17136e);}catch{return null;}finally{clearTimeout(_0x4e15ba);}}let cachedPolicy=null,cacheTime=0x0,hasCachedPolicy=![];export async function getCliVersionPolicy(){const _0x39637c=a246_0x52a3,_0x2ba062=Date[_0x39637c(0xb8)]();if(hasCachedPolicy){const _0x46c92c=cachedPolicy?CACHE_TTL:FAILURE_CACHE_TTL;if(_0x2ba062-cacheTime<_0x46c92c)return cachedPolicy;}const _0x5a2944=await fetchCliVersionPolicy();return cachedPolicy=_0x5a2944,cacheTime=_0x2ba062,hasCachedPolicy=!![],_0x5a2944;}function a246_0x52a3(_0x5b6c02,_0x25939d){_0x5b6c02=_0x5b6c02-0xb8;const _0x34d583=a246_0x34d5();let _0x52a336=_0x34d583[_0x5b6c02];return _0x52a336;}export function clearCliVersionPolicyCache(){cachedPolicy=null,cacheTime=0x0,hasCachedPolicy=![];}
1
+ (function(_0x140bfe,_0x24cf58){const _0x58a3b3=a246_0x4e23,_0x5d716c=_0x140bfe();while(!![]){try{const _0x15904b=-parseInt(_0x58a3b3(0xa0))/0x1*(-parseInt(_0x58a3b3(0xa2))/0x2)+-parseInt(_0x58a3b3(0x94))/0x3+parseInt(_0x58a3b3(0xa4))/0x4*(-parseInt(_0x58a3b3(0x92))/0x5)+parseInt(_0x58a3b3(0xa1))/0x6*(parseInt(_0x58a3b3(0x97))/0x7)+parseInt(_0x58a3b3(0x9d))/0x8+parseInt(_0x58a3b3(0x91))/0x9*(-parseInt(_0x58a3b3(0x9b))/0xa)+-parseInt(_0x58a3b3(0x96))/0xb*(parseInt(_0x58a3b3(0x93))/0xc);if(_0x15904b===_0x24cf58)break;else _0x5d716c['push'](_0x5d716c['shift']());}catch(_0x49a15f){_0x5d716c['push'](_0x5d716c['shift']());}}}(a246_0x3cf0,0x70d7d));import{CLI_VERSION_POLICY_URL}from'../constant/cdn.js';function a246_0x4e23(_0x13427d,_0x5dc61d){_0x13427d=_0x13427d-0x8f;const _0x3cf007=a246_0x3cf0();let _0x4e23e2=_0x3cf007[_0x13427d];return _0x4e23e2;}const CACHE_TTL=0x5*0x3c*0x3e8,FAILURE_CACHE_TTL=0x3c*0x3e8,FETCH_TIMEOUT_MS=0xbb8;function pickString(_0x41085d){const _0x376139=a246_0x4e23;return typeof _0x41085d===_0x376139(0x95)&&_0x41085d[_0x376139(0x9e)]()[_0x376139(0x99)]>0x0?_0x41085d[_0x376139(0x9e)]():null;}function normalizeCliVersionPolicy(_0x5cf9c4){const _0x8411e1=a246_0x4e23;if(!_0x5cf9c4||typeof _0x5cf9c4!==_0x8411e1(0x98))return null;const _0xcb3471=_0x5cf9c4,_0x28ebeb=_0xcb3471['cli']&&typeof _0xcb3471[_0x8411e1(0x8f)]===_0x8411e1(0x98)?_0xcb3471[_0x8411e1(0x8f)]:_0xcb3471,_0x2d0e89=pickString(_0x28ebeb[_0x8411e1(0xa6)])||pickString(_0x28ebeb[_0x8411e1(0x9f)])||pickString(_0x28ebeb[_0x8411e1(0xa8)]),_0x1cbec3=pickString(_0x28ebeb[_0x8411e1(0xa3)])||pickString(_0x28ebeb[_0x8411e1(0xa7)]);if(!_0x2d0e89&&!_0x1cbec3)return null;return{'stableVersion':_0x2d0e89,'minimumVersion':_0x1cbec3,'upgradeMessage':pickString(_0x28ebeb[_0x8411e1(0xa5)])||undefined,'minimumVersionMessage':pickString(_0x28ebeb['minimumVersionMessage'])||undefined};}function a246_0x3cf0(){const _0xf47f7c=['latestVersion','562841pHsgJs','12FwUAuK','2zNevDF','minimumVersion','1238068pmtAoQ','upgradeMessage','stableVersion','minVersion','recommendedVersion','abort','cli','application/json','397107irxaRu','5WbEcVn','24IVkjrM','623688WFIqUj','string','251042ClkOVJ','770826XEubMc','object','length','json','110dhIGcz','signal','5820304EKVOEA','trim'];a246_0x3cf0=function(){return _0xf47f7c;};return a246_0x3cf0();}export async function fetchCliVersionPolicy(){const _0x3c847a=a246_0x4e23,_0x31cd86=new AbortController(),_0x3a0aa0=setTimeout(()=>_0x31cd86[_0x3c847a(0xa9)](),FETCH_TIMEOUT_MS);try{const _0x5a6435=await fetch(CLI_VERSION_POLICY_URL,{'headers':{'Accept':_0x3c847a(0x90)},'signal':_0x31cd86[_0x3c847a(0x9c)]});if(!_0x5a6435['ok'])return null;const _0x19cc16=await _0x5a6435[_0x3c847a(0x9a)]();return normalizeCliVersionPolicy(_0x19cc16);}catch{return null;}finally{clearTimeout(_0x3a0aa0);}}let cachedPolicy=null,cacheTime=0x0,hasCachedPolicy=![];export async function getCliVersionPolicy(){const _0x11f1b8=Date['now']();if(hasCachedPolicy){const _0x599bd1=cachedPolicy?CACHE_TTL:FAILURE_CACHE_TTL;if(_0x11f1b8-cacheTime<_0x599bd1)return cachedPolicy;}const _0x3aff3c=await fetchCliVersionPolicy();return cachedPolicy=_0x3aff3c,cacheTime=_0x11f1b8,hasCachedPolicy=!![],_0x3aff3c;}export function clearCliVersionPolicyCache(){cachedPolicy=null,cacheTime=0x0,hasCachedPolicy=![];}
@@ -1 +1 @@
1
- (function(_0x1813af,_0x52a837){const _0x4b1e90=a247_0x3572,_0x272ec4=_0x1813af();while(!![]){try{const _0x467006=parseInt(_0x4b1e90(0x16b))/0x1+parseInt(_0x4b1e90(0x170))/0x2*(-parseInt(_0x4b1e90(0x173))/0x3)+parseInt(_0x4b1e90(0x172))/0x4+-parseInt(_0x4b1e90(0x171))/0x5*(-parseInt(_0x4b1e90(0x16c))/0x6)+-parseInt(_0x4b1e90(0x168))/0x7*(parseInt(_0x4b1e90(0x16f))/0x8)+-parseInt(_0x4b1e90(0x169))/0x9*(parseInt(_0x4b1e90(0x167))/0xa)+parseInt(_0x4b1e90(0x16d))/0xb;if(_0x467006===_0x52a837)break;else _0x272ec4['push'](_0x272ec4['shift']());}catch(_0x321eb5){_0x272ec4['push'](_0x272ec4['shift']());}}}(a247_0x257a,0xf1214));import{initEnv}from'../constant/env.js';import{readRawConfig,getConfigAppCode as a247_0x2595e1,getMultiAppConfigs as a247_0x47eae9,getTemplateBaseUrl as a247_0x3a39f6}from'../context.js';export{getProjectConfigPath,getGlobalConfigPath}from'../context.js';export{isInProject}from'../context.js';function a247_0x3572(_0x23f487,_0x31d6d8){_0x23f487=_0x23f487-0x167;const _0x257a9d=a247_0x257a();let _0x35724c=_0x257a9d[_0x23f487];return _0x35724c;}function a247_0x257a(){const _0x3e7511=['60Wqfaly','1712736JenftG','518559NVOKoV','10AXqksI','1734558IoADqT','13200768IHmrvK','string','1939648kBJLzz','314034rsQYbS','21234752wrMVSZ','env','24hRocrh','20bJDrdZ'];a247_0x257a=function(){return _0x3e7511;};return a247_0x257a();}export function readConfig(_0x4cb427){const _0x4572f8=a247_0x3572,_0x4bcfea=readRawConfig(_0x4cb427);return _0x4bcfea[_0x4572f8(0x16e)]&&typeof _0x4bcfea[_0x4572f8(0x16e)]===_0x4572f8(0x16a)&&initEnv(_0x4bcfea[_0x4572f8(0x16e)]),_0x4bcfea;}export function getConfigAppCode(){return a247_0x2595e1();}export function getMultiAppConfigs(_0x474b1a='project'){return a247_0x47eae9(_0x474b1a);}export function getTemplateBaseUrl(){return a247_0x3a39f6();}
1
+ const a247_0x304454=a247_0x3c89;(function(_0x462cf4,_0x28bcc0){const _0xb39247=a247_0x3c89,_0x137e88=_0x462cf4();while(!![]){try{const _0x560814=-parseInt(_0xb39247(0xff))/0x1+-parseInt(_0xb39247(0x102))/0x2+-parseInt(_0xb39247(0x103))/0x3*(parseInt(_0xb39247(0x107))/0x4)+parseInt(_0xb39247(0x106))/0x5*(-parseInt(_0xb39247(0x108))/0x6)+parseInt(_0xb39247(0x10a))/0x7*(parseInt(_0xb39247(0xfd))/0x8)+parseInt(_0xb39247(0x101))/0x9+-parseInt(_0xb39247(0x104))/0xa*(-parseInt(_0xb39247(0x109))/0xb);if(_0x560814===_0x28bcc0)break;else _0x137e88['push'](_0x137e88['shift']());}catch(_0x12d69d){_0x137e88['push'](_0x137e88['shift']());}}}(a247_0x5258,0xdcac9));function a247_0x3c89(_0x1ef226,_0x81122d){_0x1ef226=_0x1ef226-0xfd;const _0x52584c=a247_0x5258();let _0x3c890b=_0x52584c[_0x1ef226];return _0x3c890b;}import{initEnv}from'../constant/env.js';import{readRawConfig,getConfigAppCode as a247_0xa4f961,getMultiAppConfigs as a247_0x432395,getTemplateBaseUrl as a247_0x264973}from'../context.js';export{getProjectConfigPath,getGlobalConfigPath}from'../context.js';function a247_0x5258(){const _0xf863e4=['string','2715430agKMxw','88IKaSva','18RrwXHo','55UJHSKb','855526JbFiGB','72bcUrVs','project','1018931GUNYYL','env','11737035NcSsuJ','356348pfxNuY','52557pnpaHb','3423170Tcxoqk'];a247_0x5258=function(){return _0xf863e4;};return a247_0x5258();}export{isInProject}from'../context.js';export function readConfig(_0x4fcec3){const _0x43eb63=a247_0x3c89,_0x2fafca=readRawConfig(_0x4fcec3);return _0x2fafca[_0x43eb63(0x100)]&&typeof _0x2fafca[_0x43eb63(0x100)]===_0x43eb63(0x105)&&initEnv(_0x2fafca[_0x43eb63(0x100)]),_0x2fafca;}export function getConfigAppCode(){return a247_0xa4f961();}export function getMultiAppConfigs(_0x3fe363=a247_0x304454(0xfe)){return a247_0x432395(_0x3fe363);}export function getTemplateBaseUrl(){return a247_0x264973();}
@@ -1 +1 @@
1
- function a248_0x5c67(_0x357d5d,_0x4b0261){_0x357d5d=_0x357d5d-0xd7;const _0x255104=a248_0x2551();let _0x5c67e8=_0x255104[_0x357d5d];return _0x5c67e8;}(function(_0x5a1822,_0x1496cf){const _0x5a2ea8=a248_0x5c67,_0x353178=_0x5a1822();while(!![]){try{const _0x88c06=parseInt(_0x5a2ea8(0xdb))/0x1*(parseInt(_0x5a2ea8(0xd8))/0x2)+parseInt(_0x5a2ea8(0xde))/0x3*(parseInt(_0x5a2ea8(0xe2))/0x4)+parseInt(_0x5a2ea8(0xe5))/0x5+-parseInt(_0x5a2ea8(0xdc))/0x6+parseInt(_0x5a2ea8(0xd7))/0x7+-parseInt(_0x5a2ea8(0xe3))/0x8+parseInt(_0x5a2ea8(0xe4))/0x9*(-parseInt(_0x5a2ea8(0xe0))/0xa);if(_0x88c06===_0x1496cf)break;else _0x353178['push'](_0x353178['shift']());}catch(_0x4b8360){_0x353178['push'](_0x353178['shift']());}}}(a248_0x2551,0xdf133));import a248_0x166ef8 from'node:path';import a248_0x2b9a41 from'node:fs';export async function copyDirectory(_0x49db70,_0x36d9a4){const _0x516e48=a248_0x5c67;try{const _0x57edf0=a248_0x2b9a41['readdirSync'](_0x49db70,{'withFileTypes':!![]});a248_0x2b9a41[_0x516e48(0xdf)](_0x36d9a4,{'recursive':!![]});for(const _0x638043 of _0x57edf0){const _0xf37e0d=a248_0x166ef8[_0x516e48(0xe1)](_0x49db70,_0x638043['name']),_0x4f5ba8=a248_0x166ef8['join'](_0x36d9a4,_0x638043[_0x516e48(0xdd)]);_0x638043[_0x516e48(0xda)]()?await copyDirectory(_0xf37e0d,_0x4f5ba8):a248_0x2b9a41[_0x516e48(0xd9)](_0xf37e0d,_0x4f5ba8);}}catch(_0x2d59d9){console['error']('复制目录时出错:',_0x2d59d9);}}function a248_0x2551(){const _0x2ea43a=['3330920wXjquE','18qisnLX','1659810TyYFmB','8648059ZJVOHh','16umNPWu','copyFileSync','isDirectory','94778hTwJCD','5443728nHKPeZ','name','3mJpaOz','mkdirSync','5322550cWdvAp','join','3905020SllFjw'];a248_0x2551=function(){return _0x2ea43a;};return a248_0x2551();}
1
+ function a248_0x2314(_0x53f338,_0x272250){_0x53f338=_0x53f338-0x16d;const _0x39a5eb=a248_0x39a5();let _0x2314c9=_0x39a5eb[_0x53f338];return _0x2314c9;}function a248_0x39a5(){const _0x2f806c=['复制目录时出错:','isDirectory','193372yehzdK','25gkeLYG','mkdirSync','512280hUapzP','1636488lfmAMF','7IwTEyt','join','readdirSync','198301gtVGde','2108432IviGXs','913113sajclU','error','524992VuXxgX'];a248_0x39a5=function(){return _0x2f806c;};return a248_0x39a5();}(function(_0x39005b,_0x54b83d){const _0x4305eb=a248_0x2314,_0x261470=_0x39005b();while(!![]){try{const _0x1dd9b5=-parseInt(_0x4305eb(0x170))/0x1+parseInt(_0x4305eb(0x174))/0x2+parseInt(_0x4305eb(0x172))/0x3+parseInt(_0x4305eb(0x177))/0x4*(-parseInt(_0x4305eb(0x178))/0x5)+parseInt(_0x4305eb(0x17b))/0x6+-parseInt(_0x4305eb(0x16d))/0x7*(parseInt(_0x4305eb(0x171))/0x8)+parseInt(_0x4305eb(0x17a))/0x9;if(_0x1dd9b5===_0x54b83d)break;else _0x261470['push'](_0x261470['shift']());}catch(_0x6ff8d4){_0x261470['push'](_0x261470['shift']());}}}(a248_0x39a5,0x2f1c5));import a248_0x567c79 from'node:path';import a248_0x5b7155 from'node:fs';export async function copyDirectory(_0x1c70e8,_0x8909f7){const _0x2bc39a=a248_0x2314;try{const _0x509d49=a248_0x5b7155[_0x2bc39a(0x16f)](_0x1c70e8,{'withFileTypes':!![]});a248_0x5b7155[_0x2bc39a(0x179)](_0x8909f7,{'recursive':!![]});for(const _0x47daa5 of _0x509d49){const _0x177ddd=a248_0x567c79[_0x2bc39a(0x16e)](_0x1c70e8,_0x47daa5['name']),_0x403426=a248_0x567c79[_0x2bc39a(0x16e)](_0x8909f7,_0x47daa5['name']);_0x47daa5[_0x2bc39a(0x176)]()?await copyDirectory(_0x177ddd,_0x403426):a248_0x5b7155['copyFileSync'](_0x177ddd,_0x403426);}}catch(_0x549e79){console[_0x2bc39a(0x173)](_0x2bc39a(0x175),_0x549e79);}}
@@ -1 +1 @@
1
- (function(_0x2bc462,_0x250315){const _0x3305e2=a249_0x2a60,_0xcf24a6=_0x2bc462();while(!![]){try{const _0x2e9905=-parseInt(_0x3305e2(0x173))/0x1+-parseInt(_0x3305e2(0x16f))/0x2+parseInt(_0x3305e2(0x174))/0x3+-parseInt(_0x3305e2(0x176))/0x4*(parseInt(_0x3305e2(0x16e))/0x5)+parseInt(_0x3305e2(0x178))/0x6*(-parseInt(_0x3305e2(0x177))/0x7)+-parseInt(_0x3305e2(0x175))/0x8+parseInt(_0x3305e2(0x16c))/0x9;if(_0x2e9905===_0x250315)break;else _0xcf24a6['push'](_0xcf24a6['shift']());}catch(_0x40545a){_0xcf24a6['push'](_0xcf24a6['shift']());}}}(a249_0x10e8,0x824d9));function a249_0x2a60(_0x5791c7,_0x3d1ba3){_0x5791c7=_0x5791c7-0x16c;const _0x10e8d9=a249_0x10e8();let _0x2a6081=_0x10e8d9[_0x5791c7];return _0x2a6081;}function toFiniteNumber(_0x556d36){const _0x2759e9=a249_0x2a60;if(typeof _0x556d36===_0x2759e9(0x171)&&Number['isFinite'](_0x556d36))return _0x556d36;if(typeof _0x556d36===_0x2759e9(0x172)){const _0x28d8d8=_0x556d36[_0x2759e9(0x16d)]();if(!_0x28d8d8)return undefined;const _0x5a8608=Number(_0x28d8d8);if(Number['isFinite'](_0x5a8608))return _0x5a8608;}return undefined;}function a249_0x10e8(){const _0x4392c6=['string','84375QPzctD','1281774RqlPQv','993368aOsjCa','664284PXidif','133iBYewr','238662auZfMI','18735318UBajDf','trim','25QIJFWi','361150wmjJsP','object','number'];a249_0x10e8=function(){return _0x4392c6;};return a249_0x10e8();}export function normalizeEntityWithIdResponse(_0x7e0d90){const _0x4b0a0b=a249_0x2a60,_0x5a49de=toFiniteNumber(_0x7e0d90);if(_0x5a49de!==undefined)return{'id':_0x5a49de,'entity':{'id':_0x5a49de}};if(!_0x7e0d90||typeof _0x7e0d90!==_0x4b0a0b(0x170))return{'id':undefined,'entity':{}};const _0x10ebcf={..._0x7e0d90},_0x4c3a3b=toFiniteNumber(_0x10ebcf['id']);return _0x4c3a3b!==undefined&&(_0x10ebcf['id']=_0x4c3a3b),{'id':_0x4c3a3b,'entity':_0x10ebcf};}
1
+ (function(_0x59ea17,_0x37e57e){const _0x40ef53=a249_0x1785,_0x15b291=_0x59ea17();while(!![]){try{const _0x2fb37f=parseInt(_0x40ef53(0x14e))/0x1+-parseInt(_0x40ef53(0x14d))/0x2+-parseInt(_0x40ef53(0x14b))/0x3*(parseInt(_0x40ef53(0x148))/0x4)+-parseInt(_0x40ef53(0x151))/0x5+parseInt(_0x40ef53(0x150))/0x6*(-parseInt(_0x40ef53(0x147))/0x7)+-parseInt(_0x40ef53(0x14c))/0x8+parseInt(_0x40ef53(0x153))/0x9;if(_0x2fb37f===_0x37e57e)break;else _0x15b291['push'](_0x15b291['shift']());}catch(_0x32e62a){_0x15b291['push'](_0x15b291['shift']());}}}(a249_0x51e3,0xc33c4));function toFiniteNumber(_0x4547ee){const _0x3157bd=a249_0x1785;if(typeof _0x4547ee===_0x3157bd(0x152)&&Number[_0x3157bd(0x14f)](_0x4547ee))return _0x4547ee;if(typeof _0x4547ee===_0x3157bd(0x146)){const _0x73be4c=_0x4547ee[_0x3157bd(0x14a)]();if(!_0x73be4c)return undefined;const _0x253a97=Number(_0x73be4c);if(Number[_0x3157bd(0x14f)](_0x253a97))return _0x253a97;}return undefined;}export function normalizeEntityWithIdResponse(_0x599983){const _0x55cbd3=a249_0x1785,_0x32b008=toFiniteNumber(_0x599983);if(_0x32b008!==undefined)return{'id':_0x32b008,'entity':{'id':_0x32b008}};if(!_0x599983||typeof _0x599983!==_0x55cbd3(0x149))return{'id':undefined,'entity':{}};const _0xd4d432={..._0x599983},_0x4af11e=toFiniteNumber(_0xd4d432['id']);return _0x4af11e!==undefined&&(_0xd4d432['id']=_0x4af11e),{'id':_0x4af11e,'entity':_0xd4d432};}function a249_0x1785(_0x4829db,_0x4aee9f){_0x4829db=_0x4829db-0x146;const _0x51e3df=a249_0x51e3();let _0x1785ff=_0x51e3df[_0x4829db];return _0x1785ff;}function a249_0x51e3(){const _0x2e187f=['number','27827370XrXZHJ','string','14868IgkgRQ','12CQPPce','object','trim','679002GqgSfR','1247480lRjFqx','627498IpVqTd','124351UMohir','isFinite','3390hMNkEX','339255XtHqRa'];a249_0x51e3=function(){return _0x2e187f;};return a249_0x51e3();}
@@ -1 +1 @@
1
- (function(_0x2e5bea,_0x2bd083){const _0x130378=a250_0x560a,_0x27c765=_0x2e5bea();while(!![]){try{const _0x2a568f=-parseInt(_0x130378(0xa4))/0x1+-parseInt(_0x130378(0xa3))/0x2*(-parseInt(_0x130378(0xa7))/0x3)+-parseInt(_0x130378(0xa6))/0x4+parseInt(_0x130378(0xab))/0x5*(-parseInt(_0x130378(0xa8))/0x6)+-parseInt(_0x130378(0xa5))/0x7+parseInt(_0x130378(0xaa))/0x8+parseInt(_0x130378(0xa9))/0x9;if(_0x2a568f===_0x2bd083)break;else _0x27c765['push'](_0x27c765['shift']());}catch(_0x391991){_0x27c765['push'](_0x27c765['shift']());}}}(a250_0x53f3,0x7746e));function a250_0x53f3(){const _0x24fe80=['2695224nEpzih','5xXzvqY','159202lgGrac','545079byfzaY','1450715ugsnJH','2833828KBZxhr','3GXuhki','3519660kyLUTM','19075005qTFTDF'];a250_0x53f3=function(){return _0x24fe80;};return a250_0x53f3();}import{existsSync,mkdirSync,copyFileSync,readdirSync,statSync}from'node:fs';import{join}from'node:path';function a250_0x560a(_0x24c8f2,_0x4e740d){_0x24c8f2=_0x24c8f2-0xa3;const _0x53f323=a250_0x53f3();let _0x560a9b=_0x53f323[_0x24c8f2];return _0x560a9b;}export async function copyDir(_0x13d08e,_0x355ec6){const _0x28c543=statSync(_0x13d08e);if(_0x28c543['isDirectory']()){!existsSync(_0x355ec6)&&mkdirSync(_0x355ec6,{'recursive':!![]});const _0x193e7b=readdirSync(_0x13d08e);for(const _0x5eeff2 of _0x193e7b){await copyDir(join(_0x13d08e,_0x5eeff2),join(_0x355ec6,_0x5eeff2));}}else copyFileSync(_0x13d08e,_0x355ec6);}export function ensureDir(_0x5ef4b6){!existsSync(_0x5ef4b6)&&mkdirSync(_0x5ef4b6,{'recursive':!![]});}export function pathExists(_0x2a6382){return existsSync(_0x2a6382);}
1
+ (function(_0x299a82,_0x3491ec){const _0x6b7207=a250_0x5cca,_0xfaf57b=_0x299a82();while(!![]){try{const _0x5a8a45=-parseInt(_0x6b7207(0xcd))/0x1+-parseInt(_0x6b7207(0xca))/0x2*(-parseInt(_0x6b7207(0xc4))/0x3)+-parseInt(_0x6b7207(0xc8))/0x4*(-parseInt(_0x6b7207(0xc5))/0x5)+-parseInt(_0x6b7207(0xce))/0x6*(-parseInt(_0x6b7207(0xc6))/0x7)+-parseInt(_0x6b7207(0xc7))/0x8+-parseInt(_0x6b7207(0xc9))/0x9+parseInt(_0x6b7207(0xcb))/0xa;if(_0x5a8a45===_0x3491ec)break;else _0xfaf57b['push'](_0xfaf57b['shift']());}catch(_0x2b4280){_0xfaf57b['push'](_0xfaf57b['shift']());}}}(a250_0x14b0,0xcab64));import{existsSync,mkdirSync,copyFileSync,readdirSync,statSync}from'node:fs';function a250_0x5cca(_0x5941ea,_0x3b0f99){_0x5941ea=_0x5941ea-0xc4;const _0x14b0d1=a250_0x14b0();let _0x5cca37=_0x14b0d1[_0x5941ea];return _0x5cca37;}import{join}from'node:path';export async function copyDir(_0x51d73d,_0x233737){const _0x4f9826=a250_0x5cca,_0x97ebbf=statSync(_0x51d73d);if(_0x97ebbf[_0x4f9826(0xcc)]()){!existsSync(_0x233737)&&mkdirSync(_0x233737,{'recursive':!![]});const _0xec67e0=readdirSync(_0x51d73d);for(const _0x5906a0 of _0xec67e0){await copyDir(join(_0x51d73d,_0x5906a0),join(_0x233737,_0x5906a0));}}else copyFileSync(_0x51d73d,_0x233737);}export function ensureDir(_0x377caa){!existsSync(_0x377caa)&&mkdirSync(_0x377caa,{'recursive':!![]});}export function pathExists(_0x5becef){return existsSync(_0x5becef);}function a250_0x14b0(){const _0x2b5023=['2vKiRNZ','9601820xtJjpP','isDirectory','527180rOPwDW','69078yyAbml','2144361JLHCOF','685KYgftz','182FqTBpE','3646800pAdIzM','30928azJXUg','10982277fXXdez'];a250_0x14b0=function(){return _0x2b5023;};return a250_0x14b0();}
@@ -1 +1 @@
1
- const a251_0x22105d=a251_0x1cd8;(function(_0x15ec7b,_0x2d2fdd){const _0x43749a=a251_0x1cd8,_0x1f1bf9=_0x15ec7b();while(!![]){try{const _0x28b729=-parseInt(_0x43749a(0x13f))/0x1+-parseInt(_0x43749a(0x143))/0x2+parseInt(_0x43749a(0x141))/0x3*(parseInt(_0x43749a(0x145))/0x4)+-parseInt(_0x43749a(0x147))/0x5+parseInt(_0x43749a(0x136))/0x6*(-parseInt(_0x43749a(0x138))/0x7)+-parseInt(_0x43749a(0x13b))/0x8*(-parseInt(_0x43749a(0x13a))/0x9)+parseInt(_0x43749a(0x13e))/0xa;if(_0x28b729===_0x2d2fdd)break;else _0x1f1bf9['push'](_0x1f1bf9['shift']());}catch(_0x5b66fc){_0x1f1bf9['push'](_0x1f1bf9['shift']());}}}(a251_0x1399,0xc478b));import{mkdirSync,writeFileSync}from'node:fs';import{dirname,join}from'node:path';import{homedir}from'node:os';import{getTemplateBaseUrl}from'../utils/config.js';function a251_0x1399(){const _0xb98e03=['7zllqje','map','27VZBLTc','3554576HfIheC','CDN\x20数据中缺少\x20skillTemplate','CDN\x20返回数据格式错误','10638300uHPSBD','630112VwMVNp','guides','3kctNhq','json','42960vfEDIe','lastUpdated','2095324UZluOp','skillTemplate','1228165ZhMyIC','extendContent','trimEnd','.lovrabet','join','entries','\x0a\x0a>更新时间:','status','cache','path','CDN\x20请求失败:\x20','utf-8','length','.md','application/json','replace','statusText','object','7311930OGaPPa','keys'];a251_0x1399=function(){return _0xb98e03;};return a251_0x1399();}function getGuidesCdnUrl(){const _0x1c380b=getTemplateBaseUrl();return _0x1c380b+'/skills/guides.json';}const CACHE_DIR=join(homedir(),a251_0x22105d(0x14a),a251_0x22105d(0x12c));export async function fetchGuidesFromCDN(){const _0x2fb52d=a251_0x22105d,_0x241c60=getGuidesCdnUrl(),_0x2da9e6=await fetch(_0x241c60,{'headers':{'Accept':_0x2fb52d(0x132)}});if(!_0x2da9e6['ok'])throw new Error(_0x2fb52d(0x12e)+_0x2da9e6[_0x2fb52d(0x12b)]+'\x20'+_0x2da9e6[_0x2fb52d(0x134)]);const _0x1e042d=await _0x2da9e6[_0x2fb52d(0x142)]();if(!_0x1e042d[_0x2fb52d(0x140)]||typeof _0x1e042d[_0x2fb52d(0x140)]!==_0x2fb52d(0x135))throw new Error(_0x2fb52d(0x13d));return _0x1e042d;}function a251_0x1cd8(_0x4e8f04,_0x183460){_0x4e8f04=_0x4e8f04-0x12a;const _0x1399ae=a251_0x1399();let _0x1cd883=_0x1399ae[_0x4e8f04];return _0x1cd883;}export function writeGuidesToProject(_0x252bcb,_0x165b8c,_0x5aa037='.lovrabet/skill/guides',_0xa0773a){const _0x5f0e0=a251_0x22105d,_0x41b6dd=join(_0x165b8c,_0x5aa037);mkdirSync(_0x41b6dd,{'recursive':!![]});for(const [_0x328e33,_0x4d4fd1]of Object[_0x5f0e0(0x14c)](_0x252bcb[_0x5f0e0(0x140)])){let _0x51e2f7=_0x4d4fd1['content'];_0x4d4fd1[_0x5f0e0(0x144)]&&(_0x51e2f7=appendUpdateTime(_0x51e2f7,_0x4d4fd1[_0x5f0e0(0x144)])),writeFileSync(join(_0x41b6dd,_0x328e33+_0x5f0e0(0x131)),_0x51e2f7,'utf-8');}}export function appendUpdateTime(_0x37d09d,_0x208c0e){const _0x7c9a72=a251_0x22105d;return _0x37d09d=_0x37d09d[_0x7c9a72(0x133)](/\n*>更新时间:.*$/m,''),_0x37d09d[_0x7c9a72(0x149)]()+(_0x7c9a72(0x12a)+_0x208c0e);}export function getSkillTemplate(_0x2b4e80){const _0x18a6f5=a251_0x22105d;return _0x2b4e80[_0x18a6f5(0x146)]?.['content']||'';}export function appendExtendContents(_0x2718a6,_0x5df70d,_0x132166){const _0xbe1df8=a251_0x22105d,_0x1ca4db=[];for(const [,_0x5d94e5]of Object[_0xbe1df8(0x14c)](_0x5df70d[_0xbe1df8(0x140)])){_0x5d94e5[_0xbe1df8(0x148)]&&_0x1ca4db['push'](_0x5d94e5[_0xbe1df8(0x148)]['trimEnd']());}if(_0x1ca4db['length']===0x0)return _0x2718a6;return _0x2718a6[_0xbe1df8(0x149)]()+'\x0a\x0a'+_0x1ca4db[_0xbe1df8(0x14b)]('\x0a\x0a')+'\x0a';}export function writeSkillFile(_0x5383e5,_0x1b3085,_0x1d2027){const _0x28612e=a251_0x22105d,_0xeb5d35=getSkillTemplate(_0x5383e5);if(!_0xeb5d35)throw new Error(_0x28612e(0x13c));const _0x40fbe7=dirname(_0x1b3085);mkdirSync(_0x40fbe7,{'recursive':!![]});let _0x47b507=_0xeb5d35[_0x28612e(0x133)](/\{\{IDE_NAME\}\}/g,_0x1d2027);_0x47b507=appendExtendContents(_0x47b507,_0x5383e5),_0x5383e5[_0x28612e(0x146)][_0x28612e(0x144)]&&(_0x47b507=appendUpdateTime(_0x47b507,_0x5383e5[_0x28612e(0x146)][_0x28612e(0x144)])),writeFileSync(_0x1b3085,_0x47b507,_0x28612e(0x12f));}export async function installGuides(_0x32b0de){const _0x5f05b6=a251_0x22105d,_0x548cf0=await fetchGuidesFromCDN();return writeGuidesToProject(_0x548cf0,_0x32b0de),Object[_0x5f05b6(0x137)](_0x548cf0['guides'])[_0x5f05b6(0x130)];}export function getGuidesSummary(_0x1044ce){const _0x4d71a1=a251_0x22105d;return Object[_0x4d71a1(0x14c)](_0x1044ce[_0x4d71a1(0x140)])[_0x4d71a1(0x139)](([_0x26a449,_0x491f44])=>({'key':_0x26a449,'title':_0x491f44['title'],'path':_0x491f44[_0x4d71a1(0x12d)]}));}
1
+ const a251_0x2d60df=a251_0x4be3;(function(_0x54f7da,_0x2d92e1){const _0x59a345=a251_0x4be3,_0x4d4f77=_0x54f7da();while(!![]){try{const _0x2ca2da=parseInt(_0x59a345(0x97))/0x1*(-parseInt(_0x59a345(0x8f))/0x2)+-parseInt(_0x59a345(0xa4))/0x3*(-parseInt(_0x59a345(0x9d))/0x4)+-parseInt(_0x59a345(0x8c))/0x5+parseInt(_0x59a345(0x90))/0x6*(-parseInt(_0x59a345(0x94))/0x7)+parseInt(_0x59a345(0x89))/0x8*(-parseInt(_0x59a345(0x91))/0x9)+-parseInt(_0x59a345(0xa1))/0xa*(parseInt(_0x59a345(0x9f))/0xb)+parseInt(_0x59a345(0xa6))/0xc;if(_0x2ca2da===_0x2d92e1)break;else _0x4d4f77['push'](_0x4d4f77['shift']());}catch(_0x2e4596){_0x4d4f77['push'](_0x4d4f77['shift']());}}}(a251_0x5324,0x917b4));import{mkdirSync,writeFileSync}from'node:fs';import{dirname,join}from'node:path';import{homedir}from'node:os';import{getTemplateBaseUrl}from'../utils/config.js';function getGuidesCdnUrl(){const _0x7b6643=a251_0x4be3,_0x10dcc6=getTemplateBaseUrl();return _0x10dcc6+_0x7b6643(0xa8);}const CACHE_DIR=join(homedir(),a251_0x2d60df(0xa9),a251_0x2d60df(0xa3));export async function fetchGuidesFromCDN(){const _0x4b8b9c=a251_0x2d60df,_0x2af779=getGuidesCdnUrl(),_0x417938=await fetch(_0x2af779,{'headers':{'Accept':'application/json'}});if(!_0x417938['ok'])throw new Error(_0x4b8b9c(0xa2)+_0x417938[_0x4b8b9c(0x8d)]+'\x20'+_0x417938[_0x4b8b9c(0x8e)]);const _0x2f2722=await _0x417938['json']();if(!_0x2f2722[_0x4b8b9c(0x9b)]||typeof _0x2f2722[_0x4b8b9c(0x9b)]!==_0x4b8b9c(0x92))throw new Error(_0x4b8b9c(0xa5));return _0x2f2722;}export function writeGuidesToProject(_0x59eca5,_0xe3c0d8,_0x370087=a251_0x2d60df(0x87),_0x41ed8f){const _0xbf5680=a251_0x2d60df,_0x4982df=join(_0xe3c0d8,_0x370087);mkdirSync(_0x4982df,{'recursive':!![]});for(const [_0x352c59,_0x474f72]of Object['entries'](_0x59eca5[_0xbf5680(0x9b)])){let _0x3a28cf=_0x474f72[_0xbf5680(0x98)];_0x474f72[_0xbf5680(0x9e)]&&(_0x3a28cf=appendUpdateTime(_0x3a28cf,_0x474f72['lastUpdated'])),writeFileSync(join(_0x4982df,_0x352c59+'.md'),_0x3a28cf,_0xbf5680(0xaa));}}function a251_0x5324(){const _0x272051=['status','statusText','144QASiwV','6GxQBRk','117WZkfoU','object','CDN\x20数据中缺少\x20skillTemplate','4017391ejCfds','entries','length','5673ZUFGFU','content','replace','push','guides','extendContent','8RBybFp','lastUpdated','715Ntxjju','\x0a\x0a>更新时间:','147830IZMloJ','CDN\x20请求失败:\x20','cache','379770ByEKuW','CDN\x20返回数据格式错误','36258648hHRKNh','skillTemplate','/skills/guides.json','.lovrabet','utf-8','trimEnd','.lovrabet/skill/guides','title','294704tXAWaa','join','map','1283420VKyGVM'];a251_0x5324=function(){return _0x272051;};return a251_0x5324();}export function appendUpdateTime(_0x19ebed,_0x2a6169){const _0xa9d784=a251_0x2d60df;return _0x19ebed=_0x19ebed[_0xa9d784(0x99)](/\n*>更新时间:.*$/m,''),_0x19ebed['trimEnd']()+(_0xa9d784(0xa0)+_0x2a6169);}export function getSkillTemplate(_0x412237){const _0x46757b=a251_0x2d60df;return _0x412237['skillTemplate']?.[_0x46757b(0x98)]||'';}export function appendExtendContents(_0x55d1aa,_0x2f7341,_0x2e7c81){const _0x4ff1fd=a251_0x2d60df,_0x2acf0b=[];for(const [,_0x11a7e1]of Object[_0x4ff1fd(0x95)](_0x2f7341[_0x4ff1fd(0x9b)])){_0x11a7e1[_0x4ff1fd(0x9c)]&&_0x2acf0b[_0x4ff1fd(0x9a)](_0x11a7e1[_0x4ff1fd(0x9c)][_0x4ff1fd(0x86)]());}if(_0x2acf0b[_0x4ff1fd(0x96)]===0x0)return _0x55d1aa;return _0x55d1aa[_0x4ff1fd(0x86)]()+'\x0a\x0a'+_0x2acf0b[_0x4ff1fd(0x8a)]('\x0a\x0a')+'\x0a';}export function writeSkillFile(_0x4704c0,_0x24e660,_0x306e19){const _0x584f21=a251_0x2d60df,_0x223e87=getSkillTemplate(_0x4704c0);if(!_0x223e87)throw new Error(_0x584f21(0x93));const _0x15f5cc=dirname(_0x24e660);mkdirSync(_0x15f5cc,{'recursive':!![]});let _0x3e72d8=_0x223e87[_0x584f21(0x99)](/\{\{IDE_NAME\}\}/g,_0x306e19);_0x3e72d8=appendExtendContents(_0x3e72d8,_0x4704c0),_0x4704c0[_0x584f21(0xa7)]['lastUpdated']&&(_0x3e72d8=appendUpdateTime(_0x3e72d8,_0x4704c0[_0x584f21(0xa7)][_0x584f21(0x9e)])),writeFileSync(_0x24e660,_0x3e72d8,'utf-8');}function a251_0x4be3(_0xe26950,_0x325982){_0xe26950=_0xe26950-0x86;const _0x532420=a251_0x5324();let _0x4be391=_0x532420[_0xe26950];return _0x4be391;}export async function installGuides(_0x10bd8b){const _0x26fe37=a251_0x2d60df,_0x33a215=await fetchGuidesFromCDN();return writeGuidesToProject(_0x33a215,_0x10bd8b),Object['keys'](_0x33a215[_0x26fe37(0x9b)])[_0x26fe37(0x96)];}export function getGuidesSummary(_0x57dddc){const _0x473c7b=a251_0x2d60df;return Object[_0x473c7b(0x95)](_0x57dddc['guides'])[_0x473c7b(0x8b)](([_0x2343b3,_0x2a6e29])=>({'key':_0x2343b3,'title':_0x2a6e29[_0x473c7b(0x88)],'path':_0x2a6e29['path']}));}
@@ -1 +1 @@
1
- (function(_0x35f63a,_0x567592){const _0x353806=a252_0x48de,_0xaed072=_0x35f63a();while(!![]){try{const _0x452d4d=parseInt(_0x353806(0xc5))/0x1+-parseInt(_0x353806(0xc1))/0x2*(-parseInt(_0x353806(0xd0))/0x3)+parseInt(_0x353806(0xd1))/0x4*(-parseInt(_0x353806(0xcf))/0x5)+-parseInt(_0x353806(0xc3))/0x6*(parseInt(_0x353806(0xcd))/0x7)+-parseInt(_0x353806(0xc9))/0x8+parseInt(_0x353806(0xd2))/0x9+parseInt(_0x353806(0xce))/0xa;if(_0x452d4d===_0x567592)break;else _0xaed072['push'](_0xaed072['shift']());}catch(_0x2d6d87){_0xaed072['push'](_0xaed072['shift']());}}}(a252_0x55cf,0x952c1));export async function httpRequest(_0x45b0b1,_0x6902e2={}){const _0x11b3df=a252_0x48de,{timeout:timeout=0x7530,retries:retries=0x3,retryDelay:retryDelay=0x3e8,headers:headers={}}=_0x6902e2;let _0x476df0=null;for(let _0x3bcfda=0x0;_0x3bcfda<=retries;_0x3bcfda++){try{const _0x1f1666=new AbortController(),_0x4e84de=setTimeout(()=>_0x1f1666['abort'](),timeout),_0x1603a9=await fetch(_0x45b0b1,{'headers':headers,'signal':_0x1f1666[_0x11b3df(0xcb)]});clearTimeout(_0x4e84de);let _0x839852;const _0x124a33=_0x1603a9[_0x11b3df(0xca)][_0x11b3df(0xd7)](_0x11b3df(0xbf));return _0x124a33?.[_0x11b3df(0xd6)](_0x11b3df(0xcc))?_0x839852=await _0x1603a9['json']():_0x839852=await _0x1603a9['text'](),{'ok':_0x1603a9['ok'],'status':_0x1603a9[_0x11b3df(0xc4)],'statusText':_0x1603a9['statusText'],'data':_0x839852,'headers':_0x1603a9[_0x11b3df(0xca)],'url':_0x1603a9[_0x11b3df(0xc6)],'text':()=>_0x1603a9['text']()};}catch(_0x5281ed){_0x476df0=_0x5281ed instanceof Error?_0x5281ed:new Error(String(_0x5281ed));if(_0x3bcfda===retries)break;if(shouldRetry(_0x5281ed)){console['log'](_0x11b3df(0xbc)+retryDelay+_0x11b3df(0xbe)+(_0x3bcfda+0x1)+_0x11b3df(0xc2)),await sleep(retryDelay);continue;}else break;}}throw _0x476df0||new Error('Request\x20failed');}function shouldRetry(_0xbbae68){const _0x4382aa=a252_0x48de;if(_0xbbae68 instanceof Error){if(_0xbbae68[_0x4382aa(0xc8)]===_0x4382aa(0xd5))return![];if(_0xbbae68[_0x4382aa(0xc8)]===_0x4382aa(0xc7)&&_0xbbae68[_0x4382aa(0xc0)][_0x4382aa(0xd6)](_0x4382aa(0xd4)))return!![];if(_0xbbae68[_0x4382aa(0xc0)]['includes'](_0x4382aa(0xd3)))return!![];if(_0xbbae68[_0x4382aa(0xc0)]['includes'](_0x4382aa(0xbd)))return![];}return![];}function sleep(_0xf46dca){return new Promise(_0x5d3f23=>setTimeout(_0x5d3f23,_0xf46dca));}export function validateUrl(_0x332e5b){try{return new URL(_0x332e5b),!![];}catch{return![];}}function a252_0x48de(_0x97e30b,_0x528cbc){_0x97e30b=_0x97e30b-0xbc;const _0x55cf05=a252_0x55cf();let _0x48de8d=_0x55cf05[_0x97e30b];return _0x48de8d;}function a252_0x55cf(){const _0x4fb351=['1022646femTeI','status','896435HepVtG','url','TypeError','name','7886640RVeGUs','headers','signal','application/json','21AqQMCf','7834830ehaJjJ','635CHUXYZ','3361587hPntBH','26324KUPBch','1291518Emjpns','ECONNRESET','fetch','AbortError','includes','get','*\x20请求失败,','ENOTFOUND','ms\x20后进行第\x20','content-type','message','2gpFJVn','\x20次重试...'];a252_0x55cf=function(){return _0x4fb351;};return a252_0x55cf();}
1
+ (function(_0x38e78a,_0x3aeca6){const _0x4b4e3f=a252_0x1350,_0x1ecd51=_0x38e78a();while(!![]){try{const _0x1248f2=-parseInt(_0x4b4e3f(0xf2))/0x1+-parseInt(_0x4b4e3f(0xef))/0x2*(parseInt(_0x4b4e3f(0xf8))/0x3)+-parseInt(_0x4b4e3f(0xf5))/0x4*(-parseInt(_0x4b4e3f(0x106))/0x5)+-parseInt(_0x4b4e3f(0x102))/0x6+parseInt(_0x4b4e3f(0xf3))/0x7*(parseInt(_0x4b4e3f(0xf4))/0x8)+-parseInt(_0x4b4e3f(0xff))/0x9+parseInt(_0x4b4e3f(0xf9))/0xa*(parseInt(_0x4b4e3f(0x101))/0xb);if(_0x1248f2===_0x3aeca6)break;else _0x1ecd51['push'](_0x1ecd51['shift']());}catch(_0x1bd311){_0x1ecd51['push'](_0x1ecd51['shift']());}}}(a252_0x1f96,0x8f4f7));function a252_0x1350(_0x5002cd,_0x3d1bf7){_0x5002cd=_0x5002cd-0xee;const _0x1f9621=a252_0x1f96();let _0x13501b=_0x1f9621[_0x5002cd];return _0x13501b;}export async function httpRequest(_0x5ad37e,_0x3f4886={}){const _0x37afb8=a252_0x1350,{timeout:timeout=0x7530,retries:retries=0x3,retryDelay:retryDelay=0x3e8,headers:headers={}}=_0x3f4886;let _0x85c822=null;for(let _0x3a5e65=0x0;_0x3a5e65<=retries;_0x3a5e65++){try{const _0x454d60=new AbortController(),_0x1a16f7=setTimeout(()=>_0x454d60['abort'](),timeout),_0x250dde=await fetch(_0x5ad37e,{'headers':headers,'signal':_0x454d60[_0x37afb8(0xf7)]});clearTimeout(_0x1a16f7);let _0x174f4a;const _0x40f7a8=_0x250dde[_0x37afb8(0x107)][_0x37afb8(0x104)](_0x37afb8(0xf6));return _0x40f7a8?.['includes']('application/json')?_0x174f4a=await _0x250dde['json']():_0x174f4a=await _0x250dde[_0x37afb8(0xfa)](),{'ok':_0x250dde['ok'],'status':_0x250dde[_0x37afb8(0xee)],'statusText':_0x250dde['statusText'],'data':_0x174f4a,'headers':_0x250dde[_0x37afb8(0x107)],'url':_0x250dde['url'],'text':()=>_0x250dde[_0x37afb8(0xfa)]()};}catch(_0x587f27){_0x85c822=_0x587f27 instanceof Error?_0x587f27:new Error(String(_0x587f27));if(_0x3a5e65===retries)break;if(shouldRetry(_0x587f27)){console['log']('*\x20请求失败,'+retryDelay+'ms\x20后进行第\x20'+(_0x3a5e65+0x1)+_0x37afb8(0xfe)),await sleep(retryDelay);continue;}else break;}}throw _0x85c822||new Error(_0x37afb8(0xf1));}function shouldRetry(_0x164e50){const _0x2bec8a=a252_0x1350;if(_0x164e50 instanceof Error){if(_0x164e50[_0x2bec8a(0xfb)]==='AbortError')return![];if(_0x164e50[_0x2bec8a(0xfb)]===_0x2bec8a(0x100)&&_0x164e50[_0x2bec8a(0x105)][_0x2bec8a(0xfc)](_0x2bec8a(0xf0)))return!![];if(_0x164e50['message'][_0x2bec8a(0xfc)](_0x2bec8a(0x103)))return!![];if(_0x164e50['message'][_0x2bec8a(0xfc)](_0x2bec8a(0xfd)))return![];}return![];}function sleep(_0x206e6a){return new Promise(_0x1d9a2d=>setTimeout(_0x1d9a2d,_0x206e6a));}export function validateUrl(_0x27860a){try{return new URL(_0x27860a),!![];}catch{return![];}}function a252_0x1f96(){const _0x53e4b1=['text','name','includes','ENOTFOUND','\x20次重试...','260811RDAnBl','TypeError','33MaZZuj','915804dCjkSS','ECONNRESET','get','message','100zfGBRr','headers','status','1190816NHFQUL','fetch','Request\x20failed','597894UrIgTL','7GjQbdG','5023000slSiNd','233404LASbbK','content-type','signal','3JqwYzB','556730odYOYf'];a252_0x1f96=function(){return _0x53e4b1;};return a252_0x1f96();}