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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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(_0x4bf80d,_0x500cce){const _0x39267c=a202_0x5e2a,_0x10beaa=_0x4bf80d();while(!![]){try{const _0x486c4a=parseInt(_0x39267c(0x1a8))/0x1*(-parseInt(_0x39267c(0x1ad))/0x2)+-parseInt(_0x39267c(0x1b3))/0x3+-parseInt(_0x39267c(0x1b7))/0x4*(parseInt(_0x39267c(0x1a9))/0x5)+parseInt(_0x39267c(0x1b6))/0x6+parseInt(_0x39267c(0x1a7))/0x7*(-parseInt(_0x39267c(0x1b0))/0x8)+-parseInt(_0x39267c(0x1ae))/0x9+-parseInt(_0x39267c(0x1b4))/0xa*(-parseInt(_0x39267c(0x1ab))/0xb);if(_0x486c4a===_0x500cce)break;else _0x10beaa['push'](_0x10beaa['shift']());}catch(_0x589c15){_0x10beaa['push'](_0x10beaa['shift']());}}}(a202_0x42c5,0x663cd));export function detectSqlMode(_0xbf8d78){const _0x1dbea8=a202_0x5e2a,_0x1f51f2=_0xbf8d78[_0x1dbea8(0x1a6)]();if(/^<(select|insert|update|delete)\b/i[_0x1dbea8(0x1af)](_0x1f51f2))return'mybatisXml';return'sql';}export function getSqlFileExtension(_0x4e1e5c){const _0x595574=a202_0x5e2a;return _0x4e1e5c===_0x595574(0x1b1)?'.xml':_0x595574(0x1aa);}export function buildDefaultSqlFileName(_0x46924f,_0x340b10){return''+_0x46924f+getSqlFileExtension(_0x340b10);}function a202_0x5e2a(_0x31ce43,_0x3a9393){_0x31ce43=_0x31ce43-0x1a6;const _0x42c5ce=a202_0x42c5();let _0x5e2ac9=_0x42c5ce[_0x31ce43];return _0x5e2ac9;}function a202_0x42c5(){const _0x3d199f=['mybatisXml','replace','1849974sLFEjy','770NxKAlh','db-','681408BvenrJ','44mKxUiw','trimStart','4042199niWpYr','173hQXSSH','264685IMsFhG','.sql','451121BfzBvn','trim','5930FilgEU','5069547nnsMSP','test','8uEpZWN'];a202_0x42c5=function(){return _0x3d199f;};return a202_0x42c5();}export function sanitizeSqlPathSegment(_0x29440c,_0x4a1018){const _0x2898d7=a202_0x5e2a,_0x1c6efc=String(_0x29440c??'')[_0x2898d7(0x1ac)](),_0x4669c6=_0x1c6efc[_0x2898d7(0x1b2)](/[<>:"/\\|?*\u0000-\u001F]/g,'-')[_0x2898d7(0x1b2)](/\s+/g,'-')[_0x2898d7(0x1b2)](/-+/g,'-')['replace'](/^\.+/,'')[_0x2898d7(0x1b2)](/\.+$/,'')[_0x2898d7(0x1b2)](/^-+/,'')[_0x2898d7(0x1b2)](/-+$/,'');return _0x4669c6||_0x4a1018;}export function buildDbDirectoryName(_0x19f318,_0x3cb63){const _0x14f760=a202_0x5e2a;return sanitizeSqlPathSegment(_0x19f318,_0x3cb63!=null?_0x14f760(0x1b5)+_0x3cb63:'unknown-db');}export function buildSqlRelativePath(_0x28345e,_0x305b84,_0x344e0a,_0x69d4ff,_0x2013b1){const _0x18c243=buildDbDirectoryName(_0x344e0a,_0x2013b1),_0x5b325a=sanitizeSqlPathSegment(_0x28345e,'unknown-sql'),_0x33f741=sanitizeSqlPathSegment(_0x305b84,_0x5b325a);return _0x18c243+'/'+_0x5b325a+'_'+_0x33f741+getSqlFileExtension(_0x69d4ff);}
1
+ function a202_0x5ed9(){const _0x4f1a0a=['556iZejlU','22381320AQxuof','unknown-sql','8qBslDu','sql','trim','.xml','304037JyIhci','mybatisXml','replace','unknown-db','6722037KnyfIu','3190490QqcnIN','3060906XedEAx','4pzPaJB','test','trimStart','.sql','1893hqfAPm','db-','2590021xVWntq'];a202_0x5ed9=function(){return _0x4f1a0a;};return a202_0x5ed9();}function a202_0x5874(_0x3a977e,_0x4241ef){_0x3a977e=_0x3a977e-0x129;const _0x5ed967=a202_0x5ed9();let _0x5874a1=_0x5ed967[_0x3a977e];return _0x5874a1;}(function(_0x280a53,_0x4f74fa){const _0x4c59f2=a202_0x5874,_0x4b33ec=_0x280a53();while(!![]){try{const _0x281708=-parseInt(_0x4c59f2(0x132))/0x1*(-parseInt(_0x4c59f2(0x139))/0x2)+-parseInt(_0x4c59f2(0x13d))/0x3*(parseInt(_0x4c59f2(0x12b))/0x4)+-parseInt(_0x4c59f2(0x137))/0x5+-parseInt(_0x4c59f2(0x138))/0x6+parseInt(_0x4c59f2(0x12a))/0x7*(-parseInt(_0x4c59f2(0x12e))/0x8)+-parseInt(_0x4c59f2(0x136))/0x9+parseInt(_0x4c59f2(0x12c))/0xa;if(_0x281708===_0x4f74fa)break;else _0x4b33ec['push'](_0x4b33ec['shift']());}catch(_0xba2a33){_0x4b33ec['push'](_0x4b33ec['shift']());}}}(a202_0x5ed9,0x78728));export function detectSqlMode(_0x209f4d){const _0x2bbda5=a202_0x5874,_0x45b86a=_0x209f4d[_0x2bbda5(0x13b)]();if(/^<(select|insert|update|delete)\b/i[_0x2bbda5(0x13a)](_0x45b86a))return'mybatisXml';return _0x2bbda5(0x12f);}export function getSqlFileExtension(_0x58abd1){const _0x5828bb=a202_0x5874;return _0x58abd1===_0x5828bb(0x133)?_0x5828bb(0x131):_0x5828bb(0x13c);}export function buildDefaultSqlFileName(_0x29682d,_0x36efbe){return''+_0x29682d+getSqlFileExtension(_0x36efbe);}export function sanitizeSqlPathSegment(_0x236d69,_0x42457b){const _0x5d0d08=a202_0x5874,_0x1364d7=String(_0x236d69??'')[_0x5d0d08(0x130)](),_0x21e8f5=_0x1364d7[_0x5d0d08(0x134)](/[<>:"/\\|?*\u0000-\u001F]/g,'-')[_0x5d0d08(0x134)](/\s+/g,'-')[_0x5d0d08(0x134)](/-+/g,'-')['replace'](/^\.+/,'')[_0x5d0d08(0x134)](/\.+$/,'')[_0x5d0d08(0x134)](/^-+/,'')[_0x5d0d08(0x134)](/-+$/,'');return _0x21e8f5||_0x42457b;}export function buildDbDirectoryName(_0x1e5b49,_0x42e64c){const _0x1d2180=a202_0x5874;return sanitizeSqlPathSegment(_0x1e5b49,_0x42e64c!=null?_0x1d2180(0x129)+_0x42e64c:_0x1d2180(0x135));}export function buildSqlRelativePath(_0x98b534,_0x30e3e1,_0x2aed43,_0x251c12,_0x5f123a){const _0x5b16b3=a202_0x5874,_0x1905fc=buildDbDirectoryName(_0x2aed43,_0x5f123a),_0x92ef9=sanitizeSqlPathSegment(_0x98b534,_0x5b16b3(0x12d)),_0x14fae4=sanitizeSqlPathSegment(_0x30e3e1,_0x92ef9);return _0x1905fc+'/'+_0x92ef9+'_'+_0x14fae4+getSqlFileExtension(_0x251c12);}
@@ -1 +1 @@
1
- function a203_0x4f82(){const _0xf1ea9c=['SQL\x20contains\x20modification\x20statements\x20alongside\x20SELECT','INSERT','5108176jyVlQR','replace','4180428pvPJcb','length','3266960zckatn','includes','\x20statements\x20cannot\x20be\x20auto-saved.\x20Please\x20operate\x20manually\x20on\x20the\x20platform.','UNKNOWN','UPDATE','SELECT','3341055tEbHPQ','7BPAlhf','34VpmMnH','DELETE','148344pHtTfv','\x20query\x20targeting\x20','DDL\x20statements\x20are\x20blocked\x20from\x20auto-save','toUpperCase','unknown\x20table(s)','DELETE\x20statements\x20are\x20blocked\x20from\x20auto-save','\x20with\x20parameters:\x20','push','test','SQL\x20content\x20is\x20empty','from','join','DDL','isDangerous','add','trim','WITH','matchAll','match','split','542478tPrmsK','startsWith','671517JPjJfx','type'];a203_0x4f82=function(){return _0xf1ea9c;};return a203_0x4f82();}(function(_0x2d884d,_0x4209a8){const _0x178e02=a203_0x2dcc,_0x4f7658=_0x2d884d();while(!![]){try{const _0x2ed0d1=parseInt(_0x178e02(0x194))/0x1+parseInt(_0x178e02(0x1a4))/0x2*(-parseInt(_0x178e02(0x1a6))/0x3)+-parseInt(_0x178e02(0x19c))/0x4+parseInt(_0x178e02(0x1a2))/0x5+-parseInt(_0x178e02(0x192))/0x6*(parseInt(_0x178e02(0x1a3))/0x7)+parseInt(_0x178e02(0x198))/0x8+parseInt(_0x178e02(0x19a))/0x9;if(_0x2ed0d1===_0x4209a8)break;else _0x4f7658['push'](_0x4f7658['shift']());}catch(_0x16b711){_0x4f7658['push'](_0x4f7658['shift']());}}}(a203_0x4f82,0xa9abd));function a203_0x2dcc(_0x4f9e59,_0x113e59){_0x4f9e59=_0x4f9e59-0x190;const _0x4f820d=a203_0x4f82();let _0x2dcced=_0x4f820d[_0x4f9e59];return _0x2dcced;}export function detectSqlType(_0x3f213b){const _0x212633=a203_0x2dcc;if(!_0x3f213b?.[_0x212633(0x1b5)]())return{'type':_0x212633(0x19f),'isSelectOnly':![],'isDangerous':![],'reason':_0x212633(0x1af)};const _0xe2282b=_0x3f213b[_0x212633(0x199)](/#\{[^}]*\}/g,'?')['replace'](/\$\{[^}]*\}/g,'?')[_0x212633(0x199)](/@[^(\s]+(\([^)]*\))?/g,'')[_0x212633(0x199)](/\/\*[\s\S]*?\*\//g,'')[_0x212633(0x1b5)](),_0x2fb382=_0xe2282b[_0x212633(0x191)]('\x0a');let _0x4c34bd='';for(const _0x15c49c of _0x2fb382){const _0x518fff=_0x15c49c['trim']();if(!_0x518fff||_0x518fff[_0x212633(0x193)]('--')||_0x518fff[_0x212633(0x193)]('/*'))continue;_0x4c34bd=_0x518fff;break;}const _0x391125=_0x4c34bd[_0x212633(0x1a9)]();if(_0x391125[_0x212633(0x193)](_0x212633(0x1a1))||_0x391125[_0x212633(0x193)](_0x212633(0x1b6))){const _0x1e59b9=/\b(INSERT|UPDATE|DELETE|DROP|ALTER|CREATE|TRUNCATE)\b/i[_0x212633(0x1ae)](_0xe2282b);return{'type':_0x212633(0x1a1),'isSelectOnly':!_0x1e59b9,'isDangerous':_0x1e59b9,'reason':_0x1e59b9?_0x212633(0x196):undefined};}if(_0x391125[_0x212633(0x193)](_0x212633(0x197)))return{'type':_0x212633(0x197),'isSelectOnly':![],'isDangerous':![]};if(_0x391125[_0x212633(0x193)](_0x212633(0x1a0)))return{'type':_0x212633(0x1a0),'isSelectOnly':![],'isDangerous':![]};if(_0x391125[_0x212633(0x193)](_0x212633(0x1a5)))return{'type':'DELETE','isSelectOnly':![],'isDangerous':!![],'reason':_0x212633(0x1ab)};if(/^(CREATE|ALTER|DROP|TRUNCATE)/i[_0x212633(0x1ae)](_0x391125))return{'type':_0x212633(0x1b2),'isSelectOnly':![],'isDangerous':!![],'reason':_0x212633(0x1a8)};return{'type':'UNKNOWN','isSelectOnly':![],'isDangerous':![]};}function extractTables(_0x21139e){const _0x2edf31=a203_0x2dcc,_0x1ff5df=_0x21139e[_0x2edf31(0x199)](/#\{[^}]*\}/g,'?')[_0x2edf31(0x199)](/\$\{[^}]*\}/g,'?')[_0x2edf31(0x199)](/'[^']*'/g,'\x27\x27')[_0x2edf31(0x199)](/--.*$/gm,'')[_0x2edf31(0x199)](/\/\*[\s\S]*?\*\//g,''),_0x5b0ae5=[],_0x8f75f2=_0x1ff5df[_0x2edf31(0x190)](/FROM\s+([^\s,)(]+)/i);if(_0x8f75f2?.[0x1])_0x5b0ae5[_0x2edf31(0x1ad)](_0x8f75f2[0x1][_0x2edf31(0x199)](/[`"]/g,''));for(const _0x385033 of _0x1ff5df[_0x2edf31(0x1b7)](/(?:INNER|LEFT|RIGHT|FULL|CROSS)?\s*JOIN\s+([^\s,)(]+)/gi)){const _0x157430=_0x385033[0x1]?.[_0x2edf31(0x199)](/[`"]/g,'');if(_0x157430&&!_0x5b0ae5['includes'](_0x157430))_0x5b0ae5['push'](_0x157430);}const _0x4cc776=_0x1ff5df['match'](/INTO\s+([^\s(]+)/i);if(_0x4cc776?.[0x1]){const _0x22d6d2=_0x4cc776[0x1]['replace'](/[`"]/g,'');if(!_0x5b0ae5[_0x2edf31(0x19d)](_0x22d6d2))_0x5b0ae5['push'](_0x22d6d2);}const _0x7c90d6=_0x1ff5df['match'](/UPDATE\s+([^\s,)(]+)/i);if(_0x7c90d6?.[0x1]){const _0x530d29=_0x7c90d6[0x1][_0x2edf31(0x199)](/[`"]/g,'');if(!_0x5b0ae5[_0x2edf31(0x19d)](_0x530d29))_0x5b0ae5[_0x2edf31(0x1ad)](_0x530d29);}return _0x5b0ae5;}function extractParameters(_0x2a9096){const _0x22c3b9=a203_0x2dcc,_0x30e81e=new Set();for(const _0x7d6940 of _0x2a9096[_0x22c3b9(0x1b7)](/#\{(\w+)\}/g))if(_0x7d6940[0x1])_0x30e81e[_0x22c3b9(0x1b4)](_0x7d6940[0x1]);for(const _0x24ecbb of _0x2a9096[_0x22c3b9(0x1b7)](/\$\{(\w+)\}/g))if(_0x24ecbb[0x1])_0x30e81e['add'](_0x24ecbb[0x1]);return Array[_0x22c3b9(0x1b0)](_0x30e81e);}export function validateSql(_0x5829ea){const _0x3d0081=a203_0x2dcc,_0x5eefa9=detectSqlType(_0x5829ea),_0x56760a=extractTables(_0x5829ea),_0x2de41c=extractParameters(_0x5829ea);if(_0x5eefa9[_0x3d0081(0x1b3)])return{'valid':![],'sqlType':_0x5eefa9,'tables':_0x56760a,'parameters':_0x2de41c,'message':_0x5eefa9['reason']||_0x5eefa9[_0x3d0081(0x195)]+_0x3d0081(0x19e)};if(_0x5eefa9['type']===_0x3d0081(0x19f))return{'valid':![],'sqlType':_0x5eefa9,'tables':_0x56760a,'parameters':_0x2de41c,'message':'Unable\x20to\x20detect\x20SQL\x20type.\x20Please\x20check\x20the\x20SQL\x20content.'};return{'valid':!![],'sqlType':_0x5eefa9,'tables':_0x56760a,'parameters':_0x2de41c,'message':_0x5eefa9[_0x3d0081(0x195)]+_0x3d0081(0x1a7)+(_0x56760a[_0x3d0081(0x19b)]?_0x56760a[_0x3d0081(0x1b1)](',\x20'):_0x3d0081(0x1aa))+(_0x2de41c[_0x3d0081(0x19b)]?_0x3d0081(0x1ac)+_0x2de41c[_0x3d0081(0x1b1)](',\x20'):'')};}
1
+ (function(_0x13a055,_0x5d93b7){const _0x577ee9=a203_0x80dd,_0xfc691b=_0x13a055();while(!![]){try{const _0x5d53d2=-parseInt(_0x577ee9(0x155))/0x1+-parseInt(_0x577ee9(0x153))/0x2+-parseInt(_0x577ee9(0x15a))/0x3+-parseInt(_0x577ee9(0x167))/0x4*(parseInt(_0x577ee9(0x152))/0x5)+parseInt(_0x577ee9(0x15c))/0x6+-parseInt(_0x577ee9(0x166))/0x7+parseInt(_0x577ee9(0x165))/0x8;if(_0x5d53d2===_0x5d93b7)break;else _0xfc691b['push'](_0xfc691b['shift']());}catch(_0x2340e5){_0xfc691b['push'](_0xfc691b['shift']());}}}(a203_0x4441,0x8b240));export function detectSqlType(_0x2e481b){const _0x430001=a203_0x80dd;if(!_0x2e481b?.['trim']())return{'type':_0x430001(0x161),'isSelectOnly':![],'isDangerous':![],'reason':_0x430001(0x14a)};const _0x97635e=_0x2e481b[_0x430001(0x16c)](/#\{[^}]*\}/g,'?')[_0x430001(0x16c)](/\$\{[^}]*\}/g,'?')[_0x430001(0x16c)](/@[^(\s]+(\([^)]*\))?/g,'')[_0x430001(0x16c)](/\/\*[\s\S]*?\*\//g,'')[_0x430001(0x159)](),_0x455b28=_0x97635e[_0x430001(0x14d)]('\x0a');let _0x27de12='';for(const _0x288474 of _0x455b28){const _0x1196ec=_0x288474['trim']();if(!_0x1196ec||_0x1196ec[_0x430001(0x15e)]('--')||_0x1196ec[_0x430001(0x15e)]('/*'))continue;_0x27de12=_0x1196ec;break;}const _0x100c8a=_0x27de12['toUpperCase']();if(_0x100c8a['startsWith'](_0x430001(0x160))||_0x100c8a['startsWith'](_0x430001(0x16b))){const _0xa41113=/\b(INSERT|UPDATE|DELETE|DROP|ALTER|CREATE|TRUNCATE)\b/i[_0x430001(0x14f)](_0x97635e);return{'type':'SELECT','isSelectOnly':!_0xa41113,'isDangerous':_0xa41113,'reason':_0xa41113?'SQL\x20contains\x20modification\x20statements\x20alongside\x20SELECT':undefined};}if(_0x100c8a[_0x430001(0x15e)]('INSERT'))return{'type':'INSERT','isSelectOnly':![],'isDangerous':![]};if(_0x100c8a['startsWith']('UPDATE'))return{'type':_0x430001(0x156),'isSelectOnly':![],'isDangerous':![]};if(_0x100c8a[_0x430001(0x15e)](_0x430001(0x15f)))return{'type':'DELETE','isSelectOnly':![],'isDangerous':!![],'reason':_0x430001(0x164)};if(/^(CREATE|ALTER|DROP|TRUNCATE)/i['test'](_0x100c8a))return{'type':_0x430001(0x15b),'isSelectOnly':![],'isDangerous':!![],'reason':_0x430001(0x168)};return{'type':_0x430001(0x161),'isSelectOnly':![],'isDangerous':![]};}function extractTables(_0x435b88){const _0x40cd30=a203_0x80dd,_0x20f5c9=_0x435b88[_0x40cd30(0x16c)](/#\{[^}]*\}/g,'?')[_0x40cd30(0x16c)](/\$\{[^}]*\}/g,'?')[_0x40cd30(0x16c)](/'[^']*'/g,'\x27\x27')[_0x40cd30(0x16c)](/--.*$/gm,'')[_0x40cd30(0x16c)](/\/\*[\s\S]*?\*\//g,''),_0x2db76e=[],_0x453d3b=_0x20f5c9[_0x40cd30(0x163)](/FROM\s+([^\s,)(]+)/i);if(_0x453d3b?.[0x1])_0x2db76e['push'](_0x453d3b[0x1][_0x40cd30(0x16c)](/[`"]/g,''));for(const _0x1a06cd of _0x20f5c9[_0x40cd30(0x154)](/(?:INNER|LEFT|RIGHT|FULL|CROSS)?\s*JOIN\s+([^\s,)(]+)/gi)){const _0x18ed94=_0x1a06cd[0x1]?.[_0x40cd30(0x16c)](/[`"]/g,'');if(_0x18ed94&&!_0x2db76e[_0x40cd30(0x157)](_0x18ed94))_0x2db76e[_0x40cd30(0x15d)](_0x18ed94);}const _0x521e00=_0x20f5c9[_0x40cd30(0x163)](/INTO\s+([^\s(]+)/i);if(_0x521e00?.[0x1]){const _0x528212=_0x521e00[0x1][_0x40cd30(0x16c)](/[`"]/g,'');if(!_0x2db76e[_0x40cd30(0x157)](_0x528212))_0x2db76e[_0x40cd30(0x15d)](_0x528212);}const _0x592e98=_0x20f5c9[_0x40cd30(0x163)](/UPDATE\s+([^\s,)(]+)/i);if(_0x592e98?.[0x1]){const _0x43adea=_0x592e98[0x1]['replace'](/[`"]/g,'');if(!_0x2db76e[_0x40cd30(0x157)](_0x43adea))_0x2db76e[_0x40cd30(0x15d)](_0x43adea);}return _0x2db76e;}function a203_0x80dd(_0x29eaf1,_0x32a43f){_0x29eaf1=_0x29eaf1-0x14a;const _0x444198=a203_0x4441();let _0x80ddbc=_0x444198[_0x29eaf1];return _0x80ddbc;}function extractParameters(_0x2a32a8){const _0x25b680=a203_0x80dd,_0xf729b3=new Set();for(const _0x32923f of _0x2a32a8['matchAll'](/#\{(\w+)\}/g))if(_0x32923f[0x1])_0xf729b3[_0x25b680(0x14c)](_0x32923f[0x1]);for(const _0x6d26a7 of _0x2a32a8[_0x25b680(0x154)](/\$\{(\w+)\}/g))if(_0x6d26a7[0x1])_0xf729b3['add'](_0x6d26a7[0x1]);return Array[_0x25b680(0x16a)](_0xf729b3);}function a203_0x4441(){const _0x3035de=['UNKNOWN','\x20with\x20parameters:\x20','match','DELETE\x20statements\x20are\x20blocked\x20from\x20auto-save','24463928JYQqCs','648403GYxZiJ','3561748UKAPis','DDL\x20statements\x20are\x20blocked\x20from\x20auto-save','isDangerous','from','WITH','replace','reason','SQL\x20content\x20is\x20empty','Unable\x20to\x20detect\x20SQL\x20type.\x20Please\x20check\x20the\x20SQL\x20content.','add','split','type','test','join','length','5DPNHUU','809244rMcZlP','matchAll','423503UobmDe','UPDATE','includes','\x20statements\x20cannot\x20be\x20auto-saved.\x20Please\x20operate\x20manually\x20on\x20the\x20platform.','trim','2221065fAoqbo','DDL','380850kwWwvg','push','startsWith','DELETE','SELECT'];a203_0x4441=function(){return _0x3035de;};return a203_0x4441();}export function validateSql(_0x4ef36f){const _0x575c16=a203_0x80dd,_0x453a5d=detectSqlType(_0x4ef36f),_0x2cfeea=extractTables(_0x4ef36f),_0x2d4fc6=extractParameters(_0x4ef36f);if(_0x453a5d[_0x575c16(0x169)])return{'valid':![],'sqlType':_0x453a5d,'tables':_0x2cfeea,'parameters':_0x2d4fc6,'message':_0x453a5d[_0x575c16(0x16d)]||_0x453a5d[_0x575c16(0x14e)]+_0x575c16(0x158)};if(_0x453a5d[_0x575c16(0x14e)]==='UNKNOWN')return{'valid':![],'sqlType':_0x453a5d,'tables':_0x2cfeea,'parameters':_0x2d4fc6,'message':_0x575c16(0x14b)};return{'valid':!![],'sqlType':_0x453a5d,'tables':_0x2cfeea,'parameters':_0x2d4fc6,'message':_0x453a5d['type']+'\x20query\x20targeting\x20'+(_0x2cfeea[_0x575c16(0x151)]?_0x2cfeea[_0x575c16(0x150)](',\x20'):'unknown\x20table(s)')+(_0x2d4fc6[_0x575c16(0x151)]?_0x575c16(0x162)+_0x2d4fc6['join'](',\x20'):'')};}
package/lib/errors.js CHANGED
@@ -1 +1 @@
1
- const a204_0x263861=a204_0x3bd2;(function(_0x263dd6,_0x587657){const _0x3c9ba4=a204_0x3bd2,_0x48d389=_0x263dd6();while(!![]){try{const _0x56660e=parseInt(_0x3c9ba4(0x89))/0x1*(-parseInt(_0x3c9ba4(0x84))/0x2)+parseInt(_0x3c9ba4(0x8b))/0x3+parseInt(_0x3c9ba4(0x81))/0x4+-parseInt(_0x3c9ba4(0x88))/0x5+-parseInt(_0x3c9ba4(0x87))/0x6*(-parseInt(_0x3c9ba4(0x86))/0x7)+parseInt(_0x3c9ba4(0x80))/0x8*(-parseInt(_0x3c9ba4(0x85))/0x9)+-parseInt(_0x3c9ba4(0x83))/0xa*(parseInt(_0x3c9ba4(0x82))/0xb);if(_0x56660e===_0x587657)break;else _0x48d389['push'](_0x48d389['shift']());}catch(_0x2a4124){_0x48d389['push'](_0x48d389['shift']());}}}(a204_0x3ce7,0x1bf46));import{CliError,createCliErrors}from'@lovrabet/cli-framework';function a204_0x3ce7(){const _0x3ba3bb=['8yOOOkQ','817192yYZkmF','55jjRtyt','17060oUAmTj','126UaRqpE','845307AnWxIL','14NMnsVe','670590bqpbLQ','1039720nWWsmX','731YfkNyF','\x20init\x20--appcode\x20<code>\x20--global`\x20registers\x20globally\x20so\x20you\x20can\x20use\x20it\x20from\x20anywhere.','129372ZXkscn','\x0a\x20\x20\x20\x20\x20\x20\x20','Run\x20`'];a204_0x3ce7=function(){return _0x3ba3bb;};return a204_0x3ce7();}import{CLI_BIN_NAME}from'./constant/cli.js';function a204_0x3bd2(_0xab0215,_0xca32d4){_0xab0215=_0xab0215-0x7e;const _0x3ce738=a204_0x3ce7();let _0x3bd2e0=_0x3ce738[_0xab0215];return _0x3bd2e0;}export{CliError};export const CliErrors=createCliErrors({'cliBinName':CLI_BIN_NAME,'authRequiredHint':a204_0x263861(0x7f)+CLI_BIN_NAME+'\x20auth`\x20to\x20login\x20first.','configMissingHint':['Set\x20appcode\x20via\x20`'+CLI_BIN_NAME+'\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','Tip:\x20`'+CLI_BIN_NAME+a204_0x263861(0x8a)]['join'](a204_0x263861(0x7e)),'notInProjectHint':'Run\x20this\x20command\x20inside\x20a\x20project\x20with\x20.rabetbase.json\x20file.'});
1
+ const a204_0x32de6=a204_0x17d6;(function(_0x223db6,_0x2eab34){const _0x13a8e8=a204_0x17d6,_0x2c9381=_0x223db6();while(!![]){try{const _0x236f66=-parseInt(_0x13a8e8(0x6a))/0x1*(-parseInt(_0x13a8e8(0x72))/0x2)+parseInt(_0x13a8e8(0x69))/0x3*(parseInt(_0x13a8e8(0x6c))/0x4)+-parseInt(_0x13a8e8(0x6d))/0x5+parseInt(_0x13a8e8(0x70))/0x6+-parseInt(_0x13a8e8(0x73))/0x7+-parseInt(_0x13a8e8(0x77))/0x8+-parseInt(_0x13a8e8(0x74))/0x9;if(_0x236f66===_0x2eab34)break;else _0x2c9381['push'](_0x2c9381['shift']());}catch(_0x1e61e9){_0x2c9381['push'](_0x2c9381['shift']());}}}(a204_0xa552,0x27983));import{CliError,createCliErrors}from'@lovrabet/cli-framework';function a204_0xa552(){const _0x5b29ed=['8138IyEeQw','701477goUcDz','1287819HTTDQT','Set\x20appcode\x20via\x20`','\x20auth`\x20to\x20login\x20first.','1148448toIxZO','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','48LWlvFv','31hsFRyz','Run\x20this\x20command\x20inside\x20a\x20project\x20with\x20.rabetbase.json\x20file.','66868yYyNRM','512095maknUe','\x0a\x20\x20\x20\x20\x20\x20\x20','Tip:\x20`','1547070TSRnxV','\x20init\x20--appcode\x20<code>\x20--global`\x20registers\x20globally\x20so\x20you\x20can\x20use\x20it\x20from\x20anywhere.'];a204_0xa552=function(){return _0x5b29ed;};return a204_0xa552();}function a204_0x17d6(_0x1281d3,_0x2109c3){_0x1281d3=_0x1281d3-0x69;const _0xa552b5=a204_0xa552();let _0x17d60e=_0xa552b5[_0x1281d3];return _0x17d60e;}import{CLI_BIN_NAME}from'./constant/cli.js';export{CliError};export const CliErrors=createCliErrors({'cliBinName':CLI_BIN_NAME,'authRequiredHint':'Run\x20`'+CLI_BIN_NAME+a204_0x32de6(0x76),'configMissingHint':[a204_0x32de6(0x75)+CLI_BIN_NAME+a204_0x32de6(0x78),a204_0x32de6(0x6f)+CLI_BIN_NAME+a204_0x32de6(0x71)]['join'](a204_0x32de6(0x6e)),'notInProjectHint':a204_0x32de6(0x6b)});
@@ -1 +1 @@
1
- (function(_0x39a2e8,_0x5b33ad){var _0x2e9726=a205_0x50d9,_0x128240=_0x39a2e8();while(!![]){try{var _0x469b0c=parseInt(_0x2e9726(0x76))/0x1*(parseInt(_0x2e9726(0x7a))/0x2)+parseInt(_0x2e9726(0x80))/0x3+-parseInt(_0x2e9726(0x7d))/0x4*(-parseInt(_0x2e9726(0x7e))/0x5)+parseInt(_0x2e9726(0x77))/0x6+-parseInt(_0x2e9726(0x7f))/0x7*(-parseInt(_0x2e9726(0x78))/0x8)+parseInt(_0x2e9726(0x7c))/0x9*(-parseInt(_0x2e9726(0x79))/0xa)+-parseInt(_0x2e9726(0x7b))/0xb;if(_0x469b0c===_0x5b33ad)break;else _0x128240['push'](_0x128240['shift']());}catch(_0x1dabdb){_0x128240['push'](_0x128240['shift']());}}}(a205_0x35c8,0x1d117));import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';function a205_0x50d9(_0x3bf9d7,_0x380f7a){_0x3bf9d7=_0x3bf9d7-0x76;var _0x35c83f=a205_0x35c8();var _0x50d948=_0x35c83f[_0x3bf9d7];return _0x50d948;}function a205_0x35c8(){var _0x231665=['33208SSBPSs','2270bOUWbL','3236FkdJDu','6480001WkEOhD','4653MHOEXK','36WAjUkc','128795JlyxDu','329urlwmX','590133HKnRwt','104yNVViR','201612xalWJV'];a205_0x35c8=function(){return _0x231665;};return a205_0x35c8();}import{buildAllFlags as a205_0x4becba}from'@lovrabet/cli-framework';export function buildAllFlags(_0xd950ea){return a205_0x4becba(_0xd950ea,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});}
1
+ (function(_0x1e23cb,_0x2510f4){var _0x13addb=a205_0x5988,_0x235eb8=_0x1e23cb();while(!![]){try{var _0x5ee6ce=-parseInt(_0x13addb(0x12d))/0x1+parseInt(_0x13addb(0x128))/0x2*(-parseInt(_0x13addb(0x127))/0x3)+parseInt(_0x13addb(0x126))/0x4*(parseInt(_0x13addb(0x12a))/0x5)+-parseInt(_0x13addb(0x124))/0x6+-parseInt(_0x13addb(0x123))/0x7*(-parseInt(_0x13addb(0x12b))/0x8)+parseInt(_0x13addb(0x12c))/0x9*(-parseInt(_0x13addb(0x129))/0xa)+parseInt(_0x13addb(0x125))/0xb;if(_0x5ee6ce===_0x2510f4)break;else _0x235eb8['push'](_0x235eb8['shift']());}catch(_0x1f2acf){_0x235eb8['push'](_0x235eb8['shift']());}}}(a205_0x4214,0x40238));import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';function a205_0x4214(){var _0x316a4a=['843785rdiVtc','40gDHtYQ','1527993zVMOiv','170635TIywZl','82131EYfXmd','2966388mxOrTL','6961284nRlasp','12NeFynQ','300774xgWFgC','2bLIgMc','10WKZDxk'];a205_0x4214=function(){return _0x316a4a;};return a205_0x4214();}import{buildAllFlags as a205_0x19b46e}from'@lovrabet/cli-framework';function a205_0x5988(_0x506859,_0x5e9435){_0x506859=_0x506859-0x123;var _0x42141e=a205_0x4214();var _0x59889e=_0x42141e[_0x506859];return _0x59889e;}export function buildAllFlags(_0x1a0f1a){return a205_0x19b46e(_0x1a0f1a,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});}
@@ -1 +1 @@
1
- const a206_0x5c76ac=a206_0x5139;function a206_0x3851(){const _0x5223fa=['19pQeBlM','5523516whhwsX','4653260bUTAnO','24ROWljO','2738351eSPEMK','validateFlags','10wcHpVR','48156966jpUWOr','4GiiEcO','8767332mkUgku','parseFlags','377874IOGRrs','147038JOHUnh'];a206_0x3851=function(){return _0x5223fa;};return a206_0x3851();}(function(_0x17a9e3,_0x5b7faa){const _0x351ee2=a206_0x5139,_0x5d9dcd=_0x17a9e3();while(!![]){try{const _0x37bbc3=parseInt(_0x351ee2(0x1f3))/0x1*(-parseInt(_0x351ee2(0x1f2))/0x2)+-parseInt(_0x351ee2(0x1fe))/0x3*(parseInt(_0x351ee2(0x1fb))/0x4)+parseInt(_0x351ee2(0x1f5))/0x5+-parseInt(_0x351ee2(0x1f4))/0x6+-parseInt(_0x351ee2(0x1f7))/0x7*(parseInt(_0x351ee2(0x1f6))/0x8)+parseInt(_0x351ee2(0x1fc))/0x9*(-parseInt(_0x351ee2(0x1f9))/0xa)+parseInt(_0x351ee2(0x1fa))/0xb;if(_0x37bbc3===_0x5b7faa)break;else _0x5d9dcd['push'](_0x5d9dcd['shift']());}catch(_0x2d685c){_0x5d9dcd['push'](_0x5d9dcd['shift']());}}}(a206_0x3851,0xaf272));import{createFlagHelpers}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a206_0x5139(_0x2b777f,_0x5df964){_0x2b777f=_0x2b777f-0x1f2;const _0x3851a4=a206_0x3851();let _0x51398a=_0x3851a4[_0x2b777f];return _0x51398a;}const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers[a206_0x5c76ac(0x1fd)];export const validateFlags=helpers[a206_0x5c76ac(0x1f8)];
1
+ const a206_0x34d9d9=a206_0x3c4f;function a206_0x1f9a(){const _0x531d1d=['parseFlags','27338146OnNBkM','32MCxTQu','151749SOfXkM','276vyjkpE','917708pWQtmi','3260675tDJIBq','4257544NcRtPa','3SLIynK','10Picwxd','1336508SoraPv','18109ykLOBf'];a206_0x1f9a=function(){return _0x531d1d;};return a206_0x1f9a();}(function(_0xbc1baf,_0x3c22b0){const _0x300d2a=a206_0x3c4f,_0x3dd9ac=_0xbc1baf();while(!![]){try{const _0x26b232=-parseInt(_0x300d2a(0x19e))/0x1+parseInt(_0x300d2a(0x197))/0x2*(-parseInt(_0x300d2a(0x195))/0x3)+-parseInt(_0x300d2a(0x194))/0x4+parseInt(_0x300d2a(0x19f))/0x5+parseInt(_0x300d2a(0x19d))/0x6*(parseInt(_0x300d2a(0x198))/0x7)+parseInt(_0x300d2a(0x19b))/0x8*(-parseInt(_0x300d2a(0x19c))/0x9)+parseInt(_0x300d2a(0x196))/0xa*(parseInt(_0x300d2a(0x19a))/0xb);if(_0x26b232===_0x3c22b0)break;else _0x3dd9ac['push'](_0x3dd9ac['shift']());}catch(_0x32c8bd){_0x3dd9ac['push'](_0x3dd9ac['shift']());}}}(a206_0x1f9a,0x83807));function a206_0x3c4f(_0x55a976,_0x5cc89f){_0x55a976=_0x55a976-0x194;const _0x1f9a28=a206_0x1f9a();let _0x3c4fbe=_0x1f9a28[_0x55a976];return _0x3c4fbe;}import{createFlagHelpers}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers[a206_0x34d9d9(0x199)];export const validateFlags=helpers['validateFlags'];
@@ -1 +1 @@
1
- const a207_0x320bed=a207_0x5d82;(function(_0x508e90,_0x130d31){const _0x310bd5=a207_0x5d82,_0x29404d=_0x508e90();while(!![]){try{const _0x4a3f67=parseInt(_0x310bd5(0x12f))/0x1*(-parseInt(_0x310bd5(0x12e))/0x2)+parseInt(_0x310bd5(0x128))/0x3*(parseInt(_0x310bd5(0x121))/0x4)+parseInt(_0x310bd5(0x123))/0x5+parseInt(_0x310bd5(0x122))/0x6+-parseInt(_0x310bd5(0x12a))/0x7*(parseInt(_0x310bd5(0x124))/0x8)+parseInt(_0x310bd5(0x12b))/0x9+-parseInt(_0x310bd5(0x12c))/0xa;if(_0x4a3f67===_0x130d31)break;else _0x29404d['push'](_0x29404d['shift']());}catch(_0x1f3059){_0x29404d['push'](_0x29404d['shift']());}}}(a207_0x1c8a,0x62184));import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';function a207_0x5d82(_0x287a28,_0xa3eda2){_0x287a28=_0x287a28-0x121;const _0x1c8a8f=a207_0x1c8a();let _0x5d8250=_0x1c8a8f[_0x287a28];return _0x5d8250;}const generators=createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x480963=>serviceGroups[a207_0x320bed(0x130)](_0x480963),'buildAllFlags':buildAllFlags,'appPrerequisiteText':a207_0x320bed(0x127)+CLI_BIN_NAME+a207_0x320bed(0x12d),'serviceUsageSuffix':a207_0x320bed(0x125)});export function generateCommandHelp(_0xc1cd29){return generators['generateCommandHelp'](_0xc1cd29);}export const generateServiceHelp=generators[a207_0x320bed(0x129)];export const generateFullHelp=generators[a207_0x320bed(0x126)];function a207_0x1c8a(){const _0x15936b=['2057898kkbwOZ','419030XRrhbW','16HrYYWv','\x20[args]\x20[flags]','generateFullHelp','Requires\x20appcode\x20(set\x20via\x20`','708PnWStA','generateServiceHelp','188594IBeBOK','6558912Tsxvpb','10018350MsDppn','\x20workspace\x20init`\x20or\x20--appcode).','614iZyaoA','1082ibRDig','get','10748mrdKvI'];a207_0x1c8a=function(){return _0x15936b;};return a207_0x1c8a();}
1
+ const a207_0x4a25bb=a207_0x4e9c;(function(_0x374bd8,_0xe671de){const _0x1c8b79=a207_0x4e9c,_0xf44365=_0x374bd8();while(!![]){try{const _0xe8a8a7=parseInt(_0x1c8b79(0xe9))/0x1*(parseInt(_0x1c8b79(0xf2))/0x2)+-parseInt(_0x1c8b79(0xea))/0x3*(-parseInt(_0x1c8b79(0xf6))/0x4)+parseInt(_0x1c8b79(0xeb))/0x5*(parseInt(_0x1c8b79(0xf5))/0x6)+-parseInt(_0x1c8b79(0xf4))/0x7*(parseInt(_0x1c8b79(0xef))/0x8)+parseInt(_0x1c8b79(0xf0))/0x9*(parseInt(_0x1c8b79(0xf3))/0xa)+-parseInt(_0x1c8b79(0xed))/0xb+-parseInt(_0x1c8b79(0xee))/0xc;if(_0xe8a8a7===_0xe671de)break;else _0xf44365['push'](_0xf44365['shift']());}catch(_0x341aa3){_0xf44365['push'](_0xf44365['shift']());}}}(a207_0x1fb6,0x591d1));function a207_0x1fb6(){const _0x3c70cf=['4088ToJZdF','315ZDgcDu','generateServiceHelp','2YwQyKD','146470kziwAf','7770DtjpHD','2816502GgbHmb','284FtNEwA','\x20[args]\x20[flags]','generateFullHelp','254953MeoFvo','15099aXqyCB','5VyyDKK','generateCommandHelp','1631476qmoZoN','6165876LJJKfv'];a207_0x1fb6=function(){return _0x3c70cf;};return a207_0x1fb6();}import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';function a207_0x4e9c(_0x555227,_0x3a46a8){_0x555227=_0x555227-0xe8;const _0x1fb687=a207_0x1fb6();let _0x4e9cf6=_0x1fb687[_0x555227];return _0x4e9cf6;}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':_0xe0619c=>serviceGroups['get'](_0xe0619c),'buildAllFlags':buildAllFlags,'appPrerequisiteText':'Requires\x20appcode\x20(set\x20via\x20`'+CLI_BIN_NAME+'\x20workspace\x20init`\x20or\x20--appcode).','serviceUsageSuffix':a207_0x4a25bb(0xf7)});export function generateCommandHelp(_0x412c32){const _0x44311f=a207_0x4a25bb;return generators[_0x44311f(0xec)](_0x412c32);}export const generateServiceHelp=generators[a207_0x4a25bb(0xf1)];export const generateFullHelp=generators[a207_0x4a25bb(0xe8)];
@@ -1 +1 @@
1
- function a208_0x5a3e(){var _0x41c1ee=['34641vrQSIm','14QxYMHG','963835uMGTnE','1474989RBJvWb','1991226BowHtv','4136664oXqdjX','2288745dbTpIM','719980zNvTTm','24LWxUOc','33JiQBml','4CRRrVq'];a208_0x5a3e=function(){return _0x41c1ee;};return a208_0x5a3e();}(function(_0x10b02d,_0x21d792){var _0x21e616=a208_0x2c50,_0x23e7d7=_0x10b02d();while(!![]){try{var _0x260903=-parseInt(_0x21e616(0x18f))/0x1*(-parseInt(_0x21e616(0x18c))/0x2)+parseInt(_0x21e616(0x192))/0x3+parseInt(_0x21e616(0x18e))/0x4*(parseInt(_0x21e616(0x191))/0x5)+parseInt(_0x21e616(0x193))/0x6*(-parseInt(_0x21e616(0x190))/0x7)+-parseInt(_0x21e616(0x194))/0x8+parseInt(_0x21e616(0x195))/0x9+-parseInt(_0x21e616(0x196))/0xa*(-parseInt(_0x21e616(0x18d))/0xb);if(_0x260903===_0x21d792)break;else _0x23e7d7['push'](_0x23e7d7['shift']());}catch(_0x11458d){_0x23e7d7['push'](_0x23e7d7['shift']());}}}(a208_0x5a3e,0x5f1dc));export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';function a208_0x2c50(_0xb5faad,_0xb92910){_0xb5faad=_0xb5faad-0x18c;var _0x5a3ef5=a208_0x5a3e();var _0x2c50ff=_0x5a3ef5[_0xb5faad];return _0x2c50ff;}export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';export{riskLevelOrder}from'../framework/types.js';
1
+ (function(_0xa8aad,_0x368b57){var _0x2c0c52=a208_0xe3e2,_0x1248e7=_0xa8aad();while(!![]){try{var _0x5c33ab=-parseInt(_0x2c0c52(0xbb))/0x1*(parseInt(_0x2c0c52(0xbc))/0x2)+-parseInt(_0x2c0c52(0xbd))/0x3+-parseInt(_0x2c0c52(0xb9))/0x4*(-parseInt(_0x2c0c52(0xc0))/0x5)+-parseInt(_0x2c0c52(0xc1))/0x6*(parseInt(_0x2c0c52(0xc2))/0x7)+parseInt(_0x2c0c52(0xba))/0x8+parseInt(_0x2c0c52(0xbe))/0x9*(parseInt(_0x2c0c52(0xbf))/0xa)+-parseInt(_0x2c0c52(0xc3))/0xb*(parseInt(_0x2c0c52(0xb8))/0xc);if(_0x5c33ab===_0x368b57)break;else _0x1248e7['push'](_0x1248e7['shift']());}catch(_0x2229a1){_0x1248e7['push'](_0x1248e7['shift']());}}}(a208_0x30e9,0x53e0b));export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';function a208_0xe3e2(_0x26016c,_0x20d4b0){_0x26016c=_0x26016c-0xb8;var _0x30e907=a208_0x30e9();var _0xe3e246=_0x30e907[_0x26016c];return _0xe3e246;}export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';function a208_0x30e9(){var _0x2388cb=['6eZtWUZ','937132XUBtNw','373593GuDoXY','108VVufdA','3448LrRMDp','4801864EgMuOh','4189HJMUBg','178NvFemn','1640334WROqbt','9wSQyko','6042360ZgRRlc','2890GBQSQV'];a208_0x30e9=function(){return _0x2388cb;};return a208_0x30e9();}export{riskLevelOrder}from'../framework/types.js';
@@ -1 +1 @@
1
- (function(_0x44860f,_0x16f712){const _0x31b186=a209_0x1ada,_0x292189=_0x44860f();while(!![]){try{const _0xeabacd=parseInt(_0x31b186(0x93))/0x1*(-parseInt(_0x31b186(0x87))/0x2)+parseInt(_0x31b186(0x8b))/0x3*(parseInt(_0x31b186(0x90))/0x4)+-parseInt(_0x31b186(0x8e))/0x5+parseInt(_0x31b186(0x89))/0x6*(-parseInt(_0x31b186(0x91))/0x7)+-parseInt(_0x31b186(0x88))/0x8+parseInt(_0x31b186(0x8a))/0x9*(parseInt(_0x31b186(0x94))/0xa)+parseInt(_0x31b186(0x8d))/0xb;if(_0xeabacd===_0x16f712)break;else _0x292189['push'](_0x292189['shift']());}catch(_0x506114){_0x292189['push'](_0x292189['shift']());}}}(a209_0x2dbf,0x84023));function a209_0x2dbf(){const _0x39cec5=['format','38774vDwNml','1903200diHxph','12fFrMVH','1526427PuTQfJ','136872VHLaur','pretty','11041976RkbvAp','1572660YdoFvp','message','12aSgOZd','2201591hBoNjF','url','5DPyEfv','40OrAgzi','update','error'];a209_0x2dbf=function(){return _0x39cec5;};return a209_0x2dbf();}import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';const baseFormatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});function a209_0x1ada(_0x2fe54f,_0x4767b7){_0x2fe54f=_0x2fe54f-0x85;const _0x2dbf96=a209_0x2dbf();let _0x1ada57=_0x2dbf96[_0x2fe54f];return _0x1ada57;}export function formatOutput(_0x39a37b,_0x536e6b){const _0x2bd2d5=a209_0x1ada,_0x22dded=_0x39a37b['_notice'],{_notice:_0x6a52c8,..._0x4f7cfb}=_0x39a37b;void _0x6a52c8,baseFormatOutput(_0x4f7cfb,_0x536e6b),_0x536e6b[_0x2bd2d5(0x86)]===_0x2bd2d5(0x8c)&&printPrettyNotice(_0x22dded);}function printPrettyNotice(_0x46c60f){const _0x276507=a209_0x1ada;if(!_0x46c60f?.[_0x276507(0x95)])return;console[_0x276507(0x85)](_0x46c60f[_0x276507(0x95)][_0x276507(0x8f)]+'\x20('+_0x46c60f[_0x276507(0x95)][_0x276507(0x92)]+')');}
1
+ (function(_0x490ac7,_0x2a9428){const _0x1b8072=a209_0x5122,_0x4f0e89=_0x490ac7();while(!![]){try{const _0x582020=-parseInt(_0x1b8072(0xd2))/0x1*(-parseInt(_0x1b8072(0xd9))/0x2)+-parseInt(_0x1b8072(0xd8))/0x3+-parseInt(_0x1b8072(0xd4))/0x4+-parseInt(_0x1b8072(0xda))/0x5+-parseInt(_0x1b8072(0xd6))/0x6*(-parseInt(_0x1b8072(0xdb))/0x7)+parseInt(_0x1b8072(0xd0))/0x8+parseInt(_0x1b8072(0xd7))/0x9;if(_0x582020===_0x2a9428)break;else _0x4f0e89['push'](_0x4f0e89['shift']());}catch(_0x4cf400){_0x4f0e89['push'](_0x4f0e89['shift']());}}}(a209_0x5a34,0xeb7fe));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a209_0x5122(_0x3869d7,_0x505b4b){_0x3869d7=_0x3869d7-0xd0;const _0x5a34e7=a209_0x5a34();let _0x5122bb=_0x5a34e7[_0x3869d7];return _0x5122bb;}const baseFormatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});export function formatOutput(_0x328a27,_0x5c566a){const _0x5a3b8b=a209_0x5122,_0x1280ec=_0x328a27[_0x5a3b8b(0xd1)],{_notice:_0x1a2901,..._0x27df58}=_0x328a27;void _0x1a2901,baseFormatOutput(_0x27df58,_0x5c566a),_0x5c566a['format']==='pretty'&&printPrettyNotice(_0x1280ec);}function a209_0x5a34(){const _0x126960=['6286964vkSaJY','update','6JzCOxl','10484496WvzWJY','5772303clnXAr','2aLtWiM','3911945zsgqvq','9907688zSUOXu','9820264VjPbPU','_notice','1434976VfqpPc','message'];a209_0x5a34=function(){return _0x126960;};return a209_0x5a34();}function printPrettyNotice(_0x13bef7){const _0x4d774d=a209_0x5122;if(!_0x13bef7?.[_0x4d774d(0xd5)])return;console['error'](_0x13bef7[_0x4d774d(0xd5)][_0x4d774d(0xd3)]+'\x20('+_0x13bef7[_0x4d774d(0xd5)]['url']+')');}
@@ -1 +1 @@
1
- (function(_0xb7d6c2,_0x5e2838){var _0x56f18f=a210_0x2e9d,_0xc57010=_0xb7d6c2();while(!![]){try{var _0x27d9e8=parseInt(_0x56f18f(0x120))/0x1+parseInt(_0x56f18f(0x123))/0x2+parseInt(_0x56f18f(0x124))/0x3+-parseInt(_0x56f18f(0x126))/0x4*(-parseInt(_0x56f18f(0x11d))/0x5)+-parseInt(_0x56f18f(0x122))/0x6*(-parseInt(_0x56f18f(0x121))/0x7)+-parseInt(_0x56f18f(0x125))/0x8*(-parseInt(_0x56f18f(0x11f))/0x9)+-parseInt(_0x56f18f(0x11e))/0xa;if(_0x27d9e8===_0x5e2838)break;else _0xc57010['push'](_0xc57010['shift']());}catch(_0x4e752e){_0xc57010['push'](_0xc57010['shift']());}}}(a210_0x2909,0x693c4));function a210_0x2909(){var _0xa7a5d=['11312KkjDib','930Ogbrzw','1613268ejVkoU','2451834PbvJYZ','24ryCHUD','2050924JaTQUd','5JAxmfD','27054950jSWzWt','1503081PWLKsC','248389xDcyma'];a210_0x2909=function(){return _0xa7a5d;};return a210_0x2909();}function a210_0x2e9d(_0x4b886c,_0x1f75bc){_0x4b886c=_0x4b886c-0x11d;var _0x290991=a210_0x2909();var _0x2e9d20=_0x290991[_0x4b886c];return _0x2e9d20;}export{extractList,extractPaging}from'@lovrabet/cli-framework';
1
+ (function(_0x37e042,_0x1f0ec7){var _0xa8de9f=a210_0x4227,_0x38509c=_0x37e042();while(!![]){try{var _0x46951b=parseInt(_0xa8de9f(0x1db))/0x1*(-parseInt(_0xa8de9f(0x1cf))/0x2)+parseInt(_0xa8de9f(0x1d3))/0x3*(-parseInt(_0xa8de9f(0x1d1))/0x4)+-parseInt(_0xa8de9f(0x1d4))/0x5+parseInt(_0xa8de9f(0x1d9))/0x6*(parseInt(_0xa8de9f(0x1da))/0x7)+parseInt(_0xa8de9f(0x1d7))/0x8*(parseInt(_0xa8de9f(0x1d6))/0x9)+parseInt(_0xa8de9f(0x1d5))/0xa*(parseInt(_0xa8de9f(0x1d8))/0xb)+parseInt(_0xa8de9f(0x1d2))/0xc*(-parseInt(_0xa8de9f(0x1d0))/0xd);if(_0x46951b===_0x1f0ec7)break;else _0x38509c['push'](_0x38509c['shift']());}catch(_0x5f137e){_0x38509c['push'](_0x38509c['shift']());}}}(a210_0x2ee8,0x33afb));function a210_0x4227(_0x39def7,_0x5c3edf){_0x39def7=_0x39def7-0x1cf;var _0x2ee8df=a210_0x2ee8();var _0x422710=_0x2ee8df[_0x39def7];return _0x422710;}export{extractList,extractPaging}from'@lovrabet/cli-framework';function a210_0x2ee8(){var _0x5b6509=['160KpXZot','1132417yjAIEv','6yLJkbp','1714293DFonch','9gpnBPj','1594FvkxOV','208zSCQOS','4SMDSSK','313776mFpnoc','888357UrdULY','669400Aumlcu','40WhRYcB','184752cscXwG'];a210_0x2ee8=function(){return _0x5b6509;};return a210_0x2ee8();}
@@ -1 +1 @@
1
- (function(_0x48ebed,_0x4bf86b){const _0x38eafa=a211_0x5c77,_0x1a1e40=_0x48ebed();while(!![]){try{const _0x19a1cc=parseInt(_0x38eafa(0xb5))/0x1+parseInt(_0x38eafa(0xa9))/0x2*(-parseInt(_0x38eafa(0xb4))/0x3)+parseInt(_0x38eafa(0xaf))/0x4+parseInt(_0x38eafa(0xb6))/0x5+parseInt(_0x38eafa(0xbc))/0x6+-parseInt(_0x38eafa(0xb8))/0x7*(-parseInt(_0x38eafa(0xac))/0x8)+-parseInt(_0x38eafa(0xb0))/0x9;if(_0x19a1cc===_0x4bf86b)break;else _0x1a1e40['push'](_0x1a1e40['shift']());}catch(_0x1c0c67){_0x1a1e40['push'](_0x1a1e40['shift']());}}}(a211_0x9ffe,0x61636));function a211_0x5c77(_0x52f080,_0x33a8ce){_0x52f080=_0x52f080-0xa8;const _0x9ffe91=a211_0x9ffe();let _0x5c774b=_0x9ffe91[_0x52f080];return _0x5c774b;}import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';function a211_0x9ffe(){const _0x608f3=['string','2291536jVQhVO','5620383bQQykF','alias','\x20api\x20pull`\x20first.','map','6pOGkMk','180447FPMNIi','507745jRqvNm','validation','2823891uwfzio','code','`\x20requires\x20either\x20--code\x20or\x20--alias.','flags','749124NXqgPe','Unknown\x20alias\x20\x22','Available\x20aliases:\x20','359758wXBSKN','type','name','8mrBqcT','length'];a211_0x9ffe=function(){return _0x608f3;};return a211_0x9ffe();}import{CLI_BIN_NAME}from'../constant/cli.js';export function resolveAliasToCode(_0x29cd4e,_0x5d9e78,_0x18d372,_0x3cbb2f){const _0x53f405=a211_0x5c77,_0x4683d3=_0x29cd4e[_0x53f405(0xbb)]['some'](_0x223520=>_0x223520['name']===_0x53f405(0xb9)&&_0x223520['type']===_0x53f405(0xae)),_0x3a17c4=_0x29cd4e[_0x53f405(0xbb)]['some'](_0x41c927=>_0x41c927[_0x53f405(0xab)]===_0x53f405(0xb1)&&_0x41c927[_0x53f405(0xaa)]===_0x53f405(0xae));if(!_0x4683d3||!_0x3a17c4)return;const _0x2176c0=_0x5d9e78[_0x53f405(0xb9)]?String(_0x5d9e78['code']):'',_0x545e78=_0x5d9e78[_0x53f405(0xb1)]?String(_0x5d9e78[_0x53f405(0xb1)]):'';if(!_0x2176c0&&!_0x545e78)throw CliErrors[_0x53f405(0xb7)]('`'+_0x3cbb2f+_0x53f405(0xba));if(_0x545e78&&!_0x2176c0){const _0x47c61d=resolveAlias(_0x18d372,_0x545e78);if(!_0x47c61d){const _0x251d96=listAliases(_0x18d372)[_0x53f405(0xb3)](_0x3af135=>_0x3af135[_0x53f405(0xb1)]),_0x31bee5=_0x251d96[_0x53f405(0xad)]?_0x53f405(0xa8)+_0x251d96['join'](',\x20'):'No\x20api.ts\x20found\x20in\x20'+_0x18d372+'.\x20Run\x20`'+CLI_BIN_NAME+_0x53f405(0xb2);throw CliErrors[_0x53f405(0xb7)](_0x53f405(0xbd)+_0x545e78+'\x22.\x20'+_0x31bee5);}_0x5d9e78[_0x53f405(0xb9)]=_0x47c61d;}}
1
+ (function(_0x472378,_0x8cb2bb){const _0x28571e=a211_0x2e04,_0x41f634=_0x472378();while(!![]){try{const _0x3473a2=parseInt(_0x28571e(0xc1))/0x1+-parseInt(_0x28571e(0xc0))/0x2+-parseInt(_0x28571e(0xbb))/0x3+-parseInt(_0x28571e(0xc8))/0x4+-parseInt(_0x28571e(0xc2))/0x5*(parseInt(_0x28571e(0xbe))/0x6)+parseInt(_0x28571e(0xc6))/0x7+-parseInt(_0x28571e(0xcd))/0x8*(-parseInt(_0x28571e(0xc9))/0x9);if(_0x3473a2===_0x8cb2bb)break;else _0x41f634['push'](_0x41f634['shift']());}catch(_0x4a1b32){_0x41f634['push'](_0x41f634['shift']());}}}(a211_0x590c,0xbc90b));function a211_0x2e04(_0x11e299,_0x4dcbbd){_0x11e299=_0x11e299-0xb9;const _0x590c62=a211_0x590c();let _0x2e0455=_0x590c62[_0x11e299];return _0x2e0455;}import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';function a211_0x590c(){const _0x47ac23=['join','`\x20requires\x20either\x20--code\x20or\x20--alias.','validation','2168019TYASsQ','string','alias','56262aUauUx','flags','2537570FMbmcR','547196jRxMmZ','815qoKjoN','\x22.\x20','name','Unknown\x20alias\x20\x22','10764887qvBBEP','code','355960ErTGcd','477YIEDeZ','some','\x20api\x20pull`\x20first.','type','346600VPavhe'];a211_0x590c=function(){return _0x47ac23;};return a211_0x590c();}import{CLI_BIN_NAME}from'../constant/cli.js';export function resolveAliasToCode(_0xd36d50,_0x46c8ec,_0x2f610c,_0x27d3e1){const _0x167340=a211_0x2e04,_0x49213b=_0xd36d50[_0x167340(0xbf)][_0x167340(0xca)](_0x282759=>_0x282759['name']===_0x167340(0xc7)&&_0x282759[_0x167340(0xcc)]===_0x167340(0xbc)),_0x5c79f9=_0xd36d50['flags'][_0x167340(0xca)](_0x48f710=>_0x48f710[_0x167340(0xc4)]==='alias'&&_0x48f710[_0x167340(0xcc)]===_0x167340(0xbc));if(!_0x49213b||!_0x5c79f9)return;const _0x57778c=_0x46c8ec[_0x167340(0xc7)]?String(_0x46c8ec[_0x167340(0xc7)]):'',_0x1e739d=_0x46c8ec[_0x167340(0xbd)]?String(_0x46c8ec[_0x167340(0xbd)]):'';if(!_0x57778c&&!_0x1e739d)throw CliErrors[_0x167340(0xba)]('`'+_0x27d3e1+_0x167340(0xb9));if(_0x1e739d&&!_0x57778c){const _0x441f3c=resolveAlias(_0x2f610c,_0x1e739d);if(!_0x441f3c){const _0x1912d4=listAliases(_0x2f610c)['map'](_0x28fb30=>_0x28fb30[_0x167340(0xbd)]),_0x425c8f=_0x1912d4['length']?'Available\x20aliases:\x20'+_0x1912d4[_0x167340(0xce)](',\x20'):'No\x20api.ts\x20found\x20in\x20'+_0x2f610c+'.\x20Run\x20`'+CLI_BIN_NAME+_0x167340(0xcb);throw CliErrors[_0x167340(0xba)](_0x167340(0xc5)+_0x1e739d+_0x167340(0xc3)+_0x425c8f);}_0x46c8ec[_0x167340(0xc7)]=_0x441f3c;}}
@@ -1 +1 @@
1
- const a212_0x4238db=a212_0x19c8;(function(_0x4828ce,_0x38a32b){const _0x287b2f=a212_0x19c8,_0x5e2b7d=_0x4828ce();while(!![]){try{const _0x600ec8=parseInt(_0x287b2f(0x152))/0x1*(parseInt(_0x287b2f(0x165))/0x2)+-parseInt(_0x287b2f(0x157))/0x3*(parseInt(_0x287b2f(0x17a))/0x4)+parseInt(_0x287b2f(0x172))/0x5+-parseInt(_0x287b2f(0x151))/0x6*(-parseInt(_0x287b2f(0x15e))/0x7)+-parseInt(_0x287b2f(0x149))/0x8*(-parseInt(_0x287b2f(0x161))/0x9)+parseInt(_0x287b2f(0x179))/0xa+-parseInt(_0x287b2f(0x174))/0xb;if(_0x600ec8===_0x38a32b)break;else _0x5e2b7d['push'](_0x5e2b7d['shift']());}catch(_0x5b7c98){_0x5e2b7d['push'](_0x5e2b7d['shift']());}}}(a212_0x395a,0xcec37));import{resolveCommandAuthMode,runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';import{getCookie}from'../auth/get-cookie.js';import{getApiDomain}from'../constant/domain.js';import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{DEFAULT_API_DIR}from'../constant/paths.js';import{isNonInteractive as a212_0x54c77c}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x239fd1){const _0x54e3fd=a212_0x19c8;return typeof _0x239fd1===_0x54e3fd(0x153)&&_0x239fd1[_0x54e3fd(0x15f)]()?_0x239fd1[_0x54e3fd(0x15f)]():undefined;}function resolveEnvAppCode(){const _0x1e970d=a212_0x19c8,_0x36e5c6=stringFlag(process.env.RABETBASE_APPCODE);if(_0x36e5c6)return{'name':_0x1e970d(0x16d),'value':_0x36e5c6};const _0x4c8ac4=stringFlag(process.env.LOVRABET_APPCODE);if(_0x4c8ac4)return{'name':_0x1e970d(0x154),'value':_0x4c8ac4};return undefined;}function hasExplicitAppCode(_0x2f51f5,_0x3805d9){const _0x21a684=a212_0x19c8;return!!(stringFlag(_0x2f51f5['appcode'])||stringFlag(_0x3805d9[_0x21a684(0x16f)]));}function a212_0x395a(){const _0x3ea32d=['../core/api-client.js','schema','3970275gRPWnh','cookie','object','No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.','selectedAppName','catch','none','350hgUFqI','trim','name','1070163GDerKg','service','mergedCli','Set\x20appcode\x20via\x20`','3022538rNSrWc','nonInteractive','\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20','resolve','\x20\x20\x20Continue?\x20[y/N]\x20','execute','hasFormat','validation','RABETBASE_APPCODE','map','appcode','apiDir','apps','5456585UpRARS','Current\x20resolved\x20appcode\x20is\x20\x22','38076896BCjMTo','_notice','pageSize','resolveApiDomain','filter','10474720YMrFIA','4PhhThH','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','explicitAppName','command','resolveCookie','pretty','resolveAppCode','includes','defaultPageSize','format','configMissing','64WaDphr','High-risk\x20operation\x20`','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','value','appCode','cancelled','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','isNonInteractive','123666ViLgXt','1YUoVFZ','string','LOVRABET_APPCODE'];a212_0x395a=function(){return _0x3ea32d;};return a212_0x395a();}function assertEnvAppCodeNotIgnored(_0xc0143d,_0x69f348,_0x594269){const _0x19beb5=a212_0x19c8;if(!_0x69f348||_0x594269||_0xc0143d===_0x69f348[_0x19beb5(0x14c)])return;const _0x1b1ec5=_0xc0143d?_0x19beb5(0x173)+_0xc0143d+'\x22.':_0x19beb5(0x15a);throw CliErrors[_0x19beb5(0x16c)](_0x69f348[_0x19beb5(0x160)]+'='+_0x69f348[_0x19beb5(0x14c)]+_0x19beb5(0x167)+_0x1b1ec5+'\x20'+(_0x19beb5(0x14f)+_0x69f348[_0x19beb5(0x160)]+'\x22.'));}export function createPipelineEnv(_0x2ca9e5,_0x12c09e,_0x51f6af=[]){const _0x20138c=a212_0x19c8;return{'rawFlags':_0x12c09e,'args':_0x51f6af,'resolveAppCode':()=>_0x2ca9e5[_0x20138c(0x14d)],'resolveCookie':()=>_0x2ca9e5[_0x20138c(0x158)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a212_0x54c77c(_0x12c09e),'defaultFormat':_0x2ca9e5[_0x20138c(0x147)],'defaultPageSize':_0x2ca9e5[_0x20138c(0x176)],'defaultVerbose':_0x2ca9e5['verbose'],'apiDir':_0x2ca9e5[_0x20138c(0x170)],'riskLevel':_0x2ca9e5['riskLevel'],'selectedAppName':_0x2ca9e5[_0x20138c(0x17c)],'mergedCli':{'defaultApp':_0x2ca9e5['defaultApp'],'currentApp':_0x2ca9e5['currentApp'],'appCode':_0x2ca9e5['appCode'],'apps':_0x2ca9e5[_0x20138c(0x171)]}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[a212_0x4238db(0x178)](_0x554389=>PIPELINE_FLAG_NAMES['has'](_0x554389[a212_0x4238db(0x160)]))[a212_0x4238db(0x16e)](({name:_0x381bab,type:_0x361a08,description:_0x3b48f8})=>({'name':_0x381bab,'type':_0x361a08,'description':_0x3b48f8})),'formatOutput':formatOutput,'getCommandLabel'(_0x5181cf){const _0x128d62=a212_0x4238db;return CLI_BIN_NAME+'\x20'+_0x5181cf['service']+'\x20'+_0x5181cf[_0x128d62(0x17d)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x3b12f6){const _0x2102a9=a212_0x4238db;return CliErrors[_0x2102a9(0x16c)](_0x3b12f6);}},async 'prepare'(_0x4c2bc4,_0x29275a,_0xc0a269,_0x4f030b){const _0x36fd89=a212_0x4238db,_0x3cfb55=_0x29275a[_0x36fd89(0x170)]||DEFAULT_API_DIR;resolveAliasToCode(_0x4c2bc4,_0xc0a269,_0x3cfb55,_0x4f030b);const _0x4a9b16=resolveCommandAuthMode(_0x4c2bc4);let _0x38a3d5='';if(_0x4a9b16!==_0x36fd89(0x15d)){_0x38a3d5=_0x29275a[_0x36fd89(0x17e)]()||'';if(!_0x38a3d5){if(_0x4a9b16==='required')throw CliErrors['authRequired']();}else{const {setActiveCookie:_0x1004ba}=await import('../core/api-client.js');_0x1004ba(_0x38a3d5);}}const _0x5678a1=_0x29275a[_0x36fd89(0x180)]()??'';if(_0x4c2bc4['requiresAppCode']!==![]){assertEnvAppCodeNotIgnored(_0x5678a1,resolveEnvAppCode(),hasExplicitAppCode(_0xc0a269,_0x29275a['rawFlags']));if(!_0x5678a1)throw CliErrors[_0x36fd89(0x148)](_0x36fd89(0x164)+CLI_BIN_NAME+_0x36fd89(0x14b));}return{'defaults':{'booleans':{'verbose':_0x29275a['defaultVerbose']},'numbers':{'pagesize':_0x29275a[_0x36fd89(0x146)]}},'extras':{'appCode':_0x5678a1,'cookie':_0x38a3d5,'apiDomain':_0x29275a[_0x36fd89(0x177)](),'apiDir':_0x3cfb55,'selectedAppName':_0x29275a[_0x36fd89(0x15b)],'mergedCli':_0x29275a[_0x36fd89(0x163)]}};},async 'confirmHighRisk'({env:_0x36ca92,commandLabel:_0x212d45}){const _0x4b4d2c=a212_0x4238db;if(_0x36ca92[_0x4b4d2c(0x150)])throw CliErrors[_0x4b4d2c(0x16c)](_0x4b4d2c(0x14a)+_0x212d45+_0x4b4d2c(0x17b));await requireConfirmationPrompt({'lines':['⚠\x20\x20High-risk\x20operation:\x20'+_0x212d45,_0x4b4d2c(0x169)],'createCancelledError':_0x35b1f4=>CliErrors[_0x4b4d2c(0x14e)](_0x35b1f4)});},async 'finalize'(){const _0x2b2049=a212_0x4238db,{clearActiveCookie:_0x30ba6b}=await import(_0x2b2049(0x155));_0x30ba6b();}};export async function runCommand(_0x3afa8b,_0x5d2656){await runCommandWithAdapter(shouldAttachUpdateNotice(_0x3afa8b)?withUpdateNotice(_0x3afa8b):_0x3afa8b,_0x5d2656,runnerAdapter);}function a212_0x19c8(_0xa13eae,_0x317843){_0xa13eae=_0xa13eae-0x146;const _0x395ae7=a212_0x395a();let _0x19c88a=_0x395ae7[_0xa13eae];return _0x19c88a;}function shouldAttachUpdateNotice(_0x4611e5){const _0x1cf65b=a212_0x4238db;if(_0x4611e5[_0x1cf65b(0x16b)]===![])return![];return!['update',_0x1cf65b(0x156),'doctor'][_0x1cf65b(0x181)](_0x4611e5[_0x1cf65b(0x162)]);}function withUpdateNotice(_0x2b3d3c){return{..._0x2b3d3c,async 'execute'(_0x45367b){const _0x1d4c18=a212_0x19c8,_0x51f684=shouldResolveUpdateNotice(_0x45367b)?resolveLatestUpdateNotice()[_0x1d4c18(0x15c)](()=>null):Promise[_0x1d4c18(0x168)](null),_0x465694=await _0x2b3d3c[_0x1d4c18(0x16a)](_0x45367b);return attachUpdateNotice(_0x465694,await _0x51f684);}};}function shouldResolveUpdateNotice(_0x41dd78){const _0x2abcc8=a212_0x4238db;return _0x41dd78['format']===_0x2abcc8(0x17f)&&!_0x41dd78[_0x2abcc8(0x166)];}function attachUpdateNotice(_0x4b80ee,_0x5c9ac8){const _0xbde911=a212_0x4238db;if(!_0x5c9ac8||!_0x4b80ee||typeof _0x4b80ee!==_0xbde911(0x159))return _0x4b80ee;const _0x37a486=_0x4b80ee,_0x541745=typeof _0x37a486['_notice']===_0xbde911(0x159)&&_0x37a486[_0xbde911(0x175)]!==null?_0x37a486[_0xbde911(0x175)]:{};return{..._0x37a486,'_notice':{..._0x541745,'update':_0x5c9ac8}};}
1
+ const a212_0x14754d=a212_0x4428;function a212_0x5424(){const _0x56e0fa=['nonInteractive','doctor','48336oCkBJQ','string','update','pageSize','execute','../core/api-client.js','authRequired','Current\x20resolved\x20appcode\x20is\x20\x22','apiDir','rawFlags','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','resolve','schema','High-risk\x20operation\x20`','cancelled','format','1864LOywRP','command','\x20\x20\x20Continue?\x20[y/N]\x20','appcode','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20','resolveCookie','No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.','pretty','name','appCode','320945JFvjhV','defaultVerbose','validation','4nRYNIg','1476099BlBzCG','RABETBASE_APPCODE','37014zqtOFb','defaultPageSize','42ZJgOwQ','hasFormat','20oXtCcZ','defaultApp','5411UnvZeV','verbose','none','trim','configMissing','10343575BDzjKR','includes','object','apps','requiresAppCode','filter','riskLevel','value','selectedAppName','620971WfsKUc','map','service','required','cookie','_notice','resolveAppCode'];a212_0x5424=function(){return _0x56e0fa;};return a212_0x5424();}(function(_0x2523a4,_0x2f0306){const _0x1f83b8=a212_0x4428,_0x412dd8=_0x2523a4();while(!![]){try{const _0x1fa8e6=-parseInt(_0x1f83b8(0x10e))/0x1+parseInt(_0x1f83b8(0x117))/0x2*(-parseInt(_0x1f83b8(0xfc))/0x3)+parseInt(_0x1f83b8(0xf7))/0x4*(-parseInt(_0x1f83b8(0xf4))/0x5)+parseInt(_0x1f83b8(0xfa))/0x6+-parseInt(_0x1f83b8(0x100))/0x7*(-parseInt(_0x1f83b8(0xe9))/0x8)+parseInt(_0x1f83b8(0xf8))/0x9*(parseInt(_0x1f83b8(0xfe))/0xa)+parseInt(_0x1f83b8(0x105))/0xb;if(_0x1fa8e6===_0x2f0306)break;else _0x412dd8['push'](_0x412dd8['shift']());}catch(_0x410e2b){_0x412dd8['push'](_0x412dd8['shift']());}}}(a212_0x5424,0x69409));import{resolveCommandAuthMode,runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';import{getCookie}from'../auth/get-cookie.js';import{getApiDomain}from'../constant/domain.js';import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{DEFAULT_API_DIR}from'../constant/paths.js';import{isNonInteractive as a212_0x4c7f51}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x5e0134){const _0x59959c=a212_0x4428;return typeof _0x5e0134===_0x59959c(0x118)&&_0x5e0134[_0x59959c(0x103)]()?_0x5e0134[_0x59959c(0x103)]():undefined;}function resolveEnvAppCode(){const _0x3dbecf=a212_0x4428,_0x1d6756=stringFlag(process.env.RABETBASE_APPCODE);if(_0x1d6756)return{'name':_0x3dbecf(0xf9),'value':_0x1d6756};const _0x3a84a3=stringFlag(process.env.LOVRABET_APPCODE);if(_0x3a84a3)return{'name':'LOVRABET_APPCODE','value':_0x3a84a3};return undefined;}function hasExplicitAppCode(_0x4e1255,_0x3df0a4){const _0x4dcb7a=a212_0x4428;return!!(stringFlag(_0x4e1255[_0x4dcb7a(0xec)])||stringFlag(_0x3df0a4[_0x4dcb7a(0xec)]));}function assertEnvAppCodeNotIgnored(_0x31aa5f,_0x3be9b4,_0x209190){const _0x5bb431=a212_0x4428;if(!_0x3be9b4||_0x209190||_0x31aa5f===_0x3be9b4[_0x5bb431(0x10c)])return;const _0x27abb4=_0x31aa5f?_0x5bb431(0x11e)+_0x31aa5f+'\x22.':_0x5bb431(0xf0);throw CliErrors[_0x5bb431(0xf6)](_0x3be9b4[_0x5bb431(0xf2)]+'='+_0x3be9b4['value']+_0x5bb431(0xee)+_0x27abb4+'\x20'+(_0x5bb431(0xed)+_0x3be9b4[_0x5bb431(0xf2)]+'\x22.'));}export function createPipelineEnv(_0x55a47a,_0x50d7a1,_0xf270dd=[]){const _0x116e89=a212_0x4428;return{'rawFlags':_0x50d7a1,'args':_0xf270dd,'resolveAppCode':()=>_0x55a47a[_0x116e89(0xf3)],'resolveCookie':()=>_0x55a47a[_0x116e89(0x112)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a212_0x4c7f51(_0x50d7a1),'defaultFormat':_0x55a47a[_0x116e89(0xe8)],'defaultPageSize':_0x55a47a[_0x116e89(0x11a)],'defaultVerbose':_0x55a47a[_0x116e89(0x101)],'apiDir':_0x55a47a['apiDir'],'riskLevel':_0x55a47a[_0x116e89(0x10b)],'selectedAppName':_0x55a47a['explicitAppName'],'mergedCli':{'defaultApp':_0x55a47a[_0x116e89(0xff)],'currentApp':_0x55a47a['currentApp'],'appCode':_0x55a47a[_0x116e89(0xf3)],'apps':_0x55a47a[_0x116e89(0x108)]}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[a212_0x14754d(0x10a)](_0x12d07e=>PIPELINE_FLAG_NAMES['has'](_0x12d07e[a212_0x14754d(0xf2)]))[a212_0x14754d(0x10f)](({name:_0x327711,type:_0x4f1edd,description:_0x3fa802})=>({'name':_0x327711,'type':_0x4f1edd,'description':_0x3fa802})),'formatOutput':formatOutput,'getCommandLabel'(_0x462235){const _0x154795=a212_0x14754d;return CLI_BIN_NAME+'\x20'+_0x462235[_0x154795(0x110)]+'\x20'+_0x462235[_0x154795(0xea)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x55b967){const _0x330658=a212_0x14754d;return CliErrors[_0x330658(0xf6)](_0x55b967);}},async 'prepare'(_0x256668,_0x41e16c,_0x596bb1,_0x3a175a){const _0x364c52=a212_0x14754d,_0x3c39b6=_0x41e16c[_0x364c52(0x11f)]||DEFAULT_API_DIR;resolveAliasToCode(_0x256668,_0x596bb1,_0x3c39b6,_0x3a175a);const _0x5c8eee=resolveCommandAuthMode(_0x256668);let _0x2aa649='';if(_0x5c8eee!==_0x364c52(0x102)){_0x2aa649=_0x41e16c[_0x364c52(0xef)]()||'';if(!_0x2aa649){if(_0x5c8eee===_0x364c52(0x111))throw CliErrors[_0x364c52(0x11d)]();}else{const {setActiveCookie:_0x5bff71}=await import(_0x364c52(0x11c));_0x5bff71(_0x2aa649);}}const _0x55635b=_0x41e16c[_0x364c52(0x114)]()??'';if(_0x256668[_0x364c52(0x109)]!==![]){assertEnvAppCodeNotIgnored(_0x55635b,resolveEnvAppCode(),hasExplicitAppCode(_0x596bb1,_0x41e16c[_0x364c52(0x120)]));if(!_0x55635b)throw CliErrors[_0x364c52(0x104)]('Set\x20appcode\x20via\x20`'+CLI_BIN_NAME+'\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.');}return{'defaults':{'booleans':{'verbose':_0x41e16c[_0x364c52(0xf5)]},'numbers':{'pagesize':_0x41e16c[_0x364c52(0xfb)]}},'extras':{'appCode':_0x55635b,'cookie':_0x2aa649,'apiDomain':_0x41e16c['resolveApiDomain'](),'apiDir':_0x3c39b6,'selectedAppName':_0x41e16c[_0x364c52(0x10d)],'mergedCli':_0x41e16c['mergedCli']}};},async 'confirmHighRisk'({env:_0x12b3a6,commandLabel:_0x587e1f}){const _0x29cc92=a212_0x14754d;if(_0x12b3a6['isNonInteractive'])throw CliErrors['validation'](_0x29cc92(0x124)+_0x587e1f+_0x29cc92(0x121));await requireConfirmationPrompt({'lines':['⚠\x20\x20High-risk\x20operation:\x20'+_0x587e1f,_0x29cc92(0xeb)],'createCancelledError':_0x71955=>CliErrors[_0x29cc92(0xe7)](_0x71955)});},async 'finalize'(){const _0x17b426=a212_0x14754d,{clearActiveCookie:_0x289342}=await import(_0x17b426(0x11c));_0x289342();}};export async function runCommand(_0x2785e9,_0x10b3e4){await runCommandWithAdapter(shouldAttachUpdateNotice(_0x2785e9)?withUpdateNotice(_0x2785e9):_0x2785e9,_0x10b3e4,runnerAdapter);}function a212_0x4428(_0x2f5217,_0x34d3cb){_0x2f5217=_0x2f5217-0xe7;const _0x5424d7=a212_0x5424();let _0x44286c=_0x5424d7[_0x2f5217];return _0x44286c;}function shouldAttachUpdateNotice(_0x5b6008){const _0xc2bbc5=a212_0x14754d;if(_0x5b6008[_0xc2bbc5(0xfd)]===![])return![];return![_0xc2bbc5(0x119),_0xc2bbc5(0x123),_0xc2bbc5(0x116)][_0xc2bbc5(0x106)](_0x5b6008['service']);}function withUpdateNotice(_0x30cf92){return{..._0x30cf92,async 'execute'(_0x262a46){const _0x1cf29a=a212_0x4428,_0x17e601=shouldResolveUpdateNotice(_0x262a46)?resolveLatestUpdateNotice()['catch'](()=>null):Promise[_0x1cf29a(0x122)](null),_0x45acc7=await _0x30cf92[_0x1cf29a(0x11b)](_0x262a46);return attachUpdateNotice(_0x45acc7,await _0x17e601);}};}function shouldResolveUpdateNotice(_0xd2b917){const _0x29d3fd=a212_0x14754d;return _0xd2b917[_0x29d3fd(0xe8)]===_0x29d3fd(0xf1)&&!_0xd2b917[_0x29d3fd(0x115)];}function attachUpdateNotice(_0x4251ca,_0x29f472){const _0x169f76=a212_0x14754d;if(!_0x29f472||!_0x4251ca||typeof _0x4251ca!==_0x169f76(0x107))return _0x4251ca;const _0x341e3e=_0x4251ca,_0x5a698c=typeof _0x341e3e[_0x169f76(0x113)]==='object'&&_0x341e3e[_0x169f76(0x113)]!==null?_0x341e3e['_notice']:{};return{..._0x341e3e,'_notice':{..._0x5a698c,'update':_0x29f472}};}
@@ -1 +1 @@
1
- (function(_0x3d776d,_0x58751e){const _0x487cdb=a213_0x4cc3,_0x5ee6aa=_0x3d776d();while(!![]){try{const _0x6fc26c=parseInt(_0x487cdb(0xc0))/0x1*(parseInt(_0x487cdb(0xbf))/0x2)+-parseInt(_0x487cdb(0xbd))/0x3+-parseInt(_0x487cdb(0xba))/0x4*(-parseInt(_0x487cdb(0xc1))/0x5)+parseInt(_0x487cdb(0xbc))/0x6*(-parseInt(_0x487cdb(0xbb))/0x7)+parseInt(_0x487cdb(0xc2))/0x8*(-parseInt(_0x487cdb(0xbe))/0x9)+parseInt(_0x487cdb(0xb8))/0xa+-parseInt(_0x487cdb(0xb7))/0xb*(-parseInt(_0x487cdb(0xb9))/0xc);if(_0x6fc26c===_0x58751e)break;else _0x5ee6aa['push'](_0x5ee6aa['shift']());}catch(_0x457ce4){_0x5ee6aa['push'](_0x5ee6aa['shift']());}}}(a213_0x41fc,0xa3729));import{buildSchemaPayload as a213_0x521adb}from'@lovrabet/cli-framework';function a213_0x41fc(){const _0x25fec6=['273870UalVIH','728tYngnl','11xmuGqe','12135460yVAjVY','644988ExhMCo','48VJnPtN','764624JvkrFx','42TYPNBE','3377247XoNGTz','22887Scbqgq','33334ugGBWI','52dSjPQF'];a213_0x41fc=function(){return _0x25fec6;};return a213_0x41fc();}import{buildAllFlags}from'../framework/build-all-flags.js';function a213_0x4cc3(_0x3e2e6b,_0x4cc46c){_0x3e2e6b=_0x3e2e6b-0xb7;const _0x41fcc0=a213_0x41fc();let _0x4cc3a8=_0x41fcc0[_0x3e2e6b];return _0x4cc3a8;}import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const {serviceRegistry:_0x1b6b6d,findDefinition:_0x26fd9e}=await import('../commands/registry.js');return a213_0x521adb({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x1b6b6d,'buildAllFlags':buildAllFlags,'findDefinition':_0x26fd9e});}
1
+ (function(_0x52e26c,_0xb6b517){const _0x57ec22=a213_0x2a68,_0x3396d8=_0x52e26c();while(!![]){try{const _0x272e58=parseInt(_0x57ec22(0xbc))/0x1+parseInt(_0x57ec22(0xc2))/0x2*(parseInt(_0x57ec22(0xbd))/0x3)+-parseInt(_0x57ec22(0xbb))/0x4+parseInt(_0x57ec22(0xbf))/0x5+-parseInt(_0x57ec22(0xbe))/0x6*(parseInt(_0x57ec22(0xba))/0x7)+-parseInt(_0x57ec22(0xc1))/0x8+parseInt(_0x57ec22(0xb9))/0x9;if(_0x272e58===_0xb6b517)break;else _0x3396d8['push'](_0x3396d8['shift']());}catch(_0x44b709){_0x3396d8['push'](_0x3396d8['shift']());}}}(a213_0x124f,0xb22e1));function a213_0x124f(){const _0x3a9215=['6XifADW','5373215MOIFdF','../commands/registry.js','4669576YguRYw','12ScHexq','3316554KVYOet','5667942nYZLTj','1977704POGKMN','1077335rTZnSV','48585YFbCDt'];a213_0x124f=function(){return _0x3a9215;};return a213_0x124f();}import{buildSchemaPayload as a213_0x5220fe}from'@lovrabet/cli-framework';function a213_0x2a68(_0x1ac656,_0x585594){_0x1ac656=_0x1ac656-0xb9;const _0x124ff8=a213_0x124f();let _0x2a683d=_0x124ff8[_0x1ac656];return _0x2a683d;}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 _0x59505d=a213_0x2a68,{serviceRegistry:_0xfb220b,findDefinition:_0x58aaa8}=await import(_0x59505d(0xc0));return a213_0x5220fe({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0xfb220b,'buildAllFlags':buildAllFlags,'findDefinition':_0x58aaa8});}
@@ -1 +1 @@
1
- function a214_0x20d3(){var _0x4b92cf=['494113fMiZVj','6347640adaAHw','69846TlhsjQ','20xWMvMv','2339382lKltyQ','15515470nIqDJb','9oXpJfv','1842786VsLAGK','222RGPeNG','688115IpXUYJ'];a214_0x20d3=function(){return _0x4b92cf;};return a214_0x20d3();}(function(_0x49381a,_0x81e56b){var _0x210271=a214_0x519a,_0x5aaf80=_0x49381a();while(!![]){try{var _0x177870=-parseInt(_0x210271(0x175))/0x1+-parseInt(_0x210271(0x17c))/0x2+-parseInt(_0x210271(0x179))/0x3+-parseInt(_0x210271(0x178))/0x4*(-parseInt(_0x210271(0x174))/0x5)+-parseInt(_0x210271(0x17d))/0x6*(parseInt(_0x210271(0x177))/0x7)+parseInt(_0x210271(0x176))/0x8+-parseInt(_0x210271(0x17b))/0x9*(-parseInt(_0x210271(0x17a))/0xa);if(_0x177870===_0x81e56b)break;else _0x5aaf80['push'](_0x5aaf80['shift']());}catch(_0x659073){_0x5aaf80['push'](_0x5aaf80['shift']());}}}(a214_0x20d3,0x72697));function a214_0x519a(_0x2e2fe9,_0x2081ad){_0x2e2fe9=_0x2e2fe9-0x174;var _0x20d304=a214_0x20d3();var _0x519a26=_0x20d304[_0x2e2fe9];return _0x519a26;}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';
1
+ function a214_0x45b2(_0x46f114,_0x3f1cca){_0x46f114=_0x46f114-0x19f;var _0x521473=a214_0x5214();var _0x45b297=_0x521473[_0x46f114];return _0x45b297;}(function(_0x2b14fb,_0x18b3fd){var _0x3ed71e=a214_0x45b2,_0x391e11=_0x2b14fb();while(!![]){try{var _0x56a77b=-parseInt(_0x3ed71e(0x1a6))/0x1*(parseInt(_0x3ed71e(0x19f))/0x2)+-parseInt(_0x3ed71e(0x1a3))/0x3+-parseInt(_0x3ed71e(0x1a2))/0x4+parseInt(_0x3ed71e(0x1a1))/0x5+-parseInt(_0x3ed71e(0x1a4))/0x6+-parseInt(_0x3ed71e(0x1a5))/0x7+parseInt(_0x3ed71e(0x1a0))/0x8;if(_0x56a77b===_0x18b3fd)break;else _0x391e11['push'](_0x391e11['shift']());}catch(_0x53b335){_0x391e11['push'](_0x391e11['shift']());}}}(a214_0x5214,0xc1d17));function a214_0x5214(){var _0x4cb11a=['3045795JUJynU','3206824wjvqPE','2935239hdNzrn','5867232GfOSED','1395695fjjSMG','38191OsawZa','2nhicZJ','25442296VJrMsh'];a214_0x5214=function(){return _0x4cb11a;};return a214_0x5214();}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';
@@ -1 +1 @@
1
- const a215_0x262480=a215_0x5b0f;(function(_0x2b9090,_0x506f18){const _0x6f0efb=a215_0x5b0f,_0x6e6d11=_0x2b9090();while(!![]){try{const _0x155994=-parseInt(_0x6f0efb(0x65))/0x1+parseInt(_0x6f0efb(0x71))/0x2+parseInt(_0x6f0efb(0x6f))/0x3+parseInt(_0x6f0efb(0x67))/0x4*(parseInt(_0x6f0efb(0x66))/0x5)+parseInt(_0x6f0efb(0x6c))/0x6+-parseInt(_0x6f0efb(0x70))/0x7*(parseInt(_0x6f0efb(0x6d))/0x8)+-parseInt(_0x6f0efb(0x6e))/0x9;if(_0x155994===_0x506f18)break;else _0x6e6d11['push'](_0x6e6d11['shift']());}catch(_0x2c2441){_0x6e6d11['push'](_0x6e6d11['shift']());}}}(a215_0x115b,0x5bad9));export const VERSION=a215_0x262480(0x68);export const GIT_TAG=a215_0x262480(0x69);function a215_0x115b(){const _0x373c3f=['a67c145','3309498NqENRX','754856kaKcPj','11672127GJGwiB','1965090WSKNvX','7ECLkRj','562972Hsuude','110978GbqGsf','34180kwQLfX','228LZEUha','2.3.8','v2.3.8-beta.1','2026-07-28T09:07:46.713Z'];a215_0x115b=function(){return _0x373c3f;};return a215_0x115b();}function a215_0x5b0f(_0x1374e4,_0x1d00e9){_0x1374e4=_0x1374e4-0x65;const _0x115b2d=a215_0x115b();let _0x5b0f2e=_0x115b2d[_0x1374e4];return _0x5b0f2e;}export const GIT_COMMIT=a215_0x262480(0x6b);export const BUILD_TIME=a215_0x262480(0x6a);
1
+ const a215_0x210183=a215_0x2405;(function(_0x33cb40,_0x5d0955){const _0x4ceeb6=a215_0x2405,_0x3aec4d=_0x33cb40();while(!![]){try{const _0x236bd6=-parseInt(_0x4ceeb6(0xd7))/0x1+parseInt(_0x4ceeb6(0xd5))/0x2+-parseInt(_0x4ceeb6(0xd8))/0x3+-parseInt(_0x4ceeb6(0xd3))/0x4*(parseInt(_0x4ceeb6(0xd9))/0x5)+parseInt(_0x4ceeb6(0xd0))/0x6*(-parseInt(_0x4ceeb6(0xdb))/0x7)+parseInt(_0x4ceeb6(0xdc))/0x8*(parseInt(_0x4ceeb6(0xd6))/0x9)+parseInt(_0x4ceeb6(0xda))/0xa*(parseInt(_0x4ceeb6(0xd2))/0xb);if(_0x236bd6===_0x5d0955)break;else _0x3aec4d['push'](_0x3aec4d['shift']());}catch(_0x1936b3){_0x3aec4d['push'](_0x3aec4d['shift']());}}}(a215_0x4b0d,0x2dac2));export const VERSION=a215_0x210183(0xdd);function a215_0x4b0d(){const _0xd457dc=['4806RmVKGx','v2.3.9-beta.2','88RGtIEk','214692PcPjcb','2026-07-29T12:41:47.963Z','436092fQnind','371871vlpDVt','62970jCJpZz','1064178UmjRnA','10thiMZO','427260eQDKSo','1197kDqDfG','56qUgVPK','2.3.9-beta.2'];a215_0x4b0d=function(){return _0xd457dc;};return a215_0x4b0d();}export const GIT_TAG=a215_0x210183(0xd1);function a215_0x2405(_0x3eaf8f,_0x328359){_0x3eaf8f=_0x3eaf8f-0xd0;const _0x4b0d19=a215_0x4b0d();let _0x24052e=_0x4b0d19[_0x3eaf8f];return _0x24052e;}export const GIT_COMMIT='525dee9';export const BUILD_TIME=a215_0x210183(0xd4);
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- function a216_0x52d3(){var _0x5987f8=['1285650OHApVM','green','12587140jYvZdW','bold','\x20\x20Use\x20','24mCRPlB','40XzMDhp','11oAupbB','11708cTQHGP','43JZvXCK','281472meEBOd','log','3041731fvhvEz','2368580aVrEmk','\x20to\x20view\x20available\x20commands.','1061760YNqAxv'];a216_0x52d3=function(){return _0x5987f8;};return a216_0x52d3();}(function(_0x3f3711,_0x3558c0){var _0x3a4d99=a216_0x2d3e,_0x1c113c=_0x3f3711();while(!![]){try{var _0x29aed5=-parseInt(_0x3a4d99(0x1f8))/0x1*(parseInt(_0x3a4d99(0x1f7))/0x2)+parseInt(_0x3a4d99(0x1e9))/0x3+parseInt(_0x3a4d99(0x1ec))/0x4+-parseInt(_0x3a4d99(0x1ee))/0x5*(parseInt(_0x3a4d99(0x1f4))/0x6)+parseInt(_0x3a4d99(0x1eb))/0x7+-parseInt(_0x3a4d99(0x1f5))/0x8*(parseInt(_0x3a4d99(0x1ef))/0x9)+parseInt(_0x3a4d99(0x1f1))/0xa*(parseInt(_0x3a4d99(0x1f6))/0xb);if(_0x29aed5===_0x3558c0)break;else _0x1c113c['push'](_0x1c113c['shift']());}catch(_0x5ca340){_0x1c113c['push'](_0x1c113c['shift']());}}}(a216_0x52d3,0x89a7c));import a216_0x983261 from'chalk';function a216_0x2d3e(_0x1b021f,_0x41c032){_0x1b021f=_0x1b021f-0x1e9;var _0x52d32f=a216_0x52d3();var _0x2d3e3f=_0x52d32f[_0x1b021f];return _0x2d3e3f;}import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0x15407d=a216_0x2d3e;console[_0x15407d(0x1ea)](),console['log'](a216_0x983261[_0x15407d(0x1f0)][_0x15407d(0x1f2)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x15407d(0x1ea)](),console[_0x15407d(0x1ea)](_0x15407d(0x1f3)+a216_0x983261[_0x15407d(0x1f0)][_0x15407d(0x1f2)](CLI_BIN_NAME+'\x20--help')+_0x15407d(0x1ed)),console[_0x15407d(0x1ea)]();}
1
+ function a216_0x5203(_0xdb9d6e,_0x93bf56){_0xdb9d6e=_0xdb9d6e-0x110;var _0x12e96c=a216_0x12e9();var _0x520377=_0x12e96c[_0xdb9d6e];return _0x520377;}(function(_0x1079e1,_0x1a4722){var _0x45a4cf=a216_0x5203,_0x3c06b0=_0x1079e1();while(!![]){try{var _0x4bf8bc=-parseInt(_0x45a4cf(0x114))/0x1*(parseInt(_0x45a4cf(0x11a))/0x2)+parseInt(_0x45a4cf(0x111))/0x3+-parseInt(_0x45a4cf(0x11c))/0x4+-parseInt(_0x45a4cf(0x119))/0x5+-parseInt(_0x45a4cf(0x11e))/0x6*(-parseInt(_0x45a4cf(0x117))/0x7)+-parseInt(_0x45a4cf(0x113))/0x8*(-parseInt(_0x45a4cf(0x11d))/0x9)+-parseInt(_0x45a4cf(0x116))/0xa;if(_0x4bf8bc===_0x1a4722)break;else _0x3c06b0['push'](_0x3c06b0['shift']());}catch(_0x4d043f){_0x3c06b0['push'](_0x3c06b0['shift']());}}}(a216_0x12e9,0x56cda));function a216_0x12e9(){var _0x26a7f1=['18956HHKzTI','\x20--help','2106290glcwjw','7MidMWe','green','1025610uniIbA','48buKvzk','log','772648mFZFvF','9dOaCzw','627204hrqVQM','\x20\x20Use\x20','\x20to\x20view\x20available\x20commands.','2130273DCVgRF','bold','4838224axxjEa'];a216_0x12e9=function(){return _0x26a7f1;};return a216_0x12e9();}import a216_0x75df20 from'chalk';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0x35c08a=a216_0x5203;console[_0x35c08a(0x11b)](),console[_0x35c08a(0x11b)](a216_0x75df20['green'][_0x35c08a(0x112)]('\x20\x20'+CLI_DISPLAY_NAME)),console['log'](),console[_0x35c08a(0x11b)](_0x35c08a(0x11f)+a216_0x75df20[_0x35c08a(0x118)][_0x35c08a(0x112)](CLI_BIN_NAME+_0x35c08a(0x115))+_0x35c08a(0x110)),console[_0x35c08a(0x11b)]();}
@@ -1 +1 @@
1
- (function(_0x2821e0,_0x6ae698){const _0x3b35a2=a217_0x36fd,_0x57234a=_0x2821e0();while(!![]){try{const _0x5a9421=parseInt(_0x3b35a2(0x131))/0x1+-parseInt(_0x3b35a2(0x126))/0x2*(-parseInt(_0x3b35a2(0x12e))/0x3)+parseInt(_0x3b35a2(0x138))/0x4+parseInt(_0x3b35a2(0x12f))/0x5*(parseInt(_0x3b35a2(0x12d))/0x6)+parseInt(_0x3b35a2(0x11a))/0x7+parseInt(_0x3b35a2(0x123))/0x8+parseInt(_0x3b35a2(0x11d))/0x9*(-parseInt(_0x3b35a2(0x129))/0xa);if(_0x5a9421===_0x6ae698)break;else _0x57234a['push'](_0x57234a['shift']());}catch(_0x8d0d79){_0x57234a['push'](_0x57234a['shift']());}}}(a217_0x5938,0x461d7));function a217_0x5938(){const _0x291e1b=['23891ZDhLMH','skill','from','argv','slice','(empty)','--help','1354252MnXTrs','cwd','\x0aAvailable\x20commands:','121828DfMXky','\x20cli-skill\x20install\x0a\x0aEquivalent\x20command:\x20','setLogPath','4345533hVCMaY','Error:\x20Unsupported\x20command:\x20','\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill','replace','error','不支持的命令:\x20','1187368XhBwYC','startsWith','push','158914TLNqgV','\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/rabetbase/guides/.\x0a','log','20BQfRuQ','toLowerCase','Equivalent\x20command:\x20','has','396tfhjCP','12MOdKOx','30815uhHyDS','length'];a217_0x5938=function(){return _0x291e1b;};return a217_0x5938();}import{logger}from'../utils/logger.js';import{CLI_BIN_NAME}from'../constant/cli.js';import{NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE}from'../skills/npx-skills-add.js';export function camelCaseFlagsToKebab(_0x399c7a){const _0x27f751=a217_0x36fd,_0x3db6ad=[];for(const [_0x1d6685,_0x1c66df]of Object['entries'](_0x399c7a)){if(_0x1c66df===!![]){const _0x1943bf=_0x1d6685[_0x27f751(0x120)](/([A-Z])/g,'-$1')[_0x27f751(0x12a)]();_0x3db6ad['push'](_0x1943bf);}}return _0x3db6ad;}export function parseDynamicFlags(){const _0x59dae3=a217_0x36fd,_0x1f8fc1=[];for(let _0x16c57b=0x3;_0x16c57b<process['argv'][_0x59dae3(0x130)];_0x16c57b++){const _0x3bf422=process[_0x59dae3(0x134)][_0x16c57b];if(_0x3bf422&&_0x3bf422[_0x59dae3(0x124)]('--')){const _0xfa88ea=_0x3bf422[_0x59dae3(0x135)](0x2);_0xfa88ea&&!_0xfa88ea['includes']('=')&&_0x1f8fc1[_0x59dae3(0x125)](_0xfa88ea);}}return _0x1f8fc1;}export function getAllProvidedFlags(_0x18fa69){const _0x4ea82b=a217_0x36fd,_0x4bb49c=camelCaseFlagsToKebab(_0x18fa69),_0x806db0=parseDynamicFlags(),_0x59ba01=new Set([..._0x4bb49c,..._0x806db0]);return Array[_0x4ea82b(0x133)](_0x59ba01);}export function normalizeLegacyBffSaveFlags(_0x235c34){const _0x5c121c=a217_0x36fd,_0x161a84=new Set(_0x235c34);return _0x161a84[_0x5c121c(0x12c)]('dangerously-bff-save')&&_0x161a84['add']('enable-bff-save'),Array['from'](_0x161a84);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;function a217_0x36fd(_0x3b4efe,_0x3e673e){_0x3b4efe=_0x3b4efe-0x11a;const _0x5938a0=a217_0x5938();let _0x36fd2b=_0x5938a0[_0x3b4efe];return _0x36fd2b;}export async function skillsCommand(_0x35eeae,_0x2010e9,_0x4fb438){const _0x5b2b51=a217_0x36fd;logger[_0x5b2b51(0x11c)](process[_0x5b2b51(0x139)]());if(_0x4fb438?.['help']||_0x35eeae===_0x5b2b51(0x137)){showHelp();return;}console['error'](_0x5b2b51(0x11e)+(_0x35eeae||_0x5b2b51(0x136))),console[_0x5b2b51(0x128)](_0x5b2b51(0x13a)),console[_0x5b2b51(0x128)]('\x20\x20'+CLI_BIN_NAME+_0x5b2b51(0x11f)),console[_0x5b2b51(0x128)](''),console[_0x5b2b51(0x128)](_0x5b2b51(0x12b)+SKILLS_INSTALL_COMMAND_LINE),logger[_0x5b2b51(0x121)](_0x5b2b51(0x132),_0x5b2b51(0x122)+_0x35eeae),process['exit'](0x1);}function showHelp(){const _0x5d6df5=a217_0x36fd;console['log']('\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20'+CLI_BIN_NAME+_0x5d6df5(0x11b)+SKILLS_INSTALL_COMMAND_LINE+_0x5d6df5(0x127));}
1
+ (function(_0x57fd36,_0x3d43be){const _0x2cc9a0=a217_0x22dc,_0x52b62a=_0x57fd36();while(!![]){try{const _0x11b21b=parseInt(_0x2cc9a0(0x85))/0x1+-parseInt(_0x2cc9a0(0x9c))/0x2*(-parseInt(_0x2cc9a0(0x96))/0x3)+parseInt(_0x2cc9a0(0xa3))/0x4*(parseInt(_0x2cc9a0(0x93))/0x5)+parseInt(_0x2cc9a0(0x8c))/0x6*(parseInt(_0x2cc9a0(0x88))/0x7)+-parseInt(_0x2cc9a0(0x8d))/0x8+-parseInt(_0x2cc9a0(0xa2))/0x9+parseInt(_0x2cc9a0(0xa5))/0xa*(-parseInt(_0x2cc9a0(0x99))/0xb);if(_0x11b21b===_0x3d43be)break;else _0x52b62a['push'](_0x52b62a['shift']());}catch(_0x5a9a13){_0x52b62a['push'](_0x52b62a['shift']());}}}(a217_0x5e8f,0xb87d5));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_0x22dc(_0x32c260,_0x2e6dbb){_0x32c260=_0x32c260-0x84;const _0x5e8f16=a217_0x5e8f();let _0x22dccc=_0x5e8f16[_0x32c260];return _0x22dccc;}export function camelCaseFlagsToKebab(_0x45fc80){const _0x234522=a217_0x22dc,_0x3ff4ed=[];for(const [_0x27de32,_0x5ad036]of Object[_0x234522(0x89)](_0x45fc80)){if(_0x5ad036===!![]){const _0x2d05f7=_0x27de32[_0x234522(0x8f)](/([A-Z])/g,_0x234522(0x87))[_0x234522(0x9d)]();_0x3ff4ed['push'](_0x2d05f7);}}return _0x3ff4ed;}export function parseDynamicFlags(){const _0x4afeba=a217_0x22dc,_0x2694c7=[];for(let _0x4ab1a5=0x3;_0x4ab1a5<process['argv'][_0x4afeba(0x8a)];_0x4ab1a5++){const _0x471593=process[_0x4afeba(0xa0)][_0x4ab1a5];if(_0x471593&&_0x471593[_0x4afeba(0x92)]('--')){const _0x4583de=_0x471593[_0x4afeba(0x94)](0x2);_0x4583de&&!_0x4583de[_0x4afeba(0x84)]('=')&&_0x2694c7[_0x4afeba(0xa4)](_0x4583de);}}return _0x2694c7;}export function getAllProvidedFlags(_0x2c8f76){const _0x5d383b=a217_0x22dc,_0x350052=camelCaseFlagsToKebab(_0x2c8f76),_0x35b185=parseDynamicFlags(),_0x36e589=new Set([..._0x350052,..._0x35b185]);return Array[_0x5d383b(0x95)](_0x36e589);}export function normalizeLegacyBffSaveFlags(_0x5ac45a){const _0x1d7c30=a217_0x22dc,_0x5688e9=new Set(_0x5ac45a);return _0x5688e9[_0x1d7c30(0xa1)]('dangerously-bff-save')&&_0x5688e9[_0x1d7c30(0x9e)]('enable-bff-save'),Array[_0x1d7c30(0x95)](_0x5688e9);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;export async function skillsCommand(_0x2229b1,_0x1cb105,_0x4528b5){const _0x5d7c01=a217_0x22dc;logger[_0x5d7c01(0x97)](process[_0x5d7c01(0xa6)]());if(_0x4528b5?.['help']||_0x2229b1===_0x5d7c01(0x9b)){showHelp();return;}console[_0x5d7c01(0x91)](_0x5d7c01(0x8e)+(_0x2229b1||_0x5d7c01(0x8b))),console[_0x5d7c01(0x98)]('\x0aAvailable\x20commands:'),console[_0x5d7c01(0x98)]('\x20\x20'+CLI_BIN_NAME+'\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill'),console['log'](''),console[_0x5d7c01(0x98)](_0x5d7c01(0x9a)+SKILLS_INSTALL_COMMAND_LINE),logger['error']('skill','不支持的命令:\x20'+_0x2229b1),process[_0x5d7c01(0x90)](0x1);}function showHelp(){const _0x2dd5c0=a217_0x22dc;console[_0x2dd5c0(0x98)](_0x2dd5c0(0x86)+CLI_BIN_NAME+'\x20cli-skill\x20install\x0a\x0aEquivalent\x20command:\x20'+SKILLS_INSTALL_COMMAND_LINE+_0x2dd5c0(0x9f));}function a217_0x5e8f(){const _0x54baf3=['add','\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/rabetbase/guides/.\x0a','argv','has','294777WWExYr','16OJYuSn','push','21339070IFmhBE','cwd','includes','682745xijLNk','\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','-$1','82285EqHtPD','entries','length','(empty)','588BgxdAk','7548152rPQwPj','Error:\x20Unsupported\x20command:\x20','replace','exit','error','startsWith','1597075dLoCgU','slice','from','2260359jOFKHQ','setLogPath','log','11MsHYrc','Equivalent\x20command:\x20','--help','2VtktxR','toLowerCase'];a217_0x5e8f=function(){return _0x54baf3;};return a217_0x5e8f();}
@@ -1 +1 @@
1
- const a218_0x103afa=a218_0x8334;(function(_0x219f94,_0x59dd65){const _0x3bdccb=a218_0x8334,_0xcd7882=_0x219f94();while(!![]){try{const _0x347114=parseInt(_0x3bdccb(0xac))/0x1*(parseInt(_0x3bdccb(0xc2))/0x2)+parseInt(_0x3bdccb(0xa9))/0x3*(parseInt(_0x3bdccb(0xc4))/0x4)+-parseInt(_0x3bdccb(0xa6))/0x5*(parseInt(_0x3bdccb(0xb7))/0x6)+-parseInt(_0x3bdccb(0xc5))/0x7+parseInt(_0x3bdccb(0xab))/0x8+-parseInt(_0x3bdccb(0xa8))/0x9*(parseInt(_0x3bdccb(0xbb))/0xa)+-parseInt(_0x3bdccb(0xc1))/0xb*(parseInt(_0x3bdccb(0xaf))/0xc);if(_0x347114===_0x59dd65)break;else _0xcd7882['push'](_0xcd7882['shift']());}catch(_0x4fe0b7){_0xcd7882['push'](_0xcd7882['shift']());}}}(a218_0x28bc,0x4455d));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=a218_0x103afa(0xad);export const NPX_SKILLS_SUBCOMMAND_ADD=a218_0x103afa(0xbf);export const NPX_SKILLS_FLAG_SKILL=a218_0x103afa(0xc6);export const RABETBASE_SKILL_SOURCE=a218_0x103afa(0xb5);export const LEGACY_RABETBASE_SKILL_SOURCE=a218_0x103afa(0xa4);function a218_0x28bc(){const _0x2a6641=['status','skill','lovrabet/rabetbase','exit\x20','1164VOABEI','pipe','toString','remove','10IMEwfI','trim','stdout','join','add','stderr','922075kPxomW','5998rJDsDa','log','333192iLYjWu','750827uqLIBD','--skill','lovrabet/lovrabet-skill','yes','5660yARYjM','inherit','514827QZSrLK','3JcilHP','unknown','2962432LwYOFV','154FiiQUG','skills','push','36SBPiwg','Lovrabet','stdio','npx'];a218_0x28bc=function(){return _0x2a6641;};return a218_0x28bc();}export const DEFAULT_RABETBASE_SKILL_NAME=a218_0x103afa(0xb0);export function buildNpxSkillsAddArgv(_0x44c91e){const _0x480a4a=a218_0x103afa,_0x3147f1=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE];return _0x44c91e&&_0x3147f1[_0x480a4a(0xae)](NPX_SKILLS_FLAG_SKILL,_0x44c91e),_0x3147f1;}export const NPX_SKILLS_ADD_COMMAND_LINE=[a218_0x103afa(0xb2),...buildNpxSkillsAddArgv()]['join']('\x20');export const NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE=[a218_0x103afa(0xb2),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][a218_0x103afa(0xbe)]('\x20');function a218_0x8334(_0x96865b,_0x31fec3){_0x96865b=_0x96865b-0xa4;const _0x28bc49=a218_0x28bc();let _0x8334b2=_0x28bc49[_0x96865b];return _0x8334b2;}export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0x450c3d,_0x3ea598){const _0x68d8da=a218_0x103afa;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x5b6d8b=_0x3ea598?.[_0x68d8da(0xb1)]??'inherit',_0x2a576b=resolveNpmBin(_0x68d8da(0xb2)),_0x3a60dd=buildNpxSkillsAddArgv(_0x3ea598?.[_0x68d8da(0xb4)]),_0x598a88=[_0x68d8da(0xb2),..._0x3a60dd][_0x68d8da(0xbe)]('\x20');console['log']('*\x20'+_0x598a88);const _0x49fc11=spawnSync(_0x2a576b,_0x3a60dd,{'cwd':_0x450c3d,'stdio':_0x5b6d8b,'env':process.env,'shell':![]}),_0x25eb8b=_0x49fc11[_0x68d8da(0xb3)];if(_0x25eb8b===0x0)return{'ok':!![],'status':0x0};let _0x23d1c7=_0x68d8da(0xb6)+(_0x25eb8b??_0x68d8da(0xaa));if(_0x5b6d8b===_0x68d8da(0xb8)){const _0x1243e5=_0x49fc11[_0x68d8da(0xc0)]?_0x49fc11[_0x68d8da(0xc0)][_0x68d8da(0xb9)]()[_0x68d8da(0xbc)]():'',_0x291e73=_0x49fc11[_0x68d8da(0xbd)]?_0x49fc11[_0x68d8da(0xbd)][_0x68d8da(0xb9)]()[_0x68d8da(0xbc)]():'';if(_0x1243e5)_0x23d1c7=_0x1243e5;else{if(_0x291e73)_0x23d1c7=_0x291e73;}}return{'ok':![],'status':_0x25eb8b??null,'error':_0x23d1c7};}export function runNpxSkillsRemove(_0x1b6a29,_0x18df13,_0x134545=LEGACY_RABETBASE_SKILL_SOURCE){const _0x23597f=a218_0x103afa;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x1c8eb2=_0x18df13?.[_0x23597f(0xb1)]??_0x23597f(0xa7),_0x3d9d4d=resolveNpmBin(_0x23597f(0xb2)),_0x23c7c5=[NPX_FLAG_YES,NPX_SKILLS_CLI,_0x23597f(0xba),_0x134545,NPX_SKILLS_FLAG_SKILL,_0x18df13?.[_0x23597f(0xb4)]??DEFAULT_RABETBASE_SKILL_NAME,..._0x18df13?.[_0x23597f(0xa5)]?['-y']:[]],_0x2e315c=[_0x3d9d4d,..._0x23c7c5][_0x23597f(0xbe)]('\x20');console[_0x23597f(0xc3)]('*\x20'+_0x2e315c);const _0x443208=spawnSync(_0x3d9d4d,_0x23c7c5,{'cwd':_0x1b6a29,'stdio':_0x1c8eb2,'env':process.env,'shell':![]}),_0x4af915=_0x443208[_0x23597f(0xb3)];if(_0x4af915===0x0)return{'ok':!![],'status':0x0};let _0x50ce70=_0x23597f(0xb6)+(_0x4af915??_0x23597f(0xaa));if(_0x1c8eb2==='pipe'){const _0x475cd3=_0x443208[_0x23597f(0xc0)]?_0x443208['stderr']['toString']()['trim']():'',_0x152cbd=_0x443208['stdout']?_0x443208['stdout'][_0x23597f(0xb9)]()[_0x23597f(0xbc)]():'';if(_0x475cd3)_0x50ce70=_0x475cd3;else{if(_0x152cbd)_0x50ce70=_0x152cbd;}}return{'ok':![],'status':_0x4af915??null,'error':_0x50ce70};}export function runNpxSkillsAddGlobal(_0x41f122,_0x5c4588,_0x3a4827){const _0x49a5cd=a218_0x103afa;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x21246b=_0x3a4827?.[_0x49a5cd(0xb1)]??'inherit',_0x720932=resolveNpmBin(_0x49a5cd(0xb2)),_0x1a6013=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x5c4588,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES],_0x10aa00=['npx',NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x5c4588,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][_0x49a5cd(0xbe)]('\x20');console[_0x49a5cd(0xc3)]('*\x20'+_0x10aa00);const _0x3e4989=spawnSync(_0x720932,_0x1a6013,{'cwd':_0x41f122,'stdio':_0x21246b,'env':process.env,'shell':![]}),_0x3e7289=_0x3e4989[_0x49a5cd(0xb3)];if(_0x3e7289===0x0)return{'ok':!![],'status':0x0};let _0x2a1e6e=_0x49a5cd(0xb6)+(_0x3e7289??'unknown');if(_0x21246b===_0x49a5cd(0xb8)){const _0x34c056=_0x3e4989['stderr']?_0x3e4989[_0x49a5cd(0xc0)][_0x49a5cd(0xb9)]()[_0x49a5cd(0xbc)]():'',_0x40707e=_0x3e4989['stdout']?_0x3e4989['stdout'][_0x49a5cd(0xb9)]()[_0x49a5cd(0xbc)]():'';if(_0x34c056)_0x2a1e6e=_0x34c056;else{if(_0x40707e)_0x2a1e6e=_0x40707e;}}return{'ok':![],'status':_0x3e7289??null,'error':_0x2a1e6e};}
1
+ const a218_0x450cb5=a218_0x3dbc;(function(_0x3be8cb,_0x33f039){const _0x5e24e4=a218_0x3dbc,_0x1e9857=_0x3be8cb();while(!![]){try{const _0x8f4b7e=parseInt(_0x5e24e4(0x167))/0x1*(-parseInt(_0x5e24e4(0x15b))/0x2)+parseInt(_0x5e24e4(0x170))/0x3*(-parseInt(_0x5e24e4(0x16a))/0x4)+-parseInt(_0x5e24e4(0x179))/0x5+-parseInt(_0x5e24e4(0x15f))/0x6*(-parseInt(_0x5e24e4(0x16b))/0x7)+-parseInt(_0x5e24e4(0x164))/0x8*(-parseInt(_0x5e24e4(0x15c))/0x9)+parseInt(_0x5e24e4(0x173))/0xa*(-parseInt(_0x5e24e4(0x163))/0xb)+parseInt(_0x5e24e4(0x176))/0xc*(parseInt(_0x5e24e4(0x16e))/0xd);if(_0x8f4b7e===_0x33f039)break;else _0x1e9857['push'](_0x1e9857['shift']());}catch(_0x18357d){_0x1e9857['push'](_0x1e9857['shift']());}}}(a218_0x2293,0x4b2ac));import{spawnSync}from'node:child_process';function a218_0x2293(){const _0x21d243=['685405JcOBDq','skills','toString','815722TpDfEA','209394QOzvnZ','add','lovrabet/lovrabet-skill','6VSInct','yes','pipe','unknown','57167wFjWCe','32kJOHRv','npx','status','1vnJIAZ','inherit','join','2043544LwLgas','105392ZKuOrG','stdio','lovrabet/rabetbase','13aXiEzj','exit\x20','3nCDkAD','stdout','stderr','920AjqaTE','push','log','20804592NWyNAg','skill','trim'];a218_0x2293=function(){return _0x21d243;};return a218_0x2293();}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=a218_0x450cb5(0x17a);export const NPX_SKILLS_SUBCOMMAND_ADD=a218_0x450cb5(0x15d);export const NPX_SKILLS_FLAG_SKILL='--skill';export const RABETBASE_SKILL_SOURCE=a218_0x450cb5(0x16d);function a218_0x3dbc(_0x1bf6ac,_0x2f9c19){_0x1bf6ac=_0x1bf6ac-0x15b;const _0x229387=a218_0x2293();let _0x3dbcd4=_0x229387[_0x1bf6ac];return _0x3dbcd4;}export const LEGACY_RABETBASE_SKILL_SOURCE=a218_0x450cb5(0x15e);export const DEFAULT_RABETBASE_SKILL_NAME='Lovrabet';export function buildNpxSkillsAddArgv(_0x253ed){const _0x4a4156=a218_0x450cb5,_0x4b2803=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE];return _0x253ed&&_0x4b2803[_0x4a4156(0x174)](NPX_SKILLS_FLAG_SKILL,_0x253ed),_0x4b2803;}export const NPX_SKILLS_ADD_COMMAND_LINE=[a218_0x450cb5(0x165),...buildNpxSkillsAddArgv()][a218_0x450cb5(0x169)]('\x20');export const NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE=[a218_0x450cb5(0x165),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][a218_0x450cb5(0x169)]('\x20');export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0x18b2e1,_0x5ce435){const _0x973d9d=a218_0x450cb5;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x5aed66=_0x5ce435?.['stdio']??_0x973d9d(0x168),_0x1a0164=resolveNpmBin(_0x973d9d(0x165)),_0x5781fd=buildNpxSkillsAddArgv(_0x5ce435?.[_0x973d9d(0x177)]),_0xf39110=[_0x973d9d(0x165),..._0x5781fd][_0x973d9d(0x169)]('\x20');console[_0x973d9d(0x175)]('*\x20'+_0xf39110);const _0x3aca18=spawnSync(_0x1a0164,_0x5781fd,{'cwd':_0x18b2e1,'stdio':_0x5aed66,'env':process.env,'shell':![]}),_0x22a6b0=_0x3aca18[_0x973d9d(0x166)];if(_0x22a6b0===0x0)return{'ok':!![],'status':0x0};let _0x71db5e=_0x973d9d(0x16f)+(_0x22a6b0??_0x973d9d(0x162));if(_0x5aed66===_0x973d9d(0x161)){const _0xe39cb2=_0x3aca18[_0x973d9d(0x172)]?_0x3aca18[_0x973d9d(0x172)][_0x973d9d(0x17b)]()[_0x973d9d(0x178)]():'',_0x36f3bc=_0x3aca18[_0x973d9d(0x171)]?_0x3aca18['stdout'][_0x973d9d(0x17b)]()['trim']():'';if(_0xe39cb2)_0x71db5e=_0xe39cb2;else{if(_0x36f3bc)_0x71db5e=_0x36f3bc;}}return{'ok':![],'status':_0x22a6b0??null,'error':_0x71db5e};}export function runNpxSkillsRemove(_0x14d81e,_0x4cead1,_0x2eab8b=LEGACY_RABETBASE_SKILL_SOURCE){const _0x24fad9=a218_0x450cb5;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x58dc04=_0x4cead1?.[_0x24fad9(0x16c)]??_0x24fad9(0x168),_0x354937=resolveNpmBin('npx'),_0x385e68=[NPX_FLAG_YES,NPX_SKILLS_CLI,'remove',_0x2eab8b,NPX_SKILLS_FLAG_SKILL,_0x4cead1?.[_0x24fad9(0x177)]??DEFAULT_RABETBASE_SKILL_NAME,..._0x4cead1?.[_0x24fad9(0x160)]?['-y']:[]],_0x4c0dfa=[_0x354937,..._0x385e68][_0x24fad9(0x169)]('\x20');console['log']('*\x20'+_0x4c0dfa);const _0x4bfe8f=spawnSync(_0x354937,_0x385e68,{'cwd':_0x14d81e,'stdio':_0x58dc04,'env':process.env,'shell':![]}),_0xfdec6=_0x4bfe8f[_0x24fad9(0x166)];if(_0xfdec6===0x0)return{'ok':!![],'status':0x0};let _0x3438c4=_0x24fad9(0x16f)+(_0xfdec6??_0x24fad9(0x162));if(_0x58dc04==='pipe'){const _0x4b3e93=_0x4bfe8f[_0x24fad9(0x172)]?_0x4bfe8f[_0x24fad9(0x172)][_0x24fad9(0x17b)]()[_0x24fad9(0x178)]():'',_0x4fd451=_0x4bfe8f['stdout']?_0x4bfe8f['stdout'][_0x24fad9(0x17b)]()['trim']():'';if(_0x4b3e93)_0x3438c4=_0x4b3e93;else{if(_0x4fd451)_0x3438c4=_0x4fd451;}}return{'ok':![],'status':_0xfdec6??null,'error':_0x3438c4};}export function runNpxSkillsAddGlobal(_0x56087d,_0x359271,_0x5759fb){const _0x1695a7=a218_0x450cb5;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x3a4fc5=_0x5759fb?.['stdio']??_0x1695a7(0x168),_0x23cd23=resolveNpmBin(_0x1695a7(0x165)),_0x307405=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x359271,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES],_0x15ac6f=['npx',NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x359271,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][_0x1695a7(0x169)]('\x20');console[_0x1695a7(0x175)]('*\x20'+_0x15ac6f);const _0x1a74fc=spawnSync(_0x23cd23,_0x307405,{'cwd':_0x56087d,'stdio':_0x3a4fc5,'env':process.env,'shell':![]}),_0x583a89=_0x1a74fc[_0x1695a7(0x166)];if(_0x583a89===0x0)return{'ok':!![],'status':0x0};let _0x80f881=_0x1695a7(0x16f)+(_0x583a89??_0x1695a7(0x162));if(_0x3a4fc5===_0x1695a7(0x161)){const _0x1061c1=_0x1a74fc[_0x1695a7(0x172)]?_0x1a74fc[_0x1695a7(0x172)]['toString']()[_0x1695a7(0x178)]():'',_0x1585d7=_0x1a74fc['stdout']?_0x1a74fc[_0x1695a7(0x171)][_0x1695a7(0x17b)]()[_0x1695a7(0x178)]():'';if(_0x1061c1)_0x80f881=_0x1061c1;else{if(_0x1585d7)_0x80f881=_0x1585d7;}}return{'ok':![],'status':_0x583a89??null,'error':_0x80f881};}
@@ -1 +1 @@
1
- (function(_0x4f1517,_0xf822a0){const _0x27f362=a219_0x24bf,_0x2b0a55=_0x4f1517();while(!![]){try{const _0x5dfbc6=parseInt(_0x27f362(0xeb))/0x1+-parseInt(_0x27f362(0xe7))/0x2+parseInt(_0x27f362(0xf0))/0x3*(-parseInt(_0x27f362(0xe9))/0x4)+-parseInt(_0x27f362(0xe5))/0x5*(-parseInt(_0x27f362(0xee))/0x6)+-parseInt(_0x27f362(0xf3))/0x7*(-parseInt(_0x27f362(0xe6))/0x8)+parseInt(_0x27f362(0xf1))/0x9+parseInt(_0x27f362(0xed))/0xa*(-parseInt(_0x27f362(0xea))/0xb);if(_0x5dfbc6===_0xf822a0)break;else _0x2b0a55['push'](_0x2b0a55['shift']());}catch(_0x3a068f){_0x2b0a55['push'](_0x2b0a55['shift']());}}}(a219_0x4245,0xa7e14));function a219_0x4245(){const _0x415fa8=['rabetbase.command','[REDACTED]','289085JyEIia','3224OEbWBH','1406652OqKsQg','some','8672IlVTsi','4062905APFmfy','324413YcFDOk','durationMs','50SbMXdg','120NfTUfd','test','1263DPogbq','12315825fHVIdf','message','22603PoNsVv','error','flags','entries'];a219_0x4245=function(){return _0x415fa8;};return a219_0x4245();}import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';import{getCliVersion}from'../utils/version.js';function a219_0x24bf(_0x50da6d,_0x3da6fd){_0x50da6d=_0x50da6d-0xe0;const _0x42452a=a219_0x4245();let _0x24bf10=_0x42452a[_0x50da6d];return _0x24bf10;}const SENSITIVE_PATTERNS=[/cookie/i,/token/i,/password/i,/passwd/i,/secret/i,/auth/i,/session/i,/credential/i,/^value$/i];function isSensitiveKey(_0x38f0c4){const _0x233ffe=a219_0x24bf;return SENSITIVE_PATTERNS[_0x233ffe(0xe8)](_0x3ee5d6=>_0x3ee5d6[_0x233ffe(0xef)](_0x38f0c4));}function sanitizeFlags(_0x1bf140){const _0x1556c2=a219_0x24bf,_0x9a8dbb={};for(const [_0x53e0ac,_0x2621d2]of Object[_0x1556c2(0xe2)](_0x1bf140)){isSensitiveKey(_0x53e0ac)?_0x9a8dbb[_0x53e0ac]=_0x2621d2!=null&&_0x2621d2!==''?_0x1556c2(0xe4):_0x2621d2:_0x9a8dbb[_0x53e0ac]=_0x2621d2;}return _0x9a8dbb;}export async function reportCommandTrace(_0x55dc8e){const _0x4f34a1=a219_0x24bf;try{const _0xd241d1=sanitizeFlags(_0x55dc8e[_0x4f34a1(0xe1)]);await sendCliTraceLog({'spanName':_0x4f34a1(0xe3),'logData':{'command.cli_version':getCliVersion(),'command.service':_0x55dc8e['service'],'command.name':_0x55dc8e['command'],'command.flags':JSON['stringify'](_0xd241d1),..._0x55dc8e[_0x4f34a1(0xec)]!=null?{'command.duration_ms':_0x55dc8e[_0x4f34a1(0xec)]}:{},..._0x55dc8e[_0x4f34a1(0xe0)]?{'command.error':_0x55dc8e[_0x4f34a1(0xe0)]instanceof Error?_0x55dc8e[_0x4f34a1(0xe0)][_0x4f34a1(0xf2)]:String(_0x55dc8e[_0x4f34a1(0xe0)])}:{}}});}catch{}}
1
+ (function(_0x1fe731,_0x48d59f){const _0x2dd657=a219_0x1a54,_0x3bd47b=_0x1fe731();while(!![]){try{const _0x49b647=-parseInt(_0x2dd657(0x159))/0x1+-parseInt(_0x2dd657(0x149))/0x2*(-parseInt(_0x2dd657(0x15a))/0x3)+parseInt(_0x2dd657(0x154))/0x4+-parseInt(_0x2dd657(0x14b))/0x5+parseInt(_0x2dd657(0x14c))/0x6*(parseInt(_0x2dd657(0x14d))/0x7)+parseInt(_0x2dd657(0x158))/0x8+parseInt(_0x2dd657(0x14a))/0x9;if(_0x49b647===_0x48d59f)break;else _0x3bd47b['push'](_0x3bd47b['shift']());}catch(_0x244f1a){_0x3bd47b['push'](_0x3bd47b['shift']());}}}(a219_0x2d7a,0x96314));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';import{getCliVersion}from'../utils/version.js';function a219_0x2d7a(){const _0x1c543a=['[REDACTED]','160618MIvcxC','1238679XaCZVA','3982895JFVJCd','937002jHlvIu','7cDGpBt','message','flags','error','command','service','entries','3270752OREZPx','rabetbase.command','some','stringify','3304000PoSOtR','193028lMJWcu','3CfDfDE','durationMs'];a219_0x2d7a=function(){return _0x1c543a;};return a219_0x2d7a();}const SENSITIVE_PATTERNS=[/cookie/i,/token/i,/password/i,/passwd/i,/secret/i,/auth/i,/session/i,/credential/i,/^value$/i];function isSensitiveKey(_0x23918b){const _0x4db4c3=a219_0x1a54;return SENSITIVE_PATTERNS[_0x4db4c3(0x156)](_0x29d6e0=>_0x29d6e0['test'](_0x23918b));}function a219_0x1a54(_0x46bb38,_0x32849d){_0x46bb38=_0x46bb38-0x148;const _0x2d7aa9=a219_0x2d7a();let _0x1a545f=_0x2d7aa9[_0x46bb38];return _0x1a545f;}function sanitizeFlags(_0x1624a9){const _0x34f89d=a219_0x1a54,_0x25f2c9={};for(const [_0x158d77,_0x45839a]of Object[_0x34f89d(0x153)](_0x1624a9)){isSensitiveKey(_0x158d77)?_0x25f2c9[_0x158d77]=_0x45839a!=null&&_0x45839a!==''?_0x34f89d(0x148):_0x45839a:_0x25f2c9[_0x158d77]=_0x45839a;}return _0x25f2c9;}export async function reportCommandTrace(_0x912ae4){const _0x877c7d=a219_0x1a54;try{const _0x1d2812=sanitizeFlags(_0x912ae4[_0x877c7d(0x14f)]);await sendCliTraceLog({'spanName':_0x877c7d(0x155),'logData':{'command.cli_version':getCliVersion(),'command.service':_0x912ae4[_0x877c7d(0x152)],'command.name':_0x912ae4[_0x877c7d(0x151)],'command.flags':JSON[_0x877c7d(0x157)](_0x1d2812),..._0x912ae4['durationMs']!=null?{'command.duration_ms':_0x912ae4[_0x877c7d(0x15b)]}:{},..._0x912ae4[_0x877c7d(0x150)]?{'command.error':_0x912ae4[_0x877c7d(0x150)]instanceof Error?_0x912ae4[_0x877c7d(0x150)][_0x877c7d(0x14e)]:String(_0x912ae4[_0x877c7d(0x150)])}:{}}});}catch{}}
@@ -1 +1 @@
1
- function a220_0x48ee(_0x615bd1,_0x4ad6b0){_0x615bd1=_0x615bd1-0x187;var _0x8a427d=a220_0x8a42();var _0x48ee04=_0x8a427d[_0x615bd1];return _0x48ee04;}(function(_0x3c6706,_0x7d3ab7){var _0x2d30d6=a220_0x48ee,_0x1752f8=_0x3c6706();while(!![]){try{var _0xd32a24=parseInt(_0x2d30d6(0x18e))/0x1+parseInt(_0x2d30d6(0x18c))/0x2+parseInt(_0x2d30d6(0x193))/0x3+parseInt(_0x2d30d6(0x189))/0x4*(parseInt(_0x2d30d6(0x18a))/0x5)+parseInt(_0x2d30d6(0x190))/0x6*(parseInt(_0x2d30d6(0x18b))/0x7)+parseInt(_0x2d30d6(0x187))/0x8+parseInt(_0x2d30d6(0x188))/0x9*(-parseInt(_0x2d30d6(0x18f))/0xa);if(_0xd32a24===_0x7d3ab7)break;else _0x1752f8['push'](_0x1752f8['shift']());}catch(_0x5cc109){_0x1752f8['push'](_0x1752f8['shift']());}}}(a220_0x8a42,0x883f4));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';function a220_0x8a42(){var _0x33d7c8=['526394YXANCq','912490KTSIbz','163116IRiVgU','cli.help','error','3333912XiHOww','6247144kwaGkF','405naPrlJ','1447916SLsxNd','10KSoMVp','105tvbpZr','2227868ERHZTv','service'];a220_0x8a42=function(){return _0x33d7c8;};return a220_0x8a42();}export async function reportCliHelpTrace(_0x55b0f4,_0x41189a){var _0x1a3282=a220_0x48ee;try{await sendCliTraceLog({'spanName':_0x1a3282(0x191),'logData':{'rabetbase.help.kind':_0x55b0f4,..._0x41189a?.[_0x1a3282(0x18d)]&&{'rabetbase.help.service':_0x41189a[_0x1a3282(0x18d)]}}});}catch(_0x1800c8){console[_0x1a3282(0x192)]('Failed\x20to\x20report\x20CLI\x20help\x20trace:',_0x1800c8);}}
1
+ (function(_0x5a7147,_0x4499f7){var _0x42bea5=a220_0x6808,_0x18e1fd=_0x5a7147();while(!![]){try{var _0x2d5494=-parseInt(_0x42bea5(0x10b))/0x1*(parseInt(_0x42bea5(0x114))/0x2)+parseInt(_0x42bea5(0x111))/0x3+-parseInt(_0x42bea5(0x113))/0x4*(parseInt(_0x42bea5(0x10f))/0x5)+-parseInt(_0x42bea5(0x10c))/0x6+-parseInt(_0x42bea5(0x115))/0x7+-parseInt(_0x42bea5(0x10e))/0x8+parseInt(_0x42bea5(0x112))/0x9;if(_0x2d5494===_0x4499f7)break;else _0x18e1fd['push'](_0x18e1fd['shift']());}catch(_0x2f9102){_0x18e1fd['push'](_0x18e1fd['shift']());}}}(a220_0x5a83,0xe9261));function a220_0x6808(_0x1c3dc2,_0x102377){_0x1c3dc2=_0x1c3dc2-0x10b;var _0x5a83d6=a220_0x5a83();var _0x6808ea=_0x5a83d6[_0x1c3dc2];return _0x6808ea;}import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export async function reportCliHelpTrace(_0x3aac53,_0x31dc7a){var _0x5ae08b=a220_0x6808;try{await sendCliTraceLog({'spanName':'cli.help','logData':{'rabetbase.help.kind':_0x3aac53,..._0x31dc7a?.[_0x5ae08b(0x10d)]&&{'rabetbase.help.service':_0x31dc7a[_0x5ae08b(0x10d)]}}});}catch(_0x241e4d){console[_0x5ae08b(0x110)]('Failed\x20to\x20report\x20CLI\x20help\x20trace:',_0x241e4d);}}function a220_0x5a83(){var _0x1530a5=['42199830lplUVC','569300QKYblb','14JNxTis','12132176fcqTLk','182092fjKUVg','10819746FbjBMu','service','5086808yiFGEi','5iGyePJ','error','5566158TUfDqJ'];a220_0x5a83=function(){return _0x1530a5;};return a220_0x5a83();}
@@ -1 +1 @@
1
- (function(_0x47ab71,_0x8be6c0){const _0x12b938=a221_0x184b,_0x5c9e3d=_0x47ab71();while(!![]){try{const _0x3753b0=parseInt(_0x12b938(0x185))/0x1*(parseInt(_0x12b938(0x181))/0x2)+-parseInt(_0x12b938(0x180))/0x3*(-parseInt(_0x12b938(0x187))/0x4)+parseInt(_0x12b938(0x18d))/0x5*(-parseInt(_0x12b938(0x182))/0x6)+parseInt(_0x12b938(0x17f))/0x7+-parseInt(_0x12b938(0x17e))/0x8+parseInt(_0x12b938(0x18b))/0x9+-parseInt(_0x12b938(0x18a))/0xa*(-parseInt(_0x12b938(0x18e))/0xb);if(_0x3753b0===_0x8be6c0)break;else _0x5c9e3d['push'](_0x5c9e3d['shift']());}catch(_0x3a5991){_0x5c9e3d['push'](_0x5c9e3d['shift']());}}}(a221_0x399f,0xad470));import{VERSION,GIT_COMMIT}from'../generated/build-info.js';import{getSessionUserInfo}from'../auth/get-session-user.js';function a221_0x184b(_0xa74244,_0x58f146){_0xa74244=_0xa74244-0x17d;const _0x399f11=a221_0x399f();let _0x184b68=_0x399f11[_0xa74244];return _0x184b68;}import{setServiceConfig,setUserContext}from'@lovrabet/otel-logger';import{NPM_PACKAGE_NAME}from'../constant/cli.js';import{getConfigAppCode}from'../utils/config.js';let cliOtelTraceInitialized=![];function a221_0x399f(){const _0xc61e4d=['11AalHOA','tenant_code','4zCGxZM','username','nickname','10430SrUoWm','6943149bRDmzt','user','11170sNURnS','341dHcTDn','daily','11201016iFeiSq','5872132IPlOAz','1437717ZxdQKM','222836JpguXo','3324fFVANP','email','unknown'];a221_0x399f=function(){return _0xc61e4d;};return a221_0x399f();}export async function ensureCliOtelTraceConfig(){const _0x51877a=a221_0x184b,_0x51f774=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x262f32=_0x51f774?.[_0x51877a(0x18c)];setServiceConfig({'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!==_0x51877a(0x184)?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?_0x51877a(0x17d):'production')}),setUserContext({'id':_0x262f32?.['id'],'username':_0x262f32?.[_0x51877a(0x188)],'nickname':_0x262f32?.[_0x51877a(0x189)],'email':_0x262f32?.[_0x51877a(0x183)],'tenantCode':_0x262f32?.['tenant'][_0x51877a(0x186)],'appCode':getConfigAppCode()}),cliOtelTraceInitialized=!![];}return _0x51f774;}
1
+ function a221_0x307f(_0x509f80,_0x5d32d5){_0x509f80=_0x509f80-0xe9;const _0x1c8817=a221_0x1c88();let _0x307f9a=_0x1c8817[_0x509f80];return _0x307f9a;}(function(_0x3e9591,_0x370e8a){const _0x30e41e=a221_0x307f,_0x2d0dbb=_0x3e9591();while(!![]){try{const _0x30008f=-parseInt(_0x30e41e(0xef))/0x1+-parseInt(_0x30e41e(0xe9))/0x2+-parseInt(_0x30e41e(0xed))/0x3*(-parseInt(_0x30e41e(0xf2))/0x4)+parseInt(_0x30e41e(0xf9))/0x5+parseInt(_0x30e41e(0xec))/0x6*(parseInt(_0x30e41e(0xf4))/0x7)+parseInt(_0x30e41e(0xea))/0x8+parseInt(_0x30e41e(0xf8))/0x9;if(_0x30008f===_0x370e8a)break;else _0x2d0dbb['push'](_0x2d0dbb['shift']());}catch(_0x18d41e){_0x2d0dbb['push'](_0x2d0dbb['shift']());}}}(a221_0x1c88,0x534a3));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';function a221_0x1c88(){const _0xd804e8=['user','tenant','production','1762425DyKpHr','671245UorBZI','daily','1087164hQKRRB','3104392OhxknZ','unknown','678WmYDae','606Epmivi','tenant_code','297537DxesUa','nickname','email','2476XiMWhT','username','21007mDTzYF'];a221_0x1c88=function(){return _0xd804e8;};return a221_0x1c88();}import{getConfigAppCode}from'../utils/config.js';let cliOtelTraceInitialized=![];export async function ensureCliOtelTraceConfig(){const _0x4cbb5e=a221_0x307f,_0x427591=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x5e4cf0=_0x427591?.[_0x4cbb5e(0xf5)];setServiceConfig({'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!==_0x4cbb5e(0xeb)?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?_0x4cbb5e(0xfa):_0x4cbb5e(0xf7))}),setUserContext({'id':_0x5e4cf0?.['id'],'username':_0x5e4cf0?.[_0x4cbb5e(0xf3)],'nickname':_0x5e4cf0?.[_0x4cbb5e(0xf0)],'email':_0x5e4cf0?.[_0x4cbb5e(0xf1)],'tenantCode':_0x5e4cf0?.[_0x4cbb5e(0xf6)][_0x4cbb5e(0xee)],'appCode':getConfigAppCode()}),cliOtelTraceInitialized=!![];}return _0x427591;}
@@ -1 +1 @@
1
- (function(_0x3eb593,_0x505c63){const _0xe5366d=a222_0x2d7f,_0x5c6169=_0x3eb593();while(!![]){try{const _0x56df11=-parseInt(_0xe5366d(0x6f))/0x1+-parseInt(_0xe5366d(0x6c))/0x2*(-parseInt(_0xe5366d(0x6e))/0x3)+-parseInt(_0xe5366d(0x74))/0x4*(-parseInt(_0xe5366d(0x6d))/0x5)+-parseInt(_0xe5366d(0x69))/0x6*(parseInt(_0xe5366d(0x73))/0x7)+-parseInt(_0xe5366d(0x72))/0x8*(-parseInt(_0xe5366d(0x77))/0x9)+-parseInt(_0xe5366d(0x75))/0xa*(-parseInt(_0xe5366d(0x6a))/0xb)+-parseInt(_0xe5366d(0x78))/0xc;if(_0x56df11===_0x505c63)break;else _0x5c6169['push'](_0x5c6169['shift']());}catch(_0x4f81ce){_0x5c6169['push'](_0x5c6169['shift']());}}}(a222_0x33aa,0x2c1ff));import{shutdownTraces}from'@lovrabet/otel-logger';let shutdownPromise=null;export async function flushOtelNodeIfUsed(){if(shutdownPromise)return shutdownPromise;return shutdownPromise=((async()=>{try{await shutdownTraces();}catch{}})()),shutdownPromise;}function a222_0x2d7f(_0x578546,_0xefffe9){_0x578546=_0x578546-0x69;const _0x33aaf3=a222_0x33aa();let _0x2d7fbd=_0x33aaf3[_0x578546];return _0x2d7fbd;}export function registerOtelShutdownOnExit(){const _0x132f78=a222_0x2d7f;process[_0x132f78(0x76)](_0x132f78(0x6b),()=>{void flushOtelNodeIfUsed();});const _0x74bdca=()=>{const _0x1ac731=_0x132f78;void flushOtelNodeIfUsed()[_0x1ac731(0x79)](()=>process['exit'](0x0));};process[_0x132f78(0x76)](_0x132f78(0x71),_0x74bdca),process[_0x132f78(0x76)]('SIGTERM',_0x74bdca);}export async function exitWithOtelShutdown(_0x192332){const _0x291ed9=a222_0x2d7f;await flushOtelNodeIfUsed(),process[_0x291ed9(0x70)](_0x192332);}function a222_0x33aa(){const _0x5cb1de=['194708mrXbhv','10edCbTo','once','9unoSiL','4227336bxSiLv','then','222gDIaXN','3249378SYTjrR','beforeExit','178uvomgX','15NDcDCh','5322kLlZYS','94803RXEmsd','exit','SIGINT','1953688EuvLop','40810MtWxgt'];a222_0x33aa=function(){return _0x5cb1de;};return a222_0x33aa();}
1
+ (function(_0x2b0016,_0x37f363){const _0x8f1ea1=a222_0x1802,_0x437b2a=_0x2b0016();while(!![]){try{const _0x451e45=parseInt(_0x8f1ea1(0xf6))/0x1+-parseInt(_0x8f1ea1(0xfe))/0x2+parseInt(_0x8f1ea1(0xf5))/0x3+-parseInt(_0x8f1ea1(0xf7))/0x4*(-parseInt(_0x8f1ea1(0xfa))/0x5)+parseInt(_0x8f1ea1(0xf3))/0x6*(parseInt(_0x8f1ea1(0xfc))/0x7)+-parseInt(_0x8f1ea1(0xfd))/0x8*(parseInt(_0x8f1ea1(0xf4))/0x9)+parseInt(_0x8f1ea1(0x100))/0xa;if(_0x451e45===_0x37f363)break;else _0x437b2a['push'](_0x437b2a['shift']());}catch(_0x2da58b){_0x437b2a['push'](_0x437b2a['shift']());}}}(a222_0x12a5,0x60373));import{shutdownTraces}from'@lovrabet/otel-logger';function a222_0x12a5(){const _0xe65c2=['1284738QRxeMr','beforeExit','221990zdjNtb','42uDtSSq','18Hqrqbg','1332885KmUHVN','689949pZbPYW','12TgXpfO','exit','once','607055WEAtWb','SIGTERM','137284iYtSZf','2485968biGErx'];a222_0x12a5=function(){return _0xe65c2;};return a222_0x12a5();}let shutdownPromise=null;export async function flushOtelNodeIfUsed(){if(shutdownPromise)return shutdownPromise;return shutdownPromise=((async()=>{try{await shutdownTraces();}catch{}})()),shutdownPromise;}function a222_0x1802(_0x16a891,_0x2f5640){_0x16a891=_0x16a891-0xf3;const _0x12a5d9=a222_0x12a5();let _0x1802e9=_0x12a5d9[_0x16a891];return _0x1802e9;}export function registerOtelShutdownOnExit(){const _0x55caf3=a222_0x1802;process[_0x55caf3(0xf9)](_0x55caf3(0xff),()=>{void flushOtelNodeIfUsed();});const _0x217256=()=>{const _0x344bc0=_0x55caf3;void flushOtelNodeIfUsed()['then'](()=>process[_0x344bc0(0xf8)](0x0));};process['once']('SIGINT',_0x217256),process['once'](_0x55caf3(0xfb),_0x217256);}export async function exitWithOtelShutdown(_0x17eabe){await flushOtelNodeIfUsed(),process['exit'](_0x17eabe);}
@@ -1 +1 @@
1
- function a223_0x2adf(_0x4d664e,_0x443d20){_0x4d664e=_0x4d664e-0x143;const _0x2d290e=a223_0x2d29();let _0x2adf2b=_0x2d290e[_0x4d664e];return _0x2adf2b;}(function(_0x5f44ae,_0x514373){const _0x2c0de6=a223_0x2adf,_0x265eb5=_0x5f44ae();while(!![]){try{const _0x11b13d=-parseInt(_0x2c0de6(0x146))/0x1*(parseInt(_0x2c0de6(0x144))/0x2)+-parseInt(_0x2c0de6(0x14f))/0x3*(parseInt(_0x2c0de6(0x152))/0x4)+parseInt(_0x2c0de6(0x14b))/0x5+-parseInt(_0x2c0de6(0x151))/0x6*(parseInt(_0x2c0de6(0x150))/0x7)+parseInt(_0x2c0de6(0x147))/0x8+-parseInt(_0x2c0de6(0x14e))/0x9+-parseInt(_0x2c0de6(0x143))/0xa*(-parseInt(_0x2c0de6(0x148))/0xb);if(_0x11b13d===_0x514373)break;else _0x265eb5['push'](_0x265eb5['shift']());}catch(_0x6a6a29){_0x265eb5['push'](_0x265eb5['shift']());}}}(a223_0x2d29,0xc7cf2));import{sendTraceLog}from'@lovrabet/otel-logger';function a223_0x2d29(){const _0x3ab80a=['traceparent','1CThAmQ','13091096MulKGv','24367838ipNdev','spanName','traceName','6648790LExnQx','manual','version','2382273HtJupW','522LiXHfj','7dfsmZE','9685638EHiyxk','34744tSzUYz','10CnKVBz','1945302JvbuVj'];a223_0x2d29=function(){return _0x3ab80a;};return a223_0x2d29();}import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';import{getCliVersion}from'../utils/version.js';const DEFAULT_TRACE_NAME='rabetbase-cli';export async function sendCliTraceLog(_0x4bb1af){const _0xaf2fb3=a223_0x2adf;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x4bb1af[_0xaf2fb3(0x14a)]??DEFAULT_TRACE_NAME,'version':_0x4bb1af[_0xaf2fb3(0x14d)]??getCliVersion(),'spanName':_0x4bb1af[_0xaf2fb3(0x149)],'eventType':_0xaf2fb3(0x14c),'logData':_0x4bb1af['logData'],..._0x4bb1af[_0xaf2fb3(0x145)]&&{'traceparent':_0x4bb1af[_0xaf2fb3(0x145)]}});}
1
+ const a223_0x527fb9=a223_0x3517;(function(_0x7aab48,_0x50cd8e){const _0x3a5d87=a223_0x3517,_0x2b877c=_0x7aab48();while(!![]){try{const _0x21d528=-parseInt(_0x3a5d87(0xef))/0x1*(parseInt(_0x3a5d87(0xe6))/0x2)+-parseInt(_0x3a5d87(0xee))/0x3+-parseInt(_0x3a5d87(0xf3))/0x4+parseInt(_0x3a5d87(0xf1))/0x5+parseInt(_0x3a5d87(0xf0))/0x6+parseInt(_0x3a5d87(0xec))/0x7+parseInt(_0x3a5d87(0xf2))/0x8;if(_0x21d528===_0x50cd8e)break;else _0x2b877c['push'](_0x2b877c['shift']());}catch(_0x26be3f){_0x2b877c['push'](_0x2b877c['shift']());}}}(a223_0x4437,0x48129));import{sendTraceLog}from'@lovrabet/otel-logger';import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';function a223_0x4437(){const _0x12b87e=['678408lYVoyw','3xcgIOx','85350vSdeeJ','2949835vBBmWE','1145504SxfwKz','1677152wuFWbE','144626awXfSH','version','traceparent','manual','logData','rabetbase-cli','2871344rWxtSo','spanName'];a223_0x4437=function(){return _0x12b87e;};return a223_0x4437();}import{getCliVersion}from'../utils/version.js';function a223_0x3517(_0xd4aff4,_0x358349){_0xd4aff4=_0xd4aff4-0xe6;const _0x4437a5=a223_0x4437();let _0x3517b4=_0x4437a5[_0xd4aff4];return _0x3517b4;}const DEFAULT_TRACE_NAME=a223_0x527fb9(0xeb);export async function sendCliTraceLog(_0x238836){const _0x30ff63=a223_0x527fb9;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x238836['traceName']??DEFAULT_TRACE_NAME,'version':_0x238836[_0x30ff63(0xe7)]??getCliVersion(),'spanName':_0x238836[_0x30ff63(0xed)],'eventType':_0x30ff63(0xe9),'logData':_0x238836[_0x30ff63(0xea)],..._0x238836[_0x30ff63(0xe8)]&&{'traceparent':_0x238836[_0x30ff63(0xe8)]}});}
@@ -1 +1 @@
1
- const a224_0x675c51=a224_0x47a5;(function(_0x44f3a5,_0x46e6da){const _0xa5105c=a224_0x47a5,_0x2658cf=_0x44f3a5();while(!![]){try{const _0x25e509=-parseInt(_0xa5105c(0x7f))/0x1+parseInt(_0xa5105c(0x7e))/0x2*(-parseInt(_0xa5105c(0x81))/0x3)+-parseInt(_0xa5105c(0x87))/0x4+parseInt(_0xa5105c(0x82))/0x5+-parseInt(_0xa5105c(0x7c))/0x6*(parseInt(_0xa5105c(0x7b))/0x7)+-parseInt(_0xa5105c(0x83))/0x8*(parseInt(_0xa5105c(0x84))/0x9)+parseInt(_0xa5105c(0x7a))/0xa;if(_0x25e509===_0x46e6da)break;else _0x2658cf['push'](_0x2658cf['shift']());}catch(_0x4b5ccd){_0x2658cf['push'](_0x2658cf['shift']());}}}(a224_0x24e5,0x49756));function a224_0x24e5(){const _0x4e307d=['1631672UNDtGG','redactionCount','platform-issue-log-collect','title','17856240VLBXJG','7itoSgC','1733124KsslXj','originalBytes','24PRjcib','209933KsSRTu','redactionKinds','122205mdOJkf','1383450vXBdTp','8qwqhiF','3293127TkOMii','issue.log.collect','sanitize'];a224_0x24e5=function(){return _0x4e307d;};return a224_0x24e5();}import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';function a224_0x47a5(_0x27e8d1,_0x1efaf6){_0x27e8d1=_0x27e8d1-0x79;const _0x24e574=a224_0x24e5();let _0x47a553=_0x24e574[_0x27e8d1];return _0x47a553;}export const PLATFORM_ISSUE_TRACE_NAME=a224_0x675c51(0x89);export const PLATFORM_ISSUE_SPAN_NAME=a224_0x675c51(0x85);export async function sendPlatformIssueCollectLog(_0xbfd3cd){const _0x3cb185=a224_0x675c51;await sendCliTraceLog({'traceName':PLATFORM_ISSUE_TRACE_NAME,'spanName':PLATFORM_ISSUE_SPAN_NAME,'logData':{'issue.title':_0xbfd3cd[_0x3cb185(0x79)],'issue.description':_0xbfd3cd['description'],..._0xbfd3cd[_0x3cb185(0x86)]?{'issue.description_original_bytes':_0xbfd3cd[_0x3cb185(0x86)][_0x3cb185(0x7d)],'issue.description_truncated':_0xbfd3cd[_0x3cb185(0x86)]['truncated'],'issue.description_redactions':_0xbfd3cd['sanitize'][_0x3cb185(0x88)],'issue.description_redaction_kinds':_0xbfd3cd['sanitize'][_0x3cb185(0x80)]['join'](',')}:{}}});}
1
+ const a224_0x4f9238=a224_0x4e89;function a224_0x4e89(_0x66208,_0x55653e){_0x66208=_0x66208-0x8c;const _0x5f1720=a224_0x5f17();let _0x4e8966=_0x5f1720[_0x66208];return _0x4e8966;}(function(_0x53d978,_0x3664a7){const _0x2a94ac=a224_0x4e89,_0x1eef79=_0x53d978();while(!![]){try{const _0x5f3be8=-parseInt(_0x2a94ac(0x90))/0x1+parseInt(_0x2a94ac(0x96))/0x2*(parseInt(_0x2a94ac(0x98))/0x3)+parseInt(_0x2a94ac(0x9a))/0x4*(parseInt(_0x2a94ac(0x95))/0x5)+parseInt(_0x2a94ac(0x8c))/0x6+parseInt(_0x2a94ac(0x8d))/0x7+-parseInt(_0x2a94ac(0x8f))/0x8+-parseInt(_0x2a94ac(0x91))/0x9;if(_0x5f3be8===_0x3664a7)break;else _0x1eef79['push'](_0x1eef79['shift']());}catch(_0x2cb46e){_0x1eef79['push'](_0x1eef79['shift']());}}}(a224_0x5f17,0xe1a23));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export const PLATFORM_ISSUE_TRACE_NAME=a224_0x4f9238(0x8e);export const PLATFORM_ISSUE_SPAN_NAME=a224_0x4f9238(0x97);function a224_0x5f17(){const _0x30d579=['description','title','5391174hwUKfC','9373413JKTAhw','platform-issue-log-collect','5861272LORGlR','22735ovMTRl','15573654uDfVoT','redactionCount','sanitize','join','599365oDOzEP','69086jUBWMC','issue.log.collect','81mPqYsH','truncated','8nWwmAz'];a224_0x5f17=function(){return _0x30d579;};return a224_0x5f17();}export async function sendPlatformIssueCollectLog(_0x32126a){const _0x170c8b=a224_0x4f9238;await sendCliTraceLog({'traceName':PLATFORM_ISSUE_TRACE_NAME,'spanName':PLATFORM_ISSUE_SPAN_NAME,'logData':{'issue.title':_0x32126a[_0x170c8b(0x9c)],'issue.description':_0x32126a[_0x170c8b(0x9b)],..._0x32126a[_0x170c8b(0x93)]?{'issue.description_original_bytes':_0x32126a[_0x170c8b(0x93)]['originalBytes'],'issue.description_truncated':_0x32126a[_0x170c8b(0x93)][_0x170c8b(0x99)],'issue.description_redactions':_0x32126a[_0x170c8b(0x93)][_0x170c8b(0x92)],'issue.description_redaction_kinds':_0x32126a['sanitize']['redactionKinds'][_0x170c8b(0x94)](',')}:{}}});}
@@ -1 +1 @@
1
- const a226_0xb40c5a=a226_0x1e20;(function(_0x24bd86,_0x8a32ad){const _0x11dea3=a226_0x1e20,_0x2c3a8c=_0x24bd86();while(!![]){try{const _0x2cc970=parseInt(_0x11dea3(0x108))/0x1*(-parseInt(_0x11dea3(0x101))/0x2)+-parseInt(_0x11dea3(0x11f))/0x3+-parseInt(_0x11dea3(0x12d))/0x4*(parseInt(_0x11dea3(0x10a))/0x5)+-parseInt(_0x11dea3(0x11a))/0x6+parseInt(_0x11dea3(0x12b))/0x7*(-parseInt(_0x11dea3(0x123))/0x8)+-parseInt(_0x11dea3(0x136))/0x9*(parseInt(_0x11dea3(0x107))/0xa)+parseInt(_0x11dea3(0x104))/0xb;if(_0x2cc970===_0x8a32ad)break;else _0x2c3a8c['push'](_0x2c3a8c['shift']());}catch(_0x3b8425){_0x2c3a8c['push'](_0x2c3a8c['shift']());}}}(a226_0x3f51,0xe34d4));export const CORE_IDE_CONFIGS={'cursor':{'name':'Cursor','description':a226_0xb40c5a(0x109),'folders':['.cursorrules',a226_0xb40c5a(0x130)],'files':[{'type':a226_0xb40c5a(0x138),'path':a226_0xb40c5a(0x132),'template':a226_0xb40c5a(0x134)}]},'windsurf':{'name':a226_0xb40c5a(0x124),'description':a226_0xb40c5a(0x122),'folders':[a226_0xb40c5a(0x10f)],'files':[{'type':'file','path':a226_0xb40c5a(0x139),'template':a226_0xb40c5a(0x134)}]},'claude':{'name':a226_0xb40c5a(0x118),'description':a226_0xb40c5a(0x118),'folders':[a226_0xb40c5a(0x125)],'files':[{'type':'file','path':a226_0xb40c5a(0x12a),'template':'SKILL.md.tpl'}]},'cline':{'name':a226_0xb40c5a(0x137),'description':'Cline\x20IDE','folders':[a226_0xb40c5a(0x117)],'files':[{'type':a226_0xb40c5a(0x138),'path':a226_0xb40c5a(0x11d),'template':a226_0xb40c5a(0x134)}]},'codex':{'name':a226_0xb40c5a(0x10b),'description':a226_0xb40c5a(0x11c),'folders':[a226_0xb40c5a(0x13a)],'files':[{'type':'file','path':a226_0xb40c5a(0x135),'template':a226_0xb40c5a(0x134)}]},'opencode':{'name':a226_0xb40c5a(0x116),'description':'OpenCode\x20IDE','folders':['.opencode'],'files':[{'type':a226_0xb40c5a(0x138),'path':a226_0xb40c5a(0x133),'template':'SKILL.md.tpl'}]},'qoder':{'name':a226_0xb40c5a(0x113),'description':a226_0xb40c5a(0x129),'folders':[a226_0xb40c5a(0x120)],'files':[{'type':'file','path':a226_0xb40c5a(0x11e),'template':a226_0xb40c5a(0x134)},{'type':a226_0xb40c5a(0x138),'path':a226_0xb40c5a(0x115),'template':a226_0xb40c5a(0x134)}]},'codebuddy':{'name':a226_0xb40c5a(0x119),'description':a226_0xb40c5a(0x105),'folders':[a226_0xb40c5a(0x13b)],'files':[{'type':'file','path':a226_0xb40c5a(0x106),'template':'SKILL.md.tpl'}]},'trae':{'name':a226_0xb40c5a(0x10d),'description':a226_0xb40c5a(0x103),'folders':[a226_0xb40c5a(0x12f)],'files':[{'type':a226_0xb40c5a(0x138),'path':'.trae/skills/lovrabet/SKILL.md','template':'SKILL.md.tpl'}]}};export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':a226_0xb40c5a(0x110),'description':a226_0xb40c5a(0x11b),'folders':[a226_0xb40c5a(0x131)],'files':[{'type':a226_0xb40c5a(0x138),'path':a226_0xb40c5a(0x12e),'template':a226_0xb40c5a(0x134)}]},'antigravity':{'name':a226_0xb40c5a(0x112),'description':'Antigravity\x20IDE','folders':[a226_0xb40c5a(0x131)],'files':[{'type':'file','path':a226_0xb40c5a(0x12e),'template':a226_0xb40c5a(0x134)}]}};export const CORE_IDE_LIST=[a226_0xb40c5a(0x114),a226_0xb40c5a(0x13c),'codebuddy',a226_0xb40c5a(0x111),a226_0xb40c5a(0x121),a226_0xb40c5a(0x102),a226_0xb40c5a(0x10e),a226_0xb40c5a(0x12c),'windsurf'];export const IDE_LIST=[a226_0xb40c5a(0x126),a226_0xb40c5a(0x114),a226_0xb40c5a(0x13c),a226_0xb40c5a(0x10c),a226_0xb40c5a(0x111),a226_0xb40c5a(0x121),'opencode',a226_0xb40c5a(0x10e),a226_0xb40c5a(0x12c),a226_0xb40c5a(0x128),a226_0xb40c5a(0x127)];function a226_0x3f51(){const _0x8c4275=['opencode','Trae\x20IDE','85476677lEzDle','CodeBuddy\x20IDE','.codebuddy/skills/lovrabet/SKILL.md','1552510cTbTlF','9389kNLYng','Cursor\x20IDE','2148965pMemZk','Codex','codebuddy','Trae','qoder','.windsurf','其他\x20(通用模板)','codex','Antigravity','Qoder','claude','.qoder/skills/lovrabet/SKILL.md','OpenCode','.cline','Claude\x20Code','CodeBuddy','4745460cHbcky','通用模板\x20-\x20兜底方案','Codex\x20IDE','.cline/skills/lovrabet/SKILL.md','.qoder/rules/rabetbase.md','3187752YbXZiL','.qoder','cursor','Windsurf\x20IDE','14484432IEMsyL','Windsurf','.claude','antigravity','agent','windsurf','Qoder\x20IDE','.claude/skills/lovrabet/SKILL.md','7mOOYtL','trae','12Gkpgjf','.agent/skills/lovrabet/SKILL.md','.trae','.cursor','.agent','.cursor/skills/rabetbase.md','.opencode/skills/lovrabet/SKILL.md','SKILL.md.tpl','.codex/skills/lovrabet/SKILL.md','99OBwRDe','Cline','file','.windsurf/workflows/rabetbase.md','.codex','.codebuddy','cline','38zZMezH'];a226_0x3f51=function(){return _0x8c4275;};return a226_0x3f51();}function a226_0x1e20(_0xad5954,_0xbd2809){_0xad5954=_0xad5954-0x101;const _0x3f51c3=a226_0x3f51();let _0x1e208c=_0x3f51c3[_0xad5954];return _0x1e208c;}export const ALL_CORE_IDES=[a226_0xb40c5a(0x121),'windsurf',a226_0xb40c5a(0x114),a226_0xb40c5a(0x13c),a226_0xb40c5a(0x111),a226_0xb40c5a(0x102),a226_0xb40c5a(0x10e),'codebuddy',a226_0xb40c5a(0x12c)];
1
+ const a226_0x5111c4=a226_0x1d19;function a226_0x1d19(_0x175849,_0x56b30d){_0x175849=_0x175849-0xc3;const _0x2a0ad1=a226_0x2a0a();let _0x1d19e0=_0x2a0ad1[_0x175849];return _0x1d19e0;}(function(_0x5c01d7,_0x203680){const _0x4a4b23=a226_0x1d19,_0x2ab527=_0x5c01d7();while(!![]){try{const _0x3b0dc1=-parseInt(_0x4a4b23(0xcd))/0x1*(parseInt(_0x4a4b23(0xed))/0x2)+parseInt(_0x4a4b23(0xdd))/0x3+parseInt(_0x4a4b23(0xf1))/0x4+-parseInt(_0x4a4b23(0xeb))/0x5*(-parseInt(_0x4a4b23(0xf3))/0x6)+-parseInt(_0x4a4b23(0xc7))/0x7*(parseInt(_0x4a4b23(0xe2))/0x8)+-parseInt(_0x4a4b23(0xe9))/0x9+-parseInt(_0x4a4b23(0xc4))/0xa*(-parseInt(_0x4a4b23(0xf4))/0xb);if(_0x3b0dc1===_0x203680)break;else _0x2ab527['push'](_0x2ab527['shift']());}catch(_0x4a252d){_0x2ab527['push'](_0x2ab527['shift']());}}}(a226_0x2a0a,0xa7f94));function a226_0x2a0a(){const _0x122415=['307992OyCIoU','319rkvVct','.codex/skills/lovrabet/SKILL.md','.opencode','Cline','SKILL.md.tpl','.codebuddy','222730ohlYjW','claude','trae','217nfqGvF','.windsurf','.agent/skills/lovrabet/SKILL.md','.cursor/skills/rabetbase.md','.codebuddy/skills/lovrabet/SKILL.md','codebuddy','5081fCCqtj','.opencode/skills/lovrabet/SKILL.md','.cline','opencode','Codex','qoder','Cursor','.claude/skills/lovrabet/SKILL.md','Codex\x20IDE','其他\x20(通用模板)','cline','Trae','OpenCode\x20IDE','Qoder\x20IDE','Claude\x20Code','.trae/skills/lovrabet/SKILL.md','2171235GONBRK','.codex','antigravity','file','Qoder','341008vOyCSD','.windsurf/workflows/rabetbase.md','agent','cursor','.qoder/skills/lovrabet/SKILL.md','CodeBuddy\x20IDE','.agent','12321216hDVsrJ','.qoder/rules/rabetbase.md','75cOsQFl','codex','2LnfhDi','Antigravity','OpenCode','windsurf','4975556BPfaRW','Antigravity\x20IDE'];a226_0x2a0a=function(){return _0x122415;};return a226_0x2a0a();}export const CORE_IDE_CONFIGS={'cursor':{'name':a226_0x5111c4(0xd3),'description':'Cursor\x20IDE','folders':['.cursorrules','.cursor'],'files':[{'type':'file','path':a226_0x5111c4(0xca),'template':a226_0x5111c4(0xf8)}]},'windsurf':{'name':'Windsurf','description':'Windsurf\x20IDE','folders':[a226_0x5111c4(0xc8)],'files':[{'type':a226_0x5111c4(0xe0),'path':a226_0x5111c4(0xe3),'template':'SKILL.md.tpl'}]},'claude':{'name':a226_0x5111c4(0xdb),'description':a226_0x5111c4(0xdb),'folders':['.claude'],'files':[{'type':a226_0x5111c4(0xe0),'path':a226_0x5111c4(0xd4),'template':a226_0x5111c4(0xf8)}]},'cline':{'name':a226_0x5111c4(0xf7),'description':'Cline\x20IDE','folders':[a226_0x5111c4(0xcf)],'files':[{'type':a226_0x5111c4(0xe0),'path':'.cline/skills/lovrabet/SKILL.md','template':a226_0x5111c4(0xf8)}]},'codex':{'name':a226_0x5111c4(0xd1),'description':a226_0x5111c4(0xd5),'folders':[a226_0x5111c4(0xde)],'files':[{'type':a226_0x5111c4(0xe0),'path':a226_0x5111c4(0xf5),'template':'SKILL.md.tpl'}]},'opencode':{'name':a226_0x5111c4(0xef),'description':a226_0x5111c4(0xd9),'folders':[a226_0x5111c4(0xf6)],'files':[{'type':a226_0x5111c4(0xe0),'path':a226_0x5111c4(0xce),'template':'SKILL.md.tpl'}]},'qoder':{'name':a226_0x5111c4(0xe1),'description':a226_0x5111c4(0xda),'folders':['.qoder'],'files':[{'type':a226_0x5111c4(0xe0),'path':a226_0x5111c4(0xea),'template':a226_0x5111c4(0xf8)},{'type':'file','path':a226_0x5111c4(0xe6),'template':a226_0x5111c4(0xf8)}]},'codebuddy':{'name':'CodeBuddy','description':a226_0x5111c4(0xe7),'folders':[a226_0x5111c4(0xc3)],'files':[{'type':a226_0x5111c4(0xe0),'path':a226_0x5111c4(0xcb),'template':a226_0x5111c4(0xf8)}]},'trae':{'name':a226_0x5111c4(0xd8),'description':'Trae\x20IDE','folders':['.trae'],'files':[{'type':'file','path':a226_0x5111c4(0xdc),'template':a226_0x5111c4(0xf8)}]}};export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':a226_0x5111c4(0xd6),'description':'通用模板\x20-\x20兜底方案','folders':[a226_0x5111c4(0xe8)],'files':[{'type':'file','path':a226_0x5111c4(0xc9),'template':'SKILL.md.tpl'}]},'antigravity':{'name':a226_0x5111c4(0xee),'description':a226_0x5111c4(0xf2),'folders':['.agent'],'files':[{'type':a226_0x5111c4(0xe0),'path':a226_0x5111c4(0xc9),'template':a226_0x5111c4(0xf8)}]}};export const CORE_IDE_LIST=[a226_0x5111c4(0xc5),'cline',a226_0x5111c4(0xcc),a226_0x5111c4(0xec),'cursor','opencode',a226_0x5111c4(0xd2),'trae',a226_0x5111c4(0xf0)];export const IDE_LIST=[a226_0x5111c4(0xdf),a226_0x5111c4(0xc5),a226_0x5111c4(0xd7),'codebuddy',a226_0x5111c4(0xec),a226_0x5111c4(0xe5),a226_0x5111c4(0xd0),a226_0x5111c4(0xd2),a226_0x5111c4(0xc6),a226_0x5111c4(0xf0),a226_0x5111c4(0xe4)];export const ALL_CORE_IDES=[a226_0x5111c4(0xe5),a226_0x5111c4(0xf0),a226_0x5111c4(0xc5),a226_0x5111c4(0xd7),a226_0x5111c4(0xec),a226_0x5111c4(0xd0),'qoder',a226_0x5111c4(0xcc),'trae'];