@lovrabet/rabetbase-cli 2.3.16-beta.6 → 2.3.16-beta.7

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 (279) 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.js +1 -1
  4. package/lib/auth/auth-server-ui.js +1 -1
  5. package/lib/auth/auth-server.js +1 -1
  6. package/lib/auth/constant.js +1 -1
  7. package/lib/auth/get-cookie.js +1 -1
  8. package/lib/auth/get-session-user.js +1 -1
  9. package/lib/auth/is-session-valid.js +1 -1
  10. package/lib/auth/login-success-html.js +1 -1
  11. package/lib/auth/logout.js +1 -1
  12. package/lib/cli-flags.js +1 -1
  13. package/lib/cli.js +1 -1
  14. package/lib/commands/api/generate.js +1 -1
  15. package/lib/commands/api/index.js +1 -1
  16. package/lib/commands/api/list.js +1 -1
  17. package/lib/commands/api/pull.js +1 -1
  18. package/lib/commands/api/shared.js +1 -1
  19. package/lib/commands/app/index.js +1 -1
  20. package/lib/commands/app/list.js +1 -1
  21. package/lib/commands/app/members-list.js +1 -1
  22. package/lib/commands/app/remote-directory.js +1 -1
  23. package/lib/commands/app/shared.js +1 -1
  24. package/lib/commands/app-config/delete.js +1 -1
  25. package/lib/commands/app-config/get.js +1 -1
  26. package/lib/commands/app-config/index.js +1 -1
  27. package/lib/commands/app-config/list.js +1 -1
  28. package/lib/commands/app-config/set.js +1 -1
  29. package/lib/commands/app-config/shared.js +1 -1
  30. package/lib/commands/auth/index.js +1 -1
  31. package/lib/commands/bff/create.js +1 -1
  32. package/lib/commands/bff/delete.js +1 -1
  33. package/lib/commands/bff/detail.js +1 -1
  34. package/lib/commands/bff/index.js +1 -1
  35. package/lib/commands/bff/list.js +1 -1
  36. package/lib/commands/bff/pull.js +1 -1
  37. package/lib/commands/bff/push.js +1 -1
  38. package/lib/commands/bff/status.js +1 -1
  39. package/lib/commands/cli-skill/index.js +1 -1
  40. package/lib/commands/cli-update.js +1 -1
  41. package/lib/commands/codegen/index.js +1 -1
  42. package/lib/commands/codegen/sdk.js +1 -1
  43. package/lib/commands/codegen/sql.js +1 -1
  44. package/lib/commands/common/app-registry.js +1 -1
  45. package/lib/commands/common/app-selector.js +1 -1
  46. package/lib/commands/common/async-task.js +1 -1
  47. package/lib/commands/common/dry-run.js +1 -1
  48. package/lib/commands/common/flags.js +1 -1
  49. package/lib/commands/common/local-file.js +1 -1
  50. package/lib/commands/common/validate.js +1 -1
  51. package/lib/commands/config/get.js +1 -1
  52. package/lib/commands/config/index.js +1 -1
  53. package/lib/commands/config/list.js +1 -1
  54. package/lib/commands/config/set.js +1 -1
  55. package/lib/commands/config/shared.js +1 -1
  56. package/lib/commands/data/filter.js +1 -1
  57. package/lib/commands/data/getOne.js +1 -1
  58. package/lib/commands/data/index.js +1 -1
  59. package/lib/commands/data/shared.js +1 -1
  60. package/lib/commands/dataset/business-group-update.js +1 -1
  61. package/lib/commands/dataset/capability.js +1 -1
  62. package/lib/commands/dataset/delete.js +1 -1
  63. package/lib/commands/dataset/detail.js +1 -1
  64. package/lib/commands/dataset/extend-update.js +1 -1
  65. package/lib/commands/dataset/field-update.js +1 -1
  66. package/lib/commands/dataset/generate.js +1 -1
  67. package/lib/commands/dataset/index.js +1 -1
  68. package/lib/commands/dataset/list.js +1 -1
  69. package/lib/commands/dataset/operations.js +1 -1
  70. package/lib/commands/dataset/relation-audit.js +1 -1
  71. package/lib/commands/dataset/relation-create.js +1 -1
  72. package/lib/commands/dataset/relation-delete.js +1 -1
  73. package/lib/commands/dataset/relation-shared.js +1 -1
  74. package/lib/commands/dataset/relation-update.js +1 -1
  75. package/lib/commands/dataset/relations.js +1 -1
  76. package/lib/commands/dataset/rename.js +1 -1
  77. package/lib/commands/dataset/restore.js +1 -1
  78. package/lib/commands/db/analysis-batching.js +1 -1
  79. package/lib/commands/db/analyze-batch-plan.js +1 -1
  80. package/lib/commands/db/analyze-cancel.js +1 -1
  81. package/lib/commands/db/analyze-start.js +1 -1
  82. package/lib/commands/db/analyze-status.js +1 -1
  83. package/lib/commands/db/create.js +1 -1
  84. package/lib/commands/db/delete.js +1 -1
  85. package/lib/commands/db/detail.js +1 -1
  86. package/lib/commands/db/diff.js +1 -1
  87. package/lib/commands/db/index.js +1 -1
  88. package/lib/commands/db/list.js +1 -1
  89. package/lib/commands/db/shared.js +1 -1
  90. package/lib/commands/db/tables.js +1 -1
  91. package/lib/commands/db/test.js +1 -1
  92. package/lib/commands/db/update.js +1 -1
  93. package/lib/commands/doctor.js +1 -1
  94. package/lib/commands/file/index.js +1 -1
  95. package/lib/commands/init/index.js +1 -1
  96. package/lib/commands/issue/index.js +1 -1
  97. package/lib/commands/issue/nudge.js +1 -1
  98. package/lib/commands/issue/report.js +1 -1
  99. package/lib/commands/issue/shared.js +1 -1
  100. package/lib/commands/kb/create.js +1 -1
  101. package/lib/commands/kb/delete.js +1 -1
  102. package/lib/commands/kb/detail.js +1 -1
  103. package/lib/commands/kb/index.js +1 -1
  104. package/lib/commands/kb/list.js +1 -1
  105. package/lib/commands/kb/shared.js +1 -1
  106. package/lib/commands/kb/update.js +1 -1
  107. package/lib/commands/logs/index.js +1 -1
  108. package/lib/commands/menu/asset-update.js +1 -1
  109. package/lib/commands/menu/delete.js +1 -1
  110. package/lib/commands/menu/external-link-create.js +1 -1
  111. package/lib/commands/menu/external-link-update.js +1 -1
  112. package/lib/commands/menu/group-create.js +1 -1
  113. package/lib/commands/menu/group-update.js +1 -1
  114. package/lib/commands/menu/index.js +1 -1
  115. package/lib/commands/menu/list.js +1 -1
  116. package/lib/commands/menu/move.js +1 -1
  117. package/lib/commands/menu/regroup-start.js +1 -1
  118. package/lib/commands/menu/rename.js +1 -1
  119. package/lib/commands/menu/shared/compare-table.js +1 -1
  120. package/lib/commands/menu/shared/delete-plan.js +1 -1
  121. package/lib/commands/menu/shared/facts.js +1 -1
  122. package/lib/commands/menu/shared/index.js +1 -1
  123. package/lib/commands/menu/shared/inquirer.js +1 -1
  124. package/lib/commands/menu/shared/local-pages.js +1 -1
  125. package/lib/commands/menu/shared/logic.js +1 -1
  126. package/lib/commands/menu/shared/mutations.js +1 -1
  127. package/lib/commands/menu/shared/service.js +1 -1
  128. package/lib/commands/menu/shared/sync-core.js +1 -1
  129. package/lib/commands/menu/shared/update-core.js +1 -1
  130. package/lib/commands/menu/shared/valid-url.js +1 -1
  131. package/lib/commands/menu/sync.js +1 -1
  132. package/lib/commands/notification/config-list.js +1 -1
  133. package/lib/commands/notification/index.js +1 -1
  134. package/lib/commands/ocr/index.js +1 -1
  135. package/lib/commands/page/generate-start.js +1 -1
  136. package/lib/commands/page/generate-status.js +1 -1
  137. package/lib/commands/page/index.js +1 -1
  138. package/lib/commands/page/pull.js +1 -1
  139. package/lib/commands/page/push.js +1 -1
  140. package/lib/commands/page/relation-audit.js +1 -1
  141. package/lib/commands/page/restore.js +1 -1
  142. package/lib/commands/page/shared.js +1 -1
  143. package/lib/commands/page/standard-page-status.js +1 -1
  144. package/lib/commands/page/sync.js +1 -1
  145. package/lib/commands/permit/index.js +1 -1
  146. package/lib/commands/permit/page-get.js +1 -1
  147. package/lib/commands/permit/page-set.js +1 -1
  148. package/lib/commands/permit/role-apis-set.js +1 -1
  149. package/lib/commands/permit/role-menus-set.js +1 -1
  150. package/lib/commands/permit/role-menus.js +1 -1
  151. package/lib/commands/permit/shared.js +1 -1
  152. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  153. package/lib/commands/project/create/format-elapsed.js +1 -1
  154. package/lib/commands/project/create/main.js +1 -1
  155. package/lib/commands/project/create/non-interactive.js +1 -1
  156. package/lib/commands/project/create/project-template-path.js +1 -1
  157. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  158. package/lib/commands/project/create/use-format-code.js +1 -1
  159. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  160. package/lib/commands/project/index.js +1 -1
  161. package/lib/commands/project/upgrade.js +1 -1
  162. package/lib/commands/registry.js +1 -1
  163. package/lib/commands/role/create.js +1 -1
  164. package/lib/commands/role/delete.js +1 -1
  165. package/lib/commands/role/detail.js +1 -1
  166. package/lib/commands/role/index.js +1 -1
  167. package/lib/commands/role/list.js +1 -1
  168. package/lib/commands/role/shared.js +1 -1
  169. package/lib/commands/role/update.js +1 -1
  170. package/lib/commands/role/user-add.js +1 -1
  171. package/lib/commands/role/user-remove.js +1 -1
  172. package/lib/commands/role/user-resolve.js +1 -1
  173. package/lib/commands/run/index.js +1 -1
  174. package/lib/commands/schema.js +1 -1
  175. package/lib/commands/sql/create.js +1 -1
  176. package/lib/commands/sql/delete.js +1 -1
  177. package/lib/commands/sql/detail.js +1 -1
  178. package/lib/commands/sql/exec.js +1 -1
  179. package/lib/commands/sql/index.js +1 -1
  180. package/lib/commands/sql/list.js +1 -1
  181. package/lib/commands/sql/pull.js +1 -1
  182. package/lib/commands/sql/push.js +1 -1
  183. package/lib/commands/sql/shared.js +1 -1
  184. package/lib/commands/sql/status.js +1 -1
  185. package/lib/commands/sql/validate.js +1 -1
  186. package/lib/commands/task/index.js +1 -1
  187. package/lib/commands/task/status.js +1 -1
  188. package/lib/commands/tenant/index.js +1 -1
  189. package/lib/commands/tenant/members-list.js +1 -1
  190. package/lib/commands/tenant/shared.js +1 -1
  191. package/lib/commands/workspace/add.js +1 -1
  192. package/lib/commands/workspace/index.js +1 -1
  193. package/lib/commands/workspace/remove.js +1 -1
  194. package/lib/config/schema.js +1 -1
  195. package/lib/constant/cdn.js +1 -1
  196. package/lib/constant/cli.js +1 -1
  197. package/lib/constant/defaults.js +1 -1
  198. package/lib/constant/domain.js +1 -1
  199. package/lib/constant/env.js +1 -1
  200. package/lib/constant/output.js +1 -1
  201. package/lib/constant/paths.js +1 -1
  202. package/lib/constant/risk.js +1 -1
  203. package/lib/context/app-resolver.js +1 -1
  204. package/lib/context/auth-resolver.js +1 -1
  205. package/lib/context/config-loader.js +1 -1
  206. package/lib/context.d.ts +1 -1
  207. package/lib/context.js +1 -1
  208. package/lib/core/alias-resolver.js +1 -1
  209. package/lib/core/api-client.js +1 -1
  210. package/lib/core/bff/config.js +1 -1
  211. package/lib/core/bff/file-system.js +1 -1
  212. package/lib/core/bff/hash.js +1 -1
  213. package/lib/core/bff/lock.js +1 -1
  214. package/lib/core/bff/utils.js +1 -1
  215. package/lib/core/db-resolver.js +1 -1
  216. package/lib/core/page/file-system.js +1 -1
  217. package/lib/core/page/hash.js +1 -1
  218. package/lib/core/page/lock.js +1 -1
  219. package/lib/core/sql-index-auditor.js +1 -1
  220. package/lib/core/sql-sync/config.js +1 -1
  221. package/lib/core/sql-sync/file-system.js +1 -1
  222. package/lib/core/sql-sync/hash.js +1 -1
  223. package/lib/core/sql-sync/lock.js +1 -1
  224. package/lib/core/sql-sync/utils.js +1 -1
  225. package/lib/core/sql-validator.js +1 -1
  226. package/lib/errors.js +1 -1
  227. package/lib/framework/build-all-flags.js +1 -1
  228. package/lib/framework/error-output.js +1 -1
  229. package/lib/framework/explicit-yes.js +1 -1
  230. package/lib/framework/flags.js +1 -1
  231. package/lib/framework/help.js +1 -1
  232. package/lib/framework/index.js +1 -1
  233. package/lib/framework/output.js +1 -1
  234. package/lib/framework/response.js +1 -1
  235. package/lib/framework/runner-alias.js +1 -1
  236. package/lib/framework/runner.js +1 -1
  237. package/lib/framework/schema-export.js +1 -1
  238. package/lib/framework/types.js +1 -1
  239. package/lib/generated/build-info.d.ts +4 -4
  240. package/lib/generated/build-info.js +1 -1
  241. package/lib/help.js +1 -1
  242. package/lib/runtime/confirmation.js +1 -1
  243. package/lib/runtime/event.js +1 -1
  244. package/lib/runtime/index.js +1 -1
  245. package/lib/runtime/queue.js +1 -1
  246. package/lib/runtime/resolve.js +1 -1
  247. package/lib/skills/main.js +1 -1
  248. package/lib/skills/npx-skills-add.js +1 -1
  249. package/lib/skills/skill-presence.js +1 -1
  250. package/lib/telemetry/cli-command-trace.js +1 -1
  251. package/lib/telemetry/cli-help-trace.js +1 -1
  252. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  253. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  254. package/lib/telemetry/send-cli-trace-log.js +1 -1
  255. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  256. package/lib/utils/ai_config.js +1 -1
  257. package/lib/utils/apply-jq-filter.js +1 -1
  258. package/lib/utils/cdn-config.js +1 -1
  259. package/lib/utils/check-sdk-version.js +1 -1
  260. package/lib/utils/cli-version-check.js +1 -1
  261. package/lib/utils/cli-version-policy.js +1 -1
  262. package/lib/utils/config.js +1 -1
  263. package/lib/utils/copy-directory.js +1 -1
  264. package/lib/utils/entity-with-id.js +1 -1
  265. package/lib/utils/file-utils.js +1 -1
  266. package/lib/utils/guides-cdn.js +1 -1
  267. package/lib/utils/http-client.js +1 -1
  268. package/lib/utils/is-non-interactive.js +1 -1
  269. package/lib/utils/logger.js +1 -1
  270. package/lib/utils/params.js +1 -1
  271. package/lib/utils/platform.js +1 -1
  272. package/lib/utils/rules-cdn.js +1 -1
  273. package/lib/utils/sleep.js +1 -1
  274. package/lib/utils/template-replacer.js +1 -1
  275. package/lib/utils/update-notice.js +1 -1
  276. package/lib/utils/version.js +1 -1
  277. package/lib/utils/with-active-cookie.js +1 -1
  278. package/lib/utils/write-cli-side-channel.js +1 -1
  279. package/package.json +1 -1
@@ -1 +1 @@
1
- (function(_0x5961f3,_0x449284){var _0x2cc1e9=a230_0x5766,_0x3537f8=_0x5961f3();while(!![]){try{var _0xcf46fd=parseInt(_0x2cc1e9(0x163))/0x1*(parseInt(_0x2cc1e9(0x167))/0x2)+parseInt(_0x2cc1e9(0x16c))/0x3+parseInt(_0x2cc1e9(0x15d))/0x4*(parseInt(_0x2cc1e9(0x16b))/0x5)+parseInt(_0x2cc1e9(0x15e))/0x6*(parseInt(_0x2cc1e9(0x160))/0x7)+parseInt(_0x2cc1e9(0x169))/0x8+parseInt(_0x2cc1e9(0x161))/0x9+-parseInt(_0x2cc1e9(0x15f))/0xa*(parseInt(_0x2cc1e9(0x165))/0xb);if(_0xcf46fd===_0x449284)break;else _0x3537f8['push'](_0x3537f8['shift']());}catch(_0x199d6e){_0x3537f8['push'](_0x3537f8['shift']());}}}(a230_0x53dd,0x5e081));import{resolveOutputConfig}from'@lovrabet/cli-framework';function a230_0x5766(_0x4a393b,_0x3f0cbe){_0x4a393b=_0x4a393b-0x15d;var _0x53dd28=a230_0x53dd();var _0x576622=_0x53dd28[_0x4a393b];return _0x576622;}function a230_0x53dd(){var _0x30bf66=['10YXxcWv','287LMrWSZ','3427281HFXctH','structuredErrors','1642EPXKJE','defaultFormat','21242540ZKtHOW','flags','122FtikFC','def','779624LaVjgY','compress','330EGJJnD','1134282qpZnSR','38476lEaWTR','106086tvjZdO'];a230_0x53dd=function(){return _0x30bf66;};return a230_0x53dd();}export function usesStructuredErrorOutput(_0x5ac2f6){var _0x2b8673=a230_0x5766;return _0x5ac2f6?.[_0x2b8673(0x162)]===!![];}export function resolveErrorOutputFormat(_0x347bf9){var _0x25ed86=a230_0x5766;if(!_0x347bf9[_0x25ed86(0x168)])return _0x347bf9[_0x25ed86(0x164)]??_0x25ed86(0x16a);return resolveOutputConfig({'flags':_0x347bf9[_0x25ed86(0x166)]??{},'def':_0x347bf9['def'],'configDefault':_0x347bf9[_0x25ed86(0x164)]})['format'];}
1
+ (function(_0x93efca,_0x2fbc24){var _0x879773=a230_0x1ba6,_0x4650a4=_0x93efca();while(!![]){try{var _0x1080a0=-parseInt(_0x879773(0x174))/0x1+parseInt(_0x879773(0x175))/0x2*(parseInt(_0x879773(0x181))/0x3)+-parseInt(_0x879773(0x17f))/0x4+-parseInt(_0x879773(0x179))/0x5+-parseInt(_0x879773(0x17c))/0x6*(parseInt(_0x879773(0x17a))/0x7)+-parseInt(_0x879773(0x17d))/0x8*(-parseInt(_0x879773(0x178))/0x9)+parseInt(_0x879773(0x17e))/0xa*(parseInt(_0x879773(0x17b))/0xb);if(_0x1080a0===_0x2fbc24)break;else _0x4650a4['push'](_0x4650a4['shift']());}catch(_0x385da1){_0x4650a4['push'](_0x4650a4['shift']());}}}(a230_0x27af,0x31052));function a230_0x1ba6(_0x16b3e1,_0x502e8d){_0x16b3e1=_0x16b3e1-0x174;var _0x27af41=a230_0x27af();var _0x1ba699=_0x27af41[_0x16b3e1];return _0x1ba699;}import{resolveOutputConfig}from'@lovrabet/cli-framework';export function usesStructuredErrorOutput(_0x58b46a){var _0x29eda0=a230_0x1ba6;return _0x58b46a?.[_0x29eda0(0x176)]===!![];}function a230_0x27af(){var _0x53128e=['3815sjRCOa','99VcvDgU','2868NUfycI','48Jgpmuq','242380Uouwnp','115524SgUMVv','def','33ANjXFa','defaultFormat','280422CcldNG','41114fnHzmD','structuredErrors','format','510561lHtzDS','70220xGfDnE'];a230_0x27af=function(){return _0x53128e;};return a230_0x27af();}export function resolveErrorOutputFormat(_0x120e6c){var _0x22eef4=a230_0x1ba6;if(!_0x120e6c[_0x22eef4(0x180)])return _0x120e6c[_0x22eef4(0x182)]??'compress';return resolveOutputConfig({'flags':_0x120e6c['flags']??{},'def':_0x120e6c[_0x22eef4(0x180)],'configDefault':_0x120e6c[_0x22eef4(0x182)]})[_0x22eef4(0x177)];}
@@ -1 +1 @@
1
- function a231_0x16a6(_0x32f931,_0x5c6bf1){_0x32f931=_0x32f931-0x13b;const _0x31d452=a231_0x31d4();let _0x16a656=_0x31d452[_0x32f931];return _0x16a656;}function a231_0x31d4(){const _0x30e6a5=['kb\x20delete','6401930RIdlMA','5751431OeeIXt','144388LrXsry','kb\x20create','menu\x20external-link-update','menu\x20regroup-start','399EJFOdm','1042085afwiBP','has','284635YMXlMM','menu\x20delete','11jkfNOk','command','Required\x20for\x20execution\x20after\x20reviewing\x20the\x20--dry-run\x20plan','8VXcFIt','24kihGRb','41166LzoQZg','24148jDQiRf'];a231_0x31d4=function(){return _0x30e6a5;};return a231_0x31d4();}const a231_0x2c1a0e=a231_0x16a6;(function(_0xae6c0e,_0x1d69b1){const _0x15d247=a231_0x16a6,_0x311811=_0xae6c0e();while(!![]){try{const _0x52225f=parseInt(_0x15d247(0x14d))/0x1+-parseInt(_0x15d247(0x146))/0x2+parseInt(_0x15d247(0x14a))/0x3*(-parseInt(_0x15d247(0x142))/0x4)+parseInt(_0x15d247(0x14b))/0x5*(parseInt(_0x15d247(0x140))/0x6)+-parseInt(_0x15d247(0x145))/0x7*(-parseInt(_0x15d247(0x13f))/0x8)+parseInt(_0x15d247(0x141))/0x9+parseInt(_0x15d247(0x144))/0xa*(-parseInt(_0x15d247(0x13c))/0xb);if(_0x52225f===_0x1d69b1)break;else _0x311811['push'](_0x311811['shift']());}catch(_0xc3780b){_0x311811['push'](_0x311811['shift']());}}}(a231_0x31d4,0x68c92));const EXPLICIT_YES_COMMANDS=new Set([a231_0x2c1a0e(0x148),a231_0x2c1a0e(0x13b),a231_0x2c1a0e(0x149),a231_0x2c1a0e(0x147),'kb\x20update',a231_0x2c1a0e(0x143)]);export const EXPLICIT_YES_FLAG_DESCRIPTION=a231_0x2c1a0e(0x13e);export function requiresExplicitYes(_0x2f7bcc){const _0x5c94c5=a231_0x2c1a0e;return EXPLICIT_YES_COMMANDS[_0x5c94c5(0x14c)](_0x2f7bcc['service']+'\x20'+_0x2f7bcc[_0x5c94c5(0x13d)]);}
1
+ const a231_0x2a3236=a231_0x5355;function a231_0x5296(){const _0x2bd53d=['889677ycMfze','18Nmqkyu','menu\x20delete','kb\x20create','service','11VmsVsQ','1107325BXQZmJ','1028vWVAYG','7FbRpVU','has','8QUibww','50qAxMNT','3938052IdVkaH','150362tHJiBq','966693tZuCkX','menu\x20external-link-update','menu\x20regroup-start','7035ioXOWG','2200384dEbhHl'];a231_0x5296=function(){return _0x2bd53d;};return a231_0x5296();}function a231_0x5355(_0x18772f,_0x2cf660){_0x18772f=_0x18772f-0x1cb;const _0x52964b=a231_0x5296();let _0x535563=_0x52964b[_0x18772f];return _0x535563;}(function(_0x1cb60c,_0x1652eb){const _0x1afa8f=a231_0x5355,_0x182006=_0x1cb60c();while(!![]){try{const _0x1e67f2=-parseInt(_0x1afa8f(0x1d7))/0x1*(parseInt(_0x1afa8f(0x1d4))/0x2)+parseInt(_0x1afa8f(0x1db))/0x3*(parseInt(_0x1afa8f(0x1d1))/0x4)+-parseInt(_0x1afa8f(0x1d0))/0x5*(parseInt(_0x1afa8f(0x1cb))/0x6)+-parseInt(_0x1afa8f(0x1d2))/0x7*(-parseInt(_0x1afa8f(0x1dc))/0x8)+-parseInt(_0x1afa8f(0x1dd))/0x9*(-parseInt(_0x1afa8f(0x1d5))/0xa)+-parseInt(_0x1afa8f(0x1cf))/0xb*(-parseInt(_0x1afa8f(0x1d6))/0xc)+-parseInt(_0x1afa8f(0x1d8))/0xd;if(_0x1e67f2===_0x1652eb)break;else _0x182006['push'](_0x182006['shift']());}catch(_0x37f631){_0x182006['push'](_0x182006['shift']());}}}(a231_0x5296,0x57e09));const EXPLICIT_YES_COMMANDS=new Set([a231_0x2a3236(0x1d9),a231_0x2a3236(0x1cc),a231_0x2a3236(0x1da),a231_0x2a3236(0x1cd),'kb\x20update','kb\x20delete']);export const EXPLICIT_YES_FLAG_DESCRIPTION='Required\x20for\x20execution\x20after\x20reviewing\x20the\x20--dry-run\x20plan';export function requiresExplicitYes(_0x46ba46){const _0xce8d25=a231_0x2a3236;return EXPLICIT_YES_COMMANDS[_0xce8d25(0x1d3)](_0x46ba46[_0xce8d25(0x1ce)]+'\x20'+_0x46ba46['command']);}
@@ -1 +1 @@
1
- function a232_0x20d3(){const _0x575dee=['852NlWkck','1109SyoKwH','176248sEWHav','6pySPow','540Sbrpec','413466KuuBAc','252889lxcncj','3091bWytMC','256516IQpfHR','4130UaljWA','1325440gcVUJP','117mwWRvS','8sjwqoD'];a232_0x20d3=function(){return _0x575dee;};return a232_0x20d3();}(function(_0x184f11,_0x252525){const _0x58d02c=a232_0x1093,_0x4aedc3=_0x184f11();while(!![]){try{const _0x1ae1ff=parseInt(_0x58d02c(0x191))/0x1*(parseInt(_0x58d02c(0x190))/0x2)+-parseInt(_0x58d02c(0x188))/0x3+parseInt(_0x58d02c(0x18f))/0x4*(-parseInt(_0x58d02c(0x18d))/0x5)+-parseInt(_0x58d02c(0x193))/0x6*(-parseInt(_0x58d02c(0x189))/0x7)+-parseInt(_0x58d02c(0x192))/0x8*(parseInt(_0x58d02c(0x18e))/0x9)+parseInt(_0x58d02c(0x18c))/0xa*(-parseInt(_0x58d02c(0x18a))/0xb)+-parseInt(_0x58d02c(0x187))/0xc*(-parseInt(_0x58d02c(0x18b))/0xd);if(_0x1ae1ff===_0x252525)break;else _0x4aedc3['push'](_0x4aedc3['shift']());}catch(_0x6b313){_0x4aedc3['push'](_0x4aedc3['shift']());}}}(a232_0x20d3,0x4f99f));import{createFlagHelpers}from'@lovrabet/cli-framework';function a232_0x1093(_0x729d47,_0x2a1c70){_0x729d47=_0x729d47-0x187;const _0x20d388=a232_0x20d3();let _0x10935f=_0x20d388[_0x729d47];return _0x10935f;}import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers['parseFlags'];export const validateFlags=helpers['validateFlags'];
1
+ const a232_0x1e7507=a232_0x53aa;(function(_0x40a746,_0x4b5640){const _0x447fc3=a232_0x53aa,_0x186103=_0x40a746();while(!![]){try{const _0x38db64=-parseInt(_0x447fc3(0xdc))/0x1*(-parseInt(_0x447fc3(0xd9))/0x2)+-parseInt(_0x447fc3(0xde))/0x3*(-parseInt(_0x447fc3(0xd7))/0x4)+-parseInt(_0x447fc3(0xda))/0x5+-parseInt(_0x447fc3(0xdf))/0x6+parseInt(_0x447fc3(0xdd))/0x7+-parseInt(_0x447fc3(0xd8))/0x8*(-parseInt(_0x447fc3(0xd4))/0x9)+parseInt(_0x447fc3(0xd6))/0xa*(-parseInt(_0x447fc3(0xd5))/0xb);if(_0x38db64===_0x4b5640)break;else _0x186103['push'](_0x186103['shift']());}catch(_0x1934f4){_0x186103['push'](_0x186103['shift']());}}}(a232_0x58f1,0xa65c2));import{createFlagHelpers}from'@lovrabet/cli-framework';function a232_0x53aa(_0x5d7fa6,_0x472510){_0x5d7fa6=_0x5d7fa6-0xd4;const _0x58f18c=a232_0x58f1();let _0x53aacc=_0x58f18c[_0x5d7fa6];return _0x53aacc;}function a232_0x58f1(){const _0x1f126e=['504205AgmnBt','validateFlags','289175GjZzds','9235051iaNeiA','469083DfxtlD','8082174jivMBF','1970379vpWPXv','2431GQWzuz','44360QItCGC','16yuqEhz','32oWRhmn','2ZezkXG'];a232_0x58f1=function(){return _0x1f126e;};return a232_0x58f1();}import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers['parseFlags'];export const validateFlags=helpers[a232_0x1e7507(0xdb)];
@@ -1 +1 @@
1
- const a233_0x585872=a233_0x2dc9;(function(_0x6fa739,_0x4c2cdb){const _0x2ac323=a233_0x2dc9,_0x21b915=_0x6fa739();while(!![]){try{const _0x3cec0a=-parseInt(_0x2ac323(0x74))/0x1+-parseInt(_0x2ac323(0x7a))/0x2*(parseInt(_0x2ac323(0x7b))/0x3)+-parseInt(_0x2ac323(0x6f))/0x4+-parseInt(_0x2ac323(0x70))/0x5*(parseInt(_0x2ac323(0x75))/0x6)+-parseInt(_0x2ac323(0x77))/0x7*(parseInt(_0x2ac323(0x76))/0x8)+-parseInt(_0x2ac323(0x7c))/0x9+parseInt(_0x2ac323(0x73))/0xa*(parseInt(_0x2ac323(0x72))/0xb);if(_0x3cec0a===_0x4c2cdb)break;else _0x21b915['push'](_0x21b915['shift']());}catch(_0x1924d6){_0x21b915['push'](_0x21b915['shift']());}}}(a233_0x48fa,0x8d5e6));import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{requiresExplicitYes}from'../framework/explicit-yes.js';function a233_0x2dc9(_0x4171b1,_0x33c5b9){_0x4171b1=_0x4171b1-0x6e;const _0x48fa65=a233_0x48fa();let _0x2dc908=_0x48fa65[_0x4171b1];return _0x2dc908;}const generators=createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x476eff=>serviceGroups['get'](_0x476eff),'buildAllFlags':buildAllFlags,'appPrerequisiteText':a233_0x585872(0x6e)+CLI_BIN_NAME+a233_0x585872(0x7f),'serviceUsageSuffix':a233_0x585872(0x71)});export function generateCommandHelp(_0x3a31ee){const _0x336eac=a233_0x585872,_0x47a26f=generators[_0x336eac(0x79)](_0x3a31ee);if(!requiresExplicitYes(_0x3a31ee))return _0x47a26f;return _0x47a26f['replace']('Requires\x20--yes\x20to\x20confirm,\x20or\x20interactive\x20prompt.',_0x336eac(0x7e));}export const generateServiceHelp=generators[a233_0x585872(0x7d)];function a233_0x48fa(){const _0x57216c=['447904amjRlq','5wcBTHO','\x20[args]\x20[flags]','803NNmSCJ','349510KMuXGh','739730fYBNkj','1536096YPrmEG','19376FNVcHI','322NpySCM','generateFullHelp','generateCommandHelp','122AFEmKS','33447fQwpUq','658386BYPcmH','generateServiceHelp','Requires\x20explicit\x20--yes\x20for\x20execution;\x20use\x20--dry-run\x20to\x20preview.','\x20workspace\x20init`\x20or\x20--appcode).','Requires\x20appcode\x20(set\x20via\x20`'];a233_0x48fa=function(){return _0x57216c;};return a233_0x48fa();}export const generateFullHelp=generators[a233_0x585872(0x78)];
1
+ const a233_0x424faa=a233_0x3429;(function(_0x4bcf59,_0x38b13a){const _0x3edeeb=a233_0x3429,_0x5f48ee=_0x4bcf59();while(!![]){try{const _0x44a5b6=-parseInt(_0x3edeeb(0xb8))/0x1*(-parseInt(_0x3edeeb(0xb4))/0x2)+parseInt(_0x3edeeb(0xa9))/0x3*(-parseInt(_0x3edeeb(0xb5))/0x4)+-parseInt(_0x3edeeb(0xb3))/0x5*(-parseInt(_0x3edeeb(0xa7))/0x6)+-parseInt(_0x3edeeb(0xab))/0x7+-parseInt(_0x3edeeb(0xa5))/0x8*(parseInt(_0x3edeeb(0xaa))/0x9)+parseInt(_0x3edeeb(0xad))/0xa*(parseInt(_0x3edeeb(0xaf))/0xb)+-parseInt(_0x3edeeb(0xa8))/0xc*(-parseInt(_0x3edeeb(0xae))/0xd);if(_0x44a5b6===_0x38b13a)break;else _0x5f48ee['push'](_0x5f48ee['shift']());}catch(_0x1d7d16){_0x5f48ee['push'](_0x5f48ee['shift']());}}}(a233_0x273e,0xa7b0f));import{createHelpGenerators}from'@lovrabet/cli-framework';function a233_0x273e(){const _0x4fd53f=['132toIHSH','996vtIycH','3KGaPwp','18odOrgJ','2554552FMvybe','Requires\x20--yes\x20to\x20confirm,\x20or\x20interactive\x20prompt.','924190akxvqS','66547EoycBD','143hswBmU','Requires\x20appcode\x20(set\x20via\x20`','Requires\x20explicit\x20--yes\x20for\x20execution;\x20use\x20--dry-run\x20to\x20preview.','\x20[args]\x20[flags]','91505eElsRZ','878fiScCI','3837292YJycpD','replace','generateCommandHelp','54ZZAEbF','generateServiceHelp','166120eWKvGU','generateFullHelp'];a233_0x273e=function(){return _0x4fd53f;};return a233_0x273e();}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':_0x23521b=>serviceGroups['get'](_0x23521b),'buildAllFlags':buildAllFlags,'appPrerequisiteText':a233_0x424faa(0xb0)+CLI_BIN_NAME+'\x20workspace\x20init`\x20or\x20--appcode).','serviceUsageSuffix':a233_0x424faa(0xb2)});function a233_0x3429(_0x490994,_0x55f6c1){_0x490994=_0x490994-0xa4;const _0x273e4f=a233_0x273e();let _0x3429da=_0x273e4f[_0x490994];return _0x3429da;}export function generateCommandHelp(_0x15320b){const _0x1550fe=a233_0x424faa,_0x555eec=generators[_0x1550fe(0xb7)](_0x15320b);if(!requiresExplicitYes(_0x15320b))return _0x555eec;return _0x555eec[_0x1550fe(0xb6)](_0x1550fe(0xac),_0x1550fe(0xb1));}export const generateServiceHelp=generators[a233_0x424faa(0xa4)];export const generateFullHelp=generators[a233_0x424faa(0xa6)];
@@ -1 +1 @@
1
- (function(_0x4618b2,_0x51cedb){var _0x451414=a234_0x3295,_0x1bb00e=_0x4618b2();while(!![]){try{var _0x1ceac2=parseInt(_0x451414(0x195))/0x1+-parseInt(_0x451414(0x18d))/0x2+parseInt(_0x451414(0x191))/0x3*(-parseInt(_0x451414(0x193))/0x4)+parseInt(_0x451414(0x192))/0x5+parseInt(_0x451414(0x18f))/0x6*(parseInt(_0x451414(0x18e))/0x7)+parseInt(_0x451414(0x190))/0x8+-parseInt(_0x451414(0x194))/0x9;if(_0x1ceac2===_0x51cedb)break;else _0x1bb00e['push'](_0x1bb00e['shift']());}catch(_0x2f188f){_0x1bb00e['push'](_0x1bb00e['shift']());}}}(a234_0x1198,0xa65c2));function a234_0x3295(_0x22b4ed,_0x5ce2da){_0x22b4ed=_0x22b4ed-0x18d;var _0x11983a=a234_0x1198();var _0x3295bb=_0x11983a[_0x22b4ed];return _0x3295bb;}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';export{riskLevelOrder}from'../framework/types.js';function a234_0x1198(){var _0x14731a=['3925881EJvhdp','1245YvONTS','1165818psfWPX','8085560rgRsLh','6aPqZrD','8204040HgQTzY','2029581XiybyL','976125vviBhR','4raEiZG'];a234_0x1198=function(){return _0x14731a;};return a234_0x1198();}
1
+ (function(_0x590d90,_0x3c8410){var _0x32333d=a234_0x3b43,_0x58299b=_0x590d90();while(!![]){try{var _0x3e6946=parseInt(_0x32333d(0x1cb))/0x1+parseInt(_0x32333d(0x1c9))/0x2+-parseInt(_0x32333d(0x1c3))/0x3+parseInt(_0x32333d(0x1cc))/0x4*(parseInt(_0x32333d(0x1c4))/0x5)+parseInt(_0x32333d(0x1c7))/0x6*(-parseInt(_0x32333d(0x1c6))/0x7)+-parseInt(_0x32333d(0x1c2))/0x8*(parseInt(_0x32333d(0x1c8))/0x9)+parseInt(_0x32333d(0x1ca))/0xa*(-parseInt(_0x32333d(0x1c5))/0xb);if(_0x3e6946===_0x3c8410)break;else _0x58299b['push'](_0x58299b['shift']());}catch(_0x5f38bc){_0x58299b['push'](_0x58299b['shift']());}}}(a234_0x1150,0xe0045));export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';function a234_0x1150(){var _0x581760=['77dzvtwv','97972cOeRtC','114YLqbsy','225MSbSEf','3143904NEcSti','622770APxbPn','1550287eSceoK','6452024wroxRZ','548832zKdxNz','4202127iPaZyW','5kDXuYH'];a234_0x1150=function(){return _0x581760;};return a234_0x1150();}export{formatOutput}from'../framework/output.js';export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';function a234_0x3b43(_0x1919ca,_0x5d7f25){_0x1919ca=_0x1919ca-0x1c2;var _0x115057=a234_0x1150();var _0x3b43d6=_0x115057[_0x1919ca];return _0x3b43d6;}export{riskLevelOrder}from'../framework/types.js';
@@ -1 +1 @@
1
- function a235_0x32fc(_0x431bb6,_0x9e0392){_0x431bb6=_0x431bb6-0x135;const _0x15cf14=a235_0x15cf();let _0x32fc86=_0x15cf14[_0x431bb6];return _0x32fc86;}(function(_0x142cee,_0x6c33a1){const _0x214cbf=a235_0x32fc,_0x4de543=_0x142cee();while(!![]){try{const _0x3beb26=-parseInt(_0x214cbf(0x14e))/0x1+parseInt(_0x214cbf(0x13b))/0x2+-parseInt(_0x214cbf(0x135))/0x3+-parseInt(_0x214cbf(0x14a))/0x4*(parseInt(_0x214cbf(0x13f))/0x5)+parseInt(_0x214cbf(0x143))/0x6*(-parseInt(_0x214cbf(0x14c))/0x7)+parseInt(_0x214cbf(0x147))/0x8+parseInt(_0x214cbf(0x137))/0x9;if(_0x3beb26===_0x6c33a1)break;else _0x4de543['push'](_0x4de543['shift']());}catch(_0x462686){_0x4de543['push'](_0x4de543['shift']());}}}(a235_0x15cf,0x5ec6c));function a235_0x15cf(){const _0xd0d60c=['18KMhJfw','json','command','error','4830376yXijeP','validation','hint','8EhVOic','message','1538467utuHEH','code','62964KaLHDA','format','stdout','1478910RYvaxM','update','7038234hBQygJ','risk','stringify','pretty','1029668oTboqx','endsWith','jq:\x20','write','742940aVPGkV','url','data','_notice'];a235_0x15cf=function(){return _0xd0d60c;};return a235_0x15cf();}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(_0x29268e,_0x171f68){const _0x36ca75=a235_0x32fc,_0x87987b=_0x29268e[_0x36ca75(0x142)],{_notice:_0x26fa0e,..._0x5f5650}=_0x29268e;void _0x26fa0e,baseFormatOutput(_0x5f5650,_0x171f68),_0x171f68['format']===_0x36ca75(0x13a)&&printPrettyNotice(_0x87987b);}export function formatCliError(_0x2f347f,_0x42cbec){const _0x22044b=a235_0x32fc;if(_0x42cbec['format']===_0x22044b(0x13a))return![];const _0x13c961=_0x2f347f[_0x22044b(0x141)],_0x127fd7={'ok':![],'command':_0x42cbec[_0x22044b(0x145)],'risk':_0x42cbec[_0x22044b(0x138)],'data':_0x13c961??null,'error':{'code':_0x2f347f['code'],'message':_0x2f347f['message'],..._0x2f347f[_0x22044b(0x149)]?{'hint':_0x2f347f['hint']}:{}}},_0x5048c4=_0x42cbec[_0x22044b(0x14f)]===_0x22044b(0x144)?JSON[_0x22044b(0x139)](_0x127fd7,null,0x2):JSON[_0x22044b(0x139)](_0x127fd7);let _0x2c106c=_0x5048c4;if(_0x42cbec['jqFilter']?.['trim']())try{_0x2c106c=applyJqFilter(_0x5048c4,_0x42cbec['jqFilter']);}catch(_0x3df6d4){const _0x4c93c2=_0x3df6d4 instanceof CliError?_0x3df6d4:CliErrors[_0x22044b(0x148)](_0x22044b(0x13d)+(_0x3df6d4 instanceof Error?_0x3df6d4[_0x22044b(0x14b)]:String(_0x3df6d4))),_0x4804a3={..._0x127fd7,'error':{'code':_0x4c93c2[_0x22044b(0x14d)],'message':_0x4c93c2['message'],..._0x4c93c2[_0x22044b(0x149)]?{'hint':_0x4c93c2[_0x22044b(0x149)]}:{},'cause':_0x127fd7[_0x22044b(0x146)]}};_0x2c106c=_0x42cbec[_0x22044b(0x14f)]===_0x22044b(0x144)?JSON['stringify'](_0x4804a3,null,0x2):JSON[_0x22044b(0x139)](_0x4804a3);}return process[_0x22044b(0x150)][_0x22044b(0x13e)](_0x2c106c[_0x22044b(0x13c)]('\x0a')?_0x2c106c:_0x2c106c+'\x0a'),!![];}function printPrettyNotice(_0x47b34a){const _0xf87335=a235_0x32fc;if(!_0x47b34a?.[_0xf87335(0x136)])return;console[_0xf87335(0x146)](_0x47b34a[_0xf87335(0x136)][_0xf87335(0x14b)]+'\x20('+_0x47b34a[_0xf87335(0x136)][_0xf87335(0x140)]+')');}
1
+ function a235_0x28ec(){const _0x1e6e6c=['pretty','jq:\x20','trim','code','data','2772904ZKZRON','489340zeJbDP','256143VmlOAB','168294uuzwvr','stringify','_notice','url','json','format','validation','4bxqFXd','182532AJVlTc','jqFilter','message','hint','endsWith','error','stdout','update','145952zWIuXR','664668zwdILm','write','risk'];a235_0x28ec=function(){return _0x1e6e6c;};return a235_0x28ec();}(function(_0x140de8,_0x24f180){const _0x3424f5=a235_0x23b9,_0x14f8db=_0x140de8();while(!![]){try{const _0x2060be=-parseInt(_0x3424f5(0x16f))/0x1+-parseInt(_0x3424f5(0x182))/0x2*(parseInt(_0x3424f5(0x17a))/0x3)+parseInt(_0x3424f5(0x170))/0x4+-parseInt(_0x3424f5(0x179))/0x5+parseInt(_0x3424f5(0x183))/0x6+-parseInt(_0x3424f5(0x17b))/0x7+parseInt(_0x3424f5(0x178))/0x8;if(_0x2060be===_0x24f180)break;else _0x14f8db['push'](_0x14f8db['shift']());}catch(_0x3130b1){_0x14f8db['push'](_0x14f8db['shift']());}}}(a235_0x28ec,0x19882));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()}});function a235_0x23b9(_0x23e365,_0xd00066){_0x23e365=_0x23e365-0x16b;const _0x28ec73=a235_0x28ec();let _0x23b9c2=_0x28ec73[_0x23e365];return _0x23b9c2;}export function formatOutput(_0x4dc423,_0x293b08){const _0xf2ccbf=a235_0x23b9,_0x1360b0=_0x4dc423[_0xf2ccbf(0x17d)],{_notice:_0x3b36de,..._0x66ece3}=_0x4dc423;void _0x3b36de,baseFormatOutput(_0x66ece3,_0x293b08),_0x293b08[_0xf2ccbf(0x180)]===_0xf2ccbf(0x173)&&printPrettyNotice(_0x1360b0);}export function formatCliError(_0x3a5052,_0x15e143){const _0x4f1012=a235_0x23b9;if(_0x15e143[_0x4f1012(0x180)]===_0x4f1012(0x173))return![];const _0x4fca2a=_0x3a5052[_0x4f1012(0x177)],_0x2ec819={'ok':![],'command':_0x15e143['command'],'risk':_0x15e143[_0x4f1012(0x172)],'data':_0x4fca2a??null,'error':{'code':_0x3a5052['code'],'message':_0x3a5052[_0x4f1012(0x185)],..._0x3a5052[_0x4f1012(0x186)]?{'hint':_0x3a5052['hint']}:{}}},_0x4a08df=_0x15e143[_0x4f1012(0x180)]===_0x4f1012(0x17f)?JSON[_0x4f1012(0x17c)](_0x2ec819,null,0x2):JSON['stringify'](_0x2ec819);let _0x355e65=_0x4a08df;if(_0x15e143[_0x4f1012(0x184)]?.[_0x4f1012(0x175)]())try{_0x355e65=applyJqFilter(_0x4a08df,_0x15e143[_0x4f1012(0x184)]);}catch(_0x27a090){const _0x3eb608=_0x27a090 instanceof CliError?_0x27a090:CliErrors[_0x4f1012(0x181)](_0x4f1012(0x174)+(_0x27a090 instanceof Error?_0x27a090[_0x4f1012(0x185)]:String(_0x27a090))),_0x58aeda={..._0x2ec819,'error':{'code':_0x3eb608[_0x4f1012(0x176)],'message':_0x3eb608[_0x4f1012(0x185)],..._0x3eb608[_0x4f1012(0x186)]?{'hint':_0x3eb608[_0x4f1012(0x186)]}:{},'cause':_0x2ec819['error']}};_0x355e65=_0x15e143[_0x4f1012(0x180)]===_0x4f1012(0x17f)?JSON[_0x4f1012(0x17c)](_0x58aeda,null,0x2):JSON[_0x4f1012(0x17c)](_0x58aeda);}return process[_0x4f1012(0x16d)][_0x4f1012(0x171)](_0x355e65[_0x4f1012(0x16b)]('\x0a')?_0x355e65:_0x355e65+'\x0a'),!![];}function printPrettyNotice(_0x65cece){const _0x192a6f=a235_0x23b9;if(!_0x65cece?.['update'])return;console[_0x192a6f(0x16c)](_0x65cece[_0x192a6f(0x16e)][_0x192a6f(0x185)]+'\x20('+_0x65cece['update'][_0x192a6f(0x17e)]+')');}
@@ -1 +1 @@
1
- function a236_0x23a0(_0x28b8de,_0x4dc4f8){_0x28b8de=_0x28b8de-0x108;var _0x33a8ad=a236_0x33a8();var _0x23a04a=_0x33a8ad[_0x28b8de];return _0x23a04a;}(function(_0x421778,_0x5ec3ea){var _0x15f5ca=a236_0x23a0,_0xabd6c4=_0x421778();while(!![]){try{var _0x14b9ed=parseInt(_0x15f5ca(0x108))/0x1+-parseInt(_0x15f5ca(0x10a))/0x2*(-parseInt(_0x15f5ca(0x111))/0x3)+-parseInt(_0x15f5ca(0x10d))/0x4+parseInt(_0x15f5ca(0x110))/0x5*(parseInt(_0x15f5ca(0x10e))/0x6)+parseInt(_0x15f5ca(0x10c))/0x7+parseInt(_0x15f5ca(0x10b))/0x8*(parseInt(_0x15f5ca(0x109))/0x9)+-parseInt(_0x15f5ca(0x10f))/0xa;if(_0x14b9ed===_0x5ec3ea)break;else _0xabd6c4['push'](_0xabd6c4['shift']());}catch(_0x1cab06){_0xabd6c4['push'](_0xabd6c4['shift']());}}}(a236_0x33a8,0xae8e0));export{extractList,extractPaging}from'@lovrabet/cli-framework';function a236_0x33a8(){var _0x45df74=['4984068lUNMnC','30RpAbiV','757280NXtDNB','53855JTHIKy','22425fmuNNA','225389DBCZSm','2856177hKFwpX','92kkFsBr','16yBojGV','5452447rGajcX'];a236_0x33a8=function(){return _0x45df74;};return a236_0x33a8();}
1
+ function a236_0x59f7(_0x4342d9,_0x30efce){_0x4342d9=_0x4342d9-0x1be;var _0x5d2a96=a236_0x5d2a();var _0x59f7ef=_0x5d2a96[_0x4342d9];return _0x59f7ef;}(function(_0x37c0c9,_0x4ecca6){var _0x123e4e=a236_0x59f7,_0x477392=_0x37c0c9();while(!![]){try{var _0x2a70f3=-parseInt(_0x123e4e(0x1c4))/0x1+-parseInt(_0x123e4e(0x1c5))/0x2+parseInt(_0x123e4e(0x1bf))/0x3+-parseInt(_0x123e4e(0x1c2))/0x4*(-parseInt(_0x123e4e(0x1be))/0x5)+parseInt(_0x123e4e(0x1c1))/0x6+-parseInt(_0x123e4e(0x1c3))/0x7*(-parseInt(_0x123e4e(0x1c6))/0x8)+-parseInt(_0x123e4e(0x1c0))/0x9;if(_0x2a70f3===_0x4ecca6)break;else _0x477392['push'](_0x477392['shift']());}catch(_0x57a964){_0x477392['push'](_0x477392['shift']());}}}(a236_0x5d2a,0x2a1eb));function a236_0x5d2a(){var _0x4858ea=['127545OJBJGi','439308EsioSj','1354032GlllgI','240798ozoaqc','52HYBcbv','203dAdjRi','157162bRqgAH','270754XTuyIr','26848ELQGLr'];a236_0x5d2a=function(){return _0x4858ea;};return a236_0x5d2a();}export{extractList,extractPaging}from'@lovrabet/cli-framework';
@@ -1 +1 @@
1
- (function(_0x55032e,_0xd20800){const _0x488aa6=a237_0x5eb4,_0x4c0705=_0x55032e();while(!![]){try{const _0x22a426=-parseInt(_0x488aa6(0x134))/0x1*(-parseInt(_0x488aa6(0x138))/0x2)+-parseInt(_0x488aa6(0x12b))/0x3+parseInt(_0x488aa6(0x127))/0x4+-parseInt(_0x488aa6(0x135))/0x5+parseInt(_0x488aa6(0x139))/0x6*(parseInt(_0x488aa6(0x129))/0x7)+-parseInt(_0x488aa6(0x123))/0x8*(parseInt(_0x488aa6(0x12a))/0x9)+parseInt(_0x488aa6(0x130))/0xa;if(_0x22a426===_0xd20800)break;else _0x4c0705['push'](_0x4c0705['shift']());}catch(_0x348d48){_0x4c0705['push'](_0x4c0705['shift']());}}}(a237_0x52eb,0x6db1e));import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';function a237_0x52eb(){const _0x15301b=['flags','alias','length','13574hWGIwG','2590635OAshRu','join','code','62juzBdO','1035948DYjRZB','string','type','1136LKjXMi','Unknown\x20alias\x20\x22','validation','.\x20Run\x20`','337184vYyTUz','`\x20requires\x20either\x20--code\x20or\x20--alias.','7dagoUH','7047zLpmRm','1003710CCgjQd','Available\x20aliases:\x20','name','some','\x20api\x20pull`\x20first.','7354450TuYIjk'];a237_0x52eb=function(){return _0x15301b;};return a237_0x52eb();}function a237_0x5eb4(_0x62ddc6,_0x1ee83f){_0x62ddc6=_0x62ddc6-0x122;const _0x52eba7=a237_0x52eb();let _0x5eb401=_0x52eba7[_0x62ddc6];return _0x5eb401;}import{CLI_BIN_NAME}from'../constant/cli.js';export function resolveAliasToCode(_0x2cb057,_0x391a29,_0x279719,_0x402ae4){const _0x7f6ff8=a237_0x5eb4,_0x513f35=_0x2cb057[_0x7f6ff8(0x131)][_0x7f6ff8(0x12e)](_0x55274c=>_0x55274c[_0x7f6ff8(0x12d)]===_0x7f6ff8(0x137)&&_0x55274c[_0x7f6ff8(0x122)]===_0x7f6ff8(0x13a)),_0x4c5cc7=_0x2cb057['flags'][_0x7f6ff8(0x12e)](_0x2c0924=>_0x2c0924['name']===_0x7f6ff8(0x132)&&_0x2c0924[_0x7f6ff8(0x122)]===_0x7f6ff8(0x13a));if(!_0x513f35||!_0x4c5cc7)return;const _0x405706=_0x391a29['code']?String(_0x391a29['code']):'',_0x518894=_0x391a29[_0x7f6ff8(0x132)]?String(_0x391a29['alias']):'';if(!_0x405706&&!_0x518894)throw CliErrors[_0x7f6ff8(0x125)]('`'+_0x402ae4+_0x7f6ff8(0x128));if(_0x518894&&!_0x405706){const _0x68f1db=resolveAlias(_0x279719,_0x518894);if(!_0x68f1db){const _0x2e5414=listAliases(_0x279719)['map'](_0x6e4069=>_0x6e4069[_0x7f6ff8(0x132)]),_0x3ac714=_0x2e5414[_0x7f6ff8(0x133)]?_0x7f6ff8(0x12c)+_0x2e5414[_0x7f6ff8(0x136)](',\x20'):'No\x20api.ts\x20found\x20in\x20'+_0x279719+_0x7f6ff8(0x126)+CLI_BIN_NAME+_0x7f6ff8(0x12f);throw CliErrors[_0x7f6ff8(0x125)](_0x7f6ff8(0x124)+_0x518894+'\x22.\x20'+_0x3ac714);}_0x391a29['code']=_0x68f1db;}}
1
+ (function(_0x111af6,_0x1942bd){const _0x25d9e3=a237_0x204c,_0x4bef54=_0x111af6();while(!![]){try{const _0xd825ca=parseInt(_0x25d9e3(0x199))/0x1+parseInt(_0x25d9e3(0x194))/0x2*(-parseInt(_0x25d9e3(0x190))/0x3)+parseInt(_0x25d9e3(0x1a6))/0x4*(-parseInt(_0x25d9e3(0x1a5))/0x5)+-parseInt(_0x25d9e3(0x198))/0x6+-parseInt(_0x25d9e3(0x19d))/0x7+parseInt(_0x25d9e3(0x19c))/0x8+parseInt(_0x25d9e3(0x193))/0x9;if(_0xd825ca===_0x1942bd)break;else _0x4bef54['push'](_0x4bef54['shift']());}catch(_0x389e53){_0x4bef54['push'](_0x4bef54['shift']());}}}(a237_0x350c,0x98d10));import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';function a237_0x204c(_0x467a85,_0x36612f){_0x467a85=_0x467a85-0x18f;const _0x350c7f=a237_0x350c();let _0x204c06=_0x350c7f[_0x467a85];return _0x204c06;}function a237_0x350c(){const _0x277eaf=['No\x20api.ts\x20found\x20in\x20','.\x20Run\x20`','45LmXDSz','89524HIliYW','validation','15zZHFbq','Unknown\x20alias\x20\x22','string','14372235MKcKjo','241784gzwbda','alias','code','type','6342084eUAwjR','102687sdAPYF','`\x20requires\x20either\x20--code\x20or\x20--alias.','join','6449032KONKPg','118244IYlACA','name','flags','some','\x22.\x20','map'];a237_0x350c=function(){return _0x277eaf;};return a237_0x350c();}export function resolveAliasToCode(_0x474e7d,_0xdcafb2,_0x41b87a,_0x5de342){const _0x396cce=a237_0x204c,_0x17bb91=_0x474e7d[_0x396cce(0x19f)][_0x396cce(0x1a0)](_0x5d76e9=>_0x5d76e9['name']===_0x396cce(0x196)&&_0x5d76e9[_0x396cce(0x197)]===_0x396cce(0x192)),_0x1b80f7=_0x474e7d[_0x396cce(0x19f)][_0x396cce(0x1a0)](_0x43a690=>_0x43a690[_0x396cce(0x19e)]===_0x396cce(0x195)&&_0x43a690[_0x396cce(0x197)]===_0x396cce(0x192));if(!_0x17bb91||!_0x1b80f7)return;const _0x4a5cd0=_0xdcafb2[_0x396cce(0x196)]?String(_0xdcafb2[_0x396cce(0x196)]):'',_0xcc8d5b=_0xdcafb2['alias']?String(_0xdcafb2[_0x396cce(0x195)]):'';if(!_0x4a5cd0&&!_0xcc8d5b)throw CliErrors['validation']('`'+_0x5de342+_0x396cce(0x19a));if(_0xcc8d5b&&!_0x4a5cd0){const _0x4f3ee5=resolveAlias(_0x41b87a,_0xcc8d5b);if(!_0x4f3ee5){const _0x1e345c=listAliases(_0x41b87a)[_0x396cce(0x1a2)](_0x2752b7=>_0x2752b7[_0x396cce(0x195)]),_0x3b93bf=_0x1e345c['length']?'Available\x20aliases:\x20'+_0x1e345c[_0x396cce(0x19b)](',\x20'):_0x396cce(0x1a3)+_0x41b87a+_0x396cce(0x1a4)+CLI_BIN_NAME+'\x20api\x20pull`\x20first.';throw CliErrors[_0x396cce(0x18f)](_0x396cce(0x191)+_0xcc8d5b+_0x396cce(0x1a1)+_0x3b93bf);}_0xdcafb2[_0x396cce(0x196)]=_0x4f3ee5;}}
@@ -1 +1 @@
1
- (function(_0x11a7e4,_0x224342){const _0x2ccfff=a238_0x3dc9,_0x1c5142=_0x11a7e4();while(!![]){try{const _0x328156=parseInt(_0x2ccfff(0x146))/0x1+parseInt(_0x2ccfff(0x117))/0x2*(parseInt(_0x2ccfff(0x141))/0x3)+parseInt(_0x2ccfff(0x143))/0x4*(-parseInt(_0x2ccfff(0x145))/0x5)+parseInt(_0x2ccfff(0x130))/0x6*(-parseInt(_0x2ccfff(0x123))/0x7)+-parseInt(_0x2ccfff(0x14f))/0x8+parseInt(_0x2ccfff(0x15a))/0x9*(parseInt(_0x2ccfff(0x127))/0xa)+-parseInt(_0x2ccfff(0x11f))/0xb;if(_0x328156===_0x224342)break;else _0x1c5142['push'](_0x1c5142['shift']());}catch(_0x97556d){_0x1c5142['push'](_0x1c5142['shift']());}}}(a238_0x5004,0xe992c));import{resolveCommandAuthMode,runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';import{getCookie}from'../auth/get-cookie.js';function a238_0x5004(){const _0x4dc1bb=['hint','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','5222bnUBXK','object','resolve','Current\x20resolved\x20appcode\x20is\x20\x22','hasFormat','Set\x20appcode\x20via\x20`','appCode','replace','3081474MHdbDU','update','No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.','has','1330574rhJGhT','isNonInteractive','pretty','High-risk\x20operation\x20`','3922260nunSzE','command','appcode','mergedCli','defaultApp','format','all','_notice','riskLevel','24nckGiI','some','configMissing','RABETBASE_APPCODE','production','name','value','catch','\x20\x20\x20Continue?\x20[y/N]\x20','../core/api-client.js','../constant/env.js','verbose','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','cancelled','requiresAppCode','explicitAppName','resolveAppCode','723mpLxDB','cookie','566096zKxSeO','confirmHighRisk','10VaHMHA','1447892QyKnYY','selectedAppName','filter','doctor','toUpperCase','meowKey','trim','rejectedFlags','authRequired','7788760iCqXwH','pageSize','defaultVerbose','string','resolveCookie','service','required','validation','rawFlags','../constant/domain.js','execute','27hCCoEm','none','apiDir','LOVRABET_APPCODE','formatOutput'];a238_0x5004=function(){return _0x4dc1bb;};return a238_0x5004();}import{getApiDomain}from'../constant/domain.js';import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{DEFAULT_API_DIR}from'../constant/paths.js';import{isNonInteractive as a238_0x580684}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x18400e){const _0x29bb9f=a238_0x3dc9;return typeof _0x18400e===_0x29bb9f(0x152)&&_0x18400e[_0x29bb9f(0x14c)]()?_0x18400e[_0x29bb9f(0x14c)]():undefined;}function resolveEnvAppCode(){const _0x261f1a=a238_0x3dc9,_0x38735e=stringFlag(process.env.RABETBASE_APPCODE);if(_0x38735e)return{'name':_0x261f1a(0x133),'value':_0x38735e};const _0x48f9b8=stringFlag(process.env.LOVRABET_APPCODE);if(_0x48f9b8)return{'name':_0x261f1a(0x15d),'value':_0x48f9b8};return undefined;}function hasExplicitAppCode(_0x48e00a,_0x2f91df){const _0xcd340c=a238_0x3dc9;return!!(stringFlag(_0x48e00a['appcode'])||stringFlag(_0x2f91df[_0xcd340c(0x129)]));}function assertEnvAppCodeNotIgnored(_0x31f1f5,_0x593f13,_0x314423){const _0x59e22d=a238_0x3dc9;if(!_0x593f13||_0x314423||_0x31f1f5===_0x593f13[_0x59e22d(0x136)])return;const _0x54fd14=_0x31f1f5?_0x59e22d(0x11a)+_0x31f1f5+'\x22.':_0x59e22d(0x121);throw CliErrors[_0x59e22d(0x156)](_0x593f13['name']+'='+_0x593f13[_0x59e22d(0x136)]+'\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20'+_0x54fd14+'\x20'+('To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$'+_0x593f13[_0x59e22d(0x135)]+'\x22.'));}export function createPipelineEnv(_0x5c498f,_0x578e84,_0x1d95e2=[]){const _0x1c3646=a238_0x3dc9;return{'rawFlags':_0x578e84,'args':_0x1d95e2,'resolveAppCode':()=>_0x5c498f[_0x1c3646(0x11d)],'resolveCookie':()=>_0x5c498f[_0x1c3646(0x142)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a238_0x580684(_0x578e84),'defaultFormat':_0x5c498f[_0x1c3646(0x12c)],'defaultPageSize':_0x5c498f[_0x1c3646(0x150)],'defaultVerbose':_0x5c498f[_0x1c3646(0x13b)],'apiDir':_0x5c498f[_0x1c3646(0x15c)],'riskLevel':_0x5c498f[_0x1c3646(0x12f)],'selectedAppName':_0x5c498f[_0x1c3646(0x13f)],'mergedCli':{'defaultApp':_0x5c498f[_0x1c3646(0x12b)],'currentApp':_0x5c498f['currentApp'],'appCode':_0x5c498f[_0x1c3646(0x11d)],'apps':_0x5c498f['apps']}};}export function createRabetbaseRunnerAdapter(_0xd28cf1={}){const _0x4e7ac7=a238_0x3dc9;return{'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[_0x4e7ac7(0x148)](_0x522152=>PIPELINE_FLAG_NAMES[_0x4e7ac7(0x122)](_0x522152['name']))['map'](({name:_0x3a149d,type:_0x101cb2,description:_0x3cabdb})=>({'name':_0x3a149d,'type':_0x101cb2,'description':_0x3cabdb})),'formatOutput':_0xd28cf1[_0x4e7ac7(0x114)]??formatOutput,'getCommandLabel'(_0x4d1578){const _0x4a80f7=_0x4e7ac7;return CLI_BIN_NAME+'\x20'+_0x4d1578[_0x4a80f7(0x154)]+'\x20'+_0x4d1578[_0x4a80f7(0x128)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x126df2){const _0x531f29=_0x4e7ac7;return CliErrors[_0x531f29(0x156)](_0x126df2);}},async 'prepare'(_0x1037a6,_0x48b088,_0x1e6f98,_0x80ed19){const _0x5bf69f=_0x4e7ac7,_0x4c1b15=_0x48b088[_0x5bf69f(0x15c)]||DEFAULT_API_DIR;resolveAliasToCode(_0x1037a6,_0x1e6f98,_0x4c1b15,_0x80ed19);const _0x179873=resolveCommandAuthMode(_0x1037a6);let _0x575aeb='';if(_0x179873!==_0x5bf69f(0x15b)){_0x575aeb=_0x48b088[_0x5bf69f(0x153)]()||'';if(!_0x575aeb){if(_0x179873===_0x5bf69f(0x155))throw CliErrors[_0x5bf69f(0x14e)]();}else{const {setActiveCookie:_0x4d1b46}=await import(_0x5bf69f(0x139));_0x4d1b46(_0x575aeb);}}const _0x338a88=_0x48b088[_0x5bf69f(0x140)]()??'';if(_0x1037a6[_0x5bf69f(0x13e)]!==![]){assertEnvAppCodeNotIgnored(_0x338a88,resolveEnvAppCode(),hasExplicitAppCode(_0x1e6f98,_0x48b088[_0x5bf69f(0x157)]));if(!_0x338a88)throw CliErrors[_0x5bf69f(0x132)](_0x5bf69f(0x11c)+CLI_BIN_NAME+_0x5bf69f(0x116));}return{'defaults':{'booleans':{'verbose':_0x48b088[_0x5bf69f(0x151)]},'numbers':{'pagesize':_0x48b088['defaultPageSize']}},'extras':{'appCode':_0x338a88,'cookie':_0x575aeb,'apiDomain':_0x48b088['resolveApiDomain'](),'apiDir':_0x4c1b15,'selectedAppName':_0x48b088[_0x5bf69f(0x147)],'mergedCli':_0x48b088[_0x5bf69f(0x12a)]}};},'confirmHighRisk':_0xd28cf1[_0x4e7ac7(0x144)]??(async({env:_0x1547c5,commandLabel:_0x2c1079})=>{const _0x3ee40c=_0x4e7ac7;if(_0x1547c5[_0x3ee40c(0x124)])throw CliErrors[_0x3ee40c(0x156)](_0x3ee40c(0x126)+_0x2c1079+_0x3ee40c(0x13c));await requireConfirmationPrompt({'lines':['⚠\x20\x20High-risk\x20operation:\x20'+_0x2c1079,_0x3ee40c(0x138)],'createCancelledError':_0x48b5a3=>CliErrors[_0x3ee40c(0x13d)](_0x48b5a3)});}),async 'finalize'(){await clearRabetbaseCommandState();}};}const terminalRunnerAdapter=createRabetbaseRunnerAdapter();async function clearRabetbaseCommandState(){const _0x570389=a238_0x3dc9,{clearActiveCookie:_0x5249d6}=await import(_0x570389(0x139));_0x5249d6();}function a238_0x3dc9(_0x2285d5,_0x2e29c4){_0x2285d5=_0x2285d5-0x114;const _0x500479=a238_0x5004();let _0x3dc9b5=_0x500479[_0x2285d5];return _0x3dc9b5;}export async function finalizeRabetbaseRuntimeState(){const _0xbe4ab1=a238_0x3dc9;try{await clearRabetbaseCommandState();}finally{const [{initDomains:_0x5eb1a0},{initEnv:_0x108d1b}]=await Promise[_0xbe4ab1(0x12d)]([import(_0xbe4ab1(0x158)),import(_0xbe4ab1(0x13a))]);_0x5eb1a0(),_0x108d1b(_0xbe4ab1(0x134));}}export async function runCommand(_0x5e6e74,_0x7c4b59,_0x35b617=terminalRunnerAdapter){const _0x3b4e1b=a238_0x3dc9;assertRejectedFlags(_0x5e6e74,_0x7c4b59[_0x3b4e1b(0x157)]),await runCommandWithAdapter(shouldAttachUpdateNotice(_0x5e6e74)?withUpdateNotice(_0x5e6e74):_0x5e6e74,_0x7c4b59,_0x35b617);}function assertRejectedFlags(_0x1c6a61,_0xad7c6b){const _0x848424=a238_0x3dc9;for(const _0x48c9fc of _0x1c6a61[_0x848424(0x14d)]??[]){const _0x38cf54=GLOBAL_FLAGS['find'](_0x59a455=>_0x59a455[_0x848424(0x135)]===_0x48c9fc[_0x848424(0x135)]),_0x3335df=new Set([_0x48c9fc['name'],toCamelCase(_0x48c9fc[_0x848424(0x135)]),_0x38cf54?.[_0x848424(0x14b)]]),_0x2509a7=[..._0x3335df][_0x848424(0x131)](_0xb38e61=>{if(!_0xb38e61)return![];const _0x31ea51=_0xad7c6b[_0xb38e61];return _0x31ea51!==undefined&&_0x31ea51!==null&&_0x31ea51!==![];});if(_0x2509a7)throw CliErrors[_0x848424(0x156)](_0x48c9fc['message'],_0x48c9fc[_0x848424(0x115)]);}}function toCamelCase(_0x1bf838){const _0x572872=a238_0x3dc9;return _0x1bf838[_0x572872(0x11e)](/-([a-z])/g,(_0x2732db,_0xbb2531)=>_0xbb2531[_0x572872(0x14a)]());}function shouldAttachUpdateNotice(_0x20bfc6){const _0x3672dc=a238_0x3dc9;if(_0x20bfc6[_0x3672dc(0x11b)]===![])return![];return![_0x3672dc(0x120),'schema',_0x3672dc(0x149)]['includes'](_0x20bfc6[_0x3672dc(0x154)]);}function withUpdateNotice(_0x2725d1){return{..._0x2725d1,async 'execute'(_0x93898){const _0x42a598=a238_0x3dc9,_0x558a92=shouldResolveUpdateNotice(_0x93898)?resolveLatestUpdateNotice()[_0x42a598(0x137)](()=>null):Promise[_0x42a598(0x119)](null),_0x134c57=await _0x2725d1[_0x42a598(0x159)](_0x93898);return attachUpdateNotice(_0x134c57,await _0x558a92);}};}function shouldResolveUpdateNotice(_0x394352){const _0x4af4df=a238_0x3dc9;return _0x394352[_0x4af4df(0x12c)]===_0x4af4df(0x125)&&!_0x394352['nonInteractive'];}function attachUpdateNotice(_0x26b96d,_0xbb88f){const _0x1f1b4f=a238_0x3dc9;if(!_0xbb88f||!_0x26b96d||typeof _0x26b96d!==_0x1f1b4f(0x118))return _0x26b96d;const _0x3c8ff5=_0x26b96d,_0x57d717=typeof _0x3c8ff5[_0x1f1b4f(0x12e)]==='object'&&_0x3c8ff5['_notice']!==null?_0x3c8ff5[_0x1f1b4f(0x12e)]:{};return{..._0x3c8ff5,'_notice':{..._0x57d717,'update':_0xbb88f}};}
1
+ (function(_0x2ec994,_0x41d4f5){const _0x1e03d1=a238_0x3453,_0x6240da=_0x2ec994();while(!![]){try{const _0x214ae9=parseInt(_0x1e03d1(0xfa))/0x1*(-parseInt(_0x1e03d1(0x117))/0x2)+-parseInt(_0x1e03d1(0x10a))/0x3+parseInt(_0x1e03d1(0xf2))/0x4+-parseInt(_0x1e03d1(0x121))/0x5+parseInt(_0x1e03d1(0x11e))/0x6*(parseInt(_0x1e03d1(0x11b))/0x7)+-parseInt(_0x1e03d1(0xdf))/0x8*(-parseInt(_0x1e03d1(0x10f))/0x9)+parseInt(_0x1e03d1(0x113))/0xa*(parseInt(_0x1e03d1(0x103))/0xb);if(_0x214ae9===_0x41d4f5)break;else _0x6240da['push'](_0x6240da['shift']());}catch(_0xc58f1d){_0x6240da['push'](_0x6240da['shift']());}}}(a238_0x5849,0x24c96));import{resolveCommandAuthMode,runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';function a238_0x3453(_0x43ed45,_0x144289){_0x43ed45=_0x43ed45-0xdc;const _0x58493e=a238_0x5849();let _0x34535d=_0x58493e[_0x43ed45];return _0x34535d;}import{CliErrors}from'../errors.js';import{getCookie}from'../auth/get-cookie.js';import{getApiDomain}from'../constant/domain.js';import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{DEFAULT_API_DIR}from'../constant/paths.js';import{isNonInteractive as a238_0x76d9fc}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x17ee13){const _0x47f17d=a238_0x3453;return typeof _0x17ee13===_0x47f17d(0x106)&&_0x17ee13[_0x47f17d(0x118)]()?_0x17ee13[_0x47f17d(0x118)]():undefined;}function resolveEnvAppCode(){const _0x3f8183=stringFlag(process.env.RABETBASE_APPCODE);if(_0x3f8183)return{'name':'RABETBASE_APPCODE','value':_0x3f8183};const _0x1e421d=stringFlag(process.env.LOVRABET_APPCODE);if(_0x1e421d)return{'name':'LOVRABET_APPCODE','value':_0x1e421d};return undefined;}function hasExplicitAppCode(_0x208640,_0x73da2){const _0x1c5432=a238_0x3453;return!!(stringFlag(_0x208640[_0x1c5432(0xe4)])||stringFlag(_0x73da2[_0x1c5432(0xe4)]));}function assertEnvAppCodeNotIgnored(_0x3baf4f,_0x1a3ab8,_0x12ed60){const _0x3a0d4e=a238_0x3453;if(!_0x1a3ab8||_0x12ed60||_0x3baf4f===_0x1a3ab8[_0x3a0d4e(0xdd)])return;const _0xee51da=_0x3baf4f?_0x3a0d4e(0x115)+_0x3baf4f+'\x22.':_0x3a0d4e(0xe8);throw CliErrors[_0x3a0d4e(0xfc)](_0x1a3ab8[_0x3a0d4e(0xf8)]+'='+_0x1a3ab8[_0x3a0d4e(0xdd)]+_0x3a0d4e(0xe5)+_0xee51da+'\x20'+(_0x3a0d4e(0x120)+_0x1a3ab8[_0x3a0d4e(0xf8)]+'\x22.'));}export function createPipelineEnv(_0x39e9c0,_0x5ca3d8,_0x461a5e=[]){const _0x50d726=a238_0x3453;return{'rawFlags':_0x5ca3d8,'args':_0x461a5e,'resolveAppCode':()=>_0x39e9c0[_0x50d726(0x11d)],'resolveCookie':()=>_0x39e9c0[_0x50d726(0x102)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a238_0x76d9fc(_0x5ca3d8),'defaultFormat':_0x39e9c0[_0x50d726(0x108)],'defaultPageSize':_0x39e9c0[_0x50d726(0x123)],'defaultVerbose':_0x39e9c0[_0x50d726(0xe0)],'apiDir':_0x39e9c0[_0x50d726(0x101)],'riskLevel':_0x39e9c0[_0x50d726(0x100)],'selectedAppName':_0x39e9c0['explicitAppName'],'mergedCli':{'defaultApp':_0x39e9c0[_0x50d726(0x111)],'currentApp':_0x39e9c0[_0x50d726(0x11c)],'appCode':_0x39e9c0['appCode'],'apps':_0x39e9c0[_0x50d726(0x110)]}};}export function createRabetbaseRunnerAdapter(_0xab8781={}){const _0x40ccb4=a238_0x3453;return{'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[_0x40ccb4(0x124)](_0x4d3722=>PIPELINE_FLAG_NAMES['has'](_0x4d3722[_0x40ccb4(0xf8)]))[_0x40ccb4(0xee)](({name:_0x35253f,type:_0x522811,description:_0x41d5b5})=>({'name':_0x35253f,'type':_0x522811,'description':_0x41d5b5})),'formatOutput':_0xab8781[_0x40ccb4(0xe1)]??formatOutput,'getCommandLabel'(_0x30ce65){const _0x76c257=_0x40ccb4;return CLI_BIN_NAME+'\x20'+_0x30ce65[_0x76c257(0x119)]+'\x20'+_0x30ce65[_0x76c257(0xff)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x380d2a){const _0x55d295=_0x40ccb4;return CliErrors[_0x55d295(0xfc)](_0x380d2a);}},async 'prepare'(_0x2ea3b3,_0xaee37b,_0x101d2f,_0x508780){const _0x5226de=_0x40ccb4,_0x1be991=_0xaee37b[_0x5226de(0x101)]||DEFAULT_API_DIR;resolveAliasToCode(_0x2ea3b3,_0x101d2f,_0x1be991,_0x508780);const _0x289c92=resolveCommandAuthMode(_0x2ea3b3);let _0x29681a='';if(_0x289c92!==_0x5226de(0xf7)){_0x29681a=_0xaee37b[_0x5226de(0x116)]()||'';if(!_0x29681a){if(_0x289c92===_0x5226de(0xe7))throw CliErrors[_0x5226de(0xec)]();}else{const {setActiveCookie:_0x15db4e}=await import(_0x5226de(0x11f));_0x15db4e(_0x29681a);}}const _0x567906=_0xaee37b[_0x5226de(0xef)]()??'';if(_0x2ea3b3[_0x5226de(0x104)]!==![]){assertEnvAppCodeNotIgnored(_0x567906,resolveEnvAppCode(),hasExplicitAppCode(_0x101d2f,_0xaee37b[_0x5226de(0xfd)]));if(!_0x567906)throw CliErrors[_0x5226de(0x10e)](_0x5226de(0xde)+CLI_BIN_NAME+_0x5226de(0xe3));}return{'defaults':{'booleans':{'verbose':_0xaee37b['defaultVerbose']},'numbers':{'pagesize':_0xaee37b['defaultPageSize']}},'extras':{'appCode':_0x567906,'cookie':_0x29681a,'apiDomain':_0xaee37b[_0x5226de(0x122)](),'apiDir':_0x1be991,'selectedAppName':_0xaee37b[_0x5226de(0xe2)],'mergedCli':_0xaee37b[_0x5226de(0xf5)]}};},'confirmHighRisk':_0xab8781[_0x40ccb4(0xf3)]??(async({env:_0x56d865,commandLabel:_0x3e178b})=>{const _0x3a59ea=_0x40ccb4;if(_0x56d865[_0x3a59ea(0x11a)])throw CliErrors[_0x3a59ea(0xfc)]('High-risk\x20operation\x20`'+_0x3e178b+_0x3a59ea(0xfe));await requireConfirmationPrompt({'lines':[_0x3a59ea(0xe6)+_0x3e178b,_0x3a59ea(0xea)],'createCancelledError':_0x4654db=>CliErrors['cancelled'](_0x4654db)});}),async 'finalize'(){await clearRabetbaseCommandState();}};}const terminalRunnerAdapter=createRabetbaseRunnerAdapter();async function clearRabetbaseCommandState(){const _0x4f74e5=a238_0x3453,{clearActiveCookie:_0x318f93}=await import(_0x4f74e5(0x11f));_0x318f93();}function a238_0x5849(){const _0x5c5945=['resolveApiDomain','pageSize','filter','includes','value','Set\x20appcode\x20via\x20`','62392yqnSNY','verbose','formatOutput','selectedAppName','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','appcode','\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20','⚠\x20\x20High-risk\x20operation:\x20','required','No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.','message','\x20\x20\x20Continue?\x20[y/N]\x20','hint','authRequired','object','map','resolveAppCode','replace','catch','453060gVfBVS','confirmHighRisk','hasFormat','mergedCli','../constant/domain.js','none','name','find','5ALUPyx','update','validation','rawFlags','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','command','riskLevel','apiDir','cookie','3521474cIZtfq','requiresAppCode','doctor','string','all','format','../constant/env.js','762915gWoNPO','resolve','pretty','_notice','configMissing','72ePwzbp','apps','defaultApp','rejectedFlags','10jGPkUq','some','Current\x20resolved\x20appcode\x20is\x20\x22','resolveCookie','68342lQASfM','trim','service','isNonInteractive','7XtJtWP','currentApp','appCode','1523190deDSAC','../core/api-client.js','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','869090WSgogA'];a238_0x5849=function(){return _0x5c5945;};return a238_0x5849();}export async function finalizeRabetbaseRuntimeState(){const _0x51efee=a238_0x3453;try{await clearRabetbaseCommandState();}finally{const [{initDomains:_0x48be3d},{initEnv:_0x2c89d6}]=await Promise[_0x51efee(0x107)]([import(_0x51efee(0xf6)),import(_0x51efee(0x109))]);_0x48be3d(),_0x2c89d6('production');}}export async function runCommand(_0x44a8d8,_0x45658f,_0x4ff2ce=terminalRunnerAdapter){const _0x19fc0c=a238_0x3453;assertRejectedFlags(_0x44a8d8,_0x45658f[_0x19fc0c(0xfd)]),await runCommandWithAdapter(shouldAttachUpdateNotice(_0x44a8d8)?withUpdateNotice(_0x44a8d8):_0x44a8d8,_0x45658f,_0x4ff2ce);}function assertRejectedFlags(_0xba9312,_0x28258f){const _0x1cd40b=a238_0x3453;for(const _0x575163 of _0xba9312[_0x1cd40b(0x112)]??[]){const _0xde6eaf=GLOBAL_FLAGS[_0x1cd40b(0xf9)](_0x2bc5a1=>_0x2bc5a1[_0x1cd40b(0xf8)]===_0x575163[_0x1cd40b(0xf8)]),_0x4acc71=new Set([_0x575163[_0x1cd40b(0xf8)],toCamelCase(_0x575163[_0x1cd40b(0xf8)]),_0xde6eaf?.['meowKey']]),_0x4f1457=[..._0x4acc71][_0x1cd40b(0x114)](_0x30769f=>{if(!_0x30769f)return![];const _0x40a6b0=_0x28258f[_0x30769f];return _0x40a6b0!==undefined&&_0x40a6b0!==null&&_0x40a6b0!==![];});if(_0x4f1457)throw CliErrors['validation'](_0x575163[_0x1cd40b(0xe9)],_0x575163[_0x1cd40b(0xeb)]);}}function toCamelCase(_0x3e1644){const _0xaa8f82=a238_0x3453;return _0x3e1644[_0xaa8f82(0xf0)](/-([a-z])/g,(_0x4adf99,_0x1a43f6)=>_0x1a43f6['toUpperCase']());}function shouldAttachUpdateNotice(_0x12b799){const _0x1db5a0=a238_0x3453;if(_0x12b799[_0x1db5a0(0xf4)]===![])return![];return![_0x1db5a0(0xfb),'schema',_0x1db5a0(0x105)][_0x1db5a0(0xdc)](_0x12b799['service']);}function withUpdateNotice(_0x1de7e6){return{..._0x1de7e6,async 'execute'(_0x4e7555){const _0x426245=a238_0x3453,_0x2f18df=shouldResolveUpdateNotice(_0x4e7555)?resolveLatestUpdateNotice()[_0x426245(0xf1)](()=>null):Promise[_0x426245(0x10b)](null),_0x4228ba=await _0x1de7e6['execute'](_0x4e7555);return attachUpdateNotice(_0x4228ba,await _0x2f18df);}};}function shouldResolveUpdateNotice(_0x5cbd28){const _0x4976ab=a238_0x3453;return _0x5cbd28[_0x4976ab(0x108)]===_0x4976ab(0x10c)&&!_0x5cbd28['nonInteractive'];}function attachUpdateNotice(_0x3e830e,_0xa4a083){const _0x35d5a6=a238_0x3453;if(!_0xa4a083||!_0x3e830e||typeof _0x3e830e!==_0x35d5a6(0xed))return _0x3e830e;const _0x1a5364=_0x3e830e,_0x189693=typeof _0x1a5364[_0x35d5a6(0x10d)]==='object'&&_0x1a5364['_notice']!==null?_0x1a5364['_notice']:{};return{..._0x1a5364,'_notice':{..._0x189693,'update':_0xa4a083}};}
@@ -1 +1 @@
1
- (function(_0x5bca3d,_0x587bb9){const _0x274695=a239_0x4c7b,_0x34f2a4=_0x5bca3d();while(!![]){try{const _0x4f9f77=parseInt(_0x274695(0x1e1))/0x1+-parseInt(_0x274695(0x1e2))/0x2+-parseInt(_0x274695(0x1dd))/0x3*(-parseInt(_0x274695(0x1e8))/0x4)+-parseInt(_0x274695(0x1e6))/0x5*(parseInt(_0x274695(0x1e7))/0x6)+-parseInt(_0x274695(0x1df))/0x7*(parseInt(_0x274695(0x1e4))/0x8)+-parseInt(_0x274695(0x1e3))/0x9+parseInt(_0x274695(0x1e5))/0xa*(parseInt(_0x274695(0x1de))/0xb);if(_0x4f9f77===_0x587bb9)break;else _0x34f2a4['push'](_0x34f2a4['shift']());}catch(_0x3cf4b8){_0x34f2a4['push'](_0x34f2a4['shift']());}}}(a239_0x5752,0x39607));function a239_0x4c7b(_0x22910d,_0x5cf363){_0x22910d=_0x22910d-0x1dd;const _0x575225=a239_0x5752();let _0x4c7b71=_0x575225[_0x22910d];return _0x4c7b71;}import{buildSchemaPayload as a239_0x307588}from'@lovrabet/cli-framework';function a239_0x5752(){const _0x42b4f8=['33qwLwmm','538736TkUxzl','112511WzBzSC','../commands/registry.js','371880ZJPpsq','699026flvmPY','2566215rzkDBR','16ajWvmz','160tBmXtp','5VOYeBS','2685768Trcdpj','70524GVfZHN'];a239_0x5752=function(){return _0x42b4f8;};return a239_0x5752();}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 _0xef7f02=a239_0x4c7b,{serviceRegistry:_0x193e5c,findDefinition:_0xb8a031}=await import(_0xef7f02(0x1e0));return a239_0x307588({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x193e5c,'buildAllFlags':buildAllFlags,'findDefinition':_0xb8a031});}
1
+ function a239_0xcd18(){const _0x37df17=['2038385Oyxabz','1023979OVxXqT','../commands/registry.js','1021296ZMucWr','4765390vlCeVo','2825826mtiLOy','3204087tBgWaD','1962012lyzzHn'];a239_0xcd18=function(){return _0x37df17;};return a239_0xcd18();}(function(_0x35d7d8,_0x4dc173){const _0x593de0=a239_0x2b34,_0x56e92d=_0x35d7d8();while(!![]){try{const _0x394011=parseInt(_0x593de0(0x11b))/0x1+parseInt(_0x593de0(0x11d))/0x2+parseInt(_0x593de0(0x118))/0x3+-parseInt(_0x593de0(0x119))/0x4+-parseInt(_0x593de0(0x11a))/0x5+-parseInt(_0x593de0(0x117))/0x6+-parseInt(_0x593de0(0x11e))/0x7;if(_0x394011===_0x4dc173)break;else _0x56e92d['push'](_0x56e92d['shift']());}catch(_0x3a4498){_0x56e92d['push'](_0x56e92d['shift']());}}}(a239_0xcd18,0x86f1f));import{buildSchemaPayload as a239_0x4c47d6}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';function a239_0x2b34(_0x4a2f38,_0xdc8b3){_0x4a2f38=_0x4a2f38-0x117;const _0xcd181e=a239_0xcd18();let _0x2b344c=_0xcd181e[_0x4a2f38];return _0x2b344c;}import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x4c734b=a239_0x2b34,{serviceRegistry:_0x487c20,findDefinition:_0x77f8c0}=await import(_0x4c734b(0x11c));return a239_0x4c47d6({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x487c20,'buildAllFlags':buildAllFlags,'findDefinition':_0x77f8c0});}
@@ -1 +1 @@
1
- function a240_0x47e7(){var _0x31c170=['65401LZMvEs','4TcPHen','60xeqcZi','3399475tQFRaE','486FZqoDe','2644518TcCJen','3468344IxZNXZ','1LjlCXv','1392705lkyFyH','16586zYabuL','39177952GmNVkx'];a240_0x47e7=function(){return _0x31c170;};return a240_0x47e7();}(function(_0x437508,_0x45ee14){var _0x3faf85=a240_0x41a1,_0x246eb0=_0x437508();while(!![]){try{var _0xe088ed=-parseInt(_0x3faf85(0x1ca))/0x1*(parseInt(_0x3faf85(0x1cc))/0x2)+parseInt(_0x3faf85(0x1c8))/0x3*(-parseInt(_0x3faf85(0x1cf))/0x4)+-parseInt(_0x3faf85(0x1d1))/0x5+-parseInt(_0x3faf85(0x1d2))/0x6*(parseInt(_0x3faf85(0x1ce))/0x7)+parseInt(_0x3faf85(0x1c9))/0x8+-parseInt(_0x3faf85(0x1cb))/0x9*(parseInt(_0x3faf85(0x1d0))/0xa)+parseInt(_0x3faf85(0x1cd))/0xb;if(_0xe088ed===_0x45ee14)break;else _0x246eb0['push'](_0x246eb0['shift']());}catch(_0x5b012e){_0x246eb0['push'](_0x246eb0['shift']());}}}(a240_0x47e7,0xb4b84));function a240_0x41a1(_0x3d8965,_0x9c6872){_0x3d8965=_0x3d8965-0x1c8;var _0x47e761=a240_0x47e7();var _0x41a1a6=_0x47e761[_0x3d8965];return _0x41a1a6;}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';
1
+ function a240_0x487e(){var _0x5d5be1=['3956070pPNMsm','2518264FnggmQ','1399QnuYWk','598gkrdnS','9ZbORSD','2302784ZfIXlq','47931HnUYTM','132jTBDDR','1074290umEQNR','2793930iAXlFu','7naPhvM'];a240_0x487e=function(){return _0x5d5be1;};return a240_0x487e();}(function(_0x910ed8,_0x1f44ec){var _0x46b4b4=a240_0x1029,_0x40e44f=_0x910ed8();while(!![]){try{var _0x1a30c3=-parseInt(_0x46b4b4(0xa0))/0x1*(-parseInt(_0x46b4b4(0xa1))/0x2)+parseInt(_0x46b4b4(0x99))/0x3*(-parseInt(_0x46b4b4(0x9a))/0x4)+-parseInt(_0x46b4b4(0x9b))/0x5+-parseInt(_0x46b4b4(0x9c))/0x6*(-parseInt(_0x46b4b4(0x9d))/0x7)+parseInt(_0x46b4b4(0x9f))/0x8+parseInt(_0x46b4b4(0x97))/0x9*(-parseInt(_0x46b4b4(0x9e))/0xa)+parseInt(_0x46b4b4(0x98))/0xb;if(_0x1a30c3===_0x1f44ec)break;else _0x40e44f['push'](_0x40e44f['shift']());}catch(_0x3ef2aa){_0x40e44f['push'](_0x40e44f['shift']());}}}(a240_0x487e,0x42029));function a240_0x1029(_0xa71340,_0x33bae5){_0xa71340=_0xa71340-0x97;var _0x487ef8=a240_0x487e();var _0x1029eb=_0x487ef8[_0xa71340];return _0x1029eb;}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';
@@ -1,4 +1,4 @@
1
- export declare const VERSION = "2.3.16-beta.6";
2
- export declare const GIT_TAG = "v2.3.16-beta.6";
3
- export declare const GIT_COMMIT = "6b281f5";
4
- export declare const BUILD_TIME = "2026-08-11T07:09:35.649Z";
1
+ export declare const VERSION = "2.3.16-beta.7";
2
+ export declare const GIT_TAG = "v2.3.16-beta.7";
3
+ export declare const GIT_COMMIT = "def3a65";
4
+ export declare const BUILD_TIME = "2026-08-11T07:40:49.851Z";
@@ -1 +1 @@
1
- function a241_0x9257(_0x2d5dfb,_0x3ab862){_0x2d5dfb=_0x2d5dfb-0x1ca;const _0x3cbebb=a241_0x3cbe();let _0x925714=_0x3cbebb[_0x2d5dfb];return _0x925714;}const a241_0x2a549c=a241_0x9257;(function(_0xe06f24,_0xc3412){const _0x3b6a3c=a241_0x9257,_0x32e3ef=_0xe06f24();while(!![]){try{const _0x24da35=parseInt(_0x3b6a3c(0x1ca))/0x1+-parseInt(_0x3b6a3c(0x1d2))/0x2*(-parseInt(_0x3b6a3c(0x1d3))/0x3)+-parseInt(_0x3b6a3c(0x1d0))/0x4+-parseInt(_0x3b6a3c(0x1cf))/0x5+parseInt(_0x3b6a3c(0x1d1))/0x6*(parseInt(_0x3b6a3c(0x1d4))/0x7)+-parseInt(_0x3b6a3c(0x1d5))/0x8*(-parseInt(_0x3b6a3c(0x1ce))/0x9)+parseInt(_0x3b6a3c(0x1cc))/0xa*(-parseInt(_0x3b6a3c(0x1cb))/0xb);if(_0x24da35===_0xc3412)break;else _0x32e3ef['push'](_0x32e3ef['shift']());}catch(_0x1fe01e){_0x32e3ef['push'](_0x32e3ef['shift']());}}}(a241_0x3cbe,0x2e558));export const VERSION=a241_0x2a549c(0x1cd);export const GIT_TAG='v2.3.16-beta.6';function a241_0x3cbe(){const _0x4f94ee=['753039HsQJae','459080TOcqeX','847512IyrPOt','6558Wpwbut','36KMZaCN','26382gWbRvD','2086MvfgDL','24TFLvHl','6b281f5','82905rOgwex','11dDAMXu','3244460FldVQh','2.3.16-beta.6'];a241_0x3cbe=function(){return _0x4f94ee;};return a241_0x3cbe();}export const GIT_COMMIT=a241_0x2a549c(0x1d6);export const BUILD_TIME='2026-08-11T07:09:35.649Z';
1
+ const a241_0x291e48=a241_0x3a6c;(function(_0x3c20e8,_0x468a46){const _0x39181c=a241_0x3a6c,_0x4a8cbc=_0x3c20e8();while(!![]){try{const _0x10b461=parseInt(_0x39181c(0x182))/0x1+parseInt(_0x39181c(0x17e))/0x2*(-parseInt(_0x39181c(0x17d))/0x3)+-parseInt(_0x39181c(0x17a))/0x4*(parseInt(_0x39181c(0x17c))/0x5)+-parseInt(_0x39181c(0x181))/0x6+parseInt(_0x39181c(0x183))/0x7+parseInt(_0x39181c(0x175))/0x8*(-parseInt(_0x39181c(0x180))/0x9)+-parseInt(_0x39181c(0x179))/0xa*(-parseInt(_0x39181c(0x178))/0xb);if(_0x10b461===_0x468a46)break;else _0x4a8cbc['push'](_0x4a8cbc['shift']());}catch(_0x253694){_0x4a8cbc['push'](_0x4a8cbc['shift']());}}}(a241_0x275a,0xa8ee9));export const VERSION=a241_0x291e48(0x17b);function a241_0x275a(){const _0x4f92e7=['225406QJFexC','1797173znhqHk','56pBixHj','def3a65','2026-08-11T07:40:49.851Z','10347502zcViPB','20MdKGdf','3332088kvobay','2.3.16-beta.7','5GIvRuN','627kPxGOb','366Jnzpkf','v2.3.16-beta.7','842715SgVPVX','869100tkLtbu'];a241_0x275a=function(){return _0x4f92e7;};return a241_0x275a();}function a241_0x3a6c(_0x42db8c,_0x21e320){_0x42db8c=_0x42db8c-0x175;const _0x275abe=a241_0x275a();let _0x3a6cc6=_0x275abe[_0x42db8c];return _0x3a6cc6;}export const GIT_TAG=a241_0x291e48(0x17f);export const GIT_COMMIT=a241_0x291e48(0x176);export const BUILD_TIME=a241_0x291e48(0x177);
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- function a242_0x1c50(_0x3b0042,_0x29f5ec){_0x3b0042=_0x3b0042-0x15b;var _0x1324d0=a242_0x1324();var _0x1c50e0=_0x1324d0[_0x3b0042];return _0x1c50e0;}(function(_0x2e1c4b,_0x56b1f5){var _0x21fdf5=a242_0x1c50,_0x174825=_0x2e1c4b();while(!![]){try{var _0x2e206f=parseInt(_0x21fdf5(0x15e))/0x1+parseInt(_0x21fdf5(0x168))/0x2+-parseInt(_0x21fdf5(0x161))/0x3+-parseInt(_0x21fdf5(0x15b))/0x4+-parseInt(_0x21fdf5(0x15c))/0x5*(-parseInt(_0x21fdf5(0x166))/0x6)+parseInt(_0x21fdf5(0x167))/0x7*(parseInt(_0x21fdf5(0x160))/0x8)+parseInt(_0x21fdf5(0x165))/0x9*(-parseInt(_0x21fdf5(0x162))/0xa);if(_0x2e206f===_0x56b1f5)break;else _0x174825['push'](_0x174825['shift']());}catch(_0x4deccc){_0x174825['push'](_0x174825['shift']());}}}(a242_0x1324,0x2ce83));import a242_0x3b4465 from'chalk';function a242_0x1324(){var _0x2fe85d=['124347MernuF','170IDhCQb','bold','log','123147NnTGAX','13056jJNOkN','19439UpznyA','691666OrSbDJ','885036eopelK','15xlhehR','green','124176VbJHLe','\x20\x20Use\x20','584ijNsMa'];a242_0x1324=function(){return _0x2fe85d;};return a242_0x1324();}import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0xbefe00=a242_0x1c50;console['log'](),console['log'](a242_0x3b4465[_0xbefe00(0x15d)][_0xbefe00(0x163)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0xbefe00(0x164)](),console[_0xbefe00(0x164)](_0xbefe00(0x15f)+a242_0x3b4465[_0xbefe00(0x15d)][_0xbefe00(0x163)](CLI_BIN_NAME+'\x20--help')+'\x20to\x20view\x20available\x20commands.'),console[_0xbefe00(0x164)]();}
1
+ function a242_0x11ce(){var _0x3da90d=['green','1267340mbsHVs','4246xzMduf','1wvvFGV','8aHtwQd','3jlaBTm','4705947ECTZMm','\x20--help','4094900gycXkR','\x20\x20Use\x20','1505063YKbiZf','bold','750472xkeZrN','log','\x20to\x20view\x20available\x20commands.','3229950EieQfO','13440XhUUNP'];a242_0x11ce=function(){return _0x3da90d;};return a242_0x11ce();}(function(_0x18411a,_0x1f5465){var _0x855f48=a242_0x1009,_0x1d71a4=_0x18411a();while(!![]){try{var _0x299e1e=-parseInt(_0x855f48(0xa7))/0x1*(parseInt(_0x855f48(0x9f))/0x2)+parseInt(_0x855f48(0x98))/0x3*(parseInt(_0x855f48(0xa5))/0x4)+parseInt(_0x855f48(0x9b))/0x5+-parseInt(_0x855f48(0xa2))/0x6+parseInt(_0x855f48(0x9d))/0x7*(parseInt(_0x855f48(0x97))/0x8)+-parseInt(_0x855f48(0x99))/0x9+-parseInt(_0x855f48(0xa3))/0xa*(-parseInt(_0x855f48(0xa6))/0xb);if(_0x299e1e===_0x1f5465)break;else _0x1d71a4['push'](_0x1d71a4['shift']());}catch(_0x29e37f){_0x1d71a4['push'](_0x1d71a4['shift']());}}}(a242_0x11ce,0x69c0c));import a242_0x56721d from'chalk';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';function a242_0x1009(_0x53e369,_0x43878b){_0x53e369=_0x53e369-0x97;var _0x11ceae=a242_0x11ce();var _0x10099e=_0x11ceae[_0x53e369];return _0x10099e;}export function showHelp(){var _0x458183=a242_0x1009;console[_0x458183(0xa0)](),console[_0x458183(0xa0)](a242_0x56721d[_0x458183(0xa4)][_0x458183(0x9e)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x458183(0xa0)](),console['log'](_0x458183(0x9c)+a242_0x56721d[_0x458183(0xa4)]['bold'](CLI_BIN_NAME+_0x458183(0x9a))+_0x458183(0xa1)),console[_0x458183(0xa0)]();}
@@ -1 +1 @@
1
- function a243_0x4f3a(){const _0x549503=['871UFYfWM','108432aNkhhH','244CEkZyb','1731730ONIztE','2fuqoDv','confirmationDescription','replace','write','216EShsRW','high-risk-write','10AlwsEv','slice',';该操作可能创建或修改业务数据或本地配置。',';该操作可能覆盖、删除或明显影响线上运行行为。','Rabetbase\x20confirmation\x20requires\x20a\x20write\x20command.','107704viZcRm','risk','750EZYtHa','18529rbgAIB','string','14481FXtfZp','573047VpHjPQ','trim','5891138pSpYHk'];a243_0x4f3a=function(){return _0x549503;};return a243_0x4f3a();}(function(_0x702b26,_0x7922a5){const _0x543448=a243_0x5ef4,_0x26dcf8=_0x702b26();while(!![]){try{const _0x343204=-parseInt(_0x543448(0xe1))/0x1*(-parseInt(_0x543448(0xe8))/0x2)+parseInt(_0x543448(0xe0))/0x3*(-parseInt(_0x543448(0xe6))/0x4)+-parseInt(_0x543448(0xe7))/0x5+parseInt(_0x543448(0xdd))/0x6*(-parseInt(_0x543448(0xde))/0x7)+-parseInt(_0x543448(0xdb))/0x8*(parseInt(_0x543448(0xec))/0x9)+-parseInt(_0x543448(0xee))/0xa*(-parseInt(_0x543448(0xe3))/0xb)+-parseInt(_0x543448(0xe5))/0xc*(-parseInt(_0x543448(0xe4))/0xd);if(_0x343204===_0x7922a5)break;else _0x26dcf8['push'](_0x26dcf8['shift']());}catch(_0x52461b){_0x26dcf8['push'](_0x26dcf8['shift']());}}}(a243_0x4f3a,0x665a5));const DESCRIPTION_MAX_LENGTH=0x1f4;export function buildRabetbaseConfirmationRequest(_0x57abb5,_0x2cddae,_0x50a281){const _0x39abf0=a243_0x5ef4,_0x47f8d2=normalizeText(_0x57abb5[_0x39abf0(0xe9)],DESCRIPTION_MAX_LENGTH),_0x49d5d0=_0x47f8d2||normalizeText(defaultDescription(requireWriteRisk(_0x57abb5),_0x2cddae),DESCRIPTION_MAX_LENGTH);return{'operation':_0x2cddae,'risk':requireWriteRisk(_0x57abb5),'description':_0x49d5d0,..._0x50a281?{'signal':_0x50a281}:{}};}function a243_0x5ef4(_0x3d4d1d,_0x22f4c9){_0x3d4d1d=_0x3d4d1d-0xd7;const _0x4f3a52=a243_0x4f3a();let _0x5ef48a=_0x4f3a52[_0x3d4d1d];return _0x5ef48a;}function requireWriteRisk(_0x37d30e){const _0x1f2eed=a243_0x5ef4;if(_0x37d30e[_0x1f2eed(0xdc)]===_0x1f2eed(0xeb)||_0x37d30e[_0x1f2eed(0xdc)]===_0x1f2eed(0xed))return _0x37d30e[_0x1f2eed(0xdc)];throw new Error(_0x1f2eed(0xda));}function defaultDescription(_0x485b47,_0x1eb949){const _0xb65f7d=a243_0x5ef4;if(_0x485b47===_0xb65f7d(0xed))return'将执行高风险写入操作\x20'+_0x1eb949+_0xb65f7d(0xd9);return'将执行写入操作\x20'+_0x1eb949+_0xb65f7d(0xd8);}function normalizeText(_0x6f6987,_0x16e3f0){const _0x4a7a74=a243_0x5ef4;if(typeof _0x6f6987!==_0x4a7a74(0xdf))return'';return _0x6f6987[_0x4a7a74(0xea)](/[\u0000-\u001f\u007f]+/g,'\x20')['replace'](/\s+/g,'\x20')[_0x4a7a74(0xe2)]()[_0x4a7a74(0xd7)](0x0,_0x16e3f0);}
1
+ (function(_0x17be3a,_0x3b04b5){const _0x3c5f9e=a243_0x2494,_0x238d5c=_0x17be3a();while(!![]){try{const _0x2de29b=-parseInt(_0x3c5f9e(0x162))/0x1+parseInt(_0x3c5f9e(0x158))/0x2+-parseInt(_0x3c5f9e(0x159))/0x3*(parseInt(_0x3c5f9e(0x15c))/0x4)+parseInt(_0x3c5f9e(0x157))/0x5+-parseInt(_0x3c5f9e(0x151))/0x6*(parseInt(_0x3c5f9e(0x152))/0x7)+-parseInt(_0x3c5f9e(0x165))/0x8*(-parseInt(_0x3c5f9e(0x153))/0x9)+-parseInt(_0x3c5f9e(0x15b))/0xa*(parseInt(_0x3c5f9e(0x161))/0xb);if(_0x2de29b===_0x3b04b5)break;else _0x238d5c['push'](_0x238d5c['shift']());}catch(_0x2ef252){_0x238d5c['push'](_0x238d5c['shift']());}}}(a243_0x1284,0xa5bb2));const DESCRIPTION_MAX_LENGTH=0x1f4;function a243_0x2494(_0x4a85b2,_0x3c6845){_0x4a85b2=_0x4a85b2-0x14e;const _0x128457=a243_0x1284();let _0x2494f2=_0x128457[_0x4a85b2];return _0x2494f2;}export function buildRabetbaseConfirmationRequest(_0x15c139,_0x1bdbd5,_0x13778e){const _0x5bca83=a243_0x2494,_0x4d06cf=normalizeText(_0x15c139[_0x5bca83(0x14f)],DESCRIPTION_MAX_LENGTH),_0x438ae1=_0x4d06cf||normalizeText(defaultDescription(requireWriteRisk(_0x15c139),_0x1bdbd5),DESCRIPTION_MAX_LENGTH);return{'operation':_0x1bdbd5,'risk':requireWriteRisk(_0x15c139),'description':_0x438ae1,..._0x13778e?{'signal':_0x13778e}:{}};}function a243_0x1284(){const _0x4962ad=['20FYcOWN','860jiIGbn','trim','将执行高风险写入操作\x20','replace','Rabetbase\x20confirmation\x20requires\x20a\x20write\x20command.','1248731SBCVoe','8191KgykIf','write',';该操作可能创建或修改业务数据或本地配置。','3064qAcfFz',';该操作可能覆盖、删除或明显影响线上运行行为。','confirmationDescription','high-risk-write','114AZJcOF','253337uuLnVL','9351VOdOym','将执行写入操作\x20','string','slice','2933950TshkeT','1717258WasLoZ','3372geUjtz','risk'];a243_0x1284=function(){return _0x4962ad;};return a243_0x1284();}function requireWriteRisk(_0x18c0fe){const _0x41835d=a243_0x2494;if(_0x18c0fe[_0x41835d(0x15a)]===_0x41835d(0x163)||_0x18c0fe[_0x41835d(0x15a)]===_0x41835d(0x150))return _0x18c0fe[_0x41835d(0x15a)];throw new Error(_0x41835d(0x160));}function defaultDescription(_0x49a2e6,_0x2963e0){const _0x2469d3=a243_0x2494;if(_0x49a2e6==='high-risk-write')return _0x2469d3(0x15e)+_0x2963e0+_0x2469d3(0x14e);return _0x2469d3(0x154)+_0x2963e0+_0x2469d3(0x164);}function normalizeText(_0x955544,_0x438712){const _0x3381af=a243_0x2494;if(typeof _0x955544!==_0x3381af(0x155))return'';return _0x955544[_0x3381af(0x15f)](/[\u0000-\u001f\u007f]+/g,'\x20')[_0x3381af(0x15f)](/\s+/g,'\x20')[_0x3381af(0x15d)]()[_0x3381af(0x156)](0x0,_0x438712);}
@@ -1 +1 @@
1
- (function(_0x5a8360,_0x5b5744){var _0x13913e=a244_0x5269,_0x35d7c8=_0x5a8360();while(!![]){try{var _0x318a3a=-parseInt(_0x13913e(0xff))/0x1*(-parseInt(_0x13913e(0xfc))/0x2)+-parseInt(_0x13913e(0x100))/0x3+parseInt(_0x13913e(0xfb))/0x4+-parseInt(_0x13913e(0x101))/0x5+parseInt(_0x13913e(0xfd))/0x6*(-parseInt(_0x13913e(0xf6))/0x7)+parseInt(_0x13913e(0xf8))/0x8*(parseInt(_0x13913e(0xfa))/0x9)+-parseInt(_0x13913e(0x102))/0xa*(parseInt(_0x13913e(0xf4))/0xb);if(_0x318a3a===_0x5b5744)break;else _0x35d7c8['push'](_0x35d7c8['shift']());}catch(_0x360299){_0x35d7c8['push'](_0x35d7c8['shift']());}}}(a244_0x60ac,0xc0fc1));function a244_0x5269(_0x50716a,_0x405870){_0x50716a=_0x50716a-0xf3;var _0x60acf1=a244_0x60ac();var _0x5269d4=_0x60acf1[_0x50716a];return _0x5269d4;}export function canonicalRabetbaseOperation(_0x5b851b){var _0x4e3766=a244_0x5269;return[_0x5b851b['service'],..._0x5b851b['command'][_0x4e3766(0xfe)]()['split'](/\s+/)]['filter'](Boolean)['join']('.');}export function createRabetbaseWriteMetadata(_0x81dd08,_0x4878b7,_0x1280ee,_0x9dc102){var _0x3dbfc0=a244_0x5269;if(_0x9dc102||_0x1280ee['ok']!==!![]||_0x81dd08[_0x3dbfc0(0xf5)]!==_0x3dbfc0(0xf7)&&_0x81dd08[_0x3dbfc0(0xf5)]!==_0x3dbfc0(0xf9))return undefined;return{'rabetbase':{'schemaVersion':0x1,'event':{'type':_0x3dbfc0(0xf3),'operation':_0x4878b7,'risk':_0x81dd08[_0x3dbfc0(0xf5)]}}};}function a244_0x60ac(){var _0x4a14c3=['1138806YGcFCb','2518072SRaroH','49562zRtvab','282RDHAHR','trim','43CYDxte','853413qpauZn','2827545MQuYqa','60nTWtQy','rabetbase.write.completed','73601yiityw','risk','115234pECCMb','write','48yvMzOV','high-risk-write'];a244_0x60ac=function(){return _0x4a14c3;};return a244_0x60ac();}
1
+ (function(_0x51838e,_0xd6aab0){var _0x32be53=a244_0x1153,_0x16b307=_0x51838e();while(!![]){try{var _0x1247b1=-parseInt(_0x32be53(0xde))/0x1*(parseInt(_0x32be53(0xd8))/0x2)+-parseInt(_0x32be53(0xe0))/0x3+-parseInt(_0x32be53(0xdd))/0x4+-parseInt(_0x32be53(0xda))/0x5*(parseInt(_0x32be53(0xd2))/0x6)+-parseInt(_0x32be53(0xd4))/0x7+-parseInt(_0x32be53(0xd7))/0x8+parseInt(_0x32be53(0xe1))/0x9*(parseInt(_0x32be53(0xdc))/0xa);if(_0x1247b1===_0xd6aab0)break;else _0x16b307['push'](_0x16b307['shift']());}catch(_0x25cc9a){_0x16b307['push'](_0x16b307['shift']());}}}(a244_0xc2d3,0x9234b));export function canonicalRabetbaseOperation(_0x14c0c1){var _0x13b91e=a244_0x1153;return[_0x14c0c1['service'],..._0x14c0c1[_0x13b91e(0xd5)]['trim']()[_0x13b91e(0xdf)](/\s+/)]['filter'](Boolean)[_0x13b91e(0xd9)]('.');}function a244_0xc2d3(){var _0x17d078=['9052376jOBdJh','975722RLqUOK','join','3988060kRgrom','risk','250UpxMMp','3278604HJsWVu','1JOxNqW','split','2780007UyZkDy','1818459RBjFwY','high-risk-write','6yuCHDG','write','2023532Rqqcra','command','rabetbase.write.completed'];a244_0xc2d3=function(){return _0x17d078;};return a244_0xc2d3();}function a244_0x1153(_0x3b89c0,_0x19c734){_0x3b89c0=_0x3b89c0-0xd2;var _0xc2d344=a244_0xc2d3();var _0x11532d=_0xc2d344[_0x3b89c0];return _0x11532d;}export function createRabetbaseWriteMetadata(_0x1cbc74,_0xd33a7,_0x2ef0a7,_0x39e128){var _0x3b928f=a244_0x1153;if(_0x39e128||_0x2ef0a7['ok']!==!![]||_0x1cbc74[_0x3b928f(0xdb)]!==_0x3b928f(0xd3)&&_0x1cbc74[_0x3b928f(0xdb)]!==_0x3b928f(0xe2))return undefined;return{'rabetbase':{'schemaVersion':0x1,'event':{'type':_0x3b928f(0xd6),'operation':_0xd33a7,'risk':_0x1cbc74[_0x3b928f(0xdb)]}}};}
@@ -1 +1 @@
1
- (function(_0x4eec16,_0x38f750){const _0x5c8b25=a245_0x2c5f,_0x32a9e5=_0x4eec16();while(!![]){try{const _0x402690=parseInt(_0x5c8b25(0x1bc))/0x1+-parseInt(_0x5c8b25(0x1d5))/0x2+-parseInt(_0x5c8b25(0x1c7))/0x3+-parseInt(_0x5c8b25(0x1d6))/0x4*(parseInt(_0x5c8b25(0x1cd))/0x5)+-parseInt(_0x5c8b25(0x1b8))/0x6*(-parseInt(_0x5c8b25(0x1ce))/0x7)+parseInt(_0x5c8b25(0x1bd))/0x8+parseInt(_0x5c8b25(0x1bb))/0x9;if(_0x402690===_0x38f750)break;else _0x32a9e5['push'](_0x32a9e5['shift']());}catch(_0x4adf6f){_0x32a9e5['push'](_0x32a9e5['shift']());}}}(a245_0x2870,0x71823));import{buildConfigFromFlags,initGlobalEnvironment}from'../context.js';import{createPipelineEnv,createRabetbaseRunnerAdapter,finalizeRabetbaseRuntimeState,runCommand}from'../framework/runner.js';function a245_0x2c5f(_0x27fa3b,_0x2f80e5){_0x27fa3b=_0x27fa3b-0x1b4;const _0x2870f5=a245_0x2870();let _0x2c5f84=_0x2870f5[_0x27fa3b];return _0x2c5f84;}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';function a245_0x2870(){const _0x1996c4=['724871zHMlZC','risk','presentation','execute','present','result','aborted','1593308agkpGr','2972TTYpSD','confirm','rawFlags','Rabetbase\x20invocation\x20completed\x20without\x20a\x20captured\x20command\x20result.','data','12KsFqSJ','message','definition','16467660XYcpbN','323654EBmIVA','151048vesLIY','high-risk-write','stringify','isNonInteractive','command','AbortError','confirmation','args','reason','riskLevel','1438677TGFKEF','format','dry-run','signal','Rabetbase\x20invocation\x20aborted.','dryRun','4295zWSewD'];a245_0x2870=function(){return _0x1996c4;};return a245_0x2870();}const defaultPresentation={'present'({result:_0x41f2d4,command:_0x79a633,risk:_0x1d0b8c,dryRun:_0x3d094e}){const _0x99ee3=a245_0x2c5f;return JSON[_0x99ee3(0x1bf)]({'ok':_0x41f2d4['ok'],'command':_0x79a633,'risk':_0x1d0b8c,..._0x3d094e?{'dryRun':!![]}:{},..._0x41f2d4[_0x99ee3(0x1b7)]!==undefined?{'data':_0x41f2d4[_0x99ee3(0x1b7)]}:{},..._0x41f2d4[_0x99ee3(0x1b9)]?{'message':_0x41f2d4[_0x99ee3(0x1b9)]}:{}});}};export async function invokeRabetbase(_0x58415f,_0x457082){const _0x2750e2=a245_0x2c5f;throwIfAborted(_0x457082[_0x2750e2(0x1ca)]);const _0x51e8c4=await resolveRabetbaseInvocation(_0x58415f),_0x1b713a=canonicalRabetbaseOperation(_0x51e8c4[_0x2750e2(0x1ba)]);return await confirmWriteBeforeQueue(_0x51e8c4[_0x2750e2(0x1ba)],_0x51e8c4[_0x2750e2(0x1b5)],_0x1b713a,_0x457082),runSerialized(async()=>{const _0x3c63cb=_0x2750e2,_0x387700={};try{throwIfAborted(_0x457082['signal']);const _0x13b6b1=buildConfigFromFlags(_0x51e8c4[_0x3c63cb(0x1b5)]);await initGlobalEnvironment(_0x13b6b1);const _0x44665b=createPipelineEnv(_0x13b6b1,{..._0x51e8c4[_0x3c63cb(0x1b5)],'yes':_0x51e8c4[_0x3c63cb(0x1ba)][_0x3c63cb(0x1cf)]==='high-risk-write'?!![]:_0x51e8c4[_0x3c63cb(0x1b5)]['yes'],'nonInteractive':!![]},_0x51e8c4[_0x3c63cb(0x1c4)]);_0x44665b[_0x3c63cb(0x1c0)]=!![],_0x44665b[_0x3c63cb(0x1c6)]=_0x3c63cb(0x1be);const _0xe862db=withAbortSignal(_0x51e8c4[_0x3c63cb(0x1ba)],_0x457082['signal']),_0x13e0bd=createRabetbaseRunnerAdapter({'formatOutput'(_0x3dce90,_0x2a11d0){const _0x478004=_0x3c63cb;_0x387700[_0x478004(0x1d3)]=_0x3dce90,_0x387700[_0x478004(0x1c1)]=_0x2a11d0[_0x478004(0x1c1)],_0x387700[_0x478004(0x1cf)]=_0x2a11d0[_0x478004(0x1cf)],_0x387700[_0x478004(0x1c8)]=_0x2a11d0[_0x478004(0x1c8)],_0x387700[_0x478004(0x1cc)]=_0x2a11d0[_0x478004(0x1cc)]===!![];},async 'confirmHighRisk'(){throw new Error('Embedded\x20Rabetbase\x20confirmation\x20must\x20run\x20before\x20the\x20execution\x20queue.');}});await runCommand(_0xe862db,_0x44665b,_0x13e0bd);if(!_0x387700['result']||!_0x387700['command']||!_0x387700[_0x3c63cb(0x1cf)]||!_0x387700[_0x3c63cb(0x1c8)])throw new Error(_0x3c63cb(0x1b6));const _0x2a59ac=_0x387700[_0x3c63cb(0x1cc)]===!![],_0x446e12=_0x457082[_0x3c63cb(0x1d0)]??defaultPresentation,_0x2ab47c={'result':_0x387700[_0x3c63cb(0x1d3)],'command':_0x387700['command'],'operation':_0x1b713a,'risk':_0x387700['risk'],'format':_0x387700[_0x3c63cb(0x1c8)],'dryRun':_0x2a59ac},_0xcb08ef=createRabetbaseWriteMetadata(_0x51e8c4[_0x3c63cb(0x1ba)],_0x1b713a,_0x387700['result'],_0x2a59ac);let _0x214045;try{_0x214045=await _0x446e12[_0x3c63cb(0x1d2)](_0x2ab47c);}catch(_0x31896b){if(!_0xcb08ef||_0x446e12===defaultPresentation)throw _0x31896b;_0x214045=await defaultPresentation[_0x3c63cb(0x1d2)](_0x2ab47c);}return{'operation':_0x1b713a,'risk':_0x387700[_0x3c63cb(0x1cf)],'mode':_0x2a59ac?_0x3c63cb(0x1c9):_0x3c63cb(0x1d1),'result':_0x387700[_0x3c63cb(0x1d3)],'output':_0x214045,..._0xcb08ef?{'metadata':_0xcb08ef}:{}};}finally{await finalizeRabetbaseRuntimeState();}});}async function confirmWriteBeforeQueue(_0x322f6e,_0x4ea8ec,_0x1775c4,_0x3d2de9){const _0xa71c05=a245_0x2c5f;if(_0x4ea8ec[_0xa71c05(0x1cc)]===!![]||_0x322f6e['risk']!=='write'&&_0x322f6e[_0xa71c05(0x1cf)]!==_0xa71c05(0x1be))return;await _0x3d2de9[_0xa71c05(0x1c3)][_0xa71c05(0x1b4)](buildRabetbaseConfirmationRequest(_0x322f6e,_0x1775c4,_0x3d2de9['signal']));}function withAbortSignal(_0x23855f,_0x5316e4){return{..._0x23855f,async 'execute'(_0x221fdf){return throwIfAborted(_0x5316e4),_0x23855f['execute'](_0x221fdf);}};}function throwIfAborted(_0x2955a2){const _0x4f4cc6=a245_0x2c5f;if(_0x2955a2?.[_0x4f4cc6(0x1d4)])throw _0x2955a2[_0x4f4cc6(0x1c5)]instanceof Error?_0x2955a2[_0x4f4cc6(0x1c5)]:new DOMException(_0x4f4cc6(0x1cb),_0x4f4cc6(0x1c2));}
1
+ (function(_0x3ecd6c,_0x5ee52b){const _0xf12755=a245_0x5af8,_0x3a8cfb=_0x3ecd6c();while(!![]){try{const _0x2ca8b8=parseInt(_0xf12755(0x1eb))/0x1*(parseInt(_0xf12755(0x1f6))/0x2)+-parseInt(_0xf12755(0x1e8))/0x3+-parseInt(_0xf12755(0x1d8))/0x4+parseInt(_0xf12755(0x1e9))/0x5*(-parseInt(_0xf12755(0x1f8))/0x6)+-parseInt(_0xf12755(0x1f7))/0x7*(parseInt(_0xf12755(0x1e6))/0x8)+parseInt(_0xf12755(0x1f3))/0x9*(-parseInt(_0xf12755(0x1ee))/0xa)+parseInt(_0xf12755(0x1de))/0xb;if(_0x2ca8b8===_0x5ee52b)break;else _0x3a8cfb['push'](_0x3a8cfb['shift']());}catch(_0x3f3658){_0x3a8cfb['push'](_0x3a8cfb['shift']());}}}(a245_0x3a0a,0xa35a9));import{buildConfigFromFlags,initGlobalEnvironment}from'../context.js';function a245_0x3a0a(){const _0x2d9a05=['data','command','confirm','Embedded\x20Rabetbase\x20confirmation\x20must\x20run\x20before\x20the\x20execution\x20queue.','args','message','confirmation','12824jyZqNN','riskLevel','597516lbBuaw','4722715TUaWcn','aborted','103saMkfz','result','dryRun','151390oShLaI','reason','execute','definition','risk','621DXouro','high-risk-write','stringify','25646sGMiej','4725AWCorF','6bQfvxe','AbortError','828272IIWhaw','rawFlags','signal','Rabetbase\x20invocation\x20aborted.','format','present','31082997yNiOef'];a245_0x3a0a=function(){return _0x2d9a05;};return a245_0x3a0a();}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:_0x4f30ec,command:_0x5a70fe,risk:_0x2e09a7,dryRun:_0x55e9f8}){const _0x1a18a8=a245_0x5af8;return JSON[_0x1a18a8(0x1f5)]({'ok':_0x4f30ec['ok'],'command':_0x5a70fe,'risk':_0x2e09a7,..._0x55e9f8?{'dryRun':!![]}:{},..._0x4f30ec[_0x1a18a8(0x1df)]!==undefined?{'data':_0x4f30ec[_0x1a18a8(0x1df)]}:{},..._0x4f30ec[_0x1a18a8(0x1e4)]?{'message':_0x4f30ec[_0x1a18a8(0x1e4)]}:{}});}};export async function invokeRabetbase(_0x5954c5,_0x534d25){const _0x318857=a245_0x5af8;throwIfAborted(_0x534d25[_0x318857(0x1da)]);const _0x33f13f=await resolveRabetbaseInvocation(_0x5954c5),_0x69f2c7=canonicalRabetbaseOperation(_0x33f13f['definition']);return await confirmWriteBeforeQueue(_0x33f13f[_0x318857(0x1f1)],_0x33f13f['rawFlags'],_0x69f2c7,_0x534d25),runSerialized(async()=>{const _0x34909b=_0x318857,_0x1964b4={};try{throwIfAborted(_0x534d25[_0x34909b(0x1da)]);const _0x14db35=buildConfigFromFlags(_0x33f13f[_0x34909b(0x1d9)]);await initGlobalEnvironment(_0x14db35);const _0x2a1ddf=createPipelineEnv(_0x14db35,{..._0x33f13f[_0x34909b(0x1d9)],'yes':_0x33f13f[_0x34909b(0x1f1)]['risk']===_0x34909b(0x1f4)?!![]:_0x33f13f[_0x34909b(0x1d9)]['yes'],'nonInteractive':!![]},_0x33f13f[_0x34909b(0x1e3)]);_0x2a1ddf['isNonInteractive']=!![],_0x2a1ddf[_0x34909b(0x1e7)]=_0x34909b(0x1f4);const _0x13b5e2=withAbortSignal(_0x33f13f[_0x34909b(0x1f1)],_0x534d25[_0x34909b(0x1da)]),_0x1723d1=createRabetbaseRunnerAdapter({'formatOutput'(_0x58e935,_0x26789c){const _0x47aeea=_0x34909b;_0x1964b4[_0x47aeea(0x1ec)]=_0x58e935,_0x1964b4[_0x47aeea(0x1e0)]=_0x26789c[_0x47aeea(0x1e0)],_0x1964b4['risk']=_0x26789c[_0x47aeea(0x1f2)],_0x1964b4[_0x47aeea(0x1dc)]=_0x26789c[_0x47aeea(0x1dc)],_0x1964b4[_0x47aeea(0x1ed)]=_0x26789c[_0x47aeea(0x1ed)]===!![];},async 'confirmHighRisk'(){const _0x24638f=_0x34909b;throw new Error(_0x24638f(0x1e2));}});await runCommand(_0x13b5e2,_0x2a1ddf,_0x1723d1);if(!_0x1964b4[_0x34909b(0x1ec)]||!_0x1964b4['command']||!_0x1964b4[_0x34909b(0x1f2)]||!_0x1964b4[_0x34909b(0x1dc)])throw new Error('Rabetbase\x20invocation\x20completed\x20without\x20a\x20captured\x20command\x20result.');const _0x3ce108=_0x1964b4[_0x34909b(0x1ed)]===!![],_0x21f8e6=_0x534d25['presentation']??defaultPresentation,_0x313551={'result':_0x1964b4[_0x34909b(0x1ec)],'command':_0x1964b4[_0x34909b(0x1e0)],'operation':_0x69f2c7,'risk':_0x1964b4[_0x34909b(0x1f2)],'format':_0x1964b4[_0x34909b(0x1dc)],'dryRun':_0x3ce108},_0x50a39d=createRabetbaseWriteMetadata(_0x33f13f[_0x34909b(0x1f1)],_0x69f2c7,_0x1964b4['result'],_0x3ce108);let _0x56fac8;try{_0x56fac8=await _0x21f8e6[_0x34909b(0x1dd)](_0x313551);}catch(_0x2110a6){if(!_0x50a39d||_0x21f8e6===defaultPresentation)throw _0x2110a6;_0x56fac8=await defaultPresentation[_0x34909b(0x1dd)](_0x313551);}return{'operation':_0x69f2c7,'risk':_0x1964b4['risk'],'mode':_0x3ce108?'dry-run':_0x34909b(0x1f0),'result':_0x1964b4['result'],'output':_0x56fac8,..._0x50a39d?{'metadata':_0x50a39d}:{}};}finally{await finalizeRabetbaseRuntimeState();}});}async function confirmWriteBeforeQueue(_0x1e5704,_0x2efcbc,_0x200596,_0x448dfe){const _0x225a9a=a245_0x5af8;if(_0x2efcbc[_0x225a9a(0x1ed)]===!![]||_0x1e5704[_0x225a9a(0x1f2)]!=='write'&&_0x1e5704[_0x225a9a(0x1f2)]!=='high-risk-write')return;await _0x448dfe[_0x225a9a(0x1e5)][_0x225a9a(0x1e1)](buildRabetbaseConfirmationRequest(_0x1e5704,_0x200596,_0x448dfe[_0x225a9a(0x1da)]));}function withAbortSignal(_0x472791,_0x189e4c){return{..._0x472791,async 'execute'(_0x5bb466){const _0x1b22c4=a245_0x5af8;return throwIfAborted(_0x189e4c),_0x472791[_0x1b22c4(0x1f0)](_0x5bb466);}};}function a245_0x5af8(_0x5a23f8,_0x1296ae){_0x5a23f8=_0x5a23f8-0x1d7;const _0x3a0a32=a245_0x3a0a();let _0x5af806=_0x3a0a32[_0x5a23f8];return _0x5af806;}function throwIfAborted(_0x157ef4){const _0x5b0ce8=a245_0x5af8;if(_0x157ef4?.[_0x5b0ce8(0x1ea)])throw _0x157ef4['reason']instanceof Error?_0x157ef4[_0x5b0ce8(0x1ef)]:new DOMException(_0x5b0ce8(0x1db),_0x5b0ce8(0x1d7));}
@@ -1 +1 @@
1
- function a246_0x52ba(_0x4c05d3,_0x4b393c){_0x4c05d3=_0x4c05d3-0xdb;const _0x101cd7=a246_0x101c();let _0x52ba9f=_0x101cd7[_0x4c05d3];return _0x52ba9f;}const a246_0x152857=a246_0x52ba;(function(_0x513db6,_0x4b2af9){const _0x4a1301=a246_0x52ba,_0x169076=_0x513db6();while(!![]){try{const _0xcedde8=-parseInt(_0x4a1301(0xe2))/0x1*(-parseInt(_0x4a1301(0xe7))/0x2)+parseInt(_0x4a1301(0xdf))/0x3*(parseInt(_0x4a1301(0xe8))/0x4)+parseInt(_0x4a1301(0xdd))/0x5*(parseInt(_0x4a1301(0xe0))/0x6)+parseInt(_0x4a1301(0xde))/0x7*(-parseInt(_0x4a1301(0xdb))/0x8)+parseInt(_0x4a1301(0xdc))/0x9+-parseInt(_0x4a1301(0xe5))/0xa*(parseInt(_0x4a1301(0xe4))/0xb)+-parseInt(_0x4a1301(0xe3))/0xc;if(_0xcedde8===_0x4b2af9)break;else _0x169076['push'](_0x169076['shift']());}catch(_0x304c09){_0x169076['push'](_0x169076['shift']());}}}(a246_0x101c,0x1ff95));let tail=Promise[a246_0x152857(0xe1)]();export async function runSerialized(_0x1186e9){const _0x8e9360=a246_0x152857,_0x21444d=tail;let _0x47085e;tail=new Promise(_0x386b29=>{_0x47085e=_0x386b29;}),await _0x21444d[_0x8e9360(0xe6)](()=>undefined);try{return await _0x1186e9();}finally{_0x47085e();}}function a246_0x101c(){const _0x779fbe=['catch','10kjjAkP','36gghwoB','69496ErjmTm','1767564rIfgeJ','5OGbJwW','189hVXOTh','57003VjvZGq','599604ZEiPAI','resolve','36397BvUjfG','1594020VmpLVz','1660725XKkDOh','10jqRbfY'];a246_0x101c=function(){return _0x779fbe;};return a246_0x101c();}
1
+ (function(_0x46fe8b,_0x3dbc4c){const _0x58e382=a246_0x4e36,_0x3e862f=_0x46fe8b();while(!![]){try{const _0x116010=-parseInt(_0x58e382(0x1aa))/0x1*(-parseInt(_0x58e382(0x1ae))/0x2)+parseInt(_0x58e382(0x1ac))/0x3*(-parseInt(_0x58e382(0x1ab))/0x4)+parseInt(_0x58e382(0x1a9))/0x5*(parseInt(_0x58e382(0x1a5))/0x6)+parseInt(_0x58e382(0x1a8))/0x7+parseInt(_0x58e382(0x1b0))/0x8*(-parseInt(_0x58e382(0x1af))/0x9)+parseInt(_0x58e382(0x1a6))/0xa+-parseInt(_0x58e382(0x1a7))/0xb*(parseInt(_0x58e382(0x1ad))/0xc);if(_0x116010===_0x3dbc4c)break;else _0x3e862f['push'](_0x3e862f['shift']());}catch(_0x5e794a){_0x3e862f['push'](_0x3e862f['shift']());}}}(a246_0x4f89,0x3997d));function a246_0x4e36(_0x5f4e72,_0x25007f){_0x5f4e72=_0x5f4e72-0x1a4;const _0x4f89c0=a246_0x4f89();let _0x4e36ba=_0x4f89c0[_0x5f4e72];return _0x4e36ba;}let tail=Promise['resolve']();export async function runSerialized(_0x2dedd2){const _0x25a1d2=a246_0x4e36,_0x10cbb2=tail;let _0xdd9320;tail=new Promise(_0x5cb780=>{_0xdd9320=_0x5cb780;}),await _0x10cbb2[_0x25a1d2(0x1a4)](()=>undefined);try{return await _0x2dedd2();}finally{_0xdd9320();}}function a246_0x4f89(){const _0x351126=['639doFeBl','23632IQyrCy','catch','18dImQBk','843190LBzPMt','88638QfLFNY','1567237biodjW','258155uIkUJV','16pdiDvE','22232MAJUoF','36VYFFdK','408bTArIV','40400MEjpFU'];a246_0x4f89=function(){return _0x351126;};return a246_0x4f89();}
@@ -1 +1 @@
1
- function a247_0x5daf(_0x1d03f0,_0x5ef8fa){_0x1d03f0=_0x1d03f0-0x14d;const _0x5a61b9=a247_0x5a61();let _0x5daf73=_0x5a61b9[_0x1d03f0];return _0x5daf73;}(function(_0x308add,_0x181a97){const _0x34261f=a247_0x5daf,_0x222172=_0x308add();while(!![]){try{const _0x359eb9=-parseInt(_0x34261f(0x15a))/0x1*(parseInt(_0x34261f(0x157))/0x2)+parseInt(_0x34261f(0x15b))/0x3+-parseInt(_0x34261f(0x14d))/0x4+-parseInt(_0x34261f(0x154))/0x5+parseInt(_0x34261f(0x158))/0x6*(parseInt(_0x34261f(0x160))/0x7)+parseInt(_0x34261f(0x15e))/0x8*(parseInt(_0x34261f(0x155))/0x9)+parseInt(_0x34261f(0x152))/0xa*(-parseInt(_0x34261f(0x15d))/0xb);if(_0x359eb9===_0x181a97)break;else _0x222172['push'](_0x222172['shift']());}catch(_0x22f96a){_0x222172['push'](_0x222172['shift']());}}}(a247_0x5a61,0x45106));import a247_0x45f76c 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(_0x9de578){const _0x34bf2e=a247_0x5daf,_0x154766=a247_0x45f76c('',{'importMeta':import.meta,'argv':[..._0x9de578],'flags':buildMeowFlags(),'autoHelp':![],'autoVersion':![]}),_0x39ed8c=[..._0x154766[_0x34bf2e(0x159)]],_0x2f5050=_0x154766['flags'],_0x4afe58=_0x39ed8c[0x0];if(!_0x4afe58)throw CliErrors[_0x34bf2e(0x151)]('Rabetbase\x20argv\x20must\x20include\x20a\x20service\x20and\x20command.');const _0x57f3d5=resolveRemovedCommand(_0x4afe58,_0x39ed8c[0x1]);if(_0x57f3d5)throw CliErrors['validation'](_0x57f3d5['message'],_0x57f3d5[_0x34bf2e(0x15f)]);if(_0x4afe58===_0x34bf2e(0x156))throw CliErrors['validation'](_0x34bf2e(0x150),'Use\x20an\x20explicit\x20shell\x20tool\x20only\x20when\x20script\x20execution\x20is\x20intentionally\x20requested.');if(!isKnownService(_0x4afe58))throw CliErrors[_0x34bf2e(0x14e)](_0x39ed8c['join']('\x20'));const _0x21d38f=getServiceEntry(_0x4afe58),_0x2cea36=_0x39ed8c[0x1],_0x43f4ce=_0x2cea36||_0x21d38f[_0x34bf2e(0x14f)];if(!_0x43f4ce){if(_0x21d38f[_0x34bf2e(0x153)])return{'definition':_0x21d38f['wildcardDef'],'rawFlags':_0x2f5050,'args':[]};throw CliErrors['validation']('Rabetbase\x20argv\x20must\x20include\x20a\x20command\x20for\x20service\x20\x22'+_0x4afe58+'\x22.');}const _0x30ce4f=findDefinition(_0x4afe58,_0x43f4ce);if(_0x30ce4f)return{'definition':_0x30ce4f,'rawFlags':_0x2f5050,'args':_0x39ed8c[_0x34bf2e(0x15c)](0x2)};if(_0x21d38f['wildcardDef'])return{'definition':_0x21d38f[_0x34bf2e(0x153)],'rawFlags':_0x2f5050,'args':[_0x43f4ce,..._0x39ed8c[_0x34bf2e(0x15c)](0x2)]};throw CliErrors['unknownCommand'](_0x4afe58+'\x20'+_0x43f4ce);}function a247_0x5a61(){const _0xe098e7=['206569MriKJB','1463216khPVdB','hint','33509QBZDvR','1544536PGxvAR','unknownCommand','defaultCommand','`rabetbase\x20run`\x20is\x20unavailable\x20through\x20the\x20embedded\x20runtime\x20because\x20it\x20executes\x20arbitrary\x20package\x20scripts.','validation','130dGbYFu','wildcardDef','459900wQQBVr','27svSrqU','run','914HlNXce','456VhwLhF','input','233WHufQK','597270FEjAgV','slice'];a247_0x5a61=function(){return _0xe098e7;};return a247_0x5a61();}
1
+ (function(_0x18f55b,_0x4fa618){const _0x5235c2=a247_0x3dd0,_0x44e9bf=_0x18f55b();while(!![]){try{const _0xbf3fca=-parseInt(_0x5235c2(0x13d))/0x1+parseInt(_0x5235c2(0x13b))/0x2*(parseInt(_0x5235c2(0x13e))/0x3)+-parseInt(_0x5235c2(0x14a))/0x4*(-parseInt(_0x5235c2(0x14e))/0x5)+parseInt(_0x5235c2(0x149))/0x6*(parseInt(_0x5235c2(0x145))/0x7)+-parseInt(_0x5235c2(0x142))/0x8+parseInt(_0x5235c2(0x147))/0x9+-parseInt(_0x5235c2(0x13f))/0xa*(-parseInt(_0x5235c2(0x143))/0xb);if(_0xbf3fca===_0x4fa618)break;else _0x44e9bf['push'](_0x44e9bf['shift']());}catch(_0x178ec3){_0x44e9bf['push'](_0x44e9bf['shift']());}}}(a247_0x5d94,0xf0021));import a247_0x49e7da from'meow';import{findDefinition,getServiceEntry,isKnownService,resolveRemovedCommand}from'../commands/registry.js';function a247_0x3dd0(_0xf166a6,_0x36dbc5){_0xf166a6=_0xf166a6-0x13b;const _0x5d94b3=a247_0x5d94();let _0x3dd048=_0x5d94b3[_0xf166a6];return _0x3dd048;}function a247_0x5d94(){const _0xfe64ee=['183xIcauS','109160gXQjtB','input','defaultCommand','14312160UJYnLc','407pYukug','validation','828086QTjERb','flags','12081519SMXcIS','wildcardDef','6hlRWep','503988tFMSuX','join','run','slice','10UypaCP','28746IbsNsh','Rabetbase\x20argv\x20must\x20include\x20a\x20command\x20for\x20service\x20\x22','221235nTFXsH'];a247_0x5d94=function(){return _0xfe64ee;};return a247_0x5d94();}import{buildMeowFlags}from'../constant/cli.js';import{CliErrors}from'../errors.js';export async function resolveRabetbaseInvocation(_0x30ff3d){const _0x31f800=a247_0x3dd0,_0x56131b=a247_0x49e7da('',{'importMeta':import.meta,'argv':[..._0x30ff3d],'flags':buildMeowFlags(),'autoHelp':![],'autoVersion':![]}),_0x2e5192=[..._0x56131b[_0x31f800(0x140)]],_0x5816c6=_0x56131b[_0x31f800(0x146)],_0x2c0eb6=_0x2e5192[0x0];if(!_0x2c0eb6)throw CliErrors[_0x31f800(0x144)]('Rabetbase\x20argv\x20must\x20include\x20a\x20service\x20and\x20command.');const _0x5e34ec=resolveRemovedCommand(_0x2c0eb6,_0x2e5192[0x1]);if(_0x5e34ec)throw CliErrors[_0x31f800(0x144)](_0x5e34ec['message'],_0x5e34ec['hint']);if(_0x2c0eb6===_0x31f800(0x14c))throw CliErrors['validation']('`rabetbase\x20run`\x20is\x20unavailable\x20through\x20the\x20embedded\x20runtime\x20because\x20it\x20executes\x20arbitrary\x20package\x20scripts.','Use\x20an\x20explicit\x20shell\x20tool\x20only\x20when\x20script\x20execution\x20is\x20intentionally\x20requested.');if(!isKnownService(_0x2c0eb6))throw CliErrors['unknownCommand'](_0x2e5192[_0x31f800(0x14b)]('\x20'));const _0x5d3137=getServiceEntry(_0x2c0eb6),_0xf1801e=_0x2e5192[0x1],_0x525547=_0xf1801e||_0x5d3137[_0x31f800(0x141)];if(!_0x525547){if(_0x5d3137['wildcardDef'])return{'definition':_0x5d3137['wildcardDef'],'rawFlags':_0x5816c6,'args':[]};throw CliErrors[_0x31f800(0x144)](_0x31f800(0x13c)+_0x2c0eb6+'\x22.');}const _0x41258b=findDefinition(_0x2c0eb6,_0x525547);if(_0x41258b)return{'definition':_0x41258b,'rawFlags':_0x5816c6,'args':_0x2e5192[_0x31f800(0x14d)](0x2)};if(_0x5d3137[_0x31f800(0x148)])return{'definition':_0x5d3137['wildcardDef'],'rawFlags':_0x5816c6,'args':[_0x525547,..._0x2e5192[_0x31f800(0x14d)](0x2)]};throw CliErrors['unknownCommand'](_0x2c0eb6+'\x20'+_0x525547);}
@@ -1 +1 @@
1
- (function(_0x5debff,_0x98df80){const _0x16441e=a249_0x5c23,_0x11c488=_0x5debff();while(!![]){try{const _0x5061f9=-parseInt(_0x16441e(0x16f))/0x1+parseInt(_0x16441e(0x16b))/0x2*(-parseInt(_0x16441e(0x184))/0x3)+-parseInt(_0x16441e(0x17d))/0x4+-parseInt(_0x16441e(0x181))/0x5*(parseInt(_0x16441e(0x176))/0x6)+parseInt(_0x16441e(0x180))/0x7*(-parseInt(_0x16441e(0x16d))/0x8)+parseInt(_0x16441e(0x186))/0x9+-parseInt(_0x16441e(0x171))/0xa*(-parseInt(_0x16441e(0x179))/0xb);if(_0x5061f9===_0x98df80)break;else _0x11c488['push'](_0x11c488['shift']());}catch(_0x37e77d){_0x11c488['push'](_0x11c488['shift']());}}}(a249_0x347d,0x51c93));function a249_0x347d(){const _0x39546a=['40642qdbYiA','\x0aAvailable\x20commands:','3170cSkeZy','(empty)','dangerously-bff-save','log','exit','6066gIhbed','from','enable-bff-save','11110KGuulQ','argv','\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill','push','10064JLorjB','add','has','5943OadMLQ','405ZDkJkY','\x20cli-skill\x20install\x0a\x0aEquivalent\x20command:\x20','error','15BuGuCF','-$1','5784048EKASFe','slice','--help','Error:\x20Unsupported\x20command:\x20','length','skill','setLogPath','help','49318lZmssg','toLowerCase','3576dWGvHm','replace'];a249_0x347d=function(){return _0x39546a;};return a249_0x347d();}import{logger}from'../utils/logger.js';import{CLI_BIN_NAME}from'../constant/cli.js';import{NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE}from'../skills/npx-skills-add.js';export function camelCaseFlagsToKebab(_0x447db7){const _0x163b65=a249_0x5c23,_0x2b5a68=[];for(const [_0x107035,_0x36491c]of Object['entries'](_0x447db7)){if(_0x36491c===!![]){const _0x169af3=_0x107035[_0x163b65(0x16e)](/([A-Z])/g,_0x163b65(0x185))[_0x163b65(0x16c)]();_0x2b5a68[_0x163b65(0x17c)](_0x169af3);}}return _0x2b5a68;}export function parseDynamicFlags(){const _0x192cc7=a249_0x5c23,_0x396c1c=[];for(let _0x4e76ff=0x3;_0x4e76ff<process[_0x192cc7(0x17a)][_0x192cc7(0x167)];_0x4e76ff++){const _0x4ff981=process[_0x192cc7(0x17a)][_0x4e76ff];if(_0x4ff981&&_0x4ff981['startsWith']('--')){const _0x515410=_0x4ff981[_0x192cc7(0x187)](0x2);_0x515410&&!_0x515410['includes']('=')&&_0x396c1c[_0x192cc7(0x17c)](_0x515410);}}return _0x396c1c;}export function getAllProvidedFlags(_0x248685){const _0xf1c630=a249_0x5c23,_0x13eeb8=camelCaseFlagsToKebab(_0x248685),_0x4672de=parseDynamicFlags(),_0x51befc=new Set([..._0x13eeb8,..._0x4672de]);return Array[_0xf1c630(0x177)](_0x51befc);}function a249_0x5c23(_0x252edd,_0x56b173){_0x252edd=_0x252edd-0x165;const _0x347d56=a249_0x347d();let _0x5c23b3=_0x347d56[_0x252edd];return _0x5c23b3;}export function normalizeLegacyBffSaveFlags(_0x42e5d9){const _0x15824f=a249_0x5c23,_0x47ced4=new Set(_0x42e5d9);return _0x47ced4[_0x15824f(0x17f)](_0x15824f(0x173))&&_0x47ced4[_0x15824f(0x17e)](_0x15824f(0x178)),Array[_0x15824f(0x177)](_0x47ced4);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;export async function skillsCommand(_0x3e373f,_0x19f8f6,_0x517b78){const _0x2c60f1=a249_0x5c23;logger[_0x2c60f1(0x169)](process['cwd']());if(_0x517b78?.[_0x2c60f1(0x16a)]||_0x3e373f===_0x2c60f1(0x165)){showHelp();return;}console[_0x2c60f1(0x183)](_0x2c60f1(0x166)+(_0x3e373f||_0x2c60f1(0x172))),console[_0x2c60f1(0x174)](_0x2c60f1(0x170)),console[_0x2c60f1(0x174)]('\x20\x20'+CLI_BIN_NAME+_0x2c60f1(0x17b)),console[_0x2c60f1(0x174)](''),console[_0x2c60f1(0x174)]('Equivalent\x20command:\x20'+SKILLS_INSTALL_COMMAND_LINE),logger[_0x2c60f1(0x183)](_0x2c60f1(0x168),'不支持的命令:\x20'+_0x3e373f),process[_0x2c60f1(0x175)](0x1);}function showHelp(){const _0x1a591e=a249_0x5c23;console[_0x1a591e(0x174)]('\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20'+CLI_BIN_NAME+_0x1a591e(0x182)+SKILLS_INSTALL_COMMAND_LINE+'\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/rabetbase/guides/.\x0a');}
1
+ (function(_0x44269b,_0x209933){const _0x53bfb3=a249_0x3c94,_0x388e6d=_0x44269b();while(!![]){try{const _0x2bddda=parseInt(_0x53bfb3(0xb3))/0x1+parseInt(_0x53bfb3(0x9a))/0x2+parseInt(_0x53bfb3(0xb7))/0x3+-parseInt(_0x53bfb3(0x9e))/0x4+-parseInt(_0x53bfb3(0xa3))/0x5*(parseInt(_0x53bfb3(0xb6))/0x6)+parseInt(_0x53bfb3(0xb4))/0x7+-parseInt(_0x53bfb3(0xb1))/0x8;if(_0x2bddda===_0x209933)break;else _0x388e6d['push'](_0x388e6d['shift']());}catch(_0x3ea15b){_0x388e6d['push'](_0x388e6d['shift']());}}}(a249_0x47be,0x4b33d));import{logger}from'../utils/logger.js';import{CLI_BIN_NAME}from'../constant/cli.js';import{NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE}from'../skills/npx-skills-add.js';export function camelCaseFlagsToKebab(_0x3f8d5b){const _0x3938aa=a249_0x3c94,_0x784f04=[];for(const [_0x383e93,_0x3980b4]of Object[_0x3938aa(0x9d)](_0x3f8d5b)){if(_0x3980b4===!![]){const _0xe7f1f5=_0x383e93[_0x3938aa(0xad)](/([A-Z])/g,'-$1')['toLowerCase']();_0x784f04['push'](_0xe7f1f5);}}return _0x784f04;}function a249_0x47be(){const _0xf76bea=['exit','slice','setLogPath','966845vFuWml','help','skill','includes','\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill','add','Equivalent\x20command:\x20','startsWith','\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','error','replace','\x20cli-skill\x20install\x0a\x0aEquivalent\x20command:\x20','enable-bff-save','不支持的命令:\x20','2379232IKmiUV','--help','303387CdeXxZ','2375912iVzNcO','dangerously-bff-save','12CpPWOa','903549nCBErY','argv','\x0aAvailable\x20commands:','log','cwd','328312QssjVI','push','\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/rabetbase/guides/.\x0a','entries','463884sZxjlK','(empty)'];a249_0x47be=function(){return _0xf76bea;};return a249_0x47be();}export function parseDynamicFlags(){const _0x3f5a92=a249_0x3c94,_0x401381=[];for(let _0x588e88=0x3;_0x588e88<process[_0x3f5a92(0xb8)]['length'];_0x588e88++){const _0x54a4b3=process[_0x3f5a92(0xb8)][_0x588e88];if(_0x54a4b3&&_0x54a4b3[_0x3f5a92(0xaa)]('--')){const _0x524de8=_0x54a4b3[_0x3f5a92(0xa1)](0x2);_0x524de8&&!_0x524de8[_0x3f5a92(0xa6)]('=')&&_0x401381[_0x3f5a92(0x9b)](_0x524de8);}}return _0x401381;}export function getAllProvidedFlags(_0x46f7b2){const _0x4b4f1e=camelCaseFlagsToKebab(_0x46f7b2),_0x2e558c=parseDynamicFlags(),_0x575f35=new Set([..._0x4b4f1e,..._0x2e558c]);return Array['from'](_0x575f35);}function a249_0x3c94(_0x2f14a2,_0x235904){_0x2f14a2=_0x2f14a2-0x97;const _0x47be4e=a249_0x47be();let _0x3c947e=_0x47be4e[_0x2f14a2];return _0x3c947e;}export function normalizeLegacyBffSaveFlags(_0x1c02aa){const _0x4ea100=a249_0x3c94,_0x5ae1fc=new Set(_0x1c02aa);return _0x5ae1fc['has'](_0x4ea100(0xb5))&&_0x5ae1fc[_0x4ea100(0xa8)](_0x4ea100(0xaf)),Array['from'](_0x5ae1fc);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;export async function skillsCommand(_0x1fd70a,_0x327fd7,_0xf421e5){const _0x3c193f=a249_0x3c94;logger[_0x3c193f(0xa2)](process[_0x3c193f(0x99)]());if(_0xf421e5?.[_0x3c193f(0xa4)]||_0x1fd70a===_0x3c193f(0xb2)){showHelp();return;}console[_0x3c193f(0xac)]('Error:\x20Unsupported\x20command:\x20'+(_0x1fd70a||_0x3c193f(0x9f))),console[_0x3c193f(0x98)](_0x3c193f(0x97)),console[_0x3c193f(0x98)]('\x20\x20'+CLI_BIN_NAME+_0x3c193f(0xa7)),console[_0x3c193f(0x98)](''),console[_0x3c193f(0x98)](_0x3c193f(0xa9)+SKILLS_INSTALL_COMMAND_LINE),logger[_0x3c193f(0xac)](_0x3c193f(0xa5),_0x3c193f(0xb0)+_0x1fd70a),process[_0x3c193f(0xa0)](0x1);}function showHelp(){const _0x1293a0=a249_0x3c94;console[_0x1293a0(0x98)](_0x1293a0(0xab)+CLI_BIN_NAME+_0x1293a0(0xae)+SKILLS_INSTALL_COMMAND_LINE+_0x1293a0(0x9c));}
@@ -1 +1 @@
1
- const a250_0x5f52be=a250_0x477c;(function(_0x4042ae,_0x409281){const _0x44687f=a250_0x477c,_0x428295=_0x4042ae();while(!![]){try{const _0x56bfef=-parseInt(_0x44687f(0x18f))/0x1*(-parseInt(_0x44687f(0x195))/0x2)+parseInt(_0x44687f(0x1ae))/0x3+-parseInt(_0x44687f(0x1ac))/0x4+-parseInt(_0x44687f(0x19c))/0x5*(-parseInt(_0x44687f(0x194))/0x6)+parseInt(_0x44687f(0x193))/0x7*(-parseInt(_0x44687f(0x1bd))/0x8)+parseInt(_0x44687f(0x1aa))/0x9+-parseInt(_0x44687f(0x19f))/0xa*(parseInt(_0x44687f(0x190))/0xb);if(_0x56bfef===_0x409281)break;else _0x428295['push'](_0x428295['shift']());}catch(_0x21d875){_0x428295['push'](_0x428295['shift']());}}}(a250_0x33c6,0xd4b11));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';import{resolveInstalledSkill}from'../skills/skill-presence.js';export const NPX_FLAG_YES='-y';export const SKILLS_FLAG_GLOBAL='-g';export const SKILLS_FLAG_YES='-y';export const NPX_SKILLS_CLI=a250_0x5f52be(0x1bf);export const NPX_SKILLS_SUBCOMMAND_ADD=a250_0x5f52be(0x196);export const NPX_SKILLS_FLAG_SKILL='--skill';export const RABETBASE_SKILL_SOURCE=a250_0x5f52be(0x1b3);export const LEGACY_RABETBASE_SKILL_SOURCE=a250_0x5f52be(0x1b8);export const DEFAULT_RABETBASE_SKILL_NAME=a250_0x5f52be(0x1be);function a250_0x477c(_0x5d3b43,_0x1cf1c2){_0x5d3b43=_0x5d3b43-0x18d;const _0x33c6a7=a250_0x33c6();let _0x477cbc=_0x33c6a7[_0x5d3b43];return _0x477cbc;}export const RABETBASE_GLOBAL_SKILL_NAME=a250_0x5f52be(0x1b2);function a250_0x33c6(){const _0x4fe1c3=['presence','Skill\x20\x22','inherit','message','lovrabet/lovrabet-skill','code','npx','npx\x20terminated\x20by\x20signal\x20','remove','13857968MAlGrF','Lovrabet','skills','INSTALL_PARTIAL','stderr','EACCES','722ysftWp','11Moekbq','pipe','skill','7QgBwdR','12NUZvNP','2766MUILeN','add','state','stdout','\x22\x20not\x20found\x20after\x20install\x20(checked\x20','signal','checked','3255905VdvblK','CHILD_TERMINATED','!\x20Could\x20not\x20verify\x20\x22','12896170Cvvukb','Installer\x20reported\x20','PERMISSION_DENIED','trim','warn','join','match','EPERM','SPAWN_FAILED','error','filter','8263278NVijUK','stdio','1047076hYFGRg','exit\x20','2807361KZzfTB','log','status','SKILL_NOT_INSTALLED','rabetbase','lovrabet/rabetbase'];a250_0x33c6=function(){return _0x4fe1c3;};return a250_0x33c6();}export const RABETBASE_SKILL_GIT_SOURCE='git@codeup.aliyun.com:yuntoo/open/rabetbase-cli.git';export function resolveGlobalSkillName(_0x210271){const _0x5ae609=a250_0x5f52be;switch(_0x210271[_0x5ae609(0x1a2)]()){case RABETBASE_SKILL_SOURCE:case RABETBASE_SKILL_GIT_SOURCE:return RABETBASE_GLOBAL_SKILL_NAME;default:return undefined;}}export function buildNpxSkillsAddArgv(_0x58e3ff){const _0x29bf9e=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE];return _0x58e3ff&&_0x29bf9e['push'](NPX_SKILLS_FLAG_SKILL,_0x58e3ff),_0x29bf9e;}export const NPX_SKILLS_ADD_COMMAND_LINE=[a250_0x5f52be(0x1ba),...buildNpxSkillsAddArgv()][a250_0x5f52be(0x1a4)]('\x20');export const NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE=[a250_0x5f52be(0x1ba),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][a250_0x5f52be(0x1a4)]('\x20');const CHILD_OUTPUT_MAX_BUFFER=0x10*0x400*0x400;function failure(_0x95408c,_0x1b6a8e,_0x49089b){return{'ok':![],'status':_0x1b6a8e,'code':_0x95408c,'error':'['+_0x95408c+']\x20'+_0x49089b};}function spawnOptions(_0x431ea2,_0x49a66f){const _0x47219=a250_0x5f52be;return{'cwd':_0x431ea2,'stdio':_0x49a66f,'env':process.env,'shell':![],..._0x49a66f===_0x47219(0x191)?{'maxBuffer':CHILD_OUTPUT_MAX_BUFFER}:{}};}function normalizeSpawnResult(_0x1f0506,_0x5df395,_0x1fe5ba,_0x4142af){const _0x459693=a250_0x5f52be,_0x448ac8=[_0x1f0506[_0x459693(0x198)]?_0x1f0506[_0x459693(0x198)]['toString']():'',_0x1f0506['stderr']?_0x1f0506[_0x459693(0x18d)]['toString']():''][_0x459693(0x1a9)](Boolean)[_0x459693(0x1a4)]('\x0a')[_0x459693(0x1a2)]();_0x4142af!==_0x459693(0x191)&&_0x448ac8&&console[_0x459693(0x1af)](_0x448ac8);if(_0x1f0506[_0x459693(0x1a8)]){const _0x5ed944=_0x1f0506['error'],_0x465d17=_0x5ed944['code']==='ENOENT'?'NPX_NOT_FOUND':_0x5ed944[_0x459693(0x1b9)]===_0x459693(0x1a6)||_0x5ed944['code']===_0x459693(0x18e)?_0x459693(0x1a1):_0x459693(0x1a7);return failure(_0x465d17,_0x1f0506['status'],_0x5ed944[_0x459693(0x1b7)]);}if(_0x1f0506[_0x459693(0x19a)])return failure(_0x459693(0x19d),_0x1f0506[_0x459693(0x1b0)],_0x459693(0x1bb)+_0x1f0506[_0x459693(0x19a)]);if(_0x1f0506[_0x459693(0x1b0)]!==0x0)return failure('CHILD_EXIT_NONZERO',_0x1f0506[_0x459693(0x1b0)],_0x448ac8||_0x459693(0x1ad)+(_0x1f0506[_0x459693(0x1b0)]??'unknown'));const _0x416428=_0x448ac8[_0x459693(0x1a5)](/Failed to install\s+(\d+)/i);if(_0x416428&&Number(_0x416428[0x1])>0x0)return failure(_0x459693(0x1c0),0x0,_0x459693(0x1a0)+_0x416428[0x1]+'\x20failed\x20target(s)'+(_0x448ac8?':\x0a'+_0x448ac8:''));if(_0x5df395){const _0x4323d9=resolveInstalledSkill(_0x5df395,_0x1fe5ba);if(_0x4323d9[_0x459693(0x197)]==='absent')return failure(_0x459693(0x1b1),0x0,_0x459693(0x1b5)+_0x5df395+_0x459693(0x199)+_0x4323d9[_0x459693(0x19b)][_0x459693(0x1a4)](',\x20')+')');_0x4323d9[_0x459693(0x197)]==='unverifiable'&&console[_0x459693(0x1a3)](_0x459693(0x19e)+_0x5df395+'\x22\x20install\x20state:\x20'+_0x4323d9['reason']);}return{'ok':!![],'status':0x0};}export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0x1430c2,_0x4b7b6b){const _0x5d7ed1=a250_0x5f52be;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x47ff27=_0x4b7b6b?.[_0x5d7ed1(0x1ab)]??_0x5d7ed1(0x1b6),_0x36135b=resolveNpmBin(_0x5d7ed1(0x1ba)),_0x7bfec7=buildNpxSkillsAddArgv(_0x4b7b6b?.[_0x5d7ed1(0x192)]),_0xee38a0=[_0x5d7ed1(0x1ba),..._0x7bfec7][_0x5d7ed1(0x1a4)]('\x20');console['log']('*\x20'+_0xee38a0);const _0x296ea4=spawnSync(_0x36135b,_0x7bfec7,spawnOptions(_0x1430c2,_0x47ff27));return normalizeSpawnResult(_0x296ea4,undefined,undefined,_0x47ff27);}export function runNpxSkillsRemove(_0x195af1,_0x5ec28a,_0x58f389=LEGACY_RABETBASE_SKILL_SOURCE){const _0x4e4fdc=a250_0x5f52be;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x5e774a=_0x5ec28a?.[_0x4e4fdc(0x1ab)]??_0x4e4fdc(0x1b6),_0x1e3dc4=resolveNpmBin(_0x4e4fdc(0x1ba)),_0x51c10d=[NPX_FLAG_YES,NPX_SKILLS_CLI,_0x4e4fdc(0x1bc),_0x58f389,NPX_SKILLS_FLAG_SKILL,_0x5ec28a?.[_0x4e4fdc(0x192)]??DEFAULT_RABETBASE_SKILL_NAME,..._0x5ec28a?.['yes']?['-y']:[]],_0x2c57d1=[_0x1e3dc4,..._0x51c10d]['join']('\x20');console[_0x4e4fdc(0x1af)]('*\x20'+_0x2c57d1);const _0x565bae=spawnSync(_0x1e3dc4,_0x51c10d,spawnOptions(_0x195af1,_0x5e774a));return normalizeSpawnResult(_0x565bae,undefined,undefined,_0x5e774a);}export function runNpxSkillsAddGlobal(_0x853fb4,_0x175980,_0x5414ef){const _0x501ebd=a250_0x5f52be;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x2065c6=resolveNpmBin(_0x501ebd(0x1ba)),_0x2a7da6=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x175980,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES],_0x36dfb8=['npx',NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x175980,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][_0x501ebd(0x1a4)]('\x20');console[_0x501ebd(0x1af)]('*\x20'+_0x36dfb8);const _0x20d28f=spawnSync(_0x2065c6,_0x2a7da6,spawnOptions(_0x853fb4,_0x501ebd(0x191)));return normalizeSpawnResult(_0x20d28f,resolveGlobalSkillName(_0x175980),_0x5414ef?.[_0x501ebd(0x1b4)],_0x5414ef?.[_0x501ebd(0x1ab)]);}
1
+ const a250_0x41eb70=a250_0x5af7;(function(_0x178b4f,_0x36fed7){const _0x4774f0=a250_0x5af7,_0x1268a0=_0x178b4f();while(!![]){try{const _0x46446b=parseInt(_0x4774f0(0x16b))/0x1+-parseInt(_0x4774f0(0x170))/0x2+-parseInt(_0x4774f0(0x15b))/0x3+-parseInt(_0x4774f0(0x15f))/0x4+parseInt(_0x4774f0(0x182))/0x5*(parseInt(_0x4774f0(0x171))/0x6)+-parseInt(_0x4774f0(0x174))/0x7*(-parseInt(_0x4774f0(0x18b))/0x8)+-parseInt(_0x4774f0(0x17a))/0x9*(-parseInt(_0x4774f0(0x165))/0xa);if(_0x46446b===_0x36fed7)break;else _0x1268a0['push'](_0x1268a0['shift']());}catch(_0x306af9){_0x1268a0['push'](_0x1268a0['shift']());}}}(a250_0x384a,0x8fa99));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';import{resolveInstalledSkill}from'../skills/skill-presence.js';export const NPX_FLAG_YES='-y';export const SKILLS_FLAG_GLOBAL='-g';export const SKILLS_FLAG_YES='-y';export const NPX_SKILLS_CLI=a250_0x41eb70(0x18c);export const NPX_SKILLS_SUBCOMMAND_ADD=a250_0x41eb70(0x183);export const NPX_SKILLS_FLAG_SKILL='--skill';export const RABETBASE_SKILL_SOURCE='lovrabet/rabetbase';export const LEGACY_RABETBASE_SKILL_SOURCE='lovrabet/lovrabet-skill';export const DEFAULT_RABETBASE_SKILL_NAME=a250_0x41eb70(0x15c);export const RABETBASE_GLOBAL_SKILL_NAME=a250_0x41eb70(0x16f);function a250_0x5af7(_0x51e955,_0x36aa9c){_0x51e955=_0x51e955-0x15b;const _0x384a43=a250_0x384a();let _0x5af725=_0x384a43[_0x51e955];return _0x5af725;}export const RABETBASE_SKILL_GIT_SOURCE=a250_0x41eb70(0x161);export function resolveGlobalSkillName(_0x23c794){const _0x4bf3bc=a250_0x41eb70;switch(_0x23c794[_0x4bf3bc(0x168)]()){case RABETBASE_SKILL_SOURCE:case RABETBASE_SKILL_GIT_SOURCE:return RABETBASE_GLOBAL_SKILL_NAME;default:return undefined;}}export function buildNpxSkillsAddArgv(_0x29d651){const _0x1a8a7c=a250_0x41eb70,_0x425b31=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE];return _0x29d651&&_0x425b31[_0x1a8a7c(0x181)](NPX_SKILLS_FLAG_SKILL,_0x29d651),_0x425b31;}export const NPX_SKILLS_ADD_COMMAND_LINE=[a250_0x41eb70(0x17e),...buildNpxSkillsAddArgv()][a250_0x41eb70(0x186)]('\x20');function a250_0x384a(){const _0x5716a7=['add','skill','stdout','join','log','checked','NPX_NOT_FOUND','absent','8iDUwPg','skills','pipe','CHILD_EXIT_NONZERO','INSTALL_PARTIAL','1879971uRvSwi','Lovrabet','CHILD_TERMINATED','warn','729116AGqgSo','unknown','git@codeup.aliyun.com:yuntoo/open/rabetbase-cli.git','stderr','filter','Installer\x20reported\x20','16530kfFLmP','remove','state','trim','toString','inherit','18765SnFMLJ','yes','status','message','rabetbase','1577148qKXROk','314772XeyOej','code','unverifiable','5882989pQWohA','!\x20Could\x20not\x20verify\x20\x22','Skill\x20\x22','presence','exit\x20','SKILL_NOT_INSTALLED','4653ujHbpM','signal','stdio','error','npx','ENOENT','\x22\x20install\x20state:\x20','push','45znlPNZ'];a250_0x384a=function(){return _0x5716a7;};return a250_0x384a();}export const NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE=['npx',NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][a250_0x41eb70(0x186)]('\x20');const CHILD_OUTPUT_MAX_BUFFER=0x10*0x400*0x400;function failure(_0x345e2f,_0x3cc8f7,_0x245763){return{'ok':![],'status':_0x3cc8f7,'code':_0x345e2f,'error':'['+_0x345e2f+']\x20'+_0x245763};}function spawnOptions(_0x117498,_0x5d6e48){const _0x102109=a250_0x41eb70;return{'cwd':_0x117498,'stdio':_0x5d6e48,'env':process.env,'shell':![],..._0x5d6e48===_0x102109(0x18d)?{'maxBuffer':CHILD_OUTPUT_MAX_BUFFER}:{}};}function normalizeSpawnResult(_0x2e8936,_0x20e8c8,_0x33c206,_0x4646ff){const _0x28646a=a250_0x41eb70,_0x21bb9f=[_0x2e8936[_0x28646a(0x185)]?_0x2e8936[_0x28646a(0x185)][_0x28646a(0x169)]():'',_0x2e8936[_0x28646a(0x162)]?_0x2e8936[_0x28646a(0x162)][_0x28646a(0x169)]():''][_0x28646a(0x163)](Boolean)[_0x28646a(0x186)]('\x0a')[_0x28646a(0x168)]();_0x4646ff!==_0x28646a(0x18d)&&_0x21bb9f&&console[_0x28646a(0x187)](_0x21bb9f);if(_0x2e8936[_0x28646a(0x17d)]){const _0x37f8e6=_0x2e8936[_0x28646a(0x17d)],_0x481011=_0x37f8e6['code']===_0x28646a(0x17f)?_0x28646a(0x189):_0x37f8e6[_0x28646a(0x172)]==='EPERM'||_0x37f8e6[_0x28646a(0x172)]==='EACCES'?'PERMISSION_DENIED':'SPAWN_FAILED';return failure(_0x481011,_0x2e8936[_0x28646a(0x16d)],_0x37f8e6[_0x28646a(0x16e)]);}if(_0x2e8936[_0x28646a(0x17b)])return failure(_0x28646a(0x15d),_0x2e8936[_0x28646a(0x16d)],'npx\x20terminated\x20by\x20signal\x20'+_0x2e8936['signal']);if(_0x2e8936[_0x28646a(0x16d)]!==0x0)return failure(_0x28646a(0x18e),_0x2e8936[_0x28646a(0x16d)],_0x21bb9f||_0x28646a(0x178)+(_0x2e8936[_0x28646a(0x16d)]??_0x28646a(0x160)));const _0x54bbcf=_0x21bb9f['match'](/Failed to install\s+(\d+)/i);if(_0x54bbcf&&Number(_0x54bbcf[0x1])>0x0)return failure(_0x28646a(0x18f),0x0,_0x28646a(0x164)+_0x54bbcf[0x1]+'\x20failed\x20target(s)'+(_0x21bb9f?':\x0a'+_0x21bb9f:''));if(_0x20e8c8){const _0x88c3a5=resolveInstalledSkill(_0x20e8c8,_0x33c206);if(_0x88c3a5[_0x28646a(0x167)]===_0x28646a(0x18a))return failure(_0x28646a(0x179),0x0,_0x28646a(0x176)+_0x20e8c8+'\x22\x20not\x20found\x20after\x20install\x20(checked\x20'+_0x88c3a5[_0x28646a(0x188)][_0x28646a(0x186)](',\x20')+')');_0x88c3a5[_0x28646a(0x167)]===_0x28646a(0x173)&&console[_0x28646a(0x15e)](_0x28646a(0x175)+_0x20e8c8+_0x28646a(0x180)+_0x88c3a5['reason']);}return{'ok':!![],'status':0x0};}export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0x4a5a9a,_0x216261){const _0x530e68=a250_0x41eb70;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x5a7cbb=_0x216261?.[_0x530e68(0x17c)]??_0x530e68(0x16a),_0xa72960=resolveNpmBin(_0x530e68(0x17e)),_0x434995=buildNpxSkillsAddArgv(_0x216261?.['skill']),_0x193035=['npx',..._0x434995][_0x530e68(0x186)]('\x20');console[_0x530e68(0x187)]('*\x20'+_0x193035);const _0x1806ad=spawnSync(_0xa72960,_0x434995,spawnOptions(_0x4a5a9a,_0x5a7cbb));return normalizeSpawnResult(_0x1806ad,undefined,undefined,_0x5a7cbb);}export function runNpxSkillsRemove(_0x11142e,_0x206a1f,_0x382398=LEGACY_RABETBASE_SKILL_SOURCE){const _0xc78ae5=a250_0x41eb70;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x5b7a20=_0x206a1f?.[_0xc78ae5(0x17c)]??_0xc78ae5(0x16a),_0x2bfbee=resolveNpmBin(_0xc78ae5(0x17e)),_0x58dbd2=[NPX_FLAG_YES,NPX_SKILLS_CLI,_0xc78ae5(0x166),_0x382398,NPX_SKILLS_FLAG_SKILL,_0x206a1f?.[_0xc78ae5(0x184)]??DEFAULT_RABETBASE_SKILL_NAME,..._0x206a1f?.[_0xc78ae5(0x16c)]?['-y']:[]],_0x59f776=[_0x2bfbee,..._0x58dbd2]['join']('\x20');console[_0xc78ae5(0x187)]('*\x20'+_0x59f776);const _0x16cbf8=spawnSync(_0x2bfbee,_0x58dbd2,spawnOptions(_0x11142e,_0x5b7a20));return normalizeSpawnResult(_0x16cbf8,undefined,undefined,_0x5b7a20);}export function runNpxSkillsAddGlobal(_0x1eb216,_0x351e0a,_0x10408c){const _0x28f5ee=a250_0x41eb70;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0xa50359=resolveNpmBin(_0x28f5ee(0x17e)),_0x1a694c=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x351e0a,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES],_0x353451=['npx',NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x351e0a,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][_0x28f5ee(0x186)]('\x20');console[_0x28f5ee(0x187)]('*\x20'+_0x353451);const _0xfa3590=spawnSync(_0xa50359,_0x1a694c,spawnOptions(_0x1eb216,_0x28f5ee(0x18d)));return normalizeSpawnResult(_0xfa3590,resolveGlobalSkillName(_0x351e0a),_0x10408c?.[_0x28f5ee(0x177)],_0x10408c?.['stdio']);}
@@ -1 +1 @@
1
- const a251_0x185632=a251_0x2150;(function(_0x2efc6c,_0x1d0b9f){const _0x3e5e3f=a251_0x2150,_0x1a878b=_0x2efc6c();while(!![]){try{const _0x1d9869=-parseInt(_0x3e5e3f(0x1ea))/0x1+parseInt(_0x3e5e3f(0x1de))/0x2*(-parseInt(_0x3e5e3f(0x1d8))/0x3)+-parseInt(_0x3e5e3f(0x1e5))/0x4*(parseInt(_0x3e5e3f(0x1d1))/0x5)+parseInt(_0x3e5e3f(0x1ce))/0x6+parseInt(_0x3e5e3f(0x1e6))/0x7+-parseInt(_0x3e5e3f(0x1db))/0x8+-parseInt(_0x3e5e3f(0x1d4))/0x9*(-parseInt(_0x3e5e3f(0x1e9))/0xa);if(_0x1d9869===_0x1d0b9f)break;else _0x1a878b['push'](_0x1a878b['shift']());}catch(_0x1f0ccd){_0x1a878b['push'](_0x1a878b['shift']());}}}(a251_0x16ea,0x3b24f));import{existsSync,readFileSync}from'node:fs';function a251_0x16ea(){const _0x4d1f68=['unverifiable','\x20is\x20unreadable:\x20','parse','lockFile','60lhtKvC','1796613ttjOja','map','skills','70NOvHTQ','366730uZsguO','\x22\x20but\x20no\x20SKILL.md\x20was\x20found\x20in\x20known\x20layouts\x20','recorded','absent','not-recorded','.skill-lock.json','601218dGQMNe','utf8','.agents','144295RBlJXy','find','reason','1724022AdmyPD','present','version','\x20has\x20no\x20skills\x20map','129AepBQf','unusable','.claude','3252328Vgtjqc','includes','\x20records\x20\x22','11598rbDNWK','home','number'];a251_0x16ea=function(){return _0x4d1f68;};return a251_0x16ea();}import{homedir}from'node:os';import{join}from'node:path';export const SKILL_LOCK_RELATIVE_PATH=join(a251_0x185632(0x1d0),a251_0x185632(0x1cd));export const GLOBAL_SKILLS_DIR_RELATIVE_PATHS=[join(a251_0x185632(0x1d0),a251_0x185632(0x1e8)),join(a251_0x185632(0x1da),a251_0x185632(0x1e8))];function a251_0x2150(_0x4da891,_0x16e3df){_0x4da891=_0x4da891-0x1c9;const _0x16ea00=a251_0x16ea();let _0x2150c6=_0x16ea00[_0x4da891];return _0x2150c6;}const SUPPORTED_LOCK_VERSIONS=[0x3];function readLockLookup(_0xc425f0,_0x2de490){const _0x21c07b=a251_0x185632;if(!existsSync(_0xc425f0))return{'kind':_0x21c07b(0x1cc)};let _0x813d12;try{_0x813d12=JSON[_0x21c07b(0x1e3)](readFileSync(_0xc425f0,_0x21c07b(0x1cf)));}catch(_0x427948){return{'kind':'unusable','reason':_0xc425f0+_0x21c07b(0x1e2)+_0x427948['message']};}const _0x3d9fe8=_0x813d12;if(typeof _0x3d9fe8?.[_0x21c07b(0x1d6)]!==_0x21c07b(0x1e0)||!SUPPORTED_LOCK_VERSIONS[_0x21c07b(0x1dc)](_0x3d9fe8[_0x21c07b(0x1d6)]))return{'kind':_0x21c07b(0x1d9),'reason':_0xc425f0+'\x20uses\x20unsupported\x20version\x20'+String(_0x3d9fe8?.[_0x21c07b(0x1d6)])};if(!_0x3d9fe8[_0x21c07b(0x1e8)]||typeof _0x3d9fe8[_0x21c07b(0x1e8)]!=='object')return{'kind':'unusable','reason':_0xc425f0+_0x21c07b(0x1d7)};return _0x3d9fe8[_0x21c07b(0x1e8)][_0x2de490]?{'kind':_0x21c07b(0x1ca)}:{'kind':_0x21c07b(0x1cc)};}export function resolveInstalledSkill(_0x569e21,_0x53cc24){const _0x9329a2=a251_0x185632,_0x431418=_0x53cc24?.[_0x9329a2(0x1df)]??homedir(),_0x89cb77=_0x53cc24?.['globalSkillsDirs']??GLOBAL_SKILLS_DIR_RELATIVE_PATHS['map'](_0x48fed1=>join(_0x431418,_0x48fed1)),_0x30d4cd=_0x53cc24?.[_0x9329a2(0x1e4)]??join(_0x431418,SKILL_LOCK_RELATIVE_PATH),_0xf31848=_0x89cb77[_0x9329a2(0x1e7)](_0xcbe0df=>join(_0xcbe0df,_0x569e21,'SKILL.md')),_0x4d32f9=_0xf31848[_0x9329a2(0x1d2)](_0x52a911=>existsSync(_0x52a911));if(_0x4d32f9)return{'state':_0x9329a2(0x1d5),'path':_0x4d32f9};const _0x38272b=readLockLookup(_0x30d4cd,_0x569e21);if(_0x38272b['kind']===_0x9329a2(0x1d9))return{'state':_0x9329a2(0x1e1),'reason':_0x38272b[_0x9329a2(0x1d3)]};if(_0x38272b['kind']===_0x9329a2(0x1ca))return{'state':'unverifiable','reason':_0x30d4cd+_0x9329a2(0x1dd)+_0x569e21+_0x9329a2(0x1c9)+('('+_0xf31848['join'](',\x20')+')')};return{'state':_0x9329a2(0x1cb),'checked':_0xf31848};}
1
+ const a251_0x2a7b70=a251_0x4b23;(function(_0x30f3d0,_0xebe93e){const _0x14675e=a251_0x4b23,_0x38f35e=_0x30f3d0();while(!![]){try{const _0x3a84ed=parseInt(_0x14675e(0xd8))/0x1+-parseInt(_0x14675e(0xf5))/0x2*(-parseInt(_0x14675e(0xea))/0x3)+-parseInt(_0x14675e(0xdb))/0x4+-parseInt(_0x14675e(0xf9))/0x5+-parseInt(_0x14675e(0xf3))/0x6*(parseInt(_0x14675e(0xda))/0x7)+-parseInt(_0x14675e(0xdd))/0x8*(-parseInt(_0x14675e(0xd9))/0x9)+parseInt(_0x14675e(0xd6))/0xa*(parseInt(_0x14675e(0xe4))/0xb);if(_0x3a84ed===_0xebe93e)break;else _0x38f35e['push'](_0x38f35e['shift']());}catch(_0x521aa9){_0x38f35e['push'](_0x38f35e['shift']());}}}(a251_0x3424,0xbb29f));function a251_0x4b23(_0x26d553,_0x57635d){_0x26d553=_0x26d553-0xd5;const _0x342463=a251_0x3424();let _0x4b2344=_0x342463[_0x26d553];return _0x4b2344;}import{existsSync,readFileSync}from'node:fs';import{homedir}from'node:os';import{join}from'node:path';function a251_0x3424(){const _0x4e4216=['join','recorded','includes','number','635226oElHqd','.claude','1524AILUWT','parse','.skill-lock.json','message','3415645ZHArfn','kind','2540330CYlRNV','present','426515nQodAI','27fTzMLH','56vasayr','420260PNUSqZ','skills','1837608lKHoyP','object','\x20records\x20\x22','reason','\x20uses\x20unsupported\x20version\x20','lockFile','home','55OijETc','unverifiable','globalSkillsDirs','absent','version','map','63rQaoje','SKILL.md','\x20has\x20no\x20skills\x20map','not-recorded','unusable'];a251_0x3424=function(){return _0x4e4216;};return a251_0x3424();}export const SKILL_LOCK_RELATIVE_PATH=join('.agents',a251_0x2a7b70(0xf7));export const GLOBAL_SKILLS_DIR_RELATIVE_PATHS=[join('.agents',a251_0x2a7b70(0xdc)),join(a251_0x2a7b70(0xf4),a251_0x2a7b70(0xdc))];const SUPPORTED_LOCK_VERSIONS=[0x3];function readLockLookup(_0x18b456,_0x2dda60){const _0x200df0=a251_0x2a7b70;if(!existsSync(_0x18b456))return{'kind':_0x200df0(0xed)};let _0x29b786;try{_0x29b786=JSON[_0x200df0(0xf6)](readFileSync(_0x18b456,'utf8'));}catch(_0x4082b9){return{'kind':_0x200df0(0xee),'reason':_0x18b456+'\x20is\x20unreadable:\x20'+_0x4082b9[_0x200df0(0xf8)]};}const _0x36096b=_0x29b786;if(typeof _0x36096b?.[_0x200df0(0xe8)]!==_0x200df0(0xf2)||!SUPPORTED_LOCK_VERSIONS[_0x200df0(0xf1)](_0x36096b[_0x200df0(0xe8)]))return{'kind':_0x200df0(0xee),'reason':_0x18b456+_0x200df0(0xe1)+String(_0x36096b?.[_0x200df0(0xe8)])};if(!_0x36096b[_0x200df0(0xdc)]||typeof _0x36096b['skills']!==_0x200df0(0xde))return{'kind':_0x200df0(0xee),'reason':_0x18b456+_0x200df0(0xec)};return _0x36096b[_0x200df0(0xdc)][_0x2dda60]?{'kind':'recorded'}:{'kind':'not-recorded'};}export function resolveInstalledSkill(_0x359765,_0x718c4){const _0xe391fe=a251_0x2a7b70,_0x847419=_0x718c4?.[_0xe391fe(0xe3)]??homedir(),_0x110619=_0x718c4?.[_0xe391fe(0xe6)]??GLOBAL_SKILLS_DIR_RELATIVE_PATHS[_0xe391fe(0xe9)](_0x17e131=>join(_0x847419,_0x17e131)),_0x42dd0c=_0x718c4?.[_0xe391fe(0xe2)]??join(_0x847419,SKILL_LOCK_RELATIVE_PATH),_0x3fcae6=_0x110619['map'](_0x12fb2e=>join(_0x12fb2e,_0x359765,_0xe391fe(0xeb))),_0x10c0d5=_0x3fcae6['find'](_0x4c66d8=>existsSync(_0x4c66d8));if(_0x10c0d5)return{'state':_0xe391fe(0xd7),'path':_0x10c0d5};const _0x549d76=readLockLookup(_0x42dd0c,_0x359765);if(_0x549d76[_0xe391fe(0xd5)]===_0xe391fe(0xee))return{'state':_0xe391fe(0xe5),'reason':_0x549d76[_0xe391fe(0xe0)]};if(_0x549d76['kind']===_0xe391fe(0xf0))return{'state':'unverifiable','reason':_0x42dd0c+_0xe391fe(0xdf)+_0x359765+'\x22\x20but\x20no\x20SKILL.md\x20was\x20found\x20in\x20known\x20layouts\x20'+('('+_0x3fcae6[_0xe391fe(0xef)](',\x20')+')')};return{'state':_0xe391fe(0xe7),'checked':_0x3fcae6};}