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

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 (292) 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.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(_0x59dd40,_0x5e4baa){const _0x5cdb6a=a249_0x2efe,_0x3479c7=_0x59dd40();while(!![]){try{const _0xd91ca4=-parseInt(_0x5cdb6a(0xb2))/0x1*(-parseInt(_0x5cdb6a(0xab))/0x2)+parseInt(_0x5cdb6a(0xb6))/0x3*(-parseInt(_0x5cdb6a(0xb4))/0x4)+parseInt(_0x5cdb6a(0xac))/0x5+-parseInt(_0x5cdb6a(0xad))/0x6*(parseInt(_0x5cdb6a(0xb1))/0x7)+-parseInt(_0x5cdb6a(0xb5))/0x8*(parseInt(_0x5cdb6a(0xae))/0x9)+-parseInt(_0x5cdb6a(0xb3))/0xa+parseInt(_0x5cdb6a(0xaa))/0xb*(parseInt(_0x5cdb6a(0xaf))/0xc);if(_0xd91ca4===_0x5e4baa)break;else _0x3479c7['push'](_0x3479c7['shift']());}catch(_0x1691f9){_0x3479c7['push'](_0x3479c7['shift']());}}}(a249_0x5c8d,0x394d6));import{buildSchemaPayload as a249_0x19d024}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';function a249_0x2efe(_0x5e5b6c,_0x38f769){_0x5e5b6c=_0x5e5b6c-0xaa;const _0x5c8d0f=a249_0x5c8d();let _0x2efe7e=_0x5c8d0f[_0x5e5b6c];return _0x2efe7e;}function a249_0x5c8d(){const _0x48dd5f=['4246UraZtu','130eyxSvB','1076390MVCaLy','76458XlTaVT','9RvEbEW','24708BJhaqZ','../commands/registry.js','217NaNNKX','5097xyxcTt','4316410rcjNxm','436cLRJkT','327488IgYiXj','6579MFCkoX'];a249_0x5c8d=function(){return _0x48dd5f;};return a249_0x5c8d();}import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x1fff8e=a249_0x2efe,{serviceRegistry:_0x1ca5a9,findDefinition:_0x493d73}=await import(_0x1fff8e(0xb0));return a249_0x19d024({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x1ca5a9,'buildAllFlags':buildAllFlags,'findDefinition':_0x493d73});}
@@ -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(_0x37f587,_0x537fb7){var _0xa3c7f8=a250_0x1241,_0x177a76=_0x37f587();while(!![]){try{var _0xaaefa7=parseInt(_0xa3c7f8(0x1bc))/0x1*(parseInt(_0xa3c7f8(0x1b3))/0x2)+parseInt(_0xa3c7f8(0x1b6))/0x3*(parseInt(_0xa3c7f8(0x1bb))/0x4)+-parseInt(_0xa3c7f8(0x1b7))/0x5*(-parseInt(_0xa3c7f8(0x1b8))/0x6)+parseInt(_0xa3c7f8(0x1b4))/0x7+-parseInt(_0xa3c7f8(0x1bd))/0x8+parseInt(_0xa3c7f8(0x1b5))/0x9*(-parseInt(_0xa3c7f8(0x1b9))/0xa)+-parseInt(_0xa3c7f8(0x1b2))/0xb*(-parseInt(_0xa3c7f8(0x1ba))/0xc);if(_0xaaefa7===_0x537fb7)break;else _0x177a76['push'](_0x177a76['shift']());}catch(_0x4c0c75){_0x177a76['push'](_0x177a76['shift']());}}}(a250_0x173c,0xbd5f5));function a250_0x173c(){var _0x1ba0d8=['6mCOObn','129070oSZulw','60IDjuyx','548ZliVMl','23sFwvth','8140128hEwdyJ','2753080HSdzcP','6934OVNUJa','1700818XlnTlu','279rZQzNv','7044LzdemN','1487555MvErCk'];a250_0x173c=function(){return _0x1ba0d8;};return a250_0x173c();}function a250_0x1241(_0x1255dd,_0x28dccc){_0x1255dd=_0x1255dd-0x1b2;var _0x173c15=a250_0x173c();var _0x12415a=_0x173c15[_0x1255dd];return _0x12415a;}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.1";
2
+ export declare const GIT_TAG = "v2.4.1";
3
+ export declare const GIT_COMMIT = "181670e";
4
+ export declare const BUILD_TIME = "2026-08-11T12:14:13.323Z";
@@ -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
+ function a251_0x5c90(_0x50701f,_0x491878){_0x50701f=_0x50701f-0x1de;const _0x532c71=a251_0x532c();let _0x5c90f8=_0x532c71[_0x50701f];return _0x5c90f8;}const a251_0x129024=a251_0x5c90;(function(_0x543f6d,_0x37f57c){const _0x1b0310=a251_0x5c90,_0x471c2f=_0x543f6d();while(!![]){try{const _0x29aa2e=-parseInt(_0x1b0310(0x1e6))/0x1+-parseInt(_0x1b0310(0x1df))/0x2+parseInt(_0x1b0310(0x1e7))/0x3+-parseInt(_0x1b0310(0x1e9))/0x4+-parseInt(_0x1b0310(0x1e4))/0x5*(parseInt(_0x1b0310(0x1e0))/0x6)+parseInt(_0x1b0310(0x1e3))/0x7+parseInt(_0x1b0310(0x1e2))/0x8*(parseInt(_0x1b0310(0x1de))/0x9);if(_0x29aa2e===_0x37f57c)break;else _0x471c2f['push'](_0x471c2f['shift']());}catch(_0x4959c3){_0x471c2f['push'](_0x471c2f['shift']());}}}(a251_0x532c,0xdfdd2));export const VERSION='2.4.1';export const GIT_TAG=a251_0x129024(0x1e1);export const GIT_COMMIT=a251_0x129024(0x1e5);export const BUILD_TIME=a251_0x129024(0x1e8);function a251_0x532c(){const _0x212363=['1474011nTXlXq','1543352HWVTgh','6CkEGYy','v2.4.1','80GTlmGt','2444428EjOhxP','6040430FNxjsX','181670e','85810hywUwb','5145441bPIxik','2026-08-11T12:14:13.323Z','2878492aqiNZk'];a251_0x532c=function(){return _0x212363;};return a251_0x532c();}
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(_0x2c1159,_0x226ece){var _0x5989ae=a252_0xb62c,_0x3f7b20=_0x2c1159();while(!![]){try{var _0x454c25=parseInt(_0x5989ae(0x195))/0x1*(parseInt(_0x5989ae(0x18e))/0x2)+parseInt(_0x5989ae(0x18f))/0x3+parseInt(_0x5989ae(0x199))/0x4+-parseInt(_0x5989ae(0x19a))/0x5*(-parseInt(_0x5989ae(0x193))/0x6)+-parseInt(_0x5989ae(0x192))/0x7+parseInt(_0x5989ae(0x190))/0x8+-parseInt(_0x5989ae(0x18c))/0x9;if(_0x454c25===_0x226ece)break;else _0x3f7b20['push'](_0x3f7b20['shift']());}catch(_0x2b6178){_0x3f7b20['push'](_0x3f7b20['shift']());}}}(a252_0x3be5,0xca70a));function a252_0x3be5(){var _0x674d57=['64675exdGiR','43493364NuDcMi','green','272aALFnf','1953624qUltuy','11676816IaSkoZ','\x20to\x20view\x20available\x20commands.','1184106FJPBCc','474yhuXZI','log','8377ocxcSp','bold','\x20\x20Use\x20','\x20--help','6236004NZVGVb'];a252_0x3be5=function(){return _0x674d57;};return a252_0x3be5();}import a252_0xc6709e from'chalk';function a252_0xb62c(_0x3546be,_0x1a7fae){_0x3546be=_0x3546be-0x18c;var _0x3be58d=a252_0x3be5();var _0xb62c32=_0x3be58d[_0x3546be];return _0xb62c32;}import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0x112583=a252_0xb62c;console['log'](),console[_0x112583(0x194)](a252_0xc6709e[_0x112583(0x18d)][_0x112583(0x196)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x112583(0x194)](),console[_0x112583(0x194)](_0x112583(0x197)+a252_0xc6709e[_0x112583(0x18d)][_0x112583(0x196)](CLI_BIN_NAME+_0x112583(0x198))+_0x112583(0x191)),console[_0x112583(0x194)]();}
@@ -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_0x53e5(_0x362efe,_0x34d217){_0x362efe=_0x362efe-0x10e;const _0x1a8150=a253_0x1a81();let _0x53e5e0=_0x1a8150[_0x362efe];return _0x53e5e0;}(function(_0x29ef5f,_0x326b67){const _0xede01c=a253_0x53e5,_0x3d034e=_0x29ef5f();while(!![]){try{const _0x4e9781=-parseInt(_0xede01c(0x11d))/0x1+-parseInt(_0xede01c(0x11a))/0x2+-parseInt(_0xede01c(0x123))/0x3+-parseInt(_0xede01c(0x115))/0x4+-parseInt(_0xede01c(0x110))/0x5+-parseInt(_0xede01c(0x112))/0x6+-parseInt(_0xede01c(0x11e))/0x7*(-parseInt(_0xede01c(0x124))/0x8);if(_0x4e9781===_0x326b67)break;else _0x3d034e['push'](_0x3d034e['shift']());}catch(_0x11d2e9){_0x3d034e['push'](_0x3d034e['shift']());}}}(a253_0x1a81,0xdaa17));import{installBuiltinSkill}from'./skills/builtin-skill.js';function a253_0x1a81(){const _0x1c00ff=['6295612yEsMZK','Rabetbase\x20Built-in\x20Skill\x20','warn','error','\x20via\x20skills@latest','1213776rTPdxT','[BUILTIN_SKILL_INSTALL_','installedPath','82095iHVcPv','34830299yLzpBX','Repair\x20with:\x20','log','code','Installation\x20failed','1668777pHwKUV','8MSPsZy','FAILED','installed','3506040mwVWUt','already\x20current','3359358XFUGJY','skillVersion','changed'];a253_0x1a81=function(){return _0x1c00ff;};return a253_0x1a81();}export async function runPostinstall(_0x19a553={}){const _0x559672=a253_0x53e5,_0x4745a8=installBuiltinSkill(_0x19a553);if(_0x4745a8['ok']){const _0x3fb74e=_0x4745a8[_0x559672(0x114)]?_0x559672(0x10f):_0x559672(0x111),_0x56d0bc=_0x4745a8[_0x559672(0x11c)]?'\x20at\x20'+_0x4745a8['installedPath']:_0x559672(0x119);return console[_0x559672(0x120)](_0x559672(0x116)+_0x4745a8[_0x559672(0x113)]+'\x20'+_0x3fb74e+_0x56d0bc),_0x4745a8;}const _0xf2e3db=_0x559672(0x11b)+(_0x4745a8[_0x559672(0x121)]??_0x559672(0x10e))+']\x20'+(_0x4745a8[_0x559672(0x118)]??_0x559672(0x122))+'.\x20'+(_0x559672(0x11f)+_0x4745a8['repairCommand']);if(_0x4745a8[_0x559672(0x121)]==='SOURCE_INVALID')throw new Error(_0xf2e3db);return console[_0x559672(0x117)](_0xf2e3db),_0x4745a8;}
@@ -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(_0x33c248,_0x38231c){const _0x5047e3=a254_0x1fc1,_0x5cc298=_0x33c248();while(!![]){try{const _0x5da822=-parseInt(_0x5047e3(0x17d))/0x1*(-parseInt(_0x5047e3(0x181))/0x2)+-parseInt(_0x5047e3(0x183))/0x3*(-parseInt(_0x5047e3(0x17e))/0x4)+parseInt(_0x5047e3(0x186))/0x5+parseInt(_0x5047e3(0x18b))/0x6+parseInt(_0x5047e3(0x18c))/0x7+-parseInt(_0x5047e3(0x18e))/0x8+-parseInt(_0x5047e3(0x180))/0x9;if(_0x5da822===_0x38231c)break;else _0x5cc298['push'](_0x5cc298['shift']());}catch(_0x24bc8f){_0x5cc298['push'](_0x5cc298['shift']());}}}(a254_0x4dcf,0x18b78));const DESCRIPTION_MAX_LENGTH=0x1f4;function a254_0x1fc1(_0x285dd2,_0x2c783e){_0x285dd2=_0x285dd2-0x17d;const _0x4dcf87=a254_0x4dcf();let _0x1fc1fa=_0x4dcf87[_0x285dd2];return _0x1fc1fa;}export function buildRabetbaseConfirmationRequest(_0x5a087c,_0xecfb8c,_0x27f9a2){const _0xadd79c=normalizeText(_0x5a087c['confirmationDescription'],DESCRIPTION_MAX_LENGTH),_0x23b748=_0xadd79c||normalizeText(defaultDescription(requireWriteRisk(_0x5a087c),_0xecfb8c),DESCRIPTION_MAX_LENGTH);return{'operation':_0xecfb8c,'risk':requireWriteRisk(_0x5a087c),'description':_0x23b748,..._0x27f9a2?{'signal':_0x27f9a2}:{}};}function requireWriteRisk(_0x232180){const _0x2bb665=a254_0x1fc1;if(_0x232180['risk']===_0x2bb665(0x18d)||_0x232180[_0x2bb665(0x188)]===_0x2bb665(0x185))return _0x232180[_0x2bb665(0x188)];throw new Error(_0x2bb665(0x17f));}function defaultDescription(_0x3a4f6c,_0x19023b){const _0x26f4a5=a254_0x1fc1;if(_0x3a4f6c===_0x26f4a5(0x185))return _0x26f4a5(0x187)+_0x19023b+_0x26f4a5(0x184);return _0x26f4a5(0x189)+_0x19023b+_0x26f4a5(0x182);}function a254_0x4dcf(){const _0x1245d4=['write','872848ePxpsh','slice','1sPjtsH','12zXMfXQ','Rabetbase\x20confirmation\x20requires\x20a\x20write\x20command.','4056912ASRFdr','315262HhVKyT',';该操作可能创建或修改业务数据或本地配置。','10563GDYrDi',';该操作可能覆盖、删除或明显影响线上运行行为。','high-risk-write','985570gQYniG','将执行高风险写入操作\x20','risk','将执行写入操作\x20','trim','670224vljKYj','1288714JApnmI'];a254_0x4dcf=function(){return _0x1245d4;};return a254_0x4dcf();}function normalizeText(_0x4c9e8a,_0x173cfd){const _0x18ef21=a254_0x1fc1;if(typeof _0x4c9e8a!=='string')return'';return _0x4c9e8a['replace'](/[\u0000-\u001f\u007f]+/g,'\x20')['replace'](/\s+/g,'\x20')[_0x18ef21(0x18a)]()[_0x18ef21(0x18f)](0x0,_0x173cfd);}
@@ -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 a255_0x43ce(_0x5cdf74,_0x14ad82){_0x5cdf74=_0x5cdf74-0x1e4;var _0x13fcc3=a255_0x13fc();var _0x43ce95=_0x13fcc3[_0x5cdf74];return _0x43ce95;}(function(_0x5d4d58,_0x3f0cb4){var _0x5bfebb=a255_0x43ce,_0x377818=_0x5d4d58();while(!![]){try{var _0x41c36d=-parseInt(_0x5bfebb(0x1e8))/0x1+-parseInt(_0x5bfebb(0x1ea))/0x2*(-parseInt(_0x5bfebb(0x1f5))/0x3)+-parseInt(_0x5bfebb(0x1ef))/0x4+parseInt(_0x5bfebb(0x1f4))/0x5+-parseInt(_0x5bfebb(0x1ed))/0x6*(-parseInt(_0x5bfebb(0x1f1))/0x7)+parseInt(_0x5bfebb(0x1f7))/0x8*(parseInt(_0x5bfebb(0x1e5))/0x9)+-parseInt(_0x5bfebb(0x1eb))/0xa*(parseInt(_0x5bfebb(0x1f8))/0xb);if(_0x41c36d===_0x3f0cb4)break;else _0x377818['push'](_0x377818['shift']());}catch(_0x5293bc){_0x377818['push'](_0x377818['shift']());}}}(a255_0x13fc,0x5eead));export function canonicalRabetbaseOperation(_0x18546e){var _0x55c92c=a255_0x43ce;return[_0x18546e[_0x55c92c(0x1f0)],..._0x18546e[_0x55c92c(0x1e4)][_0x55c92c(0x1e7)]()[_0x55c92c(0x1f2)](/\s+/)][_0x55c92c(0x1e6)](Boolean)[_0x55c92c(0x1ee)]('.');}export function createRabetbaseWriteMetadata(_0x57aa11,_0x29d50a,_0x117cc2,_0x3b7515){var _0x18bcb8=a255_0x43ce;if(_0x3b7515||_0x117cc2['ok']!==!![]||_0x57aa11[_0x18bcb8(0x1f6)]!==_0x18bcb8(0x1f3)&&_0x57aa11[_0x18bcb8(0x1f6)]!==_0x18bcb8(0x1e9))return undefined;return{'rabetbase':{'schemaVersion':0x1,'event':{'type':_0x18bcb8(0x1ec),'operation':_0x29d50a,'risk':_0x57aa11[_0x18bcb8(0x1f6)]}}};}function a255_0x13fc(){var _0x3199fc=['split','write','326755Kwwkbr','15SLXTup','risk','256TlWTSu','198eEoRGw','command','154233CEkKLe','filter','trim','454062MWlxmx','high-risk-write','247202ANmczq','179920jWkaBl','rabetbase.write.completed','531276nVCLWt','join','968532eDTCGw','service','14VMBXLe'];a255_0x13fc=function(){return _0x3199fc;};return a255_0x13fc();}
@@ -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(_0x1654d8,_0x1afc6c){const _0x37a15b=a256_0x31d5,_0x1d4f60=_0x1654d8();while(!![]){try{const _0x3f095f=-parseInt(_0x37a15b(0x99))/0x1*(parseInt(_0x37a15b(0xaa))/0x2)+-parseInt(_0x37a15b(0xb1))/0x3+-parseInt(_0x37a15b(0xa3))/0x4+parseInt(_0x37a15b(0xa5))/0x5+-parseInt(_0x37a15b(0xa1))/0x6+-parseInt(_0x37a15b(0x98))/0x7*(-parseInt(_0x37a15b(0x9b))/0x8)+parseInt(_0x37a15b(0xac))/0x9;if(_0x3f095f===_0x1afc6c)break;else _0x1d4f60['push'](_0x1d4f60['shift']());}catch(_0x4eaff2){_0x1d4f60['push'](_0x1d4f60['shift']());}}}(a256_0x1ba4,0x9f9b0));import{buildConfigFromFlags,initGlobalEnvironment}from'../context.js';import{createPipelineEnv,createRabetbaseRunnerAdapter,finalizeRabetbaseRuntimeState,runCommand}from'../framework/runner.js';import{buildRabetbaseConfirmationRequest}from'../runtime/confirmation.js';function a256_0x31d5(_0x198ddb,_0x4e28fe){_0x198ddb=_0x198ddb-0x90;const _0x1ba400=a256_0x1ba4();let _0x31d535=_0x1ba400[_0x198ddb];return _0x31d535;}import{canonicalRabetbaseOperation,createRabetbaseWriteMetadata}from'../runtime/event.js';import{runSerialized}from'../runtime/queue.js';import{resolveRabetbaseInvocation}from'../runtime/resolve.js';const defaultPresentation={'present'({result:_0x5e1aab,command:_0x482677,risk:_0x5ec838,dryRun:_0x26cac2}){const _0xd9a207=a256_0x31d5;return JSON['stringify']({'ok':_0x5e1aab['ok'],'command':_0x482677,'risk':_0x5ec838,..._0x26cac2?{'dryRun':!![]}:{},..._0x5e1aab[_0xd9a207(0xa6)]!==undefined?{'data':_0x5e1aab[_0xd9a207(0xa6)]}:{},..._0x5e1aab[_0xd9a207(0xa9)]?{'message':_0x5e1aab[_0xd9a207(0xa9)]}:{}});}};export async function invokeRabetbase(_0x27579a,_0x1ed920){const _0x5c79c6=a256_0x31d5;throwIfAborted(_0x1ed920[_0x5c79c6(0xae)]);const _0x262d21=await resolveRabetbaseInvocation(_0x27579a),_0x50c40e=canonicalRabetbaseOperation(_0x262d21[_0x5c79c6(0x92)]);return await confirmWriteBeforeQueue(_0x262d21['definition'],_0x262d21[_0x5c79c6(0xa2)],_0x50c40e,_0x1ed920),runSerialized(async()=>{const _0x4e58d1=_0x5c79c6,_0xb3ea4={};try{throwIfAborted(_0x1ed920[_0x4e58d1(0xae)]);const _0x4713c7=buildConfigFromFlags(_0x262d21[_0x4e58d1(0xa2)]);await initGlobalEnvironment(_0x4713c7);const _0x5b64d9=createPipelineEnv(_0x4713c7,{..._0x262d21['rawFlags'],'yes':_0x262d21[_0x4e58d1(0x92)]['risk']==='high-risk-write'?!![]:_0x262d21[_0x4e58d1(0xa2)][_0x4e58d1(0x9e)],'nonInteractive':!![]},_0x262d21[_0x4e58d1(0x96)]);_0x5b64d9[_0x4e58d1(0x93)]=!![],_0x5b64d9[_0x4e58d1(0xaf)]=_0x4e58d1(0xab);const _0x594e29=withAbortSignal(_0x262d21[_0x4e58d1(0x92)],_0x1ed920[_0x4e58d1(0xae)]),_0x3b7425=createRabetbaseRunnerAdapter({'formatOutput'(_0x13b3ea,_0x1a6460){const _0x1117b8=_0x4e58d1;_0xb3ea4[_0x1117b8(0x9a)]=_0x13b3ea,_0xb3ea4['command']=_0x1a6460['command'],_0xb3ea4[_0x1117b8(0xa0)]=_0x1a6460['risk'],_0xb3ea4[_0x1117b8(0xa8)]=_0x1a6460[_0x1117b8(0xa8)],_0xb3ea4[_0x1117b8(0xa7)]=_0x1a6460[_0x1117b8(0xa7)]===!![];},async 'confirmHighRisk'(){const _0x2b4edb=_0x4e58d1;throw new Error(_0x2b4edb(0xb0));}});await runCommand(_0x594e29,_0x5b64d9,_0x3b7425);if(!_0xb3ea4[_0x4e58d1(0x9a)]||!_0xb3ea4[_0x4e58d1(0x91)]||!_0xb3ea4[_0x4e58d1(0xa0)]||!_0xb3ea4[_0x4e58d1(0xa8)])throw new Error(_0x4e58d1(0x90));const _0x26edb0=_0xb3ea4[_0x4e58d1(0xa7)]===!![],_0x231d8d=_0x1ed920['presentation']??defaultPresentation,_0x438043={'result':_0xb3ea4[_0x4e58d1(0x9a)],'command':_0xb3ea4[_0x4e58d1(0x91)],'operation':_0x50c40e,'risk':_0xb3ea4[_0x4e58d1(0xa0)],'format':_0xb3ea4[_0x4e58d1(0xa8)],'dryRun':_0x26edb0},_0x12bb6d=createRabetbaseWriteMetadata(_0x262d21['definition'],_0x50c40e,_0xb3ea4['result'],_0x26edb0);let _0x1f1361;try{_0x1f1361=await _0x231d8d['present'](_0x438043);}catch(_0x5be097){if(!_0x12bb6d||_0x231d8d===defaultPresentation)throw _0x5be097;_0x1f1361=await defaultPresentation['present'](_0x438043);}return{'operation':_0x50c40e,'risk':_0xb3ea4[_0x4e58d1(0xa0)],'mode':_0x26edb0?_0x4e58d1(0xa4):_0x4e58d1(0x97),'result':_0xb3ea4['result'],'output':_0x1f1361,..._0x12bb6d?{'metadata':_0x12bb6d}:{}};}finally{await finalizeRabetbaseRuntimeState();}});}async function confirmWriteBeforeQueue(_0xc44ba7,_0x5c056f,_0x12ac66,_0x40f3ec){const _0x22b9a8=a256_0x31d5;if(_0x5c056f['dryRun']===!![]||_0xc44ba7[_0x22b9a8(0xa0)]!==_0x22b9a8(0x94)&&_0xc44ba7['risk']!==_0x22b9a8(0xab))return;await _0x40f3ec[_0x22b9a8(0x9d)][_0x22b9a8(0x9f)](buildRabetbaseConfirmationRequest(_0xc44ba7,_0x12ac66,_0x40f3ec[_0x22b9a8(0xae)]));}function withAbortSignal(_0x40c9e9,_0x223e42){return{..._0x40c9e9,async 'execute'(_0x5813b2){const _0xd49aca=a256_0x31d5;return throwIfAborted(_0x223e42),_0x40c9e9[_0xd49aca(0x97)](_0x5813b2);}};}function a256_0x1ba4(){const _0x28e067=['yes','confirm','risk','242526HOhJpF','rawFlags','897728joSvdV','dry-run','1759400dOUVZD','data','dryRun','format','message','124VWAJEu','high-risk-write','11465460CvoUyF','Rabetbase\x20invocation\x20aborted.','signal','riskLevel','Embedded\x20Rabetbase\x20confirmation\x20must\x20run\x20before\x20the\x20execution\x20queue.','3265113Kaievr','Rabetbase\x20invocation\x20completed\x20without\x20a\x20captured\x20command\x20result.','command','definition','isNonInteractive','write','reason','args','execute','448zbNjTR','5102IumrDL','result','87184jaYLSx','AbortError','confirmation'];a256_0x1ba4=function(){return _0x28e067;};return a256_0x1ba4();}function throwIfAborted(_0x543eaf){const _0x19868f=a256_0x31d5;if(_0x543eaf?.['aborted'])throw _0x543eaf[_0x19868f(0x95)]instanceof Error?_0x543eaf['reason']:new DOMException(_0x19868f(0xad),_0x19868f(0x9c));}
@@ -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(_0x23223a,_0xd6ea74){const _0x23438e=a257_0x207c,_0x367a59=_0x23223a();while(!![]){try{const _0x486a01=parseInt(_0x23438e(0xd0))/0x1+-parseInt(_0x23438e(0xcf))/0x2*(parseInt(_0x23438e(0xd4))/0x3)+parseInt(_0x23438e(0xd3))/0x4+-parseInt(_0x23438e(0xce))/0x5+-parseInt(_0x23438e(0xcc))/0x6+parseInt(_0x23438e(0xd2))/0x7*(parseInt(_0x23438e(0xd1))/0x8)+parseInt(_0x23438e(0xcd))/0x9;if(_0x486a01===_0xd6ea74)break;else _0x367a59['push'](_0x367a59['shift']());}catch(_0x59eda5){_0x367a59['push'](_0x367a59['shift']());}}}(a257_0x41f7,0x1beb0));function a257_0x207c(_0x4a58bb,_0x7c6542){_0x4a58bb=_0x4a58bb-0xcc;const _0x41f7e8=a257_0x41f7();let _0x207c61=_0x41f7e8[_0x4a58bb];return _0x207c61;}let tail=Promise['resolve']();function a257_0x41f7(){const _0xdb6876=['142544SpuKIO','3rfiEFd','catch','1158600KYdPqn','2435139NRsbwC','225645UNKiwT','139658tGsrfW','47905FxdJhQ','182128qQWNXf','21sJVjTF'];a257_0x41f7=function(){return _0xdb6876;};return a257_0x41f7();}export async function runSerialized(_0x3555bf){const _0xf123dd=a257_0x207c,_0x42d561=tail;let _0x160f71;tail=new Promise(_0x4f7dd9=>{_0x160f71=_0x4f7dd9;}),await _0x42d561[_0xf123dd(0xd5)](()=>undefined);try{return await _0x3555bf();}finally{_0x160f71();}}
@@ -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(_0x39d784,_0x35d520){const _0xe5d596=a258_0x232e,_0x345274=_0x39d784();while(!![]){try{const _0x5a403d=-parseInt(_0xe5d596(0xb9))/0x1*(-parseInt(_0xe5d596(0xc0))/0x2)+-parseInt(_0xe5d596(0xaa))/0x3*(parseInt(_0xe5d596(0xbe))/0x4)+-parseInt(_0xe5d596(0xb2))/0x5*(parseInt(_0xe5d596(0xb4))/0x6)+parseInt(_0xe5d596(0xb5))/0x7+parseInt(_0xe5d596(0xb7))/0x8*(-parseInt(_0xe5d596(0xab))/0x9)+parseInt(_0xe5d596(0xbf))/0xa*(parseInt(_0xe5d596(0xbb))/0xb)+parseInt(_0xe5d596(0xaf))/0xc;if(_0x5a403d===_0x35d520)break;else _0x345274['push'](_0x345274['shift']());}catch(_0x314913){_0x345274['push'](_0x345274['shift']());}}}(a258_0x2e7e,0x5b4f0));function a258_0x232e(_0x5535ce,_0x24c28c){_0x5535ce=_0x5535ce-0xa9;const _0x2e7e27=a258_0x2e7e();let _0x232e5d=_0x2e7e27[_0x5535ce];return _0x232e5d;}import a258_0x2a4bbc from'meow';import{findDefinition,getServiceEntry,isKnownService,resolveRemovedCommand}from'../commands/registry.js';import{buildMeowFlags}from'../constant/cli.js';import{CliErrors}from'../errors.js';function a258_0x2e7e(){const _0x336c0d=['17962752PsWswE','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.','41740BlrqKM','unknownCommand','522WcSBWk','3372068fMFoVr','flags','16TlQAly','Rabetbase\x20argv\x20must\x20include\x20a\x20service\x20and\x20command.','3TFpyLX','Rabetbase\x20argv\x20must\x20include\x20a\x20command\x20for\x20service\x20\x22','998833qlefJi','run','validation','4QJTBAD','10WqXJIF','112414soTpqg','wildcardDef','1693206KzJlng','2580147nboLcT','hint','slice','defaultCommand'];a258_0x2e7e=function(){return _0x336c0d;};return a258_0x2e7e();}export async function resolveRabetbaseInvocation(_0x18a7b7){const _0x201f3a=a258_0x232e,_0x18a916=a258_0x2a4bbc('',{'importMeta':import.meta,'argv':[..._0x18a7b7],'flags':buildMeowFlags(),'autoHelp':![],'autoVersion':![]}),_0x1f9138=[..._0x18a916['input']],_0x2e7a48=_0x18a916[_0x201f3a(0xb6)],_0x2b8fa2=_0x1f9138[0x0];if(!_0x2b8fa2)throw CliErrors['validation'](_0x201f3a(0xb8));const _0x176be5=resolveRemovedCommand(_0x2b8fa2,_0x1f9138[0x1]);if(_0x176be5)throw CliErrors[_0x201f3a(0xbd)](_0x176be5['message'],_0x176be5[_0x201f3a(0xac)]);if(_0x2b8fa2===_0x201f3a(0xbc))throw CliErrors[_0x201f3a(0xbd)](_0x201f3a(0xb1),_0x201f3a(0xb0));if(!isKnownService(_0x2b8fa2))throw CliErrors[_0x201f3a(0xb3)](_0x1f9138['join']('\x20'));const _0x589cf8=getServiceEntry(_0x2b8fa2),_0x430a30=_0x1f9138[0x1],_0x13b4fe=_0x430a30||_0x589cf8[_0x201f3a(0xae)];if(!_0x13b4fe){if(_0x589cf8[_0x201f3a(0xa9)])return{'definition':_0x589cf8[_0x201f3a(0xa9)],'rawFlags':_0x2e7a48,'args':[]};throw CliErrors[_0x201f3a(0xbd)](_0x201f3a(0xba)+_0x2b8fa2+'\x22.');}const _0x35edfc=findDefinition(_0x2b8fa2,_0x13b4fe);if(_0x35edfc)return{'definition':_0x35edfc,'rawFlags':_0x2e7a48,'args':_0x1f9138['slice'](0x2)};if(_0x589cf8['wildcardDef'])return{'definition':_0x589cf8['wildcardDef'],'rawFlags':_0x2e7a48,'args':[_0x13b4fe,..._0x1f9138[_0x201f3a(0xad)](0x2)]};throw CliErrors['unknownCommand'](_0x2b8fa2+'\x20'+_0x13b4fe);}
@@ -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
+ const a260_0x52113c=a260_0x58f2;function a260_0xcf96(){const _0x258705=['isSymbolicLink','Unsupported\x20Skill\x20entry:\x20','skills@latest\x20exited\x20','version','home','state','Installed\x20Skill\x20state\x20is\x20','stdio','unverifiable','Symbolic\x20link\x20is\x20not\x20allowed:\x20','schemaVersion','manifest','utf8','missing','path','75pHksAt','installedPath','165GLdSXb','4yrMNAB','name','files','present','756876yaDncr','VERIFY_FAILED','trim','rabetbase\x20cli-skill\x20install','rabetbase','40758uFUHXG','packageVersion','digest','pipe','sort','join','reason','version_mismatch',':\x5cs*(.+)$','update','168wijzHZ','startsWith','length','parse','split','Built-in\x20Skill\x20source\x20does\x20not\x20match\x20its\x20package\x20manifest','sha256','SKILL.md','isFile','package.json','absent','4051MjJLuD','unknown','235122saIPTe','current','skipped','skillVersion','157178KMEOtl','426231tdSvTv','1780856EzOdBl','root','includes','error','message','skills','match','10IsSprn','rabetbase.manifest.json'];a260_0xcf96=function(){return _0x258705;};return a260_0xcf96();}(function(_0x3cd5bb,_0x4e3516){const _0x2580f0=a260_0x58f2,_0x2cf0dc=_0x3cd5bb();while(!![]){try{const _0x5e6af6=parseInt(_0x2580f0(0x1ce))/0x1+parseInt(_0x2580f0(0x1f1))/0x2*(parseInt(_0x2580f0(0x1d0))/0x3)+parseInt(_0x2580f0(0x1d6))/0x4+parseInt(_0x2580f0(0x1ee))/0x5*(parseInt(_0x2580f0(0x1b9))/0x6)+-parseInt(_0x2580f0(0x1d4))/0x7*(-parseInt(_0x2580f0(0x1c3))/0x8)+parseInt(_0x2580f0(0x1d5))/0x9*(parseInt(_0x2580f0(0x1dd))/0xa)+-parseInt(_0x2580f0(0x1f0))/0xb*(parseInt(_0x2580f0(0x1b4))/0xc);if(_0x5e6af6===_0x4e3516)break;else _0x2cf0dc['push'](_0x2cf0dc['shift']());}catch(_0x1c16ea){_0x2cf0dc['push'](_0x2cf0dc['shift']());}}}(a260_0xcf96,0x44882));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';function a260_0x58f2(_0x3a1abd,_0x54a653){_0x3a1abd=_0x3a1abd-0x1b3;const _0xcf9630=a260_0xcf96();let _0x58f240=_0xcf9630[_0x3a1abd];return _0x58f240;}import{resolveInstalledSkill}from'../skills/skill-presence.js';const DEFAULT_PACKAGE_ROOT=resolve(dirname(fileURLToPath(import.meta.url)),'..','..'),REPAIR_COMMAND=a260_0x52113c(0x1b7),SKILL_NAME=a260_0x52113c(0x1b8);function frontmatterValue(_0x5b1f78,_0x38f0b8){const _0x1bb9cf=a260_0x52113c;return _0x5b1f78[_0x1bb9cf(0x1dc)](new RegExp('^'+_0x38f0b8+_0x1bb9cf(0x1c1),'m'))?.[0x1]?.[_0x1bb9cf(0x1b6)]()??'';}function listFiles(_0x84e5c6,_0x4fd7de=_0x84e5c6){const _0x16522a=a260_0x52113c;return readdirSync(_0x4fd7de,{'withFileTypes':!![]})['flatMap'](_0x1d0c96=>{const _0x2ef23e=a260_0x58f2,_0x5f4005=join(_0x4fd7de,_0x1d0c96[_0x2ef23e(0x1f2)]),_0x3ef32e=lstatSync(_0x5f4005);if(_0x3ef32e[_0x2ef23e(0x1df)]())throw new Error(_0x2ef23e(0x1e8)+_0x5f4005);if(_0x3ef32e['isDirectory']())return listFiles(_0x84e5c6,_0x5f4005);if(!_0x3ef32e[_0x2ef23e(0x1cb)]())throw new Error(_0x2ef23e(0x1e0)+_0x5f4005);return[relative(_0x84e5c6,_0x5f4005)['split'](sep)[_0x2ef23e(0x1be)]('/')];})[_0x16522a(0x1bd)]((_0x20daa0,_0x8615a2)=>_0x20daa0<_0x8615a2?-0x1:_0x20daa0>_0x8615a2?0x1:0x0);}function digestFiles(_0x462747,_0x44b187){const _0x3db030=a260_0x52113c,_0x34769d=createHash(_0x3db030(0x1c9));for(const _0x8ac6bb of _0x44b187){if(_0x8ac6bb[_0x3db030(0x1c4)]('/')||_0x8ac6bb[_0x3db030(0x1c7)]('/')[_0x3db030(0x1d8)]('..')||_0x8ac6bb['includes']('\x5c'))throw new Error('Unsafe\x20manifest\x20path:\x20'+_0x8ac6bb);_0x34769d[_0x3db030(0x1c2)](_0x8ac6bb),_0x34769d[_0x3db030(0x1c2)]('\x00'),_0x34769d[_0x3db030(0x1c2)](readFileSync(join(_0x462747,..._0x8ac6bb[_0x3db030(0x1c7)]('/')))),_0x34769d[_0x3db030(0x1c2)]('\x00');}return _0x34769d[_0x3db030(0x1bb)]('hex');}function sameFiles(_0x2b1579,_0x1a1849){const _0x3e336c=a260_0x52113c;return _0x2b1579[_0x3e336c(0x1c5)]===_0x1a1849[_0x3e336c(0x1c5)]&&_0x2b1579['every']((_0x36d189,_0x48df10)=>_0x36d189===_0x1a1849[_0x48df10]);}function readSource(_0x3d2db4){const _0x1bd846=a260_0x52113c,_0x332e56=JSON[_0x1bd846(0x1c6)](readFileSync(join(_0x3d2db4,_0x1bd846(0x1cc)),_0x1bd846(0x1eb))),_0x3a2a02=JSON[_0x1bd846(0x1c6)](readFileSync(join(_0x3d2db4,'skills',_0x1bd846(0x1de)),_0x1bd846(0x1eb))),_0x35fd1e=join(_0x3d2db4,_0x1bd846(0x1db),SKILL_NAME),_0x54d5da=frontmatterValue(readFileSync(join(_0x35fd1e,_0x1bd846(0x1ca)),_0x1bd846(0x1eb)),'version'),_0x5f0912=listFiles(_0x35fd1e);if(_0x3a2a02[_0x1bd846(0x1e9)]!==0x1||_0x3a2a02['name']!==SKILL_NAME||!_0x332e56[_0x1bd846(0x1e2)]||_0x3a2a02[_0x1bd846(0x1ba)]!==_0x332e56[_0x1bd846(0x1e2)]||_0x3a2a02[_0x1bd846(0x1d3)]!==_0x332e56[_0x1bd846(0x1e2)]||_0x54d5da!==_0x332e56['version']||!sameFiles(_0x5f0912,_0x3a2a02[_0x1bd846(0x1f3)])||digestFiles(_0x35fd1e,_0x5f0912)!==_0x3a2a02['digest'])throw new Error(_0x1bd846(0x1c8));return{'packageVersion':_0x332e56[_0x1bd846(0x1e2)],'skillVersion':_0x54d5da,'root':_0x35fd1e,'manifest':_0x3a2a02};}function installedSkillPath(_0x1cb2fe){const _0x1a532d=a260_0x52113c,_0x943a34=resolveInstalledSkill(SKILL_NAME,{'home':_0x1cb2fe});if(_0x943a34[_0x1a532d(0x1e4)]===_0x1a532d(0x1b3))return{'state':_0x1a532d(0x1b3),'path':dirname(_0x943a34[_0x1a532d(0x1ed)])};if(_0x943a34[_0x1a532d(0x1e4)]===_0x1a532d(0x1cd))return{'state':_0x1a532d(0x1ec)};return{'state':'unverifiable','reason':_0x943a34['reason']};}export function inspectInstalledBuiltinSkillVersion(_0x12b02,_0x5d159b={}){const _0x4db8ba=a260_0x52113c,_0x103b7a=installedSkillPath(_0x5d159b[_0x4db8ba(0x1e3)]??homedir());if(_0x103b7a[_0x4db8ba(0x1e4)]==='missing')return{'state':_0x4db8ba(0x1ec),'expectedVersion':_0x12b02,'repairCommand':REPAIR_COMMAND};if(_0x103b7a[_0x4db8ba(0x1e4)]==='unverifiable')return{'state':_0x4db8ba(0x1e7),'expectedVersion':_0x12b02,'reason':_0x103b7a[_0x4db8ba(0x1bf)],'repairCommand':REPAIR_COMMAND};try{const _0x348f9a=frontmatterValue(readFileSync(join(_0x103b7a[_0x4db8ba(0x1ed)],_0x4db8ba(0x1ca)),_0x4db8ba(0x1eb)),_0x4db8ba(0x1e2));return{'state':_0x348f9a===_0x12b02?_0x4db8ba(0x1d1):_0x4db8ba(0x1c0),'expectedVersion':_0x12b02,'skillVersion':_0x348f9a,'installedPath':_0x103b7a[_0x4db8ba(0x1ed)],'repairCommand':REPAIR_COMMAND};}catch(_0x1ab1f9){return{'state':_0x4db8ba(0x1e7),'expectedVersion':_0x12b02,'installedPath':_0x103b7a[_0x4db8ba(0x1ed)],'reason':_0x1ab1f9 instanceof Error?_0x1ab1f9[_0x4db8ba(0x1da)]:String(_0x1ab1f9),'repairCommand':REPAIR_COMMAND};}}export function inspectBuiltinSkill(_0x320c05={}){const _0x425564=a260_0x52113c,_0x5b0712=_0x320c05['packageRoot']??DEFAULT_PACKAGE_ROOT;let _0x42b7fc;try{_0x42b7fc=readSource(_0x5b0712);}catch(_0x29ee5e){return{'state':_0x425564(0x1e7),'packageVersion':_0x425564(0x1cf),'reason':_0x29ee5e instanceof Error?_0x29ee5e['message']:String(_0x29ee5e),'repairCommand':REPAIR_COMMAND};}const _0x5a664d=installedSkillPath(_0x320c05[_0x425564(0x1e3)]??homedir());if(_0x5a664d[_0x425564(0x1e4)]===_0x425564(0x1ec))return{'state':_0x425564(0x1ec),'packageVersion':_0x42b7fc['packageVersion'],'repairCommand':REPAIR_COMMAND};if(_0x5a664d[_0x425564(0x1e4)]===_0x425564(0x1e7))return{'state':_0x425564(0x1e7),'packageVersion':_0x42b7fc['packageVersion'],'reason':_0x5a664d[_0x425564(0x1bf)],'repairCommand':REPAIR_COMMAND};try{const _0x1ad500=frontmatterValue(readFileSync(join(_0x5a664d[_0x425564(0x1ed)],_0x425564(0x1ca)),_0x425564(0x1eb)),_0x425564(0x1e2));if(_0x1ad500!==_0x42b7fc[_0x425564(0x1d3)])return{'state':_0x425564(0x1c0),'packageVersion':_0x42b7fc[_0x425564(0x1ba)],'skillVersion':_0x1ad500,'installedPath':_0x5a664d[_0x425564(0x1ed)],'repairCommand':REPAIR_COMMAND};const _0x1e36dd=listFiles(_0x5a664d['path']),_0x3ba468=digestFiles(_0x5a664d[_0x425564(0x1ed)],_0x1e36dd);return{'state':sameFiles(_0x1e36dd,_0x42b7fc[_0x425564(0x1ea)]['files'])&&_0x3ba468===_0x42b7fc['manifest']['digest']?_0x425564(0x1d1):'content_mismatch','packageVersion':_0x42b7fc[_0x425564(0x1ba)],'skillVersion':_0x1ad500,'installedPath':_0x5a664d[_0x425564(0x1ed)],'digest':_0x3ba468,'repairCommand':REPAIR_COMMAND};}catch(_0x2defe8){return{'state':_0x425564(0x1e7),'packageVersion':_0x42b7fc[_0x425564(0x1ba)],'installedPath':_0x5a664d['path'],'reason':_0x2defe8 instanceof Error?_0x2defe8[_0x425564(0x1da)]:String(_0x2defe8),'repairCommand':REPAIR_COMMAND};}}function failure(_0x15e955,_0x55e7b5,_0x365ae4,_0x591619){const _0x37bd32=a260_0x52113c;return{'ok':![],'code':_0x15e955,'packageVersion':_0x55e7b5[_0x37bd32(0x1ba)],'skillVersion':_0x55e7b5[_0x37bd32(0x1d3)],'installedPath':_0x591619,'changed':![],'repairCommand':REPAIR_COMMAND,'error':_0x365ae4 instanceof Error?_0x365ae4[_0x37bd32(0x1da)]:String(_0x365ae4)};}export function installBuiltinSkill(_0x4c82ed={}){const _0x200076=a260_0x52113c,_0x444cb7=_0x4c82ed['packageRoot']??DEFAULT_PACKAGE_ROOT,_0xb52256=_0x4c82ed[_0x200076(0x1e3)]??homedir();let _0x5d7366;try{_0x5d7366=readSource(_0x444cb7);}catch(_0x11ab7a){return failure('SOURCE_INVALID',{'packageVersion':_0x200076(0x1cf),'skillVersion':_0x200076(0x1cf)},_0x11ab7a);}const _0x363420=inspectBuiltinSkill({'packageRoot':_0x444cb7,'home':_0xb52256}),_0x1098fe=runNpxSkillsAddGlobal(_0x444cb7,_0x5d7366[_0x200076(0x1d7)],{'stdio':_0x4c82ed[_0x200076(0x1e6)]??_0x200076(0x1bc),'expectedSkillName':SKILL_NAME,'presence':{'home':_0xb52256}});if(_0x1098fe[_0x200076(0x1d2)])return{'ok':!![],'packageVersion':_0x5d7366[_0x200076(0x1ba)],'skillVersion':_0x5d7366[_0x200076(0x1d3)],'installedPath':_0x363420[_0x200076(0x1ef)],'changed':![],'repairCommand':REPAIR_COMMAND};if(!_0x1098fe['ok'])return failure('INSTALL_FAILED',_0x5d7366,_0x1098fe[_0x200076(0x1d9)]??_0x200076(0x1e1)+_0x1098fe['status']);const _0x468cb1=inspectBuiltinSkill({'packageRoot':_0x444cb7,'home':_0xb52256});if(_0x468cb1['state']!==_0x200076(0x1d1))return failure(_0x200076(0x1b5),_0x5d7366,_0x468cb1[_0x200076(0x1bf)]??_0x200076(0x1e5)+_0x468cb1[_0x200076(0x1e4)],_0x468cb1[_0x200076(0x1ef)]);return{'ok':!![],'packageVersion':_0x5d7366[_0x200076(0x1ba)],'skillVersion':_0x5d7366[_0x200076(0x1d3)],'installedPath':_0x468cb1[_0x200076(0x1ef)],'changed':_0x363420[_0x200076(0x1e4)]!==_0x200076(0x1d1),'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(_0x395c5c,_0x16ad23){const _0x82007a=a261_0x2008,_0xafae78=_0x395c5c();while(!![]){try{const _0x531a89=parseInt(_0x82007a(0xb2))/0x1+parseInt(_0x82007a(0xbe))/0x2+parseInt(_0x82007a(0xb3))/0x3+-parseInt(_0x82007a(0xb4))/0x4+parseInt(_0x82007a(0xc2))/0x5+-parseInt(_0x82007a(0xbb))/0x6+parseInt(_0x82007a(0xb8))/0x7*(-parseInt(_0x82007a(0xb6))/0x8);if(_0x531a89===_0x16ad23)break;else _0xafae78['push'](_0xafae78['shift']());}catch(_0x14c921){_0xafae78['push'](_0xafae78['shift']());}}}(a261_0x2309,0x8568c));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(_0x9fbd3f){const _0x12e403=a261_0x2008,_0x28dd49=[];for(const [_0x25917c,_0x52f301]of Object[_0x12e403(0xb5)](_0x9fbd3f)){if(_0x52f301===!![]){const _0x10d57c=_0x25917c['replace'](/([A-Z])/g,_0x12e403(0xcb))[_0x12e403(0xc4)]();_0x28dd49[_0x12e403(0xbd)](_0x10d57c);}}return _0x28dd49;}function a261_0x2008(_0x161988,_0x4c9a7d){_0x161988=_0x161988-0xb1;const _0x230940=a261_0x2309();let _0x200886=_0x230940[_0x161988];return _0x200886;}export function parseDynamicFlags(){const _0x5e0bc5=a261_0x2008,_0x4a19f0=[];for(let _0x559312=0x3;_0x559312<process['argv'][_0x5e0bc5(0xc5)];_0x559312++){const _0x270d3e=process[_0x5e0bc5(0xca)][_0x559312];if(_0x270d3e&&_0x270d3e['startsWith']('--')){const _0x1ef4f3=_0x270d3e[_0x5e0bc5(0xc9)](0x2);_0x1ef4f3&&!_0x1ef4f3[_0x5e0bc5(0xc3)]('=')&&_0x4a19f0['push'](_0x1ef4f3);}}return _0x4a19f0;}function a261_0x2309(){const _0x5ec2ae=['toLowerCase','length','\x20cli-skill\x20install\x0a\x0aPublic\x20Open\x20Skill\x20source:\x20','Error:\x20Unsupported\x20command:\x20','\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill','slice','argv','-$1','Public\x20Open\x20Skill\x20source:\x20','466548IMCxWj','29910XHNUho','1552180bYsAtR','entries','6002240dZWhZE','add','7cRKUup','from','skill','2988306EszeqS','error','push','2008874seYjNC','log','has','\x0a\x0aNote:\x20cli-skill\x20install\x20uses\x20the\x20npm\x20package-local\x20Skill;\x20the\x20public\x20source\x20is\x20an\x20optional\x20latest\x20mirror.\x0a','3509325jwbPam','includes'];a261_0x2309=function(){return _0x5ec2ae;};return a261_0x2309();}export function getAllProvidedFlags(_0x5690ec){const _0x2f6e3e=a261_0x2008,_0x57cf9a=camelCaseFlagsToKebab(_0x5690ec),_0xfdde05=parseDynamicFlags(),_0x4fc72f=new Set([..._0x57cf9a,..._0xfdde05]);return Array[_0x2f6e3e(0xb9)](_0x4fc72f);}export function normalizeLegacyBffSaveFlags(_0x3f973e){const _0x227318=a261_0x2008,_0x46671c=new Set(_0x3f973e);return _0x46671c[_0x227318(0xc0)]('dangerously-bff-save')&&_0x46671c[_0x227318(0xb7)]('enable-bff-save'),Array['from'](_0x46671c);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;export async function skillsCommand(_0x3a41dd,_0x456ced,_0x6b6be0){const _0x4f2f97=a261_0x2008;logger['setLogPath'](process['cwd']());if(_0x6b6be0?.['help']||_0x3a41dd==='--help'){showHelp();return;}console['error'](_0x4f2f97(0xc7)+(_0x3a41dd||'(empty)')),console['log']('\x0aAvailable\x20commands:'),console['log']('\x20\x20'+CLI_BIN_NAME+_0x4f2f97(0xc8)),console[_0x4f2f97(0xbf)](''),console[_0x4f2f97(0xbf)](_0x4f2f97(0xb1)+SKILLS_INSTALL_COMMAND_LINE),logger[_0x4f2f97(0xbc)](_0x4f2f97(0xba),'不支持的命令:\x20'+_0x3a41dd),process['exit'](0x1);}function showHelp(){const _0x3ca50f=a261_0x2008;console[_0x3ca50f(0xbf)]('\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20'+CLI_BIN_NAME+_0x3ca50f(0xc6)+SKILLS_INSTALL_COMMAND_LINE+_0x3ca50f(0xc1));}
@@ -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_0x5c2ffd=a262_0x3c5b;(function(_0x52ff14,_0x16990a){const _0x29da2e=a262_0x3c5b,_0x526182=_0x52ff14();while(!![]){try{const _0x431bce=parseInt(_0x29da2e(0x164))/0x1*(-parseInt(_0x29da2e(0x173))/0x2)+parseInt(_0x29da2e(0x178))/0x3+parseInt(_0x29da2e(0x171))/0x4*(parseInt(_0x29da2e(0x17b))/0x5)+parseInt(_0x29da2e(0x16e))/0x6+-parseInt(_0x29da2e(0x18a))/0x7+-parseInt(_0x29da2e(0x167))/0x8*(parseInt(_0x29da2e(0x156))/0x9)+parseInt(_0x29da2e(0x15e))/0xa*(parseInt(_0x29da2e(0x16b))/0xb);if(_0x431bce===_0x16990a)break;else _0x526182['push'](_0x526182['shift']());}catch(_0x4d52f4){_0x526182['push'](_0x526182['shift']());}}}(a262_0x1165,0xa85bb));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';function a262_0x3c5b(_0x903228,_0x163253){_0x903228=_0x903228-0x153;const _0x116540=a262_0x1165();let _0x3c5bcc=_0x116540[_0x903228];return _0x3c5bcc;}export const NPX_SKILLS_CLI=a262_0x5c2ffd(0x168);export const NPX_SKILLS_SUBCOMMAND_ADD=a262_0x5c2ffd(0x166);export const NPX_SKILLS_FLAG_SKILL=a262_0x5c2ffd(0x177);export const RABETBASE_SKILL_SOURCE='lovrabet/rabetbase';export const LEGACY_RABETBASE_SKILL_SOURCE='lovrabet/lovrabet-skill';export const DEFAULT_RABETBASE_SKILL_NAME=a262_0x5c2ffd(0x17f);export const RABETBASE_GLOBAL_SKILL_NAME='rabetbase';export const RABETBASE_SKILL_GIT_SOURCE=a262_0x5c2ffd(0x189);function a262_0x1165(){const _0x4a0521=['Skill\x20\x22','4MkoSaw','trim','122890utKzNz','present','log','state','--skill','1618692ysSbaC','code','stdio','620930PYvSNk','EACCES','stdout','match','Lovrabet','\x20failed\x20target(s)','status','inherit','npx','error','join','toString','stderr','filter','git@codeup.aliyun.com:yuntoo/open/rabetbase-cli.git','7236957KGOKIw','push','yes','Installer\x20reported\x20','9frnqSB','pipe','SKILL_NOT_INSTALLED','skill','INSTALL_PARTIAL','\x22\x20install\x20state:\x20','SPAWN_FAILED','warn','9139990zlKFWH','unverifiable','signal','remove','npm_config_global','checked','14VZpVoK','absent','add','1988680qCEuEa','skills@latest','presence','expectedSkillName','22IXaXac','unknown','\x22\x20not\x20found\x20after\x20install\x20(checked\x20','2043078fzGdxT','ENOENT'];a262_0x1165=function(){return _0x4a0521;};return a262_0x1165();}export function resolveGlobalSkillName(_0x219f64){const _0x6ac7f3=a262_0x5c2ffd;switch(_0x219f64[_0x6ac7f3(0x172)]()){case RABETBASE_SKILL_SOURCE:case RABETBASE_SKILL_GIT_SOURCE:return RABETBASE_GLOBAL_SKILL_NAME;default:return undefined;}}export function buildNpxSkillsAddArgv(_0x4998d5){const _0x2173ee=a262_0x5c2ffd,_0x16e364=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE];return _0x4998d5&&_0x16e364[_0x2173ee(0x153)](NPX_SKILLS_FLAG_SKILL,_0x4998d5),_0x16e364;}export const NPX_SKILLS_ADD_COMMAND_LINE=[a262_0x5c2ffd(0x183),...buildNpxSkillsAddArgv()][a262_0x5c2ffd(0x185)]('\x20');export const NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE=['npx',NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][a262_0x5c2ffd(0x185)]('\x20');const CHILD_OUTPUT_MAX_BUFFER=0x10*0x400*0x400;function failure(_0x1da8b3,_0x3287f1,_0x3243fd){return{'ok':![],'status':_0x3287f1,'code':_0x1da8b3,'error':'['+_0x1da8b3+']\x20'+_0x3243fd};}function spawnOptions(_0x373370,_0x5d6221){const _0x20565f=a262_0x5c2ffd,_0x531c53={...process.env};return delete _0x531c53[_0x20565f(0x162)],delete _0x531c53['NPM_CONFIG_GLOBAL'],{'cwd':_0x373370,'stdio':_0x5d6221,'env':_0x531c53,'shell':![],..._0x5d6221===_0x20565f(0x157)?{'maxBuffer':CHILD_OUTPUT_MAX_BUFFER}:{}};}function normalizeSpawnResult(_0x5ab8c7,_0x238794,_0x579dd9,_0x19af44){const _0x6216f8=a262_0x5c2ffd,_0x2a6874=[_0x5ab8c7['stdout']?_0x5ab8c7[_0x6216f8(0x17d)][_0x6216f8(0x186)]():'',_0x5ab8c7[_0x6216f8(0x187)]?_0x5ab8c7[_0x6216f8(0x187)][_0x6216f8(0x186)]():''][_0x6216f8(0x188)](Boolean)['join']('\x0a')[_0x6216f8(0x172)]();_0x19af44!==_0x6216f8(0x157)&&_0x2a6874&&console[_0x6216f8(0x175)](_0x2a6874);if(_0x5ab8c7[_0x6216f8(0x184)]){const _0x287350=_0x5ab8c7[_0x6216f8(0x184)],_0x36db2d=_0x287350['code']===_0x6216f8(0x16f)?'NPX_NOT_FOUND':_0x287350[_0x6216f8(0x179)]==='EPERM'||_0x287350['code']===_0x6216f8(0x17c)?'PERMISSION_DENIED':_0x6216f8(0x15c);return failure(_0x36db2d,_0x5ab8c7[_0x6216f8(0x181)],_0x287350['message']);}if(_0x5ab8c7['signal'])return failure('CHILD_TERMINATED',_0x5ab8c7['status'],'npx\x20terminated\x20by\x20signal\x20'+_0x5ab8c7[_0x6216f8(0x160)]);if(_0x5ab8c7[_0x6216f8(0x181)]!==0x0)return failure('CHILD_EXIT_NONZERO',_0x5ab8c7[_0x6216f8(0x181)],_0x2a6874||'exit\x20'+(_0x5ab8c7[_0x6216f8(0x181)]??_0x6216f8(0x16c)));const _0x219985=_0x238794?resolveInstalledSkill(_0x238794,_0x579dd9):undefined,_0x1a8e5e=_0x2a6874[_0x6216f8(0x17e)](/Failed to install\s+(\d+)/i);if(_0x1a8e5e&&Number(_0x1a8e5e[0x1])>0x0){const _0x15cf6c=_0x6216f8(0x155)+_0x1a8e5e[0x1]+_0x6216f8(0x180)+(_0x2a6874?':\x0a'+_0x2a6874:'');if(_0x219985?.[_0x6216f8(0x176)]===_0x6216f8(0x174))return console[_0x6216f8(0x15d)]('!\x20'+_0x15cf6c),{'ok':!![],'status':0x0};return failure(_0x6216f8(0x15a),0x0,_0x15cf6c);}if(_0x219985){if(_0x219985[_0x6216f8(0x176)]===_0x6216f8(0x165))return failure(_0x6216f8(0x158),0x0,_0x6216f8(0x170)+_0x238794+_0x6216f8(0x16d)+_0x219985[_0x6216f8(0x163)][_0x6216f8(0x185)](',\x20')+')');_0x219985[_0x6216f8(0x176)]===_0x6216f8(0x15f)&&console[_0x6216f8(0x15d)]('!\x20Could\x20not\x20verify\x20\x22'+_0x238794+_0x6216f8(0x15b)+_0x219985['reason']);}return{'ok':!![],'status':0x0};}export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0x1536bd,_0x481d0f){const _0xf90ff5=a262_0x5c2ffd;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x2ed543=_0x481d0f?.[_0xf90ff5(0x17a)]??_0xf90ff5(0x182),_0x274190=resolveNpmBin('npx'),_0x46196e=buildNpxSkillsAddArgv(_0x481d0f?.['skill']),_0x5b48db=[_0xf90ff5(0x183),..._0x46196e][_0xf90ff5(0x185)]('\x20');console[_0xf90ff5(0x175)]('*\x20'+_0x5b48db);const _0xf83f15=spawnSync(_0x274190,_0x46196e,spawnOptions(_0x1536bd,_0x2ed543));return normalizeSpawnResult(_0xf83f15,undefined,undefined,_0x2ed543);}export function runNpxSkillsRemove(_0x551b4e,_0x11204b,_0x5f577e=LEGACY_RABETBASE_SKILL_SOURCE){const _0x43301f=a262_0x5c2ffd;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x1404fe=_0x11204b?.[_0x43301f(0x17a)]??'inherit',_0x38afc7=resolveNpmBin(_0x43301f(0x183)),_0x1f6343=[NPX_FLAG_YES,NPX_SKILLS_CLI,_0x43301f(0x161),_0x5f577e,NPX_SKILLS_FLAG_SKILL,_0x11204b?.[_0x43301f(0x159)]??DEFAULT_RABETBASE_SKILL_NAME,..._0x11204b?.[_0x43301f(0x154)]?['-y']:[]],_0x139035=[_0x38afc7,..._0x1f6343]['join']('\x20');console[_0x43301f(0x175)]('*\x20'+_0x139035);const _0x47b902=spawnSync(_0x38afc7,_0x1f6343,spawnOptions(_0x551b4e,_0x1404fe));return normalizeSpawnResult(_0x47b902,undefined,undefined,_0x1404fe);}export function runNpxSkillsAddGlobal(_0xbceddb,_0x46b683,_0x438c35){const _0x181a46=a262_0x5c2ffd;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x229e59=resolveNpmBin('npx'),_0x434541=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x46b683,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES],_0x1dcf7c=[_0x181a46(0x183),NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x46b683,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][_0x181a46(0x185)]('\x20');console[_0x181a46(0x175)]('*\x20'+_0x1dcf7c);const _0x17c1e0=spawnSync(_0x229e59,_0x434541,spawnOptions(_0xbceddb,_0x181a46(0x157)));return normalizeSpawnResult(_0x17c1e0,_0x438c35?.[_0x181a46(0x16a)]??resolveGlobalSkillName(_0x46b683),_0x438c35?.[_0x181a46(0x169)],_0x438c35?.[_0x181a46(0x17a)]);}
@@ -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
+ function a263_0x5922(){const _0x58dd3d=['reason','unverifiable','.skill-lock.json','absent','kind','not-recorded','15839118JUrbdU','map','message','2251524RodxJP','\x20records\x20\x22','.claude','6EGCJJm','join','home','\x22\x20but\x20no\x20SKILL.md\x20was\x20found\x20in\x20known\x20layouts\x20','\x20is\x20unreadable:\x20','globalSkillsDirs','find','5010888Aapljo','3557456FKcOPf','1911112DuFABw','utf8','.agents','version','4804630dSjOTh','includes','object','34RTTlFR','recorded','parse','\x20has\x20no\x20skills\x20map','unusable','19225oVvuGu','skills','lockFile','present'];a263_0x5922=function(){return _0x58dd3d;};return a263_0x5922();}const a263_0x2d5570=a263_0x43b1;(function(_0x5e6d69,_0x151a1b){const _0x3c8126=a263_0x43b1,_0x416925=_0x5e6d69();while(!![]){try{const _0x16e3f2=-parseInt(_0x3c8126(0x191))/0x1*(-parseInt(_0x3c8126(0x18c))/0x2)+-parseInt(_0x3c8126(0x19e))/0x3+-parseInt(_0x3c8126(0x1a9))/0x4+parseInt(_0x3c8126(0x189))/0x5*(parseInt(_0x3c8126(0x1a1))/0x6)+-parseInt(_0x3c8126(0x1aa))/0x7+-parseInt(_0x3c8126(0x1a8))/0x8+parseInt(_0x3c8126(0x19b))/0x9;if(_0x16e3f2===_0x151a1b)break;else _0x416925['push'](_0x416925['shift']());}catch(_0x555c6a){_0x416925['push'](_0x416925['shift']());}}}(a263_0x5922,0x7c1f4));import{existsSync,readFileSync}from'node:fs';import{homedir}from'node:os';import{join}from'node:path';export const SKILL_LOCK_RELATIVE_PATH=join(a263_0x2d5570(0x1ac),a263_0x2d5570(0x197));export const GLOBAL_SKILLS_DIR_RELATIVE_PATHS=[join('.agents',a263_0x2d5570(0x192)),join(a263_0x2d5570(0x1a0),a263_0x2d5570(0x192))];const SUPPORTED_LOCK_VERSIONS=[0x3];function a263_0x43b1(_0x42f53d,_0x21d33d){_0x42f53d=_0x42f53d-0x189;const _0x59224f=a263_0x5922();let _0x43b1b9=_0x59224f[_0x42f53d];return _0x43b1b9;}function readLockLookup(_0xa6c0fa,_0x31c55b){const _0x1ccf83=a263_0x2d5570;if(!existsSync(_0xa6c0fa))return{'kind':_0x1ccf83(0x19a)};let _0x3dce73;try{_0x3dce73=JSON[_0x1ccf83(0x18e)](readFileSync(_0xa6c0fa,_0x1ccf83(0x1ab)));}catch(_0x4db596){return{'kind':_0x1ccf83(0x190),'reason':_0xa6c0fa+_0x1ccf83(0x1a5)+_0x4db596[_0x1ccf83(0x19d)]};}const _0x1ecd85=_0x3dce73;if(typeof _0x1ecd85?.[_0x1ccf83(0x1ad)]!=='number'||!SUPPORTED_LOCK_VERSIONS[_0x1ccf83(0x18a)](_0x1ecd85[_0x1ccf83(0x1ad)]))return{'kind':_0x1ccf83(0x190),'reason':_0xa6c0fa+'\x20uses\x20unsupported\x20version\x20'+String(_0x1ecd85?.[_0x1ccf83(0x1ad)])};if(!_0x1ecd85[_0x1ccf83(0x192)]||typeof _0x1ecd85[_0x1ccf83(0x192)]!==_0x1ccf83(0x18b))return{'kind':_0x1ccf83(0x190),'reason':_0xa6c0fa+_0x1ccf83(0x18f)};return _0x1ecd85[_0x1ccf83(0x192)][_0x31c55b]?{'kind':_0x1ccf83(0x18d)}:{'kind':_0x1ccf83(0x19a)};}export function resolveInstalledSkill(_0x2a0955,_0x386235){const _0x144a5f=a263_0x2d5570,_0x305e94=_0x386235?.[_0x144a5f(0x1a3)]??homedir(),_0x15283=_0x386235?.[_0x144a5f(0x1a6)]??GLOBAL_SKILLS_DIR_RELATIVE_PATHS['map'](_0x563a14=>join(_0x305e94,_0x563a14)),_0x37b01a=_0x386235?.[_0x144a5f(0x193)]??join(_0x305e94,SKILL_LOCK_RELATIVE_PATH),_0x3f8320=_0x15283[_0x144a5f(0x19c)](_0x1e04ea=>join(_0x1e04ea,_0x2a0955,'SKILL.md')),_0x32d65c=_0x3f8320[_0x144a5f(0x1a7)](_0x288b3e=>existsSync(_0x288b3e));if(_0x32d65c)return{'state':_0x144a5f(0x194),'path':_0x32d65c};const _0x1ebfdc=readLockLookup(_0x37b01a,_0x2a0955);if(_0x1ebfdc[_0x144a5f(0x199)]===_0x144a5f(0x190))return{'state':'unverifiable','reason':_0x1ebfdc[_0x144a5f(0x195)]};if(_0x1ebfdc['kind']===_0x144a5f(0x18d))return{'state':_0x144a5f(0x196),'reason':_0x37b01a+_0x144a5f(0x19f)+_0x2a0955+_0x144a5f(0x1a4)+('('+_0x3f8320[_0x144a5f(0x1a2)](',\x20')+')')};return{'state':_0x144a5f(0x198),'checked':_0x3f8320};}
@@ -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(_0x2a72b1,_0x3897eb){const _0x592085=a264_0x4249,_0x536506=_0x2a72b1();while(!![]){try{const _0xb30bc6=-parseInt(_0x592085(0x14c))/0x1*(-parseInt(_0x592085(0x14d))/0x2)+-parseInt(_0x592085(0x148))/0x3+-parseInt(_0x592085(0x152))/0x4+parseInt(_0x592085(0x14f))/0x5*(parseInt(_0x592085(0x14b))/0x6)+parseInt(_0x592085(0x141))/0x7*(-parseInt(_0x592085(0x149))/0x8)+parseInt(_0x592085(0x147))/0x9+parseInt(_0x592085(0x14e))/0xa;if(_0xb30bc6===_0x3897eb)break;else _0x536506['push'](_0x536506['shift']());}catch(_0x3c59de){_0x536506['push'](_0x536506['shift']());}}}(a264_0x2e6b,0x3f961));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_0x2e6b(){const _0x2f0bc7=['7eMhHuV','stringify','[REDACTED]','durationMs','entries','command','1938213VERbZJ','1381869wZVkes','2240120pJvzak','test','26538zhUFcE','1WuLozF','692178dSlbvE','1003600bpaugc','510grhVrG','rabetbase.command','flags','447460QoLSsu','error'];a264_0x2e6b=function(){return _0x2f0bc7;};return a264_0x2e6b();}function isSensitiveKey(_0x5cd410){const _0x5bbbd7=a264_0x4249;return SENSITIVE_PATTERNS['some'](_0x2a48d1=>_0x2a48d1[_0x5bbbd7(0x14a)](_0x5cd410));}function sanitizeFlags(_0x31cb75){const _0x2e0a33=a264_0x4249,_0x8e2466={};for(const [_0x4a44b0,_0x5230a2]of Object[_0x2e0a33(0x145)](_0x31cb75)){isSensitiveKey(_0x4a44b0)?_0x8e2466[_0x4a44b0]=_0x5230a2!=null&&_0x5230a2!==''?_0x2e0a33(0x143):_0x5230a2:_0x8e2466[_0x4a44b0]=_0x5230a2;}return _0x8e2466;}function a264_0x4249(_0x482112,_0x14613f){_0x482112=_0x482112-0x140;const _0x2e6b96=a264_0x2e6b();let _0x42497d=_0x2e6b96[_0x482112];return _0x42497d;}export async function reportCommandTrace(_0x2eb13b){const _0x5dacf6=a264_0x4249;try{const _0x2e5810=sanitizeFlags(_0x2eb13b[_0x5dacf6(0x151)]);await sendCliTraceLog({'spanName':_0x5dacf6(0x150),'logData':{'command.cli_version':getCliVersion(),'command.service':_0x2eb13b['service'],'command.name':_0x2eb13b[_0x5dacf6(0x146)],'command.flags':JSON[_0x5dacf6(0x142)](_0x2e5810),..._0x2eb13b[_0x5dacf6(0x144)]!=null?{'command.duration_ms':_0x2eb13b['durationMs']}:{},..._0x2eb13b[_0x5dacf6(0x140)]?{'command.error':_0x2eb13b[_0x5dacf6(0x140)]instanceof Error?_0x2eb13b['error']['message']:String(_0x2eb13b[_0x5dacf6(0x140)])}:{}}});}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(_0x2865cf,_0x5161ad){var _0x19922c=a265_0x5499,_0x2ac4bb=_0x2865cf();while(!![]){try{var _0x46c822=-parseInt(_0x19922c(0x1c7))/0x1*(-parseInt(_0x19922c(0x1c1))/0x2)+parseInt(_0x19922c(0x1bd))/0x3*(parseInt(_0x19922c(0x1c9))/0x4)+-parseInt(_0x19922c(0x1c3))/0x5+-parseInt(_0x19922c(0x1c8))/0x6*(-parseInt(_0x19922c(0x1c0))/0x7)+parseInt(_0x19922c(0x1bf))/0x8*(-parseInt(_0x19922c(0x1bc))/0x9)+-parseInt(_0x19922c(0x1c4))/0xa*(-parseInt(_0x19922c(0x1c5))/0xb)+-parseInt(_0x19922c(0x1be))/0xc;if(_0x46c822===_0x5161ad)break;else _0x2ac4bb['push'](_0x2ac4bb['shift']());}catch(_0x168484){_0x2ac4bb['push'](_0x2ac4bb['shift']());}}}(a265_0x5b2c,0xa5938));function a265_0x5499(_0x5251e0,_0x5b2716){_0x5251e0=_0x5251e0-0x1bb;var _0x5b2c57=a265_0x5b2c();var _0x5499e8=_0x5b2c57[_0x5251e0];return _0x5499e8;}function a265_0x5b2c(){var _0x51d50d=['34KnqZVq','error','2224070yyXPuv','110jPgZeC','241406neZlBN','service','55172lDmIgQ','1865034uHuwYW','16bpSOvv','cli.help','Failed\x20to\x20report\x20CLI\x20help\x20trace:','1402425kqVWyf','336981KGMlkj','7908192iGWfPu','40DyvOSZ','21KGWevA'];a265_0x5b2c=function(){return _0x51d50d;};return a265_0x5b2c();}import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export async function reportCliHelpTrace(_0x566bc5,_0xfd37fe){var _0x2cddb9=a265_0x5499;try{await sendCliTraceLog({'spanName':_0x2cddb9(0x1ca),'logData':{'rabetbase.help.kind':_0x566bc5,..._0xfd37fe?.[_0x2cddb9(0x1c6)]&&{'rabetbase.help.service':_0xfd37fe[_0x2cddb9(0x1c6)]}}});}catch(_0x280be3){console[_0x2cddb9(0x1c2)](_0x2cddb9(0x1bb),_0x280be3);}}
@@ -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_0x15b3(_0x3a024a,_0x3f2958){_0x3a024a=_0x3a024a-0x1ea;const _0x40d415=a266_0x40d4();let _0x15b3ad=_0x40d415[_0x3a024a];return _0x15b3ad;}(function(_0x3f9581,_0x221717){const _0x175d6b=a266_0x15b3,_0x25e97a=_0x3f9581();while(!![]){try{const _0x879cc3=-parseInt(_0x175d6b(0x1eb))/0x1+parseInt(_0x175d6b(0x1f6))/0x2*(parseInt(_0x175d6b(0x1f7))/0x3)+parseInt(_0x175d6b(0x1ef))/0x4*(parseInt(_0x175d6b(0x1f9))/0x5)+-parseInt(_0x175d6b(0x1f1))/0x6+parseInt(_0x175d6b(0x1ea))/0x7*(parseInt(_0x175d6b(0x1f8))/0x8)+parseInt(_0x175d6b(0x1f0))/0x9+parseInt(_0x175d6b(0x1ed))/0xa*(-parseInt(_0x175d6b(0x1fa))/0xb);if(_0x879cc3===_0x221717)break;else _0x25e97a['push'](_0x25e97a['shift']());}catch(_0x319712){_0x25e97a['push'](_0x25e97a['shift']());}}}(a266_0x40d4,0x37e5a));import{VERSION,GIT_COMMIT}from'../generated/build-info.js';import{getSessionUserInfo}from'../auth/get-session-user.js';import{setServiceConfig,setUserContext}from'@lovrabet/otel-logger';import{NPM_PACKAGE_NAME}from'../constant/cli.js';import{getConfigAppCode}from'../utils/config.js';let cliOtelTraceInitialized=![];function a266_0x40d4(){const _0x55ab0f=['507MWfpqG','216472NvfQvH','5XilWIv','11RkDrVy','7viEwCe','95890vfENeP','nickname','2152250CqxvWp','unknown','160516MzLJWr','3758724lgPXxH','1412610UaQkcJ','tenant_code','email','username','user','3440gZrCjM'];a266_0x40d4=function(){return _0x55ab0f;};return a266_0x40d4();}export async function ensureCliOtelTraceConfig(){const _0x44241d=a266_0x15b3,_0x384f49=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x464565=_0x384f49?.[_0x44241d(0x1f5)];setServiceConfig({'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!==_0x44241d(0x1ee)?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?'daily':'production')}),setUserContext({'id':_0x464565?.['id'],'username':_0x464565?.[_0x44241d(0x1f4)],'nickname':_0x464565?.[_0x44241d(0x1ec)],'email':_0x464565?.[_0x44241d(0x1f3)],'tenantCode':_0x464565?.['tenant']?.[_0x44241d(0x1f2)],'appCode':getConfigAppCode()}),cliOtelTraceInitialized=!![];}return _0x384f49;}
@@ -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(_0x21eabf,_0x272570){const _0x3ac712=a267_0x2b87,_0x3858a3=_0x21eabf();while(!![]){try{const _0x54f992=parseInt(_0x3ac712(0x16d))/0x1*(-parseInt(_0x3ac712(0x16f))/0x2)+parseInt(_0x3ac712(0x17c))/0x3*(parseInt(_0x3ac712(0x173))/0x4)+-parseInt(_0x3ac712(0x172))/0x5*(parseInt(_0x3ac712(0x17b))/0x6)+-parseInt(_0x3ac712(0x17a))/0x7*(-parseInt(_0x3ac712(0x17d))/0x8)+-parseInt(_0x3ac712(0x171))/0x9*(parseInt(_0x3ac712(0x174))/0xa)+-parseInt(_0x3ac712(0x16b))/0xb*(parseInt(_0x3ac712(0x170))/0xc)+parseInt(_0x3ac712(0x176))/0xd;if(_0x54f992===_0x272570)break;else _0x3858a3['push'](_0x3858a3['shift']());}catch(_0x146ebd){_0x3858a3['push'](_0x3858a3['shift']());}}}(a267_0x3cbe,0xd4151));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 _0x60a50c=a267_0x2b87;process[_0x60a50c(0x177)](_0x60a50c(0x178),()=>{void flushOtelNodeIfUsed();});const _0x3cf2cd=()=>{const _0x4e2bd8=_0x60a50c;void flushOtelNodeIfUsed()[_0x4e2bd8(0x179)](()=>process[_0x4e2bd8(0x16e)](0x0));};process[_0x60a50c(0x177)](_0x60a50c(0x175),_0x3cf2cd),process[_0x60a50c(0x177)](_0x60a50c(0x16c),_0x3cf2cd);}function a267_0x2b87(_0x468f0b,_0xd03888){_0x468f0b=_0x468f0b-0x16b;const _0x3cbe54=a267_0x3cbe();let _0x2b87df=_0x3cbe54[_0x468f0b];return _0x2b87df;}export async function exitWithOtelShutdown(_0x2e1d52){const _0x5c48f8=a267_0x2b87;await flushOtelNodeIfUsed(),process[_0x5c48f8(0x16e)](_0x2e1d52);}function a267_0x3cbe(){const _0x502d3b=['20jrjAKe','15544310vGosyW','SIGINT','46582718Wqwjyx','once','beforeExit','then','1491KDBtlj','48mPnUmc','50793IjhigW','40952DZSqHO','16935149CYocES','SIGTERM','1dLoIza','exit','1489634inpyhY','12eaIiBz','9JxuLPz','31745SHDCfk'];a267_0x3cbe=function(){return _0x502d3b;};return a267_0x3cbe();}
@@ -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_0x4d3ad9=a268_0x46c0;(function(_0x325fcd,_0x2b690d){const _0x6d62c6=a268_0x46c0,_0x3387e7=_0x325fcd();while(!![]){try{const _0x424f7e=parseInt(_0x6d62c6(0x6b))/0x1+-parseInt(_0x6d62c6(0x72))/0x2+parseInt(_0x6d62c6(0x71))/0x3+-parseInt(_0x6d62c6(0x76))/0x4+parseInt(_0x6d62c6(0x6d))/0x5*(-parseInt(_0x6d62c6(0x70))/0x6)+parseInt(_0x6d62c6(0x6f))/0x7+-parseInt(_0x6d62c6(0x74))/0x8*(-parseInt(_0x6d62c6(0x77))/0x9);if(_0x424f7e===_0x2b690d)break;else _0x3387e7['push'](_0x3387e7['shift']());}catch(_0x3b746d){_0x3387e7['push'](_0x3387e7['shift']());}}}(a268_0x2bb1,0x9a7b2));import{sendTraceLog}from'@lovrabet/otel-logger';import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';import{getCliVersion}from'../utils/version.js';function a268_0x46c0(_0x5d9f1f,_0xa762b8){_0x5d9f1f=_0x5d9f1f-0x6b;const _0x2bb197=a268_0x2bb1();let _0x46c094=_0x2bb197[_0x5d9f1f];return _0x46c094;}function a268_0x2bb1(){const _0x42cec1=['6PkAVYf','2949870vVcEOU','2328614IJtkzG','traceName','8jIgsqV','rabetbase-cli','48056gnjDSX','4120821jGgPJn','logData','926599SUBPxB','version','3752820ktxjuB','traceparent','1343167xVGQEG'];a268_0x2bb1=function(){return _0x42cec1;};return a268_0x2bb1();}const DEFAULT_TRACE_NAME=a268_0x4d3ad9(0x75);export async function sendCliTraceLog(_0x54a51e){const _0x3874e3=a268_0x4d3ad9;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x54a51e[_0x3874e3(0x73)]??DEFAULT_TRACE_NAME,'version':_0x54a51e[_0x3874e3(0x6c)]??getCliVersion(),'spanName':_0x54a51e['spanName'],'eventType':'manual','logData':_0x54a51e[_0x3874e3(0x78)],..._0x54a51e['traceparent']&&{'traceparent':_0x54a51e[_0x3874e3(0x6e)]}});}
@@ -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
+ const a269_0x333070=a269_0x4bd4;function a269_0x4bd4(_0x5703fb,_0x120308){_0x5703fb=_0x5703fb-0x1af;const _0x25c226=a269_0x25c2();let _0x4bd41a=_0x25c226[_0x5703fb];return _0x4bd41a;}(function(_0x1b689a,_0x10f7ca){const _0x92d1c=a269_0x4bd4,_0x1a2525=_0x1b689a();while(!![]){try{const _0x2caeaf=parseInt(_0x92d1c(0x1b6))/0x1*(-parseInt(_0x92d1c(0x1bf))/0x2)+-parseInt(_0x92d1c(0x1b2))/0x3*(parseInt(_0x92d1c(0x1bc))/0x4)+parseInt(_0x92d1c(0x1bd))/0x5+-parseInt(_0x92d1c(0x1c0))/0x6+-parseInt(_0x92d1c(0x1b1))/0x7+-parseInt(_0x92d1c(0x1b7))/0x8*(-parseInt(_0x92d1c(0x1c2))/0x9)+-parseInt(_0x92d1c(0x1bb))/0xa*(-parseInt(_0x92d1c(0x1b4))/0xb);if(_0x2caeaf===_0x10f7ca)break;else _0x1a2525['push'](_0x1a2525['shift']());}catch(_0x380306){_0x1a2525['push'](_0x1a2525['shift']());}}}(a269_0x25c2,0x76272));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';function a269_0x25c2(){const _0x59e677=['5045Kwbjxn','291864qYbvYW','join','redactionCount','originalBytes','10NCjGZK','475420MzKUkd','2628625etNSrN','sanitize','126hVlIeV','5230020QYzDPR','platform-issue-log-collect','72bYkasT','issue.log.collect','description','3649016uZzufQ','9fqSppq','redactionKinds','19070953vcqSoW','title'];a269_0x25c2=function(){return _0x59e677;};return a269_0x25c2();}export const PLATFORM_ISSUE_TRACE_NAME=a269_0x333070(0x1c1);export const PLATFORM_ISSUE_SPAN_NAME=a269_0x333070(0x1af);export async function sendPlatformIssueCollectLog(_0x48d483){const _0x5248e9=a269_0x333070;await sendCliTraceLog({'traceName':PLATFORM_ISSUE_TRACE_NAME,'spanName':PLATFORM_ISSUE_SPAN_NAME,'logData':{'issue.title':_0x48d483[_0x5248e9(0x1b5)],'issue.description':_0x48d483[_0x5248e9(0x1b0)],..._0x48d483['sanitize']?{'issue.description_original_bytes':_0x48d483[_0x5248e9(0x1be)][_0x5248e9(0x1ba)],'issue.description_truncated':_0x48d483['sanitize']['truncated'],'issue.description_redactions':_0x48d483[_0x5248e9(0x1be)][_0x5248e9(0x1b9)],'issue.description_redaction_kinds':_0x48d483[_0x5248e9(0x1be)][_0x5248e9(0x1b3)][_0x5248e9(0x1b8)](',')}:{}}});}
@@ -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_0x4719eb=a271_0x499e;(function(_0x559ba1,_0x12ddba){const _0x117865=a271_0x499e,_0x1ed541=_0x559ba1();while(!![]){try{const _0x42a21=parseInt(_0x117865(0x1e4))/0x1+parseInt(_0x117865(0x21e))/0x2*(-parseInt(_0x117865(0x1e6))/0x3)+parseInt(_0x117865(0x202))/0x4+-parseInt(_0x117865(0x20e))/0x5*(parseInt(_0x117865(0x1eb))/0x6)+parseInt(_0x117865(0x209))/0x7+parseInt(_0x117865(0x203))/0x8+parseInt(_0x117865(0x1f8))/0x9*(parseInt(_0x117865(0x213))/0xa);if(_0x42a21===_0x12ddba)break;else _0x1ed541['push'](_0x1ed541['shift']());}catch(_0x2ce521){_0x1ed541['push'](_0x1ed541['shift']());}}}(a271_0x5c85,0xc63ad));export const CORE_IDE_CONFIGS={'cursor':{'name':a271_0x4719eb(0x21b),'description':a271_0x4719eb(0x1fc),'folders':['.cursorrules',a271_0x4719eb(0x201)],'files':[{'type':'file','path':a271_0x4719eb(0x212),'template':'SKILL.md.tpl'}]},'windsurf':{'name':a271_0x4719eb(0x1ea),'description':a271_0x4719eb(0x1f6),'folders':[a271_0x4719eb(0x1f7)],'files':[{'type':a271_0x4719eb(0x1f1),'path':a271_0x4719eb(0x216),'template':'SKILL.md.tpl'}]},'claude':{'name':a271_0x4719eb(0x1e9),'description':a271_0x4719eb(0x1e9),'folders':[a271_0x4719eb(0x1ff)],'files':[{'type':a271_0x4719eb(0x1f1),'path':a271_0x4719eb(0x1fe),'template':'SKILL.md.tpl'}]},'cline':{'name':'Cline','description':a271_0x4719eb(0x20f),'folders':[a271_0x4719eb(0x206)],'files':[{'type':a271_0x4719eb(0x1f1),'path':a271_0x4719eb(0x1e8),'template':'SKILL.md.tpl'}]},'codex':{'name':a271_0x4719eb(0x1fd),'description':a271_0x4719eb(0x1ee),'folders':[a271_0x4719eb(0x218)],'files':[{'type':'file','path':a271_0x4719eb(0x215),'template':a271_0x4719eb(0x1e7)}]},'opencode':{'name':'OpenCode','description':'OpenCode\x20IDE','folders':[a271_0x4719eb(0x1fb)],'files':[{'type':a271_0x4719eb(0x1f1),'path':'.opencode/skills/lovrabet/SKILL.md','template':a271_0x4719eb(0x1e7)}]},'qoder':{'name':a271_0x4719eb(0x219),'description':a271_0x4719eb(0x208),'folders':[a271_0x4719eb(0x1f9)],'files':[{'type':a271_0x4719eb(0x1f1),'path':'.qoder/rules/rabetbase.md','template':a271_0x4719eb(0x1e7)},{'type':a271_0x4719eb(0x1f1),'path':a271_0x4719eb(0x200),'template':a271_0x4719eb(0x1e7)}]},'codebuddy':{'name':a271_0x4719eb(0x210),'description':a271_0x4719eb(0x1f2),'folders':[a271_0x4719eb(0x1f3)],'files':[{'type':a271_0x4719eb(0x1f1),'path':a271_0x4719eb(0x1f0),'template':a271_0x4719eb(0x1e7)}]},'trae':{'name':a271_0x4719eb(0x20b),'description':a271_0x4719eb(0x1e5),'folders':['.trae'],'files':[{'type':a271_0x4719eb(0x1f1),'path':a271_0x4719eb(0x204),'template':a271_0x4719eb(0x1e7)}]}};export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':a271_0x4719eb(0x1f4),'description':a271_0x4719eb(0x1f5),'folders':['.agent'],'files':[{'type':a271_0x4719eb(0x1f1),'path':a271_0x4719eb(0x21d),'template':a271_0x4719eb(0x1e7)}]},'antigravity':{'name':a271_0x4719eb(0x20a),'description':a271_0x4719eb(0x207),'folders':[a271_0x4719eb(0x20c)],'files':[{'type':a271_0x4719eb(0x1f1),'path':a271_0x4719eb(0x21d),'template':a271_0x4719eb(0x1e7)}]}};function a271_0x499e(_0x27b7ed,_0x205f99){_0x27b7ed=_0x27b7ed-0x1e4;const _0x5c8538=a271_0x5c85();let _0x499e1b=_0x5c8538[_0x27b7ed];return _0x499e1b;}export const CORE_IDE_LIST=[a271_0x4719eb(0x1fa),'cline','codebuddy','codex',a271_0x4719eb(0x21a),'opencode',a271_0x4719eb(0x1ec),a271_0x4719eb(0x20d),a271_0x4719eb(0x205)];export const IDE_LIST=[a271_0x4719eb(0x1ed),'claude',a271_0x4719eb(0x211),a271_0x4719eb(0x214),'codex','cursor',a271_0x4719eb(0x21c),a271_0x4719eb(0x1ec),'trae','windsurf',a271_0x4719eb(0x1ef)];function a271_0x5c85(){const _0x2024ee=['.opencode','Cursor\x20IDE','Codex','.claude/skills/lovrabet/SKILL.md','.claude','.qoder/skills/lovrabet/SKILL.md','.cursor','1915452eTcctj','2020192wbFHbM','.trae/skills/lovrabet/SKILL.md','windsurf','.cline','Antigravity\x20IDE','Qoder\x20IDE','165830NuekaR','Antigravity','Trae','.agent','trae','20uDJfuX','Cline\x20IDE','CodeBuddy','cline','.cursor/skills/rabetbase.md','24915130zBFDVP','codebuddy','.codex/skills/lovrabet/SKILL.md','.windsurf/workflows/rabetbase.md','codex','.codex','Qoder','cursor','Cursor','opencode','.agent/skills/lovrabet/SKILL.md','4142mrJGKK','524612kYNAoN','Trae\x20IDE','2325HQQsEZ','SKILL.md.tpl','.cline/skills/lovrabet/SKILL.md','Claude\x20Code','Windsurf','2031342QmpKNb','qoder','antigravity','Codex\x20IDE','agent','.codebuddy/skills/lovrabet/SKILL.md','file','CodeBuddy\x20IDE','.codebuddy','其他\x20(通用模板)','通用模板\x20-\x20兜底方案','Windsurf\x20IDE','.windsurf','9tkHQxf','.qoder','claude'];a271_0x5c85=function(){return _0x2024ee;};return a271_0x5c85();}export const ALL_CORE_IDES=[a271_0x4719eb(0x21a),a271_0x4719eb(0x205),a271_0x4719eb(0x1fa),a271_0x4719eb(0x211),a271_0x4719eb(0x217),a271_0x4719eb(0x21c),'qoder',a271_0x4719eb(0x214),a271_0x4719eb(0x20d)];