@lovrabet/rabetbase-cli 2.4.1-beta.1 → 2.4.2

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 (293) hide show
  1. package/lib/api/api-doc.js +1 -1
  2. package/lib/api/fetch-model-list.js +1 -1
  3. package/lib/api/generate-api-file.js +1 -1
  4. package/lib/auth/auth-server-ui.js +1 -1
  5. package/lib/auth/auth-server.js +1 -1
  6. package/lib/auth/constant.js +1 -1
  7. package/lib/auth/get-cookie.js +1 -1
  8. package/lib/auth/get-session-user.js +1 -1
  9. package/lib/auth/is-session-valid.js +1 -1
  10. package/lib/auth/login-success-html.js +1 -1
  11. package/lib/auth/logout.js +1 -1
  12. package/lib/cli-flags.js +1 -1
  13. package/lib/cli.js +1 -1
  14. package/lib/commands/api/generate.js +1 -1
  15. package/lib/commands/api/index.js +1 -1
  16. package/lib/commands/api/list.js +1 -1
  17. package/lib/commands/api/pull.js +1 -1
  18. package/lib/commands/api/shared.js +1 -1
  19. package/lib/commands/app/index.js +1 -1
  20. package/lib/commands/app/list.js +1 -1
  21. package/lib/commands/app/members-list.js +1 -1
  22. package/lib/commands/app/remote-directory.js +1 -1
  23. package/lib/commands/app/shared.js +1 -1
  24. package/lib/commands/app-config/delete.js +1 -1
  25. package/lib/commands/app-config/get.js +1 -1
  26. package/lib/commands/app-config/index.js +1 -1
  27. package/lib/commands/app-config/list.js +1 -1
  28. package/lib/commands/app-config/set.js +1 -1
  29. package/lib/commands/app-config/shared.js +1 -1
  30. package/lib/commands/auth/index.js +1 -1
  31. package/lib/commands/bff/create.js +1 -1
  32. package/lib/commands/bff/delete.js +1 -1
  33. package/lib/commands/bff/detail.js +1 -1
  34. package/lib/commands/bff/index.js +1 -1
  35. package/lib/commands/bff/list.js +1 -1
  36. package/lib/commands/bff/pull.js +1 -1
  37. package/lib/commands/bff/push.js +1 -1
  38. package/lib/commands/bff/status.js +1 -1
  39. package/lib/commands/cli-skill/index.js +1 -1
  40. package/lib/commands/cli-update.js +1 -1
  41. package/lib/commands/codegen/index.js +1 -1
  42. package/lib/commands/codegen/sdk.js +1 -1
  43. package/lib/commands/codegen/sql.js +1 -1
  44. package/lib/commands/common/app-registry.js +1 -1
  45. package/lib/commands/common/app-selector.js +1 -1
  46. package/lib/commands/common/async-task.js +1 -1
  47. package/lib/commands/common/dry-run.js +1 -1
  48. package/lib/commands/common/flags.js +1 -1
  49. package/lib/commands/common/local-file.js +1 -1
  50. package/lib/commands/common/validate.js +1 -1
  51. package/lib/commands/config/get.js +1 -1
  52. package/lib/commands/config/index.js +1 -1
  53. package/lib/commands/config/list.js +1 -1
  54. package/lib/commands/config/set.js +1 -1
  55. package/lib/commands/config/shared.js +1 -1
  56. package/lib/commands/data/filter.js +1 -1
  57. package/lib/commands/data/getOne.js +1 -1
  58. package/lib/commands/data/index.js +1 -1
  59. package/lib/commands/data/shared.js +1 -1
  60. package/lib/commands/dataset/business-group-update.js +1 -1
  61. package/lib/commands/dataset/capability.js +1 -1
  62. package/lib/commands/dataset/delete.js +1 -1
  63. package/lib/commands/dataset/detail.js +1 -1
  64. package/lib/commands/dataset/extend-update.js +1 -1
  65. package/lib/commands/dataset/field-update.js +1 -1
  66. package/lib/commands/dataset/generate.js +1 -1
  67. package/lib/commands/dataset/index.js +1 -1
  68. package/lib/commands/dataset/list.js +1 -1
  69. package/lib/commands/dataset/operations.js +1 -1
  70. package/lib/commands/dataset/relation-audit.js +1 -1
  71. package/lib/commands/dataset/relation-create.js +1 -1
  72. package/lib/commands/dataset/relation-delete.js +1 -1
  73. package/lib/commands/dataset/relation-shared.js +1 -1
  74. package/lib/commands/dataset/relation-update.js +1 -1
  75. package/lib/commands/dataset/relations.js +1 -1
  76. package/lib/commands/dataset/rename.js +1 -1
  77. package/lib/commands/dataset/restore.js +1 -1
  78. package/lib/commands/db/analysis-batching.js +1 -1
  79. package/lib/commands/db/analyze-batch-plan.js +1 -1
  80. package/lib/commands/db/analyze-cancel.js +1 -1
  81. package/lib/commands/db/analyze-start.js +1 -1
  82. package/lib/commands/db/analyze-status.js +1 -1
  83. package/lib/commands/db/create.js +1 -1
  84. package/lib/commands/db/delete.js +1 -1
  85. package/lib/commands/db/detail.js +1 -1
  86. package/lib/commands/db/diff.js +1 -1
  87. package/lib/commands/db/index.js +1 -1
  88. package/lib/commands/db/list.js +1 -1
  89. package/lib/commands/db/shared.js +1 -1
  90. package/lib/commands/db/tables.js +1 -1
  91. package/lib/commands/db/test.js +1 -1
  92. package/lib/commands/db/update.js +1 -1
  93. package/lib/commands/doctor.js +1 -1
  94. package/lib/commands/file/index.js +1 -1
  95. package/lib/commands/init/index.js +1 -1
  96. package/lib/commands/issue/index.js +1 -1
  97. package/lib/commands/issue/nudge.js +1 -1
  98. package/lib/commands/issue/report.js +1 -1
  99. package/lib/commands/issue/shared.js +1 -1
  100. package/lib/commands/kb/create.js +1 -1
  101. package/lib/commands/kb/delete.js +1 -1
  102. package/lib/commands/kb/detail.js +1 -1
  103. package/lib/commands/kb/index.js +1 -1
  104. package/lib/commands/kb/list.js +1 -1
  105. package/lib/commands/kb/shared.js +1 -1
  106. package/lib/commands/kb/update.js +1 -1
  107. package/lib/commands/logs/index.js +1 -1
  108. package/lib/commands/menu/asset-update.js +1 -1
  109. package/lib/commands/menu/delete.js +1 -1
  110. package/lib/commands/menu/external-link-create.js +1 -1
  111. package/lib/commands/menu/external-link-update.js +1 -1
  112. package/lib/commands/menu/group-create.js +1 -1
  113. package/lib/commands/menu/group-update.js +1 -1
  114. package/lib/commands/menu/index.js +1 -1
  115. package/lib/commands/menu/list.js +1 -1
  116. package/lib/commands/menu/move.js +1 -1
  117. package/lib/commands/menu/regroup-start.js +1 -1
  118. package/lib/commands/menu/rename.js +1 -1
  119. package/lib/commands/menu/shared/compare-table.js +1 -1
  120. package/lib/commands/menu/shared/delete-plan.js +1 -1
  121. package/lib/commands/menu/shared/facts.js +1 -1
  122. package/lib/commands/menu/shared/index.js +1 -1
  123. package/lib/commands/menu/shared/inquirer.js +1 -1
  124. package/lib/commands/menu/shared/local-pages.js +1 -1
  125. package/lib/commands/menu/shared/logic.js +1 -1
  126. package/lib/commands/menu/shared/mutations.js +1 -1
  127. package/lib/commands/menu/shared/service.js +1 -1
  128. package/lib/commands/menu/shared/sync-core.js +1 -1
  129. package/lib/commands/menu/shared/update-core.js +1 -1
  130. package/lib/commands/menu/shared/valid-url.js +1 -1
  131. package/lib/commands/menu/sync.js +1 -1
  132. package/lib/commands/notification/config-list.js +1 -1
  133. package/lib/commands/notification/index.js +1 -1
  134. package/lib/commands/ocr/index.js +1 -1
  135. package/lib/commands/page/generate-start.js +1 -1
  136. package/lib/commands/page/generate-status.js +1 -1
  137. package/lib/commands/page/index.js +1 -1
  138. package/lib/commands/page/pull.js +1 -1
  139. package/lib/commands/page/push.js +1 -1
  140. package/lib/commands/page/react/create.js +1 -1
  141. package/lib/commands/page/react/detail.js +1 -1
  142. package/lib/commands/page/react/list.js +1 -1
  143. package/lib/commands/page/react/publish.js +1 -1
  144. package/lib/commands/page/react/shared.js +1 -1
  145. package/lib/commands/page/react/syntax.js +1 -1
  146. package/lib/commands/page/react/template.js +1 -1
  147. package/lib/commands/page/react/update.js +1 -1
  148. package/lib/commands/page/relation-audit.js +1 -1
  149. package/lib/commands/page/restore.js +1 -1
  150. package/lib/commands/page/shared.js +1 -1
  151. package/lib/commands/page/standard-page-status.js +1 -1
  152. package/lib/commands/page/sync.js +1 -1
  153. package/lib/commands/permit/index.js +1 -1
  154. package/lib/commands/permit/page-get.js +1 -1
  155. package/lib/commands/permit/page-set.js +1 -1
  156. package/lib/commands/permit/role-apis-set.js +1 -1
  157. package/lib/commands/permit/role-menus-set.js +1 -1
  158. package/lib/commands/permit/role-menus.js +1 -1
  159. package/lib/commands/permit/shared.js +1 -1
  160. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  161. package/lib/commands/project/create/format-elapsed.js +1 -1
  162. package/lib/commands/project/create/main.js +1 -1
  163. package/lib/commands/project/create/non-interactive.js +1 -1
  164. package/lib/commands/project/create/project-template-path.js +1 -1
  165. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  166. package/lib/commands/project/create/use-format-code.js +1 -1
  167. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  168. package/lib/commands/project/index.js +1 -1
  169. package/lib/commands/project/upgrade.js +1 -1
  170. package/lib/commands/registry.js +1 -1
  171. package/lib/commands/role/create.js +1 -1
  172. package/lib/commands/role/delete.js +1 -1
  173. package/lib/commands/role/detail.js +1 -1
  174. package/lib/commands/role/index.js +1 -1
  175. package/lib/commands/role/list.js +1 -1
  176. package/lib/commands/role/shared.js +1 -1
  177. package/lib/commands/role/update.js +1 -1
  178. package/lib/commands/role/user-add.js +1 -1
  179. package/lib/commands/role/user-remove.js +1 -1
  180. package/lib/commands/role/user-resolve.js +1 -1
  181. package/lib/commands/run/index.js +1 -1
  182. package/lib/commands/schema.js +1 -1
  183. package/lib/commands/sql/create.js +1 -1
  184. package/lib/commands/sql/delete.js +1 -1
  185. package/lib/commands/sql/detail.js +1 -1
  186. package/lib/commands/sql/exec.js +1 -1
  187. package/lib/commands/sql/index.js +1 -1
  188. package/lib/commands/sql/list.js +1 -1
  189. package/lib/commands/sql/pull.js +1 -1
  190. package/lib/commands/sql/push.js +1 -1
  191. package/lib/commands/sql/shared.js +1 -1
  192. package/lib/commands/sql/status.js +1 -1
  193. package/lib/commands/sql/validate.js +1 -1
  194. package/lib/commands/task/index.js +1 -1
  195. package/lib/commands/task/status.js +1 -1
  196. package/lib/commands/tenant/index.js +1 -1
  197. package/lib/commands/tenant/members-list.js +1 -1
  198. package/lib/commands/tenant/shared.js +1 -1
  199. package/lib/commands/user-account/dingding-sandbox-bind.js +1 -1
  200. package/lib/commands/user-account/index.js +1 -1
  201. package/lib/commands/workspace/add.js +1 -1
  202. package/lib/commands/workspace/index.js +1 -1
  203. package/lib/commands/workspace/remove.js +1 -1
  204. package/lib/config/schema.js +1 -1
  205. package/lib/constant/cdn.js +1 -1
  206. package/lib/constant/cli.js +1 -1
  207. package/lib/constant/defaults.js +1 -1
  208. package/lib/constant/domain.js +1 -1
  209. package/lib/constant/env.js +1 -1
  210. package/lib/constant/output.js +1 -1
  211. package/lib/constant/paths.js +1 -1
  212. package/lib/constant/risk.js +1 -1
  213. package/lib/context/app-resolver.js +1 -1
  214. package/lib/context/auth-resolver.js +1 -1
  215. package/lib/context/config-loader.js +1 -1
  216. package/lib/context.js +1 -1
  217. package/lib/core/alias-resolver.js +1 -1
  218. package/lib/core/api-client.js +1 -1
  219. package/lib/core/bff/config.js +1 -1
  220. package/lib/core/bff/file-system.js +1 -1
  221. package/lib/core/bff/hash.js +1 -1
  222. package/lib/core/bff/lock.js +1 -1
  223. package/lib/core/bff/utils.js +1 -1
  224. package/lib/core/db-resolver.js +1 -1
  225. package/lib/core/page/file-system.js +1 -1
  226. package/lib/core/page/hash.js +1 -1
  227. package/lib/core/page/lock.js +1 -1
  228. package/lib/core/sql-index-auditor.js +1 -1
  229. package/lib/core/sql-sync/config.js +1 -1
  230. package/lib/core/sql-sync/file-system.js +1 -1
  231. package/lib/core/sql-sync/hash.js +1 -1
  232. package/lib/core/sql-sync/lock.js +1 -1
  233. package/lib/core/sql-sync/utils.js +1 -1
  234. package/lib/core/sql-validator.js +1 -1
  235. package/lib/errors.js +1 -1
  236. package/lib/framework/build-all-flags.js +1 -1
  237. package/lib/framework/error-output.js +1 -1
  238. package/lib/framework/explicit-yes.js +1 -1
  239. package/lib/framework/flags.js +1 -1
  240. package/lib/framework/help.js +1 -1
  241. package/lib/framework/index.js +1 -1
  242. package/lib/framework/output.js +1 -1
  243. package/lib/framework/response.js +1 -1
  244. package/lib/framework/runner-alias.js +1 -1
  245. package/lib/framework/runner.js +1 -1
  246. package/lib/framework/schema-export.js +1 -1
  247. package/lib/framework/types.js +1 -1
  248. package/lib/generated/build-info.d.ts +4 -4
  249. package/lib/generated/build-info.js +1 -1
  250. package/lib/help.js +1 -1
  251. package/lib/postinstall.js +1 -1
  252. package/lib/runtime/confirmation.js +1 -1
  253. package/lib/runtime/event.js +1 -1
  254. package/lib/runtime/index.js +1 -1
  255. package/lib/runtime/queue.js +1 -1
  256. package/lib/runtime/resolve.js +1 -1
  257. package/lib/skills/builtin-skill.js +1 -1
  258. package/lib/skills/main.js +1 -1
  259. package/lib/skills/npx-skills-add.js +1 -1
  260. package/lib/skills/skill-presence.js +1 -1
  261. package/lib/telemetry/cli-command-trace.js +1 -1
  262. package/lib/telemetry/cli-help-trace.js +1 -1
  263. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  264. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  265. package/lib/telemetry/send-cli-trace-log.js +1 -1
  266. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  267. package/lib/utils/ai_config.js +1 -1
  268. package/lib/utils/apply-jq-filter.js +1 -1
  269. package/lib/utils/cdn-config.js +1 -1
  270. package/lib/utils/check-sdk-version.js +1 -1
  271. package/lib/utils/cli-version-check.js +1 -1
  272. package/lib/utils/cli-version-policy.js +1 -1
  273. package/lib/utils/config.js +1 -1
  274. package/lib/utils/copy-directory.js +1 -1
  275. package/lib/utils/entity-with-id.js +1 -1
  276. package/lib/utils/file-utils.js +1 -1
  277. package/lib/utils/guides-cdn.js +1 -1
  278. package/lib/utils/http-client.js +1 -1
  279. package/lib/utils/is-non-interactive.js +1 -1
  280. package/lib/utils/logger.js +1 -1
  281. package/lib/utils/params.js +1 -1
  282. package/lib/utils/platform.js +1 -1
  283. package/lib/utils/rules-cdn.js +1 -1
  284. package/lib/utils/sleep.js +1 -1
  285. package/lib/utils/template-replacer.js +1 -1
  286. package/lib/utils/update-notice.js +1 -1
  287. package/lib/utils/version.js +1 -1
  288. package/lib/utils/with-active-cookie.js +1 -1
  289. package/lib/utils/write-cli-side-channel.js +1 -1
  290. package/package.json +1 -1
  291. package/skills/rabetbase/SKILL.md +1 -1
  292. package/skills/rabetbase/references/rabetbase-page-react-detail.md +1 -1
  293. package/skills/rabetbase.manifest.json +3 -3
@@ -1 +1 @@
1
- (function(_0x101b07,_0x4fece4){const _0x517b16=a249_0x22b4,_0x159b14=_0x101b07();while(!![]){try{const _0x7b704c=-parseInt(_0x517b16(0xa5))/0x1*(-parseInt(_0x517b16(0xa4))/0x2)+parseInt(_0x517b16(0xaa))/0x3*(parseInt(_0x517b16(0xae))/0x4)+-parseInt(_0x517b16(0xa9))/0x5*(-parseInt(_0x517b16(0xac))/0x6)+parseInt(_0x517b16(0xab))/0x7+-parseInt(_0x517b16(0xa3))/0x8*(-parseInt(_0x517b16(0xa6))/0x9)+parseInt(_0x517b16(0xad))/0xa+parseInt(_0x517b16(0xa7))/0xb*(-parseInt(_0x517b16(0xa8))/0xc);if(_0x7b704c===_0x4fece4)break;else _0x159b14['push'](_0x159b14['shift']());}catch(_0x57fb9d){_0x159b14['push'](_0x159b14['shift']());}}}(a249_0x4076,0x87ba9));import{buildSchemaPayload as a249_0x5683f1}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const {serviceRegistry:_0xfdde2a,findDefinition:_0xdc78d3}=await import('../commands/registry.js');return a249_0x5683f1({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0xfdde2a,'buildAllFlags':buildAllFlags,'findDefinition':_0xdc78d3});}function a249_0x22b4(_0x197802,_0x2b9a10){_0x197802=_0x197802-0xa3;const _0x407625=a249_0x4076();let _0x22b497=_0x407625[_0x197802];return _0x22b497;}function a249_0x4076(){const _0x44768b=['1525132lBxpMn','2935878hhFsJa','5367470IeJLjs','40492CBNXrM','13864AzCGRV','509946VetZUG','4SUIFgt','5319StRxqm','130174pUtqnj','2832kxWPPd','5PKQNxU','18dmfzub'];a249_0x4076=function(){return _0x44768b;};return a249_0x4076();}
1
+ function a249_0x488e(_0x1fda5f,_0x3d087d){_0x1fda5f=_0x1fda5f-0x70;const _0x56d353=a249_0x56d3();let _0x488eb9=_0x56d353[_0x1fda5f];return _0x488eb9;}(function(_0x57392b,_0x46834c){const _0x11a991=a249_0x488e,_0x5e30ce=_0x57392b();while(!![]){try{const _0xc2f379=parseInt(_0x11a991(0x78))/0x1*(-parseInt(_0x11a991(0x76))/0x2)+-parseInt(_0x11a991(0x73))/0x3+parseInt(_0x11a991(0x74))/0x4*(parseInt(_0x11a991(0x72))/0x5)+-parseInt(_0x11a991(0x77))/0x6+-parseInt(_0x11a991(0x79))/0x7+parseInt(_0x11a991(0x71))/0x8+-parseInt(_0x11a991(0x70))/0x9*(-parseInt(_0x11a991(0x75))/0xa);if(_0xc2f379===_0x46834c)break;else _0x5e30ce['push'](_0x5e30ce['shift']());}catch(_0x27d107){_0x5e30ce['push'](_0x5e30ce['shift']());}}}(a249_0x56d3,0x58007));import{buildSchemaPayload as a249_0x40d982}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 a249_0x56d3(){const _0x2aa66c=['190722KmqPIA','../commands/registry.js','1354239gJCPAJ','1963296aDBdVP','10kBrVic','1023870NfhDDp','398628rUyNGR','90TDGvfA','92648XPdcac','4196292IhJpPB','8uhZjsZ'];a249_0x56d3=function(){return _0x2aa66c;};return a249_0x56d3();}import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x320c2a=a249_0x488e,{serviceRegistry:_0x4f2f06,findDefinition:_0xb981a6}=await import(_0x320c2a(0x7a));return a249_0x40d982({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x4f2f06,'buildAllFlags':buildAllFlags,'findDefinition':_0xb981a6});}
@@ -1 +1 @@
1
- (function(_0x543f03,_0x46ea05){var _0x2f5f3b=a250_0x437d,_0x3a3ad7=_0x543f03();while(!![]){try{var _0x10325a=-parseInt(_0x2f5f3b(0xa7))/0x1+-parseInt(_0x2f5f3b(0xa2))/0x2+parseInt(_0x2f5f3b(0xa1))/0x3*(parseInt(_0x2f5f3b(0xa3))/0x4)+-parseInt(_0x2f5f3b(0xa9))/0x5*(parseInt(_0x2f5f3b(0xa4))/0x6)+parseInt(_0x2f5f3b(0xaa))/0x7+parseInt(_0x2f5f3b(0xa5))/0x8+parseInt(_0x2f5f3b(0xa8))/0x9*(-parseInt(_0x2f5f3b(0xa6))/0xa);if(_0x10325a===_0x46ea05)break;else _0x3a3ad7['push'](_0x3a3ad7['shift']());}catch(_0x16823b){_0x3a3ad7['push'](_0x3a3ad7['shift']());}}}(a250_0x2f07,0xc45c6));function a250_0x437d(_0x112975,_0x13b6ef){_0x112975=_0x112975-0xa1;var _0x2f07ab=a250_0x2f07();var _0x437ddb=_0x2f07ab[_0x112975];return _0x437ddb;}function a250_0x2f07(){var _0x5e47d3=['182887znNfSN','518922mKcLnA','446350KYFdue','7420679KUHrEx','4578sCgsZO','945504ZvblBT','2364djzKAV','24yLYNHe','224192TxjhyP','30jYSIch'];a250_0x2f07=function(){return _0x5e47d3;};return a250_0x2f07();}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';
1
+ (function(_0x57795d,_0x5c753c){var _0x4f69fd=a250_0x51c5,_0x30baf9=_0x57795d();while(!![]){try{var _0x30e986=-parseInt(_0x4f69fd(0xa6))/0x1*(parseInt(_0x4f69fd(0xa5))/0x2)+-parseInt(_0x4f69fd(0xa8))/0x3*(parseInt(_0x4f69fd(0xae))/0x4)+-parseInt(_0x4f69fd(0xac))/0x5+parseInt(_0x4f69fd(0xa9))/0x6*(parseInt(_0x4f69fd(0xab))/0x7)+-parseInt(_0x4f69fd(0xa7))/0x8*(parseInt(_0x4f69fd(0xaf))/0x9)+parseInt(_0x4f69fd(0xad))/0xa+parseInt(_0x4f69fd(0xaa))/0xb;if(_0x30e986===_0x5c753c)break;else _0x30baf9['push'](_0x30baf9['shift']());}catch(_0x2842b9){_0x30baf9['push'](_0x30baf9['shift']());}}}(a250_0x5df0,0x2100d));function a250_0x51c5(_0x219ed9,_0x2117c9){_0x219ed9=_0x219ed9-0xa5;var _0x5df08a=a250_0x5df0();var _0x51c59d=_0x5df08a[_0x219ed9];return _0x51c59d;}function a250_0x5df0(){var _0x3307af=['211RAyPLy','1096KpCGNJ','41073lngewJ','650646aWzMLF','4475988VvuDjA','14TJWGZx','1255450SrnGzn','902240ZMuKkc','68fiKreq','4203fiPPxt','294lFwLrX'];a250_0x5df0=function(){return _0x3307af;};return a250_0x5df0();}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';
@@ -1,4 +1,4 @@
1
- export declare const VERSION = "2.4.1-beta.1";
2
- export declare const GIT_TAG = "v2.4.1-beta.1";
3
- export declare const GIT_COMMIT = "049f5c2";
4
- export declare const BUILD_TIME = "2026-08-11T11:52:22.335Z";
1
+ export declare const VERSION = "2.4.2";
2
+ export declare const GIT_TAG = "v2.4.2";
3
+ export declare const GIT_COMMIT = "d000b84";
4
+ export declare const BUILD_TIME = "2026-08-11T12:48:08.038Z";
@@ -1 +1 @@
1
- function a251_0x20b0(_0x34a780,_0x850e54){_0x34a780=_0x34a780-0x12e;const _0x174b7c=a251_0x174b();let _0x20b0ec=_0x174b7c[_0x34a780];return _0x20b0ec;}function a251_0x174b(){const _0x33f230=['540lMgAFT','305CQBLhg','28SIrHlD','1984YOkhxy','1094125ZYVzMQ','1203906raQKBu','4048QpszMe','7329LBPozo','2752929qtZUWz','7302ErLYZa','v2.4.1-beta.1','10910vicjBU','2.4.1-beta.1'];a251_0x174b=function(){return _0x33f230;};return a251_0x174b();}const a251_0x1f6ab0=a251_0x20b0;(function(_0x4595ce,_0x446bd2){const _0x2e916a=a251_0x20b0,_0x5c308d=_0x4595ce();while(!![]){try{const _0x29347b=parseInt(_0x2e916a(0x139))/0x1*(-parseInt(_0x2e916a(0x138))/0x2)+parseInt(_0x2e916a(0x134))/0x3*(parseInt(_0x2e916a(0x13a))/0x4)+parseInt(_0x2e916a(0x12f))/0x5+parseInt(_0x2e916a(0x130))/0x6+parseInt(_0x2e916a(0x132))/0x7*(-parseInt(_0x2e916a(0x12e))/0x8)+-parseInt(_0x2e916a(0x133))/0x9+parseInt(_0x2e916a(0x136))/0xa*(parseInt(_0x2e916a(0x131))/0xb);if(_0x29347b===_0x446bd2)break;else _0x5c308d['push'](_0x5c308d['shift']());}catch(_0x567fb1){_0x5c308d['push'](_0x5c308d['shift']());}}}(a251_0x174b,0x2e6a3));export const VERSION=a251_0x1f6ab0(0x137);export const GIT_TAG=a251_0x1f6ab0(0x135);export const GIT_COMMIT='049f5c2';export const BUILD_TIME='2026-08-11T11:52:22.335Z';
1
+ const a251_0x46af0e=a251_0x3b46;(function(_0x9d4777,_0x2bb7ee){const _0x4d4ff5=a251_0x3b46,_0x43b1ac=_0x9d4777();while(!![]){try{const _0x4e5108=-parseInt(_0x4d4ff5(0xbe))/0x1*(parseInt(_0x4d4ff5(0xc0))/0x2)+-parseInt(_0x4d4ff5(0xc5))/0x3*(parseInt(_0x4d4ff5(0xc2))/0x4)+parseInt(_0x4d4ff5(0xca))/0x5*(-parseInt(_0x4d4ff5(0xcc))/0x6)+-parseInt(_0x4d4ff5(0xc8))/0x7+parseInt(_0x4d4ff5(0xc4))/0x8*(-parseInt(_0x4d4ff5(0xcb))/0x9)+-parseInt(_0x4d4ff5(0xbf))/0xa+parseInt(_0x4d4ff5(0xc9))/0xb;if(_0x4e5108===_0x2bb7ee)break;else _0x43b1ac['push'](_0x43b1ac['shift']());}catch(_0x40e132){_0x43b1ac['push'](_0x43b1ac['shift']());}}}(a251_0x322a,0x4112f));function a251_0x3b46(_0x2d2705,_0x35ffc0){_0x2d2705=_0x2d2705-0xbe;const _0x322aff=a251_0x322a();let _0x3b4633=_0x322aff[_0x2d2705];return _0x3b4633;}function a251_0x322a(){const _0x24d802=['31956mrXKGc','22730Eixoik','3388150dRYXxs','22FHfSoA','d000b84','5708FETkqE','2026-08-11T12:48:08.038Z','3254808PgagET','459xZItgt','2.4.2','v2.4.2','858613JgvEyP','17811277AZHHGx','15vtgsjh','9xZnhzR'];a251_0x322a=function(){return _0x24d802;};return a251_0x322a();}export const VERSION=a251_0x46af0e(0xc6);export const GIT_TAG=a251_0x46af0e(0xc7);export const GIT_COMMIT=a251_0x46af0e(0xc1);export const BUILD_TIME=a251_0x46af0e(0xc3);
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- (function(_0x22788d,_0xb3e2ce){var _0x1217a6=a252_0x1c3d,_0xc7e7c5=_0x22788d();while(!![]){try{var _0x26e4ce=parseInt(_0x1217a6(0x1b8))/0x1+-parseInt(_0x1217a6(0x1bc))/0x2+-parseInt(_0x1217a6(0x1bb))/0x3*(-parseInt(_0x1217a6(0x1ba))/0x4)+-parseInt(_0x1217a6(0x1b7))/0x5*(-parseInt(_0x1217a6(0x1bf))/0x6)+-parseInt(_0x1217a6(0x1c2))/0x7*(-parseInt(_0x1217a6(0x1c7))/0x8)+parseInt(_0x1217a6(0x1c0))/0x9+parseInt(_0x1217a6(0x1b9))/0xa*(-parseInt(_0x1217a6(0x1be))/0xb);if(_0x26e4ce===_0xb3e2ce)break;else _0xc7e7c5['push'](_0xc7e7c5['shift']());}catch(_0xfaf70){_0xc7e7c5['push'](_0xc7e7c5['shift']());}}}(a252_0x593a,0x1f258));function a252_0x593a(){var _0x4225ae=['280pBKsTg','989015MALRVC','50363bYjpky','10GbsvQt','17008ovgDdk','159fgPntU','334310IbVzDH','\x20\x20Use\x20','6342545ARWgTK','6TfIjQW','1814661wlCVnS','log','39235RSDwBQ','bold','\x20--help','green','\x20to\x20view\x20available\x20commands.'];a252_0x593a=function(){return _0x4225ae;};return a252_0x593a();}import a252_0x31dfe6 from'chalk';function a252_0x1c3d(_0x1c9fd5,_0x560f62){_0x1c9fd5=_0x1c9fd5-0x1b7;var _0x593a8f=a252_0x593a();var _0x1c3dde=_0x593a8f[_0x1c9fd5];return _0x1c3dde;}import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0x1e5677=a252_0x1c3d;console[_0x1e5677(0x1c1)](),console[_0x1e5677(0x1c1)](a252_0x31dfe6[_0x1e5677(0x1c5)]['bold']('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x1e5677(0x1c1)](),console[_0x1e5677(0x1c1)](_0x1e5677(0x1bd)+a252_0x31dfe6[_0x1e5677(0x1c5)][_0x1e5677(0x1c3)](CLI_BIN_NAME+_0x1e5677(0x1c4))+_0x1e5677(0x1c6)),console[_0x1e5677(0x1c1)]();}
1
+ function a252_0x4060(_0x5135ba,_0x2bc72c){_0x5135ba=_0x5135ba-0x17e;var _0x30ac93=a252_0x30ac();var _0x4060e=_0x30ac93[_0x5135ba];return _0x4060e;}(function(_0x21c250,_0x3fb945){var _0x21fb05=a252_0x4060,_0x461b30=_0x21c250();while(!![]){try{var _0x478f21=-parseInt(_0x21fb05(0x180))/0x1+-parseInt(_0x21fb05(0x187))/0x2+-parseInt(_0x21fb05(0x18b))/0x3+-parseInt(_0x21fb05(0x17f))/0x4+-parseInt(_0x21fb05(0x183))/0x5*(parseInt(_0x21fb05(0x182))/0x6)+-parseInt(_0x21fb05(0x181))/0x7+parseInt(_0x21fb05(0x188))/0x8;if(_0x478f21===_0x3fb945)break;else _0x461b30['push'](_0x461b30['shift']());}catch(_0x489660){_0x461b30['push'](_0x461b30['shift']());}}}(a252_0x30ac,0xa1839));import a252_0x319e5d from'chalk';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0x224be0=a252_0x4060;console[_0x224be0(0x185)](),console[_0x224be0(0x185)](a252_0x319e5d['green'][_0x224be0(0x184)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x224be0(0x185)](),console['log'](_0x224be0(0x186)+a252_0x319e5d[_0x224be0(0x18a)][_0x224be0(0x184)](CLI_BIN_NAME+_0x224be0(0x17e))+_0x224be0(0x189)),console[_0x224be0(0x185)]();}function a252_0x30ac(){var _0x2fc45d=['1828872SKYOAH','31892672jsOJzI','\x20to\x20view\x20available\x20commands.','green','1829847cYNnAH','\x20--help','2986776fBJSBj','543528mjIpiJ','2469495IEyBQw','6eYWJgL','788155LtpElz','bold','log','\x20\x20Use\x20'];a252_0x30ac=function(){return _0x2fc45d;};return a252_0x30ac();}
@@ -1 +1 @@
1
- (function(_0x5768f8,_0x206147){const _0x452b24=a253_0x5087,_0x505f32=_0x5768f8();while(!![]){try{const _0x2c9dd6=-parseInt(_0x452b24(0x14c))/0x1+-parseInt(_0x452b24(0x13b))/0x2*(parseInt(_0x452b24(0x14a))/0x3)+parseInt(_0x452b24(0x149))/0x4+-parseInt(_0x452b24(0x154))/0x5+-parseInt(_0x452b24(0x14d))/0x6*(-parseInt(_0x452b24(0x148))/0x7)+-parseInt(_0x452b24(0x13c))/0x8+parseInt(_0x452b24(0x13f))/0x9*(parseInt(_0x452b24(0x13e))/0xa);if(_0x2c9dd6===_0x206147)break;else _0x505f32['push'](_0x505f32['shift']());}catch(_0x580ad4){_0x505f32['push'](_0x505f32['shift']());}}}(a253_0x5961,0xa23eb));function a253_0x5961(){const _0x1949a1=['SOURCE_INVALID','Repair\x20with:\x20','already\x20current','skillVersion','1893530Ymaswn','[BUILTIN_SKILL_INSTALL_','4JFmXyZ','8863656ajFKai','installedPath','34615870aJmWfp','9hEuwpW','\x20via\x20skills@latest','error','warn','installed','log','repairCommand','Rabetbase\x20Built-in\x20Skill\x20','changed','6041cuIfel','24940HKDtKn','1890921IfwZRu','FAILED','538407sxurFg','3354KZBTTJ','code','Installation\x20failed'];a253_0x5961=function(){return _0x1949a1;};return a253_0x5961();}function a253_0x5087(_0x7c4038,_0x577e62){_0x7c4038=_0x7c4038-0x13a;const _0x59612f=a253_0x5961();let _0x5087cf=_0x59612f[_0x7c4038];return _0x5087cf;}import{installBuiltinSkill}from'./skills/builtin-skill.js';export async function runPostinstall(_0x1bdf9d={}){const _0x43216e=a253_0x5087,_0x2915ed=installBuiltinSkill(_0x1bdf9d);if(_0x2915ed['ok']){const _0x1001c2=_0x2915ed[_0x43216e(0x147)]?_0x43216e(0x143):_0x43216e(0x152),_0x2c6fd6=_0x2915ed[_0x43216e(0x13d)]?'\x20at\x20'+_0x2915ed[_0x43216e(0x13d)]:_0x43216e(0x140);return console[_0x43216e(0x144)](_0x43216e(0x146)+_0x2915ed[_0x43216e(0x153)]+'\x20'+_0x1001c2+_0x2c6fd6),_0x2915ed;}const _0x5acb4f=_0x43216e(0x13a)+(_0x2915ed[_0x43216e(0x14e)]??_0x43216e(0x14b))+']\x20'+(_0x2915ed[_0x43216e(0x141)]??_0x43216e(0x14f))+'.\x20'+(_0x43216e(0x151)+_0x2915ed[_0x43216e(0x145)]);if(_0x2915ed[_0x43216e(0x14e)]===_0x43216e(0x150))throw new Error(_0x5acb4f);return console[_0x43216e(0x142)](_0x5acb4f),_0x2915ed;}
1
+ function a253_0x55f3(){const _0x1a5fe3=['15484DWWRWf','Rabetbase\x20Built-in\x20Skill\x20','installed','9896hffhvU','19704LKBVWJ','changed','\x20at\x20','code','71790pxlYZn','1521150jfgXqc','\x20via\x20skills@latest','installedPath','[BUILTIN_SKILL_INSTALL_','6ACrQjU','1652bYASnp','error','6943673LRtGOI','log','Repair\x20with:\x20','warn','FAILED','111EQhwFD','4335690eifmzd','18fhZzZx','481zdpFsE','repairCommand','20XgVKLV','SOURCE_INVALID'];a253_0x55f3=function(){return _0x1a5fe3;};return a253_0x55f3();}(function(_0x37bfaf,_0x48c197){const _0x390931=a253_0x3ff0,_0x2a1713=_0x37bfaf();while(!![]){try{const _0x4a1a36=-parseInt(_0x390931(0xb3))/0x1*(parseInt(_0x390931(0x9e))/0x2)+-parseInt(_0x390931(0xa6))/0x3*(parseInt(_0x390931(0x9c))/0x4)+-parseInt(_0x390931(0x98))/0x5*(-parseInt(_0x390931(0xab))/0x6)+-parseInt(_0x390931(0xac))/0x7*(-parseInt(_0x390931(0xa1))/0x8)+-parseInt(_0x390931(0x99))/0x9*(parseInt(_0x390931(0xa7))/0xa)+parseInt(_0x390931(0xae))/0xb+parseInt(_0x390931(0xa2))/0xc*(-parseInt(_0x390931(0x9a))/0xd);if(_0x4a1a36===_0x48c197)break;else _0x2a1713['push'](_0x2a1713['shift']());}catch(_0x43604d){_0x2a1713['push'](_0x2a1713['shift']());}}}(a253_0x55f3,0x6cf6d));import{installBuiltinSkill}from'./skills/builtin-skill.js';function a253_0x3ff0(_0x4c907b,_0x16b66){_0x4c907b=_0x4c907b-0x98;const _0x55f35d=a253_0x55f3();let _0x3ff00f=_0x55f35d[_0x4c907b];return _0x3ff00f;}export async function runPostinstall(_0x2904d0={}){const _0x3755e2=a253_0x3ff0,_0x3d768c=installBuiltinSkill(_0x2904d0);if(_0x3d768c['ok']){const _0x209d1b=_0x3d768c[_0x3755e2(0xa3)]?_0x3755e2(0xa0):'already\x20current',_0x4a77b4=_0x3d768c['installedPath']?_0x3755e2(0xa4)+_0x3d768c[_0x3755e2(0xa9)]:_0x3755e2(0xa8);return console[_0x3755e2(0xaf)](_0x3755e2(0x9f)+_0x3d768c['skillVersion']+'\x20'+_0x209d1b+_0x4a77b4),_0x3d768c;}const _0x4c82f2=_0x3755e2(0xaa)+(_0x3d768c[_0x3755e2(0xa5)]??_0x3755e2(0xb2))+']\x20'+(_0x3d768c[_0x3755e2(0xad)]??'Installation\x20failed')+'.\x20'+(_0x3755e2(0xb0)+_0x3d768c[_0x3755e2(0x9b)]);if(_0x3d768c[_0x3755e2(0xa5)]===_0x3755e2(0x9d))throw new Error(_0x4c82f2);return console[_0x3755e2(0xb1)](_0x4c82f2),_0x3d768c;}
@@ -1 +1 @@
1
- (function(_0x4a4671,_0xe229cd){const _0xa31466=a254_0x35b2,_0x311adb=_0x4a4671();while(!![]){try{const _0x25dc59=parseInt(_0xa31466(0x13e))/0x1+parseInt(_0xa31466(0x142))/0x2*(parseInt(_0xa31466(0x13f))/0x3)+parseInt(_0xa31466(0x141))/0x4+parseInt(_0xa31466(0x139))/0x5+-parseInt(_0xa31466(0x13a))/0x6+parseInt(_0xa31466(0x135))/0x7+-parseInt(_0xa31466(0x132))/0x8;if(_0x25dc59===_0xe229cd)break;else _0x311adb['push'](_0x311adb['shift']());}catch(_0x163455){_0x311adb['push'](_0x311adb['shift']());}}}(a254_0x5449,0xddf80));function a254_0x5449(){const _0x10ff7e=['40935fehkTL','Rabetbase\x20confirmation\x20requires\x20a\x20write\x20command.','4751988hXQoNP','206UIIKAy','trim','confirmationDescription','13308200sjmtAh','risk','high-risk-write','1648339RytaXp',';该操作可能创建或修改业务数据或本地配置。','string','slice','2368150BrhvXI','6429900OCaJGQ',';该操作可能覆盖、删除或明显影响线上运行行为。','replace','write','341820VIxuHw'];a254_0x5449=function(){return _0x10ff7e;};return a254_0x5449();}function a254_0x35b2(_0x55ecdf,_0x51d1ba){_0x55ecdf=_0x55ecdf-0x130;const _0x544951=a254_0x5449();let _0x35b2ef=_0x544951[_0x55ecdf];return _0x35b2ef;}const DESCRIPTION_MAX_LENGTH=0x1f4;export function buildRabetbaseConfirmationRequest(_0x308dc6,_0x4e627e,_0x2625ec){const _0x389d4d=a254_0x35b2,_0x4e6b0c=normalizeText(_0x308dc6[_0x389d4d(0x131)],DESCRIPTION_MAX_LENGTH),_0x466cf1=_0x4e6b0c||normalizeText(defaultDescription(requireWriteRisk(_0x308dc6),_0x4e627e),DESCRIPTION_MAX_LENGTH);return{'operation':_0x4e627e,'risk':requireWriteRisk(_0x308dc6),'description':_0x466cf1,..._0x2625ec?{'signal':_0x2625ec}:{}};}function requireWriteRisk(_0x40388a){const _0x16ac29=a254_0x35b2;if(_0x40388a['risk']===_0x16ac29(0x13d)||_0x40388a[_0x16ac29(0x133)]===_0x16ac29(0x134))return _0x40388a[_0x16ac29(0x133)];throw new Error(_0x16ac29(0x140));}function defaultDescription(_0x2db408,_0x116ae0){const _0x5151f4=a254_0x35b2;if(_0x2db408===_0x5151f4(0x134))return'将执行高风险写入操作\x20'+_0x116ae0+_0x5151f4(0x13b);return'将执行写入操作\x20'+_0x116ae0+_0x5151f4(0x136);}function normalizeText(_0x28b5fa,_0x3df313){const _0x4dbce7=a254_0x35b2;if(typeof _0x28b5fa!==_0x4dbce7(0x137))return'';return _0x28b5fa['replace'](/[\u0000-\u001f\u007f]+/g,'\x20')[_0x4dbce7(0x13c)](/\s+/g,'\x20')[_0x4dbce7(0x130)]()[_0x4dbce7(0x138)](0x0,_0x3df313);}
1
+ function a254_0x2ecb(){const _0x1093b7=['236220XYrpCx','string','Rabetbase\x20confirmation\x20requires\x20a\x20write\x20command.','将执行高风险写入操作\x20','500318cxTdIO','slice','15376jyChhy','9328200HtMZmf','365PDKbNB','7447363SVgotn','369ZNfpSB','1591602VjnKsA','14jIZsIK','361236ClsgwT','high-risk-write','将执行写入操作\x20','risk'];a254_0x2ecb=function(){return _0x1093b7;};return a254_0x2ecb();}(function(_0xf6df1d,_0x256186){const _0xf24309=a254_0x307e,_0x212e29=_0xf6df1d();while(!![]){try{const _0x417fa2=-parseInt(_0xf24309(0x157))/0x1+parseInt(_0xf24309(0x15f))/0x2*(parseInt(_0xf24309(0x160))/0x3)+-parseInt(_0xf24309(0x159))/0x4*(parseInt(_0xf24309(0x15b))/0x5)+-parseInt(_0xf24309(0x15e))/0x6+-parseInt(_0xf24309(0x15c))/0x7+parseInt(_0xf24309(0x15a))/0x8+parseInt(_0xf24309(0x15d))/0x9*(parseInt(_0xf24309(0x164))/0xa);if(_0x417fa2===_0x256186)break;else _0x212e29['push'](_0x212e29['shift']());}catch(_0x118515){_0x212e29['push'](_0x212e29['shift']());}}}(a254_0x2ecb,0xd3be9));const DESCRIPTION_MAX_LENGTH=0x1f4;export function buildRabetbaseConfirmationRequest(_0x4da139,_0x5d43a9,_0x57191f){const _0x583e80=normalizeText(_0x4da139['confirmationDescription'],DESCRIPTION_MAX_LENGTH),_0x1f12ee=_0x583e80||normalizeText(defaultDescription(requireWriteRisk(_0x4da139),_0x5d43a9),DESCRIPTION_MAX_LENGTH);return{'operation':_0x5d43a9,'risk':requireWriteRisk(_0x4da139),'description':_0x1f12ee,..._0x57191f?{'signal':_0x57191f}:{}};}function a254_0x307e(_0x2693fa,_0x205dd9){_0x2693fa=_0x2693fa-0x155;const _0x2ecbce=a254_0x2ecb();let _0x307e46=_0x2ecbce[_0x2693fa];return _0x307e46;}function requireWriteRisk(_0x9015a8){const _0x1d373c=a254_0x307e;if(_0x9015a8[_0x1d373c(0x163)]==='write'||_0x9015a8[_0x1d373c(0x163)]===_0x1d373c(0x161))return _0x9015a8['risk'];throw new Error(_0x1d373c(0x155));}function defaultDescription(_0x295a7e,_0x217f87){const _0x5b910c=a254_0x307e;if(_0x295a7e===_0x5b910c(0x161))return _0x5b910c(0x156)+_0x217f87+';该操作可能覆盖、删除或明显影响线上运行行为。';return _0x5b910c(0x162)+_0x217f87+';该操作可能创建或修改业务数据或本地配置。';}function normalizeText(_0x4fb11a,_0x33ee60){const _0x4fa55a=a254_0x307e;if(typeof _0x4fb11a!==_0x4fa55a(0x165))return'';return _0x4fb11a['replace'](/[\u0000-\u001f\u007f]+/g,'\x20')['replace'](/\s+/g,'\x20')['trim']()[_0x4fa55a(0x158)](0x0,_0x33ee60);}
@@ -1 +1 @@
1
- (function(_0x2b5bf8,_0xcd0045){var _0x54cf70=a255_0x4a43,_0x18a062=_0x2b5bf8();while(!![]){try{var _0x45d688=-parseInt(_0x54cf70(0x13e))/0x1*(parseInt(_0x54cf70(0x139))/0x2)+parseInt(_0x54cf70(0x141))/0x3*(parseInt(_0x54cf70(0x148))/0x4)+-parseInt(_0x54cf70(0x142))/0x5+parseInt(_0x54cf70(0x147))/0x6+-parseInt(_0x54cf70(0x145))/0x7+parseInt(_0x54cf70(0x13a))/0x8+parseInt(_0x54cf70(0x146))/0x9;if(_0x45d688===_0xcd0045)break;else _0x18a062['push'](_0x18a062['shift']());}catch(_0x2303d1){_0x18a062['push'](_0x18a062['shift']());}}}(a255_0x319c,0xc22cf));export function canonicalRabetbaseOperation(_0x1e2e69){var _0x2d431e=a255_0x4a43;return[_0x1e2e69['service'],..._0x1e2e69[_0x2d431e(0x13c)][_0x2d431e(0x13b)]()[_0x2d431e(0x13d)](/\s+/)][_0x2d431e(0x144)](Boolean)[_0x2d431e(0x140)]('.');}function a255_0x4a43(_0x26abcd,_0x51fa0c){_0x26abcd=_0x26abcd-0x139;var _0x319c74=a255_0x319c();var _0x4a435c=_0x319c74[_0x26abcd];return _0x4a435c;}function a255_0x319c(){var _0x3be04d=['5016804aSZech','4AGngZB','2267588rhymkM','3862240PhGzOk','trim','command','split','1isMzeU','risk','join','3866097nJaAIa','6685745UCXYWm','write','filter','8934982DqzCdD','17415891Helcqh'];a255_0x319c=function(){return _0x3be04d;};return a255_0x319c();}export function createRabetbaseWriteMetadata(_0x26fbb8,_0x44898d,_0x34cae8,_0x512c41){var _0x3141ce=a255_0x4a43;if(_0x512c41||_0x34cae8['ok']!==!![]||_0x26fbb8[_0x3141ce(0x13f)]!==_0x3141ce(0x143)&&_0x26fbb8['risk']!=='high-risk-write')return undefined;return{'rabetbase':{'schemaVersion':0x1,'event':{'type':'rabetbase.write.completed','operation':_0x44898d,'risk':_0x26fbb8[_0x3141ce(0x13f)]}}};}
1
+ (function(_0x2d474b,_0x424b16){var _0x5dc8ba=a255_0x2d6d,_0x5b6227=_0x2d474b();while(!![]){try{var _0x510d8a=-parseInt(_0x5dc8ba(0xf7))/0x1*(parseInt(_0x5dc8ba(0xfb))/0x2)+parseInt(_0x5dc8ba(0xfc))/0x3*(-parseInt(_0x5dc8ba(0xf8))/0x4)+-parseInt(_0x5dc8ba(0xf6))/0x5+-parseInt(_0x5dc8ba(0xff))/0x6+parseInt(_0x5dc8ba(0xf9))/0x7+-parseInt(_0x5dc8ba(0x101))/0x8+parseInt(_0x5dc8ba(0xfd))/0x9;if(_0x510d8a===_0x424b16)break;else _0x5b6227['push'](_0x5b6227['shift']());}catch(_0x1c53a7){_0x5b6227['push'](_0x5b6227['shift']());}}}(a255_0x4208,0x97ea8));function a255_0x2d6d(_0x3466fd,_0x5ce76d){_0x3466fd=_0x3466fd-0xf6;var _0x4208c1=a255_0x4208();var _0x2d6dd2=_0x4208c1[_0x3466fd];return _0x2d6dd2;}export function canonicalRabetbaseOperation(_0x23ab4e){var _0x1ef4f3=a255_0x2d6d;return[_0x23ab4e[_0x1ef4f3(0x100)],..._0x23ab4e[_0x1ef4f3(0x106)][_0x1ef4f3(0x103)]()[_0x1ef4f3(0x102)](/\s+/)][_0x1ef4f3(0x104)](Boolean)[_0x1ef4f3(0xfe)]('.');}function a255_0x4208(){var _0x4c4c92=['rabetbase.write.completed','62022BNLlOX','3453xpHTYn','37021968OzWYYk','join','6899640AJOkHj','service','3319936PvcAFp','split','trim','filter','risk','command','5637020spdZyT','11vjRgwZ','4216FqqZKb','5287149bQJQEc'];a255_0x4208=function(){return _0x4c4c92;};return a255_0x4208();}export function createRabetbaseWriteMetadata(_0x3495e5,_0x33ab93,_0xb18904,_0x52a607){var _0x4413e9=a255_0x2d6d;if(_0x52a607||_0xb18904['ok']!==!![]||_0x3495e5[_0x4413e9(0x105)]!=='write'&&_0x3495e5[_0x4413e9(0x105)]!=='high-risk-write')return undefined;return{'rabetbase':{'schemaVersion':0x1,'event':{'type':_0x4413e9(0xfa),'operation':_0x33ab93,'risk':_0x3495e5[_0x4413e9(0x105)]}}};}
@@ -1 +1 @@
1
- (function(_0x5b746d,_0x50f31e){const _0x57aa87=a256_0xef62,_0x21d40c=_0x5b746d();while(!![]){try{const _0x2f1f7e=parseInt(_0x57aa87(0x82))/0x1+parseInt(_0x57aa87(0x94))/0x2+parseInt(_0x57aa87(0x92))/0x3*(-parseInt(_0x57aa87(0x8b))/0x4)+-parseInt(_0x57aa87(0x8e))/0x5*(-parseInt(_0x57aa87(0x85))/0x6)+-parseInt(_0x57aa87(0x8a))/0x7*(parseInt(_0x57aa87(0x7b))/0x8)+-parseInt(_0x57aa87(0x83))/0x9+-parseInt(_0x57aa87(0x93))/0xa;if(_0x2f1f7e===_0x50f31e)break;else _0x21d40c['push'](_0x21d40c['shift']());}catch(_0x51d3da){_0x21d40c['push'](_0x21d40c['shift']());}}}(a256_0x7c21,0xce5a1));import{buildConfigFromFlags,initGlobalEnvironment}from'../context.js';import{createPipelineEnv,createRabetbaseRunnerAdapter,finalizeRabetbaseRuntimeState,runCommand}from'../framework/runner.js';import{buildRabetbaseConfirmationRequest}from'../runtime/confirmation.js';import{canonicalRabetbaseOperation,createRabetbaseWriteMetadata}from'../runtime/event.js';function a256_0xef62(_0x53a095,_0x4b5e95){_0x53a095=_0x53a095-0x78;const _0x7c217c=a256_0x7c21();let _0xef6215=_0x7c217c[_0x53a095];return _0xef6215;}import{runSerialized}from'../runtime/queue.js';function a256_0x7c21(){const _0x3178b9=['aborted','args','AbortError','signal','104miIMvE','present','dryRun','message','Rabetbase\x20invocation\x20aborted.','stringify','execute','1121221rmjpSz','6446295mmhnMh','Rabetbase\x20invocation\x20completed\x20without\x20a\x20captured\x20command\x20result.','12sUftXE','data','presentation','confirmation','result','717829lfWyJH','8TrmEhQ','confirm','high-risk-write','3582870eUGVJA','risk','format','dry-run','3351Tmhgfa','9876980sheOCC','2660292PdwFhd','rawFlags','Embedded\x20Rabetbase\x20confirmation\x20must\x20run\x20before\x20the\x20execution\x20queue.','reason','definition','command'];a256_0x7c21=function(){return _0x3178b9;};return a256_0x7c21();}import{resolveRabetbaseInvocation}from'../runtime/resolve.js';const defaultPresentation={'present'({result:_0x431cfd,command:_0x3f755e,risk:_0x137c8f,dryRun:_0x4e6923}){const _0x21ba77=a256_0xef62;return JSON[_0x21ba77(0x80)]({'ok':_0x431cfd['ok'],'command':_0x3f755e,'risk':_0x137c8f,..._0x4e6923?{'dryRun':!![]}:{},..._0x431cfd[_0x21ba77(0x86)]!==undefined?{'data':_0x431cfd[_0x21ba77(0x86)]}:{},..._0x431cfd[_0x21ba77(0x7e)]?{'message':_0x431cfd['message']}:{}});}};export async function invokeRabetbase(_0xae8f8f,_0x21cbd4){const _0x374e70=a256_0xef62;throwIfAborted(_0x21cbd4[_0x374e70(0x7a)]);const _0x150fd9=await resolveRabetbaseInvocation(_0xae8f8f),_0x2a89cd=canonicalRabetbaseOperation(_0x150fd9[_0x374e70(0x98)]);return await confirmWriteBeforeQueue(_0x150fd9[_0x374e70(0x98)],_0x150fd9[_0x374e70(0x95)],_0x2a89cd,_0x21cbd4),runSerialized(async()=>{const _0x34bda8=_0x374e70,_0x26c5c4={};try{throwIfAborted(_0x21cbd4[_0x34bda8(0x7a)]);const _0x33f958=buildConfigFromFlags(_0x150fd9['rawFlags']);await initGlobalEnvironment(_0x33f958);const _0x67ca41=createPipelineEnv(_0x33f958,{..._0x150fd9[_0x34bda8(0x95)],'yes':_0x150fd9[_0x34bda8(0x98)][_0x34bda8(0x8f)]==='high-risk-write'?!![]:_0x150fd9[_0x34bda8(0x95)]['yes'],'nonInteractive':!![]},_0x150fd9[_0x34bda8(0x78)]);_0x67ca41['isNonInteractive']=!![],_0x67ca41['riskLevel']=_0x34bda8(0x8d);const _0x362b3c=withAbortSignal(_0x150fd9[_0x34bda8(0x98)],_0x21cbd4[_0x34bda8(0x7a)]),_0x5939e7=createRabetbaseRunnerAdapter({'formatOutput'(_0x213df7,_0x17ec47){const _0x41d35a=_0x34bda8;_0x26c5c4[_0x41d35a(0x89)]=_0x213df7,_0x26c5c4[_0x41d35a(0x99)]=_0x17ec47[_0x41d35a(0x99)],_0x26c5c4['risk']=_0x17ec47[_0x41d35a(0x8f)],_0x26c5c4['format']=_0x17ec47[_0x41d35a(0x90)],_0x26c5c4['dryRun']=_0x17ec47[_0x41d35a(0x7d)]===!![];},async 'confirmHighRisk'(){const _0xd87344=_0x34bda8;throw new Error(_0xd87344(0x96));}});await runCommand(_0x362b3c,_0x67ca41,_0x5939e7);if(!_0x26c5c4[_0x34bda8(0x89)]||!_0x26c5c4[_0x34bda8(0x99)]||!_0x26c5c4['risk']||!_0x26c5c4[_0x34bda8(0x90)])throw new Error(_0x34bda8(0x84));const _0x327872=_0x26c5c4[_0x34bda8(0x7d)]===!![],_0x21aa0b=_0x21cbd4[_0x34bda8(0x87)]??defaultPresentation,_0x12e507={'result':_0x26c5c4['result'],'command':_0x26c5c4['command'],'operation':_0x2a89cd,'risk':_0x26c5c4['risk'],'format':_0x26c5c4[_0x34bda8(0x90)],'dryRun':_0x327872},_0x268f30=createRabetbaseWriteMetadata(_0x150fd9['definition'],_0x2a89cd,_0x26c5c4[_0x34bda8(0x89)],_0x327872);let _0x48f68a;try{_0x48f68a=await _0x21aa0b[_0x34bda8(0x7c)](_0x12e507);}catch(_0x1c76a8){if(!_0x268f30||_0x21aa0b===defaultPresentation)throw _0x1c76a8;_0x48f68a=await defaultPresentation[_0x34bda8(0x7c)](_0x12e507);}return{'operation':_0x2a89cd,'risk':_0x26c5c4['risk'],'mode':_0x327872?_0x34bda8(0x91):_0x34bda8(0x81),'result':_0x26c5c4[_0x34bda8(0x89)],'output':_0x48f68a,..._0x268f30?{'metadata':_0x268f30}:{}};}finally{await finalizeRabetbaseRuntimeState();}});}async function confirmWriteBeforeQueue(_0x50a5c2,_0x3da799,_0x441776,_0x53c657){const _0x5df4d7=a256_0xef62;if(_0x3da799[_0x5df4d7(0x7d)]===!![]||_0x50a5c2[_0x5df4d7(0x8f)]!=='write'&&_0x50a5c2[_0x5df4d7(0x8f)]!==_0x5df4d7(0x8d))return;await _0x53c657[_0x5df4d7(0x88)][_0x5df4d7(0x8c)](buildRabetbaseConfirmationRequest(_0x50a5c2,_0x441776,_0x53c657[_0x5df4d7(0x7a)]));}function withAbortSignal(_0x5200ca,_0x1feee8){return{..._0x5200ca,async 'execute'(_0xd38126){return throwIfAborted(_0x1feee8),_0x5200ca['execute'](_0xd38126);}};}function throwIfAborted(_0x2d11d5){const _0x32cc10=a256_0xef62;if(_0x2d11d5?.[_0x32cc10(0x9a)])throw _0x2d11d5[_0x32cc10(0x97)]instanceof Error?_0x2d11d5[_0x32cc10(0x97)]:new DOMException(_0x32cc10(0x7f),_0x32cc10(0x79));}
1
+ (function(_0x38bb8e,_0x5a0340){const _0x2677a9=a256_0x543c,_0x436272=_0x38bb8e();while(!![]){try{const _0x48718a=parseInt(_0x2677a9(0x1f5))/0x1*(parseInt(_0x2677a9(0x1df))/0x2)+-parseInt(_0x2677a9(0x1d4))/0x3*(parseInt(_0x2677a9(0x1e4))/0x4)+parseInt(_0x2677a9(0x1ed))/0x5*(parseInt(_0x2677a9(0x1ee))/0x6)+-parseInt(_0x2677a9(0x1eb))/0x7+parseInt(_0x2677a9(0x1ec))/0x8*(parseInt(_0x2677a9(0x1f4))/0x9)+-parseInt(_0x2677a9(0x1dd))/0xa+-parseInt(_0x2677a9(0x1d9))/0xb*(-parseInt(_0x2677a9(0x1de))/0xc);if(_0x48718a===_0x5a0340)break;else _0x436272['push'](_0x436272['shift']());}catch(_0x1aefed){_0x436272['push'](_0x436272['shift']());}}}(a256_0x36b3,0x3b9d1));import{buildConfigFromFlags,initGlobalEnvironment}from'../context.js';import{createPipelineEnv,createRabetbaseRunnerAdapter,finalizeRabetbaseRuntimeState,runCommand}from'../framework/runner.js';import{buildRabetbaseConfirmationRequest}from'../runtime/confirmation.js';function a256_0x543c(_0x896f6a,_0x1002eb){_0x896f6a=_0x896f6a-0x1d4;const _0x36b343=a256_0x36b3();let _0x543cd5=_0x36b343[_0x896f6a];return _0x543cd5;}import{canonicalRabetbaseOperation,createRabetbaseWriteMetadata}from'../runtime/event.js';import{runSerialized}from'../runtime/queue.js';import{resolveRabetbaseInvocation}from'../runtime/resolve.js';const defaultPresentation={'present'({result:_0x17921a,command:_0x3f75cc,risk:_0x236aaa,dryRun:_0x2c5a23}){const _0x236888=a256_0x543c;return JSON[_0x236888(0x1d5)]({'ok':_0x17921a['ok'],'command':_0x3f75cc,'risk':_0x236aaa,..._0x2c5a23?{'dryRun':!![]}:{},..._0x17921a[_0x236888(0x1e7)]!==undefined?{'data':_0x17921a[_0x236888(0x1e7)]}:{},..._0x17921a[_0x236888(0x1da)]?{'message':_0x17921a[_0x236888(0x1da)]}:{}});}};export async function invokeRabetbase(_0x2e85bb,_0x21af9a){const _0x2ee582=a256_0x543c;throwIfAborted(_0x21af9a['signal']);const _0x39f8cd=await resolveRabetbaseInvocation(_0x2e85bb),_0x2bea4a=canonicalRabetbaseOperation(_0x39f8cd[_0x2ee582(0x1e6)]);return await confirmWriteBeforeQueue(_0x39f8cd[_0x2ee582(0x1e6)],_0x39f8cd['rawFlags'],_0x2bea4a,_0x21af9a),runSerialized(async()=>{const _0x2e267c=_0x2ee582,_0x2fa83b={};try{throwIfAborted(_0x21af9a[_0x2e267c(0x1dc)]);const _0x5501c1=buildConfigFromFlags(_0x39f8cd[_0x2e267c(0x1e2)]);await initGlobalEnvironment(_0x5501c1);const _0x53aa01=createPipelineEnv(_0x5501c1,{..._0x39f8cd[_0x2e267c(0x1e2)],'yes':_0x39f8cd['definition'][_0x2e267c(0x1e8)]===_0x2e267c(0x1ea)?!![]:_0x39f8cd[_0x2e267c(0x1e2)]['yes'],'nonInteractive':!![]},_0x39f8cd[_0x2e267c(0x1d6)]);_0x53aa01[_0x2e267c(0x1e9)]=!![],_0x53aa01['riskLevel']=_0x2e267c(0x1ea);const _0x1e7bfe=withAbortSignal(_0x39f8cd[_0x2e267c(0x1e6)],_0x21af9a[_0x2e267c(0x1dc)]),_0x15821c=createRabetbaseRunnerAdapter({'formatOutput'(_0x61e0f5,_0xfb4c1a){const _0x525185=_0x2e267c;_0x2fa83b['result']=_0x61e0f5,_0x2fa83b['command']=_0xfb4c1a[_0x525185(0x1ef)],_0x2fa83b[_0x525185(0x1e8)]=_0xfb4c1a[_0x525185(0x1e8)],_0x2fa83b[_0x525185(0x1e0)]=_0xfb4c1a[_0x525185(0x1e0)],_0x2fa83b[_0x525185(0x1f7)]=_0xfb4c1a[_0x525185(0x1f7)]===!![];},async 'confirmHighRisk'(){throw new Error('Embedded\x20Rabetbase\x20confirmation\x20must\x20run\x20before\x20the\x20execution\x20queue.');}});await runCommand(_0x1e7bfe,_0x53aa01,_0x15821c);if(!_0x2fa83b[_0x2e267c(0x1f8)]||!_0x2fa83b['command']||!_0x2fa83b[_0x2e267c(0x1e8)]||!_0x2fa83b[_0x2e267c(0x1e0)])throw new Error(_0x2e267c(0x1f3));const _0x3fd1a5=_0x2fa83b[_0x2e267c(0x1f7)]===!![],_0x7d506e=_0x21af9a['presentation']??defaultPresentation,_0x451e72={'result':_0x2fa83b['result'],'command':_0x2fa83b['command'],'operation':_0x2bea4a,'risk':_0x2fa83b[_0x2e267c(0x1e8)],'format':_0x2fa83b[_0x2e267c(0x1e0)],'dryRun':_0x3fd1a5},_0x586f9b=createRabetbaseWriteMetadata(_0x39f8cd[_0x2e267c(0x1e6)],_0x2bea4a,_0x2fa83b['result'],_0x3fd1a5);let _0x72a1d9;try{_0x72a1d9=await _0x7d506e[_0x2e267c(0x1d8)](_0x451e72);}catch(_0x1ff34e){if(!_0x586f9b||_0x7d506e===defaultPresentation)throw _0x1ff34e;_0x72a1d9=await defaultPresentation[_0x2e267c(0x1d8)](_0x451e72);}return{'operation':_0x2bea4a,'risk':_0x2fa83b['risk'],'mode':_0x3fd1a5?_0x2e267c(0x1f6):_0x2e267c(0x1f1),'result':_0x2fa83b[_0x2e267c(0x1f8)],'output':_0x72a1d9,..._0x586f9b?{'metadata':_0x586f9b}:{}};}finally{await finalizeRabetbaseRuntimeState();}});}async function confirmWriteBeforeQueue(_0x9f20fc,_0xac94c1,_0x57974e,_0x45a363){const _0x3402c4=a256_0x543c;if(_0xac94c1['dryRun']===!![]||_0x9f20fc['risk']!==_0x3402c4(0x1f2)&&_0x9f20fc[_0x3402c4(0x1e8)]!==_0x3402c4(0x1ea))return;await _0x45a363[_0x3402c4(0x1e1)][_0x3402c4(0x1e5)](buildRabetbaseConfirmationRequest(_0x9f20fc,_0x57974e,_0x45a363[_0x3402c4(0x1dc)]));}function a256_0x36b3(){const _0x249170=['reason','present','22LhjHzs','message','Rabetbase\x20invocation\x20aborted.','signal','3459670Zrteyo','570996VwDJYE','315244tkIMRb','format','confirmation','rawFlags','aborted','6664OeBPiM','confirm','definition','data','risk','isNonInteractive','high-risk-write','1576386yXtabe','513936HOEeuS','126640JOynAh','6NAUlHW','command','AbortError','execute','write','Rabetbase\x20invocation\x20completed\x20without\x20a\x20captured\x20command\x20result.','36GWkkiH','3HjfcxG','dry-run','dryRun','result','63ZlaHMD','stringify','args'];a256_0x36b3=function(){return _0x249170;};return a256_0x36b3();}function withAbortSignal(_0x6c44e,_0x223227){return{..._0x6c44e,async 'execute'(_0x317f45){return throwIfAborted(_0x223227),_0x6c44e['execute'](_0x317f45);}};}function throwIfAborted(_0x1853c9){const _0x4416b0=a256_0x543c;if(_0x1853c9?.[_0x4416b0(0x1e3)])throw _0x1853c9['reason']instanceof Error?_0x1853c9[_0x4416b0(0x1d7)]:new DOMException(_0x4416b0(0x1db),_0x4416b0(0x1f0));}
@@ -1 +1 @@
1
- (function(_0x23daf0,_0x270bcd){const _0xa70ac9=a257_0x1f7f,_0x24b28a=_0x23daf0();while(!![]){try{const _0x4cd701=parseInt(_0xa70ac9(0x11a))/0x1+-parseInt(_0xa70ac9(0x11c))/0x2*(parseInt(_0xa70ac9(0x11d))/0x3)+parseInt(_0xa70ac9(0x117))/0x4*(-parseInt(_0xa70ac9(0x115))/0x5)+parseInt(_0xa70ac9(0x11b))/0x6+-parseInt(_0xa70ac9(0x11e))/0x7+parseInt(_0xa70ac9(0x119))/0x8+parseInt(_0xa70ac9(0x116))/0x9*(parseInt(_0xa70ac9(0x118))/0xa);if(_0x4cd701===_0x270bcd)break;else _0x24b28a['push'](_0x24b28a['shift']());}catch(_0x124254){_0x24b28a['push'](_0x24b28a['shift']());}}}(a257_0x5938,0xc276e));let tail=Promise['resolve']();function a257_0x1f7f(_0x574313,_0x191998){_0x574313=_0x574313-0x115;const _0x5938b1=a257_0x5938();let _0x1f7f16=_0x5938b1[_0x574313];return _0x1f7f16;}export async function runSerialized(_0x4e825c){const _0x2484dd=tail;let _0x5c82f2;tail=new Promise(_0x251cbf=>{_0x5c82f2=_0x251cbf;}),await _0x2484dd['catch'](()=>undefined);try{return await _0x4e825c();}finally{_0x5c82f2();}}function a257_0x5938(){const _0x460497=['891RxhzxU','8rWLKlS','338740htkosK','1275160hnxDTs','318879mDiOMA','1413156JSjxIZ','2657498oydRmF','3zmaxTM','6008093WXkWdA','2709380ZpAwTX'];a257_0x5938=function(){return _0x460497;};return a257_0x5938();}
1
+ function a257_0xad2f(_0x50c415,_0x31eecc){_0x50c415=_0x50c415-0x172;const _0x354cd3=a257_0x354c();let _0xad2f56=_0x354cd3[_0x50c415];return _0xad2f56;}const a257_0xe187f2=a257_0xad2f;(function(_0x3aa8ba,_0x359102){const _0x45bf0d=a257_0xad2f,_0x3b535d=_0x3aa8ba();while(!![]){try{const _0x991788=parseInt(_0x45bf0d(0x176))/0x1*(-parseInt(_0x45bf0d(0x17b))/0x2)+parseInt(_0x45bf0d(0x17c))/0x3*(-parseInt(_0x45bf0d(0x174))/0x4)+-parseInt(_0x45bf0d(0x178))/0x5+-parseInt(_0x45bf0d(0x173))/0x6+-parseInt(_0x45bf0d(0x17d))/0x7+-parseInt(_0x45bf0d(0x17e))/0x8*(-parseInt(_0x45bf0d(0x179))/0x9)+-parseInt(_0x45bf0d(0x172))/0xa*(-parseInt(_0x45bf0d(0x177))/0xb);if(_0x991788===_0x359102)break;else _0x3b535d['push'](_0x3b535d['shift']());}catch(_0x13b573){_0x3b535d['push'](_0x3b535d['shift']());}}}(a257_0x354c,0x7f765));let tail=Promise[a257_0xe187f2(0x17a)]();export async function runSerialized(_0x27ef99){const _0x32cf5b=a257_0xe187f2,_0x2298b5=tail;let _0x5148f6;tail=new Promise(_0x2754c4=>{_0x5148f6=_0x2754c4;}),await _0x2298b5[_0x32cf5b(0x175)](()=>undefined);try{return await _0x27ef99();}finally{_0x5148f6();}}function a257_0x354c(){const _0x412720=['8KoQTDF','165GKmvET','278175JCgyxo','51759mxdSib','resolve','221884iqUqkl','2217UrIclH','2084614zEAMQJ','872znUjMi','1469080nqxDdO','294474JvHRTE','5512QxeBMc','catch'];a257_0x354c=function(){return _0x412720;};return a257_0x354c();}
@@ -1 +1 @@
1
- (function(_0x18fe22,_0x505fd2){const _0x32ccc6=a258_0x5056,_0x4f5ad0=_0x18fe22();while(!![]){try{const _0x3df1f7=-parseInt(_0x32ccc6(0x8e))/0x1*(parseInt(_0x32ccc6(0x7b))/0x2)+parseInt(_0x32ccc6(0x85))/0x3+-parseInt(_0x32ccc6(0x87))/0x4*(parseInt(_0x32ccc6(0x7d))/0x5)+-parseInt(_0x32ccc6(0x7c))/0x6+parseInt(_0x32ccc6(0x8c))/0x7*(-parseInt(_0x32ccc6(0x77))/0x8)+-parseInt(_0x32ccc6(0x84))/0x9+-parseInt(_0x32ccc6(0x8a))/0xa*(-parseInt(_0x32ccc6(0x86))/0xb);if(_0x3df1f7===_0x505fd2)break;else _0x4f5ad0['push'](_0x4f5ad0['shift']());}catch(_0x4effdf){_0x4f5ad0['push'](_0x4f5ad0['shift']());}}}(a258_0x4758,0x52120));import a258_0x486b0f from'meow';import{findDefinition,getServiceEntry,isKnownService,resolveRemovedCommand}from'../commands/registry.js';import{buildMeowFlags}from'../constant/cli.js';function a258_0x5056(_0x5940c1,_0x9bc808){_0x5940c1=_0x5940c1-0x77;const _0x47585b=a258_0x4758();let _0x505680=_0x47585b[_0x5940c1];return _0x505680;}function a258_0x4758(){const _0x39044a=['wildcardDef','validation','1235232nMAHtv','1514616vpEOmc','275oBrrod','4HcLfKB','message','hint','544300crInCD','unknownCommand','2325519QiILzU','join','1xoCaMB','8kBjOmk','Rabetbase\x20argv\x20must\x20include\x20a\x20command\x20for\x20service\x20\x22','input','flags','415138vmeRmK','1273518lhkgog','3200875GKFurB','Use\x20an\x20explicit\x20shell\x20tool\x20only\x20when\x20script\x20execution\x20is\x20intentionally\x20requested.','`rabetbase\x20run`\x20is\x20unavailable\x20through\x20the\x20embedded\x20runtime\x20because\x20it\x20executes\x20arbitrary\x20package\x20scripts.','Rabetbase\x20argv\x20must\x20include\x20a\x20service\x20and\x20command.','slice'];a258_0x4758=function(){return _0x39044a;};return a258_0x4758();}import{CliErrors}from'../errors.js';export async function resolveRabetbaseInvocation(_0x26c06e){const _0x3d09d3=a258_0x5056,_0x43fa42=a258_0x486b0f('',{'importMeta':import.meta,'argv':[..._0x26c06e],'flags':buildMeowFlags(),'autoHelp':![],'autoVersion':![]}),_0x19cf05=[..._0x43fa42[_0x3d09d3(0x79)]],_0x101b61=_0x43fa42[_0x3d09d3(0x7a)],_0x4b5759=_0x19cf05[0x0];if(!_0x4b5759)throw CliErrors[_0x3d09d3(0x83)](_0x3d09d3(0x80));const _0x1e1f45=resolveRemovedCommand(_0x4b5759,_0x19cf05[0x1]);if(_0x1e1f45)throw CliErrors[_0x3d09d3(0x83)](_0x1e1f45[_0x3d09d3(0x88)],_0x1e1f45[_0x3d09d3(0x89)]);if(_0x4b5759==='run')throw CliErrors[_0x3d09d3(0x83)](_0x3d09d3(0x7f),_0x3d09d3(0x7e));if(!isKnownService(_0x4b5759))throw CliErrors[_0x3d09d3(0x8b)](_0x19cf05[_0x3d09d3(0x8d)]('\x20'));const _0x2a3b8c=getServiceEntry(_0x4b5759),_0xd09a45=_0x19cf05[0x1],_0x2817c8=_0xd09a45||_0x2a3b8c['defaultCommand'];if(!_0x2817c8){if(_0x2a3b8c[_0x3d09d3(0x82)])return{'definition':_0x2a3b8c['wildcardDef'],'rawFlags':_0x101b61,'args':[]};throw CliErrors[_0x3d09d3(0x83)](_0x3d09d3(0x78)+_0x4b5759+'\x22.');}const _0x50f0d3=findDefinition(_0x4b5759,_0x2817c8);if(_0x50f0d3)return{'definition':_0x50f0d3,'rawFlags':_0x101b61,'args':_0x19cf05[_0x3d09d3(0x81)](0x2)};if(_0x2a3b8c['wildcardDef'])return{'definition':_0x2a3b8c['wildcardDef'],'rawFlags':_0x101b61,'args':[_0x2817c8,..._0x19cf05['slice'](0x2)]};throw CliErrors[_0x3d09d3(0x8b)](_0x4b5759+'\x20'+_0x2817c8);}
1
+ (function(_0x571ff7,_0x5930e9){const _0x1aee05=a258_0x36f4,_0x501301=_0x571ff7();while(!![]){try{const _0x24ab9b=parseInt(_0x1aee05(0x161))/0x1*(-parseInt(_0x1aee05(0x153))/0x2)+parseInt(_0x1aee05(0x14e))/0x3+parseInt(_0x1aee05(0x155))/0x4*(parseInt(_0x1aee05(0x158))/0x5)+-parseInt(_0x1aee05(0x159))/0x6+parseInt(_0x1aee05(0x154))/0x7*(parseInt(_0x1aee05(0x15a))/0x8)+parseInt(_0x1aee05(0x156))/0x9+-parseInt(_0x1aee05(0x152))/0xa;if(_0x24ab9b===_0x5930e9)break;else _0x501301['push'](_0x501301['shift']());}catch(_0xf8edce){_0x501301['push'](_0x501301['shift']());}}}(a258_0x316f,0x7dab0));import a258_0x4dc3ae from'meow';import{findDefinition,getServiceEntry,isKnownService,resolveRemovedCommand}from'../commands/registry.js';function a258_0x36f4(_0x547c7e,_0x3b032c){_0x547c7e=_0x547c7e-0x14c;const _0x316fad=a258_0x316f();let _0x36f420=_0x316fad[_0x547c7e];return _0x36f420;}import{buildMeowFlags}from'../constant/cli.js';import{CliErrors}from'../errors.js';function a258_0x316f(){const _0x5871b9=['2zsShWc','7ixQarY','2792yABerc','3017475RiTgqb','flags','445KtFRUN','3205260jMGuUq','7848136CvAIOh','Rabetbase\x20argv\x20must\x20include\x20a\x20command\x20for\x20service\x20\x22','validation','run','`rabetbase\x20run`\x20is\x20unavailable\x20through\x20the\x20embedded\x20runtime\x20because\x20it\x20executes\x20arbitrary\x20package\x20scripts.','wildcardDef','input','811637KVcXlo','unknownCommand','defaultCommand','join','1871397VebYyb','slice','Use\x20an\x20explicit\x20shell\x20tool\x20only\x20when\x20script\x20execution\x20is\x20intentionally\x20requested.','message','1416300qZvEQP'];a258_0x316f=function(){return _0x5871b9;};return a258_0x316f();}export async function resolveRabetbaseInvocation(_0x121761){const _0x1ec734=a258_0x36f4,_0x3bbf86=a258_0x4dc3ae('',{'importMeta':import.meta,'argv':[..._0x121761],'flags':buildMeowFlags(),'autoHelp':![],'autoVersion':![]}),_0x355347=[..._0x3bbf86[_0x1ec734(0x160)]],_0x4d9f69=_0x3bbf86[_0x1ec734(0x157)],_0x3ad0a3=_0x355347[0x0];if(!_0x3ad0a3)throw CliErrors[_0x1ec734(0x15c)]('Rabetbase\x20argv\x20must\x20include\x20a\x20service\x20and\x20command.');const _0x37a403=resolveRemovedCommand(_0x3ad0a3,_0x355347[0x1]);if(_0x37a403)throw CliErrors[_0x1ec734(0x15c)](_0x37a403[_0x1ec734(0x151)],_0x37a403['hint']);if(_0x3ad0a3===_0x1ec734(0x15d))throw CliErrors['validation'](_0x1ec734(0x15e),_0x1ec734(0x150));if(!isKnownService(_0x3ad0a3))throw CliErrors[_0x1ec734(0x162)](_0x355347[_0x1ec734(0x14d)]('\x20'));const _0x2f22f4=getServiceEntry(_0x3ad0a3),_0x2a26cf=_0x355347[0x1],_0x35cd47=_0x2a26cf||_0x2f22f4[_0x1ec734(0x14c)];if(!_0x35cd47){if(_0x2f22f4[_0x1ec734(0x15f)])return{'definition':_0x2f22f4[_0x1ec734(0x15f)],'rawFlags':_0x4d9f69,'args':[]};throw CliErrors[_0x1ec734(0x15c)](_0x1ec734(0x15b)+_0x3ad0a3+'\x22.');}const _0x1c1062=findDefinition(_0x3ad0a3,_0x35cd47);if(_0x1c1062)return{'definition':_0x1c1062,'rawFlags':_0x4d9f69,'args':_0x355347['slice'](0x2)};if(_0x2f22f4[_0x1ec734(0x15f)])return{'definition':_0x2f22f4[_0x1ec734(0x15f)],'rawFlags':_0x4d9f69,'args':[_0x35cd47,..._0x355347[_0x1ec734(0x14f)](0x2)]};throw CliErrors[_0x1ec734(0x162)](_0x3ad0a3+'\x20'+_0x35cd47);}
@@ -1 +1 @@
1
- const a260_0x5c8bdb=a260_0x1da3;(function(_0x3521d1,_0x1de1cb){const _0x131546=a260_0x1da3,_0x50e776=_0x3521d1();while(!![]){try{const _0x4fdc32=parseInt(_0x131546(0x1d9))/0x1*(-parseInt(_0x131546(0x1de))/0x2)+parseInt(_0x131546(0x1da))/0x3+parseInt(_0x131546(0x1b0))/0x4*(-parseInt(_0x131546(0x1b2))/0x5)+parseInt(_0x131546(0x1e7))/0x6+parseInt(_0x131546(0x1cb))/0x7*(-parseInt(_0x131546(0x1d7))/0x8)+-parseInt(_0x131546(0x1bf))/0x9+parseInt(_0x131546(0x1cc))/0xa;if(_0x4fdc32===_0x1de1cb)break;else _0x50e776['push'](_0x50e776['shift']());}catch(_0x2fb3a0){_0x50e776['push'](_0x50e776['shift']());}}}(a260_0x3876,0xf1443));import{createHash}from'node:crypto';import{lstatSync,readFileSync,readdirSync}from'node:fs';import{homedir}from'node:os';function a260_0x1da3(_0x13164a,_0x40f396){_0x13164a=_0x13164a-0x1aa;const _0x3876=a260_0x3876();let _0x1da3e3=_0x3876[_0x13164a];return _0x1da3e3;}import{dirname,join,relative,resolve,sep}from'node:path';import{fileURLToPath}from'node:url';import{runNpxSkillsAddGlobal}from'../skills/npx-skills-add.js';import{resolveInstalledSkill}from'../skills/skill-presence.js';const DEFAULT_PACKAGE_ROOT=resolve(dirname(fileURLToPath(import.meta.url)),'..','..'),REPAIR_COMMAND=a260_0x5c8bdb(0x1e4),SKILL_NAME=a260_0x5c8bdb(0x1d2);function frontmatterValue(_0x57defb,_0x37ec9d){const _0x3d57d4=a260_0x5c8bdb;return _0x57defb[_0x3d57d4(0x1bc)](new RegExp('^'+_0x37ec9d+':\x5cs*(.+)$','m'))?.[0x1]?.[_0x3d57d4(0x1b5)]()??'';}function listFiles(_0x19416c,_0x908cd2=_0x19416c){const _0x3ec162=a260_0x5c8bdb;return readdirSync(_0x908cd2,{'withFileTypes':!![]})[_0x3ec162(0x1d6)](_0x407f23=>{const _0x2d3c73=_0x3ec162,_0x5da967=join(_0x908cd2,_0x407f23[_0x2d3c73(0x1b4)]),_0x8b465=lstatSync(_0x5da967);if(_0x8b465[_0x2d3c73(0x1b8)]())throw new Error(_0x2d3c73(0x1c0)+_0x5da967);if(_0x8b465[_0x2d3c73(0x1d3)]())return listFiles(_0x19416c,_0x5da967);if(!_0x8b465['isFile']())throw new Error(_0x2d3c73(0x1b3)+_0x5da967);return[relative(_0x19416c,_0x5da967)[_0x2d3c73(0x1dc)](sep)['join']('/')];})[_0x3ec162(0x1c9)]((_0x223121,_0x315721)=>_0x223121<_0x315721?-0x1:_0x223121>_0x315721?0x1:0x0);}function digestFiles(_0x18a4e7,_0x5f555c){const _0x2e11d4=a260_0x5c8bdb,_0x204b1b=createHash(_0x2e11d4(0x1d8));for(const _0x592ded of _0x5f555c){if(_0x592ded['startsWith']('/')||_0x592ded[_0x2e11d4(0x1dc)]('/')[_0x2e11d4(0x1db)]('..')||_0x592ded['includes']('\x5c'))throw new Error(_0x2e11d4(0x1dd)+_0x592ded);_0x204b1b[_0x2e11d4(0x1af)](_0x592ded),_0x204b1b[_0x2e11d4(0x1af)]('\x00'),_0x204b1b[_0x2e11d4(0x1af)](readFileSync(join(_0x18a4e7,..._0x592ded[_0x2e11d4(0x1dc)]('/')))),_0x204b1b[_0x2e11d4(0x1af)]('\x00');}return _0x204b1b[_0x2e11d4(0x1c3)](_0x2e11d4(0x1e2));}function sameFiles(_0x46a5bd,_0x4e2886){const _0x247538=a260_0x5c8bdb;return _0x46a5bd[_0x247538(0x1c8)]===_0x4e2886[_0x247538(0x1c8)]&&_0x46a5bd[_0x247538(0x1ae)]((_0x1390a7,_0x342532)=>_0x1390a7===_0x4e2886[_0x342532]);}function readSource(_0x3a2203){const _0x409b58=a260_0x5c8bdb,_0x2ca14d=JSON['parse'](readFileSync(join(_0x3a2203,_0x409b58(0x1ea)),_0x409b58(0x1be))),_0x576e30=JSON['parse'](readFileSync(join(_0x3a2203,_0x409b58(0x1ad),_0x409b58(0x1df)),_0x409b58(0x1be))),_0x32f715=join(_0x3a2203,_0x409b58(0x1ad),SKILL_NAME),_0x315f75=frontmatterValue(readFileSync(join(_0x32f715,_0x409b58(0x1b7)),_0x409b58(0x1be)),_0x409b58(0x1d5)),_0x182ee9=listFiles(_0x32f715);if(_0x576e30[_0x409b58(0x1c4)]!==0x1||_0x576e30[_0x409b58(0x1b4)]!==SKILL_NAME||!_0x2ca14d[_0x409b58(0x1d5)]||_0x576e30[_0x409b58(0x1c1)]!==_0x2ca14d[_0x409b58(0x1d5)]||_0x576e30[_0x409b58(0x1ba)]!==_0x2ca14d[_0x409b58(0x1d5)]||_0x315f75!==_0x2ca14d[_0x409b58(0x1d5)]||!sameFiles(_0x182ee9,_0x576e30['files'])||digestFiles(_0x32f715,_0x182ee9)!==_0x576e30[_0x409b58(0x1c3)])throw new Error(_0x409b58(0x1e1));return{'packageVersion':_0x2ca14d['version'],'skillVersion':_0x315f75,'root':_0x32f715,'manifest':_0x576e30};}function installedSkillPath(_0xff55b1){const _0x4b2bea=a260_0x5c8bdb,_0x38f2dc=resolveInstalledSkill(SKILL_NAME,{'home':_0xff55b1});if(_0x38f2dc['state']==='present')return{'state':'present','path':dirname(_0x38f2dc[_0x4b2bea(0x1e5)])};if(_0x38f2dc['state']===_0x4b2bea(0x1cd))return{'state':_0x4b2bea(0x1e6)};return{'state':_0x4b2bea(0x1bb),'reason':_0x38f2dc[_0x4b2bea(0x1c7)]};}export function inspectInstalledBuiltinSkillVersion(_0x28f567,_0x25f470={}){const _0x4a8c6a=a260_0x5c8bdb,_0x49ff25=installedSkillPath(_0x25f470[_0x4a8c6a(0x1d1)]??homedir());if(_0x49ff25[_0x4a8c6a(0x1bd)]===_0x4a8c6a(0x1e6))return{'state':_0x4a8c6a(0x1e6),'expectedVersion':_0x28f567,'repairCommand':REPAIR_COMMAND};if(_0x49ff25[_0x4a8c6a(0x1bd)]===_0x4a8c6a(0x1bb))return{'state':_0x4a8c6a(0x1bb),'expectedVersion':_0x28f567,'reason':_0x49ff25['reason'],'repairCommand':REPAIR_COMMAND};try{const _0x14bd08=frontmatterValue(readFileSync(join(_0x49ff25[_0x4a8c6a(0x1e5)],_0x4a8c6a(0x1b7)),_0x4a8c6a(0x1be)),_0x4a8c6a(0x1d5));return{'state':_0x14bd08===_0x28f567?_0x4a8c6a(0x1c2):'version_mismatch','expectedVersion':_0x28f567,'skillVersion':_0x14bd08,'installedPath':_0x49ff25[_0x4a8c6a(0x1e5)],'repairCommand':REPAIR_COMMAND};}catch(_0x420423){return{'state':_0x4a8c6a(0x1bb),'expectedVersion':_0x28f567,'installedPath':_0x49ff25[_0x4a8c6a(0x1e5)],'reason':_0x420423 instanceof Error?_0x420423['message']:String(_0x420423),'repairCommand':REPAIR_COMMAND};}}export function inspectBuiltinSkill(_0x1d6179={}){const _0xe12334=a260_0x5c8bdb,_0x135572=_0x1d6179[_0xe12334(0x1c5)]??DEFAULT_PACKAGE_ROOT;let _0x152746;try{_0x152746=readSource(_0x135572);}catch(_0x109149){return{'state':'unverifiable','packageVersion':_0xe12334(0x1e8),'reason':_0x109149 instanceof Error?_0x109149[_0xe12334(0x1aa)]:String(_0x109149),'repairCommand':REPAIR_COMMAND};}const _0xa9c3cc=installedSkillPath(_0x1d6179[_0xe12334(0x1d1)]??homedir());if(_0xa9c3cc[_0xe12334(0x1bd)]===_0xe12334(0x1e6))return{'state':_0xe12334(0x1e6),'packageVersion':_0x152746[_0xe12334(0x1c1)],'repairCommand':REPAIR_COMMAND};if(_0xa9c3cc[_0xe12334(0x1bd)]===_0xe12334(0x1bb))return{'state':_0xe12334(0x1bb),'packageVersion':_0x152746[_0xe12334(0x1c1)],'reason':_0xa9c3cc['reason'],'repairCommand':REPAIR_COMMAND};try{const _0x3b539b=frontmatterValue(readFileSync(join(_0xa9c3cc[_0xe12334(0x1e5)],'SKILL.md'),_0xe12334(0x1be)),'version');if(_0x3b539b!==_0x152746[_0xe12334(0x1ba)])return{'state':_0xe12334(0x1d0),'packageVersion':_0x152746['packageVersion'],'skillVersion':_0x3b539b,'installedPath':_0xa9c3cc['path'],'repairCommand':REPAIR_COMMAND};const _0x19447e=listFiles(_0xa9c3cc[_0xe12334(0x1e5)]),_0x119bdf=digestFiles(_0xa9c3cc[_0xe12334(0x1e5)],_0x19447e);return{'state':sameFiles(_0x19447e,_0x152746[_0xe12334(0x1c6)]['files'])&&_0x119bdf===_0x152746[_0xe12334(0x1c6)]['digest']?'current':_0xe12334(0x1b1),'packageVersion':_0x152746[_0xe12334(0x1c1)],'skillVersion':_0x3b539b,'installedPath':_0xa9c3cc[_0xe12334(0x1e5)],'digest':_0x119bdf,'repairCommand':REPAIR_COMMAND};}catch(_0x4ff0e7){return{'state':_0xe12334(0x1bb),'packageVersion':_0x152746[_0xe12334(0x1c1)],'installedPath':_0xa9c3cc[_0xe12334(0x1e5)],'reason':_0x4ff0e7 instanceof Error?_0x4ff0e7[_0xe12334(0x1aa)]:String(_0x4ff0e7),'repairCommand':REPAIR_COMMAND};}}function failure(_0x4a94df,_0x1c85bd,_0x47f2d5,_0x5262cb){const _0x2e5c11=a260_0x5c8bdb;return{'ok':![],'code':_0x4a94df,'packageVersion':_0x1c85bd[_0x2e5c11(0x1c1)],'skillVersion':_0x1c85bd['skillVersion'],'installedPath':_0x5262cb,'changed':![],'repairCommand':REPAIR_COMMAND,'error':_0x47f2d5 instanceof Error?_0x47f2d5[_0x2e5c11(0x1aa)]:String(_0x47f2d5)};}function a260_0x3876(){const _0x1bc4f6=['flatMap','22888ldkeaH','sha256','127AgOqyi','1919835aFWHvL','includes','split','Unsafe\x20manifest\x20path:\x20','974lDcrFD','rabetbase.manifest.json','status','Built-in\x20Skill\x20source\x20does\x20not\x20match\x20its\x20package\x20manifest','hex','skipped','rabetbase\x20cli-skill\x20install','path','missing','7842732YlLKTQ','unknown','installedPath','package.json','message','stdio','VERIFY_FAILED','skills','every','update','4gliXuu','content_mismatch','2792545OTHLFb','Unsupported\x20Skill\x20entry:\x20','name','trim','Installed\x20Skill\x20state\x20is\x20','SKILL.md','isSymbolicLink','skills@latest\x20exited\x20','skillVersion','unverifiable','match','state','utf8','15974415DyRvKn','Symbolic\x20link\x20is\x20not\x20allowed:\x20','packageVersion','current','digest','schemaVersion','packageRoot','manifest','reason','length','sort','error','2905oNTTLG','26237680joENRG','absent','root','SOURCE_INVALID','version_mismatch','home','rabetbase','isDirectory','INSTALL_FAILED','version'];a260_0x3876=function(){return _0x1bc4f6;};return a260_0x3876();}export function installBuiltinSkill(_0x5cc957={}){const _0x442e0a=a260_0x5c8bdb,_0x12baa9=_0x5cc957[_0x442e0a(0x1c5)]??DEFAULT_PACKAGE_ROOT,_0x390f0f=_0x5cc957['home']??homedir();let _0x39c057;try{_0x39c057=readSource(_0x12baa9);}catch(_0x1bc5ba){return failure(_0x442e0a(0x1cf),{'packageVersion':_0x442e0a(0x1e8),'skillVersion':_0x442e0a(0x1e8)},_0x1bc5ba);}const _0x1b4915=inspectBuiltinSkill({'packageRoot':_0x12baa9,'home':_0x390f0f}),_0xadc4e=runNpxSkillsAddGlobal(_0x12baa9,_0x39c057[_0x442e0a(0x1ce)],{'stdio':_0x5cc957[_0x442e0a(0x1ab)]??'pipe','expectedSkillName':SKILL_NAME,'presence':{'home':_0x390f0f}});if(_0xadc4e[_0x442e0a(0x1e3)])return{'ok':!![],'packageVersion':_0x39c057[_0x442e0a(0x1c1)],'skillVersion':_0x39c057['skillVersion'],'installedPath':_0x1b4915[_0x442e0a(0x1e9)],'changed':![],'repairCommand':REPAIR_COMMAND};if(!_0xadc4e['ok'])return failure(_0x442e0a(0x1d4),_0x39c057,_0xadc4e[_0x442e0a(0x1ca)]??_0x442e0a(0x1b9)+_0xadc4e[_0x442e0a(0x1e0)]);const _0x2eb26e=inspectBuiltinSkill({'packageRoot':_0x12baa9,'home':_0x390f0f});if(_0x2eb26e[_0x442e0a(0x1bd)]!=='current')return failure(_0x442e0a(0x1ac),_0x39c057,_0x2eb26e['reason']??_0x442e0a(0x1b6)+_0x2eb26e[_0x442e0a(0x1bd)],_0x2eb26e[_0x442e0a(0x1e9)]);return{'ok':!![],'packageVersion':_0x39c057[_0x442e0a(0x1c1)],'skillVersion':_0x39c057[_0x442e0a(0x1ba)],'installedPath':_0x2eb26e['installedPath'],'changed':_0x1b4915[_0x442e0a(0x1bd)]!==_0x442e0a(0x1c2),'repairCommand':REPAIR_COMMAND};}
1
+ function a260_0x1d99(){const _0x2ce55d=['status','path','content_mismatch','isFile','includes','280QbQmIp','3356ImwVJY','skillVersion','Unsupported\x20Skill\x20entry:\x20','Installed\x20Skill\x20state\x20is\x20','match','update','package.json','VERIFY_FAILED','message','installedPath','name','present','rabetbase\x20cli-skill\x20install','8435150DlxCNI','stdio','skipped','SKILL.md','packageRoot','1681345AsOWgK','332606DLbVQY','version_mismatch','startsWith','root','isSymbolicLink','isDirectory','current','unverifiable','utf8','Built-in\x20Skill\x20source\x20does\x20not\x20match\x20its\x20package\x20manifest','split','files','digest','flatMap','reason','version','133405wRoLAH','home','trim','every','skills',':\x5cs*(.+)$','manifest','unknown','packageVersion','Symbolic\x20link\x20is\x20not\x20allowed:\x20','parse','801KQPJbc','rabetbase.manifest.json','length','74168PyeqDa','61998fjXAZp','pipe','state','join','Unsafe\x20manifest\x20path:\x20','sort','171QrAHVE','hex','missing'];a260_0x1d99=function(){return _0x2ce55d;};return a260_0x1d99();}const a260_0xc609fa=a260_0x312b;(function(_0x48784c,_0x3f22c9){const _0x2ef8eb=a260_0x312b,_0xf4b1c3=_0x48784c();while(!![]){try{const _0x1151d7=-parseInt(_0x2ef8eb(0x13e))/0x1+-parseInt(_0x2ef8eb(0x16f))/0x2+-parseInt(_0x2ef8eb(0x149))/0x3*(parseInt(_0x2ef8eb(0x15c))/0x4)+-parseInt(_0x2ef8eb(0x16e))/0x5+-parseInt(_0x2ef8eb(0x14d))/0x6*(-parseInt(_0x2ef8eb(0x15b))/0x7)+parseInt(_0x2ef8eb(0x14c))/0x8*(-parseInt(_0x2ef8eb(0x153))/0x9)+parseInt(_0x2ef8eb(0x169))/0xa;if(_0x1151d7===_0x3f22c9)break;else _0xf4b1c3['push'](_0xf4b1c3['shift']());}catch(_0x5731b6){_0xf4b1c3['push'](_0xf4b1c3['shift']());}}}(a260_0x1d99,0x35e18));import{createHash}from'node:crypto';import{lstatSync,readFileSync,readdirSync}from'node:fs';import{homedir}from'node:os';import{dirname,join,relative,resolve,sep}from'node:path';import{fileURLToPath}from'node:url';import{runNpxSkillsAddGlobal}from'../skills/npx-skills-add.js';import{resolveInstalledSkill}from'../skills/skill-presence.js';const DEFAULT_PACKAGE_ROOT=resolve(dirname(fileURLToPath(import.meta.url)),'..','..'),REPAIR_COMMAND=a260_0xc609fa(0x168),SKILL_NAME='rabetbase';function frontmatterValue(_0x157cb2,_0xfb7f83){const _0x6cc09c=a260_0xc609fa;return _0x157cb2[_0x6cc09c(0x160)](new RegExp('^'+_0xfb7f83+_0x6cc09c(0x143),'m'))?.[0x1]?.[_0x6cc09c(0x140)]()??'';}function listFiles(_0x2ce568,_0x6c9592=_0x2ce568){const _0x3fdc4b=a260_0xc609fa;return readdirSync(_0x6c9592,{'withFileTypes':!![]})[_0x3fdc4b(0x13b)](_0x53b7a6=>{const _0x576a5a=_0x3fdc4b,_0x764cfd=join(_0x6c9592,_0x53b7a6['name']),_0x283c07=lstatSync(_0x764cfd);if(_0x283c07[_0x576a5a(0x132)]())throw new Error(_0x576a5a(0x147)+_0x764cfd);if(_0x283c07[_0x576a5a(0x133)]())return listFiles(_0x2ce568,_0x764cfd);if(!_0x283c07[_0x576a5a(0x159)]())throw new Error(_0x576a5a(0x15e)+_0x764cfd);return[relative(_0x2ce568,_0x764cfd)['split'](sep)[_0x576a5a(0x150)]('/')];})[_0x3fdc4b(0x152)]((_0x3afba2,_0x5d98e2)=>_0x3afba2<_0x5d98e2?-0x1:_0x3afba2>_0x5d98e2?0x1:0x0);}function digestFiles(_0x1f2842,_0x3d925c){const _0x440a4e=a260_0xc609fa,_0x1fba7d=createHash('sha256');for(const _0x4702bc of _0x3d925c){if(_0x4702bc[_0x440a4e(0x130)]('/')||_0x4702bc[_0x440a4e(0x138)]('/')[_0x440a4e(0x15a)]('..')||_0x4702bc[_0x440a4e(0x15a)]('\x5c'))throw new Error(_0x440a4e(0x151)+_0x4702bc);_0x1fba7d[_0x440a4e(0x161)](_0x4702bc),_0x1fba7d['update']('\x00'),_0x1fba7d[_0x440a4e(0x161)](readFileSync(join(_0x1f2842,..._0x4702bc['split']('/')))),_0x1fba7d[_0x440a4e(0x161)]('\x00');}return _0x1fba7d[_0x440a4e(0x13a)](_0x440a4e(0x154));}function sameFiles(_0x2a8c86,_0xf2de40){const _0xe72006=a260_0xc609fa;return _0x2a8c86[_0xe72006(0x14b)]===_0xf2de40[_0xe72006(0x14b)]&&_0x2a8c86[_0xe72006(0x141)]((_0x3618d0,_0x5ce958)=>_0x3618d0===_0xf2de40[_0x5ce958]);}function readSource(_0x3ec9e1){const _0x2146da=a260_0xc609fa,_0x248478=JSON[_0x2146da(0x148)](readFileSync(join(_0x3ec9e1,_0x2146da(0x162)),_0x2146da(0x136))),_0x203fe8=JSON[_0x2146da(0x148)](readFileSync(join(_0x3ec9e1,'skills',_0x2146da(0x14a)),_0x2146da(0x136))),_0x4615ea=join(_0x3ec9e1,_0x2146da(0x142),SKILL_NAME),_0xbb1f34=frontmatterValue(readFileSync(join(_0x4615ea,_0x2146da(0x16c)),'utf8'),_0x2146da(0x13d)),_0x31ca10=listFiles(_0x4615ea);if(_0x203fe8['schemaVersion']!==0x1||_0x203fe8[_0x2146da(0x166)]!==SKILL_NAME||!_0x248478['version']||_0x203fe8[_0x2146da(0x146)]!==_0x248478['version']||_0x203fe8['skillVersion']!==_0x248478[_0x2146da(0x13d)]||_0xbb1f34!==_0x248478[_0x2146da(0x13d)]||!sameFiles(_0x31ca10,_0x203fe8['files'])||digestFiles(_0x4615ea,_0x31ca10)!==_0x203fe8[_0x2146da(0x13a)])throw new Error(_0x2146da(0x137));return{'packageVersion':_0x248478[_0x2146da(0x13d)],'skillVersion':_0xbb1f34,'root':_0x4615ea,'manifest':_0x203fe8};}function a260_0x312b(_0x1efc05,_0x579821){_0x1efc05=_0x1efc05-0x12f;const _0x1d998f=a260_0x1d99();let _0x312be7=_0x1d998f[_0x1efc05];return _0x312be7;}function installedSkillPath(_0x2b84fb){const _0x5b5184=a260_0xc609fa,_0x3380ff=resolveInstalledSkill(SKILL_NAME,{'home':_0x2b84fb});if(_0x3380ff[_0x5b5184(0x14f)]===_0x5b5184(0x167))return{'state':'present','path':dirname(_0x3380ff['path'])};if(_0x3380ff[_0x5b5184(0x14f)]==='absent')return{'state':_0x5b5184(0x155)};return{'state':'unverifiable','reason':_0x3380ff[_0x5b5184(0x13c)]};}export function inspectInstalledBuiltinSkillVersion(_0x17ba4e,_0x2e58ae={}){const _0x2b0b2f=a260_0xc609fa,_0x28c7c2=installedSkillPath(_0x2e58ae[_0x2b0b2f(0x13f)]??homedir());if(_0x28c7c2[_0x2b0b2f(0x14f)]==='missing')return{'state':'missing','expectedVersion':_0x17ba4e,'repairCommand':REPAIR_COMMAND};if(_0x28c7c2[_0x2b0b2f(0x14f)]===_0x2b0b2f(0x135))return{'state':_0x2b0b2f(0x135),'expectedVersion':_0x17ba4e,'reason':_0x28c7c2[_0x2b0b2f(0x13c)],'repairCommand':REPAIR_COMMAND};try{const _0x208218=frontmatterValue(readFileSync(join(_0x28c7c2['path'],_0x2b0b2f(0x16c)),'utf8'),_0x2b0b2f(0x13d));return{'state':_0x208218===_0x17ba4e?_0x2b0b2f(0x134):_0x2b0b2f(0x12f),'expectedVersion':_0x17ba4e,'skillVersion':_0x208218,'installedPath':_0x28c7c2[_0x2b0b2f(0x157)],'repairCommand':REPAIR_COMMAND};}catch(_0x2f1be7){return{'state':_0x2b0b2f(0x135),'expectedVersion':_0x17ba4e,'installedPath':_0x28c7c2[_0x2b0b2f(0x157)],'reason':_0x2f1be7 instanceof Error?_0x2f1be7[_0x2b0b2f(0x164)]:String(_0x2f1be7),'repairCommand':REPAIR_COMMAND};}}export function inspectBuiltinSkill(_0x30334c={}){const _0xebf690=a260_0xc609fa,_0x47508e=_0x30334c[_0xebf690(0x16d)]??DEFAULT_PACKAGE_ROOT;let _0x3bbe54;try{_0x3bbe54=readSource(_0x47508e);}catch(_0x311b1f){return{'state':_0xebf690(0x135),'packageVersion':'unknown','reason':_0x311b1f instanceof Error?_0x311b1f[_0xebf690(0x164)]:String(_0x311b1f),'repairCommand':REPAIR_COMMAND};}const _0x4594a8=installedSkillPath(_0x30334c[_0xebf690(0x13f)]??homedir());if(_0x4594a8[_0xebf690(0x14f)]===_0xebf690(0x155))return{'state':_0xebf690(0x155),'packageVersion':_0x3bbe54[_0xebf690(0x146)],'repairCommand':REPAIR_COMMAND};if(_0x4594a8[_0xebf690(0x14f)]===_0xebf690(0x135))return{'state':_0xebf690(0x135),'packageVersion':_0x3bbe54[_0xebf690(0x146)],'reason':_0x4594a8[_0xebf690(0x13c)],'repairCommand':REPAIR_COMMAND};try{const _0xa56975=frontmatterValue(readFileSync(join(_0x4594a8[_0xebf690(0x157)],_0xebf690(0x16c)),_0xebf690(0x136)),_0xebf690(0x13d));if(_0xa56975!==_0x3bbe54[_0xebf690(0x15d)])return{'state':'version_mismatch','packageVersion':_0x3bbe54[_0xebf690(0x146)],'skillVersion':_0xa56975,'installedPath':_0x4594a8['path'],'repairCommand':REPAIR_COMMAND};const _0x69d7de=listFiles(_0x4594a8[_0xebf690(0x157)]),_0x396bfc=digestFiles(_0x4594a8[_0xebf690(0x157)],_0x69d7de);return{'state':sameFiles(_0x69d7de,_0x3bbe54['manifest'][_0xebf690(0x139)])&&_0x396bfc===_0x3bbe54[_0xebf690(0x144)][_0xebf690(0x13a)]?_0xebf690(0x134):_0xebf690(0x158),'packageVersion':_0x3bbe54[_0xebf690(0x146)],'skillVersion':_0xa56975,'installedPath':_0x4594a8['path'],'digest':_0x396bfc,'repairCommand':REPAIR_COMMAND};}catch(_0x1834f){return{'state':_0xebf690(0x135),'packageVersion':_0x3bbe54[_0xebf690(0x146)],'installedPath':_0x4594a8[_0xebf690(0x157)],'reason':_0x1834f instanceof Error?_0x1834f[_0xebf690(0x164)]:String(_0x1834f),'repairCommand':REPAIR_COMMAND};}}function failure(_0xde5f00,_0x3e6719,_0x15ec46,_0x3e15a1){const _0x37a16f=a260_0xc609fa;return{'ok':![],'code':_0xde5f00,'packageVersion':_0x3e6719[_0x37a16f(0x146)],'skillVersion':_0x3e6719[_0x37a16f(0x15d)],'installedPath':_0x3e15a1,'changed':![],'repairCommand':REPAIR_COMMAND,'error':_0x15ec46 instanceof Error?_0x15ec46[_0x37a16f(0x164)]:String(_0x15ec46)};}export function installBuiltinSkill(_0xb70218={}){const _0x42e7f3=a260_0xc609fa,_0x20399f=_0xb70218[_0x42e7f3(0x16d)]??DEFAULT_PACKAGE_ROOT,_0x2201f8=_0xb70218[_0x42e7f3(0x13f)]??homedir();let _0x59f536;try{_0x59f536=readSource(_0x20399f);}catch(_0x5d0f80){return failure('SOURCE_INVALID',{'packageVersion':'unknown','skillVersion':_0x42e7f3(0x145)},_0x5d0f80);}const _0xb7f1da=inspectBuiltinSkill({'packageRoot':_0x20399f,'home':_0x2201f8}),_0x5d1114=runNpxSkillsAddGlobal(_0x20399f,_0x59f536[_0x42e7f3(0x131)],{'stdio':_0xb70218[_0x42e7f3(0x16a)]??_0x42e7f3(0x14e),'expectedSkillName':SKILL_NAME,'presence':{'home':_0x2201f8}});if(_0x5d1114[_0x42e7f3(0x16b)])return{'ok':!![],'packageVersion':_0x59f536[_0x42e7f3(0x146)],'skillVersion':_0x59f536[_0x42e7f3(0x15d)],'installedPath':_0xb7f1da[_0x42e7f3(0x165)],'changed':![],'repairCommand':REPAIR_COMMAND};if(!_0x5d1114['ok'])return failure('INSTALL_FAILED',_0x59f536,_0x5d1114['error']??'skills@latest\x20exited\x20'+_0x5d1114[_0x42e7f3(0x156)]);const _0x3d7493=inspectBuiltinSkill({'packageRoot':_0x20399f,'home':_0x2201f8});if(_0x3d7493[_0x42e7f3(0x14f)]!=='current')return failure(_0x42e7f3(0x163),_0x59f536,_0x3d7493[_0x42e7f3(0x13c)]??_0x42e7f3(0x15f)+_0x3d7493[_0x42e7f3(0x14f)],_0x3d7493['installedPath']);return{'ok':!![],'packageVersion':_0x59f536[_0x42e7f3(0x146)],'skillVersion':_0x59f536['skillVersion'],'installedPath':_0x3d7493['installedPath'],'changed':_0xb7f1da[_0x42e7f3(0x14f)]!=='current','repairCommand':REPAIR_COMMAND};}
@@ -1 +1 @@
1
- (function(_0x240794,_0x3a21be){const _0x5cc50a=a261_0x1b01,_0x404bbc=_0x240794();while(!![]){try{const _0x153c7a=-parseInt(_0x5cc50a(0x19d))/0x1+-parseInt(_0x5cc50a(0x195))/0x2+-parseInt(_0x5cc50a(0x1a6))/0x3+-parseInt(_0x5cc50a(0x1a4))/0x4*(-parseInt(_0x5cc50a(0x1a8))/0x5)+parseInt(_0x5cc50a(0x1b0))/0x6+-parseInt(_0x5cc50a(0x1b5))/0x7+parseInt(_0x5cc50a(0x1a3))/0x8;if(_0x153c7a===_0x3a21be)break;else _0x404bbc['push'](_0x404bbc['shift']());}catch(_0x1a9bf4){_0x404bbc['push'](_0x404bbc['shift']());}}}(a261_0xd160,0xd820f));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(_0x337e0d){const _0x22d5d5=a261_0x1b01,_0x4153ff=[];for(const [_0x1dd026,_0x5b39f6]of Object[_0x22d5d5(0x197)](_0x337e0d)){if(_0x5b39f6===!![]){const _0x36fde2=_0x1dd026[_0x22d5d5(0x19c)](/([A-Z])/g,_0x22d5d5(0x1b1))['toLowerCase']();_0x4153ff['push'](_0x36fde2);}}return _0x4153ff;}function a261_0xd160(){const _0x4ef110=['skill','5bbhMLw','log','startsWith','--help','不支持的命令:\x20','setLogPath','error','from','9204312NVofIQ','-$1','(empty)','argv','Public\x20Open\x20Skill\x20source:\x20','7571816QVutPz','1022532dGurGe','\x0a\x0aNote:\x20cli-skill\x20install\x20uses\x20the\x20npm\x20package-local\x20Skill;\x20the\x20public\x20source\x20is\x20an\x20optional\x20latest\x20mirror.\x0a','entries','enable-bff-save','add','\x20cli-skill\x20install\x0a\x0aPublic\x20Open\x20Skill\x20source:\x20','length','replace','213665VuvbUg','\x0aAvailable\x20commands:','\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','help','Error:\x20Unsupported\x20command:\x20','push','1364144ERiPIG','5845412jAbyLj','exit','1422123jXUvuc'];a261_0xd160=function(){return _0x4ef110;};return a261_0xd160();}export function parseDynamicFlags(){const _0x38bed0=a261_0x1b01,_0x48a86d=[];for(let _0xde78da=0x3;_0xde78da<process[_0x38bed0(0x1b3)][_0x38bed0(0x19b)];_0xde78da++){const _0x46ba2c=process[_0x38bed0(0x1b3)][_0xde78da];if(_0x46ba2c&&_0x46ba2c[_0x38bed0(0x1aa)]('--')){const _0x867d31=_0x46ba2c['slice'](0x2);_0x867d31&&!_0x867d31['includes']('=')&&_0x48a86d[_0x38bed0(0x1a2)](_0x867d31);}}return _0x48a86d;}export function getAllProvidedFlags(_0x25cb86){const _0x33a3f1=a261_0x1b01,_0x38ee71=camelCaseFlagsToKebab(_0x25cb86),_0x3e291a=parseDynamicFlags(),_0x188756=new Set([..._0x38ee71,..._0x3e291a]);return Array[_0x33a3f1(0x1af)](_0x188756);}export function normalizeLegacyBffSaveFlags(_0x5d53c1){const _0x504ffb=a261_0x1b01,_0x27c193=new Set(_0x5d53c1);return _0x27c193['has']('dangerously-bff-save')&&_0x27c193[_0x504ffb(0x199)](_0x504ffb(0x198)),Array[_0x504ffb(0x1af)](_0x27c193);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;function a261_0x1b01(_0x22790c,_0x28471e){_0x22790c=_0x22790c-0x195;const _0xd16051=a261_0xd160();let _0x1b0132=_0xd16051[_0x22790c];return _0x1b0132;}export async function skillsCommand(_0x352c35,_0x31b0fe,_0x226774){const _0x59446c=a261_0x1b01;logger[_0x59446c(0x1ad)](process['cwd']());if(_0x226774?.[_0x59446c(0x1a0)]||_0x352c35===_0x59446c(0x1ab)){showHelp();return;}console['error'](_0x59446c(0x1a1)+(_0x352c35||_0x59446c(0x1b2))),console[_0x59446c(0x1a9)](_0x59446c(0x19e)),console['log']('\x20\x20'+CLI_BIN_NAME+'\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill'),console[_0x59446c(0x1a9)](''),console[_0x59446c(0x1a9)](_0x59446c(0x1b4)+SKILLS_INSTALL_COMMAND_LINE),logger[_0x59446c(0x1ae)](_0x59446c(0x1a7),_0x59446c(0x1ac)+_0x352c35),process[_0x59446c(0x1a5)](0x1);}function showHelp(){const _0x224002=a261_0x1b01;console[_0x224002(0x1a9)](_0x224002(0x19f)+CLI_BIN_NAME+_0x224002(0x19a)+SKILLS_INSTALL_COMMAND_LINE+_0x224002(0x196));}
1
+ (function(_0x5419fb,_0x59c6be){const _0x5baa23=a261_0x25c9,_0x502281=_0x5419fb();while(!![]){try{const _0x442a21=parseInt(_0x5baa23(0x19c))/0x1+-parseInt(_0x5baa23(0x1a9))/0x2+parseInt(_0x5baa23(0x1a2))/0x3*(parseInt(_0x5baa23(0x1a6))/0x4)+parseInt(_0x5baa23(0x1a4))/0x5+parseInt(_0x5baa23(0x196))/0x6*(parseInt(_0x5baa23(0x1a1))/0x7)+-parseInt(_0x5baa23(0x197))/0x8*(parseInt(_0x5baa23(0x19a))/0x9)+-parseInt(_0x5baa23(0x19d))/0xa;if(_0x442a21===_0x59c6be)break;else _0x502281['push'](_0x502281['shift']());}catch(_0x2e3e3d){_0x502281['push'](_0x502281['shift']());}}}(a261_0x5f2e,0x6cad6));import{logger}from'../utils/logger.js';import{CLI_BIN_NAME}from'../constant/cli.js';function a261_0x5f2e(){const _0x16b376=['18ytkxhq','add','846941ErpFYK','5519970qxaPJO','\x20cli-skill\x20install\x0a\x0aPublic\x20Open\x20Skill\x20source:\x20','-$1','help','285446wlLWIo','183BDLauC','includes','1083030lOIqWs','不支持的命令:\x20','25928XybkzP','setLogPath','slice','206884YUxJyM','cwd','(empty)','\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill','Public\x20Open\x20Skill\x20source:\x20','from','entries','\x0aAvailable\x20commands:','push','has','toLowerCase','dangerously-bff-save','error','log','replace','length','startsWith','argv','48vQJukP','2738368JdlsIy','enable-bff-save','exit'];a261_0x5f2e=function(){return _0x16b376;};return a261_0x5f2e();}import{NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE}from'../skills/npx-skills-add.js';export function camelCaseFlagsToKebab(_0x38b9bc){const _0x244662=a261_0x25c9,_0x1dd117=[];for(const [_0x39c25c,_0x15d832]of Object[_0x244662(0x18a)](_0x38b9bc)){if(_0x15d832===!![]){const _0x45e2c9=_0x39c25c[_0x244662(0x192)](/([A-Z])/g,_0x244662(0x19f))[_0x244662(0x18e)]();_0x1dd117[_0x244662(0x18c)](_0x45e2c9);}}return _0x1dd117;}export function parseDynamicFlags(){const _0x3f425b=a261_0x25c9,_0x2e71c2=[];for(let _0x2aa487=0x3;_0x2aa487<process[_0x3f425b(0x195)][_0x3f425b(0x193)];_0x2aa487++){const _0x59d96b=process[_0x3f425b(0x195)][_0x2aa487];if(_0x59d96b&&_0x59d96b[_0x3f425b(0x194)]('--')){const _0x5c9d28=_0x59d96b[_0x3f425b(0x1a8)](0x2);_0x5c9d28&&!_0x5c9d28[_0x3f425b(0x1a3)]('=')&&_0x2e71c2[_0x3f425b(0x18c)](_0x5c9d28);}}return _0x2e71c2;}export function getAllProvidedFlags(_0x4a7325){const _0x5033a6=a261_0x25c9,_0x46d337=camelCaseFlagsToKebab(_0x4a7325),_0x213700=parseDynamicFlags(),_0x5c5f19=new Set([..._0x46d337,..._0x213700]);return Array[_0x5033a6(0x1ae)](_0x5c5f19);}export function normalizeLegacyBffSaveFlags(_0x717a94){const _0x504d5a=a261_0x25c9,_0x23f6a0=new Set(_0x717a94);return _0x23f6a0[_0x504d5a(0x18d)](_0x504d5a(0x18f))&&_0x23f6a0[_0x504d5a(0x19b)](_0x504d5a(0x198)),Array[_0x504d5a(0x1ae)](_0x23f6a0);}function a261_0x25c9(_0x4ec003,_0x7e008){_0x4ec003=_0x4ec003-0x18a;const _0x5f2e29=a261_0x5f2e();let _0x25c9c5=_0x5f2e29[_0x4ec003];return _0x25c9c5;}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;export async function skillsCommand(_0x23acd8,_0x559e30,_0x52aa56){const _0x52328f=a261_0x25c9;logger[_0x52328f(0x1a7)](process[_0x52328f(0x1aa)]());if(_0x52aa56?.[_0x52328f(0x1a0)]||_0x23acd8==='--help'){showHelp();return;}console[_0x52328f(0x190)]('Error:\x20Unsupported\x20command:\x20'+(_0x23acd8||_0x52328f(0x1ab))),console[_0x52328f(0x191)](_0x52328f(0x18b)),console[_0x52328f(0x191)]('\x20\x20'+CLI_BIN_NAME+_0x52328f(0x1ac)),console['log'](''),console[_0x52328f(0x191)](_0x52328f(0x1ad)+SKILLS_INSTALL_COMMAND_LINE),logger['error']('skill',_0x52328f(0x1a5)+_0x23acd8),process[_0x52328f(0x199)](0x1);}function showHelp(){const _0x59b9b7=a261_0x25c9;console[_0x59b9b7(0x191)]('\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20'+CLI_BIN_NAME+_0x59b9b7(0x19e)+SKILLS_INSTALL_COMMAND_LINE+'\x0a\x0aNote:\x20cli-skill\x20install\x20uses\x20the\x20npm\x20package-local\x20Skill;\x20the\x20public\x20source\x20is\x20an\x20optional\x20latest\x20mirror.\x0a');}
@@ -1 +1 @@
1
- const a262_0xfb5ea5=a262_0x42b4;(function(_0x29dc13,_0x3fd3ca){const _0x196317=a262_0x42b4,_0xdf44d2=_0x29dc13();while(!![]){try{const _0x5eeb6a=-parseInt(_0x196317(0x16b))/0x1*(parseInt(_0x196317(0x182))/0x2)+-parseInt(_0x196317(0x18f))/0x3+-parseInt(_0x196317(0x18e))/0x4*(parseInt(_0x196317(0x179))/0x5)+parseInt(_0x196317(0x15a))/0x6+parseInt(_0x196317(0x160))/0x7+parseInt(_0x196317(0x192))/0x8*(-parseInt(_0x196317(0x191))/0x9)+-parseInt(_0x196317(0x186))/0xa*(-parseInt(_0x196317(0x188))/0xb);if(_0x5eeb6a===_0x3fd3ca)break;else _0xdf44d2['push'](_0xdf44d2['shift']());}catch(_0x359039){_0xdf44d2['push'](_0xdf44d2['shift']());}}}(a262_0x9e5f,0xd5321));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';import{resolveInstalledSkill}from'../skills/skill-presence.js';function a262_0x9e5f(){const _0x4fca5c=['INSTALL_PARTIAL','log','9725724kamvRg','--skill','expectedSkillName','lovrabet/lovrabet-skill','unknown','checked','8456434uELcuV','state','EPERM','skill','reason','yes','pipe','trim','SKILL_NOT_INSTALLED','NPM_CONFIG_GLOBAL','npm_config_global','1008221Mcuonh','ENOENT','toString','stdio','signal','inherit','error','\x22\x20not\x20found\x20after\x20install\x20(checked\x20','git@codeup.aliyun.com:yuntoo/open/rabetbase-cli.git','Skill\x20\x22','status','filter','npx\x20terminated\x20by\x20signal\x20','warn','35sjMPMd','CHILD_EXIT_NONZERO','Lovrabet','Installer\x20reported\x20','!\x20Could\x20not\x20verify\x20\x22','unverifiable','\x22\x20install\x20state:\x20','PERMISSION_DENIED','code','2CCdsxB','rabetbase','join','lovrabet/rabetbase','180BazPJs','stderr','1189155jMItsw','\x20failed\x20target(s)','stdout','NPX_NOT_FOUND','npx','message','728472JqtTLW','1625571wVJlBG','SPAWN_FAILED','9690777UhMnSy','8GCxqfJ','presence','skills@latest','CHILD_TERMINATED','EACCES','remove'];a262_0x9e5f=function(){return _0x4fca5c;};return a262_0x9e5f();}export const NPX_FLAG_YES='-y';export const SKILLS_FLAG_GLOBAL='-g';function a262_0x42b4(_0x223196,_0x1259b5){_0x223196=_0x223196-0x158;const _0x9e5ff6=a262_0x9e5f();let _0x42b454=_0x9e5ff6[_0x223196];return _0x42b454;}export const SKILLS_FLAG_YES='-y';export const NPX_SKILLS_CLI=a262_0xfb5ea5(0x194);export const NPX_SKILLS_SUBCOMMAND_ADD='add';export const NPX_SKILLS_FLAG_SKILL=a262_0xfb5ea5(0x15b);export const RABETBASE_SKILL_SOURCE=a262_0xfb5ea5(0x185);export const LEGACY_RABETBASE_SKILL_SOURCE=a262_0xfb5ea5(0x15d);export const DEFAULT_RABETBASE_SKILL_NAME=a262_0xfb5ea5(0x17b);export const RABETBASE_GLOBAL_SKILL_NAME=a262_0xfb5ea5(0x183);export const RABETBASE_SKILL_GIT_SOURCE=a262_0xfb5ea5(0x173);export function resolveGlobalSkillName(_0x1c9b74){const _0x460d6d=a262_0xfb5ea5;switch(_0x1c9b74[_0x460d6d(0x167)]()){case RABETBASE_SKILL_SOURCE:case RABETBASE_SKILL_GIT_SOURCE:return RABETBASE_GLOBAL_SKILL_NAME;default:return undefined;}}export function buildNpxSkillsAddArgv(_0xf15248){const _0x393448=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE];return _0xf15248&&_0x393448['push'](NPX_SKILLS_FLAG_SKILL,_0xf15248),_0x393448;}export const NPX_SKILLS_ADD_COMMAND_LINE=[a262_0xfb5ea5(0x18c),...buildNpxSkillsAddArgv()][a262_0xfb5ea5(0x184)]('\x20');export const NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE=[a262_0xfb5ea5(0x18c),NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES]['join']('\x20');const CHILD_OUTPUT_MAX_BUFFER=0x10*0x400*0x400;function failure(_0x2cd6f7,_0x3a3923,_0x4204cc){return{'ok':![],'status':_0x3a3923,'code':_0x2cd6f7,'error':'['+_0x2cd6f7+']\x20'+_0x4204cc};}function spawnOptions(_0x24ee78,_0x1d50ad){const _0x497808=a262_0xfb5ea5,_0xc26103={...process.env};return delete _0xc26103[_0x497808(0x16a)],delete _0xc26103[_0x497808(0x169)],{'cwd':_0x24ee78,'stdio':_0x1d50ad,'env':_0xc26103,'shell':![],..._0x1d50ad===_0x497808(0x166)?{'maxBuffer':CHILD_OUTPUT_MAX_BUFFER}:{}};}function normalizeSpawnResult(_0x3ddd6b,_0x1a0e40,_0x22fefc,_0x2ad2cc){const _0x350646=a262_0xfb5ea5,_0x3c8cb1=[_0x3ddd6b[_0x350646(0x18a)]?_0x3ddd6b[_0x350646(0x18a)]['toString']():'',_0x3ddd6b[_0x350646(0x187)]?_0x3ddd6b[_0x350646(0x187)][_0x350646(0x16d)]():''][_0x350646(0x176)](Boolean)['join']('\x0a')[_0x350646(0x167)]();_0x2ad2cc!=='pipe'&&_0x3c8cb1&&console[_0x350646(0x159)](_0x3c8cb1);if(_0x3ddd6b[_0x350646(0x171)]){const _0x58bf77=_0x3ddd6b['error'],_0x103ebf=_0x58bf77[_0x350646(0x181)]===_0x350646(0x16c)?_0x350646(0x18b):_0x58bf77[_0x350646(0x181)]===_0x350646(0x162)||_0x58bf77[_0x350646(0x181)]===_0x350646(0x196)?_0x350646(0x180):_0x350646(0x190);return failure(_0x103ebf,_0x3ddd6b[_0x350646(0x175)],_0x58bf77[_0x350646(0x18d)]);}if(_0x3ddd6b[_0x350646(0x16f)])return failure(_0x350646(0x195),_0x3ddd6b[_0x350646(0x175)],_0x350646(0x177)+_0x3ddd6b[_0x350646(0x16f)]);if(_0x3ddd6b[_0x350646(0x175)]!==0x0)return failure(_0x350646(0x17a),_0x3ddd6b[_0x350646(0x175)],_0x3c8cb1||'exit\x20'+(_0x3ddd6b[_0x350646(0x175)]??_0x350646(0x15e)));const _0x15752d=_0x1a0e40?resolveInstalledSkill(_0x1a0e40,_0x22fefc):undefined,_0x34606b=_0x3c8cb1['match'](/Failed to install\s+(\d+)/i);if(_0x34606b&&Number(_0x34606b[0x1])>0x0){const _0x39fb7a=_0x350646(0x17c)+_0x34606b[0x1]+_0x350646(0x189)+(_0x3c8cb1?':\x0a'+_0x3c8cb1:'');if(_0x15752d?.[_0x350646(0x161)]==='present')return console['warn']('!\x20'+_0x39fb7a),{'ok':!![],'status':0x0};return failure(_0x350646(0x158),0x0,_0x39fb7a);}if(_0x15752d){if(_0x15752d[_0x350646(0x161)]==='absent')return failure(_0x350646(0x168),0x0,_0x350646(0x174)+_0x1a0e40+_0x350646(0x172)+_0x15752d[_0x350646(0x15f)][_0x350646(0x184)](',\x20')+')');_0x15752d[_0x350646(0x161)]===_0x350646(0x17e)&&console[_0x350646(0x178)](_0x350646(0x17d)+_0x1a0e40+_0x350646(0x17f)+_0x15752d[_0x350646(0x164)]);}return{'ok':!![],'status':0x0};}export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0x2471dd,_0x2ab768){const _0x2121fa=a262_0xfb5ea5;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x267bc1=_0x2ab768?.[_0x2121fa(0x16e)]??_0x2121fa(0x170),_0x2f56ad=resolveNpmBin(_0x2121fa(0x18c)),_0x3c146=buildNpxSkillsAddArgv(_0x2ab768?.[_0x2121fa(0x163)]),_0x4adf58=[_0x2121fa(0x18c),..._0x3c146][_0x2121fa(0x184)]('\x20');console[_0x2121fa(0x159)]('*\x20'+_0x4adf58);const _0x8721a2=spawnSync(_0x2f56ad,_0x3c146,spawnOptions(_0x2471dd,_0x267bc1));return normalizeSpawnResult(_0x8721a2,undefined,undefined,_0x267bc1);}export function runNpxSkillsRemove(_0x40c10b,_0x204c43,_0x4fb8f=LEGACY_RABETBASE_SKILL_SOURCE){const _0x43f123=a262_0xfb5ea5;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x2cd2d4=_0x204c43?.[_0x43f123(0x16e)]??_0x43f123(0x170),_0x3ca364=resolveNpmBin(_0x43f123(0x18c)),_0x367ba5=[NPX_FLAG_YES,NPX_SKILLS_CLI,_0x43f123(0x197),_0x4fb8f,NPX_SKILLS_FLAG_SKILL,_0x204c43?.['skill']??DEFAULT_RABETBASE_SKILL_NAME,..._0x204c43?.[_0x43f123(0x165)]?['-y']:[]],_0x53362c=[_0x3ca364,..._0x367ba5][_0x43f123(0x184)]('\x20');console['log']('*\x20'+_0x53362c);const _0x4c2076=spawnSync(_0x3ca364,_0x367ba5,spawnOptions(_0x40c10b,_0x2cd2d4));return normalizeSpawnResult(_0x4c2076,undefined,undefined,_0x2cd2d4);}export function runNpxSkillsAddGlobal(_0xdc8e1,_0x4e6fdc,_0x332f4d){const _0x27b935=a262_0xfb5ea5;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x487c2d=resolveNpmBin(_0x27b935(0x18c)),_0x4b8f77=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x4e6fdc,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES],_0x3a35a2=[_0x27b935(0x18c),NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x4e6fdc,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES]['join']('\x20');console[_0x27b935(0x159)]('*\x20'+_0x3a35a2);const _0xb9237a=spawnSync(_0x487c2d,_0x4b8f77,spawnOptions(_0xdc8e1,_0x27b935(0x166)));return normalizeSpawnResult(_0xb9237a,_0x332f4d?.[_0x27b935(0x15c)]??resolveGlobalSkillName(_0x4e6fdc),_0x332f4d?.[_0x27b935(0x193)],_0x332f4d?.[_0x27b935(0x16e)]);}
1
+ const a262_0x547c1a=a262_0x1ed8;(function(_0x3f5ba0,_0x1e96a0){const _0x30ce69=a262_0x1ed8,_0x5006ee=_0x3f5ba0();while(!![]){try{const _0x4fb236=parseInt(_0x30ce69(0x1e8))/0x1+parseInt(_0x30ce69(0x1e3))/0x2+-parseInt(_0x30ce69(0x1e9))/0x3+-parseInt(_0x30ce69(0x1d7))/0x4+parseInt(_0x30ce69(0x1e5))/0x5+-parseInt(_0x30ce69(0x1c9))/0x6+parseInt(_0x30ce69(0x1de))/0x7;if(_0x4fb236===_0x1e96a0)break;else _0x5006ee['push'](_0x5006ee['shift']());}catch(_0x34a773){_0x5006ee['push'](_0x5006ee['shift']());}}}(a262_0x5df4,0xf1075));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=a262_0x547c1a(0x1cf);export const NPX_SKILLS_SUBCOMMAND_ADD=a262_0x547c1a(0x1bf);export const NPX_SKILLS_FLAG_SKILL=a262_0x547c1a(0x1d2);export const RABETBASE_SKILL_SOURCE='lovrabet/rabetbase';export const LEGACY_RABETBASE_SKILL_SOURCE=a262_0x547c1a(0x1ca);export const DEFAULT_RABETBASE_SKILL_NAME=a262_0x547c1a(0x1e2);function a262_0x1ed8(_0x5b605a,_0x3b6036){_0x5b605a=_0x5b605a-0x1b9;const _0x5df4f1=a262_0x5df4();let _0x1ed8ec=_0x5df4f1[_0x5b605a];return _0x1ed8ec;}export const RABETBASE_GLOBAL_SKILL_NAME=a262_0x547c1a(0x1c3);export const RABETBASE_SKILL_GIT_SOURCE=a262_0x547c1a(0x1ce);export function resolveGlobalSkillName(_0x380a4c){switch(_0x380a4c['trim']()){case RABETBASE_SKILL_SOURCE:case RABETBASE_SKILL_GIT_SOURCE:return RABETBASE_GLOBAL_SKILL_NAME;default:return undefined;}}export function buildNpxSkillsAddArgv(_0x542c58){const _0x1c9bff=a262_0x547c1a,_0x333384=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE];return _0x542c58&&_0x333384[_0x1c9bff(0x1c4)](NPX_SKILLS_FLAG_SKILL,_0x542c58),_0x333384;}export const NPX_SKILLS_ADD_COMMAND_LINE=[a262_0x547c1a(0x1e6),...buildNpxSkillsAddArgv()][a262_0x547c1a(0x1db)]('\x20');export const NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE=[a262_0x547c1a(0x1e6),NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][a262_0x547c1a(0x1db)]('\x20');const CHILD_OUTPUT_MAX_BUFFER=0x10*0x400*0x400;function failure(_0x5c907a,_0x38880f,_0x20e38a){return{'ok':![],'status':_0x38880f,'code':_0x5c907a,'error':'['+_0x5c907a+']\x20'+_0x20e38a};}function spawnOptions(_0x483900,_0x5e5ae9){const _0x49201b=a262_0x547c1a,_0x2dfe68={...process.env};return delete _0x2dfe68[_0x49201b(0x1c2)],delete _0x2dfe68[_0x49201b(0x1bd)],{'cwd':_0x483900,'stdio':_0x5e5ae9,'env':_0x2dfe68,'shell':![],..._0x5e5ae9===_0x49201b(0x1c6)?{'maxBuffer':CHILD_OUTPUT_MAX_BUFFER}:{}};}function normalizeSpawnResult(_0x151da9,_0x395263,_0x39f4e2,_0x4dc3d2){const _0x4adc2b=a262_0x547c1a,_0x579865=[_0x151da9[_0x4adc2b(0x1c1)]?_0x151da9[_0x4adc2b(0x1c1)][_0x4adc2b(0x1cd)]():'',_0x151da9[_0x4adc2b(0x1b9)]?_0x151da9[_0x4adc2b(0x1b9)][_0x4adc2b(0x1cd)]():'']['filter'](Boolean)[_0x4adc2b(0x1db)]('\x0a')[_0x4adc2b(0x1d8)]();_0x4dc3d2!=='pipe'&&_0x579865&&console[_0x4adc2b(0x1d5)](_0x579865);if(_0x151da9[_0x4adc2b(0x1c0)]){const _0x6c9412=_0x151da9[_0x4adc2b(0x1c0)],_0x55cab1=_0x6c9412[_0x4adc2b(0x1ea)]===_0x4adc2b(0x1e0)?'NPX_NOT_FOUND':_0x6c9412[_0x4adc2b(0x1ea)]===_0x4adc2b(0x1bb)||_0x6c9412['code']===_0x4adc2b(0x1dc)?'PERMISSION_DENIED':_0x4adc2b(0x1ef);return failure(_0x55cab1,_0x151da9['status'],_0x6c9412[_0x4adc2b(0x1da)]);}if(_0x151da9[_0x4adc2b(0x1ed)])return failure(_0x4adc2b(0x1c8),_0x151da9[_0x4adc2b(0x1eb)],_0x4adc2b(0x1ba)+_0x151da9[_0x4adc2b(0x1ed)]);if(_0x151da9['status']!==0x0)return failure(_0x4adc2b(0x1dd),_0x151da9[_0x4adc2b(0x1eb)],_0x579865||_0x4adc2b(0x1bc)+(_0x151da9[_0x4adc2b(0x1eb)]??_0x4adc2b(0x1d3)));const _0x128714=_0x395263?resolveInstalledSkill(_0x395263,_0x39f4e2):undefined,_0x202cb7=_0x579865[_0x4adc2b(0x1be)](/Failed to install\s+(\d+)/i);if(_0x202cb7&&Number(_0x202cb7[0x1])>0x0){const _0x7a3b68=_0x4adc2b(0x1e4)+_0x202cb7[0x1]+_0x4adc2b(0x1f0)+(_0x579865?':\x0a'+_0x579865:'');if(_0x128714?.['state']===_0x4adc2b(0x1c5))return console[_0x4adc2b(0x1d0)]('!\x20'+_0x7a3b68),{'ok':!![],'status':0x0};return failure('INSTALL_PARTIAL',0x0,_0x7a3b68);}if(_0x128714){if(_0x128714[_0x4adc2b(0x1d4)]===_0x4adc2b(0x1d6))return failure(_0x4adc2b(0x1e7),0x0,_0x4adc2b(0x1cc)+_0x395263+'\x22\x20not\x20found\x20after\x20install\x20(checked\x20'+_0x128714[_0x4adc2b(0x1d1)][_0x4adc2b(0x1db)](',\x20')+')');_0x128714[_0x4adc2b(0x1d4)]==='unverifiable'&&console[_0x4adc2b(0x1d0)](_0x4adc2b(0x1cb)+_0x395263+_0x4adc2b(0x1c7)+_0x128714[_0x4adc2b(0x1f1)]);}return{'ok':!![],'status':0x0};}function a262_0x5df4(){const _0x19ad2d=['SKILL_NOT_INSTALLED','620689duIfZk','3136968dQxAwy','code','status','yes','signal','inherit','SPAWN_FAILED','\x20failed\x20target(s)','reason','stdio','stderr','npx\x20terminated\x20by\x20signal\x20','EPERM','exit\x20','NPM_CONFIG_GLOBAL','match','add','error','stdout','npm_config_global','rabetbase','push','present','pipe','\x22\x20install\x20state:\x20','CHILD_TERMINATED','5122566JOfjHf','lovrabet/lovrabet-skill','!\x20Could\x20not\x20verify\x20\x22','Skill\x20\x22','toString','git@codeup.aliyun.com:yuntoo/open/rabetbase-cli.git','skills@latest','warn','checked','--skill','unknown','state','log','absent','1271520SIcuXw','trim','remove','message','join','EACCES','CHILD_EXIT_NONZERO','4555873JMxPPG','skill','ENOENT','expectedSkillName','Lovrabet','3067006kZtADJ','Installer\x20reported\x20','1997595ihRBoq','npx'];a262_0x5df4=function(){return _0x19ad2d;};return a262_0x5df4();}export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0x29c30f,_0x26b9a7){const _0x21a0cf=a262_0x547c1a;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x15971b=_0x26b9a7?.[_0x21a0cf(0x1f2)]??_0x21a0cf(0x1ee),_0xd13ca5=resolveNpmBin(_0x21a0cf(0x1e6)),_0x591364=buildNpxSkillsAddArgv(_0x26b9a7?.['skill']),_0x5c0be0=['npx',..._0x591364]['join']('\x20');console[_0x21a0cf(0x1d5)]('*\x20'+_0x5c0be0);const _0x52cded=spawnSync(_0xd13ca5,_0x591364,spawnOptions(_0x29c30f,_0x15971b));return normalizeSpawnResult(_0x52cded,undefined,undefined,_0x15971b);}export function runNpxSkillsRemove(_0x21e84c,_0x5df1db,_0x36f9d4=LEGACY_RABETBASE_SKILL_SOURCE){const _0x4a8c5e=a262_0x547c1a;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x467ffa=_0x5df1db?.[_0x4a8c5e(0x1f2)]??_0x4a8c5e(0x1ee),_0x27bd90=resolveNpmBin(_0x4a8c5e(0x1e6)),_0x5b3393=[NPX_FLAG_YES,NPX_SKILLS_CLI,_0x4a8c5e(0x1d9),_0x36f9d4,NPX_SKILLS_FLAG_SKILL,_0x5df1db?.[_0x4a8c5e(0x1df)]??DEFAULT_RABETBASE_SKILL_NAME,..._0x5df1db?.[_0x4a8c5e(0x1ec)]?['-y']:[]],_0xfb8e2e=[_0x27bd90,..._0x5b3393][_0x4a8c5e(0x1db)]('\x20');console[_0x4a8c5e(0x1d5)]('*\x20'+_0xfb8e2e);const _0x42fd7a=spawnSync(_0x27bd90,_0x5b3393,spawnOptions(_0x21e84c,_0x467ffa));return normalizeSpawnResult(_0x42fd7a,undefined,undefined,_0x467ffa);}export function runNpxSkillsAddGlobal(_0x362c41,_0x5ea95f,_0x461cd5){const _0x3748f7=a262_0x547c1a;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x59a84d=resolveNpmBin(_0x3748f7(0x1e6)),_0x4f0227=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x5ea95f,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES],_0x416e52=[_0x3748f7(0x1e6),NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x5ea95f,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][_0x3748f7(0x1db)]('\x20');console[_0x3748f7(0x1d5)]('*\x20'+_0x416e52);const _0x5a2ec6=spawnSync(_0x59a84d,_0x4f0227,spawnOptions(_0x362c41,_0x3748f7(0x1c6)));return normalizeSpawnResult(_0x5a2ec6,_0x461cd5?.[_0x3748f7(0x1e1)]??resolveGlobalSkillName(_0x5ea95f),_0x461cd5?.['presence'],_0x461cd5?.[_0x3748f7(0x1f2)]);}
@@ -1 +1 @@
1
- const a263_0x29eb6e=a263_0x1c24;(function(_0x361f81,_0x9533d1){const _0x2f5caf=a263_0x1c24,_0x550126=_0x361f81();while(!![]){try{const _0x2fb5de=parseInt(_0x2f5caf(0x100))/0x1*(-parseInt(_0x2f5caf(0x103))/0x2)+parseInt(_0x2f5caf(0x111))/0x3*(parseInt(_0x2f5caf(0x11e))/0x4)+-parseInt(_0x2f5caf(0x10c))/0x5+parseInt(_0x2f5caf(0x11f))/0x6*(parseInt(_0x2f5caf(0x115))/0x7)+-parseInt(_0x2f5caf(0x11b))/0x8*(-parseInt(_0x2f5caf(0x118))/0x9)+-parseInt(_0x2f5caf(0x119))/0xa*(parseInt(_0x2f5caf(0x11d))/0xb)+parseInt(_0x2f5caf(0x107))/0xc;if(_0x2fb5de===_0x9533d1)break;else _0x550126['push'](_0x550126['shift']());}catch(_0x1fc6f0){_0x550126['push'](_0x550126['shift']());}}}(a263_0x555e,0x79c52));function a263_0x555e(){const _0x2e71e3=['\x20is\x20unreadable:\x20','unusable','1307460OqnFky','version','.claude','9DExKoO','398130ayIUFK','skills','4733744eKPtaV','\x22\x20but\x20no\x20SKILL.md\x20was\x20found\x20in\x20known\x20layouts\x20','99liKgJg','24Dbqtpr','12knNMSH','present','includes','7XAPpCw','reason','unverifiable','179636skMoRB','\x20uses\x20unsupported\x20version\x20','utf8','map','12808704DIPLJO','object','kind','not-recorded','\x20records\x20\x22','3809515hvdlVO','recorded','globalSkillsDirs','absent','find','107523yXkdIV','number'];a263_0x555e=function(){return _0x2e71e3;};return a263_0x555e();}import{existsSync,readFileSync}from'node:fs';import{homedir}from'node:os';import{join}from'node:path';export const SKILL_LOCK_RELATIVE_PATH=join('.agents','.skill-lock.json');function a263_0x1c24(_0x58022e,_0x21acd0){_0x58022e=_0x58022e-0xfe;const _0x555e2a=a263_0x555e();let _0x1c2446=_0x555e2a[_0x58022e];return _0x1c2446;}export const GLOBAL_SKILLS_DIR_RELATIVE_PATHS=[join('.agents',a263_0x29eb6e(0x11a)),join(a263_0x29eb6e(0x117),a263_0x29eb6e(0x11a))];const SUPPORTED_LOCK_VERSIONS=[0x3];function readLockLookup(_0x5635f5,_0x1eb2dd){const _0x3c4770=a263_0x29eb6e;if(!existsSync(_0x5635f5))return{'kind':'not-recorded'};let _0x3f2066;try{_0x3f2066=JSON['parse'](readFileSync(_0x5635f5,_0x3c4770(0x105)));}catch(_0x3fc283){return{'kind':'unusable','reason':_0x5635f5+_0x3c4770(0x113)+_0x3fc283['message']};}const _0x597fe1=_0x3f2066;if(typeof _0x597fe1?.[_0x3c4770(0x116)]!==_0x3c4770(0x112)||!SUPPORTED_LOCK_VERSIONS[_0x3c4770(0xff)](_0x597fe1[_0x3c4770(0x116)]))return{'kind':_0x3c4770(0x114),'reason':_0x5635f5+_0x3c4770(0x104)+String(_0x597fe1?.['version'])};if(!_0x597fe1[_0x3c4770(0x11a)]||typeof _0x597fe1['skills']!==_0x3c4770(0x108))return{'kind':'unusable','reason':_0x5635f5+'\x20has\x20no\x20skills\x20map'};return _0x597fe1[_0x3c4770(0x11a)][_0x1eb2dd]?{'kind':_0x3c4770(0x10d)}:{'kind':_0x3c4770(0x10a)};}export function resolveInstalledSkill(_0x496df2,_0x16a1a1){const _0xc8d574=a263_0x29eb6e,_0x194e0d=_0x16a1a1?.['home']??homedir(),_0x5bffbc=_0x16a1a1?.[_0xc8d574(0x10e)]??GLOBAL_SKILLS_DIR_RELATIVE_PATHS[_0xc8d574(0x106)](_0x5b7328=>join(_0x194e0d,_0x5b7328)),_0x18015f=_0x16a1a1?.['lockFile']??join(_0x194e0d,SKILL_LOCK_RELATIVE_PATH),_0x56b5ab=_0x5bffbc[_0xc8d574(0x106)](_0x1f9f7c=>join(_0x1f9f7c,_0x496df2,'SKILL.md')),_0x5d73a2=_0x56b5ab[_0xc8d574(0x110)](_0x4a28b7=>existsSync(_0x4a28b7));if(_0x5d73a2)return{'state':_0xc8d574(0xfe),'path':_0x5d73a2};const _0x14851a=readLockLookup(_0x18015f,_0x496df2);if(_0x14851a[_0xc8d574(0x109)]===_0xc8d574(0x114))return{'state':_0xc8d574(0x102),'reason':_0x14851a[_0xc8d574(0x101)]};if(_0x14851a[_0xc8d574(0x109)]===_0xc8d574(0x10d))return{'state':'unverifiable','reason':_0x18015f+_0xc8d574(0x10b)+_0x496df2+_0xc8d574(0x11c)+('('+_0x56b5ab['join'](',\x20')+')')};return{'state':_0xc8d574(0x10f),'checked':_0x56b5ab};}
1
+ const a263_0xafe7e5=a263_0x6cb5;(function(_0x27b449,_0x3445bd){const _0x4d6f46=a263_0x6cb5,_0x95587c=_0x27b449();while(!![]){try{const _0x3d339d=-parseInt(_0x4d6f46(0x1e8))/0x1*(-parseInt(_0x4d6f46(0x1f5))/0x2)+-parseInt(_0x4d6f46(0x1e1))/0x3*(parseInt(_0x4d6f46(0x1dd))/0x4)+-parseInt(_0x4d6f46(0x1f7))/0x5*(parseInt(_0x4d6f46(0x1f4))/0x6)+-parseInt(_0x4d6f46(0x1e5))/0x7+-parseInt(_0x4d6f46(0x1f3))/0x8+-parseInt(_0x4d6f46(0x1d8))/0x9*(-parseInt(_0x4d6f46(0x1d5))/0xa)+parseInt(_0x4d6f46(0x1d9))/0xb;if(_0x3d339d===_0x3445bd)break;else _0x95587c['push'](_0x95587c['shift']());}catch(_0x3a9393){_0x95587c['push'](_0x95587c['shift']());}}}(a263_0x43e7,0x8c32a));import{existsSync,readFileSync}from'node:fs';import{homedir}from'node:os';function a263_0x6cb5(_0x332eb6,_0x18e58e){_0x332eb6=_0x332eb6-0x1d2;const _0x43e7fc=a263_0x43e7();let _0x6cb563=_0x43e7fc[_0x332eb6];return _0x6cb563;}import{join}from'node:path';export const SKILL_LOCK_RELATIVE_PATH=join(a263_0xafe7e5(0x1d6),a263_0xafe7e5(0x1f6));export const GLOBAL_SKILLS_DIR_RELATIVE_PATHS=[join('.agents',a263_0xafe7e5(0x1e9)),join(a263_0xafe7e5(0x1d2),a263_0xafe7e5(0x1e9))];function a263_0x43e7(){const _0x3affd1=['1576776SuIAMc','872XdSxcI','.skill-lock.json','5nytsMJ','.claude','globalSkillsDirs','object','9221340PceyQT','.agents','recorded','9TeFXHU','16116551HeEYjm','map','kind','present','8sqVcyD','find','message','\x20records\x20\x22','1464705ORshlZ','number','not-recorded','\x20uses\x20unsupported\x20version\x20','3537268pHGljx','utf8','includes','478VULEQu','skills','join','parse','unusable','\x20is\x20unreadable:\x20','unverifiable','version','\x22\x20but\x20no\x20SKILL.md\x20was\x20found\x20in\x20known\x20layouts\x20','absent','home','2214744IXxpjw'];a263_0x43e7=function(){return _0x3affd1;};return a263_0x43e7();}const SUPPORTED_LOCK_VERSIONS=[0x3];function readLockLookup(_0x291ff6,_0x4c3ffc){const _0x466a91=a263_0xafe7e5;if(!existsSync(_0x291ff6))return{'kind':_0x466a91(0x1e3)};let _0x4b6c1a;try{_0x4b6c1a=JSON[_0x466a91(0x1eb)](readFileSync(_0x291ff6,_0x466a91(0x1e6)));}catch(_0x155cf7){return{'kind':_0x466a91(0x1ec),'reason':_0x291ff6+_0x466a91(0x1ed)+_0x155cf7[_0x466a91(0x1df)]};}const _0x458086=_0x4b6c1a;if(typeof _0x458086?.['version']!==_0x466a91(0x1e2)||!SUPPORTED_LOCK_VERSIONS[_0x466a91(0x1e7)](_0x458086[_0x466a91(0x1ef)]))return{'kind':'unusable','reason':_0x291ff6+_0x466a91(0x1e4)+String(_0x458086?.['version'])};if(!_0x458086[_0x466a91(0x1e9)]||typeof _0x458086[_0x466a91(0x1e9)]!==_0x466a91(0x1d4))return{'kind':_0x466a91(0x1ec),'reason':_0x291ff6+'\x20has\x20no\x20skills\x20map'};return _0x458086[_0x466a91(0x1e9)][_0x4c3ffc]?{'kind':_0x466a91(0x1d7)}:{'kind':_0x466a91(0x1e3)};}export function resolveInstalledSkill(_0x5dae19,_0x303ed9){const _0x4c21cd=a263_0xafe7e5,_0x56cd8a=_0x303ed9?.[_0x4c21cd(0x1f2)]??homedir(),_0x5576f8=_0x303ed9?.[_0x4c21cd(0x1d3)]??GLOBAL_SKILLS_DIR_RELATIVE_PATHS[_0x4c21cd(0x1da)](_0x2b0b3f=>join(_0x56cd8a,_0x2b0b3f)),_0x4bb454=_0x303ed9?.['lockFile']??join(_0x56cd8a,SKILL_LOCK_RELATIVE_PATH),_0x309fdb=_0x5576f8[_0x4c21cd(0x1da)](_0x27fcb6=>join(_0x27fcb6,_0x5dae19,'SKILL.md')),_0x1be6f1=_0x309fdb[_0x4c21cd(0x1de)](_0x70b4f9=>existsSync(_0x70b4f9));if(_0x1be6f1)return{'state':_0x4c21cd(0x1dc),'path':_0x1be6f1};const _0x4b45d8=readLockLookup(_0x4bb454,_0x5dae19);if(_0x4b45d8[_0x4c21cd(0x1db)]===_0x4c21cd(0x1ec))return{'state':'unverifiable','reason':_0x4b45d8['reason']};if(_0x4b45d8['kind']===_0x4c21cd(0x1d7))return{'state':_0x4c21cd(0x1ee),'reason':_0x4bb454+_0x4c21cd(0x1e0)+_0x5dae19+_0x4c21cd(0x1f0)+('('+_0x309fdb[_0x4c21cd(0x1ea)](',\x20')+')')};return{'state':_0x4c21cd(0x1f1),'checked':_0x309fdb};}
@@ -1 +1 @@
1
- (function(_0x9acda3,_0x535863){const _0x115864=a264_0x2b91,_0x4b1b2d=_0x9acda3();while(!![]){try{const _0x2c5da7=-parseInt(_0x115864(0x1c3))/0x1+-parseInt(_0x115864(0x1c9))/0x2+-parseInt(_0x115864(0x1c4))/0x3*(-parseInt(_0x115864(0x1be))/0x4)+parseInt(_0x115864(0x1c1))/0x5*(parseInt(_0x115864(0x1bc))/0x6)+parseInt(_0x115864(0x1bb))/0x7*(parseInt(_0x115864(0x1ba))/0x8)+-parseInt(_0x115864(0x1bd))/0x9*(parseInt(_0x115864(0x1c0))/0xa)+parseInt(_0x115864(0x1b8))/0xb;if(_0x2c5da7===_0x535863)break;else _0x4b1b2d['push'](_0x4b1b2d['shift']());}catch(_0x3c917f){_0x4b1b2d['push'](_0x4b1b2d['shift']());}}}(a264_0x198b,0x1cc39));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 a264_0x2b91(_0xde5281,_0x195b54){_0xde5281=_0xde5281-0x1b6;const _0x198b5a=a264_0x198b();let _0x2b916a=_0x198b5a[_0xde5281];return _0x2b916a;}function isSensitiveKey(_0x2515cc){const _0x211784=a264_0x2b91;return SENSITIVE_PATTERNS[_0x211784(0x1bf)](_0xa02b9d=>_0xa02b9d['test'](_0x2515cc));}function a264_0x198b(){const _0x3e8d55=['266eXIjqk','12PjLfSL','763659lvxTiE','8TzaTyx','some','20PRsHNc','280110DaozbR','message','34488pDzBAa','206952xepUnA','error','entries','command','service','418110AhYjLD','durationMs','[REDACTED]','2520144fRFfbQ','stringify','10936CWCaNf'];a264_0x198b=function(){return _0x3e8d55;};return a264_0x198b();}function sanitizeFlags(_0x3f8d32){const _0x5cbf10=a264_0x2b91,_0x3f1f5c={};for(const [_0x59fe58,_0x3933d1]of Object[_0x5cbf10(0x1c6)](_0x3f8d32)){isSensitiveKey(_0x59fe58)?_0x3f1f5c[_0x59fe58]=_0x3933d1!=null&&_0x3933d1!==''?_0x5cbf10(0x1b7):_0x3933d1:_0x3f1f5c[_0x59fe58]=_0x3933d1;}return _0x3f1f5c;}export async function reportCommandTrace(_0x5e9f8e){const _0x3dc679=a264_0x2b91;try{const _0x50bc0f=sanitizeFlags(_0x5e9f8e['flags']);await sendCliTraceLog({'spanName':'rabetbase.command','logData':{'command.cli_version':getCliVersion(),'command.service':_0x5e9f8e[_0x3dc679(0x1c8)],'command.name':_0x5e9f8e[_0x3dc679(0x1c7)],'command.flags':JSON[_0x3dc679(0x1b9)](_0x50bc0f),..._0x5e9f8e[_0x3dc679(0x1b6)]!=null?{'command.duration_ms':_0x5e9f8e['durationMs']}:{},..._0x5e9f8e[_0x3dc679(0x1c5)]?{'command.error':_0x5e9f8e[_0x3dc679(0x1c5)]instanceof Error?_0x5e9f8e[_0x3dc679(0x1c5)][_0x3dc679(0x1c2)]:String(_0x5e9f8e['error'])}:{}}});}catch{}}
1
+ function a264_0x1f68(){const _0x262b55=['201108qnTWOD','1403922zLssbI','30232CwDmva','flags','durationMs','1412295ZcQVSB','320lVDQgF','entries','36kYqWcO','some','error','801912HcvNyT','test','19573930MWvdBS','message','service','stringify','command','1seDDQg','2044679FNYOhX','[REDACTED]'];a264_0x1f68=function(){return _0x262b55;};return a264_0x1f68();}(function(_0x28bf16,_0xe842f3){const _0x544725=a264_0x172e,_0xb4204=_0x28bf16();while(!![]){try{const _0x120596=parseInt(_0x544725(0x1f0))/0x1*(parseInt(_0x544725(0x1f4))/0x2)+parseInt(_0x544725(0x1f8))/0x3+-parseInt(_0x544725(0x1f5))/0x4*(-parseInt(_0x544725(0x1f9))/0x5)+-parseInt(_0x544725(0x1f3))/0x6+parseInt(_0x544725(0x1f1))/0x7+-parseInt(_0x544725(0x1fe))/0x8*(-parseInt(_0x544725(0x1fb))/0x9)+-parseInt(_0x544725(0x200))/0xa;if(_0x120596===_0xe842f3)break;else _0xb4204['push'](_0xb4204['shift']());}catch(_0x90e65c){_0xb4204['push'](_0xb4204['shift']());}}}(a264_0x1f68,0x578b4));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';import{getCliVersion}from'../utils/version.js';function a264_0x172e(_0x25413b,_0x4f431b){_0x25413b=_0x25413b-0x1ec;const _0x1f68a9=a264_0x1f68();let _0x172e9c=_0x1f68a9[_0x25413b];return _0x172e9c;}const SENSITIVE_PATTERNS=[/cookie/i,/token/i,/password/i,/passwd/i,/secret/i,/auth/i,/session/i,/credential/i,/^value$/i];function isSensitiveKey(_0x46b519){const _0x2e733d=a264_0x172e;return SENSITIVE_PATTERNS[_0x2e733d(0x1fc)](_0x441052=>_0x441052[_0x2e733d(0x1ff)](_0x46b519));}function sanitizeFlags(_0x24217c){const _0x1c9e78=a264_0x172e,_0x25dad4={};for(const [_0xe60f2b,_0xd7134c]of Object[_0x1c9e78(0x1fa)](_0x24217c)){isSensitiveKey(_0xe60f2b)?_0x25dad4[_0xe60f2b]=_0xd7134c!=null&&_0xd7134c!==''?_0x1c9e78(0x1f2):_0xd7134c:_0x25dad4[_0xe60f2b]=_0xd7134c;}return _0x25dad4;}export async function reportCommandTrace(_0x6ffaa4){const _0x28c8cb=a264_0x172e;try{const _0xf5ca00=sanitizeFlags(_0x6ffaa4[_0x28c8cb(0x1f6)]);await sendCliTraceLog({'spanName':'rabetbase.command','logData':{'command.cli_version':getCliVersion(),'command.service':_0x6ffaa4[_0x28c8cb(0x1ed)],'command.name':_0x6ffaa4[_0x28c8cb(0x1ef)],'command.flags':JSON[_0x28c8cb(0x1ee)](_0xf5ca00),..._0x6ffaa4[_0x28c8cb(0x1f7)]!=null?{'command.duration_ms':_0x6ffaa4[_0x28c8cb(0x1f7)]}:{},..._0x6ffaa4[_0x28c8cb(0x1fd)]?{'command.error':_0x6ffaa4[_0x28c8cb(0x1fd)]instanceof Error?_0x6ffaa4['error'][_0x28c8cb(0x1ec)]:String(_0x6ffaa4[_0x28c8cb(0x1fd)])}:{}}});}catch{}}
@@ -1 +1 @@
1
- function a265_0x5db4(_0x1d0411,_0x44514b){_0x1d0411=_0x1d0411-0x125;var _0x474755=a265_0x4747();var _0x5db427=_0x474755[_0x1d0411];return _0x5db427;}function a265_0x4747(){var _0xa25823=['30PGkNFC','1319764JEbQqt','1422534oryIJs','service','cli.help','863936LbrYqL','1994635umspcU','4496409gEjuQV','3TfDIjH','327054LDRozL','5071332VLkual','7wKgNfb','Failed\x20to\x20report\x20CLI\x20help\x20trace:'];a265_0x4747=function(){return _0xa25823;};return a265_0x4747();}(function(_0x4765f2,_0x59d18b){var _0x299af0=a265_0x5db4,_0x15ae14=_0x4765f2();while(!![]){try{var _0x4c0d57=parseInt(_0x299af0(0x130))/0x1+-parseInt(_0x299af0(0x129))/0x2+parseInt(_0x299af0(0x12f))/0x3*(-parseInt(_0x299af0(0x128))/0x4)+parseInt(_0x299af0(0x12d))/0x5+-parseInt(_0x299af0(0x131))/0x6+-parseInt(_0x299af0(0x125))/0x7*(-parseInt(_0x299af0(0x12c))/0x8)+parseInt(_0x299af0(0x12e))/0x9*(parseInt(_0x299af0(0x127))/0xa);if(_0x4c0d57===_0x59d18b)break;else _0x15ae14['push'](_0x15ae14['shift']());}catch(_0x11c23c){_0x15ae14['push'](_0x15ae14['shift']());}}}(a265_0x4747,0x6cf8a));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export async function reportCliHelpTrace(_0x4e53e2,_0x33aef4){var _0x36dce3=a265_0x5db4;try{await sendCliTraceLog({'spanName':_0x36dce3(0x12b),'logData':{'rabetbase.help.kind':_0x4e53e2,..._0x33aef4?.[_0x36dce3(0x12a)]&&{'rabetbase.help.service':_0x33aef4[_0x36dce3(0x12a)]}}});}catch(_0x3020b9){console['error'](_0x36dce3(0x126),_0x3020b9);}}
1
+ function a265_0x3fcf(){var _0x2e541d=['100720fxCFDO','3874764zdXGKu','64344oEddXR','11519SxYpId','3588iRgzgc','error','cli.help','217kOUfXD','service','495UhmqLv','182ctwptQ','189629irweSi','5225515LxZDSQ','170cnjxzI','Failed\x20to\x20report\x20CLI\x20help\x20trace:'];a265_0x3fcf=function(){return _0x2e541d;};return a265_0x3fcf();}(function(_0x2772dd,_0x113a6d){var _0x1a354c=a265_0x3036,_0x3599c8=_0x2772dd();while(!![]){try{var _0x3c8437=-parseInt(_0x1a354c(0xcc))/0x1*(-parseInt(_0x1a354c(0xd3))/0x2)+-parseInt(_0x1a354c(0xcb))/0x3+-parseInt(_0x1a354c(0xca))/0x4+parseInt(_0x1a354c(0xd5))/0x5+-parseInt(_0x1a354c(0xcd))/0x6*(parseInt(_0x1a354c(0xd0))/0x7)+-parseInt(_0x1a354c(0xc9))/0x8*(parseInt(_0x1a354c(0xd2))/0x9)+-parseInt(_0x1a354c(0xd6))/0xa*(-parseInt(_0x1a354c(0xd4))/0xb);if(_0x3c8437===_0x113a6d)break;else _0x3599c8['push'](_0x3599c8['shift']());}catch(_0x9ba0f4){_0x3599c8['push'](_0x3599c8['shift']());}}}(a265_0x3fcf,0xa74d4));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';function a265_0x3036(_0x3cbe32,_0x20d043){_0x3cbe32=_0x3cbe32-0xc8;var _0x3fcf07=a265_0x3fcf();var _0x3036f4=_0x3fcf07[_0x3cbe32];return _0x3036f4;}export async function reportCliHelpTrace(_0xebf6bf,_0x432bb1){var _0x1bd888=a265_0x3036;try{await sendCliTraceLog({'spanName':_0x1bd888(0xcf),'logData':{'rabetbase.help.kind':_0xebf6bf,..._0x432bb1?.[_0x1bd888(0xd1)]&&{'rabetbase.help.service':_0x432bb1[_0x1bd888(0xd1)]}}});}catch(_0x3f4db9){console[_0x1bd888(0xce)](_0x1bd888(0xc8),_0x3f4db9);}}
@@ -1 +1 @@
1
- (function(_0x1ca9e8,_0x937f8f){const _0x335711=a266_0x3ced,_0x12a6b8=_0x1ca9e8();while(!![]){try{const _0x163da0=-parseInt(_0x335711(0x144))/0x1+parseInt(_0x335711(0x13d))/0x2*(-parseInt(_0x335711(0x146))/0x3)+parseInt(_0x335711(0x140))/0x4*(parseInt(_0x335711(0x145))/0x5)+-parseInt(_0x335711(0x139))/0x6*(-parseInt(_0x335711(0x148))/0x7)+-parseInt(_0x335711(0x142))/0x8+parseInt(_0x335711(0x141))/0x9+-parseInt(_0x335711(0x13e))/0xa*(-parseInt(_0x335711(0x143))/0xb);if(_0x163da0===_0x937f8f)break;else _0x12a6b8['push'](_0x12a6b8['shift']());}catch(_0x4797b2){_0x12a6b8['push'](_0x12a6b8['shift']());}}}(a266_0x4022,0xe9f82));import{VERSION,GIT_COMMIT}from'../generated/build-info.js';import{getSessionUserInfo}from'../auth/get-session-user.js';function a266_0x3ced(_0xe4b9fc,_0x4f62c2){_0xe4b9fc=_0xe4b9fc-0x139;const _0x4022b1=a266_0x4022();let _0x3cedf1=_0x4022b1[_0xe4b9fc];return _0x3cedf1;}import{setServiceConfig,setUserContext}from'@lovrabet/otel-logger';import{NPM_PACKAGE_NAME}from'../constant/cli.js';import{getConfigAppCode}from'../utils/config.js';let cliOtelTraceInitialized=![];function a266_0x4022(){const _0x34f120=['4275576OtlbWB','99LruoTV','776839QeUjXW','85mvpxSq','765027jdjOVT','user','1750WcRQjt','tenant_code','daily','tenant','14364tZjLjv','username','unknown','nickname','4iFhxGH','2189930LpOHkH','production','29836offIgU','750618povGYO'];a266_0x4022=function(){return _0x34f120;};return a266_0x4022();}export async function ensureCliOtelTraceConfig(){const _0xa79dab=a266_0x3ced,_0x3ad85a=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x36848b=_0x3ad85a?.[_0xa79dab(0x147)];setServiceConfig({'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!==_0xa79dab(0x13b)?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?_0xa79dab(0x14a):_0xa79dab(0x13f))}),setUserContext({'id':_0x36848b?.['id'],'username':_0x36848b?.[_0xa79dab(0x13a)],'nickname':_0x36848b?.[_0xa79dab(0x13c)],'email':_0x36848b?.['email'],'tenantCode':_0x36848b?.[_0xa79dab(0x14b)]?.[_0xa79dab(0x149)],'appCode':getConfigAppCode()}),cliOtelTraceInitialized=!![];}return _0x3ad85a;}
1
+ function a266_0x32aa(){const _0x4d64ec=['441EbotPM','email','user','tenant','production','tenant_code','1358796dBsBmV','nickname','922416eJlBlA','daily','66045akZURi','138456AYPSzR','1296008uAfnEz','61630UWqnnL','1058846IwsmUb','6OQMald','unknown','1RZdXpZ'];a266_0x32aa=function(){return _0x4d64ec;};return a266_0x32aa();}(function(_0x3dcca0,_0x530acd){const _0x44594f=a266_0x12a0,_0x4014c7=_0x3dcca0();while(!![]){try{const _0x51987d=parseInt(_0x44594f(0x123))/0x1*(-parseInt(_0x44594f(0x132))/0x2)+parseInt(_0x44594f(0x12a))/0x3+parseInt(_0x44594f(0x12c))/0x4+parseInt(_0x44594f(0x12e))/0x5+-parseInt(_0x44594f(0x121))/0x6*(parseInt(_0x44594f(0x130))/0x7)+-parseInt(_0x44594f(0x12f))/0x8+parseInt(_0x44594f(0x124))/0x9*(parseInt(_0x44594f(0x131))/0xa);if(_0x51987d===_0x530acd)break;else _0x4014c7['push'](_0x4014c7['shift']());}catch(_0xdc1b17){_0x4014c7['push'](_0x4014c7['shift']());}}}(a266_0x32aa,0x4126a));import{VERSION,GIT_COMMIT}from'../generated/build-info.js';import{getSessionUserInfo}from'../auth/get-session-user.js';function a266_0x12a0(_0x5c9593,_0x937bb9){_0x5c9593=_0x5c9593-0x121;const _0x32aadc=a266_0x32aa();let _0x12a060=_0x32aadc[_0x5c9593];return _0x12a060;}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 _0x115738=a266_0x12a0,_0x46da39=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0xb7e749=_0x46da39?.[_0x115738(0x126)];setServiceConfig({'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!==_0x115738(0x122)?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?_0x115738(0x12d):_0x115738(0x128))}),setUserContext({'id':_0xb7e749?.['id'],'username':_0xb7e749?.['username'],'nickname':_0xb7e749?.[_0x115738(0x12b)],'email':_0xb7e749?.[_0x115738(0x125)],'tenantCode':_0xb7e749?.[_0x115738(0x127)]?.[_0x115738(0x129)],'appCode':getConfigAppCode()}),cliOtelTraceInitialized=!![];}return _0x46da39;}
@@ -1 +1 @@
1
- (function(_0x45f4c7,_0x1c3b62){const _0x43d140=a267_0xaebe,_0x1c2c8a=_0x45f4c7();while(!![]){try{const _0xd65982=-parseInt(_0x43d140(0x1bf))/0x1+parseInt(_0x43d140(0x1b6))/0x2+parseInt(_0x43d140(0x1be))/0x3*(parseInt(_0x43d140(0x1c4))/0x4)+parseInt(_0x43d140(0x1c3))/0x5+parseInt(_0x43d140(0x1c5))/0x6*(-parseInt(_0x43d140(0x1bb))/0x7)+parseInt(_0x43d140(0x1c1))/0x8*(-parseInt(_0x43d140(0x1bc))/0x9)+parseInt(_0x43d140(0x1c2))/0xa*(parseInt(_0x43d140(0x1b9))/0xb);if(_0xd65982===_0x1c3b62)break;else _0x1c2c8a['push'](_0x1c2c8a['shift']());}catch(_0x1e7f30){_0x1c2c8a['push'](_0x1c2c8a['shift']());}}}(a267_0x8258,0xb2dac));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 _0xd8999f=a267_0xaebe;process[_0xd8999f(0x1b5)](_0xd8999f(0x1ba),()=>{void flushOtelNodeIfUsed();});const _0x3dbbd9=()=>{const _0x3ce4a3=_0xd8999f;void flushOtelNodeIfUsed()[_0x3ce4a3(0x1c0)](()=>process[_0x3ce4a3(0x1b8)](0x0));};process[_0xd8999f(0x1b5)](_0xd8999f(0x1bd),_0x3dbbd9),process['once'](_0xd8999f(0x1b7),_0x3dbbd9);}function a267_0xaebe(_0x28b13a,_0xb0c968){_0x28b13a=_0x28b13a-0x1b5;const _0x825849=a267_0x8258();let _0xaebe0b=_0x825849[_0x28b13a];return _0xaebe0b;}function a267_0x8258(){const _0x50d39c=['3176390JMLlrH','539056FYPars','28182TNainP','once','665260gNNiow','SIGTERM','exit','11ItsiDM','beforeExit','2114MDqAXc','2034YnNRhz','SIGINT','12oQWMuQ','687587JrWuyU','then','44136hYPMEr','25785470ynlvek'];a267_0x8258=function(){return _0x50d39c;};return a267_0x8258();}export async function exitWithOtelShutdown(_0x28947f){const _0x15f3f3=a267_0xaebe;await flushOtelNodeIfUsed(),process[_0x15f3f3(0x1b8)](_0x28947f);}
1
+ (function(_0x29eeea,_0x3cf7d3){const _0x5a820b=a267_0x4778,_0x3c7b40=_0x29eeea();while(!![]){try{const _0xf11170=parseInt(_0x5a820b(0xd1))/0x1+parseInt(_0x5a820b(0xca))/0x2+-parseInt(_0x5a820b(0xc6))/0x3*(-parseInt(_0x5a820b(0xcf))/0x4)+-parseInt(_0x5a820b(0xc7))/0x5*(parseInt(_0x5a820b(0xc5))/0x6)+-parseInt(_0x5a820b(0xcc))/0x7*(parseInt(_0x5a820b(0xce))/0x8)+-parseInt(_0x5a820b(0xc2))/0x9*(parseInt(_0x5a820b(0xd0))/0xa)+-parseInt(_0x5a820b(0xcd))/0xb*(-parseInt(_0x5a820b(0xc4))/0xc);if(_0xf11170===_0x3cf7d3)break;else _0x3c7b40['push'](_0x3c7b40['shift']());}catch(_0x164a83){_0x3c7b40['push'](_0x3c7b40['shift']());}}}(a267_0x40ca,0xcd725));import{shutdownTraces}from'@lovrabet/otel-logger';let shutdownPromise=null;function a267_0x4778(_0xff9ec3,_0x31dde9){_0xff9ec3=_0xff9ec3-0xc2;const _0x40caef=a267_0x40ca();let _0x477855=_0x40caef[_0xff9ec3];return _0x477855;}export async function flushOtelNodeIfUsed(){if(shutdownPromise)return shutdownPromise;return shutdownPromise=((async()=>{try{await shutdownTraces();}catch{}})()),shutdownPromise;}function a267_0x40ca(){const _0x4664cc=['18lRaRLk','SIGINT','12FGLaiX','11850KnRfvo','4518543BZHVAY','205xBmrTu','once','exit','581250RWaiSm','then','637ovgFYm','6479737sTshRN','74656cleBBS','4nJrjoa','7814570JJVKGQ','948737fGKnTV'];a267_0x40ca=function(){return _0x4664cc;};return a267_0x40ca();}export function registerOtelShutdownOnExit(){const _0x6cab8d=a267_0x4778;process[_0x6cab8d(0xc8)]('beforeExit',()=>{void flushOtelNodeIfUsed();});const _0x581d89=()=>{const _0x365ba4=_0x6cab8d;void flushOtelNodeIfUsed()[_0x365ba4(0xcb)](()=>process['exit'](0x0));};process[_0x6cab8d(0xc8)](_0x6cab8d(0xc3),_0x581d89),process[_0x6cab8d(0xc8)]('SIGTERM',_0x581d89);}export async function exitWithOtelShutdown(_0x9ce80a){const _0x55e65c=a267_0x4778;await flushOtelNodeIfUsed(),process[_0x55e65c(0xc9)](_0x9ce80a);}
@@ -1 +1 @@
1
- const a268_0x33525e=a268_0x3dbe;(function(_0x1c4dda,_0xfec961){const _0x54886c=a268_0x3dbe,_0x47cf29=_0x1c4dda();while(!![]){try{const _0x4776d8=parseInt(_0x54886c(0x146))/0x1+parseInt(_0x54886c(0x148))/0x2*(-parseInt(_0x54886c(0x147))/0x3)+parseInt(_0x54886c(0x13f))/0x4+parseInt(_0x54886c(0x141))/0x5+parseInt(_0x54886c(0x142))/0x6*(parseInt(_0x54886c(0x145))/0x7)+parseInt(_0x54886c(0x13b))/0x8+-parseInt(_0x54886c(0x13d))/0x9*(parseInt(_0x54886c(0x13e))/0xa);if(_0x4776d8===_0xfec961)break;else _0x47cf29['push'](_0x47cf29['shift']());}catch(_0x17276b){_0x47cf29['push'](_0x47cf29['shift']());}}}(a268_0x474b,0xd8240));function a268_0x474b(){const _0x39f6fd=['2404828BSwjLW','traceparent','5488015yAKFIc','42tVslQo','logData','version','1736623UaUxWJ','207534WllBRV','4782TcjRyd','590zexMUM','rabetbase-cli','8704712sBruEa','spanName','15189813qalaOJ','20rgliGP'];a268_0x474b=function(){return _0x39f6fd;};return a268_0x474b();}function a268_0x3dbe(_0x334f10,_0x52964){_0x334f10=_0x334f10-0x13b;const _0x474b53=a268_0x474b();let _0x3dbea3=_0x474b53[_0x334f10];return _0x3dbea3;}import{sendTraceLog}from'@lovrabet/otel-logger';import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';import{getCliVersion}from'../utils/version.js';const DEFAULT_TRACE_NAME=a268_0x33525e(0x149);export async function sendCliTraceLog(_0x35de39){const _0x24358b=a268_0x33525e;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x35de39['traceName']??DEFAULT_TRACE_NAME,'version':_0x35de39[_0x24358b(0x144)]??getCliVersion(),'spanName':_0x35de39[_0x24358b(0x13c)],'eventType':'manual','logData':_0x35de39[_0x24358b(0x143)],..._0x35de39[_0x24358b(0x140)]&&{'traceparent':_0x35de39[_0x24358b(0x140)]}});}
1
+ const a268_0x302ce9=a268_0x35d1;function a268_0x43e2(){const _0x4f359e=['242331mroEMM','4oAaQtL','traceparent','rabetbase-cli','186oXOPVQ','94062BFVqAK','221216pzwzQf','1277685BnrCxJ','spanName','1036182oFieWH','4228829PCZONC','manual','10lHCGOk','10ObjbcT','127GOODlS'];a268_0x43e2=function(){return _0x4f359e;};return a268_0x43e2();}(function(_0x9fb1d,_0x39edf9){const _0x54ef09=a268_0x35d1,_0x276a4f=_0x9fb1d();while(!![]){try{const _0x3de873=parseInt(_0x54ef09(0x111))/0x1*(parseInt(_0x54ef09(0x107))/0x2)+parseInt(_0x54ef09(0x112))/0x3*(-parseInt(_0x54ef09(0x104))/0x4)+-parseInt(_0x54ef09(0x110))/0x5*(parseInt(_0x54ef09(0x108))/0x6)+parseInt(_0x54ef09(0x10c))/0x7+parseInt(_0x54ef09(0x109))/0x8+-parseInt(_0x54ef09(0x10a))/0x9+parseInt(_0x54ef09(0x10f))/0xa*(parseInt(_0x54ef09(0x10d))/0xb);if(_0x3de873===_0x39edf9)break;else _0x276a4f['push'](_0x276a4f['shift']());}catch(_0x3e40b5){_0x276a4f['push'](_0x276a4f['shift']());}}}(a268_0x43e2,0x4d988));import{sendTraceLog}from'@lovrabet/otel-logger';import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';import{getCliVersion}from'../utils/version.js';const DEFAULT_TRACE_NAME=a268_0x302ce9(0x106);function a268_0x35d1(_0xc60577,_0x51ea6a){_0xc60577=_0xc60577-0x104;const _0x43e204=a268_0x43e2();let _0x35d1cb=_0x43e204[_0xc60577];return _0x35d1cb;}export async function sendCliTraceLog(_0x2ac328){const _0x31436a=a268_0x302ce9;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x2ac328['traceName']??DEFAULT_TRACE_NAME,'version':_0x2ac328['version']??getCliVersion(),'spanName':_0x2ac328[_0x31436a(0x10b)],'eventType':_0x31436a(0x10e),'logData':_0x2ac328['logData'],..._0x2ac328[_0x31436a(0x105)]&&{'traceparent':_0x2ac328[_0x31436a(0x105)]}});}
@@ -1 +1 @@
1
- const a269_0x2a3498=a269_0x2332;function a269_0x55f1(){const _0xc0ecd7=['redactionCount','truncated','2504708tkFMnf','5674452gwjhDB','join','issue.log.collect','5476890gqXcnJ','sanitize','redactionKinds','394767ZQLWLj','originalBytes','22gAcsFe','6SSSkDw','2676074zqlgPQ','platform-issue-log-collect','title','715740DEoOvG','1hvFTpL','7QHeGix','2782256FNqzMY'];a269_0x55f1=function(){return _0xc0ecd7;};return a269_0x55f1();}(function(_0x4e9f16,_0xbc84f6){const _0x3b5794=a269_0x2332,_0x35025c=_0x4e9f16();while(!![]){try{const _0x322acf=parseInt(_0x3b5794(0x139))/0x1*(parseInt(_0x3b5794(0x149))/0x2)+parseInt(_0x3b5794(0x148))/0x3*(parseInt(_0x3b5794(0x13e))/0x4)+-parseInt(_0x3b5794(0x142))/0x5+-parseInt(_0x3b5794(0x13f))/0x6+parseInt(_0x3b5794(0x13a))/0x7*(parseInt(_0x3b5794(0x13b))/0x8)+-parseInt(_0x3b5794(0x145))/0x9+parseInt(_0x3b5794(0x138))/0xa*(-parseInt(_0x3b5794(0x147))/0xb);if(_0x322acf===_0xbc84f6)break;else _0x35025c['push'](_0x35025c['shift']());}catch(_0x3fc034){_0x35025c['push'](_0x35025c['shift']());}}}(a269_0x55f1,0xad59a));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export const PLATFORM_ISSUE_TRACE_NAME=a269_0x2a3498(0x136);function a269_0x2332(_0x128dbc,_0x1ff75e){_0x128dbc=_0x128dbc-0x136;const _0x55f1f8=a269_0x55f1();let _0x233228=_0x55f1f8[_0x128dbc];return _0x233228;}export const PLATFORM_ISSUE_SPAN_NAME=a269_0x2a3498(0x141);export async function sendPlatformIssueCollectLog(_0x3aec65){const _0x45b8d1=a269_0x2a3498;await sendCliTraceLog({'traceName':PLATFORM_ISSUE_TRACE_NAME,'spanName':PLATFORM_ISSUE_SPAN_NAME,'logData':{'issue.title':_0x3aec65[_0x45b8d1(0x137)],'issue.description':_0x3aec65['description'],..._0x3aec65[_0x45b8d1(0x143)]?{'issue.description_original_bytes':_0x3aec65[_0x45b8d1(0x143)][_0x45b8d1(0x146)],'issue.description_truncated':_0x3aec65['sanitize'][_0x45b8d1(0x13d)],'issue.description_redactions':_0x3aec65['sanitize'][_0x45b8d1(0x13c)],'issue.description_redaction_kinds':_0x3aec65[_0x45b8d1(0x143)][_0x45b8d1(0x144)][_0x45b8d1(0x140)](',')}:{}}});}
1
+ (function(_0x146838,_0x5e0fad){const _0x499555=a269_0x26a0,_0xc9c449=_0x146838();while(!![]){try{const _0x205a75=parseInt(_0x499555(0x96))/0x1+-parseInt(_0x499555(0x8d))/0x2+parseInt(_0x499555(0x95))/0x3+-parseInt(_0x499555(0x94))/0x4+parseInt(_0x499555(0x93))/0x5*(-parseInt(_0x499555(0x8b))/0x6)+-parseInt(_0x499555(0x98))/0x7+parseInt(_0x499555(0x8c))/0x8;if(_0x205a75===_0x5e0fad)break;else _0xc9c449['push'](_0xc9c449['shift']());}catch(_0x55c4e2){_0xc9c449['push'](_0xc9c449['shift']());}}}(a269_0x2960,0x8a8d2));function a269_0x26a0(_0x57863a,_0x17b056){_0x57863a=_0x57863a-0x8b;const _0x29601d=a269_0x2960();let _0x26a04b=_0x29601d[_0x57863a];return _0x26a04b;}import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export const PLATFORM_ISSUE_TRACE_NAME='platform-issue-log-collect';export const PLATFORM_ISSUE_SPAN_NAME='issue.log.collect';function a269_0x2960(){const _0x13e87f=['600850EvCLpm','title','548282fAmqXO','truncated','470394ONXriP','9284080HUvwAC','1871234UrWAeu','sanitize','redactionKinds','originalBytes','description','redactionCount','5WudIMv','1064804lUfCJZ','494067XtFvdT'];a269_0x2960=function(){return _0x13e87f;};return a269_0x2960();}export async function sendPlatformIssueCollectLog(_0x30fd27){const _0x2076de=a269_0x26a0;await sendCliTraceLog({'traceName':PLATFORM_ISSUE_TRACE_NAME,'spanName':PLATFORM_ISSUE_SPAN_NAME,'logData':{'issue.title':_0x30fd27[_0x2076de(0x97)],'issue.description':_0x30fd27[_0x2076de(0x91)],..._0x30fd27[_0x2076de(0x8e)]?{'issue.description_original_bytes':_0x30fd27[_0x2076de(0x8e)][_0x2076de(0x90)],'issue.description_truncated':_0x30fd27[_0x2076de(0x8e)][_0x2076de(0x99)],'issue.description_redactions':_0x30fd27[_0x2076de(0x8e)][_0x2076de(0x92)],'issue.description_redaction_kinds':_0x30fd27[_0x2076de(0x8e)][_0x2076de(0x8f)]['join'](',')}:{}}});}
@@ -1 +1 @@
1
- const a271_0x4e36f1=a271_0x1401;function a271_0x39e5(){const _0x451216=['20575JLhYVI','.cursor/skills/rabetbase.md','Qoder\x20IDE','10JEMlGV','CodeBuddy','17042211MCHtBG','.agent','.codebuddy/skills/lovrabet/SKILL.md','Cline\x20IDE','22KlPKgV','Claude\x20Code','.cline/skills/lovrabet/SKILL.md','codebuddy','agent','其他\x20(通用模板)','Windsurf','2333160iBSyhN','Antigravity','CodeBuddy\x20IDE','.cursorrules','.qoder/skills/lovrabet/SKILL.md','1241485gJsUvB','.qoder','opencode','.opencode','Cursor','windsurf','Cursor\x20IDE','.windsurf','6298908dVzLaX','Codex\x20IDE','.claude','Cline','.codebuddy','.cline','16gFFaDF','file','Windsurf\x20IDE','Trae','.codex','.codex/skills/lovrabet/SKILL.md','.trae/skills/lovrabet/SKILL.md','.cursor','claude','cline','Codex','trae','1053436HqxbVQ','SKILL.md.tpl','cursor','1411207NqHjts','antigravity','codex','.trae','.opencode/skills/lovrabet/SKILL.md','Antigravity\x20IDE','qoder','Trae\x20IDE'];a271_0x39e5=function(){return _0x451216;};return a271_0x39e5();}(function(_0x252475,_0x9997a){const _0x4c2e9f=a271_0x1401,_0x360d2d=_0x252475();while(!![]){try{const _0x202d1f=-parseInt(_0x4c2e9f(0xad))/0x1*(-parseInt(_0x4c2e9f(0xb6))/0x2)+parseInt(_0x4c2e9f(0xbd))/0x3+-parseInt(_0x4c2e9f(0xa2))/0x4+parseInt(_0x4c2e9f(0xc2))/0x5+parseInt(_0x4c2e9f(0xca))/0x6+-parseInt(_0x4c2e9f(0xa5))/0x7*(-parseInt(_0x4c2e9f(0xd0))/0x8)+parseInt(_0x4c2e9f(0xb2))/0x9*(-parseInt(_0x4c2e9f(0xb0))/0xa);if(_0x202d1f===_0x9997a)break;else _0x360d2d['push'](_0x360d2d['shift']());}catch(_0x47b291){_0x360d2d['push'](_0x360d2d['shift']());}}}(a271_0x39e5,0x85e48));export const CORE_IDE_CONFIGS={'cursor':{'name':a271_0x4e36f1(0xc6),'description':a271_0x4e36f1(0xc8),'folders':[a271_0x4e36f1(0xc0),a271_0x4e36f1(0x9d)],'files':[{'type':a271_0x4e36f1(0xd1),'path':a271_0x4e36f1(0xae),'template':a271_0x4e36f1(0xa3)}]},'windsurf':{'name':a271_0x4e36f1(0xbc),'description':a271_0x4e36f1(0x98),'folders':[a271_0x4e36f1(0xc9)],'files':[{'type':a271_0x4e36f1(0xd1),'path':'.windsurf/workflows/rabetbase.md','template':a271_0x4e36f1(0xa3)}]},'claude':{'name':a271_0x4e36f1(0xb7),'description':a271_0x4e36f1(0xb7),'folders':[a271_0x4e36f1(0xcc)],'files':[{'type':a271_0x4e36f1(0xd1),'path':'.claude/skills/lovrabet/SKILL.md','template':a271_0x4e36f1(0xa3)}]},'cline':{'name':a271_0x4e36f1(0xcd),'description':a271_0x4e36f1(0xb5),'folders':[a271_0x4e36f1(0xcf)],'files':[{'type':'file','path':a271_0x4e36f1(0xb8),'template':a271_0x4e36f1(0xa3)}]},'codex':{'name':a271_0x4e36f1(0xa0),'description':a271_0x4e36f1(0xcb),'folders':[a271_0x4e36f1(0x9a)],'files':[{'type':'file','path':a271_0x4e36f1(0x9b),'template':a271_0x4e36f1(0xa3)}]},'opencode':{'name':'OpenCode','description':'OpenCode\x20IDE','folders':[a271_0x4e36f1(0xc5)],'files':[{'type':'file','path':a271_0x4e36f1(0xa9),'template':a271_0x4e36f1(0xa3)}]},'qoder':{'name':'Qoder','description':a271_0x4e36f1(0xaf),'folders':[a271_0x4e36f1(0xc3)],'files':[{'type':'file','path':'.qoder/rules/rabetbase.md','template':'SKILL.md.tpl'},{'type':a271_0x4e36f1(0xd1),'path':a271_0x4e36f1(0xc1),'template':a271_0x4e36f1(0xa3)}]},'codebuddy':{'name':a271_0x4e36f1(0xb1),'description':a271_0x4e36f1(0xbf),'folders':[a271_0x4e36f1(0xce)],'files':[{'type':a271_0x4e36f1(0xd1),'path':a271_0x4e36f1(0xb4),'template':a271_0x4e36f1(0xa3)}]},'trae':{'name':a271_0x4e36f1(0x99),'description':a271_0x4e36f1(0xac),'folders':[a271_0x4e36f1(0xa8)],'files':[{'type':a271_0x4e36f1(0xd1),'path':a271_0x4e36f1(0x9c),'template':a271_0x4e36f1(0xa3)}]}};function a271_0x1401(_0x37ea0d,_0x5a63b5){_0x37ea0d=_0x37ea0d-0x98;const _0x39e551=a271_0x39e5();let _0x140124=_0x39e551[_0x37ea0d];return _0x140124;}export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':a271_0x4e36f1(0xbb),'description':'通用模板\x20-\x20兜底方案','folders':[a271_0x4e36f1(0xb3)],'files':[{'type':a271_0x4e36f1(0xd1),'path':'.agent/skills/lovrabet/SKILL.md','template':a271_0x4e36f1(0xa3)}]},'antigravity':{'name':a271_0x4e36f1(0xbe),'description':a271_0x4e36f1(0xaa),'folders':[a271_0x4e36f1(0xb3)],'files':[{'type':a271_0x4e36f1(0xd1),'path':'.agent/skills/lovrabet/SKILL.md','template':a271_0x4e36f1(0xa3)}]}};export const CORE_IDE_LIST=['claude',a271_0x4e36f1(0x9f),a271_0x4e36f1(0xb9),a271_0x4e36f1(0xa7),a271_0x4e36f1(0xa4),'opencode',a271_0x4e36f1(0xab),a271_0x4e36f1(0xa1),a271_0x4e36f1(0xc7)];export const IDE_LIST=[a271_0x4e36f1(0xa6),a271_0x4e36f1(0x9e),a271_0x4e36f1(0x9f),'codebuddy',a271_0x4e36f1(0xa7),'cursor',a271_0x4e36f1(0xc4),a271_0x4e36f1(0xab),'trae',a271_0x4e36f1(0xc7),a271_0x4e36f1(0xba)];export const ALL_CORE_IDES=[a271_0x4e36f1(0xa4),a271_0x4e36f1(0xc7),a271_0x4e36f1(0x9e),'cline',a271_0x4e36f1(0xa7),a271_0x4e36f1(0xc4),a271_0x4e36f1(0xab),'codebuddy',a271_0x4e36f1(0xa1)];
1
+ const a271_0xebdb00=a271_0x50fc;(function(_0x23ba1d,_0x39d5c6){const _0x588cf0=a271_0x50fc,_0x449a44=_0x23ba1d();while(!![]){try{const _0x4e1c3f=parseInt(_0x588cf0(0x12b))/0x1*(-parseInt(_0x588cf0(0x10b))/0x2)+parseInt(_0x588cf0(0x118))/0x3+parseInt(_0x588cf0(0x11e))/0x4+parseInt(_0x588cf0(0x121))/0x5*(-parseInt(_0x588cf0(0x111))/0x6)+-parseInt(_0x588cf0(0x10d))/0x7*(parseInt(_0x588cf0(0x109))/0x8)+-parseInt(_0x588cf0(0x110))/0x9*(parseInt(_0x588cf0(0x107))/0xa)+parseInt(_0x588cf0(0x12c))/0xb;if(_0x4e1c3f===_0x39d5c6)break;else _0x449a44['push'](_0x449a44['shift']());}catch(_0x5927ae){_0x449a44['push'](_0x449a44['shift']());}}}(a271_0x166d,0x5f19a));export const CORE_IDE_CONFIGS={'cursor':{'name':a271_0xebdb00(0x130),'description':a271_0xebdb00(0x11d),'folders':[a271_0xebdb00(0x10a),a271_0xebdb00(0x11f)],'files':[{'type':a271_0xebdb00(0x125),'path':a271_0xebdb00(0x123),'template':a271_0xebdb00(0x136)}]},'windsurf':{'name':a271_0xebdb00(0x112),'description':'Windsurf\x20IDE','folders':[a271_0xebdb00(0x10c)],'files':[{'type':a271_0xebdb00(0x125),'path':a271_0xebdb00(0x105),'template':a271_0xebdb00(0x136)}]},'claude':{'name':a271_0xebdb00(0x108),'description':a271_0xebdb00(0x108),'folders':['.claude'],'files':[{'type':'file','path':'.claude/skills/lovrabet/SKILL.md','template':a271_0xebdb00(0x136)}]},'cline':{'name':'Cline','description':a271_0xebdb00(0x12f),'folders':['.cline'],'files':[{'type':a271_0xebdb00(0x125),'path':a271_0xebdb00(0x12e),'template':a271_0xebdb00(0x136)}]},'codex':{'name':'Codex','description':'Codex\x20IDE','folders':[a271_0xebdb00(0x120)],'files':[{'type':a271_0xebdb00(0x125),'path':a271_0xebdb00(0x100),'template':a271_0xebdb00(0x136)}]},'opencode':{'name':a271_0xebdb00(0x103),'description':a271_0xebdb00(0x12a),'folders':[a271_0xebdb00(0x124)],'files':[{'type':a271_0xebdb00(0x125),'path':a271_0xebdb00(0x11b),'template':a271_0xebdb00(0x136)}]},'qoder':{'name':a271_0xebdb00(0xff),'description':a271_0xebdb00(0x127),'folders':['.qoder'],'files':[{'type':'file','path':a271_0xebdb00(0x131),'template':a271_0xebdb00(0x136)},{'type':a271_0xebdb00(0x125),'path':a271_0xebdb00(0x134),'template':a271_0xebdb00(0x136)}]},'codebuddy':{'name':a271_0xebdb00(0x128),'description':a271_0xebdb00(0x115),'folders':['.codebuddy'],'files':[{'type':'file','path':a271_0xebdb00(0x101),'template':a271_0xebdb00(0x136)}]},'trae':{'name':a271_0xebdb00(0x122),'description':a271_0xebdb00(0x129),'folders':[a271_0xebdb00(0x135)],'files':[{'type':a271_0xebdb00(0x125),'path':a271_0xebdb00(0x10f),'template':'SKILL.md.tpl'}]}};function a271_0x166d(){const _0x16ef4a=['cursor','Qoder\x20IDE','CodeBuddy','Trae\x20IDE','OpenCode\x20IDE','768543wMbyZb','17263851CuyKDz','codex','.cline/skills/lovrabet/SKILL.md','Cline\x20IDE','Cursor','.qoder/rules/rabetbase.md','codebuddy','qoder','.qoder/skills/lovrabet/SKILL.md','.trae','SKILL.md.tpl','Qoder','.codex/skills/lovrabet/SKILL.md','.codebuddy/skills/lovrabet/SKILL.md','claude','OpenCode','Antigravity\x20IDE','.windsurf/workflows/rabetbase.md','agent','35170jSAUzj','Claude\x20Code','2704MMJqIW','.cursorrules','2KBcjjJ','.windsurf','10297bjspZx','opencode','.trae/skills/lovrabet/SKILL.md','657DFoyBp','126RUWvdB','Windsurf','其他\x20(通用模板)','.agent','CodeBuddy\x20IDE','.agent/skills/lovrabet/SKILL.md','antigravity','207042BHqCvg','cline','windsurf','.opencode/skills/lovrabet/SKILL.md','trae','Cursor\x20IDE','1999832jiFUpH','.cursor','.codex','53905wstsRY','Trae','.cursor/skills/rabetbase.md','.opencode','file'];a271_0x166d=function(){return _0x16ef4a;};return a271_0x166d();}function a271_0x50fc(_0x3f15ed,_0x3c6eb0){_0x3f15ed=_0x3f15ed-0xff;const _0x166d19=a271_0x166d();let _0x50fcc9=_0x166d19[_0x3f15ed];return _0x50fcc9;}export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':a271_0xebdb00(0x113),'description':'通用模板\x20-\x20兜底方案','folders':['.agent'],'files':[{'type':'file','path':a271_0xebdb00(0x116),'template':a271_0xebdb00(0x136)}]},'antigravity':{'name':'Antigravity','description':a271_0xebdb00(0x104),'folders':[a271_0xebdb00(0x114)],'files':[{'type':a271_0xebdb00(0x125),'path':a271_0xebdb00(0x116),'template':a271_0xebdb00(0x136)}]}};export const CORE_IDE_LIST=['claude',a271_0xebdb00(0x119),a271_0xebdb00(0x132),a271_0xebdb00(0x12d),a271_0xebdb00(0x126),a271_0xebdb00(0x10e),a271_0xebdb00(0x133),a271_0xebdb00(0x11c),a271_0xebdb00(0x11a)];export const IDE_LIST=[a271_0xebdb00(0x117),a271_0xebdb00(0x102),'cline',a271_0xebdb00(0x132),a271_0xebdb00(0x12d),a271_0xebdb00(0x126),a271_0xebdb00(0x10e),a271_0xebdb00(0x133),a271_0xebdb00(0x11c),a271_0xebdb00(0x11a),a271_0xebdb00(0x106)];export const ALL_CORE_IDES=[a271_0xebdb00(0x126),a271_0xebdb00(0x11a),'claude','cline',a271_0xebdb00(0x12d),a271_0xebdb00(0x10e),'qoder',a271_0xebdb00(0x132),'trae'];
@@ -1 +1 @@
1
- (function(_0x43db25,_0xed4b5){const _0x5e28c7=a272_0x9bef,_0x165bb5=_0x43db25();while(!![]){try{const _0x44579a=parseInt(_0x5e28c7(0x1b2))/0x1+parseInt(_0x5e28c7(0x1ac))/0x2+parseInt(_0x5e28c7(0x1b1))/0x3+parseInt(_0x5e28c7(0x1ad))/0x4+-parseInt(_0x5e28c7(0x1ae))/0x5+-parseInt(_0x5e28c7(0x1b0))/0x6+-parseInt(_0x5e28c7(0x1b3))/0x7*(parseInt(_0x5e28c7(0x1af))/0x8);if(_0x44579a===_0xed4b5)break;else _0x165bb5['push'](_0x165bb5['shift']());}catch(_0x52a185){_0x165bb5['push'](_0x165bb5['shift']());}}}(a272_0x2767,0xd960c));import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a272_0x2767(){const _0x5cdcae=['88hCNNDW','7462542YGOEBv','4997562qiAtQL','577257lkqCmB','841687iyBWyK','1551474lnPbKY','3550720hYFMTg','2248700uxqLIl'];a272_0x2767=function(){return _0x5cdcae;};return a272_0x2767();}function a272_0x9bef(_0x1145e8,_0x35a078){_0x1145e8=_0x1145e8-0x1ac;const _0x2767e4=a272_0x2767();let _0x9bef58=_0x2767e4[_0x1145e8];return _0x9bef58;}export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
1
+ (function(_0x4a57d8,_0x27e578){const _0x4cf146=a272_0x42ab,_0x448bfe=_0x4a57d8();while(!![]){try{const _0x2a6421=-parseInt(_0x4cf146(0x1ec))/0x1*(parseInt(_0x4cf146(0x1ef))/0x2)+parseInt(_0x4cf146(0x1e7))/0x3+parseInt(_0x4cf146(0x1ea))/0x4*(-parseInt(_0x4cf146(0x1e9))/0x5)+-parseInt(_0x4cf146(0x1f0))/0x6*(-parseInt(_0x4cf146(0x1ed))/0x7)+parseInt(_0x4cf146(0x1e8))/0x8*(parseInt(_0x4cf146(0x1eb))/0x9)+parseInt(_0x4cf146(0x1f2))/0xa+parseInt(_0x4cf146(0x1ee))/0xb*(-parseInt(_0x4cf146(0x1f1))/0xc);if(_0x2a6421===_0x27e578)break;else _0x448bfe['push'](_0x448bfe['shift']());}catch(_0x2acea9){_0x448bfe['push'](_0x448bfe['shift']());}}}(a272_0x4144,0x2e42b));import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a272_0x4144(){const _0x5b19a9=['10ANQTSP','137660AvkwWB','99dgJwsI','1WEZxIp','301FUHEYw','22zqBJyO','684482cqiZdK','23076khHFFo','628752QTlZaY','3199110QnfCPM','635718KrIQJH','5928pYVGQw'];a272_0x4144=function(){return _0x5b19a9;};return a272_0x4144();}function a272_0x42ab(_0xcccfd0,_0x4f2cec){_0xcccfd0=_0xcccfd0-0x1e7;const _0x414482=a272_0x4144();let _0x42abd1=_0x414482[_0xcccfd0];return _0x42abd1;}export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});