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

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 (263) hide show
  1. package/README.md +1 -1
  2. package/lib/api/api-doc.js +1 -1
  3. package/lib/api/fetch-model-list.js +1 -1
  4. package/lib/api/generate-api-file.js +1 -1
  5. package/lib/auth/auth-server-ui.js +1 -1
  6. package/lib/auth/auth-server.js +1 -1
  7. package/lib/auth/constant.js +1 -1
  8. package/lib/auth/get-cookie.js +1 -1
  9. package/lib/auth/get-session-user.js +1 -1
  10. package/lib/auth/is-session-valid.js +1 -1
  11. package/lib/auth/login-success-html.js +1 -1
  12. package/lib/auth/logout.js +1 -1
  13. package/lib/cli-flags.js +1 -1
  14. package/lib/cli.js +1 -1
  15. package/lib/commands/api/generate.js +1 -1
  16. package/lib/commands/api/index.js +1 -1
  17. package/lib/commands/api/list.js +1 -1
  18. package/lib/commands/api/pull.js +1 -1
  19. package/lib/commands/api/shared.js +1 -1
  20. package/lib/commands/app/add.js +1 -1
  21. package/lib/commands/app/index.js +1 -1
  22. package/lib/commands/app/list.js +1 -1
  23. package/lib/commands/app/remote-directory.js +1 -1
  24. package/lib/commands/app/remove.js +1 -1
  25. package/lib/commands/app/shared.js +1 -1
  26. package/lib/commands/app-config/delete.js +1 -1
  27. package/lib/commands/app-config/get.js +1 -1
  28. package/lib/commands/app-config/index.js +1 -1
  29. package/lib/commands/app-config/list.js +1 -1
  30. package/lib/commands/app-config/set.js +1 -1
  31. package/lib/commands/app-config/shared.js +1 -1
  32. package/lib/commands/auth/index.js +1 -1
  33. package/lib/commands/bff/create.js +1 -1
  34. package/lib/commands/bff/delete.js +1 -1
  35. package/lib/commands/bff/detail.js +1 -1
  36. package/lib/commands/bff/index.js +1 -1
  37. package/lib/commands/bff/list.js +1 -1
  38. package/lib/commands/bff/pull.js +1 -1
  39. package/lib/commands/bff/push.js +1 -1
  40. package/lib/commands/bff/status.js +1 -1
  41. package/lib/commands/cli-skill/index.js +1 -1
  42. package/lib/commands/cli-update.js +1 -1
  43. package/lib/commands/codegen/index.js +1 -1
  44. package/lib/commands/codegen/sdk.js +1 -1
  45. package/lib/commands/codegen/sql.js +1 -1
  46. package/lib/commands/common/app-registry.js +1 -1
  47. package/lib/commands/common/app-selector.js +1 -1
  48. package/lib/commands/common/async-task.js +1 -1
  49. package/lib/commands/common/dry-run.js +1 -1
  50. package/lib/commands/common/flags.js +1 -1
  51. package/lib/commands/common/local-file.js +1 -1
  52. package/lib/commands/common/validate.js +1 -1
  53. package/lib/commands/config/get.js +1 -1
  54. package/lib/commands/config/index.js +1 -1
  55. package/lib/commands/config/list.js +1 -1
  56. package/lib/commands/config/set.js +1 -1
  57. package/lib/commands/config/shared.js +1 -1
  58. package/lib/commands/data/filter.js +1 -1
  59. package/lib/commands/data/getOne.js +1 -1
  60. package/lib/commands/data/index.js +1 -1
  61. package/lib/commands/data/shared.js +1 -1
  62. package/lib/commands/dataset/business-group-update.js +1 -1
  63. package/lib/commands/dataset/capability.js +1 -1
  64. package/lib/commands/dataset/delete.js +1 -1
  65. package/lib/commands/dataset/detail.js +1 -1
  66. package/lib/commands/dataset/extend-update.js +1 -1
  67. package/lib/commands/dataset/field-update.js +1 -1
  68. package/lib/commands/dataset/generate.js +1 -1
  69. package/lib/commands/dataset/index.js +1 -1
  70. package/lib/commands/dataset/list.js +1 -1
  71. package/lib/commands/dataset/operations.js +1 -1
  72. package/lib/commands/dataset/relation-audit.js +1 -1
  73. package/lib/commands/dataset/relation-create.js +1 -1
  74. package/lib/commands/dataset/relation-delete.js +1 -1
  75. package/lib/commands/dataset/relation-shared.js +1 -1
  76. package/lib/commands/dataset/relation-update.js +1 -1
  77. package/lib/commands/dataset/relations.js +1 -1
  78. package/lib/commands/dataset/rename.js +1 -1
  79. package/lib/commands/dataset/restore.js +1 -1
  80. package/lib/commands/db/analysis-batching.js +1 -1
  81. package/lib/commands/db/analyze-batch-plan.js +1 -1
  82. package/lib/commands/db/analyze-cancel.js +1 -1
  83. package/lib/commands/db/analyze-start.js +1 -1
  84. package/lib/commands/db/analyze-status.js +1 -1
  85. package/lib/commands/db/create.js +1 -1
  86. package/lib/commands/db/delete.js +1 -1
  87. package/lib/commands/db/detail.js +1 -1
  88. package/lib/commands/db/diff.js +1 -1
  89. package/lib/commands/db/index.js +1 -1
  90. package/lib/commands/db/list.js +1 -1
  91. package/lib/commands/db/shared.js +1 -1
  92. package/lib/commands/db/tables.js +1 -1
  93. package/lib/commands/db/test.js +1 -1
  94. package/lib/commands/db/update.js +1 -1
  95. package/lib/commands/doctor.js +1 -1
  96. package/lib/commands/file/index.js +1 -1
  97. package/lib/commands/init/index.js +1 -1
  98. package/lib/commands/issue/index.js +1 -1
  99. package/lib/commands/issue/nudge.js +1 -1
  100. package/lib/commands/issue/report.js +1 -1
  101. package/lib/commands/issue/shared.js +1 -1
  102. package/lib/commands/logs/index.js +1 -1
  103. package/lib/commands/menu/asset-update.js +1 -0
  104. package/lib/commands/menu/delete.js +1 -1
  105. package/lib/commands/menu/external-link-create.js +1 -1
  106. package/lib/commands/menu/external-link-update.js +1 -0
  107. package/lib/commands/menu/group-create.js +1 -1
  108. package/lib/commands/menu/group-update.js +1 -1
  109. package/lib/commands/menu/index.js +1 -1
  110. package/lib/commands/menu/list.js +1 -1
  111. package/lib/commands/menu/move.js +1 -1
  112. package/lib/commands/menu/regroup-start.js +1 -1
  113. package/lib/commands/menu/shared/compare-table.js +1 -1
  114. package/lib/commands/menu/shared/delete-plan.js +1 -1
  115. package/lib/commands/menu/shared/facts.js +1 -1
  116. package/lib/commands/menu/shared/index.js +1 -1
  117. package/lib/commands/menu/shared/inquirer.js +1 -1
  118. package/lib/commands/menu/shared/local-pages.js +1 -1
  119. package/lib/commands/menu/shared/logic.js +1 -1
  120. package/lib/commands/menu/shared/mutations.js +1 -1
  121. package/lib/commands/menu/shared/service.js +1 -1
  122. package/lib/commands/menu/shared/sync-core.js +1 -1
  123. package/lib/commands/menu/shared/update-core.js +1 -1
  124. package/lib/commands/menu/shared/valid-url.js +1 -1
  125. package/lib/commands/menu/sync.js +1 -1
  126. package/lib/commands/notification/config-list.js +1 -1
  127. package/lib/commands/notification/index.js +1 -1
  128. package/lib/commands/page/generate-start.js +1 -1
  129. package/lib/commands/page/generate-status.js +1 -1
  130. package/lib/commands/page/index.js +1 -1
  131. package/lib/commands/page/pull.js +1 -1
  132. package/lib/commands/page/push.js +1 -1
  133. package/lib/commands/page/relation-audit.js +1 -1
  134. package/lib/commands/page/shared.js +1 -1
  135. package/lib/commands/page/standard-page-status.js +1 -1
  136. package/lib/commands/page/sync.js +1 -1
  137. package/lib/commands/permit/index.js +1 -1
  138. package/lib/commands/permit/page-get.js +1 -1
  139. package/lib/commands/permit/page-set.js +1 -1
  140. package/lib/commands/permit/role-apis-set.js +1 -1
  141. package/lib/commands/permit/role-menus-set.js +1 -1
  142. package/lib/commands/permit/role-menus.js +1 -1
  143. package/lib/commands/permit/shared.js +1 -1
  144. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  145. package/lib/commands/project/create/format-elapsed.js +1 -1
  146. package/lib/commands/project/create/main.js +1 -1
  147. package/lib/commands/project/create/non-interactive.js +1 -1
  148. package/lib/commands/project/create/project-template-path.js +1 -1
  149. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  150. package/lib/commands/project/create/use-format-code.js +1 -1
  151. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  152. package/lib/commands/project/index.js +1 -1
  153. package/lib/commands/project/init.js +1 -1
  154. package/lib/commands/project/upgrade.js +1 -1
  155. package/lib/commands/registry.js +1 -1
  156. package/lib/commands/role/create.js +1 -1
  157. package/lib/commands/role/delete.js +1 -1
  158. package/lib/commands/role/detail.js +1 -1
  159. package/lib/commands/role/index.js +1 -1
  160. package/lib/commands/role/list.js +1 -1
  161. package/lib/commands/role/shared.js +1 -1
  162. package/lib/commands/role/update.js +1 -1
  163. package/lib/commands/role/user-add.js +1 -1
  164. package/lib/commands/role/user-remove.js +1 -1
  165. package/lib/commands/role/user-resolve.js +1 -1
  166. package/lib/commands/run/index.js +1 -1
  167. package/lib/commands/schema.js +1 -1
  168. package/lib/commands/sql/create.js +1 -1
  169. package/lib/commands/sql/delete.js +1 -1
  170. package/lib/commands/sql/detail.js +1 -1
  171. package/lib/commands/sql/exec.js +1 -1
  172. package/lib/commands/sql/index.js +1 -1
  173. package/lib/commands/sql/list.js +1 -1
  174. package/lib/commands/sql/pull.js +1 -1
  175. package/lib/commands/sql/push.js +1 -1
  176. package/lib/commands/sql/save.js +1 -1
  177. package/lib/commands/sql/shared.js +1 -1
  178. package/lib/commands/sql/status.js +1 -1
  179. package/lib/commands/sql/validate.js +1 -1
  180. package/lib/commands/task/index.js +1 -1
  181. package/lib/commands/task/status.js +1 -1
  182. package/lib/commands/workspace/add.js +1 -1
  183. package/lib/commands/workspace/index.js +1 -1
  184. package/lib/commands/workspace/remove.js +1 -1
  185. package/lib/config/schema.js +1 -1
  186. package/lib/constant/cdn.js +1 -1
  187. package/lib/constant/cli.js +1 -1
  188. package/lib/constant/defaults.js +1 -1
  189. package/lib/constant/domain.js +1 -1
  190. package/lib/constant/env.js +1 -1
  191. package/lib/constant/output.js +1 -1
  192. package/lib/constant/paths.js +1 -1
  193. package/lib/constant/risk.js +1 -1
  194. package/lib/context/app-resolver.js +1 -1
  195. package/lib/context/auth-resolver.js +1 -1
  196. package/lib/context/config-loader.js +1 -1
  197. package/lib/context.js +1 -1
  198. package/lib/core/alias-resolver.js +1 -1
  199. package/lib/core/api-client.js +1 -1
  200. package/lib/core/bff/config.js +1 -1
  201. package/lib/core/bff/file-system.js +1 -1
  202. package/lib/core/bff/hash.js +1 -1
  203. package/lib/core/bff/lock.js +1 -1
  204. package/lib/core/bff/utils.js +1 -1
  205. package/lib/core/db-resolver.js +1 -1
  206. package/lib/core/page/file-system.js +1 -1
  207. package/lib/core/page/hash.js +1 -1
  208. package/lib/core/page/lock.js +1 -1
  209. package/lib/core/sql-index-auditor.js +1 -1
  210. package/lib/core/sql-sync/config.js +1 -1
  211. package/lib/core/sql-sync/file-system.js +1 -1
  212. package/lib/core/sql-sync/hash.js +1 -1
  213. package/lib/core/sql-sync/lock.js +1 -1
  214. package/lib/core/sql-sync/utils.js +1 -1
  215. package/lib/core/sql-validator.js +1 -1
  216. package/lib/errors.js +1 -1
  217. package/lib/framework/build-all-flags.js +1 -1
  218. package/lib/framework/error-output.js +1 -1
  219. package/lib/framework/explicit-yes.js +1 -1
  220. package/lib/framework/flags.js +1 -1
  221. package/lib/framework/help.js +1 -1
  222. package/lib/framework/index.js +1 -1
  223. package/lib/framework/output.js +1 -1
  224. package/lib/framework/response.js +1 -1
  225. package/lib/framework/runner-alias.js +1 -1
  226. package/lib/framework/runner.js +1 -1
  227. package/lib/framework/schema-export.js +1 -1
  228. package/lib/framework/types.js +1 -1
  229. package/lib/generated/build-info.js +1 -1
  230. package/lib/help.js +1 -1
  231. package/lib/skills/main.js +1 -1
  232. package/lib/skills/npx-skills-add.js +1 -1
  233. package/lib/telemetry/cli-command-trace.js +1 -1
  234. package/lib/telemetry/cli-help-trace.js +1 -1
  235. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  236. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  237. package/lib/telemetry/send-cli-trace-log.js +1 -1
  238. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  239. package/lib/utils/ai_config.js +1 -1
  240. package/lib/utils/apply-jq-filter.js +1 -1
  241. package/lib/utils/cdn-config.js +1 -1
  242. package/lib/utils/check-sdk-version.js +1 -1
  243. package/lib/utils/cli-version-check.js +1 -1
  244. package/lib/utils/cli-version-policy.js +1 -1
  245. package/lib/utils/config.js +1 -1
  246. package/lib/utils/copy-directory.js +1 -1
  247. package/lib/utils/entity-with-id.js +1 -1
  248. package/lib/utils/file-utils.js +1 -1
  249. package/lib/utils/guides-cdn.js +1 -1
  250. package/lib/utils/http-client.js +1 -1
  251. package/lib/utils/is-non-interactive.js +1 -1
  252. package/lib/utils/logger.js +1 -1
  253. package/lib/utils/params.js +1 -1
  254. package/lib/utils/platform.js +1 -1
  255. package/lib/utils/rules-cdn.js +1 -1
  256. package/lib/utils/sleep.js +1 -1
  257. package/lib/utils/template-replacer.js +1 -1
  258. package/lib/utils/update-notice.js +1 -1
  259. package/lib/utils/version.js +1 -1
  260. package/lib/utils/with-active-cookie.js +1 -1
  261. package/lib/utils/write-cli-side-channel.js +1 -1
  262. package/package.json +1 -1
  263. package/lib/commands/menu/update.js +0 -1
@@ -1 +1 @@
1
- function a219_0x4a90(){var _0x4b763c=['758780mCUwws','20594yWTsvg','structuredErrors','defaultFormat','format','24JWBPse','2168vAYBGw','3094483XkYOYH','13635YKXhQV','flags','4149180LmlCRU','5KFVnRr','5655810mHOjDg','compress','def','157167oJISOr'];a219_0x4a90=function(){return _0x4b763c;};return a219_0x4a90();}(function(_0x186c69,_0x1a8d6e){var _0x23d4b6=a219_0x1022,_0x225d15=_0x186c69();while(!![]){try{var _0x381c75=-parseInt(_0x23d4b6(0x1bc))/0x1+-parseInt(_0x23d4b6(0x1c0))/0x2*(parseInt(_0x23d4b6(0x1ba))/0x3)+-parseInt(_0x23d4b6(0x1bb))/0x4+parseInt(_0x23d4b6(0x1b6))/0x5*(parseInt(_0x23d4b6(0x1b7))/0x6)+parseInt(_0x23d4b6(0x1c2))/0x7+-parseInt(_0x23d4b6(0x1c1))/0x8*(parseInt(_0x23d4b6(0x1b3))/0x9)+parseInt(_0x23d4b6(0x1b5))/0xa;if(_0x381c75===_0x1a8d6e)break;else _0x225d15['push'](_0x225d15['shift']());}catch(_0x44de1d){_0x225d15['push'](_0x225d15['shift']());}}}(a219_0x4a90,0x864d4));import{resolveOutputConfig}from'@lovrabet/cli-framework';export function usesStructuredErrorOutput(_0x5f436c){var _0x408cf4=a219_0x1022;return _0x5f436c?.[_0x408cf4(0x1bd)]===!![];}function a219_0x1022(_0x50bc10,_0x31df0b){_0x50bc10=_0x50bc10-0x1b3;var _0x4a9002=a219_0x4a90();var _0x1022ae=_0x4a9002[_0x50bc10];return _0x1022ae;}export function resolveErrorOutputFormat(_0x38a3bc){var _0x3f57be=a219_0x1022;if(!_0x38a3bc['def'])return _0x38a3bc[_0x3f57be(0x1be)]??_0x3f57be(0x1b8);return resolveOutputConfig({'flags':_0x38a3bc[_0x3f57be(0x1b4)]??{},'def':_0x38a3bc[_0x3f57be(0x1b9)],'configDefault':_0x38a3bc[_0x3f57be(0x1be)]})[_0x3f57be(0x1bf)];}
1
+ (function(_0x114bd3,_0x1cfb58){var _0x4bd29f=a220_0x2701,_0x51c34c=_0x114bd3();while(!![]){try{var _0x53e00f=parseInt(_0x4bd29f(0x1d1))/0x1*(-parseInt(_0x4bd29f(0x1cd))/0x2)+-parseInt(_0x4bd29f(0x1d5))/0x3+parseInt(_0x4bd29f(0x1d2))/0x4*(parseInt(_0x4bd29f(0x1c7))/0x5)+parseInt(_0x4bd29f(0x1c9))/0x6*(-parseInt(_0x4bd29f(0x1c8))/0x7)+-parseInt(_0x4bd29f(0x1ca))/0x8*(parseInt(_0x4bd29f(0x1d3))/0x9)+-parseInt(_0x4bd29f(0x1d0))/0xa+-parseInt(_0x4bd29f(0x1ce))/0xb*(-parseInt(_0x4bd29f(0x1c6))/0xc);if(_0x53e00f===_0x1cfb58)break;else _0x51c34c['push'](_0x51c34c['shift']());}catch(_0x3f82c5){_0x51c34c['push'](_0x51c34c['shift']());}}}(a220_0x3972,0x54cdc));import{resolveOutputConfig}from'@lovrabet/cli-framework';function a220_0x3972(){var _0x2a98dc=['396506MpBDEz','flags','4759640CAqosi','543eNKXkO','276400ANyELZ','49779KzSxcB','defaultFormat','858303tSXKRL','516FtKRJB','40hAHkDY','77jEMqMo','16488RavLDL','504TPtGfr','format','def','2264aJJaHZ'];a220_0x3972=function(){return _0x2a98dc;};return a220_0x3972();}export function usesStructuredErrorOutput(_0x5f1d25){return _0x5f1d25?.['structuredErrors']===!![];}function a220_0x2701(_0x5a2c67,_0x12503f){_0x5a2c67=_0x5a2c67-0x1c6;var _0x3972fd=a220_0x3972();var _0x270120=_0x3972fd[_0x5a2c67];return _0x270120;}export function resolveErrorOutputFormat(_0x337332){var _0x45836e=a220_0x2701;if(!_0x337332[_0x45836e(0x1cc)])return _0x337332[_0x45836e(0x1d4)]??'compress';return resolveOutputConfig({'flags':_0x337332[_0x45836e(0x1cf)]??{},'def':_0x337332[_0x45836e(0x1cc)],'configDefault':_0x337332['defaultFormat']})[_0x45836e(0x1cb)];}
@@ -1 +1 @@
1
- const a220_0x137d84=a220_0x3513;(function(_0x147a86,_0x35bc87){const _0x1bd9e9=a220_0x3513,_0x40501b=_0x147a86();while(!![]){try{const _0x34e87f=-parseInt(_0x1bd9e9(0x1a1))/0x1+parseInt(_0x1bd9e9(0x19d))/0x2+-parseInt(_0x1bd9e9(0x19a))/0x3+-parseInt(_0x1bd9e9(0x1a2))/0x4*(parseInt(_0x1bd9e9(0x19f))/0x5)+-parseInt(_0x1bd9e9(0x19b))/0x6*(-parseInt(_0x1bd9e9(0x19c))/0x7)+parseInt(_0x1bd9e9(0x194))/0x8+-parseInt(_0x1bd9e9(0x1a0))/0x9*(-parseInt(_0x1bd9e9(0x1a3))/0xa);if(_0x34e87f===_0x35bc87)break;else _0x40501b['push'](_0x40501b['shift']());}catch(_0x36da2f){_0x40501b['push'](_0x40501b['shift']());}}}(a220_0x6a01,0x1e37c));const EXPLICIT_YES_COMMANDS=new Set([a220_0x137d84(0x197),a220_0x137d84(0x199),a220_0x137d84(0x196),'menu\x20group-update',a220_0x137d84(0x198),'menu\x20regroup-start']);function a220_0x3513(_0x4e5232,_0x29ed79){_0x4e5232=_0x4e5232-0x194;const _0x6a01f8=a220_0x6a01();let _0x351355=_0x6a01f8[_0x4e5232];return _0x351355;}export const EXPLICIT_YES_FLAG_DESCRIPTION='Required\x20for\x20execution\x20after\x20reviewing\x20the\x20--dry-run\x20plan';function a220_0x6a01(){const _0xe25dec=['menu\x20delete','345795LodQCO','4002EFcVTd','1631kCVYto','399906EWVeEx','service','10OGuFGi','9PEgITL','107110dJwEHP','403028xJsnWb','709250xERxTx','970976pAHUJh','command','menu\x20group-create','menu\x20external-link-create','menu\x20move'];a220_0x6a01=function(){return _0xe25dec;};return a220_0x6a01();}export function requiresExplicitYes(_0x459cd4){const _0xba935e=a220_0x137d84;return EXPLICIT_YES_COMMANDS['has'](_0x459cd4[_0xba935e(0x19e)]+'\x20'+_0x459cd4[_0xba935e(0x195)]);}
1
+ const a221_0x10c4f5=a221_0x9346;function a221_0x9346(_0x5382b3,_0x4c4318){_0x5382b3=_0x5382b3-0x1db;const _0x50e2cf=a221_0x50e2();let _0x934685=_0x50e2cf[_0x5382b3];return _0x934685;}(function(_0x34158f,_0x5b5824){const _0x26b3fa=a221_0x9346,_0x5d06b7=_0x34158f();while(!![]){try{const _0x5c9a56=-parseInt(_0x26b3fa(0x1dc))/0x1+parseInt(_0x26b3fa(0x1e4))/0x2*(-parseInt(_0x26b3fa(0x1e6))/0x3)+-parseInt(_0x26b3fa(0x1ea))/0x4*(-parseInt(_0x26b3fa(0x1e3))/0x5)+-parseInt(_0x26b3fa(0x1df))/0x6+parseInt(_0x26b3fa(0x1ec))/0x7*(parseInt(_0x26b3fa(0x1de))/0x8)+parseInt(_0x26b3fa(0x1dd))/0x9+parseInt(_0x26b3fa(0x1e2))/0xa;if(_0x5c9a56===_0x5b5824)break;else _0x5d06b7['push'](_0x5d06b7['shift']());}catch(_0xed06cd){_0x5d06b7['push'](_0x5d06b7['shift']());}}}(a221_0x50e2,0xe6d55));function a221_0x50e2(){const _0x1fb4e3=['menu\x20regroup-start','menu\x20delete','1002604ouKEQf','service','7966qpjLaN','Required\x20for\x20execution\x20after\x20reviewing\x20the\x20--dry-run\x20plan','748745rFneQz','4111821TQMAJm','152oWSAKC','2544180vVzwNC','has','menu\x20external-link-update','31712130Lhdxvg','5jcQJTd','2mdeiDt','menu\x20move','5346261hyoZVs','menu\x20group-update'];a221_0x50e2=function(){return _0x1fb4e3;};return a221_0x50e2();}const EXPLICIT_YES_COMMANDS=new Set([a221_0x10c4f5(0x1e1),a221_0x10c4f5(0x1e9),'menu\x20group-create',a221_0x10c4f5(0x1e7),a221_0x10c4f5(0x1e5),a221_0x10c4f5(0x1e8)]);export const EXPLICIT_YES_FLAG_DESCRIPTION=a221_0x10c4f5(0x1db);export function requiresExplicitYes(_0x1e4463){const _0x578b3c=a221_0x10c4f5;return EXPLICIT_YES_COMMANDS[_0x578b3c(0x1e0)](_0x1e4463[_0x578b3c(0x1eb)]+'\x20'+_0x1e4463['command']);}
@@ -1 +1 @@
1
- function a221_0x5a3e(_0x5af916,_0x2e5dce){_0x5af916=_0x5af916-0x1a4;const _0x3dc96f=a221_0x3dc9();let _0x5a3e52=_0x3dc96f[_0x5af916];return _0x5a3e52;}const a221_0x3e7655=a221_0x5a3e;(function(_0x58d126,_0xf6ecde){const _0x111664=a221_0x5a3e,_0x3245f7=_0x58d126();while(!![]){try{const _0x1fed46=parseInt(_0x111664(0x1a4))/0x1+parseInt(_0x111664(0x1ad))/0x2*(-parseInt(_0x111664(0x1a5))/0x3)+-parseInt(_0x111664(0x1aa))/0x4*(parseInt(_0x111664(0x1a6))/0x5)+parseInt(_0x111664(0x1af))/0x6*(parseInt(_0x111664(0x1ab))/0x7)+-parseInt(_0x111664(0x1b1))/0x8*(-parseInt(_0x111664(0x1ae))/0x9)+parseInt(_0x111664(0x1a8))/0xa*(-parseInt(_0x111664(0x1b0))/0xb)+parseInt(_0x111664(0x1a9))/0xc;if(_0x1fed46===_0xf6ecde)break;else _0x3245f7['push'](_0x3245f7['shift']());}catch(_0x6a5c3e){_0x3245f7['push'](_0x3245f7['shift']());}}}(a221_0x3dc9,0xe2b71));import{createFlagHelpers}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers[a221_0x3e7655(0x1ac)];function a221_0x3dc9(){const _0x521de4=['9RJPRwg','6sfkHHn','20034047nRBqIb','7812680vrhUGq','28991zxAhEE','9OncMXb','8779935huuRdP','validateFlags','10layiAL','34178556JAQwyN','4fcUYDP','9368639fERkjs','parseFlags','457518Vsyuhv'];a221_0x3dc9=function(){return _0x521de4;};return a221_0x3dc9();}export const validateFlags=helpers[a221_0x3e7655(0x1a7)];
1
+ const a222_0x28841f=a222_0x3b78;(function(_0x13f3a,_0x22498c){const _0x1f7f7b=a222_0x3b78,_0x534eb1=_0x13f3a();while(!![]){try{const _0x3aefeb=parseInt(_0x1f7f7b(0xbd))/0x1+-parseInt(_0x1f7f7b(0xb9))/0x2+parseInt(_0x1f7f7b(0xbc))/0x3*(parseInt(_0x1f7f7b(0xbb))/0x4)+-parseInt(_0x1f7f7b(0xb8))/0x5+-parseInt(_0x1f7f7b(0xc2))/0x6*(-parseInt(_0x1f7f7b(0xbe))/0x7)+parseInt(_0x1f7f7b(0xc0))/0x8+-parseInt(_0x1f7f7b(0xbf))/0x9;if(_0x3aefeb===_0x22498c)break;else _0x534eb1['push'](_0x534eb1['shift']());}catch(_0x33ee13){_0x534eb1['push'](_0x534eb1['shift']());}}}(a222_0x467e,0x463d1));import{createFlagHelpers}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);function a222_0x3b78(_0x57cc0e,_0x5594bb){_0x57cc0e=_0x57cc0e-0xb8;const _0x467e5b=a222_0x467e();let _0x3b78f0=_0x467e5b[_0x57cc0e];return _0x3b78f0;}function a222_0x467e(){const _0x2510ed=['6nXPKZY','184933kNUXkc','7PUqWzv','85401crkUpj','3132368CuLLkM','validateFlags','472764cZUhRR','2434865ZfeQoc','460536Rpyrsr','parseFlags','718308JaNznq'];a222_0x467e=function(){return _0x2510ed;};return a222_0x467e();}export const parseFlags=helpers[a222_0x28841f(0xba)];export const validateFlags=helpers[a222_0x28841f(0xc1)];
@@ -1 +1 @@
1
- const a222_0x4607e5=a222_0x1f1a;(function(_0x4d679d,_0x536958){const _0x383a96=a222_0x1f1a,_0x32bcf1=_0x4d679d();while(!![]){try{const _0x3ee7d1=parseInt(_0x383a96(0x146))/0x1*(parseInt(_0x383a96(0x14e))/0x2)+-parseInt(_0x383a96(0x158))/0x3*(parseInt(_0x383a96(0x153))/0x4)+parseInt(_0x383a96(0x14b))/0x5+-parseInt(_0x383a96(0x155))/0x6*(-parseInt(_0x383a96(0x14d))/0x7)+parseInt(_0x383a96(0x157))/0x8*(-parseInt(_0x383a96(0x14f))/0x9)+parseInt(_0x383a96(0x154))/0xa+-parseInt(_0x383a96(0x152))/0xb*(parseInt(_0x383a96(0x147))/0xc);if(_0x3ee7d1===_0x536958)break;else _0x32bcf1['push'](_0x32bcf1['shift']());}catch(_0x5d08a5){_0x32bcf1['push'](_0x32bcf1['shift']());}}}(a222_0x57a5,0x658c9));function a222_0x57a5(){const _0xc7d122=['Requires\x20appcode\x20(set\x20via\x20`','26brreqV','4471152VgsSZd','replace','Requires\x20explicit\x20--yes\x20for\x20execution;\x20use\x20--dry-run\x20to\x20preview.','generateCommandHelp','73370yvAlbA','generateServiceHelp','692706MrtiUr','10774nShomL','153cCXHGs','generateFullHelp','\x20workspace\x20init`\x20or\x20--appcode).','11yMoRTS','4WzIalz','2793000QBfzbR','36khCPUF','Requires\x20--yes\x20to\x20confirm,\x20or\x20interactive\x20prompt.','30504FFLIjM','523266QsFNbZ','\x20[args]\x20[flags]'];a222_0x57a5=function(){return _0xc7d122;};return a222_0x57a5();}import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{requiresExplicitYes}from'../framework/explicit-yes.js';function a222_0x1f1a(_0x11acb2,_0x1986be){_0x11acb2=_0x11acb2-0x146;const _0x57a571=a222_0x57a5();let _0x1f1a3e=_0x57a571[_0x11acb2];return _0x1f1a3e;}const generators=createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x8b5db9=>serviceGroups['get'](_0x8b5db9),'buildAllFlags':buildAllFlags,'appPrerequisiteText':a222_0x4607e5(0x15a)+CLI_BIN_NAME+a222_0x4607e5(0x151),'serviceUsageSuffix':a222_0x4607e5(0x159)});export function generateCommandHelp(_0x1dfe7f){const _0x5eceaa=a222_0x4607e5,_0x7fa53=generators[_0x5eceaa(0x14a)](_0x1dfe7f);if(!requiresExplicitYes(_0x1dfe7f))return _0x7fa53;return _0x7fa53[_0x5eceaa(0x148)](_0x5eceaa(0x156),_0x5eceaa(0x149));}export const generateServiceHelp=generators[a222_0x4607e5(0x14c)];export const generateFullHelp=generators[a222_0x4607e5(0x150)];
1
+ const a223_0x25e198=a223_0x20d3;function a223_0x4f95(){const _0x2ef1c7=['generateCommandHelp','343538BSKmTF','\x20[args]\x20[flags]','Requires\x20--yes\x20to\x20confirm,\x20or\x20interactive\x20prompt.','2752460ePDiVe','generateFullHelp','get','9VPTVWN','348AGVpWi','11VVQuaI','2240371mMjWfT','replace','199259yooayZ','112114LpChEO','6SIJiSt','595608lQeZEc','3lFscFY','1105aUaqSF','2812ECTHpV','Requires\x20appcode\x20(set\x20via\x20`','\x20workspace\x20init`\x20or\x20--appcode).'];a223_0x4f95=function(){return _0x2ef1c7;};return a223_0x4f95();}(function(_0x5659cd,_0x518f7f){const _0x586d8c=a223_0x20d3,_0x386e4b=_0x5659cd();while(!![]){try{const _0x1a0c6e=parseInt(_0x586d8c(0xd0))/0x1+parseInt(_0x586d8c(0xd1))/0x2*(parseInt(_0x586d8c(0xd4))/0x3)+-parseInt(_0x586d8c(0xd6))/0x4*(parseInt(_0x586d8c(0xd5))/0x5)+parseInt(_0x586d8c(0xd2))/0x6*(-parseInt(_0x586d8c(0xce))/0x7)+parseInt(_0x586d8c(0xd3))/0x8*(-parseInt(_0x586d8c(0xe0))/0x9)+parseInt(_0x586d8c(0xdd))/0xa*(-parseInt(_0x586d8c(0xcd))/0xb)+parseInt(_0x586d8c(0xcc))/0xc*(parseInt(_0x586d8c(0xda))/0xd);if(_0x1a0c6e===_0x518f7f)break;else _0x386e4b['push'](_0x386e4b['shift']());}catch(_0x456202){_0x386e4b['push'](_0x386e4b['shift']());}}}(a223_0x4f95,0x2ffcd));import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';function a223_0x20d3(_0x275566,_0x12a47d){_0x275566=_0x275566-0xcc;const _0x4f9510=a223_0x4f95();let _0x20d3f0=_0x4f9510[_0x275566];return _0x20d3f0;}import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{requiresExplicitYes}from'../framework/explicit-yes.js';const generators=createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x4af601=>serviceGroups[a223_0x25e198(0xdf)](_0x4af601),'buildAllFlags':buildAllFlags,'appPrerequisiteText':a223_0x25e198(0xd7)+CLI_BIN_NAME+a223_0x25e198(0xd8),'serviceUsageSuffix':a223_0x25e198(0xdb)});export function generateCommandHelp(_0x30b903){const _0xb7f902=a223_0x25e198,_0x309d8e=generators[_0xb7f902(0xd9)](_0x30b903);if(!requiresExplicitYes(_0x30b903))return _0x309d8e;return _0x309d8e[_0xb7f902(0xcf)](_0xb7f902(0xdc),'Requires\x20explicit\x20--yes\x20for\x20execution;\x20use\x20--dry-run\x20to\x20preview.');}export const generateServiceHelp=generators['generateServiceHelp'];export const generateFullHelp=generators[a223_0x25e198(0xde)];
@@ -1 +1 @@
1
- (function(_0x100f3e,_0x325d8d){var _0x296b47=a223_0x342a,_0x410346=_0x100f3e();while(!![]){try{var _0x33e4e2=parseInt(_0x296b47(0x1e6))/0x1*(-parseInt(_0x296b47(0x1e4))/0x2)+parseInt(_0x296b47(0x1e5))/0x3+parseInt(_0x296b47(0x1dd))/0x4*(-parseInt(_0x296b47(0x1e0))/0x5)+parseInt(_0x296b47(0x1e2))/0x6+parseInt(_0x296b47(0x1df))/0x7+-parseInt(_0x296b47(0x1de))/0x8*(parseInt(_0x296b47(0x1e1))/0x9)+-parseInt(_0x296b47(0x1e7))/0xa*(-parseInt(_0x296b47(0x1e3))/0xb);if(_0x33e4e2===_0x325d8d)break;else _0x410346['push'](_0x410346['shift']());}catch(_0xaedc2a){_0x410346['push'](_0x410346['shift']());}}}(a223_0x22a8,0x67e2c));export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';function a223_0x22a8(){var _0x568eac=['55310oubWZx','199956SKdXIw','172880AXMlJt','1968015WDqPxi','30xOkXBR','162rUIeHe','2746734sllNjK','1265qIvilI','2jeYldB','1408692kCOzjM','730133oIauYC'];a223_0x22a8=function(){return _0x568eac;};return a223_0x22a8();}export{formatOutput}from'../framework/output.js';function a223_0x342a(_0x30fe07,_0x89ff1c){_0x30fe07=_0x30fe07-0x1dd;var _0x22a871=a223_0x22a8();var _0x342a33=_0x22a871[_0x30fe07];return _0x342a33;}export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';export{riskLevelOrder}from'../framework/types.js';
1
+ (function(_0x46f7c9,_0xc2c00c){var _0x4d8bf5=a224_0x9089,_0xf15837=_0x46f7c9();while(!![]){try{var _0xb8beaf=parseInt(_0x4d8bf5(0x199))/0x1*(-parseInt(_0x4d8bf5(0x194))/0x2)+-parseInt(_0x4d8bf5(0x190))/0x3*(-parseInt(_0x4d8bf5(0x192))/0x4)+parseInt(_0x4d8bf5(0x196))/0x5+parseInt(_0x4d8bf5(0x18f))/0x6*(parseInt(_0x4d8bf5(0x193))/0x7)+-parseInt(_0x4d8bf5(0x191))/0x8*(-parseInt(_0x4d8bf5(0x195))/0x9)+parseInt(_0x4d8bf5(0x197))/0xa*(parseInt(_0x4d8bf5(0x19a))/0xb)+-parseInt(_0x4d8bf5(0x19b))/0xc*(parseInt(_0x4d8bf5(0x198))/0xd);if(_0xb8beaf===_0xc2c00c)break;else _0xf15837['push'](_0xf15837['shift']());}catch(_0x1afd0e){_0xf15837['push'](_0xf15837['shift']());}}}(a224_0x56ed,0x58b81));function a224_0x56ed(){var _0x3a6400=['192VZIRwE','1099287iDAisv','100jDSVPq','9klQFRq','1251665Trbjpl','3490040dLVoyS','5512HUwuPY','8033VyElMI','22jiOHrt','42252eXBqUJ','18ATBOjt','7278VZNpQk','5776280IMWOSC'];a224_0x56ed=function(){return _0x3a6400;};return a224_0x56ed();}export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';function a224_0x9089(_0xd09db8,_0x521f93){_0xd09db8=_0xd09db8-0x18f;var _0x56edc3=a224_0x56ed();var _0x9089c5=_0x56edc3[_0xd09db8];return _0x9089c5;}export{formatOutput}from'../framework/output.js';export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';export{riskLevelOrder}from'../framework/types.js';
@@ -1 +1 @@
1
- (function(_0x5df654,_0x53ba7e){const _0x454695=a224_0x54aa,_0x15beca=_0x5df654();while(!![]){try{const _0x83fcab=parseInt(_0x454695(0x1b7))/0x1+parseInt(_0x454695(0x1b8))/0x2+-parseInt(_0x454695(0x1cb))/0x3+-parseInt(_0x454695(0x1c3))/0x4*(parseInt(_0x454695(0x1ce))/0x5)+parseInt(_0x454695(0x1c6))/0x6*(parseInt(_0x454695(0x1cd))/0x7)+-parseInt(_0x454695(0x1c2))/0x8+parseInt(_0x454695(0x1b4))/0x9*(parseInt(_0x454695(0x1c1))/0xa);if(_0x83fcab===_0x53ba7e)break;else _0x15beca['push'](_0x15beca['shift']());}catch(_0x50cf75){_0x15beca['push'](_0x15beca['shift']());}}}(a224_0x1d19,0x81a2d));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliError,CliErrors}from'../errors.js';function a224_0x54aa(_0x1f72ad,_0x567335){_0x1f72ad=_0x1f72ad-0x1b3;const _0x1d19c1=a224_0x1d19();let _0x54aa43=_0x1d19c1[_0x1f72ad];return _0x54aa43;}import{applyJqFilter}from'../utils/apply-jq-filter.js';const baseFormatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});function a224_0x1d19(){const _0x1d06ce=['error','9zsFhGc','pretty','message','939412eNnDBB','934278rDjcNv','command','write','risk','code','update','format','hint','validation','3481810AifQQx','5335016jJtriL','2381324BewzVU','data','json','6UltIJJ','jqFilter','trim','stdout','stringify','22293iLDhAk','jq:\x20','321272exYqpA','5NZoHCS'];a224_0x1d19=function(){return _0x1d06ce;};return a224_0x1d19();}export function formatOutput(_0x262075,_0x5003dd){const _0x39bc09=a224_0x54aa,_0x217fab=_0x262075['_notice'],{_notice:_0x297cc5,..._0x48272d}=_0x262075;void _0x297cc5,baseFormatOutput(_0x48272d,_0x5003dd),_0x5003dd[_0x39bc09(0x1be)]==='pretty'&&printPrettyNotice(_0x217fab);}export function formatCliError(_0x23df27,_0x53478c){const _0x21e4f1=a224_0x54aa;if(_0x53478c[_0x21e4f1(0x1be)]===_0x21e4f1(0x1b5))return![];const _0x19e094=_0x23df27[_0x21e4f1(0x1c4)],_0x5237e3={'ok':![],'command':_0x53478c[_0x21e4f1(0x1b9)],'risk':_0x53478c[_0x21e4f1(0x1bb)],'data':_0x19e094??null,'error':{'code':_0x23df27[_0x21e4f1(0x1bc)],'message':_0x23df27[_0x21e4f1(0x1b6)],..._0x23df27[_0x21e4f1(0x1bf)]?{'hint':_0x23df27[_0x21e4f1(0x1bf)]}:{}}},_0xda1b96=_0x53478c[_0x21e4f1(0x1be)]==='json'?JSON[_0x21e4f1(0x1ca)](_0x5237e3,null,0x2):JSON['stringify'](_0x5237e3);let _0x239597=_0xda1b96;if(_0x53478c[_0x21e4f1(0x1c7)]?.[_0x21e4f1(0x1c8)]())try{_0x239597=applyJqFilter(_0xda1b96,_0x53478c[_0x21e4f1(0x1c7)]);}catch(_0x51eb59){const _0x512c76=_0x51eb59 instanceof CliError?_0x51eb59:CliErrors[_0x21e4f1(0x1c0)](_0x21e4f1(0x1cc)+(_0x51eb59 instanceof Error?_0x51eb59[_0x21e4f1(0x1b6)]:String(_0x51eb59))),_0x32f3b2={..._0x5237e3,'error':{'code':_0x512c76[_0x21e4f1(0x1bc)],'message':_0x512c76[_0x21e4f1(0x1b6)],..._0x512c76[_0x21e4f1(0x1bf)]?{'hint':_0x512c76['hint']}:{},'cause':_0x5237e3[_0x21e4f1(0x1b3)]}};_0x239597=_0x53478c[_0x21e4f1(0x1be)]===_0x21e4f1(0x1c5)?JSON['stringify'](_0x32f3b2,null,0x2):JSON[_0x21e4f1(0x1ca)](_0x32f3b2);}return process[_0x21e4f1(0x1c9)][_0x21e4f1(0x1ba)](_0x239597['endsWith']('\x0a')?_0x239597:_0x239597+'\x0a'),!![];}function printPrettyNotice(_0x4c17db){const _0x28e8d7=a224_0x54aa;if(!_0x4c17db?.[_0x28e8d7(0x1bd)])return;console['error'](_0x4c17db[_0x28e8d7(0x1bd)][_0x28e8d7(0x1b6)]+'\x20('+_0x4c17db['update']['url']+')');}
1
+ (function(_0x31e5fc,_0x21769f){const _0x337fe8=a225_0x2c30,_0x533e1c=_0x31e5fc();while(!![]){try{const _0x4949ed=-parseInt(_0x337fe8(0xd5))/0x1+parseInt(_0x337fe8(0xe8))/0x2*(parseInt(_0x337fe8(0xef))/0x3)+-parseInt(_0x337fe8(0xda))/0x4*(-parseInt(_0x337fe8(0xdd))/0x5)+parseInt(_0x337fe8(0xdb))/0x6*(parseInt(_0x337fe8(0xd6))/0x7)+parseInt(_0x337fe8(0xed))/0x8*(-parseInt(_0x337fe8(0xeb))/0x9)+-parseInt(_0x337fe8(0xee))/0xa*(-parseInt(_0x337fe8(0xdf))/0xb)+-parseInt(_0x337fe8(0xd8))/0xc*(parseInt(_0x337fe8(0xe3))/0xd);if(_0x4949ed===_0x21769f)break;else _0x533e1c['push'](_0x533e1c['shift']());}catch(_0x481e82){_0x533e1c['push'](_0x533e1c['shift']());}}}(a225_0x53de,0x9847a));function a225_0x2c30(_0x18dffe,_0x22a32b){_0x18dffe=_0x18dffe-0xd4;const _0x53dee9=a225_0x53de();let _0x2c30fa=_0x53dee9[_0x18dffe];return _0x2c30fa;}import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliError,CliErrors}from'../errors.js';function a225_0x53de(){const _0x4a5661=['stringify','6272676faUBLJ','message','8TOKqUQ','20dgYAkG','3672741UaQcJG','validation','stdout','write','error','hint','update','1222432pyRvtW','504329uZfLMt','code','9594576PTEiaJ','format','1457416OGuZMW','54JPdfWw','endsWith','5iHCgJl','trim','6081119ZavZuY','jq:\x20','_notice','data','13nTBsVp','jqFilter','pretty','command','json','2BzaiLZ','risk'];a225_0x53de=function(){return _0x4a5661;};return a225_0x53de();}import{applyJqFilter}from'../utils/apply-jq-filter.js';const baseFormatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});export function formatOutput(_0x17371c,_0x9d0d3c){const _0x55afce=a225_0x2c30,_0x1ac61c=_0x17371c[_0x55afce(0xe1)],{_notice:_0x4e1c80,..._0x513d3c}=_0x17371c;void _0x4e1c80,baseFormatOutput(_0x513d3c,_0x9d0d3c),_0x9d0d3c[_0x55afce(0xd9)]===_0x55afce(0xe5)&&printPrettyNotice(_0x1ac61c);}export function formatCliError(_0x5db28b,_0x5245c9){const _0x5331a4=a225_0x2c30;if(_0x5245c9[_0x5331a4(0xd9)]===_0x5331a4(0xe5))return![];const _0x40372c=_0x5db28b[_0x5331a4(0xe2)],_0x4e5ef4={'ok':![],'command':_0x5245c9[_0x5331a4(0xe6)],'risk':_0x5245c9[_0x5331a4(0xe9)],'data':_0x40372c??null,'error':{'code':_0x5db28b[_0x5331a4(0xd7)],'message':_0x5db28b[_0x5331a4(0xec)],..._0x5db28b[_0x5331a4(0xf4)]?{'hint':_0x5db28b[_0x5331a4(0xf4)]}:{}}},_0x2adb38=_0x5245c9['format']===_0x5331a4(0xe7)?JSON[_0x5331a4(0xea)](_0x4e5ef4,null,0x2):JSON[_0x5331a4(0xea)](_0x4e5ef4);let _0x18f4cb=_0x2adb38;if(_0x5245c9[_0x5331a4(0xe4)]?.[_0x5331a4(0xde)]())try{_0x18f4cb=applyJqFilter(_0x2adb38,_0x5245c9['jqFilter']);}catch(_0x4d001d){const _0x5e3b7b=_0x4d001d instanceof CliError?_0x4d001d:CliErrors[_0x5331a4(0xf0)](_0x5331a4(0xe0)+(_0x4d001d instanceof Error?_0x4d001d[_0x5331a4(0xec)]:String(_0x4d001d))),_0x59400e={..._0x4e5ef4,'error':{'code':_0x5e3b7b['code'],'message':_0x5e3b7b[_0x5331a4(0xec)],..._0x5e3b7b[_0x5331a4(0xf4)]?{'hint':_0x5e3b7b[_0x5331a4(0xf4)]}:{},'cause':_0x4e5ef4[_0x5331a4(0xf3)]}};_0x18f4cb=_0x5245c9['format']===_0x5331a4(0xe7)?JSON['stringify'](_0x59400e,null,0x2):JSON[_0x5331a4(0xea)](_0x59400e);}return process[_0x5331a4(0xf1)][_0x5331a4(0xf2)](_0x18f4cb[_0x5331a4(0xdc)]('\x0a')?_0x18f4cb:_0x18f4cb+'\x0a'),!![];}function printPrettyNotice(_0x168627){const _0x2e836d=a225_0x2c30;if(!_0x168627?.[_0x2e836d(0xd4)])return;console['error'](_0x168627[_0x2e836d(0xd4)][_0x2e836d(0xec)]+'\x20('+_0x168627['update']['url']+')');}
@@ -1 +1 @@
1
- function a225_0x3b98(_0x370853,_0x321e5d){_0x370853=_0x370853-0xa8;var _0x354b0d=a225_0x354b();var _0x3b98fa=_0x354b0d[_0x370853];return _0x3b98fa;}(function(_0x4c51fd,_0xa7f466){var _0x457e26=a225_0x3b98,_0x4eb01f=_0x4c51fd();while(!![]){try{var _0x3f4f18=parseInt(_0x457e26(0xb2))/0x1+parseInt(_0x457e26(0xaa))/0x2*(-parseInt(_0x457e26(0xa8))/0x3)+parseInt(_0x457e26(0xa9))/0x4+parseInt(_0x457e26(0xac))/0x5*(-parseInt(_0x457e26(0xb1))/0x6)+-parseInt(_0x457e26(0xad))/0x7*(parseInt(_0x457e26(0xaf))/0x8)+-parseInt(_0x457e26(0xae))/0x9+-parseInt(_0x457e26(0xb0))/0xa*(-parseInt(_0x457e26(0xab))/0xb);if(_0x3f4f18===_0xa7f466)break;else _0x4eb01f['push'](_0x4eb01f['shift']());}catch(_0x1500bf){_0x4eb01f['push'](_0x4eb01f['shift']());}}}(a225_0x354b,0x6f49c));export{extractList,extractPaging}from'@lovrabet/cli-framework';function a225_0x354b(){var _0x1b0293=['8575083NhCewJ','315MaeKjK','54243ezFWRN','7837659hqbhhe','200IfdHhJ','30WcBobm','76290BgunKm','141400bFwlzm','6PVSrqT','2000336BEeTgD','658686MiuYUB'];a225_0x354b=function(){return _0x1b0293;};return a225_0x354b();}
1
+ function a226_0x5c68(_0x1eca7a,_0x1b4263){_0x1eca7a=_0x1eca7a-0xe0;var _0x428d78=a226_0x428d();var _0x5c683f=_0x428d78[_0x1eca7a];return _0x5c683f;}function a226_0x428d(){var _0x56e8d0=['1874481rlTAEM','1056592GbnLkP','8ZEAPAs','6005245qwqseH','4xQjYWt','76692vxcbPY','833562gQKLRY','1222719pgiZXB','805GHyMHL','23939080kfzBNM'];a226_0x428d=function(){return _0x56e8d0;};return a226_0x428d();}(function(_0x569286,_0x40c266){var _0x2a77db=a226_0x5c68,_0x1c5027=_0x569286();while(!![]){try{var _0x48c9bb=parseInt(_0x2a77db(0xe4))/0x1+parseInt(_0x2a77db(0xe8))/0x2+-parseInt(_0x2a77db(0xe7))/0x3+-parseInt(_0x2a77db(0xe1))/0x4*(parseInt(_0x2a77db(0xe0))/0x5)+-parseInt(_0x2a77db(0xe2))/0x6*(parseInt(_0x2a77db(0xe5))/0x7)+parseInt(_0x2a77db(0xe9))/0x8*(-parseInt(_0x2a77db(0xe3))/0x9)+parseInt(_0x2a77db(0xe6))/0xa;if(_0x48c9bb===_0x40c266)break;else _0x1c5027['push'](_0x1c5027['shift']());}catch(_0x3b6ab2){_0x1c5027['push'](_0x1c5027['shift']());}}}(a226_0x428d,0xb8b13));export{extractList,extractPaging}from'@lovrabet/cli-framework';
@@ -1 +1 @@
1
- (function(_0xf936d7,_0x6c2e05){const _0x59fa3a=a226_0x30c1,_0x4556a9=_0xf936d7();while(!![]){try{const _0x3ef959=parseInt(_0x59fa3a(0x128))/0x1*(parseInt(_0x59fa3a(0x11e))/0x2)+-parseInt(_0x59fa3a(0x121))/0x3+parseInt(_0x59fa3a(0x127))/0x4+parseInt(_0x59fa3a(0x12a))/0x5+-parseInt(_0x59fa3a(0x11f))/0x6+-parseInt(_0x59fa3a(0x130))/0x7*(parseInt(_0x59fa3a(0x123))/0x8)+-parseInt(_0x59fa3a(0x11b))/0x9*(parseInt(_0x59fa3a(0x11c))/0xa);if(_0x3ef959===_0x6c2e05)break;else _0x4556a9['push'](_0x4556a9['shift']());}catch(_0x299f13){_0x4556a9['push'](_0x4556a9['shift']());}}}(a226_0x284e,0xd083e));function a226_0x284e(){const _0xe383ef=['6lDphDX','3853362wgDkFE','string','2973777YQbdxS','code','2150216MfQxZV','Unknown\x20alias\x20\x22','alias','name','4484492lFUFnG','566569ttqtfS','Available\x20aliases:\x20','3816960XHbClS','map','\x20api\x20pull`\x20first.','validation','some','flags','21WQhHoJ','type','\x22.\x20','.\x20Run\x20`','9nkggfu','2903270jpasIh','length'];a226_0x284e=function(){return _0xe383ef;};return a226_0x284e();}function a226_0x30c1(_0x3cf1d3,_0x409f33){_0x3cf1d3=_0x3cf1d3-0x119;const _0x284e0a=a226_0x284e();let _0x30c197=_0x284e0a[_0x3cf1d3];return _0x30c197;}import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';export function resolveAliasToCode(_0x2df40d,_0x520c08,_0x542638,_0x303b82){const _0x48595a=a226_0x30c1,_0x3c1d61=_0x2df40d[_0x48595a(0x12f)][_0x48595a(0x12e)](_0x4b338a=>_0x4b338a[_0x48595a(0x126)]==='code'&&_0x4b338a[_0x48595a(0x131)]===_0x48595a(0x120)),_0x30dfed=_0x2df40d[_0x48595a(0x12f)][_0x48595a(0x12e)](_0x4a513d=>_0x4a513d[_0x48595a(0x126)]==='alias'&&_0x4a513d[_0x48595a(0x131)]===_0x48595a(0x120));if(!_0x3c1d61||!_0x30dfed)return;const _0x65a223=_0x520c08[_0x48595a(0x122)]?String(_0x520c08[_0x48595a(0x122)]):'',_0x112408=_0x520c08[_0x48595a(0x125)]?String(_0x520c08[_0x48595a(0x125)]):'';if(!_0x65a223&&!_0x112408)throw CliErrors[_0x48595a(0x12d)]('`'+_0x303b82+'`\x20requires\x20either\x20--code\x20or\x20--alias.');if(_0x112408&&!_0x65a223){const _0x456f0e=resolveAlias(_0x542638,_0x112408);if(!_0x456f0e){const _0x3240d5=listAliases(_0x542638)[_0x48595a(0x12b)](_0x569385=>_0x569385['alias']),_0x3499c1=_0x3240d5[_0x48595a(0x11d)]?_0x48595a(0x129)+_0x3240d5['join'](',\x20'):'No\x20api.ts\x20found\x20in\x20'+_0x542638+_0x48595a(0x11a)+CLI_BIN_NAME+_0x48595a(0x12c);throw CliErrors[_0x48595a(0x12d)](_0x48595a(0x124)+_0x112408+_0x48595a(0x119)+_0x3499c1);}_0x520c08[_0x48595a(0x122)]=_0x456f0e;}}
1
+ (function(_0x9068e9,_0x6a971a){const _0x5dd182=a227_0x1a58,_0x2c244a=_0x9068e9();while(!![]){try{const _0x52ebc8=-parseInt(_0x5dd182(0x1f0))/0x1*(parseInt(_0x5dd182(0x1ec))/0x2)+parseInt(_0x5dd182(0x1e8))/0x3+-parseInt(_0x5dd182(0x1df))/0x4*(-parseInt(_0x5dd182(0x1e5))/0x5)+parseInt(_0x5dd182(0x1ea))/0x6+parseInt(_0x5dd182(0x1e4))/0x7*(parseInt(_0x5dd182(0x1f3))/0x8)+-parseInt(_0x5dd182(0x1f6))/0x9*(-parseInt(_0x5dd182(0x1ef))/0xa)+-parseInt(_0x5dd182(0x1e0))/0xb*(parseInt(_0x5dd182(0x1ed))/0xc);if(_0x52ebc8===_0x6a971a)break;else _0x2c244a['push'](_0x2c244a['shift']());}catch(_0x38f430){_0x2c244a['push'](_0x2c244a['shift']());}}}(a227_0x18f9,0x5f136));import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';function a227_0x18f9(){const _0x138045=['112FEdneI','length','No\x20api.ts\x20found\x20in\x20','36uMwipR','join','map','string','4CYfQXw','44ZuAnvS','some','name','validation','153293XiGwvA','2172965PWRmRO','code','alias','319680pqlJDK','`\x20requires\x20either\x20--code\x20or\x20--alias.','4359786WFRpEP','.\x20Run\x20`','302RDBaDl','3134076tLVkGT','Available\x20aliases:\x20','1381350GyewIF','4588TcDEst','flags','type'];a227_0x18f9=function(){return _0x138045;};return a227_0x18f9();}function a227_0x1a58(_0x5524af,_0x52b9a1){_0x5524af=_0x5524af-0x1dd;const _0x18f9d4=a227_0x18f9();let _0x1a58a1=_0x18f9d4[_0x5524af];return _0x1a58a1;}export function resolveAliasToCode(_0xbc7c8,_0x1c037e,_0xdcfb21,_0xafbb0f){const _0x4f88f5=a227_0x1a58,_0x4eb761=_0xbc7c8['flags'][_0x4f88f5(0x1e1)](_0x34c34c=>_0x34c34c[_0x4f88f5(0x1e2)]==='code'&&_0x34c34c['type']==='string'),_0x6eb93e=_0xbc7c8[_0x4f88f5(0x1f1)]['some'](_0x3ffb94=>_0x3ffb94['name']==='alias'&&_0x3ffb94[_0x4f88f5(0x1f2)]===_0x4f88f5(0x1de));if(!_0x4eb761||!_0x6eb93e)return;const _0x1ec558=_0x1c037e[_0x4f88f5(0x1e6)]?String(_0x1c037e[_0x4f88f5(0x1e6)]):'',_0x1f7923=_0x1c037e[_0x4f88f5(0x1e7)]?String(_0x1c037e['alias']):'';if(!_0x1ec558&&!_0x1f7923)throw CliErrors['validation']('`'+_0xafbb0f+_0x4f88f5(0x1e9));if(_0x1f7923&&!_0x1ec558){const _0x563804=resolveAlias(_0xdcfb21,_0x1f7923);if(!_0x563804){const _0x3953a5=listAliases(_0xdcfb21)[_0x4f88f5(0x1dd)](_0x31c3a8=>_0x31c3a8[_0x4f88f5(0x1e7)]),_0x49a40d=_0x3953a5[_0x4f88f5(0x1f4)]?_0x4f88f5(0x1ee)+_0x3953a5[_0x4f88f5(0x1f7)](',\x20'):_0x4f88f5(0x1f5)+_0xdcfb21+_0x4f88f5(0x1eb)+CLI_BIN_NAME+'\x20api\x20pull`\x20first.';throw CliErrors[_0x4f88f5(0x1e3)]('Unknown\x20alias\x20\x22'+_0x1f7923+'\x22.\x20'+_0x49a40d);}_0x1c037e[_0x4f88f5(0x1e6)]=_0x563804;}}
@@ -1 +1 @@
1
- const a227_0x47d170=a227_0x5e00;(function(_0x591541,_0x52c24d){const _0x55e7d3=a227_0x5e00,_0x3c990b=_0x591541();while(!![]){try{const _0x1abf9f=-parseInt(_0x55e7d3(0xd8))/0x1*(-parseInt(_0x55e7d3(0xc7))/0x2)+parseInt(_0x55e7d3(0xdc))/0x3*(-parseInt(_0x55e7d3(0xc0))/0x4)+-parseInt(_0x55e7d3(0xa5))/0x5+-parseInt(_0x55e7d3(0xa7))/0x6+-parseInt(_0x55e7d3(0xab))/0x7*(parseInt(_0x55e7d3(0xc1))/0x8)+parseInt(_0x55e7d3(0xa6))/0x9+-parseInt(_0x55e7d3(0xd2))/0xa*(-parseInt(_0x55e7d3(0xb9))/0xb);if(_0x1abf9f===_0x52c24d)break;else _0x3c990b['push'](_0x3c990b['shift']());}catch(_0x4e9790){_0x3c990b['push'](_0x3c990b['shift']());}}}(a227_0x3299,0x8cb3b));import{resolveCommandAuthMode,runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';function a227_0x3299(){const _0x488ba1=['replace','string','defaultApp','276960SeTlRq','../core/api-client.js','riskLevel','nonInteractive','⚠\x20\x20High-risk\x20operation:\x20','mergedCli','1013lCvdVG','hasFormat','includes','resolve','3696ZdQOrV','hint','LOVRABET_APPCODE','name','verbose','filter','_notice','update','isNonInteractive','requiresAppCode','3465145yEBPtu','5998050XPWFjK','2381754mdIVbo','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','High-risk\x20operation\x20`','value','369530lMWsLD','none','rejectedFlags','meowKey','cookie','schema','defaultPageSize','required','command','service','resolveCookie','format','trim','explicitAppName','308FcffRp','validation','has','\x20\x20\x20Continue?\x20[y/N]\x20','rawFlags','configMissing','Current\x20resolved\x20appcode\x20is\x20\x22','544FBompL','8FgEZgb','Set\x20appcode\x20via\x20`','object','pageSize','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','appCode','878qFlhzy','resolveAppCode','appcode','cancelled','apiDir','catch','resolveApiDomain','No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.'];a227_0x3299=function(){return _0x488ba1;};return a227_0x3299();}import{CliErrors}from'../errors.js';import{getCookie}from'../auth/get-cookie.js';import{getApiDomain}from'../constant/domain.js';import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{DEFAULT_API_DIR}from'../constant/paths.js';import{isNonInteractive as a227_0x53efc1}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x9b9f36){const _0x247873=a227_0x5e00;return typeof _0x9b9f36===_0x247873(0xd0)&&_0x9b9f36[_0x247873(0xb7)]()?_0x9b9f36[_0x247873(0xb7)]():undefined;}function resolveEnvAppCode(){const _0x4c7819=a227_0x5e00,_0x3e707b=stringFlag(process.env.RABETBASE_APPCODE);if(_0x3e707b)return{'name':'RABETBASE_APPCODE','value':_0x3e707b};const _0x200af3=stringFlag(process.env.LOVRABET_APPCODE);if(_0x200af3)return{'name':_0x4c7819(0xde),'value':_0x200af3};return undefined;}function hasExplicitAppCode(_0x134221,_0x4cd5bf){const _0x3d8fe8=a227_0x5e00;return!!(stringFlag(_0x134221[_0x3d8fe8(0xc9)])||stringFlag(_0x4cd5bf[_0x3d8fe8(0xc9)]));}function a227_0x5e00(_0x41ae03,_0x26de31){_0x41ae03=_0x41ae03-0xa3;const _0x329963=a227_0x3299();let _0x5e0029=_0x329963[_0x41ae03];return _0x5e0029;}function assertEnvAppCodeNotIgnored(_0x1f6083,_0x32f2a3,_0x180d82){const _0x2054c2=a227_0x5e00;if(!_0x32f2a3||_0x180d82||_0x1f6083===_0x32f2a3[_0x2054c2(0xaa)])return;const _0x183db7=_0x1f6083?_0x2054c2(0xbf)+_0x1f6083+'\x22.':_0x2054c2(0xce);throw CliErrors[_0x2054c2(0xba)](_0x32f2a3['name']+'='+_0x32f2a3['value']+'\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20'+_0x183db7+'\x20'+(_0x2054c2(0xa8)+_0x32f2a3[_0x2054c2(0xdf)]+'\x22.'));}export function createPipelineEnv(_0x2a0033,_0x5cc231,_0x3568b8=[]){const _0x5e69f4=a227_0x5e00;return{'rawFlags':_0x5cc231,'args':_0x3568b8,'resolveAppCode':()=>_0x2a0033[_0x5e69f4(0xc6)],'resolveCookie':()=>_0x2a0033[_0x5e69f4(0xaf)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a227_0x53efc1(_0x5cc231),'defaultFormat':_0x2a0033['format'],'defaultPageSize':_0x2a0033[_0x5e69f4(0xc4)],'defaultVerbose':_0x2a0033[_0x5e69f4(0xe0)],'apiDir':_0x2a0033[_0x5e69f4(0xcb)],'riskLevel':_0x2a0033[_0x5e69f4(0xd4)],'selectedAppName':_0x2a0033[_0x5e69f4(0xb8)],'mergedCli':{'defaultApp':_0x2a0033[_0x5e69f4(0xd1)],'currentApp':_0x2a0033['currentApp'],'appCode':_0x2a0033['appCode'],'apps':_0x2a0033['apps']}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[a227_0x47d170(0xe1)](_0x535ec9=>PIPELINE_FLAG_NAMES[a227_0x47d170(0xbb)](_0x535ec9[a227_0x47d170(0xdf)]))['map'](({name:_0x42df48,type:_0x354c3e,description:_0xda7b5a})=>({'name':_0x42df48,'type':_0x354c3e,'description':_0xda7b5a})),'formatOutput':formatOutput,'getCommandLabel'(_0x725018){const _0x5a614c=a227_0x47d170;return CLI_BIN_NAME+'\x20'+_0x725018[_0x5a614c(0xb4)]+'\x20'+_0x725018[_0x5a614c(0xb3)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x11fa22){const _0x458e38=a227_0x47d170;return CliErrors[_0x458e38(0xba)](_0x11fa22);}},async 'prepare'(_0x13a639,_0x6be1b2,_0x291538,_0x586a7a){const _0x5e1b3f=a227_0x47d170,_0x328040=_0x6be1b2['apiDir']||DEFAULT_API_DIR;resolveAliasToCode(_0x13a639,_0x291538,_0x328040,_0x586a7a);const _0xdb2097=resolveCommandAuthMode(_0x13a639);let _0x3e5852='';if(_0xdb2097!==_0x5e1b3f(0xac)){_0x3e5852=_0x6be1b2[_0x5e1b3f(0xb5)]()||'';if(!_0x3e5852){if(_0xdb2097===_0x5e1b3f(0xb2))throw CliErrors['authRequired']();}else{const {setActiveCookie:_0x1bcb01}=await import(_0x5e1b3f(0xd3));_0x1bcb01(_0x3e5852);}}const _0x110563=_0x6be1b2[_0x5e1b3f(0xc8)]()??'';if(_0x13a639[_0x5e1b3f(0xa4)]!==![]){assertEnvAppCodeNotIgnored(_0x110563,resolveEnvAppCode(),hasExplicitAppCode(_0x291538,_0x6be1b2[_0x5e1b3f(0xbd)]));if(!_0x110563)throw CliErrors[_0x5e1b3f(0xbe)](_0x5e1b3f(0xc2)+CLI_BIN_NAME+'\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.');}return{'defaults':{'booleans':{'verbose':_0x6be1b2['defaultVerbose']},'numbers':{'pagesize':_0x6be1b2[_0x5e1b3f(0xb1)]}},'extras':{'appCode':_0x110563,'cookie':_0x3e5852,'apiDomain':_0x6be1b2[_0x5e1b3f(0xcd)](),'apiDir':_0x328040,'selectedAppName':_0x6be1b2['selectedAppName'],'mergedCli':_0x6be1b2[_0x5e1b3f(0xd7)]}};},async 'confirmHighRisk'({env:_0x3aae85,commandLabel:_0x192c53}){const _0x5c88f1=a227_0x47d170;if(_0x3aae85[_0x5c88f1(0xa3)])throw CliErrors['validation'](_0x5c88f1(0xa9)+_0x192c53+_0x5c88f1(0xc5));await requireConfirmationPrompt({'lines':[_0x5c88f1(0xd6)+_0x192c53,_0x5c88f1(0xbc)],'createCancelledError':_0x19450b=>CliErrors[_0x5c88f1(0xca)](_0x19450b)});},async 'finalize'(){const {clearActiveCookie:_0x4133be}=await import('../core/api-client.js');_0x4133be();}};export async function runCommand(_0x5d6067,_0x93d738){const _0x39d21c=a227_0x47d170;assertRejectedFlags(_0x5d6067,_0x93d738[_0x39d21c(0xbd)]),await runCommandWithAdapter(shouldAttachUpdateNotice(_0x5d6067)?withUpdateNotice(_0x5d6067):_0x5d6067,_0x93d738,runnerAdapter);}function assertRejectedFlags(_0x2bc7ea,_0x27b478){const _0x262f2e=a227_0x47d170;for(const _0x3137b6 of _0x2bc7ea[_0x262f2e(0xad)]??[]){const _0x4ce82f=GLOBAL_FLAGS['find'](_0x35b8eb=>_0x35b8eb[_0x262f2e(0xdf)]===_0x3137b6[_0x262f2e(0xdf)]),_0x63ac4e=new Set([_0x3137b6['name'],toCamelCase(_0x3137b6['name']),_0x4ce82f?.[_0x262f2e(0xae)]]),_0x1c0530=[..._0x63ac4e]['some'](_0x23e4c4=>{if(!_0x23e4c4)return![];const _0x46d630=_0x27b478[_0x23e4c4];return _0x46d630!==undefined&&_0x46d630!==null&&_0x46d630!==![];});if(_0x1c0530)throw CliErrors[_0x262f2e(0xba)](_0x3137b6['message'],_0x3137b6[_0x262f2e(0xdd)]);}}function toCamelCase(_0x14bb96){const _0x19f04c=a227_0x47d170;return _0x14bb96[_0x19f04c(0xcf)](/-([a-z])/g,(_0xbbfb2f,_0x14c36e)=>_0x14c36e['toUpperCase']());}function shouldAttachUpdateNotice(_0x16761a){const _0x4178c7=a227_0x47d170;if(_0x16761a[_0x4178c7(0xd9)]===![])return![];return![_0x4178c7(0xe3),_0x4178c7(0xb0),'doctor'][_0x4178c7(0xda)](_0x16761a['service']);}function withUpdateNotice(_0x5e1f26){return{..._0x5e1f26,async 'execute'(_0x30a7be){const _0x2386d5=a227_0x5e00,_0x1d50bf=shouldResolveUpdateNotice(_0x30a7be)?resolveLatestUpdateNotice()[_0x2386d5(0xcc)](()=>null):Promise[_0x2386d5(0xdb)](null),_0x9fc769=await _0x5e1f26['execute'](_0x30a7be);return attachUpdateNotice(_0x9fc769,await _0x1d50bf);}};}function shouldResolveUpdateNotice(_0x280d22){const _0x648c8e=a227_0x47d170;return _0x280d22[_0x648c8e(0xb6)]==='pretty'&&!_0x280d22[_0x648c8e(0xd5)];}function attachUpdateNotice(_0x422a14,_0x2e8e1e){const _0xd5e320=a227_0x47d170;if(!_0x2e8e1e||!_0x422a14||typeof _0x422a14!==_0xd5e320(0xc3))return _0x422a14;const _0x5d7dc3=_0x422a14,_0xfc35d6=typeof _0x5d7dc3[_0xd5e320(0xe2)]===_0xd5e320(0xc3)&&_0x5d7dc3[_0xd5e320(0xe2)]!==null?_0x5d7dc3['_notice']:{};return{..._0x5d7dc3,'_notice':{..._0xfc35d6,'update':_0x2e8e1e}};}
1
+ const a228_0x1e558f=a228_0x3e03;(function(_0x5d7b06,_0x36cd75){const _0x39610c=a228_0x3e03,_0x17a424=_0x5d7b06();while(!![]){try{const _0x1a7eef=parseInt(_0x39610c(0x178))/0x1*(parseInt(_0x39610c(0x186))/0x2)+parseInt(_0x39610c(0x18f))/0x3*(parseInt(_0x39610c(0x180))/0x4)+parseInt(_0x39610c(0x187))/0x5*(parseInt(_0x39610c(0x168))/0x6)+parseInt(_0x39610c(0x192))/0x7*(-parseInt(_0x39610c(0x16b))/0x8)+-parseInt(_0x39610c(0x19d))/0x9+parseInt(_0x39610c(0x191))/0xa+-parseInt(_0x39610c(0x19e))/0xb*(-parseInt(_0x39610c(0x170))/0xc);if(_0x1a7eef===_0x36cd75)break;else _0x17a424['push'](_0x17a424['shift']());}catch(_0x297208){_0x17a424['push'](_0x17a424['shift']());}}}(a228_0x528a,0x4e6a5));import{resolveCommandAuthMode,runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';function a228_0x528a(){const _0x368f97=['24jqhUXa','none','No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.','48CGRshl','defaultPageSize','doctor','explicitAppName','hasFormat','264LFjEOe','configMissing','apiDir','appcode','some','command','../core/api-client.js','\x20\x20\x20Continue?\x20[y/N]\x20','2xKDMJE','trim','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','_notice','required','requiresAppCode','RABETBASE_APPCODE','\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20','26116vtYTvv','appCode','format','LOVRABET_APPCODE','execute','hint','28642gnVtdE','387235mASwEf','includes','message','⚠\x20\x20High-risk\x20operation:\x20','meowKey','catch','filter','find','159LaOQym','verbose','604420iLyUgC','566349MFjGgh','resolveApiDomain','pageSize','defaultApp','mergedCli','currentApp','selectedAppName','name','Current\x20resolved\x20appcode\x20is\x20\x22','string','nonInteractive','4324014VweGET','271084MHUeCO','value','resolveCookie','defaultVerbose','schema','validation'];a228_0x528a=function(){return _0x368f97;};return a228_0x528a();}import{formatOutput}from'../framework/output.js';function a228_0x3e03(_0x3bd66b,_0x3f6a33){_0x3bd66b=_0x3bd66b-0x163;const _0x528ac7=a228_0x528a();let _0x3e0354=_0x528ac7[_0x3bd66b];return _0x3e0354;}import{CliErrors}from'../errors.js';import{getCookie}from'../auth/get-cookie.js';import{getApiDomain}from'../constant/domain.js';import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{DEFAULT_API_DIR}from'../constant/paths.js';import{isNonInteractive as a228_0x55b93a}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x19ef15){const _0x44d508=a228_0x3e03;return typeof _0x19ef15===_0x44d508(0x19b)&&_0x19ef15['trim']()?_0x19ef15[_0x44d508(0x179)]():undefined;}function resolveEnvAppCode(){const _0xecb23d=a228_0x3e03,_0x49c36d=stringFlag(process.env.RABETBASE_APPCODE);if(_0x49c36d)return{'name':_0xecb23d(0x17e),'value':_0x49c36d};const _0x36adef=stringFlag(process.env.LOVRABET_APPCODE);if(_0x36adef)return{'name':_0xecb23d(0x183),'value':_0x36adef};return undefined;}function hasExplicitAppCode(_0xe0556,_0xce6231){const _0x53bc2e=a228_0x3e03;return!!(stringFlag(_0xe0556[_0x53bc2e(0x173)])||stringFlag(_0xce6231[_0x53bc2e(0x173)]));}function assertEnvAppCodeNotIgnored(_0x5ab91e,_0x4ae49b,_0x440af3){const _0xb22f87=a228_0x3e03;if(!_0x4ae49b||_0x440af3||_0x5ab91e===_0x4ae49b['value'])return;const _0x4f5933=_0x5ab91e?_0xb22f87(0x19a)+_0x5ab91e+'\x22.':_0xb22f87(0x16a);throw CliErrors[_0xb22f87(0x167)](_0x4ae49b['name']+'='+_0x4ae49b[_0xb22f87(0x163)]+_0xb22f87(0x17f)+_0x4f5933+'\x20'+('To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$'+_0x4ae49b['name']+'\x22.'));}export function createPipelineEnv(_0x59d08e,_0x5e4ace,_0x52e7cd=[]){const _0x3644fb=a228_0x3e03;return{'rawFlags':_0x5e4ace,'args':_0x52e7cd,'resolveAppCode':()=>_0x59d08e[_0x3644fb(0x181)],'resolveCookie':()=>_0x59d08e['cookie']||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a228_0x55b93a(_0x5e4ace),'defaultFormat':_0x59d08e[_0x3644fb(0x182)],'defaultPageSize':_0x59d08e[_0x3644fb(0x194)],'defaultVerbose':_0x59d08e[_0x3644fb(0x190)],'apiDir':_0x59d08e[_0x3644fb(0x172)],'riskLevel':_0x59d08e['riskLevel'],'selectedAppName':_0x59d08e[_0x3644fb(0x16e)],'mergedCli':{'defaultApp':_0x59d08e[_0x3644fb(0x195)],'currentApp':_0x59d08e[_0x3644fb(0x197)],'appCode':_0x59d08e[_0x3644fb(0x181)],'apps':_0x59d08e['apps']}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[a228_0x1e558f(0x18d)](_0x480b03=>PIPELINE_FLAG_NAMES['has'](_0x480b03['name']))['map'](({name:_0x5ed538,type:_0x1473fb,description:_0x5bab96})=>({'name':_0x5ed538,'type':_0x1473fb,'description':_0x5bab96})),'formatOutput':formatOutput,'getCommandLabel'(_0x4257ab){const _0x13156e=a228_0x1e558f;return CLI_BIN_NAME+'\x20'+_0x4257ab['service']+'\x20'+_0x4257ab[_0x13156e(0x175)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x5d69fe){const _0x5d4893=a228_0x1e558f;return CliErrors[_0x5d4893(0x167)](_0x5d69fe);}},async 'prepare'(_0x59db18,_0x3b460e,_0x47730e,_0x1bb536){const _0x149411=a228_0x1e558f,_0x32a98c=_0x3b460e[_0x149411(0x172)]||DEFAULT_API_DIR;resolveAliasToCode(_0x59db18,_0x47730e,_0x32a98c,_0x1bb536);const _0x3ef3f1=resolveCommandAuthMode(_0x59db18);let _0x4d7ab2='';if(_0x3ef3f1!==_0x149411(0x169)){_0x4d7ab2=_0x3b460e[_0x149411(0x164)]()||'';if(!_0x4d7ab2){if(_0x3ef3f1===_0x149411(0x17c))throw CliErrors['authRequired']();}else{const {setActiveCookie:_0x2d47c9}=await import(_0x149411(0x176));_0x2d47c9(_0x4d7ab2);}}const _0x3f7769=_0x3b460e['resolveAppCode']()??'';if(_0x59db18[_0x149411(0x17d)]!==![]){assertEnvAppCodeNotIgnored(_0x3f7769,resolveEnvAppCode(),hasExplicitAppCode(_0x47730e,_0x3b460e['rawFlags']));if(!_0x3f7769)throw CliErrors[_0x149411(0x171)]('Set\x20appcode\x20via\x20`'+CLI_BIN_NAME+_0x149411(0x17a));}return{'defaults':{'booleans':{'verbose':_0x3b460e[_0x149411(0x165)]},'numbers':{'pagesize':_0x3b460e[_0x149411(0x16c)]}},'extras':{'appCode':_0x3f7769,'cookie':_0x4d7ab2,'apiDomain':_0x3b460e[_0x149411(0x193)](),'apiDir':_0x32a98c,'selectedAppName':_0x3b460e[_0x149411(0x198)],'mergedCli':_0x3b460e[_0x149411(0x196)]}};},async 'confirmHighRisk'({env:_0x12c29d,commandLabel:_0x4f0a95}){const _0x26b2f5=a228_0x1e558f;if(_0x12c29d['isNonInteractive'])throw CliErrors[_0x26b2f5(0x167)]('High-risk\x20operation\x20`'+_0x4f0a95+'`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.');await requireConfirmationPrompt({'lines':[_0x26b2f5(0x18a)+_0x4f0a95,_0x26b2f5(0x177)],'createCancelledError':_0x51b080=>CliErrors['cancelled'](_0x51b080)});},async 'finalize'(){const _0x5ce1c2=a228_0x1e558f,{clearActiveCookie:_0x483885}=await import(_0x5ce1c2(0x176));_0x483885();}};export async function runCommand(_0x356aae,_0x1ea6a3){assertRejectedFlags(_0x356aae,_0x1ea6a3['rawFlags']),await runCommandWithAdapter(shouldAttachUpdateNotice(_0x356aae)?withUpdateNotice(_0x356aae):_0x356aae,_0x1ea6a3,runnerAdapter);}function assertRejectedFlags(_0x11083c,_0x3fe229){const _0x303976=a228_0x1e558f;for(const _0x47d6b9 of _0x11083c['rejectedFlags']??[]){const _0x3f5c7c=GLOBAL_FLAGS[_0x303976(0x18e)](_0x520a95=>_0x520a95[_0x303976(0x199)]===_0x47d6b9[_0x303976(0x199)]),_0x293013=new Set([_0x47d6b9[_0x303976(0x199)],toCamelCase(_0x47d6b9[_0x303976(0x199)]),_0x3f5c7c?.[_0x303976(0x18b)]]),_0x53e16f=[..._0x293013][_0x303976(0x174)](_0x1c07c3=>{if(!_0x1c07c3)return![];const _0x4e9696=_0x3fe229[_0x1c07c3];return _0x4e9696!==undefined&&_0x4e9696!==null&&_0x4e9696!==![];});if(_0x53e16f)throw CliErrors[_0x303976(0x167)](_0x47d6b9[_0x303976(0x189)],_0x47d6b9[_0x303976(0x185)]);}}function toCamelCase(_0x6041d6){return _0x6041d6['replace'](/-([a-z])/g,(_0xfdb2e,_0x5f3352)=>_0x5f3352['toUpperCase']());}function shouldAttachUpdateNotice(_0x586656){const _0x132513=a228_0x1e558f;if(_0x586656[_0x132513(0x16f)]===![])return![];return!['update',_0x132513(0x166),_0x132513(0x16d)][_0x132513(0x188)](_0x586656['service']);}function withUpdateNotice(_0x390f34){return{..._0x390f34,async 'execute'(_0x43fc82){const _0x4091ba=a228_0x3e03,_0x51759c=shouldResolveUpdateNotice(_0x43fc82)?resolveLatestUpdateNotice()[_0x4091ba(0x18c)](()=>null):Promise['resolve'](null),_0x59099d=await _0x390f34[_0x4091ba(0x184)](_0x43fc82);return attachUpdateNotice(_0x59099d,await _0x51759c);}};}function shouldResolveUpdateNotice(_0x3ca55f){const _0x286b68=a228_0x1e558f;return _0x3ca55f[_0x286b68(0x182)]==='pretty'&&!_0x3ca55f[_0x286b68(0x19c)];}function attachUpdateNotice(_0x1bea9a,_0x3875cd){const _0x5ac137=a228_0x1e558f;if(!_0x3875cd||!_0x1bea9a||typeof _0x1bea9a!=='object')return _0x1bea9a;const _0x2d4f25=_0x1bea9a,_0x51978e=typeof _0x2d4f25[_0x5ac137(0x17b)]==='object'&&_0x2d4f25[_0x5ac137(0x17b)]!==null?_0x2d4f25[_0x5ac137(0x17b)]:{};return{..._0x2d4f25,'_notice':{..._0x51978e,'update':_0x3875cd}};}
@@ -1 +1 @@
1
- function a228_0x370d(){const _0x4b30fe=['97241KJwpjL','6dOUuxz','3180704tbDvun','3136512WmQatX','9736279whjYaO','381609URfwdA','330HIrqAu','2QDoUEH','1517315ReOzxt','425220hJKwDF','../commands/registry.js'];a228_0x370d=function(){return _0x4b30fe;};return a228_0x370d();}function a228_0x2ee4(_0x34d928,_0x1c69e8){_0x34d928=_0x34d928-0x123;const _0x370d97=a228_0x370d();let _0x2ee4d4=_0x370d97[_0x34d928];return _0x2ee4d4;}(function(_0x499a97,_0x570eaa){const _0x4115f2=a228_0x2ee4,_0x2e0d67=_0x499a97();while(!![]){try{const _0x48c6df=parseInt(_0x4115f2(0x128))/0x1*(-parseInt(_0x4115f2(0x124))/0x2)+parseInt(_0x4115f2(0x12b))/0x3+-parseInt(_0x4115f2(0x126))/0x4+parseInt(_0x4115f2(0x125))/0x5+-parseInt(_0x4115f2(0x129))/0x6*(-parseInt(_0x4115f2(0x12c))/0x7)+-parseInt(_0x4115f2(0x12a))/0x8+parseInt(_0x4115f2(0x12d))/0x9*(-parseInt(_0x4115f2(0x123))/0xa);if(_0x48c6df===_0x570eaa)break;else _0x2e0d67['push'](_0x2e0d67['shift']());}catch(_0x35f46d){_0x2e0d67['push'](_0x2e0d67['shift']());}}}(a228_0x370d,0xb48a9));import{buildSchemaPayload as a228_0x2707d8}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x5d359f=a228_0x2ee4,{serviceRegistry:_0x2a77e0,findDefinition:_0x4b130d}=await import(_0x5d359f(0x127));return a228_0x2707d8({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x2a77e0,'buildAllFlags':buildAllFlags,'findDefinition':_0x4b130d});}
1
+ (function(_0x5ccc89,_0x476529){const _0x2e20d2=a229_0x3a87,_0x24e22b=_0x5ccc89();while(!![]){try{const _0x278688=-parseInt(_0x2e20d2(0xf2))/0x1+-parseInt(_0x2e20d2(0xf3))/0x2*(-parseInt(_0x2e20d2(0xf0))/0x3)+parseInt(_0x2e20d2(0xf7))/0x4*(parseInt(_0x2e20d2(0xee))/0x5)+parseInt(_0x2e20d2(0xf5))/0x6+parseInt(_0x2e20d2(0xf6))/0x7*(-parseInt(_0x2e20d2(0xf8))/0x8)+-parseInt(_0x2e20d2(0xf1))/0x9+parseInt(_0x2e20d2(0xef))/0xa;if(_0x278688===_0x476529)break;else _0x24e22b['push'](_0x24e22b['shift']());}catch(_0x19ac04){_0x24e22b['push'](_0x24e22b['shift']());}}}(a229_0x2c91,0x631b7));import{buildSchemaPayload as a229_0x16d563}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';function a229_0x3a87(_0x36baee,_0x2dca7f){_0x36baee=_0x36baee-0xee;const _0x2c911b=a229_0x2c91();let _0x3a87d5=_0x2c911b[_0x36baee];return _0x3a87d5;}function a229_0x2c91(){const _0x203bfc=['5228490OpXmpX','897348VlAKJq','6753843cDClsF','342109qZvfyI','2KsGaqx','../commands/registry.js','4054698ODbZFr','28yAhDfR','4BWiwKn','1581072VzEyLq','3956335INECuH'];a229_0x2c91=function(){return _0x203bfc;};return a229_0x2c91();}import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x4291e2=a229_0x3a87,{serviceRegistry:_0x639a72,findDefinition:_0x10f481}=await import(_0x4291e2(0xf4));return a229_0x16d563({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x639a72,'buildAllFlags':buildAllFlags,'findDefinition':_0x10f481});}
@@ -1 +1 @@
1
- function a229_0x2a51(_0x1fbab5,_0x1c6af4){_0x1fbab5=_0x1fbab5-0x19a;var _0x377b79=a229_0x377b();var _0x2a5106=_0x377b79[_0x1fbab5];return _0x2a5106;}function a229_0x377b(){var _0x43b6dd=['1922944EAyklh','55156ZpTdOb','36AvdRLi','94744WxbuSh','130HXplxa','2305lasUDE','235557ERemnT','654FVxUoL','469803NxhRJG','17612qSNGsJ'];a229_0x377b=function(){return _0x43b6dd;};return a229_0x377b();}(function(_0x3558fd,_0x3cca30){var _0x14a2e7=a229_0x2a51,_0x3ad94a=_0x3558fd();while(!![]){try{var _0x49a266=parseInt(_0x14a2e7(0x19c))/0x1+-parseInt(_0x14a2e7(0x19e))/0x2+-parseInt(_0x14a2e7(0x1a3))/0x3+-parseInt(_0x14a2e7(0x19d))/0x4*(parseInt(_0x14a2e7(0x1a0))/0x5)+parseInt(_0x14a2e7(0x1a2))/0x6*(-parseInt(_0x14a2e7(0x19a))/0x7)+parseInt(_0x14a2e7(0x19b))/0x8+parseInt(_0x14a2e7(0x1a1))/0x9*(parseInt(_0x14a2e7(0x19f))/0xa);if(_0x49a266===_0x3cca30)break;else _0x3ad94a['push'](_0x3ad94a['shift']());}catch(_0x2eda89){_0x3ad94a['push'](_0x3ad94a['shift']());}}}(a229_0x377b,0x2573f));export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';
1
+ (function(_0xa2ea7f,_0x2227c4){var _0x85145f=a230_0x2935,_0x36c14c=_0xa2ea7f();while(!![]){try{var _0x24abd8=-parseInt(_0x85145f(0xcf))/0x1+-parseInt(_0x85145f(0xd0))/0x2+parseInt(_0x85145f(0xcb))/0x3*(-parseInt(_0x85145f(0xce))/0x4)+-parseInt(_0x85145f(0xc8))/0x5*(parseInt(_0x85145f(0xd1))/0x6)+-parseInt(_0x85145f(0xc7))/0x7+parseInt(_0x85145f(0xcd))/0x8*(parseInt(_0x85145f(0xc9))/0x9)+-parseInt(_0x85145f(0xca))/0xa*(-parseInt(_0x85145f(0xcc))/0xb);if(_0x24abd8===_0x2227c4)break;else _0x36c14c['push'](_0x36c14c['shift']());}catch(_0x3e1749){_0x36c14c['push'](_0x36c14c['shift']());}}}(a230_0x4bca,0x416e9));function a230_0x2935(_0x3dcb13,_0xcd5f66){_0x3dcb13=_0x3dcb13-0xc7;var _0x4bca61=a230_0x4bca();var _0x2935fa=_0x4bca61[_0x3dcb13];return _0x2935fa;}function a230_0x4bca(){var _0x5f3da5=['158028kDcHzb','374YeEJOk','1780552rDXVlx','8syeOte','137912DhrYGh','764468cPLrzj','6mRmPZQ','927535NguIma','1165575yNjijH','9UgWLlV','304870mNighM'];a230_0x4bca=function(){return _0x5f3da5;};return a230_0x4bca();}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';
@@ -1 +1 @@
1
- const a230_0x512a89=a230_0x7703;(function(_0x1ad129,_0x376286){const _0x158507=a230_0x7703,_0x2ebd78=_0x1ad129();while(!![]){try{const _0x39c682=parseInt(_0x158507(0x70))/0x1*(parseInt(_0x158507(0x6e))/0x2)+-parseInt(_0x158507(0x71))/0x3*(parseInt(_0x158507(0x68))/0x4)+parseInt(_0x158507(0x76))/0x5+parseInt(_0x158507(0x74))/0x6*(-parseInt(_0x158507(0x6b))/0x7)+parseInt(_0x158507(0x6d))/0x8*(parseInt(_0x158507(0x69))/0x9)+parseInt(_0x158507(0x75))/0xa+parseInt(_0x158507(0x77))/0xb*(parseInt(_0x158507(0x6f))/0xc);if(_0x39c682===_0x376286)break;else _0x2ebd78['push'](_0x2ebd78['shift']());}catch(_0x643562){_0x2ebd78['push'](_0x2ebd78['shift']());}}}(a230_0xb1df,0x1e139));export const VERSION=a230_0x512a89(0x6c);export const GIT_TAG=a230_0x512a89(0x72);export const GIT_COMMIT=a230_0x512a89(0x73);export const BUILD_TIME=a230_0x512a89(0x6a);function a230_0x7703(_0x560cc4,_0x2e2beb){_0x560cc4=_0x560cc4-0x68;const _0xb1dff0=a230_0xb1df();let _0x7703a8=_0xb1dff0[_0x560cc4];return _0x7703a8;}function a230_0xb1df(){const _0x258bba=['891732VPmgBP','40522VCXIaW','90720ptFFef','v2.3.13-beta.2','377a9df','40962rgaSHX','1349350JLBObq','16365vNxsZP','11WpaDQn','28jHuQnS','89334nDCSHw','2026-08-04T15:26:58.178Z','140OfeAcv','2.3.13-beta.2','176KlyLoq','2xjVptv'];a230_0xb1df=function(){return _0x258bba;};return a230_0xb1df();}
1
+ const a231_0x2b1782=a231_0x2929;(function(_0x4419f7,_0x596f10){const _0x3889be=a231_0x2929,_0x2fadb6=_0x4419f7();while(!![]){try{const _0x13ea2f=parseInt(_0x3889be(0x19d))/0x1*(-parseInt(_0x3889be(0x19c))/0x2)+-parseInt(_0x3889be(0x196))/0x3+parseInt(_0x3889be(0x19b))/0x4+parseInt(_0x3889be(0x199))/0x5+parseInt(_0x3889be(0x195))/0x6*(parseInt(_0x3889be(0x19f))/0x7)+-parseInt(_0x3889be(0x198))/0x8*(parseInt(_0x3889be(0x19e))/0x9)+parseInt(_0x3889be(0x197))/0xa;if(_0x13ea2f===_0x596f10)break;else _0x2fadb6['push'](_0x2fadb6['shift']());}catch(_0x5d494f){_0x2fadb6['push'](_0x2fadb6['shift']());}}}(a231_0x2517,0x77fde));export const VERSION='2.3.13';export const GIT_TAG=a231_0x2b1782(0x19a);function a231_0x2517(){const _0x526f3d=['2246032LzGpAi','843284nXiuJe','2CSSdfY','2178lepdmM','7XiiNcE','2079306htDueP','845325qmcFDp','3494060NeCpuS','10192yZcRHq','3336940sFCuxE','v2.3.13'];a231_0x2517=function(){return _0x526f3d;};return a231_0x2517();}export const GIT_COMMIT='6cc2e4c';function a231_0x2929(_0x2a80a6,_0x54c11a){_0x2a80a6=_0x2a80a6-0x195;const _0x2517b7=a231_0x2517();let _0x292908=_0x2517b7[_0x2a80a6];return _0x292908;}export const BUILD_TIME='2026-08-05T04:33:37.145Z';
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- (function(_0x369da3,_0x108f4b){var _0x363fa8=a231_0x2d73,_0x1eb2ae=_0x369da3();while(!![]){try{var _0x338c52=parseInt(_0x363fa8(0x1d3))/0x1+-parseInt(_0x363fa8(0x1d2))/0x2*(-parseInt(_0x363fa8(0x1db))/0x3)+parseInt(_0x363fa8(0x1d4))/0x4*(parseInt(_0x363fa8(0x1dc))/0x5)+-parseInt(_0x363fa8(0x1d8))/0x6*(-parseInt(_0x363fa8(0x1d9))/0x7)+-parseInt(_0x363fa8(0x1d6))/0x8+-parseInt(_0x363fa8(0x1da))/0x9*(parseInt(_0x363fa8(0x1de))/0xa)+-parseInt(_0x363fa8(0x1d1))/0xb;if(_0x338c52===_0x108f4b)break;else _0x1eb2ae['push'](_0x1eb2ae['shift']());}catch(_0x4f88dd){_0x1eb2ae['push'](_0x1eb2ae['shift']());}}}(a231_0x8405,0xad6ec));import a231_0x2488b9 from'chalk';function a231_0x8405(){var _0x475760=['log','10MPAnaR','green','bold','5259925zhaHbF','46lqYDoU','974047HofRJd','12108fSJujr','\x20--help','4123272xgBkqI','\x20\x20Use\x20','6deGMJn','8619814hgqeej','10113579GDWLXl','27861kFzgRs','675ghFBPk'];a231_0x8405=function(){return _0x475760;};return a231_0x8405();}function a231_0x2d73(_0x4fc91e,_0x11816a){_0x4fc91e=_0x4fc91e-0x1cf;var _0x840565=a231_0x8405();var _0x2d7334=_0x840565[_0x4fc91e];return _0x2d7334;}import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0x2f0caa=a231_0x2d73;console[_0x2f0caa(0x1dd)](),console['log'](a231_0x2488b9[_0x2f0caa(0x1cf)][_0x2f0caa(0x1d0)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x2f0caa(0x1dd)](),console[_0x2f0caa(0x1dd)](_0x2f0caa(0x1d7)+a231_0x2488b9[_0x2f0caa(0x1cf)]['bold'](CLI_BIN_NAME+_0x2f0caa(0x1d5))+'\x20to\x20view\x20available\x20commands.'),console[_0x2f0caa(0x1dd)]();}
1
+ function a232_0x2cfc(){var _0x34cd2e=['1501850FuHasp','4bczYLZ','26655QvCoNF','1145915GPSzAP','\x20to\x20view\x20available\x20commands.','log','bold','12lPVkwE','12403720RYjbBC','green','5067336siUtLJ','\x20\x20Use\x20','808686vRCgWx','615174VKhAFe','50eEMUaj','\x20--help'];a232_0x2cfc=function(){return _0x34cd2e;};return a232_0x2cfc();}(function(_0x32bac1,_0x9f09c5){var _0x1fefe6=a232_0x4d61,_0xa8627=_0x32bac1();while(!![]){try{var _0x52d7e6=parseInt(_0x1fefe6(0x1a3))/0x1*(parseInt(_0x1fefe6(0x19f))/0x2)+parseInt(_0x1fefe6(0x19e))/0x3+-parseInt(_0x1fefe6(0x1a2))/0x4*(parseInt(_0x1fefe6(0x1a4))/0x5)+-parseInt(_0x1fefe6(0x198))/0x6*(-parseInt(_0x1fefe6(0x1a1))/0x7)+parseInt(_0x1fefe6(0x19b))/0x8+-parseInt(_0x1fefe6(0x19d))/0x9+-parseInt(_0x1fefe6(0x199))/0xa;if(_0x52d7e6===_0x9f09c5)break;else _0xa8627['push'](_0xa8627['shift']());}catch(_0x78a984){_0xa8627['push'](_0xa8627['shift']());}}}(a232_0x2cfc,0x5b70d));import a232_0x59c40c from'chalk';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';function a232_0x4d61(_0x490b2,_0x174db1){_0x490b2=_0x490b2-0x198;var _0x2cfc13=a232_0x2cfc();var _0x4d6163=_0x2cfc13[_0x490b2];return _0x4d6163;}export function showHelp(){var _0x3f67b0=a232_0x4d61;console['log'](),console[_0x3f67b0(0x1a6)](a232_0x59c40c['green'][_0x3f67b0(0x1a7)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x3f67b0(0x1a6)](),console[_0x3f67b0(0x1a6)](_0x3f67b0(0x19c)+a232_0x59c40c[_0x3f67b0(0x19a)][_0x3f67b0(0x1a7)](CLI_BIN_NAME+_0x3f67b0(0x1a0))+_0x3f67b0(0x1a5)),console[_0x3f67b0(0x1a6)]();}
@@ -1 +1 @@
1
- (function(_0x120fa8,_0x1f38b8){const _0x2382ca=a232_0x2ddf,_0x5e4df9=_0x120fa8();while(!![]){try{const _0x429051=parseInt(_0x2382ca(0x128))/0x1+parseInt(_0x2382ca(0x125))/0x2+-parseInt(_0x2382ca(0x135))/0x3+-parseInt(_0x2382ca(0x121))/0x4+-parseInt(_0x2382ca(0x13b))/0x5+parseInt(_0x2382ca(0x11d))/0x6*(parseInt(_0x2382ca(0x126))/0x7)+-parseInt(_0x2382ca(0x12d))/0x8*(-parseInt(_0x2382ca(0x120))/0x9);if(_0x429051===_0x1f38b8)break;else _0x5e4df9['push'](_0x5e4df9['shift']());}catch(_0x2c4752){_0x5e4df9['push'](_0x5e4df9['shift']());}}}(a232_0x428e,0xbf789));import{logger}from'../utils/logger.js';import{CLI_BIN_NAME}from'../constant/cli.js';function a232_0x2ddf(_0x13498b,_0x4fab29){_0x13498b=_0x13498b-0x11c;const _0x428e70=a232_0x428e();let _0x2ddf26=_0x428e70[_0x13498b];return _0x2ddf26;}import{NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE}from'../skills/npx-skills-add.js';export function camelCaseFlagsToKebab(_0x531422){const _0x5616ed=a232_0x2ddf,_0x19a1b4=[];for(const [_0x287576,_0x9e9c84]of Object[_0x5616ed(0x132)](_0x531422)){if(_0x9e9c84===!![]){const _0x14db91=_0x287576['replace'](/([A-Z])/g,_0x5616ed(0x137))['toLowerCase']();_0x19a1b4[_0x5616ed(0x12b)](_0x14db91);}}return _0x19a1b4;}export function parseDynamicFlags(){const _0x2d494a=a232_0x2ddf,_0xfbba8f=[];for(let _0x1ff881=0x3;_0x1ff881<process['argv'][_0x2d494a(0x129)];_0x1ff881++){const _0x3bd0f8=process[_0x2d494a(0x13c)][_0x1ff881];if(_0x3bd0f8&&_0x3bd0f8['startsWith']('--')){const _0xcf90b6=_0x3bd0f8[_0x2d494a(0x11e)](0x2);_0xcf90b6&&!_0xcf90b6[_0x2d494a(0x12e)]('=')&&_0xfbba8f[_0x2d494a(0x12b)](_0xcf90b6);}}return _0xfbba8f;}export function getAllProvidedFlags(_0x3544ce){const _0x5c30ef=a232_0x2ddf,_0x318d86=camelCaseFlagsToKebab(_0x3544ce),_0x338e32=parseDynamicFlags(),_0x41243b=new Set([..._0x318d86,..._0x338e32]);return Array[_0x5c30ef(0x13a)](_0x41243b);}export function normalizeLegacyBffSaveFlags(_0x33bf05){const _0x5bc02a=a232_0x2ddf,_0x54ee00=new Set(_0x33bf05);return _0x54ee00[_0x5bc02a(0x13d)](_0x5bc02a(0x136))&&_0x54ee00[_0x5bc02a(0x12c)](_0x5bc02a(0x11c)),Array[_0x5bc02a(0x13a)](_0x54ee00);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;function a232_0x428e(){const _0x83aba7=['--help','\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','entries','Error:\x20Unsupported\x20command:\x20','(empty)','2084613jHdpHR','dangerously-bff-save','-$1','\x0aAvailable\x20commands:','log','from','1799340DkPEOz','argv','has','enable-bff-save','30414cNFTEE','slice','help','9VOKTkF','5132232xpIDcQ','exit','skill','setLogPath','612606zmGlmH','434VrFWTZ','不支持的命令:\x20','137162mBahnr','length','error','push','add','18914552mIDaRG','includes','\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill'];a232_0x428e=function(){return _0x83aba7;};return a232_0x428e();}export async function skillsCommand(_0x2d0cb2,_0x3141e4,_0x4debc6){const _0xe76ac=a232_0x2ddf;logger[_0xe76ac(0x124)](process['cwd']());if(_0x4debc6?.[_0xe76ac(0x11f)]||_0x2d0cb2===_0xe76ac(0x130)){showHelp();return;}console[_0xe76ac(0x12a)](_0xe76ac(0x133)+(_0x2d0cb2||_0xe76ac(0x134))),console[_0xe76ac(0x139)](_0xe76ac(0x138)),console[_0xe76ac(0x139)]('\x20\x20'+CLI_BIN_NAME+_0xe76ac(0x12f)),console[_0xe76ac(0x139)](''),console[_0xe76ac(0x139)]('Equivalent\x20command:\x20'+SKILLS_INSTALL_COMMAND_LINE),logger[_0xe76ac(0x12a)](_0xe76ac(0x123),_0xe76ac(0x127)+_0x2d0cb2),process[_0xe76ac(0x122)](0x1);}function showHelp(){const _0x57ff9c=a232_0x2ddf;console[_0x57ff9c(0x139)](_0x57ff9c(0x131)+CLI_BIN_NAME+'\x20cli-skill\x20install\x0a\x0aEquivalent\x20command:\x20'+SKILLS_INSTALL_COMMAND_LINE+'\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/rabetbase/guides/.\x0a');}
1
+ (function(_0x2aea6d,_0x4a798f){const _0x100b75=a233_0x26f2,_0x32b960=_0x2aea6d();while(!![]){try{const _0xde7059=-parseInt(_0x100b75(0x78))/0x1*(-parseInt(_0x100b75(0x8f))/0x2)+-parseInt(_0x100b75(0x75))/0x3*(parseInt(_0x100b75(0x7a))/0x4)+parseInt(_0x100b75(0x88))/0x5*(parseInt(_0x100b75(0x7c))/0x6)+parseInt(_0x100b75(0x83))/0x7+parseInt(_0x100b75(0x81))/0x8+-parseInt(_0x100b75(0x7e))/0x9+-parseInt(_0x100b75(0x82))/0xa;if(_0xde7059===_0x4a798f)break;else _0x32b960['push'](_0x32b960['shift']());}catch(_0xd6a503){_0x32b960['push'](_0x32b960['shift']());}}}(a233_0x25ee,0x64019));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(_0x45c26c){const _0x1a5cdb=a233_0x26f2,_0x500df3=[];for(const [_0x5c31bf,_0x43c8ac]of Object[_0x1a5cdb(0x90)](_0x45c26c)){if(_0x43c8ac===!![]){const _0x32a2a7=_0x5c31bf[_0x1a5cdb(0x76)](/([A-Z])/g,_0x1a5cdb(0x74))[_0x1a5cdb(0x91)]();_0x500df3[_0x1a5cdb(0x72)](_0x32a2a7);}}return _0x500df3;}function a233_0x26f2(_0x4a30cc,_0x475118){_0x4a30cc=_0x4a30cc-0x70;const _0x25ee25=a233_0x25ee();let _0x26f2c2=_0x25ee25[_0x4a30cc];return _0x26f2c2;}export function parseDynamicFlags(){const _0x2102b4=a233_0x26f2,_0x44bb8c=[];for(let _0x5832ba=0x3;_0x5832ba<process[_0x2102b4(0x73)]['length'];_0x5832ba++){const _0x37c06e=process[_0x2102b4(0x73)][_0x5832ba];if(_0x37c06e&&_0x37c06e[_0x2102b4(0x8e)]('--')){const _0x40ba5d=_0x37c06e['slice'](0x2);_0x40ba5d&&!_0x40ba5d[_0x2102b4(0x84)]('=')&&_0x44bb8c[_0x2102b4(0x72)](_0x40ba5d);}}return _0x44bb8c;}export function getAllProvidedFlags(_0x22e5cc){const _0x33ca30=a233_0x26f2,_0x513d7a=camelCaseFlagsToKebab(_0x22e5cc),_0x457b96=parseDynamicFlags(),_0x262afe=new Set([..._0x513d7a,..._0x457b96]);return Array[_0x33ca30(0x7d)](_0x262afe);}export function normalizeLegacyBffSaveFlags(_0x46cef6){const _0x2058f3=a233_0x26f2,_0x46f6be=new Set(_0x46cef6);return _0x46f6be['has']('dangerously-bff-save')&&_0x46f6be[_0x2058f3(0x7f)]('enable-bff-save'),Array[_0x2058f3(0x7d)](_0x46f6be);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;export async function skillsCommand(_0x26dab6,_0x1c7647,_0x44a10b){const _0x1043d7=a233_0x26f2;logger[_0x1043d7(0x87)](process[_0x1043d7(0x7b)]());if(_0x44a10b?.[_0x1043d7(0x79)]||_0x26dab6===_0x1043d7(0x71)){showHelp();return;}console['error']('Error:\x20Unsupported\x20command:\x20'+(_0x26dab6||_0x1043d7(0x8a))),console['log'](_0x1043d7(0x89)),console[_0x1043d7(0x70)]('\x20\x20'+CLI_BIN_NAME+_0x1043d7(0x77)),console['log'](''),console[_0x1043d7(0x70)]('Equivalent\x20command:\x20'+SKILLS_INSTALL_COMMAND_LINE),logger[_0x1043d7(0x85)](_0x1043d7(0x86),_0x1043d7(0x8c)+_0x26dab6),process['exit'](0x1);}function showHelp(){const _0x183c3e=a233_0x26f2;console[_0x183c3e(0x70)](_0x183c3e(0x80)+CLI_BIN_NAME+_0x183c3e(0x8d)+SKILLS_INSTALL_COMMAND_LINE+_0x183c3e(0x8b));}function a233_0x25ee(){const _0x5af463=['push','argv','-$1','3PzIWih','replace','\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill','32ffkXue','help','406900SAvwEz','cwd','162438GORHjz','from','1837530PdETpn','add','\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','4404192kfofKd','10617850DSnGyR','3855215FYoYTs','includes','error','skill','setLogPath','20ajfjqX','\x0aAvailable\x20commands:','(empty)','\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/rabetbase/guides/.\x0a','不支持的命令:\x20','\x20cli-skill\x20install\x0a\x0aEquivalent\x20command:\x20','startsWith','35484wEBPum','entries','toLowerCase','log','--help'];a233_0x25ee=function(){return _0x5af463;};return a233_0x25ee();}
@@ -1 +1 @@
1
- function a233_0x1407(){const _0x2da6c4=['5189457mQEMzw','1416434LQKRha','lovrabet/rabetbase','trim','4nBdBTh','4873udLxwQ','pipe','remove','stdio','Lovrabet','join','3246605beKBiU','7596mGuwtk','push','27036nSdXff','2106774WTEsWf','9237606mGgpxV','inherit','3nJyhAI','--skill','toString','lovrabet/lovrabet-skill','5510IjNBjU','status','npx','unknown','16fVPgwD','add','exit\x20','stderr','stdout'];a233_0x1407=function(){return _0x2da6c4;};return a233_0x1407();}const a233_0x4d24de=a233_0x22b5;(function(_0x46b458,_0x1232b0){const _0x3c454d=a233_0x22b5,_0x457682=_0x46b458();while(!![]){try{const _0x220ada=-parseInt(_0x3c454d(0x1d3))/0x1+-parseInt(_0x3c454d(0x1e1))/0x2*(-parseInt(_0x3c454d(0x1e4))/0x3)+-parseInt(_0x3c454d(0x1d6))/0x4*(-parseInt(_0x3c454d(0x1dd))/0x5)+parseInt(_0x3c454d(0x1e2))/0x6+parseInt(_0x3c454d(0x1d2))/0x7*(-parseInt(_0x3c454d(0x1cd))/0x8)+-parseInt(_0x3c454d(0x1de))/0x9*(parseInt(_0x3c454d(0x1c9))/0xa)+parseInt(_0x3c454d(0x1d7))/0xb*(parseInt(_0x3c454d(0x1e0))/0xc);if(_0x220ada===_0x1232b0)break;else _0x457682['push'](_0x457682['shift']());}catch(_0x2bfa72){_0x457682['push'](_0x457682['shift']());}}}(a233_0x1407,0xd5eb0));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';export const NPX_FLAG_YES='-y';export const SKILLS_FLAG_GLOBAL='-g';export const SKILLS_FLAG_YES='-y';export const NPX_SKILLS_CLI='skills';function a233_0x22b5(_0x24ab36,_0x2d5d11){_0x24ab36=_0x24ab36-0x1c9;const _0x1407eb=a233_0x1407();let _0x22b557=_0x1407eb[_0x24ab36];return _0x22b557;}export const NPX_SKILLS_SUBCOMMAND_ADD=a233_0x4d24de(0x1ce);export const NPX_SKILLS_FLAG_SKILL=a233_0x4d24de(0x1e5);export const RABETBASE_SKILL_SOURCE=a233_0x4d24de(0x1d4);export const LEGACY_RABETBASE_SKILL_SOURCE=a233_0x4d24de(0x1e7);export const DEFAULT_RABETBASE_SKILL_NAME=a233_0x4d24de(0x1db);export function buildNpxSkillsAddArgv(_0x5bf8f1){const _0x4500e8=a233_0x4d24de,_0x3db02a=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE];return _0x5bf8f1&&_0x3db02a[_0x4500e8(0x1df)](NPX_SKILLS_FLAG_SKILL,_0x5bf8f1),_0x3db02a;}export const NPX_SKILLS_ADD_COMMAND_LINE=[a233_0x4d24de(0x1cb),...buildNpxSkillsAddArgv()]['join']('\x20');export const NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE=[a233_0x4d24de(0x1cb),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][a233_0x4d24de(0x1dc)]('\x20');export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0x1ca636,_0x4d9a00){const _0x3f49bc=a233_0x4d24de;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x36563f=_0x4d9a00?.[_0x3f49bc(0x1da)]??_0x3f49bc(0x1e3),_0x1b6335=resolveNpmBin(_0x3f49bc(0x1cb)),_0x327343=buildNpxSkillsAddArgv(_0x4d9a00?.['skill']),_0x557583=[_0x3f49bc(0x1cb),..._0x327343][_0x3f49bc(0x1dc)]('\x20');console['log']('*\x20'+_0x557583);const _0x5ef6a8=spawnSync(_0x1b6335,_0x327343,{'cwd':_0x1ca636,'stdio':_0x36563f,'env':process.env,'shell':![]}),_0x40a9d6=_0x5ef6a8[_0x3f49bc(0x1ca)];if(_0x40a9d6===0x0)return{'ok':!![],'status':0x0};let _0x4b1b02=_0x3f49bc(0x1cf)+(_0x40a9d6??_0x3f49bc(0x1cc));if(_0x36563f===_0x3f49bc(0x1d8)){const _0x444237=_0x5ef6a8[_0x3f49bc(0x1d0)]?_0x5ef6a8['stderr'][_0x3f49bc(0x1e6)]()[_0x3f49bc(0x1d5)]():'',_0x1bbe59=_0x5ef6a8['stdout']?_0x5ef6a8['stdout'][_0x3f49bc(0x1e6)]()[_0x3f49bc(0x1d5)]():'';if(_0x444237)_0x4b1b02=_0x444237;else{if(_0x1bbe59)_0x4b1b02=_0x1bbe59;}}return{'ok':![],'status':_0x40a9d6??null,'error':_0x4b1b02};}export function runNpxSkillsRemove(_0x303771,_0x5db13d,_0x2ced31=LEGACY_RABETBASE_SKILL_SOURCE){const _0x2a6fc1=a233_0x4d24de;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x53e709=_0x5db13d?.['stdio']??_0x2a6fc1(0x1e3),_0x4afec0=resolveNpmBin(_0x2a6fc1(0x1cb)),_0x4a63bd=[NPX_FLAG_YES,NPX_SKILLS_CLI,_0x2a6fc1(0x1d9),_0x2ced31,NPX_SKILLS_FLAG_SKILL,_0x5db13d?.['skill']??DEFAULT_RABETBASE_SKILL_NAME,..._0x5db13d?.['yes']?['-y']:[]],_0x5c9122=[_0x4afec0,..._0x4a63bd][_0x2a6fc1(0x1dc)]('\x20');console['log']('*\x20'+_0x5c9122);const _0x37a737=spawnSync(_0x4afec0,_0x4a63bd,{'cwd':_0x303771,'stdio':_0x53e709,'env':process.env,'shell':![]}),_0x611fd4=_0x37a737[_0x2a6fc1(0x1ca)];if(_0x611fd4===0x0)return{'ok':!![],'status':0x0};let _0x18b74a='exit\x20'+(_0x611fd4??'unknown');if(_0x53e709===_0x2a6fc1(0x1d8)){const _0x2c6098=_0x37a737[_0x2a6fc1(0x1d0)]?_0x37a737['stderr'][_0x2a6fc1(0x1e6)]()['trim']():'',_0x56741f=_0x37a737[_0x2a6fc1(0x1d1)]?_0x37a737[_0x2a6fc1(0x1d1)][_0x2a6fc1(0x1e6)]()['trim']():'';if(_0x2c6098)_0x18b74a=_0x2c6098;else{if(_0x56741f)_0x18b74a=_0x56741f;}}return{'ok':![],'status':_0x611fd4??null,'error':_0x18b74a};}export function runNpxSkillsAddGlobal(_0x52e7cf,_0x2ed286,_0x2bf8c3){const _0xb22b5a=a233_0x4d24de;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x211b52=_0x2bf8c3?.[_0xb22b5a(0x1da)]??_0xb22b5a(0x1e3),_0x5665dc=resolveNpmBin('npx'),_0x340a48=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x2ed286,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES],_0x1a4f59=['npx',NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x2ed286,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][_0xb22b5a(0x1dc)]('\x20');console['log']('*\x20'+_0x1a4f59);const _0x14139e=spawnSync(_0x5665dc,_0x340a48,{'cwd':_0x52e7cf,'stdio':_0x211b52,'env':process.env,'shell':![]}),_0x336a5e=_0x14139e[_0xb22b5a(0x1ca)];if(_0x336a5e===0x0)return{'ok':!![],'status':0x0};let _0x56b559=_0xb22b5a(0x1cf)+(_0x336a5e??_0xb22b5a(0x1cc));if(_0x211b52===_0xb22b5a(0x1d8)){const _0x452317=_0x14139e['stderr']?_0x14139e['stderr']['toString']()[_0xb22b5a(0x1d5)]():'',_0x2d0513=_0x14139e[_0xb22b5a(0x1d1)]?_0x14139e[_0xb22b5a(0x1d1)][_0xb22b5a(0x1e6)]()[_0xb22b5a(0x1d5)]():'';if(_0x452317)_0x56b559=_0x452317;else{if(_0x2d0513)_0x56b559=_0x2d0513;}}return{'ok':![],'status':_0x336a5e??null,'error':_0x56b559};}
1
+ const a234_0xc69174=a234_0x5474;(function(_0x3419d4,_0x166bf1){const _0x56e4b1=a234_0x5474,_0x4b29e5=_0x3419d4();while(!![]){try{const _0x25899e=-parseInt(_0x56e4b1(0x20b))/0x1+-parseInt(_0x56e4b1(0x206))/0x2+-parseInt(_0x56e4b1(0x1f1))/0x3*(parseInt(_0x56e4b1(0x1f8))/0x4)+-parseInt(_0x56e4b1(0x204))/0x5+-parseInt(_0x56e4b1(0x1fc))/0x6+-parseInt(_0x56e4b1(0x1ff))/0x7*(-parseInt(_0x56e4b1(0x1f3))/0x8)+parseInt(_0x56e4b1(0x1f9))/0x9;if(_0x25899e===_0x166bf1)break;else _0x4b29e5['push'](_0x4b29e5['shift']());}catch(_0x5d476b){_0x4b29e5['push'](_0x4b29e5['shift']());}}}(a234_0x1b3a,0x37fce));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=a234_0xc69174(0x1f7);export const NPX_SKILLS_SUBCOMMAND_ADD=a234_0xc69174(0x202);export const NPX_SKILLS_FLAG_SKILL=a234_0xc69174(0x1fd);export const RABETBASE_SKILL_SOURCE=a234_0xc69174(0x1ed);export const LEGACY_RABETBASE_SKILL_SOURCE=a234_0xc69174(0x203);export const DEFAULT_RABETBASE_SKILL_NAME=a234_0xc69174(0x1fb);function a234_0x5474(_0x242cce,_0x609a67){_0x242cce=_0x242cce-0x1ec;const _0x1b3a39=a234_0x1b3a();let _0x5474cf=_0x1b3a39[_0x242cce];return _0x5474cf;}export function buildNpxSkillsAddArgv(_0x36c77c){const _0x50ee1c=a234_0xc69174,_0x5295db=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE];return _0x36c77c&&_0x5295db[_0x50ee1c(0x1ee)](NPX_SKILLS_FLAG_SKILL,_0x36c77c),_0x5295db;}export const NPX_SKILLS_ADD_COMMAND_LINE=[a234_0xc69174(0x1fe),...buildNpxSkillsAddArgv()][a234_0xc69174(0x1f0)]('\x20');function a234_0x1b3a(){const _0x7f5756=['160986zaFDph','exit\x20','trim','unknown','pipe','313198eOIgJr','stdio','lovrabet/rabetbase','push','remove','join','3DwgOSc','toString','48shpWRG','inherit','status','stdout','skills','1142804SPpHqi','12162348efpbeJ','log','Lovrabet','1587072XqvDlA','--skill','npx','183827lAHovK','skill','yes','add','lovrabet/lovrabet-skill','1678540dILbkb','stderr'];a234_0x1b3a=function(){return _0x7f5756;};return a234_0x1b3a();}export const NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE=[a234_0xc69174(0x1fe),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][a234_0xc69174(0x1f0)]('\x20');export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0x3ec285,_0x5da60c){const _0x5d1c9a=a234_0xc69174;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0xa052b2=_0x5da60c?.[_0x5d1c9a(0x1ec)]??_0x5d1c9a(0x1f4),_0x3fb791=resolveNpmBin(_0x5d1c9a(0x1fe)),_0x4ef51f=buildNpxSkillsAddArgv(_0x5da60c?.[_0x5d1c9a(0x200)]),_0x6b3b08=['npx',..._0x4ef51f][_0x5d1c9a(0x1f0)]('\x20');console[_0x5d1c9a(0x1fa)]('*\x20'+_0x6b3b08);const _0x170454=spawnSync(_0x3fb791,_0x4ef51f,{'cwd':_0x3ec285,'stdio':_0xa052b2,'env':process.env,'shell':![]}),_0x1e096a=_0x170454[_0x5d1c9a(0x1f5)];if(_0x1e096a===0x0)return{'ok':!![],'status':0x0};let _0x55dbf2=_0x5d1c9a(0x207)+(_0x1e096a??_0x5d1c9a(0x209));if(_0xa052b2===_0x5d1c9a(0x20a)){const _0x4039f1=_0x170454[_0x5d1c9a(0x205)]?_0x170454[_0x5d1c9a(0x205)]['toString']()[_0x5d1c9a(0x208)]():'',_0x242cd7=_0x170454[_0x5d1c9a(0x1f6)]?_0x170454[_0x5d1c9a(0x1f6)][_0x5d1c9a(0x1f2)]()[_0x5d1c9a(0x208)]():'';if(_0x4039f1)_0x55dbf2=_0x4039f1;else{if(_0x242cd7)_0x55dbf2=_0x242cd7;}}return{'ok':![],'status':_0x1e096a??null,'error':_0x55dbf2};}export function runNpxSkillsRemove(_0x400500,_0x2142bb,_0x3214aa=LEGACY_RABETBASE_SKILL_SOURCE){const _0x4a10c5=a234_0xc69174;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x14dd82=_0x2142bb?.[_0x4a10c5(0x1ec)]??_0x4a10c5(0x1f4),_0x409943=resolveNpmBin(_0x4a10c5(0x1fe)),_0x579e52=[NPX_FLAG_YES,NPX_SKILLS_CLI,_0x4a10c5(0x1ef),_0x3214aa,NPX_SKILLS_FLAG_SKILL,_0x2142bb?.[_0x4a10c5(0x200)]??DEFAULT_RABETBASE_SKILL_NAME,..._0x2142bb?.[_0x4a10c5(0x201)]?['-y']:[]],_0x2a1588=[_0x409943,..._0x579e52]['join']('\x20');console[_0x4a10c5(0x1fa)]('*\x20'+_0x2a1588);const _0x6b5608=spawnSync(_0x409943,_0x579e52,{'cwd':_0x400500,'stdio':_0x14dd82,'env':process.env,'shell':![]}),_0xbf6261=_0x6b5608['status'];if(_0xbf6261===0x0)return{'ok':!![],'status':0x0};let _0x4fd275='exit\x20'+(_0xbf6261??_0x4a10c5(0x209));if(_0x14dd82===_0x4a10c5(0x20a)){const _0x1a5134=_0x6b5608[_0x4a10c5(0x205)]?_0x6b5608['stderr'][_0x4a10c5(0x1f2)]()['trim']():'',_0xfccab0=_0x6b5608[_0x4a10c5(0x1f6)]?_0x6b5608[_0x4a10c5(0x1f6)][_0x4a10c5(0x1f2)]()[_0x4a10c5(0x208)]():'';if(_0x1a5134)_0x4fd275=_0x1a5134;else{if(_0xfccab0)_0x4fd275=_0xfccab0;}}return{'ok':![],'status':_0xbf6261??null,'error':_0x4fd275};}export function runNpxSkillsAddGlobal(_0x35e354,_0x39cc6c,_0x2696b8){const _0x4cbe9d=a234_0xc69174;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x584376=_0x2696b8?.[_0x4cbe9d(0x1ec)]??_0x4cbe9d(0x1f4),_0x4658a8=resolveNpmBin(_0x4cbe9d(0x1fe)),_0x1203dd=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x39cc6c,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES],_0x46fe70=[_0x4cbe9d(0x1fe),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x39cc6c,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][_0x4cbe9d(0x1f0)]('\x20');console['log']('*\x20'+_0x46fe70);const _0x344b37=spawnSync(_0x4658a8,_0x1203dd,{'cwd':_0x35e354,'stdio':_0x584376,'env':process.env,'shell':![]}),_0x53c5d7=_0x344b37[_0x4cbe9d(0x1f5)];if(_0x53c5d7===0x0)return{'ok':!![],'status':0x0};let _0x49f955=_0x4cbe9d(0x207)+(_0x53c5d7??_0x4cbe9d(0x209));if(_0x584376===_0x4cbe9d(0x20a)){const _0x2aa2e5=_0x344b37['stderr']?_0x344b37['stderr'][_0x4cbe9d(0x1f2)]()[_0x4cbe9d(0x208)]():'',_0x30a91d=_0x344b37[_0x4cbe9d(0x1f6)]?_0x344b37[_0x4cbe9d(0x1f6)][_0x4cbe9d(0x1f2)]()[_0x4cbe9d(0x208)]():'';if(_0x2aa2e5)_0x49f955=_0x2aa2e5;else{if(_0x30a91d)_0x49f955=_0x30a91d;}}return{'ok':![],'status':_0x53c5d7??null,'error':_0x49f955};}
@@ -1 +1 @@
1
- (function(_0x519e11,_0x382c82){const _0x30fbff=a234_0x2639,_0x553322=_0x519e11();while(!![]){try{const _0x5c65a3=parseInt(_0x30fbff(0x1ea))/0x1+parseInt(_0x30fbff(0x1dc))/0x2*(-parseInt(_0x30fbff(0x1ed))/0x3)+-parseInt(_0x30fbff(0x1e6))/0x4+parseInt(_0x30fbff(0x1da))/0x5*(-parseInt(_0x30fbff(0x1de))/0x6)+-parseInt(_0x30fbff(0x1e7))/0x7+-parseInt(_0x30fbff(0x1e3))/0x8*(parseInt(_0x30fbff(0x1e5))/0x9)+-parseInt(_0x30fbff(0x1db))/0xa*(-parseInt(_0x30fbff(0x1e1))/0xb);if(_0x5c65a3===_0x382c82)break;else _0x553322['push'](_0x553322['shift']());}catch(_0x53b5c1){_0x553322['push'](_0x553322['shift']());}}}(a234_0x2525,0x9506f));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';import{getCliVersion}from'../utils/version.js';function a234_0x2525(){const _0x1964d0=['test','4936CtiqVH','flags','2205jPSlop','924744sNEbfp','6841835mGIZkq','error','message','865797EkYptc','rabetbase.command','stringify','1077RZnZaP','service','667015YOYJlC','10yOYlaW','3934tDfNbu','durationMs','42buQtLg','[REDACTED]','entries','30187828DiXxdV'];a234_0x2525=function(){return _0x1964d0;};return a234_0x2525();}const SENSITIVE_PATTERNS=[/cookie/i,/token/i,/password/i,/passwd/i,/secret/i,/auth/i,/session/i,/credential/i,/^value$/i];function isSensitiveKey(_0x3cafe1){const _0x2be282=a234_0x2639;return SENSITIVE_PATTERNS['some'](_0x50b857=>_0x50b857[_0x2be282(0x1e2)](_0x3cafe1));}function a234_0x2639(_0x44fbb0,_0x369f0b){_0x44fbb0=_0x44fbb0-0x1d9;const _0x25259e=a234_0x2525();let _0x263947=_0x25259e[_0x44fbb0];return _0x263947;}function sanitizeFlags(_0x5b9283){const _0x5a1825=a234_0x2639,_0x5beffb={};for(const [_0x4031ea,_0x25b8ad]of Object[_0x5a1825(0x1e0)](_0x5b9283)){isSensitiveKey(_0x4031ea)?_0x5beffb[_0x4031ea]=_0x25b8ad!=null&&_0x25b8ad!==''?_0x5a1825(0x1df):_0x25b8ad:_0x5beffb[_0x4031ea]=_0x25b8ad;}return _0x5beffb;}export async function reportCommandTrace(_0x470dfb){const _0x6bcc33=a234_0x2639;try{const _0x26685a=sanitizeFlags(_0x470dfb[_0x6bcc33(0x1e4)]);await sendCliTraceLog({'spanName':_0x6bcc33(0x1eb),'logData':{'command.cli_version':getCliVersion(),'command.service':_0x470dfb[_0x6bcc33(0x1d9)],'command.name':_0x470dfb['command'],'command.flags':JSON[_0x6bcc33(0x1ec)](_0x26685a),..._0x470dfb[_0x6bcc33(0x1dd)]!=null?{'command.duration_ms':_0x470dfb[_0x6bcc33(0x1dd)]}:{},..._0x470dfb['error']?{'command.error':_0x470dfb['error']instanceof Error?_0x470dfb['error'][_0x6bcc33(0x1e9)]:String(_0x470dfb[_0x6bcc33(0x1e8)])}:{}}});}catch{}}
1
+ (function(_0x140e0b,_0x2d6ec2){const _0x221373=a235_0x2c9d,_0x58f6b6=_0x140e0b();while(!![]){try{const _0x447878=parseInt(_0x221373(0x144))/0x1*(parseInt(_0x221373(0x14a))/0x2)+-parseInt(_0x221373(0x14b))/0x3*(-parseInt(_0x221373(0x147))/0x4)+parseInt(_0x221373(0x155))/0x5+parseInt(_0x221373(0x148))/0x6*(parseInt(_0x221373(0x145))/0x7)+parseInt(_0x221373(0x14d))/0x8*(-parseInt(_0x221373(0x153))/0x9)+parseInt(_0x221373(0x146))/0xa+-parseInt(_0x221373(0x14f))/0xb;if(_0x447878===_0x2d6ec2)break;else _0x58f6b6['push'](_0x58f6b6['shift']());}catch(_0x4870da){_0x58f6b6['push'](_0x58f6b6['shift']());}}}(a235_0x4d30,0x78032));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 a235_0x4d30(){const _0x2edd5f=['durationMs','3065432ykoaNp','stringify','13646853mCAQvS','rabetbase.command','flags','message','18AjSjaS','error','1370640XeQjHV','command','482533qePfMX','607964qbilkR','8807150rGLKCT','44zFZhby','6VkXocK','test','2NBWlud','211179yOZkfO'];a235_0x4d30=function(){return _0x2edd5f;};return a235_0x4d30();}function isSensitiveKey(_0xecb0c4){const _0x24e07d=a235_0x2c9d;return SENSITIVE_PATTERNS['some'](_0x139ae2=>_0x139ae2[_0x24e07d(0x149)](_0xecb0c4));}function sanitizeFlags(_0x6fb0f4){const _0x4dd7bb={};for(const [_0x4b7c79,_0x48a02d]of Object['entries'](_0x6fb0f4)){isSensitiveKey(_0x4b7c79)?_0x4dd7bb[_0x4b7c79]=_0x48a02d!=null&&_0x48a02d!==''?'[REDACTED]':_0x48a02d:_0x4dd7bb[_0x4b7c79]=_0x48a02d;}return _0x4dd7bb;}function a235_0x2c9d(_0x2350f8,_0x90d898){_0x2350f8=_0x2350f8-0x143;const _0x4d3087=a235_0x4d30();let _0x2c9de4=_0x4d3087[_0x2350f8];return _0x2c9de4;}export async function reportCommandTrace(_0x45433c){const _0x39c88f=a235_0x2c9d;try{const _0x929940=sanitizeFlags(_0x45433c[_0x39c88f(0x151)]);await sendCliTraceLog({'spanName':_0x39c88f(0x150),'logData':{'command.cli_version':getCliVersion(),'command.service':_0x45433c['service'],'command.name':_0x45433c[_0x39c88f(0x143)],'command.flags':JSON[_0x39c88f(0x14e)](_0x929940),..._0x45433c[_0x39c88f(0x14c)]!=null?{'command.duration_ms':_0x45433c[_0x39c88f(0x14c)]}:{},..._0x45433c[_0x39c88f(0x154)]?{'command.error':_0x45433c['error']instanceof Error?_0x45433c[_0x39c88f(0x154)][_0x39c88f(0x152)]:String(_0x45433c[_0x39c88f(0x154)])}:{}}});}catch{}}
@@ -1 +1 @@
1
- function a235_0xc42b(_0x35e7b9,_0x49d59a){_0x35e7b9=_0x35e7b9-0x1de;var _0x2639ba=a235_0x2639();var _0xc42b17=_0x2639ba[_0x35e7b9];return _0xc42b17;}(function(_0x39c1b3,_0x141a6b){var _0x152a15=a235_0xc42b,_0x41accc=_0x39c1b3();while(!![]){try{var _0x445ea9=parseInt(_0x152a15(0x1e4))/0x1+parseInt(_0x152a15(0x1e0))/0x2*(parseInt(_0x152a15(0x1de))/0x3)+-parseInt(_0x152a15(0x1e2))/0x4+-parseInt(_0x152a15(0x1e7))/0x5+-parseInt(_0x152a15(0x1df))/0x6+parseInt(_0x152a15(0x1e5))/0x7+parseInt(_0x152a15(0x1e3))/0x8;if(_0x445ea9===_0x141a6b)break;else _0x41accc['push'](_0x41accc['shift']());}catch(_0x2830b6){_0x41accc['push'](_0x41accc['shift']());}}}(a235_0x2639,0x31c5f));function a235_0x2639(){var _0x24ce26=['3996328vENYvW','47412NpFfEo','913801tfmcBv','service','1610855zIjIsM','1203RTnoEf','1093524OzbqHi','1174MSEudp','Failed\x20to\x20report\x20CLI\x20help\x20trace:','818348uNbKIq'];a235_0x2639=function(){return _0x24ce26;};return a235_0x2639();}import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export async function reportCliHelpTrace(_0x23ac5e,_0x20c6af){var _0x5348c4=a235_0xc42b;try{await sendCliTraceLog({'spanName':'cli.help','logData':{'rabetbase.help.kind':_0x23ac5e,..._0x20c6af?.[_0x5348c4(0x1e6)]&&{'rabetbase.help.service':_0x20c6af[_0x5348c4(0x1e6)]}}});}catch(_0x3cae9d){console['error'](_0x5348c4(0x1e1),_0x3cae9d);}}
1
+ (function(_0x20f38c,_0x16b0c7){var _0x533867=a236_0x1fd8,_0x20a312=_0x20f38c();while(!![]){try{var _0x3f6856=-parseInt(_0x533867(0x10e))/0x1+parseInt(_0x533867(0x10a))/0x2+parseInt(_0x533867(0x10f))/0x3*(-parseInt(_0x533867(0x113))/0x4)+-parseInt(_0x533867(0x111))/0x5*(parseInt(_0x533867(0x107))/0x6)+parseInt(_0x533867(0x109))/0x7*(parseInt(_0x533867(0x110))/0x8)+-parseInt(_0x533867(0x106))/0x9+parseInt(_0x533867(0x10d))/0xa*(parseInt(_0x533867(0x112))/0xb);if(_0x3f6856===_0x16b0c7)break;else _0x20a312['push'](_0x20a312['shift']());}catch(_0x20de88){_0x20a312['push'](_0x20a312['shift']());}}}(a236_0x2d60,0x797bc));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';function a236_0x2d60(){var _0x189fef=['1924984Hesujj','Failed\x20to\x20report\x20CLI\x20help\x20trace:','error','1933840vYXpqk','111503MXTuGa','558111ovQZuf','8XjInTY','5udYycP','66FgnZZd','12EFyVHY','4606047aFwZeA','5365704SOvBWA','service','3153367hinYaM'];a236_0x2d60=function(){return _0x189fef;};return a236_0x2d60();}function a236_0x1fd8(_0x8818c0,_0x144f07){_0x8818c0=_0x8818c0-0x106;var _0x2d6014=a236_0x2d60();var _0x1fd893=_0x2d6014[_0x8818c0];return _0x1fd893;}export async function reportCliHelpTrace(_0x74c486,_0x9a70e5){var _0x3578ed=a236_0x1fd8;try{await sendCliTraceLog({'spanName':'cli.help','logData':{'rabetbase.help.kind':_0x74c486,..._0x9a70e5?.[_0x3578ed(0x108)]&&{'rabetbase.help.service':_0x9a70e5[_0x3578ed(0x108)]}}});}catch(_0x47cb08){console[_0x3578ed(0x10c)](_0x3578ed(0x10b),_0x47cb08);}}
@@ -1 +1 @@
1
- (function(_0x41deef,_0x5a9538){const _0x43cc0a=a236_0x3379,_0x4243a0=_0x41deef();while(!![]){try{const _0x5bae65=parseInt(_0x43cc0a(0x1ac))/0x1*(-parseInt(_0x43cc0a(0x1b3))/0x2)+-parseInt(_0x43cc0a(0x1b0))/0x3*(parseInt(_0x43cc0a(0x1a4))/0x4)+parseInt(_0x43cc0a(0x1a9))/0x5*(-parseInt(_0x43cc0a(0x1a3))/0x6)+-parseInt(_0x43cc0a(0x1ad))/0x7+-parseInt(_0x43cc0a(0x1a6))/0x8+-parseInt(_0x43cc0a(0x1a8))/0x9+parseInt(_0x43cc0a(0x1ae))/0xa;if(_0x5bae65===_0x5a9538)break;else _0x4243a0['push'](_0x4243a0['shift']());}catch(_0x518b63){_0x4243a0['push'](_0x4243a0['shift']());}}}(a236_0xf6f0,0x92971));import{VERSION,GIT_COMMIT}from'../generated/build-info.js';import{getSessionUserInfo}from'../auth/get-session-user.js';import{setServiceConfig,setUserContext}from'@lovrabet/otel-logger';function a236_0x3379(_0x22b0a6,_0x2834c4){_0x22b0a6=_0x22b0a6-0x1a3;const _0xf6f051=a236_0xf6f0();let _0x3379cf=_0xf6f051[_0x22b0a6];return _0x3379cf;}function a236_0xf6f0(){const _0x4fa95b=['30FKDtvX','production','nickname','1LSmNXC','2147810pYwPWL','48270530dXwzaM','daily','12YDRird','tenant_code','user','1670566lbPEFR','485916CYdjlg','969632NpYFLz','unknown','8723928IrtflL','email','4846212RnyhcV'];a236_0xf6f0=function(){return _0x4fa95b;};return a236_0xf6f0();}import{NPM_PACKAGE_NAME}from'../constant/cli.js';import{getConfigAppCode}from'../utils/config.js';let cliOtelTraceInitialized=![];export async function ensureCliOtelTraceConfig(){const _0x180a31=a236_0x3379,_0x7d5e88=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x3709aa=_0x7d5e88?.[_0x180a31(0x1b2)];setServiceConfig({'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!==_0x180a31(0x1a5)?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?_0x180a31(0x1af):_0x180a31(0x1aa))}),setUserContext({'id':_0x3709aa?.['id'],'username':_0x3709aa?.['username'],'nickname':_0x3709aa?.[_0x180a31(0x1ab)],'email':_0x3709aa?.[_0x180a31(0x1a7)],'tenantCode':_0x3709aa?.['tenant'][_0x180a31(0x1b1)],'appCode':getConfigAppCode()}),cliOtelTraceInitialized=!![];}return _0x7d5e88;}
1
+ (function(_0x786c2,_0x490bc1){const _0x1341cb=a237_0x1e63,_0xc8c4ab=_0x786c2();while(!![]){try{const _0x4fab37=parseInt(_0x1341cb(0x11a))/0x1*(parseInt(_0x1341cb(0x11c))/0x2)+-parseInt(_0x1341cb(0x11b))/0x3*(-parseInt(_0x1341cb(0x122))/0x4)+parseInt(_0x1341cb(0x114))/0x5*(parseInt(_0x1341cb(0x111))/0x6)+-parseInt(_0x1341cb(0x11e))/0x7+parseInt(_0x1341cb(0x113))/0x8*(-parseInt(_0x1341cb(0x119))/0x9)+-parseInt(_0x1341cb(0x112))/0xa+parseInt(_0x1341cb(0x117))/0xb*(parseInt(_0x1341cb(0x120))/0xc);if(_0x4fab37===_0x490bc1)break;else _0xc8c4ab['push'](_0xc8c4ab['shift']());}catch(_0x2b51cb){_0xc8c4ab['push'](_0xc8c4ab['shift']());}}}(a237_0x1867,0xc6764));function a237_0x1867(){const _0x54efa9=['9813349OTmach','user','3804876pgHvkZ','nickname','44tRDWhR','daily','190884wLkcTt','4483830VTZIRF','3897416idfVTk','5ermprX','unknown','tenant','33GlkMzU','production','9WQLCNC','144219lkodTu','237099hEqubt','18MraHRS','username'];a237_0x1867=function(){return _0x54efa9;};return a237_0x1867();}function a237_0x1e63(_0x348a3e,_0x14040d){_0x348a3e=_0x348a3e-0x111;const _0x186720=a237_0x1867();let _0x1e6367=_0x186720[_0x348a3e];return _0x1e6367;}import{VERSION,GIT_COMMIT}from'../generated/build-info.js';import{getSessionUserInfo}from'../auth/get-session-user.js';import{setServiceConfig,setUserContext}from'@lovrabet/otel-logger';import{NPM_PACKAGE_NAME}from'../constant/cli.js';import{getConfigAppCode}from'../utils/config.js';let cliOtelTraceInitialized=![];export async function ensureCliOtelTraceConfig(){const _0x1d8193=a237_0x1e63,_0xd24fa6=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x1957c8=_0xd24fa6?.[_0x1d8193(0x11f)];setServiceConfig({'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!==_0x1d8193(0x115)?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?_0x1d8193(0x123):_0x1d8193(0x118))}),setUserContext({'id':_0x1957c8?.['id'],'username':_0x1957c8?.[_0x1d8193(0x11d)],'nickname':_0x1957c8?.[_0x1d8193(0x121)],'email':_0x1957c8?.['email'],'tenantCode':_0x1957c8?.[_0x1d8193(0x116)]['tenant_code'],'appCode':getConfigAppCode()}),cliOtelTraceInitialized=!![];}return _0xd24fa6;}
@@ -1 +1 @@
1
- (function(_0x55727d,_0x1f9255){const _0x55a220=a237_0x5322,_0x2e777d=_0x55727d();while(!![]){try{const _0x1fb6e1=parseInt(_0x55a220(0xfa))/0x1*(-parseInt(_0x55a220(0xf8))/0x2)+-parseInt(_0x55a220(0xf0))/0x3+-parseInt(_0x55a220(0xfe))/0x4*(parseInt(_0x55a220(0xf7))/0x5)+-parseInt(_0x55a220(0xf3))/0x6+-parseInt(_0x55a220(0xf4))/0x7+parseInt(_0x55a220(0xf2))/0x8+-parseInt(_0x55a220(0xf9))/0x9*(-parseInt(_0x55a220(0xfb))/0xa);if(_0x1fb6e1===_0x1f9255)break;else _0x2e777d['push'](_0x2e777d['shift']());}catch(_0x3e3bdd){_0x2e777d['push'](_0x2e777d['shift']());}}}(a237_0x4ddf,0x1d79b));import{shutdownTraces}from'@lovrabet/otel-logger';function a237_0x5322(_0x2b8c10,_0x93a4d2){_0x2b8c10=_0x2b8c10-0xef;const _0x4ddff8=a237_0x4ddf();let _0x532276=_0x4ddff8[_0x2b8c10];return _0x532276;}let shutdownPromise=null;export async function flushOtelNodeIfUsed(){if(shutdownPromise)return shutdownPromise;return shutdownPromise=((async()=>{try{await shutdownTraces();}catch{}})()),shutdownPromise;}export function registerOtelShutdownOnExit(){const _0x32981f=a237_0x5322;process[_0x32981f(0xef)](_0x32981f(0xf5),()=>{void flushOtelNodeIfUsed();});const _0x51604f=()=>{const _0x4ba2c9=_0x32981f;void flushOtelNodeIfUsed()[_0x4ba2c9(0xfc)](()=>process[_0x4ba2c9(0xf6)](0x0));};process[_0x32981f(0xef)](_0x32981f(0xfd),_0x51604f),process['once'](_0x32981f(0xf1),_0x51604f);}export async function exitWithOtelShutdown(_0x1195bf){const _0x229089=a237_0x5322;await flushOtelNodeIfUsed(),process[_0x229089(0xf6)](_0x1195bf);}function a237_0x4ddf(){const _0x25b2fa=['SIGINT','34460RUGkUq','once','241977XGTgkg','SIGTERM','1370824yOvLqm','534300fkcnCD','1288322KYGwmC','beforeExit','exit','110jhEEDn','50782iWRgjk','37098kFtDfs','3EGOliv','1380KDXkbs','then'];a237_0x4ddf=function(){return _0x25b2fa;};return a237_0x4ddf();}
1
+ (function(_0x4ff7c9,_0x5933b8){const _0x1abb8e=a238_0x3168,_0x324ee1=_0x4ff7c9();while(!![]){try{const _0x35a673=parseInt(_0x1abb8e(0x11c))/0x1+parseInt(_0x1abb8e(0x11e))/0x2*(parseInt(_0x1abb8e(0x11a))/0x3)+parseInt(_0x1abb8e(0x11f))/0x4*(parseInt(_0x1abb8e(0x128))/0x5)+parseInt(_0x1abb8e(0x124))/0x6+-parseInt(_0x1abb8e(0x127))/0x7*(parseInt(_0x1abb8e(0x126))/0x8)+parseInt(_0x1abb8e(0x121))/0x9+-parseInt(_0x1abb8e(0x120))/0xa;if(_0x35a673===_0x5933b8)break;else _0x324ee1['push'](_0x324ee1['shift']());}catch(_0x372112){_0x324ee1['push'](_0x324ee1['shift']());}}}(a238_0x2215,0x2fca9));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 _0xee3dc9=a238_0x3168;process[_0xee3dc9(0x11d)](_0xee3dc9(0x122),()=>{void flushOtelNodeIfUsed();});const _0xc18857=()=>{const _0x530393=_0xee3dc9;void flushOtelNodeIfUsed()[_0x530393(0x11b)](()=>process[_0x530393(0x119)](0x0));};process[_0xee3dc9(0x11d)](_0xee3dc9(0x123),_0xc18857),process[_0xee3dc9(0x11d)](_0xee3dc9(0x125),_0xc18857);}function a238_0x3168(_0x262401,_0x1a1906){_0x262401=_0x262401-0x119;const _0x2215a9=a238_0x2215();let _0x316884=_0x2215a9[_0x262401];return _0x316884;}export async function exitWithOtelShutdown(_0x274a46){const _0x20a6b4=a238_0x3168;await flushOtelNodeIfUsed(),process[_0x20a6b4(0x119)](_0x274a46);}function a238_0x2215(){const _0x377083=['7721670xYSwmz','2226546gaMEkb','beforeExit','SIGINT','896856fFOJaf','SIGTERM','2478192EPSzHz','7hPrTvA','5OOnBIN','exit','939fmIMSs','then','251008ceiZAp','once','2022VNZBHK','1253492BBYLVt'];a238_0x2215=function(){return _0x377083;};return a238_0x2215();}
@@ -1 +1 @@
1
- const a238_0x224cb8=a238_0x29e9;(function(_0x335ec3,_0x154502){const _0x398597=a238_0x29e9,_0x380838=_0x335ec3();while(!![]){try{const _0xe5fcfa=-parseInt(_0x398597(0xdc))/0x1+parseInt(_0x398597(0xde))/0x2*(-parseInt(_0x398597(0xe1))/0x3)+parseInt(_0x398597(0xdd))/0x4*(-parseInt(_0x398597(0xd8))/0x5)+parseInt(_0x398597(0xda))/0x6+parseInt(_0x398597(0xdb))/0x7+-parseInt(_0x398597(0xe2))/0x8+parseInt(_0x398597(0xd6))/0x9;if(_0xe5fcfa===_0x154502)break;else _0x380838['push'](_0x380838['shift']());}catch(_0x4a16c0){_0x380838['push'](_0x380838['shift']());}}}(a238_0xd8a2,0xf29f5));import{sendTraceLog}from'@lovrabet/otel-logger';function a238_0x29e9(_0x64f098,_0x149e2d){_0x64f098=_0x64f098-0xd5;const _0xd8a26a=a238_0xd8a2();let _0x29e9bb=_0xd8a26a[_0x64f098];return _0x29e9bb;}import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';import{getCliVersion}from'../utils/version.js';const DEFAULT_TRACE_NAME=a238_0x224cb8(0xd7);function a238_0xd8a2(){const _0x52f264=['9622674dOFeNT','4734373CSnCcx','1578156NULZGa','304SHViXD','1654rBAitC','logData','traceName','5151IdJxKQ','1468504qLVmpk','traceparent','20623077sTQmZY','rabetbase-cli','26060ozTZHf','version'];a238_0xd8a2=function(){return _0x52f264;};return a238_0xd8a2();}export async function sendCliTraceLog(_0x478df4){const _0x4923e7=a238_0x224cb8;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x478df4[_0x4923e7(0xe0)]??DEFAULT_TRACE_NAME,'version':_0x478df4[_0x4923e7(0xd9)]??getCliVersion(),'spanName':_0x478df4['spanName'],'eventType':'manual','logData':_0x478df4[_0x4923e7(0xdf)],..._0x478df4['traceparent']&&{'traceparent':_0x478df4[_0x4923e7(0xd5)]}});}
1
+ const a239_0x427d67=a239_0x5d1a;(function(_0xb765ca,_0x45e643){const _0x1fc21a=a239_0x5d1a,_0x406941=_0xb765ca();while(!![]){try{const _0x8560a2=parseInt(_0x1fc21a(0xca))/0x1*(-parseInt(_0x1fc21a(0xd1))/0x2)+parseInt(_0x1fc21a(0xcd))/0x3*(-parseInt(_0x1fc21a(0xce))/0x4)+-parseInt(_0x1fc21a(0xc9))/0x5*(parseInt(_0x1fc21a(0xc5))/0x6)+parseInt(_0x1fc21a(0xc6))/0x7+parseInt(_0x1fc21a(0xc4))/0x8+-parseInt(_0x1fc21a(0xc7))/0x9+parseInt(_0x1fc21a(0xcb))/0xa;if(_0x8560a2===_0x45e643)break;else _0x406941['push'](_0x406941['shift']());}catch(_0x57a2e4){_0x406941['push'](_0x406941['shift']());}}}(a239_0x370c,0xc6d1e));import{sendTraceLog}from'@lovrabet/otel-logger';import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';function a239_0x370c(){const _0xdf3579=['traceName','32058WBUlsr','492xuTQQj','version','traceparent','1987154vmvUff','manual','6087664yBzslJ','7674xYgGtD','6376419vBdEca','7618851wtwlwJ','rabetbase-cli','4785CChvWo','1uDQLlJ','35209880YtTsQq'];a239_0x370c=function(){return _0xdf3579;};return a239_0x370c();}import{getCliVersion}from'../utils/version.js';const DEFAULT_TRACE_NAME=a239_0x427d67(0xc8);function a239_0x5d1a(_0x18c4a5,_0x88118d){_0x18c4a5=_0x18c4a5-0xc3;const _0x370c58=a239_0x370c();let _0x5d1a74=_0x370c58[_0x18c4a5];return _0x5d1a74;}export async function sendCliTraceLog(_0x3e6139){const _0x3b72c1=a239_0x427d67;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x3e6139[_0x3b72c1(0xcc)]??DEFAULT_TRACE_NAME,'version':_0x3e6139[_0x3b72c1(0xcf)]??getCliVersion(),'spanName':_0x3e6139['spanName'],'eventType':_0x3b72c1(0xc3),'logData':_0x3e6139['logData'],..._0x3e6139[_0x3b72c1(0xd0)]&&{'traceparent':_0x3e6139[_0x3b72c1(0xd0)]}});}
@@ -1 +1 @@
1
- const a239_0x30e15b=a239_0x5efe;(function(_0x54c0fb,_0x219b72){const _0x3e37cf=a239_0x5efe,_0x561758=_0x54c0fb();while(!![]){try{const _0x156102=parseInt(_0x3e37cf(0x13a))/0x1*(-parseInt(_0x3e37cf(0x12f))/0x2)+parseInt(_0x3e37cf(0x132))/0x3*(-parseInt(_0x3e37cf(0x135))/0x4)+parseInt(_0x3e37cf(0x13b))/0x5*(parseInt(_0x3e37cf(0x12b))/0x6)+parseInt(_0x3e37cf(0x13c))/0x7+parseInt(_0x3e37cf(0x131))/0x8*(-parseInt(_0x3e37cf(0x139))/0x9)+-parseInt(_0x3e37cf(0x138))/0xa+parseInt(_0x3e37cf(0x130))/0xb;if(_0x156102===_0x219b72)break;else _0x561758['push'](_0x561758['shift']());}catch(_0x1acbfd){_0x561758['push'](_0x561758['shift']());}}}(a239_0x474f,0x3d695));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export const PLATFORM_ISSUE_TRACE_NAME='platform-issue-log-collect';export const PLATFORM_ISSUE_SPAN_NAME=a239_0x30e15b(0x12d);function a239_0x5efe(_0x21a084,_0x3d6389){_0x21a084=_0x21a084-0x12a;const _0x474f79=a239_0x474f();let _0x5efe37=_0x474f79[_0x21a084];return _0x5efe37;}export async function sendPlatformIssueCollectLog(_0x8ff09f){const _0x528e71=a239_0x30e15b;await sendCliTraceLog({'traceName':PLATFORM_ISSUE_TRACE_NAME,'spanName':PLATFORM_ISSUE_SPAN_NAME,'logData':{'issue.title':_0x8ff09f[_0x528e71(0x13d)],'issue.description':_0x8ff09f[_0x528e71(0x137)],..._0x8ff09f['sanitize']?{'issue.description_original_bytes':_0x8ff09f[_0x528e71(0x12c)][_0x528e71(0x134)],'issue.description_truncated':_0x8ff09f[_0x528e71(0x12c)][_0x528e71(0x12a)],'issue.description_redactions':_0x8ff09f[_0x528e71(0x12c)][_0x528e71(0x136)],'issue.description_redaction_kinds':_0x8ff09f['sanitize'][_0x528e71(0x133)][_0x528e71(0x12e)](',')}:{}}});}function a239_0x474f(){const _0x12ee50=['2VuviHB','10IzVDyM','1436134ksQMfN','title','truncated','1181274hYWWyG','sanitize','issue.log.collect','join','237172halvCI','6497414TcbZeX','1529072lIzGZJ','165cVtuPR','redactionKinds','originalBytes','31988lPIyKl','redactionCount','description','699120DOnfYs','9NMxoGh'];a239_0x474f=function(){return _0x12ee50;};return a239_0x474f();}
1
+ function a240_0x1c27(){const _0x5bec79=['181024GwFPNT','27xtXIKN','description','sanitize','issue.log.collect','2966EkPgRo','7038521PdxKzx','2132090ZgwZxk','join','4731040oCgYJm','4422590SizwzM','truncated','redactionKinds','4516506BCHSlI','platform-issue-log-collect','9xJTZYz','481DJOVzG'];a240_0x1c27=function(){return _0x5bec79;};return a240_0x1c27();}function a240_0x5358(_0x573b7d,_0x43848c){_0x573b7d=_0x573b7d-0x183;const _0x1c27d7=a240_0x1c27();let _0x535873=_0x1c27d7[_0x573b7d];return _0x535873;}const a240_0x228805=a240_0x5358;(function(_0x2a0ef8,_0x18c774){const _0x2e8fb9=a240_0x5358,_0x4d60d7=_0x2a0ef8();while(!![]){try{const _0x330067=-parseInt(_0x2e8fb9(0x185))/0x1*(parseInt(_0x2e8fb9(0x18b))/0x2)+parseInt(_0x2e8fb9(0x187))/0x3*(-parseInt(_0x2e8fb9(0x186))/0x4)+parseInt(_0x2e8fb9(0x190))/0x5+-parseInt(_0x2e8fb9(0x193))/0x6+parseInt(_0x2e8fb9(0x18c))/0x7+parseInt(_0x2e8fb9(0x18f))/0x8+parseInt(_0x2e8fb9(0x184))/0x9*(parseInt(_0x2e8fb9(0x18d))/0xa);if(_0x330067===_0x18c774)break;else _0x4d60d7['push'](_0x4d60d7['shift']());}catch(_0x1b6205){_0x4d60d7['push'](_0x4d60d7['shift']());}}}(a240_0x1c27,0xc87f0));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export const PLATFORM_ISSUE_TRACE_NAME=a240_0x228805(0x183);export const PLATFORM_ISSUE_SPAN_NAME=a240_0x228805(0x18a);export async function sendPlatformIssueCollectLog(_0x48c508){const _0x1787ec=a240_0x228805;await sendCliTraceLog({'traceName':PLATFORM_ISSUE_TRACE_NAME,'spanName':PLATFORM_ISSUE_SPAN_NAME,'logData':{'issue.title':_0x48c508['title'],'issue.description':_0x48c508[_0x1787ec(0x188)],..._0x48c508[_0x1787ec(0x189)]?{'issue.description_original_bytes':_0x48c508['sanitize']['originalBytes'],'issue.description_truncated':_0x48c508[_0x1787ec(0x189)][_0x1787ec(0x191)],'issue.description_redactions':_0x48c508[_0x1787ec(0x189)]['redactionCount'],'issue.description_redaction_kinds':_0x48c508[_0x1787ec(0x189)][_0x1787ec(0x192)][_0x1787ec(0x18e)](',')}:{}}});}
@@ -1 +1 @@
1
- function a241_0x2fcf(_0xa9477b,_0x33f0e3){_0xa9477b=_0xa9477b-0x1e8;const _0xde02f6=a241_0xde02();let _0x2fcfb6=_0xde02f6[_0xa9477b];return _0x2fcfb6;}function a241_0xde02(){const _0x3661ba=['18137kPyiIi','10657920lttztq','.claude/skills/lovrabet/SKILL.md','cursor','4551VeauJf','file','Claude\x20Code','Trae\x20IDE','745ZlmJNp','antigravity','Windsurf','Cursor\x20IDE','Antigravity','cline','.cline/skills/lovrabet/SKILL.md','.agent','trae','windsurf','376MLAPbQ','.qoder/rules/rabetbase.md','.codebuddy/skills/lovrabet/SKILL.md','.claude','.cursor/skills/rabetbase.md','opencode','.windsurf','claude','qoder','.cursor','.cline','.qoder/skills/lovrabet/SKILL.md','4829470XpOwbi','Trae','通用模板\x20-\x20兜底方案','Cursor','.agent/skills/lovrabet/SKILL.md','SKILL.md.tpl','codebuddy','Cline','Qoder\x20IDE','.codex','Codex\x20IDE','Antigravity\x20IDE','2934ObCDdZ','.opencode','10036184YBaDMI','.codebuddy','.windsurf/workflows/rabetbase.md','Codex','3662163cLoSPj','codex','2722Pxjcea','CodeBuddy','OpenCode','其他\x20(通用模板)'];a241_0xde02=function(){return _0x3661ba;};return a241_0xde02();}const a241_0x34a5b6=a241_0x2fcf;(function(_0x1cc2b4,_0x2d4850){const _0x449d72=a241_0x2fcf,_0x317220=_0x1cc2b4();while(!![]){try{const _0x59e6da=parseInt(_0x449d72(0x1f6))/0x1*(parseInt(_0x449d72(0x1ea))/0x2)+parseInt(_0x449d72(0x1f2))/0x3*(-parseInt(_0x449d72(0x200))/0x4)+parseInt(_0x449d72(0x20c))/0x5+parseInt(_0x449d72(0x218))/0x6*(-parseInt(_0x449d72(0x1ee))/0x7)+-parseInt(_0x449d72(0x21a))/0x8+parseInt(_0x449d72(0x1e8))/0x9+parseInt(_0x449d72(0x1ef))/0xa;if(_0x59e6da===_0x2d4850)break;else _0x317220['push'](_0x317220['shift']());}catch(_0x5e97f6){_0x317220['push'](_0x317220['shift']());}}}(a241_0xde02,0xc07c2));export const CORE_IDE_CONFIGS={'cursor':{'name':a241_0x34a5b6(0x20f),'description':a241_0x34a5b6(0x1f9),'folders':['.cursorrules',a241_0x34a5b6(0x209)],'files':[{'type':'file','path':a241_0x34a5b6(0x204),'template':a241_0x34a5b6(0x211)}]},'windsurf':{'name':a241_0x34a5b6(0x1f8),'description':'Windsurf\x20IDE','folders':[a241_0x34a5b6(0x206)],'files':[{'type':a241_0x34a5b6(0x1f3),'path':a241_0x34a5b6(0x21c),'template':a241_0x34a5b6(0x211)}]},'claude':{'name':a241_0x34a5b6(0x1f4),'description':a241_0x34a5b6(0x1f4),'folders':[a241_0x34a5b6(0x203)],'files':[{'type':a241_0x34a5b6(0x1f3),'path':a241_0x34a5b6(0x1f0),'template':a241_0x34a5b6(0x211)}]},'cline':{'name':a241_0x34a5b6(0x213),'description':'Cline\x20IDE','folders':[a241_0x34a5b6(0x20a)],'files':[{'type':a241_0x34a5b6(0x1f3),'path':a241_0x34a5b6(0x1fc),'template':'SKILL.md.tpl'}]},'codex':{'name':a241_0x34a5b6(0x21d),'description':a241_0x34a5b6(0x216),'folders':[a241_0x34a5b6(0x215)],'files':[{'type':a241_0x34a5b6(0x1f3),'path':'.codex/skills/lovrabet/SKILL.md','template':'SKILL.md.tpl'}]},'opencode':{'name':a241_0x34a5b6(0x1ec),'description':'OpenCode\x20IDE','folders':[a241_0x34a5b6(0x219)],'files':[{'type':a241_0x34a5b6(0x1f3),'path':'.opencode/skills/lovrabet/SKILL.md','template':'SKILL.md.tpl'}]},'qoder':{'name':'Qoder','description':a241_0x34a5b6(0x214),'folders':['.qoder'],'files':[{'type':a241_0x34a5b6(0x1f3),'path':a241_0x34a5b6(0x201),'template':a241_0x34a5b6(0x211)},{'type':'file','path':a241_0x34a5b6(0x20b),'template':a241_0x34a5b6(0x211)}]},'codebuddy':{'name':a241_0x34a5b6(0x1eb),'description':'CodeBuddy\x20IDE','folders':[a241_0x34a5b6(0x21b)],'files':[{'type':a241_0x34a5b6(0x1f3),'path':a241_0x34a5b6(0x202),'template':a241_0x34a5b6(0x211)}]},'trae':{'name':a241_0x34a5b6(0x20d),'description':a241_0x34a5b6(0x1f5),'folders':['.trae'],'files':[{'type':a241_0x34a5b6(0x1f3),'path':'.trae/skills/lovrabet/SKILL.md','template':'SKILL.md.tpl'}]}};export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':a241_0x34a5b6(0x1ed),'description':a241_0x34a5b6(0x20e),'folders':[a241_0x34a5b6(0x1fd)],'files':[{'type':a241_0x34a5b6(0x1f3),'path':'.agent/skills/lovrabet/SKILL.md','template':a241_0x34a5b6(0x211)}]},'antigravity':{'name':a241_0x34a5b6(0x1fa),'description':a241_0x34a5b6(0x217),'folders':['.agent'],'files':[{'type':a241_0x34a5b6(0x1f3),'path':a241_0x34a5b6(0x210),'template':a241_0x34a5b6(0x211)}]}};export const CORE_IDE_LIST=[a241_0x34a5b6(0x207),'cline',a241_0x34a5b6(0x212),'codex','cursor',a241_0x34a5b6(0x205),'qoder','trae',a241_0x34a5b6(0x1ff)];export const IDE_LIST=[a241_0x34a5b6(0x1f7),a241_0x34a5b6(0x207),'cline','codebuddy','codex',a241_0x34a5b6(0x1f1),a241_0x34a5b6(0x205),'qoder',a241_0x34a5b6(0x1fe),a241_0x34a5b6(0x1ff),'agent'];export const ALL_CORE_IDES=[a241_0x34a5b6(0x1f1),a241_0x34a5b6(0x1ff),a241_0x34a5b6(0x207),a241_0x34a5b6(0x1fb),a241_0x34a5b6(0x1e9),'opencode',a241_0x34a5b6(0x208),'codebuddy',a241_0x34a5b6(0x1fe)];
1
+ function a242_0x12f9(_0x1e6fbc,_0x36641a){_0x1e6fbc=_0x1e6fbc-0xc6;const _0x4c8cd6=a242_0x4c8c();let _0x12f996=_0x4c8cd6[_0x1e6fbc];return _0x12f996;}const a242_0x294a3c=a242_0x12f9;function a242_0x4c8c(){const _0x59404c=['Codex\x20IDE','Trae\x20IDE','3688688aDmmlA','Cline\x20IDE','cursor','通用模板\x20-\x20兜底方案','file','Qoder\x20IDE','qoder','111fTwwUN','Codex','.windsurf','3301925ecwhzt','8766scoNXU','Windsurf','.cursor','1188642QySjNa','.codex','.codex/skills/lovrabet/SKILL.md','.cline','windsurf','Cursor','claude','.agent/skills/lovrabet/SKILL.md','SKILL.md.tpl','trae','.agent','.claude','opencode','.opencode','.codebuddy/skills/lovrabet/SKILL.md','.windsurf/workflows/rabetbase.md','.codebuddy','.qoder/rules/rabetbase.md','codebuddy','.opencode/skills/lovrabet/SKILL.md','.trae','agent','Windsurf\x20IDE','Antigravity\x20IDE','.claude/skills/lovrabet/SKILL.md','CodeBuddy','.qoder/skills/lovrabet/SKILL.md','Qoder','Cursor\x20IDE','100434vrvdrE','codex','Antigravity','其他\x20(通用模板)','antigravity','5548392JysDqL','Cline','Claude\x20Code','6twfJPe','344352fgTBCV'];a242_0x4c8c=function(){return _0x59404c;};return a242_0x4c8c();}(function(_0x180827,_0x5e1c68){const _0x1260b4=a242_0x12f9,_0x56995a=_0x180827();while(!![]){try{const _0x4fe8cc=parseInt(_0x1260b4(0xdf))/0x1+parseInt(_0x1260b4(0xf6))/0x2*(-parseInt(_0x1260b4(0xf2))/0x3)+parseInt(_0x1260b4(0xe8))/0x4+-parseInt(_0x1260b4(0xf5))/0x5*(-parseInt(_0x1260b4(0xe7))/0x6)+-parseInt(_0x1260b4(0xf9))/0x7+parseInt(_0x1260b4(0xeb))/0x8+-parseInt(_0x1260b4(0xe4))/0x9;if(_0x4fe8cc===_0x5e1c68)break;else _0x56995a['push'](_0x56995a['shift']());}catch(_0x473231){_0x56995a['push'](_0x56995a['shift']());}}}(a242_0x4c8c,0x57c68));export const CORE_IDE_CONFIGS={'cursor':{'name':a242_0x294a3c(0xc7),'description':a242_0x294a3c(0xde),'folders':['.cursorrules',a242_0x294a3c(0xf8)],'files':[{'type':a242_0x294a3c(0xef),'path':'.cursor/skills/rabetbase.md','template':a242_0x294a3c(0xca)}]},'windsurf':{'name':a242_0x294a3c(0xf7),'description':a242_0x294a3c(0xd8),'folders':[a242_0x294a3c(0xf4)],'files':[{'type':a242_0x294a3c(0xef),'path':a242_0x294a3c(0xd1),'template':a242_0x294a3c(0xca)}]},'claude':{'name':a242_0x294a3c(0xe6),'description':'Claude\x20Code','folders':[a242_0x294a3c(0xcd)],'files':[{'type':a242_0x294a3c(0xef),'path':a242_0x294a3c(0xda),'template':a242_0x294a3c(0xca)}]},'cline':{'name':a242_0x294a3c(0xe5),'description':a242_0x294a3c(0xec),'folders':[a242_0x294a3c(0xfc)],'files':[{'type':a242_0x294a3c(0xef),'path':'.cline/skills/lovrabet/SKILL.md','template':'SKILL.md.tpl'}]},'codex':{'name':a242_0x294a3c(0xf3),'description':a242_0x294a3c(0xe9),'folders':[a242_0x294a3c(0xfa)],'files':[{'type':a242_0x294a3c(0xef),'path':a242_0x294a3c(0xfb),'template':'SKILL.md.tpl'}]},'opencode':{'name':'OpenCode','description':'OpenCode\x20IDE','folders':[a242_0x294a3c(0xcf)],'files':[{'type':a242_0x294a3c(0xef),'path':a242_0x294a3c(0xd5),'template':'SKILL.md.tpl'}]},'qoder':{'name':a242_0x294a3c(0xdd),'description':a242_0x294a3c(0xf0),'folders':['.qoder'],'files':[{'type':a242_0x294a3c(0xef),'path':a242_0x294a3c(0xd3),'template':a242_0x294a3c(0xca)},{'type':a242_0x294a3c(0xef),'path':a242_0x294a3c(0xdc),'template':a242_0x294a3c(0xca)}]},'codebuddy':{'name':a242_0x294a3c(0xdb),'description':'CodeBuddy\x20IDE','folders':[a242_0x294a3c(0xd2)],'files':[{'type':a242_0x294a3c(0xef),'path':a242_0x294a3c(0xd0),'template':a242_0x294a3c(0xca)}]},'trae':{'name':'Trae','description':a242_0x294a3c(0xea),'folders':[a242_0x294a3c(0xd6)],'files':[{'type':a242_0x294a3c(0xef),'path':'.trae/skills/lovrabet/SKILL.md','template':'SKILL.md.tpl'}]}};export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':a242_0x294a3c(0xe2),'description':a242_0x294a3c(0xee),'folders':[a242_0x294a3c(0xcc)],'files':[{'type':'file','path':a242_0x294a3c(0xc9),'template':a242_0x294a3c(0xca)}]},'antigravity':{'name':a242_0x294a3c(0xe1),'description':a242_0x294a3c(0xd9),'folders':[a242_0x294a3c(0xcc)],'files':[{'type':a242_0x294a3c(0xef),'path':a242_0x294a3c(0xc9),'template':a242_0x294a3c(0xca)}]}};export const CORE_IDE_LIST=[a242_0x294a3c(0xc8),'cline',a242_0x294a3c(0xd4),'codex',a242_0x294a3c(0xed),'opencode',a242_0x294a3c(0xf1),a242_0x294a3c(0xcb),a242_0x294a3c(0xc6)];export const IDE_LIST=[a242_0x294a3c(0xe3),a242_0x294a3c(0xc8),'cline','codebuddy',a242_0x294a3c(0xe0),a242_0x294a3c(0xed),a242_0x294a3c(0xce),'qoder',a242_0x294a3c(0xcb),a242_0x294a3c(0xc6),a242_0x294a3c(0xd7)];export const ALL_CORE_IDES=['cursor',a242_0x294a3c(0xc6),a242_0x294a3c(0xc8),'cline',a242_0x294a3c(0xe0),a242_0x294a3c(0xce),'qoder',a242_0x294a3c(0xd4),a242_0x294a3c(0xcb)];
@@ -1 +1 @@
1
- (function(_0x3ca8ad,_0x425579){const _0x32c99b=a242_0x330f,_0x5cb10c=_0x3ca8ad();while(!![]){try{const _0x828ada=parseInt(_0x32c99b(0x1a0))/0x1+-parseInt(_0x32c99b(0x19e))/0x2+parseInt(_0x32c99b(0x19c))/0x3*(parseInt(_0x32c99b(0x19f))/0x4)+parseInt(_0x32c99b(0x19d))/0x5*(-parseInt(_0x32c99b(0x199))/0x6)+parseInt(_0x32c99b(0x1a3))/0x7*(parseInt(_0x32c99b(0x19a))/0x8)+-parseInt(_0x32c99b(0x1a1))/0x9+parseInt(_0x32c99b(0x1a2))/0xa*(parseInt(_0x32c99b(0x19b))/0xb);if(_0x828ada===_0x425579)break;else _0x5cb10c['push'](_0x5cb10c['shift']());}catch(_0x15602e){_0x5cb10c['push'](_0x5cb10c['shift']());}}}(a242_0x5199,0x96ac1));import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a242_0x330f(_0x1b9cf7,_0x583f88){_0x1b9cf7=_0x1b9cf7-0x199;const _0x519986=a242_0x5199();let _0x330f47=_0x519986[_0x1b9cf7];return _0x330f47;}export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});function a242_0x5199(){const _0x22bc4d=['40527uPGaZT','840upIyjg','260558ooRzHu','56nHXaoD','910508ZEFBaF','10758762JVLXrw','1012530eSeJlY','21Kivjlv','40446ojIyDH','678408HVERRy','187qmAdXM'];a242_0x5199=function(){return _0x22bc4d;};return a242_0x5199();}
1
+ (function(_0x3caf62,_0x39062f){const _0x2ed889=a243_0x3f0d,_0x5c3909=_0x3caf62();while(!![]){try{const _0x53b0d7=-parseInt(_0x2ed889(0x1f3))/0x1+-parseInt(_0x2ed889(0x1f5))/0x2*(-parseInt(_0x2ed889(0x1f0))/0x3)+parseInt(_0x2ed889(0x1f2))/0x4*(-parseInt(_0x2ed889(0x1ef))/0x5)+parseInt(_0x2ed889(0x1ec))/0x6+-parseInt(_0x2ed889(0x1f6))/0x7+-parseInt(_0x2ed889(0x1ed))/0x8*(parseInt(_0x2ed889(0x1f1))/0x9)+-parseInt(_0x2ed889(0x1ee))/0xa*(-parseInt(_0x2ed889(0x1f4))/0xb);if(_0x53b0d7===_0x39062f)break;else _0x5c3909['push'](_0x5c3909['shift']());}catch(_0x11bdfa){_0x5c3909['push'](_0x5c3909['shift']());}}}(a243_0x5995,0xea66f));function a243_0x5995(){const _0x3c33dc=['11fjKvbU','118eLYHPB','11531520jqPhgR','51636EFzdXz','24nTWGkH','50226730dinpTP','324690sYerKC','8640lECRNh','2041947rfYEtq','4iPNLbx','1848141NAGhOK'];a243_0x5995=function(){return _0x3c33dc;};return a243_0x5995();}import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a243_0x3f0d(_0x3a578b,_0x32935b){_0x3a578b=_0x3a578b-0x1ec;const _0x59950e=a243_0x5995();let _0x3f0d81=_0x59950e[_0x3a578b];return _0x3f0d81;}import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
@@ -1 +1 @@
1
- (function(_0x712861,_0x16f64c){const _0x18ef0c=a243_0x2c77,_0xfbc0ea=_0x712861();while(!![]){try{const _0x327cb5=parseInt(_0x18ef0c(0xf4))/0x1*(-parseInt(_0x18ef0c(0xe9))/0x2)+-parseInt(_0x18ef0c(0xf6))/0x3+parseInt(_0x18ef0c(0xea))/0x4*(parseInt(_0x18ef0c(0xee))/0x5)+-parseInt(_0x18ef0c(0xf2))/0x6*(-parseInt(_0x18ef0c(0xe8))/0x7)+-parseInt(_0x18ef0c(0xed))/0x8+parseInt(_0x18ef0c(0xf3))/0x9*(-parseInt(_0x18ef0c(0xf5))/0xa)+parseInt(_0x18ef0c(0xf8))/0xb;if(_0x327cb5===_0x16f64c)break;else _0xfbc0ea['push'](_0xfbc0ea['shift']());}catch(_0x5947bb){_0xfbc0ea['push'](_0xfbc0ea['shift']());}}}(a243_0x352d,0x55e7f));import{getTemplateBaseUrl}from'../utils/config.js';function a243_0x352d(){const _0x37fe3f=['sdk','now','3266232HqfeOP','27GdIUUC','41qvxswN','1548920zRZPlN','1476576tYxMBZ','node','9613945sbtxVV','/config/index.json','7zSsvMl','21650HZtgWy','2316984gtQDDS','/config.json','application/json','1960392YZsbtF','5HZOYoN','stableVersion'];a243_0x352d=function(){return _0x37fe3f;};return a243_0x352d();}function a243_0x2c77(_0x6285de,_0x38dc2b){_0x6285de=_0x6285de-0xe7;const _0x352db3=a243_0x352d();let _0x2c77d0=_0x352db3[_0x6285de];return _0x2c77d0;}export async function fetchCdnConfig(){const _0x4bc802=a243_0x2c77,_0x1c0b7b=getTemplateBaseUrl(),_0x3a4157=[_0x1c0b7b+_0x4bc802(0xeb),_0x1c0b7b+_0x4bc802(0xe7)];for(const _0xe9729 of _0x3a4157){try{const _0x2331a0=await fetch(_0xe9729,{'headers':{'Accept':_0x4bc802(0xec)}});if(!_0x2331a0['ok'])continue;const _0x3393d4=await _0x2331a0['json']();if(!_0x3393d4['cli']?.[_0x4bc802(0xef)]||!_0x3393d4[_0x4bc802(0xf0)]?.[_0x4bc802(0xf7)]?.[_0x4bc802(0xef)])continue;return _0x3393d4;}catch{}}return null;}let cachedConfig=null,cacheTime=0x0;const CACHE_TTL=0x5*0x3c*0x3e8,FAILURE_CACHE_TTL=0x3c*0x3e8;let hasCachedConfig=![];export async function getCdnConfig(){const _0x3c31f4=a243_0x2c77,_0x607a07=Date[_0x3c31f4(0xf1)]();if(hasCachedConfig){const _0x3460d7=cachedConfig?CACHE_TTL:FAILURE_CACHE_TTL;if(_0x607a07-cacheTime<_0x3460d7)return cachedConfig;}const _0x51d8e1=await fetchCdnConfig();return cachedConfig=_0x51d8e1,cacheTime=_0x607a07,hasCachedConfig=!![],_0x51d8e1;}export function clearCdnConfigCache(){cachedConfig=null,cacheTime=0x0,hasCachedConfig=![];}
1
+ (function(_0x1d1193,_0x4e26eb){const _0x24959c=a244_0x435d,_0x1dfd41=_0x1d1193();while(!![]){try{const _0xfdcb80=parseInt(_0x24959c(0x1b4))/0x1*(-parseInt(_0x24959c(0x1ac))/0x2)+-parseInt(_0x24959c(0x1af))/0x3+-parseInt(_0x24959c(0x1ae))/0x4+-parseInt(_0x24959c(0x1b1))/0x5*(-parseInt(_0x24959c(0x1a6))/0x6)+-parseInt(_0x24959c(0x1b2))/0x7*(parseInt(_0x24959c(0x1b0))/0x8)+parseInt(_0x24959c(0x1b3))/0x9+parseInt(_0x24959c(0x1aa))/0xa;if(_0xfdcb80===_0x4e26eb)break;else _0x1dfd41['push'](_0x1dfd41['shift']());}catch(_0x327ba5){_0x1dfd41['push'](_0x1dfd41['shift']());}}}(a244_0x1b20,0x4dae7));import{getTemplateBaseUrl}from'../utils/config.js';export async function fetchCdnConfig(){const _0x34f8e3=a244_0x435d,_0x2a2df5=getTemplateBaseUrl(),_0x5d3b82=[_0x2a2df5+_0x34f8e3(0x1a9),_0x2a2df5+_0x34f8e3(0x1a4)];for(const _0x322026 of _0x5d3b82){try{const _0x4fcbbd=await fetch(_0x322026,{'headers':{'Accept':_0x34f8e3(0x1a8)}});if(!_0x4fcbbd['ok'])continue;const _0x3609f9=await _0x4fcbbd[_0x34f8e3(0x1ad)]();if(!_0x3609f9[_0x34f8e3(0x1a5)]?.[_0x34f8e3(0x1a7)]||!_0x3609f9[_0x34f8e3(0x1ab)]?.['node']?.[_0x34f8e3(0x1a7)])continue;return _0x3609f9;}catch{}}return null;}let cachedConfig=null,cacheTime=0x0;const CACHE_TTL=0x5*0x3c*0x3e8,FAILURE_CACHE_TTL=0x3c*0x3e8;function a244_0x435d(_0xa5ca2d,_0x584251){_0xa5ca2d=_0xa5ca2d-0x1a4;const _0x1b20c4=a244_0x1b20();let _0x435d81=_0x1b20c4[_0xa5ca2d];return _0x435d81;}let hasCachedConfig=![];function a244_0x1b20(){const _0x157be7=['16lyOghE','5tObOQR','1147587BohxyN','746523KLfuxP','61037wyzstO','/config/index.json','cli','2922438hnTSEy','stableVersion','application/json','/config.json','3089470sAhPkl','sdk','2nRyBfi','json','543988QAxjws','107604xtwTVS'];a244_0x1b20=function(){return _0x157be7;};return a244_0x1b20();}export async function getCdnConfig(){const _0x3d4868=Date['now']();if(hasCachedConfig){const _0x49e840=cachedConfig?CACHE_TTL:FAILURE_CACHE_TTL;if(_0x3d4868-cacheTime<_0x49e840)return cachedConfig;}const _0x1686cb=await fetchCdnConfig();return cachedConfig=_0x1686cb,cacheTime=_0x3d4868,hasCachedConfig=!![],_0x1686cb;}export function clearCdnConfigCache(){cachedConfig=null,cacheTime=0x0,hasCachedConfig=![];}