@lovrabet/rabetbase-cli 2.5.4-beta.5 → 2.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (358) hide show
  1. package/lib/api/api-doc.js +1 -1
  2. package/lib/api/api-group.js +1 -1
  3. package/lib/api/fetch-model-list.js +1 -1
  4. package/lib/api/generate-api-file.js +1 -1
  5. package/lib/api/generate-sdk-config-file.js +1 -1
  6. package/lib/api/legacy-api-file.js +1 -1
  7. package/lib/api/model-registry-file.js +1 -1
  8. package/lib/api/model-registry-scaffold.js +1 -1
  9. package/lib/api/model-source.js +1 -1
  10. package/lib/auth/auth-server-ui.js +1 -1
  11. package/lib/auth/auth-server.js +1 -1
  12. package/lib/auth/constant.js +1 -1
  13. package/lib/auth/get-cookie.js +1 -1
  14. package/lib/auth/get-session-user.js +1 -1
  15. package/lib/auth/is-session-valid.js +1 -1
  16. package/lib/auth/login-success-html.js +1 -1
  17. package/lib/auth/logout.js +1 -1
  18. package/lib/cli-flags.js +1 -1
  19. package/lib/cli.js +1 -1
  20. package/lib/commands/api/generate.js +1 -1
  21. package/lib/commands/api/index.js +1 -1
  22. package/lib/commands/api/list.js +1 -1
  23. package/lib/commands/api/pull.js +1 -1
  24. package/lib/commands/api/shared.js +1 -1
  25. package/lib/commands/app/detail.js +1 -1
  26. package/lib/commands/app/index.js +1 -1
  27. package/lib/commands/app/list.js +1 -1
  28. package/lib/commands/app/members-list.js +1 -1
  29. package/lib/commands/app/remote-directory.js +1 -1
  30. package/lib/commands/app/shared.js +1 -1
  31. package/lib/commands/app-config/delete.js +1 -1
  32. package/lib/commands/app-config/get.js +1 -1
  33. package/lib/commands/app-config/index.js +1 -1
  34. package/lib/commands/app-config/list.js +1 -1
  35. package/lib/commands/app-config/set.js +1 -1
  36. package/lib/commands/app-config/shared.js +1 -1
  37. package/lib/commands/auth/index.js +1 -1
  38. package/lib/commands/bff/create.js +1 -1
  39. package/lib/commands/bff/delete.js +1 -1
  40. package/lib/commands/bff/detail.js +1 -1
  41. package/lib/commands/bff/index.js +1 -1
  42. package/lib/commands/bff/list.js +1 -1
  43. package/lib/commands/bff/logs.js +1 -1
  44. package/lib/commands/bff/pull.js +1 -1
  45. package/lib/commands/bff/push.js +1 -1
  46. package/lib/commands/bff/status.js +1 -1
  47. package/lib/commands/cli-skill/index.js +1 -1
  48. package/lib/commands/cli-update.js +1 -1
  49. package/lib/commands/codegen/index.js +1 -1
  50. package/lib/commands/codegen/sdk.js +1 -1
  51. package/lib/commands/codegen/sql.js +1 -1
  52. package/lib/commands/common/app-registry.js +1 -1
  53. package/lib/commands/common/app-selector.js +1 -1
  54. package/lib/commands/common/async-task.js +1 -1
  55. package/lib/commands/common/dry-run.js +1 -1
  56. package/lib/commands/common/flags.js +1 -1
  57. package/lib/commands/common/local-file.js +1 -1
  58. package/lib/commands/common/validate.js +1 -1
  59. package/lib/commands/config/delete.js +1 -1
  60. package/lib/commands/config/get.js +1 -1
  61. package/lib/commands/config/index.js +1 -1
  62. package/lib/commands/config/init.js +1 -1
  63. package/lib/commands/config/list.js +1 -1
  64. package/lib/commands/config/set.js +1 -1
  65. package/lib/commands/config/shared.js +1 -1
  66. package/lib/commands/dataset/batch-design.js +1 -1
  67. package/lib/commands/dataset/business-group-update.js +1 -1
  68. package/lib/commands/dataset/business-groups.js +1 -1
  69. package/lib/commands/dataset/capability.js +1 -1
  70. package/lib/commands/dataset/cross-relation-create.js +1 -1
  71. package/lib/commands/dataset/cross-relation-delete.js +1 -1
  72. package/lib/commands/dataset/cross-relation-list.js +1 -1
  73. package/lib/commands/dataset/cross-relation-shared.js +1 -1
  74. package/lib/commands/dataset/cross-relation-update.js +1 -1
  75. package/lib/commands/dataset/delete.js +1 -1
  76. package/lib/commands/dataset/detail.js +1 -1
  77. package/lib/commands/dataset/extend-update.js +1 -1
  78. package/lib/commands/dataset/field-restore.js +1 -1
  79. package/lib/commands/dataset/field-update.js +1 -1
  80. package/lib/commands/dataset/generate.js +1 -1
  81. package/lib/commands/dataset/index.js +1 -1
  82. package/lib/commands/dataset/list.js +1 -1
  83. package/lib/commands/dataset/operations.js +1 -1
  84. package/lib/commands/dataset/relation-audit.js +1 -1
  85. package/lib/commands/dataset/relation-create.js +1 -1
  86. package/lib/commands/dataset/relation-delete.js +1 -1
  87. package/lib/commands/dataset/relation-shared.js +1 -1
  88. package/lib/commands/dataset/relation-update.js +1 -1
  89. package/lib/commands/dataset/relations.js +1 -1
  90. package/lib/commands/dataset/rename.js +1 -1
  91. package/lib/commands/dataset/restore.js +1 -1
  92. package/lib/commands/dataset/user-deleted-field-list.js +1 -1
  93. package/lib/commands/db/analysis-batching.js +1 -1
  94. package/lib/commands/db/analyze-batch-plan.js +1 -1
  95. package/lib/commands/db/analyze-cancel.js +1 -1
  96. package/lib/commands/db/analyze-start.js +1 -1
  97. package/lib/commands/db/analyze-status.js +1 -1
  98. package/lib/commands/db/create.js +1 -1
  99. package/lib/commands/db/delete.js +1 -1
  100. package/lib/commands/db/detail.js +1 -1
  101. package/lib/commands/db/diff-refresh-start.js +1 -1
  102. package/lib/commands/db/diff-refresh-status.js +1 -1
  103. package/lib/commands/db/diff.js +1 -1
  104. package/lib/commands/db/index.js +1 -1
  105. package/lib/commands/db/list.js +1 -1
  106. package/lib/commands/db/shared.js +1 -1
  107. package/lib/commands/db/table-diff-shared.js +1 -1
  108. package/lib/commands/db/tables.js +1 -1
  109. package/lib/commands/db/test.js +1 -1
  110. package/lib/commands/db/update.js +1 -1
  111. package/lib/commands/deployment/index.js +1 -1
  112. package/lib/commands/deployment/sync-all.js +1 -1
  113. package/lib/commands/deployment/sync-jobs.js +1 -1
  114. package/lib/commands/deployment/sync-status.js +1 -1
  115. package/lib/commands/doctor.js +1 -1
  116. package/lib/commands/file/index.js +1 -1
  117. package/lib/commands/flow/create.js +1 -1
  118. package/lib/commands/flow/detail.js +1 -1
  119. package/lib/commands/flow/index.js +1 -1
  120. package/lib/commands/flow/list.js +1 -1
  121. package/lib/commands/flow/publish.js +1 -1
  122. package/lib/commands/flow/runtime-resources-shared.js +1 -1
  123. package/lib/commands/flow/runtime-role-list.js +1 -1
  124. package/lib/commands/flow/runtime-role-user-list.js +1 -1
  125. package/lib/commands/flow/runtime-user-search.js +1 -1
  126. package/lib/commands/flow/shared.js +1 -1
  127. package/lib/commands/flow/update.js +1 -1
  128. package/lib/commands/flow/validate.js +1 -1
  129. package/lib/commands/instant-api-policy/current.js +1 -1
  130. package/lib/commands/instant-api-policy/index.js +1 -1
  131. package/lib/commands/instant-api-policy/init.js +1 -1
  132. package/lib/commands/instant-api-policy/publish.js +1 -1
  133. package/lib/commands/instant-api-policy/pull.js +1 -1
  134. package/lib/commands/instant-api-policy/revision.js +1 -1
  135. package/lib/commands/instant-api-policy/revisions.js +1 -1
  136. package/lib/commands/instant-api-policy/rollback.js +1 -1
  137. package/lib/commands/instant-api-policy/shared.js +1 -1
  138. package/lib/commands/instant-api-policy/validate.js +1 -1
  139. package/lib/commands/issue/index.js +1 -1
  140. package/lib/commands/issue/nudge.js +1 -1
  141. package/lib/commands/issue/report.js +1 -1
  142. package/lib/commands/issue/shared.js +1 -1
  143. package/lib/commands/kb/create.js +1 -1
  144. package/lib/commands/kb/delete.js +1 -1
  145. package/lib/commands/kb/detail.js +1 -1
  146. package/lib/commands/kb/index.js +1 -1
  147. package/lib/commands/kb/list.js +1 -1
  148. package/lib/commands/kb/search.js +1 -1
  149. package/lib/commands/kb/shared.js +1 -1
  150. package/lib/commands/kb/update.js +1 -1
  151. package/lib/commands/logs/index.js +1 -1
  152. package/lib/commands/menu/asset-update.js +1 -1
  153. package/lib/commands/menu/delete.js +1 -1
  154. package/lib/commands/menu/external-link-create.js +1 -1
  155. package/lib/commands/menu/external-link-update.js +1 -1
  156. package/lib/commands/menu/group-create.js +1 -1
  157. package/lib/commands/menu/group-update.js +1 -1
  158. package/lib/commands/menu/index.js +1 -1
  159. package/lib/commands/menu/list.js +1 -1
  160. package/lib/commands/menu/move.js +1 -1
  161. package/lib/commands/menu/regroup-start.js +1 -1
  162. package/lib/commands/menu/rename.js +1 -1
  163. package/lib/commands/menu/shared/compare-table.js +1 -1
  164. package/lib/commands/menu/shared/delete-plan.js +1 -1
  165. package/lib/commands/menu/shared/facts.js +1 -1
  166. package/lib/commands/menu/shared/index.js +1 -1
  167. package/lib/commands/menu/shared/inquirer.js +1 -1
  168. package/lib/commands/menu/shared/local-pages.js +1 -1
  169. package/lib/commands/menu/shared/logic.js +1 -1
  170. package/lib/commands/menu/shared/mutations.js +1 -1
  171. package/lib/commands/menu/shared/path.js +1 -1
  172. package/lib/commands/menu/shared/service.js +1 -1
  173. package/lib/commands/menu/shared/subapp-assets.js +1 -1
  174. package/lib/commands/menu/shared/sync-core.js +1 -1
  175. package/lib/commands/menu/shared/update-core.js +1 -1
  176. package/lib/commands/menu/shared/valid-url.js +1 -1
  177. package/lib/commands/menu/subapp-assets-status.js +1 -1
  178. package/lib/commands/menu/subapp-assets-update.js +1 -1
  179. package/lib/commands/menu/sync.js +1 -1
  180. package/lib/commands/menu/visibility-update.js +1 -1
  181. package/lib/commands/notification/config-create.js +1 -1
  182. package/lib/commands/notification/config-delete.js +1 -1
  183. package/lib/commands/notification/config-list.js +1 -1
  184. package/lib/commands/notification/config-update.js +1 -1
  185. package/lib/commands/notification/index.js +1 -1
  186. package/lib/commands/notification/shared.js +1 -1
  187. package/lib/commands/ocr/index.js +1 -1
  188. package/lib/commands/page/create.js +1 -1
  189. package/lib/commands/page/custom/detail.js +1 -1
  190. package/lib/commands/page/custom/list.js +1 -1
  191. package/lib/commands/page/custom/publish.js +1 -1
  192. package/lib/commands/page/custom/shared.js +1 -1
  193. package/lib/commands/page/custom/syntax.js +1 -1
  194. package/lib/commands/page/custom/update.js +1 -1
  195. package/lib/commands/page/data-list-status.js +1 -1
  196. package/lib/commands/page/generate-start.js +1 -1
  197. package/lib/commands/page/generate-status.js +1 -1
  198. package/lib/commands/page/index.js +1 -1
  199. package/lib/commands/page/pull.js +1 -1
  200. package/lib/commands/page/push.js +1 -1
  201. package/lib/commands/page/relation-audit.js +1 -1
  202. package/lib/commands/page/restore.js +1 -1
  203. package/lib/commands/page/shared.js +1 -1
  204. package/lib/commands/page/sync.js +1 -1
  205. package/lib/commands/project/api-architecture-upgrade.js +1 -1
  206. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  207. package/lib/commands/project/create/format-elapsed.js +1 -1
  208. package/lib/commands/project/create/main.js +1 -1
  209. package/lib/commands/project/create/materialize-project-template.js +1 -1
  210. package/lib/commands/project/create/project-name.js +1 -1
  211. package/lib/commands/project/create/project-template-archive.js +1 -1
  212. package/lib/commands/project/create/project-template-path.js +1 -1
  213. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  214. package/lib/commands/project/create/use-format-code.js +1 -1
  215. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  216. package/lib/commands/project/domain-routing-sync.js +1 -1
  217. package/lib/commands/project/index.js +1 -1
  218. package/lib/commands/project/upgrade.js +1 -1
  219. package/lib/commands/registry.js +1 -1
  220. package/lib/commands/role/delete.js +1 -1
  221. package/lib/commands/role/detail.js +1 -1
  222. package/lib/commands/role/index.js +1 -1
  223. package/lib/commands/role/list.js +1 -1
  224. package/lib/commands/role/shared.js +1 -1
  225. package/lib/commands/role/update.js +1 -1
  226. package/lib/commands/role/user-add.js +1 -1
  227. package/lib/commands/role/user-remove.js +1 -1
  228. package/lib/commands/role/user-resolve.js +1 -1
  229. package/lib/commands/rule/get.js +1 -1
  230. package/lib/commands/rule/index.js +1 -1
  231. package/lib/commands/rule/list.js +1 -1
  232. package/lib/commands/rule/set.js +1 -1
  233. package/lib/commands/rule/shared.js +1 -1
  234. package/lib/commands/run/index.js +1 -1
  235. package/lib/commands/schema.js +1 -1
  236. package/lib/commands/sql/create.js +1 -1
  237. package/lib/commands/sql/delete.js +1 -1
  238. package/lib/commands/sql/detail.js +1 -1
  239. package/lib/commands/sql/exec.js +1 -1
  240. package/lib/commands/sql/index.js +1 -1
  241. package/lib/commands/sql/list.js +1 -1
  242. package/lib/commands/sql/pull.js +1 -1
  243. package/lib/commands/sql/push.js +1 -1
  244. package/lib/commands/sql/shared.js +1 -1
  245. package/lib/commands/sql/status.js +1 -1
  246. package/lib/commands/sql/validate.js +1 -1
  247. package/lib/commands/task/index.js +1 -1
  248. package/lib/commands/task/status.js +1 -1
  249. package/lib/commands/tenant/index.js +1 -1
  250. package/lib/commands/tenant/members-list.js +1 -1
  251. package/lib/commands/tenant/shared.js +1 -1
  252. package/lib/commands/user-account/dingding-sandbox-bind.js +1 -1
  253. package/lib/commands/user-account/feishu-bind.js +1 -1
  254. package/lib/commands/user-account/index.js +1 -1
  255. package/lib/commands/workspace/add.js +1 -1
  256. package/lib/commands/workspace/index.js +1 -1
  257. package/lib/commands/workspace/remove.js +1 -1
  258. package/lib/config/domain-config.js +1 -1
  259. package/lib/config/project-domain-routing.js +1 -1
  260. package/lib/config/region-config.js +1 -1
  261. package/lib/config/schema.js +1 -1
  262. package/lib/constant/cdn.js +1 -1
  263. package/lib/constant/cli.js +1 -1
  264. package/lib/constant/defaults.js +1 -1
  265. package/lib/constant/domain.js +1 -1
  266. package/lib/constant/env.js +1 -1
  267. package/lib/constant/output.js +1 -1
  268. package/lib/constant/paths.js +1 -1
  269. package/lib/constant/region.js +1 -1
  270. package/lib/constant/risk.js +1 -1
  271. package/lib/constant/routing-profile.js +1 -1
  272. package/lib/context/app-resolver.js +1 -1
  273. package/lib/context/auth-resolver.js +1 -1
  274. package/lib/context/config-loader.js +1 -1
  275. package/lib/context.js +1 -1
  276. package/lib/core/alias-resolver.js +1 -1
  277. package/lib/core/api-client.js +1 -1
  278. package/lib/core/bff/config.js +1 -1
  279. package/lib/core/bff/file-system.js +1 -1
  280. package/lib/core/bff/hash.js +1 -1
  281. package/lib/core/bff/hook-directory.js +1 -1
  282. package/lib/core/bff/lock.js +1 -1
  283. package/lib/core/bff/utils.js +1 -1
  284. package/lib/core/cross-db-relation.js +1 -1
  285. package/lib/core/db-resolver.js +1 -1
  286. package/lib/core/flow-config.js +1 -1
  287. package/lib/core/instant-api-policy/config.js +1 -1
  288. package/lib/core/kb-search-client.js +1 -1
  289. package/lib/core/page/file-system.js +1 -1
  290. package/lib/core/page/hash.js +1 -1
  291. package/lib/core/page/lock.js +1 -1
  292. package/lib/core/page/lr-smart-jsx.js +1 -1
  293. package/lib/core/sql-index-auditor.js +1 -1
  294. package/lib/core/sql-sync/config.js +1 -1
  295. package/lib/core/sql-sync/file-system.js +1 -1
  296. package/lib/core/sql-sync/hash.js +1 -1
  297. package/lib/core/sql-sync/lock.js +1 -1
  298. package/lib/core/sql-sync/utils.js +1 -1
  299. package/lib/core/sql-validator.js +1 -1
  300. package/lib/errors.js +1 -1
  301. package/lib/framework/build-all-flags.js +1 -1
  302. package/lib/framework/error-output.js +1 -1
  303. package/lib/framework/explicit-yes.js +1 -1
  304. package/lib/framework/flags.js +1 -1
  305. package/lib/framework/help.js +1 -1
  306. package/lib/framework/index.js +1 -1
  307. package/lib/framework/output.js +1 -1
  308. package/lib/framework/response.js +1 -1
  309. package/lib/framework/runner-alias.js +1 -1
  310. package/lib/framework/runner.js +1 -1
  311. package/lib/framework/schema-export.js +1 -1
  312. package/lib/framework/supported-flags.js +1 -1
  313. package/lib/framework/types.js +1 -1
  314. package/lib/generated/build-info.d.ts +4 -4
  315. package/lib/generated/build-info.js +1 -1
  316. package/lib/generated/official-routing.js +1 -1
  317. package/lib/generated/routing-contract.js +1 -1
  318. package/lib/help.js +1 -1
  319. package/lib/postinstall.js +1 -1
  320. package/lib/runtime/confirmation.js +1 -1
  321. package/lib/runtime/event.js +1 -1
  322. package/lib/runtime/index.js +1 -1
  323. package/lib/runtime/queue.js +1 -1
  324. package/lib/runtime/resolve.js +1 -1
  325. package/lib/skills/builtin-skill.js +1 -1
  326. package/lib/skills/main.js +1 -1
  327. package/lib/skills/npx-skills-add.js +1 -1
  328. package/lib/skills/skill-presence.js +1 -1
  329. package/lib/telemetry/cli-command-trace.js +1 -1
  330. package/lib/telemetry/cli-help-trace.js +1 -1
  331. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  332. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  333. package/lib/telemetry/send-cli-trace-log.js +1 -1
  334. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  335. package/lib/utils/ai_config.js +1 -1
  336. package/lib/utils/apply-jq-filter.js +1 -1
  337. package/lib/utils/cdn-config.js +1 -1
  338. package/lib/utils/check-sdk-version.js +1 -1
  339. package/lib/utils/cli-version-check.js +1 -1
  340. package/lib/utils/cli-version-policy.js +1 -1
  341. package/lib/utils/config.js +1 -1
  342. package/lib/utils/entity-with-id.js +1 -1
  343. package/lib/utils/file-utils.js +1 -1
  344. package/lib/utils/guides-cdn.js +1 -1
  345. package/lib/utils/http-client.js +1 -1
  346. package/lib/utils/is-non-interactive.js +1 -1
  347. package/lib/utils/logger.js +1 -1
  348. package/lib/utils/params.js +1 -1
  349. package/lib/utils/platform.js +1 -1
  350. package/lib/utils/sleep.js +1 -1
  351. package/lib/utils/template-replacer.js +1 -1
  352. package/lib/utils/update-notice.js +1 -1
  353. package/lib/utils/version.js +1 -1
  354. package/lib/utils/with-active-cookie.js +1 -1
  355. package/lib/utils/write-cli-side-channel.js +1 -1
  356. package/package.json +1 -1
  357. package/skills/rabetbase/SKILL.md +1 -1
  358. package/skills/rabetbase.manifest.json +3 -3
@@ -1 +1 @@
1
- function a311_0x3c9a(){var _0x586d4e=['10SRDMmR','26jjChGW','118989yPdeeJ','18oRibvK','784490yOtnIK','1699zDnCed','45sDLNMU','852299ZQdhlO','528064gHckHx','5096003AtBwaH','78904UnnkQT'];a311_0x3c9a=function(){return _0x586d4e;};return a311_0x3c9a();}function a311_0x1ad1(_0x3e4eb7,_0x40972d){_0x3e4eb7=_0x3e4eb7-0x1ce;var _0x3c9aec=a311_0x3c9a();var _0x1ad1a5=_0x3c9aec[_0x3e4eb7];return _0x1ad1a5;}(function(_0x485abe,_0x229989){var _0x3342b9=a311_0x1ad1,_0x590442=_0x485abe();while(!![]){try{var _0x1f4699=parseInt(_0x3342b9(0x1d8))/0x1*(parseInt(_0x3342b9(0x1d4))/0x2)+parseInt(_0x3342b9(0x1ce))/0x3*(parseInt(_0x3342b9(0x1d2))/0x4)+-parseInt(_0x3342b9(0x1d7))/0x5+parseInt(_0x3342b9(0x1d6))/0x6*(-parseInt(_0x3342b9(0x1cf))/0x7)+-parseInt(_0x3342b9(0x1d0))/0x8+parseInt(_0x3342b9(0x1d5))/0x9+-parseInt(_0x3342b9(0x1d3))/0xa*(-parseInt(_0x3342b9(0x1d1))/0xb);if(_0x1f4699===_0x229989)break;else _0x590442['push'](_0x590442['shift']());}catch(_0x1cd093){_0x590442['push'](_0x590442['shift']());}}}(a311_0x3c9a,0x325d6));export{extractList,extractPaging}from'@lovrabet/cli-framework';
1
+ function a311_0x5dbb(_0x4bc1a7,_0x5d4c64){_0x4bc1a7=_0x4bc1a7-0x7f;var _0x353bc5=a311_0x353b();var _0x5dbb58=_0x353bc5[_0x4bc1a7];return _0x5dbb58;}function a311_0x353b(){var _0x58d051=['993545TZRrRg','8315307oXvvxQ','526XmPoVN','1514JvDTPu','12xpwTPZ','54651aXuulX','238401dHcBqb','536102NrKBJl','6ULXuBh','1162856TqmDkb','140aySkpp'];a311_0x353b=function(){return _0x58d051;};return a311_0x353b();}(function(_0x231310,_0xf98982){var _0x492fc2=a311_0x5dbb,_0x1cacaf=_0x231310();while(!![]){try{var _0x31edea=-parseInt(_0x492fc2(0x80))/0x1*(parseInt(_0x492fc2(0x81))/0x2)+parseInt(_0x492fc2(0x83))/0x3*(-parseInt(_0x492fc2(0x82))/0x4)+parseInt(_0x492fc2(0x89))/0x5*(parseInt(_0x492fc2(0x86))/0x6)+-parseInt(_0x492fc2(0x85))/0x7+parseInt(_0x492fc2(0x87))/0x8+parseInt(_0x492fc2(0x84))/0x9*(-parseInt(_0x492fc2(0x88))/0xa)+parseInt(_0x492fc2(0x7f))/0xb;if(_0x31edea===_0xf98982)break;else _0x1cacaf['push'](_0x1cacaf['shift']());}catch(_0x134cb4){_0x1cacaf['push'](_0x1cacaf['shift']());}}}(a311_0x353b,0x30c3a));export{extractList,extractPaging}from'@lovrabet/cli-framework';
@@ -1 +1 @@
1
- (function(_0x5b3cd8,_0x128436){const _0x3432c5=a312_0x587e,_0xc7feae=_0x5b3cd8();while(!![]){try{const _0x1a8091=-parseInt(_0x3432c5(0x1e0))/0x1*(parseInt(_0x3432c5(0x1d8))/0x2)+parseInt(_0x3432c5(0x1e3))/0x3*(parseInt(_0x3432c5(0x1d1))/0x4)+-parseInt(_0x3432c5(0x1da))/0x5+-parseInt(_0x3432c5(0x1d2))/0x6+-parseInt(_0x3432c5(0x1e7))/0x7+parseInt(_0x3432c5(0x1e5))/0x8+parseInt(_0x3432c5(0x1ea))/0x9;if(_0x1a8091===_0x128436)break;else _0xc7feae['push'](_0xc7feae['shift']());}catch(_0xb21191){_0xc7feae['push'](_0xc7feae['shift']());}}}(a312_0x16a8,0xc2da7));function a312_0x587e(_0x1196c3,_0xa901c7){_0x1196c3=_0x1196c3-0x1d1;const _0x16a846=a312_0x16a8();let _0x587e6b=_0x16a846[_0x1196c3];return _0x587e6b;}import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';function a312_0x16a8(){const _0xb92ed9=['alias','name','922030dKnWcl','length','1255215QyujTi','some','`\x20requires\x20either\x20--code\x20or\x20--alias.','code','string','filePath','2JAsKZX','Available\x20aliases:\x20','validation','16599zQrkXH','flags','2885024HWboJU','type','6161820OvTrTW','join','map','26824563DyNxIs','\x20api\x20pull`\x20first.','profileName','24deOKYm','3137286fUWNiN','Unknown\x20alias\x20\x22','\x22.\x20','No\x20model\x20aliases\x20found\x20in\x20'];a312_0x16a8=function(){return _0xb92ed9;};return a312_0x16a8();}import{resolveApiModelSource}from'../api/model-source.js';export function resolveAliasToCode(_0x11c967,_0x273d10,_0x5749a0,_0x105892,_0x3ade7c,_0x135194){const _0x44f8ff=a312_0x587e,_0x2e1c81=_0x11c967[_0x44f8ff(0x1e4)][_0x44f8ff(0x1db)](_0x45d2ce=>_0x45d2ce[_0x44f8ff(0x1d7)]===_0x44f8ff(0x1dd)&&_0x45d2ce['type']===_0x44f8ff(0x1de)),_0x887b97=_0x11c967[_0x44f8ff(0x1e4)]['some'](_0x41562f=>_0x41562f[_0x44f8ff(0x1d7)]===_0x44f8ff(0x1d6)&&_0x41562f[_0x44f8ff(0x1e6)]==='string');if(!_0x2e1c81||!_0x887b97)return;const _0x50108c=_0x273d10['code']?String(_0x273d10['code']):'',_0x2e03fd=_0x273d10[_0x44f8ff(0x1d6)]?String(_0x273d10[_0x44f8ff(0x1d6)]):'';if(!_0x50108c&&!_0x2e03fd)throw CliErrors['validation']('`'+_0x105892+_0x44f8ff(0x1dc));if(_0x2e03fd&&!_0x50108c){const _0x3e7262=resolveApiModelSource(_0x5749a0,_0x3ade7c,_0x135194),_0x44e5b9=resolveAlias(_0x5749a0,_0x2e03fd,undefined,_0x3e7262[_0x44f8ff(0x1df)],_0x3e7262['profileName']);if(!_0x44e5b9){const _0x14a1c5=listAliases(_0x5749a0,undefined,_0x3e7262['filePath'],_0x3e7262[_0x44f8ff(0x1ec)])[_0x44f8ff(0x1e9)](_0x58ad74=>_0x58ad74['alias']),_0x25891d=_0x14a1c5[_0x44f8ff(0x1d9)]?_0x44f8ff(0x1e1)+_0x14a1c5[_0x44f8ff(0x1e8)](',\x20'):_0x44f8ff(0x1d5)+_0x5749a0+'.\x20Run\x20`'+CLI_BIN_NAME+_0x44f8ff(0x1eb);throw CliErrors[_0x44f8ff(0x1e2)](_0x44f8ff(0x1d3)+_0x2e03fd+_0x44f8ff(0x1d4)+_0x25891d);}_0x273d10['code']=_0x44e5b9;}}
1
+ (function(_0x2d9fe6,_0x5c003f){const _0x11bf42=a312_0x192e,_0x3c699f=_0x2d9fe6();while(!![]){try{const _0x202b95=parseInt(_0x11bf42(0x190))/0x1+parseInt(_0x11bf42(0x19b))/0x2*(parseInt(_0x11bf42(0x196))/0x3)+-parseInt(_0x11bf42(0x1a2))/0x4+parseInt(_0x11bf42(0x199))/0x5*(-parseInt(_0x11bf42(0x1a4))/0x6)+-parseInt(_0x11bf42(0x19d))/0x7+-parseInt(_0x11bf42(0x195))/0x8*(-parseInt(_0x11bf42(0x192))/0x9)+parseInt(_0x11bf42(0x1a3))/0xa*(parseInt(_0x11bf42(0x194))/0xb);if(_0x202b95===_0x5c003f)break;else _0x3c699f['push'](_0x3c699f['shift']());}catch(_0x18c9b8){_0x3c699f['push'](_0x3c699f['shift']());}}}(a312_0x4718,0x1c6c2));function a312_0x4718(){const _0x584284=['filePath','string','some','Unknown\x20alias\x20\x22','65864jJCmVm','name','20763chnByl','join','55PKJHma','16baHJoA','3hnZTkG','\x20api\x20pull`\x20first.','validation','20AjqfJk','Available\x20aliases:\x20','152498sJWbTy','length','503713cjOgfS','flags','.\x20Run\x20`','map','No\x20model\x20aliases\x20found\x20in\x20','850104XmeBpz','733240ZrVoCa','168666Ouzplb','type','`\x20requires\x20either\x20--code\x20or\x20--alias.','profileName','\x22.\x20','code','alias'];a312_0x4718=function(){return _0x584284;};return a312_0x4718();}function a312_0x192e(_0x5c1237,_0x2463c6){_0x5c1237=_0x5c1237-0x188;const _0x471833=a312_0x4718();let _0x192e6e=_0x471833[_0x5c1237];return _0x192e6e;}import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';import{resolveApiModelSource}from'../api/model-source.js';export function resolveAliasToCode(_0x36165e,_0x4c9ea4,_0x32c480,_0x1f8e48,_0x15761e,_0x1abc99){const _0xc3d3e=a312_0x192e,_0x114c5c=_0x36165e[_0xc3d3e(0x19e)]['some'](_0x2a7988=>_0x2a7988[_0xc3d3e(0x191)]==='code'&&_0x2a7988[_0xc3d3e(0x1a5)]===_0xc3d3e(0x18d)),_0x277c01=_0x36165e[_0xc3d3e(0x19e)][_0xc3d3e(0x18e)](_0x5bc6f3=>_0x5bc6f3[_0xc3d3e(0x191)]===_0xc3d3e(0x18b)&&_0x5bc6f3[_0xc3d3e(0x1a5)]===_0xc3d3e(0x18d));if(!_0x114c5c||!_0x277c01)return;const _0x580eeb=_0x4c9ea4['code']?String(_0x4c9ea4[_0xc3d3e(0x18a)]):'',_0x38fcca=_0x4c9ea4[_0xc3d3e(0x18b)]?String(_0x4c9ea4[_0xc3d3e(0x18b)]):'';if(!_0x580eeb&&!_0x38fcca)throw CliErrors[_0xc3d3e(0x198)]('`'+_0x1f8e48+_0xc3d3e(0x1a6));if(_0x38fcca&&!_0x580eeb){const _0x4780cf=resolveApiModelSource(_0x32c480,_0x15761e,_0x1abc99),_0x5586d8=resolveAlias(_0x32c480,_0x38fcca,undefined,_0x4780cf[_0xc3d3e(0x18c)],_0x4780cf[_0xc3d3e(0x188)]);if(!_0x5586d8){const _0x112c31=listAliases(_0x32c480,undefined,_0x4780cf[_0xc3d3e(0x18c)],_0x4780cf[_0xc3d3e(0x188)])[_0xc3d3e(0x1a0)](_0xd6c480=>_0xd6c480[_0xc3d3e(0x18b)]),_0x1bdbd9=_0x112c31[_0xc3d3e(0x19c)]?_0xc3d3e(0x19a)+_0x112c31[_0xc3d3e(0x193)](',\x20'):_0xc3d3e(0x1a1)+_0x32c480+_0xc3d3e(0x19f)+CLI_BIN_NAME+_0xc3d3e(0x197);throw CliErrors[_0xc3d3e(0x198)](_0xc3d3e(0x18f)+_0x38fcca+_0xc3d3e(0x189)+_0x1bdbd9);}_0x4c9ea4[_0xc3d3e(0x18a)]=_0x5586d8;}}
@@ -1 +1 @@
1
- (function(_0x3e1a42,_0xfad02f){const _0x22620b=a313_0x11e1,_0x1ca08b=_0x3e1a42();while(!![]){try{const _0x58f7b9=-parseInt(_0x22620b(0x15d))/0x1+-parseInt(_0x22620b(0x17f))/0x2+-parseInt(_0x22620b(0x154))/0x3+-parseInt(_0x22620b(0x19b))/0x4*(parseInt(_0x22620b(0x167))/0x5)+-parseInt(_0x22620b(0x166))/0x6*(-parseInt(_0x22620b(0x155))/0x7)+parseInt(_0x22620b(0x152))/0x8+parseInt(_0x22620b(0x158))/0x9;if(_0x58f7b9===_0xfad02f)break;else _0x1ca08b['push'](_0x1ca08b['shift']());}catch(_0x1d77ed){_0x1ca08b['push'](_0x1ca08b['shift']());}}}(a313_0x5b64,0x45df8));import{resolveCommandAuthMode,runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';import{getCookie}from'../auth/get-cookie.js';import{getApiDomain}from'../constant/domain.js';import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{DEFAULT_API_DIR}from'../constant/paths.js';import{isNonInteractive as a313_0x3928e4}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x27309b){const _0x4ca260=a313_0x11e1;return typeof _0x27309b===_0x4ca260(0x18d)&&_0x27309b[_0x4ca260(0x188)]()?_0x27309b[_0x4ca260(0x188)]():undefined;}function resolveEnvAppCode(){const _0x360cb3=a313_0x11e1,_0x301088=stringFlag(process.env.RABETBASE_APPCODE);if(_0x301088)return{'name':_0x360cb3(0x157),'value':_0x301088};const _0x47d69c=stringFlag(process.env.LOVRABET_APPCODE);if(_0x47d69c)return{'name':'LOVRABET_APPCODE','value':_0x47d69c};return undefined;}function hasExplicitAppCode(_0x135c42,_0x1d6301){const _0x1021c9=a313_0x11e1;return!!(stringFlag(_0x135c42[_0x1021c9(0x14b)])||stringFlag(_0x1d6301[_0x1021c9(0x14b)]));}function assertEnvAppCodeNotIgnored(_0x2b856c,_0x433b97,_0x21b313){const _0x414d32=a313_0x11e1;if(!_0x433b97||_0x21b313||_0x2b856c===_0x433b97['value'])return;const _0x1c315f=_0x2b856c?'Current\x20resolved\x20appcode\x20is\x20\x22'+_0x2b856c+'\x22.':_0x414d32(0x187);throw CliErrors[_0x414d32(0x14f)](_0x433b97[_0x414d32(0x185)]+'='+_0x433b97[_0x414d32(0x162)]+_0x414d32(0x165)+_0x1c315f+'\x20'+(_0x414d32(0x173)+_0x433b97[_0x414d32(0x185)]+'\x22.'));}export function createPipelineEnv(_0x321c76,_0x3ed994,_0xfee05e=[]){const _0x42932e=a313_0x11e1;return{'rawFlags':_0x3ed994,'args':_0xfee05e,'resolveAppCode':()=>_0x321c76[_0x42932e(0x18f)],'resolveCookie':()=>_0x321c76[_0x42932e(0x164)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a313_0x3928e4(_0x3ed994),'defaultFormat':_0x321c76[_0x42932e(0x171)],'defaultPageSize':_0x321c76[_0x42932e(0x16b)],'defaultVerbose':_0x321c76[_0x42932e(0x150)],'apiDir':_0x321c76[_0x42932e(0x153)],'riskLevel':_0x321c76[_0x42932e(0x18a)],'selectedAppName':_0x321c76['explicitAppName'],'mergedCli':{'defaultApp':_0x321c76[_0x42932e(0x199)],'currentApp':_0x321c76[_0x42932e(0x17d)],'appCode':_0x321c76[_0x42932e(0x18f)],'apps':_0x321c76['apps']}};}export function createRabetbaseRunnerAdapter(_0x5acdd2={}){const _0x1c52c5=a313_0x11e1;return{'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[_0x1c52c5(0x184)](_0x29dacb=>PIPELINE_FLAG_NAMES[_0x1c52c5(0x196)](_0x29dacb[_0x1c52c5(0x185)]))['map'](({name:_0x5848c0,type:_0x2e9b8d,description:_0x283ec0})=>({'name':_0x5848c0,'type':_0x2e9b8d,'description':_0x283ec0})),'formatOutput':_0x5acdd2[_0x1c52c5(0x151)]??formatOutput,'getCommandLabel'(_0x372e64){const _0x808645=_0x1c52c5;return CLI_BIN_NAME+'\x20'+_0x372e64[_0x808645(0x18b)]+'\x20'+_0x372e64[_0x808645(0x161)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x41596f,{def:_0x3e7c04}){const _0x1b6e71=_0x1c52c5,_0xac04e1=_0x41596f[_0x1b6e71(0x15a)](_0x1b6e71(0x163))?_0x1b6e71(0x194):_0x1b6e71(0x17a)+_0x3e7c04[_0x1b6e71(0x14d)]+_0x1b6e71(0x160)+_0x1b6e71(0x194);return CliErrors[_0x1b6e71(0x14f)](_0x41596f+_0x1b6e71(0x19d)+_0xac04e1);}},async 'prepare'(_0x132386,_0x186739,_0x31ee41,_0x5d8fd3){const _0x2b034e=_0x1c52c5,_0x9e37f2=_0x186739[_0x2b034e(0x153)]||DEFAULT_API_DIR,_0x5f23b6=hasExplicitAppCode(_0x31ee41,_0x186739[_0x2b034e(0x17e)]),_0x239ef2=stringFlag(_0x31ee41['appcode'])||stringFlag(_0x186739[_0x2b034e(0x17e)]['appcode']),_0x45e757=_0x186739['mergedCli']?.[_0x2b034e(0x180)]??{},_0x3b7da3=_0x186739[_0x2b034e(0x195)]||_0x186739[_0x2b034e(0x17c)]?.[_0x2b034e(0x17d)]||_0x186739[_0x2b034e(0x17c)]?.[_0x2b034e(0x199)],_0x3cd9f6=_0x239ef2?Object[_0x2b034e(0x16a)](_0x45e757)['filter'](([,_0x411180])=>_0x411180[_0x2b034e(0x14b)]===_0x239ef2)['map'](([_0x229655])=>_0x229655):[];if(_0x3cd9f6[_0x2b034e(0x19f)]>0x1&&!_0x186739[_0x2b034e(0x195)])throw CliErrors['validation']('AppCode\x20\x22'+_0x239ef2+_0x2b034e(0x19c)+_0x3cd9f6['join'](',\x20')+'.',_0x2b034e(0x176));resolveAliasToCode(_0x132386,_0x31ee41,_0x9e37f2,_0x5d8fd3,_0x186739[_0x2b034e(0x15f)](),_0x3b7da3);const _0x1f6adb=resolveCommandAuthMode(_0x132386);let _0x2a4239='';if(_0x1f6adb!==_0x2b034e(0x14a)){_0x2a4239=_0x186739[_0x2b034e(0x148)]()||'';if(!_0x2a4239){if(_0x1f6adb==='required')throw CliErrors['authRequired']();}else{const {setActiveCookie:_0x37cfd0}=await import(_0x2b034e(0x17b));_0x37cfd0(_0x2a4239);}}const _0x29c800=_0x186739[_0x2b034e(0x15f)]()??'';if(_0x132386[_0x2b034e(0x193)]!==![]){if(!_0x5f23b6&&_0x3b7da3&&!_0x45e757[_0x3b7da3]){const _0x9c559b=Object[_0x2b034e(0x18c)](_0x45e757);throw CliErrors['validation'](_0x2b034e(0x14c)+_0x3b7da3+_0x2b034e(0x189),_0x9c559b[_0x2b034e(0x19f)]>0x0?'Available:\x20'+_0x9c559b['join'](',\x20')+_0x2b034e(0x15c)+CLI_BIN_NAME+_0x2b034e(0x18e):_0x2b034e(0x16c)+CLI_BIN_NAME+_0x2b034e(0x18e));}assertEnvAppCodeNotIgnored(_0x29c800,resolveEnvAppCode(),_0x5f23b6);if(!_0x29c800){const _0x573dfa=Object[_0x2b034e(0x18c)](_0x45e757);if(!_0x3b7da3&&_0x573dfa['length']>0x1)throw CliErrors[_0x2b034e(0x178)](_0x2b034e(0x175)+CLI_BIN_NAME+_0x2b034e(0x19a)+_0x573dfa[_0x2b034e(0x19e)](',\x20')+'.');throw CliErrors[_0x2b034e(0x178)]('Set\x20appcode\x20via\x20`'+CLI_BIN_NAME+'\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.');}}return{'defaults':{'booleans':{'verbose':_0x186739[_0x2b034e(0x179)]},'numbers':{'pagesize':_0x186739[_0x2b034e(0x16e)]}},'extras':{'appCode':_0x29c800,'cookie':_0x2a4239,'apiDomain':_0x186739[_0x2b034e(0x149)](),'apiDir':_0x9e37f2,'selectedAppName':_0x186739[_0x2b034e(0x195)],'mergedCli':_0x186739[_0x2b034e(0x17c)]}};},'confirmHighRisk':_0x5acdd2[_0x1c52c5(0x174)]??(async({env:_0x26c46b,commandLabel:_0x18fe3c})=>{const _0x4f0d22=_0x1c52c5;if(_0x26c46b['isNonInteractive'])throw CliErrors[_0x4f0d22(0x14f)](_0x4f0d22(0x182)+_0x18fe3c+_0x4f0d22(0x186));await requireConfirmationPrompt({'lines':['⚠\x20\x20High-risk\x20operation:\x20'+_0x18fe3c,'\x20\x20\x20Continue?\x20[y/N]\x20'],'createCancelledError':_0x15702e=>CliErrors[_0x4f0d22(0x156)](_0x15702e)});}),async 'finalize'(){await clearRabetbaseCommandState();}};}function a313_0x5b64(){const _0x9c06b5=['2008736JFvLYI','apiDir','1087698gUfsXh','256375VwIGJo','cancelled','RABETBASE_APPCODE','7166223KxSvNe','doctor','includes','object','.\x20Use\x20--app/--appcode,\x20or\x20run\x20`','368506HzUJlg','find','resolveAppCode','\x22\x20if\x20this\x20operation\x20is\x20intended.\x20','command','value','Edit\x20the\x20config\x20file\x20manually','cookie','\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20','60BTUowe','66565kcDutR','hasFormat','replace','entries','pageSize','Use\x20--appcode,\x20add\x20the\x20app\x20to\x20the\x20project\x20workspace,\x20or\x20run\x20`','execute','defaultPageSize','toUpperCase','meowKey','format','pretty','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','confirmHighRisk','Multiple\x20apps\x20are\x20configured\x20but\x20no\x20default\x20app\x20is\x20selected.\x20Use\x20--app\x20<name>\x20or\x20run\x20`','Select\x20the\x20target\x20explicitly\x20with\x20--app\x20<profile>.','schema','configMissing','defaultVerbose','A\x20human\x20user\x20may\x20review\x20the\x20active\x20risk\x20ceilings\x20and\x20manually\x20edit\x20the\x20applicable\x20.rabetbase.json\x20file\x20to\x20set\x20riskLevel\x20to\x20\x22','../core/api-client.js','mergedCli','currentApp','rawFlags','632878Zhvfsi','apps','_notice','High-risk\x20operation\x20`','rejectedFlags','filter','name','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.','trim','\x22\x20is\x20selected\x20but\x20not\x20defined\x20in\x20the\x20effective\x20project\x20apps.','riskLevel','service','keys','string','\x20config\x20delete\x20defaultApp`\x20to\x20repair\x20the\x20selection.','appCode','catch','message','all','requiresAppCode','AI\x20Agents\x20and\x20automated\x20scripts\x20must\x20not\x20modify\x20riskLevel\x20or\x20attempt\x20to\x20elevate\x20it.','selectedAppName','has','resolve','some','defaultApp','\x20workspace\x20use\x20--app\x20<name>`.\x20Available:\x20','24DImlWf','\x22\x20belongs\x20to\x20multiple\x20app\x20profiles:\x20','\x0a\x20\x20','join','length','production','resolveCookie','resolveApiDomain','none','appcode','App\x20\x22','risk','hint','validation','verbose','formatOutput'];a313_0x5b64=function(){return _0x9c06b5;};return a313_0x5b64();}const terminalRunnerAdapter=createRabetbaseRunnerAdapter();async function clearRabetbaseCommandState(){const _0x501d01=a313_0x11e1,{clearActiveCookie:_0x5edcc7}=await import(_0x501d01(0x17b));_0x5edcc7();}export async function finalizeRabetbaseRuntimeState(){const _0x459812=a313_0x11e1;try{await clearRabetbaseCommandState();}finally{const [{initDomains:_0x4c7ae1},{initEnv:_0x5ab7a6}]=await Promise[_0x459812(0x192)]([import('../constant/domain.js'),import('../constant/env.js')]);_0x4c7ae1(),_0x5ab7a6(_0x459812(0x147));}}export async function runCommand(_0x558356,_0x475bb2,_0x46585a=terminalRunnerAdapter){const _0x4fae95=a313_0x11e1;assertRejectedFlags(_0x558356,_0x475bb2[_0x4fae95(0x17e)]),await runCommandWithAdapter(shouldAttachUpdateNotice(_0x558356)?withUpdateNotice(_0x558356):_0x558356,_0x475bb2,_0x46585a);}function assertRejectedFlags(_0xd350d9,_0x378266){const _0x4b6067=a313_0x11e1;for(const _0x2c1c77 of _0xd350d9[_0x4b6067(0x183)]??[]){const _0x2e32ea=GLOBAL_FLAGS[_0x4b6067(0x15e)](_0x22dcb5=>_0x22dcb5['name']===_0x2c1c77['name']),_0x3d46c6=new Set([_0x2c1c77['name'],toCamelCase(_0x2c1c77[_0x4b6067(0x185)]),_0x2e32ea?.[_0x4b6067(0x170)]]),_0x17101e=[..._0x3d46c6][_0x4b6067(0x198)](_0x1e4693=>{if(!_0x1e4693)return![];const _0x2d6d8b=_0x378266[_0x1e4693];return _0x2d6d8b!==undefined&&_0x2d6d8b!==null&&_0x2d6d8b!==![];});if(_0x17101e)throw CliErrors[_0x4b6067(0x14f)](_0x2c1c77[_0x4b6067(0x191)],_0x2c1c77[_0x4b6067(0x14e)]);}}function toCamelCase(_0x18260a){const _0x22bc35=a313_0x11e1;return _0x18260a[_0x22bc35(0x169)](/-([a-z])/g,(_0x526ba0,_0x4292ed)=>_0x4292ed[_0x22bc35(0x16f)]());}function shouldAttachUpdateNotice(_0x248c1c){const _0x2b03e1=a313_0x11e1;if(_0x248c1c[_0x2b03e1(0x168)]===![])return![];return!['update',_0x2b03e1(0x177),_0x2b03e1(0x159)]['includes'](_0x248c1c[_0x2b03e1(0x18b)]);}function withUpdateNotice(_0x189bbb){return{..._0x189bbb,async 'execute'(_0x5441cf){const _0x4fd3b1=a313_0x11e1,_0x554266=shouldResolveUpdateNotice(_0x5441cf)?resolveLatestUpdateNotice()[_0x4fd3b1(0x190)](()=>null):Promise[_0x4fd3b1(0x197)](null),_0x1b047e=await _0x189bbb[_0x4fd3b1(0x16d)](_0x5441cf);return attachUpdateNotice(_0x1b047e,await _0x554266);}};}function shouldResolveUpdateNotice(_0x48d4b7){const _0x50206c=a313_0x11e1;return _0x48d4b7[_0x50206c(0x171)]===_0x50206c(0x172)&&!_0x48d4b7['nonInteractive'];}function a313_0x11e1(_0x8f4cf6,_0x4ff76e){_0x8f4cf6=_0x8f4cf6-0x147;const _0x5b642c=a313_0x5b64();let _0x11e1e6=_0x5b642c[_0x8f4cf6];return _0x11e1e6;}function attachUpdateNotice(_0x345331,_0x1df947){const _0x1c46b6=a313_0x11e1;if(!_0x1df947||!_0x345331||typeof _0x345331!==_0x1c46b6(0x15b))return _0x345331;const _0x28e97c=_0x345331,_0x4c53fc=typeof _0x28e97c['_notice']==='object'&&_0x28e97c[_0x1c46b6(0x181)]!==null?_0x28e97c[_0x1c46b6(0x181)]:{};return{..._0x28e97c,'_notice':{..._0x4c53fc,'update':_0x1df947}};}
1
+ (function(_0xc5db8a,_0x376750){const _0x506dcc=a313_0x39f6,_0x7af010=_0xc5db8a();while(!![]){try{const _0x3d1aca=-parseInt(_0x506dcc(0x1ae))/0x1+-parseInt(_0x506dcc(0x1aa))/0x2*(-parseInt(_0x506dcc(0x18c))/0x3)+-parseInt(_0x506dcc(0x194))/0x4*(parseInt(_0x506dcc(0x179))/0x5)+-parseInt(_0x506dcc(0x160))/0x6+-parseInt(_0x506dcc(0x162))/0x7*(parseInt(_0x506dcc(0x19d))/0x8)+parseInt(_0x506dcc(0x18d))/0x9+parseInt(_0x506dcc(0x191))/0xa;if(_0x3d1aca===_0x376750)break;else _0x7af010['push'](_0x7af010['shift']());}catch(_0x36b716){_0x7af010['push'](_0x7af010['shift']());}}}(a313_0x4eab,0xd07aa));function a313_0x39f6(_0x2eda1e,_0x5ec47e){_0x2eda1e=_0x2eda1e-0x159;const _0x4eabd8=a313_0x4eab();let _0x39f69e=_0x4eabd8[_0x2eda1e];return _0x39f69e;}import{resolveCommandAuthMode,runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';import{getCookie}from'../auth/get-cookie.js';import{getApiDomain}from'../constant/domain.js';import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{DEFAULT_API_DIR}from'../constant/paths.js';import{isNonInteractive as a313_0x3b6657}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x5ac49d){const _0x1ff02f=a313_0x39f6;return typeof _0x5ac49d==='string'&&_0x5ac49d[_0x1ff02f(0x197)]()?_0x5ac49d[_0x1ff02f(0x197)]():undefined;}function resolveEnvAppCode(){const _0x832af6=a313_0x39f6,_0x4adb11=stringFlag(process.env.RABETBASE_APPCODE);if(_0x4adb11)return{'name':_0x832af6(0x196),'value':_0x4adb11};const _0x2dbae2=stringFlag(process.env.LOVRABET_APPCODE);if(_0x2dbae2)return{'name':_0x832af6(0x183),'value':_0x2dbae2};return undefined;}function hasExplicitAppCode(_0x5b5521,_0x541e64){const _0x23e000=a313_0x39f6;return!!(stringFlag(_0x5b5521['appcode'])||stringFlag(_0x541e64[_0x23e000(0x175)]));}function assertEnvAppCodeNotIgnored(_0x1de11a,_0xeb8007,_0x466a1c){const _0xd7740c=a313_0x39f6;if(!_0xeb8007||_0x466a1c||_0x1de11a===_0xeb8007[_0xd7740c(0x18e)])return;const _0x4d081d=_0x1de11a?'Current\x20resolved\x20appcode\x20is\x20\x22'+_0x1de11a+'\x22.':_0xd7740c(0x15d);throw CliErrors[_0xd7740c(0x17d)](_0xeb8007[_0xd7740c(0x16a)]+'='+_0xeb8007[_0xd7740c(0x18e)]+_0xd7740c(0x1a2)+_0x4d081d+'\x20'+(_0xd7740c(0x168)+_0xeb8007[_0xd7740c(0x16a)]+'\x22.'));}export function createPipelineEnv(_0x5cf5d5,_0x555c92,_0x466b26=[]){const _0x13a586=a313_0x39f6;return{'rawFlags':_0x555c92,'args':_0x466b26,'resolveAppCode':()=>_0x5cf5d5[_0x13a586(0x199)],'resolveCookie':()=>_0x5cf5d5[_0x13a586(0x189)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a313_0x3b6657(_0x555c92),'defaultFormat':_0x5cf5d5[_0x13a586(0x185)],'defaultPageSize':_0x5cf5d5[_0x13a586(0x172)],'defaultVerbose':_0x5cf5d5[_0x13a586(0x1a9)],'apiDir':_0x5cf5d5[_0x13a586(0x1ab)],'riskLevel':_0x5cf5d5['riskLevel'],'selectedAppName':_0x5cf5d5['explicitAppName'],'mergedCli':{'defaultApp':_0x5cf5d5['defaultApp'],'currentApp':_0x5cf5d5[_0x13a586(0x16d)],'appCode':_0x5cf5d5['appCode'],'apps':_0x5cf5d5[_0x13a586(0x163)]}};}export function createRabetbaseRunnerAdapter(_0xa1e22d={}){const _0x49294b=a313_0x39f6;return{'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[_0x49294b(0x169)](_0x304baf=>PIPELINE_FLAG_NAMES[_0x49294b(0x19b)](_0x304baf[_0x49294b(0x16a)]))[_0x49294b(0x1ac)](({name:_0x90a390,type:_0x3a9dfc,description:_0x25dcab})=>({'name':_0x90a390,'type':_0x3a9dfc,'description':_0x25dcab})),'formatOutput':_0xa1e22d[_0x49294b(0x16c)]??formatOutput,'getCommandLabel'(_0x45111f){const _0x2c2bc8=_0x49294b;return CLI_BIN_NAME+'\x20'+_0x45111f[_0x2c2bc8(0x186)]+'\x20'+_0x45111f[_0x2c2bc8(0x1a3)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x20be43,{def:_0x4643b7}){const _0x36d558=_0x49294b,_0x511ff8=_0x20be43[_0x36d558(0x15c)](_0x36d558(0x16f))?_0x36d558(0x165):_0x36d558(0x167)+_0x4643b7[_0x36d558(0x166)]+_0x36d558(0x1a0)+_0x36d558(0x165);return CliErrors[_0x36d558(0x17d)](_0x20be43+_0x36d558(0x1a1)+_0x511ff8);}},async 'prepare'(_0x24d6b7,_0x10bb95,_0x3b50ed,_0x4134df){const _0x40d6d7=_0x49294b,_0xf3b3ae=_0x10bb95['apiDir']||DEFAULT_API_DIR,_0x416865=hasExplicitAppCode(_0x3b50ed,_0x10bb95['rawFlags']),_0x17ec71=stringFlag(_0x3b50ed[_0x40d6d7(0x175)])||stringFlag(_0x10bb95[_0x40d6d7(0x1a8)][_0x40d6d7(0x175)]),_0x3d415d=_0x10bb95[_0x40d6d7(0x19e)]?.['apps']??{},_0x31eabe=_0x10bb95[_0x40d6d7(0x1ad)]||_0x10bb95[_0x40d6d7(0x19e)]?.[_0x40d6d7(0x16d)]||_0x10bb95[_0x40d6d7(0x19e)]?.[_0x40d6d7(0x181)],_0x4a7578=_0x17ec71?Object[_0x40d6d7(0x16e)](_0x3d415d)['filter'](([,_0x1dad29])=>_0x1dad29[_0x40d6d7(0x175)]===_0x17ec71)[_0x40d6d7(0x1ac)](([_0x595a17])=>_0x595a17):[];if(_0x4a7578[_0x40d6d7(0x18b)]>0x1&&!_0x10bb95[_0x40d6d7(0x1ad)])throw CliErrors[_0x40d6d7(0x17d)](_0x40d6d7(0x178)+_0x17ec71+_0x40d6d7(0x16b)+_0x4a7578[_0x40d6d7(0x193)](',\x20')+'.',_0x40d6d7(0x17b));resolveAliasToCode(_0x24d6b7,_0x3b50ed,_0xf3b3ae,_0x4134df,_0x10bb95[_0x40d6d7(0x176)](),_0x31eabe);const _0x7362b1=resolveCommandAuthMode(_0x24d6b7);let _0x4f1b04='';if(_0x7362b1!==_0x40d6d7(0x18a)){_0x4f1b04=_0x10bb95['resolveCookie']()||'';if(!_0x4f1b04){if(_0x7362b1==='required')throw CliErrors[_0x40d6d7(0x1b0)]();}else{const {setActiveCookie:_0x5cf66e}=await import(_0x40d6d7(0x1a5));_0x5cf66e(_0x4f1b04);}}const _0x67941b=_0x10bb95[_0x40d6d7(0x176)]()??'';if(_0x24d6b7['requiresAppCode']!==![]){if(!_0x416865&&_0x31eabe&&!_0x3d415d[_0x31eabe]){const _0x444cd6=Object[_0x40d6d7(0x188)](_0x3d415d);throw CliErrors['validation'](_0x40d6d7(0x195)+_0x31eabe+_0x40d6d7(0x19f),_0x444cd6[_0x40d6d7(0x18b)]>0x0?_0x40d6d7(0x1a4)+_0x444cd6[_0x40d6d7(0x193)](',\x20')+_0x40d6d7(0x182)+CLI_BIN_NAME+_0x40d6d7(0x19a):'Use\x20--appcode,\x20add\x20the\x20app\x20to\x20the\x20project\x20workspace,\x20or\x20run\x20`'+CLI_BIN_NAME+_0x40d6d7(0x19a));}assertEnvAppCodeNotIgnored(_0x67941b,resolveEnvAppCode(),_0x416865);if(!_0x67941b){const _0x929772=Object[_0x40d6d7(0x188)](_0x3d415d);if(!_0x31eabe&&_0x929772[_0x40d6d7(0x18b)]>0x1)throw CliErrors[_0x40d6d7(0x15a)](_0x40d6d7(0x17a)+CLI_BIN_NAME+'\x20workspace\x20use\x20--app\x20<name>`.\x20Available:\x20'+_0x929772[_0x40d6d7(0x193)](',\x20')+'.');throw CliErrors[_0x40d6d7(0x15a)](_0x40d6d7(0x17f)+CLI_BIN_NAME+_0x40d6d7(0x184));}}return{'defaults':{'booleans':{'verbose':_0x10bb95['defaultVerbose']},'numbers':{'pagesize':_0x10bb95['defaultPageSize']}},'extras':{'appCode':_0x67941b,'cookie':_0x4f1b04,'apiDomain':_0x10bb95[_0x40d6d7(0x198)](),'apiDir':_0xf3b3ae,'selectedAppName':_0x10bb95[_0x40d6d7(0x1ad)],'mergedCli':_0x10bb95['mergedCli']}};},'confirmHighRisk':_0xa1e22d[_0x49294b(0x170)]??(async({env:_0x118b48,commandLabel:_0x5bb70d})=>{const _0x2bc55c=_0x49294b;if(_0x118b48[_0x2bc55c(0x171)])throw CliErrors['validation'](_0x2bc55c(0x1af)+_0x5bb70d+_0x2bc55c(0x15b));await requireConfirmationPrompt({'lines':[_0x2bc55c(0x177)+_0x5bb70d,_0x2bc55c(0x161)],'createCancelledError':_0x489987=>CliErrors['cancelled'](_0x489987)});}),async 'finalize'(){await clearRabetbaseCommandState();}};}const terminalRunnerAdapter=createRabetbaseRunnerAdapter();function a313_0x4eab(){const _0x2a6504=['30113270GQVRDj','update','join','38356DuJwMM','App\x20\x22','RABETBASE_APPCODE','trim','resolveApiDomain','appCode','\x20config\x20delete\x20defaultApp`\x20to\x20repair\x20the\x20selection.','has','_notice','126432NnkAUb','mergedCli','\x22\x20is\x20selected\x20but\x20not\x20defined\x20in\x20the\x20effective\x20project\x20apps.','\x22\x20if\x20this\x20operation\x20is\x20intended.\x20','\x0a\x20\x20','\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20','command','Available:\x20','../core/api-client.js','message','pretty','rawFlags','verbose','29934YOrVHX','apiDir','map','selectedAppName','1099585wOIWRM','High-risk\x20operation\x20`','authRequired','toUpperCase','configMissing','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','includes','No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.','schema','find','9751800zMtnNm','\x20\x20\x20Continue?\x20[y/N]\x20','329kgAJxn','apps','rejectedFlags','AI\x20Agents\x20and\x20automated\x20scripts\x20must\x20not\x20modify\x20riskLevel\x20or\x20attempt\x20to\x20elevate\x20it.','risk','A\x20human\x20user\x20may\x20review\x20the\x20active\x20risk\x20ceilings\x20and\x20manually\x20edit\x20the\x20applicable\x20.rabetbase.json\x20file\x20to\x20set\x20riskLevel\x20to\x20\x22','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','filter','name','\x22\x20belongs\x20to\x20multiple\x20app\x20profiles:\x20','formatOutput','currentApp','entries','Edit\x20the\x20config\x20file\x20manually','confirmHighRisk','isNonInteractive','pageSize','replace','resolve','appcode','resolveAppCode','⚠\x20\x20High-risk\x20operation:\x20','AppCode\x20\x22','455FkAhon','Multiple\x20apps\x20are\x20configured\x20but\x20no\x20default\x20app\x20is\x20selected.\x20Use\x20--app\x20<name>\x20or\x20run\x20`','Select\x20the\x20target\x20explicitly\x20with\x20--app\x20<profile>.','all','validation','hasFormat','Set\x20appcode\x20via\x20`','execute','defaultApp','.\x20Use\x20--app/--appcode,\x20or\x20run\x20`','LOVRABET_APPCODE','\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','format','service','../constant/env.js','keys','cookie','none','length','303WESoSb','6040872lxkgVS','value','../constant/domain.js','object'];a313_0x4eab=function(){return _0x2a6504;};return a313_0x4eab();}async function clearRabetbaseCommandState(){const _0x4a476c=a313_0x39f6,{clearActiveCookie:_0x3a3b38}=await import(_0x4a476c(0x1a5));_0x3a3b38();}export async function finalizeRabetbaseRuntimeState(){const _0xbbdd6c=a313_0x39f6;try{await clearRabetbaseCommandState();}finally{const [{initDomains:_0x40c7b4},{initEnv:_0xa590f9}]=await Promise[_0xbbdd6c(0x17c)]([import(_0xbbdd6c(0x18f)),import(_0xbbdd6c(0x187))]);_0x40c7b4(),_0xa590f9('production');}}export async function runCommand(_0x1db411,_0x4da32b,_0xa40303=terminalRunnerAdapter){const _0x38225a=a313_0x39f6;assertRejectedFlags(_0x1db411,_0x4da32b[_0x38225a(0x1a8)]),await runCommandWithAdapter(shouldAttachUpdateNotice(_0x1db411)?withUpdateNotice(_0x1db411):_0x1db411,_0x4da32b,_0xa40303);}function assertRejectedFlags(_0x4beb5e,_0x465f05){const _0x5424a6=a313_0x39f6;for(const _0x245033 of _0x4beb5e[_0x5424a6(0x164)]??[]){const _0x1f211a=GLOBAL_FLAGS[_0x5424a6(0x15f)](_0x1c4f5c=>_0x1c4f5c[_0x5424a6(0x16a)]===_0x245033[_0x5424a6(0x16a)]),_0x4f8055=new Set([_0x245033[_0x5424a6(0x16a)],toCamelCase(_0x245033[_0x5424a6(0x16a)]),_0x1f211a?.['meowKey']]),_0x2e9400=[..._0x4f8055]['some'](_0x31ecbf=>{if(!_0x31ecbf)return![];const _0x22268e=_0x465f05[_0x31ecbf];return _0x22268e!==undefined&&_0x22268e!==null&&_0x22268e!==![];});if(_0x2e9400)throw CliErrors[_0x5424a6(0x17d)](_0x245033[_0x5424a6(0x1a6)],_0x245033['hint']);}}function toCamelCase(_0x4574db){const _0x1fe4be=a313_0x39f6;return _0x4574db[_0x1fe4be(0x173)](/-([a-z])/g,(_0x404bcd,_0x7b3b3e)=>_0x7b3b3e[_0x1fe4be(0x159)]());}function shouldAttachUpdateNotice(_0x19f633){const _0x78ed2e=a313_0x39f6;if(_0x19f633[_0x78ed2e(0x17e)]===![])return![];return![_0x78ed2e(0x192),_0x78ed2e(0x15e),'doctor'][_0x78ed2e(0x15c)](_0x19f633[_0x78ed2e(0x186)]);}function withUpdateNotice(_0x58bbb4){return{..._0x58bbb4,async 'execute'(_0x5752ba){const _0x59f6e9=a313_0x39f6,_0x1acaeb=shouldResolveUpdateNotice(_0x5752ba)?resolveLatestUpdateNotice()['catch'](()=>null):Promise[_0x59f6e9(0x174)](null),_0x3c173b=await _0x58bbb4[_0x59f6e9(0x180)](_0x5752ba);return attachUpdateNotice(_0x3c173b,await _0x1acaeb);}};}function shouldResolveUpdateNotice(_0x12a7eb){const _0x25c4e5=a313_0x39f6;return _0x12a7eb['format']===_0x25c4e5(0x1a7)&&!_0x12a7eb['nonInteractive'];}function attachUpdateNotice(_0x901ce7,_0x5e2277){const _0x221cd6=a313_0x39f6;if(!_0x5e2277||!_0x901ce7||typeof _0x901ce7!==_0x221cd6(0x190))return _0x901ce7;const _0x4b3640=_0x901ce7,_0x25dcbc=typeof _0x4b3640[_0x221cd6(0x19c)]===_0x221cd6(0x190)&&_0x4b3640['_notice']!==null?_0x4b3640[_0x221cd6(0x19c)]:{};return{..._0x4b3640,'_notice':{..._0x25dcbc,'update':_0x5e2277}};}
@@ -1 +1 @@
1
- (function(_0x32ac32,_0x54e892){const _0x5c88a9=a314_0x3f99,_0x46107b=_0x32ac32();while(!![]){try{const _0x302ba1=-parseInt(_0x5c88a9(0x100))/0x1+-parseInt(_0x5c88a9(0xf9))/0x2+-parseInt(_0x5c88a9(0x102))/0x3*(-parseInt(_0x5c88a9(0x101))/0x4)+-parseInt(_0x5c88a9(0xfc))/0x5*(parseInt(_0x5c88a9(0xfa))/0x6)+parseInt(_0x5c88a9(0xff))/0x7+-parseInt(_0x5c88a9(0xfe))/0x8*(parseInt(_0x5c88a9(0xfb))/0x9)+parseInt(_0x5c88a9(0xfd))/0xa;if(_0x302ba1===_0x54e892)break;else _0x46107b['push'](_0x46107b['shift']());}catch(_0x41ac6f){_0x46107b['push'](_0x46107b['shift']());}}}(a314_0x351f,0xd25ff));import{buildSchemaPayload as a314_0x25bb80}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';function a314_0x3f99(_0x12296e,_0x5959eb){_0x12296e=_0x12296e-0xf9;const _0x351f09=a314_0x351f();let _0x3f9983=_0x351f09[_0x12296e];return _0x3f9983;}function a314_0x351f(){const _0x99b752=['990010kbAjlv','67493DCllia','8zCFUlf','1991877RzcMrG','2057482RMIEZP','6SDZBRa','18NTcKJF','5438765EMGfUy','23177060uWhSuY','2965488gtEEvf'];a314_0x351f=function(){return _0x99b752;};return a314_0x351f();}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:_0x3a13b3,findDefinition:_0x2fe5c5}=await import('../commands/registry.js');return a314_0x25bb80({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x3a13b3,'buildAllFlags':buildAllFlags,'findDefinition':_0x2fe5c5});}
1
+ (function(_0x4fc69b,_0x4d1804){const _0x2f9cd8=a314_0x4555,_0x5d0af0=_0x4fc69b();while(!![]){try{const _0x445161=parseInt(_0x2f9cd8(0x151))/0x1*(-parseInt(_0x2f9cd8(0x152))/0x2)+parseInt(_0x2f9cd8(0x14e))/0x3+parseInt(_0x2f9cd8(0x14c))/0x4+-parseInt(_0x2f9cd8(0x154))/0x5*(-parseInt(_0x2f9cd8(0x14a))/0x6)+parseInt(_0x2f9cd8(0x153))/0x7*(parseInt(_0x2f9cd8(0x150))/0x8)+parseInt(_0x2f9cd8(0x14f))/0x9+-parseInt(_0x2f9cd8(0x14b))/0xa;if(_0x445161===_0x4d1804)break;else _0x5d0af0['push'](_0x5d0af0['shift']());}catch(_0x1f67ad){_0x5d0af0['push'](_0x5d0af0['shift']());}}}(a314_0x2bbd,0xeae03));import{buildSchemaPayload as a314_0x143595}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';function a314_0x2bbd(){const _0x15f16e=['20098420yajhRb','2798800MQXiiE','../commands/registry.js','199491ATupnP','5261364tcTkHn','56uYwLNl','575828jqqwJX','2XXfilH','584759QrNafo','132145jcsbea','366XBSPdW'];a314_0x2bbd=function(){return _0x15f16e;};return a314_0x2bbd();}import{getCliVersion}from'../utils/version.js';function a314_0x4555(_0x2ede3c,_0x25264b){_0x2ede3c=_0x2ede3c-0x14a;const _0x2bbd8a=a314_0x2bbd();let _0x455573=_0x2bbd8a[_0x2ede3c];return _0x455573;}export async function buildSchemaPayload(){const _0x466a26=a314_0x4555,{serviceRegistry:_0x701a08,findDefinition:_0x46c6ac}=await import(_0x466a26(0x14d));return a314_0x143595({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x701a08,'buildAllFlags':buildAllFlags,'findDefinition':_0x46c6ac});}
@@ -1 +1 @@
1
- function a315_0x559b(_0x3db5e8,_0x5b5c7c){_0x3db5e8=_0x3db5e8-0x16b;const _0x319ab6=a315_0x319a();let _0x559b2e=_0x319ab6[_0x3db5e8];return _0x559b2e;}(function(_0x4bb5c3,_0x2a65e0){const _0x31f2f1=a315_0x559b,_0x30822f=_0x4bb5c3();while(!![]){try{const _0x557a20=parseInt(_0x31f2f1(0x173))/0x1+-parseInt(_0x31f2f1(0x178))/0x2+-parseInt(_0x31f2f1(0x16e))/0x3*(-parseInt(_0x31f2f1(0x16f))/0x4)+-parseInt(_0x31f2f1(0x17f))/0x5*(parseInt(_0x31f2f1(0x185))/0x6)+-parseInt(_0x31f2f1(0x175))/0x7+-parseInt(_0x31f2f1(0x170))/0x8+-parseInt(_0x31f2f1(0x16c))/0x9*(-parseInt(_0x31f2f1(0x171))/0xa);if(_0x557a20===_0x2a65e0)break;else _0x30822f['push'](_0x30822f['shift']());}catch(_0x10fa76){_0x30822f['push'](_0x30822f['shift']());}}}(a315_0x319a,0xc2a04));import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{CliErrors}from'../errors.js';export function assertSupportedCommandFlags(_0x1ee3f8,_0x3885ae){const _0x18d3f6=a315_0x559b;if(!_0x1ee3f8['strictFlags'])return;const _0x13d817=new Set([_0x18d3f6(0x182),_0x18d3f6(0x180)]),_0x360efa=GLOBAL_FLAGS[_0x18d3f6(0x17e)](_0x572ae2=>PIPELINE_FLAG_NAMES[_0x18d3f6(0x172)](_0x572ae2[_0x18d3f6(0x174)]));for(const _0x2893d3 of[..._0x1ee3f8['flags'],..._0x360efa]){addFlagCandidates(_0x13d817,_0x2893d3);}for(const [_0x4a274c,_0x40e9ce]of Object['entries'](_0x3885ae)){if(!isExplicitValue(_0x40e9ce)||_0x13d817['has'](_0x4a274c))continue;const _0x4d9a9b=GLOBAL_FLAGS[_0x18d3f6(0x176)](_0x43ef81=>_0x43ef81[_0x18d3f6(0x16d)]===_0x4a274c)?.[_0x18d3f6(0x174)]??toKebabCase(_0x4a274c);throw CliErrors[_0x18d3f6(0x186)]('Unsupported\x20flag\x20--'+_0x4d9a9b+'\x20for\x20`'+CLI_BIN_NAME+'\x20'+_0x1ee3f8[_0x18d3f6(0x17d)]+'\x20'+_0x1ee3f8[_0x18d3f6(0x16b)]+'`.',_0x18d3f6(0x17a)+CLI_BIN_NAME+'\x20'+_0x1ee3f8[_0x18d3f6(0x17d)]+'\x20'+_0x1ee3f8['command']+'\x20--help`\x20to\x20view\x20the\x20current\x20command\x20contract.');}}function addFlagCandidates(_0x438635,_0x5e4c2c){const _0x1227d1=a315_0x559b,_0x5b4718=_0x1227d1(0x16d)in _0x5e4c2c?[_0x5e4c2c[_0x1227d1(0x174)],_0x5e4c2c[_0x1227d1(0x16d)]]:[_0x5e4c2c['name'],_0x5e4c2c[_0x1227d1(0x17c)]];for(const _0x2fec35 of _0x5b4718){if(!_0x2fec35)continue;_0x438635[_0x1227d1(0x177)](_0x2fec35),_0x438635['add'](toCamelCase(_0x2fec35));}}function isExplicitValue(_0x563eb8){const _0x326c36=a315_0x559b;return _0x563eb8!==undefined&&_0x563eb8!==null&&_0x563eb8!==![]&&(!Array[_0x326c36(0x179)](_0x563eb8)||_0x563eb8[_0x326c36(0x183)]>0x0);}function a315_0x319a(){const _0x378a31=['filter','5uJJAvr','version','$1-$2','help','length','replace','7947366eTeJIr','validation','command','224892AQJtqn','meowKey','540417nriUGp','24XZOqDM','7991768JArTTn','1030ooXjZZ','has','966593vaJOkx','name','8692670PXUWyx','find','add','517322WLxKbx','isArray','Run\x20`','toLowerCase','alias','service'];a315_0x319a=function(){return _0x378a31;};return a315_0x319a();}function toCamelCase(_0x245acf){return _0x245acf['replace'](/-([a-z])/g,(_0x3521c2,_0x482d79)=>_0x482d79['toUpperCase']());}function toKebabCase(_0x2c93fe){const _0x1878d3=a315_0x559b;return _0x2c93fe[_0x1878d3(0x184)](/([a-z0-9])([A-Z])/g,_0x1878d3(0x181))[_0x1878d3(0x17b)]();}
1
+ (function(_0x56218a,_0x437abd){const _0xa8f710=a315_0x4e1e,_0x44fe5c=_0x56218a();while(!![]){try{const _0x93717c=parseInt(_0xa8f710(0x205))/0x1*(-parseInt(_0xa8f710(0x1f9))/0x2)+parseInt(_0xa8f710(0x1f2))/0x3*(-parseInt(_0xa8f710(0x1fc))/0x4)+-parseInt(_0xa8f710(0x209))/0x5*(parseInt(_0xa8f710(0x1f5))/0x6)+parseInt(_0xa8f710(0x1fa))/0x7+parseInt(_0xa8f710(0x202))/0x8+-parseInt(_0xa8f710(0x1fd))/0x9*(parseInt(_0xa8f710(0x1ff))/0xa)+parseInt(_0xa8f710(0x1f3))/0xb*(-parseInt(_0xa8f710(0x20f))/0xc);if(_0x93717c===_0x437abd)break;else _0x44fe5c['push'](_0x44fe5c['shift']());}catch(_0x2ef950){_0x44fe5c['push'](_0x44fe5c['shift']());}}}(a315_0x3f18,0x51c66));import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{CliErrors}from'../errors.js';export function assertSupportedCommandFlags(_0x4ec49f,_0x172eb4){const _0x884add=a315_0x4e1e;if(!_0x4ec49f[_0x884add(0x1fb)])return;const _0x14ebb9=new Set(['help',_0x884add(0x201)]),_0x30b3fe=GLOBAL_FLAGS[_0x884add(0x1f6)](_0x3c49bd=>PIPELINE_FLAG_NAMES['has'](_0x3c49bd[_0x884add(0x200)]));for(const _0x486295 of[..._0x4ec49f[_0x884add(0x20d)],..._0x30b3fe]){addFlagCandidates(_0x14ebb9,_0x486295);}for(const [_0x1391dc,_0x4aadfc]of Object[_0x884add(0x207)](_0x172eb4)){if(!isExplicitValue(_0x4aadfc)||_0x14ebb9['has'](_0x1391dc))continue;const _0x4811b8=GLOBAL_FLAGS[_0x884add(0x20c)](_0x1fd22a=>_0x1fd22a['meowKey']===_0x1391dc)?.[_0x884add(0x200)]??toKebabCase(_0x1391dc);throw CliErrors[_0x884add(0x20e)](_0x884add(0x1f4)+_0x4811b8+_0x884add(0x20b)+CLI_BIN_NAME+'\x20'+_0x4ec49f['service']+'\x20'+_0x4ec49f['command']+'`.','Run\x20`'+CLI_BIN_NAME+'\x20'+_0x4ec49f[_0x884add(0x20a)]+'\x20'+_0x4ec49f['command']+_0x884add(0x1fe));}}function addFlagCandidates(_0x427b0a,_0x30edf6){const _0x20318a=a315_0x4e1e,_0x154f43=_0x20318a(0x206)in _0x30edf6?[_0x30edf6[_0x20318a(0x200)],_0x30edf6[_0x20318a(0x206)]]:[_0x30edf6['name'],_0x30edf6['alias']];for(const _0x803ae of _0x154f43){if(!_0x803ae)continue;_0x427b0a[_0x20318a(0x1f8)](_0x803ae),_0x427b0a[_0x20318a(0x1f8)](toCamelCase(_0x803ae));}}function isExplicitValue(_0x4acb51){const _0x276101=a315_0x4e1e;return _0x4acb51!==undefined&&_0x4acb51!==null&&_0x4acb51!==![]&&(!Array['isArray'](_0x4acb51)||_0x4acb51[_0x276101(0x203)]>0x0);}function toCamelCase(_0x1f50b8){const _0x269676=a315_0x4e1e;return _0x1f50b8[_0x269676(0x1f7)](/-([a-z])/g,(_0x485cff,_0x411625)=>_0x411625['toUpperCase']());}function a315_0x4e1e(_0x5eb95f,_0x1514ba){_0x5eb95f=_0x5eb95f-0x1f2;const _0x3f1823=a315_0x3f18();let _0x4e1ea9=_0x3f1823[_0x5eb95f];return _0x4e1ea9;}function a315_0x3f18(){const _0x1a3999=['1356IeaBbF','filter','replace','add','2TulDOm','4410007tTnmWu','strictFlags','4BbcYou','429633wPiaBx','\x20--help`\x20to\x20view\x20the\x20current\x20command\x20contract.','10gJPmJh','name','version','4226960GtQREd','length','toLowerCase','18743OMYoSW','meowKey','entries','$1-$2','8945UxAebw','service','\x20for\x20`','find','flags','validation','19188FYafNF','1029099OaXytC','66WLPAZh','Unsupported\x20flag\x20--'];a315_0x3f18=function(){return _0x1a3999;};return a315_0x3f18();}function toKebabCase(_0x1db830){const _0x1dd2d3=a315_0x4e1e;return _0x1db830[_0x1dd2d3(0x1f7)](/([a-z0-9])([A-Z])/g,_0x1dd2d3(0x208))[_0x1dd2d3(0x204)]();}
@@ -1 +1 @@
1
- (function(_0xd0b8ec,_0x3c3d7a){var _0x1f209d=a316_0x5809,_0x2090b7=_0xd0b8ec();while(!![]){try{var _0x56010e=parseInt(_0x1f209d(0x123))/0x1*(-parseInt(_0x1f209d(0x11c))/0x2)+parseInt(_0x1f209d(0x11a))/0x3+parseInt(_0x1f209d(0x11e))/0x4+-parseInt(_0x1f209d(0x120))/0x5*(-parseInt(_0x1f209d(0x124))/0x6)+-parseInt(_0x1f209d(0x121))/0x7*(parseInt(_0x1f209d(0x11b))/0x8)+-parseInt(_0x1f209d(0x122))/0x9*(parseInt(_0x1f209d(0x11f))/0xa)+parseInt(_0x1f209d(0x125))/0xb*(parseInt(_0x1f209d(0x11d))/0xc);if(_0x56010e===_0x3c3d7a)break;else _0x2090b7['push'](_0x2090b7['shift']());}catch(_0x4eab82){_0x2090b7['push'](_0x2090b7['shift']());}}}(a316_0x4df9,0x94416));function a316_0x5809(_0x51d8a6,_0x42e10d){_0x51d8a6=_0x51d8a6-0x11a;var _0x4df9f7=a316_0x4df9();var _0x580954=_0x4df9f7[_0x51d8a6];return _0x580954;}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';function a316_0x4df9(){var _0x1d457b=['82332qThllI','5646BQFwwe','3705493MyhJiJ','2527437XPvBLo','872HfPSeA','6BOneFl','12YZLqNy','3016636mBvucM','10vxGMzV','100wPFzzc','55258itkvGr','2138625KrRakt'];a316_0x4df9=function(){return _0x1d457b;};return a316_0x4df9();}
1
+ (function(_0x2ea28b,_0x501c85){var _0x4faf9c=a316_0x4639,_0x5a448d=_0x2ea28b();while(!![]){try{var _0x5dbe1a=parseInt(_0x4faf9c(0x1c8))/0x1+parseInt(_0x4faf9c(0x1c6))/0x2*(-parseInt(_0x4faf9c(0x1c9))/0x3)+-parseInt(_0x4faf9c(0x1ca))/0x4+parseInt(_0x4faf9c(0x1cd))/0x5*(parseInt(_0x4faf9c(0x1ce))/0x6)+parseInt(_0x4faf9c(0x1cb))/0x7+parseInt(_0x4faf9c(0x1c7))/0x8*(parseInt(_0x4faf9c(0x1cf))/0x9)+-parseInt(_0x4faf9c(0x1cc))/0xa;if(_0x5dbe1a===_0x501c85)break;else _0x5a448d['push'](_0x5a448d['shift']());}catch(_0x5792a2){_0x5a448d['push'](_0x5a448d['shift']());}}}(a316_0x4218,0xcb077));function a316_0x4218(){var _0x41b2a7=['11730WPgGNS','1014fBIGdp','8316kwTmwm','1499846nYRXqC','5288LnLeud','1540409vRojBV','3FAokmy','5628816eeicDN','10991344rMsdug','11291050erjsSB'];a316_0x4218=function(){return _0x41b2a7;};return a316_0x4218();}function a316_0x4639(_0x465607,_0x320c0f){_0x465607=_0x465607-0x1c6;var _0x421801=a316_0x4218();var _0x463908=_0x421801[_0x465607];return _0x463908;}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';
@@ -1,4 +1,4 @@
1
- export declare const VERSION = "2.5.4-beta.5";
2
- export declare const GIT_TAG = "v2.5.4-beta.5";
3
- export declare const GIT_COMMIT = "ec2ea154";
4
- export declare const BUILD_TIME = "2026-09-29T02:37:27.911Z";
1
+ export declare const VERSION = "2.5.4";
2
+ export declare const GIT_TAG = "v2.5.4";
3
+ export declare const GIT_COMMIT = "925963a5";
4
+ export declare const BUILD_TIME = "2026-09-29T02:44:09.044Z";
@@ -1 +1 @@
1
- const a317_0x1476c1=a317_0x1448;(function(_0x5985a3,_0x473832){const _0x42e87a=a317_0x1448,_0x3f29f4=_0x5985a3();while(!![]){try{const _0x4fc678=parseInt(_0x42e87a(0x17b))/0x1*(parseInt(_0x42e87a(0x180))/0x2)+parseInt(_0x42e87a(0x186))/0x3+-parseInt(_0x42e87a(0x179))/0x4*(-parseInt(_0x42e87a(0x181))/0x5)+-parseInt(_0x42e87a(0x17c))/0x6*(-parseInt(_0x42e87a(0x17e))/0x7)+-parseInt(_0x42e87a(0x178))/0x8*(parseInt(_0x42e87a(0x182))/0x9)+-parseInt(_0x42e87a(0x17f))/0xa+-parseInt(_0x42e87a(0x17a))/0xb*(parseInt(_0x42e87a(0x183))/0xc);if(_0x4fc678===_0x473832)break;else _0x3f29f4['push'](_0x3f29f4['shift']());}catch(_0x5dcd63){_0x3f29f4['push'](_0x3f29f4['shift']());}}}(a317_0x36cd,0xd74fc));function a317_0x36cd(){const _0x36cae9=['16387yyVidV','9824700WqvQLx','14822gocEGb','1880nJxawY','596907pyJroy','2240196SYiBMV','v2.5.4-beta.5','2026-09-29T02:37:27.911Z','2159994LRdacQ','16FoZtlJ','9188ZpeaNc','77AkFEZP','47GLzxYt','3516ovPfrp','ec2ea154'];a317_0x36cd=function(){return _0x36cae9;};return a317_0x36cd();}export const VERSION='2.5.4-beta.5';export const GIT_TAG=a317_0x1476c1(0x184);function a317_0x1448(_0x144f53,_0x4a50ce){_0x144f53=_0x144f53-0x178;const _0x36cd53=a317_0x36cd();let _0x144848=_0x36cd53[_0x144f53];return _0x144848;}export const GIT_COMMIT=a317_0x1476c1(0x17d);export const BUILD_TIME=a317_0x1476c1(0x185);
1
+ function a317_0x3e81(_0x2b1473,_0x16614c){_0x2b1473=_0x2b1473-0x12a;const _0x152abb=a317_0x152a();let _0x3e81f4=_0x152abb[_0x2b1473];return _0x3e81f4;}const a317_0x2180aa=a317_0x3e81;(function(_0x52c60f,_0x51bd2c){const _0x28bd58=a317_0x3e81,_0x2f82da=_0x52c60f();while(!![]){try{const _0x4ecc63=-parseInt(_0x28bd58(0x12d))/0x1+-parseInt(_0x28bd58(0x134))/0x2*(parseInt(_0x28bd58(0x12f))/0x3)+parseInt(_0x28bd58(0x12e))/0x4+-parseInt(_0x28bd58(0x132))/0x5*(parseInt(_0x28bd58(0x12b))/0x6)+parseInt(_0x28bd58(0x12c))/0x7+-parseInt(_0x28bd58(0x130))/0x8*(parseInt(_0x28bd58(0x133))/0x9)+parseInt(_0x28bd58(0x137))/0xa;if(_0x4ecc63===_0x51bd2c)break;else _0x2f82da['push'](_0x2f82da['shift']());}catch(_0x1fabf0){_0x2f82da['push'](_0x2f82da['shift']());}}}(a317_0x152a,0xaa997));export const VERSION=a317_0x2180aa(0x131);export const GIT_TAG=a317_0x2180aa(0x12a);function a317_0x152a(){const _0x84ba33=['56252WcqbFu','38682vZNdbl','16tGhetn','2.5.4','1825nMPTFT','2763963aEChtI','140VWUtAE','2026-09-29T02:44:09.044Z','925963a5','20101880iyITdw','v2.5.4','9954wixkNS','9182565QXfACz','514942OXXrBm'];a317_0x152a=function(){return _0x84ba33;};return a317_0x152a();}export const GIT_COMMIT=a317_0x2180aa(0x136);export const BUILD_TIME=a317_0x2180aa(0x135);
@@ -1 +1 @@
1
- const a318_0x58d9e7=a318_0x413e;(function(_0x3ed4f8,_0x28f5fa){const _0x2c52a3=a318_0x413e,_0x81b391=_0x3ed4f8();while(!![]){try{const _0x159dc4=parseInt(_0x2c52a3(0xa4))/0x1*(parseInt(_0x2c52a3(0xaa))/0x2)+parseInt(_0x2c52a3(0x86))/0x3*(parseInt(_0x2c52a3(0x9d))/0x4)+parseInt(_0x2c52a3(0xa6))/0x5*(-parseInt(_0x2c52a3(0x85))/0x6)+-parseInt(_0x2c52a3(0x97))/0x7*(parseInt(_0x2c52a3(0x8d))/0x8)+-parseInt(_0x2c52a3(0x9c))/0x9+-parseInt(_0x2c52a3(0xae))/0xa+parseInt(_0x2c52a3(0x9f))/0xb;if(_0x159dc4===_0x28f5fa)break;else _0x81b391['push'](_0x81b391['shift']());}catch(_0x4ce664){_0x81b391['push'](_0x81b391['shift']());}}}(a318_0x9ab8,0x2821f));export const ROUTING_CATALOG_DIGEST=a318_0x58d9e7(0x99);export const DEFAULT_REGION='cn';function a318_0x9ab8(){const _0x4d9953=['https://kb-service.lovrabet.id','10639387nBhkqQ','https://g.lovrabet.ai','https://g.alicdn.com/code/lib','https://dev.lovrabet.ai','https://daily-runtime.lovrabet.com','157JqfiTC','https://cdnjs.cloudflare.com/ajax/libs','5odFJgz','https://dev.lovrabet.com','https://app.lovrabet.ai','Global','1724okueio','https://api.lovrabet.id','https://api.lovrabet.com','Mainland\x20China','2854600bNUpsz','https://skills.lovrabet.id','757338WQHYrR','3iwivTD','https://api.lovrabet.ai','https://dev.lovrabet.id','https://g.lovrabet.id','https://daily-runtime.lovrabet.ai','https://user.lovrabet.ai','https://runtime.lovrabet.com','2040EWevUb','https://skills.lovrabet.com','https://app.lovrabet.id','https://g.lovrabet.com','https://runtime.lovrabet.id','indonesia','https://runtime.lovrabet.ai','https://skills.lovrabet.ai','https://user-daily.lovrabet.ai','https://daily.lovrabet.ai','8533ahozFb','Indonesia','57d346b80b12ca567af9d86dd7f8c02a0c27fe15d4944c8345add2cc6134c587','https://daily-api.lovrabet.com','global','2919969TszhkN','435204MAmhyf'];a318_0x9ab8=function(){return _0x4d9953;};return a318_0x9ab8();}export const REGION_VALUES=['cn','id','global'];export const ENABLED_REGION_VALUES=['cn','id',a318_0x58d9e7(0x9b)];export const OFFICIAL_ROUTING_PROFILES={'cn':{'enabled':!![],'label':a318_0x58d9e7(0xad),'aliases':['china'],'serviceDomains':{'production':{'user':'https://user.lovrabet.com','api':'https://api.lovrabet.com','runtime':a318_0x58d9e7(0x8c),'skill':a318_0x58d9e7(0x8e),'kb':a318_0x58d9e7(0xac),'kbService':'https://kb-service.lovrabet.com','app':'https://app.lovrabet.com'},'daily':{'user':'https://user-daily.lovrabet.com','api':a318_0x58d9e7(0x9a),'runtime':a318_0x58d9e7(0xa3),'skill':'https://skills-daily.lovrabet.com','kb':a318_0x58d9e7(0x9a),'kbService':'https://kb-service-daily.lovrabet.com','app':'https://daily.lovrabet.com'}},'cdn':{'libraries':a318_0x58d9e7(0xa1),'lovrabet':a318_0x58d9e7(0x90)},'local':{'origin':a318_0x58d9e7(0xa7)}},'id':{'enabled':!![],'label':a318_0x58d9e7(0x98),'aliases':[a318_0x58d9e7(0x92)],'serviceDomains':{'production':{'user':'https://user.lovrabet.id','api':a318_0x58d9e7(0xab),'runtime':a318_0x58d9e7(0x91),'skill':a318_0x58d9e7(0xaf),'kb':a318_0x58d9e7(0xab),'kbService':a318_0x58d9e7(0x9e),'app':a318_0x58d9e7(0x8f)}},'cdn':{'libraries':a318_0x58d9e7(0xa5),'lovrabet':a318_0x58d9e7(0x89)},'local':{'origin':a318_0x58d9e7(0x88)}},'global':{'enabled':!![],'label':a318_0x58d9e7(0xa9),'aliases':[],'serviceDomains':{'production':{'user':a318_0x58d9e7(0x8b),'api':a318_0x58d9e7(0x87),'runtime':a318_0x58d9e7(0x93),'skill':a318_0x58d9e7(0x94),'kb':'https://api.lovrabet.ai','app':a318_0x58d9e7(0xa8)},'daily':{'user':a318_0x58d9e7(0x95),'api':'https://daily-api.lovrabet.ai','runtime':a318_0x58d9e7(0x8a),'skill':'https://skills-daily.lovrabet.ai','kb':'https://daily-api.lovrabet.ai','app':a318_0x58d9e7(0x96)}},'cdn':{'libraries':a318_0x58d9e7(0xa5),'lovrabet':a318_0x58d9e7(0xa0)},'local':{'origin':a318_0x58d9e7(0xa2)}}};function a318_0x413e(_0x531a57,_0xad9d31){_0x531a57=_0x531a57-0x85;const _0x9ab847=a318_0x9ab8();let _0x413e0f=_0x9ab847[_0x531a57];return _0x413e0f;}export const REGION_ALIASES={'china':'cn','indonesia':'id'};
1
+ function a318_0x4b62(_0x5d84e4,_0x186d83){_0x5d84e4=_0x5d84e4-0x9c;const _0x3f6385=a318_0x3f63();let _0x4b6254=_0x3f6385[_0x5d84e4];return _0x4b6254;}const a318_0x5b4992=a318_0x4b62;(function(_0xb60e7,_0x326dcf){const _0x4baf15=a318_0x4b62,_0x9a6891=_0xb60e7();while(!![]){try{const _0x59db11=-parseInt(_0x4baf15(0xa3))/0x1+parseInt(_0x4baf15(0xca))/0x2*(parseInt(_0x4baf15(0x9e))/0x3)+parseInt(_0x4baf15(0xc9))/0x4*(-parseInt(_0x4baf15(0xbd))/0x5)+-parseInt(_0x4baf15(0xc8))/0x6+-parseInt(_0x4baf15(0xa5))/0x7+parseInt(_0x4baf15(0xa0))/0x8+parseInt(_0x4baf15(0xbc))/0x9*(parseInt(_0x4baf15(0xba))/0xa);if(_0x59db11===_0x326dcf)break;else _0x9a6891['push'](_0x9a6891['shift']());}catch(_0x152ea8){_0x9a6891['push'](_0x9a6891['shift']());}}}(a318_0x3f63,0xbe11c));export const ROUTING_CATALOG_DIGEST=a318_0x5b4992(0xa1);function a318_0x3f63(){const _0x43682a=['107005YpWzqG','https://skills.lovrabet.com','9854873GIsCZK','https://g.lovrabet.com','https://user-daily.lovrabet.ai','Mainland\x20China','https://api.lovrabet.id','https://app.lovrabet.id','Indonesia','https://skills.lovrabet.id','https://runtime.lovrabet.com','https://user-daily.lovrabet.com','china','https://skills-daily.lovrabet.com','https://daily-api.lovrabet.ai','https://app.lovrabet.ai','https://api.lovrabet.ai','https://user.lovrabet.id','https://api.lovrabet.com','https://kb-service.lovrabet.com','https://runtime.lovrabet.ai','https://g.lovrabet.ai','https://kb-service.lovrabet.id','10749170kUYwJQ','https://daily-runtime.lovrabet.ai','18YwanAt','410015MFaENu','indonesia','https://daily.lovrabet.ai','https://g.lovrabet.id','https://runtime.lovrabet.id','https://daily.lovrabet.com','https://cdnjs.cloudflare.com/ajax/libs','global','https://daily-api.lovrabet.com','https://dev.lovrabet.com','https://dev.lovrabet.id','6766104uMCmSl','8EJHCpa','2pmiDlJ','https://app.lovrabet.com','https://user.lovrabet.ai','https://skills.lovrabet.ai','1471737XbqEks','https://skills-daily.lovrabet.ai','7557160sixGTS','57d346b80b12ca567af9d86dd7f8c02a0c27fe15d4944c8345add2cc6134c587','https://g.alicdn.com/code/lib'];a318_0x3f63=function(){return _0x43682a;};return a318_0x3f63();}export const DEFAULT_REGION='cn';export const REGION_VALUES=['cn','id','global'];export const ENABLED_REGION_VALUES=['cn','id',a318_0x5b4992(0xc4)];export const OFFICIAL_ROUTING_PROFILES={'cn':{'enabled':!![],'label':a318_0x5b4992(0xa8),'aliases':[a318_0x5b4992(0xaf)],'serviceDomains':{'production':{'user':'https://user.lovrabet.com','api':a318_0x5b4992(0xb5),'runtime':a318_0x5b4992(0xad),'skill':a318_0x5b4992(0xa4),'kb':'https://api.lovrabet.com','kbService':a318_0x5b4992(0xb6),'app':a318_0x5b4992(0xcb)},'daily':{'user':a318_0x5b4992(0xae),'api':a318_0x5b4992(0xc5),'runtime':'https://daily-runtime.lovrabet.com','skill':a318_0x5b4992(0xb0),'kb':a318_0x5b4992(0xc5),'kbService':'https://kb-service-daily.lovrabet.com','app':a318_0x5b4992(0xc2)}},'cdn':{'libraries':a318_0x5b4992(0xa2),'lovrabet':a318_0x5b4992(0xa6)},'local':{'origin':a318_0x5b4992(0xc6)}},'id':{'enabled':!![],'label':a318_0x5b4992(0xab),'aliases':[a318_0x5b4992(0xbe)],'serviceDomains':{'production':{'user':a318_0x5b4992(0xb4),'api':a318_0x5b4992(0xa9),'runtime':a318_0x5b4992(0xc1),'skill':a318_0x5b4992(0xac),'kb':a318_0x5b4992(0xa9),'kbService':a318_0x5b4992(0xb9),'app':a318_0x5b4992(0xaa)}},'cdn':{'libraries':a318_0x5b4992(0xc3),'lovrabet':a318_0x5b4992(0xc0)},'local':{'origin':a318_0x5b4992(0xc7)}},'global':{'enabled':!![],'label':'Global','aliases':[],'serviceDomains':{'production':{'user':a318_0x5b4992(0x9c),'api':a318_0x5b4992(0xb3),'runtime':a318_0x5b4992(0xb7),'skill':a318_0x5b4992(0x9d),'kb':a318_0x5b4992(0xb3),'app':a318_0x5b4992(0xb2)},'daily':{'user':a318_0x5b4992(0xa7),'api':a318_0x5b4992(0xb1),'runtime':a318_0x5b4992(0xbb),'skill':a318_0x5b4992(0x9f),'kb':a318_0x5b4992(0xb1),'app':a318_0x5b4992(0xbf)}},'cdn':{'libraries':a318_0x5b4992(0xc3),'lovrabet':a318_0x5b4992(0xb8)},'local':{'origin':'https://dev.lovrabet.ai'}}};export const REGION_ALIASES={'china':'cn','indonesia':'id'};
@@ -1 +1 @@
1
- const a319_0x2139b4=a319_0x44dc;(function(_0x9112b,_0x4d4a6c){const _0x1d2abc=a319_0x44dc,_0x34c3ea=_0x9112b();while(!![]){try{const _0x1412b0=parseInt(_0x1d2abc(0x173))/0x1+parseInt(_0x1d2abc(0x16e))/0x2+parseInt(_0x1d2abc(0x17a))/0x3+-parseInt(_0x1d2abc(0x180))/0x4*(parseInt(_0x1d2abc(0x17b))/0x5)+-parseInt(_0x1d2abc(0x17e))/0x6+-parseInt(_0x1d2abc(0x16d))/0x7*(-parseInt(_0x1d2abc(0x182))/0x8)+parseInt(_0x1d2abc(0x175))/0x9*(-parseInt(_0x1d2abc(0x170))/0xa);if(_0x1412b0===_0x4d4a6c)break;else _0x34c3ea['push'](_0x34c3ea['shift']());}catch(_0x20e292){_0x34c3ea['push'](_0x34c3ea['shift']());}}}(a319_0x381e,0x6f869));export const ENTERPRISE_ROUTING_SCHEMA_DIGEST=a319_0x2139b4(0x177);export const ENTERPRISE_ROUTING_PROTOCOL=a319_0x2139b4(0x16f);export const ENTERPRISE_ROUTING_KIND=a319_0x2139b4(0x16c);export const ENTERPRISE_ROUTING_DOMAIN_FIELDS=[a319_0x2139b4(0x176),'apiDomain',a319_0x2139b4(0x181),a319_0x2139b4(0x17d),a319_0x2139b4(0x17f),a319_0x2139b4(0x171),a319_0x2139b4(0x178),a319_0x2139b4(0x17c),a319_0x2139b4(0x172)];export const REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS=[a319_0x2139b4(0x176),a319_0x2139b4(0x174),a319_0x2139b4(0x181),a319_0x2139b4(0x17d),'kbDomain',a319_0x2139b4(0x178)];function a319_0x381e(){const _0x1eadac=['lovrabet-routing/v1','170UxumSF','kbServiceDomain','certificateDomain','758815SbpGZD','apiDomain','9306hosVwT','userDomain','a03fe188b2b34518efc5668666c0001d20354882cd7dd70afec902dffe1329c3','appDomain','lovrabet','416007liHpJs','178725BVULXQ','localDomain','skillDomain','3869226iiTWwK','kbDomain','96ofvJXo','runtimeDomain','3672tGKERi','libraries','enterprise','5397FLiSAp','1451530gxxTFH'];a319_0x381e=function(){return _0x1eadac;};return a319_0x381e();}export const ENTERPRISE_ROUTING_CDN_FIELDS=['libraries',a319_0x2139b4(0x179)];function a319_0x44dc(_0x34c9dc,_0x5a4fab){_0x34c9dc=_0x34c9dc-0x16c;const _0x381edc=a319_0x381e();let _0x44dc22=_0x381edc[_0x34c9dc];return _0x44dc22;}export const REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS=[a319_0x2139b4(0x183),a319_0x2139b4(0x179)];
1
+ const a319_0x56c8e4=a319_0x3bd9;(function(_0x265fd7,_0x4d03be){const _0x1c590d=a319_0x3bd9,_0x5528b8=_0x265fd7();while(!![]){try{const _0x261f25=parseInt(_0x1c590d(0xf5))/0x1+parseInt(_0x1c590d(0xf1))/0x2*(parseInt(_0x1c590d(0xf2))/0x3)+-parseInt(_0x1c590d(0xe7))/0x4+parseInt(_0x1c590d(0xe6))/0x5*(-parseInt(_0x1c590d(0xec))/0x6)+-parseInt(_0x1c590d(0xf0))/0x7+parseInt(_0x1c590d(0xf4))/0x8*(parseInt(_0x1c590d(0xe9))/0x9)+-parseInt(_0x1c590d(0xe4))/0xa;if(_0x261f25===_0x4d03be)break;else _0x5528b8['push'](_0x5528b8['shift']());}catch(_0x4f4e40){_0x5528b8['push'](_0x5528b8['shift']());}}}(a319_0x1d6c,0xdc8cf));export const ENTERPRISE_ROUTING_SCHEMA_DIGEST=a319_0x56c8e4(0xe5);export const ENTERPRISE_ROUTING_PROTOCOL='lovrabet-routing/v1';function a319_0x3bd9(_0x3b25db,_0x2f3571){_0x3b25db=_0x3b25db-0xe3;const _0x1d6ccc=a319_0x1d6c();let _0x3bd99f=_0x1d6ccc[_0x3b25db];return _0x3bd99f;}export const ENTERPRISE_ROUTING_KIND=a319_0x56c8e4(0xf7);export const ENTERPRISE_ROUTING_DOMAIN_FIELDS=[a319_0x56c8e4(0xf8),a319_0x56c8e4(0xed),'runtimeDomain',a319_0x56c8e4(0xe8),'kbDomain',a319_0x56c8e4(0xee),a319_0x56c8e4(0xe3),a319_0x56c8e4(0xf6),'certificateDomain'];export const REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS=[a319_0x56c8e4(0xf8),'apiDomain',a319_0x56c8e4(0xf3),'skillDomain',a319_0x56c8e4(0xeb),a319_0x56c8e4(0xe3)];function a319_0x1d6c(){const _0x266e8b=['runtimeDomain','13344TaYxyY','8492PApdPn','localDomain','enterprise','userDomain','appDomain','1187490InHlJA','a03fe188b2b34518efc5668666c0001d20354882cd7dd70afec902dffe1329c3','2971945cewlsw','1161652BuIykk','skillDomain','8298mxJySi','lovrabet','kbDomain','6KpFGTr','apiDomain','kbServiceDomain','libraries','8110725gKzZXY','2tGbVSU','4557639VGGKLj'];a319_0x1d6c=function(){return _0x266e8b;};return a319_0x1d6c();}export const ENTERPRISE_ROUTING_CDN_FIELDS=[a319_0x56c8e4(0xef),a319_0x56c8e4(0xea)];export const REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS=['libraries',a319_0x56c8e4(0xea)];
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- (function(_0x3e4142,_0x45573b){var _0x31e7f5=a320_0xd666,_0x45dfdd=_0x3e4142();while(!![]){try{var _0x16d50f=-parseInt(_0x31e7f5(0xf6))/0x1+-parseInt(_0x31e7f5(0xf2))/0x2*(parseInt(_0x31e7f5(0xf7))/0x3)+-parseInt(_0x31e7f5(0xf5))/0x4+parseInt(_0x31e7f5(0xf1))/0x5+-parseInt(_0x31e7f5(0xf8))/0x6*(parseInt(_0x31e7f5(0xef))/0x7)+parseInt(_0x31e7f5(0xfa))/0x8+-parseInt(_0x31e7f5(0xfc))/0x9*(-parseInt(_0x31e7f5(0xf0))/0xa);if(_0x16d50f===_0x45573b)break;else _0x45dfdd['push'](_0x45dfdd['shift']());}catch(_0xecfacd){_0x45dfdd['push'](_0x45dfdd['shift']());}}}(a320_0x1a43,0x5988e));function a320_0x1a43(){var _0x1aa2fa=['log','4396976ceZmTH','\x20--help','11262681cbmrBH','\x20to\x20view\x20available\x20commands.','\x20\x20Use\x20','7SHWUAm','10EDdmHk','2591955wSFsKq','6FSXnPw','green','bold','2864972TLaojZ','590507MiGoqi','586491qdyGbz','356682txEuqf'];a320_0x1a43=function(){return _0x1aa2fa;};return a320_0x1a43();}import a320_0x6189b6 from'chalk';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';function a320_0xd666(_0x49f9ea,_0x2c9233){_0x49f9ea=_0x49f9ea-0xed;var _0x1a4312=a320_0x1a43();var _0xd66605=_0x1a4312[_0x49f9ea];return _0xd66605;}export function showHelp(){var _0x43c908=a320_0xd666;console['log'](),console[_0x43c908(0xf9)](a320_0x6189b6[_0x43c908(0xf3)][_0x43c908(0xf4)]('\x20\x20'+CLI_DISPLAY_NAME)),console['log'](),console['log'](_0x43c908(0xee)+a320_0x6189b6['green']['bold'](CLI_BIN_NAME+_0x43c908(0xfb))+_0x43c908(0xed)),console[_0x43c908(0xf9)]();}
1
+ (function(_0x3efde1,_0x6071ca){var _0x158a9e=a320_0x4339,_0x103e4c=_0x3efde1();while(!![]){try{var _0x320a37=-parseInt(_0x158a9e(0xf6))/0x1+parseInt(_0x158a9e(0xed))/0x2+parseInt(_0x158a9e(0xf9))/0x3+parseInt(_0x158a9e(0xf2))/0x4+-parseInt(_0x158a9e(0xec))/0x5*(-parseInt(_0x158a9e(0xf5))/0x6)+-parseInt(_0x158a9e(0xf7))/0x7+-parseInt(_0x158a9e(0xf1))/0x8*(-parseInt(_0x158a9e(0xf4))/0x9);if(_0x320a37===_0x6071ca)break;else _0x103e4c['push'](_0x103e4c['shift']());}catch(_0x2007d5){_0x103e4c['push'](_0x103e4c['shift']());}}}(a320_0x4ba3,0x1ad3d));function a320_0x4ba3(){var _0x19c599=['768453iqGuzA','\x20\x20Use\x20','229356blqdZy','log','35830ddZBes','19928NdRUdk','\x20to\x20view\x20available\x20commands.','bold','\x20--help','58664BENkTP','417704gOqBeY','green','63imzEiY','60VGRjbI','94169yaLpya'];a320_0x4ba3=function(){return _0x19c599;};return a320_0x4ba3();}function a320_0x4339(_0xae63a1,_0x3f29f8){_0xae63a1=_0xae63a1-0xec;var _0x4ba3bf=a320_0x4ba3();var _0x433900=_0x4ba3bf[_0xae63a1];return _0x433900;}import a320_0x5933fb from'chalk';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0x2d2200=a320_0x4339;console[_0x2d2200(0xfa)](),console[_0x2d2200(0xfa)](a320_0x5933fb['green'][_0x2d2200(0xef)]('\x20\x20'+CLI_DISPLAY_NAME)),console['log'](),console[_0x2d2200(0xfa)](_0x2d2200(0xf8)+a320_0x5933fb[_0x2d2200(0xf3)][_0x2d2200(0xef)](CLI_BIN_NAME+_0x2d2200(0xf0))+_0x2d2200(0xee)),console[_0x2d2200(0xfa)]();}
@@ -1 +1 @@
1
- (function(_0x112f36,_0x414724){const _0x4e179d=a321_0x43c6,_0x34ca6d=_0x112f36();while(!![]){try{const _0x5407c5=parseInt(_0x4e179d(0x1f6))/0x1+-parseInt(_0x4e179d(0x1fa))/0x2*(-parseInt(_0x4e179d(0x1f1))/0x3)+-parseInt(_0x4e179d(0x1ed))/0x4*(parseInt(_0x4e179d(0x1eb))/0x5)+-parseInt(_0x4e179d(0x1fb))/0x6*(-parseInt(_0x4e179d(0x1ec))/0x7)+-parseInt(_0x4e179d(0x1f0))/0x8*(-parseInt(_0x4e179d(0x1fc))/0x9)+-parseInt(_0x4e179d(0x1ea))/0xa+-parseInt(_0x4e179d(0x1e6))/0xb*(-parseInt(_0x4e179d(0x1f7))/0xc);if(_0x5407c5===_0x414724)break;else _0x34ca6d['push'](_0x34ca6d['shift']());}catch(_0x24d941){_0x34ca6d['push'](_0x34ca6d['shift']());}}}(a321_0x549c,0x62da4));import{installBuiltinSkill}from'./skills/builtin-skill.js';export async function runPostinstall(_0x301cf9={}){const _0x2ce846=a321_0x43c6,_0x3e999d=installBuiltinSkill(_0x301cf9);if(_0x3e999d['ok']){const _0x31a1de=_0x3e999d['changed']?_0x2ce846(0x1ef):_0x2ce846(0x1f2),_0x5210ac=_0x3e999d[_0x2ce846(0x1e5)]?_0x2ce846(0x1f5)+_0x3e999d[_0x2ce846(0x1e5)]:_0x2ce846(0x1f3);return console[_0x2ce846(0x1e2)]('Rabetbase\x20Built-in\x20Skill\x20'+_0x3e999d[_0x2ce846(0x1e4)]+'\x20'+_0x31a1de+_0x5210ac),_0x3e999d;}const _0x52789f=_0x2ce846(0x1e8)+(_0x3e999d[_0x2ce846(0x1f9)]??_0x2ce846(0x1f8))+']\x20'+(_0x3e999d[_0x2ce846(0x1e7)]??_0x2ce846(0x1e1))+'.\x20'+(_0x2ce846(0x1e3)+_0x3e999d[_0x2ce846(0x1f4)]);if(_0x3e999d['code']===_0x2ce846(0x1e9))throw new Error(_0x52789f);return console[_0x2ce846(0x1ee)](_0x52789f),_0x3e999d;}function a321_0x43c6(_0x1c86d0,_0x18ca1f){_0x1c86d0=_0x1c86d0-0x1e1;const _0x549c8a=a321_0x549c();let _0x43c679=_0x549c8a[_0x1c86d0];return _0x43c679;}function a321_0x549c(){const _0x332faf=['error','[BUILTIN_SKILL_INSTALL_','SOURCE_INVALID','2650130IHaqcg','726815knaeYS','868BlgNFh','16rpClTG','warn','installed','232264RnSSUd','5703UEUVBf','already\x20current','\x20via\x20skills@latest','repairCommand','\x20at\x20','197223asQlur','12uZkWdL','FAILED','code','626uiwnCA','11874fvZbVW','36LMNiVB','Installation\x20failed','log','Repair\x20with:\x20','skillVersion','installedPath','1073611FVulvI'];a321_0x549c=function(){return _0x332faf;};return a321_0x549c();}
1
+ function a321_0x16a7(_0x1da0de,_0x1c3956){_0x1da0de=_0x1da0de-0x140;const _0x3fa387=a321_0x3fa3();let _0x16a7a2=_0x3fa387[_0x1da0de];return _0x16a7a2;}(function(_0x52b284,_0x235979){const _0x1f9bec=a321_0x16a7,_0x574008=_0x52b284();while(!![]){try{const _0x4e49e0=parseInt(_0x1f9bec(0x140))/0x1*(-parseInt(_0x1f9bec(0x154))/0x2)+parseInt(_0x1f9bec(0x150))/0x3+parseInt(_0x1f9bec(0x147))/0x4+-parseInt(_0x1f9bec(0x152))/0x5*(-parseInt(_0x1f9bec(0x153))/0x6)+parseInt(_0x1f9bec(0x141))/0x7+parseInt(_0x1f9bec(0x142))/0x8*(-parseInt(_0x1f9bec(0x144))/0x9)+parseInt(_0x1f9bec(0x14c))/0xa;if(_0x4e49e0===_0x235979)break;else _0x574008['push'](_0x574008['shift']());}catch(_0x432882){_0x574008['push'](_0x574008['shift']());}}}(a321_0x3fa3,0xab2b5));import{installBuiltinSkill}from'./skills/builtin-skill.js';function a321_0x3fa3(){const _0x28e441=['error','installedPath','warn','3994680AOunyG','\x20via\x20skills@latest','installed','Rabetbase\x20Built-in\x20Skill\x20','994431TxPLwv','\x20at\x20','150KnuqyR','254382HaToPB','141756ESniVd','already\x20current','16bZAaKV','3794679VVaAgQ','321304NVISpm','Repair\x20with:\x20','189aTmfsP','SOURCE_INVALID','[BUILTIN_SKILL_INSTALL_','534512BmVAtZ','log'];a321_0x3fa3=function(){return _0x28e441;};return a321_0x3fa3();}export async function runPostinstall(_0x5f0e76={}){const _0xd1d0fa=a321_0x16a7,_0x1b6a97=installBuiltinSkill(_0x5f0e76);if(_0x1b6a97['ok']){const _0x4bd27d=_0x1b6a97['changed']?_0xd1d0fa(0x14e):_0xd1d0fa(0x155),_0x407a39=_0x1b6a97['installedPath']?_0xd1d0fa(0x151)+_0x1b6a97[_0xd1d0fa(0x14a)]:_0xd1d0fa(0x14d);return console[_0xd1d0fa(0x148)](_0xd1d0fa(0x14f)+_0x1b6a97['skillVersion']+'\x20'+_0x4bd27d+_0x407a39),_0x1b6a97;}const _0x36f39b=_0xd1d0fa(0x146)+(_0x1b6a97['code']??'FAILED')+']\x20'+(_0x1b6a97[_0xd1d0fa(0x149)]??'Installation\x20failed')+'.\x20'+(_0xd1d0fa(0x143)+_0x1b6a97['repairCommand']);if(_0x1b6a97['code']===_0xd1d0fa(0x145))throw new Error(_0x36f39b);return console[_0xd1d0fa(0x14b)](_0x36f39b),_0x1b6a97;}
@@ -1 +1 @@
1
- (function(_0x181ff8,_0x490100){const _0x55b8e0=a322_0x2423,_0x2f032c=_0x181ff8();while(!![]){try{const _0x50ec2f=-parseInt(_0x55b8e0(0x189))/0x1*(-parseInt(_0x55b8e0(0x18a))/0x2)+parseInt(_0x55b8e0(0x17f))/0x3+-parseInt(_0x55b8e0(0x182))/0x4*(-parseInt(_0x55b8e0(0x179))/0x5)+parseInt(_0x55b8e0(0x186))/0x6*(-parseInt(_0x55b8e0(0x17c))/0x7)+parseInt(_0x55b8e0(0x17a))/0x8*(-parseInt(_0x55b8e0(0x17e))/0x9)+parseInt(_0x55b8e0(0x178))/0xa+-parseInt(_0x55b8e0(0x185))/0xb;if(_0x50ec2f===_0x490100)break;else _0x2f032c['push'](_0x2f032c['shift']());}catch(_0xdf9a02){_0x2f032c['push'](_0x2f032c['shift']());}}}(a322_0xa515,0xbc69a));const DESCRIPTION_MAX_LENGTH=0x1f4;export function buildRabetbaseConfirmationRequest(_0x258ce1,_0x331801,_0x38416b){const _0x11d144=a322_0x2423,_0x38f3b8=normalizeText(_0x258ce1[_0x11d144(0x184)],DESCRIPTION_MAX_LENGTH),_0x3eb60a=_0x38f3b8||normalizeText(defaultDescription(requireWriteRisk(_0x258ce1),_0x331801),DESCRIPTION_MAX_LENGTH);return{'operation':_0x331801,'risk':requireWriteRisk(_0x258ce1),'description':_0x3eb60a,..._0x38416b?{'signal':_0x38416b}:{}};}function a322_0xa515(){const _0x54b7c4=['6051635NqhDbj','164240mFVXVP','This\x20will\x20run\x20the\x20write\x20','11417oSyuyf','replace','468tzVAKf','321468aBLlFF','string','high-risk-write','4vpFbDy','risk','confirmationDescription','12739848oiiWvm','78RYBwOq','write','This\x20will\x20run\x20the\x20high-risk\x20write\x20','892rMFvFE','3038HuoTcm','trim','3462380rWvixT'];a322_0xa515=function(){return _0x54b7c4;};return a322_0xa515();}function requireWriteRisk(_0x4e7546){const _0x388e19=a322_0x2423;if(_0x4e7546[_0x388e19(0x183)]===_0x388e19(0x187)||_0x4e7546[_0x388e19(0x183)]===_0x388e19(0x181))return _0x4e7546[_0x388e19(0x183)];throw new Error('Rabetbase\x20confirmation\x20requires\x20a\x20write\x20command.');}function defaultDescription(_0x4afbb6,_0x42bd17){const _0x5e33f9=a322_0x2423;if(_0x4afbb6===_0x5e33f9(0x181))return _0x5e33f9(0x188)+_0x42bd17+'.\x20It\x20may\x20overwrite,\x20delete,\x20or\x20materially\x20change\x20live\x20behavior.';return _0x5e33f9(0x17b)+_0x42bd17+'.\x20It\x20may\x20create\x20or\x20change\x20business\x20data\x20or\x20local\x20configuration.';}function a322_0x2423(_0x228ba7,_0x244dfc){_0x228ba7=_0x228ba7-0x178;const _0xa51542=a322_0xa515();let _0x242366=_0xa51542[_0x228ba7];return _0x242366;}function normalizeText(_0x2a03ba,_0x18db19){const _0x3258d8=a322_0x2423;if(typeof _0x2a03ba!==_0x3258d8(0x180))return'';return _0x2a03ba[_0x3258d8(0x17d)](/[\u0000-\u001f\u007f]+/g,'\x20')[_0x3258d8(0x17d)](/\s+/g,'\x20')[_0x3258d8(0x18b)]()['slice'](0x0,_0x18db19);}
1
+ function a322_0x4570(_0x1a91ad,_0x1bef6c){_0x1a91ad=_0x1a91ad-0x124;const _0x2de6a1=a322_0x2de6();let _0x4570f3=_0x2de6a1[_0x1a91ad];return _0x4570f3;}(function(_0x3b088c,_0x3f8d6b){const _0x1420cd=a322_0x4570,_0x53a426=_0x3b088c();while(!![]){try{const _0x2483a4=parseInt(_0x1420cd(0x124))/0x1+-parseInt(_0x1420cd(0x133))/0x2+parseInt(_0x1420cd(0x136))/0x3*(-parseInt(_0x1420cd(0x125))/0x4)+-parseInt(_0x1420cd(0x128))/0x5*(-parseInt(_0x1420cd(0x132))/0x6)+-parseInt(_0x1420cd(0x12f))/0x7+parseInt(_0x1420cd(0x135))/0x8*(-parseInt(_0x1420cd(0x131))/0x9)+-parseInt(_0x1420cd(0x126))/0xa*(-parseInt(_0x1420cd(0x12d))/0xb);if(_0x2483a4===_0x3f8d6b)break;else _0x53a426['push'](_0x53a426['shift']());}catch(_0x4f1e6a){_0x53a426['push'](_0x53a426['shift']());}}}(a322_0x2de6,0xb626f));const DESCRIPTION_MAX_LENGTH=0x1f4;export function buildRabetbaseConfirmationRequest(_0x4c4da2,_0x137436,_0x295f5d){const _0x438487=normalizeText(_0x4c4da2['confirmationDescription'],DESCRIPTION_MAX_LENGTH),_0x1242d1=_0x438487||normalizeText(defaultDescription(requireWriteRisk(_0x4c4da2),_0x137436),DESCRIPTION_MAX_LENGTH);return{'operation':_0x137436,'risk':requireWriteRisk(_0x4c4da2),'description':_0x1242d1,..._0x295f5d?{'signal':_0x295f5d}:{}};}function requireWriteRisk(_0x462e42){const _0x289e8f=a322_0x4570;if(_0x462e42[_0x289e8f(0x129)]===_0x289e8f(0x137)||_0x462e42[_0x289e8f(0x129)]===_0x289e8f(0x12a))return _0x462e42[_0x289e8f(0x129)];throw new Error('Rabetbase\x20confirmation\x20requires\x20a\x20write\x20command.');}function defaultDescription(_0xaa693f,_0x5e7f5e){const _0x4f3b2a=a322_0x4570;if(_0xaa693f===_0x4f3b2a(0x12a))return _0x4f3b2a(0x130)+_0x5e7f5e+_0x4f3b2a(0x12b);return _0x4f3b2a(0x12e)+_0x5e7f5e+'.\x20It\x20may\x20create\x20or\x20change\x20business\x20data\x20or\x20local\x20configuration.';}function a322_0x2de6(){const _0x1d5352=['risk','high-risk-write','.\x20It\x20may\x20overwrite,\x20delete,\x20or\x20materially\x20change\x20live\x20behavior.','replace','13612555xRiaGF','This\x20will\x20run\x20the\x20write\x20','6623008kwAsLW','This\x20will\x20run\x20the\x20high-risk\x20write\x20','25587MtVcrW','9372ODvyzu','566416rzOdgd','slice','3000pNsOOB','353352hxNlCD','write','684052PfSnha','12rddknS','20CmzxIv','string','755NNuQvD'];a322_0x2de6=function(){return _0x1d5352;};return a322_0x2de6();}function normalizeText(_0x583981,_0x342243){const _0x234aac=a322_0x4570;if(typeof _0x583981!==_0x234aac(0x127))return'';return _0x583981[_0x234aac(0x12c)](/[\u0000-\u001f\u007f]+/g,'\x20')[_0x234aac(0x12c)](/\s+/g,'\x20')['trim']()[_0x234aac(0x134)](0x0,_0x342243);}
@@ -1 +1 @@
1
- function a323_0x115b(_0x30126a,_0x110fda){_0x30126a=_0x30126a-0x120;const _0x5c68f5=a323_0x5c68();let _0x115b86=_0x5c68f5[_0x30126a];return _0x115b86;}(function(_0xf6014e,_0x41301c){const _0x527c44=a323_0x115b,_0x3a25b2=_0xf6014e();while(!![]){try{const _0x2e0702=-parseInt(_0x527c44(0x130))/0x1+-parseInt(_0x527c44(0x12c))/0x2+-parseInt(_0x527c44(0x133))/0x3*(-parseInt(_0x527c44(0x12a))/0x4)+-parseInt(_0x527c44(0x12e))/0x5+-parseInt(_0x527c44(0x123))/0x6*(-parseInt(_0x527c44(0x131))/0x7)+-parseInt(_0x527c44(0x135))/0x8*(parseInt(_0x527c44(0x126))/0x9)+parseInt(_0x527c44(0x121))/0xa*(parseInt(_0x527c44(0x120))/0xb);if(_0x2e0702===_0x41301c)break;else _0x3a25b2['push'](_0x3a25b2['shift']());}catch(_0x427692){_0x3a25b2['push'](_0x3a25b2['shift']());}}}(a323_0x5c68,0x91b27));export function canonicalRabetbaseOperation(_0x495303){const _0x381b20=a323_0x115b;return[_0x495303['service'],..._0x495303[_0x381b20(0x122)][_0x381b20(0x125)]()['split'](/\s+/)][_0x381b20(0x129)](Boolean)['join']('.');}export function createRabetbaseWriteMetadata(_0xefce25,_0x5edf21,_0x635fbe,_0x542f45){const _0x5ddb7f=a323_0x115b;if(_0x542f45||_0x635fbe['ok']!==!![]||hasUnresolvedConflicts(_0x635fbe)||_0xefce25[_0x5ddb7f(0x127)]!==_0x5ddb7f(0x12b)&&_0xefce25[_0x5ddb7f(0x127)]!==_0x5ddb7f(0x12f))return undefined;return{'rabetbase':{'schemaVersion':0x1,'event':{'type':_0x5ddb7f(0x134),'operation':_0x5edf21,'risk':_0xefce25[_0x5ddb7f(0x127)]}}};}function hasUnresolvedConflicts(_0x5f3352){const _0x24b4d0=a323_0x115b,_0x200a79=_0x5f3352[_0x24b4d0(0x124)];return Boolean(_0x200a79&&typeof _0x200a79===_0x24b4d0(0x132)&&!Array[_0x24b4d0(0x128)](_0x200a79)&&Array[_0x24b4d0(0x128)](_0x200a79[_0x24b4d0(0x12d)])&&_0x200a79['conflicts']['length']>0x0);}function a323_0x5c68(){const _0x5f5096=['1029372hsTIHU','conflicts','159960dGmVlN','high-risk-write','223808PzHZKD','23296UTGOPU','object','3VKkCZP','rabetbase.write.completed','296Gmzzkr','321101HwUfsj','110sVVcPn','command','828lcBcKG','data','trim','101862NlFLgX','risk','isArray','filter','4022648mSlBWY','write'];a323_0x5c68=function(){return _0x5f5096;};return a323_0x5c68();}
1
+ (function(_0x5ce0d3,_0x4c7ccf){const _0x370467=a323_0x3fde,_0x45b330=_0x5ce0d3();while(!![]){try{const _0x156391=parseInt(_0x370467(0xf6))/0x1+-parseInt(_0x370467(0xf0))/0x2*(parseInt(_0x370467(0xf7))/0x3)+-parseInt(_0x370467(0xf4))/0x4+parseInt(_0x370467(0xed))/0x5*(parseInt(_0x370467(0x102))/0x6)+-parseInt(_0x370467(0xef))/0x7*(parseInt(_0x370467(0xfa))/0x8)+-parseInt(_0x370467(0xf3))/0x9*(parseInt(_0x370467(0x101))/0xa)+-parseInt(_0x370467(0xff))/0xb*(-parseInt(_0x370467(0xfc))/0xc);if(_0x156391===_0x4c7ccf)break;else _0x45b330['push'](_0x45b330['shift']());}catch(_0x595bc8){_0x45b330['push'](_0x45b330['shift']());}}}(a323_0x5ca9,0xe81a2));function a323_0x3fde(_0x3c31fd,_0x3899ab){_0x3c31fd=_0x3c31fd-0xed;const _0x5ca9a8=a323_0x5ca9();let _0x3fdedc=_0x5ca9a8[_0x3c31fd];return _0x3fdedc;}export function canonicalRabetbaseOperation(_0x4585b9){const _0x1380eb=a323_0x3fde;return[_0x4585b9[_0x1380eb(0xf5)],..._0x4585b9[_0x1380eb(0xf9)]['trim']()[_0x1380eb(0xfe)](/\s+/)][_0x1380eb(0xfb)](Boolean)[_0x1380eb(0xee)]('.');}function a323_0x5ca9(){const _0x36d1d7=['3346380UbvcHr','risk','split','132UrPVhs','conflicts','15663550NoXaDk','1075146jJIjPO','object','isArray','data','20dvPHVm','join','81949yKUBBt','2WWibHd','write','rabetbase.write.completed','9LYwAPq','1400420HaBgUf','service','895284ZXDjkr','4974357Pllotr','length','command','296Dqrwre','filter'];a323_0x5ca9=function(){return _0x36d1d7;};return a323_0x5ca9();}export function createRabetbaseWriteMetadata(_0x271e7a,_0x452637,_0x489940,_0x56430c){const _0x28e502=a323_0x3fde;if(_0x56430c||_0x489940['ok']!==!![]||hasUnresolvedConflicts(_0x489940)||_0x271e7a[_0x28e502(0xfd)]!==_0x28e502(0xf1)&&_0x271e7a[_0x28e502(0xfd)]!=='high-risk-write')return undefined;return{'rabetbase':{'schemaVersion':0x1,'event':{'type':_0x28e502(0xf2),'operation':_0x452637,'risk':_0x271e7a[_0x28e502(0xfd)]}}};}function hasUnresolvedConflicts(_0x4eb6a5){const _0x1b227d=a323_0x3fde,_0x3918d7=_0x4eb6a5[_0x1b227d(0x105)];return Boolean(_0x3918d7&&typeof _0x3918d7===_0x1b227d(0x103)&&!Array[_0x1b227d(0x104)](_0x3918d7)&&Array['isArray'](_0x3918d7[_0x1b227d(0x100)])&&_0x3918d7[_0x1b227d(0x100)][_0x1b227d(0xf8)]>0x0);}
@@ -1 +1 @@
1
- function a324_0x12fa(_0x3a6e9d,_0x436d1e){_0x3a6e9d=_0x3a6e9d-0x123;const _0x4f4b23=a324_0x4f4b();let _0x12fa87=_0x4f4b23[_0x3a6e9d];return _0x12fa87;}(function(_0x3b9b0e,_0x1cc2f5){const _0x5e35c8=a324_0x12fa,_0xb32d01=_0x3b9b0e();while(!![]){try{const _0xef6f19=parseInt(_0x5e35c8(0x138))/0x1*(-parseInt(_0x5e35c8(0x143))/0x2)+-parseInt(_0x5e35c8(0x123))/0x3+parseInt(_0x5e35c8(0x149))/0x4*(parseInt(_0x5e35c8(0x135))/0x5)+parseInt(_0x5e35c8(0x145))/0x6*(parseInt(_0x5e35c8(0x126))/0x7)+parseInt(_0x5e35c8(0x12c))/0x8*(-parseInt(_0x5e35c8(0x134))/0x9)+-parseInt(_0x5e35c8(0x128))/0xa*(-parseInt(_0x5e35c8(0x148))/0xb)+parseInt(_0x5e35c8(0x127))/0xc*(parseInt(_0x5e35c8(0x144))/0xd);if(_0xef6f19===_0x1cc2f5)break;else _0xb32d01['push'](_0xb32d01['shift']());}catch(_0x5b0080){_0xb32d01['push'](_0xb32d01['shift']());}}}(a324_0x4f4b,0xa82c8));import{buildConfigFromFlags,initGlobalEnvironment,isRoutingRecoveryService}from'../context.js';import{createPipelineEnv,createRabetbaseRunnerAdapter,finalizeRabetbaseRuntimeState,runCommand}from'../framework/runner.js';function a324_0x4f4b(){const _0x501011=['data','7483nPpxHo','12AZdnnM','112070dZCwdm','command','Rabetbase\x20invocation\x20aborted.','confirmation','8mkKSnw','format','risk','execute','dry-run','definition','service','dryRun','3824649tswNld','405cPAJFA','result','high-risk-write','39oSvJsR','rawFlags','Embedded\x20Rabetbase\x20confirmation\x20must\x20run\x20before\x20the\x20execution\x20queue.','signal','present','args','yes','AbortError','confirm','message','presentation','40318wHCeal','27336569SbdOLc','894ySUVOL','Rabetbase\x20invocation\x20completed\x20without\x20a\x20captured\x20command\x20result.','isNonInteractive','121JQGkKp','35212KsqiBt','write','3595236vePOhW','reason'];a324_0x4f4b=function(){return _0x501011;};return a324_0x4f4b();}import{buildRabetbaseConfirmationRequest}from'../runtime/confirmation.js';import{canonicalRabetbaseOperation,createRabetbaseWriteMetadata}from'../runtime/event.js';import{runSerialized}from'../runtime/queue.js';import{resolveRabetbaseInvocation}from'../runtime/resolve.js';const defaultPresentation={'present'({result:_0x5e6e3f,command:_0x30f3e7,risk:_0x226b67,dryRun:_0x475e7e}){const _0x243e0c=a324_0x12fa;return JSON['stringify']({'ok':_0x5e6e3f['ok'],'command':_0x30f3e7,'risk':_0x226b67,..._0x475e7e?{'dryRun':!![]}:{},..._0x5e6e3f[_0x243e0c(0x125)]!==undefined?{'data':_0x5e6e3f[_0x243e0c(0x125)]}:{},..._0x5e6e3f['message']?{'message':_0x5e6e3f[_0x243e0c(0x141)]}:{}});}};export async function invokeRabetbase(_0x5acd58,_0x5e0baa){throwIfAborted(_0x5e0baa['signal']);const _0x22b5e5=await resolveRabetbaseInvocation(_0x5acd58),_0x55b2e2=canonicalRabetbaseOperation(_0x22b5e5['definition']);return await confirmWriteBeforeQueue(_0x22b5e5['definition'],_0x22b5e5['rawFlags'],_0x55b2e2,_0x5e0baa),runSerialized(async()=>{const _0x10672e=a324_0x12fa,_0x34ee7b={};try{throwIfAborted(_0x5e0baa['signal']);const _0x329351=buildConfigFromFlags(_0x22b5e5[_0x10672e(0x139)]);!isRoutingRecoveryService(_0x22b5e5['definition'][_0x10672e(0x132)])&&await initGlobalEnvironment(_0x329351);const _0x2cba76=createPipelineEnv(_0x329351,{..._0x22b5e5['rawFlags'],'yes':_0x22b5e5[_0x10672e(0x131)][_0x10672e(0x12e)]==='high-risk-write'?!![]:_0x22b5e5['rawFlags'][_0x10672e(0x13e)],'nonInteractive':!![]},_0x22b5e5[_0x10672e(0x13d)]);_0x2cba76[_0x10672e(0x147)]=!![],_0x2cba76['riskLevel']=_0x10672e(0x137);const _0x5df68e=withAbortSignal(_0x22b5e5[_0x10672e(0x131)],_0x5e0baa[_0x10672e(0x13b)]),_0x2109b0=createRabetbaseRunnerAdapter({'formatOutput'(_0x3fdaca,_0x8823dc){const _0x5e3ee0=_0x10672e;_0x34ee7b['result']=_0x3fdaca,_0x34ee7b[_0x5e3ee0(0x129)]=_0x8823dc[_0x5e3ee0(0x129)],_0x34ee7b[_0x5e3ee0(0x12e)]=_0x8823dc['risk'],_0x34ee7b[_0x5e3ee0(0x12d)]=_0x8823dc['format'],_0x34ee7b[_0x5e3ee0(0x133)]=_0x8823dc[_0x5e3ee0(0x133)]===!![];},async 'confirmHighRisk'(){const _0xbd8f0c=_0x10672e;throw new Error(_0xbd8f0c(0x13a));}});await runCommand(_0x5df68e,_0x2cba76,_0x2109b0);if(!_0x34ee7b[_0x10672e(0x136)]||!_0x34ee7b[_0x10672e(0x129)]||!_0x34ee7b[_0x10672e(0x12e)]||!_0x34ee7b['format'])throw new Error(_0x10672e(0x146));const _0x2d069a=_0x34ee7b['dryRun']===!![],_0x211ee7=_0x5e0baa[_0x10672e(0x142)]??defaultPresentation,_0x1028ca={'result':_0x34ee7b['result'],'command':_0x34ee7b['command'],'operation':_0x55b2e2,'risk':_0x34ee7b[_0x10672e(0x12e)],'format':_0x34ee7b[_0x10672e(0x12d)],'dryRun':_0x2d069a},_0x472297=createRabetbaseWriteMetadata(_0x22b5e5['definition'],_0x55b2e2,_0x34ee7b[_0x10672e(0x136)],_0x2d069a);let _0x5a7d2d;try{_0x5a7d2d=await _0x211ee7[_0x10672e(0x13c)](_0x1028ca);}catch(_0xadc781){if(!_0x472297||_0x211ee7===defaultPresentation)throw _0xadc781;_0x5a7d2d=await defaultPresentation['present'](_0x1028ca);}return{'operation':_0x55b2e2,'risk':_0x34ee7b[_0x10672e(0x12e)],'mode':_0x2d069a?_0x10672e(0x130):'execute','result':_0x34ee7b['result'],'output':_0x5a7d2d,..._0x472297?{'metadata':_0x472297}:{}};}finally{await finalizeRabetbaseRuntimeState();}});}async function confirmWriteBeforeQueue(_0x4ec65a,_0x4b894a,_0x57c64b,_0x4af88f){const _0x3880af=a324_0x12fa;if(_0x4b894a[_0x3880af(0x133)]===!![]||_0x4ec65a['risk']!==_0x3880af(0x14a)&&_0x4ec65a[_0x3880af(0x12e)]!=='high-risk-write')return;await _0x4af88f[_0x3880af(0x12b)][_0x3880af(0x140)](buildRabetbaseConfirmationRequest(_0x4ec65a,_0x57c64b,_0x4af88f['signal']));}function withAbortSignal(_0x4d3cfd,_0x102a26){return{..._0x4d3cfd,async 'execute'(_0x4a2329){const _0x67369b=a324_0x12fa;return throwIfAborted(_0x102a26),_0x4d3cfd[_0x67369b(0x12f)]({..._0x4a2329,'signal':_0x102a26});}};}function throwIfAborted(_0x5864db){const _0x187f48=a324_0x12fa;if(_0x5864db?.['aborted'])throw _0x5864db[_0x187f48(0x124)]instanceof Error?_0x5864db[_0x187f48(0x124)]:new DOMException(_0x187f48(0x12a),_0x187f48(0x13f));}
1
+ (function(_0x20485a,_0x8e1acf){const _0x290c23=a324_0x35f1,_0x347d7c=_0x20485a();while(!![]){try{const _0xb2c988=-parseInt(_0x290c23(0x196))/0x1+parseInt(_0x290c23(0x1a6))/0x2+parseInt(_0x290c23(0x19a))/0x3*(-parseInt(_0x290c23(0x18f))/0x4)+-parseInt(_0x290c23(0x1a0))/0x5+-parseInt(_0x290c23(0x1a5))/0x6+-parseInt(_0x290c23(0x1a9))/0x7+parseInt(_0x290c23(0x18c))/0x8;if(_0xb2c988===_0x8e1acf)break;else _0x347d7c['push'](_0x347d7c['shift']());}catch(_0x20e074){_0x347d7c['push'](_0x347d7c['shift']());}}}(a324_0x2dce,0xe9c9e));import{buildConfigFromFlags,initGlobalEnvironment,isRoutingRecoveryService}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';import{runSerialized}from'../runtime/queue.js';import{resolveRabetbaseInvocation}from'../runtime/resolve.js';const defaultPresentation={'present'({result:_0x7ea066,command:_0x5805bf,risk:_0x8079d2,dryRun:_0x202989}){const _0x48f919=a324_0x35f1;return JSON[_0x48f919(0x19c)]({'ok':_0x7ea066['ok'],'command':_0x5805bf,'risk':_0x8079d2,..._0x202989?{'dryRun':!![]}:{},..._0x7ea066['data']!==undefined?{'data':_0x7ea066[_0x48f919(0x190)]}:{},..._0x7ea066['message']?{'message':_0x7ea066[_0x48f919(0x195)]}:{}});}};export async function invokeRabetbase(_0x3ccfae,_0x83b6f5){const _0x58aed5=a324_0x35f1;throwIfAborted(_0x83b6f5[_0x58aed5(0x19f)]);const _0x46c4fc=await resolveRabetbaseInvocation(_0x3ccfae),_0x108f47=canonicalRabetbaseOperation(_0x46c4fc['definition']);return await confirmWriteBeforeQueue(_0x46c4fc[_0x58aed5(0x199)],_0x46c4fc[_0x58aed5(0x1a8)],_0x108f47,_0x83b6f5),runSerialized(async()=>{const _0x442b12=_0x58aed5,_0x26396c={};try{throwIfAborted(_0x83b6f5['signal']);const _0x464d48=buildConfigFromFlags(_0x46c4fc[_0x442b12(0x1a8)]);!isRoutingRecoveryService(_0x46c4fc['definition'][_0x442b12(0x1a7)])&&await initGlobalEnvironment(_0x464d48);const _0x30b783=createPipelineEnv(_0x464d48,{..._0x46c4fc['rawFlags'],'yes':_0x46c4fc['definition'][_0x442b12(0x191)]===_0x442b12(0x1a3)?!![]:_0x46c4fc[_0x442b12(0x1a8)]['yes'],'nonInteractive':!![]},_0x46c4fc[_0x442b12(0x18e)]);_0x30b783[_0x442b12(0x1a1)]=!![],_0x30b783[_0x442b12(0x194)]=_0x442b12(0x1a3);const _0x147fe7=withAbortSignal(_0x46c4fc[_0x442b12(0x199)],_0x83b6f5['signal']),_0x3707ec=createRabetbaseRunnerAdapter({'formatOutput'(_0x2e5718,_0x4f6eb3){const _0x1faa24=_0x442b12;_0x26396c[_0x1faa24(0x19b)]=_0x2e5718,_0x26396c['command']=_0x4f6eb3[_0x1faa24(0x19e)],_0x26396c[_0x1faa24(0x191)]=_0x4f6eb3['risk'],_0x26396c['format']=_0x4f6eb3[_0x1faa24(0x197)],_0x26396c[_0x1faa24(0x1ac)]=_0x4f6eb3['dryRun']===!![];},async 'confirmHighRisk'(){const _0x2735cd=_0x442b12;throw new Error(_0x2735cd(0x18b));}});await runCommand(_0x147fe7,_0x30b783,_0x3707ec);if(!_0x26396c[_0x442b12(0x19b)]||!_0x26396c[_0x442b12(0x19e)]||!_0x26396c[_0x442b12(0x191)]||!_0x26396c[_0x442b12(0x197)])throw new Error(_0x442b12(0x19d));const _0x3b1334=_0x26396c[_0x442b12(0x1ac)]===!![],_0x394b0d=_0x83b6f5[_0x442b12(0x1ab)]??defaultPresentation,_0x5151cc={'result':_0x26396c[_0x442b12(0x19b)],'command':_0x26396c[_0x442b12(0x19e)],'operation':_0x108f47,'risk':_0x26396c[_0x442b12(0x191)],'format':_0x26396c[_0x442b12(0x197)],'dryRun':_0x3b1334},_0x48733b=createRabetbaseWriteMetadata(_0x46c4fc[_0x442b12(0x199)],_0x108f47,_0x26396c[_0x442b12(0x19b)],_0x3b1334);let _0x476c11;try{_0x476c11=await _0x394b0d[_0x442b12(0x1a2)](_0x5151cc);}catch(_0x325c47){if(!_0x48733b||_0x394b0d===defaultPresentation)throw _0x325c47;_0x476c11=await defaultPresentation[_0x442b12(0x1a2)](_0x5151cc);}return{'operation':_0x108f47,'risk':_0x26396c['risk'],'mode':_0x3b1334?_0x442b12(0x193):_0x442b12(0x192),'result':_0x26396c[_0x442b12(0x19b)],'output':_0x476c11,..._0x48733b?{'metadata':_0x48733b}:{}};}finally{await finalizeRabetbaseRuntimeState();}});}function a324_0x35f1(_0x260d28,_0x5e5737){_0x260d28=_0x260d28-0x189;const _0x2dcec1=a324_0x2dce();let _0x35f12a=_0x2dcec1[_0x260d28];return _0x35f12a;}async function confirmWriteBeforeQueue(_0xe921a3,_0x3bf22c,_0x5896b1,_0x193f49){const _0x2e35a9=a324_0x35f1;if(_0x3bf22c[_0x2e35a9(0x1ac)]===!![]||_0xe921a3['risk']!==_0x2e35a9(0x1a4)&&_0xe921a3[_0x2e35a9(0x191)]!==_0x2e35a9(0x1a3))return;await _0x193f49[_0x2e35a9(0x18a)][_0x2e35a9(0x18d)](buildRabetbaseConfirmationRequest(_0xe921a3,_0x5896b1,_0x193f49[_0x2e35a9(0x19f)]));}function withAbortSignal(_0x3e46bc,_0x95a808){return{..._0x3e46bc,async 'execute'(_0x116bcd){const _0xf82a06=a324_0x35f1;return throwIfAborted(_0x95a808),_0x3e46bc[_0xf82a06(0x192)]({..._0x116bcd,'signal':_0x95a808});}};}function throwIfAborted(_0x3116ed){const _0x3ff629=a324_0x35f1;if(_0x3116ed?.[_0x3ff629(0x189)])throw _0x3116ed['reason']instanceof Error?_0x3116ed[_0x3ff629(0x198)]:new DOMException('Rabetbase\x20invocation\x20aborted.',_0x3ff629(0x1aa));}function a324_0x2dce(){const _0x276e62=['rawFlags','7231287AlXeFt','AbortError','presentation','dryRun','aborted','confirmation','Embedded\x20Rabetbase\x20confirmation\x20must\x20run\x20before\x20the\x20execution\x20queue.','56689672qKKgEh','confirm','args','5470744zftfOq','data','risk','execute','dry-run','riskLevel','message','579493GGPaed','format','reason','definition','3PbscVc','result','stringify','Rabetbase\x20invocation\x20completed\x20without\x20a\x20captured\x20command\x20result.','command','signal','9296475CyfqvQ','isNonInteractive','present','high-risk-write','write','8198430UiIhIT','154618iKsljP','service'];a324_0x2dce=function(){return _0x276e62;};return a324_0x2dce();}
@@ -1 +1 @@
1
- function a325_0x50a7(_0x5640e7,_0x38e2c3){_0x5640e7=_0x5640e7-0x91;const _0x265b1a=a325_0x265b();let _0x50a7d7=_0x265b1a[_0x5640e7];return _0x50a7d7;}const a325_0x19934b=a325_0x50a7;(function(_0x3a54f0,_0x38e022){const _0x51a556=a325_0x50a7,_0x20b1b3=_0x3a54f0();while(!![]){try{const _0x4c69ce=parseInt(_0x51a556(0x9c))/0x1*(parseInt(_0x51a556(0x9a))/0x2)+parseInt(_0x51a556(0x93))/0x3+-parseInt(_0x51a556(0x96))/0x4+parseInt(_0x51a556(0x91))/0x5*(-parseInt(_0x51a556(0x99))/0x6)+parseInt(_0x51a556(0x9d))/0x7+-parseInt(_0x51a556(0x95))/0x8*(parseInt(_0x51a556(0x97))/0x9)+parseInt(_0x51a556(0x94))/0xa*(parseInt(_0x51a556(0x98))/0xb);if(_0x4c69ce===_0x38e022)break;else _0x20b1b3['push'](_0x20b1b3['shift']());}catch(_0x1b93a1){_0x20b1b3['push'](_0x20b1b3['shift']());}}}(a325_0x265b,0x797c3));let tail=Promise[a325_0x19934b(0x92)]();function a325_0x265b(){const _0x571a8b=['6130MOsPci','201160TwwXON','3555440uslmRc','72thxSYo','5269lRDmNn','11388IxjUnS','3486EHcvxo','catch','409PqRBAj','4916667ufMRMB','830KZummb','resolve','581388tbQRsa'];a325_0x265b=function(){return _0x571a8b;};return a325_0x265b();}export async function runSerialized(_0x5a84b7){const _0x26ced9=a325_0x19934b,_0x4880d4=tail;let _0x5530de;tail=new Promise(_0x5db12b=>{_0x5530de=_0x5db12b;}),await _0x4880d4[_0x26ced9(0x9b)](()=>undefined);try{return await _0x5a84b7();}finally{_0x5530de();}}
1
+ function a325_0x5b89(_0x1e4c53,_0x394a89){_0x1e4c53=_0x1e4c53-0x158;const _0x4336a2=a325_0x4336();let _0x5b89a6=_0x4336a2[_0x1e4c53];return _0x5b89a6;}const a325_0x54ddab=a325_0x5b89;function a325_0x4336(){const _0x10fbc6=['12enebSt','980939PXqMTs','6008513KQWDNs','9261140TvcSuI','catch','7358496JHObvD','37242733KzCLws','9UVIbjS','1946440CAXcNC','resolve','8vktpKj','6CEaZGs','33545xFVijf','3MANeuL'];a325_0x4336=function(){return _0x10fbc6;};return a325_0x4336();}(function(_0xde51d9,_0x326737){const _0x327295=a325_0x5b89,_0x33ed00=_0xde51d9();while(!![]){try{const _0x13bcfe=-parseInt(_0x327295(0x15e))/0x1+-parseInt(_0x327295(0x165))/0x2*(-parseInt(_0x327295(0x15c))/0x3)+parseInt(_0x327295(0x159))/0x4*(-parseInt(_0x327295(0x15b))/0x5)+parseInt(_0x327295(0x15a))/0x6*(-parseInt(_0x327295(0x15f))/0x7)+-parseInt(_0x327295(0x162))/0x8+parseInt(_0x327295(0x164))/0x9*(-parseInt(_0x327295(0x160))/0xa)+parseInt(_0x327295(0x163))/0xb*(parseInt(_0x327295(0x15d))/0xc);if(_0x13bcfe===_0x326737)break;else _0x33ed00['push'](_0x33ed00['shift']());}catch(_0x27cf97){_0x33ed00['push'](_0x33ed00['shift']());}}}(a325_0x4336,0xa1339));let tail=Promise[a325_0x54ddab(0x158)]();export async function runSerialized(_0x13b028){const _0x430899=a325_0x54ddab,_0x4a5f6c=tail;let _0x3469ca;tail=new Promise(_0x5e6958=>{_0x3469ca=_0x5e6958;}),await _0x4a5f6c[_0x430899(0x161)](()=>undefined);try{return await _0x13b028();}finally{_0x3469ca();}}
@@ -1 +1 @@
1
- (function(_0xda7214,_0x4abd46){const _0x2bc6c0=a326_0x1533,_0xc537f2=_0xda7214();while(!![]){try{const _0x495b91=-parseInt(_0x2bc6c0(0x1d6))/0x1+parseInt(_0x2bc6c0(0x1df))/0x2*(parseInt(_0x2bc6c0(0x1e6))/0x3)+-parseInt(_0x2bc6c0(0x1d8))/0x4*(parseInt(_0x2bc6c0(0x1eb))/0x5)+-parseInt(_0x2bc6c0(0x1d3))/0x6*(-parseInt(_0x2bc6c0(0x1e4))/0x7)+parseInt(_0x2bc6c0(0x1ea))/0x8+parseInt(_0x2bc6c0(0x1dc))/0x9*(-parseInt(_0x2bc6c0(0x1e9))/0xa)+-parseInt(_0x2bc6c0(0x1d4))/0xb*(parseInt(_0x2bc6c0(0x1e7))/0xc);if(_0x495b91===_0x4abd46)break;else _0xc537f2['push'](_0xc537f2['shift']());}catch(_0x2c2240){_0xc537f2['push'](_0xc537f2['shift']());}}}(a326_0x1b20,0x43094));import a326_0x1fde6a from'meow';import{findDefinition,getServiceEntry,isKnownService,resolveRemovedCommand}from'../commands/registry.js';import{buildMeowFlags}from'../constant/cli.js';import{CliErrors}from'../errors.js';function a326_0x1533(_0x2b1f23,_0x3eed6d){_0x2b1f23=_0x2b1f23-0x1d3;const _0x1b2086=a326_0x1b20();let _0x1533d0=_0x1b2086[_0x2b1f23];return _0x1533d0;}import{assertSupportedCommandFlags}from'../framework/supported-flags.js';export async function resolveRabetbaseInvocation(_0x1790d1){const _0x5bd831=a326_0x1533,_0x52749e=a326_0x1fde6a('',{'importMeta':import.meta,'argv':[..._0x1790d1],'flags':buildMeowFlags(),'autoHelp':![],'autoVersion':![]}),_0x4b27bd=[..._0x52749e[_0x5bd831(0x1e2)]],_0x4dd219=_0x52749e[_0x5bd831(0x1dd)],_0xafcf1f=_0x4b27bd[0x0];if(!_0xafcf1f)throw CliErrors[_0x5bd831(0x1d7)](_0x5bd831(0x1da));const _0x317c23=resolveRemovedCommand(_0xafcf1f,_0x4b27bd[0x1]);if(_0x317c23)throw CliErrors['validation'](_0x317c23[_0x5bd831(0x1de)],_0x317c23[_0x5bd831(0x1e5)]);if(_0xafcf1f===_0x5bd831(0x1e3))throw CliErrors[_0x5bd831(0x1d7)](_0x5bd831(0x1db),'Use\x20an\x20explicit\x20shell\x20tool\x20only\x20when\x20script\x20execution\x20is\x20intentionally\x20requested.');if(!isKnownService(_0xafcf1f))throw CliErrors[_0x5bd831(0x1d5)](_0x4b27bd[_0x5bd831(0x1d9)]('\x20'));const _0x11e425=getServiceEntry(_0xafcf1f),_0x24929d=_0x4b27bd[0x1],_0x400409=_0x24929d||_0x11e425[_0x5bd831(0x1e0)];if(!_0x400409){if(_0x11e425[_0x5bd831(0x1e1)])return{'definition':_0x11e425[_0x5bd831(0x1e1)],'rawFlags':_0x4dd219,'args':[]};throw CliErrors[_0x5bd831(0x1d7)](_0x5bd831(0x1e8)+_0xafcf1f+'\x22.');}const _0x469bae=findDefinition(_0xafcf1f,_0x400409);if(_0x469bae)return assertSupportedCommandFlags(_0x469bae,_0x4dd219),{'definition':_0x469bae,'rawFlags':_0x4dd219,'args':_0x4b27bd['slice'](0x2)};if(_0x11e425['wildcardDef'])return{'definition':_0x11e425[_0x5bd831(0x1e1)],'rawFlags':_0x4dd219,'args':[_0x400409,..._0x4b27bd['slice'](0x2)]};throw CliErrors[_0x5bd831(0x1d5)](_0xafcf1f+'\x20'+_0x400409);}function a326_0x1b20(){const _0x106462=['271605mydHab','60eXgVXN','Rabetbase\x20argv\x20must\x20include\x20a\x20command\x20for\x20service\x20\x22','4598470rDAePv','4048128nbLdxu','50KtDRSP','30NzzviY','1184282eiDaHF','unknownCommand','85364ZLywjg','validation','10708OHQtwA','join','Rabetbase\x20argv\x20must\x20include\x20a\x20service\x20and\x20command.','`rabetbase\x20run`\x20is\x20unavailable\x20through\x20the\x20embedded\x20runtime\x20because\x20it\x20executes\x20arbitrary\x20package\x20scripts.','9vItiEs','flags','message','8VWNtDT','defaultCommand','wildcardDef','input','run','723401OCJZdW','hint'];a326_0x1b20=function(){return _0x106462;};return a326_0x1b20();}
1
+ (function(_0x38c7b4,_0x581e82){const _0x453599=a326_0x83ff,_0x10e0c1=_0x38c7b4();while(!![]){try{const _0x87e4e=-parseInt(_0x453599(0x90))/0x1+parseInt(_0x453599(0x8d))/0x2+parseInt(_0x453599(0x91))/0x3+parseInt(_0x453599(0x8e))/0x4*(parseInt(_0x453599(0x88))/0x5)+parseInt(_0x453599(0x96))/0x6*(parseInt(_0x453599(0x97))/0x7)+parseInt(_0x453599(0x94))/0x8*(-parseInt(_0x453599(0x8f))/0x9)+parseInt(_0x453599(0x99))/0xa;if(_0x87e4e===_0x581e82)break;else _0x10e0c1['push'](_0x10e0c1['shift']());}catch(_0x1e1546){_0x10e0c1['push'](_0x10e0c1['shift']());}}}(a326_0x5913,0xc94e4));import a326_0x307117 from'meow';import{findDefinition,getServiceEntry,isKnownService,resolveRemovedCommand}from'../commands/registry.js';import{buildMeowFlags}from'../constant/cli.js';import{CliErrors}from'../errors.js';function a326_0x83ff(_0x5ca7e4,_0xbf73ef){_0x5ca7e4=_0x5ca7e4-0x85;const _0x59131e=a326_0x5913();let _0x83ff88=_0x59131e[_0x5ca7e4];return _0x83ff88;}import{assertSupportedCommandFlags}from'../framework/supported-flags.js';function a326_0x5913(){const _0x12b2b3=['message','1031230MwFRUn','Rabetbase\x20argv\x20must\x20include\x20a\x20command\x20for\x20service\x20\x22','`rabetbase\x20run`\x20is\x20unavailable\x20through\x20the\x20embedded\x20runtime\x20because\x20it\x20executes\x20arbitrary\x20package\x20scripts.','hint','join','4425190fXyvip','Rabetbase\x20argv\x20must\x20include\x20a\x20service\x20and\x20command.','unknownCommand','validation','defaultCommand','1347418NRtoBY','4rqXlUQ','59355oVPkCY','468384HvqLuw','649809dDnmmX','Use\x20an\x20explicit\x20shell\x20tool\x20only\x20when\x20script\x20execution\x20is\x20intentionally\x20requested.','slice','720egTopq','wildcardDef','6fbhwYm','56063ZeIQEQ'];a326_0x5913=function(){return _0x12b2b3;};return a326_0x5913();}export async function resolveRabetbaseInvocation(_0x68e955){const _0xbce2ed=a326_0x83ff,_0x36d87c=a326_0x307117('',{'importMeta':import.meta,'argv':[..._0x68e955],'flags':buildMeowFlags(),'autoHelp':![],'autoVersion':![]}),_0x4c3eaa=[..._0x36d87c['input']],_0x2fee62=_0x36d87c['flags'],_0x50a458=_0x4c3eaa[0x0];if(!_0x50a458)throw CliErrors[_0xbce2ed(0x8b)](_0xbce2ed(0x89));const _0x582bb5=resolveRemovedCommand(_0x50a458,_0x4c3eaa[0x1]);if(_0x582bb5)throw CliErrors[_0xbce2ed(0x8b)](_0x582bb5[_0xbce2ed(0x98)],_0x582bb5[_0xbce2ed(0x86)]);if(_0x50a458==='run')throw CliErrors['validation'](_0xbce2ed(0x85),_0xbce2ed(0x92));if(!isKnownService(_0x50a458))throw CliErrors['unknownCommand'](_0x4c3eaa[_0xbce2ed(0x87)]('\x20'));const _0x404514=getServiceEntry(_0x50a458),_0x370b86=_0x4c3eaa[0x1],_0xc172f5=_0x370b86||_0x404514[_0xbce2ed(0x8c)];if(!_0xc172f5){if(_0x404514[_0xbce2ed(0x95)])return{'definition':_0x404514[_0xbce2ed(0x95)],'rawFlags':_0x2fee62,'args':[]};throw CliErrors[_0xbce2ed(0x8b)](_0xbce2ed(0x9a)+_0x50a458+'\x22.');}const _0xfa1679=findDefinition(_0x50a458,_0xc172f5);if(_0xfa1679)return assertSupportedCommandFlags(_0xfa1679,_0x2fee62),{'definition':_0xfa1679,'rawFlags':_0x2fee62,'args':_0x4c3eaa[_0xbce2ed(0x93)](0x2)};if(_0x404514[_0xbce2ed(0x95)])return{'definition':_0x404514['wildcardDef'],'rawFlags':_0x2fee62,'args':[_0xc172f5,..._0x4c3eaa[_0xbce2ed(0x93)](0x2)]};throw CliErrors[_0xbce2ed(0x8a)](_0x50a458+'\x20'+_0xc172f5);}
@@ -1 +1 @@
1
- const a328_0x10ba2b=a328_0x245b;(function(_0x2c2c2f,_0x3344d2){const _0xe5092c=a328_0x245b,_0x32e400=_0x2c2c2f();while(!![]){try{const _0x193918=parseInt(_0xe5092c(0x1a8))/0x1+-parseInt(_0xe5092c(0x1a6))/0x2+parseInt(_0xe5092c(0x1d4))/0x3+parseInt(_0xe5092c(0x199))/0x4*(-parseInt(_0xe5092c(0x1a0))/0x5)+parseInt(_0xe5092c(0x1b8))/0x6+-parseInt(_0xe5092c(0x1bd))/0x7+parseInt(_0xe5092c(0x1a9))/0x8;if(_0x193918===_0x3344d2)break;else _0x32e400['push'](_0x32e400['shift']());}catch(_0x53169e){_0x32e400['push'](_0x32e400['shift']());}}}(a328_0x27da,0x6dc98));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{debuglog}from'node:util';import{runNpxSkillsAddGlobal}from'../skills/npx-skills-add.js';function a328_0x245b(_0x4cc145,_0x480b48){_0x4cc145=_0x4cc145-0x196;const _0x27dafc=a328_0x27da();let _0x245b0f=_0x27dafc[_0x4cc145];return _0x245b0f;}import{resolveInstalledSkill}from'../skills/skill-presence.js';const DEFAULT_PACKAGE_ROOT=resolve(dirname(fileURLToPath(import.meta.url)),'..','..'),REPAIR_COMMAND='rabetbase\x20cli-skill\x20install',SKILL_NAME=a328_0x10ba2b(0x1b2),debug=debuglog(a328_0x10ba2b(0x1ba));function frontmatterValue(_0x4fc57f,_0x17f443){const _0x45dd6e=a328_0x10ba2b;return _0x4fc57f[_0x45dd6e(0x1a1)](new RegExp('^'+_0x17f443+_0x45dd6e(0x1d3),'m'))?.[0x1]?.['trim']()??'';}function listFiles(_0x11f6d7,_0x21d1cf=_0x11f6d7){const _0x39593f=a328_0x10ba2b;return readdirSync(_0x21d1cf,{'withFileTypes':!![]})[_0x39593f(0x1cc)](_0x5e3314=>{const _0x1980c3=_0x39593f,_0xa23b92=join(_0x21d1cf,_0x5e3314[_0x1980c3(0x1d5)]),_0x5d24c3=lstatSync(_0xa23b92);if(_0x5d24c3['isSymbolicLink']())throw new Error(_0x1980c3(0x1cb)+_0xa23b92);if(_0x5d24c3['isDirectory']())return listFiles(_0x11f6d7,_0xa23b92);if(!_0x5d24c3[_0x1980c3(0x1d6)]())throw new Error(_0x1980c3(0x1c0)+_0xa23b92);return[relative(_0x11f6d7,_0xa23b92)[_0x1980c3(0x1af)](sep)[_0x1980c3(0x1c2)]('/')];})[_0x39593f(0x1a4)]((_0x326d38,_0x45c030)=>_0x326d38<_0x45c030?-0x1:_0x326d38>_0x45c030?0x1:0x0);}function digestFiles(_0x5cdc45,_0xaa0947){const _0x45c1d5=a328_0x10ba2b,_0x1b2e96=createHash(_0x45c1d5(0x1da));for(const _0x570667 of _0xaa0947){if(_0x570667[_0x45c1d5(0x1ac)]('/')||_0x570667[_0x45c1d5(0x1af)]('/')[_0x45c1d5(0x1b1)]('..')||_0x570667[_0x45c1d5(0x1b1)]('\x5c'))throw new Error(_0x45c1d5(0x196)+_0x570667);_0x1b2e96[_0x45c1d5(0x19f)](_0x570667),_0x1b2e96['update']('\x00'),_0x1b2e96[_0x45c1d5(0x19f)](readFileSync(join(_0x5cdc45,..._0x570667[_0x45c1d5(0x1af)]('/')))),_0x1b2e96[_0x45c1d5(0x19f)]('\x00');}return _0x1b2e96[_0x45c1d5(0x19d)](_0x45c1d5(0x1ae));}function sameFiles(_0x1700fc,_0x23d242){const _0x1ed3f2=a328_0x10ba2b;return _0x1700fc[_0x1ed3f2(0x1c3)]===_0x23d242[_0x1ed3f2(0x1c3)]&&_0x1700fc[_0x1ed3f2(0x198)]((_0x1f5768,_0x303964)=>_0x1f5768===_0x23d242[_0x303964]);}function readSource(_0x4f895f){const _0x54281b=a328_0x10ba2b,_0x556114=JSON[_0x54281b(0x1c5)](readFileSync(join(_0x4f895f,_0x54281b(0x1a2)),_0x54281b(0x1bf))),_0xc8aed5=JSON[_0x54281b(0x1c5)](readFileSync(join(_0x4f895f,_0x54281b(0x1b6),_0x54281b(0x1cd)),_0x54281b(0x1bf))),_0x5bc8ca=join(_0x4f895f,_0x54281b(0x1b6),SKILL_NAME),_0x344dce=frontmatterValue(readFileSync(join(_0x5bc8ca,_0x54281b(0x1ce)),_0x54281b(0x1bf)),_0x54281b(0x1c7)),_0x4e7f1b=listFiles(_0x5bc8ca);if(_0xc8aed5[_0x54281b(0x19b)]!==0x1||_0xc8aed5['name']!==SKILL_NAME||!_0x556114[_0x54281b(0x1c7)]||_0xc8aed5[_0x54281b(0x1b3)]!==_0x556114[_0x54281b(0x1c7)]||_0xc8aed5[_0x54281b(0x1a5)]!==_0x556114[_0x54281b(0x1c7)]||_0x344dce!==_0x556114[_0x54281b(0x1c7)]||!sameFiles(_0x4e7f1b,_0xc8aed5[_0x54281b(0x1d7)])||digestFiles(_0x5bc8ca,_0x4e7f1b)!==_0xc8aed5['digest'])throw new Error(_0x54281b(0x1aa));return{'packageVersion':_0x556114[_0x54281b(0x1c7)],'skillVersion':_0x344dce,'root':_0x5bc8ca,'manifest':_0xc8aed5};}function installedSkillPath(_0x46e960){const _0x104e01=a328_0x10ba2b,_0xd8da6c=resolveInstalledSkill(SKILL_NAME,{'home':_0x46e960});if(_0xd8da6c['state']===_0x104e01(0x1c8))return{'state':_0x104e01(0x1c8),'path':dirname(_0xd8da6c[_0x104e01(0x1d0)])};if(_0xd8da6c['state']===_0x104e01(0x1c1))return{'state':_0x104e01(0x1db)};return{'state':_0x104e01(0x1d8),'reason':_0xd8da6c[_0x104e01(0x1c6)]};}function a328_0x27da(){const _0x33cf92=['partialFailure','1353555TBmoJN','SOURCE_INVALID','utf8','Unsupported\x20Skill\x20entry:\x20','absent','join','length','unknown','parse','reason','version','present','packageRoot','status','Symbolic\x20link\x20is\x20not\x20allowed:\x20','flatMap','rabetbase.manifest.json','SKILL.md','current','path','manifest','content_mismatch',':\x5cs*(.+)$','674748SpCrzP','name','isFile','files','unverifiable','skipped','sha256','missing','root','state','Unsafe\x20manifest\x20path:\x20','VERIFY_FAILED','every','796lOIgVi','message','schemaVersion','count','digest','Installed\x20Skill\x20state\x20is\x20','update','2485BSEFZS','match','package.json','INSTALL_FAILED','sort','skillVersion','84082gJTBtS','installedPath','31659YNXJvo','3632096JvfsGN','Built-in\x20Skill\x20source\x20does\x20not\x20match\x20its\x20package\x20manifest','output','startsWith','stdio','hex','split','error','includes','rabetbase','packageVersion','log','\x20verified;\x20','skills','CLI\x20Built-in\x20Skill\x20','440460BxJtjx','home','rabetbase-skills','version_mismatch'];a328_0x27da=function(){return _0x33cf92;};return a328_0x27da();}export function inspectInstalledBuiltinSkillVersion(_0x77c3fd,_0x366205={}){const _0x2110e6=a328_0x10ba2b,_0x5d9a72=installedSkillPath(_0x366205[_0x2110e6(0x1b9)]??homedir());if(_0x5d9a72[_0x2110e6(0x1dd)]===_0x2110e6(0x1db))return{'state':_0x2110e6(0x1db),'expectedVersion':_0x77c3fd,'repairCommand':REPAIR_COMMAND};if(_0x5d9a72['state']===_0x2110e6(0x1d8))return{'state':_0x2110e6(0x1d8),'expectedVersion':_0x77c3fd,'reason':_0x5d9a72[_0x2110e6(0x1c6)],'repairCommand':REPAIR_COMMAND};try{const _0x2cf4ea=frontmatterValue(readFileSync(join(_0x5d9a72[_0x2110e6(0x1d0)],_0x2110e6(0x1ce)),_0x2110e6(0x1bf)),'version');return{'state':_0x2cf4ea===_0x77c3fd?_0x2110e6(0x1cf):_0x2110e6(0x1bb),'expectedVersion':_0x77c3fd,'skillVersion':_0x2cf4ea,'installedPath':_0x5d9a72[_0x2110e6(0x1d0)],'repairCommand':REPAIR_COMMAND};}catch(_0x36a78d){return{'state':_0x2110e6(0x1d8),'expectedVersion':_0x77c3fd,'installedPath':_0x5d9a72['path'],'reason':_0x36a78d instanceof Error?_0x36a78d[_0x2110e6(0x19a)]:String(_0x36a78d),'repairCommand':REPAIR_COMMAND};}}export function inspectBuiltinSkill(_0x2fa3e={}){const _0xea1510=a328_0x10ba2b,_0x64d306=_0x2fa3e[_0xea1510(0x1c9)]??DEFAULT_PACKAGE_ROOT;let _0x2c3d26;try{_0x2c3d26=readSource(_0x64d306);}catch(_0x597b9c){return{'state':_0xea1510(0x1d8),'packageVersion':_0xea1510(0x1c4),'reason':_0x597b9c instanceof Error?_0x597b9c[_0xea1510(0x19a)]:String(_0x597b9c),'repairCommand':REPAIR_COMMAND};}const _0x2106ec=installedSkillPath(_0x2fa3e['home']??homedir());if(_0x2106ec[_0xea1510(0x1dd)]===_0xea1510(0x1db))return{'state':_0xea1510(0x1db),'packageVersion':_0x2c3d26[_0xea1510(0x1b3)],'repairCommand':REPAIR_COMMAND};if(_0x2106ec[_0xea1510(0x1dd)]==='unverifiable')return{'state':_0xea1510(0x1d8),'packageVersion':_0x2c3d26[_0xea1510(0x1b3)],'reason':_0x2106ec[_0xea1510(0x1c6)],'repairCommand':REPAIR_COMMAND};try{const _0x19d7f1=frontmatterValue(readFileSync(join(_0x2106ec[_0xea1510(0x1d0)],_0xea1510(0x1ce)),_0xea1510(0x1bf)),_0xea1510(0x1c7));if(_0x19d7f1!==_0x2c3d26['skillVersion'])return{'state':'version_mismatch','packageVersion':_0x2c3d26[_0xea1510(0x1b3)],'skillVersion':_0x19d7f1,'installedPath':_0x2106ec[_0xea1510(0x1d0)],'repairCommand':REPAIR_COMMAND};const _0x1a188a=listFiles(_0x2106ec['path']),_0x46fa2d=digestFiles(_0x2106ec[_0xea1510(0x1d0)],_0x1a188a);return{'state':sameFiles(_0x1a188a,_0x2c3d26[_0xea1510(0x1d1)][_0xea1510(0x1d7)])&&_0x46fa2d===_0x2c3d26[_0xea1510(0x1d1)][_0xea1510(0x19d)]?_0xea1510(0x1cf):_0xea1510(0x1d2),'packageVersion':_0x2c3d26[_0xea1510(0x1b3)],'skillVersion':_0x19d7f1,'installedPath':_0x2106ec[_0xea1510(0x1d0)],'digest':_0x46fa2d,'repairCommand':REPAIR_COMMAND};}catch(_0x3e591e){return{'state':_0xea1510(0x1d8),'packageVersion':_0x2c3d26[_0xea1510(0x1b3)],'installedPath':_0x2106ec[_0xea1510(0x1d0)],'reason':_0x3e591e instanceof Error?_0x3e591e[_0xea1510(0x19a)]:String(_0x3e591e),'repairCommand':REPAIR_COMMAND};}}function failure(_0x446a8a,_0x6dabea,_0x10147d,_0x238076){const _0x18f983=a328_0x10ba2b;return{'ok':![],'code':_0x446a8a,'packageVersion':_0x6dabea[_0x18f983(0x1b3)],'skillVersion':_0x6dabea[_0x18f983(0x1a5)],'installedPath':_0x238076,'changed':![],'repairCommand':REPAIR_COMMAND,'error':_0x10147d instanceof Error?_0x10147d['message']:String(_0x10147d)};}export function installBuiltinSkill(_0x58fb45={}){const _0x199e87=a328_0x10ba2b,_0x13b156=_0x58fb45[_0x199e87(0x1c9)]??DEFAULT_PACKAGE_ROOT,_0x173496=_0x58fb45[_0x199e87(0x1b9)]??homedir();let _0x3b3394;try{_0x3b3394=readSource(_0x13b156);}catch(_0x2fbd60){return failure(_0x199e87(0x1be),{'packageVersion':_0x199e87(0x1c4),'skillVersion':_0x199e87(0x1c4)},_0x2fbd60);}const _0xbddcc2=inspectBuiltinSkill({'packageRoot':_0x13b156,'home':_0x173496}),_0x5c26b1=runNpxSkillsAddGlobal(_0x13b156,_0x3b3394[_0x199e87(0x1dc)],{'stdio':_0x58fb45[_0x199e87(0x1ad)]??'pipe','expectedSkillName':SKILL_NAME,'presence':{'home':_0x173496}});if(_0x5c26b1[_0x199e87(0x1d9)])return{'ok':!![],'packageVersion':_0x3b3394[_0x199e87(0x1b3)],'skillVersion':_0x3b3394[_0x199e87(0x1a5)],'installedPath':_0xbddcc2[_0x199e87(0x1a7)],'changed':![],'repairCommand':REPAIR_COMMAND};if(!_0x5c26b1['ok'])return failure(_0x199e87(0x1a3),_0x3b3394,_0x5c26b1[_0x199e87(0x1b0)]??'skills@latest\x20exited\x20'+_0x5c26b1[_0x199e87(0x1ca)]);const _0x3bee0f=inspectBuiltinSkill({'packageRoot':_0x13b156,'home':_0x173496});if(_0x3bee0f[_0x199e87(0x1dd)]!==_0x199e87(0x1cf)){const _0x27e1da=_0x3bee0f[_0x199e87(0x1c6)]??_0x199e87(0x19e)+_0x3bee0f[_0x199e87(0x1dd)];return failure(_0x199e87(0x197),_0x3b3394,_0x5c26b1[_0x199e87(0x1bc)]?_0x27e1da+'\x0a'+_0x5c26b1['partialFailure'][_0x199e87(0x1ab)]:_0x27e1da,_0x3bee0f[_0x199e87(0x1a7)]);}return _0x5c26b1[_0x199e87(0x1bc)]&&(debug('Installer\x20reported\x20partial\x20target\x20failures:\x0a%s',_0x5c26b1[_0x199e87(0x1bc)][_0x199e87(0x1ab)]),console[_0x199e87(0x1b4)](_0x199e87(0x1b7)+_0x3b3394['skillVersion']+_0x199e87(0x1b5)+_0x5c26b1[_0x199e87(0x1bc)][_0x199e87(0x19c)]+'\x20automatically\x20selected\x20installation\x20target(s)\x20could\x20not\x20be\x20installed.')),{'ok':!![],'packageVersion':_0x3b3394[_0x199e87(0x1b3)],'skillVersion':_0x3b3394[_0x199e87(0x1a5)],'installedPath':_0x3bee0f[_0x199e87(0x1a7)],'changed':_0xbddcc2[_0x199e87(0x1dd)]!==_0x199e87(0x1cf),'repairCommand':REPAIR_COMMAND};}
1
+ const a328_0x146db3=a328_0x34f0;(function(_0x5361a9,_0xc02cfc){const _0x495b22=a328_0x34f0,_0x4e4e36=_0x5361a9();while(!![]){try{const _0x2b83eb=parseInt(_0x495b22(0x1f7))/0x1*(-parseInt(_0x495b22(0x210))/0x2)+parseInt(_0x495b22(0x1fd))/0x3+parseInt(_0x495b22(0x227))/0x4*(parseInt(_0x495b22(0x22a))/0x5)+parseInt(_0x495b22(0x205))/0x6*(-parseInt(_0x495b22(0x20d))/0x7)+-parseInt(_0x495b22(0x226))/0x8+-parseInt(_0x495b22(0x1f5))/0x9*(parseInt(_0x495b22(0x1f3))/0xa)+parseInt(_0x495b22(0x1e5))/0xb;if(_0x2b83eb===_0xc02cfc)break;else _0x4e4e36['push'](_0x4e4e36['shift']());}catch(_0xeb7f53){_0x4e4e36['push'](_0x4e4e36['shift']());}}}(a328_0x4ac3,0x5460a));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{debuglog}from'node:util';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=a328_0x146db3(0x225),SKILL_NAME=a328_0x146db3(0x1f6),debug=debuglog(a328_0x146db3(0x204));function frontmatterValue(_0x260bc9,_0x294fac){const _0x1258fd=a328_0x146db3;return _0x260bc9['match'](new RegExp('^'+_0x294fac+':\x5cs*(.+)$','m'))?.[0x1]?.[_0x1258fd(0x1fb)]()??'';}function listFiles(_0x545a79,_0x335316=_0x545a79){const _0x197258=a328_0x146db3;return readdirSync(_0x335316,{'withFileTypes':!![]})[_0x197258(0x1e6)](_0x36f9c7=>{const _0x2ff263=_0x197258,_0xe9fe84=join(_0x335316,_0x36f9c7[_0x2ff263(0x223)]),_0x332878=lstatSync(_0xe9fe84);if(_0x332878[_0x2ff263(0x1f0)]())throw new Error(_0x2ff263(0x21b)+_0xe9fe84);if(_0x332878[_0x2ff263(0x211)]())return listFiles(_0x545a79,_0xe9fe84);if(!_0x332878[_0x2ff263(0x21c)]())throw new Error(_0x2ff263(0x1f4)+_0xe9fe84);return[relative(_0x545a79,_0xe9fe84)[_0x2ff263(0x220)](sep)[_0x2ff263(0x207)]('/')];})[_0x197258(0x1fc)]((_0x59e35a,_0x1a36ab)=>_0x59e35a<_0x1a36ab?-0x1:_0x59e35a>_0x1a36ab?0x1:0x0);}function digestFiles(_0x41a9f1,_0x534804){const _0x160e6a=a328_0x146db3,_0x3ce41b=createHash(_0x160e6a(0x208));for(const _0x489017 of _0x534804){if(_0x489017[_0x160e6a(0x21e)]('/')||_0x489017[_0x160e6a(0x220)]('/')[_0x160e6a(0x229)]('..')||_0x489017[_0x160e6a(0x229)]('\x5c'))throw new Error(_0x160e6a(0x1fe)+_0x489017);_0x3ce41b[_0x160e6a(0x20f)](_0x489017),_0x3ce41b[_0x160e6a(0x20f)]('\x00'),_0x3ce41b[_0x160e6a(0x20f)](readFileSync(join(_0x41a9f1,..._0x489017[_0x160e6a(0x220)]('/')))),_0x3ce41b[_0x160e6a(0x20f)]('\x00');}return _0x3ce41b[_0x160e6a(0x221)](_0x160e6a(0x1f9));}function sameFiles(_0x946c4,_0x430645){const _0x487a75=a328_0x146db3;return _0x946c4[_0x487a75(0x21f)]===_0x430645['length']&&_0x946c4[_0x487a75(0x1e7)]((_0x66400d,_0x344914)=>_0x66400d===_0x430645[_0x344914]);}function a328_0x34f0(_0x229b4e,_0x30f19e){_0x229b4e=_0x229b4e-0x1e4;const _0x4ac3f3=a328_0x4ac3();let _0x34f027=_0x4ac3f3[_0x229b4e];return _0x34f027;}function readSource(_0x5d9986){const _0x407b44=a328_0x146db3,_0x3b2259=JSON['parse'](readFileSync(join(_0x5d9986,_0x407b44(0x209)),_0x407b44(0x20c))),_0x5debce=JSON[_0x407b44(0x224)](readFileSync(join(_0x5d9986,_0x407b44(0x21a),_0x407b44(0x1e8)),'utf8')),_0x2b6568=join(_0x5d9986,_0x407b44(0x21a),SKILL_NAME),_0x4958f9=frontmatterValue(readFileSync(join(_0x2b6568,_0x407b44(0x20e)),_0x407b44(0x20c)),'version'),_0x48a1e0=listFiles(_0x2b6568);if(_0x5debce['schemaVersion']!==0x1||_0x5debce['name']!==SKILL_NAME||!_0x3b2259[_0x407b44(0x217)]||_0x5debce[_0x407b44(0x1ee)]!==_0x3b2259[_0x407b44(0x217)]||_0x5debce[_0x407b44(0x1f2)]!==_0x3b2259[_0x407b44(0x217)]||_0x4958f9!==_0x3b2259[_0x407b44(0x217)]||!sameFiles(_0x48a1e0,_0x5debce[_0x407b44(0x1ec)])||digestFiles(_0x2b6568,_0x48a1e0)!==_0x5debce['digest'])throw new Error('Built-in\x20Skill\x20source\x20does\x20not\x20match\x20its\x20package\x20manifest');return{'packageVersion':_0x3b2259['version'],'skillVersion':_0x4958f9,'root':_0x2b6568,'manifest':_0x5debce};}function installedSkillPath(_0x1d607a){const _0x4d04e6=a328_0x146db3,_0x1cb4ca=resolveInstalledSkill(SKILL_NAME,{'home':_0x1d607a});if(_0x1cb4ca['state']===_0x4d04e6(0x213))return{'state':'present','path':dirname(_0x1cb4ca[_0x4d04e6(0x1f8)])};if(_0x1cb4ca[_0x4d04e6(0x1eb)]===_0x4d04e6(0x1ea))return{'state':_0x4d04e6(0x201)};return{'state':'unverifiable','reason':_0x1cb4ca['reason']};}export function inspectInstalledBuiltinSkillVersion(_0x47bbdc,_0x3f42c5={}){const _0x2e5175=a328_0x146db3,_0x4dcf8c=installedSkillPath(_0x3f42c5[_0x2e5175(0x1f1)]??homedir());if(_0x4dcf8c[_0x2e5175(0x1eb)]===_0x2e5175(0x201))return{'state':_0x2e5175(0x201),'expectedVersion':_0x47bbdc,'repairCommand':REPAIR_COMMAND};if(_0x4dcf8c[_0x2e5175(0x1eb)]==='unverifiable')return{'state':_0x2e5175(0x1e4),'expectedVersion':_0x47bbdc,'reason':_0x4dcf8c[_0x2e5175(0x1fa)],'repairCommand':REPAIR_COMMAND};try{const _0x3661a6=frontmatterValue(readFileSync(join(_0x4dcf8c['path'],_0x2e5175(0x20e)),_0x2e5175(0x20c)),_0x2e5175(0x217));return{'state':_0x3661a6===_0x47bbdc?_0x2e5175(0x215):_0x2e5175(0x203),'expectedVersion':_0x47bbdc,'skillVersion':_0x3661a6,'installedPath':_0x4dcf8c[_0x2e5175(0x1f8)],'repairCommand':REPAIR_COMMAND};}catch(_0x312a11){return{'state':_0x2e5175(0x1e4),'expectedVersion':_0x47bbdc,'installedPath':_0x4dcf8c[_0x2e5175(0x1f8)],'reason':_0x312a11 instanceof Error?_0x312a11[_0x2e5175(0x214)]:String(_0x312a11),'repairCommand':REPAIR_COMMAND};}}export function inspectBuiltinSkill(_0x2bca2c={}){const _0x13ad5f=a328_0x146db3,_0x1285d=_0x2bca2c[_0x13ad5f(0x218)]??DEFAULT_PACKAGE_ROOT;let _0xd24192;try{_0xd24192=readSource(_0x1285d);}catch(_0x53b08a){return{'state':_0x13ad5f(0x1e4),'packageVersion':_0x13ad5f(0x216),'reason':_0x53b08a instanceof Error?_0x53b08a[_0x13ad5f(0x214)]:String(_0x53b08a),'repairCommand':REPAIR_COMMAND};}const _0x1dcff4=installedSkillPath(_0x2bca2c[_0x13ad5f(0x1f1)]??homedir());if(_0x1dcff4[_0x13ad5f(0x1eb)]===_0x13ad5f(0x201))return{'state':'missing','packageVersion':_0xd24192['packageVersion'],'repairCommand':REPAIR_COMMAND};if(_0x1dcff4['state']===_0x13ad5f(0x1e4))return{'state':_0x13ad5f(0x1e4),'packageVersion':_0xd24192[_0x13ad5f(0x1ee)],'reason':_0x1dcff4[_0x13ad5f(0x1fa)],'repairCommand':REPAIR_COMMAND};try{const _0xee5513=frontmatterValue(readFileSync(join(_0x1dcff4[_0x13ad5f(0x1f8)],_0x13ad5f(0x20e)),_0x13ad5f(0x20c)),_0x13ad5f(0x217));if(_0xee5513!==_0xd24192[_0x13ad5f(0x1f2)])return{'state':'version_mismatch','packageVersion':_0xd24192[_0x13ad5f(0x1ee)],'skillVersion':_0xee5513,'installedPath':_0x1dcff4[_0x13ad5f(0x1f8)],'repairCommand':REPAIR_COMMAND};const _0x586bb6=listFiles(_0x1dcff4[_0x13ad5f(0x1f8)]),_0x5102ad=digestFiles(_0x1dcff4[_0x13ad5f(0x1f8)],_0x586bb6);return{'state':sameFiles(_0x586bb6,_0xd24192['manifest'][_0x13ad5f(0x1ec)])&&_0x5102ad===_0xd24192['manifest'][_0x13ad5f(0x221)]?'current':_0x13ad5f(0x20b),'packageVersion':_0xd24192[_0x13ad5f(0x1ee)],'skillVersion':_0xee5513,'installedPath':_0x1dcff4[_0x13ad5f(0x1f8)],'digest':_0x5102ad,'repairCommand':REPAIR_COMMAND};}catch(_0x204bf9){return{'state':_0x13ad5f(0x1e4),'packageVersion':_0xd24192['packageVersion'],'installedPath':_0x1dcff4[_0x13ad5f(0x1f8)],'reason':_0x204bf9 instanceof Error?_0x204bf9[_0x13ad5f(0x214)]:String(_0x204bf9),'repairCommand':REPAIR_COMMAND};}}function failure(_0x45f6b7,_0x4e2000,_0x1d05f7,_0x5cb856){const _0x57a18a=a328_0x146db3;return{'ok':![],'code':_0x45f6b7,'packageVersion':_0x4e2000[_0x57a18a(0x1ee)],'skillVersion':_0x4e2000[_0x57a18a(0x1f2)],'installedPath':_0x5cb856,'changed':![],'repairCommand':REPAIR_COMMAND,'error':_0x1d05f7 instanceof Error?_0x1d05f7['message']:String(_0x1d05f7)};}export function installBuiltinSkill(_0x47ead1={}){const _0x23d447=a328_0x146db3,_0x28534a=_0x47ead1[_0x23d447(0x218)]??DEFAULT_PACKAGE_ROOT,_0xc428d9=_0x47ead1['home']??homedir();let _0x10ebe6;try{_0x10ebe6=readSource(_0x28534a);}catch(_0x3e42be){return failure('SOURCE_INVALID',{'packageVersion':_0x23d447(0x216),'skillVersion':'unknown'},_0x3e42be);}const _0x4b4c28=inspectBuiltinSkill({'packageRoot':_0x28534a,'home':_0xc428d9}),_0x44ac88=runNpxSkillsAddGlobal(_0x28534a,_0x10ebe6[_0x23d447(0x20a)],{'stdio':_0x47ead1[_0x23d447(0x1ff)]??_0x23d447(0x222),'expectedSkillName':SKILL_NAME,'presence':{'home':_0xc428d9}});if(_0x44ac88['skipped'])return{'ok':!![],'packageVersion':_0x10ebe6[_0x23d447(0x1ee)],'skillVersion':_0x10ebe6[_0x23d447(0x1f2)],'installedPath':_0x4b4c28[_0x23d447(0x1ef)],'changed':![],'repairCommand':REPAIR_COMMAND};if(!_0x44ac88['ok'])return failure(_0x23d447(0x219),_0x10ebe6,_0x44ac88['error']??_0x23d447(0x200)+_0x44ac88[_0x23d447(0x1ed)]);const _0x12b568=inspectBuiltinSkill({'packageRoot':_0x28534a,'home':_0xc428d9});if(_0x12b568[_0x23d447(0x1eb)]!==_0x23d447(0x215)){const _0xf9008=_0x12b568[_0x23d447(0x1fa)]??'Installed\x20Skill\x20state\x20is\x20'+_0x12b568[_0x23d447(0x1eb)];return failure(_0x23d447(0x206),_0x10ebe6,_0x44ac88[_0x23d447(0x1e9)]?_0xf9008+'\x0a'+_0x44ac88['partialFailure'][_0x23d447(0x228)]:_0xf9008,_0x12b568[_0x23d447(0x1ef)]);}return _0x44ac88['partialFailure']&&(debug('Installer\x20reported\x20partial\x20target\x20failures:\x0a%s',_0x44ac88['partialFailure'][_0x23d447(0x228)]),console[_0x23d447(0x202)]('CLI\x20Built-in\x20Skill\x20'+_0x10ebe6[_0x23d447(0x1f2)]+'\x20verified;\x20'+_0x44ac88[_0x23d447(0x1e9)][_0x23d447(0x21d)]+_0x23d447(0x212))),{'ok':!![],'packageVersion':_0x10ebe6[_0x23d447(0x1ee)],'skillVersion':_0x10ebe6['skillVersion'],'installedPath':_0x12b568['installedPath'],'changed':_0x4b4c28[_0x23d447(0x1eb)]!==_0x23d447(0x215),'repairCommand':REPAIR_COMMAND};}function a328_0x4ac3(){const _0x353139=['parse','rabetbase\x20cli-skill\x20install','364384czCoRm','656ZqAVDk','output','includes','2165vLCOyD','unverifiable','13768469rlgnIH','flatMap','every','rabetbase.manifest.json','partialFailure','absent','state','files','status','packageVersion','installedPath','isSymbolicLink','home','skillVersion','19600fHHqTZ','Unsupported\x20Skill\x20entry:\x20','2511zhdwAu','rabetbase','58KuJtYp','path','hex','reason','trim','sort','987774QRijFr','Unsafe\x20manifest\x20path:\x20','stdio','skills@latest\x20exited\x20','missing','log','version_mismatch','rabetbase-skills','2094DMiiNd','VERIFY_FAILED','join','sha256','package.json','root','content_mismatch','utf8','5481fiNuwB','SKILL.md','update','15196cRcVEw','isDirectory','\x20automatically\x20selected\x20installation\x20target(s)\x20could\x20not\x20be\x20installed.','present','message','current','unknown','version','packageRoot','INSTALL_FAILED','skills','Symbolic\x20link\x20is\x20not\x20allowed:\x20','isFile','count','startsWith','length','split','digest','pipe','name'];a328_0x4ac3=function(){return _0x353139;};return a328_0x4ac3();}
@@ -1 +1 @@
1
- (function(_0x5e8ba7,_0xc1599c){const _0x3e6ecc=a329_0x5039,_0xe6e6=_0x5e8ba7();while(!![]){try{const _0x3507e0=parseInt(_0x3e6ecc(0x1c5))/0x1*(parseInt(_0x3e6ecc(0x1c3))/0x2)+parseInt(_0x3e6ecc(0x1da))/0x3+-parseInt(_0x3e6ecc(0x1be))/0x4*(-parseInt(_0x3e6ecc(0x1c9))/0x5)+parseInt(_0x3e6ecc(0x1bb))/0x6+parseInt(_0x3e6ecc(0x1d0))/0x7*(parseInt(_0x3e6ecc(0x1bc))/0x8)+parseInt(_0x3e6ecc(0x1d9))/0x9*(parseInt(_0x3e6ecc(0x1c4))/0xa)+-parseInt(_0x3e6ecc(0x1d1))/0xb;if(_0x3507e0===_0xc1599c)break;else _0xe6e6['push'](_0xe6e6['shift']());}catch(_0x52b44c){_0xe6e6['push'](_0xe6e6['shift']());}}}(a329_0x5d09,0x345b6));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(_0x30e8a3){const _0x2651f3=a329_0x5039,_0x212960=[];for(const [_0x38e4e6,_0x31a3aa]of Object[_0x2651f3(0x1cb)](_0x30e8a3)){if(_0x31a3aa===!![]){const _0x57496c=_0x38e4e6['replace'](/([A-Z])/g,'-$1')['toLowerCase']();_0x212960[_0x2651f3(0x1db)](_0x57496c);}}return _0x212960;}export function parseDynamicFlags(){const _0x43ab71=a329_0x5039,_0x331b7c=[];for(let _0xef4bf5=0x3;_0xef4bf5<process[_0x43ab71(0x1d2)][_0x43ab71(0x1c6)];_0xef4bf5++){const _0x3467c2=process[_0x43ab71(0x1d2)][_0xef4bf5];if(_0x3467c2&&_0x3467c2[_0x43ab71(0x1cd)]('--')){const _0x321489=_0x3467c2[_0x43ab71(0x1c0)](0x2);_0x321489&&!_0x321489[_0x43ab71(0x1c2)]('=')&&_0x331b7c[_0x43ab71(0x1db)](_0x321489);}}return _0x331b7c;}export function getAllProvidedFlags(_0x4a923e){const _0x510618=a329_0x5039,_0x2d5e67=camelCaseFlagsToKebab(_0x4a923e),_0x2cf74a=parseDynamicFlags(),_0x50da19=new Set([..._0x2d5e67,..._0x2cf74a]);return Array[_0x510618(0x1ba)](_0x50da19);}export function normalizeLegacyBffSaveFlags(_0x57b233){const _0x4c71f9=a329_0x5039,_0x152d4b=new Set(_0x57b233);return _0x152d4b[_0x4c71f9(0x1c8)](_0x4c71f9(0x1c1))&&_0x152d4b[_0x4c71f9(0x1d4)](_0x4c71f9(0x1bd)),Array[_0x4c71f9(0x1ba)](_0x152d4b);}function a329_0x5d09(){const _0x4d9bb2=['length','cwd','has','1685ISXaYp','setLogPath','entries','\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill','startsWith','Public\x20Open\x20Skill\x20source:\x20','--help','946547uooqnW','14947834GZnWBJ','argv','error','add','Error:\x20Unsupported\x20command:\x20','skill','(empty)','log','1656ZATyAQ','1044264msizpE','push','\x0aAvailable\x20commands:','from','1302672Lmbado','24GYbPMY','enable-bff-save','4520GJPqvO','help','slice','dangerously-bff-save','includes','18GHdmkK','3770QFYfVf','16923LGQFBj'];a329_0x5d09=function(){return _0x4d9bb2;};return a329_0x5d09();}function a329_0x5039(_0x5cc9fa,_0x113b39){_0x5cc9fa=_0x5cc9fa-0x1b9;const _0x5d0933=a329_0x5d09();let _0x503977=_0x5d0933[_0x5cc9fa];return _0x503977;}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;export async function skillsCommand(_0x4014b5,_0x3a2e4c,_0x33e646){const _0x54758f=a329_0x5039;logger[_0x54758f(0x1ca)](process[_0x54758f(0x1c7)]());if(_0x33e646?.[_0x54758f(0x1bf)]||_0x4014b5===_0x54758f(0x1cf)){showHelp();return;}console[_0x54758f(0x1d3)](_0x54758f(0x1d5)+(_0x4014b5||_0x54758f(0x1d7))),console[_0x54758f(0x1d8)](_0x54758f(0x1b9)),console[_0x54758f(0x1d8)]('\x20\x20'+CLI_BIN_NAME+_0x54758f(0x1cc)),console[_0x54758f(0x1d8)](''),console['log'](_0x54758f(0x1ce)+SKILLS_INSTALL_COMMAND_LINE),logger[_0x54758f(0x1d3)](_0x54758f(0x1d6),'Unsupported\x20command:\x20'+_0x4014b5),process['exit'](0x1);}function showHelp(){const _0x1c6a1a=a329_0x5039;console[_0x1c6a1a(0x1d8)]('\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20'+CLI_BIN_NAME+'\x20cli-skill\x20install\x0a\x0aPublic\x20Open\x20Skill\x20source:\x20'+SKILLS_INSTALL_COMMAND_LINE+'\x0a\x0aNote:\x20cli-skill\x20install\x20uses\x20the\x20npm\x20package-local\x20Skill;\x20the\x20public\x20source\x20is\x20an\x20optional\x20latest\x20mirror.\x0a');}
1
+ (function(_0x380469,_0x420f04){const _0x53223f=a329_0x7792,_0x2c837f=_0x380469();while(!![]){try{const _0x1442cd=parseInt(_0x53223f(0xc5))/0x1*(parseInt(_0x53223f(0xcf))/0x2)+-parseInt(_0x53223f(0xce))/0x3*(parseInt(_0x53223f(0xd1))/0x4)+parseInt(_0x53223f(0xc6))/0x5+parseInt(_0x53223f(0xe3))/0x6*(parseInt(_0x53223f(0xd8))/0x7)+parseInt(_0x53223f(0xc7))/0x8+-parseInt(_0x53223f(0xc9))/0x9+-parseInt(_0x53223f(0xdf))/0xa*(parseInt(_0x53223f(0xcd))/0xb);if(_0x1442cd===_0x420f04)break;else _0x2c837f['push'](_0x2c837f['shift']());}catch(_0x49d3fb){_0x2c837f['push'](_0x2c837f['shift']());}}}(a329_0xebc5,0x9b952));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(_0x50da37){const _0xd396f4=a329_0x7792,_0x13f3aa=[];for(const [_0x12e55a,_0x50b867]of Object['entries'](_0x50da37)){if(_0x50b867===!![]){const _0x15791e=_0x12e55a[_0xd396f4(0xd5)](/([A-Z])/g,_0xd396f4(0xe0))[_0xd396f4(0xc8)]();_0x13f3aa['push'](_0x15791e);}}return _0x13f3aa;}function a329_0xebc5(){const _0x4b5bde=['6JHcyYA','startsWith','add','--help','argv','log','Public\x20Open\x20Skill\x20source:\x20','push','\x20cli-skill\x20install\x0a\x0aPublic\x20Open\x20Skill\x20source:\x20','9wKhWKT','3578755kSheIE','7143480TeFkeJ','toLowerCase','6605712QZbchJ','\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill','\x0a\x0aNote:\x20cli-skill\x20install\x20uses\x20the\x20npm\x20package-local\x20Skill;\x20the\x20public\x20source\x20is\x20an\x20optional\x20latest\x20mirror.\x0a','length','486233BRmAxM','9AIGuSz','239374ceCHTx','help','754888qAkdwi','Unsupported\x20command:\x20','\x0aAvailable\x20commands:','cwd','replace','has','Error:\x20Unsupported\x20command:\x20','1567979OkIrRs','\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','exit','from','dangerously-bff-save','error','enable-bff-save','220zOWqKz','-$1','(empty)','slice'];a329_0xebc5=function(){return _0x4b5bde;};return a329_0xebc5();}function a329_0x7792(_0x2db73b,_0x328636){_0x2db73b=_0x2db73b-0xbe;const _0xebc559=a329_0xebc5();let _0x779278=_0xebc559[_0x2db73b];return _0x779278;}export function parseDynamicFlags(){const _0x486168=a329_0x7792,_0x15b1a1=[];for(let _0x4ac746=0x3;_0x4ac746<process[_0x486168(0xc0)][_0x486168(0xcc)];_0x4ac746++){const _0x208a66=process[_0x486168(0xc0)][_0x4ac746];if(_0x208a66&&_0x208a66[_0x486168(0xe4)]('--')){const _0x23d599=_0x208a66[_0x486168(0xe2)](0x2);_0x23d599&&!_0x23d599['includes']('=')&&_0x15b1a1[_0x486168(0xc3)](_0x23d599);}}return _0x15b1a1;}export function getAllProvidedFlags(_0x1a9f66){const _0x485d8d=a329_0x7792,_0x5556fb=camelCaseFlagsToKebab(_0x1a9f66),_0x1462d8=parseDynamicFlags(),_0x1824cf=new Set([..._0x5556fb,..._0x1462d8]);return Array[_0x485d8d(0xdb)](_0x1824cf);}export function normalizeLegacyBffSaveFlags(_0x2da51d){const _0x438e03=a329_0x7792,_0x293a0f=new Set(_0x2da51d);return _0x293a0f[_0x438e03(0xd6)](_0x438e03(0xdc))&&_0x293a0f[_0x438e03(0xbe)](_0x438e03(0xde)),Array[_0x438e03(0xdb)](_0x293a0f);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;export async function skillsCommand(_0x398c00,_0x7e69a3,_0x3feeef){const _0x27ae49=a329_0x7792;logger['setLogPath'](process[_0x27ae49(0xd4)]());if(_0x3feeef?.[_0x27ae49(0xd0)]||_0x398c00===_0x27ae49(0xbf)){showHelp();return;}console[_0x27ae49(0xdd)](_0x27ae49(0xd7)+(_0x398c00||_0x27ae49(0xe1))),console[_0x27ae49(0xc1)](_0x27ae49(0xd3)),console[_0x27ae49(0xc1)]('\x20\x20'+CLI_BIN_NAME+_0x27ae49(0xca)),console[_0x27ae49(0xc1)](''),console[_0x27ae49(0xc1)](_0x27ae49(0xc2)+SKILLS_INSTALL_COMMAND_LINE),logger['error']('skill',_0x27ae49(0xd2)+_0x398c00),process[_0x27ae49(0xda)](0x1);}function showHelp(){const _0x7a5d1c=a329_0x7792;console[_0x7a5d1c(0xc1)](_0x7a5d1c(0xd9)+CLI_BIN_NAME+_0x7a5d1c(0xc4)+SKILLS_INSTALL_COMMAND_LINE+_0x7a5d1c(0xcb));}