@lovrabet/rabetbase-cli 2.3.7-beta.1 → 2.3.7-beta.2

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 (243) 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/dry-run.js +1 -1
  48. package/lib/commands/common/flags.js +1 -1
  49. package/lib/commands/common/local-file.js +1 -1
  50. package/lib/commands/common/validate.js +1 -1
  51. package/lib/commands/config/get.js +1 -1
  52. package/lib/commands/config/index.js +1 -1
  53. package/lib/commands/config/list.js +1 -1
  54. package/lib/commands/config/set.js +1 -1
  55. package/lib/commands/config/shared.js +1 -1
  56. package/lib/commands/data/filter.js +1 -1
  57. package/lib/commands/data/getOne.js +1 -1
  58. package/lib/commands/data/index.js +1 -1
  59. package/lib/commands/data/shared.js +1 -1
  60. package/lib/commands/dataset/business-group-update.js +1 -1
  61. package/lib/commands/dataset/capability.js +1 -1
  62. package/lib/commands/dataset/delete.js +1 -1
  63. package/lib/commands/dataset/detail.js +1 -1
  64. package/lib/commands/dataset/extend-update.js +1 -1
  65. package/lib/commands/dataset/field-update.js +1 -1
  66. package/lib/commands/dataset/generate.js +1 -1
  67. package/lib/commands/dataset/index.js +1 -1
  68. package/lib/commands/dataset/list.js +1 -1
  69. package/lib/commands/dataset/operations.js +1 -1
  70. package/lib/commands/dataset/relation-audit.js +1 -1
  71. package/lib/commands/dataset/relation-create.js +1 -1
  72. package/lib/commands/dataset/relation-delete.js +1 -1
  73. package/lib/commands/dataset/relation-shared.js +1 -1
  74. package/lib/commands/dataset/relation-update.js +1 -1
  75. package/lib/commands/dataset/relations.js +1 -1
  76. package/lib/commands/dataset/rename.js +1 -1
  77. package/lib/commands/dataset/restore.js +1 -1
  78. package/lib/commands/db/analysis-batching.js +1 -0
  79. package/lib/commands/db/analyze-batch-plan.js +1 -0
  80. package/lib/commands/db/analyze-cancel.js +1 -1
  81. package/lib/commands/db/analyze-start.js +1 -1
  82. package/lib/commands/db/analyze-status.js +1 -1
  83. package/lib/commands/db/create.js +1 -1
  84. package/lib/commands/db/delete.js +1 -1
  85. package/lib/commands/db/detail.js +1 -1
  86. package/lib/commands/db/diff.js +1 -1
  87. package/lib/commands/db/index.js +1 -1
  88. package/lib/commands/db/list.js +1 -1
  89. package/lib/commands/db/shared.js +1 -1
  90. package/lib/commands/db/tables.js +1 -1
  91. package/lib/commands/db/test.js +1 -1
  92. package/lib/commands/db/update.js +1 -1
  93. package/lib/commands/doctor.js +1 -1
  94. package/lib/commands/file/index.js +1 -1
  95. package/lib/commands/init/index.js +1 -1
  96. package/lib/commands/issue/index.js +1 -1
  97. package/lib/commands/issue/nudge.js +1 -1
  98. package/lib/commands/issue/report.js +1 -1
  99. package/lib/commands/issue/shared.js +1 -1
  100. package/lib/commands/logs/index.js +1 -1
  101. package/lib/commands/menu/index.js +1 -1
  102. package/lib/commands/menu/list.js +1 -1
  103. package/lib/commands/menu/shared/compare-table.js +1 -1
  104. package/lib/commands/menu/shared/index.js +1 -1
  105. package/lib/commands/menu/shared/inquirer.js +1 -1
  106. package/lib/commands/menu/shared/local-pages.js +1 -1
  107. package/lib/commands/menu/shared/logic.js +1 -1
  108. package/lib/commands/menu/shared/service.js +1 -1
  109. package/lib/commands/menu/shared/sync-core.js +1 -1
  110. package/lib/commands/menu/shared/update-core.js +1 -1
  111. package/lib/commands/menu/shared/valid-url.js +1 -1
  112. package/lib/commands/menu/sync.js +1 -1
  113. package/lib/commands/menu/update.js +1 -1
  114. package/lib/commands/page/generate-start.js +1 -1
  115. package/lib/commands/page/generate-status.js +1 -1
  116. package/lib/commands/page/index.js +1 -1
  117. package/lib/commands/page/pull.js +1 -1
  118. package/lib/commands/page/push.js +1 -1
  119. package/lib/commands/page/relation-audit.js +1 -1
  120. package/lib/commands/page/shared.js +1 -1
  121. package/lib/commands/page/standard-page-status.js +1 -1
  122. package/lib/commands/page/sync.js +1 -1
  123. package/lib/commands/permit/index.js +1 -1
  124. package/lib/commands/permit/page-get.js +1 -1
  125. package/lib/commands/permit/page-set.js +1 -1
  126. package/lib/commands/permit/role-apis-set.js +1 -1
  127. package/lib/commands/permit/role-menus-set.js +1 -1
  128. package/lib/commands/permit/role-menus.js +1 -1
  129. package/lib/commands/permit/shared.js +1 -1
  130. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  131. package/lib/commands/project/create/format-elapsed.js +1 -1
  132. package/lib/commands/project/create/main.js +1 -1
  133. package/lib/commands/project/create/non-interactive.js +1 -1
  134. package/lib/commands/project/create/project-template-path.js +1 -1
  135. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  136. package/lib/commands/project/create/use-format-code.js +1 -1
  137. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  138. package/lib/commands/project/index.js +1 -1
  139. package/lib/commands/project/init.js +1 -1
  140. package/lib/commands/project/upgrade.js +1 -1
  141. package/lib/commands/registry.js +1 -1
  142. package/lib/commands/role/create.js +1 -1
  143. package/lib/commands/role/delete.js +1 -1
  144. package/lib/commands/role/detail.js +1 -1
  145. package/lib/commands/role/index.js +1 -1
  146. package/lib/commands/role/list.js +1 -1
  147. package/lib/commands/role/shared.js +1 -1
  148. package/lib/commands/role/update.js +1 -1
  149. package/lib/commands/role/user-add.js +1 -1
  150. package/lib/commands/role/user-remove.js +1 -1
  151. package/lib/commands/role/user-resolve.js +1 -1
  152. package/lib/commands/run/index.js +1 -1
  153. package/lib/commands/schema.js +1 -1
  154. package/lib/commands/sql/create.js +1 -1
  155. package/lib/commands/sql/delete.js +1 -1
  156. package/lib/commands/sql/detail.js +1 -1
  157. package/lib/commands/sql/exec.js +1 -1
  158. package/lib/commands/sql/index.js +1 -1
  159. package/lib/commands/sql/list.js +1 -1
  160. package/lib/commands/sql/pull.js +1 -1
  161. package/lib/commands/sql/push.js +1 -1
  162. package/lib/commands/sql/save.js +1 -1
  163. package/lib/commands/sql/shared.js +1 -1
  164. package/lib/commands/sql/status.js +1 -1
  165. package/lib/commands/sql/validate.js +1 -1
  166. package/lib/commands/workspace/add.js +1 -1
  167. package/lib/commands/workspace/index.js +1 -1
  168. package/lib/commands/workspace/remove.js +1 -1
  169. package/lib/config/schema.js +1 -1
  170. package/lib/constant/cdn.js +1 -1
  171. package/lib/constant/cli.js +1 -1
  172. package/lib/constant/defaults.js +1 -1
  173. package/lib/constant/domain.js +1 -1
  174. package/lib/constant/env.js +1 -1
  175. package/lib/constant/output.js +1 -1
  176. package/lib/constant/paths.js +1 -1
  177. package/lib/constant/risk.js +1 -1
  178. package/lib/context/app-resolver.js +1 -1
  179. package/lib/context/auth-resolver.js +1 -1
  180. package/lib/context/config-loader.js +1 -1
  181. package/lib/context.js +1 -1
  182. package/lib/core/alias-resolver.js +1 -1
  183. package/lib/core/api-client.js +1 -1
  184. package/lib/core/bff/config.js +1 -1
  185. package/lib/core/bff/file-system.js +1 -1
  186. package/lib/core/bff/hash.js +1 -1
  187. package/lib/core/bff/lock.js +1 -1
  188. package/lib/core/bff/utils.js +1 -1
  189. package/lib/core/db-resolver.js +1 -1
  190. package/lib/core/page/file-system.js +1 -1
  191. package/lib/core/page/hash.js +1 -1
  192. package/lib/core/page/lock.js +1 -1
  193. package/lib/core/sql-sync/config.js +1 -1
  194. package/lib/core/sql-sync/file-system.js +1 -1
  195. package/lib/core/sql-sync/hash.js +1 -1
  196. package/lib/core/sql-sync/lock.js +1 -1
  197. package/lib/core/sql-sync/utils.js +1 -1
  198. package/lib/core/sql-validator.js +1 -1
  199. package/lib/errors.js +1 -1
  200. package/lib/framework/build-all-flags.js +1 -1
  201. package/lib/framework/flags.js +1 -1
  202. package/lib/framework/help.js +1 -1
  203. package/lib/framework/index.js +1 -1
  204. package/lib/framework/output.js +1 -1
  205. package/lib/framework/response.js +1 -1
  206. package/lib/framework/runner-alias.js +1 -1
  207. package/lib/framework/runner.js +1 -1
  208. package/lib/framework/schema-export.js +1 -1
  209. package/lib/framework/types.js +1 -1
  210. package/lib/generated/build-info.js +1 -1
  211. package/lib/help.js +1 -1
  212. package/lib/skills/main.js +1 -1
  213. package/lib/skills/npx-skills-add.js +1 -1
  214. package/lib/telemetry/cli-command-trace.js +1 -1
  215. package/lib/telemetry/cli-help-trace.js +1 -1
  216. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  217. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  218. package/lib/telemetry/send-cli-trace-log.js +1 -1
  219. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  220. package/lib/utils/ai_config.js +1 -1
  221. package/lib/utils/apply-jq-filter.js +1 -1
  222. package/lib/utils/cdn-config.js +1 -1
  223. package/lib/utils/check-sdk-version.js +1 -1
  224. package/lib/utils/cli-version-check.js +1 -1
  225. package/lib/utils/cli-version-policy.js +1 -1
  226. package/lib/utils/config.js +1 -1
  227. package/lib/utils/copy-directory.js +1 -1
  228. package/lib/utils/entity-with-id.js +1 -1
  229. package/lib/utils/file-utils.js +1 -1
  230. package/lib/utils/guides-cdn.js +1 -1
  231. package/lib/utils/http-client.js +1 -1
  232. package/lib/utils/is-non-interactive.js +1 -1
  233. package/lib/utils/logger.js +1 -1
  234. package/lib/utils/params.js +1 -1
  235. package/lib/utils/platform.js +1 -1
  236. package/lib/utils/rules-cdn.js +1 -1
  237. package/lib/utils/sleep.js +1 -1
  238. package/lib/utils/template-replacer.js +1 -1
  239. package/lib/utils/update-notice.js +1 -1
  240. package/lib/utils/version.js +1 -1
  241. package/lib/utils/with-active-cookie.js +1 -1
  242. package/lib/utils/write-cli-side-channel.js +1 -1
  243. package/package.json +1 -1
@@ -1 +1 @@
1
- function a198_0x217b(){const _0x559998=['2850085ZSnMcC','211547goABdC','.sql','unknown-sql','201920qByWlE','594HIbLNW','trimStart','977324IZBWEX','90560VbeKiy','4289940LDTxtf','3vnjkkU','test','mybatisXml','sql','16xcjKwN','replace','db-','3535828vegogX','.xml'];a198_0x217b=function(){return _0x559998;};return a198_0x217b();}(function(_0x22a1a7,_0x4bde81){const _0x57f2cf=a198_0x54aa,_0x55f887=_0x22a1a7();while(!![]){try{const _0x10dd5b=parseInt(_0x57f2cf(0x1d3))/0x1+parseInt(_0x57f2cf(0x1d4))/0x2+parseInt(_0x57f2cf(0x1d6))/0x3*(parseInt(_0x57f2cf(0x1ca))/0x4)+parseInt(_0x57f2cf(0x1cc))/0x5+-parseInt(_0x57f2cf(0x1d5))/0x6+-parseInt(_0x57f2cf(0x1cd))/0x7*(-parseInt(_0x57f2cf(0x1c7))/0x8)+-parseInt(_0x57f2cf(0x1d1))/0x9*(parseInt(_0x57f2cf(0x1d0))/0xa);if(_0x10dd5b===_0x4bde81)break;else _0x55f887['push'](_0x55f887['shift']());}catch(_0x2aaae2){_0x55f887['push'](_0x55f887['shift']());}}}(a198_0x217b,0x7778e));export function detectSqlMode(_0x516cd3){const _0x130f5b=a198_0x54aa,_0x3cafbd=_0x516cd3[_0x130f5b(0x1d2)]();if(/^<(select|insert|update|delete)\b/i[_0x130f5b(0x1d7)](_0x3cafbd))return _0x130f5b(0x1d8);return _0x130f5b(0x1c6);}export function getSqlFileExtension(_0x41218d){const _0xc924d3=a198_0x54aa;return _0x41218d===_0xc924d3(0x1d8)?_0xc924d3(0x1cb):_0xc924d3(0x1ce);}export function buildDefaultSqlFileName(_0x5f3d82,_0x2b5940){return''+_0x5f3d82+getSqlFileExtension(_0x2b5940);}function a198_0x54aa(_0x582146,_0xe1f88){_0x582146=_0x582146-0x1c6;const _0x217b25=a198_0x217b();let _0x54aa4c=_0x217b25[_0x582146];return _0x54aa4c;}export function sanitizeSqlPathSegment(_0x4a9e92,_0x59ab96){const _0x321fb7=a198_0x54aa,_0x591c45=String(_0x4a9e92??'')['trim'](),_0x23a7e8=_0x591c45[_0x321fb7(0x1c8)](/[<>:"/\\|?*\u0000-\u001F]/g,'-')[_0x321fb7(0x1c8)](/\s+/g,'-')[_0x321fb7(0x1c8)](/-+/g,'-')[_0x321fb7(0x1c8)](/^\.+/,'')[_0x321fb7(0x1c8)](/\.+$/,'')[_0x321fb7(0x1c8)](/^-+/,'')[_0x321fb7(0x1c8)](/-+$/,'');return _0x23a7e8||_0x59ab96;}export function buildDbDirectoryName(_0x4a578e,_0x2b1111){const _0x2ee825=a198_0x54aa;return sanitizeSqlPathSegment(_0x4a578e,_0x2b1111!=null?_0x2ee825(0x1c9)+_0x2b1111:'unknown-db');}export function buildSqlRelativePath(_0x27da3e,_0x29512a,_0x1b05eb,_0x265c9f,_0x4eca7b){const _0x56d7d6=a198_0x54aa,_0x50d5bf=buildDbDirectoryName(_0x1b05eb,_0x4eca7b),_0x35863a=sanitizeSqlPathSegment(_0x27da3e,_0x56d7d6(0x1cf)),_0x502bd4=sanitizeSqlPathSegment(_0x29512a,_0x35863a);return _0x50d5bf+'/'+_0x35863a+'_'+_0x502bd4+getSqlFileExtension(_0x265c9f);}
1
+ (function(_0x4a9a4d,_0x2c64a5){const _0x1d2c08=a200_0x5cad,_0x1a454c=_0x4a9a4d();while(!![]){try{const _0x36ba3a=parseInt(_0x1d2c08(0xe3))/0x1+-parseInt(_0x1d2c08(0xe0))/0x2+-parseInt(_0x1d2c08(0xe1))/0x3+-parseInt(_0x1d2c08(0xea))/0x4*(-parseInt(_0x1d2c08(0xf2))/0x5)+parseInt(_0x1d2c08(0xef))/0x6*(-parseInt(_0x1d2c08(0xeb))/0x7)+-parseInt(_0x1d2c08(0xe5))/0x8*(parseInt(_0x1d2c08(0xe2))/0x9)+-parseInt(_0x1d2c08(0xed))/0xa*(-parseInt(_0x1d2c08(0xf1))/0xb);if(_0x36ba3a===_0x2c64a5)break;else _0x1a454c['push'](_0x1a454c['shift']());}catch(_0x245899){_0x1a454c['push'](_0x1a454c['shift']());}}}(a200_0x2285,0xd0d70));function a200_0x2285(){const _0x37778c=['9UVZxAg','1493706KAdxSh','unknown-db','10743896xRmEsA','test','mybatisXml','replace','db-','5418664HdiHEe','7pyZunv','unknown-sql','120050NVyqsd','.xml','4182522sGTTQL','.sql','1485bzvmty','5xPQsIf','24yQUPTf','4720659fMBATf'];a200_0x2285=function(){return _0x37778c;};return a200_0x2285();}export function detectSqlMode(_0x435cbc){const _0x55d952=a200_0x5cad,_0x1d631d=_0x435cbc['trimStart']();if(/^<(select|insert|update|delete)\b/i[_0x55d952(0xe6)](_0x1d631d))return _0x55d952(0xe7);return'sql';}function a200_0x5cad(_0x550888,_0x4b0c34){_0x550888=_0x550888-0xe0;const _0x228588=a200_0x2285();let _0x5cadd3=_0x228588[_0x550888];return _0x5cadd3;}export function getSqlFileExtension(_0x120b06){const _0x40350c=a200_0x5cad;return _0x120b06===_0x40350c(0xe7)?_0x40350c(0xee):_0x40350c(0xf0);}export function buildDefaultSqlFileName(_0x47396d,_0x34f75e){return''+_0x47396d+getSqlFileExtension(_0x34f75e);}export function sanitizeSqlPathSegment(_0x4cf315,_0x3a0985){const _0x4d3516=a200_0x5cad,_0x16a7e5=String(_0x4cf315??'')['trim'](),_0x15db40=_0x16a7e5[_0x4d3516(0xe8)](/[<>:"/\\|?*\u0000-\u001F]/g,'-')[_0x4d3516(0xe8)](/\s+/g,'-')['replace'](/-+/g,'-')['replace'](/^\.+/,'')[_0x4d3516(0xe8)](/\.+$/,'')['replace'](/^-+/,'')['replace'](/-+$/,'');return _0x15db40||_0x3a0985;}export function buildDbDirectoryName(_0x3afed6,_0x2352f0){const _0xa287e3=a200_0x5cad;return sanitizeSqlPathSegment(_0x3afed6,_0x2352f0!=null?_0xa287e3(0xe9)+_0x2352f0:_0xa287e3(0xe4));}export function buildSqlRelativePath(_0x4cb9ea,_0x17eb97,_0x109c15,_0x5bf8ce,_0x25595e){const _0x44fcb3=a200_0x5cad,_0x19a6a5=buildDbDirectoryName(_0x109c15,_0x25595e),_0x1bd9e5=sanitizeSqlPathSegment(_0x4cb9ea,_0x44fcb3(0xec)),_0x2c4851=sanitizeSqlPathSegment(_0x17eb97,_0x1bd9e5);return _0x19a6a5+'/'+_0x1bd9e5+'_'+_0x2c4851+getSqlFileExtension(_0x5bf8ce);}
@@ -1 +1 @@
1
- (function(_0x4f9234,_0x5a06b9){const _0x4ea1cb=a199_0x2eab,_0x42b3b8=_0x4f9234();while(!![]){try{const _0x34100c=-parseInt(_0x4ea1cb(0x105))/0x1*(-parseInt(_0x4ea1cb(0xff))/0x2)+parseInt(_0x4ea1cb(0xe4))/0x3*(-parseInt(_0x4ea1cb(0x109))/0x4)+parseInt(_0x4ea1cb(0xe5))/0x5*(parseInt(_0x4ea1cb(0x10b))/0x6)+parseInt(_0x4ea1cb(0xfd))/0x7+parseInt(_0x4ea1cb(0xee))/0x8*(parseInt(_0x4ea1cb(0xf1))/0x9)+-parseInt(_0x4ea1cb(0xf9))/0xa*(-parseInt(_0x4ea1cb(0xe8))/0xb)+-parseInt(_0x4ea1cb(0xe6))/0xc*(parseInt(_0x4ea1cb(0xfb))/0xd);if(_0x34100c===_0x5a06b9)break;else _0x42b3b8['push'](_0x42b3b8['shift']());}catch(_0x424dfd){_0x42b3b8['push'](_0x42b3b8['shift']());}}}(a199_0x295d,0x858d6));function a199_0x2eab(_0x58d9f4,_0x1f913e){_0x58d9f4=_0x58d9f4-0xe3;const _0x295da1=a199_0x295d();let _0x2eabb9=_0x295da1[_0x58d9f4];return _0x2eabb9;}function a199_0x295d(){const _0x10ff0b=['1902846npHJLl','add','UPDATE','67326yPitfL','10GhkfAj','372lPpedK','SQL\x20contains\x20modification\x20statements\x20alongside\x20SELECT','72215zeWgKA','reason','push','WITH','isDangerous','trim','8IUDWog','\x20with\x20parameters:\x20','SQL\x20content\x20is\x20empty','2364507EVaslb','matchAll','replace','from','Unable\x20to\x20detect\x20SQL\x20type.\x20Please\x20check\x20the\x20SQL\x20content.','join','UNKNOWN','DDL','670ORCxtU','startsWith','1034761qXMnew','includes','7438844SKSHhC','split','2GYunAE','DELETE','INSERT','unknown\x20table(s)','type','test','974057qYUhjW','\x20statements\x20cannot\x20be\x20auto-saved.\x20Please\x20operate\x20manually\x20on\x20the\x20platform.','\x20query\x20targeting\x20','match','64sXoEvr','SELECT'];a199_0x295d=function(){return _0x10ff0b;};return a199_0x295d();}export function detectSqlType(_0x1159ff){const _0x102138=a199_0x2eab;if(!_0x1159ff?.[_0x102138(0xed)]())return{'type':_0x102138(0xf7),'isSelectOnly':![],'isDangerous':![],'reason':_0x102138(0xf0)};const _0x6715d=_0x1159ff[_0x102138(0xf3)](/#\{[^}]*\}/g,'?')[_0x102138(0xf3)](/\$\{[^}]*\}/g,'?')[_0x102138(0xf3)](/@[^(\s]+(\([^)]*\))?/g,'')['replace'](/\/\*[\s\S]*?\*\//g,'')['trim'](),_0x26fc32=_0x6715d[_0x102138(0xfe)]('\x0a');let _0x34720b='';for(const _0x578073 of _0x26fc32){const _0x571d9a=_0x578073[_0x102138(0xed)]();if(!_0x571d9a||_0x571d9a['startsWith']('--')||_0x571d9a[_0x102138(0xfa)]('/*'))continue;_0x34720b=_0x571d9a;break;}const _0xa436ab=_0x34720b['toUpperCase']();if(_0xa436ab[_0x102138(0xfa)](_0x102138(0x10a))||_0xa436ab[_0x102138(0xfa)](_0x102138(0xeb))){const _0xb1b41=/\b(INSERT|UPDATE|DELETE|DROP|ALTER|CREATE|TRUNCATE)\b/i[_0x102138(0x104)](_0x6715d);return{'type':_0x102138(0x10a),'isSelectOnly':!_0xb1b41,'isDangerous':_0xb1b41,'reason':_0xb1b41?_0x102138(0xe7):undefined};}if(_0xa436ab[_0x102138(0xfa)](_0x102138(0x101)))return{'type':_0x102138(0x101),'isSelectOnly':![],'isDangerous':![]};if(_0xa436ab[_0x102138(0xfa)](_0x102138(0xe3)))return{'type':_0x102138(0xe3),'isSelectOnly':![],'isDangerous':![]};if(_0xa436ab['startsWith'](_0x102138(0x100)))return{'type':_0x102138(0x100),'isSelectOnly':![],'isDangerous':!![],'reason':'DELETE\x20statements\x20are\x20blocked\x20from\x20auto-save'};if(/^(CREATE|ALTER|DROP|TRUNCATE)/i[_0x102138(0x104)](_0xa436ab))return{'type':_0x102138(0xf8),'isSelectOnly':![],'isDangerous':!![],'reason':'DDL\x20statements\x20are\x20blocked\x20from\x20auto-save'};return{'type':_0x102138(0xf7),'isSelectOnly':![],'isDangerous':![]};}function extractTables(_0x31d128){const _0x87ac34=a199_0x2eab,_0x26f0b7=_0x31d128[_0x87ac34(0xf3)](/#\{[^}]*\}/g,'?')[_0x87ac34(0xf3)](/\$\{[^}]*\}/g,'?')[_0x87ac34(0xf3)](/'[^']*'/g,'\x27\x27')[_0x87ac34(0xf3)](/--.*$/gm,'')['replace'](/\/\*[\s\S]*?\*\//g,''),_0x93c833=[],_0x3084b8=_0x26f0b7[_0x87ac34(0x108)](/FROM\s+([^\s,)(]+)/i);if(_0x3084b8?.[0x1])_0x93c833[_0x87ac34(0xea)](_0x3084b8[0x1][_0x87ac34(0xf3)](/[`"]/g,''));for(const _0x5ab757 of _0x26f0b7[_0x87ac34(0xf2)](/(?:INNER|LEFT|RIGHT|FULL|CROSS)?\s*JOIN\s+([^\s,)(]+)/gi)){const _0x1c5d1f=_0x5ab757[0x1]?.[_0x87ac34(0xf3)](/[`"]/g,'');if(_0x1c5d1f&&!_0x93c833['includes'](_0x1c5d1f))_0x93c833[_0x87ac34(0xea)](_0x1c5d1f);}const _0x5eb810=_0x26f0b7[_0x87ac34(0x108)](/INTO\s+([^\s(]+)/i);if(_0x5eb810?.[0x1]){const _0x446126=_0x5eb810[0x1][_0x87ac34(0xf3)](/[`"]/g,'');if(!_0x93c833[_0x87ac34(0xfc)](_0x446126))_0x93c833['push'](_0x446126);}const _0x39ce4e=_0x26f0b7['match'](/UPDATE\s+([^\s,)(]+)/i);if(_0x39ce4e?.[0x1]){const _0x2c32be=_0x39ce4e[0x1]['replace'](/[`"]/g,'');if(!_0x93c833[_0x87ac34(0xfc)](_0x2c32be))_0x93c833['push'](_0x2c32be);}return _0x93c833;}function extractParameters(_0x2be3c4){const _0x51b1a7=a199_0x2eab,_0x11a045=new Set();for(const _0xc89eec of _0x2be3c4[_0x51b1a7(0xf2)](/#\{(\w+)\}/g))if(_0xc89eec[0x1])_0x11a045[_0x51b1a7(0x10c)](_0xc89eec[0x1]);for(const _0x48766c of _0x2be3c4['matchAll'](/\$\{(\w+)\}/g))if(_0x48766c[0x1])_0x11a045['add'](_0x48766c[0x1]);return Array[_0x51b1a7(0xf4)](_0x11a045);}export function validateSql(_0x152598){const _0x5c82db=a199_0x2eab,_0xd4323e=detectSqlType(_0x152598),_0x44a456=extractTables(_0x152598),_0x4aeb8=extractParameters(_0x152598);if(_0xd4323e[_0x5c82db(0xec)])return{'valid':![],'sqlType':_0xd4323e,'tables':_0x44a456,'parameters':_0x4aeb8,'message':_0xd4323e[_0x5c82db(0xe9)]||_0xd4323e['type']+_0x5c82db(0x106)};if(_0xd4323e[_0x5c82db(0x103)]===_0x5c82db(0xf7))return{'valid':![],'sqlType':_0xd4323e,'tables':_0x44a456,'parameters':_0x4aeb8,'message':_0x5c82db(0xf5)};return{'valid':!![],'sqlType':_0xd4323e,'tables':_0x44a456,'parameters':_0x4aeb8,'message':_0xd4323e[_0x5c82db(0x103)]+_0x5c82db(0x107)+(_0x44a456['length']?_0x44a456[_0x5c82db(0xf6)](',\x20'):_0x5c82db(0x102))+(_0x4aeb8['length']?_0x5c82db(0xef)+_0x4aeb8['join'](',\x20'):'')};}
1
+ function a201_0x215c(){const _0x1996d9=['match','3010ppZphj','matchAll','add','24QeeXwT','458ImSIJL','UPDATE','1272206tAjiKy','INSERT','from','DELETE\x20statements\x20are\x20blocked\x20from\x20auto-save','11xguHAk','join','length','4zxOJcA','8JQYrEE','596001toESEg','722iASvOh','type','\x20with\x20parameters:\x20','UNKNOWN','replace','1375857nZmPny','SELECT','trim','DDL\x20statements\x20are\x20blocked\x20from\x20auto-save','SQL\x20contains\x20modification\x20statements\x20alongside\x20SELECT','915432IprbSR','2718yGZCDf','DDL','includes','2490000tKzwwV','startsWith','unknown\x20table(s)','reason','WITH','push','SQL\x20content\x20is\x20empty','toUpperCase','Unable\x20to\x20detect\x20SQL\x20type.\x20Please\x20check\x20the\x20SQL\x20content.'];a201_0x215c=function(){return _0x1996d9;};return a201_0x215c();}function a201_0x10fc(_0x473dc2,_0x3b937d){_0x473dc2=_0x473dc2-0x103;const _0x215c44=a201_0x215c();let _0x10fca8=_0x215c44[_0x473dc2];return _0x10fca8;}(function(_0x281fea,_0x2bae83){const _0x3a180d=a201_0x10fc,_0xdc6f86=_0x281fea();while(!![]){try{const _0x5cba9c=parseInt(_0x3a180d(0x116))/0x1*(parseInt(_0x3a180d(0x10a))/0x2)+parseInt(_0x3a180d(0x115))/0x3*(-parseInt(_0x3a180d(0x113))/0x4)+parseInt(_0x3a180d(0x106))/0x5*(parseInt(_0x3a180d(0x121))/0x6)+-parseInt(_0x3a180d(0x120))/0x7*(-parseInt(_0x3a180d(0x114))/0x8)+-parseInt(_0x3a180d(0x11b))/0x9+-parseInt(_0x3a180d(0x124))/0xa*(parseInt(_0x3a180d(0x110))/0xb)+parseInt(_0x3a180d(0x109))/0xc*(parseInt(_0x3a180d(0x10c))/0xd);if(_0x5cba9c===_0x2bae83)break;else _0xdc6f86['push'](_0xdc6f86['shift']());}catch(_0x518b0c){_0xdc6f86['push'](_0xdc6f86['shift']());}}}(a201_0x215c,0x280a4));export function detectSqlType(_0x40b0e6){const _0x4d5a32=a201_0x10fc;if(!_0x40b0e6?.[_0x4d5a32(0x11d)]())return{'type':_0x4d5a32(0x119),'isSelectOnly':![],'isDangerous':![],'reason':_0x4d5a32(0x12a)};const _0xa9e93d=_0x40b0e6[_0x4d5a32(0x11a)](/#\{[^}]*\}/g,'?')[_0x4d5a32(0x11a)](/\$\{[^}]*\}/g,'?')[_0x4d5a32(0x11a)](/@[^(\s]+(\([^)]*\))?/g,'')['replace'](/\/\*[\s\S]*?\*\//g,'')[_0x4d5a32(0x11d)](),_0x465afd=_0xa9e93d['split']('\x0a');let _0x5e7dd4='';for(const _0x377fc1 of _0x465afd){const _0x181071=_0x377fc1['trim']();if(!_0x181071||_0x181071[_0x4d5a32(0x125)]('--')||_0x181071['startsWith']('/*'))continue;_0x5e7dd4=_0x181071;break;}const _0x1df514=_0x5e7dd4[_0x4d5a32(0x103)]();if(_0x1df514[_0x4d5a32(0x125)](_0x4d5a32(0x11c))||_0x1df514[_0x4d5a32(0x125)](_0x4d5a32(0x128))){const _0x82f82e=/\b(INSERT|UPDATE|DELETE|DROP|ALTER|CREATE|TRUNCATE)\b/i['test'](_0xa9e93d);return{'type':_0x4d5a32(0x11c),'isSelectOnly':!_0x82f82e,'isDangerous':_0x82f82e,'reason':_0x82f82e?_0x4d5a32(0x11f):undefined};}if(_0x1df514[_0x4d5a32(0x125)](_0x4d5a32(0x10d)))return{'type':_0x4d5a32(0x10d),'isSelectOnly':![],'isDangerous':![]};if(_0x1df514[_0x4d5a32(0x125)](_0x4d5a32(0x10b)))return{'type':'UPDATE','isSelectOnly':![],'isDangerous':![]};if(_0x1df514[_0x4d5a32(0x125)]('DELETE'))return{'type':'DELETE','isSelectOnly':![],'isDangerous':!![],'reason':_0x4d5a32(0x10f)};if(/^(CREATE|ALTER|DROP|TRUNCATE)/i['test'](_0x1df514))return{'type':_0x4d5a32(0x122),'isSelectOnly':![],'isDangerous':!![],'reason':_0x4d5a32(0x11e)};return{'type':_0x4d5a32(0x119),'isSelectOnly':![],'isDangerous':![]};}function extractTables(_0x528674){const _0x4d371a=a201_0x10fc,_0x409077=_0x528674[_0x4d371a(0x11a)](/#\{[^}]*\}/g,'?')[_0x4d371a(0x11a)](/\$\{[^}]*\}/g,'?')[_0x4d371a(0x11a)](/'[^']*'/g,'\x27\x27')[_0x4d371a(0x11a)](/--.*$/gm,'')[_0x4d371a(0x11a)](/\/\*[\s\S]*?\*\//g,''),_0x2e32a8=[],_0x32653d=_0x409077[_0x4d371a(0x105)](/FROM\s+([^\s,)(]+)/i);if(_0x32653d?.[0x1])_0x2e32a8['push'](_0x32653d[0x1][_0x4d371a(0x11a)](/[`"]/g,''));for(const _0x578a5c of _0x409077['matchAll'](/(?:INNER|LEFT|RIGHT|FULL|CROSS)?\s*JOIN\s+([^\s,)(]+)/gi)){const _0x137716=_0x578a5c[0x1]?.[_0x4d371a(0x11a)](/[`"]/g,'');if(_0x137716&&!_0x2e32a8[_0x4d371a(0x123)](_0x137716))_0x2e32a8[_0x4d371a(0x129)](_0x137716);}const _0x440a20=_0x409077[_0x4d371a(0x105)](/INTO\s+([^\s(]+)/i);if(_0x440a20?.[0x1]){const _0x13f08b=_0x440a20[0x1]['replace'](/[`"]/g,'');if(!_0x2e32a8[_0x4d371a(0x123)](_0x13f08b))_0x2e32a8[_0x4d371a(0x129)](_0x13f08b);}const _0x1a84b7=_0x409077[_0x4d371a(0x105)](/UPDATE\s+([^\s,)(]+)/i);if(_0x1a84b7?.[0x1]){const _0x5dc8c8=_0x1a84b7[0x1][_0x4d371a(0x11a)](/[`"]/g,'');if(!_0x2e32a8[_0x4d371a(0x123)](_0x5dc8c8))_0x2e32a8[_0x4d371a(0x129)](_0x5dc8c8);}return _0x2e32a8;}function extractParameters(_0x5bcc06){const _0x2901cf=a201_0x10fc,_0x1364f2=new Set();for(const _0x573404 of _0x5bcc06[_0x2901cf(0x107)](/#\{(\w+)\}/g))if(_0x573404[0x1])_0x1364f2[_0x2901cf(0x108)](_0x573404[0x1]);for(const _0x1df8f9 of _0x5bcc06[_0x2901cf(0x107)](/\$\{(\w+)\}/g))if(_0x1df8f9[0x1])_0x1364f2[_0x2901cf(0x108)](_0x1df8f9[0x1]);return Array[_0x2901cf(0x10e)](_0x1364f2);}export function validateSql(_0x2ff17a){const _0x37d2d0=a201_0x10fc,_0x15d2f3=detectSqlType(_0x2ff17a),_0x2aa5a8=extractTables(_0x2ff17a),_0x153632=extractParameters(_0x2ff17a);if(_0x15d2f3['isDangerous'])return{'valid':![],'sqlType':_0x15d2f3,'tables':_0x2aa5a8,'parameters':_0x153632,'message':_0x15d2f3[_0x37d2d0(0x127)]||_0x15d2f3[_0x37d2d0(0x117)]+'\x20statements\x20cannot\x20be\x20auto-saved.\x20Please\x20operate\x20manually\x20on\x20the\x20platform.'};if(_0x15d2f3['type']==='UNKNOWN')return{'valid':![],'sqlType':_0x15d2f3,'tables':_0x2aa5a8,'parameters':_0x153632,'message':_0x37d2d0(0x104)};return{'valid':!![],'sqlType':_0x15d2f3,'tables':_0x2aa5a8,'parameters':_0x153632,'message':_0x15d2f3[_0x37d2d0(0x117)]+'\x20query\x20targeting\x20'+(_0x2aa5a8['length']?_0x2aa5a8[_0x37d2d0(0x111)](',\x20'):_0x37d2d0(0x126))+(_0x153632[_0x37d2d0(0x112)]?_0x37d2d0(0x118)+_0x153632[_0x37d2d0(0x111)](',\x20'):'')};}
package/lib/errors.js CHANGED
@@ -1 +1 @@
1
- function a200_0x6afd(_0x2af5ef,_0x219b4b){_0x2af5ef=_0x2af5ef-0x14a;const _0x4a909c=a200_0x4a90();let _0x6afd80=_0x4a909c[_0x2af5ef];return _0x6afd80;}const a200_0x3e7d3d=a200_0x6afd;(function(_0x2a664f,_0x1d5dda){const _0x4e7180=a200_0x6afd,_0x1c7d60=_0x2a664f();while(!![]){try{const _0x2e18aa=-parseInt(_0x4e7180(0x15e))/0x1+parseInt(_0x4e7180(0x15a))/0x2*(-parseInt(_0x4e7180(0x159))/0x3)+parseInt(_0x4e7180(0x153))/0x4*(parseInt(_0x4e7180(0x152))/0x5)+parseInt(_0x4e7180(0x154))/0x6*(-parseInt(_0x4e7180(0x151))/0x7)+parseInt(_0x4e7180(0x14a))/0x8*(-parseInt(_0x4e7180(0x158))/0x9)+parseInt(_0x4e7180(0x14c))/0xa*(-parseInt(_0x4e7180(0x14f))/0xb)+parseInt(_0x4e7180(0x150))/0xc*(parseInt(_0x4e7180(0x15d))/0xd);if(_0x2e18aa===_0x1d5dda)break;else _0x1c7d60['push'](_0x1c7d60['shift']());}catch(_0x4345a3){_0x1c7d60['push'](_0x1c7d60['shift']());}}}(a200_0x4a90,0x336c2));import{CliError,createCliErrors}from'@lovrabet/cli-framework';function a200_0x4a90(){const _0x54963d=['26qaRRFt','555ociXGe','2125544cAVvWH','\x20auth`\x20to\x20login\x20first.','10QuZZiR','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','Run\x20this\x20command\x20inside\x20a\x20project\x20with\x20.rabetbase.json\x20file.','4105783GjeFOl','5383272DwpHKD','7sbaJNt','890gxGXzF','7536kXCrzy','1042206JDcPaG','Set\x20appcode\x20via\x20`','Run\x20`','join','9SIDrlG','1056XQkvOX','1186xsIAiu','Tip:\x20`','\x20init\x20--appcode\x20<code>\x20--global`\x20registers\x20globally\x20so\x20you\x20can\x20use\x20it\x20from\x20anywhere.'];a200_0x4a90=function(){return _0x54963d;};return a200_0x4a90();}import{CLI_BIN_NAME}from'./constant/cli.js';export{CliError};export const CliErrors=createCliErrors({'cliBinName':CLI_BIN_NAME,'authRequiredHint':a200_0x3e7d3d(0x156)+CLI_BIN_NAME+a200_0x3e7d3d(0x14b),'configMissingHint':[a200_0x3e7d3d(0x155)+CLI_BIN_NAME+a200_0x3e7d3d(0x14d),a200_0x3e7d3d(0x15b)+CLI_BIN_NAME+a200_0x3e7d3d(0x15c)][a200_0x3e7d3d(0x157)]('\x0a\x20\x20\x20\x20\x20\x20\x20'),'notInProjectHint':a200_0x3e7d3d(0x14e)});
1
+ const a202_0x4cfb61=a202_0x19f8;function a202_0x19f8(_0x5285bf,_0x1b3a67){_0x5285bf=_0x5285bf-0x1c7;const _0x88aaeb=a202_0x88aa();let _0x19f8dc=_0x88aaeb[_0x5285bf];return _0x19f8dc;}(function(_0x4a6de6,_0x58d30b){const _0x47a98d=a202_0x19f8,_0x34330d=_0x4a6de6();while(!![]){try{const _0x45d62b=parseInt(_0x47a98d(0x1d2))/0x1+-parseInt(_0x47a98d(0x1d6))/0x2+-parseInt(_0x47a98d(0x1cf))/0x3*(parseInt(_0x47a98d(0x1d7))/0x4)+parseInt(_0x47a98d(0x1cc))/0x5*(parseInt(_0x47a98d(0x1c7))/0x6)+parseInt(_0x47a98d(0x1c9))/0x7*(parseInt(_0x47a98d(0x1d5))/0x8)+-parseInt(_0x47a98d(0x1d4))/0x9+-parseInt(_0x47a98d(0x1d1))/0xa*(-parseInt(_0x47a98d(0x1ce))/0xb);if(_0x45d62b===_0x58d30b)break;else _0x34330d['push'](_0x34330d['shift']());}catch(_0x22b9cf){_0x34330d['push'](_0x34330d['shift']());}}}(a202_0x88aa,0x384f8));import{CliError,createCliErrors}from'@lovrabet/cli-framework';import{CLI_BIN_NAME}from'./constant/cli.js';export{CliError};export const CliErrors=createCliErrors({'cliBinName':CLI_BIN_NAME,'authRequiredHint':a202_0x4cfb61(0x1d9)+CLI_BIN_NAME+a202_0x4cfb61(0x1d0),'configMissingHint':['Set\x20appcode\x20via\x20`'+CLI_BIN_NAME+a202_0x4cfb61(0x1cb),a202_0x4cfb61(0x1d3)+CLI_BIN_NAME+a202_0x4cfb61(0x1ca)][a202_0x4cfb61(0x1d8)](a202_0x4cfb61(0x1c8)),'notInProjectHint':a202_0x4cfb61(0x1cd)});function a202_0x88aa(){const _0x4ca0ab=['3tJgCFR','\x20auth`\x20to\x20login\x20first.','650930AoGSpH','200327AbYiCz','Tip:\x20`','2456856elRoqQ','8qBjAgH','897686ReLfwK','7804VPrikL','join','Run\x20`','66642bIgGSE','\x0a\x20\x20\x20\x20\x20\x20\x20','346129SNSfEt','\x20init\x20--appcode\x20<code>\x20--global`\x20registers\x20globally\x20so\x20you\x20can\x20use\x20it\x20from\x20anywhere.','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','200KfbYFq','Run\x20this\x20command\x20inside\x20a\x20project\x20with\x20.rabetbase.json\x20file.','44HPQPLy'];a202_0x88aa=function(){return _0x4ca0ab;};return a202_0x88aa();}
@@ -1 +1 @@
1
- (function(_0x4fd4ce,_0x3657bb){var _0x52958d=a201_0x1554,_0xd8774d=_0x4fd4ce();while(!![]){try{var _0x534f48=-parseInt(_0x52958d(0x133))/0x1+-parseInt(_0x52958d(0x132))/0x2*(-parseInt(_0x52958d(0x12a))/0x3)+-parseInt(_0x52958d(0x131))/0x4*(-parseInt(_0x52958d(0x12b))/0x5)+-parseInt(_0x52958d(0x12c))/0x6+parseInt(_0x52958d(0x12f))/0x7*(-parseInt(_0x52958d(0x12e))/0x8)+-parseInt(_0x52958d(0x134))/0x9+-parseInt(_0x52958d(0x130))/0xa*(-parseInt(_0x52958d(0x12d))/0xb);if(_0x534f48===_0x3657bb)break;else _0xd8774d['push'](_0xd8774d['shift']());}catch(_0x19eb7b){_0xd8774d['push'](_0xd8774d['shift']());}}}(a201_0x4475,0x90c0b));import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';import{buildAllFlags as a201_0x55d271}from'@lovrabet/cli-framework';function a201_0x1554(_0xdff745,_0x473c32){_0xdff745=_0xdff745-0x12a;var _0x4475ae=a201_0x4475();var _0x1554ff=_0x4475ae[_0xdff745];return _0x1554ff;}function a201_0x4475(){var _0x4e2870=['4065376izBOEJ','7KFOFki','30veoLgC','106980XMPeWD','2vdGYxL','988437sgLFtF','3045195ROnSkq','1695045UEjbvZ','80XydicF','3313350YjnLez','7286257IsJvJc'];a201_0x4475=function(){return _0x4e2870;};return a201_0x4475();}export function buildAllFlags(_0x2994fa){return a201_0x55d271(_0x2994fa,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});}
1
+ function a203_0x5cbd(_0x546728,_0x3b3e9e){_0x546728=_0x546728-0x6a;var _0x27ec28=a203_0x27ec();var _0x5cbd68=_0x27ec28[_0x546728];return _0x5cbd68;}(function(_0xdb6d78,_0x58bec5){var _0x4a6e2e=a203_0x5cbd,_0x31b341=_0xdb6d78();while(!![]){try{var _0x30a084=parseInt(_0x4a6e2e(0x71))/0x1+-parseInt(_0x4a6e2e(0x6e))/0x2+-parseInt(_0x4a6e2e(0x72))/0x3+parseInt(_0x4a6e2e(0x6f))/0x4*(parseInt(_0x4a6e2e(0x6d))/0x5)+parseInt(_0x4a6e2e(0x6b))/0x6+parseInt(_0x4a6e2e(0x6c))/0x7+-parseInt(_0x4a6e2e(0x70))/0x8*(parseInt(_0x4a6e2e(0x6a))/0x9);if(_0x30a084===_0x58bec5)break;else _0x31b341['push'](_0x31b341['shift']());}catch(_0x4f0b72){_0x31b341['push'](_0x31b341['shift']());}}}(a203_0x27ec,0x9b332));import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';function a203_0x27ec(){var _0x3a86ca=['8YayEfK','18354912TADYNK','1270705PFwfTT','743187ZjtdIQ','9ferpqN','7269006STWrex','2451085fRHxFR','2530660kRGfIo','1333668wylQYP'];a203_0x27ec=function(){return _0x3a86ca;};return a203_0x27ec();}import{buildAllFlags as a203_0x14e97c}from'@lovrabet/cli-framework';export function buildAllFlags(_0x455318){return a203_0x14e97c(_0x455318,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});}
@@ -1 +1 @@
1
- const a202_0x21b076=a202_0x22b3;(function(_0x269a2e,_0x13f918){const _0x196731=a202_0x22b3,_0x323a76=_0x269a2e();while(!![]){try{const _0x51c987=parseInt(_0x196731(0xa5))/0x1+parseInt(_0x196731(0xa3))/0x2+parseInt(_0x196731(0xaa))/0x3+-parseInt(_0x196731(0xa4))/0x4+-parseInt(_0x196731(0xa6))/0x5*(parseInt(_0x196731(0xa0))/0x6)+-parseInt(_0x196731(0xa2))/0x7*(-parseInt(_0x196731(0xa8))/0x8)+parseInt(_0x196731(0xa7))/0x9*(parseInt(_0x196731(0xa9))/0xa);if(_0x51c987===_0x13f918)break;else _0x323a76['push'](_0x323a76['shift']());}catch(_0x51445c){_0x323a76['push'](_0x323a76['shift']());}}}(a202_0x5eb9,0x89a22));import{createFlagHelpers}from'@lovrabet/cli-framework';function a202_0x22b3(_0x487d10,_0x1b937b){_0x487d10=_0x487d10-0xa0;const _0x5eb97a=a202_0x5eb9();let _0x22b3a5=_0x5eb97a[_0x487d10];return _0x22b3a5;}import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers['parseFlags'];export const validateFlags=helpers[a202_0x21b076(0xa1)];function a202_0x5eb9(){const _0x51ea38=['1332328NQAnLY','651552EIAUyM','51305TMjvzr','234GyYpXv','317080ndFQSB','25140JkWKYB','1349454nJbkSS','186RhsRhx','validateFlags','7bdAlph','17100AewgrE'];a202_0x5eb9=function(){return _0x51ea38;};return a202_0x5eb9();}
1
+ (function(_0x258137,_0x5864f7){const _0x3e487a=a204_0x5669,_0x341247=_0x258137();while(!![]){try{const _0x3d21c1=-parseInt(_0x3e487a(0x144))/0x1+-parseInt(_0x3e487a(0x142))/0x2+-parseInt(_0x3e487a(0x146))/0x3*(parseInt(_0x3e487a(0x147))/0x4)+parseInt(_0x3e487a(0x149))/0x5*(parseInt(_0x3e487a(0x145))/0x6)+-parseInt(_0x3e487a(0x14b))/0x7*(-parseInt(_0x3e487a(0x14a))/0x8)+-parseInt(_0x3e487a(0x148))/0x9+parseInt(_0x3e487a(0x143))/0xa;if(_0x3d21c1===_0x5864f7)break;else _0x341247['push'](_0x341247['shift']());}catch(_0x41795b){_0x341247['push'](_0x341247['shift']());}}}(a204_0x2228,0x57d11));function a204_0x5669(_0x2c92ca,_0x204c6b){_0x2c92ca=_0x2c92ca-0x142;const _0x2228af=a204_0x2228();let _0x5669af=_0x2228af[_0x2c92ca];return _0x5669af;}import{createFlagHelpers}from'@lovrabet/cli-framework';function a204_0x2228(){const _0x14693b=['19605QBhOPX','348NhRdQF','2080341nHtjro','1240505EFQwEn','272akuVqi','33873jBQlNa','947280bkzery','19121190nuyfeW','691715AYcarL','6vFBQoX'];a204_0x2228=function(){return _0x14693b;};return a204_0x2228();}import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers['parseFlags'];export const validateFlags=helpers['validateFlags'];
@@ -1 +1 @@
1
- const a203_0x49a4c8=a203_0x4791;function a203_0x4791(_0x5e9e68,_0x21f975){_0x5e9e68=_0x5e9e68-0x6a;const _0x172dac=a203_0x172d();let _0x4791e7=_0x172dac[_0x5e9e68];return _0x4791e7;}(function(_0x36ab00,_0x1d5357){const _0x5b90e8=a203_0x4791,_0x4963b9=_0x36ab00();while(!![]){try{const _0x279025=parseInt(_0x5b90e8(0x6e))/0x1+-parseInt(_0x5b90e8(0x74))/0x2+parseInt(_0x5b90e8(0x70))/0x3*(parseInt(_0x5b90e8(0x71))/0x4)+parseInt(_0x5b90e8(0x72))/0x5*(parseInt(_0x5b90e8(0x6d))/0x6)+-parseInt(_0x5b90e8(0x76))/0x7+parseInt(_0x5b90e8(0x75))/0x8*(-parseInt(_0x5b90e8(0x73))/0x9)+parseInt(_0x5b90e8(0x6a))/0xa*(parseInt(_0x5b90e8(0x6f))/0xb);if(_0x279025===_0x1d5357)break;else _0x4963b9['push'](_0x4963b9['shift']());}catch(_0x2c74fc){_0x4963b9['push'](_0x4963b9['shift']());}}}(a203_0x172d,0x98e67));import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';function a203_0x172d(){const _0x595deb=['707228wwJDdA','186955DNQPrr','828vSdQjA','16662kyhbcN','21488fjxRIk','7582911WbHyjM','generateCommandHelp','17570yWgbqh','generateServiceHelp','\x20workspace\x20init`\x20or\x20--appcode).','138iNCzoa','167607lMGTrE','1441ofgwuQ','12yelRMi'];a203_0x172d=function(){return _0x595deb;};return a203_0x172d();}import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';const generators=createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0xbfaeed=>serviceGroups['get'](_0xbfaeed),'buildAllFlags':buildAllFlags,'appPrerequisiteText':'Requires\x20appcode\x20(set\x20via\x20`'+CLI_BIN_NAME+a203_0x49a4c8(0x6c),'serviceUsageSuffix':'\x20[args]\x20[flags]'});export function generateCommandHelp(_0x1569e8){const _0x3feb4d=a203_0x49a4c8;return generators[_0x3feb4d(0x77)](_0x1569e8);}export const generateServiceHelp=generators[a203_0x49a4c8(0x6b)];export const generateFullHelp=generators['generateFullHelp'];
1
+ const a205_0x3f3890=a205_0x40bc;(function(_0x3efc12,_0xf900fa){const _0x2aac30=a205_0x40bc,_0xec9a0f=_0x3efc12();while(!![]){try{const _0xf0c96e=-parseInt(_0x2aac30(0x9e))/0x1*(-parseInt(_0x2aac30(0x93))/0x2)+-parseInt(_0x2aac30(0x9d))/0x3+parseInt(_0x2aac30(0x96))/0x4*(parseInt(_0x2aac30(0x92))/0x5)+parseInt(_0x2aac30(0x97))/0x6*(-parseInt(_0x2aac30(0x9a))/0x7)+-parseInt(_0x2aac30(0x9b))/0x8+parseInt(_0x2aac30(0x9c))/0x9+-parseInt(_0x2aac30(0x9f))/0xa;if(_0xf0c96e===_0xf900fa)break;else _0xec9a0f['push'](_0xec9a0f['shift']());}catch(_0x5a4040){_0xec9a0f['push'](_0xec9a0f['shift']());}}}(a205_0xa75b,0xc5a35));import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';function a205_0xa75b(){const _0x3146fd=['2ougkLQ','generateCommandHelp','get','98720BkehWE','12hbnMNY','Requires\x20appcode\x20(set\x20via\x20`','generateFullHelp','1556303OnoHWZ','2016536bZPLdQ','8729946WmJrrp','1819878RaOnnb','1510255kNRWSG','3920530QFyCbr','generateServiceHelp','5hfBdOk'];a205_0xa75b=function(){return _0x3146fd;};return a205_0xa75b();}import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';const generators=createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0xd02b0b=>serviceGroups[a205_0x3f3890(0x95)](_0xd02b0b),'buildAllFlags':buildAllFlags,'appPrerequisiteText':a205_0x3f3890(0x98)+CLI_BIN_NAME+'\x20workspace\x20init`\x20or\x20--appcode).','serviceUsageSuffix':'\x20[args]\x20[flags]'});export function generateCommandHelp(_0x552ba7){const _0x3d0498=a205_0x3f3890;return generators[_0x3d0498(0x94)](_0x552ba7);}function a205_0x40bc(_0x5e372b,_0x233831){_0x5e372b=_0x5e372b-0x92;const _0xa75bb3=a205_0xa75b();let _0x40bc71=_0xa75bb3[_0x5e372b];return _0x40bc71;}export const generateServiceHelp=generators[a205_0x3f3890(0xa0)];export const generateFullHelp=generators[a205_0x3f3890(0x99)];
@@ -1 +1 @@
1
- (function(_0x32e64f,_0x2e4fbc){var _0x4b2821=a204_0x5b86,_0x33ce73=_0x32e64f();while(!![]){try{var _0x15f5b1=parseInt(_0x4b2821(0x155))/0x1*(-parseInt(_0x4b2821(0x154))/0x2)+-parseInt(_0x4b2821(0x14e))/0x3+-parseInt(_0x4b2821(0x152))/0x4+-parseInt(_0x4b2821(0x151))/0x5+-parseInt(_0x4b2821(0x153))/0x6+parseInt(_0x4b2821(0x156))/0x7+-parseInt(_0x4b2821(0x150))/0x8*(-parseInt(_0x4b2821(0x14f))/0x9);if(_0x15f5b1===_0x2e4fbc)break;else _0x33ce73['push'](_0x33ce73['shift']());}catch(_0x48b6b0){_0x33ce73['push'](_0x33ce73['shift']());}}}(a204_0x55ca,0xe1a03));export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';function a204_0x55ca(){var _0x5a8d63=['38863nFDccX','10080406VVcVGr','4398435shGcEs','48675357mapXaL','8yUdmsU','7984300fKeyNc','6635764KFxLVR','6980754qeSTQP','2ngNGDy'];a204_0x55ca=function(){return _0x5a8d63;};return a204_0x55ca();}function a204_0x5b86(_0xbe220c,_0x2f5103){_0xbe220c=_0xbe220c-0x14e;var _0x55ca39=a204_0x55ca();var _0x5b86d2=_0x55ca39[_0xbe220c];return _0x5b86d2;}export{formatOutput}from'../framework/output.js';export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';export{riskLevelOrder}from'../framework/types.js';
1
+ (function(_0x2b6182,_0x542c8b){var _0x4e2ee3=a206_0x2ed0,_0x4fc13d=_0x2b6182();while(!![]){try{var _0xd31710=parseInt(_0x4e2ee3(0x1c6))/0x1*(parseInt(_0x4e2ee3(0x1c7))/0x2)+-parseInt(_0x4e2ee3(0x1bf))/0x3+-parseInt(_0x4e2ee3(0x1be))/0x4*(-parseInt(_0x4e2ee3(0x1c5))/0x5)+parseInt(_0x4e2ee3(0x1c4))/0x6+parseInt(_0x4e2ee3(0x1c2))/0x7+-parseInt(_0x4e2ee3(0x1c3))/0x8*(parseInt(_0x4e2ee3(0x1c0))/0x9)+-parseInt(_0x4e2ee3(0x1c1))/0xa;if(_0xd31710===_0x542c8b)break;else _0x4fc13d['push'](_0x4fc13d['shift']());}catch(_0x11cdf6){_0x4fc13d['push'](_0x4fc13d['shift']());}}}(a206_0xa1b4,0xeee76));export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';function a206_0x2ed0(_0x1435d5,_0x4dab39){_0x1435d5=_0x1435d5-0x1be;var _0xa1b4f4=a206_0xa1b4();var _0x2ed022=_0xa1b4f4[_0x1435d5];return _0x2ed022;}export{riskLevelOrder}from'../framework/types.js';function a206_0xa1b4(){var _0x13b87f=['2816812tOCrYG','5614772jRvAMp','5089644dgeYsy','20799htJRjM','19543420WtDsQi','4206671XOZBAh','1544KbCpfo','9974466pXbtmd','5uglWvH','1xyOmCY'];a206_0xa1b4=function(){return _0x13b87f;};return a206_0xa1b4();}
@@ -1 +1 @@
1
- (function(_0x43655e,_0x123d65){const _0x197c52=a205_0x433b,_0x5794f8=_0x43655e();while(!![]){try{const _0x2e7dba=parseInt(_0x197c52(0x14d))/0x1+parseInt(_0x197c52(0x159))/0x2+-parseInt(_0x197c52(0x14b))/0x3*(-parseInt(_0x197c52(0x153))/0x4)+-parseInt(_0x197c52(0x14e))/0x5*(parseInt(_0x197c52(0x158))/0x6)+-parseInt(_0x197c52(0x14f))/0x7+parseInt(_0x197c52(0x156))/0x8+-parseInt(_0x197c52(0x152))/0x9*(parseInt(_0x197c52(0x157))/0xa);if(_0x2e7dba===_0x123d65)break;else _0x5794f8['push'](_0x5794f8['shift']());}catch(_0x367206){_0x5794f8['push'](_0x5794f8['shift']());}}}(a205_0xd6e2,0xb9517));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a205_0x433b(_0x3ca7c5,_0x6eb4eb){_0x3ca7c5=_0x3ca7c5-0x14b;const _0xd6e24a=a205_0xd6e2();let _0x433b78=_0xd6e24a[_0x3ca7c5];return _0x433b78;}import{CliErrors}from'../errors.js';const baseFormatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});function a205_0xd6e2(){const _0x106f92=['2992790Emshel','error','9948AHjIvR','format','132859bBhWfF','1791445kdqFrn','5789483zZCgQX','update','url','9vhYTMx','1384whMjgu','message','_notice','2883448dQDiqc','8343110eamUod','12PTjvCt'];a205_0xd6e2=function(){return _0x106f92;};return a205_0xd6e2();}export function formatOutput(_0x3505bb,_0x44bf07){const _0x342881=a205_0x433b,_0x2b72d9=_0x3505bb[_0x342881(0x155)],{_notice:_0x2b6df0,..._0x1b9ae3}=_0x3505bb;void _0x2b6df0,baseFormatOutput(_0x1b9ae3,_0x44bf07),_0x44bf07[_0x342881(0x14c)]==='pretty'&&printPrettyNotice(_0x2b72d9);}function printPrettyNotice(_0x31b411){const _0x56e690=a205_0x433b;if(!_0x31b411?.['update'])return;console[_0x56e690(0x15a)](_0x31b411[_0x56e690(0x150)][_0x56e690(0x154)]+'\x20('+_0x31b411[_0x56e690(0x150)][_0x56e690(0x151)]+')');}
1
+ (function(_0x25c75a,_0x4a0303){const _0x1829ba=a207_0x59a2,_0x343e3d=_0x25c75a();while(!![]){try{const _0x3d5cb2=parseInt(_0x1829ba(0x1cb))/0x1*(-parseInt(_0x1829ba(0x1c1))/0x2)+-parseInt(_0x1829ba(0x1c7))/0x3*(-parseInt(_0x1829ba(0x1c4))/0x4)+-parseInt(_0x1829ba(0x1c8))/0x5+-parseInt(_0x1829ba(0x1ca))/0x6*(-parseInt(_0x1829ba(0x1c0))/0x7)+-parseInt(_0x1829ba(0x1bf))/0x8+parseInt(_0x1829ba(0x1c9))/0x9*(parseInt(_0x1829ba(0x1c6))/0xa)+parseInt(_0x1829ba(0x1be))/0xb;if(_0x3d5cb2===_0x4a0303)break;else _0x343e3d['push'](_0x343e3d['shift']());}catch(_0x5218f2){_0x343e3d['push'](_0x343e3d['shift']());}}}(a207_0x4f60,0x2d458));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';const baseFormatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});function a207_0x59a2(_0x41353a,_0x83fc8e){_0x41353a=_0x41353a-0x1bc;const _0x4f6068=a207_0x4f60();let _0x59a2a3=_0x4f6068[_0x41353a];return _0x59a2a3;}function a207_0x4f60(){const _0x595e9d=['10VCQXdc','976029CimMJh','196845vRrAjk','3220659fLxOLg','3426hUMHpY','321844VyEVlF','message','update','url','222508pcgGAr','1395824HiLbCS','217GoQSXe','2NcszrD','_notice','error','4nsADds','pretty'];a207_0x4f60=function(){return _0x595e9d;};return a207_0x4f60();}export function formatOutput(_0x20b190,_0xb472c6){const _0x216f5d=a207_0x59a2,_0x571032=_0x20b190[_0x216f5d(0x1c2)],{_notice:_0x5a4ebf,..._0x57a85b}=_0x20b190;void _0x5a4ebf,baseFormatOutput(_0x57a85b,_0xb472c6),_0xb472c6['format']===_0x216f5d(0x1c5)&&printPrettyNotice(_0x571032);}function printPrettyNotice(_0x3734c1){const _0x9b9cc0=a207_0x59a2;if(!_0x3734c1?.[_0x9b9cc0(0x1bc)])return;console[_0x9b9cc0(0x1c3)](_0x3734c1[_0x9b9cc0(0x1bc)][_0x9b9cc0(0x1cc)]+'\x20('+_0x3734c1[_0x9b9cc0(0x1bc)][_0x9b9cc0(0x1bd)]+')');}
@@ -1 +1 @@
1
- function a206_0x27f6(_0x5ad3a2,_0x5a1bfd){_0x5ad3a2=_0x5ad3a2-0xc5;var _0x53a98f=a206_0x53a9();var _0x27f6d5=_0x53a98f[_0x5ad3a2];return _0x27f6d5;}(function(_0x2b0ffc,_0x560b82){var _0x25ff63=a206_0x27f6,_0x4cb2bd=_0x2b0ffc();while(!![]){try{var _0x50dce6=-parseInt(_0x25ff63(0xc5))/0x1+-parseInt(_0x25ff63(0xc8))/0x2*(-parseInt(_0x25ff63(0xcb))/0x3)+parseInt(_0x25ff63(0xcc))/0x4+parseInt(_0x25ff63(0xcd))/0x5+parseInt(_0x25ff63(0xc9))/0x6*(-parseInt(_0x25ff63(0xca))/0x7)+parseInt(_0x25ff63(0xc6))/0x8+-parseInt(_0x25ff63(0xc7))/0x9;if(_0x50dce6===_0x560b82)break;else _0x4cb2bd['push'](_0x4cb2bd['shift']());}catch(_0x308372){_0x4cb2bd['push'](_0x4cb2bd['shift']());}}}(a206_0x53a9,0x47edd));export{extractList,extractPaging}from'@lovrabet/cli-framework';function a206_0x53a9(){var _0x9c890d=['16644HuJcCd','301VSnKzO','215019GJmDaY','374828rOYMjG','2224940AsINSH','465079MjNQeU','3708264GCkOMt','4334499UqhLjg','10zndtjk'];a206_0x53a9=function(){return _0x9c890d;};return a206_0x53a9();}
1
+ (function(_0x18e823,_0x331560){var _0x48795f=a208_0x16ed,_0x1d7a59=_0x18e823();while(!![]){try{var _0x49358d=parseInt(_0x48795f(0x1e2))/0x1*(-parseInt(_0x48795f(0x1e9))/0x2)+-parseInt(_0x48795f(0x1e1))/0x3+parseInt(_0x48795f(0x1e3))/0x4+parseInt(_0x48795f(0x1ea))/0x5+parseInt(_0x48795f(0x1e7))/0x6*(-parseInt(_0x48795f(0x1e5))/0x7)+-parseInt(_0x48795f(0x1e4))/0x8*(-parseInt(_0x48795f(0x1e6))/0x9)+parseInt(_0x48795f(0x1e8))/0xa;if(_0x49358d===_0x331560)break;else _0x1d7a59['push'](_0x1d7a59['shift']());}catch(_0x33957f){_0x1d7a59['push'](_0x1d7a59['shift']());}}}(a208_0xed2f,0xddde5));function a208_0x16ed(_0x268b5c,_0x5e7c96){_0x268b5c=_0x268b5c-0x1e1;var _0xed2f7=a208_0xed2f();var _0x16edc3=_0xed2f7[_0x268b5c];return _0x16edc3;}function a208_0xed2f(){var _0x41078e=['1842992ICUwCh','993464hnaZrL','7FLSIjT','117HrlyND','9829818CcUeMO','3864760SzmEls','557432qQClnu','4098330HSUmbX','1366431ZYGNkz','1GtnYOj'];a208_0xed2f=function(){return _0x41078e;};return a208_0xed2f();}export{extractList,extractPaging}from'@lovrabet/cli-framework';
@@ -1 +1 @@
1
- (function(_0x27e386,_0x1fc042){const _0x143083=a207_0x1d2c,_0x39cfbe=_0x27e386();while(!![]){try{const _0x39504d=parseInt(_0x143083(0x12c))/0x1+-parseInt(_0x143083(0x132))/0x2+-parseInt(_0x143083(0x13d))/0x3+-parseInt(_0x143083(0x133))/0x4*(-parseInt(_0x143083(0x12f))/0x5)+-parseInt(_0x143083(0x12b))/0x6*(-parseInt(_0x143083(0x139))/0x7)+-parseInt(_0x143083(0x13a))/0x8+parseInt(_0x143083(0x13b))/0x9*(parseInt(_0x143083(0x12e))/0xa);if(_0x39504d===_0x1fc042)break;else _0x39cfbe['push'](_0x39cfbe['shift']());}catch(_0x13a957){_0x39cfbe['push'](_0x39cfbe['shift']());}}}(a207_0xaaa4,0x7f19f));import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';export function resolveAliasToCode(_0x4326ea,_0x27120e,_0x680380,_0x46ffcd){const _0x24dccc=a207_0x1d2c,_0x2d5baf=_0x4326ea[_0x24dccc(0x135)]['some'](_0x5c77ca=>_0x5c77ca['name']===_0x24dccc(0x136)&&_0x5c77ca['type']===_0x24dccc(0x137)),_0xe725e3=_0x4326ea[_0x24dccc(0x135)][_0x24dccc(0x134)](_0x21672d=>_0x21672d[_0x24dccc(0x140)]===_0x24dccc(0x138)&&_0x21672d['type']==='string');if(!_0x2d5baf||!_0xe725e3)return;const _0x1d4462=_0x27120e[_0x24dccc(0x136)]?String(_0x27120e[_0x24dccc(0x136)]):'',_0x26feb0=_0x27120e['alias']?String(_0x27120e[_0x24dccc(0x138)]):'';if(!_0x1d4462&&!_0x26feb0)throw CliErrors[_0x24dccc(0x12a)]('`'+_0x46ffcd+_0x24dccc(0x141));if(_0x26feb0&&!_0x1d4462){const _0x1a4ebc=resolveAlias(_0x680380,_0x26feb0);if(!_0x1a4ebc){const _0x506ba6=listAliases(_0x680380)[_0x24dccc(0x13e)](_0x59dc6c=>_0x59dc6c['alias']),_0x14b6cc=_0x506ba6[_0x24dccc(0x13f)]?_0x24dccc(0x128)+_0x506ba6[_0x24dccc(0x13c)](',\x20'):_0x24dccc(0x129)+_0x680380+_0x24dccc(0x130)+CLI_BIN_NAME+_0x24dccc(0x12d);throw CliErrors[_0x24dccc(0x12a)](_0x24dccc(0x131)+_0x26feb0+_0x24dccc(0x127)+_0x14b6cc);}_0x27120e[_0x24dccc(0x136)]=_0x1a4ebc;}}function a207_0x1d2c(_0x20ccca,_0x62ccaf){_0x20ccca=_0x20ccca-0x127;const _0xaaa42b=a207_0xaaa4();let _0x1d2cf6=_0xaaa42b[_0x20ccca];return _0x1d2cf6;}function a207_0xaaa4(){const _0x238bbb=['some','flags','code','string','alias','147RztGHO','5164160WOrdpY','54VjhCZZ','join','1423788TMkSOC','map','length','name','`\x20requires\x20either\x20--code\x20or\x20--alias.','\x22.\x20','Available\x20aliases:\x20','No\x20api.ts\x20found\x20in\x20','validation','233154pVRNtN','211246qbObaq','\x20api\x20pull`\x20first.','276830ARmRvc','5dPdjxd','.\x20Run\x20`','Unknown\x20alias\x20\x22','369402jxWkCo','2528164TSuvXr'];a207_0xaaa4=function(){return _0x238bbb;};return a207_0xaaa4();}
1
+ (function(_0x59b4c5,_0x1634cf){const _0x4f3e35=a209_0x4574,_0x1930d9=_0x59b4c5();while(!![]){try{const _0x12577c=-parseInt(_0x4f3e35(0x100))/0x1+-parseInt(_0x4f3e35(0x109))/0x2*(parseInt(_0x4f3e35(0x114))/0x3)+-parseInt(_0x4f3e35(0x119))/0x4*(parseInt(_0x4f3e35(0x10d))/0x5)+-parseInt(_0x4f3e35(0x106))/0x6*(parseInt(_0x4f3e35(0x111))/0x7)+-parseInt(_0x4f3e35(0x110))/0x8*(-parseInt(_0x4f3e35(0x10e))/0x9)+parseInt(_0x4f3e35(0x113))/0xa+parseInt(_0x4f3e35(0xff))/0xb;if(_0x12577c===_0x1634cf)break;else _0x1930d9['push'](_0x1930d9['shift']());}catch(_0x52b4b8){_0x1930d9['push'](_0x1930d9['shift']());}}}(a209_0x27bf,0xdf8a4));function a209_0x4574(_0x19d553,_0x3beb3b){_0x19d553=_0x19d553-0xff;const _0x27bf8e=a209_0x27bf();let _0x45740=_0x27bf8e[_0x19d553];return _0x45740;}function a209_0x27bf(){const _0x9c6341=['join','\x22.\x20','.\x20Run\x20`','map','164908xhuEaX','27078832LusPtB','1709005LiqAyU','Unknown\x20alias\x20\x22','some','string','Available\x20aliases:\x20','alias','72UBkwoM','name','length','59478vQwrQy','validation','code','type','10NXxCTa','1160559seJLSY','No\x20api.ts\x20found\x20in\x20','56MJXMNQ','206983mqgpUv','flags','544060JJNYmd','36ANNLHo'];a209_0x27bf=function(){return _0x9c6341;};return a209_0x27bf();}import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';export function resolveAliasToCode(_0x85fb42,_0x349e0d,_0x4374af,_0x3c8ac6){const _0x29060d=a209_0x4574,_0x1b534c=_0x85fb42[_0x29060d(0x112)][_0x29060d(0x102)](_0x1fc4a9=>_0x1fc4a9[_0x29060d(0x107)]===_0x29060d(0x10b)&&_0x1fc4a9[_0x29060d(0x10c)]===_0x29060d(0x103)),_0x509b30=_0x85fb42[_0x29060d(0x112)][_0x29060d(0x102)](_0x2d10c3=>_0x2d10c3[_0x29060d(0x107)]===_0x29060d(0x105)&&_0x2d10c3[_0x29060d(0x10c)]==='string');if(!_0x1b534c||!_0x509b30)return;const _0x568193=_0x349e0d['code']?String(_0x349e0d['code']):'',_0x2e34ab=_0x349e0d[_0x29060d(0x105)]?String(_0x349e0d[_0x29060d(0x105)]):'';if(!_0x568193&&!_0x2e34ab)throw CliErrors[_0x29060d(0x10a)]('`'+_0x3c8ac6+'`\x20requires\x20either\x20--code\x20or\x20--alias.');if(_0x2e34ab&&!_0x568193){const _0x38495a=resolveAlias(_0x4374af,_0x2e34ab);if(!_0x38495a){const _0x1f06ce=listAliases(_0x4374af)[_0x29060d(0x118)](_0x543559=>_0x543559[_0x29060d(0x105)]),_0x48654c=_0x1f06ce[_0x29060d(0x108)]?_0x29060d(0x104)+_0x1f06ce[_0x29060d(0x115)](',\x20'):_0x29060d(0x10f)+_0x4374af+_0x29060d(0x117)+CLI_BIN_NAME+'\x20api\x20pull`\x20first.';throw CliErrors['validation'](_0x29060d(0x101)+_0x2e34ab+_0x29060d(0x116)+_0x48654c);}_0x349e0d[_0x29060d(0x10b)]=_0x38495a;}}
@@ -1 +1 @@
1
- const a208_0xc8ea36=a208_0x2df1;(function(_0x22c250,_0x1e5b8e){const _0x13feb8=a208_0x2df1,_0x295cbe=_0x22c250();while(!![]){try{const _0x48b915=-parseInt(_0x13feb8(0x173))/0x1*(-parseInt(_0x13feb8(0x153))/0x2)+-parseInt(_0x13feb8(0x185))/0x3*(-parseInt(_0x13feb8(0x17b))/0x4)+parseInt(_0x13feb8(0x154))/0x5+-parseInt(_0x13feb8(0x16b))/0x6*(-parseInt(_0x13feb8(0x15e))/0x7)+-parseInt(_0x13feb8(0x155))/0x8+parseInt(_0x13feb8(0x181))/0x9+parseInt(_0x13feb8(0x14d))/0xa*(-parseInt(_0x13feb8(0x180))/0xb);if(_0x48b915===_0x1e5b8e)break;else _0x295cbe['push'](_0x295cbe['shift']());}catch(_0x1bbb0b){_0x295cbe['push'](_0x295cbe['shift']());}}}(a208_0x2136,0x9c519));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 a208_0x5f226c}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x14e9c0){const _0x41f3cd=a208_0x2df1;return typeof _0x14e9c0===_0x41f3cd(0x159)&&_0x14e9c0[_0x41f3cd(0x162)]()?_0x14e9c0[_0x41f3cd(0x162)]():undefined;}function resolveEnvAppCode(){const _0x27c046=a208_0x2df1,_0x47b32e=stringFlag(process.env.RABETBASE_APPCODE);if(_0x47b32e)return{'name':'RABETBASE_APPCODE','value':_0x47b32e};const _0x182707=stringFlag(process.env.LOVRABET_APPCODE);if(_0x182707)return{'name':_0x27c046(0x15a),'value':_0x182707};return undefined;}function hasExplicitAppCode(_0x271a11,_0x177b35){const _0x38bdd5=a208_0x2df1;return!!(stringFlag(_0x271a11[_0x38bdd5(0x168)])||stringFlag(_0x177b35['appcode']));}function assertEnvAppCodeNotIgnored(_0x225765,_0x1ddce8,_0x5118f2){const _0x5a1929=a208_0x2df1;if(!_0x1ddce8||_0x5118f2||_0x225765===_0x1ddce8[_0x5a1929(0x14f)])return;const _0x478c0e=_0x225765?_0x5a1929(0x150)+_0x225765+'\x22.':_0x5a1929(0x15f);throw CliErrors[_0x5a1929(0x17d)](_0x1ddce8[_0x5a1929(0x170)]+'='+_0x1ddce8[_0x5a1929(0x14f)]+_0x5a1929(0x172)+_0x478c0e+'\x20'+(_0x5a1929(0x14e)+_0x1ddce8[_0x5a1929(0x170)]+'\x22.'));}export function createPipelineEnv(_0x500bd9,_0x3ece53,_0x5ed9d0=[]){const _0x466db6=a208_0x2df1;return{'rawFlags':_0x3ece53,'args':_0x5ed9d0,'resolveAppCode':()=>_0x500bd9[_0x466db6(0x184)],'resolveCookie':()=>_0x500bd9[_0x466db6(0x160)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a208_0x5f226c(_0x3ece53),'defaultFormat':_0x500bd9[_0x466db6(0x174)],'defaultPageSize':_0x500bd9[_0x466db6(0x14c)],'defaultVerbose':_0x500bd9['verbose'],'apiDir':_0x500bd9[_0x466db6(0x17f)],'riskLevel':_0x500bd9['riskLevel'],'selectedAppName':_0x500bd9[_0x466db6(0x152)],'mergedCli':{'defaultApp':_0x500bd9['defaultApp'],'currentApp':_0x500bd9[_0x466db6(0x164)],'appCode':_0x500bd9[_0x466db6(0x184)],'apps':_0x500bd9['apps']}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[a208_0xc8ea36(0x16f)](_0x52eb27=>PIPELINE_FLAG_NAMES['has'](_0x52eb27['name']))[a208_0xc8ea36(0x156)](({name:_0x3f6f20,type:_0x33bcbe,description:_0x368099})=>({'name':_0x3f6f20,'type':_0x33bcbe,'description':_0x368099})),'formatOutput':formatOutput,'getCommandLabel'(_0x48e2ca){const _0xb436a9=a208_0xc8ea36;return CLI_BIN_NAME+'\x20'+_0x48e2ca[_0xb436a9(0x169)]+'\x20'+_0x48e2ca[_0xb436a9(0x16a)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x2d74a1){return CliErrors['validation'](_0x2d74a1);}},async 'prepare'(_0x29e30a,_0xcb98be,_0x183318,_0x5a5b3a){const _0x33ea4b=a208_0xc8ea36,_0x4da277=_0xcb98be[_0x33ea4b(0x17f)]||DEFAULT_API_DIR;resolveAliasToCode(_0x29e30a,_0x183318,_0x4da277,_0x5a5b3a);const _0xe53814=resolveCommandAuthMode(_0x29e30a);let _0x45089b='';if(_0xe53814!==_0x33ea4b(0x158)){_0x45089b=_0xcb98be['resolveCookie']()||'';if(!_0x45089b){if(_0xe53814===_0x33ea4b(0x166))throw CliErrors[_0x33ea4b(0x176)]();}else{const {setActiveCookie:_0x4cd927}=await import('../core/api-client.js');_0x4cd927(_0x45089b);}}const _0x397ec3=_0xcb98be[_0x33ea4b(0x171)]()??'';if(_0x29e30a[_0x33ea4b(0x15b)]!==![]){assertEnvAppCodeNotIgnored(_0x397ec3,resolveEnvAppCode(),hasExplicitAppCode(_0x183318,_0xcb98be[_0x33ea4b(0x161)]));if(!_0x397ec3)throw CliErrors[_0x33ea4b(0x167)](_0x33ea4b(0x16d)+CLI_BIN_NAME+_0x33ea4b(0x157));}return{'defaults':{'booleans':{'verbose':_0xcb98be['defaultVerbose']},'numbers':{'pagesize':_0xcb98be[_0x33ea4b(0x179)]}},'extras':{'appCode':_0x397ec3,'cookie':_0x45089b,'apiDomain':_0xcb98be[_0x33ea4b(0x17c)](),'apiDir':_0x4da277,'selectedAppName':_0xcb98be['selectedAppName'],'mergedCli':_0xcb98be[_0x33ea4b(0x165)]}};},async 'confirmHighRisk'({env:_0x1e303d,commandLabel:_0x5aafea}){const _0x42acac=a208_0xc8ea36;if(_0x1e303d[_0x42acac(0x17e)])throw CliErrors[_0x42acac(0x17d)](_0x42acac(0x182)+_0x5aafea+'`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.');await requireConfirmationPrompt({'lines':['⚠\x20\x20High-risk\x20operation:\x20'+_0x5aafea,_0x42acac(0x183)],'createCancelledError':_0x403dd1=>CliErrors[_0x42acac(0x151)](_0x403dd1)});},async 'finalize'(){const _0x1626ba=a208_0xc8ea36,{clearActiveCookie:_0x384493}=await import(_0x1626ba(0x16e));_0x384493();}};function a208_0x2136(){const _0x29c2c9=['catch','defaultPageSize','resolve','2233892hYmswT','resolveApiDomain','validation','isNonInteractive','apiDir','11tAotQh','10134135LYJKYX','High-risk\x20operation\x20`','\x20\x20\x20Continue?\x20[y/N]\x20','appCode','3wUzABi','hasFormat','pageSize','29509430yKwZMy','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','value','Current\x20resolved\x20appcode\x20is\x20\x22','cancelled','explicitAppName','18EGSLUy','4671720mXfvXV','3548112TgVKkR','map','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','none','string','LOVRABET_APPCODE','requiresAppCode','update','pretty','5241341ftHpQS','No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.','cookie','rawFlags','trim','schema','currentApp','mergedCli','required','configMissing','appcode','service','command','6SObDUq','doctor','Set\x20appcode\x20via\x20`','../core/api-client.js','filter','name','resolveAppCode','\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20','74127hLxley','format','object','authRequired','_notice'];a208_0x2136=function(){return _0x29c2c9;};return a208_0x2136();}export async function runCommand(_0x1da893,_0xfe203d){await runCommandWithAdapter(shouldAttachUpdateNotice(_0x1da893)?withUpdateNotice(_0x1da893):_0x1da893,_0xfe203d,runnerAdapter);}function shouldAttachUpdateNotice(_0x3472f1){const _0x2f7bf2=a208_0xc8ea36;if(_0x3472f1[_0x2f7bf2(0x14b)]===![])return![];return![_0x2f7bf2(0x15c),_0x2f7bf2(0x163),_0x2f7bf2(0x16c)]['includes'](_0x3472f1['service']);}function a208_0x2df1(_0x48066f,_0x3239e5){_0x48066f=_0x48066f-0x14b;const _0x213605=a208_0x2136();let _0x2df10b=_0x213605[_0x48066f];return _0x2df10b;}function withUpdateNotice(_0x5d08db){return{..._0x5d08db,async 'execute'(_0x57c502){const _0x174a44=a208_0x2df1,_0x3fb05a=shouldResolveUpdateNotice(_0x57c502)?resolveLatestUpdateNotice()[_0x174a44(0x178)](()=>null):Promise[_0x174a44(0x17a)](null),_0x12b46b=await _0x5d08db['execute'](_0x57c502);return attachUpdateNotice(_0x12b46b,await _0x3fb05a);}};}function shouldResolveUpdateNotice(_0x3b4934){const _0x551fc5=a208_0xc8ea36;return _0x3b4934[_0x551fc5(0x174)]===_0x551fc5(0x15d)&&!_0x3b4934['nonInteractive'];}function attachUpdateNotice(_0x565a96,_0x395b2c){const _0x3fa086=a208_0xc8ea36;if(!_0x395b2c||!_0x565a96||typeof _0x565a96!==_0x3fa086(0x175))return _0x565a96;const _0x5bfcff=_0x565a96,_0x3cafc6=typeof _0x5bfcff[_0x3fa086(0x177)]===_0x3fa086(0x175)&&_0x5bfcff[_0x3fa086(0x177)]!==null?_0x5bfcff[_0x3fa086(0x177)]:{};return{..._0x5bfcff,'_notice':{..._0x3cafc6,'update':_0x395b2c}};}
1
+ const a210_0x2e0fb6=a210_0x10ef;(function(_0x34071e,_0x41ce85){const _0x266d83=a210_0x10ef,_0x50b21a=_0x34071e();while(!![]){try{const _0x5397dd=-parseInt(_0x266d83(0x173))/0x1*(-parseInt(_0x266d83(0x152))/0x2)+parseInt(_0x266d83(0x166))/0x3+parseInt(_0x266d83(0x150))/0x4*(parseInt(_0x266d83(0x16d))/0x5)+parseInt(_0x266d83(0x175))/0x6+-parseInt(_0x266d83(0x161))/0x7+parseInt(_0x266d83(0x155))/0x8+parseInt(_0x266d83(0x187))/0x9*(-parseInt(_0x266d83(0x15c))/0xa);if(_0x5397dd===_0x41ce85)break;else _0x50b21a['push'](_0x50b21a['shift']());}catch(_0x19e636){_0x50b21a['push'](_0x50b21a['shift']());}}}(a210_0x2453,0x3d733));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 a210_0x52a5a1}from'../utils/is-non-interactive.js';function a210_0x2453(){const _0xad79d6=['pretty','format','object','644454EnkkmG','has','trim','apps','configMissing','defaultVerbose','apiDir','1298090JZIwwY','filter','hasFormat','explicitAppName','verbose','command','1pteoCu','rawFlags','805890utKLBe','defaultPageSize','validation','selectedAppName','service','resolveApiDomain','execute','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','cancelled','name','appCode','_notice','schema','none','⚠\x20\x20High-risk\x20operation:\x20','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','required','pageSize','81wgwXzF','\x20\x20\x20Continue?\x20[y/N]\x20','string','No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.','4hrkeQd','value','664854lFKqjQ','nonInteractive','riskLevel','88448uMzjiP','Current\x20resolved\x20appcode\x20is\x20\x22','map','RABETBASE_APPCODE','requiresAppCode','cookie','catch','759830vsPdjh','resolveCookie','LOVRABET_APPCODE','isNonInteractive','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','116816Zfcppi','\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20'];a210_0x2453=function(){return _0xad79d6;};return a210_0x2453();}import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function a210_0x10ef(_0x1859bf,_0x10b1b6){_0x1859bf=_0x1859bf-0x14e;const _0x245358=a210_0x2453();let _0x10ef9b=_0x245358[_0x1859bf];return _0x10ef9b;}function stringFlag(_0x39f57b){const _0x1959c4=a210_0x10ef;return typeof _0x39f57b===_0x1959c4(0x14e)&&_0x39f57b['trim']()?_0x39f57b[_0x1959c4(0x168)]():undefined;}function resolveEnvAppCode(){const _0x324549=a210_0x10ef,_0xb150fd=stringFlag(process.env.RABETBASE_APPCODE);if(_0xb150fd)return{'name':_0x324549(0x158),'value':_0xb150fd};const _0x215c61=stringFlag(process.env.LOVRABET_APPCODE);if(_0x215c61)return{'name':_0x324549(0x15e),'value':_0x215c61};return undefined;}function hasExplicitAppCode(_0x5def0a,_0x378ab7){return!!(stringFlag(_0x5def0a['appcode'])||stringFlag(_0x378ab7['appcode']));}function assertEnvAppCodeNotIgnored(_0x4c8112,_0x3d8304,_0x32a5a4){const _0x2c8425=a210_0x10ef;if(!_0x3d8304||_0x32a5a4||_0x4c8112===_0x3d8304[_0x2c8425(0x151)])return;const _0x3f60fe=_0x4c8112?_0x2c8425(0x156)+_0x4c8112+'\x22.':_0x2c8425(0x14f);throw CliErrors['validation'](_0x3d8304['name']+'='+_0x3d8304[_0x2c8425(0x151)]+_0x2c8425(0x162)+_0x3f60fe+'\x20'+(_0x2c8425(0x17c)+_0x3d8304[_0x2c8425(0x17e)]+'\x22.'));}export function createPipelineEnv(_0x533d57,_0x40d5ea,_0x44834c=[]){const _0x10e9d2=a210_0x10ef;return{'rawFlags':_0x40d5ea,'args':_0x44834c,'resolveAppCode':()=>_0x533d57[_0x10e9d2(0x17f)],'resolveCookie':()=>_0x533d57[_0x10e9d2(0x15a)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a210_0x52a5a1(_0x40d5ea),'defaultFormat':_0x533d57[_0x10e9d2(0x164)],'defaultPageSize':_0x533d57[_0x10e9d2(0x186)],'defaultVerbose':_0x533d57[_0x10e9d2(0x171)],'apiDir':_0x533d57[_0x10e9d2(0x16c)],'riskLevel':_0x533d57[_0x10e9d2(0x154)],'selectedAppName':_0x533d57[_0x10e9d2(0x170)],'mergedCli':{'defaultApp':_0x533d57['defaultApp'],'currentApp':_0x533d57['currentApp'],'appCode':_0x533d57[_0x10e9d2(0x17f)],'apps':_0x533d57[_0x10e9d2(0x169)]}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[a210_0x2e0fb6(0x16e)](_0x3076e8=>PIPELINE_FLAG_NAMES[a210_0x2e0fb6(0x167)](_0x3076e8[a210_0x2e0fb6(0x17e)]))[a210_0x2e0fb6(0x157)](({name:_0x2574c8,type:_0x475489,description:_0x127f98})=>({'name':_0x2574c8,'type':_0x475489,'description':_0x127f98})),'formatOutput':formatOutput,'getCommandLabel'(_0x3d795f){const _0x417436=a210_0x2e0fb6;return CLI_BIN_NAME+'\x20'+_0x3d795f[_0x417436(0x179)]+'\x20'+_0x3d795f[_0x417436(0x172)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x4bc96c){const _0x5843dc=a210_0x2e0fb6;return CliErrors[_0x5843dc(0x177)](_0x4bc96c);}},async 'prepare'(_0x5c6067,_0x4753e1,_0x3caddd,_0x36c6f8){const _0x1777c4=a210_0x2e0fb6,_0xad74d=_0x4753e1[_0x1777c4(0x16c)]||DEFAULT_API_DIR;resolveAliasToCode(_0x5c6067,_0x3caddd,_0xad74d,_0x36c6f8);const _0x1565f8=resolveCommandAuthMode(_0x5c6067);let _0x42884a='';if(_0x1565f8!==_0x1777c4(0x182)){_0x42884a=_0x4753e1[_0x1777c4(0x15d)]()||'';if(!_0x42884a){if(_0x1565f8===_0x1777c4(0x185))throw CliErrors['authRequired']();}else{const {setActiveCookie:_0x46ad41}=await import('../core/api-client.js');_0x46ad41(_0x42884a);}}const _0x40ae3b=_0x4753e1['resolveAppCode']()??'';if(_0x5c6067[_0x1777c4(0x159)]!==![]){assertEnvAppCodeNotIgnored(_0x40ae3b,resolveEnvAppCode(),hasExplicitAppCode(_0x3caddd,_0x4753e1[_0x1777c4(0x174)]));if(!_0x40ae3b)throw CliErrors[_0x1777c4(0x16a)]('Set\x20appcode\x20via\x20`'+CLI_BIN_NAME+_0x1777c4(0x184));}return{'defaults':{'booleans':{'verbose':_0x4753e1[_0x1777c4(0x16b)]},'numbers':{'pagesize':_0x4753e1[_0x1777c4(0x176)]}},'extras':{'appCode':_0x40ae3b,'cookie':_0x42884a,'apiDomain':_0x4753e1[_0x1777c4(0x17a)](),'apiDir':_0xad74d,'selectedAppName':_0x4753e1[_0x1777c4(0x178)],'mergedCli':_0x4753e1['mergedCli']}};},async 'confirmHighRisk'({env:_0xff756,commandLabel:_0x519a69}){const _0x662e86=a210_0x2e0fb6;if(_0xff756[_0x662e86(0x15f)])throw CliErrors['validation']('High-risk\x20operation\x20`'+_0x519a69+_0x662e86(0x160));await requireConfirmationPrompt({'lines':[_0x662e86(0x183)+_0x519a69,_0x662e86(0x188)],'createCancelledError':_0x5bfa1b=>CliErrors[_0x662e86(0x17d)](_0x5bfa1b)});},async 'finalize'(){const {clearActiveCookie:_0x3705ed}=await import('../core/api-client.js');_0x3705ed();}};export async function runCommand(_0x525dcd,_0x1eb9d6){await runCommandWithAdapter(shouldAttachUpdateNotice(_0x525dcd)?withUpdateNotice(_0x525dcd):_0x525dcd,_0x1eb9d6,runnerAdapter);}function shouldAttachUpdateNotice(_0x18faea){const _0x2df3fa=a210_0x2e0fb6;if(_0x18faea[_0x2df3fa(0x16f)]===![])return![];return!['update',_0x2df3fa(0x181),'doctor']['includes'](_0x18faea[_0x2df3fa(0x179)]);}function withUpdateNotice(_0x4de77c){return{..._0x4de77c,async 'execute'(_0x101afb){const _0x29ed82=a210_0x10ef,_0x587d07=shouldResolveUpdateNotice(_0x101afb)?resolveLatestUpdateNotice()[_0x29ed82(0x15b)](()=>null):Promise['resolve'](null),_0x3ca825=await _0x4de77c[_0x29ed82(0x17b)](_0x101afb);return attachUpdateNotice(_0x3ca825,await _0x587d07);}};}function shouldResolveUpdateNotice(_0x6a6366){const _0x16c389=a210_0x2e0fb6;return _0x6a6366[_0x16c389(0x164)]===_0x16c389(0x163)&&!_0x6a6366[_0x16c389(0x153)];}function attachUpdateNotice(_0x1395a6,_0x55f564){const _0x17f46b=a210_0x2e0fb6;if(!_0x55f564||!_0x1395a6||typeof _0x1395a6!==_0x17f46b(0x165))return _0x1395a6;const _0xf12cc6=_0x1395a6,_0x85d1dd=typeof _0xf12cc6['_notice']===_0x17f46b(0x165)&&_0xf12cc6[_0x17f46b(0x180)]!==null?_0xf12cc6[_0x17f46b(0x180)]:{};return{..._0xf12cc6,'_notice':{..._0x85d1dd,'update':_0x55f564}};}
@@ -1 +1 @@
1
- (function(_0x3b4064,_0x443778){const _0xc7c0be=a209_0x5447,_0x20c6a6=_0x3b4064();while(!![]){try{const _0x47fe6b=parseInt(_0xc7c0be(0xed))/0x1*(parseInt(_0xc7c0be(0xf2))/0x2)+-parseInt(_0xc7c0be(0xee))/0x3*(parseInt(_0xc7c0be(0xf3))/0x4)+-parseInt(_0xc7c0be(0xec))/0x5*(-parseInt(_0xc7c0be(0xf7))/0x6)+parseInt(_0xc7c0be(0xf5))/0x7+parseInt(_0xc7c0be(0xf4))/0x8*(-parseInt(_0xc7c0be(0xf6))/0x9)+-parseInt(_0xc7c0be(0xef))/0xa+parseInt(_0xc7c0be(0xf8))/0xb*(parseInt(_0xc7c0be(0xf0))/0xc);if(_0x47fe6b===_0x443778)break;else _0x20c6a6['push'](_0x20c6a6['shift']());}catch(_0x4f7210){_0x20c6a6['push'](_0x20c6a6['shift']());}}}(a209_0x18b0,0xeea5a));import{buildSchemaPayload as a209_0x5a3ac6}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 a209_0x5447(_0x164a77,_0x264ec9){_0x164a77=_0x164a77-0xec;const _0x18b0b9=a209_0x18b0();let _0x544739=_0x18b0b9[_0x164a77];return _0x544739;}import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x232fe4=a209_0x5447,{serviceRegistry:_0x1fb922,findDefinition:_0x527601}=await import(_0x232fe4(0xf1));return a209_0x5a3ac6({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x1fb922,'buildAllFlags':buildAllFlags,'findDefinition':_0x527601});}function a209_0x18b0(){const _0x29d083=['8vHDSyS','2871512bQcpxp','15826959RAGWII','43314eLoTBM','18223711yofQIV','1195xoEwLi','53ZOBxdq','6NkTKSE','14259780STusae','12YXZTDd','../commands/registry.js','14162ghZtBe','11048NYpVAv'];a209_0x18b0=function(){return _0x29d083;};return a209_0x18b0();}
1
+ (function(_0x7f729,_0x4ca48a){const _0x2f9349=a211_0x1003,_0x148a0f=_0x7f729();while(!![]){try{const _0x200631=parseInt(_0x2f9349(0xd2))/0x1+parseInt(_0x2f9349(0xd0))/0x2*(parseInt(_0x2f9349(0xd7))/0x3)+parseInt(_0x2f9349(0xd1))/0x4+-parseInt(_0x2f9349(0xd5))/0x5*(-parseInt(_0x2f9349(0xd6))/0x6)+parseInt(_0x2f9349(0xcd))/0x7+-parseInt(_0x2f9349(0xcf))/0x8*(parseInt(_0x2f9349(0xce))/0x9)+-parseInt(_0x2f9349(0xd3))/0xa;if(_0x200631===_0x4ca48a)break;else _0x148a0f['push'](_0x148a0f['shift']());}catch(_0x543579){_0x148a0f['push'](_0x148a0f['shift']());}}}(a211_0x4d86,0xd5bbe));import{buildSchemaPayload as a211_0x33f999}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 a211_0x4d86(){const _0x2a2719=['1191678nhxvhO','3486891eQuGML','9778293YIMDhm','5301gNjOTj','5360trmNeO','2wOsxvw','540412RsWBxT','382453NiYfEr','22038940UdXhId','../commands/registry.js','10OAZNki'];a211_0x4d86=function(){return _0x2a2719;};return a211_0x4d86();}function a211_0x1003(_0x4ce0a8,_0x5e3d9c){_0x4ce0a8=_0x4ce0a8-0xcd;const _0x4d86e0=a211_0x4d86();let _0x1003c0=_0x4d86e0[_0x4ce0a8];return _0x1003c0;}import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x3e67b9=a211_0x1003,{serviceRegistry:_0x36ca47,findDefinition:_0x33c20e}=await import(_0x3e67b9(0xd4));return a211_0x33f999({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x36ca47,'buildAllFlags':buildAllFlags,'findDefinition':_0x33c20e});}
@@ -1 +1 @@
1
- (function(_0x514f4f,_0x246763){var _0x1b3f19=a210_0x4fb6,_0x5560eb=_0x514f4f();while(!![]){try{var _0x4a92c2=parseInt(_0x1b3f19(0x1db))/0x1*(-parseInt(_0x1b3f19(0x1cf))/0x2)+-parseInt(_0x1b3f19(0x1da))/0x3*(parseInt(_0x1b3f19(0x1d9))/0x4)+-parseInt(_0x1b3f19(0x1d3))/0x5*(parseInt(_0x1b3f19(0x1d6))/0x6)+-parseInt(_0x1b3f19(0x1d8))/0x7+parseInt(_0x1b3f19(0x1d1))/0x8*(-parseInt(_0x1b3f19(0x1d7))/0x9)+-parseInt(_0x1b3f19(0x1d0))/0xa*(-parseInt(_0x1b3f19(0x1d2))/0xb)+-parseInt(_0x1b3f19(0x1d4))/0xc*(-parseInt(_0x1b3f19(0x1d5))/0xd);if(_0x4a92c2===_0x246763)break;else _0x5560eb['push'](_0x5560eb['shift']());}catch(_0x4c8c29){_0x5560eb['push'](_0x5560eb['shift']());}}}(a210_0x2dd6,0x418a9));export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';function a210_0x4fb6(_0x4cfb63,_0x2c0773){_0x4cfb63=_0x4cfb63-0x1cf;var _0x2dd6cd=a210_0x2dd6();var _0x4fb665=_0x2dd6cd[_0x4cfb63];return _0x4fb665;}function a210_0x2dd6(){var _0x4c32d1=['102bhmrwr','9eeEjyw','1631630VCjjlu','35468LuqTtY','57KIChfF','69101FzYZuZ','14SBnqXj','159450VtOyau','1077448YcmGrO','352CAqiIR','6145DOQddS','9588732dmgGzh','13keyDQl'];a210_0x2dd6=function(){return _0x4c32d1;};return a210_0x2dd6();}
1
+ function a212_0x5e05(_0x51473f,_0x2af9bb){_0x51473f=_0x51473f-0x1ce;var _0x327030=a212_0x3270();var _0x5e05ba=_0x327030[_0x51473f];return _0x5e05ba;}function a212_0x3270(){var _0x2102d3=['196749bVopsp','144LNZXsk','322289WScbln','66820tHdUAU','1688036MUUUdX','11623912PQybEI','1857783dBoJTW','177924BeadYJ'];a212_0x3270=function(){return _0x2102d3;};return a212_0x3270();}(function(_0x554399,_0x55da3f){var _0x4e2a36=a212_0x5e05,_0x1d18c2=_0x554399();while(!![]){try{var _0xc99d49=-parseInt(_0x4e2a36(0x1d2))/0x1+-parseInt(_0x4e2a36(0x1cf))/0x2+-parseInt(_0x4e2a36(0x1ce))/0x3+-parseInt(_0x4e2a36(0x1d4))/0x4+parseInt(_0x4e2a36(0x1d3))/0x5*(parseInt(_0x4e2a36(0x1d1))/0x6)+parseInt(_0x4e2a36(0x1d0))/0x7+parseInt(_0x4e2a36(0x1d5))/0x8;if(_0xc99d49===_0x55da3f)break;else _0x1d18c2['push'](_0x1d18c2['shift']());}catch(_0x379260){_0x1d18c2['push'](_0x1d18c2['shift']());}}}(a212_0x3270,0x5547f));export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';
@@ -1 +1 @@
1
- const a211_0x448cc1=a211_0x1e47;(function(_0x5ea1a0,_0x38d722){const _0xb4e7ba=a211_0x1e47,_0x2a969f=_0x5ea1a0();while(!![]){try{const _0x5b37f4=-parseInt(_0xb4e7ba(0xbf))/0x1*(-parseInt(_0xb4e7ba(0xb9))/0x2)+parseInt(_0xb4e7ba(0xbc))/0x3*(-parseInt(_0xb4e7ba(0xc1))/0x4)+parseInt(_0xb4e7ba(0xc4))/0x5*(-parseInt(_0xb4e7ba(0xba))/0x6)+-parseInt(_0xb4e7ba(0xc2))/0x7+-parseInt(_0xb4e7ba(0xbd))/0x8+parseInt(_0xb4e7ba(0xc3))/0x9+parseInt(_0xb4e7ba(0xbe))/0xa;if(_0x5b37f4===_0x38d722)break;else _0x2a969f['push'](_0x2a969f['shift']());}catch(_0x40f832){_0x2a969f['push'](_0x2a969f['shift']());}}}(a211_0x1dd7,0xb3e6d));function a211_0x1dd7(){const _0x4700dc=['6258GOeRIx','9531824UWhlwI','27298380SwBXwo','1gZNrwm','2.3.7-beta.1','2224DVCpQx','3906532bxPsYE','12609549INGNdH','5ZuqWgu','672906FYYcFZ','4926630fmRnHO','6aadacf'];a211_0x1dd7=function(){return _0x4700dc;};return a211_0x1dd7();}function a211_0x1e47(_0x2b8827,_0x2da15d){_0x2b8827=_0x2b8827-0xb9;const _0x1dd746=a211_0x1dd7();let _0x1e4712=_0x1dd746[_0x2b8827];return _0x1e4712;}export const VERSION=a211_0x448cc1(0xc0);export const GIT_TAG='v2.3.7-beta.1';export const GIT_COMMIT=a211_0x448cc1(0xbb);export const BUILD_TIME='2026-07-17T08:37:08.470Z';
1
+ const a213_0x440fc7=a213_0x148d;(function(_0x2d3f05,_0x271586){const _0x2dfeb9=a213_0x148d,_0x5f4ced=_0x2d3f05();while(!![]){try{const _0x3c07fc=parseInt(_0x2dfeb9(0x1e3))/0x1*(-parseInt(_0x2dfeb9(0x1d9))/0x2)+-parseInt(_0x2dfeb9(0x1da))/0x3*(-parseInt(_0x2dfeb9(0x1e0))/0x4)+-parseInt(_0x2dfeb9(0x1db))/0x5+-parseInt(_0x2dfeb9(0x1df))/0x6+parseInt(_0x2dfeb9(0x1e2))/0x7*(parseInt(_0x2dfeb9(0x1dd))/0x8)+-parseInt(_0x2dfeb9(0x1d7))/0x9*(parseInt(_0x2dfeb9(0x1d8))/0xa)+parseInt(_0x2dfeb9(0x1de))/0xb;if(_0x3c07fc===_0x271586)break;else _0x5f4ced['push'](_0x5f4ced['shift']());}catch(_0x165114){_0x5f4ced['push'](_0x5f4ced['shift']());}}}(a213_0xd5a0,0xb39d0));export const VERSION='2.3.7-beta.2';export const GIT_TAG=a213_0x440fc7(0x1e1);function a213_0x148d(_0x28cd40,_0x28c3d3){_0x28cd40=_0x28cd40-0x1d6;const _0xd5a0db=a213_0xd5a0();let _0x148d38=_0xd5a0db[_0x28cd40];return _0x148d38;}function a213_0xd5a0(){const _0x4e0aab=['24wGVMTt','44203280GZaSrB','5219742ubKFWc','15220nnTWaO','v2.3.7-beta.2','433923xrsbvh','6558nlPqnS','2026-07-18T08:56:50.915Z','17622MMWpAg','2830LZrvKk','426bGhpNm','15ygWeVu','3334255axuMzH','e04430a'];a213_0xd5a0=function(){return _0x4e0aab;};return a213_0xd5a0();}export const GIT_COMMIT=a213_0x440fc7(0x1dc);export const BUILD_TIME=a213_0x440fc7(0x1d6);
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- (function(_0x3cf4c5,_0x3aca7b){var _0x21799e=a212_0x941a,_0x37c6bb=_0x3cf4c5();while(!![]){try{var _0x375112=parseInt(_0x21799e(0x141))/0x1+parseInt(_0x21799e(0x13f))/0x2+parseInt(_0x21799e(0x137))/0x3+parseInt(_0x21799e(0x13b))/0x4+parseInt(_0x21799e(0x13a))/0x5*(parseInt(_0x21799e(0x143))/0x6)+parseInt(_0x21799e(0x138))/0x7+-parseInt(_0x21799e(0x136))/0x8*(parseInt(_0x21799e(0x142))/0x9);if(_0x375112===_0x3aca7b)break;else _0x37c6bb['push'](_0x37c6bb['shift']());}catch(_0x49b9e6){_0x37c6bb['push'](_0x37c6bb['shift']());}}}(a212_0x3bef,0x38af0));import a212_0x24b58a from'chalk';function a212_0x3bef(){var _0x29faa7=['bold','log','\x20\x20Use\x20','463814WDLVHr','green','457363RpCwch','2547vxxgOv','6954AZdnjU','30248wIXrrk','270777hrWPUc','476028WuTrqd','\x20to\x20view\x20available\x20commands.','625XIVYWR','1239164NpgbCV'];a212_0x3bef=function(){return _0x29faa7;};return a212_0x3bef();}import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';function a212_0x941a(_0xbf62fe,_0x5b4d8d){_0xbf62fe=_0xbf62fe-0x136;var _0x3bef98=a212_0x3bef();var _0x941a56=_0x3bef98[_0xbf62fe];return _0x941a56;}export function showHelp(){var _0x26be42=a212_0x941a;console['log'](),console[_0x26be42(0x13d)](a212_0x24b58a[_0x26be42(0x140)][_0x26be42(0x13c)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x26be42(0x13d)](),console[_0x26be42(0x13d)](_0x26be42(0x13e)+a212_0x24b58a[_0x26be42(0x140)]['bold'](CLI_BIN_NAME+'\x20--help')+_0x26be42(0x139)),console[_0x26be42(0x13d)]();}
1
+ (function(_0x4098ef,_0xb084a4){var _0x888587=a214_0x5255,_0x1f08bb=_0x4098ef();while(!![]){try{var _0x36e003=parseInt(_0x888587(0xdc))/0x1*(parseInt(_0x888587(0xe0))/0x2)+-parseInt(_0x888587(0xdb))/0x3+-parseInt(_0x888587(0xe1))/0x4+parseInt(_0x888587(0xd8))/0x5+parseInt(_0x888587(0xdf))/0x6*(-parseInt(_0x888587(0xdd))/0x7)+-parseInt(_0x888587(0xd9))/0x8*(parseInt(_0x888587(0xde))/0x9)+-parseInt(_0x888587(0xda))/0xa*(-parseInt(_0x888587(0xe3))/0xb);if(_0x36e003===_0xb084a4)break;else _0x1f08bb['push'](_0x1f08bb['shift']());}catch(_0x1506e9){_0x1f08bb['push'](_0x1f08bb['shift']());}}}(a214_0x2e37,0x6bc55));import a214_0x5655e7 from'chalk';function a214_0x5255(_0x1c12c6,_0x29ef86){_0x1c12c6=_0x1c12c6-0xd8;var _0x2e37b3=a214_0x2e37();var _0x525579=_0x2e37b3[_0x1c12c6];return _0x525579;}import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0x4890ba=a214_0x5255;console[_0x4890ba(0xe7)](),console[_0x4890ba(0xe7)](a214_0x5655e7['green'][_0x4890ba(0xe6)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x4890ba(0xe7)](),console[_0x4890ba(0xe7)]('\x20\x20Use\x20'+a214_0x5655e7[_0x4890ba(0xe2)][_0x4890ba(0xe6)](CLI_BIN_NAME+_0x4890ba(0xe5))+_0x4890ba(0xe4)),console['log']();}function a214_0x2e37(){var _0x16e7d5=['552YbleEw','11930xSnkED','2987976ArnBxL','green','12393117IqXzvE','\x20to\x20view\x20available\x20commands.','\x20--help','bold','log','2121050KVSeUp','56168eEpYzs','10AZgndy','622548TsmAuW','61tcwakQ','37870BWRjlZ','27ziUUCU'];a214_0x2e37=function(){return _0x16e7d5;};return a214_0x2e37();}
@@ -1 +1 @@
1
- (function(_0x583993,_0x298d9f){const _0x1ba7aa=a213_0x5c52,_0x44c28e=_0x583993();while(!![]){try{const _0x5d8cbc=-parseInt(_0x1ba7aa(0x8a))/0x1+parseInt(_0x1ba7aa(0x83))/0x2*(-parseInt(_0x1ba7aa(0x89))/0x3)+parseInt(_0x1ba7aa(0x7f))/0x4+-parseInt(_0x1ba7aa(0x7e))/0x5*(parseInt(_0x1ba7aa(0x84))/0x6)+-parseInt(_0x1ba7aa(0x6f))/0x7+parseInt(_0x1ba7aa(0x75))/0x8+parseInt(_0x1ba7aa(0x88))/0x9;if(_0x5d8cbc===_0x298d9f)break;else _0x44c28e['push'](_0x44c28e['shift']());}catch(_0x3c1cba){_0x44c28e['push'](_0x44c28e['shift']());}}}(a213_0x3f0d,0xc2cd5));import{logger}from'../utils/logger.js';import{CLI_BIN_NAME}from'../constant/cli.js';import{NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE}from'../skills/npx-skills-add.js';function a213_0x5c52(_0x1a7428,_0x565e20){_0x1a7428=_0x1a7428-0x6d;const _0x3f0dcd=a213_0x3f0d();let _0x5c52ad=_0x3f0dcd[_0x1a7428];return _0x5c52ad;}export function camelCaseFlagsToKebab(_0xe26b40){const _0x5d6887=a213_0x5c52,_0x410a49=[];for(const [_0x578faa,_0xc90be0]of Object[_0x5d6887(0x7b)](_0xe26b40)){if(_0xc90be0===!![]){const _0x401f3f=_0x578faa[_0x5d6887(0x87)](/([A-Z])/g,_0x5d6887(0x80))[_0x5d6887(0x8f)]();_0x410a49['push'](_0x401f3f);}}return _0x410a49;}export function parseDynamicFlags(){const _0x2a2301=a213_0x5c52,_0x53b7c7=[];for(let _0x1005b4=0x3;_0x1005b4<process[_0x2a2301(0x6d)][_0x2a2301(0x74)];_0x1005b4++){const _0x57f0f9=process[_0x2a2301(0x6d)][_0x1005b4];if(_0x57f0f9&&_0x57f0f9[_0x2a2301(0x7c)]('--')){const _0x26f388=_0x57f0f9[_0x2a2301(0x92)](0x2);_0x26f388&&!_0x26f388[_0x2a2301(0x8d)]('=')&&_0x53b7c7['push'](_0x26f388);}}return _0x53b7c7;}export function getAllProvidedFlags(_0x5a387b){const _0x39cf4e=a213_0x5c52,_0xfb7065=camelCaseFlagsToKebab(_0x5a387b),_0x52d8f2=parseDynamicFlags(),_0x3db85a=new Set([..._0xfb7065,..._0x52d8f2]);return Array[_0x39cf4e(0x6e)](_0x3db85a);}export function normalizeLegacyBffSaveFlags(_0x3c89c0){const _0x74627c=a213_0x5c52,_0x7cdb5e=new Set(_0x3c89c0);return _0x7cdb5e[_0x74627c(0x85)](_0x74627c(0x86))&&_0x7cdb5e[_0x74627c(0x7d)](_0x74627c(0x7a)),Array[_0x74627c(0x6e)](_0x7cdb5e);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;export async function skillsCommand(_0x38e8ed,_0x57102f,_0x32321d){const _0x3361fe=a213_0x5c52;logger[_0x3361fe(0x8b)](process[_0x3361fe(0x71)]());if(_0x32321d?.[_0x3361fe(0x79)]||_0x38e8ed===_0x3361fe(0x90)){showHelp();return;}console[_0x3361fe(0x81)](_0x3361fe(0x77)+(_0x38e8ed||_0x3361fe(0x73))),console[_0x3361fe(0x72)](_0x3361fe(0x8e)),console[_0x3361fe(0x72)]('\x20\x20'+CLI_BIN_NAME+_0x3361fe(0x78)),console[_0x3361fe(0x72)](''),console['log'](_0x3361fe(0x76)+SKILLS_INSTALL_COMMAND_LINE),logger[_0x3361fe(0x81)]('skill','不支持的命令:\x20'+_0x38e8ed),process[_0x3361fe(0x8c)](0x1);}function a213_0x3f0d(){const _0x4588cd=['Error:\x20Unsupported\x20command:\x20','\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill','help','enable-bff-save','entries','startsWith','add','6797965tUuWIg','6182736BpUJVk','-$1','error','\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/rabetbase/guides/.\x0a','2ORmuCu','6KKrKFV','has','dangerously-bff-save','replace','13136589ViYWvx','4394193XloiFm','317606HiljtL','setLogPath','exit','includes','\x0aAvailable\x20commands:','toLowerCase','--help','\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','slice','argv','from','3505061eyGDsl','\x20cli-skill\x20install\x0a\x0aEquivalent\x20command:\x20','cwd','log','(empty)','length','11482056rUETnA','Equivalent\x20command:\x20'];a213_0x3f0d=function(){return _0x4588cd;};return a213_0x3f0d();}function showHelp(){const _0x1beac3=a213_0x5c52;console['log'](_0x1beac3(0x91)+CLI_BIN_NAME+_0x1beac3(0x70)+SKILLS_INSTALL_COMMAND_LINE+_0x1beac3(0x82));}
1
+ (function(_0x2cee97,_0x7f55d3){const _0x4839ac=a215_0x2e23,_0x4ff212=_0x2cee97();while(!![]){try{const _0x325a71=-parseInt(_0x4839ac(0x1b0))/0x1+parseInt(_0x4839ac(0x1a7))/0x2*(-parseInt(_0x4839ac(0x1ac))/0x3)+parseInt(_0x4839ac(0x1ad))/0x4+-parseInt(_0x4839ac(0x196))/0x5*(parseInt(_0x4839ac(0x19e))/0x6)+parseInt(_0x4839ac(0x197))/0x7+parseInt(_0x4839ac(0x195))/0x8+-parseInt(_0x4839ac(0x1a3))/0x9*(-parseInt(_0x4839ac(0x1ae))/0xa);if(_0x325a71===_0x7f55d3)break;else _0x4ff212['push'](_0x4ff212['shift']());}catch(_0x2affcc){_0x4ff212['push'](_0x4ff212['shift']());}}}(a215_0x1feb,0x7cb09));function a215_0x1feb(){const _0x1c6d2e=['486332SEPfFG','enable-bff-save','length','log','from','7058024gTFPDz','5YseYUk','3901800WCPIGH','--help','argv','setLogPath','Equivalent\x20command:\x20','includes','slice','5442852LCFcrH','startsWith','add','skill','\x0aAvailable\x20commands:','9706014UQrqZB','error','\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/rabetbase/guides/.\x0a','dangerously-bff-save','6hRyiHd','entries','Error:\x20Unsupported\x20command:\x20','cwd','\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill','735603JJsDsh','486828ZGxWDp','10SjwUpF','-$1'];a215_0x1feb=function(){return _0x1c6d2e;};return a215_0x1feb();}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(_0x25ad34){const _0x2003d5=a215_0x2e23,_0x588111=[];for(const [_0x365dcc,_0x2ae9a7]of Object[_0x2003d5(0x1a8)](_0x25ad34)){if(_0x2ae9a7===!![]){const _0x41c24e=_0x365dcc['replace'](/([A-Z])/g,_0x2003d5(0x1af))['toLowerCase']();_0x588111['push'](_0x41c24e);}}return _0x588111;}export function parseDynamicFlags(){const _0x28c3c0=a215_0x2e23,_0x598157=[];for(let _0x34a310=0x3;_0x34a310<process[_0x28c3c0(0x199)][_0x28c3c0(0x1b2)];_0x34a310++){const _0x3c23eb=process[_0x28c3c0(0x199)][_0x34a310];if(_0x3c23eb&&_0x3c23eb[_0x28c3c0(0x19f)]('--')){const _0x500c4d=_0x3c23eb[_0x28c3c0(0x19d)](0x2);_0x500c4d&&!_0x500c4d[_0x28c3c0(0x19c)]('=')&&_0x598157['push'](_0x500c4d);}}return _0x598157;}export function getAllProvidedFlags(_0x4005e3){const _0x1544e1=a215_0x2e23,_0x3c9880=camelCaseFlagsToKebab(_0x4005e3),_0x114545=parseDynamicFlags(),_0x3c81c0=new Set([..._0x3c9880,..._0x114545]);return Array[_0x1544e1(0x194)](_0x3c81c0);}export function normalizeLegacyBffSaveFlags(_0x7497d){const _0x354863=a215_0x2e23,_0x203e2c=new Set(_0x7497d);return _0x203e2c['has'](_0x354863(0x1a6))&&_0x203e2c[_0x354863(0x1a0)](_0x354863(0x1b1)),Array['from'](_0x203e2c);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;function a215_0x2e23(_0x44eb0c,_0x1d22d9){_0x44eb0c=_0x44eb0c-0x193;const _0x1feb17=a215_0x1feb();let _0x2e2318=_0x1feb17[_0x44eb0c];return _0x2e2318;}export async function skillsCommand(_0x1502ea,_0x52ee39,_0x36d3eb){const _0x5e0455=a215_0x2e23;logger[_0x5e0455(0x19a)](process[_0x5e0455(0x1aa)]());if(_0x36d3eb?.['help']||_0x1502ea===_0x5e0455(0x198)){showHelp();return;}console[_0x5e0455(0x1a4)](_0x5e0455(0x1a9)+(_0x1502ea||'(empty)')),console['log'](_0x5e0455(0x1a2)),console[_0x5e0455(0x193)]('\x20\x20'+CLI_BIN_NAME+_0x5e0455(0x1ab)),console['log'](''),console['log'](_0x5e0455(0x19b)+SKILLS_INSTALL_COMMAND_LINE),logger['error'](_0x5e0455(0x1a1),'不支持的命令:\x20'+_0x1502ea),process['exit'](0x1);}function showHelp(){const _0x1d3dd3=a215_0x2e23;console[_0x1d3dd3(0x193)]('\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20'+CLI_BIN_NAME+'\x20cli-skill\x20install\x0a\x0aEquivalent\x20command:\x20'+SKILLS_INSTALL_COMMAND_LINE+_0x1d3dd3(0x1a5));}
@@ -1 +1 @@
1
- const a214_0x1186c2=a214_0x56e3;(function(_0x58c34c,_0x8c9cac){const _0x83befb=a214_0x56e3,_0x1975da=_0x58c34c();while(!![]){try{const _0x16410b=parseInt(_0x83befb(0x1c2))/0x1*(parseInt(_0x83befb(0x1b7))/0x2)+-parseInt(_0x83befb(0x1b8))/0x3*(-parseInt(_0x83befb(0x1c3))/0x4)+-parseInt(_0x83befb(0x1b4))/0x5+parseInt(_0x83befb(0x1af))/0x6*(parseInt(_0x83befb(0x1bf))/0x7)+parseInt(_0x83befb(0x1ad))/0x8*(parseInt(_0x83befb(0x1b3))/0x9)+parseInt(_0x83befb(0x1ae))/0xa+-parseInt(_0x83befb(0x1b2))/0xb;if(_0x16410b===_0x8c9cac)break;else _0x1975da['push'](_0x1975da['shift']());}catch(_0x47a6c8){_0x1975da['push'](_0x1975da['shift']());}}}(a214_0x4495,0x91300));function a214_0x56e3(_0x52d96e,_0x108fb7){_0x52d96e=_0x52d96e-0x1a8;const _0x44957c=a214_0x4495();let _0x56e3e7=_0x44957c[_0x52d96e];return _0x56e3e7;}import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';function a214_0x4495(){const _0x4398b0=['173680dToxeN','skill','lovrabet/lovrabet-skill','stderr','remove','join','skills','log','114424awsnRv','2490160yowmZk','6aJoocA','toString','--skill','13033581nlQOXC','144VdWjHS','4765405SLvTYn','trim','Lovrabet','2bkZFCK','27OnryOu','unknown','inherit','status','exit\x20','stdout','npx','7848883RNBoab','stdio','pipe','742727mItRJS'];a214_0x4495=function(){return _0x4398b0;};return a214_0x4495();}export const NPX_FLAG_YES='-y';export const SKILLS_FLAG_GLOBAL='-g';export const SKILLS_FLAG_YES='-y';export const NPX_SKILLS_CLI=a214_0x1186c2(0x1ab);export const NPX_SKILLS_SUBCOMMAND_ADD='add';export const NPX_SKILLS_FLAG_SKILL=a214_0x1186c2(0x1b1);export const RABETBASE_SKILL_SOURCE='lovrabet/rabetbase';export const LEGACY_RABETBASE_SKILL_SOURCE=a214_0x1186c2(0x1c5);export const DEFAULT_RABETBASE_SKILL_NAME=a214_0x1186c2(0x1b6);export function buildNpxSkillsAddArgv(_0x368727){const _0x536f35=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE];return _0x368727&&_0x536f35['push'](NPX_SKILLS_FLAG_SKILL,_0x368727),_0x536f35;}export const NPX_SKILLS_ADD_COMMAND_LINE=[a214_0x1186c2(0x1be),...buildNpxSkillsAddArgv()]['join']('\x20');export const NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE=[a214_0x1186c2(0x1be),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(_0x4ca197,_0x2569e1){const _0x148c16=a214_0x1186c2;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x10f0a5=_0x2569e1?.[_0x148c16(0x1c0)]??_0x148c16(0x1ba),_0x106e74=resolveNpmBin(_0x148c16(0x1be)),_0x2f816a=buildNpxSkillsAddArgv(_0x2569e1?.[_0x148c16(0x1c4)]),_0x39deb8=[_0x148c16(0x1be),..._0x2f816a][_0x148c16(0x1aa)]('\x20');console[_0x148c16(0x1ac)]('*\x20'+_0x39deb8);const _0x55d297=spawnSync(_0x106e74,_0x2f816a,{'cwd':_0x4ca197,'stdio':_0x10f0a5,'env':process.env,'shell':![]}),_0x49e3be=_0x55d297['status'];if(_0x49e3be===0x0)return{'ok':!![],'status':0x0};let _0x487b70=_0x148c16(0x1bc)+(_0x49e3be??'unknown');if(_0x10f0a5===_0x148c16(0x1c1)){const _0x31d4c0=_0x55d297[_0x148c16(0x1a8)]?_0x55d297[_0x148c16(0x1a8)][_0x148c16(0x1b0)]()[_0x148c16(0x1b5)]():'',_0x1ae37a=_0x55d297[_0x148c16(0x1bd)]?_0x55d297['stdout']['toString']()[_0x148c16(0x1b5)]():'';if(_0x31d4c0)_0x487b70=_0x31d4c0;else{if(_0x1ae37a)_0x487b70=_0x1ae37a;}}return{'ok':![],'status':_0x49e3be??null,'error':_0x487b70};}export function runNpxSkillsRemove(_0x4bd299,_0x54ba5b,_0x452767=LEGACY_RABETBASE_SKILL_SOURCE){const _0x4fb470=a214_0x1186c2;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x2b91ac=_0x54ba5b?.['stdio']??_0x4fb470(0x1ba),_0x1c5f03=resolveNpmBin(_0x4fb470(0x1be)),_0x1ff224=[NPX_FLAG_YES,NPX_SKILLS_CLI,_0x4fb470(0x1a9),_0x452767,NPX_SKILLS_FLAG_SKILL,_0x54ba5b?.[_0x4fb470(0x1c4)]??DEFAULT_RABETBASE_SKILL_NAME,..._0x54ba5b?.['yes']?['-y']:[]],_0x5e5423=[_0x1c5f03,..._0x1ff224][_0x4fb470(0x1aa)]('\x20');console[_0x4fb470(0x1ac)]('*\x20'+_0x5e5423);const _0x8a9c9b=spawnSync(_0x1c5f03,_0x1ff224,{'cwd':_0x4bd299,'stdio':_0x2b91ac,'env':process.env,'shell':![]}),_0x12a5e4=_0x8a9c9b[_0x4fb470(0x1bb)];if(_0x12a5e4===0x0)return{'ok':!![],'status':0x0};let _0x39d92b=_0x4fb470(0x1bc)+(_0x12a5e4??'unknown');if(_0x2b91ac===_0x4fb470(0x1c1)){const _0x139f5b=_0x8a9c9b[_0x4fb470(0x1a8)]?_0x8a9c9b[_0x4fb470(0x1a8)][_0x4fb470(0x1b0)]()['trim']():'',_0x52ae8f=_0x8a9c9b[_0x4fb470(0x1bd)]?_0x8a9c9b[_0x4fb470(0x1bd)][_0x4fb470(0x1b0)]()[_0x4fb470(0x1b5)]():'';if(_0x139f5b)_0x39d92b=_0x139f5b;else{if(_0x52ae8f)_0x39d92b=_0x52ae8f;}}return{'ok':![],'status':_0x12a5e4??null,'error':_0x39d92b};}export function runNpxSkillsAddGlobal(_0x3b834a,_0x3dcff3,_0x1b96fa){const _0x21ba6f=a214_0x1186c2;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0xbd9e1d=_0x1b96fa?.[_0x21ba6f(0x1c0)]??_0x21ba6f(0x1ba),_0xbe3367=resolveNpmBin('npx'),_0x483090=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x3dcff3,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES],_0x4a71d5=[_0x21ba6f(0x1be),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x3dcff3,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][_0x21ba6f(0x1aa)]('\x20');console[_0x21ba6f(0x1ac)]('*\x20'+_0x4a71d5);const _0x483f5e=spawnSync(_0xbe3367,_0x483090,{'cwd':_0x3b834a,'stdio':_0xbd9e1d,'env':process.env,'shell':![]}),_0x4dabcd=_0x483f5e['status'];if(_0x4dabcd===0x0)return{'ok':!![],'status':0x0};let _0x643d02=_0x21ba6f(0x1bc)+(_0x4dabcd??_0x21ba6f(0x1b9));if(_0xbd9e1d===_0x21ba6f(0x1c1)){const _0x2981ba=_0x483f5e['stderr']?_0x483f5e[_0x21ba6f(0x1a8)][_0x21ba6f(0x1b0)]()[_0x21ba6f(0x1b5)]():'',_0x480d45=_0x483f5e['stdout']?_0x483f5e[_0x21ba6f(0x1bd)][_0x21ba6f(0x1b0)]()['trim']():'';if(_0x2981ba)_0x643d02=_0x2981ba;else{if(_0x480d45)_0x643d02=_0x480d45;}}return{'ok':![],'status':_0x4dabcd??null,'error':_0x643d02};}
1
+ const a216_0x49b05d=a216_0x4442;(function(_0x122f74,_0x5b843b){const _0x248179=a216_0x4442,_0x481228=_0x122f74();while(!![]){try{const _0x55b133=-parseInt(_0x248179(0x1c2))/0x1+parseInt(_0x248179(0x1c0))/0x2+-parseInt(_0x248179(0x1b3))/0x3*(parseInt(_0x248179(0x1bb))/0x4)+-parseInt(_0x248179(0x1be))/0x5*(-parseInt(_0x248179(0x1b7))/0x6)+parseInt(_0x248179(0x1cf))/0x7*(-parseInt(_0x248179(0x1b5))/0x8)+-parseInt(_0x248179(0x1c3))/0x9*(-parseInt(_0x248179(0x1cd))/0xa)+-parseInt(_0x248179(0x1c4))/0xb*(parseInt(_0x248179(0x1b8))/0xc);if(_0x55b133===_0x5b843b)break;else _0x481228['push'](_0x481228['shift']());}catch(_0x1f869e){_0x481228['push'](_0x481228['shift']());}}}(a216_0x2664,0xc619d));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=a216_0x49b05d(0x1c9);export const NPX_SKILLS_SUBCOMMAND_ADD='add';function a216_0x2664(){const _0x19a62e=['join','4REQLKm','status','unknown','3322090hzpUUl','lovrabet/rabetbase','2080704smgxXK','push','498060XlmWIz','2425455TdyIwy','2119293hIQSHl','stdout','inherit','pipe','npx','skills','stdio','exit\x20','trim','50MRkQnD','lovrabet/lovrabet-skill','797622gqAZzh','remove','156855SRqgqL','toString','24aIkjDe','skill','6sfnbLf','84aAPZBR','stderr'];a216_0x2664=function(){return _0x19a62e;};return a216_0x2664();}export const NPX_SKILLS_FLAG_SKILL='--skill';export const RABETBASE_SKILL_SOURCE=a216_0x49b05d(0x1bf);export const LEGACY_RABETBASE_SKILL_SOURCE=a216_0x49b05d(0x1ce);export const DEFAULT_RABETBASE_SKILL_NAME='Lovrabet';export function buildNpxSkillsAddArgv(_0x10d0f8){const _0x527444=a216_0x49b05d,_0x2b2003=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE];return _0x10d0f8&&_0x2b2003[_0x527444(0x1c1)](NPX_SKILLS_FLAG_SKILL,_0x10d0f8),_0x2b2003;}export const NPX_SKILLS_ADD_COMMAND_LINE=[a216_0x49b05d(0x1c8),...buildNpxSkillsAddArgv()][a216_0x49b05d(0x1ba)]('\x20');export const NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE=[a216_0x49b05d(0x1c8),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][a216_0x49b05d(0x1ba)]('\x20');function a216_0x4442(_0x5930dc,_0x20474c){_0x5930dc=_0x5930dc-0x1b3;const _0x2664d7=a216_0x2664();let _0x44424a=_0x2664d7[_0x5930dc];return _0x44424a;}export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0xca5c61,_0x49a7ee){const _0x238494=a216_0x49b05d;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x1d2fe2=_0x49a7ee?.[_0x238494(0x1ca)]??'inherit',_0x160ab6=resolveNpmBin(_0x238494(0x1c8)),_0x52a5a4=buildNpxSkillsAddArgv(_0x49a7ee?.[_0x238494(0x1b6)]),_0x538535=['npx',..._0x52a5a4]['join']('\x20');console['log']('*\x20'+_0x538535);const _0x1ae416=spawnSync(_0x160ab6,_0x52a5a4,{'cwd':_0xca5c61,'stdio':_0x1d2fe2,'env':process.env,'shell':![]}),_0x43036c=_0x1ae416['status'];if(_0x43036c===0x0)return{'ok':!![],'status':0x0};let _0x309517=_0x238494(0x1cb)+(_0x43036c??_0x238494(0x1bd));if(_0x1d2fe2===_0x238494(0x1c7)){const _0x4736b6=_0x1ae416[_0x238494(0x1b9)]?_0x1ae416['stderr'][_0x238494(0x1b4)]()[_0x238494(0x1cc)]():'',_0x45ffdb=_0x1ae416[_0x238494(0x1c5)]?_0x1ae416['stdout'][_0x238494(0x1b4)]()['trim']():'';if(_0x4736b6)_0x309517=_0x4736b6;else{if(_0x45ffdb)_0x309517=_0x45ffdb;}}return{'ok':![],'status':_0x43036c??null,'error':_0x309517};}export function runNpxSkillsRemove(_0x5e78c3,_0x5eb7b9,_0x2286a5=LEGACY_RABETBASE_SKILL_SOURCE){const _0x60818b=a216_0x49b05d;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x1b0b58=_0x5eb7b9?.[_0x60818b(0x1ca)]??_0x60818b(0x1c6),_0x4a01d4=resolveNpmBin(_0x60818b(0x1c8)),_0x4e105f=[NPX_FLAG_YES,NPX_SKILLS_CLI,_0x60818b(0x1d0),_0x2286a5,NPX_SKILLS_FLAG_SKILL,_0x5eb7b9?.[_0x60818b(0x1b6)]??DEFAULT_RABETBASE_SKILL_NAME,..._0x5eb7b9?.['yes']?['-y']:[]],_0x313b1a=[_0x4a01d4,..._0x4e105f]['join']('\x20');console['log']('*\x20'+_0x313b1a);const _0x582119=spawnSync(_0x4a01d4,_0x4e105f,{'cwd':_0x5e78c3,'stdio':_0x1b0b58,'env':process.env,'shell':![]}),_0xbfd445=_0x582119[_0x60818b(0x1bc)];if(_0xbfd445===0x0)return{'ok':!![],'status':0x0};let _0x1c21ba=_0x60818b(0x1cb)+(_0xbfd445??'unknown');if(_0x1b0b58==='pipe'){const _0x2673e8=_0x582119[_0x60818b(0x1b9)]?_0x582119['stderr'][_0x60818b(0x1b4)]()['trim']():'',_0x379bc2=_0x582119[_0x60818b(0x1c5)]?_0x582119[_0x60818b(0x1c5)][_0x60818b(0x1b4)]()[_0x60818b(0x1cc)]():'';if(_0x2673e8)_0x1c21ba=_0x2673e8;else{if(_0x379bc2)_0x1c21ba=_0x379bc2;}}return{'ok':![],'status':_0xbfd445??null,'error':_0x1c21ba};}export function runNpxSkillsAddGlobal(_0x495dcd,_0x114465,_0x4833f1){const _0x52d5af=a216_0x49b05d;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x1a48c3=_0x4833f1?.[_0x52d5af(0x1ca)]??_0x52d5af(0x1c6),_0x4025c8=resolveNpmBin(_0x52d5af(0x1c8)),_0x449dd9=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x114465,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES],_0x35e2b8=[_0x52d5af(0x1c8),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x114465,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][_0x52d5af(0x1ba)]('\x20');console['log']('*\x20'+_0x35e2b8);const _0x4578fa=spawnSync(_0x4025c8,_0x449dd9,{'cwd':_0x495dcd,'stdio':_0x1a48c3,'env':process.env,'shell':![]}),_0x1596f5=_0x4578fa[_0x52d5af(0x1bc)];if(_0x1596f5===0x0)return{'ok':!![],'status':0x0};let _0xa0f3a3=_0x52d5af(0x1cb)+(_0x1596f5??_0x52d5af(0x1bd));if(_0x1a48c3===_0x52d5af(0x1c7)){const _0x5094bf=_0x4578fa['stderr']?_0x4578fa['stderr'][_0x52d5af(0x1b4)]()[_0x52d5af(0x1cc)]():'',_0x4dccce=_0x4578fa['stdout']?_0x4578fa['stdout']['toString']()[_0x52d5af(0x1cc)]():'';if(_0x5094bf)_0xa0f3a3=_0x5094bf;else{if(_0x4dccce)_0xa0f3a3=_0x4dccce;}}return{'ok':![],'status':_0x1596f5??null,'error':_0xa0f3a3};}
@@ -1 +1 @@
1
- (function(_0x4f225c,_0x1fafa7){const _0x1a4bfa=a215_0x11a5,_0x593162=_0x4f225c();while(!![]){try{const _0x94b4dc=parseInt(_0x1a4bfa(0xfd))/0x1*(-parseInt(_0x1a4bfa(0xf5))/0x2)+parseInt(_0x1a4bfa(0x100))/0x3*(parseInt(_0x1a4bfa(0x104))/0x4)+-parseInt(_0x1a4bfa(0x103))/0x5+parseInt(_0x1a4bfa(0xf6))/0x6+-parseInt(_0x1a4bfa(0xf8))/0x7*(parseInt(_0x1a4bfa(0xfe))/0x8)+-parseInt(_0x1a4bfa(0xf1))/0x9*(-parseInt(_0x1a4bfa(0xf3))/0xa)+-parseInt(_0x1a4bfa(0x107))/0xb*(parseInt(_0x1a4bfa(0xf4))/0xc);if(_0x94b4dc===_0x1fafa7)break;else _0x593162['push'](_0x593162['shift']());}catch(_0x29e354){_0x593162['push'](_0x593162['shift']());}}}(a215_0x4108,0x7eab0));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';function a215_0x11a5(_0x22911c,_0x54e5cc){_0x22911c=_0x22911c-0xf0;const _0x410837=a215_0x4108();let _0x11a5d7=_0x410837[_0x22911c];return _0x11a5d7;}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(_0x45b12e){const _0xca5624=a215_0x11a5;return SENSITIVE_PATTERNS[_0xca5624(0xf9)](_0x56920a=>_0x56920a[_0xca5624(0xfa)](_0x45b12e));}function sanitizeFlags(_0x28424b){const _0x48674c=a215_0x11a5,_0x15cdf9={};for(const [_0x1cdcbe,_0x471d5d]of Object[_0x48674c(0xff)](_0x28424b)){isSensitiveKey(_0x1cdcbe)?_0x15cdf9[_0x1cdcbe]=_0x471d5d!=null&&_0x471d5d!==''?_0x48674c(0x105):_0x471d5d:_0x15cdf9[_0x1cdcbe]=_0x471d5d;}return _0x15cdf9;}export async function reportCommandTrace(_0x1ef366){const _0x80b917=a215_0x11a5;try{const _0x2c11e2=sanitizeFlags(_0x1ef366[_0x80b917(0x102)]);await sendCliTraceLog({'spanName':_0x80b917(0xfb),'logData':{'command.cli_version':getCliVersion(),'command.service':_0x1ef366[_0x80b917(0xf2)],'command.name':_0x1ef366[_0x80b917(0xf7)],'command.flags':JSON[_0x80b917(0x106)](_0x2c11e2),..._0x1ef366[_0x80b917(0xf0)]!=null?{'command.duration_ms':_0x1ef366[_0x80b917(0xf0)]}:{},..._0x1ef366[_0x80b917(0xfc)]?{'command.error':_0x1ef366[_0x80b917(0xfc)]instanceof Error?_0x1ef366[_0x80b917(0xfc)][_0x80b917(0x101)]:String(_0x1ef366[_0x80b917(0xfc)])}:{}}});}catch{}}function a215_0x4108(){const _0x2f3c4d=['147880IMXsJQ','entries','249CtOnmu','message','flags','3388035lBxpMl','41612VOrOXV','[REDACTED]','stringify','11BdPkbM','durationMs','4203bjqlMv','service','21720kUjBWH','5359980wEklgK','32qkmQxC','2592810wzvYmq','command','140NrLwUB','some','test','rabetbase.command','error','18569nudHwa'];a215_0x4108=function(){return _0x2f3c4d;};return a215_0x4108();}
1
+ (function(_0x5a38c6,_0xbeb538){const _0x4fdaf9=a217_0x235e,_0x1f7cf3=_0x5a38c6();while(!![]){try{const _0x4d6b54=parseInt(_0x4fdaf9(0x1dc))/0x1*(-parseInt(_0x4fdaf9(0x1d6))/0x2)+-parseInt(_0x4fdaf9(0x1d8))/0x3*(-parseInt(_0x4fdaf9(0x1d5))/0x4)+-parseInt(_0x4fdaf9(0x1cd))/0x5+-parseInt(_0x4fdaf9(0x1d3))/0x6+parseInt(_0x4fdaf9(0x1c7))/0x7*(parseInt(_0x4fdaf9(0x1c8))/0x8)+-parseInt(_0x4fdaf9(0x1cf))/0x9*(parseInt(_0x4fdaf9(0x1d0))/0xa)+-parseInt(_0x4fdaf9(0x1d9))/0xb*(-parseInt(_0x4fdaf9(0x1cc))/0xc);if(_0x4d6b54===_0xbeb538)break;else _0x1f7cf3['push'](_0x1f7cf3['shift']());}catch(_0x1b9c09){_0x1f7cf3['push'](_0x1f7cf3['shift']());}}}(a217_0x10d0,0x8c477));function a217_0x10d0(){const _0x29417b=['service','test','5311422PtxCzc','[REDACTED]','168968EfbtQy','1812lefTuU','rabetbase.command','51NLPcYX','651189ZxcEXa','error','entries','762YfqwGm','durationMs','2582167xSIZhc','8FyZKmL','message','command','stringify','336SxhdmM','2891665EZxVbQ','some','11106HSfupC','130PCjHjF'];a217_0x10d0=function(){return _0x29417b;};return a217_0x10d0();}function a217_0x235e(_0x5e7226,_0x22c670){_0x5e7226=_0x5e7226-0x1c6;const _0x10d0b3=a217_0x10d0();let _0x235e8f=_0x10d0b3[_0x5e7226];return _0x235e8f;}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(_0x1703f0){const _0x182f7f=a217_0x235e;return SENSITIVE_PATTERNS[_0x182f7f(0x1ce)](_0x43e434=>_0x43e434[_0x182f7f(0x1d2)](_0x1703f0));}function sanitizeFlags(_0x19746f){const _0x1c7918=a217_0x235e,_0x95e85d={};for(const [_0x23a9ce,_0x2146d8]of Object[_0x1c7918(0x1db)](_0x19746f)){isSensitiveKey(_0x23a9ce)?_0x95e85d[_0x23a9ce]=_0x2146d8!=null&&_0x2146d8!==''?_0x1c7918(0x1d4):_0x2146d8:_0x95e85d[_0x23a9ce]=_0x2146d8;}return _0x95e85d;}export async function reportCommandTrace(_0xd8ba26){const _0xb7244d=a217_0x235e;try{const _0x5de7f8=sanitizeFlags(_0xd8ba26['flags']);await sendCliTraceLog({'spanName':_0xb7244d(0x1d7),'logData':{'command.cli_version':getCliVersion(),'command.service':_0xd8ba26[_0xb7244d(0x1d1)],'command.name':_0xd8ba26[_0xb7244d(0x1ca)],'command.flags':JSON[_0xb7244d(0x1cb)](_0x5de7f8),..._0xd8ba26[_0xb7244d(0x1c6)]!=null?{'command.duration_ms':_0xd8ba26[_0xb7244d(0x1c6)]}:{},..._0xd8ba26['error']?{'command.error':_0xd8ba26['error']instanceof Error?_0xd8ba26[_0xb7244d(0x1da)][_0xb7244d(0x1c9)]:String(_0xd8ba26['error'])}:{}}});}catch{}}
@@ -1 +1 @@
1
- function a216_0x43e6(_0x3fb057,_0x2325e7){_0x3fb057=_0x3fb057-0xf7;var _0x1701cb=a216_0x1701();var _0x43e64d=_0x1701cb[_0x3fb057];return _0x43e64d;}function a216_0x1701(){var _0x7fc8c2=['4150CiCcIy','service','12aXnwrD','cli.help','732032pdKsWs','21xnvgaj','1078FVvutw','error','14428645WQaNVm','678XyhibV','614oSzfvP','10YGJbXW','2334033bvvqHU','523456PHTQHg','234690trQIoX'];a216_0x1701=function(){return _0x7fc8c2;};return a216_0x1701();}(function(_0x7420d8,_0x585a6b){var _0x35d192=a216_0x43e6,_0x57ec95=_0x7420d8();while(!![]){try{var _0x3ad53f=-parseInt(_0x35d192(0xfe))/0x1*(parseInt(_0x35d192(0x102))/0x2)+-parseInt(_0x35d192(0xf7))/0x3+-parseInt(_0x35d192(0xfc))/0x4+-parseInt(_0x35d192(0xf8))/0x5*(parseInt(_0x35d192(0x101))/0x6)+-parseInt(_0x35d192(0xfd))/0x7*(parseInt(_0x35d192(0x105))/0x8)+parseInt(_0x35d192(0x104))/0x9*(-parseInt(_0x35d192(0x103))/0xa)+-parseInt(_0x35d192(0x100))/0xb*(-parseInt(_0x35d192(0xfa))/0xc);if(_0x3ad53f===_0x585a6b)break;else _0x57ec95['push'](_0x57ec95['shift']());}catch(_0x15e647){_0x57ec95['push'](_0x57ec95['shift']());}}}(a216_0x1701,0x29868));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export async function reportCliHelpTrace(_0xaf04a6,_0x5a0287){var _0x2e09c6=a216_0x43e6;try{await sendCliTraceLog({'spanName':_0x2e09c6(0xfb),'logData':{'rabetbase.help.kind':_0xaf04a6,..._0x5a0287?.[_0x2e09c6(0xf9)]&&{'rabetbase.help.service':_0x5a0287[_0x2e09c6(0xf9)]}}});}catch(_0x357a4a){console[_0x2e09c6(0xff)]('Failed\x20to\x20report\x20CLI\x20help\x20trace:',_0x357a4a);}}
1
+ (function(_0x5d2d56,_0x252be8){var _0x159310=a218_0x2e53,_0xdd88c9=_0x5d2d56();while(!![]){try{var _0x114d3a=parseInt(_0x159310(0x1ab))/0x1*(parseInt(_0x159310(0x1b0))/0x2)+parseInt(_0x159310(0x1b3))/0x3*(parseInt(_0x159310(0x1b2))/0x4)+-parseInt(_0x159310(0x1ae))/0x5*(-parseInt(_0x159310(0x1ac))/0x6)+parseInt(_0x159310(0x1a9))/0x7*(-parseInt(_0x159310(0x1b4))/0x8)+parseInt(_0x159310(0x1a5))/0x9*(parseInt(_0x159310(0x1b1))/0xa)+-parseInt(_0x159310(0x1aa))/0xb*(parseInt(_0x159310(0x1a6))/0xc)+-parseInt(_0x159310(0x1a8))/0xd;if(_0x114d3a===_0x252be8)break;else _0xdd88c9['push'](_0xdd88c9['shift']());}catch(_0x45d77d){_0xdd88c9['push'](_0xdd88c9['shift']());}}}(a218_0x3130,0x5b85a));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';function a218_0x3130(){var _0x49ecd9=['error','41630JcKxxe','Failed\x20to\x20report\x20CLI\x20help\x20trace:','36fQyUNU','611090ucAaCp','4ZVbQET','1902378fwdxDp','539992uteInY','108FcGqIi','220332AIfajZ','service','27047696srieUJ','7tnVorw','99TqUvTU','38685KSyJlD','450EcOkyM'];a218_0x3130=function(){return _0x49ecd9;};return a218_0x3130();}function a218_0x2e53(_0x263ef3,_0x14f19d){_0x263ef3=_0x263ef3-0x1a5;var _0x313040=a218_0x3130();var _0x2e5354=_0x313040[_0x263ef3];return _0x2e5354;}export async function reportCliHelpTrace(_0xcbabdd,_0x53c061){var _0x2566ec=a218_0x2e53;try{await sendCliTraceLog({'spanName':'cli.help','logData':{'rabetbase.help.kind':_0xcbabdd,..._0x53c061?.['service']&&{'rabetbase.help.service':_0x53c061[_0x2566ec(0x1a7)]}}});}catch(_0x510272){console[_0x2566ec(0x1ad)](_0x2566ec(0x1af),_0x510272);}}
@@ -1 +1 @@
1
- (function(_0x2aaa10,_0x501cbc){const _0x508351=a217_0x2f0b,_0x20309e=_0x2aaa10();while(!![]){try{const _0x3197e7=-parseInt(_0x508351(0x1c0))/0x1*(-parseInt(_0x508351(0x1c5))/0x2)+-parseInt(_0x508351(0x1bb))/0x3+parseInt(_0x508351(0x1c1))/0x4*(parseInt(_0x508351(0x1b9))/0x5)+-parseInt(_0x508351(0x1be))/0x6+-parseInt(_0x508351(0x1bf))/0x7*(parseInt(_0x508351(0x1c8))/0x8)+parseInt(_0x508351(0x1b6))/0x9*(parseInt(_0x508351(0x1c2))/0xa)+parseInt(_0x508351(0x1bd))/0xb;if(_0x3197e7===_0x501cbc)break;else _0x20309e['push'](_0x20309e['shift']());}catch(_0x2eb873){_0x20309e['push'](_0x20309e['shift']());}}}(a217_0x57e8,0x6fd41));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 a217_0x57e8(){const _0x4eb5ee=['1582143LLEcwD','tenant_code','18307564cLYnfd','4029096TezgNs','5922959KUhwRd','1403NQAGBH','128164GNGTnb','583990sYngmk','production','email','484DxBUuX','tenant','nickname','8uKDVfm','72HXIwey','username','daily','5Tycrbl','unknown'];a217_0x57e8=function(){return _0x4eb5ee;};return a217_0x57e8();}import{NPM_PACKAGE_NAME}from'../constant/cli.js';import{getConfigAppCode}from'../utils/config.js';let cliOtelTraceInitialized=![];function a217_0x2f0b(_0xa94539,_0x3d870e){_0xa94539=_0xa94539-0x1b6;const _0x57e8d7=a217_0x57e8();let _0x2f0b17=_0x57e8d7[_0xa94539];return _0x2f0b17;}export async function ensureCliOtelTraceConfig(){const _0x596e7d=a217_0x2f0b,_0x52157e=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x422a55=_0x52157e?.['user'];setServiceConfig({'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!==_0x596e7d(0x1ba)?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?_0x596e7d(0x1b8):_0x596e7d(0x1c3))}),setUserContext({'id':_0x422a55?.['id'],'username':_0x422a55?.[_0x596e7d(0x1b7)],'nickname':_0x422a55?.[_0x596e7d(0x1c7)],'email':_0x422a55?.[_0x596e7d(0x1c4)],'tenantCode':_0x422a55?.[_0x596e7d(0x1c6)][_0x596e7d(0x1bc)],'appCode':getConfigAppCode()}),cliOtelTraceInitialized=!![];}return _0x52157e;}
1
+ function a219_0x1505(){const _0x165626=['2696vRstVO','815896ejrHUl','unknown','1460634aGmygZ','5500jkkTND','13wPFTJG','178195MTPpRO','2198708OgyMno','840GJEAlq','nickname','3126didcNX','1098zhVWav','daily','production'];a219_0x1505=function(){return _0x165626;};return a219_0x1505();}function a219_0x30f6(_0x58287c,_0x5b28ff){_0x58287c=_0x58287c-0x155;const _0x15051e=a219_0x1505();let _0x30f6e9=_0x15051e[_0x58287c];return _0x30f6e9;}(function(_0x80d0c5,_0x247a66){const _0x596188=a219_0x30f6,_0x299a93=_0x80d0c5();while(!![]){try{const _0x1ec8db=-parseInt(_0x596188(0x15f))/0x1*(parseInt(_0x596188(0x15a))/0x2)+-parseInt(_0x596188(0x15d))/0x3+parseInt(_0x596188(0x161))/0x4+parseInt(_0x596188(0x160))/0x5+parseInt(_0x596188(0x156))/0x6*(parseInt(_0x596188(0x162))/0x7)+parseInt(_0x596188(0x15b))/0x8+parseInt(_0x596188(0x157))/0x9*(parseInt(_0x596188(0x15e))/0xa);if(_0x1ec8db===_0x247a66)break;else _0x299a93['push'](_0x299a93['shift']());}catch(_0xb91aa){_0x299a93['push'](_0x299a93['shift']());}}}(a219_0x1505,0x4c4c9));import{VERSION,GIT_COMMIT}from'../generated/build-info.js';import{getSessionUserInfo}from'../auth/get-session-user.js';import{setServiceConfig,setUserContext}from'@lovrabet/otel-logger';import{NPM_PACKAGE_NAME}from'../constant/cli.js';import{getConfigAppCode}from'../utils/config.js';let cliOtelTraceInitialized=![];export async function ensureCliOtelTraceConfig(){const _0xe8322d=a219_0x30f6,_0x39ff59=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x4e6e14=_0x39ff59?.['user'];setServiceConfig({'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!==_0xe8322d(0x15c)?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?_0xe8322d(0x158):_0xe8322d(0x159))}),setUserContext({'id':_0x4e6e14?.['id'],'username':_0x4e6e14?.['username'],'nickname':_0x4e6e14?.[_0xe8322d(0x155)],'email':_0x4e6e14?.['email'],'tenantCode':_0x4e6e14?.['tenant']['tenant_code'],'appCode':getConfigAppCode()}),cliOtelTraceInitialized=!![];}return _0x39ff59;}
@@ -1 +1 @@
1
- function a218_0x281c(_0x224029,_0x18c3ca){_0x224029=_0x224029-0xe8;const _0x56103a=a218_0x5610();let _0x281ce1=_0x56103a[_0x224029];return _0x281ce1;}(function(_0x569bc1,_0x28f1fe){const _0x5c045b=a218_0x281c,_0x2cb7ee=_0x569bc1();while(!![]){try{const _0x22d437=-parseInt(_0x5c045b(0xeb))/0x1+parseInt(_0x5c045b(0xf3))/0x2+parseInt(_0x5c045b(0xf0))/0x3*(parseInt(_0x5c045b(0xea))/0x4)+-parseInt(_0x5c045b(0xe8))/0x5+parseInt(_0x5c045b(0xf1))/0x6*(parseInt(_0x5c045b(0xf2))/0x7)+-parseInt(_0x5c045b(0xed))/0x8+parseInt(_0x5c045b(0xef))/0x9;if(_0x22d437===_0x28f1fe)break;else _0x2cb7ee['push'](_0x2cb7ee['shift']());}catch(_0x3c172c){_0x2cb7ee['push'](_0x2cb7ee['shift']());}}}(a218_0x5610,0x53efd));function a218_0x5610(){const _0x2337cf=['beforeExit','1429668ipHJmu','457917UcjRUk','81444IGltHo','343eiDiLW','648082pvPxtZ','SIGTERM','SIGINT','3042600CmClww','once','12GOWWbD','249555aJoIUB','exit','3232448vrStKH'];a218_0x5610=function(){return _0x2337cf;};return a218_0x5610();}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 _0x37f010=a218_0x281c;process[_0x37f010(0xe9)](_0x37f010(0xee),()=>{void flushOtelNodeIfUsed();});const _0x55c6d8=()=>{const _0x4f2cfd=_0x37f010;void flushOtelNodeIfUsed()['then'](()=>process[_0x4f2cfd(0xec)](0x0));};process[_0x37f010(0xe9)](_0x37f010(0xf5),_0x55c6d8),process[_0x37f010(0xe9)](_0x37f010(0xf4),_0x55c6d8);}export async function exitWithOtelShutdown(_0x58437d){const _0x55f638=a218_0x281c;await flushOtelNodeIfUsed(),process[_0x55f638(0xec)](_0x58437d);}
1
+ (function(_0x4d3040,_0x1ab46e){const _0x51801a=a220_0x5309,_0x3ad0f5=_0x4d3040();while(!![]){try{const _0x494a98=-parseInt(_0x51801a(0x121))/0x1+-parseInt(_0x51801a(0x11a))/0x2*(-parseInt(_0x51801a(0x11d))/0x3)+parseInt(_0x51801a(0x117))/0x4+-parseInt(_0x51801a(0x11b))/0x5*(-parseInt(_0x51801a(0x118))/0x6)+-parseInt(_0x51801a(0x119))/0x7*(-parseInt(_0x51801a(0x114))/0x8)+parseInt(_0x51801a(0x123))/0x9+parseInt(_0x51801a(0x11c))/0xa*(-parseInt(_0x51801a(0x11f))/0xb);if(_0x494a98===_0x1ab46e)break;else _0x3ad0f5['push'](_0x3ad0f5['shift']());}catch(_0x84c834){_0x3ad0f5['push'](_0x3ad0f5['shift']());}}}(a220_0x175b,0x2af67));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;}function a220_0x175b(){const _0x5d83e3=['then','1401432DYDaXU','10698tybaLG','1549289XrGhNH','2QeHMxI','65BAYvRt','320nOYMUF','456912yrdjRC','SIGTERM','247489IgxYbh','exit','121721pEHFqh','SIGINT','2434464crxOrv','8sasXGI','once'];a220_0x175b=function(){return _0x5d83e3;};return a220_0x175b();}function a220_0x5309(_0x452f16,_0x5f1ce1){_0x452f16=_0x452f16-0x114;const _0x175b46=a220_0x175b();let _0x5309b7=_0x175b46[_0x452f16];return _0x5309b7;}export function registerOtelShutdownOnExit(){const _0x5a627e=a220_0x5309;process[_0x5a627e(0x115)]('beforeExit',()=>{void flushOtelNodeIfUsed();});const _0xcb5178=()=>{const _0x592f83=_0x5a627e;void flushOtelNodeIfUsed()[_0x592f83(0x116)](()=>process[_0x592f83(0x120)](0x0));};process[_0x5a627e(0x115)](_0x5a627e(0x122),_0xcb5178),process[_0x5a627e(0x115)](_0x5a627e(0x11e),_0xcb5178);}export async function exitWithOtelShutdown(_0x3c61f8){const _0x58a406=a220_0x5309;await flushOtelNodeIfUsed(),process[_0x58a406(0x120)](_0x3c61f8);}
@@ -1 +1 @@
1
- const a219_0x2852d1=a219_0x38d0;(function(_0xd39871,_0x1727db){const _0x2f4a33=a219_0x38d0,_0x28255c=_0xd39871();while(!![]){try{const _0x245fe3=-parseInt(_0x2f4a33(0x151))/0x1+parseInt(_0x2f4a33(0x153))/0x2*(parseInt(_0x2f4a33(0x157))/0x3)+-parseInt(_0x2f4a33(0x155))/0x4*(parseInt(_0x2f4a33(0x15a))/0x5)+-parseInt(_0x2f4a33(0x150))/0x6+-parseInt(_0x2f4a33(0x158))/0x7*(-parseInt(_0x2f4a33(0x14d))/0x8)+-parseInt(_0x2f4a33(0x156))/0x9*(-parseInt(_0x2f4a33(0x159))/0xa)+parseInt(_0x2f4a33(0x14e))/0xb;if(_0x245fe3===_0x1727db)break;else _0x28255c['push'](_0x28255c['shift']());}catch(_0x91544f){_0x28255c['push'](_0x28255c['shift']());}}}(a219_0x8c1e,0x2ea2f));import{sendTraceLog}from'@lovrabet/otel-logger';function a219_0x8c1e(){const _0x407775=['logData','manual','rabetbase-cli','40RJZnVJ','2956393OCHTRM','traceparent','230082HMsskv','167176UePuXV','version','1838LMzraj','traceName','4IRjesg','9uzeMix','183TYBJCq','121709zNIfhO','3339790alOVNg','1745950goJBKX'];a219_0x8c1e=function(){return _0x407775;};return a219_0x8c1e();}import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';import{getCliVersion}from'../utils/version.js';const DEFAULT_TRACE_NAME=a219_0x2852d1(0x14c);function a219_0x38d0(_0x54ebdc,_0x257a9c){_0x54ebdc=_0x54ebdc-0x14c;const _0x8c1e5=a219_0x8c1e();let _0x38d06d=_0x8c1e5[_0x54ebdc];return _0x38d06d;}export async function sendCliTraceLog(_0x3419bb){const _0x26b00c=a219_0x2852d1;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x3419bb[_0x26b00c(0x154)]??DEFAULT_TRACE_NAME,'version':_0x3419bb[_0x26b00c(0x152)]??getCliVersion(),'spanName':_0x3419bb['spanName'],'eventType':_0x26b00c(0x15c),'logData':_0x3419bb[_0x26b00c(0x15b)],..._0x3419bb[_0x26b00c(0x14f)]&&{'traceparent':_0x3419bb[_0x26b00c(0x14f)]}});}
1
+ const a221_0x5b3a91=a221_0x5750;function a221_0xb07c(){const _0x52e9f4=['1133vkLUcK','traceparent','manual','5WKxkCl','spanName','145180FROKsQ','7pQpwIE','134CkEXoY','1127051KtNsYQ','rabetbase-cli','1137304aAykrI','801648wLmBNR','logData','13188xWnNvB','174980KNFTar','version','4834626WkOQmP'];a221_0xb07c=function(){return _0x52e9f4;};return a221_0xb07c();}(function(_0x41ccd4,_0x3bce57){const _0x2f0e46=a221_0x5750,_0x4fd168=_0x41ccd4();while(!![]){try{const _0x569591=parseInt(_0x2f0e46(0x113))/0x1+parseInt(_0x2f0e46(0x112))/0x2*(parseInt(_0x2f0e46(0x107))/0x3)+-parseInt(_0x2f0e46(0x110))/0x4+-parseInt(_0x2f0e46(0x10e))/0x5*(-parseInt(_0x2f0e46(0x10a))/0x6)+parseInt(_0x2f0e46(0x111))/0x7*(parseInt(_0x2f0e46(0x104))/0x8)+parseInt(_0x2f0e46(0x105))/0x9+parseInt(_0x2f0e46(0x108))/0xa*(-parseInt(_0x2f0e46(0x10b))/0xb);if(_0x569591===_0x3bce57)break;else _0x4fd168['push'](_0x4fd168['shift']());}catch(_0x2b555f){_0x4fd168['push'](_0x4fd168['shift']());}}}(a221_0xb07c,0x975e0));import{sendTraceLog}from'@lovrabet/otel-logger';function a221_0x5750(_0x3d1636,_0x16d55e){_0x3d1636=_0x3d1636-0x103;const _0xb07cb4=a221_0xb07c();let _0x57506e=_0xb07cb4[_0x3d1636];return _0x57506e;}import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';import{getCliVersion}from'../utils/version.js';const DEFAULT_TRACE_NAME=a221_0x5b3a91(0x103);export async function sendCliTraceLog(_0x3fcb69){const _0x516598=a221_0x5b3a91;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x3fcb69['traceName']??DEFAULT_TRACE_NAME,'version':_0x3fcb69[_0x516598(0x109)]??getCliVersion(),'spanName':_0x3fcb69[_0x516598(0x10f)],'eventType':_0x516598(0x10d),'logData':_0x3fcb69[_0x516598(0x106)],..._0x3fcb69['traceparent']&&{'traceparent':_0x3fcb69[_0x516598(0x10c)]}});}
@@ -1 +1 @@
1
- const a220_0x3e54c2=a220_0x1993;function a220_0x5e3c(){const _0x4b2ea3=['sanitize','originalBytes','3174660qxVCTn','platform-issue-log-collect','245316cWRxRY','redactionKinds','title','1394348EepKBl','truncated','9782124LwMhxx','1950954kmbLfx','15Grijgm','12475440uUkDeC','join','issue.log.collect','9070404YXlPRB','description'];a220_0x5e3c=function(){return _0x4b2ea3;};return a220_0x5e3c();}(function(_0x798117,_0x35f0f4){const _0x4404fd=a220_0x1993,_0x29c76b=_0x798117();while(!![]){try{const _0x3e8c2d=-parseInt(_0x4404fd(0x80))/0x1+parseInt(_0x4404fd(0x7d))/0x2+parseInt(_0x4404fd(0x89))/0x3+-parseInt(_0x4404fd(0x8b))/0x4*(parseInt(_0x4404fd(0x81))/0x5)+parseInt(_0x4404fd(0x7f))/0x6+parseInt(_0x4404fd(0x85))/0x7+-parseInt(_0x4404fd(0x82))/0x8;if(_0x3e8c2d===_0x35f0f4)break;else _0x29c76b['push'](_0x29c76b['shift']());}catch(_0x27e3ac){_0x29c76b['push'](_0x29c76b['shift']());}}}(a220_0x5e3c,0xf100d));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';function a220_0x1993(_0x1c426a,_0x3d34f5){_0x1c426a=_0x1c426a-0x7c;const _0x5e3c15=a220_0x5e3c();let _0x1993f2=_0x5e3c15[_0x1c426a];return _0x1993f2;}export const PLATFORM_ISSUE_TRACE_NAME=a220_0x3e54c2(0x8a);export const PLATFORM_ISSUE_SPAN_NAME=a220_0x3e54c2(0x84);export async function sendPlatformIssueCollectLog(_0x1e3738){const _0x4a006d=a220_0x3e54c2;await sendCliTraceLog({'traceName':PLATFORM_ISSUE_TRACE_NAME,'spanName':PLATFORM_ISSUE_SPAN_NAME,'logData':{'issue.title':_0x1e3738[_0x4a006d(0x7c)],'issue.description':_0x1e3738[_0x4a006d(0x86)],..._0x1e3738[_0x4a006d(0x87)]?{'issue.description_original_bytes':_0x1e3738[_0x4a006d(0x87)][_0x4a006d(0x88)],'issue.description_truncated':_0x1e3738[_0x4a006d(0x87)][_0x4a006d(0x7e)],'issue.description_redactions':_0x1e3738['sanitize']['redactionCount'],'issue.description_redaction_kinds':_0x1e3738[_0x4a006d(0x87)][_0x4a006d(0x8c)][_0x4a006d(0x83)](',')}:{}}});}
1
+ const a222_0x68ad94=a222_0x8b6e;(function(_0x31a807,_0xae8649){const _0x30ab3b=a222_0x8b6e,_0x546df9=_0x31a807();while(!![]){try{const _0x354dcd=parseInt(_0x30ab3b(0x1e4))/0x1*(parseInt(_0x30ab3b(0x1e2))/0x2)+parseInt(_0x30ab3b(0x1df))/0x3+parseInt(_0x30ab3b(0x1e5))/0x4+parseInt(_0x30ab3b(0x1e1))/0x5*(-parseInt(_0x30ab3b(0x1eb))/0x6)+-parseInt(_0x30ab3b(0x1e6))/0x7*(-parseInt(_0x30ab3b(0x1ea))/0x8)+-parseInt(_0x30ab3b(0x1db))/0x9+-parseInt(_0x30ab3b(0x1e9))/0xa;if(_0x354dcd===_0xae8649)break;else _0x546df9['push'](_0x546df9['shift']());}catch(_0x588033){_0x546df9['push'](_0x546df9['shift']());}}}(a222_0x349f,0x1e5c9));function a222_0x349f(){const _0x1b5dc8=['192942eBqQhw','sanitize','5ztWjjS','453150wTUKhJ','join','1BCexzf','154804qVwbwl','277914KCCSsl','truncated','description','1797950nSzjZL','24AtPmHF','258546bDHBmu','redactionKinds','913041IkjIMB','issue.log.collect','redactionCount','originalBytes'];a222_0x349f=function(){return _0x1b5dc8;};return a222_0x349f();}function a222_0x8b6e(_0x252acc,_0x37d703){_0x252acc=_0x252acc-0x1db;const _0x349f8f=a222_0x349f();let _0x8b6e54=_0x349f8f[_0x252acc];return _0x8b6e54;}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=a222_0x68ad94(0x1dc);export async function sendPlatformIssueCollectLog(_0x14dffc){const _0xe144c5=a222_0x68ad94;await sendCliTraceLog({'traceName':PLATFORM_ISSUE_TRACE_NAME,'spanName':PLATFORM_ISSUE_SPAN_NAME,'logData':{'issue.title':_0x14dffc['title'],'issue.description':_0x14dffc[_0xe144c5(0x1e8)],..._0x14dffc['sanitize']?{'issue.description_original_bytes':_0x14dffc[_0xe144c5(0x1e0)][_0xe144c5(0x1de)],'issue.description_truncated':_0x14dffc[_0xe144c5(0x1e0)][_0xe144c5(0x1e7)],'issue.description_redactions':_0x14dffc['sanitize'][_0xe144c5(0x1dd)],'issue.description_redaction_kinds':_0x14dffc['sanitize'][_0xe144c5(0x1ec)][_0xe144c5(0x1e3)](',')}:{}}});}
@@ -1 +1 @@
1
- const a222_0x6e60a7=a222_0x2ae0;(function(_0x1a790d,_0x33362d){const _0x1cb6f7=a222_0x2ae0,_0x76d25c=_0x1a790d();while(!![]){try{const _0x252c8c=parseInt(_0x1cb6f7(0xbe))/0x1*(-parseInt(_0x1cb6f7(0xd9))/0x2)+-parseInt(_0x1cb6f7(0xc6))/0x3*(-parseInt(_0x1cb6f7(0xb4))/0x4)+-parseInt(_0x1cb6f7(0xdf))/0x5+parseInt(_0x1cb6f7(0xc4))/0x6*(parseInt(_0x1cb6f7(0xcb))/0x7)+-parseInt(_0x1cb6f7(0xbd))/0x8*(-parseInt(_0x1cb6f7(0xcd))/0x9)+parseInt(_0x1cb6f7(0xc8))/0xa*(-parseInt(_0x1cb6f7(0xc3))/0xb)+parseInt(_0x1cb6f7(0xc2))/0xc;if(_0x252c8c===_0x33362d)break;else _0x76d25c['push'](_0x76d25c['shift']());}catch(_0xcf9c52){_0x76d25c['push'](_0x76d25c['shift']());}}}(a222_0x466e,0x96b22));export const CORE_IDE_CONFIGS={'cursor':{'name':a222_0x6e60a7(0xe3),'description':a222_0x6e60a7(0xb6),'folders':[a222_0x6e60a7(0xdc),a222_0x6e60a7(0xbb)],'files':[{'type':a222_0x6e60a7(0xbc),'path':'.cursor/skills/rabetbase.md','template':a222_0x6e60a7(0xc1)}]},'windsurf':{'name':a222_0x6e60a7(0xd6),'description':'Windsurf\x20IDE','folders':[a222_0x6e60a7(0xde)],'files':[{'type':a222_0x6e60a7(0xbc),'path':a222_0x6e60a7(0xe9),'template':'SKILL.md.tpl'}]},'claude':{'name':a222_0x6e60a7(0xdd),'description':'Claude\x20Code','folders':['.claude'],'files':[{'type':'file','path':'.claude/skills/lovrabet/SKILL.md','template':a222_0x6e60a7(0xc1)}]},'cline':{'name':'Cline','description':a222_0x6e60a7(0xcf),'folders':[a222_0x6e60a7(0xc9)],'files':[{'type':a222_0x6e60a7(0xbc),'path':a222_0x6e60a7(0xb5),'template':a222_0x6e60a7(0xc1)}]},'codex':{'name':a222_0x6e60a7(0xe0),'description':a222_0x6e60a7(0xb8),'folders':[a222_0x6e60a7(0xd2)],'files':[{'type':a222_0x6e60a7(0xbc),'path':a222_0x6e60a7(0xd0),'template':a222_0x6e60a7(0xc1)}]},'opencode':{'name':a222_0x6e60a7(0xd5),'description':a222_0x6e60a7(0xbf),'folders':[a222_0x6e60a7(0xb1)],'files':[{'type':a222_0x6e60a7(0xbc),'path':a222_0x6e60a7(0xe6),'template':'SKILL.md.tpl'}]},'qoder':{'name':a222_0x6e60a7(0xca),'description':'Qoder\x20IDE','folders':['.qoder'],'files':[{'type':a222_0x6e60a7(0xbc),'path':a222_0x6e60a7(0xcc),'template':a222_0x6e60a7(0xc1)},{'type':'file','path':a222_0x6e60a7(0xd8),'template':a222_0x6e60a7(0xc1)}]},'codebuddy':{'name':a222_0x6e60a7(0xd7),'description':a222_0x6e60a7(0xba),'folders':[a222_0x6e60a7(0xd1)],'files':[{'type':a222_0x6e60a7(0xbc),'path':a222_0x6e60a7(0xb2),'template':a222_0x6e60a7(0xc1)}]},'trae':{'name':a222_0x6e60a7(0xc0),'description':'Trae\x20IDE','folders':[a222_0x6e60a7(0xdb)],'files':[{'type':'file','path':a222_0x6e60a7(0xe7),'template':a222_0x6e60a7(0xc1)}]}};export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':a222_0x6e60a7(0xb3),'description':'通用模板\x20-\x20兜底方案','folders':[a222_0x6e60a7(0xb9)],'files':[{'type':'file','path':a222_0x6e60a7(0xe1),'template':a222_0x6e60a7(0xc1)}]},'antigravity':{'name':'Antigravity','description':a222_0x6e60a7(0xda),'folders':[a222_0x6e60a7(0xb9)],'files':[{'type':a222_0x6e60a7(0xbc),'path':a222_0x6e60a7(0xe1),'template':'SKILL.md.tpl'}]}};export const CORE_IDE_LIST=[a222_0x6e60a7(0xd4),a222_0x6e60a7(0xe2),'codebuddy',a222_0x6e60a7(0xe8),a222_0x6e60a7(0xe5),a222_0x6e60a7(0xc7),a222_0x6e60a7(0xb7),a222_0x6e60a7(0xd3),a222_0x6e60a7(0xe4)];export const IDE_LIST=['antigravity',a222_0x6e60a7(0xd4),'cline','codebuddy',a222_0x6e60a7(0xe8),'cursor',a222_0x6e60a7(0xc7),a222_0x6e60a7(0xb7),'trae',a222_0x6e60a7(0xe4),a222_0x6e60a7(0xc5)];export const ALL_CORE_IDES=[a222_0x6e60a7(0xe5),a222_0x6e60a7(0xe4),a222_0x6e60a7(0xd4),a222_0x6e60a7(0xe2),a222_0x6e60a7(0xe8),a222_0x6e60a7(0xc7),a222_0x6e60a7(0xb7),a222_0x6e60a7(0xce),'trae'];function a222_0x2ae0(_0x178cc2,_0x1149b4){_0x178cc2=_0x178cc2-0xb1;const _0x466efb=a222_0x466e();let _0x2ae0d7=_0x466efb[_0x178cc2];return _0x2ae0d7;}function a222_0x466e(){const _0x48ef71=['44wTbBxW','6hyxrzw','agent','3hWHCRv','opencode','2313690lyQvmw','.cline','Qoder','6978797mStZeq','.qoder/rules/rabetbase.md','18xCjMNL','codebuddy','Cline\x20IDE','.codex/skills/lovrabet/SKILL.md','.codebuddy','.codex','trae','claude','OpenCode','Windsurf','CodeBuddy','.qoder/skills/lovrabet/SKILL.md','2ejPzAw','Antigravity\x20IDE','.trae','.cursorrules','Claude\x20Code','.windsurf','5263625wZLdtR','Codex','.agent/skills/lovrabet/SKILL.md','cline','Cursor','windsurf','cursor','.opencode/skills/lovrabet/SKILL.md','.trae/skills/lovrabet/SKILL.md','codex','.windsurf/workflows/rabetbase.md','.opencode','.codebuddy/skills/lovrabet/SKILL.md','其他\x20(通用模板)','2204344AvMkRP','.cline/skills/lovrabet/SKILL.md','Cursor\x20IDE','qoder','Codex\x20IDE','.agent','CodeBuddy\x20IDE','.cursor','file','96168HdzaeD','912092ATOrxb','OpenCode\x20IDE','Trae','SKILL.md.tpl','23225328oFqWaO'];a222_0x466e=function(){return _0x48ef71;};return a222_0x466e();}
1
+ const a224_0x340b67=a224_0x24f2;(function(_0x3d6ce6,_0x5445e9){const _0x34fc2e=a224_0x24f2,_0x23701b=_0x3d6ce6();while(!![]){try{const _0xe2d051=parseInt(_0x34fc2e(0x16a))/0x1+parseInt(_0x34fc2e(0x190))/0x2+-parseInt(_0x34fc2e(0x15d))/0x3+parseInt(_0x34fc2e(0x164))/0x4+-parseInt(_0x34fc2e(0x18a))/0x5*(parseInt(_0x34fc2e(0x166))/0x6)+-parseInt(_0x34fc2e(0x16e))/0x7+parseInt(_0x34fc2e(0x182))/0x8;if(_0xe2d051===_0x5445e9)break;else _0x23701b['push'](_0x23701b['shift']());}catch(_0x5b24e5){_0x23701b['push'](_0x23701b['shift']());}}}(a224_0x5565,0x62250));export const CORE_IDE_CONFIGS={'cursor':{'name':a224_0x340b67(0x180),'description':a224_0x340b67(0x171),'folders':['.cursorrules',a224_0x340b67(0x17e)],'files':[{'type':a224_0x340b67(0x168),'path':a224_0x340b67(0x18d),'template':a224_0x340b67(0x192)}]},'windsurf':{'name':a224_0x340b67(0x16b),'description':'Windsurf\x20IDE','folders':[a224_0x340b67(0x17b)],'files':[{'type':'file','path':a224_0x340b67(0x17f),'template':a224_0x340b67(0x192)}]},'claude':{'name':a224_0x340b67(0x183),'description':'Claude\x20Code','folders':[a224_0x340b67(0x161)],'files':[{'type':a224_0x340b67(0x168),'path':a224_0x340b67(0x189),'template':'SKILL.md.tpl'}]},'cline':{'name':a224_0x340b67(0x188),'description':a224_0x340b67(0x179),'folders':[a224_0x340b67(0x163)],'files':[{'type':a224_0x340b67(0x168),'path':a224_0x340b67(0x167),'template':a224_0x340b67(0x192)}]},'codex':{'name':a224_0x340b67(0x184),'description':a224_0x340b67(0x16c),'folders':[a224_0x340b67(0x162)],'files':[{'type':'file','path':'.codex/skills/lovrabet/SKILL.md','template':a224_0x340b67(0x192)}]},'opencode':{'name':a224_0x340b67(0x186),'description':a224_0x340b67(0x160),'folders':['.opencode'],'files':[{'type':a224_0x340b67(0x168),'path':a224_0x340b67(0x172),'template':'SKILL.md.tpl'}]},'qoder':{'name':'Qoder','description':a224_0x340b67(0x177),'folders':[a224_0x340b67(0x178)],'files':[{'type':'file','path':a224_0x340b67(0x15e),'template':a224_0x340b67(0x192)},{'type':a224_0x340b67(0x168),'path':a224_0x340b67(0x17d),'template':a224_0x340b67(0x192)}]},'codebuddy':{'name':a224_0x340b67(0x18f),'description':'CodeBuddy\x20IDE','folders':['.codebuddy'],'files':[{'type':a224_0x340b67(0x168),'path':a224_0x340b67(0x17a),'template':a224_0x340b67(0x192)}]},'trae':{'name':a224_0x340b67(0x174),'description':'Trae\x20IDE','folders':[a224_0x340b67(0x185)],'files':[{'type':'file','path':a224_0x340b67(0x170),'template':a224_0x340b67(0x192)}]}};export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':a224_0x340b67(0x193),'description':a224_0x340b67(0x15f),'folders':[a224_0x340b67(0x18c)],'files':[{'type':a224_0x340b67(0x168),'path':a224_0x340b67(0x169),'template':a224_0x340b67(0x192)}]},'antigravity':{'name':'Antigravity','description':a224_0x340b67(0x175),'folders':[a224_0x340b67(0x18c)],'files':[{'type':'file','path':'.agent/skills/lovrabet/SKILL.md','template':a224_0x340b67(0x192)}]}};function a224_0x24f2(_0xbee079,_0x2793f4){_0xbee079=_0xbee079-0x15d;const _0x556526=a224_0x5565();let _0x24f2e3=_0x556526[_0xbee079];return _0x24f2e3;}export const CORE_IDE_LIST=[a224_0x340b67(0x173),'cline','codebuddy',a224_0x340b67(0x191),a224_0x340b67(0x181),a224_0x340b67(0x18e),a224_0x340b67(0x165),a224_0x340b67(0x18b),a224_0x340b67(0x17c)];export const IDE_LIST=[a224_0x340b67(0x16d),'claude',a224_0x340b67(0x176),a224_0x340b67(0x16f),'codex',a224_0x340b67(0x181),a224_0x340b67(0x18e),a224_0x340b67(0x165),a224_0x340b67(0x18b),a224_0x340b67(0x17c),a224_0x340b67(0x187)];export const ALL_CORE_IDES=[a224_0x340b67(0x181),'windsurf',a224_0x340b67(0x173),a224_0x340b67(0x176),'codex','opencode','qoder',a224_0x340b67(0x16f),a224_0x340b67(0x18b)];function a224_0x5565(){const _0x439aee=['.cline/skills/lovrabet/SKILL.md','file','.agent/skills/lovrabet/SKILL.md','108292kVsNGD','Windsurf','Codex\x20IDE','antigravity','4918340UWsNqd','codebuddy','.trae/skills/lovrabet/SKILL.md','Cursor\x20IDE','.opencode/skills/lovrabet/SKILL.md','claude','Trae','Antigravity\x20IDE','cline','Qoder\x20IDE','.qoder','Cline\x20IDE','.codebuddy/skills/lovrabet/SKILL.md','.windsurf','windsurf','.qoder/skills/lovrabet/SKILL.md','.cursor','.windsurf/workflows/rabetbase.md','Cursor','cursor','4263904MngRpu','Claude\x20Code','Codex','.trae','OpenCode','agent','Cline','.claude/skills/lovrabet/SKILL.md','10EjOmSj','trae','.agent','.cursor/skills/rabetbase.md','opencode','CodeBuddy','1250364wZgRzY','codex','SKILL.md.tpl','其他\x20(通用模板)','1575093LrnuUl','.qoder/rules/rabetbase.md','通用模板\x20-\x20兜底方案','OpenCode\x20IDE','.claude','.codex','.cline','2200652JqnaUl','qoder','560922DsrZRY'];a224_0x5565=function(){return _0x439aee;};return a224_0x5565();}