@lovrabet/rabetbase-cli 2.1.6-beta.0 → 2.1.6

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 (188) 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/discover.js +1 -1
  21. package/lib/commands/app/index.js +1 -1
  22. package/lib/commands/app/list.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/use.js +1 -1
  26. package/lib/commands/auth/index.js +1 -1
  27. package/lib/commands/bff/create.js +1 -1
  28. package/lib/commands/bff/delete.js +1 -1
  29. package/lib/commands/bff/detail.js +1 -1
  30. package/lib/commands/bff/index.js +1 -1
  31. package/lib/commands/bff/list.js +1 -1
  32. package/lib/commands/bff/pull.js +1 -1
  33. package/lib/commands/bff/push.js +1 -1
  34. package/lib/commands/bff/status.js +1 -1
  35. package/lib/commands/cli-update.js +1 -1
  36. package/lib/commands/codegen/index.js +1 -1
  37. package/lib/commands/codegen/sdk.js +1 -1
  38. package/lib/commands/codegen/sql.js +1 -1
  39. package/lib/commands/common/app-selector.js +1 -1
  40. package/lib/commands/common/flags.js +1 -1
  41. package/lib/commands/common/validate.js +1 -1
  42. package/lib/commands/config/get.js +1 -1
  43. package/lib/commands/config/index.js +1 -1
  44. package/lib/commands/config/list.js +1 -1
  45. package/lib/commands/config/set.js +1 -1
  46. package/lib/commands/config/shared.js +1 -1
  47. package/lib/commands/data/filter.js +1 -1
  48. package/lib/commands/data/getOne.js +1 -1
  49. package/lib/commands/data/index.js +1 -1
  50. package/lib/commands/data/shared.js +1 -1
  51. package/lib/commands/dataset/detail.js +1 -1
  52. package/lib/commands/dataset/index.js +1 -1
  53. package/lib/commands/dataset/links.js +1 -1
  54. package/lib/commands/dataset/list.js +1 -1
  55. package/lib/commands/dataset/operations.js +1 -1
  56. package/lib/commands/db/analyze-cancel.js +1 -1
  57. package/lib/commands/db/analyze-start.js +1 -1
  58. package/lib/commands/db/analyze-status.js +1 -1
  59. package/lib/commands/db/create.js +1 -1
  60. package/lib/commands/db/delete.js +1 -1
  61. package/lib/commands/db/detail.js +1 -1
  62. package/lib/commands/db/diff.js +1 -1
  63. package/lib/commands/db/index.js +1 -1
  64. package/lib/commands/db/list.js +1 -1
  65. package/lib/commands/db/shared.js +1 -1
  66. package/lib/commands/db/tables.js +1 -1
  67. package/lib/commands/db/test.js +1 -1
  68. package/lib/commands/db/update.js +1 -1
  69. package/lib/commands/doctor.js +1 -1
  70. package/lib/commands/init/index.js +1 -1
  71. package/lib/commands/logs/index.js +1 -1
  72. package/lib/commands/menu/index.js +1 -1
  73. package/lib/commands/menu/shared/compare-table.js +1 -1
  74. package/lib/commands/menu/shared/index.js +1 -1
  75. package/lib/commands/menu/shared/inquirer.js +1 -1
  76. package/lib/commands/menu/shared/local-pages.js +1 -1
  77. package/lib/commands/menu/shared/logic.js +1 -1
  78. package/lib/commands/menu/shared/service.js +1 -1
  79. package/lib/commands/menu/shared/sync-core.js +1 -1
  80. package/lib/commands/menu/shared/update-core.js +1 -1
  81. package/lib/commands/menu/shared/valid-url.js +1 -1
  82. package/lib/commands/menu/sync.js +1 -1
  83. package/lib/commands/menu/update.js +1 -1
  84. package/lib/commands/page/generate-start.js +1 -1
  85. package/lib/commands/page/generate-status.js +1 -1
  86. package/lib/commands/page/index.js +1 -1
  87. package/lib/commands/page/pull.js +1 -1
  88. package/lib/commands/page/push.js +1 -1
  89. package/lib/commands/page/shared.js +1 -1
  90. package/lib/commands/page/standard-page-status.js +1 -1
  91. package/lib/commands/page/sync.js +1 -1
  92. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  93. package/lib/commands/project/create/format-elapsed.js +1 -1
  94. package/lib/commands/project/create/main.js +1 -1
  95. package/lib/commands/project/create/non-interactive.js +1 -1
  96. package/lib/commands/project/create/project-template-path.js +1 -1
  97. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  98. package/lib/commands/project/create/use-format-code.js +1 -1
  99. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  100. package/lib/commands/project/index.js +1 -1
  101. package/lib/commands/project/init.js +1 -1
  102. package/lib/commands/project/upgrade.js +1 -1
  103. package/lib/commands/registry.js +1 -1
  104. package/lib/commands/run/index.js +1 -1
  105. package/lib/commands/schema.js +1 -1
  106. package/lib/commands/skill/index.js +1 -1
  107. package/lib/commands/sql/create.js +1 -1
  108. package/lib/commands/sql/delete.js +1 -1
  109. package/lib/commands/sql/detail.js +1 -1
  110. package/lib/commands/sql/exec.js +1 -1
  111. package/lib/commands/sql/index.js +1 -1
  112. package/lib/commands/sql/list.js +1 -1
  113. package/lib/commands/sql/pull.js +1 -1
  114. package/lib/commands/sql/push.js +1 -1
  115. package/lib/commands/sql/save.js +1 -1
  116. package/lib/commands/sql/shared.js +1 -1
  117. package/lib/commands/sql/status.js +1 -1
  118. package/lib/commands/sql/validate.js +1 -1
  119. package/lib/config/schema.js +1 -1
  120. package/lib/constant/cdn.js +1 -1
  121. package/lib/constant/cli.js +1 -1
  122. package/lib/constant/defaults.js +1 -1
  123. package/lib/constant/domain.js +1 -1
  124. package/lib/constant/env.js +1 -1
  125. package/lib/constant/output.js +1 -1
  126. package/lib/constant/paths.js +1 -1
  127. package/lib/constant/risk.js +1 -1
  128. package/lib/context.js +1 -1
  129. package/lib/core/alias-resolver.js +1 -1
  130. package/lib/core/api-client.js +1 -1
  131. package/lib/core/bff/config.js +1 -1
  132. package/lib/core/bff/file-system.js +1 -1
  133. package/lib/core/bff/hash.js +1 -1
  134. package/lib/core/bff/lock.js +1 -1
  135. package/lib/core/bff/utils.js +1 -1
  136. package/lib/core/db-resolver.js +1 -1
  137. package/lib/core/page/file-system.js +1 -1
  138. package/lib/core/page/hash.js +1 -1
  139. package/lib/core/page/lock.js +1 -1
  140. package/lib/core/sql-sync/config.js +1 -1
  141. package/lib/core/sql-sync/file-system.js +1 -1
  142. package/lib/core/sql-sync/hash.js +1 -1
  143. package/lib/core/sql-sync/lock.js +1 -1
  144. package/lib/core/sql-sync/utils.js +1 -1
  145. package/lib/core/sql-validator.js +1 -1
  146. package/lib/errors.js +1 -1
  147. package/lib/framework/build-all-flags.js +1 -1
  148. package/lib/framework/flags.js +1 -1
  149. package/lib/framework/help.js +1 -1
  150. package/lib/framework/index.js +1 -1
  151. package/lib/framework/output.js +1 -1
  152. package/lib/framework/response.js +1 -1
  153. package/lib/framework/runner-alias.js +1 -1
  154. package/lib/framework/runner.js +1 -1
  155. package/lib/framework/schema-export.js +1 -1
  156. package/lib/framework/types.js +1 -1
  157. package/lib/generated/build-info.js +1 -1
  158. package/lib/help.js +1 -1
  159. package/lib/skills/main.js +1 -1
  160. package/lib/skills/npx-skills-add.js +1 -1
  161. package/lib/telemetry/cli-command-trace.js +1 -1
  162. package/lib/telemetry/cli-help-trace.js +1 -1
  163. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  164. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  165. package/lib/telemetry/send-cli-trace-log.js +1 -1
  166. package/lib/utils/ai_config.js +1 -1
  167. package/lib/utils/apply-jq-filter.js +1 -1
  168. package/lib/utils/cdn-config.js +1 -1
  169. package/lib/utils/check-sdk-version.js +1 -1
  170. package/lib/utils/cli-version-check.js +1 -1
  171. package/lib/utils/cli-version-policy.js +1 -1
  172. package/lib/utils/config.js +1 -1
  173. package/lib/utils/copy-directory.js +1 -1
  174. package/lib/utils/entity-with-id.js +1 -1
  175. package/lib/utils/file-utils.js +1 -1
  176. package/lib/utils/guides-cdn.js +1 -1
  177. package/lib/utils/http-client.js +1 -1
  178. package/lib/utils/is-non-interactive.js +1 -1
  179. package/lib/utils/logger.js +1 -1
  180. package/lib/utils/params.js +1 -1
  181. package/lib/utils/platform.js +1 -1
  182. package/lib/utils/rules-cdn.js +1 -1
  183. package/lib/utils/sleep.js +1 -1
  184. package/lib/utils/template-replacer.js +1 -1
  185. package/lib/utils/version.js +1 -1
  186. package/lib/utils/with-active-cookie.js +1 -1
  187. package/lib/utils/write-cli-side-channel.js +1 -1
  188. package/package.json +1 -1
@@ -1 +1 @@
1
- (function(_0x5bb919,_0x1cfd2){const _0x1c9786=a145_0x4e04,_0x3f57b5=_0x5bb919();while(!![]){try{const _0x44046b=-parseInt(_0x1c9786(0x176))/0x1*(parseInt(_0x1c9786(0x177))/0x2)+parseInt(_0x1c9786(0x17f))/0x3*(parseInt(_0x1c9786(0x170))/0x4)+-parseInt(_0x1c9786(0x174))/0x5+parseInt(_0x1c9786(0x173))/0x6+-parseInt(_0x1c9786(0x172))/0x7+parseInt(_0x1c9786(0x17c))/0x8*(parseInt(_0x1c9786(0x17b))/0x9)+-parseInt(_0x1c9786(0x17d))/0xa*(-parseInt(_0x1c9786(0x179))/0xb);if(_0x44046b===_0x1cfd2)break;else _0x3f57b5['push'](_0x3f57b5['shift']());}catch(_0x4e2096){_0x3f57b5['push'](_0x3f57b5['shift']());}}}(a145_0x2559,0x422bd));function a145_0x2559(){const _0x4d3acb=['2714kxYGjP','ENOENT','130603vPyjtZ','apps','2232702mSncJw','8rWZNkH','50kkGgIR','Check\x20.rabetbase/sql.lock.json\x20or\x20operate\x20from\x20the\x20correct\x20project\x20directory.','147kmCSvt','\x22\x20vs\x20lock\x20\x22','sqlRoot','utf8','sqls',':\x20sqlRoot\x20mismatch\x20—\x20current\x20\x22','\x22.\x20','39308lfNIBZ','lastSync','3516835NjfBfC','2059680ksnudl','952680QqBJJX','code','124vFrZcs'];a145_0x2559=function(){return _0x4d3acb;};return a145_0x2559();}import{mkdir,readFile,writeFile}from'node:fs/promises';import{dirname}from'node:path';export function createEmptySqlLock(){return{'apps':{}};}function a145_0x4e04(_0x11cde5,_0x12b094){_0x11cde5=_0x11cde5-0x170;const _0x25595a=a145_0x2559();let _0x4e04b5=_0x25595a[_0x11cde5];return _0x4e04b5;}export function ensureSqlLockScope(_0x3d0c09,_0x1c323d,_0x3b50d8,_0x5c4488){const _0x1702ca=a145_0x4e04,_0x21624a=_0x3d0c09??createEmptySqlLock();let _0x523f5b=_0x21624a[_0x1702ca(0x17a)][_0x1c323d];if(!_0x523f5b)return _0x523f5b={'sqlRoot':_0x3b50d8,'lastSync':'','sqls':{}},_0x21624a['apps'][_0x1c323d]=_0x523f5b,{'lockData':_0x21624a,'appLock':_0x523f5b};if(!_0x523f5b[_0x1702ca(0x181)])_0x523f5b[_0x1702ca(0x181)]=_0x3b50d8;else{if(_0x523f5b[_0x1702ca(0x181)]!==_0x3b50d8)throw new Error(_0x5c4488+_0x1702ca(0x184)+_0x3b50d8+_0x1702ca(0x180)+_0x523f5b[_0x1702ca(0x181)]+_0x1702ca(0x185)+_0x1702ca(0x17e));}return!_0x523f5b[_0x1702ca(0x183)]&&(_0x523f5b[_0x1702ca(0x183)]={}),!_0x523f5b[_0x1702ca(0x171)]&&(_0x523f5b[_0x1702ca(0x171)]=''),{'lockData':_0x21624a,'appLock':_0x523f5b};}export async function readSqlLockFile(_0xe3bd2d){const _0x405750=a145_0x4e04;try{const _0x32fbbe=await readFile(_0xe3bd2d,_0x405750(0x182));return JSON['parse'](_0x32fbbe);}catch(_0x2f8ca9){if(_0x2f8ca9[_0x405750(0x175)]===_0x405750(0x178))return null;throw new Error('Failed\x20to\x20read\x20SQL\x20lock\x20file:\x20'+String(_0x2f8ca9));}}export async function writeSqlLockFile(_0x4a24aa,_0x155dc6){const _0x31c924=a145_0x4e04;await mkdir(dirname(_0x4a24aa),{'recursive':!![]}),await writeFile(_0x4a24aa,JSON['stringify'](_0x155dc6,null,0x2),_0x31c924(0x182));}
1
+ function a145_0x1ec4(){const _0x123df2=['\x22.\x20','sqlRoot','7yfLEJM','3SuDuLH','apps','2845560AZpXVR','517178Ovaune','stringify','parse','Check\x20.rabetbase/sql.lock.json\x20or\x20operate\x20from\x20the\x20correct\x20project\x20directory.','lastSync',':\x20sqlRoot\x20mismatch\x20—\x20current\x20\x22','ENOENT','sqls','2989672hSSlnR','Failed\x20to\x20read\x20SQL\x20lock\x20file:\x20','470543ncGHoJ','741855KIjpme','utf8','1542952uOdHIO','13842162TMqdad'];a145_0x1ec4=function(){return _0x123df2;};return a145_0x1ec4();}(function(_0x441d6b,_0x4eb902){const _0x5ea1ce=a145_0x218c,_0x483dc3=_0x441d6b();while(!![]){try{const _0x5f280c=-parseInt(_0x5ea1ce(0x151))/0x1+parseInt(_0x5ea1ce(0x15c))/0x2*(parseInt(_0x5ea1ce(0x159))/0x3)+-parseInt(_0x5ea1ce(0x154))/0x4+parseInt(_0x5ea1ce(0x152))/0x5+-parseInt(_0x5ea1ce(0x15b))/0x6+parseInt(_0x5ea1ce(0x158))/0x7*(-parseInt(_0x5ea1ce(0x14f))/0x8)+parseInt(_0x5ea1ce(0x155))/0x9;if(_0x5f280c===_0x4eb902)break;else _0x483dc3['push'](_0x483dc3['shift']());}catch(_0x49358e){_0x483dc3['push'](_0x483dc3['shift']());}}}(a145_0x1ec4,0x3ac58));import{mkdir,readFile,writeFile}from'node:fs/promises';import{dirname}from'node:path';export function createEmptySqlLock(){return{'apps':{}};}export function ensureSqlLockScope(_0x377b49,_0x10d563,_0x4bb6e6,_0x4aafe3){const _0x17d63f=a145_0x218c,_0x35cdb6=_0x377b49??createEmptySqlLock();let _0x38c6d6=_0x35cdb6[_0x17d63f(0x15a)][_0x10d563];if(!_0x38c6d6)return _0x38c6d6={'sqlRoot':_0x4bb6e6,'lastSync':'','sqls':{}},_0x35cdb6[_0x17d63f(0x15a)][_0x10d563]=_0x38c6d6,{'lockData':_0x35cdb6,'appLock':_0x38c6d6};if(!_0x38c6d6[_0x17d63f(0x157)])_0x38c6d6[_0x17d63f(0x157)]=_0x4bb6e6;else{if(_0x38c6d6[_0x17d63f(0x157)]!==_0x4bb6e6)throw new Error(_0x4aafe3+_0x17d63f(0x14c)+_0x4bb6e6+'\x22\x20vs\x20lock\x20\x22'+_0x38c6d6[_0x17d63f(0x157)]+_0x17d63f(0x156)+_0x17d63f(0x14a));}return!_0x38c6d6[_0x17d63f(0x14e)]&&(_0x38c6d6[_0x17d63f(0x14e)]={}),!_0x38c6d6['lastSync']&&(_0x38c6d6[_0x17d63f(0x14b)]=''),{'lockData':_0x35cdb6,'appLock':_0x38c6d6};}export async function readSqlLockFile(_0x5eb82a){const _0x4a22e9=a145_0x218c;try{const _0x210bfc=await readFile(_0x5eb82a,'utf8');return JSON[_0x4a22e9(0x15e)](_0x210bfc);}catch(_0x3b5db1){if(_0x3b5db1['code']===_0x4a22e9(0x14d))return null;throw new Error(_0x4a22e9(0x150)+String(_0x3b5db1));}}function a145_0x218c(_0x5c4df9,_0x2bbe2c){_0x5c4df9=_0x5c4df9-0x14a;const _0x1ec43c=a145_0x1ec4();let _0x218cd9=_0x1ec43c[_0x5c4df9];return _0x218cd9;}export async function writeSqlLockFile(_0x52b6e1,_0x3525e6){const _0x5bf21f=a145_0x218c;await mkdir(dirname(_0x52b6e1),{'recursive':!![]}),await writeFile(_0x52b6e1,JSON[_0x5bf21f(0x15d)](_0x3525e6,null,0x2),_0x5bf21f(0x153));}
@@ -1 +1 @@
1
- (function(_0x4d76ca,_0xfcece8){const _0x2fcc38=a147_0x59ad,_0xfa8295=_0x4d76ca();while(!![]){try{const _0x47c27b=-parseInt(_0x2fcc38(0x79))/0x1*(-parseInt(_0x2fcc38(0x89))/0x2)+-parseInt(_0x2fcc38(0x82))/0x3+parseInt(_0x2fcc38(0x7a))/0x4*(parseInt(_0x2fcc38(0x86))/0x5)+parseInt(_0x2fcc38(0x7d))/0x6*(parseInt(_0x2fcc38(0x85))/0x7)+-parseInt(_0x2fcc38(0x87))/0x8+parseInt(_0x2fcc38(0x81))/0x9*(parseInt(_0x2fcc38(0x7c))/0xa)+-parseInt(_0x2fcc38(0x83))/0xb;if(_0x47c27b===_0xfcece8)break;else _0xfa8295['push'](_0xfa8295['shift']());}catch(_0x3c1a82){_0xfa8295['push'](_0xfa8295['shift']());}}}(a147_0x39d5,0x788ed));export function detectSqlMode(_0x356308){const _0x2efd9e=a147_0x59ad,_0x515ccf=_0x356308[_0x2efd9e(0x7b)]();if(/^<(select|insert|update|delete)\b/i[_0x2efd9e(0x84)](_0x515ccf))return _0x2efd9e(0x78);return'sql';}function a147_0x39d5(){const _0x5ccb15=['.xml','replace','mybatisXml','4TyilcT','8hAOVDe','trimStart','871480krbgYn','108282FCFXoy','unknown-db','.sql','trim','45TnFOfD','58452LBvuQO','9497829OKZhza','test','7bNJRRj','1701605YuqzpH','5252040vuIzjz','unknown-sql','449402uQJjng'];a147_0x39d5=function(){return _0x5ccb15;};return a147_0x39d5();}export function getSqlFileExtension(_0x48ca86){const _0x276f0c=a147_0x59ad;return _0x48ca86===_0x276f0c(0x78)?_0x276f0c(0x8a):_0x276f0c(0x7f);}export function buildDefaultSqlFileName(_0x2953d1,_0x49e24c){return''+_0x2953d1+getSqlFileExtension(_0x49e24c);}function a147_0x59ad(_0x7d2fa6,_0x4b066c){_0x7d2fa6=_0x7d2fa6-0x78;const _0x39d54f=a147_0x39d5();let _0x59ad5c=_0x39d54f[_0x7d2fa6];return _0x59ad5c;}export function sanitizeSqlPathSegment(_0x36ece4,_0x591f26){const _0x1b753a=a147_0x59ad,_0x4175e2=String(_0x36ece4??'')[_0x1b753a(0x80)](),_0x45c3a7=_0x4175e2[_0x1b753a(0x8b)](/[<>:"/\\|?*\u0000-\u001F]/g,'-')[_0x1b753a(0x8b)](/\s+/g,'-')[_0x1b753a(0x8b)](/-+/g,'-')['replace'](/^\.+/,'')[_0x1b753a(0x8b)](/\.+$/,'')[_0x1b753a(0x8b)](/^-+/,'')[_0x1b753a(0x8b)](/-+$/,'');return _0x45c3a7||_0x591f26;}export function buildDbDirectoryName(_0x3493bd,_0x702515){const _0x3b1c2d=a147_0x59ad;return sanitizeSqlPathSegment(_0x3493bd,_0x702515!=null?'db-'+_0x702515:_0x3b1c2d(0x7e));}export function buildSqlRelativePath(_0x74063,_0x421fd2,_0x5842f7,_0x50b9eb,_0x4b5ec5){const _0x3686f9=a147_0x59ad,_0x588b5e=buildDbDirectoryName(_0x5842f7,_0x4b5ec5),_0x442923=sanitizeSqlPathSegment(_0x74063,_0x3686f9(0x88)),_0x244577=sanitizeSqlPathSegment(_0x421fd2,_0x442923);return _0x588b5e+'/'+_0x442923+'_'+_0x244577+getSqlFileExtension(_0x50b9eb);}
1
+ function a147_0x4e3d(){const _0x15bacf=['788826OZFMrl','4220181gHwRWJ','mybatisXml','test','.sql','182kPZnCd','495909oueynj','trimStart','replace','1501Mpvnbd','1490384QTLPXI','unknown-db','unknown-sql','459680NSmTPT','7xqjxRt','sql','860350gkJdBR'];a147_0x4e3d=function(){return _0x15bacf;};return a147_0x4e3d();}(function(_0x450731,_0x178761){const _0x160705=a147_0x4e9b,_0x362f4e=_0x450731();while(!![]){try{const _0x25963a=-parseInt(_0x160705(0x109))/0x1*(parseInt(_0x160705(0x105))/0x2)+parseInt(_0x160705(0x106))/0x3+parseInt(_0x160705(0x10d))/0x4+-parseInt(_0x160705(0x110))/0x5+parseInt(_0x160705(0x111))/0x6*(-parseInt(_0x160705(0x10e))/0x7)+-parseInt(_0x160705(0x10a))/0x8+parseInt(_0x160705(0x101))/0x9;if(_0x25963a===_0x178761)break;else _0x362f4e['push'](_0x362f4e['shift']());}catch(_0x21ef9b){_0x362f4e['push'](_0x362f4e['shift']());}}}(a147_0x4e3d,0x1df4e));export function detectSqlMode(_0x40436c){const _0xe47dd5=a147_0x4e9b,_0x2b1e7e=_0x40436c[_0xe47dd5(0x107)]();if(/^<(select|insert|update|delete)\b/i[_0xe47dd5(0x103)](_0x2b1e7e))return _0xe47dd5(0x102);return _0xe47dd5(0x10f);}export function getSqlFileExtension(_0x56b182){const _0x330b27=a147_0x4e9b;return _0x56b182==='mybatisXml'?'.xml':_0x330b27(0x104);}export function buildDefaultSqlFileName(_0x3b53d4,_0x37ec87){return''+_0x3b53d4+getSqlFileExtension(_0x37ec87);}function a147_0x4e9b(_0x126c51,_0x3b5c91){_0x126c51=_0x126c51-0x101;const _0x4e3d63=a147_0x4e3d();let _0x4e9ba0=_0x4e3d63[_0x126c51];return _0x4e9ba0;}export function sanitizeSqlPathSegment(_0x2f1255,_0x3944aa){const _0x5c67b8=a147_0x4e9b,_0x5e765d=String(_0x2f1255??'')['trim'](),_0x548b38=_0x5e765d[_0x5c67b8(0x108)](/[<>:"/\\|?*\u0000-\u001F]/g,'-')[_0x5c67b8(0x108)](/\s+/g,'-')['replace'](/-+/g,'-')[_0x5c67b8(0x108)](/^\.+/,'')['replace'](/\.+$/,'')[_0x5c67b8(0x108)](/^-+/,'')[_0x5c67b8(0x108)](/-+$/,'');return _0x548b38||_0x3944aa;}export function buildDbDirectoryName(_0x570023,_0x1ce4f4){const _0x333959=a147_0x4e9b;return sanitizeSqlPathSegment(_0x570023,_0x1ce4f4!=null?'db-'+_0x1ce4f4:_0x333959(0x10b));}export function buildSqlRelativePath(_0x3c1351,_0x2d29dd,_0x16c1d7,_0x52cc85,_0x224cd8){const _0x126609=a147_0x4e9b,_0x45a062=buildDbDirectoryName(_0x16c1d7,_0x224cd8),_0x5a267b=sanitizeSqlPathSegment(_0x3c1351,_0x126609(0x10c)),_0x58434d=sanitizeSqlPathSegment(_0x2d29dd,_0x5a267b);return _0x45a062+'/'+_0x5a267b+'_'+_0x58434d+getSqlFileExtension(_0x52cc85);}
@@ -1 +1 @@
1
- (function(_0x4a2da5,_0x186f66){const _0x5d3245=a148_0x3a4a,_0x960cc5=_0x4a2da5();while(!![]){try{const _0x1c4854=-parseInt(_0x5d3245(0x206))/0x1+parseInt(_0x5d3245(0x207))/0x2*(-parseInt(_0x5d3245(0x1f8))/0x3)+parseInt(_0x5d3245(0x213))/0x4*(parseInt(_0x5d3245(0x204))/0x5)+-parseInt(_0x5d3245(0x205))/0x6+parseInt(_0x5d3245(0x20b))/0x7+parseInt(_0x5d3245(0x201))/0x8+-parseInt(_0x5d3245(0x1f1))/0x9*(-parseInt(_0x5d3245(0x1f2))/0xa);if(_0x1c4854===_0x186f66)break;else _0x960cc5['push'](_0x960cc5['shift']());}catch(_0x3726a9){_0x960cc5['push'](_0x960cc5['shift']());}}}(a148_0x4841,0x8decc));function a148_0x3a4a(_0x26cfae,_0x3f4e64){_0x26cfae=_0x26cfae-0x1f1;const _0x4841ba=a148_0x4841();let _0x3a4aa6=_0x4841ba[_0x26cfae];return _0x3a4aa6;}function a148_0x4841(){const _0x262436=['974660GVDRpt','1126tbXfPa','length','INSERT','UPDATE','3038749BUbqMk','add','match','UNKNOWN','SELECT','matchAll','toUpperCase','WITH','4mTbFng','reason','trim','SQL\x20content\x20is\x20empty','DDL','18kEqeaC','10939750cEiFmF','\x20with\x20parameters:\x20','includes','SQL\x20contains\x20modification\x20statements\x20alongside\x20SELECT','DDL\x20statements\x20are\x20blocked\x20from\x20auto-save','replace','6081FaUMOS','\x20statements\x20cannot\x20be\x20auto-saved.\x20Please\x20operate\x20manually\x20on\x20the\x20platform.','from','isDangerous','type','Unable\x20to\x20detect\x20SQL\x20type.\x20Please\x20check\x20the\x20SQL\x20content.','join','test','push','174904JrOxJG','startsWith','DELETE\x20statements\x20are\x20blocked\x20from\x20auto-save','1014735GUFtcZ','898092agtVAe'];a148_0x4841=function(){return _0x262436;};return a148_0x4841();}export function detectSqlType(_0x5d1655){const _0x57855a=a148_0x3a4a;if(!_0x5d1655?.[_0x57855a(0x215)]())return{'type':_0x57855a(0x20e),'isSelectOnly':![],'isDangerous':![],'reason':_0x57855a(0x216)};const _0x87e90a=_0x5d1655[_0x57855a(0x1f7)](/#\{[^}]*\}/g,'?')[_0x57855a(0x1f7)](/\$\{[^}]*\}/g,'?')[_0x57855a(0x1f7)](/@[^(\s]+(\([^)]*\))?/g,'')['replace'](/\/\*[\s\S]*?\*\//g,'')[_0x57855a(0x215)](),_0x6dfb2a=_0x87e90a['split']('\x0a');let _0x452bca='';for(const _0xb3fac3 of _0x6dfb2a){const _0x3925e7=_0xb3fac3[_0x57855a(0x215)]();if(!_0x3925e7||_0x3925e7[_0x57855a(0x202)]('--')||_0x3925e7[_0x57855a(0x202)]('/*'))continue;_0x452bca=_0x3925e7;break;}const _0x1b28df=_0x452bca[_0x57855a(0x211)]();if(_0x1b28df[_0x57855a(0x202)](_0x57855a(0x20f))||_0x1b28df[_0x57855a(0x202)](_0x57855a(0x212))){const _0xecc6d7=/\b(INSERT|UPDATE|DELETE|DROP|ALTER|CREATE|TRUNCATE)\b/i[_0x57855a(0x1ff)](_0x87e90a);return{'type':_0x57855a(0x20f),'isSelectOnly':!_0xecc6d7,'isDangerous':_0xecc6d7,'reason':_0xecc6d7?_0x57855a(0x1f5):undefined};}if(_0x1b28df['startsWith'](_0x57855a(0x209)))return{'type':_0x57855a(0x209),'isSelectOnly':![],'isDangerous':![]};if(_0x1b28df[_0x57855a(0x202)](_0x57855a(0x20a)))return{'type':_0x57855a(0x20a),'isSelectOnly':![],'isDangerous':![]};if(_0x1b28df[_0x57855a(0x202)]('DELETE'))return{'type':'DELETE','isSelectOnly':![],'isDangerous':!![],'reason':_0x57855a(0x203)};if(/^(CREATE|ALTER|DROP|TRUNCATE)/i['test'](_0x1b28df))return{'type':_0x57855a(0x217),'isSelectOnly':![],'isDangerous':!![],'reason':_0x57855a(0x1f6)};return{'type':_0x57855a(0x20e),'isSelectOnly':![],'isDangerous':![]};}function extractTables(_0x1f3a31){const _0x322555=a148_0x3a4a,_0x21fc21=_0x1f3a31[_0x322555(0x1f7)](/#\{[^}]*\}/g,'?')[_0x322555(0x1f7)](/\$\{[^}]*\}/g,'?')['replace'](/'[^']*'/g,'\x27\x27')[_0x322555(0x1f7)](/--.*$/gm,'')[_0x322555(0x1f7)](/\/\*[\s\S]*?\*\//g,''),_0x39b2cd=[],_0x4c036a=_0x21fc21[_0x322555(0x20d)](/FROM\s+([^\s,)(]+)/i);if(_0x4c036a?.[0x1])_0x39b2cd[_0x322555(0x200)](_0x4c036a[0x1][_0x322555(0x1f7)](/[`"]/g,''));for(const _0x22e1a3 of _0x21fc21[_0x322555(0x210)](/(?:INNER|LEFT|RIGHT|FULL|CROSS)?\s*JOIN\s+([^\s,)(]+)/gi)){const _0x14a16f=_0x22e1a3[0x1]?.[_0x322555(0x1f7)](/[`"]/g,'');if(_0x14a16f&&!_0x39b2cd[_0x322555(0x1f4)](_0x14a16f))_0x39b2cd[_0x322555(0x200)](_0x14a16f);}const _0x350526=_0x21fc21['match'](/INTO\s+([^\s(]+)/i);if(_0x350526?.[0x1]){const _0x10b19b=_0x350526[0x1][_0x322555(0x1f7)](/[`"]/g,'');if(!_0x39b2cd[_0x322555(0x1f4)](_0x10b19b))_0x39b2cd[_0x322555(0x200)](_0x10b19b);}const _0x250bc4=_0x21fc21[_0x322555(0x20d)](/UPDATE\s+([^\s,)(]+)/i);if(_0x250bc4?.[0x1]){const _0x2825bc=_0x250bc4[0x1][_0x322555(0x1f7)](/[`"]/g,'');if(!_0x39b2cd['includes'](_0x2825bc))_0x39b2cd[_0x322555(0x200)](_0x2825bc);}return _0x39b2cd;}function extractParameters(_0x404e5a){const _0x299621=a148_0x3a4a,_0x15efb7=new Set();for(const _0x15840a of _0x404e5a[_0x299621(0x210)](/#\{(\w+)\}/g))if(_0x15840a[0x1])_0x15efb7[_0x299621(0x20c)](_0x15840a[0x1]);for(const _0x21a690 of _0x404e5a['matchAll'](/\$\{(\w+)\}/g))if(_0x21a690[0x1])_0x15efb7[_0x299621(0x20c)](_0x21a690[0x1]);return Array[_0x299621(0x1fa)](_0x15efb7);}export function validateSql(_0x458179){const _0xa1110e=a148_0x3a4a,_0x15bde5=detectSqlType(_0x458179),_0x3a371f=extractTables(_0x458179),_0xb69c76=extractParameters(_0x458179);if(_0x15bde5[_0xa1110e(0x1fb)])return{'valid':![],'sqlType':_0x15bde5,'tables':_0x3a371f,'parameters':_0xb69c76,'message':_0x15bde5[_0xa1110e(0x214)]||_0x15bde5[_0xa1110e(0x1fc)]+_0xa1110e(0x1f9)};if(_0x15bde5[_0xa1110e(0x1fc)]===_0xa1110e(0x20e))return{'valid':![],'sqlType':_0x15bde5,'tables':_0x3a371f,'parameters':_0xb69c76,'message':_0xa1110e(0x1fd)};return{'valid':!![],'sqlType':_0x15bde5,'tables':_0x3a371f,'parameters':_0xb69c76,'message':_0x15bde5[_0xa1110e(0x1fc)]+'\x20query\x20targeting\x20'+(_0x3a371f[_0xa1110e(0x208)]?_0x3a371f['join'](',\x20'):'unknown\x20table(s)')+(_0xb69c76[_0xa1110e(0x208)]?_0xa1110e(0x1f3)+_0xb69c76[_0xa1110e(0x1fe)](',\x20'):'')};}
1
+ (function(_0x30d34e,_0x3c29cb){const _0x28d278=a148_0x4c89,_0x42712c=_0x30d34e();while(!![]){try{const _0x13f966=parseInt(_0x28d278(0xfa))/0x1*(-parseInt(_0x28d278(0x10c))/0x2)+-parseInt(_0x28d278(0xf2))/0x3*(parseInt(_0x28d278(0xfd))/0x4)+-parseInt(_0x28d278(0xed))/0x5*(parseInt(_0x28d278(0xe7))/0x6)+parseInt(_0x28d278(0x105))/0x7*(parseInt(_0x28d278(0x10a))/0x8)+-parseInt(_0x28d278(0xe9))/0x9+parseInt(_0x28d278(0xf0))/0xa+parseInt(_0x28d278(0xfc))/0xb;if(_0x13f966===_0x3c29cb)break;else _0x42712c['push'](_0x42712c['shift']());}catch(_0x47d6e6){_0x42712c['push'](_0x42712c['shift']());}}}(a148_0x5cbd,0x27b0f));export function detectSqlType(_0x5615c6){const _0x518e20=a148_0x4c89;if(!_0x5615c6?.[_0x518e20(0xe8)]())return{'type':'UNKNOWN','isSelectOnly':![],'isDangerous':![],'reason':_0x518e20(0xec)};const _0x2a37b7=_0x5615c6[_0x518e20(0xf7)](/#\{[^}]*\}/g,'?')['replace'](/\$\{[^}]*\}/g,'?')['replace'](/@[^(\s]+(\([^)]*\))?/g,'')['replace'](/\/\*[\s\S]*?\*\//g,'')[_0x518e20(0xe8)](),_0x1a3ee1=_0x2a37b7[_0x518e20(0xff)]('\x0a');let _0x4684b8='';for(const _0x1aef2e of _0x1a3ee1){const _0xa2e816=_0x1aef2e[_0x518e20(0xe8)]();if(!_0xa2e816||_0xa2e816['startsWith']('--')||_0xa2e816[_0x518e20(0xf6)]('/*'))continue;_0x4684b8=_0xa2e816;break;}const _0x570688=_0x4684b8['toUpperCase']();if(_0x570688[_0x518e20(0xf6)](_0x518e20(0xe6))||_0x570688[_0x518e20(0xf6)](_0x518e20(0xfe))){const _0x3d648d=/\b(INSERT|UPDATE|DELETE|DROP|ALTER|CREATE|TRUNCATE)\b/i['test'](_0x2a37b7);return{'type':'SELECT','isSelectOnly':!_0x3d648d,'isDangerous':_0x3d648d,'reason':_0x3d648d?_0x518e20(0x103):undefined};}if(_0x570688[_0x518e20(0xf6)](_0x518e20(0xea)))return{'type':_0x518e20(0xea),'isSelectOnly':![],'isDangerous':![]};if(_0x570688['startsWith'](_0x518e20(0x109)))return{'type':_0x518e20(0x109),'isSelectOnly':![],'isDangerous':![]};if(_0x570688['startsWith'](_0x518e20(0xe5)))return{'type':_0x518e20(0xe5),'isSelectOnly':![],'isDangerous':!![],'reason':_0x518e20(0x106)};if(/^(CREATE|ALTER|DROP|TRUNCATE)/i[_0x518e20(0xef)](_0x570688))return{'type':_0x518e20(0x108),'isSelectOnly':![],'isDangerous':!![],'reason':_0x518e20(0xfb)};return{'type':'UNKNOWN','isSelectOnly':![],'isDangerous':![]};}function a148_0x5cbd(){const _0x116d4d=['506770fQZjpc','UNKNOWN','19281DxjsBx','matchAll','reason','match','startsWith','replace','includes','push','23xiiTht','DDL\x20statements\x20are\x20blocked\x20from\x20auto-save','6764120snsMpD','4UlCeyy','WITH','split','type','add','\x20statements\x20cannot\x20be\x20auto-saved.\x20Please\x20operate\x20manually\x20on\x20the\x20platform.','SQL\x20contains\x20modification\x20statements\x20alongside\x20SELECT','unknown\x20table(s)','7lwLCGe','DELETE\x20statements\x20are\x20blocked\x20from\x20auto-save','\x20with\x20parameters:\x20','DDL','UPDATE','319672GHFPEJ','from','18170UOJQQO','DELETE','SELECT','6NEEPab','trim','1597581bYdXFh','INSERT','Unable\x20to\x20detect\x20SQL\x20type.\x20Please\x20check\x20the\x20SQL\x20content.','SQL\x20content\x20is\x20empty','750450vFTUIq','length','test'];a148_0x5cbd=function(){return _0x116d4d;};return a148_0x5cbd();}function extractTables(_0x126255){const _0x220ec6=a148_0x4c89,_0x198dfc=_0x126255[_0x220ec6(0xf7)](/#\{[^}]*\}/g,'?')[_0x220ec6(0xf7)](/\$\{[^}]*\}/g,'?')[_0x220ec6(0xf7)](/'[^']*'/g,'\x27\x27')[_0x220ec6(0xf7)](/--.*$/gm,'')[_0x220ec6(0xf7)](/\/\*[\s\S]*?\*\//g,''),_0x4a7d88=[],_0x31459e=_0x198dfc[_0x220ec6(0xf5)](/FROM\s+([^\s,)(]+)/i);if(_0x31459e?.[0x1])_0x4a7d88[_0x220ec6(0xf9)](_0x31459e[0x1][_0x220ec6(0xf7)](/[`"]/g,''));for(const _0xc7fec6 of _0x198dfc[_0x220ec6(0xf3)](/(?:INNER|LEFT|RIGHT|FULL|CROSS)?\s*JOIN\s+([^\s,)(]+)/gi)){const _0x2347d9=_0xc7fec6[0x1]?.['replace'](/[`"]/g,'');if(_0x2347d9&&!_0x4a7d88[_0x220ec6(0xf8)](_0x2347d9))_0x4a7d88[_0x220ec6(0xf9)](_0x2347d9);}const _0x504414=_0x198dfc[_0x220ec6(0xf5)](/INTO\s+([^\s(]+)/i);if(_0x504414?.[0x1]){const _0xddde1d=_0x504414[0x1]['replace'](/[`"]/g,'');if(!_0x4a7d88[_0x220ec6(0xf8)](_0xddde1d))_0x4a7d88[_0x220ec6(0xf9)](_0xddde1d);}const _0x743268=_0x198dfc[_0x220ec6(0xf5)](/UPDATE\s+([^\s,)(]+)/i);if(_0x743268?.[0x1]){const _0x1dd9ad=_0x743268[0x1]['replace'](/[`"]/g,'');if(!_0x4a7d88['includes'](_0x1dd9ad))_0x4a7d88[_0x220ec6(0xf9)](_0x1dd9ad);}return _0x4a7d88;}function a148_0x4c89(_0x58ff05,_0x39d42a){_0x58ff05=_0x58ff05-0xe5;const _0x5cbd5c=a148_0x5cbd();let _0x4c896e=_0x5cbd5c[_0x58ff05];return _0x4c896e;}function extractParameters(_0x56c23e){const _0x2a0e4e=a148_0x4c89,_0x13bd67=new Set();for(const _0x12f27e of _0x56c23e[_0x2a0e4e(0xf3)](/#\{(\w+)\}/g))if(_0x12f27e[0x1])_0x13bd67[_0x2a0e4e(0x101)](_0x12f27e[0x1]);for(const _0x34c5dd of _0x56c23e[_0x2a0e4e(0xf3)](/\$\{(\w+)\}/g))if(_0x34c5dd[0x1])_0x13bd67[_0x2a0e4e(0x101)](_0x34c5dd[0x1]);return Array[_0x2a0e4e(0x10b)](_0x13bd67);}export function validateSql(_0x1c4c24){const _0x5a5c49=a148_0x4c89,_0x2d44fa=detectSqlType(_0x1c4c24),_0x1fd388=extractTables(_0x1c4c24),_0x1e4aa3=extractParameters(_0x1c4c24);if(_0x2d44fa['isDangerous'])return{'valid':![],'sqlType':_0x2d44fa,'tables':_0x1fd388,'parameters':_0x1e4aa3,'message':_0x2d44fa[_0x5a5c49(0xf4)]||_0x2d44fa[_0x5a5c49(0x100)]+_0x5a5c49(0x102)};if(_0x2d44fa['type']===_0x5a5c49(0xf1))return{'valid':![],'sqlType':_0x2d44fa,'tables':_0x1fd388,'parameters':_0x1e4aa3,'message':_0x5a5c49(0xeb)};return{'valid':!![],'sqlType':_0x2d44fa,'tables':_0x1fd388,'parameters':_0x1e4aa3,'message':_0x2d44fa['type']+'\x20query\x20targeting\x20'+(_0x1fd388[_0x5a5c49(0xee)]?_0x1fd388['join'](',\x20'):_0x5a5c49(0x104))+(_0x1e4aa3[_0x5a5c49(0xee)]?_0x5a5c49(0x107)+_0x1e4aa3['join'](',\x20'):'')};}
package/lib/errors.js CHANGED
@@ -1 +1 @@
1
- const a149_0x41070c=a149_0xbf17;function a149_0x1683(){const _0x42b4ba=['\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','Run\x20`','\x20auth`\x20to\x20login\x20first.','8LoOKwS','102920NDQUUC','2191350xwRYpX','38777xaWYua','315GNrwSJ','1249336WKqKgW','\x0a\x20\x20\x20\x20\x20\x20\x20','\x20init\x20--appcode\x20<code>\x20--global`\x20registers\x20globally\x20so\x20you\x20can\x20use\x20it\x20from\x20anywhere.','1725570yiUAIK','2276879rzTUCO','3toJmGW','Set\x20appcode\x20via\x20`','Tip:\x20`','Run\x20this\x20command\x20inside\x20a\x20project\x20with\x20.rabetbase.json\x20file.','767130zlZvpx','70lYapoI'];a149_0x1683=function(){return _0x42b4ba;};return a149_0x1683();}(function(_0x2bc624,_0x13624f){const _0x1b49ba=a149_0xbf17,_0x106059=_0x2bc624();while(!![]){try{const _0x169091=parseInt(_0x1b49ba(0x180))/0x1*(parseInt(_0x1b49ba(0x17d))/0x2)+-parseInt(_0x1b49ba(0x187))/0x3*(-parseInt(_0x1b49ba(0x182))/0x4)+parseInt(_0x1b49ba(0x18b))/0x5+parseInt(_0x1b49ba(0x17f))/0x6+parseInt(_0x1b49ba(0x185))/0x7+parseInt(_0x1b49ba(0x17e))/0x8*(parseInt(_0x1b49ba(0x181))/0x9)+parseInt(_0x1b49ba(0x18c))/0xa*(-parseInt(_0x1b49ba(0x186))/0xb);if(_0x169091===_0x13624f)break;else _0x106059['push'](_0x106059['shift']());}catch(_0xd5571){_0x106059['push'](_0x106059['shift']());}}}(a149_0x1683,0x391e3));import{CliError,createCliErrors}from'@lovrabet/cli-framework';import{CLI_BIN_NAME}from'./constant/cli.js';function a149_0xbf17(_0xd2786,_0x544f12){_0xd2786=_0xd2786-0x17d;const _0x16839a=a149_0x1683();let _0xbf17b4=_0x16839a[_0xd2786];return _0xbf17b4;}export{CliError};export const CliErrors=createCliErrors({'cliBinName':CLI_BIN_NAME,'authRequiredHint':a149_0x41070c(0x18e)+CLI_BIN_NAME+a149_0x41070c(0x18f),'configMissingHint':[a149_0x41070c(0x188)+CLI_BIN_NAME+a149_0x41070c(0x18d),a149_0x41070c(0x189)+CLI_BIN_NAME+a149_0x41070c(0x184)]['join'](a149_0x41070c(0x183)),'notInProjectHint':a149_0x41070c(0x18a)});
1
+ function a149_0x4bbf(){const _0x2129aa=['Run\x20this\x20command\x20inside\x20a\x20project\x20with\x20.rabetbase.json\x20file.','5745592HcQbhE','143216iFqqJY','322818eHSLjr','\x20init\x20--appcode\x20<code>\x20--global`\x20registers\x20globally\x20so\x20you\x20can\x20use\x20it\x20from\x20anywhere.','10mbKJQq','38700081UDZgcY','5128392SWtpgK','65FxBkFc','2993382zthlcD','84cWdPBq','Tip:\x20`','389916hAqmgn','join','Run\x20`','\x20auth`\x20to\x20login\x20first.'];a149_0x4bbf=function(){return _0x2129aa;};return a149_0x4bbf();}const a149_0x2fb248=a149_0x1661;function a149_0x1661(_0x174b85,_0x1723e6){_0x174b85=_0x174b85-0x86;const _0x4bbfb4=a149_0x4bbf();let _0x1661b1=_0x4bbfb4[_0x174b85];return _0x1661b1;}(function(_0x1123ec,_0x4b679d){const _0x4ff5df=a149_0x1661,_0x506fe5=_0x1123ec();while(!![]){try{const _0xe3e53f=parseInt(_0x4ff5df(0x95))/0x1+-parseInt(_0x4ff5df(0x8b))/0x2+-parseInt(_0x4ff5df(0x89))/0x3+-parseInt(_0x4ff5df(0x94))/0x4*(parseInt(_0x4ff5df(0x8a))/0x5)+-parseInt(_0x4ff5df(0x8e))/0x6*(parseInt(_0x4ff5df(0x8c))/0x7)+parseInt(_0x4ff5df(0x93))/0x8+-parseInt(_0x4ff5df(0x88))/0x9*(-parseInt(_0x4ff5df(0x87))/0xa);if(_0xe3e53f===_0x4b679d)break;else _0x506fe5['push'](_0x506fe5['shift']());}catch(_0x226a0e){_0x506fe5['push'](_0x506fe5['shift']());}}}(a149_0x4bbf,0xd92f3));import{CliError,createCliErrors}from'@lovrabet/cli-framework';import{CLI_BIN_NAME}from'./constant/cli.js';export{CliError};export const CliErrors=createCliErrors({'cliBinName':CLI_BIN_NAME,'authRequiredHint':a149_0x2fb248(0x90)+CLI_BIN_NAME+a149_0x2fb248(0x91),'configMissingHint':['Set\x20appcode\x20via\x20`'+CLI_BIN_NAME+'\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.',a149_0x2fb248(0x8d)+CLI_BIN_NAME+a149_0x2fb248(0x86)][a149_0x2fb248(0x8f)]('\x0a\x20\x20\x20\x20\x20\x20\x20'),'notInProjectHint':a149_0x2fb248(0x92)});
@@ -1 +1 @@
1
- (function(_0x530c0d,_0x29f401){var _0x3336e0=a150_0x5b98,_0x4c77cc=_0x530c0d();while(!![]){try{var _0x26ea60=parseInt(_0x3336e0(0x16e))/0x1*(-parseInt(_0x3336e0(0x171))/0x2)+-parseInt(_0x3336e0(0x173))/0x3*(-parseInt(_0x3336e0(0x16f))/0x4)+-parseInt(_0x3336e0(0x170))/0x5+-parseInt(_0x3336e0(0x172))/0x6+-parseInt(_0x3336e0(0x176))/0x7*(parseInt(_0x3336e0(0x177))/0x8)+parseInt(_0x3336e0(0x16d))/0x9*(-parseInt(_0x3336e0(0x175))/0xa)+parseInt(_0x3336e0(0x174))/0xb;if(_0x26ea60===_0x29f401)break;else _0x4c77cc['push'](_0x4c77cc['shift']());}catch(_0x2a5bbb){_0x4c77cc['push'](_0x4c77cc['shift']());}}}(a150_0x393f,0x894ad));import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';function a150_0x393f(){var _0x42345f=['14lPZaQO','2183672MezBuJ','37602rlHrZI','2MJzwSY','481532eRrMVx','3016220YmqyUC','15178hhuzkv','3056556tErjBj','6KItTxE','25349731ZOLQFV','740WNBEQo'];a150_0x393f=function(){return _0x42345f;};return a150_0x393f();}import{buildAllFlags as a150_0xdf4950}from'@lovrabet/cli-framework';function a150_0x5b98(_0x35acf4,_0x401d51){_0x35acf4=_0x35acf4-0x16d;var _0x393fc8=a150_0x393f();var _0x5b983e=_0x393fc8[_0x35acf4];return _0x5b983e;}export function buildAllFlags(_0x2ab624){return a150_0xdf4950(_0x2ab624,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});}
1
+ (function(_0x16f22b,_0x48c582){var _0x585092=a150_0x1969,_0x5a7552=_0x16f22b();while(!![]){try{var _0x2d6dbf=parseInt(_0x585092(0xa6))/0x1+-parseInt(_0x585092(0xa3))/0x2+parseInt(_0x585092(0xa1))/0x3+-parseInt(_0x585092(0xa5))/0x4+-parseInt(_0x585092(0xa0))/0x5+-parseInt(_0x585092(0xa4))/0x6*(-parseInt(_0x585092(0x9f))/0x7)+parseInt(_0x585092(0xa2))/0x8;if(_0x2d6dbf===_0x48c582)break;else _0x5a7552['push'](_0x5a7552['shift']());}catch(_0x55c35e){_0x5a7552['push'](_0x5a7552['shift']());}}}(a150_0x3646,0x33948));import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';function a150_0x3646(){var _0x233c9e=['2098815PtUCve','912141IqEToI','4590976NxGTQy','646094nsWgfA','119334fREnac','1581388cOCKJB','411843lMsgRs','21KvPRPJ'];a150_0x3646=function(){return _0x233c9e;};return a150_0x3646();}function a150_0x1969(_0x52703a,_0x2cfc8d){_0x52703a=_0x52703a-0x9f;var _0x364606=a150_0x3646();var _0x19693b=_0x364606[_0x52703a];return _0x19693b;}import{buildAllFlags as a150_0x5b4943}from'@lovrabet/cli-framework';export function buildAllFlags(_0x22a09f){return a150_0x5b4943(_0x22a09f,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});}
@@ -1 +1 @@
1
- function a151_0x384e(){const _0x2c20ab=['1323160dKcEgr','89720UMQsQE','validateFlags','16sbJnkl','512051rqEOxS','7610sTmlXN','4886190oyIZwa','16gavhVI','15818yxsseK','130857lUGUpN','parseFlags','1369487fQKzHH','42EQZmhK'];a151_0x384e=function(){return _0x2c20ab;};return a151_0x384e();}const a151_0x5bd47c=a151_0x3a19;(function(_0x26e15b,_0x4c56e0){const _0x25ecb0=a151_0x3a19,_0x233e65=_0x26e15b();while(!![]){try{const _0x14782c=parseInt(_0x25ecb0(0xec))/0x1+-parseInt(_0x25ecb0(0xef))/0x2*(-parseInt(_0x25ecb0(0xe4))/0x3)+parseInt(_0x25ecb0(0xe8))/0x4+parseInt(_0x25ecb0(0xe9))/0x5*(parseInt(_0x25ecb0(0xe7))/0x6)+parseInt(_0x25ecb0(0xe6))/0x7*(-parseInt(_0x25ecb0(0xeb))/0x8)+parseInt(_0x25ecb0(0xee))/0x9+parseInt(_0x25ecb0(0xed))/0xa*(-parseInt(_0x25ecb0(0xf0))/0xb);if(_0x14782c===_0x4c56e0)break;else _0x233e65['push'](_0x233e65['shift']());}catch(_0x59f599){_0x233e65['push'](_0x233e65['shift']());}}}(a151_0x384e,0x5b7b7));import{createFlagHelpers}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers[a151_0x5bd47c(0xe5)];function a151_0x3a19(_0x31059d,_0x518360){_0x31059d=_0x31059d-0xe4;const _0x384eaa=a151_0x384e();let _0x3a1907=_0x384eaa[_0x31059d];return _0x3a1907;}export const validateFlags=helpers[a151_0x5bd47c(0xea)];
1
+ const a151_0x41223d=a151_0x32e5;(function(_0x3a58bf,_0x7ea8b0){const _0x895e6c=a151_0x32e5,_0x28e6ad=_0x3a58bf();while(!![]){try{const _0x43170b=parseInt(_0x895e6c(0x185))/0x1+-parseInt(_0x895e6c(0x182))/0x2+-parseInt(_0x895e6c(0x183))/0x3*(parseInt(_0x895e6c(0x184))/0x4)+parseInt(_0x895e6c(0x186))/0x5+parseInt(_0x895e6c(0x17f))/0x6*(-parseInt(_0x895e6c(0x17e))/0x7)+-parseInt(_0x895e6c(0x17d))/0x8*(-parseInt(_0x895e6c(0x17c))/0x9)+parseInt(_0x895e6c(0x180))/0xa;if(_0x43170b===_0x7ea8b0)break;else _0x28e6ad['push'](_0x28e6ad['shift']());}catch(_0x5d9c82){_0x28e6ad['push'](_0x28e6ad['shift']());}}}(a151_0x1470,0xbcf65));import{createFlagHelpers}from'@lovrabet/cli-framework';function a151_0x32e5(_0x1b8dfd,_0x1ad3f3){_0x1b8dfd=_0x1b8dfd-0x17c;const _0x14705e=a151_0x1470();let _0x32e50a=_0x14705e[_0x1b8dfd];return _0x32e50a;}import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);function a151_0x1470(){const _0x43994d=['1115312bUVFSZ','639834qWqAzk','4OJheyt','1209890rHKlTC','2612870ApnMLc','1611BSFVpg','19496QFUdEo','252dNsfcx','232194ZKlvih','7694000qciAtT','parseFlags'];a151_0x1470=function(){return _0x43994d;};return a151_0x1470();}export const parseFlags=helpers[a151_0x41223d(0x181)];export const validateFlags=helpers['validateFlags'];
@@ -1 +1 @@
1
- const a152_0x470df4=a152_0x1ad7;(function(_0x999257,_0x3739a9){const _0x56fa42=a152_0x1ad7,_0x36aa50=_0x999257();while(!![]){try{const _0x352acf=-parseInt(_0x56fa42(0x1b6))/0x1*(parseInt(_0x56fa42(0x1bd))/0x2)+parseInt(_0x56fa42(0x1c4))/0x3*(-parseInt(_0x56fa42(0x1bb))/0x4)+-parseInt(_0x56fa42(0x1b7))/0x5+parseInt(_0x56fa42(0x1ba))/0x6+parseInt(_0x56fa42(0x1b9))/0x7*(-parseInt(_0x56fa42(0x1be))/0x8)+-parseInt(_0x56fa42(0x1c2))/0x9*(-parseInt(_0x56fa42(0x1b8))/0xa)+parseInt(_0x56fa42(0x1c3))/0xb;if(_0x352acf===_0x3739a9)break;else _0x36aa50['push'](_0x36aa50['shift']());}catch(_0x48568c){_0x36aa50['push'](_0x36aa50['shift']());}}}(a152_0x422d,0xc86f9));function a152_0x422d(){const _0x6fe203=['824316XJoWTR','get','612812aOUDNk','8UWCXCE','\x20[args]\x20[flags]','Requires\x20appcode\x20(set\x20via\x20`','generateFullHelp','3327165CwVmYA','22018524uLNgOi','3DLmMSV','generateServiceHelp','generateCommandHelp','3KgUQfv','3785915YmZMXF','20bRxBdE','7830466bnzimD','6486294BQGvDJ'];a152_0x422d=function(){return _0x6fe203;};return a152_0x422d();}import{createHelpGenerators}from'@lovrabet/cli-framework';function a152_0x1ad7(_0xae492a,_0x42c519){_0xae492a=_0xae492a-0x1b6;const _0x422dfc=a152_0x422d();let _0x1ad7e0=_0x422dfc[_0xae492a];return _0x1ad7e0;}import{buildAllFlags}from'../framework/build-all-flags.js';import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';const generators=createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x34f45f=>serviceGroups[a152_0x470df4(0x1bc)](_0x34f45f),'buildAllFlags':buildAllFlags,'appPrerequisiteText':a152_0x470df4(0x1c0)+CLI_BIN_NAME+'\x20project\x20init`\x20or\x20--appcode).','serviceUsageSuffix':a152_0x470df4(0x1bf),'includeWildcardExtraInFullHelp':!![]});export function generateCommandHelp(_0x165f73){const _0x306455=a152_0x470df4;return generators[_0x306455(0x1c6)](_0x165f73);}export const generateServiceHelp=generators[a152_0x470df4(0x1c5)];export const generateFullHelp=generators[a152_0x470df4(0x1c1)];
1
+ function a152_0x3aaf(_0x1cbbe3,_0x14418c){_0x1cbbe3=_0x1cbbe3-0x126;const _0x485a8a=a152_0x485a();let _0x3aafa2=_0x485a8a[_0x1cbbe3];return _0x3aafa2;}const a152_0x4d0565=a152_0x3aaf;(function(_0x2cd9f6,_0x1b6ef8){const _0x124c25=a152_0x3aaf,_0x249c01=_0x2cd9f6();while(!![]){try{const _0x1cef6c=parseInt(_0x124c25(0x12d))/0x1+parseInt(_0x124c25(0x129))/0x2*(-parseInt(_0x124c25(0x128))/0x3)+-parseInt(_0x124c25(0x12b))/0x4+parseInt(_0x124c25(0x12e))/0x5+parseInt(_0x124c25(0x126))/0x6+-parseInt(_0x124c25(0x12a))/0x7+-parseInt(_0x124c25(0x12c))/0x8*(parseInt(_0x124c25(0x133))/0x9);if(_0x1cef6c===_0x1b6ef8)break;else _0x249c01['push'](_0x249c01['shift']());}catch(_0x51c29e){_0x249c01['push'](_0x249c01['shift']());}}}(a152_0x485a,0xa87d1));import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';const generators=createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x3a5026=>serviceGroups['get'](_0x3a5026),'buildAllFlags':buildAllFlags,'appPrerequisiteText':a152_0x4d0565(0x132)+CLI_BIN_NAME+a152_0x4d0565(0x130),'serviceUsageSuffix':'\x20[args]\x20[flags]','includeWildcardExtraInFullHelp':!![]});function a152_0x485a(){const _0x41cb8a=['5919739kHdcCH','1387900MtTOQF','8hvWoBk','1070120iTQwnw','6043410gROYWP','generateServiceHelp','\x20project\x20init`\x20or\x20--appcode).','generateCommandHelp','Requires\x20appcode\x20(set\x20via\x20`','3487041SgCPTH','6378852uVcpOh','generateFullHelp','153102vOYOua','42TDCHxN'];a152_0x485a=function(){return _0x41cb8a;};return a152_0x485a();}export function generateCommandHelp(_0xcbe664){const _0xa6ca8a=a152_0x4d0565;return generators[_0xa6ca8a(0x131)](_0xcbe664);}export const generateServiceHelp=generators[a152_0x4d0565(0x12f)];export const generateFullHelp=generators[a152_0x4d0565(0x127)];
@@ -1 +1 @@
1
- (function(_0x193c8d,_0x2048de){var _0x50ec18=a153_0x3439,_0x1cc38a=_0x193c8d();while(!![]){try{var _0x12e57b=parseInt(_0x50ec18(0x172))/0x1*(-parseInt(_0x50ec18(0x175))/0x2)+parseInt(_0x50ec18(0x178))/0x3*(parseInt(_0x50ec18(0x174))/0x4)+parseInt(_0x50ec18(0x173))/0x5+parseInt(_0x50ec18(0x170))/0x6+-parseInt(_0x50ec18(0x171))/0x7+parseInt(_0x50ec18(0x177))/0x8+parseInt(_0x50ec18(0x176))/0x9*(parseInt(_0x50ec18(0x179))/0xa);if(_0x12e57b===_0x2048de)break;else _0x1cc38a['push'](_0x1cc38a['shift']());}catch(_0xc4140c){_0x1cc38a['push'](_0x1cc38a['shift']());}}}(a153_0x4588,0x1d201));export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';function a153_0x3439(_0x2f6c8f,_0x3c5224){_0x2f6c8f=_0x2f6c8f-0x170;var _0x4588b3=a153_0x4588();var _0x343929=_0x4588b3[_0x2f6c8f];return _0x343929;}function a153_0x4588(){var _0x804319=['469060Pixirl','12JKoDec','2948BsfPkw','49581oGABKW','436952emhhIl','18378EQZQvZ','390RZpPqd','788412RHCAep','1229291XPPmnR','148gmlAAk'];a153_0x4588=function(){return _0x804319;};return a153_0x4588();}export{extractList,extractPaging}from'../framework/response.js';export{riskLevelOrder}from'../framework/types.js';
1
+ (function(_0x2e208c,_0xa99c06){var _0x46a1c8=a153_0x4648,_0x4cb225=_0x2e208c();while(!![]){try{var _0x2dc127=-parseInt(_0x46a1c8(0x14e))/0x1*(-parseInt(_0x46a1c8(0x150))/0x2)+parseInt(_0x46a1c8(0x154))/0x3*(parseInt(_0x46a1c8(0x151))/0x4)+-parseInt(_0x46a1c8(0x153))/0x5+-parseInt(_0x46a1c8(0x155))/0x6+parseInt(_0x46a1c8(0x14f))/0x7*(parseInt(_0x46a1c8(0x14d))/0x8)+parseInt(_0x46a1c8(0x157))/0x9*(parseInt(_0x46a1c8(0x152))/0xa)+-parseInt(_0x46a1c8(0x156))/0xb;if(_0x2dc127===_0xa99c06)break;else _0x4cb225['push'](_0x4cb225['shift']());}catch(_0x203cc0){_0x4cb225['push'](_0x4cb225['shift']());}}}(a153_0x5dab,0x6bb32));export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';function a153_0x4648(_0xbc605b,_0x2fa6df){_0xbc605b=_0xbc605b-0x14d;var _0x5dab01=a153_0x5dab();var _0x46487c=_0x5dab01[_0xbc605b];return _0x46487c;}function a153_0x5dab(){var _0x169a6a=['2147528FMgxff','77pCcPVK','7edIwcM','4772wVDvdF','8eSIjwr','10XoyWIu','1074495XzDalb','932457ZOYGFH','405738bmIJeg','3867347ddTEfi','12924dmuEid'];a153_0x5dab=function(){return _0x169a6a;};return a153_0x5dab();}export{riskLevelOrder}from'../framework/types.js';
@@ -1 +1 @@
1
- function a154_0x1308(_0x32aa89,_0x3605f9){_0x32aa89=_0x32aa89-0x169;const _0x2056a2=a154_0x2056();let _0x130891=_0x2056a2[_0x32aa89];return _0x130891;}(function(_0x32ab2a,_0x5dab5c){const _0x376782=a154_0x1308,_0x2060ee=_0x32ab2a();while(!![]){try{const _0x2dc0e8=-parseInt(_0x376782(0x171))/0x1+-parseInt(_0x376782(0x16b))/0x2*(parseInt(_0x376782(0x16c))/0x3)+-parseInt(_0x376782(0x16d))/0x4+-parseInt(_0x376782(0x169))/0x5*(parseInt(_0x376782(0x16f))/0x6)+-parseInt(_0x376782(0x170))/0x7+parseInt(_0x376782(0x16e))/0x8+parseInt(_0x376782(0x16a))/0x9;if(_0x2dc0e8===_0x5dab5c)break;else _0x2060ee['push'](_0x2060ee['shift']());}catch(_0x5ad913){_0x2060ee['push'](_0x2060ee['shift']());}}}(a154_0x2056,0x6f4fd));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a154_0x2056(){const _0x4f1f2a=['6237707MWiXHq','544028dzLZVM','1863905tZxNdv','30059172IXaaiC','277814TDmfxp','6QXbfyo','2166000bfWJEK','928240aILsUd','12GrwdRE'];a154_0x2056=function(){return _0x4f1f2a;};return a154_0x2056();}export const formatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});
1
+ (function(_0x55e091,_0x2fb405){const _0x151926=a154_0x2abb,_0x5c3366=_0x55e091();while(!![]){try{const _0x1dd6c9=-parseInt(_0x151926(0x173))/0x1*(parseInt(_0x151926(0x16d))/0x2)+-parseInt(_0x151926(0x172))/0x3*(parseInt(_0x151926(0x169))/0x4)+parseInt(_0x151926(0x16f))/0x5*(parseInt(_0x151926(0x16b))/0x6)+parseInt(_0x151926(0x168))/0x7*(-parseInt(_0x151926(0x16a))/0x8)+-parseInt(_0x151926(0x16e))/0x9*(-parseInt(_0x151926(0x170))/0xa)+-parseInt(_0x151926(0x171))/0xb+parseInt(_0x151926(0x16c))/0xc;if(_0x1dd6c9===_0x2fb405)break;else _0x5c3366['push'](_0x5c3366['shift']());}catch(_0x26319e){_0x5c3366['push'](_0x5c3366['shift']());}}}(a154_0x26a7,0x55340));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a154_0x2abb(_0xe1f373,_0x8c3c57){_0xe1f373=_0xe1f373-0x168;const _0x26a783=a154_0x26a7();let _0x2abbf7=_0x26a783[_0xe1f373];return _0x2abbf7;}function a154_0x26a7(){const _0x24a67a=['21272zIFBHo','1939914oyHsAE','10762836NUFMjz','36NbWPKa','3694293lFCxGi','5KrZvYl','10Cxionp','998481mchhHH','5241PkXkPV','10086MszGEl','1043XdzaVz','1404ORJNWr'];a154_0x26a7=function(){return _0x24a67a;};return a154_0x26a7();}import{CliErrors}from'../errors.js';export const formatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});
@@ -1 +1 @@
1
- (function(_0x484bb8,_0x21d9aa){var _0xa92de9=a155_0x5ef7,_0x534390=_0x484bb8();while(!![]){try{var _0x1d8d74=-parseInt(_0xa92de9(0x16d))/0x1+parseInt(_0xa92de9(0x16a))/0x2+parseInt(_0xa92de9(0x167))/0x3*(-parseInt(_0xa92de9(0x165))/0x4)+parseInt(_0xa92de9(0x16c))/0x5+parseInt(_0xa92de9(0x166))/0x6*(-parseInt(_0xa92de9(0x169))/0x7)+-parseInt(_0xa92de9(0x16b))/0x8*(-parseInt(_0xa92de9(0x16e))/0x9)+parseInt(_0xa92de9(0x168))/0xa;if(_0x1d8d74===_0x21d9aa)break;else _0x534390['push'](_0x534390['shift']());}catch(_0x3ae2d2){_0x534390['push'](_0x534390['shift']());}}}(a155_0x5c05,0x7b9b7));function a155_0x5ef7(_0x55c661,_0xc55bfa){_0x55c661=_0x55c661-0x165;var _0x5c05f9=a155_0x5c05();var _0x5ef75c=_0x5c05f9[_0x55c661];return _0x5ef75c;}export{extractList,extractPaging}from'@lovrabet/cli-framework';function a155_0x5c05(){var _0x1eeb35=['4940gieIAS','90jEymip','372szCPWy','137934rPSByB','16833bxpdLG','6513210aNYSRh','287YVGvXw','945212jexFBr','595472wSPJYc','536700DhYVrM'];a155_0x5c05=function(){return _0x1eeb35;};return a155_0x5c05();}
1
+ function a155_0x597e(_0x3a7e16,_0x3fa7d5){_0x3a7e16=_0x3a7e16-0x164;var _0x357711=a155_0x3577();var _0x597e0f=_0x357711[_0x3a7e16];return _0x597e0f;}(function(_0x3323ae,_0x2f349a){var _0xc2c36=a155_0x597e,_0x39a215=_0x3323ae();while(!![]){try{var _0x4d26cb=-parseInt(_0xc2c36(0x16d))/0x1+-parseInt(_0xc2c36(0x168))/0x2*(-parseInt(_0xc2c36(0x166))/0x3)+-parseInt(_0xc2c36(0x165))/0x4*(parseInt(_0xc2c36(0x164))/0x5)+-parseInt(_0xc2c36(0x16c))/0x6+-parseInt(_0xc2c36(0x167))/0x7*(parseInt(_0xc2c36(0x169))/0x8)+parseInt(_0xc2c36(0x16a))/0x9+parseInt(_0xc2c36(0x16b))/0xa;if(_0x4d26cb===_0x2f349a)break;else _0x39a215['push'](_0x39a215['shift']());}catch(_0x1a0c5c){_0x39a215['push'](_0x39a215['shift']());}}}(a155_0x3577,0x9d42c));function a155_0x3577(){var _0x956249=['3832pXAkXc','10151424xDUTDq','5295020sAJwJo','2623836dYeYPV','50851kbzcPx','364145HGkpsJ','24MpZCWU','8553xLBOMd','3080UYugFX','86OeRhyW'];a155_0x3577=function(){return _0x956249;};return a155_0x3577();}export{extractList,extractPaging}from'@lovrabet/cli-framework';
@@ -1 +1 @@
1
- function a156_0x277c(){const _0x4c2553=['name','validation','9918egwiNh','4231364HlAkkB','.\x20Run\x20`','type','`\x20requires\x20either\x20--code\x20or\x20--alias.','string','4007142QoQWcS','40pxvOun','some','No\x20api.ts\x20found\x20in\x20','14cSuUfN','5Fuluwi','alias','132aSpBVW','Unknown\x20alias\x20\x22','1235bSPpLC','Available\x20aliases:\x20','1313649UJvFmF','\x22.\x20','length','3648524hJxIrC','\x20api\x20pull`\x20first.','323042uKLgHc','code','1swkphG','296dOGkRS'];a156_0x277c=function(){return _0x4c2553;};return a156_0x277c();}(function(_0x3c4080,_0x4ce022){const _0x20154b=a156_0x4283,_0x2a2d26=_0x3c4080();while(!![]){try{const _0x1b9fc4=parseInt(_0x20154b(0x1f3))/0x1*(parseInt(_0x20154b(0x1f1))/0x2)+-parseInt(_0x20154b(0x1ec))/0x3+-parseInt(_0x20154b(0x1f8))/0x4*(-parseInt(_0x20154b(0x1e6))/0x5)+parseInt(_0x20154b(0x1fd))/0x6*(-parseInt(_0x20154b(0x1e5))/0x7)+parseInt(_0x20154b(0x1f4))/0x8*(-parseInt(_0x20154b(0x1f7))/0x9)+parseInt(_0x20154b(0x1fe))/0xa*(parseInt(_0x20154b(0x1ef))/0xb)+-parseInt(_0x20154b(0x1e8))/0xc*(-parseInt(_0x20154b(0x1ea))/0xd);if(_0x1b9fc4===_0x4ce022)break;else _0x2a2d26['push'](_0x2a2d26['shift']());}catch(_0x29e601){_0x2a2d26['push'](_0x2a2d26['shift']());}}}(a156_0x277c,0xb2e64));import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';function a156_0x4283(_0x5111d4,_0x86960d){_0x5111d4=_0x5111d4-0x1e4;const _0x277c63=a156_0x277c();let _0x428308=_0x277c63[_0x5111d4];return _0x428308;}export function resolveAliasToCode(_0x12b6a2,_0x5d4d1a,_0x1f721d,_0x178a42){const _0x6ce01e=a156_0x4283,_0x7a9ccc=_0x12b6a2['flags'][_0x6ce01e(0x1ff)](_0x2fe863=>_0x2fe863[_0x6ce01e(0x1f5)]===_0x6ce01e(0x1f2)&&_0x2fe863[_0x6ce01e(0x1fa)]===_0x6ce01e(0x1fc)),_0x501124=_0x12b6a2['flags'][_0x6ce01e(0x1ff)](_0x3078d0=>_0x3078d0[_0x6ce01e(0x1f5)]===_0x6ce01e(0x1e7)&&_0x3078d0['type']==='string');if(!_0x7a9ccc||!_0x501124)return;const _0x20e63b=_0x5d4d1a[_0x6ce01e(0x1f2)]?String(_0x5d4d1a[_0x6ce01e(0x1f2)]):'',_0x179f6b=_0x5d4d1a[_0x6ce01e(0x1e7)]?String(_0x5d4d1a[_0x6ce01e(0x1e7)]):'';if(!_0x20e63b&&!_0x179f6b)throw CliErrors['validation']('`'+_0x178a42+_0x6ce01e(0x1fb));if(_0x179f6b&&!_0x20e63b){const _0x306435=resolveAlias(_0x1f721d,_0x179f6b);if(!_0x306435){const _0x28cd2e=listAliases(_0x1f721d)['map'](_0x2c59c9=>_0x2c59c9['alias']),_0x27b608=_0x28cd2e[_0x6ce01e(0x1ee)]?_0x6ce01e(0x1eb)+_0x28cd2e['join'](',\x20'):_0x6ce01e(0x1e4)+_0x1f721d+_0x6ce01e(0x1f9)+CLI_BIN_NAME+_0x6ce01e(0x1f0);throw CliErrors[_0x6ce01e(0x1f6)](_0x6ce01e(0x1e9)+_0x179f6b+_0x6ce01e(0x1ed)+_0x27b608);}_0x5d4d1a[_0x6ce01e(0x1f2)]=_0x306435;}}
1
+ function a156_0xec71(_0x57c176,_0x1d1446){_0x57c176=_0x57c176-0x1a6;const _0x207593=a156_0x2075();let _0xec7189=_0x207593[_0x57c176];return _0xec7189;}(function(_0x3dc075,_0x1ada45){const _0x267e89=a156_0xec71,_0xf3d4ff=_0x3dc075();while(!![]){try{const _0x36fbc5=parseInt(_0x267e89(0x1af))/0x1+-parseInt(_0x267e89(0x1be))/0x2*(-parseInt(_0x267e89(0x1b4))/0x3)+parseInt(_0x267e89(0x1b2))/0x4+parseInt(_0x267e89(0x1ab))/0x5+parseInt(_0x267e89(0x1a9))/0x6+parseInt(_0x267e89(0x1ad))/0x7*(parseInt(_0x267e89(0x1a8))/0x8)+parseInt(_0x267e89(0x1bb))/0x9*(-parseInt(_0x267e89(0x1b8))/0xa);if(_0x36fbc5===_0x1ada45)break;else _0xf3d4ff['push'](_0xf3d4ff['shift']());}catch(_0x113104){_0xf3d4ff['push'](_0xf3d4ff['shift']());}}}(a156_0x2075,0x54098));function a156_0x2075(){const _0x21ef2b=['428796JLTyaX','alias','16780soxdvB','length','312893NHMxfu','name','495129AjLfuE','map','join','494988jXKSUH','type','86943ZUUnJb','\x22.\x20','some','string','6114170GdPeFZ','No\x20api.ts\x20found\x20in\x20','code','18NKOFJq','validation','Unknown\x20alias\x20\x22','14SLBeOL','flags','.\x20Run\x20`','120ExArsI'];a156_0x2075=function(){return _0x21ef2b;};return a156_0x2075();}import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';export function resolveAliasToCode(_0x3f2f32,_0x17e20e,_0x14e3f2,_0x16f316){const _0x3042ee=a156_0xec71,_0x59a44f=_0x3f2f32['flags'][_0x3042ee(0x1b6)](_0xf3b7d7=>_0xf3b7d7[_0x3042ee(0x1ae)]===_0x3042ee(0x1ba)&&_0xf3b7d7[_0x3042ee(0x1b3)]==='string'),_0x2bdf8d=_0x3f2f32[_0x3042ee(0x1a6)][_0x3042ee(0x1b6)](_0x25fbfd=>_0x25fbfd['name']===_0x3042ee(0x1aa)&&_0x25fbfd[_0x3042ee(0x1b3)]===_0x3042ee(0x1b7));if(!_0x59a44f||!_0x2bdf8d)return;const _0x5bc821=_0x17e20e[_0x3042ee(0x1ba)]?String(_0x17e20e[_0x3042ee(0x1ba)]):'',_0x1152f8=_0x17e20e[_0x3042ee(0x1aa)]?String(_0x17e20e[_0x3042ee(0x1aa)]):'';if(!_0x5bc821&&!_0x1152f8)throw CliErrors[_0x3042ee(0x1bc)]('`'+_0x16f316+'`\x20requires\x20either\x20--code\x20or\x20--alias.');if(_0x1152f8&&!_0x5bc821){const _0x2b099d=resolveAlias(_0x14e3f2,_0x1152f8);if(!_0x2b099d){const _0x2c0e31=listAliases(_0x14e3f2)[_0x3042ee(0x1b0)](_0xd93671=>_0xd93671[_0x3042ee(0x1aa)]),_0x3b8f2b=_0x2c0e31[_0x3042ee(0x1ac)]?'Available\x20aliases:\x20'+_0x2c0e31[_0x3042ee(0x1b1)](',\x20'):_0x3042ee(0x1b9)+_0x14e3f2+_0x3042ee(0x1a7)+CLI_BIN_NAME+'\x20api\x20pull`\x20first.';throw CliErrors[_0x3042ee(0x1bc)](_0x3042ee(0x1bd)+_0x1152f8+_0x3042ee(0x1b5)+_0x3b8f2b);}_0x17e20e[_0x3042ee(0x1ba)]=_0x2b099d;}}
@@ -1 +1 @@
1
- const a157_0x1477a6=a157_0x5a4f;(function(_0x45edf9,_0x15709b){const _0x583560=a157_0x5a4f,_0x46cc84=_0x45edf9();while(!![]){try{const _0x6b62c7=parseInt(_0x583560(0x102))/0x1*(parseInt(_0x583560(0xf4))/0x2)+-parseInt(_0x583560(0x104))/0x3*(-parseInt(_0x583560(0xf3))/0x4)+parseInt(_0x583560(0xf2))/0x5*(parseInt(_0x583560(0xdf))/0x6)+parseInt(_0x583560(0x101))/0x7+parseInt(_0x583560(0xf7))/0x8*(parseInt(_0x583560(0xf1))/0x9)+-parseInt(_0x583560(0xfb))/0xa+-parseInt(_0x583560(0xe7))/0xb;if(_0x6b62c7===_0x15709b)break;else _0x46cc84['push'](_0x46cc84['shift']());}catch(_0x1f104b){_0x46cc84['push'](_0x46cc84['shift']());}}}(a157_0x3ce2,0x72aee));import{runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';import{getCookie}from'../auth/get-cookie.js';function a157_0x3ce2(){const _0x140fac=['authRequired','1075613qNVhYf','312659Gzvlor','explicitAppName','4803xsoPKU','has','1860FnSGhc','isNonInteractive','defaultPageSize','appCode','riskLevel','selectedAppName','⚠\x20\x20High-risk\x20operation:\x20','service','2608661abeyMa','format','filter','resolveApiDomain','apiDir','cancelled','pageSize','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','High-risk\x20operation\x20`','validation','3655359gkjTcc','1290JynIMi','1668CcJKhm','2IdQXTe','resolveAppCode','requiresAuth','8BoStRp','requiresAppCode','cookie','defaultVerbose','9131730rYWcuJ','../core/api-client.js','appcode','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','name'];a157_0x3ce2=function(){return _0x140fac;};return a157_0x3ce2();}import{getApiDomain}from'../constant/domain.js';import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';function a157_0x5a4f(_0x17d307,_0x3e2e3a){_0x17d307=_0x17d307-0xde;const _0x3ce227=a157_0x3ce2();let _0x5a4f4c=_0x3ce227[_0x17d307];return _0x5a4f4c;}import{DEFAULT_API_DIR}from'../constant/paths.js';import{isNonInteractive as a157_0x4cebaa}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';export function createPipelineEnv(_0x52b84a,_0x5e63ad,_0x2939bb=[]){const _0x357a1f=a157_0x5a4f;return{'rawFlags':_0x5e63ad,'args':_0x2939bb,'resolveAppCode':()=>_0x52b84a[_0x357a1f(0xe2)]||_0x5e63ad[_0x357a1f(0xfd)]||process.env.RABETBASE_APPCODE||process.env.LOVRABET_APPCODE||undefined,'resolveCookie':()=>_0x52b84a[_0x357a1f(0xf9)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a157_0x4cebaa(_0x5e63ad),'defaultFormat':_0x52b84a[_0x357a1f(0xe8)],'defaultPageSize':_0x52b84a[_0x357a1f(0xed)],'defaultVerbose':_0x52b84a['verbose'],'apiDir':_0x52b84a[_0x357a1f(0xeb)],'riskLevel':_0x52b84a[_0x357a1f(0xe3)],'selectedAppName':_0x52b84a[_0x357a1f(0x103)],'mergedCli':{'defaultApp':_0x52b84a['defaultApp'],'currentApp':_0x52b84a['currentApp'],'appCode':_0x52b84a[_0x357a1f(0xe2)],'apps':_0x52b84a['apps']}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[a157_0x1477a6(0xe9)](_0x427517=>PIPELINE_FLAG_NAMES[a157_0x1477a6(0xde)](_0x427517[a157_0x1477a6(0xff)]))['map'](({name:_0x41db35,type:_0x22c956,description:_0x4dce63})=>({'name':_0x41db35,'type':_0x22c956,'description':_0x4dce63})),'formatOutput':formatOutput,'getCommandLabel'(_0x501e60){const _0x4d0992=a157_0x1477a6;return CLI_BIN_NAME+'\x20'+_0x501e60[_0x4d0992(0xe6)]+'\x20'+_0x501e60['command'];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x3966bb){const _0x5e875a=a157_0x1477a6;return CliErrors[_0x5e875a(0xf0)](_0x3966bb);}},async 'prepare'(_0x5e13d9,_0x260519,_0x263d3b,_0x42549e){const _0x2d51eb=a157_0x1477a6,_0x117fa6=_0x260519[_0x2d51eb(0xeb)]||DEFAULT_API_DIR;resolveAliasToCode(_0x5e13d9,_0x263d3b,_0x117fa6,_0x42549e);let _0x18c087='';if(_0x5e13d9[_0x2d51eb(0xf6)]!==![]){_0x18c087=_0x260519['resolveCookie']();if(!_0x18c087)throw CliErrors[_0x2d51eb(0x100)]();const {setActiveCookie:_0x2789b6}=await import('../core/api-client.js');_0x2789b6(_0x18c087);}let _0x3d1ec3='';if(_0x5e13d9[_0x2d51eb(0xf8)]!==![]){_0x3d1ec3=_0x260519[_0x2d51eb(0xf5)]()??'';if(!_0x3d1ec3)throw CliErrors['configMissing']('Set\x20appcode\x20via\x20`'+CLI_BIN_NAME+_0x2d51eb(0xee));}return{'defaults':{'booleans':{'verbose':_0x260519[_0x2d51eb(0xfa)]},'numbers':{'pagesize':_0x260519[_0x2d51eb(0xe1)]}},'extras':{'appCode':_0x3d1ec3,'cookie':_0x18c087,'apiDomain':_0x260519[_0x2d51eb(0xea)](),'apiDir':_0x117fa6,'selectedAppName':_0x260519[_0x2d51eb(0xe4)],'mergedCli':_0x260519['mergedCli']}};},async 'confirmHighRisk'({env:_0x541657,commandLabel:_0x122f97}){const _0x51ae80=a157_0x1477a6;if(_0x541657[_0x51ae80(0xe0)])throw CliErrors[_0x51ae80(0xf0)](_0x51ae80(0xef)+_0x122f97+_0x51ae80(0xfe));await requireConfirmationPrompt({'lines':[_0x51ae80(0xe5)+_0x122f97,'\x20\x20\x20Continue?\x20[y/N]\x20'],'createCancelledError':_0x1b42dd=>CliErrors[_0x51ae80(0xec)](_0x1b42dd)});},async 'finalize'(){const _0x1a908f=a157_0x1477a6,{clearActiveCookie:_0x5e8c7a}=await import(_0x1a908f(0xfc));_0x5e8c7a();}};export async function runCommand(_0x32119f,_0x2c5705){await runCommandWithAdapter(_0x32119f,_0x2c5705,runnerAdapter);}
1
+ const a157_0x151c40=a157_0x2d1a;(function(_0x56814b,_0x360d47){const _0x49c05e=a157_0x2d1a,_0x5dc630=_0x56814b();while(!![]){try{const _0x1f4fb0=-parseInt(_0x49c05e(0x16c))/0x1+parseInt(_0x49c05e(0x16e))/0x2+-parseInt(_0x49c05e(0x162))/0x3*(parseInt(_0x49c05e(0x172))/0x4)+-parseInt(_0x49c05e(0x16a))/0x5+-parseInt(_0x49c05e(0x169))/0x6+-parseInt(_0x49c05e(0x173))/0x7+parseInt(_0x49c05e(0x15d))/0x8;if(_0x1f4fb0===_0x360d47)break;else _0x5dc630['push'](_0x5dc630['shift']());}catch(_0x51124d){_0x5dc630['push'](_0x5dc630['shift']());}}}(a157_0xa182,0x8ff60));import{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';function a157_0x2d1a(_0x1bed55,_0x4a7cde){_0x1bed55=_0x1bed55-0x151;const _0xa182fc=a157_0xa182();let _0x2d1a05=_0xa182fc[_0x1bed55];return _0x2d1a05;}import{isNonInteractive as a157_0x8f60e6}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';function a157_0xa182(){const _0x2d2201=['cookie','cancelled','map','6pFjPMQ','verbose','mergedCli','requiresAppCode','apiDir','authRequired','defaultPageSize','3994092mPRmEN','5854110cUonGT','selectedAppName','1071641FFdqpT','service','2173664mFKmNO','has','\x20\x20\x20Continue?\x20[y/N]\x20','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','1578488LbRTYQ','6085702dRuOEo','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','High-risk\x20operation\x20`','configMissing','riskLevel','../core/api-client.js','resolveApiDomain','pageSize','Set\x20appcode\x20via\x20`','resolveAppCode','appCode','requiresAuth','appcode','isNonInteractive','32556856vrNqTD','validation'];a157_0xa182=function(){return _0x2d2201;};return a157_0xa182();}export function createPipelineEnv(_0x3c859d,_0x474dca,_0x41e71e=[]){const _0x2917d6=a157_0x2d1a;return{'rawFlags':_0x474dca,'args':_0x41e71e,'resolveAppCode':()=>_0x3c859d[_0x2917d6(0x159)]||_0x474dca[_0x2917d6(0x15b)]||process.env.RABETBASE_APPCODE||process.env.LOVRABET_APPCODE||undefined,'resolveCookie':()=>_0x3c859d[_0x2917d6(0x15f)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a157_0x8f60e6(_0x474dca),'defaultFormat':_0x3c859d['format'],'defaultPageSize':_0x3c859d[_0x2917d6(0x156)],'defaultVerbose':_0x3c859d[_0x2917d6(0x163)],'apiDir':_0x3c859d['apiDir'],'riskLevel':_0x3c859d[_0x2917d6(0x153)],'selectedAppName':_0x3c859d['explicitAppName'],'mergedCli':{'defaultApp':_0x3c859d['defaultApp'],'currentApp':_0x3c859d['currentApp'],'appCode':_0x3c859d[_0x2917d6(0x159)],'apps':_0x3c859d['apps']}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS['filter'](_0x1b91cb=>PIPELINE_FLAG_NAMES[a157_0x151c40(0x16f)](_0x1b91cb['name']))[a157_0x151c40(0x161)](({name:_0x48ba35,type:_0x132c7d,description:_0x3abacc})=>({'name':_0x48ba35,'type':_0x132c7d,'description':_0x3abacc})),'formatOutput':formatOutput,'getCommandLabel'(_0x3c0225){const _0x3e6260=a157_0x151c40;return CLI_BIN_NAME+'\x20'+_0x3c0225[_0x3e6260(0x16d)]+'\x20'+_0x3c0225['command'];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x87e2d1){const _0x34245b=a157_0x151c40;return CliErrors[_0x34245b(0x15e)](_0x87e2d1);}},async 'prepare'(_0x5e1af0,_0xf92183,_0x98cc7f,_0x728b5e){const _0x4a2dee=a157_0x151c40,_0x1897ac=_0xf92183[_0x4a2dee(0x166)]||DEFAULT_API_DIR;resolveAliasToCode(_0x5e1af0,_0x98cc7f,_0x1897ac,_0x728b5e);let _0x249ab6='';if(_0x5e1af0[_0x4a2dee(0x15a)]!==![]){_0x249ab6=_0xf92183['resolveCookie']();if(!_0x249ab6)throw CliErrors[_0x4a2dee(0x167)]();const {setActiveCookie:_0xf78769}=await import('../core/api-client.js');_0xf78769(_0x249ab6);}let _0x67b310='';if(_0x5e1af0[_0x4a2dee(0x165)]!==![]){_0x67b310=_0xf92183[_0x4a2dee(0x158)]()??'';if(!_0x67b310)throw CliErrors[_0x4a2dee(0x152)](_0x4a2dee(0x157)+CLI_BIN_NAME+_0x4a2dee(0x171));}return{'defaults':{'booleans':{'verbose':_0xf92183['defaultVerbose']},'numbers':{'pagesize':_0xf92183[_0x4a2dee(0x168)]}},'extras':{'appCode':_0x67b310,'cookie':_0x249ab6,'apiDomain':_0xf92183[_0x4a2dee(0x155)](),'apiDir':_0x1897ac,'selectedAppName':_0xf92183[_0x4a2dee(0x16b)],'mergedCli':_0xf92183[_0x4a2dee(0x164)]}};},async 'confirmHighRisk'({env:_0x9b4bc,commandLabel:_0x1aad67}){const _0x77642a=a157_0x151c40;if(_0x9b4bc[_0x77642a(0x15c)])throw CliErrors[_0x77642a(0x15e)](_0x77642a(0x151)+_0x1aad67+_0x77642a(0x174));await requireConfirmationPrompt({'lines':['⚠\x20\x20High-risk\x20operation:\x20'+_0x1aad67,_0x77642a(0x170)],'createCancelledError':_0x20a788=>CliErrors[_0x77642a(0x160)](_0x20a788)});},async 'finalize'(){const _0x51272c=a157_0x151c40,{clearActiveCookie:_0x2809ac}=await import(_0x51272c(0x154));_0x2809ac();}};export async function runCommand(_0x15cd92,_0x533351){await runCommandWithAdapter(_0x15cd92,_0x533351,runnerAdapter);}
@@ -1 +1 @@
1
- (function(_0x3329cd,_0x113119){const _0xdfd13=a158_0x26bd,_0x26acd6=_0x3329cd();while(!![]){try{const _0x2c479f=-parseInt(_0xdfd13(0xb3))/0x1*(parseInt(_0xdfd13(0xb5))/0x2)+parseInt(_0xdfd13(0xb0))/0x3+parseInt(_0xdfd13(0xb2))/0x4*(-parseInt(_0xdfd13(0xad))/0x5)+parseInt(_0xdfd13(0xb1))/0x6*(parseInt(_0xdfd13(0xaf))/0x7)+parseInt(_0xdfd13(0xb4))/0x8+parseInt(_0xdfd13(0xae))/0x9+-parseInt(_0xdfd13(0xac))/0xa;if(_0x2c479f===_0x113119)break;else _0x26acd6['push'](_0x26acd6['shift']());}catch(_0x585492){_0x26acd6['push'](_0x26acd6['shift']());}}}(a158_0x3c3d,0x565ad));function a158_0x26bd(_0x2c33b1,_0x4e6acb){_0x2c33b1=_0x2c33b1-0xac;const _0x3c3db6=a158_0x3c3d();let _0x26bd53=_0x3c3db6[_0x2c33b1];return _0x26bd53;}import{buildSchemaPayload as a158_0x3e1d9e}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';function a158_0x3c3d(){const _0x15eca5=['1044405hdWsSk','2304gvCRab','724JVImDh','5SFdTtA','3302512PYBWYr','40858oVjUsO','5231040VxrdWe','14250TqHagX','6141627pHJaEO','938frkViJ'];a158_0x3c3d=function(){return _0x15eca5;};return a158_0x3c3d();}import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const {serviceRegistry:_0x5de5ae,findDefinition:_0xc16ec2}=await import('../commands/registry.js');return a158_0x3e1d9e({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x5de5ae,'buildAllFlags':buildAllFlags,'findDefinition':_0xc16ec2});}
1
+ (function(_0x473242,_0x140e12){const _0x232184=a158_0x5eaa,_0x147c8e=_0x473242();while(!![]){try{const _0x5dd528=-parseInt(_0x232184(0x95))/0x1*(-parseInt(_0x232184(0x94))/0x2)+parseInt(_0x232184(0x97))/0x3+-parseInt(_0x232184(0x93))/0x4*(parseInt(_0x232184(0x96))/0x5)+-parseInt(_0x232184(0x91))/0x6*(-parseInt(_0x232184(0x99))/0x7)+-parseInt(_0x232184(0x90))/0x8+parseInt(_0x232184(0x98))/0x9+-parseInt(_0x232184(0x92))/0xa;if(_0x5dd528===_0x140e12)break;else _0x147c8e['push'](_0x147c8e['shift']());}catch(_0x2b01a4){_0x147c8e['push'](_0x147c8e['shift']());}}}(a158_0x1099,0xd0499));function a158_0x1099(){const _0x103fd3=['15411650ZsNzTo','4uCqwtZ','1110046nWmvqF','1IMMNcF','4315855YDAijt','2692281mOuaeR','12869082roQhEO','473578Dpspjp','../commands/registry.js','1870024DVxhZO','54zJhudO'];a158_0x1099=function(){return _0x103fd3;};return a158_0x1099();}import{buildSchemaPayload as a158_0x45b616}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';function a158_0x5eaa(_0x3131b6,_0x415c2e){_0x3131b6=_0x3131b6-0x90;const _0x109982=a158_0x1099();let _0x5eaa5a=_0x109982[_0x3131b6];return _0x5eaa5a;}export async function buildSchemaPayload(){const _0x526114=a158_0x5eaa,{serviceRegistry:_0x3d2631,findDefinition:_0x40c661}=await import(_0x526114(0x9a));return a158_0x45b616({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x3d2631,'buildAllFlags':buildAllFlags,'findDefinition':_0x40c661});}
@@ -1 +1 @@
1
- (function(_0x18f1c7,_0x1b7eb4){var _0x34e4f0=a159_0x17d0,_0x3f1700=_0x18f1c7();while(!![]){try{var _0x1b8901=parseInt(_0x34e4f0(0x71))/0x1+-parseInt(_0x34e4f0(0x6d))/0x2*(-parseInt(_0x34e4f0(0x6b))/0x3)+parseInt(_0x34e4f0(0x6c))/0x4*(-parseInt(_0x34e4f0(0x72))/0x5)+-parseInt(_0x34e4f0(0x6a))/0x6*(parseInt(_0x34e4f0(0x70))/0x7)+-parseInt(_0x34e4f0(0x69))/0x8*(parseInt(_0x34e4f0(0x73))/0x9)+parseInt(_0x34e4f0(0x6e))/0xa*(parseInt(_0x34e4f0(0x6f))/0xb)+-parseInt(_0x34e4f0(0x74))/0xc;if(_0x1b8901===_0x1b7eb4)break;else _0x3f1700['push'](_0x3f1700['shift']());}catch(_0x5cbf66){_0x3f1700['push'](_0x3f1700['shift']());}}}(a159_0x31f3,0x6c769));function a159_0x31f3(){var _0xdf56d2=['63cnZwbE','12MUAVvg','6322qTTCnO','200PqYVlu','459349rntAGK','286895uXKmWZ','768162FSDIoe','332895iBIlXE','1494324NOGBiM','4881048fVjoqF','16TzOSTD','42GUrCUe'];a159_0x31f3=function(){return _0xdf56d2;};return a159_0x31f3();}function a159_0x17d0(_0x5a0d8e,_0x296918){_0x5a0d8e=_0x5a0d8e-0x69;var _0x31f3c5=a159_0x31f3();var _0x17d02e=_0x31f3c5[_0x5a0d8e];return _0x17d02e;}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';
1
+ function a159_0x922a(_0x598c24,_0x4de1f3){_0x598c24=_0x598c24-0xa3;var _0x420822=a159_0x4208();var _0x922a0b=_0x420822[_0x598c24];return _0x922a0b;}(function(_0x345765,_0x527755){var _0x4fd7f4=a159_0x922a,_0x57f968=_0x345765();while(!![]){try{var _0x26e084=parseInt(_0x4fd7f4(0xa4))/0x1+-parseInt(_0x4fd7f4(0xa6))/0x2+-parseInt(_0x4fd7f4(0xa9))/0x3*(-parseInt(_0x4fd7f4(0xaa))/0x4)+parseInt(_0x4fd7f4(0xa5))/0x5*(parseInt(_0x4fd7f4(0xa8))/0x6)+parseInt(_0x4fd7f4(0xab))/0x7+parseInt(_0x4fd7f4(0xa3))/0x8*(-parseInt(_0x4fd7f4(0xad))/0x9)+-parseInt(_0x4fd7f4(0xac))/0xa*(parseInt(_0x4fd7f4(0xa7))/0xb);if(_0x26e084===_0x527755)break;else _0x57f968['push'](_0x57f968['shift']());}catch(_0x4e21fb){_0x57f968['push'](_0x57f968['shift']());}}}(a159_0x4208,0x30377));function a159_0x4208(){var _0xfc8b6a=['3905176GzmiGi','137382NhSbac','6663nUpVEy','352CBzZQU','1107456pGoRHK','10FYPQrG','80721cYgSvQ','64czHDkn','372539hVQXdv','40VkjuHe','570216yPaUjl'];a159_0x4208=function(){return _0xfc8b6a;};return a159_0x4208();}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';
@@ -1 +1 @@
1
- const a160_0x5126bc=a160_0x3b05;function a160_0x1944(){const _0x392988=['7721496YFFzQp','4092522BfcNhR','2026-04-21T07:17:22.033Z','2.1.6-beta.0','320820eOnzeo','506ZaruCL','dea46ab','6691264FNcvhX','2203VjLuFJ','18qumRLS','7mCPqIS','1224mGUUkh','2670OAzQhj','v2.1.6-beta.0','1302876fpkHWC','4928AmkjAR'];a160_0x1944=function(){return _0x392988;};return a160_0x1944();}(function(_0x38cc38,_0x26e3d2){const _0x2a2313=a160_0x3b05,_0x32f413=_0x38cc38();while(!![]){try{const _0x2cb8c6=parseInt(_0x2a2313(0x75))/0x1*(-parseInt(_0x2a2313(0x78))/0x2)+-parseInt(_0x2a2313(0x7e))/0x3+-parseInt(_0x2a2313(0x7c))/0x4*(-parseInt(_0x2a2313(0x79))/0x5)+-parseInt(_0x2a2313(0x7d))/0x6+-parseInt(_0x2a2313(0x77))/0x7*(parseInt(_0x2a2313(0x74))/0x8)+parseInt(_0x2a2313(0x76))/0x9*(parseInt(_0x2a2313(0x81))/0xa)+parseInt(_0x2a2313(0x82))/0xb*(parseInt(_0x2a2313(0x7b))/0xc);if(_0x2cb8c6===_0x26e3d2)break;else _0x32f413['push'](_0x32f413['shift']());}catch(_0x4387ec){_0x32f413['push'](_0x32f413['shift']());}}}(a160_0x1944,0xd7024));export const VERSION=a160_0x5126bc(0x80);function a160_0x3b05(_0x135b61,_0x3da400){_0x135b61=_0x135b61-0x73;const _0x194412=a160_0x1944();let _0x3b05b5=_0x194412[_0x135b61];return _0x3b05b5;}export const GIT_TAG=a160_0x5126bc(0x7a);export const GIT_COMMIT=a160_0x5126bc(0x73);export const BUILD_TIME=a160_0x5126bc(0x7f);
1
+ const a160_0x1ea7c8=a160_0x2d23;(function(_0x5aa535,_0x19949f){const _0x12a92b=a160_0x2d23,_0x16799a=_0x5aa535();while(!![]){try{const _0x43763f=parseInt(_0x12a92b(0x1e5))/0x1*(-parseInt(_0x12a92b(0x1e9))/0x2)+parseInt(_0x12a92b(0x1e1))/0x3+-parseInt(_0x12a92b(0x1e7))/0x4*(-parseInt(_0x12a92b(0x1ec))/0x5)+parseInt(_0x12a92b(0x1ea))/0x6*(-parseInt(_0x12a92b(0x1e2))/0x7)+-parseInt(_0x12a92b(0x1e8))/0x8+-parseInt(_0x12a92b(0x1e4))/0x9+parseInt(_0x12a92b(0x1e0))/0xa;if(_0x43763f===_0x19949f)break;else _0x16799a['push'](_0x16799a['shift']());}catch(_0x18358a){_0x16799a['push'](_0x16799a['shift']());}}}(a160_0x30c1,0x7ca02));export const VERSION='2.1.6';export const GIT_TAG=a160_0x1ea7c8(0x1e3);export const GIT_COMMIT=a160_0x1ea7c8(0x1eb);export const BUILD_TIME=a160_0x1ea7c8(0x1e6);function a160_0x2d23(_0x197b94,_0x47bdb9){_0x197b94=_0x197b94-0x1e0;const _0x30c122=a160_0x30c1();let _0x2d2377=_0x30c122[_0x197b94];return _0x2d2377;}function a160_0x30c1(){const _0xf6b063=['0ef5956','515iepkDg','4945010eeSvJm','2153634BWhoVn','6460447jxqBzp','v2.1.6','3768417gyYywE','20948gdfqDN','2026-04-21T08:53:30.276Z','35608wovrPJ','709224xiVuOK','18tYRDQR','6ascAOm'];a160_0x30c1=function(){return _0xf6b063;};return a160_0x30c1();}
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- (function(_0x51d215,_0x1f9126){var _0x14635f=a161_0x25e8,_0x1747bb=_0x51d215();while(!![]){try{var _0x5919b7=parseInt(_0x14635f(0xd2))/0x1+parseInt(_0x14635f(0xdc))/0x2+-parseInt(_0x14635f(0xdb))/0x3*(parseInt(_0x14635f(0xe0))/0x4)+-parseInt(_0x14635f(0xdf))/0x5*(-parseInt(_0x14635f(0xda))/0x6)+-parseInt(_0x14635f(0xd6))/0x7*(parseInt(_0x14635f(0xd7))/0x8)+-parseInt(_0x14635f(0xde))/0x9+parseInt(_0x14635f(0xd5))/0xa*(parseInt(_0x14635f(0xd4))/0xb);if(_0x5919b7===_0x1f9126)break;else _0x1747bb['push'](_0x1747bb['shift']());}catch(_0x2d0575){_0x1747bb['push'](_0x1747bb['shift']());}}}(a161_0x5c74,0x91487));import a161_0x1ba6f2 from'chalk';function a161_0x25e8(_0x37c083,_0x31b8a1){_0x37c083=_0x37c083-0xd2;var _0x5c745d=a161_0x5c74();var _0x25e805=_0x5c745d[_0x37c083];return _0x25e805;}import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';function a161_0x5c74(){var _0x2c6b95=['40XrJQsq','59024zTJtYA','32wZjolR','green','log','60oOCWcM','624zkMNOt','1620086msWHYN','\x20--help','6732711XlJpmW','131255kqWMtb','5204plDUzv','\x20\x20Use\x20','15361VsVADl','bold','1538845RpEIIn'];a161_0x5c74=function(){return _0x2c6b95;};return a161_0x5c74();}export function showHelp(){var _0x5b89cd=a161_0x25e8;console[_0x5b89cd(0xd9)](),console[_0x5b89cd(0xd9)](a161_0x1ba6f2[_0x5b89cd(0xd8)][_0x5b89cd(0xd3)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x5b89cd(0xd9)](),console[_0x5b89cd(0xd9)](_0x5b89cd(0xe1)+a161_0x1ba6f2['green']['bold'](CLI_BIN_NAME+_0x5b89cd(0xdd))+'\x20to\x20view\x20available\x20commands.'),console[_0x5b89cd(0xd9)]();}
1
+ (function(_0x2fd2c3,_0x5549b6){var _0x13eb82=a161_0xd463,_0x461601=_0x2fd2c3();while(!![]){try{var _0x2d6537=-parseInt(_0x13eb82(0x13d))/0x1+parseInt(_0x13eb82(0x145))/0x2+parseInt(_0x13eb82(0x137))/0x3+parseInt(_0x13eb82(0x13a))/0x4*(parseInt(_0x13eb82(0x139))/0x5)+parseInt(_0x13eb82(0x143))/0x6*(-parseInt(_0x13eb82(0x141))/0x7)+-parseInt(_0x13eb82(0x13e))/0x8+parseInt(_0x13eb82(0x142))/0x9*(parseInt(_0x13eb82(0x144))/0xa);if(_0x2d6537===_0x5549b6)break;else _0x461601['push'](_0x461601['shift']());}catch(_0xf2795d){_0x461601['push'](_0x461601['shift']());}}}(a161_0x2f5b,0x673b6));function a161_0xd463(_0x2592b4,_0x4d2760){_0x2592b4=_0x2592b4-0x137;var _0x2f5ba6=a161_0x2f5b();var _0xd4630e=_0x2f5ba6[_0x2592b4];return _0xd4630e;}import a161_0x15626c from'chalk';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0x24f4bf=a161_0xd463;console['log'](),console['log'](a161_0x15626c['green'][_0x24f4bf(0x13b)]('\x20\x20'+CLI_DISPLAY_NAME)),console['log'](),console['log'](_0x24f4bf(0x13c)+a161_0x15626c[_0x24f4bf(0x138)][_0x24f4bf(0x13b)](CLI_BIN_NAME+_0x24f4bf(0x13f))+'\x20to\x20view\x20available\x20commands.'),console[_0x24f4bf(0x140)]();}function a161_0x2f5b(){var _0x2cb17b=['298667MKZcgx','6063032tNhhsS','\x20--help','log','156079WBKnUL','295173LPfDpR','138wCXUPt','90jFptAm','990266NUDnoF','2269788wbNnTL','green','2226565LNLotR','4PMbMbl','bold','\x20\x20Use\x20'];a161_0x2f5b=function(){return _0x2cb17b;};return a161_0x2f5b();}
@@ -1 +1 @@
1
- (function(_0xaf40eb,_0x149052){const _0x540912=a162_0x2ced,_0xb3736d=_0xaf40eb();while(!![]){try{const _0x2683d6=-parseInt(_0x540912(0x175))/0x1+-parseInt(_0x540912(0x157))/0x2*(-parseInt(_0x540912(0x164))/0x3)+-parseInt(_0x540912(0x15e))/0x4*(parseInt(_0x540912(0x171))/0x5)+parseInt(_0x540912(0x155))/0x6*(parseInt(_0x540912(0x17a))/0x7)+-parseInt(_0x540912(0x173))/0x8*(parseInt(_0x540912(0x167))/0x9)+parseInt(_0x540912(0x15a))/0xa+-parseInt(_0x540912(0x168))/0xb*(-parseInt(_0x540912(0x176))/0xc);if(_0x2683d6===_0x149052)break;else _0xb3736d['push'](_0xb3736d['shift']());}catch(_0x19a8c1){_0xb3736d['push'](_0xb3736d['shift']());}}}(a162_0xcf59,0xec1bd));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(_0x53ffa9){const _0x1cef85=a162_0x2ced,_0x56f23b=[];for(const [_0x362136,_0x209a73]of Object[_0x1cef85(0x16e)](_0x53ffa9)){if(_0x209a73===!![]){const _0x12d225=_0x362136[_0x1cef85(0x166)](/([A-Z])/g,_0x1cef85(0x15c))['toLowerCase']();_0x56f23b[_0x1cef85(0x159)](_0x12d225);}}return _0x56f23b;}export function parseDynamicFlags(){const _0x2054b1=a162_0x2ced,_0x2c73d2=[];for(let _0xfe3ff8=0x3;_0xfe3ff8<process['argv'][_0x2054b1(0x158)];_0xfe3ff8++){const _0x16c910=process[_0x2054b1(0x17b)][_0xfe3ff8];if(_0x16c910&&_0x16c910[_0x2054b1(0x162)]('--')){const _0x169a04=_0x16c910[_0x2054b1(0x178)](0x2);_0x169a04&&!_0x169a04[_0x2054b1(0x15f)]('=')&&_0x2c73d2['push'](_0x169a04);}}return _0x2c73d2;}export function getAllProvidedFlags(_0x1858e8){const _0x39a275=a162_0x2ced,_0x4333dd=camelCaseFlagsToKebab(_0x1858e8),_0xa94eed=parseDynamicFlags(),_0x5f2e94=new Set([..._0x4333dd,..._0xa94eed]);return Array[_0x39a275(0x16a)](_0x5f2e94);}function a162_0x2ced(_0x979754,_0x25d16a){_0x979754=_0x979754-0x155;const _0xcf595c=a162_0xcf59();let _0x2ced00=_0xcf595c[_0x979754];return _0x2ced00;}export function normalizeLegacyBffSaveFlags(_0xa84de2){const _0x42f84d=a162_0x2ced,_0x1912a3=new Set(_0xa84de2);return _0x1912a3[_0x42f84d(0x169)](_0x42f84d(0x163))&&_0x1912a3[_0x42f84d(0x15b)](_0x42f84d(0x16f)),Array[_0x42f84d(0x16a)](_0x1912a3);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;export async function skillsCommand(_0x5e2e2f,_0x2939f4,_0x4051d0){const _0x2c6c63=a162_0x2ced;logger[_0x2c6c63(0x15d)](process[_0x2c6c63(0x177)]());if(_0x4051d0?.[_0x2c6c63(0x160)]||_0x5e2e2f==='--help'){showHelp();return;}console['error'](_0x2c6c63(0x161)+(_0x5e2e2f||_0x2c6c63(0x156))),console[_0x2c6c63(0x174)](_0x2c6c63(0x16d)),console[_0x2c6c63(0x174)]('\x20\x20'+CLI_BIN_NAME+'\x20skill\x20install\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20skill\x20installation'),console[_0x2c6c63(0x174)]('\x20\x20'+CLI_BIN_NAME+_0x2c6c63(0x179)),console[_0x2c6c63(0x174)](''),console[_0x2c6c63(0x174)]('Equivalent\x20command:\x20'+SKILLS_INSTALL_COMMAND_LINE),logger[_0x2c6c63(0x16b)]('skill','不支持的命令:\x20'+_0x5e2e2f),process[_0x2c6c63(0x170)](0x1);}function a162_0xcf59(){const _0x52c680=['enable-bff-save','exit','50vBPUeJ','\x20skill\x20--help\x0a\x20\x20','12392EZFAFq','log','147935uaihiB','1908hWDINB','cwd','slice','\x20skill\x20--help\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Show\x20help\x0a','117173xhYOrJ','argv','426PCGuEF','(empty)','1427852EZEqpq','length','push','1184070wUFhjU','add','-$1','setLogPath','105692SmwdyZ','includes','help','Error:\x20Unsupported\x20command:\x20','startsWith','dangerously-bff-save','3gaeFsy','\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/lovrabet/guides/.\x0a','replace','9081kLBYhk','63745jtfMYZ','has','from','error','\x0aLovrabet\x20Skill\x20-\x20Developer\x20Skill\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','\x0aAvailable\x20commands:','entries'];a162_0xcf59=function(){return _0x52c680;};return a162_0xcf59();}function showHelp(){const _0x1a1e69=a162_0x2ced;console[_0x1a1e69(0x174)](_0x1a1e69(0x16c)+CLI_BIN_NAME+_0x1a1e69(0x172)+CLI_BIN_NAME+'\x20skill\x20install\x0a\x0aEquivalent\x20command:\x20'+SKILLS_INSTALL_COMMAND_LINE+_0x1a1e69(0x165));}
1
+ function a162_0x5ca1(){const _0x2f7b2b=['26hjOFKf','\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/lovrabet/guides/.\x0a','cwd','help','add','29935AtQmia','push','3103760exJPpf','setLogPath','from','1720545IyBCTR','4757874NyIJUW','argv','enable-bff-save','不支持的命令:\x20','exit','24475ldQtDx','-$1','12239532kztTnH','\x0aLovrabet\x20Skill\x20-\x20Developer\x20Skill\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','toLowerCase','\x20skill\x20install\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20skill\x20installation','replace','36omqfTM','\x20skill\x20install\x0a\x0aEquivalent\x20command:\x20','4900210sfKkTI','entries','skill','error','includes','log','dangerously-bff-save','startsWith','(empty)'];a162_0x5ca1=function(){return _0x2f7b2b;};return a162_0x5ca1();}(function(_0x48d88f,_0x581e58){const _0x372127=a162_0x21e7,_0x321bb0=_0x48d88f();while(!![]){try{const _0x291d91=parseInt(_0x372127(0xad))/0x1*(parseInt(_0x372127(0xa8))/0x2)+parseInt(_0x372127(0x90))/0x3+parseInt(_0x372127(0x9d))/0x4*(-parseInt(_0x372127(0x96))/0x5)+-parseInt(_0x372127(0x91))/0x6+-parseInt(_0x372127(0x9f))/0x7+-parseInt(_0x372127(0x8d))/0x8+parseInt(_0x372127(0x98))/0x9;if(_0x291d91===_0x581e58)break;else _0x321bb0['push'](_0x321bb0['shift']());}catch(_0x486b13){_0x321bb0['push'](_0x321bb0['shift']());}}}(a162_0x5ca1,0x61110));import{logger}from'../utils/logger.js';import{CLI_BIN_NAME}from'../constant/cli.js';function a162_0x21e7(_0x789e85,_0x12d37a){_0x789e85=_0x789e85-0x8d;const _0x5ca188=a162_0x5ca1();let _0x21e708=_0x5ca188[_0x789e85];return _0x21e708;}import{NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE}from'../skills/npx-skills-add.js';export function camelCaseFlagsToKebab(_0x2dbf91){const _0x175d2d=a162_0x21e7,_0x5471fe=[];for(const [_0x2e22c4,_0x56607e]of Object[_0x175d2d(0xa0)](_0x2dbf91)){if(_0x56607e===!![]){const _0x4f2e86=_0x2e22c4[_0x175d2d(0x9c)](/([A-Z])/g,_0x175d2d(0x97))[_0x175d2d(0x9a)]();_0x5471fe[_0x175d2d(0xae)](_0x4f2e86);}}return _0x5471fe;}export function parseDynamicFlags(){const _0x40a361=a162_0x21e7,_0x4effab=[];for(let _0x29fb6d=0x3;_0x29fb6d<process[_0x40a361(0x92)]['length'];_0x29fb6d++){const _0x420a33=process[_0x40a361(0x92)][_0x29fb6d];if(_0x420a33&&_0x420a33[_0x40a361(0xa6)]('--')){const _0x308eda=_0x420a33['slice'](0x2);_0x308eda&&!_0x308eda[_0x40a361(0xa3)]('=')&&_0x4effab[_0x40a361(0xae)](_0x308eda);}}return _0x4effab;}export function getAllProvidedFlags(_0x210619){const _0x4d814c=a162_0x21e7,_0x25ef6c=camelCaseFlagsToKebab(_0x210619),_0x1708be=parseDynamicFlags(),_0x1af64a=new Set([..._0x25ef6c,..._0x1708be]);return Array[_0x4d814c(0x8f)](_0x1af64a);}export function normalizeLegacyBffSaveFlags(_0x23495a){const _0x44221a=a162_0x21e7,_0x131a3f=new Set(_0x23495a);return _0x131a3f['has'](_0x44221a(0xa5))&&_0x131a3f[_0x44221a(0xac)](_0x44221a(0x93)),Array['from'](_0x131a3f);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;export async function skillsCommand(_0x162b0b,_0x2303ab,_0x50e73a){const _0x5973e7=a162_0x21e7;logger[_0x5973e7(0x8e)](process[_0x5973e7(0xaa)]());if(_0x50e73a?.[_0x5973e7(0xab)]||_0x162b0b==='--help'){showHelp();return;}console[_0x5973e7(0xa2)]('Error:\x20Unsupported\x20command:\x20'+(_0x162b0b||_0x5973e7(0xa7))),console[_0x5973e7(0xa4)]('\x0aAvailable\x20commands:'),console[_0x5973e7(0xa4)]('\x20\x20'+CLI_BIN_NAME+_0x5973e7(0x9b)),console[_0x5973e7(0xa4)]('\x20\x20'+CLI_BIN_NAME+'\x20skill\x20--help\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Show\x20help\x0a'),console[_0x5973e7(0xa4)](''),console[_0x5973e7(0xa4)]('Equivalent\x20command:\x20'+SKILLS_INSTALL_COMMAND_LINE),logger[_0x5973e7(0xa2)](_0x5973e7(0xa1),_0x5973e7(0x94)+_0x162b0b),process[_0x5973e7(0x95)](0x1);}function showHelp(){const _0x3fa478=a162_0x21e7;console[_0x3fa478(0xa4)](_0x3fa478(0x99)+CLI_BIN_NAME+'\x20skill\x20--help\x0a\x20\x20'+CLI_BIN_NAME+_0x3fa478(0x9e)+SKILLS_INSTALL_COMMAND_LINE+_0x3fa478(0xa9));}
@@ -1 +1 @@
1
- const a163_0x2fa07b=a163_0x376d;(function(_0x34ad92,_0x506803){const _0x114c10=a163_0x376d,_0x1b9bc8=_0x34ad92();while(!![]){try{const _0x5d01e7=-parseInt(_0x114c10(0x13c))/0x1+parseInt(_0x114c10(0x12c))/0x2+-parseInt(_0x114c10(0x12a))/0x3+parseInt(_0x114c10(0x12d))/0x4+parseInt(_0x114c10(0x12e))/0x5+parseInt(_0x114c10(0x129))/0x6+parseInt(_0x114c10(0x123))/0x7*(-parseInt(_0x114c10(0x122))/0x8);if(_0x5d01e7===_0x506803)break;else _0x1b9bc8['push'](_0x1b9bc8['shift']());}catch(_0x2dac85){_0x1b9bc8['push'](_0x1b9bc8['shift']());}}}(a163_0x1c9e,0x9160b));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=a163_0x2fa07b(0x126);export const NPX_SKILLS_SUBCOMMAND_ADD=a163_0x2fa07b(0x135);function a163_0x376d(_0x28759b,_0x41f8c3){_0x28759b=_0x28759b-0x122;const _0x1c9e30=a163_0x1c9e();let _0x376d23=_0x1c9e30[_0x28759b];return _0x376d23;}export const NPX_SKILLS_FLAG_SKILL='--skill';export const RABETBASE_SKILL_SOURCE=a163_0x2fa07b(0x133);export const LEGACY_RABETBASE_SKILL_SOURCE=a163_0x2fa07b(0x136);function a163_0x1c9e(){const _0x53df09=['1469870jupsib','3500816VFnWMF','3305945mwNiTk','pipe','npx','join','unknown','lovrabet/rabetbase','status','add','lovrabet/lovrabet-skill','exit\x20','stderr','toString','log','skill','380250eclLlV','432WwlHsY','51422jzoukO','stdio','yes','skills','inherit','stdout','1426554wHRwOi','3410058qYohsW','trim'];a163_0x1c9e=function(){return _0x53df09;};return a163_0x1c9e();}export const DEFAULT_RABETBASE_SKILL_NAME='Lovrabet';export function buildNpxSkillsAddArgv(_0x53213e=DEFAULT_RABETBASE_SKILL_NAME){return[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,NPX_SKILLS_FLAG_SKILL,_0x53213e];}export const NPX_SKILLS_ADD_COMMAND_LINE=[a163_0x2fa07b(0x130),...buildNpxSkillsAddArgv()]['join']('\x20');export const NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE=[a163_0x2fa07b(0x130),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES]['join']('\x20');export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0x1f1271,_0x3247cb){const _0x372fe7=a163_0x2fa07b;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x5231fb=_0x3247cb?.['stdio']??_0x372fe7(0x127),_0x96d3e8=resolveNpmBin(_0x372fe7(0x130)),_0x2c8af3=buildNpxSkillsAddArgv(_0x3247cb?.['skill']??DEFAULT_RABETBASE_SKILL_NAME),_0x59d7fb=['npx',..._0x2c8af3][_0x372fe7(0x131)]('\x20');console[_0x372fe7(0x13a)]('*\x20'+_0x59d7fb);const _0x5d968d=spawnSync(_0x96d3e8,_0x2c8af3,{'cwd':_0x1f1271,'stdio':_0x5231fb,'env':process.env,'shell':![]}),_0x47c381=_0x5d968d[_0x372fe7(0x134)];if(_0x47c381===0x0)return{'ok':!![],'status':0x0};let _0x140d75='exit\x20'+(_0x47c381??_0x372fe7(0x132));if(_0x5231fb===_0x372fe7(0x12f)){const _0x3152ac=_0x5d968d[_0x372fe7(0x138)]?_0x5d968d['stderr'][_0x372fe7(0x139)]()[_0x372fe7(0x12b)]():'',_0x1ae833=_0x5d968d[_0x372fe7(0x128)]?_0x5d968d[_0x372fe7(0x128)][_0x372fe7(0x139)]()['trim']():'';if(_0x3152ac)_0x140d75=_0x3152ac;else{if(_0x1ae833)_0x140d75=_0x1ae833;}}return{'ok':![],'status':_0x47c381??null,'error':_0x140d75};}export function runNpxSkillsRemove(_0x3fd9d1,_0x4b778f,_0x325822=LEGACY_RABETBASE_SKILL_SOURCE){const _0x26e848=a163_0x2fa07b;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x1174d0=_0x4b778f?.[_0x26e848(0x124)]??_0x26e848(0x127),_0x5bec7c=resolveNpmBin('npx'),_0x8dadd4=[NPX_FLAG_YES,NPX_SKILLS_CLI,'remove',_0x325822,NPX_SKILLS_FLAG_SKILL,_0x4b778f?.[_0x26e848(0x13b)]??DEFAULT_RABETBASE_SKILL_NAME,..._0x4b778f?.[_0x26e848(0x125)]?['-y']:[]],_0x348442=[_0x5bec7c,..._0x8dadd4][_0x26e848(0x131)]('\x20');console[_0x26e848(0x13a)]('*\x20'+_0x348442);const _0x3612ca=spawnSync(_0x5bec7c,_0x8dadd4,{'cwd':_0x3fd9d1,'stdio':_0x1174d0,'env':process.env,'shell':![]}),_0x32427a=_0x3612ca[_0x26e848(0x134)];if(_0x32427a===0x0)return{'ok':!![],'status':0x0};let _0x6ecfc8='exit\x20'+(_0x32427a??_0x26e848(0x132));if(_0x1174d0===_0x26e848(0x12f)){const _0xeb43a=_0x3612ca['stderr']?_0x3612ca[_0x26e848(0x138)][_0x26e848(0x139)]()[_0x26e848(0x12b)]():'',_0x1848ce=_0x3612ca[_0x26e848(0x128)]?_0x3612ca[_0x26e848(0x128)][_0x26e848(0x139)]()[_0x26e848(0x12b)]():'';if(_0xeb43a)_0x6ecfc8=_0xeb43a;else{if(_0x1848ce)_0x6ecfc8=_0x1848ce;}}return{'ok':![],'status':_0x32427a??null,'error':_0x6ecfc8};}export function runNpxSkillsAddGlobal(_0x2e0e90,_0xfd9193,_0x3e351e){const _0x4f84ea=a163_0x2fa07b;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x5a3bed=_0x3e351e?.[_0x4f84ea(0x124)]??_0x4f84ea(0x127),_0x5513d5=resolveNpmBin(_0x4f84ea(0x130)),_0x58cf35=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0xfd9193,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES],_0xf53ad2=[_0x4f84ea(0x130),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0xfd9193,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES]['join']('\x20');console[_0x4f84ea(0x13a)]('*\x20'+_0xf53ad2);const _0x5859eb=spawnSync(_0x5513d5,_0x58cf35,{'cwd':_0x2e0e90,'stdio':_0x5a3bed,'env':process.env,'shell':![]}),_0x476cd2=_0x5859eb[_0x4f84ea(0x134)];if(_0x476cd2===0x0)return{'ok':!![],'status':0x0};let _0x4eb04e=_0x4f84ea(0x137)+(_0x476cd2??_0x4f84ea(0x132));if(_0x5a3bed===_0x4f84ea(0x12f)){const _0x1c713a=_0x5859eb[_0x4f84ea(0x138)]?_0x5859eb['stderr'][_0x4f84ea(0x139)]()[_0x4f84ea(0x12b)]():'',_0xa8026=_0x5859eb[_0x4f84ea(0x128)]?_0x5859eb[_0x4f84ea(0x128)][_0x4f84ea(0x139)]()[_0x4f84ea(0x12b)]():'';if(_0x1c713a)_0x4eb04e=_0x1c713a;else{if(_0xa8026)_0x4eb04e=_0xa8026;}}return{'ok':![],'status':_0x476cd2??null,'error':_0x4eb04e};}
1
+ const a163_0x1e5c28=a163_0x46c8;(function(_0x3bd83f,_0x31e36d){const _0x46d90c=a163_0x46c8,_0x414ee6=_0x3bd83f();while(!![]){try{const _0x53802b=-parseInt(_0x46d90c(0x10b))/0x1*(-parseInt(_0x46d90c(0x124))/0x2)+parseInt(_0x46d90c(0x11f))/0x3+parseInt(_0x46d90c(0x10c))/0x4*(-parseInt(_0x46d90c(0x120))/0x5)+-parseInt(_0x46d90c(0x127))/0x6*(parseInt(_0x46d90c(0x118))/0x7)+-parseInt(_0x46d90c(0x123))/0x8*(parseInt(_0x46d90c(0x121))/0x9)+parseInt(_0x46d90c(0x110))/0xa*(-parseInt(_0x46d90c(0x122))/0xb)+-parseInt(_0x46d90c(0x114))/0xc*(-parseInt(_0x46d90c(0x11e))/0xd);if(_0x53802b===_0x31e36d)break;else _0x414ee6['push'](_0x414ee6['shift']());}catch(_0x5226e6){_0x414ee6['push'](_0x414ee6['shift']());}}}(a163_0x497e,0x5447f));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=a163_0x1e5c28(0x129);export const NPX_SKILLS_SUBCOMMAND_ADD=a163_0x1e5c28(0x117);export const NPX_SKILLS_FLAG_SKILL='--skill';export const RABETBASE_SKILL_SOURCE=a163_0x1e5c28(0x125);export const LEGACY_RABETBASE_SKILL_SOURCE='lovrabet/lovrabet-skill';export const DEFAULT_RABETBASE_SKILL_NAME='Lovrabet';export function buildNpxSkillsAddArgv(_0x9f69e7=DEFAULT_RABETBASE_SKILL_NAME){return[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,NPX_SKILLS_FLAG_SKILL,_0x9f69e7];}function a163_0x497e(){const _0x3ce055=['stdout','add','42uChyRW','status','stderr','inherit','skill','trim','26gCCMTn','800397vWIUlJ','1468615ZkLtZS','36HPtPyO','2752277fBqiEg','1332976ycghgK','152jbREnD','lovrabet/rabetbase','yes','684552XCiBUn','remove','skills','unknown','8392nlcXyo','4kyvNAc','exit\x20','pipe','stdio','10gXBTdW','npx','toString','log','8013564NGiDMe','join'];a163_0x497e=function(){return _0x3ce055;};return a163_0x497e();}export const NPX_SKILLS_ADD_COMMAND_LINE=['npx',...buildNpxSkillsAddArgv()]['join']('\x20');export const NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE=['npx',NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES]['join']('\x20');export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0x12489f,_0x4a44b8){const _0x2cb52b=a163_0x1e5c28;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x1c380e=_0x4a44b8?.['stdio']??_0x2cb52b(0x11b),_0x2ef532=resolveNpmBin(_0x2cb52b(0x111)),_0x5abcb2=buildNpxSkillsAddArgv(_0x4a44b8?.[_0x2cb52b(0x11c)]??DEFAULT_RABETBASE_SKILL_NAME),_0x58c943=[_0x2cb52b(0x111),..._0x5abcb2][_0x2cb52b(0x115)]('\x20');console['log']('*\x20'+_0x58c943);const _0x772c12=spawnSync(_0x2ef532,_0x5abcb2,{'cwd':_0x12489f,'stdio':_0x1c380e,'env':process.env,'shell':![]}),_0x350a69=_0x772c12[_0x2cb52b(0x119)];if(_0x350a69===0x0)return{'ok':!![],'status':0x0};let _0x1a2723=_0x2cb52b(0x10d)+(_0x350a69??_0x2cb52b(0x10a));if(_0x1c380e===_0x2cb52b(0x10e)){const _0x4bb7a6=_0x772c12[_0x2cb52b(0x11a)]?_0x772c12[_0x2cb52b(0x11a)][_0x2cb52b(0x112)]()[_0x2cb52b(0x11d)]():'',_0x4102cb=_0x772c12[_0x2cb52b(0x116)]?_0x772c12['stdout']['toString']()[_0x2cb52b(0x11d)]():'';if(_0x4bb7a6)_0x1a2723=_0x4bb7a6;else{if(_0x4102cb)_0x1a2723=_0x4102cb;}}return{'ok':![],'status':_0x350a69??null,'error':_0x1a2723};}export function runNpxSkillsRemove(_0x1ec7a3,_0x54498a,_0x3f88f9=LEGACY_RABETBASE_SKILL_SOURCE){const _0x1abec9=a163_0x1e5c28;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x4778ec=_0x54498a?.[_0x1abec9(0x10f)]??_0x1abec9(0x11b),_0x2368b6=resolveNpmBin(_0x1abec9(0x111)),_0x59eaac=[NPX_FLAG_YES,NPX_SKILLS_CLI,_0x1abec9(0x128),_0x3f88f9,NPX_SKILLS_FLAG_SKILL,_0x54498a?.[_0x1abec9(0x11c)]??DEFAULT_RABETBASE_SKILL_NAME,..._0x54498a?.[_0x1abec9(0x126)]?['-y']:[]],_0x289f15=[_0x2368b6,..._0x59eaac][_0x1abec9(0x115)]('\x20');console[_0x1abec9(0x113)]('*\x20'+_0x289f15);const _0xbf6684=spawnSync(_0x2368b6,_0x59eaac,{'cwd':_0x1ec7a3,'stdio':_0x4778ec,'env':process.env,'shell':![]}),_0x35158a=_0xbf6684[_0x1abec9(0x119)];if(_0x35158a===0x0)return{'ok':!![],'status':0x0};let _0x571699=_0x1abec9(0x10d)+(_0x35158a??'unknown');if(_0x4778ec==='pipe'){const _0x17e9c7=_0xbf6684[_0x1abec9(0x11a)]?_0xbf6684[_0x1abec9(0x11a)][_0x1abec9(0x112)]()[_0x1abec9(0x11d)]():'',_0x15b474=_0xbf6684[_0x1abec9(0x116)]?_0xbf6684[_0x1abec9(0x116)][_0x1abec9(0x112)]()['trim']():'';if(_0x17e9c7)_0x571699=_0x17e9c7;else{if(_0x15b474)_0x571699=_0x15b474;}}return{'ok':![],'status':_0x35158a??null,'error':_0x571699};}function a163_0x46c8(_0xf39d5f,_0x107e48){_0xf39d5f=_0xf39d5f-0x10a;const _0x497ee6=a163_0x497e();let _0x46c894=_0x497ee6[_0xf39d5f];return _0x46c894;}export function runNpxSkillsAddGlobal(_0x32bbdc,_0xcf36d7,_0x50beec){const _0x2713b8=a163_0x1e5c28;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x2c8089=_0x50beec?.[_0x2713b8(0x10f)]??'inherit',_0x230bba=resolveNpmBin(_0x2713b8(0x111)),_0x1d4389=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0xcf36d7,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES],_0x54eea7=[_0x2713b8(0x111),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0xcf36d7,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][_0x2713b8(0x115)]('\x20');console[_0x2713b8(0x113)]('*\x20'+_0x54eea7);const _0x14232d=spawnSync(_0x230bba,_0x1d4389,{'cwd':_0x32bbdc,'stdio':_0x2c8089,'env':process.env,'shell':![]}),_0x58c60d=_0x14232d[_0x2713b8(0x119)];if(_0x58c60d===0x0)return{'ok':!![],'status':0x0};let _0xb61dbe='exit\x20'+(_0x58c60d??'unknown');if(_0x2c8089===_0x2713b8(0x10e)){const _0xb91aca=_0x14232d['stderr']?_0x14232d[_0x2713b8(0x11a)][_0x2713b8(0x112)]()['trim']():'',_0x16d923=_0x14232d[_0x2713b8(0x116)]?_0x14232d['stdout'][_0x2713b8(0x112)]()[_0x2713b8(0x11d)]():'';if(_0xb91aca)_0xb61dbe=_0xb91aca;else{if(_0x16d923)_0xb61dbe=_0x16d923;}}return{'ok':![],'status':_0x58c60d??null,'error':_0xb61dbe};}
@@ -1 +1 @@
1
- (function(_0x3b42c3,_0x5c20b4){const _0x3f02d6=a164_0x5919,_0x1aaed5=_0x3b42c3();while(!![]){try{const _0x445524=-parseInt(_0x3f02d6(0x1ea))/0x1*(-parseInt(_0x3f02d6(0x1e4))/0x2)+-parseInt(_0x3f02d6(0x1d9))/0x3+-parseInt(_0x3f02d6(0x1d7))/0x4*(parseInt(_0x3f02d6(0x1de))/0x5)+parseInt(_0x3f02d6(0x1e9))/0x6+-parseInt(_0x3f02d6(0x1dc))/0x7+-parseInt(_0x3f02d6(0x1e6))/0x8+-parseInt(_0x3f02d6(0x1dd))/0x9*(-parseInt(_0x3f02d6(0x1e8))/0xa);if(_0x445524===_0x5c20b4)break;else _0x1aaed5['push'](_0x1aaed5['shift']());}catch(_0x58ee05){_0x1aaed5['push'](_0x1aaed5['shift']());}}}(a164_0x3ed3,0x5bc8f));function a164_0x5919(_0x7cdf11,_0x4002e5){_0x7cdf11=_0x7cdf11-0x1d7;const _0x3ed37e=a164_0x3ed3();let _0x59191b=_0x3ed37e[_0x7cdf11];return _0x59191b;}import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';import{getCliVersion}from'../utils/version.js';function a164_0x3ed3(){const _0x26094e=['some','service','3541699JMrnve','81bUVHUJ','85PSSHoK','entries','durationMs','flags','command','error','189182VucVQi','stringify','914344cxkRuZ','rabetbase.command','720890oroPeL','3929196CQRmfe','3EZWvhS','94852Bggyxg','test','564354SpIlni'];a164_0x3ed3=function(){return _0x26094e;};return a164_0x3ed3();}const SENSITIVE_PATTERNS=[/cookie/i,/token/i,/password/i,/passwd/i,/secret/i,/auth/i,/session/i,/credential/i];function isSensitiveKey(_0x56c25a){const _0x5c79bf=a164_0x5919;return SENSITIVE_PATTERNS[_0x5c79bf(0x1da)](_0x30910e=>_0x30910e[_0x5c79bf(0x1d8)](_0x56c25a));}function sanitizeFlags(_0x491411){const _0x1ed68d=a164_0x5919,_0x5ea1e0={};for(const [_0x3288d8,_0x243eea]of Object[_0x1ed68d(0x1df)](_0x491411)){isSensitiveKey(_0x3288d8)?_0x5ea1e0[_0x3288d8]=_0x243eea!=null&&_0x243eea!==''?'[REDACTED]':_0x243eea:_0x5ea1e0[_0x3288d8]=_0x243eea;}return _0x5ea1e0;}export async function reportCommandTrace(_0x464a57){const _0x7ec894=a164_0x5919;try{const _0x53c9b8=sanitizeFlags(_0x464a57[_0x7ec894(0x1e1)]);await sendCliTraceLog({'spanName':_0x7ec894(0x1e7),'logData':{'command.cli_version':getCliVersion(),'command.service':_0x464a57[_0x7ec894(0x1db)],'command.name':_0x464a57[_0x7ec894(0x1e2)],'command.flags':JSON[_0x7ec894(0x1e5)](_0x53c9b8),..._0x464a57[_0x7ec894(0x1e0)]!=null?{'command.duration_ms':_0x464a57[_0x7ec894(0x1e0)]}:{},..._0x464a57[_0x7ec894(0x1e3)]?{'command.error':_0x464a57[_0x7ec894(0x1e3)]instanceof Error?_0x464a57['error']['message']:String(_0x464a57['error'])}:{}}});}catch{}}
1
+ function a164_0x3f0b(_0x2fa560,_0x12342a){_0x2fa560=_0x2fa560-0xa6;const _0x5dfa46=a164_0x5dfa();let _0x3f0b6a=_0x5dfa46[_0x2fa560];return _0x3f0b6a;}(function(_0x5c0a72,_0x1a13fe){const _0x2cdb24=a164_0x3f0b,_0x34e7e9=_0x5c0a72();while(!![]){try{const _0x48157f=parseInt(_0x2cdb24(0xaa))/0x1*(parseInt(_0x2cdb24(0xa6))/0x2)+parseInt(_0x2cdb24(0xad))/0x3+parseInt(_0x2cdb24(0xa8))/0x4+-parseInt(_0x2cdb24(0xb1))/0x5+parseInt(_0x2cdb24(0xb3))/0x6*(parseInt(_0x2cdb24(0xb4))/0x7)+-parseInt(_0x2cdb24(0xac))/0x8+-parseInt(_0x2cdb24(0xaf))/0x9;if(_0x48157f===_0x1a13fe)break;else _0x34e7e9['push'](_0x34e7e9['shift']());}catch(_0x7766df){_0x34e7e9['push'](_0x34e7e9['shift']());}}}(a164_0x5dfa,0x4c633));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';import{getCliVersion}from'../utils/version.js';function a164_0x5dfa(){const _0x5a78e4=['service','5964183VJWCTo','entries','2307900vsyYmD','error','25206xKPznj','539utbyIx','command','message','stringify','6tkseMe','durationMs','2421180qtwzFS','[REDACTED]','169891DdSjOe','rabetbase.command','457952RyeIhg','167847FXsVSp'];a164_0x5dfa=function(){return _0x5a78e4;};return a164_0x5dfa();}const SENSITIVE_PATTERNS=[/cookie/i,/token/i,/password/i,/passwd/i,/secret/i,/auth/i,/session/i,/credential/i];function isSensitiveKey(_0x4fc9db){return SENSITIVE_PATTERNS['some'](_0x2b02ce=>_0x2b02ce['test'](_0x4fc9db));}function sanitizeFlags(_0x3ec08a){const _0xeaa001=a164_0x3f0b,_0x4e77e2={};for(const [_0xfa0b2c,_0x3f5d3b]of Object[_0xeaa001(0xb0)](_0x3ec08a)){isSensitiveKey(_0xfa0b2c)?_0x4e77e2[_0xfa0b2c]=_0x3f5d3b!=null&&_0x3f5d3b!==''?_0xeaa001(0xa9):_0x3f5d3b:_0x4e77e2[_0xfa0b2c]=_0x3f5d3b;}return _0x4e77e2;}export async function reportCommandTrace(_0x2c826c){const _0x198330=a164_0x3f0b;try{const _0x5e8bc5=sanitizeFlags(_0x2c826c['flags']);await sendCliTraceLog({'spanName':_0x198330(0xab),'logData':{'command.cli_version':getCliVersion(),'command.service':_0x2c826c[_0x198330(0xae)],'command.name':_0x2c826c[_0x198330(0xb5)],'command.flags':JSON[_0x198330(0xb7)](_0x5e8bc5),..._0x2c826c[_0x198330(0xa7)]!=null?{'command.duration_ms':_0x2c826c[_0x198330(0xa7)]}:{},..._0x2c826c['error']?{'command.error':_0x2c826c[_0x198330(0xb2)]instanceof Error?_0x2c826c['error'][_0x198330(0xb6)]:String(_0x2c826c['error'])}:{}}});}catch{}}
@@ -1 +1 @@
1
- (function(_0x2fb5ca,_0x33fc39){var _0x4bc0b8=a165_0x5967,_0x1556bd=_0x2fb5ca();while(!![]){try{var _0x6b389c=-parseInt(_0x4bc0b8(0x75))/0x1+-parseInt(_0x4bc0b8(0x76))/0x2*(-parseInt(_0x4bc0b8(0x6e))/0x3)+parseInt(_0x4bc0b8(0x6b))/0x4+-parseInt(_0x4bc0b8(0x72))/0x5*(parseInt(_0x4bc0b8(0x78))/0x6)+-parseInt(_0x4bc0b8(0x6c))/0x7*(-parseInt(_0x4bc0b8(0x74))/0x8)+parseInt(_0x4bc0b8(0x79))/0x9*(-parseInt(_0x4bc0b8(0x71))/0xa)+parseInt(_0x4bc0b8(0x73))/0xb*(parseInt(_0x4bc0b8(0x6f))/0xc);if(_0x6b389c===_0x33fc39)break;else _0x1556bd['push'](_0x1556bd['shift']());}catch(_0x579b1a){_0x1556bd['push'](_0x1556bd['shift']());}}}(a165_0x411f,0x61b89));function a165_0x5967(_0x58624c,_0x3bb52d){_0x58624c=_0x58624c-0x6b;var _0x411f7a=a165_0x411f();var _0x5967f0=_0x411f7a[_0x58624c];return _0x5967f0;}import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export async function reportCliHelpTrace(_0x49e467,_0x1301b9){var _0x23fa9d=a165_0x5967;try{await sendCliTraceLog({'spanName':_0x23fa9d(0x70),'logData':{'rabetbase.help.kind':_0x49e467,..._0x1301b9?.['service']&&{'rabetbase.help.service':_0x1301b9[_0x23fa9d(0x6d)]}}});}catch(_0x4dbcca){console[_0x23fa9d(0x77)]('Failed\x20to\x20report\x20CLI\x20help\x20trace:',_0x4dbcca);}}function a165_0x411f(){var _0x3d421d=['42835Webgfa','8531204lqMVQm','2046488gNkRSh','601914KXdhFt','407534cYlFOs','error','366AWUlMm','2367xIvoLF','1868596HiqsmQ','7UBQeon','service','3oxXsaK','12UhjTOG','cli.help','6750wXlmsw'];a165_0x411f=function(){return _0x3d421d;};return a165_0x411f();}
1
+ (function(_0x2cf79b,_0x1ff5ab){var _0x411b6d=a165_0x32e0,_0x3073a6=_0x2cf79b();while(!![]){try{var _0x13b2c1=-parseInt(_0x411b6d(0x70))/0x1*(-parseInt(_0x411b6d(0x65))/0x2)+-parseInt(_0x411b6d(0x6e))/0x3*(parseInt(_0x411b6d(0x66))/0x4)+parseInt(_0x411b6d(0x6c))/0x5+parseInt(_0x411b6d(0x67))/0x6+parseInt(_0x411b6d(0x71))/0x7+parseInt(_0x411b6d(0x6d))/0x8*(-parseInt(_0x411b6d(0x68))/0x9)+parseInt(_0x411b6d(0x6f))/0xa;if(_0x13b2c1===_0x1ff5ab)break;else _0x3073a6['push'](_0x3073a6['shift']());}catch(_0x39e610){_0x3073a6['push'](_0x3073a6['shift']());}}}(a165_0x1f43,0xcc380));function a165_0x1f43(){var _0x50c3ff=['service','Failed\x20to\x20report\x20CLI\x20help\x20trace:','2710250YEWJeA','5873312slQOpp','3hkOUUR','5850970tkEkKM','637073QprBCH','1065862IBDGPV','2Xtwgma','3314324ZXDifm','2896434igDtwl','9vvSFtW','error'];a165_0x1f43=function(){return _0x50c3ff;};return a165_0x1f43();}function a165_0x32e0(_0x4dcf67,_0x3023df){_0x4dcf67=_0x4dcf67-0x65;var _0x1f43cd=a165_0x1f43();var _0x32e03b=_0x1f43cd[_0x4dcf67];return _0x32e03b;}import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export async function reportCliHelpTrace(_0x4c8644,_0x33a79e){var _0x359b4a=a165_0x32e0;try{await sendCliTraceLog({'spanName':'cli.help','logData':{'rabetbase.help.kind':_0x4c8644,..._0x33a79e?.['service']&&{'rabetbase.help.service':_0x33a79e[_0x359b4a(0x6a)]}}});}catch(_0x3e4f99){console[_0x359b4a(0x69)](_0x359b4a(0x6b),_0x3e4f99);}}
@@ -1 +1 @@
1
- function a166_0x117f(){const _0x5b3228=['rabetbase-cli','user','unknown','4768730IIPFAm','74130snAtox','7jbSzaX','4412304vGsVUy','1836yXzVqk','843994TYUoWj','3024564ONIkQw','username','1035ROAkXY','79266AulYFT','8zAcckZ','production','daily','nickname','11068GDXYnR','userInfo','3gVNqLU'];a166_0x117f=function(){return _0x5b3228;};return a166_0x117f();}(function(_0x365dc2,_0x4113a3){const _0x31778d=a166_0x293b,_0x5ec500=_0x365dc2();while(!![]){try{const _0x303540=parseInt(_0x31778d(0x1b3))/0x1+-parseInt(_0x31778d(0x1b7))/0x2*(-parseInt(_0x31778d(0x1c2))/0x3)+parseInt(_0x31778d(0x1c0))/0x4*(-parseInt(_0x31778d(0x1ba))/0x5)+-parseInt(_0x31778d(0x1b8))/0x6*(-parseInt(_0x31778d(0x1b4))/0x7)+parseInt(_0x31778d(0x1bc))/0x8*(parseInt(_0x31778d(0x1b5))/0x9)+parseInt(_0x31778d(0x1c6))/0xa+-parseInt(_0x31778d(0x1bb))/0xb*(parseInt(_0x31778d(0x1b6))/0xc);if(_0x303540===_0x4113a3)break;else _0x5ec500['push'](_0x5ec500['shift']());}catch(_0x11a31a){_0x5ec500['push'](_0x5ec500['shift']());}}}(a166_0x117f,0x474df));import a166_0x420501 from'node:os';import{VERSION,GIT_COMMIT}from'../generated/build-info.js';import{getSessionUserInfo}from'../auth/get-session-user.js';function a166_0x293b(_0x5d89ca,_0x5af790){_0x5d89ca=_0x5d89ca-0x1b3;const _0x117fc8=a166_0x117f();let _0x293b1e=_0x117fc8[_0x5d89ca];return _0x293b1e;}import{setTraceConfig,getOtelLoggerVersion}from'@lovrabet/otel-logger';import{NPM_PACKAGE_NAME}from'../constant/cli.js';let cliOtelTraceInitialized=![];export async function ensureCliOtelTraceConfig(){const _0xabff66=a166_0x293b,_0x3b138d=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x4461c6=_0x3b138d?.[_0xabff66(0x1c4)];setTraceConfig({'otelLoggerVersion':getOtelLoggerVersion(),'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!==_0xabff66(0x1c5)?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?_0xabff66(0x1be):_0xabff66(0x1bd)),'username':_0x4461c6?.[_0xabff66(0x1b9)]??a166_0x420501[_0xabff66(0x1c1)]()[_0xabff66(0x1b9)]??_0xabff66(0x1c3),..._0x4461c6&&{'nickname':_0x4461c6[_0xabff66(0x1bf)]}}),cliOtelTraceInitialized=!![];}return _0x3b138d;}
1
+ function a166_0x4c00(_0x5d9edd,_0x11d9ac){_0x5d9edd=_0x5d9edd-0x9e;const _0xd822e1=a166_0xd822();let _0x4c0085=_0xd822e1[_0x5d9edd];return _0x4c0085;}(function(_0x34a165,_0x1649c1){const _0x3bebbf=a166_0x4c00,_0x52310e=_0x34a165();while(!![]){try{const _0xf21ff0=parseInt(_0x3bebbf(0xa3))/0x1+parseInt(_0x3bebbf(0x9e))/0x2*(parseInt(_0x3bebbf(0xaf))/0x3)+-parseInt(_0x3bebbf(0xa8))/0x4*(parseInt(_0x3bebbf(0xab))/0x5)+-parseInt(_0x3bebbf(0xa9))/0x6*(-parseInt(_0x3bebbf(0xad))/0x7)+parseInt(_0x3bebbf(0xae))/0x8+-parseInt(_0x3bebbf(0xa6))/0x9*(-parseInt(_0x3bebbf(0xa5))/0xa)+-parseInt(_0x3bebbf(0xa7))/0xb;if(_0xf21ff0===_0x1649c1)break;else _0x52310e['push'](_0x52310e['shift']());}catch(_0x48ced5){_0x52310e['push'](_0x52310e['shift']());}}}(a166_0xd822,0x96c0f));import a166_0x26782f from'node:os';import{VERSION,GIT_COMMIT}from'../generated/build-info.js';import{getSessionUserInfo}from'../auth/get-session-user.js';import{setTraceConfig,getOtelLoggerVersion}from'@lovrabet/otel-logger';import{NPM_PACKAGE_NAME}from'../constant/cli.js';let cliOtelTraceInitialized=![];export async function ensureCliOtelTraceConfig(){const _0x3df106=a166_0x4c00,_0x2ec025=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x149dea=_0x2ec025?.[_0x3df106(0xa1)];setTraceConfig({'otelLoggerVersion':getOtelLoggerVersion(),'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!==_0x3df106(0xa2)?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?_0x3df106(0x9f):_0x3df106(0xa0)),'username':_0x149dea?.[_0x3df106(0xaa)]??a166_0x26782f[_0x3df106(0xa4)]()['username']??_0x3df106(0xac),..._0x149dea&&{'nickname':_0x149dea['nickname']}}),cliOtelTraceInitialized=!![];}return _0x2ec025;}function a166_0xd822(){const _0x3aa17e=['384518PFamsp','userInfo','7030PcuzlP','1314bqhkzk','21345346oLPtnm','8aEmCJK','18izwtas','username','1653585vnnhdl','rabetbase-cli','2779049PXMCMo','7756312fapmyI','57dSTVNW','60178nenaiZ','daily','production','user','unknown'];a166_0xd822=function(){return _0x3aa17e;};return a166_0xd822();}
@@ -1 +1 @@
1
- (function(_0x309dc6,_0x414518){const _0x101c28=a167_0x3f13,_0x51b34e=_0x309dc6();while(!![]){try{const _0x390819=parseInt(_0x101c28(0x1ac))/0x1+-parseInt(_0x101c28(0x1ad))/0x2*(parseInt(_0x101c28(0x1b2))/0x3)+parseInt(_0x101c28(0x1ae))/0x4+-parseInt(_0x101c28(0x1b6))/0x5+-parseInt(_0x101c28(0x1b5))/0x6+-parseInt(_0x101c28(0x1b7))/0x7*(parseInt(_0x101c28(0x1b4))/0x8)+-parseInt(_0x101c28(0x1b0))/0x9*(-parseInt(_0x101c28(0x1b1))/0xa);if(_0x390819===_0x414518)break;else _0x51b34e['push'](_0x51b34e['shift']());}catch(_0x59c144){_0x51b34e['push'](_0x51b34e['shift']());}}}(a167_0x3d4a,0xd8b83));import{shutdownTraces}from'@lovrabet/otel-logger';let shutdownPromise=null;export async function flushOtelNodeIfUsed(){if(shutdownPromise)return shutdownPromise;return shutdownPromise=((async()=>{try{await shutdownTraces();}catch{}})()),shutdownPromise;}export function registerOtelShutdownOnExit(){const _0x35f049=a167_0x3f13;process[_0x35f049(0x1b3)](_0x35f049(0x1ab),()=>{void flushOtelNodeIfUsed();});const _0x31836a=()=>{void flushOtelNodeIfUsed()['then'](()=>process['exit'](0x0));};process[_0x35f049(0x1b3)]('SIGINT',_0x31836a),process[_0x35f049(0x1b3)]('SIGTERM',_0x31836a);}function a167_0x3f13(_0x5ebf2c,_0x12e83b){_0x5ebf2c=_0x5ebf2c-0x1ab;const _0x3d4add=a167_0x3d4a();let _0x3f13eb=_0x3d4add[_0x5ebf2c];return _0x3f13eb;}function a167_0x3d4a(){const _0x3373d3=['5275364cLBlHF','exit','11142ESltvx','1310dKxtVk','62346IymfOZ','once','224NKrUba','2834706EJlFyt','5974835CEsdTa','79709OerYGP','beforeExit','1413700GQbkPF','2seMeaY'];a167_0x3d4a=function(){return _0x3373d3;};return a167_0x3d4a();}export async function exitWithOtelShutdown(_0xc43b95){const _0x1aeeb4=a167_0x3f13;await flushOtelNodeIfUsed(),process[_0x1aeeb4(0x1af)](_0xc43b95);}
1
+ (function(_0x1cbfca,_0xd6b624){const _0x3bab4c=a167_0x4eef,_0x237780=_0x1cbfca();while(!![]){try{const _0x1fbcc3=parseInt(_0x3bab4c(0x1c4))/0x1*(-parseInt(_0x3bab4c(0x1ba))/0x2)+-parseInt(_0x3bab4c(0x1c2))/0x3*(parseInt(_0x3bab4c(0x1c7))/0x4)+-parseInt(_0x3bab4c(0x1bd))/0x5+-parseInt(_0x3bab4c(0x1bf))/0x6+-parseInt(_0x3bab4c(0x1c1))/0x7+parseInt(_0x3bab4c(0x1c8))/0x8*(parseInt(_0x3bab4c(0x1be))/0x9)+parseInt(_0x3bab4c(0x1bb))/0xa;if(_0x1fbcc3===_0xd6b624)break;else _0x237780['push'](_0x237780['shift']());}catch(_0x39c751){_0x237780['push'](_0x237780['shift']());}}}(a167_0x2f17,0x4fdd8));function a167_0x4eef(_0x37fd93,_0x33890d){_0x37fd93=_0x37fd93-0x1ba;const _0x2f1760=a167_0x2f17();let _0x4eefd8=_0x2f1760[_0x37fd93];return _0x4eefd8;}import{shutdownTraces}from'@lovrabet/otel-logger';function a167_0x2f17(){const _0x154bdb=['2685501XvPzyO','12DAABqr','exit','2157GtFlXp','SIGTERM','SIGINT','648548llZYGA','670424yZcmEC','234VKneWP','17296250kKtjQn','once','1145395xwZvhx','27xHdjkV','841602ItPISE','then'];a167_0x2f17=function(){return _0x154bdb;};return a167_0x2f17();}let shutdownPromise=null;export async function flushOtelNodeIfUsed(){if(shutdownPromise)return shutdownPromise;return shutdownPromise=((async()=>{try{await shutdownTraces();}catch{}})()),shutdownPromise;}export function registerOtelShutdownOnExit(){const _0x233a39=a167_0x4eef;process[_0x233a39(0x1bc)]('beforeExit',()=>{void flushOtelNodeIfUsed();});const _0x4f80c7=()=>{const _0x505480=_0x233a39;void flushOtelNodeIfUsed()[_0x505480(0x1c0)](()=>process[_0x505480(0x1c3)](0x0));};process['once'](_0x233a39(0x1c6),_0x4f80c7),process[_0x233a39(0x1bc)](_0x233a39(0x1c5),_0x4f80c7);}export async function exitWithOtelShutdown(_0x24cc60){const _0x48191d=a167_0x4eef;await flushOtelNodeIfUsed(),process[_0x48191d(0x1c3)](_0x24cc60);}
@@ -1 +1 @@
1
- function a168_0x5034(_0xfa19d5,_0x1bf8da){_0xfa19d5=_0xfa19d5-0x137;const _0x5bf139=a168_0x5bf1();let _0x50340d=_0x5bf139[_0xfa19d5];return _0x50340d;}const a168_0x25c02f=a168_0x5034;function a168_0x5bf1(){const _0x37cbc5=['11143OSAang','rabetbase-cli','140658BjXiUl','39RTTwXS','14424smEFWy','1559178QYHFoS','traceName','61976gvAlnE','version','7FOCDih','2410SeiMRh','logData','spanName','manual','2010784dfBCTr','61396PhgQqJ','455qfSUTM'];a168_0x5bf1=function(){return _0x37cbc5;};return a168_0x5bf1();}(function(_0x2aa26b,_0x38ec6e){const _0x4faaa8=a168_0x5034,_0x176788=_0x2aa26b();while(!![]){try{const _0x328848=parseInt(_0x4faaa8(0x13e))/0x1*(parseInt(_0x4faaa8(0x13c))/0x2)+parseInt(_0x4faaa8(0x138))/0x3*(-parseInt(_0x4faaa8(0x144))/0x4)+-parseInt(_0x4faaa8(0x145))/0x5*(parseInt(_0x4faaa8(0x139))/0x6)+parseInt(_0x4faaa8(0x137))/0x7+parseInt(_0x4faaa8(0x143))/0x8+-parseInt(_0x4faaa8(0x13a))/0x9+-parseInt(_0x4faaa8(0x13f))/0xa*(-parseInt(_0x4faaa8(0x146))/0xb);if(_0x328848===_0x38ec6e)break;else _0x176788['push'](_0x176788['shift']());}catch(_0x3bf567){_0x176788['push'](_0x176788['shift']());}}}(a168_0x5bf1,0x22694));import{sendTraceLog}from'@lovrabet/otel-logger';import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';import{getCliVersion}from'../utils/version.js';const DEFAULT_TRACE_NAME=a168_0x25c02f(0x147);export async function sendCliTraceLog(_0x284bf3){const _0x835428=a168_0x25c02f;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x284bf3[_0x835428(0x13b)]??DEFAULT_TRACE_NAME,'version':_0x284bf3[_0x835428(0x13d)]??getCliVersion(),'spanName':_0x284bf3[_0x835428(0x141)],'eventType':_0x835428(0x142),'logData':_0x284bf3[_0x835428(0x140)],..._0x284bf3['traceparent']&&{'traceparent':_0x284bf3['traceparent']}});}
1
+ function a168_0x296d(_0xfc1ef6,_0x294d7d){_0xfc1ef6=_0xfc1ef6-0x8c;const _0x1ca2b0=a168_0x1ca2();let _0x296dbb=_0x1ca2b0[_0xfc1ef6];return _0x296dbb;}function a168_0x1ca2(){const _0x42eb4e=['3520027sPVexE','117927XgxypI','323630EeAcBS','version','6917383QUzUsT','2fCRrKp','28400VtoVza','2174855Eooxcc','6sZmOpe','traceparent','450AdPrRS','50586nDkgTb','manual','4qwwXex','logData','spanName','12Lwayzs','rabetbase-cli'];a168_0x1ca2=function(){return _0x42eb4e;};return a168_0x1ca2();}const a168_0x5e4947=a168_0x296d;(function(_0x2bdcba,_0x3f70e0){const _0x4c6330=a168_0x296d,_0x430529=_0x2bdcba();while(!![]){try{const _0x1974c4=parseInt(_0x4c6330(0x9a))/0x1+parseInt(_0x4c6330(0x9d))/0x2*(parseInt(_0x4c6330(0x91))/0x3)+-parseInt(_0x4c6330(0x93))/0x4*(parseInt(_0x4c6330(0x8d))/0x5)+-parseInt(_0x4c6330(0x8e))/0x6*(-parseInt(_0x4c6330(0x98))/0x7)+parseInt(_0x4c6330(0x8c))/0x8+parseInt(_0x4c6330(0x99))/0x9*(-parseInt(_0x4c6330(0x90))/0xa)+parseInt(_0x4c6330(0x9c))/0xb*(parseInt(_0x4c6330(0x96))/0xc);if(_0x1974c4===_0x3f70e0)break;else _0x430529['push'](_0x430529['shift']());}catch(_0x220422){_0x430529['push'](_0x430529['shift']());}}}(a168_0x1ca2,0x6e24e));import{sendTraceLog}from'@lovrabet/otel-logger';import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';import{getCliVersion}from'../utils/version.js';const DEFAULT_TRACE_NAME=a168_0x5e4947(0x97);export async function sendCliTraceLog(_0x134ea0){const _0x12f14c=a168_0x5e4947;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x134ea0['traceName']??DEFAULT_TRACE_NAME,'version':_0x134ea0[_0x12f14c(0x9b)]??getCliVersion(),'spanName':_0x134ea0[_0x12f14c(0x95)],'eventType':_0x12f14c(0x92),'logData':_0x134ea0[_0x12f14c(0x94)],..._0x134ea0[_0x12f14c(0x8f)]&&{'traceparent':_0x134ea0[_0x12f14c(0x8f)]}});}
@@ -1 +1 @@
1
- const a170_0x23a445=a170_0x19d9;(function(_0x3142c6,_0x3a5405){const _0x248506=a170_0x19d9,_0x89582a=_0x3142c6();while(!![]){try{const _0x32079a=-parseInt(_0x248506(0x1a9))/0x1+-parseInt(_0x248506(0x197))/0x2+-parseInt(_0x248506(0x196))/0x3*(-parseInt(_0x248506(0x1aa))/0x4)+-parseInt(_0x248506(0x1be))/0x5+-parseInt(_0x248506(0x1bd))/0x6*(parseInt(_0x248506(0x1c3))/0x7)+parseInt(_0x248506(0x19a))/0x8+parseInt(_0x248506(0x1ad))/0x9;if(_0x32079a===_0x3a5405)break;else _0x89582a['push'](_0x89582a['shift']());}catch(_0x1d1ade){_0x89582a['push'](_0x89582a['shift']());}}}(a170_0x599e,0xaf974));export const CORE_IDE_CONFIGS={'cursor':{'name':a170_0x23a445(0x1a3),'description':a170_0x23a445(0x19b),'folders':['.cursorrules',a170_0x23a445(0x1b6)],'files':[{'type':a170_0x23a445(0x1c2),'path':a170_0x23a445(0x1c7),'template':a170_0x23a445(0x1ae)}]},'windsurf':{'name':a170_0x23a445(0x1ac),'description':a170_0x23a445(0x1b0),'folders':[a170_0x23a445(0x1cb)],'files':[{'type':a170_0x23a445(0x1c2),'path':a170_0x23a445(0x1ba),'template':'SKILL.md.tpl'}]},'claude':{'name':'Claude\x20Code','description':a170_0x23a445(0x193),'folders':['.claude'],'files':[{'type':a170_0x23a445(0x1c2),'path':a170_0x23a445(0x19f),'template':'SKILL.md.tpl'}]},'cline':{'name':'Cline','description':a170_0x23a445(0x1b3),'folders':[a170_0x23a445(0x1ab)],'files':[{'type':a170_0x23a445(0x1c2),'path':a170_0x23a445(0x190),'template':a170_0x23a445(0x1ae)}]},'codex':{'name':a170_0x23a445(0x1a0),'description':a170_0x23a445(0x1ca),'folders':[a170_0x23a445(0x194)],'files':[{'type':a170_0x23a445(0x1c2),'path':a170_0x23a445(0x1a8),'template':a170_0x23a445(0x1ae)}]},'opencode':{'name':a170_0x23a445(0x1b1),'description':a170_0x23a445(0x1c9),'folders':[a170_0x23a445(0x1c8)],'files':[{'type':a170_0x23a445(0x1c2),'path':a170_0x23a445(0x1b4),'template':a170_0x23a445(0x1ae)}]},'qoder':{'name':a170_0x23a445(0x19c),'description':a170_0x23a445(0x1a2),'folders':['.qoder'],'files':[{'type':'file','path':'.qoder/rules/rabetbase.md','template':a170_0x23a445(0x1ae)},{'type':a170_0x23a445(0x1c2),'path':a170_0x23a445(0x1bb),'template':a170_0x23a445(0x1ae)}]},'codebuddy':{'name':a170_0x23a445(0x1af),'description':a170_0x23a445(0x1a7),'folders':[a170_0x23a445(0x1c1)],'files':[{'type':a170_0x23a445(0x1c2),'path':a170_0x23a445(0x1b8),'template':a170_0x23a445(0x1ae)}]},'trae':{'name':a170_0x23a445(0x1c5),'description':a170_0x23a445(0x1a1),'folders':[a170_0x23a445(0x198)],'files':[{'type':a170_0x23a445(0x1c2),'path':a170_0x23a445(0x191),'template':a170_0x23a445(0x1ae)}]}};function a170_0x599e(){const _0x2b8c78=['Qoder\x20IDE','Cursor','opencode','codebuddy','windsurf','CodeBuddy\x20IDE','.codex/skills/lovrabet/SKILL.md','933571OVhhPG','1968rBsxnZ','.cline','Windsurf','10442781MLnJnT','SKILL.md.tpl','CodeBuddy','Windsurf\x20IDE','OpenCode','Antigravity\x20IDE','Cline\x20IDE','.opencode/skills/lovrabet/SKILL.md','Antigravity','.cursor','qoder','.codebuddy/skills/lovrabet/SKILL.md','.agent/skills/lovrabet/SKILL.md','.windsurf/workflows/rabetbase.md','.qoder/skills/lovrabet/SKILL.md','cline','72iKwYay','1073765kAMRvE','claude','antigravity','.codebuddy','file','746151MdHkpj','codex','Trae','cursor','.cursor/skills/rabetbase.md','.opencode','OpenCode\x20IDE','Codex\x20IDE','.windsurf','.cline/skills/lovrabet/SKILL.md','.trae/skills/lovrabet/SKILL.md','.agent','Claude\x20Code','.codex','其他\x20(通用模板)','6345yPXsAa','630252QCPoOQ','.trae','通用模板\x20-\x20兜底方案','10087176ijjJDz','Cursor\x20IDE','Qoder','agent','trae','.claude/skills/lovrabet/SKILL.md','Codex','Trae\x20IDE'];a170_0x599e=function(){return _0x2b8c78;};return a170_0x599e();}function a170_0x19d9(_0x2cc45f,_0x227b08){_0x2cc45f=_0x2cc45f-0x190;const _0x599e1c=a170_0x599e();let _0x19d9f8=_0x599e1c[_0x2cc45f];return _0x19d9f8;}export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':a170_0x23a445(0x195),'description':a170_0x23a445(0x199),'folders':['.agent'],'files':[{'type':a170_0x23a445(0x1c2),'path':a170_0x23a445(0x1b9),'template':'SKILL.md.tpl'}]},'antigravity':{'name':a170_0x23a445(0x1b5),'description':a170_0x23a445(0x1b2),'folders':[a170_0x23a445(0x192)],'files':[{'type':a170_0x23a445(0x1c2),'path':a170_0x23a445(0x1b9),'template':a170_0x23a445(0x1ae)}]}};export const CORE_IDE_LIST=['claude',a170_0x23a445(0x1bc),a170_0x23a445(0x1a5),a170_0x23a445(0x1c4),a170_0x23a445(0x1c6),'opencode',a170_0x23a445(0x1b7),'trae','windsurf'];export const IDE_LIST=[a170_0x23a445(0x1c0),a170_0x23a445(0x1bf),'cline',a170_0x23a445(0x1a5),a170_0x23a445(0x1c4),'cursor',a170_0x23a445(0x1a4),a170_0x23a445(0x1b7),a170_0x23a445(0x19e),a170_0x23a445(0x1a6),a170_0x23a445(0x19d)];export const ALL_CORE_IDES=[a170_0x23a445(0x1c6),a170_0x23a445(0x1a6),a170_0x23a445(0x1bf),a170_0x23a445(0x1bc),a170_0x23a445(0x1c4),a170_0x23a445(0x1a4),'qoder','codebuddy',a170_0x23a445(0x19e)];
1
+ const a170_0x46b844=a170_0xf01e;(function(_0xcda0df,_0x127729){const _0x3b839e=a170_0xf01e,_0x172853=_0xcda0df();while(!![]){try{const _0x3ec20b=-parseInt(_0x3b839e(0x131))/0x1+-parseInt(_0x3b839e(0x130))/0x2+parseInt(_0x3b839e(0x137))/0x3*(-parseInt(_0x3b839e(0x14b))/0x4)+-parseInt(_0x3b839e(0x14f))/0x5*(parseInt(_0x3b839e(0x154))/0x6)+-parseInt(_0x3b839e(0x145))/0x7+-parseInt(_0x3b839e(0x136))/0x8+parseInt(_0x3b839e(0x13a))/0x9;if(_0x3ec20b===_0x127729)break;else _0x172853['push'](_0x172853['shift']());}catch(_0x133160){_0x172853['push'](_0x172853['shift']());}}}(a170_0x5197,0xa6899));export const CORE_IDE_CONFIGS={'cursor':{'name':a170_0x46b844(0x138),'description':a170_0x46b844(0x162),'folders':[a170_0x46b844(0x15a),'.cursor'],'files':[{'type':'file','path':a170_0x46b844(0x146),'template':a170_0x46b844(0x149)}]},'windsurf':{'name':a170_0x46b844(0x153),'description':a170_0x46b844(0x152),'folders':[a170_0x46b844(0x14a)],'files':[{'type':a170_0x46b844(0x147),'path':a170_0x46b844(0x165),'template':'SKILL.md.tpl'}]},'claude':{'name':a170_0x46b844(0x134),'description':a170_0x46b844(0x134),'folders':['.claude'],'files':[{'type':a170_0x46b844(0x147),'path':a170_0x46b844(0x159),'template':a170_0x46b844(0x149)}]},'cline':{'name':a170_0x46b844(0x13d),'description':a170_0x46b844(0x14c),'folders':['.cline'],'files':[{'type':a170_0x46b844(0x147),'path':a170_0x46b844(0x15b),'template':a170_0x46b844(0x149)}]},'codex':{'name':a170_0x46b844(0x139),'description':'Codex\x20IDE','folders':[a170_0x46b844(0x15e)],'files':[{'type':a170_0x46b844(0x147),'path':'.codex/skills/lovrabet/SKILL.md','template':a170_0x46b844(0x149)}]},'opencode':{'name':a170_0x46b844(0x150),'description':a170_0x46b844(0x12f),'folders':[a170_0x46b844(0x161)],'files':[{'type':a170_0x46b844(0x147),'path':a170_0x46b844(0x133),'template':a170_0x46b844(0x149)}]},'qoder':{'name':a170_0x46b844(0x13b),'description':a170_0x46b844(0x158),'folders':[a170_0x46b844(0x151)],'files':[{'type':a170_0x46b844(0x147),'path':'.qoder/rules/rabetbase.md','template':'SKILL.md.tpl'},{'type':a170_0x46b844(0x147),'path':a170_0x46b844(0x15c),'template':a170_0x46b844(0x149)}]},'codebuddy':{'name':'CodeBuddy','description':a170_0x46b844(0x132),'folders':['.codebuddy'],'files':[{'type':a170_0x46b844(0x147),'path':a170_0x46b844(0x144),'template':a170_0x46b844(0x149)}]},'trae':{'name':'Trae','description':a170_0x46b844(0x148),'folders':[a170_0x46b844(0x143)],'files':[{'type':a170_0x46b844(0x147),'path':a170_0x46b844(0x14d),'template':a170_0x46b844(0x149)}]}};export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':a170_0x46b844(0x135),'description':a170_0x46b844(0x157),'folders':[a170_0x46b844(0x140)],'files':[{'type':'file','path':a170_0x46b844(0x13f),'template':a170_0x46b844(0x149)}]},'antigravity':{'name':a170_0x46b844(0x156),'description':'Antigravity\x20IDE','folders':[a170_0x46b844(0x140)],'files':[{'type':a170_0x46b844(0x147),'path':'.agent/skills/lovrabet/SKILL.md','template':a170_0x46b844(0x149)}]}};export const CORE_IDE_LIST=[a170_0x46b844(0x160),a170_0x46b844(0x13c),a170_0x46b844(0x164),a170_0x46b844(0x15d),a170_0x46b844(0x13e),'opencode','qoder',a170_0x46b844(0x163),a170_0x46b844(0x142)];export const IDE_LIST=[a170_0x46b844(0x141),'claude','cline',a170_0x46b844(0x164),a170_0x46b844(0x15d),a170_0x46b844(0x13e),a170_0x46b844(0x15f),a170_0x46b844(0x155),a170_0x46b844(0x163),a170_0x46b844(0x142),a170_0x46b844(0x14e)];function a170_0xf01e(_0x169f50,_0x32a80d){_0x169f50=_0x169f50-0x12f;const _0x51978c=a170_0x5197();let _0xf01e68=_0x51978c[_0x169f50];return _0xf01e68;}export const ALL_CORE_IDES=[a170_0x46b844(0x13e),a170_0x46b844(0x142),a170_0x46b844(0x160),a170_0x46b844(0x13c),a170_0x46b844(0x15d),'opencode',a170_0x46b844(0x155),a170_0x46b844(0x164),a170_0x46b844(0x163)];function a170_0x5197(){const _0x33abd4=['.opencode/skills/lovrabet/SKILL.md','Claude\x20Code','其他\x20(通用模板)','1248680YOSKHL','23985SHMVlu','Cursor','Codex','29907333BonSUJ','Qoder','cline','Cline','cursor','.agent/skills/lovrabet/SKILL.md','.agent','antigravity','windsurf','.trae','.codebuddy/skills/lovrabet/SKILL.md','1487836TunCsF','.cursor/skills/rabetbase.md','file','Trae\x20IDE','SKILL.md.tpl','.windsurf','40rFMUmd','Cline\x20IDE','.trae/skills/lovrabet/SKILL.md','agent','20pcVonV','OpenCode','.qoder','Windsurf\x20IDE','Windsurf','568980PeaVLv','qoder','Antigravity','通用模板\x20-\x20兜底方案','Qoder\x20IDE','.claude/skills/lovrabet/SKILL.md','.cursorrules','.cline/skills/lovrabet/SKILL.md','.qoder/skills/lovrabet/SKILL.md','codex','.codex','opencode','claude','.opencode','Cursor\x20IDE','trae','codebuddy','.windsurf/workflows/rabetbase.md','OpenCode\x20IDE','2489740velbFe','568127YTEHVc','CodeBuddy\x20IDE'];a170_0x5197=function(){return _0x33abd4;};return a170_0x5197();}
@@ -1 +1 @@
1
- (function(_0x192f95,_0x359a6f){const _0x32bd85=a171_0x34c2,_0x3fc922=_0x192f95();while(!![]){try{const _0x356ea1=parseInt(_0x32bd85(0x71))/0x1*(parseInt(_0x32bd85(0x70))/0x2)+parseInt(_0x32bd85(0x6c))/0x3*(parseInt(_0x32bd85(0x74))/0x4)+parseInt(_0x32bd85(0x6f))/0x5*(-parseInt(_0x32bd85(0x72))/0x6)+-parseInt(_0x32bd85(0x6b))/0x7+parseInt(_0x32bd85(0x6a))/0x8+parseInt(_0x32bd85(0x73))/0x9+parseInt(_0x32bd85(0x6d))/0xa*(parseInt(_0x32bd85(0x6e))/0xb);if(_0x356ea1===_0x359a6f)break;else _0x3fc922['push'](_0x3fc922['shift']());}catch(_0x592676){_0x3fc922['push'](_0x3fc922['shift']());}}}(a171_0x29d5,0x1ec6d));import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a171_0x34c2(_0x421689,_0x1b5de3){_0x421689=_0x421689-0x6a;const _0x29d59d=a171_0x29d5();let _0x34c20f=_0x29d59d[_0x421689];return _0x34c20f;}import{CliErrors}from'../errors.js';function a171_0x29d5(){const _0x1d6442=['1687616CEQLNt','631221jAvCxk','3110DXOcqO','803MVsWPB','10OWDGVL','2QQGBMv','6967fnuZxs','419604yUWIIG','544005xUwmSJ','4cJFvtY','1651960IRRoLq'];a171_0x29d5=function(){return _0x1d6442;};return a171_0x29d5();}export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
1
+ (function(_0x26d36c,_0x2c267c){const _0x1c31f2=a171_0x2638,_0x1fcfca=_0x26d36c();while(!![]){try{const _0x1c41f8=-parseInt(_0x1c31f2(0x161))/0x1*(parseInt(_0x1c31f2(0x15f))/0x2)+parseInt(_0x1c31f2(0x163))/0x3+-parseInt(_0x1c31f2(0x164))/0x4+parseInt(_0x1c31f2(0x15e))/0x5*(-parseInt(_0x1c31f2(0x160))/0x6)+parseInt(_0x1c31f2(0x162))/0x7*(-parseInt(_0x1c31f2(0x15d))/0x8)+parseInt(_0x1c31f2(0x166))/0x9*(-parseInt(_0x1c31f2(0x165))/0xa)+parseInt(_0x1c31f2(0x15b))/0xb*(parseInt(_0x1c31f2(0x15c))/0xc);if(_0x1c41f8===_0x2c267c)break;else _0x1fcfca['push'](_0x1fcfca['shift']());}catch(_0x8af8b){_0x1fcfca['push'](_0x1fcfca['shift']());}}}(a171_0x55b5,0x95dcf));function a171_0x55b5(){const _0x39ef16=['135498bCaUSt','9619nfRuMi','10598WMuLDX','2927181xbcGFo','1832924GdCwbK','70XqglWv','1349235FGBTdV','44bZvwcp','4307484pxUANP','408mdPvqj','45MQIjwE','2JlGWQi'];a171_0x55b5=function(){return _0x39ef16;};return a171_0x55b5();}import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a171_0x2638(_0x3d13d6,_0x10e40a){_0x3d13d6=_0x3d13d6-0x15b;const _0x55b590=a171_0x55b5();let _0x263866=_0x55b590[_0x3d13d6];return _0x263866;}export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});