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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (355) 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/index.js +1 -1
  26. package/lib/commands/app/list.js +1 -1
  27. package/lib/commands/app/members-list.js +1 -1
  28. package/lib/commands/app/remote-directory.js +1 -1
  29. package/lib/commands/app/shared.js +1 -1
  30. package/lib/commands/app-config/delete.js +1 -1
  31. package/lib/commands/app-config/get.js +1 -1
  32. package/lib/commands/app-config/index.js +1 -1
  33. package/lib/commands/app-config/list.js +1 -1
  34. package/lib/commands/app-config/set.js +1 -1
  35. package/lib/commands/app-config/shared.js +1 -1
  36. package/lib/commands/auth/index.js +1 -1
  37. package/lib/commands/bff/create.js +1 -1
  38. package/lib/commands/bff/delete.js +1 -1
  39. package/lib/commands/bff/detail.js +1 -1
  40. package/lib/commands/bff/index.js +1 -1
  41. package/lib/commands/bff/list.js +1 -1
  42. package/lib/commands/bff/logs.js +1 -1
  43. package/lib/commands/bff/pull.js +1 -1
  44. package/lib/commands/bff/push.js +1 -1
  45. package/lib/commands/bff/status.js +1 -1
  46. package/lib/commands/cli-skill/index.js +1 -1
  47. package/lib/commands/cli-update.js +1 -1
  48. package/lib/commands/codegen/index.js +1 -1
  49. package/lib/commands/codegen/sdk.js +1 -1
  50. package/lib/commands/codegen/sql.js +1 -1
  51. package/lib/commands/common/app-registry.js +1 -1
  52. package/lib/commands/common/app-selector.js +1 -1
  53. package/lib/commands/common/async-task.js +1 -1
  54. package/lib/commands/common/dry-run.js +1 -1
  55. package/lib/commands/common/flags.js +1 -1
  56. package/lib/commands/common/local-file.js +1 -1
  57. package/lib/commands/common/validate.js +1 -1
  58. package/lib/commands/config/delete.js +1 -1
  59. package/lib/commands/config/get.js +1 -1
  60. package/lib/commands/config/index.js +1 -1
  61. package/lib/commands/config/init.js +1 -1
  62. package/lib/commands/config/list.js +1 -1
  63. package/lib/commands/config/set.js +1 -1
  64. package/lib/commands/config/shared.js +1 -1
  65. package/lib/commands/dataset/batch-design.js +1 -1
  66. package/lib/commands/dataset/business-group-update.js +1 -1
  67. package/lib/commands/dataset/business-groups.js +1 -1
  68. package/lib/commands/dataset/capability.js +1 -1
  69. package/lib/commands/dataset/cross-relation-create.js +1 -1
  70. package/lib/commands/dataset/cross-relation-delete.js +1 -1
  71. package/lib/commands/dataset/cross-relation-list.js +1 -1
  72. package/lib/commands/dataset/cross-relation-shared.js +1 -1
  73. package/lib/commands/dataset/cross-relation-update.js +1 -1
  74. package/lib/commands/dataset/delete.js +1 -1
  75. package/lib/commands/dataset/detail.js +1 -1
  76. package/lib/commands/dataset/extend-update.js +1 -1
  77. package/lib/commands/dataset/field-restore.js +1 -1
  78. package/lib/commands/dataset/field-update.js +1 -1
  79. package/lib/commands/dataset/generate.js +1 -1
  80. package/lib/commands/dataset/index.js +1 -1
  81. package/lib/commands/dataset/list.js +1 -1
  82. package/lib/commands/dataset/operations.js +1 -1
  83. package/lib/commands/dataset/relation-audit.js +1 -1
  84. package/lib/commands/dataset/relation-create.js +1 -1
  85. package/lib/commands/dataset/relation-delete.js +1 -1
  86. package/lib/commands/dataset/relation-shared.js +1 -1
  87. package/lib/commands/dataset/relation-update.js +1 -1
  88. package/lib/commands/dataset/relations.js +1 -1
  89. package/lib/commands/dataset/rename.js +1 -1
  90. package/lib/commands/dataset/restore.js +1 -1
  91. package/lib/commands/dataset/user-deleted-field-list.js +1 -1
  92. package/lib/commands/db/analysis-batching.js +1 -1
  93. package/lib/commands/db/analyze-batch-plan.js +1 -1
  94. package/lib/commands/db/analyze-cancel.js +1 -1
  95. package/lib/commands/db/analyze-start.js +1 -1
  96. package/lib/commands/db/analyze-status.js +1 -1
  97. package/lib/commands/db/create.js +1 -1
  98. package/lib/commands/db/delete.js +1 -1
  99. package/lib/commands/db/detail.js +1 -1
  100. package/lib/commands/db/diff-refresh-start.js +1 -1
  101. package/lib/commands/db/diff-refresh-status.js +1 -1
  102. package/lib/commands/db/diff.js +1 -1
  103. package/lib/commands/db/index.js +1 -1
  104. package/lib/commands/db/list.js +1 -1
  105. package/lib/commands/db/shared.js +1 -1
  106. package/lib/commands/db/table-diff-shared.js +1 -1
  107. package/lib/commands/db/tables.js +1 -1
  108. package/lib/commands/db/test.js +1 -1
  109. package/lib/commands/db/update.js +1 -1
  110. package/lib/commands/deployment/index.js +1 -1
  111. package/lib/commands/deployment/sync-all.js +1 -1
  112. package/lib/commands/deployment/sync-jobs.js +1 -1
  113. package/lib/commands/deployment/sync-status.js +1 -1
  114. package/lib/commands/doctor.js +1 -1
  115. package/lib/commands/file/index.js +1 -1
  116. package/lib/commands/flow/create.js +1 -1
  117. package/lib/commands/flow/detail.js +1 -1
  118. package/lib/commands/flow/index.js +1 -1
  119. package/lib/commands/flow/list.js +1 -1
  120. package/lib/commands/flow/publish.js +1 -1
  121. package/lib/commands/flow/runtime-resources-shared.js +1 -1
  122. package/lib/commands/flow/runtime-role-list.js +1 -1
  123. package/lib/commands/flow/runtime-role-user-list.js +1 -1
  124. package/lib/commands/flow/runtime-user-search.js +1 -1
  125. package/lib/commands/flow/shared.js +1 -1
  126. package/lib/commands/flow/update.js +1 -1
  127. package/lib/commands/flow/validate.js +1 -1
  128. package/lib/commands/instant-api-policy/current.js +1 -1
  129. package/lib/commands/instant-api-policy/index.js +1 -1
  130. package/lib/commands/instant-api-policy/init.js +1 -1
  131. package/lib/commands/instant-api-policy/publish.js +1 -1
  132. package/lib/commands/instant-api-policy/pull.js +1 -1
  133. package/lib/commands/instant-api-policy/revision.js +1 -1
  134. package/lib/commands/instant-api-policy/revisions.js +1 -1
  135. package/lib/commands/instant-api-policy/rollback.js +1 -1
  136. package/lib/commands/instant-api-policy/shared.js +1 -1
  137. package/lib/commands/instant-api-policy/validate.js +1 -1
  138. package/lib/commands/issue/index.js +1 -1
  139. package/lib/commands/issue/nudge.js +1 -1
  140. package/lib/commands/issue/report.js +1 -1
  141. package/lib/commands/issue/shared.js +1 -1
  142. package/lib/commands/kb/create.js +1 -1
  143. package/lib/commands/kb/delete.js +1 -1
  144. package/lib/commands/kb/detail.js +1 -1
  145. package/lib/commands/kb/index.js +1 -1
  146. package/lib/commands/kb/list.js +1 -1
  147. package/lib/commands/kb/search.js +1 -1
  148. package/lib/commands/kb/shared.js +1 -1
  149. package/lib/commands/kb/update.js +1 -1
  150. package/lib/commands/logs/index.js +1 -1
  151. package/lib/commands/menu/asset-update.js +1 -1
  152. package/lib/commands/menu/delete.js +1 -1
  153. package/lib/commands/menu/external-link-create.js +1 -1
  154. package/lib/commands/menu/external-link-update.js +1 -1
  155. package/lib/commands/menu/group-create.js +1 -1
  156. package/lib/commands/menu/group-update.js +1 -1
  157. package/lib/commands/menu/index.js +1 -1
  158. package/lib/commands/menu/list.js +1 -1
  159. package/lib/commands/menu/move.js +1 -1
  160. package/lib/commands/menu/regroup-start.js +1 -1
  161. package/lib/commands/menu/rename.js +1 -1
  162. package/lib/commands/menu/shared/compare-table.js +1 -1
  163. package/lib/commands/menu/shared/delete-plan.js +1 -1
  164. package/lib/commands/menu/shared/facts.js +1 -1
  165. package/lib/commands/menu/shared/index.js +1 -1
  166. package/lib/commands/menu/shared/inquirer.js +1 -1
  167. package/lib/commands/menu/shared/local-pages.js +1 -1
  168. package/lib/commands/menu/shared/logic.js +1 -1
  169. package/lib/commands/menu/shared/mutations.js +1 -1
  170. package/lib/commands/menu/shared/service.js +1 -1
  171. package/lib/commands/menu/shared/sync-core.js +1 -1
  172. package/lib/commands/menu/shared/update-core.js +1 -1
  173. package/lib/commands/menu/shared/valid-url.js +1 -1
  174. package/lib/commands/menu/sync.js +1 -1
  175. package/lib/commands/menu/visibility-update.js +1 -1
  176. package/lib/commands/notification/config-create.js +1 -1
  177. package/lib/commands/notification/config-delete.js +1 -1
  178. package/lib/commands/notification/config-list.js +1 -1
  179. package/lib/commands/notification/config-update.js +1 -1
  180. package/lib/commands/notification/index.js +1 -1
  181. package/lib/commands/notification/shared.js +1 -1
  182. package/lib/commands/ocr/index.js +1 -1
  183. package/lib/commands/page/create.js +1 -1
  184. package/lib/commands/page/custom/detail.js +1 -1
  185. package/lib/commands/page/custom/list.js +1 -1
  186. package/lib/commands/page/custom/publish.js +1 -1
  187. package/lib/commands/page/custom/shared.js +1 -1
  188. package/lib/commands/page/custom/syntax.js +1 -1
  189. package/lib/commands/page/custom/update.js +1 -1
  190. package/lib/commands/page/data-list-status.js +1 -1
  191. package/lib/commands/page/generate-start.js +1 -1
  192. package/lib/commands/page/generate-status.js +1 -1
  193. package/lib/commands/page/index.js +1 -1
  194. package/lib/commands/page/pull.js +1 -1
  195. package/lib/commands/page/push.js +1 -1
  196. package/lib/commands/page/relation-audit.js +1 -1
  197. package/lib/commands/page/restore.js +1 -1
  198. package/lib/commands/page/shared.js +1 -1
  199. package/lib/commands/page/sync.js +1 -1
  200. package/lib/commands/project/api-architecture-upgrade.js +1 -1
  201. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  202. package/lib/commands/project/create/format-elapsed.js +1 -1
  203. package/lib/commands/project/create/main.js +1 -1
  204. package/lib/commands/project/create/materialize-project-template.js +1 -1
  205. package/lib/commands/project/create/project-name.js +1 -1
  206. package/lib/commands/project/create/project-template-archive.js +1 -1
  207. package/lib/commands/project/create/project-template-path.js +1 -1
  208. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  209. package/lib/commands/project/create/use-format-code.js +1 -1
  210. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  211. package/lib/commands/project/domain-routing-sync.js +1 -1
  212. package/lib/commands/project/index.js +1 -1
  213. package/lib/commands/project/upgrade.js +1 -1
  214. package/lib/commands/registry.js +1 -1
  215. package/lib/commands/role/delete.js +1 -1
  216. package/lib/commands/role/detail.js +1 -1
  217. package/lib/commands/role/index.js +1 -1
  218. package/lib/commands/role/list.js +1 -1
  219. package/lib/commands/role/shared.js +1 -1
  220. package/lib/commands/role/update.js +1 -1
  221. package/lib/commands/role/user-add.js +1 -1
  222. package/lib/commands/role/user-remove.js +1 -1
  223. package/lib/commands/role/user-resolve.js +1 -1
  224. package/lib/commands/rule/get.js +1 -1
  225. package/lib/commands/rule/index.js +1 -1
  226. package/lib/commands/rule/list.js +1 -1
  227. package/lib/commands/rule/set.js +1 -1
  228. package/lib/commands/rule/shared.js +1 -1
  229. package/lib/commands/run/index.js +1 -1
  230. package/lib/commands/schema.js +1 -1
  231. package/lib/commands/sql/create.js +1 -1
  232. package/lib/commands/sql/delete.js +1 -1
  233. package/lib/commands/sql/detail.js +1 -1
  234. package/lib/commands/sql/exec.js +1 -1
  235. package/lib/commands/sql/index.js +1 -1
  236. package/lib/commands/sql/list.js +1 -1
  237. package/lib/commands/sql/pull.js +1 -1
  238. package/lib/commands/sql/push.js +1 -1
  239. package/lib/commands/sql/shared.js +1 -1
  240. package/lib/commands/sql/status.js +1 -1
  241. package/lib/commands/sql/validate.js +1 -1
  242. package/lib/commands/task/index.js +1 -1
  243. package/lib/commands/task/status.js +1 -1
  244. package/lib/commands/tenant/index.js +1 -1
  245. package/lib/commands/tenant/members-list.js +1 -1
  246. package/lib/commands/tenant/shared.js +1 -1
  247. package/lib/commands/user-account/dingding-sandbox-bind.js +1 -1
  248. package/lib/commands/user-account/feishu-bind.js +1 -1
  249. package/lib/commands/user-account/index.js +1 -1
  250. package/lib/commands/workspace/add.js +1 -1
  251. package/lib/commands/workspace/index.js +1 -1
  252. package/lib/commands/workspace/remove.js +1 -1
  253. package/lib/config/domain-config.js +1 -1
  254. package/lib/config/project-domain-routing.js +1 -1
  255. package/lib/config/region-config.js +1 -1
  256. package/lib/config/schema.js +1 -1
  257. package/lib/constant/cdn.js +1 -1
  258. package/lib/constant/cli.js +1 -1
  259. package/lib/constant/defaults.js +1 -1
  260. package/lib/constant/domain.js +1 -1
  261. package/lib/constant/env.js +1 -1
  262. package/lib/constant/output.js +1 -1
  263. package/lib/constant/paths.js +1 -1
  264. package/lib/constant/region.js +1 -1
  265. package/lib/constant/risk.js +1 -1
  266. package/lib/constant/routing-profile.js +1 -1
  267. package/lib/context/app-resolver.js +1 -1
  268. package/lib/context/auth-resolver.js +1 -1
  269. package/lib/context/config-loader.js +1 -1
  270. package/lib/context.js +1 -1
  271. package/lib/core/alias-resolver.js +1 -1
  272. package/lib/core/api-client.d.ts +1 -1
  273. package/lib/core/api-client.js +1 -1
  274. package/lib/core/bff/config.js +1 -1
  275. package/lib/core/bff/file-system.js +1 -1
  276. package/lib/core/bff/hash.js +1 -1
  277. package/lib/core/bff/hook-directory.js +1 -1
  278. package/lib/core/bff/lock.js +1 -1
  279. package/lib/core/bff/utils.js +1 -1
  280. package/lib/core/cross-db-relation.js +1 -1
  281. package/lib/core/db-resolver.js +1 -1
  282. package/lib/core/flow-config.js +1 -1
  283. package/lib/core/instant-api-policy/config.js +1 -1
  284. package/lib/core/kb-search-client.js +1 -1
  285. package/lib/core/page/file-system.js +1 -1
  286. package/lib/core/page/hash.js +1 -1
  287. package/lib/core/page/lock.js +1 -1
  288. package/lib/core/page/lr-smart-jsx.js +1 -1
  289. package/lib/core/sql-index-auditor.js +1 -1
  290. package/lib/core/sql-sync/config.js +1 -1
  291. package/lib/core/sql-sync/file-system.js +1 -1
  292. package/lib/core/sql-sync/hash.js +1 -1
  293. package/lib/core/sql-sync/lock.js +1 -1
  294. package/lib/core/sql-sync/utils.js +1 -1
  295. package/lib/core/sql-validator.js +1 -1
  296. package/lib/errors.js +1 -1
  297. package/lib/framework/build-all-flags.js +1 -1
  298. package/lib/framework/error-output.js +1 -1
  299. package/lib/framework/explicit-yes.js +1 -1
  300. package/lib/framework/flags.js +1 -1
  301. package/lib/framework/help.js +1 -1
  302. package/lib/framework/index.js +1 -1
  303. package/lib/framework/output.js +1 -1
  304. package/lib/framework/response.js +1 -1
  305. package/lib/framework/runner-alias.js +1 -1
  306. package/lib/framework/runner.js +1 -1
  307. package/lib/framework/schema-export.js +1 -1
  308. package/lib/framework/supported-flags.js +1 -1
  309. package/lib/framework/types.js +1 -1
  310. package/lib/generated/build-info.d.ts +4 -4
  311. package/lib/generated/build-info.js +1 -1
  312. package/lib/generated/official-routing.js +1 -1
  313. package/lib/generated/routing-contract.js +1 -1
  314. package/lib/help.js +1 -1
  315. package/lib/postinstall.js +1 -1
  316. package/lib/runtime/confirmation.js +1 -1
  317. package/lib/runtime/event.js +1 -1
  318. package/lib/runtime/index.js +1 -1
  319. package/lib/runtime/queue.js +1 -1
  320. package/lib/runtime/resolve.js +1 -1
  321. package/lib/skills/builtin-skill.js +1 -1
  322. package/lib/skills/main.js +1 -1
  323. package/lib/skills/npx-skills-add.js +1 -1
  324. package/lib/skills/skill-presence.js +1 -1
  325. package/lib/telemetry/cli-command-trace.js +1 -1
  326. package/lib/telemetry/cli-help-trace.js +1 -1
  327. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  328. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  329. package/lib/telemetry/send-cli-trace-log.js +1 -1
  330. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  331. package/lib/utils/ai_config.js +1 -1
  332. package/lib/utils/apply-jq-filter.js +1 -1
  333. package/lib/utils/cdn-config.js +1 -1
  334. package/lib/utils/check-sdk-version.js +1 -1
  335. package/lib/utils/cli-version-check.js +1 -1
  336. package/lib/utils/cli-version-policy.js +1 -1
  337. package/lib/utils/config.js +1 -1
  338. package/lib/utils/entity-with-id.js +1 -1
  339. package/lib/utils/file-utils.js +1 -1
  340. package/lib/utils/guides-cdn.js +1 -1
  341. package/lib/utils/http-client.js +1 -1
  342. package/lib/utils/is-non-interactive.js +1 -1
  343. package/lib/utils/logger.js +1 -1
  344. package/lib/utils/params.js +1 -1
  345. package/lib/utils/platform.js +1 -1
  346. package/lib/utils/sleep.js +1 -1
  347. package/lib/utils/template-replacer.js +1 -1
  348. package/lib/utils/update-notice.js +1 -1
  349. package/lib/utils/version.js +1 -1
  350. package/lib/utils/with-active-cookie.js +1 -1
  351. package/lib/utils/write-cli-side-channel.js +1 -1
  352. package/package.json +1 -1
  353. package/skills/rabetbase/SKILL.md +2 -2
  354. package/skills/rabetbase/references/rabetbase-user-account.md +8 -8
  355. package/skills/rabetbase.manifest.json +3 -3
@@ -1 +1 @@
1
- function a306_0x41ba(_0x1f4b30,_0x2f5cdc){_0x1f4b30=_0x1f4b30-0xde;var _0x2397fb=a306_0x2397();var _0x41bac6=_0x2397fb[_0x1f4b30];return _0x41bac6;}(function(_0x3a6209,_0x6770c0){var _0x462d8a=a306_0x41ba,_0x201c41=_0x3a6209();while(!![]){try{var _0x695415=-parseInt(_0x462d8a(0xde))/0x1*(-parseInt(_0x462d8a(0xe4))/0x2)+parseInt(_0x462d8a(0xe3))/0x3+-parseInt(_0x462d8a(0xdf))/0x4+-parseInt(_0x462d8a(0xe6))/0x5*(-parseInt(_0x462d8a(0xe0))/0x6)+-parseInt(_0x462d8a(0xe2))/0x7+-parseInt(_0x462d8a(0xe5))/0x8+parseInt(_0x462d8a(0xe1))/0x9;if(_0x695415===_0x6770c0)break;else _0x201c41['push'](_0x201c41['shift']());}catch(_0x3b548d){_0x201c41['push'](_0x201c41['shift']());}}}(a306_0x2397,0xd6af3));function a306_0x2397(){var _0x283fad=['595454hqmSNl','1632832OZoGJr','45TgrZPz','2ZLHUsT','6062788rAGWzx','19338QWUMoy','33392997GfJDvu','12279372gNIgYa','55650OVjqfe'];a306_0x2397=function(){return _0x283fad;};return a306_0x2397();}export{extractList,extractPaging}from'@lovrabet/cli-framework';
1
+ (function(_0x1cdbc8,_0x27701e){var _0x347035=a306_0x577a,_0x4b5b7b=_0x1cdbc8();while(!![]){try{var _0xa4bd03=-parseInt(_0x347035(0x1b7))/0x1+parseInt(_0x347035(0x1b9))/0x2+-parseInt(_0x347035(0x1bc))/0x3+-parseInt(_0x347035(0x1b6))/0x4+-parseInt(_0x347035(0x1b8))/0x5*(-parseInt(_0x347035(0x1bb))/0x6)+-parseInt(_0x347035(0x1ba))/0x7+parseInt(_0x347035(0x1b5))/0x8;if(_0xa4bd03===_0x27701e)break;else _0x4b5b7b['push'](_0x4b5b7b['shift']());}catch(_0x18420c){_0x4b5b7b['push'](_0x4b5b7b['shift']());}}}(a306_0x1167,0xe5aeb));function a306_0x577a(_0xb3c2f1,_0x3ed0d8){_0xb3c2f1=_0xb3c2f1-0x1b5;var _0x1167b0=a306_0x1167();var _0x577af6=_0x1167b0[_0xb3c2f1];return _0x577af6;}export{extractList,extractPaging}from'@lovrabet/cli-framework';function a306_0x1167(){var _0x5d76f0=['7204592wcWkLq','1556157vDTqqC','8244490sHcURM','1491746EnIAjX','8909950RKOtML','6NKtzzg','2732487QXwtJQ','32695936eSmQSt'];a306_0x1167=function(){return _0x5d76f0;};return a306_0x1167();}
@@ -1 +1 @@
1
- (function(_0x233d60,_0x28827e){const _0x581ee4=a307_0x5ee7,_0x4a00e5=_0x233d60();while(!![]){try{const _0x496a46=-parseInt(_0x581ee4(0x132))/0x1+parseInt(_0x581ee4(0x131))/0x2*(-parseInt(_0x581ee4(0x125))/0x3)+parseInt(_0x581ee4(0x12f))/0x4+-parseInt(_0x581ee4(0x137))/0x5*(-parseInt(_0x581ee4(0x120))/0x6)+-parseInt(_0x581ee4(0x139))/0x7+parseInt(_0x581ee4(0x128))/0x8*(parseInt(_0x581ee4(0x122))/0x9)+parseInt(_0x581ee4(0x129))/0xa*(parseInt(_0x581ee4(0x135))/0xb);if(_0x496a46===_0x28827e)break;else _0x4a00e5['push'](_0x4a00e5['shift']());}catch(_0x178f7e){_0x4a00e5['push'](_0x4a00e5['shift']());}}}(a307_0x5c29,0x688d5));import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';function a307_0x5ee7(_0x19fe21,_0x1bbea2){_0x19fe21=_0x19fe21-0x120;const _0x5c2975=a307_0x5c29();let _0x5ee728=_0x5c2975[_0x19fe21];return _0x5ee728;}import{CLI_BIN_NAME}from'../constant/cli.js';import{resolveApiModelSource}from'../api/model-source.js';function a307_0x5c29(){const _0x425708=['profileName','340431icBlrK','498ihAvmL','some','677403gjKMKM','\x22.\x20','validation','33XGuiSu','type','string','48NJrNHr','10RyNwQE','alias','`\x20requires\x20either\x20--code\x20or\x20--alias.','code','filePath','map','1659516hZRQvw','name','112494vyOvck','95441kZMnue','length','Available\x20aliases:\x20','3281597wRrmrC','flags','1580rSThSX'];a307_0x5c29=function(){return _0x425708;};return a307_0x5c29();}export function resolveAliasToCode(_0x596e1f,_0x1ed1c5,_0x2a5759,_0x1413be,_0x290192,_0x26fed0){const _0x37f217=a307_0x5ee7,_0x3b85d6=_0x596e1f[_0x37f217(0x136)]['some'](_0x2874a5=>_0x2874a5[_0x37f217(0x130)]==='code'&&_0x2874a5[_0x37f217(0x126)]===_0x37f217(0x127)),_0x29d801=_0x596e1f['flags'][_0x37f217(0x121)](_0x1fa22a=>_0x1fa22a[_0x37f217(0x130)]===_0x37f217(0x12a)&&_0x1fa22a[_0x37f217(0x126)]===_0x37f217(0x127));if(!_0x3b85d6||!_0x29d801)return;const _0x362da4=_0x1ed1c5[_0x37f217(0x12c)]?String(_0x1ed1c5[_0x37f217(0x12c)]):'',_0x563d1b=_0x1ed1c5[_0x37f217(0x12a)]?String(_0x1ed1c5['alias']):'';if(!_0x362da4&&!_0x563d1b)throw CliErrors[_0x37f217(0x124)]('`'+_0x1413be+_0x37f217(0x12b));if(_0x563d1b&&!_0x362da4){const _0x5ed32b=resolveApiModelSource(_0x2a5759,_0x290192,_0x26fed0),_0x2b516b=resolveAlias(_0x2a5759,_0x563d1b,undefined,_0x5ed32b[_0x37f217(0x12d)],_0x5ed32b[_0x37f217(0x138)]);if(!_0x2b516b){const _0x487e00=listAliases(_0x2a5759,undefined,_0x5ed32b[_0x37f217(0x12d)],_0x5ed32b[_0x37f217(0x138)])[_0x37f217(0x12e)](_0x45f66c=>_0x45f66c['alias']),_0x57e077=_0x487e00[_0x37f217(0x133)]?_0x37f217(0x134)+_0x487e00['join'](',\x20'):'No\x20model\x20aliases\x20found\x20in\x20'+_0x2a5759+'.\x20Run\x20`'+CLI_BIN_NAME+'\x20api\x20pull`\x20first.';throw CliErrors['validation']('Unknown\x20alias\x20\x22'+_0x563d1b+_0x37f217(0x123)+_0x57e077);}_0x1ed1c5['code']=_0x2b516b;}}
1
+ function a307_0x36fa(_0x570f81,_0x1b2826){_0x570f81=_0x570f81-0x1d5;const _0x385bf7=a307_0x385b();let _0x36facf=_0x385bf7[_0x570f81];return _0x36facf;}(function(_0x306830,_0x11d8ee){const _0x5d393d=a307_0x36fa,_0x2ef979=_0x306830();while(!![]){try{const _0x358fa7=-parseInt(_0x5d393d(0x1da))/0x1+-parseInt(_0x5d393d(0x1eb))/0x2*(-parseInt(_0x5d393d(0x1e7))/0x3)+-parseInt(_0x5d393d(0x1e3))/0x4*(parseInt(_0x5d393d(0x1e8))/0x5)+parseInt(_0x5d393d(0x1df))/0x6+-parseInt(_0x5d393d(0x1ee))/0x7+parseInt(_0x5d393d(0x1e6))/0x8+-parseInt(_0x5d393d(0x1db))/0x9;if(_0x358fa7===_0x11d8ee)break;else _0x2ef979['push'](_0x2ef979['shift']());}catch(_0x5f2344){_0x2ef979['push'](_0x2ef979['shift']());}}}(a307_0x385b,0x2f537));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';function a307_0x385b(){const _0x2218a5=['.\x20Run\x20`','Unknown\x20alias\x20\x22','length','name','some','380606BdLQTi','1613790OWGolS','flags','Available\x20aliases:\x20','No\x20model\x20aliases\x20found\x20in\x20','2210316bzrisN','map','join','\x20api\x20pull`\x20first.','379492PzXARF','validation','alias','1795920SJkemZ','59181mzGVJf','10iXnxaC','filePath','code','38PLRZzc','type','string','169260EwYPuL','profileName'];a307_0x385b=function(){return _0x2218a5;};return a307_0x385b();}export function resolveAliasToCode(_0x50df31,_0xb9b292,_0x3c7479,_0x3ded04,_0x2159e3,_0x121478){const _0x5db6b4=a307_0x36fa,_0x1db724=_0x50df31[_0x5db6b4(0x1dc)][_0x5db6b4(0x1d9)](_0x5a8796=>_0x5a8796[_0x5db6b4(0x1d8)]===_0x5db6b4(0x1ea)&&_0x5a8796[_0x5db6b4(0x1ec)]===_0x5db6b4(0x1ed)),_0x22d735=_0x50df31['flags'][_0x5db6b4(0x1d9)](_0x49dc84=>_0x49dc84[_0x5db6b4(0x1d8)]==='alias'&&_0x49dc84[_0x5db6b4(0x1ec)]===_0x5db6b4(0x1ed));if(!_0x1db724||!_0x22d735)return;const _0xc30261=_0xb9b292[_0x5db6b4(0x1ea)]?String(_0xb9b292['code']):'',_0xe5a48d=_0xb9b292[_0x5db6b4(0x1e5)]?String(_0xb9b292['alias']):'';if(!_0xc30261&&!_0xe5a48d)throw CliErrors[_0x5db6b4(0x1e4)]('`'+_0x3ded04+'`\x20requires\x20either\x20--code\x20or\x20--alias.');if(_0xe5a48d&&!_0xc30261){const _0x6406b8=resolveApiModelSource(_0x3c7479,_0x2159e3,_0x121478),_0x134461=resolveAlias(_0x3c7479,_0xe5a48d,undefined,_0x6406b8[_0x5db6b4(0x1e9)],_0x6406b8[_0x5db6b4(0x1ef)]);if(!_0x134461){const _0x360acd=listAliases(_0x3c7479,undefined,_0x6406b8['filePath'],_0x6406b8['profileName'])[_0x5db6b4(0x1e0)](_0x44a135=>_0x44a135[_0x5db6b4(0x1e5)]),_0x31cbec=_0x360acd[_0x5db6b4(0x1d7)]?_0x5db6b4(0x1dd)+_0x360acd[_0x5db6b4(0x1e1)](',\x20'):_0x5db6b4(0x1de)+_0x3c7479+_0x5db6b4(0x1d5)+CLI_BIN_NAME+_0x5db6b4(0x1e2);throw CliErrors['validation'](_0x5db6b4(0x1d6)+_0xe5a48d+'\x22.\x20'+_0x31cbec);}_0xb9b292['code']=_0x134461;}}
@@ -1 +1 @@
1
- (function(_0x4fbbde,_0x3f8d3c){const _0x3471ef=a308_0x33d1,_0x1379c1=_0x4fbbde();while(!![]){try{const _0x37fd47=-parseInt(_0x3471ef(0xc8))/0x1*(-parseInt(_0x3471ef(0xaa))/0x2)+-parseInt(_0x3471ef(0xcc))/0x3+-parseInt(_0x3471ef(0xc0))/0x4*(-parseInt(_0x3471ef(0x9b))/0x5)+parseInt(_0x3471ef(0xb5))/0x6+parseInt(_0x3471ef(0xc4))/0x7*(-parseInt(_0x3471ef(0xc1))/0x8)+parseInt(_0x3471ef(0xa3))/0x9+parseInt(_0x3471ef(0xd6))/0xa;if(_0x37fd47===_0x3f8d3c)break;else _0x1379c1['push'](_0x1379c1['shift']());}catch(_0x3f6fbe){_0x1379c1['push'](_0x1379c1['shift']());}}}(a308_0x562f,0xcab03));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';function a308_0x33d1(_0x299bac,_0x30f301){_0x299bac=_0x299bac-0x7e;const _0x562f68=a308_0x562f();let _0x33d1b7=_0x562f68[_0x299bac];return _0x33d1b7;}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 a308_0x60effd}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x3e0420){const _0xd562a4=a308_0x33d1;return typeof _0x3e0420===_0xd562a4(0x91)&&_0x3e0420[_0xd562a4(0x87)]()?_0x3e0420[_0xd562a4(0x87)]():undefined;}function resolveEnvAppCode(){const _0x3de125=stringFlag(process.env.RABETBASE_APPCODE);if(_0x3de125)return{'name':'RABETBASE_APPCODE','value':_0x3de125};const _0x44441d=stringFlag(process.env.LOVRABET_APPCODE);if(_0x44441d)return{'name':'LOVRABET_APPCODE','value':_0x44441d};return undefined;}function hasExplicitAppCode(_0x27e367,_0x39c506){const _0x4aa0e6=a308_0x33d1;return!!(stringFlag(_0x27e367[_0x4aa0e6(0xd5)])||stringFlag(_0x39c506['appcode']));}function assertEnvAppCodeNotIgnored(_0x47a2cf,_0x290196,_0x49bc17){const _0xf97cc7=a308_0x33d1;if(!_0x290196||_0x49bc17||_0x47a2cf===_0x290196[_0xf97cc7(0xa9)])return;const _0x9228a1=_0x47a2cf?_0xf97cc7(0x9e)+_0x47a2cf+'\x22.':_0xf97cc7(0xc5);throw CliErrors[_0xf97cc7(0x94)](_0x290196[_0xf97cc7(0x90)]+'='+_0x290196[_0xf97cc7(0xa9)]+'\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20'+_0x9228a1+'\x20'+(_0xf97cc7(0x8c)+_0x290196['name']+'\x22.'));}export function createPipelineEnv(_0x15a5c1,_0x3db418,_0x4bccd9=[]){const _0x30c391=a308_0x33d1;return{'rawFlags':_0x3db418,'args':_0x4bccd9,'resolveAppCode':()=>_0x15a5c1[_0x30c391(0x95)],'resolveCookie':()=>_0x15a5c1[_0x30c391(0x8d)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a308_0x60effd(_0x3db418),'defaultFormat':_0x15a5c1['format'],'defaultPageSize':_0x15a5c1[_0x30c391(0x8b)],'defaultVerbose':_0x15a5c1[_0x30c391(0x8e)],'apiDir':_0x15a5c1['apiDir'],'riskLevel':_0x15a5c1[_0x30c391(0xad)],'selectedAppName':_0x15a5c1[_0x30c391(0x9a)],'mergedCli':{'defaultApp':_0x15a5c1['defaultApp'],'currentApp':_0x15a5c1['currentApp'],'appCode':_0x15a5c1[_0x30c391(0x95)],'apps':_0x15a5c1[_0x30c391(0xa1)]}};}export function createRabetbaseRunnerAdapter(_0xa61b22={}){const _0x16e234=a308_0x33d1;return{'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[_0x16e234(0xbd)](_0x3d659a=>PIPELINE_FLAG_NAMES['has'](_0x3d659a[_0x16e234(0x90)]))[_0x16e234(0xd1)](({name:_0x20c936,type:_0x5717ad,description:_0x3e13cc})=>({'name':_0x20c936,'type':_0x5717ad,'description':_0x3e13cc})),'formatOutput':_0xa61b22[_0x16e234(0x7f)]??formatOutput,'getCommandLabel'(_0x37c162){const _0x56935a=_0x16e234;return CLI_BIN_NAME+'\x20'+_0x37c162['service']+'\x20'+_0x37c162[_0x56935a(0xb8)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x5b5486,{def:_0x2ad800}){const _0x4d2603=_0x16e234,_0x58a93b=_0x5b5486[_0x4d2603(0x96)](_0x4d2603(0xba))?'AI\x20Agents\x20and\x20automated\x20scripts\x20must\x20not\x20modify\x20riskLevel\x20or\x20attempt\x20to\x20elevate\x20it.':'A\x20human\x20user\x20may\x20review\x20the\x20active\x20risk\x20ceilings\x20and\x20manually\x20edit\x20the\x20applicable\x20.rabetbase.json\x20file\x20to\x20set\x20riskLevel\x20to\x20\x22'+_0x2ad800['risk']+'\x22\x20if\x20this\x20operation\x20is\x20intended.\x20'+_0x4d2603(0xcf);return CliErrors[_0x4d2603(0x94)](_0x5b5486+'\x0a\x20\x20'+_0x58a93b);}},async 'prepare'(_0x1ac63f,_0x5a98af,_0x39a903,_0x3a3f09){const _0x3991fb=_0x16e234,_0x504f28=_0x5a98af[_0x3991fb(0x93)]||DEFAULT_API_DIR,_0x21d479=hasExplicitAppCode(_0x39a903,_0x5a98af[_0x3991fb(0x82)]),_0x2b98a2=stringFlag(_0x39a903[_0x3991fb(0xd5)])||stringFlag(_0x5a98af['rawFlags'][_0x3991fb(0xd5)]),_0x2be88d=_0x5a98af[_0x3991fb(0xce)]?.[_0x3991fb(0xa1)]??{},_0x1bf8b3=_0x5a98af[_0x3991fb(0x83)]||_0x5a98af[_0x3991fb(0xce)]?.[_0x3991fb(0xa0)]||_0x5a98af['mergedCli']?.['defaultApp'],_0x2863cf=_0x2b98a2?Object[_0x3991fb(0xa4)](_0x2be88d)[_0x3991fb(0xbd)](([,_0x19c3b8])=>_0x19c3b8['appcode']===_0x2b98a2)['map'](([_0x187f9e])=>_0x187f9e):[];if(_0x2863cf[_0x3991fb(0xa7)]>0x1&&!_0x5a98af[_0x3991fb(0x83)])throw CliErrors[_0x3991fb(0x94)](_0x3991fb(0xb6)+_0x2b98a2+_0x3991fb(0x85)+_0x2863cf['join'](',\x20')+'.','Select\x20the\x20target\x20explicitly\x20with\x20--app\x20<profile>.');resolveAliasToCode(_0x1ac63f,_0x39a903,_0x504f28,_0x3a3f09,_0x5a98af[_0x3991fb(0xca)](),_0x1bf8b3);const _0x2d1ede=resolveCommandAuthMode(_0x1ac63f);let _0x31ad8d='';if(_0x2d1ede!==_0x3991fb(0x9d)){_0x31ad8d=_0x5a98af[_0x3991fb(0xa6)]()||'';if(!_0x31ad8d){if(_0x2d1ede===_0x3991fb(0xa2))throw CliErrors[_0x3991fb(0x88)]();}else{const {setActiveCookie:_0x5555ef}=await import(_0x3991fb(0xc7));_0x5555ef(_0x31ad8d);}}const _0x505191=_0x5a98af[_0x3991fb(0xca)]()??'';if(_0x1ac63f[_0x3991fb(0x89)]!==![]){if(!_0x21d479&&_0x1bf8b3&&!_0x2be88d[_0x1bf8b3]){const _0x2bac2f=Object[_0x3991fb(0xd2)](_0x2be88d);throw CliErrors[_0x3991fb(0x94)](_0x3991fb(0xb9)+_0x1bf8b3+_0x3991fb(0xae),_0x2bac2f['length']>0x0?_0x3991fb(0xb1)+_0x2bac2f[_0x3991fb(0xc9)](',\x20')+_0x3991fb(0x80)+CLI_BIN_NAME+_0x3991fb(0x8f):_0x3991fb(0x98)+CLI_BIN_NAME+'\x20config\x20delete\x20defaultApp`\x20to\x20repair\x20the\x20selection.');}assertEnvAppCodeNotIgnored(_0x505191,resolveEnvAppCode(),_0x21d479);if(!_0x505191){const _0x17de7a=Object[_0x3991fb(0xd2)](_0x2be88d);if(!_0x1bf8b3&&_0x17de7a['length']>0x1)throw CliErrors['configMissing']('Multiple\x20apps\x20are\x20configured\x20but\x20no\x20default\x20app\x20is\x20selected.\x20Use\x20--app\x20<name>\x20or\x20run\x20`'+CLI_BIN_NAME+'\x20workspace\x20use\x20--app\x20<name>`.\x20Available:\x20'+_0x17de7a[_0x3991fb(0xc9)](',\x20')+'.');throw CliErrors[_0x3991fb(0xaf)](_0x3991fb(0xd7)+CLI_BIN_NAME+_0x3991fb(0xb7));}}return{'defaults':{'booleans':{'verbose':_0x5a98af[_0x3991fb(0x86)]},'numbers':{'pagesize':_0x5a98af['defaultPageSize']}},'extras':{'appCode':_0x505191,'cookie':_0x31ad8d,'apiDomain':_0x5a98af[_0x3991fb(0xbb)](),'apiDir':_0x504f28,'selectedAppName':_0x5a98af[_0x3991fb(0x83)],'mergedCli':_0x5a98af[_0x3991fb(0xce)]}};},'confirmHighRisk':_0xa61b22[_0x16e234(0xa5)]??(async({env:_0x5c9731,commandLabel:_0x3c5196})=>{const _0x300a70=_0x16e234;if(_0x5c9731[_0x300a70(0xcb)])throw CliErrors[_0x300a70(0x94)](_0x300a70(0xbf)+_0x3c5196+_0x300a70(0xc2));await requireConfirmationPrompt({'lines':[_0x300a70(0x9c)+_0x3c5196,_0x300a70(0xb3)],'createCancelledError':_0x2c7d19=>CliErrors[_0x300a70(0xb0)](_0x2c7d19)});}),async 'finalize'(){await clearRabetbaseCommandState();}};}const terminalRunnerAdapter=createRabetbaseRunnerAdapter();async function clearRabetbaseCommandState(){const _0x5bee30=a308_0x33d1,{clearActiveCookie:_0x165f8d}=await import(_0x5bee30(0xc7));_0x165f8d();}export async function finalizeRabetbaseRuntimeState(){const _0x24237f=a308_0x33d1;try{await clearRabetbaseCommandState();}finally{const [{initDomains:_0x435267},{initEnv:_0x3673cb}]=await Promise[_0x24237f(0xcd)]([import(_0x24237f(0xb2)),import(_0x24237f(0xbe))]);_0x435267(),_0x3673cb(_0x24237f(0x97));}}export async function runCommand(_0x563774,_0x584c9e,_0x51b46e=terminalRunnerAdapter){assertRejectedFlags(_0x563774,_0x584c9e['rawFlags']),await runCommandWithAdapter(shouldAttachUpdateNotice(_0x563774)?withUpdateNotice(_0x563774):_0x563774,_0x584c9e,_0x51b46e);}function assertRejectedFlags(_0x54e2cd,_0xb5c9cd){const _0x57420c=a308_0x33d1;for(const _0x5a6f3e of _0x54e2cd[_0x57420c(0xd4)]??[]){const _0x3d532d=GLOBAL_FLAGS[_0x57420c(0xac)](_0x1ad3ba=>_0x1ad3ba[_0x57420c(0x90)]===_0x5a6f3e[_0x57420c(0x90)]),_0x12471a=new Set([_0x5a6f3e[_0x57420c(0x90)],toCamelCase(_0x5a6f3e['name']),_0x3d532d?.[_0x57420c(0x99)]]),_0x225924=[..._0x12471a][_0x57420c(0xa8)](_0xec6d6d=>{if(!_0xec6d6d)return![];const _0x15be45=_0xb5c9cd[_0xec6d6d];return _0x15be45!==undefined&&_0x15be45!==null&&_0x15be45!==![];});if(_0x225924)throw CliErrors[_0x57420c(0x94)](_0x5a6f3e['message'],_0x5a6f3e[_0x57420c(0xbc)]);}}function toCamelCase(_0x365ff2){const _0x3f8755=a308_0x33d1;return _0x365ff2[_0x3f8755(0x9f)](/-([a-z])/g,(_0xe1b062,_0x2fa678)=>_0x2fa678[_0x3f8755(0xd3)]());}function shouldAttachUpdateNotice(_0x2a5bbb){const _0x5a4cac=a308_0x33d1;if(_0x2a5bbb[_0x5a4cac(0xc3)]===![])return![];return![_0x5a4cac(0x92),_0x5a4cac(0xab),_0x5a4cac(0x7e)][_0x5a4cac(0x96)](_0x2a5bbb['service']);}function withUpdateNotice(_0x3367be){return{..._0x3367be,async 'execute'(_0x16e731){const _0x394e39=a308_0x33d1,_0x38363d=shouldResolveUpdateNotice(_0x16e731)?resolveLatestUpdateNotice()[_0x394e39(0xd0)](()=>null):Promise['resolve'](null),_0x348d86=await _0x3367be['execute'](_0x16e731);return attachUpdateNotice(_0x348d86,await _0x38363d);}};}function shouldResolveUpdateNotice(_0xa442d8){const _0x1d2836=a308_0x33d1;return _0xa442d8[_0x1d2836(0x81)]===_0x1d2836(0x84)&&!_0xa442d8[_0x1d2836(0xb4)];}function a308_0x562f(){const _0x5a0c90=['\x22\x20is\x20selected\x20but\x20not\x20defined\x20in\x20the\x20effective\x20project\x20apps.','configMissing','cancelled','Available:\x20','../constant/domain.js','\x20\x20\x20Continue?\x20[y/N]\x20','nonInteractive','37596HGJUzM','AppCode\x20\x22','\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','command','App\x20\x22','Edit\x20the\x20config\x20file\x20manually','resolveApiDomain','hint','filter','../constant/env.js','High-risk\x20operation\x20`','28udRjPP','5192992ZDrfEw','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','hasFormat','14deZjlc','No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.','_notice','../core/api-client.js','252401hhXpaX','join','resolveAppCode','isNonInteractive','938232SNCPoh','all','mergedCli','AI\x20Agents\x20and\x20automated\x20scripts\x20must\x20not\x20modify\x20riskLevel\x20or\x20attempt\x20to\x20elevate\x20it.','catch','map','keys','toUpperCase','rejectedFlags','appcode','13498580OHpCER','Set\x20appcode\x20via\x20`','doctor','formatOutput','.\x20Use\x20--app/--appcode,\x20or\x20run\x20`','format','rawFlags','selectedAppName','pretty','\x22\x20belongs\x20to\x20multiple\x20app\x20profiles:\x20','defaultVerbose','trim','authRequired','requiresAppCode','object','pageSize','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','cookie','verbose','\x20config\x20delete\x20defaultApp`\x20to\x20repair\x20the\x20selection.','name','string','update','apiDir','validation','appCode','includes','production','Use\x20--appcode,\x20add\x20the\x20app\x20to\x20the\x20project\x20workspace,\x20or\x20run\x20`','meowKey','explicitAppName','451805ASAwJQ','⚠\x20\x20High-risk\x20operation:\x20','none','Current\x20resolved\x20appcode\x20is\x20\x22','replace','currentApp','apps','required','1801359qrkXBa','entries','confirmHighRisk','resolveCookie','length','some','value','2FQjFmB','schema','find','riskLevel'];a308_0x562f=function(){return _0x5a0c90;};return a308_0x562f();}function attachUpdateNotice(_0x1da4a0,_0x1e76b0){const _0x4f0b38=a308_0x33d1;if(!_0x1e76b0||!_0x1da4a0||typeof _0x1da4a0!==_0x4f0b38(0x8a))return _0x1da4a0;const _0x4f2f4d=_0x1da4a0,_0x158092=typeof _0x4f2f4d['_notice']==='object'&&_0x4f2f4d[_0x4f0b38(0xc6)]!==null?_0x4f2f4d[_0x4f0b38(0xc6)]:{};return{..._0x4f2f4d,'_notice':{..._0x158092,'update':_0x1e76b0}};}
1
+ (function(_0x4fd1b1,_0x59a820){const _0x5902aa=a308_0x11fd,_0x6af4d9=_0x4fd1b1();while(!![]){try{const _0x1d5e5e=parseInt(_0x5902aa(0xef))/0x1+parseInt(_0x5902aa(0xfc))/0x2*(parseInt(_0x5902aa(0x125))/0x3)+-parseInt(_0x5902aa(0xf1))/0x4*(-parseInt(_0x5902aa(0x117))/0x5)+-parseInt(_0x5902aa(0x12f))/0x6+parseInt(_0x5902aa(0x140))/0x7*(parseInt(_0x5902aa(0xf4))/0x8)+parseInt(_0x5902aa(0x136))/0x9*(-parseInt(_0x5902aa(0x13f))/0xa)+-parseInt(_0x5902aa(0x139))/0xb;if(_0x1d5e5e===_0x59a820)break;else _0x6af4d9['push'](_0x6af4d9['shift']());}catch(_0x2ba85c){_0x6af4d9['push'](_0x6af4d9['shift']());}}}(a308_0x2411,0x69cbe));import{resolveCommandAuthMode,runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';function a308_0x11fd(_0x2fe068,_0x5bc282){_0x2fe068=_0x2fe068-0xec;const _0x2411ba=a308_0x2411();let _0x11fd66=_0x2411ba[_0x2fe068];return _0x11fd66;}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 a308_0x2b811d}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x569a57){const _0x570576=a308_0x11fd;return typeof _0x569a57==='string'&&_0x569a57['trim']()?_0x569a57[_0x570576(0x143)]():undefined;}function resolveEnvAppCode(){const _0x10f4a3=a308_0x11fd,_0x4120bf=stringFlag(process.env.RABETBASE_APPCODE);if(_0x4120bf)return{'name':_0x10f4a3(0x12a),'value':_0x4120bf};const _0x26b348=stringFlag(process.env.LOVRABET_APPCODE);if(_0x26b348)return{'name':'LOVRABET_APPCODE','value':_0x26b348};return undefined;}function hasExplicitAppCode(_0x1ca2bd,_0x4dda99){const _0xee5dd5=a308_0x11fd;return!!(stringFlag(_0x1ca2bd[_0xee5dd5(0x137)])||stringFlag(_0x4dda99[_0xee5dd5(0x137)]));}function assertEnvAppCodeNotIgnored(_0x167e61,_0x77a092,_0x419b67){const _0x1a7975=a308_0x11fd;if(!_0x77a092||_0x419b67||_0x167e61===_0x77a092[_0x1a7975(0x130)])return;const _0xf13902=_0x167e61?_0x1a7975(0x109)+_0x167e61+'\x22.':_0x1a7975(0x121);throw CliErrors[_0x1a7975(0x111)](_0x77a092[_0x1a7975(0x11d)]+'='+_0x77a092[_0x1a7975(0x130)]+_0x1a7975(0x116)+_0xf13902+'\x20'+(_0x1a7975(0xf3)+_0x77a092[_0x1a7975(0x11d)]+'\x22.'));}export function createPipelineEnv(_0x3af570,_0x4d0ac4,_0x1ecbd5=[]){const _0x4c6ceb=a308_0x11fd;return{'rawFlags':_0x4d0ac4,'args':_0x1ecbd5,'resolveAppCode':()=>_0x3af570[_0x4c6ceb(0xee)],'resolveCookie':()=>_0x3af570[_0x4c6ceb(0x135)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a308_0x2b811d(_0x4d0ac4),'defaultFormat':_0x3af570[_0x4c6ceb(0xed)],'defaultPageSize':_0x3af570['pageSize'],'defaultVerbose':_0x3af570['verbose'],'apiDir':_0x3af570[_0x4c6ceb(0x141)],'riskLevel':_0x3af570[_0x4c6ceb(0x11a)],'selectedAppName':_0x3af570[_0x4c6ceb(0x104)],'mergedCli':{'defaultApp':_0x3af570[_0x4c6ceb(0x122)],'currentApp':_0x3af570['currentApp'],'appCode':_0x3af570[_0x4c6ceb(0xee)],'apps':_0x3af570[_0x4c6ceb(0xff)]}};}export function createRabetbaseRunnerAdapter(_0x4ead82={}){const _0x2eaff0=a308_0x11fd;return{'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[_0x2eaff0(0x127)](_0x27349d=>PIPELINE_FLAG_NAMES['has'](_0x27349d['name']))[_0x2eaff0(0x13c)](({name:_0x1290bc,type:_0x3f629f,description:_0x4f4021})=>({'name':_0x1290bc,'type':_0x3f629f,'description':_0x4f4021})),'formatOutput':_0x4ead82[_0x2eaff0(0x100)]??formatOutput,'getCommandLabel'(_0x12860c){const _0x5f09ee=_0x2eaff0;return CLI_BIN_NAME+'\x20'+_0x12860c['service']+'\x20'+_0x12860c[_0x5f09ee(0x13b)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x4cedf3,{def:_0xe35941}){const _0x42d5bf=_0x2eaff0,_0x4f891e=_0x4cedf3[_0x42d5bf(0x128)](_0x42d5bf(0x119))?_0x42d5bf(0x118):_0x42d5bf(0x12c)+_0xe35941['risk']+'\x22\x20if\x20this\x20operation\x20is\x20intended.\x20'+_0x42d5bf(0x118);return CliErrors[_0x42d5bf(0x111)](_0x4cedf3+_0x42d5bf(0x129)+_0x4f891e);}},async 'prepare'(_0x53ac5e,_0x3ffc87,_0xc4410c,_0x4769cf){const _0x4b7505=_0x2eaff0,_0x187d11=_0x3ffc87[_0x4b7505(0x141)]||DEFAULT_API_DIR,_0x2644c2=hasExplicitAppCode(_0xc4410c,_0x3ffc87[_0x4b7505(0x101)]),_0x5104b1=stringFlag(_0xc4410c[_0x4b7505(0x137)])||stringFlag(_0x3ffc87[_0x4b7505(0x101)]['appcode']),_0x2f3a04=_0x3ffc87[_0x4b7505(0xf0)]?.[_0x4b7505(0xff)]??{},_0x184252=_0x3ffc87['selectedAppName']||_0x3ffc87[_0x4b7505(0xf0)]?.[_0x4b7505(0x142)]||_0x3ffc87[_0x4b7505(0xf0)]?.[_0x4b7505(0x122)],_0x315607=_0x5104b1?Object[_0x4b7505(0x107)](_0x2f3a04)[_0x4b7505(0x127)](([,_0x52e387])=>_0x52e387['appcode']===_0x5104b1)[_0x4b7505(0x13c)](([_0x1bf364])=>_0x1bf364):[];if(_0x315607[_0x4b7505(0xf7)]>0x1&&!_0x3ffc87['selectedAppName'])throw CliErrors[_0x4b7505(0x111)](_0x4b7505(0xfe)+_0x5104b1+_0x4b7505(0x134)+_0x315607[_0x4b7505(0x113)](',\x20')+'.',_0x4b7505(0x11c));resolveAliasToCode(_0x53ac5e,_0xc4410c,_0x187d11,_0x4769cf,_0x3ffc87[_0x4b7505(0x11b)](),_0x184252);const _0x52701d=resolveCommandAuthMode(_0x53ac5e);let _0x182a24='';if(_0x52701d!==_0x4b7505(0x115)){_0x182a24=_0x3ffc87[_0x4b7505(0x13d)]()||'';if(!_0x182a24){if(_0x52701d===_0x4b7505(0x10f))throw CliErrors[_0x4b7505(0x105)]();}else{const {setActiveCookie:_0x467eb3}=await import(_0x4b7505(0x13e));_0x467eb3(_0x182a24);}}const _0x1b45dc=_0x3ffc87[_0x4b7505(0x11b)]()??'';if(_0x53ac5e[_0x4b7505(0x10b)]!==![]){if(!_0x2644c2&&_0x184252&&!_0x2f3a04[_0x184252]){const _0x29dabf=Object['keys'](_0x2f3a04);throw CliErrors[_0x4b7505(0x111)]('App\x20\x22'+_0x184252+_0x4b7505(0x132),_0x29dabf[_0x4b7505(0xf7)]>0x0?_0x4b7505(0x11e)+_0x29dabf[_0x4b7505(0x113)](',\x20')+_0x4b7505(0xf2)+CLI_BIN_NAME+_0x4b7505(0x10c):_0x4b7505(0x131)+CLI_BIN_NAME+_0x4b7505(0x10c));}assertEnvAppCodeNotIgnored(_0x1b45dc,resolveEnvAppCode(),_0x2644c2);if(!_0x1b45dc){const _0x55adc8=Object[_0x4b7505(0x12d)](_0x2f3a04);if(!_0x184252&&_0x55adc8[_0x4b7505(0xf7)]>0x1)throw CliErrors['configMissing']('Multiple\x20apps\x20are\x20configured\x20but\x20no\x20default\x20app\x20is\x20selected.\x20Use\x20--app\x20<name>\x20or\x20run\x20`'+CLI_BIN_NAME+_0x4b7505(0x110)+_0x55adc8['join'](',\x20')+'.');throw CliErrors[_0x4b7505(0x10a)]('Set\x20appcode\x20via\x20`'+CLI_BIN_NAME+'\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.');}}return{'defaults':{'booleans':{'verbose':_0x3ffc87[_0x4b7505(0xf6)]},'numbers':{'pagesize':_0x3ffc87[_0x4b7505(0x138)]}},'extras':{'appCode':_0x1b45dc,'cookie':_0x182a24,'apiDomain':_0x3ffc87['resolveApiDomain'](),'apiDir':_0x187d11,'selectedAppName':_0x3ffc87[_0x4b7505(0xec)],'mergedCli':_0x3ffc87['mergedCli']}};},'confirmHighRisk':_0x4ead82[_0x2eaff0(0x120)]??(async({env:_0x404b73,commandLabel:_0x1bdd78})=>{const _0x51067d=_0x2eaff0;if(_0x404b73[_0x51067d(0x123)])throw CliErrors['validation'](_0x51067d(0x10e)+_0x1bdd78+_0x51067d(0x114));await requireConfirmationPrompt({'lines':[_0x51067d(0x102)+_0x1bdd78,_0x51067d(0xfa)],'createCancelledError':_0x3cf969=>CliErrors[_0x51067d(0xf9)](_0x3cf969)});}),async 'finalize'(){await clearRabetbaseCommandState();}};}const terminalRunnerAdapter=createRabetbaseRunnerAdapter();async function clearRabetbaseCommandState(){const _0x130bfb=a308_0x11fd,{clearActiveCookie:_0x289456}=await import(_0x130bfb(0x13e));_0x289456();}export async function finalizeRabetbaseRuntimeState(){try{await clearRabetbaseCommandState();}finally{const [{initDomains:_0x27e7c5},{initEnv:_0x3034c1}]=await Promise['all']([import('../constant/domain.js'),import('../constant/env.js')]);_0x27e7c5(),_0x3034c1('production');}}export async function runCommand(_0x4152e8,_0x287266,_0x3d440f=terminalRunnerAdapter){const _0x319920=a308_0x11fd;assertRejectedFlags(_0x4152e8,_0x287266[_0x319920(0x101)]),await runCommandWithAdapter(shouldAttachUpdateNotice(_0x4152e8)?withUpdateNotice(_0x4152e8):_0x4152e8,_0x287266,_0x3d440f);}function assertRejectedFlags(_0x3adfb2,_0x1edddc){const _0x18e974=a308_0x11fd;for(const _0x5690ea of _0x3adfb2[_0x18e974(0x12e)]??[]){const _0x3d071a=GLOBAL_FLAGS[_0x18e974(0x11f)](_0x296932=>_0x296932[_0x18e974(0x11d)]===_0x5690ea[_0x18e974(0x11d)]),_0x1d4de5=new Set([_0x5690ea[_0x18e974(0x11d)],toCamelCase(_0x5690ea['name']),_0x3d071a?.[_0x18e974(0x10d)]]),_0x4cebae=[..._0x1d4de5][_0x18e974(0x106)](_0x1615bb=>{if(!_0x1615bb)return![];const _0x1c04c9=_0x1edddc[_0x1615bb];return _0x1c04c9!==undefined&&_0x1c04c9!==null&&_0x1c04c9!==![];});if(_0x4cebae)throw CliErrors[_0x18e974(0x111)](_0x5690ea[_0x18e974(0x133)],_0x5690ea[_0x18e974(0x103)]);}}function toCamelCase(_0x44125f){const _0x4dae91=a308_0x11fd;return _0x44125f[_0x4dae91(0xfb)](/-([a-z])/g,(_0x245c62,_0xcd8380)=>_0xcd8380[_0x4dae91(0xf8)]());}function shouldAttachUpdateNotice(_0x1d5548){const _0xc07285=a308_0x11fd;if(_0x1d5548[_0xc07285(0x108)]===![])return![];return![_0xc07285(0xf5),_0xc07285(0x112),'doctor'][_0xc07285(0x128)](_0x1d5548['service']);}function withUpdateNotice(_0x412a6c){return{..._0x412a6c,async 'execute'(_0x1f902){const _0x29a5b6=a308_0x11fd,_0x1e6712=shouldResolveUpdateNotice(_0x1f902)?resolveLatestUpdateNotice()[_0x29a5b6(0xfd)](()=>null):Promise[_0x29a5b6(0x124)](null),_0x543a6f=await _0x412a6c[_0x29a5b6(0x13a)](_0x1f902);return attachUpdateNotice(_0x543a6f,await _0x1e6712);}};}function shouldResolveUpdateNotice(_0xb68a0d){const _0x393229=a308_0x11fd;return _0xb68a0d[_0x393229(0xed)]==='pretty'&&!_0xb68a0d['nonInteractive'];}function attachUpdateNotice(_0x64020a,_0x43c455){const _0x406397=a308_0x11fd;if(!_0x43c455||!_0x64020a||typeof _0x64020a!=='object')return _0x64020a;const _0x379339=_0x64020a,_0x37a947=typeof _0x379339[_0x406397(0x126)]===_0x406397(0x12b)&&_0x379339[_0x406397(0x126)]!==null?_0x379339['_notice']:{};return{..._0x379339,'_notice':{..._0x37a947,'update':_0x43c455}};}function a308_0x2411(){const _0x16515c=['required','\x20workspace\x20use\x20--app\x20<name>`.\x20Available:\x20','validation','schema','join','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','none','\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20','65tQCeQl','AI\x20Agents\x20and\x20automated\x20scripts\x20must\x20not\x20modify\x20riskLevel\x20or\x20attempt\x20to\x20elevate\x20it.','Edit\x20the\x20config\x20file\x20manually','riskLevel','resolveAppCode','Select\x20the\x20target\x20explicitly\x20with\x20--app\x20<profile>.','name','Available:\x20','find','confirmHighRisk','No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.','defaultApp','isNonInteractive','resolve','3TjWQIo','_notice','filter','includes','\x0a\x20\x20','RABETBASE_APPCODE','object','A\x20human\x20user\x20may\x20review\x20the\x20active\x20risk\x20ceilings\x20and\x20manually\x20edit\x20the\x20applicable\x20.rabetbase.json\x20file\x20to\x20set\x20riskLevel\x20to\x20\x22','keys','rejectedFlags','2343930WAmXoM','value','Use\x20--appcode,\x20add\x20the\x20app\x20to\x20the\x20project\x20workspace,\x20or\x20run\x20`','\x22\x20is\x20selected\x20but\x20not\x20defined\x20in\x20the\x20effective\x20project\x20apps.','message','\x22\x20belongs\x20to\x20multiple\x20app\x20profiles:\x20','cookie','2990097smVXDC','appcode','defaultPageSize','19428981JaxuBa','execute','command','map','resolveCookie','../core/api-client.js','10JYCftR','101857hCXpPh','apiDir','currentApp','trim','selectedAppName','format','appCode','774358AgAhud','mergedCli','264284HtWCTW','.\x20Use\x20--app/--appcode,\x20or\x20run\x20`','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','472SXylTJ','update','defaultVerbose','length','toUpperCase','cancelled','\x20\x20\x20Continue?\x20[y/N]\x20','replace','861422WnWHYJ','catch','AppCode\x20\x22','apps','formatOutput','rawFlags','⚠\x20\x20High-risk\x20operation:\x20','hint','explicitAppName','authRequired','some','entries','hasFormat','Current\x20resolved\x20appcode\x20is\x20\x22','configMissing','requiresAppCode','\x20config\x20delete\x20defaultApp`\x20to\x20repair\x20the\x20selection.','meowKey','High-risk\x20operation\x20`'];a308_0x2411=function(){return _0x16515c;};return a308_0x2411();}
@@ -1 +1 @@
1
- (function(_0x302c50,_0x1dfacf){const _0x852da0=a309_0x26c6,_0x2dbf9d=_0x302c50();while(!![]){try{const _0xb96b84=-parseInt(_0x852da0(0x176))/0x1*(-parseInt(_0x852da0(0x174))/0x2)+parseInt(_0x852da0(0x17a))/0x3+parseInt(_0x852da0(0x178))/0x4+parseInt(_0x852da0(0x173))/0x5+-parseInt(_0x852da0(0x177))/0x6+-parseInt(_0x852da0(0x17b))/0x7*(-parseInt(_0x852da0(0x172))/0x8)+-parseInt(_0x852da0(0x179))/0x9;if(_0xb96b84===_0x1dfacf)break;else _0x2dbf9d['push'](_0x2dbf9d['shift']());}catch(_0x141f1b){_0x2dbf9d['push'](_0x2dbf9d['shift']());}}}(a309_0x2c73,0xbbe95));import{buildSchemaPayload as a309_0x48ec19}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';function a309_0x2c73(){const _0x2e589c=['368yIGwNm','7027010uflAiL','666lNrVSt','../commands/registry.js','4361IBhjzU','8026884pnDjpP','5680116HTFuwa','29064294CkRfFb','627561wzdPbA','129353rNDtue'];a309_0x2c73=function(){return _0x2e589c;};return a309_0x2c73();}import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';function a309_0x26c6(_0xab5ef6,_0x16f207){_0xab5ef6=_0xab5ef6-0x172;const _0x2c73c7=a309_0x2c73();let _0x26c629=_0x2c73c7[_0xab5ef6];return _0x26c629;}export async function buildSchemaPayload(){const _0x593997=a309_0x26c6,{serviceRegistry:_0x10ed2f,findDefinition:_0x290a22}=await import(_0x593997(0x175));return a309_0x48ec19({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x10ed2f,'buildAllFlags':buildAllFlags,'findDefinition':_0x290a22});}
1
+ (function(_0x2d1005,_0x8d950f){const _0x263dda=a309_0x5dcc,_0x49bad2=_0x2d1005();while(!![]){try{const _0xeb2b33=-parseInt(_0x263dda(0xb6))/0x1*(-parseInt(_0x263dda(0xae))/0x2)+-parseInt(_0x263dda(0xb0))/0x3*(parseInt(_0x263dda(0xb8))/0x4)+-parseInt(_0x263dda(0xaf))/0x5+-parseInt(_0x263dda(0xb4))/0x6*(-parseInt(_0x263dda(0xb1))/0x7)+-parseInt(_0x263dda(0xb5))/0x8+parseInt(_0x263dda(0xb9))/0x9*(parseInt(_0x263dda(0xb7))/0xa)+parseInt(_0x263dda(0xb2))/0xb*(parseInt(_0x263dda(0xb3))/0xc);if(_0xeb2b33===_0x8d950f)break;else _0x49bad2['push'](_0x49bad2['shift']());}catch(_0x51e4bb){_0x49bad2['push'](_0x49bad2['shift']());}}}(a309_0x1935,0xc7989));function a309_0x1935(){const _0x201098=['216yTMhcH','../commands/registry.js','2598902LMYGYy','4472795SIyBou','153NURfVB','21gaIoZe','11ZhnQNI','28126188jrbEKt','1367406UByosF','11299344jPMIuC','1yerEuh','530WGhMUH','94412DqcCco'];a309_0x1935=function(){return _0x201098;};return a309_0x1935();}import{buildSchemaPayload as a309_0x5f0ebf}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';function a309_0x5dcc(_0x26206d,_0x5d6cd3){_0x26206d=_0x26206d-0xad;const _0x19357b=a309_0x1935();let _0x5dcc7d=_0x19357b[_0x26206d];return _0x5dcc7d;}export async function buildSchemaPayload(){const _0xade2ae=a309_0x5dcc,{serviceRegistry:_0x2ce2ee,findDefinition:_0x4f89b7}=await import(_0xade2ae(0xad));return a309_0x5f0ebf({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x2ce2ee,'buildAllFlags':buildAllFlags,'findDefinition':_0x4f89b7});}
@@ -1 +1 @@
1
- (function(_0x9f371b,_0xed3953){const _0x3d42f2=a310_0x1888,_0x4d5baf=_0x9f371b();while(!![]){try{const _0x413937=parseInt(_0x3d42f2(0x1f8))/0x1+parseInt(_0x3d42f2(0x1fc))/0x2*(parseInt(_0x3d42f2(0x1f9))/0x3)+-parseInt(_0x3d42f2(0x209))/0x4+-parseInt(_0x3d42f2(0x202))/0x5+-parseInt(_0x3d42f2(0x1f1))/0x6*(-parseInt(_0x3d42f2(0x208))/0x7)+parseInt(_0x3d42f2(0x1f7))/0x8+-parseInt(_0x3d42f2(0x1fe))/0x9;if(_0x413937===_0xed3953)break;else _0x4d5baf['push'](_0x4d5baf['shift']());}catch(_0x554be4){_0x4d5baf['push'](_0x4d5baf['shift']());}}}(a310_0xd18a,0x7f003));import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{CliErrors}from'../errors.js';export function assertSupportedCommandFlags(_0x3bf3cc,_0x533176){const _0x16cee5=a310_0x1888;if(!_0x3bf3cc[_0x16cee5(0x1ed)])return;const _0x4f5826=new Set([_0x16cee5(0x1ef),_0x16cee5(0x1ea)]),_0x278a43=GLOBAL_FLAGS['filter'](_0x1f0520=>PIPELINE_FLAG_NAMES[_0x16cee5(0x1f5)](_0x1f0520[_0x16cee5(0x1ee)]));for(const _0x8ef752 of[..._0x3bf3cc[_0x16cee5(0x1eb)],..._0x278a43]){addFlagCandidates(_0x4f5826,_0x8ef752);}for(const [_0x537850,_0x649f6a]of Object[_0x16cee5(0x1f0)](_0x533176)){if(!isExplicitValue(_0x649f6a)||_0x4f5826[_0x16cee5(0x1f5)](_0x537850))continue;const _0x2a81f5=GLOBAL_FLAGS[_0x16cee5(0x203)](_0x594e43=>_0x594e43[_0x16cee5(0x1fa)]===_0x537850)?.[_0x16cee5(0x1ee)]??toKebabCase(_0x537850);throw CliErrors[_0x16cee5(0x1f2)](_0x16cee5(0x1ff)+_0x2a81f5+_0x16cee5(0x205)+CLI_BIN_NAME+'\x20'+_0x3bf3cc[_0x16cee5(0x1f3)]+'\x20'+_0x3bf3cc[_0x16cee5(0x1f6)]+'`.',_0x16cee5(0x1fb)+CLI_BIN_NAME+'\x20'+_0x3bf3cc[_0x16cee5(0x1f3)]+'\x20'+_0x3bf3cc[_0x16cee5(0x1f6)]+_0x16cee5(0x1f4));}}function addFlagCandidates(_0xe9e1,_0x39d946){const _0x400470=a310_0x1888,_0x4796ab='meowKey'in _0x39d946?[_0x39d946['name'],_0x39d946['meowKey']]:[_0x39d946[_0x400470(0x1ee)],_0x39d946[_0x400470(0x1fd)]];for(const _0xb05d28 of _0x4796ab){if(!_0xb05d28)continue;_0xe9e1[_0x400470(0x207)](_0xb05d28),_0xe9e1['add'](toCamelCase(_0xb05d28));}}function isExplicitValue(_0x3f9809){const _0x2fb307=a310_0x1888;return _0x3f9809!==undefined&&_0x3f9809!==null&&_0x3f9809!==![]&&(!Array[_0x2fb307(0x206)](_0x3f9809)||_0x3f9809[_0x2fb307(0x1ec)]>0x0);}function toCamelCase(_0x2b777f){const _0x4d6fb0=a310_0x1888;return _0x2b777f[_0x4d6fb0(0x200)](/-([a-z])/g,(_0x2b924b,_0x4f15d4)=>_0x4f15d4[_0x4d6fb0(0x204)]());}function a310_0x1888(_0x4524e7,_0x9a521e){_0x4524e7=_0x4524e7-0x1ea;const _0xd18a0b=a310_0xd18a();let _0x188871=_0xd18a0b[_0x4524e7];return _0x188871;}function toKebabCase(_0x2aaecb){const _0x14ae1a=a310_0x1888;return _0x2aaecb[_0x14ae1a(0x200)](/([a-z0-9])([A-Z])/g,_0x14ae1a(0x201))['toLowerCase']();}function a310_0xd18a(){const _0x2fbda3=['Unsupported\x20flag\x20--','replace','$1-$2','1615705mziXPL','find','toUpperCase','\x20for\x20`','isArray','add','1246ObGeQK','3923608ctaPJm','version','flags','length','strictFlags','name','help','entries','31470PNzWDB','validation','service','\x20--help`\x20to\x20view\x20the\x20current\x20command\x20contract.','has','command','2774552TpvKeA','857119ceKtqz','3jnIuCl','meowKey','Run\x20`','959742iLacfP','alias','7138629OBdSCQ'];a310_0xd18a=function(){return _0x2fbda3;};return a310_0xd18a();}
1
+ (function(_0x2f8e1c,_0x3070cb){const _0x349ea7=a310_0x10b7,_0x3769e1=_0x2f8e1c();while(!![]){try{const _0x111927=-parseInt(_0x349ea7(0x125))/0x1*(parseInt(_0x349ea7(0x124))/0x2)+-parseInt(_0x349ea7(0x117))/0x3*(-parseInt(_0x349ea7(0x11a))/0x4)+-parseInt(_0x349ea7(0x122))/0x5+parseInt(_0x349ea7(0x10d))/0x6*(-parseInt(_0x349ea7(0x112))/0x7)+-parseInt(_0x349ea7(0x108))/0x8+parseInt(_0x349ea7(0x118))/0x9*(parseInt(_0x349ea7(0x127))/0xa)+-parseInt(_0x349ea7(0x11b))/0xb*(-parseInt(_0x349ea7(0x114))/0xc);if(_0x111927===_0x3070cb)break;else _0x3769e1['push'](_0x3769e1['shift']());}catch(_0xcdf995){_0x3769e1['push'](_0x3769e1['shift']());}}}(a310_0x4c79,0x31bc2));import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{CliErrors}from'../errors.js';export function assertSupportedCommandFlags(_0x50c215,_0x5d0efb){const _0x4b74f9=a310_0x10b7;if(!_0x50c215[_0x4b74f9(0x10e)])return;const _0x48c9d5=new Set([_0x4b74f9(0x11c),_0x4b74f9(0x120)]),_0x38fbff=GLOBAL_FLAGS[_0x4b74f9(0x109)](_0x3b7d0b=>PIPELINE_FLAG_NAMES[_0x4b74f9(0x10a)](_0x3b7d0b[_0x4b74f9(0x126)]));for(const _0x168910 of[..._0x50c215[_0x4b74f9(0x116)],..._0x38fbff]){addFlagCandidates(_0x48c9d5,_0x168910);}for(const [_0x2757ef,_0x14baff]of Object[_0x4b74f9(0x119)](_0x5d0efb)){if(!isExplicitValue(_0x14baff)||_0x48c9d5[_0x4b74f9(0x10a)](_0x2757ef))continue;const _0x3469c0=GLOBAL_FLAGS[_0x4b74f9(0x10b)](_0xb2844b=>_0xb2844b[_0x4b74f9(0x113)]===_0x2757ef)?.['name']??toKebabCase(_0x2757ef);throw CliErrors[_0x4b74f9(0x111)]('Unsupported\x20flag\x20--'+_0x3469c0+_0x4b74f9(0x121)+CLI_BIN_NAME+'\x20'+_0x50c215[_0x4b74f9(0x11f)]+'\x20'+_0x50c215[_0x4b74f9(0x115)]+'`.','Run\x20`'+CLI_BIN_NAME+'\x20'+_0x50c215['service']+'\x20'+_0x50c215[_0x4b74f9(0x115)]+_0x4b74f9(0x110));}}function a310_0x4c79(){const _0x56838e=['alias','1446840KrAhyE','filter','has','find','$1-$2','2202UvoGMv','strictFlags','add','\x20--help`\x20to\x20view\x20the\x20current\x20command\x20contract.','validation','3857JcrDWA','meowKey','198540IVBulv','command','flags','3hUVhBT','2637TSqvZr','entries','1618684XWpekh','484uZEfCM','help','isArray','replace','service','version','\x20for\x20`','1646820PklBFw','length','13324NQjGcr','46DMapoG','name','3070PyRoEJ'];a310_0x4c79=function(){return _0x56838e;};return a310_0x4c79();}function addFlagCandidates(_0x4ebaeb,_0x34ca96){const _0x49c3aa=a310_0x10b7,_0xc590b7=_0x49c3aa(0x113)in _0x34ca96?[_0x34ca96['name'],_0x34ca96[_0x49c3aa(0x113)]]:[_0x34ca96[_0x49c3aa(0x126)],_0x34ca96[_0x49c3aa(0x128)]];for(const _0x3d9a58 of _0xc590b7){if(!_0x3d9a58)continue;_0x4ebaeb[_0x49c3aa(0x10f)](_0x3d9a58),_0x4ebaeb[_0x49c3aa(0x10f)](toCamelCase(_0x3d9a58));}}function isExplicitValue(_0x23a548){const _0x1a00fc=a310_0x10b7;return _0x23a548!==undefined&&_0x23a548!==null&&_0x23a548!==![]&&(!Array[_0x1a00fc(0x11d)](_0x23a548)||_0x23a548[_0x1a00fc(0x123)]>0x0);}function toCamelCase(_0x242543){const _0x590ec9=a310_0x10b7;return _0x242543[_0x590ec9(0x11e)](/-([a-z])/g,(_0x309ad2,_0x4ee5ba)=>_0x4ee5ba['toUpperCase']());}function a310_0x10b7(_0x153f88,_0x37a64b){_0x153f88=_0x153f88-0x108;const _0x4c79ac=a310_0x4c79();let _0x10b72a=_0x4c79ac[_0x153f88];return _0x10b72a;}function toKebabCase(_0x47c9cc){const _0x33a8a7=a310_0x10b7;return _0x47c9cc['replace'](/([a-z0-9])([A-Z])/g,_0x33a8a7(0x10c))['toLowerCase']();}
@@ -1 +1 @@
1
- (function(_0x1674a9,_0x4e9722){var _0xf903ad=a311_0x2cac,_0x13e4ac=_0x1674a9();while(!![]){try{var _0x126b2d=parseInt(_0xf903ad(0x18e))/0x1+-parseInt(_0xf903ad(0x192))/0x2*(parseInt(_0xf903ad(0x193))/0x3)+-parseInt(_0xf903ad(0x196))/0x4+-parseInt(_0xf903ad(0x190))/0x5*(-parseInt(_0xf903ad(0x194))/0x6)+-parseInt(_0xf903ad(0x18f))/0x7*(parseInt(_0xf903ad(0x197))/0x8)+parseInt(_0xf903ad(0x191))/0x9+-parseInt(_0xf903ad(0x195))/0xa;if(_0x126b2d===_0x4e9722)break;else _0x13e4ac['push'](_0x13e4ac['shift']());}catch(_0x4c50ca){_0x13e4ac['push'](_0x13e4ac['shift']());}}}(a311_0x4f47,0x29596));function a311_0x2cac(_0x8ba16f,_0x3f7abd){_0x8ba16f=_0x8ba16f-0x18e;var _0x4f470b=a311_0x4f47();var _0x2cac95=_0x4f470b[_0x8ba16f];return _0x2cac95;}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';function a311_0x4f47(){var _0x34a346=['1705520JAmUqs','211716fOmhLm','136sHkYHN','307300dtrvol','61411ZqUAzn','10pFhNlq','1257498nwCmOL','84EqhTzd','16359tCUqzg','971976QGdjMH'];a311_0x4f47=function(){return _0x34a346;};return a311_0x4f47();}
1
+ (function(_0x1a8dc4,_0x16f9cb){var _0x2f988a=a311_0x4668,_0x3e1918=_0x1a8dc4();while(!![]){try{var _0x5cbac6=parseInt(_0x2f988a(0xc8))/0x1+parseInt(_0x2f988a(0xc9))/0x2+-parseInt(_0x2f988a(0xca))/0x3+parseInt(_0x2f988a(0xcc))/0x4*(parseInt(_0x2f988a(0xc7))/0x5)+parseInt(_0x2f988a(0xc4))/0x6+parseInt(_0x2f988a(0xcb))/0x7*(parseInt(_0x2f988a(0xc3))/0x8)+-parseInt(_0x2f988a(0xc6))/0x9*(parseInt(_0x2f988a(0xc5))/0xa);if(_0x5cbac6===_0x16f9cb)break;else _0x3e1918['push'](_0x3e1918['shift']());}catch(_0x32909f){_0x3e1918['push'](_0x3e1918['shift']());}}}(a311_0x25c6,0x7fad8));export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';function a311_0x4668(_0x1cca58,_0x23bea3){_0x1cca58=_0x1cca58-0xc3;var _0x25c69f=a311_0x25c6();var _0x46685f=_0x25c69f[_0x1cca58];return _0x46685f;}function a311_0x25c6(){var _0x3e66b8=['144iVCYoN','35430jKiIxa','48829XYcuSR','1695318dHFgVx','1908009vvHiuF','2681WVAGsv','24JpODfS','2264NpbnTx','4524540CjYDQE','401570VNWHrC'];a311_0x25c6=function(){return _0x3e66b8;};return a311_0x25c6();}
@@ -1,4 +1,4 @@
1
- export declare const VERSION = "2.5.4-beta.3";
2
- export declare const GIT_TAG = "v2.5.4-beta.3";
3
- export declare const GIT_COMMIT = "4665e009";
4
- export declare const BUILD_TIME = "2026-09-22T03:07:39.056Z";
1
+ export declare const VERSION = "2.5.4-beta.4";
2
+ export declare const GIT_TAG = "v2.5.4-beta.4";
3
+ export declare const GIT_COMMIT = "18d4c36c";
4
+ export declare const BUILD_TIME = "2026-09-24T04:16:41.101Z";
@@ -1 +1 @@
1
- const a312_0x2b6d19=a312_0x59ca;(function(_0x3b56e6,_0x42f8d9){const _0x498db1=a312_0x59ca,_0x401b07=_0x3b56e6();while(!![]){try{const _0x7cfb08=parseInt(_0x498db1(0x18a))/0x1+-parseInt(_0x498db1(0x182))/0x2+-parseInt(_0x498db1(0x187))/0x3+parseInt(_0x498db1(0x18c))/0x4+parseInt(_0x498db1(0x18d))/0x5*(parseInt(_0x498db1(0x186))/0x6)+parseInt(_0x498db1(0x184))/0x7*(-parseInt(_0x498db1(0x18e))/0x8)+-parseInt(_0x498db1(0x188))/0x9*(-parseInt(_0x498db1(0x189))/0xa);if(_0x7cfb08===_0x42f8d9)break;else _0x401b07['push'](_0x401b07['shift']());}catch(_0x38e0f0){_0x401b07['push'](_0x401b07['shift']());}}}(a312_0x2776,0xa4ccb));function a312_0x59ca(_0x1f9dea,_0x34a38d){_0x1f9dea=_0x1f9dea-0x182;const _0x277635=a312_0x2776();let _0x59ca57=_0x277635[_0x1f9dea];return _0x59ca57;}function a312_0x2776(){const _0x308982=['153ZhJQhG','584470cWRIsM','1228788rNRsSY','4665e009','2587684oRswUQ','165taKrty','1660816LcdlBn','1363674nvnuWe','v2.5.4-beta.3','14SfVHqz','2.5.4-beta.3','4506vpzgRQ','3366093IsuLkr'];a312_0x2776=function(){return _0x308982;};return a312_0x2776();}export const VERSION=a312_0x2b6d19(0x185);export const GIT_TAG=a312_0x2b6d19(0x183);export const GIT_COMMIT=a312_0x2b6d19(0x18b);export const BUILD_TIME='2026-09-22T03:07:39.056Z';
1
+ const a312_0x43a638=a312_0x41a6;(function(_0x39f5db,_0x4b75b0){const _0x374fa1=a312_0x41a6,_0x1134e6=_0x39f5db();while(!![]){try{const _0x3ad58b=parseInt(_0x374fa1(0x9c))/0x1*(-parseInt(_0x374fa1(0x9d))/0x2)+-parseInt(_0x374fa1(0xa3))/0x3+parseInt(_0x374fa1(0x98))/0x4*(-parseInt(_0x374fa1(0x9a))/0x5)+-parseInt(_0x374fa1(0xa0))/0x6*(parseInt(_0x374fa1(0x9b))/0x7)+parseInt(_0x374fa1(0x9e))/0x8+parseInt(_0x374fa1(0x99))/0x9+parseInt(_0x374fa1(0xa4))/0xa*(parseInt(_0x374fa1(0xa5))/0xb);if(_0x3ad58b===_0x4b75b0)break;else _0x1134e6['push'](_0x1134e6['shift']());}catch(_0xdea4b1){_0x1134e6['push'](_0x1134e6['shift']());}}}(a312_0x2cbb,0x9c080));export const VERSION='2.5.4-beta.4';export const GIT_TAG=a312_0x43a638(0xa2);function a312_0x41a6(_0x46b066,_0x5eb851){_0x46b066=_0x46b066-0x98;const _0x2cbb65=a312_0x2cbb();let _0x41a6e4=_0x2cbb65[_0x46b066];return _0x41a6e4;}export const GIT_COMMIT=a312_0x43a638(0x9f);export const BUILD_TIME=a312_0x43a638(0xa1);function a312_0x2cbb(){const _0xa8e920=['29544kCzJCu','2026-09-24T04:16:41.101Z','v2.5.4-beta.4','2378463rMyglB','17381590NOwqkH','11NXwgVW','4kZBRtZ','3539286PHTHsQ','2269885qkMtwp','14SmYOwi','867589xtLZEJ','2PTbIhz','5055408iwsFGD','18d4c36c'];a312_0x2cbb=function(){return _0xa8e920;};return a312_0x2cbb();}
@@ -1 +1 @@
1
- const a313_0x4ee4f6=a313_0x1993;(function(_0x4e54ab,_0x45b5ac){const _0x22a300=a313_0x1993,_0x3189be=_0x4e54ab();while(!![]){try{const _0x3e75b0=-parseInt(_0x22a300(0x1b0))/0x1+-parseInt(_0x22a300(0x1a9))/0x2*(parseInt(_0x22a300(0x198))/0x3)+parseInt(_0x22a300(0x1a6))/0x4*(-parseInt(_0x22a300(0x187))/0x5)+-parseInt(_0x22a300(0x194))/0x6*(parseInt(_0x22a300(0x18f))/0x7)+parseInt(_0x22a300(0x1b7))/0x8+parseInt(_0x22a300(0x1b3))/0x9*(-parseInt(_0x22a300(0x19a))/0xa)+-parseInt(_0x22a300(0x1a2))/0xb*(-parseInt(_0x22a300(0x19c))/0xc);if(_0x3e75b0===_0x45b5ac)break;else _0x3189be['push'](_0x3189be['shift']());}catch(_0x2ee182){_0x3189be['push'](_0x3189be['shift']());}}}(a313_0x1bd6,0xc68b8));export const ROUTING_CATALOG_DIGEST=a313_0x4ee4f6(0x199);function a313_0x1bd6(){const _0x450f74=['Mainland\x20China','1082XdUaLi','https://skills-daily.lovrabet.ai','https://user-daily.lovrabet.ai','https://daily-runtime.lovrabet.com','https://skills.lovrabet.id','https://user.lovrabet.com','Indonesia','579869FtMSsI','https://dev.lovrabet.com','https://kb-service.lovrabet.com','20322pbJHuA','https://kb-service.lovrabet.id','https://daily-api.lovrabet.com','https://g.lovrabet.com','10345512vQAqEU','25pFcuzN','https://app.lovrabet.ai','https://user-daily.lovrabet.com','https://g.lovrabet.id','https://dev.lovrabet.id','https://skills-daily.lovrabet.com','https://runtime.lovrabet.ai','https://daily.lovrabet.com','9019878eCJISq','https://g.lovrabet.ai','https://app.lovrabet.com','https://api.lovrabet.ai','https://runtime.lovrabet.id','6PJPepY','https://runtime.lovrabet.com','https://skills.lovrabet.com','https://api.lovrabet.com','5097hpyGBI','57d346b80b12ca567af9d86dd7f8c02a0c27fe15d4944c8345add2cc6134c587','170JLzlRj','https://cdnjs.cloudflare.com/ajax/libs','43154508ttmKPy','https://daily.lovrabet.ai','https://dev.lovrabet.ai','global','https://api.lovrabet.id','https://daily-runtime.lovrabet.ai','11FaoyTq','https://app.lovrabet.id','https://daily-api.lovrabet.ai','china','1000152YEitmW','https://user.lovrabet.id'];a313_0x1bd6=function(){return _0x450f74;};return a313_0x1bd6();}export const DEFAULT_REGION='cn';export const REGION_VALUES=['cn','id',a313_0x4ee4f6(0x19f)];export const ENABLED_REGION_VALUES=['cn','id',a313_0x4ee4f6(0x19f)];function a313_0x1993(_0x2fa17b,_0x629bcd){_0x2fa17b=_0x2fa17b-0x187;const _0x1bd64b=a313_0x1bd6();let _0x19936a=_0x1bd64b[_0x2fa17b];return _0x19936a;}export const OFFICIAL_ROUTING_PROFILES={'cn':{'enabled':!![],'label':a313_0x4ee4f6(0x1a8),'aliases':[a313_0x4ee4f6(0x1a5)],'serviceDomains':{'production':{'user':a313_0x4ee4f6(0x1ae),'api':'https://api.lovrabet.com','runtime':a313_0x4ee4f6(0x195),'skill':a313_0x4ee4f6(0x196),'kb':a313_0x4ee4f6(0x197),'kbService':a313_0x4ee4f6(0x1b2),'app':a313_0x4ee4f6(0x191)},'daily':{'user':a313_0x4ee4f6(0x189),'api':a313_0x4ee4f6(0x1b5),'runtime':a313_0x4ee4f6(0x1ac),'skill':a313_0x4ee4f6(0x18c),'kb':'https://daily-api.lovrabet.com','kbService':'https://kb-service-daily.lovrabet.com','app':a313_0x4ee4f6(0x18e)}},'cdn':{'libraries':'https://g.alicdn.com/code/lib','lovrabet':a313_0x4ee4f6(0x1b6)},'local':{'origin':a313_0x4ee4f6(0x1b1)}},'id':{'enabled':!![],'label':a313_0x4ee4f6(0x1af),'aliases':['indonesia'],'serviceDomains':{'production':{'user':a313_0x4ee4f6(0x1a7),'api':a313_0x4ee4f6(0x1a0),'runtime':a313_0x4ee4f6(0x193),'skill':a313_0x4ee4f6(0x1ad),'kb':a313_0x4ee4f6(0x1a0),'kbService':a313_0x4ee4f6(0x1b4),'app':a313_0x4ee4f6(0x1a3)}},'cdn':{'libraries':a313_0x4ee4f6(0x19b),'lovrabet':a313_0x4ee4f6(0x18a)},'local':{'origin':a313_0x4ee4f6(0x18b)}},'global':{'enabled':!![],'label':'Global','aliases':[],'serviceDomains':{'production':{'user':'https://user.lovrabet.ai','api':'https://api.lovrabet.ai','runtime':a313_0x4ee4f6(0x18d),'skill':'https://skills.lovrabet.ai','kb':a313_0x4ee4f6(0x192),'app':a313_0x4ee4f6(0x188)},'daily':{'user':a313_0x4ee4f6(0x1ab),'api':a313_0x4ee4f6(0x1a4),'runtime':a313_0x4ee4f6(0x1a1),'skill':a313_0x4ee4f6(0x1aa),'kb':a313_0x4ee4f6(0x1a4),'app':a313_0x4ee4f6(0x19d)}},'cdn':{'libraries':a313_0x4ee4f6(0x19b),'lovrabet':a313_0x4ee4f6(0x190)},'local':{'origin':a313_0x4ee4f6(0x19e)}}};export const REGION_ALIASES={'china':'cn','indonesia':'id'};
1
+ const a313_0x2656ff=a313_0x46eb;(function(_0x46d345,_0x5b94bb){const _0x5c6dff=a313_0x46eb,_0x15b1f1=_0x46d345();while(!![]){try{const _0x1733f1=-parseInt(_0x5c6dff(0xb5))/0x1+-parseInt(_0x5c6dff(0xb7))/0x2*(parseInt(_0x5c6dff(0xb3))/0x3)+-parseInt(_0x5c6dff(0xd3))/0x4+-parseInt(_0x5c6dff(0xc0))/0x5+-parseInt(_0x5c6dff(0xc7))/0x6+parseInt(_0x5c6dff(0xc9))/0x7*(parseInt(_0x5c6dff(0xb8))/0x8)+parseInt(_0x5c6dff(0xb0))/0x9;if(_0x1733f1===_0x5b94bb)break;else _0x15b1f1['push'](_0x15b1f1['shift']());}catch(_0x4e4ef3){_0x15b1f1['push'](_0x15b1f1['shift']());}}}(a313_0x189d,0x1ffd2));export const ROUTING_CATALOG_DIGEST=a313_0x2656ff(0xbc);function a313_0x189d(){const _0x4428cd=['https://api.lovrabet.com','https://user-daily.lovrabet.com','https://daily-api.lovrabet.ai','https://api.lovrabet.id','https://daily.lovrabet.com','6940125IKLtTv','https://app.lovrabet.ai','https://skills-daily.lovrabet.com','162ABmhFN','https://daily-runtime.lovrabet.com','208614NlxTDB','https://daily-api.lovrabet.com','8682hHSslF','497784QOuAVC','Indonesia','https://skills-daily.lovrabet.ai','https://kb-service.lovrabet.id','57d346b80b12ca567af9d86dd7f8c02a0c27fe15d4944c8345add2cc6134c587','https://dev.lovrabet.ai','https://app.lovrabet.id','https://user.lovrabet.ai','487015iyrfYJ','https://api.lovrabet.ai','https://skills.lovrabet.com','https://daily.lovrabet.ai','https://daily-runtime.lovrabet.ai','indonesia','Global','1355490YQxkZa','global','21LJlMdF','https://user-daily.lovrabet.ai','https://g.lovrabet.ai','https://g.lovrabet.id','https://runtime.lovrabet.id','https://dev.lovrabet.com','https://dev.lovrabet.id','https://g.lovrabet.com','https://g.alicdn.com/code/lib','https://user.lovrabet.com','241688NfEpag','https://kb-service-daily.lovrabet.com','https://cdnjs.cloudflare.com/ajax/libs'];a313_0x189d=function(){return _0x4428cd;};return a313_0x189d();}export const DEFAULT_REGION='cn';function a313_0x46eb(_0x209f29,_0x1096c5){_0x209f29=_0x209f29-0xab;const _0x189d83=a313_0x189d();let _0x46eb8e=_0x189d83[_0x209f29];return _0x46eb8e;}export const REGION_VALUES=['cn','id',a313_0x2656ff(0xc8)];export const ENABLED_REGION_VALUES=['cn','id',a313_0x2656ff(0xc8)];export const OFFICIAL_ROUTING_PROFILES={'cn':{'enabled':!![],'label':'Mainland\x20China','aliases':['china'],'serviceDomains':{'production':{'user':a313_0x2656ff(0xd2),'api':a313_0x2656ff(0xab),'runtime':'https://runtime.lovrabet.com','skill':a313_0x2656ff(0xc2),'kb':a313_0x2656ff(0xab),'kbService':'https://kb-service.lovrabet.com','app':'https://app.lovrabet.com'},'daily':{'user':a313_0x2656ff(0xac),'api':a313_0x2656ff(0xb6),'runtime':a313_0x2656ff(0xb4),'skill':a313_0x2656ff(0xb2),'kb':a313_0x2656ff(0xb6),'kbService':a313_0x2656ff(0xd4),'app':a313_0x2656ff(0xaf)}},'cdn':{'libraries':a313_0x2656ff(0xd1),'lovrabet':a313_0x2656ff(0xd0)},'local':{'origin':a313_0x2656ff(0xce)}},'id':{'enabled':!![],'label':a313_0x2656ff(0xb9),'aliases':[a313_0x2656ff(0xc5)],'serviceDomains':{'production':{'user':'https://user.lovrabet.id','api':a313_0x2656ff(0xae),'runtime':a313_0x2656ff(0xcd),'skill':'https://skills.lovrabet.id','kb':a313_0x2656ff(0xae),'kbService':a313_0x2656ff(0xbb),'app':a313_0x2656ff(0xbe)}},'cdn':{'libraries':a313_0x2656ff(0xd5),'lovrabet':a313_0x2656ff(0xcc)},'local':{'origin':a313_0x2656ff(0xcf)}},'global':{'enabled':!![],'label':a313_0x2656ff(0xc6),'aliases':[],'serviceDomains':{'production':{'user':a313_0x2656ff(0xbf),'api':'https://api.lovrabet.ai','runtime':'https://runtime.lovrabet.ai','skill':'https://skills.lovrabet.ai','kb':a313_0x2656ff(0xc1),'app':a313_0x2656ff(0xb1)},'daily':{'user':a313_0x2656ff(0xca),'api':a313_0x2656ff(0xad),'runtime':a313_0x2656ff(0xc4),'skill':a313_0x2656ff(0xba),'kb':'https://daily-api.lovrabet.ai','app':a313_0x2656ff(0xc3)}},'cdn':{'libraries':'https://cdnjs.cloudflare.com/ajax/libs','lovrabet':a313_0x2656ff(0xcb)},'local':{'origin':a313_0x2656ff(0xbd)}}};export const REGION_ALIASES={'china':'cn','indonesia':'id'};
@@ -1 +1 @@
1
- const a314_0x518c28=a314_0x1c24;function a314_0x4ac6(){const _0x329f53=['1299803dbjJNo','a03fe188b2b34518efc5668666c0001d20354882cd7dd70afec902dffe1329c3','4321276PTwrfX','27CwmZus','3SqpbJG','lovrabet-routing/v1','8754042EhFhFy','userDomain','511BROplK','2017974FzUpMo','10AlBCVE','enterprise','appDomain','runtimeDomain','33608BsmtWd','libraries','2490010QWfGRv','lovrabet','skillDomain','kbDomain','localDomain','151232KyYEFW','kbServiceDomain','apiDomain'];a314_0x4ac6=function(){return _0x329f53;};return a314_0x4ac6();}(function(_0x4d98aa,_0x36d214){const _0x419177=a314_0x1c24,_0x236526=_0x4d98aa();while(!![]){try{const _0x5b602c=parseInt(_0x419177(0xa3))/0x1+-parseInt(_0x419177(0xa0))/0x2*(-parseInt(_0x419177(0xa7))/0x3)+-parseInt(_0x419177(0xa5))/0x4+-parseInt(_0x419177(0x95))/0x5*(-parseInt(_0x419177(0x94))/0x6)+parseInt(_0x419177(0x93))/0x7*(-parseInt(_0x419177(0x99))/0x8)+-parseInt(_0x419177(0xa6))/0x9*(parseInt(_0x419177(0x9b))/0xa)+parseInt(_0x419177(0x91))/0xb;if(_0x5b602c===_0x36d214)break;else _0x236526['push'](_0x236526['shift']());}catch(_0x1e52e5){_0x236526['push'](_0x236526['shift']());}}}(a314_0x4ac6,0xad510));export const ENTERPRISE_ROUTING_SCHEMA_DIGEST=a314_0x518c28(0xa4);function a314_0x1c24(_0x3e8a7f,_0x28738b){_0x3e8a7f=_0x3e8a7f-0x90;const _0x4ac6c3=a314_0x4ac6();let _0x1c2455=_0x4ac6c3[_0x3e8a7f];return _0x1c2455;}export const ENTERPRISE_ROUTING_PROTOCOL=a314_0x518c28(0x90);export const ENTERPRISE_ROUTING_KIND=a314_0x518c28(0x96);export const ENTERPRISE_ROUTING_DOMAIN_FIELDS=['userDomain',a314_0x518c28(0xa2),a314_0x518c28(0x98),a314_0x518c28(0x9d),a314_0x518c28(0x9e),a314_0x518c28(0xa1),a314_0x518c28(0x97),a314_0x518c28(0x9f),'certificateDomain'];export const REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS=[a314_0x518c28(0x92),'apiDomain',a314_0x518c28(0x98),a314_0x518c28(0x9d),a314_0x518c28(0x9e),'appDomain'];export const ENTERPRISE_ROUTING_CDN_FIELDS=['libraries',a314_0x518c28(0x9c)];export const REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS=[a314_0x518c28(0x9a),a314_0x518c28(0x9c)];
1
+ const a314_0x155f77=a314_0x40e5;(function(_0x44ac1f,_0x3670e6){const _0x5e7fa6=a314_0x40e5,_0x2c9c4b=_0x44ac1f();while(!![]){try{const _0x304784=parseInt(_0x5e7fa6(0xc5))/0x1*(-parseInt(_0x5e7fa6(0xc3))/0x2)+parseInt(_0x5e7fa6(0xc4))/0x3+parseInt(_0x5e7fa6(0xcb))/0x4*(parseInt(_0x5e7fa6(0xca))/0x5)+-parseInt(_0x5e7fa6(0xb9))/0x6+-parseInt(_0x5e7fa6(0xbc))/0x7*(parseInt(_0x5e7fa6(0xc1))/0x8)+-parseInt(_0x5e7fa6(0xc8))/0x9+parseInt(_0x5e7fa6(0xc0))/0xa;if(_0x304784===_0x3670e6)break;else _0x2c9c4b['push'](_0x2c9c4b['shift']());}catch(_0x3f22bb){_0x2c9c4b['push'](_0x2c9c4b['shift']());}}}(a314_0x1acd,0x544fb));export const ENTERPRISE_ROUTING_SCHEMA_DIGEST=a314_0x155f77(0xcc);export const ENTERPRISE_ROUTING_PROTOCOL='lovrabet-routing/v1';export const ENTERPRISE_ROUTING_KIND=a314_0x155f77(0xbd);export const ENTERPRISE_ROUTING_DOMAIN_FIELDS=['userDomain','apiDomain',a314_0x155f77(0xbb),a314_0x155f77(0xbf),a314_0x155f77(0xc2),'kbServiceDomain',a314_0x155f77(0xc9),a314_0x155f77(0xc6),a314_0x155f77(0xc7)];export const REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS=[a314_0x155f77(0xb8),a314_0x155f77(0xbe),a314_0x155f77(0xbb),a314_0x155f77(0xbf),a314_0x155f77(0xc2),a314_0x155f77(0xc9)];function a314_0x40e5(_0x417073,_0x20ecd7){_0x417073=_0x417073-0xb8;const _0x1acdb6=a314_0x1acd();let _0x40e58c=_0x1acdb6[_0x417073];return _0x40e58c;}export const ENTERPRISE_ROUTING_CDN_FIELDS=['libraries','lovrabet'];function a314_0x1acd(){const _0xa41ba0=['libraries','runtimeDomain','170863AauNtc','enterprise','apiDomain','skillDomain','9516150VIZTXC','56WfAfgA','kbDomain','113548DSFdvD','1249725eYXAmO','8jngvnb','localDomain','certificateDomain','2380149DoEFcP','appDomain','1112755MmBaiB','8TflMoP','a03fe188b2b34518efc5668666c0001d20354882cd7dd70afec902dffe1329c3','userDomain','3470622TLvcHQ'];a314_0x1acd=function(){return _0xa41ba0;};return a314_0x1acd();}export const REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS=[a314_0x155f77(0xba),'lovrabet'];
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- (function(_0x18c62a,_0x12200b){var _0x1f23f8=a315_0x5f3e,_0x2942e9=_0x18c62a();while(!![]){try{var _0x4b270c=parseInt(_0x1f23f8(0x1dc))/0x1*(-parseInt(_0x1f23f8(0x1d1))/0x2)+parseInt(_0x1f23f8(0x1dd))/0x3*(-parseInt(_0x1f23f8(0x1d7))/0x4)+parseInt(_0x1f23f8(0x1d9))/0x5*(parseInt(_0x1f23f8(0x1d6))/0x6)+parseInt(_0x1f23f8(0x1d2))/0x7+parseInt(_0x1f23f8(0x1da))/0x8*(-parseInt(_0x1f23f8(0x1df))/0x9)+-parseInt(_0x1f23f8(0x1d0))/0xa+parseInt(_0x1f23f8(0x1de))/0xb;if(_0x4b270c===_0x12200b)break;else _0x2942e9['push'](_0x2942e9['shift']());}catch(_0x2c4547){_0x2942e9['push'](_0x2942e9['shift']());}}}(a315_0x1e08,0x9cd29));function a315_0x1e08(){var _0x2aaa07=['716fbUhgn','\x20to\x20view\x20available\x20commands.','568080wDRuYp','197112sIinWT','\x20--help','611jpifwf','18102lzIfpQ','19548122SehuDu','171vapslF','green','7603540sZxnWi','2630DJlUXa','7478527gqAVZD','\x20\x20Use\x20','bold','log','48ZtgENO'];a315_0x1e08=function(){return _0x2aaa07;};return a315_0x1e08();}import a315_0x5c5138 from'chalk';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';function a315_0x5f3e(_0x38094d,_0x2f5334){_0x38094d=_0x38094d-0x1cf;var _0x1e0807=a315_0x1e08();var _0x5f3ed7=_0x1e0807[_0x38094d];return _0x5f3ed7;}export function showHelp(){var _0x492cc0=a315_0x5f3e;console[_0x492cc0(0x1d5)](),console[_0x492cc0(0x1d5)](a315_0x5c5138[_0x492cc0(0x1cf)][_0x492cc0(0x1d4)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x492cc0(0x1d5)](),console[_0x492cc0(0x1d5)](_0x492cc0(0x1d3)+a315_0x5c5138[_0x492cc0(0x1cf)]['bold'](CLI_BIN_NAME+_0x492cc0(0x1db))+_0x492cc0(0x1d8)),console[_0x492cc0(0x1d5)]();}
1
+ (function(_0x5d8e37,_0xe7c5c){var _0x16de60=a315_0x1da5,_0x119c7e=_0x5d8e37();while(!![]){try{var _0x44e18b=-parseInt(_0x16de60(0x79))/0x1+parseInt(_0x16de60(0x7a))/0x2+parseInt(_0x16de60(0x6f))/0x3*(parseInt(_0x16de60(0x6d))/0x4)+parseInt(_0x16de60(0x6c))/0x5*(parseInt(_0x16de60(0x78))/0x6)+-parseInt(_0x16de60(0x75))/0x7+-parseInt(_0x16de60(0x72))/0x8+parseInt(_0x16de60(0x74))/0x9*(parseInt(_0x16de60(0x76))/0xa);if(_0x44e18b===_0xe7c5c)break;else _0x119c7e['push'](_0x119c7e['shift']());}catch(_0x5422bb){_0x119c7e['push'](_0x119c7e['shift']());}}}(a315_0x5d9d,0x3562f));function a315_0x1da5(_0x3ae458,_0x17153d){_0x3ae458=_0x3ae458-0x6b;var _0x5d9d2c=a315_0x5d9d();var _0x1da54a=_0x5d9d2c[_0x3ae458];return _0x1da54a;}import a315_0x97c6ea from'chalk';function a315_0x5d9d(){var _0x48969a=['log','9GhfveX','1429211uljyHw','6991790NBOcDo','\x20--help','90366gxTMxp','362836XMiuWx','139004qsJjee','\x20to\x20view\x20available\x20commands.','10lJnwFI','223140Iomvtt','bold','6ffxxOR','\x20\x20Use\x20','green','997544VwAKUl'];a315_0x5d9d=function(){return _0x48969a;};return a315_0x5d9d();}import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0x459203=a315_0x1da5;console['log'](),console[_0x459203(0x73)](a315_0x97c6ea[_0x459203(0x71)][_0x459203(0x6e)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x459203(0x73)](),console[_0x459203(0x73)](_0x459203(0x70)+a315_0x97c6ea['green'][_0x459203(0x6e)](CLI_BIN_NAME+_0x459203(0x77))+_0x459203(0x6b)),console[_0x459203(0x73)]();}
@@ -1 +1 @@
1
- (function(_0x104d1b,_0x5d2c0d){const _0x5170e8=a316_0x329c,_0x2ad904=_0x104d1b();while(!![]){try{const _0x33cc88=-parseInt(_0x5170e8(0x180))/0x1*(parseInt(_0x5170e8(0x191))/0x2)+parseInt(_0x5170e8(0x17e))/0x3*(parseInt(_0x5170e8(0x18f))/0x4)+-parseInt(_0x5170e8(0x186))/0x5+-parseInt(_0x5170e8(0x189))/0x6+parseInt(_0x5170e8(0x195))/0x7+parseInt(_0x5170e8(0x183))/0x8+-parseInt(_0x5170e8(0x185))/0x9;if(_0x33cc88===_0x5d2c0d)break;else _0x2ad904['push'](_0x2ad904['shift']());}catch(_0x57bccf){_0x2ad904['push'](_0x2ad904['shift']());}}}(a316_0x55b8,0x3470b));import{installBuiltinSkill}from'./skills/builtin-skill.js';function a316_0x329c(_0x5e7e44,_0x42114a){_0x5e7e44=_0x5e7e44-0x17e;const _0x55b8c0=a316_0x55b8();let _0x329c35=_0x55b8c0[_0x5e7e44];return _0x329c35;}function a316_0x55b8(){const _0x4e03a8=['installedPath','skillVersion','log','\x20at\x20','954332omGEDv','installed','4474EWhIMK','Rabetbase\x20Built-in\x20Skill\x20','SOURCE_INVALID','Installation\x20failed','516915AZRtCC','error','3yBYiGV','already\x20current','13qEmfNj','warn','Repair\x20with:\x20','245936LMIbOC','\x20via\x20skills@latest','654624fqVzYB','3200SoCstp','[BUILTIN_SKILL_INSTALL_','code','155508GoliIR','changed'];a316_0x55b8=function(){return _0x4e03a8;};return a316_0x55b8();}export async function runPostinstall(_0x1fa796={}){const _0xcd1287=a316_0x329c,_0x97b712=installBuiltinSkill(_0x1fa796);if(_0x97b712['ok']){const _0x256430=_0x97b712[_0xcd1287(0x18a)]?_0xcd1287(0x190):_0xcd1287(0x17f),_0x4f7429=_0x97b712[_0xcd1287(0x18b)]?_0xcd1287(0x18e)+_0x97b712['installedPath']:_0xcd1287(0x184);return console[_0xcd1287(0x18d)](_0xcd1287(0x192)+_0x97b712[_0xcd1287(0x18c)]+'\x20'+_0x256430+_0x4f7429),_0x97b712;}const _0x3dd2e1=_0xcd1287(0x187)+(_0x97b712[_0xcd1287(0x188)]??'FAILED')+']\x20'+(_0x97b712[_0xcd1287(0x196)]??_0xcd1287(0x194))+'.\x20'+(_0xcd1287(0x182)+_0x97b712['repairCommand']);if(_0x97b712[_0xcd1287(0x188)]===_0xcd1287(0x193))throw new Error(_0x3dd2e1);return console[_0xcd1287(0x181)](_0x3dd2e1),_0x97b712;}
1
+ function a316_0x3960(){const _0x48c0b2=['installed','133542rhrmxT','6516HCLfzi','FAILED','Installation\x20failed','log','358810mzLfhy','installedPath','Repair\x20with:\x20','490SKjlpf','skillVersion','343264CbUnvc','already\x20current','code','SOURCE_INVALID','140536vtAwOM','Rabetbase\x20Built-in\x20Skill\x20','[BUILTIN_SKILL_INSTALL_','warn','repairCommand','413397ziJyMt','\x20at\x20','701960XYiEja'];a316_0x3960=function(){return _0x48c0b2;};return a316_0x3960();}(function(_0xe96429,_0x3e3a85){const _0x39d3e1=a316_0x2634,_0x224747=_0xe96429();while(!![]){try{const _0x300ad6=-parseInt(_0x39d3e1(0x1e5))/0x1+parseInt(_0x39d3e1(0x1ea))/0x2+parseInt(_0x39d3e1(0x1e1))/0x3+-parseInt(_0x39d3e1(0x1d8))/0x4+parseInt(_0x39d3e1(0x1e3))/0x5+parseInt(_0x39d3e1(0x1e6))/0x6*(-parseInt(_0x39d3e1(0x1ed))/0x7)+-parseInt(_0x39d3e1(0x1dc))/0x8;if(_0x300ad6===_0x3e3a85)break;else _0x224747['push'](_0x224747['shift']());}catch(_0xbaa9e9){_0x224747['push'](_0x224747['shift']());}}}(a316_0x3960,0x2350b));import{installBuiltinSkill}from'./skills/builtin-skill.js';function a316_0x2634(_0x2c5fac,_0x5f1c73){_0x2c5fac=_0x2c5fac-0x1d8;const _0x39609d=a316_0x3960();let _0x263469=_0x39609d[_0x2c5fac];return _0x263469;}export async function runPostinstall(_0x125d0a={}){const _0x56bb18=a316_0x2634,_0x18a631=installBuiltinSkill(_0x125d0a);if(_0x18a631['ok']){const _0x23fd35=_0x18a631['changed']?_0x56bb18(0x1e4):_0x56bb18(0x1d9),_0x5c07f2=_0x18a631[_0x56bb18(0x1eb)]?_0x56bb18(0x1e2)+_0x18a631[_0x56bb18(0x1eb)]:'\x20via\x20skills@latest';return console[_0x56bb18(0x1e9)](_0x56bb18(0x1dd)+_0x18a631[_0x56bb18(0x1ee)]+'\x20'+_0x23fd35+_0x5c07f2),_0x18a631;}const _0xe7c68f=_0x56bb18(0x1de)+(_0x18a631['code']??_0x56bb18(0x1e7))+']\x20'+(_0x18a631['error']??_0x56bb18(0x1e8))+'.\x20'+(_0x56bb18(0x1ec)+_0x18a631[_0x56bb18(0x1e0)]);if(_0x18a631[_0x56bb18(0x1da)]===_0x56bb18(0x1db))throw new Error(_0xe7c68f);return console[_0x56bb18(0x1df)](_0xe7c68f),_0x18a631;}
@@ -1 +1 @@
1
- (function(_0x52237b,_0x1f6b9c){const _0x49bd51=a317_0x2416,_0x93e2bc=_0x52237b();while(!![]){try{const _0x4fcbf6=parseInt(_0x49bd51(0xf6))/0x1*(parseInt(_0x49bd51(0x109))/0x2)+parseInt(_0x49bd51(0xff))/0x3+parseInt(_0x49bd51(0xfb))/0x4*(-parseInt(_0x49bd51(0xfa))/0x5)+-parseInt(_0x49bd51(0x103))/0x6*(-parseInt(_0x49bd51(0x10d))/0x7)+-parseInt(_0x49bd51(0xf8))/0x8*(-parseInt(_0x49bd51(0xfc))/0x9)+-parseInt(_0x49bd51(0xfd))/0xa*(parseInt(_0x49bd51(0x100))/0xb)+parseInt(_0x49bd51(0x10a))/0xc*(-parseInt(_0x49bd51(0x101))/0xd);if(_0x4fcbf6===_0x1f6b9c)break;else _0x93e2bc['push'](_0x93e2bc['shift']());}catch(_0x185696){_0x93e2bc['push'](_0x93e2bc['shift']());}}}(a317_0x1d77,0x2c33a));const DESCRIPTION_MAX_LENGTH=0x1f4;function a317_0x2416(_0x441c28,_0x347360){_0x441c28=_0x441c28-0xf6;const _0x1d7762=a317_0x1d77();let _0x2416bf=_0x1d7762[_0x441c28];return _0x2416bf;}export function buildRabetbaseConfirmationRequest(_0x3cef54,_0x3463b6,_0x39234a){const _0xcbb33d=a317_0x2416,_0x22d799=normalizeText(_0x3cef54[_0xcbb33d(0x10c)],DESCRIPTION_MAX_LENGTH),_0x57de1f=_0x22d799||normalizeText(defaultDescription(requireWriteRisk(_0x3cef54),_0x3463b6),DESCRIPTION_MAX_LENGTH);return{'operation':_0x3463b6,'risk':requireWriteRisk(_0x3cef54),'description':_0x57de1f,..._0x39234a?{'signal':_0x39234a}:{}};}function requireWriteRisk(_0x2b5912){const _0x558608=a317_0x2416;if(_0x2b5912[_0x558608(0xf9)]===_0x558608(0x105)||_0x2b5912[_0x558608(0xf9)]==='high-risk-write')return _0x2b5912['risk'];throw new Error(_0x558608(0xf7));}function defaultDescription(_0x3fdfc1,_0x1cc1e0){const _0x4ef9f4=a317_0x2416;if(_0x3fdfc1===_0x4ef9f4(0x10b))return _0x4ef9f4(0x108)+_0x1cc1e0+_0x4ef9f4(0x102);return _0x4ef9f4(0x104)+_0x1cc1e0+_0x4ef9f4(0xfe);}function normalizeText(_0x7e942c,_0x58db45){const _0xd4da69=a317_0x2416;if(typeof _0x7e942c!==_0xd4da69(0x106))return'';return _0x7e942c[_0xd4da69(0x107)](/[\u0000-\u001f\u007f]+/g,'\x20')['replace'](/\s+/g,'\x20')['trim']()['slice'](0x0,_0x58db45);}function a317_0x1d77(){const _0x4d34df=['replace','This\x20will\x20run\x20the\x20high-risk\x20write\x20','694606hdbRbh','5451588UHhRig','high-risk-write','confirmationDescription','38276ypUcms','1KcdHRG','Rabetbase\x20confirmation\x20requires\x20a\x20write\x20command.','968qhOcCm','risk','10MOOLSg','235180czdAxP','25443jHZnrl','27930aansnS','.\x20It\x20may\x20create\x20or\x20change\x20business\x20data\x20or\x20local\x20configuration.','100662yLorFk','11QECzNQ','13aKCQoC','.\x20It\x20may\x20overwrite,\x20delete,\x20or\x20materially\x20change\x20live\x20behavior.','36uigHeF','This\x20will\x20run\x20the\x20write\x20','write','string'];a317_0x1d77=function(){return _0x4d34df;};return a317_0x1d77();}
1
+ function a317_0x52e4(){const _0x27c1e5=['replace','420DIybcw','confirmationDescription','38700axsQLm','10VjCNKw','6077892iLMSkh','.\x20It\x20may\x20overwrite,\x20delete,\x20or\x20materially\x20change\x20live\x20behavior.','5368528mexbRz','7175Tqnffs','write','This\x20will\x20run\x20the\x20high-risk\x20write\x20','high-risk-write','1738359hYGFQD','2YMPyPF','string','35301QkDVqb','.\x20It\x20may\x20create\x20or\x20change\x20business\x20data\x20or\x20local\x20configuration.','risk','148gnoVdX','slice','This\x20will\x20run\x20the\x20write\x20','5144KZBZQL','trim','245957nTRnyC'];a317_0x52e4=function(){return _0x27c1e5;};return a317_0x52e4();}function a317_0x1ea9(_0x249574,_0x1f5624){_0x249574=_0x249574-0xed;const _0x52e408=a317_0x52e4();let _0x1ea946=_0x52e408[_0x249574];return _0x1ea946;}(function(_0x28558e,_0x304eef){const _0x586833=a317_0x1ea9,_0xf2dfdc=_0x28558e();while(!![]){try{const _0x35377f=-parseInt(_0x586833(0x102))/0x1*(-parseInt(_0x586833(0xf8))/0x2)+-parseInt(_0x586833(0xfa))/0x3*(-parseInt(_0x586833(0xfd))/0x4)+parseInt(_0x586833(0xee))/0x5*(parseInt(_0x586833(0x104))/0x6)+-parseInt(_0x586833(0xf3))/0x7*(parseInt(_0x586833(0x100))/0x8)+-parseInt(_0x586833(0xf7))/0x9*(parseInt(_0x586833(0xef))/0xa)+parseInt(_0x586833(0xf2))/0xb+-parseInt(_0x586833(0xf0))/0xc;if(_0x35377f===_0x304eef)break;else _0xf2dfdc['push'](_0xf2dfdc['shift']());}catch(_0xb235b7){_0xf2dfdc['push'](_0xf2dfdc['shift']());}}}(a317_0x52e4,0x560d3));const DESCRIPTION_MAX_LENGTH=0x1f4;export function buildRabetbaseConfirmationRequest(_0x4576fc,_0x4cc462,_0x273744){const _0x5b874c=a317_0x1ea9,_0x463edb=normalizeText(_0x4576fc[_0x5b874c(0xed)],DESCRIPTION_MAX_LENGTH),_0x1eec07=_0x463edb||normalizeText(defaultDescription(requireWriteRisk(_0x4576fc),_0x4cc462),DESCRIPTION_MAX_LENGTH);return{'operation':_0x4cc462,'risk':requireWriteRisk(_0x4576fc),'description':_0x1eec07,..._0x273744?{'signal':_0x273744}:{}};}function requireWriteRisk(_0x158ad9){const _0x5d6626=a317_0x1ea9;if(_0x158ad9[_0x5d6626(0xfc)]===_0x5d6626(0xf4)||_0x158ad9[_0x5d6626(0xfc)]===_0x5d6626(0xf6))return _0x158ad9[_0x5d6626(0xfc)];throw new Error('Rabetbase\x20confirmation\x20requires\x20a\x20write\x20command.');}function defaultDescription(_0x7c6044,_0x48c840){const _0x386bae=a317_0x1ea9;if(_0x7c6044===_0x386bae(0xf6))return _0x386bae(0xf5)+_0x48c840+_0x386bae(0xf1);return _0x386bae(0xff)+_0x48c840+_0x386bae(0xfb);}function normalizeText(_0x279c45,_0xfad09d){const _0xddd9ac=a317_0x1ea9;if(typeof _0x279c45!==_0xddd9ac(0xf9))return'';return _0x279c45[_0xddd9ac(0x103)](/[\u0000-\u001f\u007f]+/g,'\x20')['replace'](/\s+/g,'\x20')[_0xddd9ac(0x101)]()[_0xddd9ac(0xfe)](0x0,_0xfad09d);}
@@ -1 +1 @@
1
- (function(_0x4f7dbb,_0x310764){const _0x21a91b=a318_0x1d7b,_0x19a6df=_0x4f7dbb();while(!![]){try{const _0x4bc2eb=-parseInt(_0x21a91b(0xda))/0x1+-parseInt(_0x21a91b(0xea))/0x2*(parseInt(_0x21a91b(0xec))/0x3)+parseInt(_0x21a91b(0xe2))/0x4*(-parseInt(_0x21a91b(0xe3))/0x5)+parseInt(_0x21a91b(0xdd))/0x6*(parseInt(_0x21a91b(0xdf))/0x7)+parseInt(_0x21a91b(0xe8))/0x8+-parseInt(_0x21a91b(0xe4))/0x9*(-parseInt(_0x21a91b(0xeb))/0xa)+-parseInt(_0x21a91b(0xe9))/0xb*(parseInt(_0x21a91b(0xed))/0xc);if(_0x4bc2eb===_0x310764)break;else _0x19a6df['push'](_0x19a6df['shift']());}catch(_0x45cf5c){_0x19a6df['push'](_0x19a6df['shift']());}}}(a318_0x36fa,0x58908));export function canonicalRabetbaseOperation(_0x47a58c){const _0x338462=a318_0x1d7b;return[_0x47a58c['service'],..._0x47a58c[_0x338462(0xef)][_0x338462(0xe5)]()['split'](/\s+/)][_0x338462(0xe1)](Boolean)['join']('.');}export function createRabetbaseWriteMetadata(_0x29f45a,_0x4e925d,_0x47cd42,_0x48f68a){const _0x573fc6=a318_0x1d7b;if(_0x48f68a||_0x47cd42['ok']!==!![]||hasUnresolvedConflicts(_0x47cd42)||_0x29f45a[_0x573fc6(0xe7)]!==_0x573fc6(0xdc)&&_0x29f45a[_0x573fc6(0xe7)]!==_0x573fc6(0xde))return undefined;return{'rabetbase':{'schemaVersion':0x1,'event':{'type':'rabetbase.write.completed','operation':_0x4e925d,'risk':_0x29f45a[_0x573fc6(0xe7)]}}};}function hasUnresolvedConflicts(_0x128476){const _0x390a5d=a318_0x1d7b,_0x5f4454=_0x128476[_0x390a5d(0xee)];return Boolean(_0x5f4454&&typeof _0x5f4454===_0x390a5d(0xe0)&&!Array[_0x390a5d(0xdb)](_0x5f4454)&&Array['isArray'](_0x5f4454[_0x390a5d(0xd9)])&&_0x5f4454['conflicts'][_0x390a5d(0xe6)]>0x0);}function a318_0x1d7b(_0x3be6d6,_0x5d4e13){_0x3be6d6=_0x3be6d6-0xd9;const _0x36fa45=a318_0x36fa();let _0x1d7bc5=_0x36fa45[_0x3be6d6];return _0x1d7bc5;}function a318_0x36fa(){const _0x57988b=['2056gdUPfm','4605aJHbQe','477GcHEbK','trim','length','risk','3108504omhQAl','68959VJjbdJ','8heFyVf','79220sdowzq','230481vPRuQa','108MkjoPD','data','command','conflicts','196239tftYfg','isArray','write','3526158kTNgjK','high-risk-write','7QCCXvp','object','filter'];a318_0x36fa=function(){return _0x57988b;};return a318_0x36fa();}
1
+ (function(_0x5b1b1c,_0x57bff9){const _0x134d3e=a318_0x5f1c,_0x3684bc=_0x5b1b1c();while(!![]){try{const _0x18e28a=parseInt(_0x134d3e(0x1d0))/0x1*(parseInt(_0x134d3e(0x1e3))/0x2)+parseInt(_0x134d3e(0x1e4))/0x3*(-parseInt(_0x134d3e(0x1cf))/0x4)+parseInt(_0x134d3e(0x1de))/0x5*(parseInt(_0x134d3e(0x1dd))/0x6)+-parseInt(_0x134d3e(0x1db))/0x7*(-parseInt(_0x134d3e(0x1d4))/0x8)+-parseInt(_0x134d3e(0x1e2))/0x9*(-parseInt(_0x134d3e(0x1e6))/0xa)+-parseInt(_0x134d3e(0x1d8))/0xb+parseInt(_0x134d3e(0x1e0))/0xc*(-parseInt(_0x134d3e(0x1e5))/0xd);if(_0x18e28a===_0x57bff9)break;else _0x3684bc['push'](_0x3684bc['shift']());}catch(_0x2217c6){_0x3684bc['push'](_0x3684bc['shift']());}}}(a318_0x5810,0x36c42));export function canonicalRabetbaseOperation(_0x22da9c){const _0x36640d=a318_0x5f1c;return[_0x22da9c[_0x36640d(0x1da)],..._0x22da9c[_0x36640d(0x1dc)][_0x36640d(0x1df)]()[_0x36640d(0x1d5)](/\s+/)][_0x36640d(0x1cd)](Boolean)[_0x36640d(0x1d7)]('.');}export function createRabetbaseWriteMetadata(_0x1153b3,_0x593beb,_0x166028,_0x15585b){const _0x49ba91=a318_0x5f1c;if(_0x15585b||_0x166028['ok']!==!![]||hasUnresolvedConflicts(_0x166028)||_0x1153b3[_0x49ba91(0x1e1)]!=='write'&&_0x1153b3['risk']!==_0x49ba91(0x1d3))return undefined;return{'rabetbase':{'schemaVersion':0x1,'event':{'type':_0x49ba91(0x1d9),'operation':_0x593beb,'risk':_0x1153b3[_0x49ba91(0x1e1)]}}};}function a318_0x5f1c(_0x470d36,_0xc069e0){_0x470d36=_0x470d36-0x1cd;const _0x5810ff=a318_0x5810();let _0x5f1c95=_0x5810ff[_0x470d36];return _0x5f1c95;}function hasUnresolvedConflicts(_0x3882a3){const _0x470173=a318_0x5f1c,_0x2e77bc=_0x3882a3[_0x470173(0x1d6)];return Boolean(_0x2e77bc&&typeof _0x2e77bc===_0x470173(0x1ce)&&!Array['isArray'](_0x2e77bc)&&Array['isArray'](_0x2e77bc[_0x470173(0x1d2)])&&_0x2e77bc[_0x470173(0x1d2)][_0x470173(0x1d1)]>0x0);}function a318_0x5810(){const _0x129555=['156IxCZkX','risk','3930723gpQhYp','9256OfjStv','471RXFzzk','8567DvdRoa','10YVqPAa','filter','object','7868eNjYtK','5wtRZYF','length','conflicts','high-risk-write','40czzDLq','split','data','join','1238116VuKMzW','rabetbase.write.completed','service','44604eymXVi','command','6dtlkLM','812585HsaYqR','trim'];a318_0x5810=function(){return _0x129555;};return a318_0x5810();}
@@ -1 +1 @@
1
- (function(_0x28816f,_0xdb4578){const _0x2fe2ac=a319_0x5e4a,_0x4f9952=_0x28816f();while(!![]){try{const _0x387f06=parseInt(_0x2fe2ac(0x154))/0x1+parseInt(_0x2fe2ac(0x16d))/0x2*(parseInt(_0x2fe2ac(0x15c))/0x3)+parseInt(_0x2fe2ac(0x164))/0x4+-parseInt(_0x2fe2ac(0x168))/0x5+-parseInt(_0x2fe2ac(0x157))/0x6+-parseInt(_0x2fe2ac(0x15e))/0x7*(parseInt(_0x2fe2ac(0x15a))/0x8)+parseInt(_0x2fe2ac(0x159))/0x9*(parseInt(_0x2fe2ac(0x172))/0xa);if(_0x387f06===_0xdb4578)break;else _0x4f9952['push'](_0x4f9952['shift']());}catch(_0x236f3b){_0x4f9952['push'](_0x4f9952['shift']());}}}(a319_0x34bd,0x962bd));import{buildConfigFromFlags,initGlobalEnvironment,isRoutingRecoveryService}from'../context.js';import{createPipelineEnv,createRabetbaseRunnerAdapter,finalizeRabetbaseRuntimeState,runCommand}from'../framework/runner.js';import{buildRabetbaseConfirmationRequest}from'../runtime/confirmation.js';function a319_0x5e4a(_0x5bd13a,_0x27d449){_0x5bd13a=_0x5bd13a-0x154;const _0x34bda0=a319_0x34bd();let _0x5e4ae9=_0x34bda0[_0x5bd13a];return _0x5e4ae9;}import{canonicalRabetbaseOperation,createRabetbaseWriteMetadata}from'../runtime/event.js';import{runSerialized}from'../runtime/queue.js';import{resolveRabetbaseInvocation}from'../runtime/resolve.js';function a319_0x34bd(){const _0x47f5e7=['6001465HqHjGn','AbortError','isNonInteractive','stringify','definition','26xdfgFV','signal','command','result','yes','8150DONuCM','reason','dryRun','data','presentation','high-risk-write','411845bLvcrD','args','Embedded\x20Rabetbase\x20confirmation\x20must\x20run\x20before\x20the\x20execution\x20queue.','5241552RddyiG','write','17937qCpLou','40CtcIcq','dry-run','212703TEzDcD','rawFlags','819707CeSetY','message','risk','present','confirm','Rabetbase\x20invocation\x20aborted.','1266552ermWZG','format','service','execute'];a319_0x34bd=function(){return _0x47f5e7;};return a319_0x34bd();}const defaultPresentation={'present'({result:_0xf6b286,command:_0xce768,risk:_0x1913e0,dryRun:_0x1a666e}){const _0x4e5550=a319_0x5e4a;return JSON[_0x4e5550(0x16b)]({'ok':_0xf6b286['ok'],'command':_0xce768,'risk':_0x1913e0,..._0x1a666e?{'dryRun':!![]}:{},..._0xf6b286[_0x4e5550(0x175)]!==undefined?{'data':_0xf6b286['data']}:{},..._0xf6b286[_0x4e5550(0x15f)]?{'message':_0xf6b286[_0x4e5550(0x15f)]}:{}});}};export async function invokeRabetbase(_0x8c4a9e,_0x150a58){const _0x1a5113=a319_0x5e4a;throwIfAborted(_0x150a58[_0x1a5113(0x16e)]);const _0x19f40a=await resolveRabetbaseInvocation(_0x8c4a9e),_0x1337b8=canonicalRabetbaseOperation(_0x19f40a[_0x1a5113(0x16c)]);return await confirmWriteBeforeQueue(_0x19f40a[_0x1a5113(0x16c)],_0x19f40a[_0x1a5113(0x15d)],_0x1337b8,_0x150a58),runSerialized(async()=>{const _0x571919=_0x1a5113,_0x14e7fa={};try{throwIfAborted(_0x150a58[_0x571919(0x16e)]);const _0x5dc550=buildConfigFromFlags(_0x19f40a[_0x571919(0x15d)]);!isRoutingRecoveryService(_0x19f40a[_0x571919(0x16c)][_0x571919(0x166)])&&await initGlobalEnvironment(_0x5dc550);const _0x3023ab=createPipelineEnv(_0x5dc550,{..._0x19f40a[_0x571919(0x15d)],'yes':_0x19f40a[_0x571919(0x16c)][_0x571919(0x160)]===_0x571919(0x177)?!![]:_0x19f40a[_0x571919(0x15d)][_0x571919(0x171)],'nonInteractive':!![]},_0x19f40a[_0x571919(0x155)]);_0x3023ab[_0x571919(0x16a)]=!![],_0x3023ab['riskLevel']=_0x571919(0x177);const _0x13e08d=withAbortSignal(_0x19f40a[_0x571919(0x16c)],_0x150a58[_0x571919(0x16e)]),_0x1b559f=createRabetbaseRunnerAdapter({'formatOutput'(_0x470969,_0x4d10ce){const _0x145b6e=_0x571919;_0x14e7fa[_0x145b6e(0x170)]=_0x470969,_0x14e7fa[_0x145b6e(0x16f)]=_0x4d10ce[_0x145b6e(0x16f)],_0x14e7fa[_0x145b6e(0x160)]=_0x4d10ce['risk'],_0x14e7fa['format']=_0x4d10ce[_0x145b6e(0x165)],_0x14e7fa[_0x145b6e(0x174)]=_0x4d10ce[_0x145b6e(0x174)]===!![];},async 'confirmHighRisk'(){const _0x14528a=_0x571919;throw new Error(_0x14528a(0x156));}});await runCommand(_0x13e08d,_0x3023ab,_0x1b559f);if(!_0x14e7fa['result']||!_0x14e7fa[_0x571919(0x16f)]||!_0x14e7fa[_0x571919(0x160)]||!_0x14e7fa[_0x571919(0x165)])throw new Error('Rabetbase\x20invocation\x20completed\x20without\x20a\x20captured\x20command\x20result.');const _0x3767df=_0x14e7fa[_0x571919(0x174)]===!![],_0x42de7a=_0x150a58[_0x571919(0x176)]??defaultPresentation,_0x552d84={'result':_0x14e7fa[_0x571919(0x170)],'command':_0x14e7fa[_0x571919(0x16f)],'operation':_0x1337b8,'risk':_0x14e7fa[_0x571919(0x160)],'format':_0x14e7fa['format'],'dryRun':_0x3767df},_0x4fdd1d=createRabetbaseWriteMetadata(_0x19f40a['definition'],_0x1337b8,_0x14e7fa[_0x571919(0x170)],_0x3767df);let _0x319c11;try{_0x319c11=await _0x42de7a[_0x571919(0x161)](_0x552d84);}catch(_0xa6f11){if(!_0x4fdd1d||_0x42de7a===defaultPresentation)throw _0xa6f11;_0x319c11=await defaultPresentation[_0x571919(0x161)](_0x552d84);}return{'operation':_0x1337b8,'risk':_0x14e7fa[_0x571919(0x160)],'mode':_0x3767df?_0x571919(0x15b):_0x571919(0x167),'result':_0x14e7fa['result'],'output':_0x319c11,..._0x4fdd1d?{'metadata':_0x4fdd1d}:{}};}finally{await finalizeRabetbaseRuntimeState();}});}async function confirmWriteBeforeQueue(_0x980a01,_0x4a973e,_0x38e477,_0x3415ae){const _0x2c72ac=a319_0x5e4a;if(_0x4a973e[_0x2c72ac(0x174)]===!![]||_0x980a01['risk']!==_0x2c72ac(0x158)&&_0x980a01[_0x2c72ac(0x160)]!==_0x2c72ac(0x177))return;await _0x3415ae['confirmation'][_0x2c72ac(0x162)](buildRabetbaseConfirmationRequest(_0x980a01,_0x38e477,_0x3415ae['signal']));}function withAbortSignal(_0x21353a,_0x41f293){return{..._0x21353a,async 'execute'(_0x17ea24){return throwIfAborted(_0x41f293),_0x21353a['execute']({..._0x17ea24,'signal':_0x41f293});}};}function throwIfAborted(_0x745722){const _0x35224f=a319_0x5e4a;if(_0x745722?.['aborted'])throw _0x745722[_0x35224f(0x173)]instanceof Error?_0x745722['reason']:new DOMException(_0x35224f(0x163),_0x35224f(0x169));}
1
+ (function(_0x1f2bd5,_0x1430d9){const _0x3dcd47=a319_0x1a2b,_0x3008b3=_0x1f2bd5();while(!![]){try{const _0x50be74=-parseInt(_0x3dcd47(0x127))/0x1+-parseInt(_0x3dcd47(0x119))/0x2*(-parseInt(_0x3dcd47(0x125))/0x3)+parseInt(_0x3dcd47(0x128))/0x4*(-parseInt(_0x3dcd47(0x121))/0x5)+-parseInt(_0x3dcd47(0x123))/0x6*(-parseInt(_0x3dcd47(0x120))/0x7)+parseInt(_0x3dcd47(0x133))/0x8*(-parseInt(_0x3dcd47(0x124))/0x9)+-parseInt(_0x3dcd47(0x11d))/0xa+parseInt(_0x3dcd47(0x11f))/0xb;if(_0x50be74===_0x1430d9)break;else _0x3008b3['push'](_0x3008b3['shift']());}catch(_0x505f5e){_0x3008b3['push'](_0x3008b3['shift']());}}}(a319_0x8bc8,0xf18a7));function a319_0x1a2b(_0x3d21bc,_0xdddd09){_0x3d21bc=_0x3d21bc-0x113;const _0x8bc8e6=a319_0x8bc8();let _0x1a2bd9=_0x8bc8e6[_0x3d21bc];return _0x1a2bd9;}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';function a319_0x8bc8(){const _0x5ca3a0=['dryRun','confirm','service','data','reason','isNonInteractive','Rabetbase\x20invocation\x20completed\x20without\x20a\x20captured\x20command\x20result.','format','signal','stringify','8bBzwAw','dry-run','command','args','confirmation','result','risk','riskLevel','present','presentation','yes','2gEztRD','AbortError','high-risk-write','execute','4740350QLqwkI','rawFlags','21114489nPJiVm','33677efKMDP','2535qyBVTv','definition','438IsYHvd','9715023yhktMA','3534459ImDWfm','message','486733NmTxKq','3308vsaHHQ'];a319_0x8bc8=function(){return _0x5ca3a0;};return a319_0x8bc8();}import{runSerialized}from'../runtime/queue.js';import{resolveRabetbaseInvocation}from'../runtime/resolve.js';const defaultPresentation={'present'({result:_0xeb9459,command:_0xb6847f,risk:_0x1a4d1d,dryRun:_0x5e3a67}){const _0x47d080=a319_0x1a2b;return JSON[_0x47d080(0x132)]({'ok':_0xeb9459['ok'],'command':_0xb6847f,'risk':_0x1a4d1d,..._0x5e3a67?{'dryRun':!![]}:{},..._0xeb9459[_0x47d080(0x12c)]!==undefined?{'data':_0xeb9459[_0x47d080(0x12c)]}:{},..._0xeb9459[_0x47d080(0x126)]?{'message':_0xeb9459[_0x47d080(0x126)]}:{}});}};export async function invokeRabetbase(_0x4a6968,_0xb6eb62){const _0x59ee3d=a319_0x1a2b;throwIfAborted(_0xb6eb62['signal']);const _0xa88b00=await resolveRabetbaseInvocation(_0x4a6968),_0x5e53a2=canonicalRabetbaseOperation(_0xa88b00[_0x59ee3d(0x122)]);return await confirmWriteBeforeQueue(_0xa88b00[_0x59ee3d(0x122)],_0xa88b00[_0x59ee3d(0x11e)],_0x5e53a2,_0xb6eb62),runSerialized(async()=>{const _0x27c09f=_0x59ee3d,_0x4e8cd3={};try{throwIfAborted(_0xb6eb62[_0x27c09f(0x131)]);const _0x1d4335=buildConfigFromFlags(_0xa88b00[_0x27c09f(0x11e)]);!isRoutingRecoveryService(_0xa88b00[_0x27c09f(0x122)][_0x27c09f(0x12b)])&&await initGlobalEnvironment(_0x1d4335);const _0xc2aefa=createPipelineEnv(_0x1d4335,{..._0xa88b00[_0x27c09f(0x11e)],'yes':_0xa88b00[_0x27c09f(0x122)][_0x27c09f(0x114)]===_0x27c09f(0x11b)?!![]:_0xa88b00['rawFlags'][_0x27c09f(0x118)],'nonInteractive':!![]},_0xa88b00[_0x27c09f(0x136)]);_0xc2aefa[_0x27c09f(0x12e)]=!![],_0xc2aefa[_0x27c09f(0x115)]=_0x27c09f(0x11b);const _0xa31c73=withAbortSignal(_0xa88b00['definition'],_0xb6eb62[_0x27c09f(0x131)]),_0x34e98b=createRabetbaseRunnerAdapter({'formatOutput'(_0x166f7e,_0x2f27f2){const _0x38655b=_0x27c09f;_0x4e8cd3[_0x38655b(0x113)]=_0x166f7e,_0x4e8cd3[_0x38655b(0x135)]=_0x2f27f2[_0x38655b(0x135)],_0x4e8cd3[_0x38655b(0x114)]=_0x2f27f2[_0x38655b(0x114)],_0x4e8cd3[_0x38655b(0x130)]=_0x2f27f2[_0x38655b(0x130)],_0x4e8cd3['dryRun']=_0x2f27f2[_0x38655b(0x129)]===!![];},async 'confirmHighRisk'(){throw new Error('Embedded\x20Rabetbase\x20confirmation\x20must\x20run\x20before\x20the\x20execution\x20queue.');}});await runCommand(_0xa31c73,_0xc2aefa,_0x34e98b);if(!_0x4e8cd3[_0x27c09f(0x113)]||!_0x4e8cd3[_0x27c09f(0x135)]||!_0x4e8cd3[_0x27c09f(0x114)]||!_0x4e8cd3[_0x27c09f(0x130)])throw new Error(_0x27c09f(0x12f));const _0x4f9116=_0x4e8cd3[_0x27c09f(0x129)]===!![],_0x41659=_0xb6eb62[_0x27c09f(0x117)]??defaultPresentation,_0x23ec08={'result':_0x4e8cd3[_0x27c09f(0x113)],'command':_0x4e8cd3[_0x27c09f(0x135)],'operation':_0x5e53a2,'risk':_0x4e8cd3[_0x27c09f(0x114)],'format':_0x4e8cd3[_0x27c09f(0x130)],'dryRun':_0x4f9116},_0x5e50a5=createRabetbaseWriteMetadata(_0xa88b00[_0x27c09f(0x122)],_0x5e53a2,_0x4e8cd3[_0x27c09f(0x113)],_0x4f9116);let _0x2bd6d5;try{_0x2bd6d5=await _0x41659[_0x27c09f(0x116)](_0x23ec08);}catch(_0x25ade0){if(!_0x5e50a5||_0x41659===defaultPresentation)throw _0x25ade0;_0x2bd6d5=await defaultPresentation[_0x27c09f(0x116)](_0x23ec08);}return{'operation':_0x5e53a2,'risk':_0x4e8cd3[_0x27c09f(0x114)],'mode':_0x4f9116?_0x27c09f(0x134):_0x27c09f(0x11c),'result':_0x4e8cd3['result'],'output':_0x2bd6d5,..._0x5e50a5?{'metadata':_0x5e50a5}:{}};}finally{await finalizeRabetbaseRuntimeState();}});}async function confirmWriteBeforeQueue(_0x2d30fb,_0x5010ff,_0x2fce6a,_0x4d8205){const _0x47d0b7=a319_0x1a2b;if(_0x5010ff[_0x47d0b7(0x129)]===!![]||_0x2d30fb[_0x47d0b7(0x114)]!=='write'&&_0x2d30fb['risk']!==_0x47d0b7(0x11b))return;await _0x4d8205[_0x47d0b7(0x137)][_0x47d0b7(0x12a)](buildRabetbaseConfirmationRequest(_0x2d30fb,_0x2fce6a,_0x4d8205[_0x47d0b7(0x131)]));}function withAbortSignal(_0x4c4ffd,_0x3c6fe6){return{..._0x4c4ffd,async 'execute'(_0x529ac2){const _0x595f8d=a319_0x1a2b;return throwIfAborted(_0x3c6fe6),_0x4c4ffd[_0x595f8d(0x11c)]({..._0x529ac2,'signal':_0x3c6fe6});}};}function throwIfAborted(_0x472eea){const _0xec3da2=a319_0x1a2b;if(_0x472eea?.['aborted'])throw _0x472eea[_0xec3da2(0x12d)]instanceof Error?_0x472eea[_0xec3da2(0x12d)]:new DOMException('Rabetbase\x20invocation\x20aborted.',_0xec3da2(0x11a));}
@@ -1 +1 @@
1
- (function(_0x287b9e,_0x281712){const _0x1fe2ac=a320_0x5264,_0x59f73c=_0x287b9e();while(!![]){try{const _0x3bccb6=-parseInt(_0x1fe2ac(0x120))/0x1+-parseInt(_0x1fe2ac(0x122))/0x2*(parseInt(_0x1fe2ac(0x11e))/0x3)+parseInt(_0x1fe2ac(0x124))/0x4+-parseInt(_0x1fe2ac(0x11f))/0x5+-parseInt(_0x1fe2ac(0x121))/0x6*(-parseInt(_0x1fe2ac(0x11d))/0x7)+parseInt(_0x1fe2ac(0x125))/0x8+parseInt(_0x1fe2ac(0x123))/0x9;if(_0x3bccb6===_0x281712)break;else _0x59f73c['push'](_0x59f73c['shift']());}catch(_0x10065a){_0x59f73c['push'](_0x59f73c['shift']());}}}(a320_0x3e30,0x4a056));function a320_0x5264(_0x259c38,_0x5cf8c4){_0x259c38=_0x259c38-0x11d;const _0x3e30cd=a320_0x3e30();let _0x526418=_0x3e30cd[_0x259c38];return _0x526418;}function a320_0x3e30(){const _0x3f7dc6=['14RwxKXz','3ampfmO','1834215YSWebV','403094aqkQvl','200910nrpIui','160746zOnNaH','8641692ApKAgV','104948IlIrtF','800840YQjSqE'];a320_0x3e30=function(){return _0x3f7dc6;};return a320_0x3e30();}let tail=Promise['resolve']();export async function runSerialized(_0x2282f2){const _0x1d4d36=tail;let _0x4641d6;tail=new Promise(_0x19d86b=>{_0x4641d6=_0x19d86b;}),await _0x1d4d36['catch'](()=>undefined);try{return await _0x2282f2();}finally{_0x4641d6();}}
1
+ const a320_0x36104e=a320_0x23a4;function a320_0x6111(){const _0x35d9e7=['72OcARLd','3135UMNhbP','1418912MVOknh','43564lZBpUR','3723012WsSdEv','195hBBiTz','8523641cRfubM','resolve','261728ydKsdv','8578510rVGjWw','238GbxwrW','catch'];a320_0x6111=function(){return _0x35d9e7;};return a320_0x6111();}(function(_0x50930b,_0xf8f798){const _0x382db1=a320_0x23a4,_0x398383=_0x50930b();while(!![]){try{const _0x180c76=parseInt(_0x382db1(0xce))/0x1+parseInt(_0x382db1(0xd0))/0x2*(-parseInt(_0x382db1(0xd3))/0x3)+parseInt(_0x382db1(0xd5))/0x4*(-parseInt(_0x382db1(0xcb))/0x5)+-parseInt(_0x382db1(0xd6))/0x6+parseInt(_0x382db1(0xcc))/0x7+parseInt(_0x382db1(0xd4))/0x8*(parseInt(_0x382db1(0xd2))/0x9)+-parseInt(_0x382db1(0xcf))/0xa;if(_0x180c76===_0xf8f798)break;else _0x398383['push'](_0x398383['shift']());}catch(_0x3dbd36){_0x398383['push'](_0x398383['shift']());}}}(a320_0x6111,0xd49be));function a320_0x23a4(_0x4539b5,_0x2157a2){_0x4539b5=_0x4539b5-0xcb;const _0x6111ac=a320_0x6111();let _0x23a402=_0x6111ac[_0x4539b5];return _0x23a402;}let tail=Promise[a320_0x36104e(0xcd)]();export async function runSerialized(_0x51db13){const _0x4f6ef0=a320_0x36104e,_0x68e92b=tail;let _0x4218d0;tail=new Promise(_0x11e6b2=>{_0x4218d0=_0x11e6b2;}),await _0x68e92b[_0x4f6ef0(0xd1)](()=>undefined);try{return await _0x51db13();}finally{_0x4218d0();}}
@@ -1 +1 @@
1
- (function(_0x356bb8,_0x54c7dd){const _0x5c1d81=a321_0x4852,_0x4d4440=_0x356bb8();while(!![]){try{const _0x534597=-parseInt(_0x5c1d81(0x1a2))/0x1*(parseInt(_0x5c1d81(0x19b))/0x2)+-parseInt(_0x5c1d81(0x1ad))/0x3+parseInt(_0x5c1d81(0x1a7))/0x4*(parseInt(_0x5c1d81(0x1a6))/0x5)+-parseInt(_0x5c1d81(0x1af))/0x6+parseInt(_0x5c1d81(0x1b1))/0x7*(parseInt(_0x5c1d81(0x1ac))/0x8)+parseInt(_0x5c1d81(0x1a5))/0x9+parseInt(_0x5c1d81(0x1ab))/0xa*(parseInt(_0x5c1d81(0x19a))/0xb);if(_0x534597===_0x54c7dd)break;else _0x4d4440['push'](_0x4d4440['shift']());}catch(_0x2e8f08){_0x4d4440['push'](_0x4d4440['shift']());}}}(a321_0x2ff7,0xa759e));import a321_0x40c6db from'meow';import{findDefinition,getServiceEntry,isKnownService,resolveRemovedCommand}from'../commands/registry.js';function a321_0x2ff7(){const _0x9be34=['4tlsDGq','message','flags','hint','3550bVJcmp','24yNXuRq','210639ujfXXN','validation','8182560THHfIG','`rabetbase\x20run`\x20is\x20unavailable\x20through\x20the\x20embedded\x20runtime\x20because\x20it\x20executes\x20arbitrary\x20package\x20scripts.','891723ULdGyk','defaultCommand','slice','26631SwCgeB','15046iqOIEJ','Rabetbase\x20argv\x20must\x20include\x20a\x20service\x20and\x20command.','join','Use\x20an\x20explicit\x20shell\x20tool\x20only\x20when\x20script\x20execution\x20is\x20intentionally\x20requested.','input','Rabetbase\x20argv\x20must\x20include\x20a\x20command\x20for\x20service\x20\x22','unknownCommand','97uwQywL','wildcardDef','run','10277037HyCvLc','2328295UqXZlL'];a321_0x2ff7=function(){return _0x9be34;};return a321_0x2ff7();}import{buildMeowFlags}from'../constant/cli.js';import{CliErrors}from'../errors.js';import{assertSupportedCommandFlags}from'../framework/supported-flags.js';function a321_0x4852(_0x30543b,_0x48c58b){_0x30543b=_0x30543b-0x19a;const _0x2ff7f6=a321_0x2ff7();let _0x4852f6=_0x2ff7f6[_0x30543b];return _0x4852f6;}export async function resolveRabetbaseInvocation(_0x1749df){const _0x239985=a321_0x4852,_0x1bf605=a321_0x40c6db('',{'importMeta':import.meta,'argv':[..._0x1749df],'flags':buildMeowFlags(),'autoHelp':![],'autoVersion':![]}),_0x2232cb=[..._0x1bf605[_0x239985(0x19f)]],_0x3847d8=_0x1bf605[_0x239985(0x1a9)],_0x38c2c7=_0x2232cb[0x0];if(!_0x38c2c7)throw CliErrors['validation'](_0x239985(0x19c));const _0x5e6e14=resolveRemovedCommand(_0x38c2c7,_0x2232cb[0x1]);if(_0x5e6e14)throw CliErrors[_0x239985(0x1ae)](_0x5e6e14[_0x239985(0x1a8)],_0x5e6e14[_0x239985(0x1aa)]);if(_0x38c2c7===_0x239985(0x1a4))throw CliErrors[_0x239985(0x1ae)](_0x239985(0x1b0),_0x239985(0x19e));if(!isKnownService(_0x38c2c7))throw CliErrors[_0x239985(0x1a1)](_0x2232cb[_0x239985(0x19d)]('\x20'));const _0x2ea1b5=getServiceEntry(_0x38c2c7),_0x40408e=_0x2232cb[0x1],_0x5119bc=_0x40408e||_0x2ea1b5[_0x239985(0x1b2)];if(!_0x5119bc){if(_0x2ea1b5[_0x239985(0x1a3)])return{'definition':_0x2ea1b5['wildcardDef'],'rawFlags':_0x3847d8,'args':[]};throw CliErrors[_0x239985(0x1ae)](_0x239985(0x1a0)+_0x38c2c7+'\x22.');}const _0x2c5f75=findDefinition(_0x38c2c7,_0x5119bc);if(_0x2c5f75)return assertSupportedCommandFlags(_0x2c5f75,_0x3847d8),{'definition':_0x2c5f75,'rawFlags':_0x3847d8,'args':_0x2232cb[_0x239985(0x1b3)](0x2)};if(_0x2ea1b5[_0x239985(0x1a3)])return{'definition':_0x2ea1b5[_0x239985(0x1a3)],'rawFlags':_0x3847d8,'args':[_0x5119bc,..._0x2232cb[_0x239985(0x1b3)](0x2)]};throw CliErrors['unknownCommand'](_0x38c2c7+'\x20'+_0x5119bc);}
1
+ function a321_0x5044(_0x421864,_0x5262b0){_0x421864=_0x421864-0x14c;const _0x2147fb=a321_0x2147();let _0x50448a=_0x2147fb[_0x421864];return _0x50448a;}(function(_0x26239d,_0x56f5a9){const _0x56950e=a321_0x5044,_0x49b5a0=_0x26239d();while(!![]){try{const _0x49e199=-parseInt(_0x56950e(0x160))/0x1*(-parseInt(_0x56950e(0x15d))/0x2)+-parseInt(_0x56950e(0x15c))/0x3+parseInt(_0x56950e(0x14d))/0x4+-parseInt(_0x56950e(0x15e))/0x5+-parseInt(_0x56950e(0x14e))/0x6*(parseInt(_0x56950e(0x159))/0x7)+-parseInt(_0x56950e(0x155))/0x8*(parseInt(_0x56950e(0x15b))/0x9)+-parseInt(_0x56950e(0x154))/0xa*(-parseInt(_0x56950e(0x156))/0xb);if(_0x49e199===_0x56f5a9)break;else _0x49b5a0['push'](_0x49b5a0['shift']());}catch(_0x1d7a55){_0x49b5a0['push'](_0x49b5a0['shift']());}}}(a321_0x2147,0xb6511));import a321_0x1272e4 from'meow';function a321_0x2147(){const _0x499463=['join','10790073XkqvTG','791412sUZSqe','1261150eFWgie','5020220rwaGlR','hint','1snqWau','Rabetbase\x20argv\x20must\x20include\x20a\x20command\x20for\x20service\x20\x22','Use\x20an\x20explicit\x20shell\x20tool\x20only\x20when\x20script\x20execution\x20is\x20intentionally\x20requested.','5413712GNoALy','12678GyNDIK','`rabetbase\x20run`\x20is\x20unavailable\x20through\x20the\x20embedded\x20runtime\x20because\x20it\x20executes\x20arbitrary\x20package\x20scripts.','wildcardDef','defaultCommand','validation','unknownCommand','2040190gKLjet','8QXmapC','77jWWeUP','input','flags','658SdgrUc'];a321_0x2147=function(){return _0x499463;};return a321_0x2147();}import{findDefinition,getServiceEntry,isKnownService,resolveRemovedCommand}from'../commands/registry.js';import{buildMeowFlags}from'../constant/cli.js';import{CliErrors}from'../errors.js';import{assertSupportedCommandFlags}from'../framework/supported-flags.js';export async function resolveRabetbaseInvocation(_0x3a857b){const _0x1b26d6=a321_0x5044,_0x5b213c=a321_0x1272e4('',{'importMeta':import.meta,'argv':[..._0x3a857b],'flags':buildMeowFlags(),'autoHelp':![],'autoVersion':![]}),_0x2e9fe0=[..._0x5b213c[_0x1b26d6(0x157)]],_0x2cb846=_0x5b213c[_0x1b26d6(0x158)],_0x20a107=_0x2e9fe0[0x0];if(!_0x20a107)throw CliErrors['validation']('Rabetbase\x20argv\x20must\x20include\x20a\x20service\x20and\x20command.');const _0xddbd07=resolveRemovedCommand(_0x20a107,_0x2e9fe0[0x1]);if(_0xddbd07)throw CliErrors['validation'](_0xddbd07['message'],_0xddbd07[_0x1b26d6(0x15f)]);if(_0x20a107==='run')throw CliErrors['validation'](_0x1b26d6(0x14f),_0x1b26d6(0x14c));if(!isKnownService(_0x20a107))throw CliErrors[_0x1b26d6(0x153)](_0x2e9fe0[_0x1b26d6(0x15a)]('\x20'));const _0xc4e0dc=getServiceEntry(_0x20a107),_0x28d383=_0x2e9fe0[0x1],_0x51332f=_0x28d383||_0xc4e0dc[_0x1b26d6(0x151)];if(!_0x51332f){if(_0xc4e0dc[_0x1b26d6(0x150)])return{'definition':_0xc4e0dc[_0x1b26d6(0x150)],'rawFlags':_0x2cb846,'args':[]};throw CliErrors[_0x1b26d6(0x152)](_0x1b26d6(0x161)+_0x20a107+'\x22.');}const _0x41bc75=findDefinition(_0x20a107,_0x51332f);if(_0x41bc75)return assertSupportedCommandFlags(_0x41bc75,_0x2cb846),{'definition':_0x41bc75,'rawFlags':_0x2cb846,'args':_0x2e9fe0['slice'](0x2)};if(_0xc4e0dc[_0x1b26d6(0x150)])return{'definition':_0xc4e0dc['wildcardDef'],'rawFlags':_0x2cb846,'args':[_0x51332f,..._0x2e9fe0['slice'](0x2)]};throw CliErrors[_0x1b26d6(0x153)](_0x20a107+'\x20'+_0x51332f);}
@@ -1 +1 @@
1
- const a323_0x2d6c22=a323_0x1ea0;(function(_0x162454,_0x295a83){const _0x17b941=a323_0x1ea0,_0x24c657=_0x162454();while(!![]){try{const _0x210d1d=-parseInt(_0x17b941(0x187))/0x1+-parseInt(_0x17b941(0x17d))/0x2+parseInt(_0x17b941(0x164))/0x3+-parseInt(_0x17b941(0x154))/0x4*(-parseInt(_0x17b941(0x14e))/0x5)+parseInt(_0x17b941(0x161))/0x6*(-parseInt(_0x17b941(0x178))/0x7)+-parseInt(_0x17b941(0x162))/0x8+-parseInt(_0x17b941(0x168))/0x9*(-parseInt(_0x17b941(0x14f))/0xa);if(_0x210d1d===_0x295a83)break;else _0x24c657['push'](_0x24c657['shift']());}catch(_0x2f4e2b){_0x24c657['push'](_0x24c657['shift']());}}}(a323_0x2ede,0x3ece9));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='rabetbase\x20cli-skill\x20install',SKILL_NAME=a323_0x2d6c22(0x16c),debug=debuglog('rabetbase-skills');function frontmatterValue(_0x517ce3,_0x5823d7){const _0x129916=a323_0x2d6c22;return _0x517ce3[_0x129916(0x17c)](new RegExp('^'+_0x5823d7+_0x129916(0x181),'m'))?.[0x1]?.['trim']()??'';}function a323_0x1ea0(_0x31a6d4,_0x495820){_0x31a6d4=_0x31a6d4-0x14d;const _0x2ede65=a323_0x2ede();let _0x1ea0de=_0x2ede65[_0x31a6d4];return _0x1ea0de;}function listFiles(_0xf5279c,_0x4d0087=_0xf5279c){const _0x4d1a83=a323_0x2d6c22;return readdirSync(_0x4d0087,{'withFileTypes':!![]})[_0x4d1a83(0x157)](_0x183dc2=>{const _0x1d1fe5=_0x4d1a83,_0x3d5d5a=join(_0x4d0087,_0x183dc2[_0x1d1fe5(0x18a)]),_0x45e757=lstatSync(_0x3d5d5a);if(_0x45e757[_0x1d1fe5(0x150)]())throw new Error(_0x1d1fe5(0x16f)+_0x3d5d5a);if(_0x45e757[_0x1d1fe5(0x169)]())return listFiles(_0xf5279c,_0x3d5d5a);if(!_0x45e757['isFile']())throw new Error('Unsupported\x20Skill\x20entry:\x20'+_0x3d5d5a);return[relative(_0xf5279c,_0x3d5d5a)[_0x1d1fe5(0x156)](sep)[_0x1d1fe5(0x184)]('/')];})[_0x4d1a83(0x188)]((_0x39d56c,_0x2d264c)=>_0x39d56c<_0x2d264c?-0x1:_0x39d56c>_0x2d264c?0x1:0x0);}function digestFiles(_0x1a0a42,_0x32c15f){const _0x2fa63e=a323_0x2d6c22,_0x50e1ae=createHash('sha256');for(const _0x360136 of _0x32c15f){if(_0x360136[_0x2fa63e(0x15c)]('/')||_0x360136[_0x2fa63e(0x156)]('/')[_0x2fa63e(0x18d)]('..')||_0x360136[_0x2fa63e(0x18d)]('\x5c'))throw new Error(_0x2fa63e(0x15d)+_0x360136);_0x50e1ae[_0x2fa63e(0x17e)](_0x360136),_0x50e1ae[_0x2fa63e(0x17e)]('\x00'),_0x50e1ae[_0x2fa63e(0x17e)](readFileSync(join(_0x1a0a42,..._0x360136[_0x2fa63e(0x156)]('/')))),_0x50e1ae['update']('\x00');}return _0x50e1ae[_0x2fa63e(0x17b)](_0x2fa63e(0x175));}function sameFiles(_0x5cee62,_0x1ce7f5){const _0x4ec80c=a323_0x2d6c22;return _0x5cee62[_0x4ec80c(0x153)]===_0x1ce7f5[_0x4ec80c(0x153)]&&_0x5cee62[_0x4ec80c(0x158)]((_0x304edd,_0x18b7df)=>_0x304edd===_0x1ce7f5[_0x18b7df]);}function readSource(_0x5bb140){const _0x354929=a323_0x2d6c22,_0x53275f=JSON['parse'](readFileSync(join(_0x5bb140,'package.json'),_0x354929(0x16b))),_0xa2bad0=JSON[_0x354929(0x186)](readFileSync(join(_0x5bb140,'skills',_0x354929(0x15e)),_0x354929(0x16b))),_0x338960=join(_0x5bb140,_0x354929(0x17f),SKILL_NAME),_0x2d9f5e=frontmatterValue(readFileSync(join(_0x338960,_0x354929(0x16e)),_0x354929(0x16b)),'version'),_0x1435f5=listFiles(_0x338960);if(_0xa2bad0[_0x354929(0x155)]!==0x1||_0xa2bad0[_0x354929(0x18a)]!==SKILL_NAME||!_0x53275f['version']||_0xa2bad0[_0x354929(0x15a)]!==_0x53275f[_0x354929(0x173)]||_0xa2bad0[_0x354929(0x191)]!==_0x53275f['version']||_0x2d9f5e!==_0x53275f[_0x354929(0x173)]||!sameFiles(_0x1435f5,_0xa2bad0[_0x354929(0x152)])||digestFiles(_0x338960,_0x1435f5)!==_0xa2bad0[_0x354929(0x17b)])throw new Error(_0x354929(0x16a));return{'packageVersion':_0x53275f[_0x354929(0x173)],'skillVersion':_0x2d9f5e,'root':_0x338960,'manifest':_0xa2bad0};}function installedSkillPath(_0x1bcdd2){const _0xc2c074=a323_0x2d6c22,_0xf8e390=resolveInstalledSkill(SKILL_NAME,{'home':_0x1bcdd2});if(_0xf8e390['state']===_0xc2c074(0x172))return{'state':_0xc2c074(0x172),'path':dirname(_0xf8e390[_0xc2c074(0x167)])};if(_0xf8e390[_0xc2c074(0x18b)]==='absent')return{'state':_0xc2c074(0x163)};return{'state':_0xc2c074(0x170),'reason':_0xf8e390[_0xc2c074(0x18f)]};}export function inspectInstalledBuiltinSkillVersion(_0x578e8e,_0x3f1cd4={}){const _0x155aa4=a323_0x2d6c22,_0x1f5299=installedSkillPath(_0x3f1cd4[_0x155aa4(0x15b)]??homedir());if(_0x1f5299[_0x155aa4(0x18b)]===_0x155aa4(0x163))return{'state':_0x155aa4(0x163),'expectedVersion':_0x578e8e,'repairCommand':REPAIR_COMMAND};if(_0x1f5299[_0x155aa4(0x18b)]===_0x155aa4(0x170))return{'state':_0x155aa4(0x170),'expectedVersion':_0x578e8e,'reason':_0x1f5299[_0x155aa4(0x18f)],'repairCommand':REPAIR_COMMAND};try{const _0x2faa1e=frontmatterValue(readFileSync(join(_0x1f5299[_0x155aa4(0x167)],_0x155aa4(0x16e)),_0x155aa4(0x16b)),'version');return{'state':_0x2faa1e===_0x578e8e?_0x155aa4(0x17a):_0x155aa4(0x18c),'expectedVersion':_0x578e8e,'skillVersion':_0x2faa1e,'installedPath':_0x1f5299[_0x155aa4(0x167)],'repairCommand':REPAIR_COMMAND};}catch(_0xce0897){return{'state':_0x155aa4(0x170),'expectedVersion':_0x578e8e,'installedPath':_0x1f5299[_0x155aa4(0x167)],'reason':_0xce0897 instanceof Error?_0xce0897['message']:String(_0xce0897),'repairCommand':REPAIR_COMMAND};}}export function inspectBuiltinSkill(_0x3592c4={}){const _0x5b0eeb=a323_0x2d6c22,_0x4a6953=_0x3592c4[_0x5b0eeb(0x189)]??DEFAULT_PACKAGE_ROOT;let _0x12031a;try{_0x12031a=readSource(_0x4a6953);}catch(_0xe8c3ea){return{'state':_0x5b0eeb(0x170),'packageVersion':_0x5b0eeb(0x174),'reason':_0xe8c3ea instanceof Error?_0xe8c3ea[_0x5b0eeb(0x16d)]:String(_0xe8c3ea),'repairCommand':REPAIR_COMMAND};}const _0x52101d=installedSkillPath(_0x3592c4[_0x5b0eeb(0x15b)]??homedir());if(_0x52101d[_0x5b0eeb(0x18b)]===_0x5b0eeb(0x163))return{'state':_0x5b0eeb(0x163),'packageVersion':_0x12031a[_0x5b0eeb(0x15a)],'repairCommand':REPAIR_COMMAND};if(_0x52101d['state']===_0x5b0eeb(0x170))return{'state':_0x5b0eeb(0x170),'packageVersion':_0x12031a[_0x5b0eeb(0x15a)],'reason':_0x52101d['reason'],'repairCommand':REPAIR_COMMAND};try{const _0x23d6ce=frontmatterValue(readFileSync(join(_0x52101d['path'],_0x5b0eeb(0x16e)),_0x5b0eeb(0x16b)),_0x5b0eeb(0x173));if(_0x23d6ce!==_0x12031a[_0x5b0eeb(0x191)])return{'state':_0x5b0eeb(0x18c),'packageVersion':_0x12031a[_0x5b0eeb(0x15a)],'skillVersion':_0x23d6ce,'installedPath':_0x52101d[_0x5b0eeb(0x167)],'repairCommand':REPAIR_COMMAND};const _0x5471ed=listFiles(_0x52101d[_0x5b0eeb(0x167)]),_0x47e1bf=digestFiles(_0x52101d[_0x5b0eeb(0x167)],_0x5471ed);return{'state':sameFiles(_0x5471ed,_0x12031a[_0x5b0eeb(0x15f)]['files'])&&_0x47e1bf===_0x12031a[_0x5b0eeb(0x15f)][_0x5b0eeb(0x17b)]?_0x5b0eeb(0x17a):_0x5b0eeb(0x151),'packageVersion':_0x12031a[_0x5b0eeb(0x15a)],'skillVersion':_0x23d6ce,'installedPath':_0x52101d[_0x5b0eeb(0x167)],'digest':_0x47e1bf,'repairCommand':REPAIR_COMMAND};}catch(_0x478c8e){return{'state':_0x5b0eeb(0x170),'packageVersion':_0x12031a[_0x5b0eeb(0x15a)],'installedPath':_0x52101d[_0x5b0eeb(0x167)],'reason':_0x478c8e instanceof Error?_0x478c8e[_0x5b0eeb(0x16d)]:String(_0x478c8e),'repairCommand':REPAIR_COMMAND};}}function a323_0x2ede(){const _0x4b5e71=['version','unknown','hex','output','Installed\x20Skill\x20state\x20is\x20','91jjhoVZ','skipped','current','digest','match','85836LtmbDr','update','skills','VERIFY_FAILED',':\x5cs*(.+)$','error','SOURCE_INVALID','join','Installer\x20reported\x20partial\x20target\x20failures:\x0a%s','parse','198860soEZLW','sort','packageRoot','name','state','version_mismatch','includes','installedPath','reason','\x20automatically\x20selected\x20installation\x20target(s)\x20could\x20not\x20be\x20installed.','skillVersion','\x20verified;\x20','135875WNKZWc','210770zLJFBI','isSymbolicLink','content_mismatch','files','length','20geGAgL','schemaVersion','split','flatMap','every','log','packageVersion','home','startsWith','Unsafe\x20manifest\x20path:\x20','rabetbase.manifest.json','manifest','skills@latest\x20exited\x20','138930IwkVix','229608TSNMcE','missing','750777YnGrsG','partialFailure','status','path','189MGGnVs','isDirectory','Built-in\x20Skill\x20source\x20does\x20not\x20match\x20its\x20package\x20manifest','utf8','rabetbase','message','SKILL.md','Symbolic\x20link\x20is\x20not\x20allowed:\x20','unverifiable','stdio','present'];a323_0x2ede=function(){return _0x4b5e71;};return a323_0x2ede();}function failure(_0x3100a3,_0x3a04d9,_0x4b7a90,_0x458b89){const _0x195367=a323_0x2d6c22;return{'ok':![],'code':_0x3100a3,'packageVersion':_0x3a04d9[_0x195367(0x15a)],'skillVersion':_0x3a04d9[_0x195367(0x191)],'installedPath':_0x458b89,'changed':![],'repairCommand':REPAIR_COMMAND,'error':_0x4b7a90 instanceof Error?_0x4b7a90['message']:String(_0x4b7a90)};}export function installBuiltinSkill(_0x32ddb6={}){const _0x3fae30=a323_0x2d6c22,_0x300b22=_0x32ddb6[_0x3fae30(0x189)]??DEFAULT_PACKAGE_ROOT,_0x335562=_0x32ddb6[_0x3fae30(0x15b)]??homedir();let _0x326493;try{_0x326493=readSource(_0x300b22);}catch(_0x19c100){return failure(_0x3fae30(0x183),{'packageVersion':_0x3fae30(0x174),'skillVersion':_0x3fae30(0x174)},_0x19c100);}const _0x2e2516=inspectBuiltinSkill({'packageRoot':_0x300b22,'home':_0x335562}),_0x1cf809=runNpxSkillsAddGlobal(_0x300b22,_0x326493['root'],{'stdio':_0x32ddb6[_0x3fae30(0x171)]??'pipe','expectedSkillName':SKILL_NAME,'presence':{'home':_0x335562}});if(_0x1cf809[_0x3fae30(0x179)])return{'ok':!![],'packageVersion':_0x326493[_0x3fae30(0x15a)],'skillVersion':_0x326493[_0x3fae30(0x191)],'installedPath':_0x2e2516[_0x3fae30(0x18e)],'changed':![],'repairCommand':REPAIR_COMMAND};if(!_0x1cf809['ok'])return failure('INSTALL_FAILED',_0x326493,_0x1cf809[_0x3fae30(0x182)]??_0x3fae30(0x160)+_0x1cf809[_0x3fae30(0x166)]);const _0x4c09c7=inspectBuiltinSkill({'packageRoot':_0x300b22,'home':_0x335562});if(_0x4c09c7[_0x3fae30(0x18b)]!=='current'){const _0x35ca06=_0x4c09c7[_0x3fae30(0x18f)]??_0x3fae30(0x177)+_0x4c09c7[_0x3fae30(0x18b)];return failure(_0x3fae30(0x180),_0x326493,_0x1cf809[_0x3fae30(0x165)]?_0x35ca06+'\x0a'+_0x1cf809[_0x3fae30(0x165)]['output']:_0x35ca06,_0x4c09c7['installedPath']);}return _0x1cf809[_0x3fae30(0x165)]&&(debug(_0x3fae30(0x185),_0x1cf809[_0x3fae30(0x165)][_0x3fae30(0x176)]),console[_0x3fae30(0x159)]('CLI\x20Built-in\x20Skill\x20'+_0x326493[_0x3fae30(0x191)]+_0x3fae30(0x14d)+_0x1cf809[_0x3fae30(0x165)]['count']+_0x3fae30(0x190))),{'ok':!![],'packageVersion':_0x326493['packageVersion'],'skillVersion':_0x326493[_0x3fae30(0x191)],'installedPath':_0x4c09c7[_0x3fae30(0x18e)],'changed':_0x2e2516[_0x3fae30(0x18b)]!==_0x3fae30(0x17a),'repairCommand':REPAIR_COMMAND};}
1
+ const a323_0x46f6f0=a323_0xf07e;(function(_0x3d5b74,_0x5e2b81){const _0x52b4ab=a323_0xf07e,_0x55d21a=_0x3d5b74();while(!![]){try{const _0x1e4086=-parseInt(_0x52b4ab(0x1e6))/0x1*(parseInt(_0x52b4ab(0x203))/0x2)+parseInt(_0x52b4ab(0x20d))/0x3+-parseInt(_0x52b4ab(0x20c))/0x4*(-parseInt(_0x52b4ab(0x209))/0x5)+-parseInt(_0x52b4ab(0x1e7))/0x6*(-parseInt(_0x52b4ab(0x20f))/0x7)+-parseInt(_0x52b4ab(0x226))/0x8+parseInt(_0x52b4ab(0x1fa))/0x9+-parseInt(_0x52b4ab(0x20b))/0xa*(parseInt(_0x52b4ab(0x224))/0xb);if(_0x1e4086===_0x5e2b81)break;else _0x55d21a['push'](_0x55d21a['shift']());}catch(_0x282545){_0x55d21a['push'](_0x55d21a['shift']());}}}(a323_0x431a,0x91443));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 a323_0xf07e(_0xb7c37e,_0x79ca0d){_0xb7c37e=_0xb7c37e-0x1e3;const _0x431ab5=a323_0x431a();let _0xf07ed7=_0x431ab5[_0xb7c37e];return _0xf07ed7;}import{resolveInstalledSkill}from'../skills/skill-presence.js';function a323_0x431a(){const _0x199b04=['output','Installer\x20reported\x20partial\x20target\x20failures:\x0a%s','reason','join','Symbolic\x20link\x20is\x20not\x20allowed:\x20','VERIFY_FAILED','startsWith','202euHffl','files','\x20automatically\x20selected\x20installation\x20target(s)\x20could\x20not\x20be\x20installed.','skills@latest\x20exited\x20','root','flatMap','345atsyAD','count','470CoZdYO','38312GKHIjU','2551935dURBzj','Installed\x20Skill\x20state\x20is\x20','553210jeHYkt','update','missing','every','skillVersion','version','Unsupported\x20Skill\x20entry:\x20','unverifiable','skills','isSymbolicLink','trim','present','hex','isDirectory','status','sort','home','error','utf8','SKILL.md','digest','399091ihLvoB','length','4475272gUgGBo','schemaVersion','packageRoot','version_mismatch','path','message','Built-in\x20Skill\x20source\x20does\x20not\x20match\x20its\x20package\x20manifest','parse','7234kzbZnx','84hgKLTw','rabetbase','content_mismatch','current','pipe','split','name','rabetbase\x20cli-skill\x20install','partialFailure','state','includes','packageVersion','rabetbase.manifest.json',':\x5cs*(.+)$','\x20verified;\x20','installedPath','match','unknown','stdio','8750826dvafak','package.json'];a323_0x431a=function(){return _0x199b04;};return a323_0x431a();}const DEFAULT_PACKAGE_ROOT=resolve(dirname(fileURLToPath(import.meta.url)),'..','..'),REPAIR_COMMAND=a323_0x46f6f0(0x1ee),SKILL_NAME=a323_0x46f6f0(0x1e8),debug=debuglog('rabetbase-skills');function frontmatterValue(_0x5e6f9d,_0x444afc){const _0x254cb5=a323_0x46f6f0;return _0x5e6f9d[_0x254cb5(0x1f7)](new RegExp('^'+_0x444afc+_0x254cb5(0x1f4),'m'))?.[0x1]?.[_0x254cb5(0x219)]()??'';}function listFiles(_0x13e11e,_0x4bb5f0=_0x13e11e){const _0x24bbac=a323_0x46f6f0;return readdirSync(_0x4bb5f0,{'withFileTypes':!![]})[_0x24bbac(0x208)](_0x16cd02=>{const _0xc025e1=_0x24bbac,_0x464033=join(_0x4bb5f0,_0x16cd02[_0xc025e1(0x1ed)]),_0xcc1f9e=lstatSync(_0x464033);if(_0xcc1f9e[_0xc025e1(0x218)]())throw new Error(_0xc025e1(0x200)+_0x464033);if(_0xcc1f9e[_0xc025e1(0x21c)]())return listFiles(_0x13e11e,_0x464033);if(!_0xcc1f9e['isFile']())throw new Error(_0xc025e1(0x215)+_0x464033);return[relative(_0x13e11e,_0x464033)[_0xc025e1(0x1ec)](sep)[_0xc025e1(0x1ff)]('/')];})[_0x24bbac(0x21e)]((_0x3402d9,_0x14056e)=>_0x3402d9<_0x14056e?-0x1:_0x3402d9>_0x14056e?0x1:0x0);}function digestFiles(_0x4008b4,_0x202015){const _0x49b9ae=a323_0x46f6f0,_0xbbfa19=createHash('sha256');for(const _0x14d034 of _0x202015){if(_0x14d034[_0x49b9ae(0x202)]('/')||_0x14d034[_0x49b9ae(0x1ec)]('/')[_0x49b9ae(0x1f1)]('..')||_0x14d034[_0x49b9ae(0x1f1)]('\x5c'))throw new Error('Unsafe\x20manifest\x20path:\x20'+_0x14d034);_0xbbfa19[_0x49b9ae(0x210)](_0x14d034),_0xbbfa19[_0x49b9ae(0x210)]('\x00'),_0xbbfa19['update'](readFileSync(join(_0x4008b4,..._0x14d034[_0x49b9ae(0x1ec)]('/')))),_0xbbfa19['update']('\x00');}return _0xbbfa19[_0x49b9ae(0x223)](_0x49b9ae(0x21b));}function sameFiles(_0x43613a,_0x3c3f40){const _0x51c31a=a323_0x46f6f0;return _0x43613a[_0x51c31a(0x225)]===_0x3c3f40['length']&&_0x43613a[_0x51c31a(0x212)]((_0x1714f1,_0x40683b)=>_0x1714f1===_0x3c3f40[_0x40683b]);}function readSource(_0x5e798e){const _0x4d8c1c=a323_0x46f6f0,_0x1d7dad=JSON['parse'](readFileSync(join(_0x5e798e,_0x4d8c1c(0x1fb)),_0x4d8c1c(0x221))),_0x3b6803=JSON[_0x4d8c1c(0x1e5)](readFileSync(join(_0x5e798e,_0x4d8c1c(0x217),_0x4d8c1c(0x1f3)),_0x4d8c1c(0x221))),_0x122018=join(_0x5e798e,_0x4d8c1c(0x217),SKILL_NAME),_0x5982f7=frontmatterValue(readFileSync(join(_0x122018,_0x4d8c1c(0x222)),_0x4d8c1c(0x221)),_0x4d8c1c(0x214)),_0x425785=listFiles(_0x122018);if(_0x3b6803[_0x4d8c1c(0x227)]!==0x1||_0x3b6803[_0x4d8c1c(0x1ed)]!==SKILL_NAME||!_0x1d7dad[_0x4d8c1c(0x214)]||_0x3b6803['packageVersion']!==_0x1d7dad['version']||_0x3b6803[_0x4d8c1c(0x213)]!==_0x1d7dad[_0x4d8c1c(0x214)]||_0x5982f7!==_0x1d7dad[_0x4d8c1c(0x214)]||!sameFiles(_0x425785,_0x3b6803[_0x4d8c1c(0x204)])||digestFiles(_0x122018,_0x425785)!==_0x3b6803['digest'])throw new Error(_0x4d8c1c(0x1e4));return{'packageVersion':_0x1d7dad[_0x4d8c1c(0x214)],'skillVersion':_0x5982f7,'root':_0x122018,'manifest':_0x3b6803};}function installedSkillPath(_0x11ca18){const _0x54468a=a323_0x46f6f0,_0x5657d8=resolveInstalledSkill(SKILL_NAME,{'home':_0x11ca18});if(_0x5657d8[_0x54468a(0x1f0)]===_0x54468a(0x21a))return{'state':_0x54468a(0x21a),'path':dirname(_0x5657d8[_0x54468a(0x22a)])};if(_0x5657d8[_0x54468a(0x1f0)]==='absent')return{'state':'missing'};return{'state':'unverifiable','reason':_0x5657d8[_0x54468a(0x1fe)]};}export function inspectInstalledBuiltinSkillVersion(_0x1714b5,_0x707a6={}){const _0x26fda1=a323_0x46f6f0,_0xc5fb8e=installedSkillPath(_0x707a6[_0x26fda1(0x21f)]??homedir());if(_0xc5fb8e['state']===_0x26fda1(0x211))return{'state':_0x26fda1(0x211),'expectedVersion':_0x1714b5,'repairCommand':REPAIR_COMMAND};if(_0xc5fb8e[_0x26fda1(0x1f0)]===_0x26fda1(0x216))return{'state':_0x26fda1(0x216),'expectedVersion':_0x1714b5,'reason':_0xc5fb8e[_0x26fda1(0x1fe)],'repairCommand':REPAIR_COMMAND};try{const _0x453a9d=frontmatterValue(readFileSync(join(_0xc5fb8e[_0x26fda1(0x22a)],'SKILL.md'),_0x26fda1(0x221)),_0x26fda1(0x214));return{'state':_0x453a9d===_0x1714b5?_0x26fda1(0x1ea):'version_mismatch','expectedVersion':_0x1714b5,'skillVersion':_0x453a9d,'installedPath':_0xc5fb8e[_0x26fda1(0x22a)],'repairCommand':REPAIR_COMMAND};}catch(_0x84b581){return{'state':_0x26fda1(0x216),'expectedVersion':_0x1714b5,'installedPath':_0xc5fb8e[_0x26fda1(0x22a)],'reason':_0x84b581 instanceof Error?_0x84b581[_0x26fda1(0x1e3)]:String(_0x84b581),'repairCommand':REPAIR_COMMAND};}}export function inspectBuiltinSkill(_0x5104d7={}){const _0x54db35=a323_0x46f6f0,_0x2f4906=_0x5104d7[_0x54db35(0x228)]??DEFAULT_PACKAGE_ROOT;let _0x1c5989;try{_0x1c5989=readSource(_0x2f4906);}catch(_0x5eaa56){return{'state':_0x54db35(0x216),'packageVersion':_0x54db35(0x1f8),'reason':_0x5eaa56 instanceof Error?_0x5eaa56[_0x54db35(0x1e3)]:String(_0x5eaa56),'repairCommand':REPAIR_COMMAND};}const _0xb42dd7=installedSkillPath(_0x5104d7[_0x54db35(0x21f)]??homedir());if(_0xb42dd7[_0x54db35(0x1f0)]===_0x54db35(0x211))return{'state':_0x54db35(0x211),'packageVersion':_0x1c5989[_0x54db35(0x1f2)],'repairCommand':REPAIR_COMMAND};if(_0xb42dd7[_0x54db35(0x1f0)]===_0x54db35(0x216))return{'state':_0x54db35(0x216),'packageVersion':_0x1c5989['packageVersion'],'reason':_0xb42dd7[_0x54db35(0x1fe)],'repairCommand':REPAIR_COMMAND};try{const _0x5aed05=frontmatterValue(readFileSync(join(_0xb42dd7['path'],'SKILL.md'),_0x54db35(0x221)),'version');if(_0x5aed05!==_0x1c5989[_0x54db35(0x213)])return{'state':_0x54db35(0x229),'packageVersion':_0x1c5989[_0x54db35(0x1f2)],'skillVersion':_0x5aed05,'installedPath':_0xb42dd7['path'],'repairCommand':REPAIR_COMMAND};const _0x538a55=listFiles(_0xb42dd7[_0x54db35(0x22a)]),_0x543353=digestFiles(_0xb42dd7[_0x54db35(0x22a)],_0x538a55);return{'state':sameFiles(_0x538a55,_0x1c5989['manifest']['files'])&&_0x543353===_0x1c5989['manifest'][_0x54db35(0x223)]?_0x54db35(0x1ea):_0x54db35(0x1e9),'packageVersion':_0x1c5989[_0x54db35(0x1f2)],'skillVersion':_0x5aed05,'installedPath':_0xb42dd7['path'],'digest':_0x543353,'repairCommand':REPAIR_COMMAND};}catch(_0x3a7f03){return{'state':_0x54db35(0x216),'packageVersion':_0x1c5989[_0x54db35(0x1f2)],'installedPath':_0xb42dd7[_0x54db35(0x22a)],'reason':_0x3a7f03 instanceof Error?_0x3a7f03[_0x54db35(0x1e3)]:String(_0x3a7f03),'repairCommand':REPAIR_COMMAND};}}function failure(_0x44f17d,_0x4853f1,_0x22a6c2,_0x290c9a){const _0x150fc1=a323_0x46f6f0;return{'ok':![],'code':_0x44f17d,'packageVersion':_0x4853f1[_0x150fc1(0x1f2)],'skillVersion':_0x4853f1['skillVersion'],'installedPath':_0x290c9a,'changed':![],'repairCommand':REPAIR_COMMAND,'error':_0x22a6c2 instanceof Error?_0x22a6c2['message']:String(_0x22a6c2)};}export function installBuiltinSkill(_0x2ba271={}){const _0x1892ff=a323_0x46f6f0,_0xe11b4=_0x2ba271[_0x1892ff(0x228)]??DEFAULT_PACKAGE_ROOT,_0x20431b=_0x2ba271['home']??homedir();let _0x46917d;try{_0x46917d=readSource(_0xe11b4);}catch(_0x435154){return failure('SOURCE_INVALID',{'packageVersion':_0x1892ff(0x1f8),'skillVersion':'unknown'},_0x435154);}const _0x54ca42=inspectBuiltinSkill({'packageRoot':_0xe11b4,'home':_0x20431b}),_0x158eeb=runNpxSkillsAddGlobal(_0xe11b4,_0x46917d[_0x1892ff(0x207)],{'stdio':_0x2ba271[_0x1892ff(0x1f9)]??_0x1892ff(0x1eb),'expectedSkillName':SKILL_NAME,'presence':{'home':_0x20431b}});if(_0x158eeb['skipped'])return{'ok':!![],'packageVersion':_0x46917d['packageVersion'],'skillVersion':_0x46917d[_0x1892ff(0x213)],'installedPath':_0x54ca42['installedPath'],'changed':![],'repairCommand':REPAIR_COMMAND};if(!_0x158eeb['ok'])return failure('INSTALL_FAILED',_0x46917d,_0x158eeb[_0x1892ff(0x220)]??_0x1892ff(0x206)+_0x158eeb[_0x1892ff(0x21d)]);const _0x1c680e=inspectBuiltinSkill({'packageRoot':_0xe11b4,'home':_0x20431b});if(_0x1c680e[_0x1892ff(0x1f0)]!==_0x1892ff(0x1ea)){const _0x53d669=_0x1c680e[_0x1892ff(0x1fe)]??_0x1892ff(0x20e)+_0x1c680e[_0x1892ff(0x1f0)];return failure(_0x1892ff(0x201),_0x46917d,_0x158eeb[_0x1892ff(0x1ef)]?_0x53d669+'\x0a'+_0x158eeb[_0x1892ff(0x1ef)][_0x1892ff(0x1fc)]:_0x53d669,_0x1c680e[_0x1892ff(0x1f6)]);}return _0x158eeb[_0x1892ff(0x1ef)]&&(debug(_0x1892ff(0x1fd),_0x158eeb[_0x1892ff(0x1ef)][_0x1892ff(0x1fc)]),console['log']('CLI\x20Built-in\x20Skill\x20'+_0x46917d[_0x1892ff(0x213)]+_0x1892ff(0x1f5)+_0x158eeb[_0x1892ff(0x1ef)][_0x1892ff(0x20a)]+_0x1892ff(0x205))),{'ok':!![],'packageVersion':_0x46917d[_0x1892ff(0x1f2)],'skillVersion':_0x46917d['skillVersion'],'installedPath':_0x1c680e[_0x1892ff(0x1f6)],'changed':_0x54ca42[_0x1892ff(0x1f0)]!==_0x1892ff(0x1ea),'repairCommand':REPAIR_COMMAND};}
@@ -1 +1 @@
1
- (function(_0x27f35e,_0x1f6864){const _0x440e34=a324_0x2122,_0x136bf8=_0x27f35e();while(!![]){try{const _0x3b98fc=-parseInt(_0x440e34(0xc7))/0x1*(-parseInt(_0x440e34(0xe0))/0x2)+-parseInt(_0x440e34(0xd8))/0x3+-parseInt(_0x440e34(0xd5))/0x4*(-parseInt(_0x440e34(0xdc))/0x5)+-parseInt(_0x440e34(0xc2))/0x6*(parseInt(_0x440e34(0xd1))/0x7)+-parseInt(_0x440e34(0xca))/0x8+parseInt(_0x440e34(0xd6))/0x9+parseInt(_0x440e34(0xc9))/0xa;if(_0x3b98fc===_0x1f6864)break;else _0x136bf8['push'](_0x136bf8['shift']());}catch(_0x3f0de0){_0x136bf8['push'](_0x136bf8['shift']());}}}(a324_0x4fbb,0x75195));import{logger}from'../utils/logger.js';import{CLI_BIN_NAME}from'../constant/cli.js';function a324_0x2122(_0x4a1941,_0x4e57d7){_0x4a1941=_0x4a1941-0xc2;const _0x4fbb0b=a324_0x4fbb();let _0x2122ca=_0x4fbb0b[_0x4a1941];return _0x2122ca;}import{NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE}from'../skills/npx-skills-add.js';export function camelCaseFlagsToKebab(_0x28f146){const _0x555181=a324_0x2122,_0x433a34=[];for(const [_0x474f6e,_0x5f1bc7]of Object[_0x555181(0xd7)](_0x28f146)){if(_0x5f1bc7===!![]){const _0x5417b6=_0x474f6e[_0x555181(0xc3)](/([A-Z])/g,'-$1')[_0x555181(0xc6)]();_0x433a34[_0x555181(0xe3)](_0x5417b6);}}return _0x433a34;}export function parseDynamicFlags(){const _0x2ae5cd=a324_0x2122,_0x26a3ca=[];for(let _0x416518=0x3;_0x416518<process[_0x2ae5cd(0xd3)][_0x2ae5cd(0xc5)];_0x416518++){const _0x3108a9=process['argv'][_0x416518];if(_0x3108a9&&_0x3108a9[_0x2ae5cd(0xc4)]('--')){const _0x5bea8d=_0x3108a9[_0x2ae5cd(0xc8)](0x2);_0x5bea8d&&!_0x5bea8d['includes']('=')&&_0x26a3ca[_0x2ae5cd(0xe3)](_0x5bea8d);}}return _0x26a3ca;}export function getAllProvidedFlags(_0x1e1b98){const _0x292b1e=camelCaseFlagsToKebab(_0x1e1b98),_0x56316e=parseDynamicFlags(),_0x18b90d=new Set([..._0x292b1e,..._0x56316e]);return Array['from'](_0x18b90d);}export function normalizeLegacyBffSaveFlags(_0x593a76){const _0x1f709d=a324_0x2122,_0x170e62=new Set(_0x593a76);return _0x170e62[_0x1f709d(0xdf)](_0x1f709d(0xde))&&_0x170e62['add']('enable-bff-save'),Array[_0x1f709d(0xe2)](_0x170e62);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;export async function skillsCommand(_0x1e3dc5,_0x5f3520,_0x381c72){const _0x4a064e=a324_0x2122;logger[_0x4a064e(0xdb)](process[_0x4a064e(0xda)]());if(_0x381c72?.[_0x4a064e(0xe4)]||_0x1e3dc5==='--help'){showHelp();return;}console[_0x4a064e(0xdd)]('Error:\x20Unsupported\x20command:\x20'+(_0x1e3dc5||_0x4a064e(0xcd))),console[_0x4a064e(0xcc)](_0x4a064e(0xcb)),console[_0x4a064e(0xcc)]('\x20\x20'+CLI_BIN_NAME+_0x4a064e(0xd4)),console[_0x4a064e(0xcc)](''),console[_0x4a064e(0xcc)](_0x4a064e(0xcf)+SKILLS_INSTALL_COMMAND_LINE),logger[_0x4a064e(0xdd)]('skill',_0x4a064e(0xd2)+_0x1e3dc5),process[_0x4a064e(0xd9)](0x1);}function showHelp(){const _0x31dd37=a324_0x2122;console[_0x31dd37(0xcc)](_0x31dd37(0xd0)+CLI_BIN_NAME+_0x31dd37(0xe1)+SKILLS_INSTALL_COMMAND_LINE+_0x31dd37(0xce));}function a324_0x4fbb(){const _0xd7d22c=['\x0a\x0aNote:\x20cli-skill\x20install\x20uses\x20the\x20npm\x20package-local\x20Skill;\x20the\x20public\x20source\x20is\x20an\x20optional\x20latest\x20mirror.\x0a','Public\x20Open\x20Skill\x20source:\x20','\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','459991zUdKYN','Unsupported\x20command:\x20','argv','\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill','248ChQywD','8552403xKUrQk','entries','1875XrpYHT','exit','cwd','setLogPath','2830MWxFem','error','dangerously-bff-save','has','6TzhGHa','\x20cli-skill\x20install\x0a\x0aPublic\x20Open\x20Skill\x20source:\x20','from','push','help','66noBGsz','replace','startsWith','length','toLowerCase','135377vruLpZ','slice','2187380FjhTzN','3256984sLGkHA','\x0aAvailable\x20commands:','log','(empty)'];a324_0x4fbb=function(){return _0xd7d22c;};return a324_0x4fbb();}
1
+ (function(_0xc2bed5,_0x43a4e5){const _0x1c8bec=a324_0x47f8,_0xe449b7=_0xc2bed5();while(!![]){try{const _0x1d5e6c=parseInt(_0x1c8bec(0x1b5))/0x1+parseInt(_0x1c8bec(0x1c1))/0x2*(parseInt(_0x1c8bec(0x1bd))/0x3)+-parseInt(_0x1c8bec(0x1b6))/0x4*(-parseInt(_0x1c8bec(0x1ae))/0x5)+parseInt(_0x1c8bec(0x1be))/0x6*(parseInt(_0x1c8bec(0x1a5))/0x7)+-parseInt(_0x1c8bec(0x1b4))/0x8+parseInt(_0x1c8bec(0x1a4))/0x9+-parseInt(_0x1c8bec(0x1ab))/0xa*(parseInt(_0x1c8bec(0x1b2))/0xb);if(_0x1d5e6c===_0x43a4e5)break;else _0xe449b7['push'](_0xe449b7['shift']());}catch(_0x31b7ec){_0xe449b7['push'](_0xe449b7['shift']());}}}(a324_0xa0f4,0x73302));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(_0x4ee390){const _0xdc3327=a324_0x47f8,_0x426fa5=[];for(const [_0x3ad1b9,_0x4a887d]of Object['entries'](_0x4ee390)){if(_0x4a887d===!![]){const _0x30d5fe=_0x3ad1b9[_0xdc3327(0x1aa)](/([A-Z])/g,'-$1')[_0xdc3327(0x1a2)]();_0x426fa5[_0xdc3327(0x19f)](_0x30d5fe);}}return _0x426fa5;}function a324_0x47f8(_0x419fe5,_0x1d5116){_0x419fe5=_0x419fe5-0x19d;const _0xa0f42=a324_0xa0f4();let _0x47f823=_0xa0f42[_0x419fe5];return _0x47f823;}export function parseDynamicFlags(){const _0xb9d378=a324_0x47f8,_0x24809b=[];for(let _0x5d49d5=0x3;_0x5d49d5<process[_0xb9d378(0x1ba)]['length'];_0x5d49d5++){const _0xaada50=process[_0xb9d378(0x1ba)][_0x5d49d5];if(_0xaada50&&_0xaada50[_0xb9d378(0x1ad)]('--')){const _0x2cf779=_0xaada50[_0xb9d378(0x1b9)](0x2);_0x2cf779&&!_0x2cf779[_0xb9d378(0x1c0)]('=')&&_0x24809b['push'](_0x2cf779);}}return _0x24809b;}export function getAllProvidedFlags(_0x1531d2){const _0x24838c=camelCaseFlagsToKebab(_0x1531d2),_0x2c0d1f=parseDynamicFlags(),_0x3d766d=new Set([..._0x24838c,..._0x2c0d1f]);return Array['from'](_0x3d766d);}export function normalizeLegacyBffSaveFlags(_0x2e5d74){const _0x33c59f=a324_0x47f8,_0x3d6ea5=new Set(_0x2e5d74);return _0x3d6ea5['has']('dangerously-bff-save')&&_0x3d6ea5[_0x33c59f(0x1a6)](_0x33c59f(0x1b7)),Array[_0x33c59f(0x1a1)](_0x3d6ea5);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;function a324_0xa0f4(){const _0x11363f=['6185382UcqJoX','add','\x0a\x0aNote:\x20cli-skill\x20install\x20uses\x20the\x20npm\x20package-local\x20Skill;\x20the\x20public\x20source\x20is\x20an\x20optional\x20latest\x20mirror.\x0a','cwd','help','replace','10pkKzly','--help','startsWith','8705rHOXEO','\x0aAvailable\x20commands:','log','exit','11771287lLLzRN','skill','3933360BDxVoM','548944omqCjK','28ZhFUMj','enable-bff-save','Error:\x20Unsupported\x20command:\x20','slice','argv','\x20cli-skill\x20install\x0a\x0aPublic\x20Open\x20Skill\x20source:\x20','setLogPath','15pGrXhL','6PWaHyY','error','includes','162312WyItMp','Unsupported\x20command:\x20','\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill','push','(empty)','from','toLowerCase','Public\x20Open\x20Skill\x20source:\x20','1647540gUfKPW'];a324_0xa0f4=function(){return _0x11363f;};return a324_0xa0f4();}export async function skillsCommand(_0x1678c6,_0x1deedc,_0x473c84){const _0x4d540a=a324_0x47f8;logger[_0x4d540a(0x1bc)](process[_0x4d540a(0x1a8)]());if(_0x473c84?.[_0x4d540a(0x1a9)]||_0x1678c6===_0x4d540a(0x1ac)){showHelp();return;}console[_0x4d540a(0x1bf)](_0x4d540a(0x1b8)+(_0x1678c6||_0x4d540a(0x1a0))),console['log'](_0x4d540a(0x1af)),console[_0x4d540a(0x1b0)]('\x20\x20'+CLI_BIN_NAME+_0x4d540a(0x19e)),console['log'](''),console[_0x4d540a(0x1b0)](_0x4d540a(0x1a3)+SKILLS_INSTALL_COMMAND_LINE),logger['error'](_0x4d540a(0x1b3),_0x4d540a(0x19d)+_0x1678c6),process[_0x4d540a(0x1b1)](0x1);}function showHelp(){const _0x6f9e42=a324_0x47f8;console[_0x6f9e42(0x1b0)]('\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20'+CLI_BIN_NAME+_0x6f9e42(0x1bb)+SKILLS_INSTALL_COMMAND_LINE+_0x6f9e42(0x1a7));}