@lovrabet/rabetbase-cli 2.4.7-beta.2 → 2.5.0-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 (364) hide show
  1. package/lib/api/api-doc.js +1 -1
  2. package/lib/api/fetch-model-list.js +1 -1
  3. package/lib/api/generate-api-file.d.ts +13 -3
  4. package/lib/api/generate-api-file.js +1 -1
  5. package/lib/api/generate-sdk-config-file.d.ts +7 -0
  6. package/lib/api/generate-sdk-config-file.js +1 -0
  7. package/lib/auth/auth-server-ui.js +1 -1
  8. package/lib/auth/auth-server.js +1 -1
  9. package/lib/auth/constant.js +1 -1
  10. package/lib/auth/get-cookie.js +1 -1
  11. package/lib/auth/get-session-user.js +1 -1
  12. package/lib/auth/is-session-valid.js +1 -1
  13. package/lib/auth/login-success-html.js +1 -1
  14. package/lib/auth/logout.js +1 -1
  15. package/lib/cli-flags.js +1 -1
  16. package/lib/cli.js +1 -1
  17. package/lib/commands/api/generate.js +1 -1
  18. package/lib/commands/api/index.js +1 -1
  19. package/lib/commands/api/list.js +1 -1
  20. package/lib/commands/api/pull.js +1 -1
  21. package/lib/commands/api/shared.js +1 -1
  22. package/lib/commands/app/index.js +1 -1
  23. package/lib/commands/app/list.js +1 -1
  24. package/lib/commands/app/members-list.js +1 -1
  25. package/lib/commands/app/remote-directory.js +1 -1
  26. package/lib/commands/app/shared.d.ts +2 -5
  27. package/lib/commands/app/shared.js +1 -1
  28. package/lib/commands/app-config/delete.js +1 -1
  29. package/lib/commands/app-config/get.js +1 -1
  30. package/lib/commands/app-config/index.js +1 -1
  31. package/lib/commands/app-config/list.js +1 -1
  32. package/lib/commands/app-config/set.js +1 -1
  33. package/lib/commands/app-config/shared.js +1 -1
  34. package/lib/commands/auth/index.js +1 -1
  35. package/lib/commands/bff/create.js +1 -1
  36. package/lib/commands/bff/delete.js +1 -1
  37. package/lib/commands/bff/detail.js +1 -1
  38. package/lib/commands/bff/index.js +1 -1
  39. package/lib/commands/bff/list.js +1 -1
  40. package/lib/commands/bff/pull.js +1 -1
  41. package/lib/commands/bff/push.js +1 -1
  42. package/lib/commands/bff/status.js +1 -1
  43. package/lib/commands/cli-skill/index.js +1 -1
  44. package/lib/commands/cli-update.js +1 -1
  45. package/lib/commands/codegen/index.js +1 -1
  46. package/lib/commands/codegen/sdk.js +1 -1
  47. package/lib/commands/codegen/sql.js +1 -1
  48. package/lib/commands/common/app-registry.js +1 -1
  49. package/lib/commands/common/app-selector.js +1 -1
  50. package/lib/commands/common/async-task.js +1 -1
  51. package/lib/commands/common/dry-run.js +1 -1
  52. package/lib/commands/common/flags.js +1 -1
  53. package/lib/commands/common/local-file.js +1 -1
  54. package/lib/commands/common/validate.js +1 -1
  55. package/lib/commands/config/delete.d.ts +5 -0
  56. package/lib/commands/config/delete.js +1 -0
  57. package/lib/commands/config/get.js +1 -1
  58. package/lib/commands/config/index.js +1 -1
  59. package/lib/commands/config/init.d.ts +12 -0
  60. package/lib/commands/config/init.js +1 -0
  61. package/lib/commands/config/list.js +1 -1
  62. package/lib/commands/config/set.js +1 -1
  63. package/lib/commands/config/shared.js +1 -1
  64. package/lib/commands/dataset/business-group-update.js +1 -1
  65. package/lib/commands/dataset/business-groups.js +1 -1
  66. package/lib/commands/dataset/capability.js +1 -1
  67. package/lib/commands/dataset/delete.js +1 -1
  68. package/lib/commands/dataset/detail.js +1 -1
  69. package/lib/commands/dataset/extend-update.js +1 -1
  70. package/lib/commands/dataset/field-update.js +1 -1
  71. package/lib/commands/dataset/generate.js +1 -1
  72. package/lib/commands/dataset/index.js +1 -1
  73. package/lib/commands/dataset/list.js +1 -1
  74. package/lib/commands/dataset/operations.js +1 -1
  75. package/lib/commands/dataset/relation-audit.js +1 -1
  76. package/lib/commands/dataset/relation-create.js +1 -1
  77. package/lib/commands/dataset/relation-delete.js +1 -1
  78. package/lib/commands/dataset/relation-shared.js +1 -1
  79. package/lib/commands/dataset/relation-update.js +1 -1
  80. package/lib/commands/dataset/relations.js +1 -1
  81. package/lib/commands/dataset/rename.js +1 -1
  82. package/lib/commands/dataset/restore.js +1 -1
  83. package/lib/commands/db/analysis-batching.js +1 -1
  84. package/lib/commands/db/analyze-batch-plan.js +1 -1
  85. package/lib/commands/db/analyze-cancel.js +1 -1
  86. package/lib/commands/db/analyze-start.js +1 -1
  87. package/lib/commands/db/analyze-status.js +1 -1
  88. package/lib/commands/db/create.js +1 -1
  89. package/lib/commands/db/delete.js +1 -1
  90. package/lib/commands/db/detail.js +1 -1
  91. package/lib/commands/db/diff-refresh-start.js +1 -1
  92. package/lib/commands/db/diff-refresh-status.js +1 -1
  93. package/lib/commands/db/diff.js +1 -1
  94. package/lib/commands/db/index.js +1 -1
  95. package/lib/commands/db/list.js +1 -1
  96. package/lib/commands/db/shared.js +1 -1
  97. package/lib/commands/db/tables.js +1 -1
  98. package/lib/commands/db/test.js +1 -1
  99. package/lib/commands/db/update.js +1 -1
  100. package/lib/commands/doctor.js +1 -1
  101. package/lib/commands/file/index.js +1 -1
  102. package/lib/commands/issue/index.js +1 -1
  103. package/lib/commands/issue/nudge.js +1 -1
  104. package/lib/commands/issue/report.js +1 -1
  105. package/lib/commands/issue/shared.js +1 -1
  106. package/lib/commands/kb/create.js +1 -1
  107. package/lib/commands/kb/delete.js +1 -1
  108. package/lib/commands/kb/detail.js +1 -1
  109. package/lib/commands/kb/index.js +1 -1
  110. package/lib/commands/kb/list.js +1 -1
  111. package/lib/commands/kb/search.js +1 -1
  112. package/lib/commands/kb/shared.js +1 -1
  113. package/lib/commands/kb/update.js +1 -1
  114. package/lib/commands/logs/index.js +1 -1
  115. package/lib/commands/menu/asset-update.js +1 -1
  116. package/lib/commands/menu/delete.js +1 -1
  117. package/lib/commands/menu/external-link-create.js +1 -1
  118. package/lib/commands/menu/external-link-update.js +1 -1
  119. package/lib/commands/menu/group-create.js +1 -1
  120. package/lib/commands/menu/group-update.js +1 -1
  121. package/lib/commands/menu/index.js +1 -1
  122. package/lib/commands/menu/list.js +1 -1
  123. package/lib/commands/menu/move.js +1 -1
  124. package/lib/commands/menu/regroup-start.js +1 -1
  125. package/lib/commands/menu/rename.js +1 -1
  126. package/lib/commands/menu/shared/compare-table.js +1 -1
  127. package/lib/commands/menu/shared/delete-plan.js +1 -1
  128. package/lib/commands/menu/shared/facts.js +1 -1
  129. package/lib/commands/menu/shared/index.js +1 -1
  130. package/lib/commands/menu/shared/inquirer.js +1 -1
  131. package/lib/commands/menu/shared/local-pages.js +1 -1
  132. package/lib/commands/menu/shared/logic.js +1 -1
  133. package/lib/commands/menu/shared/mutations.js +1 -1
  134. package/lib/commands/menu/shared/service.js +1 -1
  135. package/lib/commands/menu/shared/sync-core.js +1 -1
  136. package/lib/commands/menu/shared/update-core.js +1 -1
  137. package/lib/commands/menu/shared/valid-url.js +1 -1
  138. package/lib/commands/menu/sync.js +1 -1
  139. package/lib/commands/menu/visibility-update.js +1 -1
  140. package/lib/commands/notification/config-create.js +1 -1
  141. package/lib/commands/notification/config-delete.js +1 -1
  142. package/lib/commands/notification/config-list.js +1 -1
  143. package/lib/commands/notification/config-update.js +1 -1
  144. package/lib/commands/notification/index.js +1 -1
  145. package/lib/commands/notification/shared.js +1 -1
  146. package/lib/commands/ocr/index.js +1 -1
  147. package/lib/commands/page/create.js +1 -1
  148. package/lib/commands/page/custom/detail.js +1 -1
  149. package/lib/commands/page/custom/list.js +1 -1
  150. package/lib/commands/page/custom/publish.js +1 -1
  151. package/lib/commands/page/custom/shared.js +1 -1
  152. package/lib/commands/page/custom/syntax.js +1 -1
  153. package/lib/commands/page/custom/template.js +1 -1
  154. package/lib/commands/page/custom/update.js +1 -1
  155. package/lib/commands/page/data-list-status.js +1 -1
  156. package/lib/commands/page/generate-start.js +1 -1
  157. package/lib/commands/page/generate-status.js +1 -1
  158. package/lib/commands/page/index.js +1 -1
  159. package/lib/commands/page/pull.js +1 -1
  160. package/lib/commands/page/push.js +1 -1
  161. package/lib/commands/page/relation-audit.js +1 -1
  162. package/lib/commands/page/restore.js +1 -1
  163. package/lib/commands/page/shared.js +1 -1
  164. package/lib/commands/page/sync.js +1 -1
  165. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  166. package/lib/commands/project/create/format-elapsed.js +1 -1
  167. package/lib/commands/project/create/main.d.ts +1 -0
  168. package/lib/commands/project/create/main.js +1 -1
  169. package/lib/commands/project/create/materialize-project-template.d.ts +6 -2
  170. package/lib/commands/project/create/materialize-project-template.js +1 -1
  171. package/lib/commands/project/create/project-name.js +1 -1
  172. package/lib/commands/project/create/project-template-archive.js +1 -1
  173. package/lib/commands/project/create/project-template-path.js +1 -1
  174. package/lib/commands/project/create/use-copy-project-template.d.ts +1 -1
  175. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  176. package/lib/commands/project/create/use-format-code.js +1 -1
  177. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  178. package/lib/commands/project/index.js +1 -1
  179. package/lib/commands/project/upgrade.js +1 -1
  180. package/lib/commands/registry.d.ts +2 -2
  181. package/lib/commands/registry.js +1 -1
  182. package/lib/commands/role/delete.js +1 -1
  183. package/lib/commands/role/detail.js +1 -1
  184. package/lib/commands/role/index.js +1 -1
  185. package/lib/commands/role/list.js +1 -1
  186. package/lib/commands/role/shared.d.ts +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/domain-config.d.ts +10 -0
  216. package/lib/config/domain-config.js +1 -0
  217. package/lib/config/schema.d.ts +3 -1
  218. package/lib/config/schema.js +1 -1
  219. package/lib/constant/cdn.js +1 -1
  220. package/lib/constant/cli.js +1 -1
  221. package/lib/constant/defaults.js +1 -1
  222. package/lib/constant/domain.d.ts +23 -1
  223. package/lib/constant/domain.js +1 -1
  224. package/lib/constant/env.js +1 -1
  225. package/lib/constant/output.js +1 -1
  226. package/lib/constant/paths.js +1 -1
  227. package/lib/constant/region.d.ts +9 -0
  228. package/lib/constant/region.js +1 -0
  229. package/lib/constant/risk.js +1 -1
  230. package/lib/context/app-resolver.js +1 -1
  231. package/lib/context/auth-resolver.js +1 -1
  232. package/lib/context/config-loader.d.ts +4 -6
  233. package/lib/context/config-loader.js +1 -1
  234. package/lib/context.d.ts +2 -2
  235. package/lib/context.js +1 -1
  236. package/lib/core/alias-resolver.js +1 -1
  237. package/lib/core/api-client.d.ts +2 -0
  238. package/lib/core/api-client.js +1 -1
  239. package/lib/core/bff/config.js +1 -1
  240. package/lib/core/bff/file-system.js +1 -1
  241. package/lib/core/bff/hash.js +1 -1
  242. package/lib/core/bff/lock.js +1 -1
  243. package/lib/core/bff/utils.js +1 -1
  244. package/lib/core/db-resolver.js +1 -1
  245. package/lib/core/page/file-system.js +1 -1
  246. package/lib/core/page/hash.js +1 -1
  247. package/lib/core/page/lock.js +1 -1
  248. package/lib/core/sql-index-auditor.js +1 -1
  249. package/lib/core/sql-sync/config.js +1 -1
  250. package/lib/core/sql-sync/file-system.js +1 -1
  251. package/lib/core/sql-sync/hash.js +1 -1
  252. package/lib/core/sql-sync/lock.js +1 -1
  253. package/lib/core/sql-sync/utils.js +1 -1
  254. package/lib/core/sql-validator.js +1 -1
  255. package/lib/errors.d.ts +11 -1
  256. package/lib/errors.js +1 -1
  257. package/lib/framework/build-all-flags.js +1 -1
  258. package/lib/framework/error-output.js +1 -1
  259. package/lib/framework/explicit-yes.js +1 -1
  260. package/lib/framework/flags.js +1 -1
  261. package/lib/framework/help.d.ts +2 -2
  262. package/lib/framework/help.js +1 -1
  263. package/lib/framework/index.js +1 -1
  264. package/lib/framework/output.js +1 -1
  265. package/lib/framework/response.js +1 -1
  266. package/lib/framework/runner-alias.js +1 -1
  267. package/lib/framework/runner.js +1 -1
  268. package/lib/framework/schema-export.js +1 -1
  269. package/lib/framework/types.js +1 -1
  270. package/lib/generated/build-info.d.ts +4 -4
  271. package/lib/generated/build-info.js +1 -1
  272. package/lib/help.js +1 -1
  273. package/lib/postinstall.js +1 -1
  274. package/lib/runtime/confirmation.js +1 -1
  275. package/lib/runtime/event.js +1 -1
  276. package/lib/runtime/index.js +1 -1
  277. package/lib/runtime/queue.js +1 -1
  278. package/lib/runtime/resolve.js +1 -1
  279. package/lib/skills/builtin-skill.js +1 -1
  280. package/lib/skills/main.js +1 -1
  281. package/lib/skills/npx-skills-add.js +1 -1
  282. package/lib/skills/skill-presence.js +1 -1
  283. package/lib/telemetry/cli-command-trace.js +1 -1
  284. package/lib/telemetry/cli-help-trace.js +1 -1
  285. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  286. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  287. package/lib/telemetry/send-cli-trace-log.js +1 -1
  288. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  289. package/lib/types/index.d.ts +28 -0
  290. package/lib/utils/ai_config.d.ts +1 -2
  291. package/lib/utils/ai_config.js +1 -1
  292. package/lib/utils/apply-jq-filter.js +1 -1
  293. package/lib/utils/cdn-config.js +1 -1
  294. package/lib/utils/check-sdk-version.js +1 -1
  295. package/lib/utils/cli-version-check.js +1 -1
  296. package/lib/utils/cli-version-policy.js +1 -1
  297. package/lib/utils/config.js +1 -1
  298. package/lib/utils/entity-with-id.js +1 -1
  299. package/lib/utils/file-utils.js +1 -1
  300. package/lib/utils/guides-cdn.js +1 -1
  301. package/lib/utils/http-client.js +1 -1
  302. package/lib/utils/is-non-interactive.js +1 -1
  303. package/lib/utils/logger.js +1 -1
  304. package/lib/utils/params.js +1 -1
  305. package/lib/utils/platform.js +1 -1
  306. package/lib/utils/sleep.js +1 -1
  307. package/lib/utils/template-replacer.js +1 -1
  308. package/lib/utils/update-notice.js +1 -1
  309. package/lib/utils/version.js +1 -1
  310. package/lib/utils/with-active-cookie.js +1 -1
  311. package/lib/utils/write-cli-side-channel.js +1 -1
  312. package/package.json +1 -3
  313. package/skills/rabetbase/SKILL.md +33 -28
  314. package/skills/rabetbase/guides/backend-function.md +41 -12
  315. package/skills/rabetbase/guides/bff-creation-workflow.md +6 -4
  316. package/skills/rabetbase/guides/custom-page-workflow.md +1 -1
  317. package/skills/rabetbase/guides/data-api-guidelines.md +8 -8
  318. package/skills/rabetbase/guides/database-connection-workflow.md +8 -16
  319. package/skills/rabetbase/guides/menu-anomaly-manual-cleanup.md +1 -6
  320. package/skills/rabetbase/guides/sdk-client-generation.md +146 -0
  321. package/skills/rabetbase/guides/sql-creation-workflow.md +1 -1
  322. package/skills/rabetbase/guides/troubleshooting.md +1 -1
  323. package/skills/rabetbase/guides/typescript-sdk.md +46 -10
  324. package/skills/rabetbase/references/rabetbase-api-list.md +4 -4
  325. package/skills/rabetbase/references/rabetbase-api-pull.md +44 -29
  326. package/skills/rabetbase/references/rabetbase-app-list.md +2 -2
  327. package/skills/rabetbase/references/rabetbase-auth-login.md +4 -2
  328. package/skills/rabetbase/references/rabetbase-bff-push.md +3 -1
  329. package/skills/rabetbase/references/rabetbase-codegen-sql.md +3 -1
  330. package/skills/rabetbase/references/rabetbase-config.md +75 -30
  331. package/skills/rabetbase/references/rabetbase-dataset-detail.md +1 -1
  332. package/skills/rabetbase/references/rabetbase-db-analyze.md +3 -3
  333. package/skills/rabetbase/references/rabetbase-db-detail.md +2 -2
  334. package/skills/rabetbase/references/rabetbase-db-diff-refresh.md +4 -4
  335. package/skills/rabetbase/references/rabetbase-db-diff.md +6 -9
  336. package/skills/rabetbase/references/rabetbase-doctor.md +1 -1
  337. package/skills/rabetbase/references/rabetbase-init.md +57 -51
  338. package/skills/rabetbase/references/rabetbase-kb.md +2 -0
  339. package/skills/rabetbase/references/rabetbase-page-create.md +1 -1
  340. package/skills/rabetbase/references/rabetbase-page-custom-detail.md +3 -3
  341. package/skills/rabetbase/references/rabetbase-page-custom-list.md +2 -2
  342. package/skills/rabetbase/references/rabetbase-project-create.md +12 -3
  343. package/skills/rabetbase/references/rabetbase-project-upgrade.md +2 -2
  344. package/skills/rabetbase/references/rabetbase-role-user-resolve.md +2 -2
  345. package/skills/rabetbase/references/rabetbase-user-account.md +1 -1
  346. package/skills/rabetbase/references/rabetbase-workspace.md +6 -6
  347. package/skills/rabetbase.manifest.json +4 -3
  348. package/templates/README.md +17 -28
  349. package/templates/generate-api/api.ts.tpl +3 -3
  350. package/templates/generate-api/client.ts.tpl +10 -37
  351. package/lib/commands/data/filter.d.ts +0 -7
  352. package/lib/commands/data/filter.js +0 -1
  353. package/lib/commands/data/getOne.d.ts +0 -7
  354. package/lib/commands/data/getOne.js +0 -1
  355. package/lib/commands/data/index.d.ts +0 -8
  356. package/lib/commands/data/index.js +0 -1
  357. package/lib/commands/data/shared.d.ts +0 -33
  358. package/lib/commands/data/shared.js +0 -1
  359. package/lib/commands/init/index.d.ts +0 -11
  360. package/lib/commands/init/index.js +0 -1
  361. package/lib/utils/rules-cdn.d.ts +0 -38
  362. package/lib/utils/rules-cdn.js +0 -1
  363. package/templates/rules/lovrabet_rules.mdc.tpl +0 -893
  364. package/templates/skill/SKILL.md.tpl +0 -120
package/lib/errors.js CHANGED
@@ -1 +1 @@
1
- const a241_0x110cb1=a241_0x331d;function a241_0x44cd(){const _0x1addec=['Run\x20this\x20command\x20inside\x20a\x20project\x20with\x20.rabetbase.json\x20file.','\x20auth`\x20to\x20login\x20first.','5640900cOqMwD','\x20init\x20--appcode\x20<code>\x20--global`\x20registers\x20globally\x20so\x20you\x20can\x20use\x20it\x20from\x20anywhere.','8ooRHEf','7djlroA','join','Tip:\x20`','1loiPAu','8250520fDeuro','4929518gbOMxb','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','Set\x20appcode\x20via\x20`','10770gxeZHA','1430103SVJHAL','2392578BSHqJT','1929786wJsvjN','Run\x20`','24ZNSYMs','\x0a\x20\x20\x20\x20\x20\x20\x20','549VpgDXO'];a241_0x44cd=function(){return _0x1addec;};return a241_0x44cd();}(function(_0x174c1d,_0x5d6fa4){const _0x3fa2ca=a241_0x331d,_0x575172=_0x174c1d();while(!![]){try{const _0x5eeb63=-parseInt(_0x3fa2ca(0xc5))/0x1*(-parseInt(_0x3fa2ca(0xcc))/0x2)+parseInt(_0x3fa2ca(0xcb))/0x3*(parseInt(_0x3fa2ca(0xd6))/0x4)+-parseInt(_0x3fa2ca(0xd4))/0x5+-parseInt(_0x3fa2ca(0xcd))/0x6+parseInt(_0x3fa2ca(0xd7))/0x7*(-parseInt(_0x3fa2ca(0xc6))/0x8)+-parseInt(_0x3fa2ca(0xd1))/0x9*(-parseInt(_0x3fa2ca(0xca))/0xa)+parseInt(_0x3fa2ca(0xc7))/0xb*(parseInt(_0x3fa2ca(0xcf))/0xc);if(_0x5eeb63===_0x5d6fa4)break;else _0x575172['push'](_0x575172['shift']());}catch(_0x4de4a6){_0x575172['push'](_0x575172['shift']());}}}(a241_0x44cd,0x99f0a));function a241_0x331d(_0x3f9db3,_0x1f2525){_0x3f9db3=_0x3f9db3-0xc4;const _0x44cdd0=a241_0x44cd();let _0x331da3=_0x44cdd0[_0x3f9db3];return _0x331da3;}import{CliError,createCliErrors}from'@lovrabet/cli-framework';import{CLI_BIN_NAME}from'./constant/cli.js';export{CliError};export const CliErrors=createCliErrors({'cliBinName':CLI_BIN_NAME,'authRequiredHint':a241_0x110cb1(0xce)+CLI_BIN_NAME+a241_0x110cb1(0xd3),'configMissingHint':[a241_0x110cb1(0xc9)+CLI_BIN_NAME+a241_0x110cb1(0xc8),a241_0x110cb1(0xc4)+CLI_BIN_NAME+a241_0x110cb1(0xd5)][a241_0x110cb1(0xd8)](a241_0x110cb1(0xd0)),'notInProjectHint':a241_0x110cb1(0xd2)});
1
+ const a241_0x55fed1=a241_0x54ae;(function(_0x1aef22,_0x2f762c){const _0x5daaec=a241_0x54ae,_0x569592=_0x1aef22();while(!![]){try{const _0x4ab452=parseInt(_0x5daaec(0x185))/0x1+-parseInt(_0x5daaec(0x187))/0x2*(parseInt(_0x5daaec(0x17b))/0x3)+-parseInt(_0x5daaec(0x182))/0x4+-parseInt(_0x5daaec(0x176))/0x5*(parseInt(_0x5daaec(0x17d))/0x6)+-parseInt(_0x5daaec(0x173))/0x7+parseInt(_0x5daaec(0x17f))/0x8+-parseInt(_0x5daaec(0x188))/0x9*(-parseInt(_0x5daaec(0x184))/0xa);if(_0x4ab452===_0x2f762c)break;else _0x569592['push'](_0x569592['shift']());}catch(_0x4d2bd0){_0x569592['push'](_0x569592['shift']());}}}(a241_0x26e9,0x5725c));import{CliError,createCliErrors}from'@lovrabet/cli-framework';import{CLI_BIN_NAME}from'./constant/cli.js';function a241_0x26e9(){const _0x521155=['Set\x20appcode\x20via\x20`','Configuration\x20file\x20not\x20found','51qJiRQc','unknown_command','672GKMJYI','\x20auth`\x20to\x20login\x20first.','5438696EAYiSh','Run\x20`','\x20--help`\x20to\x20see\x20available\x20commands.','1342344iRUhcr','\x20project\x20directory','10wLPprd','358764yXSJvS','Authentication\x20required','39154hTiUxH','9391887FbBQHj','Unknown\x20command:\x20','apiError','auth_required','\x20workspace\x20add\x20<name>\x20--appcode\x20<code>\x20--global`\x20registers\x20a\x20reusable\x20global\x20app\x20profile.','Run\x20this\x20command\x20inside\x20a\x20project\x20with\x20.rabetbase.json\x20file.','Check\x20your\x20internet\x20connection\x20and\x20try\x20again.','2906799HRowcq','Network\x20error:\x20','cancelled','28640DIRBTg','\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.\x0a\x20\x20\x20\x20\x20\x20\x20Tip:\x20`','flag_missing'];a241_0x26e9=function(){return _0x521155;};return a241_0x26e9();}export{CliError};function a241_0x54ae(_0x203730,_0x1e1835){_0x203730=_0x203730-0x16d;const _0x26e987=a241_0x26e9();let _0x54aeef=_0x26e987[_0x203730];return _0x54aeef;}const baseCliErrors=createCliErrors({'cliBinName':CLI_BIN_NAME,'authRequiredHint':a241_0x55fed1(0x180)+CLI_BIN_NAME+a241_0x55fed1(0x17e),'configMissingHint':a241_0x55fed1(0x179)+CLI_BIN_NAME+a241_0x55fed1(0x177)+CLI_BIN_NAME+'\x20workspace\x20add\x20<name>\x20--appcode\x20<code>\x20--global`\x20registers\x20a\x20reusable\x20global\x20app\x20profile.','notInProjectHint':a241_0x55fed1(0x171)});export const CliErrors={'authRequired'(_0x25dd1a){const _0x527683=a241_0x55fed1;return new CliError(_0x527683(0x16f),0x1,_0x527683(0x186),_0x25dd1a??'Run\x20`'+CLI_BIN_NAME+_0x527683(0x17e));},'configMissing'(_0x1a2899){const _0x50ad07=a241_0x55fed1;return new CliError('config_missing',0x1,_0x50ad07(0x17a),_0x1a2899??_0x50ad07(0x179)+CLI_BIN_NAME+_0x50ad07(0x177)+CLI_BIN_NAME+_0x50ad07(0x170));},'notInProject'(){const _0x2743e5=a241_0x55fed1;return new CliError('not_in_project',0x1,'Not\x20in\x20a\x20'+CLI_BIN_NAME+_0x2743e5(0x183),_0x2743e5(0x171));},'apiError'(_0x5806d2,_0x1fbe29){const _0x6416e9=a241_0x55fed1;return baseCliErrors[_0x6416e9(0x16e)](_0x5806d2,_0x1fbe29);},'networkError'(_0x4100cb){const _0x21dab2=a241_0x55fed1;return new CliError('network_error',0x2,_0x21dab2(0x174)+_0x4100cb,_0x21dab2(0x172));},'unknownCommand'(_0x2be1a9){const _0x270da8=a241_0x55fed1;return new CliError(_0x270da8(0x17c),0x1,_0x270da8(0x16d)+_0x2be1a9,_0x270da8(0x180)+CLI_BIN_NAME+_0x270da8(0x181));},'flagMissing'(_0xa35258,_0x28cb12){const _0x4abd9e=a241_0x55fed1;return new CliError(_0x4abd9e(0x178),0x1,'Missing\x20required\x20flag:\x20--'+_0xa35258,_0x28cb12);},'validation'(_0x5d3f0c,_0x522408){return baseCliErrors['validation'](_0x5d3f0c,_0x522408);},'cancelled'(_0x5ede11){const _0x5ebc14=a241_0x55fed1;return new CliError(_0x5ebc14(0x175),0x0,_0x5ede11??'Operation\x20cancelled.');}};
@@ -1 +1 @@
1
- (function(_0x2a94a0,_0x41a842){const _0x10ff34=a242_0x3537,_0x58185e=_0x2a94a0();while(!![]){try{const _0x166958=-parseInt(_0x10ff34(0x1e7))/0x1*(-parseInt(_0x10ff34(0x1ea))/0x2)+parseInt(_0x10ff34(0x1e4))/0x3*(parseInt(_0x10ff34(0x1e0))/0x4)+parseInt(_0x10ff34(0x1eb))/0x5+parseInt(_0x10ff34(0x1e8))/0x6+-parseInt(_0x10ff34(0x1e6))/0x7+-parseInt(_0x10ff34(0x1df))/0x8+-parseInt(_0x10ff34(0x1e2))/0x9*(-parseInt(_0x10ff34(0x1e5))/0xa);if(_0x166958===_0x41a842)break;else _0x58185e['push'](_0x58185e['shift']());}catch(_0x234abd){_0x58185e['push'](_0x58185e['shift']());}}}(a242_0x70dc,0x8acb2));import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';import{buildAllFlags as a242_0x4fcccc}from'@lovrabet/cli-framework';function a242_0x3537(_0xf1e0d9,_0x261658){_0xf1e0d9=_0xf1e0d9-0x1df;const _0x70dcaa=a242_0x70dc();let _0x3537d8=_0x70dcaa[_0xf1e0d9];return _0x3537d8;}import{EXPLICIT_YES_FLAG_DESCRIPTION,requiresExplicitYes}from'../framework/explicit-yes.js';function a242_0x70dc(){const _0x578c65=['yes','2msZyYy','3540450YXwfQX','6976816wvFYog','4gAsAjC','map','8733519obslVu','name','146571NBulTJ','10SvNUvn','3811451grIBcY','90193IbkSZd','1005372xcdpKq'];a242_0x70dc=function(){return _0x578c65;};return a242_0x70dc();}export function buildAllFlags(_0x3b0489){const _0x1fd9de=a242_0x3537,_0x553578=a242_0x4fcccc(_0x3b0489,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});if(!requiresExplicitYes(_0x3b0489))return _0x553578;return _0x553578[_0x1fd9de(0x1e1)](_0x1927a7=>_0x1927a7[_0x1fd9de(0x1e3)]===_0x1fd9de(0x1e9)?{..._0x1927a7,'description':EXPLICIT_YES_FLAG_DESCRIPTION}:_0x1927a7);}
1
+ (function(_0x330955,_0x28c3ef){const _0x618256=a242_0x59c1,_0x380dba=_0x330955();while(!![]){try{const _0x17cbc7=parseInt(_0x618256(0x123))/0x1*(parseInt(_0x618256(0x121))/0x2)+parseInt(_0x618256(0x11b))/0x3*(-parseInt(_0x618256(0x11f))/0x4)+-parseInt(_0x618256(0x11a))/0x5+-parseInt(_0x618256(0x124))/0x6+-parseInt(_0x618256(0x120))/0x7*(parseInt(_0x618256(0x11c))/0x8)+parseInt(_0x618256(0x11e))/0x9*(-parseInt(_0x618256(0x119))/0xa)+-parseInt(_0x618256(0x126))/0xb*(-parseInt(_0x618256(0x11d))/0xc);if(_0x17cbc7===_0x28c3ef)break;else _0x380dba['push'](_0x380dba['shift']());}catch(_0x6a97d3){_0x380dba['push'](_0x380dba['shift']());}}}(a242_0x511f,0x92f00));function a242_0x511f(){const _0xb10f8f=['27poKHSr','19612hYZgpp','28eEaWrx','257434diteEj','map','1mAiHKc','1176162vORlaC','yes','6078237OPHsdF','3431530fCqqzR','1000XpyXeN','15TzSoQD','973856Etdutu','48IqGOjO'];a242_0x511f=function(){return _0xb10f8f;};return a242_0x511f();}function a242_0x59c1(_0x48cf99,_0xb11786){_0x48cf99=_0x48cf99-0x119;const _0x511f65=a242_0x511f();let _0x59c105=_0x511f65[_0x48cf99];return _0x59c105;}import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';import{buildAllFlags as a242_0x1a878c}from'@lovrabet/cli-framework';import{EXPLICIT_YES_FLAG_DESCRIPTION,requiresExplicitYes}from'../framework/explicit-yes.js';export function buildAllFlags(_0xce78db){const _0x3ef0e8=a242_0x59c1,_0x3e4ea4=a242_0x1a878c(_0xce78db,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});if(!requiresExplicitYes(_0xce78db))return _0x3e4ea4;return _0x3e4ea4[_0x3ef0e8(0x122)](_0x1a0d23=>_0x1a0d23['name']===_0x3ef0e8(0x125)?{..._0x1a0d23,'description':EXPLICIT_YES_FLAG_DESCRIPTION}:_0x1a0d23);}
@@ -1 +1 @@
1
- (function(_0x19c01e,_0x464fac){var _0x15bde8=a243_0x46c2,_0x2710f3=_0x19c01e();while(!![]){try{var _0x4298c8=parseInt(_0x15bde8(0xe6))/0x1*(-parseInt(_0x15bde8(0xf0))/0x2)+-parseInt(_0x15bde8(0xed))/0x3+-parseInt(_0x15bde8(0xea))/0x4*(-parseInt(_0x15bde8(0xf3))/0x5)+parseInt(_0x15bde8(0xec))/0x6*(-parseInt(_0x15bde8(0xf2))/0x7)+parseInt(_0x15bde8(0xe7))/0x8+-parseInt(_0x15bde8(0xee))/0x9+-parseInt(_0x15bde8(0xe9))/0xa*(-parseInt(_0x15bde8(0xef))/0xb);if(_0x4298c8===_0x464fac)break;else _0x2710f3['push'](_0x2710f3['shift']());}catch(_0x4f2023){_0x2710f3['push'](_0x2710f3['shift']());}}}(a243_0x1aa6,0x2f582));import{resolveOutputConfig}from'@lovrabet/cli-framework';function a243_0x1aa6(){var _0x3da50d=['defaultFormat','106843XhAdWA','353336NWOmfA','format','390dpbPJk','8HLBSfe','def','6NSdyXD','724539EzktqD','17307qHLsXt','179740hhZrFb','4xnFWNE','flags','1827707TFmBQg','576795GKrTAc'];a243_0x1aa6=function(){return _0x3da50d;};return a243_0x1aa6();}export function usesStructuredErrorOutput(_0x1d17f9){return _0x1d17f9?.['structuredErrors']===!![];}function a243_0x46c2(_0x2fab48,_0x74ed61){_0x2fab48=_0x2fab48-0xe6;var _0x1aa6a1=a243_0x1aa6();var _0x46c2a8=_0x1aa6a1[_0x2fab48];return _0x46c2a8;}export function resolveErrorOutputFormat(_0x481d4b){var _0x1c5001=a243_0x46c2;if(!_0x481d4b[_0x1c5001(0xeb)])return _0x481d4b[_0x1c5001(0xf4)]??'compress';return resolveOutputConfig({'flags':_0x481d4b[_0x1c5001(0xf1)]??{},'def':_0x481d4b[_0x1c5001(0xeb)],'configDefault':_0x481d4b[_0x1c5001(0xf4)]})[_0x1c5001(0xe8)];}
1
+ (function(_0xe0cb95,_0xa8e292){var _0x3e466e=a243_0x5b82,_0x3c87f2=_0xe0cb95();while(!![]){try{var _0x135ee5=parseInt(_0x3e466e(0x19c))/0x1*(-parseInt(_0x3e466e(0x199))/0x2)+parseInt(_0x3e466e(0x197))/0x3+parseInt(_0x3e466e(0x19e))/0x4*(-parseInt(_0x3e466e(0x1a4))/0x5)+-parseInt(_0x3e466e(0x1a1))/0x6*(-parseInt(_0x3e466e(0x19b))/0x7)+parseInt(_0x3e466e(0x1a3))/0x8*(parseInt(_0x3e466e(0x19d))/0x9)+parseInt(_0x3e466e(0x1a6))/0xa+-parseInt(_0x3e466e(0x19f))/0xb*(parseInt(_0x3e466e(0x1a7))/0xc);if(_0x135ee5===_0xa8e292)break;else _0x3c87f2['push'](_0x3c87f2['shift']());}catch(_0x28d9de){_0x3c87f2['push'](_0x3c87f2['shift']());}}}(a243_0x1419,0x92275));import{resolveOutputConfig}from'@lovrabet/cli-framework';export function usesStructuredErrorOutput(_0x588bfe){var _0xca0848=a243_0x5b82;return _0x588bfe?.[_0xca0848(0x19a)]===!![];}export function resolveErrorOutputFormat(_0x2854bb){var _0x3912bf=a243_0x5b82;if(!_0x2854bb[_0x3912bf(0x1a2)])return _0x2854bb['defaultFormat']??'compress';return resolveOutputConfig({'flags':_0x2854bb[_0x3912bf(0x1a0)]??{},'def':_0x2854bb[_0x3912bf(0x1a2)],'configDefault':_0x2854bb[_0x3912bf(0x198)]})[_0x3912bf(0x1a5)];}function a243_0x5b82(_0x1d70c1,_0xb80857){_0x1d70c1=_0x1d70c1-0x197;var _0x1419e1=a243_0x1419();var _0x5b822a=_0x1419e1[_0x1d70c1];return _0x5b822a;}function a243_0x1419(){var _0x59834a=['2468LZSpjb','11yNivaw','flags','586632fxbWCn','def','632Exwqee','1340bsveiu','format','5268580qYizvz','2719848fpfKnv','1375452zkNfWv','defaultFormat','22pGpBfL','structuredErrors','42bqhLbY','71563MJjrpC','23454uFPiac'];a243_0x1419=function(){return _0x59834a;};return a243_0x1419();}
@@ -1 +1 @@
1
- function a244_0x1590(_0x13fa74,_0x125c04){_0x13fa74=_0x13fa74-0x93;const _0x4952e9=a244_0x4952();let _0x1590b9=_0x4952e9[_0x13fa74];return _0x1590b9;}const a244_0x28d57d=a244_0x1590;(function(_0x44fb46,_0x490282){const _0x333845=a244_0x1590,_0x3f2e1a=_0x44fb46();while(!![]){try{const _0x1f4ee0=parseInt(_0x333845(0x95))/0x1+-parseInt(_0x333845(0x94))/0x2*(-parseInt(_0x333845(0xa0))/0x3)+parseInt(_0x333845(0xa3))/0x4+parseInt(_0x333845(0x97))/0x5*(parseInt(_0x333845(0x9c))/0x6)+parseInt(_0x333845(0xa2))/0x7+parseInt(_0x333845(0x93))/0x8*(parseInt(_0x333845(0x9b))/0x9)+-parseInt(_0x333845(0x9d))/0xa;if(_0x1f4ee0===_0x490282)break;else _0x3f2e1a['push'](_0x3f2e1a['shift']());}catch(_0x7fb312){_0x3f2e1a['push'](_0x3f2e1a['shift']());}}}(a244_0x4952,0xc3dd1));const EXPLICIT_YES_COMMANDS=new Set([a244_0x28d57d(0xa1),a244_0x28d57d(0x9f),a244_0x28d57d(0x96),a244_0x28d57d(0x9a)]);export const EXPLICIT_YES_FLAG_DESCRIPTION=a244_0x28d57d(0x98);function a244_0x4952(){const _0x3545a0=['199011eWFRDQ','menu\x20delete','8942311RCqdzV','4997220IKTGPr','3608EFrtUA','26dhBWqS','133399pgPrVM','notification\x20config-update','5XbOIjh','Required\x20for\x20execution\x20after\x20reviewing\x20the\x20--dry-run\x20plan','service','notification\x20config-delete','17370Trzqqk','2467812TFbYAT','40020330ObsOma','command','kb\x20delete'];a244_0x4952=function(){return _0x3545a0;};return a244_0x4952();}export function requiresExplicitYes(_0x365ed3){const _0x3ce404=a244_0x28d57d;return EXPLICIT_YES_COMMANDS['has'](_0x365ed3[_0x3ce404(0x99)]+'\x20'+_0x365ed3[_0x3ce404(0x9e)]);}
1
+ const a244_0x551f1e=a244_0x447e;(function(_0x17bb5d,_0xb073dc){const _0x19de26=a244_0x447e,_0x3f5d27=_0x17bb5d();while(!![]){try{const _0x5f80bd=-parseInt(_0x19de26(0x1a6))/0x1*(-parseInt(_0x19de26(0x1a3))/0x2)+-parseInt(_0x19de26(0x1a4))/0x3*(-parseInt(_0x19de26(0x1a1))/0x4)+-parseInt(_0x19de26(0x19b))/0x5+-parseInt(_0x19de26(0x1a7))/0x6*(parseInt(_0x19de26(0x19c))/0x7)+parseInt(_0x19de26(0x19d))/0x8+parseInt(_0x19de26(0x19f))/0x9*(parseInt(_0x19de26(0x19e))/0xa)+parseInt(_0x19de26(0x1a2))/0xb;if(_0x5f80bd===_0xb073dc)break;else _0x3f5d27['push'](_0x3f5d27['shift']());}catch(_0x5970f9){_0x3f5d27['push'](_0x3f5d27['shift']());}}}(a244_0x235a,0xb32a9));function a244_0x447e(_0x141198,_0x47574e){_0x141198=_0x141198-0x19b;const _0x235ad1=a244_0x235a();let _0x447e6d=_0x235ad1[_0x141198];return _0x447e6d;}function a244_0x235a(){const _0x30737b=['1420152AJBogs','1784130LyneRT','9jWceyl','command','4rKJHTN','8235557hoyjql','110918gzKZOx','646491RZylIG','kb\x20delete','25okWsWm','258MuTNIt','service','notification\x20config-delete','menu\x20delete','notification\x20config-update','4543240LlaEOd','173222TpcFGN'];a244_0x235a=function(){return _0x30737b;};return a244_0x235a();}const EXPLICIT_YES_COMMANDS=new Set([a244_0x551f1e(0x1aa),a244_0x551f1e(0x1a5),a244_0x551f1e(0x1ab),a244_0x551f1e(0x1a9)]);export const EXPLICIT_YES_FLAG_DESCRIPTION='Required\x20for\x20execution\x20after\x20reviewing\x20the\x20--dry-run\x20plan';export function requiresExplicitYes(_0x1ff335){const _0x3786ca=a244_0x551f1e;return EXPLICIT_YES_COMMANDS['has'](_0x1ff335[_0x3786ca(0x1a8)]+'\x20'+_0x1ff335[_0x3786ca(0x1a0)]);}
@@ -1 +1 @@
1
- const a245_0x5219db=a245_0x361e;(function(_0x5d49e1,_0x5ea354){const _0x188919=a245_0x361e,_0x2d7a45=_0x5d49e1();while(!![]){try{const _0x1e942e=-parseInt(_0x188919(0x187))/0x1+parseInt(_0x188919(0x181))/0x2+-parseInt(_0x188919(0x183))/0x3*(-parseInt(_0x188919(0x186))/0x4)+-parseInt(_0x188919(0x184))/0x5*(-parseInt(_0x188919(0x182))/0x6)+parseInt(_0x188919(0x188))/0x7+parseInt(_0x188919(0x17f))/0x8*(-parseInt(_0x188919(0x185))/0x9)+-parseInt(_0x188919(0x180))/0xa;if(_0x1e942e===_0x5ea354)break;else _0x2d7a45['push'](_0x2d7a45['shift']());}catch(_0x40fd1b){_0x2d7a45['push'](_0x2d7a45['shift']());}}}(a245_0x1384,0xd1bdd));import{createFlagHelpers}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a245_0x1384(){const _0x485f86=['294459nTVwQb','185460isqsSl','9xVZtnm','32XEMVjY','1502720PCLYhU','2113573ZrzQei','parseFlags','3264280JLlSjA','4794810dZxvbY','2173012nAsxeR','174GXqYDd'];a245_0x1384=function(){return _0x485f86;};return a245_0x1384();}const helpers=createFlagHelpers(CliErrors);function a245_0x361e(_0x453fb7,_0x363eec){_0x453fb7=_0x453fb7-0x17f;const _0x1384a7=a245_0x1384();let _0x361e7a=_0x1384a7[_0x453fb7];return _0x361e7a;}export const parseFlags=helpers[a245_0x5219db(0x189)];export const validateFlags=helpers['validateFlags'];
1
+ const a245_0x14f75b=a245_0x18a8;(function(_0x590057,_0x2addf6){const _0x44f588=a245_0x18a8,_0x9cd4a1=_0x590057();while(!![]){try{const _0x2a6245=parseInt(_0x44f588(0x1e5))/0x1*(-parseInt(_0x44f588(0x1ef))/0x2)+-parseInt(_0x44f588(0x1eb))/0x3*(-parseInt(_0x44f588(0x1e7))/0x4)+parseInt(_0x44f588(0x1ee))/0x5+-parseInt(_0x44f588(0x1ea))/0x6*(parseInt(_0x44f588(0x1ed))/0x7)+parseInt(_0x44f588(0x1e6))/0x8+parseInt(_0x44f588(0x1e9))/0x9+parseInt(_0x44f588(0x1ec))/0xa;if(_0x2a6245===_0x2addf6)break;else _0x9cd4a1['push'](_0x9cd4a1['shift']());}catch(_0x5d60c1){_0x9cd4a1['push'](_0x9cd4a1['shift']());}}}(a245_0x37bf,0xd1a5d));import{createFlagHelpers}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers[a245_0x14f75b(0x1f0)];function a245_0x18a8(_0x48f045,_0x3df458){_0x48f045=_0x48f045-0x1e5;const _0x37bf53=a245_0x37bf();let _0x18a808=_0x37bf53[_0x48f045];return _0x18a808;}function a245_0x37bf(){const _0x5efa01=['39014muduPR','parseFlags','73CeGmvO','67416uhlayk','256AHZtoT','validateFlags','3656664OQloTX','1370910RYIwEE','50109SAsPHm','951750aJAFHw','14DrCVpz','5804040zlEOwG'];a245_0x37bf=function(){return _0x5efa01;};return a245_0x37bf();}export const validateFlags=helpers[a245_0x14f75b(0x1e8)];
@@ -1,4 +1,4 @@
1
1
  import type { CommandDefinition } from "../framework/types.js";
2
2
  export declare function generateCommandHelp(def: CommandDefinition): string;
3
- export declare const generateServiceHelp: (service: string) => string;
4
- export declare const generateFullHelp: () => string;
3
+ export declare function generateServiceHelp(service: string): string;
4
+ export declare function generateFullHelp(): string;
@@ -1 +1 @@
1
- function a246_0x1698(){const _0x3d54d7=['201wXrfzS','Requires\x20--yes\x20to\x20confirm,\x20or\x20interactive\x20prompt.','2610wrffcn','generateCommandHelp','generateFullHelp','6334314pcvwIA','Requires\x20appcode\x20(set\x20via\x20`','replace','\x20[args]\x20[flags]','get','2639965etgViw','26019meBgKs','6450594FqCHZi','544328iBPrKW','1448hSBqGD','\x20workspace\x20init`\x20or\x20--appcode).','4kRjunR','3913940ZaqSpr','generateServiceHelp'];a246_0x1698=function(){return _0x3d54d7;};return a246_0x1698();}function a246_0x4790(_0x3b1e8f,_0x49c8c7){_0x3b1e8f=_0x3b1e8f-0x11b;const _0x169848=a246_0x1698();let _0x479066=_0x169848[_0x3b1e8f];return _0x479066;}const a246_0x5e800f=a246_0x4790;(function(_0x5911ce,_0x53ad10){const _0x48e67b=a246_0x4790,_0x1f0101=_0x5911ce();while(!![]){try{const _0x21b717=parseInt(_0x48e67b(0x120))/0x1+parseInt(_0x48e67b(0x128))/0x2*(-parseInt(_0x48e67b(0x126))/0x3)+parseInt(_0x48e67b(0x123))/0x4*(parseInt(_0x48e67b(0x11d))/0x5)+-parseInt(_0x48e67b(0x11f))/0x6+parseInt(_0x48e67b(0x12b))/0x7+parseInt(_0x48e67b(0x121))/0x8*(-parseInt(_0x48e67b(0x11e))/0x9)+parseInt(_0x48e67b(0x124))/0xa;if(_0x21b717===_0x53ad10)break;else _0x1f0101['push'](_0x1f0101['shift']());}catch(_0x28df95){_0x1f0101['push'](_0x1f0101['shift']());}}}(a246_0x1698,0xa6b3c));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';const generators=createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x96d014=>serviceGroups[a246_0x5e800f(0x11c)](_0x96d014),'buildAllFlags':buildAllFlags,'appPrerequisiteText':a246_0x5e800f(0x12c)+CLI_BIN_NAME+a246_0x5e800f(0x122),'serviceUsageSuffix':a246_0x5e800f(0x11b)});export function generateCommandHelp(_0x15ba96){const _0x4c3dc7=a246_0x5e800f,_0x27bf08=generators[_0x4c3dc7(0x129)](_0x15ba96);if(!requiresExplicitYes(_0x15ba96))return _0x27bf08;return _0x27bf08[_0x4c3dc7(0x12d)](_0x4c3dc7(0x127),'Requires\x20explicit\x20--yes\x20for\x20execution;\x20use\x20--dry-run\x20to\x20preview.');}export const generateServiceHelp=generators[a246_0x5e800f(0x125)];export const generateFullHelp=generators[a246_0x5e800f(0x12a)];
1
+ (function(_0xd27532,_0x2b8997){const _0x5bc6ae=a246_0x3c62,_0x28654f=_0xd27532();while(!![]){try{const _0x525ecb=parseInt(_0x5bc6ae(0x144))/0x1*(parseInt(_0x5bc6ae(0x147))/0x2)+parseInt(_0x5bc6ae(0x143))/0x3*(parseInt(_0x5bc6ae(0x13e))/0x4)+parseInt(_0x5bc6ae(0x13c))/0x5+-parseInt(_0x5bc6ae(0x140))/0x6*(parseInt(_0x5bc6ae(0x13f))/0x7)+parseInt(_0x5bc6ae(0x13d))/0x8*(-parseInt(_0x5bc6ae(0x138))/0x9)+-parseInt(_0x5bc6ae(0x137))/0xa*(-parseInt(_0x5bc6ae(0x146))/0xb)+parseInt(_0x5bc6ae(0x141))/0xc;if(_0x525ecb===_0x2b8997)break;else _0x28654f['push'](_0x28654f['shift']());}catch(_0x12e449){_0x28654f['push'](_0x28654f['shift']());}}}(a246_0x2198,0xed36c));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';function a246_0x3c62(_0x4b4bc5,_0x168666){_0x4b4bc5=_0x4b4bc5-0x137;const _0x2198bc=a246_0x2198();let _0x3c621e=_0x2198bc[_0x4b4bc5];return _0x3c621e;}import{requiresExplicitYes}from'../framework/explicit-yes.js';function createGenerators(){const _0x140cb1=a246_0x3c62;return createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0xf870af=>serviceGroups['get'](_0xf870af),'buildAllFlags':buildAllFlags,'appPrerequisiteText':_0x140cb1(0x142)+CLI_BIN_NAME+_0x140cb1(0x145),'serviceUsageSuffix':'\x20[args]\x20[flags]'});}function a246_0x2198(){const _0x5d6d5d=['6iLxRVz','6988704ktjrzV','Requires\x20appcode\x20(set\x20via\x20`','3VGHhcq','1237967DwEFFp','\x20workspace\x20init`\x20or\x20--appcode).','32142geWseE','2bRmmRE','5030CBJMXx','6795567zTkJNh','generateFullHelp','replace','generateCommandHelp','41040qbDSnO','8PNomDJ','1310100AduEzi','13294169hkYDNE'];a246_0x2198=function(){return _0x5d6d5d;};return a246_0x2198();}export function generateCommandHelp(_0x5d5324){const _0x273319=a246_0x3c62,_0x2eeddf=createGenerators()[_0x273319(0x13b)](_0x5d5324);if(!requiresExplicitYes(_0x5d5324))return _0x2eeddf;return _0x2eeddf[_0x273319(0x13a)]('Requires\x20--yes\x20to\x20confirm,\x20or\x20interactive\x20prompt.','Requires\x20explicit\x20--yes\x20for\x20execution;\x20use\x20--dry-run\x20to\x20preview.');}export function generateServiceHelp(_0x78ee07){return createGenerators()['generateServiceHelp'](_0x78ee07);}export function generateFullHelp(){const _0x119944=a246_0x3c62;return createGenerators()[_0x119944(0x139)]();}
@@ -1 +1 @@
1
- function a247_0x4444(){var _0xc9016c=['36OpjrLB','2830452HUepcr','710PqBtQg','3291510yvMCcC','671839KsLCtr','4909864FrMINc','5853kEAKiu','4435808hJqFEF','931585xsDJcP'];a247_0x4444=function(){return _0xc9016c;};return a247_0x4444();}(function(_0x38bf3f,_0x437ca5){var _0x244ecc=a247_0x5664,_0x2de673=_0x38bf3f();while(!![]){try{var _0x3500ef=-parseInt(_0x244ecc(0x8a))/0x1+parseInt(_0x244ecc(0x8d))/0x2*(-parseInt(_0x244ecc(0x88))/0x3)+parseInt(_0x244ecc(0x89))/0x4+-parseInt(_0x244ecc(0x8e))/0x5+-parseInt(_0x244ecc(0x8c))/0x6+-parseInt(_0x244ecc(0x86))/0x7+-parseInt(_0x244ecc(0x87))/0x8*(-parseInt(_0x244ecc(0x8b))/0x9);if(_0x3500ef===_0x437ca5)break;else _0x2de673['push'](_0x2de673['shift']());}catch(_0xb61e1e){_0x2de673['push'](_0x2de673['shift']());}}}(a247_0x4444,0xae3c9));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';export{extractList,extractPaging}from'../framework/response.js';function a247_0x5664(_0x347481,_0x3d6897){_0x347481=_0x347481-0x86;var _0x4444dd=a247_0x4444();var _0x5664f9=_0x4444dd[_0x347481];return _0x5664f9;}export{riskLevelOrder}from'../framework/types.js';
1
+ (function(_0x5c11b7,_0x2fcfd5){var _0x91ab8d=a247_0x1949,_0x32afc9=_0x5c11b7();while(!![]){try{var _0x5c43d5=-parseInt(_0x91ab8d(0x127))/0x1*(parseInt(_0x91ab8d(0x121))/0x2)+-parseInt(_0x91ab8d(0x11e))/0x3*(-parseInt(_0x91ab8d(0x11d))/0x4)+parseInt(_0x91ab8d(0x123))/0x5*(-parseInt(_0x91ab8d(0x120))/0x6)+parseInt(_0x91ab8d(0x11f))/0x7*(parseInt(_0x91ab8d(0x124))/0x8)+parseInt(_0x91ab8d(0x122))/0x9+parseInt(_0x91ab8d(0x125))/0xa+parseInt(_0x91ab8d(0x126))/0xb;if(_0x5c43d5===_0x2fcfd5)break;else _0x32afc9['push'](_0x32afc9['shift']());}catch(_0x3cb518){_0x32afc9['push'](_0x32afc9['shift']());}}}(a247_0x3edd,0x8468c));export{runCommand}from'../framework/runner.js';function a247_0x3edd(){var _0x463323=['158HRCQRm','1809459Vzbmxe','2586670kxraLD','8qNBeyD','3400520AdwqlE','7957048mSTnKl','12821WDtXNq','381772DUYDFI','21jZIuGm','979783pVSNSi','6dPLIJC'];a247_0x3edd=function(){return _0x463323;};return a247_0x3edd();}export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';function a247_0x1949(_0x481358,_0x3c0a8b){_0x481358=_0x481358-0x11d;var _0x3eddef=a247_0x3edd();var _0x194916=_0x3eddef[_0x481358];return _0x194916;}export{riskLevelOrder}from'../framework/types.js';
@@ -1 +1 @@
1
- (function(_0x4789e4,_0xd1fca5){const _0xf3b9c8=a248_0x19b5,_0x3533d1=_0x4789e4();while(!![]){try{const _0x558b1c=parseInt(_0xf3b9c8(0x1d4))/0x1*(parseInt(_0xf3b9c8(0x1e0))/0x2)+parseInt(_0xf3b9c8(0x1dc))/0x3+-parseInt(_0xf3b9c8(0x1d5))/0x4*(-parseInt(_0xf3b9c8(0x1e6))/0x5)+-parseInt(_0xf3b9c8(0x1db))/0x6+parseInt(_0xf3b9c8(0x1d2))/0x7+parseInt(_0xf3b9c8(0x1e4))/0x8+-parseInt(_0xf3b9c8(0x1de))/0x9*(parseInt(_0xf3b9c8(0x1da))/0xa);if(_0x558b1c===_0xd1fca5)break;else _0x3533d1['push'](_0x3533d1['shift']());}catch(_0x42cd00){_0x3533d1['push'](_0x3533d1['shift']());}}}(a248_0x459e,0xb1bc6));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a248_0x19b5(_0x5b147c,_0x1168ec){_0x5b147c=_0x5b147c-0x1cd;const _0x459e6d=a248_0x459e();let _0x19b54d=_0x459e6d[_0x5b147c];return _0x19b54d;}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(_0x47057c,_0xa5c21d){const _0x55356b=a248_0x19b5,_0x452b14=_0x47057c['_notice'],{_notice:_0x38d1bd,..._0x36b717}=_0x47057c;void _0x38d1bd,baseFormatOutput(_0x36b717,_0xa5c21d),_0xa5c21d[_0x55356b(0x1cd)]===_0x55356b(0x1cf)&&printPrettyNotice(_0x452b14);}function a248_0x459e(){const _0x370644=['pretty','command','message','6898045udGRzp','code','215ebGFqu','192aVyCNS','stdout','validation','json','data','760TpFjXF','2047014PEholi','4275165IQCZec','url','273933RHBTfQ','error','2692WkNmFX','stringify','update','risk','2727896yqnWmc','hint','35575qyyVnm','format','endsWith'];a248_0x459e=function(){return _0x370644;};return a248_0x459e();}export function formatCliError(_0xf13ed0,_0x454e62){const _0x309e64=a248_0x19b5;if(_0x454e62[_0x309e64(0x1cd)]===_0x309e64(0x1cf))return![];const _0x5775df=_0xf13ed0[_0x309e64(0x1d9)],_0x468b71={'ok':![],'command':_0x454e62[_0x309e64(0x1d0)],'risk':_0x454e62[_0x309e64(0x1e3)],'data':_0x5775df??null,'error':{'code':_0xf13ed0[_0x309e64(0x1d3)],'message':_0xf13ed0['message'],..._0xf13ed0[_0x309e64(0x1e5)]?{'hint':_0xf13ed0[_0x309e64(0x1e5)]}:{}}},_0x156813=_0x454e62[_0x309e64(0x1cd)]===_0x309e64(0x1d8)?JSON[_0x309e64(0x1e1)](_0x468b71,null,0x2):JSON[_0x309e64(0x1e1)](_0x468b71);let _0x1c039c=_0x156813;if(_0x454e62['jqFilter']?.['trim']())try{_0x1c039c=applyJqFilter(_0x156813,_0x454e62['jqFilter']);}catch(_0x5ac89b){const _0x5d5805=_0x5ac89b instanceof CliError?_0x5ac89b:CliErrors[_0x309e64(0x1d7)]('jq:\x20'+(_0x5ac89b instanceof Error?_0x5ac89b[_0x309e64(0x1d1)]:String(_0x5ac89b))),_0x84dec1={..._0x468b71,'error':{'code':_0x5d5805['code'],'message':_0x5d5805[_0x309e64(0x1d1)],..._0x5d5805[_0x309e64(0x1e5)]?{'hint':_0x5d5805[_0x309e64(0x1e5)]}:{},'cause':_0x468b71['error']}};_0x1c039c=_0x454e62['format']==='json'?JSON[_0x309e64(0x1e1)](_0x84dec1,null,0x2):JSON[_0x309e64(0x1e1)](_0x84dec1);}return process[_0x309e64(0x1d6)]['write'](_0x1c039c[_0x309e64(0x1ce)]('\x0a')?_0x1c039c:_0x1c039c+'\x0a'),!![];}function printPrettyNotice(_0x30b786){const _0x2364d0=a248_0x19b5;if(!_0x30b786?.['update'])return;console[_0x2364d0(0x1df)](_0x30b786[_0x2364d0(0x1e2)][_0x2364d0(0x1d1)]+'\x20('+_0x30b786[_0x2364d0(0x1e2)][_0x2364d0(0x1dd)]+')');}
1
+ (function(_0x3c2171,_0x2fc64e){const _0x3d77f3=a248_0x37ad,_0x2b6b6e=_0x3c2171();while(!![]){try{const _0x3b80ae=parseInt(_0x3d77f3(0x125))/0x1+-parseInt(_0x3d77f3(0x11c))/0x2+parseInt(_0x3d77f3(0x122))/0x3+-parseInt(_0x3d77f3(0x134))/0x4*(-parseInt(_0x3d77f3(0x123))/0x5)+parseInt(_0x3d77f3(0x12a))/0x6*(parseInt(_0x3d77f3(0x136))/0x7)+-parseInt(_0x3d77f3(0x12f))/0x8*(-parseInt(_0x3d77f3(0x129))/0x9)+-parseInt(_0x3d77f3(0x137))/0xa;if(_0x3b80ae===_0x2fc64e)break;else _0x2b6b6e['push'](_0x2b6b6e['shift']());}catch(_0x50d8bc){_0x2b6b6e['push'](_0x2b6b6e['shift']());}}}(a248_0x46e6,0x2e69f));function a248_0x37ad(_0x3961dc,_0x8fdfa3){_0x3961dc=_0x3961dc-0x11b;const _0x46e6a6=a248_0x46e6();let _0x37adce=_0x46e6a6[_0x3961dc];return _0x37adce;}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(_0x3c4e3f,_0x2b77ce){const _0xe73357=a248_0x37ad,_0x355df1=_0x3c4e3f[_0xe73357(0x133)],{_notice:_0x25cb06,..._0x1fd6de}=_0x3c4e3f;void _0x25cb06,baseFormatOutput(_0x1fd6de,_0x2b77ce),_0x2b77ce[_0xe73357(0x11e)]==='pretty'&&printPrettyNotice(_0x355df1);}function a248_0x46e6(){const _0x2d0a4a=['330260KfmHPK','endsWith','format','code','risk','jqFilter','561540MrvYcj','5KxXMVH','validation','111891FyTAbG','trim','data','stdout','660987JxpabG','1542PeGMhy','update','command','json','url','32FTJimA','pretty','write','error','_notice','500012KSVMUK','hint','119RWMCrP','3669740ArxQAc','stringify','message'];a248_0x46e6=function(){return _0x2d0a4a;};return a248_0x46e6();}export function formatCliError(_0xaaf295,_0x4027b1){const _0x1515f4=a248_0x37ad;if(_0x4027b1[_0x1515f4(0x11e)]===_0x1515f4(0x130))return![];const _0x4d51f8=_0xaaf295[_0x1515f4(0x127)],_0x46ee13={'ok':![],'command':_0x4027b1[_0x1515f4(0x12c)],'risk':_0x4027b1[_0x1515f4(0x120)],'data':_0x4d51f8??null,'error':{'code':_0xaaf295[_0x1515f4(0x11f)],'message':_0xaaf295[_0x1515f4(0x11b)],..._0xaaf295[_0x1515f4(0x135)]?{'hint':_0xaaf295[_0x1515f4(0x135)]}:{}}},_0x5a9c36=_0x4027b1[_0x1515f4(0x11e)]==='json'?JSON['stringify'](_0x46ee13,null,0x2):JSON[_0x1515f4(0x138)](_0x46ee13);let _0x375f41=_0x5a9c36;if(_0x4027b1[_0x1515f4(0x121)]?.[_0x1515f4(0x126)]())try{_0x375f41=applyJqFilter(_0x5a9c36,_0x4027b1[_0x1515f4(0x121)]);}catch(_0x5bc458){const _0x1cb62a=_0x5bc458 instanceof CliError?_0x5bc458:CliErrors[_0x1515f4(0x124)]('jq:\x20'+(_0x5bc458 instanceof Error?_0x5bc458[_0x1515f4(0x11b)]:String(_0x5bc458))),_0x3a0843={..._0x46ee13,'error':{'code':_0x1cb62a[_0x1515f4(0x11f)],'message':_0x1cb62a[_0x1515f4(0x11b)],..._0x1cb62a[_0x1515f4(0x135)]?{'hint':_0x1cb62a['hint']}:{},'cause':_0x46ee13[_0x1515f4(0x132)]}};_0x375f41=_0x4027b1[_0x1515f4(0x11e)]===_0x1515f4(0x12d)?JSON[_0x1515f4(0x138)](_0x3a0843,null,0x2):JSON['stringify'](_0x3a0843);}return process[_0x1515f4(0x128)][_0x1515f4(0x131)](_0x375f41[_0x1515f4(0x11d)]('\x0a')?_0x375f41:_0x375f41+'\x0a'),!![];}function printPrettyNotice(_0x57aa6a){const _0x51b5df=a248_0x37ad;if(!_0x57aa6a?.['update'])return;console[_0x51b5df(0x132)](_0x57aa6a[_0x51b5df(0x12b)]['message']+'\x20('+_0x57aa6a[_0x51b5df(0x12b)][_0x51b5df(0x12e)]+')');}
@@ -1 +1 @@
1
- (function(_0x3293dc,_0x26d8d5){var _0x24d79b=a249_0x33ed,_0x1203fc=_0x3293dc();while(!![]){try{var _0x1b1266=parseInt(_0x24d79b(0xea))/0x1*(parseInt(_0x24d79b(0xee))/0x2)+-parseInt(_0x24d79b(0xef))/0x3*(-parseInt(_0x24d79b(0xe9))/0x4)+-parseInt(_0x24d79b(0xed))/0x5*(-parseInt(_0x24d79b(0xe6))/0x6)+-parseInt(_0x24d79b(0xec))/0x7+-parseInt(_0x24d79b(0xf0))/0x8*(-parseInt(_0x24d79b(0xe7))/0x9)+parseInt(_0x24d79b(0xeb))/0xa+-parseInt(_0x24d79b(0xe8))/0xb;if(_0x1b1266===_0x26d8d5)break;else _0x1203fc['push'](_0x1203fc['shift']());}catch(_0x590ca7){_0x1203fc['push'](_0x1203fc['shift']());}}}(a249_0x48af,0x51364));function a249_0x33ed(_0x48a8e1,_0x42f42c){_0x48a8e1=_0x48a8e1-0xe6;var _0x48af45=a249_0x48af();var _0x33eddd=_0x48af45[_0x48a8e1];return _0x33eddd;}export{extractList,extractPaging}from'@lovrabet/cli-framework';function a249_0x48af(){var _0x7997f5=['1374gSmSpS','1700088jFomts','42uOYBxt','27qSQbhj','20730468GoXfoT','4188SwNiJK','12004WVsuGk','4536390FZUkgp','2980292avypzS','422950TOsKgQ','80DtmajB'];a249_0x48af=function(){return _0x7997f5;};return a249_0x48af();}
1
+ (function(_0x450e1a,_0x35c9af){var _0x190048=a249_0x392a,_0x571852=_0x450e1a();while(!![]){try{var _0x51f759=parseInt(_0x190048(0x188))/0x1*(parseInt(_0x190048(0x190))/0x2)+parseInt(_0x190048(0x18d))/0x3*(-parseInt(_0x190048(0x192))/0x4)+parseInt(_0x190048(0x18e))/0x5*(parseInt(_0x190048(0x18b))/0x6)+-parseInt(_0x190048(0x18f))/0x7+-parseInt(_0x190048(0x193))/0x8*(parseInt(_0x190048(0x189))/0x9)+parseInt(_0x190048(0x18c))/0xa*(parseInt(_0x190048(0x191))/0xb)+-parseInt(_0x190048(0x18a))/0xc;if(_0x51f759===_0x35c9af)break;else _0x571852['push'](_0x571852['shift']());}catch(_0x533da0){_0x571852['push'](_0x571852['shift']());}}}(a249_0x137b,0xb9b70));function a249_0x392a(_0x2e8b19,_0x49904f){_0x2e8b19=_0x2e8b19-0x188;var _0x137bae=a249_0x137b();var _0x392a8e=_0x137bae[_0x2e8b19];return _0x392a8e;}export{extractList,extractPaging}from'@lovrabet/cli-framework';function a249_0x137b(){var _0x593a5c=['2ltsgjD','130185EStCEW','2862572YNlfGS','1667752KedCMT','1413011DHBGaf','18MvzszN','13664976pYWEuG','6848802jiDEGJ','470wJqbWN','3IYBBAb','5jPPsSF','550942OVeljI'];a249_0x137b=function(){return _0x593a5c;};return a249_0x137b();}
@@ -1 +1 @@
1
- (function(_0x241641,_0x12dd3e){const _0x120584=a250_0x3fb4,_0x11a7c2=_0x241641();while(!![]){try{const _0x408888=-parseInt(_0x120584(0x15f))/0x1*(parseInt(_0x120584(0x15a))/0x2)+-parseInt(_0x120584(0x164))/0x3+parseInt(_0x120584(0x15c))/0x4*(-parseInt(_0x120584(0x15e))/0x5)+-parseInt(_0x120584(0x161))/0x6+parseInt(_0x120584(0x163))/0x7*(parseInt(_0x120584(0x16f))/0x8)+-parseInt(_0x120584(0x167))/0x9*(-parseInt(_0x120584(0x158))/0xa)+parseInt(_0x120584(0x162))/0xb*(parseInt(_0x120584(0x15d))/0xc);if(_0x408888===_0x12dd3e)break;else _0x11a7c2['push'](_0x11a7c2['shift']());}catch(_0x314026){_0x11a7c2['push'](_0x11a7c2['shift']());}}}(a250_0x4dbc,0x6f2e6));import{CliErrors}from'../errors.js';function a250_0x4dbc(){const _0x5dae28=['join','81392ugspCI','name','flags','code','map','\x20api\x20pull`\x20first.','4992980yDtqPI','alias','276314UTDldC','type','8isbwwc','12QqDIgs','1945205bTNYli','4imlAKG','some','2097024dzYDVV','24719123HPKCSu','7kmVYzB','1863159AHFdfq','Unknown\x20alias\x20\x22','length','9vDtjoJ','Available\x20aliases:\x20','`\x20requires\x20either\x20--code\x20or\x20--alias.','string','.\x20Run\x20`','\x22.\x20','validation'];a250_0x4dbc=function(){return _0x5dae28;};return a250_0x4dbc();}import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';function a250_0x3fb4(_0x26614a,_0x3d350a){_0x26614a=_0x26614a-0x158;const _0x4dbc4e=a250_0x4dbc();let _0x3fb41e=_0x4dbc4e[_0x26614a];return _0x3fb41e;}export function resolveAliasToCode(_0xb17562,_0x373d22,_0x10fc47,_0x1900db){const _0x3afa30=a250_0x3fb4,_0x399766=_0xb17562[_0x3afa30(0x171)][_0x3afa30(0x160)](_0x3a83c8=>_0x3a83c8['name']===_0x3afa30(0x172)&&_0x3a83c8[_0x3afa30(0x15b)]===_0x3afa30(0x16a)),_0x57a409=_0xb17562['flags'][_0x3afa30(0x160)](_0x3f55ed=>_0x3f55ed[_0x3afa30(0x170)]===_0x3afa30(0x159)&&_0x3f55ed[_0x3afa30(0x15b)]===_0x3afa30(0x16a));if(!_0x399766||!_0x57a409)return;const _0x37ba86=_0x373d22[_0x3afa30(0x172)]?String(_0x373d22[_0x3afa30(0x172)]):'',_0xd65ba=_0x373d22['alias']?String(_0x373d22[_0x3afa30(0x159)]):'';if(!_0x37ba86&&!_0xd65ba)throw CliErrors[_0x3afa30(0x16d)]('`'+_0x1900db+_0x3afa30(0x169));if(_0xd65ba&&!_0x37ba86){const _0xc1f408=resolveAlias(_0x10fc47,_0xd65ba);if(!_0xc1f408){const _0x59f87c=listAliases(_0x10fc47)[_0x3afa30(0x173)](_0x338cce=>_0x338cce['alias']),_0x4a60cd=_0x59f87c[_0x3afa30(0x166)]?_0x3afa30(0x168)+_0x59f87c[_0x3afa30(0x16e)](',\x20'):'No\x20api.ts\x20found\x20in\x20'+_0x10fc47+_0x3afa30(0x16b)+CLI_BIN_NAME+_0x3afa30(0x174);throw CliErrors[_0x3afa30(0x16d)](_0x3afa30(0x165)+_0xd65ba+_0x3afa30(0x16c)+_0x4a60cd);}_0x373d22[_0x3afa30(0x172)]=_0xc1f408;}}
1
+ function a250_0x24e9(_0x269a50,_0x33fcf1){_0x269a50=_0x269a50-0x15a;const _0x436f44=a250_0x436f();let _0x24e9e0=_0x436f44[_0x269a50];return _0x24e9e0;}(function(_0x155d81,_0x147061){const _0x406da7=a250_0x24e9,_0x4e73dc=_0x155d81();while(!![]){try{const _0x9881e6=parseInt(_0x406da7(0x16f))/0x1*(-parseInt(_0x406da7(0x16e))/0x2)+-parseInt(_0x406da7(0x15d))/0x3*(-parseInt(_0x406da7(0x16a))/0x4)+parseInt(_0x406da7(0x166))/0x5+-parseInt(_0x406da7(0x15a))/0x6+parseInt(_0x406da7(0x165))/0x7+-parseInt(_0x406da7(0x161))/0x8+-parseInt(_0x406da7(0x163))/0x9*(parseInt(_0x406da7(0x172))/0xa);if(_0x9881e6===_0x147061)break;else _0x4e73dc['push'](_0x4e73dc['shift']());}catch(_0x22ddcf){_0x4e73dc['push'](_0x4e73dc['shift']());}}}(a250_0x436f,0x51235));import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';function a250_0x436f(){const _0x331d6c=['type','flags','730HaZywg','\x22.\x20','3936450nOIYRR','join','code','12381qxZOwf','map','\x20api\x20pull`\x20first.','validation','468584rjHQXi','string','13599IaPbsJ','Unknown\x20alias\x20\x22','3757628EOohcq','2294540BwXUsg','name','length','alias','404NanYSG','some','No\x20api.ts\x20found\x20in\x20','.\x20Run\x20`','2fFcWTB','255247VelNkF'];a250_0x436f=function(){return _0x331d6c;};return a250_0x436f();}import{CLI_BIN_NAME}from'../constant/cli.js';export function resolveAliasToCode(_0x519d0c,_0x4d2beb,_0x19421f,_0x2124ee){const _0x45a9c8=a250_0x24e9,_0x413a8f=_0x519d0c[_0x45a9c8(0x171)][_0x45a9c8(0x16b)](_0x2bca5f=>_0x2bca5f['name']==='code'&&_0x2bca5f[_0x45a9c8(0x170)]===_0x45a9c8(0x162)),_0x12b2a3=_0x519d0c[_0x45a9c8(0x171)]['some'](_0x132aa4=>_0x132aa4[_0x45a9c8(0x167)]===_0x45a9c8(0x169)&&_0x132aa4[_0x45a9c8(0x170)]===_0x45a9c8(0x162));if(!_0x413a8f||!_0x12b2a3)return;const _0x2281af=_0x4d2beb[_0x45a9c8(0x15c)]?String(_0x4d2beb[_0x45a9c8(0x15c)]):'',_0x1e3bc7=_0x4d2beb[_0x45a9c8(0x169)]?String(_0x4d2beb[_0x45a9c8(0x169)]):'';if(!_0x2281af&&!_0x1e3bc7)throw CliErrors[_0x45a9c8(0x160)]('`'+_0x2124ee+'`\x20requires\x20either\x20--code\x20or\x20--alias.');if(_0x1e3bc7&&!_0x2281af){const _0x24fd15=resolveAlias(_0x19421f,_0x1e3bc7);if(!_0x24fd15){const _0x42e30c=listAliases(_0x19421f)[_0x45a9c8(0x15e)](_0x507a71=>_0x507a71[_0x45a9c8(0x169)]),_0x3d5271=_0x42e30c[_0x45a9c8(0x168)]?'Available\x20aliases:\x20'+_0x42e30c[_0x45a9c8(0x15b)](',\x20'):_0x45a9c8(0x16c)+_0x19421f+_0x45a9c8(0x16d)+CLI_BIN_NAME+_0x45a9c8(0x15f);throw CliErrors[_0x45a9c8(0x160)](_0x45a9c8(0x164)+_0x1e3bc7+_0x45a9c8(0x173)+_0x3d5271);}_0x4d2beb[_0x45a9c8(0x15c)]=_0x24fd15;}}
@@ -1 +1 @@
1
- (function(_0x1f2430,_0x1fb749){const _0x4ffe68=a251_0x59e2,_0x15d6b6=_0x1f2430();while(!![]){try{const _0x7fd6cc=parseInt(_0x4ffe68(0x1ae))/0x1*(-parseInt(_0x4ffe68(0x19e))/0x2)+-parseInt(_0x4ffe68(0x1b6))/0x3+-parseInt(_0x4ffe68(0x1bf))/0x4*(-parseInt(_0x4ffe68(0x1a8))/0x5)+-parseInt(_0x4ffe68(0x17f))/0x6*(parseInt(_0x4ffe68(0x184))/0x7)+-parseInt(_0x4ffe68(0x17e))/0x8+-parseInt(_0x4ffe68(0x18b))/0x9+parseInt(_0x4ffe68(0x19f))/0xa;if(_0x7fd6cc===_0x1fb749)break;else _0x15d6b6['push'](_0x15d6b6['shift']());}catch(_0x5efb2c){_0x15d6b6['push'](_0x15d6b6['shift']());}}}(a251_0x2c26,0x29972));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';function a251_0x59e2(_0x4a1e09,_0x4f1e04){_0x4a1e09=_0x4a1e09-0x179;const _0x2c26c4=a251_0x2c26();let _0x59e210=_0x2c26c4[_0x4a1e09];return _0x59e210;}import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{DEFAULT_API_DIR}from'../constant/paths.js';import{isNonInteractive as a251_0x1b1a68}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x46b7d1){const _0x24ffa7=a251_0x59e2;return typeof _0x46b7d1==='string'&&_0x46b7d1[_0x24ffa7(0x1af)]()?_0x46b7d1['trim']():undefined;}function resolveEnvAppCode(){const _0x319253=a251_0x59e2,_0x59af80=stringFlag(process.env.RABETBASE_APPCODE);if(_0x59af80)return{'name':_0x319253(0x1b9),'value':_0x59af80};const _0x95b792=stringFlag(process.env.LOVRABET_APPCODE);if(_0x95b792)return{'name':_0x319253(0x19d),'value':_0x95b792};return undefined;}function hasExplicitAppCode(_0x31b3b0,_0x166af1){const _0x2bd38b=a251_0x59e2;return!!(stringFlag(_0x31b3b0[_0x2bd38b(0x1be)])||stringFlag(_0x166af1[_0x2bd38b(0x1be)]));}function assertEnvAppCodeNotIgnored(_0x2e76f6,_0x54e4f4,_0x299f77){const _0x4ec67e=a251_0x59e2;if(!_0x54e4f4||_0x299f77||_0x2e76f6===_0x54e4f4['value'])return;const _0x7eb84a=_0x2e76f6?_0x4ec67e(0x1ab)+_0x2e76f6+'\x22.':_0x4ec67e(0x182);throw CliErrors[_0x4ec67e(0x1a0)](_0x54e4f4['name']+'='+_0x54e4f4[_0x4ec67e(0x192)]+_0x4ec67e(0x198)+_0x7eb84a+'\x20'+('To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$'+_0x54e4f4['name']+'\x22.'));}export function createPipelineEnv(_0x19b2f9,_0x561b22,_0x5001c6=[]){const _0x1f0ee7=a251_0x59e2;return{'rawFlags':_0x561b22,'args':_0x5001c6,'resolveAppCode':()=>_0x19b2f9[_0x1f0ee7(0x1a3)],'resolveCookie':()=>_0x19b2f9[_0x1f0ee7(0x18e)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a251_0x1b1a68(_0x561b22),'defaultFormat':_0x19b2f9[_0x1f0ee7(0x1ad)],'defaultPageSize':_0x19b2f9[_0x1f0ee7(0x187)],'defaultVerbose':_0x19b2f9[_0x1f0ee7(0x1a5)],'apiDir':_0x19b2f9[_0x1f0ee7(0x180)],'riskLevel':_0x19b2f9[_0x1f0ee7(0x1b5)],'selectedAppName':_0x19b2f9[_0x1f0ee7(0x17a)],'mergedCli':{'defaultApp':_0x19b2f9['defaultApp'],'currentApp':_0x19b2f9['currentApp'],'appCode':_0x19b2f9[_0x1f0ee7(0x1a3)],'apps':_0x19b2f9[_0x1f0ee7(0x179)]}};}export function createRabetbaseRunnerAdapter(_0x49ff1f={}){const _0x123d65=a251_0x59e2;return{'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[_0x123d65(0x1c2)](_0xf620ab=>PIPELINE_FLAG_NAMES[_0x123d65(0x1a6)](_0xf620ab['name']))[_0x123d65(0x197)](({name:_0x439b26,type:_0x117f2c,description:_0x150501})=>({'name':_0x439b26,'type':_0x117f2c,'description':_0x150501})),'formatOutput':_0x49ff1f[_0x123d65(0x193)]??formatOutput,'getCommandLabel'(_0x4f9b24){const _0x14a053=_0x123d65;return CLI_BIN_NAME+'\x20'+_0x4f9b24[_0x14a053(0x19b)]+'\x20'+_0x4f9b24[_0x14a053(0x188)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x246605,{def:_0x2f72a4}){const _0x39e6f4=_0x123d65,_0x266981=_0x246605[_0x39e6f4(0x194)](_0x39e6f4(0x190))?'AI\x20Agents\x20and\x20automated\x20scripts\x20must\x20not\x20modify\x20riskLevel\x20or\x20attempt\x20to\x20elevate\x20it.':'A\x20human\x20user\x20may\x20review\x20the\x20active\x20risk\x20ceilings\x20and\x20manually\x20edit\x20the\x20applicable\x20.rabetbase.json\x20file\x20to\x20set\x20riskLevel\x20to\x20\x22'+_0x2f72a4[_0x39e6f4(0x1a4)]+_0x39e6f4(0x191)+_0x39e6f4(0x1b4);return CliErrors[_0x39e6f4(0x1a0)](_0x246605+'\x0a\x20\x20'+_0x266981);}},async 'prepare'(_0x1e347f,_0x4a84b2,_0x47c403,_0xa970fd){const _0x45b530=_0x123d65,_0x4f46fb=_0x4a84b2[_0x45b530(0x180)]||DEFAULT_API_DIR;resolveAliasToCode(_0x1e347f,_0x47c403,_0x4f46fb,_0xa970fd);const _0x939f84=resolveCommandAuthMode(_0x1e347f);let _0x2fd11f='';if(_0x939f84!==_0x45b530(0x1b1)){_0x2fd11f=_0x4a84b2['resolveCookie']()||'';if(!_0x2fd11f){if(_0x939f84===_0x45b530(0x1aa))throw CliErrors['authRequired']();}else{const {setActiveCookie:_0x3a9381}=await import(_0x45b530(0x18c));_0x3a9381(_0x2fd11f);}}const _0xf18d93=_0x4a84b2[_0x45b530(0x19c)]()??'';if(_0x1e347f[_0x45b530(0x199)]!==![]){assertEnvAppCodeNotIgnored(_0xf18d93,resolveEnvAppCode(),hasExplicitAppCode(_0x47c403,_0x4a84b2[_0x45b530(0x1b8)]));if(!_0xf18d93)throw CliErrors[_0x45b530(0x1b7)](_0x45b530(0x17d)+CLI_BIN_NAME+_0x45b530(0x1b2));}return{'defaults':{'booleans':{'verbose':_0x4a84b2[_0x45b530(0x1a1)]},'numbers':{'pagesize':_0x4a84b2['defaultPageSize']}},'extras':{'appCode':_0xf18d93,'cookie':_0x2fd11f,'apiDomain':_0x4a84b2[_0x45b530(0x1bd)](),'apiDir':_0x4f46fb,'selectedAppName':_0x4a84b2[_0x45b530(0x1a7)],'mergedCli':_0x4a84b2['mergedCli']}};},'confirmHighRisk':_0x49ff1f[_0x123d65(0x1ac)]??(async({env:_0x4b826b,commandLabel:_0x33b0e8})=>{const _0x979049=_0x123d65;if(_0x4b826b[_0x979049(0x1c0)])throw CliErrors[_0x979049(0x1a0)](_0x979049(0x189)+_0x33b0e8+'`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.');await requireConfirmationPrompt({'lines':[_0x979049(0x18f)+_0x33b0e8,_0x979049(0x1c1)],'createCancelledError':_0x511020=>CliErrors['cancelled'](_0x511020)});}),async 'finalize'(){await clearRabetbaseCommandState();}};}const terminalRunnerAdapter=createRabetbaseRunnerAdapter();async function clearRabetbaseCommandState(){const _0x544972=a251_0x59e2,{clearActiveCookie:_0x10de1a}=await import(_0x544972(0x18c));_0x10de1a();}export async function finalizeRabetbaseRuntimeState(){const _0x2d2612=a251_0x59e2;try{await clearRabetbaseCommandState();}finally{const [{initDomains:_0x151de0},{initEnv:_0x54710c}]=await Promise[_0x2d2612(0x18a)]([import(_0x2d2612(0x1b3)),import('../constant/env.js')]);_0x151de0(),_0x54710c(_0x2d2612(0x183));}}export async function runCommand(_0xfc2026,_0x584cb1,_0x3eba74=terminalRunnerAdapter){const _0x3c37f8=a251_0x59e2;assertRejectedFlags(_0xfc2026,_0x584cb1[_0x3c37f8(0x1b8)]),await runCommandWithAdapter(shouldAttachUpdateNotice(_0xfc2026)?withUpdateNotice(_0xfc2026):_0xfc2026,_0x584cb1,_0x3eba74);}function assertRejectedFlags(_0x5239ad,_0x2b5e1c){const _0xd2540b=a251_0x59e2;for(const _0x18c9a5 of _0x5239ad[_0xd2540b(0x18d)]??[]){const _0xcaf0a5=GLOBAL_FLAGS[_0xd2540b(0x196)](_0x2d6c14=>_0x2d6c14[_0xd2540b(0x185)]===_0x18c9a5[_0xd2540b(0x185)]),_0x37d5b5=new Set([_0x18c9a5[_0xd2540b(0x185)],toCamelCase(_0x18c9a5[_0xd2540b(0x185)]),_0xcaf0a5?.[_0xd2540b(0x17b)]]),_0x57d02f=[..._0x37d5b5][_0xd2540b(0x17c)](_0x1e3039=>{if(!_0x1e3039)return![];const _0x4316f8=_0x2b5e1c[_0x1e3039];return _0x4316f8!==undefined&&_0x4316f8!==null&&_0x4316f8!==![];});if(_0x57d02f)throw CliErrors[_0xd2540b(0x1a0)](_0x18c9a5[_0xd2540b(0x1bc)],_0x18c9a5[_0xd2540b(0x1b0)]);}}function toCamelCase(_0x1419c3){const _0x40906e=a251_0x59e2;return _0x1419c3['replace'](/-([a-z])/g,(_0x19eecd,_0x4c10ba)=>_0x4c10ba[_0x40906e(0x181)]());}function a251_0x2c26(){const _0x393938=['⚠\x20\x20High-risk\x20operation:\x20','Edit\x20the\x20config\x20file\x20manually','\x22\x20if\x20this\x20operation\x20is\x20intended.\x20','value','formatOutput','includes','update','find','map','\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20','requiresAppCode','schema','service','resolveAppCode','LOVRABET_APPCODE','4684vrOsdl','11352320MFCiSF','validation','defaultVerbose','hasFormat','appCode','risk','verbose','has','selectedAppName','15EVWbHn','_notice','required','Current\x20resolved\x20appcode\x20is\x20\x22','confirmHighRisk','format','14esYsdn','trim','hint','none','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','../constant/domain.js','AI\x20Agents\x20and\x20automated\x20scripts\x20must\x20not\x20modify\x20riskLevel\x20or\x20attempt\x20to\x20elevate\x20it.','riskLevel','466731hiVQUJ','configMissing','rawFlags','RABETBASE_APPCODE','object','resolve','message','resolveApiDomain','appcode','30372riNPIV','isNonInteractive','\x20\x20\x20Continue?\x20[y/N]\x20','filter','apps','explicitAppName','meowKey','some','Set\x20appcode\x20via\x20`','2350016GAyDxG','1089246oddZqS','apiDir','toUpperCase','No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.','production','7YSrMpY','name','nonInteractive','pageSize','command','High-risk\x20operation\x20`','all','2915991bwPzIu','../core/api-client.js','rejectedFlags','cookie'];a251_0x2c26=function(){return _0x393938;};return a251_0x2c26();}function shouldAttachUpdateNotice(_0x308eb0){const _0x33445b=a251_0x59e2;if(_0x308eb0[_0x33445b(0x1a2)]===![])return![];return![_0x33445b(0x195),_0x33445b(0x19a),'doctor'][_0x33445b(0x194)](_0x308eb0['service']);}function withUpdateNotice(_0x15337a){return{..._0x15337a,async 'execute'(_0x1014a2){const _0x20b070=a251_0x59e2,_0x53fb99=shouldResolveUpdateNotice(_0x1014a2)?resolveLatestUpdateNotice()['catch'](()=>null):Promise[_0x20b070(0x1bb)](null),_0x211557=await _0x15337a['execute'](_0x1014a2);return attachUpdateNotice(_0x211557,await _0x53fb99);}};}function shouldResolveUpdateNotice(_0x53e22e){const _0x229994=a251_0x59e2;return _0x53e22e[_0x229994(0x1ad)]==='pretty'&&!_0x53e22e[_0x229994(0x186)];}function attachUpdateNotice(_0x5ee9d1,_0x4c971e){const _0x302115=a251_0x59e2;if(!_0x4c971e||!_0x5ee9d1||typeof _0x5ee9d1!=='object')return _0x5ee9d1;const _0x324f73=_0x5ee9d1,_0x9de6ad=typeof _0x324f73[_0x302115(0x1a9)]===_0x302115(0x1ba)&&_0x324f73[_0x302115(0x1a9)]!==null?_0x324f73[_0x302115(0x1a9)]:{};return{..._0x324f73,'_notice':{..._0x9de6ad,'update':_0x4c971e}};}
1
+ (function(_0x2b54f6,_0x10958e){const _0x46f01a=a251_0x23ac,_0x70488e=_0x2b54f6();while(!![]){try{const _0x4cd9ec=-parseInt(_0x46f01a(0x15b))/0x1*(parseInt(_0x46f01a(0x18a))/0x2)+-parseInt(_0x46f01a(0x16e))/0x3+parseInt(_0x46f01a(0x174))/0x4+-parseInt(_0x46f01a(0x162))/0x5+parseInt(_0x46f01a(0x17b))/0x6+-parseInt(_0x46f01a(0x180))/0x7*(parseInt(_0x46f01a(0x184))/0x8)+parseInt(_0x46f01a(0x198))/0x9;if(_0x4cd9ec===_0x10958e)break;else _0x70488e['push'](_0x70488e['shift']());}catch(_0x459ad8){_0x70488e['push'](_0x70488e['shift']());}}}(a251_0x25be,0x93722));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';function a251_0x25be(){const _0x2a3b45=['defaultVerbose','nonInteractive','3223731JFMvvH','Use\x20--appcode,\x20add\x20the\x20app\x20to\x20the\x20project\x20workspace,\x20or\x20run\x20`','join','../core/api-client.js','8MmtNuG','\x0a\x20\x20','object','includes','appCode','AI\x20Agents\x20and\x20automated\x20scripts\x20must\x20not\x20modify\x20riskLevel\x20or\x20attempt\x20to\x20elevate\x20it.','230018HxHcDt','apiDir','keys','apps','resolveAppCode','none','explicitAppName','formatOutput','message','pageSize','currentApp','required','rejectedFlags','schema','2271942VXKDUT','mergedCli','string','toUpperCase','catch','hasFormat','length','\x20config\x20delete\x20defaultApp`\x20to\x20repair\x20the\x20selection.','name','value','rawFlags','validation','meowKey','verbose','1GKwpWu','defaultPageSize','\x20workspace\x20use\x20--app\x20<name>`.\x20Available:\x20','update','\x22\x20if\x20this\x20operation\x20is\x20intended.\x20','hint','replace','606085MPOFrO','Available:\x20','_notice','App\x20\x22','format','map','service','trim','resolve','cancelled','command','resolveApiDomain','753675GPZHtK','all','pretty','risk','High-risk\x20operation\x20`','selectedAppName','1137944tfdUVJ','production','some','A\x20human\x20user\x20may\x20review\x20the\x20active\x20risk\x20ceilings\x20and\x20manually\x20edit\x20the\x20applicable\x20.rabetbase.json\x20file\x20to\x20set\x20riskLevel\x20to\x20\x22','filter','authRequired','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','6089988FGIwdK','Multiple\x20apps\x20are\x20configured\x20but\x20no\x20default\x20app\x20is\x20selected.\x20Use\x20--app\x20<name>\x20or\x20run\x20`','appcode'];a251_0x25be=function(){return _0x2a3b45;};return a251_0x25be();}import{DEFAULT_API_DIR}from'../constant/paths.js';function a251_0x23ac(_0x388078,_0x2684c5){_0x388078=_0x388078-0x156;const _0x25bef3=a251_0x25be();let _0x23ac21=_0x25bef3[_0x388078];return _0x23ac21;}import{isNonInteractive as a251_0x575a06}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x5e385e){const _0x36ce70=a251_0x23ac;return typeof _0x5e385e===_0x36ce70(0x19a)&&_0x5e385e[_0x36ce70(0x169)]()?_0x5e385e[_0x36ce70(0x169)]():undefined;}function resolveEnvAppCode(){const _0x87a449=stringFlag(process.env.RABETBASE_APPCODE);if(_0x87a449)return{'name':'RABETBASE_APPCODE','value':_0x87a449};const _0x5dd8a8=stringFlag(process.env.LOVRABET_APPCODE);if(_0x5dd8a8)return{'name':'LOVRABET_APPCODE','value':_0x5dd8a8};return undefined;}function hasExplicitAppCode(_0x509ce3,_0x3eea4f){const _0x169fb4=a251_0x23ac;return!!(stringFlag(_0x509ce3[_0x169fb4(0x17d)])||stringFlag(_0x3eea4f[_0x169fb4(0x17d)]));}function assertEnvAppCodeNotIgnored(_0x5a00a7,_0x3aba99,_0x2a3dfc){const _0x2b37a5=a251_0x23ac;if(!_0x3aba99||_0x2a3dfc||_0x5a00a7===_0x3aba99[_0x2b37a5(0x156)])return;const _0x23e79b=_0x5a00a7?'Current\x20resolved\x20appcode\x20is\x20\x22'+_0x5a00a7+'\x22.':'No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.';throw CliErrors[_0x2b37a5(0x158)](_0x3aba99[_0x2b37a5(0x1a0)]+'='+_0x3aba99['value']+'\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20'+_0x23e79b+'\x20'+(_0x2b37a5(0x17a)+_0x3aba99[_0x2b37a5(0x1a0)]+'\x22.'));}export function createPipelineEnv(_0x36522d,_0x5dbfc5,_0x49afb8=[]){const _0x161744=a251_0x23ac;return{'rawFlags':_0x5dbfc5,'args':_0x49afb8,'resolveAppCode':()=>_0x36522d['appCode'],'resolveCookie':()=>_0x36522d['cookie']||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a251_0x575a06(_0x5dbfc5),'defaultFormat':_0x36522d[_0x161744(0x166)],'defaultPageSize':_0x36522d[_0x161744(0x193)],'defaultVerbose':_0x36522d[_0x161744(0x15a)],'apiDir':_0x36522d[_0x161744(0x18b)],'riskLevel':_0x36522d['riskLevel'],'selectedAppName':_0x36522d[_0x161744(0x190)],'mergedCli':{'defaultApp':_0x36522d['defaultApp'],'currentApp':_0x36522d['currentApp'],'appCode':_0x36522d[_0x161744(0x188)],'apps':_0x36522d['apps']}};}export function createRabetbaseRunnerAdapter(_0x26e6ab={}){const _0x2f5d81=a251_0x23ac;return{'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[_0x2f5d81(0x178)](_0x2b0194=>PIPELINE_FLAG_NAMES['has'](_0x2b0194[_0x2f5d81(0x1a0)]))[_0x2f5d81(0x167)](({name:_0x120788,type:_0x4228ed,description:_0x2ffcb2})=>({'name':_0x120788,'type':_0x4228ed,'description':_0x2ffcb2})),'formatOutput':_0x26e6ab[_0x2f5d81(0x191)]??formatOutput,'getCommandLabel'(_0x2dc7ff){const _0x48fea4=_0x2f5d81;return CLI_BIN_NAME+'\x20'+_0x2dc7ff['service']+'\x20'+_0x2dc7ff[_0x48fea4(0x16c)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x1c7f40,{def:_0x96031f}){const _0x971e8e=_0x2f5d81,_0x1321f6=_0x1c7f40[_0x971e8e(0x187)]('Edit\x20the\x20config\x20file\x20manually')?'AI\x20Agents\x20and\x20automated\x20scripts\x20must\x20not\x20modify\x20riskLevel\x20or\x20attempt\x20to\x20elevate\x20it.':_0x971e8e(0x177)+_0x96031f[_0x971e8e(0x171)]+_0x971e8e(0x15f)+_0x971e8e(0x189);return CliErrors[_0x971e8e(0x158)](_0x1c7f40+_0x971e8e(0x185)+_0x1321f6);}},async 'prepare'(_0x56c26f,_0x39e896,_0x4b53f5,_0x40abe8){const _0x115dee=_0x2f5d81,_0x171b4a=_0x39e896[_0x115dee(0x18b)]||DEFAULT_API_DIR;resolveAliasToCode(_0x56c26f,_0x4b53f5,_0x171b4a,_0x40abe8);const _0x39133e=resolveCommandAuthMode(_0x56c26f);let _0xdfe9e3='';if(_0x39133e!==_0x115dee(0x18f)){_0xdfe9e3=_0x39e896['resolveCookie']()||'';if(!_0xdfe9e3){if(_0x39133e===_0x115dee(0x195))throw CliErrors[_0x115dee(0x179)]();}else{const {setActiveCookie:_0x4f11cc}=await import(_0x115dee(0x183));_0x4f11cc(_0xdfe9e3);}}const _0x23c9fe=_0x39e896[_0x115dee(0x18e)]()??'';if(_0x56c26f['requiresAppCode']!==![]){const _0x5e7733=hasExplicitAppCode(_0x4b53f5,_0x39e896['rawFlags']),_0x47abe1=_0x39e896[_0x115dee(0x199)]?.[_0x115dee(0x18d)]??{},_0x526bb4=_0x39e896['selectedAppName']||_0x39e896[_0x115dee(0x199)]?.[_0x115dee(0x194)]||_0x39e896[_0x115dee(0x199)]?.['defaultApp'];if(!_0x5e7733&&_0x526bb4&&!_0x47abe1[_0x526bb4]){const _0x4523a9=Object[_0x115dee(0x18c)](_0x47abe1);throw CliErrors[_0x115dee(0x158)](_0x115dee(0x165)+_0x526bb4+'\x22\x20is\x20selected\x20but\x20not\x20defined\x20in\x20the\x20effective\x20project\x20apps.',_0x4523a9[_0x115dee(0x19e)]>0x0?_0x115dee(0x163)+_0x4523a9[_0x115dee(0x182)](',\x20')+'.\x20Use\x20--app/--appcode,\x20or\x20run\x20`'+CLI_BIN_NAME+'\x20config\x20delete\x20defaultApp`\x20to\x20repair\x20the\x20selection.':_0x115dee(0x181)+CLI_BIN_NAME+_0x115dee(0x19f));}assertEnvAppCodeNotIgnored(_0x23c9fe,resolveEnvAppCode(),_0x5e7733);if(!_0x23c9fe){const _0x46d4ba=Object[_0x115dee(0x18c)](_0x47abe1);if(!_0x526bb4&&_0x46d4ba[_0x115dee(0x19e)]>0x1)throw CliErrors['configMissing'](_0x115dee(0x17c)+CLI_BIN_NAME+_0x115dee(0x15d)+_0x46d4ba[_0x115dee(0x182)](',\x20')+'.');throw CliErrors['configMissing']('Set\x20appcode\x20via\x20`'+CLI_BIN_NAME+'\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.');}}return{'defaults':{'booleans':{'verbose':_0x39e896[_0x115dee(0x17e)]},'numbers':{'pagesize':_0x39e896[_0x115dee(0x15c)]}},'extras':{'appCode':_0x23c9fe,'cookie':_0xdfe9e3,'apiDomain':_0x39e896[_0x115dee(0x16d)](),'apiDir':_0x171b4a,'selectedAppName':_0x39e896[_0x115dee(0x173)],'mergedCli':_0x39e896[_0x115dee(0x199)]}};},'confirmHighRisk':_0x26e6ab['confirmHighRisk']??(async({env:_0x4185b7,commandLabel:_0x20305d})=>{const _0x442604=_0x2f5d81;if(_0x4185b7['isNonInteractive'])throw CliErrors[_0x442604(0x158)](_0x442604(0x172)+_0x20305d+'`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.');await requireConfirmationPrompt({'lines':['⚠\x20\x20High-risk\x20operation:\x20'+_0x20305d,'\x20\x20\x20Continue?\x20[y/N]\x20'],'createCancelledError':_0x5aaee8=>CliErrors[_0x442604(0x16b)](_0x5aaee8)});}),async 'finalize'(){await clearRabetbaseCommandState();}};}const terminalRunnerAdapter=createRabetbaseRunnerAdapter();async function clearRabetbaseCommandState(){const _0x3836e4=a251_0x23ac,{clearActiveCookie:_0x1f8e19}=await import(_0x3836e4(0x183));_0x1f8e19();}export async function finalizeRabetbaseRuntimeState(){const _0x1c2ad9=a251_0x23ac;try{await clearRabetbaseCommandState();}finally{const [{initDomains:_0x355396},{initEnv:_0x3f554d}]=await Promise[_0x1c2ad9(0x16f)]([import('../constant/domain.js'),import('../constant/env.js')]);_0x355396(),_0x3f554d(_0x1c2ad9(0x175));}}export async function runCommand(_0xae9c66,_0x4acd9c,_0x1e8622=terminalRunnerAdapter){const _0x3e92c1=a251_0x23ac;assertRejectedFlags(_0xae9c66,_0x4acd9c[_0x3e92c1(0x157)]),await runCommandWithAdapter(shouldAttachUpdateNotice(_0xae9c66)?withUpdateNotice(_0xae9c66):_0xae9c66,_0x4acd9c,_0x1e8622);}function assertRejectedFlags(_0x2b8b1c,_0x3cb59c){const _0x2f8b12=a251_0x23ac;for(const _0x2fe63d of _0x2b8b1c[_0x2f8b12(0x196)]??[]){const _0x5444e4=GLOBAL_FLAGS['find'](_0x37e9ea=>_0x37e9ea[_0x2f8b12(0x1a0)]===_0x2fe63d[_0x2f8b12(0x1a0)]),_0x4212b2=new Set([_0x2fe63d['name'],toCamelCase(_0x2fe63d[_0x2f8b12(0x1a0)]),_0x5444e4?.[_0x2f8b12(0x159)]]),_0x3a372b=[..._0x4212b2][_0x2f8b12(0x176)](_0x388f62=>{if(!_0x388f62)return![];const _0xad1f7c=_0x3cb59c[_0x388f62];return _0xad1f7c!==undefined&&_0xad1f7c!==null&&_0xad1f7c!==![];});if(_0x3a372b)throw CliErrors[_0x2f8b12(0x158)](_0x2fe63d[_0x2f8b12(0x192)],_0x2fe63d[_0x2f8b12(0x160)]);}}function toCamelCase(_0x5ccbcd){const _0x3ef2c1=a251_0x23ac;return _0x5ccbcd[_0x3ef2c1(0x161)](/-([a-z])/g,(_0x465d44,_0x3f5fbe)=>_0x3f5fbe[_0x3ef2c1(0x19b)]());}function shouldAttachUpdateNotice(_0x5ffbe4){const _0x15e25b=a251_0x23ac;if(_0x5ffbe4[_0x15e25b(0x19d)]===![])return![];return![_0x15e25b(0x15e),_0x15e25b(0x197),'doctor'][_0x15e25b(0x187)](_0x5ffbe4[_0x15e25b(0x168)]);}function withUpdateNotice(_0x211095){return{..._0x211095,async 'execute'(_0xa956a){const _0x2bbcf8=a251_0x23ac,_0xa8b3bc=shouldResolveUpdateNotice(_0xa956a)?resolveLatestUpdateNotice()[_0x2bbcf8(0x19c)](()=>null):Promise[_0x2bbcf8(0x16a)](null),_0x3c6e6b=await _0x211095['execute'](_0xa956a);return attachUpdateNotice(_0x3c6e6b,await _0xa8b3bc);}};}function shouldResolveUpdateNotice(_0x5d5d23){const _0xb6b860=a251_0x23ac;return _0x5d5d23[_0xb6b860(0x166)]===_0xb6b860(0x170)&&!_0x5d5d23[_0xb6b860(0x17f)];}function attachUpdateNotice(_0x17a333,_0x35e7f5){const _0x2c06a8=a251_0x23ac;if(!_0x35e7f5||!_0x17a333||typeof _0x17a333!==_0x2c06a8(0x186))return _0x17a333;const _0x412236=_0x17a333,_0x9ac227=typeof _0x412236[_0x2c06a8(0x164)]===_0x2c06a8(0x186)&&_0x412236[_0x2c06a8(0x164)]!==null?_0x412236['_notice']:{};return{..._0x412236,'_notice':{..._0x9ac227,'update':_0x35e7f5}};}
@@ -1 +1 @@
1
- function a252_0x246d(_0x3a2009,_0x2fe768){_0x3a2009=_0x3a2009-0x1a0;const _0xaa7b3a=a252_0xaa7b();let _0x246dd0=_0xaa7b3a[_0x3a2009];return _0x246dd0;}function a252_0xaa7b(){const _0x4a8126=['8ArQWty','792962SHYyOd','8HSuPbV','4484028KHPKiM','448450diMiHn','2eeRnFn','1544715YjJDUZ','5SMkyEm','1743511ELcJYQ','228RvJTEZ','99473zoUMjU','325194xsIgkZ'];a252_0xaa7b=function(){return _0x4a8126;};return a252_0xaa7b();}(function(_0x15f07e,_0x47d700){const _0x226439=a252_0x246d,_0xf93fd6=_0x15f07e();while(!![]){try{const _0x4f2f1d=-parseInt(_0x226439(0x1a1))/0x1*(-parseInt(_0x226439(0x1a9))/0x2)+-parseInt(_0x226439(0x1a7))/0x3*(-parseInt(_0x226439(0x1a8))/0x4)+-parseInt(_0x226439(0x1a3))/0x5*(parseInt(_0x226439(0x1ab))/0x6)+-parseInt(_0x226439(0x1a4))/0x7+-parseInt(_0x226439(0x1aa))/0x8*(-parseInt(_0x226439(0x1a2))/0x9)+parseInt(_0x226439(0x1a0))/0xa+-parseInt(_0x226439(0x1a6))/0xb*(-parseInt(_0x226439(0x1a5))/0xc);if(_0x4f2f1d===_0x47d700)break;else _0xf93fd6['push'](_0xf93fd6['shift']());}catch(_0x594266){_0xf93fd6['push'](_0xf93fd6['shift']());}}}(a252_0xaa7b,0x620ec));import{buildSchemaPayload as a252_0x41f924}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const {serviceRegistry:_0x34fdcb,findDefinition:_0xa8b039}=await import('../commands/registry.js');return a252_0x41f924({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x34fdcb,'buildAllFlags':buildAllFlags,'findDefinition':_0xa8b039});}
1
+ (function(_0x40c8c7,_0x2da808){const _0x44a16a=a252_0x240d,_0x55f64f=_0x40c8c7();while(!![]){try{const _0x39a114=parseInt(_0x44a16a(0x94))/0x1*(-parseInt(_0x44a16a(0x9a))/0x2)+parseInt(_0x44a16a(0x9c))/0x3+parseInt(_0x44a16a(0x9b))/0x4+-parseInt(_0x44a16a(0x98))/0x5*(parseInt(_0x44a16a(0x97))/0x6)+parseInt(_0x44a16a(0x92))/0x7+-parseInt(_0x44a16a(0x99))/0x8*(-parseInt(_0x44a16a(0x93))/0x9)+-parseInt(_0x44a16a(0x95))/0xa;if(_0x39a114===_0x2da808)break;else _0x55f64f['push'](_0x55f64f['shift']());}catch(_0x45e44e){_0x55f64f['push'](_0x55f64f['shift']());}}}(a252_0xc99d,0x1a01f));import{buildSchemaPayload as a252_0x554847}from'@lovrabet/cli-framework';function a252_0x240d(_0x5232f9,_0x2a3045){_0x5232f9=_0x5232f9-0x92;const _0xc99d40=a252_0xc99d();let _0x240d5f=_0xc99d40[_0x5232f9];return _0x240d5f;}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 _0x5c6b51=a252_0x240d,{serviceRegistry:_0x3250d5,findDefinition:_0x2fe58f}=await import(_0x5c6b51(0x96));return a252_0x554847({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x3250d5,'buildAllFlags':buildAllFlags,'findDefinition':_0x2fe58f});}function a252_0xc99d(){const _0x3d7c47=['506766gouPqb','1360821MhaadK','24318UuvVoa','7runXbl','1761150xfoRUU','../commands/registry.js','12BZhUeA','372055LShNUF','40FGSScL','35578lgKUha','716608pknLHL'];a252_0xc99d=function(){return _0x3d7c47;};return a252_0xc99d();}
@@ -1 +1 @@
1
- (function(_0x3908c6,_0x22eefd){var _0x44b1a9=a253_0x54f1,_0x144ddf=_0x3908c6();while(!![]){try{var _0x1d4455=-parseInt(_0x44b1a9(0x96))/0x1*(parseInt(_0x44b1a9(0x9d))/0x2)+-parseInt(_0x44b1a9(0x97))/0x3+parseInt(_0x44b1a9(0x9b))/0x4+-parseInt(_0x44b1a9(0x99))/0x5+-parseInt(_0x44b1a9(0x9c))/0x6*(-parseInt(_0x44b1a9(0x9a))/0x7)+parseInt(_0x44b1a9(0x98))/0x8+parseInt(_0x44b1a9(0x95))/0x9;if(_0x1d4455===_0x22eefd)break;else _0x144ddf['push'](_0x144ddf['shift']());}catch(_0xc54b79){_0x144ddf['push'](_0x144ddf['shift']());}}}(a253_0x4233,0x5dafe));function a253_0x4233(){var _0x238fbe=['304516GQtvKw','4790529KWdXle','1OTgFKS','1863309FuDGIu','3167384hqiOhB','911540WvNmms','56SDDdLm','707676VsKGSX','175716EqbrDq'];a253_0x4233=function(){return _0x238fbe;};return a253_0x4233();}function a253_0x54f1(_0x1daec5,_0x424088){_0x1daec5=_0x1daec5-0x95;var _0x423314=a253_0x4233();var _0x54f1d8=_0x423314[_0x1daec5];return _0x54f1d8;}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';
1
+ function a253_0x188c(){var _0x56e461=['410817VANyqu','951392KoZuyd','4759551aAUePB','33755xnuavU','724TZmuHd','2634TNmUmJ','500289xoRyJB','670OnqXGl','12AMtisM','13545EplTaj','125483ywGDOt'];a253_0x188c=function(){return _0x56e461;};return a253_0x188c();}(function(_0x361059,_0x4daba2){var _0x5e88de=a253_0x3435,_0x29f705=_0x361059();while(!![]){try{var _0x466303=parseInt(_0x5e88de(0x1df))/0x1*(-parseInt(_0x5e88de(0x1dd))/0x2)+-parseInt(_0x5e88de(0x1db))/0x3+-parseInt(_0x5e88de(0x1d9))/0x4*(parseInt(_0x5e88de(0x1d8))/0x5)+-parseInt(_0x5e88de(0x1da))/0x6*(-parseInt(_0x5e88de(0x1de))/0x7)+parseInt(_0x5e88de(0x1e1))/0x8+-parseInt(_0x5e88de(0x1e2))/0x9+parseInt(_0x5e88de(0x1dc))/0xa*(parseInt(_0x5e88de(0x1e0))/0xb);if(_0x466303===_0x4daba2)break;else _0x29f705['push'](_0x29f705['shift']());}catch(_0x3aa8b1){_0x29f705['push'](_0x29f705['shift']());}}}(a253_0x188c,0xc35cf));function a253_0x3435(_0x460512,_0x5e7b8e){_0x460512=_0x460512-0x1d8;var _0x188c38=a253_0x188c();var _0x343532=_0x188c38[_0x460512];return _0x343532;}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';
@@ -1,4 +1,4 @@
1
- export declare const VERSION = "2.4.7-beta.2";
2
- export declare const GIT_TAG = "v2.4.7-beta.2";
3
- export declare const GIT_COMMIT = "ea5c8fe";
4
- export declare const BUILD_TIME = "2026-08-20T11:17:24.267Z";
1
+ export declare const VERSION = "2.5.0-beta.1";
2
+ export declare const GIT_TAG = "v2.5.0-beta.1";
3
+ export declare const GIT_COMMIT = "298f150";
4
+ export declare const BUILD_TIME = "2026-08-21T16:11:55.840Z";
@@ -1 +1 @@
1
- function a254_0x2007(){const _0x4dfb3a=['v2.4.7-beta.2','8tPqvwO','2.4.7-beta.2','3170kDGsjN','1072680YBQWAe','9669066UGCakh','18Ocgiqe','1718550AxXWEb','139DsssCI','10IUVJmt','ea5c8fe','4890662HCozgZ','1027332HVMaRa','308760XDCkeJ'];a254_0x2007=function(){return _0x4dfb3a;};return a254_0x2007();}const a254_0x1631ec=a254_0x1275;function a254_0x1275(_0x14fe77,_0x1bb269){_0x14fe77=_0x14fe77-0x1f2;const _0x20072e=a254_0x2007();let _0x12755a=_0x20072e[_0x14fe77];return _0x12755a;}(function(_0x30f3e3,_0x2014ef){const _0x3d700a=a254_0x1275,_0x26f3d3=_0x30f3e3();while(!![]){try{const _0x318ad7=parseInt(_0x3d700a(0x1f6))/0x1*(-parseInt(_0x3d700a(0x1ff))/0x2)+-parseInt(_0x3d700a(0x1f5))/0x3+parseInt(_0x3d700a(0x1fa))/0x4*(-parseInt(_0x3d700a(0x1f7))/0x5)+-parseInt(_0x3d700a(0x1fb))/0x6+parseInt(_0x3d700a(0x1f9))/0x7*(parseInt(_0x3d700a(0x1fd))/0x8)+parseInt(_0x3d700a(0x1f4))/0x9*(parseInt(_0x3d700a(0x1f2))/0xa)+parseInt(_0x3d700a(0x1f3))/0xb;if(_0x318ad7===_0x2014ef)break;else _0x26f3d3['push'](_0x26f3d3['shift']());}catch(_0x19171d){_0x26f3d3['push'](_0x26f3d3['shift']());}}}(a254_0x2007,0x69efd));export const VERSION=a254_0x1631ec(0x1fe);export const GIT_TAG=a254_0x1631ec(0x1fc);export const GIT_COMMIT=a254_0x1631ec(0x1f8);export const BUILD_TIME='2026-08-20T11:17:24.267Z';
1
+ const a254_0x13e0ed=a254_0x2604;(function(_0x26888d,_0x4ef970){const _0x505bb3=a254_0x2604,_0x3dd6f3=_0x26888d();while(!![]){try{const _0x528d73=parseInt(_0x505bb3(0x16b))/0x1+-parseInt(_0x505bb3(0x166))/0x2+parseInt(_0x505bb3(0x16e))/0x3*(parseInt(_0x505bb3(0x163))/0x4)+-parseInt(_0x505bb3(0x16c))/0x5*(parseInt(_0x505bb3(0x168))/0x6)+parseInt(_0x505bb3(0x16a))/0x7*(parseInt(_0x505bb3(0x16f))/0x8)+-parseInt(_0x505bb3(0x167))/0x9+-parseInt(_0x505bb3(0x169))/0xa*(-parseInt(_0x505bb3(0x16d))/0xb);if(_0x528d73===_0x4ef970)break;else _0x3dd6f3['push'](_0x3dd6f3['shift']());}catch(_0x1c57ba){_0x3dd6f3['push'](_0x3dd6f3['shift']());}}}(a254_0x5adb,0xf10b0));function a254_0x2604(_0x4c7981,_0x261ce0){_0x4c7981=_0x4c7981-0x162;const _0x5adb9a=a254_0x5adb();let _0x26045e=_0x5adb9a[_0x4c7981];return _0x26045e;}export const VERSION=a254_0x13e0ed(0x165);export const GIT_TAG='v2.5.0-beta.1';export const GIT_COMMIT=a254_0x13e0ed(0x164);function a254_0x5adb(){const _0x136389=['1883654NhcorK','5QmkOKh','11VjPBfj','3153ZCaGRa','4616008ZJFfjG','2026-08-21T16:11:55.840Z','4156CSSsov','298f150','2.5.0-beta.1','1531260RrXKlp','13866048fcYavF','5324874PLOGCn','6284490jQKPgR','7Qerhyd'];a254_0x5adb=function(){return _0x136389;};return a254_0x5adb();}export const BUILD_TIME=a254_0x13e0ed(0x162);
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- (function(_0x251415,_0x10270a){var _0x57e3cb=a255_0x3259,_0x30fc63=_0x251415();while(!![]){try{var _0x265315=parseInt(_0x57e3cb(0x1d6))/0x1*(parseInt(_0x57e3cb(0x1d8))/0x2)+parseInt(_0x57e3cb(0x1d3))/0x3+-parseInt(_0x57e3cb(0x1cf))/0x4+parseInt(_0x57e3cb(0x1d2))/0x5*(-parseInt(_0x57e3cb(0x1da))/0x6)+parseInt(_0x57e3cb(0x1d5))/0x7+parseInt(_0x57e3cb(0x1d0))/0x8*(parseInt(_0x57e3cb(0x1ce))/0x9)+-parseInt(_0x57e3cb(0x1db))/0xa;if(_0x265315===_0x10270a)break;else _0x30fc63['push'](_0x30fc63['shift']());}catch(_0x7e29a9){_0x30fc63['push'](_0x30fc63['shift']());}}}(a255_0x3b60,0x41cee));import a255_0x40e054 from'chalk';function a255_0x3259(_0x23d6ca,_0xc04dc9){_0x23d6ca=_0x23d6ca-0x1ce;var _0x3b605f=a255_0x3b60();var _0x3259d7=_0x3b605f[_0x23d6ca];return _0x3259d7;}import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0x4d519f=a255_0x3259;console['log'](),console['log'](a255_0x40e054['green']['bold']('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x4d519f(0x1d1)](),console[_0x4d519f(0x1d1)](_0x4d519f(0x1d4)+a255_0x40e054[_0x4d519f(0x1dd)][_0x4d519f(0x1d7)](CLI_BIN_NAME+_0x4d519f(0x1d9))+_0x4d519f(0x1dc)),console[_0x4d519f(0x1d1)]();}function a255_0x3b60(){var _0x40a412=['10wnoKeJ','601542gWXxjp','\x20\x20Use\x20','3369821rugRbc','269509UBmtBG','bold','2RyONxC','\x20--help','1166646jdvKYm','4803720ZBqJqj','\x20to\x20view\x20available\x20commands.','green','9dNgtcQ','761040AeNNTJ','3021104IZaKLS','log'];a255_0x3b60=function(){return _0x40a412;};return a255_0x3b60();}
1
+ (function(_0x1d12a0,_0x3811e5){var _0x459b83=a255_0x2caf,_0x3e27a0=_0x1d12a0();while(!![]){try{var _0x28d854=parseInt(_0x459b83(0xaf))/0x1+-parseInt(_0x459b83(0xb0))/0x2+parseInt(_0x459b83(0xb3))/0x3+-parseInt(_0x459b83(0xb7))/0x4+parseInt(_0x459b83(0xb2))/0x5+-parseInt(_0x459b83(0xb5))/0x6+parseInt(_0x459b83(0xb1))/0x7;if(_0x28d854===_0x3811e5)break;else _0x3e27a0['push'](_0x3e27a0['shift']());}catch(_0x512df8){_0x3e27a0['push'](_0x3e27a0['shift']());}}}(a255_0x365c,0x4c90c));import a255_0x48350f from'chalk';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';function a255_0x2caf(_0x453459,_0x565fa0){_0x453459=_0x453459-0xac;var _0x365c77=a255_0x365c();var _0x2caf51=_0x365c77[_0x453459];return _0x2caf51;}function a255_0x365c(){var _0x540e90=['\x20\x20Use\x20','1909292qIzCuE','\x20to\x20view\x20available\x20commands.','log','green','79828VFuLcP','474620MYrPUg','5556894IrDFKv','1718935WOEZON','1174503GZdgeC','bold','3484278EMCkJc'];a255_0x365c=function(){return _0x540e90;};return a255_0x365c();}export function showHelp(){var _0xe16a54=a255_0x2caf;console[_0xe16a54(0xad)](),console['log'](a255_0x48350f[_0xe16a54(0xae)]['bold']('\x20\x20'+CLI_DISPLAY_NAME)),console[_0xe16a54(0xad)](),console[_0xe16a54(0xad)](_0xe16a54(0xb6)+a255_0x48350f[_0xe16a54(0xae)][_0xe16a54(0xb4)](CLI_BIN_NAME+'\x20--help')+_0xe16a54(0xac)),console['log']();}
@@ -1 +1 @@
1
- function a256_0x3130(){const _0x274778=['changed','Rabetbase\x20Built-in\x20Skill\x20','skillVersion','installed','log','16vnflsB','Installation\x20failed','531077gBSDdz','530310qODEFo','Repair\x20with:\x20','\x20at\x20','repairCommand','[BUILTIN_SKILL_INSTALL_','warn','2702768gKTfoo','152XCIDyB','45AvuYWg','5970dCELNs','already\x20current','29496IUhXBG','code','installedPath','error','SOURCE_INVALID','1475782sYufbe','135iIduZQ','5639557WgwwFT','\x20via\x20skills@latest'];a256_0x3130=function(){return _0x274778;};return a256_0x3130();}(function(_0x39959f,_0x40d27e){const _0x10e2d3=a256_0x24e4,_0x33fa1f=_0x39959f();while(!![]){try{const _0x23e542=parseInt(_0x10e2d3(0x7e))/0x1+-parseInt(_0x10e2d3(0x86))/0x2*(-parseInt(_0x10e2d3(0x88))/0x3)+-parseInt(_0x10e2d3(0x85))/0x4+-parseInt(_0x10e2d3(0x90))/0x5*(-parseInt(_0x10e2d3(0x8a))/0x6)+-parseInt(_0x10e2d3(0x8f))/0x7*(parseInt(_0x10e2d3(0x98))/0x8)+parseInt(_0x10e2d3(0x87))/0x9*(parseInt(_0x10e2d3(0x7f))/0xa)+parseInt(_0x10e2d3(0x91))/0xb;if(_0x23e542===_0x40d27e)break;else _0x33fa1f['push'](_0x33fa1f['shift']());}catch(_0x56fe54){_0x33fa1f['push'](_0x33fa1f['shift']());}}}(a256_0x3130,0x78fbb));import{installBuiltinSkill}from'./skills/builtin-skill.js';function a256_0x24e4(_0x54bf6d,_0x1ffed2){_0x54bf6d=_0x54bf6d-0x7d;const _0x313028=a256_0x3130();let _0x24e4b7=_0x313028[_0x54bf6d];return _0x24e4b7;}export async function runPostinstall(_0x103f4b={}){const _0x28f6f1=a256_0x24e4,_0x1b5408=installBuiltinSkill(_0x103f4b);if(_0x1b5408['ok']){const _0x119bbd=_0x1b5408[_0x28f6f1(0x93)]?_0x28f6f1(0x96):_0x28f6f1(0x89),_0x3336ef=_0x1b5408[_0x28f6f1(0x8c)]?_0x28f6f1(0x81)+_0x1b5408[_0x28f6f1(0x8c)]:_0x28f6f1(0x92);return console[_0x28f6f1(0x97)](_0x28f6f1(0x94)+_0x1b5408[_0x28f6f1(0x95)]+'\x20'+_0x119bbd+_0x3336ef),_0x1b5408;}const _0x1276ba=_0x28f6f1(0x83)+(_0x1b5408[_0x28f6f1(0x8b)]??'FAILED')+']\x20'+(_0x1b5408[_0x28f6f1(0x8d)]??_0x28f6f1(0x7d))+'.\x20'+(_0x28f6f1(0x80)+_0x1b5408[_0x28f6f1(0x82)]);if(_0x1b5408[_0x28f6f1(0x8b)]===_0x28f6f1(0x8e))throw new Error(_0x1276ba);return console[_0x28f6f1(0x84)](_0x1276ba),_0x1b5408;}
1
+ function a256_0x3429(){const _0x59ccdc=['Rabetbase\x20Built-in\x20Skill\x20','log','repairCommand','code','10910XmMRSq','changed','[BUILTIN_SKILL_INSTALL_','3249NqCCOG','skillVersion','already\x20current','479248szfYWv','SOURCE_INVALID','warn','Repair\x20with:\x20','262KDLhst','84FYShfY','534501nsLNRQ','355356ujFLsb','2841435rOCRql','22101zxTLXw','installedPath','\x20via\x20skills@latest','4247356GMEUns','error'];a256_0x3429=function(){return _0x59ccdc;};return a256_0x3429();}function a256_0x1253(_0x315c90,_0x1be650){_0x315c90=_0x315c90-0xdb;const _0x342936=a256_0x3429();let _0x12536f=_0x342936[_0x315c90];return _0x12536f;}(function(_0x329c40,_0x2900ea){const _0x218677=a256_0x1253,_0x104c84=_0x329c40();while(!![]){try{const _0xf5137=-parseInt(_0x218677(0xe9))/0x1+parseInt(_0x218677(0xe7))/0x2*(parseInt(_0x218677(0xec))/0x3)+parseInt(_0x218677(0xef))/0x4+-parseInt(_0x218677(0xeb))/0x5+parseInt(_0x218677(0xea))/0x6*(-parseInt(_0x218677(0xe8))/0x7)+parseInt(_0x218677(0xe3))/0x8+-parseInt(_0x218677(0xe0))/0x9*(-parseInt(_0x218677(0xdd))/0xa);if(_0xf5137===_0x2900ea)break;else _0x104c84['push'](_0x104c84['shift']());}catch(_0x4e6876){_0x104c84['push'](_0x104c84['shift']());}}}(a256_0x3429,0xa2e25));import{installBuiltinSkill}from'./skills/builtin-skill.js';export async function runPostinstall(_0x5c8f46={}){const _0x3b9600=a256_0x1253,_0x4a313c=installBuiltinSkill(_0x5c8f46);if(_0x4a313c['ok']){const _0x5c24e0=_0x4a313c[_0x3b9600(0xde)]?'installed':_0x3b9600(0xe2),_0xc06348=_0x4a313c[_0x3b9600(0xed)]?'\x20at\x20'+_0x4a313c[_0x3b9600(0xed)]:_0x3b9600(0xee);return console[_0x3b9600(0xf2)](_0x3b9600(0xf1)+_0x4a313c[_0x3b9600(0xe1)]+'\x20'+_0x5c24e0+_0xc06348),_0x4a313c;}const _0x2f7456=_0x3b9600(0xdf)+(_0x4a313c[_0x3b9600(0xdc)]??'FAILED')+']\x20'+(_0x4a313c[_0x3b9600(0xf0)]??'Installation\x20failed')+'.\x20'+(_0x3b9600(0xe6)+_0x4a313c[_0x3b9600(0xdb)]);if(_0x4a313c[_0x3b9600(0xdc)]===_0x3b9600(0xe4))throw new Error(_0x2f7456);return console[_0x3b9600(0xe5)](_0x2f7456),_0x4a313c;}
@@ -1 +1 @@
1
- (function(_0x25fdee,_0x35edcd){const _0x565000=a257_0x9248,_0x47d226=_0x25fdee();while(!![]){try{const _0x4c32b=-parseInt(_0x565000(0x1b4))/0x1+-parseInt(_0x565000(0x1b7))/0x2*(parseInt(_0x565000(0x1bb))/0x3)+parseInt(_0x565000(0x1c5))/0x4*(-parseInt(_0x565000(0x1b8))/0x5)+parseInt(_0x565000(0x1c0))/0x6+-parseInt(_0x565000(0x1be))/0x7+-parseInt(_0x565000(0x1b9))/0x8*(-parseInt(_0x565000(0x1c2))/0x9)+parseInt(_0x565000(0x1c1))/0xa;if(_0x4c32b===_0x35edcd)break;else _0x47d226['push'](_0x47d226['shift']());}catch(_0x217585){_0x47d226['push'](_0x47d226['shift']());}}}(a257_0x20b6,0x5784a));function a257_0x20b6(){const _0x526d9c=['high-risk-write','write','Rabetbase\x20confirmation\x20requires\x20a\x20write\x20command.','468756Boichz','将执行高风险写入操作\x20',';该操作可能创建或修改业务数据或本地配置。','843796fEnclP','3195BPljVx','2296RWdWhk','risk','3yYHtrp',';该操作可能覆盖、删除或明显影响线上运行行为。','trim','2466485iwXXlS','confirmationDescription','2494644BgEfFT','16059670gCywnO','7641FIuLmW','replace','slice','4156ERvzPv'];a257_0x20b6=function(){return _0x526d9c;};return a257_0x20b6();}const DESCRIPTION_MAX_LENGTH=0x1f4;export function buildRabetbaseConfirmationRequest(_0x2821b5,_0x194fad,_0x289e0a){const _0x577892=a257_0x9248,_0x2de0d8=normalizeText(_0x2821b5[_0x577892(0x1bf)],DESCRIPTION_MAX_LENGTH),_0xeeb059=_0x2de0d8||normalizeText(defaultDescription(requireWriteRisk(_0x2821b5),_0x194fad),DESCRIPTION_MAX_LENGTH);return{'operation':_0x194fad,'risk':requireWriteRisk(_0x2821b5),'description':_0xeeb059,..._0x289e0a?{'signal':_0x289e0a}:{}};}function requireWriteRisk(_0x4960fa){const _0x53d184=a257_0x9248;if(_0x4960fa[_0x53d184(0x1ba)]===_0x53d184(0x1c7)||_0x4960fa['risk']===_0x53d184(0x1c6))return _0x4960fa[_0x53d184(0x1ba)];throw new Error(_0x53d184(0x1b3));}function a257_0x9248(_0x4e7f44,_0x285a90){_0x4e7f44=_0x4e7f44-0x1b3;const _0x20b61d=a257_0x20b6();let _0x9248ce=_0x20b61d[_0x4e7f44];return _0x9248ce;}function defaultDescription(_0x10da96,_0x4f9cf4){const _0x10f606=a257_0x9248;if(_0x10da96==='high-risk-write')return _0x10f606(0x1b5)+_0x4f9cf4+_0x10f606(0x1bc);return'将执行写入操作\x20'+_0x4f9cf4+_0x10f606(0x1b6);}function normalizeText(_0x19fc3c,_0x6c48b1){const _0x40e256=a257_0x9248;if(typeof _0x19fc3c!=='string')return'';return _0x19fc3c[_0x40e256(0x1c3)](/[\u0000-\u001f\u007f]+/g,'\x20')[_0x40e256(0x1c3)](/\s+/g,'\x20')[_0x40e256(0x1bd)]()[_0x40e256(0x1c4)](0x0,_0x6c48b1);}
1
+ (function(_0x494193,_0x5965bd){const _0x2cb89e=a257_0x1417,_0x471ef4=_0x494193();while(!![]){try{const _0x4db2da=parseInt(_0x2cb89e(0x99))/0x1*(parseInt(_0x2cb89e(0xa5))/0x2)+-parseInt(_0x2cb89e(0xa4))/0x3*(-parseInt(_0x2cb89e(0x97))/0x4)+-parseInt(_0x2cb89e(0x9f))/0x5+-parseInt(_0x2cb89e(0x96))/0x6*(-parseInt(_0x2cb89e(0xa6))/0x7)+parseInt(_0x2cb89e(0xa1))/0x8+parseInt(_0x2cb89e(0x98))/0x9*(-parseInt(_0x2cb89e(0x9c))/0xa)+parseInt(_0x2cb89e(0xa0))/0xb*(-parseInt(_0x2cb89e(0x9e))/0xc);if(_0x4db2da===_0x5965bd)break;else _0x471ef4['push'](_0x471ef4['shift']());}catch(_0x109f5c){_0x471ef4['push'](_0x471ef4['shift']());}}}(a257_0x3d17,0x27303));function a257_0x1417(_0x2fec86,_0x3e07dc){_0x2fec86=_0x2fec86-0x96;const _0x3d1709=a257_0x3d17();let _0x14176b=_0x3d1709[_0x2fec86];return _0x14176b;}function a257_0x3d17(){const _0x357a2b=['271896NFhnKS','1390355zfezlU','55bNqrRU','1685896toZgvo','This\x20will\x20run\x20the\x20write\x20','trim','80151bfColt','40ZEOYRd','144970uSgKJb','risk','replace','high-risk-write','72NrSOFX','4DfgytR','4302hxDNip','12401VZAIol','.\x20It\x20may\x20create\x20or\x20change\x20business\x20data\x20or\x20local\x20configuration.','write','3810HaOrEa','string'];a257_0x3d17=function(){return _0x357a2b;};return a257_0x3d17();}const DESCRIPTION_MAX_LENGTH=0x1f4;export function buildRabetbaseConfirmationRequest(_0x21386d,_0x4f8a99,_0x5bfe59){const _0x2b2439=normalizeText(_0x21386d['confirmationDescription'],DESCRIPTION_MAX_LENGTH),_0x3d34cf=_0x2b2439||normalizeText(defaultDescription(requireWriteRisk(_0x21386d),_0x4f8a99),DESCRIPTION_MAX_LENGTH);return{'operation':_0x4f8a99,'risk':requireWriteRisk(_0x21386d),'description':_0x3d34cf,..._0x5bfe59?{'signal':_0x5bfe59}:{}};}function requireWriteRisk(_0x116a15){const _0x1b8ca2=a257_0x1417;if(_0x116a15[_0x1b8ca2(0xa7)]===_0x1b8ca2(0x9b)||_0x116a15[_0x1b8ca2(0xa7)]===_0x1b8ca2(0xa9))return _0x116a15['risk'];throw new Error('Rabetbase\x20confirmation\x20requires\x20a\x20write\x20command.');}function defaultDescription(_0x4a1970,_0x39c39b){const _0x264871=a257_0x1417;if(_0x4a1970===_0x264871(0xa9))return'This\x20will\x20run\x20the\x20high-risk\x20write\x20'+_0x39c39b+'.\x20It\x20may\x20overwrite,\x20delete,\x20or\x20materially\x20change\x20live\x20behavior.';return _0x264871(0xa2)+_0x39c39b+_0x264871(0x9a);}function normalizeText(_0x4a6211,_0x192b81){const _0x2540d0=a257_0x1417;if(typeof _0x4a6211!==_0x2540d0(0x9d))return'';return _0x4a6211[_0x2540d0(0xa8)](/[\u0000-\u001f\u007f]+/g,'\x20')[_0x2540d0(0xa8)](/\s+/g,'\x20')[_0x2540d0(0xa3)]()['slice'](0x0,_0x192b81);}
@@ -1 +1 @@
1
- (function(_0x27f22a,_0x4b248f){var _0x411fa8=a258_0x52e6,_0x42cac7=_0x27f22a();while(!![]){try{var _0x5ad088=-parseInt(_0x411fa8(0xfa))/0x1+-parseInt(_0x411fa8(0xfb))/0x2+parseInt(_0x411fa8(0x101))/0x3+-parseInt(_0x411fa8(0xff))/0x4+parseInt(_0x411fa8(0xf6))/0x5+-parseInt(_0x411fa8(0xf7))/0x6*(-parseInt(_0x411fa8(0xf5))/0x7)+parseInt(_0x411fa8(0x102))/0x8;if(_0x5ad088===_0x4b248f)break;else _0x42cac7['push'](_0x42cac7['shift']());}catch(_0x4ad6b7){_0x42cac7['push'](_0x42cac7['shift']());}}}(a258_0x40c8,0xbdf0e));function a258_0x40c8(){var _0x448742=['1604680zgrTpr','12918UEgDNM','risk','join','785868TzxudL','129722ZzScla','rabetbase.write.completed','service','trim','1876656OBkteR','filter','2264340KfcHAN','2338464XYlSMh','high-risk-write','2373MUtQXx'];a258_0x40c8=function(){return _0x448742;};return a258_0x40c8();}export function canonicalRabetbaseOperation(_0x3db461){var _0x156776=a258_0x52e6;return[_0x3db461[_0x156776(0xfd)],..._0x3db461['command'][_0x156776(0xfe)]()['split'](/\s+/)][_0x156776(0x100)](Boolean)[_0x156776(0xf9)]('.');}function a258_0x52e6(_0x541350,_0x225f1d){_0x541350=_0x541350-0xf4;var _0x40c8f7=a258_0x40c8();var _0x52e6be=_0x40c8f7[_0x541350];return _0x52e6be;}export function createRabetbaseWriteMetadata(_0x28c63a,_0x30a3b7,_0x57f006,_0x89f724){var _0x50e63b=a258_0x52e6;if(_0x89f724||_0x57f006['ok']!==!![]||_0x28c63a['risk']!=='write'&&_0x28c63a[_0x50e63b(0xf8)]!==_0x50e63b(0xf4))return undefined;return{'rabetbase':{'schemaVersion':0x1,'event':{'type':_0x50e63b(0xfc),'operation':_0x30a3b7,'risk':_0x28c63a[_0x50e63b(0xf8)]}}};}
1
+ function a258_0xef74(_0x344eb0,_0x5294c0){_0x344eb0=_0x344eb0-0xc4;var _0x593f86=a258_0x593f();var _0xef7474=_0x593f86[_0x344eb0];return _0xef7474;}function a258_0x593f(){var _0x163653=['15NYFCPK','186175NsOjEa','filter','8CsmGWs','join','risk','25553340adOHMt','high-risk-write','1699516HyXaIC','252NKDGGs','3160908stxFwv','831528fHEpoJ','1424040IKLujy','31341ltcMxu','service'];a258_0x593f=function(){return _0x163653;};return a258_0x593f();}(function(_0x204183,_0x3bd9d9){var _0x294c59=a258_0xef74,_0x119802=_0x204183();while(!![]){try{var _0x4d83aa=parseInt(_0x294c59(0xca))/0x1+parseInt(_0x294c59(0xd2))/0x2*(-parseInt(_0x294c59(0xc7))/0x3)+-parseInt(_0x294c59(0xc6))/0x4+parseInt(_0x294c59(0xc9))/0x5*(-parseInt(_0x294c59(0xc5))/0x6)+-parseInt(_0x294c59(0xd1))/0x7+parseInt(_0x294c59(0xcc))/0x8*(parseInt(_0x294c59(0xc4))/0x9)+parseInt(_0x294c59(0xcf))/0xa;if(_0x4d83aa===_0x3bd9d9)break;else _0x119802['push'](_0x119802['shift']());}catch(_0x5aa5d5){_0x119802['push'](_0x119802['shift']());}}}(a258_0x593f,0xb9fed));export function canonicalRabetbaseOperation(_0x11b566){var _0x34baa3=a258_0xef74;return[_0x11b566[_0x34baa3(0xc8)],..._0x11b566['command']['trim']()['split'](/\s+/)][_0x34baa3(0xcb)](Boolean)[_0x34baa3(0xcd)]('.');}export function createRabetbaseWriteMetadata(_0x4dd43c,_0x238127,_0x5085bc,_0x706973){var _0x2c5900=a258_0xef74;if(_0x706973||_0x5085bc['ok']!==!![]||_0x4dd43c[_0x2c5900(0xce)]!=='write'&&_0x4dd43c[_0x2c5900(0xce)]!==_0x2c5900(0xd0))return undefined;return{'rabetbase':{'schemaVersion':0x1,'event':{'type':'rabetbase.write.completed','operation':_0x238127,'risk':_0x4dd43c[_0x2c5900(0xce)]}}};}
@@ -1 +1 @@
1
- (function(_0x104049,_0x8b2eb7){const _0x18264f=a259_0x1627,_0x4264e0=_0x104049();while(!![]){try{const _0x5a4511=parseInt(_0x18264f(0x1c7))/0x1*(-parseInt(_0x18264f(0x1a9))/0x2)+-parseInt(_0x18264f(0x1c4))/0x3+-parseInt(_0x18264f(0x1bf))/0x4*(-parseInt(_0x18264f(0x1cb))/0x5)+-parseInt(_0x18264f(0x1ad))/0x6*(parseInt(_0x18264f(0x1b4))/0x7)+-parseInt(_0x18264f(0x1bc))/0x8*(-parseInt(_0x18264f(0x1be))/0x9)+-parseInt(_0x18264f(0x1c6))/0xa*(-parseInt(_0x18264f(0x1ab))/0xb)+-parseInt(_0x18264f(0x1b2))/0xc*(parseInt(_0x18264f(0x1c3))/0xd);if(_0x5a4511===_0x8b2eb7)break;else _0x4264e0['push'](_0x4264e0['shift']());}catch(_0xac5138){_0x4264e0['push'](_0x4264e0['shift']());}}}(a259_0x2128,0x8a40b));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:_0x41e07b,command:_0x227105,risk:_0x4cd3d9,dryRun:_0x3f7823}){const _0x215005=a259_0x1627;return JSON[_0x215005(0x1aa)]({'ok':_0x41e07b['ok'],'command':_0x227105,'risk':_0x4cd3d9,..._0x3f7823?{'dryRun':!![]}:{},..._0x41e07b['data']!==undefined?{'data':_0x41e07b['data']}:{},..._0x41e07b[_0x215005(0x1ae)]?{'message':_0x41e07b[_0x215005(0x1ae)]}:{}});}};export async function invokeRabetbase(_0x261ffe,_0x2d4377){const _0x103e24=a259_0x1627;throwIfAborted(_0x2d4377[_0x103e24(0x1c8)]);const _0x33a691=await resolveRabetbaseInvocation(_0x261ffe),_0x4993cb=canonicalRabetbaseOperation(_0x33a691[_0x103e24(0x1af)]);return await confirmWriteBeforeQueue(_0x33a691['definition'],_0x33a691[_0x103e24(0x1ac)],_0x4993cb,_0x2d4377),runSerialized(async()=>{const _0xf67d1e=_0x103e24,_0x5e4a24={};try{throwIfAborted(_0x2d4377['signal']);const _0x517c2f=buildConfigFromFlags(_0x33a691[_0xf67d1e(0x1ac)]);await initGlobalEnvironment(_0x517c2f);const _0x365c96=createPipelineEnv(_0x517c2f,{..._0x33a691['rawFlags'],'yes':_0x33a691[_0xf67d1e(0x1af)][_0xf67d1e(0x1b9)]==='high-risk-write'?!![]:_0x33a691['rawFlags'][_0xf67d1e(0x1bd)],'nonInteractive':!![]},_0x33a691[_0xf67d1e(0x1c9)]);_0x365c96[_0xf67d1e(0x1b3)]=!![],_0x365c96['riskLevel']=_0xf67d1e(0x1b5);const _0x15e382=withAbortSignal(_0x33a691['definition'],_0x2d4377[_0xf67d1e(0x1c8)]),_0x3b15ba=createRabetbaseRunnerAdapter({'formatOutput'(_0x1fd1c9,_0x424d22){const _0x17d5f3=_0xf67d1e;_0x5e4a24['result']=_0x1fd1c9,_0x5e4a24[_0x17d5f3(0x1b8)]=_0x424d22[_0x17d5f3(0x1b8)],_0x5e4a24[_0x17d5f3(0x1b9)]=_0x424d22[_0x17d5f3(0x1b9)],_0x5e4a24[_0x17d5f3(0x1a5)]=_0x424d22[_0x17d5f3(0x1a5)],_0x5e4a24[_0x17d5f3(0x1b7)]=_0x424d22['dryRun']===!![];},async 'confirmHighRisk'(){const _0x481ca6=_0xf67d1e;throw new Error(_0x481ca6(0x1ca));}});await runCommand(_0x15e382,_0x365c96,_0x3b15ba);if(!_0x5e4a24['result']||!_0x5e4a24[_0xf67d1e(0x1b8)]||!_0x5e4a24[_0xf67d1e(0x1b9)]||!_0x5e4a24['format'])throw new Error(_0xf67d1e(0x1a8));const _0x3a2cc3=_0x5e4a24['dryRun']===!![],_0x4806b4=_0x2d4377[_0xf67d1e(0x1c1)]??defaultPresentation,_0x5611a8={'result':_0x5e4a24[_0xf67d1e(0x1c0)],'command':_0x5e4a24[_0xf67d1e(0x1b8)],'operation':_0x4993cb,'risk':_0x5e4a24[_0xf67d1e(0x1b9)],'format':_0x5e4a24[_0xf67d1e(0x1a5)],'dryRun':_0x3a2cc3},_0x2ed701=createRabetbaseWriteMetadata(_0x33a691['definition'],_0x4993cb,_0x5e4a24[_0xf67d1e(0x1c0)],_0x3a2cc3);let _0x972854;try{_0x972854=await _0x4806b4[_0xf67d1e(0x1bb)](_0x5611a8);}catch(_0x48ba39){if(!_0x2ed701||_0x4806b4===defaultPresentation)throw _0x48ba39;_0x972854=await defaultPresentation[_0xf67d1e(0x1bb)](_0x5611a8);}return{'operation':_0x4993cb,'risk':_0x5e4a24['risk'],'mode':_0x3a2cc3?_0xf67d1e(0x1a7):_0xf67d1e(0x1c2),'result':_0x5e4a24[_0xf67d1e(0x1c0)],'output':_0x972854,..._0x2ed701?{'metadata':_0x2ed701}:{}};}finally{await finalizeRabetbaseRuntimeState();}});}function a259_0x2128(){const _0x4b0f6b=['6415atzMah','confirmation','format','Rabetbase\x20invocation\x20aborted.','dry-run','Rabetbase\x20invocation\x20completed\x20without\x20a\x20captured\x20command\x20result.','7454HUIpdY','stringify','44NNulsU','rawFlags','2101602IZRNOe','message','definition','aborted','write','1559976qEwoBK','isNonInteractive','7GHVLaf','high-risk-write','reason','dryRun','command','risk','confirm','present','568iegDMh','yes','81846Trmbbk','3204wHSVux','result','presentation','execute','13rwZwno','2668464sOLGFw','AbortError','2324530gadceE','179GcERbh','signal','args','Embedded\x20Rabetbase\x20confirmation\x20must\x20run\x20before\x20the\x20execution\x20queue.'];a259_0x2128=function(){return _0x4b0f6b;};return a259_0x2128();}async function confirmWriteBeforeQueue(_0x45e7e6,_0x4bda10,_0x36fc23,_0x3e18ac){const _0x221d7d=a259_0x1627;if(_0x4bda10[_0x221d7d(0x1b7)]===!![]||_0x45e7e6['risk']!==_0x221d7d(0x1b1)&&_0x45e7e6['risk']!==_0x221d7d(0x1b5))return;await _0x3e18ac[_0x221d7d(0x1cc)][_0x221d7d(0x1ba)](buildRabetbaseConfirmationRequest(_0x45e7e6,_0x36fc23,_0x3e18ac[_0x221d7d(0x1c8)]));}function withAbortSignal(_0x3687c4,_0x29afb6){return{..._0x3687c4,async 'execute'(_0x16a03e){const _0x5333c4=a259_0x1627;return throwIfAborted(_0x29afb6),_0x3687c4[_0x5333c4(0x1c2)](_0x16a03e);}};}function a259_0x1627(_0x140a90,_0x39992c){_0x140a90=_0x140a90-0x1a5;const _0x21283c=a259_0x2128();let _0x1627b2=_0x21283c[_0x140a90];return _0x1627b2;}function throwIfAborted(_0x4ca1ee){const _0x230270=a259_0x1627;if(_0x4ca1ee?.[_0x230270(0x1b0)])throw _0x4ca1ee[_0x230270(0x1b6)]instanceof Error?_0x4ca1ee[_0x230270(0x1b6)]:new DOMException(_0x230270(0x1a6),_0x230270(0x1c5));}
1
+ (function(_0x59f137,_0x5b9046){const _0x4ea4de=a259_0x385f,_0x48c900=_0x59f137();while(!![]){try{const _0x19d982=-parseInt(_0x4ea4de(0xd5))/0x1*(-parseInt(_0x4ea4de(0xdf))/0x2)+parseInt(_0x4ea4de(0xe1))/0x3+parseInt(_0x4ea4de(0xd2))/0x4+parseInt(_0x4ea4de(0xcd))/0x5+parseInt(_0x4ea4de(0xcb))/0x6*(-parseInt(_0x4ea4de(0xe3))/0x7)+-parseInt(_0x4ea4de(0xd7))/0x8+parseInt(_0x4ea4de(0xd3))/0x9;if(_0x19d982===_0x5b9046)break;else _0x48c900['push'](_0x48c900['shift']());}catch(_0x181ae8){_0x48c900['push'](_0x48c900['shift']());}}}(a259_0x9130,0x89a3e));import{buildConfigFromFlags,initGlobalEnvironment}from'../context.js';function a259_0x385f(_0x29f900,_0x276144){_0x29f900=_0x29f900-0xc4;const _0x913035=a259_0x9130();let _0x385fb7=_0x913035[_0x29f900];return _0x385fb7;}import{createPipelineEnv,createRabetbaseRunnerAdapter,finalizeRabetbaseRuntimeState,runCommand}from'../framework/runner.js';import{buildRabetbaseConfirmationRequest}from'../runtime/confirmation.js';import{canonicalRabetbaseOperation,createRabetbaseWriteMetadata}from'../runtime/event.js';function a259_0x9130(){const _0x1f7fe0=['risk','dry-run','execute','4882TaRIhD','AbortError','499143aOKVks','result','16688RgHnuu','presentation','rawFlags','Embedded\x20Rabetbase\x20confirmation\x20must\x20run\x20before\x20the\x20execution\x20queue.','riskLevel','high-risk-write','definition','isNonInteractive','format','2832opDjaz','confirm','3394350pAMSeU','data','signal','present','confirmation','897896CozmIS','3140811MXstzm','message','417lQyfYL','stringify','5980632STIcav','aborted','yes','dryRun','command'];a259_0x9130=function(){return _0x1f7fe0;};return a259_0x9130();}import{runSerialized}from'../runtime/queue.js';import{resolveRabetbaseInvocation}from'../runtime/resolve.js';const defaultPresentation={'present'({result:_0x203ddb,command:_0x102310,risk:_0xdd1f78,dryRun:_0x22ff38}){const _0x3fade5=a259_0x385f;return JSON[_0x3fade5(0xd6)]({'ok':_0x203ddb['ok'],'command':_0x102310,'risk':_0xdd1f78,..._0x22ff38?{'dryRun':!![]}:{},..._0x203ddb[_0x3fade5(0xce)]!==undefined?{'data':_0x203ddb[_0x3fade5(0xce)]}:{},..._0x203ddb[_0x3fade5(0xd4)]?{'message':_0x203ddb['message']}:{}});}};export async function invokeRabetbase(_0x476359,_0x375336){const _0x2cba65=a259_0x385f;throwIfAborted(_0x375336[_0x2cba65(0xcf)]);const _0x3a07b4=await resolveRabetbaseInvocation(_0x476359),_0x4996be=canonicalRabetbaseOperation(_0x3a07b4[_0x2cba65(0xc8)]);return await confirmWriteBeforeQueue(_0x3a07b4[_0x2cba65(0xc8)],_0x3a07b4[_0x2cba65(0xc4)],_0x4996be,_0x375336),runSerialized(async()=>{const _0x34f3e9=_0x2cba65,_0xad78a2={};try{throwIfAborted(_0x375336[_0x34f3e9(0xcf)]);const _0x62a37f=buildConfigFromFlags(_0x3a07b4[_0x34f3e9(0xc4)]);await initGlobalEnvironment(_0x62a37f);const _0x353e00=createPipelineEnv(_0x62a37f,{..._0x3a07b4[_0x34f3e9(0xc4)],'yes':_0x3a07b4[_0x34f3e9(0xc8)][_0x34f3e9(0xdc)]===_0x34f3e9(0xc7)?!![]:_0x3a07b4['rawFlags'][_0x34f3e9(0xd9)],'nonInteractive':!![]},_0x3a07b4['args']);_0x353e00[_0x34f3e9(0xc9)]=!![],_0x353e00[_0x34f3e9(0xc6)]=_0x34f3e9(0xc7);const _0x574b01=withAbortSignal(_0x3a07b4[_0x34f3e9(0xc8)],_0x375336[_0x34f3e9(0xcf)]),_0x439dbd=createRabetbaseRunnerAdapter({'formatOutput'(_0x4cda89,_0x57dbd0){const _0x29e2e4=_0x34f3e9;_0xad78a2['result']=_0x4cda89,_0xad78a2[_0x29e2e4(0xdb)]=_0x57dbd0[_0x29e2e4(0xdb)],_0xad78a2['risk']=_0x57dbd0[_0x29e2e4(0xdc)],_0xad78a2[_0x29e2e4(0xca)]=_0x57dbd0['format'],_0xad78a2['dryRun']=_0x57dbd0[_0x29e2e4(0xda)]===!![];},async 'confirmHighRisk'(){const _0xb46d16=_0x34f3e9;throw new Error(_0xb46d16(0xc5));}});await runCommand(_0x574b01,_0x353e00,_0x439dbd);if(!_0xad78a2[_0x34f3e9(0xe2)]||!_0xad78a2[_0x34f3e9(0xdb)]||!_0xad78a2['risk']||!_0xad78a2[_0x34f3e9(0xca)])throw new Error('Rabetbase\x20invocation\x20completed\x20without\x20a\x20captured\x20command\x20result.');const _0x1a2e54=_0xad78a2[_0x34f3e9(0xda)]===!![],_0x3f6f2d=_0x375336[_0x34f3e9(0xe4)]??defaultPresentation,_0x188ed5={'result':_0xad78a2[_0x34f3e9(0xe2)],'command':_0xad78a2[_0x34f3e9(0xdb)],'operation':_0x4996be,'risk':_0xad78a2[_0x34f3e9(0xdc)],'format':_0xad78a2[_0x34f3e9(0xca)],'dryRun':_0x1a2e54},_0x59a920=createRabetbaseWriteMetadata(_0x3a07b4[_0x34f3e9(0xc8)],_0x4996be,_0xad78a2[_0x34f3e9(0xe2)],_0x1a2e54);let _0x39e9ff;try{_0x39e9ff=await _0x3f6f2d[_0x34f3e9(0xd0)](_0x188ed5);}catch(_0x2c492d){if(!_0x59a920||_0x3f6f2d===defaultPresentation)throw _0x2c492d;_0x39e9ff=await defaultPresentation[_0x34f3e9(0xd0)](_0x188ed5);}return{'operation':_0x4996be,'risk':_0xad78a2[_0x34f3e9(0xdc)],'mode':_0x1a2e54?_0x34f3e9(0xdd):_0x34f3e9(0xde),'result':_0xad78a2['result'],'output':_0x39e9ff,..._0x59a920?{'metadata':_0x59a920}:{}};}finally{await finalizeRabetbaseRuntimeState();}});}async function confirmWriteBeforeQueue(_0x453ec0,_0x1aa04e,_0x4c50fc,_0x1e704b){const _0x5df4a5=a259_0x385f;if(_0x1aa04e[_0x5df4a5(0xda)]===!![]||_0x453ec0['risk']!=='write'&&_0x453ec0[_0x5df4a5(0xdc)]!==_0x5df4a5(0xc7))return;await _0x1e704b[_0x5df4a5(0xd1)][_0x5df4a5(0xcc)](buildRabetbaseConfirmationRequest(_0x453ec0,_0x4c50fc,_0x1e704b['signal']));}function withAbortSignal(_0x24d00d,_0x558e18){return{..._0x24d00d,async 'execute'(_0x21e79a){const _0x3c92b8=a259_0x385f;return throwIfAborted(_0x558e18),_0x24d00d[_0x3c92b8(0xde)](_0x21e79a);}};}function throwIfAborted(_0x4fd342){const _0x4f914b=a259_0x385f;if(_0x4fd342?.[_0x4f914b(0xd8)])throw _0x4fd342['reason']instanceof Error?_0x4fd342['reason']:new DOMException('Rabetbase\x20invocation\x20aborted.',_0x4f914b(0xe0));}
@@ -1 +1 @@
1
- (function(_0x4d0e23,_0x1f4ecb){const _0x30ddef=a260_0x39c9,_0x455657=_0x4d0e23();while(!![]){try{const _0x2b63d7=parseInt(_0x30ddef(0xf9))/0x1+-parseInt(_0x30ddef(0xf5))/0x2+parseInt(_0x30ddef(0xf8))/0x3*(parseInt(_0x30ddef(0xf4))/0x4)+parseInt(_0x30ddef(0xf7))/0x5+-parseInt(_0x30ddef(0xf3))/0x6+-parseInt(_0x30ddef(0xfa))/0x7+-parseInt(_0x30ddef(0xf6))/0x8;if(_0x2b63d7===_0x1f4ecb)break;else _0x455657['push'](_0x455657['shift']());}catch(_0x5ad41b){_0x455657['push'](_0x455657['shift']());}}}(a260_0x6d40,0x641c2));let tail=Promise['resolve']();export async function runSerialized(_0x23741a){const _0x96df43=a260_0x39c9,_0x11b0a0=tail;let _0x5527af;tail=new Promise(_0x6bc4f4=>{_0x5527af=_0x6bc4f4;}),await _0x11b0a0[_0x96df43(0xf2)](()=>undefined);try{return await _0x23741a();}finally{_0x5527af();}}function a260_0x39c9(_0x2ea47f,_0x47503f){_0x2ea47f=_0x2ea47f-0xf2;const _0x6d40e8=a260_0x6d40();let _0x39c93e=_0x6d40e8[_0x2ea47f];return _0x39c93e;}function a260_0x6d40(){const _0x456d3d=['117xwwbwX','387779EsSvsB','3114160YEqnNR','catch','1317720QfpPMu','75968LxnWSe','1270640GHHiyQ','855264YgnKWd','3441555LZLnZZ'];a260_0x6d40=function(){return _0x456d3d;};return a260_0x6d40();}
1
+ function a260_0xd1d5(){const _0x4ce85d=['522550maVuiM','8764oMfqyF','275uprXci','249138LXFUvw','8vGCEqC','catch','21onefYh','138982VSazXy','82426UbWfIc','resolve','5491683YPuvRf','547205moYgfl','63QjhGrT'];a260_0xd1d5=function(){return _0x4ce85d;};return a260_0xd1d5();}const a260_0x1025ef=a260_0x1e06;(function(_0x86de55,_0x20d7f1){const _0x135f90=a260_0x1e06,_0x333908=_0x86de55();while(!![]){try{const _0x21cd3d=-parseInt(_0x135f90(0xcd))/0x1+-parseInt(_0x135f90(0xce))/0x2+parseInt(_0x135f90(0xc5))/0x3*(-parseInt(_0x135f90(0xc7))/0x4)+parseInt(_0x135f90(0xc4))/0x5+-parseInt(_0x135f90(0xc9))/0x6*(parseInt(_0x135f90(0xcc))/0x7)+-parseInt(_0x135f90(0xca))/0x8*(parseInt(_0x135f90(0xc3))/0x9)+parseInt(_0x135f90(0xc6))/0xa*(parseInt(_0x135f90(0xc8))/0xb);if(_0x21cd3d===_0x20d7f1)break;else _0x333908['push'](_0x333908['shift']());}catch(_0x3b0c54){_0x333908['push'](_0x333908['shift']());}}}(a260_0xd1d5,0x6f0c6));function a260_0x1e06(_0x38fa26,_0x3151f3){_0x38fa26=_0x38fa26-0xc2;const _0xd1d54=a260_0xd1d5();let _0x1e0603=_0xd1d54[_0x38fa26];return _0x1e0603;}let tail=Promise[a260_0x1025ef(0xc2)]();export async function runSerialized(_0x164ce1){const _0x9b9e49=a260_0x1025ef,_0x169fba=tail;let _0x153b65;tail=new Promise(_0x129ba1=>{_0x153b65=_0x129ba1;}),await _0x169fba[_0x9b9e49(0xcb)](()=>undefined);try{return await _0x164ce1();}finally{_0x153b65();}}
@@ -1 +1 @@
1
- (function(_0x346bd4,_0x5299d0){const _0x19bd63=a261_0x1f6b,_0x589b30=_0x346bd4();while(!![]){try{const _0x20024f=-parseInt(_0x19bd63(0x1d1))/0x1+-parseInt(_0x19bd63(0x1ca))/0x2*(-parseInt(_0x19bd63(0x1d5))/0x3)+-parseInt(_0x19bd63(0x1c8))/0x4*(-parseInt(_0x19bd63(0x1d2))/0x5)+-parseInt(_0x19bd63(0x1c4))/0x6+parseInt(_0x19bd63(0x1cc))/0x7*(parseInt(_0x19bd63(0x1d7))/0x8)+parseInt(_0x19bd63(0x1ce))/0x9+parseInt(_0x19bd63(0x1c6))/0xa*(parseInt(_0x19bd63(0x1c5))/0xb);if(_0x20024f===_0x5299d0)break;else _0x589b30['push'](_0x589b30['shift']());}catch(_0x5b3ffc){_0x589b30['push'](_0x589b30['shift']());}}}(a261_0x1219,0x5da56));function a261_0x1f6b(_0x57fc53,_0x3aab74){_0x57fc53=_0x57fc53-0x1c4;const _0x121966=a261_0x1219();let _0x1f6bb5=_0x121966[_0x57fc53];return _0x1f6bb5;}function a261_0x1219(){const _0x4ff033=['Rabetbase\x20argv\x20must\x20include\x20a\x20service\x20and\x20command.','Rabetbase\x20argv\x20must\x20include\x20a\x20command\x20for\x20service\x20\x22','309611NNduYS','40YZWOqn','run','defaultCommand','6cPQXpA','hint','8BnGAaX','wildcardDef','unknownCommand','2670354Fsxfln','22smiDlb','983470ucmbEf','validation','39860CYqDMZ','message','671712aOfJmX','`rabetbase\x20run`\x20is\x20unavailable\x20through\x20the\x20embedded\x20runtime\x20because\x20it\x20executes\x20arbitrary\x20package\x20scripts.','182420ipqoke','input','1476522xPCILn'];a261_0x1219=function(){return _0x4ff033;};return a261_0x1219();}import a261_0xc5f6ec from'meow';import{findDefinition,getServiceEntry,isKnownService,resolveRemovedCommand}from'../commands/registry.js';import{buildMeowFlags}from'../constant/cli.js';import{CliErrors}from'../errors.js';export async function resolveRabetbaseInvocation(_0x4a85cc){const _0x14e35c=a261_0x1f6b,_0x40596a=a261_0xc5f6ec('',{'importMeta':import.meta,'argv':[..._0x4a85cc],'flags':buildMeowFlags(),'autoHelp':![],'autoVersion':![]}),_0x10252c=[..._0x40596a[_0x14e35c(0x1cd)]],_0xa8c790=_0x40596a['flags'],_0x404249=_0x10252c[0x0];if(!_0x404249)throw CliErrors[_0x14e35c(0x1c7)](_0x14e35c(0x1cf));const _0x54b7c7=resolveRemovedCommand(_0x404249,_0x10252c[0x1]);if(_0x54b7c7)throw CliErrors[_0x14e35c(0x1c7)](_0x54b7c7[_0x14e35c(0x1c9)],_0x54b7c7[_0x14e35c(0x1d6)]);if(_0x404249===_0x14e35c(0x1d3))throw CliErrors[_0x14e35c(0x1c7)](_0x14e35c(0x1cb),'Use\x20an\x20explicit\x20shell\x20tool\x20only\x20when\x20script\x20execution\x20is\x20intentionally\x20requested.');if(!isKnownService(_0x404249))throw CliErrors[_0x14e35c(0x1d9)](_0x10252c['join']('\x20'));const _0x5a3928=getServiceEntry(_0x404249),_0x4be9cd=_0x10252c[0x1],_0x37e7ee=_0x4be9cd||_0x5a3928[_0x14e35c(0x1d4)];if(!_0x37e7ee){if(_0x5a3928[_0x14e35c(0x1d8)])return{'definition':_0x5a3928[_0x14e35c(0x1d8)],'rawFlags':_0xa8c790,'args':[]};throw CliErrors[_0x14e35c(0x1c7)](_0x14e35c(0x1d0)+_0x404249+'\x22.');}const _0x40e068=findDefinition(_0x404249,_0x37e7ee);if(_0x40e068)return{'definition':_0x40e068,'rawFlags':_0xa8c790,'args':_0x10252c['slice'](0x2)};if(_0x5a3928[_0x14e35c(0x1d8)])return{'definition':_0x5a3928[_0x14e35c(0x1d8)],'rawFlags':_0xa8c790,'args':[_0x37e7ee,..._0x10252c['slice'](0x2)]};throw CliErrors[_0x14e35c(0x1d9)](_0x404249+'\x20'+_0x37e7ee);}
1
+ (function(_0x2d08c6,_0x2bb21b){const _0x1a5c3c=a261_0x2dc2,_0x58d492=_0x2d08c6();while(!![]){try{const _0x382132=parseInt(_0x1a5c3c(0xb4))/0x1*(parseInt(_0x1a5c3c(0xc2))/0x2)+-parseInt(_0x1a5c3c(0xb1))/0x3+parseInt(_0x1a5c3c(0xb9))/0x4+parseInt(_0x1a5c3c(0xb6))/0x5+-parseInt(_0x1a5c3c(0xbc))/0x6*(parseInt(_0x1a5c3c(0xbe))/0x7)+-parseInt(_0x1a5c3c(0xbb))/0x8+-parseInt(_0x1a5c3c(0xc0))/0x9;if(_0x382132===_0x2bb21b)break;else _0x58d492['push'](_0x58d492['shift']());}catch(_0x255b05){_0x58d492['push'](_0x58d492['shift']());}}}(a261_0x4828,0x82807));import a261_0x358728 from'meow';import{findDefinition,getServiceEntry,isKnownService,resolveRemovedCommand}from'../commands/registry.js';import{buildMeowFlags}from'../constant/cli.js';import{CliErrors}from'../errors.js';function a261_0x2dc2(_0x496733,_0x2bb9f5){_0x496733=_0x496733-0xaf;const _0x48284a=a261_0x4828();let _0x2dc217=_0x48284a[_0x496733];return _0x2dc217;}function a261_0x4828(){const _0x3fd890=['slice','1046348nPfywo','hint','3979856LdxoUz','210258QFTGlC','message','21xGNndW','run','2665323Umersq','join','16Wpvdkf','validation','input','flags','Rabetbase\x20argv\x20must\x20include\x20a\x20service\x20and\x20command.','1231620vtDDKB','`rabetbase\x20run`\x20is\x20unavailable\x20through\x20the\x20embedded\x20runtime\x20because\x20it\x20executes\x20arbitrary\x20package\x20scripts.','unknownCommand','86159qqOAgR','wildcardDef','4464870DyoviT','defaultCommand'];a261_0x4828=function(){return _0x3fd890;};return a261_0x4828();}export async function resolveRabetbaseInvocation(_0x3c728d){const _0xc23659=a261_0x2dc2,_0x3983c9=a261_0x358728('',{'importMeta':import.meta,'argv':[..._0x3c728d],'flags':buildMeowFlags(),'autoHelp':![],'autoVersion':![]}),_0x2e9180=[..._0x3983c9[_0xc23659(0xc4)]],_0x3e5bfe=_0x3983c9[_0xc23659(0xaf)],_0x1ac610=_0x2e9180[0x0];if(!_0x1ac610)throw CliErrors['validation'](_0xc23659(0xb0));const _0x1069f2=resolveRemovedCommand(_0x1ac610,_0x2e9180[0x1]);if(_0x1069f2)throw CliErrors[_0xc23659(0xc3)](_0x1069f2[_0xc23659(0xbd)],_0x1069f2[_0xc23659(0xba)]);if(_0x1ac610===_0xc23659(0xbf))throw CliErrors[_0xc23659(0xc3)](_0xc23659(0xb2),'Use\x20an\x20explicit\x20shell\x20tool\x20only\x20when\x20script\x20execution\x20is\x20intentionally\x20requested.');if(!isKnownService(_0x1ac610))throw CliErrors['unknownCommand'](_0x2e9180[_0xc23659(0xc1)]('\x20'));const _0x57e46e=getServiceEntry(_0x1ac610),_0x119d24=_0x2e9180[0x1],_0x4a5539=_0x119d24||_0x57e46e[_0xc23659(0xb7)];if(!_0x4a5539){if(_0x57e46e['wildcardDef'])return{'definition':_0x57e46e[_0xc23659(0xb5)],'rawFlags':_0x3e5bfe,'args':[]};throw CliErrors[_0xc23659(0xc3)]('Rabetbase\x20argv\x20must\x20include\x20a\x20command\x20for\x20service\x20\x22'+_0x1ac610+'\x22.');}const _0x187642=findDefinition(_0x1ac610,_0x4a5539);if(_0x187642)return{'definition':_0x187642,'rawFlags':_0x3e5bfe,'args':_0x2e9180['slice'](0x2)};if(_0x57e46e[_0xc23659(0xb5)])return{'definition':_0x57e46e[_0xc23659(0xb5)],'rawFlags':_0x3e5bfe,'args':[_0x4a5539,..._0x2e9180[_0xc23659(0xb8)](0x2)]};throw CliErrors[_0xc23659(0xb3)](_0x1ac610+'\x20'+_0x4a5539);}
@@ -1 +1 @@
1
- const a263_0x3da00c=a263_0x3582;(function(_0x2046c0,_0x4ef474){const _0x5074ee=a263_0x3582,_0x23b815=_0x2046c0();while(!![]){try{const _0x1b4ddb=parseInt(_0x5074ee(0xbf))/0x1+-parseInt(_0x5074ee(0xc7))/0x2*(parseInt(_0x5074ee(0xaf))/0x3)+parseInt(_0x5074ee(0xc8))/0x4*(-parseInt(_0x5074ee(0xd5))/0x5)+-parseInt(_0x5074ee(0xbb))/0x6*(parseInt(_0x5074ee(0xa4))/0x7)+parseInt(_0x5074ee(0xb0))/0x8+parseInt(_0x5074ee(0xa0))/0x9+parseInt(_0x5074ee(0xb3))/0xa;if(_0x1b4ddb===_0x4ef474)break;else _0x23b815['push'](_0x23b815['shift']());}catch(_0x4dbab6){_0x23b815['push'](_0x23b815['shift']());}}}(a263_0x1981,0x8a8a4));function a263_0x3582(_0x2b1ecf,_0x12f374){_0x2b1ecf=_0x2b1ecf-0x9d;const _0x198150=a263_0x1981();let _0x35827b=_0x198150[_0x2b1ecf];return _0x35827b;}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=a263_0x3da00c(0xa7),SKILL_NAME=a263_0x3da00c(0xd7);function frontmatterValue(_0x201c67,_0x17af2b){const _0x46d103=a263_0x3da00c;return _0x201c67[_0x46d103(0xc9)](new RegExp('^'+_0x17af2b+_0x46d103(0xcd),'m'))?.[0x1]?.[_0x46d103(0xcf)]()??'';}function listFiles(_0x2edf16,_0x3c106a=_0x2edf16){const _0x20415a=a263_0x3da00c;return readdirSync(_0x3c106a,{'withFileTypes':!![]})['flatMap'](_0x35973c=>{const _0x20ec5b=a263_0x3582,_0x31cb04=join(_0x3c106a,_0x35973c[_0x20ec5b(0xa1)]),_0x5cd4ca=lstatSync(_0x31cb04);if(_0x5cd4ca[_0x20ec5b(0xa8)]())throw new Error('Symbolic\x20link\x20is\x20not\x20allowed:\x20'+_0x31cb04);if(_0x5cd4ca['isDirectory']())return listFiles(_0x2edf16,_0x31cb04);if(!_0x5cd4ca[_0x20ec5b(0xb4)]())throw new Error(_0x20ec5b(0xad)+_0x31cb04);return[relative(_0x2edf16,_0x31cb04)['split'](sep)['join']('/')];})[_0x20415a(0x9d)]((_0x1a645b,_0x7ce8d8)=>_0x1a645b<_0x7ce8d8?-0x1:_0x1a645b>_0x7ce8d8?0x1:0x0);}function digestFiles(_0x53728b,_0x4047f8){const _0x4fa0ed=a263_0x3da00c,_0x2b12d9=createHash(_0x4fa0ed(0xd8));for(const _0xe20e48 of _0x4047f8){if(_0xe20e48[_0x4fa0ed(0xab)]('/')||_0xe20e48[_0x4fa0ed(0xce)]('/')[_0x4fa0ed(0xa9)]('..')||_0xe20e48[_0x4fa0ed(0xa9)]('\x5c'))throw new Error(_0x4fa0ed(0xd4)+_0xe20e48);_0x2b12d9['update'](_0xe20e48),_0x2b12d9[_0x4fa0ed(0xa3)]('\x00'),_0x2b12d9[_0x4fa0ed(0xa3)](readFileSync(join(_0x53728b,..._0xe20e48[_0x4fa0ed(0xce)]('/')))),_0x2b12d9[_0x4fa0ed(0xa3)]('\x00');}return _0x2b12d9[_0x4fa0ed(0xd0)](_0x4fa0ed(0xae));}function sameFiles(_0x4c4fde,_0x340e32){const _0x159b0b=a263_0x3da00c;return _0x4c4fde['length']===_0x340e32[_0x159b0b(0xb1)]&&_0x4c4fde['every']((_0x55fb66,_0x329021)=>_0x55fb66===_0x340e32[_0x329021]);}function a263_0x1981(){const _0x449738=['startsWith','skipped','Unsupported\x20Skill\x20entry:\x20','hex','131244NDGnxS','345776GbrzwA','length','version','8301800yfRUMm','isFile','home','message','reason','utf8','version_mismatch','schemaVersion','153030DzGeYF','rabetbase.manifest.json','packageRoot','current','612447UyflQe','parse','skills','Installed\x20Skill\x20state\x20is\x20','unknown','manifest','SOURCE_INVALID','root','28XHXmoc','79620QsZVHh','match','path','missing','unverifiable',':\x5cs*(.+)$','split','trim','digest','packageVersion','state','skillVersion','Unsafe\x20manifest\x20path:\x20','245WySbOi','present','rabetbase','sha256','sort','VERIFY_FAILED','SKILL.md','6483942PeJYxT','name','pipe','update','14FIqTrb','installedPath','error','rabetbase\x20cli-skill\x20install','isSymbolicLink','includes','files'];a263_0x1981=function(){return _0x449738;};return a263_0x1981();}function readSource(_0x2e9303){const _0x306a94=a263_0x3da00c,_0x55615f=JSON[_0x306a94(0xc0)](readFileSync(join(_0x2e9303,'package.json'),_0x306a94(0xb8))),_0x1793bf=JSON[_0x306a94(0xc0)](readFileSync(join(_0x2e9303,_0x306a94(0xc1),_0x306a94(0xbc)),'utf8')),_0x496193=join(_0x2e9303,'skills',SKILL_NAME),_0xe3f1fa=frontmatterValue(readFileSync(join(_0x496193,'SKILL.md'),_0x306a94(0xb8)),_0x306a94(0xb2)),_0x417955=listFiles(_0x496193);if(_0x1793bf[_0x306a94(0xba)]!==0x1||_0x1793bf[_0x306a94(0xa1)]!==SKILL_NAME||!_0x55615f['version']||_0x1793bf[_0x306a94(0xd1)]!==_0x55615f[_0x306a94(0xb2)]||_0x1793bf[_0x306a94(0xd3)]!==_0x55615f['version']||_0xe3f1fa!==_0x55615f[_0x306a94(0xb2)]||!sameFiles(_0x417955,_0x1793bf[_0x306a94(0xaa)])||digestFiles(_0x496193,_0x417955)!==_0x1793bf[_0x306a94(0xd0)])throw new Error('Built-in\x20Skill\x20source\x20does\x20not\x20match\x20its\x20package\x20manifest');return{'packageVersion':_0x55615f[_0x306a94(0xb2)],'skillVersion':_0xe3f1fa,'root':_0x496193,'manifest':_0x1793bf};}function installedSkillPath(_0x4d4c2f){const _0x20a988=a263_0x3da00c,_0x5e8995=resolveInstalledSkill(SKILL_NAME,{'home':_0x4d4c2f});if(_0x5e8995['state']===_0x20a988(0xd6))return{'state':_0x20a988(0xd6),'path':dirname(_0x5e8995['path'])};if(_0x5e8995[_0x20a988(0xd2)]==='absent')return{'state':_0x20a988(0xcb)};return{'state':_0x20a988(0xcc),'reason':_0x5e8995[_0x20a988(0xb7)]};}export function inspectInstalledBuiltinSkillVersion(_0xa4d9a3,_0x60e76b={}){const _0x33b7a9=a263_0x3da00c,_0x58d2cf=installedSkillPath(_0x60e76b[_0x33b7a9(0xb5)]??homedir());if(_0x58d2cf[_0x33b7a9(0xd2)]===_0x33b7a9(0xcb))return{'state':_0x33b7a9(0xcb),'expectedVersion':_0xa4d9a3,'repairCommand':REPAIR_COMMAND};if(_0x58d2cf['state']===_0x33b7a9(0xcc))return{'state':'unverifiable','expectedVersion':_0xa4d9a3,'reason':_0x58d2cf['reason'],'repairCommand':REPAIR_COMMAND};try{const _0x4e82e8=frontmatterValue(readFileSync(join(_0x58d2cf[_0x33b7a9(0xca)],'SKILL.md'),'utf8'),_0x33b7a9(0xb2));return{'state':_0x4e82e8===_0xa4d9a3?_0x33b7a9(0xbe):_0x33b7a9(0xb9),'expectedVersion':_0xa4d9a3,'skillVersion':_0x4e82e8,'installedPath':_0x58d2cf[_0x33b7a9(0xca)],'repairCommand':REPAIR_COMMAND};}catch(_0x2539bb){return{'state':_0x33b7a9(0xcc),'expectedVersion':_0xa4d9a3,'installedPath':_0x58d2cf[_0x33b7a9(0xca)],'reason':_0x2539bb instanceof Error?_0x2539bb['message']:String(_0x2539bb),'repairCommand':REPAIR_COMMAND};}}export function inspectBuiltinSkill(_0x14506a={}){const _0x586c17=a263_0x3da00c,_0x384f64=_0x14506a[_0x586c17(0xbd)]??DEFAULT_PACKAGE_ROOT;let _0x3e4d22;try{_0x3e4d22=readSource(_0x384f64);}catch(_0x570138){return{'state':'unverifiable','packageVersion':_0x586c17(0xc3),'reason':_0x570138 instanceof Error?_0x570138[_0x586c17(0xb6)]:String(_0x570138),'repairCommand':REPAIR_COMMAND};}const _0x4a31a3=installedSkillPath(_0x14506a[_0x586c17(0xb5)]??homedir());if(_0x4a31a3['state']==='missing')return{'state':_0x586c17(0xcb),'packageVersion':_0x3e4d22[_0x586c17(0xd1)],'repairCommand':REPAIR_COMMAND};if(_0x4a31a3[_0x586c17(0xd2)]===_0x586c17(0xcc))return{'state':_0x586c17(0xcc),'packageVersion':_0x3e4d22[_0x586c17(0xd1)],'reason':_0x4a31a3['reason'],'repairCommand':REPAIR_COMMAND};try{const _0x26b096=frontmatterValue(readFileSync(join(_0x4a31a3[_0x586c17(0xca)],_0x586c17(0x9f)),'utf8'),_0x586c17(0xb2));if(_0x26b096!==_0x3e4d22[_0x586c17(0xd3)])return{'state':_0x586c17(0xb9),'packageVersion':_0x3e4d22[_0x586c17(0xd1)],'skillVersion':_0x26b096,'installedPath':_0x4a31a3[_0x586c17(0xca)],'repairCommand':REPAIR_COMMAND};const _0x53d524=listFiles(_0x4a31a3[_0x586c17(0xca)]),_0x4969a0=digestFiles(_0x4a31a3[_0x586c17(0xca)],_0x53d524);return{'state':sameFiles(_0x53d524,_0x3e4d22[_0x586c17(0xc4)][_0x586c17(0xaa)])&&_0x4969a0===_0x3e4d22[_0x586c17(0xc4)][_0x586c17(0xd0)]?_0x586c17(0xbe):'content_mismatch','packageVersion':_0x3e4d22[_0x586c17(0xd1)],'skillVersion':_0x26b096,'installedPath':_0x4a31a3[_0x586c17(0xca)],'digest':_0x4969a0,'repairCommand':REPAIR_COMMAND};}catch(_0x14cfd2){return{'state':_0x586c17(0xcc),'packageVersion':_0x3e4d22[_0x586c17(0xd1)],'installedPath':_0x4a31a3[_0x586c17(0xca)],'reason':_0x14cfd2 instanceof Error?_0x14cfd2[_0x586c17(0xb6)]:String(_0x14cfd2),'repairCommand':REPAIR_COMMAND};}}function failure(_0x5bd1e3,_0x44e200,_0x167246,_0x165667){const _0x462466=a263_0x3da00c;return{'ok':![],'code':_0x5bd1e3,'packageVersion':_0x44e200[_0x462466(0xd1)],'skillVersion':_0x44e200[_0x462466(0xd3)],'installedPath':_0x165667,'changed':![],'repairCommand':REPAIR_COMMAND,'error':_0x167246 instanceof Error?_0x167246[_0x462466(0xb6)]:String(_0x167246)};}export function installBuiltinSkill(_0x111b8b={}){const _0x686515=a263_0x3da00c,_0xc373f2=_0x111b8b[_0x686515(0xbd)]??DEFAULT_PACKAGE_ROOT,_0x36d51c=_0x111b8b[_0x686515(0xb5)]??homedir();let _0x42c907;try{_0x42c907=readSource(_0xc373f2);}catch(_0x520cbe){return failure(_0x686515(0xc5),{'packageVersion':'unknown','skillVersion':'unknown'},_0x520cbe);}const _0x116e60=inspectBuiltinSkill({'packageRoot':_0xc373f2,'home':_0x36d51c}),_0xb04cd6=runNpxSkillsAddGlobal(_0xc373f2,_0x42c907[_0x686515(0xc6)],{'stdio':_0x111b8b['stdio']??_0x686515(0xa2),'expectedSkillName':SKILL_NAME,'presence':{'home':_0x36d51c}});if(_0xb04cd6[_0x686515(0xac)])return{'ok':!![],'packageVersion':_0x42c907['packageVersion'],'skillVersion':_0x42c907[_0x686515(0xd3)],'installedPath':_0x116e60[_0x686515(0xa5)],'changed':![],'repairCommand':REPAIR_COMMAND};if(!_0xb04cd6['ok'])return failure('INSTALL_FAILED',_0x42c907,_0xb04cd6[_0x686515(0xa6)]??'skills@latest\x20exited\x20'+_0xb04cd6['status']);const _0x242573=inspectBuiltinSkill({'packageRoot':_0xc373f2,'home':_0x36d51c});if(_0x242573[_0x686515(0xd2)]!=='current')return failure(_0x686515(0x9e),_0x42c907,_0x242573['reason']??_0x686515(0xc2)+_0x242573[_0x686515(0xd2)],_0x242573[_0x686515(0xa5)]);return{'ok':!![],'packageVersion':_0x42c907[_0x686515(0xd1)],'skillVersion':_0x42c907[_0x686515(0xd3)],'installedPath':_0x242573[_0x686515(0xa5)],'changed':_0x116e60[_0x686515(0xd2)]!==_0x686515(0xbe),'repairCommand':REPAIR_COMMAND};}
1
+ const a263_0x55e1f=a263_0x5cc8;function a263_0x5cc8(_0x211ba8,_0x44c581){_0x211ba8=_0x211ba8-0x134;const _0x4c9ed6=a263_0x4c9e();let _0x5cc82d=_0x4c9ed6[_0x211ba8];return _0x5cc82d;}(function(_0xe1ee34,_0x976dd){const _0x54a1ad=a263_0x5cc8,_0x305df0=_0xe1ee34();while(!![]){try{const _0x1d45f2=parseInt(_0x54a1ad(0x15b))/0x1+parseInt(_0x54a1ad(0x152))/0x2*(parseInt(_0x54a1ad(0x144))/0x3)+-parseInt(_0x54a1ad(0x138))/0x4*(parseInt(_0x54a1ad(0x171))/0x5)+parseInt(_0x54a1ad(0x13d))/0x6*(parseInt(_0x54a1ad(0x137))/0x7)+-parseInt(_0x54a1ad(0x139))/0x8*(parseInt(_0x54a1ad(0x150))/0x9)+-parseInt(_0x54a1ad(0x14d))/0xa+parseInt(_0x54a1ad(0x13b))/0xb*(parseInt(_0x54a1ad(0x172))/0xc);if(_0x1d45f2===_0x976dd)break;else _0x305df0['push'](_0x305df0['shift']());}catch(_0x4b6ef1){_0x305df0['push'](_0x305df0['shift']());}}}(a263_0x4c9e,0x27208));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='rabetbase\x20cli-skill\x20install',SKILL_NAME=a263_0x55e1f(0x153);function frontmatterValue(_0x245c0f,_0x145b1e){const _0x3d64ea=a263_0x55e1f;return _0x245c0f[_0x3d64ea(0x160)](new RegExp('^'+_0x145b1e+_0x3d64ea(0x15f),'m'))?.[0x1]?.[_0x3d64ea(0x136)]()??'';}function listFiles(_0x1d8a29,_0x2f1a2a=_0x1d8a29){const _0xcdc2a6=a263_0x55e1f;return readdirSync(_0x2f1a2a,{'withFileTypes':!![]})[_0xcdc2a6(0x13f)](_0x3cc40d=>{const _0x2484a6=_0xcdc2a6,_0x31c9eb=join(_0x2f1a2a,_0x3cc40d['name']),_0x4c759b=lstatSync(_0x31c9eb);if(_0x4c759b[_0x2484a6(0x16d)]())throw new Error(_0x2484a6(0x157)+_0x31c9eb);if(_0x4c759b['isDirectory']())return listFiles(_0x1d8a29,_0x31c9eb);if(!_0x4c759b[_0x2484a6(0x15d)]())throw new Error(_0x2484a6(0x14a)+_0x31c9eb);return[relative(_0x1d8a29,_0x31c9eb)[_0x2484a6(0x13e)](sep)[_0x2484a6(0x156)]('/')];})[_0xcdc2a6(0x173)]((_0x36508f,_0x39633e)=>_0x36508f<_0x39633e?-0x1:_0x36508f>_0x39633e?0x1:0x0);}function a263_0x4c9e(){const _0x16310e=['packageVersion','438eGxIKZ','current','stdio','length','unknown','skills@latest\x20exited\x20','Unsupported\x20Skill\x20entry:\x20','root','reason','2870100AXJyzG','Built-in\x20Skill\x20source\x20does\x20not\x20match\x20its\x20package\x20manifest','packageRoot','37863CQtVOK','unverifiable','718fkCEvk','rabetbase','sha256','name','join','Symbolic\x20link\x20is\x20not\x20allowed:\x20','status','present','state','26756iOdMNV','skillVersion','isFile','INSTALL_FAILED',':\x5cs*(.+)$','match','schemaVersion','digest','rabetbase.manifest.json','skills','path','missing','update','message','pipe','parse','installedPath','version','isSymbolicLink','utf8','files','package.json','5WfqhHF','4078968mTUeot','sort','Unsafe\x20manifest\x20path:\x20','includes','manifest','trim','1003618jKVlNp','1130444GPoHQK','328XIEhqy','SKILL.md','22vZGAlm','home','6IwbfQl','split','flatMap','version_mismatch','content_mismatch','VERIFY_FAILED'];a263_0x4c9e=function(){return _0x16310e;};return a263_0x4c9e();}function digestFiles(_0xf64762,_0x12b04e){const _0x45457c=a263_0x55e1f,_0x5956d7=createHash(_0x45457c(0x154));for(const _0x530889 of _0x12b04e){if(_0x530889['startsWith']('/')||_0x530889['split']('/')[_0x45457c(0x134)]('..')||_0x530889[_0x45457c(0x134)]('\x5c'))throw new Error(_0x45457c(0x174)+_0x530889);_0x5956d7['update'](_0x530889),_0x5956d7[_0x45457c(0x167)]('\x00'),_0x5956d7[_0x45457c(0x167)](readFileSync(join(_0xf64762,..._0x530889[_0x45457c(0x13e)]('/')))),_0x5956d7['update']('\x00');}return _0x5956d7['digest']('hex');}function sameFiles(_0x27ddb4,_0x21b38c){const _0x3e859a=a263_0x55e1f;return _0x27ddb4[_0x3e859a(0x147)]===_0x21b38c[_0x3e859a(0x147)]&&_0x27ddb4['every']((_0x5391fb,_0x5e70f4)=>_0x5391fb===_0x21b38c[_0x5e70f4]);}function readSource(_0x84f571){const _0x394152=a263_0x55e1f,_0x1738c2=JSON[_0x394152(0x16a)](readFileSync(join(_0x84f571,_0x394152(0x170)),'utf8')),_0x2dd76a=JSON[_0x394152(0x16a)](readFileSync(join(_0x84f571,'skills',_0x394152(0x163)),_0x394152(0x16e))),_0x3e291d=join(_0x84f571,_0x394152(0x164),SKILL_NAME),_0x21c845=frontmatterValue(readFileSync(join(_0x3e291d,'SKILL.md'),_0x394152(0x16e)),_0x394152(0x16c)),_0x5627aa=listFiles(_0x3e291d);if(_0x2dd76a[_0x394152(0x161)]!==0x1||_0x2dd76a[_0x394152(0x155)]!==SKILL_NAME||!_0x1738c2[_0x394152(0x16c)]||_0x2dd76a['packageVersion']!==_0x1738c2['version']||_0x2dd76a[_0x394152(0x15c)]!==_0x1738c2['version']||_0x21c845!==_0x1738c2['version']||!sameFiles(_0x5627aa,_0x2dd76a[_0x394152(0x16f)])||digestFiles(_0x3e291d,_0x5627aa)!==_0x2dd76a[_0x394152(0x162)])throw new Error(_0x394152(0x14e));return{'packageVersion':_0x1738c2[_0x394152(0x16c)],'skillVersion':_0x21c845,'root':_0x3e291d,'manifest':_0x2dd76a};}function installedSkillPath(_0x29a817){const _0x229a65=a263_0x55e1f,_0x1a7bc7=resolveInstalledSkill(SKILL_NAME,{'home':_0x29a817});if(_0x1a7bc7['state']==='present')return{'state':_0x229a65(0x159),'path':dirname(_0x1a7bc7[_0x229a65(0x165)])};if(_0x1a7bc7[_0x229a65(0x15a)]==='absent')return{'state':'missing'};return{'state':'unverifiable','reason':_0x1a7bc7[_0x229a65(0x14c)]};}export function inspectInstalledBuiltinSkillVersion(_0xb0da73,_0x1c4e20={}){const _0x134395=a263_0x55e1f,_0xe460bd=installedSkillPath(_0x1c4e20['home']??homedir());if(_0xe460bd[_0x134395(0x15a)]===_0x134395(0x166))return{'state':_0x134395(0x166),'expectedVersion':_0xb0da73,'repairCommand':REPAIR_COMMAND};if(_0xe460bd['state']==='unverifiable')return{'state':'unverifiable','expectedVersion':_0xb0da73,'reason':_0xe460bd[_0x134395(0x14c)],'repairCommand':REPAIR_COMMAND};try{const _0x279901=frontmatterValue(readFileSync(join(_0xe460bd[_0x134395(0x165)],_0x134395(0x13a)),'utf8'),'version');return{'state':_0x279901===_0xb0da73?_0x134395(0x145):_0x134395(0x140),'expectedVersion':_0xb0da73,'skillVersion':_0x279901,'installedPath':_0xe460bd[_0x134395(0x165)],'repairCommand':REPAIR_COMMAND};}catch(_0x590c12){return{'state':'unverifiable','expectedVersion':_0xb0da73,'installedPath':_0xe460bd[_0x134395(0x165)],'reason':_0x590c12 instanceof Error?_0x590c12[_0x134395(0x168)]:String(_0x590c12),'repairCommand':REPAIR_COMMAND};}}export function inspectBuiltinSkill(_0x563a7a={}){const _0x74d121=a263_0x55e1f,_0x16b492=_0x563a7a['packageRoot']??DEFAULT_PACKAGE_ROOT;let _0x51067c;try{_0x51067c=readSource(_0x16b492);}catch(_0x1a5eb7){return{'state':'unverifiable','packageVersion':'unknown','reason':_0x1a5eb7 instanceof Error?_0x1a5eb7[_0x74d121(0x168)]:String(_0x1a5eb7),'repairCommand':REPAIR_COMMAND};}const _0x34f43f=installedSkillPath(_0x563a7a[_0x74d121(0x13c)]??homedir());if(_0x34f43f[_0x74d121(0x15a)]===_0x74d121(0x166))return{'state':_0x74d121(0x166),'packageVersion':_0x51067c['packageVersion'],'repairCommand':REPAIR_COMMAND};if(_0x34f43f[_0x74d121(0x15a)]===_0x74d121(0x151))return{'state':_0x74d121(0x151),'packageVersion':_0x51067c[_0x74d121(0x143)],'reason':_0x34f43f[_0x74d121(0x14c)],'repairCommand':REPAIR_COMMAND};try{const _0x19cb12=frontmatterValue(readFileSync(join(_0x34f43f['path'],_0x74d121(0x13a)),_0x74d121(0x16e)),'version');if(_0x19cb12!==_0x51067c['skillVersion'])return{'state':_0x74d121(0x140),'packageVersion':_0x51067c['packageVersion'],'skillVersion':_0x19cb12,'installedPath':_0x34f43f[_0x74d121(0x165)],'repairCommand':REPAIR_COMMAND};const _0x5e5664=listFiles(_0x34f43f[_0x74d121(0x165)]),_0x4d25de=digestFiles(_0x34f43f[_0x74d121(0x165)],_0x5e5664);return{'state':sameFiles(_0x5e5664,_0x51067c[_0x74d121(0x135)]['files'])&&_0x4d25de===_0x51067c[_0x74d121(0x135)][_0x74d121(0x162)]?_0x74d121(0x145):_0x74d121(0x141),'packageVersion':_0x51067c['packageVersion'],'skillVersion':_0x19cb12,'installedPath':_0x34f43f[_0x74d121(0x165)],'digest':_0x4d25de,'repairCommand':REPAIR_COMMAND};}catch(_0xdb0f2e){return{'state':'unverifiable','packageVersion':_0x51067c['packageVersion'],'installedPath':_0x34f43f[_0x74d121(0x165)],'reason':_0xdb0f2e instanceof Error?_0xdb0f2e[_0x74d121(0x168)]:String(_0xdb0f2e),'repairCommand':REPAIR_COMMAND};}}function failure(_0x37ccdc,_0x442c98,_0x4c5140,_0x4da830){const _0x144a39=a263_0x55e1f;return{'ok':![],'code':_0x37ccdc,'packageVersion':_0x442c98[_0x144a39(0x143)],'skillVersion':_0x442c98['skillVersion'],'installedPath':_0x4da830,'changed':![],'repairCommand':REPAIR_COMMAND,'error':_0x4c5140 instanceof Error?_0x4c5140[_0x144a39(0x168)]:String(_0x4c5140)};}export function installBuiltinSkill(_0x4cb8ce={}){const _0x5bc0bc=a263_0x55e1f,_0x46c2cd=_0x4cb8ce[_0x5bc0bc(0x14f)]??DEFAULT_PACKAGE_ROOT,_0x176d17=_0x4cb8ce['home']??homedir();let _0x200629;try{_0x200629=readSource(_0x46c2cd);}catch(_0xf6c170){return failure('SOURCE_INVALID',{'packageVersion':_0x5bc0bc(0x148),'skillVersion':_0x5bc0bc(0x148)},_0xf6c170);}const _0x1c5eb9=inspectBuiltinSkill({'packageRoot':_0x46c2cd,'home':_0x176d17}),_0x406cc9=runNpxSkillsAddGlobal(_0x46c2cd,_0x200629[_0x5bc0bc(0x14b)],{'stdio':_0x4cb8ce[_0x5bc0bc(0x146)]??_0x5bc0bc(0x169),'expectedSkillName':SKILL_NAME,'presence':{'home':_0x176d17}});if(_0x406cc9['skipped'])return{'ok':!![],'packageVersion':_0x200629[_0x5bc0bc(0x143)],'skillVersion':_0x200629[_0x5bc0bc(0x15c)],'installedPath':_0x1c5eb9[_0x5bc0bc(0x16b)],'changed':![],'repairCommand':REPAIR_COMMAND};if(!_0x406cc9['ok'])return failure(_0x5bc0bc(0x15e),_0x200629,_0x406cc9['error']??_0x5bc0bc(0x149)+_0x406cc9[_0x5bc0bc(0x158)]);const _0x585a24=inspectBuiltinSkill({'packageRoot':_0x46c2cd,'home':_0x176d17});if(_0x585a24[_0x5bc0bc(0x15a)]!==_0x5bc0bc(0x145))return failure(_0x5bc0bc(0x142),_0x200629,_0x585a24[_0x5bc0bc(0x14c)]??'Installed\x20Skill\x20state\x20is\x20'+_0x585a24[_0x5bc0bc(0x15a)],_0x585a24['installedPath']);return{'ok':!![],'packageVersion':_0x200629[_0x5bc0bc(0x143)],'skillVersion':_0x200629['skillVersion'],'installedPath':_0x585a24[_0x5bc0bc(0x16b)],'changed':_0x1c5eb9[_0x5bc0bc(0x15a)]!=='current','repairCommand':REPAIR_COMMAND};}
@@ -1 +1 @@
1
- (function(_0x36e351,_0x3b6232){const _0x568b1f=a264_0xe01e,_0x2cfa0d=_0x36e351();while(!![]){try{const _0x5f0c91=parseInt(_0x568b1f(0xf7))/0x1+parseInt(_0x568b1f(0x109))/0x2*(-parseInt(_0x568b1f(0xe8))/0x3)+-parseInt(_0x568b1f(0x100))/0x4*(-parseInt(_0x568b1f(0xe9))/0x5)+-parseInt(_0x568b1f(0xf6))/0x6+-parseInt(_0x568b1f(0x10a))/0x7+-parseInt(_0x568b1f(0xfd))/0x8*(parseInt(_0x568b1f(0xf5))/0x9)+parseInt(_0x568b1f(0xea))/0xa*(parseInt(_0x568b1f(0x10b))/0xb);if(_0x5f0c91===_0x3b6232)break;else _0x2cfa0d['push'](_0x2cfa0d['shift']());}catch(_0x1311ee){_0x2cfa0d['push'](_0x2cfa0d['shift']());}}}(a264_0x3503,0x5b86e));import{logger}from'../utils/logger.js';function a264_0xe01e(_0x4c1aa5,_0x5674d9){_0x4c1aa5=_0x4c1aa5-0xe6;const _0x3503d6=a264_0x3503();let _0xe01ef4=_0x3503d6[_0x4c1aa5];return _0xe01ef4;}import{CLI_BIN_NAME}from'../constant/cli.js';function a264_0x3503(){const _0x42c99f=['cwd','\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill','271058yuHzUb','1569127CWvKJs','2149477ehczSL','add','skill','from','9kXowIw','16820tHdvEh','30HlukEI','length','push','--help','\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','slice','help','includes','\x0aAvailable\x20commands:','-$1','startsWith','4851pNjfhE','1306308uLsefp','693680qaUAWu','Public\x20Open\x20Skill\x20source:\x20','\x0a\x0aNote:\x20cli-skill\x20install\x20uses\x20the\x20npm\x20package-local\x20Skill;\x20the\x20public\x20source\x20is\x20an\x20optional\x20latest\x20mirror.\x0a','Error:\x20Unsupported\x20command:\x20','has','replace','1688XWQDXI','argv','log','68vTqBVH','enable-bff-save','entries','setLogPath','exit','\x20cli-skill\x20install\x0a\x0aPublic\x20Open\x20Skill\x20source:\x20','error'];a264_0x3503=function(){return _0x42c99f;};return a264_0x3503();}import{NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE}from'../skills/npx-skills-add.js';export function camelCaseFlagsToKebab(_0x41ddf5){const _0x57f672=a264_0xe01e,_0x45fd76=[];for(const [_0x328d0e,_0x5b4373]of Object[_0x57f672(0x102)](_0x41ddf5)){if(_0x5b4373===!![]){const _0x235ac6=_0x328d0e[_0x57f672(0xfc)](/([A-Z])/g,_0x57f672(0xf3))['toLowerCase']();_0x45fd76[_0x57f672(0xec)](_0x235ac6);}}return _0x45fd76;}export function parseDynamicFlags(){const _0x4d5458=a264_0xe01e,_0x2ca62f=[];for(let _0x358a4e=0x3;_0x358a4e<process[_0x4d5458(0xfe)][_0x4d5458(0xeb)];_0x358a4e++){const _0x586fc2=process[_0x4d5458(0xfe)][_0x358a4e];if(_0x586fc2&&_0x586fc2[_0x4d5458(0xf4)]('--')){const _0x7d5870=_0x586fc2[_0x4d5458(0xef)](0x2);_0x7d5870&&!_0x7d5870[_0x4d5458(0xf1)]('=')&&_0x2ca62f[_0x4d5458(0xec)](_0x7d5870);}}return _0x2ca62f;}export function getAllProvidedFlags(_0x110d78){const _0x213c43=a264_0xe01e,_0x233850=camelCaseFlagsToKebab(_0x110d78),_0x137ad3=parseDynamicFlags(),_0x67ee6=new Set([..._0x233850,..._0x137ad3]);return Array[_0x213c43(0xe7)](_0x67ee6);}export function normalizeLegacyBffSaveFlags(_0x545f7e){const _0xc81114=a264_0xe01e,_0x2ce72c=new Set(_0x545f7e);return _0x2ce72c[_0xc81114(0xfb)]('dangerously-bff-save')&&_0x2ce72c[_0xc81114(0x10c)](_0xc81114(0x101)),Array[_0xc81114(0xe7)](_0x2ce72c);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;export async function skillsCommand(_0x27b837,_0x1f774b,_0x243347){const _0x3b0b57=a264_0xe01e;logger[_0x3b0b57(0x103)](process[_0x3b0b57(0x107)]());if(_0x243347?.[_0x3b0b57(0xf0)]||_0x27b837===_0x3b0b57(0xed)){showHelp();return;}console[_0x3b0b57(0x106)](_0x3b0b57(0xfa)+(_0x27b837||'(empty)')),console[_0x3b0b57(0xff)](_0x3b0b57(0xf2)),console[_0x3b0b57(0xff)]('\x20\x20'+CLI_BIN_NAME+_0x3b0b57(0x108)),console['log'](''),console[_0x3b0b57(0xff)](_0x3b0b57(0xf8)+SKILLS_INSTALL_COMMAND_LINE),logger[_0x3b0b57(0x106)](_0x3b0b57(0xe6),'不支持的命令:\x20'+_0x27b837),process[_0x3b0b57(0x104)](0x1);}function showHelp(){const _0x549538=a264_0xe01e;console[_0x549538(0xff)](_0x549538(0xee)+CLI_BIN_NAME+_0x549538(0x105)+SKILLS_INSTALL_COMMAND_LINE+_0x549538(0xf9));}
1
+ (function(_0x145466,_0x2dc335){const _0x436c0b=a264_0x18c6,_0x43dd43=_0x145466();while(!![]){try{const _0x11f80f=-parseInt(_0x436c0b(0x1d9))/0x1*(-parseInt(_0x436c0b(0x1e5))/0x2)+-parseInt(_0x436c0b(0x1d8))/0x3*(parseInt(_0x436c0b(0x1d6))/0x4)+-parseInt(_0x436c0b(0x1df))/0x5*(parseInt(_0x436c0b(0x1e8))/0x6)+parseInt(_0x436c0b(0x1eb))/0x7+-parseInt(_0x436c0b(0x1e9))/0x8+parseInt(_0x436c0b(0x1f3))/0x9*(-parseInt(_0x436c0b(0x1db))/0xa)+parseInt(_0x436c0b(0x1ec))/0xb*(parseInt(_0x436c0b(0x1ef))/0xc);if(_0x11f80f===_0x2dc335)break;else _0x43dd43['push'](_0x43dd43['shift']());}catch(_0x3c29c5){_0x43dd43['push'](_0x43dd43['shift']());}}}(a264_0x266d,0xe6d6e));import{logger}from'../utils/logger.js';import{CLI_BIN_NAME}from'../constant/cli.js';import{NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE}from'../skills/npx-skills-add.js';function a264_0x266d(){const _0x367193=['Error:\x20Unsupported\x20command:\x20','add','12iheuUi','\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill','toLowerCase','exit','18UDmiCQ','skill','(empty)','Unsupported\x20command:\x20','4540392MwpQpd','\x0aAvailable\x20commands:','3hvNvwr','7SpkkMA','from','3615280GdSrad','push','\x0a\x0aNote:\x20cli-skill\x20install\x20uses\x20the\x20npm\x20package-local\x20Skill;\x20the\x20public\x20source\x20is\x20an\x20optional\x20latest\x20mirror.\x0a','slice','741150crqEtO','Public\x20Open\x20Skill\x20source:\x20','enable-bff-save','log','error','-$1','47522yrFCNK','argv','includes','54LGozmG','7886024kpPogB','\x20cli-skill\x20install\x0a\x0aPublic\x20Open\x20Skill\x20source:\x20','12948607FKNPBB','34181037tyCbeH'];a264_0x266d=function(){return _0x367193;};return a264_0x266d();}export function camelCaseFlagsToKebab(_0x54aa94){const _0x5d985d=a264_0x18c6,_0x2e928b=[];for(const [_0x432cac,_0x5de156]of Object['entries'](_0x54aa94)){if(_0x5de156===!![]){const _0xfe7057=_0x432cac['replace'](/([A-Z])/g,_0x5d985d(0x1e4))[_0x5d985d(0x1f1)]();_0x2e928b[_0x5d985d(0x1dc)](_0xfe7057);}}return _0x2e928b;}export function parseDynamicFlags(){const _0x28ce89=a264_0x18c6,_0x2e2411=[];for(let _0x562b42=0x3;_0x562b42<process[_0x28ce89(0x1e6)]['length'];_0x562b42++){const _0x2616f8=process[_0x28ce89(0x1e6)][_0x562b42];if(_0x2616f8&&_0x2616f8['startsWith']('--')){const _0x20c4dc=_0x2616f8[_0x28ce89(0x1de)](0x2);_0x20c4dc&&!_0x20c4dc[_0x28ce89(0x1e7)]('=')&&_0x2e2411[_0x28ce89(0x1dc)](_0x20c4dc);}}return _0x2e2411;}export function getAllProvidedFlags(_0x377890){const _0x5baec7=a264_0x18c6,_0xc414e7=camelCaseFlagsToKebab(_0x377890),_0x44a40a=parseDynamicFlags(),_0x26ad3a=new Set([..._0xc414e7,..._0x44a40a]);return Array[_0x5baec7(0x1da)](_0x26ad3a);}export function normalizeLegacyBffSaveFlags(_0x14aaa0){const _0x529022=a264_0x18c6,_0x5c9157=new Set(_0x14aaa0);return _0x5c9157['has']('dangerously-bff-save')&&_0x5c9157[_0x529022(0x1ee)](_0x529022(0x1e1)),Array[_0x529022(0x1da)](_0x5c9157);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;export async function skillsCommand(_0x3e6951,_0x1ef87a,_0x214954){const _0x2df0f6=a264_0x18c6;logger['setLogPath'](process['cwd']());if(_0x214954?.['help']||_0x3e6951==='--help'){showHelp();return;}console[_0x2df0f6(0x1e3)](_0x2df0f6(0x1ed)+(_0x3e6951||_0x2df0f6(0x1d4))),console[_0x2df0f6(0x1e2)](_0x2df0f6(0x1d7)),console[_0x2df0f6(0x1e2)]('\x20\x20'+CLI_BIN_NAME+_0x2df0f6(0x1f0)),console[_0x2df0f6(0x1e2)](''),console['log'](_0x2df0f6(0x1e0)+SKILLS_INSTALL_COMMAND_LINE),logger[_0x2df0f6(0x1e3)](_0x2df0f6(0x1d3),_0x2df0f6(0x1d5)+_0x3e6951),process[_0x2df0f6(0x1f2)](0x1);}function a264_0x18c6(_0x1adfa2,_0x2cfc07){_0x1adfa2=_0x1adfa2-0x1d3;const _0x266d24=a264_0x266d();let _0x18c60e=_0x266d24[_0x1adfa2];return _0x18c60e;}function showHelp(){const _0x80a0e1=a264_0x18c6;console[_0x80a0e1(0x1e2)]('\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20'+CLI_BIN_NAME+_0x80a0e1(0x1ea)+SKILLS_INSTALL_COMMAND_LINE+_0x80a0e1(0x1dd));}