@lovrabet/rabetbase-cli 2.3.8-beta.1 → 2.3.9-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (245) 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 -1
  79. package/lib/commands/db/analyze-batch-plan.js +1 -1
  80. package/lib/commands/db/analyze-cancel.js +1 -1
  81. package/lib/commands/db/analyze-start.js +1 -1
  82. package/lib/commands/db/analyze-status.js +1 -1
  83. package/lib/commands/db/create.js +1 -1
  84. package/lib/commands/db/delete.js +1 -1
  85. package/lib/commands/db/detail.js +1 -1
  86. package/lib/commands/db/diff.js +1 -1
  87. package/lib/commands/db/index.js +1 -1
  88. package/lib/commands/db/list.js +1 -1
  89. package/lib/commands/db/shared.js +1 -1
  90. package/lib/commands/db/tables.js +1 -1
  91. package/lib/commands/db/test.js +1 -1
  92. package/lib/commands/db/update.js +1 -1
  93. package/lib/commands/doctor.js +1 -1
  94. package/lib/commands/file/index.js +1 -1
  95. package/lib/commands/init/index.js +1 -1
  96. package/lib/commands/issue/index.js +1 -1
  97. package/lib/commands/issue/nudge.js +1 -1
  98. package/lib/commands/issue/report.js +1 -1
  99. package/lib/commands/issue/shared.js +1 -1
  100. package/lib/commands/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/notification/config-list.js +1 -1
  115. package/lib/commands/notification/index.js +1 -1
  116. package/lib/commands/page/generate-start.js +1 -1
  117. package/lib/commands/page/generate-status.js +1 -1
  118. package/lib/commands/page/index.js +1 -1
  119. package/lib/commands/page/pull.js +1 -1
  120. package/lib/commands/page/push.js +1 -1
  121. package/lib/commands/page/relation-audit.js +1 -1
  122. package/lib/commands/page/shared.js +1 -1
  123. package/lib/commands/page/standard-page-status.js +1 -1
  124. package/lib/commands/page/sync.js +1 -1
  125. package/lib/commands/permit/index.js +1 -1
  126. package/lib/commands/permit/page-get.js +1 -1
  127. package/lib/commands/permit/page-set.js +1 -1
  128. package/lib/commands/permit/role-apis-set.js +1 -1
  129. package/lib/commands/permit/role-menus-set.js +1 -1
  130. package/lib/commands/permit/role-menus.js +1 -1
  131. package/lib/commands/permit/shared.js +1 -1
  132. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  133. package/lib/commands/project/create/format-elapsed.js +1 -1
  134. package/lib/commands/project/create/main.js +1 -1
  135. package/lib/commands/project/create/non-interactive.js +1 -1
  136. package/lib/commands/project/create/project-template-path.js +1 -1
  137. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  138. package/lib/commands/project/create/use-format-code.js +1 -1
  139. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  140. package/lib/commands/project/index.js +1 -1
  141. package/lib/commands/project/init.js +1 -1
  142. package/lib/commands/project/upgrade.js +1 -1
  143. package/lib/commands/registry.js +1 -1
  144. package/lib/commands/role/create.js +1 -1
  145. package/lib/commands/role/delete.js +1 -1
  146. package/lib/commands/role/detail.js +1 -1
  147. package/lib/commands/role/index.js +1 -1
  148. package/lib/commands/role/list.js +1 -1
  149. package/lib/commands/role/shared.js +1 -1
  150. package/lib/commands/role/update.js +1 -1
  151. package/lib/commands/role/user-add.js +1 -1
  152. package/lib/commands/role/user-remove.js +1 -1
  153. package/lib/commands/role/user-resolve.js +1 -1
  154. package/lib/commands/run/index.js +1 -1
  155. package/lib/commands/schema.js +1 -1
  156. package/lib/commands/sql/create.js +1 -1
  157. package/lib/commands/sql/delete.js +1 -1
  158. package/lib/commands/sql/detail.js +1 -1
  159. package/lib/commands/sql/exec.js +1 -1
  160. package/lib/commands/sql/index.js +1 -1
  161. package/lib/commands/sql/list.js +1 -1
  162. package/lib/commands/sql/pull.js +1 -1
  163. package/lib/commands/sql/push.js +1 -1
  164. package/lib/commands/sql/save.js +1 -1
  165. package/lib/commands/sql/shared.js +1 -1
  166. package/lib/commands/sql/status.js +1 -1
  167. package/lib/commands/sql/validate.js +1 -1
  168. package/lib/commands/workspace/add.js +1 -1
  169. package/lib/commands/workspace/index.js +1 -1
  170. package/lib/commands/workspace/remove.js +1 -1
  171. package/lib/config/schema.js +1 -1
  172. package/lib/constant/cdn.js +1 -1
  173. package/lib/constant/cli.js +1 -1
  174. package/lib/constant/defaults.js +1 -1
  175. package/lib/constant/domain.js +1 -1
  176. package/lib/constant/env.js +1 -1
  177. package/lib/constant/output.js +1 -1
  178. package/lib/constant/paths.js +1 -1
  179. package/lib/constant/risk.js +1 -1
  180. package/lib/context/app-resolver.js +1 -1
  181. package/lib/context/auth-resolver.js +1 -1
  182. package/lib/context/config-loader.js +1 -1
  183. package/lib/context.js +1 -1
  184. package/lib/core/alias-resolver.js +1 -1
  185. package/lib/core/api-client.js +1 -1
  186. package/lib/core/bff/config.js +1 -1
  187. package/lib/core/bff/file-system.js +1 -1
  188. package/lib/core/bff/hash.js +1 -1
  189. package/lib/core/bff/lock.js +1 -1
  190. package/lib/core/bff/utils.js +1 -1
  191. package/lib/core/db-resolver.js +1 -1
  192. package/lib/core/page/file-system.js +1 -1
  193. package/lib/core/page/hash.js +1 -1
  194. package/lib/core/page/lock.js +1 -1
  195. package/lib/core/sql-sync/config.js +1 -1
  196. package/lib/core/sql-sync/file-system.js +1 -1
  197. package/lib/core/sql-sync/hash.js +1 -1
  198. package/lib/core/sql-sync/lock.js +1 -1
  199. package/lib/core/sql-sync/utils.js +1 -1
  200. package/lib/core/sql-validator.js +1 -1
  201. package/lib/errors.js +1 -1
  202. package/lib/framework/build-all-flags.js +1 -1
  203. package/lib/framework/flags.js +1 -1
  204. package/lib/framework/help.js +1 -1
  205. package/lib/framework/index.js +1 -1
  206. package/lib/framework/output.js +1 -1
  207. package/lib/framework/response.js +1 -1
  208. package/lib/framework/runner-alias.js +1 -1
  209. package/lib/framework/runner.js +1 -1
  210. package/lib/framework/schema-export.js +1 -1
  211. package/lib/framework/types.js +1 -1
  212. package/lib/generated/build-info.js +1 -1
  213. package/lib/help.js +1 -1
  214. package/lib/skills/main.js +1 -1
  215. package/lib/skills/npx-skills-add.js +1 -1
  216. package/lib/telemetry/cli-command-trace.js +1 -1
  217. package/lib/telemetry/cli-help-trace.js +1 -1
  218. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  219. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  220. package/lib/telemetry/send-cli-trace-log.js +1 -1
  221. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  222. package/lib/utils/ai_config.js +1 -1
  223. package/lib/utils/apply-jq-filter.js +1 -1
  224. package/lib/utils/cdn-config.js +1 -1
  225. package/lib/utils/check-sdk-version.js +1 -1
  226. package/lib/utils/cli-version-check.js +1 -1
  227. package/lib/utils/cli-version-policy.js +1 -1
  228. package/lib/utils/config.js +1 -1
  229. package/lib/utils/copy-directory.js +1 -1
  230. package/lib/utils/entity-with-id.js +1 -1
  231. package/lib/utils/file-utils.js +1 -1
  232. package/lib/utils/guides-cdn.js +1 -1
  233. package/lib/utils/http-client.js +1 -1
  234. package/lib/utils/is-non-interactive.js +1 -1
  235. package/lib/utils/logger.js +1 -1
  236. package/lib/utils/params.js +1 -1
  237. package/lib/utils/platform.js +1 -1
  238. package/lib/utils/rules-cdn.js +1 -1
  239. package/lib/utils/sleep.js +1 -1
  240. package/lib/utils/template-replacer.js +1 -1
  241. package/lib/utils/update-notice.js +1 -1
  242. package/lib/utils/version.js +1 -1
  243. package/lib/utils/with-active-cookie.js +1 -1
  244. package/lib/utils/write-cli-side-channel.js +1 -1
  245. package/package.json +1 -1
@@ -1 +1 @@
1
- (function(_0x27a08a,_0x2153ac){const _0xca5a2=a202_0x1444,_0x217129=_0x27a08a();while(!![]){try{const _0x22623b=parseInt(_0xca5a2(0xa4))/0x1*(parseInt(_0xca5a2(0xa8))/0x2)+parseInt(_0xca5a2(0xb2))/0x3+parseInt(_0xca5a2(0xb3))/0x4+-parseInt(_0xca5a2(0xb1))/0x5*(-parseInt(_0xca5a2(0xa6))/0x6)+parseInt(_0xca5a2(0xaf))/0x7+-parseInt(_0xca5a2(0xa5))/0x8*(parseInt(_0xca5a2(0xad))/0x9)+-parseInt(_0xca5a2(0xae))/0xa*(parseInt(_0xca5a2(0xaa))/0xb);if(_0x22623b===_0x2153ac)break;else _0x217129['push'](_0x217129['shift']());}catch(_0x30428d){_0x217129['push'](_0x217129['shift']());}}}(a202_0x252a,0xb1ac9));export function detectSqlMode(_0xfaa1f){const _0x48599f=a202_0x1444,_0x5971c1=_0xfaa1f['trimStart']();if(/^<(select|insert|update|delete)\b/i[_0x48599f(0xab)](_0x5971c1))return'mybatisXml';return _0x48599f(0xa7);}export function getSqlFileExtension(_0x138dad){const _0x69939c=a202_0x1444;return _0x138dad===_0x69939c(0xb4)?_0x69939c(0xac):_0x69939c(0xa9);}export function buildDefaultSqlFileName(_0x5b052a,_0x28594c){return''+_0x5b052a+getSqlFileExtension(_0x28594c);}export function sanitizeSqlPathSegment(_0x6332ce,_0x185aab){const _0x28c0b0=a202_0x1444,_0x411a76=String(_0x6332ce??'')['trim'](),_0x40d103=_0x411a76[_0x28c0b0(0xb0)](/[<>:"/\\|?*\u0000-\u001F]/g,'-')['replace'](/\s+/g,'-')[_0x28c0b0(0xb0)](/-+/g,'-')[_0x28c0b0(0xb0)](/^\.+/,'')[_0x28c0b0(0xb0)](/\.+$/,'')[_0x28c0b0(0xb0)](/^-+/,'')[_0x28c0b0(0xb0)](/-+$/,'');return _0x40d103||_0x185aab;}function a202_0x252a(){const _0x355d59=['test','.xml','5089905WggGrv','40JEKPrp','2204860DvXBFD','replace','5KgAgLe','4220220JuCXuG','3638048pwIytX','mybatisXml','674738ITlQyS','8pciZWO','3382608JkzlKh','sql','2luruFJ','.sql','7085210pmPoxB'];a202_0x252a=function(){return _0x355d59;};return a202_0x252a();}function a202_0x1444(_0x3419d2,_0x502604){_0x3419d2=_0x3419d2-0xa4;const _0x252a66=a202_0x252a();let _0x14449d=_0x252a66[_0x3419d2];return _0x14449d;}export function buildDbDirectoryName(_0x113e2a,_0x336679){return sanitizeSqlPathSegment(_0x113e2a,_0x336679!=null?'db-'+_0x336679:'unknown-db');}export function buildSqlRelativePath(_0x33bccb,_0x170d03,_0x108cad,_0x2d710d,_0xd2dabb){const _0x32f16c=buildDbDirectoryName(_0x108cad,_0xd2dabb),_0x4a57c3=sanitizeSqlPathSegment(_0x33bccb,'unknown-sql'),_0x4329dc=sanitizeSqlPathSegment(_0x170d03,_0x4a57c3);return _0x32f16c+'/'+_0x4a57c3+'_'+_0x4329dc+getSqlFileExtension(_0x2d710d);}
1
+ (function(_0x309ce5,_0x3d4d46){const _0x3cb642=a202_0x50c1,_0xf97ef0=_0x309ce5();while(!![]){try{const _0x283e5e=parseInt(_0x3cb642(0x143))/0x1*(-parseInt(_0x3cb642(0x13c))/0x2)+parseInt(_0x3cb642(0x144))/0x3+parseInt(_0x3cb642(0x148))/0x4*(parseInt(_0x3cb642(0x13a))/0x5)+-parseInt(_0x3cb642(0x147))/0x6+-parseInt(_0x3cb642(0x145))/0x7+parseInt(_0x3cb642(0x13f))/0x8*(-parseInt(_0x3cb642(0x141))/0x9)+-parseInt(_0x3cb642(0x13b))/0xa*(-parseInt(_0x3cb642(0x13d))/0xb);if(_0x283e5e===_0x3d4d46)break;else _0xf97ef0['push'](_0xf97ef0['shift']());}catch(_0x4aa225){_0xf97ef0['push'](_0xf97ef0['shift']());}}}(a202_0x22fa,0xa2a03));function a202_0x22fa(){const _0x11b742=['trim','2691354dPySgK','900EWSjuy','mybatisXml','8355xcSvNY','200BarsgY','40hMAbXf','1556038zoePxO','replace','2072yUVtAK','.xml','39798OCyEke','.sql','59278RvozoF','2488752udANdr','4124309rRajkq'];a202_0x22fa=function(){return _0x11b742;};return a202_0x22fa();}export function detectSqlMode(_0x4dff89){const _0x43aed6=a202_0x50c1,_0x580fc0=_0x4dff89['trimStart']();if(/^<(select|insert|update|delete)\b/i['test'](_0x580fc0))return _0x43aed6(0x139);return'sql';}export function getSqlFileExtension(_0x145fff){const _0x264eab=a202_0x50c1;return _0x145fff==='mybatisXml'?_0x264eab(0x140):_0x264eab(0x142);}export function buildDefaultSqlFileName(_0x2ad1b8,_0x2231bb){return''+_0x2ad1b8+getSqlFileExtension(_0x2231bb);}function a202_0x50c1(_0x4b1dc9,_0x319f6b){_0x4b1dc9=_0x4b1dc9-0x139;const _0x22fade=a202_0x22fa();let _0x50c16d=_0x22fade[_0x4b1dc9];return _0x50c16d;}export function sanitizeSqlPathSegment(_0x2ba438,_0x27d641){const _0x3db815=a202_0x50c1,_0x3191dd=String(_0x2ba438??'')[_0x3db815(0x146)](),_0x5e87ab=_0x3191dd[_0x3db815(0x13e)](/[<>:"/\\|?*\u0000-\u001F]/g,'-')[_0x3db815(0x13e)](/\s+/g,'-')['replace'](/-+/g,'-')[_0x3db815(0x13e)](/^\.+/,'')[_0x3db815(0x13e)](/\.+$/,'')[_0x3db815(0x13e)](/^-+/,'')['replace'](/-+$/,'');return _0x5e87ab||_0x27d641;}export function buildDbDirectoryName(_0x1600d5,_0x272cb4){return sanitizeSqlPathSegment(_0x1600d5,_0x272cb4!=null?'db-'+_0x272cb4:'unknown-db');}export function buildSqlRelativePath(_0x1a0495,_0x3c801a,_0x5cdf15,_0x5638be,_0x2bcbbc){const _0x321af5=buildDbDirectoryName(_0x5cdf15,_0x2bcbbc),_0x1eccd0=sanitizeSqlPathSegment(_0x1a0495,'unknown-sql'),_0x4ccc59=sanitizeSqlPathSegment(_0x3c801a,_0x1eccd0);return _0x321af5+'/'+_0x1eccd0+'_'+_0x4ccc59+getSqlFileExtension(_0x5638be);}
@@ -1 +1 @@
1
- (function(_0x21a2eb,_0x548ea0){const _0x4803ab=a203_0x1cd1,_0x149b18=_0x21a2eb();while(!![]){try{const _0x4ecbdc=parseInt(_0x4803ab(0x121))/0x1*(parseInt(_0x4803ab(0x103))/0x2)+-parseInt(_0x4803ab(0x108))/0x3+-parseInt(_0x4803ab(0x116))/0x4+parseInt(_0x4803ab(0x11b))/0x5+parseInt(_0x4803ab(0x115))/0x6+-parseInt(_0x4803ab(0x102))/0x7+-parseInt(_0x4803ab(0x106))/0x8*(-parseInt(_0x4803ab(0x11d))/0x9);if(_0x4ecbdc===_0x548ea0)break;else _0x149b18['push'](_0x149b18['shift']());}catch(_0x31e1ac){_0x149b18['push'](_0x149b18['shift']());}}}(a203_0xc881,0xce60b));export function detectSqlType(_0x40877a){const _0x4696f2=a203_0x1cd1;if(!_0x40877a?.['trim']())return{'type':_0x4696f2(0x117),'isSelectOnly':![],'isDangerous':![],'reason':_0x4696f2(0x118)};const _0x3c97ef=_0x40877a[_0x4696f2(0x104)](/#\{[^}]*\}/g,'?')[_0x4696f2(0x104)](/\$\{[^}]*\}/g,'?')[_0x4696f2(0x104)](/@[^(\s]+(\([^)]*\))?/g,'')[_0x4696f2(0x104)](/\/\*[\s\S]*?\*\//g,'')['trim'](),_0x499138=_0x3c97ef[_0x4696f2(0x124)]('\x0a');let _0x3f5def='';for(const _0x17e566 of _0x499138){const _0x251015=_0x17e566[_0x4696f2(0x120)]();if(!_0x251015||_0x251015[_0x4696f2(0x122)]('--')||_0x251015['startsWith']('/*'))continue;_0x3f5def=_0x251015;break;}const _0x132960=_0x3f5def[_0x4696f2(0x10c)]();if(_0x132960[_0x4696f2(0x122)]('SELECT')||_0x132960[_0x4696f2(0x122)](_0x4696f2(0x100))){const _0x1f415e=/\b(INSERT|UPDATE|DELETE|DROP|ALTER|CREATE|TRUNCATE)\b/i['test'](_0x3c97ef);return{'type':_0x4696f2(0x10d),'isSelectOnly':!_0x1f415e,'isDangerous':_0x1f415e,'reason':_0x1f415e?_0x4696f2(0x110):undefined};}if(_0x132960[_0x4696f2(0x122)](_0x4696f2(0x101)))return{'type':_0x4696f2(0x101),'isSelectOnly':![],'isDangerous':![]};if(_0x132960[_0x4696f2(0x122)]('UPDATE'))return{'type':_0x4696f2(0x10b),'isSelectOnly':![],'isDangerous':![]};if(_0x132960[_0x4696f2(0x122)]('DELETE'))return{'type':_0x4696f2(0x11a),'isSelectOnly':![],'isDangerous':!![],'reason':_0x4696f2(0x10f)};if(/^(CREATE|ALTER|DROP|TRUNCATE)/i[_0x4696f2(0x111)](_0x132960))return{'type':_0x4696f2(0x119),'isSelectOnly':![],'isDangerous':!![],'reason':_0x4696f2(0xff)};return{'type':_0x4696f2(0x117),'isSelectOnly':![],'isDangerous':![]};}function extractTables(_0x1bc8b4){const _0x1baf71=a203_0x1cd1,_0x172f8b=_0x1bc8b4[_0x1baf71(0x104)](/#\{[^}]*\}/g,'?')[_0x1baf71(0x104)](/\$\{[^}]*\}/g,'?')['replace'](/'[^']*'/g,'\x27\x27')['replace'](/--.*$/gm,'')[_0x1baf71(0x104)](/\/\*[\s\S]*?\*\//g,''),_0x4dbcad=[],_0x252ce8=_0x172f8b[_0x1baf71(0x105)](/FROM\s+([^\s,)(]+)/i);if(_0x252ce8?.[0x1])_0x4dbcad['push'](_0x252ce8[0x1][_0x1baf71(0x104)](/[`"]/g,''));for(const _0x5229f6 of _0x172f8b[_0x1baf71(0x109)](/(?:INNER|LEFT|RIGHT|FULL|CROSS)?\s*JOIN\s+([^\s,)(]+)/gi)){const _0xf309b9=_0x5229f6[0x1]?.['replace'](/[`"]/g,'');if(_0xf309b9&&!_0x4dbcad['includes'](_0xf309b9))_0x4dbcad[_0x1baf71(0x114)](_0xf309b9);}const _0x27b2ef=_0x172f8b[_0x1baf71(0x105)](/INTO\s+([^\s(]+)/i);if(_0x27b2ef?.[0x1]){const _0x290eaf=_0x27b2ef[0x1][_0x1baf71(0x104)](/[`"]/g,'');if(!_0x4dbcad[_0x1baf71(0x112)](_0x290eaf))_0x4dbcad[_0x1baf71(0x114)](_0x290eaf);}const _0x55bda8=_0x172f8b['match'](/UPDATE\s+([^\s,)(]+)/i);if(_0x55bda8?.[0x1]){const _0x37ad6a=_0x55bda8[0x1][_0x1baf71(0x104)](/[`"]/g,'');if(!_0x4dbcad[_0x1baf71(0x112)](_0x37ad6a))_0x4dbcad[_0x1baf71(0x114)](_0x37ad6a);}return _0x4dbcad;}function a203_0xc881(){const _0x56eb35=['DDL','DELETE','3638135DRgsjU','length','3504267olhIKT','add','\x20statements\x20cannot\x20be\x20auto-saved.\x20Please\x20operate\x20manually\x20on\x20the\x20platform.','trim','174671bUbKia','startsWith','isDangerous','split','reason','DDL\x20statements\x20are\x20blocked\x20from\x20auto-save','WITH','INSERT','10988474ewLiqA','2sQOVAw','replace','match','32DyIDkV','join','1927668zvZnyg','matchAll','unknown\x20table(s)','UPDATE','toUpperCase','SELECT','Unable\x20to\x20detect\x20SQL\x20type.\x20Please\x20check\x20the\x20SQL\x20content.','DELETE\x20statements\x20are\x20blocked\x20from\x20auto-save','SQL\x20contains\x20modification\x20statements\x20alongside\x20SELECT','test','includes','type','push','4830780GKFowr','828876VVjraN','UNKNOWN','SQL\x20content\x20is\x20empty'];a203_0xc881=function(){return _0x56eb35;};return a203_0xc881();}function a203_0x1cd1(_0x51c902,_0x6b19b7){_0x51c902=_0x51c902-0xfe;const _0xc881ed=a203_0xc881();let _0x1cd1ea=_0xc881ed[_0x51c902];return _0x1cd1ea;}function extractParameters(_0x1e515b){const _0x9fedfa=a203_0x1cd1,_0x1d7479=new Set();for(const _0x552fe9 of _0x1e515b['matchAll'](/#\{(\w+)\}/g))if(_0x552fe9[0x1])_0x1d7479[_0x9fedfa(0x11e)](_0x552fe9[0x1]);for(const _0xdbd837 of _0x1e515b['matchAll'](/\$\{(\w+)\}/g))if(_0xdbd837[0x1])_0x1d7479[_0x9fedfa(0x11e)](_0xdbd837[0x1]);return Array['from'](_0x1d7479);}export function validateSql(_0x37a2a9){const _0x42d78d=a203_0x1cd1,_0x15ab73=detectSqlType(_0x37a2a9),_0x2cbbe9=extractTables(_0x37a2a9),_0x7cea66=extractParameters(_0x37a2a9);if(_0x15ab73[_0x42d78d(0x123)])return{'valid':![],'sqlType':_0x15ab73,'tables':_0x2cbbe9,'parameters':_0x7cea66,'message':_0x15ab73[_0x42d78d(0xfe)]||_0x15ab73[_0x42d78d(0x113)]+_0x42d78d(0x11f)};if(_0x15ab73[_0x42d78d(0x113)]===_0x42d78d(0x117))return{'valid':![],'sqlType':_0x15ab73,'tables':_0x2cbbe9,'parameters':_0x7cea66,'message':_0x42d78d(0x10e)};return{'valid':!![],'sqlType':_0x15ab73,'tables':_0x2cbbe9,'parameters':_0x7cea66,'message':_0x15ab73[_0x42d78d(0x113)]+'\x20query\x20targeting\x20'+(_0x2cbbe9[_0x42d78d(0x11c)]?_0x2cbbe9[_0x42d78d(0x107)](',\x20'):_0x42d78d(0x10a))+(_0x7cea66['length']?'\x20with\x20parameters:\x20'+_0x7cea66['join'](',\x20'):'')};}
1
+ (function(_0x205b4e,_0x1fbcf9){const _0x2ffe77=a203_0x5705,_0x5ab5af=_0x205b4e();while(!![]){try{const _0x3f2a2b=parseInt(_0x2ffe77(0x1db))/0x1*(-parseInt(_0x2ffe77(0x1d0))/0x2)+-parseInt(_0x2ffe77(0x1ca))/0x3+parseInt(_0x2ffe77(0x1c5))/0x4*(parseInt(_0x2ffe77(0x1e0))/0x5)+parseInt(_0x2ffe77(0x1de))/0x6*(parseInt(_0x2ffe77(0x1c1))/0x7)+parseInt(_0x2ffe77(0x1c7))/0x8*(parseInt(_0x2ffe77(0x1c8))/0x9)+-parseInt(_0x2ffe77(0x1df))/0xa+-parseInt(_0x2ffe77(0x1ba))/0xb*(-parseInt(_0x2ffe77(0x1c9))/0xc);if(_0x3f2a2b===_0x1fbcf9)break;else _0x5ab5af['push'](_0x5ab5af['shift']());}catch(_0x4756a2){_0x5ab5af['push'](_0x5ab5af['shift']());}}}(a203_0x1b97,0xb1087));function a203_0x5705(_0x3b0412,_0x307876){_0x3b0412=_0x3b0412-0x1b9;const _0x1b97f9=a203_0x1b97();let _0x5705de=_0x1b97f9[_0x3b0412];return _0x5705de;}export function detectSqlType(_0x3e9fdf){const _0x35225f=a203_0x5705;if(!_0x3e9fdf?.[_0x35225f(0x1ce)]())return{'type':_0x35225f(0x1cc),'isSelectOnly':![],'isDangerous':![],'reason':_0x35225f(0x1bc)};const _0x33af46=_0x3e9fdf[_0x35225f(0x1d6)](/#\{[^}]*\}/g,'?')['replace'](/\$\{[^}]*\}/g,'?')[_0x35225f(0x1d6)](/@[^(\s]+(\([^)]*\))?/g,'')[_0x35225f(0x1d6)](/\/\*[\s\S]*?\*\//g,'')[_0x35225f(0x1ce)](),_0x27d2ff=_0x33af46[_0x35225f(0x1c0)]('\x0a');let _0x2e7b7f='';for(const _0x3db74f of _0x27d2ff){const _0x380678=_0x3db74f[_0x35225f(0x1ce)]();if(!_0x380678||_0x380678[_0x35225f(0x1d7)]('--')||_0x380678[_0x35225f(0x1d7)]('/*'))continue;_0x2e7b7f=_0x380678;break;}const _0x2536e9=_0x2e7b7f[_0x35225f(0x1e2)]();if(_0x2536e9[_0x35225f(0x1d7)](_0x35225f(0x1bb))||_0x2536e9[_0x35225f(0x1d7)](_0x35225f(0x1e1))){const _0x923137=/\b(INSERT|UPDATE|DELETE|DROP|ALTER|CREATE|TRUNCATE)\b/i['test'](_0x33af46);return{'type':_0x35225f(0x1bb),'isSelectOnly':!_0x923137,'isDangerous':_0x923137,'reason':_0x923137?_0x35225f(0x1bd):undefined};}if(_0x2536e9['startsWith']('INSERT'))return{'type':_0x35225f(0x1d3),'isSelectOnly':![],'isDangerous':![]};if(_0x2536e9[_0x35225f(0x1d7)](_0x35225f(0x1b9)))return{'type':'UPDATE','isSelectOnly':![],'isDangerous':![]};if(_0x2536e9[_0x35225f(0x1d7)]('DELETE'))return{'type':_0x35225f(0x1d8),'isSelectOnly':![],'isDangerous':!![],'reason':'DELETE\x20statements\x20are\x20blocked\x20from\x20auto-save'};if(/^(CREATE|ALTER|DROP|TRUNCATE)/i[_0x35225f(0x1d5)](_0x2536e9))return{'type':_0x35225f(0x1d1),'isSelectOnly':![],'isDangerous':!![],'reason':'DDL\x20statements\x20are\x20blocked\x20from\x20auto-save'};return{'type':'UNKNOWN','isSelectOnly':![],'isDangerous':![]};}function a203_0x1b97(){const _0x36e775=['test','replace','startsWith','DELETE','reason','includes','59181FOkifc','Unable\x20to\x20detect\x20SQL\x20type.\x20Please\x20check\x20the\x20SQL\x20content.','from','6909414QsCVPx','13424620cKKzXN','410650kNwRBI','WITH','toUpperCase','UPDATE','5346vYlupZ','SELECT','SQL\x20content\x20is\x20empty','SQL\x20contains\x20modification\x20statements\x20alongside\x20SELECT','match','length','split','7pONwhd','isDangerous','push','\x20with\x20parameters:\x20','40hyllBp','\x20statements\x20cannot\x20be\x20auto-saved.\x20Please\x20operate\x20manually\x20on\x20the\x20platform.','16dIOUsG','4149351DqmpcN','2484iaJQsH','2251251hDyFUI','\x20query\x20targeting\x20','UNKNOWN','add','trim','matchAll','6GaXsGE','DDL','type','INSERT','join'];a203_0x1b97=function(){return _0x36e775;};return a203_0x1b97();}function extractTables(_0x17a3e3){const _0x48dad8=a203_0x5705,_0xfb2028=_0x17a3e3[_0x48dad8(0x1d6)](/#\{[^}]*\}/g,'?')[_0x48dad8(0x1d6)](/\$\{[^}]*\}/g,'?')[_0x48dad8(0x1d6)](/'[^']*'/g,'\x27\x27')[_0x48dad8(0x1d6)](/--.*$/gm,'')[_0x48dad8(0x1d6)](/\/\*[\s\S]*?\*\//g,''),_0x2298c2=[],_0x479ccc=_0xfb2028[_0x48dad8(0x1be)](/FROM\s+([^\s,)(]+)/i);if(_0x479ccc?.[0x1])_0x2298c2['push'](_0x479ccc[0x1][_0x48dad8(0x1d6)](/[`"]/g,''));for(const _0x155b65 of _0xfb2028[_0x48dad8(0x1cf)](/(?:INNER|LEFT|RIGHT|FULL|CROSS)?\s*JOIN\s+([^\s,)(]+)/gi)){const _0x1c4a69=_0x155b65[0x1]?.[_0x48dad8(0x1d6)](/[`"]/g,'');if(_0x1c4a69&&!_0x2298c2[_0x48dad8(0x1da)](_0x1c4a69))_0x2298c2[_0x48dad8(0x1c3)](_0x1c4a69);}const _0x4fc07a=_0xfb2028[_0x48dad8(0x1be)](/INTO\s+([^\s(]+)/i);if(_0x4fc07a?.[0x1]){const _0x25b1ef=_0x4fc07a[0x1][_0x48dad8(0x1d6)](/[`"]/g,'');if(!_0x2298c2[_0x48dad8(0x1da)](_0x25b1ef))_0x2298c2[_0x48dad8(0x1c3)](_0x25b1ef);}const _0x29a473=_0xfb2028['match'](/UPDATE\s+([^\s,)(]+)/i);if(_0x29a473?.[0x1]){const _0x4bb940=_0x29a473[0x1][_0x48dad8(0x1d6)](/[`"]/g,'');if(!_0x2298c2[_0x48dad8(0x1da)](_0x4bb940))_0x2298c2['push'](_0x4bb940);}return _0x2298c2;}function extractParameters(_0xbc20c6){const _0x1cbe44=a203_0x5705,_0xd4b73c=new Set();for(const _0x2ef5b2 of _0xbc20c6[_0x1cbe44(0x1cf)](/#\{(\w+)\}/g))if(_0x2ef5b2[0x1])_0xd4b73c[_0x1cbe44(0x1cd)](_0x2ef5b2[0x1]);for(const _0x5b61e8 of _0xbc20c6[_0x1cbe44(0x1cf)](/\$\{(\w+)\}/g))if(_0x5b61e8[0x1])_0xd4b73c[_0x1cbe44(0x1cd)](_0x5b61e8[0x1]);return Array[_0x1cbe44(0x1dd)](_0xd4b73c);}export function validateSql(_0x198e8e){const _0x4f182f=a203_0x5705,_0x377961=detectSqlType(_0x198e8e),_0x451bba=extractTables(_0x198e8e),_0x5526a9=extractParameters(_0x198e8e);if(_0x377961[_0x4f182f(0x1c2)])return{'valid':![],'sqlType':_0x377961,'tables':_0x451bba,'parameters':_0x5526a9,'message':_0x377961[_0x4f182f(0x1d9)]||_0x377961[_0x4f182f(0x1d2)]+_0x4f182f(0x1c6)};if(_0x377961[_0x4f182f(0x1d2)]===_0x4f182f(0x1cc))return{'valid':![],'sqlType':_0x377961,'tables':_0x451bba,'parameters':_0x5526a9,'message':_0x4f182f(0x1dc)};return{'valid':!![],'sqlType':_0x377961,'tables':_0x451bba,'parameters':_0x5526a9,'message':_0x377961['type']+_0x4f182f(0x1cb)+(_0x451bba[_0x4f182f(0x1bf)]?_0x451bba[_0x4f182f(0x1d4)](',\x20'):'unknown\x20table(s)')+(_0x5526a9[_0x4f182f(0x1bf)]?_0x4f182f(0x1c4)+_0x5526a9[_0x4f182f(0x1d4)](',\x20'):'')};}
package/lib/errors.js CHANGED
@@ -1 +1 @@
1
- function a204_0x1284(){const _0x3dda93=['Run\x20this\x20command\x20inside\x20a\x20project\x20with\x20.rabetbase.json\x20file.','10FHHYTo','14JxtPUz','join','293776pNcIuP','982246HiNnUQ','3ZqPstk','8182116toPyiD','1437807Ptkuky','\x20init\x20--appcode\x20<code>\x20--global`\x20registers\x20globally\x20so\x20you\x20can\x20use\x20it\x20from\x20anywhere.','171WzWfsj','4wQOjnk','1163592ppVCUU','1401015ngIpCr','Run\x20`','899105jaiSBI','Set\x20appcode\x20via\x20`','\x0a\x20\x20\x20\x20\x20\x20\x20'];a204_0x1284=function(){return _0x3dda93;};return a204_0x1284();}const a204_0x3cd666=a204_0x34e5;(function(_0x941588,_0x127667){const _0x4cc52a=a204_0x34e5,_0x27abbf=_0x941588();while(!![]){try{const _0x30a658=parseInt(_0x4cc52a(0x7e))/0x1+parseInt(_0x4cc52a(0x7b))/0x2*(-parseInt(_0x4cc52a(0x7c))/0x3)+-parseInt(_0x4cc52a(0x81))/0x4*(-parseInt(_0x4cc52a(0x85))/0x5)+parseInt(_0x4cc52a(0x82))/0x6*(-parseInt(_0x4cc52a(0x8a))/0x7)+parseInt(_0x4cc52a(0x7a))/0x8*(parseInt(_0x4cc52a(0x80))/0x9)+-parseInt(_0x4cc52a(0x89))/0xa*(-parseInt(_0x4cc52a(0x83))/0xb)+-parseInt(_0x4cc52a(0x7d))/0xc;if(_0x30a658===_0x127667)break;else _0x27abbf['push'](_0x27abbf['shift']());}catch(_0x2a8257){_0x27abbf['push'](_0x27abbf['shift']());}}}(a204_0x1284,0xd74d9));function a204_0x34e5(_0xa59ba1,_0x50cde8){_0xa59ba1=_0xa59ba1-0x79;const _0x12845c=a204_0x1284();let _0x34e56d=_0x12845c[_0xa59ba1];return _0x34e56d;}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':a204_0x3cd666(0x84)+CLI_BIN_NAME+'\x20auth`\x20to\x20login\x20first.','configMissingHint':[a204_0x3cd666(0x86)+CLI_BIN_NAME+'\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','Tip:\x20`'+CLI_BIN_NAME+a204_0x3cd666(0x7f)][a204_0x3cd666(0x79)](a204_0x3cd666(0x87)),'notInProjectHint':a204_0x3cd666(0x88)});
1
+ function a204_0x1389(_0x231664,_0x1f1567){_0x231664=_0x231664-0x18a;const _0x3f38df=a204_0x3f38();let _0x1389f2=_0x3f38df[_0x231664];return _0x1389f2;}const a204_0x4d340f=a204_0x1389;(function(_0x245a24,_0x3b16ae){const _0x423ef2=a204_0x1389,_0x1cbcdc=_0x245a24();while(!![]){try{const _0x2851bf=parseInt(_0x423ef2(0x197))/0x1+parseInt(_0x423ef2(0x192))/0x2*(parseInt(_0x423ef2(0x18c))/0x3)+-parseInt(_0x423ef2(0x194))/0x4*(parseInt(_0x423ef2(0x18d))/0x5)+-parseInt(_0x423ef2(0x195))/0x6+parseInt(_0x423ef2(0x18e))/0x7*(parseInt(_0x423ef2(0x18f))/0x8)+-parseInt(_0x423ef2(0x198))/0x9+parseInt(_0x423ef2(0x199))/0xa*(parseInt(_0x423ef2(0x191))/0xb);if(_0x2851bf===_0x3b16ae)break;else _0x1cbcdc['push'](_0x1cbcdc['shift']());}catch(_0x28bb1f){_0x1cbcdc['push'](_0x1cbcdc['shift']());}}}(a204_0x3f38,0x3922b));import{CliError,createCliErrors}from'@lovrabet/cli-framework';import{CLI_BIN_NAME}from'./constant/cli.js';function a204_0x3f38(){const _0x4d5496=['302162oleJax','80BfnYQX','Tip:\x20`','22hReopa','482jzQXRk','\x0a\x20\x20\x20\x20\x20\x20\x20','179012xyySjx','2210514JGNFEU','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','42195pIzHym','4117878ACfDzD','3783660kJowuI','join','\x20init\x20--appcode\x20<code>\x20--global`\x20registers\x20globally\x20so\x20you\x20can\x20use\x20it\x20from\x20anywhere.','Run\x20`','1776JRRnMK','35kWTlIP'];a204_0x3f38=function(){return _0x4d5496;};return a204_0x3f38();}export{CliError};export const CliErrors=createCliErrors({'cliBinName':CLI_BIN_NAME,'authRequiredHint':a204_0x4d340f(0x18b)+CLI_BIN_NAME+'\x20auth`\x20to\x20login\x20first.','configMissingHint':['Set\x20appcode\x20via\x20`'+CLI_BIN_NAME+a204_0x4d340f(0x196),a204_0x4d340f(0x190)+CLI_BIN_NAME+a204_0x4d340f(0x18a)][a204_0x4d340f(0x19a)](a204_0x4d340f(0x193)),'notInProjectHint':'Run\x20this\x20command\x20inside\x20a\x20project\x20with\x20.rabetbase.json\x20file.'});
@@ -1 +1 @@
1
- function a205_0x1d49(_0x80fd4f,_0x54e56a){_0x80fd4f=_0x80fd4f-0x101;var _0x23291f=a205_0x2329();var _0x1d497f=_0x23291f[_0x80fd4f];return _0x1d497f;}(function(_0x16b3f2,_0x577adc){var _0x55cf4d=a205_0x1d49,_0x11416a=_0x16b3f2();while(!![]){try{var _0x2c1d8b=-parseInt(_0x55cf4d(0x10b))/0x1+-parseInt(_0x55cf4d(0x102))/0x2*(-parseInt(_0x55cf4d(0x106))/0x3)+parseInt(_0x55cf4d(0x108))/0x4*(parseInt(_0x55cf4d(0x105))/0x5)+-parseInt(_0x55cf4d(0x109))/0x6*(parseInt(_0x55cf4d(0x107))/0x7)+-parseInt(_0x55cf4d(0x10a))/0x8+-parseInt(_0x55cf4d(0x103))/0x9+parseInt(_0x55cf4d(0x104))/0xa*(parseInt(_0x55cf4d(0x101))/0xb);if(_0x2c1d8b===_0x577adc)break;else _0x11416a['push'](_0x11416a['shift']());}catch(_0x41d078){_0x11416a['push'](_0x11416a['shift']());}}}(a205_0x2329,0x72d50));import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';import{buildAllFlags as a205_0x29bc63}from'@lovrabet/cli-framework';export function buildAllFlags(_0x4435e3){return a205_0x29bc63(_0x4435e3,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});}function a205_0x2329(){var _0x5ab87c=['1694997mMRzuu','3116953xKaeha','2043212KdlacF','6TJOrGZ','6846584MvFYpL','502427LtJWuN','3259245lSATXu','2NbIaOo','2550564BRkcRi','50urxQbZ','5NHrmAF'];a205_0x2329=function(){return _0x5ab87c;};return a205_0x2329();}
1
+ (function(_0x597f54,_0x28840e){var _0x884a3b=a205_0xe78f,_0x49e899=_0x597f54();while(!![]){try{var _0x19421e=-parseInt(_0x884a3b(0x189))/0x1*(-parseInt(_0x884a3b(0x188))/0x2)+-parseInt(_0x884a3b(0x18a))/0x3+-parseInt(_0x884a3b(0x187))/0x4+parseInt(_0x884a3b(0x18b))/0x5+-parseInt(_0x884a3b(0x185))/0x6+parseInt(_0x884a3b(0x18c))/0x7+parseInt(_0x884a3b(0x186))/0x8*(-parseInt(_0x884a3b(0x184))/0x9);if(_0x19421e===_0x28840e)break;else _0x49e899['push'](_0x49e899['shift']());}catch(_0x1e670e){_0x49e899['push'](_0x49e899['shift']());}}}(a205_0x4bec,0x284a6));import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';function a205_0x4bec(){var _0x51f72a=['101372mNEAiG','6EPkkpJ','218178RqQCdK','1608360yGDyQu','1290611nXocTL','3206691MkTOuB','156078yBEBsS','8AGzuty','760372UthLTW'];a205_0x4bec=function(){return _0x51f72a;};return a205_0x4bec();}import{buildAllFlags as a205_0x38714b}from'@lovrabet/cli-framework';function a205_0xe78f(_0x54e26e,_0x12632c){_0x54e26e=_0x54e26e-0x184;var _0x4bec24=a205_0x4bec();var _0xe78f9e=_0x4bec24[_0x54e26e];return _0xe78f9e;}export function buildAllFlags(_0x2d4222){return a205_0x38714b(_0x2d4222,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});}
@@ -1 +1 @@
1
- function a206_0x4193(){const _0x2539c8=['10415kubTMr','1536040RcYPQJ','111633iDdASc','9xuIQmk','943411fHbGdH','validateFlags','288srAVDf','922494velzun','2978410aaDgRB','50262MhtXIq','11nTuafT','2mDSpFD'];a206_0x4193=function(){return _0x2539c8;};return a206_0x4193();}function a206_0x367f(_0x4993ab,_0x219b60){_0x4993ab=_0x4993ab-0x7f;const _0x4193f1=a206_0x4193();let _0x367f3b=_0x4193f1[_0x4993ab];return _0x367f3b;}const a206_0x3f8b56=a206_0x367f;(function(_0x3001e5,_0x7352f8){const _0x5a1f73=a206_0x367f,_0x11a316=_0x3001e5();while(!![]){try{const _0x17a670=parseInt(_0x5a1f73(0x81))/0x1+-parseInt(_0x5a1f73(0x8a))/0x2*(parseInt(_0x5a1f73(0x88))/0x3)+-parseInt(_0x5a1f73(0x85))/0x4*(parseInt(_0x5a1f73(0x7f))/0x5)+parseInt(_0x5a1f73(0x86))/0x6+parseInt(_0x5a1f73(0x83))/0x7+parseInt(_0x5a1f73(0x80))/0x8*(parseInt(_0x5a1f73(0x82))/0x9)+-parseInt(_0x5a1f73(0x87))/0xa*(parseInt(_0x5a1f73(0x89))/0xb);if(_0x17a670===_0x7352f8)break;else _0x11a316['push'](_0x11a316['shift']());}catch(_0x4e09b1){_0x11a316['push'](_0x11a316['shift']());}}}(a206_0x4193,0x1f265));import{createFlagHelpers}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers['parseFlags'];export const validateFlags=helpers[a206_0x3f8b56(0x84)];
1
+ const a206_0xe098e7=a206_0xe8db;(function(_0x9b50bd,_0x5bf7fb){const _0x31ae52=a206_0xe8db,_0x4dce9e=_0x9b50bd();while(!![]){try{const _0x3dbf95=parseInt(_0x31ae52(0xcb))/0x1*(-parseInt(_0x31ae52(0xca))/0x2)+parseInt(_0x31ae52(0xce))/0x3*(-parseInt(_0x31ae52(0xcd))/0x4)+parseInt(_0x31ae52(0xcc))/0x5+parseInt(_0x31ae52(0xd1))/0x6*(parseInt(_0x31ae52(0xd5))/0x7)+-parseInt(_0x31ae52(0xd3))/0x8*(parseInt(_0x31ae52(0xd2))/0x9)+parseInt(_0x31ae52(0xd7))/0xa*(-parseInt(_0x31ae52(0xd0))/0xb)+-parseInt(_0x31ae52(0xd6))/0xc*(-parseInt(_0x31ae52(0xcf))/0xd);if(_0x3dbf95===_0x5bf7fb)break;else _0x4dce9e['push'](_0x4dce9e['shift']());}catch(_0x59618f){_0x4dce9e['push'](_0x4dce9e['shift']());}}}(a206_0x44ad,0xa951e));import{createFlagHelpers}from'@lovrabet/cli-framework';function a206_0x44ad(){const _0x8d58f7=['1107YvICmt','84976ippoRc','validateFlags','4572442LUMxXl','9192GRYlGx','383250lIROtY','484hvPiBm','783YhcnHK','2994165qZxyQA','8BUmgei','69672ckhJSw','26455DWeDbg','165ZIZeXL','6uNJXZz'];a206_0x44ad=function(){return _0x8d58f7;};return a206_0x44ad();}import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers['parseFlags'];function a206_0xe8db(_0x464231,_0x3cd328){_0x464231=_0x464231-0xca;const _0x44ad25=a206_0x44ad();let _0xe8db68=_0x44ad25[_0x464231];return _0xe8db68;}export const validateFlags=helpers[a206_0xe098e7(0xd4)];
@@ -1 +1 @@
1
- function a207_0xe0bb(){const _0x38ef9d=['28581xZjqUp','generateServiceHelp','122510lqEknJ','9117526bZYPMh','1030510MoaKtM','217635EUNaxg','generateFullHelp','\x20workspace\x20init`\x20or\x20--appcode).','Requires\x20appcode\x20(set\x20via\x20`','24ZoJsJf','416PaWSSs','2PMSnth','2879523RPJWGQ','1279470UHeARY','generateCommandHelp','52agdmtb','36AzTHoK'];a207_0xe0bb=function(){return _0x38ef9d;};return a207_0xe0bb();}const a207_0x6c84d3=a207_0x134a;function a207_0x134a(_0x3620ab,_0x107755){_0x3620ab=_0x3620ab-0xad;const _0xe0bbf2=a207_0xe0bb();let _0x134a81=_0xe0bbf2[_0x3620ab];return _0x134a81;}(function(_0x6df284,_0x51664f){const _0x2fd6b5=a207_0x134a,_0x411bcf=_0x6df284();while(!![]){try{const _0x25061e=-parseInt(_0x2fd6b5(0xbd))/0x1+-parseInt(_0x2fd6b5(0xb3))/0x2*(parseInt(_0x2fd6b5(0xb4))/0x3)+parseInt(_0x2fd6b5(0xb7))/0x4*(parseInt(_0x2fd6b5(0xad))/0x5)+parseInt(_0x2fd6b5(0xb5))/0x6+parseInt(_0x2fd6b5(0xb9))/0x7*(parseInt(_0x2fd6b5(0xb2))/0x8)+-parseInt(_0x2fd6b5(0xb8))/0x9*(-parseInt(_0x2fd6b5(0xbb))/0xa)+parseInt(_0x2fd6b5(0xbc))/0xb*(parseInt(_0x2fd6b5(0xb1))/0xc);if(_0x25061e===_0x51664f)break;else _0x411bcf['push'](_0x411bcf['shift']());}catch(_0x3b47ec){_0x411bcf['push'](_0x411bcf['shift']());}}}(a207_0xe0bb,0xaccd5));import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';const generators=createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x3a9a2b=>serviceGroups['get'](_0x3a9a2b),'buildAllFlags':buildAllFlags,'appPrerequisiteText':a207_0x6c84d3(0xb0)+CLI_BIN_NAME+a207_0x6c84d3(0xaf),'serviceUsageSuffix':'\x20[args]\x20[flags]'});export function generateCommandHelp(_0xfaa386){const _0x4ed74d=a207_0x6c84d3;return generators[_0x4ed74d(0xb6)](_0xfaa386);}export const generateServiceHelp=generators[a207_0x6c84d3(0xba)];export const generateFullHelp=generators[a207_0x6c84d3(0xae)];
1
+ function a207_0x1b4b(_0x50bb5b,_0x44f030){_0x50bb5b=_0x50bb5b-0xea;const _0x3acf52=a207_0x3acf();let _0x1b4bd8=_0x3acf52[_0x50bb5b];return _0x1b4bd8;}const a207_0x48655a=a207_0x1b4b;(function(_0xb540f,_0x3e1d50){const _0x1c9f19=a207_0x1b4b,_0x45cba7=_0xb540f();while(!![]){try{const _0x554e23=-parseInt(_0x1c9f19(0xf3))/0x1*(-parseInt(_0x1c9f19(0xf2))/0x2)+parseInt(_0x1c9f19(0xf7))/0x3*(parseInt(_0x1c9f19(0xec))/0x4)+parseInt(_0x1c9f19(0xef))/0x5*(parseInt(_0x1c9f19(0xee))/0x6)+parseInt(_0x1c9f19(0xf6))/0x7*(parseInt(_0x1c9f19(0xea))/0x8)+-parseInt(_0x1c9f19(0xf5))/0x9*(-parseInt(_0x1c9f19(0xf9))/0xa)+parseInt(_0x1c9f19(0xf8))/0xb*(-parseInt(_0x1c9f19(0xf0))/0xc)+-parseInt(_0x1c9f19(0xeb))/0xd;if(_0x554e23===_0x3e1d50)break;else _0x45cba7['push'](_0x45cba7['shift']());}catch(_0x315e0b){_0x45cba7['push'](_0x45cba7['shift']());}}}(a207_0x3acf,0x9c850));function a207_0x3acf(){const _0x207c52=['Requires\x20appcode\x20(set\x20via\x20`','8ZjqrYU','25649728yiKPfh','76136iQAbxT','\x20[args]\x20[flags]','6sYiWtp','4240810EsahKX','238932jnPtvp','\x20workspace\x20init`\x20or\x20--appcode).','189934GviNIB','3DelTgC','get','27tQxjEt','1048453mNRGGP','129AIJKDv','275XeQczJ','3368770zCBkGv'];a207_0x3acf=function(){return _0x207c52;};return a207_0x3acf();}import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';const generators=createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x1244f6=>serviceGroups[a207_0x48655a(0xf4)](_0x1244f6),'buildAllFlags':buildAllFlags,'appPrerequisiteText':a207_0x48655a(0xfa)+CLI_BIN_NAME+a207_0x48655a(0xf1),'serviceUsageSuffix':a207_0x48655a(0xed)});export function generateCommandHelp(_0x5e0ab9){return generators['generateCommandHelp'](_0x5e0ab9);}export const generateServiceHelp=generators['generateServiceHelp'];export const generateFullHelp=generators['generateFullHelp'];
@@ -1 +1 @@
1
- (function(_0x1128a3,_0x2075bc){var _0x3ca812=a208_0x3ac4,_0xb4c835=_0x1128a3();while(!![]){try{var _0x289f1b=parseInt(_0x3ca812(0x164))/0x1*(-parseInt(_0x3ca812(0x16e))/0x2)+parseInt(_0x3ca812(0x168))/0x3*(-parseInt(_0x3ca812(0x16a))/0x4)+parseInt(_0x3ca812(0x165))/0x5+parseInt(_0x3ca812(0x169))/0x6*(-parseInt(_0x3ca812(0x166))/0x7)+-parseInt(_0x3ca812(0x16b))/0x8*(-parseInt(_0x3ca812(0x16f))/0x9)+-parseInt(_0x3ca812(0x16d))/0xa*(parseInt(_0x3ca812(0x16c))/0xb)+-parseInt(_0x3ca812(0x167))/0xc*(-parseInt(_0x3ca812(0x170))/0xd);if(_0x289f1b===_0x2075bc)break;else _0xb4c835['push'](_0xb4c835['shift']());}catch(_0x515162){_0xb4c835['push'](_0xb4c835['shift']());}}}(a208_0x3f16,0x9a6a1));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 a208_0x3ac4(_0x30486f,_0x25907a){_0x30486f=_0x30486f-0x164;var _0x3f160c=a208_0x3f16();var _0x3ac47f=_0x3f160c[_0x30486f];return _0x3ac47f;}function a208_0x3f16(){var _0x5aee60=['879248zMZXvV','5577814waoXQJ','20xltdzn','1850ocRAFi','36YCALpY','1070589CHHlVy','136HBAvaM','3466410vUCRUf','63kkqeLu','216syzhfA','3WLfRNP','269532NXPOrN','1754132WiPvsk'];a208_0x3f16=function(){return _0x5aee60;};return a208_0x3f16();}export{riskLevelOrder}from'../framework/types.js';
1
+ function a208_0x28d2(){var _0x15402b=['1130949aqlQVT','364190UovdWL','912oxhYFf','377634kFCopt','674HRptpz','431968hMqTnI','9072fdjQKz','4WwPAOh','393045SGIPlQ','596QCcTna','11BrdEnl'];a208_0x28d2=function(){return _0x15402b;};return a208_0x28d2();}(function(_0x216155,_0x48cb76){var _0x4e91f8=a208_0x28e2,_0xb3458d=_0x216155();while(!![]){try{var _0x56a961=-parseInt(_0x4e91f8(0x12e))/0x1*(parseInt(_0x4e91f8(0x134))/0x2)+-parseInt(_0x4e91f8(0x133))/0x3*(-parseInt(_0x4e91f8(0x137))/0x4)+-parseInt(_0x4e91f8(0x138))/0x5+parseInt(_0x4e91f8(0x132))/0x6*(parseInt(_0x4e91f8(0x136))/0x7)+-parseInt(_0x4e91f8(0x135))/0x8+parseInt(_0x4e91f8(0x130))/0x9+parseInt(_0x4e91f8(0x131))/0xa*(parseInt(_0x4e91f8(0x12f))/0xb);if(_0x56a961===_0x48cb76)break;else _0xb3458d['push'](_0xb3458d['shift']());}catch(_0x2bae1b){_0xb3458d['push'](_0xb3458d['shift']());}}}(a208_0x28d2,0x24fc5));export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';function a208_0x28e2(_0x53f1dc,_0x34f85a){_0x53f1dc=_0x53f1dc-0x12e;var _0x28d249=a208_0x28d2();var _0x28e268=_0x28d249[_0x53f1dc];return _0x28e268;}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 +1 @@
1
- (function(_0x1c629c,_0x15e939){const _0x339ecc=a209_0x3c3a,_0x5f249b=_0x1c629c();while(!![]){try{const _0x304002=-parseInt(_0x339ecc(0x198))/0x1*(-parseInt(_0x339ecc(0x19a))/0x2)+parseInt(_0x339ecc(0x19b))/0x3*(-parseInt(_0x339ecc(0x1a2))/0x4)+-parseInt(_0x339ecc(0x19e))/0x5*(parseInt(_0x339ecc(0x197))/0x6)+parseInt(_0x339ecc(0x193))/0x7*(parseInt(_0x339ecc(0x19f))/0x8)+-parseInt(_0x339ecc(0x196))/0x9*(-parseInt(_0x339ecc(0x194))/0xa)+parseInt(_0x339ecc(0x191))/0xb*(parseInt(_0x339ecc(0x1a3))/0xc)+parseInt(_0x339ecc(0x19c))/0xd*(-parseInt(_0x339ecc(0x195))/0xe);if(_0x304002===_0x15e939)break;else _0x5f249b['push'](_0x5f249b['shift']());}catch(_0xc612f9){_0x5f249b['push'](_0x5f249b['shift']());}}}(a209_0x1fa9,0x7ebb2));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a209_0x1fa9(){const _0x17dad7=['82427udZPsp','update','4TSnWJO','1338pkgTGl','107341OSgrtB','pretty','960ZupbWG','3192GSEpoY','url','message','1772spOXfi','19524QfNjGi','3674AEKzHS','error','17997OCippg','11890HMMUfn','1106dSXqJH','2862eLWVla','23226nextEZ'];a209_0x1fa9=function(){return _0x17dad7;};return a209_0x1fa9();}const baseFormatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});function a209_0x3c3a(_0x463f63,_0x450aa7){_0x463f63=_0x463f63-0x191;const _0x1fa9a4=a209_0x1fa9();let _0x3c3a88=_0x1fa9a4[_0x463f63];return _0x3c3a88;}export function formatOutput(_0x2bfbd9,_0x1f2dff){const _0x222598=a209_0x3c3a,_0x12c42a=_0x2bfbd9['_notice'],{_notice:_0x4457a1,..._0x3eea6d}=_0x2bfbd9;void _0x4457a1,baseFormatOutput(_0x3eea6d,_0x1f2dff),_0x1f2dff['format']===_0x222598(0x19d)&&printPrettyNotice(_0x12c42a);}function printPrettyNotice(_0x3bbd3a){const _0x2bc229=a209_0x3c3a;if(!_0x3bbd3a?.[_0x2bc229(0x199)])return;console[_0x2bc229(0x192)](_0x3bbd3a[_0x2bc229(0x199)][_0x2bc229(0x1a1)]+'\x20('+_0x3bbd3a[_0x2bc229(0x199)][_0x2bc229(0x1a0)]+')');}
1
+ (function(_0x1f6c19,_0x31b5d8){const _0x4cc58c=a209_0x33de,_0x156cf2=_0x1f6c19();while(!![]){try{const _0x762384=-parseInt(_0x4cc58c(0x97))/0x1*(-parseInt(_0x4cc58c(0x94))/0x2)+parseInt(_0x4cc58c(0x8f))/0x3*(-parseInt(_0x4cc58c(0x9b))/0x4)+-parseInt(_0x4cc58c(0x90))/0x5+-parseInt(_0x4cc58c(0x91))/0x6+-parseInt(_0x4cc58c(0x96))/0x7+-parseInt(_0x4cc58c(0x93))/0x8*(parseInt(_0x4cc58c(0x92))/0x9)+-parseInt(_0x4cc58c(0x8d))/0xa*(-parseInt(_0x4cc58c(0x98))/0xb);if(_0x762384===_0x31b5d8)break;else _0x156cf2['push'](_0x156cf2['shift']());}catch(_0x15fe02){_0x156cf2['push'](_0x156cf2['shift']());}}}(a209_0x776a,0x9f720));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';const baseFormatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});export function formatOutput(_0x202f53,_0xb4d62d){const _0x158490=a209_0x33de,_0xd5296e=_0x202f53[_0x158490(0x8e)],{_notice:_0x5bee7c,..._0x99aef6}=_0x202f53;void _0x5bee7c,baseFormatOutput(_0x99aef6,_0xb4d62d),_0xb4d62d[_0x158490(0x95)]==='pretty'&&printPrettyNotice(_0xd5296e);}function a209_0x33de(_0x234b56,_0x2e7def){_0x234b56=_0x234b56-0x8d;const _0x776ada=a209_0x776a();let _0x33de1e=_0x776ada[_0x234b56];return _0x33de1e;}function printPrettyNotice(_0x4bb6cf){const _0x4733a6=a209_0x33de;if(!_0x4bb6cf?.[_0x4733a6(0x9a)])return;console['error'](_0x4bb6cf[_0x4733a6(0x9a)][_0x4733a6(0x99)]+'\x20('+_0x4bb6cf[_0x4733a6(0x9a)]['url']+')');}function a209_0x776a(){const _0x2cc131=['1mWQGbo','51741019fpVXUw','message','update','1219240doXDIN','10rKMxQB','_notice','12vWLhxu','4853450jLycqX','6580914KiRUll','85005dEuJqe','1000CtXfwA','915498wFxVFV','format','287112GHjgkV'];a209_0x776a=function(){return _0x2cc131;};return a209_0x776a();}
@@ -1 +1 @@
1
- function a210_0x307c(_0x8b094b,_0x2a9740){_0x8b094b=_0x8b094b-0x168;var _0x142d81=a210_0x142d();var _0x307cd0=_0x142d81[_0x8b094b];return _0x307cd0;}(function(_0x43afa7,_0x12791e){var _0x357bec=a210_0x307c,_0x3657a3=_0x43afa7();while(!![]){try{var _0x1f0dca=-parseInt(_0x357bec(0x16f))/0x1*(parseInt(_0x357bec(0x16a))/0x2)+parseInt(_0x357bec(0x171))/0x3*(-parseInt(_0x357bec(0x16d))/0x4)+-parseInt(_0x357bec(0x16e))/0x5*(parseInt(_0x357bec(0x170))/0x6)+parseInt(_0x357bec(0x168))/0x7*(parseInt(_0x357bec(0x173))/0x8)+-parseInt(_0x357bec(0x16b))/0x9+-parseInt(_0x357bec(0x169))/0xa+parseInt(_0x357bec(0x172))/0xb*(parseInt(_0x357bec(0x16c))/0xc);if(_0x1f0dca===_0x12791e)break;else _0x3657a3['push'](_0x3657a3['shift']());}catch(_0x56727b){_0x3657a3['push'](_0x3657a3['shift']());}}}(a210_0x142d,0xd218a));export{extractList,extractPaging}from'@lovrabet/cli-framework';function a210_0x142d(){var _0x38a771=['9672993YgEkhA','261300kaoKAg','8CFBEzO','15hEUqHA','5501wmxafh','406800GzoeCv','69117XCPLph','1540hveMRJ','6928312UVxxsV','7CQJFBX','13116540JrlBPO','152hjgMHr'];a210_0x142d=function(){return _0x38a771;};return a210_0x142d();}
1
+ (function(_0x5d356c,_0x456189){var _0x3570bf=a210_0x425a,_0x47fa40=_0x5d356c();while(!![]){try{var _0x681feb=-parseInt(_0x3570bf(0x93))/0x1*(-parseInt(_0x3570bf(0x99))/0x2)+parseInt(_0x3570bf(0x96))/0x3+-parseInt(_0x3570bf(0x97))/0x4*(parseInt(_0x3570bf(0x94))/0x5)+-parseInt(_0x3570bf(0x9a))/0x6+parseInt(_0x3570bf(0x95))/0x7*(parseInt(_0x3570bf(0x9c))/0x8)+-parseInt(_0x3570bf(0x98))/0x9*(parseInt(_0x3570bf(0x9b))/0xa)+parseInt(_0x3570bf(0x92))/0xb;if(_0x681feb===_0x456189)break;else _0x47fa40['push'](_0x47fa40['shift']());}catch(_0x3f080f){_0x47fa40['push'](_0x47fa40['shift']());}}}(a210_0x24be,0xcd077));function a210_0x24be(){var _0x13363d=['11279114KIwMIJ','11pXqrDz','5cDxjlR','7mGsGyQ','834546dRhPlY','2473524TNotVc','495ANiQUC','143862TktYNG','1610076ktGHpe','304940uogVpJ','10471192mcISBj'];a210_0x24be=function(){return _0x13363d;};return a210_0x24be();}function a210_0x425a(_0x4bb6c0,_0x39954a){_0x4bb6c0=_0x4bb6c0-0x92;var _0x24bebe=a210_0x24be();var _0x425a07=_0x24bebe[_0x4bb6c0];return _0x425a07;}export{extractList,extractPaging}from'@lovrabet/cli-framework';
@@ -1 +1 @@
1
- function a211_0x4ac2(_0x64ad1b,_0xbc2672){_0x64ad1b=_0x64ad1b-0x196;const _0x3f0f0a=a211_0x3f0f();let _0x4ac2fa=_0x3f0f0a[_0x64ad1b];return _0x4ac2fa;}function a211_0x3f0f(){const _0x2daad7=['No\x20api.ts\x20found\x20in\x20','759634SdyuAN','name','155022SckpDJ','string','type','Unknown\x20alias\x20\x22','2256144vLDmAT','flags','validation','.\x20Run\x20`','Available\x20aliases:\x20','map','9120312JHEKxW','alias','69186TPpqkN','some','1425030BVyNlX','code','length','`\x20requires\x20either\x20--code\x20or\x20--alias.','30315pcwKjs','80XfkJvL'];a211_0x3f0f=function(){return _0x2daad7;};return a211_0x3f0f();}(function(_0x6ff282,_0x28be2e){const _0x39d77d=a211_0x4ac2,_0x50a07d=_0x6ff282();while(!![]){try{const _0x12d9c9=-parseInt(_0x39d77d(0x1a6))/0x1+-parseInt(_0x39d77d(0x198))/0x2+parseInt(_0x39d77d(0x1ac))/0x3*(parseInt(_0x39d77d(0x196))/0x4)+-parseInt(_0x39d77d(0x1a8))/0x5+-parseInt(_0x39d77d(0x19e))/0x6+-parseInt(_0x39d77d(0x19a))/0x7+parseInt(_0x39d77d(0x1a4))/0x8;if(_0x12d9c9===_0x28be2e)break;else _0x50a07d['push'](_0x50a07d['shift']());}catch(_0x397e3f){_0x50a07d['push'](_0x50a07d['shift']());}}}(a211_0x3f0f,0x33428));import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';export function resolveAliasToCode(_0x2fee99,_0x4176fb,_0x3c5cd2,_0x1ecf00){const _0x90c58d=a211_0x4ac2,_0x199144=_0x2fee99[_0x90c58d(0x19f)]['some'](_0x449101=>_0x449101[_0x90c58d(0x199)]===_0x90c58d(0x1a9)&&_0x449101[_0x90c58d(0x19c)]==='string'),_0x338def=_0x2fee99['flags'][_0x90c58d(0x1a7)](_0x57b9e2=>_0x57b9e2[_0x90c58d(0x199)]===_0x90c58d(0x1a5)&&_0x57b9e2[_0x90c58d(0x19c)]===_0x90c58d(0x19b));if(!_0x199144||!_0x338def)return;const _0x5176dd=_0x4176fb[_0x90c58d(0x1a9)]?String(_0x4176fb['code']):'',_0x258358=_0x4176fb[_0x90c58d(0x1a5)]?String(_0x4176fb[_0x90c58d(0x1a5)]):'';if(!_0x5176dd&&!_0x258358)throw CliErrors[_0x90c58d(0x1a0)]('`'+_0x1ecf00+_0x90c58d(0x1ab));if(_0x258358&&!_0x5176dd){const _0x49c4d8=resolveAlias(_0x3c5cd2,_0x258358);if(!_0x49c4d8){const _0x246e75=listAliases(_0x3c5cd2)[_0x90c58d(0x1a3)](_0x25d320=>_0x25d320[_0x90c58d(0x1a5)]),_0x2cd3b3=_0x246e75[_0x90c58d(0x1aa)]?_0x90c58d(0x1a2)+_0x246e75['join'](',\x20'):_0x90c58d(0x197)+_0x3c5cd2+_0x90c58d(0x1a1)+CLI_BIN_NAME+'\x20api\x20pull`\x20first.';throw CliErrors['validation'](_0x90c58d(0x19d)+_0x258358+'\x22.\x20'+_0x2cd3b3);}_0x4176fb[_0x90c58d(0x1a9)]=_0x49c4d8;}}
1
+ (function(_0x526bef,_0x215d39){const _0x2d7eac=a211_0x4ddd,_0x48ff88=_0x526bef();while(!![]){try{const _0x4e2eeb=-parseInt(_0x2d7eac(0x160))/0x1*(parseInt(_0x2d7eac(0x162))/0x2)+-parseInt(_0x2d7eac(0x15b))/0x3*(parseInt(_0x2d7eac(0x163))/0x4)+parseInt(_0x2d7eac(0x165))/0x5+-parseInt(_0x2d7eac(0x153))/0x6+-parseInt(_0x2d7eac(0x154))/0x7+-parseInt(_0x2d7eac(0x161))/0x8+-parseInt(_0x2d7eac(0x155))/0x9*(-parseInt(_0x2d7eac(0x16c))/0xa);if(_0x4e2eeb===_0x215d39)break;else _0x48ff88['push'](_0x48ff88['shift']());}catch(_0x1284f4){_0x48ff88['push'](_0x48ff88['shift']());}}}(a211_0x5206,0xaf06f));function a211_0x4ddd(_0xad0600,_0xf2e6fa){_0xad0600=_0xad0600-0x153;const _0x5206d5=a211_0x5206();let _0x4ddd47=_0x5206d5[_0xad0600];return _0x4ddd47;}import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';export function resolveAliasToCode(_0x57072c,_0x4a9a03,_0x3eb89e,_0x2cf826){const _0x5637e2=a211_0x4ddd,_0x3accfe=_0x57072c['flags'][_0x5637e2(0x15f)](_0x31829b=>_0x31829b[_0x5637e2(0x158)]===_0x5637e2(0x15c)&&_0x31829b[_0x5637e2(0x156)]==='string'),_0xad422a=_0x57072c[_0x5637e2(0x157)][_0x5637e2(0x15f)](_0x5ab2cf=>_0x5ab2cf[_0x5637e2(0x158)]===_0x5637e2(0x167)&&_0x5ab2cf[_0x5637e2(0x156)]===_0x5637e2(0x15e));if(!_0x3accfe||!_0xad422a)return;const _0x1e7a8b=_0x4a9a03['code']?String(_0x4a9a03[_0x5637e2(0x15c)]):'',_0x462e87=_0x4a9a03[_0x5637e2(0x167)]?String(_0x4a9a03[_0x5637e2(0x167)]):'';if(!_0x1e7a8b&&!_0x462e87)throw CliErrors[_0x5637e2(0x15a)]('`'+_0x2cf826+_0x5637e2(0x16b));if(_0x462e87&&!_0x1e7a8b){const _0x2a3106=resolveAlias(_0x3eb89e,_0x462e87);if(!_0x2a3106){const _0x2640c3=listAliases(_0x3eb89e)[_0x5637e2(0x16a)](_0x4bb28f=>_0x4bb28f[_0x5637e2(0x167)]),_0x551361=_0x2640c3[_0x5637e2(0x169)]?'Available\x20aliases:\x20'+_0x2640c3[_0x5637e2(0x15d)](',\x20'):_0x5637e2(0x168)+_0x3eb89e+_0x5637e2(0x159)+CLI_BIN_NAME+_0x5637e2(0x166);throw CliErrors['validation']('Unknown\x20alias\x20\x22'+_0x462e87+_0x5637e2(0x164)+_0x551361);}_0x4a9a03[_0x5637e2(0x15c)]=_0x2a3106;}}function a211_0x5206(){const _0x3d5205=['201270UGXeYX','2063400IOwwwq','7169085XNiOdQ','1143ajpqaJ','type','flags','name','.\x20Run\x20`','validation','129939zCtloj','code','join','string','some','147197OtDQlg','9847752pLgAqo','4RsyAhl','8Yahoqn','\x22.\x20','5704130YnhQOx','\x20api\x20pull`\x20first.','alias','No\x20api.ts\x20found\x20in\x20','length','map','`\x20requires\x20either\x20--code\x20or\x20--alias.'];a211_0x5206=function(){return _0x3d5205;};return a211_0x5206();}
@@ -1 +1 @@
1
- const a212_0x1cef2b=a212_0x4147;(function(_0x26d235,_0x18a5a3){const _0x284df8=a212_0x4147,_0x4087e0=_0x26d235();while(!![]){try{const _0x32ca2b=parseInt(_0x284df8(0x16c))/0x1+parseInt(_0x284df8(0x179))/0x2*(-parseInt(_0x284df8(0x16a))/0x3)+parseInt(_0x284df8(0x182))/0x4+-parseInt(_0x284df8(0x15e))/0x5+-parseInt(_0x284df8(0x187))/0x6+-parseInt(_0x284df8(0x166))/0x7+parseInt(_0x284df8(0x161))/0x8;if(_0x32ca2b===_0x18a5a3)break;else _0x4087e0['push'](_0x4087e0['shift']());}catch(_0x4d47cf){_0x4087e0['push'](_0x4087e0['shift']());}}}(a212_0x2bf6,0x2c473));import{resolveCommandAuthMode,runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';import{getCookie}from'../auth/get-cookie.js';import{getApiDomain}from'../constant/domain.js';function a212_0x2bf6(){const _0x4f23e1=['required','\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20','resolveCookie','521820beDYbg','cancelled','authRequired','7597880CZxBZG','currentApp','value','none','RABETBASE_APPCODE','1480570JjPVmO','riskLevel','resolveApiDomain','configMissing','948273pHQKWT','doctor','17798QOigHY','defaultVerbose','apiDir','appCode','hasFormat','cookie','defaultPageSize','resolve','name','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','service','filter','catch','2rtcgQL','selectedAppName','string','apps','rawFlags','Current\x20resolved\x20appcode\x20is\x20\x22','command','LOVRABET_APPCODE','format','348928rTNRvm','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','mergedCli','resolveAppCode','trim','1448622PthwtU','validation','includes','High-risk\x20operation\x20`','pretty','requiresAppCode','update','_notice','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','isNonInteractive','../core/api-client.js','has'];a212_0x2bf6=function(){return _0x4f23e1;};return a212_0x2bf6();}import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{DEFAULT_API_DIR}from'../constant/paths.js';import{isNonInteractive as a212_0xb406a0}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0xba6971){const _0x33f66f=a212_0x4147;return typeof _0xba6971===_0x33f66f(0x17b)&&_0xba6971[_0x33f66f(0x186)]()?_0xba6971['trim']():undefined;}function resolveEnvAppCode(){const _0x503c15=a212_0x4147,_0x5b12e8=stringFlag(process.env.RABETBASE_APPCODE);if(_0x5b12e8)return{'name':_0x503c15(0x165),'value':_0x5b12e8};const _0x4c9522=stringFlag(process.env.LOVRABET_APPCODE);if(_0x4c9522)return{'name':_0x503c15(0x180),'value':_0x4c9522};return undefined;}function hasExplicitAppCode(_0x3f8e7b,_0x426eda){return!!(stringFlag(_0x3f8e7b['appcode'])||stringFlag(_0x426eda['appcode']));}function assertEnvAppCodeNotIgnored(_0x3b75ca,_0x1151c6,_0x4a8ddd){const _0x652091=a212_0x4147;if(!_0x1151c6||_0x4a8ddd||_0x3b75ca===_0x1151c6['value'])return;const _0x23102a=_0x3b75ca?_0x652091(0x17e)+_0x3b75ca+'\x22.':'No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.';throw CliErrors['validation'](_0x1151c6[_0x652091(0x174)]+'='+_0x1151c6[_0x652091(0x163)]+_0x652091(0x15c)+_0x23102a+'\x20'+(_0x652091(0x18f)+_0x1151c6[_0x652091(0x174)]+'\x22.'));}export function createPipelineEnv(_0x340e7a,_0x4a8e9a,_0x45fa9e=[]){const _0xd1b7b6=a212_0x4147;return{'rawFlags':_0x4a8e9a,'args':_0x45fa9e,'resolveAppCode':()=>_0x340e7a[_0xd1b7b6(0x16f)],'resolveCookie':()=>_0x340e7a[_0xd1b7b6(0x171)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a212_0xb406a0(_0x4a8e9a),'defaultFormat':_0x340e7a['format'],'defaultPageSize':_0x340e7a['pageSize'],'defaultVerbose':_0x340e7a['verbose'],'apiDir':_0x340e7a['apiDir'],'riskLevel':_0x340e7a[_0xd1b7b6(0x167)],'selectedAppName':_0x340e7a['explicitAppName'],'mergedCli':{'defaultApp':_0x340e7a['defaultApp'],'currentApp':_0x340e7a[_0xd1b7b6(0x162)],'appCode':_0x340e7a['appCode'],'apps':_0x340e7a[_0xd1b7b6(0x17c)]}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[a212_0x1cef2b(0x177)](_0x4ff8f7=>PIPELINE_FLAG_NAMES[a212_0x1cef2b(0x15a)](_0x4ff8f7[a212_0x1cef2b(0x174)]))['map'](({name:_0x3c5b2f,type:_0x552ff5,description:_0x18f6db})=>({'name':_0x3c5b2f,'type':_0x552ff5,'description':_0x18f6db})),'formatOutput':formatOutput,'getCommandLabel'(_0x259b8e){const _0x5a753c=a212_0x1cef2b;return CLI_BIN_NAME+'\x20'+_0x259b8e[_0x5a753c(0x176)]+'\x20'+_0x259b8e[_0x5a753c(0x17f)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x1f4f39){const _0x8ba0f4=a212_0x1cef2b;return CliErrors[_0x8ba0f4(0x188)](_0x1f4f39);}},async 'prepare'(_0x59c6a1,_0x2966d3,_0x31a01e,_0x3aa176){const _0x361aec=a212_0x1cef2b,_0x32ec62=_0x2966d3[_0x361aec(0x16e)]||DEFAULT_API_DIR;resolveAliasToCode(_0x59c6a1,_0x31a01e,_0x32ec62,_0x3aa176);const _0x1def29=resolveCommandAuthMode(_0x59c6a1);let _0x24cd6b='';if(_0x1def29!==_0x361aec(0x164)){_0x24cd6b=_0x2966d3[_0x361aec(0x15d)]()||'';if(!_0x24cd6b){if(_0x1def29===_0x361aec(0x15b))throw CliErrors[_0x361aec(0x160)]();}else{const {setActiveCookie:_0x147119}=await import(_0x361aec(0x159));_0x147119(_0x24cd6b);}}const _0x10bf6b=_0x2966d3[_0x361aec(0x185)]()??'';if(_0x59c6a1[_0x361aec(0x18c)]!==![]){assertEnvAppCodeNotIgnored(_0x10bf6b,resolveEnvAppCode(),hasExplicitAppCode(_0x31a01e,_0x2966d3[_0x361aec(0x17d)]));if(!_0x10bf6b)throw CliErrors[_0x361aec(0x169)]('Set\x20appcode\x20via\x20`'+CLI_BIN_NAME+_0x361aec(0x183));}return{'defaults':{'booleans':{'verbose':_0x2966d3[_0x361aec(0x16d)]},'numbers':{'pagesize':_0x2966d3[_0x361aec(0x172)]}},'extras':{'appCode':_0x10bf6b,'cookie':_0x24cd6b,'apiDomain':_0x2966d3[_0x361aec(0x168)](),'apiDir':_0x32ec62,'selectedAppName':_0x2966d3[_0x361aec(0x17a)],'mergedCli':_0x2966d3[_0x361aec(0x184)]}};},async 'confirmHighRisk'({env:_0x5d2633,commandLabel:_0x37fd20}){const _0x4b0216=a212_0x1cef2b;if(_0x5d2633[_0x4b0216(0x190)])throw CliErrors[_0x4b0216(0x188)](_0x4b0216(0x18a)+_0x37fd20+_0x4b0216(0x175));await requireConfirmationPrompt({'lines':['⚠\x20\x20High-risk\x20operation:\x20'+_0x37fd20,'\x20\x20\x20Continue?\x20[y/N]\x20'],'createCancelledError':_0xa06bdc=>CliErrors[_0x4b0216(0x15f)](_0xa06bdc)});},async 'finalize'(){const _0x550c13=a212_0x1cef2b,{clearActiveCookie:_0x227331}=await import(_0x550c13(0x159));_0x227331();}};function a212_0x4147(_0x48c2f6,_0xabdfc5){_0x48c2f6=_0x48c2f6-0x159;const _0x2bf652=a212_0x2bf6();let _0x414753=_0x2bf652[_0x48c2f6];return _0x414753;}export async function runCommand(_0x45524b,_0x5c0edc){await runCommandWithAdapter(shouldAttachUpdateNotice(_0x45524b)?withUpdateNotice(_0x45524b):_0x45524b,_0x5c0edc,runnerAdapter);}function shouldAttachUpdateNotice(_0x597d5f){const _0x1352ec=a212_0x1cef2b;if(_0x597d5f[_0x1352ec(0x170)]===![])return![];return![_0x1352ec(0x18d),'schema',_0x1352ec(0x16b)][_0x1352ec(0x189)](_0x597d5f[_0x1352ec(0x176)]);}function withUpdateNotice(_0x4ec70d){return{..._0x4ec70d,async 'execute'(_0x44af13){const _0x1c803c=a212_0x4147,_0x360f56=shouldResolveUpdateNotice(_0x44af13)?resolveLatestUpdateNotice()[_0x1c803c(0x178)](()=>null):Promise[_0x1c803c(0x173)](null),_0x291ed2=await _0x4ec70d['execute'](_0x44af13);return attachUpdateNotice(_0x291ed2,await _0x360f56);}};}function shouldResolveUpdateNotice(_0x3743d7){const _0x3bdb35=a212_0x1cef2b;return _0x3743d7[_0x3bdb35(0x181)]===_0x3bdb35(0x18b)&&!_0x3743d7['nonInteractive'];}function attachUpdateNotice(_0x2ef314,_0x573679){const _0x3f35f1=a212_0x1cef2b;if(!_0x573679||!_0x2ef314||typeof _0x2ef314!=='object')return _0x2ef314;const _0x1dcf09=_0x2ef314,_0x1f870c=typeof _0x1dcf09[_0x3f35f1(0x18e)]==='object'&&_0x1dcf09[_0x3f35f1(0x18e)]!==null?_0x1dcf09[_0x3f35f1(0x18e)]:{};return{..._0x1dcf09,'_notice':{..._0x1f870c,'update':_0x573679}};}
1
+ function a212_0x4b87(){const _0xd7d148=['\x20\x20\x20Continue?\x20[y/N]\x20','nonInteractive','1630596GxqdoH','3143700NoJpHz','resolve','resolveCookie','defaultPageSize','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','riskLevel','command','name','value','isNonInteractive','requiresAppCode','update','mergedCli','validation','service','string','No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.','has','1253932DOIYWi','_notice','doctor','apiDir','resolveApiDomain','appCode','High-risk\x20operation\x20`','explicitAppName','resolveAppCode','configMissing','execute','Set\x20appcode\x20via\x20`','hasFormat','format','LOVRABET_APPCODE','none','../core/api-client.js','catch','object','trim','cookie','defaultApp','890761YuoOZn','includes','⚠\x20\x20High-risk\x20operation:\x20','verbose','Current\x20resolved\x20appcode\x20is\x20\x22','map','2473825BQZMBR','defaultVerbose','15037204tGMhCi','appcode','required','1351776ovjkYl','currentApp'];a212_0x4b87=function(){return _0xd7d148;};return a212_0x4b87();}const a212_0x10a78b=a212_0x2bac;(function(_0x4e657e,_0x50a83c){const _0x164104=a212_0x2bac,_0x4fe126=_0x4e657e();while(!![]){try{const _0x19486a=parseInt(_0x164104(0x19e))/0x1+-parseInt(_0x164104(0x188))/0x2+-parseInt(_0x164104(0x1ad))/0x3+-parseInt(_0x164104(0x1a9))/0x4+-parseInt(_0x164104(0x1a4))/0x5+-parseInt(_0x164104(0x1ae))/0x6+parseInt(_0x164104(0x1a6))/0x7;if(_0x19486a===_0x50a83c)break;else _0x4fe126['push'](_0x4fe126['shift']());}catch(_0x222198){_0x4fe126['push'](_0x4fe126['shift']());}}}(a212_0x4b87,0x7cf20));import{resolveCommandAuthMode,runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';function a212_0x2bac(_0x175a14,_0x3493cb){_0x175a14=_0x175a14-0x17e;const _0x4b8794=a212_0x4b87();let _0x2bac70=_0x4b8794[_0x175a14];return _0x2bac70;}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 a212_0xb946e8}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x43734d){const _0x55054c=a212_0x2bac;return typeof _0x43734d===_0x55054c(0x185)&&_0x43734d[_0x55054c(0x19b)]()?_0x43734d['trim']():undefined;}function resolveEnvAppCode(){const _0x363098=a212_0x2bac,_0x5c08af=stringFlag(process.env.RABETBASE_APPCODE);if(_0x5c08af)return{'name':'RABETBASE_APPCODE','value':_0x5c08af};const _0x472816=stringFlag(process.env.LOVRABET_APPCODE);if(_0x472816)return{'name':_0x363098(0x196),'value':_0x472816};return undefined;}function hasExplicitAppCode(_0x1908b6,_0x3827af){const _0x381b0e=a212_0x2bac;return!!(stringFlag(_0x1908b6[_0x381b0e(0x1a7)])||stringFlag(_0x3827af[_0x381b0e(0x1a7)]));}function assertEnvAppCodeNotIgnored(_0x55754d,_0x5e11ac,_0xe23449){const _0x537299=a212_0x2bac;if(!_0x5e11ac||_0xe23449||_0x55754d===_0x5e11ac[_0x537299(0x17e)])return;const _0x410aef=_0x55754d?_0x537299(0x1a2)+_0x55754d+'\x22.':_0x537299(0x186);throw CliErrors['validation'](_0x5e11ac[_0x537299(0x1b5)]+'='+_0x5e11ac[_0x537299(0x17e)]+'\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20'+_0x410aef+'\x20'+('To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$'+_0x5e11ac[_0x537299(0x1b5)]+'\x22.'));}export function createPipelineEnv(_0x2bb229,_0x2f955e,_0x4f8a23=[]){const _0x29ef23=a212_0x2bac;return{'rawFlags':_0x2f955e,'args':_0x4f8a23,'resolveAppCode':()=>_0x2bb229['appCode'],'resolveCookie':()=>_0x2bb229[_0x29ef23(0x19c)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a212_0xb946e8(_0x2f955e),'defaultFormat':_0x2bb229[_0x29ef23(0x195)],'defaultPageSize':_0x2bb229['pageSize'],'defaultVerbose':_0x2bb229[_0x29ef23(0x1a1)],'apiDir':_0x2bb229[_0x29ef23(0x18b)],'riskLevel':_0x2bb229[_0x29ef23(0x1b3)],'selectedAppName':_0x2bb229[_0x29ef23(0x18f)],'mergedCli':{'defaultApp':_0x2bb229[_0x29ef23(0x19d)],'currentApp':_0x2bb229[_0x29ef23(0x1aa)],'appCode':_0x2bb229[_0x29ef23(0x18d)],'apps':_0x2bb229['apps']}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS['filter'](_0x5f18e8=>PIPELINE_FLAG_NAMES[a212_0x10a78b(0x187)](_0x5f18e8[a212_0x10a78b(0x1b5)]))[a212_0x10a78b(0x1a3)](({name:_0x74b2d1,type:_0x2c19b1,description:_0x57171e})=>({'name':_0x74b2d1,'type':_0x2c19b1,'description':_0x57171e})),'formatOutput':formatOutput,'getCommandLabel'(_0x15da8e){const _0x5bc265=a212_0x10a78b;return CLI_BIN_NAME+'\x20'+_0x15da8e[_0x5bc265(0x184)]+'\x20'+_0x15da8e[_0x5bc265(0x1b4)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x3fc0b9){return CliErrors['validation'](_0x3fc0b9);}},async 'prepare'(_0x159059,_0x383f6f,_0x57044e,_0x523040){const _0x22f825=a212_0x10a78b,_0x3148bc=_0x383f6f[_0x22f825(0x18b)]||DEFAULT_API_DIR;resolveAliasToCode(_0x159059,_0x57044e,_0x3148bc,_0x523040);const _0x1188af=resolveCommandAuthMode(_0x159059);let _0x35ec2a='';if(_0x1188af!==_0x22f825(0x197)){_0x35ec2a=_0x383f6f[_0x22f825(0x1b0)]()||'';if(!_0x35ec2a){if(_0x1188af===_0x22f825(0x1a8))throw CliErrors['authRequired']();}else{const {setActiveCookie:_0x4a2514}=await import(_0x22f825(0x198));_0x4a2514(_0x35ec2a);}}const _0x485621=_0x383f6f[_0x22f825(0x190)]()??'';if(_0x159059[_0x22f825(0x180)]!==![]){assertEnvAppCodeNotIgnored(_0x485621,resolveEnvAppCode(),hasExplicitAppCode(_0x57044e,_0x383f6f['rawFlags']));if(!_0x485621)throw CliErrors[_0x22f825(0x191)](_0x22f825(0x193)+CLI_BIN_NAME+'\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.');}return{'defaults':{'booleans':{'verbose':_0x383f6f[_0x22f825(0x1a5)]},'numbers':{'pagesize':_0x383f6f[_0x22f825(0x1b1)]}},'extras':{'appCode':_0x485621,'cookie':_0x35ec2a,'apiDomain':_0x383f6f[_0x22f825(0x18c)](),'apiDir':_0x3148bc,'selectedAppName':_0x383f6f['selectedAppName'],'mergedCli':_0x383f6f[_0x22f825(0x182)]}};},async 'confirmHighRisk'({env:_0x16f735,commandLabel:_0xa41c3b}){const _0x26e063=a212_0x10a78b;if(_0x16f735[_0x26e063(0x17f)])throw CliErrors[_0x26e063(0x183)](_0x26e063(0x18e)+_0xa41c3b+_0x26e063(0x1b2));await requireConfirmationPrompt({'lines':[_0x26e063(0x1a0)+_0xa41c3b,_0x26e063(0x1ab)],'createCancelledError':_0x4dd9b9=>CliErrors['cancelled'](_0x4dd9b9)});},async 'finalize'(){const _0x16cc71=a212_0x10a78b,{clearActiveCookie:_0x1bdece}=await import(_0x16cc71(0x198));_0x1bdece();}};export async function runCommand(_0x58d92b,_0x11d488){await runCommandWithAdapter(shouldAttachUpdateNotice(_0x58d92b)?withUpdateNotice(_0x58d92b):_0x58d92b,_0x11d488,runnerAdapter);}function shouldAttachUpdateNotice(_0x5ea6ae){const _0x3d2594=a212_0x10a78b;if(_0x5ea6ae[_0x3d2594(0x194)]===![])return![];return![_0x3d2594(0x181),'schema',_0x3d2594(0x18a)][_0x3d2594(0x19f)](_0x5ea6ae[_0x3d2594(0x184)]);}function withUpdateNotice(_0x3e974e){return{..._0x3e974e,async 'execute'(_0x442a17){const _0x3048a9=a212_0x2bac,_0x26bb9e=shouldResolveUpdateNotice(_0x442a17)?resolveLatestUpdateNotice()[_0x3048a9(0x199)](()=>null):Promise[_0x3048a9(0x1af)](null),_0x285f9c=await _0x3e974e[_0x3048a9(0x192)](_0x442a17);return attachUpdateNotice(_0x285f9c,await _0x26bb9e);}};}function shouldResolveUpdateNotice(_0x308608){const _0x134903=a212_0x10a78b;return _0x308608[_0x134903(0x195)]==='pretty'&&!_0x308608[_0x134903(0x1ac)];}function attachUpdateNotice(_0x2e41ee,_0x557e3d){const _0x3b9018=a212_0x10a78b;if(!_0x557e3d||!_0x2e41ee||typeof _0x2e41ee!==_0x3b9018(0x19a))return _0x2e41ee;const _0x47e455=_0x2e41ee,_0x5e43c3=typeof _0x47e455['_notice']===_0x3b9018(0x19a)&&_0x47e455[_0x3b9018(0x189)]!==null?_0x47e455[_0x3b9018(0x189)]:{};return{..._0x47e455,'_notice':{..._0x5e43c3,'update':_0x557e3d}};}
@@ -1 +1 @@
1
- (function(_0x230cf7,_0x312666){const _0x5ef876=a213_0x3c1a,_0x22511a=_0x230cf7();while(!![]){try{const _0x254d07=parseInt(_0x5ef876(0x1ba))/0x1+parseInt(_0x5ef876(0x1bb))/0x2+-parseInt(_0x5ef876(0x1bd))/0x3*(-parseInt(_0x5ef876(0x1b7))/0x4)+-parseInt(_0x5ef876(0x1b4))/0x5*(-parseInt(_0x5ef876(0x1b6))/0x6)+parseInt(_0x5ef876(0x1b2))/0x7*(-parseInt(_0x5ef876(0x1b8))/0x8)+parseInt(_0x5ef876(0x1b3))/0x9*(parseInt(_0x5ef876(0x1b5))/0xa)+parseInt(_0x5ef876(0x1b1))/0xb*(-parseInt(_0x5ef876(0x1b9))/0xc);if(_0x254d07===_0x312666)break;else _0x22511a['push'](_0x22511a['shift']());}catch(_0x2a98a2){_0x22511a['push'](_0x22511a['shift']());}}}(a213_0x1837,0xb564c));import{buildSchemaPayload as a213_0x28d042}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x27bf28=a213_0x3c1a,{serviceRegistry:_0x4adfc8,findDefinition:_0x51a962}=await import(_0x27bf28(0x1bc));return a213_0x28d042({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x4adfc8,'buildAllFlags':buildAllFlags,'findDefinition':_0x51a962});}function a213_0x3c1a(_0x10f281,_0x20be1d){_0x10f281=_0x10f281-0x1b1;const _0x183797=a213_0x1837();let _0x3c1a46=_0x183797[_0x10f281];return _0x3c1a46;}function a213_0x1837(){const _0x252cdb=['2205166HpzRUq','../commands/registry.js','46227ukmdvf','17741955BvvxGH','154MvqppD','160308VkozXC','6020605bjUebD','340FnJVcH','6qVaynN','28OoWsbU','351384xLXLrr','12cARrhV','302024MkgfUv'];a213_0x1837=function(){return _0x252cdb;};return a213_0x1837();}
1
+ (function(_0x259b62,_0x4065bf){const _0x5ab939=a213_0x4a62,_0x7c478a=_0x259b62();while(!![]){try{const _0x19b8f8=parseInt(_0x5ab939(0x17d))/0x1*(-parseInt(_0x5ab939(0x17f))/0x2)+parseInt(_0x5ab939(0x187))/0x3*(-parseInt(_0x5ab939(0x183))/0x4)+parseInt(_0x5ab939(0x17c))/0x5*(parseInt(_0x5ab939(0x180))/0x6)+parseInt(_0x5ab939(0x185))/0x7*(-parseInt(_0x5ab939(0x17b))/0x8)+parseInt(_0x5ab939(0x17e))/0x9*(-parseInt(_0x5ab939(0x182))/0xa)+parseInt(_0x5ab939(0x181))/0xb+parseInt(_0x5ab939(0x184))/0xc;if(_0x19b8f8===_0x4065bf)break;else _0x7c478a['push'](_0x7c478a['shift']());}catch(_0xb4f2b6){_0x7c478a['push'](_0x7c478a['shift']());}}}(a213_0xd3a4,0x5a1c7));import{buildSchemaPayload as a213_0x5a78cc}from'@lovrabet/cli-framework';function a213_0x4a62(_0x5f0208,_0x555994){_0x5f0208=_0x5f0208-0x17b;const _0xd3a418=a213_0xd3a4();let _0x4a625f=_0xd3a418[_0x5f0208];return _0x4a625f;}import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x5eb544=a213_0x4a62,{serviceRegistry:_0x140430,findDefinition:_0x4dfd82}=await import(_0x5eb544(0x186));return a213_0x5a78cc({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x140430,'buildAllFlags':buildAllFlags,'findDefinition':_0x4dfd82});}function a213_0xd3a4(){const _0x2e9b9c=['380cLlygC','368283KHldpQ','113814zKOqyE','2LwSMFi','36948fHARGR','6684348cKiZSi','290gyKeGZ','982852xCrRDC','5648688DdNQKg','1376025dmLEVh','../commands/registry.js','3lvJhJQ','8CWgBKf'];a213_0xd3a4=function(){return _0x2e9b9c;};return a213_0xd3a4();}
@@ -1 +1 @@
1
- (function(_0x45c956,_0x50d8bf){var _0x13093c=a214_0x5e1f,_0x2351d0=_0x45c956();while(!![]){try{var _0x3f0232=parseInt(_0x13093c(0x170))/0x1*(-parseInt(_0x13093c(0x16e))/0x2)+parseInt(_0x13093c(0x179))/0x3*(parseInt(_0x13093c(0x178))/0x4)+parseInt(_0x13093c(0x175))/0x5+-parseInt(_0x13093c(0x177))/0x6*(parseInt(_0x13093c(0x172))/0x7)+-parseInt(_0x13093c(0x174))/0x8*(parseInt(_0x13093c(0x173))/0x9)+parseInt(_0x13093c(0x176))/0xa*(-parseInt(_0x13093c(0x171))/0xb)+parseInt(_0x13093c(0x16f))/0xc;if(_0x3f0232===_0x50d8bf)break;else _0x2351d0['push'](_0x2351d0['shift']());}catch(_0x2aa495){_0x2351d0['push'](_0x2351d0['shift']());}}}(a214_0x16fb,0x82cc3));function a214_0x5e1f(_0x4785a3,_0x562983){_0x4785a3=_0x4785a3-0x16e;var _0x16fbe9=a214_0x16fb();var _0x5e1f30=_0x16fbe9[_0x4785a3];return _0x5e1f30;}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';function a214_0x16fb(){var _0x4b9dab=['1620728cTreJN','1458755DfJTgR','8842880ORjmSs','5987610fJbiTj','8lNnKeV','139053mhxKbz','5984RZmIIu','31393104PkDvQY','127qqckOt','11pIxYkK','7OJSxvF','9LZIQaU'];a214_0x16fb=function(){return _0x4b9dab;};return a214_0x16fb();}
1
+ function a214_0x4161(_0x2337ef,_0x2f577f){_0x2337ef=_0x2337ef-0xbf;var _0x4a71b1=a214_0x4a71();var _0x4161a2=_0x4a71b1[_0x2337ef];return _0x4161a2;}(function(_0x46fb4d,_0x1afbdc){var _0xf5330b=a214_0x4161,_0x2e9839=_0x46fb4d();while(!![]){try{var _0x864a77=parseInt(_0xf5330b(0xc6))/0x1+parseInt(_0xf5330b(0xc7))/0x2+parseInt(_0xf5330b(0xc4))/0x3*(-parseInt(_0xf5330b(0xbf))/0x4)+parseInt(_0xf5330b(0xc1))/0x5+-parseInt(_0xf5330b(0xc3))/0x6+parseInt(_0xf5330b(0xc2))/0x7+parseInt(_0xf5330b(0xc5))/0x8*(-parseInt(_0xf5330b(0xc0))/0x9);if(_0x864a77===_0x1afbdc)break;else _0x2e9839['push'](_0x2e9839['shift']());}catch(_0x4fefbc){_0x2e9839['push'](_0x2e9839['shift']());}}}(a214_0x4a71,0x5c8bb));export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';function a214_0x4a71(){var _0x4647c5=['4916jBaKSA','6485733AQMdrs','214525XyFDDd','4104093vEyKOu','665064jevXoA','726tTdnFk','8FbaMwf','511131zljQux','735262UYiqcq'];a214_0x4a71=function(){return _0x4647c5;};return a214_0x4a71();}
@@ -1 +1 @@
1
- function a215_0x1852(_0x43d7ce,_0x17740d){_0x43d7ce=_0x43d7ce-0x13f;const _0x1cfd32=a215_0x1cfd();let _0x1852d3=_0x1cfd32[_0x43d7ce];return _0x1852d3;}const a215_0xc85cd6=a215_0x1852;(function(_0x5ae9d5,_0x4c5576){const _0x40df32=a215_0x1852,_0x253c60=_0x5ae9d5();while(!![]){try{const _0x5154af=parseInt(_0x40df32(0x143))/0x1+parseInt(_0x40df32(0x14a))/0x2*(parseInt(_0x40df32(0x140))/0x3)+parseInt(_0x40df32(0x141))/0x4*(-parseInt(_0x40df32(0x147))/0x5)+parseInt(_0x40df32(0x145))/0x6+parseInt(_0x40df32(0x13f))/0x7+parseInt(_0x40df32(0x144))/0x8*(-parseInt(_0x40df32(0x146))/0x9)+-parseInt(_0x40df32(0x149))/0xa;if(_0x5154af===_0x4c5576)break;else _0x253c60['push'](_0x253c60['shift']());}catch(_0x33e15e){_0x253c60['push'](_0x253c60['shift']());}}}(a215_0x1cfd,0xf1b14));export const VERSION=a215_0xc85cd6(0x142);export const GIT_TAG=a215_0xc85cd6(0x14c);export const GIT_COMMIT=a215_0xc85cd6(0x14b);export const BUILD_TIME=a215_0xc85cd6(0x148);function a215_0x1cfd(){const _0x18331f=['27udWxBw','674010bJejcl','2026-07-28T07:35:50.525Z','22662440IiEWbi','2859368fEQfxn','a67c145','v2.3.8-beta.1','9117346hGZxQq','3puTBbk','40pVohjr','2.3.8-beta.1','626858hKSsHO','482984acgkdi','8558010LHHQtK'];a215_0x1cfd=function(){return _0x18331f;};return a215_0x1cfd();}
1
+ const a215_0x23feaa=a215_0x5d83;(function(_0x1fcbe4,_0xf6fa86){const _0x1af449=a215_0x5d83,_0x29996f=_0x1fcbe4();while(!![]){try{const _0xf5cfb8=-parseInt(_0x1af449(0x16d))/0x1*(-parseInt(_0x1af449(0x172))/0x2)+-parseInt(_0x1af449(0x177))/0x3+-parseInt(_0x1af449(0x174))/0x4+parseInt(_0x1af449(0x16f))/0x5+-parseInt(_0x1af449(0x16e))/0x6*(-parseInt(_0x1af449(0x173))/0x7)+-parseInt(_0x1af449(0x178))/0x8*(parseInt(_0x1af449(0x171))/0x9)+parseInt(_0x1af449(0x16c))/0xa;if(_0xf5cfb8===_0xf6fa86)break;else _0x29996f['push'](_0x29996f['shift']());}catch(_0x3efedb){_0x29996f['push'](_0x29996f['shift']());}}}(a215_0x565f,0x53ff4));export const VERSION=a215_0x23feaa(0x170);export const GIT_TAG=a215_0x23feaa(0x175);export const GIT_COMMIT=a215_0x23feaa(0x176);export const BUILD_TIME='2026-07-28T12:08:54.496Z';function a215_0x5d83(_0x5ec9ab,_0x2417bf){_0x5ec9ab=_0x5ec9ab-0x16c;const _0x565f8d=a215_0x565f();let _0x5d8356=_0x565f8d[_0x5ec9ab];return _0x5d8356;}function a215_0x565f(){const _0x4ea8da=['951475FVKNBo','1390132mVyrkJ','v2.3.9-beta.1','3d3730d','745212XsUGfU','4176392QWDyiN','8606710yWGLvI','3Ptghdy','18KCvsLr','631825NTzxwQ','2.3.9-beta.1','9IdimGs','44818mVjuAI'];a215_0x565f=function(){return _0x4ea8da;};return a215_0x565f();}
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- (function(_0x37c1cf,_0x4ff08a){var _0x3b7b2f=a216_0x4362,_0x1d31b5=_0x37c1cf();while(!![]){try{var _0x4bee92=-parseInt(_0x3b7b2f(0xe2))/0x1+-parseInt(_0x3b7b2f(0xd5))/0x2*(-parseInt(_0x3b7b2f(0xd6))/0x3)+-parseInt(_0x3b7b2f(0xdc))/0x4+parseInt(_0x3b7b2f(0xe3))/0x5+parseInt(_0x3b7b2f(0xdf))/0x6+parseInt(_0x3b7b2f(0xd7))/0x7*(parseInt(_0x3b7b2f(0xe0))/0x8)+-parseInt(_0x3b7b2f(0xda))/0x9;if(_0x4bee92===_0x4ff08a)break;else _0x1d31b5['push'](_0x1d31b5['shift']());}catch(_0x1813fa){_0x1d31b5['push'](_0x1d31b5['shift']());}}}(a216_0x1729,0x82d75));function a216_0x4362(_0x484ce2,_0x53cfc4){_0x484ce2=_0x484ce2-0xd5;var _0x1729a4=a216_0x1729();var _0x436205=_0x1729a4[_0x484ce2];return _0x436205;}import a216_0x279f2f from'chalk';function a216_0x1729(){var _0x5c9a72=['3542204CyQlTi','log','\x20--help','4402668KiSwAq','6760usBkzS','\x20to\x20view\x20available\x20commands.','141344nbyqGS','4457985Ihcazg','54nJsCCV','34437JqGIjy','14tYsQqT','bold','green','3367602WUnNwz','\x20\x20Use\x20'];a216_0x1729=function(){return _0x5c9a72;};return a216_0x1729();}import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0x90a435=a216_0x4362;console['log'](),console[_0x90a435(0xdd)](a216_0x279f2f[_0x90a435(0xd9)][_0x90a435(0xd8)]('\x20\x20'+CLI_DISPLAY_NAME)),console['log'](),console[_0x90a435(0xdd)](_0x90a435(0xdb)+a216_0x279f2f['green']['bold'](CLI_BIN_NAME+_0x90a435(0xde))+_0x90a435(0xe1)),console[_0x90a435(0xdd)]();}
1
+ (function(_0x252a25,_0x8eedf3){var _0x59dace=a216_0x4865,_0x19c1bf=_0x252a25();while(!![]){try{var _0x4c3a2a=-parseInt(_0x59dace(0x1d7))/0x1+parseInt(_0x59dace(0x1d1))/0x2+-parseInt(_0x59dace(0x1d5))/0x3+-parseInt(_0x59dace(0x1dc))/0x4*(-parseInt(_0x59dace(0x1d2))/0x5)+-parseInt(_0x59dace(0x1d0))/0x6*(parseInt(_0x59dace(0x1d8))/0x7)+parseInt(_0x59dace(0x1d3))/0x8+-parseInt(_0x59dace(0x1dd))/0x9;if(_0x4c3a2a===_0x8eedf3)break;else _0x19c1bf['push'](_0x19c1bf['shift']());}catch(_0x1061a6){_0x19c1bf['push'](_0x19c1bf['shift']());}}}(a216_0x573d,0x61544));import a216_0x70ccee from'chalk';function a216_0x4865(_0x3e674d,_0x384730){_0x3e674d=_0x3e674d-0x1d0;var _0x573d7b=a216_0x573d();var _0x4865ed=_0x573d7b[_0x3e674d];return _0x4865ed;}function a216_0x573d(){var _0x1c95bd=['105rFQSqb','5682632KxLmXC','bold','142068lptpPA','green','269452wDPsQJ','2758hllvIi','\x20--help','\x20\x20Use\x20','log','98968pnfOnk','10098144TSWeUI','1758wwxBdF','1446030AswLeX'];a216_0x573d=function(){return _0x1c95bd;};return a216_0x573d();}import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0x25ec85=a216_0x4865;console[_0x25ec85(0x1db)](),console[_0x25ec85(0x1db)](a216_0x70ccee[_0x25ec85(0x1d6)][_0x25ec85(0x1d4)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x25ec85(0x1db)](),console[_0x25ec85(0x1db)](_0x25ec85(0x1da)+a216_0x70ccee['green'][_0x25ec85(0x1d4)](CLI_BIN_NAME+_0x25ec85(0x1d9))+'\x20to\x20view\x20available\x20commands.'),console[_0x25ec85(0x1db)]();}
@@ -1 +1 @@
1
- (function(_0xb7ccd1,_0x45d1de){const _0x13364d=a217_0x3854,_0x4a3914=_0xb7ccd1();while(!![]){try{const _0x21c9b4=parseInt(_0x13364d(0x196))/0x1+parseInt(_0x13364d(0x19a))/0x2*(-parseInt(_0x13364d(0x17d))/0x3)+-parseInt(_0x13364d(0x191))/0x4*(-parseInt(_0x13364d(0x18b))/0x5)+-parseInt(_0x13364d(0x192))/0x6*(-parseInt(_0x13364d(0x185))/0x7)+-parseInt(_0x13364d(0x18e))/0x8*(-parseInt(_0x13364d(0x186))/0x9)+-parseInt(_0x13364d(0x199))/0xa*(-parseInt(_0x13364d(0x180))/0xb)+-parseInt(_0x13364d(0x184))/0xc;if(_0x21c9b4===_0x45d1de)break;else _0x4a3914['push'](_0x4a3914['shift']());}catch(_0x5901dd){_0x4a3914['push'](_0x4a3914['shift']());}}}(a217_0x53b6,0x87deb));import{logger}from'../utils/logger.js';import{CLI_BIN_NAME}from'../constant/cli.js';function a217_0x53b6(){const _0x28867d=['replace','entries','263385lUKmwO','\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill','from','192QXzzAj','dangerously-bff-save','-$1','72ECOanv','137628XBTqFe','enable-bff-save','length','add','247441oRtoBP','log','setLogPath','30tibhgq','2AiYJMb','error','has','argv','exit','cwd','Equivalent\x20command:\x20','\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/rabetbase/guides/.\x0a','toLowerCase','includes','\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','slice','600294rKQjEi','push','\x0aAvailable\x20commands:','142505nbYbmO','不支持的命令:\x20','skill','\x20cli-skill\x20install\x0a\x0aEquivalent\x20command:\x20','19792236veeGKc','147lceaGW','258669xoLRNU','(empty)','--help'];a217_0x53b6=function(){return _0x28867d;};return a217_0x53b6();}import{NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE}from'../skills/npx-skills-add.js';export function camelCaseFlagsToKebab(_0x54a51e){const _0x4dfda3=a217_0x3854,_0x3a8272=[];for(const [_0x169dfb,_0x5b232a]of Object[_0x4dfda3(0x18a)](_0x54a51e)){if(_0x5b232a===!![]){const _0x26cb46=_0x169dfb[_0x4dfda3(0x189)](/([A-Z])/g,_0x4dfda3(0x190))[_0x4dfda3(0x179)]();_0x3a8272[_0x4dfda3(0x17e)](_0x26cb46);}}return _0x3a8272;}export function parseDynamicFlags(){const _0x478948=a217_0x3854,_0x31089b=[];for(let _0x2a2375=0x3;_0x2a2375<process['argv'][_0x478948(0x194)];_0x2a2375++){const _0x213006=process[_0x478948(0x19d)][_0x2a2375];if(_0x213006&&_0x213006['startsWith']('--')){const _0x15fb20=_0x213006[_0x478948(0x17c)](0x2);_0x15fb20&&!_0x15fb20[_0x478948(0x17a)]('=')&&_0x31089b[_0x478948(0x17e)](_0x15fb20);}}return _0x31089b;}export function getAllProvidedFlags(_0xdff31d){const _0x4bdb22=a217_0x3854,_0x3c650e=camelCaseFlagsToKebab(_0xdff31d),_0x3e13e5=parseDynamicFlags(),_0x2144fa=new Set([..._0x3c650e,..._0x3e13e5]);return Array[_0x4bdb22(0x18d)](_0x2144fa);}export function normalizeLegacyBffSaveFlags(_0x1d54ee){const _0x41e266=a217_0x3854,_0xfd30dd=new Set(_0x1d54ee);return _0xfd30dd[_0x41e266(0x19c)](_0x41e266(0x18f))&&_0xfd30dd[_0x41e266(0x195)](_0x41e266(0x193)),Array[_0x41e266(0x18d)](_0xfd30dd);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;function a217_0x3854(_0x3ea021,_0x48c85b){_0x3ea021=_0x3ea021-0x178;const _0x53b6ad=a217_0x53b6();let _0x385461=_0x53b6ad[_0x3ea021];return _0x385461;}export async function skillsCommand(_0x24fb10,_0x2b5c91,_0xdf852b){const _0xbc0345=a217_0x3854;logger[_0xbc0345(0x198)](process[_0xbc0345(0x19f)]());if(_0xdf852b?.['help']||_0x24fb10===_0xbc0345(0x188)){showHelp();return;}console[_0xbc0345(0x19b)]('Error:\x20Unsupported\x20command:\x20'+(_0x24fb10||_0xbc0345(0x187))),console[_0xbc0345(0x197)](_0xbc0345(0x17f)),console[_0xbc0345(0x197)]('\x20\x20'+CLI_BIN_NAME+_0xbc0345(0x18c)),console['log'](''),console['log'](_0xbc0345(0x1a0)+SKILLS_INSTALL_COMMAND_LINE),logger[_0xbc0345(0x19b)](_0xbc0345(0x182),_0xbc0345(0x181)+_0x24fb10),process[_0xbc0345(0x19e)](0x1);}function showHelp(){const _0x198102=a217_0x3854;console[_0x198102(0x197)](_0x198102(0x17b)+CLI_BIN_NAME+_0x198102(0x183)+SKILLS_INSTALL_COMMAND_LINE+_0x198102(0x178));}
1
+ (function(_0x1d4540,_0x54cd30){const _0x1f3f62=a217_0xb0e8,_0x167801=_0x1d4540();while(!![]){try{const _0x4e833c=-parseInt(_0x1f3f62(0x102))/0x1+-parseInt(_0x1f3f62(0x121))/0x2*(-parseInt(_0x1f3f62(0x10c))/0x3)+parseInt(_0x1f3f62(0x117))/0x4*(parseInt(_0x1f3f62(0x11c))/0x5)+parseInt(_0x1f3f62(0x120))/0x6*(-parseInt(_0x1f3f62(0x113))/0x7)+parseInt(_0x1f3f62(0xfc))/0x8*(-parseInt(_0x1f3f62(0x11f))/0x9)+parseInt(_0x1f3f62(0x11a))/0xa+-parseInt(_0x1f3f62(0x109))/0xb*(parseInt(_0x1f3f62(0x112))/0xc);if(_0x4e833c===_0x54cd30)break;else _0x167801['push'](_0x167801['shift']());}catch(_0x262984){_0x167801['push'](_0x167801['shift']());}}}(a217_0x531e,0xbd0b4));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 a217_0xb0e8(_0x532c69,_0x53d191){_0x532c69=_0x532c69-0xf9;const _0x531e2f=a217_0x531e();let _0xb0e8d1=_0x531e2f[_0x532c69];return _0xb0e8d1;}export function camelCaseFlagsToKebab(_0x409039){const _0x5f319e=a217_0xb0e8,_0x3a14c6=[];for(const [_0x1625f2,_0x6ad198]of Object[_0x5f319e(0x114)](_0x409039)){if(_0x6ad198===!![]){const _0x4eca04=_0x1625f2[_0x5f319e(0xfb)](/([A-Z])/g,_0x5f319e(0x11d))[_0x5f319e(0x104)]();_0x3a14c6[_0x5f319e(0x10d)](_0x4eca04);}}return _0x3a14c6;}export function parseDynamicFlags(){const _0x35621a=a217_0xb0e8,_0x2b7c90=[];for(let _0x3a187e=0x3;_0x3a187e<process[_0x35621a(0x10e)]['length'];_0x3a187e++){const _0xc361b4=process[_0x35621a(0x10e)][_0x3a187e];if(_0xc361b4&&_0xc361b4[_0x35621a(0x110)]('--')){const _0xa94abb=_0xc361b4[_0x35621a(0xff)](0x2);_0xa94abb&&!_0xa94abb['includes']('=')&&_0x2b7c90[_0x35621a(0x10d)](_0xa94abb);}}return _0x2b7c90;}export function getAllProvidedFlags(_0x2df8a0){const _0x2acd1e=camelCaseFlagsToKebab(_0x2df8a0),_0x59cfdd=parseDynamicFlags(),_0x5529cd=new Set([..._0x2acd1e,..._0x59cfdd]);return Array['from'](_0x5529cd);}function a217_0x531e(){const _0x52353f=['startsWith','dangerously-bff-save','1188QgDnHy','33285zMRbOo','entries','add','\x0aAvailable\x20commands:','8JesXtU','has','Equivalent\x20command:\x20','6807140mXQcwm','setLogPath','653885zWYEFH','-$1','cwd','23643CPjvwn','252oRqups','2vqgZcK','skill','\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','replace','904bBRQld','from','不支持的命令:\x20','slice','--help','(empty)','253837hFkUZA','error','toLowerCase','exit','\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill','enable-bff-save','\x20cli-skill\x20install\x0a\x0aEquivalent\x20command:\x20','67573qqjXaN','log','help','3571833BuiYYs','push','argv','Error:\x20Unsupported\x20command:\x20'];a217_0x531e=function(){return _0x52353f;};return a217_0x531e();}export function normalizeLegacyBffSaveFlags(_0x1e8483){const _0x3baa71=a217_0xb0e8,_0x399d36=new Set(_0x1e8483);return _0x399d36[_0x3baa71(0x118)](_0x3baa71(0x111))&&_0x399d36[_0x3baa71(0x115)](_0x3baa71(0x107)),Array[_0x3baa71(0xfd)](_0x399d36);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;export async function skillsCommand(_0x2d293b,_0xe0da00,_0x372c93){const _0x520b0d=a217_0xb0e8;logger[_0x520b0d(0x11b)](process[_0x520b0d(0x11e)]());if(_0x372c93?.[_0x520b0d(0x10b)]||_0x2d293b===_0x520b0d(0x100)){showHelp();return;}console[_0x520b0d(0x103)](_0x520b0d(0x10f)+(_0x2d293b||_0x520b0d(0x101))),console[_0x520b0d(0x10a)](_0x520b0d(0x116)),console[_0x520b0d(0x10a)]('\x20\x20'+CLI_BIN_NAME+_0x520b0d(0x106)),console[_0x520b0d(0x10a)](''),console[_0x520b0d(0x10a)](_0x520b0d(0x119)+SKILLS_INSTALL_COMMAND_LINE),logger[_0x520b0d(0x103)](_0x520b0d(0xf9),_0x520b0d(0xfe)+_0x2d293b),process[_0x520b0d(0x105)](0x1);}function showHelp(){const _0x1ab60f=a217_0xb0e8;console[_0x1ab60f(0x10a)](_0x1ab60f(0xfa)+CLI_BIN_NAME+_0x1ab60f(0x108)+SKILLS_INSTALL_COMMAND_LINE+'\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/rabetbase/guides/.\x0a');}
@@ -1 +1 @@
1
- const a218_0x295062=a218_0x1ee7;(function(_0x1511f9,_0x2f1b2f){const _0x526f01=a218_0x1ee7,_0x441440=_0x1511f9();while(!![]){try{const _0x26f2f1=parseInt(_0x526f01(0xd1))/0x1+-parseInt(_0x526f01(0xcf))/0x2*(parseInt(_0x526f01(0xda))/0x3)+-parseInt(_0x526f01(0xca))/0x4*(-parseInt(_0x526f01(0xd6))/0x5)+-parseInt(_0x526f01(0xc5))/0x6*(-parseInt(_0x526f01(0xc6))/0x7)+-parseInt(_0x526f01(0xcb))/0x8*(-parseInt(_0x526f01(0xc3))/0x9)+parseInt(_0x526f01(0xce))/0xa*(parseInt(_0x526f01(0xdf))/0xb)+-parseInt(_0x526f01(0xd2))/0xc;if(_0x26f2f1===_0x2f1b2f)break;else _0x441440['push'](_0x441440['shift']());}catch(_0x30dc0b){_0x441440['push'](_0x441440['shift']());}}}(a218_0x3628,0xe2d2f));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';export const NPX_FLAG_YES='-y';function a218_0x1ee7(_0x4ba25b,_0x2d83fd){_0x4ba25b=_0x4ba25b-0xc3;const _0x362803=a218_0x3628();let _0x1ee772=_0x362803[_0x4ba25b];return _0x1ee772;}export const SKILLS_FLAG_GLOBAL='-g';export const SKILLS_FLAG_YES='-y';function a218_0x3628(){const _0x271aa7=['pipe','28SdJgzR','3438544OYrLOE','stdout','remove','20BZenDO','97346kHJaAO','add','1829683AZxxyt','56666112FjKyup','trim','log','skills','1246555aresmr','inherit','toString','status','81KLQxEh','Lovrabet','unknown','npx','exit\x20','9265036zpEhmN','push','skill','18FLIufO','stderr','44940VZAgfx','791ThJPYr','join','lovrabet/rabetbase'];a218_0x3628=function(){return _0x271aa7;};return a218_0x3628();}export const NPX_SKILLS_CLI=a218_0x295062(0xd5);export const NPX_SKILLS_SUBCOMMAND_ADD=a218_0x295062(0xd0);export const NPX_SKILLS_FLAG_SKILL='--skill';export const RABETBASE_SKILL_SOURCE=a218_0x295062(0xc8);export const LEGACY_RABETBASE_SKILL_SOURCE='lovrabet/lovrabet-skill';export const DEFAULT_RABETBASE_SKILL_NAME=a218_0x295062(0xdb);export function buildNpxSkillsAddArgv(_0x57c21e){const _0x300946=a218_0x295062,_0x5cfb93=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE];return _0x57c21e&&_0x5cfb93[_0x300946(0xe0)](NPX_SKILLS_FLAG_SKILL,_0x57c21e),_0x5cfb93;}export const NPX_SKILLS_ADD_COMMAND_LINE=[a218_0x295062(0xdd),...buildNpxSkillsAddArgv()]['join']('\x20');export const NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE=[a218_0x295062(0xdd),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][a218_0x295062(0xc7)]('\x20');export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0x3dbebc,_0x12f0a8){const _0x194ab3=a218_0x295062;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x4446f5=_0x12f0a8?.['stdio']??'inherit',_0x4866f9=resolveNpmBin(_0x194ab3(0xdd)),_0x32fe11=buildNpxSkillsAddArgv(_0x12f0a8?.['skill']),_0x1363c5=['npx',..._0x32fe11]['join']('\x20');console['log']('*\x20'+_0x1363c5);const _0x507d7a=spawnSync(_0x4866f9,_0x32fe11,{'cwd':_0x3dbebc,'stdio':_0x4446f5,'env':process.env,'shell':![]}),_0x4b583f=_0x507d7a[_0x194ab3(0xd9)];if(_0x4b583f===0x0)return{'ok':!![],'status':0x0};let _0x1e6295=_0x194ab3(0xde)+(_0x4b583f??_0x194ab3(0xdc));if(_0x4446f5==='pipe'){const _0x12042a=_0x507d7a[_0x194ab3(0xc4)]?_0x507d7a[_0x194ab3(0xc4)][_0x194ab3(0xd8)]()[_0x194ab3(0xd3)]():'',_0x49b711=_0x507d7a[_0x194ab3(0xcc)]?_0x507d7a['stdout'][_0x194ab3(0xd8)]()[_0x194ab3(0xd3)]():'';if(_0x12042a)_0x1e6295=_0x12042a;else{if(_0x49b711)_0x1e6295=_0x49b711;}}return{'ok':![],'status':_0x4b583f??null,'error':_0x1e6295};}export function runNpxSkillsRemove(_0x53aecd,_0x1453e6,_0x479059=LEGACY_RABETBASE_SKILL_SOURCE){const _0x20d67e=a218_0x295062;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x3acf45=_0x1453e6?.['stdio']??'inherit',_0x1ab58a=resolveNpmBin(_0x20d67e(0xdd)),_0x270bda=[NPX_FLAG_YES,NPX_SKILLS_CLI,_0x20d67e(0xcd),_0x479059,NPX_SKILLS_FLAG_SKILL,_0x1453e6?.[_0x20d67e(0xe1)]??DEFAULT_RABETBASE_SKILL_NAME,..._0x1453e6?.['yes']?['-y']:[]],_0x1c8646=[_0x1ab58a,..._0x270bda][_0x20d67e(0xc7)]('\x20');console['log']('*\x20'+_0x1c8646);const _0xabea7a=spawnSync(_0x1ab58a,_0x270bda,{'cwd':_0x53aecd,'stdio':_0x3acf45,'env':process.env,'shell':![]}),_0x2974ca=_0xabea7a[_0x20d67e(0xd9)];if(_0x2974ca===0x0)return{'ok':!![],'status':0x0};let _0x20de5e=_0x20d67e(0xde)+(_0x2974ca??'unknown');if(_0x3acf45===_0x20d67e(0xc9)){const _0x5bb143=_0xabea7a[_0x20d67e(0xc4)]?_0xabea7a[_0x20d67e(0xc4)]['toString']()['trim']():'',_0x3e7f50=_0xabea7a[_0x20d67e(0xcc)]?_0xabea7a[_0x20d67e(0xcc)][_0x20d67e(0xd8)]()[_0x20d67e(0xd3)]():'';if(_0x5bb143)_0x20de5e=_0x5bb143;else{if(_0x3e7f50)_0x20de5e=_0x3e7f50;}}return{'ok':![],'status':_0x2974ca??null,'error':_0x20de5e};}export function runNpxSkillsAddGlobal(_0x4066ce,_0x119238,_0xdc98c6){const _0xb91f80=a218_0x295062;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x17be27=_0xdc98c6?.['stdio']??_0xb91f80(0xd7),_0x112643=resolveNpmBin(_0xb91f80(0xdd)),_0x45ffbf=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x119238,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES],_0x34ab10=[_0xb91f80(0xdd),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x119238,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][_0xb91f80(0xc7)]('\x20');console[_0xb91f80(0xd4)]('*\x20'+_0x34ab10);const _0x3cf680=spawnSync(_0x112643,_0x45ffbf,{'cwd':_0x4066ce,'stdio':_0x17be27,'env':process.env,'shell':![]}),_0x2ca3e5=_0x3cf680['status'];if(_0x2ca3e5===0x0)return{'ok':!![],'status':0x0};let _0x3ed8b8=_0xb91f80(0xde)+(_0x2ca3e5??_0xb91f80(0xdc));if(_0x17be27===_0xb91f80(0xc9)){const _0xdf028=_0x3cf680[_0xb91f80(0xc4)]?_0x3cf680[_0xb91f80(0xc4)][_0xb91f80(0xd8)]()[_0xb91f80(0xd3)]():'',_0xd585f8=_0x3cf680[_0xb91f80(0xcc)]?_0x3cf680[_0xb91f80(0xcc)][_0xb91f80(0xd8)]()[_0xb91f80(0xd3)]():'';if(_0xdf028)_0x3ed8b8=_0xdf028;else{if(_0xd585f8)_0x3ed8b8=_0xd585f8;}}return{'ok':![],'status':_0x2ca3e5??null,'error':_0x3ed8b8};}
1
+ const a218_0x4207a4=a218_0x3cb5;(function(_0x4d0a3a,_0xe3cca6){const _0x472af4=a218_0x3cb5,_0x506576=_0x4d0a3a();while(!![]){try{const _0x20ad1c=-parseInt(_0x472af4(0x18c))/0x1*(-parseInt(_0x472af4(0x18d))/0x2)+-parseInt(_0x472af4(0x17b))/0x3+-parseInt(_0x472af4(0x184))/0x4+parseInt(_0x472af4(0x18e))/0x5+parseInt(_0x472af4(0x179))/0x6*(-parseInt(_0x472af4(0x190))/0x7)+-parseInt(_0x472af4(0x17a))/0x8*(-parseInt(_0x472af4(0x189))/0x9)+parseInt(_0x472af4(0x185))/0xa*(parseInt(_0x472af4(0x17d))/0xb);if(_0x20ad1c===_0xe3cca6)break;else _0x506576['push'](_0x506576['shift']());}catch(_0x1fd37d){_0x506576['push'](_0x506576['shift']());}}}(a218_0xb2b3,0xf281c));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';export const NPX_FLAG_YES='-y';export const SKILLS_FLAG_GLOBAL='-g';export const SKILLS_FLAG_YES='-y';export const NPX_SKILLS_CLI='skills';export const NPX_SKILLS_SUBCOMMAND_ADD=a218_0x4207a4(0x191);function a218_0x3cb5(_0x2e7801,_0x11a7d3){_0x2e7801=_0x2e7801-0x176;const _0xb2b3e6=a218_0xb2b3();let _0x3cb5c7=_0xb2b3e6[_0x2e7801];return _0x3cb5c7;}export const NPX_SKILLS_FLAG_SKILL='--skill';export const RABETBASE_SKILL_SOURCE='lovrabet/rabetbase';export const LEGACY_RABETBASE_SKILL_SOURCE=a218_0x4207a4(0x18f);function a218_0xb2b3(){const _0x1938ce=['exit\x20','log','12Mofgdf','5320dLrtpc','926100yjSEDB','Lovrabet','22PMfuyu','pipe','stdio','npx','stdout','remove','inherit','5689996sHMtxA','6743490ikPXJO','skill','unknown','stderr','3123GHyyLo','join','toString','573771NgmzCr','2Tsybdh','2893505TwnhtH','lovrabet/lovrabet-skill','25963gaDxVu','add','trim'];a218_0xb2b3=function(){return _0x1938ce;};return a218_0xb2b3();}export const DEFAULT_RABETBASE_SKILL_NAME=a218_0x4207a4(0x17c);export function buildNpxSkillsAddArgv(_0x3c9ece){const _0x3762fd=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE];return _0x3c9ece&&_0x3762fd['push'](NPX_SKILLS_FLAG_SKILL,_0x3c9ece),_0x3762fd;}export const NPX_SKILLS_ADD_COMMAND_LINE=[a218_0x4207a4(0x180),...buildNpxSkillsAddArgv()][a218_0x4207a4(0x18a)]('\x20');export const NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE=[a218_0x4207a4(0x180),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][a218_0x4207a4(0x18a)]('\x20');export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0x915172,_0x5de1ab){const _0x3e8f3e=a218_0x4207a4;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x2291ef=_0x5de1ab?.['stdio']??_0x3e8f3e(0x183),_0x5a1318=resolveNpmBin(_0x3e8f3e(0x180)),_0x1b0774=buildNpxSkillsAddArgv(_0x5de1ab?.[_0x3e8f3e(0x186)]),_0x787f44=[_0x3e8f3e(0x180),..._0x1b0774]['join']('\x20');console[_0x3e8f3e(0x178)]('*\x20'+_0x787f44);const _0xef89ce=spawnSync(_0x5a1318,_0x1b0774,{'cwd':_0x915172,'stdio':_0x2291ef,'env':process.env,'shell':![]}),_0x1e27f3=_0xef89ce['status'];if(_0x1e27f3===0x0)return{'ok':!![],'status':0x0};let _0x5e29b2='exit\x20'+(_0x1e27f3??_0x3e8f3e(0x187));if(_0x2291ef==='pipe'){const _0x460665=_0xef89ce[_0x3e8f3e(0x188)]?_0xef89ce[_0x3e8f3e(0x188)][_0x3e8f3e(0x18b)]()['trim']():'',_0x300ecb=_0xef89ce['stdout']?_0xef89ce['stdout'][_0x3e8f3e(0x18b)]()[_0x3e8f3e(0x176)]():'';if(_0x460665)_0x5e29b2=_0x460665;else{if(_0x300ecb)_0x5e29b2=_0x300ecb;}}return{'ok':![],'status':_0x1e27f3??null,'error':_0x5e29b2};}export function runNpxSkillsRemove(_0x563cdc,_0x487356,_0x4102af=LEGACY_RABETBASE_SKILL_SOURCE){const _0x186538=a218_0x4207a4;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x57422c=_0x487356?.[_0x186538(0x17f)]??_0x186538(0x183),_0x3a1ff8=resolveNpmBin(_0x186538(0x180)),_0x3a4439=[NPX_FLAG_YES,NPX_SKILLS_CLI,_0x186538(0x182),_0x4102af,NPX_SKILLS_FLAG_SKILL,_0x487356?.['skill']??DEFAULT_RABETBASE_SKILL_NAME,..._0x487356?.['yes']?['-y']:[]],_0x197d42=[_0x3a1ff8,..._0x3a4439][_0x186538(0x18a)]('\x20');console['log']('*\x20'+_0x197d42);const _0x286b50=spawnSync(_0x3a1ff8,_0x3a4439,{'cwd':_0x563cdc,'stdio':_0x57422c,'env':process.env,'shell':![]}),_0x459106=_0x286b50['status'];if(_0x459106===0x0)return{'ok':!![],'status':0x0};let _0x18771b='exit\x20'+(_0x459106??_0x186538(0x187));if(_0x57422c===_0x186538(0x17e)){const _0x4f74c8=_0x286b50[_0x186538(0x188)]?_0x286b50[_0x186538(0x188)][_0x186538(0x18b)]()[_0x186538(0x176)]():'',_0xa86cb6=_0x286b50[_0x186538(0x181)]?_0x286b50[_0x186538(0x181)]['toString']()['trim']():'';if(_0x4f74c8)_0x18771b=_0x4f74c8;else{if(_0xa86cb6)_0x18771b=_0xa86cb6;}}return{'ok':![],'status':_0x459106??null,'error':_0x18771b};}export function runNpxSkillsAddGlobal(_0x19cb81,_0x4a7746,_0x139dff){const _0xb43d3b=a218_0x4207a4;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x584918=_0x139dff?.['stdio']??'inherit',_0x2b3738=resolveNpmBin('npx'),_0x531353=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x4a7746,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES],_0x58a9e7=[_0xb43d3b(0x180),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x4a7746,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][_0xb43d3b(0x18a)]('\x20');console[_0xb43d3b(0x178)]('*\x20'+_0x58a9e7);const _0x3f8962=spawnSync(_0x2b3738,_0x531353,{'cwd':_0x19cb81,'stdio':_0x584918,'env':process.env,'shell':![]}),_0x4ce406=_0x3f8962['status'];if(_0x4ce406===0x0)return{'ok':!![],'status':0x0};let _0x44ccec=_0xb43d3b(0x177)+(_0x4ce406??_0xb43d3b(0x187));if(_0x584918==='pipe'){const _0x393ab9=_0x3f8962[_0xb43d3b(0x188)]?_0x3f8962[_0xb43d3b(0x188)]['toString']()[_0xb43d3b(0x176)]():'',_0x1f1426=_0x3f8962['stdout']?_0x3f8962['stdout'][_0xb43d3b(0x18b)]()[_0xb43d3b(0x176)]():'';if(_0x393ab9)_0x44ccec=_0x393ab9;else{if(_0x1f1426)_0x44ccec=_0x1f1426;}}return{'ok':![],'status':_0x4ce406??null,'error':_0x44ccec};}
@@ -1 +1 @@
1
- function a219_0x3590(){const _0x214041=['2guOahg','entries','7QAFFCV','some','92404AAGape','error','rabetbase.command','3404421qupBhQ','30ivopjU','20922050bjonZH','6612048TrFHyw','3459760qMIjCS','durationMs','stringify','flags','87226yKWUda','1196418rZMgrD','[REDACTED]','test'];a219_0x3590=function(){return _0x214041;};return a219_0x3590();}(function(_0x2a5b1f,_0x5e2f0b){const _0x25f978=a219_0x112d,_0x2fe047=_0x2a5b1f();while(!![]){try{const _0x280500=parseInt(_0x25f978(0x1e1))/0x1*(parseInt(_0x25f978(0x1e5))/0x2)+parseInt(_0x25f978(0x1ec))/0x3+-parseInt(_0x25f978(0x1e9))/0x4*(-parseInt(_0x25f978(0x1ed))/0x5)+parseInt(_0x25f978(0x1e2))/0x6*(parseInt(_0x25f978(0x1e7))/0x7)+parseInt(_0x25f978(0x1dd))/0x8+parseInt(_0x25f978(0x1dc))/0x9+-parseInt(_0x25f978(0x1ee))/0xa;if(_0x280500===_0x5e2f0b)break;else _0x2fe047['push'](_0x2fe047['shift']());}catch(_0x314071){_0x2fe047['push'](_0x2fe047['shift']());}}}(a219_0x3590,0x9b063));function a219_0x112d(_0x35bd3f,_0x2dffb2){_0x35bd3f=_0x35bd3f-0x1dc;const _0x3590d5=a219_0x3590();let _0x112d71=_0x3590d5[_0x35bd3f];return _0x112d71;}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(_0x41221d){const _0x1a7c93=a219_0x112d;return SENSITIVE_PATTERNS[_0x1a7c93(0x1e8)](_0x3ce340=>_0x3ce340[_0x1a7c93(0x1e4)](_0x41221d));}function sanitizeFlags(_0x14ac54){const _0xf98dd4=a219_0x112d,_0x37ea6f={};for(const [_0x4d6e1d,_0x1fbf4c]of Object[_0xf98dd4(0x1e6)](_0x14ac54)){isSensitiveKey(_0x4d6e1d)?_0x37ea6f[_0x4d6e1d]=_0x1fbf4c!=null&&_0x1fbf4c!==''?_0xf98dd4(0x1e3):_0x1fbf4c:_0x37ea6f[_0x4d6e1d]=_0x1fbf4c;}return _0x37ea6f;}export async function reportCommandTrace(_0x5311f0){const _0x57be95=a219_0x112d;try{const _0x5545f1=sanitizeFlags(_0x5311f0[_0x57be95(0x1e0)]);await sendCliTraceLog({'spanName':_0x57be95(0x1eb),'logData':{'command.cli_version':getCliVersion(),'command.service':_0x5311f0['service'],'command.name':_0x5311f0['command'],'command.flags':JSON[_0x57be95(0x1df)](_0x5545f1),..._0x5311f0[_0x57be95(0x1de)]!=null?{'command.duration_ms':_0x5311f0[_0x57be95(0x1de)]}:{},..._0x5311f0[_0x57be95(0x1ea)]?{'command.error':_0x5311f0['error']instanceof Error?_0x5311f0[_0x57be95(0x1ea)]['message']:String(_0x5311f0[_0x57be95(0x1ea)])}:{}}});}catch{}}
1
+ (function(_0x2905a8,_0x39be9a){const _0x5bb9c9=a219_0x423b,_0x90e38c=_0x2905a8();while(!![]){try{const _0x19264a=-parseInt(_0x5bb9c9(0x110))/0x1*(-parseInt(_0x5bb9c9(0x11b))/0x2)+parseInt(_0x5bb9c9(0x11c))/0x3+parseInt(_0x5bb9c9(0x10f))/0x4+parseInt(_0x5bb9c9(0x10e))/0x5+parseInt(_0x5bb9c9(0x120))/0x6+-parseInt(_0x5bb9c9(0x114))/0x7*(parseInt(_0x5bb9c9(0x11a))/0x8)+-parseInt(_0x5bb9c9(0x11d))/0x9;if(_0x19264a===_0x39be9a)break;else _0x90e38c['push'](_0x90e38c['shift']());}catch(_0x4ab7cd){_0x90e38c['push'](_0x90e38c['shift']());}}}(a219_0x1add,0x356d5));function a219_0x423b(_0x40a2c2,_0x45edb1){_0x40a2c2=_0x40a2c2-0x10d;const _0x1addc7=a219_0x1add();let _0x423b1c=_0x1addc7[_0x40a2c2];return _0x423b1c;}function a219_0x1add(){const _0x58ab0a=['[REDACTED]','service','stringify','error','53008JJjSrJ','2hDceUL','208482xOLBkR','2766924sFhOqc','message','some','275652rdSHgX','flags','durationMs','2171135UtmItu','845512Gdapzo','3768IBZAzh','entries','rabetbase.command','command','252gmHLjn','test'];a219_0x1add=function(){return _0x58ab0a;};return a219_0x1add();}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(_0x44f915){const _0x34a1fc=a219_0x423b;return SENSITIVE_PATTERNS[_0x34a1fc(0x11f)](_0x1acd05=>_0x1acd05[_0x34a1fc(0x115)](_0x44f915));}function sanitizeFlags(_0xb714e0){const _0x5d7273=a219_0x423b,_0xd35b87={};for(const [_0x1ab723,_0x3e588f]of Object[_0x5d7273(0x111)](_0xb714e0)){isSensitiveKey(_0x1ab723)?_0xd35b87[_0x1ab723]=_0x3e588f!=null&&_0x3e588f!==''?_0x5d7273(0x116):_0x3e588f:_0xd35b87[_0x1ab723]=_0x3e588f;}return _0xd35b87;}export async function reportCommandTrace(_0x2ab2d1){const _0x2e3dcd=a219_0x423b;try{const _0x177886=sanitizeFlags(_0x2ab2d1[_0x2e3dcd(0x121)]);await sendCliTraceLog({'spanName':_0x2e3dcd(0x112),'logData':{'command.cli_version':getCliVersion(),'command.service':_0x2ab2d1[_0x2e3dcd(0x117)],'command.name':_0x2ab2d1[_0x2e3dcd(0x113)],'command.flags':JSON[_0x2e3dcd(0x118)](_0x177886),..._0x2ab2d1[_0x2e3dcd(0x10d)]!=null?{'command.duration_ms':_0x2ab2d1[_0x2e3dcd(0x10d)]}:{},..._0x2ab2d1['error']?{'command.error':_0x2ab2d1[_0x2e3dcd(0x119)]instanceof Error?_0x2ab2d1[_0x2e3dcd(0x119)][_0x2e3dcd(0x11e)]:String(_0x2ab2d1[_0x2e3dcd(0x119)])}:{}}});}catch{}}
@@ -1 +1 @@
1
- (function(_0x297cf4,_0x425ce4){var _0x531f61=a220_0x1a6f,_0x3c8cc1=_0x297cf4();while(!![]){try{var _0x18079f=parseInt(_0x531f61(0x12e))/0x1+-parseInt(_0x531f61(0x127))/0x2+parseInt(_0x531f61(0x12c))/0x3+parseInt(_0x531f61(0x130))/0x4*(-parseInt(_0x531f61(0x131))/0x5)+-parseInt(_0x531f61(0x129))/0x6+parseInt(_0x531f61(0x12d))/0x7*(parseInt(_0x531f61(0x12f))/0x8)+parseInt(_0x531f61(0x12b))/0x9;if(_0x18079f===_0x425ce4)break;else _0x3c8cc1['push'](_0x3c8cc1['shift']());}catch(_0x3b60f6){_0x3c8cc1['push'](_0x3c8cc1['shift']());}}}(a220_0x2b30,0x47cdf));function a220_0x1a6f(_0x3d2178,_0x37dbf7){_0x3d2178=_0x3d2178-0x127;var _0x2b30ee=a220_0x2b30();var _0x1a6f34=_0x2b30ee[_0x3d2178];return _0x1a6f34;}import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export async function reportCliHelpTrace(_0x313e7a,_0x29c50e){var _0x45a4b6=a220_0x1a6f;try{await sendCliTraceLog({'spanName':_0x45a4b6(0x12a),'logData':{'rabetbase.help.kind':_0x313e7a,..._0x29c50e?.[_0x45a4b6(0x128)]&&{'rabetbase.help.service':_0x29c50e['service']}}});}catch(_0x5e869d){console[_0x45a4b6(0x132)](_0x45a4b6(0x133),_0x5e869d);}}function a220_0x2b30(){var _0xd82d11=['95qqlVXk','error','Failed\x20to\x20report\x20CLI\x20help\x20trace:','201044YvMOEh','service','1690134vGQGlM','cli.help','4264389lihdCe','1232730BMawOZ','770ttExcR','280034cTKUVN','3592rjQUHE','113228bbWmhd'];a220_0x2b30=function(){return _0xd82d11;};return a220_0x2b30();}
1
+ (function(_0x41bb26,_0x530017){var _0x19d418=a220_0x48c6,_0x3a8050=_0x41bb26();while(!![]){try{var _0x5c5fd3=-parseInt(_0x19d418(0xeb))/0x1*(parseInt(_0x19d418(0xea))/0x2)+parseInt(_0x19d418(0xe8))/0x3+parseInt(_0x19d418(0xe2))/0x4+-parseInt(_0x19d418(0xe6))/0x5+-parseInt(_0x19d418(0xe7))/0x6+parseInt(_0x19d418(0xe4))/0x7+parseInt(_0x19d418(0xe9))/0x8*(parseInt(_0x19d418(0xe3))/0x9);if(_0x5c5fd3===_0x530017)break;else _0x3a8050['push'](_0x3a8050['shift']());}catch(_0x40419f){_0x3a8050['push'](_0x3a8050['shift']());}}}(a220_0x3cb8,0x37d76));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';function a220_0x48c6(_0x27614f,_0x4e0ef0){_0x27614f=_0x27614f-0xe1;var _0x3cb8b8=a220_0x3cb8();var _0x48c6b2=_0x3cb8b8[_0x27614f];return _0x48c6b2;}function a220_0x3cb8(){var _0x15f0b8=['1573164ziEQvZ','793506coIShc','8uUaFmk','2YJjASB','385401SyZGlO','cli.help','945340gnwUFx','1491417kkLwHo','1847741lTxrEB','service','270960pWIlva'];a220_0x3cb8=function(){return _0x15f0b8;};return a220_0x3cb8();}export async function reportCliHelpTrace(_0x1bf9a7,_0x76c072){var _0x202d88=a220_0x48c6;try{await sendCliTraceLog({'spanName':_0x202d88(0xe1),'logData':{'rabetbase.help.kind':_0x1bf9a7,..._0x76c072?.[_0x202d88(0xe5)]&&{'rabetbase.help.service':_0x76c072['service']}}});}catch(_0xc002d7){console['error']('Failed\x20to\x20report\x20CLI\x20help\x20trace:',_0xc002d7);}}
@@ -1 +1 @@
1
- (function(_0x35d808,_0x9cdfcd){const _0x59576e=a221_0xdad1,_0x353ca3=_0x35d808();while(!![]){try{const _0x1bcc48=-parseInt(_0x59576e(0x114))/0x1*(-parseInt(_0x59576e(0x111))/0x2)+-parseInt(_0x59576e(0x117))/0x3*(-parseInt(_0x59576e(0x10f))/0x4)+parseInt(_0x59576e(0x11a))/0x5*(-parseInt(_0x59576e(0x11b))/0x6)+-parseInt(_0x59576e(0x118))/0x7+parseInt(_0x59576e(0x11e))/0x8+-parseInt(_0x59576e(0x113))/0x9*(parseInt(_0x59576e(0x119))/0xa)+parseInt(_0x59576e(0x11f))/0xb*(parseInt(_0x59576e(0x115))/0xc);if(_0x1bcc48===_0x9cdfcd)break;else _0x353ca3['push'](_0x353ca3['shift']());}catch(_0x3aef8a){_0x353ca3['push'](_0x353ca3['shift']());}}}(a221_0x1cee,0xd45e6));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';function a221_0x1cee(){const _0x432805=['16631813gnoZZJ','1046228BXlAMj','production','292ZdfBjn','nickname','1341HTOjtV','10137kvsvbY','12skWZpH','tenant','3Aiwnzy','10572352rlqudM','8940bnLGRl','3617755usodrC','12hfhVhK','username','daily','5655712HisYvF'];a221_0x1cee=function(){return _0x432805;};return a221_0x1cee();}let cliOtelTraceInitialized=![];function a221_0xdad1(_0x472a45,_0x36c8f2){_0x472a45=_0x472a45-0x10f;const _0x1cee45=a221_0x1cee();let _0xdad1c7=_0x1cee45[_0x472a45];return _0xdad1c7;}export async function ensureCliOtelTraceConfig(){const _0x388192=a221_0xdad1,_0x37f2ee=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x2b9dc5=_0x37f2ee?.['user'];setServiceConfig({'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!=='unknown'?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?_0x388192(0x11d):_0x388192(0x110))}),setUserContext({'id':_0x2b9dc5?.['id'],'username':_0x2b9dc5?.[_0x388192(0x11c)],'nickname':_0x2b9dc5?.[_0x388192(0x112)],'email':_0x2b9dc5?.['email'],'tenantCode':_0x2b9dc5?.[_0x388192(0x116)]['tenant_code'],'appCode':getConfigAppCode()}),cliOtelTraceInitialized=!![];}return _0x37f2ee;}
1
+ (function(_0x32cca0,_0x5b9423){const _0x2899bb=a221_0x8b9d,_0x3ec867=_0x32cca0();while(!![]){try{const _0x3217da=-parseInt(_0x2899bb(0x189))/0x1+-parseInt(_0x2899bb(0x18d))/0x2+-parseInt(_0x2899bb(0x184))/0x3*(-parseInt(_0x2899bb(0x18b))/0x4)+-parseInt(_0x2899bb(0x187))/0x5+-parseInt(_0x2899bb(0x185))/0x6+-parseInt(_0x2899bb(0x186))/0x7+parseInt(_0x2899bb(0x183))/0x8;if(_0x3217da===_0x5b9423)break;else _0x3ec867['push'](_0x3ec867['shift']());}catch(_0x112d01){_0x3ec867['push'](_0x3ec867['shift']());}}}(a221_0x5b11,0x2d3f4));import{VERSION,GIT_COMMIT}from'../generated/build-info.js';function a221_0x8b9d(_0x2e0ec6,_0x292ba8){_0x2e0ec6=_0x2e0ec6-0x182;const _0x5b112d=a221_0x5b11();let _0x8b9d7f=_0x5b112d[_0x2e0ec6];return _0x8b9d7f;}function a221_0x5b11(){const _0x4c9d9d=['daily','579490coogwx','user','6431800lbVaTT','129EzIYLe','1256454DWZtAb','61047bfisGf','1282675zmKuQR','unknown','209843fjzEdL','username','33080McRoia'];a221_0x5b11=function(){return _0x4c9d9d;};return a221_0x5b11();}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 _0x35b45c=a221_0x8b9d,_0x4fa2bf=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x25200c=_0x4fa2bf?.[_0x35b45c(0x182)];setServiceConfig({'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!==_0x35b45c(0x188)?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?_0x35b45c(0x18c):'production')}),setUserContext({'id':_0x25200c?.['id'],'username':_0x25200c?.[_0x35b45c(0x18a)],'nickname':_0x25200c?.['nickname'],'email':_0x25200c?.['email'],'tenantCode':_0x25200c?.['tenant']['tenant_code'],'appCode':getConfigAppCode()}),cliOtelTraceInitialized=!![];}return _0x4fa2bf;}
@@ -1 +1 @@
1
- function a222_0x2e74(_0x57dcc5,_0x459c4e){_0x57dcc5=_0x57dcc5-0xf2;const _0x59f691=a222_0x59f6();let _0x2e74f0=_0x59f691[_0x57dcc5];return _0x2e74f0;}(function(_0x483a4b,_0x1e3fa9){const _0x35dd3f=a222_0x2e74,_0x21e78c=_0x483a4b();while(!![]){try{const _0x2f386b=-parseInt(_0x35dd3f(0xf5))/0x1+parseInt(_0x35dd3f(0xfb))/0x2*(parseInt(_0x35dd3f(0xf4))/0x3)+-parseInt(_0x35dd3f(0xff))/0x4*(-parseInt(_0x35dd3f(0xfa))/0x5)+parseInt(_0x35dd3f(0xf3))/0x6*(-parseInt(_0x35dd3f(0x101))/0x7)+-parseInt(_0x35dd3f(0xf2))/0x8*(parseInt(_0x35dd3f(0xf6))/0x9)+-parseInt(_0x35dd3f(0xf8))/0xa+parseInt(_0x35dd3f(0xf7))/0xb;if(_0x2f386b===_0x1e3fa9)break;else _0x21e78c['push'](_0x21e78c['shift']());}catch(_0x394545){_0x21e78c['push'](_0x21e78c['shift']());}}}(a222_0x59f6,0x93e59));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 _0x1501d2=a222_0x2e74;process['once'](_0x1501d2(0xfd),()=>{void flushOtelNodeIfUsed();});const _0x39ce31=()=>{const _0x456487=_0x1501d2;void flushOtelNodeIfUsed()[_0x456487(0x100)](()=>process[_0x456487(0xfe)](0x0));};process[_0x1501d2(0xfc)]('SIGINT',_0x39ce31),process['once'](_0x1501d2(0xf9),_0x39ce31);}export async function exitWithOtelShutdown(_0x1ee1e0){await flushOtelNodeIfUsed(),process['exit'](_0x1ee1e0);}function a222_0x59f6(){const _0xc89efb=['exit','1455044gVJERA','then','77oldfIy','322264qZeqwr','568146OLiHob','2259cXFamC','801748UnBtnu','243bvIlYp','31235336CiDYoZ','2637530LoOdjq','SIGTERM','10gZdxzN','620MYrwYZ','once','beforeExit'];a222_0x59f6=function(){return _0xc89efb;};return a222_0x59f6();}
1
+ (function(_0x2ee0b5,_0x3fbf06){const _0x3c8448=a222_0xbb7e,_0x51c3b4=_0x2ee0b5();while(!![]){try{const _0x31bb2f=-parseInt(_0x3c8448(0x115))/0x1+-parseInt(_0x3c8448(0x117))/0x2+-parseInt(_0x3c8448(0x114))/0x3*(parseInt(_0x3c8448(0x11b))/0x4)+-parseInt(_0x3c8448(0x11c))/0x5*(-parseInt(_0x3c8448(0x120))/0x6)+parseInt(_0x3c8448(0x11f))/0x7*(-parseInt(_0x3c8448(0x121))/0x8)+parseInt(_0x3c8448(0x11e))/0x9+parseInt(_0x3c8448(0x119))/0xa*(parseInt(_0x3c8448(0x113))/0xb);if(_0x31bb2f===_0x3fbf06)break;else _0x51c3b4['push'](_0x51c3b4['shift']());}catch(_0xab3c65){_0x51c3b4['push'](_0x51c3b4['shift']());}}}(a222_0x59b9,0x390c1));function a222_0xbb7e(_0x34f6fb,_0x2835bf){_0x34f6fb=_0x34f6fb-0x113;const _0x59b9a5=a222_0x59b9();let _0xbb7e67=_0x59b9a5[_0x34f6fb];return _0xbb7e67;}function a222_0x59b9(){const _0x35fc0b=['4460090AnDDKY','SIGINT','16RMoawW','35vSskBn','once','2845710gEHpeF','28aJqrpF','324654eisugB','500936QRpPhp','11nhzgOf','169083fOqLZi','36169ZfJEzM','then','790432bXKMQf','exit'];a222_0x59b9=function(){return _0x35fc0b;};return a222_0x59b9();}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 _0x11c2f4=a222_0xbb7e;process['once']('beforeExit',()=>{void flushOtelNodeIfUsed();});const _0x5c2720=()=>{const _0xd238be=a222_0xbb7e;void flushOtelNodeIfUsed()[_0xd238be(0x116)](()=>process[_0xd238be(0x118)](0x0));};process['once'](_0x11c2f4(0x11a),_0x5c2720),process[_0x11c2f4(0x11d)]('SIGTERM',_0x5c2720);}export async function exitWithOtelShutdown(_0x41562b){const _0x53a53f=a222_0xbb7e;await flushOtelNodeIfUsed(),process[_0x53a53f(0x118)](_0x41562b);}
@@ -1 +1 @@
1
- const a223_0x551a31=a223_0x2aec;(function(_0x3e97b0,_0x56eed1){const _0x11fe1d=a223_0x2aec,_0x2a22d9=_0x3e97b0();while(!![]){try{const _0x2aaa93=parseInt(_0x11fe1d(0x123))/0x1+-parseInt(_0x11fe1d(0x122))/0x2+-parseInt(_0x11fe1d(0x129))/0x3*(-parseInt(_0x11fe1d(0x12a))/0x4)+parseInt(_0x11fe1d(0x126))/0x5+-parseInt(_0x11fe1d(0x127))/0x6*(-parseInt(_0x11fe1d(0x12d))/0x7)+parseInt(_0x11fe1d(0x12e))/0x8*(parseInt(_0x11fe1d(0x124))/0x9)+-parseInt(_0x11fe1d(0x12b))/0xa;if(_0x2aaa93===_0x56eed1)break;else _0x2a22d9['push'](_0x2a22d9['shift']());}catch(_0x490ea1){_0x2a22d9['push'](_0x2a22d9['shift']());}}}(a223_0x3421,0x9856e));import{sendTraceLog}from'@lovrabet/otel-logger';import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';function a223_0x2aec(_0x468640,_0x318c45){_0x468640=_0x468640-0x121;const _0x342172=a223_0x3421();let _0x2aec88=_0x342172[_0x468640];return _0x2aec88;}import{getCliVersion}from'../utils/version.js';const DEFAULT_TRACE_NAME=a223_0x551a31(0x121);function a223_0x3421(){const _0xdacbe1=['15973910BOiYIR','logData','177359ACvxDV','72hIVlVE','traceparent','rabetbase-cli','1925000BqfPGz','266719bozfoL','950202ZttEnE','version','4728255XmAuFr','42LcIDSf','spanName','230166SFJbkY','44XjhzYf'];a223_0x3421=function(){return _0xdacbe1;};return a223_0x3421();}export async function sendCliTraceLog(_0x137ec5){const _0xaa076a=a223_0x551a31;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x137ec5['traceName']??DEFAULT_TRACE_NAME,'version':_0x137ec5[_0xaa076a(0x125)]??getCliVersion(),'spanName':_0x137ec5[_0xaa076a(0x128)],'eventType':'manual','logData':_0x137ec5[_0xaa076a(0x12c)],..._0x137ec5['traceparent']&&{'traceparent':_0x137ec5[_0xaa076a(0x12f)]}});}
1
+ const a223_0x211f09=a223_0x520a;function a223_0x3373(){const _0x9912c4=['14225ZVdgCU','298669cTsyTI','582078XSJICb','spanName','378822vYmcBi','traceparent','traceName','36IHGXLG','version','5584995uEmbLt','1373673FIKxnf','8lCoacf','rabetbase-cli','24948IXLQjZ'];a223_0x3373=function(){return _0x9912c4;};return a223_0x3373();}function a223_0x520a(_0x3cd413,_0x175192){_0x3cd413=_0x3cd413-0x103;const _0x3373bc=a223_0x3373();let _0x520aa6=_0x3373bc[_0x3cd413];return _0x520aa6;}(function(_0x59fd90,_0x133e94){const _0x2728c8=a223_0x520a,_0x239f12=_0x59fd90();while(!![]){try{const _0x414dd9=-parseInt(_0x2728c8(0x105))/0x1+-parseInt(_0x2728c8(0x103))/0x2+parseInt(_0x2728c8(0x106))/0x3+parseInt(_0x2728c8(0x10b))/0x4*(-parseInt(_0x2728c8(0x104))/0x5)+-parseInt(_0x2728c8(0x108))/0x6+-parseInt(_0x2728c8(0x10e))/0x7*(parseInt(_0x2728c8(0x10f))/0x8)+parseInt(_0x2728c8(0x10d))/0x9;if(_0x414dd9===_0x133e94)break;else _0x239f12['push'](_0x239f12['shift']());}catch(_0x25598a){_0x239f12['push'](_0x239f12['shift']());}}}(a223_0x3373,0x35559));import{sendTraceLog}from'@lovrabet/otel-logger';import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';import{getCliVersion}from'../utils/version.js';const DEFAULT_TRACE_NAME=a223_0x211f09(0x110);export async function sendCliTraceLog(_0x1b7e38){const _0x27dace=a223_0x211f09;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x1b7e38[_0x27dace(0x10a)]??DEFAULT_TRACE_NAME,'version':_0x1b7e38[_0x27dace(0x10c)]??getCliVersion(),'spanName':_0x1b7e38[_0x27dace(0x107)],'eventType':'manual','logData':_0x1b7e38['logData'],..._0x1b7e38[_0x27dace(0x109)]&&{'traceparent':_0x1b7e38[_0x27dace(0x109)]}});}
@@ -1 +1 @@
1
- const a224_0x5273ff=a224_0x2bab;(function(_0x57cd69,_0x467c69){const _0x4b2c64=a224_0x2bab,_0x204594=_0x57cd69();while(!![]){try{const _0x260efe=parseInt(_0x4b2c64(0x7b))/0x1*(-parseInt(_0x4b2c64(0x8d))/0x2)+parseInt(_0x4b2c64(0x87))/0x3*(parseInt(_0x4b2c64(0x7f))/0x4)+parseInt(_0x4b2c64(0x8b))/0x5+-parseInt(_0x4b2c64(0x84))/0x6+-parseInt(_0x4b2c64(0x7c))/0x7+-parseInt(_0x4b2c64(0x85))/0x8+parseInt(_0x4b2c64(0x7e))/0x9*(parseInt(_0x4b2c64(0x8c))/0xa);if(_0x260efe===_0x467c69)break;else _0x204594['push'](_0x204594['shift']());}catch(_0x5e5419){_0x204594['push'](_0x204594['shift']());}}}(a224_0x1b10,0x7f76f));function a224_0x1b10(){const _0x3224d9=['2yVCxUw','1801450JoJnDB','redactionCount','27gnSHGq','1049332SieWAs','description','originalBytes','sanitize','title','5722536zIuYll','7451312ZQFicJ','join','6ZpSgJV','issue.log.collect','truncated','platform-issue-log-collect','3943420DQngUT','4721810ysNlRu','65278scfRBw'];a224_0x1b10=function(){return _0x3224d9;};return a224_0x1b10();}import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export const PLATFORM_ISSUE_TRACE_NAME=a224_0x5273ff(0x8a);export const PLATFORM_ISSUE_SPAN_NAME=a224_0x5273ff(0x88);function a224_0x2bab(_0x1a6ead,_0x386f07){_0x1a6ead=_0x1a6ead-0x7b;const _0x1b10e4=a224_0x1b10();let _0x2babfe=_0x1b10e4[_0x1a6ead];return _0x2babfe;}export async function sendPlatformIssueCollectLog(_0x1ffed9){const _0x35c884=a224_0x5273ff;await sendCliTraceLog({'traceName':PLATFORM_ISSUE_TRACE_NAME,'spanName':PLATFORM_ISSUE_SPAN_NAME,'logData':{'issue.title':_0x1ffed9[_0x35c884(0x83)],'issue.description':_0x1ffed9[_0x35c884(0x80)],..._0x1ffed9['sanitize']?{'issue.description_original_bytes':_0x1ffed9['sanitize'][_0x35c884(0x81)],'issue.description_truncated':_0x1ffed9[_0x35c884(0x82)][_0x35c884(0x89)],'issue.description_redactions':_0x1ffed9['sanitize'][_0x35c884(0x7d)],'issue.description_redaction_kinds':_0x1ffed9['sanitize']['redactionKinds'][_0x35c884(0x86)](',')}:{}}});}
1
+ const a224_0x91d24f=a224_0x4128;(function(_0x23b31b,_0x5624e4){const _0x1a7825=a224_0x4128,_0x3fc1fb=_0x23b31b();while(!![]){try{const _0x476db4=-parseInt(_0x1a7825(0x1ab))/0x1+parseInt(_0x1a7825(0x1a3))/0x2*(parseInt(_0x1a7825(0x1a1))/0x3)+parseInt(_0x1a7825(0x19d))/0x4+parseInt(_0x1a7825(0x19e))/0x5*(parseInt(_0x1a7825(0x1aa))/0x6)+parseInt(_0x1a7825(0x1a7))/0x7+parseInt(_0x1a7825(0x19c))/0x8+parseInt(_0x1a7825(0x1a4))/0x9*(-parseInt(_0x1a7825(0x1a6))/0xa);if(_0x476db4===_0x5624e4)break;else _0x3fc1fb['push'](_0x3fc1fb['shift']());}catch(_0x1110d5){_0x3fc1fb['push'](_0x3fc1fb['shift']());}}}(a224_0x5ec9,0xb24cb));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export const PLATFORM_ISSUE_TRACE_NAME=a224_0x91d24f(0x1ac);export const PLATFORM_ISSUE_SPAN_NAME=a224_0x91d24f(0x1a8);function a224_0x4128(_0x3a3f75,_0x20f8e9){_0x3a3f75=_0x3a3f75-0x19c;const _0x5ec9a3=a224_0x5ec9();let _0x41280a=_0x5ec9a3[_0x3a3f75];return _0x41280a;}export async function sendPlatformIssueCollectLog(_0x5bec75){const _0x384c6b=a224_0x91d24f;await sendCliTraceLog({'traceName':PLATFORM_ISSUE_TRACE_NAME,'spanName':PLATFORM_ISSUE_SPAN_NAME,'logData':{'issue.title':_0x5bec75['title'],'issue.description':_0x5bec75['description'],..._0x5bec75[_0x384c6b(0x1a5)]?{'issue.description_original_bytes':_0x5bec75[_0x384c6b(0x1a5)][_0x384c6b(0x19f)],'issue.description_truncated':_0x5bec75[_0x384c6b(0x1a5)][_0x384c6b(0x1a0)],'issue.description_redactions':_0x5bec75['sanitize'][_0x384c6b(0x1a2)],'issue.description_redaction_kinds':_0x5bec75[_0x384c6b(0x1a5)][_0x384c6b(0x1ad)][_0x384c6b(0x1a9)](',')}:{}}});}function a224_0x5ec9(){const _0x12e41c=['28790030QrcrTn','9351265DAFouP','issue.log.collect','join','402UOommW','822943gtOwDh','platform-issue-log-collect','redactionKinds','8794600pxEOHn','1658820cmAOhI','105295FhmiIP','originalBytes','truncated','514149ajTWdO','redactionCount','2fUFzdj','9WdKGUE','sanitize'];a224_0x5ec9=function(){return _0x12e41c;};return a224_0x5ec9();}
@@ -1 +1 @@
1
- function a226_0x5315(){const _0x5e4934=['trae','7146570FuRQxK','.cline/skills/lovrabet/SKILL.md','claude','5419796gqQXoL','913465HOlnxN','通用模板\x20-\x20兜底方案','codex','Cline\x20IDE','Windsurf','Antigravity\x20IDE','cursor','.claude','Qoder','.windsurf','6yRVKnr','CodeBuddy','Antigravity','5rLKGhS','Codex\x20IDE','.codex/skills/lovrabet/SKILL.md','.codebuddy/skills/lovrabet/SKILL.md','Trae','.claude/skills/lovrabet/SKILL.md','11iRchQf','Cline','4924926SxzjwP','cline','CodeBuddy\x20IDE','codebuddy','.windsurf/workflows/rabetbase.md','.cursor','Trae\x20IDE','7209636hbPgRV','.cursorrules','38VyVIeV','Claude\x20Code','.opencode/skills/lovrabet/SKILL.md','.codex','.cursor/skills/rabetbase.md','Qoder\x20IDE','16AVxSVP','antigravity','.qoder/skills/lovrabet/SKILL.md','.qoder/rules/rabetbase.md','opencode','其他\x20(通用模板)','39uSorxf','SKILL.md.tpl','windsurf','qoder','.trae/skills/lovrabet/SKILL.md','.opencode','.agent/skills/lovrabet/SKILL.md','.agent','10419549WaMywn','file','169761qxGpwz','OpenCode\x20IDE'];a226_0x5315=function(){return _0x5e4934;};return a226_0x5315();}const a226_0x5a61ae=a226_0x5e3e;function a226_0x5e3e(_0x2db050,_0xee945b){_0x2db050=_0x2db050-0x11d;const _0x5315cb=a226_0x5315();let _0x5e3e0f=_0x5315cb[_0x2db050];return _0x5e3e0f;}(function(_0x3c90c3,_0x106024){const _0x474b76=a226_0x5e3e,_0x32bad9=_0x3c90c3();while(!![]){try{const _0x121f8d=-parseInt(_0x474b76(0x147))/0x1+parseInt(_0x474b76(0x12a))/0x2*(parseInt(_0x474b76(0x140))/0x3)+-parseInt(_0x474b76(0x146))/0x4*(parseInt(_0x474b76(0x154))/0x5)+parseInt(_0x474b76(0x151))/0x6*(-parseInt(_0x474b76(0x13e))/0x7)+parseInt(_0x474b76(0x130))/0x8*(parseInt(_0x474b76(0x121))/0x9)+-parseInt(_0x474b76(0x143))/0xa*(-parseInt(_0x474b76(0x11f))/0xb)+parseInt(_0x474b76(0x128))/0xc*(parseInt(_0x474b76(0x136))/0xd);if(_0x121f8d===_0x106024)break;else _0x32bad9['push'](_0x32bad9['shift']());}catch(_0x4c8321){_0x32bad9['push'](_0x32bad9['shift']());}}}(a226_0x5315,0xe2fbe));export const CORE_IDE_CONFIGS={'cursor':{'name':'Cursor','description':'Cursor\x20IDE','folders':[a226_0x5a61ae(0x129),a226_0x5a61ae(0x126)],'files':[{'type':a226_0x5a61ae(0x13f),'path':a226_0x5a61ae(0x12e),'template':a226_0x5a61ae(0x137)}]},'windsurf':{'name':a226_0x5a61ae(0x14b),'description':'Windsurf\x20IDE','folders':[a226_0x5a61ae(0x150)],'files':[{'type':a226_0x5a61ae(0x13f),'path':a226_0x5a61ae(0x125),'template':'SKILL.md.tpl'}]},'claude':{'name':a226_0x5a61ae(0x12b),'description':a226_0x5a61ae(0x12b),'folders':[a226_0x5a61ae(0x14e)],'files':[{'type':'file','path':a226_0x5a61ae(0x11e),'template':a226_0x5a61ae(0x137)}]},'cline':{'name':a226_0x5a61ae(0x120),'description':a226_0x5a61ae(0x14a),'folders':['.cline'],'files':[{'type':a226_0x5a61ae(0x13f),'path':a226_0x5a61ae(0x144),'template':a226_0x5a61ae(0x137)}]},'codex':{'name':'Codex','description':a226_0x5a61ae(0x155),'folders':[a226_0x5a61ae(0x12d)],'files':[{'type':a226_0x5a61ae(0x13f),'path':a226_0x5a61ae(0x156),'template':a226_0x5a61ae(0x137)}]},'opencode':{'name':'OpenCode','description':a226_0x5a61ae(0x141),'folders':[a226_0x5a61ae(0x13b)],'files':[{'type':a226_0x5a61ae(0x13f),'path':a226_0x5a61ae(0x12c),'template':a226_0x5a61ae(0x137)}]},'qoder':{'name':a226_0x5a61ae(0x14f),'description':a226_0x5a61ae(0x12f),'folders':['.qoder'],'files':[{'type':a226_0x5a61ae(0x13f),'path':a226_0x5a61ae(0x133),'template':a226_0x5a61ae(0x137)},{'type':a226_0x5a61ae(0x13f),'path':a226_0x5a61ae(0x132),'template':a226_0x5a61ae(0x137)}]},'codebuddy':{'name':a226_0x5a61ae(0x152),'description':a226_0x5a61ae(0x123),'folders':['.codebuddy'],'files':[{'type':a226_0x5a61ae(0x13f),'path':a226_0x5a61ae(0x157),'template':a226_0x5a61ae(0x137)}]},'trae':{'name':a226_0x5a61ae(0x11d),'description':a226_0x5a61ae(0x127),'folders':['.trae'],'files':[{'type':a226_0x5a61ae(0x13f),'path':a226_0x5a61ae(0x13a),'template':a226_0x5a61ae(0x137)}]}};export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':a226_0x5a61ae(0x135),'description':a226_0x5a61ae(0x148),'folders':[a226_0x5a61ae(0x13d)],'files':[{'type':a226_0x5a61ae(0x13f),'path':a226_0x5a61ae(0x13c),'template':a226_0x5a61ae(0x137)}]},'antigravity':{'name':a226_0x5a61ae(0x153),'description':a226_0x5a61ae(0x14c),'folders':[a226_0x5a61ae(0x13d)],'files':[{'type':a226_0x5a61ae(0x13f),'path':a226_0x5a61ae(0x13c),'template':'SKILL.md.tpl'}]}};export const CORE_IDE_LIST=[a226_0x5a61ae(0x145),a226_0x5a61ae(0x122),a226_0x5a61ae(0x124),a226_0x5a61ae(0x149),a226_0x5a61ae(0x14d),a226_0x5a61ae(0x134),a226_0x5a61ae(0x139),a226_0x5a61ae(0x142),a226_0x5a61ae(0x138)];export const IDE_LIST=[a226_0x5a61ae(0x131),'claude',a226_0x5a61ae(0x122),a226_0x5a61ae(0x124),a226_0x5a61ae(0x149),'cursor',a226_0x5a61ae(0x134),a226_0x5a61ae(0x139),a226_0x5a61ae(0x142),'windsurf','agent'];export const ALL_CORE_IDES=[a226_0x5a61ae(0x14d),'windsurf','claude',a226_0x5a61ae(0x122),a226_0x5a61ae(0x149),'opencode',a226_0x5a61ae(0x139),a226_0x5a61ae(0x124),a226_0x5a61ae(0x142)];
1
+ const a226_0x3be0e2=a226_0x1991;(function(_0x31e64f,_0x1b5c33){const _0x3e02ff=a226_0x1991,_0x18546c=_0x31e64f();while(!![]){try{const _0x3e8cc5=-parseInt(_0x3e02ff(0xed))/0x1+-parseInt(_0x3e02ff(0xf1))/0x2+-parseInt(_0x3e02ff(0xe8))/0x3+parseInt(_0x3e02ff(0xf7))/0x4*(-parseInt(_0x3e02ff(0x10f))/0x5)+-parseInt(_0x3e02ff(0x104))/0x6+-parseInt(_0x3e02ff(0xe9))/0x7+parseInt(_0x3e02ff(0x115))/0x8;if(_0x3e8cc5===_0x1b5c33)break;else _0x18546c['push'](_0x18546c['shift']());}catch(_0x380ad8){_0x18546c['push'](_0x18546c['shift']());}}}(a226_0x1c89,0x55d13));export const CORE_IDE_CONFIGS={'cursor':{'name':a226_0x3be0e2(0xf6),'description':'Cursor\x20IDE','folders':[a226_0x3be0e2(0xfa),'.cursor'],'files':[{'type':a226_0x3be0e2(0x10b),'path':a226_0x3be0e2(0xec),'template':a226_0x3be0e2(0x10a)}]},'windsurf':{'name':a226_0x3be0e2(0xfb),'description':a226_0x3be0e2(0xf3),'folders':['.windsurf'],'files':[{'type':a226_0x3be0e2(0x10b),'path':a226_0x3be0e2(0x113),'template':a226_0x3be0e2(0x10a)}]},'claude':{'name':a226_0x3be0e2(0x109),'description':a226_0x3be0e2(0x109),'folders':['.claude'],'files':[{'type':'file','path':'.claude/skills/lovrabet/SKILL.md','template':a226_0x3be0e2(0x10a)}]},'cline':{'name':a226_0x3be0e2(0x118),'description':a226_0x3be0e2(0xfd),'folders':[a226_0x3be0e2(0x11a)],'files':[{'type':a226_0x3be0e2(0x10b),'path':a226_0x3be0e2(0xf2),'template':'SKILL.md.tpl'}]},'codex':{'name':'Codex','description':a226_0x3be0e2(0x102),'folders':['.codex'],'files':[{'type':'file','path':a226_0x3be0e2(0x11b),'template':'SKILL.md.tpl'}]},'opencode':{'name':'OpenCode','description':a226_0x3be0e2(0x119),'folders':[a226_0x3be0e2(0xee)],'files':[{'type':'file','path':a226_0x3be0e2(0xfe),'template':'SKILL.md.tpl'}]},'qoder':{'name':'Qoder','description':a226_0x3be0e2(0x101),'folders':[a226_0x3be0e2(0xff)],'files':[{'type':a226_0x3be0e2(0x10b),'path':a226_0x3be0e2(0x10e),'template':a226_0x3be0e2(0x10a)},{'type':'file','path':a226_0x3be0e2(0xea),'template':a226_0x3be0e2(0x10a)}]},'codebuddy':{'name':a226_0x3be0e2(0x108),'description':a226_0x3be0e2(0x111),'folders':[a226_0x3be0e2(0x10d)],'files':[{'type':'file','path':a226_0x3be0e2(0xf4),'template':a226_0x3be0e2(0x10a)}]},'trae':{'name':a226_0x3be0e2(0x112),'description':a226_0x3be0e2(0xf9),'folders':[a226_0x3be0e2(0x11d)],'files':[{'type':a226_0x3be0e2(0x10b),'path':a226_0x3be0e2(0x10c),'template':'SKILL.md.tpl'}]}};export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':a226_0x3be0e2(0x114),'description':a226_0x3be0e2(0x116),'folders':[a226_0x3be0e2(0x11c)],'files':[{'type':'file','path':a226_0x3be0e2(0x100),'template':a226_0x3be0e2(0x10a)}]},'antigravity':{'name':'Antigravity','description':a226_0x3be0e2(0x106),'folders':[a226_0x3be0e2(0x11c)],'files':[{'type':a226_0x3be0e2(0x10b),'path':a226_0x3be0e2(0x100),'template':'SKILL.md.tpl'}]}};function a226_0x1c89(){const _0x5a1ec3=['Claude\x20Code','SKILL.md.tpl','file','.trae/skills/lovrabet/SKILL.md','.codebuddy','.qoder/rules/rabetbase.md','5SrhEOJ','codex','CodeBuddy\x20IDE','Trae','.windsurf/workflows/rabetbase.md','其他\x20(通用模板)','13972376VFSrur','通用模板\x20-\x20兜底方案','claude','Cline','OpenCode\x20IDE','.cline','.codex/skills/lovrabet/SKILL.md','.agent','.trae','1547595fRozqK','435603HlNZhI','.qoder/skills/lovrabet/SKILL.md','antigravity','.cursor/skills/rabetbase.md','231460aGaTfW','.opencode','windsurf','opencode','553274hfhMtx','.cline/skills/lovrabet/SKILL.md','Windsurf\x20IDE','.codebuddy/skills/lovrabet/SKILL.md','codebuddy','Cursor','1103572vjHUIj','cursor','Trae\x20IDE','.cursorrules','Windsurf','qoder','Cline\x20IDE','.opencode/skills/lovrabet/SKILL.md','.qoder','.agent/skills/lovrabet/SKILL.md','Qoder\x20IDE','Codex\x20IDE','trae','197736lsooza','agent','Antigravity\x20IDE','cline','CodeBuddy'];a226_0x1c89=function(){return _0x5a1ec3;};return a226_0x1c89();}export const CORE_IDE_LIST=[a226_0x3be0e2(0x117),a226_0x3be0e2(0x107),'codebuddy','codex',a226_0x3be0e2(0xf8),'opencode',a226_0x3be0e2(0xfc),a226_0x3be0e2(0x103),a226_0x3be0e2(0xef)];function a226_0x1991(_0x461d5a,_0x1b7b9b){_0x461d5a=_0x461d5a-0xe8;const _0x1c8943=a226_0x1c89();let _0x19916b=_0x1c8943[_0x461d5a];return _0x19916b;}export const IDE_LIST=[a226_0x3be0e2(0xeb),a226_0x3be0e2(0x117),a226_0x3be0e2(0x107),a226_0x3be0e2(0xf5),a226_0x3be0e2(0x110),'cursor',a226_0x3be0e2(0xf0),'qoder',a226_0x3be0e2(0x103),a226_0x3be0e2(0xef),a226_0x3be0e2(0x105)];export const ALL_CORE_IDES=[a226_0x3be0e2(0xf8),'windsurf',a226_0x3be0e2(0x117),a226_0x3be0e2(0x107),'codex','opencode',a226_0x3be0e2(0xfc),a226_0x3be0e2(0xf5),'trae'];