@lovrabet/rabetbase-cli 2.3.13 → 2.3.14

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/lib/api/api-doc.js +1 -1
  2. package/lib/api/fetch-model-list.js +1 -1
  3. package/lib/api/generate-api-file.js +1 -1
  4. package/lib/auth/auth-server-ui.js +1 -1
  5. package/lib/auth/auth-server.js +1 -1
  6. package/lib/auth/constant.js +1 -1
  7. package/lib/auth/get-cookie.js +1 -1
  8. package/lib/auth/get-session-user.js +1 -1
  9. package/lib/auth/is-session-valid.js +1 -1
  10. package/lib/auth/login-success-html.js +1 -1
  11. package/lib/auth/logout.js +1 -1
  12. package/lib/cli-flags.js +1 -1
  13. package/lib/cli.js +1 -1
  14. package/lib/commands/api/generate.js +1 -1
  15. package/lib/commands/api/index.js +1 -1
  16. package/lib/commands/api/list.js +1 -1
  17. package/lib/commands/api/pull.js +1 -1
  18. package/lib/commands/api/shared.js +1 -1
  19. package/lib/commands/app/add.js +1 -1
  20. package/lib/commands/app/index.js +1 -1
  21. package/lib/commands/app/list.js +1 -1
  22. package/lib/commands/app/remote-directory.js +1 -1
  23. package/lib/commands/app/remove.js +1 -1
  24. package/lib/commands/app/shared.js +1 -1
  25. package/lib/commands/app-config/delete.js +1 -1
  26. package/lib/commands/app-config/get.js +1 -1
  27. package/lib/commands/app-config/index.js +1 -1
  28. package/lib/commands/app-config/list.js +1 -1
  29. package/lib/commands/app-config/set.js +1 -1
  30. package/lib/commands/app-config/shared.js +1 -1
  31. package/lib/commands/auth/index.js +1 -1
  32. package/lib/commands/bff/create.js +1 -1
  33. package/lib/commands/bff/delete.js +1 -1
  34. package/lib/commands/bff/detail.js +1 -1
  35. package/lib/commands/bff/index.js +1 -1
  36. package/lib/commands/bff/list.js +1 -1
  37. package/lib/commands/bff/pull.js +1 -1
  38. package/lib/commands/bff/push.js +1 -1
  39. package/lib/commands/bff/status.js +1 -1
  40. package/lib/commands/cli-skill/index.js +1 -1
  41. package/lib/commands/cli-update.js +1 -1
  42. package/lib/commands/codegen/index.js +1 -1
  43. package/lib/commands/codegen/sdk.js +1 -1
  44. package/lib/commands/codegen/sql.js +1 -1
  45. package/lib/commands/common/app-registry.js +1 -1
  46. package/lib/commands/common/app-selector.js +1 -1
  47. package/lib/commands/common/async-task.js +1 -1
  48. package/lib/commands/common/dry-run.js +1 -1
  49. package/lib/commands/common/flags.js +1 -1
  50. package/lib/commands/common/local-file.js +1 -1
  51. package/lib/commands/common/validate.js +1 -1
  52. package/lib/commands/config/get.js +1 -1
  53. package/lib/commands/config/index.js +1 -1
  54. package/lib/commands/config/list.js +1 -1
  55. package/lib/commands/config/set.js +1 -1
  56. package/lib/commands/config/shared.js +1 -1
  57. package/lib/commands/data/filter.js +1 -1
  58. package/lib/commands/data/getOne.js +1 -1
  59. package/lib/commands/data/index.js +1 -1
  60. package/lib/commands/data/shared.js +1 -1
  61. package/lib/commands/dataset/business-group-update.js +1 -1
  62. package/lib/commands/dataset/capability.js +1 -1
  63. package/lib/commands/dataset/delete.js +1 -1
  64. package/lib/commands/dataset/detail.js +1 -1
  65. package/lib/commands/dataset/extend-update.js +1 -1
  66. package/lib/commands/dataset/field-update.js +1 -1
  67. package/lib/commands/dataset/generate.js +1 -1
  68. package/lib/commands/dataset/index.js +1 -1
  69. package/lib/commands/dataset/list.js +1 -1
  70. package/lib/commands/dataset/operations.js +1 -1
  71. package/lib/commands/dataset/relation-audit.js +1 -1
  72. package/lib/commands/dataset/relation-create.js +1 -1
  73. package/lib/commands/dataset/relation-delete.js +1 -1
  74. package/lib/commands/dataset/relation-shared.js +1 -1
  75. package/lib/commands/dataset/relation-update.js +1 -1
  76. package/lib/commands/dataset/relations.js +1 -1
  77. package/lib/commands/dataset/rename.js +1 -1
  78. package/lib/commands/dataset/restore.js +1 -1
  79. package/lib/commands/db/analysis-batching.js +1 -1
  80. package/lib/commands/db/analyze-batch-plan.js +1 -1
  81. package/lib/commands/db/analyze-cancel.js +1 -1
  82. package/lib/commands/db/analyze-start.js +1 -1
  83. package/lib/commands/db/analyze-status.js +1 -1
  84. package/lib/commands/db/create.js +1 -1
  85. package/lib/commands/db/delete.js +1 -1
  86. package/lib/commands/db/detail.js +1 -1
  87. package/lib/commands/db/diff.js +1 -1
  88. package/lib/commands/db/index.js +1 -1
  89. package/lib/commands/db/list.js +1 -1
  90. package/lib/commands/db/shared.js +1 -1
  91. package/lib/commands/db/tables.js +1 -1
  92. package/lib/commands/db/test.js +1 -1
  93. package/lib/commands/db/update.js +1 -1
  94. package/lib/commands/doctor.js +1 -1
  95. package/lib/commands/file/index.js +1 -1
  96. package/lib/commands/init/index.js +1 -1
  97. package/lib/commands/issue/index.js +1 -1
  98. package/lib/commands/issue/nudge.js +1 -1
  99. package/lib/commands/issue/report.js +1 -1
  100. package/lib/commands/issue/shared.js +1 -1
  101. package/lib/commands/logs/index.js +1 -1
  102. package/lib/commands/menu/asset-update.js +1 -1
  103. package/lib/commands/menu/delete.js +1 -1
  104. package/lib/commands/menu/external-link-create.js +1 -1
  105. package/lib/commands/menu/external-link-update.js +1 -1
  106. package/lib/commands/menu/group-create.js +1 -1
  107. package/lib/commands/menu/group-update.js +1 -1
  108. package/lib/commands/menu/index.js +1 -1
  109. package/lib/commands/menu/list.js +1 -1
  110. package/lib/commands/menu/move.js +1 -1
  111. package/lib/commands/menu/regroup-start.js +1 -1
  112. package/lib/commands/menu/shared/compare-table.js +1 -1
  113. package/lib/commands/menu/shared/delete-plan.js +1 -1
  114. package/lib/commands/menu/shared/facts.js +1 -1
  115. package/lib/commands/menu/shared/index.js +1 -1
  116. package/lib/commands/menu/shared/inquirer.js +1 -1
  117. package/lib/commands/menu/shared/local-pages.js +1 -1
  118. package/lib/commands/menu/shared/logic.js +1 -1
  119. package/lib/commands/menu/shared/mutations.js +1 -1
  120. package/lib/commands/menu/shared/service.js +1 -1
  121. package/lib/commands/menu/shared/sync-core.js +1 -1
  122. package/lib/commands/menu/shared/update-core.js +1 -1
  123. package/lib/commands/menu/shared/valid-url.js +1 -1
  124. package/lib/commands/menu/sync.js +1 -1
  125. package/lib/commands/notification/config-list.js +1 -1
  126. package/lib/commands/notification/index.js +1 -1
  127. package/lib/commands/ocr/index.js +1 -0
  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/restore.js +1 -0
  135. package/lib/commands/page/shared.js +1 -1
  136. package/lib/commands/page/standard-page-status.js +1 -1
  137. package/lib/commands/page/sync.js +1 -1
  138. package/lib/commands/permit/index.js +1 -1
  139. package/lib/commands/permit/page-get.js +1 -1
  140. package/lib/commands/permit/page-set.js +1 -1
  141. package/lib/commands/permit/role-apis-set.js +1 -1
  142. package/lib/commands/permit/role-menus-set.js +1 -1
  143. package/lib/commands/permit/role-menus.js +1 -1
  144. package/lib/commands/permit/shared.js +1 -1
  145. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  146. package/lib/commands/project/create/format-elapsed.js +1 -1
  147. package/lib/commands/project/create/main.js +1 -1
  148. package/lib/commands/project/create/non-interactive.js +1 -1
  149. package/lib/commands/project/create/project-template-path.js +1 -1
  150. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  151. package/lib/commands/project/create/use-format-code.js +1 -1
  152. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  153. package/lib/commands/project/index.js +1 -1
  154. package/lib/commands/project/init.js +1 -1
  155. package/lib/commands/project/upgrade.js +1 -1
  156. package/lib/commands/registry.js +1 -1
  157. package/lib/commands/role/create.js +1 -1
  158. package/lib/commands/role/delete.js +1 -1
  159. package/lib/commands/role/detail.js +1 -1
  160. package/lib/commands/role/index.js +1 -1
  161. package/lib/commands/role/list.js +1 -1
  162. package/lib/commands/role/shared.js +1 -1
  163. package/lib/commands/role/update.js +1 -1
  164. package/lib/commands/role/user-add.js +1 -1
  165. package/lib/commands/role/user-remove.js +1 -1
  166. package/lib/commands/role/user-resolve.js +1 -1
  167. package/lib/commands/run/index.js +1 -1
  168. package/lib/commands/schema.js +1 -1
  169. package/lib/commands/sql/create.js +1 -1
  170. package/lib/commands/sql/delete.js +1 -1
  171. package/lib/commands/sql/detail.js +1 -1
  172. package/lib/commands/sql/exec.js +1 -1
  173. package/lib/commands/sql/index.js +1 -1
  174. package/lib/commands/sql/list.js +1 -1
  175. package/lib/commands/sql/pull.js +1 -1
  176. package/lib/commands/sql/push.js +1 -1
  177. package/lib/commands/sql/save.js +1 -1
  178. package/lib/commands/sql/shared.js +1 -1
  179. package/lib/commands/sql/status.js +1 -1
  180. package/lib/commands/sql/validate.js +1 -1
  181. package/lib/commands/task/index.js +1 -1
  182. package/lib/commands/task/status.js +1 -1
  183. package/lib/commands/workspace/add.js +1 -1
  184. package/lib/commands/workspace/index.js +1 -1
  185. package/lib/commands/workspace/remove.js +1 -1
  186. package/lib/config/schema.js +1 -1
  187. package/lib/constant/cdn.js +1 -1
  188. package/lib/constant/cli.js +1 -1
  189. package/lib/constant/defaults.js +1 -1
  190. package/lib/constant/domain.js +1 -1
  191. package/lib/constant/env.js +1 -1
  192. package/lib/constant/output.js +1 -1
  193. package/lib/constant/paths.js +1 -1
  194. package/lib/constant/risk.js +1 -1
  195. package/lib/context/app-resolver.js +1 -1
  196. package/lib/context/auth-resolver.js +1 -1
  197. package/lib/context/config-loader.js +1 -1
  198. package/lib/context.js +1 -1
  199. package/lib/core/alias-resolver.js +1 -1
  200. package/lib/core/api-client.js +1 -1
  201. package/lib/core/bff/config.js +1 -1
  202. package/lib/core/bff/file-system.js +1 -1
  203. package/lib/core/bff/hash.js +1 -1
  204. package/lib/core/bff/lock.js +1 -1
  205. package/lib/core/bff/utils.js +1 -1
  206. package/lib/core/db-resolver.js +1 -1
  207. package/lib/core/page/file-system.js +1 -1
  208. package/lib/core/page/hash.js +1 -1
  209. package/lib/core/page/lock.js +1 -1
  210. package/lib/core/sql-index-auditor.js +1 -1
  211. package/lib/core/sql-sync/config.js +1 -1
  212. package/lib/core/sql-sync/file-system.js +1 -1
  213. package/lib/core/sql-sync/hash.js +1 -1
  214. package/lib/core/sql-sync/lock.js +1 -1
  215. package/lib/core/sql-sync/utils.js +1 -1
  216. package/lib/core/sql-validator.js +1 -1
  217. package/lib/errors.js +1 -1
  218. package/lib/framework/build-all-flags.js +1 -1
  219. package/lib/framework/error-output.js +1 -1
  220. package/lib/framework/explicit-yes.js +1 -1
  221. package/lib/framework/flags.js +1 -1
  222. package/lib/framework/help.js +1 -1
  223. package/lib/framework/index.js +1 -1
  224. package/lib/framework/output.js +1 -1
  225. package/lib/framework/response.js +1 -1
  226. package/lib/framework/runner-alias.js +1 -1
  227. package/lib/framework/runner.js +1 -1
  228. package/lib/framework/schema-export.js +1 -1
  229. package/lib/framework/types.js +1 -1
  230. package/lib/generated/build-info.js +1 -1
  231. package/lib/help.js +1 -1
  232. package/lib/skills/main.js +1 -1
  233. package/lib/skills/npx-skills-add.js +1 -1
  234. package/lib/telemetry/cli-command-trace.js +1 -1
  235. package/lib/telemetry/cli-help-trace.js +1 -1
  236. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  237. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  238. package/lib/telemetry/send-cli-trace-log.js +1 -1
  239. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  240. package/lib/utils/ai_config.js +1 -1
  241. package/lib/utils/apply-jq-filter.js +1 -1
  242. package/lib/utils/cdn-config.js +1 -1
  243. package/lib/utils/check-sdk-version.js +1 -1
  244. package/lib/utils/cli-version-check.js +1 -1
  245. package/lib/utils/cli-version-policy.js +1 -1
  246. package/lib/utils/config.js +1 -1
  247. package/lib/utils/copy-directory.js +1 -1
  248. package/lib/utils/entity-with-id.js +1 -1
  249. package/lib/utils/file-utils.js +1 -1
  250. package/lib/utils/guides-cdn.js +1 -1
  251. package/lib/utils/http-client.js +1 -1
  252. package/lib/utils/is-non-interactive.js +1 -1
  253. package/lib/utils/logger.js +1 -1
  254. package/lib/utils/params.js +1 -1
  255. package/lib/utils/platform.js +1 -1
  256. package/lib/utils/rules-cdn.js +1 -1
  257. package/lib/utils/sleep.js +1 -1
  258. package/lib/utils/template-replacer.js +1 -1
  259. package/lib/utils/update-notice.js +1 -1
  260. package/lib/utils/version.js +1 -1
  261. package/lib/utils/with-active-cookie.js +1 -1
  262. package/lib/utils/write-cli-side-channel.js +1 -1
  263. package/package.json +1 -1
@@ -1 +1 @@
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
+ function a222_0x4942(_0x2135a6,_0x43344b){_0x2135a6=_0x2135a6-0x1e9;var _0x15bfce=a222_0x15bf();var _0x494210=_0x15bfce[_0x2135a6];return _0x494210;}(function(_0x6de6ce,_0x4158a4){var _0x316bbf=a222_0x4942,_0x4c199=_0x6de6ce();while(!![]){try{var _0x129b4e=parseInt(_0x316bbf(0x1f7))/0x1*(-parseInt(_0x316bbf(0x1ed))/0x2)+parseInt(_0x316bbf(0x1eb))/0x3+parseInt(_0x316bbf(0x1e9))/0x4*(-parseInt(_0x316bbf(0x1f0))/0x5)+parseInt(_0x316bbf(0x1ea))/0x6+parseInt(_0x316bbf(0x1f4))/0x7+parseInt(_0x316bbf(0x1f3))/0x8+-parseInt(_0x316bbf(0x1f2))/0x9;if(_0x129b4e===_0x4158a4)break;else _0x4c199['push'](_0x4c199['shift']());}catch(_0x40c183){_0x4c199['push'](_0x4c199['shift']());}}}(a222_0x15bf,0x699f6));function a222_0x15bf(){var _0x1d8ff6=['structuredErrors','4128535JbtIye','defaultFormat','9184806ApzGum','2080352XCMckK','4905369BHvvBb','def','format','598fkGkXf','4xskfpV','4736550GTjNpa','2438055aTueRa','flags','950KPsFBJ','compress'];a222_0x15bf=function(){return _0x1d8ff6;};return a222_0x15bf();}import{resolveOutputConfig}from'@lovrabet/cli-framework';export function usesStructuredErrorOutput(_0x2d0194){var _0x5f4455=a222_0x4942;return _0x2d0194?.[_0x5f4455(0x1ef)]===!![];}export function resolveErrorOutputFormat(_0x8d2dfb){var _0x2d5b4c=a222_0x4942;if(!_0x8d2dfb[_0x2d5b4c(0x1f5)])return _0x8d2dfb['defaultFormat']??_0x2d5b4c(0x1ee);return resolveOutputConfig({'flags':_0x8d2dfb[_0x2d5b4c(0x1ec)]??{},'def':_0x8d2dfb[_0x2d5b4c(0x1f5)],'configDefault':_0x8d2dfb[_0x2d5b4c(0x1f1)]})[_0x2d5b4c(0x1f6)];}
@@ -1 +1 @@
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
+ const a223_0x3d2b9e=a223_0x146b;function a223_0x2dcf(){const _0x35e80e=['174600aGnmsF','menu\x20regroup-start','12QGyKoX','command','menu\x20delete','764fITIET','599879tiWZyx','1698160FlPAve','Required\x20for\x20execution\x20after\x20reviewing\x20the\x20--dry-run\x20plan','service','9qafJrT','4046CyJkXb','8408112lPHvDs','menu\x20move','110HJDjrJ','menu\x20group-create','has','3369HhlAiV','650VRtWNS','23870ruQoEn'];a223_0x2dcf=function(){return _0x35e80e;};return a223_0x2dcf();}(function(_0x43158c,_0x5af89d){const _0x153bda=a223_0x146b,_0x2d45a4=_0x43158c();while(!![]){try{const _0xade90a=-parseInt(_0x153bda(0x1b0))/0x1*(parseInt(_0x153bda(0x1b3))/0x2)+parseInt(_0x153bda(0x1a2))/0x3*(parseInt(_0x153bda(0x1aa))/0x4)+-parseInt(_0x153bda(0x1a5))/0x5+parseInt(_0x153bda(0x1a7))/0x6*(-parseInt(_0x153bda(0x1ab))/0x7)+parseInt(_0x153bda(0x1ac))/0x8*(-parseInt(_0x153bda(0x1af))/0x9)+parseInt(_0x153bda(0x1a3))/0xa*(-parseInt(_0x153bda(0x1a4))/0xb)+parseInt(_0x153bda(0x1b1))/0xc;if(_0xade90a===_0x5af89d)break;else _0x2d45a4['push'](_0x2d45a4['shift']());}catch(_0x33b272){_0x2d45a4['push'](_0x2d45a4['shift']());}}}(a223_0x2dcf,0x2078d));const EXPLICIT_YES_COMMANDS=new Set(['menu\x20external-link-update',a223_0x3d2b9e(0x1a9),a223_0x3d2b9e(0x1b4),'menu\x20group-update',a223_0x3d2b9e(0x1b2),a223_0x3d2b9e(0x1a6)]);export const EXPLICIT_YES_FLAG_DESCRIPTION=a223_0x3d2b9e(0x1ad);function a223_0x146b(_0x15114b,_0x24cc8d){_0x15114b=_0x15114b-0x1a2;const _0x2dcf41=a223_0x2dcf();let _0x146bf5=_0x2dcf41[_0x15114b];return _0x146bf5;}export function requiresExplicitYes(_0x736fea){const _0x3a2f35=a223_0x3d2b9e;return EXPLICIT_YES_COMMANDS[_0x3a2f35(0x1b5)](_0x736fea[_0x3a2f35(0x1ae)]+'\x20'+_0x736fea[_0x3a2f35(0x1a8)]);}
@@ -1 +1 @@
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
+ const a224_0x570e82=a224_0x13b7;(function(_0x2f8ad4,_0x3c1f86){const _0x916ce9=a224_0x13b7,_0x387a96=_0x2f8ad4();while(!![]){try{const _0x1e157d=-parseInt(_0x916ce9(0x92))/0x1*(parseInt(_0x916ce9(0x94))/0x2)+-parseInt(_0x916ce9(0x8b))/0x3*(-parseInt(_0x916ce9(0x90))/0x4)+parseInt(_0x916ce9(0x8a))/0x5*(-parseInt(_0x916ce9(0x95))/0x6)+-parseInt(_0x916ce9(0x89))/0x7*(-parseInt(_0x916ce9(0x93))/0x8)+-parseInt(_0x916ce9(0x96))/0x9+-parseInt(_0x916ce9(0x91))/0xa*(parseInt(_0x916ce9(0x8e))/0xb)+parseInt(_0x916ce9(0x8d))/0xc*(parseInt(_0x916ce9(0x8f))/0xd);if(_0x1e157d===_0x3c1f86)break;else _0x387a96['push'](_0x387a96['shift']());}catch(_0x28ed1c){_0x387a96['push'](_0x387a96['shift']());}}}(a224_0x2937,0x56b45));import{createFlagHelpers}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a224_0x13b7(_0x2dd436,_0x4518ee){_0x2dd436=_0x2dd436-0x89;const _0x29378a=a224_0x2937();let _0x13b7d1=_0x29378a[_0x2dd436];return _0x13b7d1;}const helpers=createFlagHelpers(CliErrors);function a224_0x2937(){const _0x5b9593=['368124FOWjhX','5949612ZLdAdb','581028NIHBvu','10VBvrcX','277869SBfQNA','validateFlags','1164jTUmJy','38918oGBHCL','153790dkFvAS','24MkKcWs','570bgpLDs','611677VFRaTj','24Zaczwb','2NhxEvx'];a224_0x2937=function(){return _0x5b9593;};return a224_0x2937();}export const parseFlags=helpers['parseFlags'];export const validateFlags=helpers[a224_0x570e82(0x8c)];
@@ -1 +1 @@
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
+ const a225_0x37ff93=a225_0x5d59;(function(_0x9ec9bf,_0x54a58d){const _0x533878=a225_0x5d59,_0x123cd0=_0x9ec9bf();while(!![]){try{const _0x1fcbd8=parseInt(_0x533878(0x92))/0x1*(parseInt(_0x533878(0x8a))/0x2)+-parseInt(_0x533878(0x8f))/0x3+parseInt(_0x533878(0x94))/0x4*(-parseInt(_0x533878(0x96))/0x5)+-parseInt(_0x533878(0x93))/0x6+parseInt(_0x533878(0x87))/0x7+parseInt(_0x533878(0x8c))/0x8*(-parseInt(_0x533878(0x95))/0x9)+-parseInt(_0x533878(0x8d))/0xa*(-parseInt(_0x533878(0x91))/0xb);if(_0x1fcbd8===_0x54a58d)break;else _0x123cd0['push'](_0x123cd0['shift']());}catch(_0x2a77f6){_0x123cd0['push'](_0x123cd0['shift']());}}}(a225_0x5187,0x55a77));import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';function a225_0x5d59(_0x24dd03,_0x2b08bd){_0x24dd03=_0x24dd03-0x87;const _0x518775=a225_0x5187();let _0x5d5981=_0x518775[_0x24dd03];return _0x5d5981;}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':_0x3186c2=>serviceGroups[a225_0x37ff93(0x8b)](_0x3186c2),'buildAllFlags':buildAllFlags,'appPrerequisiteText':'Requires\x20appcode\x20(set\x20via\x20`'+CLI_BIN_NAME+'\x20workspace\x20init`\x20or\x20--appcode).','serviceUsageSuffix':a225_0x37ff93(0x8e)});export function generateCommandHelp(_0x5db83b){const _0x220863=a225_0x37ff93,_0x5c6bdf=generators[_0x220863(0x90)](_0x5db83b);if(!requiresExplicitYes(_0x5db83b))return _0x5c6bdf;return _0x5c6bdf['replace']('Requires\x20--yes\x20to\x20confirm,\x20or\x20interactive\x20prompt.',_0x220863(0x89));}export const generateServiceHelp=generators['generateServiceHelp'];export const generateFullHelp=generators[a225_0x37ff93(0x88)];function a225_0x5187(){const _0x4168f8=['2154336RLtgvs','2184580brNPwT','522SOuXTA','5UDRrhM','4446610pOdjTJ','generateFullHelp','Requires\x20explicit\x20--yes\x20for\x20execution;\x20use\x20--dry-run\x20to\x20preview.','23038trKNGC','get','87064hugRet','1904920iovAxg','\x20[args]\x20[flags]','1557426qApJNz','generateCommandHelp','77ysFigZ','38GRCwWY'];a225_0x5187=function(){return _0x4168f8;};return a225_0x5187();}
@@ -1 +1 @@
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
+ function a226_0x54ef(_0x4061fc,_0x184d7b){_0x4061fc=_0x4061fc-0x174;var _0x28fafb=a226_0x28fa();var _0x54efe3=_0x28fafb[_0x4061fc];return _0x54efe3;}function a226_0x28fa(){var _0x26629a=['688684ptnsUe','4jBjkkz','9HXhCyV','156346WYZVeX','15848wzdbHU','880tOurrx','409623bnXwtq','101796AwYQFG','2773250psFuoR','26774QHEjho','2544YkrYHj','5jqmqSN'];a226_0x28fa=function(){return _0x26629a;};return a226_0x28fa();}(function(_0x4e3c2b,_0x2367ad){var _0x296058=a226_0x54ef,_0x474e68=_0x4e3c2b();while(!![]){try{var _0x286a8f=-parseInt(_0x296058(0x17f))/0x1*(parseInt(_0x296058(0x175))/0x2)+parseInt(_0x296058(0x178))/0x3+parseInt(_0x296058(0x17e))/0x4*(-parseInt(_0x296058(0x17d))/0x5)+parseInt(_0x296058(0x179))/0x6+-parseInt(_0x296058(0x176))/0x7*(-parseInt(_0x296058(0x177))/0x8)+-parseInt(_0x296058(0x174))/0x9*(parseInt(_0x296058(0x17a))/0xa)+-parseInt(_0x296058(0x17b))/0xb*(-parseInt(_0x296058(0x17c))/0xc);if(_0x286a8f===_0x2367ad)break;else _0x474e68['push'](_0x474e68['shift']());}catch(_0x4648c6){_0x474e68['push'](_0x474e68['shift']());}}}(a226_0x28fa,0x262cf));export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';export{riskLevelOrder}from'../framework/types.js';
@@ -1 +1 @@
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
+ function a227_0x4cd5(_0xc9a3a4,_0x2d4d37){_0xc9a3a4=_0xc9a3a4-0x17d;const _0xd40377=a227_0xd403();let _0x4cd5f7=_0xd40377[_0xc9a3a4];return _0x4cd5f7;}(function(_0x38c7a5,_0x46f00a){const _0x154cab=a227_0x4cd5,_0x37d24a=_0x38c7a5();while(!![]){try{const _0x1944f6=-parseInt(_0x154cab(0x181))/0x1*(parseInt(_0x154cab(0x17f))/0x2)+-parseInt(_0x154cab(0x17d))/0x3+parseInt(_0x154cab(0x17e))/0x4*(parseInt(_0x154cab(0x193))/0x5)+-parseInt(_0x154cab(0x18c))/0x6+parseInt(_0x154cab(0x18e))/0x7+parseInt(_0x154cab(0x182))/0x8+parseInt(_0x154cab(0x194))/0x9;if(_0x1944f6===_0x46f00a)break;else _0x37d24a['push'](_0x37d24a['shift']());}catch(_0x514ec7){_0x37d24a['push'](_0x37d24a['shift']());}}}(a227_0xd403,0x3e55a));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliError,CliErrors}from'../errors.js';import{applyJqFilter}from'../utils/apply-jq-filter.js';const baseFormatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});export function formatOutput(_0x6776e4,_0x2fbedd){const _0x415a68=a227_0x4cd5,_0x4f796e=_0x6776e4[_0x415a68(0x186)],{_notice:_0x5c57e4,..._0x1e0f02}=_0x6776e4;void _0x5c57e4,baseFormatOutput(_0x1e0f02,_0x2fbedd),_0x2fbedd[_0x415a68(0x188)]===_0x415a68(0x192)&&printPrettyNotice(_0x4f796e);}export function formatCliError(_0x1fd221,_0x36ff74){const _0x4ba46e=a227_0x4cd5;if(_0x36ff74['format']===_0x4ba46e(0x192))return![];const _0x5bc6d8=_0x1fd221[_0x4ba46e(0x198)],_0x4668d1={'ok':![],'command':_0x36ff74[_0x4ba46e(0x180)],'risk':_0x36ff74[_0x4ba46e(0x190)],'data':_0x5bc6d8??null,'error':{'code':_0x1fd221[_0x4ba46e(0x196)],'message':_0x1fd221[_0x4ba46e(0x191)],..._0x1fd221[_0x4ba46e(0x195)]?{'hint':_0x1fd221[_0x4ba46e(0x195)]}:{}}},_0x7a8fed=_0x36ff74[_0x4ba46e(0x188)]===_0x4ba46e(0x197)?JSON[_0x4ba46e(0x18b)](_0x4668d1,null,0x2):JSON['stringify'](_0x4668d1);let _0x7a7b8f=_0x7a8fed;if(_0x36ff74['jqFilter']?.[_0x4ba46e(0x18a)]())try{_0x7a7b8f=applyJqFilter(_0x7a8fed,_0x36ff74[_0x4ba46e(0x183)]);}catch(_0x2a109a){const _0x3dd37e=_0x2a109a instanceof CliError?_0x2a109a:CliErrors[_0x4ba46e(0x185)](_0x4ba46e(0x18f)+(_0x2a109a instanceof Error?_0x2a109a[_0x4ba46e(0x191)]:String(_0x2a109a))),_0x1f478b={..._0x4668d1,'error':{'code':_0x3dd37e[_0x4ba46e(0x196)],'message':_0x3dd37e[_0x4ba46e(0x191)],..._0x3dd37e[_0x4ba46e(0x195)]?{'hint':_0x3dd37e[_0x4ba46e(0x195)]}:{},'cause':_0x4668d1[_0x4ba46e(0x18d)]}};_0x7a7b8f=_0x36ff74[_0x4ba46e(0x188)]===_0x4ba46e(0x197)?JSON[_0x4ba46e(0x18b)](_0x1f478b,null,0x2):JSON[_0x4ba46e(0x18b)](_0x1f478b);}return process[_0x4ba46e(0x187)][_0x4ba46e(0x199)](_0x7a7b8f[_0x4ba46e(0x184)]('\x0a')?_0x7a7b8f:_0x7a7b8f+'\x0a'),!![];}function a227_0xd403(){const _0x20c5f0=['risk','message','pretty','5HGvCBG','803502mnvdXp','hint','code','json','data','write','505536loKtjv','502940FyOVYx','2RcEnkJ','command','166459yrXDQs','3514600EWKDEo','jqFilter','endsWith','validation','_notice','stdout','format','update','trim','stringify','1457838Ulihqo','error','1252496qMbzeo','jq:\x20'];a227_0xd403=function(){return _0x20c5f0;};return a227_0xd403();}function printPrettyNotice(_0x2d18fa){const _0x1b7dec=a227_0x4cd5;if(!_0x2d18fa?.[_0x1b7dec(0x189)])return;console['error'](_0x2d18fa[_0x1b7dec(0x189)]['message']+'\x20('+_0x2d18fa[_0x1b7dec(0x189)]['url']+')');}
@@ -1 +1 @@
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
+ function a228_0x1d0c(){var _0x507b70=['6122044FaWSWo','33746BGCKbn','12QeyRdh','5dTyMUf','16130020LWQRdY','1535238EAiObv','130QdnRZn','3576729NpOKBR','3767532VYDUFr','76eXBmFS','11bSbxjr','1526693kEUNQc','64OfufJH'];a228_0x1d0c=function(){return _0x507b70;};return a228_0x1d0c();}function a228_0x2b79(_0x51da5d,_0x329e1f){_0x51da5d=_0x51da5d-0x6a;var _0x1d0c90=a228_0x1d0c();var _0x2b7991=_0x1d0c90[_0x51da5d];return _0x2b7991;}(function(_0x1dc5f8,_0x59e65c){var _0x9c44be=a228_0x2b79,_0x26a3df=_0x1dc5f8();while(!![]){try{var _0x557047=-parseInt(_0x9c44be(0x6d))/0x1*(parseInt(_0x9c44be(0x75))/0x2)+parseInt(_0x9c44be(0x73))/0x3+-parseInt(_0x9c44be(0x6c))/0x4*(-parseInt(_0x9c44be(0x6f))/0x5)+-parseInt(_0x9c44be(0x6e))/0x6*(parseInt(_0x9c44be(0x6a))/0x7)+parseInt(_0x9c44be(0x6b))/0x8*(parseInt(_0x9c44be(0x71))/0x9)+parseInt(_0x9c44be(0x70))/0xa*(parseInt(_0x9c44be(0x76))/0xb)+-parseInt(_0x9c44be(0x74))/0xc*(parseInt(_0x9c44be(0x72))/0xd);if(_0x557047===_0x59e65c)break;else _0x26a3df['push'](_0x26a3df['shift']());}catch(_0x409666){_0x26a3df['push'](_0x26a3df['shift']());}}}(a228_0x1d0c,0xcda10));export{extractList,extractPaging}from'@lovrabet/cli-framework';
@@ -1 +1 @@
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
+ function a229_0x1b71(){const _0x442c93=['\x22.\x20','name','No\x20api.ts\x20found\x20in\x20','join','4586NgWyJp','some','alias','type','773649twdEHC','2913405HFWUHa','2496668bwmtxl','string','1506375sGYqoE','373mWkrHw','flags','368HHgyNp','`\x20requires\x20either\x20--code\x20or\x20--alias.','52738XzzfSz','code','1617504UGzRzr','.\x20Run\x20`'];a229_0x1b71=function(){return _0x442c93;};return a229_0x1b71();}(function(_0x461603,_0x1efad6){const _0x4552e4=a229_0x2dcd,_0x46051e=_0x461603();while(!![]){try{const _0x158607=-parseInt(_0x4552e4(0x7d))/0x1*(-parseInt(_0x4552e4(0x74))/0x2)+parseInt(_0x4552e4(0x78))/0x3+-parseInt(_0x4552e4(0x7a))/0x4+parseInt(_0x4552e4(0x79))/0x5+-parseInt(_0x4552e4(0x6e))/0x6+-parseInt(_0x4552e4(0x81))/0x7*(parseInt(_0x4552e4(0x7f))/0x8)+parseInt(_0x4552e4(0x7c))/0x9;if(_0x158607===_0x1efad6)break;else _0x46051e['push'](_0x46051e['shift']());}catch(_0x49b386){_0x46051e['push'](_0x46051e['shift']());}}}(a229_0x1b71,0x98141));import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';function a229_0x2dcd(_0x12d0db,_0x4950cc){_0x12d0db=_0x12d0db-0x6d;const _0x1b7131=a229_0x1b71();let _0x2dcd08=_0x1b7131[_0x12d0db];return _0x2dcd08;}import{CLI_BIN_NAME}from'../constant/cli.js';export function resolveAliasToCode(_0x360069,_0x15fbb1,_0x36a256,_0x1e9141){const _0x70de4=a229_0x2dcd,_0x5650db=_0x360069[_0x70de4(0x7e)]['some'](_0x374956=>_0x374956[_0x70de4(0x71)]===_0x70de4(0x6d)&&_0x374956[_0x70de4(0x77)]===_0x70de4(0x7b)),_0x552ac6=_0x360069[_0x70de4(0x7e)][_0x70de4(0x75)](_0x13e8c8=>_0x13e8c8[_0x70de4(0x71)]===_0x70de4(0x76)&&_0x13e8c8[_0x70de4(0x77)]===_0x70de4(0x7b));if(!_0x5650db||!_0x552ac6)return;const _0x3536a9=_0x15fbb1[_0x70de4(0x6d)]?String(_0x15fbb1[_0x70de4(0x6d)]):'',_0xc12332=_0x15fbb1['alias']?String(_0x15fbb1['alias']):'';if(!_0x3536a9&&!_0xc12332)throw CliErrors['validation']('`'+_0x1e9141+_0x70de4(0x80));if(_0xc12332&&!_0x3536a9){const _0x293e4b=resolveAlias(_0x36a256,_0xc12332);if(!_0x293e4b){const _0x4271fb=listAliases(_0x36a256)['map'](_0x28faf5=>_0x28faf5[_0x70de4(0x76)]),_0x5842aa=_0x4271fb['length']?'Available\x20aliases:\x20'+_0x4271fb[_0x70de4(0x73)](',\x20'):_0x70de4(0x72)+_0x36a256+_0x70de4(0x6f)+CLI_BIN_NAME+'\x20api\x20pull`\x20first.';throw CliErrors['validation']('Unknown\x20alias\x20\x22'+_0xc12332+_0x70de4(0x70)+_0x5842aa);}_0x15fbb1[_0x70de4(0x6d)]=_0x293e4b;}}
@@ -1 +1 @@
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
+ const a230_0x10a254=a230_0x4410;(function(_0x3b358d,_0x1fe6b3){const _0x56a308=a230_0x4410,_0x5a21c3=_0x3b358d();while(!![]){try{const _0x3cf67d=-parseInt(_0x56a308(0x177))/0x1+parseInt(_0x56a308(0x197))/0x2+parseInt(_0x56a308(0x1a8))/0x3*(parseInt(_0x56a308(0x18c))/0x4)+-parseInt(_0x56a308(0x1a7))/0x5+-parseInt(_0x56a308(0x17f))/0x6+-parseInt(_0x56a308(0x187))/0x7*(-parseInt(_0x56a308(0x1a3))/0x8)+parseInt(_0x56a308(0x199))/0x9;if(_0x3cf67d===_0x1fe6b3)break;else _0x5a21c3['push'](_0x5a21c3['shift']());}catch(_0x2575b3){_0x5a21c3['push'](_0x5a21c3['shift']());}}}(a230_0x470e,0xeadba));import{resolveCommandAuthMode,runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';import{getCookie}from'../auth/get-cookie.js';import{getApiDomain}from'../constant/domain.js';import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';function a230_0x4410(_0x46b14a,_0x15297d){_0x46b14a=_0x46b14a-0x16a;const _0x470e2f=a230_0x470e();let _0x441097=_0x470e2f[_0x46b14a];return _0x441097;}import{DEFAULT_API_DIR}from'../constant/paths.js';import{isNonInteractive as a230_0x5c1e20}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x416d38){const _0x333038=a230_0x4410;return typeof _0x416d38===_0x333038(0x193)&&_0x416d38['trim']()?_0x416d38[_0x333038(0x1a1)]():undefined;}function resolveEnvAppCode(){const _0x41a1ec=a230_0x4410,_0x2f7c55=stringFlag(process.env.RABETBASE_APPCODE);if(_0x2f7c55)return{'name':_0x41a1ec(0x189),'value':_0x2f7c55};const _0x1b092d=stringFlag(process.env.LOVRABET_APPCODE);if(_0x1b092d)return{'name':_0x41a1ec(0x186),'value':_0x1b092d};return undefined;}function hasExplicitAppCode(_0x46ed5b,_0x159e40){const _0x370515=a230_0x4410;return!!(stringFlag(_0x46ed5b[_0x370515(0x1a2)])||stringFlag(_0x159e40[_0x370515(0x1a2)]));}function assertEnvAppCodeNotIgnored(_0x1837ac,_0x5ee8b6,_0x1014d2){const _0x5c5b96=a230_0x4410;if(!_0x5ee8b6||_0x1014d2||_0x1837ac===_0x5ee8b6[_0x5c5b96(0x17d)])return;const _0x99532a=_0x1837ac?_0x5c5b96(0x16e)+_0x1837ac+'\x22.':'No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.';throw CliErrors[_0x5c5b96(0x174)](_0x5ee8b6[_0x5c5b96(0x1a5)]+'='+_0x5ee8b6[_0x5c5b96(0x17d)]+_0x5c5b96(0x181)+_0x99532a+'\x20'+('To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$'+_0x5ee8b6[_0x5c5b96(0x1a5)]+'\x22.'));}export function createPipelineEnv(_0x620950,_0x123d3e,_0x1fdf54=[]){const _0x41dc3d=a230_0x4410;return{'rawFlags':_0x123d3e,'args':_0x1fdf54,'resolveAppCode':()=>_0x620950['appCode'],'resolveCookie':()=>_0x620950[_0x41dc3d(0x170)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a230_0x5c1e20(_0x123d3e),'defaultFormat':_0x620950[_0x41dc3d(0x179)],'defaultPageSize':_0x620950[_0x41dc3d(0x16c)],'defaultVerbose':_0x620950[_0x41dc3d(0x192)],'apiDir':_0x620950['apiDir'],'riskLevel':_0x620950[_0x41dc3d(0x175)],'selectedAppName':_0x620950[_0x41dc3d(0x196)],'mergedCli':{'defaultApp':_0x620950['defaultApp'],'currentApp':_0x620950[_0x41dc3d(0x194)],'appCode':_0x620950[_0x41dc3d(0x18f)],'apps':_0x620950[_0x41dc3d(0x1a4)]}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[a230_0x10a254(0x16a)](_0x59df47=>PIPELINE_FLAG_NAMES['has'](_0x59df47[a230_0x10a254(0x1a5)]))[a230_0x10a254(0x171)](({name:_0x305ace,type:_0x5d8d59,description:_0x5ad302})=>({'name':_0x305ace,'type':_0x5d8d59,'description':_0x5ad302})),'formatOutput':formatOutput,'getCommandLabel'(_0x385e5e){const _0x1dcc51=a230_0x10a254;return CLI_BIN_NAME+'\x20'+_0x385e5e[_0x1dcc51(0x172)]+'\x20'+_0x385e5e[_0x1dcc51(0x19d)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x3ce75d){const _0x124c0d=a230_0x10a254;return CliErrors[_0x124c0d(0x174)](_0x3ce75d);}},async 'prepare'(_0x58e69e,_0xebe3dd,_0x5f5724,_0x41d148){const _0x32b951=a230_0x10a254,_0x3d8345=_0xebe3dd[_0x32b951(0x17e)]||DEFAULT_API_DIR;resolveAliasToCode(_0x58e69e,_0x5f5724,_0x3d8345,_0x41d148);const _0x2c29a9=resolveCommandAuthMode(_0x58e69e);let _0x54c565='';if(_0x2c29a9!==_0x32b951(0x17a)){_0x54c565=_0xebe3dd[_0x32b951(0x18d)]()||'';if(!_0x54c565){if(_0x2c29a9===_0x32b951(0x176))throw CliErrors[_0x32b951(0x180)]();}else{const {setActiveCookie:_0x5d6dc3}=await import(_0x32b951(0x19c));_0x5d6dc3(_0x54c565);}}const _0x43ea0f=_0xebe3dd[_0x32b951(0x190)]()??'';if(_0x58e69e[_0x32b951(0x188)]!==![]){assertEnvAppCodeNotIgnored(_0x43ea0f,resolveEnvAppCode(),hasExplicitAppCode(_0x5f5724,_0xebe3dd['rawFlags']));if(!_0x43ea0f)throw CliErrors[_0x32b951(0x16f)]('Set\x20appcode\x20via\x20`'+CLI_BIN_NAME+_0x32b951(0x1a6));}return{'defaults':{'booleans':{'verbose':_0xebe3dd['defaultVerbose']},'numbers':{'pagesize':_0xebe3dd['defaultPageSize']}},'extras':{'appCode':_0x43ea0f,'cookie':_0x54c565,'apiDomain':_0xebe3dd[_0x32b951(0x19a)](),'apiDir':_0x3d8345,'selectedAppName':_0xebe3dd[_0x32b951(0x178)],'mergedCli':_0xebe3dd['mergedCli']}};},async 'confirmHighRisk'({env:_0x4f2c40,commandLabel:_0x4e0607}){const _0x1234b2=a230_0x10a254;if(_0x4f2c40[_0x1234b2(0x19f)])throw CliErrors[_0x1234b2(0x174)](_0x1234b2(0x195)+_0x4e0607+'`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.');await requireConfirmationPrompt({'lines':[_0x1234b2(0x198)+_0x4e0607,'\x20\x20\x20Continue?\x20[y/N]\x20'],'createCancelledError':_0x38e8bf=>CliErrors[_0x1234b2(0x191)](_0x38e8bf)});},async 'finalize'(){const {clearActiveCookie:_0x2386fc}=await import('../core/api-client.js');_0x2386fc();}};export async function runCommand(_0x3a9134,_0x8d8d86){const _0x103ea8=a230_0x10a254;assertRejectedFlags(_0x3a9134,_0x8d8d86[_0x103ea8(0x19e)]),await runCommandWithAdapter(shouldAttachUpdateNotice(_0x3a9134)?withUpdateNotice(_0x3a9134):_0x3a9134,_0x8d8d86,runnerAdapter);}function assertRejectedFlags(_0x428394,_0x565842){const _0x47a25a=a230_0x10a254;for(const _0x81fc7c of _0x428394[_0x47a25a(0x18a)]??[]){const _0x5c7e17=GLOBAL_FLAGS[_0x47a25a(0x19b)](_0x7afd2=>_0x7afd2[_0x47a25a(0x1a5)]===_0x81fc7c['name']),_0x17d298=new Set([_0x81fc7c[_0x47a25a(0x1a5)],toCamelCase(_0x81fc7c['name']),_0x5c7e17?.['meowKey']]),_0x48603a=[..._0x17d298][_0x47a25a(0x182)](_0x425452=>{if(!_0x425452)return![];const _0x2a77db=_0x565842[_0x425452];return _0x2a77db!==undefined&&_0x2a77db!==null&&_0x2a77db!==![];});if(_0x48603a)throw CliErrors['validation'](_0x81fc7c[_0x47a25a(0x18e)],_0x81fc7c['hint']);}}function toCamelCase(_0x7e82e2){const _0x2964ec=a230_0x10a254;return _0x7e82e2[_0x2964ec(0x16b)](/-([a-z])/g,(_0x2e40bd,_0x48eb47)=>_0x48eb47[_0x2964ec(0x17b)]());}function shouldAttachUpdateNotice(_0x476236){const _0x45bfbd=a230_0x10a254;if(_0x476236[_0x45bfbd(0x1aa)]===![])return![];return![_0x45bfbd(0x17c),_0x45bfbd(0x18b),_0x45bfbd(0x173)][_0x45bfbd(0x184)](_0x476236[_0x45bfbd(0x172)]);}function a230_0x470e(){const _0x57f8fb=['nonInteractive','hasFormat','filter','replace','pageSize','resolve','Current\x20resolved\x20appcode\x20is\x20\x22','configMissing','cookie','map','service','doctor','validation','riskLevel','required','1663596JrzBpY','selectedAppName','format','none','toUpperCase','update','value','apiDir','9964620ZKXAsk','authRequired','\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20','some','object','includes','execute','LOVRABET_APPCODE','1835701itOVcD','requiresAppCode','RABETBASE_APPCODE','rejectedFlags','schema','332hoasTs','resolveCookie','message','appCode','resolveAppCode','cancelled','verbose','string','currentApp','High-risk\x20operation\x20`','explicitAppName','875856hNpapE','⚠\x20\x20High-risk\x20operation:\x20','34517277zwUBVE','resolveApiDomain','find','../core/api-client.js','command','rawFlags','isNonInteractive','_notice','trim','appcode','8xAJaNY','apps','name','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','6751205HHpZnx','39801nvyrwC'];a230_0x470e=function(){return _0x57f8fb;};return a230_0x470e();}function withUpdateNotice(_0x2e9751){return{..._0x2e9751,async 'execute'(_0x4ee320){const _0x105852=a230_0x4410,_0x5abbd0=shouldResolveUpdateNotice(_0x4ee320)?resolveLatestUpdateNotice()['catch'](()=>null):Promise[_0x105852(0x16d)](null),_0x308225=await _0x2e9751[_0x105852(0x185)](_0x4ee320);return attachUpdateNotice(_0x308225,await _0x5abbd0);}};}function shouldResolveUpdateNotice(_0x249854){const _0x452fed=a230_0x10a254;return _0x249854['format']==='pretty'&&!_0x249854[_0x452fed(0x1a9)];}function attachUpdateNotice(_0x478fc5,_0xe38b21){const _0xe98356=a230_0x10a254;if(!_0xe38b21||!_0x478fc5||typeof _0x478fc5!=='object')return _0x478fc5;const _0x28d498=_0x478fc5,_0x44f18d=typeof _0x28d498[_0xe98356(0x1a0)]===_0xe98356(0x183)&&_0x28d498[_0xe98356(0x1a0)]!==null?_0x28d498[_0xe98356(0x1a0)]:{};return{..._0x28d498,'_notice':{..._0x44f18d,'update':_0xe38b21}};}
@@ -1 +1 @@
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
+ (function(_0x22fcd4,_0x143aca){const _0x3e071a=a231_0x5583,_0x3269c2=_0x22fcd4();while(!![]){try{const _0x5cfa43=parseInt(_0x3e071a(0xb3))/0x1*(-parseInt(_0x3e071a(0xae))/0x2)+-parseInt(_0x3e071a(0xb7))/0x3*(parseInt(_0x3e071a(0xb8))/0x4)+parseInt(_0x3e071a(0xb4))/0x5+parseInt(_0x3e071a(0xb1))/0x6*(parseInt(_0x3e071a(0xbb))/0x7)+-parseInt(_0x3e071a(0xb6))/0x8*(parseInt(_0x3e071a(0xaf))/0x9)+parseInt(_0x3e071a(0xb9))/0xa*(parseInt(_0x3e071a(0xb2))/0xb)+parseInt(_0x3e071a(0xba))/0xc*(parseInt(_0x3e071a(0xb5))/0xd);if(_0x5cfa43===_0x143aca)break;else _0x3269c2['push'](_0x3269c2['shift']());}catch(_0x30b726){_0x3269c2['push'](_0x3269c2['shift']());}}}(a231_0x3b19,0xc7a00));import{buildSchemaPayload as a231_0xff9555}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';function a231_0x3b19(){const _0x3a26ff=['315944davaTs','10azJSog','16927260FYCYnK','7JbhNIf','2xHylKw','18uatDkH','../commands/registry.js','3546054XKcypC','11467445JeVKcE','1233021yPjDBk','2322970whiTpe','13JtZFTA','1408856HZoILR','42gmKOfg'];a231_0x3b19=function(){return _0x3a26ff;};return a231_0x3b19();}import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';function a231_0x5583(_0x266709,_0x1399c9){_0x266709=_0x266709-0xae;const _0x3b1930=a231_0x3b19();let _0x55833b=_0x3b1930[_0x266709];return _0x55833b;}export async function buildSchemaPayload(){const _0x5ddef0=a231_0x5583,{serviceRegistry:_0xe5ddb0,findDefinition:_0x51748b}=await import(_0x5ddef0(0xb0));return a231_0xff9555({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0xe5ddb0,'buildAllFlags':buildAllFlags,'findDefinition':_0x51748b});}
@@ -1 +1 @@
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
+ (function(_0x53b968,_0x4f5fd4){var _0x2907b6=a232_0xf297,_0xe1986f=_0x53b968();while(!![]){try{var _0x506911=parseInt(_0x2907b6(0x151))/0x1+-parseInt(_0x2907b6(0x14e))/0x2+parseInt(_0x2907b6(0x14f))/0x3+parseInt(_0x2907b6(0x149))/0x4*(-parseInt(_0x2907b6(0x14a))/0x5)+parseInt(_0x2907b6(0x14c))/0x6+parseInt(_0x2907b6(0x14d))/0x7*(-parseInt(_0x2907b6(0x150))/0x8)+-parseInt(_0x2907b6(0x148))/0x9*(-parseInt(_0x2907b6(0x14b))/0xa);if(_0x506911===_0x4f5fd4)break;else _0xe1986f['push'](_0xe1986f['shift']());}catch(_0x9e2f05){_0xe1986f['push'](_0xe1986f['shift']());}}}(a232_0x368d,0xc6d32));function a232_0x368d(){var _0x36ec2b=['255812kVfZNw','6573051dHQeFd','8HDFHAt','173390UjolDT','10wFDmnN','1974048hEOKjt','83566gtqfHT','1707380KOQdHl','2627751jZjLVL','304MrMNbd'];a232_0x368d=function(){return _0x36ec2b;};return a232_0x368d();}function a232_0xf297(_0x5874d0,_0x5b34ba){_0x5874d0=_0x5874d0-0x148;var _0x368da8=a232_0x368d();var _0xf2970a=_0x368da8[_0x5874d0];return _0xf2970a;}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';
@@ -1 +1 @@
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';
1
+ const a233_0x4d913a=a233_0x5538;function a233_0x5538(_0x655620,_0x37bf4e){_0x655620=_0x655620-0xb0;const _0x3d467d=a233_0x3d46();let _0x55385f=_0x3d467d[_0x655620];return _0x55385f;}function a233_0x3d46(){const _0x207c27=['2NLDZqg','v2.3.14','1749234UCtvIZ','11145184lQtTJD','2428974fPsllP','7PhjyKD','335rVuzHz','10180VVOUYs','6a66cde','32403310isojNd','2026-08-06T10:53:11.186Z','626887QNygMC','754626mqdRMi','2.3.14'];a233_0x3d46=function(){return _0x207c27;};return a233_0x3d46();}(function(_0x2b9ab0,_0x2eb047){const _0x3ae805=a233_0x5538,_0x1e34fd=_0x2b9ab0();while(!![]){try{const _0x4c5537=-parseInt(_0x3ae805(0xb2))/0x1*(parseInt(_0x3ae805(0xb5))/0x2)+parseInt(_0x3ae805(0xb3))/0x3+-parseInt(_0x3ae805(0xbc))/0x4*(parseInt(_0x3ae805(0xbb))/0x5)+-parseInt(_0x3ae805(0xb7))/0x6*(parseInt(_0x3ae805(0xba))/0x7)+-parseInt(_0x3ae805(0xb8))/0x8+-parseInt(_0x3ae805(0xb9))/0x9+parseInt(_0x3ae805(0xb0))/0xa;if(_0x4c5537===_0x2eb047)break;else _0x1e34fd['push'](_0x1e34fd['shift']());}catch(_0x57f699){_0x1e34fd['push'](_0x1e34fd['shift']());}}}(a233_0x3d46,0xb4a3a));export const VERSION=a233_0x4d913a(0xb4);export const GIT_TAG=a233_0x4d913a(0xb6);export const GIT_COMMIT=a233_0x4d913a(0xbd);export const BUILD_TIME=a233_0x4d913a(0xb1);
package/lib/help.js CHANGED
@@ -1 +1 @@
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
+ function a234_0x5a01(_0x4b006c,_0x265544){_0x4b006c=_0x4b006c-0xb4;var _0xf3acef=a234_0xf3ac();var _0x5a018d=_0xf3acef[_0x4b006c];return _0x5a018d;}(function(_0x3282bf,_0x2bd793){var _0x16230d=a234_0x5a01,_0x47ec82=_0x3282bf();while(!![]){try{var _0x37e9dd=-parseInt(_0x16230d(0xb4))/0x1*(parseInt(_0x16230d(0xbd))/0x2)+-parseInt(_0x16230d(0xbe))/0x3+-parseInt(_0x16230d(0xbc))/0x4+-parseInt(_0x16230d(0xb6))/0x5+parseInt(_0x16230d(0xc4))/0x6*(-parseInt(_0x16230d(0xb7))/0x7)+-parseInt(_0x16230d(0xb8))/0x8*(-parseInt(_0x16230d(0xc2))/0x9)+-parseInt(_0x16230d(0xb9))/0xa*(-parseInt(_0x16230d(0xc3))/0xb);if(_0x37e9dd===_0x2bd793)break;else _0x47ec82['push'](_0x47ec82['shift']());}catch(_0x472bbb){_0x47ec82['push'](_0x47ec82['shift']());}}}(a234_0xf3ac,0x855bd));import a234_0x2b8861 from'chalk';function a234_0xf3ac(){var _0x51525f=['2YNoIix','770781BzmbTm','\x20--help','\x20to\x20view\x20available\x20commands.','green','9eyCrxD','52327IqNnQN','87198bZRzKb','106718fcDUiu','log','3874595dFjIpE','189tyCsAy','5843304PegBWZ','3140TCggtp','\x20\x20Use\x20','bold','587676wJjMlv'];a234_0xf3ac=function(){return _0x51525f;};return a234_0xf3ac();}import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0x540fed=a234_0x5a01;console[_0x540fed(0xb5)](),console[_0x540fed(0xb5)](a234_0x2b8861['green']['bold']('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x540fed(0xb5)](),console[_0x540fed(0xb5)](_0x540fed(0xba)+a234_0x2b8861[_0x540fed(0xc1)][_0x540fed(0xbb)](CLI_BIN_NAME+_0x540fed(0xbf))+_0x540fed(0xc0)),console['log']();}
@@ -1 +1 @@
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
+ (function(_0x4d6550,_0xaaf63){const _0x5b78a4=a235_0x213f,_0x48fc67=_0x4d6550();while(!![]){try{const _0x4dba90=parseInt(_0x5b78a4(0x1c7))/0x1*(-parseInt(_0x5b78a4(0x1dd))/0x2)+-parseInt(_0x5b78a4(0x1c9))/0x3+-parseInt(_0x5b78a4(0x1c1))/0x4*(parseInt(_0x5b78a4(0x1cb))/0x5)+parseInt(_0x5b78a4(0x1be))/0x6+-parseInt(_0x5b78a4(0x1bd))/0x7+-parseInt(_0x5b78a4(0x1c8))/0x8+-parseInt(_0x5b78a4(0x1d9))/0x9*(-parseInt(_0x5b78a4(0x1c0))/0xa);if(_0x4dba90===_0xaaf63)break;else _0x48fc67['push'](_0x48fc67['shift']());}catch(_0x1dbddb){_0x48fc67['push'](_0x48fc67['shift']());}}}(a235_0x74db,0x3f284));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';function a235_0x213f(_0x1a99cc,_0x811d52){_0x1a99cc=_0x1a99cc-0x1ba;const _0x74dbe0=a235_0x74db();let _0x213f29=_0x74dbe0[_0x1a99cc];return _0x213f29;}export function camelCaseFlagsToKebab(_0x56aa51){const _0x73916c=a235_0x213f,_0x1f4158=[];for(const [_0xa84fa3,_0x5540e0]of Object[_0x73916c(0x1bb)](_0x56aa51)){if(_0x5540e0===!![]){const _0x4a15e3=_0xa84fa3[_0x73916c(0x1d6)](/([A-Z])/g,'-$1')[_0x73916c(0x1c4)]();_0x1f4158[_0x73916c(0x1c5)](_0x4a15e3);}}return _0x1f4158;}export function parseDynamicFlags(){const _0x292205=a235_0x213f,_0x2525ec=[];for(let _0x3aedc5=0x3;_0x3aedc5<process[_0x292205(0x1da)][_0x292205(0x1d0)];_0x3aedc5++){const _0x21c1c1=process['argv'][_0x3aedc5];if(_0x21c1c1&&_0x21c1c1[_0x292205(0x1c3)]('--')){const _0x1d2e51=_0x21c1c1['slice'](0x2);_0x1d2e51&&!_0x1d2e51[_0x292205(0x1d2)]('=')&&_0x2525ec['push'](_0x1d2e51);}}return _0x2525ec;}export function getAllProvidedFlags(_0x4853f9){const _0xe3f0f3=a235_0x213f,_0x47d0e4=camelCaseFlagsToKebab(_0x4853f9),_0x484430=parseDynamicFlags(),_0x2efe16=new Set([..._0x47d0e4,..._0x484430]);return Array[_0xe3f0f3(0x1ce)](_0x2efe16);}export function normalizeLegacyBffSaveFlags(_0x1cf979){const _0x1c9053=a235_0x213f,_0x1803a7=new Set(_0x1cf979);return _0x1803a7[_0x1c9053(0x1c6)](_0x1c9053(0x1dc))&&_0x1803a7[_0x1c9053(0x1bf)](_0x1c9053(0x1d5)),Array[_0x1c9053(0x1ce)](_0x1803a7);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;function a235_0x74db(){const _0x472521=['replace','help','log','22113MRHejq','argv','exit','dangerously-bff-save','2908ASnLBf','\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill','entries','不支持的命令:\x20','1405222OhOQil','2952192TbLOdh','add','1730Pabfnk','2744uQpGTU','--help','startsWith','toLowerCase','push','has','161WvxdJH','513120xVlRCo','270405gRooQA','\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','505lrHKnK','\x20cli-skill\x20install\x0a\x0aEquivalent\x20command:\x20','Error:\x20Unsupported\x20command:\x20','from','\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/rabetbase/guides/.\x0a','length','skill','includes','error','\x0aAvailable\x20commands:','enable-bff-save'];a235_0x74db=function(){return _0x472521;};return a235_0x74db();}export async function skillsCommand(_0x445453,_0x482bca,_0x7863b4){const _0xd1c682=a235_0x213f;logger['setLogPath'](process['cwd']());if(_0x7863b4?.[_0xd1c682(0x1d7)]||_0x445453===_0xd1c682(0x1c2)){showHelp();return;}console[_0xd1c682(0x1d3)](_0xd1c682(0x1cd)+(_0x445453||'(empty)')),console[_0xd1c682(0x1d8)](_0xd1c682(0x1d4)),console['log']('\x20\x20'+CLI_BIN_NAME+_0xd1c682(0x1ba)),console[_0xd1c682(0x1d8)](''),console[_0xd1c682(0x1d8)]('Equivalent\x20command:\x20'+SKILLS_INSTALL_COMMAND_LINE),logger[_0xd1c682(0x1d3)](_0xd1c682(0x1d1),_0xd1c682(0x1bc)+_0x445453),process[_0xd1c682(0x1db)](0x1);}function showHelp(){const _0x33f7a7=a235_0x213f;console['log'](_0x33f7a7(0x1ca)+CLI_BIN_NAME+_0x33f7a7(0x1cc)+SKILLS_INSTALL_COMMAND_LINE+_0x33f7a7(0x1cf));}
@@ -1 +1 @@
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
+ const a236_0x44f988=a236_0xa6a4;(function(_0x3e4077,_0x46ad27){const _0xa82cec=a236_0xa6a4,_0x110637=_0x3e4077();while(!![]){try{const _0xd832d=parseInt(_0xa82cec(0xf6))/0x1*(parseInt(_0xa82cec(0xf0))/0x2)+parseInt(_0xa82cec(0xf5))/0x3+-parseInt(_0xa82cec(0xe6))/0x4*(parseInt(_0xa82cec(0xec))/0x5)+-parseInt(_0xa82cec(0xe8))/0x6*(-parseInt(_0xa82cec(0xed))/0x7)+-parseInt(_0xa82cec(0xe9))/0x8+-parseInt(_0xa82cec(0x101))/0x9+parseInt(_0xa82cec(0xf1))/0xa;if(_0xd832d===_0x46ad27)break;else _0x110637['push'](_0x110637['shift']());}catch(_0x18dda3){_0x110637['push'](_0x110637['shift']());}}}(a236_0x50fb,0xc856c));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=a236_0x44f988(0x100);export const NPX_SKILLS_SUBCOMMAND_ADD=a236_0x44f988(0xea);export const NPX_SKILLS_FLAG_SKILL=a236_0x44f988(0xf3);function a236_0xa6a4(_0x539641,_0x563785){_0x539641=_0x539641-0xe4;const _0x50fbb3=a236_0x50fb();let _0xa6a43a=_0x50fbb3[_0x539641];return _0xa6a43a;}export const RABETBASE_SKILL_SOURCE=a236_0x44f988(0xfb);export const LEGACY_RABETBASE_SKILL_SOURCE=a236_0x44f988(0xfa);export const DEFAULT_RABETBASE_SKILL_NAME=a236_0x44f988(0xf8);export function buildNpxSkillsAddArgv(_0x212b6e){const _0x119253=a236_0x44f988,_0x259e09=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE];return _0x212b6e&&_0x259e09[_0x119253(0xee)](NPX_SKILLS_FLAG_SKILL,_0x212b6e),_0x259e09;}export const NPX_SKILLS_ADD_COMMAND_LINE=[a236_0x44f988(0xfe),...buildNpxSkillsAddArgv()]['join']('\x20');export const NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE=['npx',NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][a236_0x44f988(0xf7)]('\x20');export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0x2180be,_0x23d235){const _0x26fd57=a236_0x44f988;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x1cc4a5=_0x23d235?.[_0x26fd57(0x103)]??_0x26fd57(0x104),_0x3f59e2=resolveNpmBin('npx'),_0x18b15c=buildNpxSkillsAddArgv(_0x23d235?.[_0x26fd57(0xfd)]),_0xbaf578=[_0x26fd57(0xfe),..._0x18b15c][_0x26fd57(0xf7)]('\x20');console[_0x26fd57(0xf9)]('*\x20'+_0xbaf578);const _0x120d7e=spawnSync(_0x3f59e2,_0x18b15c,{'cwd':_0x2180be,'stdio':_0x1cc4a5,'env':process.env,'shell':![]}),_0x257493=_0x120d7e['status'];if(_0x257493===0x0)return{'ok':!![],'status':0x0};let _0x28b34c=_0x26fd57(0xef)+(_0x257493??'unknown');if(_0x1cc4a5===_0x26fd57(0xff)){const _0xcae0da=_0x120d7e['stderr']?_0x120d7e[_0x26fd57(0xe4)][_0x26fd57(0xfc)]()[_0x26fd57(0xeb)]():'',_0x3ce78d=_0x120d7e[_0x26fd57(0x102)]?_0x120d7e['stdout'][_0x26fd57(0xfc)]()[_0x26fd57(0xeb)]():'';if(_0xcae0da)_0x28b34c=_0xcae0da;else{if(_0x3ce78d)_0x28b34c=_0x3ce78d;}}return{'ok':![],'status':_0x257493??null,'error':_0x28b34c};}export function runNpxSkillsRemove(_0x97e2d5,_0x24426c,_0x25fc57=LEGACY_RABETBASE_SKILL_SOURCE){const _0x2ac570=a236_0x44f988;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x9fdb3a=_0x24426c?.[_0x2ac570(0x103)]??'inherit',_0x1040b9=resolveNpmBin('npx'),_0x779978=[NPX_FLAG_YES,NPX_SKILLS_CLI,_0x2ac570(0xf4),_0x25fc57,NPX_SKILLS_FLAG_SKILL,_0x24426c?.['skill']??DEFAULT_RABETBASE_SKILL_NAME,..._0x24426c?.[_0x2ac570(0xe7)]?['-y']:[]],_0x46334c=[_0x1040b9,..._0x779978]['join']('\x20');console[_0x2ac570(0xf9)]('*\x20'+_0x46334c);const _0x4be7c3=spawnSync(_0x1040b9,_0x779978,{'cwd':_0x97e2d5,'stdio':_0x9fdb3a,'env':process.env,'shell':![]}),_0x48c1a5=_0x4be7c3[_0x2ac570(0xe5)];if(_0x48c1a5===0x0)return{'ok':!![],'status':0x0};let _0x5e1deb=_0x2ac570(0xef)+(_0x48c1a5??_0x2ac570(0xf2));if(_0x9fdb3a==='pipe'){const _0x32189e=_0x4be7c3[_0x2ac570(0xe4)]?_0x4be7c3[_0x2ac570(0xe4)][_0x2ac570(0xfc)]()[_0x2ac570(0xeb)]():'',_0x1d20d3=_0x4be7c3[_0x2ac570(0x102)]?_0x4be7c3['stdout'][_0x2ac570(0xfc)]()[_0x2ac570(0xeb)]():'';if(_0x32189e)_0x5e1deb=_0x32189e;else{if(_0x1d20d3)_0x5e1deb=_0x1d20d3;}}return{'ok':![],'status':_0x48c1a5??null,'error':_0x5e1deb};}function a236_0x50fb(){const _0x1d14fd=['18892310rmACyF','unknown','--skill','remove','1020990jKIhRh','25mWLMvB','join','Lovrabet','log','lovrabet/lovrabet-skill','lovrabet/rabetbase','toString','skill','npx','pipe','skills','12240000Zsjemi','stdout','stdio','inherit','stderr','status','46724TevXMC','yes','1158fmlcmU','9122176tiFlAo','add','trim','215txLfJU','38143RTsEXe','push','exit\x20','43354AwHHKF'];a236_0x50fb=function(){return _0x1d14fd;};return a236_0x50fb();}export function runNpxSkillsAddGlobal(_0x39f450,_0x5562e3,_0x428e46){const _0x43f6e4=a236_0x44f988;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x40e2ef=_0x428e46?.['stdio']??_0x43f6e4(0x104),_0x6b1d88=resolveNpmBin(_0x43f6e4(0xfe)),_0x52a5c3=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x5562e3,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES],_0xbdf2e9=['npx',NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x5562e3,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][_0x43f6e4(0xf7)]('\x20');console[_0x43f6e4(0xf9)]('*\x20'+_0xbdf2e9);const _0x6a278=spawnSync(_0x6b1d88,_0x52a5c3,{'cwd':_0x39f450,'stdio':_0x40e2ef,'env':process.env,'shell':![]}),_0x1994f9=_0x6a278[_0x43f6e4(0xe5)];if(_0x1994f9===0x0)return{'ok':!![],'status':0x0};let _0x321b8d=_0x43f6e4(0xef)+(_0x1994f9??'unknown');if(_0x40e2ef===_0x43f6e4(0xff)){const _0x5a5740=_0x6a278[_0x43f6e4(0xe4)]?_0x6a278[_0x43f6e4(0xe4)][_0x43f6e4(0xfc)]()[_0x43f6e4(0xeb)]():'',_0x1db693=_0x6a278[_0x43f6e4(0x102)]?_0x6a278[_0x43f6e4(0x102)]['toString']()[_0x43f6e4(0xeb)]():'';if(_0x5a5740)_0x321b8d=_0x5a5740;else{if(_0x1db693)_0x321b8d=_0x1db693;}}return{'ok':![],'status':_0x1994f9??null,'error':_0x321b8d};}
@@ -1 +1 @@
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
+ function a237_0x2832(){const _0x137ca5=['440MNNHbU','3344936OhQuQi','error','32vmvGTp','66195QmhVDi','service','some','test','15fXzKuD','568051eHcUkQ','entries','1456302XcjTYn','stringify','command','26OWobuT','rabetbase.command','[REDACTED]','message','429588ddBXeV','durationMs','2216088gJXMUr','2675036IBRVvF'];a237_0x2832=function(){return _0x137ca5;};return a237_0x2832();}(function(_0x15be7c,_0x36c33b){const _0x3c119e=a237_0x498d,_0x414f81=_0x15be7c();while(!![]){try{const _0x2a388f=-parseInt(_0x3c119e(0x89))/0x1+parseInt(_0x3c119e(0x85))/0x2*(parseInt(_0x3c119e(0x91))/0x3)+parseInt(_0x3c119e(0x8c))/0x4+parseInt(_0x3c119e(0x95))/0x5*(-parseInt(_0x3c119e(0x82))/0x6)+-parseInt(_0x3c119e(0x8e))/0x7+parseInt(_0x3c119e(0x90))/0x8*(-parseInt(_0x3c119e(0x8b))/0x9)+-parseInt(_0x3c119e(0x8d))/0xa*(-parseInt(_0x3c119e(0x96))/0xb);if(_0x2a388f===_0x36c33b)break;else _0x414f81['push'](_0x414f81['shift']());}catch(_0x11c147){_0x414f81['push'](_0x414f81['shift']());}}}(a237_0x2832,0x9443d));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';function a237_0x498d(_0x5c14e3,_0x100520){_0x5c14e3=_0x5c14e3-0x81;const _0x28320b=a237_0x2832();let _0x498d9b=_0x28320b[_0x5c14e3];return _0x498d9b;}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 isSensitiveKey(_0x29337b){const _0x594622=a237_0x498d;return SENSITIVE_PATTERNS[_0x594622(0x93)](_0x354d26=>_0x354d26[_0x594622(0x94)](_0x29337b));}function sanitizeFlags(_0x25cf8c){const _0x30e1b4=a237_0x498d,_0x545c9e={};for(const [_0x1b0800,_0x3420b5]of Object[_0x30e1b4(0x81)](_0x25cf8c)){isSensitiveKey(_0x1b0800)?_0x545c9e[_0x1b0800]=_0x3420b5!=null&&_0x3420b5!==''?_0x30e1b4(0x87):_0x3420b5:_0x545c9e[_0x1b0800]=_0x3420b5;}return _0x545c9e;}export async function reportCommandTrace(_0x581e5f){const _0x1bbebc=a237_0x498d;try{const _0x10e7f7=sanitizeFlags(_0x581e5f['flags']);await sendCliTraceLog({'spanName':_0x1bbebc(0x86),'logData':{'command.cli_version':getCliVersion(),'command.service':_0x581e5f[_0x1bbebc(0x92)],'command.name':_0x581e5f[_0x1bbebc(0x84)],'command.flags':JSON[_0x1bbebc(0x83)](_0x10e7f7),..._0x581e5f[_0x1bbebc(0x8a)]!=null?{'command.duration_ms':_0x581e5f[_0x1bbebc(0x8a)]}:{},..._0x581e5f[_0x1bbebc(0x8f)]?{'command.error':_0x581e5f[_0x1bbebc(0x8f)]instanceof Error?_0x581e5f[_0x1bbebc(0x8f)][_0x1bbebc(0x88)]:String(_0x581e5f[_0x1bbebc(0x8f)])}:{}}});}catch{}}
@@ -1 +1 @@
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
+ (function(_0x5f4986,_0x30d93e){var _0x2e9e1a=a238_0x15a5,_0x1c6945=_0x5f4986();while(!![]){try{var _0x36de15=-parseInt(_0x2e9e1a(0xfa))/0x1*(-parseInt(_0x2e9e1a(0xef))/0x2)+-parseInt(_0x2e9e1a(0xf8))/0x3*(-parseInt(_0x2e9e1a(0xfc))/0x4)+-parseInt(_0x2e9e1a(0xf9))/0x5+-parseInt(_0x2e9e1a(0xf4))/0x6+-parseInt(_0x2e9e1a(0xf6))/0x7*(-parseInt(_0x2e9e1a(0xf5))/0x8)+-parseInt(_0x2e9e1a(0xfb))/0x9+parseInt(_0x2e9e1a(0xf2))/0xa;if(_0x36de15===_0x30d93e)break;else _0x1c6945['push'](_0x1c6945['shift']());}catch(_0x5eedda){_0x1c6945['push'](_0x1c6945['shift']());}}}(a238_0x21bd,0x1e513));function a238_0x21bd(){var _0x820533=['7nfLPaB','cli.help','15EoflPX','689995uAJJtQ','19646pBQnse','385092lxpIFx','104876fKWPnR','2dngkVK','Failed\x20to\x20report\x20CLI\x20help\x20trace:','error','3271540LlcVgg','service','1408248oDWzte','494232HbqVIc'];a238_0x21bd=function(){return _0x820533;};return a238_0x21bd();}import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';function a238_0x15a5(_0x583700,_0x450693){_0x583700=_0x583700-0xef;var _0x21bd97=a238_0x21bd();var _0x15a5f6=_0x21bd97[_0x583700];return _0x15a5f6;}export async function reportCliHelpTrace(_0x3e20d0,_0x9532f5){var _0x2cb492=a238_0x15a5;try{await sendCliTraceLog({'spanName':_0x2cb492(0xf7),'logData':{'rabetbase.help.kind':_0x3e20d0,..._0x9532f5?.[_0x2cb492(0xf3)]&&{'rabetbase.help.service':_0x9532f5[_0x2cb492(0xf3)]}}});}catch(_0xd6cc99){console[_0x2cb492(0xf1)](_0x2cb492(0xf0),_0xd6cc99);}}
@@ -1 +1 @@
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
+ function a239_0x248e(){const _0x24047b=['11LEXVhT','3582180zgsgGs','nickname','222WNpKMQ','production','unknown','4407900axmGVM','284605lVviTw','daily','tenant','user','email','30949990vbkETA','320bFkhWn','17703HSngrA','tenant_code','2914470deepFv','2cMSHYL','116473hTNXwA'];a239_0x248e=function(){return _0x24047b;};return a239_0x248e();}function a239_0x10d8(_0x38dccc,_0x15fcac){_0x38dccc=_0x38dccc-0x19f;const _0x248e02=a239_0x248e();let _0x10d84d=_0x248e02[_0x38dccc];return _0x10d84d;}(function(_0x54bda9,_0x13b92b){const _0x4295f7=a239_0x10d8,_0x5c7a3e=_0x54bda9();while(!![]){try{const _0x165c82=parseInt(_0x4295f7(0x1ab))/0x1*(-parseInt(_0x4295f7(0x1a2))/0x2)+-parseInt(_0x4295f7(0x1a1))/0x3+-parseInt(_0x4295f7(0x1a5))/0x4+-parseInt(_0x4295f7(0x1aa))/0x5+-parseInt(_0x4295f7(0x1a7))/0x6*(-parseInt(_0x4295f7(0x1a3))/0x7)+parseInt(_0x4295f7(0x1b1))/0x8*(-parseInt(_0x4295f7(0x19f))/0x9)+parseInt(_0x4295f7(0x1b0))/0xa*(parseInt(_0x4295f7(0x1a4))/0xb);if(_0x165c82===_0x13b92b)break;else _0x5c7a3e['push'](_0x5c7a3e['shift']());}catch(_0x5c586e){_0x5c7a3e['push'](_0x5c7a3e['shift']());}}}(a239_0x248e,0x922d6));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 _0xcd61ac=a239_0x10d8,_0x2b1075=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x372253=_0x2b1075?.[_0xcd61ac(0x1ae)];setServiceConfig({'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!==_0xcd61ac(0x1a9)?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?_0xcd61ac(0x1ac):_0xcd61ac(0x1a8))}),setUserContext({'id':_0x372253?.['id'],'username':_0x372253?.['username'],'nickname':_0x372253?.[_0xcd61ac(0x1a6)],'email':_0x372253?.[_0xcd61ac(0x1af)],'tenantCode':_0x372253?.[_0xcd61ac(0x1ad)][_0xcd61ac(0x1a0)],'appCode':getConfigAppCode()}),cliOtelTraceInitialized=!![];}return _0x2b1075;}
@@ -1 +1 @@
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
+ function a240_0x4a11(){const _0x52eafa=['989360hSRCNa','3966787qCfcXO','SIGTERM','7294888bPPrzb','exit','591390UatijY','4157828RIqFjk','1202542zLOvpw','7RgoXEK','once','45VOkIeR','1sSSQhc','then','beforeExit','277266vipoaM','SIGINT','54mAUhHM'];a240_0x4a11=function(){return _0x52eafa;};return a240_0x4a11();}(function(_0x19811b,_0x5cdb05){const _0x5dde07=a240_0x576f,_0x41cd66=_0x19811b();while(!![]){try{const _0x35ad94=-parseInt(_0x5dde07(0x1d6))/0x1*(-parseInt(_0x5dde07(0x1e3))/0x2)+parseInt(_0x5dde07(0x1d9))/0x3+parseInt(_0x5dde07(0x1e2))/0x4+parseInt(_0x5dde07(0x1e1))/0x5*(-parseInt(_0x5dde07(0x1db))/0x6)+parseInt(_0x5dde07(0x1d3))/0x7*(-parseInt(_0x5dde07(0x1df))/0x8)+parseInt(_0x5dde07(0x1d5))/0x9*(parseInt(_0x5dde07(0x1dc))/0xa)+parseInt(_0x5dde07(0x1dd))/0xb;if(_0x35ad94===_0x5cdb05)break;else _0x41cd66['push'](_0x41cd66['shift']());}catch(_0x14935d){_0x41cd66['push'](_0x41cd66['shift']());}}}(a240_0x4a11,0x956f4));function a240_0x576f(_0x4eccfe,_0x225155){_0x4eccfe=_0x4eccfe-0x1d3;const _0x4a11fa=a240_0x4a11();let _0x576f31=_0x4a11fa[_0x4eccfe];return _0x576f31;}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 _0x46904b=a240_0x576f;process[_0x46904b(0x1d4)](_0x46904b(0x1d8),()=>{void flushOtelNodeIfUsed();});const _0x8cb2c2=()=>{const _0x2ab749=_0x46904b;void flushOtelNodeIfUsed()[_0x2ab749(0x1d7)](()=>process[_0x2ab749(0x1e0)](0x0));};process[_0x46904b(0x1d4)](_0x46904b(0x1da),_0x8cb2c2),process['once'](_0x46904b(0x1de),_0x8cb2c2);}export async function exitWithOtelShutdown(_0x56a1cd){await flushOtelNodeIfUsed(),process['exit'](_0x56a1cd);}
@@ -1 +1 @@
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
+ const a241_0x535f02=a241_0x43a9;(function(_0x5285c6,_0x336d34){const _0xbaab6b=a241_0x43a9,_0x4058f2=_0x5285c6();while(!![]){try{const _0xa08cd=parseInt(_0xbaab6b(0xef))/0x1*(parseInt(_0xbaab6b(0xf3))/0x2)+parseInt(_0xbaab6b(0xe7))/0x3*(-parseInt(_0xbaab6b(0xe6))/0x4)+-parseInt(_0xbaab6b(0xea))/0x5*(-parseInt(_0xbaab6b(0xe9))/0x6)+-parseInt(_0xbaab6b(0xf2))/0x7+-parseInt(_0xbaab6b(0xed))/0x8*(parseInt(_0xbaab6b(0xf5))/0x9)+parseInt(_0xbaab6b(0xf1))/0xa+parseInt(_0xbaab6b(0xf6))/0xb*(-parseInt(_0xbaab6b(0xe8))/0xc);if(_0xa08cd===_0x336d34)break;else _0x4058f2['push'](_0x4058f2['shift']());}catch(_0x2c84fc){_0x4058f2['push'](_0x4058f2['shift']());}}}(a241_0xcafa,0xaf04e));import{sendTraceLog}from'@lovrabet/otel-logger';function a241_0x43a9(_0x78af85,_0x2e34fe){_0x78af85=_0x78af85-0xe6;const _0xcafa0a=a241_0xcafa();let _0x43a927=_0xcafa0a[_0x78af85];return _0x43a927;}import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';import{getCliVersion}from'../utils/version.js';const DEFAULT_TRACE_NAME=a241_0x535f02(0xf0);export async function sendCliTraceLog(_0x1fa1c4){const _0x8163f3=a241_0x535f02;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x1fa1c4[_0x8163f3(0xee)]??DEFAULT_TRACE_NAME,'version':_0x1fa1c4[_0x8163f3(0xf4)]??getCliVersion(),'spanName':_0x1fa1c4[_0x8163f3(0xec)],'eventType':_0x8163f3(0xeb),'logData':_0x1fa1c4['logData'],..._0x1fa1c4['traceparent']&&{'traceparent':_0x1fa1c4['traceparent']}});}function a241_0xcafa(){const _0x26a0ed=['11482820ilUQGi','8582098zMMOmi','78AVgUPG','version','128718TJnzNG','16236ZwVRpO','20knLUPB','239025TbLPhj','2676erUtxd','3864348hcMSFQ','5gVYrEM','manual','spanName','248wZfabc','traceName','33883TuIEcQ','rabetbase-cli'];a241_0xcafa=function(){return _0x26a0ed;};return a241_0xcafa();}
@@ -1 +1 @@
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
+ const a242_0x6aa869=a242_0x6c2b;(function(_0x2176cb,_0x5dd543){const _0x405798=a242_0x6c2b,_0x48bc06=_0x2176cb();while(!![]){try{const _0x4cc41b=parseInt(_0x405798(0x147))/0x1+-parseInt(_0x405798(0x146))/0x2*(-parseInt(_0x405798(0x143))/0x3)+-parseInt(_0x405798(0x152))/0x4+parseInt(_0x405798(0x144))/0x5*(-parseInt(_0x405798(0x14f))/0x6)+-parseInt(_0x405798(0x150))/0x7+parseInt(_0x405798(0x14b))/0x8*(-parseInt(_0x405798(0x153))/0x9)+-parseInt(_0x405798(0x151))/0xa*(-parseInt(_0x405798(0x14a))/0xb);if(_0x4cc41b===_0x5dd543)break;else _0x48bc06['push'](_0x48bc06['shift']());}catch(_0x5ab91b){_0x48bc06['push'](_0x48bc06['shift']());}}}(a242_0x509f,0x9755e));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export const PLATFORM_ISSUE_TRACE_NAME='platform-issue-log-collect';function a242_0x6c2b(_0x16b073,_0x211532){_0x16b073=_0x16b073-0x142;const _0x509fce=a242_0x509f();let _0x6c2b1a=_0x509fce[_0x16b073];return _0x6c2b1a;}export const PLATFORM_ISSUE_SPAN_NAME=a242_0x6aa869(0x142);function a242_0x509f(){const _0x3a767e=['redactionKinds','join','sanitize','252846cfcEsp','8439725qNuaoz','20243990vxPCYm','1389884nwbdln','662544CeoLXy','description','issue.log.collect','105PvNVTe','125baTAvO','redactionCount','57878isOLui','557357fYiQgT','title','originalBytes','11ZWIGji','40pBjvDr'];a242_0x509f=function(){return _0x3a767e;};return a242_0x509f();}export async function sendPlatformIssueCollectLog(_0x27d023){const _0x1d079b=a242_0x6aa869;await sendCliTraceLog({'traceName':PLATFORM_ISSUE_TRACE_NAME,'spanName':PLATFORM_ISSUE_SPAN_NAME,'logData':{'issue.title':_0x27d023[_0x1d079b(0x148)],'issue.description':_0x27d023[_0x1d079b(0x154)],..._0x27d023['sanitize']?{'issue.description_original_bytes':_0x27d023[_0x1d079b(0x14e)][_0x1d079b(0x149)],'issue.description_truncated':_0x27d023[_0x1d079b(0x14e)]['truncated'],'issue.description_redactions':_0x27d023[_0x1d079b(0x14e)][_0x1d079b(0x145)],'issue.description_redaction_kinds':_0x27d023['sanitize'][_0x1d079b(0x14c)][_0x1d079b(0x14d)](',')}:{}}});}
@@ -1 +1 @@
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
+ const a244_0x1b9b06=a244_0x3da5;(function(_0x135f13,_0x1fee36){const _0x10703d=a244_0x3da5,_0x1d71bc=_0x135f13();while(!![]){try{const _0x5b45ac=-parseInt(_0x10703d(0x15d))/0x1+parseInt(_0x10703d(0x142))/0x2+parseInt(_0x10703d(0x15b))/0x3*(-parseInt(_0x10703d(0x14c))/0x4)+parseInt(_0x10703d(0x13f))/0x5+-parseInt(_0x10703d(0x134))/0x6*(-parseInt(_0x10703d(0x13d))/0x7)+-parseInt(_0x10703d(0x151))/0x8*(-parseInt(_0x10703d(0x133))/0x9)+parseInt(_0x10703d(0x137))/0xa*(-parseInt(_0x10703d(0x140))/0xb);if(_0x5b45ac===_0x1fee36)break;else _0x1d71bc['push'](_0x1d71bc['shift']());}catch(_0x409b62){_0x1d71bc['push'](_0x1d71bc['shift']());}}}(a244_0x122d,0xc6ba3));export const CORE_IDE_CONFIGS={'cursor':{'name':a244_0x1b9b06(0x152),'description':'Cursor\x20IDE','folders':[a244_0x1b9b06(0x155),a244_0x1b9b06(0x156)],'files':[{'type':a244_0x1b9b06(0x13b),'path':'.cursor/skills/rabetbase.md','template':a244_0x1b9b06(0x14b)}]},'windsurf':{'name':a244_0x1b9b06(0x144),'description':a244_0x1b9b06(0x158),'folders':[a244_0x1b9b06(0x153)],'files':[{'type':'file','path':'.windsurf/workflows/rabetbase.md','template':a244_0x1b9b06(0x14b)}]},'claude':{'name':a244_0x1b9b06(0x12d),'description':a244_0x1b9b06(0x12d),'folders':['.claude'],'files':[{'type':a244_0x1b9b06(0x13b),'path':'.claude/skills/lovrabet/SKILL.md','template':'SKILL.md.tpl'}]},'cline':{'name':a244_0x1b9b06(0x150),'description':'Cline\x20IDE','folders':[a244_0x1b9b06(0x131)],'files':[{'type':'file','path':a244_0x1b9b06(0x160),'template':a244_0x1b9b06(0x14b)}]},'codex':{'name':a244_0x1b9b06(0x130),'description':'Codex\x20IDE','folders':[a244_0x1b9b06(0x145)],'files':[{'type':a244_0x1b9b06(0x13b),'path':'.codex/skills/lovrabet/SKILL.md','template':a244_0x1b9b06(0x14b)}]},'opencode':{'name':a244_0x1b9b06(0x15c),'description':a244_0x1b9b06(0x12e),'folders':[a244_0x1b9b06(0x13a)],'files':[{'type':a244_0x1b9b06(0x13b),'path':'.opencode/skills/lovrabet/SKILL.md','template':a244_0x1b9b06(0x14b)}]},'qoder':{'name':'Qoder','description':a244_0x1b9b06(0x139),'folders':['.qoder'],'files':[{'type':'file','path':a244_0x1b9b06(0x12f),'template':'SKILL.md.tpl'},{'type':a244_0x1b9b06(0x13b),'path':a244_0x1b9b06(0x14e),'template':a244_0x1b9b06(0x14b)}]},'codebuddy':{'name':a244_0x1b9b06(0x159),'description':a244_0x1b9b06(0x148),'folders':[a244_0x1b9b06(0x15e)],'files':[{'type':a244_0x1b9b06(0x13b),'path':a244_0x1b9b06(0x147),'template':'SKILL.md.tpl'}]},'trae':{'name':a244_0x1b9b06(0x132),'description':a244_0x1b9b06(0x149),'folders':[a244_0x1b9b06(0x143)],'files':[{'type':a244_0x1b9b06(0x13b),'path':'.trae/skills/lovrabet/SKILL.md','template':'SKILL.md.tpl'}]}};function a244_0x122d(){const _0x17dce0=['.codebuddy','qoder','.cline/skills/lovrabet/SKILL.md','.agent/skills/lovrabet/SKILL.md','Claude\x20Code','OpenCode\x20IDE','.qoder/rules/rabetbase.md','Codex','.cline','Trae','36ufoeQH','1152MfWKLf','antigravity','windsurf','20nvNxtG','agent','Qoder\x20IDE','.opencode','file','opencode','48524RhiBSz','通用模板\x20-\x20兜底方案','7883655qzwxyc','22492129MgOVdB','trae','2628018fMkLWQ','.trae','Windsurf','.codex','claude','.codebuddy/skills/lovrabet/SKILL.md','CodeBuddy\x20IDE','Trae\x20IDE','.agent','SKILL.md.tpl','4MYAjUd','codebuddy','.qoder/skills/lovrabet/SKILL.md','cursor','Cline','2586112XsuQsP','Cursor','.windsurf','codex','.cursorrules','.cursor','cline','Windsurf\x20IDE','CodeBuddy','Antigravity\x20IDE','1140324ewhGIf','OpenCode','231167YASfkE'];a244_0x122d=function(){return _0x17dce0;};return a244_0x122d();}export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':'其他\x20(通用模板)','description':a244_0x1b9b06(0x13e),'folders':[a244_0x1b9b06(0x14a)],'files':[{'type':a244_0x1b9b06(0x13b),'path':a244_0x1b9b06(0x161),'template':'SKILL.md.tpl'}]},'antigravity':{'name':'Antigravity','description':a244_0x1b9b06(0x15a),'folders':['.agent'],'files':[{'type':a244_0x1b9b06(0x13b),'path':a244_0x1b9b06(0x161),'template':'SKILL.md.tpl'}]}};export const CORE_IDE_LIST=['claude',a244_0x1b9b06(0x157),'codebuddy',a244_0x1b9b06(0x154),a244_0x1b9b06(0x14f),a244_0x1b9b06(0x13c),'qoder',a244_0x1b9b06(0x141),a244_0x1b9b06(0x136)];export const IDE_LIST=[a244_0x1b9b06(0x135),a244_0x1b9b06(0x146),a244_0x1b9b06(0x157),a244_0x1b9b06(0x14d),a244_0x1b9b06(0x154),a244_0x1b9b06(0x14f),a244_0x1b9b06(0x13c),'qoder',a244_0x1b9b06(0x141),a244_0x1b9b06(0x136),a244_0x1b9b06(0x138)];function a244_0x3da5(_0x17a87e,_0x36c205){_0x17a87e=_0x17a87e-0x12d;const _0x122ddc=a244_0x122d();let _0x3da5ce=_0x122ddc[_0x17a87e];return _0x3da5ce;}export const ALL_CORE_IDES=[a244_0x1b9b06(0x14f),a244_0x1b9b06(0x136),a244_0x1b9b06(0x146),a244_0x1b9b06(0x157),a244_0x1b9b06(0x154),a244_0x1b9b06(0x13c),a244_0x1b9b06(0x15f),'codebuddy',a244_0x1b9b06(0x141)];
@@ -1 +1 @@
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
+ function a245_0x32ea(_0x57271c,_0xf09563){_0x57271c=_0x57271c-0x1a8;const _0x3ea0c2=a245_0x3ea0();let _0x32ea06=_0x3ea0c2[_0x57271c];return _0x32ea06;}(function(_0x4910e6,_0x3893c){const _0x515a6=a245_0x32ea,_0x3ba571=_0x4910e6();while(!![]){try{const _0x2a4ff6=parseInt(_0x515a6(0x1ac))/0x1*(-parseInt(_0x515a6(0x1a9))/0x2)+parseInt(_0x515a6(0x1af))/0x3+parseInt(_0x515a6(0x1ab))/0x4*(parseInt(_0x515a6(0x1b0))/0x5)+parseInt(_0x515a6(0x1ad))/0x6+parseInt(_0x515a6(0x1a8))/0x7+-parseInt(_0x515a6(0x1ae))/0x8+parseInt(_0x515a6(0x1aa))/0x9;if(_0x2a4ff6===_0x3893c)break;else _0x3ba571['push'](_0x3ba571['shift']());}catch(_0x4c167e){_0x3ba571['push'](_0x3ba571['shift']());}}}(a245_0x3ea0,0x8d771));import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});function a245_0x3ea0(){const _0x441d33=['671730HHjPXe','1069570vytyNn','7390719aGLcZJ','79700sgDDYT','4308831CMKBgb','4fZfzdn','26FkIaGp','205794osxxeX','3129264IQQEaL'];a245_0x3ea0=function(){return _0x441d33;};return a245_0x3ea0();}
@@ -1 +1 @@
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=![];}
1
+ (function(_0x438a4e,_0xb79bb6){const _0x92f63e=a246_0x27a6,_0x34546e=_0x438a4e();while(!![]){try{const _0x2db0d3=parseInt(_0x92f63e(0x148))/0x1+-parseInt(_0x92f63e(0x147))/0x2*(parseInt(_0x92f63e(0x149))/0x3)+-parseInt(_0x92f63e(0x140))/0x4+parseInt(_0x92f63e(0x14f))/0x5+-parseInt(_0x92f63e(0x14a))/0x6*(-parseInt(_0x92f63e(0x14b))/0x7)+parseInt(_0x92f63e(0x145))/0x8+-parseInt(_0x92f63e(0x146))/0x9;if(_0x2db0d3===_0xb79bb6)break;else _0x34546e['push'](_0x34546e['shift']());}catch(_0x20a1a4){_0x34546e['push'](_0x34546e['shift']());}}}(a246_0x4717,0x9f302));function a246_0x4717(){const _0x2e085e=['6596514OoJUge','161114HeKhZp','1247106JFDViB','21RKqfsC','657978LkctAS','35jggHof','stableVersion','application/json','node','1883960ogmLqO','1005808ZmCbBb','json','/config/index.json','sdk','cli','224944sFRkij'];a246_0x4717=function(){return _0x2e085e;};return a246_0x4717();}import{getTemplateBaseUrl}from'../utils/config.js';export async function fetchCdnConfig(){const _0x495fbc=a246_0x27a6,_0x4be80c=getTemplateBaseUrl(),_0x3ca783=[_0x4be80c+'/config.json',_0x4be80c+_0x495fbc(0x142)];for(const _0x12ab17 of _0x3ca783){try{const _0x11af4d=await fetch(_0x12ab17,{'headers':{'Accept':_0x495fbc(0x14d)}});if(!_0x11af4d['ok'])continue;const _0x312b9b=await _0x11af4d[_0x495fbc(0x141)]();if(!_0x312b9b[_0x495fbc(0x144)]?.['stableVersion']||!_0x312b9b[_0x495fbc(0x143)]?.[_0x495fbc(0x14e)]?.[_0x495fbc(0x14c)])continue;return _0x312b9b;}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 _0x54cb60=Date['now']();if(hasCachedConfig){const _0x1e57cf=cachedConfig?CACHE_TTL:FAILURE_CACHE_TTL;if(_0x54cb60-cacheTime<_0x1e57cf)return cachedConfig;}const _0x11d562=await fetchCdnConfig();return cachedConfig=_0x11d562,cacheTime=_0x54cb60,hasCachedConfig=!![],_0x11d562;}function a246_0x27a6(_0x4caafa,_0x116332){_0x4caafa=_0x4caafa-0x140;const _0x4717cb=a246_0x4717();let _0x27a61a=_0x4717cb[_0x4caafa];return _0x27a61a;}export function clearCdnConfigCache(){cachedConfig=null,cacheTime=0x0,hasCachedConfig=![];}