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

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 (389) hide show
  1. package/README.md +8 -2
  2. package/lib/api/api-doc.js +1 -1
  3. package/lib/api/api-group.js +1 -1
  4. package/lib/api/fetch-model-list.js +1 -1
  5. package/lib/api/generate-api-file.js +1 -1
  6. package/lib/api/generate-sdk-config-file.js +1 -1
  7. package/lib/api/legacy-api-file.js +1 -1
  8. package/lib/api/model-registry-file.js +1 -1
  9. package/lib/api/model-registry-scaffold.js +1 -1
  10. package/lib/api/model-source.js +1 -1
  11. package/lib/auth/auth-server-ui.js +1 -1
  12. package/lib/auth/auth-server.js +1 -1
  13. package/lib/auth/constant.js +1 -1
  14. package/lib/auth/get-cookie.js +1 -1
  15. package/lib/auth/get-session-user.js +1 -1
  16. package/lib/auth/is-session-valid.js +1 -1
  17. package/lib/auth/login-success-html.js +1 -1
  18. package/lib/auth/logout.js +1 -1
  19. package/lib/cli-flags.js +1 -1
  20. package/lib/cli.js +1 -1
  21. package/lib/commands/api/generate.js +1 -1
  22. package/lib/commands/api/index.js +1 -1
  23. package/lib/commands/api/list.js +1 -1
  24. package/lib/commands/api/pull.js +1 -1
  25. package/lib/commands/api/shared.js +1 -1
  26. package/lib/commands/app/detail.d.ts +2 -0
  27. package/lib/commands/app/detail.js +1 -0
  28. package/lib/commands/app/index.js +1 -1
  29. package/lib/commands/app/list.js +1 -1
  30. package/lib/commands/app/members-list.js +1 -1
  31. package/lib/commands/app/remote-directory.js +1 -1
  32. package/lib/commands/app/shared.js +1 -1
  33. package/lib/commands/app-config/delete.js +1 -1
  34. package/lib/commands/app-config/get.js +1 -1
  35. package/lib/commands/app-config/index.js +1 -1
  36. package/lib/commands/app-config/list.js +1 -1
  37. package/lib/commands/app-config/set.js +1 -1
  38. package/lib/commands/app-config/shared.js +1 -1
  39. package/lib/commands/auth/index.js +1 -1
  40. package/lib/commands/bff/create.js +1 -1
  41. package/lib/commands/bff/delete.js +1 -1
  42. package/lib/commands/bff/detail.js +1 -1
  43. package/lib/commands/bff/index.js +1 -1
  44. package/lib/commands/bff/list.js +1 -1
  45. package/lib/commands/bff/logs.js +1 -1
  46. package/lib/commands/bff/pull.js +1 -1
  47. package/lib/commands/bff/push.js +1 -1
  48. package/lib/commands/bff/status.js +1 -1
  49. package/lib/commands/cli-skill/index.js +1 -1
  50. package/lib/commands/cli-update.js +1 -1
  51. package/lib/commands/codegen/index.js +1 -1
  52. package/lib/commands/codegen/sdk.js +1 -1
  53. package/lib/commands/codegen/sql.js +1 -1
  54. package/lib/commands/common/app-registry.js +1 -1
  55. package/lib/commands/common/app-selector.js +1 -1
  56. package/lib/commands/common/async-task.js +1 -1
  57. package/lib/commands/common/dry-run.js +1 -1
  58. package/lib/commands/common/flags.js +1 -1
  59. package/lib/commands/common/local-file.js +1 -1
  60. package/lib/commands/common/validate.js +1 -1
  61. package/lib/commands/config/delete.js +1 -1
  62. package/lib/commands/config/get.js +1 -1
  63. package/lib/commands/config/index.js +1 -1
  64. package/lib/commands/config/init.js +1 -1
  65. package/lib/commands/config/list.js +1 -1
  66. package/lib/commands/config/set.js +1 -1
  67. package/lib/commands/config/shared.js +1 -1
  68. package/lib/commands/dataset/batch-design.js +1 -1
  69. package/lib/commands/dataset/business-group-update.js +1 -1
  70. package/lib/commands/dataset/business-groups.js +1 -1
  71. package/lib/commands/dataset/capability.js +1 -1
  72. package/lib/commands/dataset/cross-relation-create.js +1 -1
  73. package/lib/commands/dataset/cross-relation-delete.js +1 -1
  74. package/lib/commands/dataset/cross-relation-list.js +1 -1
  75. package/lib/commands/dataset/cross-relation-shared.js +1 -1
  76. package/lib/commands/dataset/cross-relation-update.js +1 -1
  77. package/lib/commands/dataset/delete.js +1 -1
  78. package/lib/commands/dataset/detail.js +1 -1
  79. package/lib/commands/dataset/extend-update.js +1 -1
  80. package/lib/commands/dataset/field-restore.js +1 -1
  81. package/lib/commands/dataset/field-update.js +1 -1
  82. package/lib/commands/dataset/generate.js +1 -1
  83. package/lib/commands/dataset/index.js +1 -1
  84. package/lib/commands/dataset/list.js +1 -1
  85. package/lib/commands/dataset/operations.js +1 -1
  86. package/lib/commands/dataset/relation-audit.js +1 -1
  87. package/lib/commands/dataset/relation-create.js +1 -1
  88. package/lib/commands/dataset/relation-delete.js +1 -1
  89. package/lib/commands/dataset/relation-shared.js +1 -1
  90. package/lib/commands/dataset/relation-update.js +1 -1
  91. package/lib/commands/dataset/relations.js +1 -1
  92. package/lib/commands/dataset/rename.js +1 -1
  93. package/lib/commands/dataset/restore.js +1 -1
  94. package/lib/commands/dataset/user-deleted-field-list.js +1 -1
  95. package/lib/commands/db/analysis-batching.js +1 -1
  96. package/lib/commands/db/analyze-batch-plan.js +1 -1
  97. package/lib/commands/db/analyze-cancel.js +1 -1
  98. package/lib/commands/db/analyze-start.js +1 -1
  99. package/lib/commands/db/analyze-status.js +1 -1
  100. package/lib/commands/db/create.js +1 -1
  101. package/lib/commands/db/delete.js +1 -1
  102. package/lib/commands/db/detail.js +1 -1
  103. package/lib/commands/db/diff-refresh-start.js +1 -1
  104. package/lib/commands/db/diff-refresh-status.js +1 -1
  105. package/lib/commands/db/diff.js +1 -1
  106. package/lib/commands/db/index.js +1 -1
  107. package/lib/commands/db/list.js +1 -1
  108. package/lib/commands/db/shared.js +1 -1
  109. package/lib/commands/db/table-diff-shared.js +1 -1
  110. package/lib/commands/db/tables.js +1 -1
  111. package/lib/commands/db/test.js +1 -1
  112. package/lib/commands/db/update.js +1 -1
  113. package/lib/commands/deployment/index.js +1 -1
  114. package/lib/commands/deployment/sync-all.js +1 -1
  115. package/lib/commands/deployment/sync-jobs.js +1 -1
  116. package/lib/commands/deployment/sync-status.js +1 -1
  117. package/lib/commands/doctor.js +1 -1
  118. package/lib/commands/file/index.js +1 -1
  119. package/lib/commands/flow/create.js +1 -1
  120. package/lib/commands/flow/detail.js +1 -1
  121. package/lib/commands/flow/index.js +1 -1
  122. package/lib/commands/flow/list.js +1 -1
  123. package/lib/commands/flow/publish.js +1 -1
  124. package/lib/commands/flow/runtime-resources-shared.js +1 -1
  125. package/lib/commands/flow/runtime-role-list.js +1 -1
  126. package/lib/commands/flow/runtime-role-user-list.js +1 -1
  127. package/lib/commands/flow/runtime-user-search.js +1 -1
  128. package/lib/commands/flow/shared.js +1 -1
  129. package/lib/commands/flow/update.js +1 -1
  130. package/lib/commands/flow/validate.js +1 -1
  131. package/lib/commands/instant-api-policy/current.js +1 -1
  132. package/lib/commands/instant-api-policy/index.js +1 -1
  133. package/lib/commands/instant-api-policy/init.js +1 -1
  134. package/lib/commands/instant-api-policy/publish.js +1 -1
  135. package/lib/commands/instant-api-policy/pull.js +1 -1
  136. package/lib/commands/instant-api-policy/revision.js +1 -1
  137. package/lib/commands/instant-api-policy/revisions.js +1 -1
  138. package/lib/commands/instant-api-policy/rollback.js +1 -1
  139. package/lib/commands/instant-api-policy/shared.js +1 -1
  140. package/lib/commands/instant-api-policy/validate.js +1 -1
  141. package/lib/commands/issue/index.js +1 -1
  142. package/lib/commands/issue/nudge.js +1 -1
  143. package/lib/commands/issue/report.js +1 -1
  144. package/lib/commands/issue/shared.js +1 -1
  145. package/lib/commands/kb/create.js +1 -1
  146. package/lib/commands/kb/delete.js +1 -1
  147. package/lib/commands/kb/detail.js +1 -1
  148. package/lib/commands/kb/index.js +1 -1
  149. package/lib/commands/kb/list.js +1 -1
  150. package/lib/commands/kb/search.js +1 -1
  151. package/lib/commands/kb/shared.js +1 -1
  152. package/lib/commands/kb/update.js +1 -1
  153. package/lib/commands/logs/index.js +1 -1
  154. package/lib/commands/menu/asset-update.js +1 -1
  155. package/lib/commands/menu/delete.js +1 -1
  156. package/lib/commands/menu/external-link-create.js +1 -1
  157. package/lib/commands/menu/external-link-update.js +1 -1
  158. package/lib/commands/menu/group-create.js +1 -1
  159. package/lib/commands/menu/group-update.js +1 -1
  160. package/lib/commands/menu/index.js +1 -1
  161. package/lib/commands/menu/list.js +1 -1
  162. package/lib/commands/menu/move.js +1 -1
  163. package/lib/commands/menu/regroup-start.js +1 -1
  164. package/lib/commands/menu/rename.js +1 -1
  165. package/lib/commands/menu/shared/compare-table.js +1 -1
  166. package/lib/commands/menu/shared/delete-plan.js +1 -1
  167. package/lib/commands/menu/shared/facts.js +1 -1
  168. package/lib/commands/menu/shared/index.js +1 -1
  169. package/lib/commands/menu/shared/inquirer.js +1 -1
  170. package/lib/commands/menu/shared/local-pages.d.ts +1 -1
  171. package/lib/commands/menu/shared/local-pages.js +1 -1
  172. package/lib/commands/menu/shared/logic.d.ts +3 -1
  173. package/lib/commands/menu/shared/logic.js +1 -1
  174. package/lib/commands/menu/shared/mutations.js +1 -1
  175. package/lib/commands/menu/shared/path.d.ts +2 -0
  176. package/lib/commands/menu/shared/path.js +1 -0
  177. package/lib/commands/menu/shared/service.d.ts +6 -1
  178. package/lib/commands/menu/shared/service.js +1 -1
  179. package/lib/commands/menu/shared/subapp-assets.d.ts +28 -0
  180. package/lib/commands/menu/shared/subapp-assets.js +1 -0
  181. package/lib/commands/menu/shared/sync-core.d.ts +2 -1
  182. package/lib/commands/menu/shared/sync-core.js +1 -1
  183. package/lib/commands/menu/shared/types.d.ts +14 -4
  184. package/lib/commands/menu/shared/update-core.js +1 -1
  185. package/lib/commands/menu/shared/valid-url.js +1 -1
  186. package/lib/commands/menu/subapp-assets-status.d.ts +2 -0
  187. package/lib/commands/menu/subapp-assets-status.js +1 -0
  188. package/lib/commands/menu/subapp-assets-update.d.ts +2 -0
  189. package/lib/commands/menu/subapp-assets-update.js +1 -0
  190. package/lib/commands/menu/sync.js +1 -1
  191. package/lib/commands/menu/visibility-update.js +1 -1
  192. package/lib/commands/notification/config-create.js +1 -1
  193. package/lib/commands/notification/config-delete.js +1 -1
  194. package/lib/commands/notification/config-list.js +1 -1
  195. package/lib/commands/notification/config-update.js +1 -1
  196. package/lib/commands/notification/index.js +1 -1
  197. package/lib/commands/notification/shared.js +1 -1
  198. package/lib/commands/ocr/index.js +1 -1
  199. package/lib/commands/page/create.js +1 -1
  200. package/lib/commands/page/custom/detail.js +1 -1
  201. package/lib/commands/page/custom/list.js +1 -1
  202. package/lib/commands/page/custom/publish.js +1 -1
  203. package/lib/commands/page/custom/shared.js +1 -1
  204. package/lib/commands/page/custom/syntax.js +1 -1
  205. package/lib/commands/page/custom/update.js +1 -1
  206. package/lib/commands/page/data-list-status.js +1 -1
  207. package/lib/commands/page/generate-start.js +1 -1
  208. package/lib/commands/page/generate-status.js +1 -1
  209. package/lib/commands/page/index.js +1 -1
  210. package/lib/commands/page/pull.js +1 -1
  211. package/lib/commands/page/push.js +1 -1
  212. package/lib/commands/page/relation-audit.js +1 -1
  213. package/lib/commands/page/restore.js +1 -1
  214. package/lib/commands/page/shared.js +1 -1
  215. package/lib/commands/page/sync.js +1 -1
  216. package/lib/commands/project/api-architecture-upgrade.js +1 -1
  217. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  218. package/lib/commands/project/create/format-elapsed.js +1 -1
  219. package/lib/commands/project/create/main.js +1 -1
  220. package/lib/commands/project/create/materialize-project-template.js +1 -1
  221. package/lib/commands/project/create/project-name.js +1 -1
  222. package/lib/commands/project/create/project-template-archive.js +1 -1
  223. package/lib/commands/project/create/project-template-path.js +1 -1
  224. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  225. package/lib/commands/project/create/use-format-code.js +1 -1
  226. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  227. package/lib/commands/project/domain-routing-sync.js +1 -1
  228. package/lib/commands/project/index.js +1 -1
  229. package/lib/commands/project/upgrade.js +1 -1
  230. package/lib/commands/registry.js +1 -1
  231. package/lib/commands/role/delete.js +1 -1
  232. package/lib/commands/role/detail.js +1 -1
  233. package/lib/commands/role/index.js +1 -1
  234. package/lib/commands/role/list.js +1 -1
  235. package/lib/commands/role/shared.js +1 -1
  236. package/lib/commands/role/update.js +1 -1
  237. package/lib/commands/role/user-add.js +1 -1
  238. package/lib/commands/role/user-remove.js +1 -1
  239. package/lib/commands/role/user-resolve.js +1 -1
  240. package/lib/commands/rule/get.js +1 -1
  241. package/lib/commands/rule/index.js +1 -1
  242. package/lib/commands/rule/list.js +1 -1
  243. package/lib/commands/rule/set.js +1 -1
  244. package/lib/commands/rule/shared.js +1 -1
  245. package/lib/commands/run/index.js +1 -1
  246. package/lib/commands/schema.js +1 -1
  247. package/lib/commands/sql/create.js +1 -1
  248. package/lib/commands/sql/delete.js +1 -1
  249. package/lib/commands/sql/detail.js +1 -1
  250. package/lib/commands/sql/exec.js +1 -1
  251. package/lib/commands/sql/index.js +1 -1
  252. package/lib/commands/sql/list.js +1 -1
  253. package/lib/commands/sql/pull.js +1 -1
  254. package/lib/commands/sql/push.js +1 -1
  255. package/lib/commands/sql/shared.js +1 -1
  256. package/lib/commands/sql/status.js +1 -1
  257. package/lib/commands/sql/validate.js +1 -1
  258. package/lib/commands/task/index.js +1 -1
  259. package/lib/commands/task/status.js +1 -1
  260. package/lib/commands/tenant/index.js +1 -1
  261. package/lib/commands/tenant/members-list.js +1 -1
  262. package/lib/commands/tenant/shared.js +1 -1
  263. package/lib/commands/user-account/dingding-sandbox-bind.js +1 -1
  264. package/lib/commands/user-account/feishu-bind.js +1 -1
  265. package/lib/commands/user-account/index.js +1 -1
  266. package/lib/commands/workspace/add.js +1 -1
  267. package/lib/commands/workspace/index.js +1 -1
  268. package/lib/commands/workspace/remove.js +1 -1
  269. package/lib/config/domain-config.js +1 -1
  270. package/lib/config/project-domain-routing.js +1 -1
  271. package/lib/config/region-config.js +1 -1
  272. package/lib/config/schema.js +1 -1
  273. package/lib/constant/cdn.js +1 -1
  274. package/lib/constant/cli.js +1 -1
  275. package/lib/constant/defaults.js +1 -1
  276. package/lib/constant/domain.js +1 -1
  277. package/lib/constant/env.js +1 -1
  278. package/lib/constant/output.js +1 -1
  279. package/lib/constant/paths.js +1 -1
  280. package/lib/constant/region.js +1 -1
  281. package/lib/constant/risk.js +1 -1
  282. package/lib/constant/routing-profile.js +1 -1
  283. package/lib/context/app-resolver.js +1 -1
  284. package/lib/context/auth-resolver.js +1 -1
  285. package/lib/context/config-loader.js +1 -1
  286. package/lib/context.js +1 -1
  287. package/lib/core/alias-resolver.js +1 -1
  288. package/lib/core/api-client.d.ts +16 -1
  289. package/lib/core/api-client.js +1 -1
  290. package/lib/core/bff/config.js +1 -1
  291. package/lib/core/bff/file-system.js +1 -1
  292. package/lib/core/bff/hash.js +1 -1
  293. package/lib/core/bff/hook-directory.js +1 -1
  294. package/lib/core/bff/lock.js +1 -1
  295. package/lib/core/bff/utils.js +1 -1
  296. package/lib/core/cross-db-relation.js +1 -1
  297. package/lib/core/db-resolver.js +1 -1
  298. package/lib/core/flow-config.js +1 -1
  299. package/lib/core/instant-api-policy/config.js +1 -1
  300. package/lib/core/kb-search-client.js +1 -1
  301. package/lib/core/page/file-system.js +1 -1
  302. package/lib/core/page/hash.js +1 -1
  303. package/lib/core/page/lock.js +1 -1
  304. package/lib/core/page/lr-smart-jsx.js +1 -1
  305. package/lib/core/sql-index-auditor.js +1 -1
  306. package/lib/core/sql-sync/config.js +1 -1
  307. package/lib/core/sql-sync/file-system.js +1 -1
  308. package/lib/core/sql-sync/hash.js +1 -1
  309. package/lib/core/sql-sync/lock.js +1 -1
  310. package/lib/core/sql-sync/utils.js +1 -1
  311. package/lib/core/sql-validator.js +1 -1
  312. package/lib/errors.js +1 -1
  313. package/lib/framework/build-all-flags.js +1 -1
  314. package/lib/framework/error-output.js +1 -1
  315. package/lib/framework/explicit-yes.js +1 -1
  316. package/lib/framework/flags.js +1 -1
  317. package/lib/framework/help.js +1 -1
  318. package/lib/framework/index.js +1 -1
  319. package/lib/framework/output.js +1 -1
  320. package/lib/framework/response.js +1 -1
  321. package/lib/framework/runner-alias.js +1 -1
  322. package/lib/framework/runner.js +1 -1
  323. package/lib/framework/schema-export.js +1 -1
  324. package/lib/framework/supported-flags.js +1 -1
  325. package/lib/framework/types.js +1 -1
  326. package/lib/generated/build-info.d.ts +4 -4
  327. package/lib/generated/build-info.js +1 -1
  328. package/lib/generated/official-routing.js +1 -1
  329. package/lib/generated/routing-contract.js +1 -1
  330. package/lib/help.js +1 -1
  331. package/lib/postinstall.js +1 -1
  332. package/lib/runtime/confirmation.js +1 -1
  333. package/lib/runtime/event.js +1 -1
  334. package/lib/runtime/index.js +1 -1
  335. package/lib/runtime/queue.js +1 -1
  336. package/lib/runtime/resolve.js +1 -1
  337. package/lib/skills/builtin-skill.js +1 -1
  338. package/lib/skills/main.js +1 -1
  339. package/lib/skills/npx-skills-add.js +1 -1
  340. package/lib/skills/skill-presence.js +1 -1
  341. package/lib/telemetry/cli-command-trace.js +1 -1
  342. package/lib/telemetry/cli-help-trace.js +1 -1
  343. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  344. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  345. package/lib/telemetry/send-cli-trace-log.js +1 -1
  346. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  347. package/lib/utils/ai_config.js +1 -1
  348. package/lib/utils/apply-jq-filter.js +1 -1
  349. package/lib/utils/cdn-config.js +1 -1
  350. package/lib/utils/check-sdk-version.js +1 -1
  351. package/lib/utils/cli-version-check.js +1 -1
  352. package/lib/utils/cli-version-policy.js +1 -1
  353. package/lib/utils/config.js +1 -1
  354. package/lib/utils/entity-with-id.js +1 -1
  355. package/lib/utils/file-utils.js +1 -1
  356. package/lib/utils/guides-cdn.js +1 -1
  357. package/lib/utils/http-client.js +1 -1
  358. package/lib/utils/is-non-interactive.js +1 -1
  359. package/lib/utils/logger.js +1 -1
  360. package/lib/utils/params.js +1 -1
  361. package/lib/utils/platform.js +1 -1
  362. package/lib/utils/sleep.js +1 -1
  363. package/lib/utils/template-replacer.js +1 -1
  364. package/lib/utils/update-notice.js +1 -1
  365. package/lib/utils/version.js +1 -1
  366. package/lib/utils/with-active-cookie.js +1 -1
  367. package/lib/utils/write-cli-side-channel.js +1 -1
  368. package/package.json +1 -1
  369. package/skills/rabetbase/SKILL.md +22 -13
  370. package/skills/rabetbase/guides/backend-function.md +2 -7
  371. package/skills/rabetbase/guides/bff-creation-workflow.md +24 -23
  372. package/skills/rabetbase/guides/host-frontend-integration.md +62 -0
  373. package/skills/rabetbase/guides/independent-deployment.md +45 -0
  374. package/skills/rabetbase/guides/troubleshooting.md +9 -1
  375. package/skills/rabetbase/references/rabetbase-app-detail.md +31 -0
  376. package/skills/rabetbase/references/rabetbase-bff-detail.md +1 -1
  377. package/skills/rabetbase/references/rabetbase-bff-push.md +2 -2
  378. package/skills/rabetbase/references/rabetbase-data-list-status.md +1 -0
  379. package/skills/rabetbase/references/rabetbase-deployment-sync-all.md +5 -1
  380. package/skills/rabetbase/references/rabetbase-menu-asset-update.md +9 -7
  381. package/skills/rabetbase/references/rabetbase-menu-list.md +2 -2
  382. package/skills/rabetbase/references/rabetbase-menu-subapp-assets-status.md +19 -0
  383. package/skills/rabetbase/references/rabetbase-menu-subapp-assets-update.md +27 -0
  384. package/skills/rabetbase/references/rabetbase-menu-sync.md +40 -14
  385. package/skills/rabetbase/references/rabetbase-page-create.md +1 -1
  386. package/skills/rabetbase/references/rabetbase-page-generate-start.md +5 -3
  387. package/skills/rabetbase/references/rabetbase-page-generate-status.md +1 -0
  388. package/skills/rabetbase/references/rabetbase-user-account.md +8 -8
  389. package/skills/rabetbase.manifest.json +8 -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 a311_0x3c9a(){var _0x586d4e=['10SRDMmR','26jjChGW','118989yPdeeJ','18oRibvK','784490yOtnIK','1699zDnCed','45sDLNMU','852299ZQdhlO','528064gHckHx','5096003AtBwaH','78904UnnkQT'];a311_0x3c9a=function(){return _0x586d4e;};return a311_0x3c9a();}function a311_0x1ad1(_0x3e4eb7,_0x40972d){_0x3e4eb7=_0x3e4eb7-0x1ce;var _0x3c9aec=a311_0x3c9a();var _0x1ad1a5=_0x3c9aec[_0x3e4eb7];return _0x1ad1a5;}(function(_0x485abe,_0x229989){var _0x3342b9=a311_0x1ad1,_0x590442=_0x485abe();while(!![]){try{var _0x1f4699=parseInt(_0x3342b9(0x1d8))/0x1*(parseInt(_0x3342b9(0x1d4))/0x2)+parseInt(_0x3342b9(0x1ce))/0x3*(parseInt(_0x3342b9(0x1d2))/0x4)+-parseInt(_0x3342b9(0x1d7))/0x5+parseInt(_0x3342b9(0x1d6))/0x6*(-parseInt(_0x3342b9(0x1cf))/0x7)+-parseInt(_0x3342b9(0x1d0))/0x8+parseInt(_0x3342b9(0x1d5))/0x9+-parseInt(_0x3342b9(0x1d3))/0xa*(-parseInt(_0x3342b9(0x1d1))/0xb);if(_0x1f4699===_0x229989)break;else _0x590442['push'](_0x590442['shift']());}catch(_0x1cd093){_0x590442['push'](_0x590442['shift']());}}}(a311_0x3c9a,0x325d6));export{extractList,extractPaging}from'@lovrabet/cli-framework';
@@ -1 +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(_0x5b3cd8,_0x128436){const _0x3432c5=a312_0x587e,_0xc7feae=_0x5b3cd8();while(!![]){try{const _0x1a8091=-parseInt(_0x3432c5(0x1e0))/0x1*(parseInt(_0x3432c5(0x1d8))/0x2)+parseInt(_0x3432c5(0x1e3))/0x3*(parseInt(_0x3432c5(0x1d1))/0x4)+-parseInt(_0x3432c5(0x1da))/0x5+-parseInt(_0x3432c5(0x1d2))/0x6+-parseInt(_0x3432c5(0x1e7))/0x7+parseInt(_0x3432c5(0x1e5))/0x8+parseInt(_0x3432c5(0x1ea))/0x9;if(_0x1a8091===_0x128436)break;else _0xc7feae['push'](_0xc7feae['shift']());}catch(_0xb21191){_0xc7feae['push'](_0xc7feae['shift']());}}}(a312_0x16a8,0xc2da7));function a312_0x587e(_0x1196c3,_0xa901c7){_0x1196c3=_0x1196c3-0x1d1;const _0x16a846=a312_0x16a8();let _0x587e6b=_0x16a846[_0x1196c3];return _0x587e6b;}import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';function a312_0x16a8(){const _0xb92ed9=['alias','name','922030dKnWcl','length','1255215QyujTi','some','`\x20requires\x20either\x20--code\x20or\x20--alias.','code','string','filePath','2JAsKZX','Available\x20aliases:\x20','validation','16599zQrkXH','flags','2885024HWboJU','type','6161820OvTrTW','join','map','26824563DyNxIs','\x20api\x20pull`\x20first.','profileName','24deOKYm','3137286fUWNiN','Unknown\x20alias\x20\x22','\x22.\x20','No\x20model\x20aliases\x20found\x20in\x20'];a312_0x16a8=function(){return _0xb92ed9;};return a312_0x16a8();}import{resolveApiModelSource}from'../api/model-source.js';export function resolveAliasToCode(_0x11c967,_0x273d10,_0x5749a0,_0x105892,_0x3ade7c,_0x135194){const _0x44f8ff=a312_0x587e,_0x2e1c81=_0x11c967[_0x44f8ff(0x1e4)][_0x44f8ff(0x1db)](_0x45d2ce=>_0x45d2ce[_0x44f8ff(0x1d7)]===_0x44f8ff(0x1dd)&&_0x45d2ce['type']===_0x44f8ff(0x1de)),_0x887b97=_0x11c967[_0x44f8ff(0x1e4)]['some'](_0x41562f=>_0x41562f[_0x44f8ff(0x1d7)]===_0x44f8ff(0x1d6)&&_0x41562f[_0x44f8ff(0x1e6)]==='string');if(!_0x2e1c81||!_0x887b97)return;const _0x50108c=_0x273d10['code']?String(_0x273d10['code']):'',_0x2e03fd=_0x273d10[_0x44f8ff(0x1d6)]?String(_0x273d10[_0x44f8ff(0x1d6)]):'';if(!_0x50108c&&!_0x2e03fd)throw CliErrors['validation']('`'+_0x105892+_0x44f8ff(0x1dc));if(_0x2e03fd&&!_0x50108c){const _0x3e7262=resolveApiModelSource(_0x5749a0,_0x3ade7c,_0x135194),_0x44e5b9=resolveAlias(_0x5749a0,_0x2e03fd,undefined,_0x3e7262[_0x44f8ff(0x1df)],_0x3e7262['profileName']);if(!_0x44e5b9){const _0x14a1c5=listAliases(_0x5749a0,undefined,_0x3e7262['filePath'],_0x3e7262[_0x44f8ff(0x1ec)])[_0x44f8ff(0x1e9)](_0x58ad74=>_0x58ad74['alias']),_0x25891d=_0x14a1c5[_0x44f8ff(0x1d9)]?_0x44f8ff(0x1e1)+_0x14a1c5[_0x44f8ff(0x1e8)](',\x20'):_0x44f8ff(0x1d5)+_0x5749a0+'.\x20Run\x20`'+CLI_BIN_NAME+_0x44f8ff(0x1eb);throw CliErrors[_0x44f8ff(0x1e2)](_0x44f8ff(0x1d3)+_0x2e03fd+_0x44f8ff(0x1d4)+_0x25891d);}_0x273d10['code']=_0x44e5b9;}}
@@ -1 +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(_0x3e1a42,_0xfad02f){const _0x22620b=a313_0x11e1,_0x1ca08b=_0x3e1a42();while(!![]){try{const _0x58f7b9=-parseInt(_0x22620b(0x15d))/0x1+-parseInt(_0x22620b(0x17f))/0x2+-parseInt(_0x22620b(0x154))/0x3+-parseInt(_0x22620b(0x19b))/0x4*(parseInt(_0x22620b(0x167))/0x5)+-parseInt(_0x22620b(0x166))/0x6*(-parseInt(_0x22620b(0x155))/0x7)+parseInt(_0x22620b(0x152))/0x8+parseInt(_0x22620b(0x158))/0x9;if(_0x58f7b9===_0xfad02f)break;else _0x1ca08b['push'](_0x1ca08b['shift']());}catch(_0x1d77ed){_0x1ca08b['push'](_0x1ca08b['shift']());}}}(a313_0x5b64,0x45df8));import{resolveCommandAuthMode,runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';import{getCookie}from'../auth/get-cookie.js';import{getApiDomain}from'../constant/domain.js';import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{DEFAULT_API_DIR}from'../constant/paths.js';import{isNonInteractive as a313_0x3928e4}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x27309b){const _0x4ca260=a313_0x11e1;return typeof _0x27309b===_0x4ca260(0x18d)&&_0x27309b[_0x4ca260(0x188)]()?_0x27309b[_0x4ca260(0x188)]():undefined;}function resolveEnvAppCode(){const _0x360cb3=a313_0x11e1,_0x301088=stringFlag(process.env.RABETBASE_APPCODE);if(_0x301088)return{'name':_0x360cb3(0x157),'value':_0x301088};const _0x47d69c=stringFlag(process.env.LOVRABET_APPCODE);if(_0x47d69c)return{'name':'LOVRABET_APPCODE','value':_0x47d69c};return undefined;}function hasExplicitAppCode(_0x135c42,_0x1d6301){const _0x1021c9=a313_0x11e1;return!!(stringFlag(_0x135c42[_0x1021c9(0x14b)])||stringFlag(_0x1d6301[_0x1021c9(0x14b)]));}function assertEnvAppCodeNotIgnored(_0x2b856c,_0x433b97,_0x21b313){const _0x414d32=a313_0x11e1;if(!_0x433b97||_0x21b313||_0x2b856c===_0x433b97['value'])return;const _0x1c315f=_0x2b856c?'Current\x20resolved\x20appcode\x20is\x20\x22'+_0x2b856c+'\x22.':_0x414d32(0x187);throw CliErrors[_0x414d32(0x14f)](_0x433b97[_0x414d32(0x185)]+'='+_0x433b97[_0x414d32(0x162)]+_0x414d32(0x165)+_0x1c315f+'\x20'+(_0x414d32(0x173)+_0x433b97[_0x414d32(0x185)]+'\x22.'));}export function createPipelineEnv(_0x321c76,_0x3ed994,_0xfee05e=[]){const _0x42932e=a313_0x11e1;return{'rawFlags':_0x3ed994,'args':_0xfee05e,'resolveAppCode':()=>_0x321c76[_0x42932e(0x18f)],'resolveCookie':()=>_0x321c76[_0x42932e(0x164)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a313_0x3928e4(_0x3ed994),'defaultFormat':_0x321c76[_0x42932e(0x171)],'defaultPageSize':_0x321c76[_0x42932e(0x16b)],'defaultVerbose':_0x321c76[_0x42932e(0x150)],'apiDir':_0x321c76[_0x42932e(0x153)],'riskLevel':_0x321c76[_0x42932e(0x18a)],'selectedAppName':_0x321c76['explicitAppName'],'mergedCli':{'defaultApp':_0x321c76[_0x42932e(0x199)],'currentApp':_0x321c76[_0x42932e(0x17d)],'appCode':_0x321c76[_0x42932e(0x18f)],'apps':_0x321c76['apps']}};}export function createRabetbaseRunnerAdapter(_0x5acdd2={}){const _0x1c52c5=a313_0x11e1;return{'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[_0x1c52c5(0x184)](_0x29dacb=>PIPELINE_FLAG_NAMES[_0x1c52c5(0x196)](_0x29dacb[_0x1c52c5(0x185)]))['map'](({name:_0x5848c0,type:_0x2e9b8d,description:_0x283ec0})=>({'name':_0x5848c0,'type':_0x2e9b8d,'description':_0x283ec0})),'formatOutput':_0x5acdd2[_0x1c52c5(0x151)]??formatOutput,'getCommandLabel'(_0x372e64){const _0x808645=_0x1c52c5;return CLI_BIN_NAME+'\x20'+_0x372e64[_0x808645(0x18b)]+'\x20'+_0x372e64[_0x808645(0x161)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x41596f,{def:_0x3e7c04}){const _0x1b6e71=_0x1c52c5,_0xac04e1=_0x41596f[_0x1b6e71(0x15a)](_0x1b6e71(0x163))?_0x1b6e71(0x194):_0x1b6e71(0x17a)+_0x3e7c04[_0x1b6e71(0x14d)]+_0x1b6e71(0x160)+_0x1b6e71(0x194);return CliErrors[_0x1b6e71(0x14f)](_0x41596f+_0x1b6e71(0x19d)+_0xac04e1);}},async 'prepare'(_0x132386,_0x186739,_0x31ee41,_0x5d8fd3){const _0x2b034e=_0x1c52c5,_0x9e37f2=_0x186739[_0x2b034e(0x153)]||DEFAULT_API_DIR,_0x5f23b6=hasExplicitAppCode(_0x31ee41,_0x186739[_0x2b034e(0x17e)]),_0x239ef2=stringFlag(_0x31ee41['appcode'])||stringFlag(_0x186739[_0x2b034e(0x17e)]['appcode']),_0x45e757=_0x186739['mergedCli']?.[_0x2b034e(0x180)]??{},_0x3b7da3=_0x186739[_0x2b034e(0x195)]||_0x186739[_0x2b034e(0x17c)]?.[_0x2b034e(0x17d)]||_0x186739[_0x2b034e(0x17c)]?.[_0x2b034e(0x199)],_0x3cd9f6=_0x239ef2?Object[_0x2b034e(0x16a)](_0x45e757)['filter'](([,_0x411180])=>_0x411180[_0x2b034e(0x14b)]===_0x239ef2)['map'](([_0x229655])=>_0x229655):[];if(_0x3cd9f6[_0x2b034e(0x19f)]>0x1&&!_0x186739[_0x2b034e(0x195)])throw CliErrors['validation']('AppCode\x20\x22'+_0x239ef2+_0x2b034e(0x19c)+_0x3cd9f6['join'](',\x20')+'.',_0x2b034e(0x176));resolveAliasToCode(_0x132386,_0x31ee41,_0x9e37f2,_0x5d8fd3,_0x186739[_0x2b034e(0x15f)](),_0x3b7da3);const _0x1f6adb=resolveCommandAuthMode(_0x132386);let _0x2a4239='';if(_0x1f6adb!==_0x2b034e(0x14a)){_0x2a4239=_0x186739[_0x2b034e(0x148)]()||'';if(!_0x2a4239){if(_0x1f6adb==='required')throw CliErrors['authRequired']();}else{const {setActiveCookie:_0x37cfd0}=await import(_0x2b034e(0x17b));_0x37cfd0(_0x2a4239);}}const _0x29c800=_0x186739[_0x2b034e(0x15f)]()??'';if(_0x132386[_0x2b034e(0x193)]!==![]){if(!_0x5f23b6&&_0x3b7da3&&!_0x45e757[_0x3b7da3]){const _0x9c559b=Object[_0x2b034e(0x18c)](_0x45e757);throw CliErrors['validation'](_0x2b034e(0x14c)+_0x3b7da3+_0x2b034e(0x189),_0x9c559b[_0x2b034e(0x19f)]>0x0?'Available:\x20'+_0x9c559b['join'](',\x20')+_0x2b034e(0x15c)+CLI_BIN_NAME+_0x2b034e(0x18e):_0x2b034e(0x16c)+CLI_BIN_NAME+_0x2b034e(0x18e));}assertEnvAppCodeNotIgnored(_0x29c800,resolveEnvAppCode(),_0x5f23b6);if(!_0x29c800){const _0x573dfa=Object[_0x2b034e(0x18c)](_0x45e757);if(!_0x3b7da3&&_0x573dfa['length']>0x1)throw CliErrors[_0x2b034e(0x178)](_0x2b034e(0x175)+CLI_BIN_NAME+_0x2b034e(0x19a)+_0x573dfa[_0x2b034e(0x19e)](',\x20')+'.');throw CliErrors[_0x2b034e(0x178)]('Set\x20appcode\x20via\x20`'+CLI_BIN_NAME+'\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.');}}return{'defaults':{'booleans':{'verbose':_0x186739[_0x2b034e(0x179)]},'numbers':{'pagesize':_0x186739[_0x2b034e(0x16e)]}},'extras':{'appCode':_0x29c800,'cookie':_0x2a4239,'apiDomain':_0x186739[_0x2b034e(0x149)](),'apiDir':_0x9e37f2,'selectedAppName':_0x186739[_0x2b034e(0x195)],'mergedCli':_0x186739[_0x2b034e(0x17c)]}};},'confirmHighRisk':_0x5acdd2[_0x1c52c5(0x174)]??(async({env:_0x26c46b,commandLabel:_0x18fe3c})=>{const _0x4f0d22=_0x1c52c5;if(_0x26c46b['isNonInteractive'])throw CliErrors[_0x4f0d22(0x14f)](_0x4f0d22(0x182)+_0x18fe3c+_0x4f0d22(0x186));await requireConfirmationPrompt({'lines':['⚠\x20\x20High-risk\x20operation:\x20'+_0x18fe3c,'\x20\x20\x20Continue?\x20[y/N]\x20'],'createCancelledError':_0x15702e=>CliErrors[_0x4f0d22(0x156)](_0x15702e)});}),async 'finalize'(){await clearRabetbaseCommandState();}};}function a313_0x5b64(){const _0x9c06b5=['2008736JFvLYI','apiDir','1087698gUfsXh','256375VwIGJo','cancelled','RABETBASE_APPCODE','7166223KxSvNe','doctor','includes','object','.\x20Use\x20--app/--appcode,\x20or\x20run\x20`','368506HzUJlg','find','resolveAppCode','\x22\x20if\x20this\x20operation\x20is\x20intended.\x20','command','value','Edit\x20the\x20config\x20file\x20manually','cookie','\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20','60BTUowe','66565kcDutR','hasFormat','replace','entries','pageSize','Use\x20--appcode,\x20add\x20the\x20app\x20to\x20the\x20project\x20workspace,\x20or\x20run\x20`','execute','defaultPageSize','toUpperCase','meowKey','format','pretty','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','confirmHighRisk','Multiple\x20apps\x20are\x20configured\x20but\x20no\x20default\x20app\x20is\x20selected.\x20Use\x20--app\x20<name>\x20or\x20run\x20`','Select\x20the\x20target\x20explicitly\x20with\x20--app\x20<profile>.','schema','configMissing','defaultVerbose','A\x20human\x20user\x20may\x20review\x20the\x20active\x20risk\x20ceilings\x20and\x20manually\x20edit\x20the\x20applicable\x20.rabetbase.json\x20file\x20to\x20set\x20riskLevel\x20to\x20\x22','../core/api-client.js','mergedCli','currentApp','rawFlags','632878Zhvfsi','apps','_notice','High-risk\x20operation\x20`','rejectedFlags','filter','name','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.','trim','\x22\x20is\x20selected\x20but\x20not\x20defined\x20in\x20the\x20effective\x20project\x20apps.','riskLevel','service','keys','string','\x20config\x20delete\x20defaultApp`\x20to\x20repair\x20the\x20selection.','appCode','catch','message','all','requiresAppCode','AI\x20Agents\x20and\x20automated\x20scripts\x20must\x20not\x20modify\x20riskLevel\x20or\x20attempt\x20to\x20elevate\x20it.','selectedAppName','has','resolve','some','defaultApp','\x20workspace\x20use\x20--app\x20<name>`.\x20Available:\x20','24DImlWf','\x22\x20belongs\x20to\x20multiple\x20app\x20profiles:\x20','\x0a\x20\x20','join','length','production','resolveCookie','resolveApiDomain','none','appcode','App\x20\x22','risk','hint','validation','verbose','formatOutput'];a313_0x5b64=function(){return _0x9c06b5;};return a313_0x5b64();}const terminalRunnerAdapter=createRabetbaseRunnerAdapter();async function clearRabetbaseCommandState(){const _0x501d01=a313_0x11e1,{clearActiveCookie:_0x5edcc7}=await import(_0x501d01(0x17b));_0x5edcc7();}export async function finalizeRabetbaseRuntimeState(){const _0x459812=a313_0x11e1;try{await clearRabetbaseCommandState();}finally{const [{initDomains:_0x4c7ae1},{initEnv:_0x5ab7a6}]=await Promise[_0x459812(0x192)]([import('../constant/domain.js'),import('../constant/env.js')]);_0x4c7ae1(),_0x5ab7a6(_0x459812(0x147));}}export async function runCommand(_0x558356,_0x475bb2,_0x46585a=terminalRunnerAdapter){const _0x4fae95=a313_0x11e1;assertRejectedFlags(_0x558356,_0x475bb2[_0x4fae95(0x17e)]),await runCommandWithAdapter(shouldAttachUpdateNotice(_0x558356)?withUpdateNotice(_0x558356):_0x558356,_0x475bb2,_0x46585a);}function assertRejectedFlags(_0xd350d9,_0x378266){const _0x4b6067=a313_0x11e1;for(const _0x2c1c77 of _0xd350d9[_0x4b6067(0x183)]??[]){const _0x2e32ea=GLOBAL_FLAGS[_0x4b6067(0x15e)](_0x22dcb5=>_0x22dcb5['name']===_0x2c1c77['name']),_0x3d46c6=new Set([_0x2c1c77['name'],toCamelCase(_0x2c1c77[_0x4b6067(0x185)]),_0x2e32ea?.[_0x4b6067(0x170)]]),_0x17101e=[..._0x3d46c6][_0x4b6067(0x198)](_0x1e4693=>{if(!_0x1e4693)return![];const _0x2d6d8b=_0x378266[_0x1e4693];return _0x2d6d8b!==undefined&&_0x2d6d8b!==null&&_0x2d6d8b!==![];});if(_0x17101e)throw CliErrors[_0x4b6067(0x14f)](_0x2c1c77[_0x4b6067(0x191)],_0x2c1c77[_0x4b6067(0x14e)]);}}function toCamelCase(_0x18260a){const _0x22bc35=a313_0x11e1;return _0x18260a[_0x22bc35(0x169)](/-([a-z])/g,(_0x526ba0,_0x4292ed)=>_0x4292ed[_0x22bc35(0x16f)]());}function shouldAttachUpdateNotice(_0x248c1c){const _0x2b03e1=a313_0x11e1;if(_0x248c1c[_0x2b03e1(0x168)]===![])return![];return!['update',_0x2b03e1(0x177),_0x2b03e1(0x159)]['includes'](_0x248c1c[_0x2b03e1(0x18b)]);}function withUpdateNotice(_0x189bbb){return{..._0x189bbb,async 'execute'(_0x5441cf){const _0x4fd3b1=a313_0x11e1,_0x554266=shouldResolveUpdateNotice(_0x5441cf)?resolveLatestUpdateNotice()[_0x4fd3b1(0x190)](()=>null):Promise[_0x4fd3b1(0x197)](null),_0x1b047e=await _0x189bbb[_0x4fd3b1(0x16d)](_0x5441cf);return attachUpdateNotice(_0x1b047e,await _0x554266);}};}function shouldResolveUpdateNotice(_0x48d4b7){const _0x50206c=a313_0x11e1;return _0x48d4b7[_0x50206c(0x171)]===_0x50206c(0x172)&&!_0x48d4b7['nonInteractive'];}function a313_0x11e1(_0x8f4cf6,_0x4ff76e){_0x8f4cf6=_0x8f4cf6-0x147;const _0x5b642c=a313_0x5b64();let _0x11e1e6=_0x5b642c[_0x8f4cf6];return _0x11e1e6;}function attachUpdateNotice(_0x345331,_0x1df947){const _0x1c46b6=a313_0x11e1;if(!_0x1df947||!_0x345331||typeof _0x345331!==_0x1c46b6(0x15b))return _0x345331;const _0x28e97c=_0x345331,_0x4c53fc=typeof _0x28e97c['_notice']==='object'&&_0x28e97c[_0x1c46b6(0x181)]!==null?_0x28e97c[_0x1c46b6(0x181)]:{};return{..._0x28e97c,'_notice':{..._0x4c53fc,'update':_0x1df947}};}
@@ -1 +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(_0x32ac32,_0x54e892){const _0x5c88a9=a314_0x3f99,_0x46107b=_0x32ac32();while(!![]){try{const _0x302ba1=-parseInt(_0x5c88a9(0x100))/0x1+-parseInt(_0x5c88a9(0xf9))/0x2+-parseInt(_0x5c88a9(0x102))/0x3*(-parseInt(_0x5c88a9(0x101))/0x4)+-parseInt(_0x5c88a9(0xfc))/0x5*(parseInt(_0x5c88a9(0xfa))/0x6)+parseInt(_0x5c88a9(0xff))/0x7+-parseInt(_0x5c88a9(0xfe))/0x8*(parseInt(_0x5c88a9(0xfb))/0x9)+parseInt(_0x5c88a9(0xfd))/0xa;if(_0x302ba1===_0x54e892)break;else _0x46107b['push'](_0x46107b['shift']());}catch(_0x41ac6f){_0x46107b['push'](_0x46107b['shift']());}}}(a314_0x351f,0xd25ff));import{buildSchemaPayload as a314_0x25bb80}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';function a314_0x3f99(_0x12296e,_0x5959eb){_0x12296e=_0x12296e-0xf9;const _0x351f09=a314_0x351f();let _0x3f9983=_0x351f09[_0x12296e];return _0x3f9983;}function a314_0x351f(){const _0x99b752=['990010kbAjlv','67493DCllia','8zCFUlf','1991877RzcMrG','2057482RMIEZP','6SDZBRa','18NTcKJF','5438765EMGfUy','23177060uWhSuY','2965488gtEEvf'];a314_0x351f=function(){return _0x99b752;};return a314_0x351f();}import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const {serviceRegistry:_0x3a13b3,findDefinition:_0x2fe5c5}=await import('../commands/registry.js');return a314_0x25bb80({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x3a13b3,'buildAllFlags':buildAllFlags,'findDefinition':_0x2fe5c5});}
@@ -1 +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 a315_0x559b(_0x3db5e8,_0x5b5c7c){_0x3db5e8=_0x3db5e8-0x16b;const _0x319ab6=a315_0x319a();let _0x559b2e=_0x319ab6[_0x3db5e8];return _0x559b2e;}(function(_0x4bb5c3,_0x2a65e0){const _0x31f2f1=a315_0x559b,_0x30822f=_0x4bb5c3();while(!![]){try{const _0x557a20=parseInt(_0x31f2f1(0x173))/0x1+-parseInt(_0x31f2f1(0x178))/0x2+-parseInt(_0x31f2f1(0x16e))/0x3*(-parseInt(_0x31f2f1(0x16f))/0x4)+-parseInt(_0x31f2f1(0x17f))/0x5*(parseInt(_0x31f2f1(0x185))/0x6)+-parseInt(_0x31f2f1(0x175))/0x7+-parseInt(_0x31f2f1(0x170))/0x8+-parseInt(_0x31f2f1(0x16c))/0x9*(-parseInt(_0x31f2f1(0x171))/0xa);if(_0x557a20===_0x2a65e0)break;else _0x30822f['push'](_0x30822f['shift']());}catch(_0x10fa76){_0x30822f['push'](_0x30822f['shift']());}}}(a315_0x319a,0xc2a04));import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{CliErrors}from'../errors.js';export function assertSupportedCommandFlags(_0x1ee3f8,_0x3885ae){const _0x18d3f6=a315_0x559b;if(!_0x1ee3f8['strictFlags'])return;const _0x13d817=new Set([_0x18d3f6(0x182),_0x18d3f6(0x180)]),_0x360efa=GLOBAL_FLAGS[_0x18d3f6(0x17e)](_0x572ae2=>PIPELINE_FLAG_NAMES[_0x18d3f6(0x172)](_0x572ae2[_0x18d3f6(0x174)]));for(const _0x2893d3 of[..._0x1ee3f8['flags'],..._0x360efa]){addFlagCandidates(_0x13d817,_0x2893d3);}for(const [_0x4a274c,_0x40e9ce]of Object['entries'](_0x3885ae)){if(!isExplicitValue(_0x40e9ce)||_0x13d817['has'](_0x4a274c))continue;const _0x4d9a9b=GLOBAL_FLAGS[_0x18d3f6(0x176)](_0x43ef81=>_0x43ef81[_0x18d3f6(0x16d)]===_0x4a274c)?.[_0x18d3f6(0x174)]??toKebabCase(_0x4a274c);throw CliErrors[_0x18d3f6(0x186)]('Unsupported\x20flag\x20--'+_0x4d9a9b+'\x20for\x20`'+CLI_BIN_NAME+'\x20'+_0x1ee3f8[_0x18d3f6(0x17d)]+'\x20'+_0x1ee3f8[_0x18d3f6(0x16b)]+'`.',_0x18d3f6(0x17a)+CLI_BIN_NAME+'\x20'+_0x1ee3f8[_0x18d3f6(0x17d)]+'\x20'+_0x1ee3f8['command']+'\x20--help`\x20to\x20view\x20the\x20current\x20command\x20contract.');}}function addFlagCandidates(_0x438635,_0x5e4c2c){const _0x1227d1=a315_0x559b,_0x5b4718=_0x1227d1(0x16d)in _0x5e4c2c?[_0x5e4c2c[_0x1227d1(0x174)],_0x5e4c2c[_0x1227d1(0x16d)]]:[_0x5e4c2c['name'],_0x5e4c2c[_0x1227d1(0x17c)]];for(const _0x2fec35 of _0x5b4718){if(!_0x2fec35)continue;_0x438635[_0x1227d1(0x177)](_0x2fec35),_0x438635['add'](toCamelCase(_0x2fec35));}}function isExplicitValue(_0x563eb8){const _0x326c36=a315_0x559b;return _0x563eb8!==undefined&&_0x563eb8!==null&&_0x563eb8!==![]&&(!Array[_0x326c36(0x179)](_0x563eb8)||_0x563eb8[_0x326c36(0x183)]>0x0);}function a315_0x319a(){const _0x378a31=['filter','5uJJAvr','version','$1-$2','help','length','replace','7947366eTeJIr','validation','command','224892AQJtqn','meowKey','540417nriUGp','24XZOqDM','7991768JArTTn','1030ooXjZZ','has','966593vaJOkx','name','8692670PXUWyx','find','add','517322WLxKbx','isArray','Run\x20`','toLowerCase','alias','service'];a315_0x319a=function(){return _0x378a31;};return a315_0x319a();}function toCamelCase(_0x245acf){return _0x245acf['replace'](/-([a-z])/g,(_0x3521c2,_0x482d79)=>_0x482d79['toUpperCase']());}function toKebabCase(_0x2c93fe){const _0x1878d3=a315_0x559b;return _0x2c93fe[_0x1878d3(0x184)](/([a-z0-9])([A-Z])/g,_0x1878d3(0x181))[_0x1878d3(0x17b)]();}
@@ -1 +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(_0xd0b8ec,_0x3c3d7a){var _0x1f209d=a316_0x5809,_0x2090b7=_0xd0b8ec();while(!![]){try{var _0x56010e=parseInt(_0x1f209d(0x123))/0x1*(-parseInt(_0x1f209d(0x11c))/0x2)+parseInt(_0x1f209d(0x11a))/0x3+parseInt(_0x1f209d(0x11e))/0x4+-parseInt(_0x1f209d(0x120))/0x5*(-parseInt(_0x1f209d(0x124))/0x6)+-parseInt(_0x1f209d(0x121))/0x7*(parseInt(_0x1f209d(0x11b))/0x8)+-parseInt(_0x1f209d(0x122))/0x9*(parseInt(_0x1f209d(0x11f))/0xa)+parseInt(_0x1f209d(0x125))/0xb*(parseInt(_0x1f209d(0x11d))/0xc);if(_0x56010e===_0x3c3d7a)break;else _0x2090b7['push'](_0x2090b7['shift']());}catch(_0x4eab82){_0x2090b7['push'](_0x2090b7['shift']());}}}(a316_0x4df9,0x94416));function a316_0x5809(_0x51d8a6,_0x42e10d){_0x51d8a6=_0x51d8a6-0x11a;var _0x4df9f7=a316_0x4df9();var _0x580954=_0x4df9f7[_0x51d8a6];return _0x580954;}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';function a316_0x4df9(){var _0x1d457b=['82332qThllI','5646BQFwwe','3705493MyhJiJ','2527437XPvBLo','872HfPSeA','6BOneFl','12YZLqNy','3016636mBvucM','10vxGMzV','100wPFzzc','55258itkvGr','2138625KrRakt'];a316_0x4df9=function(){return _0x1d457b;};return a316_0x4df9();}
@@ -1,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.5";
2
+ export declare const GIT_TAG = "v2.5.4-beta.5";
3
+ export declare const GIT_COMMIT = "ec2ea154";
4
+ export declare const BUILD_TIME = "2026-09-29T02:37:27.911Z";
@@ -1 +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 a317_0x1476c1=a317_0x1448;(function(_0x5985a3,_0x473832){const _0x42e87a=a317_0x1448,_0x3f29f4=_0x5985a3();while(!![]){try{const _0x4fc678=parseInt(_0x42e87a(0x17b))/0x1*(parseInt(_0x42e87a(0x180))/0x2)+parseInt(_0x42e87a(0x186))/0x3+-parseInt(_0x42e87a(0x179))/0x4*(-parseInt(_0x42e87a(0x181))/0x5)+-parseInt(_0x42e87a(0x17c))/0x6*(-parseInt(_0x42e87a(0x17e))/0x7)+-parseInt(_0x42e87a(0x178))/0x8*(parseInt(_0x42e87a(0x182))/0x9)+-parseInt(_0x42e87a(0x17f))/0xa+-parseInt(_0x42e87a(0x17a))/0xb*(parseInt(_0x42e87a(0x183))/0xc);if(_0x4fc678===_0x473832)break;else _0x3f29f4['push'](_0x3f29f4['shift']());}catch(_0x5dcd63){_0x3f29f4['push'](_0x3f29f4['shift']());}}}(a317_0x36cd,0xd74fc));function a317_0x36cd(){const _0x36cae9=['16387yyVidV','9824700WqvQLx','14822gocEGb','1880nJxawY','596907pyJroy','2240196SYiBMV','v2.5.4-beta.5','2026-09-29T02:37:27.911Z','2159994LRdacQ','16FoZtlJ','9188ZpeaNc','77AkFEZP','47GLzxYt','3516ovPfrp','ec2ea154'];a317_0x36cd=function(){return _0x36cae9;};return a317_0x36cd();}export const VERSION='2.5.4-beta.5';export const GIT_TAG=a317_0x1476c1(0x184);function a317_0x1448(_0x144f53,_0x4a50ce){_0x144f53=_0x144f53-0x178;const _0x36cd53=a317_0x36cd();let _0x144848=_0x36cd53[_0x144f53];return _0x144848;}export const GIT_COMMIT=a317_0x1476c1(0x17d);export const BUILD_TIME=a317_0x1476c1(0x185);
@@ -1 +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 a318_0x58d9e7=a318_0x413e;(function(_0x3ed4f8,_0x28f5fa){const _0x2c52a3=a318_0x413e,_0x81b391=_0x3ed4f8();while(!![]){try{const _0x159dc4=parseInt(_0x2c52a3(0xa4))/0x1*(parseInt(_0x2c52a3(0xaa))/0x2)+parseInt(_0x2c52a3(0x86))/0x3*(parseInt(_0x2c52a3(0x9d))/0x4)+parseInt(_0x2c52a3(0xa6))/0x5*(-parseInt(_0x2c52a3(0x85))/0x6)+-parseInt(_0x2c52a3(0x97))/0x7*(parseInt(_0x2c52a3(0x8d))/0x8)+-parseInt(_0x2c52a3(0x9c))/0x9+-parseInt(_0x2c52a3(0xae))/0xa+parseInt(_0x2c52a3(0x9f))/0xb;if(_0x159dc4===_0x28f5fa)break;else _0x81b391['push'](_0x81b391['shift']());}catch(_0x4ce664){_0x81b391['push'](_0x81b391['shift']());}}}(a318_0x9ab8,0x2821f));export const ROUTING_CATALOG_DIGEST=a318_0x58d9e7(0x99);export const DEFAULT_REGION='cn';function a318_0x9ab8(){const _0x4d9953=['https://kb-service.lovrabet.id','10639387nBhkqQ','https://g.lovrabet.ai','https://g.alicdn.com/code/lib','https://dev.lovrabet.ai','https://daily-runtime.lovrabet.com','157JqfiTC','https://cdnjs.cloudflare.com/ajax/libs','5odFJgz','https://dev.lovrabet.com','https://app.lovrabet.ai','Global','1724okueio','https://api.lovrabet.id','https://api.lovrabet.com','Mainland\x20China','2854600bNUpsz','https://skills.lovrabet.id','757338WQHYrR','3iwivTD','https://api.lovrabet.ai','https://dev.lovrabet.id','https://g.lovrabet.id','https://daily-runtime.lovrabet.ai','https://user.lovrabet.ai','https://runtime.lovrabet.com','2040EWevUb','https://skills.lovrabet.com','https://app.lovrabet.id','https://g.lovrabet.com','https://runtime.lovrabet.id','indonesia','https://runtime.lovrabet.ai','https://skills.lovrabet.ai','https://user-daily.lovrabet.ai','https://daily.lovrabet.ai','8533ahozFb','Indonesia','57d346b80b12ca567af9d86dd7f8c02a0c27fe15d4944c8345add2cc6134c587','https://daily-api.lovrabet.com','global','2919969TszhkN','435204MAmhyf'];a318_0x9ab8=function(){return _0x4d9953;};return a318_0x9ab8();}export const REGION_VALUES=['cn','id','global'];export const ENABLED_REGION_VALUES=['cn','id',a318_0x58d9e7(0x9b)];export const OFFICIAL_ROUTING_PROFILES={'cn':{'enabled':!![],'label':a318_0x58d9e7(0xad),'aliases':['china'],'serviceDomains':{'production':{'user':'https://user.lovrabet.com','api':'https://api.lovrabet.com','runtime':a318_0x58d9e7(0x8c),'skill':a318_0x58d9e7(0x8e),'kb':a318_0x58d9e7(0xac),'kbService':'https://kb-service.lovrabet.com','app':'https://app.lovrabet.com'},'daily':{'user':'https://user-daily.lovrabet.com','api':a318_0x58d9e7(0x9a),'runtime':a318_0x58d9e7(0xa3),'skill':'https://skills-daily.lovrabet.com','kb':a318_0x58d9e7(0x9a),'kbService':'https://kb-service-daily.lovrabet.com','app':'https://daily.lovrabet.com'}},'cdn':{'libraries':a318_0x58d9e7(0xa1),'lovrabet':a318_0x58d9e7(0x90)},'local':{'origin':a318_0x58d9e7(0xa7)}},'id':{'enabled':!![],'label':a318_0x58d9e7(0x98),'aliases':[a318_0x58d9e7(0x92)],'serviceDomains':{'production':{'user':'https://user.lovrabet.id','api':a318_0x58d9e7(0xab),'runtime':a318_0x58d9e7(0x91),'skill':a318_0x58d9e7(0xaf),'kb':a318_0x58d9e7(0xab),'kbService':a318_0x58d9e7(0x9e),'app':a318_0x58d9e7(0x8f)}},'cdn':{'libraries':a318_0x58d9e7(0xa5),'lovrabet':a318_0x58d9e7(0x89)},'local':{'origin':a318_0x58d9e7(0x88)}},'global':{'enabled':!![],'label':a318_0x58d9e7(0xa9),'aliases':[],'serviceDomains':{'production':{'user':a318_0x58d9e7(0x8b),'api':a318_0x58d9e7(0x87),'runtime':a318_0x58d9e7(0x93),'skill':a318_0x58d9e7(0x94),'kb':'https://api.lovrabet.ai','app':a318_0x58d9e7(0xa8)},'daily':{'user':a318_0x58d9e7(0x95),'api':'https://daily-api.lovrabet.ai','runtime':a318_0x58d9e7(0x8a),'skill':'https://skills-daily.lovrabet.ai','kb':'https://daily-api.lovrabet.ai','app':a318_0x58d9e7(0x96)}},'cdn':{'libraries':a318_0x58d9e7(0xa5),'lovrabet':a318_0x58d9e7(0xa0)},'local':{'origin':a318_0x58d9e7(0xa2)}}};function a318_0x413e(_0x531a57,_0xad9d31){_0x531a57=_0x531a57-0x85;const _0x9ab847=a318_0x9ab8();let _0x413e0f=_0x9ab847[_0x531a57];return _0x413e0f;}export const REGION_ALIASES={'china':'cn','indonesia':'id'};
@@ -1 +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 a319_0x2139b4=a319_0x44dc;(function(_0x9112b,_0x4d4a6c){const _0x1d2abc=a319_0x44dc,_0x34c3ea=_0x9112b();while(!![]){try{const _0x1412b0=parseInt(_0x1d2abc(0x173))/0x1+parseInt(_0x1d2abc(0x16e))/0x2+parseInt(_0x1d2abc(0x17a))/0x3+-parseInt(_0x1d2abc(0x180))/0x4*(parseInt(_0x1d2abc(0x17b))/0x5)+-parseInt(_0x1d2abc(0x17e))/0x6+-parseInt(_0x1d2abc(0x16d))/0x7*(-parseInt(_0x1d2abc(0x182))/0x8)+parseInt(_0x1d2abc(0x175))/0x9*(-parseInt(_0x1d2abc(0x170))/0xa);if(_0x1412b0===_0x4d4a6c)break;else _0x34c3ea['push'](_0x34c3ea['shift']());}catch(_0x20e292){_0x34c3ea['push'](_0x34c3ea['shift']());}}}(a319_0x381e,0x6f869));export const ENTERPRISE_ROUTING_SCHEMA_DIGEST=a319_0x2139b4(0x177);export const ENTERPRISE_ROUTING_PROTOCOL=a319_0x2139b4(0x16f);export const ENTERPRISE_ROUTING_KIND=a319_0x2139b4(0x16c);export const ENTERPRISE_ROUTING_DOMAIN_FIELDS=[a319_0x2139b4(0x176),'apiDomain',a319_0x2139b4(0x181),a319_0x2139b4(0x17d),a319_0x2139b4(0x17f),a319_0x2139b4(0x171),a319_0x2139b4(0x178),a319_0x2139b4(0x17c),a319_0x2139b4(0x172)];export const REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS=[a319_0x2139b4(0x176),a319_0x2139b4(0x174),a319_0x2139b4(0x181),a319_0x2139b4(0x17d),'kbDomain',a319_0x2139b4(0x178)];function a319_0x381e(){const _0x1eadac=['lovrabet-routing/v1','170UxumSF','kbServiceDomain','certificateDomain','758815SbpGZD','apiDomain','9306hosVwT','userDomain','a03fe188b2b34518efc5668666c0001d20354882cd7dd70afec902dffe1329c3','appDomain','lovrabet','416007liHpJs','178725BVULXQ','localDomain','skillDomain','3869226iiTWwK','kbDomain','96ofvJXo','runtimeDomain','3672tGKERi','libraries','enterprise','5397FLiSAp','1451530gxxTFH'];a319_0x381e=function(){return _0x1eadac;};return a319_0x381e();}export const ENTERPRISE_ROUTING_CDN_FIELDS=['libraries',a319_0x2139b4(0x179)];function a319_0x44dc(_0x34c9dc,_0x5a4fab){_0x34c9dc=_0x34c9dc-0x16c;const _0x381edc=a319_0x381e();let _0x44dc22=_0x381edc[_0x34c9dc];return _0x44dc22;}export const REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS=[a319_0x2139b4(0x183),a319_0x2139b4(0x179)];
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(_0x3e4142,_0x45573b){var _0x31e7f5=a320_0xd666,_0x45dfdd=_0x3e4142();while(!![]){try{var _0x16d50f=-parseInt(_0x31e7f5(0xf6))/0x1+-parseInt(_0x31e7f5(0xf2))/0x2*(parseInt(_0x31e7f5(0xf7))/0x3)+-parseInt(_0x31e7f5(0xf5))/0x4+parseInt(_0x31e7f5(0xf1))/0x5+-parseInt(_0x31e7f5(0xf8))/0x6*(parseInt(_0x31e7f5(0xef))/0x7)+parseInt(_0x31e7f5(0xfa))/0x8+-parseInt(_0x31e7f5(0xfc))/0x9*(-parseInt(_0x31e7f5(0xf0))/0xa);if(_0x16d50f===_0x45573b)break;else _0x45dfdd['push'](_0x45dfdd['shift']());}catch(_0xecfacd){_0x45dfdd['push'](_0x45dfdd['shift']());}}}(a320_0x1a43,0x5988e));function a320_0x1a43(){var _0x1aa2fa=['log','4396976ceZmTH','\x20--help','11262681cbmrBH','\x20to\x20view\x20available\x20commands.','\x20\x20Use\x20','7SHWUAm','10EDdmHk','2591955wSFsKq','6FSXnPw','green','bold','2864972TLaojZ','590507MiGoqi','586491qdyGbz','356682txEuqf'];a320_0x1a43=function(){return _0x1aa2fa;};return a320_0x1a43();}import a320_0x6189b6 from'chalk';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';function a320_0xd666(_0x49f9ea,_0x2c9233){_0x49f9ea=_0x49f9ea-0xed;var _0x1a4312=a320_0x1a43();var _0xd66605=_0x1a4312[_0x49f9ea];return _0xd66605;}export function showHelp(){var _0x43c908=a320_0xd666;console['log'](),console[_0x43c908(0xf9)](a320_0x6189b6[_0x43c908(0xf3)][_0x43c908(0xf4)]('\x20\x20'+CLI_DISPLAY_NAME)),console['log'](),console['log'](_0x43c908(0xee)+a320_0x6189b6['green']['bold'](CLI_BIN_NAME+_0x43c908(0xfb))+_0x43c908(0xed)),console[_0x43c908(0xf9)]();}
@@ -1 +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(_0x112f36,_0x414724){const _0x4e179d=a321_0x43c6,_0x34ca6d=_0x112f36();while(!![]){try{const _0x5407c5=parseInt(_0x4e179d(0x1f6))/0x1+-parseInt(_0x4e179d(0x1fa))/0x2*(-parseInt(_0x4e179d(0x1f1))/0x3)+-parseInt(_0x4e179d(0x1ed))/0x4*(parseInt(_0x4e179d(0x1eb))/0x5)+-parseInt(_0x4e179d(0x1fb))/0x6*(-parseInt(_0x4e179d(0x1ec))/0x7)+-parseInt(_0x4e179d(0x1f0))/0x8*(-parseInt(_0x4e179d(0x1fc))/0x9)+-parseInt(_0x4e179d(0x1ea))/0xa+-parseInt(_0x4e179d(0x1e6))/0xb*(-parseInt(_0x4e179d(0x1f7))/0xc);if(_0x5407c5===_0x414724)break;else _0x34ca6d['push'](_0x34ca6d['shift']());}catch(_0x24d941){_0x34ca6d['push'](_0x34ca6d['shift']());}}}(a321_0x549c,0x62da4));import{installBuiltinSkill}from'./skills/builtin-skill.js';export async function runPostinstall(_0x301cf9={}){const _0x2ce846=a321_0x43c6,_0x3e999d=installBuiltinSkill(_0x301cf9);if(_0x3e999d['ok']){const _0x31a1de=_0x3e999d['changed']?_0x2ce846(0x1ef):_0x2ce846(0x1f2),_0x5210ac=_0x3e999d[_0x2ce846(0x1e5)]?_0x2ce846(0x1f5)+_0x3e999d[_0x2ce846(0x1e5)]:_0x2ce846(0x1f3);return console[_0x2ce846(0x1e2)]('Rabetbase\x20Built-in\x20Skill\x20'+_0x3e999d[_0x2ce846(0x1e4)]+'\x20'+_0x31a1de+_0x5210ac),_0x3e999d;}const _0x52789f=_0x2ce846(0x1e8)+(_0x3e999d[_0x2ce846(0x1f9)]??_0x2ce846(0x1f8))+']\x20'+(_0x3e999d[_0x2ce846(0x1e7)]??_0x2ce846(0x1e1))+'.\x20'+(_0x2ce846(0x1e3)+_0x3e999d[_0x2ce846(0x1f4)]);if(_0x3e999d['code']===_0x2ce846(0x1e9))throw new Error(_0x52789f);return console[_0x2ce846(0x1ee)](_0x52789f),_0x3e999d;}function a321_0x43c6(_0x1c86d0,_0x18ca1f){_0x1c86d0=_0x1c86d0-0x1e1;const _0x549c8a=a321_0x549c();let _0x43c679=_0x549c8a[_0x1c86d0];return _0x43c679;}function a321_0x549c(){const _0x332faf=['error','[BUILTIN_SKILL_INSTALL_','SOURCE_INVALID','2650130IHaqcg','726815knaeYS','868BlgNFh','16rpClTG','warn','installed','232264RnSSUd','5703UEUVBf','already\x20current','\x20via\x20skills@latest','repairCommand','\x20at\x20','197223asQlur','12uZkWdL','FAILED','code','626uiwnCA','11874fvZbVW','36LMNiVB','Installation\x20failed','log','Repair\x20with:\x20','skillVersion','installedPath','1073611FVulvI'];a321_0x549c=function(){return _0x332faf;};return a321_0x549c();}
@@ -1 +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(_0x181ff8,_0x490100){const _0x55b8e0=a322_0x2423,_0x2f032c=_0x181ff8();while(!![]){try{const _0x50ec2f=-parseInt(_0x55b8e0(0x189))/0x1*(-parseInt(_0x55b8e0(0x18a))/0x2)+parseInt(_0x55b8e0(0x17f))/0x3+-parseInt(_0x55b8e0(0x182))/0x4*(-parseInt(_0x55b8e0(0x179))/0x5)+parseInt(_0x55b8e0(0x186))/0x6*(-parseInt(_0x55b8e0(0x17c))/0x7)+parseInt(_0x55b8e0(0x17a))/0x8*(-parseInt(_0x55b8e0(0x17e))/0x9)+parseInt(_0x55b8e0(0x178))/0xa+-parseInt(_0x55b8e0(0x185))/0xb;if(_0x50ec2f===_0x490100)break;else _0x2f032c['push'](_0x2f032c['shift']());}catch(_0xdf9a02){_0x2f032c['push'](_0x2f032c['shift']());}}}(a322_0xa515,0xbc69a));const DESCRIPTION_MAX_LENGTH=0x1f4;export function buildRabetbaseConfirmationRequest(_0x258ce1,_0x331801,_0x38416b){const _0x11d144=a322_0x2423,_0x38f3b8=normalizeText(_0x258ce1[_0x11d144(0x184)],DESCRIPTION_MAX_LENGTH),_0x3eb60a=_0x38f3b8||normalizeText(defaultDescription(requireWriteRisk(_0x258ce1),_0x331801),DESCRIPTION_MAX_LENGTH);return{'operation':_0x331801,'risk':requireWriteRisk(_0x258ce1),'description':_0x3eb60a,..._0x38416b?{'signal':_0x38416b}:{}};}function a322_0xa515(){const _0x54b7c4=['6051635NqhDbj','164240mFVXVP','This\x20will\x20run\x20the\x20write\x20','11417oSyuyf','replace','468tzVAKf','321468aBLlFF','string','high-risk-write','4vpFbDy','risk','confirmationDescription','12739848oiiWvm','78RYBwOq','write','This\x20will\x20run\x20the\x20high-risk\x20write\x20','892rMFvFE','3038HuoTcm','trim','3462380rWvixT'];a322_0xa515=function(){return _0x54b7c4;};return a322_0xa515();}function requireWriteRisk(_0x4e7546){const _0x388e19=a322_0x2423;if(_0x4e7546[_0x388e19(0x183)]===_0x388e19(0x187)||_0x4e7546[_0x388e19(0x183)]===_0x388e19(0x181))return _0x4e7546[_0x388e19(0x183)];throw new Error('Rabetbase\x20confirmation\x20requires\x20a\x20write\x20command.');}function defaultDescription(_0x4afbb6,_0x42bd17){const _0x5e33f9=a322_0x2423;if(_0x4afbb6===_0x5e33f9(0x181))return _0x5e33f9(0x188)+_0x42bd17+'.\x20It\x20may\x20overwrite,\x20delete,\x20or\x20materially\x20change\x20live\x20behavior.';return _0x5e33f9(0x17b)+_0x42bd17+'.\x20It\x20may\x20create\x20or\x20change\x20business\x20data\x20or\x20local\x20configuration.';}function a322_0x2423(_0x228ba7,_0x244dfc){_0x228ba7=_0x228ba7-0x178;const _0xa51542=a322_0xa515();let _0x242366=_0xa51542[_0x228ba7];return _0x242366;}function normalizeText(_0x2a03ba,_0x18db19){const _0x3258d8=a322_0x2423;if(typeof _0x2a03ba!==_0x3258d8(0x180))return'';return _0x2a03ba[_0x3258d8(0x17d)](/[\u0000-\u001f\u007f]+/g,'\x20')[_0x3258d8(0x17d)](/\s+/g,'\x20')[_0x3258d8(0x18b)]()['slice'](0x0,_0x18db19);}
@@ -1 +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 a323_0x115b(_0x30126a,_0x110fda){_0x30126a=_0x30126a-0x120;const _0x5c68f5=a323_0x5c68();let _0x115b86=_0x5c68f5[_0x30126a];return _0x115b86;}(function(_0xf6014e,_0x41301c){const _0x527c44=a323_0x115b,_0x3a25b2=_0xf6014e();while(!![]){try{const _0x2e0702=-parseInt(_0x527c44(0x130))/0x1+-parseInt(_0x527c44(0x12c))/0x2+-parseInt(_0x527c44(0x133))/0x3*(-parseInt(_0x527c44(0x12a))/0x4)+-parseInt(_0x527c44(0x12e))/0x5+-parseInt(_0x527c44(0x123))/0x6*(-parseInt(_0x527c44(0x131))/0x7)+-parseInt(_0x527c44(0x135))/0x8*(parseInt(_0x527c44(0x126))/0x9)+parseInt(_0x527c44(0x121))/0xa*(parseInt(_0x527c44(0x120))/0xb);if(_0x2e0702===_0x41301c)break;else _0x3a25b2['push'](_0x3a25b2['shift']());}catch(_0x427692){_0x3a25b2['push'](_0x3a25b2['shift']());}}}(a323_0x5c68,0x91b27));export function canonicalRabetbaseOperation(_0x495303){const _0x381b20=a323_0x115b;return[_0x495303['service'],..._0x495303[_0x381b20(0x122)][_0x381b20(0x125)]()['split'](/\s+/)][_0x381b20(0x129)](Boolean)['join']('.');}export function createRabetbaseWriteMetadata(_0xefce25,_0x5edf21,_0x635fbe,_0x542f45){const _0x5ddb7f=a323_0x115b;if(_0x542f45||_0x635fbe['ok']!==!![]||hasUnresolvedConflicts(_0x635fbe)||_0xefce25[_0x5ddb7f(0x127)]!==_0x5ddb7f(0x12b)&&_0xefce25[_0x5ddb7f(0x127)]!==_0x5ddb7f(0x12f))return undefined;return{'rabetbase':{'schemaVersion':0x1,'event':{'type':_0x5ddb7f(0x134),'operation':_0x5edf21,'risk':_0xefce25[_0x5ddb7f(0x127)]}}};}function hasUnresolvedConflicts(_0x5f3352){const _0x24b4d0=a323_0x115b,_0x200a79=_0x5f3352[_0x24b4d0(0x124)];return Boolean(_0x200a79&&typeof _0x200a79===_0x24b4d0(0x132)&&!Array[_0x24b4d0(0x128)](_0x200a79)&&Array[_0x24b4d0(0x128)](_0x200a79[_0x24b4d0(0x12d)])&&_0x200a79['conflicts']['length']>0x0);}function a323_0x5c68(){const _0x5f5096=['1029372hsTIHU','conflicts','159960dGmVlN','high-risk-write','223808PzHZKD','23296UTGOPU','object','3VKkCZP','rabetbase.write.completed','296Gmzzkr','321101HwUfsj','110sVVcPn','command','828lcBcKG','data','trim','101862NlFLgX','risk','isArray','filter','4022648mSlBWY','write'];a323_0x5c68=function(){return _0x5f5096;};return a323_0x5c68();}
@@ -1 +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 a324_0x12fa(_0x3a6e9d,_0x436d1e){_0x3a6e9d=_0x3a6e9d-0x123;const _0x4f4b23=a324_0x4f4b();let _0x12fa87=_0x4f4b23[_0x3a6e9d];return _0x12fa87;}(function(_0x3b9b0e,_0x1cc2f5){const _0x5e35c8=a324_0x12fa,_0xb32d01=_0x3b9b0e();while(!![]){try{const _0xef6f19=parseInt(_0x5e35c8(0x138))/0x1*(-parseInt(_0x5e35c8(0x143))/0x2)+-parseInt(_0x5e35c8(0x123))/0x3+parseInt(_0x5e35c8(0x149))/0x4*(parseInt(_0x5e35c8(0x135))/0x5)+parseInt(_0x5e35c8(0x145))/0x6*(parseInt(_0x5e35c8(0x126))/0x7)+parseInt(_0x5e35c8(0x12c))/0x8*(-parseInt(_0x5e35c8(0x134))/0x9)+-parseInt(_0x5e35c8(0x128))/0xa*(-parseInt(_0x5e35c8(0x148))/0xb)+parseInt(_0x5e35c8(0x127))/0xc*(parseInt(_0x5e35c8(0x144))/0xd);if(_0xef6f19===_0x1cc2f5)break;else _0xb32d01['push'](_0xb32d01['shift']());}catch(_0x5b0080){_0xb32d01['push'](_0xb32d01['shift']());}}}(a324_0x4f4b,0xa82c8));import{buildConfigFromFlags,initGlobalEnvironment,isRoutingRecoveryService}from'../context.js';import{createPipelineEnv,createRabetbaseRunnerAdapter,finalizeRabetbaseRuntimeState,runCommand}from'../framework/runner.js';function a324_0x4f4b(){const _0x501011=['data','7483nPpxHo','12AZdnnM','112070dZCwdm','command','Rabetbase\x20invocation\x20aborted.','confirmation','8mkKSnw','format','risk','execute','dry-run','definition','service','dryRun','3824649tswNld','405cPAJFA','result','high-risk-write','39oSvJsR','rawFlags','Embedded\x20Rabetbase\x20confirmation\x20must\x20run\x20before\x20the\x20execution\x20queue.','signal','present','args','yes','AbortError','confirm','message','presentation','40318wHCeal','27336569SbdOLc','894ySUVOL','Rabetbase\x20invocation\x20completed\x20without\x20a\x20captured\x20command\x20result.','isNonInteractive','121JQGkKp','35212KsqiBt','write','3595236vePOhW','reason'];a324_0x4f4b=function(){return _0x501011;};return a324_0x4f4b();}import{buildRabetbaseConfirmationRequest}from'../runtime/confirmation.js';import{canonicalRabetbaseOperation,createRabetbaseWriteMetadata}from'../runtime/event.js';import{runSerialized}from'../runtime/queue.js';import{resolveRabetbaseInvocation}from'../runtime/resolve.js';const defaultPresentation={'present'({result:_0x5e6e3f,command:_0x30f3e7,risk:_0x226b67,dryRun:_0x475e7e}){const _0x243e0c=a324_0x12fa;return JSON['stringify']({'ok':_0x5e6e3f['ok'],'command':_0x30f3e7,'risk':_0x226b67,..._0x475e7e?{'dryRun':!![]}:{},..._0x5e6e3f[_0x243e0c(0x125)]!==undefined?{'data':_0x5e6e3f[_0x243e0c(0x125)]}:{},..._0x5e6e3f['message']?{'message':_0x5e6e3f[_0x243e0c(0x141)]}:{}});}};export async function invokeRabetbase(_0x5acd58,_0x5e0baa){throwIfAborted(_0x5e0baa['signal']);const _0x22b5e5=await resolveRabetbaseInvocation(_0x5acd58),_0x55b2e2=canonicalRabetbaseOperation(_0x22b5e5['definition']);return await confirmWriteBeforeQueue(_0x22b5e5['definition'],_0x22b5e5['rawFlags'],_0x55b2e2,_0x5e0baa),runSerialized(async()=>{const _0x10672e=a324_0x12fa,_0x34ee7b={};try{throwIfAborted(_0x5e0baa['signal']);const _0x329351=buildConfigFromFlags(_0x22b5e5[_0x10672e(0x139)]);!isRoutingRecoveryService(_0x22b5e5['definition'][_0x10672e(0x132)])&&await initGlobalEnvironment(_0x329351);const _0x2cba76=createPipelineEnv(_0x329351,{..._0x22b5e5['rawFlags'],'yes':_0x22b5e5[_0x10672e(0x131)][_0x10672e(0x12e)]==='high-risk-write'?!![]:_0x22b5e5['rawFlags'][_0x10672e(0x13e)],'nonInteractive':!![]},_0x22b5e5[_0x10672e(0x13d)]);_0x2cba76[_0x10672e(0x147)]=!![],_0x2cba76['riskLevel']=_0x10672e(0x137);const _0x5df68e=withAbortSignal(_0x22b5e5[_0x10672e(0x131)],_0x5e0baa[_0x10672e(0x13b)]),_0x2109b0=createRabetbaseRunnerAdapter({'formatOutput'(_0x3fdaca,_0x8823dc){const _0x5e3ee0=_0x10672e;_0x34ee7b['result']=_0x3fdaca,_0x34ee7b[_0x5e3ee0(0x129)]=_0x8823dc[_0x5e3ee0(0x129)],_0x34ee7b[_0x5e3ee0(0x12e)]=_0x8823dc['risk'],_0x34ee7b[_0x5e3ee0(0x12d)]=_0x8823dc['format'],_0x34ee7b[_0x5e3ee0(0x133)]=_0x8823dc[_0x5e3ee0(0x133)]===!![];},async 'confirmHighRisk'(){const _0xbd8f0c=_0x10672e;throw new Error(_0xbd8f0c(0x13a));}});await runCommand(_0x5df68e,_0x2cba76,_0x2109b0);if(!_0x34ee7b[_0x10672e(0x136)]||!_0x34ee7b[_0x10672e(0x129)]||!_0x34ee7b[_0x10672e(0x12e)]||!_0x34ee7b['format'])throw new Error(_0x10672e(0x146));const _0x2d069a=_0x34ee7b['dryRun']===!![],_0x211ee7=_0x5e0baa[_0x10672e(0x142)]??defaultPresentation,_0x1028ca={'result':_0x34ee7b['result'],'command':_0x34ee7b['command'],'operation':_0x55b2e2,'risk':_0x34ee7b[_0x10672e(0x12e)],'format':_0x34ee7b[_0x10672e(0x12d)],'dryRun':_0x2d069a},_0x472297=createRabetbaseWriteMetadata(_0x22b5e5['definition'],_0x55b2e2,_0x34ee7b[_0x10672e(0x136)],_0x2d069a);let _0x5a7d2d;try{_0x5a7d2d=await _0x211ee7[_0x10672e(0x13c)](_0x1028ca);}catch(_0xadc781){if(!_0x472297||_0x211ee7===defaultPresentation)throw _0xadc781;_0x5a7d2d=await defaultPresentation['present'](_0x1028ca);}return{'operation':_0x55b2e2,'risk':_0x34ee7b[_0x10672e(0x12e)],'mode':_0x2d069a?_0x10672e(0x130):'execute','result':_0x34ee7b['result'],'output':_0x5a7d2d,..._0x472297?{'metadata':_0x472297}:{}};}finally{await finalizeRabetbaseRuntimeState();}});}async function confirmWriteBeforeQueue(_0x4ec65a,_0x4b894a,_0x57c64b,_0x4af88f){const _0x3880af=a324_0x12fa;if(_0x4b894a[_0x3880af(0x133)]===!![]||_0x4ec65a['risk']!==_0x3880af(0x14a)&&_0x4ec65a[_0x3880af(0x12e)]!=='high-risk-write')return;await _0x4af88f[_0x3880af(0x12b)][_0x3880af(0x140)](buildRabetbaseConfirmationRequest(_0x4ec65a,_0x57c64b,_0x4af88f['signal']));}function withAbortSignal(_0x4d3cfd,_0x102a26){return{..._0x4d3cfd,async 'execute'(_0x4a2329){const _0x67369b=a324_0x12fa;return throwIfAborted(_0x102a26),_0x4d3cfd[_0x67369b(0x12f)]({..._0x4a2329,'signal':_0x102a26});}};}function throwIfAborted(_0x5864db){const _0x187f48=a324_0x12fa;if(_0x5864db?.['aborted'])throw _0x5864db[_0x187f48(0x124)]instanceof Error?_0x5864db[_0x187f48(0x124)]:new DOMException(_0x187f48(0x12a),_0x187f48(0x13f));}
@@ -1 +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
+ function a325_0x50a7(_0x5640e7,_0x38e2c3){_0x5640e7=_0x5640e7-0x91;const _0x265b1a=a325_0x265b();let _0x50a7d7=_0x265b1a[_0x5640e7];return _0x50a7d7;}const a325_0x19934b=a325_0x50a7;(function(_0x3a54f0,_0x38e022){const _0x51a556=a325_0x50a7,_0x20b1b3=_0x3a54f0();while(!![]){try{const _0x4c69ce=parseInt(_0x51a556(0x9c))/0x1*(parseInt(_0x51a556(0x9a))/0x2)+parseInt(_0x51a556(0x93))/0x3+-parseInt(_0x51a556(0x96))/0x4+parseInt(_0x51a556(0x91))/0x5*(-parseInt(_0x51a556(0x99))/0x6)+parseInt(_0x51a556(0x9d))/0x7+-parseInt(_0x51a556(0x95))/0x8*(parseInt(_0x51a556(0x97))/0x9)+parseInt(_0x51a556(0x94))/0xa*(parseInt(_0x51a556(0x98))/0xb);if(_0x4c69ce===_0x38e022)break;else _0x20b1b3['push'](_0x20b1b3['shift']());}catch(_0x1b93a1){_0x20b1b3['push'](_0x20b1b3['shift']());}}}(a325_0x265b,0x797c3));let tail=Promise[a325_0x19934b(0x92)]();function a325_0x265b(){const _0x571a8b=['6130MOsPci','201160TwwXON','3555440uslmRc','72thxSYo','5269lRDmNn','11388IxjUnS','3486EHcvxo','catch','409PqRBAj','4916667ufMRMB','830KZummb','resolve','581388tbQRsa'];a325_0x265b=function(){return _0x571a8b;};return a325_0x265b();}export async function runSerialized(_0x5a84b7){const _0x26ced9=a325_0x19934b,_0x4880d4=tail;let _0x5530de;tail=new Promise(_0x5db12b=>{_0x5530de=_0x5db12b;}),await _0x4880d4[_0x26ced9(0x9b)](()=>undefined);try{return await _0x5a84b7();}finally{_0x5530de();}}
@@ -1 +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(_0xda7214,_0x4abd46){const _0x2bc6c0=a326_0x1533,_0xc537f2=_0xda7214();while(!![]){try{const _0x495b91=-parseInt(_0x2bc6c0(0x1d6))/0x1+parseInt(_0x2bc6c0(0x1df))/0x2*(parseInt(_0x2bc6c0(0x1e6))/0x3)+-parseInt(_0x2bc6c0(0x1d8))/0x4*(parseInt(_0x2bc6c0(0x1eb))/0x5)+-parseInt(_0x2bc6c0(0x1d3))/0x6*(-parseInt(_0x2bc6c0(0x1e4))/0x7)+parseInt(_0x2bc6c0(0x1ea))/0x8+parseInt(_0x2bc6c0(0x1dc))/0x9*(-parseInt(_0x2bc6c0(0x1e9))/0xa)+-parseInt(_0x2bc6c0(0x1d4))/0xb*(parseInt(_0x2bc6c0(0x1e7))/0xc);if(_0x495b91===_0x4abd46)break;else _0xc537f2['push'](_0xc537f2['shift']());}catch(_0x2c2240){_0xc537f2['push'](_0xc537f2['shift']());}}}(a326_0x1b20,0x43094));import a326_0x1fde6a from'meow';import{findDefinition,getServiceEntry,isKnownService,resolveRemovedCommand}from'../commands/registry.js';import{buildMeowFlags}from'../constant/cli.js';import{CliErrors}from'../errors.js';function a326_0x1533(_0x2b1f23,_0x3eed6d){_0x2b1f23=_0x2b1f23-0x1d3;const _0x1b2086=a326_0x1b20();let _0x1533d0=_0x1b2086[_0x2b1f23];return _0x1533d0;}import{assertSupportedCommandFlags}from'../framework/supported-flags.js';export async function resolveRabetbaseInvocation(_0x1790d1){const _0x5bd831=a326_0x1533,_0x52749e=a326_0x1fde6a('',{'importMeta':import.meta,'argv':[..._0x1790d1],'flags':buildMeowFlags(),'autoHelp':![],'autoVersion':![]}),_0x4b27bd=[..._0x52749e[_0x5bd831(0x1e2)]],_0x4dd219=_0x52749e[_0x5bd831(0x1dd)],_0xafcf1f=_0x4b27bd[0x0];if(!_0xafcf1f)throw CliErrors[_0x5bd831(0x1d7)](_0x5bd831(0x1da));const _0x317c23=resolveRemovedCommand(_0xafcf1f,_0x4b27bd[0x1]);if(_0x317c23)throw CliErrors['validation'](_0x317c23[_0x5bd831(0x1de)],_0x317c23[_0x5bd831(0x1e5)]);if(_0xafcf1f===_0x5bd831(0x1e3))throw CliErrors[_0x5bd831(0x1d7)](_0x5bd831(0x1db),'Use\x20an\x20explicit\x20shell\x20tool\x20only\x20when\x20script\x20execution\x20is\x20intentionally\x20requested.');if(!isKnownService(_0xafcf1f))throw CliErrors[_0x5bd831(0x1d5)](_0x4b27bd[_0x5bd831(0x1d9)]('\x20'));const _0x11e425=getServiceEntry(_0xafcf1f),_0x24929d=_0x4b27bd[0x1],_0x400409=_0x24929d||_0x11e425[_0x5bd831(0x1e0)];if(!_0x400409){if(_0x11e425[_0x5bd831(0x1e1)])return{'definition':_0x11e425[_0x5bd831(0x1e1)],'rawFlags':_0x4dd219,'args':[]};throw CliErrors[_0x5bd831(0x1d7)](_0x5bd831(0x1e8)+_0xafcf1f+'\x22.');}const _0x469bae=findDefinition(_0xafcf1f,_0x400409);if(_0x469bae)return assertSupportedCommandFlags(_0x469bae,_0x4dd219),{'definition':_0x469bae,'rawFlags':_0x4dd219,'args':_0x4b27bd['slice'](0x2)};if(_0x11e425['wildcardDef'])return{'definition':_0x11e425[_0x5bd831(0x1e1)],'rawFlags':_0x4dd219,'args':[_0x400409,..._0x4b27bd['slice'](0x2)]};throw CliErrors[_0x5bd831(0x1d5)](_0xafcf1f+'\x20'+_0x400409);}function a326_0x1b20(){const _0x106462=['271605mydHab','60eXgVXN','Rabetbase\x20argv\x20must\x20include\x20a\x20command\x20for\x20service\x20\x22','4598470rDAePv','4048128nbLdxu','50KtDRSP','30NzzviY','1184282eiDaHF','unknownCommand','85364ZLywjg','validation','10708OHQtwA','join','Rabetbase\x20argv\x20must\x20include\x20a\x20service\x20and\x20command.','`rabetbase\x20run`\x20is\x20unavailable\x20through\x20the\x20embedded\x20runtime\x20because\x20it\x20executes\x20arbitrary\x20package\x20scripts.','9vItiEs','flags','message','8VWNtDT','defaultCommand','wildcardDef','input','run','723401OCJZdW','hint'];a326_0x1b20=function(){return _0x106462;};return a326_0x1b20();}
@@ -1 +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 a328_0x10ba2b=a328_0x245b;(function(_0x2c2c2f,_0x3344d2){const _0xe5092c=a328_0x245b,_0x32e400=_0x2c2c2f();while(!![]){try{const _0x193918=parseInt(_0xe5092c(0x1a8))/0x1+-parseInt(_0xe5092c(0x1a6))/0x2+parseInt(_0xe5092c(0x1d4))/0x3+parseInt(_0xe5092c(0x199))/0x4*(-parseInt(_0xe5092c(0x1a0))/0x5)+parseInt(_0xe5092c(0x1b8))/0x6+-parseInt(_0xe5092c(0x1bd))/0x7+parseInt(_0xe5092c(0x1a9))/0x8;if(_0x193918===_0x3344d2)break;else _0x32e400['push'](_0x32e400['shift']());}catch(_0x53169e){_0x32e400['push'](_0x32e400['shift']());}}}(a328_0x27da,0x6dc98));import{createHash}from'node:crypto';import{lstatSync,readFileSync,readdirSync}from'node:fs';import{homedir}from'node:os';import{dirname,join,relative,resolve,sep}from'node:path';import{fileURLToPath}from'node:url';import{debuglog}from'node:util';import{runNpxSkillsAddGlobal}from'../skills/npx-skills-add.js';function a328_0x245b(_0x4cc145,_0x480b48){_0x4cc145=_0x4cc145-0x196;const _0x27dafc=a328_0x27da();let _0x245b0f=_0x27dafc[_0x4cc145];return _0x245b0f;}import{resolveInstalledSkill}from'../skills/skill-presence.js';const DEFAULT_PACKAGE_ROOT=resolve(dirname(fileURLToPath(import.meta.url)),'..','..'),REPAIR_COMMAND='rabetbase\x20cli-skill\x20install',SKILL_NAME=a328_0x10ba2b(0x1b2),debug=debuglog(a328_0x10ba2b(0x1ba));function frontmatterValue(_0x4fc57f,_0x17f443){const _0x45dd6e=a328_0x10ba2b;return _0x4fc57f[_0x45dd6e(0x1a1)](new RegExp('^'+_0x17f443+_0x45dd6e(0x1d3),'m'))?.[0x1]?.['trim']()??'';}function listFiles(_0x11f6d7,_0x21d1cf=_0x11f6d7){const _0x39593f=a328_0x10ba2b;return readdirSync(_0x21d1cf,{'withFileTypes':!![]})[_0x39593f(0x1cc)](_0x5e3314=>{const _0x1980c3=_0x39593f,_0xa23b92=join(_0x21d1cf,_0x5e3314[_0x1980c3(0x1d5)]),_0x5d24c3=lstatSync(_0xa23b92);if(_0x5d24c3['isSymbolicLink']())throw new Error(_0x1980c3(0x1cb)+_0xa23b92);if(_0x5d24c3['isDirectory']())return listFiles(_0x11f6d7,_0xa23b92);if(!_0x5d24c3[_0x1980c3(0x1d6)]())throw new Error(_0x1980c3(0x1c0)+_0xa23b92);return[relative(_0x11f6d7,_0xa23b92)[_0x1980c3(0x1af)](sep)[_0x1980c3(0x1c2)]('/')];})[_0x39593f(0x1a4)]((_0x326d38,_0x45c030)=>_0x326d38<_0x45c030?-0x1:_0x326d38>_0x45c030?0x1:0x0);}function digestFiles(_0x5cdc45,_0xaa0947){const _0x45c1d5=a328_0x10ba2b,_0x1b2e96=createHash(_0x45c1d5(0x1da));for(const _0x570667 of _0xaa0947){if(_0x570667[_0x45c1d5(0x1ac)]('/')||_0x570667[_0x45c1d5(0x1af)]('/')[_0x45c1d5(0x1b1)]('..')||_0x570667[_0x45c1d5(0x1b1)]('\x5c'))throw new Error(_0x45c1d5(0x196)+_0x570667);_0x1b2e96[_0x45c1d5(0x19f)](_0x570667),_0x1b2e96['update']('\x00'),_0x1b2e96[_0x45c1d5(0x19f)](readFileSync(join(_0x5cdc45,..._0x570667[_0x45c1d5(0x1af)]('/')))),_0x1b2e96[_0x45c1d5(0x19f)]('\x00');}return _0x1b2e96[_0x45c1d5(0x19d)](_0x45c1d5(0x1ae));}function sameFiles(_0x1700fc,_0x23d242){const _0x1ed3f2=a328_0x10ba2b;return _0x1700fc[_0x1ed3f2(0x1c3)]===_0x23d242[_0x1ed3f2(0x1c3)]&&_0x1700fc[_0x1ed3f2(0x198)]((_0x1f5768,_0x303964)=>_0x1f5768===_0x23d242[_0x303964]);}function readSource(_0x4f895f){const _0x54281b=a328_0x10ba2b,_0x556114=JSON[_0x54281b(0x1c5)](readFileSync(join(_0x4f895f,_0x54281b(0x1a2)),_0x54281b(0x1bf))),_0xc8aed5=JSON[_0x54281b(0x1c5)](readFileSync(join(_0x4f895f,_0x54281b(0x1b6),_0x54281b(0x1cd)),_0x54281b(0x1bf))),_0x5bc8ca=join(_0x4f895f,_0x54281b(0x1b6),SKILL_NAME),_0x344dce=frontmatterValue(readFileSync(join(_0x5bc8ca,_0x54281b(0x1ce)),_0x54281b(0x1bf)),_0x54281b(0x1c7)),_0x4e7f1b=listFiles(_0x5bc8ca);if(_0xc8aed5[_0x54281b(0x19b)]!==0x1||_0xc8aed5['name']!==SKILL_NAME||!_0x556114[_0x54281b(0x1c7)]||_0xc8aed5[_0x54281b(0x1b3)]!==_0x556114[_0x54281b(0x1c7)]||_0xc8aed5[_0x54281b(0x1a5)]!==_0x556114[_0x54281b(0x1c7)]||_0x344dce!==_0x556114[_0x54281b(0x1c7)]||!sameFiles(_0x4e7f1b,_0xc8aed5[_0x54281b(0x1d7)])||digestFiles(_0x5bc8ca,_0x4e7f1b)!==_0xc8aed5['digest'])throw new Error(_0x54281b(0x1aa));return{'packageVersion':_0x556114[_0x54281b(0x1c7)],'skillVersion':_0x344dce,'root':_0x5bc8ca,'manifest':_0xc8aed5};}function installedSkillPath(_0x46e960){const _0x104e01=a328_0x10ba2b,_0xd8da6c=resolveInstalledSkill(SKILL_NAME,{'home':_0x46e960});if(_0xd8da6c['state']===_0x104e01(0x1c8))return{'state':_0x104e01(0x1c8),'path':dirname(_0xd8da6c[_0x104e01(0x1d0)])};if(_0xd8da6c['state']===_0x104e01(0x1c1))return{'state':_0x104e01(0x1db)};return{'state':_0x104e01(0x1d8),'reason':_0xd8da6c[_0x104e01(0x1c6)]};}function a328_0x27da(){const _0x33cf92=['partialFailure','1353555TBmoJN','SOURCE_INVALID','utf8','Unsupported\x20Skill\x20entry:\x20','absent','join','length','unknown','parse','reason','version','present','packageRoot','status','Symbolic\x20link\x20is\x20not\x20allowed:\x20','flatMap','rabetbase.manifest.json','SKILL.md','current','path','manifest','content_mismatch',':\x5cs*(.+)$','674748SpCrzP','name','isFile','files','unverifiable','skipped','sha256','missing','root','state','Unsafe\x20manifest\x20path:\x20','VERIFY_FAILED','every','796lOIgVi','message','schemaVersion','count','digest','Installed\x20Skill\x20state\x20is\x20','update','2485BSEFZS','match','package.json','INSTALL_FAILED','sort','skillVersion','84082gJTBtS','installedPath','31659YNXJvo','3632096JvfsGN','Built-in\x20Skill\x20source\x20does\x20not\x20match\x20its\x20package\x20manifest','output','startsWith','stdio','hex','split','error','includes','rabetbase','packageVersion','log','\x20verified;\x20','skills','CLI\x20Built-in\x20Skill\x20','440460BxJtjx','home','rabetbase-skills','version_mismatch'];a328_0x27da=function(){return _0x33cf92;};return a328_0x27da();}export function inspectInstalledBuiltinSkillVersion(_0x77c3fd,_0x366205={}){const _0x2110e6=a328_0x10ba2b,_0x5d9a72=installedSkillPath(_0x366205[_0x2110e6(0x1b9)]??homedir());if(_0x5d9a72[_0x2110e6(0x1dd)]===_0x2110e6(0x1db))return{'state':_0x2110e6(0x1db),'expectedVersion':_0x77c3fd,'repairCommand':REPAIR_COMMAND};if(_0x5d9a72['state']===_0x2110e6(0x1d8))return{'state':_0x2110e6(0x1d8),'expectedVersion':_0x77c3fd,'reason':_0x5d9a72[_0x2110e6(0x1c6)],'repairCommand':REPAIR_COMMAND};try{const _0x2cf4ea=frontmatterValue(readFileSync(join(_0x5d9a72[_0x2110e6(0x1d0)],_0x2110e6(0x1ce)),_0x2110e6(0x1bf)),'version');return{'state':_0x2cf4ea===_0x77c3fd?_0x2110e6(0x1cf):_0x2110e6(0x1bb),'expectedVersion':_0x77c3fd,'skillVersion':_0x2cf4ea,'installedPath':_0x5d9a72[_0x2110e6(0x1d0)],'repairCommand':REPAIR_COMMAND};}catch(_0x36a78d){return{'state':_0x2110e6(0x1d8),'expectedVersion':_0x77c3fd,'installedPath':_0x5d9a72['path'],'reason':_0x36a78d instanceof Error?_0x36a78d[_0x2110e6(0x19a)]:String(_0x36a78d),'repairCommand':REPAIR_COMMAND};}}export function inspectBuiltinSkill(_0x2fa3e={}){const _0xea1510=a328_0x10ba2b,_0x64d306=_0x2fa3e[_0xea1510(0x1c9)]??DEFAULT_PACKAGE_ROOT;let _0x2c3d26;try{_0x2c3d26=readSource(_0x64d306);}catch(_0x597b9c){return{'state':_0xea1510(0x1d8),'packageVersion':_0xea1510(0x1c4),'reason':_0x597b9c instanceof Error?_0x597b9c[_0xea1510(0x19a)]:String(_0x597b9c),'repairCommand':REPAIR_COMMAND};}const _0x2106ec=installedSkillPath(_0x2fa3e['home']??homedir());if(_0x2106ec[_0xea1510(0x1dd)]===_0xea1510(0x1db))return{'state':_0xea1510(0x1db),'packageVersion':_0x2c3d26[_0xea1510(0x1b3)],'repairCommand':REPAIR_COMMAND};if(_0x2106ec[_0xea1510(0x1dd)]==='unverifiable')return{'state':_0xea1510(0x1d8),'packageVersion':_0x2c3d26[_0xea1510(0x1b3)],'reason':_0x2106ec[_0xea1510(0x1c6)],'repairCommand':REPAIR_COMMAND};try{const _0x19d7f1=frontmatterValue(readFileSync(join(_0x2106ec[_0xea1510(0x1d0)],_0xea1510(0x1ce)),_0xea1510(0x1bf)),_0xea1510(0x1c7));if(_0x19d7f1!==_0x2c3d26['skillVersion'])return{'state':'version_mismatch','packageVersion':_0x2c3d26[_0xea1510(0x1b3)],'skillVersion':_0x19d7f1,'installedPath':_0x2106ec[_0xea1510(0x1d0)],'repairCommand':REPAIR_COMMAND};const _0x1a188a=listFiles(_0x2106ec['path']),_0x46fa2d=digestFiles(_0x2106ec[_0xea1510(0x1d0)],_0x1a188a);return{'state':sameFiles(_0x1a188a,_0x2c3d26[_0xea1510(0x1d1)][_0xea1510(0x1d7)])&&_0x46fa2d===_0x2c3d26[_0xea1510(0x1d1)][_0xea1510(0x19d)]?_0xea1510(0x1cf):_0xea1510(0x1d2),'packageVersion':_0x2c3d26[_0xea1510(0x1b3)],'skillVersion':_0x19d7f1,'installedPath':_0x2106ec[_0xea1510(0x1d0)],'digest':_0x46fa2d,'repairCommand':REPAIR_COMMAND};}catch(_0x3e591e){return{'state':_0xea1510(0x1d8),'packageVersion':_0x2c3d26[_0xea1510(0x1b3)],'installedPath':_0x2106ec[_0xea1510(0x1d0)],'reason':_0x3e591e instanceof Error?_0x3e591e[_0xea1510(0x19a)]:String(_0x3e591e),'repairCommand':REPAIR_COMMAND};}}function failure(_0x446a8a,_0x6dabea,_0x10147d,_0x238076){const _0x18f983=a328_0x10ba2b;return{'ok':![],'code':_0x446a8a,'packageVersion':_0x6dabea[_0x18f983(0x1b3)],'skillVersion':_0x6dabea[_0x18f983(0x1a5)],'installedPath':_0x238076,'changed':![],'repairCommand':REPAIR_COMMAND,'error':_0x10147d instanceof Error?_0x10147d['message']:String(_0x10147d)};}export function installBuiltinSkill(_0x58fb45={}){const _0x199e87=a328_0x10ba2b,_0x13b156=_0x58fb45[_0x199e87(0x1c9)]??DEFAULT_PACKAGE_ROOT,_0x173496=_0x58fb45[_0x199e87(0x1b9)]??homedir();let _0x3b3394;try{_0x3b3394=readSource(_0x13b156);}catch(_0x2fbd60){return failure(_0x199e87(0x1be),{'packageVersion':_0x199e87(0x1c4),'skillVersion':_0x199e87(0x1c4)},_0x2fbd60);}const _0xbddcc2=inspectBuiltinSkill({'packageRoot':_0x13b156,'home':_0x173496}),_0x5c26b1=runNpxSkillsAddGlobal(_0x13b156,_0x3b3394[_0x199e87(0x1dc)],{'stdio':_0x58fb45[_0x199e87(0x1ad)]??'pipe','expectedSkillName':SKILL_NAME,'presence':{'home':_0x173496}});if(_0x5c26b1[_0x199e87(0x1d9)])return{'ok':!![],'packageVersion':_0x3b3394[_0x199e87(0x1b3)],'skillVersion':_0x3b3394[_0x199e87(0x1a5)],'installedPath':_0xbddcc2[_0x199e87(0x1a7)],'changed':![],'repairCommand':REPAIR_COMMAND};if(!_0x5c26b1['ok'])return failure(_0x199e87(0x1a3),_0x3b3394,_0x5c26b1[_0x199e87(0x1b0)]??'skills@latest\x20exited\x20'+_0x5c26b1[_0x199e87(0x1ca)]);const _0x3bee0f=inspectBuiltinSkill({'packageRoot':_0x13b156,'home':_0x173496});if(_0x3bee0f[_0x199e87(0x1dd)]!==_0x199e87(0x1cf)){const _0x27e1da=_0x3bee0f[_0x199e87(0x1c6)]??_0x199e87(0x19e)+_0x3bee0f[_0x199e87(0x1dd)];return failure(_0x199e87(0x197),_0x3b3394,_0x5c26b1[_0x199e87(0x1bc)]?_0x27e1da+'\x0a'+_0x5c26b1['partialFailure'][_0x199e87(0x1ab)]:_0x27e1da,_0x3bee0f[_0x199e87(0x1a7)]);}return _0x5c26b1[_0x199e87(0x1bc)]&&(debug('Installer\x20reported\x20partial\x20target\x20failures:\x0a%s',_0x5c26b1[_0x199e87(0x1bc)][_0x199e87(0x1ab)]),console[_0x199e87(0x1b4)](_0x199e87(0x1b7)+_0x3b3394['skillVersion']+_0x199e87(0x1b5)+_0x5c26b1[_0x199e87(0x1bc)][_0x199e87(0x19c)]+'\x20automatically\x20selected\x20installation\x20target(s)\x20could\x20not\x20be\x20installed.')),{'ok':!![],'packageVersion':_0x3b3394[_0x199e87(0x1b3)],'skillVersion':_0x3b3394[_0x199e87(0x1a5)],'installedPath':_0x3bee0f[_0x199e87(0x1a7)],'changed':_0xbddcc2[_0x199e87(0x1dd)]!==_0x199e87(0x1cf),'repairCommand':REPAIR_COMMAND};}
@@ -1 +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(_0x5e8ba7,_0xc1599c){const _0x3e6ecc=a329_0x5039,_0xe6e6=_0x5e8ba7();while(!![]){try{const _0x3507e0=parseInt(_0x3e6ecc(0x1c5))/0x1*(parseInt(_0x3e6ecc(0x1c3))/0x2)+parseInt(_0x3e6ecc(0x1da))/0x3+-parseInt(_0x3e6ecc(0x1be))/0x4*(-parseInt(_0x3e6ecc(0x1c9))/0x5)+parseInt(_0x3e6ecc(0x1bb))/0x6+parseInt(_0x3e6ecc(0x1d0))/0x7*(parseInt(_0x3e6ecc(0x1bc))/0x8)+parseInt(_0x3e6ecc(0x1d9))/0x9*(parseInt(_0x3e6ecc(0x1c4))/0xa)+-parseInt(_0x3e6ecc(0x1d1))/0xb;if(_0x3507e0===_0xc1599c)break;else _0xe6e6['push'](_0xe6e6['shift']());}catch(_0x52b44c){_0xe6e6['push'](_0xe6e6['shift']());}}}(a329_0x5d09,0x345b6));import{logger}from'../utils/logger.js';import{CLI_BIN_NAME}from'../constant/cli.js';import{NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE}from'../skills/npx-skills-add.js';export function camelCaseFlagsToKebab(_0x30e8a3){const _0x2651f3=a329_0x5039,_0x212960=[];for(const [_0x38e4e6,_0x31a3aa]of Object[_0x2651f3(0x1cb)](_0x30e8a3)){if(_0x31a3aa===!![]){const _0x57496c=_0x38e4e6['replace'](/([A-Z])/g,'-$1')['toLowerCase']();_0x212960[_0x2651f3(0x1db)](_0x57496c);}}return _0x212960;}export function parseDynamicFlags(){const _0x43ab71=a329_0x5039,_0x331b7c=[];for(let _0xef4bf5=0x3;_0xef4bf5<process[_0x43ab71(0x1d2)][_0x43ab71(0x1c6)];_0xef4bf5++){const _0x3467c2=process[_0x43ab71(0x1d2)][_0xef4bf5];if(_0x3467c2&&_0x3467c2[_0x43ab71(0x1cd)]('--')){const _0x321489=_0x3467c2[_0x43ab71(0x1c0)](0x2);_0x321489&&!_0x321489[_0x43ab71(0x1c2)]('=')&&_0x331b7c[_0x43ab71(0x1db)](_0x321489);}}return _0x331b7c;}export function getAllProvidedFlags(_0x4a923e){const _0x510618=a329_0x5039,_0x2d5e67=camelCaseFlagsToKebab(_0x4a923e),_0x2cf74a=parseDynamicFlags(),_0x50da19=new Set([..._0x2d5e67,..._0x2cf74a]);return Array[_0x510618(0x1ba)](_0x50da19);}export function normalizeLegacyBffSaveFlags(_0x57b233){const _0x4c71f9=a329_0x5039,_0x152d4b=new Set(_0x57b233);return _0x152d4b[_0x4c71f9(0x1c8)](_0x4c71f9(0x1c1))&&_0x152d4b[_0x4c71f9(0x1d4)](_0x4c71f9(0x1bd)),Array[_0x4c71f9(0x1ba)](_0x152d4b);}function a329_0x5d09(){const _0x4d9bb2=['length','cwd','has','1685ISXaYp','setLogPath','entries','\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill','startsWith','Public\x20Open\x20Skill\x20source:\x20','--help','946547uooqnW','14947834GZnWBJ','argv','error','add','Error:\x20Unsupported\x20command:\x20','skill','(empty)','log','1656ZATyAQ','1044264msizpE','push','\x0aAvailable\x20commands:','from','1302672Lmbado','24GYbPMY','enable-bff-save','4520GJPqvO','help','slice','dangerously-bff-save','includes','18GHdmkK','3770QFYfVf','16923LGQFBj'];a329_0x5d09=function(){return _0x4d9bb2;};return a329_0x5d09();}function a329_0x5039(_0x5cc9fa,_0x113b39){_0x5cc9fa=_0x5cc9fa-0x1b9;const _0x5d0933=a329_0x5d09();let _0x503977=_0x5d0933[_0x5cc9fa];return _0x503977;}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;export async function skillsCommand(_0x4014b5,_0x3a2e4c,_0x33e646){const _0x54758f=a329_0x5039;logger[_0x54758f(0x1ca)](process[_0x54758f(0x1c7)]());if(_0x33e646?.[_0x54758f(0x1bf)]||_0x4014b5===_0x54758f(0x1cf)){showHelp();return;}console[_0x54758f(0x1d3)](_0x54758f(0x1d5)+(_0x4014b5||_0x54758f(0x1d7))),console[_0x54758f(0x1d8)](_0x54758f(0x1b9)),console[_0x54758f(0x1d8)]('\x20\x20'+CLI_BIN_NAME+_0x54758f(0x1cc)),console[_0x54758f(0x1d8)](''),console['log'](_0x54758f(0x1ce)+SKILLS_INSTALL_COMMAND_LINE),logger[_0x54758f(0x1d3)](_0x54758f(0x1d6),'Unsupported\x20command:\x20'+_0x4014b5),process['exit'](0x1);}function showHelp(){const _0x1c6a1a=a329_0x5039;console[_0x1c6a1a(0x1d8)]('\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20'+CLI_BIN_NAME+'\x20cli-skill\x20install\x0a\x0aPublic\x20Open\x20Skill\x20source:\x20'+SKILLS_INSTALL_COMMAND_LINE+'\x0a\x0aNote:\x20cli-skill\x20install\x20uses\x20the\x20npm\x20package-local\x20Skill;\x20the\x20public\x20source\x20is\x20an\x20optional\x20latest\x20mirror.\x0a');}