@lovrabet/rabetbase-cli 2.3.12-beta.1 → 2.3.12

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 (260) 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/add.js +1 -1
  20. package/lib/commands/app/index.js +1 -1
  21. package/lib/commands/app/list.js +1 -1
  22. package/lib/commands/app/remote-directory.js +1 -1
  23. package/lib/commands/app/remove.js +1 -1
  24. package/lib/commands/app/shared.js +1 -1
  25. package/lib/commands/app-config/delete.js +1 -1
  26. package/lib/commands/app-config/get.js +1 -1
  27. package/lib/commands/app-config/index.js +1 -1
  28. package/lib/commands/app-config/list.js +1 -1
  29. package/lib/commands/app-config/set.js +1 -1
  30. package/lib/commands/app-config/shared.js +1 -1
  31. package/lib/commands/auth/index.js +1 -1
  32. package/lib/commands/bff/create.js +1 -1
  33. package/lib/commands/bff/delete.js +1 -1
  34. package/lib/commands/bff/detail.js +1 -1
  35. package/lib/commands/bff/index.js +1 -1
  36. package/lib/commands/bff/list.js +1 -1
  37. package/lib/commands/bff/pull.js +1 -1
  38. package/lib/commands/bff/push.js +1 -1
  39. package/lib/commands/bff/status.js +1 -1
  40. package/lib/commands/cli-skill/index.js +1 -1
  41. package/lib/commands/cli-update.js +1 -1
  42. package/lib/commands/codegen/index.js +1 -1
  43. package/lib/commands/codegen/sdk.js +1 -1
  44. package/lib/commands/codegen/sql.js +1 -1
  45. package/lib/commands/common/app-registry.js +1 -1
  46. package/lib/commands/common/app-selector.js +1 -1
  47. package/lib/commands/common/async-task.js +1 -1
  48. package/lib/commands/common/dry-run.js +1 -1
  49. package/lib/commands/common/flags.js +1 -1
  50. package/lib/commands/common/local-file.js +1 -1
  51. package/lib/commands/common/validate.js +1 -1
  52. package/lib/commands/config/get.js +1 -1
  53. package/lib/commands/config/index.js +1 -1
  54. package/lib/commands/config/list.js +1 -1
  55. package/lib/commands/config/set.js +1 -1
  56. package/lib/commands/config/shared.js +1 -1
  57. package/lib/commands/data/filter.js +1 -1
  58. package/lib/commands/data/getOne.js +1 -1
  59. package/lib/commands/data/index.js +1 -1
  60. package/lib/commands/data/shared.js +1 -1
  61. package/lib/commands/dataset/business-group-update.js +1 -1
  62. package/lib/commands/dataset/capability.js +1 -1
  63. package/lib/commands/dataset/delete.js +1 -1
  64. package/lib/commands/dataset/detail.js +1 -1
  65. package/lib/commands/dataset/extend-update.js +1 -1
  66. package/lib/commands/dataset/field-update.js +1 -1
  67. package/lib/commands/dataset/generate.js +1 -1
  68. package/lib/commands/dataset/index.js +1 -1
  69. package/lib/commands/dataset/list.js +1 -1
  70. package/lib/commands/dataset/operations.js +1 -1
  71. package/lib/commands/dataset/relation-audit.js +1 -1
  72. package/lib/commands/dataset/relation-create.js +1 -1
  73. package/lib/commands/dataset/relation-delete.js +1 -1
  74. package/lib/commands/dataset/relation-shared.js +1 -1
  75. package/lib/commands/dataset/relation-update.js +1 -1
  76. package/lib/commands/dataset/relations.js +1 -1
  77. package/lib/commands/dataset/rename.js +1 -1
  78. package/lib/commands/dataset/restore.js +1 -1
  79. package/lib/commands/db/analysis-batching.js +1 -1
  80. package/lib/commands/db/analyze-batch-plan.js +1 -1
  81. package/lib/commands/db/analyze-cancel.js +1 -1
  82. package/lib/commands/db/analyze-start.js +1 -1
  83. package/lib/commands/db/analyze-status.js +1 -1
  84. package/lib/commands/db/create.js +1 -1
  85. package/lib/commands/db/delete.js +1 -1
  86. package/lib/commands/db/detail.js +1 -1
  87. package/lib/commands/db/diff.js +1 -1
  88. package/lib/commands/db/index.js +1 -1
  89. package/lib/commands/db/list.js +1 -1
  90. package/lib/commands/db/shared.js +1 -1
  91. package/lib/commands/db/tables.js +1 -1
  92. package/lib/commands/db/test.js +1 -1
  93. package/lib/commands/db/update.js +1 -1
  94. package/lib/commands/doctor.js +1 -1
  95. package/lib/commands/file/index.js +1 -1
  96. package/lib/commands/init/index.js +1 -1
  97. package/lib/commands/issue/index.js +1 -1
  98. package/lib/commands/issue/nudge.js +1 -1
  99. package/lib/commands/issue/report.js +1 -1
  100. package/lib/commands/issue/shared.js +1 -1
  101. package/lib/commands/logs/index.js +1 -1
  102. package/lib/commands/menu/delete.js +1 -1
  103. package/lib/commands/menu/external-link-create.js +1 -1
  104. package/lib/commands/menu/group-create.js +1 -1
  105. package/lib/commands/menu/group-update.js +1 -1
  106. package/lib/commands/menu/index.js +1 -1
  107. package/lib/commands/menu/list.js +1 -1
  108. package/lib/commands/menu/move.js +1 -1
  109. package/lib/commands/menu/regroup-start.js +1 -1
  110. package/lib/commands/menu/shared/compare-table.js +1 -1
  111. package/lib/commands/menu/shared/delete-plan.js +1 -1
  112. package/lib/commands/menu/shared/facts.js +1 -1
  113. package/lib/commands/menu/shared/index.js +1 -1
  114. package/lib/commands/menu/shared/inquirer.js +1 -1
  115. package/lib/commands/menu/shared/local-pages.js +1 -1
  116. package/lib/commands/menu/shared/logic.js +1 -1
  117. package/lib/commands/menu/shared/mutations.js +1 -1
  118. package/lib/commands/menu/shared/service.js +1 -1
  119. package/lib/commands/menu/shared/sync-core.js +1 -1
  120. package/lib/commands/menu/shared/update-core.js +1 -1
  121. package/lib/commands/menu/shared/valid-url.js +1 -1
  122. package/lib/commands/menu/sync.js +1 -1
  123. package/lib/commands/menu/update.js +1 -1
  124. package/lib/commands/notification/config-list.js +1 -1
  125. package/lib/commands/notification/index.js +1 -1
  126. package/lib/commands/page/generate-start.js +1 -1
  127. package/lib/commands/page/generate-status.js +1 -1
  128. package/lib/commands/page/index.js +1 -1
  129. package/lib/commands/page/pull.js +1 -1
  130. package/lib/commands/page/push.js +1 -1
  131. package/lib/commands/page/relation-audit.js +1 -1
  132. package/lib/commands/page/shared.js +1 -1
  133. package/lib/commands/page/standard-page-status.js +1 -1
  134. package/lib/commands/page/sync.js +1 -1
  135. package/lib/commands/permit/index.js +1 -1
  136. package/lib/commands/permit/page-get.js +1 -1
  137. package/lib/commands/permit/page-set.js +1 -1
  138. package/lib/commands/permit/role-apis-set.js +1 -1
  139. package/lib/commands/permit/role-menus-set.js +1 -1
  140. package/lib/commands/permit/role-menus.js +1 -1
  141. package/lib/commands/permit/shared.js +1 -1
  142. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  143. package/lib/commands/project/create/format-elapsed.js +1 -1
  144. package/lib/commands/project/create/main.js +1 -1
  145. package/lib/commands/project/create/non-interactive.js +1 -1
  146. package/lib/commands/project/create/project-template-path.js +1 -1
  147. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  148. package/lib/commands/project/create/use-format-code.js +1 -1
  149. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  150. package/lib/commands/project/index.js +1 -1
  151. package/lib/commands/project/init.js +1 -1
  152. package/lib/commands/project/upgrade.js +1 -1
  153. package/lib/commands/registry.js +1 -1
  154. package/lib/commands/role/create.js +1 -1
  155. package/lib/commands/role/delete.js +1 -1
  156. package/lib/commands/role/detail.js +1 -1
  157. package/lib/commands/role/index.js +1 -1
  158. package/lib/commands/role/list.js +1 -1
  159. package/lib/commands/role/shared.js +1 -1
  160. package/lib/commands/role/update.js +1 -1
  161. package/lib/commands/role/user-add.js +1 -1
  162. package/lib/commands/role/user-remove.js +1 -1
  163. package/lib/commands/role/user-resolve.js +1 -1
  164. package/lib/commands/run/index.js +1 -1
  165. package/lib/commands/schema.js +1 -1
  166. package/lib/commands/sql/create.js +1 -1
  167. package/lib/commands/sql/delete.js +1 -1
  168. package/lib/commands/sql/detail.js +1 -1
  169. package/lib/commands/sql/exec.js +1 -1
  170. package/lib/commands/sql/index.js +1 -1
  171. package/lib/commands/sql/list.js +1 -1
  172. package/lib/commands/sql/pull.js +1 -1
  173. package/lib/commands/sql/push.js +1 -1
  174. package/lib/commands/sql/save.js +1 -1
  175. package/lib/commands/sql/shared.js +1 -1
  176. package/lib/commands/sql/status.js +1 -1
  177. package/lib/commands/sql/validate.js +1 -1
  178. package/lib/commands/task/index.js +1 -1
  179. package/lib/commands/task/status.js +1 -1
  180. package/lib/commands/workspace/add.js +1 -1
  181. package/lib/commands/workspace/index.js +1 -1
  182. package/lib/commands/workspace/remove.js +1 -1
  183. package/lib/config/schema.js +1 -1
  184. package/lib/constant/cdn.js +1 -1
  185. package/lib/constant/cli.js +1 -1
  186. package/lib/constant/defaults.js +1 -1
  187. package/lib/constant/domain.js +1 -1
  188. package/lib/constant/env.js +1 -1
  189. package/lib/constant/output.js +1 -1
  190. package/lib/constant/paths.js +1 -1
  191. package/lib/constant/risk.js +1 -1
  192. package/lib/context/app-resolver.js +1 -1
  193. package/lib/context/auth-resolver.js +1 -1
  194. package/lib/context/config-loader.js +1 -1
  195. package/lib/context.js +1 -1
  196. package/lib/core/alias-resolver.js +1 -1
  197. package/lib/core/api-client.js +1 -1
  198. package/lib/core/bff/config.js +1 -1
  199. package/lib/core/bff/file-system.js +1 -1
  200. package/lib/core/bff/hash.js +1 -1
  201. package/lib/core/bff/lock.js +1 -1
  202. package/lib/core/bff/utils.js +1 -1
  203. package/lib/core/db-resolver.js +1 -1
  204. package/lib/core/page/file-system.js +1 -1
  205. package/lib/core/page/hash.js +1 -1
  206. package/lib/core/page/lock.js +1 -1
  207. package/lib/core/sql-index-auditor.js +1 -1
  208. package/lib/core/sql-sync/config.js +1 -1
  209. package/lib/core/sql-sync/file-system.js +1 -1
  210. package/lib/core/sql-sync/hash.js +1 -1
  211. package/lib/core/sql-sync/lock.js +1 -1
  212. package/lib/core/sql-sync/utils.js +1 -1
  213. package/lib/core/sql-validator.js +1 -1
  214. package/lib/errors.js +1 -1
  215. package/lib/framework/build-all-flags.js +1 -1
  216. package/lib/framework/error-output.js +1 -1
  217. package/lib/framework/explicit-yes.js +1 -1
  218. package/lib/framework/flags.js +1 -1
  219. package/lib/framework/help.js +1 -1
  220. package/lib/framework/index.js +1 -1
  221. package/lib/framework/output.js +1 -1
  222. package/lib/framework/response.js +1 -1
  223. package/lib/framework/runner-alias.js +1 -1
  224. package/lib/framework/runner.js +1 -1
  225. package/lib/framework/schema-export.js +1 -1
  226. package/lib/framework/types.js +1 -1
  227. package/lib/generated/build-info.js +1 -1
  228. package/lib/help.js +1 -1
  229. package/lib/skills/main.js +1 -1
  230. package/lib/skills/npx-skills-add.js +1 -1
  231. package/lib/telemetry/cli-command-trace.js +1 -1
  232. package/lib/telemetry/cli-help-trace.js +1 -1
  233. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  234. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  235. package/lib/telemetry/send-cli-trace-log.js +1 -1
  236. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  237. package/lib/utils/ai_config.js +1 -1
  238. package/lib/utils/apply-jq-filter.js +1 -1
  239. package/lib/utils/cdn-config.js +1 -1
  240. package/lib/utils/check-sdk-version.js +1 -1
  241. package/lib/utils/cli-version-check.js +1 -1
  242. package/lib/utils/cli-version-policy.js +1 -1
  243. package/lib/utils/config.js +1 -1
  244. package/lib/utils/copy-directory.js +1 -1
  245. package/lib/utils/entity-with-id.js +1 -1
  246. package/lib/utils/file-utils.js +1 -1
  247. package/lib/utils/guides-cdn.js +1 -1
  248. package/lib/utils/http-client.js +1 -1
  249. package/lib/utils/is-non-interactive.js +1 -1
  250. package/lib/utils/logger.js +1 -1
  251. package/lib/utils/params.js +1 -1
  252. package/lib/utils/platform.js +1 -1
  253. package/lib/utils/rules-cdn.js +1 -1
  254. package/lib/utils/sleep.js +1 -1
  255. package/lib/utils/template-replacer.js +1 -1
  256. package/lib/utils/update-notice.js +1 -1
  257. package/lib/utils/version.js +1 -1
  258. package/lib/utils/with-active-cookie.js +1 -1
  259. package/lib/utils/write-cli-side-channel.js +1 -1
  260. package/package.json +1 -1
@@ -1 +1 @@
1
- const a222_0xa852e2=a222_0x74f2;(function(_0x3f0359,_0x2201a2){const _0x2ae105=a222_0x74f2,_0x45eac2=_0x3f0359();while(!![]){try{const _0x13a6b5=parseInt(_0x2ae105(0x15d))/0x1+-parseInt(_0x2ae105(0x15c))/0x2+parseInt(_0x2ae105(0x160))/0x3+parseInt(_0x2ae105(0x164))/0x4*(parseInt(_0x2ae105(0x15a))/0x5)+-parseInt(_0x2ae105(0x154))/0x6*(-parseInt(_0x2ae105(0x166))/0x7)+parseInt(_0x2ae105(0x15e))/0x8*(parseInt(_0x2ae105(0x161))/0x9)+-parseInt(_0x2ae105(0x163))/0xa;if(_0x13a6b5===_0x2201a2)break;else _0x45eac2['push'](_0x45eac2['shift']());}catch(_0x1cbdc1){_0x45eac2['push'](_0x45eac2['shift']());}}}(a222_0xdb4c,0x403a1));import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';function a222_0xdb4c(){const _0x4674e9=['replace','Requires\x20--yes\x20to\x20confirm,\x20or\x20interactive\x20prompt.','175kLJNcA','generateCommandHelp','59888BxsaNd','229300qHJqLe','53656VaaQtS','Requires\x20explicit\x20--yes\x20for\x20execution;\x20use\x20--dry-run\x20to\x20preview.','939450FRlgzy','504jqZfgh','generateServiceHelp','12783070SPGnBz','38912KbaIpP','\x20[args]\x20[flags]','14ohrvih','938406KwDuWA','generateFullHelp','get','\x20workspace\x20init`\x20or\x20--appcode).'];a222_0xdb4c=function(){return _0x4674e9;};return a222_0xdb4c();}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':_0x258a7e=>serviceGroups[a222_0xa852e2(0x156)](_0x258a7e),'buildAllFlags':buildAllFlags,'appPrerequisiteText':'Requires\x20appcode\x20(set\x20via\x20`'+CLI_BIN_NAME+a222_0xa852e2(0x157),'serviceUsageSuffix':a222_0xa852e2(0x165)});export function generateCommandHelp(_0x10460c){const _0x17944a=a222_0xa852e2,_0x1f1dfa=generators[_0x17944a(0x15b)](_0x10460c);if(!requiresExplicitYes(_0x10460c))return _0x1f1dfa;return _0x1f1dfa[_0x17944a(0x158)](_0x17944a(0x159),_0x17944a(0x15f));}export const generateServiceHelp=generators[a222_0xa852e2(0x162)];function a222_0x74f2(_0x2ae7e3,_0xe88088){_0x2ae7e3=_0x2ae7e3-0x154;const _0xdb4cc2=a222_0xdb4c();let _0x74f258=_0xdb4cc2[_0x2ae7e3];return _0x74f258;}export const generateFullHelp=generators[a222_0xa852e2(0x155)];
1
+ function a222_0x24a9(_0x3f661b,_0x4abec9){_0x3f661b=_0x3f661b-0x194;const _0x318e62=a222_0x318e();let _0x24a9e4=_0x318e62[_0x3f661b];return _0x24a9e4;}const a222_0x115ac1=a222_0x24a9;function a222_0x318e(){const _0x3aaeab=['3PPoEZA','2676302rQQLtT','\x20[args]\x20[flags]','5dyjcqL','get','264eGvWNh','2327672JzWuQZ','Requires\x20appcode\x20(set\x20via\x20`','8446401nsJGmL','7kbTrUn','6428418HGBeSU','generateCommandHelp','892760LQSBMg','2678360emTFDl','replace','generateFullHelp','Requires\x20explicit\x20--yes\x20for\x20execution;\x20use\x20--dry-run\x20to\x20preview.','generateServiceHelp','725423wzUxWL'];a222_0x318e=function(){return _0x3aaeab;};return a222_0x318e();}(function(_0x213674,_0x424f05){const _0x29d5bc=a222_0x24a9,_0x70796e=_0x213674();while(!![]){try{const _0x1b208b=-parseInt(_0x29d5bc(0x19c))/0x1+parseInt(_0x29d5bc(0x19e))/0x2*(parseInt(_0x29d5bc(0x19d))/0x3)+parseInt(_0x29d5bc(0x1a3))/0x4+parseInt(_0x29d5bc(0x1a0))/0x5*(parseInt(_0x29d5bc(0x194))/0x6)+-parseInt(_0x29d5bc(0x1a6))/0x7*(parseInt(_0x29d5bc(0x197))/0x8)+parseInt(_0x29d5bc(0x1a5))/0x9+parseInt(_0x29d5bc(0x196))/0xa*(-parseInt(_0x29d5bc(0x1a2))/0xb);if(_0x1b208b===_0x424f05)break;else _0x70796e['push'](_0x70796e['shift']());}catch(_0x446005){_0x70796e['push'](_0x70796e['shift']());}}}(a222_0x318e,0xb184f));import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{requiresExplicitYes}from'../framework/explicit-yes.js';const generators=createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x510af5=>serviceGroups[a222_0x115ac1(0x1a1)](_0x510af5),'buildAllFlags':buildAllFlags,'appPrerequisiteText':a222_0x115ac1(0x1a4)+CLI_BIN_NAME+'\x20workspace\x20init`\x20or\x20--appcode).','serviceUsageSuffix':a222_0x115ac1(0x19f)});export function generateCommandHelp(_0x150f00){const _0x15c346=a222_0x115ac1,_0x350f1a=generators[_0x15c346(0x195)](_0x150f00);if(!requiresExplicitYes(_0x150f00))return _0x350f1a;return _0x350f1a[_0x15c346(0x198)]('Requires\x20--yes\x20to\x20confirm,\x20or\x20interactive\x20prompt.',_0x15c346(0x19a));}export const generateServiceHelp=generators[a222_0x115ac1(0x19b)];export const generateFullHelp=generators[a222_0x115ac1(0x199)];
@@ -1 +1 @@
1
- (function(_0x4d8c1a,_0x3dc6e2){var _0x5ee049=a223_0x1653,_0x327e2f=_0x4d8c1a();while(!![]){try{var _0x37a20c=-parseInt(_0x5ee049(0x13a))/0x1+-parseInt(_0x5ee049(0x13e))/0x2*(parseInt(_0x5ee049(0x13f))/0x3)+parseInt(_0x5ee049(0x139))/0x4*(-parseInt(_0x5ee049(0x13d))/0x5)+parseInt(_0x5ee049(0x137))/0x6+parseInt(_0x5ee049(0x138))/0x7+-parseInt(_0x5ee049(0x13c))/0x8+parseInt(_0x5ee049(0x13b))/0x9;if(_0x37a20c===_0x3dc6e2)break;else _0x327e2f['push'](_0x327e2f['shift']());}catch(_0x286084){_0x327e2f['push'](_0x327e2f['shift']());}}}(a223_0x319d,0x5253f));export{runCommand}from'../framework/runner.js';function a223_0x1653(_0x59f458,_0x45c29a){_0x59f458=_0x59f458-0x137;var _0x319ddc=a223_0x319d();var _0x1653cf=_0x319ddc[_0x59f458];return _0x1653cf;}export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';function a223_0x319d(){var _0x14f916=['10053207atxFaO','2913168TZTMBj','91555RvdpIJ','188002zrZdCv','3MAIslI','24066hniBdr','2461711NCxMKM','60oTKLDP','402680OjpxOq'];a223_0x319d=function(){return _0x14f916;};return a223_0x319d();}export{riskLevelOrder}from'../framework/types.js';
1
+ (function(_0xe6717e,_0x26a98f){var _0x5984b9=a223_0x10b1,_0xda3ee1=_0xe6717e();while(!![]){try{var _0x37a3e3=parseInt(_0x5984b9(0x13e))/0x1+-parseInt(_0x5984b9(0x138))/0x2+-parseInt(_0x5984b9(0x13d))/0x3+parseInt(_0x5984b9(0x139))/0x4+-parseInt(_0x5984b9(0x137))/0x5+parseInt(_0x5984b9(0x13c))/0x6*(-parseInt(_0x5984b9(0x13b))/0x7)+parseInt(_0x5984b9(0x13a))/0x8;if(_0x37a3e3===_0x26a98f)break;else _0xda3ee1['push'](_0xda3ee1['shift']());}catch(_0x5450da){_0xda3ee1['push'](_0xda3ee1['shift']());}}}(a223_0x5d6e,0x37ce2));function a223_0x10b1(_0x46bf83,_0x4e5804){_0x46bf83=_0x46bf83-0x137;var _0x5d6e7b=a223_0x5d6e();var _0x10b1b1=_0x5d6e7b[_0x46bf83];return _0x10b1b1;}export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';function a223_0x5d6e(){var _0x2a9ade=['8315712gXIlnf','7ggHdoo','936594IsfElt','899397cTtyah','244185qviIbv','2049985CBCIkA','382768fOUDMM','8832ixKACb'];a223_0x5d6e=function(){return _0x2a9ade;};return a223_0x5d6e();}export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';export{riskLevelOrder}from'../framework/types.js';
@@ -1 +1 @@
1
- (function(_0x2f893f,_0x556576){const _0x208dc1=a224_0x5119,_0x41798e=_0x2f893f();while(!![]){try{const _0xb0ef59=parseInt(_0x208dc1(0x1ac))/0x1+parseInt(_0x208dc1(0x19c))/0x2*(-parseInt(_0x208dc1(0x1a8))/0x3)+parseInt(_0x208dc1(0x19f))/0x4*(parseInt(_0x208dc1(0x1a6))/0x5)+-parseInt(_0x208dc1(0x1a9))/0x6+parseInt(_0x208dc1(0x1a5))/0x7+parseInt(_0x208dc1(0x1b0))/0x8+parseInt(_0x208dc1(0x1a1))/0x9*(-parseInt(_0x208dc1(0x1b1))/0xa);if(_0xb0ef59===_0x556576)break;else _0x41798e['push'](_0x41798e['shift']());}catch(_0x5e07c5){_0x41798e['push'](_0x41798e['shift']());}}}(a224_0x15c1,0x86d8e));function a224_0x5119(_0x1b966b,_0x5001d8){_0x1b966b=_0x1b966b-0x19a;const _0x15c19c=a224_0x15c1();let _0x51199c=_0x15c19c[_0x1b966b];return _0x51199c;}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(_0x2909cf,_0x587b08){const _0x3651b2=a224_0x5119,_0x5e9cc0=_0x2909cf[_0x3651b2(0x1ab)],{_notice:_0x311d28,..._0x4fb494}=_0x2909cf;void _0x311d28,baseFormatOutput(_0x4fb494,_0x587b08),_0x587b08['format']==='pretty'&&printPrettyNotice(_0x5e9cc0);}export function formatCliError(_0x4277ea,_0x3b9843){const _0x54d802=a224_0x5119;if(_0x3b9843[_0x54d802(0x1af)]===_0x54d802(0x19d))return![];const _0x527a7c=_0x4277ea['data'],_0x308a09={'ok':![],'command':_0x3b9843[_0x54d802(0x1b2)],'risk':_0x3b9843[_0x54d802(0x19e)],'data':_0x527a7c??null,'error':{'code':_0x4277ea[_0x54d802(0x1ad)],'message':_0x4277ea[_0x54d802(0x1ae)],..._0x4277ea['hint']?{'hint':_0x4277ea['hint']}:{}}},_0x5900bd=_0x3b9843[_0x54d802(0x1af)]===_0x54d802(0x1aa)?JSON[_0x54d802(0x19a)](_0x308a09,null,0x2):JSON['stringify'](_0x308a09);let _0x3f8e00=_0x5900bd;if(_0x3b9843[_0x54d802(0x1a0)]?.[_0x54d802(0x1b4)]())try{_0x3f8e00=applyJqFilter(_0x5900bd,_0x3b9843['jqFilter']);}catch(_0x3bf61f){const _0x4e79fc=_0x3bf61f instanceof CliError?_0x3bf61f:CliErrors[_0x54d802(0x1b3)](_0x54d802(0x1a3)+(_0x3bf61f instanceof Error?_0x3bf61f['message']:String(_0x3bf61f))),_0xd034cc={..._0x308a09,'error':{'code':_0x4e79fc[_0x54d802(0x1ad)],'message':_0x4e79fc[_0x54d802(0x1ae)],..._0x4e79fc['hint']?{'hint':_0x4e79fc['hint']}:{},'cause':_0x308a09['error']}};_0x3f8e00=_0x3b9843[_0x54d802(0x1af)]===_0x54d802(0x1aa)?JSON[_0x54d802(0x19a)](_0xd034cc,null,0x2):JSON[_0x54d802(0x19a)](_0xd034cc);}return process[_0x54d802(0x1a4)][_0x54d802(0x1a2)](_0x3f8e00[_0x54d802(0x19b)]('\x0a')?_0x3f8e00:_0x3f8e00+'\x0a'),!![];}function printPrettyNotice(_0x24cb8a){const _0x41e872=a224_0x5119;if(!_0x24cb8a?.[_0x41e872(0x1a7)])return;console['error'](_0x24cb8a[_0x41e872(0x1a7)]['message']+'\x20('+_0x24cb8a[_0x41e872(0x1a7)]['url']+')');}function a224_0x15c1(){const _0x15b967=['_notice','333834UaIpbS','code','message','format','5375784zHIVdo','10dCTjOZ','command','validation','trim','stringify','endsWith','2SAgIKJ','pretty','risk','8zOOyrp','jqFilter','12037572gUswbN','write','jq:\x20','stdout','6962417hHtRlN','2571305vMusxL','update','247353lzRBpC','6340002PTMOlZ','json'];a224_0x15c1=function(){return _0x15b967;};return a224_0x15c1();}
1
+ (function(_0x3ae2f7,_0x3569d6){const _0xfe15ed=a224_0x533b,_0x8a8e8f=_0x3ae2f7();while(!![]){try{const _0x4a8f7e=-parseInt(_0xfe15ed(0x19b))/0x1+parseInt(_0xfe15ed(0x1a5))/0x2+-parseInt(_0xfe15ed(0x1ae))/0x3+-parseInt(_0xfe15ed(0x19e))/0x4*(parseInt(_0xfe15ed(0x1a9))/0x5)+-parseInt(_0xfe15ed(0x1a0))/0x6*(-parseInt(_0xfe15ed(0x1aa))/0x7)+-parseInt(_0xfe15ed(0x1a6))/0x8*(-parseInt(_0xfe15ed(0x19c))/0x9)+-parseInt(_0xfe15ed(0x193))/0xa;if(_0x4a8f7e===_0x3569d6)break;else _0x8a8e8f['push'](_0x8a8e8f['shift']());}catch(_0xc35306){_0x8a8e8f['push'](_0x8a8e8f['shift']());}}}(a224_0x5b8a,0xbe526));function a224_0x533b(_0x2a244f,_0x2b885d){_0x2a244f=_0x2a244f-0x193;const _0x5b8a16=a224_0x5b8a();let _0x533b8b=_0x5b8a16[_0x2a244f];return _0x533b8b;}import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliError,CliErrors}from'../errors.js';function a224_0x5b8a(){const _0x506cb7=['5NMxihe','1407525Ouyrrv','jqFilter','trim','message','1990461lceLUh','313630hUBWuW','code','json','_notice','validation','jq:\x20','stdout','write','738319iwBkcD','334683vZbLQe','update','1885216eOslhD','endsWith','36ydkIro','command','format','error','data','128950OoyfiY','304JdlDgT','stringify','hint'];a224_0x5b8a=function(){return _0x506cb7;};return a224_0x5b8a();}import{applyJqFilter}from'../utils/apply-jq-filter.js';const baseFormatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});export function formatOutput(_0x4827d2,_0x4c9a2f){const _0x3b5b47=a224_0x533b,_0x493c0d=_0x4827d2[_0x3b5b47(0x196)],{_notice:_0x2c8b8d,..._0x2d6611}=_0x4827d2;void _0x2c8b8d,baseFormatOutput(_0x2d6611,_0x4c9a2f),_0x4c9a2f[_0x3b5b47(0x1a2)]==='pretty'&&printPrettyNotice(_0x493c0d);}export function formatCliError(_0x65a8b5,_0x17b099){const _0x3195ae=a224_0x533b;if(_0x17b099[_0x3195ae(0x1a2)]==='pretty')return![];const _0x575665=_0x65a8b5[_0x3195ae(0x1a4)],_0x31e1c6={'ok':![],'command':_0x17b099[_0x3195ae(0x1a1)],'risk':_0x17b099['risk'],'data':_0x575665??null,'error':{'code':_0x65a8b5[_0x3195ae(0x194)],'message':_0x65a8b5[_0x3195ae(0x1ad)],..._0x65a8b5[_0x3195ae(0x1a8)]?{'hint':_0x65a8b5['hint']}:{}}},_0x419082=_0x17b099[_0x3195ae(0x1a2)]===_0x3195ae(0x195)?JSON[_0x3195ae(0x1a7)](_0x31e1c6,null,0x2):JSON[_0x3195ae(0x1a7)](_0x31e1c6);let _0x4c747b=_0x419082;if(_0x17b099[_0x3195ae(0x1ab)]?.[_0x3195ae(0x1ac)]())try{_0x4c747b=applyJqFilter(_0x419082,_0x17b099[_0x3195ae(0x1ab)]);}catch(_0xb2d083){const _0x429523=_0xb2d083 instanceof CliError?_0xb2d083:CliErrors[_0x3195ae(0x197)](_0x3195ae(0x198)+(_0xb2d083 instanceof Error?_0xb2d083[_0x3195ae(0x1ad)]:String(_0xb2d083))),_0x1710e8={..._0x31e1c6,'error':{'code':_0x429523['code'],'message':_0x429523[_0x3195ae(0x1ad)],..._0x429523[_0x3195ae(0x1a8)]?{'hint':_0x429523[_0x3195ae(0x1a8)]}:{},'cause':_0x31e1c6[_0x3195ae(0x1a3)]}};_0x4c747b=_0x17b099[_0x3195ae(0x1a2)]===_0x3195ae(0x195)?JSON[_0x3195ae(0x1a7)](_0x1710e8,null,0x2):JSON[_0x3195ae(0x1a7)](_0x1710e8);}return process[_0x3195ae(0x199)][_0x3195ae(0x19a)](_0x4c747b[_0x3195ae(0x19f)]('\x0a')?_0x4c747b:_0x4c747b+'\x0a'),!![];}function printPrettyNotice(_0x57b03e){const _0x12a8a5=a224_0x533b;if(!_0x57b03e?.[_0x12a8a5(0x19d)])return;console[_0x12a8a5(0x1a3)](_0x57b03e[_0x12a8a5(0x19d)][_0x12a8a5(0x1ad)]+'\x20('+_0x57b03e[_0x12a8a5(0x19d)]['url']+')');}
@@ -1 +1 @@
1
- function a225_0x142f(_0x4bb888,_0x98d4bb){_0x4bb888=_0x4bb888-0x1e3;var _0x269683=a225_0x2696();var _0x142f48=_0x269683[_0x4bb888];return _0x142f48;}(function(_0x44a0a2,_0x1270ab){var _0xc3575f=a225_0x142f,_0x1a8dd4=_0x44a0a2();while(!![]){try{var _0x28799f=-parseInt(_0xc3575f(0x1eb))/0x1*(-parseInt(_0xc3575f(0x1e8))/0x2)+parseInt(_0xc3575f(0x1ea))/0x3+parseInt(_0xc3575f(0x1e6))/0x4*(parseInt(_0xc3575f(0x1ee))/0x5)+parseInt(_0xc3575f(0x1e7))/0x6*(-parseInt(_0xc3575f(0x1ed))/0x7)+parseInt(_0xc3575f(0x1e5))/0x8*(-parseInt(_0xc3575f(0x1e9))/0x9)+-parseInt(_0xc3575f(0x1e3))/0xa*(parseInt(_0xc3575f(0x1e4))/0xb)+-parseInt(_0xc3575f(0x1ec))/0xc;if(_0x28799f===_0x1270ab)break;else _0x1a8dd4['push'](_0x1a8dd4['shift']());}catch(_0x44dc87){_0x1a8dd4['push'](_0x1a8dd4['shift']());}}}(a225_0x2696,0xa330e));function a225_0x2696(){var _0x49111d=['150JJAidf','11413008VVMWRM','7CWbDik','1176690EunJCn','4602380CnONLy','11wyWgNy','8FwCGFy','12adFPjk','4543116XACTZr','16442moqyuh','1838961IcVKUf','3306309Pbaigb'];a225_0x2696=function(){return _0x49111d;};return a225_0x2696();}export{extractList,extractPaging}from'@lovrabet/cli-framework';
1
+ function a225_0x562e(_0x2e20d2,_0x41c13f){_0x2e20d2=_0x2e20d2-0x1d5;var _0xdb7924=a225_0xdb79();var _0x562ee8=_0xdb7924[_0x2e20d2];return _0x562ee8;}(function(_0x3a7a7b,_0x46e500){var _0x4e52eb=a225_0x562e,_0x200410=_0x3a7a7b();while(!![]){try{var _0x3fd559=-parseInt(_0x4e52eb(0x1d8))/0x1+-parseInt(_0x4e52eb(0x1d9))/0x2+-parseInt(_0x4e52eb(0x1d5))/0x3*(parseInt(_0x4e52eb(0x1d6))/0x4)+parseInt(_0x4e52eb(0x1da))/0x5*(parseInt(_0x4e52eb(0x1de))/0x6)+-parseInt(_0x4e52eb(0x1db))/0x7*(parseInt(_0x4e52eb(0x1dd))/0x8)+-parseInt(_0x4e52eb(0x1d7))/0x9+parseInt(_0x4e52eb(0x1dc))/0xa;if(_0x3fd559===_0x46e500)break;else _0x200410['push'](_0x200410['shift']());}catch(_0x1566c3){_0x200410['push'](_0x200410['shift']());}}}(a225_0xdb79,0xc875b));export{extractList,extractPaging}from'@lovrabet/cli-framework';function a225_0xdb79(){var _0x5405a9=['39111Krzhyg','20TtOpwI','367776AhjUty','369559EENDci','1715916fflPla','19080iTgNwO','5047mdkBvl','18586900Gbqyls','1416UjrmOZ','666KAdAcn'];a225_0xdb79=function(){return _0x5405a9;};return a225_0xdb79();}
@@ -1 +1 @@
1
- function a226_0x5c81(_0x44b26a,_0x565ae4){_0x44b26a=_0x44b26a-0x12e;const _0x487c52=a226_0x487c();let _0x5c81a4=_0x487c52[_0x44b26a];return _0x5c81a4;}(function(_0x1b3ee9,_0x11a2e8){const _0xb19428=a226_0x5c81,_0x5d3d86=_0x1b3ee9();while(!![]){try{const _0x13cd8c=parseInt(_0xb19428(0x136))/0x1+-parseInt(_0xb19428(0x13c))/0x2+-parseInt(_0xb19428(0x13a))/0x3*(-parseInt(_0xb19428(0x141))/0x4)+parseInt(_0xb19428(0x146))/0x5+parseInt(_0xb19428(0x142))/0x6*(parseInt(_0xb19428(0x138))/0x7)+parseInt(_0xb19428(0x143))/0x8+parseInt(_0xb19428(0x137))/0x9*(-parseInt(_0xb19428(0x13f))/0xa);if(_0x13cd8c===_0x11a2e8)break;else _0x5d3d86['push'](_0x5d3d86['shift']());}catch(_0x23ea65){_0x5d3d86['push'](_0x5d3d86['shift']());}}}(a226_0x487c,0xdec62));import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';function a226_0x487c(){const _0x50f2a9=['1201861AdorqN','277335EZGPXl','7112DfCYFi','.\x20Run\x20`','216831QFtXPP','No\x20api.ts\x20found\x20in\x20','1474514HlbraT','validation','join','1030dgRUWf','\x22.\x20','12WGFKxA','852mAtfUh','12232624EmbwpB','name','Available\x20aliases:\x20','8658210OsHxlk','flags','`\x20requires\x20either\x20--code\x20or\x20--alias.','Unknown\x20alias\x20\x22','type','map','code','some','alias','string'];a226_0x487c=function(){return _0x50f2a9;};return a226_0x487c();}export function resolveAliasToCode(_0x323553,_0x21c634,_0x379483,_0x50de91){const _0x65fc90=a226_0x5c81,_0x1829cb=_0x323553['flags'][_0x65fc90(0x133)](_0x43c0e6=>_0x43c0e6[_0x65fc90(0x144)]==='code'&&_0x43c0e6['type']===_0x65fc90(0x135)),_0x80f8f5=_0x323553[_0x65fc90(0x147)]['some'](_0x496d54=>_0x496d54[_0x65fc90(0x144)]===_0x65fc90(0x134)&&_0x496d54[_0x65fc90(0x130)]===_0x65fc90(0x135));if(!_0x1829cb||!_0x80f8f5)return;const _0x3c25e4=_0x21c634[_0x65fc90(0x132)]?String(_0x21c634[_0x65fc90(0x132)]):'',_0x5a48fe=_0x21c634[_0x65fc90(0x134)]?String(_0x21c634['alias']):'';if(!_0x3c25e4&&!_0x5a48fe)throw CliErrors[_0x65fc90(0x13d)]('`'+_0x50de91+_0x65fc90(0x12e));if(_0x5a48fe&&!_0x3c25e4){const _0x21d6f7=resolveAlias(_0x379483,_0x5a48fe);if(!_0x21d6f7){const _0x3507e1=listAliases(_0x379483)[_0x65fc90(0x131)](_0x3d6e78=>_0x3d6e78['alias']),_0x398491=_0x3507e1['length']?_0x65fc90(0x145)+_0x3507e1[_0x65fc90(0x13e)](',\x20'):_0x65fc90(0x13b)+_0x379483+_0x65fc90(0x139)+CLI_BIN_NAME+'\x20api\x20pull`\x20first.';throw CliErrors[_0x65fc90(0x13d)](_0x65fc90(0x12f)+_0x5a48fe+_0x65fc90(0x140)+_0x398491);}_0x21c634[_0x65fc90(0x132)]=_0x21d6f7;}}
1
+ function a226_0x3c96(_0x367ced,_0x23b20d){_0x367ced=_0x367ced-0x8f;const _0x40b4af=a226_0x40b4();let _0x3c96ee=_0x40b4af[_0x367ced];return _0x3c96ee;}(function(_0x525b85,_0x521ae3){const _0x1825c7=a226_0x3c96,_0x221b0d=_0x525b85();while(!![]){try{const _0x3b08cf=-parseInt(_0x1825c7(0xa5))/0x1*(parseInt(_0x1825c7(0x9b))/0x2)+parseInt(_0x1825c7(0xa2))/0x3+parseInt(_0x1825c7(0x92))/0x4*(parseInt(_0x1825c7(0x93))/0x5)+-parseInt(_0x1825c7(0x9e))/0x6+-parseInt(_0x1825c7(0xa4))/0x7+-parseInt(_0x1825c7(0x91))/0x8+parseInt(_0x1825c7(0x90))/0x9;if(_0x3b08cf===_0x521ae3)break;else _0x221b0d['push'](_0x221b0d['shift']());}catch(_0xeae3b6){_0x221b0d['push'](_0x221b0d['shift']());}}}(a226_0x40b4,0xadac0));import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';export function resolveAliasToCode(_0x2f3ce5,_0x1410f2,_0x4e015d,_0x244931){const _0x3217a3=a226_0x3c96,_0x22cbee=_0x2f3ce5[_0x3217a3(0x95)][_0x3217a3(0x94)](_0x373e1b=>_0x373e1b['name']===_0x3217a3(0x9f)&&_0x373e1b[_0x3217a3(0x97)]==='string'),_0x2a6296=_0x2f3ce5[_0x3217a3(0x95)]['some'](_0x1bcd9c=>_0x1bcd9c[_0x3217a3(0x99)]===_0x3217a3(0xa1)&&_0x1bcd9c['type']==='string');if(!_0x22cbee||!_0x2a6296)return;const _0x1f8b77=_0x1410f2[_0x3217a3(0x9f)]?String(_0x1410f2[_0x3217a3(0x9f)]):'',_0x484a15=_0x1410f2[_0x3217a3(0xa1)]?String(_0x1410f2[_0x3217a3(0xa1)]):'';if(!_0x1f8b77&&!_0x484a15)throw CliErrors['validation']('`'+_0x244931+_0x3217a3(0x9c));if(_0x484a15&&!_0x1f8b77){const _0x5a7afe=resolveAlias(_0x4e015d,_0x484a15);if(!_0x5a7afe){const _0x381ea9=listAliases(_0x4e015d)[_0x3217a3(0x9d)](_0xfc60c7=>_0xfc60c7[_0x3217a3(0xa1)]),_0x6384c7=_0x381ea9['length']?_0x3217a3(0x98)+_0x381ea9[_0x3217a3(0xa3)](',\x20'):_0x3217a3(0xa0)+_0x4e015d+_0x3217a3(0x8f)+CLI_BIN_NAME+'\x20api\x20pull`\x20first.';throw CliErrors[_0x3217a3(0x9a)](_0x3217a3(0x96)+_0x484a15+'\x22.\x20'+_0x6384c7);}_0x1410f2['code']=_0x5a7afe;}}function a226_0x40b4(){const _0xb127d9=['name','validation','172hvvYDx','`\x20requires\x20either\x20--code\x20or\x20--alias.','map','551640VIjgyK','code','No\x20api.ts\x20found\x20in\x20','alias','4197591ORasfu','join','3848383MfRIPl','3550JsXpKc','.\x20Run\x20`','951633NicpPC','2802568soHaQH','4708fDLttJ','2140VYVLGS','some','flags','Unknown\x20alias\x20\x22','type','Available\x20aliases:\x20'];a226_0x40b4=function(){return _0xb127d9;};return a226_0x40b4();}
@@ -1 +1 @@
1
- const a227_0x43f6cb=a227_0x20df;(function(_0x5abf29,_0x3fb45d){const _0x539922=a227_0x20df,_0x236d23=_0x5abf29();while(!![]){try{const _0x1645bb=-parseInt(_0x539922(0xb0))/0x1+-parseInt(_0x539922(0xbf))/0x2*(parseInt(_0x539922(0xc1))/0x3)+parseInt(_0x539922(0xae))/0x4+-parseInt(_0x539922(0xa3))/0x5*(parseInt(_0x539922(0xd2))/0x6)+parseInt(_0x539922(0xbe))/0x7+-parseInt(_0x539922(0xa6))/0x8*(parseInt(_0x539922(0xb4))/0x9)+parseInt(_0x539922(0xac))/0xa;if(_0x1645bb===_0x3fb45d)break;else _0x236d23['push'](_0x236d23['shift']());}catch(_0x228950){_0x236d23['push'](_0x236d23['shift']());}}}(a227_0x5f47,0xb6445));import{resolveCommandAuthMode,runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';function a227_0x5f47(){const _0x24be37=['has','doctor','15328090rsgZKb','High-risk\x20operation\x20`','2817176gOhDPr','object','1020489oHDtah','schema','validation','apps','13347MpPqxV','value','authRequired','defaultApp','replace','pageSize','rejectedFlags','\x20\x20\x20Continue?\x20[y/N]\x20','cookie','apiDir','7834666jeKChP','2PGBHDU','service','2301087nSVnPq','resolveAppCode','Set\x20appcode\x20via\x20`','toUpperCase','pretty','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','name','selectedAppName','No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.','some','map','Current\x20resolved\x20appcode\x20is\x20\x22','configMissing','⚠\x20\x20High-risk\x20operation:\x20','none','explicitAppName','trim','244302KNYNso','format','update','_notice','meowKey','defaultVerbose','LOVRABET_APPCODE','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','../core/api-client.js','resolveApiDomain','rawFlags','message','5dCrUPh','cancelled','\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20','4216BrPvZb','command','appcode','string'];a227_0x5f47=function(){return _0x24be37;};return a227_0x5f47();}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 a227_0x4949b9}from'../utils/is-non-interactive.js';function a227_0x20df(_0x321a88,_0x3d843e){_0x321a88=_0x321a88-0x99;const _0x5f47d6=a227_0x5f47();let _0x20df1b=_0x5f47d6[_0x321a88];return _0x20df1b;}import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x173b0){const _0x5c70b6=a227_0x20df;return typeof _0x173b0===_0x5c70b6(0xa9)&&_0x173b0[_0x5c70b6(0xd1)]()?_0x173b0[_0x5c70b6(0xd1)]():undefined;}function resolveEnvAppCode(){const _0x231e19=a227_0x20df,_0x3b46cd=stringFlag(process.env.RABETBASE_APPCODE);if(_0x3b46cd)return{'name':'RABETBASE_APPCODE','value':_0x3b46cd};const _0x502f7f=stringFlag(process.env.LOVRABET_APPCODE);if(_0x502f7f)return{'name':_0x231e19(0x9d),'value':_0x502f7f};return undefined;}function hasExplicitAppCode(_0x5a04c8,_0x5e2cf9){const _0x34c663=a227_0x20df;return!!(stringFlag(_0x5a04c8[_0x34c663(0xa8)])||stringFlag(_0x5e2cf9['appcode']));}function assertEnvAppCodeNotIgnored(_0xe7fe4d,_0x23e62c,_0x7fdddf){const _0x512499=a227_0x20df;if(!_0x23e62c||_0x7fdddf||_0xe7fe4d===_0x23e62c[_0x512499(0xb5)])return;const _0x167c1e=_0xe7fe4d?_0x512499(0xcc)+_0xe7fe4d+'\x22.':_0x512499(0xc9);throw CliErrors[_0x512499(0xb2)](_0x23e62c[_0x512499(0xc7)]+'='+_0x23e62c[_0x512499(0xb5)]+_0x512499(0xa5)+_0x167c1e+'\x20'+(_0x512499(0xc6)+_0x23e62c[_0x512499(0xc7)]+'\x22.'));}export function createPipelineEnv(_0x51f97a,_0x4e74fc,_0x545c5a=[]){const _0x5f61f=a227_0x20df;return{'rawFlags':_0x4e74fc,'args':_0x545c5a,'resolveAppCode':()=>_0x51f97a['appCode'],'resolveCookie':()=>_0x51f97a[_0x5f61f(0xbc)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a227_0x4949b9(_0x4e74fc),'defaultFormat':_0x51f97a[_0x5f61f(0xd3)],'defaultPageSize':_0x51f97a[_0x5f61f(0xb9)],'defaultVerbose':_0x51f97a['verbose'],'apiDir':_0x51f97a[_0x5f61f(0xbd)],'riskLevel':_0x51f97a['riskLevel'],'selectedAppName':_0x51f97a[_0x5f61f(0xd0)],'mergedCli':{'defaultApp':_0x51f97a[_0x5f61f(0xb7)],'currentApp':_0x51f97a['currentApp'],'appCode':_0x51f97a['appCode'],'apps':_0x51f97a[_0x5f61f(0xb3)]}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS['filter'](_0x5b38ae=>PIPELINE_FLAG_NAMES[a227_0x43f6cb(0xaa)](_0x5b38ae[a227_0x43f6cb(0xc7)]))[a227_0x43f6cb(0xcb)](({name:_0x27915d,type:_0x2ae24f,description:_0x1a7175})=>({'name':_0x27915d,'type':_0x2ae24f,'description':_0x1a7175})),'formatOutput':formatOutput,'getCommandLabel'(_0x4cae39){const _0x45dbed=a227_0x43f6cb;return CLI_BIN_NAME+'\x20'+_0x4cae39['service']+'\x20'+_0x4cae39[_0x45dbed(0xa7)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x477b51){const _0x3c8b98=a227_0x43f6cb;return CliErrors[_0x3c8b98(0xb2)](_0x477b51);}},async 'prepare'(_0x412aa8,_0x519e86,_0x1bb229,_0x3370fe){const _0x254dc3=a227_0x43f6cb,_0x431b40=_0x519e86['apiDir']||DEFAULT_API_DIR;resolveAliasToCode(_0x412aa8,_0x1bb229,_0x431b40,_0x3370fe);const _0x5037e5=resolveCommandAuthMode(_0x412aa8);let _0x3c20f1='';if(_0x5037e5!==_0x254dc3(0xcf)){_0x3c20f1=_0x519e86['resolveCookie']()||'';if(!_0x3c20f1){if(_0x5037e5==='required')throw CliErrors[_0x254dc3(0xb6)]();}else{const {setActiveCookie:_0x48a7ef}=await import(_0x254dc3(0x9f));_0x48a7ef(_0x3c20f1);}}const _0x2dfbba=_0x519e86[_0x254dc3(0xc2)]()??'';if(_0x412aa8['requiresAppCode']!==![]){assertEnvAppCodeNotIgnored(_0x2dfbba,resolveEnvAppCode(),hasExplicitAppCode(_0x1bb229,_0x519e86[_0x254dc3(0xa1)]));if(!_0x2dfbba)throw CliErrors[_0x254dc3(0xcd)](_0x254dc3(0xc3)+CLI_BIN_NAME+_0x254dc3(0x9e));}return{'defaults':{'booleans':{'verbose':_0x519e86[_0x254dc3(0x9c)]},'numbers':{'pagesize':_0x519e86['defaultPageSize']}},'extras':{'appCode':_0x2dfbba,'cookie':_0x3c20f1,'apiDomain':_0x519e86[_0x254dc3(0xa0)](),'apiDir':_0x431b40,'selectedAppName':_0x519e86[_0x254dc3(0xc8)],'mergedCli':_0x519e86['mergedCli']}};},async 'confirmHighRisk'({env:_0x1677fc,commandLabel:_0x3f59a4}){const _0x219a8a=a227_0x43f6cb;if(_0x1677fc['isNonInteractive'])throw CliErrors['validation'](_0x219a8a(0xad)+_0x3f59a4+'`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.');await requireConfirmationPrompt({'lines':[_0x219a8a(0xce)+_0x3f59a4,_0x219a8a(0xbb)],'createCancelledError':_0x174ff0=>CliErrors[_0x219a8a(0xa4)](_0x174ff0)});},async 'finalize'(){const _0x3739fe=a227_0x43f6cb,{clearActiveCookie:_0x2d85ae}=await import(_0x3739fe(0x9f));_0x2d85ae();}};export async function runCommand(_0x2fa8bf,_0x53d588){const _0xa82dce=a227_0x43f6cb;assertRejectedFlags(_0x2fa8bf,_0x53d588[_0xa82dce(0xa1)]),await runCommandWithAdapter(shouldAttachUpdateNotice(_0x2fa8bf)?withUpdateNotice(_0x2fa8bf):_0x2fa8bf,_0x53d588,runnerAdapter);}function assertRejectedFlags(_0x55d0ac,_0x107015){const _0x3477f9=a227_0x43f6cb;for(const _0x42b677 of _0x55d0ac[_0x3477f9(0xba)]??[]){const _0xa7153d=GLOBAL_FLAGS['find'](_0x483b78=>_0x483b78[_0x3477f9(0xc7)]===_0x42b677['name']),_0x36bb0e=new Set([_0x42b677['name'],toCamelCase(_0x42b677['name']),_0xa7153d?.[_0x3477f9(0x9b)]]),_0x5075f5=[..._0x36bb0e][_0x3477f9(0xca)](_0x6c7f9a=>{if(!_0x6c7f9a)return![];const _0x4f85f9=_0x107015[_0x6c7f9a];return _0x4f85f9!==undefined&&_0x4f85f9!==null&&_0x4f85f9!==![];});if(_0x5075f5)throw CliErrors[_0x3477f9(0xb2)](_0x42b677[_0x3477f9(0xa2)],_0x42b677['hint']);}}function toCamelCase(_0x515747){const _0x48beec=a227_0x43f6cb;return _0x515747[_0x48beec(0xb8)](/-([a-z])/g,(_0x571655,_0xacee3d)=>_0xacee3d[_0x48beec(0xc4)]());}function shouldAttachUpdateNotice(_0x10a920){const _0x26ab81=a227_0x43f6cb;if(_0x10a920['hasFormat']===![])return![];return![_0x26ab81(0x99),_0x26ab81(0xb1),_0x26ab81(0xab)]['includes'](_0x10a920[_0x26ab81(0xc0)]);}function withUpdateNotice(_0x42265e){return{..._0x42265e,async 'execute'(_0x53d407){const _0x392b0f=shouldResolveUpdateNotice(_0x53d407)?resolveLatestUpdateNotice()['catch'](()=>null):Promise['resolve'](null),_0x465f46=await _0x42265e['execute'](_0x53d407);return attachUpdateNotice(_0x465f46,await _0x392b0f);}};}function shouldResolveUpdateNotice(_0x5ae942){const _0x1f1f96=a227_0x43f6cb;return _0x5ae942[_0x1f1f96(0xd3)]===_0x1f1f96(0xc5)&&!_0x5ae942['nonInteractive'];}function attachUpdateNotice(_0xa11eb4,_0x34f29c){const _0x45bc4b=a227_0x43f6cb;if(!_0x34f29c||!_0xa11eb4||typeof _0xa11eb4!==_0x45bc4b(0xaf))return _0xa11eb4;const _0x2547da=_0xa11eb4,_0x29cd26=typeof _0x2547da[_0x45bc4b(0x9a)]===_0x45bc4b(0xaf)&&_0x2547da['_notice']!==null?_0x2547da['_notice']:{};return{..._0x2547da,'_notice':{..._0x29cd26,'update':_0x34f29c}};}
1
+ const a227_0x4bf3f4=a227_0x161b;(function(_0x244ac5,_0x107616){const _0xa54dbb=a227_0x161b,_0x4294c1=_0x244ac5();while(!![]){try{const _0x2a7b79=parseInt(_0xa54dbb(0x195))/0x1*(parseInt(_0xa54dbb(0x1b9))/0x2)+-parseInt(_0xa54dbb(0x1ba))/0x3+-parseInt(_0xa54dbb(0x1ac))/0x4+-parseInt(_0xa54dbb(0x1a3))/0x5+parseInt(_0xa54dbb(0x190))/0x6+-parseInt(_0xa54dbb(0x18d))/0x7+parseInt(_0xa54dbb(0x19a))/0x8;if(_0x2a7b79===_0x107616)break;else _0x4294c1['push'](_0x4294c1['shift']());}catch(_0x29f0f4){_0x4294c1['push'](_0x4294c1['shift']());}}}(a227_0x4f59,0x61f83));import{resolveCommandAuthMode,runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';import{getCookie}from'../auth/get-cookie.js';import{getApiDomain}from'../constant/domain.js';import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{DEFAULT_API_DIR}from'../constant/paths.js';import{isNonInteractive as a227_0x13bdeb}from'../utils/is-non-interactive.js';function a227_0x4f59(){const _0x10b813=['appcode','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','verbose','toUpperCase','6661800eMUCUB','doctor','hint','catch','mergedCli','some','No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.','update','object','188505foYWpk','⚠\x20\x20High-risk\x20operation:\x20','isNonInteractive','hasFormat','includes','defaultPageSize','explicitAppName','apiDir','Current\x20resolved\x20appcode\x20is\x20\x22','933544BZOYBI','_notice','required','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','appCode','message','../core/api-client.js','Set\x20appcode\x20via\x20`','pretty','resolveAppCode','filter','apps','currentApp','10mILpQN','1937520wJzzoZ','configMissing','defaultApp','validation','rawFlags','\x20\x20\x20Continue?\x20[y/N]\x20','selectedAppName','nonInteractive','meowKey','map','has','High-risk\x20operation\x20`','cancelled','requiresAppCode','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','RABETBASE_APPCODE','cookie','pageSize','name','value','service','none','3738224oazrHR','resolve','string','4487532KwpuQF','authRequired','riskLevel','LOVRABET_APPCODE','resolveCookie','54319jCWfHw'];a227_0x4f59=function(){return _0x10b813;};return a227_0x4f59();}import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x4b9606){const _0x41adb4=a227_0x161b;return typeof _0x4b9606===_0x41adb4(0x18f)&&_0x4b9606['trim']()?_0x4b9606['trim']():undefined;}function a227_0x161b(_0x7cd606,_0x3898dd){_0x7cd606=_0x7cd606-0x18a;const _0x4f5997=a227_0x4f59();let _0x161b9c=_0x4f5997[_0x7cd606];return _0x161b9c;}function resolveEnvAppCode(){const _0x3ed9aa=a227_0x161b,_0x2a6687=stringFlag(process.env.RABETBASE_APPCODE);if(_0x2a6687)return{'name':_0x3ed9aa(0x1c9),'value':_0x2a6687};const _0x3f4f5f=stringFlag(process.env.LOVRABET_APPCODE);if(_0x3f4f5f)return{'name':_0x3ed9aa(0x193),'value':_0x3f4f5f};return undefined;}function hasExplicitAppCode(_0x477c13,_0x2c558f){const _0x3e9192=a227_0x161b;return!!(stringFlag(_0x477c13[_0x3e9192(0x196)])||stringFlag(_0x2c558f[_0x3e9192(0x196)]));}function assertEnvAppCodeNotIgnored(_0xf500b6,_0x1bad2f,_0x235533){const _0x23c117=a227_0x161b;if(!_0x1bad2f||_0x235533||_0xf500b6===_0x1bad2f[_0x23c117(0x18a)])return;const _0x16dea1=_0xf500b6?_0x23c117(0x1ab)+_0xf500b6+'\x22.':_0x23c117(0x1a0);throw CliErrors[_0x23c117(0x1bd)](_0x1bad2f[_0x23c117(0x1cc)]+'='+_0x1bad2f[_0x23c117(0x18a)]+'\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20'+_0x16dea1+'\x20'+(_0x23c117(0x1af)+_0x1bad2f[_0x23c117(0x1cc)]+'\x22.'));}export function createPipelineEnv(_0x2c35de,_0x35d42d,_0x555e3c=[]){const _0x374751=a227_0x161b;return{'rawFlags':_0x35d42d,'args':_0x555e3c,'resolveAppCode':()=>_0x2c35de[_0x374751(0x1b0)],'resolveCookie':()=>_0x2c35de[_0x374751(0x1ca)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a227_0x13bdeb(_0x35d42d),'defaultFormat':_0x2c35de['format'],'defaultPageSize':_0x2c35de[_0x374751(0x1cb)],'defaultVerbose':_0x2c35de[_0x374751(0x198)],'apiDir':_0x2c35de[_0x374751(0x1aa)],'riskLevel':_0x2c35de[_0x374751(0x192)],'selectedAppName':_0x2c35de[_0x374751(0x1a9)],'mergedCli':{'defaultApp':_0x2c35de[_0x374751(0x1bc)],'currentApp':_0x2c35de[_0x374751(0x1b8)],'appCode':_0x2c35de[_0x374751(0x1b0)],'apps':_0x2c35de[_0x374751(0x1b7)]}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[a227_0x4bf3f4(0x1b6)](_0x2e97d6=>PIPELINE_FLAG_NAMES[a227_0x4bf3f4(0x1c4)](_0x2e97d6[a227_0x4bf3f4(0x1cc)]))[a227_0x4bf3f4(0x1c3)](({name:_0x5088e7,type:_0x36507c,description:_0x865cb0})=>({'name':_0x5088e7,'type':_0x36507c,'description':_0x865cb0})),'formatOutput':formatOutput,'getCommandLabel'(_0x3f9bbc){return CLI_BIN_NAME+'\x20'+_0x3f9bbc['service']+'\x20'+_0x3f9bbc['command'];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x19f593){const _0x491396=a227_0x4bf3f4;return CliErrors[_0x491396(0x1bd)](_0x19f593);}},async 'prepare'(_0x5bb55e,_0x2689a1,_0x68c8,_0x3cfd1f){const _0x1c5702=a227_0x4bf3f4,_0x1d90bc=_0x2689a1[_0x1c5702(0x1aa)]||DEFAULT_API_DIR;resolveAliasToCode(_0x5bb55e,_0x68c8,_0x1d90bc,_0x3cfd1f);const _0xe4dfd2=resolveCommandAuthMode(_0x5bb55e);let _0x2ff1ac='';if(_0xe4dfd2!==_0x1c5702(0x18c)){_0x2ff1ac=_0x2689a1[_0x1c5702(0x194)]()||'';if(!_0x2ff1ac){if(_0xe4dfd2===_0x1c5702(0x1ae))throw CliErrors[_0x1c5702(0x191)]();}else{const {setActiveCookie:_0x2b86b6}=await import(_0x1c5702(0x1b2));_0x2b86b6(_0x2ff1ac);}}const _0x3abf79=_0x2689a1[_0x1c5702(0x1b5)]()??'';if(_0x5bb55e[_0x1c5702(0x1c7)]!==![]){assertEnvAppCodeNotIgnored(_0x3abf79,resolveEnvAppCode(),hasExplicitAppCode(_0x68c8,_0x2689a1[_0x1c5702(0x1be)]));if(!_0x3abf79)throw CliErrors[_0x1c5702(0x1bb)](_0x1c5702(0x1b3)+CLI_BIN_NAME+_0x1c5702(0x1c8));}return{'defaults':{'booleans':{'verbose':_0x2689a1['defaultVerbose']},'numbers':{'pagesize':_0x2689a1[_0x1c5702(0x1a8)]}},'extras':{'appCode':_0x3abf79,'cookie':_0x2ff1ac,'apiDomain':_0x2689a1['resolveApiDomain'](),'apiDir':_0x1d90bc,'selectedAppName':_0x2689a1[_0x1c5702(0x1c0)],'mergedCli':_0x2689a1[_0x1c5702(0x19e)]}};},async 'confirmHighRisk'({env:_0x40b33b,commandLabel:_0xae3dbc}){const _0x50e2b1=a227_0x4bf3f4;if(_0x40b33b[_0x50e2b1(0x1a5)])throw CliErrors[_0x50e2b1(0x1bd)](_0x50e2b1(0x1c5)+_0xae3dbc+_0x50e2b1(0x197));await requireConfirmationPrompt({'lines':[_0x50e2b1(0x1a4)+_0xae3dbc,_0x50e2b1(0x1bf)],'createCancelledError':_0x44c4ae=>CliErrors[_0x50e2b1(0x1c6)](_0x44c4ae)});},async 'finalize'(){const {clearActiveCookie:_0x20b2e5}=await import('../core/api-client.js');_0x20b2e5();}};export async function runCommand(_0x41ce13,_0x4e4253){assertRejectedFlags(_0x41ce13,_0x4e4253['rawFlags']),await runCommandWithAdapter(shouldAttachUpdateNotice(_0x41ce13)?withUpdateNotice(_0x41ce13):_0x41ce13,_0x4e4253,runnerAdapter);}function assertRejectedFlags(_0xb9e9de,_0x3374aa){const _0x70fb95=a227_0x4bf3f4;for(const _0x455837 of _0xb9e9de['rejectedFlags']??[]){const _0xb177b1=GLOBAL_FLAGS['find'](_0xf0de3c=>_0xf0de3c[_0x70fb95(0x1cc)]===_0x455837['name']),_0x17848d=new Set([_0x455837[_0x70fb95(0x1cc)],toCamelCase(_0x455837[_0x70fb95(0x1cc)]),_0xb177b1?.[_0x70fb95(0x1c2)]]),_0x2b5cb2=[..._0x17848d][_0x70fb95(0x19f)](_0x1436a0=>{if(!_0x1436a0)return![];const _0x197eb4=_0x3374aa[_0x1436a0];return _0x197eb4!==undefined&&_0x197eb4!==null&&_0x197eb4!==![];});if(_0x2b5cb2)throw CliErrors[_0x70fb95(0x1bd)](_0x455837[_0x70fb95(0x1b1)],_0x455837[_0x70fb95(0x19c)]);}}function toCamelCase(_0x49c95c){const _0x2d01d0=a227_0x4bf3f4;return _0x49c95c['replace'](/-([a-z])/g,(_0x58664a,_0x5c1c0d)=>_0x5c1c0d[_0x2d01d0(0x199)]());}function shouldAttachUpdateNotice(_0x4ae8a4){const _0x4f0a2c=a227_0x4bf3f4;if(_0x4ae8a4[_0x4f0a2c(0x1a6)]===![])return![];return![_0x4f0a2c(0x1a1),'schema',_0x4f0a2c(0x19b)][_0x4f0a2c(0x1a7)](_0x4ae8a4[_0x4f0a2c(0x18b)]);}function withUpdateNotice(_0xe446d9){return{..._0xe446d9,async 'execute'(_0x2ba785){const _0x22bb3d=a227_0x161b,_0x129b8b=shouldResolveUpdateNotice(_0x2ba785)?resolveLatestUpdateNotice()[_0x22bb3d(0x19d)](()=>null):Promise[_0x22bb3d(0x18e)](null),_0x1a1707=await _0xe446d9['execute'](_0x2ba785);return attachUpdateNotice(_0x1a1707,await _0x129b8b);}};}function shouldResolveUpdateNotice(_0x3b70ee){const _0xb3a615=a227_0x4bf3f4;return _0x3b70ee['format']===_0xb3a615(0x1b4)&&!_0x3b70ee[_0xb3a615(0x1c1)];}function attachUpdateNotice(_0x1045b9,_0x2a87af){const _0x47cc2d=a227_0x4bf3f4;if(!_0x2a87af||!_0x1045b9||typeof _0x1045b9!==_0x47cc2d(0x1a2))return _0x1045b9;const _0x45d147=_0x1045b9,_0x42197b=typeof _0x45d147[_0x47cc2d(0x1ad)]===_0x47cc2d(0x1a2)&&_0x45d147['_notice']!==null?_0x45d147[_0x47cc2d(0x1ad)]:{};return{..._0x45d147,'_notice':{..._0x42197b,'update':_0x2a87af}};}
@@ -1 +1 @@
1
- (function(_0x5bfcd4,_0x33688c){const _0x4928e6=a228_0x9729,_0x970cbf=_0x5bfcd4();while(!![]){try{const _0x569895=parseInt(_0x4928e6(0x155))/0x1*(parseInt(_0x4928e6(0x158))/0x2)+parseInt(_0x4928e6(0x156))/0x3+-parseInt(_0x4928e6(0x152))/0x4*(-parseInt(_0x4928e6(0x15b))/0x5)+parseInt(_0x4928e6(0x15d))/0x6*(parseInt(_0x4928e6(0x15c))/0x7)+-parseInt(_0x4928e6(0x159))/0x8*(parseInt(_0x4928e6(0x15a))/0x9)+-parseInt(_0x4928e6(0x153))/0xa*(-parseInt(_0x4928e6(0x157))/0xb)+-parseInt(_0x4928e6(0x154))/0xc;if(_0x569895===_0x33688c)break;else _0x970cbf['push'](_0x970cbf['shift']());}catch(_0xaddb2){_0x970cbf['push'](_0x970cbf['shift']());}}}(a228_0x1ada,0x8b25f));import{buildSchemaPayload as a228_0xc86b45}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 a228_0x9729(_0x5068b8,_0x5b7784){_0x5068b8=_0x5068b8-0x152;const _0x1adaca=a228_0x1ada();let _0x972903=_0x1adaca[_0x5068b8];return _0x972903;}import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const {serviceRegistry:_0x5a0a4d,findDefinition:_0x384394}=await import('../commands/registry.js');return a228_0xc86b45({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x5a0a4d,'buildAllFlags':buildAllFlags,'findDefinition':_0x384394});}function a228_0x1ada(){const _0x3fdcd1=['18kEpkzb','8bFbpDY','3187521PGseUD','55bJcrYv','3387013jUvQUF','12RezSlP','224372yckCGG','76010zYJNoC','31176972ABrqTL','33739SqiqSO','1914234lWwhYu','1441VvQgAg'];a228_0x1ada=function(){return _0x3fdcd1;};return a228_0x1ada();}
1
+ (function(_0x204143,_0x41f4d5){const _0x18c2cb=a228_0x48c2,_0x21d818=_0x204143();while(!![]){try{const _0x4ec687=parseInt(_0x18c2cb(0x127))/0x1*(-parseInt(_0x18c2cb(0x125))/0x2)+-parseInt(_0x18c2cb(0x12b))/0x3+parseInt(_0x18c2cb(0x129))/0x4+-parseInt(_0x18c2cb(0x128))/0x5*(-parseInt(_0x18c2cb(0x126))/0x6)+parseInt(_0x18c2cb(0x124))/0x7+-parseInt(_0x18c2cb(0x12a))/0x8+parseInt(_0x18c2cb(0x123))/0x9;if(_0x4ec687===_0x41f4d5)break;else _0x21d818['push'](_0x21d818['shift']());}catch(_0x30a3ae){_0x21d818['push'](_0x21d818['shift']());}}}(a228_0x27c6,0xb841c));function a228_0x48c2(_0x13a2a3,_0x5119b1){_0x13a2a3=_0x13a2a3-0x122;const _0x27c688=a228_0x27c6();let _0x48c2f3=_0x27c688[_0x13a2a3];return _0x48c2f3;}import{buildSchemaPayload as a228_0x5b975b}from'@lovrabet/cli-framework';function a228_0x27c6(){const _0x478faa=['1890930IWbMDj','16883MkAXUO','15bhkEjX','2683296Krkskj','11803520lZZuHD','3670521mkShZW','../commands/registry.js','11536884tYJOnp','7552097DkWtIZ','62BuvIzL'];a228_0x27c6=function(){return _0x478faa;};return a228_0x27c6();}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 _0xbf2507=a228_0x48c2,{serviceRegistry:_0x3e4bd4,findDefinition:_0x159811}=await import(_0xbf2507(0x122));return a228_0x5b975b({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x3e4bd4,'buildAllFlags':buildAllFlags,'findDefinition':_0x159811});}
@@ -1 +1 @@
1
- function a229_0x2bd6(){var _0x3d9c89=['2985093dhUxsz','1195896xwRnJP','7fqybaj','12122984qdrvay','167uJjMOV','3117205IQFWzT','13140MEcYpj','29371410CtcloF','4521090miCWdp'];a229_0x2bd6=function(){return _0x3d9c89;};return a229_0x2bd6();}(function(_0x5d82d0,_0x48687a){var _0x561e8b=a229_0x197c,_0xe199e0=_0x5d82d0();while(!![]){try{var _0x567a0a=parseInt(_0x561e8b(0x1d5))/0x1*(parseInt(_0x561e8b(0x1d7))/0x2)+parseInt(_0x561e8b(0x1d1))/0x3+parseInt(_0x561e8b(0x1d2))/0x4+-parseInt(_0x561e8b(0x1d6))/0x5+parseInt(_0x561e8b(0x1d9))/0x6+-parseInt(_0x561e8b(0x1d3))/0x7*(-parseInt(_0x561e8b(0x1d4))/0x8)+-parseInt(_0x561e8b(0x1d8))/0x9;if(_0x567a0a===_0x48687a)break;else _0xe199e0['push'](_0xe199e0['shift']());}catch(_0x4e5c39){_0xe199e0['push'](_0xe199e0['shift']());}}}(a229_0x2bd6,0xbcc20));function a229_0x197c(_0x457c33,_0x5310e5){_0x457c33=_0x457c33-0x1d1;var _0x2bd6e0=a229_0x2bd6();var _0x197c6d=_0x2bd6e0[_0x457c33];return _0x197c6d;}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';
1
+ function a229_0x31f5(){var _0x5dfd76=['168616XAFgKp','3982865mambkY','21fnNFhh','1353044QXOkff','1645604whLJUD','11tUjVhH','10538890rFIFgQ','90DoWtYx','230968cjfgbR','34244mXqWMP','174SFinsN'];a229_0x31f5=function(){return _0x5dfd76;};return a229_0x31f5();}function a229_0x3558(_0x16185e,_0x14bbac){_0x16185e=_0x16185e-0x1d1;var _0x31f5df=a229_0x31f5();var _0x3558f4=_0x31f5df[_0x16185e];return _0x3558f4;}(function(_0x425db3,_0x46c46d){var _0xb36f12=a229_0x3558,_0x1c4769=_0x425db3();while(!![]){try{var _0x551aca=-parseInt(_0xb36f12(0x1da))/0x1+parseInt(_0xb36f12(0x1db))/0x2+parseInt(_0xb36f12(0x1d9))/0x3*(parseInt(_0xb36f12(0x1d5))/0x4)+-parseInt(_0xb36f12(0x1d8))/0x5+parseInt(_0xb36f12(0x1d6))/0x6*(parseInt(_0xb36f12(0x1d7))/0x7)+parseInt(_0xb36f12(0x1d4))/0x8*(parseInt(_0xb36f12(0x1d3))/0x9)+parseInt(_0xb36f12(0x1d2))/0xa*(parseInt(_0xb36f12(0x1d1))/0xb);if(_0x551aca===_0x46c46d)break;else _0x1c4769['push'](_0x1c4769['shift']());}catch(_0x2dcc87){_0x1c4769['push'](_0x1c4769['shift']());}}}(a229_0x31f5,0xbd077));export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';
@@ -1 +1 @@
1
- const a230_0x21e187=a230_0xa69f;(function(_0x1ceaad,_0x422edd){const _0x512d3b=a230_0xa69f,_0x496d19=_0x1ceaad();while(!![]){try{const _0x563517=parseInt(_0x512d3b(0x122))/0x1*(-parseInt(_0x512d3b(0x125))/0x2)+parseInt(_0x512d3b(0x121))/0x3*(parseInt(_0x512d3b(0x128))/0x4)+-parseInt(_0x512d3b(0x129))/0x5*(parseInt(_0x512d3b(0x123))/0x6)+-parseInt(_0x512d3b(0x11f))/0x7+parseInt(_0x512d3b(0x127))/0x8+-parseInt(_0x512d3b(0x120))/0x9+parseInt(_0x512d3b(0x124))/0xa;if(_0x563517===_0x422edd)break;else _0x496d19['push'](_0x496d19['shift']());}catch(_0x17d371){_0x496d19['push'](_0x496d19['shift']());}}}(a230_0x48ec,0xa36dc));export const VERSION=a230_0x21e187(0x12a);function a230_0x48ec(){const _0x154eb9=['2235895SXxqBM','2.3.12-beta.1','4725630HsHgud','10114533afQCeC','852kExNXS','231373LBLyso','6wfBabq','14456160MRtYTd','6qrNWEQ','feb8d38','6731400trtXhd','18628OQnwQf'];a230_0x48ec=function(){return _0x154eb9;};return a230_0x48ec();}export const GIT_TAG='v2.3.12-beta.1';export const GIT_COMMIT=a230_0x21e187(0x126);function a230_0xa69f(_0x1c3454,_0x5d3bec){_0x1c3454=_0x1c3454-0x11f;const _0x48ec48=a230_0x48ec();let _0xa69fd5=_0x48ec48[_0x1c3454];return _0xa69fd5;}export const BUILD_TIME='2026-08-04T07:47:21.250Z';
1
+ const a230_0x104ae5=a230_0x336c;function a230_0x22de(){const _0x104f55=['698xiCDHo','feb8d38','v2.3.12-beta.1','8250816BNqFpK','2026-08-04T08:14:29.635Z','2522795EQcRaR','48984720thpeYy','27853KUobEF','8802162TwpScr','2.3.12','2817LXSxtV','348omwfAK','1101588vyJgal','4zkzpdd'];a230_0x22de=function(){return _0x104f55;};return a230_0x22de();}(function(_0xd9feb0,_0x2e2dfe){const _0x1ffbe8=a230_0x336c,_0x3e9c91=_0xd9feb0();while(!![]){try{const _0x4566d5=-parseInt(_0x1ffbe8(0x128))/0x1+-parseInt(_0x1ffbe8(0x12a))/0x2*(parseInt(_0x1ffbe8(0x126))/0x3)+-parseInt(_0x1ffbe8(0x129))/0x4*(parseInt(_0x1ffbe8(0x121))/0x5)+parseInt(_0x1ffbe8(0x127))/0x6*(-parseInt(_0x1ffbe8(0x123))/0x7)+-parseInt(_0x1ffbe8(0x11f))/0x8+-parseInt(_0x1ffbe8(0x124))/0x9+parseInt(_0x1ffbe8(0x122))/0xa;if(_0x4566d5===_0x2e2dfe)break;else _0x3e9c91['push'](_0x3e9c91['shift']());}catch(_0x1f5209){_0x3e9c91['push'](_0x3e9c91['shift']());}}}(a230_0x22de,0xb0dee));export const VERSION=a230_0x104ae5(0x125);export const GIT_TAG=a230_0x104ae5(0x11e);function a230_0x336c(_0x110d27,_0xd2c0c2){_0x110d27=_0x110d27-0x11d;const _0x22de42=a230_0x22de();let _0x336c67=_0x22de42[_0x110d27];return _0x336c67;}export const GIT_COMMIT=a230_0x104ae5(0x11d);export const BUILD_TIME=a230_0x104ae5(0x120);
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- (function(_0x3fcb0e,_0x50504e){var _0x4ddb02=a231_0x5383,_0x4a69cc=_0x3fcb0e();while(!![]){try{var _0xfa03f=parseInt(_0x4ddb02(0xd9))/0x1+-parseInt(_0x4ddb02(0xe2))/0x2*(-parseInt(_0x4ddb02(0xe3))/0x3)+-parseInt(_0x4ddb02(0xda))/0x4+-parseInt(_0x4ddb02(0xdf))/0x5+-parseInt(_0x4ddb02(0xdc))/0x6+parseInt(_0x4ddb02(0xdb))/0x7*(-parseInt(_0x4ddb02(0xe5))/0x8)+parseInt(_0x4ddb02(0xdd))/0x9;if(_0xfa03f===_0x50504e)break;else _0x4a69cc['push'](_0x4a69cc['shift']());}catch(_0x2a70b7){_0x4a69cc['push'](_0x4a69cc['shift']());}}}(a231_0x204b,0x6f0a8));function a231_0x204b(){var _0x5dbd01=['\x20--help','2fhNIVI','2031243rLprSa','\x20\x20Use\x20','9032rstxUS','log','29574UuzAat','2237580NwlfXr','4137hokKgc','1067400NGllmG','13030686pbOdkP','green','1475755mHjScO','\x20to\x20view\x20available\x20commands.'];a231_0x204b=function(){return _0x5dbd01;};return a231_0x204b();}function a231_0x5383(_0x2bb02e,_0x16f64e){_0x2bb02e=_0x2bb02e-0xd8;var _0x204b45=a231_0x204b();var _0x53833c=_0x204b45[_0x2bb02e];return _0x53833c;}import a231_0x128390 from'chalk';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0xb1283a=a231_0x5383;console['log'](),console[_0xb1283a(0xd8)](a231_0x128390[_0xb1283a(0xde)]['bold']('\x20\x20'+CLI_DISPLAY_NAME)),console['log'](),console['log'](_0xb1283a(0xe4)+a231_0x128390[_0xb1283a(0xde)]['bold'](CLI_BIN_NAME+_0xb1283a(0xe1))+_0xb1283a(0xe0)),console[_0xb1283a(0xd8)]();}
1
+ (function(_0x412680,_0xa31050){var _0x2354fb=a231_0x4d2c,_0x14ed98=_0x412680();while(!![]){try{var _0x1586ee=parseInt(_0x2354fb(0x188))/0x1*(-parseInt(_0x2354fb(0x18c))/0x2)+parseInt(_0x2354fb(0x18b))/0x3*(-parseInt(_0x2354fb(0x18e))/0x4)+parseInt(_0x2354fb(0x187))/0x5*(parseInt(_0x2354fb(0x189))/0x6)+parseInt(_0x2354fb(0x184))/0x7+parseInt(_0x2354fb(0x18f))/0x8+-parseInt(_0x2354fb(0x191))/0x9+parseInt(_0x2354fb(0x190))/0xa*(parseInt(_0x2354fb(0x183))/0xb);if(_0x1586ee===_0xa31050)break;else _0x14ed98['push'](_0x14ed98['shift']());}catch(_0x17efe3){_0x14ed98['push'](_0x14ed98['shift']());}}}(a231_0x2e9b,0x6461c));import a231_0x2d1d49 from'chalk';function a231_0x4d2c(_0x167e8c,_0x39e159){_0x167e8c=_0x167e8c-0x183;var _0x2e9bef=a231_0x2e9b();var _0x4d2c60=_0x2e9bef[_0x167e8c];return _0x4d2c60;}function a231_0x2e9b(){var _0x45fc8a=['green','4187546DRwgCc','933534pfzOcE','\x20to\x20view\x20available\x20commands.','log','20UEMkXO','470ZDeECf','400608rWVdxT','bold','17418AmZmWV','3394DFmswD','\x20--help','236vfdFHW','404408ZFnyJh','30KQnawX','375615aqSwlx'];a231_0x2e9b=function(){return _0x45fc8a;};return a231_0x2e9b();}import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0x529fef=a231_0x4d2c;console['log'](),console[_0x529fef(0x186)](a231_0x2d1d49[_0x529fef(0x192)][_0x529fef(0x18a)]('\x20\x20'+CLI_DISPLAY_NAME)),console['log'](),console[_0x529fef(0x186)]('\x20\x20Use\x20'+a231_0x2d1d49['green'][_0x529fef(0x18a)](CLI_BIN_NAME+_0x529fef(0x18d))+_0x529fef(0x185)),console[_0x529fef(0x186)]();}
@@ -1 +1 @@
1
- function a232_0x1113(){const _0x2454c5=['Equivalent\x20command:\x20','5231479mZdhuy','\x20cli-skill\x20install\x0a\x0aEquivalent\x20command:\x20','\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill','80BRWBbW','enable-bff-save','error','6020aEfyUU','help','35912sSAWxY','291SrumZi','has','push','includes','from','8043312nVXGvM','1692zxpQtn','dangerously-bff-save','exit','log','-$1','skill','5035387nshJYv','Error:\x20Unsupported\x20command:\x20','20ItkADb','\x0aAvailable\x20commands:','不支持的命令:\x20','3298210MInrsB','81798ZJxPmi','add'];a232_0x1113=function(){return _0x2454c5;};return a232_0x1113();}(function(_0x26dc1d,_0xf5ca89){const _0x116337=a232_0x29c4,_0x28332e=_0x26dc1d();while(!![]){try{const _0x406784=-parseInt(_0x116337(0x17e))/0x1*(-parseInt(_0x116337(0x19a))/0x2)+parseInt(_0x116337(0x190))/0x3*(-parseInt(_0x116337(0x197))/0x4)+-parseInt(_0x116337(0x18f))/0x5+-parseInt(_0x116337(0x183))/0x6+parseInt(_0x116337(0x18a))/0x7+parseInt(_0x116337(0x17d))/0x8*(parseInt(_0x116337(0x184))/0x9)+parseInt(_0x116337(0x18c))/0xa*(parseInt(_0x116337(0x193))/0xb);if(_0x406784===_0xf5ca89)break;else _0x28332e['push'](_0x28332e['shift']());}catch(_0x3325d8){_0x28332e['push'](_0x28332e['shift']());}}}(a232_0x1113,0xce42f));function a232_0x29c4(_0x3215bd,_0xe1e5c5){_0x3215bd=_0x3215bd-0x17d;const _0x11130a=a232_0x1113();let _0x29c41d=_0x11130a[_0x3215bd];return _0x29c41d;}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(_0x5bcb72){const _0x175937=a232_0x29c4,_0x1d4cab=[];for(const [_0x5773b6,_0x16d4da]of Object['entries'](_0x5bcb72)){if(_0x16d4da===!![]){const _0x41727f=_0x5773b6['replace'](/([A-Z])/g,_0x175937(0x188))['toLowerCase']();_0x1d4cab[_0x175937(0x180)](_0x41727f);}}return _0x1d4cab;}export function parseDynamicFlags(){const _0x2cd0c9=a232_0x29c4,_0x3e810e=[];for(let _0x37153c=0x3;_0x37153c<process['argv']['length'];_0x37153c++){const _0x13b811=process['argv'][_0x37153c];if(_0x13b811&&_0x13b811['startsWith']('--')){const _0x14ad6f=_0x13b811['slice'](0x2);_0x14ad6f&&!_0x14ad6f[_0x2cd0c9(0x181)]('=')&&_0x3e810e['push'](_0x14ad6f);}}return _0x3e810e;}export function getAllProvidedFlags(_0x209918){const _0x3f6d5f=a232_0x29c4,_0x2a61e8=camelCaseFlagsToKebab(_0x209918),_0x5cb43c=parseDynamicFlags(),_0x20cace=new Set([..._0x2a61e8,..._0x5cb43c]);return Array[_0x3f6d5f(0x182)](_0x20cace);}export function normalizeLegacyBffSaveFlags(_0x3b883f){const _0x227090=a232_0x29c4,_0xd78de5=new Set(_0x3b883f);return _0xd78de5[_0x227090(0x17f)](_0x227090(0x185))&&_0xd78de5[_0x227090(0x191)](_0x227090(0x198)),Array[_0x227090(0x182)](_0xd78de5);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;export async function skillsCommand(_0x18052a,_0x36138f,_0x2e24aa){const _0x152bbf=a232_0x29c4;logger['setLogPath'](process['cwd']());if(_0x2e24aa?.[_0x152bbf(0x19b)]||_0x18052a==='--help'){showHelp();return;}console[_0x152bbf(0x199)](_0x152bbf(0x18b)+(_0x18052a||'(empty)')),console[_0x152bbf(0x187)](_0x152bbf(0x18d)),console['log']('\x20\x20'+CLI_BIN_NAME+_0x152bbf(0x196)),console[_0x152bbf(0x187)](''),console[_0x152bbf(0x187)](_0x152bbf(0x192)+SKILLS_INSTALL_COMMAND_LINE),logger[_0x152bbf(0x199)](_0x152bbf(0x189),_0x152bbf(0x18e)+_0x18052a),process[_0x152bbf(0x186)](0x1);}function showHelp(){const _0xc7d5f=a232_0x29c4;console[_0xc7d5f(0x187)](_0xc7d5f(0x195)+CLI_BIN_NAME+_0xc7d5f(0x194)+SKILLS_INSTALL_COMMAND_LINE+'\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/rabetbase/guides/.\x0a');}
1
+ function a232_0x39b1(){const _0x3a306b=['error','dangerously-bff-save','\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill','slice','11277657ZAQTpP','\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/rabetbase/guides/.\x0a','6091430asVkaY','push','entries','Equivalent\x20command:\x20','Error:\x20Unsupported\x20command:\x20','\x0aAvailable\x20commands:','7262913wvIZop','has','toLowerCase','1070025cCremZ','includes','cwd','setLogPath','exit','8WJvNbZ','log','542qVqeYz','add','startsWith','7941XeVmsq','不支持的命令:\x20','7626180ucExdc','argv','\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','-$1','enable-bff-save','911628ufkuSs','10yROwci'];a232_0x39b1=function(){return _0x3a306b;};return a232_0x39b1();}(function(_0x49e74e,_0x5c31ba){const _0x660956=a232_0x1a9d,_0x9337b=_0x49e74e();while(!![]){try{const _0xe745fe=-parseInt(_0x660956(0x1fc))/0x1+parseInt(_0x660956(0x203))/0x2*(-parseInt(_0x660956(0x206))/0x3)+parseInt(_0x660956(0x1eb))/0x4+-parseInt(_0x660956(0x1f3))/0x5+parseInt(_0x660956(0x208))/0x6+parseInt(_0x660956(0x1f9))/0x7*(parseInt(_0x660956(0x201))/0x8)+-parseInt(_0x660956(0x1f1))/0x9*(-parseInt(_0x660956(0x1ec))/0xa);if(_0xe745fe===_0x5c31ba)break;else _0x9337b['push'](_0x9337b['shift']());}catch(_0x112271){_0x9337b['push'](_0x9337b['shift']());}}}(a232_0x39b1,0xbf631));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(_0x3dd17c){const _0x3cb43d=a232_0x1a9d,_0x26cd40=[];for(const [_0x5d2a14,_0x40dd86]of Object[_0x3cb43d(0x1f5)](_0x3dd17c)){if(_0x40dd86===!![]){const _0x24babb=_0x5d2a14['replace'](/([A-Z])/g,_0x3cb43d(0x20b))[_0x3cb43d(0x1fb)]();_0x26cd40[_0x3cb43d(0x1f4)](_0x24babb);}}return _0x26cd40;}export function parseDynamicFlags(){const _0x59882a=a232_0x1a9d,_0x39c427=[];for(let _0x3b8908=0x3;_0x3b8908<process[_0x59882a(0x209)]['length'];_0x3b8908++){const _0x2f0448=process[_0x59882a(0x209)][_0x3b8908];if(_0x2f0448&&_0x2f0448[_0x59882a(0x205)]('--')){const _0x39dab5=_0x2f0448[_0x59882a(0x1f0)](0x2);_0x39dab5&&!_0x39dab5[_0x59882a(0x1fd)]('=')&&_0x39c427[_0x59882a(0x1f4)](_0x39dab5);}}return _0x39c427;}export function getAllProvidedFlags(_0x537342){const _0xf8fc1d=camelCaseFlagsToKebab(_0x537342),_0x423236=parseDynamicFlags(),_0x1585a4=new Set([..._0xf8fc1d,..._0x423236]);return Array['from'](_0x1585a4);}export function normalizeLegacyBffSaveFlags(_0x56d4ad){const _0x213a82=a232_0x1a9d,_0x3c2a9b=new Set(_0x56d4ad);return _0x3c2a9b[_0x213a82(0x1fa)](_0x213a82(0x1ee))&&_0x3c2a9b[_0x213a82(0x204)](_0x213a82(0x1ea)),Array['from'](_0x3c2a9b);}function a232_0x1a9d(_0x4666fd,_0x1026ce){_0x4666fd=_0x4666fd-0x1ea;const _0x39b1dd=a232_0x39b1();let _0x1a9da0=_0x39b1dd[_0x4666fd];return _0x1a9da0;}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;export async function skillsCommand(_0x278fd8,_0x35397c,_0x224fab){const _0xe3e103=a232_0x1a9d;logger[_0xe3e103(0x1ff)](process[_0xe3e103(0x1fe)]());if(_0x224fab?.['help']||_0x278fd8==='--help'){showHelp();return;}console[_0xe3e103(0x1ed)](_0xe3e103(0x1f7)+(_0x278fd8||'(empty)')),console[_0xe3e103(0x202)](_0xe3e103(0x1f8)),console['log']('\x20\x20'+CLI_BIN_NAME+_0xe3e103(0x1ef)),console[_0xe3e103(0x202)](''),console[_0xe3e103(0x202)](_0xe3e103(0x1f6)+SKILLS_INSTALL_COMMAND_LINE),logger[_0xe3e103(0x1ed)]('skill',_0xe3e103(0x207)+_0x278fd8),process[_0xe3e103(0x200)](0x1);}function showHelp(){const _0x4e1744=a232_0x1a9d;console[_0x4e1744(0x202)](_0x4e1744(0x20a)+CLI_BIN_NAME+'\x20cli-skill\x20install\x0a\x0aEquivalent\x20command:\x20'+SKILLS_INSTALL_COMMAND_LINE+_0x4e1744(0x1f2));}
@@ -1 +1 @@
1
- const a233_0x5bf842=a233_0xd755;function a233_0x3098(){const _0x262b9c=['npx','3prGkYn','6taUyxE','remove','lovrabet/rabetbase','stderr','7129IYxSGr','--skill','2850862NqThek','add','status','pipe','Lovrabet','toString','push','trim','lovrabet/lovrabet-skill','stdout','log','stdio','1320888WOxtTO','2070085IwKjvU','816056QQBoCG','17330XsTnSJ','yes','inherit','exit\x20','unknown','join','632290AuLbhb','549gZcVdv'];a233_0x3098=function(){return _0x262b9c;};return a233_0x3098();}(function(_0x462568,_0x2a6550){const _0x3eaa1d=a233_0xd755,_0x12875e=_0x462568();while(!![]){try{const _0x32eaf7=-parseInt(_0x3eaa1d(0x100))/0x1+-parseInt(_0x3eaa1d(0xf8))/0x2*(parseInt(_0x3eaa1d(0xfb))/0x3)+-parseInt(_0x3eaa1d(0xf1))/0x4+parseInt(_0x3eaa1d(0xf0))/0x5*(parseInt(_0x3eaa1d(0xfc))/0x6)+parseInt(_0x3eaa1d(0xe3))/0x7+-parseInt(_0x3eaa1d(0xef))/0x8+-parseInt(_0x3eaa1d(0xf9))/0x9*(-parseInt(_0x3eaa1d(0xf2))/0xa);if(_0x32eaf7===_0x2a6550)break;else _0x12875e['push'](_0x12875e['shift']());}catch(_0x427cef){_0x12875e['push'](_0x12875e['shift']());}}}(a233_0x3098,0x39465));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';export const NPX_FLAG_YES='-y';export const SKILLS_FLAG_GLOBAL='-g';export const SKILLS_FLAG_YES='-y';export const NPX_SKILLS_CLI='skills';export const NPX_SKILLS_SUBCOMMAND_ADD=a233_0x5bf842(0xe4);export const NPX_SKILLS_FLAG_SKILL=a233_0x5bf842(0xe2);export const RABETBASE_SKILL_SOURCE=a233_0x5bf842(0xfe);export const LEGACY_RABETBASE_SKILL_SOURCE=a233_0x5bf842(0xeb);export const DEFAULT_RABETBASE_SKILL_NAME=a233_0x5bf842(0xe7);export function buildNpxSkillsAddArgv(_0x2b9399){const _0x28e90c=a233_0x5bf842,_0x38a52f=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE];return _0x2b9399&&_0x38a52f[_0x28e90c(0xe9)](NPX_SKILLS_FLAG_SKILL,_0x2b9399),_0x38a52f;}export const NPX_SKILLS_ADD_COMMAND_LINE=[a233_0x5bf842(0xfa),...buildNpxSkillsAddArgv()][a233_0x5bf842(0xf7)]('\x20');export const NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE=[a233_0x5bf842(0xfa),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES]['join']('\x20');function a233_0xd755(_0x450b40,_0x9b54eb){_0x450b40=_0x450b40-0xe2;const _0x3098b3=a233_0x3098();let _0xd7550a=_0x3098b3[_0x450b40];return _0xd7550a;}export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0x150096,_0xb33f67){const _0x3b6ad1=a233_0x5bf842;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x2a28aa=_0xb33f67?.['stdio']??'inherit',_0x35d651=resolveNpmBin('npx'),_0x52ce22=buildNpxSkillsAddArgv(_0xb33f67?.['skill']),_0xeb3bb8=[_0x3b6ad1(0xfa),..._0x52ce22]['join']('\x20');console[_0x3b6ad1(0xed)]('*\x20'+_0xeb3bb8);const _0x3cf0c1=spawnSync(_0x35d651,_0x52ce22,{'cwd':_0x150096,'stdio':_0x2a28aa,'env':process.env,'shell':![]}),_0x4b1d6f=_0x3cf0c1['status'];if(_0x4b1d6f===0x0)return{'ok':!![],'status':0x0};let _0x466f3a=_0x3b6ad1(0xf5)+(_0x4b1d6f??_0x3b6ad1(0xf6));if(_0x2a28aa===_0x3b6ad1(0xe6)){const _0x3fa4af=_0x3cf0c1[_0x3b6ad1(0xff)]?_0x3cf0c1[_0x3b6ad1(0xff)][_0x3b6ad1(0xe8)]()['trim']():'',_0x250bee=_0x3cf0c1[_0x3b6ad1(0xec)]?_0x3cf0c1[_0x3b6ad1(0xec)]['toString']()[_0x3b6ad1(0xea)]():'';if(_0x3fa4af)_0x466f3a=_0x3fa4af;else{if(_0x250bee)_0x466f3a=_0x250bee;}}return{'ok':![],'status':_0x4b1d6f??null,'error':_0x466f3a};}export function runNpxSkillsRemove(_0x124171,_0x3b84d9,_0x2614cf=LEGACY_RABETBASE_SKILL_SOURCE){const _0x30656c=a233_0x5bf842;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x41e7b6=_0x3b84d9?.['stdio']??_0x30656c(0xf4),_0x1cefec=resolveNpmBin(_0x30656c(0xfa)),_0x158869=[NPX_FLAG_YES,NPX_SKILLS_CLI,_0x30656c(0xfd),_0x2614cf,NPX_SKILLS_FLAG_SKILL,_0x3b84d9?.['skill']??DEFAULT_RABETBASE_SKILL_NAME,..._0x3b84d9?.[_0x30656c(0xf3)]?['-y']:[]],_0x2702da=[_0x1cefec,..._0x158869][_0x30656c(0xf7)]('\x20');console[_0x30656c(0xed)]('*\x20'+_0x2702da);const _0x3c84b5=spawnSync(_0x1cefec,_0x158869,{'cwd':_0x124171,'stdio':_0x41e7b6,'env':process.env,'shell':![]}),_0x141f16=_0x3c84b5[_0x30656c(0xe5)];if(_0x141f16===0x0)return{'ok':!![],'status':0x0};let _0x5a86a9='exit\x20'+(_0x141f16??'unknown');if(_0x41e7b6==='pipe'){const _0x30e13c=_0x3c84b5[_0x30656c(0xff)]?_0x3c84b5['stderr'][_0x30656c(0xe8)]()[_0x30656c(0xea)]():'',_0x452a46=_0x3c84b5['stdout']?_0x3c84b5[_0x30656c(0xec)]['toString']()[_0x30656c(0xea)]():'';if(_0x30e13c)_0x5a86a9=_0x30e13c;else{if(_0x452a46)_0x5a86a9=_0x452a46;}}return{'ok':![],'status':_0x141f16??null,'error':_0x5a86a9};}export function runNpxSkillsAddGlobal(_0x3fe61a,_0x547bab,_0x49eb10){const _0x33d5df=a233_0x5bf842;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x4abef3=_0x49eb10?.[_0x33d5df(0xee)]??_0x33d5df(0xf4),_0xbc6f4a=resolveNpmBin('npx'),_0x4e23c5=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x547bab,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES],_0x1b2059=[_0x33d5df(0xfa),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x547bab,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][_0x33d5df(0xf7)]('\x20');console[_0x33d5df(0xed)]('*\x20'+_0x1b2059);const _0x100d1d=spawnSync(_0xbc6f4a,_0x4e23c5,{'cwd':_0x3fe61a,'stdio':_0x4abef3,'env':process.env,'shell':![]}),_0x58f4b9=_0x100d1d[_0x33d5df(0xe5)];if(_0x58f4b9===0x0)return{'ok':!![],'status':0x0};let _0x2da23f=_0x33d5df(0xf5)+(_0x58f4b9??'unknown');if(_0x4abef3===_0x33d5df(0xe6)){const _0x2ece17=_0x100d1d[_0x33d5df(0xff)]?_0x100d1d[_0x33d5df(0xff)][_0x33d5df(0xe8)]()[_0x33d5df(0xea)]():'',_0x4626e3=_0x100d1d[_0x33d5df(0xec)]?_0x100d1d[_0x33d5df(0xec)]['toString']()[_0x33d5df(0xea)]():'';if(_0x2ece17)_0x2da23f=_0x2ece17;else{if(_0x4626e3)_0x2da23f=_0x4626e3;}}return{'ok':![],'status':_0x58f4b9??null,'error':_0x2da23f};}
1
+ const a233_0x4cecf8=a233_0x1526;(function(_0x319bd5,_0x34c029){const _0x2d6020=a233_0x1526,_0x22b546=_0x319bd5();while(!![]){try{const _0x1a6979=-parseInt(_0x2d6020(0x152))/0x1*(parseInt(_0x2d6020(0x168))/0x2)+-parseInt(_0x2d6020(0x15a))/0x3*(parseInt(_0x2d6020(0x14a))/0x4)+-parseInt(_0x2d6020(0x160))/0x5*(parseInt(_0x2d6020(0x15f))/0x6)+-parseInt(_0x2d6020(0x154))/0x7+-parseInt(_0x2d6020(0x14d))/0x8*(-parseInt(_0x2d6020(0x153))/0x9)+parseInt(_0x2d6020(0x14c))/0xa+parseInt(_0x2d6020(0x14b))/0xb;if(_0x1a6979===_0x34c029)break;else _0x22b546['push'](_0x22b546['shift']());}catch(_0x4baebb){_0x22b546['push'](_0x22b546['shift']());}}}(a233_0x2354,0xb4a48));function a233_0x2354(){const _0x284dab=['add','log','3MBzQRC','567369ZtQtZz','1654989PyVUvJ','pipe','unknown','join','yes','stderr','882027qvQYed','npx','stdout','push','stdio','246MVAvkC','77845rMAvPB','toString','inherit','exit\x20','Lovrabet','trim','skills','status','914738vmZDhg','skill','4albWSf','28313582kYfEIu','5176990hSUdxO','24njXHXf','--skill','lovrabet/lovrabet-skill'];a233_0x2354=function(){return _0x284dab;};return a233_0x2354();}import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';export const NPX_FLAG_YES='-y';export const SKILLS_FLAG_GLOBAL='-g';export const SKILLS_FLAG_YES='-y';export const NPX_SKILLS_CLI=a233_0x4cecf8(0x166);export const NPX_SKILLS_SUBCOMMAND_ADD=a233_0x4cecf8(0x150);export const NPX_SKILLS_FLAG_SKILL=a233_0x4cecf8(0x14e);export const RABETBASE_SKILL_SOURCE='lovrabet/rabetbase';export const LEGACY_RABETBASE_SKILL_SOURCE=a233_0x4cecf8(0x14f);export const DEFAULT_RABETBASE_SKILL_NAME=a233_0x4cecf8(0x164);export function buildNpxSkillsAddArgv(_0x1025a0){const _0x12bcc6=a233_0x4cecf8,_0x1d5d64=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE];return _0x1025a0&&_0x1d5d64[_0x12bcc6(0x15d)](NPX_SKILLS_FLAG_SKILL,_0x1025a0),_0x1d5d64;}export const NPX_SKILLS_ADD_COMMAND_LINE=['npx',...buildNpxSkillsAddArgv()]['join']('\x20');function a233_0x1526(_0x3a6fc9,_0x1bba1a){_0x3a6fc9=_0x3a6fc9-0x149;const _0x23540b=a233_0x2354();let _0x15260d=_0x23540b[_0x3a6fc9];return _0x15260d;}export const NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE=[a233_0x4cecf8(0x15b),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES]['join']('\x20');export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0x1aaef8,_0x1abb0e){const _0x1ad590=a233_0x4cecf8;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x29e893=_0x1abb0e?.[_0x1ad590(0x15e)]??_0x1ad590(0x162),_0x463ddc=resolveNpmBin(_0x1ad590(0x15b)),_0x52a0a4=buildNpxSkillsAddArgv(_0x1abb0e?.[_0x1ad590(0x149)]),_0x4eb39e=['npx',..._0x52a0a4]['join']('\x20');console['log']('*\x20'+_0x4eb39e);const _0x2f0885=spawnSync(_0x463ddc,_0x52a0a4,{'cwd':_0x1aaef8,'stdio':_0x29e893,'env':process.env,'shell':![]}),_0x3ec704=_0x2f0885[_0x1ad590(0x167)];if(_0x3ec704===0x0)return{'ok':!![],'status':0x0};let _0x526a96=_0x1ad590(0x163)+(_0x3ec704??'unknown');if(_0x29e893==='pipe'){const _0x569bc4=_0x2f0885[_0x1ad590(0x159)]?_0x2f0885['stderr'][_0x1ad590(0x161)]()[_0x1ad590(0x165)]():'',_0x1ada78=_0x2f0885[_0x1ad590(0x15c)]?_0x2f0885['stdout']['toString']()[_0x1ad590(0x165)]():'';if(_0x569bc4)_0x526a96=_0x569bc4;else{if(_0x1ada78)_0x526a96=_0x1ada78;}}return{'ok':![],'status':_0x3ec704??null,'error':_0x526a96};}export function runNpxSkillsRemove(_0x3cc0ee,_0x5d4640,_0x1e2524=LEGACY_RABETBASE_SKILL_SOURCE){const _0x2ba654=a233_0x4cecf8;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x34af1f=_0x5d4640?.[_0x2ba654(0x15e)]??'inherit',_0x195630=resolveNpmBin('npx'),_0x164b80=[NPX_FLAG_YES,NPX_SKILLS_CLI,'remove',_0x1e2524,NPX_SKILLS_FLAG_SKILL,_0x5d4640?.['skill']??DEFAULT_RABETBASE_SKILL_NAME,..._0x5d4640?.[_0x2ba654(0x158)]?['-y']:[]],_0x35bb5d=[_0x195630,..._0x164b80][_0x2ba654(0x157)]('\x20');console[_0x2ba654(0x151)]('*\x20'+_0x35bb5d);const _0x1a90fd=spawnSync(_0x195630,_0x164b80,{'cwd':_0x3cc0ee,'stdio':_0x34af1f,'env':process.env,'shell':![]}),_0x17254f=_0x1a90fd[_0x2ba654(0x167)];if(_0x17254f===0x0)return{'ok':!![],'status':0x0};let _0x4e7c81='exit\x20'+(_0x17254f??_0x2ba654(0x156));if(_0x34af1f==='pipe'){const _0xe44e0b=_0x1a90fd['stderr']?_0x1a90fd['stderr'][_0x2ba654(0x161)]()[_0x2ba654(0x165)]():'',_0x31fa63=_0x1a90fd[_0x2ba654(0x15c)]?_0x1a90fd[_0x2ba654(0x15c)][_0x2ba654(0x161)]()[_0x2ba654(0x165)]():'';if(_0xe44e0b)_0x4e7c81=_0xe44e0b;else{if(_0x31fa63)_0x4e7c81=_0x31fa63;}}return{'ok':![],'status':_0x17254f??null,'error':_0x4e7c81};}export function runNpxSkillsAddGlobal(_0x4258ad,_0x55aee8,_0x39529a){const _0x2de6b9=a233_0x4cecf8;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x422dea=_0x39529a?.['stdio']??_0x2de6b9(0x162),_0x35841c=resolveNpmBin('npx'),_0x17968f=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x55aee8,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES],_0x4dbbbb=[_0x2de6b9(0x15b),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x55aee8,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES]['join']('\x20');console[_0x2de6b9(0x151)]('*\x20'+_0x4dbbbb);const _0x157ec5=spawnSync(_0x35841c,_0x17968f,{'cwd':_0x4258ad,'stdio':_0x422dea,'env':process.env,'shell':![]}),_0x5aaef0=_0x157ec5[_0x2de6b9(0x167)];if(_0x5aaef0===0x0)return{'ok':!![],'status':0x0};let _0x24889d=_0x2de6b9(0x163)+(_0x5aaef0??_0x2de6b9(0x156));if(_0x422dea===_0x2de6b9(0x155)){const _0x2ae604=_0x157ec5['stderr']?_0x157ec5[_0x2de6b9(0x159)]['toString']()['trim']():'',_0x4b54e4=_0x157ec5[_0x2de6b9(0x15c)]?_0x157ec5['stdout'][_0x2de6b9(0x161)]()[_0x2de6b9(0x165)]():'';if(_0x2ae604)_0x24889d=_0x2ae604;else{if(_0x4b54e4)_0x24889d=_0x4b54e4;}}return{'ok':![],'status':_0x5aaef0??null,'error':_0x24889d};}
@@ -1 +1 @@
1
- function a234_0x4c2a(_0x27e601,_0x17a260){_0x27e601=_0x27e601-0x153;const _0x252755=a234_0x2527();let _0x4c2a76=_0x252755[_0x27e601];return _0x4c2a76;}function a234_0x2527(){const _0x1fbcd4=['error','stringify','35HOIKmV','275YZuVsr','4xsCMgQ','586332AFAaWY','5451512kViALp','610320yBFFrM','66984miVUFR','102YEHJIg','some','test','408294XvyQAF','9EaTViM','rabetbase.command','flags','message','641725HpDaKy','durationMs','[REDACTED]','251268EDiIAr'];a234_0x2527=function(){return _0x1fbcd4;};return a234_0x2527();}(function(_0x1bcd18,_0x1c1d0b){const _0x5a6b37=a234_0x4c2a,_0x382305=_0x1bcd18();while(!![]){try{const _0x3205d9=parseInt(_0x5a6b37(0x156))/0x1+-parseInt(_0x5a6b37(0x163))/0x2*(parseInt(_0x5a6b37(0x167))/0x3)+parseInt(_0x5a6b37(0x164))/0x4*(-parseInt(_0x5a6b37(0x161))/0x5)+-parseInt(_0x5a6b37(0x153))/0x6*(-parseInt(_0x5a6b37(0x15b))/0x7)+parseInt(_0x5a6b37(0x165))/0x8*(parseInt(_0x5a6b37(0x157))/0x9)+-parseInt(_0x5a6b37(0x166))/0xa+-parseInt(_0x5a6b37(0x162))/0xb*(parseInt(_0x5a6b37(0x15e))/0xc);if(_0x3205d9===_0x1c1d0b)break;else _0x382305['push'](_0x382305['shift']());}catch(_0x3d6594){_0x382305['push'](_0x382305['shift']());}}}(a234_0x2527,0xf26c4));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';import{getCliVersion}from'../utils/version.js';const SENSITIVE_PATTERNS=[/cookie/i,/token/i,/password/i,/passwd/i,/secret/i,/auth/i,/session/i,/credential/i,/^value$/i];function isSensitiveKey(_0x4bcff3){const _0x1873e1=a234_0x4c2a;return SENSITIVE_PATTERNS[_0x1873e1(0x154)](_0x89361f=>_0x89361f[_0x1873e1(0x155)](_0x4bcff3));}function sanitizeFlags(_0x3eccde){const _0x37a262=a234_0x4c2a,_0x2c5f4b={};for(const [_0x1b9f7a,_0x153b96]of Object['entries'](_0x3eccde)){isSensitiveKey(_0x1b9f7a)?_0x2c5f4b[_0x1b9f7a]=_0x153b96!=null&&_0x153b96!==''?_0x37a262(0x15d):_0x153b96:_0x2c5f4b[_0x1b9f7a]=_0x153b96;}return _0x2c5f4b;}export async function reportCommandTrace(_0x3073b6){const _0x3b1a23=a234_0x4c2a;try{const _0x27c9dc=sanitizeFlags(_0x3073b6[_0x3b1a23(0x159)]);await sendCliTraceLog({'spanName':_0x3b1a23(0x158),'logData':{'command.cli_version':getCliVersion(),'command.service':_0x3073b6['service'],'command.name':_0x3073b6['command'],'command.flags':JSON[_0x3b1a23(0x160)](_0x27c9dc),..._0x3073b6[_0x3b1a23(0x15c)]!=null?{'command.duration_ms':_0x3073b6[_0x3b1a23(0x15c)]}:{},..._0x3073b6[_0x3b1a23(0x15f)]?{'command.error':_0x3073b6[_0x3b1a23(0x15f)]instanceof Error?_0x3073b6[_0x3b1a23(0x15f)][_0x3b1a23(0x15a)]:String(_0x3073b6[_0x3b1a23(0x15f)])}:{}}});}catch{}}
1
+ function a234_0x29a2(_0x5b453b,_0x43d2d6){_0x5b453b=_0x5b453b-0xb1;const _0xa9528e=a234_0xa952();let _0x29a21a=_0xa9528e[_0x5b453b];return _0x29a21a;}(function(_0x2d8dfc,_0x246329){const _0x135fc6=a234_0x29a2,_0x70cfbb=_0x2d8dfc();while(!![]){try{const _0x332f73=-parseInt(_0x135fc6(0xb4))/0x1*(parseInt(_0x135fc6(0xb1))/0x2)+-parseInt(_0x135fc6(0xb7))/0x3+parseInt(_0x135fc6(0xb2))/0x4+-parseInt(_0x135fc6(0xbf))/0x5+-parseInt(_0x135fc6(0xba))/0x6*(parseInt(_0x135fc6(0xc0))/0x7)+-parseInt(_0x135fc6(0xb3))/0x8+parseInt(_0x135fc6(0xc1))/0x9;if(_0x332f73===_0x246329)break;else _0x70cfbb['push'](_0x70cfbb['shift']());}catch(_0x3e5fe6){_0x70cfbb['push'](_0x70cfbb['shift']());}}}(a234_0xa952,0xd7678));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';import{getCliVersion}from'../utils/version.js';const SENSITIVE_PATTERNS=[/cookie/i,/token/i,/password/i,/passwd/i,/secret/i,/auth/i,/session/i,/credential/i,/^value$/i];function a234_0xa952(){const _0x304f38=['durationMs','command','7914KTUaKd','message','service','entries','error','113930pPEZVt','8596pMdzOt','23999751zGTPeb','6866HtkTOt','5819224pufwpZ','4792120WmXpFi','201zYhECg','stringify','flags','922749fxywYQ'];a234_0xa952=function(){return _0x304f38;};return a234_0xa952();}function isSensitiveKey(_0x542cec){return SENSITIVE_PATTERNS['some'](_0x2cd8d9=>_0x2cd8d9['test'](_0x542cec));}function sanitizeFlags(_0x3ed40c){const _0x2a9799=a234_0x29a2,_0x392521={};for(const [_0x17b7cd,_0x2c153f]of Object[_0x2a9799(0xbd)](_0x3ed40c)){isSensitiveKey(_0x17b7cd)?_0x392521[_0x17b7cd]=_0x2c153f!=null&&_0x2c153f!==''?'[REDACTED]':_0x2c153f:_0x392521[_0x17b7cd]=_0x2c153f;}return _0x392521;}export async function reportCommandTrace(_0x40438b){const _0x2a0660=a234_0x29a2;try{const _0x3a6eb9=sanitizeFlags(_0x40438b[_0x2a0660(0xb6)]);await sendCliTraceLog({'spanName':'rabetbase.command','logData':{'command.cli_version':getCliVersion(),'command.service':_0x40438b[_0x2a0660(0xbc)],'command.name':_0x40438b[_0x2a0660(0xb9)],'command.flags':JSON[_0x2a0660(0xb5)](_0x3a6eb9),..._0x40438b[_0x2a0660(0xb8)]!=null?{'command.duration_ms':_0x40438b['durationMs']}:{},..._0x40438b[_0x2a0660(0xbe)]?{'command.error':_0x40438b[_0x2a0660(0xbe)]instanceof Error?_0x40438b[_0x2a0660(0xbe)][_0x2a0660(0xbb)]:String(_0x40438b[_0x2a0660(0xbe)])}:{}}});}catch{}}
@@ -1 +1 @@
1
- (function(_0x1441ad,_0x34a16c){var _0x59a8d9=a235_0x4128,_0x244f61=_0x1441ad();while(!![]){try{var _0x3e3009=parseInt(_0x59a8d9(0x1e4))/0x1+-parseInt(_0x59a8d9(0x1e3))/0x2+-parseInt(_0x59a8d9(0x1dd))/0x3*(-parseInt(_0x59a8d9(0x1e6))/0x4)+parseInt(_0x59a8d9(0x1da))/0x5+parseInt(_0x59a8d9(0x1e2))/0x6+parseInt(_0x59a8d9(0x1db))/0x7*(parseInt(_0x59a8d9(0x1e5))/0x8)+-parseInt(_0x59a8d9(0x1e0))/0x9*(parseInt(_0x59a8d9(0x1dc))/0xa);if(_0x3e3009===_0x34a16c)break;else _0x244f61['push'](_0x244f61['shift']());}catch(_0x522f46){_0x244f61['push'](_0x244f61['shift']());}}}(a235_0x5b44,0x98da5));function a235_0x4128(_0x58a1c4,_0x26ff27){_0x58a1c4=_0x58a1c4-0x1da;var _0x5b4496=a235_0x5b44();var _0x4128ca=_0x5b4496[_0x58a1c4];return _0x4128ca;}import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';function a235_0x5b44(){var _0x4bf52c=['771656mMoGUQ','24OKEbmg','3078535uWyVos','42CXDoFk','80whhYvM','95718Ujuncj','Failed\x20to\x20report\x20CLI\x20help\x20trace:','cli.help','2670111CaKRnd','service','4387272fNcUEI','537154CUBtLS','1150997qJizfM'];a235_0x5b44=function(){return _0x4bf52c;};return a235_0x5b44();}export async function reportCliHelpTrace(_0x3e18b9,_0x430fb7){var _0x4f68e3=a235_0x4128;try{await sendCliTraceLog({'spanName':_0x4f68e3(0x1df),'logData':{'rabetbase.help.kind':_0x3e18b9,..._0x430fb7?.[_0x4f68e3(0x1e1)]&&{'rabetbase.help.service':_0x430fb7[_0x4f68e3(0x1e1)]}}});}catch(_0x56f229){console['error'](_0x4f68e3(0x1de),_0x56f229);}}
1
+ (function(_0xe56a3f,_0x20521d){var _0x2681c8=a235_0x1266,_0xda097e=_0xe56a3f();while(!![]){try{var _0x242f93=parseInt(_0x2681c8(0x179))/0x1+-parseInt(_0x2681c8(0x17c))/0x2+parseInt(_0x2681c8(0x174))/0x3+-parseInt(_0x2681c8(0x17a))/0x4*(parseInt(_0x2681c8(0x178))/0x5)+-parseInt(_0x2681c8(0x175))/0x6*(-parseInt(_0x2681c8(0x172))/0x7)+parseInt(_0x2681c8(0x17b))/0x8+-parseInt(_0x2681c8(0x176))/0x9;if(_0x242f93===_0x20521d)break;else _0xda097e['push'](_0xda097e['shift']());}catch(_0x162a34){_0xda097e['push'](_0xda097e['shift']());}}}(a235_0x34f9,0x1be00));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';function a235_0x1266(_0x402204,_0x4d4f3a){_0x402204=_0x402204-0x172;var _0x34f91f=a235_0x34f9();var _0x1266f3=_0x34f91f[_0x402204];return _0x1266f3;}function a235_0x34f9(){var _0x3c8508=['1374992vDgXIG','323756WcUdHD','service','71155ZhVGnW','cli.help','460473gvMXoP','84cNWtNh','2431017eDMqyr','error','15965IyhwpG','81685dpKSWa','4EzJcaN'];a235_0x34f9=function(){return _0x3c8508;};return a235_0x34f9();}export async function reportCliHelpTrace(_0x32d057,_0x30c16c){var _0x3b2bec=a235_0x1266;try{await sendCliTraceLog({'spanName':_0x3b2bec(0x173),'logData':{'rabetbase.help.kind':_0x32d057,..._0x30c16c?.[_0x3b2bec(0x17d)]&&{'rabetbase.help.service':_0x30c16c[_0x3b2bec(0x17d)]}}});}catch(_0x44ce4b){console[_0x3b2bec(0x177)]('Failed\x20to\x20report\x20CLI\x20help\x20trace:',_0x44ce4b);}}
@@ -1 +1 @@
1
- function a236_0x53de(){const _0x5c4c20=['3192rhQmDz','daily','440894xXbxUe','319smxvxc','email','tenant','3282855dXOORH','production','12834OjEiRM','1458666NGNuUM','unknown','79925IeAiWa','4unRiIr','user','490RNUeeQ','username','16938zNKsZa','397340sjrZqx'];a236_0x53de=function(){return _0x5c4c20;};return a236_0x53de();}(function(_0x532295,_0x4162f4){const _0x1580db=a236_0x29fc,_0x4115ba=_0x532295();while(!![]){try{const _0xfec8a1=parseInt(_0x1580db(0x1cd))/0x1+-parseInt(_0x1580db(0x1d4))/0x2+parseInt(_0x1580db(0x1d1))/0x3*(-parseInt(_0x1580db(0x1c5))/0x4)+parseInt(_0x1580db(0x1c4))/0x5+-parseInt(_0x1580db(0x1c9))/0x6*(-parseInt(_0x1580db(0x1c7))/0x7)+-parseInt(_0x1580db(0x1cb))/0x8*(-parseInt(_0x1580db(0x1d3))/0x9)+parseInt(_0x1580db(0x1ca))/0xa*(parseInt(_0x1580db(0x1ce))/0xb);if(_0xfec8a1===_0x4162f4)break;else _0x4115ba['push'](_0x4115ba['shift']());}catch(_0x45bfbf){_0x4115ba['push'](_0x4115ba['shift']());}}}(a236_0x53de,0x86cc3));import{VERSION,GIT_COMMIT}from'../generated/build-info.js';import{getSessionUserInfo}from'../auth/get-session-user.js';import{setServiceConfig,setUserContext}from'@lovrabet/otel-logger';function a236_0x29fc(_0x29ca60,_0x409dac){_0x29ca60=_0x29ca60-0x1c4;const _0x53defc=a236_0x53de();let _0x29fceb=_0x53defc[_0x29ca60];return _0x29fceb;}import{NPM_PACKAGE_NAME}from'../constant/cli.js';import{getConfigAppCode}from'../utils/config.js';let cliOtelTraceInitialized=![];export async function ensureCliOtelTraceConfig(){const _0x1c64f4=a236_0x29fc,_0x474a48=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x4fc962=_0x474a48?.[_0x1c64f4(0x1c6)];setServiceConfig({'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!==_0x1c64f4(0x1d5)?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?_0x1c64f4(0x1cc):_0x1c64f4(0x1d2))}),setUserContext({'id':_0x4fc962?.['id'],'username':_0x4fc962?.[_0x1c64f4(0x1c8)],'nickname':_0x4fc962?.['nickname'],'email':_0x4fc962?.[_0x1c64f4(0x1cf)],'tenantCode':_0x4fc962?.[_0x1c64f4(0x1d0)]['tenant_code'],'appCode':getConfigAppCode()}),cliOtelTraceInitialized=!![];}return _0x474a48;}
1
+ (function(_0x2e04dc,_0x453cff){const _0x1173c9=a236_0x5b53,_0x1cedfa=_0x2e04dc();while(!![]){try{const _0x5c4558=parseInt(_0x1173c9(0x98))/0x1*(parseInt(_0x1173c9(0x9f))/0x2)+-parseInt(_0x1173c9(0xa5))/0x3*(parseInt(_0x1173c9(0x9d))/0x4)+-parseInt(_0x1173c9(0xa4))/0x5+-parseInt(_0x1173c9(0xa2))/0x6*(parseInt(_0x1173c9(0x9b))/0x7)+-parseInt(_0x1173c9(0xa3))/0x8+parseInt(_0x1173c9(0x97))/0x9*(parseInt(_0x1173c9(0x9c))/0xa)+parseInt(_0x1173c9(0xa0))/0xb;if(_0x5c4558===_0x453cff)break;else _0x1cedfa['push'](_0x1cedfa['shift']());}catch(_0x28f264){_0x1cedfa['push'](_0x1cedfa['shift']());}}}(a236_0x1bc9,0x47795));import{VERSION,GIT_COMMIT}from'../generated/build-info.js';function a236_0x5b53(_0x492e4d,_0x32c2d5){_0x492e4d=_0x492e4d-0x96;const _0x1bc9cd=a236_0x1bc9();let _0x5b53db=_0x1bc9cd[_0x492e4d];return _0x5b53db;}import{getSessionUserInfo}from'../auth/get-session-user.js';import{setServiceConfig,setUserContext}from'@lovrabet/otel-logger';function a236_0x1bc9(){const _0x2a961d=['4278224vexzpU','1449675WvvEtx','6wqTkUx','user','9ThqelG','41odIYRv','tenant_code','username','84zitAEj','3302470KzlJDs','389304dkKllm','production','9850EbIxaS','14841002GrNRoC','nickname','284616pXGazG'];a236_0x1bc9=function(){return _0x2a961d;};return a236_0x1bc9();}import{NPM_PACKAGE_NAME}from'../constant/cli.js';import{getConfigAppCode}from'../utils/config.js';let cliOtelTraceInitialized=![];export async function ensureCliOtelTraceConfig(){const _0x3135f5=a236_0x5b53,_0x3551d9=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x480775=_0x3551d9?.[_0x3135f5(0x96)];setServiceConfig({'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!=='unknown'?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?'daily':_0x3135f5(0x9e))}),setUserContext({'id':_0x480775?.['id'],'username':_0x480775?.[_0x3135f5(0x9a)],'nickname':_0x480775?.[_0x3135f5(0xa1)],'email':_0x480775?.['email'],'tenantCode':_0x480775?.['tenant'][_0x3135f5(0x99)],'appCode':getConfigAppCode()}),cliOtelTraceInitialized=!![];}return _0x3551d9;}
@@ -1 +1 @@
1
- function a237_0x1f20(){const _0x73060a=['SIGTERM','16002qRylIa','exit','beforeExit','then','110256Oreydr','182056IxBxGi','4188CLzaUj','92rsXvVW','3317120VUPUKL','once','267624uIPbOp','1356488idzUiJ','27KQSFJs','1025cmDTte'];a237_0x1f20=function(){return _0x73060a;};return a237_0x1f20();}(function(_0x28fb3f,_0xbff39){const _0x3e4d7b=a237_0x1e1b,_0x4df3ed=_0x28fb3f();while(!![]){try{const _0x5d57e9=-parseInt(_0x3e4d7b(0x140))/0x1+-parseInt(_0x3e4d7b(0x14b))/0x2+-parseInt(_0x3e4d7b(0x149))/0x3*(-parseInt(_0x3e4d7b(0x13d))/0x4)+parseInt(_0x3e4d7b(0x143))/0x5*(-parseInt(_0x3e4d7b(0x145))/0x6)+parseInt(_0x3e4d7b(0x141))/0x7+parseInt(_0x3e4d7b(0x14a))/0x8*(-parseInt(_0x3e4d7b(0x142))/0x9)+parseInt(_0x3e4d7b(0x13e))/0xa;if(_0x5d57e9===_0xbff39)break;else _0x4df3ed['push'](_0x4df3ed['shift']());}catch(_0x200cf8){_0x4df3ed['push'](_0x4df3ed['shift']());}}}(a237_0x1f20,0x76ab4));import{shutdownTraces}from'@lovrabet/otel-logger';let shutdownPromise=null;export async function flushOtelNodeIfUsed(){if(shutdownPromise)return shutdownPromise;return shutdownPromise=((async()=>{try{await shutdownTraces();}catch{}})()),shutdownPromise;}export function registerOtelShutdownOnExit(){const _0x5c22d6=a237_0x1e1b;process['once'](_0x5c22d6(0x147),()=>{void flushOtelNodeIfUsed();});const _0x2f3744=()=>{const _0x4bfb7e=_0x5c22d6;void flushOtelNodeIfUsed()[_0x4bfb7e(0x148)](()=>process[_0x4bfb7e(0x146)](0x0));};process[_0x5c22d6(0x13f)]('SIGINT',_0x2f3744),process['once'](_0x5c22d6(0x144),_0x2f3744);}function a237_0x1e1b(_0x929c6c,_0x1756c7){_0x929c6c=_0x929c6c-0x13d;const _0x1f2093=a237_0x1f20();let _0x1e1b7d=_0x1f2093[_0x929c6c];return _0x1e1b7d;}export async function exitWithOtelShutdown(_0x4a47a2){const _0x1a56f8=a237_0x1e1b;await flushOtelNodeIfUsed(),process[_0x1a56f8(0x146)](_0x4a47a2);}
1
+ function a237_0x2a0e(_0x48be2b,_0x1a3ce6){_0x48be2b=_0x48be2b-0xcd;const _0xb15908=a237_0xb159();let _0x2a0eb2=_0xb15908[_0x48be2b];return _0x2a0eb2;}(function(_0x232c1a,_0x3485dd){const _0x505e1f=a237_0x2a0e,_0x1cd1cc=_0x232c1a();while(!![]){try{const _0x42b768=parseInt(_0x505e1f(0xd7))/0x1*(parseInt(_0x505e1f(0xd8))/0x2)+-parseInt(_0x505e1f(0xd2))/0x3+-parseInt(_0x505e1f(0xd0))/0x4+-parseInt(_0x505e1f(0xd9))/0x5*(-parseInt(_0x505e1f(0xd5))/0x6)+-parseInt(_0x505e1f(0xcf))/0x7*(-parseInt(_0x505e1f(0xdb))/0x8)+parseInt(_0x505e1f(0xd6))/0x9*(parseInt(_0x505e1f(0xdc))/0xa)+-parseInt(_0x505e1f(0xce))/0xb;if(_0x42b768===_0x3485dd)break;else _0x1cd1cc['push'](_0x1cd1cc['shift']());}catch(_0x2929a7){_0x1cd1cc['push'](_0x1cd1cc['shift']());}}}(a237_0xb159,0xee4e5));import{shutdownTraces}from'@lovrabet/otel-logger';let shutdownPromise=null;function a237_0xb159(){const _0x359cd6=['23346JNElsz','120573FUhvBi','269AeNdVU','12910NlrPul','585gzoFYe','SIGINT','9168184uMXCvx','550zcVGJW','SIGTERM','exit','369490ALBtRM','7xHFtYL','6511416Dsrmdy','once','4310865fTLPGn','then','beforeExit'];a237_0xb159=function(){return _0x359cd6;};return a237_0xb159();}export async function flushOtelNodeIfUsed(){if(shutdownPromise)return shutdownPromise;return shutdownPromise=((async()=>{try{await shutdownTraces();}catch{}})()),shutdownPromise;}export function registerOtelShutdownOnExit(){const _0x1cf38e=a237_0x2a0e;process[_0x1cf38e(0xd1)](_0x1cf38e(0xd4),()=>{void flushOtelNodeIfUsed();});const _0x4562f6=()=>{const _0x5e5d71=_0x1cf38e;void flushOtelNodeIfUsed()[_0x5e5d71(0xd3)](()=>process[_0x5e5d71(0xcd)](0x0));};process[_0x1cf38e(0xd1)](_0x1cf38e(0xda),_0x4562f6),process['once'](_0x1cf38e(0xdd),_0x4562f6);}export async function exitWithOtelShutdown(_0x1bc5ae){const _0x57f23a=a237_0x2a0e;await flushOtelNodeIfUsed(),process[_0x57f23a(0xcd)](_0x1bc5ae);}
@@ -1 +1 @@
1
- (function(_0x13e971,_0x44078d){const _0xf6a323=a238_0x5702,_0x48ed0f=_0x13e971();while(!![]){try{const _0xfad177=-parseInt(_0xf6a323(0x9e))/0x1+parseInt(_0xf6a323(0xa7))/0x2*(-parseInt(_0xf6a323(0xa3))/0x3)+parseInt(_0xf6a323(0x9d))/0x4*(parseInt(_0xf6a323(0xa5))/0x5)+parseInt(_0xf6a323(0xa0))/0x6+parseInt(_0xf6a323(0xa2))/0x7*(parseInt(_0xf6a323(0xa6))/0x8)+parseInt(_0xf6a323(0xa8))/0x9+parseInt(_0xf6a323(0xa4))/0xa*(-parseInt(_0xf6a323(0x9f))/0xb);if(_0xfad177===_0x44078d)break;else _0x48ed0f['push'](_0x48ed0f['shift']());}catch(_0x3d3d06){_0x48ed0f['push'](_0x48ed0f['shift']());}}}(a238_0x3f4c,0x81aa1));import{sendTraceLog}from'@lovrabet/otel-logger';import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';function a238_0x5702(_0x403ab0,_0x14075e){_0x403ab0=_0x403ab0-0x9d;const _0x3f4c93=a238_0x3f4c();let _0x5702c4=_0x3f4c93[_0x403ab0];return _0x5702c4;}import{getCliVersion}from'../utils/version.js';const DEFAULT_TRACE_NAME='rabetbase-cli';export async function sendCliTraceLog(_0x40d43e){const _0x3cfed7=a238_0x5702;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x40d43e['traceName']??DEFAULT_TRACE_NAME,'version':_0x40d43e[_0x3cfed7(0xa9)]??getCliVersion(),'spanName':_0x40d43e[_0x3cfed7(0xab)],'eventType':_0x3cfed7(0xaa),'logData':_0x40d43e['logData'],..._0x40d43e['traceparent']&&{'traceparent':_0x40d43e[_0x3cfed7(0xa1)]}});}function a238_0x3f4c(){const _0x358008=['traceparent','464933anrXBY','17457PIIjru','4611230HSDiqi','10490LnMwMY','56UJGlDp','254buAYoJ','5046858FkEdoK','version','manual','spanName','1076bgeTKR','473431OwsdIP','11omwRVY','3687690BvFRVE'];a238_0x3f4c=function(){return _0x358008;};return a238_0x3f4c();}
1
+ const a238_0x11efc7=a238_0x512d;(function(_0x23fb4b,_0x2c23c9){const _0x50f932=a238_0x512d,_0x59acd6=_0x23fb4b();while(!![]){try{const _0x3eb087=parseInt(_0x50f932(0x86))/0x1+parseInt(_0x50f932(0x83))/0x2+parseInt(_0x50f932(0x85))/0x3+-parseInt(_0x50f932(0x92))/0x4*(parseInt(_0x50f932(0x91))/0x5)+parseInt(_0x50f932(0x8b))/0x6*(-parseInt(_0x50f932(0x8d))/0x7)+parseInt(_0x50f932(0x8a))/0x8+-parseInt(_0x50f932(0x82))/0x9*(parseInt(_0x50f932(0x8c))/0xa);if(_0x3eb087===_0x2c23c9)break;else _0x59acd6['push'](_0x59acd6['shift']());}catch(_0xacebdb){_0x59acd6['push'](_0x59acd6['shift']());}}}(a238_0x520a,0x4f501));import{sendTraceLog}from'@lovrabet/otel-logger';function a238_0x512d(_0x1810ee,_0x280b19){_0x1810ee=_0x1810ee-0x82;const _0x520a67=a238_0x520a();let _0x512d01=_0x520a67[_0x1810ee];return _0x512d01;}import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';import{getCliVersion}from'../utils/version.js';const DEFAULT_TRACE_NAME=a238_0x11efc7(0x88);export async function sendCliTraceLog(_0x3c6f15){const _0x107f7f=a238_0x11efc7;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x3c6f15[_0x107f7f(0x84)]??DEFAULT_TRACE_NAME,'version':_0x3c6f15[_0x107f7f(0x90)]??getCliVersion(),'spanName':_0x3c6f15[_0x107f7f(0x87)],'eventType':_0x107f7f(0x8e),'logData':_0x3c6f15[_0x107f7f(0x8f)],..._0x3c6f15[_0x107f7f(0x89)]&&{'traceparent':_0x3c6f15[_0x107f7f(0x89)]}});}function a238_0x520a(){const _0x57d72e=['18531icLvoz','1125036aaMxpq','traceName','1124859tJCRxX','588699MefNqY','spanName','rabetbase-cli','traceparent','2522392XMTRsP','102GIjFbV','4610boLLdB','63077YESyma','manual','logData','version','70PphqDH','118348lXfyKz'];a238_0x520a=function(){return _0x57d72e;};return a238_0x520a();}
@@ -1 +1 @@
1
- const a239_0x541a36=a239_0x2af8;(function(_0x2f153e,_0x50ddf5){const _0x99bd0d=a239_0x2af8,_0x2d3fc8=_0x2f153e();while(!![]){try{const _0xedfc76=parseInt(_0x99bd0d(0x1aa))/0x1*(-parseInt(_0x99bd0d(0x1b2))/0x2)+parseInt(_0x99bd0d(0x1ad))/0x3+-parseInt(_0x99bd0d(0x1b9))/0x4*(-parseInt(_0x99bd0d(0x1b7))/0x5)+-parseInt(_0x99bd0d(0x1af))/0x6*(-parseInt(_0x99bd0d(0x1ac))/0x7)+parseInt(_0x99bd0d(0x1b4))/0x8+parseInt(_0x99bd0d(0x1b8))/0x9*(parseInt(_0x99bd0d(0x1b1))/0xa)+parseInt(_0x99bd0d(0x1ae))/0xb*(-parseInt(_0x99bd0d(0x1b5))/0xc);if(_0xedfc76===_0x50ddf5)break;else _0x2d3fc8['push'](_0x2d3fc8['shift']());}catch(_0x445644){_0x2d3fc8['push'](_0x2d3fc8['shift']());}}}(a239_0x2358,0x3109d));function a239_0x2af8(_0x4df946,_0x51af8e){_0x4df946=_0x4df946-0x1a9;const _0x23587d=a239_0x2358();let _0x2af8fe=_0x23587d[_0x4df946];return _0x2af8fe;}import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export const PLATFORM_ISSUE_TRACE_NAME='platform-issue-log-collect';export const PLATFORM_ISSUE_SPAN_NAME=a239_0x541a36(0x1b3);function a239_0x2358(){const _0x5483be=['28NMkTOK','566283kDwpwo','99RTFxGQ','202986AZXSdB','title','174880cPqoSF','9220mRRJeN','issue.log.collect','2508584Anzjkc','1385652IYSkSd','sanitize','5tbrnDq','198dvSACo','1294944DhpAhS','redactionCount','23mwwTNA','originalBytes'];a239_0x2358=function(){return _0x5483be;};return a239_0x2358();}export async function sendPlatformIssueCollectLog(_0x2b139e){const _0x1ae1fd=a239_0x541a36;await sendCliTraceLog({'traceName':PLATFORM_ISSUE_TRACE_NAME,'spanName':PLATFORM_ISSUE_SPAN_NAME,'logData':{'issue.title':_0x2b139e[_0x1ae1fd(0x1b0)],'issue.description':_0x2b139e['description'],..._0x2b139e[_0x1ae1fd(0x1b6)]?{'issue.description_original_bytes':_0x2b139e[_0x1ae1fd(0x1b6)][_0x1ae1fd(0x1ab)],'issue.description_truncated':_0x2b139e[_0x1ae1fd(0x1b6)]['truncated'],'issue.description_redactions':_0x2b139e[_0x1ae1fd(0x1b6)][_0x1ae1fd(0x1a9)],'issue.description_redaction_kinds':_0x2b139e[_0x1ae1fd(0x1b6)]['redactionKinds']['join'](',')}:{}}});}
1
+ function a239_0x4681(_0x445e07,_0x9336f8){_0x445e07=_0x445e07-0x93;const _0x2c79ab=a239_0x2c79();let _0x4681fc=_0x2c79ab[_0x445e07];return _0x4681fc;}const a239_0x58da73=a239_0x4681;function a239_0x2c79(){const _0x279a67=['20347063jBezNP','7HmvRZn','1022884UtJskk','issue.log.collect','description','platform-issue-log-collect','5710480ycyJic','12crysSJ','45svZQeN','originalBytes','2594664gRmOQT','title','185466PXrdZn','180zvoXIM','redactionCount','1449170SwWDMC','19015seZxGP','sanitize','join','2FnGFhZ'];a239_0x2c79=function(){return _0x279a67;};return a239_0x2c79();}(function(_0x4185ba,_0x360d93){const _0x33c34a=a239_0x4681,_0xc56d21=_0x4185ba();while(!![]){try{const _0x5bb6bd=-parseInt(_0x33c34a(0xa5))/0x1+-parseInt(_0x33c34a(0xa2))/0x2*(-parseInt(_0x33c34a(0x9b))/0x3)+-parseInt(_0x33c34a(0x9c))/0x4*(-parseInt(_0x33c34a(0x9f))/0x5)+-parseInt(_0x33c34a(0x99))/0x6+parseInt(_0x33c34a(0xa4))/0x7*(parseInt(_0x33c34a(0x95))/0x8)+-parseInt(_0x33c34a(0x97))/0x9*(parseInt(_0x33c34a(0x9e))/0xa)+parseInt(_0x33c34a(0xa3))/0xb*(parseInt(_0x33c34a(0x96))/0xc);if(_0x5bb6bd===_0x360d93)break;else _0xc56d21['push'](_0xc56d21['shift']());}catch(_0x5aebc7){_0xc56d21['push'](_0xc56d21['shift']());}}}(a239_0x2c79,0x9688b));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export const PLATFORM_ISSUE_TRACE_NAME=a239_0x58da73(0x94);export const PLATFORM_ISSUE_SPAN_NAME=a239_0x58da73(0xa6);export async function sendPlatformIssueCollectLog(_0x5acf95){const _0x1f1bb2=a239_0x58da73;await sendCliTraceLog({'traceName':PLATFORM_ISSUE_TRACE_NAME,'spanName':PLATFORM_ISSUE_SPAN_NAME,'logData':{'issue.title':_0x5acf95[_0x1f1bb2(0x9a)],'issue.description':_0x5acf95[_0x1f1bb2(0x93)],..._0x5acf95[_0x1f1bb2(0xa0)]?{'issue.description_original_bytes':_0x5acf95[_0x1f1bb2(0xa0)][_0x1f1bb2(0x98)],'issue.description_truncated':_0x5acf95[_0x1f1bb2(0xa0)]['truncated'],'issue.description_redactions':_0x5acf95['sanitize'][_0x1f1bb2(0x9d)],'issue.description_redaction_kinds':_0x5acf95[_0x1f1bb2(0xa0)]['redactionKinds'][_0x1f1bb2(0xa1)](',')}:{}}});}
@@ -1 +1 @@
1
- function a241_0x210b(){const _0x32a618=['.windsurf/workflows/rabetbase.md','OpenCode','1956BtotLw','.claude','OpenCode\x20IDE','SKILL.md.tpl','.agent','codebuddy','.cline/skills/lovrabet/SKILL.md','Codex','trae','codex','.cursor','.opencode','windsurf','1892961tCoKiM','Antigravity','CodeBuddy\x20IDE','2303762DIqRek','.codex','.codex/skills/lovrabet/SKILL.md','.qoder/rules/rabetbase.md','58936WnHOAP','file','70PlRQzG','.qoder/skills/lovrabet/SKILL.md','1dFfQqa','其他\x20(通用模板)','8613132prlGub','137813HHMAvc','Qoder','CodeBuddy','Cursor\x20IDE','agent','112PVfeEC','Claude\x20Code','515469VmqhGV','claude','Antigravity\x20IDE','12eEqPCs','.agent/skills/lovrabet/SKILL.md','cline','Qoder\x20IDE','.opencode/skills/lovrabet/SKILL.md','cursor','Cline\x20IDE','Trae','Cursor','Codex\x20IDE','qoder','.codebuddy/skills/lovrabet/SKILL.md','12fQzkhQ','.cline','.trae/skills/lovrabet/SKILL.md','通用模板\x20-\x20兜底方案','2878885OfiYbD','.cursor/skills/rabetbase.md','.trae'];a241_0x210b=function(){return _0x32a618;};return a241_0x210b();}const a241_0x4afe98=a241_0x5ec1;(function(_0x3e3244,_0x1e19a8){const _0x375d1f=a241_0x5ec1,_0x150d55=_0x3e3244();while(!![]){try{const _0x246950=-parseInt(_0x375d1f(0x181))/0x1*(parseInt(_0x375d1f(0x179))/0x2)+parseInt(_0x375d1f(0x18b))/0x3*(parseInt(_0x375d1f(0x19a))/0x4)+-parseInt(_0x375d1f(0x19e))/0x5*(parseInt(_0x375d1f(0x18e))/0x6)+-parseInt(_0x375d1f(0x189))/0x7*(-parseInt(_0x375d1f(0x17d))/0x8)+parseInt(_0x375d1f(0x176))/0x9*(parseInt(_0x375d1f(0x17f))/0xa)+-parseInt(_0x375d1f(0x183))/0xb+-parseInt(_0x375d1f(0x1a3))/0xc*(-parseInt(_0x375d1f(0x184))/0xd);if(_0x246950===_0x1e19a8)break;else _0x150d55['push'](_0x150d55['shift']());}catch(_0x3f6c5b){_0x150d55['push'](_0x150d55['shift']());}}}(a241_0x210b,0xb6698));function a241_0x5ec1(_0x3aee6e,_0x595f6d){_0x3aee6e=_0x3aee6e-0x175;const _0x210b6e=a241_0x210b();let _0x5ec1ba=_0x210b6e[_0x3aee6e];return _0x5ec1ba;}export const CORE_IDE_CONFIGS={'cursor':{'name':a241_0x4afe98(0x196),'description':a241_0x4afe98(0x187),'folders':['.cursorrules',a241_0x4afe98(0x1ad)],'files':[{'type':a241_0x4afe98(0x17e),'path':a241_0x4afe98(0x19f),'template':a241_0x4afe98(0x1a6)}]},'windsurf':{'name':'Windsurf','description':'Windsurf\x20IDE','folders':['.windsurf'],'files':[{'type':'file','path':a241_0x4afe98(0x1a1),'template':a241_0x4afe98(0x1a6)}]},'claude':{'name':a241_0x4afe98(0x18a),'description':a241_0x4afe98(0x18a),'folders':[a241_0x4afe98(0x1a4)],'files':[{'type':a241_0x4afe98(0x17e),'path':'.claude/skills/lovrabet/SKILL.md','template':a241_0x4afe98(0x1a6)}]},'cline':{'name':'Cline','description':a241_0x4afe98(0x194),'folders':[a241_0x4afe98(0x19b)],'files':[{'type':'file','path':a241_0x4afe98(0x1a9),'template':a241_0x4afe98(0x1a6)}]},'codex':{'name':a241_0x4afe98(0x1aa),'description':a241_0x4afe98(0x197),'folders':[a241_0x4afe98(0x17a)],'files':[{'type':a241_0x4afe98(0x17e),'path':a241_0x4afe98(0x17b),'template':a241_0x4afe98(0x1a6)}]},'opencode':{'name':a241_0x4afe98(0x1a2),'description':a241_0x4afe98(0x1a5),'folders':[a241_0x4afe98(0x1ae)],'files':[{'type':a241_0x4afe98(0x17e),'path':a241_0x4afe98(0x192),'template':a241_0x4afe98(0x1a6)}]},'qoder':{'name':a241_0x4afe98(0x185),'description':a241_0x4afe98(0x191),'folders':['.qoder'],'files':[{'type':a241_0x4afe98(0x17e),'path':a241_0x4afe98(0x17c),'template':a241_0x4afe98(0x1a6)},{'type':a241_0x4afe98(0x17e),'path':a241_0x4afe98(0x180),'template':a241_0x4afe98(0x1a6)}]},'codebuddy':{'name':a241_0x4afe98(0x186),'description':a241_0x4afe98(0x178),'folders':['.codebuddy'],'files':[{'type':a241_0x4afe98(0x17e),'path':a241_0x4afe98(0x199),'template':a241_0x4afe98(0x1a6)}]},'trae':{'name':a241_0x4afe98(0x195),'description':'Trae\x20IDE','folders':[a241_0x4afe98(0x1a0)],'files':[{'type':a241_0x4afe98(0x17e),'path':a241_0x4afe98(0x19c),'template':a241_0x4afe98(0x1a6)}]}};export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':a241_0x4afe98(0x182),'description':a241_0x4afe98(0x19d),'folders':[a241_0x4afe98(0x1a7)],'files':[{'type':'file','path':a241_0x4afe98(0x18f),'template':a241_0x4afe98(0x1a6)}]},'antigravity':{'name':a241_0x4afe98(0x177),'description':a241_0x4afe98(0x18d),'folders':[a241_0x4afe98(0x1a7)],'files':[{'type':'file','path':a241_0x4afe98(0x18f),'template':a241_0x4afe98(0x1a6)}]}};export const CORE_IDE_LIST=['claude',a241_0x4afe98(0x190),'codebuddy',a241_0x4afe98(0x1ac),a241_0x4afe98(0x193),'opencode',a241_0x4afe98(0x198),a241_0x4afe98(0x1ab),'windsurf'];export const IDE_LIST=['antigravity',a241_0x4afe98(0x18c),a241_0x4afe98(0x190),'codebuddy','codex','cursor','opencode',a241_0x4afe98(0x198),a241_0x4afe98(0x1ab),'windsurf',a241_0x4afe98(0x188)];export const ALL_CORE_IDES=['cursor',a241_0x4afe98(0x175),a241_0x4afe98(0x18c),'cline',a241_0x4afe98(0x1ac),'opencode',a241_0x4afe98(0x198),a241_0x4afe98(0x1a8),a241_0x4afe98(0x1ab)];
1
+ const a241_0xe36df8=a241_0x1a15;(function(_0x288747,_0x157055){const _0x2bb0a5=a241_0x1a15,_0x31cdc3=_0x288747();while(!![]){try{const _0x321f9d=parseInt(_0x2bb0a5(0x148))/0x1*(-parseInt(_0x2bb0a5(0x133))/0x2)+-parseInt(_0x2bb0a5(0x156))/0x3+parseInt(_0x2bb0a5(0x12b))/0x4+parseInt(_0x2bb0a5(0x14e))/0x5*(-parseInt(_0x2bb0a5(0x13a))/0x6)+-parseInt(_0x2bb0a5(0x142))/0x7+parseInt(_0x2bb0a5(0x132))/0x8*(-parseInt(_0x2bb0a5(0x130))/0x9)+-parseInt(_0x2bb0a5(0x129))/0xa*(-parseInt(_0x2bb0a5(0x145))/0xb);if(_0x321f9d===_0x157055)break;else _0x31cdc3['push'](_0x31cdc3['shift']());}catch(_0x4063de){_0x31cdc3['push'](_0x31cdc3['shift']());}}}(a241_0xf47d,0x78161));export const CORE_IDE_CONFIGS={'cursor':{'name':a241_0xe36df8(0x144),'description':a241_0xe36df8(0x14c),'folders':[a241_0xe36df8(0x140),a241_0xe36df8(0x14d)],'files':[{'type':a241_0xe36df8(0x124),'path':'.cursor/skills/rabetbase.md','template':a241_0xe36df8(0x12f)}]},'windsurf':{'name':'Windsurf','description':a241_0xe36df8(0x14a),'folders':[a241_0xe36df8(0x12d)],'files':[{'type':a241_0xe36df8(0x124),'path':'.windsurf/workflows/rabetbase.md','template':a241_0xe36df8(0x12f)}]},'claude':{'name':a241_0xe36df8(0x13d),'description':'Claude\x20Code','folders':['.claude'],'files':[{'type':a241_0xe36df8(0x124),'path':a241_0xe36df8(0x151),'template':'SKILL.md.tpl'}]},'cline':{'name':a241_0xe36df8(0x134),'description':a241_0xe36df8(0x14f),'folders':[a241_0xe36df8(0x125)],'files':[{'type':a241_0xe36df8(0x124),'path':'.cline/skills/lovrabet/SKILL.md','template':a241_0xe36df8(0x12f)}]},'codex':{'name':a241_0xe36df8(0x158),'description':a241_0xe36df8(0x141),'folders':['.codex'],'files':[{'type':a241_0xe36df8(0x124),'path':'.codex/skills/lovrabet/SKILL.md','template':a241_0xe36df8(0x12f)}]},'opencode':{'name':a241_0xe36df8(0x131),'description':a241_0xe36df8(0x126),'folders':[a241_0xe36df8(0x128)],'files':[{'type':'file','path':'.opencode/skills/lovrabet/SKILL.md','template':a241_0xe36df8(0x12f)}]},'qoder':{'name':a241_0xe36df8(0x12c),'description':'Qoder\x20IDE','folders':['.qoder'],'files':[{'type':'file','path':a241_0xe36df8(0x153),'template':a241_0xe36df8(0x12f)},{'type':a241_0xe36df8(0x124),'path':a241_0xe36df8(0x12e),'template':a241_0xe36df8(0x12f)}]},'codebuddy':{'name':a241_0xe36df8(0x152),'description':'CodeBuddy\x20IDE','folders':[a241_0xe36df8(0x13f)],'files':[{'type':a241_0xe36df8(0x124),'path':a241_0xe36df8(0x127),'template':a241_0xe36df8(0x12f)}]},'trae':{'name':'Trae','description':a241_0xe36df8(0x155),'folders':[a241_0xe36df8(0x157)],'files':[{'type':'file','path':a241_0xe36df8(0x147),'template':a241_0xe36df8(0x12f)}]}};function a241_0x1a15(_0x248266,_0x1de14f){_0x248266=_0x248266-0x124;const _0xf47d9b=a241_0xf47d();let _0x1a159d=_0xf47d9b[_0x248266];return _0x1a159d;}export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':'其他\x20(通用模板)','description':a241_0xe36df8(0x13b),'folders':[a241_0xe36df8(0x136)],'files':[{'type':a241_0xe36df8(0x124),'path':a241_0xe36df8(0x139),'template':a241_0xe36df8(0x12f)}]},'antigravity':{'name':a241_0xe36df8(0x135),'description':a241_0xe36df8(0x149),'folders':[a241_0xe36df8(0x136)],'files':[{'type':a241_0xe36df8(0x124),'path':a241_0xe36df8(0x139),'template':a241_0xe36df8(0x12f)}]}};function a241_0xf47d(){const _0x2b5b6=['7231obAONU','Antigravity\x20IDE','Windsurf\x20IDE','qoder','Cursor\x20IDE','.cursor','5YxaNAj','Cline\x20IDE','codex','.claude/skills/lovrabet/SKILL.md','CodeBuddy','.qoder/rules/rabetbase.md','cline','Trae\x20IDE','2645865XbUhym','.trae','Codex','file','.cline','OpenCode\x20IDE','.codebuddy/skills/lovrabet/SKILL.md','.opencode','6980tleGHH','trae','1492800gvsBsu','Qoder','.windsurf','.qoder/skills/lovrabet/SKILL.md','SKILL.md.tpl','4295061yKnpZN','OpenCode','8bORWcK','98fzWAYF','Cline','Antigravity','.agent','opencode','claude','.agent/skills/lovrabet/SKILL.md','2313546NofsXr','通用模板\x20-\x20兜底方案','antigravity','Claude\x20Code','cursor','.codebuddy','.cursorrules','Codex\x20IDE','4786733vhUjRy','windsurf','Cursor','45727AsjFic','codebuddy','.trae/skills/lovrabet/SKILL.md'];a241_0xf47d=function(){return _0x2b5b6;};return a241_0xf47d();}export const CORE_IDE_LIST=[a241_0xe36df8(0x138),a241_0xe36df8(0x154),'codebuddy',a241_0xe36df8(0x150),a241_0xe36df8(0x13e),a241_0xe36df8(0x137),'qoder',a241_0xe36df8(0x12a),'windsurf'];export const IDE_LIST=[a241_0xe36df8(0x13c),a241_0xe36df8(0x138),a241_0xe36df8(0x154),'codebuddy',a241_0xe36df8(0x150),'cursor','opencode',a241_0xe36df8(0x14b),'trae',a241_0xe36df8(0x143),'agent'];export const ALL_CORE_IDES=[a241_0xe36df8(0x13e),a241_0xe36df8(0x143),a241_0xe36df8(0x138),'cline',a241_0xe36df8(0x150),a241_0xe36df8(0x137),a241_0xe36df8(0x14b),a241_0xe36df8(0x146),a241_0xe36df8(0x12a)];
@@ -1 +1 @@
1
- function a242_0x2080(){const _0x343b7a=['6lqgFHF','994365WZsgfs','1687110TjEZXW','294192wGBEXp','2092316lShzev','289295KyDWMB','105260sPTJNy','261DeeRJX','1329664FrCfjf','77xVQjOk'];a242_0x2080=function(){return _0x343b7a;};return a242_0x2080();}(function(_0x435c00,_0x4898c5){const _0x707de9=a242_0x1d56,_0x11adbf=_0x435c00();while(!![]){try{const _0x424a31=parseInt(_0x707de9(0x85))/0x1+parseInt(_0x707de9(0x7e))/0x2+-parseInt(_0x707de9(0x81))/0x3+-parseInt(_0x707de9(0x84))/0x4+-parseInt(_0x707de9(0x82))/0x5*(-parseInt(_0x707de9(0x80))/0x6)+-parseInt(_0x707de9(0x7f))/0x7*(parseInt(_0x707de9(0x83))/0x8)+parseInt(_0x707de9(0x7d))/0x9*(parseInt(_0x707de9(0x86))/0xa);if(_0x424a31===_0x4898c5)break;else _0x11adbf['push'](_0x11adbf['shift']());}catch(_0x28a15f){_0x11adbf['push'](_0x11adbf['shift']());}}}(a242_0x2080,0x5275b));import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a242_0x1d56(_0x58ac17,_0x478451){_0x58ac17=_0x58ac17-0x7d;const _0x208025=a242_0x2080();let _0x1d56a8=_0x208025[_0x58ac17];return _0x1d56a8;}import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
1
+ (function(_0x27243e,_0x5e6b95){const _0x44691a=a242_0x3652,_0x33386b=_0x27243e();while(!![]){try{const _0x491cdc=-parseInt(_0x44691a(0xca))/0x1+parseInt(_0x44691a(0xd0))/0x2+parseInt(_0x44691a(0xcf))/0x3+-parseInt(_0x44691a(0xd2))/0x4*(parseInt(_0x44691a(0xd3))/0x5)+-parseInt(_0x44691a(0xcc))/0x6+-parseInt(_0x44691a(0xcb))/0x7*(parseInt(_0x44691a(0xcd))/0x8)+parseInt(_0x44691a(0xd1))/0x9*(parseInt(_0x44691a(0xce))/0xa);if(_0x491cdc===_0x5e6b95)break;else _0x33386b['push'](_0x33386b['shift']());}catch(_0x54cac0){_0x33386b['push'](_0x33386b['shift']());}}}(a242_0x21f4,0x9b40e));import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a242_0x21f4(){const _0x42d8ae=['3142290jGhuOL','3234591boCuyw','935550GlXuPx','18JiEHoG','315592NMFFAY','30rfWgKa','333987hwWpNI','1819811dnZmlh','1267146UgWNii','16HlCAwj'];a242_0x21f4=function(){return _0x42d8ae;};return a242_0x21f4();}function a242_0x3652(_0x568cfa,_0x56cb36){_0x568cfa=_0x568cfa-0xca;const _0x21f4b8=a242_0x21f4();let _0x365292=_0x21f4b8[_0x568cfa];return _0x365292;}export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
@@ -1 +1 @@
1
- function a243_0x2a35(){const _0x540b6d=['54030aHKvZb','now','292559LHqJaS','1794985uZbOUd','sdk','cli','4SDBiAk','8ETNXjx','node','1629EOMrfb','json','/config/index.json','stableVersion','892752HhKFYw','586956rYlHXz','250950FYEOBI','1827434AXqCJH','application/json'];a243_0x2a35=function(){return _0x540b6d;};return a243_0x2a35();}(function(_0x11bb88,_0x4e4956){const _0x1323c2=a243_0x14f8,_0x5260c1=_0x11bb88();while(!![]){try{const _0x2d0671=-parseInt(_0x1323c2(0xef))/0x1+parseInt(_0x1323c2(0xea))/0x2+-parseInt(_0x1323c2(0xe9))/0x3*(-parseInt(_0x1323c2(0xe1))/0x4)+-parseInt(_0x1323c2(0xde))/0x5+-parseInt(_0x1323c2(0xe8))/0x6+-parseInt(_0x1323c2(0xeb))/0x7*(parseInt(_0x1323c2(0xe2))/0x8)+-parseInt(_0x1323c2(0xe4))/0x9*(-parseInt(_0x1323c2(0xed))/0xa);if(_0x2d0671===_0x4e4956)break;else _0x5260c1['push'](_0x5260c1['shift']());}catch(_0x4fd1ae){_0x5260c1['push'](_0x5260c1['shift']());}}}(a243_0x2a35,0x3a05c));import{getTemplateBaseUrl}from'../utils/config.js';export async function fetchCdnConfig(){const _0x1b0c7e=a243_0x14f8,_0x5be373=getTemplateBaseUrl(),_0x53c0f5=[_0x5be373+'/config.json',_0x5be373+_0x1b0c7e(0xe6)];for(const _0x86f4 of _0x53c0f5){try{const _0x1f1002=await fetch(_0x86f4,{'headers':{'Accept':_0x1b0c7e(0xec)}});if(!_0x1f1002['ok'])continue;const _0xaa9d03=await _0x1f1002[_0x1b0c7e(0xe5)]();if(!_0xaa9d03[_0x1b0c7e(0xe0)]?.[_0x1b0c7e(0xe7)]||!_0xaa9d03[_0x1b0c7e(0xdf)]?.[_0x1b0c7e(0xe3)]?.[_0x1b0c7e(0xe7)])continue;return _0xaa9d03;}catch{}}return null;}function a243_0x14f8(_0x235253,_0x4203fa){_0x235253=_0x235253-0xde;const _0x2a3574=a243_0x2a35();let _0x14f83e=_0x2a3574[_0x235253];return _0x14f83e;}let cachedConfig=null,cacheTime=0x0;const CACHE_TTL=0x5*0x3c*0x3e8,FAILURE_CACHE_TTL=0x3c*0x3e8;let hasCachedConfig=![];export async function getCdnConfig(){const _0x2c2171=a243_0x14f8,_0x2c0915=Date[_0x2c2171(0xee)]();if(hasCachedConfig){const _0x1fe0f5=cachedConfig?CACHE_TTL:FAILURE_CACHE_TTL;if(_0x2c0915-cacheTime<_0x1fe0f5)return cachedConfig;}const _0x2895a3=await fetchCdnConfig();return cachedConfig=_0x2895a3,cacheTime=_0x2c0915,hasCachedConfig=!![],_0x2895a3;}export function clearCdnConfigCache(){cachedConfig=null,cacheTime=0x0,hasCachedConfig=![];}
1
+ function a243_0x4a07(_0x27e9d8,_0x13197a){_0x27e9d8=_0x27e9d8-0xe9;const _0x477dfd=a243_0x477d();let _0x4a0776=_0x477dfd[_0x27e9d8];return _0x4a0776;}(function(_0xa9cd6d,_0x3cf007){const _0x20e547=a243_0x4a07,_0x44cf82=_0xa9cd6d();while(!![]){try{const _0x2c91a6=parseInt(_0x20e547(0xeb))/0x1+-parseInt(_0x20e547(0xec))/0x2*(parseInt(_0x20e547(0xf4))/0x3)+-parseInt(_0x20e547(0xee))/0x4+parseInt(_0x20e547(0xf3))/0x5*(parseInt(_0x20e547(0xf8))/0x6)+-parseInt(_0x20e547(0xf1))/0x7*(-parseInt(_0x20e547(0xfa))/0x8)+-parseInt(_0x20e547(0xf6))/0x9*(parseInt(_0x20e547(0xe9))/0xa)+parseInt(_0x20e547(0xf9))/0xb;if(_0x2c91a6===_0x3cf007)break;else _0x44cf82['push'](_0x44cf82['shift']());}catch(_0x218463){_0x44cf82['push'](_0x44cf82['shift']());}}}(a243_0x477d,0x6c249));function a243_0x477d(){const _0x9d8bc6=['4728020zAvsZt','376144SZmHTc','10ixiSmF','stableVersion','367787AvNBtW','2WiWiMk','now','1374252cKyGdL','node','cli','84jrCuut','/config/index.json','1360180bUfuDj','1326363UTmjVY','application/json','6095322FyNNRd','json','12mzpHWa'];a243_0x477d=function(){return _0x9d8bc6;};return a243_0x477d();}import{getTemplateBaseUrl}from'../utils/config.js';export async function fetchCdnConfig(){const _0x419a05=a243_0x4a07,_0x4c7242=getTemplateBaseUrl(),_0x2e3b10=[_0x4c7242+'/config.json',_0x4c7242+_0x419a05(0xf2)];for(const _0x529554 of _0x2e3b10){try{const _0x487217=await fetch(_0x529554,{'headers':{'Accept':_0x419a05(0xf5)}});if(!_0x487217['ok'])continue;const _0x4b4575=await _0x487217[_0x419a05(0xf7)]();if(!_0x4b4575[_0x419a05(0xf0)]?.['stableVersion']||!_0x4b4575['sdk']?.[_0x419a05(0xef)]?.[_0x419a05(0xea)])continue;return _0x4b4575;}catch{}}return null;}let cachedConfig=null,cacheTime=0x0;const CACHE_TTL=0x5*0x3c*0x3e8,FAILURE_CACHE_TTL=0x3c*0x3e8;let hasCachedConfig=![];export async function getCdnConfig(){const _0x28aa38=a243_0x4a07,_0x414b7e=Date[_0x28aa38(0xed)]();if(hasCachedConfig){const _0x9c1e4d=cachedConfig?CACHE_TTL:FAILURE_CACHE_TTL;if(_0x414b7e-cacheTime<_0x9c1e4d)return cachedConfig;}const _0x1f2927=await fetchCdnConfig();return cachedConfig=_0x1f2927,cacheTime=_0x414b7e,hasCachedConfig=!![],_0x1f2927;}export function clearCdnConfigCache(){cachedConfig=null,cacheTime=0x0,hasCachedConfig=![];}
@@ -1 +1 @@
1
- const a244_0x463cc2=a244_0x3b3a;(function(_0x3b6949,_0x125977){const _0x37aaf0=a244_0x3b3a,_0x567da8=_0x3b6949();while(!![]){try{const _0x350c5e=-parseInt(_0x37aaf0(0xdc))/0x1+parseInt(_0x37aaf0(0xe6))/0x2*(parseInt(_0x37aaf0(0xdb))/0x3)+parseInt(_0x37aaf0(0xf4))/0x4*(parseInt(_0x37aaf0(0xe1))/0x5)+-parseInt(_0x37aaf0(0xef))/0x6+-parseInt(_0x37aaf0(0xe4))/0x7+parseInt(_0x37aaf0(0xde))/0x8+-parseInt(_0x37aaf0(0xf2))/0x9;if(_0x350c5e===_0x125977)break;else _0x567da8['push'](_0x567da8['shift']());}catch(_0x3089c7){_0x567da8['push'](_0x567da8['shift']());}}}(a244_0x5128,0x2a7bf));import a244_0x272b9a from'node:fs';import a244_0x38afac from'node:path';import a244_0x514467 from'semver';import{getCdnConfig}from'../utils/cdn-config.js';const FALLBACK_MIN_SDK_VERSION=a244_0x463cc2(0xfb);function isNonNumericVersion(_0x52cfdf){const _0x216d3b=a244_0x463cc2,_0xbdf7d7=[/^latest$/i,/^beta$/i,/^alpha$/i,/^canary$/i,/^\*$/,/^x$/];return _0xbdf7d7[_0x216d3b(0xe0)](_0x484e29=>_0x484e29['test'](_0x52cfdf));}function getInstalledVersion(_0x3794a1,_0x505d89){const _0x142d51=a244_0x463cc2;try{const _0x5be295=a244_0x38afac[_0x142d51(0xe2)](_0x3794a1,_0x142d51(0xfd),_0x505d89,_0x142d51(0xfa));if(a244_0x272b9a['existsSync'](_0x5be295)){const _0x12faec=JSON['parse'](a244_0x272b9a[_0x142d51(0xf1)](_0x5be295,_0x142d51(0xe8)));return _0x12faec[_0x142d51(0xee)]||null;}}catch{}return null;}async function getSdkStableVersion(){const _0x6b7f3e=a244_0x463cc2;try{const _0x360739=await getCdnConfig();return _0x360739?.['sdk']?.[_0x6b7f3e(0xe3)]?.[_0x6b7f3e(0xea)]||null;}catch{return null;}}async function getSdkPackageName(){const _0x2c4e2e=a244_0x463cc2;try{const _0x47a713=await getCdnConfig();return _0x47a713?.[_0x2c4e2e(0xf6)]?.[_0x2c4e2e(0xe3)]?.['packageName']||'@lovrabet/sdk';}catch{return _0x2c4e2e(0xf3);}}export async function checkSdkVersion(_0x1851fd){const _0x4732cb=a244_0x463cc2,_0x18389d=a244_0x38afac[_0x4732cb(0xe2)](_0x1851fd,_0x4732cb(0xfa)),[_0x2ba136,_0x22610e]=await Promise[_0x4732cb(0xdd)]([getSdkStableVersion(),getSdkPackageName()]),_0x2b9315=_0x2ba136||FALLBACK_MIN_SDK_VERSION;if(!a244_0x272b9a['existsSync'](_0x18389d))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x2b9315,'packageName':_0x22610e,'stableVersion':_0x2ba136};try{const _0x226b81=JSON[_0x4732cb(0xe7)](a244_0x272b9a['readFileSync'](_0x18389d,_0x4732cb(0xf5))),_0x4a1284=_0x226b81[_0x4732cb(0xeb)]||{},_0xefaecd=_0x226b81[_0x4732cb(0xf8)]||{},_0x1bc452=_0x4a1284[_0x22610e]||_0xefaecd[_0x22610e];if(!_0x1bc452)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x2b9315,'packageName':_0x22610e,'stableVersion':_0x2ba136};let _0x122fcc=getInstalledVersion(_0x1851fd,_0x22610e);!_0x122fcc&&(_0x122fcc=_0x1bc452);if(isNonNumericVersion(_0x1bc452))return{'installed':!![],'version':_0x122fcc,'needsUpgrade':![],'minVersion':_0x2b9315,'packageName':_0x22610e,'stableVersion':_0x2ba136};const _0x21f8b8=a244_0x514467[_0x4732cb(0xff)](_0x122fcc),_0x57ebdc=a244_0x514467[_0x4732cb(0xff)](_0x2b9315),_0x102e46=_0x21f8b8&&_0x57ebdc?a244_0x514467['lt'](_0x21f8b8,_0x57ebdc):![];return{'installed':!![],'version':_0x122fcc,'needsUpgrade':_0x102e46,'minVersion':_0x2b9315,'packageName':_0x22610e,'stableVersion':_0x2ba136};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x2b9315,'packageName':_0x22610e,'stableVersion':_0x2ba136};}}function a244_0x3b3a(_0x5ba919,_0x2f42bc){_0x5ba919=_0x5ba919-0xda;const _0x512892=a244_0x5128();let _0x3b3a18=_0x512892[_0x5ba919];return _0x3b3a18;}export function checkSdkVersionSync(_0x30ea87){const _0x5c8afc=a244_0x463cc2,_0x2722d3=a244_0x38afac[_0x5c8afc(0xe2)](_0x30ea87,_0x5c8afc(0xfa)),_0x1dcb98=_0x5c8afc(0xf3);if(!a244_0x272b9a['existsSync'](_0x2722d3))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x1dcb98,'stableVersion':null};try{const _0x104937=JSON[_0x5c8afc(0xe7)](a244_0x272b9a['readFileSync'](_0x2722d3,'utf8')),_0x211766=_0x104937[_0x5c8afc(0xeb)]||{},_0x2edebd=_0x104937['devDependencies']||{},_0x36ec2d=_0x211766[_0x1dcb98]||_0x2edebd[_0x1dcb98];if(!_0x36ec2d)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x1dcb98,'stableVersion':null};let _0x3e71e1=getInstalledVersion(_0x30ea87,_0x1dcb98);!_0x3e71e1&&(_0x3e71e1=_0x36ec2d);if(isNonNumericVersion(_0x36ec2d))return{'installed':!![],'version':_0x3e71e1,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x1dcb98,'stableVersion':null};const _0x278d15=a244_0x514467[_0x5c8afc(0xff)](_0x3e71e1),_0x3c8242=_0x278d15?a244_0x514467['lt'](_0x278d15,FALLBACK_MIN_SDK_VERSION):![];return{'installed':!![],'version':_0x3e71e1,'needsUpgrade':_0x3c8242,'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x1dcb98,'stableVersion':null};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x1dcb98,'stableVersion':null};}}function a244_0x5128(){const _0x1e61eb=['1245520ywMHzC','\x1b[1m','some','185dXxpRr','join','node','869904wOPVMK','packageName','3694hjGDRl','parse','utf-8','\x1b[33m','stableVersion','dependencies','\x20\x20\x20Stable\x20version:\x20','minVersion','version','1441314UABfNP','\x20\x20\x20Current\x20version:\x20','readFileSync','56898hehjKD','@lovrabet/sdk','16648awthqK','utf8','sdk','\x1b[0m','devDependencies','\x20\x20\x20Upgrade\x20command:\x20','package.json','1.2.0','log','node_modules','npm\x20install\x20','coerce','↪\x20SDK\x20update\x20available','489SFwzvK','65917XawXzc','all'];a244_0x5128=function(){return _0x1e61eb;};return a244_0x5128();}export function printSdkUpgradeWarning(_0x3f88f8){const _0x82a57d=a244_0x463cc2;if(!_0x3f88f8['needsUpgrade'])return;const _0x237d60=_0x82a57d(0xe9),_0x370ffb=_0x82a57d(0xf7),_0x30c788=_0x82a57d(0xdf),_0x45c0f0=_0x3f88f8[_0x82a57d(0xe5)]||'@lovrabet/sdk',_0x10e78d=_0x3f88f8[_0x82a57d(0xea)]||_0x3f88f8[_0x82a57d(0xed)],_0x2d5f70=_0x82a57d(0xfe)+_0x45c0f0+'@'+(_0x10e78d||'latest');console['log'](),console[_0x82a57d(0xfc)](''+_0x237d60+_0x30c788+_0x82a57d(0xda)+_0x370ffb),console['log'](_0x237d60+_0x82a57d(0xf0)+_0x45c0f0+'@'+_0x3f88f8[_0x82a57d(0xee)]+_0x370ffb),console[_0x82a57d(0xfc)](_0x237d60+_0x82a57d(0xec)+_0x10e78d+_0x370ffb),console[_0x82a57d(0xfc)](_0x237d60+_0x82a57d(0xf9)+_0x2d5f70+_0x370ffb),console[_0x82a57d(0xfc)]();}
1
+ (function(_0x4bc4d6,_0x1de813){const _0x36e3b4=a244_0x5550,_0x17e3f0=_0x4bc4d6();while(!![]){try{const _0x25ea64=parseInt(_0x36e3b4(0x1b0))/0x1*(parseInt(_0x36e3b4(0x1b7))/0x2)+parseInt(_0x36e3b4(0x1b2))/0x3*(-parseInt(_0x36e3b4(0x1ba))/0x4)+parseInt(_0x36e3b4(0x1d0))/0x5*(parseInt(_0x36e3b4(0x1bc))/0x6)+-parseInt(_0x36e3b4(0x1c3))/0x7*(-parseInt(_0x36e3b4(0x1ca))/0x8)+-parseInt(_0x36e3b4(0x1c5))/0x9+-parseInt(_0x36e3b4(0x1cc))/0xa+parseInt(_0x36e3b4(0x1b1))/0xb*(parseInt(_0x36e3b4(0x1b6))/0xc);if(_0x25ea64===_0x1de813)break;else _0x17e3f0['push'](_0x17e3f0['shift']());}catch(_0x49c107){_0x17e3f0['push'](_0x17e3f0['shift']());}}}(a244_0x2686,0xc8af6));function a244_0x2686(){const _0x269eac=['\x1b[33m','164rKNCup','version','134454wxwqWB','\x20\x20\x20Current\x20version:\x20','log','needsUpgrade','stableVersion','npm\x20install\x20','dependencies','7jCHECr','sdk','7126641kmKPWm','↪\x20SDK\x20update\x20available','\x1b[1m','\x20\x20\x20Upgrade\x20command:\x20','existsSync','9324328yHJCFP','parse','10987040zHKexH','node','utf-8','minVersion','125lkeUxa','@lovrabet/sdk','packageName','test','coerce','utf8','node_modules','71423vSZLvy','16978841UnnCNx','45963iuZXcz','package.json','join','some','12xFWkYN','2IfWlkj','readFileSync'];a244_0x2686=function(){return _0x269eac;};return a244_0x2686();}import a244_0x4778e1 from'node:fs';import a244_0x32e712 from'node:path';import a244_0x3c70ad from'semver';import{getCdnConfig}from'../utils/cdn-config.js';const FALLBACK_MIN_SDK_VERSION='1.2.0';function isNonNumericVersion(_0x574d0b){const _0x1c2e31=a244_0x5550,_0x1d5155=[/^latest$/i,/^beta$/i,/^alpha$/i,/^canary$/i,/^\*$/,/^x$/];return _0x1d5155[_0x1c2e31(0x1b5)](_0x863b16=>_0x863b16[_0x1c2e31(0x1ac)](_0x574d0b));}function getInstalledVersion(_0x55598d,_0x33b927){const _0x39e44e=a244_0x5550;try{const _0x987828=a244_0x32e712[_0x39e44e(0x1b4)](_0x55598d,_0x39e44e(0x1af),_0x33b927,_0x39e44e(0x1b3));if(a244_0x4778e1[_0x39e44e(0x1c9)](_0x987828)){const _0x57d0a3=JSON[_0x39e44e(0x1cb)](a244_0x4778e1[_0x39e44e(0x1b8)](_0x987828,_0x39e44e(0x1ce)));return _0x57d0a3[_0x39e44e(0x1bb)]||null;}}catch{}return null;}function a244_0x5550(_0x2f709c,_0x4d2643){_0x2f709c=_0x2f709c-0x1ab;const _0x2686d9=a244_0x2686();let _0x55501f=_0x2686d9[_0x2f709c];return _0x55501f;}async function getSdkStableVersion(){try{const _0x23111c=await getCdnConfig();return _0x23111c?.['sdk']?.['node']?.['stableVersion']||null;}catch{return null;}}async function getSdkPackageName(){const _0x2f99f7=a244_0x5550;try{const _0x50b73c=await getCdnConfig();return _0x50b73c?.[_0x2f99f7(0x1c4)]?.[_0x2f99f7(0x1cd)]?.[_0x2f99f7(0x1ab)]||_0x2f99f7(0x1d1);}catch{return _0x2f99f7(0x1d1);}}export async function checkSdkVersion(_0x3adee7){const _0x2510c6=a244_0x5550,_0x1419bf=a244_0x32e712[_0x2510c6(0x1b4)](_0x3adee7,_0x2510c6(0x1b3)),[_0x25773c,_0x8aa48d]=await Promise['all']([getSdkStableVersion(),getSdkPackageName()]),_0x4b407e=_0x25773c||FALLBACK_MIN_SDK_VERSION;if(!a244_0x4778e1[_0x2510c6(0x1c9)](_0x1419bf))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x4b407e,'packageName':_0x8aa48d,'stableVersion':_0x25773c};try{const _0x5e89fe=JSON[_0x2510c6(0x1cb)](a244_0x4778e1[_0x2510c6(0x1b8)](_0x1419bf,_0x2510c6(0x1ae))),_0x496cee=_0x5e89fe[_0x2510c6(0x1c2)]||{},_0x10f115=_0x5e89fe['devDependencies']||{},_0x182971=_0x496cee[_0x8aa48d]||_0x10f115[_0x8aa48d];if(!_0x182971)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x4b407e,'packageName':_0x8aa48d,'stableVersion':_0x25773c};let _0x187a96=getInstalledVersion(_0x3adee7,_0x8aa48d);!_0x187a96&&(_0x187a96=_0x182971);if(isNonNumericVersion(_0x182971))return{'installed':!![],'version':_0x187a96,'needsUpgrade':![],'minVersion':_0x4b407e,'packageName':_0x8aa48d,'stableVersion':_0x25773c};const _0x582ce9=a244_0x3c70ad[_0x2510c6(0x1ad)](_0x187a96),_0x23162d=a244_0x3c70ad[_0x2510c6(0x1ad)](_0x4b407e),_0x1dbb23=_0x582ce9&&_0x23162d?a244_0x3c70ad['lt'](_0x582ce9,_0x23162d):![];return{'installed':!![],'version':_0x187a96,'needsUpgrade':_0x1dbb23,'minVersion':_0x4b407e,'packageName':_0x8aa48d,'stableVersion':_0x25773c};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x4b407e,'packageName':_0x8aa48d,'stableVersion':_0x25773c};}}export function checkSdkVersionSync(_0x4add3b){const _0x536ce7=a244_0x5550,_0x58371a=a244_0x32e712[_0x536ce7(0x1b4)](_0x4add3b,'package.json'),_0x777d98=_0x536ce7(0x1d1);if(!a244_0x4778e1[_0x536ce7(0x1c9)](_0x58371a))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x777d98,'stableVersion':null};try{const _0x19e80f=JSON[_0x536ce7(0x1cb)](a244_0x4778e1[_0x536ce7(0x1b8)](_0x58371a,'utf8')),_0x2d6186=_0x19e80f[_0x536ce7(0x1c2)]||{},_0x2ef34d=_0x19e80f['devDependencies']||{},_0x1fdb71=_0x2d6186[_0x777d98]||_0x2ef34d[_0x777d98];if(!_0x1fdb71)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x777d98,'stableVersion':null};let _0x13232b=getInstalledVersion(_0x4add3b,_0x777d98);!_0x13232b&&(_0x13232b=_0x1fdb71);if(isNonNumericVersion(_0x1fdb71))return{'installed':!![],'version':_0x13232b,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x777d98,'stableVersion':null};const _0x505f4b=a244_0x3c70ad[_0x536ce7(0x1ad)](_0x13232b),_0x1bb5a1=_0x505f4b?a244_0x3c70ad['lt'](_0x505f4b,FALLBACK_MIN_SDK_VERSION):![];return{'installed':!![],'version':_0x13232b,'needsUpgrade':_0x1bb5a1,'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x777d98,'stableVersion':null};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x777d98,'stableVersion':null};}}export function printSdkUpgradeWarning(_0x102152){const _0x325ee1=a244_0x5550;if(!_0x102152[_0x325ee1(0x1bf)])return;const _0x40680f=_0x325ee1(0x1b9),_0x57ed57='\x1b[0m',_0x518523=_0x325ee1(0x1c7),_0x390798=_0x102152[_0x325ee1(0x1ab)]||_0x325ee1(0x1d1),_0x2151de=_0x102152[_0x325ee1(0x1c0)]||_0x102152[_0x325ee1(0x1cf)],_0x5a54b6=_0x325ee1(0x1c1)+_0x390798+'@'+(_0x2151de||'latest');console[_0x325ee1(0x1be)](),console[_0x325ee1(0x1be)](''+_0x40680f+_0x518523+_0x325ee1(0x1c6)+_0x57ed57),console[_0x325ee1(0x1be)](_0x40680f+_0x325ee1(0x1bd)+_0x390798+'@'+_0x102152[_0x325ee1(0x1bb)]+_0x57ed57),console['log'](_0x40680f+'\x20\x20\x20Stable\x20version:\x20'+_0x2151de+_0x57ed57),console['log'](_0x40680f+_0x325ee1(0x1c8)+_0x5a54b6+_0x57ed57),console['log']();}