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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (263) hide show
  1. package/README.md +1 -1
  2. package/lib/api/api-doc.js +1 -1
  3. package/lib/api/fetch-model-list.js +1 -1
  4. package/lib/api/generate-api-file.js +1 -1
  5. package/lib/auth/auth-server-ui.js +1 -1
  6. package/lib/auth/auth-server.js +1 -1
  7. package/lib/auth/constant.js +1 -1
  8. package/lib/auth/get-cookie.js +1 -1
  9. package/lib/auth/get-session-user.js +1 -1
  10. package/lib/auth/is-session-valid.js +1 -1
  11. package/lib/auth/login-success-html.js +1 -1
  12. package/lib/auth/logout.js +1 -1
  13. package/lib/cli-flags.js +1 -1
  14. package/lib/cli.js +1 -1
  15. package/lib/commands/api/generate.js +1 -1
  16. package/lib/commands/api/index.js +1 -1
  17. package/lib/commands/api/list.js +1 -1
  18. package/lib/commands/api/pull.js +1 -1
  19. package/lib/commands/api/shared.js +1 -1
  20. package/lib/commands/app/add.js +1 -1
  21. package/lib/commands/app/index.js +1 -1
  22. package/lib/commands/app/list.js +1 -1
  23. package/lib/commands/app/remote-directory.js +1 -1
  24. package/lib/commands/app/remove.js +1 -1
  25. package/lib/commands/app/shared.js +1 -1
  26. package/lib/commands/app-config/delete.js +1 -1
  27. package/lib/commands/app-config/get.js +1 -1
  28. package/lib/commands/app-config/index.js +1 -1
  29. package/lib/commands/app-config/list.js +1 -1
  30. package/lib/commands/app-config/set.js +1 -1
  31. package/lib/commands/app-config/shared.js +1 -1
  32. package/lib/commands/auth/index.js +1 -1
  33. package/lib/commands/bff/create.js +1 -1
  34. package/lib/commands/bff/delete.js +1 -1
  35. package/lib/commands/bff/detail.js +1 -1
  36. package/lib/commands/bff/index.js +1 -1
  37. package/lib/commands/bff/list.js +1 -1
  38. package/lib/commands/bff/pull.js +1 -1
  39. package/lib/commands/bff/push.js +1 -1
  40. package/lib/commands/bff/status.js +1 -1
  41. package/lib/commands/cli-skill/index.js +1 -1
  42. package/lib/commands/cli-update.js +1 -1
  43. package/lib/commands/codegen/index.js +1 -1
  44. package/lib/commands/codegen/sdk.js +1 -1
  45. package/lib/commands/codegen/sql.js +1 -1
  46. package/lib/commands/common/app-registry.js +1 -1
  47. package/lib/commands/common/app-selector.js +1 -1
  48. package/lib/commands/common/async-task.js +1 -1
  49. package/lib/commands/common/dry-run.js +1 -1
  50. package/lib/commands/common/flags.js +1 -1
  51. package/lib/commands/common/local-file.js +1 -1
  52. package/lib/commands/common/validate.js +1 -1
  53. package/lib/commands/config/get.js +1 -1
  54. package/lib/commands/config/index.js +1 -1
  55. package/lib/commands/config/list.js +1 -1
  56. package/lib/commands/config/set.js +1 -1
  57. package/lib/commands/config/shared.js +1 -1
  58. package/lib/commands/data/filter.js +1 -1
  59. package/lib/commands/data/getOne.js +1 -1
  60. package/lib/commands/data/index.js +1 -1
  61. package/lib/commands/data/shared.js +1 -1
  62. package/lib/commands/dataset/business-group-update.js +1 -1
  63. package/lib/commands/dataset/capability.js +1 -1
  64. package/lib/commands/dataset/delete.js +1 -1
  65. package/lib/commands/dataset/detail.js +1 -1
  66. package/lib/commands/dataset/extend-update.js +1 -1
  67. package/lib/commands/dataset/field-update.js +1 -1
  68. package/lib/commands/dataset/generate.js +1 -1
  69. package/lib/commands/dataset/index.js +1 -1
  70. package/lib/commands/dataset/list.js +1 -1
  71. package/lib/commands/dataset/operations.js +1 -1
  72. package/lib/commands/dataset/relation-audit.js +1 -1
  73. package/lib/commands/dataset/relation-create.js +1 -1
  74. package/lib/commands/dataset/relation-delete.js +1 -1
  75. package/lib/commands/dataset/relation-shared.js +1 -1
  76. package/lib/commands/dataset/relation-update.js +1 -1
  77. package/lib/commands/dataset/relations.js +1 -1
  78. package/lib/commands/dataset/rename.js +1 -1
  79. package/lib/commands/dataset/restore.js +1 -1
  80. package/lib/commands/db/analysis-batching.js +1 -1
  81. package/lib/commands/db/analyze-batch-plan.js +1 -1
  82. package/lib/commands/db/analyze-cancel.js +1 -1
  83. package/lib/commands/db/analyze-start.js +1 -1
  84. package/lib/commands/db/analyze-status.js +1 -1
  85. package/lib/commands/db/create.js +1 -1
  86. package/lib/commands/db/delete.js +1 -1
  87. package/lib/commands/db/detail.js +1 -1
  88. package/lib/commands/db/diff.js +1 -1
  89. package/lib/commands/db/index.js +1 -1
  90. package/lib/commands/db/list.js +1 -1
  91. package/lib/commands/db/shared.js +1 -1
  92. package/lib/commands/db/tables.js +1 -1
  93. package/lib/commands/db/test.js +1 -1
  94. package/lib/commands/db/update.js +1 -1
  95. package/lib/commands/doctor.js +1 -1
  96. package/lib/commands/file/index.js +1 -1
  97. package/lib/commands/init/index.js +1 -1
  98. package/lib/commands/issue/index.js +1 -1
  99. package/lib/commands/issue/nudge.js +1 -1
  100. package/lib/commands/issue/report.js +1 -1
  101. package/lib/commands/issue/shared.js +1 -1
  102. package/lib/commands/logs/index.js +1 -1
  103. package/lib/commands/menu/asset-update.js +1 -0
  104. package/lib/commands/menu/delete.js +1 -1
  105. package/lib/commands/menu/external-link-create.js +1 -1
  106. package/lib/commands/menu/external-link-update.js +1 -0
  107. package/lib/commands/menu/group-create.js +1 -1
  108. package/lib/commands/menu/group-update.js +1 -1
  109. package/lib/commands/menu/index.js +1 -1
  110. package/lib/commands/menu/list.js +1 -1
  111. package/lib/commands/menu/move.js +1 -1
  112. package/lib/commands/menu/regroup-start.js +1 -1
  113. package/lib/commands/menu/shared/compare-table.js +1 -1
  114. package/lib/commands/menu/shared/delete-plan.js +1 -1
  115. package/lib/commands/menu/shared/facts.js +1 -1
  116. package/lib/commands/menu/shared/index.js +1 -1
  117. package/lib/commands/menu/shared/inquirer.js +1 -1
  118. package/lib/commands/menu/shared/local-pages.js +1 -1
  119. package/lib/commands/menu/shared/logic.js +1 -1
  120. package/lib/commands/menu/shared/mutations.js +1 -1
  121. package/lib/commands/menu/shared/service.js +1 -1
  122. package/lib/commands/menu/shared/sync-core.js +1 -1
  123. package/lib/commands/menu/shared/update-core.js +1 -1
  124. package/lib/commands/menu/shared/valid-url.js +1 -1
  125. package/lib/commands/menu/sync.js +1 -1
  126. package/lib/commands/notification/config-list.js +1 -1
  127. package/lib/commands/notification/index.js +1 -1
  128. package/lib/commands/page/generate-start.js +1 -1
  129. package/lib/commands/page/generate-status.js +1 -1
  130. package/lib/commands/page/index.js +1 -1
  131. package/lib/commands/page/pull.js +1 -1
  132. package/lib/commands/page/push.js +1 -1
  133. package/lib/commands/page/relation-audit.js +1 -1
  134. package/lib/commands/page/shared.js +1 -1
  135. package/lib/commands/page/standard-page-status.js +1 -1
  136. package/lib/commands/page/sync.js +1 -1
  137. package/lib/commands/permit/index.js +1 -1
  138. package/lib/commands/permit/page-get.js +1 -1
  139. package/lib/commands/permit/page-set.js +1 -1
  140. package/lib/commands/permit/role-apis-set.js +1 -1
  141. package/lib/commands/permit/role-menus-set.js +1 -1
  142. package/lib/commands/permit/role-menus.js +1 -1
  143. package/lib/commands/permit/shared.js +1 -1
  144. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  145. package/lib/commands/project/create/format-elapsed.js +1 -1
  146. package/lib/commands/project/create/main.js +1 -1
  147. package/lib/commands/project/create/non-interactive.js +1 -1
  148. package/lib/commands/project/create/project-template-path.js +1 -1
  149. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  150. package/lib/commands/project/create/use-format-code.js +1 -1
  151. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  152. package/lib/commands/project/index.js +1 -1
  153. package/lib/commands/project/init.js +1 -1
  154. package/lib/commands/project/upgrade.js +1 -1
  155. package/lib/commands/registry.js +1 -1
  156. package/lib/commands/role/create.js +1 -1
  157. package/lib/commands/role/delete.js +1 -1
  158. package/lib/commands/role/detail.js +1 -1
  159. package/lib/commands/role/index.js +1 -1
  160. package/lib/commands/role/list.js +1 -1
  161. package/lib/commands/role/shared.js +1 -1
  162. package/lib/commands/role/update.js +1 -1
  163. package/lib/commands/role/user-add.js +1 -1
  164. package/lib/commands/role/user-remove.js +1 -1
  165. package/lib/commands/role/user-resolve.js +1 -1
  166. package/lib/commands/run/index.js +1 -1
  167. package/lib/commands/schema.js +1 -1
  168. package/lib/commands/sql/create.js +1 -1
  169. package/lib/commands/sql/delete.js +1 -1
  170. package/lib/commands/sql/detail.js +1 -1
  171. package/lib/commands/sql/exec.js +1 -1
  172. package/lib/commands/sql/index.js +1 -1
  173. package/lib/commands/sql/list.js +1 -1
  174. package/lib/commands/sql/pull.js +1 -1
  175. package/lib/commands/sql/push.js +1 -1
  176. package/lib/commands/sql/save.js +1 -1
  177. package/lib/commands/sql/shared.js +1 -1
  178. package/lib/commands/sql/status.js +1 -1
  179. package/lib/commands/sql/validate.js +1 -1
  180. package/lib/commands/task/index.js +1 -1
  181. package/lib/commands/task/status.js +1 -1
  182. package/lib/commands/workspace/add.js +1 -1
  183. package/lib/commands/workspace/index.js +1 -1
  184. package/lib/commands/workspace/remove.js +1 -1
  185. package/lib/config/schema.js +1 -1
  186. package/lib/constant/cdn.js +1 -1
  187. package/lib/constant/cli.js +1 -1
  188. package/lib/constant/defaults.js +1 -1
  189. package/lib/constant/domain.js +1 -1
  190. package/lib/constant/env.js +1 -1
  191. package/lib/constant/output.js +1 -1
  192. package/lib/constant/paths.js +1 -1
  193. package/lib/constant/risk.js +1 -1
  194. package/lib/context/app-resolver.js +1 -1
  195. package/lib/context/auth-resolver.js +1 -1
  196. package/lib/context/config-loader.js +1 -1
  197. package/lib/context.js +1 -1
  198. package/lib/core/alias-resolver.js +1 -1
  199. package/lib/core/api-client.js +1 -1
  200. package/lib/core/bff/config.js +1 -1
  201. package/lib/core/bff/file-system.js +1 -1
  202. package/lib/core/bff/hash.js +1 -1
  203. package/lib/core/bff/lock.js +1 -1
  204. package/lib/core/bff/utils.js +1 -1
  205. package/lib/core/db-resolver.js +1 -1
  206. package/lib/core/page/file-system.js +1 -1
  207. package/lib/core/page/hash.js +1 -1
  208. package/lib/core/page/lock.js +1 -1
  209. package/lib/core/sql-index-auditor.js +1 -1
  210. package/lib/core/sql-sync/config.js +1 -1
  211. package/lib/core/sql-sync/file-system.js +1 -1
  212. package/lib/core/sql-sync/hash.js +1 -1
  213. package/lib/core/sql-sync/lock.js +1 -1
  214. package/lib/core/sql-sync/utils.js +1 -1
  215. package/lib/core/sql-validator.js +1 -1
  216. package/lib/errors.js +1 -1
  217. package/lib/framework/build-all-flags.js +1 -1
  218. package/lib/framework/error-output.js +1 -1
  219. package/lib/framework/explicit-yes.js +1 -1
  220. package/lib/framework/flags.js +1 -1
  221. package/lib/framework/help.js +1 -1
  222. package/lib/framework/index.js +1 -1
  223. package/lib/framework/output.js +1 -1
  224. package/lib/framework/response.js +1 -1
  225. package/lib/framework/runner-alias.js +1 -1
  226. package/lib/framework/runner.js +1 -1
  227. package/lib/framework/schema-export.js +1 -1
  228. package/lib/framework/types.js +1 -1
  229. package/lib/generated/build-info.js +1 -1
  230. package/lib/help.js +1 -1
  231. package/lib/skills/main.js +1 -1
  232. package/lib/skills/npx-skills-add.js +1 -1
  233. package/lib/telemetry/cli-command-trace.js +1 -1
  234. package/lib/telemetry/cli-help-trace.js +1 -1
  235. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  236. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  237. package/lib/telemetry/send-cli-trace-log.js +1 -1
  238. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  239. package/lib/utils/ai_config.js +1 -1
  240. package/lib/utils/apply-jq-filter.js +1 -1
  241. package/lib/utils/cdn-config.js +1 -1
  242. package/lib/utils/check-sdk-version.js +1 -1
  243. package/lib/utils/cli-version-check.js +1 -1
  244. package/lib/utils/cli-version-policy.js +1 -1
  245. package/lib/utils/config.js +1 -1
  246. package/lib/utils/copy-directory.js +1 -1
  247. package/lib/utils/entity-with-id.js +1 -1
  248. package/lib/utils/file-utils.js +1 -1
  249. package/lib/utils/guides-cdn.js +1 -1
  250. package/lib/utils/http-client.js +1 -1
  251. package/lib/utils/is-non-interactive.js +1 -1
  252. package/lib/utils/logger.js +1 -1
  253. package/lib/utils/params.js +1 -1
  254. package/lib/utils/platform.js +1 -1
  255. package/lib/utils/rules-cdn.js +1 -1
  256. package/lib/utils/sleep.js +1 -1
  257. package/lib/utils/template-replacer.js +1 -1
  258. package/lib/utils/update-notice.js +1 -1
  259. package/lib/utils/version.js +1 -1
  260. package/lib/utils/with-active-cookie.js +1 -1
  261. package/lib/utils/write-cli-side-channel.js +1 -1
  262. package/package.json +1 -1
  263. package/lib/commands/menu/update.js +0 -1
@@ -1 +1 @@
1
- (function(_0x885796,_0x590919){var _0x272fae=a219_0x19ec,_0xae3faa=_0x885796();while(!![]){try{var _0x19e0ce=parseInt(_0x272fae(0x176))/0x1*(parseInt(_0x272fae(0x177))/0x2)+parseInt(_0x272fae(0x17d))/0x3+-parseInt(_0x272fae(0x17f))/0x4*(-parseInt(_0x272fae(0x180))/0x5)+parseInt(_0x272fae(0x179))/0x6+parseInt(_0x272fae(0x171))/0x7+parseInt(_0x272fae(0x175))/0x8+-parseInt(_0x272fae(0x17a))/0x9*(parseInt(_0x272fae(0x174))/0xa);if(_0x19e0ce===_0x590919)break;else _0xae3faa['push'](_0xae3faa['shift']());}catch(_0x129c0b){_0xae3faa['push'](_0xae3faa['shift']());}}}(a219_0x731a,0x3f23d));import{resolveOutputConfig}from'@lovrabet/cli-framework';function a219_0x19ec(_0x1520b8,_0x5da477){_0x1520b8=_0x1520b8-0x171;var _0x731a3d=a219_0x731a();var _0x19ecf0=_0x731a3d[_0x1520b8];return _0x19ecf0;}export function usesStructuredErrorOutput(_0x1d82cd){var _0x36f6ce=a219_0x19ec;return _0x1d82cd?.[_0x36f6ce(0x17b)]===!![];}function a219_0x731a(){var _0xd900b2=['165izXtwy','1803928dWBILH','compress','def','12181380YIkOBs','296144tlXIkj','80609kuVZSv','6LyFWNl','format','824784JBLUpw','9JQftMl','structuredErrors','defaultFormat','1528425KFtTDi','flags','35548FxZfMp'];a219_0x731a=function(){return _0xd900b2;};return a219_0x731a();}export function resolveErrorOutputFormat(_0x548df6){var _0x20a6d7=a219_0x19ec;if(!_0x548df6['def'])return _0x548df6[_0x20a6d7(0x17c)]??_0x20a6d7(0x172);return resolveOutputConfig({'flags':_0x548df6[_0x20a6d7(0x17e)]??{},'def':_0x548df6[_0x20a6d7(0x173)],'configDefault':_0x548df6[_0x20a6d7(0x17c)]})[_0x20a6d7(0x178)];}
1
+ (function(_0x33db11,_0x47c8d8){var _0x45692a=a220_0x3294,_0x2816e7=_0x33db11();while(!![]){try{var _0x4b350b=parseInt(_0x45692a(0x1ea))/0x1*(parseInt(_0x45692a(0x1e8))/0x2)+parseInt(_0x45692a(0x1e6))/0x3+parseInt(_0x45692a(0x1e9))/0x4*(-parseInt(_0x45692a(0x1e4))/0x5)+-parseInt(_0x45692a(0x1e5))/0x6*(-parseInt(_0x45692a(0x1f0))/0x7)+parseInt(_0x45692a(0x1e2))/0x8*(parseInt(_0x45692a(0x1ec))/0x9)+parseInt(_0x45692a(0x1ee))/0xa+-parseInt(_0x45692a(0x1e7))/0xb;if(_0x4b350b===_0x47c8d8)break;else _0x2816e7['push'](_0x2816e7['shift']());}catch(_0x2492b3){_0x2816e7['push'](_0x2816e7['shift']());}}}(a220_0x6567,0x8e9e6));function a220_0x3294(_0x12ac73,_0x30c860){_0x12ac73=_0x12ac73-0x1e1;var _0x656783=a220_0x6567();var _0x329498=_0x656783[_0x12ac73];return _0x329498;}function a220_0x6567(){var _0x9c9b34=['format','1464zkTHjM','structuredErrors','28245vkyVkO','10422QXjpqo','1211856pRlHos','25586638AInEgm','910990EPfqPW','80fIWTSx','1LUVtQh','flags','31194kMhUxJ','defaultFormat','7530400xRlkpL','def','3129yygmUM'];a220_0x6567=function(){return _0x9c9b34;};return a220_0x6567();}import{resolveOutputConfig}from'@lovrabet/cli-framework';export function usesStructuredErrorOutput(_0x14c4ee){var _0x458b53=a220_0x3294;return _0x14c4ee?.[_0x458b53(0x1e3)]===!![];}export function resolveErrorOutputFormat(_0x1b68a0){var _0x350486=a220_0x3294;if(!_0x1b68a0[_0x350486(0x1ef)])return _0x1b68a0['defaultFormat']??'compress';return resolveOutputConfig({'flags':_0x1b68a0[_0x350486(0x1eb)]??{},'def':_0x1b68a0[_0x350486(0x1ef)],'configDefault':_0x1b68a0[_0x350486(0x1ed)]})[_0x350486(0x1e1)];}
@@ -1 +1 @@
1
- const a220_0xa35af0=a220_0x27aa;function a220_0x27aa(_0x3ea63d,_0x547eb1){_0x3ea63d=_0x3ea63d-0x12a;const _0x25330f=a220_0x2533();let _0x27aaba=_0x25330f[_0x3ea63d];return _0x27aaba;}(function(_0x11d202,_0x1912de){const _0x5949a2=a220_0x27aa,_0x4d0660=_0x11d202();while(!![]){try{const _0x2e4c6a=parseInt(_0x5949a2(0x138))/0x1*(parseInt(_0x5949a2(0x12a))/0x2)+parseInt(_0x5949a2(0x12b))/0x3*(-parseInt(_0x5949a2(0x131))/0x4)+-parseInt(_0x5949a2(0x132))/0x5+-parseInt(_0x5949a2(0x134))/0x6+parseInt(_0x5949a2(0x133))/0x7+parseInt(_0x5949a2(0x135))/0x8*(parseInt(_0x5949a2(0x12d))/0x9)+parseInt(_0x5949a2(0x130))/0xa;if(_0x2e4c6a===_0x1912de)break;else _0x4d0660['push'](_0x4d0660['shift']());}catch(_0x5777fd){_0x4d0660['push'](_0x4d0660['shift']());}}}(a220_0x2533,0x61567));const EXPLICIT_YES_COMMANDS=new Set([a220_0xa35af0(0x139),a220_0xa35af0(0x12f),'menu\x20group-create',a220_0xa35af0(0x12c),'menu\x20move','menu\x20regroup-start']);export const EXPLICIT_YES_FLAG_DESCRIPTION=a220_0xa35af0(0x13a);export function requiresExplicitYes(_0x2c631f){const _0x4d9e0c=a220_0xa35af0;return EXPLICIT_YES_COMMANDS[_0x4d9e0c(0x136)](_0x2c631f[_0x4d9e0c(0x12e)]+'\x20'+_0x2c631f[_0x4d9e0c(0x137)]);}function a220_0x2533(){const _0x108524=['Required\x20for\x20execution\x20after\x20reviewing\x20the\x20--dry-run\x20plan','10502sSzRBK','1692816Xstxis','menu\x20group-update','1701vExAGl','service','menu\x20delete','1598850IsnIBU','4qAqTzV','732925wUswsL','4360146uEMksI','3790386XJlKFy','13456cfFpSi','has','command','122JQulKa','menu\x20external-link-create'];a220_0x2533=function(){return _0x108524;};return a220_0x2533();}
1
+ const a221_0x1e0cd5=a221_0x504d;function a221_0x504d(_0x13bb64,_0x1ba0c6){_0x13bb64=_0x13bb64-0xa7;const _0x33744f=a221_0x3374();let _0x504dbd=_0x33744f[_0x13bb64];return _0x504dbd;}(function(_0x4409b7,_0x30b774){const _0x4bdfd8=a221_0x504d,_0x2d8062=_0x4409b7();while(!![]){try{const _0x348c69=-parseInt(_0x4bdfd8(0xb2))/0x1*(-parseInt(_0x4bdfd8(0xb7))/0x2)+-parseInt(_0x4bdfd8(0xb0))/0x3*(-parseInt(_0x4bdfd8(0xb3))/0x4)+parseInt(_0x4bdfd8(0xb8))/0x5+parseInt(_0x4bdfd8(0xaa))/0x6*(parseInt(_0x4bdfd8(0xb4))/0x7)+-parseInt(_0x4bdfd8(0xb1))/0x8*(-parseInt(_0x4bdfd8(0xb9))/0x9)+parseInt(_0x4bdfd8(0xaf))/0xa+-parseInt(_0x4bdfd8(0xab))/0xb;if(_0x348c69===_0x30b774)break;else _0x2d8062['push'](_0x2d8062['shift']());}catch(_0x1f2a6b){_0x2d8062['push'](_0x2d8062['shift']());}}}(a221_0x3374,0x43685));const EXPLICIT_YES_COMMANDS=new Set([a221_0x1e0cd5(0xb5),'menu\x20delete',a221_0x1e0cd5(0xae),a221_0x1e0cd5(0xa9),a221_0x1e0cd5(0xa7),a221_0x1e0cd5(0xa8)]);export const EXPLICIT_YES_FLAG_DESCRIPTION=a221_0x1e0cd5(0xac);function a221_0x3374(){const _0x2176dd=['menu\x20external-link-update','command','1092634IOPfNd','2486690HnliFH','638559kPqfJS','has','menu\x20move','menu\x20regroup-start','menu\x20group-update','1626WqHZry','27518645DhvNLa','Required\x20for\x20execution\x20after\x20reviewing\x20the\x20--dry-run\x20plan','service','menu\x20group-create','4425280WQBAgR','15Rusqry','56rvYJoq','1jBnelf','308380hegWKE','10577OedpIO'];a221_0x3374=function(){return _0x2176dd;};return a221_0x3374();}export function requiresExplicitYes(_0x229312){const _0x298b2b=a221_0x1e0cd5;return EXPLICIT_YES_COMMANDS[_0x298b2b(0xba)](_0x229312[_0x298b2b(0xad)]+'\x20'+_0x229312[_0x298b2b(0xb6)]);}
@@ -1 +1 @@
1
- const a221_0x524250=a221_0x10fd;function a221_0x10fd(_0x5d72d0,_0x391056){_0x5d72d0=_0x5d72d0-0x1a6;const _0x181852=a221_0x1818();let _0x10fd4c=_0x181852[_0x5d72d0];return _0x10fd4c;}(function(_0x54d006,_0x168f8b){const _0x573f2f=a221_0x10fd,_0x31587d=_0x54d006();while(!![]){try{const _0x14f2f8=-parseInt(_0x573f2f(0x1ae))/0x1*(-parseInt(_0x573f2f(0x1a7))/0x2)+parseInt(_0x573f2f(0x1ad))/0x3*(parseInt(_0x573f2f(0x1b0))/0x4)+parseInt(_0x573f2f(0x1af))/0x5+parseInt(_0x573f2f(0x1a8))/0x6*(-parseInt(_0x573f2f(0x1ab))/0x7)+parseInt(_0x573f2f(0x1a6))/0x8+-parseInt(_0x573f2f(0x1a9))/0x9+-parseInt(_0x573f2f(0x1ac))/0xa*(parseInt(_0x573f2f(0x1b1))/0xb);if(_0x14f2f8===_0x168f8b)break;else _0x31587d['push'](_0x31587d['shift']());}catch(_0xbbf879){_0x31587d['push'](_0x31587d['shift']());}}}(a221_0x1818,0xd6687));import{createFlagHelpers}from'@lovrabet/cli-framework';function a221_0x1818(){const _0x368ab2=['561tKZdXU','12397560NTOINN','814154QQZfEW','520446NTEXmw','8447256wpsyCH','parseFlags','91wOOMCd','185410gXSrOr','340947toSjBV','1iHyEwD','7961520kmJJOR','12qzXHFK'];a221_0x1818=function(){return _0x368ab2;};return a221_0x1818();}import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers[a221_0x524250(0x1aa)];export const validateFlags=helpers['validateFlags'];
1
+ const a222_0x2b0c2d=a222_0x1dc3;(function(_0x49d26d,_0x424ef6){const _0xd46f6e=a222_0x1dc3,_0x10bf0f=_0x49d26d();while(!![]){try{const _0xbfbb4e=parseInt(_0xd46f6e(0x166))/0x1*(-parseInt(_0xd46f6e(0x165))/0x2)+-parseInt(_0xd46f6e(0x16e))/0x3*(parseInt(_0xd46f6e(0x170))/0x4)+-parseInt(_0xd46f6e(0x16c))/0x5*(parseInt(_0xd46f6e(0x172))/0x6)+parseInt(_0xd46f6e(0x168))/0x7*(parseInt(_0xd46f6e(0x167))/0x8)+parseInt(_0xd46f6e(0x171))/0x9*(parseInt(_0xd46f6e(0x16f))/0xa)+parseInt(_0xd46f6e(0x16d))/0xb+parseInt(_0xd46f6e(0x16b))/0xc;if(_0xbfbb4e===_0x424ef6)break;else _0x10bf0f['push'](_0x10bf0f['shift']());}catch(_0xc370db){_0x10bf0f['push'](_0x10bf0f['shift']());}}}(a222_0x20ed,0x3d09b));function a222_0x20ed(){const _0x38b642=['765633QDGBmq','135hfJEsX','4540VEkKLt','6884yqtERd','5184HYOXwl','124386rdmopV','9908GAfAkJ','37geGkcQ','8nEEEFX','1722469NhAhsA','validateFlags','parseFlags','4924716JwZnzT','115XgdFmT'];a222_0x20ed=function(){return _0x38b642;};return a222_0x20ed();}import{createFlagHelpers}from'@lovrabet/cli-framework';function a222_0x1dc3(_0x351abb,_0x43db40){_0x351abb=_0x351abb-0x165;const _0x20edf1=a222_0x20ed();let _0x1dc3a4=_0x20edf1[_0x351abb];return _0x1dc3a4;}import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers[a222_0x2b0c2d(0x16a)];export const validateFlags=helpers[a222_0x2b0c2d(0x169)];
@@ -1 +1 @@
1
- const a222_0x931282=a222_0x49eb;(function(_0x2b5931,_0x36b8e7){const _0x16eab8=a222_0x49eb,_0x4813db=_0x2b5931();while(!![]){try{const _0x48047b=-parseInt(_0x16eab8(0x127))/0x1+-parseInt(_0x16eab8(0x131))/0x2*(-parseInt(_0x16eab8(0x12c))/0x3)+parseInt(_0x16eab8(0x126))/0x4*(-parseInt(_0x16eab8(0x12e))/0x5)+parseInt(_0x16eab8(0x123))/0x6*(-parseInt(_0x16eab8(0x121))/0x7)+parseInt(_0x16eab8(0x128))/0x8+-parseInt(_0x16eab8(0x12d))/0x9+parseInt(_0x16eab8(0x125))/0xa;if(_0x48047b===_0x36b8e7)break;else _0x4813db['push'](_0x4813db['shift']());}catch(_0xe6984a){_0x4813db['push'](_0x4813db['shift']());}}}(a222_0x4a77,0xc4576));import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{requiresExplicitYes}from'../framework/explicit-yes.js';function a222_0x4a77(){const _0x1f780e=['553818JjaheF','replace','1974okgRcc','\x20workspace\x20init`\x20or\x20--appcode).','8298GXpFsh','get','33973370XDArUh','36FUyMkb','1403480FfTOtj','3257680fzPWMP','generateFullHelp','Requires\x20--yes\x20to\x20confirm,\x20or\x20interactive\x20prompt.','generateServiceHelp','6zPBqZV','5947947ejNtnL','610990IyNPNX','\x20[args]\x20[flags]','Requires\x20appcode\x20(set\x20via\x20`'];a222_0x4a77=function(){return _0x1f780e;};return a222_0x4a77();}const generators=createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x2163d4=>serviceGroups[a222_0x931282(0x124)](_0x2163d4),'buildAllFlags':buildAllFlags,'appPrerequisiteText':a222_0x931282(0x130)+CLI_BIN_NAME+a222_0x931282(0x122),'serviceUsageSuffix':a222_0x931282(0x12f)});export function generateCommandHelp(_0x1fbed4){const _0x4c6214=a222_0x931282,_0x5cb531=generators['generateCommandHelp'](_0x1fbed4);if(!requiresExplicitYes(_0x1fbed4))return _0x5cb531;return _0x5cb531[_0x4c6214(0x120)](_0x4c6214(0x12a),'Requires\x20explicit\x20--yes\x20for\x20execution;\x20use\x20--dry-run\x20to\x20preview.');}export const generateServiceHelp=generators[a222_0x931282(0x12b)];function a222_0x49eb(_0x430776,_0x1c7c5b){_0x430776=_0x430776-0x120;const _0x4a7726=a222_0x4a77();let _0x49ebf3=_0x4a7726[_0x430776];return _0x49ebf3;}export const generateFullHelp=generators[a222_0x931282(0x129)];
1
+ const a223_0x54a6e6=a223_0x26af;(function(_0x2ce81c,_0x436fa5){const _0x2af68c=a223_0x26af,_0x3dc298=_0x2ce81c();while(!![]){try{const _0x487267=parseInt(_0x2af68c(0x176))/0x1+parseInt(_0x2af68c(0x17a))/0x2+-parseInt(_0x2af68c(0x182))/0x3+-parseInt(_0x2af68c(0x178))/0x4+parseInt(_0x2af68c(0x181))/0x5+parseInt(_0x2af68c(0x177))/0x6*(-parseInt(_0x2af68c(0x17b))/0x7)+parseInt(_0x2af68c(0x179))/0x8;if(_0x487267===_0x436fa5)break;else _0x3dc298['push'](_0x3dc298['shift']());}catch(_0x10113e){_0x3dc298['push'](_0x3dc298['shift']());}}}(a223_0x2bf1,0x8cd41));function a223_0x26af(_0x2aff91,_0x18d1f9){_0x2aff91=_0x2aff91-0x173;const _0x2bf17d=a223_0x2bf1();let _0x26af38=_0x2bf17d[_0x2aff91];return _0x26af38;}import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{requiresExplicitYes}from'../framework/explicit-yes.js';const generators=createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x5026a1=>serviceGroups[a223_0x54a6e6(0x183)](_0x5026a1),'buildAllFlags':buildAllFlags,'appPrerequisiteText':a223_0x54a6e6(0x17f)+CLI_BIN_NAME+a223_0x54a6e6(0x180),'serviceUsageSuffix':a223_0x54a6e6(0x175)});export function generateCommandHelp(_0x41df70){const _0xffc80e=a223_0x54a6e6,_0x232015=generators[_0xffc80e(0x17d)](_0x41df70);if(!requiresExplicitYes(_0x41df70))return _0x232015;return _0x232015[_0xffc80e(0x17c)](_0xffc80e(0x17e),'Requires\x20explicit\x20--yes\x20for\x20execution;\x20use\x20--dry-run\x20to\x20preview.');}function a223_0x2bf1(){const _0x516cf5=['12XasrNx','1140316yRUQzL','5299112ebUGFv','139846JJXsha','155309yGvPvI','replace','generateCommandHelp','Requires\x20--yes\x20to\x20confirm,\x20or\x20interactive\x20prompt.','Requires\x20appcode\x20(set\x20via\x20`','\x20workspace\x20init`\x20or\x20--appcode).','389295GhopxH','2320083UPFJok','get','generateServiceHelp','generateFullHelp','\x20[args]\x20[flags]','869476YgjFii'];a223_0x2bf1=function(){return _0x516cf5;};return a223_0x2bf1();}export const generateServiceHelp=generators[a223_0x54a6e6(0x173)];export const generateFullHelp=generators[a223_0x54a6e6(0x174)];
@@ -1 +1 @@
1
- (function(_0x152bf5,_0x5ad343){var _0x1df9f3=a223_0x5a48,_0x5d51e8=_0x152bf5();while(!![]){try{var _0x28278f=parseInt(_0x1df9f3(0xf4))/0x1*(-parseInt(_0x1df9f3(0xf0))/0x2)+-parseInt(_0x1df9f3(0xf2))/0x3*(-parseInt(_0x1df9f3(0xf3))/0x4)+parseInt(_0x1df9f3(0xee))/0x5+parseInt(_0x1df9f3(0xeb))/0x6+parseInt(_0x1df9f3(0xef))/0x7+parseInt(_0x1df9f3(0xed))/0x8+-parseInt(_0x1df9f3(0xf1))/0x9*(parseInt(_0x1df9f3(0xec))/0xa);if(_0x28278f===_0x5ad343)break;else _0x5d51e8['push'](_0x5d51e8['shift']());}catch(_0x25306a){_0x5d51e8['push'](_0x5d51e8['shift']());}}}(a223_0x313d,0x48e1a));function a223_0x5a48(_0x44cf39,_0x161d03){_0x44cf39=_0x44cf39-0xeb;var _0x313d55=a223_0x313d();var _0x5a48ea=_0x313d55[_0x44cf39];return _0x5a48ea;}export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';function a223_0x313d(){var _0x37b114=['375UEvIlo','15356UyEegE','1Jcqbsx','421098aKETBy','113690RLqvdl','3124280RlDyMq','996485QxjyOy','1636005sRMiHW','603982SOxEGL','612kUJMwj'];a223_0x313d=function(){return _0x37b114;};return a223_0x313d();}export{riskLevelOrder}from'../framework/types.js';
1
+ (function(_0x5a68fc,_0x3869a1){var _0x27af6a=a224_0x533b,_0x59b5b3=_0x5a68fc();while(!![]){try{var _0x5e2d8f=parseInt(_0x27af6a(0xe7))/0x1+-parseInt(_0x27af6a(0xe9))/0x2+parseInt(_0x27af6a(0xe3))/0x3+-parseInt(_0x27af6a(0xe4))/0x4*(parseInt(_0x27af6a(0xea))/0x5)+parseInt(_0x27af6a(0xe8))/0x6+-parseInt(_0x27af6a(0xe1))/0x7*(parseInt(_0x27af6a(0xe5))/0x8)+-parseInt(_0x27af6a(0xe2))/0x9*(-parseInt(_0x27af6a(0xe6))/0xa);if(_0x5e2d8f===_0x3869a1)break;else _0x59b5b3['push'](_0x59b5b3['shift']());}catch(_0x4a4ddd){_0x59b5b3['push'](_0x59b5b3['shift']());}}}(a224_0x5204,0xb768d));export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';function a224_0x533b(_0x1cbc4f,_0x676362){_0x1cbc4f=_0x1cbc4f-0xe1;var _0x5204b8=a224_0x5204();var _0x533bd9=_0x5204b8[_0x1cbc4f];return _0x533bd9;}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';function a224_0x5204(){var _0x34bf9b=['40SRbsso','875TXewVV','499995zpQdoT','3682326UPCwYg','377956lEocAa','3824fSWyUN','10mGBoSM','332377uBIoJd','1384764VqRBZB','558522HAgsGI'];a224_0x5204=function(){return _0x34bf9b;};return a224_0x5204();}
@@ -1 +1 @@
1
- (function(_0x3c8fd3,_0x5b5a29){const _0x31ac09=a224_0x41fe,_0x372d92=_0x3c8fd3();while(!![]){try{const _0x92b3e2=parseInt(_0x31ac09(0x1f8))/0x1+parseInt(_0x31ac09(0x1eb))/0x2*(-parseInt(_0x31ac09(0x200))/0x3)+-parseInt(_0x31ac09(0x1f3))/0x4+parseInt(_0x31ac09(0x1fc))/0x5+parseInt(_0x31ac09(0x1ea))/0x6+-parseInt(_0x31ac09(0x1ff))/0x7*(-parseInt(_0x31ac09(0x1f9))/0x8)+-parseInt(_0x31ac09(0x1fe))/0x9*(parseInt(_0x31ac09(0x1ec))/0xa);if(_0x92b3e2===_0x5b5a29)break;else _0x372d92['push'](_0x372d92['shift']());}catch(_0x1a0e55){_0x372d92['push'](_0x372d92['shift']());}}}(a224_0x52a0,0x4200b));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(_0x3ef906,_0x4be2c7){const _0x57adae=a224_0x41fe,_0x243029=_0x3ef906[_0x57adae(0x1f7)],{_notice:_0x289e6a,..._0xca2758}=_0x3ef906;void _0x289e6a,baseFormatOutput(_0xca2758,_0x4be2c7),_0x4be2c7[_0x57adae(0x1fa)]==='pretty'&&printPrettyNotice(_0x243029);}export function formatCliError(_0x1b8586,_0x5bada4){const _0x580078=a224_0x41fe;if(_0x5bada4[_0x580078(0x1fa)]===_0x580078(0x1f5))return![];const _0x5a2728=_0x1b8586['data'],_0x8b26e6={'ok':![],'command':_0x5bada4[_0x580078(0x1f1)],'risk':_0x5bada4['risk'],'data':_0x5a2728??null,'error':{'code':_0x1b8586[_0x580078(0x1ed)],'message':_0x1b8586[_0x580078(0x1e7)],..._0x1b8586[_0x580078(0x1e8)]?{'hint':_0x1b8586[_0x580078(0x1e8)]}:{}}},_0x5c6019=_0x5bada4[_0x580078(0x1fa)]===_0x580078(0x201)?JSON['stringify'](_0x8b26e6,null,0x2):JSON[_0x580078(0x1ef)](_0x8b26e6);let _0x403b6c=_0x5c6019;if(_0x5bada4[_0x580078(0x1f4)]?.[_0x580078(0x1ee)]())try{_0x403b6c=applyJqFilter(_0x5c6019,_0x5bada4[_0x580078(0x1f4)]);}catch(_0x224ad2){const _0x502953=_0x224ad2 instanceof CliError?_0x224ad2:CliErrors[_0x580078(0x1fb)](_0x580078(0x1e9)+(_0x224ad2 instanceof Error?_0x224ad2[_0x580078(0x1e7)]:String(_0x224ad2))),_0x22390e={..._0x8b26e6,'error':{'code':_0x502953[_0x580078(0x1ed)],'message':_0x502953[_0x580078(0x1e7)],..._0x502953[_0x580078(0x1e8)]?{'hint':_0x502953[_0x580078(0x1e8)]}:{},'cause':_0x8b26e6['error']}};_0x403b6c=_0x5bada4[_0x580078(0x1fa)]===_0x580078(0x201)?JSON[_0x580078(0x1ef)](_0x22390e,null,0x2):JSON[_0x580078(0x1ef)](_0x22390e);}return process['stdout']['write'](_0x403b6c[_0x580078(0x1f0)]('\x0a')?_0x403b6c:_0x403b6c+'\x0a'),!![];}function a224_0x52a0(){const _0x32712d=['202058jHTSpG','16ZHMzdQ','format','validation','2603720guDJMn','error','54PwpLxw','915089qlmzhx','1547604DzaeZt','json','message','hint','jq:\x20','899832DzLTSD','2TdRDAG','579500jtIcTm','code','trim','stringify','endsWith','command','update','1252YLslSf','jqFilter','pretty','url','_notice'];a224_0x52a0=function(){return _0x32712d;};return a224_0x52a0();}function a224_0x41fe(_0x3baa2d,_0x42724a){_0x3baa2d=_0x3baa2d-0x1e7;const _0x52a044=a224_0x52a0();let _0x41fec6=_0x52a044[_0x3baa2d];return _0x41fec6;}function printPrettyNotice(_0x51d0e5){const _0x658310=a224_0x41fe;if(!_0x51d0e5?.[_0x658310(0x1f2)])return;console[_0x658310(0x1fd)](_0x51d0e5[_0x658310(0x1f2)][_0x658310(0x1e7)]+'\x20('+_0x51d0e5[_0x658310(0x1f2)][_0x658310(0x1f6)]+')');}
1
+ (function(_0x897c0c,_0x33e04d){const _0x2728d2=a225_0x2fe7,_0x2c5a6d=_0x897c0c();while(!![]){try{const _0x4862e1=parseInt(_0x2728d2(0x135))/0x1*(-parseInt(_0x2728d2(0x13c))/0x2)+-parseInt(_0x2728d2(0x134))/0x3+parseInt(_0x2728d2(0x136))/0x4*(-parseInt(_0x2728d2(0x150))/0x5)+parseInt(_0x2728d2(0x148))/0x6+parseInt(_0x2728d2(0x13b))/0x7*(parseInt(_0x2728d2(0x13f))/0x8)+parseInt(_0x2728d2(0x142))/0x9+parseInt(_0x2728d2(0x14c))/0xa;if(_0x4862e1===_0x33e04d)break;else _0x2c5a6d['push'](_0x2c5a6d['shift']());}catch(_0x4050b9){_0x2c5a6d['push'](_0x2c5a6d['shift']());}}}(a225_0x2a0d,0xdb9ee));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a225_0x2a0d(){const _0x3a7dad=['2nzCOEm','pretty','data','1552uLHTnQ','message','stringify','6610230lyDHrh','format','_notice','validation','code','command','9456198ZhbNVB','stdout','url','risk','6667600CNLpyv','json','endsWith','error','342905jIbKnG','3538746VZNLRp','1544226AMoByw','12enRKth','write','update','trim','hint','30737xnFkxb'];a225_0x2a0d=function(){return _0x3a7dad;};return a225_0x2a0d();}function a225_0x2fe7(_0x5ddc70,_0x1e6423){_0x5ddc70=_0x5ddc70-0x134;const _0x2a0da9=a225_0x2a0d();let _0x2fe764=_0x2a0da9[_0x5ddc70];return _0x2fe764;}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(_0x2f1b7e,_0x387881){const _0x3cf445=a225_0x2fe7,_0x51c139=_0x2f1b7e[_0x3cf445(0x144)],{_notice:_0x5af11b,..._0x281734}=_0x2f1b7e;void _0x5af11b,baseFormatOutput(_0x281734,_0x387881),_0x387881[_0x3cf445(0x143)]===_0x3cf445(0x13d)&&printPrettyNotice(_0x51c139);}export function formatCliError(_0x2af888,_0x5808c8){const _0x21dae4=a225_0x2fe7;if(_0x5808c8['format']===_0x21dae4(0x13d))return![];const _0x33c3b0=_0x2af888[_0x21dae4(0x13e)],_0x52f413={'ok':![],'command':_0x5808c8[_0x21dae4(0x147)],'risk':_0x5808c8[_0x21dae4(0x14b)],'data':_0x33c3b0??null,'error':{'code':_0x2af888[_0x21dae4(0x146)],'message':_0x2af888[_0x21dae4(0x140)],..._0x2af888[_0x21dae4(0x13a)]?{'hint':_0x2af888[_0x21dae4(0x13a)]}:{}}},_0x235c71=_0x5808c8[_0x21dae4(0x143)]===_0x21dae4(0x14d)?JSON[_0x21dae4(0x141)](_0x52f413,null,0x2):JSON[_0x21dae4(0x141)](_0x52f413);let _0xdf8dea=_0x235c71;if(_0x5808c8['jqFilter']?.[_0x21dae4(0x139)]())try{_0xdf8dea=applyJqFilter(_0x235c71,_0x5808c8['jqFilter']);}catch(_0x7bd78f){const _0x1e6807=_0x7bd78f instanceof CliError?_0x7bd78f:CliErrors[_0x21dae4(0x145)]('jq:\x20'+(_0x7bd78f instanceof Error?_0x7bd78f[_0x21dae4(0x140)]:String(_0x7bd78f))),_0x5545c5={..._0x52f413,'error':{'code':_0x1e6807[_0x21dae4(0x146)],'message':_0x1e6807['message'],..._0x1e6807[_0x21dae4(0x13a)]?{'hint':_0x1e6807[_0x21dae4(0x13a)]}:{},'cause':_0x52f413[_0x21dae4(0x14f)]}};_0xdf8dea=_0x5808c8[_0x21dae4(0x143)]==='json'?JSON[_0x21dae4(0x141)](_0x5545c5,null,0x2):JSON[_0x21dae4(0x141)](_0x5545c5);}return process[_0x21dae4(0x149)][_0x21dae4(0x137)](_0xdf8dea[_0x21dae4(0x14e)]('\x0a')?_0xdf8dea:_0xdf8dea+'\x0a'),!![];}function printPrettyNotice(_0x2c64d9){const _0x4750c1=a225_0x2fe7;if(!_0x2c64d9?.[_0x4750c1(0x138)])return;console['error'](_0x2c64d9[_0x4750c1(0x138)][_0x4750c1(0x140)]+'\x20('+_0x2c64d9[_0x4750c1(0x138)][_0x4750c1(0x14a)]+')');}
@@ -1 +1 @@
1
- function a225_0x36fc(_0x56e035,_0x5caff1){_0x56e035=_0x56e035-0x14b;var _0x3480a5=a225_0x3480();var _0x36fc7c=_0x3480a5[_0x56e035];return _0x36fc7c;}(function(_0x331403,_0x262372){var _0x37fe45=a225_0x36fc,_0x5b346e=_0x331403();while(!![]){try{var _0x199949=parseInt(_0x37fe45(0x155))/0x1*(parseInt(_0x37fe45(0x154))/0x2)+-parseInt(_0x37fe45(0x14d))/0x3+-parseInt(_0x37fe45(0x152))/0x4*(parseInt(_0x37fe45(0x153))/0x5)+-parseInt(_0x37fe45(0x151))/0x6*(parseInt(_0x37fe45(0x14c))/0x7)+-parseInt(_0x37fe45(0x14b))/0x8*(-parseInt(_0x37fe45(0x156))/0x9)+parseInt(_0x37fe45(0x150))/0xa*(-parseInt(_0x37fe45(0x14e))/0xb)+parseInt(_0x37fe45(0x14f))/0xc;if(_0x199949===_0x262372)break;else _0x5b346e['push'](_0x5b346e['shift']());}catch(_0x4a8bf2){_0x5b346e['push'](_0x5b346e['shift']());}}}(a225_0x3480,0x3d069));function a225_0x3480(){var _0x2e821f=['1750536KyyMvy','4yoMQij','306770zvRVHj','362xlcwCk','769iuUfmE','9MemImj','3643728WjZghe','7yjmLsZ','1218456TJJbSl','421597ibnrTJ','6354588TmgyGk','30rwlbiM'];a225_0x3480=function(){return _0x2e821f;};return a225_0x3480();}export{extractList,extractPaging}from'@lovrabet/cli-framework';
1
+ function a226_0x18bc(_0x329eed,_0x1d5dc0){_0x329eed=_0x329eed-0xaa;var _0x3e1aee=a226_0x3e1a();var _0x18bc25=_0x3e1aee[_0x329eed];return _0x18bc25;}(function(_0x42fbf6,_0x578118){var _0x36fa0b=a226_0x18bc,_0x1a53f9=_0x42fbf6();while(!![]){try{var _0x3e8ac7=parseInt(_0x36fa0b(0xae))/0x1*(parseInt(_0x36fa0b(0xaa))/0x2)+-parseInt(_0x36fa0b(0xb1))/0x3*(parseInt(_0x36fa0b(0xb4))/0x4)+-parseInt(_0x36fa0b(0xab))/0x5*(-parseInt(_0x36fa0b(0xb2))/0x6)+-parseInt(_0x36fa0b(0xaf))/0x7*(-parseInt(_0x36fa0b(0xb3))/0x8)+-parseInt(_0x36fa0b(0xac))/0x9*(-parseInt(_0x36fa0b(0xb0))/0xa)+parseInt(_0x36fa0b(0xb5))/0xb+-parseInt(_0x36fa0b(0xad))/0xc;if(_0x3e8ac7===_0x578118)break;else _0x1a53f9['push'](_0x1a53f9['shift']());}catch(_0x58fcbf){_0x1a53f9['push'](_0x1a53f9['shift']());}}}(a226_0x3e1a,0xc3c9b));function a226_0x3e1a(){var _0x5155a5=['24mwXuww','4oUihgI','7601572kKJFlT','12qOgExW','20505JjXntB','5931WwHZjA','13327368gVCPNl','2536iUKiNY','1913359rdzsPN','13970xEhXeH','3940593XowQNY','1140msjFQF'];a226_0x3e1a=function(){return _0x5155a5;};return a226_0x3e1a();}export{extractList,extractPaging}from'@lovrabet/cli-framework';
@@ -1 +1 @@
1
- (function(_0x5a0d2a,_0x471beb){const _0x204684=a226_0x1181,_0x3e2b86=_0x5a0d2a();while(!![]){try{const _0x6b24b3=parseInt(_0x204684(0x1c5))/0x1*(-parseInt(_0x204684(0x1bd))/0x2)+parseInt(_0x204684(0x1af))/0x3+parseInt(_0x204684(0x1ae))/0x4+parseInt(_0x204684(0x1c0))/0x5*(parseInt(_0x204684(0x1bb))/0x6)+-parseInt(_0x204684(0x1c4))/0x7+parseInt(_0x204684(0x1b6))/0x8*(parseInt(_0x204684(0x1b3))/0x9)+-parseInt(_0x204684(0x1b9))/0xa*(parseInt(_0x204684(0x1ad))/0xb);if(_0x6b24b3===_0x471beb)break;else _0x3e2b86['push'](_0x3e2b86['shift']());}catch(_0x5d2c9b){_0x3e2b86['push'](_0x3e2b86['shift']());}}}(a226_0x5787,0x5d404));import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';function a226_0x1181(_0x15f152,_0x9d9d0c){_0x15f152=_0x15f152-0x1ab;const _0x578792=a226_0x5787();let _0x11812a=_0x578792[_0x15f152];return _0x11812a;}export function resolveAliasToCode(_0x4ec11f,_0x16caf0,_0x5e6058,_0x51b008){const _0x28b9f1=a226_0x1181,_0x132eb4=_0x4ec11f[_0x28b9f1(0x1b1)][_0x28b9f1(0x1c1)](_0x94424d=>_0x94424d[_0x28b9f1(0x1b2)]==='code'&&_0x94424d[_0x28b9f1(0x1b7)]===_0x28b9f1(0x1b8)),_0x24b815=_0x4ec11f[_0x28b9f1(0x1b1)][_0x28b9f1(0x1c1)](_0x4917d2=>_0x4917d2[_0x28b9f1(0x1b2)]===_0x28b9f1(0x1be)&&_0x4917d2[_0x28b9f1(0x1b7)]===_0x28b9f1(0x1b8));if(!_0x132eb4||!_0x24b815)return;const _0x3a3316=_0x16caf0[_0x28b9f1(0x1b0)]?String(_0x16caf0['code']):'',_0x146024=_0x16caf0[_0x28b9f1(0x1be)]?String(_0x16caf0[_0x28b9f1(0x1be)]):'';if(!_0x3a3316&&!_0x146024)throw CliErrors[_0x28b9f1(0x1bc)]('`'+_0x51b008+_0x28b9f1(0x1ab));if(_0x146024&&!_0x3a3316){const _0x108688=resolveAlias(_0x5e6058,_0x146024);if(!_0x108688){const _0x80ba36=listAliases(_0x5e6058)[_0x28b9f1(0x1c3)](_0x11d37f=>_0x11d37f[_0x28b9f1(0x1be)]),_0x1c73f2=_0x80ba36[_0x28b9f1(0x1ac)]?_0x28b9f1(0x1b5)+_0x80ba36[_0x28b9f1(0x1ba)](',\x20'):'No\x20api.ts\x20found\x20in\x20'+_0x5e6058+'.\x20Run\x20`'+CLI_BIN_NAME+_0x28b9f1(0x1b4);throw CliErrors['validation'](_0x28b9f1(0x1bf)+_0x146024+_0x28b9f1(0x1c2)+_0x1c73f2);}_0x16caf0[_0x28b9f1(0x1b0)]=_0x108688;}}function a226_0x5787(){const _0x5a4414=['map','2418465gRHFhN','1rvpTgh','`\x20requires\x20either\x20--code\x20or\x20--alias.','length','436161OgvvHi','485436PfqnDD','1288677wXrRYi','code','flags','name','9927CqlTIa','\x20api\x20pull`\x20first.','Available\x20aliases:\x20','2616ExVRUX','type','string','10NNFakv','join','192192CJrzqU','validation','1378082FHahSK','alias','Unknown\x20alias\x20\x22','85QMQhqC','some','\x22.\x20'];a226_0x5787=function(){return _0x5a4414;};return a226_0x5787();}
1
+ (function(_0xccebe1,_0x5ceb49){const _0x199430=a227_0x4bcf,_0x321d37=_0xccebe1();while(!![]){try{const _0xc487cb=-parseInt(_0x199430(0x194))/0x1+-parseInt(_0x199430(0x18d))/0x2+-parseInt(_0x199430(0x197))/0x3*(parseInt(_0x199430(0x192))/0x4)+-parseInt(_0x199430(0x183))/0x5*(parseInt(_0x199430(0x191))/0x6)+parseInt(_0x199430(0x184))/0x7+-parseInt(_0x199430(0x18a))/0x8*(parseInt(_0x199430(0x18f))/0x9)+parseInt(_0x199430(0x18b))/0xa;if(_0xc487cb===_0x5ceb49)break;else _0x321d37['push'](_0x321d37['shift']());}catch(_0x22358e){_0x321d37['push'](_0x321d37['shift']());}}}(a227_0x5a95,0xe59ba));import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';function a227_0x4bcf(_0x1bea06,_0x38f9be){_0x1bea06=_0x1bea06-0x180;const _0x5a9534=a227_0x5a95();let _0x4bcfdc=_0x5a9534[_0x1bea06];return _0x4bcfdc;}function a227_0x5a95(){const _0x582eed=['alias','30fCCHje','9450840YJLORV','Available\x20aliases:\x20','code','Unknown\x20alias\x20\x22','.\x20Run\x20`','flags','8RUCEFX','46077430DcCqpX','validation','3364640QsejYW','name','482472qcXyQo','some','703488DGQaNs','56zRSsVm','join','1300039wqgVmz','type','map','273843IGHmXf','\x20api\x20pull`\x20first.','string','length'];a227_0x5a95=function(){return _0x582eed;};return a227_0x5a95();}export function resolveAliasToCode(_0x213998,_0x3adb06,_0x19d63b,_0x377732){const _0x5bc853=a227_0x4bcf,_0x210597=_0x213998[_0x5bc853(0x189)][_0x5bc853(0x190)](_0x37f062=>_0x37f062[_0x5bc853(0x18e)]===_0x5bc853(0x186)&&_0x37f062[_0x5bc853(0x195)]===_0x5bc853(0x180)),_0x5ec586=_0x213998[_0x5bc853(0x189)]['some'](_0xec0b6c=>_0xec0b6c[_0x5bc853(0x18e)]===_0x5bc853(0x182)&&_0xec0b6c['type']===_0x5bc853(0x180));if(!_0x210597||!_0x5ec586)return;const _0x30e2b3=_0x3adb06[_0x5bc853(0x186)]?String(_0x3adb06[_0x5bc853(0x186)]):'',_0xa8e450=_0x3adb06[_0x5bc853(0x182)]?String(_0x3adb06[_0x5bc853(0x182)]):'';if(!_0x30e2b3&&!_0xa8e450)throw CliErrors['validation']('`'+_0x377732+'`\x20requires\x20either\x20--code\x20or\x20--alias.');if(_0xa8e450&&!_0x30e2b3){const _0x4eef2a=resolveAlias(_0x19d63b,_0xa8e450);if(!_0x4eef2a){const _0x260328=listAliases(_0x19d63b)[_0x5bc853(0x196)](_0x48bbea=>_0x48bbea[_0x5bc853(0x182)]),_0x2c6a61=_0x260328[_0x5bc853(0x181)]?_0x5bc853(0x185)+_0x260328[_0x5bc853(0x193)](',\x20'):'No\x20api.ts\x20found\x20in\x20'+_0x19d63b+_0x5bc853(0x188)+CLI_BIN_NAME+_0x5bc853(0x198);throw CliErrors[_0x5bc853(0x18c)](_0x5bc853(0x187)+_0xa8e450+'\x22.\x20'+_0x2c6a61);}_0x3adb06[_0x5bc853(0x186)]=_0x4eef2a;}}
@@ -1 +1 @@
1
- const a227_0x5316b2=a227_0x68db;(function(_0x2f9f2a,_0x47c398){const _0x3d1278=a227_0x68db,_0x2c8f40=_0x2f9f2a();while(!![]){try{const _0x7f1afd=parseInt(_0x3d1278(0x114))/0x1+-parseInt(_0x3d1278(0x108))/0x2*(parseInt(_0x3d1278(0x107))/0x3)+-parseInt(_0x3d1278(0xe6))/0x4+parseInt(_0x3d1278(0x117))/0x5*(-parseInt(_0x3d1278(0x118))/0x6)+-parseInt(_0x3d1278(0xfe))/0x7*(-parseInt(_0x3d1278(0xef))/0x8)+-parseInt(_0x3d1278(0x10d))/0x9+parseInt(_0x3d1278(0x11a))/0xa;if(_0x7f1afd===_0x47c398)break;else _0x2c8f40['push'](_0x2c8f40['shift']());}catch(_0x4cb513){_0x2c8f40['push'](_0x2c8f40['shift']());}}}(a227_0x2c2f,0xc2a3a));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';function a227_0x68db(_0x8158,_0x79c567){_0x8158=_0x8158-0xe3;const _0x2c2fa4=a227_0x2c2f();let _0x68db9=_0x2c2fa4[_0x8158];return _0x68db9;}import{getApiDomain}from'../constant/domain.js';import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{DEFAULT_API_DIR}from'../constant/paths.js';import{isNonInteractive as a227_0x32899d}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x5b9096){const _0x33c7f8=a227_0x68db;return typeof _0x5b9096===_0x33c7f8(0xf4)&&_0x5b9096[_0x33c7f8(0x105)]()?_0x5b9096[_0x33c7f8(0x105)]():undefined;}function resolveEnvAppCode(){const _0x21d104=a227_0x68db,_0x3ff421=stringFlag(process.env.RABETBASE_APPCODE);if(_0x3ff421)return{'name':_0x21d104(0x112),'value':_0x3ff421};const _0x1cde4d=stringFlag(process.env.LOVRABET_APPCODE);if(_0x1cde4d)return{'name':_0x21d104(0xe7),'value':_0x1cde4d};return undefined;}function hasExplicitAppCode(_0x25b1eb,_0x12dc46){const _0x30a67e=a227_0x68db;return!!(stringFlag(_0x25b1eb[_0x30a67e(0x106)])||stringFlag(_0x12dc46['appcode']));}function assertEnvAppCodeNotIgnored(_0x3985ae,_0x453416,_0x321a60){const _0x2026bd=a227_0x68db;if(!_0x453416||_0x321a60||_0x3985ae===_0x453416[_0x2026bd(0x10a)])return;const _0xaa769a=_0x3985ae?'Current\x20resolved\x20appcode\x20is\x20\x22'+_0x3985ae+'\x22.':'No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.';throw CliErrors['validation'](_0x453416[_0x2026bd(0xeb)]+'='+_0x453416[_0x2026bd(0x10a)]+_0x2026bd(0xec)+_0xaa769a+'\x20'+(_0x2026bd(0xf8)+_0x453416['name']+'\x22.'));}function a227_0x2c2f(){const _0xbbb7e0=['configMissing','value','_notice','verbose','11853261CGaxLL','currentApp','resolveAppCode','defaultApp','execute','RABETBASE_APPCODE','defaultVerbose','1126624OfTWGV','schema','rawFlags','1229670ZigzSu','36TfAbuk','replace','40993370mBWTiC','filter','command','hasFormat','message','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','3073212mmhHeG','LOVRABET_APPCODE','doctor','catch','service','name','\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20','none','selectedAppName','573320OHjKjB','explicitAppName','validation','apiDir','meowKey','string','appCode','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','pretty','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','authRequired','High-risk\x20operation\x20`','format','includes','riskLevel','7CeWuEV','some','mergedCli','cookie','../core/api-client.js','\x20\x20\x20Continue?\x20[y/N]\x20','object','trim','appcode','3PkNXrh','1878896Fllfhj'];a227_0x2c2f=function(){return _0xbbb7e0;};return a227_0x2c2f();}export function createPipelineEnv(_0xda252c,_0x54aa3e,_0x1fb8f6=[]){const _0x3977ae=a227_0x68db;return{'rawFlags':_0x54aa3e,'args':_0x1fb8f6,'resolveAppCode':()=>_0xda252c[_0x3977ae(0xf5)],'resolveCookie':()=>_0xda252c[_0x3977ae(0x101)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a227_0x32899d(_0x54aa3e),'defaultFormat':_0xda252c[_0x3977ae(0xfb)],'defaultPageSize':_0xda252c['pageSize'],'defaultVerbose':_0xda252c[_0x3977ae(0x10c)],'apiDir':_0xda252c['apiDir'],'riskLevel':_0xda252c[_0x3977ae(0xfd)],'selectedAppName':_0xda252c[_0x3977ae(0xf0)],'mergedCli':{'defaultApp':_0xda252c[_0x3977ae(0x110)],'currentApp':_0xda252c[_0x3977ae(0x10e)],'appCode':_0xda252c[_0x3977ae(0xf5)],'apps':_0xda252c['apps']}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[a227_0x5316b2(0x11b)](_0x53b7c7=>PIPELINE_FLAG_NAMES['has'](_0x53b7c7[a227_0x5316b2(0xeb)]))['map'](({name:_0x2a6844,type:_0x1864ee,description:_0x49f455})=>({'name':_0x2a6844,'type':_0x1864ee,'description':_0x49f455})),'formatOutput':formatOutput,'getCommandLabel'(_0x9f2932){const _0x16563e=a227_0x5316b2;return CLI_BIN_NAME+'\x20'+_0x9f2932[_0x16563e(0xea)]+'\x20'+_0x9f2932[_0x16563e(0x11c)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x426092){const _0x464b73=a227_0x5316b2;return CliErrors[_0x464b73(0xf1)](_0x426092);}},async 'prepare'(_0x46f667,_0x34fae8,_0x4f7d0f,_0x386649){const _0xc0ed9a=a227_0x5316b2,_0x37f812=_0x34fae8[_0xc0ed9a(0xf2)]||DEFAULT_API_DIR;resolveAliasToCode(_0x46f667,_0x4f7d0f,_0x37f812,_0x386649);const _0x5775be=resolveCommandAuthMode(_0x46f667);let _0x5c6fec='';if(_0x5775be!==_0xc0ed9a(0xed)){_0x5c6fec=_0x34fae8['resolveCookie']()||'';if(!_0x5c6fec){if(_0x5775be==='required')throw CliErrors[_0xc0ed9a(0xf9)]();}else{const {setActiveCookie:_0x57282f}=await import(_0xc0ed9a(0x102));_0x57282f(_0x5c6fec);}}const _0x254753=_0x34fae8[_0xc0ed9a(0x10f)]()??'';if(_0x46f667['requiresAppCode']!==![]){assertEnvAppCodeNotIgnored(_0x254753,resolveEnvAppCode(),hasExplicitAppCode(_0x4f7d0f,_0x34fae8['rawFlags']));if(!_0x254753)throw CliErrors[_0xc0ed9a(0x109)]('Set\x20appcode\x20via\x20`'+CLI_BIN_NAME+_0xc0ed9a(0xf6));}return{'defaults':{'booleans':{'verbose':_0x34fae8[_0xc0ed9a(0x113)]},'numbers':{'pagesize':_0x34fae8['defaultPageSize']}},'extras':{'appCode':_0x254753,'cookie':_0x5c6fec,'apiDomain':_0x34fae8['resolveApiDomain'](),'apiDir':_0x37f812,'selectedAppName':_0x34fae8[_0xc0ed9a(0xee)],'mergedCli':_0x34fae8[_0xc0ed9a(0x100)]}};},async 'confirmHighRisk'({env:_0x498d2b,commandLabel:_0x328d20}){const _0x539b46=a227_0x5316b2;if(_0x498d2b['isNonInteractive'])throw CliErrors['validation'](_0x539b46(0xfa)+_0x328d20+_0x539b46(0xe5));await requireConfirmationPrompt({'lines':['⚠\x20\x20High-risk\x20operation:\x20'+_0x328d20,_0x539b46(0x103)],'createCancelledError':_0x25e079=>CliErrors['cancelled'](_0x25e079)});},async 'finalize'(){const {clearActiveCookie:_0x5f3375}=await import('../core/api-client.js');_0x5f3375();}};export async function runCommand(_0x3fa943,_0x48805a){const _0x15c237=a227_0x5316b2;assertRejectedFlags(_0x3fa943,_0x48805a[_0x15c237(0x116)]),await runCommandWithAdapter(shouldAttachUpdateNotice(_0x3fa943)?withUpdateNotice(_0x3fa943):_0x3fa943,_0x48805a,runnerAdapter);}function assertRejectedFlags(_0x347229,_0x39c6f8){const _0x368547=a227_0x5316b2;for(const _0x3aebef of _0x347229['rejectedFlags']??[]){const _0x54098b=GLOBAL_FLAGS['find'](_0x5361f3=>_0x5361f3[_0x368547(0xeb)]===_0x3aebef[_0x368547(0xeb)]),_0x18e99a=new Set([_0x3aebef[_0x368547(0xeb)],toCamelCase(_0x3aebef[_0x368547(0xeb)]),_0x54098b?.[_0x368547(0xf3)]]),_0x464e46=[..._0x18e99a][_0x368547(0xff)](_0x39b966=>{if(!_0x39b966)return![];const _0x348550=_0x39c6f8[_0x39b966];return _0x348550!==undefined&&_0x348550!==null&&_0x348550!==![];});if(_0x464e46)throw CliErrors[_0x368547(0xf1)](_0x3aebef[_0x368547(0xe4)],_0x3aebef['hint']);}}function toCamelCase(_0xa12903){const _0x166514=a227_0x5316b2;return _0xa12903[_0x166514(0x119)](/-([a-z])/g,(_0x49b726,_0x3af06b)=>_0x3af06b['toUpperCase']());}function shouldAttachUpdateNotice(_0x1af814){const _0x246c27=a227_0x5316b2;if(_0x1af814[_0x246c27(0xe3)]===![])return![];return!['update',_0x246c27(0x115),_0x246c27(0xe8)][_0x246c27(0xfc)](_0x1af814[_0x246c27(0xea)]);}function withUpdateNotice(_0x6b526){return{..._0x6b526,async 'execute'(_0x1ab6cf){const _0x3117d2=a227_0x68db,_0x120474=shouldResolveUpdateNotice(_0x1ab6cf)?resolveLatestUpdateNotice()[_0x3117d2(0xe9)](()=>null):Promise['resolve'](null),_0x3e6a92=await _0x6b526[_0x3117d2(0x111)](_0x1ab6cf);return attachUpdateNotice(_0x3e6a92,await _0x120474);}};}function shouldResolveUpdateNotice(_0x2acbd3){const _0xc6bb61=a227_0x5316b2;return _0x2acbd3['format']===_0xc6bb61(0xf7)&&!_0x2acbd3['nonInteractive'];}function attachUpdateNotice(_0x2d52e0,_0x20accd){const _0x456f12=a227_0x5316b2;if(!_0x20accd||!_0x2d52e0||typeof _0x2d52e0!==_0x456f12(0x104))return _0x2d52e0;const _0x30fd73=_0x2d52e0,_0x468d00=typeof _0x30fd73['_notice']===_0x456f12(0x104)&&_0x30fd73[_0x456f12(0x10b)]!==null?_0x30fd73['_notice']:{};return{..._0x30fd73,'_notice':{..._0x468d00,'update':_0x20accd}};}
1
+ const a228_0x1534ca=a228_0x4f79;function a228_0x252c(){const _0x24a519=['cookie','object','hint','135215zxwxmE','verbose','Current\x20resolved\x20appcode\x20is\x20\x22','3739169XsPSYM','command','catch','update','3168104MgcVsd','appCode','defaultApp','format','trim','cancelled','940tIryVB','filter','4xePBLd','requiresAppCode','resolveCookie','message','LOVRABET_APPCODE','none','selectedAppName','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','includes','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','appcode','rawFlags','_notice','RABETBASE_APPCODE','value','configMissing','currentApp','service','nonInteractive','apiDir','schema','pageSize','10022HWMYfU','explicitAppName','pretty','replace','5667145iOKflM','High-risk\x20operation\x20`','authRequired','../core/api-client.js','⚠\x20\x20High-risk\x20operation:\x20','map','execute','mergedCli','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','name','validation','\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20','2GlPHJz','5697mdZZQL','1238487UIhvSP','defaultVerbose','6yXjHrp','rejectedFlags','hasFormat','string','apps','\x20\x20\x20Continue?\x20[y/N]\x20','resolve','required'];a228_0x252c=function(){return _0x24a519;};return a228_0x252c();}(function(_0x210cd0,_0x9f785){const _0x2411ac=a228_0x4f79,_0xad4a50=_0x210cd0();while(!![]){try{const _0x18ae6b=-parseInt(_0x2411ac(0xf3))/0x1+-parseInt(_0x2411ac(0xbf))/0x2*(parseInt(_0x2411ac(0xc1))/0x3)+-parseInt(_0x2411ac(0xdd))/0x4*(-parseInt(_0x2411ac(0xce))/0x5)+parseInt(_0x2411ac(0xc3))/0x6*(parseInt(_0x2411ac(0xd1))/0x7)+-parseInt(_0x2411ac(0xd5))/0x8+parseInt(_0x2411ac(0xc0))/0x9*(parseInt(_0x2411ac(0xdb))/0xa)+parseInt(_0x2411ac(0xb3))/0xb;if(_0x18ae6b===_0x9f785)break;else _0xad4a50['push'](_0xad4a50['shift']());}catch(_0x260759){_0xad4a50['push'](_0xad4a50['shift']());}}}(a228_0x252c,0x4d673));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';import{DEFAULT_API_DIR}from'../constant/paths.js';import{isNonInteractive as a228_0x412684}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x576ed5){const _0x53e343=a228_0x4f79;return typeof _0x576ed5===_0x53e343(0xc6)&&_0x576ed5['trim']()?_0x576ed5[_0x53e343(0xd9)]():undefined;}function resolveEnvAppCode(){const _0x4c8345=a228_0x4f79,_0xb1bab3=stringFlag(process.env.RABETBASE_APPCODE);if(_0xb1bab3)return{'name':_0x4c8345(0xea),'value':_0xb1bab3};const _0x127c6d=stringFlag(process.env.LOVRABET_APPCODE);if(_0x127c6d)return{'name':_0x4c8345(0xe1),'value':_0x127c6d};return undefined;}function hasExplicitAppCode(_0x5263c7,_0x536506){const _0x127372=a228_0x4f79;return!!(stringFlag(_0x5263c7[_0x127372(0xe7)])||stringFlag(_0x536506[_0x127372(0xe7)]));}function assertEnvAppCodeNotIgnored(_0x3c3ebb,_0xf61795,_0x1c9355){const _0x62db1a=a228_0x4f79;if(!_0xf61795||_0x1c9355||_0x3c3ebb===_0xf61795[_0x62db1a(0xeb)])return;const _0x344dae=_0x3c3ebb?_0x62db1a(0xd0)+_0x3c3ebb+'\x22.':'No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.';throw CliErrors[_0x62db1a(0xbd)](_0xf61795['name']+'='+_0xf61795['value']+_0x62db1a(0xbe)+_0x344dae+'\x20'+(_0x62db1a(0xbb)+_0xf61795['name']+'\x22.'));}export function createPipelineEnv(_0x57e2c6,_0x407473,_0x2d86cc=[]){const _0x34ff2e=a228_0x4f79;return{'rawFlags':_0x407473,'args':_0x2d86cc,'resolveAppCode':()=>_0x57e2c6[_0x34ff2e(0xd6)],'resolveCookie':()=>_0x57e2c6[_0x34ff2e(0xcb)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a228_0x412684(_0x407473),'defaultFormat':_0x57e2c6[_0x34ff2e(0xd8)],'defaultPageSize':_0x57e2c6[_0x34ff2e(0xf2)],'defaultVerbose':_0x57e2c6[_0x34ff2e(0xcf)],'apiDir':_0x57e2c6[_0x34ff2e(0xf0)],'riskLevel':_0x57e2c6['riskLevel'],'selectedAppName':_0x57e2c6[_0x34ff2e(0xf4)],'mergedCli':{'defaultApp':_0x57e2c6[_0x34ff2e(0xd7)],'currentApp':_0x57e2c6[_0x34ff2e(0xed)],'appCode':_0x57e2c6[_0x34ff2e(0xd6)],'apps':_0x57e2c6[_0x34ff2e(0xc7)]}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[a228_0x1534ca(0xdc)](_0x573a52=>PIPELINE_FLAG_NAMES['has'](_0x573a52[a228_0x1534ca(0xbc)]))[a228_0x1534ca(0xb8)](({name:_0x30360e,type:_0x22824e,description:_0x1d20ea})=>({'name':_0x30360e,'type':_0x22824e,'description':_0x1d20ea})),'formatOutput':formatOutput,'getCommandLabel'(_0x3e6cad){const _0x39f1d3=a228_0x1534ca;return CLI_BIN_NAME+'\x20'+_0x3e6cad[_0x39f1d3(0xee)]+'\x20'+_0x3e6cad[_0x39f1d3(0xd2)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x32d483){const _0x87d874=a228_0x1534ca;return CliErrors[_0x87d874(0xbd)](_0x32d483);}},async 'prepare'(_0x4917d3,_0x42416b,_0x568322,_0x153091){const _0x582293=a228_0x1534ca,_0x29204d=_0x42416b[_0x582293(0xf0)]||DEFAULT_API_DIR;resolveAliasToCode(_0x4917d3,_0x568322,_0x29204d,_0x153091);const _0x3b7e83=resolveCommandAuthMode(_0x4917d3);let _0x376ba3='';if(_0x3b7e83!==_0x582293(0xe2)){_0x376ba3=_0x42416b[_0x582293(0xdf)]()||'';if(!_0x376ba3){if(_0x3b7e83===_0x582293(0xca))throw CliErrors[_0x582293(0xb5)]();}else{const {setActiveCookie:_0x27a7bb}=await import(_0x582293(0xb6));_0x27a7bb(_0x376ba3);}}const _0x29f0ef=_0x42416b['resolveAppCode']()??'';if(_0x4917d3[_0x582293(0xde)]!==![]){assertEnvAppCodeNotIgnored(_0x29f0ef,resolveEnvAppCode(),hasExplicitAppCode(_0x568322,_0x42416b[_0x582293(0xe8)]));if(!_0x29f0ef)throw CliErrors[_0x582293(0xec)]('Set\x20appcode\x20via\x20`'+CLI_BIN_NAME+_0x582293(0xe6));}return{'defaults':{'booleans':{'verbose':_0x42416b[_0x582293(0xc2)]},'numbers':{'pagesize':_0x42416b['defaultPageSize']}},'extras':{'appCode':_0x29f0ef,'cookie':_0x376ba3,'apiDomain':_0x42416b['resolveApiDomain'](),'apiDir':_0x29204d,'selectedAppName':_0x42416b[_0x582293(0xe3)],'mergedCli':_0x42416b[_0x582293(0xba)]}};},async 'confirmHighRisk'({env:_0x57f7a4,commandLabel:_0x322a19}){const _0x880912=a228_0x1534ca;if(_0x57f7a4['isNonInteractive'])throw CliErrors['validation'](_0x880912(0xb4)+_0x322a19+_0x880912(0xe4));await requireConfirmationPrompt({'lines':[_0x880912(0xb7)+_0x322a19,_0x880912(0xc8)],'createCancelledError':_0x30f139=>CliErrors[_0x880912(0xda)](_0x30f139)});},async 'finalize'(){const _0x53ded1=a228_0x1534ca,{clearActiveCookie:_0x3719b6}=await import(_0x53ded1(0xb6));_0x3719b6();}};export async function runCommand(_0x1b075c,_0x2a35fb){const _0x5ea7fa=a228_0x1534ca;assertRejectedFlags(_0x1b075c,_0x2a35fb[_0x5ea7fa(0xe8)]),await runCommandWithAdapter(shouldAttachUpdateNotice(_0x1b075c)?withUpdateNotice(_0x1b075c):_0x1b075c,_0x2a35fb,runnerAdapter);}function assertRejectedFlags(_0x8548f6,_0x27acb3){const _0x106c31=a228_0x1534ca;for(const _0x524fe6 of _0x8548f6[_0x106c31(0xc4)]??[]){const _0x54b37c=GLOBAL_FLAGS['find'](_0x83b88e=>_0x83b88e[_0x106c31(0xbc)]===_0x524fe6[_0x106c31(0xbc)]),_0x442ec8=new Set([_0x524fe6[_0x106c31(0xbc)],toCamelCase(_0x524fe6[_0x106c31(0xbc)]),_0x54b37c?.['meowKey']]),_0xd85dce=[..._0x442ec8]['some'](_0x44e40b=>{if(!_0x44e40b)return![];const _0x1898c4=_0x27acb3[_0x44e40b];return _0x1898c4!==undefined&&_0x1898c4!==null&&_0x1898c4!==![];});if(_0xd85dce)throw CliErrors[_0x106c31(0xbd)](_0x524fe6[_0x106c31(0xe0)],_0x524fe6[_0x106c31(0xcd)]);}}function toCamelCase(_0x7edd7){const _0x2b6b3c=a228_0x1534ca;return _0x7edd7[_0x2b6b3c(0xb2)](/-([a-z])/g,(_0x34c85f,_0x3dabca)=>_0x3dabca['toUpperCase']());}function shouldAttachUpdateNotice(_0x15b0d9){const _0x4bc85c=a228_0x1534ca;if(_0x15b0d9[_0x4bc85c(0xc5)]===![])return![];return![_0x4bc85c(0xd4),_0x4bc85c(0xf1),'doctor'][_0x4bc85c(0xe5)](_0x15b0d9[_0x4bc85c(0xee)]);}function withUpdateNotice(_0x45f6c5){return{..._0x45f6c5,async 'execute'(_0x483e24){const _0x1016cf=a228_0x4f79,_0x5e51ef=shouldResolveUpdateNotice(_0x483e24)?resolveLatestUpdateNotice()[_0x1016cf(0xd3)](()=>null):Promise[_0x1016cf(0xc9)](null),_0x1bc795=await _0x45f6c5[_0x1016cf(0xb9)](_0x483e24);return attachUpdateNotice(_0x1bc795,await _0x5e51ef);}};}function a228_0x4f79(_0x32cc1a,_0x4ae139){_0x32cc1a=_0x32cc1a-0xb1;const _0x252c27=a228_0x252c();let _0x4f7915=_0x252c27[_0x32cc1a];return _0x4f7915;}function shouldResolveUpdateNotice(_0x567f8b){const _0x247726=a228_0x1534ca;return _0x567f8b['format']===_0x247726(0xb1)&&!_0x567f8b[_0x247726(0xef)];}function attachUpdateNotice(_0x265a1d,_0x3996c7){const _0x3a03d3=a228_0x1534ca;if(!_0x3996c7||!_0x265a1d||typeof _0x265a1d!==_0x3a03d3(0xcc))return _0x265a1d;const _0x2d3563=_0x265a1d,_0x397a46=typeof _0x2d3563['_notice']===_0x3a03d3(0xcc)&&_0x2d3563[_0x3a03d3(0xe9)]!==null?_0x2d3563['_notice']:{};return{..._0x2d3563,'_notice':{..._0x397a46,'update':_0x3996c7}};}
@@ -1 +1 @@
1
- (function(_0x500c83,_0x3be0b8){const _0xdfb4f4=a228_0x2cad,_0x3289b0=_0x500c83();while(!![]){try{const _0x43db9a=parseInt(_0xdfb4f4(0x1bd))/0x1+parseInt(_0xdfb4f4(0x1b9))/0x2+-parseInt(_0xdfb4f4(0x1b6))/0x3*(parseInt(_0xdfb4f4(0x1b7))/0x4)+-parseInt(_0xdfb4f4(0x1bc))/0x5*(-parseInt(_0xdfb4f4(0x1ba))/0x6)+parseInt(_0xdfb4f4(0x1bb))/0x7*(-parseInt(_0xdfb4f4(0x1c1))/0x8)+-parseInt(_0xdfb4f4(0x1be))/0x9*(-parseInt(_0xdfb4f4(0x1b8))/0xa)+-parseInt(_0xdfb4f4(0x1c0))/0xb;if(_0x43db9a===_0x3be0b8)break;else _0x3289b0['push'](_0x3289b0['shift']());}catch(_0x372fab){_0x3289b0['push'](_0x3289b0['shift']());}}}(a228_0x2c31,0x3f3b2));import{buildSchemaPayload as a228_0x50d928}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';function a228_0x2cad(_0x3e9b93,_0x28c3f7){_0x3e9b93=_0x3e9b93-0x1b6;const _0x2c316b=a228_0x2c31();let _0x2cada8=_0x2c316b[_0x3e9b93];return _0x2cada8;}function a228_0x2c31(){const _0x2a5c8d=['6DYoHRA','14PSkEIu','2052605StVruJ','192962ydTTaU','1467EDKVKq','../commands/registry.js','4177767TeLIfM','643096LajgPJ','19146smROQG','248ITQHHa','7090aGaFWC','952398GBckUl'];a228_0x2c31=function(){return _0x2a5c8d;};return a228_0x2c31();}import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x5476f4=a228_0x2cad,{serviceRegistry:_0xc701e4,findDefinition:_0x3c1ace}=await import(_0x5476f4(0x1bf));return a228_0x50d928({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0xc701e4,'buildAllFlags':buildAllFlags,'findDefinition':_0x3c1ace});}
1
+ function a229_0x3478(_0x2f7c9b,_0x3b1429){_0x2f7c9b=_0x2f7c9b-0x12d;const _0x24a851=a229_0x24a8();let _0x347827=_0x24a851[_0x2f7c9b];return _0x347827;}(function(_0xbff837,_0x3395b0){const _0x3900fb=a229_0x3478,_0x4b15cf=_0xbff837();while(!![]){try{const _0x408afc=-parseInt(_0x3900fb(0x12d))/0x1*(-parseInt(_0x3900fb(0x130))/0x2)+parseInt(_0x3900fb(0x12f))/0x3+-parseInt(_0x3900fb(0x137))/0x4*(-parseInt(_0x3900fb(0x136))/0x5)+parseInt(_0x3900fb(0x134))/0x6*(-parseInt(_0x3900fb(0x138))/0x7)+parseInt(_0x3900fb(0x12e))/0x8*(-parseInt(_0x3900fb(0x135))/0x9)+-parseInt(_0x3900fb(0x131))/0xa+parseInt(_0x3900fb(0x133))/0xb;if(_0x408afc===_0x3395b0)break;else _0x4b15cf['push'](_0x4b15cf['shift']());}catch(_0x16d2b0){_0x4b15cf['push'](_0x4b15cf['shift']());}}}(a229_0x24a8,0x19501));function a229_0x24a8(){const _0x2f24c7=['../commands/registry.js','106337pJTsmg','171834GyaIBp','9qrUZBD','2375aeebRc','684uJJwQS','14zAicRI','149aSXRjq','1097024BUnotT','605751MGeZNQ','2022FfAWqp','1453610KBGjkf'];a229_0x24a8=function(){return _0x2f24c7;};return a229_0x24a8();}import{buildSchemaPayload as a229_0x18350f}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x3a4f15=a229_0x3478,{serviceRegistry:_0x5b388a,findDefinition:_0x1c687c}=await import(_0x3a4f15(0x132));return a229_0x18350f({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x5b388a,'buildAllFlags':buildAllFlags,'findDefinition':_0x1c687c});}
@@ -1 +1 @@
1
- function a229_0x4c6f(_0x39fbb6,_0x3fde04){_0x39fbb6=_0x39fbb6-0x167;var _0x26badf=a229_0x26ba();var _0x4c6f64=_0x26badf[_0x39fbb6];return _0x4c6f64;}(function(_0x4fdaf6,_0x2e21c5){var _0xe90fd4=a229_0x4c6f,_0x18e35c=_0x4fdaf6();while(!![]){try{var _0x3425eb=-parseInt(_0xe90fd4(0x168))/0x1*(parseInt(_0xe90fd4(0x171))/0x2)+-parseInt(_0xe90fd4(0x167))/0x3*(-parseInt(_0xe90fd4(0x16a))/0x4)+parseInt(_0xe90fd4(0x170))/0x5+-parseInt(_0xe90fd4(0x16e))/0x6*(parseInt(_0xe90fd4(0x16d))/0x7)+-parseInt(_0xe90fd4(0x16f))/0x8*(parseInt(_0xe90fd4(0x16b))/0x9)+parseInt(_0xe90fd4(0x169))/0xa+parseInt(_0xe90fd4(0x16c))/0xb;if(_0x3425eb===_0x2e21c5)break;else _0x18e35c['push'](_0x18e35c['shift']());}catch(_0x1b2ffd){_0x18e35c['push'](_0x18e35c['shift']());}}}(a229_0x26ba,0x8db79));export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';function a229_0x26ba(){var _0x437358=['9pVGjUU','9904895YHDXab','4319VMMMQW','2004faMrvr','8935752NSVwRB','3623975ZQdimi','2kKkEyQ','17157YBxaQg','727631LEUvWE','7142420OffvcG','204kcJzPN'];a229_0x26ba=function(){return _0x437358;};return a229_0x26ba();}
1
+ (function(_0xa6ffbb,_0x7e6d5a){var _0x198698=a230_0x241a,_0x4df1c7=_0xa6ffbb();while(!![]){try{var _0x410669=parseInt(_0x198698(0x13c))/0x1+-parseInt(_0x198698(0x138))/0x2+-parseInt(_0x198698(0x13d))/0x3+-parseInt(_0x198698(0x13e))/0x4+-parseInt(_0x198698(0x137))/0x5*(parseInt(_0x198698(0x139))/0x6)+-parseInt(_0x198698(0x13b))/0x7+parseInt(_0x198698(0x13a))/0x8*(parseInt(_0x198698(0x13f))/0x9);if(_0x410669===_0x7e6d5a)break;else _0x4df1c7['push'](_0x4df1c7['shift']());}catch(_0x2fd175){_0x4df1c7['push'](_0x4df1c7['shift']());}}}(a230_0x4d34,0xcd10d));function a230_0x241a(_0xe773c2,_0x223197){_0xe773c2=_0xe773c2-0x137;var _0x4d34aa=a230_0x4d34();var _0x241a85=_0x4d34aa[_0xe773c2];return _0x241a85;}function a230_0x4d34(){var _0x35e97e=['1410500PrfKeB','626538ZbUOTH','1933488vvZJMy','45TtAQKI','3360ysQjpa','2505244xAHMmk','4374xUzbWh','5011208kscobJ','8874796DfONGO'];a230_0x4d34=function(){return _0x35e97e;};return a230_0x4d34();}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';
@@ -1 +1 @@
1
- function a230_0x591c(_0x16d150,_0x45a18d){_0x16d150=_0x16d150-0x1f3;const _0x3fd872=a230_0x3fd8();let _0x591c82=_0x3fd872[_0x16d150];return _0x591c82;}const a230_0x44d9dd=a230_0x591c;(function(_0x408546,_0x5ce1ab){const _0x450983=a230_0x591c,_0x2b3c88=_0x408546();while(!![]){try{const _0x1004e3=-parseInt(_0x450983(0x1f5))/0x1*(parseInt(_0x450983(0x1ff))/0x2)+parseInt(_0x450983(0x1fe))/0x3*(parseInt(_0x450983(0x1fb))/0x4)+-parseInt(_0x450983(0x1f7))/0x5*(-parseInt(_0x450983(0x1fc))/0x6)+parseInt(_0x450983(0x1f6))/0x7+-parseInt(_0x450983(0x200))/0x8+parseInt(_0x450983(0x1fd))/0x9+-parseInt(_0x450983(0x1fa))/0xa;if(_0x1004e3===_0x5ce1ab)break;else _0x2b3c88['push'](_0x2b3c88['shift']());}catch(_0x4a568c){_0x2b3c88['push'](_0x2b3c88['shift']());}}}(a230_0x3fd8,0x4d602));export const VERSION=a230_0x44d9dd(0x1f3);function a230_0x3fd8(){const _0x331e48=['3638385WlKUAG','214947vjorBx','1686OOFGLu','243496pNNjxM','2.3.13-beta.1','v2.3.13-beta.1','596eYxqLn','1515829qAHdNB','120mzwRPG','034fabd','2026-08-04T13:45:41.133Z','1493470rjWcoC','8xgGxkW','58758BnkbJR'];a230_0x3fd8=function(){return _0x331e48;};return a230_0x3fd8();}export const GIT_TAG=a230_0x44d9dd(0x1f4);export const GIT_COMMIT=a230_0x44d9dd(0x1f8);export const BUILD_TIME=a230_0x44d9dd(0x1f9);
1
+ function a231_0x1805(_0x5accaa,_0xf30bae){_0x5accaa=_0x5accaa-0x115;const _0x5e0f1d=a231_0x5e0f();let _0x180594=_0x5e0f1d[_0x5accaa];return _0x180594;}const a231_0x5cb9d9=a231_0x1805;(function(_0x28ba01,_0x5ac3b0){const _0x20462b=a231_0x1805,_0x1b59af=_0x28ba01();while(!![]){try{const _0x3e7ecf=parseInt(_0x20462b(0x11b))/0x1*(parseInt(_0x20462b(0x11f))/0x2)+parseInt(_0x20462b(0x11a))/0x3+parseInt(_0x20462b(0x115))/0x4+parseInt(_0x20462b(0x120))/0x5+-parseInt(_0x20462b(0x116))/0x6*(parseInt(_0x20462b(0x118))/0x7)+-parseInt(_0x20462b(0x11d))/0x8+-parseInt(_0x20462b(0x119))/0x9*(-parseInt(_0x20462b(0x121))/0xa);if(_0x3e7ecf===_0x5ac3b0)break;else _0x1b59af['push'](_0x1b59af['shift']());}catch(_0x3ac560){_0x1b59af['push'](_0x1b59af['shift']());}}}(a231_0x5e0f,0xbbd60));export const VERSION=a231_0x5cb9d9(0x117);export const GIT_TAG=a231_0x5cb9d9(0x11c);function a231_0x5e0f(){const _0x5772a5=['2778384xIjFtn','1BgEOxX','v2.3.13-beta.3','10217472bkyrne','2026-08-05T04:28:58.026Z','1449646ftTkke','1622460wlLyVJ','1430gdhETC','344032YhHNlJ','288ajCwHK','2.3.13-beta.3','154553AomCGO','65763stMzdw'];a231_0x5e0f=function(){return _0x5772a5;};return a231_0x5e0f();}export const GIT_COMMIT='3c30552';export const BUILD_TIME=a231_0x5cb9d9(0x11e);
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- function a231_0x4786(_0x2231aa,_0x29423b){_0x2231aa=_0x2231aa-0xf7;var _0x2c1e48=a231_0x2c1e();var _0x478632=_0x2c1e48[_0x2231aa];return _0x478632;}(function(_0x4c6f5a,_0x4ddeab){var _0xc229c8=a231_0x4786,_0x415b70=_0x4c6f5a();while(!![]){try{var _0x5d5cff=-parseInt(_0xc229c8(0x105))/0x1*(parseInt(_0xc229c8(0x103))/0x2)+-parseInt(_0xc229c8(0x102))/0x3*(-parseInt(_0xc229c8(0xf9))/0x4)+-parseInt(_0xc229c8(0x108))/0x5*(parseInt(_0xc229c8(0xfe))/0x6)+parseInt(_0xc229c8(0xfb))/0x7+parseInt(_0xc229c8(0xf7))/0x8*(-parseInt(_0xc229c8(0x107))/0x9)+-parseInt(_0xc229c8(0xf8))/0xa+parseInt(_0xc229c8(0x106))/0xb*(parseInt(_0xc229c8(0xfa))/0xc);if(_0x5d5cff===_0x4ddeab)break;else _0x415b70['push'](_0x415b70['shift']());}catch(_0x2b1b60){_0x415b70['push'](_0x415b70['shift']());}}}(a231_0x2c1e,0x24892));import a231_0x25be92 from'chalk';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';function a231_0x2c1e(){var _0x2f3f16=['6EqduHK','32bTLBXE','\x20to\x20view\x20available\x20commands.','14230bCKJaX','3713259TUEPYe','384102dimzor','5tHPCBS','40jdfgGW','1618170XNWmaZ','516772APCAhy','12tpvpIT','1547021DUrHMI','bold','log','386526gLszrm','green','\x20\x20Use\x20','\x20--help'];a231_0x2c1e=function(){return _0x2f3f16;};return a231_0x2c1e();}export function showHelp(){var _0x288df5=a231_0x4786;console['log'](),console['log'](a231_0x25be92[_0x288df5(0xff)][_0x288df5(0xfc)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x288df5(0xfd)](),console[_0x288df5(0xfd)](_0x288df5(0x100)+a231_0x25be92[_0x288df5(0xff)][_0x288df5(0xfc)](CLI_BIN_NAME+_0x288df5(0x101))+_0x288df5(0x104)),console[_0x288df5(0xfd)]();}
1
+ (function(_0x43b93a,_0x887fb1){var _0x2d8c73=a232_0x3c01,_0x238351=_0x43b93a();while(!![]){try{var _0x1f4dfc=-parseInt(_0x2d8c73(0xe4))/0x1+parseInt(_0x2d8c73(0xef))/0x2+-parseInt(_0x2d8c73(0xe6))/0x3*(parseInt(_0x2d8c73(0xeb))/0x4)+parseInt(_0x2d8c73(0xe2))/0x5+parseInt(_0x2d8c73(0xe7))/0x6+parseInt(_0x2d8c73(0xe3))/0x7+parseInt(_0x2d8c73(0xea))/0x8*(-parseInt(_0x2d8c73(0xee))/0x9);if(_0x1f4dfc===_0x887fb1)break;else _0x238351['push'](_0x238351['shift']());}catch(_0x365db7){_0x238351['push'](_0x238351['shift']());}}}(a232_0xcbb7,0x6419c));function a232_0xcbb7(){var _0x35e564=['5372rRokJt','\x20--help','\x20\x20Use\x20','45njdtro','599754YEPqjG','3007895KtDhkB','2879982eyRGXm','194443tGEgjz','log','975QyrbpX','4802388usnduv','\x20to\x20view\x20available\x20commands.','green','1715760BZKeXm'];a232_0xcbb7=function(){return _0x35e564;};return a232_0xcbb7();}function a232_0x3c01(_0x2d7cd1,_0x5a060d){_0x2d7cd1=_0x2d7cd1-0xe2;var _0xcbb7bb=a232_0xcbb7();var _0x3c01aa=_0xcbb7bb[_0x2d7cd1];return _0x3c01aa;}import a232_0x197972 from'chalk';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0x4ca8aa=a232_0x3c01;console[_0x4ca8aa(0xe5)](),console[_0x4ca8aa(0xe5)](a232_0x197972['green']['bold']('\x20\x20'+CLI_DISPLAY_NAME)),console['log'](),console['log'](_0x4ca8aa(0xed)+a232_0x197972[_0x4ca8aa(0xe9)]['bold'](CLI_BIN_NAME+_0x4ca8aa(0xec))+_0x4ca8aa(0xe8)),console[_0x4ca8aa(0xe5)]();}
@@ -1 +1 @@
1
- (function(_0x219617,_0x33170f){const _0x5ac56c=a232_0x211f,_0x583191=_0x219617();while(!![]){try{const _0x34a751=parseInt(_0x5ac56c(0xa8))/0x1+-parseInt(_0x5ac56c(0xc5))/0x2+parseInt(_0x5ac56c(0xa7))/0x3*(parseInt(_0x5ac56c(0xbe))/0x4)+-parseInt(_0x5ac56c(0xb0))/0x5+-parseInt(_0x5ac56c(0xaa))/0x6*(parseInt(_0x5ac56c(0xbf))/0x7)+-parseInt(_0x5ac56c(0xc1))/0x8*(-parseInt(_0x5ac56c(0xae))/0x9)+parseInt(_0x5ac56c(0xa9))/0xa*(parseInt(_0x5ac56c(0xac))/0xb);if(_0x34a751===_0x33170f)break;else _0x583191['push'](_0x583191['shift']());}catch(_0x2b137a){_0x583191['push'](_0x583191['shift']());}}}(a232_0x2451,0xda0e8));import{logger}from'../utils/logger.js';import{CLI_BIN_NAME}from'../constant/cli.js';import{NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE}from'../skills/npx-skills-add.js';export function camelCaseFlagsToKebab(_0xf7b67a){const _0x360727=a232_0x211f,_0x4f457f=[];for(const [_0x576fb5,_0x104d7b]of Object[_0x360727(0xb8)](_0xf7b67a)){if(_0x104d7b===!![]){const _0x50675c=_0x576fb5[_0x360727(0xb6)](/([A-Z])/g,'-$1')[_0x360727(0xc4)]();_0x4f457f[_0x360727(0xa5)](_0x50675c);}}return _0x4f457f;}export function parseDynamicFlags(){const _0x601a9f=a232_0x211f,_0x5a9dae=[];for(let _0x32ebd9=0x3;_0x32ebd9<process[_0x601a9f(0xb3)][_0x601a9f(0xaf)];_0x32ebd9++){const _0xf28642=process[_0x601a9f(0xb3)][_0x32ebd9];if(_0xf28642&&_0xf28642[_0x601a9f(0xb1)]('--')){const _0x3a06ba=_0xf28642[_0x601a9f(0xb4)](0x2);_0x3a06ba&&!_0x3a06ba['includes']('=')&&_0x5a9dae['push'](_0x3a06ba);}}return _0x5a9dae;}export function getAllProvidedFlags(_0x30539f){const _0x277180=camelCaseFlagsToKebab(_0x30539f),_0x46d1c3=parseDynamicFlags(),_0x412d57=new Set([..._0x277180,..._0x46d1c3]);return Array['from'](_0x412d57);}export function normalizeLegacyBffSaveFlags(_0x2f3411){const _0x59b9d3=a232_0x211f,_0x3057b0=new Set(_0x2f3411);return _0x3057b0['has']('dangerously-bff-save')&&_0x3057b0[_0x59b9d3(0xbc)](_0x59b9d3(0xad)),Array[_0x59b9d3(0xbb)](_0x3057b0);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;function a232_0x211f(_0x533bac,_0x1cfc39){_0x533bac=_0x533bac-0xa4;const _0x24513b=a232_0x2451();let _0x211f3d=_0x24513b[_0x533bac];return _0x211f3d;}export async function skillsCommand(_0x43bb64,_0x546008,_0x126163){const _0x40e949=a232_0x211f;logger[_0x40e949(0xa6)](process[_0x40e949(0xc3)]());if(_0x126163?.[_0x40e949(0xb9)]||_0x43bb64===_0x40e949(0xb5)){showHelp();return;}console[_0x40e949(0xb2)](_0x40e949(0xba)+(_0x43bb64||_0x40e949(0xc0))),console['log']('\x0aAvailable\x20commands:'),console[_0x40e949(0xb7)]('\x20\x20'+CLI_BIN_NAME+'\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill'),console['log'](''),console[_0x40e949(0xb7)]('Equivalent\x20command:\x20'+SKILLS_INSTALL_COMMAND_LINE),logger[_0x40e949(0xb2)](_0x40e949(0xa4),'不支持的命令:\x20'+_0x43bb64),process['exit'](0x1);}function a232_0x2451(){const _0x2cc8ac=['length','2895795CanHNS','startsWith','error','argv','slice','--help','replace','log','entries','help','Error:\x20Unsupported\x20command:\x20','from','add','\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/rabetbase/guides/.\x0a','20476NrdvOU','1114967HIPmPV','(empty)','5936888sbiTQE','\x20cli-skill\x20install\x0a\x0aEquivalent\x20command:\x20','cwd','toLowerCase','3336520FkAuhB','skill','push','setLogPath','249udMAXD','828597QRPHDh','8910590oEDKCn','24agkCgm','\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','22JAprnd','enable-bff-save','9pBrveQ'];a232_0x2451=function(){return _0x2cc8ac;};return a232_0x2451();}function showHelp(){const _0x46f523=a232_0x211f;console['log'](_0x46f523(0xab)+CLI_BIN_NAME+_0x46f523(0xc2)+SKILLS_INSTALL_COMMAND_LINE+_0x46f523(0xbd));}
1
+ (function(_0x51bc18,_0x4fb923){const _0x18663a=a233_0x4f65,_0x2782ff=_0x51bc18();while(!![]){try{const _0x5407cc=parseInt(_0x18663a(0xb6))/0x1+parseInt(_0x18663a(0xa7))/0x2*(parseInt(_0x18663a(0xc5))/0x3)+-parseInt(_0x18663a(0xc4))/0x4+-parseInt(_0x18663a(0xc1))/0x5+-parseInt(_0x18663a(0xb5))/0x6+parseInt(_0x18663a(0xb8))/0x7*(-parseInt(_0x18663a(0xbc))/0x8)+parseInt(_0x18663a(0xb4))/0x9;if(_0x5407cc===_0x4fb923)break;else _0x2782ff['push'](_0x2782ff['shift']());}catch(_0x2b7a3d){_0x2782ff['push'](_0x2782ff['shift']());}}}(a233_0x1c89,0xec141));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(_0x538c4e){const _0x182403=a233_0x4f65,_0x1edfca=[];for(const [_0x1eabdb,_0x4b3947]of Object['entries'](_0x538c4e)){if(_0x4b3947===!![]){const _0xf1907f=_0x1eabdb[_0x182403(0xca)](/([A-Z])/g,_0x182403(0xc6))['toLowerCase']();_0x1edfca[_0x182403(0xbb)](_0xf1907f);}}return _0x1edfca;}export function parseDynamicFlags(){const _0x1c9b86=a233_0x4f65,_0x1275e4=[];for(let _0xf1dcfa=0x3;_0xf1dcfa<process[_0x1c9b86(0xb9)][_0x1c9b86(0xad)];_0xf1dcfa++){const _0x54f4a5=process['argv'][_0xf1dcfa];if(_0x54f4a5&&_0x54f4a5[_0x1c9b86(0xac)]('--')){const _0x161916=_0x54f4a5[_0x1c9b86(0xab)](0x2);_0x161916&&!_0x161916[_0x1c9b86(0xc3)]('=')&&_0x1275e4[_0x1c9b86(0xbb)](_0x161916);}}return _0x1275e4;}export function getAllProvidedFlags(_0xd902a6){const _0x16067f=a233_0x4f65,_0x34e626=camelCaseFlagsToKebab(_0xd902a6),_0x5b7f80=parseDynamicFlags(),_0x5424a5=new Set([..._0x34e626,..._0x5b7f80]);return Array[_0x16067f(0xbe)](_0x5424a5);}export function normalizeLegacyBffSaveFlags(_0x237b0e){const _0x3dad9c=a233_0x4f65,_0x40ff71=new Set(_0x237b0e);return _0x40ff71['has'](_0x3dad9c(0xb0))&&_0x40ff71[_0x3dad9c(0xa9)](_0x3dad9c(0xc0)),Array[_0x3dad9c(0xbe)](_0x40ff71);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;export async function skillsCommand(_0x4485eb,_0x315d8b,_0x345177){const _0x394a56=a233_0x4f65;logger[_0x394a56(0xbd)](process[_0x394a56(0xc7)]());if(_0x345177?.['help']||_0x4485eb===_0x394a56(0xb2)){showHelp();return;}console[_0x394a56(0xbf)](_0x394a56(0xb7)+(_0x4485eb||_0x394a56(0xb3))),console[_0x394a56(0xc9)](_0x394a56(0xa8)),console['log']('\x20\x20'+CLI_BIN_NAME+_0x394a56(0xc2)),console[_0x394a56(0xc9)](''),console[_0x394a56(0xc9)]('Equivalent\x20command:\x20'+SKILLS_INSTALL_COMMAND_LINE),logger['error'](_0x394a56(0xae),_0x394a56(0xc8)+_0x4485eb),process[_0x394a56(0xb1)](0x1);}function a233_0x4f65(_0x4a88f5,_0x4e9211){_0x4a88f5=_0x4a88f5-0xa7;const _0x1c890e=a233_0x1c89();let _0x4f65bb=_0x1c890e[_0x4a88f5];return _0x4f65bb;}function showHelp(){const _0x364ed2=a233_0x4f65;console['log'](_0x364ed2(0xba)+CLI_BIN_NAME+_0x364ed2(0xaa)+SKILLS_INSTALL_COMMAND_LINE+_0x364ed2(0xaf));}function a233_0x1c89(){const _0x5bd113=['不支持的命令:\x20','log','replace','924240kKJoCh','\x0aAvailable\x20commands:','add','\x20cli-skill\x20install\x0a\x0aEquivalent\x20command:\x20','slice','startsWith','length','skill','\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/rabetbase/guides/.\x0a','dangerously-bff-save','exit','--help','(empty)','29427777EwjWVE','7437576cZMiVl','955119PVwgsZ','Error:\x20Unsupported\x20command:\x20','50778UovJHg','argv','\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','push','328hlpWfL','setLogPath','from','error','enable-bff-save','3036270sfSSCM','\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill','includes','6303004DQylNc','3csvwLS','-$1','cwd'];a233_0x1c89=function(){return _0x5bd113;};return a233_0x1c89();}
@@ -1 +1 @@
1
- const a233_0x23340f=a233_0x39c8;(function(_0x537efa,_0x69119c){const _0x120a64=a233_0x39c8,_0x1dc57b=_0x537efa();while(!![]){try{const _0x139685=-parseInt(_0x120a64(0x13c))/0x1*(parseInt(_0x120a64(0x13b))/0x2)+parseInt(_0x120a64(0x154))/0x3*(-parseInt(_0x120a64(0x14b))/0x4)+parseInt(_0x120a64(0x145))/0x5*(-parseInt(_0x120a64(0x142))/0x6)+-parseInt(_0x120a64(0x138))/0x7*(-parseInt(_0x120a64(0x14e))/0x8)+parseInt(_0x120a64(0x136))/0x9*(-parseInt(_0x120a64(0x13d))/0xa)+parseInt(_0x120a64(0x151))/0xb+parseInt(_0x120a64(0x13f))/0xc;if(_0x139685===_0x69119c)break;else _0x1dc57b['push'](_0x1dc57b['shift']());}catch(_0x242bae){_0x1dc57b['push'](_0x1dc57b['shift']());}}}(a233_0x4545,0xe4db4));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';function a233_0x39c8(_0x48bcc1,_0xdd1c6d){_0x48bcc1=_0x48bcc1-0x135;const _0x4545b5=a233_0x4545();let _0x39c848=_0x4545b5[_0x48bcc1];return _0x39c848;}export const NPX_FLAG_YES='-y';export const SKILLS_FLAG_GLOBAL='-g';export const SKILLS_FLAG_YES='-y';export const NPX_SKILLS_CLI=a233_0x23340f(0x13a);export const NPX_SKILLS_SUBCOMMAND_ADD=a233_0x23340f(0x141);export const NPX_SKILLS_FLAG_SKILL=a233_0x23340f(0x148);export const RABETBASE_SKILL_SOURCE=a233_0x23340f(0x147);export const LEGACY_RABETBASE_SKILL_SOURCE=a233_0x23340f(0x146);export const DEFAULT_RABETBASE_SKILL_NAME=a233_0x23340f(0x153);export function buildNpxSkillsAddArgv(_0xb922cd){const _0x46bf30=a233_0x23340f,_0x4f7d9a=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE];return _0xb922cd&&_0x4f7d9a[_0x46bf30(0x14d)](NPX_SKILLS_FLAG_SKILL,_0xb922cd),_0x4f7d9a;}export const NPX_SKILLS_ADD_COMMAND_LINE=[a233_0x23340f(0x150),...buildNpxSkillsAddArgv()][a233_0x23340f(0x14c)]('\x20');export const NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE=[a233_0x23340f(0x150),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES]['join']('\x20');export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0x504b53,_0x37f93c){const _0x121394=a233_0x23340f;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x26dfcf=_0x37f93c?.['stdio']??_0x121394(0x13e),_0x331381=resolveNpmBin('npx'),_0x52d70f=buildNpxSkillsAddArgv(_0x37f93c?.['skill']),_0x36fd7d=[_0x121394(0x150),..._0x52d70f][_0x121394(0x14c)]('\x20');console[_0x121394(0x143)]('*\x20'+_0x36fd7d);const _0xef561a=spawnSync(_0x331381,_0x52d70f,{'cwd':_0x504b53,'stdio':_0x26dfcf,'env':process.env,'shell':![]}),_0x1b964e=_0xef561a[_0x121394(0x139)];if(_0x1b964e===0x0)return{'ok':!![],'status':0x0};let _0x1e4c5a=_0x121394(0x156)+(_0x1b964e??_0x121394(0x152));if(_0x26dfcf===_0x121394(0x155)){const _0x5da6bc=_0xef561a[_0x121394(0x137)]?_0xef561a['stderr']['toString']()[_0x121394(0x144)]():'',_0x426e2f=_0xef561a[_0x121394(0x135)]?_0xef561a['stdout'][_0x121394(0x14a)]()[_0x121394(0x144)]():'';if(_0x5da6bc)_0x1e4c5a=_0x5da6bc;else{if(_0x426e2f)_0x1e4c5a=_0x426e2f;}}return{'ok':![],'status':_0x1b964e??null,'error':_0x1e4c5a};}export function runNpxSkillsRemove(_0x5eea21,_0x196638,_0x12cc3d=LEGACY_RABETBASE_SKILL_SOURCE){const _0x2829f4=a233_0x23340f;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x2ad65d=_0x196638?.[_0x2829f4(0x149)]??_0x2829f4(0x13e),_0x39a72e=resolveNpmBin('npx'),_0x2a7024=[NPX_FLAG_YES,NPX_SKILLS_CLI,'remove',_0x12cc3d,NPX_SKILLS_FLAG_SKILL,_0x196638?.[_0x2829f4(0x140)]??DEFAULT_RABETBASE_SKILL_NAME,..._0x196638?.[_0x2829f4(0x14f)]?['-y']:[]],_0x5f3ce4=[_0x39a72e,..._0x2a7024]['join']('\x20');console[_0x2829f4(0x143)]('*\x20'+_0x5f3ce4);const _0x3dc284=spawnSync(_0x39a72e,_0x2a7024,{'cwd':_0x5eea21,'stdio':_0x2ad65d,'env':process.env,'shell':![]}),_0x2ab4e1=_0x3dc284['status'];if(_0x2ab4e1===0x0)return{'ok':!![],'status':0x0};let _0x1c1694=_0x2829f4(0x156)+(_0x2ab4e1??'unknown');if(_0x2ad65d===_0x2829f4(0x155)){const _0x16dda7=_0x3dc284[_0x2829f4(0x137)]?_0x3dc284['stderr'][_0x2829f4(0x14a)]()['trim']():'',_0x1d0bfc=_0x3dc284[_0x2829f4(0x135)]?_0x3dc284['stdout'][_0x2829f4(0x14a)]()['trim']():'';if(_0x16dda7)_0x1c1694=_0x16dda7;else{if(_0x1d0bfc)_0x1c1694=_0x1d0bfc;}}return{'ok':![],'status':_0x2ab4e1??null,'error':_0x1c1694};}export function runNpxSkillsAddGlobal(_0x4e1aba,_0x395b39,_0x584d9a){const _0x31ec2f=a233_0x23340f;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x160f18=_0x584d9a?.['stdio']??'inherit',_0x1d506a=resolveNpmBin('npx'),_0x11c217=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x395b39,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES],_0xadc48=[_0x31ec2f(0x150),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x395b39,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][_0x31ec2f(0x14c)]('\x20');console[_0x31ec2f(0x143)]('*\x20'+_0xadc48);const _0xb63be5=spawnSync(_0x1d506a,_0x11c217,{'cwd':_0x4e1aba,'stdio':_0x160f18,'env':process.env,'shell':![]}),_0x1bd95b=_0xb63be5[_0x31ec2f(0x139)];if(_0x1bd95b===0x0)return{'ok':!![],'status':0x0};let _0x140384=_0x31ec2f(0x156)+(_0x1bd95b??'unknown');if(_0x160f18===_0x31ec2f(0x155)){const _0x58f88d=_0xb63be5[_0x31ec2f(0x137)]?_0xb63be5[_0x31ec2f(0x137)]['toString']()[_0x31ec2f(0x144)]():'',_0x4c8036=_0xb63be5['stdout']?_0xb63be5['stdout'][_0x31ec2f(0x14a)]()[_0x31ec2f(0x144)]():'';if(_0x58f88d)_0x140384=_0x58f88d;else{if(_0x4c8036)_0x140384=_0x4c8036;}}return{'ok':![],'status':_0x1bd95b??null,'error':_0x140384};}function a233_0x4545(){const _0x3a036b=['stdio','toString','2191692eCRHsk','join','push','792gVEBXf','yes','npx','3571678JPzvCf','unknown','Lovrabet','3sxeEMZ','pipe','exit\x20','stdout','8009019CGFzaI','stderr','119147cvrYnm','status','skills','2Sxxyrr','1719192pleNjJ','10MspxkO','inherit','31000680rxBycK','skill','add','199506OKTGjR','log','trim','75YvVAWO','lovrabet/lovrabet-skill','lovrabet/rabetbase','--skill'];a233_0x4545=function(){return _0x3a036b;};return a233_0x4545();}
1
+ function a234_0x5372(){const _0x4c34a9=['stderr','status','3350656IdDlyG','skill','exit\x20','6770016FUxWJy','yes','282iCNqqh','remove','toString','npx','14PUrztS','lovrabet/rabetbase','--skill','88345sRaHdD','stdio','trim','unknown','6BGziro','inherit','436099FZXciq','pipe','1172780AnrEJu','join','add','9858280ilYNXw','879050WQfmqr','log','stdout','skills'];a234_0x5372=function(){return _0x4c34a9;};return a234_0x5372();}const a234_0x18b2c1=a234_0xd365;(function(_0x189438,_0x8256d){const _0x3c6bad=a234_0xd365,_0x334a8a=_0x189438();while(!![]){try{const _0x44562a=parseInt(_0x3c6bad(0x11c))/0x1+parseInt(_0x3c6bad(0x122))/0x2*(-parseInt(_0x3c6bad(0x11a))/0x3)+-parseInt(_0x3c6bad(0x11e))/0x4+parseInt(_0x3c6bad(0x116))/0x5*(parseInt(_0x3c6bad(0x10f))/0x6)+-parseInt(_0x3c6bad(0x113))/0x7*(-parseInt(_0x3c6bad(0x128))/0x8)+parseInt(_0x3c6bad(0x10d))/0x9+-parseInt(_0x3c6bad(0x121))/0xa;if(_0x44562a===_0x8256d)break;else _0x334a8a['push'](_0x334a8a['shift']());}catch(_0x38a18b){_0x334a8a['push'](_0x334a8a['shift']());}}}(a234_0x5372,0xaa7f5));import{spawnSync}from'node:child_process';function a234_0xd365(_0x1122cf,_0x392e7b){_0x1122cf=_0x1122cf-0x10b;const _0x53728f=a234_0x5372();let _0xd36540=_0x53728f[_0x1122cf];return _0xd36540;}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_0x18b2c1(0x125);export const NPX_SKILLS_SUBCOMMAND_ADD=a234_0x18b2c1(0x120);export const NPX_SKILLS_FLAG_SKILL=a234_0x18b2c1(0x115);export const RABETBASE_SKILL_SOURCE=a234_0x18b2c1(0x114);export const LEGACY_RABETBASE_SKILL_SOURCE='lovrabet/lovrabet-skill';export const DEFAULT_RABETBASE_SKILL_NAME='Lovrabet';export function buildNpxSkillsAddArgv(_0x540552){const _0xf108c2=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE];return _0x540552&&_0xf108c2['push'](NPX_SKILLS_FLAG_SKILL,_0x540552),_0xf108c2;}export const NPX_SKILLS_ADD_COMMAND_LINE=['npx',...buildNpxSkillsAddArgv()]['join']('\x20');export const NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE=[a234_0x18b2c1(0x112),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES]['join']('\x20');export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0x5dfc59,_0x349fa7){const _0x19dfd2=a234_0x18b2c1;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x4b69d8=_0x349fa7?.[_0x19dfd2(0x117)]??_0x19dfd2(0x11b),_0xac72cf=resolveNpmBin('npx'),_0x18679f=buildNpxSkillsAddArgv(_0x349fa7?.[_0x19dfd2(0x10b)]),_0x3de580=['npx',..._0x18679f][_0x19dfd2(0x11f)]('\x20');console[_0x19dfd2(0x123)]('*\x20'+_0x3de580);const _0x20248b=spawnSync(_0xac72cf,_0x18679f,{'cwd':_0x5dfc59,'stdio':_0x4b69d8,'env':process.env,'shell':![]}),_0x208911=_0x20248b['status'];if(_0x208911===0x0)return{'ok':!![],'status':0x0};let _0x5d1a6c=_0x19dfd2(0x10c)+(_0x208911??'unknown');if(_0x4b69d8===_0x19dfd2(0x11d)){const _0x21dd3e=_0x20248b[_0x19dfd2(0x126)]?_0x20248b[_0x19dfd2(0x126)][_0x19dfd2(0x111)]()[_0x19dfd2(0x118)]():'',_0x5c211b=_0x20248b[_0x19dfd2(0x124)]?_0x20248b[_0x19dfd2(0x124)][_0x19dfd2(0x111)]()[_0x19dfd2(0x118)]():'';if(_0x21dd3e)_0x5d1a6c=_0x21dd3e;else{if(_0x5c211b)_0x5d1a6c=_0x5c211b;}}return{'ok':![],'status':_0x208911??null,'error':_0x5d1a6c};}export function runNpxSkillsRemove(_0x1afdc8,_0x9e428a,_0xee43ca=LEGACY_RABETBASE_SKILL_SOURCE){const _0x6191ed=a234_0x18b2c1;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x3e73e6=_0x9e428a?.[_0x6191ed(0x117)]??'inherit',_0x2c6ce7=resolveNpmBin(_0x6191ed(0x112)),_0x145c1a=[NPX_FLAG_YES,NPX_SKILLS_CLI,_0x6191ed(0x110),_0xee43ca,NPX_SKILLS_FLAG_SKILL,_0x9e428a?.[_0x6191ed(0x10b)]??DEFAULT_RABETBASE_SKILL_NAME,..._0x9e428a?.[_0x6191ed(0x10e)]?['-y']:[]],_0x202a8b=[_0x2c6ce7,..._0x145c1a]['join']('\x20');console[_0x6191ed(0x123)]('*\x20'+_0x202a8b);const _0x311ab0=spawnSync(_0x2c6ce7,_0x145c1a,{'cwd':_0x1afdc8,'stdio':_0x3e73e6,'env':process.env,'shell':![]}),_0x339d1f=_0x311ab0[_0x6191ed(0x127)];if(_0x339d1f===0x0)return{'ok':!![],'status':0x0};let _0x5e4318=_0x6191ed(0x10c)+(_0x339d1f??_0x6191ed(0x119));if(_0x3e73e6===_0x6191ed(0x11d)){const _0x42e744=_0x311ab0['stderr']?_0x311ab0[_0x6191ed(0x126)][_0x6191ed(0x111)]()['trim']():'',_0x5a6b44=_0x311ab0[_0x6191ed(0x124)]?_0x311ab0[_0x6191ed(0x124)][_0x6191ed(0x111)]()[_0x6191ed(0x118)]():'';if(_0x42e744)_0x5e4318=_0x42e744;else{if(_0x5a6b44)_0x5e4318=_0x5a6b44;}}return{'ok':![],'status':_0x339d1f??null,'error':_0x5e4318};}export function runNpxSkillsAddGlobal(_0xe8fc0,_0x3838ee,_0x1130a8){const _0x49206c=a234_0x18b2c1;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x518c9b=_0x1130a8?.[_0x49206c(0x117)]??_0x49206c(0x11b),_0x310ea3=resolveNpmBin(_0x49206c(0x112)),_0x4bd3ab=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x3838ee,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES],_0x55bb14=[_0x49206c(0x112),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x3838ee,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][_0x49206c(0x11f)]('\x20');console['log']('*\x20'+_0x55bb14);const _0x3b5dd0=spawnSync(_0x310ea3,_0x4bd3ab,{'cwd':_0xe8fc0,'stdio':_0x518c9b,'env':process.env,'shell':![]}),_0x348b0b=_0x3b5dd0[_0x49206c(0x127)];if(_0x348b0b===0x0)return{'ok':!![],'status':0x0};let _0x754247=_0x49206c(0x10c)+(_0x348b0b??'unknown');if(_0x518c9b==='pipe'){const _0x45e5e5=_0x3b5dd0[_0x49206c(0x126)]?_0x3b5dd0[_0x49206c(0x126)]['toString']()[_0x49206c(0x118)]():'',_0x13fcc3=_0x3b5dd0[_0x49206c(0x124)]?_0x3b5dd0[_0x49206c(0x124)][_0x49206c(0x111)]()[_0x49206c(0x118)]():'';if(_0x45e5e5)_0x754247=_0x45e5e5;else{if(_0x13fcc3)_0x754247=_0x13fcc3;}}return{'ok':![],'status':_0x348b0b??null,'error':_0x754247};}
@@ -1 +1 @@
1
- (function(_0x76dfc2,_0x443550){const _0xef8866=a234_0x5ccb,_0x418230=_0x76dfc2();while(!![]){try{const _0x5407bf=parseInt(_0xef8866(0x13d))/0x1+parseInt(_0xef8866(0x13b))/0x2*(parseInt(_0xef8866(0x14a))/0x3)+-parseInt(_0xef8866(0x139))/0x4*(-parseInt(_0xef8866(0x13a))/0x5)+parseInt(_0xef8866(0x13c))/0x6*(-parseInt(_0xef8866(0x140))/0x7)+parseInt(_0xef8866(0x144))/0x8*(-parseInt(_0xef8866(0x149))/0x9)+-parseInt(_0xef8866(0x13f))/0xa+parseInt(_0xef8866(0x143))/0xb*(parseInt(_0xef8866(0x13e))/0xc);if(_0x5407bf===_0x443550)break;else _0x418230['push'](_0x418230['shift']());}catch(_0x1bd80e){_0x418230['push'](_0x418230['shift']());}}}(a234_0x52a0,0x28a75));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';import{getCliVersion}from'../utils/version.js';function a234_0x5ccb(_0xe79308,_0x2698f9){_0xe79308=_0xe79308-0x138;const _0x52a0d5=a234_0x52a0();let _0x5ccbca=_0x52a0d5[_0xe79308];return _0x5ccbca;}const SENSITIVE_PATTERNS=[/cookie/i,/token/i,/password/i,/passwd/i,/secret/i,/auth/i,/session/i,/credential/i,/^value$/i];function isSensitiveKey(_0x2160d9){const _0x412d80=a234_0x5ccb;return SENSITIVE_PATTERNS[_0x412d80(0x14b)](_0x5cb223=>_0x5cb223['test'](_0x2160d9));}function a234_0x52a0(){const _0x41164b=['stringify','[REDACTED]','flags','command','1629dArIhr','753132VUCwSP','some','durationMs','entries','4HFMiwy','526985phaygS','2QOPbhl','48fqNxvp','5773TgndmG','127392aLbbrM','797290icUJFb','221795yDOhVJ','service','error','198MGSJsZ','2368mlmYvz'];a234_0x52a0=function(){return _0x41164b;};return a234_0x52a0();}function sanitizeFlags(_0xbe1d4b){const _0x17b038=a234_0x5ccb,_0x51d3e6={};for(const [_0x4f28a8,_0x190d11]of Object[_0x17b038(0x138)](_0xbe1d4b)){isSensitiveKey(_0x4f28a8)?_0x51d3e6[_0x4f28a8]=_0x190d11!=null&&_0x190d11!==''?_0x17b038(0x146):_0x190d11:_0x51d3e6[_0x4f28a8]=_0x190d11;}return _0x51d3e6;}export async function reportCommandTrace(_0x4bad13){const _0x452c1c=a234_0x5ccb;try{const _0x3a0c99=sanitizeFlags(_0x4bad13[_0x452c1c(0x147)]);await sendCliTraceLog({'spanName':'rabetbase.command','logData':{'command.cli_version':getCliVersion(),'command.service':_0x4bad13[_0x452c1c(0x141)],'command.name':_0x4bad13[_0x452c1c(0x148)],'command.flags':JSON[_0x452c1c(0x145)](_0x3a0c99),..._0x4bad13[_0x452c1c(0x14c)]!=null?{'command.duration_ms':_0x4bad13[_0x452c1c(0x14c)]}:{},..._0x4bad13[_0x452c1c(0x142)]?{'command.error':_0x4bad13[_0x452c1c(0x142)]instanceof Error?_0x4bad13['error']['message']:String(_0x4bad13[_0x452c1c(0x142)])}:{}}});}catch{}}
1
+ (function(_0x23121e,_0x34397d){const _0x1f6fe7=a235_0x1bd6,_0x43507f=_0x23121e();while(!![]){try{const _0x22317c=-parseInt(_0x1f6fe7(0x1f4))/0x1*(parseInt(_0x1f6fe7(0x1ec))/0x2)+parseInt(_0x1f6fe7(0x1e6))/0x3*(parseInt(_0x1f6fe7(0x1eb))/0x4)+-parseInt(_0x1f6fe7(0x1ee))/0x5*(-parseInt(_0x1f6fe7(0x1e7))/0x6)+-parseInt(_0x1f6fe7(0x1f1))/0x7+-parseInt(_0x1f6fe7(0x1f2))/0x8+-parseInt(_0x1f6fe7(0x1f5))/0x9*(-parseInt(_0x1f6fe7(0x1f6))/0xa)+parseInt(_0x1f6fe7(0x1f7))/0xb;if(_0x22317c===_0x34397d)break;else _0x43507f['push'](_0x43507f['shift']());}catch(_0x35e181){_0x43507f['push'](_0x43507f['shift']());}}}(a235_0x1598,0xed3e0));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';function a235_0x1598(){const _0x281c7b=['16yNgYJu','243818JVjTfp','durationMs','145ahwQlv','rabetbase.command','command','5561388YihWBW','12716448QKxyYX','message','4LqnZAL','9yMdpbM','6984190uMWsaL','27951154mOIvAi','service','46113TABKfE','112242VmLgzQ','stringify','[REDACTED]','error'];a235_0x1598=function(){return _0x281c7b;};return a235_0x1598();}import{getCliVersion}from'../utils/version.js';function a235_0x1bd6(_0x5d4e64,_0x2ad16a){_0x5d4e64=_0x5d4e64-0x1e5;const _0x159896=a235_0x1598();let _0x1bd698=_0x159896[_0x5d4e64];return _0x1bd698;}const SENSITIVE_PATTERNS=[/cookie/i,/token/i,/password/i,/passwd/i,/secret/i,/auth/i,/session/i,/credential/i,/^value$/i];function isSensitiveKey(_0x559eaf){return SENSITIVE_PATTERNS['some'](_0x4a2848=>_0x4a2848['test'](_0x559eaf));}function sanitizeFlags(_0x10002d){const _0x5f2de9=a235_0x1bd6,_0x519641={};for(const [_0xe9705f,_0x42eac3]of Object['entries'](_0x10002d)){isSensitiveKey(_0xe9705f)?_0x519641[_0xe9705f]=_0x42eac3!=null&&_0x42eac3!==''?_0x5f2de9(0x1e9):_0x42eac3:_0x519641[_0xe9705f]=_0x42eac3;}return _0x519641;}export async function reportCommandTrace(_0x341a25){const _0x5af08d=a235_0x1bd6;try{const _0x11ef97=sanitizeFlags(_0x341a25['flags']);await sendCliTraceLog({'spanName':_0x5af08d(0x1ef),'logData':{'command.cli_version':getCliVersion(),'command.service':_0x341a25[_0x5af08d(0x1e5)],'command.name':_0x341a25[_0x5af08d(0x1f0)],'command.flags':JSON[_0x5af08d(0x1e8)](_0x11ef97),..._0x341a25[_0x5af08d(0x1ed)]!=null?{'command.duration_ms':_0x341a25[_0x5af08d(0x1ed)]}:{},..._0x341a25['error']?{'command.error':_0x341a25[_0x5af08d(0x1ea)]instanceof Error?_0x341a25[_0x5af08d(0x1ea)][_0x5af08d(0x1f3)]:String(_0x341a25[_0x5af08d(0x1ea)])}:{}}});}catch{}}
@@ -1 +1 @@
1
- (function(_0x58f658,_0x2547a9){var _0x5e7cbf=a235_0x5507,_0x499861=_0x58f658();while(!![]){try{var _0x666f3c=-parseInt(_0x5e7cbf(0x1bf))/0x1+-parseInt(_0x5e7cbf(0x1be))/0x2*(-parseInt(_0x5e7cbf(0x1bd))/0x3)+parseInt(_0x5e7cbf(0x1c5))/0x4*(-parseInt(_0x5e7cbf(0x1c3))/0x5)+-parseInt(_0x5e7cbf(0x1c2))/0x6+parseInt(_0x5e7cbf(0x1ba))/0x7*(-parseInt(_0x5e7cbf(0x1bb))/0x8)+-parseInt(_0x5e7cbf(0x1bc))/0x9+parseInt(_0x5e7cbf(0x1c1))/0xa;if(_0x666f3c===_0x2547a9)break;else _0x499861['push'](_0x499861['shift']());}catch(_0x3252ec){_0x499861['push'](_0x499861['shift']());}}}(a235_0x46cb,0x738df));function a235_0x5507(_0x36d1bd,_0x152c68){_0x36d1bd=_0x36d1bd-0x1ba;var _0x46cbad=a235_0x46cb();var _0x55077a=_0x46cbad[_0x36d1bd];return _0x55077a;}import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';function a235_0x46cb(){var _0xf54c90=['3577212SCEmQv','801310uhxhcy','Failed\x20to\x20report\x20CLI\x20help\x20trace:','16whZjrw','21LoueNH','283992zjIExX','1097370rfziKP','5286GNAIKr','250tCoiSd','329921cqaZsJ','cli.help','20486590vlUbbm'];a235_0x46cb=function(){return _0xf54c90;};return a235_0x46cb();}export async function reportCliHelpTrace(_0xa68f4d,_0x56a544){var _0x20e5d8=a235_0x5507;try{await sendCliTraceLog({'spanName':_0x20e5d8(0x1c0),'logData':{'rabetbase.help.kind':_0xa68f4d,..._0x56a544?.['service']&&{'rabetbase.help.service':_0x56a544['service']}}});}catch(_0x243be2){console['error'](_0x20e5d8(0x1c4),_0x243be2);}}
1
+ function a236_0x26f2(){var _0x3fc7e6=['3430uWpcla','1207880VvJGFB','error','230313ERqEBc','service','4984857FPjMYz','113424nbFFPv','Failed\x20to\x20report\x20CLI\x20help\x20trace:','1017935TnyCev','8VJfOuE','294SxhEZn','6MMzNEy','1483944HhHryz'];a236_0x26f2=function(){return _0x3fc7e6;};return a236_0x26f2();}function a236_0x518c(_0x4cbd7,_0x4ffbd6){_0x4cbd7=_0x4cbd7-0xd9;var _0x26f216=a236_0x26f2();var _0x518c53=_0x26f216[_0x4cbd7];return _0x518c53;}(function(_0x3284ca,_0x50b6bd){var _0x15f700=a236_0x518c,_0x37d1d2=_0x3284ca();while(!![]){try{var _0x260f80=parseInt(_0x15f700(0xdd))/0x1*(-parseInt(_0x15f700(0xe0))/0x2)+parseInt(_0x15f700(0xe3))/0x3+parseInt(_0x15f700(0xd9))/0x4+parseInt(_0x15f700(0xdb))/0x5*(-parseInt(_0x15f700(0xde))/0x6)+parseInt(_0x15f700(0xdf))/0x7+parseInt(_0x15f700(0xdc))/0x8*(parseInt(_0x15f700(0xe5))/0x9)+parseInt(_0x15f700(0xe1))/0xa;if(_0x260f80===_0x50b6bd)break;else _0x37d1d2['push'](_0x37d1d2['shift']());}catch(_0x54d1bb){_0x37d1d2['push'](_0x37d1d2['shift']());}}}(a236_0x26f2,0x4554f));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export async function reportCliHelpTrace(_0x548ffc,_0x489b15){var _0x2d1137=a236_0x518c;try{await sendCliTraceLog({'spanName':'cli.help','logData':{'rabetbase.help.kind':_0x548ffc,..._0x489b15?.['service']&&{'rabetbase.help.service':_0x489b15[_0x2d1137(0xe4)]}}});}catch(_0x37cde2){console[_0x2d1137(0xe2)](_0x2d1137(0xda),_0x37cde2);}}
@@ -1 +1 @@
1
- (function(_0x38636b,_0x1b3ec8){const _0x48af02=a236_0x43fb,_0x9be581=_0x38636b();while(!![]){try{const _0x222388=parseInt(_0x48af02(0x6e))/0x1+parseInt(_0x48af02(0x6b))/0x2+parseInt(_0x48af02(0x79))/0x3*(parseInt(_0x48af02(0x72))/0x4)+parseInt(_0x48af02(0x71))/0x5*(-parseInt(_0x48af02(0x78))/0x6)+-parseInt(_0x48af02(0x6a))/0x7*(-parseInt(_0x48af02(0x6f))/0x8)+parseInt(_0x48af02(0x73))/0x9+-parseInt(_0x48af02(0x75))/0xa*(parseInt(_0x48af02(0x69))/0xb);if(_0x222388===_0x1b3ec8)break;else _0x9be581['push'](_0x9be581['shift']());}catch(_0x1dfd4e){_0x9be581['push'](_0x9be581['shift']());}}}(a236_0xf8ac,0x49c0a));import{VERSION,GIT_COMMIT}from'../generated/build-info.js';import{getSessionUserInfo}from'../auth/get-session-user.js';import{setServiceConfig,setUserContext}from'@lovrabet/otel-logger';function a236_0x43fb(_0x2f7e10,_0x2e6a80){_0x2f7e10=_0x2f7e10-0x69;const _0xf8ace=a236_0xf8ac();let _0x43fb60=_0xf8ace[_0x2f7e10];return _0x43fb60;}import{NPM_PACKAGE_NAME}from'../constant/cli.js';import{getConfigAppCode}from'../utils/config.js';let cliOtelTraceInitialized=![];function a236_0xf8ac(){const _0x4a72d1=['unknown','15PDDfVS','637264DRYApG','4528989snpeqN','daily','40tdgIyP','email','user','1126038iinQhS','6Ijrfyy','username','nickname','tenant','1686410lFJSKT','2443KFpdsH','786692MzbIEr','production','tenant_code','40837uvcjiQ','5096XPsmUc'];a236_0xf8ac=function(){return _0x4a72d1;};return a236_0xf8ac();}export async function ensureCliOtelTraceConfig(){const _0x173677=a236_0x43fb,_0x3e8093=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x5b7486=_0x3e8093?.[_0x173677(0x77)];setServiceConfig({'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!==_0x173677(0x70)?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?_0x173677(0x74):_0x173677(0x6c))}),setUserContext({'id':_0x5b7486?.['id'],'username':_0x5b7486?.[_0x173677(0x7a)],'nickname':_0x5b7486?.[_0x173677(0x7b)],'email':_0x5b7486?.[_0x173677(0x76)],'tenantCode':_0x5b7486?.[_0x173677(0x7c)][_0x173677(0x6d)],'appCode':getConfigAppCode()}),cliOtelTraceInitialized=!![];}return _0x3e8093;}
1
+ (function(_0x375a87,_0x7d1efa){const _0x2fb08a=a237_0x1a72,_0x1258ee=_0x375a87();while(!![]){try{const _0x39d6d8=-parseInt(_0x2fb08a(0x119))/0x1*(parseInt(_0x2fb08a(0x113))/0x2)+-parseInt(_0x2fb08a(0x11f))/0x3+-parseInt(_0x2fb08a(0x116))/0x4*(parseInt(_0x2fb08a(0x11a))/0x5)+-parseInt(_0x2fb08a(0x115))/0x6*(parseInt(_0x2fb08a(0x114))/0x7)+parseInt(_0x2fb08a(0x11b))/0x8+-parseInt(_0x2fb08a(0x112))/0x9+parseInt(_0x2fb08a(0x111))/0xa;if(_0x39d6d8===_0x7d1efa)break;else _0x1258ee['push'](_0x1258ee['shift']());}catch(_0x1bc5e2){_0x1258ee['push'](_0x1258ee['shift']());}}}(a237_0x2cac,0xd762f));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=![];function a237_0x1a72(_0x262991,_0xb9a61f){_0x262991=_0x262991-0x111;const _0x2cac6b=a237_0x2cac();let _0x1a727d=_0x2cac6b[_0x262991];return _0x1a727d;}export async function ensureCliOtelTraceConfig(){const _0x1f6cdf=a237_0x1a72,_0x19c492=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x1d4205=_0x19c492?.['user'];setServiceConfig({'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!=='unknown'?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?_0x1f6cdf(0x11e):_0x1f6cdf(0x117))}),setUserContext({'id':_0x1d4205?.['id'],'username':_0x1d4205?.[_0x1f6cdf(0x118)],'nickname':_0x1d4205?.[_0x1f6cdf(0x120)],'email':_0x1d4205?.[_0x1f6cdf(0x11d)],'tenantCode':_0x1d4205?.['tenant'][_0x1f6cdf(0x11c)],'appCode':getConfigAppCode()}),cliOtelTraceInitialized=!![];}return _0x19c492;}function a237_0x2cac(){const _0x28568f=['12384twbMsr','22016NiRrqa','production','username','1fLooXr','145vkHwEi','1464408spkqOy','tenant_code','email','daily','3239883xzJsnr','nickname','37467810opYpbE','11997900SWsqlv','908584uEIHsP','70opvRBj'];a237_0x2cac=function(){return _0x28568f;};return a237_0x2cac();}
@@ -1 +1 @@
1
- (function(_0x494c50,_0x4fd935){const _0x3e5c92=a237_0x1b07,_0x327012=_0x494c50();while(!![]){try{const _0x41d99e=-parseInt(_0x3e5c92(0x167))/0x1*(parseInt(_0x3e5c92(0x165))/0x2)+parseInt(_0x3e5c92(0x15e))/0x3*(-parseInt(_0x3e5c92(0x160))/0x4)+-parseInt(_0x3e5c92(0x163))/0x5*(parseInt(_0x3e5c92(0x16c))/0x6)+-parseInt(_0x3e5c92(0x164))/0x7*(-parseInt(_0x3e5c92(0x162))/0x8)+parseInt(_0x3e5c92(0x168))/0x9*(-parseInt(_0x3e5c92(0x16d))/0xa)+parseInt(_0x3e5c92(0x16b))/0xb+parseInt(_0x3e5c92(0x166))/0xc;if(_0x41d99e===_0x4fd935)break;else _0x327012['push'](_0x327012['shift']());}catch(_0x1bada0){_0x327012['push'](_0x327012['shift']());}}}(a237_0x1f7f,0xa75e3));function a237_0x1b07(_0x4cb3ec,_0x441bab){_0x4cb3ec=_0x4cb3ec-0x15c;const _0x1f7fe4=a237_0x1f7f();let _0x1b0798=_0x1f7fe4[_0x4cb3ec];return _0x1b0798;}import{shutdownTraces}from'@lovrabet/otel-logger';let shutdownPromise=null;export async function flushOtelNodeIfUsed(){if(shutdownPromise)return shutdownPromise;return shutdownPromise=((async()=>{try{await shutdownTraces();}catch{}})()),shutdownPromise;}export function registerOtelShutdownOnExit(){const _0x440f9a=a237_0x1b07;process[_0x440f9a(0x15f)](_0x440f9a(0x15c),()=>{void flushOtelNodeIfUsed();});const _0x8e3b2f=()=>{const _0x3585f1=_0x440f9a;void flushOtelNodeIfUsed()[_0x3585f1(0x169)](()=>process[_0x3585f1(0x16a)](0x0));};process[_0x440f9a(0x15f)](_0x440f9a(0x161),_0x8e3b2f),process[_0x440f9a(0x15f)](_0x440f9a(0x15d),_0x8e3b2f);}export async function exitWithOtelShutdown(_0x47326d){await flushOtelNodeIfUsed(),process['exit'](_0x47326d);}function a237_0x1f7f(){const _0x16908c=['70FoeQpW','322315rzQthC','76144eLtaNf','6707628IseQXW','2Fevwjv','99odisis','then','exit','10489149YnwGLD','217338AxsVXr','143690xAAXhd','beforeExit','SIGTERM','3wJYyvz','once','895196GXkDAG','SIGINT','24BdXdvg'];a237_0x1f7f=function(){return _0x16908c;};return a237_0x1f7f();}
1
+ (function(_0x54dce9,_0x85db2a){const _0x49ecdd=a238_0x18e2,_0x48684a=_0x54dce9();while(!![]){try{const _0x51dee0=-parseInt(_0x49ecdd(0x175))/0x1+parseInt(_0x49ecdd(0x16d))/0x2+parseInt(_0x49ecdd(0x174))/0x3+-parseInt(_0x49ecdd(0x171))/0x4*(parseInt(_0x49ecdd(0x173))/0x5)+parseInt(_0x49ecdd(0x169))/0x6*(parseInt(_0x49ecdd(0x176))/0x7)+-parseInt(_0x49ecdd(0x16e))/0x8*(parseInt(_0x49ecdd(0x168))/0x9)+parseInt(_0x49ecdd(0x16f))/0xa;if(_0x51dee0===_0x85db2a)break;else _0x48684a['push'](_0x48684a['shift']());}catch(_0x701342){_0x48684a['push'](_0x48684a['shift']());}}}(a238_0x4483,0x3b710));import{shutdownTraces}from'@lovrabet/otel-logger';function a238_0x4483(){const _0x377f71=['beforeExit','SIGTERM','then','378590QNVpaZ','735664QWqsXb','3218540gipyEx','once','8nxtrgU','exit','955315CamiNv','1368201wIljwU','188056uUsJkf','2143596RJqNzM','45OLZEUs','6XECvHf'];a238_0x4483=function(){return _0x377f71;};return a238_0x4483();}let shutdownPromise=null;export async function flushOtelNodeIfUsed(){if(shutdownPromise)return shutdownPromise;return shutdownPromise=((async()=>{try{await shutdownTraces();}catch{}})()),shutdownPromise;}export function registerOtelShutdownOnExit(){const _0x290dbf=a238_0x18e2;process[_0x290dbf(0x170)](_0x290dbf(0x16a),()=>{void flushOtelNodeIfUsed();});const _0x3301c1=()=>{const _0x4b0f59=_0x290dbf;void flushOtelNodeIfUsed()[_0x4b0f59(0x16c)](()=>process['exit'](0x0));};process[_0x290dbf(0x170)]('SIGINT',_0x3301c1),process[_0x290dbf(0x170)](_0x290dbf(0x16b),_0x3301c1);}function a238_0x18e2(_0x5bb577,_0x527623){_0x5bb577=_0x5bb577-0x168;const _0x4483ec=a238_0x4483();let _0x18e213=_0x4483ec[_0x5bb577];return _0x18e213;}export async function exitWithOtelShutdown(_0x5b64cf){const _0x3cf57e=a238_0x18e2;await flushOtelNodeIfUsed(),process[_0x3cf57e(0x172)](_0x5b64cf);}
@@ -1 +1 @@
1
- const a238_0x1d3b9d=a238_0x1f46;(function(_0x403e2e,_0x30fa2f){const _0x27e924=a238_0x1f46,_0x28b805=_0x403e2e();while(!![]){try{const _0x38d3e2=parseInt(_0x27e924(0x1df))/0x1+parseInt(_0x27e924(0x1db))/0x2*(-parseInt(_0x27e924(0x1e5))/0x3)+-parseInt(_0x27e924(0x1d7))/0x4*(parseInt(_0x27e924(0x1e0))/0x5)+-parseInt(_0x27e924(0x1d9))/0x6+-parseInt(_0x27e924(0x1e1))/0x7+-parseInt(_0x27e924(0x1d5))/0x8*(-parseInt(_0x27e924(0x1e3))/0x9)+-parseInt(_0x27e924(0x1e2))/0xa*(-parseInt(_0x27e924(0x1d6))/0xb);if(_0x38d3e2===_0x30fa2f)break;else _0x28b805['push'](_0x28b805['shift']());}catch(_0x488ec7){_0x28b805['push'](_0x28b805['shift']());}}}(a238_0x3875,0x3a70e));import{sendTraceLog}from'@lovrabet/otel-logger';import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';import{getCliVersion}from'../utils/version.js';function a238_0x3875(){const _0x12ff5d=['logData','955056uWhWKz','spanName','manual','version','378092hMwnTZ','55mzWfgO','1778504ijTBjj','7089470hWweyY','357021MAAHhk','rabetbase-cli','3ckCCSj','32iWuwnK','11rwltnS','24468IxlSpd','traceparent','1244724hsuNUM'];a238_0x3875=function(){return _0x12ff5d;};return a238_0x3875();}function a238_0x1f46(_0x145164,_0x14fa49){_0x145164=_0x145164-0x1d5;const _0x3875c2=a238_0x3875();let _0x1f46b6=_0x3875c2[_0x145164];return _0x1f46b6;}const DEFAULT_TRACE_NAME=a238_0x1d3b9d(0x1e4);export async function sendCliTraceLog(_0x5f5a92){const _0x41a42b=a238_0x1d3b9d;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x5f5a92['traceName']??DEFAULT_TRACE_NAME,'version':_0x5f5a92[_0x41a42b(0x1de)]??getCliVersion(),'spanName':_0x5f5a92[_0x41a42b(0x1dc)],'eventType':_0x41a42b(0x1dd),'logData':_0x5f5a92[_0x41a42b(0x1da)],..._0x5f5a92[_0x41a42b(0x1d8)]&&{'traceparent':_0x5f5a92['traceparent']}});}
1
+ const a239_0x3aea96=a239_0x4ea8;function a239_0x4ea8(_0x53a679,_0x112118){_0x53a679=_0x53a679-0x18f;const _0x15bdc7=a239_0x15bd();let _0x4ea887=_0x15bdc7[_0x53a679];return _0x4ea887;}(function(_0x29ff2c,_0x1f1a40){const _0x395a42=a239_0x4ea8,_0x1c9933=_0x29ff2c();while(!![]){try{const _0x1242c1=parseInt(_0x395a42(0x198))/0x1+parseInt(_0x395a42(0x196))/0x2+-parseInt(_0x395a42(0x194))/0x3*(-parseInt(_0x395a42(0x191))/0x4)+parseInt(_0x395a42(0x197))/0x5*(-parseInt(_0x395a42(0x19b))/0x6)+-parseInt(_0x395a42(0x190))/0x7*(parseInt(_0x395a42(0x19c))/0x8)+-parseInt(_0x395a42(0x192))/0x9*(parseInt(_0x395a42(0x193))/0xa)+-parseInt(_0x395a42(0x19a))/0xb;if(_0x1242c1===_0x1f1a40)break;else _0x1c9933['push'](_0x1c9933['shift']());}catch(_0x51d289){_0x1c9933['push'](_0x1c9933['shift']());}}}(a239_0x15bd,0xe1f49));import{sendTraceLog}from'@lovrabet/otel-logger';function a239_0x15bd(){const _0x2e6f24=['spanName','rabetbase-cli','version','420826jsowkf','19740FYUNJO','36ZRCxJA','1163620dRtCHy','591VpcxGi','traceparent','3265014kjKlyf','155195nFbBUd','1558555xMQTZC','manual','1200573ykfFGy','294cdLhrK','152rfNlZa'];a239_0x15bd=function(){return _0x2e6f24;};return a239_0x15bd();}import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';import{getCliVersion}from'../utils/version.js';const DEFAULT_TRACE_NAME=a239_0x3aea96(0x19e);export async function sendCliTraceLog(_0x5a9081){const _0x413c76=a239_0x3aea96;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x5a9081['traceName']??DEFAULT_TRACE_NAME,'version':_0x5a9081[_0x413c76(0x18f)]??getCliVersion(),'spanName':_0x5a9081[_0x413c76(0x19d)],'eventType':_0x413c76(0x199),'logData':_0x5a9081['logData'],..._0x5a9081[_0x413c76(0x195)]&&{'traceparent':_0x5a9081[_0x413c76(0x195)]}});}
@@ -1 +1 @@
1
- const a239_0xbe103a=a239_0x22b8;(function(_0x5c26fe,_0x4da42e){const _0x25a1b7=a239_0x22b8,_0x25a126=_0x5c26fe();while(!![]){try{const _0x3c2751=parseInt(_0x25a1b7(0x1ce))/0x1+parseInt(_0x25a1b7(0x1d4))/0x2+-parseInt(_0x25a1b7(0x1d6))/0x3*(-parseInt(_0x25a1b7(0x1d2))/0x4)+parseInt(_0x25a1b7(0x1d1))/0x5*(-parseInt(_0x25a1b7(0x1d9))/0x6)+-parseInt(_0x25a1b7(0x1dc))/0x7+parseInt(_0x25a1b7(0x1d0))/0x8+parseInt(_0x25a1b7(0x1d7))/0x9*(-parseInt(_0x25a1b7(0x1cf))/0xa);if(_0x3c2751===_0x4da42e)break;else _0x25a126['push'](_0x25a126['shift']());}catch(_0x3e0e47){_0x25a126['push'](_0x25a126['shift']());}}}(a239_0x5ae7,0x457b6));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export const PLATFORM_ISSUE_TRACE_NAME=a239_0xbe103a(0x1d8);export const PLATFORM_ISSUE_SPAN_NAME=a239_0xbe103a(0x1d3);function a239_0x22b8(_0xe7b141,_0x447216){_0xe7b141=_0xe7b141-0x1ce;const _0x5ae71a=a239_0x5ae7();let _0x22b845=_0x5ae71a[_0xe7b141];return _0x22b845;}export async function sendPlatformIssueCollectLog(_0x5df5ef){const _0x41b37e=a239_0xbe103a;await sendCliTraceLog({'traceName':PLATFORM_ISSUE_TRACE_NAME,'spanName':PLATFORM_ISSUE_SPAN_NAME,'logData':{'issue.title':_0x5df5ef[_0x41b37e(0x1da)],'issue.description':_0x5df5ef['description'],..._0x5df5ef['sanitize']?{'issue.description_original_bytes':_0x5df5ef[_0x41b37e(0x1db)]['originalBytes'],'issue.description_truncated':_0x5df5ef[_0x41b37e(0x1db)]['truncated'],'issue.description_redactions':_0x5df5ef[_0x41b37e(0x1db)]['redactionCount'],'issue.description_redaction_kinds':_0x5df5ef[_0x41b37e(0x1db)]['redactionKinds'][_0x41b37e(0x1d5)](',')}:{}}});}function a239_0x5ae7(){const _0x2d6994=['307864meeuqK','100oqLWKp','3401888uohoFP','7335ZNulQt','32gAsOGV','issue.log.collect','68436uEirYe','join','98811TvKKzP','594252hOXsBT','platform-issue-log-collect','36OVUnZd','title','sanitize','539938jjEnAa'];a239_0x5ae7=function(){return _0x2d6994;};return a239_0x5ae7();}
1
+ const a240_0x5494ac=a240_0x4d4e;function a240_0x4d4e(_0xc79e7b,_0x4c858d){_0xc79e7b=_0xc79e7b-0x1c6;const _0x19cdfb=a240_0x19cd();let _0x4d4e56=_0x19cdfb[_0xc79e7b];return _0x4d4e56;}(function(_0x207ad7,_0x42fd4c){const _0x33bafc=a240_0x4d4e,_0x1bee01=_0x207ad7();while(!![]){try{const _0x2f2545=-parseInt(_0x33bafc(0x1c9))/0x1*(parseInt(_0x33bafc(0x1ca))/0x2)+parseInt(_0x33bafc(0x1d2))/0x3+parseInt(_0x33bafc(0x1d5))/0x4+parseInt(_0x33bafc(0x1d4))/0x5+parseInt(_0x33bafc(0x1cb))/0x6+parseInt(_0x33bafc(0x1c8))/0x7*(parseInt(_0x33bafc(0x1d3))/0x8)+-parseInt(_0x33bafc(0x1d1))/0x9;if(_0x2f2545===_0x42fd4c)break;else _0x1bee01['push'](_0x1bee01['shift']());}catch(_0x5a31a6){_0x1bee01['push'](_0x1bee01['shift']());}}}(a240_0x19cd,0xa832b));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export const PLATFORM_ISSUE_TRACE_NAME=a240_0x5494ac(0x1cc);function a240_0x19cd(){const _0x2eb46b=['1716660ROQxXE','9528248SXzsno','3670430LfSVpZ','3918196fFhkGm','issue.log.collect','truncated','7lUALVR','1iVXQfb','56566owSPgk','3389298Zghqdb','platform-issue-log-collect','redactionCount','title','redactionKinds','sanitize','29920923LjUzqn'];a240_0x19cd=function(){return _0x2eb46b;};return a240_0x19cd();}export const PLATFORM_ISSUE_SPAN_NAME=a240_0x5494ac(0x1c6);export async function sendPlatformIssueCollectLog(_0x438190){const _0x3ee198=a240_0x5494ac;await sendCliTraceLog({'traceName':PLATFORM_ISSUE_TRACE_NAME,'spanName':PLATFORM_ISSUE_SPAN_NAME,'logData':{'issue.title':_0x438190[_0x3ee198(0x1ce)],'issue.description':_0x438190['description'],..._0x438190[_0x3ee198(0x1d0)]?{'issue.description_original_bytes':_0x438190[_0x3ee198(0x1d0)]['originalBytes'],'issue.description_truncated':_0x438190['sanitize'][_0x3ee198(0x1c7)],'issue.description_redactions':_0x438190[_0x3ee198(0x1d0)][_0x3ee198(0x1cd)],'issue.description_redaction_kinds':_0x438190[_0x3ee198(0x1d0)][_0x3ee198(0x1cf)]['join'](',')}:{}}});}
@@ -1 +1 @@
1
- function a241_0x1d36(_0x4537e6,_0x2ef9b8){_0x4537e6=_0x4537e6-0x11f;const _0x5badc4=a241_0x5bad();let _0x1d36e9=_0x5badc4[_0x4537e6];return _0x1d36e9;}function a241_0x5bad(){const _0x246d97=['Antigravity\x20IDE','.cursorrules','cursor','trae','file','.claude/skills/lovrabet/SKILL.md','.codebuddy','2620612dJoyuA','.qoder/skills/lovrabet/SKILL.md','Cline\x20IDE','.cline','OpenCode\x20IDE','.windsurf/workflows/rabetbase.md','CodeBuddy\x20IDE','opencode','.agent','3180221TSOyPL','Cursor\x20IDE','.cursor','369828JePpoa','windsurf','Trae','其他\x20(通用模板)','Trae\x20IDE','Codex','.claude','claude','Windsurf','.trae/skills/lovrabet/SKILL.md','Qoder\x20IDE','.codebuddy/skills/lovrabet/SKILL.md','.qoder','SKILL.md.tpl','Claude\x20Code','8168wATklQ','.qoder/rules/rabetbase.md','1030248bsOuhA','24851UefZPX','通用模板\x20-\x20兜底方案','Cline','cline','Cursor','.opencode/skills/lovrabet/SKILL.md','3260382afoVKE','10YUlHKj','qoder','CodeBuddy','34RZeSTd','codebuddy','.codex/skills/lovrabet/SKILL.md','codex','Codex\x20IDE','924NpCVyF','.cursor/skills/rabetbase.md','.windsurf','10rVTixA','.agent/skills/lovrabet/SKILL.md'];a241_0x5bad=function(){return _0x246d97;};return a241_0x5bad();}const a241_0x5ca1a0=a241_0x1d36;(function(_0x4c60ee,_0x42ca5e){const _0xe51bb8=a241_0x1d36,_0x1e7bf9=_0x4c60ee();while(!![]){try{const _0x1695a6=-parseInt(_0xe51bb8(0x14e))/0x1*(parseInt(_0xe51bb8(0x11f))/0x2)+parseInt(_0xe51bb8(0x14d))/0x3+-parseInt(_0xe51bb8(0x130))/0x4+parseInt(_0xe51bb8(0x155))/0x5*(parseInt(_0xe51bb8(0x154))/0x6)+parseInt(_0xe51bb8(0x124))/0x7*(-parseInt(_0xe51bb8(0x14b))/0x8)+parseInt(_0xe51bb8(0x13c))/0x9+parseInt(_0xe51bb8(0x127))/0xa*(parseInt(_0xe51bb8(0x139))/0xb);if(_0x1695a6===_0x42ca5e)break;else _0x1e7bf9['push'](_0x1e7bf9['shift']());}catch(_0x4c6dee){_0x1e7bf9['push'](_0x1e7bf9['shift']());}}}(a241_0x5bad,0x85cb5));export const CORE_IDE_CONFIGS={'cursor':{'name':a241_0x5ca1a0(0x152),'description':a241_0x5ca1a0(0x13a),'folders':[a241_0x5ca1a0(0x12a),a241_0x5ca1a0(0x13b)],'files':[{'type':a241_0x5ca1a0(0x12d),'path':a241_0x5ca1a0(0x125),'template':a241_0x5ca1a0(0x149)}]},'windsurf':{'name':a241_0x5ca1a0(0x144),'description':'Windsurf\x20IDE','folders':[a241_0x5ca1a0(0x126)],'files':[{'type':a241_0x5ca1a0(0x12d),'path':a241_0x5ca1a0(0x135),'template':a241_0x5ca1a0(0x149)}]},'claude':{'name':a241_0x5ca1a0(0x14a),'description':a241_0x5ca1a0(0x14a),'folders':[a241_0x5ca1a0(0x142)],'files':[{'type':a241_0x5ca1a0(0x12d),'path':a241_0x5ca1a0(0x12e),'template':a241_0x5ca1a0(0x149)}]},'cline':{'name':a241_0x5ca1a0(0x150),'description':a241_0x5ca1a0(0x132),'folders':[a241_0x5ca1a0(0x133)],'files':[{'type':a241_0x5ca1a0(0x12d),'path':'.cline/skills/lovrabet/SKILL.md','template':a241_0x5ca1a0(0x149)}]},'codex':{'name':a241_0x5ca1a0(0x141),'description':a241_0x5ca1a0(0x123),'folders':['.codex'],'files':[{'type':a241_0x5ca1a0(0x12d),'path':a241_0x5ca1a0(0x121),'template':a241_0x5ca1a0(0x149)}]},'opencode':{'name':'OpenCode','description':a241_0x5ca1a0(0x134),'folders':['.opencode'],'files':[{'type':a241_0x5ca1a0(0x12d),'path':a241_0x5ca1a0(0x153),'template':a241_0x5ca1a0(0x149)}]},'qoder':{'name':'Qoder','description':a241_0x5ca1a0(0x146),'folders':[a241_0x5ca1a0(0x148)],'files':[{'type':a241_0x5ca1a0(0x12d),'path':a241_0x5ca1a0(0x14c),'template':'SKILL.md.tpl'},{'type':a241_0x5ca1a0(0x12d),'path':a241_0x5ca1a0(0x131),'template':a241_0x5ca1a0(0x149)}]},'codebuddy':{'name':a241_0x5ca1a0(0x157),'description':a241_0x5ca1a0(0x136),'folders':[a241_0x5ca1a0(0x12f)],'files':[{'type':a241_0x5ca1a0(0x12d),'path':a241_0x5ca1a0(0x147),'template':a241_0x5ca1a0(0x149)}]},'trae':{'name':a241_0x5ca1a0(0x13e),'description':a241_0x5ca1a0(0x140),'folders':['.trae'],'files':[{'type':a241_0x5ca1a0(0x12d),'path':a241_0x5ca1a0(0x145),'template':'SKILL.md.tpl'}]}};export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':a241_0x5ca1a0(0x13f),'description':a241_0x5ca1a0(0x14f),'folders':[a241_0x5ca1a0(0x138)],'files':[{'type':a241_0x5ca1a0(0x12d),'path':a241_0x5ca1a0(0x128),'template':'SKILL.md.tpl'}]},'antigravity':{'name':'Antigravity','description':a241_0x5ca1a0(0x129),'folders':[a241_0x5ca1a0(0x138)],'files':[{'type':a241_0x5ca1a0(0x12d),'path':a241_0x5ca1a0(0x128),'template':a241_0x5ca1a0(0x149)}]}};export const CORE_IDE_LIST=[a241_0x5ca1a0(0x143),a241_0x5ca1a0(0x151),a241_0x5ca1a0(0x120),a241_0x5ca1a0(0x122),a241_0x5ca1a0(0x12b),a241_0x5ca1a0(0x137),a241_0x5ca1a0(0x156),a241_0x5ca1a0(0x12c),'windsurf'];export const IDE_LIST=['antigravity',a241_0x5ca1a0(0x143),a241_0x5ca1a0(0x151),a241_0x5ca1a0(0x120),'codex',a241_0x5ca1a0(0x12b),a241_0x5ca1a0(0x137),a241_0x5ca1a0(0x156),'trae','windsurf','agent'];export const ALL_CORE_IDES=[a241_0x5ca1a0(0x12b),a241_0x5ca1a0(0x13d),'claude',a241_0x5ca1a0(0x151),a241_0x5ca1a0(0x122),a241_0x5ca1a0(0x137),'qoder',a241_0x5ca1a0(0x120),a241_0x5ca1a0(0x12c)];
1
+ const a242_0x321d5f=a242_0x245e;(function(_0x49cd1d,_0x35e1dc){const _0x1448e4=a242_0x245e,_0x60a7fc=_0x49cd1d();while(!![]){try{const _0xa41c20=parseInt(_0x1448e4(0xb9))/0x1*(parseInt(_0x1448e4(0xb4))/0x2)+parseInt(_0x1448e4(0x95))/0x3+-parseInt(_0x1448e4(0xb8))/0x4*(-parseInt(_0x1448e4(0xae))/0x5)+parseInt(_0x1448e4(0xb2))/0x6*(parseInt(_0x1448e4(0x9e))/0x7)+parseInt(_0x1448e4(0x8a))/0x8+-parseInt(_0x1448e4(0xa6))/0x9+-parseInt(_0x1448e4(0x9c))/0xa*(parseInt(_0x1448e4(0x8d))/0xb);if(_0xa41c20===_0x35e1dc)break;else _0x60a7fc['push'](_0x60a7fc['shift']());}catch(_0x2dbea0){_0x60a7fc['push'](_0x60a7fc['shift']());}}}(a242_0x2332,0x6f7b8));export const CORE_IDE_CONFIGS={'cursor':{'name':'Cursor','description':'Cursor\x20IDE','folders':[a242_0x321d5f(0x9f),'.cursor'],'files':[{'type':a242_0x321d5f(0xac),'path':a242_0x321d5f(0x97),'template':a242_0x321d5f(0xba)}]},'windsurf':{'name':a242_0x321d5f(0xbb),'description':a242_0x321d5f(0x93),'folders':['.windsurf'],'files':[{'type':a242_0x321d5f(0xac),'path':'.windsurf/workflows/rabetbase.md','template':a242_0x321d5f(0xba)}]},'claude':{'name':a242_0x321d5f(0xa3),'description':a242_0x321d5f(0xa3),'folders':[a242_0x321d5f(0x8c)],'files':[{'type':a242_0x321d5f(0xac),'path':a242_0x321d5f(0xa5),'template':'SKILL.md.tpl'}]},'cline':{'name':'Cline','description':'Cline\x20IDE','folders':['.cline'],'files':[{'type':a242_0x321d5f(0xac),'path':a242_0x321d5f(0xa1),'template':a242_0x321d5f(0xba)}]},'codex':{'name':a242_0x321d5f(0x9b),'description':a242_0x321d5f(0xa4),'folders':[a242_0x321d5f(0xb6)],'files':[{'type':'file','path':'.codex/skills/lovrabet/SKILL.md','template':a242_0x321d5f(0xba)}]},'opencode':{'name':a242_0x321d5f(0x9d),'description':a242_0x321d5f(0xab),'folders':['.opencode'],'files':[{'type':a242_0x321d5f(0xac),'path':a242_0x321d5f(0xa9),'template':'SKILL.md.tpl'}]},'qoder':{'name':a242_0x321d5f(0xaa),'description':a242_0x321d5f(0x88),'folders':[a242_0x321d5f(0x86)],'files':[{'type':a242_0x321d5f(0xac),'path':a242_0x321d5f(0x89),'template':a242_0x321d5f(0xba)},{'type':'file','path':a242_0x321d5f(0xb0),'template':'SKILL.md.tpl'}]},'codebuddy':{'name':a242_0x321d5f(0x9a),'description':a242_0x321d5f(0xb1),'folders':[a242_0x321d5f(0x8b)],'files':[{'type':a242_0x321d5f(0xac),'path':a242_0x321d5f(0xb5),'template':a242_0x321d5f(0xba)}]},'trae':{'name':a242_0x321d5f(0x87),'description':a242_0x321d5f(0xa8),'folders':[a242_0x321d5f(0xb3)],'files':[{'type':'file','path':a242_0x321d5f(0xad),'template':'SKILL.md.tpl'}]}};export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':a242_0x321d5f(0x94),'description':a242_0x321d5f(0x8f),'folders':['.agent'],'files':[{'type':a242_0x321d5f(0xac),'path':a242_0x321d5f(0xaf),'template':a242_0x321d5f(0xba)}]},'antigravity':{'name':a242_0x321d5f(0xa2),'description':a242_0x321d5f(0x92),'folders':['.agent'],'files':[{'type':'file','path':a242_0x321d5f(0xaf),'template':a242_0x321d5f(0xba)}]}};export const CORE_IDE_LIST=[a242_0x321d5f(0x99),a242_0x321d5f(0xa0),'codebuddy','codex',a242_0x321d5f(0xa7),a242_0x321d5f(0x90),'qoder',a242_0x321d5f(0x98),a242_0x321d5f(0x8e)];export const IDE_LIST=[a242_0x321d5f(0x91),a242_0x321d5f(0x99),a242_0x321d5f(0xa0),'codebuddy','codex',a242_0x321d5f(0xa7),a242_0x321d5f(0x90),a242_0x321d5f(0x96),a242_0x321d5f(0x98),a242_0x321d5f(0x8e),a242_0x321d5f(0xbc)];export const ALL_CORE_IDES=[a242_0x321d5f(0xa7),'windsurf',a242_0x321d5f(0x99),a242_0x321d5f(0xa0),a242_0x321d5f(0xb7),'opencode',a242_0x321d5f(0x96),'codebuddy',a242_0x321d5f(0x98)];function a242_0x245e(_0x33ea31,_0x5b4317){_0x33ea31=_0x33ea31-0x86;const _0x233299=a242_0x2332();let _0x245e46=_0x233299[_0x33ea31];return _0x245e46;}function a242_0x2332(){const _0x242047=['.trae/skills/lovrabet/SKILL.md','13480KnFEdz','.agent/skills/lovrabet/SKILL.md','.qoder/skills/lovrabet/SKILL.md','CodeBuddy\x20IDE','6vTuuXO','.trae','24PqYwXm','.codebuddy/skills/lovrabet/SKILL.md','.codex','codex','292FCnigc','58642fEzrPI','SKILL.md.tpl','Windsurf','agent','.qoder','Trae','Qoder\x20IDE','.qoder/rules/rabetbase.md','2844088VsoKui','.codebuddy','.claude','110zMFZmu','windsurf','通用模板\x20-\x20兜底方案','opencode','antigravity','Antigravity\x20IDE','Windsurf\x20IDE','其他\x20(通用模板)','663075WeIvei','qoder','.cursor/skills/rabetbase.md','trae','claude','CodeBuddy','Codex','1384860dryfng','OpenCode','2811627wemJSk','.cursorrules','cline','.cline/skills/lovrabet/SKILL.md','Antigravity','Claude\x20Code','Codex\x20IDE','.claude/skills/lovrabet/SKILL.md','334953ZUtOSs','cursor','Trae\x20IDE','.opencode/skills/lovrabet/SKILL.md','Qoder','OpenCode\x20IDE','file'];a242_0x2332=function(){return _0x242047;};return a242_0x2332();}
@@ -1 +1 @@
1
- function a242_0x3c63(_0x2dabb0,_0x4991d9){_0x2dabb0=_0x2dabb0-0xf5;const _0x2d1294=a242_0x2d12();let _0x3c6330=_0x2d1294[_0x2dabb0];return _0x3c6330;}(function(_0x5725b1,_0x2ce053){const _0x498d8b=a242_0x3c63,_0x1cb74e=_0x5725b1();while(!![]){try{const _0x205541=-parseInt(_0x498d8b(0xfc))/0x1+-parseInt(_0x498d8b(0xf7))/0x2+parseInt(_0x498d8b(0xfb))/0x3*(parseInt(_0x498d8b(0xf6))/0x4)+parseInt(_0x498d8b(0xfe))/0x5*(-parseInt(_0x498d8b(0xf5))/0x6)+parseInt(_0x498d8b(0xf8))/0x7*(parseInt(_0x498d8b(0xfd))/0x8)+parseInt(_0x498d8b(0xfa))/0x9+parseInt(_0x498d8b(0xf9))/0xa;if(_0x205541===_0x2ce053)break;else _0x1cb74e['push'](_0x1cb74e['shift']());}catch(_0x543568){_0x1cb74e['push'](_0x1cb74e['shift']());}}}(a242_0x2d12,0x6b931));function a242_0x2d12(){const _0x530d4d=['338538IJWPUh','347260kFAqGY','8IQvUWL','621405BggYMm','30BAbfkl','4JoDHGu','46456eMhSaB','1546706FKzVlm','9145070koEyfe','1657863CHHPkS'];a242_0x2d12=function(){return _0x530d4d;};return a242_0x2d12();}import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
1
+ (function(_0x1b1a56,_0xa83637){const _0x24ed5c=a243_0x35c2,_0x31a8de=_0x1b1a56();while(!![]){try{const _0x196081=parseInt(_0x24ed5c(0x12b))/0x1*(parseInt(_0x24ed5c(0x126))/0x2)+parseInt(_0x24ed5c(0x12d))/0x3+parseInt(_0x24ed5c(0x125))/0x4*(parseInt(_0x24ed5c(0x12e))/0x5)+parseInt(_0x24ed5c(0x129))/0x6+-parseInt(_0x24ed5c(0x127))/0x7*(parseInt(_0x24ed5c(0x12f))/0x8)+-parseInt(_0x24ed5c(0x12a))/0x9*(-parseInt(_0x24ed5c(0x12c))/0xa)+-parseInt(_0x24ed5c(0x128))/0xb;if(_0x196081===_0xa83637)break;else _0x31a8de['push'](_0x31a8de['shift']());}catch(_0x3ce091){_0x31a8de['push'](_0x31a8de['shift']());}}}(a243_0x219d,0x68c7f));function a243_0x219d(){const _0x8967f=['16083122KcHYVF','4884180QPxSxU','36ubJMLu','6lMerdm','13290AiAQzT','2195730kmnfev','305UhEDfO','32IkUHDa','18636OTgBBh','63782AuBIYT','237153NdqAlc'];a243_0x219d=function(){return _0x8967f;};return a243_0x219d();}import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a243_0x35c2(_0x3ffd5a,_0x1a0d9a){_0x3ffd5a=_0x3ffd5a-0x125;const _0x219d87=a243_0x219d();let _0x35c2f6=_0x219d87[_0x3ffd5a];return _0x35c2f6;}export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
@@ -1 +1 @@
1
- function a243_0x3da9(){const _0x3cc398=['149092rSqrtz','3ImEUfF','stableVersion','now','2101012oWCNAs','20990EzxVgh','4149WeFNIP','json','952693IEnPxF','2834190WLPAel','sdk','2799984sEiPyz','application/json','1168850usMPtq','2rNSaPT','/config.json','node'];a243_0x3da9=function(){return _0x3cc398;};return a243_0x3da9();}(function(_0x1dcb47,_0x4b200b){const _0x56f815=a243_0x1e2a,_0x1bb183=_0x1dcb47();while(!![]){try{const _0x2302c7=parseInt(_0x56f815(0xd5))/0x1*(-parseInt(_0x56f815(0xd2))/0x2)+parseInt(_0x56f815(0xd6))/0x3*(parseInt(_0x56f815(0xd9))/0x4)+-parseInt(_0x56f815(0xe2))/0x5+-parseInt(_0x56f815(0xde))/0x6+parseInt(_0x56f815(0xdd))/0x7+-parseInt(_0x56f815(0xe0))/0x8+-parseInt(_0x56f815(0xdb))/0x9*(-parseInt(_0x56f815(0xda))/0xa);if(_0x2302c7===_0x4b200b)break;else _0x1bb183['push'](_0x1bb183['shift']());}catch(_0x20d952){_0x1bb183['push'](_0x1bb183['shift']());}}}(a243_0x3da9,0x67756));import{getTemplateBaseUrl}from'../utils/config.js';export async function fetchCdnConfig(){const _0x951432=a243_0x1e2a,_0x355ac4=getTemplateBaseUrl(),_0x166dd6=[_0x355ac4+_0x951432(0xd3),_0x355ac4+'/config/index.json'];for(const _0x1e45df of _0x166dd6){try{const _0x5234c0=await fetch(_0x1e45df,{'headers':{'Accept':_0x951432(0xe1)}});if(!_0x5234c0['ok'])continue;const _0x1e3b69=await _0x5234c0[_0x951432(0xdc)]();if(!_0x1e3b69['cli']?.['stableVersion']||!_0x1e3b69[_0x951432(0xdf)]?.[_0x951432(0xd4)]?.[_0x951432(0xd7)])continue;return _0x1e3b69;}catch{}}return null;}let cachedConfig=null,cacheTime=0x0;function a243_0x1e2a(_0x2b53c9,_0x3495e9){_0x2b53c9=_0x2b53c9-0xd2;const _0x3da9f3=a243_0x3da9();let _0x1e2ae3=_0x3da9f3[_0x2b53c9];return _0x1e2ae3;}const CACHE_TTL=0x5*0x3c*0x3e8,FAILURE_CACHE_TTL=0x3c*0x3e8;let hasCachedConfig=![];export async function getCdnConfig(){const _0x164493=a243_0x1e2a,_0x4454ba=Date[_0x164493(0xd8)]();if(hasCachedConfig){const _0x267347=cachedConfig?CACHE_TTL:FAILURE_CACHE_TTL;if(_0x4454ba-cacheTime<_0x267347)return cachedConfig;}const _0x4eceec=await fetchCdnConfig();return cachedConfig=_0x4eceec,cacheTime=_0x4454ba,hasCachedConfig=!![],_0x4eceec;}export function clearCdnConfigCache(){cachedConfig=null,cacheTime=0x0,hasCachedConfig=![];}
1
+ (function(_0x5a56a8,_0x54e1f4){const _0x560022=a244_0x3098,_0x38cf3a=_0x5a56a8();while(!![]){try{const _0x4e3dc1=parseInt(_0x560022(0x17e))/0x1+-parseInt(_0x560022(0x185))/0x2*(-parseInt(_0x560022(0x17d))/0x3)+-parseInt(_0x560022(0x184))/0x4+-parseInt(_0x560022(0x179))/0x5*(parseInt(_0x560022(0x178))/0x6)+parseInt(_0x560022(0x188))/0x7*(parseInt(_0x560022(0x17c))/0x8)+parseInt(_0x560022(0x17b))/0x9*(parseInt(_0x560022(0x17f))/0xa)+-parseInt(_0x560022(0x183))/0xb;if(_0x4e3dc1===_0x54e1f4)break;else _0x38cf3a['push'](_0x38cf3a['shift']());}catch(_0x25dd25){_0x38cf3a['push'](_0x38cf3a['shift']());}}}(a244_0x1c15,0x7497d));import{getTemplateBaseUrl}from'../utils/config.js';export async function fetchCdnConfig(){const _0x455480=a244_0x3098,_0x13a253=getTemplateBaseUrl(),_0x32d0fd=[_0x13a253+_0x455480(0x186),_0x13a253+_0x455480(0x187)];for(const _0xfb0ea9 of _0x32d0fd){try{const _0x51fdd5=await fetch(_0xfb0ea9,{'headers':{'Accept':_0x455480(0x181)}});if(!_0x51fdd5['ok'])continue;const _0xfa167e=await _0x51fdd5[_0x455480(0x182)]();if(!_0xfa167e['cli']?.[_0x455480(0x17a)]||!_0xfa167e['sdk']?.[_0x455480(0x180)]?.[_0x455480(0x17a)])continue;return _0xfa167e;}catch{}}return null;}function a244_0x1c15(){const _0x5e291a=['json','5310525CrtMto','121152auZQvk','2794AjlQFf','/config.json','/config/index.json','84ncnCVc','78RNvLyd','349895AZhOpv','stableVersion','2131443WcEeLm','79264KBIoWr','1353RItKrQ','677758AJiYsg','20KRipnk','node','application/json'];a244_0x1c15=function(){return _0x5e291a;};return a244_0x1c15();}function a244_0x3098(_0x2a9173,_0x2e43c3){_0x2a9173=_0x2a9173-0x178;const _0x1c157c=a244_0x1c15();let _0x3098a4=_0x1c157c[_0x2a9173];return _0x3098a4;}let cachedConfig=null,cacheTime=0x0;const CACHE_TTL=0x5*0x3c*0x3e8,FAILURE_CACHE_TTL=0x3c*0x3e8;let hasCachedConfig=![];export async function getCdnConfig(){const _0x46c0fa=Date['now']();if(hasCachedConfig){const _0x57d4c1=cachedConfig?CACHE_TTL:FAILURE_CACHE_TTL;if(_0x46c0fa-cacheTime<_0x57d4c1)return cachedConfig;}const _0xcb3bb7=await fetchCdnConfig();return cachedConfig=_0xcb3bb7,cacheTime=_0x46c0fa,hasCachedConfig=!![],_0xcb3bb7;}export function clearCdnConfigCache(){cachedConfig=null,cacheTime=0x0,hasCachedConfig=![];}