@lovrabet/rabetbase-cli 2.3.16-beta.3 → 2.3.16-beta.4

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 (280) hide show
  1. package/lib/api/api-doc.js +1 -1
  2. package/lib/api/fetch-model-list.js +1 -1
  3. package/lib/api/generate-api-file.js +1 -1
  4. package/lib/auth/auth-server-ui.js +1 -1
  5. package/lib/auth/auth-server.js +1 -1
  6. package/lib/auth/constant.js +1 -1
  7. package/lib/auth/get-cookie.js +1 -1
  8. package/lib/auth/get-session-user.js +1 -1
  9. package/lib/auth/is-session-valid.js +1 -1
  10. package/lib/auth/login-success-html.js +1 -1
  11. package/lib/auth/logout.js +1 -1
  12. package/lib/cli-flags.js +1 -1
  13. package/lib/cli.js +1 -1
  14. package/lib/commands/api/generate.js +1 -1
  15. package/lib/commands/api/index.js +1 -1
  16. package/lib/commands/api/list.js +1 -1
  17. package/lib/commands/api/pull.js +1 -1
  18. package/lib/commands/api/shared.js +1 -1
  19. package/lib/commands/app/index.js +1 -1
  20. package/lib/commands/app/list.js +1 -1
  21. package/lib/commands/app/members-list.js +1 -1
  22. package/lib/commands/app/remote-directory.js +1 -1
  23. package/lib/commands/app/shared.js +1 -1
  24. package/lib/commands/app-config/delete.js +1 -1
  25. package/lib/commands/app-config/get.js +1 -1
  26. package/lib/commands/app-config/index.js +1 -1
  27. package/lib/commands/app-config/list.js +1 -1
  28. package/lib/commands/app-config/set.js +1 -1
  29. package/lib/commands/app-config/shared.js +1 -1
  30. package/lib/commands/auth/index.js +1 -1
  31. package/lib/commands/bff/create.js +1 -1
  32. package/lib/commands/bff/delete.js +1 -1
  33. package/lib/commands/bff/detail.js +1 -1
  34. package/lib/commands/bff/index.js +1 -1
  35. package/lib/commands/bff/list.js +1 -1
  36. package/lib/commands/bff/pull.js +1 -1
  37. package/lib/commands/bff/push.js +1 -1
  38. package/lib/commands/bff/status.js +1 -1
  39. package/lib/commands/cli-skill/index.js +1 -1
  40. package/lib/commands/cli-update.js +1 -1
  41. package/lib/commands/codegen/index.js +1 -1
  42. package/lib/commands/codegen/sdk.js +1 -1
  43. package/lib/commands/codegen/sql.js +1 -1
  44. package/lib/commands/common/app-registry.js +1 -1
  45. package/lib/commands/common/app-selector.js +1 -1
  46. package/lib/commands/common/async-task.js +1 -1
  47. package/lib/commands/common/dry-run.js +1 -1
  48. package/lib/commands/common/flags.js +1 -1
  49. package/lib/commands/common/local-file.js +1 -1
  50. package/lib/commands/common/validate.js +1 -1
  51. package/lib/commands/config/get.js +1 -1
  52. package/lib/commands/config/index.js +1 -1
  53. package/lib/commands/config/list.js +1 -1
  54. package/lib/commands/config/set.js +1 -1
  55. package/lib/commands/config/shared.js +1 -1
  56. package/lib/commands/data/filter.js +1 -1
  57. package/lib/commands/data/getOne.js +1 -1
  58. package/lib/commands/data/index.js +1 -1
  59. package/lib/commands/data/shared.js +1 -1
  60. package/lib/commands/dataset/business-group-update.js +1 -1
  61. package/lib/commands/dataset/capability.js +1 -1
  62. package/lib/commands/dataset/delete.js +1 -1
  63. package/lib/commands/dataset/detail.js +1 -1
  64. package/lib/commands/dataset/extend-update.js +1 -1
  65. package/lib/commands/dataset/field-update.js +1 -1
  66. package/lib/commands/dataset/generate.js +1 -1
  67. package/lib/commands/dataset/index.js +1 -1
  68. package/lib/commands/dataset/list.js +1 -1
  69. package/lib/commands/dataset/operations.js +1 -1
  70. package/lib/commands/dataset/relation-audit.js +1 -1
  71. package/lib/commands/dataset/relation-create.js +1 -1
  72. package/lib/commands/dataset/relation-delete.js +1 -1
  73. package/lib/commands/dataset/relation-shared.js +1 -1
  74. package/lib/commands/dataset/relation-update.js +1 -1
  75. package/lib/commands/dataset/relations.js +1 -1
  76. package/lib/commands/dataset/rename.js +1 -1
  77. package/lib/commands/dataset/restore.js +1 -1
  78. package/lib/commands/db/analysis-batching.js +1 -1
  79. package/lib/commands/db/analyze-batch-plan.js +1 -1
  80. package/lib/commands/db/analyze-cancel.js +1 -1
  81. package/lib/commands/db/analyze-start.js +1 -1
  82. package/lib/commands/db/analyze-status.js +1 -1
  83. package/lib/commands/db/create.js +1 -1
  84. package/lib/commands/db/delete.js +1 -1
  85. package/lib/commands/db/detail.js +1 -1
  86. package/lib/commands/db/diff.js +1 -1
  87. package/lib/commands/db/index.js +1 -1
  88. package/lib/commands/db/list.js +1 -1
  89. package/lib/commands/db/shared.js +1 -1
  90. package/lib/commands/db/tables.js +1 -1
  91. package/lib/commands/db/test.js +1 -1
  92. package/lib/commands/db/update.js +1 -1
  93. package/lib/commands/doctor.js +1 -1
  94. package/lib/commands/file/index.js +1 -1
  95. package/lib/commands/init/index.js +1 -1
  96. package/lib/commands/issue/index.js +1 -1
  97. package/lib/commands/issue/nudge.js +1 -1
  98. package/lib/commands/issue/report.js +1 -1
  99. package/lib/commands/issue/shared.js +1 -1
  100. package/lib/commands/kb/create.js +1 -1
  101. package/lib/commands/kb/delete.js +1 -1
  102. package/lib/commands/kb/detail.js +1 -1
  103. package/lib/commands/kb/index.js +1 -1
  104. package/lib/commands/kb/list.js +1 -1
  105. package/lib/commands/kb/shared.js +1 -1
  106. package/lib/commands/kb/update.js +1 -1
  107. package/lib/commands/logs/index.js +1 -1
  108. package/lib/commands/menu/asset-update.js +1 -1
  109. package/lib/commands/menu/delete.js +1 -1
  110. package/lib/commands/menu/external-link-create.js +1 -1
  111. package/lib/commands/menu/external-link-update.js +1 -1
  112. package/lib/commands/menu/group-create.js +1 -1
  113. package/lib/commands/menu/group-update.js +1 -1
  114. package/lib/commands/menu/index.js +1 -1
  115. package/lib/commands/menu/list.js +1 -1
  116. package/lib/commands/menu/move.js +1 -1
  117. package/lib/commands/menu/regroup-start.js +1 -1
  118. package/lib/commands/menu/rename.js +1 -1
  119. package/lib/commands/menu/shared/compare-table.js +1 -1
  120. package/lib/commands/menu/shared/delete-plan.js +1 -1
  121. package/lib/commands/menu/shared/facts.js +1 -1
  122. package/lib/commands/menu/shared/index.js +1 -1
  123. package/lib/commands/menu/shared/inquirer.js +1 -1
  124. package/lib/commands/menu/shared/local-pages.js +1 -1
  125. package/lib/commands/menu/shared/logic.js +1 -1
  126. package/lib/commands/menu/shared/mutations.js +1 -1
  127. package/lib/commands/menu/shared/service.js +1 -1
  128. package/lib/commands/menu/shared/sync-core.js +1 -1
  129. package/lib/commands/menu/shared/update-core.js +1 -1
  130. package/lib/commands/menu/shared/valid-url.js +1 -1
  131. package/lib/commands/menu/sync.js +1 -1
  132. package/lib/commands/notification/config-list.js +1 -1
  133. package/lib/commands/notification/index.js +1 -1
  134. package/lib/commands/ocr/index.js +1 -1
  135. package/lib/commands/page/generate-start.js +1 -1
  136. package/lib/commands/page/generate-status.js +1 -1
  137. package/lib/commands/page/index.js +1 -1
  138. package/lib/commands/page/pull.js +1 -1
  139. package/lib/commands/page/push.js +1 -1
  140. package/lib/commands/page/relation-audit.js +1 -1
  141. package/lib/commands/page/restore.js +1 -1
  142. package/lib/commands/page/shared.js +1 -1
  143. package/lib/commands/page/standard-page-status.js +1 -1
  144. package/lib/commands/page/sync.js +1 -1
  145. package/lib/commands/permit/index.js +1 -1
  146. package/lib/commands/permit/page-get.js +1 -1
  147. package/lib/commands/permit/page-set.js +1 -1
  148. package/lib/commands/permit/role-apis-set.js +1 -1
  149. package/lib/commands/permit/role-menus-set.js +1 -1
  150. package/lib/commands/permit/role-menus.js +1 -1
  151. package/lib/commands/permit/shared.js +1 -1
  152. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  153. package/lib/commands/project/create/format-elapsed.js +1 -1
  154. package/lib/commands/project/create/main.js +1 -1
  155. package/lib/commands/project/create/non-interactive.js +1 -1
  156. package/lib/commands/project/create/project-template-path.js +1 -1
  157. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  158. package/lib/commands/project/create/use-format-code.js +1 -1
  159. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  160. package/lib/commands/project/index.js +1 -1
  161. package/lib/commands/project/upgrade.js +1 -1
  162. package/lib/commands/registry.js +1 -1
  163. package/lib/commands/role/create.js +1 -1
  164. package/lib/commands/role/delete.js +1 -1
  165. package/lib/commands/role/detail.js +1 -1
  166. package/lib/commands/role/index.js +1 -1
  167. package/lib/commands/role/list.js +1 -1
  168. package/lib/commands/role/shared.js +1 -1
  169. package/lib/commands/role/update.js +1 -1
  170. package/lib/commands/role/user-add.js +1 -1
  171. package/lib/commands/role/user-remove.js +1 -1
  172. package/lib/commands/role/user-resolve.js +1 -1
  173. package/lib/commands/run/index.js +1 -1
  174. package/lib/commands/schema.js +1 -1
  175. package/lib/commands/sql/create.js +1 -1
  176. package/lib/commands/sql/delete.js +1 -1
  177. package/lib/commands/sql/detail.js +1 -1
  178. package/lib/commands/sql/exec.js +1 -1
  179. package/lib/commands/sql/index.js +1 -1
  180. package/lib/commands/sql/list.js +1 -1
  181. package/lib/commands/sql/pull.js +1 -1
  182. package/lib/commands/sql/push.js +1 -1
  183. package/lib/commands/sql/shared.js +1 -1
  184. package/lib/commands/sql/status.js +1 -1
  185. package/lib/commands/sql/validate.js +1 -1
  186. package/lib/commands/task/index.js +1 -1
  187. package/lib/commands/task/status.js +1 -1
  188. package/lib/commands/tenant/index.js +1 -1
  189. package/lib/commands/tenant/members-list.js +1 -1
  190. package/lib/commands/tenant/shared.js +1 -1
  191. package/lib/commands/workspace/add.js +1 -1
  192. package/lib/commands/workspace/index.js +1 -1
  193. package/lib/commands/workspace/remove.js +1 -1
  194. package/lib/config/schema.js +1 -1
  195. package/lib/constant/cdn.js +1 -1
  196. package/lib/constant/cli.js +1 -1
  197. package/lib/constant/defaults.js +1 -1
  198. package/lib/constant/domain.js +1 -1
  199. package/lib/constant/env.js +1 -1
  200. package/lib/constant/output.js +1 -1
  201. package/lib/constant/paths.js +1 -1
  202. package/lib/constant/risk.js +1 -1
  203. package/lib/context/app-resolver.js +1 -1
  204. package/lib/context/auth-resolver.js +1 -1
  205. package/lib/context/config-loader.js +1 -1
  206. package/lib/context.js +1 -1
  207. package/lib/core/alias-resolver.js +1 -1
  208. package/lib/core/api-client.js +1 -1
  209. package/lib/core/bff/config.js +1 -1
  210. package/lib/core/bff/file-system.js +1 -1
  211. package/lib/core/bff/hash.js +1 -1
  212. package/lib/core/bff/lock.js +1 -1
  213. package/lib/core/bff/utils.js +1 -1
  214. package/lib/core/db-resolver.js +1 -1
  215. package/lib/core/page/file-system.js +1 -1
  216. package/lib/core/page/hash.js +1 -1
  217. package/lib/core/page/lock.js +1 -1
  218. package/lib/core/sql-index-auditor.js +1 -1
  219. package/lib/core/sql-sync/config.js +1 -1
  220. package/lib/core/sql-sync/file-system.js +1 -1
  221. package/lib/core/sql-sync/hash.js +1 -1
  222. package/lib/core/sql-sync/lock.js +1 -1
  223. package/lib/core/sql-sync/utils.js +1 -1
  224. package/lib/core/sql-validator.js +1 -1
  225. package/lib/errors.js +1 -1
  226. package/lib/framework/build-all-flags.js +1 -1
  227. package/lib/framework/error-output.js +1 -1
  228. package/lib/framework/explicit-yes.js +1 -1
  229. package/lib/framework/flags.js +1 -1
  230. package/lib/framework/help.js +1 -1
  231. package/lib/framework/index.js +1 -1
  232. package/lib/framework/output.js +1 -1
  233. package/lib/framework/response.js +1 -1
  234. package/lib/framework/runner-alias.js +1 -1
  235. package/lib/framework/runner.js +1 -1
  236. package/lib/framework/schema-export.js +1 -1
  237. package/lib/framework/types.js +1 -1
  238. package/lib/generated/build-info.js +1 -1
  239. package/lib/help.js +1 -1
  240. package/lib/skills/main.js +1 -1
  241. package/lib/skills/npx-skills-add.js +1 -1
  242. package/lib/skills/skill-presence.js +1 -1
  243. package/lib/telemetry/cli-command-trace.js +1 -1
  244. package/lib/telemetry/cli-help-trace.js +1 -1
  245. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  246. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  247. package/lib/telemetry/send-cli-trace-log.js +1 -1
  248. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  249. package/lib/utils/ai_config.js +1 -1
  250. package/lib/utils/apply-jq-filter.js +1 -1
  251. package/lib/utils/cdn-config.js +1 -1
  252. package/lib/utils/check-sdk-version.js +1 -1
  253. package/lib/utils/cli-version-check.js +1 -1
  254. package/lib/utils/cli-version-policy.js +1 -1
  255. package/lib/utils/config.js +1 -1
  256. package/lib/utils/copy-directory.js +1 -1
  257. package/lib/utils/entity-with-id.js +1 -1
  258. package/lib/utils/file-utils.js +1 -1
  259. package/lib/utils/guides-cdn.js +1 -1
  260. package/lib/utils/http-client.js +1 -1
  261. package/lib/utils/is-non-interactive.js +1 -1
  262. package/lib/utils/logger.js +1 -1
  263. package/lib/utils/params.js +1 -1
  264. package/lib/utils/platform.js +1 -1
  265. package/lib/utils/rules-cdn.js +1 -1
  266. package/lib/utils/sleep.js +1 -1
  267. package/lib/utils/template-replacer.js +1 -1
  268. package/lib/utils/update-notice.js +1 -1
  269. package/lib/utils/version.js +1 -1
  270. package/lib/utils/with-active-cookie.js +1 -1
  271. package/lib/utils/write-cli-side-channel.js +1 -1
  272. package/package.json +1 -1
  273. package/lib/commands/page/react/create.js +0 -1
  274. package/lib/commands/page/react/detail.js +0 -1
  275. package/lib/commands/page/react/list.js +0 -1
  276. package/lib/commands/page/react/publish.js +0 -1
  277. package/lib/commands/page/react/shared.js +0 -1
  278. package/lib/commands/page/react/syntax.js +0 -1
  279. package/lib/commands/page/react/template.js +0 -1
  280. package/lib/commands/page/react/update.js +0 -1
@@ -1 +1 @@
1
- (function(_0x37913b,_0x4a9e07){var _0xa44022=a238_0x221a,_0x38d760=_0x37913b();while(!![]){try{var _0x3ac197=parseInt(_0xa44022(0x1c8))/0x1*(-parseInt(_0xa44022(0x1ca))/0x2)+-parseInt(_0xa44022(0x1c6))/0x3*(parseInt(_0xa44022(0x1c5))/0x4)+parseInt(_0xa44022(0x1cb))/0x5+parseInt(_0xa44022(0x1be))/0x6+parseInt(_0xa44022(0x1cc))/0x7+parseInt(_0xa44022(0x1c1))/0x8*(-parseInt(_0xa44022(0x1c3))/0x9)+parseInt(_0xa44022(0x1c9))/0xa*(parseInt(_0xa44022(0x1c4))/0xb);if(_0x3ac197===_0x4a9e07)break;else _0x38d760['push'](_0x38d760['shift']());}catch(_0x45a352){_0x38d760['push'](_0x38d760['shift']());}}}(a238_0x5ac8,0x76286));function a238_0x221a(_0x1ed4d4,_0x3431cc){_0x1ed4d4=_0x1ed4d4-0x1be;var _0x5ac803=a238_0x5ac8();var _0x221a35=_0x5ac803[_0x1ed4d4];return _0x221a35;}function a238_0x5ac8(){var _0x378f61=['def','6204824hBoOYE','structuredErrors','9zqhGiL','11qulSnX','84yHbuEf','79503JxNQNk','compress','209wvfYOC','3176290yJwhjD','3014WmsQfc','3095745sruPZI','2685389nbDpAg','4863936HzFSUG','defaultFormat'];a238_0x5ac8=function(){return _0x378f61;};return a238_0x5ac8();}import{resolveOutputConfig}from'@lovrabet/cli-framework';export function usesStructuredErrorOutput(_0x4ee3b1){var _0x13feb=a238_0x221a;return _0x4ee3b1?.[_0x13feb(0x1c2)]===!![];}export function resolveErrorOutputFormat(_0x435172){var _0x2b1d33=a238_0x221a;if(!_0x435172[_0x2b1d33(0x1c0)])return _0x435172[_0x2b1d33(0x1bf)]??_0x2b1d33(0x1c7);return resolveOutputConfig({'flags':_0x435172['flags']??{},'def':_0x435172[_0x2b1d33(0x1c0)],'configDefault':_0x435172['defaultFormat']})['format'];}
1
+ (function(_0x320ac2,_0x372913){var _0x2c1930=a230_0x16c3,_0x33292a=_0x320ac2();while(!![]){try{var _0x4c9958=parseInt(_0x2c1930(0x193))/0x1*(parseInt(_0x2c1930(0x195))/0x2)+-parseInt(_0x2c1930(0x187))/0x3*(parseInt(_0x2c1930(0x188))/0x4)+parseInt(_0x2c1930(0x18c))/0x5+parseInt(_0x2c1930(0x18d))/0x6*(parseInt(_0x2c1930(0x191))/0x7)+-parseInt(_0x2c1930(0x198))/0x8*(parseInt(_0x2c1930(0x190))/0x9)+-parseInt(_0x2c1930(0x18a))/0xa*(-parseInt(_0x2c1930(0x18e))/0xb)+parseInt(_0x2c1930(0x197))/0xc*(-parseInt(_0x2c1930(0x199))/0xd);if(_0x4c9958===_0x372913)break;else _0x33292a['push'](_0x33292a['shift']());}catch(_0x579b01){_0x33292a['push'](_0x33292a['shift']());}}}(a230_0x49e2,0xd0a9a));import{resolveOutputConfig}from'@lovrabet/cli-framework';export function usesStructuredErrorOutput(_0x2c90f3){var _0x265d6e=a230_0x16c3;return _0x2c90f3?.[_0x265d6e(0x189)]===!![];}export function resolveErrorOutputFormat(_0x2ae66e){var _0x49c6cd=a230_0x16c3;if(!_0x2ae66e[_0x49c6cd(0x196)])return _0x2ae66e[_0x49c6cd(0x18f)]??_0x49c6cd(0x18b);return resolveOutputConfig({'flags':_0x2ae66e[_0x49c6cd(0x192)]??{},'def':_0x2ae66e['def'],'configDefault':_0x2ae66e[_0x49c6cd(0x18f)]})[_0x49c6cd(0x194)];}function a230_0x16c3(_0x329d37,_0x498366){_0x329d37=_0x329d37-0x187;var _0x49e261=a230_0x49e2();var _0x16c3cc=_0x49e261[_0x329d37];return _0x16c3cc;}function a230_0x49e2(){var _0x643866=['36888qnywny','33872FcSwbs','7865vJApRZ','24KuqfrZ','642556QBlRaF','structuredErrors','240jzrJAU','compress','8242355pumDuX','174enlVWV','21153WlvDnI','defaultFormat','207KcjJNw','302603sAYCcb','flags','382894jFvIZe','format','6zrkvMQ','def'];a230_0x49e2=function(){return _0x643866;};return a230_0x49e2();}
@@ -1 +1 @@
1
- const a239_0x11ba9f=a239_0x447f;(function(_0x2b0a14,_0x544989){const _0x2363e6=a239_0x447f,_0x5b6916=_0x2b0a14();while(!![]){try{const _0x4cf929=parseInt(_0x2363e6(0xc7))/0x1+-parseInt(_0x2363e6(0xbb))/0x2+parseInt(_0x2363e6(0xcb))/0x3+-parseInt(_0x2363e6(0xba))/0x4+-parseInt(_0x2363e6(0xc2))/0x5+-parseInt(_0x2363e6(0xc3))/0x6+parseInt(_0x2363e6(0xbc))/0x7*(parseInt(_0x2363e6(0xc5))/0x8);if(_0x4cf929===_0x544989)break;else _0x5b6916['push'](_0x5b6916['shift']());}catch(_0x17ba8b){_0x5b6916['push'](_0x5b6916['shift']());}}}(a239_0x3eca,0x6f61b));function a239_0x447f(_0x2b2a60,_0x3233bb){_0x2b2a60=_0x2b2a60-0xba;const _0x3ecad3=a239_0x3eca();let _0x447fe4=_0x3ecad3[_0x2b2a60];return _0x447fe4;}const EXPLICIT_YES_COMMANDS=new Set([a239_0x11ba9f(0xc4),a239_0x11ba9f(0xbf),a239_0x11ba9f(0xc6),'menu\x20group-create',a239_0x11ba9f(0xc8),'menu\x20move',a239_0x11ba9f(0xc0),a239_0x11ba9f(0xc9),a239_0x11ba9f(0xc1),a239_0x11ba9f(0xbe)]);function a239_0x3eca(){const _0x250d35=['689453gWmJcD','menu\x20group-update','kb\x20create','has','2016132fDtFro','command','3473028vCZBmA','1483574qONmQG','375893ODoFyk','Required\x20for\x20execution\x20after\x20reviewing\x20the\x20--dry-run\x20plan','kb\x20delete','menu\x20rename','menu\x20regroup-start','kb\x20update','3363840zrkOAe','3978168BYXjZZ','menu\x20external-link-update','304kfSoAY','menu\x20delete'];a239_0x3eca=function(){return _0x250d35;};return a239_0x3eca();}export const EXPLICIT_YES_FLAG_DESCRIPTION=a239_0x11ba9f(0xbd);export function requiresExplicitYes(_0xfa32fe){const _0x354575=a239_0x11ba9f;return EXPLICIT_YES_COMMANDS[_0x354575(0xca)](_0xfa32fe['service']+'\x20'+_0xfa32fe[_0x354575(0xcc)]);}
1
+ const a231_0x5b8e91=a231_0x5345;(function(_0x4e925b,_0xcd94de){const _0x4d76c8=a231_0x5345,_0x4c56fb=_0x4e925b();while(!![]){try{const _0x43a2cf=-parseInt(_0x4d76c8(0xfb))/0x1*(parseInt(_0x4d76c8(0xf5))/0x2)+parseInt(_0x4d76c8(0xf2))/0x3+parseInt(_0x4d76c8(0xf9))/0x4+parseInt(_0x4d76c8(0xee))/0x5+parseInt(_0x4d76c8(0xf6))/0x6+-parseInt(_0x4d76c8(0xf3))/0x7+-parseInt(_0x4d76c8(0xf4))/0x8*(parseInt(_0x4d76c8(0xf8))/0x9);if(_0x43a2cf===_0xcd94de)break;else _0x4c56fb['push'](_0x4c56fb['shift']());}catch(_0x3f38cb){_0x4c56fb['push'](_0x4c56fb['shift']());}}}(a231_0x5c0b,0x6888f));const EXPLICIT_YES_COMMANDS=new Set([a231_0x5b8e91(0xef),a231_0x5b8e91(0xfc),a231_0x5b8e91(0xf1),a231_0x5b8e91(0xed),a231_0x5b8e91(0xf0),'kb\x20delete']);export const EXPLICIT_YES_FLAG_DESCRIPTION=a231_0x5b8e91(0xf7);function a231_0x5345(_0x58a29e,_0x32d4f1){_0x58a29e=_0x58a29e-0xec;const _0x5c0b73=a231_0x5c0b();let _0x53456a=_0x5c0b73[_0x58a29e];return _0x53456a;}export function requiresExplicitYes(_0x2a36ec){const _0x4f1719=a231_0x5b8e91;return EXPLICIT_YES_COMMANDS[_0x4f1719(0xfa)](_0x2a36ec[_0x4f1719(0xec)]+'\x20'+_0x2a36ec['command']);}function a231_0x5c0b(){const _0x3e7237=['350hjdgGj','menu\x20delete','service','kb\x20create','1435645jOrvuo','menu\x20external-link-update','kb\x20update','menu\x20regroup-start','860112UrukGZ','4905215hQwpkh','8voueXa','262CmsFcn','4454706nVnZaC','Required\x20for\x20execution\x20after\x20reviewing\x20the\x20--dry-run\x20plan','5271813SFXhQz','1776972BPzAdm','has'];a231_0x5c0b=function(){return _0x3e7237;};return a231_0x5c0b();}
@@ -1 +1 @@
1
- (function(_0x18cbf4,_0x53948b){const _0x14c2d5=a240_0x4360,_0x1075b0=_0x18cbf4();while(!![]){try{const _0x4dd206=-parseInt(_0x14c2d5(0xfd))/0x1*(-parseInt(_0x14c2d5(0xff))/0x2)+-parseInt(_0x14c2d5(0x103))/0x3*(parseInt(_0x14c2d5(0xfe))/0x4)+-parseInt(_0x14c2d5(0xfc))/0x5+-parseInt(_0x14c2d5(0xfa))/0x6*(parseInt(_0x14c2d5(0xfb))/0x7)+parseInt(_0x14c2d5(0x100))/0x8+parseInt(_0x14c2d5(0x101))/0x9*(parseInt(_0x14c2d5(0x104))/0xa)+parseInt(_0x14c2d5(0x102))/0xb;if(_0x4dd206===_0x53948b)break;else _0x1075b0['push'](_0x1075b0['shift']());}catch(_0x5bcd75){_0x1075b0['push'](_0x1075b0['shift']());}}}(a240_0x3ab8,0xc35b8));function a240_0x3ab8(){const _0x533c1a=['1mpHnde','116LiiZuM','1670314SaKciR','5409608LcFAFX','1432746zdhkEE','12435126ZAPUPo','8796rYqgwW','20HdjhqI','235806mhDqNU','119yOhRPM','7034415wVrYVC'];a240_0x3ab8=function(){return _0x533c1a;};return a240_0x3ab8();}import{createFlagHelpers}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a240_0x4360(_0x3d4e5d,_0x384f2d){_0x3d4e5d=_0x3d4e5d-0xfa;const _0x3ab835=a240_0x3ab8();let _0x43601d=_0x3ab835[_0x3d4e5d];return _0x43601d;}const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers['parseFlags'];export const validateFlags=helpers['validateFlags'];
1
+ const a232_0x36267f=a232_0x3444;(function(_0xa1ed89,_0x37be4e){const _0x216181=a232_0x3444,_0x24bd7e=_0xa1ed89();while(!![]){try{const _0x47786d=-parseInt(_0x216181(0x1f5))/0x1*(parseInt(_0x216181(0x1fb))/0x2)+-parseInt(_0x216181(0x1fc))/0x3+-parseInt(_0x216181(0x1fe))/0x4*(-parseInt(_0x216181(0x1ff))/0x5)+parseInt(_0x216181(0x1f7))/0x6+parseInt(_0x216181(0x1f9))/0x7+-parseInt(_0x216181(0x1f4))/0x8+-parseInt(_0x216181(0x1f8))/0x9*(-parseInt(_0x216181(0x1fa))/0xa);if(_0x47786d===_0x37be4e)break;else _0x24bd7e['push'](_0x24bd7e['shift']());}catch(_0x37ad56){_0x24bd7e['push'](_0x24bd7e['shift']());}}}(a232_0x27e8,0xee457));import{createFlagHelpers}from'@lovrabet/cli-framework';function a232_0x3444(_0x4a56d5,_0xeaa853){_0x4a56d5=_0x4a56d5-0x1f4;const _0x27e81b=a232_0x27e8();let _0x3444e9=_0x27e81b[_0x4a56d5];return _0x3444e9;}import{CliErrors}from'../errors.js';function a232_0x27e8(){const _0x1995ee=['8021416kWUPHb','1hrXCIs','validateFlags','2217156jVfAyc','742635SIOmxU','10854914uajKnO','40yawprx','1240444ZKeEus','3846666uBPyFQ','parseFlags','815396deHrVY','40dKhAxD'];a232_0x27e8=function(){return _0x1995ee;};return a232_0x27e8();}const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers[a232_0x36267f(0x1fd)];export const validateFlags=helpers[a232_0x36267f(0x1f6)];
@@ -1 +1 @@
1
- const a241_0x196134=a241_0x5ef1;(function(_0x135dac,_0x1e5721){const _0x32bd88=a241_0x5ef1,_0x5f49d5=_0x135dac();while(!![]){try{const _0x2204ac=parseInt(_0x32bd88(0x7e))/0x1+parseInt(_0x32bd88(0x70))/0x2+parseInt(_0x32bd88(0x7a))/0x3*(-parseInt(_0x32bd88(0x78))/0x4)+-parseInt(_0x32bd88(0x71))/0x5+-parseInt(_0x32bd88(0x75))/0x6+-parseInt(_0x32bd88(0x7c))/0x7*(parseInt(_0x32bd88(0x7b))/0x8)+parseInt(_0x32bd88(0x7f))/0x9*(parseInt(_0x32bd88(0x72))/0xa);if(_0x2204ac===_0x1e5721)break;else _0x5f49d5['push'](_0x5f49d5['shift']());}catch(_0x1f5b98){_0x5f49d5['push'](_0x5f49d5['shift']());}}}(a241_0x5477,0x41f64));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':_0x28e761=>serviceGroups[a241_0x196134(0x77)](_0x28e761),'buildAllFlags':buildAllFlags,'appPrerequisiteText':'Requires\x20appcode\x20(set\x20via\x20`'+CLI_BIN_NAME+'\x20workspace\x20init`\x20or\x20--appcode).','serviceUsageSuffix':'\x20[args]\x20[flags]'});function a241_0x5477(){const _0x272cd3=['633605VydCRb','1670950RqtEVw','generateFullHelp','Requires\x20--yes\x20to\x20confirm,\x20or\x20interactive\x20prompt.','1407918LMkcWJ','Requires\x20explicit\x20--yes\x20for\x20execution;\x20use\x20--dry-run\x20to\x20preview.','get','30860jeFzcA','generateServiceHelp','123jCKLCg','1003048OXJYtu','21hRDicE','generateCommandHelp','202083dkJEZH','45IRBdTm','572908AfRTVW'];a241_0x5477=function(){return _0x272cd3;};return a241_0x5477();}function a241_0x5ef1(_0xb79a9f,_0x1b76cd){_0xb79a9f=_0xb79a9f-0x70;const _0x5477bf=a241_0x5477();let _0x5ef1de=_0x5477bf[_0xb79a9f];return _0x5ef1de;}export function generateCommandHelp(_0x4f2aae){const _0x12daa8=a241_0x196134,_0x455251=generators[_0x12daa8(0x7d)](_0x4f2aae);if(!requiresExplicitYes(_0x4f2aae))return _0x455251;return _0x455251['replace'](_0x12daa8(0x74),_0x12daa8(0x76));}export const generateServiceHelp=generators[a241_0x196134(0x79)];export const generateFullHelp=generators[a241_0x196134(0x73)];
1
+ const a233_0x1901cc=a233_0x7a64;(function(_0x1c7e98,_0x288ed7){const _0x17ef6d=a233_0x7a64,_0x6f7e2=_0x1c7e98();while(!![]){try{const _0x183bc6=parseInt(_0x17ef6d(0x14e))/0x1*(parseInt(_0x17ef6d(0x155))/0x2)+parseInt(_0x17ef6d(0x14c))/0x3+-parseInt(_0x17ef6d(0x14d))/0x4*(-parseInt(_0x17ef6d(0x153))/0x5)+-parseInt(_0x17ef6d(0x154))/0x6+parseInt(_0x17ef6d(0x146))/0x7+-parseInt(_0x17ef6d(0x152))/0x8*(-parseInt(_0x17ef6d(0x14f))/0x9)+-parseInt(_0x17ef6d(0x151))/0xa*(parseInt(_0x17ef6d(0x148))/0xb);if(_0x183bc6===_0x288ed7)break;else _0x6f7e2['push'](_0x6f7e2['shift']());}catch(_0x22cf10){_0x6f7e2['push'](_0x6f7e2['shift']());}}}(a233_0x4c4b,0xa938c));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';function a233_0x4c4b(){const _0x3d3b53=['32FfquoH','1887529urqGFV','replace','44moWAqS','Requires\x20explicit\x20--yes\x20for\x20execution;\x20use\x20--dry-run\x20to\x20preview.','Requires\x20appcode\x20(set\x20via\x20`','generateFullHelp','2922579freZlh','4PQbjaM','69463KUyrEq','34704TrYuHW','generateCommandHelp','7310190gnlxQc','1992iwJXRS','1982525qgJwFL','568134IYRmzv'];a233_0x4c4b=function(){return _0x3d3b53;};return a233_0x4c4b();}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':_0x413659=>serviceGroups['get'](_0x413659),'buildAllFlags':buildAllFlags,'appPrerequisiteText':a233_0x1901cc(0x14a)+CLI_BIN_NAME+'\x20workspace\x20init`\x20or\x20--appcode).','serviceUsageSuffix':'\x20[args]\x20[flags]'});export function generateCommandHelp(_0x400931){const _0x1c1159=a233_0x1901cc,_0x506e37=generators[_0x1c1159(0x150)](_0x400931);if(!requiresExplicitYes(_0x400931))return _0x506e37;return _0x506e37[_0x1c1159(0x147)]('Requires\x20--yes\x20to\x20confirm,\x20or\x20interactive\x20prompt.',_0x1c1159(0x149));}function a233_0x7a64(_0x3ddf20,_0x5e99f6){_0x3ddf20=_0x3ddf20-0x146;const _0x4c4b59=a233_0x4c4b();let _0x7a6466=_0x4c4b59[_0x3ddf20];return _0x7a6466;}export const generateServiceHelp=generators['generateServiceHelp'];export const generateFullHelp=generators[a233_0x1901cc(0x14b)];
@@ -1 +1 @@
1
- (function(_0x364fdf,_0x3d18df){var _0x431cb1=a242_0x1a87,_0x49d75c=_0x364fdf();while(!![]){try{var _0x315aad=parseInt(_0x431cb1(0x145))/0x1+parseInt(_0x431cb1(0x140))/0x2*(-parseInt(_0x431cb1(0x13e))/0x3)+parseInt(_0x431cb1(0x13d))/0x4*(parseInt(_0x431cb1(0x147))/0x5)+-parseInt(_0x431cb1(0x144))/0x6*(-parseInt(_0x431cb1(0x141))/0x7)+parseInt(_0x431cb1(0x142))/0x8*(parseInt(_0x431cb1(0x143))/0x9)+-parseInt(_0x431cb1(0x13f))/0xa+parseInt(_0x431cb1(0x146))/0xb;if(_0x315aad===_0x3d18df)break;else _0x49d75c['push'](_0x49d75c['shift']());}catch(_0x2bbb52){_0x49d75c['push'](_0x49d75c['shift']());}}}(a242_0x4d0b,0x8731e));export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';function a242_0x1a87(_0x5812e5,_0x3813e6){_0x5812e5=_0x5812e5-0x13d;var _0x4d0bd8=a242_0x4d0b();var _0x1a87d7=_0x4d0bd8[_0x5812e5];return _0x1a87d7;}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 a242_0x4d0b(){var _0x11ed3a=['5510428mPBWZt','2762195Zfcdua','4GQSdND','2870949KYPXWi','9263670TvPeWZ','2ZoDjkD','2373TvWpjD','74864nFKQjF','9wIoTaW','5106CiYHOK','1085874rYUtlw'];a242_0x4d0b=function(){return _0x11ed3a;};return a242_0x4d0b();}
1
+ (function(_0x574b5d,_0x1ee897){var _0x43bd47=a234_0x3e3b,_0x55ee78=_0x574b5d();while(!![]){try{var _0x2306a7=parseInt(_0x43bd47(0x184))/0x1*(parseInt(_0x43bd47(0x17f))/0x2)+parseInt(_0x43bd47(0x17e))/0x3*(-parseInt(_0x43bd47(0x181))/0x4)+-parseInt(_0x43bd47(0x17b))/0x5*(-parseInt(_0x43bd47(0x17a))/0x6)+-parseInt(_0x43bd47(0x17c))/0x7*(parseInt(_0x43bd47(0x182))/0x8)+-parseInt(_0x43bd47(0x179))/0x9*(-parseInt(_0x43bd47(0x180))/0xa)+-parseInt(_0x43bd47(0x177))/0xb*(parseInt(_0x43bd47(0x183))/0xc)+-parseInt(_0x43bd47(0x17d))/0xd*(-parseInt(_0x43bd47(0x178))/0xe);if(_0x2306a7===_0x1ee897)break;else _0x55ee78['push'](_0x55ee78['shift']());}catch(_0x1340df){_0x55ee78['push'](_0x55ee78['shift']());}}}(a234_0x1069,0x2fd5e));export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';export{riskLevelOrder}from'../framework/types.js';function a234_0x3e3b(_0x23949d,_0x422280){_0x23949d=_0x23949d-0x177;var _0x1069a0=a234_0x1069();var _0x3e3b25=_0x1069a0[_0x23949d];return _0x3e3b25;}function a234_0x1069(){var _0x276be6=['129290gSUEiL','8964xFKiGX','120xiWMYW','17945lLBMty','7CLvzxY','13RBOzJE','9564gLEIrL','5512YEXPcQ','3730orqaaa','248XoRQWQ','1257864zQqNCU','68592EWCXBA','73ONCuhZ','198bkCOVm'];a234_0x1069=function(){return _0x276be6;};return a234_0x1069();}
@@ -1 +1 @@
1
- (function(_0x270497,_0x1ef7d5){const _0x58abc3=a243_0x46ae,_0x5f274c=_0x270497();while(!![]){try{const _0x19306b=-parseInt(_0x58abc3(0x85))/0x1*(-parseInt(_0x58abc3(0x9b))/0x2)+parseInt(_0x58abc3(0x95))/0x3+-parseInt(_0x58abc3(0x94))/0x4*(-parseInt(_0x58abc3(0x92))/0x5)+parseInt(_0x58abc3(0x84))/0x6*(parseInt(_0x58abc3(0x8c))/0x7)+parseInt(_0x58abc3(0x83))/0x8+-parseInt(_0x58abc3(0x82))/0x9+-parseInt(_0x58abc3(0x81))/0xa*(parseInt(_0x58abc3(0x80))/0xb);if(_0x19306b===_0x1ef7d5)break;else _0x5f274c['push'](_0x5f274c['shift']());}catch(_0x83a0c){_0x5f274c['push'](_0x5f274c['shift']());}}}(a243_0x8254,0xedaf2));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(_0x59b2e4,_0x4c8b8d){const _0x1f3f56=a243_0x46ae,_0x34bcf7=_0x59b2e4['_notice'],{_notice:_0x1cbc40,..._0x9c9b08}=_0x59b2e4;void _0x1cbc40,baseFormatOutput(_0x9c9b08,_0x4c8b8d),_0x4c8b8d[_0x1f3f56(0x87)]===_0x1f3f56(0x8b)&&printPrettyNotice(_0x34bcf7);}function a243_0x46ae(_0x5d7493,_0x48d245){_0x5d7493=_0x5d7493-0x80;const _0x8254c2=a243_0x8254();let _0x46ae6b=_0x8254c2[_0x5d7493];return _0x46ae6b;}export function formatCliError(_0x9dba1d,_0x3eddde){const _0x10ae7c=a243_0x46ae;if(_0x3eddde['format']==='pretty')return![];const _0x12d514=_0x9dba1d[_0x10ae7c(0x99)],_0x582d6a={'ok':![],'command':_0x3eddde[_0x10ae7c(0x88)],'risk':_0x3eddde[_0x10ae7c(0x93)],'data':_0x12d514??null,'error':{'code':_0x9dba1d['code'],'message':_0x9dba1d[_0x10ae7c(0x98)],..._0x9dba1d[_0x10ae7c(0x8d)]?{'hint':_0x9dba1d['hint']}:{}}},_0x196c29=_0x3eddde['format']==='json'?JSON[_0x10ae7c(0x8f)](_0x582d6a,null,0x2):JSON[_0x10ae7c(0x8f)](_0x582d6a);let _0x3a6ca4=_0x196c29;if(_0x3eddde[_0x10ae7c(0x9a)]?.['trim']())try{_0x3a6ca4=applyJqFilter(_0x196c29,_0x3eddde['jqFilter']);}catch(_0x2e31f2){const _0x45a430=_0x2e31f2 instanceof CliError?_0x2e31f2:CliErrors[_0x10ae7c(0x9c)](_0x10ae7c(0x8a)+(_0x2e31f2 instanceof Error?_0x2e31f2[_0x10ae7c(0x98)]:String(_0x2e31f2))),_0x366453={..._0x582d6a,'error':{'code':_0x45a430[_0x10ae7c(0x90)],'message':_0x45a430['message'],..._0x45a430[_0x10ae7c(0x8d)]?{'hint':_0x45a430['hint']}:{},'cause':_0x582d6a[_0x10ae7c(0x89)]}};_0x3a6ca4=_0x3eddde[_0x10ae7c(0x87)]===_0x10ae7c(0x86)?JSON['stringify'](_0x366453,null,0x2):JSON[_0x10ae7c(0x8f)](_0x366453);}return process[_0x10ae7c(0x91)][_0x10ae7c(0x8e)](_0x3a6ca4['endsWith']('\x0a')?_0x3a6ca4:_0x3a6ca4+'\x0a'),!![];}function printPrettyNotice(_0xe048b7){const _0x3998c4=a243_0x46ae;if(!_0xe048b7?.[_0x3998c4(0x96)])return;console[_0x3998c4(0x89)](_0xe048b7[_0x3998c4(0x96)][_0x3998c4(0x98)]+'\x20('+_0xe048b7['update'][_0x3998c4(0x97)]+')');}function a243_0x8254(){const _0x260476=['pretty','1176ownwGO','hint','write','stringify','code','stdout','92215DsMCPN','risk','228QBGzeY','5420487woiQVT','update','url','message','data','jqFilter','20lilzAF','validation','2057fWLAKM','163160VZkxRe','12165750LlZprH','3063952vHLKMd','59754dMrxuF','46221cSUIIe','json','format','command','error','jq:\x20'];a243_0x8254=function(){return _0x260476;};return a243_0x8254();}
1
+ (function(_0x53a617,_0x471e00){const _0x4a12ce=a235_0x5ae4,_0x45cf92=_0x53a617();while(!![]){try{const _0x2e6d6e=-parseInt(_0x4a12ce(0xbd))/0x1*(parseInt(_0x4a12ce(0xaf))/0x2)+-parseInt(_0x4a12ce(0xb0))/0x3*(parseInt(_0x4a12ce(0xb1))/0x4)+-parseInt(_0x4a12ce(0xa9))/0x5*(-parseInt(_0x4a12ce(0xb7))/0x6)+-parseInt(_0x4a12ce(0xb6))/0x7*(-parseInt(_0x4a12ce(0xb3))/0x8)+-parseInt(_0x4a12ce(0xb2))/0x9+parseInt(_0x4a12ce(0xa5))/0xa*(parseInt(_0x4a12ce(0xb4))/0xb)+-parseInt(_0x4a12ce(0xb8))/0xc*(-parseInt(_0x4a12ce(0xad))/0xd);if(_0x2e6d6e===_0x471e00)break;else _0x45cf92['push'](_0x45cf92['shift']());}catch(_0x3c4761){_0x45cf92['push'](_0x45cf92['shift']());}}}(a235_0x1546,0xd4eed));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a235_0x5ae4(_0x38d58c,_0x15b660){_0x38d58c=_0x38d58c-0xa0;const _0x1546de=a235_0x1546();let _0x5ae4a0=_0x1546de[_0x38d58c];return _0x5ae4a0;}import{CliError,CliErrors}from'../errors.js';import{applyJqFilter}from'../utils/apply-jq-filter.js';const baseFormatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});function a235_0x1546(){const _0x51cae3=['stringify','_notice','1865NgbPcE','message','jqFilter','json','410098zPNDvj','pretty','56656JYdqcD','39SVRcqn','171364uSKrfy','1907091PgkrxC','817936UwPMko','22wPeiJq','update','7xwvugi','8778OcsvwH','396DMhGUC','error','write','risk','format','47CtQJsk','hint','jq:\x20','code','trim','stdout','endsWith','6417310iZrebv','validation'];a235_0x1546=function(){return _0x51cae3;};return a235_0x1546();}export function formatOutput(_0x2f8a28,_0x334b51){const _0x3e2544=a235_0x5ae4,_0x46fd7b=_0x2f8a28[_0x3e2544(0xa8)],{_notice:_0xe48eb5,..._0x3e76fa}=_0x2f8a28;void _0xe48eb5,baseFormatOutput(_0x3e76fa,_0x334b51),_0x334b51[_0x3e2544(0xbc)]===_0x3e2544(0xae)&&printPrettyNotice(_0x46fd7b);}export function formatCliError(_0x1bdf09,_0x4c5008){const _0x1ee325=a235_0x5ae4;if(_0x4c5008[_0x1ee325(0xbc)]===_0x1ee325(0xae))return![];const _0x541319=_0x1bdf09['data'],_0x55f283={'ok':![],'command':_0x4c5008['command'],'risk':_0x4c5008[_0x1ee325(0xbb)],'data':_0x541319??null,'error':{'code':_0x1bdf09[_0x1ee325(0xa1)],'message':_0x1bdf09[_0x1ee325(0xaa)],..._0x1bdf09[_0x1ee325(0xbe)]?{'hint':_0x1bdf09[_0x1ee325(0xbe)]}:{}}},_0x54bd58=_0x4c5008[_0x1ee325(0xbc)]==='json'?JSON['stringify'](_0x55f283,null,0x2):JSON[_0x1ee325(0xa7)](_0x55f283);let _0x4ebfa1=_0x54bd58;if(_0x4c5008[_0x1ee325(0xab)]?.[_0x1ee325(0xa2)]())try{_0x4ebfa1=applyJqFilter(_0x54bd58,_0x4c5008[_0x1ee325(0xab)]);}catch(_0x561ca3){const _0xa41d98=_0x561ca3 instanceof CliError?_0x561ca3:CliErrors[_0x1ee325(0xa6)](_0x1ee325(0xa0)+(_0x561ca3 instanceof Error?_0x561ca3[_0x1ee325(0xaa)]:String(_0x561ca3))),_0x20928d={..._0x55f283,'error':{'code':_0xa41d98[_0x1ee325(0xa1)],'message':_0xa41d98[_0x1ee325(0xaa)],..._0xa41d98['hint']?{'hint':_0xa41d98[_0x1ee325(0xbe)]}:{},'cause':_0x55f283['error']}};_0x4ebfa1=_0x4c5008[_0x1ee325(0xbc)]===_0x1ee325(0xac)?JSON[_0x1ee325(0xa7)](_0x20928d,null,0x2):JSON['stringify'](_0x20928d);}return process[_0x1ee325(0xa3)][_0x1ee325(0xba)](_0x4ebfa1[_0x1ee325(0xa4)]('\x0a')?_0x4ebfa1:_0x4ebfa1+'\x0a'),!![];}function printPrettyNotice(_0x27a14f){const _0x11acd2=a235_0x5ae4;if(!_0x27a14f?.[_0x11acd2(0xb5)])return;console[_0x11acd2(0xb9)](_0x27a14f['update'][_0x11acd2(0xaa)]+'\x20('+_0x27a14f['update']['url']+')');}
@@ -1 +1 @@
1
- function a244_0x3316(_0x50867d,_0x303b1b){_0x50867d=_0x50867d-0x182;var _0x408b33=a244_0x408b();var _0x331657=_0x408b33[_0x50867d];return _0x331657;}(function(_0x211459,_0x5160cc){var _0x1fb95e=a244_0x3316,_0xd0ecb7=_0x211459();while(!![]){try{var _0x135d09=parseInt(_0x1fb95e(0x185))/0x1*(-parseInt(_0x1fb95e(0x18b))/0x2)+parseInt(_0x1fb95e(0x183))/0x3+-parseInt(_0x1fb95e(0x18c))/0x4*(-parseInt(_0x1fb95e(0x184))/0x5)+-parseInt(_0x1fb95e(0x182))/0x6+-parseInt(_0x1fb95e(0x186))/0x7*(-parseInt(_0x1fb95e(0x18a))/0x8)+-parseInt(_0x1fb95e(0x189))/0x9*(parseInt(_0x1fb95e(0x18d))/0xa)+-parseInt(_0x1fb95e(0x188))/0xb*(-parseInt(_0x1fb95e(0x187))/0xc);if(_0x135d09===_0x5160cc)break;else _0xd0ecb7['push'](_0xd0ecb7['shift']());}catch(_0x2d9a1f){_0xd0ecb7['push'](_0xd0ecb7['shift']());}}}(a244_0x408b,0x98346));function a244_0x408b(){var _0x2d0aa2=['1130VQVaoK','3228054qrZcCS','2300835Fxssho','720GPyhbu','3heTNgA','421169KYusAX','14352708WCSuYn','11qrNtHj','5571MphYHG','16olDVUA','585824ZUkRIF','744NlXVRX'];a244_0x408b=function(){return _0x2d0aa2;};return a244_0x408b();}export{extractList,extractPaging}from'@lovrabet/cli-framework';
1
+ function a236_0x44e6(_0x37e4df,_0x63f8a9){_0x37e4df=_0x37e4df-0x197;var _0x110020=a236_0x1100();var _0x44e606=_0x110020[_0x37e4df];return _0x44e606;}(function(_0x4c6ea5,_0x26176d){var _0x1771c7=a236_0x44e6,_0x5b7f1c=_0x4c6ea5();while(!![]){try{var _0x3a1409=-parseInt(_0x1771c7(0x19f))/0x1+parseInt(_0x1771c7(0x19c))/0x2+-parseInt(_0x1771c7(0x19e))/0x3*(-parseInt(_0x1771c7(0x19b))/0x4)+-parseInt(_0x1771c7(0x19d))/0x5+parseInt(_0x1771c7(0x199))/0x6+parseInt(_0x1771c7(0x198))/0x7+parseInt(_0x1771c7(0x19a))/0x8*(-parseInt(_0x1771c7(0x197))/0x9);if(_0x3a1409===_0x26176d)break;else _0x5b7f1c['push'](_0x5b7f1c['shift']());}catch(_0x351724){_0x5b7f1c['push'](_0x5b7f1c['shift']());}}}(a236_0x1100,0xbc2e7));export{extractList,extractPaging}from'@lovrabet/cli-framework';function a236_0x1100(){var _0x2a23f9=['200028AnToqk','797891ZDHeFg','27rvVxeE','9654232newGtg','7278180fswjCv','5347688EvEFlW','8isFnxX','2123480XqYPTO','1066165HNHlkx'];a236_0x1100=function(){return _0x2a23f9;};return a236_0x1100();}
@@ -1 +1 @@
1
- function a245_0x1889(_0x4fa873,_0x583aaf){_0x4fa873=_0x4fa873-0xaf;const _0x9bae3e=a245_0x9bae();let _0x1889ae=_0x9bae3e[_0x4fa873];return _0x1889ae;}function a245_0x9bae(){const _0x391389=['alias','2139801mTKUSx','6019448GQHRal','join','4030970lIjmOx','some','6931897pESzkz','.\x20Run\x20`','Available\x20aliases:\x20','\x22.\x20','validation','20160PfSnrt','code','18iVRExG','name','\x20api\x20pull`\x20first.','6UGvtMi','flags','length','1351537vMpDFK','363335CsMiIc','string','2DnyHmb','type','96NGtKjL','270TzmQOF','Unknown\x20alias\x20\x22'];a245_0x9bae=function(){return _0x391389;};return a245_0x9bae();}(function(_0x5906cd,_0x225603){const _0x4043a9=a245_0x1889,_0x372e98=_0x5906cd();while(!![]){try{const _0x1cf5cd=-parseInt(_0x4043a9(0xbd))/0x1+parseInt(_0x4043a9(0xbf))/0x2*(-parseInt(_0x4043a9(0xc5))/0x3)+-parseInt(_0x4043a9(0xb4))/0x4*(parseInt(_0x4043a9(0xc2))/0x5)+-parseInt(_0x4043a9(0xb9))/0x6*(-parseInt(_0x4043a9(0xaf))/0x7)+parseInt(_0x4043a9(0xc6))/0x8+-parseInt(_0x4043a9(0xb6))/0x9*(parseInt(_0x4043a9(0xc8))/0xa)+parseInt(_0x4043a9(0xbc))/0xb*(parseInt(_0x4043a9(0xc1))/0xc);if(_0x1cf5cd===_0x225603)break;else _0x372e98['push'](_0x372e98['shift']());}catch(_0x1bf6c6){_0x372e98['push'](_0x372e98['shift']());}}}(a245_0x9bae,0x8b53a));import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';export function resolveAliasToCode(_0xec42d,_0x2eb157,_0xab791,_0x25f27b){const _0x5ef746=a245_0x1889,_0x3134a6=_0xec42d[_0x5ef746(0xba)][_0x5ef746(0xc9)](_0x2ab940=>_0x2ab940[_0x5ef746(0xb7)]===_0x5ef746(0xb5)&&_0x2ab940[_0x5ef746(0xc0)]===_0x5ef746(0xbe)),_0x6e46eb=_0xec42d[_0x5ef746(0xba)]['some'](_0x5bbbe2=>_0x5bbbe2[_0x5ef746(0xb7)]===_0x5ef746(0xc4)&&_0x5bbbe2[_0x5ef746(0xc0)]===_0x5ef746(0xbe));if(!_0x3134a6||!_0x6e46eb)return;const _0x4db063=_0x2eb157['code']?String(_0x2eb157['code']):'',_0x5448be=_0x2eb157['alias']?String(_0x2eb157[_0x5ef746(0xc4)]):'';if(!_0x4db063&&!_0x5448be)throw CliErrors[_0x5ef746(0xb3)]('`'+_0x25f27b+'`\x20requires\x20either\x20--code\x20or\x20--alias.');if(_0x5448be&&!_0x4db063){const _0x100fd9=resolveAlias(_0xab791,_0x5448be);if(!_0x100fd9){const _0x4aa3db=listAliases(_0xab791)['map'](_0x1fc886=>_0x1fc886['alias']),_0x2f9613=_0x4aa3db[_0x5ef746(0xbb)]?_0x5ef746(0xb1)+_0x4aa3db[_0x5ef746(0xc7)](',\x20'):'No\x20api.ts\x20found\x20in\x20'+_0xab791+_0x5ef746(0xb0)+CLI_BIN_NAME+_0x5ef746(0xb8);throw CliErrors[_0x5ef746(0xb3)](_0x5ef746(0xc3)+_0x5448be+_0x5ef746(0xb2)+_0x2f9613);}_0x2eb157[_0x5ef746(0xb5)]=_0x100fd9;}}
1
+ (function(_0x1c64fe,_0x1af973){const _0x6885c2=a237_0x34f0,_0x34c4fd=_0x1c64fe();while(!![]){try{const _0x10b7c5=parseInt(_0x6885c2(0x10d))/0x1*(parseInt(_0x6885c2(0x100))/0x2)+-parseInt(_0x6885c2(0x103))/0x3+-parseInt(_0x6885c2(0x10b))/0x4*(-parseInt(_0x6885c2(0xfe))/0x5)+parseInt(_0x6885c2(0xfb))/0x6+parseInt(_0x6885c2(0x108))/0x7+-parseInt(_0x6885c2(0x111))/0x8+parseInt(_0x6885c2(0x112))/0x9*(parseInt(_0x6885c2(0x113))/0xa);if(_0x10b7c5===_0x1af973)break;else _0x34c4fd['push'](_0x34c4fd['shift']());}catch(_0x13f616){_0x34c4fd['push'](_0x34c4fd['shift']());}}}(a237_0x2419,0x61cdd));import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';function a237_0x2419(){const _0x40d4d2=['string','some','1249620mEtFrc','length','2KjqhLD','join','Available\x20aliases:\x20','2302017NaSmZr','Unknown\x20alias\x20\x22','\x20api\x20pull`\x20first.','name','No\x20api.ts\x20found\x20in\x20','807569WwwxpU','validation','`\x20requires\x20either\x20--code\x20or\x20--alias.','4EIjAXh','alias','178117MjxtsX','.\x20Run\x20`','flags','\x22.\x20','1623224FJpMWs','105489juyzpo','150wKMHsJ','type','code','3909744igzMAs'];a237_0x2419=function(){return _0x40d4d2;};return a237_0x2419();}import{CLI_BIN_NAME}from'../constant/cli.js';function a237_0x34f0(_0xc42c6f,_0x49ca33){_0xc42c6f=_0xc42c6f-0xfb;const _0x241981=a237_0x2419();let _0x34f0c2=_0x241981[_0xc42c6f];return _0x34f0c2;}export function resolveAliasToCode(_0x30e744,_0x4ee453,_0x2ce889,_0x391499){const _0x4ac490=a237_0x34f0,_0x1a9bab=_0x30e744[_0x4ac490(0x10f)]['some'](_0x52b637=>_0x52b637[_0x4ac490(0x106)]==='code'&&_0x52b637[_0x4ac490(0x114)]===_0x4ac490(0xfc)),_0x38e8dc=_0x30e744['flags'][_0x4ac490(0xfd)](_0x3863f8=>_0x3863f8[_0x4ac490(0x106)]===_0x4ac490(0x10c)&&_0x3863f8[_0x4ac490(0x114)]==='string');if(!_0x1a9bab||!_0x38e8dc)return;const _0x1cec6b=_0x4ee453[_0x4ac490(0x115)]?String(_0x4ee453['code']):'',_0x474a91=_0x4ee453[_0x4ac490(0x10c)]?String(_0x4ee453[_0x4ac490(0x10c)]):'';if(!_0x1cec6b&&!_0x474a91)throw CliErrors[_0x4ac490(0x109)]('`'+_0x391499+_0x4ac490(0x10a));if(_0x474a91&&!_0x1cec6b){const _0x24cb75=resolveAlias(_0x2ce889,_0x474a91);if(!_0x24cb75){const _0x3cc39a=listAliases(_0x2ce889)['map'](_0x66ff3d=>_0x66ff3d[_0x4ac490(0x10c)]),_0x1942cf=_0x3cc39a[_0x4ac490(0xff)]?_0x4ac490(0x102)+_0x3cc39a[_0x4ac490(0x101)](',\x20'):_0x4ac490(0x107)+_0x2ce889+_0x4ac490(0x10e)+CLI_BIN_NAME+_0x4ac490(0x105);throw CliErrors['validation'](_0x4ac490(0x104)+_0x474a91+_0x4ac490(0x110)+_0x1942cf);}_0x4ee453['code']=_0x24cb75;}}
@@ -1 +1 @@
1
- const a246_0x172a38=a246_0x4c72;(function(_0xc3e0bc,_0x31f97a){const _0x3eabd1=a246_0x4c72,_0x21cb70=_0xc3e0bc();while(!![]){try{const _0x86c0d0=parseInt(_0x3eabd1(0xff))/0x1+-parseInt(_0x3eabd1(0x104))/0x2+parseInt(_0x3eabd1(0xfb))/0x3+-parseInt(_0x3eabd1(0x105))/0x4*(-parseInt(_0x3eabd1(0x11a))/0x5)+-parseInt(_0x3eabd1(0xf6))/0x6*(-parseInt(_0x3eabd1(0xe6))/0x7)+parseInt(_0x3eabd1(0x119))/0x8*(-parseInt(_0x3eabd1(0xf9))/0x9)+-parseInt(_0x3eabd1(0xf8))/0xa;if(_0x86c0d0===_0x31f97a)break;else _0x21cb70['push'](_0x21cb70['shift']());}catch(_0x1db43a){_0x21cb70['push'](_0x21cb70['shift']());}}}(a246_0xc297,0xeff3c));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 a246_0x202104}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x2fc07d){const _0x40bf3f=a246_0x4c72;return typeof _0x2fc07d===_0x40bf3f(0x100)&&_0x2fc07d[_0x40bf3f(0x114)]()?_0x2fc07d[_0x40bf3f(0x114)]():undefined;}function resolveEnvAppCode(){const _0xbe8529=a246_0x4c72,_0x269312=stringFlag(process.env.RABETBASE_APPCODE);if(_0x269312)return{'name':_0xbe8529(0xe8),'value':_0x269312};const _0x19a1c3=stringFlag(process.env.LOVRABET_APPCODE);if(_0x19a1c3)return{'name':'LOVRABET_APPCODE','value':_0x19a1c3};return undefined;}function hasExplicitAppCode(_0x35f172,_0xe7e1e7){const _0x5723e1=a246_0x4c72;return!!(stringFlag(_0x35f172['appcode'])||stringFlag(_0xe7e1e7[_0x5723e1(0x11d)]));}function assertEnvAppCodeNotIgnored(_0x114dbe,_0x19323a,_0x2c5152){const _0x27a686=a246_0x4c72;if(!_0x19323a||_0x2c5152||_0x114dbe===_0x19323a[_0x27a686(0xeb)])return;const _0x5c39a5=_0x114dbe?_0x27a686(0xea)+_0x114dbe+'\x22.':_0x27a686(0xef);throw CliErrors[_0x27a686(0xf1)](_0x19323a[_0x27a686(0x108)]+'='+_0x19323a[_0x27a686(0xeb)]+'\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20'+_0x5c39a5+'\x20'+(_0x27a686(0x118)+_0x19323a['name']+'\x22.'));}export function createPipelineEnv(_0x3d361c,_0x3b48ac,_0x168e8a=[]){const _0x586329=a246_0x4c72;return{'rawFlags':_0x3b48ac,'args':_0x168e8a,'resolveAppCode':()=>_0x3d361c[_0x586329(0x115)],'resolveCookie':()=>_0x3d361c[_0x586329(0xf4)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a246_0x202104(_0x3b48ac),'defaultFormat':_0x3d361c[_0x586329(0x10e)],'defaultPageSize':_0x3d361c[_0x586329(0xf2)],'defaultVerbose':_0x3d361c[_0x586329(0xee)],'apiDir':_0x3d361c[_0x586329(0xe5)],'riskLevel':_0x3d361c[_0x586329(0xfc)],'selectedAppName':_0x3d361c['explicitAppName'],'mergedCli':{'defaultApp':_0x3d361c[_0x586329(0x110)],'currentApp':_0x3d361c[_0x586329(0xf5)],'appCode':_0x3d361c['appCode'],'apps':_0x3d361c['apps']}};}function a246_0xc297(){const _0x95618b=['3105654ZOuppf','1672ejaYHv','map','find','name','defaultVerbose','cancelled','doctor','message','replace','format','includes','defaultApp','none','command','nonInteractive','trim','appCode','hint','\x20\x20\x20Continue?\x20[y/N]\x20','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','48fzJckL','11140eRchUN','resolve','⚠\x20\x20High-risk\x20operation:\x20','appcode','schema','service','apiDir','58513mjzqfP','resolveApiDomain','RABETBASE_APPCODE','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','Current\x20resolved\x20appcode\x20is\x20\x22','value','update','configMissing','verbose','No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.','resolveAppCode','validation','pageSize','rejectedFlags','cookie','currentApp','1188QVPheq','rawFlags','8888050MPPYKz','2890692fQTNKX','_notice','3319539QKXCEd','riskLevel','catch','meowKey','1658705nGakTY','string','isNonInteractive','required','../core/api-client.js'];a246_0xc297=function(){return _0x95618b;};return a246_0xc297();}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS['filter'](_0x3a5ed8=>PIPELINE_FLAG_NAMES['has'](_0x3a5ed8[a246_0x172a38(0x108)]))[a246_0x172a38(0x106)](({name:_0x4a5717,type:_0x26436b,description:_0x491118})=>({'name':_0x4a5717,'type':_0x26436b,'description':_0x491118})),'formatOutput':formatOutput,'getCommandLabel'(_0x149ab6){const _0x37f340=a246_0x172a38;return CLI_BIN_NAME+'\x20'+_0x149ab6[_0x37f340(0xe4)]+'\x20'+_0x149ab6[_0x37f340(0x112)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x3d1134){const _0x52832c=a246_0x172a38;return CliErrors[_0x52832c(0xf1)](_0x3d1134);}},async 'prepare'(_0x107252,_0x5d9070,_0x71aed,_0x24161d){const _0x452d01=a246_0x172a38,_0x5264e5=_0x5d9070['apiDir']||DEFAULT_API_DIR;resolveAliasToCode(_0x107252,_0x71aed,_0x5264e5,_0x24161d);const _0x30f3ae=resolveCommandAuthMode(_0x107252);let _0x2c2eab='';if(_0x30f3ae!==_0x452d01(0x111)){_0x2c2eab=_0x5d9070['resolveCookie']()||'';if(!_0x2c2eab){if(_0x30f3ae===_0x452d01(0x102))throw CliErrors['authRequired']();}else{const {setActiveCookie:_0x54b264}=await import('../core/api-client.js');_0x54b264(_0x2c2eab);}}const _0x456c9b=_0x5d9070[_0x452d01(0xf0)]()??'';if(_0x107252['requiresAppCode']!==![]){assertEnvAppCodeNotIgnored(_0x456c9b,resolveEnvAppCode(),hasExplicitAppCode(_0x71aed,_0x5d9070[_0x452d01(0xf7)]));if(!_0x456c9b)throw CliErrors[_0x452d01(0xed)]('Set\x20appcode\x20via\x20`'+CLI_BIN_NAME+'\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.');}return{'defaults':{'booleans':{'verbose':_0x5d9070[_0x452d01(0x109)]},'numbers':{'pagesize':_0x5d9070['defaultPageSize']}},'extras':{'appCode':_0x456c9b,'cookie':_0x2c2eab,'apiDomain':_0x5d9070[_0x452d01(0xe7)](),'apiDir':_0x5264e5,'selectedAppName':_0x5d9070['selectedAppName'],'mergedCli':_0x5d9070['mergedCli']}};},async 'confirmHighRisk'({env:_0x259ae1,commandLabel:_0x6fe48}){const _0x27a60c=a246_0x172a38;if(_0x259ae1[_0x27a60c(0x101)])throw CliErrors[_0x27a60c(0xf1)]('High-risk\x20operation\x20`'+_0x6fe48+_0x27a60c(0xe9));await requireConfirmationPrompt({'lines':[_0x27a60c(0x11c)+_0x6fe48,_0x27a60c(0x117)],'createCancelledError':_0x24b89b=>CliErrors[_0x27a60c(0x10a)](_0x24b89b)});},async 'finalize'(){const _0x422b80=a246_0x172a38,{clearActiveCookie:_0x49b124}=await import(_0x422b80(0x103));_0x49b124();}};export async function runCommand(_0x8e32f6,_0x5c973e){assertRejectedFlags(_0x8e32f6,_0x5c973e['rawFlags']),await runCommandWithAdapter(shouldAttachUpdateNotice(_0x8e32f6)?withUpdateNotice(_0x8e32f6):_0x8e32f6,_0x5c973e,runnerAdapter);}function assertRejectedFlags(_0x4ccbf8,_0x2c49a6){const _0x59620b=a246_0x172a38;for(const _0x32a59e of _0x4ccbf8[_0x59620b(0xf3)]??[]){const _0x3b0b7a=GLOBAL_FLAGS[_0x59620b(0x107)](_0x2f3da2=>_0x2f3da2[_0x59620b(0x108)]===_0x32a59e['name']),_0x56d79c=new Set([_0x32a59e[_0x59620b(0x108)],toCamelCase(_0x32a59e[_0x59620b(0x108)]),_0x3b0b7a?.[_0x59620b(0xfe)]]),_0x4d5125=[..._0x56d79c]['some'](_0x2349bb=>{if(!_0x2349bb)return![];const _0x180f57=_0x2c49a6[_0x2349bb];return _0x180f57!==undefined&&_0x180f57!==null&&_0x180f57!==![];});if(_0x4d5125)throw CliErrors['validation'](_0x32a59e[_0x59620b(0x10c)],_0x32a59e[_0x59620b(0x116)]);}}function toCamelCase(_0x592073){const _0x44796d=a246_0x172a38;return _0x592073[_0x44796d(0x10d)](/-([a-z])/g,(_0x5aa5d5,_0x28ad97)=>_0x28ad97['toUpperCase']());}function shouldAttachUpdateNotice(_0xe98f2c){const _0x3765f3=a246_0x172a38;if(_0xe98f2c['hasFormat']===![])return![];return![_0x3765f3(0xec),_0x3765f3(0xe3),_0x3765f3(0x10b)][_0x3765f3(0x10f)](_0xe98f2c[_0x3765f3(0xe4)]);}function a246_0x4c72(_0x1bc9bd,_0x5d7ee6){_0x1bc9bd=_0x1bc9bd-0xe3;const _0xc297b8=a246_0xc297();let _0x4c7210=_0xc297b8[_0x1bc9bd];return _0x4c7210;}function withUpdateNotice(_0x58f04c){return{..._0x58f04c,async 'execute'(_0x30a14f){const _0x4f6c2d=a246_0x4c72,_0x21f132=shouldResolveUpdateNotice(_0x30a14f)?resolveLatestUpdateNotice()[_0x4f6c2d(0xfd)](()=>null):Promise[_0x4f6c2d(0x11b)](null),_0x145b55=await _0x58f04c['execute'](_0x30a14f);return attachUpdateNotice(_0x145b55,await _0x21f132);}};}function shouldResolveUpdateNotice(_0x375260){const _0x2ef5c1=a246_0x172a38;return _0x375260[_0x2ef5c1(0x10e)]==='pretty'&&!_0x375260[_0x2ef5c1(0x113)];}function attachUpdateNotice(_0x24fa1b,_0x58eef5){const _0x2110af=a246_0x172a38;if(!_0x58eef5||!_0x24fa1b||typeof _0x24fa1b!=='object')return _0x24fa1b;const _0x201edf=_0x24fa1b,_0x5b8877=typeof _0x201edf[_0x2110af(0xfa)]==='object'&&_0x201edf['_notice']!==null?_0x201edf[_0x2110af(0xfa)]:{};return{..._0x201edf,'_notice':{..._0x5b8877,'update':_0x58eef5}};}
1
+ const a238_0x3adb98=a238_0x3b5c;(function(_0x1cd739,_0x467347){const _0x17716e=a238_0x3b5c,_0x36875c=_0x1cd739();while(!![]){try{const _0x14f4f6=-parseInt(_0x17716e(0xb0))/0x1*(parseInt(_0x17716e(0xc4))/0x2)+-parseInt(_0x17716e(0xd3))/0x3*(parseInt(_0x17716e(0xd1))/0x4)+parseInt(_0x17716e(0xc7))/0x5*(-parseInt(_0x17716e(0xad))/0x6)+parseInt(_0x17716e(0xcb))/0x7*(parseInt(_0x17716e(0xdc))/0x8)+parseInt(_0x17716e(0xa6))/0x9*(parseInt(_0x17716e(0xa3))/0xa)+parseInt(_0x17716e(0xb5))/0xb*(-parseInt(_0x17716e(0xb6))/0xc)+parseInt(_0x17716e(0xd7))/0xd;if(_0x14f4f6===_0x467347)break;else _0x36875c['push'](_0x36875c['shift']());}catch(_0x58419d){_0x36875c['push'](_0x36875c['shift']());}}}(a238_0x5975,0xa1638));import{resolveCommandAuthMode,runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';function a238_0x3b5c(_0x9933d,_0x5667b2){_0x9933d=_0x9933d-0x9b;const _0x59754c=a238_0x5975();let _0x3b5c7b=_0x59754c[_0x9933d];return _0x3b5c7b;}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';function a238_0x5975(){const _0x508691=['1335jmlIkO','some','appCode','riskLevel','28166619kaougS','format','service','defaultPageSize','pageSize','48wjYKgT','apiDir','selectedAppName','rejectedFlags','verbose','value','\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20','requiresAppCode','RABETBASE_APPCODE','configMissing','71710psUtDK','doctor','authRequired','603GTgegi','name','hasFormat','command','defaultApp','filter','meowKey','6825918gFaMuw','_notice','⚠\x20\x20High-risk\x20operation:\x20','18329jNJZmb','trim','execute','resolveAppCode','catch','11LsYlfN','2940012POicOO','rawFlags','apps','object','\x20\x20\x20Continue?\x20[y/N]\x20','../core/api-client.js','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','Current\x20resolved\x20appcode\x20is\x20\x22','includes','isNonInteractive','cancelled','pretty','hint','find','2dCQDMO','message','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','5HilWVf','toUpperCase','explicitAppName','validation','681247bCnrBx','Set\x20appcode\x20via\x20`','map','schema','appcode','cookie','10508jnGyFH','string'];a238_0x5975=function(){return _0x508691;};return a238_0x5975();}import{isNonInteractive as a238_0x2f6231}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x27923b){const _0x474621=a238_0x3b5c;return typeof _0x27923b===_0x474621(0xd2)&&_0x27923b['trim']()?_0x27923b[_0x474621(0xb1)]():undefined;}function resolveEnvAppCode(){const _0x2094bf=a238_0x3b5c,_0x1b279a=stringFlag(process.env.RABETBASE_APPCODE);if(_0x1b279a)return{'name':_0x2094bf(0xa1),'value':_0x1b279a};const _0x5c5952=stringFlag(process.env.LOVRABET_APPCODE);if(_0x5c5952)return{'name':'LOVRABET_APPCODE','value':_0x5c5952};return undefined;}function hasExplicitAppCode(_0x4065b9,_0x3e5372){const _0x240fc2=a238_0x3b5c;return!!(stringFlag(_0x4065b9[_0x240fc2(0xcf)])||stringFlag(_0x3e5372['appcode']));}function assertEnvAppCodeNotIgnored(_0x19eee5,_0x2963d8,_0x4927f3){const _0x1474d2=a238_0x3b5c;if(!_0x2963d8||_0x4927f3||_0x19eee5===_0x2963d8[_0x1474d2(0x9e)])return;const _0x579eaf=_0x19eee5?_0x1474d2(0xbd)+_0x19eee5+'\x22.':'No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.';throw CliErrors['validation'](_0x2963d8[_0x1474d2(0xa7)]+'='+_0x2963d8[_0x1474d2(0x9e)]+_0x1474d2(0x9f)+_0x579eaf+'\x20'+('To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$'+_0x2963d8[_0x1474d2(0xa7)]+'\x22.'));}export function createPipelineEnv(_0x122bb2,_0x2daa80,_0x13faaf=[]){const _0x370f62=a238_0x3b5c;return{'rawFlags':_0x2daa80,'args':_0x13faaf,'resolveAppCode':()=>_0x122bb2[_0x370f62(0xd5)],'resolveCookie':()=>_0x122bb2[_0x370f62(0xd0)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a238_0x2f6231(_0x2daa80),'defaultFormat':_0x122bb2['format'],'defaultPageSize':_0x122bb2[_0x370f62(0xdb)],'defaultVerbose':_0x122bb2[_0x370f62(0x9d)],'apiDir':_0x122bb2[_0x370f62(0xdd)],'riskLevel':_0x122bb2[_0x370f62(0xd6)],'selectedAppName':_0x122bb2[_0x370f62(0xc9)],'mergedCli':{'defaultApp':_0x122bb2[_0x370f62(0xaa)],'currentApp':_0x122bb2['currentApp'],'appCode':_0x122bb2['appCode'],'apps':_0x122bb2[_0x370f62(0xb8)]}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[a238_0x3adb98(0xab)](_0x49e703=>PIPELINE_FLAG_NAMES['has'](_0x49e703[a238_0x3adb98(0xa7)]))[a238_0x3adb98(0xcd)](({name:_0x1bd5de,type:_0x18625a,description:_0x2332a1})=>({'name':_0x1bd5de,'type':_0x18625a,'description':_0x2332a1})),'formatOutput':formatOutput,'getCommandLabel'(_0x3e0f0c){const _0x2e2edb=a238_0x3adb98;return CLI_BIN_NAME+'\x20'+_0x3e0f0c[_0x2e2edb(0xd9)]+'\x20'+_0x3e0f0c[_0x2e2edb(0xa9)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x3c6a0c){return CliErrors['validation'](_0x3c6a0c);}},async 'prepare'(_0x57b1cc,_0x232a09,_0x180a07,_0x4e8795){const _0x2603fb=a238_0x3adb98,_0xac861c=_0x232a09[_0x2603fb(0xdd)]||DEFAULT_API_DIR;resolveAliasToCode(_0x57b1cc,_0x180a07,_0xac861c,_0x4e8795);const _0x10ff3a=resolveCommandAuthMode(_0x57b1cc);let _0x312e35='';if(_0x10ff3a!=='none'){_0x312e35=_0x232a09['resolveCookie']()||'';if(!_0x312e35){if(_0x10ff3a==='required')throw CliErrors[_0x2603fb(0xa5)]();}else{const {setActiveCookie:_0x494e74}=await import(_0x2603fb(0xbb));_0x494e74(_0x312e35);}}const _0x5be8db=_0x232a09[_0x2603fb(0xb3)]()??'';if(_0x57b1cc[_0x2603fb(0xa0)]!==![]){assertEnvAppCodeNotIgnored(_0x5be8db,resolveEnvAppCode(),hasExplicitAppCode(_0x180a07,_0x232a09[_0x2603fb(0xb7)]));if(!_0x5be8db)throw CliErrors[_0x2603fb(0xa2)](_0x2603fb(0xcc)+CLI_BIN_NAME+_0x2603fb(0xc6));}return{'defaults':{'booleans':{'verbose':_0x232a09['defaultVerbose']},'numbers':{'pagesize':_0x232a09[_0x2603fb(0xda)]}},'extras':{'appCode':_0x5be8db,'cookie':_0x312e35,'apiDomain':_0x232a09['resolveApiDomain'](),'apiDir':_0xac861c,'selectedAppName':_0x232a09[_0x2603fb(0x9b)],'mergedCli':_0x232a09['mergedCli']}};},async 'confirmHighRisk'({env:_0x1b3c04,commandLabel:_0x15fdaf}){const _0x200758=a238_0x3adb98;if(_0x1b3c04[_0x200758(0xbf)])throw CliErrors[_0x200758(0xca)]('High-risk\x20operation\x20`'+_0x15fdaf+_0x200758(0xbc));await requireConfirmationPrompt({'lines':[_0x200758(0xaf)+_0x15fdaf,_0x200758(0xba)],'createCancelledError':_0x47f4e4=>CliErrors[_0x200758(0xc0)](_0x47f4e4)});},async 'finalize'(){const _0x5ad3e3=a238_0x3adb98,{clearActiveCookie:_0x411eff}=await import(_0x5ad3e3(0xbb));_0x411eff();}};export async function runCommand(_0x54b70d,_0x37355d){const _0x4714ef=a238_0x3adb98;assertRejectedFlags(_0x54b70d,_0x37355d[_0x4714ef(0xb7)]),await runCommandWithAdapter(shouldAttachUpdateNotice(_0x54b70d)?withUpdateNotice(_0x54b70d):_0x54b70d,_0x37355d,runnerAdapter);}function assertRejectedFlags(_0x13d971,_0x126376){const _0x4237a8=a238_0x3adb98;for(const _0x11daf3 of _0x13d971[_0x4237a8(0x9c)]??[]){const _0x3b5305=GLOBAL_FLAGS[_0x4237a8(0xc3)](_0x1fbb93=>_0x1fbb93['name']===_0x11daf3[_0x4237a8(0xa7)]),_0x264471=new Set([_0x11daf3['name'],toCamelCase(_0x11daf3[_0x4237a8(0xa7)]),_0x3b5305?.[_0x4237a8(0xac)]]),_0x5ad88b=[..._0x264471][_0x4237a8(0xd4)](_0x1f9a69=>{if(!_0x1f9a69)return![];const _0x10302c=_0x126376[_0x1f9a69];return _0x10302c!==undefined&&_0x10302c!==null&&_0x10302c!==![];});if(_0x5ad88b)throw CliErrors[_0x4237a8(0xca)](_0x11daf3[_0x4237a8(0xc5)],_0x11daf3[_0x4237a8(0xc2)]);}}function toCamelCase(_0x3b590d){const _0x4001fe=a238_0x3adb98;return _0x3b590d['replace'](/-([a-z])/g,(_0x2f9d4b,_0x153fcc)=>_0x153fcc[_0x4001fe(0xc8)]());}function shouldAttachUpdateNotice(_0x19e6cf){const _0x2e560a=a238_0x3adb98;if(_0x19e6cf[_0x2e560a(0xa8)]===![])return![];return!['update',_0x2e560a(0xce),_0x2e560a(0xa4)][_0x2e560a(0xbe)](_0x19e6cf[_0x2e560a(0xd9)]);}function withUpdateNotice(_0x1d495f){return{..._0x1d495f,async 'execute'(_0x323f02){const _0x1072ce=a238_0x3b5c,_0x4c87a6=shouldResolveUpdateNotice(_0x323f02)?resolveLatestUpdateNotice()[_0x1072ce(0xb4)](()=>null):Promise['resolve'](null),_0x4e06b6=await _0x1d495f[_0x1072ce(0xb2)](_0x323f02);return attachUpdateNotice(_0x4e06b6,await _0x4c87a6);}};}function shouldResolveUpdateNotice(_0x5b2b69){const _0x478e41=a238_0x3adb98;return _0x5b2b69[_0x478e41(0xd8)]===_0x478e41(0xc1)&&!_0x5b2b69['nonInteractive'];}function attachUpdateNotice(_0x27392a,_0x2a05d5){const _0x227170=a238_0x3adb98;if(!_0x2a05d5||!_0x27392a||typeof _0x27392a!=='object')return _0x27392a;const _0x55cdb0=_0x27392a,_0x246dad=typeof _0x55cdb0[_0x227170(0xae)]===_0x227170(0xb9)&&_0x55cdb0[_0x227170(0xae)]!==null?_0x55cdb0[_0x227170(0xae)]:{};return{..._0x55cdb0,'_notice':{..._0x246dad,'update':_0x2a05d5}};}
@@ -1 +1 @@
1
- (function(_0xb15287,_0x2a3042){const _0x57fefe=a247_0x21d9,_0xee65cf=_0xb15287();while(!![]){try{const _0x45241a=-parseInt(_0x57fefe(0x7d))/0x1*(parseInt(_0x57fefe(0x86))/0x2)+parseInt(_0x57fefe(0x80))/0x3*(parseInt(_0x57fefe(0x7a))/0x4)+-parseInt(_0x57fefe(0x84))/0x5*(parseInt(_0x57fefe(0x83))/0x6)+parseInt(_0x57fefe(0x7e))/0x7*(parseInt(_0x57fefe(0x85))/0x8)+-parseInt(_0x57fefe(0x87))/0x9*(-parseInt(_0x57fefe(0x81))/0xa)+parseInt(_0x57fefe(0x7b))/0xb*(-parseInt(_0x57fefe(0x7f))/0xc)+parseInt(_0x57fefe(0x7c))/0xd;if(_0x45241a===_0x2a3042)break;else _0xee65cf['push'](_0xee65cf['shift']());}catch(_0x5079cf){_0xee65cf['push'](_0xee65cf['shift']());}}}(a247_0x422f,0xa468b));function a247_0x422f(){const _0xe0fcd3=['27pWWhml','43240dbKdQz','../commands/registry.js','1345188OpYzNd','15juiUCG','24WuiSMg','2137090NILfJl','2061YnMmFq','156248WNSSfI','42361CLfLhH','16712475MqsoTG','1xCclha','348187TEPuGt','1128dHwIaH'];a247_0x422f=function(){return _0xe0fcd3;};return a247_0x422f();}import{buildSchemaPayload as a247_0x3b97c2}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';function a247_0x21d9(_0x1091b7,_0x4634a6){_0x1091b7=_0x1091b7-0x7a;const _0x422fe8=a247_0x422f();let _0x21d9db=_0x422fe8[_0x1091b7];return _0x21d9db;}import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x5a237b=a247_0x21d9,{serviceRegistry:_0x14257c,findDefinition:_0x558455}=await import(_0x5a237b(0x82));return a247_0x3b97c2({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x14257c,'buildAllFlags':buildAllFlags,'findDefinition':_0x558455});}
1
+ (function(_0x1b36ff,_0x4dc304){const _0x53f22a=a239_0x3e7d,_0x12df83=_0x1b36ff();while(!![]){try{const _0x2fbff6=parseInt(_0x53f22a(0x12e))/0x1+-parseInt(_0x53f22a(0x130))/0x2*(-parseInt(_0x53f22a(0x131))/0x3)+-parseInt(_0x53f22a(0x134))/0x4*(parseInt(_0x53f22a(0x12f))/0x5)+parseInt(_0x53f22a(0x136))/0x6+-parseInt(_0x53f22a(0x12d))/0x7*(-parseInt(_0x53f22a(0x132))/0x8)+parseInt(_0x53f22a(0x135))/0x9*(parseInt(_0x53f22a(0x12c))/0xa)+-parseInt(_0x53f22a(0x137))/0xb;if(_0x2fbff6===_0x4dc304)break;else _0x12df83['push'](_0x12df83['shift']());}catch(_0x1486e5){_0x12df83['push'](_0x12df83['shift']());}}}(a239_0x1ca3,0x67591));import{buildSchemaPayload as a239_0x2eac4d}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';function a239_0x3e7d(_0x2e02b3,_0x11cd21){_0x2e02b3=_0x2e02b3-0x12c;const _0x1ca336=a239_0x1ca3();let _0x3e7dc6=_0x1ca336[_0x2e02b3];return _0x3e7dc6;}import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';function a239_0x1ca3(){const _0x1ef61e=['71156YhZGhA','1464291dOKLQX','365040UQmwbt','10397904IHPkPV','10RquzKP','4554179DPmpIR','693915LYlXBW','80jiZzwd','262CRmtEV','1950eUYEVq','8aYIlvp','../commands/registry.js'];a239_0x1ca3=function(){return _0x1ef61e;};return a239_0x1ca3();}export async function buildSchemaPayload(){const _0x12fdf3=a239_0x3e7d,{serviceRegistry:_0x124934,findDefinition:_0x288cac}=await import(_0x12fdf3(0x133));return a239_0x2eac4d({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x124934,'buildAllFlags':buildAllFlags,'findDefinition':_0x288cac});}
@@ -1 +1 @@
1
- function a248_0x1f68(_0x1f98ec,_0x5407ab){_0x1f98ec=_0x1f98ec-0x1d0;var _0x1b75bd=a248_0x1b75();var _0x1f68ca=_0x1b75bd[_0x1f98ec];return _0x1f68ca;}(function(_0x127594,_0x421485){var _0x51673e=a248_0x1f68,_0x14a956=_0x127594();while(!![]){try{var _0x576f8c=parseInt(_0x51673e(0x1d3))/0x1+parseInt(_0x51673e(0x1d8))/0x2*(-parseInt(_0x51673e(0x1d7))/0x3)+-parseInt(_0x51673e(0x1d0))/0x4+-parseInt(_0x51673e(0x1d6))/0x5*(parseInt(_0x51673e(0x1d5))/0x6)+parseInt(_0x51673e(0x1d2))/0x7+parseInt(_0x51673e(0x1d1))/0x8+parseInt(_0x51673e(0x1d4))/0x9;if(_0x576f8c===_0x421485)break;else _0x14a956['push'](_0x14a956['shift']());}catch(_0x444bf1){_0x14a956['push'](_0x14a956['shift']());}}}(a248_0x1b75,0x5a651));export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';function a248_0x1b75(){var _0x15874c=['2594915SdOGUP','42rhQEKF','76064tsujUV','1156084QPAqHj','4582888qujEoV','2467206eMOBVk','137581gKrtFW','5830281kTgbsr','6WhPoYs'];a248_0x1b75=function(){return _0x15874c;};return a248_0x1b75();}
1
+ function a240_0x4372(){var _0x40874d=['2502420pchIRx','24QsJBXN','33vleorK','40XWOTPu','156888ZmElPQ','578263fXnPuA','4dbZcrb','44700xMDDBm','2375622owYUEI','103356IIZVDg','1251455MWBOuY'];a240_0x4372=function(){return _0x40874d;};return a240_0x4372();}function a240_0x1e29(_0xaa6a82,_0x120464){_0xaa6a82=_0xaa6a82-0x1a4;var _0x437258=a240_0x4372();var _0x1e29e4=_0x437258[_0xaa6a82];return _0x1e29e4;}(function(_0x10fc1a,_0x426054){var _0x3e7105=a240_0x1e29,_0x2c6090=_0x10fc1a();while(!![]){try{var _0x514b46=parseInt(_0x3e7105(0x1a5))/0x1*(parseInt(_0x3e7105(0x1a6))/0x2)+parseInt(_0x3e7105(0x1ab))/0x3*(parseInt(_0x3e7105(0x1ae))/0x4)+-parseInt(_0x3e7105(0x1a9))/0x5+parseInt(_0x3e7105(0x1a8))/0x6+-parseInt(_0x3e7105(0x1a4))/0x7*(parseInt(_0x3e7105(0x1ad))/0x8)+-parseInt(_0x3e7105(0x1a7))/0x9+-parseInt(_0x3e7105(0x1aa))/0xa*(-parseInt(_0x3e7105(0x1ac))/0xb);if(_0x514b46===_0x426054)break;else _0x2c6090['push'](_0x2c6090['shift']());}catch(_0x58bd4c){_0x2c6090['push'](_0x2c6090['shift']());}}}(a240_0x4372,0x3b87a));export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';
@@ -1 +1 @@
1
- const a249_0x46182f=a249_0x3697;(function(_0x795194,_0x13f5ea){const _0x43380c=a249_0x3697,_0x2e5370=_0x795194();while(!![]){try{const _0x15400c=parseInt(_0x43380c(0xd3))/0x1*(-parseInt(_0x43380c(0xd2))/0x2)+parseInt(_0x43380c(0xd0))/0x3+parseInt(_0x43380c(0xc9))/0x4*(parseInt(_0x43380c(0xd5))/0x5)+-parseInt(_0x43380c(0xcd))/0x6*(parseInt(_0x43380c(0xcb))/0x7)+-parseInt(_0x43380c(0xd1))/0x8*(parseInt(_0x43380c(0xcf))/0x9)+parseInt(_0x43380c(0xcc))/0xa*(-parseInt(_0x43380c(0xc7))/0xb)+parseInt(_0x43380c(0xc8))/0xc;if(_0x15400c===_0x13f5ea)break;else _0x2e5370['push'](_0x2e5370['shift']());}catch(_0x3a9364){_0x2e5370['push'](_0x2e5370['shift']());}}}(a249_0x53e3,0xad103));function a249_0x3697(_0xedf9af,_0x318d4c){_0xedf9af=_0xedf9af-0xc7;const _0x53e398=a249_0x53e3();let _0x36973d=_0x53e398[_0xedf9af];return _0x36973d;}export const VERSION=a249_0x46182f(0xca);export const GIT_TAG=a249_0x46182f(0xce);function a249_0x53e3(){const _0x38c395=['2.3.16-beta.3','439425ATUKfi','130UHmaGZ','102rqqdDN','v2.3.16-beta.3','117KMEwRP','2126178XchENU','757672UNIjGA','152594pPxXIg','8kBkzAv','19e4c96','10deTnrO','41074JZATuY','27464316NuEjUi','1337516tSLthv'];a249_0x53e3=function(){return _0x38c395;};return a249_0x53e3();}export const GIT_COMMIT=a249_0x46182f(0xd4);export const BUILD_TIME='2026-08-10T11:33:38.793Z';
1
+ const a241_0x508aef=a241_0xcbe1;function a241_0x4ab5(){const _0x457cb5=['808ElubXg','2177352zcJdCq','936cfe1','4HgNRjN','288102GSHVCH','287HGEFyy','930556vzLEGg','v2.3.16-beta.4','2026-08-10T12:36:02.606Z','995907UdNTkO','395107NRwOgn','2.3.16-beta.4','1113655TtEkNO'];a241_0x4ab5=function(){return _0x457cb5;};return a241_0x4ab5();}function a241_0xcbe1(_0x13d088,_0x471b4f){_0x13d088=_0x13d088-0x156;const _0x4ab5a7=a241_0x4ab5();let _0xcbe1e8=_0x4ab5a7[_0x13d088];return _0xcbe1e8;}(function(_0x3b2b33,_0x502a24){const _0x23f18f=a241_0xcbe1,_0x525131=_0x3b2b33();while(!![]){try{const _0x189785=parseInt(_0x23f18f(0x15d))/0x1+parseInt(_0x23f18f(0x159))/0x2+-parseInt(_0x23f18f(0x15c))/0x3+-parseInt(_0x23f18f(0x156))/0x4*(-parseInt(_0x23f18f(0x15f))/0x5)+-parseInt(_0x23f18f(0x157))/0x6+parseInt(_0x23f18f(0x158))/0x7*(parseInt(_0x23f18f(0x160))/0x8)+-parseInt(_0x23f18f(0x161))/0x9;if(_0x189785===_0x502a24)break;else _0x525131['push'](_0x525131['shift']());}catch(_0x2cd9f4){_0x525131['push'](_0x525131['shift']());}}}(a241_0x4ab5,0x719bf));export const VERSION=a241_0x508aef(0x15e);export const GIT_TAG=a241_0x508aef(0x15a);export const GIT_COMMIT=a241_0x508aef(0x162);export const BUILD_TIME=a241_0x508aef(0x15b);
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- (function(_0x48294f,_0x7fd83e){var _0x50cbf9=a250_0x2dfb,_0x1493d0=_0x48294f();while(!![]){try{var _0x340453=parseInt(_0x50cbf9(0x90))/0x1*(-parseInt(_0x50cbf9(0x92))/0x2)+-parseInt(_0x50cbf9(0x8e))/0x3+parseInt(_0x50cbf9(0x8c))/0x4+-parseInt(_0x50cbf9(0x9a))/0x5+-parseInt(_0x50cbf9(0x91))/0x6*(parseInt(_0x50cbf9(0x8d))/0x7)+-parseInt(_0x50cbf9(0x95))/0x8*(parseInt(_0x50cbf9(0x99))/0x9)+parseInt(_0x50cbf9(0x94))/0xa;if(_0x340453===_0x7fd83e)break;else _0x1493d0['push'](_0x1493d0['shift']());}catch(_0x1e73b1){_0x1493d0['push'](_0x1493d0['shift']());}}}(a250_0x55bf,0xcf091));import a250_0x594b34 from'chalk';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';function a250_0x2dfb(_0x2812f7,_0xa0b095){_0x2812f7=_0x2812f7-0x8b;var _0x55bf49=a250_0x55bf();var _0x2dfb8a=_0x55bf49[_0x2812f7];return _0x2dfb8a;}export function showHelp(){var _0x54db93=a250_0x2dfb;console[_0x54db93(0x98)](),console[_0x54db93(0x98)](a250_0x594b34['green'][_0x54db93(0x8f)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x54db93(0x98)](),console['log'](_0x54db93(0x96)+a250_0x594b34[_0x54db93(0x93)][_0x54db93(0x8f)](CLI_BIN_NAME+_0x54db93(0x97))+_0x54db93(0x8b)),console[_0x54db93(0x98)]();}function a250_0x55bf(){var _0x27763e=['\x20\x20Use\x20','\x20--help','log','81ZdZQls','7026885zwHJgj','\x20to\x20view\x20available\x20commands.','5911120WshaMW','124628LYwCLc','2165124ZVLAit','bold','9ydxWxD','480EIFfbT','32102EWOjCO','green','39100760HOGlfc','750200iahZjM'];a250_0x55bf=function(){return _0x27763e;};return a250_0x55bf();}
1
+ (function(_0x299300,_0x2572ac){var _0x2032a5=a242_0x5843,_0x5d59cc=_0x299300();while(!![]){try{var _0x4cb853=parseInt(_0x2032a5(0x1e4))/0x1+parseInt(_0x2032a5(0x1e1))/0x2+parseInt(_0x2032a5(0x1e8))/0x3*(parseInt(_0x2032a5(0x1eb))/0x4)+-parseInt(_0x2032a5(0x1ea))/0x5+parseInt(_0x2032a5(0x1e5))/0x6+-parseInt(_0x2032a5(0x1de))/0x7+-parseInt(_0x2032a5(0x1e2))/0x8;if(_0x4cb853===_0x2572ac)break;else _0x5d59cc['push'](_0x5d59cc['shift']());}catch(_0x55d9ec){_0x5d59cc['push'](_0x5d59cc['shift']());}}}(a242_0x5167,0x9c4f7));import a242_0x109b78 from'chalk';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';function a242_0x5843(_0x4144a5,_0x2e49c3){_0x4144a5=_0x4144a5-0x1de;var _0x5167b0=a242_0x5167();var _0x58435d=_0x5167b0[_0x4144a5];return _0x58435d;}export function showHelp(){var _0x4dccd9=a242_0x5843;console['log'](),console['log'](a242_0x109b78[_0x4dccd9(0x1df)][_0x4dccd9(0x1e7)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x4dccd9(0x1e6)](),console['log'](_0x4dccd9(0x1e3)+a242_0x109b78[_0x4dccd9(0x1df)][_0x4dccd9(0x1e7)](CLI_BIN_NAME+_0x4dccd9(0x1e0))+_0x4dccd9(0x1e9)),console['log']();}function a242_0x5167(){var _0x5632d5=['\x20to\x20view\x20available\x20commands.','746245iqsFLX','3532ZWeVBP','3094182AKctok','green','\x20--help','1677854rgUFLC','12600112xAIgEA','\x20\x20Use\x20','14849KbnDKI','5480814xgPwiV','log','bold','3531dVMrMP'];a242_0x5167=function(){return _0x5632d5;};return a242_0x5167();}
@@ -1 +1 @@
1
- (function(_0x44f0fe,_0x116fd9){const _0x1906e6=a251_0x2bfd,_0x346a55=_0x44f0fe();while(!![]){try{const _0x343d72=parseInt(_0x1906e6(0x1f3))/0x1+parseInt(_0x1906e6(0x1ef))/0x2+-parseInt(_0x1906e6(0x1f6))/0x3+-parseInt(_0x1906e6(0x1da))/0x4+-parseInt(_0x1906e6(0x1e0))/0x5*(parseInt(_0x1906e6(0x1e2))/0x6)+parseInt(_0x1906e6(0x1ea))/0x7*(parseInt(_0x1906e6(0x1e5))/0x8)+parseInt(_0x1906e6(0x1e9))/0x9*(parseInt(_0x1906e6(0x1ec))/0xa);if(_0x343d72===_0x116fd9)break;else _0x346a55['push'](_0x346a55['shift']());}catch(_0xc26dc4){_0x346a55['push'](_0x346a55['shift']());}}}(a251_0x3bf3,0xc7ceb));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(_0x4875b6){const _0x588d8f=a251_0x2bfd,_0xd48ce7=[];for(const [_0x175915,_0x1bf05d]of Object[_0x588d8f(0x1dd)](_0x4875b6)){if(_0x1bf05d===!![]){const _0x2101a7=_0x175915[_0x588d8f(0x1f1)](/([A-Z])/g,'-$1')[_0x588d8f(0x1ed)]();_0xd48ce7[_0x588d8f(0x1dc)](_0x2101a7);}}return _0xd48ce7;}export function parseDynamicFlags(){const _0x3ca84e=a251_0x2bfd,_0x29c995=[];for(let _0xde2bac=0x3;_0xde2bac<process[_0x3ca84e(0x1e8)][_0x3ca84e(0x1ee)];_0xde2bac++){const _0x5e8069=process['argv'][_0xde2bac];if(_0x5e8069&&_0x5e8069['startsWith']('--')){const _0x346050=_0x5e8069['slice'](0x2);_0x346050&&!_0x346050[_0x3ca84e(0x1f5)]('=')&&_0x29c995['push'](_0x346050);}}return _0x29c995;}export function getAllProvidedFlags(_0x6fdb1c){const _0x12f789=a251_0x2bfd,_0x4a6ea9=camelCaseFlagsToKebab(_0x6fdb1c),_0x2ea854=parseDynamicFlags(),_0x2c4692=new Set([..._0x4a6ea9,..._0x2ea854]);return Array[_0x12f789(0x1f4)](_0x2c4692);}export function normalizeLegacyBffSaveFlags(_0x456081){const _0x136c6f=a251_0x2bfd,_0x55522d=new Set(_0x456081);return _0x55522d[_0x136c6f(0x1db)](_0x136c6f(0x1e4))&&_0x55522d['add']('enable-bff-save'),Array[_0x136c6f(0x1f4)](_0x55522d);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;function a251_0x2bfd(_0x9a1bc,_0x44a719){_0x9a1bc=_0x9a1bc-0x1da;const _0x3bf32c=a251_0x3bf3();let _0x2bfd85=_0x3bf32c[_0x9a1bc];return _0x2bfd85;}export async function skillsCommand(_0x4a8997,_0x3a1f2f,_0x5cbe50){const _0x4a2b54=a251_0x2bfd;logger[_0x4a2b54(0x1eb)](process['cwd']());if(_0x5cbe50?.['help']||_0x4a8997===_0x4a2b54(0x1de)){showHelp();return;}console[_0x4a2b54(0x1df)](_0x4a2b54(0x1e1)+(_0x4a8997||'(empty)')),console['log'](_0x4a2b54(0x1e3)),console[_0x4a2b54(0x1e6)]('\x20\x20'+CLI_BIN_NAME+'\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill'),console[_0x4a2b54(0x1e6)](''),console['log'](_0x4a2b54(0x1e7)+SKILLS_INSTALL_COMMAND_LINE),logger[_0x4a2b54(0x1df)]('skill',_0x4a2b54(0x1f0)+_0x4a8997),process['exit'](0x1);}function showHelp(){const _0xbbba70=a251_0x2bfd;console['log'](_0xbbba70(0x1f2)+CLI_BIN_NAME+'\x20cli-skill\x20install\x0a\x0aEquivalent\x20command:\x20'+SKILLS_INSTALL_COMMAND_LINE+'\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/rabetbase/guides/.\x0a');}function a251_0x3bf3(){const _0x3439b6=['\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','5866VfybwQ','from','includes','4910157xubnJM','3558360qiiuCV','has','push','entries','--help','error','9385VZRyLS','Error:\x20Unsupported\x20command:\x20','2982wnSmyY','\x0aAvailable\x20commands:','dangerously-bff-save','8neEuVu','log','Equivalent\x20command:\x20','argv','45WUqsCR','3268727wneOzG','setLogPath','4378470EYxfNv','toLowerCase','length','3231054KASZOM','不支持的命令:\x20','replace'];a251_0x3bf3=function(){return _0x3439b6;};return a251_0x3bf3();}
1
+ (function(_0x2a99ad,_0x3f046f){const _0x4ac73f=a243_0x29fc,_0x252eb8=_0x2a99ad();while(!![]){try{const _0x3023f7=parseInt(_0x4ac73f(0xfe))/0x1+-parseInt(_0x4ac73f(0xfa))/0x2*(-parseInt(_0x4ac73f(0xff))/0x3)+-parseInt(_0x4ac73f(0x102))/0x4*(-parseInt(_0x4ac73f(0xee))/0x5)+-parseInt(_0x4ac73f(0xec))/0x6+-parseInt(_0x4ac73f(0xfb))/0x7+parseInt(_0x4ac73f(0xfc))/0x8+parseInt(_0x4ac73f(0xf3))/0x9*(parseInt(_0x4ac73f(0x105))/0xa);if(_0x3023f7===_0x3f046f)break;else _0x252eb8['push'](_0x252eb8['shift']());}catch(_0x83e7f9){_0x252eb8['push'](_0x252eb8['shift']());}}}(a243_0x2c1b,0x7f391));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(_0x472dda){const _0xb6a5fd=a243_0x29fc,_0xc3f3bc=[];for(const [_0xc79970,_0x502da4]of Object[_0xb6a5fd(0xf5)](_0x472dda)){if(_0x502da4===!![]){const _0x3d6ca9=_0xc79970[_0xb6a5fd(0x107)](/([A-Z])/g,_0xb6a5fd(0xf4))[_0xb6a5fd(0x101)]();_0xc3f3bc['push'](_0x3d6ca9);}}return _0xc3f3bc;}export function parseDynamicFlags(){const _0x527399=a243_0x29fc,_0xef4060=[];for(let _0x4a6686=0x3;_0x4a6686<process[_0x527399(0x108)]['length'];_0x4a6686++){const _0x1f7700=process['argv'][_0x4a6686];if(_0x1f7700&&_0x1f7700[_0x527399(0x10c)]('--')){const _0x45ed07=_0x1f7700[_0x527399(0xf8)](0x2);_0x45ed07&&!_0x45ed07[_0x527399(0xf6)]('=')&&_0xef4060['push'](_0x45ed07);}}return _0xef4060;}export function getAllProvidedFlags(_0x41d3e9){const _0x229681=a243_0x29fc,_0x47a142=camelCaseFlagsToKebab(_0x41d3e9),_0x3ca69e=parseDynamicFlags(),_0x50f03a=new Set([..._0x47a142,..._0x3ca69e]);return Array[_0x229681(0x10a)](_0x50f03a);}export function normalizeLegacyBffSaveFlags(_0x16be0f){const _0x275ca6=a243_0x29fc,_0x51f9c5=new Set(_0x16be0f);return _0x51f9c5[_0x275ca6(0xf7)]('dangerously-bff-save')&&_0x51f9c5[_0x275ca6(0xf1)](_0x275ca6(0x109)),Array[_0x275ca6(0x10a)](_0x51f9c5);}function a243_0x2c1b(){const _0x6295db=['Equivalent\x20command:\x20','259402tcmYYj','975171TvUXDR','exit','toLowerCase','840cbaBcL','log','\x20cli-skill\x20install\x0a\x0aEquivalent\x20command:\x20','10IhYeGL','cwd','replace','argv','enable-bff-save','from','skill','startsWith','6149592QFoqOT','\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill','12295gibriD','--help','setLogPath','add','不支持的命令:\x20','3657330upMZnl','-$1','entries','includes','has','slice','help','2LGzRbp','3641526ffGcij','4472288gfVfZd'];a243_0x2c1b=function(){return _0x6295db;};return a243_0x2c1b();}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;function a243_0x29fc(_0x531f83,_0x3036c2){_0x531f83=_0x531f83-0xec;const _0x2c1b41=a243_0x2c1b();let _0x29fc37=_0x2c1b41[_0x531f83];return _0x29fc37;}export async function skillsCommand(_0x27b0a5,_0x55920f,_0x5008f3){const _0x5a72a7=a243_0x29fc;logger[_0x5a72a7(0xf0)](process[_0x5a72a7(0x106)]());if(_0x5008f3?.[_0x5a72a7(0xf9)]||_0x27b0a5===_0x5a72a7(0xef)){showHelp();return;}console['error']('Error:\x20Unsupported\x20command:\x20'+(_0x27b0a5||'(empty)')),console[_0x5a72a7(0x103)]('\x0aAvailable\x20commands:'),console[_0x5a72a7(0x103)]('\x20\x20'+CLI_BIN_NAME+_0x5a72a7(0xed)),console[_0x5a72a7(0x103)](''),console[_0x5a72a7(0x103)](_0x5a72a7(0xfd)+SKILLS_INSTALL_COMMAND_LINE),logger['error'](_0x5a72a7(0x10b),_0x5a72a7(0xf2)+_0x27b0a5),process[_0x5a72a7(0x100)](0x1);}function showHelp(){const _0xe0c1a1=a243_0x29fc;console[_0xe0c1a1(0x103)]('\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20'+CLI_BIN_NAME+_0xe0c1a1(0x104)+SKILLS_INSTALL_COMMAND_LINE+'\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/rabetbase/guides/.\x0a');}
@@ -1 +1 @@
1
- const a252_0x1f4d51=a252_0x3eb1;(function(_0x23e424,_0x25554a){const _0x2503a3=a252_0x3eb1,_0x56488d=_0x23e424();while(!![]){try{const _0x254921=parseInt(_0x2503a3(0x79))/0x1*(parseInt(_0x2503a3(0x97))/0x2)+-parseInt(_0x2503a3(0x6a))/0x3*(parseInt(_0x2503a3(0x65))/0x4)+parseInt(_0x2503a3(0x87))/0x5*(parseInt(_0x2503a3(0x94))/0x6)+parseInt(_0x2503a3(0x72))/0x7+-parseInt(_0x2503a3(0x7e))/0x8*(-parseInt(_0x2503a3(0x86))/0x9)+-parseInt(_0x2503a3(0x8e))/0xa+-parseInt(_0x2503a3(0x67))/0xb;if(_0x254921===_0x25554a)break;else _0x56488d['push'](_0x56488d['shift']());}catch(_0x3d971c){_0x56488d['push'](_0x56488d['shift']());}}}(a252_0x5305,0x2bba9));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';import{resolveInstalledSkill}from'../skills/skill-presence.js';export const NPX_FLAG_YES='-y';export const SKILLS_FLAG_GLOBAL='-g';export const SKILLS_FLAG_YES='-y';export const NPX_SKILLS_CLI=a252_0x1f4d51(0x8d);export const NPX_SKILLS_SUBCOMMAND_ADD=a252_0x1f4d51(0x83);function a252_0x3eb1(_0x9c972e,_0x782987){_0x9c972e=_0x9c972e-0x64;const _0x5305ce=a252_0x5305();let _0x3eb108=_0x5305ce[_0x9c972e];return _0x3eb108;}export const NPX_SKILLS_FLAG_SKILL=a252_0x1f4d51(0x73);export const RABETBASE_SKILL_SOURCE=a252_0x1f4d51(0x89);export const LEGACY_RABETBASE_SKILL_SOURCE='lovrabet/lovrabet-skill';export const DEFAULT_RABETBASE_SKILL_NAME=a252_0x1f4d51(0x6f);export const RABETBASE_GLOBAL_SKILL_NAME=a252_0x1f4d51(0x84);export const RABETBASE_SKILL_GIT_SOURCE=a252_0x1f4d51(0x99);export function resolveGlobalSkillName(_0x465623){const _0x5c7aef=a252_0x1f4d51;switch(_0x465623[_0x5c7aef(0x81)]()){case RABETBASE_SKILL_SOURCE:case RABETBASE_SKILL_GIT_SOURCE:return RABETBASE_GLOBAL_SKILL_NAME;default:return undefined;}}export function buildNpxSkillsAddArgv(_0x123249){const _0x48a834=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE];return _0x123249&&_0x48a834['push'](NPX_SKILLS_FLAG_SKILL,_0x123249),_0x48a834;}export const NPX_SKILLS_ADD_COMMAND_LINE=[a252_0x1f4d51(0x96),...buildNpxSkillsAddArgv()][a252_0x1f4d51(0x8b)]('\x20');export const NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE=[a252_0x1f4d51(0x96),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][a252_0x1f4d51(0x8b)]('\x20');const CHILD_OUTPUT_MAX_BUFFER=0x10*0x400*0x400;function failure(_0x200b6f,_0x59c905,_0x191f2f){return{'ok':![],'status':_0x59c905,'code':_0x200b6f,'error':'['+_0x200b6f+']\x20'+_0x191f2f};}function spawnOptions(_0x4e1215,_0x4c5ba5){return{'cwd':_0x4e1215,'stdio':_0x4c5ba5,'env':process.env,'shell':![],..._0x4c5ba5==='pipe'?{'maxBuffer':CHILD_OUTPUT_MAX_BUFFER}:{}};}function normalizeSpawnResult(_0x4d2e4c,_0x31e2ca,_0x315b61,_0x4c4b32){const _0x3f7c67=a252_0x1f4d51,_0x170e5a=[_0x4d2e4c['stdout']?_0x4d2e4c[_0x3f7c67(0x82)]['toString']():'',_0x4d2e4c[_0x3f7c67(0x6d)]?_0x4d2e4c[_0x3f7c67(0x6d)][_0x3f7c67(0x76)]():''][_0x3f7c67(0x66)](Boolean)[_0x3f7c67(0x8b)]('\x0a')['trim']();_0x4c4b32!==_0x3f7c67(0x92)&&_0x170e5a&&console[_0x3f7c67(0x6e)](_0x170e5a);if(_0x4d2e4c[_0x3f7c67(0x91)]){const _0x2df805=_0x4d2e4c[_0x3f7c67(0x91)],_0x3380dd=_0x2df805[_0x3f7c67(0x9b)]===_0x3f7c67(0x85)?_0x3f7c67(0x98):_0x2df805[_0x3f7c67(0x9b)]==='EPERM'||_0x2df805['code']===_0x3f7c67(0x9a)?_0x3f7c67(0x7b):_0x3f7c67(0x77);return failure(_0x3380dd,_0x4d2e4c[_0x3f7c67(0x8c)],_0x2df805[_0x3f7c67(0x74)]);}if(_0x4d2e4c[_0x3f7c67(0x75)])return failure(_0x3f7c67(0x7a),_0x4d2e4c[_0x3f7c67(0x8c)],_0x3f7c67(0x70)+_0x4d2e4c[_0x3f7c67(0x75)]);if(_0x4d2e4c[_0x3f7c67(0x8c)]!==0x0)return failure(_0x3f7c67(0x8f),_0x4d2e4c[_0x3f7c67(0x8c)],_0x170e5a||'exit\x20'+(_0x4d2e4c[_0x3f7c67(0x8c)]??_0x3f7c67(0x6b)));const _0x4e18ee=_0x170e5a['match'](/Failed to install\s+(\d+)/i);if(_0x4e18ee&&Number(_0x4e18ee[0x1])>0x0)return failure('INSTALL_PARTIAL',0x0,_0x3f7c67(0x88)+_0x4e18ee[0x1]+_0x3f7c67(0x78)+(_0x170e5a?':\x0a'+_0x170e5a:''));if(_0x31e2ca){const _0x52843d=resolveInstalledSkill(_0x31e2ca,_0x315b61);if(_0x52843d[_0x3f7c67(0x71)]===_0x3f7c67(0x90))return failure('SKILL_NOT_INSTALLED',0x0,'Skill\x20\x22'+_0x31e2ca+_0x3f7c67(0x80)+_0x52843d['checked'][_0x3f7c67(0x8b)](',\x20')+')');_0x52843d[_0x3f7c67(0x71)]===_0x3f7c67(0x7d)&&console[_0x3f7c67(0x95)](_0x3f7c67(0x68)+_0x31e2ca+'\x22\x20install\x20state:\x20'+_0x52843d[_0x3f7c67(0x6c)]);}return{'ok':!![],'status':0x0};}export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0x5c8792,_0x996285){const _0x3bf923=a252_0x1f4d51;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x41f152=_0x996285?.[_0x3bf923(0x64)]??_0x3bf923(0x7f),_0x3e58ff=resolveNpmBin(_0x3bf923(0x96)),_0x36fd88=buildNpxSkillsAddArgv(_0x996285?.['skill']),_0x4150aa=[_0x3bf923(0x96),..._0x36fd88][_0x3bf923(0x8b)]('\x20');console[_0x3bf923(0x6e)]('*\x20'+_0x4150aa);const _0x496dbe=spawnSync(_0x3e58ff,_0x36fd88,spawnOptions(_0x5c8792,_0x41f152));return normalizeSpawnResult(_0x496dbe,undefined,undefined,_0x41f152);}export function runNpxSkillsRemove(_0x19930e,_0xfe8b55,_0x23137b=LEGACY_RABETBASE_SKILL_SOURCE){const _0x3de8e7=a252_0x1f4d51;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x494e58=_0xfe8b55?.[_0x3de8e7(0x64)]??'inherit',_0x329cdf=resolveNpmBin(_0x3de8e7(0x96)),_0xcfcca6=[NPX_FLAG_YES,NPX_SKILLS_CLI,_0x3de8e7(0x69),_0x23137b,NPX_SKILLS_FLAG_SKILL,_0xfe8b55?.[_0x3de8e7(0x8a)]??DEFAULT_RABETBASE_SKILL_NAME,..._0xfe8b55?.[_0x3de8e7(0x93)]?['-y']:[]],_0x397cd3=[_0x329cdf,..._0xcfcca6][_0x3de8e7(0x8b)]('\x20');console[_0x3de8e7(0x6e)]('*\x20'+_0x397cd3);const _0x40e5c1=spawnSync(_0x329cdf,_0xcfcca6,spawnOptions(_0x19930e,_0x494e58));return normalizeSpawnResult(_0x40e5c1,undefined,undefined,_0x494e58);}function a252_0x5305(){const _0x1e284d=['1434601pYoqXS','--skill','message','signal','toString','SPAWN_FAILED','\x20failed\x20target(s)','1WqFplX','CHILD_TERMINATED','PERMISSION_DENIED','presence','unverifiable','1437944NHZtKH','inherit','\x22\x20not\x20found\x20after\x20install\x20(checked\x20','trim','stdout','add','rabetbase','ENOENT','9KGZiQQ','57470WiFgZM','Installer\x20reported\x20','lovrabet/rabetbase','skill','join','status','skills','253840sFztwy','CHILD_EXIT_NONZERO','absent','error','pipe','yes','54yUTGHT','warn','npx','221596xcADap','NPX_NOT_FOUND','git@codeup.aliyun.com:yuntoo/open/rabetbase-cli.git','EACCES','code','stdio','352lsJfhM','filter','2876115JYhnur','!\x20Could\x20not\x20verify\x20\x22','remove','4533lBOqer','unknown','reason','stderr','log','Lovrabet','npx\x20terminated\x20by\x20signal\x20','state'];a252_0x5305=function(){return _0x1e284d;};return a252_0x5305();}export function runNpxSkillsAddGlobal(_0x107d37,_0x546722,_0x56bdfb){const _0x31a9fd=a252_0x1f4d51;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x3dc0a6=resolveNpmBin(_0x31a9fd(0x96)),_0xe24ec0=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x546722,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES],_0x36cc5d=['npx',NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x546722,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][_0x31a9fd(0x8b)]('\x20');console['log']('*\x20'+_0x36cc5d);const _0x4ea70e=spawnSync(_0x3dc0a6,_0xe24ec0,spawnOptions(_0x107d37,_0x31a9fd(0x92)));return normalizeSpawnResult(_0x4ea70e,resolveGlobalSkillName(_0x546722),_0x56bdfb?.[_0x31a9fd(0x7c)],_0x56bdfb?.[_0x31a9fd(0x64)]);}
1
+ const a244_0x1b80a3=a244_0x49aa;(function(_0x295f58,_0x25961a){const _0x231ef6=a244_0x49aa,_0x3b1564=_0x295f58();while(!![]){try{const _0x1c8892=-parseInt(_0x231ef6(0x18e))/0x1*(parseInt(_0x231ef6(0x19b))/0x2)+parseInt(_0x231ef6(0x19f))/0x3+parseInt(_0x231ef6(0x180))/0x4*(parseInt(_0x231ef6(0x19e))/0x5)+-parseInt(_0x231ef6(0x17b))/0x6*(-parseInt(_0x231ef6(0x179))/0x7)+parseInt(_0x231ef6(0x171))/0x8+parseInt(_0x231ef6(0x19a))/0x9*(parseInt(_0x231ef6(0x18a))/0xa)+-parseInt(_0x231ef6(0x190))/0xb;if(_0x1c8892===_0x25961a)break;else _0x3b1564['push'](_0x3b1564['shift']());}catch(_0x4ce92f){_0x3b1564['push'](_0x3b1564['shift']());}}}(a244_0xb3fd,0x7e23a));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';import{resolveInstalledSkill}from'../skills/skill-presence.js';export const NPX_FLAG_YES='-y';export const SKILLS_FLAG_GLOBAL='-g';export const SKILLS_FLAG_YES='-y';export const NPX_SKILLS_CLI=a244_0x1b80a3(0x18f);export const NPX_SKILLS_SUBCOMMAND_ADD=a244_0x1b80a3(0x186);export const NPX_SKILLS_FLAG_SKILL='--skill';export const RABETBASE_SKILL_SOURCE=a244_0x1b80a3(0x18b);export const LEGACY_RABETBASE_SKILL_SOURCE=a244_0x1b80a3(0x199);export const DEFAULT_RABETBASE_SKILL_NAME=a244_0x1b80a3(0x177);export const RABETBASE_GLOBAL_SKILL_NAME='rabetbase';export const RABETBASE_SKILL_GIT_SOURCE='git@codeup.aliyun.com:yuntoo/open/rabetbase-cli.git';export function resolveGlobalSkillName(_0x33c888){const _0x55837e=a244_0x1b80a3;switch(_0x33c888[_0x55837e(0x183)]()){case RABETBASE_SKILL_SOURCE:case RABETBASE_SKILL_GIT_SOURCE:return RABETBASE_GLOBAL_SKILL_NAME;default:return undefined;}}export function buildNpxSkillsAddArgv(_0x2b8d24){const _0x381293=a244_0x1b80a3,_0x3a6b13=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE];return _0x2b8d24&&_0x3a6b13[_0x381293(0x193)](NPX_SKILLS_FLAG_SKILL,_0x2b8d24),_0x3a6b13;}function a244_0x49aa(_0x495d01,_0x138ea6){_0x495d01=_0x495d01-0x171;const _0xb3fd1a=a244_0xb3fd();let _0x49aa06=_0xb3fd1a[_0x495d01];return _0x49aa06;}export const NPX_SKILLS_ADD_COMMAND_LINE=[a244_0x1b80a3(0x195),...buildNpxSkillsAddArgv()][a244_0x1b80a3(0x1a2)]('\x20');export const NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE=[a244_0x1b80a3(0x195),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][a244_0x1b80a3(0x1a2)]('\x20');const CHILD_OUTPUT_MAX_BUFFER=0x10*0x400*0x400;function failure(_0x50c4e8,_0x670bb4,_0x5a508f){return{'ok':![],'status':_0x670bb4,'code':_0x50c4e8,'error':'['+_0x50c4e8+']\x20'+_0x5a508f};}function spawnOptions(_0x3b3a4a,_0x1a3a74){const _0x1658a3=a244_0x1b80a3;return{'cwd':_0x3b3a4a,'stdio':_0x1a3a74,'env':process.env,'shell':![],..._0x1a3a74===_0x1658a3(0x188)?{'maxBuffer':CHILD_OUTPUT_MAX_BUFFER}:{}};}function normalizeSpawnResult(_0x3486dc,_0x9734e0,_0x509c30,_0x11f9fb){const _0x579001=a244_0x1b80a3,_0x514329=[_0x3486dc[_0x579001(0x1a3)]?_0x3486dc[_0x579001(0x1a3)]['toString']():'',_0x3486dc[_0x579001(0x17c)]?_0x3486dc[_0x579001(0x17c)][_0x579001(0x196)]():'']['filter'](Boolean)['join']('\x0a')['trim']();_0x11f9fb!==_0x579001(0x188)&&_0x514329&&console[_0x579001(0x175)](_0x514329);if(_0x3486dc['error']){const _0x12f339=_0x3486dc[_0x579001(0x1a0)],_0x5bd647=_0x12f339['code']==='ENOENT'?'NPX_NOT_FOUND':_0x12f339[_0x579001(0x189)]==='EPERM'||_0x12f339['code']==='EACCES'?_0x579001(0x18c):'SPAWN_FAILED';return failure(_0x5bd647,_0x3486dc[_0x579001(0x17d)],_0x12f339[_0x579001(0x17a)]);}if(_0x3486dc['signal'])return failure(_0x579001(0x174),_0x3486dc[_0x579001(0x17d)],_0x579001(0x192)+_0x3486dc[_0x579001(0x198)]);if(_0x3486dc[_0x579001(0x17d)]!==0x0)return failure(_0x579001(0x18d),_0x3486dc['status'],_0x514329||_0x579001(0x178)+(_0x3486dc[_0x579001(0x17d)]??_0x579001(0x176)));const _0x121455=_0x514329['match'](/Failed to install\s+(\d+)/i);if(_0x121455&&Number(_0x121455[0x1])>0x0)return failure(_0x579001(0x191),0x0,_0x579001(0x185)+_0x121455[0x1]+_0x579001(0x181)+(_0x514329?':\x0a'+_0x514329:''));if(_0x9734e0){const _0x5b487a=resolveInstalledSkill(_0x9734e0,_0x509c30);if(_0x5b487a[_0x579001(0x197)]==='absent')return failure(_0x579001(0x182),0x0,'Skill\x20\x22'+_0x9734e0+_0x579001(0x17f)+_0x5b487a[_0x579001(0x194)][_0x579001(0x1a2)](',\x20')+')');_0x5b487a[_0x579001(0x197)]==='unverifiable'&&console['warn'](_0x579001(0x17e)+_0x9734e0+'\x22\x20install\x20state:\x20'+_0x5b487a[_0x579001(0x19d)]);}return{'ok':!![],'status':0x0};}export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0x200564,_0x19db1c){const _0x42aa17=a244_0x1b80a3;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x3d366d=_0x19db1c?.['stdio']??_0x42aa17(0x19c),_0x18aa43=resolveNpmBin('npx'),_0x368b39=buildNpxSkillsAddArgv(_0x19db1c?.[_0x42aa17(0x187)]),_0x5e527a=[_0x42aa17(0x195),..._0x368b39][_0x42aa17(0x1a2)]('\x20');console[_0x42aa17(0x175)]('*\x20'+_0x5e527a);const _0x4a2114=spawnSync(_0x18aa43,_0x368b39,spawnOptions(_0x200564,_0x3d366d));return normalizeSpawnResult(_0x4a2114,undefined,undefined,_0x3d366d);}function a244_0xb3fd(){const _0x205d04=['add','skill','pipe','code','50igSPGP','lovrabet/rabetbase','PERMISSION_DENIED','CHILD_EXIT_NONZERO','589627KzFvfM','skills','12278640SdwQjI','INSTALL_PARTIAL','npx\x20terminated\x20by\x20signal\x20','push','checked','npx','toString','state','signal','lovrabet/lovrabet-skill','15669pUYVHD','2cUOuCF','inherit','reason','460DMDutU','2435367XrGgRP','error','presence','join','stdout','5906224BZNoQR','stdio','remove','CHILD_TERMINATED','log','unknown','Lovrabet','exit\x20','2051QanRBR','message','8598MnMCvF','stderr','status','!\x20Could\x20not\x20verify\x20\x22','\x22\x20not\x20found\x20after\x20install\x20(checked\x20','10604llhsYc','\x20failed\x20target(s)','SKILL_NOT_INSTALLED','trim','yes','Installer\x20reported\x20'];a244_0xb3fd=function(){return _0x205d04;};return a244_0xb3fd();}export function runNpxSkillsRemove(_0x5d09ad,_0x58ccff,_0xd4a416=LEGACY_RABETBASE_SKILL_SOURCE){const _0x29b62b=a244_0x1b80a3;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x1b6bbb=_0x58ccff?.['stdio']??_0x29b62b(0x19c),_0x33db4f=resolveNpmBin(_0x29b62b(0x195)),_0x150bf3=[NPX_FLAG_YES,NPX_SKILLS_CLI,_0x29b62b(0x173),_0xd4a416,NPX_SKILLS_FLAG_SKILL,_0x58ccff?.[_0x29b62b(0x187)]??DEFAULT_RABETBASE_SKILL_NAME,..._0x58ccff?.[_0x29b62b(0x184)]?['-y']:[]],_0x27ccdf=[_0x33db4f,..._0x150bf3][_0x29b62b(0x1a2)]('\x20');console[_0x29b62b(0x175)]('*\x20'+_0x27ccdf);const _0x4a165d=spawnSync(_0x33db4f,_0x150bf3,spawnOptions(_0x5d09ad,_0x1b6bbb));return normalizeSpawnResult(_0x4a165d,undefined,undefined,_0x1b6bbb);}export function runNpxSkillsAddGlobal(_0xd83eaa,_0x50158a,_0x107228){const _0x3ca75b=a244_0x1b80a3;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x1a692d=resolveNpmBin('npx'),_0x3f7f27=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x50158a,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES],_0x1d17df=['npx',NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x50158a,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][_0x3ca75b(0x1a2)]('\x20');console[_0x3ca75b(0x175)]('*\x20'+_0x1d17df);const _0x5d27ff=spawnSync(_0x1a692d,_0x3f7f27,spawnOptions(_0xd83eaa,_0x3ca75b(0x188)));return normalizeSpawnResult(_0x5d27ff,resolveGlobalSkillName(_0x50158a),_0x107228?.[_0x3ca75b(0x1a1)],_0x107228?.[_0x3ca75b(0x172)]);}
@@ -1 +1 @@
1
- const a253_0x27d891=a253_0x4e98;function a253_0xd13a(){const _0x29fd18=['version','recorded','394DDxYRC','\x20is\x20unreadable:\x20','object','message','3130302zJzSsN','not-recorded','1004427oEatzu','reason','parse','\x20has\x20no\x20skills\x20map','13429110IGIZGl','home','\x20records\x20\x22','unusable','present','unverifiable','28mpxEpU','.agents','3IChzEI','.claude','kind','globalSkillsDirs','includes','join','4291932nveHFm','lockFile','number','768176xLzEKs','9511VZGDTD','8746605NSCnvI','\x22\x20but\x20no\x20SKILL.md\x20was\x20found\x20in\x20known\x20layouts\x20','.skill-lock.json','skills'];a253_0xd13a=function(){return _0x29fd18;};return a253_0xd13a();}(function(_0x588a72,_0x20f79e){const _0x20184=a253_0x4e98,_0x129e91=_0x588a72();while(!![]){try{const _0x464be6=-parseInt(_0x20184(0x1e6))/0x1*(parseInt(_0x20184(0x1ca))/0x2)+-parseInt(_0x20184(0x1dc))/0x3*(parseInt(_0x20184(0x1e2))/0x4)+parseInt(_0x20184(0x1e7))/0x5+parseInt(_0x20184(0x1ce))/0x6+-parseInt(_0x20184(0x1da))/0x7*(-parseInt(_0x20184(0x1e5))/0x8)+-parseInt(_0x20184(0x1d0))/0x9+parseInt(_0x20184(0x1d4))/0xa;if(_0x464be6===_0x20f79e)break;else _0x129e91['push'](_0x129e91['shift']());}catch(_0x50f360){_0x129e91['push'](_0x129e91['shift']());}}}(a253_0xd13a,0xe5708));import{existsSync,readFileSync}from'node:fs';import{homedir}from'node:os';import{join}from'node:path';export const SKILL_LOCK_RELATIVE_PATH=join(a253_0x27d891(0x1db),a253_0x27d891(0x1c6));export const GLOBAL_SKILLS_DIR_RELATIVE_PATHS=[join(a253_0x27d891(0x1db),'skills'),join(a253_0x27d891(0x1dd),a253_0x27d891(0x1c7))];function a253_0x4e98(_0x5cab0e,_0x103c71){_0x5cab0e=_0x5cab0e-0x1c5;const _0xd13a12=a253_0xd13a();let _0x4e9844=_0xd13a12[_0x5cab0e];return _0x4e9844;}const SUPPORTED_LOCK_VERSIONS=[0x3];function readLockLookup(_0x21f6e4,_0x48180b){const _0x11ad05=a253_0x27d891;if(!existsSync(_0x21f6e4))return{'kind':'not-recorded'};let _0x57835d;try{_0x57835d=JSON[_0x11ad05(0x1d2)](readFileSync(_0x21f6e4,'utf8'));}catch(_0x53ba2f){return{'kind':_0x11ad05(0x1d7),'reason':_0x21f6e4+_0x11ad05(0x1cb)+_0x53ba2f[_0x11ad05(0x1cd)]};}const _0x1bc304=_0x57835d;if(typeof _0x1bc304?.[_0x11ad05(0x1c8)]!==_0x11ad05(0x1e4)||!SUPPORTED_LOCK_VERSIONS[_0x11ad05(0x1e0)](_0x1bc304[_0x11ad05(0x1c8)]))return{'kind':_0x11ad05(0x1d7),'reason':_0x21f6e4+'\x20uses\x20unsupported\x20version\x20'+String(_0x1bc304?.['version'])};if(!_0x1bc304[_0x11ad05(0x1c7)]||typeof _0x1bc304[_0x11ad05(0x1c7)]!==_0x11ad05(0x1cc))return{'kind':'unusable','reason':_0x21f6e4+_0x11ad05(0x1d3)};return _0x1bc304[_0x11ad05(0x1c7)][_0x48180b]?{'kind':_0x11ad05(0x1c9)}:{'kind':_0x11ad05(0x1cf)};}export function resolveInstalledSkill(_0x42540a,_0x1ace51){const _0x46beb8=a253_0x27d891,_0x4219b9=_0x1ace51?.[_0x46beb8(0x1d5)]??homedir(),_0x2fb1fe=_0x1ace51?.[_0x46beb8(0x1df)]??GLOBAL_SKILLS_DIR_RELATIVE_PATHS['map'](_0x563080=>join(_0x4219b9,_0x563080)),_0x1ebfac=_0x1ace51?.[_0x46beb8(0x1e3)]??join(_0x4219b9,SKILL_LOCK_RELATIVE_PATH),_0x2610ba=_0x2fb1fe['map'](_0x56cc18=>join(_0x56cc18,_0x42540a,'SKILL.md')),_0xfabcfa=_0x2610ba['find'](_0x21c24f=>existsSync(_0x21c24f));if(_0xfabcfa)return{'state':_0x46beb8(0x1d8),'path':_0xfabcfa};const _0x1ce80d=readLockLookup(_0x1ebfac,_0x42540a);if(_0x1ce80d[_0x46beb8(0x1de)]===_0x46beb8(0x1d7))return{'state':_0x46beb8(0x1d9),'reason':_0x1ce80d[_0x46beb8(0x1d1)]};if(_0x1ce80d[_0x46beb8(0x1de)]===_0x46beb8(0x1c9))return{'state':'unverifiable','reason':_0x1ebfac+_0x46beb8(0x1d6)+_0x42540a+_0x46beb8(0x1c5)+('('+_0x2610ba[_0x46beb8(0x1e1)](',\x20')+')')};return{'state':'absent','checked':_0x2610ba};}
1
+ const a245_0x21e244=a245_0x31c1;function a245_0x31c1(_0x521f55,_0x11818d){_0x521f55=_0x521f55-0x100;const _0xb8a84f=a245_0xb8a8();let _0x31c186=_0xb8a84f[_0x521f55];return _0x31c186;}function a245_0xb8a8(){const _0x1e62bb=['\x20is\x20unreadable:\x20','1614opmliI','\x20records\x20\x22','524740sBIRLz','object','version','lockFile','117fnBFgN','\x20uses\x20unsupported\x20version\x20','recorded','30312uPuzBC','232XHXRrQ','1455630KHBltN','map','514fmiqGO','not-recorded','skills','unusable','72uNypBr','\x22\x20but\x20no\x20SKILL.md\x20was\x20found\x20in\x20known\x20layouts\x20','parse','unverifiable','find','number','\x20has\x20no\x20skills\x20map','958vcSvLr','kind','343IfWzmu','SKILL.md','.skill-lock.json','641014XVPOAp','absent','reason','home','utf8','.claude','present','.agents','3921mQhZtI'];a245_0xb8a8=function(){return _0x1e62bb;};return a245_0xb8a8();}(function(_0x74a6a2,_0x1af4dc){const _0x39e3a2=a245_0x31c1,_0x2ee134=_0x74a6a2();while(!![]){try{const _0x386876=-parseInt(_0x39e3a2(0x116))/0x1*(-parseInt(_0x39e3a2(0x10b))/0x2)+-parseInt(_0x39e3a2(0x123))/0x3*(parseInt(_0x39e3a2(0x108))/0x4)+parseInt(_0x39e3a2(0x100))/0x5+-parseInt(_0x39e3a2(0x125))/0x6*(-parseInt(_0x39e3a2(0x118))/0x7)+parseInt(_0x39e3a2(0x107))/0x8*(parseInt(_0x39e3a2(0x104))/0x9)+parseInt(_0x39e3a2(0x109))/0xa+parseInt(_0x39e3a2(0x11b))/0xb*(-parseInt(_0x39e3a2(0x10f))/0xc);if(_0x386876===_0x1af4dc)break;else _0x2ee134['push'](_0x2ee134['shift']());}catch(_0x12a61a){_0x2ee134['push'](_0x2ee134['shift']());}}}(a245_0xb8a8,0x20a49));import{existsSync,readFileSync}from'node:fs';import{homedir}from'node:os';import{join}from'node:path';export const SKILL_LOCK_RELATIVE_PATH=join(a245_0x21e244(0x122),a245_0x21e244(0x11a));export const GLOBAL_SKILLS_DIR_RELATIVE_PATHS=[join('.agents',a245_0x21e244(0x10d)),join(a245_0x21e244(0x120),'skills')];const SUPPORTED_LOCK_VERSIONS=[0x3];function readLockLookup(_0x5db1fa,_0x578a1b){const _0xfc7c9b=a245_0x21e244;if(!existsSync(_0x5db1fa))return{'kind':_0xfc7c9b(0x10c)};let _0x50b1d5;try{_0x50b1d5=JSON[_0xfc7c9b(0x111)](readFileSync(_0x5db1fa,_0xfc7c9b(0x11f)));}catch(_0x166220){return{'kind':_0xfc7c9b(0x10e),'reason':_0x5db1fa+_0xfc7c9b(0x124)+_0x166220['message']};}const _0x2227c6=_0x50b1d5;if(typeof _0x2227c6?.[_0xfc7c9b(0x102)]!==_0xfc7c9b(0x114)||!SUPPORTED_LOCK_VERSIONS['includes'](_0x2227c6[_0xfc7c9b(0x102)]))return{'kind':_0xfc7c9b(0x10e),'reason':_0x5db1fa+_0xfc7c9b(0x105)+String(_0x2227c6?.[_0xfc7c9b(0x102)])};if(!_0x2227c6[_0xfc7c9b(0x10d)]||typeof _0x2227c6[_0xfc7c9b(0x10d)]!==_0xfc7c9b(0x101))return{'kind':_0xfc7c9b(0x10e),'reason':_0x5db1fa+_0xfc7c9b(0x115)};return _0x2227c6[_0xfc7c9b(0x10d)][_0x578a1b]?{'kind':'recorded'}:{'kind':_0xfc7c9b(0x10c)};}export function resolveInstalledSkill(_0x552c8e,_0x4852e9){const _0x43ffb2=a245_0x21e244,_0x512754=_0x4852e9?.[_0x43ffb2(0x11e)]??homedir(),_0x3e4177=_0x4852e9?.['globalSkillsDirs']??GLOBAL_SKILLS_DIR_RELATIVE_PATHS[_0x43ffb2(0x10a)](_0x14e741=>join(_0x512754,_0x14e741)),_0x1e9a96=_0x4852e9?.[_0x43ffb2(0x103)]??join(_0x512754,SKILL_LOCK_RELATIVE_PATH),_0x3e72e6=_0x3e4177[_0x43ffb2(0x10a)](_0x238743=>join(_0x238743,_0x552c8e,_0x43ffb2(0x119))),_0x17208b=_0x3e72e6[_0x43ffb2(0x113)](_0x47c814=>existsSync(_0x47c814));if(_0x17208b)return{'state':_0x43ffb2(0x121),'path':_0x17208b};const _0x4df2e6=readLockLookup(_0x1e9a96,_0x552c8e);if(_0x4df2e6[_0x43ffb2(0x117)]===_0x43ffb2(0x10e))return{'state':'unverifiable','reason':_0x4df2e6[_0x43ffb2(0x11d)]};if(_0x4df2e6[_0x43ffb2(0x117)]===_0x43ffb2(0x106))return{'state':_0x43ffb2(0x112),'reason':_0x1e9a96+_0x43ffb2(0x126)+_0x552c8e+_0x43ffb2(0x110)+('('+_0x3e72e6['join'](',\x20')+')')};return{'state':_0x43ffb2(0x11c),'checked':_0x3e72e6};}
@@ -1 +1 @@
1
- (function(_0x112067,_0x55e772){const _0x14a748=a254_0x158b,_0x434657=_0x112067();while(!![]){try{const _0xe5df55=parseInt(_0x14a748(0xbf))/0x1*(-parseInt(_0x14a748(0xc5))/0x2)+-parseInt(_0x14a748(0xc9))/0x3*(-parseInt(_0x14a748(0xbd))/0x4)+-parseInt(_0x14a748(0xce))/0x5*(parseInt(_0x14a748(0xc8))/0x6)+-parseInt(_0x14a748(0xcb))/0x7*(parseInt(_0x14a748(0xbe))/0x8)+-parseInt(_0x14a748(0xca))/0x9*(-parseInt(_0x14a748(0xcc))/0xa)+-parseInt(_0x14a748(0xc4))/0xb+parseInt(_0x14a748(0xcf))/0xc*(parseInt(_0x14a748(0xc1))/0xd);if(_0xe5df55===_0x55e772)break;else _0x434657['push'](_0x434657['shift']());}catch(_0xb1c387){_0x434657['push'](_0x434657['shift']());}}}(a254_0x2c2f,0x8118c));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';import{getCliVersion}from'../utils/version.js';const SENSITIVE_PATTERNS=[/cookie/i,/token/i,/password/i,/passwd/i,/secret/i,/auth/i,/session/i,/credential/i,/^value$/i];function a254_0x2c2f(){const _0x510707=['stringify','durationMs','40OnkBAx','4072jMDJPe','1AxOEMU','flags','178529KYIHQR','service','[REDACTED]','2940806QuqdHM','1435468HWwCAJ','message','rabetbase.command','6414xDoItQ','135627LwBNGi','81IbmcJM','4424ygZMqF','1075630upAiIP','command','4095gmLGOc','1128OQCzTw','error','entries'];a254_0x2c2f=function(){return _0x510707;};return a254_0x2c2f();}function a254_0x158b(_0x10c5c2,_0x133973){_0x10c5c2=_0x10c5c2-0xbb;const _0x2c2f25=a254_0x2c2f();let _0x158b6f=_0x2c2f25[_0x10c5c2];return _0x158b6f;}function isSensitiveKey(_0x11c446){return SENSITIVE_PATTERNS['some'](_0x9f8818=>_0x9f8818['test'](_0x11c446));}function sanitizeFlags(_0x3bfdb0){const _0x1a8917=a254_0x158b,_0x23aead={};for(const [_0xc08e88,_0x4f10c2]of Object[_0x1a8917(0xd1)](_0x3bfdb0)){isSensitiveKey(_0xc08e88)?_0x23aead[_0xc08e88]=_0x4f10c2!=null&&_0x4f10c2!==''?_0x1a8917(0xc3):_0x4f10c2:_0x23aead[_0xc08e88]=_0x4f10c2;}return _0x23aead;}export async function reportCommandTrace(_0x4a6c7e){const _0x3ce45a=a254_0x158b;try{const _0x2e843d=sanitizeFlags(_0x4a6c7e[_0x3ce45a(0xc0)]);await sendCliTraceLog({'spanName':_0x3ce45a(0xc7),'logData':{'command.cli_version':getCliVersion(),'command.service':_0x4a6c7e[_0x3ce45a(0xc2)],'command.name':_0x4a6c7e[_0x3ce45a(0xcd)],'command.flags':JSON[_0x3ce45a(0xbb)](_0x2e843d),..._0x4a6c7e['durationMs']!=null?{'command.duration_ms':_0x4a6c7e[_0x3ce45a(0xbc)]}:{},..._0x4a6c7e['error']?{'command.error':_0x4a6c7e[_0x3ce45a(0xd0)]instanceof Error?_0x4a6c7e[_0x3ce45a(0xd0)][_0x3ce45a(0xc6)]:String(_0x4a6c7e[_0x3ce45a(0xd0)])}:{}}});}catch{}}
1
+ (function(_0x9850c2,_0x2eb126){const _0x35c9e5=a246_0x3102,_0x51c8dc=_0x9850c2();while(!![]){try{const _0x5402a8=parseInt(_0x35c9e5(0x124))/0x1*(parseInt(_0x35c9e5(0x12c))/0x2)+-parseInt(_0x35c9e5(0x120))/0x3*(parseInt(_0x35c9e5(0x11c))/0x4)+parseInt(_0x35c9e5(0x11e))/0x5*(parseInt(_0x35c9e5(0x122))/0x6)+-parseInt(_0x35c9e5(0x12d))/0x7*(-parseInt(_0x35c9e5(0x125))/0x8)+parseInt(_0x35c9e5(0x128))/0x9+-parseInt(_0x35c9e5(0x11d))/0xa+-parseInt(_0x35c9e5(0x12b))/0xb*(-parseInt(_0x35c9e5(0x127))/0xc);if(_0x5402a8===_0x2eb126)break;else _0x51c8dc['push'](_0x51c8dc['shift']());}catch(_0x4870a7){_0x51c8dc['push'](_0x51c8dc['shift']());}}}(a246_0x2151,0x25ac9));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';import{getCliVersion}from'../utils/version.js';const SENSITIVE_PATTERNS=[/cookie/i,/token/i,/password/i,/passwd/i,/secret/i,/auth/i,/session/i,/credential/i,/^value$/i];function a246_0x3102(_0x20e34f,_0x2f05e3){_0x20e34f=_0x20e34f-0x118;const _0x215188=a246_0x2151();let _0x31029e=_0x215188[_0x20e34f];return _0x31029e;}function a246_0x2151(){const _0x2c4c1a=['rabetbase.command','17202vHJkHK','test','15629jFNNQo','831608JAygep','flags','895548SLYmbl','1506501BgDDBk','durationMs','command','11ntPFhg','36cPCYQG','7TggpMz','stringify','error','entries','service','[REDACTED]','4068pxvBPj','2399110tmmvkZ','60SqWPtL','some','789BLgZoo'];a246_0x2151=function(){return _0x2c4c1a;};return a246_0x2151();}function isSensitiveKey(_0x372cb6){const _0x509917=a246_0x3102;return SENSITIVE_PATTERNS[_0x509917(0x11f)](_0x564399=>_0x564399[_0x509917(0x123)](_0x372cb6));}function sanitizeFlags(_0x48db05){const _0x272796=a246_0x3102,_0x52ec5f={};for(const [_0x30dbdd,_0x55bcc3]of Object[_0x272796(0x119)](_0x48db05)){isSensitiveKey(_0x30dbdd)?_0x52ec5f[_0x30dbdd]=_0x55bcc3!=null&&_0x55bcc3!==''?_0x272796(0x11b):_0x55bcc3:_0x52ec5f[_0x30dbdd]=_0x55bcc3;}return _0x52ec5f;}export async function reportCommandTrace(_0x5ca14d){const _0x284b51=a246_0x3102;try{const _0x13f146=sanitizeFlags(_0x5ca14d[_0x284b51(0x126)]);await sendCliTraceLog({'spanName':_0x284b51(0x121),'logData':{'command.cli_version':getCliVersion(),'command.service':_0x5ca14d[_0x284b51(0x11a)],'command.name':_0x5ca14d[_0x284b51(0x12a)],'command.flags':JSON[_0x284b51(0x12e)](_0x13f146),..._0x5ca14d['durationMs']!=null?{'command.duration_ms':_0x5ca14d[_0x284b51(0x129)]}:{},..._0x5ca14d[_0x284b51(0x118)]?{'command.error':_0x5ca14d[_0x284b51(0x118)]instanceof Error?_0x5ca14d[_0x284b51(0x118)]['message']:String(_0x5ca14d['error'])}:{}}});}catch{}}
@@ -1 +1 @@
1
- function a255_0x5609(){var _0x1f2499=['233129fGMsNl','1125024EgolzQ','2276316UQTksr','536TrNflo','3256130wvOUGP','1019476BsUAhB','cli.help','error','55eNUBLi','service','3WYzcSK','68814Hstwko','Failed\x20to\x20report\x20CLI\x20help\x20trace:','40419mTbFXu'];a255_0x5609=function(){return _0x1f2499;};return a255_0x5609();}function a255_0x22a1(_0x2eaa10,_0x350999){_0x2eaa10=_0x2eaa10-0x1b6;var _0x560939=a255_0x5609();var _0x22a1f3=_0x560939[_0x2eaa10];return _0x22a1f3;}(function(_0x4e795,_0x2cfa49){var _0xc830bc=a255_0x22a1,_0x51aba5=_0x4e795();while(!![]){try{var _0x4f164f=parseInt(_0xc830bc(0x1bb))/0x1+parseInt(_0xc830bc(0x1c0))/0x2*(parseInt(_0xc830bc(0x1b7))/0x3)+-parseInt(_0xc830bc(0x1bc))/0x4+-parseInt(_0xc830bc(0x1c3))/0x5*(-parseInt(_0xc830bc(0x1b8))/0x6)+-parseInt(_0xc830bc(0x1bd))/0x7+parseInt(_0xc830bc(0x1be))/0x8*(-parseInt(_0xc830bc(0x1ba))/0x9)+parseInt(_0xc830bc(0x1bf))/0xa;if(_0x4f164f===_0x2cfa49)break;else _0x51aba5['push'](_0x51aba5['shift']());}catch(_0x3730da){_0x51aba5['push'](_0x51aba5['shift']());}}}(a255_0x5609,0x46242));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export async function reportCliHelpTrace(_0x2dc845,_0x4217d9){var _0xe2bb1a=a255_0x22a1;try{await sendCliTraceLog({'spanName':_0xe2bb1a(0x1c1),'logData':{'rabetbase.help.kind':_0x2dc845,..._0x4217d9?.['service']&&{'rabetbase.help.service':_0x4217d9[_0xe2bb1a(0x1b6)]}}});}catch(_0x16f30a){console[_0xe2bb1a(0x1c2)](_0xe2bb1a(0x1b9),_0x16f30a);}}
1
+ function a247_0xe929(_0x5ef621,_0xe09150){_0x5ef621=_0x5ef621-0x1b0;var _0x16b1bd=a247_0x16b1();var _0xe929a0=_0x16b1bd[_0x5ef621];return _0xe929a0;}(function(_0x72ee3e,_0x12f807){var _0x2417f0=a247_0xe929,_0x15bb2e=_0x72ee3e();while(!![]){try{var _0x443b29=parseInt(_0x2417f0(0x1b4))/0x1+parseInt(_0x2417f0(0x1b2))/0x2+parseInt(_0x2417f0(0x1bb))/0x3*(parseInt(_0x2417f0(0x1bc))/0x4)+parseInt(_0x2417f0(0x1b8))/0x5*(parseInt(_0x2417f0(0x1b6))/0x6)+parseInt(_0x2417f0(0x1b9))/0x7*(parseInt(_0x2417f0(0x1b0))/0x8)+parseInt(_0x2417f0(0x1b7))/0x9+-parseInt(_0x2417f0(0x1b1))/0xa*(parseInt(_0x2417f0(0x1ba))/0xb);if(_0x443b29===_0x12f807)break;else _0x15bb2e['push'](_0x15bb2e['shift']());}catch(_0x3427f0){_0x15bb2e['push'](_0x15bb2e['shift']());}}}(a247_0x16b1,0x20f7b));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';function a247_0x16b1(){var _0x38cd90=['2045943dtOYaR','263665ZVRfPr','42CNhTlN','11TPddwd','262296kmCyPJ','8uFLbbI','error','166456zNbQUO','7086560JkmeMp','268898jORqZa','cli.help','24010HXLtnL','service','18vABEnj'];a247_0x16b1=function(){return _0x38cd90;};return a247_0x16b1();}export async function reportCliHelpTrace(_0x141385,_0xefee7b){var _0x250e65=a247_0xe929;try{await sendCliTraceLog({'spanName':_0x250e65(0x1b3),'logData':{'rabetbase.help.kind':_0x141385,..._0xefee7b?.['service']&&{'rabetbase.help.service':_0xefee7b[_0x250e65(0x1b5)]}}});}catch(_0x43ba22){console[_0x250e65(0x1bd)]('Failed\x20to\x20report\x20CLI\x20help\x20trace:',_0x43ba22);}}
@@ -1 +1 @@
1
- function a256_0x2ca2(_0x1a6e4c,_0x178964){_0x1a6e4c=_0x1a6e4c-0x146;const _0x180bbc=a256_0x180b();let _0x2ca2be=_0x180bbc[_0x1a6e4c];return _0x2ca2be;}(function(_0x20a786,_0x5665cf){const _0x1ac9ff=a256_0x2ca2,_0x3ecd98=_0x20a786();while(!![]){try{const _0x44e59d=parseInt(_0x1ac9ff(0x148))/0x1+-parseInt(_0x1ac9ff(0x149))/0x2+parseInt(_0x1ac9ff(0x14c))/0x3*(-parseInt(_0x1ac9ff(0x147))/0x4)+parseInt(_0x1ac9ff(0x150))/0x5+parseInt(_0x1ac9ff(0x14b))/0x6+parseInt(_0x1ac9ff(0x14e))/0x7*(parseInt(_0x1ac9ff(0x14a))/0x8)+-parseInt(_0x1ac9ff(0x14d))/0x9;if(_0x44e59d===_0x5665cf)break;else _0x3ecd98['push'](_0x3ecd98['shift']());}catch(_0x4149d2){_0x3ecd98['push'](_0x3ecd98['shift']());}}}(a256_0x180b,0x83b5a));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 a256_0x180b(){const _0x29639f=['213072egYFzq','4198596PLMLGL','3iGpvmG','1138950sMbNXS','14hEbSQD','tenant_code','2066080fZBjMS','email','user','daily','username','nickname','tenant','1602892NNdsGH','864325Divxpq','1927640syzTfk'];a256_0x180b=function(){return _0x29639f;};return a256_0x180b();}import{NPM_PACKAGE_NAME}from'../constant/cli.js';import{getConfigAppCode}from'../utils/config.js';let cliOtelTraceInitialized=![];export async function ensureCliOtelTraceConfig(){const _0x139e94=a256_0x2ca2,_0x52e179=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x354c0d=_0x52e179?.[_0x139e94(0x152)];setServiceConfig({'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!=='unknown'?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?_0x139e94(0x153):'production')}),setUserContext({'id':_0x354c0d?.['id'],'username':_0x354c0d?.[_0x139e94(0x154)],'nickname':_0x354c0d?.[_0x139e94(0x155)],'email':_0x354c0d?.[_0x139e94(0x151)],'tenantCode':_0x354c0d?.[_0x139e94(0x146)]?.[_0x139e94(0x14f)],'appCode':getConfigAppCode()}),cliOtelTraceInitialized=!![];}return _0x52e179;}
1
+ (function(_0x155195,_0x34053a){const _0x291852=a248_0xfbb6,_0x2b3073=_0x155195();while(!![]){try{const _0x1b7d28=-parseInt(_0x291852(0x1c8))/0x1+parseInt(_0x291852(0x1d1))/0x2*(-parseInt(_0x291852(0x1d5))/0x3)+parseInt(_0x291852(0x1c7))/0x4+-parseInt(_0x291852(0x1ce))/0x5+parseInt(_0x291852(0x1cb))/0x6*(-parseInt(_0x291852(0x1d4))/0x7)+parseInt(_0x291852(0x1d3))/0x8+parseInt(_0x291852(0x1d0))/0x9;if(_0x1b7d28===_0x34053a)break;else _0x2b3073['push'](_0x2b3073['shift']());}catch(_0x5ee66d){_0x2b3073['push'](_0x2b3073['shift']());}}}(a248_0x2a20,0xdc61f));function a248_0x2a20(){const _0x586b9a=['499670cJBLKp','tenant','username','1080UCwFQe','production','user','1238415bFWcrX','nickname','15461127xvNHyY','1224152EbAwNJ','email','7483728wVhBqH','65261fxwPog','3AckRTl','5147548oEErmV'];a248_0x2a20=function(){return _0x586b9a;};return a248_0x2a20();}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';function a248_0xfbb6(_0x306075,_0x176781){_0x306075=_0x306075-0x1c7;const _0x2a202f=a248_0x2a20();let _0xfbb68b=_0x2a202f[_0x306075];return _0xfbb68b;}import{getConfigAppCode}from'../utils/config.js';let cliOtelTraceInitialized=![];export async function ensureCliOtelTraceConfig(){const _0x5cb885=a248_0xfbb6,_0x35ed58=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x2ac7e5=_0x35ed58?.[_0x5cb885(0x1cd)];setServiceConfig({'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!=='unknown'?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?'daily':_0x5cb885(0x1cc))}),setUserContext({'id':_0x2ac7e5?.['id'],'username':_0x2ac7e5?.[_0x5cb885(0x1ca)],'nickname':_0x2ac7e5?.[_0x5cb885(0x1cf)],'email':_0x2ac7e5?.[_0x5cb885(0x1d2)],'tenantCode':_0x2ac7e5?.[_0x5cb885(0x1c9)]?.['tenant_code'],'appCode':getConfigAppCode()}),cliOtelTraceInitialized=!![];}return _0x35ed58;}
@@ -1 +1 @@
1
- function a257_0x521e(_0x32641c,_0x1d70e2){_0x32641c=_0x32641c-0x151;const _0x314215=a257_0x3142();let _0x521ece=_0x314215[_0x32641c];return _0x521ece;}(function(_0x5d563a,_0x2aafe0){const _0x5793ca=a257_0x521e,_0x25442c=_0x5d563a();while(!![]){try{const _0x23d158=parseInt(_0x5793ca(0x152))/0x1+-parseInt(_0x5793ca(0x15e))/0x2*(-parseInt(_0x5793ca(0x157))/0x3)+parseInt(_0x5793ca(0x155))/0x4+-parseInt(_0x5793ca(0x158))/0x5*(-parseInt(_0x5793ca(0x154))/0x6)+parseInt(_0x5793ca(0x151))/0x7+parseInt(_0x5793ca(0x156))/0x8*(parseInt(_0x5793ca(0x153))/0x9)+-parseInt(_0x5793ca(0x15c))/0xa*(parseInt(_0x5793ca(0x159))/0xb);if(_0x23d158===_0x2aafe0)break;else _0x25442c['push'](_0x25442c['shift']());}catch(_0x75dae4){_0x25442c['push'](_0x25442c['shift']());}}}(a257_0x3142,0xdcc96));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 _0x163625=a257_0x521e;process[_0x163625(0x15a)](_0x163625(0x15d),()=>{void flushOtelNodeIfUsed();});const _0x2b9981=()=>{const _0x5776bc=_0x163625;void flushOtelNodeIfUsed()[_0x5776bc(0x15b)](()=>process['exit'](0x0));};process['once'](_0x163625(0x15f),_0x2b9981),process[_0x163625(0x15a)]('SIGTERM',_0x2b9981);}export async function exitWithOtelShutdown(_0x8b4e85){await flushOtelNodeIfUsed(),process['exit'](_0x8b4e85);}function a257_0x3142(){const _0x3acb91=['beforeExit','273044bZEcEN','SIGINT','3663492vhZVdA','430732GguRqX','144DEAmTD','18czVvZD','6126368ANXsWm','902160RLCSVE','6ZZlbSa','1666735VklLtz','7513qgxPsY','once','then','68210DuDzoo'];a257_0x3142=function(){return _0x3acb91;};return a257_0x3142();}
1
+ function a249_0x2b05(){const _0x4fa2ae=['exit','SIGINT','3429923mLgufo','102VvRXZe','672FHiUKl','183999FzKBsy','beforeExit','SIGTERM','192TRlmzm','8241840CaJvhv','5580460CnEueq','328695SmOALq','22vifcng','2166712FQIxHu','once','10iNJogy','then'];a249_0x2b05=function(){return _0x4fa2ae;};return a249_0x2b05();}function a249_0x5353(_0x4b9007,_0x3d2445){_0x4b9007=_0x4b9007-0xf8;const _0x2b05ba=a249_0x2b05();let _0x535375=_0x2b05ba[_0x4b9007];return _0x535375;}(function(_0x493f78,_0x2e4ddd){const _0x1905d3=a249_0x5353,_0x3720a2=_0x493f78();while(!![]){try{const _0x88e0f2=-parseInt(_0x1905d3(0x102))/0x1*(parseInt(_0x1905d3(0xfb))/0x2)+-parseInt(_0x1905d3(0x105))/0x3*(parseInt(_0x1905d3(0x101))/0x4)+parseInt(_0x1905d3(0x108))/0x5*(parseInt(_0x1905d3(0x100))/0x6)+parseInt(_0x1905d3(0xff))/0x7+-parseInt(_0x1905d3(0xf9))/0x8+-parseInt(_0x1905d3(0x106))/0x9+-parseInt(_0x1905d3(0x107))/0xa*(-parseInt(_0x1905d3(0xf8))/0xb);if(_0x88e0f2===_0x2e4ddd)break;else _0x3720a2['push'](_0x3720a2['shift']());}catch(_0x252645){_0x3720a2['push'](_0x3720a2['shift']());}}}(a249_0x2b05,0x9405a));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 _0x4082d2=a249_0x5353;process[_0x4082d2(0xfa)](_0x4082d2(0x103),()=>{void flushOtelNodeIfUsed();});const _0x2bdb3c=()=>{const _0x2d616e=_0x4082d2;void flushOtelNodeIfUsed()[_0x2d616e(0xfc)](()=>process[_0x2d616e(0xfd)](0x0));};process['once'](_0x4082d2(0xfe),_0x2bdb3c),process['once'](_0x4082d2(0x104),_0x2bdb3c);}export async function exitWithOtelShutdown(_0x4f4b3b){const _0x33d9b0=a249_0x5353;await flushOtelNodeIfUsed(),process[_0x33d9b0(0xfd)](_0x4f4b3b);}
@@ -1 +1 @@
1
- const a258_0x3f62f8=a258_0x257d;function a258_0x31ba(){const _0x43e267=['914200MLqABA','6lOdAEw','2Fircbq','439330vJCtDT','logData','version','8unwxRP','1282809kcoGbR','90LsSFlk','traceName','rabetbase-cli','12rdhkzN','spanName','952095cmbGbg','traceparent','7783153pBBFJm','6248555ccMCGK','313843GNzIhN'];a258_0x31ba=function(){return _0x43e267;};return a258_0x31ba();}(function(_0x3460cf,_0x158342){const _0x364c9f=a258_0x257d,_0x181d00=_0x3460cf();while(!![]){try{const _0x26fa11=parseInt(_0x364c9f(0x19a))/0x1*(parseInt(_0x364c9f(0x19d))/0x2)+parseInt(_0x364c9f(0x1a8))/0x3*(-parseInt(_0x364c9f(0x1a1))/0x4)+parseInt(_0x364c9f(0x1ab))/0x5*(parseInt(_0x364c9f(0x19c))/0x6)+-parseInt(_0x364c9f(0x1aa))/0x7+parseInt(_0x364c9f(0x19b))/0x8*(parseInt(_0x364c9f(0x1a3))/0x9)+-parseInt(_0x364c9f(0x19e))/0xa+parseInt(_0x364c9f(0x1a2))/0xb*(-parseInt(_0x364c9f(0x1a6))/0xc);if(_0x26fa11===_0x158342)break;else _0x181d00['push'](_0x181d00['shift']());}catch(_0x2410fa){_0x181d00['push'](_0x181d00['shift']());}}}(a258_0x31ba,0xc31a7));import{sendTraceLog}from'@lovrabet/otel-logger';import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';import{getCliVersion}from'../utils/version.js';function a258_0x257d(_0x5b17bf,_0xe333a8){_0x5b17bf=_0x5b17bf-0x19a;const _0x31ba41=a258_0x31ba();let _0x257d78=_0x31ba41[_0x5b17bf];return _0x257d78;}const DEFAULT_TRACE_NAME=a258_0x3f62f8(0x1a5);export async function sendCliTraceLog(_0x36490b){const _0xf5b780=a258_0x3f62f8;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x36490b[_0xf5b780(0x1a4)]??DEFAULT_TRACE_NAME,'version':_0x36490b[_0xf5b780(0x1a0)]??getCliVersion(),'spanName':_0x36490b[_0xf5b780(0x1a7)],'eventType':'manual','logData':_0x36490b[_0xf5b780(0x19f)],..._0x36490b[_0xf5b780(0x1a9)]&&{'traceparent':_0x36490b[_0xf5b780(0x1a9)]}});}
1
+ function a250_0x57c4(){const _0x5c91a8=['1402158PlOWip','959679JZmfmO','9maAryP','133736gLSevi','traceName','manual','642480LmAUAm','34975fgBopR','1HCSksq','429eJhihJ','12nLMikK','6927790yuUIFc','spanName','77JKAEiO','traceparent','2128764kWttLN','logData'];a250_0x57c4=function(){return _0x5c91a8;};return a250_0x57c4();}(function(_0x27565f,_0x39d891){const _0x389853=a250_0x250f,_0x439de0=_0x27565f();while(!![]){try{const _0xeeac8e=parseInt(_0x389853(0xfd))/0x1*(parseInt(_0x389853(0x106))/0x2)+parseInt(_0x389853(0x107))/0x3+parseInt(_0x389853(0x104))/0x4+parseInt(_0x389853(0x10d))/0x5*(parseInt(_0x389853(0xff))/0x6)+-parseInt(_0x389853(0x102))/0x7*(-parseInt(_0x389853(0x109))/0x8)+parseInt(_0x389853(0x108))/0x9*(parseInt(_0x389853(0x100))/0xa)+parseInt(_0x389853(0xfe))/0xb*(-parseInt(_0x389853(0x10c))/0xc);if(_0xeeac8e===_0x39d891)break;else _0x439de0['push'](_0x439de0['shift']());}catch(_0x1f3cfe){_0x439de0['push'](_0x439de0['shift']());}}}(a250_0x57c4,0x56daf));import{sendTraceLog}from'@lovrabet/otel-logger';import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';function a250_0x250f(_0x16383c,_0x1cf45c){_0x16383c=_0x16383c-0xfd;const _0x57c4c3=a250_0x57c4();let _0x250f10=_0x57c4c3[_0x16383c];return _0x250f10;}import{getCliVersion}from'../utils/version.js';const DEFAULT_TRACE_NAME='rabetbase-cli';export async function sendCliTraceLog(_0x3299cc){const _0x34b6eb=a250_0x250f;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x3299cc[_0x34b6eb(0x10a)]??DEFAULT_TRACE_NAME,'version':_0x3299cc['version']??getCliVersion(),'spanName':_0x3299cc[_0x34b6eb(0x101)],'eventType':_0x34b6eb(0x10b),'logData':_0x3299cc[_0x34b6eb(0x105)],..._0x3299cc['traceparent']&&{'traceparent':_0x3299cc[_0x34b6eb(0x103)]}});}
@@ -1 +1 @@
1
- const a259_0x4327c1=a259_0x7650;function a259_0x7650(_0x5567c1,_0x5b92c1){_0x5567c1=_0x5567c1-0x122;const _0x31892e=a259_0x3189();let _0x76500e=_0x31892e[_0x5567c1];return _0x76500e;}(function(_0x1ce5de,_0x2fe20f){const _0x2101dc=a259_0x7650,_0x5cd074=_0x1ce5de();while(!![]){try{const _0x41b565=-parseInt(_0x2101dc(0x12c))/0x1+-parseInt(_0x2101dc(0x12b))/0x2*(parseInt(_0x2101dc(0x125))/0x3)+-parseInt(_0x2101dc(0x12f))/0x4+-parseInt(_0x2101dc(0x12a))/0x5+parseInt(_0x2101dc(0x12e))/0x6*(-parseInt(_0x2101dc(0x127))/0x7)+parseInt(_0x2101dc(0x128))/0x8+parseInt(_0x2101dc(0x124))/0x9;if(_0x41b565===_0x2fe20f)break;else _0x5cd074['push'](_0x5cd074['shift']());}catch(_0x304f61){_0x5cd074['push'](_0x5cd074['shift']());}}}(a259_0x3189,0x5af95));function a259_0x3189(){const _0x495e44=['originalBytes','2061095NWJQRy','112006xRRxvW','577639TGxvBC','join','12pPFcYo','487712hlZxeX','redactionCount','sanitize','description','platform-issue-log-collect','17975322esPtSv','9CmQbWi','truncated','1891862aTrvZx','1565584ptznfn'];a259_0x3189=function(){return _0x495e44;};return a259_0x3189();}import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export const PLATFORM_ISSUE_TRACE_NAME=a259_0x4327c1(0x123);export const PLATFORM_ISSUE_SPAN_NAME='issue.log.collect';export async function sendPlatformIssueCollectLog(_0x3b20ed){const _0x109d1c=a259_0x4327c1;await sendCliTraceLog({'traceName':PLATFORM_ISSUE_TRACE_NAME,'spanName':PLATFORM_ISSUE_SPAN_NAME,'logData':{'issue.title':_0x3b20ed['title'],'issue.description':_0x3b20ed[_0x109d1c(0x122)],..._0x3b20ed[_0x109d1c(0x131)]?{'issue.description_original_bytes':_0x3b20ed['sanitize'][_0x109d1c(0x129)],'issue.description_truncated':_0x3b20ed['sanitize'][_0x109d1c(0x126)],'issue.description_redactions':_0x3b20ed[_0x109d1c(0x131)][_0x109d1c(0x130)],'issue.description_redaction_kinds':_0x3b20ed[_0x109d1c(0x131)]['redactionKinds'][_0x109d1c(0x12d)](',')}:{}}});}
1
+ const a251_0x421ce0=a251_0x351f;(function(_0x2af454,_0x426898){const _0x5889a0=a251_0x351f,_0x395e11=_0x2af454();while(!![]){try{const _0x1b6cb5=parseInt(_0x5889a0(0x9d))/0x1*(-parseInt(_0x5889a0(0xa5))/0x2)+-parseInt(_0x5889a0(0xa0))/0x3+-parseInt(_0x5889a0(0xa3))/0x4*(-parseInt(_0x5889a0(0x9a))/0x5)+parseInt(_0x5889a0(0xa2))/0x6*(-parseInt(_0x5889a0(0x98))/0x7)+parseInt(_0x5889a0(0x9b))/0x8+parseInt(_0x5889a0(0xa1))/0x9+parseInt(_0x5889a0(0xa8))/0xa*(parseInt(_0x5889a0(0x99))/0xb);if(_0x1b6cb5===_0x426898)break;else _0x395e11['push'](_0x395e11['shift']());}catch(_0x3fa9ae){_0x395e11['push'](_0x395e11['shift']());}}}(a251_0x5dc8,0x8ccca));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';function a251_0x5dc8(){const _0x37a86b=['33qxejbk','5644965NAehRs','3839248xfuOOr','join','14169iNAYrp','sanitize','title','3458742KqGntd','2417490MXKZjI','303204XlLTfk','4smMNop','platform-issue-log-collect','152fjxUUC','redactionKinds','description','3264990xugGVw','redactionCount','7aQuzGP'];a251_0x5dc8=function(){return _0x37a86b;};return a251_0x5dc8();}export const PLATFORM_ISSUE_TRACE_NAME=a251_0x421ce0(0xa4);export const PLATFORM_ISSUE_SPAN_NAME='issue.log.collect';function a251_0x351f(_0x52d99e,_0x2698b7){_0x52d99e=_0x52d99e-0x98;const _0x5dc8b3=a251_0x5dc8();let _0x351fa5=_0x5dc8b3[_0x52d99e];return _0x351fa5;}export async function sendPlatformIssueCollectLog(_0x4204f7){const _0x1c65d4=a251_0x421ce0;await sendCliTraceLog({'traceName':PLATFORM_ISSUE_TRACE_NAME,'spanName':PLATFORM_ISSUE_SPAN_NAME,'logData':{'issue.title':_0x4204f7[_0x1c65d4(0x9f)],'issue.description':_0x4204f7[_0x1c65d4(0xa7)],..._0x4204f7['sanitize']?{'issue.description_original_bytes':_0x4204f7[_0x1c65d4(0x9e)]['originalBytes'],'issue.description_truncated':_0x4204f7[_0x1c65d4(0x9e)]['truncated'],'issue.description_redactions':_0x4204f7[_0x1c65d4(0x9e)][_0x1c65d4(0xa9)],'issue.description_redaction_kinds':_0x4204f7[_0x1c65d4(0x9e)][_0x1c65d4(0xa6)][_0x1c65d4(0x9c)](',')}:{}}});}
@@ -1 +1 @@
1
- const a261_0x4ad43f=a261_0x5962;function a261_0x5962(_0x302e8a,_0x56e998){_0x302e8a=_0x302e8a-0x1b5;const _0x1101bc=a261_0x1101();let _0x596290=_0x1101bc[_0x302e8a];return _0x596290;}(function(_0x88032d,_0x86cc20){const _0x396944=a261_0x5962,_0x4b57b2=_0x88032d();while(!![]){try{const _0x55797f=parseInt(_0x396944(0x1ce))/0x1+parseInt(_0x396944(0x1d7))/0x2+-parseInt(_0x396944(0x1e7))/0x3+parseInt(_0x396944(0x1ed))/0x4+-parseInt(_0x396944(0x1e5))/0x5+parseInt(_0x396944(0x1cd))/0x6*(-parseInt(_0x396944(0x1eb))/0x7)+-parseInt(_0x396944(0x1e3))/0x8;if(_0x55797f===_0x86cc20)break;else _0x4b57b2['push'](_0x4b57b2['shift']());}catch(_0x38be12){_0x4b57b2['push'](_0x4b57b2['shift']());}}}(a261_0x1101,0x89dc0));export const CORE_IDE_CONFIGS={'cursor':{'name':a261_0x4ad43f(0x1b7),'description':a261_0x4ad43f(0x1c6),'folders':[a261_0x4ad43f(0x1d9),a261_0x4ad43f(0x1ba)],'files':[{'type':a261_0x4ad43f(0x1de),'path':a261_0x4ad43f(0x1d8),'template':a261_0x4ad43f(0x1dd)}]},'windsurf':{'name':a261_0x4ad43f(0x1ec),'description':a261_0x4ad43f(0x1ca),'folders':['.windsurf'],'files':[{'type':a261_0x4ad43f(0x1de),'path':a261_0x4ad43f(0x1c9),'template':'SKILL.md.tpl'}]},'claude':{'name':a261_0x4ad43f(0x1ee),'description':a261_0x4ad43f(0x1ee),'folders':[a261_0x4ad43f(0x1bb)],'files':[{'type':a261_0x4ad43f(0x1de),'path':a261_0x4ad43f(0x1cb),'template':a261_0x4ad43f(0x1dd)}]},'cline':{'name':a261_0x4ad43f(0x1da),'description':a261_0x4ad43f(0x1e2),'folders':[a261_0x4ad43f(0x1b9)],'files':[{'type':a261_0x4ad43f(0x1de),'path':a261_0x4ad43f(0x1cc),'template':a261_0x4ad43f(0x1dd)}]},'codex':{'name':a261_0x4ad43f(0x1e4),'description':a261_0x4ad43f(0x1bd),'folders':[a261_0x4ad43f(0x1dc)],'files':[{'type':a261_0x4ad43f(0x1de),'path':a261_0x4ad43f(0x1d2),'template':a261_0x4ad43f(0x1dd)}]},'opencode':{'name':a261_0x4ad43f(0x1c2),'description':a261_0x4ad43f(0x1be),'folders':[a261_0x4ad43f(0x1c5)],'files':[{'type':a261_0x4ad43f(0x1de),'path':a261_0x4ad43f(0x1b8),'template':'SKILL.md.tpl'}]},'qoder':{'name':a261_0x4ad43f(0x1c3),'description':'Qoder\x20IDE','folders':[a261_0x4ad43f(0x1d0)],'files':[{'type':a261_0x4ad43f(0x1de),'path':a261_0x4ad43f(0x1d3),'template':a261_0x4ad43f(0x1dd)},{'type':a261_0x4ad43f(0x1de),'path':a261_0x4ad43f(0x1e9),'template':a261_0x4ad43f(0x1dd)}]},'codebuddy':{'name':a261_0x4ad43f(0x1d4),'description':a261_0x4ad43f(0x1db),'folders':[a261_0x4ad43f(0x1c4)],'files':[{'type':a261_0x4ad43f(0x1de),'path':'.codebuddy/skills/lovrabet/SKILL.md','template':a261_0x4ad43f(0x1dd)}]},'trae':{'name':a261_0x4ad43f(0x1d5),'description':a261_0x4ad43f(0x1b6),'folders':['.trae'],'files':[{'type':a261_0x4ad43f(0x1de),'path':a261_0x4ad43f(0x1c1),'template':a261_0x4ad43f(0x1dd)}]}};function a261_0x1101(){const _0x365604=['qoder','Trae\x20IDE','Cursor','.opencode/skills/lovrabet/SKILL.md','.cline','.cursor','.claude','antigravity','Codex\x20IDE','OpenCode\x20IDE','其他\x20(通用模板)','windsurf','.trae/skills/lovrabet/SKILL.md','OpenCode','Qoder','.codebuddy','.opencode','Cursor\x20IDE','Antigravity\x20IDE','opencode','.windsurf/workflows/rabetbase.md','Windsurf\x20IDE','.claude/skills/lovrabet/SKILL.md','.cline/skills/lovrabet/SKILL.md','594474ZDgOZg','1032809XqlgPE','.agent','.qoder','.agent/skills/lovrabet/SKILL.md','.codex/skills/lovrabet/SKILL.md','.qoder/rules/rabetbase.md','CodeBuddy','Trae','codex','2251374IBxAea','.cursor/skills/rabetbase.md','.cursorrules','Cline','CodeBuddy\x20IDE','.codex','SKILL.md.tpl','file','Antigravity','trae','cursor','Cline\x20IDE','7049544dLtbJK','Codex','1387865XrCIAZ','cline','640536UBdoqX','codebuddy','.qoder/skills/lovrabet/SKILL.md','claude','28ljUfYr','Windsurf','699080MojvsY','Claude\x20Code'];a261_0x1101=function(){return _0x365604;};return a261_0x1101();}export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':a261_0x4ad43f(0x1bf),'description':'通用模板\x20-\x20兜底方案','folders':[a261_0x4ad43f(0x1cf)],'files':[{'type':a261_0x4ad43f(0x1de),'path':a261_0x4ad43f(0x1d1),'template':a261_0x4ad43f(0x1dd)}]},'antigravity':{'name':a261_0x4ad43f(0x1df),'description':a261_0x4ad43f(0x1c7),'folders':[a261_0x4ad43f(0x1cf)],'files':[{'type':a261_0x4ad43f(0x1de),'path':'.agent/skills/lovrabet/SKILL.md','template':'SKILL.md.tpl'}]}};export const CORE_IDE_LIST=[a261_0x4ad43f(0x1ea),a261_0x4ad43f(0x1e6),a261_0x4ad43f(0x1e8),'codex',a261_0x4ad43f(0x1e1),a261_0x4ad43f(0x1c8),a261_0x4ad43f(0x1b5),a261_0x4ad43f(0x1e0),a261_0x4ad43f(0x1c0)];export const IDE_LIST=[a261_0x4ad43f(0x1bc),a261_0x4ad43f(0x1ea),a261_0x4ad43f(0x1e6),a261_0x4ad43f(0x1e8),a261_0x4ad43f(0x1d6),'cursor',a261_0x4ad43f(0x1c8),'qoder',a261_0x4ad43f(0x1e0),a261_0x4ad43f(0x1c0),'agent'];export const ALL_CORE_IDES=[a261_0x4ad43f(0x1e1),a261_0x4ad43f(0x1c0),a261_0x4ad43f(0x1ea),'cline',a261_0x4ad43f(0x1d6),'opencode','qoder','codebuddy',a261_0x4ad43f(0x1e0)];
1
+ const a253_0x3f9b5c=a253_0x4aa6;(function(_0x40b25f,_0x577466){const _0x4e3270=a253_0x4aa6,_0x40b14c=_0x40b25f();while(!![]){try{const _0x20b782=parseInt(_0x4e3270(0x141))/0x1*(parseInt(_0x4e3270(0x132))/0x2)+parseInt(_0x4e3270(0x140))/0x3*(parseInt(_0x4e3270(0x120))/0x4)+-parseInt(_0x4e3270(0x113))/0x5*(parseInt(_0x4e3270(0x134))/0x6)+-parseInt(_0x4e3270(0x118))/0x7+-parseInt(_0x4e3270(0x133))/0x8*(parseInt(_0x4e3270(0x12f))/0x9)+-parseInt(_0x4e3270(0x11d))/0xa+-parseInt(_0x4e3270(0x116))/0xb*(-parseInt(_0x4e3270(0x119))/0xc);if(_0x20b782===_0x577466)break;else _0x40b14c['push'](_0x40b14c['shift']());}catch(_0x51e299){_0x40b14c['push'](_0x40b14c['shift']());}}}(a253_0xc508,0x5cfdc));function a253_0xc508(){const _0x41b15a=['9wtZIrd','windsurf','.qoder/skills/lovrabet/SKILL.md','1602ziUTbX','1904248iEXGrg','240xAwASy','Antigravity','Claude\x20Code','CodeBuddy','.codex','opencode','.cline','qoder','cline','Codex','.cursor/skills/rabetbase.md','claude','78KxMGhP','512TGQrKx','Windsurf\x20IDE','.trae/skills/lovrabet/SKILL.md','OpenCode','Cursor','SKILL.md.tpl','Trae','.agent','24205WBnpZm','.claude/skills/lovrabet/SKILL.md','Cursor\x20IDE','539DGmbdY','codebuddy','772611tcDMpa','178884EfvYsh','file','Windsurf','codex','4248390GARvIH','.qoder/rules/rabetbase.md','OpenCode\x20IDE','31880fBpicK','.trae','trae','.codex/skills/lovrabet/SKILL.md','Qoder','.windsurf/workflows/rabetbase.md','.codebuddy/skills/lovrabet/SKILL.md','CodeBuddy\x20IDE','cursor','其他\x20(通用模板)','agent','Cline','Codex\x20IDE','Antigravity\x20IDE','.claude'];a253_0xc508=function(){return _0x41b15a;};return a253_0xc508();}export const CORE_IDE_CONFIGS={'cursor':{'name':a253_0x3f9b5c(0x10f),'description':a253_0x3f9b5c(0x115),'folders':['.cursorrules','.cursor'],'files':[{'type':a253_0x3f9b5c(0x11a),'path':a253_0x3f9b5c(0x13e),'template':a253_0x3f9b5c(0x110)}]},'windsurf':{'name':a253_0x3f9b5c(0x11b),'description':a253_0x3f9b5c(0x10c),'folders':['.windsurf'],'files':[{'type':'file','path':a253_0x3f9b5c(0x125),'template':a253_0x3f9b5c(0x110)}]},'claude':{'name':'Claude\x20Code','description':a253_0x3f9b5c(0x136),'folders':[a253_0x3f9b5c(0x12e)],'files':[{'type':a253_0x3f9b5c(0x11a),'path':a253_0x3f9b5c(0x114),'template':a253_0x3f9b5c(0x110)}]},'cline':{'name':a253_0x3f9b5c(0x12b),'description':'Cline\x20IDE','folders':[a253_0x3f9b5c(0x13a)],'files':[{'type':'file','path':'.cline/skills/lovrabet/SKILL.md','template':a253_0x3f9b5c(0x110)}]},'codex':{'name':a253_0x3f9b5c(0x13d),'description':a253_0x3f9b5c(0x12c),'folders':[a253_0x3f9b5c(0x138)],'files':[{'type':a253_0x3f9b5c(0x11a),'path':a253_0x3f9b5c(0x123),'template':'SKILL.md.tpl'}]},'opencode':{'name':a253_0x3f9b5c(0x10e),'description':a253_0x3f9b5c(0x11f),'folders':['.opencode'],'files':[{'type':a253_0x3f9b5c(0x11a),'path':'.opencode/skills/lovrabet/SKILL.md','template':a253_0x3f9b5c(0x110)}]},'qoder':{'name':a253_0x3f9b5c(0x124),'description':'Qoder\x20IDE','folders':['.qoder'],'files':[{'type':'file','path':a253_0x3f9b5c(0x11e),'template':a253_0x3f9b5c(0x110)},{'type':'file','path':a253_0x3f9b5c(0x131),'template':'SKILL.md.tpl'}]},'codebuddy':{'name':a253_0x3f9b5c(0x137),'description':a253_0x3f9b5c(0x127),'folders':['.codebuddy'],'files':[{'type':a253_0x3f9b5c(0x11a),'path':a253_0x3f9b5c(0x126),'template':a253_0x3f9b5c(0x110)}]},'trae':{'name':a253_0x3f9b5c(0x111),'description':'Trae\x20IDE','folders':[a253_0x3f9b5c(0x121)],'files':[{'type':'file','path':a253_0x3f9b5c(0x10d),'template':a253_0x3f9b5c(0x110)}]}};function a253_0x4aa6(_0x4ebdcb,_0x25ab0e){_0x4ebdcb=_0x4ebdcb-0x10c;const _0xc50883=a253_0xc508();let _0x4aa6a5=_0xc50883[_0x4ebdcb];return _0x4aa6a5;}export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':a253_0x3f9b5c(0x129),'description':'通用模板\x20-\x20兜底方案','folders':[a253_0x3f9b5c(0x112)],'files':[{'type':'file','path':'.agent/skills/lovrabet/SKILL.md','template':a253_0x3f9b5c(0x110)}]},'antigravity':{'name':a253_0x3f9b5c(0x135),'description':a253_0x3f9b5c(0x12d),'folders':[a253_0x3f9b5c(0x112)],'files':[{'type':a253_0x3f9b5c(0x11a),'path':'.agent/skills/lovrabet/SKILL.md','template':a253_0x3f9b5c(0x110)}]}};export const CORE_IDE_LIST=[a253_0x3f9b5c(0x13f),a253_0x3f9b5c(0x13c),a253_0x3f9b5c(0x117),a253_0x3f9b5c(0x11c),a253_0x3f9b5c(0x128),'opencode',a253_0x3f9b5c(0x13b),a253_0x3f9b5c(0x122),a253_0x3f9b5c(0x130)];export const IDE_LIST=['antigravity','claude',a253_0x3f9b5c(0x13c),a253_0x3f9b5c(0x117),a253_0x3f9b5c(0x11c),a253_0x3f9b5c(0x128),a253_0x3f9b5c(0x139),'qoder',a253_0x3f9b5c(0x122),a253_0x3f9b5c(0x130),a253_0x3f9b5c(0x12a)];export const ALL_CORE_IDES=[a253_0x3f9b5c(0x128),a253_0x3f9b5c(0x130),'claude',a253_0x3f9b5c(0x13c),a253_0x3f9b5c(0x11c),a253_0x3f9b5c(0x139),a253_0x3f9b5c(0x13b),'codebuddy',a253_0x3f9b5c(0x122)];