@lovrabet/rabetbase-cli 2.4.5 → 2.4.6-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (342) hide show
  1. package/README.md +3 -2
  2. package/lib/api/api-doc.js +1 -1
  3. package/lib/api/fetch-model-list.js +1 -1
  4. package/lib/api/generate-api-file.js +1 -1
  5. package/lib/auth/auth-server-ui.js +1 -1
  6. package/lib/auth/auth-server.js +1 -1
  7. package/lib/auth/constant.js +1 -1
  8. package/lib/auth/get-cookie.js +1 -1
  9. package/lib/auth/get-session-user.js +1 -1
  10. package/lib/auth/is-session-valid.js +1 -1
  11. package/lib/auth/login-success-html.js +1 -1
  12. package/lib/auth/logout.js +1 -1
  13. package/lib/cli-flags.js +1 -1
  14. package/lib/cli.js +1 -1
  15. package/lib/commands/api/generate.js +1 -1
  16. package/lib/commands/api/index.js +1 -1
  17. package/lib/commands/api/list.js +1 -1
  18. package/lib/commands/api/pull.js +1 -1
  19. package/lib/commands/api/shared.js +1 -1
  20. package/lib/commands/app/index.js +1 -1
  21. package/lib/commands/app/list.js +1 -1
  22. package/lib/commands/app/members-list.js +1 -1
  23. package/lib/commands/app/remote-directory.js +1 -1
  24. package/lib/commands/app/shared.js +1 -1
  25. package/lib/commands/app-config/delete.js +1 -1
  26. package/lib/commands/app-config/get.js +1 -1
  27. package/lib/commands/app-config/index.js +1 -1
  28. package/lib/commands/app-config/list.js +1 -1
  29. package/lib/commands/app-config/set.js +1 -1
  30. package/lib/commands/app-config/shared.js +1 -1
  31. package/lib/commands/auth/index.js +1 -1
  32. package/lib/commands/bff/create.js +1 -1
  33. package/lib/commands/bff/delete.js +1 -1
  34. package/lib/commands/bff/detail.js +1 -1
  35. package/lib/commands/bff/index.js +1 -1
  36. package/lib/commands/bff/list.js +1 -1
  37. package/lib/commands/bff/pull.js +1 -1
  38. package/lib/commands/bff/push.js +1 -1
  39. package/lib/commands/bff/status.js +1 -1
  40. package/lib/commands/cli-skill/index.js +1 -1
  41. package/lib/commands/cli-update.js +1 -1
  42. package/lib/commands/codegen/index.js +1 -1
  43. package/lib/commands/codegen/sdk.js +1 -1
  44. package/lib/commands/codegen/sql.js +1 -1
  45. package/lib/commands/common/app-registry.js +1 -1
  46. package/lib/commands/common/app-selector.js +1 -1
  47. package/lib/commands/common/async-task.js +1 -1
  48. package/lib/commands/common/dry-run.js +1 -1
  49. package/lib/commands/common/flags.js +1 -1
  50. package/lib/commands/common/local-file.js +1 -1
  51. package/lib/commands/common/validate.js +1 -1
  52. package/lib/commands/config/get.js +1 -1
  53. package/lib/commands/config/index.js +1 -1
  54. package/lib/commands/config/list.js +1 -1
  55. package/lib/commands/config/set.js +1 -1
  56. package/lib/commands/config/shared.js +1 -1
  57. package/lib/commands/data/filter.js +1 -1
  58. package/lib/commands/data/getOne.js +1 -1
  59. package/lib/commands/data/index.js +1 -1
  60. package/lib/commands/data/shared.js +1 -1
  61. package/lib/commands/dataset/business-group-update.js +1 -1
  62. package/lib/commands/dataset/business-groups.js +1 -1
  63. package/lib/commands/dataset/capability.js +1 -1
  64. package/lib/commands/dataset/delete.js +1 -1
  65. package/lib/commands/dataset/detail.js +1 -1
  66. package/lib/commands/dataset/extend-update.js +1 -1
  67. package/lib/commands/dataset/field-update.js +1 -1
  68. package/lib/commands/dataset/generate.js +1 -1
  69. package/lib/commands/dataset/index.js +1 -1
  70. package/lib/commands/dataset/list.js +1 -1
  71. package/lib/commands/dataset/operations.js +1 -1
  72. package/lib/commands/dataset/relation-audit.js +1 -1
  73. package/lib/commands/dataset/relation-create.js +1 -1
  74. package/lib/commands/dataset/relation-delete.js +1 -1
  75. package/lib/commands/dataset/relation-shared.js +1 -1
  76. package/lib/commands/dataset/relation-update.js +1 -1
  77. package/lib/commands/dataset/relations.js +1 -1
  78. package/lib/commands/dataset/rename.js +1 -1
  79. package/lib/commands/dataset/restore.js +1 -1
  80. package/lib/commands/db/analysis-batching.js +1 -1
  81. package/lib/commands/db/analyze-batch-plan.js +1 -1
  82. package/lib/commands/db/analyze-cancel.js +1 -1
  83. package/lib/commands/db/analyze-start.js +1 -1
  84. package/lib/commands/db/analyze-status.js +1 -1
  85. package/lib/commands/db/create.js +1 -1
  86. package/lib/commands/db/delete.js +1 -1
  87. package/lib/commands/db/detail.js +1 -1
  88. package/lib/commands/db/diff-refresh-start.js +1 -1
  89. package/lib/commands/db/diff-refresh-status.js +1 -1
  90. package/lib/commands/db/diff.js +1 -1
  91. package/lib/commands/db/index.js +1 -1
  92. package/lib/commands/db/list.js +1 -1
  93. package/lib/commands/db/shared.js +1 -1
  94. package/lib/commands/db/tables.js +1 -1
  95. package/lib/commands/db/test.js +1 -1
  96. package/lib/commands/db/update.js +1 -1
  97. package/lib/commands/doctor.js +1 -1
  98. package/lib/commands/file/index.js +1 -1
  99. package/lib/commands/init/index.js +1 -1
  100. package/lib/commands/issue/index.js +1 -1
  101. package/lib/commands/issue/nudge.js +1 -1
  102. package/lib/commands/issue/report.js +1 -1
  103. package/lib/commands/issue/shared.js +1 -1
  104. package/lib/commands/kb/create.js +1 -1
  105. package/lib/commands/kb/delete.js +1 -1
  106. package/lib/commands/kb/detail.js +1 -1
  107. package/lib/commands/kb/index.js +1 -1
  108. package/lib/commands/kb/list.js +1 -1
  109. package/lib/commands/kb/shared.js +1 -1
  110. package/lib/commands/kb/update.js +1 -1
  111. package/lib/commands/logs/index.js +1 -1
  112. package/lib/commands/menu/asset-update.js +1 -1
  113. package/lib/commands/menu/delete.js +1 -1
  114. package/lib/commands/menu/external-link-create.js +1 -1
  115. package/lib/commands/menu/external-link-update.js +1 -1
  116. package/lib/commands/menu/group-create.js +1 -1
  117. package/lib/commands/menu/group-update.js +1 -1
  118. package/lib/commands/menu/index.js +1 -1
  119. package/lib/commands/menu/list.js +1 -1
  120. package/lib/commands/menu/move.js +1 -1
  121. package/lib/commands/menu/regroup-start.js +1 -1
  122. package/lib/commands/menu/rename.js +1 -1
  123. package/lib/commands/menu/shared/compare-table.js +1 -1
  124. package/lib/commands/menu/shared/delete-plan.js +1 -1
  125. package/lib/commands/menu/shared/facts.js +1 -1
  126. package/lib/commands/menu/shared/index.js +1 -1
  127. package/lib/commands/menu/shared/inquirer.js +1 -1
  128. package/lib/commands/menu/shared/local-pages.js +1 -1
  129. package/lib/commands/menu/shared/logic.js +1 -1
  130. package/lib/commands/menu/shared/mutations.js +1 -1
  131. package/lib/commands/menu/shared/service.js +1 -1
  132. package/lib/commands/menu/shared/sync-core.js +1 -1
  133. package/lib/commands/menu/shared/update-core.js +1 -1
  134. package/lib/commands/menu/shared/valid-url.js +1 -1
  135. package/lib/commands/menu/sync.js +1 -1
  136. package/lib/commands/notification/config-create.js +1 -1
  137. package/lib/commands/notification/config-delete.js +1 -1
  138. package/lib/commands/notification/config-list.js +1 -1
  139. package/lib/commands/notification/config-update.js +1 -1
  140. package/lib/commands/notification/index.js +1 -1
  141. package/lib/commands/notification/shared.js +1 -1
  142. package/lib/commands/ocr/index.js +1 -1
  143. package/lib/commands/page/{standard-page-status.d.ts → create.d.ts} +1 -1
  144. package/lib/commands/page/create.js +1 -0
  145. package/lib/commands/page/{react → custom}/detail.d.ts +1 -1
  146. package/lib/commands/page/custom/detail.js +1 -0
  147. package/lib/commands/page/{react → custom}/list.d.ts +1 -1
  148. package/lib/commands/page/custom/list.js +1 -0
  149. package/lib/commands/page/{react → custom}/publish.d.ts +1 -1
  150. package/lib/commands/page/custom/publish.js +1 -0
  151. package/lib/commands/page/{react → custom}/shared.d.ts +15 -15
  152. package/lib/commands/page/custom/shared.js +1 -0
  153. package/lib/commands/page/{react → custom}/syntax.d.ts +2 -2
  154. package/lib/commands/page/custom/syntax.js +1 -0
  155. package/lib/commands/page/custom/template.js +1 -0
  156. package/lib/commands/page/{react → custom}/update.d.ts +1 -1
  157. package/lib/commands/page/custom/update.js +1 -0
  158. package/lib/commands/page/data-list-status.d.ts +2 -0
  159. package/lib/commands/page/data-list-status.js +1 -0
  160. package/lib/commands/page/generate-start.js +1 -1
  161. package/lib/commands/page/generate-status.js +1 -1
  162. package/lib/commands/page/index.js +1 -1
  163. package/lib/commands/page/pull.js +1 -1
  164. package/lib/commands/page/push.js +1 -1
  165. package/lib/commands/page/relation-audit.js +1 -1
  166. package/lib/commands/page/restore.js +1 -1
  167. package/lib/commands/page/shared.d.ts +18 -18
  168. package/lib/commands/page/shared.js +1 -1
  169. package/lib/commands/page/sync.js +1 -1
  170. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  171. package/lib/commands/project/create/format-elapsed.js +1 -1
  172. package/lib/commands/project/create/main.js +1 -1
  173. package/lib/commands/project/create/materialize-project-template.js +1 -1
  174. package/lib/commands/project/create/project-name.js +1 -1
  175. package/lib/commands/project/create/project-template-archive.js +1 -1
  176. package/lib/commands/project/create/project-template-path.js +1 -1
  177. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  178. package/lib/commands/project/create/use-format-code.js +1 -1
  179. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  180. package/lib/commands/project/index.js +1 -1
  181. package/lib/commands/project/upgrade.js +1 -1
  182. package/lib/commands/registry.js +1 -1
  183. package/lib/commands/role/delete.js +1 -1
  184. package/lib/commands/role/detail.js +1 -1
  185. package/lib/commands/role/index.js +1 -1
  186. package/lib/commands/role/list.js +1 -1
  187. package/lib/commands/role/shared.js +1 -1
  188. package/lib/commands/role/update.js +1 -1
  189. package/lib/commands/role/user-add.js +1 -1
  190. package/lib/commands/role/user-remove.js +1 -1
  191. package/lib/commands/role/user-resolve.js +1 -1
  192. package/lib/commands/run/index.js +1 -1
  193. package/lib/commands/schema.js +1 -1
  194. package/lib/commands/sql/create.js +1 -1
  195. package/lib/commands/sql/delete.js +1 -1
  196. package/lib/commands/sql/detail.js +1 -1
  197. package/lib/commands/sql/exec.js +1 -1
  198. package/lib/commands/sql/index.js +1 -1
  199. package/lib/commands/sql/list.js +1 -1
  200. package/lib/commands/sql/pull.js +1 -1
  201. package/lib/commands/sql/push.js +1 -1
  202. package/lib/commands/sql/shared.js +1 -1
  203. package/lib/commands/sql/status.js +1 -1
  204. package/lib/commands/sql/validate.js +1 -1
  205. package/lib/commands/task/index.js +1 -1
  206. package/lib/commands/task/status.js +1 -1
  207. package/lib/commands/tenant/index.js +1 -1
  208. package/lib/commands/tenant/members-list.js +1 -1
  209. package/lib/commands/tenant/shared.js +1 -1
  210. package/lib/commands/user-account/dingding-sandbox-bind.js +1 -1
  211. package/lib/commands/user-account/index.js +1 -1
  212. package/lib/commands/workspace/add.js +1 -1
  213. package/lib/commands/workspace/index.js +1 -1
  214. package/lib/commands/workspace/remove.js +1 -1
  215. package/lib/config/schema.js +1 -1
  216. package/lib/constant/cdn.js +1 -1
  217. package/lib/constant/cli.js +1 -1
  218. package/lib/constant/defaults.js +1 -1
  219. package/lib/constant/domain.js +1 -1
  220. package/lib/constant/env.js +1 -1
  221. package/lib/constant/output.js +1 -1
  222. package/lib/constant/paths.js +1 -1
  223. package/lib/constant/risk.js +1 -1
  224. package/lib/context/app-resolver.js +1 -1
  225. package/lib/context/auth-resolver.js +1 -1
  226. package/lib/context/config-loader.js +1 -1
  227. package/lib/context.js +1 -1
  228. package/lib/core/alias-resolver.js +1 -1
  229. package/lib/core/api-client.d.ts +43 -43
  230. package/lib/core/api-client.js +1 -1
  231. package/lib/core/bff/config.js +1 -1
  232. package/lib/core/bff/file-system.js +1 -1
  233. package/lib/core/bff/hash.js +1 -1
  234. package/lib/core/bff/lock.js +1 -1
  235. package/lib/core/bff/utils.d.ts +3 -1
  236. package/lib/core/bff/utils.js +1 -1
  237. package/lib/core/db-resolver.js +1 -1
  238. package/lib/core/page/file-system.js +1 -1
  239. package/lib/core/page/hash.js +1 -1
  240. package/lib/core/page/lock.js +1 -1
  241. package/lib/core/sql-index-auditor.js +1 -1
  242. package/lib/core/sql-sync/config.js +1 -1
  243. package/lib/core/sql-sync/file-system.js +1 -1
  244. package/lib/core/sql-sync/hash.js +1 -1
  245. package/lib/core/sql-sync/lock.js +1 -1
  246. package/lib/core/sql-sync/utils.js +1 -1
  247. package/lib/core/sql-validator.js +1 -1
  248. package/lib/errors.js +1 -1
  249. package/lib/framework/build-all-flags.js +1 -1
  250. package/lib/framework/error-output.js +1 -1
  251. package/lib/framework/explicit-yes.js +1 -1
  252. package/lib/framework/flags.js +1 -1
  253. package/lib/framework/help.js +1 -1
  254. package/lib/framework/index.js +1 -1
  255. package/lib/framework/output.js +1 -1
  256. package/lib/framework/response.js +1 -1
  257. package/lib/framework/runner-alias.js +1 -1
  258. package/lib/framework/runner.js +1 -1
  259. package/lib/framework/schema-export.js +1 -1
  260. package/lib/framework/types.js +1 -1
  261. package/lib/generated/build-info.d.ts +4 -4
  262. package/lib/generated/build-info.js +1 -1
  263. package/lib/help.js +1 -1
  264. package/lib/postinstall.js +1 -1
  265. package/lib/runtime/confirmation.js +1 -1
  266. package/lib/runtime/event.js +1 -1
  267. package/lib/runtime/index.js +1 -1
  268. package/lib/runtime/queue.js +1 -1
  269. package/lib/runtime/resolve.js +1 -1
  270. package/lib/skills/builtin-skill.js +1 -1
  271. package/lib/skills/main.js +1 -1
  272. package/lib/skills/npx-skills-add.js +1 -1
  273. package/lib/skills/skill-presence.js +1 -1
  274. package/lib/telemetry/cli-command-trace.js +1 -1
  275. package/lib/telemetry/cli-help-trace.js +1 -1
  276. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  277. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  278. package/lib/telemetry/send-cli-trace-log.js +1 -1
  279. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  280. package/lib/utils/ai_config.js +1 -1
  281. package/lib/utils/apply-jq-filter.js +1 -1
  282. package/lib/utils/cdn-config.js +1 -1
  283. package/lib/utils/check-sdk-version.js +1 -1
  284. package/lib/utils/cli-version-check.js +1 -1
  285. package/lib/utils/cli-version-policy.js +1 -1
  286. package/lib/utils/config.js +1 -1
  287. package/lib/utils/entity-with-id.js +1 -1
  288. package/lib/utils/file-utils.js +1 -1
  289. package/lib/utils/guides-cdn.js +1 -1
  290. package/lib/utils/http-client.js +1 -1
  291. package/lib/utils/is-non-interactive.js +1 -1
  292. package/lib/utils/logger.js +1 -1
  293. package/lib/utils/params.js +1 -1
  294. package/lib/utils/platform.js +1 -1
  295. package/lib/utils/rules-cdn.js +1 -1
  296. package/lib/utils/sleep.js +1 -1
  297. package/lib/utils/template-replacer.js +1 -1
  298. package/lib/utils/update-notice.js +1 -1
  299. package/lib/utils/version.js +1 -1
  300. package/lib/utils/with-active-cookie.js +1 -1
  301. package/lib/utils/write-cli-side-channel.js +1 -1
  302. package/package.json +1 -1
  303. package/skills/rabetbase/SKILL.md +34 -34
  304. package/skills/rabetbase/guides/backend-function.md +63 -18
  305. package/skills/rabetbase/guides/bff-creation-workflow.md +2 -0
  306. package/skills/rabetbase/guides/{react-custom-page-workflow.md → custom-page-workflow.md} +45 -45
  307. package/skills/rabetbase/guides/page-development-workflow.md +22 -22
  308. package/skills/rabetbase/knowledge/{react-page → custom-page}/components.md +2 -2
  309. package/skills/rabetbase/knowledge/{react-page → custom-page}/generation-standards.md +6 -6
  310. package/skills/rabetbase/knowledge/page-schema/LrSmartTable.md +6 -6
  311. package/skills/rabetbase/knowledge/page-schema/external-resources-usage.md +1 -1
  312. package/skills/rabetbase/references/rabetbase-bff-create.md +2 -0
  313. package/skills/rabetbase/references/{rabetbase-standard-page-status.md → rabetbase-data-list-status.md} +6 -6
  314. package/skills/rabetbase/references/rabetbase-dataset-generate.md +1 -1
  315. package/skills/rabetbase/references/rabetbase-dataset-relation-mutations.md +1 -1
  316. package/skills/rabetbase/references/rabetbase-dataset-relations.md +1 -1
  317. package/skills/rabetbase/references/rabetbase-dataset-restore.md +1 -1
  318. package/skills/rabetbase/references/rabetbase-menu-list.md +1 -1
  319. package/skills/rabetbase/references/rabetbase-page-create.md +31 -0
  320. package/skills/rabetbase/references/{rabetbase-page-react-detail.md → rabetbase-page-custom-detail.md} +5 -5
  321. package/skills/rabetbase/references/{rabetbase-page-react-list.md → rabetbase-page-custom-list.md} +4 -4
  322. package/skills/rabetbase/references/{rabetbase-page-react-publish.md → rabetbase-page-custom-publish.md} +6 -6
  323. package/skills/rabetbase/references/{rabetbase-page-react-update.md → rabetbase-page-custom-update.md} +6 -6
  324. package/skills/rabetbase/references/rabetbase-page-generate-start.md +5 -4
  325. package/skills/rabetbase/references/rabetbase-page-generate-status.md +4 -4
  326. package/skills/rabetbase/references/rabetbase-page-pull.md +2 -2
  327. package/skills/rabetbase/references/rabetbase-page-relation-binding.md +1 -1
  328. package/skills/rabetbase/references/rabetbase-page-restore.md +7 -7
  329. package/skills/rabetbase/references/rabetbase-page-sync.md +3 -3
  330. package/skills/rabetbase.manifest.json +12 -12
  331. package/lib/commands/page/react/create.d.ts +0 -2
  332. package/lib/commands/page/react/create.js +0 -1
  333. package/lib/commands/page/react/detail.js +0 -1
  334. package/lib/commands/page/react/list.js +0 -1
  335. package/lib/commands/page/react/publish.js +0 -1
  336. package/lib/commands/page/react/shared.js +0 -1
  337. package/lib/commands/page/react/syntax.js +0 -1
  338. package/lib/commands/page/react/template.js +0 -1
  339. package/lib/commands/page/react/update.js +0 -1
  340. package/lib/commands/page/standard-page-status.js +0 -1
  341. package/skills/rabetbase/references/rabetbase-page-react-create.md +0 -29
  342. /package/lib/commands/page/{react → custom}/template.d.ts +0 -0
package/lib/errors.js CHANGED
@@ -1 +1 @@
1
- const a239_0x109874=a239_0x5ae8;(function(_0x383a2c,_0x389764){const _0x5bc20d=a239_0x5ae8,_0x53a5c8=_0x383a2c();while(!![]){try{const _0x1f6250=parseInt(_0x5bc20d(0x11f))/0x1*(parseInt(_0x5bc20d(0x126))/0x2)+-parseInt(_0x5bc20d(0x120))/0x3+parseInt(_0x5bc20d(0x124))/0x4+-parseInt(_0x5bc20d(0x127))/0x5*(parseInt(_0x5bc20d(0x125))/0x6)+-parseInt(_0x5bc20d(0x123))/0x7+parseInt(_0x5bc20d(0x128))/0x8+-parseInt(_0x5bc20d(0x129))/0x9;if(_0x1f6250===_0x389764)break;else _0x53a5c8['push'](_0x53a5c8['shift']());}catch(_0x135c05){_0x53a5c8['push'](_0x53a5c8['shift']());}}}(a239_0x3553,0x4e183));import{CliError,createCliErrors}from'@lovrabet/cli-framework';function a239_0x5ae8(_0x5d52b6,_0x51c06e){_0x5d52b6=_0x5d52b6-0x11c;const _0x3553ba=a239_0x3553();let _0x5ae824=_0x3553ba[_0x5d52b6];return _0x5ae824;}import{CLI_BIN_NAME}from'./constant/cli.js';function a239_0x3553(){const _0x3e39ae=['\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','Run\x20`','Tip:\x20`','join','11bkMQey','1279131xGEzmH','Run\x20this\x20command\x20inside\x20a\x20project\x20with\x20.rabetbase.json\x20file.','\x20init\x20--appcode\x20<code>\x20--global`\x20registers\x20globally\x20so\x20you\x20can\x20use\x20it\x20from\x20anywhere.','666288AORAiy','1463164CGsssB','45282MmcLKR','51026rqUbSR','70MLoZlm','4154328eqrJJY','1967679IeDQKF','Set\x20appcode\x20via\x20`'];a239_0x3553=function(){return _0x3e39ae;};return a239_0x3553();}export{CliError};export const CliErrors=createCliErrors({'cliBinName':CLI_BIN_NAME,'authRequiredHint':a239_0x109874(0x11c)+CLI_BIN_NAME+'\x20auth`\x20to\x20login\x20first.','configMissingHint':[a239_0x109874(0x12a)+CLI_BIN_NAME+a239_0x109874(0x12b),a239_0x109874(0x11d)+CLI_BIN_NAME+a239_0x109874(0x122)][a239_0x109874(0x11e)]('\x0a\x20\x20\x20\x20\x20\x20\x20'),'notInProjectHint':a239_0x109874(0x121)});
1
+ const a239_0x350c2e=a239_0x4dcb;(function(_0x8ec669,_0x34255d){const _0x3cf8ba=a239_0x4dcb,_0x434df7=_0x8ec669();while(!![]){try{const _0x5a3baa=parseInt(_0x3cf8ba(0x18c))/0x1+-parseInt(_0x3cf8ba(0x18b))/0x2*(-parseInt(_0x3cf8ba(0x193))/0x3)+-parseInt(_0x3cf8ba(0x191))/0x4+-parseInt(_0x3cf8ba(0x18f))/0x5*(-parseInt(_0x3cf8ba(0x18d))/0x6)+parseInt(_0x3cf8ba(0x185))/0x7*(-parseInt(_0x3cf8ba(0x194))/0x8)+-parseInt(_0x3cf8ba(0x188))/0x9+parseInt(_0x3cf8ba(0x186))/0xa*(-parseInt(_0x3cf8ba(0x192))/0xb);if(_0x5a3baa===_0x34255d)break;else _0x434df7['push'](_0x434df7['shift']());}catch(_0xa5a9fa){_0x434df7['push'](_0x434df7['shift']());}}}(a239_0xd6f4,0x297c5));function a239_0x4dcb(_0x5129c3,_0x39f5ac){_0x5129c3=_0x5129c3-0x185;const _0xd6f468=a239_0xd6f4();let _0x4dcbb4=_0xd6f468[_0x5129c3];return _0x4dcbb4;}import{CliError,createCliErrors}from'@lovrabet/cli-framework';import{CLI_BIN_NAME}from'./constant/cli.js';export{CliError};function a239_0xd6f4(){const _0x45763e=['4870cKUWpI','Set\x20appcode\x20via\x20`','895608SRSPMo','Run\x20`','\x20auth`\x20to\x20login\x20first.','2UptGRb','322580vUdDSj','348sOaSIp','join','11330VNFttd','Tip:\x20`','1024796TEcepP','253wKBFSr','325761bpzqYe','432PRFfwt','\x0a\x20\x20\x20\x20\x20\x20\x20','3339vhhqcg'];a239_0xd6f4=function(){return _0x45763e;};return a239_0xd6f4();}export const CliErrors=createCliErrors({'cliBinName':CLI_BIN_NAME,'authRequiredHint':a239_0x350c2e(0x189)+CLI_BIN_NAME+a239_0x350c2e(0x18a),'configMissingHint':[a239_0x350c2e(0x187)+CLI_BIN_NAME+'\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.',a239_0x350c2e(0x190)+CLI_BIN_NAME+'\x20init\x20--appcode\x20<code>\x20--global`\x20registers\x20globally\x20so\x20you\x20can\x20use\x20it\x20from\x20anywhere.'][a239_0x350c2e(0x18e)](a239_0x350c2e(0x195)),'notInProjectHint':'Run\x20this\x20command\x20inside\x20a\x20project\x20with\x20.rabetbase.json\x20file.'});
@@ -1 +1 @@
1
- (function(_0x1c0617,_0x502561){const _0x2b99ad=a240_0x548f,_0x178e4b=_0x1c0617();while(!![]){try{const _0x3d4fca=-parseInt(_0x2b99ad(0x10b))/0x1*(parseInt(_0x2b99ad(0x103))/0x2)+-parseInt(_0x2b99ad(0x108))/0x3*(parseInt(_0x2b99ad(0x109))/0x4)+parseInt(_0x2b99ad(0x102))/0x5+-parseInt(_0x2b99ad(0x104))/0x6*(-parseInt(_0x2b99ad(0x101))/0x7)+-parseInt(_0x2b99ad(0x10a))/0x8*(parseInt(_0x2b99ad(0x10c))/0x9)+-parseInt(_0x2b99ad(0x107))/0xa+parseInt(_0x2b99ad(0x100))/0xb*(parseInt(_0x2b99ad(0x105))/0xc);if(_0x3d4fca===_0x502561)break;else _0x178e4b['push'](_0x178e4b['shift']());}catch(_0xfa3ebd){_0x178e4b['push'](_0x178e4b['shift']());}}}(a240_0x1c94,0x78f06));import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';import{buildAllFlags as a240_0x4204cd}from'@lovrabet/cli-framework';import{EXPLICIT_YES_FLAG_DESCRIPTION,requiresExplicitYes}from'../framework/explicit-yes.js';function a240_0x1c94(){const _0x148945=['2988wFmsXm','36eQJIzm','36YwpYsJ','map','1179280aGjrxz','24501tXwTay','44SrHVkY','24COWUGT','521bzdcwa','1284831GFIImX','yes','6103196ctYKQx','167069ZZoOSB','510360CrEeOm'];a240_0x1c94=function(){return _0x148945;};return a240_0x1c94();}function a240_0x548f(_0x393b87,_0x4b92b1){_0x393b87=_0x393b87-0xff;const _0x1c94d3=a240_0x1c94();let _0x548f84=_0x1c94d3[_0x393b87];return _0x548f84;}export function buildAllFlags(_0x41c917){const _0x31041a=a240_0x548f,_0x5e86f8=a240_0x4204cd(_0x41c917,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});if(!requiresExplicitYes(_0x41c917))return _0x5e86f8;return _0x5e86f8[_0x31041a(0x106)](_0x387cc2=>_0x387cc2['name']===_0x31041a(0xff)?{..._0x387cc2,'description':EXPLICIT_YES_FLAG_DESCRIPTION}:_0x387cc2);}
1
+ function a240_0x4dd4(){const _0x39aa29=['1791lnmPqA','map','1213860ccrqdl','5584AFmunj','name','3361638XsBOrp','1763nxuCGM','1176948ojizrv','229120pJMgRj','yes','1843203hIxXSh','648mjMKKk'];a240_0x4dd4=function(){return _0x39aa29;};return a240_0x4dd4();}(function(_0x23a4f8,_0x3a85eb){const _0x1ef92e=a240_0x37e6,_0x4c2965=_0x23a4f8();while(!![]){try{const _0x537ea9=parseInt(_0x1ef92e(0xd7))/0x1*(parseInt(_0x1ef92e(0xdc))/0x2)+-parseInt(_0x1ef92e(0xdb))/0x3+parseInt(_0x1ef92e(0xd9))/0x4+-parseInt(_0x1ef92e(0xdf))/0x5+parseInt(_0x1ef92e(0xd8))/0x6+parseInt(_0x1ef92e(0xd6))/0x7+-parseInt(_0x1ef92e(0xe0))/0x8*(parseInt(_0x1ef92e(0xdd))/0x9);if(_0x537ea9===_0x3a85eb)break;else _0x4c2965['push'](_0x4c2965['shift']());}catch(_0x20b083){_0x4c2965['push'](_0x4c2965['shift']());}}}(a240_0x4dd4,0x4b649));import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';import{buildAllFlags as a240_0xc8cd8c}from'@lovrabet/cli-framework';function a240_0x37e6(_0x2e9b25,_0x9faf4e){_0x2e9b25=_0x2e9b25-0xd5;const _0x4dd42b=a240_0x4dd4();let _0x37e6b6=_0x4dd42b[_0x2e9b25];return _0x37e6b6;}import{EXPLICIT_YES_FLAG_DESCRIPTION,requiresExplicitYes}from'../framework/explicit-yes.js';export function buildAllFlags(_0x1719f4){const _0x17076b=a240_0x37e6,_0x5d5e2b=a240_0xc8cd8c(_0x1719f4,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});if(!requiresExplicitYes(_0x1719f4))return _0x5d5e2b;return _0x5d5e2b[_0x17076b(0xde)](_0x17cfe7=>_0x17cfe7[_0x17076b(0xd5)]===_0x17076b(0xda)?{..._0x17cfe7,'description':EXPLICIT_YES_FLAG_DESCRIPTION}:_0x17cfe7);}
@@ -1 +1 @@
1
- (function(_0x13a5ec,_0x3d97c5){var _0x51bde0=a241_0xf5ce,_0x9228b7=_0x13a5ec();while(!![]){try{var _0x418f5a=parseInt(_0x51bde0(0x68))/0x1+parseInt(_0x51bde0(0x72))/0x2+parseInt(_0x51bde0(0x74))/0x3*(parseInt(_0x51bde0(0x6f))/0x4)+parseInt(_0x51bde0(0x69))/0x5+parseInt(_0x51bde0(0x70))/0x6+-parseInt(_0x51bde0(0x75))/0x7*(-parseInt(_0x51bde0(0x73))/0x8)+-parseInt(_0x51bde0(0x76))/0x9*(parseInt(_0x51bde0(0x6d))/0xa);if(_0x418f5a===_0x3d97c5)break;else _0x9228b7['push'](_0x9228b7['shift']());}catch(_0x44b62e){_0x9228b7['push'](_0x9228b7['shift']());}}}(a241_0x3ca0,0x66744));function a241_0xf5ce(_0x4619bf,_0x1aa70e){_0x4619bf=_0x4619bf-0x68;var _0x3ca0e2=a241_0x3ca0();var _0xf5ce5e=_0x3ca0e2[_0x4619bf];return _0xf5ce5e;}import{resolveOutputConfig}from'@lovrabet/cli-framework';export function usesStructuredErrorOutput(_0x7011af){var _0xf4e25=a241_0xf5ce;return _0x7011af?.[_0xf4e25(0x6c)]===!![];}function a241_0x3ca0(){var _0x5ab71f=['def','418860omQQbx','1498650dOZvFS','compress','833236FEzKTd','8ebzPTi','15KLXupS','211631gkcGXT','3691719opsOGS','defaultFormat','763088Qiozqe','2436590ksRKwu','format','flags','structuredErrors','50xNXwAo'];a241_0x3ca0=function(){return _0x5ab71f;};return a241_0x3ca0();}export function resolveErrorOutputFormat(_0xe7eecb){var _0x491bdf=a241_0xf5ce;if(!_0xe7eecb[_0x491bdf(0x6e)])return _0xe7eecb[_0x491bdf(0x77)]??_0x491bdf(0x71);return resolveOutputConfig({'flags':_0xe7eecb[_0x491bdf(0x6b)]??{},'def':_0xe7eecb['def'],'configDefault':_0xe7eecb[_0x491bdf(0x77)]})[_0x491bdf(0x6a)];}
1
+ (function(_0x291ebb,_0x529a48){var _0xecc87a=a241_0x12be,_0x4e568d=_0x291ebb();while(!![]){try{var _0x4be15b=parseInt(_0xecc87a(0x15c))/0x1+parseInt(_0xecc87a(0x15d))/0x2*(-parseInt(_0xecc87a(0x161))/0x3)+-parseInt(_0xecc87a(0x15f))/0x4+-parseInt(_0xecc87a(0x15e))/0x5+parseInt(_0xecc87a(0x15b))/0x6*(parseInt(_0xecc87a(0x160))/0x7)+parseInt(_0xecc87a(0x162))/0x8+-parseInt(_0xecc87a(0x158))/0x9;if(_0x4be15b===_0x529a48)break;else _0x4e568d['push'](_0x4e568d['shift']());}catch(_0xab752e){_0x4e568d['push'](_0x4e568d['shift']());}}}(a241_0x51cb,0x467a7));function a241_0x12be(_0x40de8e,_0x5adba2){_0x40de8e=_0x40de8e-0x158;var _0x51cbbd=a241_0x51cb();var _0x12bee9=_0x51cbbd[_0x40de8e];return _0x12bee9;}import{resolveOutputConfig}from'@lovrabet/cli-framework';function a241_0x51cb(){var _0x31f7=['798140jRZfDc','1026676mDiDOB','315XoztAa','1072551xZfpzD','3606576RQRqkM','234234tCRGIC','defaultFormat','def','27150cogHSF','434072hFnqdt','2rNtlVU'];a241_0x51cb=function(){return _0x31f7;};return a241_0x51cb();}export function usesStructuredErrorOutput(_0x33010d){return _0x33010d?.['structuredErrors']===!![];}export function resolveErrorOutputFormat(_0x3a4fff){var _0x4b2d6f=a241_0x12be;if(!_0x3a4fff[_0x4b2d6f(0x15a)])return _0x3a4fff[_0x4b2d6f(0x159)]??'compress';return resolveOutputConfig({'flags':_0x3a4fff['flags']??{},'def':_0x3a4fff['def'],'configDefault':_0x3a4fff['defaultFormat']})['format'];}
@@ -1 +1 @@
1
- function a242_0x439d(_0x2c1520,_0x4b5519){_0x2c1520=_0x2c1520-0x69;const _0x4235b8=a242_0x4235();let _0x439d59=_0x4235b8[_0x2c1520];return _0x439d59;}const a242_0x49fba8=a242_0x439d;(function(_0x3568c6,_0x2023f6){const _0x1d07f0=a242_0x439d,_0x5518ba=_0x3568c6();while(!![]){try{const _0x57a4b2=parseInt(_0x1d07f0(0x74))/0x1+-parseInt(_0x1d07f0(0x79))/0x2+parseInt(_0x1d07f0(0x6c))/0x3+parseInt(_0x1d07f0(0x75))/0x4+-parseInt(_0x1d07f0(0x6a))/0x5+parseInt(_0x1d07f0(0x71))/0x6*(-parseInt(_0x1d07f0(0x76))/0x7)+parseInt(_0x1d07f0(0x69))/0x8*(parseInt(_0x1d07f0(0x73))/0x9);if(_0x57a4b2===_0x2023f6)break;else _0x5518ba['push'](_0x5518ba['shift']());}catch(_0x295fe4){_0x5518ba['push'](_0x5518ba['shift']());}}}(a242_0x4235,0xe68ba));const EXPLICIT_YES_COMMANDS=new Set([a242_0x49fba8(0x6e),a242_0x49fba8(0x78),a242_0x49fba8(0x70),a242_0x49fba8(0x6f)]);export const EXPLICIT_YES_FLAG_DESCRIPTION=a242_0x49fba8(0x6d);export function requiresExplicitYes(_0x378452){const _0x2c7f2a=a242_0x49fba8;return EXPLICIT_YES_COMMANDS[_0x2c7f2a(0x72)](_0x378452[_0x2c7f2a(0x6b)]+'\x20'+_0x378452[_0x2c7f2a(0x77)]);}function a242_0x4235(){const _0x2b03da=['command','kb\x20delete','2534460hsOpWL','8hYlrSZ','7336185awCUBc','service','4457154YcqDnu','Required\x20for\x20execution\x20after\x20reviewing\x20the\x20--dry-run\x20plan','menu\x20delete','notification\x20config-delete','notification\x20config-update','1774698xqWGAw','has','3454452pSEmYC','1698418JpWknv','1626400sGKEBY','7pPgpiC'];a242_0x4235=function(){return _0x2b03da;};return a242_0x4235();}
1
+ const a242_0x210098=a242_0x25e5;(function(_0x388724,_0x2bb9bd){const _0x14d860=a242_0x25e5,_0x53b0a5=_0x388724();while(!![]){try{const _0x5eaced=parseInt(_0x14d860(0x1fe))/0x1+parseInt(_0x14d860(0x1f7))/0x2*(parseInt(_0x14d860(0x1ff))/0x3)+-parseInt(_0x14d860(0x1f5))/0x4*(-parseInt(_0x14d860(0x1fc))/0x5)+-parseInt(_0x14d860(0x1f9))/0x6+parseInt(_0x14d860(0x1fb))/0x7*(-parseInt(_0x14d860(0x1f6))/0x8)+parseInt(_0x14d860(0x1fa))/0x9+-parseInt(_0x14d860(0x1f8))/0xa;if(_0x5eaced===_0x2bb9bd)break;else _0x53b0a5['push'](_0x53b0a5['shift']());}catch(_0x5162da){_0x53b0a5['push'](_0x53b0a5['shift']());}}}(a242_0x8987,0x4608c));const EXPLICIT_YES_COMMANDS=new Set(['menu\x20delete',a242_0x210098(0x1f2),a242_0x210098(0x1fd),a242_0x210098(0x1f4)]);export const EXPLICIT_YES_FLAG_DESCRIPTION=a242_0x210098(0x1f1);export function requiresExplicitYes(_0x501bcf){const _0x1db411=a242_0x210098;return EXPLICIT_YES_COMMANDS['has'](_0x501bcf['service']+'\x20'+_0x501bcf[_0x1db411(0x1f3)]);}function a242_0x25e5(_0x56bca9,_0x3d5d95){_0x56bca9=_0x56bca9-0x1f1;const _0x898725=a242_0x8987();let _0x25e5be=_0x898725[_0x56bca9];return _0x25e5be;}function a242_0x8987(){const _0x3ce1c8=['kb\x20delete','command','notification\x20config-delete','12NdAHnZ','272gmqjCz','541642rJnNuz','6851540QccuQP','748224uuORit','4441455GJXazk','36904eXYiWJ','132370nbQkzX','notification\x20config-update','432228sUBnSD','3AfojbT','Required\x20for\x20execution\x20after\x20reviewing\x20the\x20--dry-run\x20plan'];a242_0x8987=function(){return _0x3ce1c8;};return a242_0x8987();}
@@ -1 +1 @@
1
- const a243_0x1ef04c=a243_0x53eb;(function(_0x1c6270,_0x3975db){const _0x313d72=a243_0x53eb,_0x40d827=_0x1c6270();while(!![]){try{const _0x5d32ab=-parseInt(_0x313d72(0x1b6))/0x1+parseInt(_0x313d72(0x1b8))/0x2*(parseInt(_0x313d72(0x1ba))/0x3)+-parseInt(_0x313d72(0x1bc))/0x4+parseInt(_0x313d72(0x1b9))/0x5*(parseInt(_0x313d72(0x1bd))/0x6)+parseInt(_0x313d72(0x1be))/0x7*(-parseInt(_0x313d72(0x1b7))/0x8)+parseInt(_0x313d72(0x1bf))/0x9+parseInt(_0x313d72(0x1bb))/0xa;if(_0x5d32ab===_0x3975db)break;else _0x40d827['push'](_0x40d827['shift']());}catch(_0x252885){_0x40d827['push'](_0x40d827['shift']());}}}(a243_0x2cd6,0x6cc9b));import{createFlagHelpers}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a243_0x2cd6(){const _0x12caa0=['18GJFGHu','42ozhFFP','4717962fgWPwI','parseFlags','392304MNsXSs','694296LSxLnr','2ZFOEDw','219665TGAraq','1512474yMpPqO','10284690mQCuja','3320092KdHhfF'];a243_0x2cd6=function(){return _0x12caa0;};return a243_0x2cd6();}const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers[a243_0x1ef04c(0x1b5)];function a243_0x53eb(_0x2e33ec,_0x562ff0){_0x2e33ec=_0x2e33ec-0x1b5;const _0x2cd634=a243_0x2cd6();let _0x53eb7f=_0x2cd634[_0x2e33ec];return _0x53eb7f;}export const validateFlags=helpers['validateFlags'];
1
+ function a243_0x1afa(_0x326e60,_0x107725){_0x326e60=_0x326e60-0x1bf;const _0x2a746b=a243_0x2a74();let _0x1afa57=_0x2a746b[_0x326e60];return _0x1afa57;}function a243_0x2a74(){const _0x16120a=['860073yrHJvA','1432881TYlIRp','5320315PKWXde','6vHthFM','5hnyjWX','validateFlags','5547944OAWxoX','2GDFQDi','24eKdpcH','600kOJVwO','379907wyKILr','9852980eoMibW','168360BjzRmy'];a243_0x2a74=function(){return _0x16120a;};return a243_0x2a74();}const a243_0x1ba1ab=a243_0x1afa;(function(_0x59204a,_0x331b98){const _0x5c0926=a243_0x1afa,_0x5fa0aa=_0x59204a();while(!![]){try{const _0x11be0d=parseInt(_0x5c0926(0x1c0))/0x1+parseInt(_0x5c0926(0x1c8))/0x2*(-parseInt(_0x5c0926(0x1c1))/0x3)+-parseInt(_0x5c0926(0x1c7))/0x4*(-parseInt(_0x5c0926(0x1c5))/0x5)+parseInt(_0x5c0926(0x1c4))/0x6*(-parseInt(_0x5c0926(0x1c3))/0x7)+-parseInt(_0x5c0926(0x1c9))/0x8*(parseInt(_0x5c0926(0x1c2))/0x9)+-parseInt(_0x5c0926(0x1bf))/0xa+-parseInt(_0x5c0926(0x1cb))/0xb*(-parseInt(_0x5c0926(0x1ca))/0xc);if(_0x11be0d===_0x331b98)break;else _0x5fa0aa['push'](_0x5fa0aa['shift']());}catch(_0x99f78d){_0x5fa0aa['push'](_0x5fa0aa['shift']());}}}(a243_0x2a74,0xbc9b7));import{createFlagHelpers}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers['parseFlags'];export const validateFlags=helpers[a243_0x1ba1ab(0x1c6)];
@@ -1 +1 @@
1
- const a244_0x31f379=a244_0x15cb;(function(_0xe64439,_0x182b72){const _0x3abab3=a244_0x15cb,_0x11459c=_0xe64439();while(!![]){try{const _0x273f4c=-parseInt(_0x3abab3(0x9f))/0x1*(-parseInt(_0x3abab3(0x94))/0x2)+-parseInt(_0x3abab3(0xa0))/0x3*(-parseInt(_0x3abab3(0x96))/0x4)+-parseInt(_0x3abab3(0x93))/0x5*(parseInt(_0x3abab3(0x92))/0x6)+parseInt(_0x3abab3(0x9c))/0x7+-parseInt(_0x3abab3(0xa3))/0x8*(parseInt(_0x3abab3(0x98))/0x9)+-parseInt(_0x3abab3(0x9a))/0xa+parseInt(_0x3abab3(0x91))/0xb;if(_0x273f4c===_0x182b72)break;else _0x11459c['push'](_0x11459c['shift']());}catch(_0x3b69df){_0x11459c['push'](_0x11459c['shift']());}}}(a244_0x1081,0x3a51e));import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';function a244_0x1081(){const _0x3cb7af=['5030432RSfiFG','26652VohpJz','425nBNSoD','22fpidgC','generateServiceHelp','247252bKLWQR','replace','27bSNlTn','get','4384900xNUpKp','generateCommandHelp','135597PmuqPo','Requires\x20--yes\x20to\x20confirm,\x20or\x20interactive\x20prompt.','Requires\x20explicit\x20--yes\x20for\x20execution;\x20use\x20--dry-run\x20to\x20preview.','34244fVWyZg','12jHnFSP','\x20[args]\x20[flags]','generateFullHelp','121816KvluNq','\x20workspace\x20init`\x20or\x20--appcode).'];a244_0x1081=function(){return _0x3cb7af;};return a244_0x1081();}import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{requiresExplicitYes}from'../framework/explicit-yes.js';const generators=createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x508b5d=>serviceGroups[a244_0x31f379(0x99)](_0x508b5d),'buildAllFlags':buildAllFlags,'appPrerequisiteText':'Requires\x20appcode\x20(set\x20via\x20`'+CLI_BIN_NAME+a244_0x31f379(0x90),'serviceUsageSuffix':a244_0x31f379(0xa1)});export function generateCommandHelp(_0x4a6540){const _0x27ff79=a244_0x31f379,_0xf98bf0=generators[_0x27ff79(0x9b)](_0x4a6540);if(!requiresExplicitYes(_0x4a6540))return _0xf98bf0;return _0xf98bf0[_0x27ff79(0x97)](_0x27ff79(0x9d),_0x27ff79(0x9e));}function a244_0x15cb(_0x28afac,_0x5abcb2){_0x28afac=_0x28afac-0x90;const _0x10812c=a244_0x1081();let _0x15cb9c=_0x10812c[_0x28afac];return _0x15cb9c;}export const generateServiceHelp=generators[a244_0x31f379(0x95)];export const generateFullHelp=generators[a244_0x31f379(0xa2)];
1
+ const a244_0x444a15=a244_0x1da0;(function(_0x4bf2eb,_0x32118e){const _0x3e672a=a244_0x1da0,_0x120fab=_0x4bf2eb();while(!![]){try{const _0x5271fa=-parseInt(_0x3e672a(0xb3))/0x1+parseInt(_0x3e672a(0xad))/0x2*(parseInt(_0x3e672a(0xba))/0x3)+parseInt(_0x3e672a(0xbe))/0x4*(-parseInt(_0x3e672a(0xbf))/0x5)+-parseInt(_0x3e672a(0xb8))/0x6+parseInt(_0x3e672a(0xaf))/0x7*(-parseInt(_0x3e672a(0xab))/0x8)+-parseInt(_0x3e672a(0xb5))/0x9*(-parseInt(_0x3e672a(0xb0))/0xa)+-parseInt(_0x3e672a(0xbb))/0xb*(-parseInt(_0x3e672a(0xae))/0xc);if(_0x5271fa===_0x32118e)break;else _0x120fab['push'](_0x120fab['shift']());}catch(_0x3c3802){_0x120fab['push'](_0x120fab['shift']());}}}(a244_0x5222,0x927b9));import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{requiresExplicitYes}from'../framework/explicit-yes.js';function a244_0x5222(){const _0x318fdc=['5311650rxpshV','generateCommandHelp','15fqTBgH','21098zNFsCH','\x20[args]\x20[flags]','generateServiceHelp','3876twThnn','5465rOLLBq','8hFEZTS','Requires\x20explicit\x20--yes\x20for\x20execution;\x20use\x20--dry-run\x20to\x20preview.','478038iMCpxC','7884HaEZYM','996163aAWYTG','8399590ATYSXA','generateFullHelp','Requires\x20--yes\x20to\x20confirm,\x20or\x20interactive\x20prompt.','608486mtIcFn','replace','9vZxscW','get','\x20workspace\x20init`\x20or\x20--appcode).'];a244_0x5222=function(){return _0x318fdc;};return a244_0x5222();}const generators=createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x3debbd=>serviceGroups[a244_0x444a15(0xb6)](_0x3debbd),'buildAllFlags':buildAllFlags,'appPrerequisiteText':'Requires\x20appcode\x20(set\x20via\x20`'+CLI_BIN_NAME+a244_0x444a15(0xb7),'serviceUsageSuffix':a244_0x444a15(0xbc)});function a244_0x1da0(_0x301444,_0x24cba4){_0x301444=_0x301444-0xab;const _0x5222a6=a244_0x5222();let _0x1da0c9=_0x5222a6[_0x301444];return _0x1da0c9;}export function generateCommandHelp(_0x120f37){const _0x2c1dd2=a244_0x444a15,_0x21a7d2=generators[_0x2c1dd2(0xb9)](_0x120f37);if(!requiresExplicitYes(_0x120f37))return _0x21a7d2;return _0x21a7d2[_0x2c1dd2(0xb4)](_0x2c1dd2(0xb2),_0x2c1dd2(0xac));}export const generateServiceHelp=generators[a244_0x444a15(0xbd)];export const generateFullHelp=generators[a244_0x444a15(0xb1)];
@@ -1 +1 @@
1
- (function(_0x55a2ba,_0x3e590f){var _0x4b991f=a245_0x4cd7,_0x5ae374=_0x55a2ba();while(!![]){try{var _0x1ce008=-parseInt(_0x4b991f(0x160))/0x1*(-parseInt(_0x4b991f(0x166))/0x2)+parseInt(_0x4b991f(0x15e))/0x3+-parseInt(_0x4b991f(0x161))/0x4*(parseInt(_0x4b991f(0x163))/0x5)+-parseInt(_0x4b991f(0x165))/0x6*(-parseInt(_0x4b991f(0x162))/0x7)+parseInt(_0x4b991f(0x168))/0x8+-parseInt(_0x4b991f(0x167))/0x9*(-parseInt(_0x4b991f(0x15f))/0xa)+-parseInt(_0x4b991f(0x164))/0xb;if(_0x1ce008===_0x3e590f)break;else _0x5ae374['push'](_0x5ae374['shift']());}catch(_0x15c751){_0x5ae374['push'](_0x5ae374['shift']());}}}(a245_0x4ec0,0xbeaa9));export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';function a245_0x4cd7(_0x4c1a75,_0x2e8318){_0x4c1a75=_0x4c1a75-0x15e;var _0x4ec0f8=a245_0x4ec0();var _0x4cd76a=_0x4ec0f8[_0x4c1a75];return _0x4cd76a;}export{extractList,extractPaging}from'../framework/response.js';export{riskLevelOrder}from'../framework/types.js';function a245_0x4ec0(){var _0x5dbae5=['6samsAK','1090778gJdHtr','63uvBgNx','861480kWvMsl','199143IvKgRD','774030XwPOmM','1wSVsKR','224vAPaJj','3587682svcQaZ','30260nXKlxk','7193131vmyAUM'];a245_0x4ec0=function(){return _0x5dbae5;};return a245_0x4ec0();}
1
+ (function(_0x52d87f,_0x2020b5){var _0x36ac2e=a245_0x32f4,_0x37fbd4=_0x52d87f();while(!![]){try{var _0x5b5a4d=-parseInt(_0x36ac2e(0xe8))/0x1*(parseInt(_0x36ac2e(0xe5))/0x2)+-parseInt(_0x36ac2e(0xe3))/0x3+parseInt(_0x36ac2e(0xe4))/0x4+-parseInt(_0x36ac2e(0xeb))/0x5*(parseInt(_0x36ac2e(0xec))/0x6)+-parseInt(_0x36ac2e(0xe6))/0x7*(-parseInt(_0x36ac2e(0xe9))/0x8)+-parseInt(_0x36ac2e(0xea))/0x9+parseInt(_0x36ac2e(0xe7))/0xa;if(_0x5b5a4d===_0x2020b5)break;else _0x37fbd4['push'](_0x37fbd4['shift']());}catch(_0x330b92){_0x37fbd4['push'](_0x37fbd4['shift']());}}}(a245_0x1fd4,0xf279a));export{runCommand}from'../framework/runner.js';function a245_0x32f4(_0x23b87d,_0x44f405){_0x23b87d=_0x23b87d-0xe3;var _0x1fd43e=a245_0x1fd4();var _0x32f497=_0x1fd43e[_0x23b87d];return _0x32f497;}export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';function a245_0x1fd4(){var _0x51ca28=['3656365NlAWyB','12lsTBVh','255339nBikhE','108852bXoZBd','10rVPfVX','7vpcMik','33688810rnzppd','73602myaJGY','11960328amULyi','17840592fKgrrV'];a245_0x1fd4=function(){return _0x51ca28;};return a245_0x1fd4();}export{extractList,extractPaging}from'../framework/response.js';export{riskLevelOrder}from'../framework/types.js';
@@ -1 +1 @@
1
- function a246_0x496e(_0x278591,_0x12dfba){_0x278591=_0x278591-0x1dc;const _0x3d3ebb=a246_0x3d3e();let _0x496e32=_0x3d3ebb[_0x278591];return _0x496e32;}(function(_0x3332fe,_0x34bc44){const _0x33c490=a246_0x496e,_0x582fc2=_0x3332fe();while(!![]){try{const _0x53a3f6=-parseInt(_0x33c490(0x1ef))/0x1+-parseInt(_0x33c490(0x1e0))/0x2*(-parseInt(_0x33c490(0x1f2))/0x3)+-parseInt(_0x33c490(0x1ec))/0x4+parseInt(_0x33c490(0x1ea))/0x5+parseInt(_0x33c490(0x1df))/0x6+parseInt(_0x33c490(0x1e5))/0x7*(parseInt(_0x33c490(0x1e2))/0x8)+-parseInt(_0x33c490(0x1e3))/0x9*(parseInt(_0x33c490(0x1ee))/0xa);if(_0x53a3f6===_0x34bc44)break;else _0x582fc2['push'](_0x582fc2['shift']());}catch(_0x190318){_0x582fc2['push'](_0x582fc2['shift']());}}}(a246_0x3d3e,0xdd900));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliError,CliErrors}from'../errors.js';import{applyJqFilter}from'../utils/apply-jq-filter.js';const baseFormatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});export function formatOutput(_0x8c66c3,_0x4a1d9f){const _0x560c27=a246_0x496e,_0x23c430=_0x8c66c3[_0x560c27(0x1f1)],{_notice:_0x174e2e,..._0x4f2fa3}=_0x8c66c3;void _0x174e2e,baseFormatOutput(_0x4f2fa3,_0x4a1d9f),_0x4a1d9f[_0x560c27(0x1eb)]===_0x560c27(0x1e7)&&printPrettyNotice(_0x23c430);}function a246_0x3d3e(){const _0x13ac0d=['format','1629960YFeENy','risk','210890WxOqlU','850686amizVn','error','_notice','12UvXliO','code','message','jqFilter','validation','command','url','update','10018464CjvGZX','869290HfOvTB','data','16808WwPMgU','801svWRQM','hint','49tsyOdN','stringify','pretty','endsWith','trim','3097930aeKlLL'];a246_0x3d3e=function(){return _0x13ac0d;};return a246_0x3d3e();}export function formatCliError(_0x278a79,_0x3ef4a8){const _0x39c298=a246_0x496e;if(_0x3ef4a8[_0x39c298(0x1eb)]==='pretty')return![];const _0x247044=_0x278a79[_0x39c298(0x1e1)],_0x312a04={'ok':![],'command':_0x3ef4a8[_0x39c298(0x1dc)],'risk':_0x3ef4a8[_0x39c298(0x1ed)],'data':_0x247044??null,'error':{'code':_0x278a79[_0x39c298(0x1f3)],'message':_0x278a79[_0x39c298(0x1f4)],..._0x278a79[_0x39c298(0x1e4)]?{'hint':_0x278a79[_0x39c298(0x1e4)]}:{}}},_0x456a1b=_0x3ef4a8[_0x39c298(0x1eb)]==='json'?JSON[_0x39c298(0x1e6)](_0x312a04,null,0x2):JSON[_0x39c298(0x1e6)](_0x312a04);let _0xac3865=_0x456a1b;if(_0x3ef4a8[_0x39c298(0x1f5)]?.[_0x39c298(0x1e9)]())try{_0xac3865=applyJqFilter(_0x456a1b,_0x3ef4a8[_0x39c298(0x1f5)]);}catch(_0x50c1b5){const _0x350798=_0x50c1b5 instanceof CliError?_0x50c1b5:CliErrors[_0x39c298(0x1f6)]('jq:\x20'+(_0x50c1b5 instanceof Error?_0x50c1b5[_0x39c298(0x1f4)]:String(_0x50c1b5))),_0x43cb5e={..._0x312a04,'error':{'code':_0x350798['code'],'message':_0x350798[_0x39c298(0x1f4)],..._0x350798['hint']?{'hint':_0x350798[_0x39c298(0x1e4)]}:{},'cause':_0x312a04[_0x39c298(0x1f0)]}};_0xac3865=_0x3ef4a8[_0x39c298(0x1eb)]==='json'?JSON[_0x39c298(0x1e6)](_0x43cb5e,null,0x2):JSON[_0x39c298(0x1e6)](_0x43cb5e);}return process['stdout']['write'](_0xac3865[_0x39c298(0x1e8)]('\x0a')?_0xac3865:_0xac3865+'\x0a'),!![];}function printPrettyNotice(_0x3b717f){const _0x490e99=a246_0x496e;if(!_0x3b717f?.[_0x490e99(0x1de)])return;console[_0x490e99(0x1f0)](_0x3b717f[_0x490e99(0x1de)][_0x490e99(0x1f4)]+'\x20('+_0x3b717f['update'][_0x490e99(0x1dd)]+')');}
1
+ (function(_0x5e0199,_0x5af066){const _0x14938e=a246_0x1117,_0xb0e4bd=_0x5e0199();while(!![]){try{const _0x413c14=-parseInt(_0x14938e(0xd0))/0x1*(-parseInt(_0x14938e(0xd6))/0x2)+-parseInt(_0x14938e(0xe2))/0x3+-parseInt(_0x14938e(0xe4))/0x4+parseInt(_0x14938e(0xe1))/0x5+parseInt(_0x14938e(0xdb))/0x6+parseInt(_0x14938e(0xd4))/0x7+-parseInt(_0x14938e(0xd9))/0x8;if(_0x413c14===_0x5af066)break;else _0xb0e4bd['push'](_0xb0e4bd['shift']());}catch(_0x1b75a1){_0xb0e4bd['push'](_0xb0e4bd['shift']());}}}(a246_0x186e,0x76201));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a246_0x1117(_0x5e0259,_0x1bf5fd){_0x5e0259=_0x5e0259-0xc9;const _0x186eb1=a246_0x186e();let _0x1117c5=_0x186eb1[_0x5e0259];return _0x1117c5;}import{CliError,CliErrors}from'../errors.js';import{applyJqFilter}from'../utils/apply-jq-filter.js';const baseFormatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});export function formatOutput(_0x530efe,_0x4c6536){const _0x4fe0eb=a246_0x1117,_0x11d73a=_0x530efe[_0x4fe0eb(0xcc)],{_notice:_0x467f0a,..._0x1aa972}=_0x530efe;void _0x467f0a,baseFormatOutput(_0x1aa972,_0x4c6536),_0x4c6536[_0x4fe0eb(0xc9)]===_0x4fe0eb(0xd2)&&printPrettyNotice(_0x11d73a);}export function formatCliError(_0x42c160,_0x32ed6c){const _0x5217ae=a246_0x1117;if(_0x32ed6c[_0x5217ae(0xc9)]===_0x5217ae(0xd2))return![];const _0x1b1b65=_0x42c160[_0x5217ae(0xe0)],_0x5d2579={'ok':![],'command':_0x32ed6c[_0x5217ae(0xde)],'risk':_0x32ed6c['risk'],'data':_0x1b1b65??null,'error':{'code':_0x42c160['code'],'message':_0x42c160[_0x5217ae(0xcb)],..._0x42c160[_0x5217ae(0xd8)]?{'hint':_0x42c160[_0x5217ae(0xd8)]}:{}}},_0x2b1b1b=_0x32ed6c[_0x5217ae(0xc9)]===_0x5217ae(0xdc)?JSON[_0x5217ae(0xd5)](_0x5d2579,null,0x2):JSON[_0x5217ae(0xd5)](_0x5d2579);let _0x2e4fbf=_0x2b1b1b;if(_0x32ed6c[_0x5217ae(0xd3)]?.[_0x5217ae(0xd7)]())try{_0x2e4fbf=applyJqFilter(_0x2b1b1b,_0x32ed6c[_0x5217ae(0xd3)]);}catch(_0x41bdcc){const _0x2b46d9=_0x41bdcc instanceof CliError?_0x41bdcc:CliErrors[_0x5217ae(0xcf)](_0x5217ae(0xca)+(_0x41bdcc instanceof Error?_0x41bdcc[_0x5217ae(0xcb)]:String(_0x41bdcc))),_0xe3f840={..._0x5d2579,'error':{'code':_0x2b46d9[_0x5217ae(0xdd)],'message':_0x2b46d9[_0x5217ae(0xcb)],..._0x2b46d9[_0x5217ae(0xd8)]?{'hint':_0x2b46d9['hint']}:{},'cause':_0x5d2579['error']}};_0x2e4fbf=_0x32ed6c[_0x5217ae(0xc9)]===_0x5217ae(0xdc)?JSON[_0x5217ae(0xd5)](_0xe3f840,null,0x2):JSON[_0x5217ae(0xd5)](_0xe3f840);}return process[_0x5217ae(0xce)][_0x5217ae(0xdf)](_0x2e4fbf[_0x5217ae(0xda)]('\x0a')?_0x2e4fbf:_0x2e4fbf+'\x0a'),!![];}function a246_0x186e(){const _0x853820=['1271454JPFSyi','update','1496168kYerUt','format','jq:\x20','message','_notice','error','stdout','validation','1yWbgyl','url','pretty','jqFilter','5518009trQFhh','stringify','1792170cphiZY','trim','hint','13142160bOJifm','endsWith','5732208FtQbIp','json','code','command','write','data','1423655LUHakh'];a246_0x186e=function(){return _0x853820;};return a246_0x186e();}function printPrettyNotice(_0x26f260){const _0x3ebb27=a246_0x1117;if(!_0x26f260?.[_0x3ebb27(0xe3)])return;console[_0x3ebb27(0xcd)](_0x26f260[_0x3ebb27(0xe3)][_0x3ebb27(0xcb)]+'\x20('+_0x26f260[_0x3ebb27(0xe3)][_0x3ebb27(0xd1)]+')');}
@@ -1 +1 @@
1
- function a247_0x2cfb(_0x487f19,_0x4b1819){_0x487f19=_0x487f19-0x73;var _0x3523f0=a247_0x3523();var _0x2cfb01=_0x3523f0[_0x487f19];return _0x2cfb01;}function a247_0x3523(){var _0x2f996d=['21439mtUzLt','495iSbQkx','30ljeBoo','4573080ahzTyg','10077OkdloG','468NlZiGP','1494juZStz','40750OiKjau','7764yVyPrY','660709SYJJsE','1751590wODoRX','106HrGfBj'];a247_0x3523=function(){return _0x2f996d;};return a247_0x3523();}(function(_0x5b141f,_0x50d4b6){var _0x1a54c6=a247_0x2cfb,_0x2d16a5=_0x5b141f();while(!![]){try{var _0x9a1a8b=-parseInt(_0x1a54c6(0x7d))/0x1*(parseInt(_0x1a54c6(0x7b))/0x2)+-parseInt(_0x1a54c6(0x74))/0x3*(parseInt(_0x1a54c6(0x75))/0x4)+parseInt(_0x1a54c6(0x7a))/0x5+parseInt(_0x1a54c6(0x7e))/0x6*(parseInt(_0x1a54c6(0x79))/0x7)+-parseInt(_0x1a54c6(0x73))/0x8+-parseInt(_0x1a54c6(0x76))/0x9*(parseInt(_0x1a54c6(0x77))/0xa)+parseInt(_0x1a54c6(0x7c))/0xb*(parseInt(_0x1a54c6(0x78))/0xc);if(_0x9a1a8b===_0x50d4b6)break;else _0x2d16a5['push'](_0x2d16a5['shift']());}catch(_0x38abf3){_0x2d16a5['push'](_0x2d16a5['shift']());}}}(a247_0x3523,0x658bd));export{extractList,extractPaging}from'@lovrabet/cli-framework';
1
+ function a247_0x2d60(){var _0xbdf687=['1336TOAynq','92802nGVtnQ','3773404zYSCgu','6059ASDzTu','455RscLgL','1071498XcNNlH','73430ATWJRt','44028dlCAkl','506recgKe','30445700VBFsOH'];a247_0x2d60=function(){return _0xbdf687;};return a247_0x2d60();}function a247_0x3983(_0x374b48,_0x53b283){_0x374b48=_0x374b48-0x1c3;var _0x2d60ff=a247_0x2d60();var _0x3983f6=_0x2d60ff[_0x374b48];return _0x3983f6;}(function(_0x3c0e63,_0xda633c){var _0x358139=a247_0x3983,_0x13b32e=_0x3c0e63();while(!![]){try{var _0x45cdc0=parseInt(_0x358139(0x1c9))/0x1*(-parseInt(_0x358139(0x1c4))/0x2)+-parseInt(_0x358139(0x1cb))/0x3+-parseInt(_0x358139(0x1c8))/0x4+-parseInt(_0x358139(0x1ca))/0x5*(-parseInt(_0x358139(0x1c7))/0x6)+parseInt(_0x358139(0x1cc))/0x7+-parseInt(_0x358139(0x1c6))/0x8*(parseInt(_0x358139(0x1c3))/0x9)+parseInt(_0x358139(0x1c5))/0xa;if(_0x45cdc0===_0xda633c)break;else _0x13b32e['push'](_0x13b32e['shift']());}catch(_0x343336){_0x13b32e['push'](_0x13b32e['shift']());}}}(a247_0x2d60,0xc6475));export{extractList,extractPaging}from'@lovrabet/cli-framework';
@@ -1 +1 @@
1
- (function(_0x21af9a,_0x29124b){const _0x50799f=a248_0x53da,_0x9ef1ff=_0x21af9a();while(!![]){try{const _0x3a4ccf=parseInt(_0x50799f(0x14b))/0x1+-parseInt(_0x50799f(0x162))/0x2+parseInt(_0x50799f(0x14a))/0x3+-parseInt(_0x50799f(0x156))/0x4+-parseInt(_0x50799f(0x15c))/0x5*(-parseInt(_0x50799f(0x152))/0x6)+-parseInt(_0x50799f(0x158))/0x7*(-parseInt(_0x50799f(0x14e))/0x8)+-parseInt(_0x50799f(0x15d))/0x9*(parseInt(_0x50799f(0x14f))/0xa);if(_0x3a4ccf===_0x29124b)break;else _0x9ef1ff['push'](_0x9ef1ff['shift']());}catch(_0x283d74){_0x9ef1ff['push'](_0x9ef1ff['shift']());}}}(a248_0x881b,0xda757));function a248_0x881b(){const _0x13c7e5=['4454838bJfDfS','length','join','Available\x20aliases:\x20','4859840TsxjcW','alias','24829AJlZdg','\x22.\x20','string','flags','10SpEoWj','279JdZZLJ','No\x20api.ts\x20found\x20in\x20','code','name','.\x20Run\x20`','1161632AYmIBB','map','4230270SGjnqf','687254qcjkmQ','some','validation','3248tIVKxH','752190fBNwsm','\x20api\x20pull`\x20first.','Unknown\x20alias\x20\x22'];a248_0x881b=function(){return _0x13c7e5;};return a248_0x881b();}import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';function a248_0x53da(_0x33f329,_0x1eff45){_0x33f329=_0x33f329-0x14a;const _0x881bb=a248_0x881b();let _0x53da4b=_0x881bb[_0x33f329];return _0x53da4b;}export function resolveAliasToCode(_0x19717d,_0x2e2b0b,_0x3e4e6e,_0x125fba){const _0x14c50e=a248_0x53da,_0x3c0da2=_0x19717d['flags'][_0x14c50e(0x14c)](_0xaf4c15=>_0xaf4c15[_0x14c50e(0x160)]==='code'&&_0xaf4c15['type']===_0x14c50e(0x15a)),_0x4949c9=_0x19717d[_0x14c50e(0x15b)][_0x14c50e(0x14c)](_0xda12d9=>_0xda12d9[_0x14c50e(0x160)]===_0x14c50e(0x157)&&_0xda12d9['type']===_0x14c50e(0x15a));if(!_0x3c0da2||!_0x4949c9)return;const _0x3ea9eb=_0x2e2b0b[_0x14c50e(0x15f)]?String(_0x2e2b0b['code']):'',_0x4f372b=_0x2e2b0b[_0x14c50e(0x157)]?String(_0x2e2b0b['alias']):'';if(!_0x3ea9eb&&!_0x4f372b)throw CliErrors['validation']('`'+_0x125fba+'`\x20requires\x20either\x20--code\x20or\x20--alias.');if(_0x4f372b&&!_0x3ea9eb){const _0x16b317=resolveAlias(_0x3e4e6e,_0x4f372b);if(!_0x16b317){const _0x47e8c9=listAliases(_0x3e4e6e)[_0x14c50e(0x163)](_0x3fc362=>_0x3fc362[_0x14c50e(0x157)]),_0x4f452f=_0x47e8c9[_0x14c50e(0x153)]?_0x14c50e(0x155)+_0x47e8c9[_0x14c50e(0x154)](',\x20'):_0x14c50e(0x15e)+_0x3e4e6e+_0x14c50e(0x161)+CLI_BIN_NAME+_0x14c50e(0x150);throw CliErrors[_0x14c50e(0x14d)](_0x14c50e(0x151)+_0x4f372b+_0x14c50e(0x159)+_0x4f452f);}_0x2e2b0b[_0x14c50e(0x15f)]=_0x16b317;}}
1
+ (function(_0x420f17,_0x110996){const _0x141219=a248_0x27b7,_0x13eb20=_0x420f17();while(!![]){try{const _0x2f8a41=-parseInt(_0x141219(0xaa))/0x1+parseInt(_0x141219(0xa8))/0x2+-parseInt(_0x141219(0xa4))/0x3+parseInt(_0x141219(0x9b))/0x4+parseInt(_0x141219(0xa5))/0x5+parseInt(_0x141219(0x98))/0x6*(-parseInt(_0x141219(0x97))/0x7)+-parseInt(_0x141219(0x9a))/0x8;if(_0x2f8a41===_0x110996)break;else _0x13eb20['push'](_0x13eb20['shift']());}catch(_0xedaacb){_0x13eb20['push'](_0x13eb20['shift']());}}}(a248_0x3ea9,0xcb41d));function a248_0x27b7(_0x6692a4,_0x2fcf54){_0x6692a4=_0x6692a4-0x96;const _0x3ea928=a248_0x3ea9();let _0x27b786=_0x3ea928[_0x6692a4];return _0x27b786;}import{CliErrors}from'../errors.js';function a248_0x3ea9(){const _0xb8de5a=['\x22.\x20','string','flags','63JnaeEM','758346FZPron','map','4472464ZaTCES','5482884JPzugB','\x20api\x20pull`\x20first.','some','name','type','`\x20requires\x20either\x20--code\x20or\x20--alias.','join','alias','length','1287450GmCAzK','8302310xcCCzv','No\x20api.ts\x20found\x20in\x20','validation','2931970xAKjSy','code','1538900MxnIJA','.\x20Run\x20`'];a248_0x3ea9=function(){return _0xb8de5a;};return a248_0x3ea9();}import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';export function resolveAliasToCode(_0x7f9386,_0x3b9b5c,_0x1f9fe6,_0x4fe855){const _0x1a2917=a248_0x27b7,_0x1fd51f=_0x7f9386[_0x1a2917(0x96)][_0x1a2917(0x9d)](_0x21d843=>_0x21d843[_0x1a2917(0x9e)]===_0x1a2917(0xa9)&&_0x21d843['type']===_0x1a2917(0xad)),_0x50d009=_0x7f9386[_0x1a2917(0x96)][_0x1a2917(0x9d)](_0x57c5dd=>_0x57c5dd[_0x1a2917(0x9e)]===_0x1a2917(0xa2)&&_0x57c5dd[_0x1a2917(0x9f)]==='string');if(!_0x1fd51f||!_0x50d009)return;const _0x526aaf=_0x3b9b5c[_0x1a2917(0xa9)]?String(_0x3b9b5c['code']):'',_0x3c23f2=_0x3b9b5c['alias']?String(_0x3b9b5c[_0x1a2917(0xa2)]):'';if(!_0x526aaf&&!_0x3c23f2)throw CliErrors[_0x1a2917(0xa7)]('`'+_0x4fe855+_0x1a2917(0xa0));if(_0x3c23f2&&!_0x526aaf){const _0x25f40=resolveAlias(_0x1f9fe6,_0x3c23f2);if(!_0x25f40){const _0x1aec77=listAliases(_0x1f9fe6)[_0x1a2917(0x99)](_0x46f9ef=>_0x46f9ef[_0x1a2917(0xa2)]),_0x23aab9=_0x1aec77[_0x1a2917(0xa3)]?'Available\x20aliases:\x20'+_0x1aec77[_0x1a2917(0xa1)](',\x20'):_0x1a2917(0xa6)+_0x1f9fe6+_0x1a2917(0xab)+CLI_BIN_NAME+_0x1a2917(0x9c);throw CliErrors[_0x1a2917(0xa7)]('Unknown\x20alias\x20\x22'+_0x3c23f2+_0x1a2917(0xac)+_0x23aab9);}_0x3b9b5c[_0x1a2917(0xa9)]=_0x25f40;}}
@@ -1 +1 @@
1
- (function(_0x3e78ee,_0x1001a8){const _0x408afc=a249_0x18fd,_0x5f5b2c=_0x3e78ee();while(!![]){try{const _0x4f2bc6=-parseInt(_0x408afc(0xb4))/0x1+parseInt(_0x408afc(0xea))/0x2*(-parseInt(_0x408afc(0xb1))/0x3)+parseInt(_0x408afc(0xaf))/0x4*(parseInt(_0x408afc(0xd0))/0x5)+parseInt(_0x408afc(0xd4))/0x6*(-parseInt(_0x408afc(0xc2))/0x7)+-parseInt(_0x408afc(0xd7))/0x8*(parseInt(_0x408afc(0xa5))/0x9)+parseInt(_0x408afc(0xe0))/0xa+parseInt(_0x408afc(0xc9))/0xb*(parseInt(_0x408afc(0xba))/0xc);if(_0x4f2bc6===_0x1001a8)break;else _0x5f5b2c['push'](_0x5f5b2c['shift']());}catch(_0xdcc0d8){_0x5f5b2c['push'](_0x5f5b2c['shift']());}}}(a249_0x5096,0x209a3));function a249_0x18fd(_0x37b608,_0xc0d17e){_0x37b608=_0x37b608-0xa1;const _0x50960b=a249_0x5096();let _0x18fd05=_0x50960b[_0x37b608];return _0x18fd05;}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 a249_0x122218}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x20dd86){const _0x4a4e8f=a249_0x18fd;return typeof _0x20dd86===_0x4a4e8f(0xa8)&&_0x20dd86[_0x4a4e8f(0xa9)]()?_0x20dd86[_0x4a4e8f(0xa9)]():undefined;}function resolveEnvAppCode(){const _0x2463f3=a249_0x18fd,_0x534a86=stringFlag(process.env.RABETBASE_APPCODE);if(_0x534a86)return{'name':_0x2463f3(0xa2),'value':_0x534a86};const _0x57e706=stringFlag(process.env.LOVRABET_APPCODE);if(_0x57e706)return{'name':'LOVRABET_APPCODE','value':_0x57e706};return undefined;}function hasExplicitAppCode(_0x137ae9,_0x41cb25){const _0x155c45=a249_0x18fd;return!!(stringFlag(_0x137ae9['appcode'])||stringFlag(_0x41cb25[_0x155c45(0xe3)]));}function assertEnvAppCodeNotIgnored(_0x5d82a7,_0x5cb25e,_0x4cbc59){const _0x337cdc=a249_0x18fd;if(!_0x5cb25e||_0x4cbc59||_0x5d82a7===_0x5cb25e[_0x337cdc(0xb8)])return;const _0x4ae174=_0x5d82a7?_0x337cdc(0xcf)+_0x5d82a7+'\x22.':_0x337cdc(0xe2);throw CliErrors[_0x337cdc(0xe7)](_0x5cb25e[_0x337cdc(0xcd)]+'='+_0x5cb25e[_0x337cdc(0xb8)]+_0x337cdc(0xa1)+_0x4ae174+'\x20'+(_0x337cdc(0xce)+_0x5cb25e[_0x337cdc(0xcd)]+'\x22.'));}export function createPipelineEnv(_0x1d1a17,_0x2ac139,_0x1e9d63=[]){const _0x1c9fbb=a249_0x18fd;return{'rawFlags':_0x2ac139,'args':_0x1e9d63,'resolveAppCode':()=>_0x1d1a17[_0x1c9fbb(0xb7)],'resolveCookie':()=>_0x1d1a17['cookie']||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a249_0x122218(_0x2ac139),'defaultFormat':_0x1d1a17[_0x1c9fbb(0xe5)],'defaultPageSize':_0x1d1a17[_0x1c9fbb(0xe1)],'defaultVerbose':_0x1d1a17['verbose'],'apiDir':_0x1d1a17[_0x1c9fbb(0xab)],'riskLevel':_0x1d1a17[_0x1c9fbb(0xb5)],'selectedAppName':_0x1d1a17['explicitAppName'],'mergedCli':{'defaultApp':_0x1d1a17[_0x1c9fbb(0xac)],'currentApp':_0x1d1a17['currentApp'],'appCode':_0x1d1a17[_0x1c9fbb(0xb7)],'apps':_0x1d1a17['apps']}};}export function createRabetbaseRunnerAdapter(_0x4ac4a9={}){const _0x57e960=a249_0x18fd;return{'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[_0x57e960(0xa7)](_0x8ad591=>PIPELINE_FLAG_NAMES[_0x57e960(0xc0)](_0x8ad591[_0x57e960(0xcd)]))['map'](({name:_0x51b673,type:_0x3d25a1,description:_0x2060d0})=>({'name':_0x51b673,'type':_0x3d25a1,'description':_0x2060d0})),'formatOutput':_0x4ac4a9[_0x57e960(0xa6)]??formatOutput,'getCommandLabel'(_0x259ba1){const _0xcf935c=_0x57e960;return CLI_BIN_NAME+'\x20'+_0x259ba1['service']+'\x20'+_0x259ba1[_0xcf935c(0xc4)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x413499,{def:_0x30b73e}){const _0x415742=_0x57e960,_0x3ff6d5=_0x413499[_0x415742(0xb6)](_0x415742(0xe4))?_0x415742(0xc6):_0x415742(0xd1)+_0x30b73e[_0x415742(0xa3)]+_0x415742(0xae)+_0x415742(0xc6);return CliErrors['validation'](_0x413499+_0x415742(0xda)+_0x3ff6d5);}},async 'prepare'(_0x57d806,_0x11e4e9,_0x33e2df,_0x122ba7){const _0x9aacf3=_0x57e960,_0x20f4a5=_0x11e4e9[_0x9aacf3(0xab)]||DEFAULT_API_DIR;resolveAliasToCode(_0x57d806,_0x33e2df,_0x20f4a5,_0x122ba7);const _0x36290a=resolveCommandAuthMode(_0x57d806);let _0x4042b5='';if(_0x36290a!=='none'){_0x4042b5=_0x11e4e9[_0x9aacf3(0xd8)]()||'';if(!_0x4042b5){if(_0x36290a==='required')throw CliErrors[_0x9aacf3(0xc5)]();}else{const {setActiveCookie:_0x3960aa}=await import(_0x9aacf3(0xdf));_0x3960aa(_0x4042b5);}}const _0x413158=_0x11e4e9[_0x9aacf3(0xaa)]()??'';if(_0x57d806['requiresAppCode']!==![]){assertEnvAppCodeNotIgnored(_0x413158,resolveEnvAppCode(),hasExplicitAppCode(_0x33e2df,_0x11e4e9['rawFlags']));if(!_0x413158)throw CliErrors[_0x9aacf3(0xad)](_0x9aacf3(0xdd)+CLI_BIN_NAME+'\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.');}return{'defaults':{'booleans':{'verbose':_0x11e4e9[_0x9aacf3(0xdb)]},'numbers':{'pagesize':_0x11e4e9[_0x9aacf3(0xd6)]}},'extras':{'appCode':_0x413158,'cookie':_0x4042b5,'apiDomain':_0x11e4e9['resolveApiDomain'](),'apiDir':_0x20f4a5,'selectedAppName':_0x11e4e9[_0x9aacf3(0xca)],'mergedCli':_0x11e4e9[_0x9aacf3(0xe9)]}};},'confirmHighRisk':_0x4ac4a9[_0x57e960(0xbb)]??(async({env:_0x3cf054,commandLabel:_0x13761b})=>{const _0x24e7d5=_0x57e960;if(_0x3cf054[_0x24e7d5(0xdc)])throw CliErrors[_0x24e7d5(0xe7)](_0x24e7d5(0xc7)+_0x13761b+_0x24e7d5(0xb2));await requireConfirmationPrompt({'lines':[_0x24e7d5(0xbf)+_0x13761b,'\x20\x20\x20Continue?\x20[y/N]\x20'],'createCancelledError':_0x5d1525=>CliErrors[_0x24e7d5(0xd3)](_0x5d1525)});}),async 'finalize'(){await clearRabetbaseCommandState();}};}const terminalRunnerAdapter=createRabetbaseRunnerAdapter();async function clearRabetbaseCommandState(){const _0xf276a6=a249_0x18fd,{clearActiveCookie:_0x372b8f}=await import(_0xf276a6(0xdf));_0x372b8f();}export async function finalizeRabetbaseRuntimeState(){const _0x1e6694=a249_0x18fd;try{await clearRabetbaseCommandState();}finally{const [{initDomains:_0x5d6f4d},{initEnv:_0x3940d9}]=await Promise[_0x1e6694(0xc8)]([import(_0x1e6694(0xbe)),import(_0x1e6694(0xd9))]);_0x5d6f4d(),_0x3940d9(_0x1e6694(0xb3));}}export async function runCommand(_0xbcffbc,_0x55ebc1,_0x1266dc=terminalRunnerAdapter){const _0x46e6a3=a249_0x18fd;assertRejectedFlags(_0xbcffbc,_0x55ebc1[_0x46e6a3(0xd5)]),await runCommandWithAdapter(shouldAttachUpdateNotice(_0xbcffbc)?withUpdateNotice(_0xbcffbc):_0xbcffbc,_0x55ebc1,_0x1266dc);}function a249_0x5096(){const _0x415046=['\x0a\x20\x20','defaultVerbose','isNonInteractive','Set\x20appcode\x20via\x20`','nonInteractive','../core/api-client.js','294440lNUfMd','pageSize','No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.','appcode','Edit\x20the\x20config\x20file\x20manually','format','object','validation','hasFormat','mergedCli','5314uiaoLx','\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20','RABETBASE_APPCODE','risk','toUpperCase','9mLUbfT','formatOutput','filter','string','trim','resolveAppCode','apiDir','defaultApp','configMissing','\x22\x20if\x20this\x20operation\x20is\x20intended.\x20','670856KGMlBX','catch','57ueCteE','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','production','38945tHpTer','riskLevel','includes','appCode','value','_notice','1638012ObtFcW','confirmHighRisk','pretty','some','../constant/domain.js','⚠\x20\x20High-risk\x20operation:\x20','has','execute','105KMtFct','replace','command','authRequired','AI\x20Agents\x20and\x20automated\x20scripts\x20must\x20not\x20modify\x20riskLevel\x20or\x20attempt\x20to\x20elevate\x20it.','High-risk\x20operation\x20`','all','33ikngcD','selectedAppName','find','doctor','name','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','Current\x20resolved\x20appcode\x20is\x20\x22','5zCXVQq','A\x20human\x20user\x20may\x20review\x20the\x20active\x20risk\x20ceilings\x20and\x20manually\x20edit\x20the\x20applicable\x20.rabetbase.json\x20file\x20to\x20set\x20riskLevel\x20to\x20\x22','schema','cancelled','74484jfqAmx','rawFlags','defaultPageSize','1579872QwxVTp','resolveCookie','../constant/env.js'];a249_0x5096=function(){return _0x415046;};return a249_0x5096();}function assertRejectedFlags(_0x2e3a14,_0x4cd821){const _0x3db6e3=a249_0x18fd;for(const _0x4966f9 of _0x2e3a14['rejectedFlags']??[]){const _0x191d8d=GLOBAL_FLAGS[_0x3db6e3(0xcb)](_0x1d8f69=>_0x1d8f69[_0x3db6e3(0xcd)]===_0x4966f9[_0x3db6e3(0xcd)]),_0x124fdb=new Set([_0x4966f9[_0x3db6e3(0xcd)],toCamelCase(_0x4966f9['name']),_0x191d8d?.['meowKey']]),_0x407edf=[..._0x124fdb][_0x3db6e3(0xbd)](_0xb1a045=>{if(!_0xb1a045)return![];const _0x36a28f=_0x4cd821[_0xb1a045];return _0x36a28f!==undefined&&_0x36a28f!==null&&_0x36a28f!==![];});if(_0x407edf)throw CliErrors[_0x3db6e3(0xe7)](_0x4966f9['message'],_0x4966f9['hint']);}}function toCamelCase(_0xb5f3f7){const _0x11cd3b=a249_0x18fd;return _0xb5f3f7[_0x11cd3b(0xc3)](/-([a-z])/g,(_0x87ade9,_0x4462e3)=>_0x4462e3[_0x11cd3b(0xa4)]());}function shouldAttachUpdateNotice(_0x13ad93){const _0x503737=a249_0x18fd;if(_0x13ad93[_0x503737(0xe8)]===![])return![];return!['update',_0x503737(0xd2),_0x503737(0xcc)][_0x503737(0xb6)](_0x13ad93['service']);}function withUpdateNotice(_0x14d929){return{..._0x14d929,async 'execute'(_0x90817){const _0x3d047f=a249_0x18fd,_0x1ed06c=shouldResolveUpdateNotice(_0x90817)?resolveLatestUpdateNotice()[_0x3d047f(0xb0)](()=>null):Promise['resolve'](null),_0x5c28a9=await _0x14d929[_0x3d047f(0xc1)](_0x90817);return attachUpdateNotice(_0x5c28a9,await _0x1ed06c);}};}function shouldResolveUpdateNotice(_0x1f8352){const _0x5d3e4b=a249_0x18fd;return _0x1f8352[_0x5d3e4b(0xe5)]===_0x5d3e4b(0xbc)&&!_0x1f8352[_0x5d3e4b(0xde)];}function attachUpdateNotice(_0x41666f,_0x279ea9){const _0x240df3=a249_0x18fd;if(!_0x279ea9||!_0x41666f||typeof _0x41666f!==_0x240df3(0xe6))return _0x41666f;const _0x53e119=_0x41666f,_0x4e2299=typeof _0x53e119['_notice']===_0x240df3(0xe6)&&_0x53e119[_0x240df3(0xb9)]!==null?_0x53e119['_notice']:{};return{..._0x53e119,'_notice':{..._0x4e2299,'update':_0x279ea9}};}
1
+ (function(_0x31fda0,_0x42d04a){const _0x3a80d5=a249_0x541e,_0x3580de=_0x31fda0();while(!![]){try{const _0x189b25=parseInt(_0x3a80d5(0x1dd))/0x1*(-parseInt(_0x3a80d5(0x1c9))/0x2)+parseInt(_0x3a80d5(0x1bb))/0x3*(-parseInt(_0x3a80d5(0x1c4))/0x4)+-parseInt(_0x3a80d5(0x1ac))/0x5+parseInt(_0x3a80d5(0x1ea))/0x6+-parseInt(_0x3a80d5(0x1c6))/0x7+-parseInt(_0x3a80d5(0x1d0))/0x8*(parseInt(_0x3a80d5(0x1b7))/0x9)+-parseInt(_0x3a80d5(0x1bf))/0xa*(-parseInt(_0x3a80d5(0x1b5))/0xb);if(_0x189b25===_0x42d04a)break;else _0x3580de['push'](_0x3580de['shift']());}catch(_0x3cf770){_0x3580de['push'](_0x3580de['shift']());}}}(a249_0x344e,0x1aa74));import{resolveCommandAuthMode,runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';function a249_0x541e(_0x52d829,_0x1afe4c){_0x52d829=_0x52d829-0x1a5;const _0x344e7b=a249_0x344e();let _0x541ea2=_0x344e7b[_0x52d829];return _0x541ea2;}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 a249_0x236332}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x36ccc8){const _0x2b64e6=a249_0x541e;return typeof _0x36ccc8===_0x2b64e6(0x1cc)&&_0x36ccc8[_0x2b64e6(0x1bc)]()?_0x36ccc8[_0x2b64e6(0x1bc)]():undefined;}function resolveEnvAppCode(){const _0x14a427=a249_0x541e,_0x3c05be=stringFlag(process.env.RABETBASE_APPCODE);if(_0x3c05be)return{'name':'RABETBASE_APPCODE','value':_0x3c05be};const _0x4323b1=stringFlag(process.env.LOVRABET_APPCODE);if(_0x4323b1)return{'name':_0x14a427(0x1ee),'value':_0x4323b1};return undefined;}function hasExplicitAppCode(_0x70c6fd,_0x9f3fce){const _0x32f424=a249_0x541e;return!!(stringFlag(_0x70c6fd[_0x32f424(0x1ab)])||stringFlag(_0x9f3fce[_0x32f424(0x1ab)]));}function assertEnvAppCodeNotIgnored(_0x4c252c,_0x2d6299,_0x660b34){const _0x270c46=a249_0x541e;if(!_0x2d6299||_0x660b34||_0x4c252c===_0x2d6299[_0x270c46(0x1b1)])return;const _0xdf37dc=_0x4c252c?_0x270c46(0x1a9)+_0x4c252c+'\x22.':'No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.';throw CliErrors[_0x270c46(0x1d1)](_0x2d6299['name']+'='+_0x2d6299[_0x270c46(0x1b1)]+_0x270c46(0x1af)+_0xdf37dc+'\x20'+(_0x270c46(0x1a8)+_0x2d6299['name']+'\x22.'));}export function createPipelineEnv(_0x35d2df,_0x4d8d87,_0x4c5e4a=[]){const _0xaca6f8=a249_0x541e;return{'rawFlags':_0x4d8d87,'args':_0x4c5e4a,'resolveAppCode':()=>_0x35d2df[_0xaca6f8(0x1e2)],'resolveCookie':()=>_0x35d2df[_0xaca6f8(0x1e5)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a249_0x236332(_0x4d8d87),'defaultFormat':_0x35d2df[_0xaca6f8(0x1f9)],'defaultPageSize':_0x35d2df[_0xaca6f8(0x1b8)],'defaultVerbose':_0x35d2df[_0xaca6f8(0x1f1)],'apiDir':_0x35d2df[_0xaca6f8(0x1d5)],'riskLevel':_0x35d2df[_0xaca6f8(0x1aa)],'selectedAppName':_0x35d2df[_0xaca6f8(0x1e6)],'mergedCli':{'defaultApp':_0x35d2df[_0xaca6f8(0x1a5)],'currentApp':_0x35d2df[_0xaca6f8(0x1b3)],'appCode':_0x35d2df['appCode'],'apps':_0x35d2df[_0xaca6f8(0x1e9)]}};}export function createRabetbaseRunnerAdapter(_0xb4543={}){const _0x2eff21=a249_0x541e;return{'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[_0x2eff21(0x1d7)](_0x45e405=>PIPELINE_FLAG_NAMES[_0x2eff21(0x1f5)](_0x45e405[_0x2eff21(0x1a7)]))[_0x2eff21(0x1ed)](({name:_0x1983a1,type:_0x354fa0,description:_0x47501f})=>({'name':_0x1983a1,'type':_0x354fa0,'description':_0x47501f})),'formatOutput':_0xb4543[_0x2eff21(0x1ae)]??formatOutput,'getCommandLabel'(_0x121e1d){const _0x5072d9=_0x2eff21;return CLI_BIN_NAME+'\x20'+_0x121e1d[_0x5072d9(0x1e4)]+'\x20'+_0x121e1d[_0x5072d9(0x1dc)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0xcbb1cb,{def:_0x3ffc5c}){const _0x6f83eb=_0x2eff21,_0x41a11e=_0xcbb1cb[_0x6f83eb(0x1a6)](_0x6f83eb(0x1db))?_0x6f83eb(0x1c2):_0x6f83eb(0x1e1)+_0x3ffc5c[_0x6f83eb(0x1e8)]+_0x6f83eb(0x1ba)+'AI\x20Agents\x20and\x20automated\x20scripts\x20must\x20not\x20modify\x20riskLevel\x20or\x20attempt\x20to\x20elevate\x20it.';return CliErrors[_0x6f83eb(0x1d1)](_0xcbb1cb+_0x6f83eb(0x1d8)+_0x41a11e);}},async 'prepare'(_0x160949,_0x1cb410,_0x128dcb,_0x3708ba){const _0x2a8d63=_0x2eff21,_0x439933=_0x1cb410['apiDir']||DEFAULT_API_DIR;resolveAliasToCode(_0x160949,_0x128dcb,_0x439933,_0x3708ba);const _0x23abd3=resolveCommandAuthMode(_0x160949);let _0x487738='';if(_0x23abd3!==_0x2a8d63(0x1e0)){_0x487738=_0x1cb410['resolveCookie']()||'';if(!_0x487738){if(_0x23abd3===_0x2a8d63(0x1d3))throw CliErrors['authRequired']();}else{const {setActiveCookie:_0x194cd0}=await import(_0x2a8d63(0x1b6));_0x194cd0(_0x487738);}}const _0x4e460c=_0x1cb410[_0x2a8d63(0x1ec)]()??'';if(_0x160949[_0x2a8d63(0x1d9)]!==![]){assertEnvAppCodeNotIgnored(_0x4e460c,resolveEnvAppCode(),hasExplicitAppCode(_0x128dcb,_0x1cb410['rawFlags']));if(!_0x4e460c)throw CliErrors[_0x2a8d63(0x1cd)](_0x2a8d63(0x1f8)+CLI_BIN_NAME+'\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.');}return{'defaults':{'booleans':{'verbose':_0x1cb410[_0x2a8d63(0x1c0)]},'numbers':{'pagesize':_0x1cb410[_0x2a8d63(0x1bd)]}},'extras':{'appCode':_0x4e460c,'cookie':_0x487738,'apiDomain':_0x1cb410[_0x2a8d63(0x1ca)](),'apiDir':_0x439933,'selectedAppName':_0x1cb410[_0x2a8d63(0x1df)],'mergedCli':_0x1cb410[_0x2a8d63(0x1de)]}};},'confirmHighRisk':_0xb4543[_0x2eff21(0x1b2)]??(async({env:_0x2ee019,commandLabel:_0x2c47b6})=>{const _0x2ed792=_0x2eff21;if(_0x2ee019[_0x2ed792(0x1ce)])throw CliErrors[_0x2ed792(0x1d1)](_0x2ed792(0x1f0)+_0x2c47b6+_0x2ed792(0x1c8));await requireConfirmationPrompt({'lines':[_0x2ed792(0x1b9)+_0x2c47b6,_0x2ed792(0x1be)],'createCancelledError':_0x526838=>CliErrors[_0x2ed792(0x1c1)](_0x526838)});}),async 'finalize'(){await clearRabetbaseCommandState();}};}const terminalRunnerAdapter=createRabetbaseRunnerAdapter();async function clearRabetbaseCommandState(){const {clearActiveCookie:_0x1163e0}=await import('../core/api-client.js');_0x1163e0();}export async function finalizeRabetbaseRuntimeState(){const _0x5aec61=a249_0x541e;try{await clearRabetbaseCommandState();}finally{const [{initDomains:_0x33cf9f},{initEnv:_0x450678}]=await Promise[_0x5aec61(0x1f7)]([import(_0x5aec61(0x1eb)),import(_0x5aec61(0x1e3))]);_0x33cf9f(),_0x450678(_0x5aec61(0x1ef));}}export async function runCommand(_0x53ccf5,_0x215419,_0x14c85d=terminalRunnerAdapter){const _0x2c5fb8=a249_0x541e;assertRejectedFlags(_0x53ccf5,_0x215419[_0x2c5fb8(0x1d2)]),await runCommandWithAdapter(shouldAttachUpdateNotice(_0x53ccf5)?withUpdateNotice(_0x53ccf5):_0x53ccf5,_0x215419,_0x14c85d);}function a249_0x344e(){const _0x233650=['command','6xnCcOf','mergedCli','selectedAppName','none','A\x20human\x20user\x20may\x20review\x20the\x20active\x20risk\x20ceilings\x20and\x20manually\x20edit\x20the\x20applicable\x20.rabetbase.json\x20file\x20to\x20set\x20riskLevel\x20to\x20\x22','appCode','../constant/env.js','service','cookie','explicitAppName','hasFormat','risk','apps','344268assWDm','../constant/domain.js','resolveAppCode','map','LOVRABET_APPCODE','production','High-risk\x20operation\x20`','verbose','schema','replace','resolve','has','some','all','Set\x20appcode\x20via\x20`','format','defaultApp','includes','name','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','Current\x20resolved\x20appcode\x20is\x20\x22','riskLevel','appcode','1019375CKtyqt','_notice','formatOutput','\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20','execute','value','confirmHighRisk','currentApp','doctor','11olEbzo','../core/api-client.js','3708mPImMt','pageSize','⚠\x20\x20High-risk\x20operation:\x20','\x22\x20if\x20this\x20operation\x20is\x20intended.\x20','36NTbGIz','trim','defaultPageSize','\x20\x20\x20Continue?\x20[y/N]\x20','7141130aLQWuC','defaultVerbose','cancelled','AI\x20Agents\x20and\x20automated\x20scripts\x20must\x20not\x20modify\x20riskLevel\x20or\x20attempt\x20to\x20elevate\x20it.','find','49464fgyuzk','hint','965426gnULJp','message','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','23182yWazee','resolveApiDomain','catch','string','configMissing','isNonInteractive','update','1992NIQaSK','validation','rawFlags','required','rejectedFlags','apiDir','nonInteractive','filter','\x0a\x20\x20','requiresAppCode','object','Edit\x20the\x20config\x20file\x20manually'];a249_0x344e=function(){return _0x233650;};return a249_0x344e();}function assertRejectedFlags(_0x10074d,_0x142595){const _0x122dc8=a249_0x541e;for(const _0x11cdc2 of _0x10074d[_0x122dc8(0x1d4)]??[]){const _0x157ba9=GLOBAL_FLAGS[_0x122dc8(0x1c3)](_0x397271=>_0x397271['name']===_0x11cdc2['name']),_0x1be4bf=new Set([_0x11cdc2[_0x122dc8(0x1a7)],toCamelCase(_0x11cdc2[_0x122dc8(0x1a7)]),_0x157ba9?.['meowKey']]),_0x1864dd=[..._0x1be4bf][_0x122dc8(0x1f6)](_0x408b7d=>{if(!_0x408b7d)return![];const _0x3d4caa=_0x142595[_0x408b7d];return _0x3d4caa!==undefined&&_0x3d4caa!==null&&_0x3d4caa!==![];});if(_0x1864dd)throw CliErrors['validation'](_0x11cdc2[_0x122dc8(0x1c7)],_0x11cdc2[_0x122dc8(0x1c5)]);}}function toCamelCase(_0x2bbc3b){const _0x37daea=a249_0x541e;return _0x2bbc3b[_0x37daea(0x1f3)](/-([a-z])/g,(_0xbda2ab,_0x157f16)=>_0x157f16['toUpperCase']());}function shouldAttachUpdateNotice(_0x3d79e1){const _0x5b3abe=a249_0x541e;if(_0x3d79e1[_0x5b3abe(0x1e7)]===![])return![];return![_0x5b3abe(0x1cf),_0x5b3abe(0x1f2),_0x5b3abe(0x1b4)]['includes'](_0x3d79e1[_0x5b3abe(0x1e4)]);}function withUpdateNotice(_0xa7d044){return{..._0xa7d044,async 'execute'(_0x6d6f1a){const _0x21a2bd=a249_0x541e,_0x5676c0=shouldResolveUpdateNotice(_0x6d6f1a)?resolveLatestUpdateNotice()[_0x21a2bd(0x1cb)](()=>null):Promise[_0x21a2bd(0x1f4)](null),_0x406746=await _0xa7d044[_0x21a2bd(0x1b0)](_0x6d6f1a);return attachUpdateNotice(_0x406746,await _0x5676c0);}};}function shouldResolveUpdateNotice(_0x4a83aa){const _0x1558ae=a249_0x541e;return _0x4a83aa['format']==='pretty'&&!_0x4a83aa[_0x1558ae(0x1d6)];}function attachUpdateNotice(_0x33a34b,_0x8c5730){const _0x399762=a249_0x541e;if(!_0x8c5730||!_0x33a34b||typeof _0x33a34b!==_0x399762(0x1da))return _0x33a34b;const _0x535077=_0x33a34b,_0x31fbc3=typeof _0x535077[_0x399762(0x1ad)]===_0x399762(0x1da)&&_0x535077[_0x399762(0x1ad)]!==null?_0x535077[_0x399762(0x1ad)]:{};return{..._0x535077,'_notice':{..._0x31fbc3,'update':_0x8c5730}};}
@@ -1 +1 @@
1
- (function(_0x476304,_0x534fd9){const _0x53717a=a250_0x530c,_0x4091e7=_0x476304();while(!![]){try{const _0xd260ad=-parseInt(_0x53717a(0xa5))/0x1*(-parseInt(_0x53717a(0xa2))/0x2)+-parseInt(_0x53717a(0xaa))/0x3+-parseInt(_0x53717a(0xa8))/0x4+parseInt(_0x53717a(0xa6))/0x5+parseInt(_0x53717a(0xab))/0x6+-parseInt(_0x53717a(0xa7))/0x7*(-parseInt(_0x53717a(0xa9))/0x8)+parseInt(_0x53717a(0xac))/0x9*(-parseInt(_0x53717a(0xa3))/0xa);if(_0xd260ad===_0x534fd9)break;else _0x4091e7['push'](_0x4091e7['shift']());}catch(_0x5cf371){_0x4091e7['push'](_0x4091e7['shift']());}}}(a250_0x3d61,0x20973));import{buildSchemaPayload as a250_0x9d73f7}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x3f35bd=a250_0x530c,{serviceRegistry:_0x495d56,findDefinition:_0x342419}=await import(_0x3f35bd(0xa4));return a250_0x9d73f7({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x495d56,'buildAllFlags':buildAllFlags,'findDefinition':_0x342419});}function a250_0x530c(_0x9aee4e,_0x4df24){_0x9aee4e=_0x9aee4e-0xa2;const _0x3d6166=a250_0x3d61();let _0x530c2c=_0x3d6166[_0x9aee4e];return _0x530c2c;}function a250_0x3d61(){const _0x34e255=['217802XWLufp','158230dFNxZR','../commands/registry.js','1qOWIQP','565885qCpJkm','7UYlNfm','105740gybFVC','718072LlPAiX','263628mGlEIh','375294GnVDdg','72bUKDAV'];a250_0x3d61=function(){return _0x34e255;};return a250_0x3d61();}
1
+ (function(_0x5664f5,_0x49a20e){const _0x35885d=a250_0x42b0,_0x2a2d97=_0x5664f5();while(!![]){try{const _0x157b9f=parseInt(_0x35885d(0xbc))/0x1+-parseInt(_0x35885d(0xc1))/0x2*(-parseInt(_0x35885d(0xbf))/0x3)+-parseInt(_0x35885d(0xc0))/0x4*(parseInt(_0x35885d(0xb7))/0x5)+-parseInt(_0x35885d(0xbd))/0x6+-parseInt(_0x35885d(0xbb))/0x7+-parseInt(_0x35885d(0xb9))/0x8*(-parseInt(_0x35885d(0xbe))/0x9)+parseInt(_0x35885d(0xba))/0xa;if(_0x157b9f===_0x49a20e)break;else _0x2a2d97['push'](_0x2a2d97['shift']());}catch(_0x17b6e9){_0x2a2d97['push'](_0x2a2d97['shift']());}}}(a250_0x4ddd,0x82673));function a250_0x42b0(_0x32b285,_0x57b683){_0x32b285=_0x32b285-0xb7;const _0x4ddd3e=a250_0x4ddd();let _0x42b095=_0x4ddd3e[_0x32b285];return _0x42b095;}import{buildSchemaPayload as a250_0x382df0}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';function a250_0x4ddd(){const _0x5cc1f7=['467110MELdOR','264230lPhqgD','4183044TAYzFX','9phtxna','471YwgvpG','1282648deDXUj','9566nhhGcg','15UlmvSe','../commands/registry.js','5698552dUUasN','5325410iZAuth'];a250_0x4ddd=function(){return _0x5cc1f7;};return a250_0x4ddd();}export async function buildSchemaPayload(){const _0x3a9a92=a250_0x42b0,{serviceRegistry:_0x450dd2,findDefinition:_0x3cebd6}=await import(_0x3a9a92(0xb8));return a250_0x382df0({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x450dd2,'buildAllFlags':buildAllFlags,'findDefinition':_0x3cebd6});}
@@ -1 +1 @@
1
- (function(_0xb58450,_0x16fa43){var _0x2092a8=a251_0x523e,_0x28b0f8=_0xb58450();while(!![]){try{var _0x5b0cb6=parseInt(_0x2092a8(0x13c))/0x1+parseInt(_0x2092a8(0x13b))/0x2+-parseInt(_0x2092a8(0x13e))/0x3+-parseInt(_0x2092a8(0x13f))/0x4*(parseInt(_0x2092a8(0x139))/0x5)+parseInt(_0x2092a8(0x13a))/0x6+-parseInt(_0x2092a8(0x13d))/0x7+parseInt(_0x2092a8(0x138))/0x8;if(_0x5b0cb6===_0x16fa43)break;else _0x28b0f8['push'](_0x28b0f8['shift']());}catch(_0x272d6a){_0x28b0f8['push'](_0x28b0f8['shift']());}}}(a251_0xd911,0x9df46));function a251_0x523e(_0x14bd7c,_0xbe0517){_0x14bd7c=_0x14bd7c-0x138;var _0xd9113=a251_0xd911();var _0x523eda=_0xd9113[_0x14bd7c];return _0x523eda;}function a251_0xd911(){var _0x153209=['196mMqoKX','12025056VZphqV','114535bIfhyb','5608572zSBHWG','775242btjazn','310035TsjwQX','8527960OUczUF','443535lBfWFe'];a251_0xd911=function(){return _0x153209;};return a251_0xd911();}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';
1
+ (function(_0x12347b,_0x2f7368){var _0x842d00=a251_0x85de,_0x5586b0=_0x12347b();while(!![]){try{var _0x4df726=-parseInt(_0x842d00(0x171))/0x1*(-parseInt(_0x842d00(0x177))/0x2)+-parseInt(_0x842d00(0x176))/0x3+parseInt(_0x842d00(0x16f))/0x4+parseInt(_0x842d00(0x16e))/0x5*(-parseInt(_0x842d00(0x172))/0x6)+parseInt(_0x842d00(0x174))/0x7+-parseInt(_0x842d00(0x173))/0x8*(-parseInt(_0x842d00(0x170))/0x9)+-parseInt(_0x842d00(0x175))/0xa;if(_0x4df726===_0x2f7368)break;else _0x5586b0['push'](_0x5586b0['shift']());}catch(_0x30d54b){_0x5586b0['push'](_0x5586b0['shift']());}}}(a251_0x43a6,0x9312a));function a251_0x85de(_0x4a68ac,_0x415d9e){_0x4a68ac=_0x4a68ac-0x16e;var _0x43a66e=a251_0x43a6();var _0x85de10=_0x43a66e[_0x4a68ac];return _0x85de10;}function a251_0x43a6(){var _0x13176a=['2FdZcHt','120sLBadW','2650276nLSULi','18kKdXFO','164621tTdNmk','227226qMDpBo','1796216faPIHS','6606684xhLFQF','5309490kbswxV','533379zLoOZv'];a251_0x43a6=function(){return _0x13176a;};return a251_0x43a6();}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';
@@ -1,4 +1,4 @@
1
- export declare const VERSION = "2.4.5";
2
- export declare const GIT_TAG = "v2.4.5";
3
- export declare const GIT_COMMIT = "384c40e";
4
- export declare const BUILD_TIME = "2026-08-15T05:10:00.841Z";
1
+ export declare const VERSION = "2.4.6-beta.1";
2
+ export declare const GIT_TAG = "v2.4.6-beta.1";
3
+ export declare const GIT_COMMIT = "5941c82";
4
+ export declare const BUILD_TIME = "2026-08-15T10:03:56.982Z";
@@ -1 +1 @@
1
- const a252_0x169178=a252_0x120a;(function(_0x55d7a8,_0x43c7c1){const _0x429210=a252_0x120a,_0x3c29c1=_0x55d7a8();while(!![]){try{const _0x241495=parseInt(_0x429210(0x9a))/0x1*(-parseInt(_0x429210(0x97))/0x2)+parseInt(_0x429210(0x98))/0x3+parseInt(_0x429210(0x9c))/0x4+parseInt(_0x429210(0x96))/0x5*(-parseInt(_0x429210(0x9d))/0x6)+parseInt(_0x429210(0x9e))/0x7+-parseInt(_0x429210(0x99))/0x8*(parseInt(_0x429210(0x9b))/0x9)+-parseInt(_0x429210(0x9f))/0xa;if(_0x241495===_0x43c7c1)break;else _0x3c29c1['push'](_0x3c29c1['shift']());}catch(_0x26f39a){_0x3c29c1['push'](_0x3c29c1['shift']());}}}(a252_0x4f68,0xb1694));export const VERSION='2.4.5';export const GIT_TAG=a252_0x169178(0x95);export const GIT_COMMIT='384c40e';function a252_0x120a(_0x3bd943,_0x2bebc2){_0x3bd943=_0x3bd943-0x95;const _0x4f68f0=a252_0x4f68();let _0x120a01=_0x4f68f0[_0x3bd943];return _0x120a01;}function a252_0x4f68(){const _0x3b117d=['2913980cocmCi','v2.4.5','76235VHdRMe','34682Ledwhp','529881KXRmdH','5072ttKrNQ','12ffMpdu','14409PPYLzk','4932932ZNxLIn','102PrDRLO','7633773PNebhn'];a252_0x4f68=function(){return _0x3b117d;};return a252_0x4f68();}export const BUILD_TIME='2026-08-15T05:10:00.841Z';
1
+ const a252_0x1c0f15=a252_0x5997;function a252_0x5997(_0x4af745,_0x5de1d3){_0x4af745=_0x4af745-0xcd;const _0x3161e1=a252_0x3161();let _0x599779=_0x3161e1[_0x4af745];return _0x599779;}(function(_0x5290cc,_0x3a7ca5){const _0x485800=a252_0x5997,_0x45747d=_0x5290cc();while(!![]){try{const _0x38f860=-parseInt(_0x485800(0xd1))/0x1+parseInt(_0x485800(0xd6))/0x2*(parseInt(_0x485800(0xd0))/0x3)+parseInt(_0x485800(0xd4))/0x4+parseInt(_0x485800(0xce))/0x5+-parseInt(_0x485800(0xd3))/0x6+parseInt(_0x485800(0xd8))/0x7*(parseInt(_0x485800(0xd7))/0x8)+-parseInt(_0x485800(0xcf))/0x9;if(_0x38f860===_0x3a7ca5)break;else _0x45747d['push'](_0x45747d['shift']());}catch(_0x314dc8){_0x45747d['push'](_0x45747d['shift']());}}}(a252_0x3161,0xaed3b));export const VERSION=a252_0x1c0f15(0xd2);export const GIT_TAG='v2.4.6-beta.1';function a252_0x3161(){const _0x5348b7=['3920970bFAWUe','5011216ERWDmw','5941c82','506cDruTO','720XVmMtX','69111EHhkUr','2026-08-15T10:03:56.982Z','1548760pqAuFV','10633014NfTffj','4533XsHQFs','282377Fpjinh','2.4.6-beta.1'];a252_0x3161=function(){return _0x5348b7;};return a252_0x3161();}export const GIT_COMMIT=a252_0x1c0f15(0xd5);export const BUILD_TIME=a252_0x1c0f15(0xcd);
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- (function(_0x16bf13,_0x427d54){var _0x36bb34=a253_0x27da,_0xe4dc36=_0x16bf13();while(!![]){try{var _0x3170c1=parseInt(_0x36bb34(0x1a5))/0x1*(parseInt(_0x36bb34(0x1a1))/0x2)+parseInt(_0x36bb34(0x1a6))/0x3+parseInt(_0x36bb34(0x199))/0x4*(-parseInt(_0x36bb34(0x1a0))/0x5)+-parseInt(_0x36bb34(0x19b))/0x6*(-parseInt(_0x36bb34(0x1a4))/0x7)+-parseInt(_0x36bb34(0x19a))/0x8+-parseInt(_0x36bb34(0x19d))/0x9*(parseInt(_0x36bb34(0x1a3))/0xa)+parseInt(_0x36bb34(0x19e))/0xb;if(_0x3170c1===_0x427d54)break;else _0xe4dc36['push'](_0xe4dc36['shift']());}catch(_0xb436c6){_0xe4dc36['push'](_0xe4dc36['shift']());}}}(a253_0xa684,0xa2c88));import a253_0x461210 from'chalk';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0xf612a4=a253_0x27da;console['log'](),console[_0xf612a4(0x1a2)](a253_0x461210[_0xf612a4(0x19f)][_0xf612a4(0x1a7)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0xf612a4(0x1a2)](),console[_0xf612a4(0x1a2)](_0xf612a4(0x19c)+a253_0x461210[_0xf612a4(0x19f)][_0xf612a4(0x1a7)](CLI_BIN_NAME+'\x20--help')+'\x20to\x20view\x20available\x20commands.'),console['log']();}function a253_0x27da(_0x28cc40,_0x146164){_0x28cc40=_0x28cc40-0x199;var _0xa6845f=a253_0xa684();var _0x27daff=_0xa6845f[_0x28cc40];return _0x27daff;}function a253_0xa684(){var _0x5ac6dc=['215292tHSYFV','bold','4iyzuHn','7124552yAliOG','6BAOwZu','\x20\x20Use\x20','38529UMWYNS','17565042njiafb','green','1567165Adqpnq','4KZRLol','log','1930PenhEM','4244051YyZcRe','211058weMUcW'];a253_0xa684=function(){return _0x5ac6dc;};return a253_0xa684();}
1
+ (function(_0x4bad53,_0x27a240){var _0x3e1da8=a253_0x27ea,_0x38fa9e=_0x4bad53();while(!![]){try{var _0x3c5c9f=-parseInt(_0x3e1da8(0x1b9))/0x1*(-parseInt(_0x3e1da8(0x1b4))/0x2)+-parseInt(_0x3e1da8(0x1ab))/0x3*(parseInt(_0x3e1da8(0x1ae))/0x4)+-parseInt(_0x3e1da8(0x1b5))/0x5*(-parseInt(_0x3e1da8(0x1ad))/0x6)+parseInt(_0x3e1da8(0x1b1))/0x7+-parseInt(_0x3e1da8(0x1b8))/0x8*(parseInt(_0x3e1da8(0x1b0))/0x9)+parseInt(_0x3e1da8(0x1aa))/0xa+-parseInt(_0x3e1da8(0x1ac))/0xb;if(_0x3c5c9f===_0x27a240)break;else _0x38fa9e['push'](_0x38fa9e['shift']());}catch(_0x329cd8){_0x38fa9e['push'](_0x38fa9e['shift']());}}}(a253_0x5055,0x6f72f));import a253_0x5d97d3 from'chalk';function a253_0x5055(){var _0x2f7eda=['\x20\x20Use\x20','333zxFNCw','1989596lmoozi','green','log','12XivcOF','3131365ojmsBl','bold','\x20--help','98840lhcwEe','4618jzSYtS','\x20to\x20view\x20available\x20commands.','5038310uajvou','3DxTGlw','4675484PocAUH','6AbyjCC','413464KcMRVh'];a253_0x5055=function(){return _0x2f7eda;};return a253_0x5055();}function a253_0x27ea(_0x361777,_0x438140){_0x361777=_0x361777-0x1a9;var _0x505577=a253_0x5055();var _0x27ea46=_0x505577[_0x361777];return _0x27ea46;}import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0x5f5a6e=a253_0x27ea;console[_0x5f5a6e(0x1b3)](),console[_0x5f5a6e(0x1b3)](a253_0x5d97d3[_0x5f5a6e(0x1b2)][_0x5f5a6e(0x1b6)]('\x20\x20'+CLI_DISPLAY_NAME)),console['log'](),console[_0x5f5a6e(0x1b3)](_0x5f5a6e(0x1af)+a253_0x5d97d3[_0x5f5a6e(0x1b2)]['bold'](CLI_BIN_NAME+_0x5f5a6e(0x1b7))+_0x5f5a6e(0x1a9)),console[_0x5f5a6e(0x1b3)]();}
@@ -1 +1 @@
1
- (function(_0xad09f5,_0x72e3da){const _0x4ebf7f=a254_0x1be5,_0x5cf7c4=_0xad09f5();while(!![]){try{const _0xc177ff=-parseInt(_0x4ebf7f(0x1c1))/0x1*(-parseInt(_0x4ebf7f(0x1c2))/0x2)+-parseInt(_0x4ebf7f(0x1c7))/0x3+-parseInt(_0x4ebf7f(0x1bd))/0x4*(parseInt(_0x4ebf7f(0x1b4))/0x5)+parseInt(_0x4ebf7f(0x1b7))/0x6*(parseInt(_0x4ebf7f(0x1bb))/0x7)+parseInt(_0x4ebf7f(0x1b9))/0x8*(parseInt(_0x4ebf7f(0x1b6))/0x9)+-parseInt(_0x4ebf7f(0x1bc))/0xa*(parseInt(_0x4ebf7f(0x1c6))/0xb)+parseInt(_0x4ebf7f(0x1c4))/0xc*(-parseInt(_0x4ebf7f(0x1b2))/0xd);if(_0xc177ff===_0x72e3da)break;else _0x5cf7c4['push'](_0x5cf7c4['shift']());}catch(_0x11f829){_0x5cf7c4['push'](_0x5cf7c4['shift']());}}}(a254_0x5500,0xe411a));import{installBuiltinSkill}from'./skills/builtin-skill.js';function a254_0x1be5(_0x4c8092,_0x2a54da){_0x4c8092=_0x4c8092-0x1b2;const _0x55003c=a254_0x5500();let _0x1be5b7=_0x55003c[_0x4c8092];return _0x1be5b7;}export async function runPostinstall(_0x5ebfd4={}){const _0x47f0a5=a254_0x1be5,_0x41da4d=installBuiltinSkill(_0x5ebfd4);if(_0x41da4d['ok']){const _0x117032=_0x41da4d[_0x47f0a5(0x1c3)]?_0x47f0a5(0x1b8):_0x47f0a5(0x1c0),_0x55c096=_0x41da4d[_0x47f0a5(0x1ca)]?_0x47f0a5(0x1ba)+_0x41da4d['installedPath']:_0x47f0a5(0x1c8);return console['log']('Rabetbase\x20Built-in\x20Skill\x20'+_0x41da4d[_0x47f0a5(0x1be)]+'\x20'+_0x117032+_0x55c096),_0x41da4d;}const _0x4d224d='[BUILTIN_SKILL_INSTALL_'+(_0x41da4d['code']??_0x47f0a5(0x1b5))+']\x20'+(_0x41da4d[_0x47f0a5(0x1c9)]??_0x47f0a5(0x1cb))+'.\x20'+('Repair\x20with:\x20'+_0x41da4d[_0x47f0a5(0x1b3)]);if(_0x41da4d['code']===_0x47f0a5(0x1bf))throw new Error(_0x4d224d);return console[_0x47f0a5(0x1c5)](_0x4d224d),_0x41da4d;}function a254_0x5500(){const _0x4c0080=['skillVersion','SOURCE_INVALID','already\x20current','8faEifB','311496MkALxr','changed','68124PBWkCQ','warn','716936iuMqOW','4924035MWNZQA','\x20via\x20skills@latest','error','installedPath','Installation\x20failed','1313NtfQQg','repairCommand','4290xTWRPo','FAILED','549QhdUKa','6186yqJXAc','installed','170648KURbwY','\x20at\x20','8057BHKypb','60lBXlLR','904rvLnFK'];a254_0x5500=function(){return _0x4c0080;};return a254_0x5500();}
1
+ (function(_0x506383,_0x254620){const _0x5e44f6=a254_0x422a,_0x4a6ee7=_0x506383();while(!![]){try{const _0x53fb33=-parseInt(_0x5e44f6(0x183))/0x1+-parseInt(_0x5e44f6(0x191))/0x2+parseInt(_0x5e44f6(0x18e))/0x3+parseInt(_0x5e44f6(0x187))/0x4*(-parseInt(_0x5e44f6(0x18b))/0x5)+parseInt(_0x5e44f6(0x18d))/0x6+parseInt(_0x5e44f6(0x188))/0x7+parseInt(_0x5e44f6(0x190))/0x8;if(_0x53fb33===_0x254620)break;else _0x4a6ee7['push'](_0x4a6ee7['shift']());}catch(_0x343232){_0x4a6ee7['push'](_0x4a6ee7['shift']());}}}(a254_0x15fe,0x2724b));import{installBuiltinSkill}from'./skills/builtin-skill.js';function a254_0x422a(_0xffa84b,_0x1c388f){_0xffa84b=_0xffa84b-0x17c;const _0x15fe7d=a254_0x15fe();let _0x422a23=_0x15fe7d[_0xffa84b];return _0x422a23;}function a254_0x15fe(){const _0x5c29d8=['code','installedPath','SOURCE_INVALID','\x20at\x20','Installation\x20failed','warn','176350RlUYes','[BUILTIN_SKILL_INSTALL_','skillVersion','already\x20current','164NbMgeL','958580OakPtq','\x20via\x20skills@latest','installed','35470NMAfsM','error','1081500NrmINr','312480mGHTGo','log','3928152jvqKni','569668bmUHav','changed','FAILED'];a254_0x15fe=function(){return _0x5c29d8;};return a254_0x15fe();}export async function runPostinstall(_0x5be52a={}){const _0x480c49=a254_0x422a,_0x495731=installBuiltinSkill(_0x5be52a);if(_0x495731['ok']){const _0x5bf502=_0x495731[_0x480c49(0x192)]?_0x480c49(0x18a):_0x480c49(0x186),_0x13180a=_0x495731[_0x480c49(0x17e)]?_0x480c49(0x180)+_0x495731['installedPath']:_0x480c49(0x189);return console[_0x480c49(0x18f)]('Rabetbase\x20Built-in\x20Skill\x20'+_0x495731[_0x480c49(0x185)]+'\x20'+_0x5bf502+_0x13180a),_0x495731;}const _0x24055e=_0x480c49(0x184)+(_0x495731[_0x480c49(0x17d)]??_0x480c49(0x17c))+']\x20'+(_0x495731[_0x480c49(0x18c)]??_0x480c49(0x181))+'.\x20'+('Repair\x20with:\x20'+_0x495731['repairCommand']);if(_0x495731[_0x480c49(0x17d)]===_0x480c49(0x17f))throw new Error(_0x24055e);return console[_0x480c49(0x182)](_0x24055e),_0x495731;}
@@ -1 +1 @@
1
- function a255_0x52ce(_0x15476f,_0x584c84){_0x15476f=_0x15476f-0x12c;const _0x4f5bea=a255_0x4f5b();let _0x52ce93=_0x4f5bea[_0x15476f];return _0x52ce93;}(function(_0x20da13,_0x3ea487){const _0x240648=a255_0x52ce,_0x2b7f46=_0x20da13();while(!![]){try{const _0x257ac0=parseInt(_0x240648(0x13c))/0x1+-parseInt(_0x240648(0x136))/0x2*(parseInt(_0x240648(0x13d))/0x3)+parseInt(_0x240648(0x133))/0x4+-parseInt(_0x240648(0x140))/0x5+-parseInt(_0x240648(0x13b))/0x6+parseInt(_0x240648(0x134))/0x7*(-parseInt(_0x240648(0x130))/0x8)+parseInt(_0x240648(0x13f))/0x9*(parseInt(_0x240648(0x12e))/0xa);if(_0x257ac0===_0x3ea487)break;else _0x2b7f46['push'](_0x2b7f46['shift']());}catch(_0x5731ab){_0x2b7f46['push'](_0x2b7f46['shift']());}}}(a255_0x4f5b,0x592a7));const DESCRIPTION_MAX_LENGTH=0x1f4;export function buildRabetbaseConfirmationRequest(_0x33857d,_0x327fda,_0x40c105){const _0x10e181=a255_0x52ce,_0x27bee7=normalizeText(_0x33857d[_0x10e181(0x131)],DESCRIPTION_MAX_LENGTH),_0x44fbb3=_0x27bee7||normalizeText(defaultDescription(requireWriteRisk(_0x33857d),_0x327fda),DESCRIPTION_MAX_LENGTH);return{'operation':_0x327fda,'risk':requireWriteRisk(_0x33857d),'description':_0x44fbb3,..._0x40c105?{'signal':_0x40c105}:{}};}function a255_0x4f5b(){const _0x8dfd5=['confirmationDescription','trim','649664xyyMFZ','27328ZJGYXq','Rabetbase\x20confirmation\x20requires\x20a\x20write\x20command.','189890QYgbRf','将执行写入操作\x20','high-risk-write',';该操作可能覆盖、删除或明显影响线上运行行为。','将执行高风险写入操作\x20','1201830JTmjDL','489414xLIhFA','18WfQFlB','slice','13595463BuJWes','2891395lmFYWP','write','string','replace','10cqPRjA','risk','920wyCnPM'];a255_0x4f5b=function(){return _0x8dfd5;};return a255_0x4f5b();}function requireWriteRisk(_0x367e79){const _0x4e4251=a255_0x52ce;if(_0x367e79['risk']===_0x4e4251(0x141)||_0x367e79[_0x4e4251(0x12f)]==='high-risk-write')return _0x367e79[_0x4e4251(0x12f)];throw new Error(_0x4e4251(0x135));}function defaultDescription(_0x40889e,_0x2515bb){const _0x24f81b=a255_0x52ce;if(_0x40889e===_0x24f81b(0x138))return _0x24f81b(0x13a)+_0x2515bb+_0x24f81b(0x139);return _0x24f81b(0x137)+_0x2515bb+';该操作可能创建或修改业务数据或本地配置。';}function normalizeText(_0x385203,_0x2d2185){const _0x991220=a255_0x52ce;if(typeof _0x385203!==_0x991220(0x12c))return'';return _0x385203[_0x991220(0x12d)](/[\u0000-\u001f\u007f]+/g,'\x20')['replace'](/\s+/g,'\x20')[_0x991220(0x132)]()[_0x991220(0x13e)](0x0,_0x2d2185);}
1
+ (function(_0x582f1f,_0x251d48){const _0x1c0723=a255_0x10d9,_0x1728e5=_0x582f1f();while(!![]){try{const _0x59bbd5=parseInt(_0x1c0723(0xa5))/0x1+parseInt(_0x1c0723(0xab))/0x2*(parseInt(_0x1c0723(0xb0))/0x3)+-parseInt(_0x1c0723(0xa6))/0x4*(-parseInt(_0x1c0723(0xa2))/0x5)+parseInt(_0x1c0723(0xa4))/0x6+-parseInt(_0x1c0723(0xa9))/0x7+-parseInt(_0x1c0723(0xae))/0x8+-parseInt(_0x1c0723(0xad))/0x9*(parseInt(_0x1c0723(0xac))/0xa);if(_0x59bbd5===_0x251d48)break;else _0x1728e5['push'](_0x1728e5['shift']());}catch(_0x1f09cb){_0x1728e5['push'](_0x1728e5['shift']());}}}(a255_0x4e54,0xba31e));const DESCRIPTION_MAX_LENGTH=0x1f4;export function buildRabetbaseConfirmationRequest(_0x2f90ff,_0x230b49,_0x4eac1){const _0x5ccb11=a255_0x10d9,_0x2d6fa3=normalizeText(_0x2f90ff[_0x5ccb11(0xb2)],DESCRIPTION_MAX_LENGTH),_0x9c0802=_0x2d6fa3||normalizeText(defaultDescription(requireWriteRisk(_0x2f90ff),_0x230b49),DESCRIPTION_MAX_LENGTH);return{'operation':_0x230b49,'risk':requireWriteRisk(_0x2f90ff),'description':_0x9c0802,..._0x4eac1?{'signal':_0x4eac1}:{}};}function a255_0x10d9(_0x5a0652,_0x22326b){_0x5a0652=_0x5a0652-0xa0;const _0x4e54fc=a255_0x4e54();let _0x10d986=_0x4e54fc[_0x5a0652];return _0x10d986;}function requireWriteRisk(_0x5bb0cd){const _0x1003ed=a255_0x10d9;if(_0x5bb0cd[_0x1003ed(0xaf)]===_0x1003ed(0xa8)||_0x5bb0cd['risk']==='high-risk-write')return _0x5bb0cd[_0x1003ed(0xaf)];throw new Error(_0x1003ed(0xa0));}function defaultDescription(_0x3b703e,_0x54160b){const _0x3903ac=a255_0x10d9;if(_0x3b703e===_0x3903ac(0xb4))return _0x3903ac(0xb3)+_0x54160b+';该操作可能覆盖、删除或明显影响线上运行行为。';return _0x3903ac(0xa1)+_0x54160b+_0x3903ac(0xa3);}function a255_0x4e54(){const _0x347854=['1646778NLfXal','slice','308842HwgYGS','10167320GKAMrI','9JQCxVV','658568lHHtDt','risk','6RmrRUU','string','confirmationDescription','将执行高风险写入操作\x20','high-risk-write','Rabetbase\x20confirmation\x20requires\x20a\x20write\x20command.','将执行写入操作\x20','5gCzkWm',';该操作可能创建或修改业务数据或本地配置。','1392006AMruxS','839597bMfeRp','2866084LAHcGd','replace','write'];a255_0x4e54=function(){return _0x347854;};return a255_0x4e54();}function normalizeText(_0x46db0a,_0x1f76e2){const _0x11c592=a255_0x10d9;if(typeof _0x46db0a!==_0x11c592(0xb1))return'';return _0x46db0a['replace'](/[\u0000-\u001f\u007f]+/g,'\x20')[_0x11c592(0xa7)](/\s+/g,'\x20')['trim']()[_0x11c592(0xaa)](0x0,_0x1f76e2);}
@@ -1 +1 @@
1
- (function(_0x151e1f,_0x5f2c8f){var _0x15f7f3=a256_0xe842,_0xa4cc77=_0x151e1f();while(!![]){try{var _0x522515=-parseInt(_0x15f7f3(0x146))/0x1*(-parseInt(_0x15f7f3(0x143))/0x2)+-parseInt(_0x15f7f3(0x14c))/0x3+-parseInt(_0x15f7f3(0x147))/0x4*(parseInt(_0x15f7f3(0x14a))/0x5)+-parseInt(_0x15f7f3(0x149))/0x6+parseInt(_0x15f7f3(0x142))/0x7+-parseInt(_0x15f7f3(0x144))/0x8+parseInt(_0x15f7f3(0x148))/0x9;if(_0x522515===_0x5f2c8f)break;else _0xa4cc77['push'](_0xa4cc77['shift']());}catch(_0x55c112){_0xa4cc77['push'](_0xa4cc77['shift']());}}}(a256_0x17a2,0xb417f));export function canonicalRabetbaseOperation(_0x1192b9){var _0x34ff8b=a256_0xe842;return[_0x1192b9['service'],..._0x1192b9[_0x34ff8b(0x140)][_0x34ff8b(0x13f)]()[_0x34ff8b(0x141)](/\s+/)][_0x34ff8b(0x13e)](Boolean)['join']('.');}function a256_0x17a2(){var _0x27215f=['command','split','8274462ROgMLH','2cOZuYc','5827568OlJttn','risk','1396601FbbeEg','348POxRGa','19170567VTOyUo','6010656YzFvQo','75830OsWVNN','rabetbase.write.completed','2764209pSITue','filter','trim'];a256_0x17a2=function(){return _0x27215f;};return a256_0x17a2();}function a256_0xe842(_0x508243,_0x2d5da9){_0x508243=_0x508243-0x13e;var _0x17a2ac=a256_0x17a2();var _0xe8429f=_0x17a2ac[_0x508243];return _0xe8429f;}export function createRabetbaseWriteMetadata(_0x4356d5,_0x7f0fe4,_0x22fbd2,_0xdfe96){var _0xeb1cd2=a256_0xe842;if(_0xdfe96||_0x22fbd2['ok']!==!![]||_0x4356d5['risk']!=='write'&&_0x4356d5[_0xeb1cd2(0x145)]!=='high-risk-write')return undefined;return{'rabetbase':{'schemaVersion':0x1,'event':{'type':_0xeb1cd2(0x14b),'operation':_0x7f0fe4,'risk':_0x4356d5[_0xeb1cd2(0x145)]}}};}
1
+ (function(_0x5025c6,_0x1f8e63){var _0x271840=a256_0x37de,_0xc14063=_0x5025c6();while(!![]){try{var _0x2a8415=parseInt(_0x271840(0x11f))/0x1+parseInt(_0x271840(0x128))/0x2+parseInt(_0x271840(0x12d))/0x3+parseInt(_0x271840(0x12b))/0x4+-parseInt(_0x271840(0x129))/0x5+-parseInt(_0x271840(0x126))/0x6*(-parseInt(_0x271840(0x120))/0x7)+-parseInt(_0x271840(0x122))/0x8*(parseInt(_0x271840(0x12c))/0x9);if(_0x2a8415===_0x1f8e63)break;else _0xc14063['push'](_0xc14063['shift']());}catch(_0x3dcc1f){_0xc14063['push'](_0xc14063['shift']());}}}(a256_0x2318,0x4293e));export function canonicalRabetbaseOperation(_0x4822fd){var _0x159aa5=a256_0x37de;return[_0x4822fd[_0x159aa5(0x12a)],..._0x4822fd[_0x159aa5(0x127)][_0x159aa5(0x124)]()['split'](/\s+/)][_0x159aa5(0x123)](Boolean)['join']('.');}function a256_0x2318(){var _0x262706=['374174gCZCxt','13307moOeEI','write','17528gPRSJB','filter','trim','risk','1614SrWLKS','command','402340ZjUbip','1842590wqKKrb','service','1400848Pawrzy','5454dNUqXe','1596123FwNHKW'];a256_0x2318=function(){return _0x262706;};return a256_0x2318();}function a256_0x37de(_0x3e9d8d,_0x3bbaad){_0x3e9d8d=_0x3e9d8d-0x11f;var _0x23187b=a256_0x2318();var _0x37deb0=_0x23187b[_0x3e9d8d];return _0x37deb0;}export function createRabetbaseWriteMetadata(_0x4e7d2c,_0x199ba9,_0x129a60,_0x214eed){var _0xa4d98f=a256_0x37de;if(_0x214eed||_0x129a60['ok']!==!![]||_0x4e7d2c[_0xa4d98f(0x125)]!==_0xa4d98f(0x121)&&_0x4e7d2c[_0xa4d98f(0x125)]!=='high-risk-write')return undefined;return{'rabetbase':{'schemaVersion':0x1,'event':{'type':'rabetbase.write.completed','operation':_0x199ba9,'risk':_0x4e7d2c[_0xa4d98f(0x125)]}}};}
@@ -1 +1 @@
1
- (function(_0x94f1a3,_0x209f64){const _0xd6e8b0=a257_0xa096,_0x21ace2=_0x94f1a3();while(!![]){try{const _0xb6068=-parseInt(_0xd6e8b0(0x10c))/0x1*(parseInt(_0xd6e8b0(0x100))/0x2)+-parseInt(_0xd6e8b0(0xf9))/0x3+parseInt(_0xd6e8b0(0xed))/0x4*(-parseInt(_0xd6e8b0(0xfc))/0x5)+-parseInt(_0xd6e8b0(0xf2))/0x6*(-parseInt(_0xd6e8b0(0xe9))/0x7)+-parseInt(_0xd6e8b0(0xf0))/0x8*(parseInt(_0xd6e8b0(0xef))/0x9)+-parseInt(_0xd6e8b0(0xfd))/0xa+parseInt(_0xd6e8b0(0xff))/0xb;if(_0xb6068===_0x209f64)break;else _0x21ace2['push'](_0x21ace2['shift']());}catch(_0x25d654){_0x21ace2['push'](_0x21ace2['shift']());}}}(a257_0x2a57,0xb3cd2));function a257_0xa096(_0x86fe12,_0x3149f1){_0x86fe12=_0x86fe12-0xe9;const _0x2a5774=a257_0x2a57();let _0xa09651=_0x2a5774[_0x86fe12];return _0xa09651;}import{buildConfigFromFlags,initGlobalEnvironment}from'../context.js';import{createPipelineEnv,createRabetbaseRunnerAdapter,finalizeRabetbaseRuntimeState,runCommand}from'../framework/runner.js';import{buildRabetbaseConfirmationRequest}from'../runtime/confirmation.js';import{canonicalRabetbaseOperation,createRabetbaseWriteMetadata}from'../runtime/event.js';import{runSerialized}from'../runtime/queue.js';import{resolveRabetbaseInvocation}from'../runtime/resolve.js';const defaultPresentation={'present'({result:_0x34f822,command:_0x28b113,risk:_0x1d75be,dryRun:_0x162e21}){const _0x334124=a257_0xa096;return JSON[_0x334124(0xf3)]({'ok':_0x34f822['ok'],'command':_0x28b113,'risk':_0x1d75be,..._0x162e21?{'dryRun':!![]}:{},..._0x34f822[_0x334124(0xfa)]!==undefined?{'data':_0x34f822[_0x334124(0xfa)]}:{},..._0x34f822['message']?{'message':_0x34f822[_0x334124(0xfe)]}:{}});}};function a257_0x2a57(){const _0x9fac19=['2795FGGSNv','13711160ywEabp','message','49409162EHFyiP','58AIRpXf','write','Rabetbase\x20invocation\x20completed\x20without\x20a\x20captured\x20command\x20result.','riskLevel','AbortError','signal','command','args','high-risk-write','isNonInteractive','definition','format','22254ncMaZC','rawFlags','1298178CZKUwK','execute','dry-run','aborted','6492nDoWqw','confirmation','44271arfojn','1880jFWxAX','risk','42CnshsO','stringify','dryRun','yes','result','present','confirm','2921250VDWpei','data','Embedded\x20Rabetbase\x20confirmation\x20must\x20run\x20before\x20the\x20execution\x20queue.'];a257_0x2a57=function(){return _0x9fac19;};return a257_0x2a57();}export async function invokeRabetbase(_0x3563f5,_0x116d0a){const _0x6384b8=a257_0xa096;throwIfAborted(_0x116d0a[_0x6384b8(0x105)]);const _0x2f3f03=await resolveRabetbaseInvocation(_0x3563f5),_0x3c667c=canonicalRabetbaseOperation(_0x2f3f03[_0x6384b8(0x10a)]);return await confirmWriteBeforeQueue(_0x2f3f03[_0x6384b8(0x10a)],_0x2f3f03['rawFlags'],_0x3c667c,_0x116d0a),runSerialized(async()=>{const _0x38570b=_0x6384b8,_0x3098b7={};try{throwIfAborted(_0x116d0a[_0x38570b(0x105)]);const _0x32eb6f=buildConfigFromFlags(_0x2f3f03['rawFlags']);await initGlobalEnvironment(_0x32eb6f);const _0x3068c7=createPipelineEnv(_0x32eb6f,{..._0x2f3f03['rawFlags'],'yes':_0x2f3f03['definition'][_0x38570b(0xf1)]===_0x38570b(0x108)?!![]:_0x2f3f03[_0x38570b(0x10d)][_0x38570b(0xf5)],'nonInteractive':!![]},_0x2f3f03[_0x38570b(0x107)]);_0x3068c7[_0x38570b(0x109)]=!![],_0x3068c7[_0x38570b(0x103)]='high-risk-write';const _0x108978=withAbortSignal(_0x2f3f03[_0x38570b(0x10a)],_0x116d0a[_0x38570b(0x105)]),_0x13e240=createRabetbaseRunnerAdapter({'formatOutput'(_0x363001,_0x14405d){const _0xae3774=_0x38570b;_0x3098b7[_0xae3774(0xf6)]=_0x363001,_0x3098b7[_0xae3774(0x106)]=_0x14405d[_0xae3774(0x106)],_0x3098b7['risk']=_0x14405d[_0xae3774(0xf1)],_0x3098b7[_0xae3774(0x10b)]=_0x14405d[_0xae3774(0x10b)],_0x3098b7[_0xae3774(0xf4)]=_0x14405d[_0xae3774(0xf4)]===!![];},async 'confirmHighRisk'(){const _0x3c9b8d=_0x38570b;throw new Error(_0x3c9b8d(0xfb));}});await runCommand(_0x108978,_0x3068c7,_0x13e240);if(!_0x3098b7[_0x38570b(0xf6)]||!_0x3098b7['command']||!_0x3098b7[_0x38570b(0xf1)]||!_0x3098b7['format'])throw new Error(_0x38570b(0x102));const _0x276e86=_0x3098b7[_0x38570b(0xf4)]===!![],_0xb4a616=_0x116d0a['presentation']??defaultPresentation,_0x9c0e42={'result':_0x3098b7[_0x38570b(0xf6)],'command':_0x3098b7['command'],'operation':_0x3c667c,'risk':_0x3098b7[_0x38570b(0xf1)],'format':_0x3098b7[_0x38570b(0x10b)],'dryRun':_0x276e86},_0x1ff223=createRabetbaseWriteMetadata(_0x2f3f03['definition'],_0x3c667c,_0x3098b7[_0x38570b(0xf6)],_0x276e86);let _0x2f1d71;try{_0x2f1d71=await _0xb4a616[_0x38570b(0xf7)](_0x9c0e42);}catch(_0x544c0b){if(!_0x1ff223||_0xb4a616===defaultPresentation)throw _0x544c0b;_0x2f1d71=await defaultPresentation[_0x38570b(0xf7)](_0x9c0e42);}return{'operation':_0x3c667c,'risk':_0x3098b7[_0x38570b(0xf1)],'mode':_0x276e86?_0x38570b(0xeb):_0x38570b(0xea),'result':_0x3098b7[_0x38570b(0xf6)],'output':_0x2f1d71,..._0x1ff223?{'metadata':_0x1ff223}:{}};}finally{await finalizeRabetbaseRuntimeState();}});}async function confirmWriteBeforeQueue(_0x1ee92a,_0x4c27df,_0xe598c5,_0x479a0){const _0x22ceca=a257_0xa096;if(_0x4c27df[_0x22ceca(0xf4)]===!![]||_0x1ee92a[_0x22ceca(0xf1)]!==_0x22ceca(0x101)&&_0x1ee92a[_0x22ceca(0xf1)]!=='high-risk-write')return;await _0x479a0[_0x22ceca(0xee)][_0x22ceca(0xf8)](buildRabetbaseConfirmationRequest(_0x1ee92a,_0xe598c5,_0x479a0[_0x22ceca(0x105)]));}function withAbortSignal(_0x1e84fe,_0x23f90a){return{..._0x1e84fe,async 'execute'(_0x5261bd){return throwIfAborted(_0x23f90a),_0x1e84fe['execute'](_0x5261bd);}};}function throwIfAborted(_0x53793b){const _0x16ddda=a257_0xa096;if(_0x53793b?.[_0x16ddda(0xec)])throw _0x53793b['reason']instanceof Error?_0x53793b['reason']:new DOMException('Rabetbase\x20invocation\x20aborted.',_0x16ddda(0x104));}
1
+ function a257_0x3974(){const _0x3e9361=['60xVhzph','rawFlags','confirm','Rabetbase\x20invocation\x20completed\x20without\x20a\x20captured\x20command\x20result.','dryRun','AbortError','aborted','542160mwtxsE','1534761Ydhqdc','risk','result','10hLeklf','execute','68020uHciGa','message','definition','4864908aHrhtZ','Embedded\x20Rabetbase\x20confirmation\x20must\x20run\x20before\x20the\x20execution\x20queue.','9544NJilVk','5138tOUzKn','command','11ejWmmI','write','reason','data','riskLevel','isNonInteractive','962756fKWkbf','high-risk-write','3LZSqeN','340018eAAgxY','dry-run','present','confirmation','signal','yes','args','format','Rabetbase\x20invocation\x20aborted.'];a257_0x3974=function(){return _0x3e9361;};return a257_0x3974();}(function(_0x29a4b4,_0x143952){const _0x502089=a257_0x3c55,_0x28f859=_0x29a4b4();while(!![]){try{const _0x38d420=-parseInt(_0x502089(0x80))/0x1+-parseInt(_0x502089(0x97))/0x2*(-parseInt(_0x502089(0x96))/0x3)+parseInt(_0x502089(0x94))/0x4+-parseInt(_0x502089(0x86))/0x5*(-parseInt(_0x502089(0x79))/0x6)+parseInt(_0x502089(0x8c))/0x7*(parseInt(_0x502089(0x8b))/0x8)+parseInt(_0x502089(0x81))/0x9*(parseInt(_0x502089(0x84))/0xa)+-parseInt(_0x502089(0x8e))/0xb*(parseInt(_0x502089(0x89))/0xc);if(_0x38d420===_0x143952)break;else _0x28f859['push'](_0x28f859['shift']());}catch(_0x51cdfc){_0x28f859['push'](_0x28f859['shift']());}}}(a257_0x3974,0x9d8f0));function a257_0x3c55(_0x462796,_0x274992){_0x462796=_0x462796-0x72;const _0x3974a1=a257_0x3974();let _0x3c5553=_0x3974a1[_0x462796];return _0x3c5553;}import{buildConfigFromFlags,initGlobalEnvironment}from'../context.js';import{createPipelineEnv,createRabetbaseRunnerAdapter,finalizeRabetbaseRuntimeState,runCommand}from'../framework/runner.js';import{buildRabetbaseConfirmationRequest}from'../runtime/confirmation.js';import{canonicalRabetbaseOperation,createRabetbaseWriteMetadata}from'../runtime/event.js';import{runSerialized}from'../runtime/queue.js';import{resolveRabetbaseInvocation}from'../runtime/resolve.js';const defaultPresentation={'present'({result:_0xd5fad4,command:_0x258ef0,risk:_0x4daa88,dryRun:_0x27ec05}){const _0x7d29af=a257_0x3c55;return JSON['stringify']({'ok':_0xd5fad4['ok'],'command':_0x258ef0,'risk':_0x4daa88,..._0x27ec05?{'dryRun':!![]}:{},..._0xd5fad4[_0x7d29af(0x91)]!==undefined?{'data':_0xd5fad4[_0x7d29af(0x91)]}:{},..._0xd5fad4[_0x7d29af(0x87)]?{'message':_0xd5fad4[_0x7d29af(0x87)]}:{}});}};export async function invokeRabetbase(_0x19569e,_0x50dd3e){const _0x3f5513=a257_0x3c55;throwIfAborted(_0x50dd3e[_0x3f5513(0x74)]);const _0x32e1d2=await resolveRabetbaseInvocation(_0x19569e),_0x3fbb49=canonicalRabetbaseOperation(_0x32e1d2['definition']);return await confirmWriteBeforeQueue(_0x32e1d2[_0x3f5513(0x88)],_0x32e1d2[_0x3f5513(0x7a)],_0x3fbb49,_0x50dd3e),runSerialized(async()=>{const _0x4759db=_0x3f5513,_0x2cc322={};try{throwIfAborted(_0x50dd3e[_0x4759db(0x74)]);const _0x3bb674=buildConfigFromFlags(_0x32e1d2[_0x4759db(0x7a)]);await initGlobalEnvironment(_0x3bb674);const _0xeabd29=createPipelineEnv(_0x3bb674,{..._0x32e1d2['rawFlags'],'yes':_0x32e1d2['definition']['risk']===_0x4759db(0x95)?!![]:_0x32e1d2[_0x4759db(0x7a)][_0x4759db(0x75)],'nonInteractive':!![]},_0x32e1d2[_0x4759db(0x76)]);_0xeabd29[_0x4759db(0x93)]=!![],_0xeabd29[_0x4759db(0x92)]=_0x4759db(0x95);const _0x5406ea=withAbortSignal(_0x32e1d2[_0x4759db(0x88)],_0x50dd3e['signal']),_0x9c0cc7=createRabetbaseRunnerAdapter({'formatOutput'(_0x35c7cb,_0x2af478){const _0x173dcb=_0x4759db;_0x2cc322[_0x173dcb(0x83)]=_0x35c7cb,_0x2cc322[_0x173dcb(0x8d)]=_0x2af478[_0x173dcb(0x8d)],_0x2cc322[_0x173dcb(0x82)]=_0x2af478[_0x173dcb(0x82)],_0x2cc322['format']=_0x2af478[_0x173dcb(0x77)],_0x2cc322[_0x173dcb(0x7d)]=_0x2af478[_0x173dcb(0x7d)]===!![];},async 'confirmHighRisk'(){const _0x41cbd4=_0x4759db;throw new Error(_0x41cbd4(0x8a));}});await runCommand(_0x5406ea,_0xeabd29,_0x9c0cc7);if(!_0x2cc322[_0x4759db(0x83)]||!_0x2cc322[_0x4759db(0x8d)]||!_0x2cc322[_0x4759db(0x82)]||!_0x2cc322[_0x4759db(0x77)])throw new Error(_0x4759db(0x7c));const _0x1eb6ed=_0x2cc322['dryRun']===!![],_0x3ebcab=_0x50dd3e['presentation']??defaultPresentation,_0x27c354={'result':_0x2cc322[_0x4759db(0x83)],'command':_0x2cc322[_0x4759db(0x8d)],'operation':_0x3fbb49,'risk':_0x2cc322[_0x4759db(0x82)],'format':_0x2cc322[_0x4759db(0x77)],'dryRun':_0x1eb6ed},_0x152436=createRabetbaseWriteMetadata(_0x32e1d2['definition'],_0x3fbb49,_0x2cc322[_0x4759db(0x83)],_0x1eb6ed);let _0x54652e;try{_0x54652e=await _0x3ebcab[_0x4759db(0x72)](_0x27c354);}catch(_0x5469c0){if(!_0x152436||_0x3ebcab===defaultPresentation)throw _0x5469c0;_0x54652e=await defaultPresentation['present'](_0x27c354);}return{'operation':_0x3fbb49,'risk':_0x2cc322[_0x4759db(0x82)],'mode':_0x1eb6ed?_0x4759db(0x98):_0x4759db(0x85),'result':_0x2cc322[_0x4759db(0x83)],'output':_0x54652e,..._0x152436?{'metadata':_0x152436}:{}};}finally{await finalizeRabetbaseRuntimeState();}});}async function confirmWriteBeforeQueue(_0x32ab1e,_0x2f886c,_0x37ad62,_0x1ead5c){const _0x196003=a257_0x3c55;if(_0x2f886c[_0x196003(0x7d)]===!![]||_0x32ab1e['risk']!==_0x196003(0x8f)&&_0x32ab1e[_0x196003(0x82)]!==_0x196003(0x95))return;await _0x1ead5c[_0x196003(0x73)][_0x196003(0x7b)](buildRabetbaseConfirmationRequest(_0x32ab1e,_0x37ad62,_0x1ead5c[_0x196003(0x74)]));}function withAbortSignal(_0x2daf2d,_0x392f71){return{..._0x2daf2d,async 'execute'(_0x30de65){const _0x5c178e=a257_0x3c55;return throwIfAborted(_0x392f71),_0x2daf2d[_0x5c178e(0x85)](_0x30de65);}};}function throwIfAborted(_0x500cb2){const _0xf790ff=a257_0x3c55;if(_0x500cb2?.[_0xf790ff(0x7f)])throw _0x500cb2[_0xf790ff(0x90)]instanceof Error?_0x500cb2['reason']:new DOMException(_0xf790ff(0x78),_0xf790ff(0x7e));}
@@ -1 +1 @@
1
- const a258_0x2e911a=a258_0x6980;(function(_0x3e63da,_0x2a7554){const _0x1b9b91=a258_0x6980,_0x1be6fc=_0x3e63da();while(!![]){try{const _0x58591c=parseInt(_0x1b9b91(0x133))/0x1*(parseInt(_0x1b9b91(0x132))/0x2)+-parseInt(_0x1b9b91(0x134))/0x3+-parseInt(_0x1b9b91(0x135))/0x4*(parseInt(_0x1b9b91(0x12d))/0x5)+parseInt(_0x1b9b91(0x12f))/0x6+parseInt(_0x1b9b91(0x130))/0x7+parseInt(_0x1b9b91(0x131))/0x8+parseInt(_0x1b9b91(0x12c))/0x9*(-parseInt(_0x1b9b91(0x136))/0xa);if(_0x58591c===_0x2a7554)break;else _0x1be6fc['push'](_0x1be6fc['shift']());}catch(_0x33e96b){_0x1be6fc['push'](_0x1be6fc['shift']());}}}(a258_0x48ac,0x752b3));let tail=Promise[a258_0x2e911a(0x12e)]();function a258_0x6980(_0x359094,_0x389b2f){_0x359094=_0x359094-0x12c;const _0x48ac84=a258_0x48ac();let _0x698050=_0x48ac84[_0x359094];return _0x698050;}function a258_0x48ac(){const _0x303241=['3312936Qbzgbb','484ejIgPI','2507oHLQPU','1841145yxutvy','21548CXByFw','40WnLTAM','catch','1745262noBcKQ','730fEHovX','resolve','4504248xCWYcM','6190051xiWyrW'];a258_0x48ac=function(){return _0x303241;};return a258_0x48ac();}export async function runSerialized(_0x5415c8){const _0x29da73=a258_0x2e911a,_0x97a8b2=tail;let _0x1a0aef;tail=new Promise(_0x4b810d=>{_0x1a0aef=_0x4b810d;}),await _0x97a8b2[_0x29da73(0x137)](()=>undefined);try{return await _0x5415c8();}finally{_0x1a0aef();}}
1
+ const a258_0x3c3c1a=a258_0x4422;function a258_0x44ce(){const _0x3f38b3=['276fSBzGu','2424cLZUMe','27leIVLc','15PzWaRW','4lTHUiZ','117447khjCgH','2833080yUbwih','78395PWAmWr','1247214WuxOlu','resolve','21QMHcGE','266156ThgWfV','19411rpbxGk','6711783KymLLz'];a258_0x44ce=function(){return _0x3f38b3;};return a258_0x44ce();}(function(_0xe8b4aa,_0x2846ea){const _0x39ba53=a258_0x4422,_0x3554ea=_0xe8b4aa();while(!![]){try{const _0x487cae=parseInt(_0x39ba53(0x1ee))/0x1*(-parseInt(_0x39ba53(0x1eb))/0x2)+parseInt(_0x39ba53(0x1f1))/0x3*(parseInt(_0x39ba53(0x1f2))/0x4)+-parseInt(_0x39ba53(0x1ea))/0x5*(parseInt(_0x39ba53(0x1ef))/0x6)+parseInt(_0x39ba53(0x1f3))/0x7*(-parseInt(_0x39ba53(0x1e8))/0x8)+-parseInt(_0x39ba53(0x1e9))/0x9*(-parseInt(_0x39ba53(0x1ed))/0xa)+parseInt(_0x39ba53(0x1ec))/0xb*(parseInt(_0x39ba53(0x1e7))/0xc)+parseInt(_0x39ba53(0x1f4))/0xd;if(_0x487cae===_0x2846ea)break;else _0x3554ea['push'](_0x3554ea['shift']());}catch(_0x21aed8){_0x3554ea['push'](_0x3554ea['shift']());}}}(a258_0x44ce,0x6f8ef));let tail=Promise[a258_0x3c3c1a(0x1f0)]();function a258_0x4422(_0x5b6081,_0xbac1f7){_0x5b6081=_0x5b6081-0x1e7;const _0x44ce9d=a258_0x44ce();let _0x442243=_0x44ce9d[_0x5b6081];return _0x442243;}export async function runSerialized(_0x642655){const _0x3f05ea=tail;let _0x9dff9f;tail=new Promise(_0x700d5d=>{_0x9dff9f=_0x700d5d;}),await _0x3f05ea['catch'](()=>undefined);try{return await _0x642655();}finally{_0x9dff9f();}}
@@ -1 +1 @@
1
- (function(_0x2e0342,_0x125d7f){const _0x15320b=a259_0x23d6,_0x414f03=_0x2e0342();while(!![]){try{const _0x1fa60a=parseInt(_0x15320b(0x12c))/0x1*(parseInt(_0x15320b(0x11d))/0x2)+-parseInt(_0x15320b(0x11b))/0x3*(-parseInt(_0x15320b(0x128))/0x4)+parseInt(_0x15320b(0x121))/0x5*(-parseInt(_0x15320b(0x119))/0x6)+parseInt(_0x15320b(0x115))/0x7*(-parseInt(_0x15320b(0x127))/0x8)+parseInt(_0x15320b(0x129))/0x9+-parseInt(_0x15320b(0x11c))/0xa*(-parseInt(_0x15320b(0x122))/0xb)+parseInt(_0x15320b(0x125))/0xc*(-parseInt(_0x15320b(0x124))/0xd);if(_0x1fa60a===_0x125d7f)break;else _0x414f03['push'](_0x414f03['shift']());}catch(_0x3fe27c){_0x414f03['push'](_0x414f03['shift']());}}}(a259_0x4392,0xe863f));import a259_0x32c3cb from'meow';import{findDefinition,getServiceEntry,isKnownService,resolveRemovedCommand}from'../commands/registry.js';function a259_0x23d6(_0x12b851,_0x467d8f){_0x12b851=_0x12b851-0x115;const _0x439271=a259_0x4392();let _0x23d6ab=_0x439271[_0x12b851];return _0x23d6ab;}import{buildMeowFlags}from'../constant/cli.js';import{CliErrors}from'../errors.js';function a259_0x4392(){const _0x5531c7=['3vqFYCu','6330taIiDV','6CjyarI','input','`rabetbase\x20run`\x20is\x20unavailable\x20through\x20the\x20embedded\x20runtime\x20because\x20it\x20executes\x20arbitrary\x20package\x20scripts.','hint','4417005BlaxOs','20515kfgDXc','join','117OJqLjE','2044092GpTLzs','message','8006648ZhnoBu','2100976vxWGAI','11500875rCXolT','Rabetbase\x20argv\x20must\x20include\x20a\x20service\x20and\x20command.','Use\x20an\x20explicit\x20shell\x20tool\x20only\x20when\x20script\x20execution\x20is\x20intentionally\x20requested.','461836SVeFPh','flags','7JBehaO','wildcardDef','validation','run','6JLhMDm','slice'];a259_0x4392=function(){return _0x5531c7;};return a259_0x4392();}export async function resolveRabetbaseInvocation(_0x2cc09d){const _0x1f8505=a259_0x23d6,_0x5f3760=a259_0x32c3cb('',{'importMeta':import.meta,'argv':[..._0x2cc09d],'flags':buildMeowFlags(),'autoHelp':![],'autoVersion':![]}),_0x4be6ef=[..._0x5f3760[_0x1f8505(0x11e)]],_0x1b96dc=_0x5f3760[_0x1f8505(0x12d)],_0x41d9da=_0x4be6ef[0x0];if(!_0x41d9da)throw CliErrors['validation'](_0x1f8505(0x12a));const _0x144bbf=resolveRemovedCommand(_0x41d9da,_0x4be6ef[0x1]);if(_0x144bbf)throw CliErrors[_0x1f8505(0x117)](_0x144bbf[_0x1f8505(0x126)],_0x144bbf[_0x1f8505(0x120)]);if(_0x41d9da===_0x1f8505(0x118))throw CliErrors['validation'](_0x1f8505(0x11f),_0x1f8505(0x12b));if(!isKnownService(_0x41d9da))throw CliErrors['unknownCommand'](_0x4be6ef[_0x1f8505(0x123)]('\x20'));const _0x3e1afd=getServiceEntry(_0x41d9da),_0x1ab5bc=_0x4be6ef[0x1],_0x5c57d3=_0x1ab5bc||_0x3e1afd['defaultCommand'];if(!_0x5c57d3){if(_0x3e1afd[_0x1f8505(0x116)])return{'definition':_0x3e1afd[_0x1f8505(0x116)],'rawFlags':_0x1b96dc,'args':[]};throw CliErrors[_0x1f8505(0x117)]('Rabetbase\x20argv\x20must\x20include\x20a\x20command\x20for\x20service\x20\x22'+_0x41d9da+'\x22.');}const _0x2d000d=findDefinition(_0x41d9da,_0x5c57d3);if(_0x2d000d)return{'definition':_0x2d000d,'rawFlags':_0x1b96dc,'args':_0x4be6ef[_0x1f8505(0x11a)](0x2)};if(_0x3e1afd[_0x1f8505(0x116)])return{'definition':_0x3e1afd[_0x1f8505(0x116)],'rawFlags':_0x1b96dc,'args':[_0x5c57d3,..._0x4be6ef[_0x1f8505(0x11a)](0x2)]};throw CliErrors['unknownCommand'](_0x41d9da+'\x20'+_0x5c57d3);}
1
+ function a259_0xf866(_0x31d10c,_0x5f1a62){_0x31d10c=_0x31d10c-0xe3;const _0x5c9c0f=a259_0x5c9c();let _0xf86694=_0x5c9c0f[_0x31d10c];return _0xf86694;}(function(_0x7d46bf,_0x43b4d5){const _0x27a136=a259_0xf866,_0x53f4e3=_0x7d46bf();while(!![]){try{const _0x50a8f7=-parseInt(_0x27a136(0xe7))/0x1*(parseInt(_0x27a136(0xe8))/0x2)+parseInt(_0x27a136(0xfd))/0x3*(parseInt(_0x27a136(0xfb))/0x4)+-parseInt(_0x27a136(0xf6))/0x5*(-parseInt(_0x27a136(0xfe))/0x6)+parseInt(_0x27a136(0xef))/0x7*(-parseInt(_0x27a136(0xfc))/0x8)+-parseInt(_0x27a136(0xf5))/0x9*(parseInt(_0x27a136(0xf8))/0xa)+parseInt(_0x27a136(0xec))/0xb*(parseInt(_0x27a136(0xf2))/0xc)+-parseInt(_0x27a136(0xf1))/0xd*(parseInt(_0x27a136(0xf3))/0xe);if(_0x50a8f7===_0x43b4d5)break;else _0x53f4e3['push'](_0x53f4e3['shift']());}catch(_0x393a0e){_0x53f4e3['push'](_0x53f4e3['shift']());}}}(a259_0x5c9c,0x75a59));import a259_0x1e47bd from'meow';import{findDefinition,getServiceEntry,isKnownService,resolveRemovedCommand}from'../commands/registry.js';function a259_0x5c9c(){const _0x22c3f9=['flags','wildcardDef','unknownCommand','188639eGLoMq','join','Rabetbase\x20argv\x20must\x20include\x20a\x20service\x20and\x20command.','14pDVYGX','Use\x20an\x20explicit\x20shell\x20tool\x20only\x20when\x20script\x20execution\x20is\x20intentionally\x20requested.','41548fAIVnH','432hFWGZj','28YpQIpw','hint','33102VsxxSP','3701350CFRRqH','run','200ndpPRa','defaultCommand','slice','4xvVOXf','1911680anONtb','148737NAreZq','6cEIBjH','validation','Rabetbase\x20argv\x20must\x20include\x20a\x20command\x20for\x20service\x20\x22','`rabetbase\x20run`\x20is\x20unavailable\x20through\x20the\x20embedded\x20runtime\x20because\x20it\x20executes\x20arbitrary\x20package\x20scripts.','message','967DNWywf','760NFqdsT'];a259_0x5c9c=function(){return _0x22c3f9;};return a259_0x5c9c();}import{buildMeowFlags}from'../constant/cli.js';import{CliErrors}from'../errors.js';export async function resolveRabetbaseInvocation(_0x326dfd){const _0x2cbfeb=a259_0xf866,_0x58ee93=a259_0x1e47bd('',{'importMeta':import.meta,'argv':[..._0x326dfd],'flags':buildMeowFlags(),'autoHelp':![],'autoVersion':![]}),_0x2a436f=[..._0x58ee93['input']],_0x407ca4=_0x58ee93[_0x2cbfeb(0xe9)],_0x5f0beb=_0x2a436f[0x0];if(!_0x5f0beb)throw CliErrors[_0x2cbfeb(0xe3)](_0x2cbfeb(0xee));const _0xb62936=resolveRemovedCommand(_0x5f0beb,_0x2a436f[0x1]);if(_0xb62936)throw CliErrors['validation'](_0xb62936[_0x2cbfeb(0xe6)],_0xb62936[_0x2cbfeb(0xf4)]);if(_0x5f0beb===_0x2cbfeb(0xf7))throw CliErrors['validation'](_0x2cbfeb(0xe5),_0x2cbfeb(0xf0));if(!isKnownService(_0x5f0beb))throw CliErrors[_0x2cbfeb(0xeb)](_0x2a436f[_0x2cbfeb(0xed)]('\x20'));const _0x1fb4b0=getServiceEntry(_0x5f0beb),_0x3d8b99=_0x2a436f[0x1],_0x57627c=_0x3d8b99||_0x1fb4b0[_0x2cbfeb(0xf9)];if(!_0x57627c){if(_0x1fb4b0['wildcardDef'])return{'definition':_0x1fb4b0[_0x2cbfeb(0xea)],'rawFlags':_0x407ca4,'args':[]};throw CliErrors[_0x2cbfeb(0xe3)](_0x2cbfeb(0xe4)+_0x5f0beb+'\x22.');}const _0x5375bd=findDefinition(_0x5f0beb,_0x57627c);if(_0x5375bd)return{'definition':_0x5375bd,'rawFlags':_0x407ca4,'args':_0x2a436f[_0x2cbfeb(0xfa)](0x2)};if(_0x1fb4b0[_0x2cbfeb(0xea)])return{'definition':_0x1fb4b0[_0x2cbfeb(0xea)],'rawFlags':_0x407ca4,'args':[_0x57627c,..._0x2a436f[_0x2cbfeb(0xfa)](0x2)]};throw CliErrors[_0x2cbfeb(0xeb)](_0x5f0beb+'\x20'+_0x57627c);}
@@ -1 +1 @@
1
- const a261_0x5db183=a261_0x2345;function a261_0x2345(_0x30ab6b,_0x4d367d){_0x30ab6b=_0x30ab6b-0x120;const _0x337114=a261_0x3371();let _0x2345bb=_0x337114[_0x30ab6b];return _0x2345bb;}(function(_0x54876b,_0x22996e){const _0x45de8a=a261_0x2345,_0x4f9051=_0x54876b();while(!![]){try{const _0x57db70=-parseInt(_0x45de8a(0x140))/0x1*(parseInt(_0x45de8a(0x13a))/0x2)+parseInt(_0x45de8a(0x142))/0x3+-parseInt(_0x45de8a(0x129))/0x4*(-parseInt(_0x45de8a(0x158))/0x5)+-parseInt(_0x45de8a(0x15a))/0x6*(parseInt(_0x45de8a(0x138))/0x7)+parseInt(_0x45de8a(0x152))/0x8*(-parseInt(_0x45de8a(0x159))/0x9)+parseInt(_0x45de8a(0x13d))/0xa+-parseInt(_0x45de8a(0x153))/0xb*(parseInt(_0x45de8a(0x121))/0xc);if(_0x57db70===_0x22996e)break;else _0x4f9051['push'](_0x4f9051['shift']());}catch(_0x5a9d8f){_0x4f9051['push'](_0x4f9051['shift']());}}}(a261_0x3371,0xcd277));import{createHash}from'node:crypto';import{lstatSync,readFileSync,readdirSync}from'node:fs';import{homedir}from'node:os';import{dirname,join,relative,resolve,sep}from'node:path';import{fileURLToPath}from'node:url';import{runNpxSkillsAddGlobal}from'../skills/npx-skills-add.js';import{resolveInstalledSkill}from'../skills/skill-presence.js';const DEFAULT_PACKAGE_ROOT=resolve(dirname(fileURLToPath(import.meta.url)),'..','..'),REPAIR_COMMAND=a261_0x5db183(0x15f),SKILL_NAME=a261_0x5db183(0x139);function frontmatterValue(_0x24f3ce,_0x5c8fd4){const _0x5dac4e=a261_0x5db183;return _0x24f3ce[_0x5dac4e(0x124)](new RegExp('^'+_0x5c8fd4+_0x5dac4e(0x150),'m'))?.[0x1]?.['trim']()??'';}function listFiles(_0x203785,_0x2b768e=_0x203785){const _0x166c45=a261_0x5db183;return readdirSync(_0x2b768e,{'withFileTypes':!![]})[_0x166c45(0x130)](_0x189780=>{const _0x121ea9=_0x166c45,_0x24ca5e=join(_0x2b768e,_0x189780[_0x121ea9(0x12d)]),_0x55940c=lstatSync(_0x24ca5e);if(_0x55940c[_0x121ea9(0x147)]())throw new Error(_0x121ea9(0x14c)+_0x24ca5e);if(_0x55940c['isDirectory']())return listFiles(_0x203785,_0x24ca5e);if(!_0x55940c[_0x121ea9(0x133)]())throw new Error(_0x121ea9(0x134)+_0x24ca5e);return[relative(_0x203785,_0x24ca5e)[_0x121ea9(0x136)](sep)[_0x121ea9(0x15b)]('/')];})[_0x166c45(0x14b)]((_0x3a43ba,_0x2e1e80)=>_0x3a43ba<_0x2e1e80?-0x1:_0x3a43ba>_0x2e1e80?0x1:0x0);}function digestFiles(_0x218243,_0x73b7bd){const _0x3ea5b6=a261_0x5db183,_0x47beb4=createHash('sha256');for(const _0x4664d9 of _0x73b7bd){if(_0x4664d9[_0x3ea5b6(0x151)]('/')||_0x4664d9['split']('/')[_0x3ea5b6(0x15c)]('..')||_0x4664d9[_0x3ea5b6(0x15c)]('\x5c'))throw new Error(_0x3ea5b6(0x13f)+_0x4664d9);_0x47beb4[_0x3ea5b6(0x161)](_0x4664d9),_0x47beb4[_0x3ea5b6(0x161)]('\x00'),_0x47beb4[_0x3ea5b6(0x161)](readFileSync(join(_0x218243,..._0x4664d9[_0x3ea5b6(0x136)]('/')))),_0x47beb4[_0x3ea5b6(0x161)]('\x00');}return _0x47beb4['digest'](_0x3ea5b6(0x160));}function a261_0x3371(){const _0x43696e=['path','message','schemaVersion','5400vAdPbL','manifest','version','match','unknown','pipe','digest','error','1377276pHeunE','files','absent','reason','name','every','Built-in\x20Skill\x20source\x20does\x20not\x20match\x20its\x20package\x20manifest','flatMap','installedPath','packageRoot','isFile','Unsupported\x20Skill\x20entry:\x20','length','split','unverifiable','68978xnsDfB','rabetbase','34yFJlgp','state','parse','14849090eQbcFJ','root','Unsafe\x20manifest\x20path:\x20','54437nWzglL','skillVersion','3152133KSFCLO','stdio','present','skills@latest\x20exited\x20','SKILL.md','isSymbolicLink','version_mismatch','utf8','rabetbase.manifest.json','sort','Symbolic\x20link\x20is\x20not\x20allowed:\x20','home','current','status',':\x5cs*(.+)$','startsWith','8lhmlvW','7359MeuKnz','skills','INSTALL_FAILED','SOURCE_INVALID','skipped','15PBlJin','3849309PYcVns','654vLnbPN','join','includes','missing','packageVersion','rabetbase\x20cli-skill\x20install','hex','update'];a261_0x3371=function(){return _0x43696e;};return a261_0x3371();}function sameFiles(_0x1d8704,_0x3b9ec3){const _0x34746c=a261_0x5db183;return _0x1d8704[_0x34746c(0x135)]===_0x3b9ec3[_0x34746c(0x135)]&&_0x1d8704[_0x34746c(0x12e)]((_0x435b66,_0x390057)=>_0x435b66===_0x3b9ec3[_0x390057]);}function readSource(_0x30db36){const _0x58d353=a261_0x5db183,_0xe5418d=JSON[_0x58d353(0x13c)](readFileSync(join(_0x30db36,'package.json'),_0x58d353(0x149))),_0x1eb18a=JSON['parse'](readFileSync(join(_0x30db36,'skills',_0x58d353(0x14a)),_0x58d353(0x149))),_0xc5a821=join(_0x30db36,_0x58d353(0x154),SKILL_NAME),_0x3d93c1=frontmatterValue(readFileSync(join(_0xc5a821,_0x58d353(0x146)),_0x58d353(0x149)),_0x58d353(0x123)),_0x13131b=listFiles(_0xc5a821);if(_0x1eb18a[_0x58d353(0x120)]!==0x1||_0x1eb18a[_0x58d353(0x12d)]!==SKILL_NAME||!_0xe5418d[_0x58d353(0x123)]||_0x1eb18a[_0x58d353(0x15e)]!==_0xe5418d[_0x58d353(0x123)]||_0x1eb18a[_0x58d353(0x141)]!==_0xe5418d['version']||_0x3d93c1!==_0xe5418d[_0x58d353(0x123)]||!sameFiles(_0x13131b,_0x1eb18a[_0x58d353(0x12a)])||digestFiles(_0xc5a821,_0x13131b)!==_0x1eb18a[_0x58d353(0x127)])throw new Error(_0x58d353(0x12f));return{'packageVersion':_0xe5418d['version'],'skillVersion':_0x3d93c1,'root':_0xc5a821,'manifest':_0x1eb18a};}function installedSkillPath(_0x309bad){const _0x3a3c1d=a261_0x5db183,_0x75fa71=resolveInstalledSkill(SKILL_NAME,{'home':_0x309bad});if(_0x75fa71[_0x3a3c1d(0x13b)]===_0x3a3c1d(0x144))return{'state':_0x3a3c1d(0x144),'path':dirname(_0x75fa71[_0x3a3c1d(0x162)])};if(_0x75fa71[_0x3a3c1d(0x13b)]===_0x3a3c1d(0x12b))return{'state':_0x3a3c1d(0x15d)};return{'state':_0x3a3c1d(0x137),'reason':_0x75fa71[_0x3a3c1d(0x12c)]};}export function inspectInstalledBuiltinSkillVersion(_0x530353,_0x2c33c4={}){const _0x22d3f2=a261_0x5db183,_0x4653e9=installedSkillPath(_0x2c33c4[_0x22d3f2(0x14d)]??homedir());if(_0x4653e9[_0x22d3f2(0x13b)]===_0x22d3f2(0x15d))return{'state':_0x22d3f2(0x15d),'expectedVersion':_0x530353,'repairCommand':REPAIR_COMMAND};if(_0x4653e9[_0x22d3f2(0x13b)]===_0x22d3f2(0x137))return{'state':_0x22d3f2(0x137),'expectedVersion':_0x530353,'reason':_0x4653e9[_0x22d3f2(0x12c)],'repairCommand':REPAIR_COMMAND};try{const _0x4cb617=frontmatterValue(readFileSync(join(_0x4653e9[_0x22d3f2(0x162)],_0x22d3f2(0x146)),_0x22d3f2(0x149)),_0x22d3f2(0x123));return{'state':_0x4cb617===_0x530353?_0x22d3f2(0x14e):'version_mismatch','expectedVersion':_0x530353,'skillVersion':_0x4cb617,'installedPath':_0x4653e9[_0x22d3f2(0x162)],'repairCommand':REPAIR_COMMAND};}catch(_0xafd1c1){return{'state':'unverifiable','expectedVersion':_0x530353,'installedPath':_0x4653e9['path'],'reason':_0xafd1c1 instanceof Error?_0xafd1c1['message']:String(_0xafd1c1),'repairCommand':REPAIR_COMMAND};}}export function inspectBuiltinSkill(_0x22e13f={}){const _0x2e273a=a261_0x5db183,_0x1ff509=_0x22e13f[_0x2e273a(0x132)]??DEFAULT_PACKAGE_ROOT;let _0x5c14db;try{_0x5c14db=readSource(_0x1ff509);}catch(_0x4b3bf4){return{'state':'unverifiable','packageVersion':_0x2e273a(0x125),'reason':_0x4b3bf4 instanceof Error?_0x4b3bf4[_0x2e273a(0x163)]:String(_0x4b3bf4),'repairCommand':REPAIR_COMMAND};}const _0x1cb508=installedSkillPath(_0x22e13f[_0x2e273a(0x14d)]??homedir());if(_0x1cb508[_0x2e273a(0x13b)]==='missing')return{'state':_0x2e273a(0x15d),'packageVersion':_0x5c14db[_0x2e273a(0x15e)],'repairCommand':REPAIR_COMMAND};if(_0x1cb508[_0x2e273a(0x13b)]==='unverifiable')return{'state':_0x2e273a(0x137),'packageVersion':_0x5c14db['packageVersion'],'reason':_0x1cb508[_0x2e273a(0x12c)],'repairCommand':REPAIR_COMMAND};try{const _0x2e3af1=frontmatterValue(readFileSync(join(_0x1cb508[_0x2e273a(0x162)],'SKILL.md'),_0x2e273a(0x149)),'version');if(_0x2e3af1!==_0x5c14db[_0x2e273a(0x141)])return{'state':_0x2e273a(0x148),'packageVersion':_0x5c14db[_0x2e273a(0x15e)],'skillVersion':_0x2e3af1,'installedPath':_0x1cb508[_0x2e273a(0x162)],'repairCommand':REPAIR_COMMAND};const _0x56e784=listFiles(_0x1cb508[_0x2e273a(0x162)]),_0x32c3af=digestFiles(_0x1cb508['path'],_0x56e784);return{'state':sameFiles(_0x56e784,_0x5c14db[_0x2e273a(0x122)][_0x2e273a(0x12a)])&&_0x32c3af===_0x5c14db['manifest'][_0x2e273a(0x127)]?_0x2e273a(0x14e):'content_mismatch','packageVersion':_0x5c14db[_0x2e273a(0x15e)],'skillVersion':_0x2e3af1,'installedPath':_0x1cb508[_0x2e273a(0x162)],'digest':_0x32c3af,'repairCommand':REPAIR_COMMAND};}catch(_0x1bb064){return{'state':_0x2e273a(0x137),'packageVersion':_0x5c14db[_0x2e273a(0x15e)],'installedPath':_0x1cb508[_0x2e273a(0x162)],'reason':_0x1bb064 instanceof Error?_0x1bb064[_0x2e273a(0x163)]:String(_0x1bb064),'repairCommand':REPAIR_COMMAND};}}function failure(_0x5f238d,_0xe760e9,_0x322f0f,_0x2ba205){const _0x7cd544=a261_0x5db183;return{'ok':![],'code':_0x5f238d,'packageVersion':_0xe760e9[_0x7cd544(0x15e)],'skillVersion':_0xe760e9[_0x7cd544(0x141)],'installedPath':_0x2ba205,'changed':![],'repairCommand':REPAIR_COMMAND,'error':_0x322f0f instanceof Error?_0x322f0f[_0x7cd544(0x163)]:String(_0x322f0f)};}export function installBuiltinSkill(_0x44cd12={}){const _0x22e23d=a261_0x5db183,_0x598c7e=_0x44cd12[_0x22e23d(0x132)]??DEFAULT_PACKAGE_ROOT,_0x412e73=_0x44cd12[_0x22e23d(0x14d)]??homedir();let _0x2c3b55;try{_0x2c3b55=readSource(_0x598c7e);}catch(_0x495ba7){return failure(_0x22e23d(0x156),{'packageVersion':_0x22e23d(0x125),'skillVersion':'unknown'},_0x495ba7);}const _0x4dfdeb=inspectBuiltinSkill({'packageRoot':_0x598c7e,'home':_0x412e73}),_0x52a0b3=runNpxSkillsAddGlobal(_0x598c7e,_0x2c3b55[_0x22e23d(0x13e)],{'stdio':_0x44cd12[_0x22e23d(0x143)]??_0x22e23d(0x126),'expectedSkillName':SKILL_NAME,'presence':{'home':_0x412e73}});if(_0x52a0b3[_0x22e23d(0x157)])return{'ok':!![],'packageVersion':_0x2c3b55[_0x22e23d(0x15e)],'skillVersion':_0x2c3b55['skillVersion'],'installedPath':_0x4dfdeb[_0x22e23d(0x131)],'changed':![],'repairCommand':REPAIR_COMMAND};if(!_0x52a0b3['ok'])return failure(_0x22e23d(0x155),_0x2c3b55,_0x52a0b3[_0x22e23d(0x128)]??_0x22e23d(0x145)+_0x52a0b3[_0x22e23d(0x14f)]);const _0x583871=inspectBuiltinSkill({'packageRoot':_0x598c7e,'home':_0x412e73});if(_0x583871[_0x22e23d(0x13b)]!==_0x22e23d(0x14e))return failure('VERIFY_FAILED',_0x2c3b55,_0x583871[_0x22e23d(0x12c)]??'Installed\x20Skill\x20state\x20is\x20'+_0x583871[_0x22e23d(0x13b)],_0x583871[_0x22e23d(0x131)]);return{'ok':!![],'packageVersion':_0x2c3b55[_0x22e23d(0x15e)],'skillVersion':_0x2c3b55[_0x22e23d(0x141)],'installedPath':_0x583871[_0x22e23d(0x131)],'changed':_0x4dfdeb[_0x22e23d(0x13b)]!==_0x22e23d(0x14e),'repairCommand':REPAIR_COMMAND};}
1
+ const a261_0x550d97=a261_0x164c;(function(_0x2920c6,_0x16b772){const _0x2c0561=a261_0x164c,_0x3e3842=_0x2920c6();while(!![]){try{const _0x2a4856=-parseInt(_0x2c0561(0xa8))/0x1+-parseInt(_0x2c0561(0xa7))/0x2*(parseInt(_0x2c0561(0xaf))/0x3)+-parseInt(_0x2c0561(0x9f))/0x4*(-parseInt(_0x2c0561(0xb8))/0x5)+parseInt(_0x2c0561(0xaa))/0x6+-parseInt(_0x2c0561(0xa6))/0x7+parseInt(_0x2c0561(0x9d))/0x8*(-parseInt(_0x2c0561(0xb7))/0x9)+parseInt(_0x2c0561(0xba))/0xa*(parseInt(_0x2c0561(0x8b))/0xb);if(_0x2a4856===_0x16b772)break;else _0x3e3842['push'](_0x3e3842['shift']());}catch(_0x21a5c4){_0x3e3842['push'](_0x3e3842['shift']());}}}(a261_0x443e,0x81cd3));import{createHash}from'node:crypto';import{lstatSync,readFileSync,readdirSync}from'node:fs';import{homedir}from'node:os';import{dirname,join,relative,resolve,sep}from'node:path';import{fileURLToPath}from'node:url';import{runNpxSkillsAddGlobal}from'../skills/npx-skills-add.js';import{resolveInstalledSkill}from'../skills/skill-presence.js';const DEFAULT_PACKAGE_ROOT=resolve(dirname(fileURLToPath(import.meta.url)),'..','..'),REPAIR_COMMAND=a261_0x550d97(0x95),SKILL_NAME=a261_0x550d97(0x9c);function a261_0x443e(){const _0x68edeb=['unverifiable','current','VERIFY_FAILED','flatMap','absent','skipped','length','packageVersion','error','skills','state','startsWith','214379YEVrbZ','skills@latest\x20exited\x20','present','installedPath','home','includes','split','name','schemaVersion','package.json','rabetbase\x20cli-skill\x20install','packageRoot','root',':\x5cs*(.+)$','skillVersion','Symbolic\x20link\x20is\x20not\x20allowed:\x20','reason','rabetbase','8FRwOcP','files','52KVTZpG','INSTALL_FAILED','isFile','path','manifest','digest','version_mismatch','3878420UgscVF','7578FQHEOU','560316AtaYrN','hex','342540JaFmRb','parse','utf8','unknown','Installed\x20Skill\x20state\x20is\x20','153RdTFqh','update','Unsafe\x20manifest\x20path:\x20','version','message','missing','sha256','SOURCE_INVALID','5346801fAzxKW','141890MoyXYa','join','1030plnIhr','SKILL.md','sort','trim'];a261_0x443e=function(){return _0x68edeb;};return a261_0x443e();}function frontmatterValue(_0x20ec3b,_0x21a7a1){const _0xcefaf4=a261_0x550d97;return _0x20ec3b['match'](new RegExp('^'+_0x21a7a1+_0xcefaf4(0x98),'m'))?.[0x1]?.[_0xcefaf4(0xbd)]()??'';}function listFiles(_0x3a6ed0,_0x544aa3=_0x3a6ed0){const _0x910995=a261_0x550d97;return readdirSync(_0x544aa3,{'withFileTypes':!![]})[_0x910995(0xc1)](_0x4fe0ac=>{const _0x3874f2=_0x910995,_0x254681=join(_0x544aa3,_0x4fe0ac[_0x3874f2(0x92)]),_0x41b47d=lstatSync(_0x254681);if(_0x41b47d['isSymbolicLink']())throw new Error(_0x3874f2(0x9a)+_0x254681);if(_0x41b47d['isDirectory']())return listFiles(_0x3a6ed0,_0x254681);if(!_0x41b47d[_0x3874f2(0xa1)]())throw new Error('Unsupported\x20Skill\x20entry:\x20'+_0x254681);return[relative(_0x3a6ed0,_0x254681)[_0x3874f2(0x91)](sep)[_0x3874f2(0xb9)]('/')];})[_0x910995(0xbc)]((_0x37beac,_0x504058)=>_0x37beac<_0x504058?-0x1:_0x37beac>_0x504058?0x1:0x0);}function digestFiles(_0x4c324f,_0x5a835d){const _0x45a248=a261_0x550d97,_0x5893f6=createHash(_0x45a248(0xb5));for(const _0x376cc6 of _0x5a835d){if(_0x376cc6[_0x45a248(0xc9)]('/')||_0x376cc6[_0x45a248(0x91)]('/')[_0x45a248(0x90)]('..')||_0x376cc6[_0x45a248(0x90)]('\x5c'))throw new Error(_0x45a248(0xb1)+_0x376cc6);_0x5893f6[_0x45a248(0xb0)](_0x376cc6),_0x5893f6[_0x45a248(0xb0)]('\x00'),_0x5893f6[_0x45a248(0xb0)](readFileSync(join(_0x4c324f,..._0x376cc6['split']('/')))),_0x5893f6['update']('\x00');}return _0x5893f6[_0x45a248(0xa4)](_0x45a248(0xa9));}function a261_0x164c(_0x2230f7,_0x234689){_0x2230f7=_0x2230f7-0x8b;const _0x443ebc=a261_0x443e();let _0x164c1e=_0x443ebc[_0x2230f7];return _0x164c1e;}function sameFiles(_0x22d86b,_0x88068b){const _0x2f6552=a261_0x550d97;return _0x22d86b['length']===_0x88068b[_0x2f6552(0xc4)]&&_0x22d86b['every']((_0x30868d,_0x4fae5b)=>_0x30868d===_0x88068b[_0x4fae5b]);}function readSource(_0x27cb13){const _0x46d5b8=a261_0x550d97,_0xe8abb=JSON[_0x46d5b8(0xab)](readFileSync(join(_0x27cb13,_0x46d5b8(0x94)),_0x46d5b8(0xac))),_0x5cfee6=JSON['parse'](readFileSync(join(_0x27cb13,_0x46d5b8(0xc7),'rabetbase.manifest.json'),_0x46d5b8(0xac))),_0x55041f=join(_0x27cb13,_0x46d5b8(0xc7),SKILL_NAME),_0x2b4e97=frontmatterValue(readFileSync(join(_0x55041f,_0x46d5b8(0xbb)),_0x46d5b8(0xac)),'version'),_0x5456a1=listFiles(_0x55041f);if(_0x5cfee6[_0x46d5b8(0x93)]!==0x1||_0x5cfee6[_0x46d5b8(0x92)]!==SKILL_NAME||!_0xe8abb[_0x46d5b8(0xb2)]||_0x5cfee6[_0x46d5b8(0xc5)]!==_0xe8abb[_0x46d5b8(0xb2)]||_0x5cfee6[_0x46d5b8(0x99)]!==_0xe8abb['version']||_0x2b4e97!==_0xe8abb[_0x46d5b8(0xb2)]||!sameFiles(_0x5456a1,_0x5cfee6[_0x46d5b8(0x9e)])||digestFiles(_0x55041f,_0x5456a1)!==_0x5cfee6['digest'])throw new Error('Built-in\x20Skill\x20source\x20does\x20not\x20match\x20its\x20package\x20manifest');return{'packageVersion':_0xe8abb[_0x46d5b8(0xb2)],'skillVersion':_0x2b4e97,'root':_0x55041f,'manifest':_0x5cfee6};}function installedSkillPath(_0x533276){const _0x1714d8=a261_0x550d97,_0x5d1c74=resolveInstalledSkill(SKILL_NAME,{'home':_0x533276});if(_0x5d1c74[_0x1714d8(0xc8)]===_0x1714d8(0x8d))return{'state':_0x1714d8(0x8d),'path':dirname(_0x5d1c74['path'])};if(_0x5d1c74[_0x1714d8(0xc8)]===_0x1714d8(0xc2))return{'state':_0x1714d8(0xb4)};return{'state':_0x1714d8(0xbe),'reason':_0x5d1c74[_0x1714d8(0x9b)]};}export function inspectInstalledBuiltinSkillVersion(_0x3768b4,_0x4d8906={}){const _0x52255e=a261_0x550d97,_0x49f331=installedSkillPath(_0x4d8906[_0x52255e(0x8f)]??homedir());if(_0x49f331[_0x52255e(0xc8)]===_0x52255e(0xb4))return{'state':_0x52255e(0xb4),'expectedVersion':_0x3768b4,'repairCommand':REPAIR_COMMAND};if(_0x49f331['state']===_0x52255e(0xbe))return{'state':'unverifiable','expectedVersion':_0x3768b4,'reason':_0x49f331[_0x52255e(0x9b)],'repairCommand':REPAIR_COMMAND};try{const _0x5e7575=frontmatterValue(readFileSync(join(_0x49f331['path'],_0x52255e(0xbb)),_0x52255e(0xac)),'version');return{'state':_0x5e7575===_0x3768b4?_0x52255e(0xbf):_0x52255e(0xa5),'expectedVersion':_0x3768b4,'skillVersion':_0x5e7575,'installedPath':_0x49f331[_0x52255e(0xa2)],'repairCommand':REPAIR_COMMAND};}catch(_0x4f8d7f){return{'state':_0x52255e(0xbe),'expectedVersion':_0x3768b4,'installedPath':_0x49f331['path'],'reason':_0x4f8d7f instanceof Error?_0x4f8d7f[_0x52255e(0xb3)]:String(_0x4f8d7f),'repairCommand':REPAIR_COMMAND};}}export function inspectBuiltinSkill(_0x2257cb={}){const _0x1ca4f0=a261_0x550d97,_0x54e2a9=_0x2257cb['packageRoot']??DEFAULT_PACKAGE_ROOT;let _0x33a373;try{_0x33a373=readSource(_0x54e2a9);}catch(_0x316b91){return{'state':'unverifiable','packageVersion':_0x1ca4f0(0xad),'reason':_0x316b91 instanceof Error?_0x316b91['message']:String(_0x316b91),'repairCommand':REPAIR_COMMAND};}const _0xc38f4e=installedSkillPath(_0x2257cb[_0x1ca4f0(0x8f)]??homedir());if(_0xc38f4e[_0x1ca4f0(0xc8)]===_0x1ca4f0(0xb4))return{'state':_0x1ca4f0(0xb4),'packageVersion':_0x33a373[_0x1ca4f0(0xc5)],'repairCommand':REPAIR_COMMAND};if(_0xc38f4e[_0x1ca4f0(0xc8)]===_0x1ca4f0(0xbe))return{'state':'unverifiable','packageVersion':_0x33a373[_0x1ca4f0(0xc5)],'reason':_0xc38f4e[_0x1ca4f0(0x9b)],'repairCommand':REPAIR_COMMAND};try{const _0x54a4f8=frontmatterValue(readFileSync(join(_0xc38f4e[_0x1ca4f0(0xa2)],_0x1ca4f0(0xbb)),'utf8'),_0x1ca4f0(0xb2));if(_0x54a4f8!==_0x33a373[_0x1ca4f0(0x99)])return{'state':_0x1ca4f0(0xa5),'packageVersion':_0x33a373[_0x1ca4f0(0xc5)],'skillVersion':_0x54a4f8,'installedPath':_0xc38f4e[_0x1ca4f0(0xa2)],'repairCommand':REPAIR_COMMAND};const _0x288974=listFiles(_0xc38f4e[_0x1ca4f0(0xa2)]),_0x55c1e9=digestFiles(_0xc38f4e['path'],_0x288974);return{'state':sameFiles(_0x288974,_0x33a373['manifest'][_0x1ca4f0(0x9e)])&&_0x55c1e9===_0x33a373[_0x1ca4f0(0xa3)]['digest']?_0x1ca4f0(0xbf):'content_mismatch','packageVersion':_0x33a373[_0x1ca4f0(0xc5)],'skillVersion':_0x54a4f8,'installedPath':_0xc38f4e[_0x1ca4f0(0xa2)],'digest':_0x55c1e9,'repairCommand':REPAIR_COMMAND};}catch(_0x46e2ad){return{'state':_0x1ca4f0(0xbe),'packageVersion':_0x33a373[_0x1ca4f0(0xc5)],'installedPath':_0xc38f4e['path'],'reason':_0x46e2ad instanceof Error?_0x46e2ad[_0x1ca4f0(0xb3)]:String(_0x46e2ad),'repairCommand':REPAIR_COMMAND};}}function failure(_0xe11f2d,_0x22ff49,_0x432632,_0x4a7a35){const _0x5a76bb=a261_0x550d97;return{'ok':![],'code':_0xe11f2d,'packageVersion':_0x22ff49[_0x5a76bb(0xc5)],'skillVersion':_0x22ff49['skillVersion'],'installedPath':_0x4a7a35,'changed':![],'repairCommand':REPAIR_COMMAND,'error':_0x432632 instanceof Error?_0x432632['message']:String(_0x432632)};}export function installBuiltinSkill(_0x37259c={}){const _0x504234=a261_0x550d97,_0x419697=_0x37259c[_0x504234(0x96)]??DEFAULT_PACKAGE_ROOT,_0x5a34eb=_0x37259c['home']??homedir();let _0x11b526;try{_0x11b526=readSource(_0x419697);}catch(_0x4ca8c9){return failure(_0x504234(0xb6),{'packageVersion':_0x504234(0xad),'skillVersion':_0x504234(0xad)},_0x4ca8c9);}const _0x103baa=inspectBuiltinSkill({'packageRoot':_0x419697,'home':_0x5a34eb}),_0x1e4a9c=runNpxSkillsAddGlobal(_0x419697,_0x11b526[_0x504234(0x97)],{'stdio':_0x37259c['stdio']??'pipe','expectedSkillName':SKILL_NAME,'presence':{'home':_0x5a34eb}});if(_0x1e4a9c[_0x504234(0xc3)])return{'ok':!![],'packageVersion':_0x11b526[_0x504234(0xc5)],'skillVersion':_0x11b526[_0x504234(0x99)],'installedPath':_0x103baa[_0x504234(0x8e)],'changed':![],'repairCommand':REPAIR_COMMAND};if(!_0x1e4a9c['ok'])return failure(_0x504234(0xa0),_0x11b526,_0x1e4a9c[_0x504234(0xc6)]??_0x504234(0x8c)+_0x1e4a9c['status']);const _0x3ba421=inspectBuiltinSkill({'packageRoot':_0x419697,'home':_0x5a34eb});if(_0x3ba421[_0x504234(0xc8)]!==_0x504234(0xbf))return failure(_0x504234(0xc0),_0x11b526,_0x3ba421[_0x504234(0x9b)]??_0x504234(0xae)+_0x3ba421[_0x504234(0xc8)],_0x3ba421[_0x504234(0x8e)]);return{'ok':!![],'packageVersion':_0x11b526[_0x504234(0xc5)],'skillVersion':_0x11b526[_0x504234(0x99)],'installedPath':_0x3ba421['installedPath'],'changed':_0x103baa[_0x504234(0xc8)]!==_0x504234(0xbf),'repairCommand':REPAIR_COMMAND};}
@@ -1 +1 @@
1
- (function(_0x3631fa,_0x808d0){const _0x41b784=a262_0x12bc,_0x1934c3=_0x3631fa();while(!![]){try{const _0xcc3f7d=-parseInt(_0x41b784(0xc1))/0x1+-parseInt(_0x41b784(0xb2))/0x2*(parseInt(_0x41b784(0xcd))/0x3)+-parseInt(_0x41b784(0xc0))/0x4+parseInt(_0x41b784(0xc8))/0x5+-parseInt(_0x41b784(0xba))/0x6*(parseInt(_0x41b784(0xb6))/0x7)+parseInt(_0x41b784(0xaf))/0x8+parseInt(_0x41b784(0xb9))/0x9;if(_0xcc3f7d===_0x808d0)break;else _0x1934c3['push'](_0x1934c3['shift']());}catch(_0x1ae22e){_0x1934c3['push'](_0x1934c3['shift']());}}}(a262_0x6766,0x1e0a0));import{logger}from'../utils/logger.js';import{CLI_BIN_NAME}from'../constant/cli.js';function a262_0x12bc(_0x421440,_0x5d978e){_0x421440=_0x421440-0xaf;const _0x676658=a262_0x6766();let _0x12bca7=_0x676658[_0x421440];return _0x12bca7;}import{NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE}from'../skills/npx-skills-add.js';export function camelCaseFlagsToKebab(_0x5f381f){const _0x5aa09b=a262_0x12bc,_0x72c66a=[];for(const [_0x5ab8ca,_0xb7f18]of Object[_0x5aa09b(0xcb)](_0x5f381f)){if(_0xb7f18===!![]){const _0x439f6d=_0x5ab8ca['replace'](/([A-Z])/g,'-$1')['toLowerCase']();_0x72c66a[_0x5aa09b(0xc7)](_0x439f6d);}}return _0x72c66a;}export function parseDynamicFlags(){const _0x33d68f=a262_0x12bc,_0x55bf35=[];for(let _0x3c487c=0x3;_0x3c487c<process['argv'][_0x33d68f(0xcf)];_0x3c487c++){const _0x1d5def=process['argv'][_0x3c487c];if(_0x1d5def&&_0x1d5def[_0x33d68f(0xb7)]('--')){const _0x2b0ebb=_0x1d5def[_0x33d68f(0xc5)](0x2);_0x2b0ebb&&!_0x2b0ebb[_0x33d68f(0xc9)]('=')&&_0x55bf35[_0x33d68f(0xc7)](_0x2b0ebb);}}return _0x55bf35;}function a262_0x6766(){const _0x5e8d6e=['\x0aAvailable\x20commands:','3bAmGPI','(empty)','length','has','1811472RHaeVk','skill','log','370538NTxHRO','help','Error:\x20Unsupported\x20command:\x20','error','158018rFqolM','startsWith','\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill','4136400AHbDKK','42ICSMFR','不支持的命令:\x20','\x0a\x0aNote:\x20cli-skill\x20install\x20uses\x20the\x20npm\x20package-local\x20Skill;\x20the\x20public\x20source\x20is\x20an\x20optional\x20latest\x20mirror.\x0a','\x20cli-skill\x20install\x0a\x0aPublic\x20Open\x20Skill\x20source:\x20','enable-bff-save','dangerously-bff-save','169500jysSPo','243872scTult','from','exit','add','slice','setLogPath','push','332700nVARfk','includes','--help','entries'];a262_0x6766=function(){return _0x5e8d6e;};return a262_0x6766();}export function getAllProvidedFlags(_0x16e580){const _0x40c2b0=a262_0x12bc,_0x633dcc=camelCaseFlagsToKebab(_0x16e580),_0x7f1f2d=parseDynamicFlags(),_0x3ded19=new Set([..._0x633dcc,..._0x7f1f2d]);return Array[_0x40c2b0(0xc2)](_0x3ded19);}export function normalizeLegacyBffSaveFlags(_0x1aec4c){const _0x3ac468=a262_0x12bc,_0x3a8151=new Set(_0x1aec4c);return _0x3a8151[_0x3ac468(0xd0)](_0x3ac468(0xbf))&&_0x3a8151[_0x3ac468(0xc4)](_0x3ac468(0xbe)),Array[_0x3ac468(0xc2)](_0x3a8151);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;export async function skillsCommand(_0x46eebd,_0x4d2232,_0x5e9fae){const _0x4652d7=a262_0x12bc;logger[_0x4652d7(0xc6)](process['cwd']());if(_0x5e9fae?.[_0x4652d7(0xb3)]||_0x46eebd===_0x4652d7(0xca)){showHelp();return;}console[_0x4652d7(0xb5)](_0x4652d7(0xb4)+(_0x46eebd||_0x4652d7(0xce))),console['log'](_0x4652d7(0xcc)),console[_0x4652d7(0xb1)]('\x20\x20'+CLI_BIN_NAME+_0x4652d7(0xb8)),console[_0x4652d7(0xb1)](''),console[_0x4652d7(0xb1)]('Public\x20Open\x20Skill\x20source:\x20'+SKILLS_INSTALL_COMMAND_LINE),logger[_0x4652d7(0xb5)](_0x4652d7(0xb0),_0x4652d7(0xbb)+_0x46eebd),process[_0x4652d7(0xc3)](0x1);}function showHelp(){const _0x7fb1a3=a262_0x12bc;console[_0x7fb1a3(0xb1)]('\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20'+CLI_BIN_NAME+_0x7fb1a3(0xbd)+SKILLS_INSTALL_COMMAND_LINE+_0x7fb1a3(0xbc));}
1
+ (function(_0x143195,_0x1c0423){const _0x273ac7=a262_0x5ef0,_0x221e16=_0x143195();while(!![]){try{const _0x3dd508=parseInt(_0x273ac7(0x16e))/0x1*(parseInt(_0x273ac7(0x15f))/0x2)+parseInt(_0x273ac7(0x173))/0x3*(parseInt(_0x273ac7(0x169))/0x4)+-parseInt(_0x273ac7(0x176))/0x5+-parseInt(_0x273ac7(0x172))/0x6*(parseInt(_0x273ac7(0x168))/0x7)+parseInt(_0x273ac7(0x174))/0x8+parseInt(_0x273ac7(0x171))/0x9*(-parseInt(_0x273ac7(0x15b))/0xa)+parseInt(_0x273ac7(0x17a))/0xb*(parseInt(_0x273ac7(0x162))/0xc);if(_0x3dd508===_0x1c0423)break;else _0x221e16['push'](_0x221e16['shift']());}catch(_0x20fc33){_0x221e16['push'](_0x221e16['shift']());}}}(a262_0x572d,0x33464));function a262_0x572d(){const _0x24cafa=['39310wIdibn','log','-$1','skill','15128PgPdwO','\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','setLogPath','708puphKA','error','不支持的命令:\x20','replace','\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill','add','38437CVglAj','188388yLqOgs','--help','argv','\x0a\x0aNote:\x20cli-skill\x20install\x20uses\x20the\x20npm\x20package-local\x20Skill;\x20the\x20public\x20source\x20is\x20an\x20optional\x20latest\x20mirror.\x0a','push','17lmWeba','from','has','36EOJnOH','18CEMirm','18oHFHVE','843696mqnysM','help','1876230MiacJy','\x20cli-skill\x20install\x0a\x0aPublic\x20Open\x20Skill\x20source:\x20','toLowerCase','enable-bff-save','18799vHZCCd','(empty)','entries'];a262_0x572d=function(){return _0x24cafa;};return a262_0x572d();}import{logger}from'../utils/logger.js';import{CLI_BIN_NAME}from'../constant/cli.js';function a262_0x5ef0(_0xd9ea11,_0x43cbe3){_0xd9ea11=_0xd9ea11-0x15b;const _0x572d93=a262_0x572d();let _0x5ef0c0=_0x572d93[_0xd9ea11];return _0x5ef0c0;}import{NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE}from'../skills/npx-skills-add.js';export function camelCaseFlagsToKebab(_0x3e9993){const _0x36dc08=a262_0x5ef0,_0x591e89=[];for(const [_0xd488f6,_0x251e72]of Object[_0x36dc08(0x17c)](_0x3e9993)){if(_0x251e72===!![]){const _0xadbc0=_0xd488f6[_0x36dc08(0x165)](/([A-Z])/g,_0x36dc08(0x15d))[_0x36dc08(0x178)]();_0x591e89[_0x36dc08(0x16d)](_0xadbc0);}}return _0x591e89;}export function parseDynamicFlags(){const _0x105eb5=a262_0x5ef0,_0x5afd4f=[];for(let _0x46fbc1=0x3;_0x46fbc1<process[_0x105eb5(0x16b)]['length'];_0x46fbc1++){const _0x8b92ca=process[_0x105eb5(0x16b)][_0x46fbc1];if(_0x8b92ca&&_0x8b92ca['startsWith']('--')){const _0x5acc98=_0x8b92ca['slice'](0x2);_0x5acc98&&!_0x5acc98['includes']('=')&&_0x5afd4f['push'](_0x5acc98);}}return _0x5afd4f;}export function getAllProvidedFlags(_0x49dc51){const _0x18f49f=a262_0x5ef0,_0x16a4cc=camelCaseFlagsToKebab(_0x49dc51),_0x2232d4=parseDynamicFlags(),_0x20e099=new Set([..._0x16a4cc,..._0x2232d4]);return Array[_0x18f49f(0x16f)](_0x20e099);}export function normalizeLegacyBffSaveFlags(_0x27f839){const _0x2a2292=a262_0x5ef0,_0x358e09=new Set(_0x27f839);return _0x358e09[_0x2a2292(0x170)]('dangerously-bff-save')&&_0x358e09[_0x2a2292(0x167)](_0x2a2292(0x179)),Array['from'](_0x358e09);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;export async function skillsCommand(_0x35465f,_0x2aae91,_0x263b3c){const _0x186b07=a262_0x5ef0;logger[_0x186b07(0x161)](process['cwd']());if(_0x263b3c?.[_0x186b07(0x175)]||_0x35465f===_0x186b07(0x16a)){showHelp();return;}console[_0x186b07(0x163)]('Error:\x20Unsupported\x20command:\x20'+(_0x35465f||_0x186b07(0x17b))),console['log']('\x0aAvailable\x20commands:'),console[_0x186b07(0x15c)]('\x20\x20'+CLI_BIN_NAME+_0x186b07(0x166)),console[_0x186b07(0x15c)](''),console[_0x186b07(0x15c)]('Public\x20Open\x20Skill\x20source:\x20'+SKILLS_INSTALL_COMMAND_LINE),logger[_0x186b07(0x163)](_0x186b07(0x15e),_0x186b07(0x164)+_0x35465f),process['exit'](0x1);}function showHelp(){const _0x2e7ecd=a262_0x5ef0;console[_0x2e7ecd(0x15c)](_0x2e7ecd(0x160)+CLI_BIN_NAME+_0x2e7ecd(0x177)+SKILLS_INSTALL_COMMAND_LINE+_0x2e7ecd(0x16c));}