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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (289) hide show
  1. package/README.md +2 -2
  2. package/lib/api/api-doc.js +1 -1
  3. package/lib/api/fetch-model-list.js +1 -1
  4. package/lib/api/generate-api-file.js +1 -1
  5. package/lib/auth/auth-server-ui.js +1 -1
  6. package/lib/auth/auth-server.js +1 -1
  7. package/lib/auth/constant.js +1 -1
  8. package/lib/auth/get-cookie.js +1 -1
  9. package/lib/auth/get-session-user.js +1 -1
  10. package/lib/auth/is-session-valid.js +1 -1
  11. package/lib/auth/login-success-html.js +1 -1
  12. package/lib/auth/logout.js +1 -1
  13. package/lib/cli-flags.js +1 -1
  14. package/lib/cli.js +1 -1
  15. package/lib/commands/api/generate.js +1 -1
  16. package/lib/commands/api/index.js +1 -1
  17. package/lib/commands/api/list.js +1 -1
  18. package/lib/commands/api/pull.js +1 -1
  19. package/lib/commands/api/shared.js +1 -1
  20. package/lib/commands/app/index.js +1 -1
  21. package/lib/commands/app/list.js +1 -1
  22. package/lib/commands/app/members-list.js +1 -0
  23. package/lib/commands/app/remote-directory.js +1 -1
  24. package/lib/commands/app/shared.js +1 -1
  25. package/lib/commands/app-config/delete.js +1 -1
  26. package/lib/commands/app-config/get.js +1 -1
  27. package/lib/commands/app-config/index.js +1 -1
  28. package/lib/commands/app-config/list.js +1 -1
  29. package/lib/commands/app-config/set.js +1 -1
  30. package/lib/commands/app-config/shared.js +1 -1
  31. package/lib/commands/auth/index.js +1 -1
  32. package/lib/commands/bff/create.js +1 -1
  33. package/lib/commands/bff/delete.js +1 -1
  34. package/lib/commands/bff/detail.js +1 -1
  35. package/lib/commands/bff/index.js +1 -1
  36. package/lib/commands/bff/list.js +1 -1
  37. package/lib/commands/bff/pull.js +1 -1
  38. package/lib/commands/bff/push.js +1 -1
  39. package/lib/commands/bff/status.js +1 -1
  40. package/lib/commands/cli-skill/index.js +1 -1
  41. package/lib/commands/cli-update.js +1 -1
  42. package/lib/commands/codegen/index.js +1 -1
  43. package/lib/commands/codegen/sdk.js +1 -1
  44. package/lib/commands/codegen/sql.js +1 -1
  45. package/lib/commands/common/app-registry.js +1 -1
  46. package/lib/commands/common/app-selector.js +1 -1
  47. package/lib/commands/common/async-task.js +1 -1
  48. package/lib/commands/common/dry-run.js +1 -1
  49. package/lib/commands/common/flags.js +1 -1
  50. package/lib/commands/common/local-file.js +1 -1
  51. package/lib/commands/common/validate.js +1 -1
  52. package/lib/commands/config/get.js +1 -1
  53. package/lib/commands/config/index.js +1 -1
  54. package/lib/commands/config/list.js +1 -1
  55. package/lib/commands/config/set.js +1 -1
  56. package/lib/commands/config/shared.js +1 -1
  57. package/lib/commands/data/filter.js +1 -1
  58. package/lib/commands/data/getOne.js +1 -1
  59. package/lib/commands/data/index.js +1 -1
  60. package/lib/commands/data/shared.js +1 -1
  61. package/lib/commands/dataset/business-group-update.js +1 -1
  62. package/lib/commands/dataset/capability.js +1 -1
  63. package/lib/commands/dataset/delete.js +1 -1
  64. package/lib/commands/dataset/detail.js +1 -1
  65. package/lib/commands/dataset/extend-update.js +1 -1
  66. package/lib/commands/dataset/field-update.js +1 -1
  67. package/lib/commands/dataset/generate.js +1 -1
  68. package/lib/commands/dataset/index.js +1 -1
  69. package/lib/commands/dataset/list.js +1 -1
  70. package/lib/commands/dataset/operations.js +1 -1
  71. package/lib/commands/dataset/relation-audit.js +1 -1
  72. package/lib/commands/dataset/relation-create.js +1 -1
  73. package/lib/commands/dataset/relation-delete.js +1 -1
  74. package/lib/commands/dataset/relation-shared.js +1 -1
  75. package/lib/commands/dataset/relation-update.js +1 -1
  76. package/lib/commands/dataset/relations.js +1 -1
  77. package/lib/commands/dataset/rename.js +1 -1
  78. package/lib/commands/dataset/restore.js +1 -1
  79. package/lib/commands/db/analysis-batching.js +1 -1
  80. package/lib/commands/db/analyze-batch-plan.js +1 -1
  81. package/lib/commands/db/analyze-cancel.js +1 -1
  82. package/lib/commands/db/analyze-start.js +1 -1
  83. package/lib/commands/db/analyze-status.js +1 -1
  84. package/lib/commands/db/create.js +1 -1
  85. package/lib/commands/db/delete.js +1 -1
  86. package/lib/commands/db/detail.js +1 -1
  87. package/lib/commands/db/diff.js +1 -1
  88. package/lib/commands/db/index.js +1 -1
  89. package/lib/commands/db/list.js +1 -1
  90. package/lib/commands/db/shared.js +1 -1
  91. package/lib/commands/db/tables.js +1 -1
  92. package/lib/commands/db/test.js +1 -1
  93. package/lib/commands/db/update.js +1 -1
  94. package/lib/commands/doctor.js +1 -1
  95. package/lib/commands/file/index.js +1 -1
  96. package/lib/commands/init/index.js +1 -1
  97. package/lib/commands/issue/index.js +1 -1
  98. package/lib/commands/issue/nudge.js +1 -1
  99. package/lib/commands/issue/report.js +1 -1
  100. package/lib/commands/issue/shared.js +1 -1
  101. package/lib/commands/kb/create.js +1 -1
  102. package/lib/commands/kb/delete.js +1 -1
  103. package/lib/commands/kb/detail.js +1 -1
  104. package/lib/commands/kb/index.js +1 -1
  105. package/lib/commands/kb/list.js +1 -1
  106. package/lib/commands/kb/shared.js +1 -1
  107. package/lib/commands/kb/update.js +1 -1
  108. package/lib/commands/logs/index.js +1 -1
  109. package/lib/commands/menu/asset-update.js +1 -1
  110. package/lib/commands/menu/delete.js +1 -1
  111. package/lib/commands/menu/external-link-create.js +1 -1
  112. package/lib/commands/menu/external-link-update.js +1 -1
  113. package/lib/commands/menu/group-create.js +1 -1
  114. package/lib/commands/menu/group-update.js +1 -1
  115. package/lib/commands/menu/index.js +1 -1
  116. package/lib/commands/menu/list.js +1 -1
  117. package/lib/commands/menu/move.js +1 -1
  118. package/lib/commands/menu/regroup-start.js +1 -1
  119. package/lib/commands/menu/rename.js +1 -1
  120. package/lib/commands/menu/shared/compare-table.js +1 -1
  121. package/lib/commands/menu/shared/delete-plan.js +1 -1
  122. package/lib/commands/menu/shared/facts.js +1 -1
  123. package/lib/commands/menu/shared/index.js +1 -1
  124. package/lib/commands/menu/shared/inquirer.js +1 -1
  125. package/lib/commands/menu/shared/local-pages.js +1 -1
  126. package/lib/commands/menu/shared/logic.js +1 -1
  127. package/lib/commands/menu/shared/mutations.js +1 -1
  128. package/lib/commands/menu/shared/service.js +1 -1
  129. package/lib/commands/menu/shared/sync-core.js +1 -1
  130. package/lib/commands/menu/shared/update-core.js +1 -1
  131. package/lib/commands/menu/shared/valid-url.js +1 -1
  132. package/lib/commands/menu/sync.js +1 -1
  133. package/lib/commands/notification/config-list.js +1 -1
  134. package/lib/commands/notification/index.js +1 -1
  135. package/lib/commands/ocr/index.js +1 -1
  136. package/lib/commands/page/generate-start.js +1 -1
  137. package/lib/commands/page/generate-status.js +1 -1
  138. package/lib/commands/page/index.js +1 -1
  139. package/lib/commands/page/pull.js +1 -1
  140. package/lib/commands/page/push.js +1 -1
  141. package/lib/commands/page/react/create.js +1 -0
  142. package/lib/commands/page/react/detail.js +1 -0
  143. package/lib/commands/page/react/list.js +1 -0
  144. package/lib/commands/page/react/publish.js +1 -0
  145. package/lib/commands/page/react/shared.js +1 -0
  146. package/lib/commands/page/react/syntax.js +1 -0
  147. package/lib/commands/page/react/template.js +1 -0
  148. package/lib/commands/page/react/update.js +1 -0
  149. package/lib/commands/page/relation-audit.js +1 -1
  150. package/lib/commands/page/restore.js +1 -1
  151. package/lib/commands/page/shared.js +1 -1
  152. package/lib/commands/page/standard-page-status.js +1 -1
  153. package/lib/commands/page/sync.js +1 -1
  154. package/lib/commands/permit/index.js +1 -1
  155. package/lib/commands/permit/page-get.js +1 -1
  156. package/lib/commands/permit/page-set.js +1 -1
  157. package/lib/commands/permit/role-apis-set.js +1 -1
  158. package/lib/commands/permit/role-menus-set.js +1 -1
  159. package/lib/commands/permit/role-menus.js +1 -1
  160. package/lib/commands/permit/shared.js +1 -1
  161. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  162. package/lib/commands/project/create/format-elapsed.js +1 -1
  163. package/lib/commands/project/create/main.js +1 -1
  164. package/lib/commands/project/create/non-interactive.js +1 -1
  165. package/lib/commands/project/create/project-template-path.js +1 -1
  166. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  167. package/lib/commands/project/create/use-format-code.js +1 -1
  168. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  169. package/lib/commands/project/index.js +1 -1
  170. package/lib/commands/project/upgrade.js +1 -1
  171. package/lib/commands/registry.js +1 -1
  172. package/lib/commands/role/create.js +1 -1
  173. package/lib/commands/role/delete.js +1 -1
  174. package/lib/commands/role/detail.js +1 -1
  175. package/lib/commands/role/index.js +1 -1
  176. package/lib/commands/role/list.js +1 -1
  177. package/lib/commands/role/shared.js +1 -1
  178. package/lib/commands/role/update.js +1 -1
  179. package/lib/commands/role/user-add.js +1 -1
  180. package/lib/commands/role/user-remove.js +1 -1
  181. package/lib/commands/role/user-resolve.js +1 -1
  182. package/lib/commands/run/index.js +1 -1
  183. package/lib/commands/schema.js +1 -1
  184. package/lib/commands/sql/create.js +1 -1
  185. package/lib/commands/sql/delete.js +1 -1
  186. package/lib/commands/sql/detail.js +1 -1
  187. package/lib/commands/sql/exec.js +1 -1
  188. package/lib/commands/sql/index.js +1 -1
  189. package/lib/commands/sql/list.js +1 -1
  190. package/lib/commands/sql/pull.js +1 -1
  191. package/lib/commands/sql/push.js +1 -1
  192. package/lib/commands/sql/shared.js +1 -1
  193. package/lib/commands/sql/status.js +1 -1
  194. package/lib/commands/sql/validate.js +1 -1
  195. package/lib/commands/task/index.js +1 -1
  196. package/lib/commands/task/status.js +1 -1
  197. package/lib/commands/tenant/index.js +1 -0
  198. package/lib/commands/tenant/members-list.js +1 -0
  199. package/lib/commands/tenant/shared.js +1 -0
  200. package/lib/commands/workspace/add.js +1 -1
  201. package/lib/commands/workspace/index.js +1 -1
  202. package/lib/commands/workspace/remove.js +1 -1
  203. package/lib/config/schema.js +1 -1
  204. package/lib/constant/cdn.js +1 -1
  205. package/lib/constant/cli.js +1 -1
  206. package/lib/constant/defaults.js +1 -1
  207. package/lib/constant/domain.js +1 -1
  208. package/lib/constant/env.js +1 -1
  209. package/lib/constant/output.js +1 -1
  210. package/lib/constant/paths.js +1 -1
  211. package/lib/constant/risk.js +1 -1
  212. package/lib/context/app-resolver.js +1 -1
  213. package/lib/context/auth-resolver.js +1 -1
  214. package/lib/context/config-loader.js +1 -1
  215. package/lib/context.js +1 -1
  216. package/lib/core/alias-resolver.js +1 -1
  217. package/lib/core/api-client.js +1 -1
  218. package/lib/core/bff/config.js +1 -1
  219. package/lib/core/bff/file-system.js +1 -1
  220. package/lib/core/bff/hash.js +1 -1
  221. package/lib/core/bff/lock.js +1 -1
  222. package/lib/core/bff/utils.js +1 -1
  223. package/lib/core/db-resolver.js +1 -1
  224. package/lib/core/page/file-system.js +1 -1
  225. package/lib/core/page/hash.js +1 -1
  226. package/lib/core/page/lock.js +1 -1
  227. package/lib/core/sql-index-auditor.js +1 -1
  228. package/lib/core/sql-sync/config.js +1 -1
  229. package/lib/core/sql-sync/file-system.js +1 -1
  230. package/lib/core/sql-sync/hash.js +1 -1
  231. package/lib/core/sql-sync/lock.js +1 -1
  232. package/lib/core/sql-sync/utils.js +1 -1
  233. package/lib/core/sql-validator.js +1 -1
  234. package/lib/errors.js +1 -1
  235. package/lib/framework/build-all-flags.js +1 -1
  236. package/lib/framework/error-output.js +1 -1
  237. package/lib/framework/explicit-yes.js +1 -1
  238. package/lib/framework/flags.js +1 -1
  239. package/lib/framework/help.js +1 -1
  240. package/lib/framework/index.js +1 -1
  241. package/lib/framework/output.js +1 -1
  242. package/lib/framework/response.js +1 -1
  243. package/lib/framework/runner-alias.js +1 -1
  244. package/lib/framework/runner.js +1 -1
  245. package/lib/framework/schema-export.js +1 -1
  246. package/lib/framework/types.js +1 -1
  247. package/lib/generated/build-info.js +1 -1
  248. package/lib/help.js +1 -1
  249. package/lib/skills/main.js +1 -1
  250. package/lib/skills/npx-skills-add.js +1 -1
  251. package/lib/skills/skill-presence.js +1 -1
  252. package/lib/telemetry/cli-command-trace.js +1 -1
  253. package/lib/telemetry/cli-help-trace.js +1 -1
  254. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  255. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  256. package/lib/telemetry/send-cli-trace-log.js +1 -1
  257. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  258. package/lib/utils/ai_config.js +1 -1
  259. package/lib/utils/apply-jq-filter.js +1 -1
  260. package/lib/utils/cdn-config.js +1 -1
  261. package/lib/utils/check-sdk-version.js +1 -1
  262. package/lib/utils/cli-version-check.js +1 -1
  263. package/lib/utils/cli-version-policy.js +1 -1
  264. package/lib/utils/config.js +1 -1
  265. package/lib/utils/copy-directory.js +1 -1
  266. package/lib/utils/entity-with-id.js +1 -1
  267. package/lib/utils/file-utils.js +1 -1
  268. package/lib/utils/guides-cdn.js +1 -1
  269. package/lib/utils/http-client.js +1 -1
  270. package/lib/utils/is-non-interactive.js +1 -1
  271. package/lib/utils/logger.js +1 -1
  272. package/lib/utils/params.js +1 -1
  273. package/lib/utils/platform.js +1 -1
  274. package/lib/utils/rules-cdn.js +1 -1
  275. package/lib/utils/sleep.js +1 -1
  276. package/lib/utils/template-replacer.js +1 -1
  277. package/lib/utils/update-notice.js +1 -1
  278. package/lib/utils/version.js +1 -1
  279. package/lib/utils/with-active-cookie.js +1 -1
  280. package/lib/utils/write-cli-side-channel.js +1 -1
  281. package/package.json +2 -2
  282. package/templates/projects/sub-app-react-demo/CHANGELOG.md +1 -1
  283. package/templates/projects/sub-app-react-demo/README.md +1 -1
  284. package/templates/projects/sub-app-react-demo/docs/quick-start.md +1 -1
  285. package/templates/projects/sub-app-react-demo/src/pages/index.tsx +1 -1
  286. package/lib/commands/app/add.js +0 -1
  287. package/lib/commands/app/remove.js +0 -1
  288. package/lib/commands/project/init.js +0 -1
  289. package/lib/commands/sql/save.js +0 -1
@@ -1 +1 @@
1
- (function(_0x4f24d3,_0x31e550){var _0x3bfb6f=a230_0xb03f,_0x6034e4=_0x4f24d3();while(!![]){try{var _0x3fd2a2=-parseInt(_0x3bfb6f(0x1c2))/0x1+parseInt(_0x3bfb6f(0x1c5))/0x2*(-parseInt(_0x3bfb6f(0x1bf))/0x3)+parseInt(_0x3bfb6f(0x1c3))/0x4*(-parseInt(_0x3bfb6f(0x1c6))/0x5)+-parseInt(_0x3bfb6f(0x1c0))/0x6+parseInt(_0x3bfb6f(0x1be))/0x7*(-parseInt(_0x3bfb6f(0x1bd))/0x8)+parseInt(_0x3bfb6f(0x1c4))/0x9+parseInt(_0x3bfb6f(0x1bc))/0xa;if(_0x3fd2a2===_0x31e550)break;else _0x6034e4['push'](_0x6034e4['shift']());}catch(_0xef602a){_0x6034e4['push'](_0x6034e4['shift']());}}}(a230_0x1cbd,0x2a080));import{resolveOutputConfig}from'@lovrabet/cli-framework';export function usesStructuredErrorOutput(_0x4deb18){return _0x4deb18?.['structuredErrors']===!![];}export function resolveErrorOutputFormat(_0x336ea7){var _0x564232=a230_0xb03f;if(!_0x336ea7[_0x564232(0x1c1)])return _0x336ea7[_0x564232(0x1c7)]??_0x564232(0x1c8);return resolveOutputConfig({'flags':_0x336ea7['flags']??{},'def':_0x336ea7[_0x564232(0x1c1)],'configDefault':_0x336ea7[_0x564232(0x1c7)]})['format'];}function a230_0xb03f(_0x4d7e94,_0x186e5e){_0x4d7e94=_0x4d7e94-0x1bc;var _0x1cbd35=a230_0x1cbd();var _0xb03f82=_0x1cbd35[_0x4d7e94];return _0xb03f82;}function a230_0x1cbd(){var _0x572f84=['920544GlfjTA','459450WPTkkU','def','248626JlHALX','160052cXBwhg','2318724vBUhmO','2PKkTFm','25jrYGMB','defaultFormat','compress','9902430xaaEwk','1948840vrcNNY','7SjClCC'];a230_0x1cbd=function(){return _0x572f84;};return a230_0x1cbd();}
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 +1 @@
1
- const a231_0x198daa=a231_0x1e80;(function(_0x51d7b6,_0x5c0d13){const _0xd41b9=a231_0x1e80,_0x2b26af=_0x51d7b6();while(!![]){try{const _0x5bd310=parseInt(_0xd41b9(0x109))/0x1*(parseInt(_0xd41b9(0x10e))/0x2)+-parseInt(_0xd41b9(0x108))/0x3*(parseInt(_0xd41b9(0x119))/0x4)+parseInt(_0xd41b9(0x116))/0x5+-parseInt(_0xd41b9(0x112))/0x6*(-parseInt(_0xd41b9(0x10f))/0x7)+-parseInt(_0xd41b9(0x113))/0x8+-parseInt(_0xd41b9(0x10c))/0x9*(-parseInt(_0xd41b9(0x10a))/0xa)+-parseInt(_0xd41b9(0x11b))/0xb;if(_0x5bd310===_0x5c0d13)break;else _0x2b26af['push'](_0x2b26af['shift']());}catch(_0x1bd640){_0x2b26af['push'](_0x2b26af['shift']());}}}(a231_0x14c5,0xa5a4a));const EXPLICIT_YES_COMMANDS=new Set([a231_0x198daa(0x105),a231_0x198daa(0x106),a231_0x198daa(0x104),a231_0x198daa(0x10d),'menu\x20group-update',a231_0x198daa(0x114),a231_0x198daa(0x115),a231_0x198daa(0x11a),a231_0x198daa(0x111),a231_0x198daa(0x10b)]);export const EXPLICIT_YES_FLAG_DESCRIPTION=a231_0x198daa(0x110);function a231_0x14c5(){const _0x29d15c=['menu\x20regroup-start','4028695TcoVrF','command','has','88AUgFgt','kb\x20create','3046285tIgBdO','menu\x20delete','menu\x20external-link-update','menu\x20rename','service','120693qRWlsI','7jTMyml','18530jVVUid','kb\x20delete','2340zTEncY','menu\x20group-create','60848LAsxCy','11921ppOyHS','Required\x20for\x20execution\x20after\x20reviewing\x20the\x20--dry-run\x20plan','kb\x20update','3006oBIvFG','4105592IRmzhz','menu\x20move'];a231_0x14c5=function(){return _0x29d15c;};return a231_0x14c5();}function a231_0x1e80(_0x3f388f,_0xc08d25){_0x3f388f=_0x3f388f-0x104;const _0x14c557=a231_0x14c5();let _0x1e80cb=_0x14c557[_0x3f388f];return _0x1e80cb;}export function requiresExplicitYes(_0x10fb1b){const _0x22ecbd=a231_0x198daa;return EXPLICIT_YES_COMMANDS[_0x22ecbd(0x118)](_0x10fb1b[_0x22ecbd(0x107)]+'\x20'+_0x10fb1b[_0x22ecbd(0x117)]);}
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 +1 @@
1
- const a232_0x245b92=a232_0x3e67;(function(_0x466a26,_0x27e553){const _0x3a241e=a232_0x3e67,_0x79e2e2=_0x466a26();while(!![]){try{const _0x2f88d2=parseInt(_0x3a241e(0x1a0))/0x1+parseInt(_0x3a241e(0x1a6))/0x2*(parseInt(_0x3a241e(0x1ab))/0x3)+-parseInt(_0x3a241e(0x1a8))/0x4+parseInt(_0x3a241e(0x1a7))/0x5*(parseInt(_0x3a241e(0x1a1))/0x6)+parseInt(_0x3a241e(0x1a9))/0x7+parseInt(_0x3a241e(0x1aa))/0x8*(-parseInt(_0x3a241e(0x1a2))/0x9)+parseInt(_0x3a241e(0x1a3))/0xa;if(_0x2f88d2===_0x27e553)break;else _0x79e2e2['push'](_0x79e2e2['shift']());}catch(_0x42fd41){_0x79e2e2['push'](_0x79e2e2['shift']());}}}(a232_0x161b,0x1e6e3));import{createFlagHelpers}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers[a232_0x245b92(0x1a5)];export const validateFlags=helpers[a232_0x245b92(0x1a4)];function a232_0x3e67(_0x4390a7,_0x79a91e){_0x4390a7=_0x4390a7-0x1a0;const _0x161bab=a232_0x161b();let _0x3e67ab=_0x161bab[_0x4390a7];return _0x3e67ab;}function a232_0x161b(){const _0x419e00=['154945HbRsxG','8kkpJDX','646389CzNkCV','120953QzfVnV','18VZSRPC','1684701zOTgyG','636950qTJgXw','validateFlags','parseFlags','2NZePLs','152510fnwqiD','807680ywDkkx'];a232_0x161b=function(){return _0x419e00;};return a232_0x161b();}
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 +1 @@
1
- const a233_0x32e77d=a233_0x237c;(function(_0x856415,_0x4d9ab4){const _0xa4013d=a233_0x237c,_0x478771=_0x856415();while(!![]){try{const _0x5e36a4=-parseInt(_0xa4013d(0x145))/0x1+parseInt(_0xa4013d(0x149))/0x2*(-parseInt(_0xa4013d(0x13c))/0x3)+-parseInt(_0xa4013d(0x13b))/0x4*(-parseInt(_0xa4013d(0x14a))/0x5)+-parseInt(_0xa4013d(0x147))/0x6+parseInt(_0xa4013d(0x143))/0x7+-parseInt(_0xa4013d(0x13e))/0x8*(-parseInt(_0xa4013d(0x144))/0x9)+parseInt(_0xa4013d(0x148))/0xa;if(_0x5e36a4===_0x4d9ab4)break;else _0x478771['push'](_0x478771['shift']());}catch(_0x2b55b7){_0x478771['push'](_0x478771['shift']());}}}(a233_0x5591,0xdab96));import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{requiresExplicitYes}from'../framework/explicit-yes.js';function a233_0x5591(){const _0x111241=['get','328LqjnkP','\x20[args]\x20[flags]','generateServiceHelp','generateCommandHelp','\x20workspace\x20init`\x20or\x20--appcode).','10347820HtcXly','86157KvBCVE','694938haNUIJ','Requires\x20explicit\x20--yes\x20for\x20execution;\x20use\x20--dry-run\x20to\x20preview.','7878258qnAMTb','20192220ACoVzB','2bBfwvd','35LbqOXG','generateFullHelp','Requires\x20--yes\x20to\x20confirm,\x20or\x20interactive\x20prompt.','42076lMDDQu','3179199PSIVwd'];a233_0x5591=function(){return _0x111241;};return a233_0x5591();}function a233_0x237c(_0xd5f505,_0x63b583){_0xd5f505=_0xd5f505-0x13a;const _0x559166=a233_0x5591();let _0x237c12=_0x559166[_0xd5f505];return _0x237c12;}const generators=createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x2aff0b=>serviceGroups[a233_0x32e77d(0x13d)](_0x2aff0b),'buildAllFlags':buildAllFlags,'appPrerequisiteText':'Requires\x20appcode\x20(set\x20via\x20`'+CLI_BIN_NAME+a233_0x32e77d(0x142),'serviceUsageSuffix':a233_0x32e77d(0x13f)});export function generateCommandHelp(_0x14ac3f){const _0x4b7e53=a233_0x32e77d,_0x425eaa=generators[_0x4b7e53(0x141)](_0x14ac3f);if(!requiresExplicitYes(_0x14ac3f))return _0x425eaa;return _0x425eaa['replace'](_0x4b7e53(0x13a),_0x4b7e53(0x146));}export const generateServiceHelp=generators[a233_0x32e77d(0x140)];export const generateFullHelp=generators[a233_0x32e77d(0x14b)];
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 +1 @@
1
- (function(_0x454ad9,_0x1ec99b){var _0xef70cc=a234_0x1087,_0x632b83=_0x454ad9();while(!![]){try{var _0x2905ed=-parseInt(_0xef70cc(0x14c))/0x1+-parseInt(_0xef70cc(0x14e))/0x2+parseInt(_0xef70cc(0x152))/0x3*(parseInt(_0xef70cc(0x14a))/0x4)+parseInt(_0xef70cc(0x14b))/0x5+-parseInt(_0xef70cc(0x14f))/0x6*(-parseInt(_0xef70cc(0x151))/0x7)+parseInt(_0xef70cc(0x14d))/0x8+parseInt(_0xef70cc(0x150))/0x9*(-parseInt(_0xef70cc(0x149))/0xa);if(_0x2905ed===_0x1ec99b)break;else _0x632b83['push'](_0x632b83['shift']());}catch(_0x2035a8){_0x632b83['push'](_0x632b83['shift']());}}}(a234_0xecac,0x8c612));function a234_0x1087(_0x3672cd,_0x1abe2a){_0x3672cd=_0x3672cd-0x149;var _0xecace2=a234_0xecac();var _0x1087da=_0xecace2[_0x3672cd];return _0x1087da;}export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';function a234_0xecac(){var _0x161bd4=['558aYNXRW','4384332wzAvdT','66087aILieC','58107hQVRJV','10xdoAjY','132twdWfH','1228650VIBTYt','1116912DosDYE','6387280PQeVtv','764552hTQxZG'];a234_0xecac=function(){return _0x161bd4;};return a234_0xecac();}export{riskLevelOrder}from'../framework/types.js';
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 +1 @@
1
- (function(_0x158410,_0x1bbc02){const _0x198d4a=a235_0x2fca,_0xcb64ba=_0x158410();while(!![]){try{const _0x550d04=-parseInt(_0x198d4a(0x91))/0x1+-parseInt(_0x198d4a(0x90))/0x2+parseInt(_0x198d4a(0x8d))/0x3+-parseInt(_0x198d4a(0xa9))/0x4*(parseInt(_0x198d4a(0x99))/0x5)+parseInt(_0x198d4a(0xa5))/0x6*(parseInt(_0x198d4a(0xa1))/0x7)+parseInt(_0x198d4a(0x8b))/0x8+-parseInt(_0x198d4a(0x93))/0x9*(parseInt(_0x198d4a(0xa8))/0xa);if(_0x550d04===_0x1bbc02)break;else _0xcb64ba['push'](_0xcb64ba['shift']());}catch(_0x367c08){_0xcb64ba['push'](_0xcb64ba['shift']());}}}(a235_0x32a1,0x5c236));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()}});function a235_0x32a1(){const _0x42dd7b=['4428305yEspkB','url','write','message','6SZMkoG','json','endsWith','69320LzSuvB','8fWWypY','3303352qYJykR','jq:\x20','1294230EkTsba','stringify','hint','327262uDjpkc','652337luspVC','stdout','18XzOxat','error','risk','data','format','trim','674285kIoPZL','command','code','_notice','validation','pretty','jqFilter','update'];a235_0x32a1=function(){return _0x42dd7b;};return a235_0x32a1();}function a235_0x2fca(_0x434f1c,_0xe74445){_0x434f1c=_0x434f1c-0x8b;const _0x32a160=a235_0x32a1();let _0x2fcaea=_0x32a160[_0x434f1c];return _0x2fcaea;}export function formatOutput(_0x26d1fb,_0x596270){const _0x369723=a235_0x2fca,_0x34a462=_0x26d1fb[_0x369723(0x9c)],{_notice:_0x45d3a3,..._0xc428e6}=_0x26d1fb;void _0x45d3a3,baseFormatOutput(_0xc428e6,_0x596270),_0x596270[_0x369723(0x97)]===_0x369723(0x9e)&&printPrettyNotice(_0x34a462);}export function formatCliError(_0x367268,_0x5d3e1b){const _0x5a0030=a235_0x2fca;if(_0x5d3e1b[_0x5a0030(0x97)]===_0x5a0030(0x9e))return![];const _0x2c632c=_0x367268[_0x5a0030(0x96)],_0x3b86bb={'ok':![],'command':_0x5d3e1b[_0x5a0030(0x9a)],'risk':_0x5d3e1b[_0x5a0030(0x95)],'data':_0x2c632c??null,'error':{'code':_0x367268[_0x5a0030(0x9b)],'message':_0x367268[_0x5a0030(0xa4)],..._0x367268['hint']?{'hint':_0x367268[_0x5a0030(0x8f)]}:{}}},_0x2d6402=_0x5d3e1b[_0x5a0030(0x97)]===_0x5a0030(0xa6)?JSON[_0x5a0030(0x8e)](_0x3b86bb,null,0x2):JSON[_0x5a0030(0x8e)](_0x3b86bb);let _0x3f8284=_0x2d6402;if(_0x5d3e1b[_0x5a0030(0x9f)]?.[_0x5a0030(0x98)]())try{_0x3f8284=applyJqFilter(_0x2d6402,_0x5d3e1b['jqFilter']);}catch(_0x100388){const _0x5d4588=_0x100388 instanceof CliError?_0x100388:CliErrors[_0x5a0030(0x9d)](_0x5a0030(0x8c)+(_0x100388 instanceof Error?_0x100388[_0x5a0030(0xa4)]:String(_0x100388))),_0x53ebf5={..._0x3b86bb,'error':{'code':_0x5d4588[_0x5a0030(0x9b)],'message':_0x5d4588[_0x5a0030(0xa4)],..._0x5d4588['hint']?{'hint':_0x5d4588[_0x5a0030(0x8f)]}:{},'cause':_0x3b86bb[_0x5a0030(0x94)]}};_0x3f8284=_0x5d3e1b['format']===_0x5a0030(0xa6)?JSON[_0x5a0030(0x8e)](_0x53ebf5,null,0x2):JSON[_0x5a0030(0x8e)](_0x53ebf5);}return process[_0x5a0030(0x92)][_0x5a0030(0xa3)](_0x3f8284[_0x5a0030(0xa7)]('\x0a')?_0x3f8284:_0x3f8284+'\x0a'),!![];}function printPrettyNotice(_0x2638a0){const _0x5a836e=a235_0x2fca;if(!_0x2638a0?.['update'])return;console['error'](_0x2638a0[_0x5a836e(0xa0)][_0x5a836e(0xa4)]+'\x20('+_0x2638a0[_0x5a836e(0xa0)][_0x5a836e(0xa2)]+')');}
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 +1 @@
1
- function a236_0x524c(_0x49a392,_0x35d02b){_0x49a392=_0x49a392-0x196;var _0x5b509f=a236_0x5b50();var _0x524c60=_0x5b509f[_0x49a392];return _0x524c60;}function a236_0x5b50(){var _0x4122bb=['15306rkFiyc','2616QeZqEH','2263792JUTHuv','2996YfbJbN','1457930JxJqeP','7785890OJTNrO','980506VrZcgO','1960194qQoOPh','47097olFmJM'];a236_0x5b50=function(){return _0x4122bb;};return a236_0x5b50();}(function(_0x557b30,_0x2436a5){var _0x389271=a236_0x524c,_0x336e5f=_0x557b30();while(!![]){try{var _0x1bfdb5=parseInt(_0x389271(0x19d))/0x1+parseInt(_0x389271(0x196))/0x2+parseInt(_0x389271(0x197))/0x3+-parseInt(_0x389271(0x19b))/0x4+parseInt(_0x389271(0x19e))/0x5+parseInt(_0x389271(0x199))/0x6*(-parseInt(_0x389271(0x19c))/0x7)+parseInt(_0x389271(0x19a))/0x8*(-parseInt(_0x389271(0x198))/0x9);if(_0x1bfdb5===_0x2436a5)break;else _0x336e5f['push'](_0x336e5f['shift']());}catch(_0x4480d6){_0x336e5f['push'](_0x336e5f['shift']());}}}(a236_0x5b50,0xc0d20));export{extractList,extractPaging}from'@lovrabet/cli-framework';
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 +1 @@
1
- (function(_0x27de23,_0x5926eb){const _0x5ee4c4=a237_0x3776,_0x515f4f=_0x27de23();while(!![]){try{const _0x25997a=-parseInt(_0x5ee4c4(0x136))/0x1+-parseInt(_0x5ee4c4(0x132))/0x2*(parseInt(_0x5ee4c4(0x124))/0x3)+-parseInt(_0x5ee4c4(0x12d))/0x4*(-parseInt(_0x5ee4c4(0x134))/0x5)+-parseInt(_0x5ee4c4(0x127))/0x6*(-parseInt(_0x5ee4c4(0x122))/0x7)+parseInt(_0x5ee4c4(0x128))/0x8+parseInt(_0x5ee4c4(0x12e))/0x9*(-parseInt(_0x5ee4c4(0x121))/0xa)+-parseInt(_0x5ee4c4(0x12f))/0xb*(-parseInt(_0x5ee4c4(0x130))/0xc);if(_0x25997a===_0x5926eb)break;else _0x515f4f['push'](_0x515f4f['shift']());}catch(_0x1940f9){_0x515f4f['push'](_0x515f4f['shift']());}}}(a237_0x4c5f,0x8f84e));import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';export function resolveAliasToCode(_0x3fe9bf,_0xdc46cd,_0x4e700b,_0x36f5b4){const _0x4cb4ca=a237_0x3776,_0x32bc95=_0x3fe9bf[_0x4cb4ca(0x129)][_0x4cb4ca(0x123)](_0xcd4192=>_0xcd4192[_0x4cb4ca(0x12a)]===_0x4cb4ca(0x12b)&&_0xcd4192[_0x4cb4ca(0x137)]===_0x4cb4ca(0x133)),_0x28dddb=_0x3fe9bf[_0x4cb4ca(0x129)][_0x4cb4ca(0x123)](_0x5ad938=>_0x5ad938[_0x4cb4ca(0x12a)]===_0x4cb4ca(0x131)&&_0x5ad938[_0x4cb4ca(0x137)]===_0x4cb4ca(0x133));if(!_0x32bc95||!_0x28dddb)return;const _0x3e6fb2=_0xdc46cd['code']?String(_0xdc46cd['code']):'',_0x14b37b=_0xdc46cd[_0x4cb4ca(0x131)]?String(_0xdc46cd[_0x4cb4ca(0x131)]):'';if(!_0x3e6fb2&&!_0x14b37b)throw CliErrors[_0x4cb4ca(0x135)]('`'+_0x36f5b4+_0x4cb4ca(0x12c));if(_0x14b37b&&!_0x3e6fb2){const _0x46260a=resolveAlias(_0x4e700b,_0x14b37b);if(!_0x46260a){const _0x14983d=listAliases(_0x4e700b)[_0x4cb4ca(0x138)](_0x591de9=>_0x591de9[_0x4cb4ca(0x131)]),_0xcbccd0=_0x14983d['length']?'Available\x20aliases:\x20'+_0x14983d[_0x4cb4ca(0x126)](',\x20'):'No\x20api.ts\x20found\x20in\x20'+_0x4e700b+_0x4cb4ca(0x125)+CLI_BIN_NAME+_0x4cb4ca(0x139);throw CliErrors[_0x4cb4ca(0x135)]('Unknown\x20alias\x20\x22'+_0x14b37b+'\x22.\x20'+_0xcbccd0);}_0xdc46cd[_0x4cb4ca(0x12b)]=_0x46260a;}}function a237_0x3776(_0x4eff63,_0x50a1f1){_0x4eff63=_0x4eff63-0x121;const _0x4c5f01=a237_0x4c5f();let _0x377674=_0x4c5f01[_0x4eff63];return _0x377674;}function a237_0x4c5f(){const _0xc8b6c4=['41703inTXtl','.\x20Run\x20`','join','6RFMAAb','8459816rCfPXe','flags','name','code','`\x20requires\x20either\x20--code\x20or\x20--alias.','192108Dwdczy','2402478HKwkCQ','86911lnoUuy','240XTVpVp','alias','92qqUCpk','string','10nfbMRB','validation','166953QnPnhm','type','map','\x20api\x20pull`\x20first.','20WSOODe','4316102wPledk','some'];a237_0x4c5f=function(){return _0xc8b6c4;};return a237_0x4c5f();}
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 +1 @@
1
- const a238_0x4305d4=a238_0x5a03;(function(_0x4bfd51,_0xa7697c){const _0x4f8020=a238_0x5a03,_0x3d6424=_0x4bfd51();while(!![]){try{const _0x52984f=-parseInt(_0x4f8020(0x17e))/0x1*(-parseInt(_0x4f8020(0x160))/0x2)+-parseInt(_0x4f8020(0x153))/0x3+parseInt(_0x4f8020(0x176))/0x4*(parseInt(_0x4f8020(0x17c))/0x5)+parseInt(_0x4f8020(0x173))/0x6+-parseInt(_0x4f8020(0x162))/0x7+parseInt(_0x4f8020(0x18b))/0x8*(parseInt(_0x4f8020(0x190))/0x9)+parseInt(_0x4f8020(0x158))/0xa*(parseInt(_0x4f8020(0x188))/0xb);if(_0x52984f===_0xa7697c)break;else _0x3d6424['push'](_0x3d6424['shift']());}catch(_0x5ae185){_0x3d6424['push'](_0x3d6424['shift']());}}}(a238_0x321e,0xbb4dd));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 a238_0x1b4341}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x2448ba){const _0x2fffdf=a238_0x5a03;return typeof _0x2448ba===_0x2fffdf(0x192)&&_0x2448ba['trim']()?_0x2448ba[_0x2fffdf(0x175)]():undefined;}function resolveEnvAppCode(){const _0x203f7b=a238_0x5a03,_0x3b17f2=stringFlag(process.env.RABETBASE_APPCODE);if(_0x3b17f2)return{'name':_0x203f7b(0x194),'value':_0x3b17f2};const _0x46a5c2=stringFlag(process.env.LOVRABET_APPCODE);if(_0x46a5c2)return{'name':_0x203f7b(0x17b),'value':_0x46a5c2};return undefined;}function hasExplicitAppCode(_0x21848c,_0x718ab3){const _0x1e707c=a238_0x5a03;return!!(stringFlag(_0x21848c[_0x1e707c(0x15a)])||stringFlag(_0x718ab3[_0x1e707c(0x15a)]));}function assertEnvAppCodeNotIgnored(_0x14832f,_0x36527a,_0x82c151){const _0x1d4f09=a238_0x5a03;if(!_0x36527a||_0x82c151||_0x14832f===_0x36527a[_0x1d4f09(0x166)])return;const _0x5c503c=_0x14832f?_0x1d4f09(0x18f)+_0x14832f+'\x22.':_0x1d4f09(0x15b);throw CliErrors[_0x1d4f09(0x155)](_0x36527a[_0x1d4f09(0x17d)]+'='+_0x36527a['value']+_0x1d4f09(0x159)+_0x5c503c+'\x20'+(_0x1d4f09(0x15c)+_0x36527a[_0x1d4f09(0x17d)]+'\x22.'));}export function createPipelineEnv(_0xecaaaa,_0x484798,_0x59dda9=[]){const _0x4cb1b7=a238_0x5a03;return{'rawFlags':_0x484798,'args':_0x59dda9,'resolveAppCode':()=>_0xecaaaa['appCode'],'resolveCookie':()=>_0xecaaaa[_0x4cb1b7(0x187)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a238_0x1b4341(_0x484798),'defaultFormat':_0xecaaaa['format'],'defaultPageSize':_0xecaaaa[_0x4cb1b7(0x152)],'defaultVerbose':_0xecaaaa[_0x4cb1b7(0x169)],'apiDir':_0xecaaaa[_0x4cb1b7(0x17f)],'riskLevel':_0xecaaaa[_0x4cb1b7(0x15d)],'selectedAppName':_0xecaaaa['explicitAppName'],'mergedCli':{'defaultApp':_0xecaaaa[_0x4cb1b7(0x164)],'currentApp':_0xecaaaa[_0x4cb1b7(0x189)],'appCode':_0xecaaaa[_0x4cb1b7(0x185)],'apps':_0xecaaaa['apps']}};}function a238_0x5a03(_0x413cc8,_0x52243b){_0x413cc8=_0x413cc8-0x152;const _0x321e8b=a238_0x321e();let _0x5a039a=_0x321e8b[_0x413cc8];return _0x5a039a;}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS['filter'](_0xa94157=>PIPELINE_FLAG_NAMES[a238_0x4305d4(0x178)](_0xa94157['name']))[a238_0x4305d4(0x15f)](({name:_0x51faf6,type:_0x37ba3a,description:_0x40805f})=>({'name':_0x51faf6,'type':_0x37ba3a,'description':_0x40805f})),'formatOutput':formatOutput,'getCommandLabel'(_0x1df3d7){const _0x138af1=a238_0x4305d4;return CLI_BIN_NAME+'\x20'+_0x1df3d7[_0x138af1(0x180)]+'\x20'+_0x1df3d7['command'];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x15074d){return CliErrors['validation'](_0x15074d);}},async 'prepare'(_0x30d262,_0x2a774d,_0x57a3c8,_0x53a2b7){const _0x2aef52=a238_0x4305d4,_0x2c93c5=_0x2a774d[_0x2aef52(0x17f)]||DEFAULT_API_DIR;resolveAliasToCode(_0x30d262,_0x57a3c8,_0x2c93c5,_0x53a2b7);const _0x2b862a=resolveCommandAuthMode(_0x30d262);let _0x262633='';if(_0x2b862a!==_0x2aef52(0x186)){_0x262633=_0x2a774d['resolveCookie']()||'';if(!_0x262633){if(_0x2b862a==='required')throw CliErrors[_0x2aef52(0x18e)]();}else{const {setActiveCookie:_0x2ea39b}=await import(_0x2aef52(0x183));_0x2ea39b(_0x262633);}}const _0x2492cd=_0x2a774d[_0x2aef52(0x16a)]()??'';if(_0x30d262[_0x2aef52(0x170)]!==![]){assertEnvAppCodeNotIgnored(_0x2492cd,resolveEnvAppCode(),hasExplicitAppCode(_0x57a3c8,_0x2a774d['rawFlags']));if(!_0x2492cd)throw CliErrors[_0x2aef52(0x16b)](_0x2aef52(0x167)+CLI_BIN_NAME+_0x2aef52(0x174));}return{'defaults':{'booleans':{'verbose':_0x2a774d['defaultVerbose']},'numbers':{'pagesize':_0x2a774d[_0x2aef52(0x161)]}},'extras':{'appCode':_0x2492cd,'cookie':_0x262633,'apiDomain':_0x2a774d[_0x2aef52(0x191)](),'apiDir':_0x2c93c5,'selectedAppName':_0x2a774d['selectedAppName'],'mergedCli':_0x2a774d[_0x2aef52(0x16d)]}};},async 'confirmHighRisk'({env:_0x23f5ae,commandLabel:_0x58e118}){const _0x5596c1=a238_0x4305d4;if(_0x23f5ae['isNonInteractive'])throw CliErrors[_0x5596c1(0x155)](_0x5596c1(0x179)+_0x58e118+_0x5596c1(0x171));await requireConfirmationPrompt({'lines':['⚠\x20\x20High-risk\x20operation:\x20'+_0x58e118,_0x5596c1(0x15e)],'createCancelledError':_0x5aa530=>CliErrors['cancelled'](_0x5aa530)});},async 'finalize'(){const _0x5381ec=a238_0x4305d4,{clearActiveCookie:_0x1224d4}=await import(_0x5381ec(0x183));_0x1224d4();}};export async function runCommand(_0x18b64b,_0x42e320){const _0xbee50a=a238_0x4305d4;assertRejectedFlags(_0x18b64b,_0x42e320[_0xbee50a(0x156)]),await runCommandWithAdapter(shouldAttachUpdateNotice(_0x18b64b)?withUpdateNotice(_0x18b64b):_0x18b64b,_0x42e320,runnerAdapter);}function assertRejectedFlags(_0x38b733,_0x34591d){const _0x5181c6=a238_0x4305d4;for(const _0x3ba916 of _0x38b733[_0x5181c6(0x17a)]??[]){const _0x25d539=GLOBAL_FLAGS[_0x5181c6(0x184)](_0x3a14bb=>_0x3a14bb[_0x5181c6(0x17d)]===_0x3ba916['name']),_0x29b41d=new Set([_0x3ba916[_0x5181c6(0x17d)],toCamelCase(_0x3ba916['name']),_0x25d539?.[_0x5181c6(0x172)]]),_0x134ae5=[..._0x29b41d]['some'](_0x35f9a0=>{if(!_0x35f9a0)return![];const _0x444dc1=_0x34591d[_0x35f9a0];return _0x444dc1!==undefined&&_0x444dc1!==null&&_0x444dc1!==![];});if(_0x134ae5)throw CliErrors[_0x5181c6(0x155)](_0x3ba916[_0x5181c6(0x193)],_0x3ba916[_0x5181c6(0x168)]);}}function toCamelCase(_0x2a9c04){const _0x39aca4=a238_0x4305d4;return _0x2a9c04[_0x39aca4(0x18c)](/-([a-z])/g,(_0x5130f6,_0x3fc1ca)=>_0x3fc1ca[_0x39aca4(0x163)]());}function shouldAttachUpdateNotice(_0x5883cf){const _0x3cef3c=a238_0x4305d4;if(_0x5883cf[_0x3cef3c(0x181)]===![])return![];return![_0x3cef3c(0x16e),_0x3cef3c(0x16c),'doctor'][_0x3cef3c(0x154)](_0x5883cf['service']);}function withUpdateNotice(_0x39c5f7){return{..._0x39c5f7,async 'execute'(_0x4dd828){const _0x2f4194=a238_0x5a03,_0x423aa1=shouldResolveUpdateNotice(_0x4dd828)?resolveLatestUpdateNotice()[_0x2f4194(0x18a)](()=>null):Promise['resolve'](null),_0x5697dd=await _0x39c5f7[_0x2f4194(0x16f)](_0x4dd828);return attachUpdateNotice(_0x5697dd,await _0x423aa1);}};}function shouldResolveUpdateNotice(_0x1680f8){const _0x37484e=a238_0x4305d4;return _0x1680f8[_0x37484e(0x182)]===_0x37484e(0x157)&&!_0x1680f8[_0x37484e(0x177)];}function a238_0x321e(){const _0x15ae57=['defaultApp','_notice','value','Set\x20appcode\x20via\x20`','hint','verbose','resolveAppCode','configMissing','schema','mergedCli','update','execute','requiresAppCode','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','meowKey','3359946yhAkQV','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','trim','895020VyVUPC','nonInteractive','has','High-risk\x20operation\x20`','rejectedFlags','LOVRABET_APPCODE','5TgKjmX','name','36266WWyDFY','apiDir','service','hasFormat','format','../core/api-client.js','find','appCode','none','cookie','320463jzFtab','currentApp','catch','1891192GsMkMc','replace','object','authRequired','Current\x20resolved\x20appcode\x20is\x20\x22','27bWSIta','resolveApiDomain','string','message','RABETBASE_APPCODE','pageSize','4501323UDIbxK','includes','validation','rawFlags','pretty','470NAICoo','\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20','appcode','No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','riskLevel','\x20\x20\x20Continue?\x20[y/N]\x20','map','48zrYAFw','defaultPageSize','10254580BMdFDt','toUpperCase'];a238_0x321e=function(){return _0x15ae57;};return a238_0x321e();}function attachUpdateNotice(_0xdd486a,_0x43745b){const _0x1ed04f=a238_0x4305d4;if(!_0x43745b||!_0xdd486a||typeof _0xdd486a!==_0x1ed04f(0x18d))return _0xdd486a;const _0x18631c=_0xdd486a,_0x4f0484=typeof _0x18631c[_0x1ed04f(0x165)]===_0x1ed04f(0x18d)&&_0x18631c[_0x1ed04f(0x165)]!==null?_0x18631c[_0x1ed04f(0x165)]:{};return{..._0x18631c,'_notice':{..._0x4f0484,'update':_0x43745b}};}
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 +1 @@
1
- function a239_0x3ad1(){const _0x2bd5a7=['24144864YrZhWc','25131dXUlPF','150XpRqBV','7DeQBss','4824120ZHboSi','5570NuZMPP','108136QJEmsq','23535ErjsXW','36Shgpkp','427295RUrGYn','2623044JRIVxA','../commands/registry.js','11VRmirj'];a239_0x3ad1=function(){return _0x2bd5a7;};return a239_0x3ad1();}(function(_0x485a2a,_0x5840f9){const _0x579bf4=a239_0x188e,_0x4ef971=_0x485a2a();while(!![]){try{const _0x25f418=parseInt(_0x579bf4(0x1ea))/0x1+parseInt(_0x579bf4(0x1e6))/0x2*(-parseInt(_0x579bf4(0x1e5))/0x3)+-parseInt(_0x579bf4(0x1ec))/0x4*(-parseInt(_0x579bf4(0x1ed))/0x5)+-parseInt(_0x579bf4(0x1ee))/0x6*(-parseInt(_0x579bf4(0x1e7))/0x7)+parseInt(_0x579bf4(0x1e8))/0x8+parseInt(_0x579bf4(0x1eb))/0x9*(parseInt(_0x579bf4(0x1e9))/0xa)+parseInt(_0x579bf4(0x1f0))/0xb*(-parseInt(_0x579bf4(0x1e4))/0xc);if(_0x25f418===_0x5840f9)break;else _0x4ef971['push'](_0x4ef971['shift']());}catch(_0x2ca1e0){_0x4ef971['push'](_0x4ef971['shift']());}}}(a239_0x3ad1,0xb31e0));import{buildSchemaPayload as a239_0xeca887}from'@lovrabet/cli-framework';function a239_0x188e(_0x408d0a,_0x4df98d){_0x408d0a=_0x408d0a-0x1e4;const _0x3ad1ab=a239_0x3ad1();let _0x188eab=_0x3ad1ab[_0x408d0a];return _0x188eab;}import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x3084b6=a239_0x188e,{serviceRegistry:_0x3e001f,findDefinition:_0x3ad53a}=await import(_0x3084b6(0x1ef));return a239_0xeca887({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x3e001f,'buildAllFlags':buildAllFlags,'findDefinition':_0x3ad53a});}
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 +1 @@
1
- function a240_0x1e3b(_0x17826c,_0x50d055){_0x17826c=_0x17826c-0xed;var _0x3858fd=a240_0x3858();var _0x1e3b40=_0x3858fd[_0x17826c];return _0x1e3b40;}function a240_0x3858(){var _0x1ac572=['4SlPUYq','98CaBpJq','18885948shzUSS','26369LZpzny','18zxcZjS','4167416UZdwls','8850qVxtLe','394185BPEBcd','66MQZbQP','435752oMHpXp','1240860mgUtAT','7461CDfRYz'];a240_0x3858=function(){return _0x1ac572;};return a240_0x3858();}(function(_0x132bd2,_0x454b9f){var _0xfb1b27=a240_0x1e3b,_0x544ebf=_0x132bd2();while(!![]){try{var _0x109e59=-parseInt(_0xfb1b27(0xf0))/0x1*(-parseInt(_0xfb1b27(0xf5))/0x2)+-parseInt(_0xfb1b27(0xf4))/0x3*(parseInt(_0xfb1b27(0xed))/0x4)+-parseInt(_0xfb1b27(0xf7))/0x5*(parseInt(_0xfb1b27(0xf1))/0x6)+parseInt(_0xfb1b27(0xee))/0x7*(-parseInt(_0xfb1b27(0xf6))/0x8)+parseInt(_0xfb1b27(0xf8))/0x9*(-parseInt(_0xfb1b27(0xf3))/0xa)+parseInt(_0xfb1b27(0xf2))/0xb+parseInt(_0xfb1b27(0xef))/0xc;if(_0x109e59===_0x454b9f)break;else _0x544ebf['push'](_0x544ebf['shift']());}catch(_0x36df76){_0x544ebf['push'](_0x544ebf['shift']());}}}(a240_0x3858,0x6e0a0));export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';
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 +1 @@
1
- function a241_0x1662(){const _0x2f2f9a=['4447080xcmFMT','1410093tHrrUF','18514788MlmidY','11GlhCCc','299096GMIYjd','b0407c5','4azFURc','3822030wAfGZr','23459EpCXmm','757128xFHrtM','21VHzVcm','5AfnZCv','44mrSVOq'];a241_0x1662=function(){return _0x2f2f9a;};return a241_0x1662();}const a241_0xeac093=a241_0x5b96;(function(_0x4c0c57,_0x355bf5){const _0x1f9ae6=a241_0x5b96,_0x1f5f11=_0x4c0c57();while(!![]){try{const _0x344b1f=-parseInt(_0x1f9ae6(0x7b))/0x1*(parseInt(_0x1f9ae6(0x72))/0x2)+-parseInt(_0x1f9ae6(0x74))/0x3*(parseInt(_0x1f9ae6(0x79))/0x4)+-parseInt(_0x1f9ae6(0x71))/0x5*(parseInt(_0x1f9ae6(0x7c))/0x6)+parseInt(_0x1f9ae6(0x7d))/0x7*(-parseInt(_0x1f9ae6(0x77))/0x8)+-parseInt(_0x1f9ae6(0x7a))/0x9+parseInt(_0x1f9ae6(0x73))/0xa+-parseInt(_0x1f9ae6(0x76))/0xb*(-parseInt(_0x1f9ae6(0x75))/0xc);if(_0x344b1f===_0x355bf5)break;else _0x1f5f11['push'](_0x1f5f11['shift']());}catch(_0x38e329){_0x1f5f11['push'](_0x1f5f11['shift']());}}}(a241_0x1662,0x52a1b));export const VERSION='2.3.16-beta.1';export const GIT_TAG='v2.3.16-beta.1';export const GIT_COMMIT=a241_0xeac093(0x78);function a241_0x5b96(_0x1883ed,_0x270a2f){_0x1883ed=_0x1883ed-0x71;const _0x166254=a241_0x1662();let _0x5b961b=_0x166254[_0x1883ed];return _0x5b961b;}export const BUILD_TIME='2026-08-09T15:10:22.726Z';
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';
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- (function(_0x3891e0,_0x1ab564){var _0x3391e9=a242_0x5ee6,_0x4ccf53=_0x3891e0();while(!![]){try{var _0x3c6971=parseInt(_0x3391e9(0x127))/0x1*(parseInt(_0x3391e9(0x122))/0x2)+parseInt(_0x3391e9(0x125))/0x3*(parseInt(_0x3391e9(0x129))/0x4)+parseInt(_0x3391e9(0x130))/0x5+parseInt(_0x3391e9(0x121))/0x6*(-parseInt(_0x3391e9(0x128))/0x7)+parseInt(_0x3391e9(0x12b))/0x8*(parseInt(_0x3391e9(0x126))/0x9)+-parseInt(_0x3391e9(0x123))/0xa*(-parseInt(_0x3391e9(0x120))/0xb)+-parseInt(_0x3391e9(0x12c))/0xc;if(_0x3c6971===_0x1ab564)break;else _0x4ccf53['push'](_0x4ccf53['shift']());}catch(_0x4b8fa6){_0x4ccf53['push'](_0x4ccf53['shift']());}}}(a242_0x2814,0xaea7e));import a242_0x4dfe1e from'chalk';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';function a242_0x5ee6(_0x48395b,_0x47369a){_0x48395b=_0x48395b-0x120;var _0x28147f=a242_0x2814();var _0x5ee6b1=_0x28147f[_0x48395b];return _0x5ee6b1;}export function showHelp(){var _0xa221c1=a242_0x5ee6;console[_0xa221c1(0x124)](),console['log'](a242_0x4dfe1e['green'][_0xa221c1(0x12e)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0xa221c1(0x124)](),console[_0xa221c1(0x124)](_0xa221c1(0x12a)+a242_0x4dfe1e[_0xa221c1(0x12d)][_0xa221c1(0x12e)](CLI_BIN_NAME+_0xa221c1(0x12f))+'\x20to\x20view\x20available\x20commands.'),console[_0xa221c1(0x124)]();}function a242_0x2814(){var _0x462b4a=['241053lrNiXL','972Qslwnu','1NMlhxZ','259EuMlVE','4NAuMAv','\x20\x20Use\x20','6632GAIeih','11220036abQAOK','green','bold','\x20--help','3529685ZuVwyG','6855959YsBlQg','18714iABTXS','533414wnFwsy','10aajWkD','log'];a242_0x2814=function(){return _0x462b4a;};return a242_0x2814();}
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 +1 @@
1
- (function(_0x4f7726,_0x4b8097){const _0x5ca643=a243_0xed37,_0x5db55d=_0x4f7726();while(!![]){try{const _0x5e8eb0=-parseInt(_0x5ca643(0x10f))/0x1*(parseInt(_0x5ca643(0x111))/0x2)+parseInt(_0x5ca643(0x112))/0x3*(parseInt(_0x5ca643(0x123))/0x4)+-parseInt(_0x5ca643(0x122))/0x5+parseInt(_0x5ca643(0x12d))/0x6+parseInt(_0x5ca643(0x12a))/0x7+parseInt(_0x5ca643(0x11c))/0x8*(parseInt(_0x5ca643(0x11e))/0x9)+-parseInt(_0x5ca643(0x12c))/0xa*(parseInt(_0x5ca643(0x10d))/0xb);if(_0x5e8eb0===_0x4b8097)break;else _0x5db55d['push'](_0x5db55d['shift']());}catch(_0x4f9153){_0x5db55d['push'](_0x5db55d['shift']());}}}(a243_0x32b3,0x6f910));import{logger}from'../utils/logger.js';function a243_0xed37(_0x204756,_0x5d5cb0){_0x204756=_0x204756-0x10c;const _0x32b3d7=a243_0x32b3();let _0xed37d6=_0x32b3d7[_0x204756];return _0xed37d6;}import{CLI_BIN_NAME}from'../constant/cli.js';import{NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE}from'../skills/npx-skills-add.js';export function camelCaseFlagsToKebab(_0x41c3ff){const _0x1ae8db=a243_0xed37,_0x1e9bfd=[];for(const [_0x507d25,_0x19fd3f]of Object['entries'](_0x41c3ff)){if(_0x19fd3f===!![]){const _0x5a39f4=_0x507d25[_0x1ae8db(0x129)](/([A-Z])/g,'-$1')[_0x1ae8db(0x116)]();_0x1e9bfd[_0x1ae8db(0x127)](_0x5a39f4);}}return _0x1e9bfd;}function a243_0x32b3(){const _0x448546=['from','setLogPath','\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/rabetbase/guides/.\x0a','skill','4039016XuPRVR','add','9EnCuiB','exit','Error:\x20Unsupported\x20command:\x20','\x0aAvailable\x20commands:','2832870TTfvfK','164dvRior','length','\x20cli-skill\x20install\x0a\x0aEquivalent\x20command:\x20','dangerously-bff-save','push','Equivalent\x20command:\x20','replace','3590965uHNWVH','(empty)','266260feYiqI','2111190yOHcIv','error','slice','--help','220TwBVUZ','startsWith','17293KZFYps','\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill','52DqCKzm','46533MUnuFF','argv','includes','不支持的命令:\x20','toLowerCase','log'];a243_0x32b3=function(){return _0x448546;};return a243_0x32b3();}export function parseDynamicFlags(){const _0x3d1aab=a243_0xed37,_0x18ab4c=[];for(let _0x201653=0x3;_0x201653<process[_0x3d1aab(0x113)][_0x3d1aab(0x124)];_0x201653++){const _0x4a15d6=process[_0x3d1aab(0x113)][_0x201653];if(_0x4a15d6&&_0x4a15d6[_0x3d1aab(0x10e)]('--')){const _0x90c7c9=_0x4a15d6[_0x3d1aab(0x12f)](0x2);_0x90c7c9&&!_0x90c7c9[_0x3d1aab(0x114)]('=')&&_0x18ab4c[_0x3d1aab(0x127)](_0x90c7c9);}}return _0x18ab4c;}export function getAllProvidedFlags(_0x4d2124){const _0x53eeff=a243_0xed37,_0x13b962=camelCaseFlagsToKebab(_0x4d2124),_0x3fffe5=parseDynamicFlags(),_0xcbe5dd=new Set([..._0x13b962,..._0x3fffe5]);return Array[_0x53eeff(0x118)](_0xcbe5dd);}export function normalizeLegacyBffSaveFlags(_0x2df825){const _0x1cfd20=a243_0xed37,_0x318ede=new Set(_0x2df825);return _0x318ede['has'](_0x1cfd20(0x126))&&_0x318ede[_0x1cfd20(0x11d)]('enable-bff-save'),Array[_0x1cfd20(0x118)](_0x318ede);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;export async function skillsCommand(_0x4b9a69,_0x58003c,_0x5cc12a){const _0x52ff63=a243_0xed37;logger[_0x52ff63(0x119)](process['cwd']());if(_0x5cc12a?.['help']||_0x4b9a69===_0x52ff63(0x10c)){showHelp();return;}console[_0x52ff63(0x12e)](_0x52ff63(0x120)+(_0x4b9a69||_0x52ff63(0x12b))),console[_0x52ff63(0x117)](_0x52ff63(0x121)),console[_0x52ff63(0x117)]('\x20\x20'+CLI_BIN_NAME+_0x52ff63(0x110)),console[_0x52ff63(0x117)](''),console[_0x52ff63(0x117)](_0x52ff63(0x128)+SKILLS_INSTALL_COMMAND_LINE),logger['error'](_0x52ff63(0x11b),_0x52ff63(0x115)+_0x4b9a69),process[_0x52ff63(0x11f)](0x1);}function showHelp(){const _0x6c3a0b=a243_0xed37;console[_0x6c3a0b(0x117)]('\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20'+CLI_BIN_NAME+_0x6c3a0b(0x125)+SKILLS_INSTALL_COMMAND_LINE+_0x6c3a0b(0x11a));}
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 +1 @@
1
- const a244_0x176b80=a244_0x4f50;(function(_0x1f22f8,_0x26c543){const _0x36b8fd=a244_0x4f50,_0x3f1cc1=_0x1f22f8();while(!![]){try{const _0x3f674f=-parseInt(_0x36b8fd(0x68))/0x1*(-parseInt(_0x36b8fd(0x69))/0x2)+parseInt(_0x36b8fd(0x8a))/0x3*(parseInt(_0x36b8fd(0x92))/0x4)+parseInt(_0x36b8fd(0x88))/0x5*(-parseInt(_0x36b8fd(0x79))/0x6)+parseInt(_0x36b8fd(0x8f))/0x7*(-parseInt(_0x36b8fd(0x94))/0x8)+-parseInt(_0x36b8fd(0xa0))/0x9*(parseInt(_0x36b8fd(0x9b))/0xa)+parseInt(_0x36b8fd(0x89))/0xb+parseInt(_0x36b8fd(0x72))/0xc*(parseInt(_0x36b8fd(0x9f))/0xd);if(_0x3f674f===_0x26c543)break;else _0x3f1cc1['push'](_0x3f1cc1['shift']());}catch(_0x4be410){_0x3f1cc1['push'](_0x3f1cc1['shift']());}}}(a244_0x1715,0x845d6));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_0x176b80(0x70);export const NPX_SKILLS_SUBCOMMAND_ADD=a244_0x176b80(0x98);export const NPX_SKILLS_FLAG_SKILL='--skill';export const RABETBASE_SKILL_SOURCE='lovrabet/rabetbase';export const LEGACY_RABETBASE_SKILL_SOURCE=a244_0x176b80(0x91);export const DEFAULT_RABETBASE_SKILL_NAME=a244_0x176b80(0x87);export const RABETBASE_GLOBAL_SKILL_NAME=a244_0x176b80(0x7f);export const RABETBASE_SKILL_GIT_SOURCE=a244_0x176b80(0x78);export function resolveGlobalSkillName(_0x3b0ea0){const _0x1c4af8=a244_0x176b80;switch(_0x3b0ea0[_0x1c4af8(0x93)]()){case RABETBASE_SKILL_SOURCE:case RABETBASE_SKILL_GIT_SOURCE:return RABETBASE_GLOBAL_SKILL_NAME;default:return undefined;}}export function buildNpxSkillsAddArgv(_0x22274f){const _0x7cf4e2=a244_0x176b80,_0x21eef2=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE];return _0x22274f&&_0x21eef2[_0x7cf4e2(0x8c)](NPX_SKILLS_FLAG_SKILL,_0x22274f),_0x21eef2;}export const NPX_SKILLS_ADD_COMMAND_LINE=['npx',...buildNpxSkillsAddArgv()][a244_0x176b80(0x6a)]('\x20');function a244_0x4f50(_0x43d47b,_0x27a685){_0x43d47b=_0x43d47b-0x67;const _0x17150a=a244_0x1715();let _0x4f50c6=_0x17150a[_0x43d47b];return _0x4f50c6;}export const NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE=['npx',NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][a244_0x176b80(0x6a)]('\x20');const CHILD_OUTPUT_MAX_BUFFER=0x10*0x400*0x400;function failure(_0x2f2a54,_0x2afc02,_0x29c146){return{'ok':![],'status':_0x2afc02,'code':_0x2f2a54,'error':'['+_0x2f2a54+']\x20'+_0x29c146};}function spawnOptions(_0x4c614d,_0x457a74){const _0x1db0c6=a244_0x176b80;return{'cwd':_0x4c614d,'stdio':_0x457a74,'env':process.env,'shell':![],..._0x457a74===_0x1db0c6(0x85)?{'maxBuffer':CHILD_OUTPUT_MAX_BUFFER}:{}};}function a244_0x1715(){const _0xe5dc5e=['\x22\x20not\x20found\x20after\x20install\x20(checked\x20','message','remove','\x22\x20install\x20state:\x20','Skill\x20\x22','git@codeup.aliyun.com:yuntoo/open/rabetbase-cli.git','1278222yAiqsb','stdio','stderr','status','match','EACCES','rabetbase','reason','error','EPERM','npx','filter','pipe','Installer\x20reported\x20','Lovrabet','5gljHbm','9602219NmNEjk','9zjryUS','state','push','stdout','CHILD_TERMINATED','112clltjt','yes','lovrabet/lovrabet-skill','423684DyNfsi','trim','409208LrQfkd','unknown','absent','CHILD_EXIT_NONZERO','add','npx\x20terminated\x20by\x20signal\x20','skill','162970njSbJE','code','SPAWN_FAILED','signal','377Eofvqj','378yTYKnz','ENOENT','240888zjNFFg','8ztAVOv','join','\x20failed\x20target(s)','exit\x20','checked','log','inherit','skills','toString','42972pQfsMk'];a244_0x1715=function(){return _0xe5dc5e;};return a244_0x1715();}function normalizeSpawnResult(_0x21b058,_0x2f228f,_0x3f2db8,_0x556a8c){const _0x28e0a4=a244_0x176b80,_0x579119=[_0x21b058[_0x28e0a4(0x8d)]?_0x21b058['stdout']['toString']():'',_0x21b058['stderr']?_0x21b058[_0x28e0a4(0x7b)][_0x28e0a4(0x71)]():''][_0x28e0a4(0x84)](Boolean)[_0x28e0a4(0x6a)]('\x0a')['trim']();_0x556a8c!==_0x28e0a4(0x85)&&_0x579119&&console[_0x28e0a4(0x6e)](_0x579119);if(_0x21b058[_0x28e0a4(0x81)]){const _0x14635f=_0x21b058[_0x28e0a4(0x81)],_0x4f2b4f=_0x14635f['code']===_0x28e0a4(0x67)?'NPX_NOT_FOUND':_0x14635f[_0x28e0a4(0x9c)]===_0x28e0a4(0x82)||_0x14635f['code']===_0x28e0a4(0x7e)?'PERMISSION_DENIED':_0x28e0a4(0x9d);return failure(_0x4f2b4f,_0x21b058[_0x28e0a4(0x7c)],_0x14635f[_0x28e0a4(0x74)]);}if(_0x21b058['signal'])return failure(_0x28e0a4(0x8e),_0x21b058[_0x28e0a4(0x7c)],_0x28e0a4(0x99)+_0x21b058[_0x28e0a4(0x9e)]);if(_0x21b058[_0x28e0a4(0x7c)]!==0x0)return failure(_0x28e0a4(0x97),_0x21b058[_0x28e0a4(0x7c)],_0x579119||_0x28e0a4(0x6c)+(_0x21b058[_0x28e0a4(0x7c)]??_0x28e0a4(0x95)));const _0x2db358=_0x579119[_0x28e0a4(0x7d)](/Failed to install\s+(\d+)/i);if(_0x2db358&&Number(_0x2db358[0x1])>0x0)return failure('INSTALL_PARTIAL',0x0,_0x28e0a4(0x86)+_0x2db358[0x1]+_0x28e0a4(0x6b)+(_0x579119?':\x0a'+_0x579119:''));if(_0x2f228f){const _0x3aebd7=resolveInstalledSkill(_0x2f228f,_0x3f2db8);if(_0x3aebd7[_0x28e0a4(0x8b)]===_0x28e0a4(0x96))return failure('SKILL_NOT_INSTALLED',0x0,_0x28e0a4(0x77)+_0x2f228f+_0x28e0a4(0x73)+_0x3aebd7[_0x28e0a4(0x6d)][_0x28e0a4(0x6a)](',\x20')+')');_0x3aebd7[_0x28e0a4(0x8b)]==='unverifiable'&&console['warn']('!\x20Could\x20not\x20verify\x20\x22'+_0x2f228f+_0x28e0a4(0x76)+_0x3aebd7[_0x28e0a4(0x80)]);}return{'ok':!![],'status':0x0};}export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0x10a6e5,_0x3983d2){const _0x13758c=a244_0x176b80;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x2c7212=_0x3983d2?.[_0x13758c(0x7a)]??'inherit',_0x3d3541=resolveNpmBin(_0x13758c(0x83)),_0x2a9734=buildNpxSkillsAddArgv(_0x3983d2?.[_0x13758c(0x9a)]),_0x4d2420=[_0x13758c(0x83),..._0x2a9734][_0x13758c(0x6a)]('\x20');console[_0x13758c(0x6e)]('*\x20'+_0x4d2420);const _0x2ea622=spawnSync(_0x3d3541,_0x2a9734,spawnOptions(_0x10a6e5,_0x2c7212));return normalizeSpawnResult(_0x2ea622,undefined,undefined,_0x2c7212);}export function runNpxSkillsRemove(_0x2b8300,_0x20fae0,_0x4faa8b=LEGACY_RABETBASE_SKILL_SOURCE){const _0x2111f2=a244_0x176b80;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x3a36ee=_0x20fae0?.[_0x2111f2(0x7a)]??_0x2111f2(0x6f),_0x388a54=resolveNpmBin('npx'),_0x3b564c=[NPX_FLAG_YES,NPX_SKILLS_CLI,_0x2111f2(0x75),_0x4faa8b,NPX_SKILLS_FLAG_SKILL,_0x20fae0?.[_0x2111f2(0x9a)]??DEFAULT_RABETBASE_SKILL_NAME,..._0x20fae0?.[_0x2111f2(0x90)]?['-y']:[]],_0x4e4782=[_0x388a54,..._0x3b564c][_0x2111f2(0x6a)]('\x20');console['log']('*\x20'+_0x4e4782);const _0x568b58=spawnSync(_0x388a54,_0x3b564c,spawnOptions(_0x2b8300,_0x3a36ee));return normalizeSpawnResult(_0x568b58,undefined,undefined,_0x3a36ee);}export function runNpxSkillsAddGlobal(_0x37b768,_0x4ce920,_0x3a42ea){const _0x4e1647=a244_0x176b80;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x3c252d=resolveNpmBin(_0x4e1647(0x83)),_0x471c82=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x4ce920,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES],_0x230b86=[_0x4e1647(0x83),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x4ce920,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][_0x4e1647(0x6a)]('\x20');console[_0x4e1647(0x6e)]('*\x20'+_0x230b86);const _0x3d27a4=spawnSync(_0x3c252d,_0x471c82,spawnOptions(_0x37b768,'pipe'));return normalizeSpawnResult(_0x3d27a4,resolveGlobalSkillName(_0x4ce920),_0x3a42ea?.['presence'],_0x3a42ea?.[_0x4e1647(0x7a)]);}
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 +1 @@
1
- const a245_0x16f794=a245_0x23bd;function a245_0x2838(){const _0x2736e5=['home','707241rqBaAz','2393188dNUmBd','map','2271015acTJrm','unverifiable','object','number','\x20has\x20no\x20skills\x20map','5819989kcXitW','kind','skills','7jPWQyw','join','unusable','\x22\x20but\x20no\x20SKILL.md\x20was\x20found\x20in\x20known\x20layouts\x20','157232lGumtQ','.skill-lock.json','100bZpQlj','absent','not-recorded','.agents','\x20records\x20\x22','\x20uses\x20unsupported\x20version\x20','54196JNfjcn','find','3373015CJNzVp','version','recorded','6xTVLBB'];a245_0x2838=function(){return _0x2736e5;};return a245_0x2838();}(function(_0x39e13,_0x334eda){const _0x1dfbd5=a245_0x23bd,_0x4aa985=_0x39e13();while(!![]){try{const _0x5d3ddc=parseInt(_0x1dfbd5(0xa7))/0x1*(-parseInt(_0x1dfbd5(0x95))/0x2)+parseInt(_0x1dfbd5(0x9c))/0x3+-parseInt(_0x1dfbd5(0x9d))/0x4+-parseInt(_0x1dfbd5(0x97))/0x5*(parseInt(_0x1dfbd5(0x9a))/0x6)+-parseInt(_0x1dfbd5(0xa4))/0x7+-parseInt(_0x1dfbd5(0x8d))/0x8+-parseInt(_0x1dfbd5(0x9f))/0x9*(-parseInt(_0x1dfbd5(0x8f))/0xa);if(_0x5d3ddc===_0x334eda)break;else _0x4aa985['push'](_0x4aa985['shift']());}catch(_0xf69a17){_0x4aa985['push'](_0x4aa985['shift']());}}}(a245_0x2838,0x6cbf6));import{existsSync,readFileSync}from'node:fs';import{homedir}from'node:os';import{join}from'node:path';export const SKILL_LOCK_RELATIVE_PATH=join(a245_0x16f794(0x92),a245_0x16f794(0x8e));export const GLOBAL_SKILLS_DIR_RELATIVE_PATHS=[join(a245_0x16f794(0x92),'skills'),join('.claude','skills')];const SUPPORTED_LOCK_VERSIONS=[0x3];function a245_0x23bd(_0x28427e,_0x45d89f){_0x28427e=_0x28427e-0x8a;const _0x28380f=a245_0x2838();let _0x23bd34=_0x28380f[_0x28427e];return _0x23bd34;}function readLockLookup(_0x4a4c70,_0x540c4d){const _0x3aca9e=a245_0x16f794;if(!existsSync(_0x4a4c70))return{'kind':_0x3aca9e(0x91)};let _0xfc4adc;try{_0xfc4adc=JSON['parse'](readFileSync(_0x4a4c70,'utf8'));}catch(_0x4c85d3){return{'kind':_0x3aca9e(0x8b),'reason':_0x4a4c70+'\x20is\x20unreadable:\x20'+_0x4c85d3['message']};}const _0x5edc30=_0xfc4adc;if(typeof _0x5edc30?.[_0x3aca9e(0x98)]!==_0x3aca9e(0xa2)||!SUPPORTED_LOCK_VERSIONS['includes'](_0x5edc30['version']))return{'kind':'unusable','reason':_0x4a4c70+_0x3aca9e(0x94)+String(_0x5edc30?.[_0x3aca9e(0x98)])};if(!_0x5edc30[_0x3aca9e(0xa6)]||typeof _0x5edc30['skills']!==_0x3aca9e(0xa1))return{'kind':_0x3aca9e(0x8b),'reason':_0x4a4c70+_0x3aca9e(0xa3)};return _0x5edc30[_0x3aca9e(0xa6)][_0x540c4d]?{'kind':_0x3aca9e(0x99)}:{'kind':_0x3aca9e(0x91)};}export function resolveInstalledSkill(_0x187aec,_0x53a4f7){const _0x4cf9f6=a245_0x16f794,_0x341e2b=_0x53a4f7?.[_0x4cf9f6(0x9b)]??homedir(),_0x869020=_0x53a4f7?.['globalSkillsDirs']??GLOBAL_SKILLS_DIR_RELATIVE_PATHS[_0x4cf9f6(0x9e)](_0x198f4d=>join(_0x341e2b,_0x198f4d)),_0xa68fdd=_0x53a4f7?.['lockFile']??join(_0x341e2b,SKILL_LOCK_RELATIVE_PATH),_0x3ed009=_0x869020[_0x4cf9f6(0x9e)](_0x348800=>join(_0x348800,_0x187aec,'SKILL.md')),_0x25060f=_0x3ed009[_0x4cf9f6(0x96)](_0x1460da=>existsSync(_0x1460da));if(_0x25060f)return{'state':'present','path':_0x25060f};const _0x3359c6=readLockLookup(_0xa68fdd,_0x187aec);if(_0x3359c6[_0x4cf9f6(0xa5)]===_0x4cf9f6(0x8b))return{'state':_0x4cf9f6(0xa0),'reason':_0x3359c6['reason']};if(_0x3359c6[_0x4cf9f6(0xa5)]===_0x4cf9f6(0x99))return{'state':_0x4cf9f6(0xa0),'reason':_0xa68fdd+_0x4cf9f6(0x93)+_0x187aec+_0x4cf9f6(0x8c)+('('+_0x3ed009[_0x4cf9f6(0x8a)](',\x20')+')')};return{'state':_0x4cf9f6(0x90),'checked':_0x3ed009};}
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 +1 @@
1
- function a246_0x2133(_0x591da4,_0x1d75e6){_0x591da4=_0x591da4-0x100;const _0x56bb6e=a246_0x56bb();let _0x2133ea=_0x56bb6e[_0x591da4];return _0x2133ea;}(function(_0x1c1865,_0x156c78){const _0x12c5d4=a246_0x2133,_0x636587=_0x1c1865();while(!![]){try{const _0xe67293=-parseInt(_0x12c5d4(0x10e))/0x1+parseInt(_0x12c5d4(0x10f))/0x2+parseInt(_0x12c5d4(0x104))/0x3*(parseInt(_0x12c5d4(0x110))/0x4)+parseInt(_0x12c5d4(0x10c))/0x5*(-parseInt(_0x12c5d4(0x108))/0x6)+parseInt(_0x12c5d4(0x10d))/0x7*(parseInt(_0x12c5d4(0x107))/0x8)+parseInt(_0x12c5d4(0x112))/0x9+-parseInt(_0x12c5d4(0x103))/0xa;if(_0xe67293===_0x156c78)break;else _0x636587['push'](_0x636587['shift']());}catch(_0x1ea158){_0x636587['push'](_0x636587['shift']());}}}(a246_0x56bb,0x1a6f5));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';import{getCliVersion}from'../utils/version.js';function a246_0x56bb(){const _0x50dfe1=['427806xUtzpk','test','durationMs','service','flags','2705620sVPenK','153iRElnz','command','stringify','8XGSLDU','54XaOOpm','[REDACTED]','entries','message','41555dmwnlb','1460410JKwPnz','33056VomlUj','40208QJyMnU','16504RFQLJU','error'];a246_0x56bb=function(){return _0x50dfe1;};return a246_0x56bb();}const SENSITIVE_PATTERNS=[/cookie/i,/token/i,/password/i,/passwd/i,/secret/i,/auth/i,/session/i,/credential/i,/^value$/i];function isSensitiveKey(_0x4d90e9){const _0xf34e35=a246_0x2133;return SENSITIVE_PATTERNS['some'](_0x473870=>_0x473870[_0xf34e35(0x113)](_0x4d90e9));}function sanitizeFlags(_0x3a1573){const _0x372285=a246_0x2133,_0x67f7ce={};for(const [_0x46d700,_0x27ff66]of Object[_0x372285(0x10a)](_0x3a1573)){isSensitiveKey(_0x46d700)?_0x67f7ce[_0x46d700]=_0x27ff66!=null&&_0x27ff66!==''?_0x372285(0x109):_0x27ff66:_0x67f7ce[_0x46d700]=_0x27ff66;}return _0x67f7ce;}export async function reportCommandTrace(_0x1998c8){const _0x5aacd8=a246_0x2133;try{const _0x5a9724=sanitizeFlags(_0x1998c8[_0x5aacd8(0x102)]);await sendCliTraceLog({'spanName':'rabetbase.command','logData':{'command.cli_version':getCliVersion(),'command.service':_0x1998c8[_0x5aacd8(0x101)],'command.name':_0x1998c8[_0x5aacd8(0x105)],'command.flags':JSON[_0x5aacd8(0x106)](_0x5a9724),..._0x1998c8[_0x5aacd8(0x100)]!=null?{'command.duration_ms':_0x1998c8[_0x5aacd8(0x100)]}:{},..._0x1998c8[_0x5aacd8(0x111)]?{'command.error':_0x1998c8[_0x5aacd8(0x111)]instanceof Error?_0x1998c8[_0x5aacd8(0x111)][_0x5aacd8(0x10b)]:String(_0x1998c8[_0x5aacd8(0x111)])}:{}}});}catch{}}
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 +1 @@
1
- (function(_0x7f57c3,_0x230c46){var _0xa90d3=a247_0x161b,_0x5e547b=_0x7f57c3();while(!![]){try{var _0x2fd919=parseInt(_0xa90d3(0xf7))/0x1+parseInt(_0xa90d3(0xf8))/0x2*(parseInt(_0xa90d3(0xf5))/0x3)+-parseInt(_0xa90d3(0xff))/0x4*(parseInt(_0xa90d3(0xf6))/0x5)+-parseInt(_0xa90d3(0xfb))/0x6+parseInt(_0xa90d3(0xfa))/0x7+-parseInt(_0xa90d3(0x100))/0x8*(-parseInt(_0xa90d3(0xf9))/0x9)+parseInt(_0xa90d3(0xfd))/0xa;if(_0x2fd919===_0x230c46)break;else _0x5e547b['push'](_0x5e547b['shift']());}catch(_0x424ae7){_0x5e547b['push'](_0x5e547b['shift']());}}}(a247_0x2a9f,0x898ba));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export async function reportCliHelpTrace(_0x5dbdb2,_0x505c5f){var _0x51e750=a247_0x161b;try{await sendCliTraceLog({'spanName':'cli.help','logData':{'rabetbase.help.kind':_0x5dbdb2,..._0x505c5f?.[_0x51e750(0x101)]&&{'rabetbase.help.service':_0x505c5f[_0x51e750(0x101)]}}});}catch(_0x51b978){console[_0x51e750(0xfe)](_0x51e750(0xfc),_0x51b978);}}function a247_0x161b(_0x191497,_0x1536be){_0x191497=_0x191497-0xf5;var _0x2a9fea=a247_0x2a9f();var _0x161bcc=_0x2a9fea[_0x191497];return _0x161bcc;}function a247_0x2a9f(){var _0x1800c6=['59055Mnscxj','49166ozGAbf','1156824KpGqXG','5209295TAuULO','2121504zIdiWe','Failed\x20to\x20report\x20CLI\x20help\x20trace:','935590TstMPX','error','3292tIcJfG','40xRnXth','service','9HRnZYJ','4230zmdqQD'];a247_0x2a9f=function(){return _0x1800c6;};return a247_0x2a9f();}
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 +1 @@
1
- (function(_0x1888f9,_0x5b07f4){const _0x6884e0=a248_0x43f2,_0x626164=_0x1888f9();while(!![]){try{const _0x109bfb=parseInt(_0x6884e0(0x1bc))/0x1*(parseInt(_0x6884e0(0x1bf))/0x2)+parseInt(_0x6884e0(0x1ba))/0x3*(parseInt(_0x6884e0(0x1be))/0x4)+parseInt(_0x6884e0(0x1c8))/0x5+parseInt(_0x6884e0(0x1c3))/0x6+-parseInt(_0x6884e0(0x1bb))/0x7*(-parseInt(_0x6884e0(0x1c7))/0x8)+-parseInt(_0x6884e0(0x1ca))/0x9*(-parseInt(_0x6884e0(0x1cc))/0xa)+parseInt(_0x6884e0(0x1c1))/0xb*(-parseInt(_0x6884e0(0x1cd))/0xc);if(_0x109bfb===_0x5b07f4)break;else _0x626164['push'](_0x626164['shift']());}catch(_0x54ba0b){_0x626164['push'](_0x626164['shift']());}}}(a248_0x283d,0x57ff4));function a248_0x43f2(_0x3e78e4,_0x2828a7){_0x3e78e4=_0x3e78e4-0x1ba;const _0x283dd2=a248_0x283d();let _0x43f21d=_0x283dd2[_0x3e78e4];return _0x43f21d;}function a248_0x283d(){const _0xb39916=['user','18MKZHNH','daily','1695640xpWWxW','17428968xwHjDt','103449lDJzWI','42gYfZrH','17053xTFCbm','unknown','4EkgKzo','22AbCflK','tenant_code','11YrmQBI','production','2892954JcgMCv','nickname','email','tenant','806816mVUzAB','821925lVnfSx'];a248_0x283d=function(){return _0xb39916;};return a248_0x283d();}import{VERSION,GIT_COMMIT}from'../generated/build-info.js';import{getSessionUserInfo}from'../auth/get-session-user.js';import{setServiceConfig,setUserContext}from'@lovrabet/otel-logger';import{NPM_PACKAGE_NAME}from'../constant/cli.js';import{getConfigAppCode}from'../utils/config.js';let cliOtelTraceInitialized=![];export async function ensureCliOtelTraceConfig(){const _0x1f7773=a248_0x43f2,_0x40c299=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x1d9ddf=_0x40c299?.[_0x1f7773(0x1c9)];setServiceConfig({'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!==_0x1f7773(0x1bd)?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?_0x1f7773(0x1cb):_0x1f7773(0x1c2))}),setUserContext({'id':_0x1d9ddf?.['id'],'username':_0x1d9ddf?.['username'],'nickname':_0x1d9ddf?.[_0x1f7773(0x1c4)],'email':_0x1d9ddf?.[_0x1f7773(0x1c5)],'tenantCode':_0x1d9ddf?.[_0x1f7773(0x1c6)]?.[_0x1f7773(0x1c0)],'appCode':getConfigAppCode()}),cliOtelTraceInitialized=!![];}return _0x40c299;}
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 +1 @@
1
- (function(_0x31b93c,_0x359204){const _0x406a01=a249_0x1529,_0x95f246=_0x31b93c();while(!![]){try{const _0x34c181=parseInt(_0x406a01(0x1a3))/0x1*(parseInt(_0x406a01(0x1a8))/0x2)+parseInt(_0x406a01(0x1a2))/0x3+-parseInt(_0x406a01(0x1aa))/0x4*(-parseInt(_0x406a01(0x1ac))/0x5)+parseInt(_0x406a01(0x1ab))/0x6*(-parseInt(_0x406a01(0x1a6))/0x7)+-parseInt(_0x406a01(0x19e))/0x8+-parseInt(_0x406a01(0x1a0))/0x9*(parseInt(_0x406a01(0x1a5))/0xa)+parseInt(_0x406a01(0x1a1))/0xb;if(_0x34c181===_0x359204)break;else _0x95f246['push'](_0x95f246['shift']());}catch(_0x4d00ad){_0x95f246['push'](_0x95f246['shift']());}}}(a249_0x55e7,0xaf2cc));import{shutdownTraces}from'@lovrabet/otel-logger';function a249_0x1529(_0x29febf,_0x363b93){_0x29febf=_0x29febf-0x19d;const _0x55e734=a249_0x55e7();let _0x152934=_0x55e734[_0x29febf];return _0x152934;}let shutdownPromise=null;export async function flushOtelNodeIfUsed(){if(shutdownPromise)return shutdownPromise;return shutdownPromise=((async()=>{try{await shutdownTraces();}catch{}})()),shutdownPromise;}function a249_0x55e7(){const _0x3b6d5e=['beforeExit','402380RofDOy','7OwvjoG','then','2xKuehF','once','29440FGnmJj','3104100lAflwM','25sCTKRH','SIGTERM','7316768McBceb','exit','81wTbhwI','4479970TYBbYn','2158827wldeOp','1347925KHuqxD'];a249_0x55e7=function(){return _0x3b6d5e;};return a249_0x55e7();}export function registerOtelShutdownOnExit(){const _0x4f6f37=a249_0x1529;process[_0x4f6f37(0x1a9)](_0x4f6f37(0x1a4),()=>{void flushOtelNodeIfUsed();});const _0x43cc79=()=>{const _0x546abb=_0x4f6f37;void flushOtelNodeIfUsed()[_0x546abb(0x1a7)](()=>process['exit'](0x0));};process[_0x4f6f37(0x1a9)]('SIGINT',_0x43cc79),process[_0x4f6f37(0x1a9)](_0x4f6f37(0x19d),_0x43cc79);}export async function exitWithOtelShutdown(_0x3bcbbc){const _0x19ecb4=a249_0x1529;await flushOtelNodeIfUsed(),process[_0x19ecb4(0x19f)](_0x3bcbbc);}
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 +1 @@
1
- const a250_0x1c43e0=a250_0x3482;(function(_0x3c5198,_0x319b5b){const _0x276387=a250_0x3482,_0x37e630=_0x3c5198();while(!![]){try{const _0x49db27=-parseInt(_0x276387(0x197))/0x1+-parseInt(_0x276387(0x192))/0x2+parseInt(_0x276387(0x196))/0x3*(parseInt(_0x276387(0x194))/0x4)+parseInt(_0x276387(0x19b))/0x5*(-parseInt(_0x276387(0x19f))/0x6)+-parseInt(_0x276387(0x19e))/0x7+parseInt(_0x276387(0x195))/0x8*(-parseInt(_0x276387(0x19c))/0x9)+parseInt(_0x276387(0x19a))/0xa;if(_0x49db27===_0x319b5b)break;else _0x37e630['push'](_0x37e630['shift']());}catch(_0x3d1af1){_0x37e630['push'](_0x37e630['shift']());}}}(a250_0x27ed,0x677e5));import{sendTraceLog}from'@lovrabet/otel-logger';import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';function a250_0x3482(_0x4f91ae,_0x104a0c){_0x4f91ae=_0x4f91ae-0x190;const _0x27edd6=a250_0x27ed();let _0x348221=_0x27edd6[_0x4f91ae];return _0x348221;}import{getCliVersion}from'../utils/version.js';const DEFAULT_TRACE_NAME=a250_0x1c43e0(0x19d);function a250_0x27ed(){const _0x905ad6=['spanName','logData','14859080vrgWms','444265YCIoyC','207IiaTzD','rabetbase-cli','5304467SdUcZb','6HfqiNr','version','traceName','493518aPkEnn','traceparent','60136OwBkln','46840rSXlEo','144CEZONp','555573WBSwGz'];a250_0x27ed=function(){return _0x905ad6;};return a250_0x27ed();}export async function sendCliTraceLog(_0x2cbdfa){const _0x493955=a250_0x1c43e0;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x2cbdfa[_0x493955(0x191)]??DEFAULT_TRACE_NAME,'version':_0x2cbdfa[_0x493955(0x190)]??getCliVersion(),'spanName':_0x2cbdfa[_0x493955(0x198)],'eventType':'manual','logData':_0x2cbdfa[_0x493955(0x199)],..._0x2cbdfa[_0x493955(0x193)]&&{'traceparent':_0x2cbdfa[_0x493955(0x193)]}});}
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 +1 @@
1
- const a251_0x2ecfa5=a251_0x361f;(function(_0x43d2d9,_0xbba2e7){const _0xde3479=a251_0x361f,_0x27e4f4=_0x43d2d9();while(!![]){try{const _0x51844c=-parseInt(_0xde3479(0x151))/0x1+-parseInt(_0xde3479(0x146))/0x2+-parseInt(_0xde3479(0x150))/0x3*(parseInt(_0xde3479(0x14c))/0x4)+-parseInt(_0xde3479(0x152))/0x5+-parseInt(_0xde3479(0x155))/0x6*(parseInt(_0xde3479(0x14a))/0x7)+parseInt(_0xde3479(0x14d))/0x8*(-parseInt(_0xde3479(0x147))/0x9)+parseInt(_0xde3479(0x14f))/0xa;if(_0x51844c===_0xbba2e7)break;else _0x27e4f4['push'](_0x27e4f4['shift']());}catch(_0x34df05){_0x27e4f4['push'](_0x27e4f4['shift']());}}}(a251_0x3dd0,0x75e8e));function a251_0x361f(_0x3fe854,_0x3f45a3){_0x3fe854=_0x3fe854-0x145;const _0x3dd028=a251_0x3dd0();let _0x361f20=_0x3dd028[_0x3fe854];return _0x361f20;}import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';function a251_0x3dd0(){const _0xee0f53=['description','1553856CGmxGR','293720qeDHtY','issue.log.collect','46294510WbNSaj','6yhdfgf','305040GQVaIk','4801110pKUTmR','originalBytes','title','6ePCkkY','truncated','redactionKinds','1519712SBNjre','126inFCgj','join','sanitize','5813059KkFERT'];a251_0x3dd0=function(){return _0xee0f53;};return a251_0x3dd0();}export const PLATFORM_ISSUE_TRACE_NAME='platform-issue-log-collect';export const PLATFORM_ISSUE_SPAN_NAME=a251_0x2ecfa5(0x14e);export async function sendPlatformIssueCollectLog(_0x364a85){const _0x2f2445=a251_0x2ecfa5;await sendCliTraceLog({'traceName':PLATFORM_ISSUE_TRACE_NAME,'spanName':PLATFORM_ISSUE_SPAN_NAME,'logData':{'issue.title':_0x364a85[_0x2f2445(0x154)],'issue.description':_0x364a85[_0x2f2445(0x14b)],..._0x364a85[_0x2f2445(0x149)]?{'issue.description_original_bytes':_0x364a85[_0x2f2445(0x149)][_0x2f2445(0x153)],'issue.description_truncated':_0x364a85[_0x2f2445(0x149)][_0x2f2445(0x156)],'issue.description_redactions':_0x364a85[_0x2f2445(0x149)]['redactionCount'],'issue.description_redaction_kinds':_0x364a85['sanitize'][_0x2f2445(0x145)][_0x2f2445(0x148)](',')}:{}}});}
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 +1 @@
1
- const a253_0x2b492b=a253_0x11cd;(function(_0x28b9d1,_0x4b52e8){const _0x3c542f=a253_0x11cd,_0x149d9e=_0x28b9d1();while(!![]){try{const _0x14d336=parseInt(_0x3c542f(0x1e7))/0x1*(-parseInt(_0x3c542f(0x1cb))/0x2)+-parseInt(_0x3c542f(0x1da))/0x3+parseInt(_0x3c542f(0x1f1))/0x4*(parseInt(_0x3c542f(0x1ca))/0x5)+-parseInt(_0x3c542f(0x1d4))/0x6*(-parseInt(_0x3c542f(0x1c8))/0x7)+-parseInt(_0x3c542f(0x1d0))/0x8*(-parseInt(_0x3c542f(0x1e2))/0x9)+parseInt(_0x3c542f(0x1ee))/0xa*(-parseInt(_0x3c542f(0x1c6))/0xb)+parseInt(_0x3c542f(0x1ea))/0xc;if(_0x14d336===_0x4b52e8)break;else _0x149d9e['push'](_0x149d9e['shift']());}catch(_0x4278ba){_0x149d9e['push'](_0x149d9e['shift']());}}}(a253_0x53cf,0x9a4a9));export const CORE_IDE_CONFIGS={'cursor':{'name':a253_0x2b492b(0x1d7),'description':a253_0x2b492b(0x1cc),'folders':[a253_0x2b492b(0x1d5),'.cursor'],'files':[{'type':a253_0x2b492b(0x1db),'path':a253_0x2b492b(0x1dd),'template':a253_0x2b492b(0x1d8)}]},'windsurf':{'name':a253_0x2b492b(0x1f6),'description':a253_0x2b492b(0x1d6),'folders':[a253_0x2b492b(0x1ce)],'files':[{'type':'file','path':'.windsurf/workflows/rabetbase.md','template':'SKILL.md.tpl'}]},'claude':{'name':a253_0x2b492b(0x1f2),'description':a253_0x2b492b(0x1f2),'folders':[a253_0x2b492b(0x1fd)],'files':[{'type':'file','path':a253_0x2b492b(0x1e8),'template':'SKILL.md.tpl'}]},'cline':{'name':'Cline','description':a253_0x2b492b(0x1f5),'folders':[a253_0x2b492b(0x1c9)],'files':[{'type':a253_0x2b492b(0x1db),'path':a253_0x2b492b(0x1de),'template':a253_0x2b492b(0x1d8)}]},'codex':{'name':a253_0x2b492b(0x1ef),'description':a253_0x2b492b(0x1e4),'folders':[a253_0x2b492b(0x1dc)],'files':[{'type':'file','path':a253_0x2b492b(0x1ff),'template':a253_0x2b492b(0x1d8)}]},'opencode':{'name':a253_0x2b492b(0x1ec),'description':'OpenCode\x20IDE','folders':[a253_0x2b492b(0x1c7)],'files':[{'type':a253_0x2b492b(0x1db),'path':a253_0x2b492b(0x1d9),'template':a253_0x2b492b(0x1d8)}]},'qoder':{'name':'Qoder','description':a253_0x2b492b(0x1cf),'folders':[a253_0x2b492b(0x1e6)],'files':[{'type':a253_0x2b492b(0x1db),'path':a253_0x2b492b(0x1e0),'template':'SKILL.md.tpl'},{'type':a253_0x2b492b(0x1db),'path':'.qoder/skills/lovrabet/SKILL.md','template':a253_0x2b492b(0x1d8)}]},'codebuddy':{'name':a253_0x2b492b(0x1fb),'description':a253_0x2b492b(0x1fa),'folders':[a253_0x2b492b(0x1e3)],'files':[{'type':a253_0x2b492b(0x1db),'path':a253_0x2b492b(0x1df),'template':a253_0x2b492b(0x1d8)}]},'trae':{'name':'Trae','description':a253_0x2b492b(0x1d2),'folders':[a253_0x2b492b(0x201)],'files':[{'type':a253_0x2b492b(0x1db),'path':a253_0x2b492b(0x1f7),'template':'SKILL.md.tpl'}]}};export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':a253_0x2b492b(0x1f0),'description':a253_0x2b492b(0x1f4),'folders':['.agent'],'files':[{'type':a253_0x2b492b(0x1db),'path':'.agent/skills/lovrabet/SKILL.md','template':a253_0x2b492b(0x1d8)}]},'antigravity':{'name':a253_0x2b492b(0x1fe),'description':a253_0x2b492b(0x1f8),'folders':[a253_0x2b492b(0x1f9)],'files':[{'type':a253_0x2b492b(0x1db),'path':a253_0x2b492b(0x1e9),'template':a253_0x2b492b(0x1d8)}]}};function a253_0x53cf(){const _0x13c60d=['.claude/skills/lovrabet/SKILL.md','.agent/skills/lovrabet/SKILL.md','12139944UwnYUl','agent','OpenCode','cline','3530YoiZrJ','Codex','其他\x20(通用模板)','45260zqVzUk','Claude\x20Code','qoder','通用模板\x20-\x20兜底方案','Cline\x20IDE','Windsurf','.trae/skills/lovrabet/SKILL.md','Antigravity\x20IDE','.agent','CodeBuddy\x20IDE','CodeBuddy','cursor','.claude','Antigravity','.codex/skills/lovrabet/SKILL.md','claude','.trae','33682rdElRF','.opencode','90013cqbRjc','.cline','455LNIWBy','150vHzxss','Cursor\x20IDE','opencode','.windsurf','Qoder\x20IDE','8664784AgsvIc','codebuddy','Trae\x20IDE','trae','30FwasIa','.cursorrules','Windsurf\x20IDE','Cursor','SKILL.md.tpl','.opencode/skills/lovrabet/SKILL.md','2479296VUPaHr','file','.codex','.cursor/skills/rabetbase.md','.cline/skills/lovrabet/SKILL.md','.codebuddy/skills/lovrabet/SKILL.md','.qoder/rules/rabetbase.md','windsurf','9bdfihx','.codebuddy','Codex\x20IDE','codex','.qoder','8659eqaRwg'];a253_0x53cf=function(){return _0x13c60d;};return a253_0x53cf();}export const CORE_IDE_LIST=[a253_0x2b492b(0x200),'cline',a253_0x2b492b(0x1d1),a253_0x2b492b(0x1e5),a253_0x2b492b(0x1fc),a253_0x2b492b(0x1cd),a253_0x2b492b(0x1f3),a253_0x2b492b(0x1d3),a253_0x2b492b(0x1e1)];function a253_0x11cd(_0x46e35f,_0x4fe60a){_0x46e35f=_0x46e35f-0x1c6;const _0x53cf71=a253_0x53cf();let _0x11cd94=_0x53cf71[_0x46e35f];return _0x11cd94;}export const IDE_LIST=['antigravity','claude',a253_0x2b492b(0x1ed),'codebuddy',a253_0x2b492b(0x1e5),a253_0x2b492b(0x1fc),a253_0x2b492b(0x1cd),a253_0x2b492b(0x1f3),a253_0x2b492b(0x1d3),'windsurf',a253_0x2b492b(0x1eb)];export const ALL_CORE_IDES=['cursor',a253_0x2b492b(0x1e1),a253_0x2b492b(0x200),'cline',a253_0x2b492b(0x1e5),a253_0x2b492b(0x1cd),a253_0x2b492b(0x1f3),'codebuddy',a253_0x2b492b(0x1d3)];
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)];