@lovrabet/rabetbase-cli 2.1.3-beta.0 → 2.1.4

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 (183) 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/dataset/detail.js +1 -1
  48. package/lib/commands/dataset/index.js +1 -1
  49. package/lib/commands/dataset/links.js +1 -1
  50. package/lib/commands/dataset/list.js +1 -1
  51. package/lib/commands/dataset/operations.js +1 -1
  52. package/lib/commands/db/analyze-cancel.js +1 -1
  53. package/lib/commands/db/analyze-start.js +1 -1
  54. package/lib/commands/db/analyze-status.js +1 -1
  55. package/lib/commands/db/create.js +1 -1
  56. package/lib/commands/db/delete.js +1 -1
  57. package/lib/commands/db/detail.js +1 -1
  58. package/lib/commands/db/diff.js +1 -1
  59. package/lib/commands/db/index.js +1 -1
  60. package/lib/commands/db/list.js +1 -1
  61. package/lib/commands/db/shared.js +1 -1
  62. package/lib/commands/db/tables.js +1 -1
  63. package/lib/commands/db/test.js +1 -1
  64. package/lib/commands/db/update.js +1 -1
  65. package/lib/commands/doctor.js +1 -1
  66. package/lib/commands/init/index.js +1 -1
  67. package/lib/commands/logs/index.js +1 -1
  68. package/lib/commands/menu/index.js +1 -1
  69. package/lib/commands/menu/shared/compare-table.js +1 -1
  70. package/lib/commands/menu/shared/index.js +1 -1
  71. package/lib/commands/menu/shared/inquirer.js +1 -1
  72. package/lib/commands/menu/shared/local-pages.js +1 -1
  73. package/lib/commands/menu/shared/logic.js +1 -1
  74. package/lib/commands/menu/shared/service.js +1 -1
  75. package/lib/commands/menu/shared/sync-core.js +1 -1
  76. package/lib/commands/menu/shared/update-core.js +1 -1
  77. package/lib/commands/menu/shared/valid-url.js +1 -1
  78. package/lib/commands/menu/sync.js +1 -1
  79. package/lib/commands/menu/update.js +1 -1
  80. package/lib/commands/page/generate-start.js +1 -1
  81. package/lib/commands/page/generate-status.js +1 -1
  82. package/lib/commands/page/index.js +1 -1
  83. package/lib/commands/page/pull.js +1 -1
  84. package/lib/commands/page/push.js +1 -1
  85. package/lib/commands/page/shared.js +1 -1
  86. package/lib/commands/page/standard-page-status.js +1 -1
  87. package/lib/commands/page/sync.js +1 -1
  88. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  89. package/lib/commands/project/create/format-elapsed.js +1 -1
  90. package/lib/commands/project/create/main.js +1 -1
  91. package/lib/commands/project/create/non-interactive.js +1 -1
  92. package/lib/commands/project/create/project-template-path.js +1 -1
  93. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  94. package/lib/commands/project/create/use-format-code.js +1 -1
  95. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  96. package/lib/commands/project/index.js +1 -1
  97. package/lib/commands/project/init.js +1 -1
  98. package/lib/commands/project/upgrade.js +1 -1
  99. package/lib/commands/registry.js +1 -1
  100. package/lib/commands/run/index.js +1 -1
  101. package/lib/commands/schema.js +1 -1
  102. package/lib/commands/skill/index.js +1 -1
  103. package/lib/commands/sql/create.js +1 -1
  104. package/lib/commands/sql/delete.js +1 -1
  105. package/lib/commands/sql/detail.js +1 -1
  106. package/lib/commands/sql/exec.js +1 -1
  107. package/lib/commands/sql/index.js +1 -1
  108. package/lib/commands/sql/list.js +1 -1
  109. package/lib/commands/sql/pull.js +1 -1
  110. package/lib/commands/sql/push.js +1 -1
  111. package/lib/commands/sql/save.js +1 -1
  112. package/lib/commands/sql/shared.js +1 -1
  113. package/lib/commands/sql/status.js +1 -1
  114. package/lib/commands/sql/validate.js +1 -1
  115. package/lib/config/schema.js +1 -1
  116. package/lib/constant/cdn.js +1 -1
  117. package/lib/constant/cli.js +1 -1
  118. package/lib/constant/defaults.js +1 -1
  119. package/lib/constant/domain.js +1 -1
  120. package/lib/constant/env.js +1 -1
  121. package/lib/constant/output.js +1 -1
  122. package/lib/constant/paths.js +1 -1
  123. package/lib/constant/risk.js +1 -1
  124. package/lib/context.js +1 -1
  125. package/lib/core/alias-resolver.js +1 -1
  126. package/lib/core/api-client.js +1 -1
  127. package/lib/core/bff/config.js +1 -1
  128. package/lib/core/bff/file-system.js +1 -1
  129. package/lib/core/bff/hash.js +1 -1
  130. package/lib/core/bff/lock.js +1 -1
  131. package/lib/core/bff/utils.js +1 -1
  132. package/lib/core/db-resolver.js +1 -1
  133. package/lib/core/page/file-system.js +1 -1
  134. package/lib/core/page/hash.js +1 -1
  135. package/lib/core/page/lock.js +1 -1
  136. package/lib/core/sql-sync/config.js +1 -1
  137. package/lib/core/sql-sync/file-system.js +1 -1
  138. package/lib/core/sql-sync/hash.js +1 -1
  139. package/lib/core/sql-sync/lock.js +1 -1
  140. package/lib/core/sql-sync/utils.js +1 -1
  141. package/lib/core/sql-validator.js +1 -1
  142. package/lib/errors.js +1 -1
  143. package/lib/framework/build-all-flags.js +1 -1
  144. package/lib/framework/flags.js +1 -1
  145. package/lib/framework/help.js +1 -1
  146. package/lib/framework/index.js +1 -1
  147. package/lib/framework/output.js +1 -1
  148. package/lib/framework/response.js +1 -1
  149. package/lib/framework/runner-alias.js +1 -1
  150. package/lib/framework/runner.js +1 -1
  151. package/lib/framework/schema-export.js +1 -1
  152. package/lib/framework/types.js +1 -1
  153. package/lib/generated/build-info.js +1 -1
  154. package/lib/help.js +1 -1
  155. package/lib/skills/main.js +1 -1
  156. package/lib/skills/npx-skills-add.js +1 -1
  157. package/lib/telemetry/cli-command-trace.js +1 -1
  158. package/lib/telemetry/cli-help-trace.js +1 -1
  159. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  160. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  161. package/lib/telemetry/send-cli-trace-log.js +1 -1
  162. package/lib/utils/ai_config.js +1 -1
  163. package/lib/utils/apply-jq-filter.js +1 -1
  164. package/lib/utils/cdn-config.js +1 -1
  165. package/lib/utils/check-sdk-version.js +1 -1
  166. package/lib/utils/cli-version-check.js +1 -1
  167. package/lib/utils/cli-version-policy.js +1 -1
  168. package/lib/utils/config.js +1 -1
  169. package/lib/utils/copy-directory.js +1 -1
  170. package/lib/utils/entity-with-id.js +1 -1
  171. package/lib/utils/file-utils.js +1 -1
  172. package/lib/utils/guides-cdn.js +1 -1
  173. package/lib/utils/http-client.js +1 -1
  174. package/lib/utils/is-non-interactive.js +1 -1
  175. package/lib/utils/logger.js +1 -1
  176. package/lib/utils/platform.js +1 -1
  177. package/lib/utils/rules-cdn.js +1 -1
  178. package/lib/utils/sleep.js +1 -1
  179. package/lib/utils/template-replacer.js +1 -1
  180. package/lib/utils/version.js +1 -1
  181. package/lib/utils/with-active-cookie.js +1 -1
  182. package/lib/utils/write-cli-side-channel.js +1 -1
  183. package/package.json +1 -1
@@ -1 +1 @@
1
- (function(_0x145eab,_0x680621){const _0x8f6d3=a141_0x34ed,_0x146aa9=_0x145eab();while(!![]){try{const _0x3acdb1=parseInt(_0x8f6d3(0x7a))/0x1*(parseInt(_0x8f6d3(0x6f))/0x2)+parseInt(_0x8f6d3(0x73))/0x3*(-parseInt(_0x8f6d3(0x72))/0x4)+-parseInt(_0x8f6d3(0x7d))/0x5*(parseInt(_0x8f6d3(0x6e))/0x6)+parseInt(_0x8f6d3(0x68))/0x7+-parseInt(_0x8f6d3(0x70))/0x8*(parseInt(_0x8f6d3(0x76))/0x9)+parseInt(_0x8f6d3(0x69))/0xa*(-parseInt(_0x8f6d3(0x7f))/0xb)+-parseInt(_0x8f6d3(0x74))/0xc*(-parseInt(_0x8f6d3(0x7b))/0xd);if(_0x3acdb1===_0x680621)break;else _0x146aa9['push'](_0x146aa9['shift']());}catch(_0x4cbccc){_0x146aa9['push'](_0x146aa9['shift']());}}}(a141_0x2b32,0xbe51e));function a141_0x34ed(_0x7f09e9,_0x14fdeb){_0x7f09e9=_0x7f09e9-0x68;const _0x2b3238=a141_0x2b32();let _0x34edfa=_0x2b3238[_0x7f09e9];return _0x34edfa;}import{mkdir,readFile,writeFile}from'node:fs/promises';import{dirname}from'node:path';export function createEmptySqlLock(){return{'apps':{}};}export function ensureSqlLockScope(_0x4acb38,_0x43d2c8,_0x3cac4c,_0x5ef6cc){const _0x3ab31d=a141_0x34ed,_0x297a98=_0x4acb38??createEmptySqlLock();let _0x2ddf91=_0x297a98['apps'][_0x43d2c8];if(!_0x2ddf91)return _0x2ddf91={'sqlRoot':_0x3cac4c,'lastSync':'','sqls':{}},_0x297a98[_0x3ab31d(0x7c)][_0x43d2c8]=_0x2ddf91,{'lockData':_0x297a98,'appLock':_0x2ddf91};if(!_0x2ddf91[_0x3ab31d(0x75)])_0x2ddf91[_0x3ab31d(0x75)]=_0x3cac4c;else{if(_0x2ddf91[_0x3ab31d(0x75)]!==_0x3cac4c)throw new Error(_0x5ef6cc+_0x3ab31d(0x6b)+_0x3cac4c+_0x3ab31d(0x71)+_0x2ddf91[_0x3ab31d(0x75)]+_0x3ab31d(0x78)+_0x3ab31d(0x81));}return!_0x2ddf91[_0x3ab31d(0x79)]&&(_0x2ddf91[_0x3ab31d(0x79)]={}),!_0x2ddf91[_0x3ab31d(0x7e)]&&(_0x2ddf91[_0x3ab31d(0x7e)]=''),{'lockData':_0x297a98,'appLock':_0x2ddf91};}function a141_0x2b32(){const _0x1e7617=['130wITiUh','apps','13405ZmECXR','lastSync','22mGESJI','stringify','Check\x20.rabetbase/sql.lock.json\x20or\x20operate\x20from\x20the\x20correct\x20project\x20directory.','6800115hxCHpK','3537860YCdczg','parse',':\x20sqlRoot\x20mismatch\x20—\x20current\x20\x22','Failed\x20to\x20read\x20SQL\x20lock\x20file:\x20','utf8','390vvIhSO','120EYCTiG','3576784RGxSOh','\x22\x20vs\x20lock\x20\x22','54324IbeVZa','300PhRcsN','2851176TiRECT','sqlRoot','9ChuCYF','ENOENT','\x22.\x20','sqls','1986MOCeYb'];a141_0x2b32=function(){return _0x1e7617;};return a141_0x2b32();}export async function readSqlLockFile(_0x2bd9bf){const _0x4d944b=a141_0x34ed;try{const _0x3d174a=await readFile(_0x2bd9bf,'utf8');return JSON[_0x4d944b(0x6a)](_0x3d174a);}catch(_0x395d6d){if(_0x395d6d['code']===_0x4d944b(0x77))return null;throw new Error(_0x4d944b(0x6c)+String(_0x395d6d));}}export async function writeSqlLockFile(_0x410b1d,_0x589f78){const _0x28cffb=a141_0x34ed;await mkdir(dirname(_0x410b1d),{'recursive':!![]}),await writeFile(_0x410b1d,JSON[_0x28cffb(0x80)](_0x589f78,null,0x2),_0x28cffb(0x6d));}
1
+ (function(_0x5e042b,_0x380810){const _0x3c0b20=a141_0x465a,_0x5aa70d=_0x5e042b();while(!![]){try{const _0x1a58e4=-parseInt(_0x3c0b20(0xdc))/0x1*(parseInt(_0x3c0b20(0xe5))/0x2)+parseInt(_0x3c0b20(0xe0))/0x3+parseInt(_0x3c0b20(0xdd))/0x4*(-parseInt(_0x3c0b20(0xe8))/0x5)+parseInt(_0x3c0b20(0xe4))/0x6+-parseInt(_0x3c0b20(0xe1))/0x7+parseInt(_0x3c0b20(0xdf))/0x8+parseInt(_0x3c0b20(0xe6))/0x9;if(_0x1a58e4===_0x380810)break;else _0x5aa70d['push'](_0x5aa70d['shift']());}catch(_0x253f1b){_0x5aa70d['push'](_0x5aa70d['shift']());}}}(a141_0x3e53,0x31a2a));import{mkdir,readFile,writeFile}from'node:fs/promises';import{dirname}from'node:path';function a141_0x465a(_0x44559c,_0x1a2626){_0x44559c=_0x44559c-0xd9;const _0x3e53dc=a141_0x3e53();let _0x465a19=_0x3e53dc[_0x44559c];return _0x465a19;}export function createEmptySqlLock(){return{'apps':{}};}export function ensureSqlLockScope(_0xfd8741,_0x4284a1,_0x2eaf3d,_0x33b0de){const _0x1fc0c2=a141_0x465a,_0x365a5a=_0xfd8741??createEmptySqlLock();let _0x2175d8=_0x365a5a['apps'][_0x4284a1];if(!_0x2175d8)return _0x2175d8={'sqlRoot':_0x2eaf3d,'lastSync':'','sqls':{}},_0x365a5a[_0x1fc0c2(0xda)][_0x4284a1]=_0x2175d8,{'lockData':_0x365a5a,'appLock':_0x2175d8};if(!_0x2175d8['sqlRoot'])_0x2175d8[_0x1fc0c2(0xe7)]=_0x2eaf3d;else{if(_0x2175d8['sqlRoot']!==_0x2eaf3d)throw new Error(_0x33b0de+_0x1fc0c2(0xe2)+_0x2eaf3d+_0x1fc0c2(0xea)+_0x2175d8[_0x1fc0c2(0xe7)]+_0x1fc0c2(0xe9)+_0x1fc0c2(0xde));}return!_0x2175d8['sqls']&&(_0x2175d8['sqls']={}),!_0x2175d8[_0x1fc0c2(0xd9)]&&(_0x2175d8[_0x1fc0c2(0xd9)]=''),{'lockData':_0x365a5a,'appLock':_0x2175d8};}function a141_0x3e53(){const _0x1c1ab4=['226eVTUTS','2344986dDboNz','sqlRoot','25TATxkS','\x22.\x20','\x22\x20vs\x20lock\x20\x22','parse','lastSync','apps','utf8','2338EWyEHw','172012aJYqOP','Check\x20.rabetbase/sql.lock.json\x20or\x20operate\x20from\x20the\x20correct\x20project\x20directory.','1850568OOgGhx','731208NlnYvL','1335691HUFqvZ',':\x20sqlRoot\x20mismatch\x20—\x20current\x20\x22','ENOENT','826302kAetbt'];a141_0x3e53=function(){return _0x1c1ab4;};return a141_0x3e53();}export async function readSqlLockFile(_0x43abba){const _0x34d8f4=a141_0x465a;try{const _0x20e4aa=await readFile(_0x43abba,'utf8');return JSON[_0x34d8f4(0xeb)](_0x20e4aa);}catch(_0x59b411){if(_0x59b411['code']===_0x34d8f4(0xe3))return null;throw new Error('Failed\x20to\x20read\x20SQL\x20lock\x20file:\x20'+String(_0x59b411));}}export async function writeSqlLockFile(_0x1bc825,_0x38f8cb){const _0x266035=a141_0x465a;await mkdir(dirname(_0x1bc825),{'recursive':!![]}),await writeFile(_0x1bc825,JSON['stringify'](_0x38f8cb,null,0x2),_0x266035(0xdb));}
@@ -1 +1 @@
1
- function a143_0x4664(){const _0x5688d5=['466964fgwcVY','replace','.xml','1914294ZeOkLq','2021032IFkHek','test','trimStart','trim','db-','444232KDYrpy','unknown-sql','5cIdnWx','1841630ZzlfgB','434622YYTbLD','mybatisXml','172600sQoFeB'];a143_0x4664=function(){return _0x5688d5;};return a143_0x4664();}(function(_0x2d3cb1,_0x16051a){const _0xfe957f=a143_0x2e7a,_0x1c1649=_0x2d3cb1();while(!![]){try{const _0x463954=-parseInt(_0xfe957f(0x185))/0x1+-parseInt(_0xfe957f(0x17f))/0x2+-parseInt(_0xfe957f(0x183))/0x3+-parseInt(_0xfe957f(0x186))/0x4*(parseInt(_0xfe957f(0x181))/0x5)+parseInt(_0xfe957f(0x189))/0x6+parseInt(_0xfe957f(0x182))/0x7+parseInt(_0xfe957f(0x18a))/0x8;if(_0x463954===_0x16051a)break;else _0x1c1649['push'](_0x1c1649['shift']());}catch(_0xdbc32c){_0x1c1649['push'](_0x1c1649['shift']());}}}(a143_0x4664,0x2b905));export function detectSqlMode(_0x4046e8){const _0x67c00e=a143_0x2e7a,_0x5320bf=_0x4046e8[_0x67c00e(0x18c)]();if(/^<(select|insert|update|delete)\b/i[_0x67c00e(0x18b)](_0x5320bf))return _0x67c00e(0x184);return'sql';}export function getSqlFileExtension(_0x2dd75e){const _0x469514=a143_0x2e7a;return _0x2dd75e==='mybatisXml'?_0x469514(0x188):'.sql';}export function buildDefaultSqlFileName(_0x43247c,_0x11a7a3){return''+_0x43247c+getSqlFileExtension(_0x11a7a3);}export function sanitizeSqlPathSegment(_0x591a26,_0x33e351){const _0x5eaa9a=a143_0x2e7a,_0x2dedc5=String(_0x591a26??'')[_0x5eaa9a(0x17d)](),_0x43ebe7=_0x2dedc5['replace'](/[<>:"/\\|?*\u0000-\u001F]/g,'-')[_0x5eaa9a(0x187)](/\s+/g,'-')['replace'](/-+/g,'-')[_0x5eaa9a(0x187)](/^\.+/,'')[_0x5eaa9a(0x187)](/\.+$/,'')['replace'](/^-+/,'')[_0x5eaa9a(0x187)](/-+$/,'');return _0x43ebe7||_0x33e351;}export function buildDbDirectoryName(_0x1d5b1d,_0x4deb4a){const _0xf96b1b=a143_0x2e7a;return sanitizeSqlPathSegment(_0x1d5b1d,_0x4deb4a!=null?_0xf96b1b(0x17e)+_0x4deb4a:'unknown-db');}function a143_0x2e7a(_0x2aedba,_0x596092){_0x2aedba=_0x2aedba-0x17d;const _0x4664bc=a143_0x4664();let _0x2e7aa6=_0x4664bc[_0x2aedba];return _0x2e7aa6;}export function buildSqlRelativePath(_0x1d9bb1,_0x30d74f,_0x3177fb,_0x209711,_0x42ce1a){const _0x4bb0c4=a143_0x2e7a,_0x254374=buildDbDirectoryName(_0x3177fb,_0x42ce1a),_0x59a031=sanitizeSqlPathSegment(_0x1d9bb1,_0x4bb0c4(0x180)),_0x17f7cf=sanitizeSqlPathSegment(_0x30d74f,_0x59a031);return _0x254374+'/'+_0x59a031+'_'+_0x17f7cf+getSqlFileExtension(_0x209711);}
1
+ (function(_0x25245e,_0x3ea6b8){const _0x35ceb2=a143_0x5958,_0x2f0fd6=_0x25245e();while(!![]){try{const _0x181a24=parseInt(_0x35ceb2(0x1ea))/0x1*(parseInt(_0x35ceb2(0x1dc))/0x2)+parseInt(_0x35ceb2(0x1de))/0x3+-parseInt(_0x35ceb2(0x1e6))/0x4+-parseInt(_0x35ceb2(0x1e4))/0x5*(parseInt(_0x35ceb2(0x1e5))/0x6)+parseInt(_0x35ceb2(0x1e7))/0x7*(parseInt(_0x35ceb2(0x1db))/0x8)+parseInt(_0x35ceb2(0x1e8))/0x9+parseInt(_0x35ceb2(0x1e3))/0xa*(-parseInt(_0x35ceb2(0x1e0))/0xb);if(_0x181a24===_0x3ea6b8)break;else _0x2f0fd6['push'](_0x2f0fd6['shift']());}catch(_0x395196){_0x2f0fd6['push'](_0x2f0fd6['shift']());}}}(a143_0x580f,0x43d2d));export function detectSqlMode(_0x5b4ca1){const _0x497642=a143_0x5958,_0x5a471f=_0x5b4ca1[_0x497642(0x1dd)]();if(/^<(select|insert|update|delete)\b/i['test'](_0x5a471f))return'mybatisXml';return'sql';}function a143_0x5958(_0x36f1e2,_0x19d500){_0x36f1e2=_0x36f1e2-0x1db;const _0x580f80=a143_0x580f();let _0x59588e=_0x580f80[_0x36f1e2];return _0x59588e;}export function getSqlFileExtension(_0x1ed85e){const _0xc49a9=a143_0x5958;return _0x1ed85e===_0xc49a9(0x1df)?'.xml':'.sql';}export function buildDefaultSqlFileName(_0xa5e8e7,_0x2cc67a){return''+_0xa5e8e7+getSqlFileExtension(_0x2cc67a);}export function sanitizeSqlPathSegment(_0x534894,_0x326cc3){const _0x449002=a143_0x5958,_0x129de6=String(_0x534894??'')[_0x449002(0x1e1)](),_0x2b8335=_0x129de6[_0x449002(0x1e2)](/[<>:"/\\|?*\u0000-\u001F]/g,'-')[_0x449002(0x1e2)](/\s+/g,'-')[_0x449002(0x1e2)](/-+/g,'-')[_0x449002(0x1e2)](/^\.+/,'')[_0x449002(0x1e2)](/\.+$/,'')[_0x449002(0x1e2)](/^-+/,'')['replace'](/-+$/,'');return _0x2b8335||_0x326cc3;}export function buildDbDirectoryName(_0x397a07,_0x1f3947){const _0x4603ab=a143_0x5958;return sanitizeSqlPathSegment(_0x397a07,_0x1f3947!=null?'db-'+_0x1f3947:_0x4603ab(0x1eb));}export function buildSqlRelativePath(_0x1d6157,_0x59f0f9,_0x528b05,_0x250059,_0x4a7ad2){const _0x3b20c6=a143_0x5958,_0x45cbdc=buildDbDirectoryName(_0x528b05,_0x4a7ad2),_0x1ef6c1=sanitizeSqlPathSegment(_0x1d6157,_0x3b20c6(0x1e9)),_0x4895d2=sanitizeSqlPathSegment(_0x59f0f9,_0x1ef6c1);return _0x45cbdc+'/'+_0x1ef6c1+'_'+_0x4895d2+getSqlFileExtension(_0x250059);}function a143_0x580f(){const _0x331617=['trim','replace','4710ePRWGG','25tIOkht','384114bpMAIj','324816GnGNTy','532ACNvzC','1322046qOfxVf','unknown-sql','380gwNSHe','unknown-db','3184FEGTzD','2652xWVRGf','trimStart','1540068yzwBsP','mybatisXml','12034xnoOZr'];a143_0x580f=function(){return _0x331617;};return a143_0x580f();}
@@ -1 +1 @@
1
- (function(_0x2fbc18,_0x4dca97){const _0x4c23ce=a144_0x51d9,_0x37f746=_0x2fbc18();while(!![]){try{const _0x41e386=parseInt(_0x4c23ce(0x184))/0x1+-parseInt(_0x4c23ce(0x16b))/0x2*(parseInt(_0x4c23ce(0x17c))/0x3)+-parseInt(_0x4c23ce(0x167))/0x4+-parseInt(_0x4c23ce(0x165))/0x5*(-parseInt(_0x4c23ce(0x18a))/0x6)+-parseInt(_0x4c23ce(0x187))/0x7+-parseInt(_0x4c23ce(0x177))/0x8*(parseInt(_0x4c23ce(0x179))/0x9)+parseInt(_0x4c23ce(0x183))/0xa*(parseInt(_0x4c23ce(0x16d))/0xb);if(_0x41e386===_0x4dca97)break;else _0x37f746['push'](_0x37f746['shift']());}catch(_0x14119b){_0x37f746['push'](_0x37f746['shift']());}}}(a144_0x5ba2,0x9aa22));export function detectSqlType(_0x415d01){const _0x576d7c=a144_0x51d9;if(!_0x415d01?.[_0x576d7c(0x164)]())return{'type':'UNKNOWN','isSelectOnly':![],'isDangerous':![],'reason':_0x576d7c(0x181)};const _0x37113d=_0x415d01[_0x576d7c(0x186)](/#\{[^}]*\}/g,'?')['replace'](/\$\{[^}]*\}/g,'?')[_0x576d7c(0x186)](/@[^(\s]+(\([^)]*\))?/g,'')[_0x576d7c(0x186)](/\/\*[\s\S]*?\*\//g,'')[_0x576d7c(0x164)](),_0x10f049=_0x37113d[_0x576d7c(0x174)]('\x0a');let _0x58d994='';for(const _0x1bcce8 of _0x10f049){const _0x406bee=_0x1bcce8[_0x576d7c(0x164)]();if(!_0x406bee||_0x406bee[_0x576d7c(0x169)]('--')||_0x406bee[_0x576d7c(0x169)]('/*'))continue;_0x58d994=_0x406bee;break;}const _0x403f6a=_0x58d994[_0x576d7c(0x182)]();if(_0x403f6a[_0x576d7c(0x169)]('SELECT')||_0x403f6a['startsWith'](_0x576d7c(0x173))){const _0x217f57=/\b(INSERT|UPDATE|DELETE|DROP|ALTER|CREATE|TRUNCATE)\b/i[_0x576d7c(0x16c)](_0x37113d);return{'type':_0x576d7c(0x18b),'isSelectOnly':!_0x217f57,'isDangerous':_0x217f57,'reason':_0x217f57?_0x576d7c(0x16e):undefined};}if(_0x403f6a[_0x576d7c(0x169)](_0x576d7c(0x16f)))return{'type':_0x576d7c(0x16f),'isSelectOnly':![],'isDangerous':![]};if(_0x403f6a[_0x576d7c(0x169)]('UPDATE'))return{'type':_0x576d7c(0x168),'isSelectOnly':![],'isDangerous':![]};if(_0x403f6a[_0x576d7c(0x169)]('DELETE'))return{'type':_0x576d7c(0x171),'isSelectOnly':![],'isDangerous':!![],'reason':_0x576d7c(0x175)};if(/^(CREATE|ALTER|DROP|TRUNCATE)/i[_0x576d7c(0x16c)](_0x403f6a))return{'type':_0x576d7c(0x18c),'isSelectOnly':![],'isDangerous':!![],'reason':_0x576d7c(0x189)};return{'type':_0x576d7c(0x163),'isSelectOnly':![],'isDangerous':![]};}function a144_0x5ba2(){const _0x36480a=['1035512gQSWaf','test','209WbQDCd','SQL\x20contains\x20modification\x20statements\x20alongside\x20SELECT','INSERT','matchAll','DELETE','push','WITH','split','DELETE\x20statements\x20are\x20blocked\x20from\x20auto-save','add','32SSSMoA','unknown\x20table(s)','2492037BrshYF','\x20query\x20targeting\x20','match','3PEKBxk','length','isDangerous','\x20statements\x20cannot\x20be\x20auto-saved.\x20Please\x20operate\x20manually\x20on\x20the\x20platform.','includes','SQL\x20content\x20is\x20empty','toUpperCase','765910MZahxQ','898754qZofEQ','type','replace','5388866aTQhwo','from','DDL\x20statements\x20are\x20blocked\x20from\x20auto-save','18KCqlwL','SELECT','DDL','join','UNKNOWN','trim','2023815WSxovP','Unable\x20to\x20detect\x20SQL\x20type.\x20Please\x20check\x20the\x20SQL\x20content.','2158912LefTgZ','UPDATE','startsWith','\x20with\x20parameters:\x20'];a144_0x5ba2=function(){return _0x36480a;};return a144_0x5ba2();}function extractTables(_0x289299){const _0x513377=a144_0x51d9,_0x439221=_0x289299[_0x513377(0x186)](/#\{[^}]*\}/g,'?')[_0x513377(0x186)](/\$\{[^}]*\}/g,'?')[_0x513377(0x186)](/'[^']*'/g,'\x27\x27')[_0x513377(0x186)](/--.*$/gm,'')[_0x513377(0x186)](/\/\*[\s\S]*?\*\//g,''),_0x4e3c56=[],_0x42b7be=_0x439221[_0x513377(0x17b)](/FROM\s+([^\s,)(]+)/i);if(_0x42b7be?.[0x1])_0x4e3c56[_0x513377(0x172)](_0x42b7be[0x1][_0x513377(0x186)](/[`"]/g,''));for(const _0x417367 of _0x439221[_0x513377(0x170)](/(?:INNER|LEFT|RIGHT|FULL|CROSS)?\s*JOIN\s+([^\s,)(]+)/gi)){const _0x1248a5=_0x417367[0x1]?.['replace'](/[`"]/g,'');if(_0x1248a5&&!_0x4e3c56['includes'](_0x1248a5))_0x4e3c56[_0x513377(0x172)](_0x1248a5);}const _0x2fc6c0=_0x439221[_0x513377(0x17b)](/INTO\s+([^\s(]+)/i);if(_0x2fc6c0?.[0x1]){const _0x1f03e1=_0x2fc6c0[0x1]['replace'](/[`"]/g,'');if(!_0x4e3c56[_0x513377(0x180)](_0x1f03e1))_0x4e3c56[_0x513377(0x172)](_0x1f03e1);}const _0x46503f=_0x439221[_0x513377(0x17b)](/UPDATE\s+([^\s,)(]+)/i);if(_0x46503f?.[0x1]){const _0x33b4b9=_0x46503f[0x1][_0x513377(0x186)](/[`"]/g,'');if(!_0x4e3c56['includes'](_0x33b4b9))_0x4e3c56[_0x513377(0x172)](_0x33b4b9);}return _0x4e3c56;}function extractParameters(_0x1d1346){const _0x319b1a=a144_0x51d9,_0x29d9ea=new Set();for(const _0x2e6cdd of _0x1d1346[_0x319b1a(0x170)](/#\{(\w+)\}/g))if(_0x2e6cdd[0x1])_0x29d9ea[_0x319b1a(0x176)](_0x2e6cdd[0x1]);for(const _0x110c96 of _0x1d1346['matchAll'](/\$\{(\w+)\}/g))if(_0x110c96[0x1])_0x29d9ea[_0x319b1a(0x176)](_0x110c96[0x1]);return Array[_0x319b1a(0x188)](_0x29d9ea);}function a144_0x51d9(_0x48bbcf,_0x27c9ac){_0x48bbcf=_0x48bbcf-0x162;const _0x5ba2a8=a144_0x5ba2();let _0x51d992=_0x5ba2a8[_0x48bbcf];return _0x51d992;}export function validateSql(_0x133cdb){const _0x4ffaed=a144_0x51d9,_0x4cfa22=detectSqlType(_0x133cdb),_0x4ab068=extractTables(_0x133cdb),_0x1da3b9=extractParameters(_0x133cdb);if(_0x4cfa22[_0x4ffaed(0x17e)])return{'valid':![],'sqlType':_0x4cfa22,'tables':_0x4ab068,'parameters':_0x1da3b9,'message':_0x4cfa22['reason']||_0x4cfa22['type']+_0x4ffaed(0x17f)};if(_0x4cfa22[_0x4ffaed(0x185)]===_0x4ffaed(0x163))return{'valid':![],'sqlType':_0x4cfa22,'tables':_0x4ab068,'parameters':_0x1da3b9,'message':_0x4ffaed(0x166)};return{'valid':!![],'sqlType':_0x4cfa22,'tables':_0x4ab068,'parameters':_0x1da3b9,'message':_0x4cfa22[_0x4ffaed(0x185)]+_0x4ffaed(0x17a)+(_0x4ab068[_0x4ffaed(0x17d)]?_0x4ab068[_0x4ffaed(0x162)](',\x20'):_0x4ffaed(0x178))+(_0x1da3b9[_0x4ffaed(0x17d)]?_0x4ffaed(0x16a)+_0x1da3b9['join'](',\x20'):'')};}
1
+ (function(_0x2dd683,_0x538399){const _0x6d306d=a144_0x4931,_0x396043=_0x2dd683();while(!![]){try{const _0x5ea048=parseInt(_0x6d306d(0x124))/0x1+-parseInt(_0x6d306d(0x131))/0x2+parseInt(_0x6d306d(0x122))/0x3*(parseInt(_0x6d306d(0x117))/0x4)+-parseInt(_0x6d306d(0x11f))/0x5*(-parseInt(_0x6d306d(0x112))/0x6)+-parseInt(_0x6d306d(0x12a))/0x7+-parseInt(_0x6d306d(0x11e))/0x8*(parseInt(_0x6d306d(0x120))/0x9)+parseInt(_0x6d306d(0x11c))/0xa*(parseInt(_0x6d306d(0x12e))/0xb);if(_0x5ea048===_0x538399)break;else _0x396043['push'](_0x396043['shift']());}catch(_0x28c884){_0x396043['push'](_0x396043['shift']());}}}(a144_0x54e0,0x69c92));export function detectSqlType(_0x8ca728){const _0x2f8abb=a144_0x4931;if(!_0x8ca728?.[_0x2f8abb(0x113)]())return{'type':_0x2f8abb(0x121),'isSelectOnly':![],'isDangerous':![],'reason':_0x2f8abb(0x134)};const _0x594a6a=_0x8ca728[_0x2f8abb(0x115)](/#\{[^}]*\}/g,'?')[_0x2f8abb(0x115)](/\$\{[^}]*\}/g,'?')[_0x2f8abb(0x115)](/@[^(\s]+(\([^)]*\))?/g,'')['replace'](/\/\*[\s\S]*?\*\//g,'')[_0x2f8abb(0x113)](),_0x9e958f=_0x594a6a[_0x2f8abb(0x12b)]('\x0a');let _0x5e5c8b='';for(const _0x307183 of _0x9e958f){const _0x2db1d7=_0x307183['trim']();if(!_0x2db1d7||_0x2db1d7[_0x2f8abb(0x119)]('--')||_0x2db1d7[_0x2f8abb(0x119)]('/*'))continue;_0x5e5c8b=_0x2db1d7;break;}const _0x2f4c12=_0x5e5c8b[_0x2f8abb(0x11a)]();if(_0x2f4c12[_0x2f8abb(0x119)](_0x2f8abb(0x10e))||_0x2f4c12[_0x2f8abb(0x119)]('WITH')){const _0x130e64=/\b(INSERT|UPDATE|DELETE|DROP|ALTER|CREATE|TRUNCATE)\b/i[_0x2f8abb(0x111)](_0x594a6a);return{'type':_0x2f8abb(0x10e),'isSelectOnly':!_0x130e64,'isDangerous':_0x130e64,'reason':_0x130e64?_0x2f8abb(0x114):undefined};}if(_0x2f4c12[_0x2f8abb(0x119)]('INSERT'))return{'type':'INSERT','isSelectOnly':![],'isDangerous':![]};if(_0x2f4c12[_0x2f8abb(0x119)](_0x2f8abb(0x135)))return{'type':_0x2f8abb(0x135),'isSelectOnly':![],'isDangerous':![]};if(_0x2f4c12['startsWith'](_0x2f8abb(0x130)))return{'type':_0x2f8abb(0x130),'isSelectOnly':![],'isDangerous':!![],'reason':_0x2f8abb(0x132)};if(/^(CREATE|ALTER|DROP|TRUNCATE)/i['test'](_0x2f4c12))return{'type':_0x2f8abb(0x125),'isSelectOnly':![],'isDangerous':!![],'reason':_0x2f8abb(0x12d)};return{'type':_0x2f8abb(0x121),'isSelectOnly':![],'isDangerous':![]};}function extractTables(_0x29735a){const _0x4b6df3=a144_0x4931,_0x25d6d9=_0x29735a['replace'](/#\{[^}]*\}/g,'?')[_0x4b6df3(0x115)](/\$\{[^}]*\}/g,'?')['replace'](/'[^']*'/g,'\x27\x27')[_0x4b6df3(0x115)](/--.*$/gm,'')[_0x4b6df3(0x115)](/\/\*[\s\S]*?\*\//g,''),_0x494590=[],_0x5001ca=_0x25d6d9[_0x4b6df3(0x116)](/FROM\s+([^\s,)(]+)/i);if(_0x5001ca?.[0x1])_0x494590[_0x4b6df3(0x11d)](_0x5001ca[0x1]['replace'](/[`"]/g,''));for(const _0x5db1c0 of _0x25d6d9[_0x4b6df3(0x127)](/(?:INNER|LEFT|RIGHT|FULL|CROSS)?\s*JOIN\s+([^\s,)(]+)/gi)){const _0x5a7431=_0x5db1c0[0x1]?.[_0x4b6df3(0x115)](/[`"]/g,'');if(_0x5a7431&&!_0x494590[_0x4b6df3(0x11b)](_0x5a7431))_0x494590['push'](_0x5a7431);}const _0x5ad9f8=_0x25d6d9[_0x4b6df3(0x116)](/INTO\s+([^\s(]+)/i);if(_0x5ad9f8?.[0x1]){const _0x315602=_0x5ad9f8[0x1]['replace'](/[`"]/g,'');if(!_0x494590[_0x4b6df3(0x11b)](_0x315602))_0x494590[_0x4b6df3(0x11d)](_0x315602);}const _0x1b6e12=_0x25d6d9['match'](/UPDATE\s+([^\s,)(]+)/i);if(_0x1b6e12?.[0x1]){const _0x137d0c=_0x1b6e12[0x1][_0x4b6df3(0x115)](/[`"]/g,'');if(!_0x494590[_0x4b6df3(0x11b)](_0x137d0c))_0x494590['push'](_0x137d0c);}return _0x494590;}function a144_0x4931(_0x52dece,_0x100728){_0x52dece=_0x52dece-0x10e;const _0x54e062=a144_0x54e0();let _0x493146=_0x54e062[_0x52dece];return _0x493146;}function a144_0x54e0(){const _0x39fa72=['DDL\x20statements\x20are\x20blocked\x20from\x20auto-save','223157aWgRom','unknown\x20table(s)','DELETE','473790GlXsqy','DELETE\x20statements\x20are\x20blocked\x20from\x20auto-save','join','SQL\x20content\x20is\x20empty','UPDATE','SELECT','add','\x20query\x20targeting\x20','test','6tAXXhr','trim','SQL\x20contains\x20modification\x20statements\x20alongside\x20SELECT','replace','match','44372hsVGvk','from','startsWith','toUpperCase','includes','490foQBcI','push','8LABjhV','1584025idSnoK','5000571ShSklV','UNKNOWN','9vbdgUj','isDangerous','406589YmGBGh','DDL','reason','matchAll','type','length','3674468dKnVaQ','split','Unable\x20to\x20detect\x20SQL\x20type.\x20Please\x20check\x20the\x20SQL\x20content.'];a144_0x54e0=function(){return _0x39fa72;};return a144_0x54e0();}function extractParameters(_0x499eba){const _0x358f83=a144_0x4931,_0x47c049=new Set();for(const _0x4fcf74 of _0x499eba[_0x358f83(0x127)](/#\{(\w+)\}/g))if(_0x4fcf74[0x1])_0x47c049[_0x358f83(0x10f)](_0x4fcf74[0x1]);for(const _0x2fd8f4 of _0x499eba[_0x358f83(0x127)](/\$\{(\w+)\}/g))if(_0x2fd8f4[0x1])_0x47c049['add'](_0x2fd8f4[0x1]);return Array[_0x358f83(0x118)](_0x47c049);}export function validateSql(_0x12c980){const _0x132b3c=a144_0x4931,_0x1ca52e=detectSqlType(_0x12c980),_0x28b691=extractTables(_0x12c980),_0x19601b=extractParameters(_0x12c980);if(_0x1ca52e[_0x132b3c(0x123)])return{'valid':![],'sqlType':_0x1ca52e,'tables':_0x28b691,'parameters':_0x19601b,'message':_0x1ca52e[_0x132b3c(0x126)]||_0x1ca52e[_0x132b3c(0x128)]+'\x20statements\x20cannot\x20be\x20auto-saved.\x20Please\x20operate\x20manually\x20on\x20the\x20platform.'};if(_0x1ca52e[_0x132b3c(0x128)]===_0x132b3c(0x121))return{'valid':![],'sqlType':_0x1ca52e,'tables':_0x28b691,'parameters':_0x19601b,'message':_0x132b3c(0x12c)};return{'valid':!![],'sqlType':_0x1ca52e,'tables':_0x28b691,'parameters':_0x19601b,'message':_0x1ca52e[_0x132b3c(0x128)]+_0x132b3c(0x110)+(_0x28b691['length']?_0x28b691[_0x132b3c(0x133)](',\x20'):_0x132b3c(0x12f))+(_0x19601b[_0x132b3c(0x129)]?'\x20with\x20parameters:\x20'+_0x19601b['join'](',\x20'):'')};}
package/lib/errors.js CHANGED
@@ -1 +1 @@
1
- const a145_0x4da130=a145_0x4fe7;function a145_0x4fe7(_0x2904bc,_0x21fa5d){_0x2904bc=_0x2904bc-0x1d1;const _0x2bcfc3=a145_0x2bcf();let _0x4fe755=_0x2bcfc3[_0x2904bc];return _0x4fe755;}(function(_0x523a39,_0xb11f7e){const _0x40c0ee=a145_0x4fe7,_0x2dba9d=_0x523a39();while(!![]){try{const _0x132930=parseInt(_0x40c0ee(0x1d1))/0x1+parseInt(_0x40c0ee(0x1d8))/0x2*(-parseInt(_0x40c0ee(0x1dc))/0x3)+parseInt(_0x40c0ee(0x1da))/0x4+-parseInt(_0x40c0ee(0x1d4))/0x5*(parseInt(_0x40c0ee(0x1db))/0x6)+-parseInt(_0x40c0ee(0x1d6))/0x7+parseInt(_0x40c0ee(0x1d9))/0x8+parseInt(_0x40c0ee(0x1d3))/0x9;if(_0x132930===_0xb11f7e)break;else _0x2dba9d['push'](_0x2dba9d['shift']());}catch(_0x232e97){_0x2dba9d['push'](_0x2dba9d['shift']());}}}(a145_0x2bcf,0xf1604));import{CliError,createCliErrors}from'@lovrabet/cli-framework';import{CLI_BIN_NAME}from'./constant/cli.js';export{CliError};function a145_0x2bcf(){const _0x34ace1=['1173828fqPHds','18OubRpv','6uyaaeK','1373630BWliUe','join','11942235EWTbzm','2401585OXYvSt','Run\x20`','2905238iPkdDl','Run\x20this\x20command\x20inside\x20a\x20project\x20with\x20.rabetbase.json\x20file.','552746LSryAx','3227240wHsTrz'];a145_0x2bcf=function(){return _0x34ace1;};return a145_0x2bcf();}export const CliErrors=createCliErrors({'cliBinName':CLI_BIN_NAME,'authRequiredHint':a145_0x4da130(0x1d5)+CLI_BIN_NAME+'\x20auth`\x20to\x20login\x20first.','configMissingHint':['Set\x20appcode\x20via\x20`'+CLI_BIN_NAME+'\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','Tip:\x20`'+CLI_BIN_NAME+'\x20init\x20--appcode\x20<code>\x20--global`\x20registers\x20globally\x20so\x20you\x20can\x20use\x20it\x20from\x20anywhere.'][a145_0x4da130(0x1d2)]('\x0a\x20\x20\x20\x20\x20\x20\x20'),'notInProjectHint':a145_0x4da130(0x1d7)});
1
+ function a145_0xc70d(){const _0x9f4d28=['join','\x20auth`\x20to\x20login\x20first.','1555315GwsnlN','1420695ccglCY','493311PalrPt','372UdpgOA','6879uNEnpp','1967850cWdYTN','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','Set\x20appcode\x20via\x20`','23806WuDUZC','Tip:\x20`','14gLTKfV','Run\x20`','\x20init\x20--appcode\x20<code>\x20--global`\x20registers\x20globally\x20so\x20you\x20can\x20use\x20it\x20from\x20anywhere.','2251888Hrcpvr','Run\x20this\x20command\x20inside\x20a\x20project\x20with\x20.rabetbase.json\x20file.'];a145_0xc70d=function(){return _0x9f4d28;};return a145_0xc70d();}const a145_0x364811=a145_0x32cf;(function(_0x115832,_0x5d31e1){const _0x17a686=a145_0x32cf,_0x2a3e3c=_0x115832();while(!![]){try{const _0xa4e4db=parseInt(_0x17a686(0x1d5))/0x1*(-parseInt(_0x17a686(0x1d3))/0x2)+parseInt(_0x17a686(0x1cf))/0x3*(parseInt(_0x17a686(0x1ce))/0x4)+parseInt(_0x17a686(0x1cb))/0x5+-parseInt(_0x17a686(0x1d0))/0x6+parseInt(_0x17a686(0x1cd))/0x7+parseInt(_0x17a686(0x1d8))/0x8+-parseInt(_0x17a686(0x1cc))/0x9;if(_0xa4e4db===_0x5d31e1)break;else _0x2a3e3c['push'](_0x2a3e3c['shift']());}catch(_0x4e518e){_0x2a3e3c['push'](_0x2a3e3c['shift']());}}}(a145_0xc70d,0x36a37));function a145_0x32cf(_0x2910bc,_0x4ecb10){_0x2910bc=_0x2910bc-0x1cb;const _0xc70d57=a145_0xc70d();let _0x32cfc7=_0xc70d57[_0x2910bc];return _0x32cfc7;}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':a145_0x364811(0x1d6)+CLI_BIN_NAME+a145_0x364811(0x1db),'configMissingHint':[a145_0x364811(0x1d2)+CLI_BIN_NAME+a145_0x364811(0x1d1),a145_0x364811(0x1d4)+CLI_BIN_NAME+a145_0x364811(0x1d7)][a145_0x364811(0x1da)]('\x0a\x20\x20\x20\x20\x20\x20\x20'),'notInProjectHint':a145_0x364811(0x1d9)});
@@ -1 +1 @@
1
- function a146_0x4dec(){var _0x494fe6=['3876808ERsuNs','31559016EXCbDG','24oESpmb','7078960gEDuOm','4232895YKoZaE','2313542RcfXPx','775063sQRWTz','3374328GzFZVf'];a146_0x4dec=function(){return _0x494fe6;};return a146_0x4dec();}function a146_0x48b2(_0x2bb162,_0x59698c){_0x2bb162=_0x2bb162-0xf7;var _0x4dec02=a146_0x4dec();var _0x48b2fa=_0x4dec02[_0x2bb162];return _0x48b2fa;}(function(_0x35e42c,_0x4872ea){var _0x56fe1c=a146_0x48b2,_0x26325c=_0x35e42c();while(!![]){try{var _0x219918=-parseInt(_0x56fe1c(0xfe))/0x1+-parseInt(_0x56fe1c(0xf7))/0x2+-parseInt(_0x56fe1c(0xfc))/0x3+parseInt(_0x56fe1c(0xf8))/0x4+-parseInt(_0x56fe1c(0xfb))/0x5+parseInt(_0x56fe1c(0xfa))/0x6*(parseInt(_0x56fe1c(0xfd))/0x7)+parseInt(_0x56fe1c(0xf9))/0x8;if(_0x219918===_0x4872ea)break;else _0x26325c['push'](_0x26325c['shift']());}catch(_0x4f2342){_0x26325c['push'](_0x26325c['shift']());}}}(a146_0x4dec,0xe73af));import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';import{buildAllFlags as a146_0x310c2d}from'@lovrabet/cli-framework';export function buildAllFlags(_0x1abd41){return a146_0x310c2d(_0x1abd41,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});}
1
+ function a146_0x7bb1(_0x4f462b,_0x521574){_0x4f462b=_0x4f462b-0x193;var _0x4f4474=a146_0x4f44();var _0x7bb1b1=_0x4f4474[_0x4f462b];return _0x7bb1b1;}(function(_0xd4ac68,_0x28a758){var _0xbc8c3d=a146_0x7bb1,_0x33cc42=_0xd4ac68();while(!![]){try{var _0x50c4a0=parseInt(_0xbc8c3d(0x19d))/0x1*(parseInt(_0xbc8c3d(0x19b))/0x2)+parseInt(_0xbc8c3d(0x193))/0x3+-parseInt(_0xbc8c3d(0x198))/0x4*(parseInt(_0xbc8c3d(0x195))/0x5)+parseInt(_0xbc8c3d(0x19a))/0x6*(parseInt(_0xbc8c3d(0x194))/0x7)+-parseInt(_0xbc8c3d(0x197))/0x8*(-parseInt(_0xbc8c3d(0x196))/0x9)+-parseInt(_0xbc8c3d(0x199))/0xa*(parseInt(_0xbc8c3d(0x19e))/0xb)+parseInt(_0xbc8c3d(0x19c))/0xc;if(_0x50c4a0===_0x28a758)break;else _0x33cc42['push'](_0x33cc42['shift']());}catch(_0x3e755f){_0x33cc42['push'](_0x33cc42['shift']());}}}(a146_0x4f44,0x61638));import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';import{buildAllFlags as a146_0x384ad5}from'@lovrabet/cli-framework';export function buildAllFlags(_0x2578dc){return a146_0x384ad5(_0x2578dc,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});}function a146_0x4f44(){var _0x4d4a34=['207380bbGQfL','220788oBtMVS','16cPEYKB','44pXsUKS','130iYZXgh','260418DGakhX','4710ZWciiv','3936252uDzgKm','37SVSPpJ','358105OztNsQ','489270NkSypG','105CfwQKa'];a146_0x4f44=function(){return _0x4d4a34;};return a146_0x4f44();}
@@ -1 +1 @@
1
- const a147_0x1d1d9b=a147_0x2ef5;(function(_0x4e4b10,_0x292a20){const _0x5c97e4=a147_0x2ef5,_0x45b1db=_0x4e4b10();while(!![]){try{const _0x4fe1b9=parseInt(_0x5c97e4(0x12f))/0x1*(parseInt(_0x5c97e4(0x133))/0x2)+parseInt(_0x5c97e4(0x136))/0x3*(parseInt(_0x5c97e4(0x135))/0x4)+-parseInt(_0x5c97e4(0x132))/0x5*(-parseInt(_0x5c97e4(0x138))/0x6)+-parseInt(_0x5c97e4(0x130))/0x7+-parseInt(_0x5c97e4(0x131))/0x8*(-parseInt(_0x5c97e4(0x12e))/0x9)+parseInt(_0x5c97e4(0x139))/0xa*(-parseInt(_0x5c97e4(0x134))/0xb)+-parseInt(_0x5c97e4(0x13a))/0xc;if(_0x4fe1b9===_0x292a20)break;else _0x45b1db['push'](_0x45b1db['shift']());}catch(_0x2769c4){_0x45b1db['push'](_0x45b1db['shift']());}}}(a147_0x1ded,0x68d45));import{createFlagHelpers}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a147_0x2ef5(_0x1d2d54,_0x52e5c0){_0x1d2d54=_0x1d2d54-0x12e;const _0x1ded2e=a147_0x1ded();let _0x2ef55c=_0x1ded2e[_0x1d2d54];return _0x2ef55c;}const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers[a147_0x1d1d9b(0x137)];export const validateFlags=helpers['validateFlags'];function a147_0x1ded(){const _0x39b2b5=['6369pGnnQb','1468KtBGiS','4791WCKKgf','parseFlags','204054XhXLyI','6260ujAUsX','2786376BaNsHw','74691ALqrlu','56075CiBwHY','2126145lwYPmi','520KVrvAb','5xuoocP','6VBvkVI'];a147_0x1ded=function(){return _0x39b2b5;};return a147_0x1ded();}
1
+ const a147_0x3eb37e=a147_0x2103;(function(_0x56aba1,_0x288f0){const _0x5b6d7a=a147_0x2103,_0x1c04d5=_0x56aba1();while(!![]){try{const _0x66134d=parseInt(_0x5b6d7a(0xd6))/0x1*(-parseInt(_0x5b6d7a(0xd8))/0x2)+-parseInt(_0x5b6d7a(0xdd))/0x3*(parseInt(_0x5b6d7a(0xd5))/0x4)+-parseInt(_0x5b6d7a(0xde))/0x5*(parseInt(_0x5b6d7a(0xd9))/0x6)+-parseInt(_0x5b6d7a(0xd7))/0x7*(parseInt(_0x5b6d7a(0xd2))/0x8)+-parseInt(_0x5b6d7a(0xdb))/0x9*(parseInt(_0x5b6d7a(0xdc))/0xa)+parseInt(_0x5b6d7a(0xda))/0xb*(parseInt(_0x5b6d7a(0xdf))/0xc)+parseInt(_0x5b6d7a(0xd1))/0xd;if(_0x66134d===_0x288f0)break;else _0x1c04d5['push'](_0x1c04d5['shift']());}catch(_0x6ac2cf){_0x1c04d5['push'](_0x1c04d5['shift']());}}}(a147_0x4690,0x53336));import{createFlagHelpers}from'@lovrabet/cli-framework';function a147_0x2103(_0x234e5e,_0x5342ed){_0x234e5e=_0x234e5e-0xd1;const _0x4690ac=a147_0x4690();let _0x2103d8=_0x4690ac[_0x234e5e];return _0x2103d8;}import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers[a147_0x3eb37e(0xd3)];export const validateFlags=helpers[a147_0x3eb37e(0xd4)];function a147_0x4690(){const _0x47631c=['validateFlags','4NgTvmt','5kLqkyJ','2114qHrwbw','108508SdYTcT','1122HomriB','4730YGOoHr','364365AUwZxh','20IIlkqe','106383rNkAZF','4385AVzrCw','13884AEPFnn','12119094jXLnCE','14232CQgXfe','parseFlags'];a147_0x4690=function(){return _0x47631c;};return a147_0x4690();}
@@ -1 +1 @@
1
- function a148_0x2ecb(){const _0x18c9eb=['4395380EInZJh','\x20project\x20init`\x20or\x20--appcode).','46738449QZYXoP','467018dcFpcU','19112hiEoEm','9253860UTHqpJ','774WXkvYS','generateFullHelp','13352QMlSZe','Requires\x20appcode\x20(set\x20via\x20`','4424lutyJI','1129580rrjlnV','generateCommandHelp','\x20[args]\x20[flags]'];a148_0x2ecb=function(){return _0x18c9eb;};return a148_0x2ecb();}const a148_0x54945d=a148_0x3211;function a148_0x3211(_0x184196,_0x26efd0){_0x184196=_0x184196-0x15a;const _0x2ecbad=a148_0x2ecb();let _0x321135=_0x2ecbad[_0x184196];return _0x321135;}(function(_0x405b7b,_0x3a65ca){const _0xa9acb5=a148_0x3211,_0x590a17=_0x405b7b();while(!![]){try{const _0x1a70fe=parseInt(_0xa9acb5(0x15d))/0x1+parseInt(_0xa9acb5(0x163))/0x2+-parseInt(_0xa9acb5(0x166))/0x3*(-parseInt(_0xa9acb5(0x15a))/0x4)+parseInt(_0xa9acb5(0x160))/0x5+parseInt(_0xa9acb5(0x165))/0x6+-parseInt(_0xa9acb5(0x15c))/0x7*(-parseInt(_0xa9acb5(0x164))/0x8)+-parseInt(_0xa9acb5(0x162))/0x9;if(_0x1a70fe===_0x3a65ca)break;else _0x590a17['push'](_0x590a17['shift']());}catch(_0x3f3269){_0x590a17['push'](_0x590a17['shift']());}}}(a148_0x2ecb,0xeaf3e));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':_0x32b027=>serviceGroups['get'](_0x32b027),'buildAllFlags':buildAllFlags,'appPrerequisiteText':a148_0x54945d(0x15b)+CLI_BIN_NAME+a148_0x54945d(0x161),'serviceUsageSuffix':a148_0x54945d(0x15f),'includeWildcardExtraInFullHelp':!![]});export function generateCommandHelp(_0x456a5e){const _0x79e978=a148_0x54945d;return generators[_0x79e978(0x15e)](_0x456a5e);}export const generateServiceHelp=generators['generateServiceHelp'];export const generateFullHelp=generators[a148_0x54945d(0x167)];
1
+ const a148_0x257200=a148_0x1082;(function(_0x3d595e,_0x1ea8c7){const _0x52f55e=a148_0x1082,_0x34f92b=_0x3d595e();while(!![]){try{const _0x356ec0=parseInt(_0x52f55e(0x1a8))/0x1*(parseInt(_0x52f55e(0x1af))/0x2)+parseInt(_0x52f55e(0x1a7))/0x3+parseInt(_0x52f55e(0x1aa))/0x4*(-parseInt(_0x52f55e(0x1b0))/0x5)+-parseInt(_0x52f55e(0x1ac))/0x6+-parseInt(_0x52f55e(0x1ab))/0x7+-parseInt(_0x52f55e(0x1b1))/0x8+parseInt(_0x52f55e(0x1ad))/0x9;if(_0x356ec0===_0x1ea8c7)break;else _0x34f92b['push'](_0x34f92b['shift']());}catch(_0x256062){_0x34f92b['push'](_0x34f92b['shift']());}}}(a148_0x4dad,0x9f683));function a148_0x1082(_0x5d83ab,_0x1a1f4f){_0x5d83ab=_0x5d83ab-0x1a5;const _0x4dad87=a148_0x4dad();let _0x1082b0=_0x4dad87[_0x5d83ab];return _0x1082b0;}import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';function a148_0x4dad(){const _0xf5b1a8=['210277Ybzhaj','Requires\x20appcode\x20(set\x20via\x20`','4jVGStl','6912297FqNEQv','6747720YNLCNV','16439445IGvfQq','generateServiceHelp','4UIztTy','2998695rHHeEN','80128iNwqtj','generateCommandHelp','\x20project\x20init`\x20or\x20--appcode).','3382854ovfzVd'];a148_0x4dad=function(){return _0xf5b1a8;};return a148_0x4dad();}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':_0x15e268=>serviceGroups['get'](_0x15e268),'buildAllFlags':buildAllFlags,'appPrerequisiteText':a148_0x257200(0x1a9)+CLI_BIN_NAME+a148_0x257200(0x1a6),'serviceUsageSuffix':'\x20[args]\x20[flags]','includeWildcardExtraInFullHelp':!![]});export function generateCommandHelp(_0x5d8914){const _0x4e0b4b=a148_0x257200;return generators[_0x4e0b4b(0x1a5)](_0x5d8914);}export const generateServiceHelp=generators[a148_0x257200(0x1ae)];export const generateFullHelp=generators['generateFullHelp'];
@@ -1 +1 @@
1
- (function(_0x263872,_0x19fb72){var _0x3ca8a8=a149_0xfebc,_0x5cb695=_0x263872();while(!![]){try{var _0x27edc0=-parseInt(_0x3ca8a8(0x6b))/0x1*(parseInt(_0x3ca8a8(0x6d))/0x2)+parseInt(_0x3ca8a8(0x71))/0x3+-parseInt(_0x3ca8a8(0x6c))/0x4+-parseInt(_0x3ca8a8(0x68))/0x5*(-parseInt(_0x3ca8a8(0x67))/0x6)+parseInt(_0x3ca8a8(0x69))/0x7*(parseInt(_0x3ca8a8(0x70))/0x8)+-parseInt(_0x3ca8a8(0x6e))/0x9+parseInt(_0x3ca8a8(0x6a))/0xa*(parseInt(_0x3ca8a8(0x6f))/0xb);if(_0x27edc0===_0x19fb72)break;else _0x5cb695['push'](_0x5cb695['shift']());}catch(_0x6f0277){_0x5cb695['push'](_0x5cb695['shift']());}}}(a149_0x21da,0x78c2d));function a149_0xfebc(_0x3c2489,_0x3735b4){_0x3c2489=_0x3c2489-0x67;var _0x21da5e=a149_0x21da();var _0xfebc9=_0x21da5e[_0x3c2489];return _0xfebc9;}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 a149_0x21da(){var _0x3d6930=['5PWzXgP','3342356DGUtQe','314758HAvWtu','2570706OfBKCw','110WghPUP','8ysLdZn','1881237kUAmhO','6hDSMCL','2422430ONIUit','4932060UuNyiA','586610HEVbkQ'];a149_0x21da=function(){return _0x3d6930;};return a149_0x21da();}export{extractList,extractPaging}from'../framework/response.js';export{riskLevelOrder}from'../framework/types.js';
1
+ (function(_0x50b751,_0x123d06){var _0x358baa=a149_0x22ce,_0x5ab663=_0x50b751();while(!![]){try{var _0x395217=-parseInt(_0x358baa(0x190))/0x1+parseInt(_0x358baa(0x193))/0x2+parseInt(_0x358baa(0x18f))/0x3*(-parseInt(_0x358baa(0x18e))/0x4)+-parseInt(_0x358baa(0x196))/0x5+parseInt(_0x358baa(0x195))/0x6*(parseInt(_0x358baa(0x192))/0x7)+-parseInt(_0x358baa(0x18d))/0x8+parseInt(_0x358baa(0x194))/0x9*(parseInt(_0x358baa(0x191))/0xa);if(_0x395217===_0x123d06)break;else _0x5ab663['push'](_0x5ab663['shift']());}catch(_0x49f4ec){_0x5ab663['push'](_0x5ab663['shift']());}}}(a149_0x5e22,0x667b2));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 a149_0x22ce(_0x21fbaf,_0x1d710c){_0x21fbaf=_0x21fbaf-0x18d;var _0x5e2218=a149_0x5e22();var _0x22cee5=_0x5e2218[_0x21fbaf];return _0x22cee5;}export{extractList,extractPaging}from'../framework/response.js';function a149_0x5e22(){var _0x1bcfc3=['181672RCJXbG','12pbuhpy','672523fOIhCH','3330akkAPu','52892QWHdFb','1530564Aodxbu','32616raMsVj','438qfgwwL','3201820zBJGev','4874728mGVyFJ'];a149_0x5e22=function(){return _0x1bcfc3;};return a149_0x5e22();}export{riskLevelOrder}from'../framework/types.js';
@@ -1 +1 @@
1
- (function(_0x4e49a0,_0x183f13){var _0x11c172=a150_0x293f,_0x53aa89=_0x4e49a0();while(!![]){try{var _0x56da06=parseInt(_0x11c172(0x198))/0x1*(parseInt(_0x11c172(0x197))/0x2)+-parseInt(_0x11c172(0x194))/0x3+parseInt(_0x11c172(0x193))/0x4+parseInt(_0x11c172(0x19b))/0x5+parseInt(_0x11c172(0x195))/0x6*(parseInt(_0x11c172(0x199))/0x7)+parseInt(_0x11c172(0x196))/0x8+-parseInt(_0x11c172(0x19a))/0x9;if(_0x56da06===_0x183f13)break;else _0x53aa89['push'](_0x53aa89['shift']());}catch(_0x180a80){_0x53aa89['push'](_0x53aa89['shift']());}}}(a150_0x1849,0xa4e7e));export{formatOutput}from'@lovrabet/cli-framework';function a150_0x293f(_0x2643ac,_0x1f9606){_0x2643ac=_0x2643ac-0x193;var _0x1849c4=a150_0x1849();var _0x293fc0=_0x1849c4[_0x2643ac];return _0x293fc0;}function a150_0x1849(){var _0x23b428=['892332ZcQoYq','518844gjdexG','4919952qEOQmM','711714ADMOvo','2IhlGOM','91pyWTBy','21160593aXLgOQ','1851085KiteAk','2011952uIrCZT'];a150_0x1849=function(){return _0x23b428;};return a150_0x1849();}
1
+ function a150_0x4e8d(){var _0x31e9b2=['84474mxUwiG','2865636Vnerss','1262871VltdIp','1925yDhbmG','80lcZymd','361404BwQguy','1735288IdNmPX','5HVayzF','175384vfCwIu','6008HuTWMq'];a150_0x4e8d=function(){return _0x31e9b2;};return a150_0x4e8d();}function a150_0x86c1(_0x28314c,_0x245fff){_0x28314c=_0x28314c-0x1e3;var _0x4e8d7f=a150_0x4e8d();var _0x86c1a9=_0x4e8d7f[_0x28314c];return _0x86c1a9;}(function(_0x5ebc08,_0x1787fb){var _0x34e70e=a150_0x86c1,_0x2d7809=_0x5ebc08();while(!![]){try{var _0x50c7e1=-parseInt(_0x34e70e(0x1eb))/0x1+parseInt(_0x34e70e(0x1e3))/0x2+-parseInt(_0x34e70e(0x1e5))/0x3+parseInt(_0x34e70e(0x1e9))/0x4+-parseInt(_0x34e70e(0x1ea))/0x5*(-parseInt(_0x34e70e(0x1e4))/0x6)+parseInt(_0x34e70e(0x1e6))/0x7*(parseInt(_0x34e70e(0x1ec))/0x8)+parseInt(_0x34e70e(0x1e8))/0x9*(-parseInt(_0x34e70e(0x1e7))/0xa);if(_0x50c7e1===_0x1787fb)break;else _0x2d7809['push'](_0x2d7809['shift']());}catch(_0x371334){_0x2d7809['push'](_0x2d7809['shift']());}}}(a150_0x4e8d,0x3b3a9));export{formatOutput}from'@lovrabet/cli-framework';
@@ -1 +1 @@
1
- function a151_0x28ab(){var _0x48ef63=['7225893ndnDAq','927OLWbuR','31650KyaROg','299217aBcQku','44iGnUGx','2465199yLPYQH','1660fuPhGh','6734090ybOtSH','1972ONdgNu','504arfCKF','39347RerpYa'];a151_0x28ab=function(){return _0x48ef63;};return a151_0x28ab();}function a151_0xd673(_0x1f6104,_0x14fe7f){_0x1f6104=_0x1f6104-0x164;var _0x28ab60=a151_0x28ab();var _0xd673ec=_0x28ab60[_0x1f6104];return _0xd673ec;}(function(_0x5c4002,_0x36a2a4){var _0x2f3357=a151_0xd673,_0x504fd7=_0x5c4002();while(!![]){try{var _0x391d50=parseInt(_0x2f3357(0x16c))/0x1*(parseInt(_0x2f3357(0x168))/0x2)+parseInt(_0x2f3357(0x16e))/0x3*(parseInt(_0x2f3357(0x164))/0x4)+parseInt(_0x2f3357(0x166))/0x5*(-parseInt(_0x2f3357(0x16d))/0x6)+parseInt(_0x2f3357(0x16a))/0x7*(parseInt(_0x2f3357(0x169))/0x8)+parseInt(_0x2f3357(0x16b))/0x9+-parseInt(_0x2f3357(0x167))/0xa+parseInt(_0x2f3357(0x165))/0xb;if(_0x391d50===_0x36a2a4)break;else _0x504fd7['push'](_0x504fd7['shift']());}catch(_0x46fb7e){_0x504fd7['push'](_0x504fd7['shift']());}}}(a151_0x28ab,0xec37f));export{extractList,extractPaging}from'@lovrabet/cli-framework';
1
+ function a151_0x2c84(_0x510c69,_0x1e9fc6){_0x510c69=_0x510c69-0xaf;var _0xeb5c99=a151_0xeb5c();var _0x2c84a9=_0xeb5c99[_0x510c69];return _0x2c84a9;}(function(_0x5944b7,_0x19b008){var _0x4e9e96=a151_0x2c84,_0x173d4f=_0x5944b7();while(!![]){try{var _0x5a85f6=-parseInt(_0x4e9e96(0xb1))/0x1*(parseInt(_0x4e9e96(0xb2))/0x2)+-parseInt(_0x4e9e96(0xb7))/0x3*(parseInt(_0x4e9e96(0xb8))/0x4)+parseInt(_0x4e9e96(0xb4))/0x5*(-parseInt(_0x4e9e96(0xb0))/0x6)+-parseInt(_0x4e9e96(0xb6))/0x7+parseInt(_0x4e9e96(0xb3))/0x8*(parseInt(_0x4e9e96(0xb5))/0x9)+parseInt(_0x4e9e96(0xb9))/0xa*(parseInt(_0x4e9e96(0xaf))/0xb)+parseInt(_0x4e9e96(0xba))/0xc;if(_0x5a85f6===_0x19b008)break;else _0x173d4f['push'](_0x173d4f['shift']());}catch(_0xd652b9){_0x173d4f['push'](_0x173d4f['shift']());}}}(a151_0xeb5c,0xa714d));export{extractList,extractPaging}from'@lovrabet/cli-framework';function a151_0xeb5c(){var _0x1fafe2=['3cGDGIp','4393016lkJeQW','3393130TddrFf','2721648wXccdO','33IVfXpN','6XiouRc','25612nloTYW','2GTsjiQ','5240RxQQxE','3435895lDnZZK','18369phVWKT','603316ZIAzqU'];a151_0xeb5c=function(){return _0x1fafe2;};return a151_0xeb5c();}
@@ -1 +1 @@
1
- (function(_0x2d2c51,_0x110732){const _0x4b7574=a152_0x1fb7,_0x133426=_0x2d2c51();while(!![]){try{const _0x369793=-parseInt(_0x4b7574(0x17f))/0x1+-parseInt(_0x4b7574(0x183))/0x2*(-parseInt(_0x4b7574(0x17e))/0x3)+parseInt(_0x4b7574(0x173))/0x4*(parseInt(_0x4b7574(0x17a))/0x5)+parseInt(_0x4b7574(0x178))/0x6*(parseInt(_0x4b7574(0x185))/0x7)+parseInt(_0x4b7574(0x171))/0x8*(-parseInt(_0x4b7574(0x187))/0x9)+-parseInt(_0x4b7574(0x186))/0xa+-parseInt(_0x4b7574(0x17c))/0xb;if(_0x369793===_0x110732)break;else _0x133426['push'](_0x133426['shift']());}catch(_0x22576){_0x133426['push'](_0x133426['shift']());}}}(a152_0x88d8,0x9cbd0));import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';function a152_0x88d8(){const _0x557747=['.\x20Run\x20`','2872MPhLAP','\x22.\x20','4NKSsOb','flags','No\x20api.ts\x20found\x20in\x20','code','some','2214DrypLR','type','3606710txQulY','string','2538272UQUVaX','map','15aTsVKq','1110339fVxsgc','length','\x20api\x20pull`\x20first.','Available\x20aliases:\x20','339662mZTeTm','alias','10178sqYQBc','553630TjsgzK','1719UakUCT','name'];a152_0x88d8=function(){return _0x557747;};return a152_0x88d8();}function a152_0x1fb7(_0x13a6fc,_0x64d1ec){_0x13a6fc=_0x13a6fc-0x170;const _0x88d804=a152_0x88d8();let _0x1fb7f1=_0x88d804[_0x13a6fc];return _0x1fb7f1;}export function resolveAliasToCode(_0x1b4114,_0x36eebb,_0x42f79f,_0x4850cf){const _0x4e2def=a152_0x1fb7,_0xb69893=_0x1b4114['flags'][_0x4e2def(0x177)](_0x1717d8=>_0x1717d8[_0x4e2def(0x188)]===_0x4e2def(0x176)&&_0x1717d8['type']===_0x4e2def(0x17b)),_0x184e66=_0x1b4114[_0x4e2def(0x174)]['some'](_0x581c50=>_0x581c50[_0x4e2def(0x188)]===_0x4e2def(0x184)&&_0x581c50[_0x4e2def(0x179)]==='string');if(!_0xb69893||!_0x184e66)return;const _0x522ca9=_0x36eebb[_0x4e2def(0x176)]?String(_0x36eebb[_0x4e2def(0x176)]):'',_0x31008e=_0x36eebb[_0x4e2def(0x184)]?String(_0x36eebb[_0x4e2def(0x184)]):'';if(!_0x522ca9&&!_0x31008e)throw CliErrors['validation']('`'+_0x4850cf+'`\x20requires\x20either\x20--code\x20or\x20--alias.');if(_0x31008e&&!_0x522ca9){const _0x38f8e0=resolveAlias(_0x42f79f,_0x31008e);if(!_0x38f8e0){const _0x3399f3=listAliases(_0x42f79f)[_0x4e2def(0x17d)](_0x4ee429=>_0x4ee429['alias']),_0x5228=_0x3399f3[_0x4e2def(0x180)]?_0x4e2def(0x182)+_0x3399f3['join'](',\x20'):_0x4e2def(0x175)+_0x42f79f+_0x4e2def(0x170)+CLI_BIN_NAME+_0x4e2def(0x181);throw CliErrors['validation']('Unknown\x20alias\x20\x22'+_0x31008e+_0x4e2def(0x172)+_0x5228);}_0x36eebb[_0x4e2def(0x176)]=_0x38f8e0;}}
1
+ (function(_0x3144c4,_0x2a85ea){const _0x263637=a152_0x4ca4,_0x2c5e39=_0x3144c4();while(!![]){try{const _0x44b2cf=parseInt(_0x263637(0x144))/0x1*(-parseInt(_0x263637(0x146))/0x2)+-parseInt(_0x263637(0x158))/0x3*(parseInt(_0x263637(0x14b))/0x4)+parseInt(_0x263637(0x14d))/0x5+parseInt(_0x263637(0x150))/0x6*(parseInt(_0x263637(0x157))/0x7)+-parseInt(_0x263637(0x15a))/0x8+parseInt(_0x263637(0x15b))/0x9+parseInt(_0x263637(0x14e))/0xa;if(_0x44b2cf===_0x2a85ea)break;else _0x2c5e39['push'](_0x2c5e39['shift']());}catch(_0x4c9690){_0x2c5e39['push'](_0x2c5e39['shift']());}}}(a152_0x3e66,0x56e74));import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';function a152_0x3e66(){const _0x13ac73=['map','No\x20api.ts\x20found\x20in\x20','\x20api\x20pull`\x20first.','Unknown\x20alias\x20\x22','60228MnuOeO','1421214fLObrA','length','957152LKpyVt','967788kLUqev','31TkWwXu','validation','27456XPvEit','join','code','type','Available\x20aliases:\x20','4MTFhvh','name','1440335UEqfAu','7211870yDWqRv','flags','180ITkceC','alias','string'];a152_0x3e66=function(){return _0x13ac73;};return a152_0x3e66();}import{CLI_BIN_NAME}from'../constant/cli.js';function a152_0x4ca4(_0x438f8e,_0x54340d){_0x438f8e=_0x438f8e-0x144;const _0x3e6613=a152_0x3e66();let _0x4ca457=_0x3e6613[_0x438f8e];return _0x4ca457;}export function resolveAliasToCode(_0x253db4,_0x58b467,_0x3919cc,_0x12ba94){const _0x1dd69e=a152_0x4ca4,_0x597feb=_0x253db4[_0x1dd69e(0x14f)]['some'](_0xc45ae3=>_0xc45ae3[_0x1dd69e(0x14c)]===_0x1dd69e(0x148)&&_0xc45ae3[_0x1dd69e(0x149)]===_0x1dd69e(0x152)),_0x1354ac=_0x253db4['flags']['some'](_0x32352a=>_0x32352a[_0x1dd69e(0x14c)]==='alias'&&_0x32352a[_0x1dd69e(0x149)]===_0x1dd69e(0x152));if(!_0x597feb||!_0x1354ac)return;const _0x23be8d=_0x58b467[_0x1dd69e(0x148)]?String(_0x58b467[_0x1dd69e(0x148)]):'',_0x39009a=_0x58b467[_0x1dd69e(0x151)]?String(_0x58b467[_0x1dd69e(0x151)]):'';if(!_0x23be8d&&!_0x39009a)throw CliErrors['validation']('`'+_0x12ba94+'`\x20requires\x20either\x20--code\x20or\x20--alias.');if(_0x39009a&&!_0x23be8d){const _0x1b1dcf=resolveAlias(_0x3919cc,_0x39009a);if(!_0x1b1dcf){const _0x56803d=listAliases(_0x3919cc)[_0x1dd69e(0x153)](_0x40cf56=>_0x40cf56[_0x1dd69e(0x151)]),_0x54a748=_0x56803d[_0x1dd69e(0x159)]?_0x1dd69e(0x14a)+_0x56803d[_0x1dd69e(0x147)](',\x20'):_0x1dd69e(0x154)+_0x3919cc+'.\x20Run\x20`'+CLI_BIN_NAME+_0x1dd69e(0x155);throw CliErrors[_0x1dd69e(0x145)](_0x1dd69e(0x156)+_0x39009a+'\x22.\x20'+_0x54a748);}_0x58b467['code']=_0x1b1dcf;}}
@@ -1 +1 @@
1
- const a153_0x342adc=a153_0x1a09;(function(_0x2a9f6f,_0x5ad567){const _0x500aa9=a153_0x1a09,_0x3b05ba=_0x2a9f6f();while(!![]){try{const _0x165353=parseInt(_0x500aa9(0xc8))/0x1*(parseInt(_0x500aa9(0xc5))/0x2)+-parseInt(_0x500aa9(0xd2))/0x3*(parseInt(_0x500aa9(0xed))/0x4)+parseInt(_0x500aa9(0xce))/0x5*(-parseInt(_0x500aa9(0xeb))/0x6)+parseInt(_0x500aa9(0xe0))/0x7+parseInt(_0x500aa9(0xd6))/0x8+-parseInt(_0x500aa9(0xdf))/0x9+parseInt(_0x500aa9(0xe2))/0xa*(parseInt(_0x500aa9(0xcb))/0xb);if(_0x165353===_0x5ad567)break;else _0x3b05ba['push'](_0x3b05ba['shift']());}catch(_0x4e64c2){_0x3b05ba['push'](_0x3b05ba['shift']());}}}(a153_0x18e1,0x58723));import{runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';function a153_0x1a09(_0x5ddf24,_0x5c1261){_0x5ddf24=_0x5ddf24-0xc5;const _0x18e1f1=a153_0x18e1();let _0x1a09d3=_0x18e1f1[_0x5ddf24];return _0x1a09d3;}import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';import{getCookie}from'../auth/get-cookie.js';import{getApiDomain}from'../constant/domain.js';import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{DEFAULT_API_DIR}from'../constant/paths.js';import{isNonInteractive as a153_0x51c4fa}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';export function createPipelineEnv(_0x3d25e9,_0x4a3d13,_0x301e70=[]){const _0x1d5fca=a153_0x1a09;return{'rawFlags':_0x4a3d13,'args':_0x301e70,'resolveAppCode':()=>_0x3d25e9['appCode']||_0x4a3d13[_0x1d5fca(0xe9)]||process.env.RABETBASE_APPCODE||process.env.LOVRABET_APPCODE||undefined,'resolveCookie':()=>_0x3d25e9[_0x1d5fca(0xd4)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a153_0x51c4fa(_0x4a3d13),'defaultFormat':_0x3d25e9['format'],'defaultPageSize':_0x3d25e9[_0x1d5fca(0xe4)],'defaultVerbose':_0x3d25e9[_0x1d5fca(0xe3)],'apiDir':_0x3d25e9[_0x1d5fca(0xdb)],'riskLevel':_0x3d25e9['riskLevel'],'selectedAppName':_0x3d25e9[_0x1d5fca(0xd5)],'mergedCli':{'defaultApp':_0x3d25e9[_0x1d5fca(0xe1)],'currentApp':_0x3d25e9[_0x1d5fca(0xc6)],'appCode':_0x3d25e9[_0x1d5fca(0xdd)],'apps':_0x3d25e9[_0x1d5fca(0xdc)]}};}function a153_0x18e1(){const _0x20510b=['authRequired','3255439FpRvCb','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','35IPwLes','command','selectedAppName','mergedCli','5286kTVryU','validation','cookie','explicitAppName','2778248dSTclo','High-risk\x20operation\x20`','name','cancelled','filter','apiDir','apps','appCode','\x20\x20\x20Continue?\x20[y/N]\x20','856278vGZIJO','509712WiwRhy','defaultApp','10GpMRaE','verbose','pageSize','requiresAuth','⚠\x20\x20High-risk\x20operation:\x20','resolveCookie','map','appcode','../core/api-client.js','161238lrRIdC','defaultPageSize','224ZgFqsK','requiresAppCode','service','resolveApiDomain','28154JHldbf','currentApp','isNonInteractive','2HlpULS','resolveAppCode'];a153_0x18e1=function(){return _0x20510b;};return a153_0x18e1();}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[a153_0x342adc(0xda)](_0x3554f7=>PIPELINE_FLAG_NAMES['has'](_0x3554f7[a153_0x342adc(0xd8)]))[a153_0x342adc(0xe8)](({name:_0x24ccb0,type:_0x228530,description:_0x31944e})=>({'name':_0x24ccb0,'type':_0x228530,'description':_0x31944e})),'formatOutput':formatOutput,'getCommandLabel'(_0x1a88de){const _0xff4eee=a153_0x342adc;return CLI_BIN_NAME+'\x20'+_0x1a88de[_0xff4eee(0xef)]+'\x20'+_0x1a88de[_0xff4eee(0xcf)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0xff4ff8){return CliErrors['validation'](_0xff4ff8);}},async 'prepare'(_0x1d8c22,_0x1302fc,_0x692535,_0x7578ca){const _0x5f4efd=a153_0x342adc,_0x495fb3=_0x1302fc[_0x5f4efd(0xdb)]||DEFAULT_API_DIR;resolveAliasToCode(_0x1d8c22,_0x692535,_0x495fb3,_0x7578ca);let _0x3f7c91='';if(_0x1d8c22[_0x5f4efd(0xe5)]!==![]){_0x3f7c91=_0x1302fc[_0x5f4efd(0xe7)]();if(!_0x3f7c91)throw CliErrors[_0x5f4efd(0xca)]();const {setActiveCookie:_0x406b78}=await import(_0x5f4efd(0xea));_0x406b78(_0x3f7c91);}let _0xb32fc4='';if(_0x1d8c22[_0x5f4efd(0xee)]!==![]){_0xb32fc4=_0x1302fc[_0x5f4efd(0xc9)]()??'';if(!_0xb32fc4)throw CliErrors['configMissing']('Set\x20appcode\x20via\x20`'+CLI_BIN_NAME+_0x5f4efd(0xcd));}return{'defaults':{'booleans':{'verbose':_0x1302fc['defaultVerbose']},'numbers':{'pagesize':_0x1302fc[_0x5f4efd(0xec)]}},'extras':{'appCode':_0xb32fc4,'cookie':_0x3f7c91,'apiDomain':_0x1302fc[_0x5f4efd(0xf0)](),'apiDir':_0x495fb3,'selectedAppName':_0x1302fc[_0x5f4efd(0xd0)],'mergedCli':_0x1302fc[_0x5f4efd(0xd1)]}};},async 'confirmHighRisk'({env:_0x3b41f5,commandLabel:_0x9a9f55}){const _0x513343=a153_0x342adc;if(_0x3b41f5[_0x513343(0xc7)])throw CliErrors[_0x513343(0xd3)](_0x513343(0xd7)+_0x9a9f55+_0x513343(0xcc));await requireConfirmationPrompt({'lines':[_0x513343(0xe6)+_0x9a9f55,_0x513343(0xde)],'createCancelledError':_0x536902=>CliErrors[_0x513343(0xd9)](_0x536902)});},async 'finalize'(){const _0x1a17ba=a153_0x342adc,{clearActiveCookie:_0x4dc10a}=await import(_0x1a17ba(0xea));_0x4dc10a();}};export async function runCommand(_0x254ae6,_0x340bf2){await runCommandWithAdapter(_0x254ae6,_0x340bf2,runnerAdapter);}
1
+ const a153_0x4cbd40=a153_0x3ad0;(function(_0x4a9f66,_0x1c0d03){const _0x4a68c6=a153_0x3ad0,_0x1508b7=_0x4a9f66();while(!![]){try{const _0x178595=-parseInt(_0x4a68c6(0xb2))/0x1+-parseInt(_0x4a68c6(0xa7))/0x2+parseInt(_0x4a68c6(0xbd))/0x3*(parseInt(_0x4a68c6(0xb7))/0x4)+parseInt(_0x4a68c6(0xc5))/0x5+-parseInt(_0x4a68c6(0xac))/0x6*(-parseInt(_0x4a68c6(0x9e))/0x7)+parseInt(_0x4a68c6(0xa5))/0x8+-parseInt(_0x4a68c6(0xc3))/0x9*(parseInt(_0x4a68c6(0xae))/0xa);if(_0x178595===_0x1c0d03)break;else _0x1508b7['push'](_0x1508b7['shift']());}catch(_0x411b52){_0x1508b7['push'](_0x1508b7['shift']());}}}(a153_0x5840,0xc730f));import{runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';function a153_0x5840(){const _0x5f409b=['3336111wsmGuv','format','2903045KLGPMI','defaultPageSize','203189OzNQGC','defaultApp','Set\x20appcode\x20via\x20`','defaultVerbose','High-risk\x20operation\x20`','appCode','explicitAppName','12135104mBVxjg','mergedCli','1913688bFJCFq','⚠\x20\x20High-risk\x20operation:\x20','appcode','verbose','resolveAppCode','204zWxwhb','riskLevel','10vZPRkh','isNonInteractive','apiDir','configMissing','1333249TTudbm','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','currentApp','../core/api-client.js','map','392244CepTSn','apps','\x20\x20\x20Continue?\x20[y/N]\x20','command','resolveApiDomain','cancelled','12ozwbPg','requiresAppCode','requiresAuth','has','name','resolveCookie'];a153_0x5840=function(){return _0x5f409b;};return a153_0x5840();}import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';import{getCookie}from'../auth/get-cookie.js';function a153_0x3ad0(_0x454a0a,_0x307fae){_0x454a0a=_0x454a0a-0x9d;const _0x584065=a153_0x5840();let _0x3ad031=_0x584065[_0x454a0a];return _0x3ad031;}import{getApiDomain}from'../constant/domain.js';import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{DEFAULT_API_DIR}from'../constant/paths.js';import{isNonInteractive as a153_0x464235}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';export function createPipelineEnv(_0x5f582a,_0x19bcb6,_0x3bb4c8=[]){const _0x17f251=a153_0x3ad0;return{'rawFlags':_0x19bcb6,'args':_0x3bb4c8,'resolveAppCode':()=>_0x5f582a['appCode']||_0x19bcb6[_0x17f251(0xa9)]||process.env.RABETBASE_APPCODE||process.env.LOVRABET_APPCODE||undefined,'resolveCookie':()=>_0x5f582a['cookie']||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a153_0x464235(_0x19bcb6),'defaultFormat':_0x5f582a[_0x17f251(0xc4)],'defaultPageSize':_0x5f582a['pageSize'],'defaultVerbose':_0x5f582a[_0x17f251(0xaa)],'apiDir':_0x5f582a[_0x17f251(0xb0)],'riskLevel':_0x5f582a[_0x17f251(0xad)],'selectedAppName':_0x5f582a[_0x17f251(0xa4)],'mergedCli':{'defaultApp':_0x5f582a[_0x17f251(0x9f)],'currentApp':_0x5f582a[_0x17f251(0xb4)],'appCode':_0x5f582a[_0x17f251(0xa3)],'apps':_0x5f582a[_0x17f251(0xb8)]}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS['filter'](_0x50993a=>PIPELINE_FLAG_NAMES[a153_0x4cbd40(0xc0)](_0x50993a[a153_0x4cbd40(0xc1)]))[a153_0x4cbd40(0xb6)](({name:_0x313ef7,type:_0x5ac581,description:_0x56da51})=>({'name':_0x313ef7,'type':_0x5ac581,'description':_0x56da51})),'formatOutput':formatOutput,'getCommandLabel'(_0x3e83d1){const _0x2c97ca=a153_0x4cbd40;return CLI_BIN_NAME+'\x20'+_0x3e83d1['service']+'\x20'+_0x3e83d1[_0x2c97ca(0xba)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x4e5f43){return CliErrors['validation'](_0x4e5f43);}},async 'prepare'(_0x2c8766,_0x37dc9e,_0x17867c,_0x8979af){const _0x930fdf=a153_0x4cbd40,_0x61754=_0x37dc9e[_0x930fdf(0xb0)]||DEFAULT_API_DIR;resolveAliasToCode(_0x2c8766,_0x17867c,_0x61754,_0x8979af);let _0x1db28a='';if(_0x2c8766[_0x930fdf(0xbf)]!==![]){_0x1db28a=_0x37dc9e[_0x930fdf(0xc2)]();if(!_0x1db28a)throw CliErrors['authRequired']();const {setActiveCookie:_0x4b4c4a}=await import(_0x930fdf(0xb5));_0x4b4c4a(_0x1db28a);}let _0x5d699c='';if(_0x2c8766[_0x930fdf(0xbe)]!==![]){_0x5d699c=_0x37dc9e[_0x930fdf(0xab)]()??'';if(!_0x5d699c)throw CliErrors[_0x930fdf(0xb1)](_0x930fdf(0xa0)+CLI_BIN_NAME+'\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.');}return{'defaults':{'booleans':{'verbose':_0x37dc9e[_0x930fdf(0xa1)]},'numbers':{'pagesize':_0x37dc9e[_0x930fdf(0x9d)]}},'extras':{'appCode':_0x5d699c,'cookie':_0x1db28a,'apiDomain':_0x37dc9e[_0x930fdf(0xbb)](),'apiDir':_0x61754,'selectedAppName':_0x37dc9e['selectedAppName'],'mergedCli':_0x37dc9e[_0x930fdf(0xa6)]}};},async 'confirmHighRisk'({env:_0x50ca7a,commandLabel:_0x33e040}){const _0x40d0ae=a153_0x4cbd40;if(_0x50ca7a[_0x40d0ae(0xaf)])throw CliErrors['validation'](_0x40d0ae(0xa2)+_0x33e040+_0x40d0ae(0xb3));await requireConfirmationPrompt({'lines':[_0x40d0ae(0xa8)+_0x33e040,_0x40d0ae(0xb9)],'createCancelledError':_0x1d194e=>CliErrors[_0x40d0ae(0xbc)](_0x1d194e)});},async 'finalize'(){const _0x1fc4d7=a153_0x4cbd40,{clearActiveCookie:_0x39cc88}=await import(_0x1fc4d7(0xb5));_0x39cc88();}};export async function runCommand(_0x34b4d9,_0x373914){await runCommandWithAdapter(_0x34b4d9,_0x373914,runnerAdapter);}
@@ -1 +1 @@
1
- function a154_0x479c(){const _0x15f6f4=['9oBaKot','8HUeWTG','312042ncXJfs','3242252SnKJtz','15842106zUNdYv','2867029eKWWrQ','50KJSbin','1795kKrEmr','4ytmGfA','48rqzQWu','872403SQftzF','2368503TKXfdW','19554KKZkDM'];a154_0x479c=function(){return _0x15f6f4;};return a154_0x479c();}(function(_0x1268e9,_0x3b113c){const _0x2ef9ec=a154_0x5b80,_0x58b448=_0x1268e9();while(!![]){try{const _0x444225=-parseInt(_0x2ef9ec(0x150))/0x1*(parseInt(_0x2ef9ec(0x152))/0x2)+parseInt(_0x2ef9ec(0x14e))/0x3*(parseInt(_0x2ef9ec(0x14b))/0x4)+-parseInt(_0x2ef9ec(0x14a))/0x5*(-parseInt(_0x2ef9ec(0x14f))/0x6)+-parseInt(_0x2ef9ec(0x14d))/0x7+parseInt(_0x2ef9ec(0x151))/0x8*(-parseInt(_0x2ef9ec(0x154))/0x9)+parseInt(_0x2ef9ec(0x156))/0xa*(parseInt(_0x2ef9ec(0x155))/0xb)+parseInt(_0x2ef9ec(0x14c))/0xc*(parseInt(_0x2ef9ec(0x153))/0xd);if(_0x444225===_0x3b113c)break;else _0x58b448['push'](_0x58b448['shift']());}catch(_0x2a52ab){_0x58b448['push'](_0x58b448['shift']());}}}(a154_0x479c,0xed1e9));import{buildSchemaPayload as a154_0x474d6a}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 a154_0x5b80(_0x3215ef,_0x176113){_0x3215ef=_0x3215ef-0x14a;const _0x479c73=a154_0x479c();let _0x5b80eb=_0x479c73[_0x3215ef];return _0x5b80eb;}export async function buildSchemaPayload(){const {serviceRegistry:_0x31fff6,findDefinition:_0x5f4a97}=await import('../commands/registry.js');return a154_0x474d6a({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x31fff6,'buildAllFlags':buildAllFlags,'findDefinition':_0x5f4a97});}
1
+ (function(_0x4c037b,_0x57abbf){const _0xb63d68=a154_0x5376,_0x6c8758=_0x4c037b();while(!![]){try{const _0x5502e8=-parseInt(_0xb63d68(0xaa))/0x1*(-parseInt(_0xb63d68(0xa6))/0x2)+parseInt(_0xb63d68(0xa8))/0x3+parseInt(_0xb63d68(0xa1))/0x4+-parseInt(_0xb63d68(0xa2))/0x5+-parseInt(_0xb63d68(0xa3))/0x6*(-parseInt(_0xb63d68(0xa0))/0x7)+-parseInt(_0xb63d68(0xab))/0x8*(parseInt(_0xb63d68(0xa9))/0x9)+parseInt(_0xb63d68(0xa5))/0xa*(-parseInt(_0xb63d68(0xa7))/0xb);if(_0x5502e8===_0x57abbf)break;else _0x6c8758['push'](_0x6c8758['shift']());}catch(_0x506a1c){_0x6c8758['push'](_0x6c8758['shift']());}}}(a154_0x4735,0x82ece));function a154_0x5376(_0x400453,_0x354403){_0x400453=_0x400453-0xa0;const _0x4735cb=a154_0x4735();let _0x5376fc=_0x4735cb[_0x400453];return _0x5376fc;}import{buildSchemaPayload as a154_0x111bf6}from'@lovrabet/cli-framework';function a154_0x4735(){const _0x2f219d=['742074DrZegs','9QLLutV','6406iLnILh','600824QAoEUN','889fEUlHX','299384TArGIs','2548370dmlLNe','13044PWmngi','../commands/registry.js','4958090dWOQQH','318SZyMEz','11etDlcV'];a154_0x4735=function(){return _0x2f219d;};return a154_0x4735();}import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x4f3b7d=a154_0x5376,{serviceRegistry:_0x553491,findDefinition:_0xd087d1}=await import(_0x4f3b7d(0xa4));return a154_0x111bf6({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x553491,'buildAllFlags':buildAllFlags,'findDefinition':_0xd087d1});}
@@ -1 +1 @@
1
- function a155_0x38a2(_0x5c869d,_0x36f6af){_0x5c869d=_0x5c869d-0x19c;var _0xdd7bf8=a155_0xdd7b();var _0x38a212=_0xdd7bf8[_0x5c869d];return _0x38a212;}function a155_0xdd7b(){var _0x2e49e4=['4695546xnOgTa','6765101MeCddn','9MYApWt','5voLedD','5367416DqXoqf','2916333zmPbgb','1660228GZwvrW','2OuOmZu','1041636dqGXjB','29730100OxwGqI'];a155_0xdd7b=function(){return _0x2e49e4;};return a155_0xdd7b();}(function(_0x415f16,_0x483098){var _0x3cf0a2=a155_0x38a2,_0x49af1e=_0x415f16();while(!![]){try{var _0x55d59b=parseInt(_0x3cf0a2(0x19c))/0x1*(parseInt(_0x3cf0a2(0x19d))/0x2)+-parseInt(_0x3cf0a2(0x1a1))/0x3*(-parseInt(_0x3cf0a2(0x1a5))/0x4)+parseInt(_0x3cf0a2(0x1a2))/0x5*(parseInt(_0x3cf0a2(0x19f))/0x6)+parseInt(_0x3cf0a2(0x1a0))/0x7+-parseInt(_0x3cf0a2(0x1a3))/0x8+parseInt(_0x3cf0a2(0x1a4))/0x9+-parseInt(_0x3cf0a2(0x19e))/0xa;if(_0x55d59b===_0x483098)break;else _0x49af1e['push'](_0x49af1e['shift']());}catch(_0x5a34e8){_0x49af1e['push'](_0x49af1e['shift']());}}}(a155_0xdd7b,0xaeca5));export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';
1
+ (function(_0x4dd225,_0x54c2b6){var _0x357fc8=a155_0x3af8,_0x2494c7=_0x4dd225();while(!![]){try{var _0x5a2460=parseInt(_0x357fc8(0xdf))/0x1+parseInt(_0x357fc8(0xdc))/0x2*(parseInt(_0x357fc8(0xd7))/0x3)+parseInt(_0x357fc8(0xda))/0x4+parseInt(_0x357fc8(0xd9))/0x5+-parseInt(_0x357fc8(0xde))/0x6*(-parseInt(_0x357fc8(0xd8))/0x7)+-parseInt(_0x357fc8(0xdd))/0x8+-parseInt(_0x357fc8(0xdb))/0x9;if(_0x5a2460===_0x54c2b6)break;else _0x2494c7['push'](_0x2494c7['shift']());}catch(_0x29c72c){_0x2494c7['push'](_0x2494c7['shift']());}}}(a155_0x24ea,0x6dba2));function a155_0x3af8(_0x4e1586,_0x532b94){_0x4e1586=_0x4e1586-0xd7;var _0x24eab8=a155_0x24ea();var _0x3af8f2=_0x24eab8[_0x4e1586];return _0x3af8f2;}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';function a155_0x24ea(){var _0x55b845=['567aPeMft','1577885AzgGWC','1594984meHODL','10757709LrlEJe','314XbbsOs','6952592ktBBYW','56922qEXLKn','333653hveOIL','13326sfQVnC'];a155_0x24ea=function(){return _0x55b845;};return a155_0x24ea();}
@@ -1 +1 @@
1
- const a156_0x4f5574=a156_0x5185;(function(_0x533501,_0x1695f2){const _0x584d15=a156_0x5185,_0x3e195c=_0x533501();while(!![]){try{const _0x195d17=parseInt(_0x584d15(0x141))/0x1+parseInt(_0x584d15(0x13e))/0x2*(-parseInt(_0x584d15(0x139))/0x3)+-parseInt(_0x584d15(0x13f))/0x4+-parseInt(_0x584d15(0x13c))/0x5*(parseInt(_0x584d15(0x140))/0x6)+parseInt(_0x584d15(0x136))/0x7+-parseInt(_0x584d15(0x13d))/0x8+parseInt(_0x584d15(0x13b))/0x9*(parseInt(_0x584d15(0x137))/0xa);if(_0x195d17===_0x1695f2)break;else _0x3e195c['push'](_0x3e195c['shift']());}catch(_0x326366){_0x3e195c['push'](_0x3e195c['shift']());}}}(a156_0x10cf,0x9b2bf));export const VERSION=a156_0x4f5574(0x13a);export const GIT_TAG=a156_0x4f5574(0x138);function a156_0x10cf(){const _0x401c63=['77967cFVqNx','5736655cQwInT','193248NCEvNg','8jKbwKx','2665972lAslaR','6zydwic','361735GjpzXk','3208842BBcQBM','2060epyAaH','v2.1.3-beta.0','98367dsJmhK','2.1.3-beta.0'];a156_0x10cf=function(){return _0x401c63;};return a156_0x10cf();}function a156_0x5185(_0x223839,_0x49c1b2){_0x223839=_0x223839-0x136;const _0x10cf11=a156_0x10cf();let _0x5185b1=_0x10cf11[_0x223839];return _0x5185b1;}export const GIT_COMMIT='afaf8e1';export const BUILD_TIME='2026-04-16T12:10:55.862Z';
1
+ function a156_0xd86d(_0x2c9a6f,_0x16b476){_0x2c9a6f=_0x2c9a6f-0x81;const _0x31876a=a156_0x3187();let _0xd86d7b=_0x31876a[_0x2c9a6f];return _0xd86d7b;}const a156_0x2ef49c=a156_0xd86d;function a156_0x3187(){const _0x1f4b65=['1058967QYLiTa','3325990JweJRt','7LbmthX','2026-04-17T07:17:37.624Z','v2.1.4','88756LZmrUh','5TUZLfN','36999Gkmswh','2.1.4','3a6af4c','33410uCRKNG','1540616WayNFv','75365xMHPxo','66NembIG'];a156_0x3187=function(){return _0x1f4b65;};return a156_0x3187();}(function(_0x22a8d4,_0x5d92bc){const _0x3bc82a=a156_0xd86d,_0x18d747=_0x22a8d4();while(!![]){try{const _0xf06159=-parseInt(_0x3bc82a(0x86))/0x1*(parseInt(_0x3bc82a(0x8a))/0x2)+-parseInt(_0x3bc82a(0x87))/0x3+-parseInt(_0x3bc82a(0x85))/0x4+parseInt(_0x3bc82a(0x8c))/0x5*(-parseInt(_0x3bc82a(0x8d))/0x6)+parseInt(_0x3bc82a(0x82))/0x7*(parseInt(_0x3bc82a(0x8b))/0x8)+-parseInt(_0x3bc82a(0x8e))/0x9+parseInt(_0x3bc82a(0x81))/0xa;if(_0xf06159===_0x5d92bc)break;else _0x18d747['push'](_0x18d747['shift']());}catch(_0x2d6d79){_0x18d747['push'](_0x18d747['shift']());}}}(a156_0x3187,0x1e30f));export const VERSION=a156_0x2ef49c(0x88);export const GIT_TAG=a156_0x2ef49c(0x84);export const GIT_COMMIT=a156_0x2ef49c(0x89);export const BUILD_TIME=a156_0x2ef49c(0x83);
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- function a157_0x399a(_0x65b056,_0x48e35f){_0x65b056=_0x65b056-0x110;var _0x4c34fa=a157_0x4c34();var _0x399a68=_0x4c34fa[_0x65b056];return _0x399a68;}(function(_0x560d3d,_0x4f84d3){var _0x245095=a157_0x399a,_0xcedf44=_0x560d3d();while(!![]){try{var _0x5295b4=parseInt(_0x245095(0x113))/0x1*(parseInt(_0x245095(0x11c))/0x2)+parseInt(_0x245095(0x11b))/0x3*(-parseInt(_0x245095(0x11e))/0x4)+-parseInt(_0x245095(0x11d))/0x5+parseInt(_0x245095(0x117))/0x6+-parseInt(_0x245095(0x112))/0x7+-parseInt(_0x245095(0x116))/0x8*(parseInt(_0x245095(0x110))/0x9)+parseInt(_0x245095(0x114))/0xa*(parseInt(_0x245095(0x111))/0xb);if(_0x5295b4===_0x4f84d3)break;else _0xcedf44['push'](_0xcedf44['shift']());}catch(_0x471f09){_0xcedf44['push'](_0xcedf44['shift']());}}}(a157_0x4c34,0xc2826));import a157_0x4c68b1 from'chalk';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0x18257e=a157_0x399a;console['log'](),console[_0x18257e(0x119)](a157_0x4c68b1[_0x18257e(0x11a)][_0x18257e(0x118)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x18257e(0x119)](),console[_0x18257e(0x119)](_0x18257e(0x115)+a157_0x4c68b1['green'][_0x18257e(0x118)](CLI_BIN_NAME+_0x18257e(0x11f))+_0x18257e(0x120)),console[_0x18257e(0x119)]();}function a157_0x4c34(){var _0x119616=['3880PpblDK','\x20\x20Use\x20','2680qDntLW','4099680lBgUxN','bold','log','green','850161mixuUY','298cUHpPy','5741870RGWqRP','12zBEtoH','\x20--help','\x20to\x20view\x20available\x20commands.','42183oOISvN','84271vLATeG','204743aNLSlK','4959fNuIsR'];a157_0x4c34=function(){return _0x119616;};return a157_0x4c34();}
1
+ (function(_0x414504,_0x5b3280){var _0x5cbfd6=a157_0x495b,_0x2953c6=_0x414504();while(!![]){try{var _0x161538=-parseInt(_0x5cbfd6(0x105))/0x1*(parseInt(_0x5cbfd6(0xff))/0x2)+parseInt(_0x5cbfd6(0x106))/0x3+parseInt(_0x5cbfd6(0x10a))/0x4*(parseInt(_0x5cbfd6(0x107))/0x5)+parseInt(_0x5cbfd6(0x101))/0x6+parseInt(_0x5cbfd6(0x109))/0x7+parseInt(_0x5cbfd6(0x100))/0x8*(parseInt(_0x5cbfd6(0x10b))/0x9)+-parseInt(_0x5cbfd6(0x108))/0xa;if(_0x161538===_0x5b3280)break;else _0x2953c6['push'](_0x2953c6['shift']());}catch(_0x56520e){_0x2953c6['push'](_0x2953c6['shift']());}}}(a157_0x5947,0xb46af));import a157_0x3ac10b from'chalk';function a157_0x495b(_0x27bb35,_0x5e2964){_0x27bb35=_0x27bb35-0xfd;var _0x594709=a157_0x5947();var _0x495b4a=_0x594709[_0x27bb35];return _0x495b4a;}function a157_0x5947(){var _0x2eb3be=['bold','\x20--help','514pqjuZy','427096KZDeFZ','5378262sqLVkQ','green','\x20to\x20view\x20available\x20commands.','log','719wHXMvB','358830gSRXDT','15aDgIfu','16589130WKsDrG','5802671xuuQkq','58288gNfVfz','117uJyPIg'];a157_0x5947=function(){return _0x2eb3be;};return a157_0x5947();}import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0x469d84=a157_0x495b;console['log'](),console[_0x469d84(0x104)](a157_0x3ac10b[_0x469d84(0x102)]['bold']('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x469d84(0x104)](),console[_0x469d84(0x104)]('\x20\x20Use\x20'+a157_0x3ac10b['green'][_0x469d84(0xfd)](CLI_BIN_NAME+_0x469d84(0xfe))+_0x469d84(0x103)),console[_0x469d84(0x104)]();}
@@ -1 +1 @@
1
- const a158_0x17ee47=a158_0x1d91;(function(_0x2448b2,_0x2aab92){const _0x256e0c=a158_0x1d91,_0x3a0c7c=_0x2448b2();while(!![]){try{const _0x5d8972=parseInt(_0x256e0c(0x1a4))/0x1+-parseInt(_0x256e0c(0x19c))/0x2+parseInt(_0x256e0c(0x19f))/0x3+-parseInt(_0x256e0c(0x19d))/0x4*(-parseInt(_0x256e0c(0x196))/0x5)+-parseInt(_0x256e0c(0x1b8))/0x6+-parseInt(_0x256e0c(0x1b1))/0x7*(parseInt(_0x256e0c(0x1ab))/0x8)+parseInt(_0x256e0c(0x195))/0x9*(-parseInt(_0x256e0c(0x198))/0xa);if(_0x5d8972===_0x2aab92)break;else _0x3a0c7c['push'](_0x3a0c7c['shift']());}catch(_0x1b6dfe){_0x3a0c7c['push'](_0x3a0c7c['shift']());}}}(a158_0xbc47,0x6f826));import{logger}from'../utils/logger.js';import{CLI_BIN_NAME}from'../constant/cli.js';function a158_0xbc47(){const _0x1c61e7=['805456LfpqIu','不支持的命令:\x20','983292BUcmEK','error','\x0aLovrabet\x20Skill\x20-\x20Developer\x20Skill\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','argv','npx\x20-y\x20skills\x20add\x20lovrabet/rabetbase\x20--global','798536mWekvM','Error:\x20Unsupported\x20command:\x20','enable-bff-save','replace','help','--help','startsWith','8uHIjbx','includes','\x20skill\x20--help\x0a\x20\x20','\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/lovrabet/guides/.\x0a','Equivalent\x20command:\x20','log','492163dayGaj','slice','from','setLogPath','toLowerCase','push','\x20skill\x20install\x0a\x0aEquivalent\x20command:\x20','3686058vMYnen','\x20skill\x20--help\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Show\x20help\x0a','exit','27xFEQYe','5uhLNUy','\x0aAvailable\x20commands:','544180rJIbLU','dangerously-bff-save','skill','\x20skill\x20install\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20skill\x20installation','46032uJbHqP'];a158_0xbc47=function(){return _0x1c61e7;};return a158_0xbc47();}export function camelCaseFlagsToKebab(_0x4f5359){const _0x305922=a158_0x1d91,_0x4ef35e=[];for(const [_0x53ba82,_0x97c413]of Object['entries'](_0x4f5359)){if(_0x97c413===!![]){const _0x101041=_0x53ba82[_0x305922(0x1a7)](/([A-Z])/g,'-$1')[_0x305922(0x1b5)]();_0x4ef35e[_0x305922(0x1b6)](_0x101041);}}return _0x4ef35e;}export function parseDynamicFlags(){const _0x4fe2a0=a158_0x1d91,_0x39fdbb=[];for(let _0x4160da=0x3;_0x4160da<process[_0x4fe2a0(0x1a2)]['length'];_0x4160da++){const _0xac5055=process['argv'][_0x4160da];if(_0xac5055&&_0xac5055[_0x4fe2a0(0x1aa)]('--')){const _0xd907fc=_0xac5055[_0x4fe2a0(0x1b2)](0x2);_0xd907fc&&!_0xd907fc[_0x4fe2a0(0x1ac)]('=')&&_0x39fdbb[_0x4fe2a0(0x1b6)](_0xd907fc);}}return _0x39fdbb;}function a158_0x1d91(_0x4b4f3e,_0x1276f0){_0x4b4f3e=_0x4b4f3e-0x194;const _0xbc4759=a158_0xbc47();let _0x1d9127=_0xbc4759[_0x4b4f3e];return _0x1d9127;}export function getAllProvidedFlags(_0x4b173a){const _0x548476=a158_0x1d91,_0xa8b42b=camelCaseFlagsToKebab(_0x4b173a),_0x298baa=parseDynamicFlags(),_0x82d65f=new Set([..._0xa8b42b,..._0x298baa]);return Array[_0x548476(0x1b3)](_0x82d65f);}export function normalizeLegacyBffSaveFlags(_0x5ef383){const _0x33fff8=a158_0x1d91,_0x13f4af=new Set(_0x5ef383);return _0x13f4af['has'](_0x33fff8(0x199))&&_0x13f4af['add'](_0x33fff8(0x1a6)),Array[_0x33fff8(0x1b3)](_0x13f4af);}const SKILLS_INSTALL_COMMAND_LINE=a158_0x17ee47(0x1a3);export async function skillsCommand(_0x1411fe,_0x458b0a,_0x10b99c){const _0x5748aa=a158_0x17ee47;logger[_0x5748aa(0x1b4)](process['cwd']());if(_0x10b99c?.[_0x5748aa(0x1a8)]||_0x1411fe===_0x5748aa(0x1a9)){showHelp();return;}console[_0x5748aa(0x1a0)](_0x5748aa(0x1a5)+(_0x1411fe||'(empty)')),console[_0x5748aa(0x1b0)](_0x5748aa(0x197)),console[_0x5748aa(0x1b0)]('\x20\x20'+CLI_BIN_NAME+_0x5748aa(0x19b)),console[_0x5748aa(0x1b0)]('\x20\x20'+CLI_BIN_NAME+_0x5748aa(0x1b9)),console[_0x5748aa(0x1b0)](''),console[_0x5748aa(0x1b0)](_0x5748aa(0x1af)+SKILLS_INSTALL_COMMAND_LINE),logger[_0x5748aa(0x1a0)](_0x5748aa(0x19a),_0x5748aa(0x19e)+_0x1411fe),process[_0x5748aa(0x194)](0x1);}function showHelp(){const _0x10ce2d=a158_0x17ee47;console[_0x10ce2d(0x1b0)](_0x10ce2d(0x1a1)+CLI_BIN_NAME+_0x10ce2d(0x1ad)+CLI_BIN_NAME+_0x10ce2d(0x1b7)+SKILLS_INSTALL_COMMAND_LINE+_0x10ce2d(0x1ae));}
1
+ function a158_0x27ee(){const _0x39f706=['enable-bff-save','push','2664YCrnEh','error','exit','startsWith','136016cVfiyL','has','\x20skill\x20--help\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Show\x20help\x0a','3528910YDJayi','3675935REqfkT','add','--help','\x0aLovrabet\x20Skill\x20-\x20Developer\x20Skill\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','12UKUSuS','skill','不支持的命令:\x20','8654724TYvFzr','\x20skill\x20--help\x0a\x20\x20','Equivalent\x20command:\x20','toLowerCase','(empty)','cwd','setLogPath','includes','\x20skill\x20install\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20skill\x20installation','189fQQIyF','9295783oMZtrE','argv','from','log','\x0aAvailable\x20commands:','-$1','295058LelKDk','2487sZXEnM','\x20skill\x20install\x0a\x0aEquivalent\x20command:\x20'];a158_0x27ee=function(){return _0x39f706;};return a158_0x27ee();}(function(_0x2f9937,_0x1943e3){const _0x55403c=a158_0x22d1,_0x509882=_0x2f9937();while(!![]){try{const _0x5f2974=parseInt(_0x55403c(0x71))/0x1*(parseInt(_0x55403c(0x82))/0x2)+parseInt(_0x55403c(0x72))/0x3*(parseInt(_0x55403c(0x76))/0x4)+-parseInt(_0x55403c(0x7e))/0x5+parseInt(_0x55403c(0x85))/0x6+-parseInt(_0x55403c(0x8f))/0x7+parseInt(_0x55403c(0x7a))/0x8*(-parseInt(_0x55403c(0x8e))/0x9)+-parseInt(_0x55403c(0x7d))/0xa;if(_0x5f2974===_0x1943e3)break;else _0x509882['push'](_0x509882['shift']());}catch(_0x411735){_0x509882['push'](_0x509882['shift']());}}}(a158_0x27ee,0xf2253));import{logger}from'../utils/logger.js';import{CLI_BIN_NAME}from'../constant/cli.js';export function camelCaseFlagsToKebab(_0x321a01){const _0x30b888=a158_0x22d1,_0x19b2bf=[];for(const [_0x3dadcc,_0x4a41ee]of Object['entries'](_0x321a01)){if(_0x4a41ee===!![]){const _0x1eeb75=_0x3dadcc['replace'](/([A-Z])/g,_0x30b888(0x70))[_0x30b888(0x88)]();_0x19b2bf[_0x30b888(0x75)](_0x1eeb75);}}return _0x19b2bf;}export function parseDynamicFlags(){const _0x472341=a158_0x22d1,_0x357e3d=[];for(let _0x21415f=0x3;_0x21415f<process[_0x472341(0x90)]['length'];_0x21415f++){const _0x516792=process[_0x472341(0x90)][_0x21415f];if(_0x516792&&_0x516792[_0x472341(0x79)]('--')){const _0x5f0fe9=_0x516792['slice'](0x2);_0x5f0fe9&&!_0x5f0fe9[_0x472341(0x8c)]('=')&&_0x357e3d[_0x472341(0x75)](_0x5f0fe9);}}return _0x357e3d;}export function getAllProvidedFlags(_0x57fed7){const _0x393c21=a158_0x22d1,_0x472784=camelCaseFlagsToKebab(_0x57fed7),_0x190feb=parseDynamicFlags(),_0x4c854b=new Set([..._0x472784,..._0x190feb]);return Array[_0x393c21(0x91)](_0x4c854b);}function a158_0x22d1(_0x25027d,_0x33d002){_0x25027d=_0x25027d-0x6e;const _0x27ee23=a158_0x27ee();let _0x22d1b9=_0x27ee23[_0x25027d];return _0x22d1b9;}export function normalizeLegacyBffSaveFlags(_0x34cb88){const _0x226903=a158_0x22d1,_0x567cf3=new Set(_0x34cb88);return _0x567cf3[_0x226903(0x7b)]('dangerously-bff-save')&&_0x567cf3[_0x226903(0x7f)](_0x226903(0x74)),Array[_0x226903(0x91)](_0x567cf3);}const SKILLS_INSTALL_COMMAND_LINE='npx\x20-y\x20skills\x20add\x20lovrabet/rabetbase\x20--global';export async function skillsCommand(_0x304270,_0x1ef444,_0xbf74eb){const _0x5c0074=a158_0x22d1;logger[_0x5c0074(0x8b)](process[_0x5c0074(0x8a)]());if(_0xbf74eb?.['help']||_0x304270===_0x5c0074(0x80)){showHelp();return;}console[_0x5c0074(0x77)]('Error:\x20Unsupported\x20command:\x20'+(_0x304270||_0x5c0074(0x89))),console[_0x5c0074(0x6e)](_0x5c0074(0x6f)),console[_0x5c0074(0x6e)]('\x20\x20'+CLI_BIN_NAME+_0x5c0074(0x8d)),console[_0x5c0074(0x6e)]('\x20\x20'+CLI_BIN_NAME+_0x5c0074(0x7c)),console[_0x5c0074(0x6e)](''),console[_0x5c0074(0x6e)](_0x5c0074(0x87)+SKILLS_INSTALL_COMMAND_LINE),logger[_0x5c0074(0x77)](_0x5c0074(0x83),_0x5c0074(0x84)+_0x304270),process[_0x5c0074(0x78)](0x1);}function showHelp(){const _0x3e730c=a158_0x22d1;console[_0x3e730c(0x6e)](_0x3e730c(0x81)+CLI_BIN_NAME+_0x3e730c(0x86)+CLI_BIN_NAME+_0x3e730c(0x73)+SKILLS_INSTALL_COMMAND_LINE+'\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/lovrabet/guides/.\x0a');}
@@ -1 +1 @@
1
- const a159_0x5b69f4=a159_0x16b9;(function(_0x5326f5,_0x31150c){const _0x55b7d7=a159_0x16b9,_0x2d40b5=_0x5326f5();while(!![]){try{const _0x1e8b22=parseInt(_0x55b7d7(0x8e))/0x1+-parseInt(_0x55b7d7(0x98))/0x2*(parseInt(_0x55b7d7(0x9a))/0x3)+parseInt(_0x55b7d7(0xa3))/0x4*(-parseInt(_0x55b7d7(0xac))/0x5)+parseInt(_0x55b7d7(0x9b))/0x6+-parseInt(_0x55b7d7(0x9d))/0x7+parseInt(_0x55b7d7(0x9c))/0x8*(-parseInt(_0x55b7d7(0x96))/0x9)+parseInt(_0x55b7d7(0xab))/0xa*(-parseInt(_0x55b7d7(0xa8))/0xb);if(_0x1e8b22===_0x31150c)break;else _0x2d40b5['push'](_0x2d40b5['shift']());}catch(_0x280dba){_0x2d40b5['push'](_0x2d40b5['shift']());}}}(a159_0x17af,0x3e76d));function a159_0x16b9(_0x3ad8a7,_0x29e00a){_0x3ad8a7=_0x3ad8a7-0x8e;const _0x17af2d=a159_0x17af();let _0x16b95f=_0x17af2d[_0x3ad8a7];return _0x16b95f;}import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';export const NPX_FLAG_YES='-y';export const NPX_SKILLS_CLI=a159_0x5b69f4(0xa1);export const NPX_SKILLS_SUBCOMMAND_ADD=a159_0x5b69f4(0xa0);export const NPX_SKILLS_FLAG_SKILL=a159_0x5b69f4(0xa5);function a159_0x17af(){const _0x57757c=['skill','18jFcBdU','status','2332wUlmnj','unknown','171CJBYvG','2399430mzLXUy','20096CFpnsz','129248jooutz','remove','join','add','skills','lovrabet/rabetbase','71160RNAare','inherit','--skill','stderr','Lovrabet','130966jZmBCz','yes','lovrabet/lovrabet-skill','290eeZvzC','50MdKWrV','trim','toString','469072aTZlGn','npx','exit\x20','stdio','stdout','log','pipe'];a159_0x17af=function(){return _0x57757c;};return a159_0x17af();}export const RABETBASE_SKILL_SOURCE=a159_0x5b69f4(0xa2);export const LEGACY_RABETBASE_SKILL_SOURCE=a159_0x5b69f4(0xaa);export const DEFAULT_RABETBASE_SKILL_NAME=a159_0x5b69f4(0xa7);export function buildNpxSkillsAddArgv(_0x225672=DEFAULT_RABETBASE_SKILL_NAME){return[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,NPX_SKILLS_FLAG_SKILL,_0x225672];}export const NPX_SKILLS_ADD_COMMAND_LINE=[a159_0x5b69f4(0x8f),...buildNpxSkillsAddArgv()][a159_0x5b69f4(0x9f)]('\x20');export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0xbf6c1d,_0x463e1e){const _0x299850=a159_0x5b69f4;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x3e8696=_0x463e1e?.[_0x299850(0x91)]??_0x299850(0xa4),_0x5dda07=resolveNpmBin(_0x299850(0x8f)),_0x52de5a=buildNpxSkillsAddArgv(_0x463e1e?.[_0x299850(0x95)]??DEFAULT_RABETBASE_SKILL_NAME),_0x17ad0d=[_0x5dda07,..._0x52de5a][_0x299850(0x9f)]('\x20');console['log']('*\x20'+_0x17ad0d);const _0x4cee32=spawnSync(_0x5dda07,_0x52de5a,{'cwd':_0xbf6c1d,'stdio':_0x3e8696,'env':process.env,'shell':![]}),_0x39009d=_0x4cee32['status'];if(_0x39009d===0x0)return{'ok':!![],'status':0x0};let _0x42efe4=_0x299850(0x90)+(_0x39009d??'unknown');if(_0x3e8696==='pipe'){const _0xffcfa8=_0x4cee32[_0x299850(0xa6)]?_0x4cee32['stderr']['toString']()[_0x299850(0xad)]():'',_0x4bac9a=_0x4cee32[_0x299850(0x92)]?_0x4cee32[_0x299850(0x92)]['toString']()[_0x299850(0xad)]():'';if(_0xffcfa8)_0x42efe4=_0xffcfa8;else{if(_0x4bac9a)_0x42efe4=_0x4bac9a;}}return{'ok':![],'status':_0x39009d??null,'error':_0x42efe4};}export function runNpxSkillsRemove(_0x34d965,_0x1342db,_0x3d54f8=LEGACY_RABETBASE_SKILL_SOURCE){const _0x3313b6=a159_0x5b69f4;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x698126=_0x1342db?.[_0x3313b6(0x91)]??'inherit',_0x12a3ab=resolveNpmBin(_0x3313b6(0x8f)),_0x37db3d=[NPX_FLAG_YES,NPX_SKILLS_CLI,_0x3313b6(0x9e),_0x3d54f8,NPX_SKILLS_FLAG_SKILL,_0x1342db?.[_0x3313b6(0x95)]??DEFAULT_RABETBASE_SKILL_NAME,..._0x1342db?.[_0x3313b6(0xa9)]?['-y']:[]],_0x3937d7=[_0x12a3ab,..._0x37db3d][_0x3313b6(0x9f)]('\x20');console[_0x3313b6(0x93)]('*\x20'+_0x3937d7);const _0x2cb024=spawnSync(_0x12a3ab,_0x37db3d,{'cwd':_0x34d965,'stdio':_0x698126,'env':process.env,'shell':![]}),_0x52b619=_0x2cb024['status'];if(_0x52b619===0x0)return{'ok':!![],'status':0x0};let _0x297aff='exit\x20'+(_0x52b619??'unknown');if(_0x698126===_0x3313b6(0x94)){const _0x2c245e=_0x2cb024[_0x3313b6(0xa6)]?_0x2cb024[_0x3313b6(0xa6)][_0x3313b6(0xae)]()['trim']():'',_0x3d5ae0=_0x2cb024[_0x3313b6(0x92)]?_0x2cb024['stdout']['toString']()['trim']():'';if(_0x2c245e)_0x297aff=_0x2c245e;else{if(_0x3d5ae0)_0x297aff=_0x3d5ae0;}}return{'ok':![],'status':_0x52b619??null,'error':_0x297aff};}export function runNpxSkillsAddGlobal(_0x163dfb,_0x9394fc,_0x3b6522){const _0x1d5c6d=a159_0x5b69f4;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x4a51b9=_0x3b6522?.[_0x1d5c6d(0x91)]??_0x1d5c6d(0xa4),_0x51d8c5=resolveNpmBin(_0x1d5c6d(0x8f)),_0x22a64e=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x9394fc,'--global',..._0x3b6522?.[_0x1d5c6d(0xa9)]?['-y']:[]],_0x5a3db9=[_0x51d8c5,..._0x22a64e][_0x1d5c6d(0x9f)]('\x20');console[_0x1d5c6d(0x93)]('*\x20'+_0x5a3db9);const _0x2c552a=spawnSync(_0x51d8c5,_0x22a64e,{'cwd':_0x163dfb,'stdio':_0x4a51b9,'env':process.env,'shell':![]}),_0x5a1387=_0x2c552a[_0x1d5c6d(0x97)];if(_0x5a1387===0x0)return{'ok':!![],'status':0x0};let _0x3eff62=_0x1d5c6d(0x90)+(_0x5a1387??_0x1d5c6d(0x99));if(_0x4a51b9===_0x1d5c6d(0x94)){const _0x3780c5=_0x2c552a['stderr']?_0x2c552a['stderr'][_0x1d5c6d(0xae)]()[_0x1d5c6d(0xad)]():'',_0x454b10=_0x2c552a[_0x1d5c6d(0x92)]?_0x2c552a['stdout']['toString']()['trim']():'';if(_0x3780c5)_0x3eff62=_0x3780c5;else{if(_0x454b10)_0x3eff62=_0x454b10;}}return{'ok':![],'status':_0x5a1387??null,'error':_0x3eff62};}
1
+ const a159_0x21e818=a159_0x5afa;function a159_0x51f5(){const _0x409e82=['lovrabet/rabetbase','stdout','add','npx','yes','2243610ibDHbs','pipe','176562VEJJmk','stdio','Lovrabet','unknown','stderr','lovrabet/lovrabet-skill','exit\x20','--global','18enODMQ','trim','skill','56960HMnYiF','10302220iiukKo','inherit','remove','status','10809896TwZIDK','6CKFxSE','2942940niLduU','skills','9hOErIv','2363137dqRmQk','join','toString','log','--skill'];a159_0x51f5=function(){return _0x409e82;};return a159_0x51f5();}(function(_0x299cf7,_0x4f0431){const _0x35b298=a159_0x5afa,_0x548d7d=_0x299cf7();while(!![]){try{const _0x45a4a9=-parseInt(_0x35b298(0x208))/0x1+parseInt(_0x35b298(0x206))/0x2+parseInt(_0x35b298(0x1ef))/0x3*(-parseInt(_0x35b298(0x1f2))/0x4)+parseInt(_0x35b298(0x1f9))/0x5+-parseInt(_0x35b298(0x1f8))/0x6*(parseInt(_0x35b298(0x1fc))/0x7)+-parseInt(_0x35b298(0x1f7))/0x8+-parseInt(_0x35b298(0x1fb))/0x9*(-parseInt(_0x35b298(0x1f3))/0xa);if(_0x45a4a9===_0x4f0431)break;else _0x548d7d['push'](_0x548d7d['shift']());}catch(_0x49c7ad){_0x548d7d['push'](_0x548d7d['shift']());}}}(a159_0x51f5,0xc0d19));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';export const NPX_FLAG_YES='-y';function a159_0x5afa(_0x4ee4e0,_0x4d2073){_0x4ee4e0=_0x4ee4e0-0x1ee;const _0x51f510=a159_0x51f5();let _0x5afa35=_0x51f510[_0x4ee4e0];return _0x5afa35;}export const NPX_SKILLS_CLI=a159_0x21e818(0x1fa);export const NPX_SKILLS_SUBCOMMAND_ADD=a159_0x21e818(0x203);export const NPX_SKILLS_FLAG_SKILL=a159_0x21e818(0x200);export const RABETBASE_SKILL_SOURCE=a159_0x21e818(0x201);export const LEGACY_RABETBASE_SKILL_SOURCE=a159_0x21e818(0x20d);export const DEFAULT_RABETBASE_SKILL_NAME=a159_0x21e818(0x20a);export function buildNpxSkillsAddArgv(_0x1d8ef2=DEFAULT_RABETBASE_SKILL_NAME){return[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,NPX_SKILLS_FLAG_SKILL,_0x1d8ef2];}export const NPX_SKILLS_ADD_COMMAND_LINE=[a159_0x21e818(0x204),...buildNpxSkillsAddArgv()][a159_0x21e818(0x1fd)]('\x20');export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0x4904b2,_0x7945b6){const _0x39db87=a159_0x21e818;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x4717c7=_0x7945b6?.['stdio']??_0x39db87(0x1f4),_0x27777f=resolveNpmBin(_0x39db87(0x204)),_0x22f5ef=buildNpxSkillsAddArgv(_0x7945b6?.[_0x39db87(0x1f1)]??DEFAULT_RABETBASE_SKILL_NAME),_0x54dcb6=[_0x27777f,..._0x22f5ef]['join']('\x20');console['log']('*\x20'+_0x54dcb6);const _0x261b1d=spawnSync(_0x27777f,_0x22f5ef,{'cwd':_0x4904b2,'stdio':_0x4717c7,'env':process.env,'shell':![]}),_0x3caa6f=_0x261b1d[_0x39db87(0x1f6)];if(_0x3caa6f===0x0)return{'ok':!![],'status':0x0};let _0x169be6=_0x39db87(0x20e)+(_0x3caa6f??_0x39db87(0x20b));if(_0x4717c7===_0x39db87(0x207)){const _0x1eb856=_0x261b1d[_0x39db87(0x20c)]?_0x261b1d[_0x39db87(0x20c)][_0x39db87(0x1fe)]()[_0x39db87(0x1f0)]():'',_0x165554=_0x261b1d['stdout']?_0x261b1d['stdout']['toString']()['trim']():'';if(_0x1eb856)_0x169be6=_0x1eb856;else{if(_0x165554)_0x169be6=_0x165554;}}return{'ok':![],'status':_0x3caa6f??null,'error':_0x169be6};}export function runNpxSkillsRemove(_0x30e28a,_0x253e48,_0x35044d=LEGACY_RABETBASE_SKILL_SOURCE){const _0x460d13=a159_0x21e818;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0xcd09dc=_0x253e48?.[_0x460d13(0x209)]??_0x460d13(0x1f4),_0x788c87=resolveNpmBin('npx'),_0x51c34d=[NPX_FLAG_YES,NPX_SKILLS_CLI,_0x460d13(0x1f5),_0x35044d,NPX_SKILLS_FLAG_SKILL,_0x253e48?.['skill']??DEFAULT_RABETBASE_SKILL_NAME,..._0x253e48?.[_0x460d13(0x205)]?['-y']:[]],_0x1f1326=[_0x788c87,..._0x51c34d][_0x460d13(0x1fd)]('\x20');console[_0x460d13(0x1ff)]('*\x20'+_0x1f1326);const _0x2ff3ae=spawnSync(_0x788c87,_0x51c34d,{'cwd':_0x30e28a,'stdio':_0xcd09dc,'env':process.env,'shell':![]}),_0x8f5a57=_0x2ff3ae[_0x460d13(0x1f6)];if(_0x8f5a57===0x0)return{'ok':!![],'status':0x0};let _0x483c61=_0x460d13(0x20e)+(_0x8f5a57??_0x460d13(0x20b));if(_0xcd09dc===_0x460d13(0x207)){const _0x5c16a0=_0x2ff3ae[_0x460d13(0x20c)]?_0x2ff3ae[_0x460d13(0x20c)][_0x460d13(0x1fe)]()[_0x460d13(0x1f0)]():'',_0x557d64=_0x2ff3ae[_0x460d13(0x202)]?_0x2ff3ae[_0x460d13(0x202)][_0x460d13(0x1fe)]()[_0x460d13(0x1f0)]():'';if(_0x5c16a0)_0x483c61=_0x5c16a0;else{if(_0x557d64)_0x483c61=_0x557d64;}}return{'ok':![],'status':_0x8f5a57??null,'error':_0x483c61};}export function runNpxSkillsAddGlobal(_0x19b841,_0x139a26,_0x41dccb){const _0x436493=a159_0x21e818;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x2cb11f=_0x41dccb?.[_0x436493(0x209)]??_0x436493(0x1f4),_0x2daf8c=resolveNpmBin('npx'),_0x49ec82=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x139a26,_0x436493(0x1ee),..._0x41dccb?.[_0x436493(0x205)]?['-y']:[]],_0x46ba76=[_0x2daf8c,..._0x49ec82][_0x436493(0x1fd)]('\x20');console[_0x436493(0x1ff)]('*\x20'+_0x46ba76);const _0x43f390=spawnSync(_0x2daf8c,_0x49ec82,{'cwd':_0x19b841,'stdio':_0x2cb11f,'env':process.env,'shell':![]}),_0x2075ed=_0x43f390[_0x436493(0x1f6)];if(_0x2075ed===0x0)return{'ok':!![],'status':0x0};let _0x5dfd9a=_0x436493(0x20e)+(_0x2075ed??'unknown');if(_0x2cb11f==='pipe'){const _0x1f5eed=_0x43f390[_0x436493(0x20c)]?_0x43f390[_0x436493(0x20c)][_0x436493(0x1fe)]()[_0x436493(0x1f0)]():'',_0x79211=_0x43f390[_0x436493(0x202)]?_0x43f390[_0x436493(0x202)][_0x436493(0x1fe)]()[_0x436493(0x1f0)]():'';if(_0x1f5eed)_0x5dfd9a=_0x1f5eed;else{if(_0x79211)_0x5dfd9a=_0x79211;}}return{'ok':![],'status':_0x2075ed??null,'error':_0x5dfd9a};}
@@ -1 +1 @@
1
- function a160_0x47ff(_0x36a159,_0x234bba){_0x36a159=_0x36a159-0xfb;const _0x3f5190=a160_0x3f51();let _0x47ff00=_0x3f5190[_0x36a159];return _0x47ff00;}(function(_0x30554f,_0x37c5ce){const _0x56b2fa=a160_0x47ff,_0x4443d6=_0x30554f();while(!![]){try{const _0x1ca5b3=parseInt(_0x56b2fa(0xfe))/0x1+parseInt(_0x56b2fa(0x101))/0x2*(-parseInt(_0x56b2fa(0x105))/0x3)+-parseInt(_0x56b2fa(0x10d))/0x4*(parseInt(_0x56b2fa(0xfb))/0x5)+-parseInt(_0x56b2fa(0x100))/0x6+parseInt(_0x56b2fa(0x10a))/0x7*(-parseInt(_0x56b2fa(0x104))/0x8)+parseInt(_0x56b2fa(0xff))/0x9+-parseInt(_0x56b2fa(0xfd))/0xa*(-parseInt(_0x56b2fa(0x103))/0xb);if(_0x1ca5b3===_0x37c5ce)break;else _0x4443d6['push'](_0x4443d6['shift']());}catch(_0xcdd7fa){_0x4443d6['push'](_0x4443d6['shift']());}}}(a160_0x3f51,0x86fa6));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';import{getCliVersion}from'../utils/version.js';const SENSITIVE_PATTERNS=[/cookie/i,/token/i,/password/i,/passwd/i,/secret/i,/auth/i,/session/i,/credential/i];function isSensitiveKey(_0xd4a72e){const _0x518b58=a160_0x47ff;return SENSITIVE_PATTERNS['some'](_0x55fc93=>_0x55fc93[_0x518b58(0x106)](_0xd4a72e));}function sanitizeFlags(_0x1b93f1){const _0x39987e=a160_0x47ff,_0x5974ef={};for(const [_0x52dcf9,_0x572ef3]of Object[_0x39987e(0xfc)](_0x1b93f1)){isSensitiveKey(_0x52dcf9)?_0x5974ef[_0x52dcf9]=_0x572ef3!=null&&_0x572ef3!==''?_0x39987e(0x10e):_0x572ef3:_0x5974ef[_0x52dcf9]=_0x572ef3;}return _0x5974ef;}function a160_0x3f51(){const _0x59d5fe=['3NhcuMI','test','command','durationMs','message','3500287FlDoOH','error','service','284agNpIs','[REDACTED]','26770KIImVV','entries','10hyfjKy','277641MztteN','7158114vqqLGo','5644056pwNzbF','741964PhnVzx','stringify','18388876gejqyo','8Igkljb'];a160_0x3f51=function(){return _0x59d5fe;};return a160_0x3f51();}export async function reportCommandTrace(_0x4b7671){const _0x205d61=a160_0x47ff;try{const _0x226e49=sanitizeFlags(_0x4b7671['flags']);await sendCliTraceLog({'spanName':'rabetbase.command','logData':{'command.cli_version':getCliVersion(),'command.service':_0x4b7671[_0x205d61(0x10c)],'command.name':_0x4b7671[_0x205d61(0x107)],'command.flags':JSON[_0x205d61(0x102)](_0x226e49),..._0x4b7671[_0x205d61(0x108)]!=null?{'command.duration_ms':_0x4b7671[_0x205d61(0x108)]}:{},..._0x4b7671[_0x205d61(0x10b)]?{'command.error':_0x4b7671[_0x205d61(0x10b)]instanceof Error?_0x4b7671[_0x205d61(0x10b)][_0x205d61(0x109)]:String(_0x4b7671['error'])}:{}}});}catch{}}
1
+ (function(_0x16fdfe,_0x12a8ed){const _0x4de2bc=a160_0x2300,_0x10dc29=_0x16fdfe();while(!![]){try{const _0x2a3e34=-parseInt(_0x4de2bc(0x11c))/0x1+parseInt(_0x4de2bc(0x123))/0x2*(-parseInt(_0x4de2bc(0x11d))/0x3)+-parseInt(_0x4de2bc(0x113))/0x4*(-parseInt(_0x4de2bc(0x118))/0x5)+-parseInt(_0x4de2bc(0x111))/0x6*(-parseInt(_0x4de2bc(0x11e))/0x7)+parseInt(_0x4de2bc(0x11b))/0x8+parseInt(_0x4de2bc(0x11a))/0x9*(-parseInt(_0x4de2bc(0x120))/0xa)+-parseInt(_0x4de2bc(0x119))/0xb;if(_0x2a3e34===_0x12a8ed)break;else _0x10dc29['push'](_0x10dc29['shift']());}catch(_0x20a6a9){_0x10dc29['push'](_0x10dc29['shift']());}}}(a160_0x2c8b,0xe133a));function a160_0x2300(_0x1d7a55,_0x4a29fc){_0x1d7a55=_0x1d7a55-0x111;const _0x2c8b0e=a160_0x2c8b();let _0x2300b4=_0x2c8b0e[_0x1d7a55];return _0x2300b4;}import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';import{getCliVersion}from'../utils/version.js';const SENSITIVE_PATTERNS=[/cookie/i,/token/i,/password/i,/passwd/i,/secret/i,/auth/i,/session/i,/credential/i];function isSensitiveKey(_0x483a70){const _0x4c8198=a160_0x2300;return SENSITIVE_PATTERNS[_0x4c8198(0x116)](_0x43dee5=>_0x43dee5[_0x4c8198(0x112)](_0x483a70));}function sanitizeFlags(_0x5d02d6){const _0x197ef2=a160_0x2300,_0x3dcd86={};for(const [_0x237b7b,_0x47570f]of Object[_0x197ef2(0x121)](_0x5d02d6)){isSensitiveKey(_0x237b7b)?_0x3dcd86[_0x237b7b]=_0x47570f!=null&&_0x47570f!==''?_0x197ef2(0x122):_0x47570f:_0x3dcd86[_0x237b7b]=_0x47570f;}return _0x3dcd86;}export async function reportCommandTrace(_0x57d629){const _0x3e12c8=a160_0x2300;try{const _0x557d42=sanitizeFlags(_0x57d629[_0x3e12c8(0x11f)]);await sendCliTraceLog({'spanName':_0x3e12c8(0x124),'logData':{'command.cli_version':getCliVersion(),'command.service':_0x57d629['service'],'command.name':_0x57d629[_0x3e12c8(0x114)],'command.flags':JSON['stringify'](_0x557d42),..._0x57d629['durationMs']!=null?{'command.duration_ms':_0x57d629[_0x3e12c8(0x117)]}:{},..._0x57d629[_0x3e12c8(0x115)]?{'command.error':_0x57d629['error']instanceof Error?_0x57d629[_0x3e12c8(0x115)]['message']:String(_0x57d629[_0x3e12c8(0x115)])}:{}}});}catch{}}function a160_0x2c8b(){const _0x497db6=['2250380nFGILK','4122mNyBHd','7281984awiVpO','17649NtDwmf','2826pzzpZm','168EBGNIW','flags','30550yxsIlb','entries','[REDACTED]','1656BbQxaT','rabetbase.command','427554bbatKK','test','2813428UAlVuY','command','error','some','durationMs','5fDtfkX'];a160_0x2c8b=function(){return _0x497db6;};return a160_0x2c8b();}
@@ -1 +1 @@
1
- function a161_0x1de5(_0x4c1990,_0x1e5f79){_0x4c1990=_0x4c1990-0x166;var _0x24b02f=a161_0x24b0();var _0x1de5be=_0x24b02f[_0x4c1990];return _0x1de5be;}(function(_0x579c2f,_0x35d247){var _0x24efa6=a161_0x1de5,_0x37b90a=_0x579c2f();while(!![]){try{var _0x5bc8ed=-parseInt(_0x24efa6(0x166))/0x1*(-parseInt(_0x24efa6(0x171))/0x2)+parseInt(_0x24efa6(0x172))/0x3*(parseInt(_0x24efa6(0x16c))/0x4)+parseInt(_0x24efa6(0x173))/0x5+-parseInt(_0x24efa6(0x170))/0x6+parseInt(_0x24efa6(0x16e))/0x7*(-parseInt(_0x24efa6(0x16b))/0x8)+-parseInt(_0x24efa6(0x16d))/0x9*(-parseInt(_0x24efa6(0x168))/0xa)+-parseInt(_0x24efa6(0x16f))/0xb;if(_0x5bc8ed===_0x35d247)break;else _0x37b90a['push'](_0x37b90a['shift']());}catch(_0xdbe0fa){_0x37b90a['push'](_0x37b90a['shift']());}}}(a161_0x24b0,0x7ac80));function a161_0x24b0(){var _0xa59aed=['926390THtYWq','1NlPYkX','cli.help','11570PQABhG','service','error','312kYsYrD','8xAqqAm','7578ClHVTA','132251tDShTY','7632064emUBWO','2136PBzitB','352718vmoVjc','897132rtlvjD'];a161_0x24b0=function(){return _0xa59aed;};return a161_0x24b0();}import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export async function reportCliHelpTrace(_0x10647f,_0x230542){var _0x57b4f3=a161_0x1de5;try{await sendCliTraceLog({'spanName':_0x57b4f3(0x167),'logData':{'rabetbase.help.kind':_0x10647f,..._0x230542?.[_0x57b4f3(0x169)]&&{'rabetbase.help.service':_0x230542[_0x57b4f3(0x169)]}}});}catch(_0x1aa48b){console[_0x57b4f3(0x16a)]('Failed\x20to\x20report\x20CLI\x20help\x20trace:',_0x1aa48b);}}
1
+ (function(_0x37cfed,_0xaea57b){var _0x478f2e=a161_0x36a8,_0xb91ba4=_0x37cfed();while(!![]){try{var _0x320312=parseInt(_0x478f2e(0xfa))/0x1*(-parseInt(_0x478f2e(0xfc))/0x2)+parseInt(_0x478f2e(0xf4))/0x3*(parseInt(_0x478f2e(0xf9))/0x4)+-parseInt(_0x478f2e(0xf0))/0x5+parseInt(_0x478f2e(0xfb))/0x6+parseInt(_0x478f2e(0xf2))/0x7+parseInt(_0x478f2e(0xf7))/0x8*(-parseInt(_0x478f2e(0xf6))/0x9)+-parseInt(_0x478f2e(0xf5))/0xa;if(_0x320312===_0xaea57b)break;else _0xb91ba4['push'](_0xb91ba4['shift']());}catch(_0x5f42c0){_0xb91ba4['push'](_0xb91ba4['shift']());}}}(a161_0x2e80,0xb250d));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export async function reportCliHelpTrace(_0x404c73,_0x20455c){var _0x3aa35f=a161_0x36a8;try{await sendCliTraceLog({'spanName':_0x3aa35f(0xf8),'logData':{'rabetbase.help.kind':_0x404c73,..._0x20455c?.[_0x3aa35f(0xfd)]&&{'rabetbase.help.service':_0x20455c['service']}}});}catch(_0x2408be){console[_0x3aa35f(0xf3)](_0x3aa35f(0xf1),_0x2408be);}}function a161_0x36a8(_0x2f31bd,_0x39baef){_0x2f31bd=_0x2f31bd-0xf0;var _0x2e80a1=a161_0x2e80();var _0x36a89b=_0x2e80a1[_0x2f31bd];return _0x36a89b;}function a161_0x2e80(){var _0x1bb951=['3293919IWHdDV','18572480jPFYes','127080tUbGrm','16jXFBBy','cli.help','4nqLwiD','9EQcJku','6116802bVPPoN','7670vpsutJ','service','4390350YoVodk','Failed\x20to\x20report\x20CLI\x20help\x20trace:','9877098orYqeR','error'];a161_0x2e80=function(){return _0x1bb951;};return a161_0x2e80();}
@@ -1 +1 @@
1
- function a162_0x3345(){const _0x244519=['userInfo','808946fvUljA','6sfzXaW','unknown','production','1067000wdOLYL','username','user','3537422qIjhpU','1111221TUJplf','nickname','rabetbase-cli','daily','2113828zjvIFl','1582145mhLVkr','6CzyDYP','84669OpLbBg'];a162_0x3345=function(){return _0x244519;};return a162_0x3345();}(function(_0x57280c,_0x3209c6){const _0x23c1ee=a162_0x136e,_0x7fc430=_0x57280c();while(!![]){try{const _0x1a50b2=parseInt(_0x23c1ee(0x18d))/0x1+-parseInt(_0x23c1ee(0x18f))/0x2+-parseInt(_0x23c1ee(0x190))/0x3*(-parseInt(_0x23c1ee(0x18a))/0x4)+parseInt(_0x23c1ee(0x18b))/0x5*(parseInt(_0x23c1ee(0x18c))/0x6)+-parseInt(_0x23c1ee(0x196))/0x7+parseInt(_0x23c1ee(0x193))/0x8+-parseInt(_0x23c1ee(0x197))/0x9;if(_0x1a50b2===_0x3209c6)break;else _0x7fc430['push'](_0x7fc430['shift']());}catch(_0x3cc349){_0x7fc430['push'](_0x7fc430['shift']());}}}(a162_0x3345,0x88413));import a162_0x4a2625 from'node:os';import{VERSION,GIT_COMMIT}from'../generated/build-info.js';import{getSessionUserInfo}from'../auth/get-session-user.js';function a162_0x136e(_0x513e49,_0x12ba2d){_0x513e49=_0x513e49-0x18a;const _0x334528=a162_0x3345();let _0x136e99=_0x334528[_0x513e49];return _0x136e99;}import{setTraceConfig,getOtelLoggerVersion}from'@lovrabet/otel-logger';import{NPM_PACKAGE_NAME}from'../constant/cli.js';let cliOtelTraceInitialized=![];export async function ensureCliOtelTraceConfig(){const _0x10b593=a162_0x136e,_0x1791ea=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x3741e9=_0x1791ea?.[_0x10b593(0x195)];setTraceConfig({'otelLoggerVersion':getOtelLoggerVersion(),'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!==_0x10b593(0x191)?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?_0x10b593(0x19a):_0x10b593(0x192)),'username':_0x3741e9?.[_0x10b593(0x194)]??a162_0x4a2625[_0x10b593(0x18e)]()[_0x10b593(0x194)]??_0x10b593(0x199),..._0x3741e9&&{'nickname':_0x3741e9[_0x10b593(0x198)]}}),cliOtelTraceInitialized=!![];}return _0x1791ea;}
1
+ (function(_0x5eeaeb,_0x4eca3a){const _0x4005cc=a162_0x6b95,_0x25056c=_0x5eeaeb();while(!![]){try{const _0x4cdbb5=-parseInt(_0x4005cc(0x167))/0x1+parseInt(_0x4005cc(0x15b))/0x2*(parseInt(_0x4005cc(0x15e))/0x3)+-parseInt(_0x4005cc(0x166))/0x4+-parseInt(_0x4005cc(0x15f))/0x5*(parseInt(_0x4005cc(0x164))/0x6)+parseInt(_0x4005cc(0x162))/0x7+-parseInt(_0x4005cc(0x163))/0x8+parseInt(_0x4005cc(0x161))/0x9;if(_0x4cdbb5===_0x4eca3a)break;else _0x25056c['push'](_0x25056c['shift']());}catch(_0x19bc8d){_0x25056c['push'](_0x25056c['shift']());}}}(a162_0x3e01,0xa0fac));import a162_0x263696 from'node:os';import{VERSION,GIT_COMMIT}from'../generated/build-info.js';import{getSessionUserInfo}from'../auth/get-session-user.js';function a162_0x6b95(_0x2098ee,_0x1b2850){_0x2098ee=_0x2098ee-0x15b;const _0x3e014a=a162_0x3e01();let _0x6b95dd=_0x3e014a[_0x2098ee];return _0x6b95dd;}import{setTraceConfig,getOtelLoggerVersion}from'@lovrabet/otel-logger';import{NPM_PACKAGE_NAME}from'../constant/cli.js';function a162_0x3e01(){const _0x527828=['514901Ditgvk','unknown','686MmsVWt','rabetbase-cli','production','1791NngrsI','25BmHqfe','username','27295911kDqQtX','2870735IWzZGj','9523208WJscnK','639186IYalOp','userInfo','3001704hcBUdN'];a162_0x3e01=function(){return _0x527828;};return a162_0x3e01();}let cliOtelTraceInitialized=![];export async function ensureCliOtelTraceConfig(){const _0x39969c=a162_0x6b95,_0xcc1eda=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x19944f=_0xcc1eda?.['user'];setTraceConfig({'otelLoggerVersion':getOtelLoggerVersion(),'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!==_0x39969c(0x168)?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?'daily':_0x39969c(0x15d)),'username':_0x19944f?.['username']??a162_0x263696[_0x39969c(0x165)]()[_0x39969c(0x160)]??_0x39969c(0x15c),..._0x19944f&&{'nickname':_0x19944f['nickname']}}),cliOtelTraceInitialized=!![];}return _0xcc1eda;}
@@ -1 +1 @@
1
- function a163_0x3c3c(){const _0x424cd0=['beforeExit','4682840GipiIH','144VmFsvd','1388410sfmSUi','147420bmiXYP','345684ahfgbM','exit','11zTgdqp','90KqIHXM','564514lKuNHM','369apktqx','20409dRtbGu','SIGINT','once','4mgwEHc','27128EJFGfx'];a163_0x3c3c=function(){return _0x424cd0;};return a163_0x3c3c();}(function(_0x2f0176,_0x5780f5){const _0x310c10=a163_0x2ebf,_0x31bdbe=_0x2f0176();while(!![]){try{const _0x4bdc65=parseInt(_0x310c10(0x12a))/0x1+parseInt(_0x310c10(0x129))/0x2*(-parseInt(_0x310c10(0x12c))/0x3)+parseInt(_0x310c10(0x12f))/0x4*(parseInt(_0x310c10(0x134))/0x5)+-parseInt(_0x310c10(0x133))/0x6*(parseInt(_0x310c10(0x135))/0x7)+parseInt(_0x310c10(0x130))/0x8*(-parseInt(_0x310c10(0x12b))/0x9)+parseInt(_0x310c10(0x132))/0xa+-parseInt(_0x310c10(0x128))/0xb*(parseInt(_0x310c10(0x136))/0xc);if(_0x4bdc65===_0x5780f5)break;else _0x31bdbe['push'](_0x31bdbe['shift']());}catch(_0x3d1235){_0x31bdbe['push'](_0x31bdbe['shift']());}}}(a163_0x3c3c,0x50d3b));import{shutdownTraces}from'@lovrabet/otel-logger';let shutdownPromise=null;function a163_0x2ebf(_0xdfd625,_0x27ef19){_0xdfd625=_0xdfd625-0x127;const _0x3c3c65=a163_0x3c3c();let _0x2ebfa3=_0x3c3c65[_0xdfd625];return _0x2ebfa3;}export async function flushOtelNodeIfUsed(){if(shutdownPromise)return shutdownPromise;return shutdownPromise=((async()=>{try{await shutdownTraces();}catch{}})()),shutdownPromise;}export function registerOtelShutdownOnExit(){const _0x1be9eb=a163_0x2ebf;process[_0x1be9eb(0x12e)](_0x1be9eb(0x131),()=>{void flushOtelNodeIfUsed();});const _0x31dae0=()=>{void flushOtelNodeIfUsed()['then'](()=>process['exit'](0x0));};process[_0x1be9eb(0x12e)](_0x1be9eb(0x12d),_0x31dae0),process[_0x1be9eb(0x12e)]('SIGTERM',_0x31dae0);}export async function exitWithOtelShutdown(_0x3ba689){const _0x1051bf=a163_0x2ebf;await flushOtelNodeIfUsed(),process[_0x1051bf(0x127)](_0x3ba689);}
1
+ (function(_0x1fc421,_0xe56d26){const _0x33eda3=a163_0x2d47,_0x257f44=_0x1fc421();while(!![]){try{const _0x56b948=-parseInt(_0x33eda3(0x99))/0x1+parseInt(_0x33eda3(0xa2))/0x2*(-parseInt(_0x33eda3(0x9b))/0x3)+-parseInt(_0x33eda3(0x95))/0x4+parseInt(_0x33eda3(0x9a))/0x5+parseInt(_0x33eda3(0x98))/0x6*(-parseInt(_0x33eda3(0xa3))/0x7)+-parseInt(_0x33eda3(0x97))/0x8+-parseInt(_0x33eda3(0xa0))/0x9*(-parseInt(_0x33eda3(0x9f))/0xa);if(_0x56b948===_0xe56d26)break;else _0x257f44['push'](_0x257f44['shift']());}catch(_0x408d82){_0x257f44['push'](_0x257f44['shift']());}}}(a163_0x4c61,0xd162a));function a163_0x4c61(){const _0x5093ba=['6713570GbkQGp','4218714JWhrVe','then','exit','SIGINT','60309570ZvOoCr','9kOBYXD','once','2BQtCHl','23723vRyuEX','6579144rnKnNX','beforeExit','11049944RwDjgg','1464RzWcZi','1256846uMHzMm'];a163_0x4c61=function(){return _0x5093ba;};return a163_0x4c61();}import{shutdownTraces}from'@lovrabet/otel-logger';let shutdownPromise=null;function a163_0x2d47(_0x819b96,_0xd2bf02){_0x819b96=_0x819b96-0x95;const _0x4c61fb=a163_0x4c61();let _0x2d475e=_0x4c61fb[_0x819b96];return _0x2d475e;}export async function flushOtelNodeIfUsed(){if(shutdownPromise)return shutdownPromise;return shutdownPromise=((async()=>{try{await shutdownTraces();}catch{}})()),shutdownPromise;}export function registerOtelShutdownOnExit(){const _0x283592=a163_0x2d47;process[_0x283592(0xa1)](_0x283592(0x96),()=>{void flushOtelNodeIfUsed();});const _0x56e8b6=()=>{const _0x6433b0=_0x283592;void flushOtelNodeIfUsed()[_0x6433b0(0x9c)](()=>process['exit'](0x0));};process[_0x283592(0xa1)](_0x283592(0x9e),_0x56e8b6),process[_0x283592(0xa1)]('SIGTERM',_0x56e8b6);}export async function exitWithOtelShutdown(_0x2f31da){const _0x2f86a4=a163_0x2d47;await flushOtelNodeIfUsed(),process[_0x2f86a4(0x9d)](_0x2f31da);}
@@ -1 +1 @@
1
- const a164_0x2cbda3=a164_0x5e09;(function(_0x2a07e1,_0xe1ad41){const _0x2ea7b1=a164_0x5e09,_0x4eac37=_0x2a07e1();while(!![]){try{const _0x4c04d1=-parseInt(_0x2ea7b1(0x138))/0x1*(-parseInt(_0x2ea7b1(0x13d))/0x2)+-parseInt(_0x2ea7b1(0x13e))/0x3*(-parseInt(_0x2ea7b1(0x13a))/0x4)+-parseInt(_0x2ea7b1(0x143))/0x5+-parseInt(_0x2ea7b1(0x133))/0x6+parseInt(_0x2ea7b1(0x13f))/0x7+-parseInt(_0x2ea7b1(0x137))/0x8*(-parseInt(_0x2ea7b1(0x136))/0x9)+-parseInt(_0x2ea7b1(0x139))/0xa;if(_0x4c04d1===_0xe1ad41)break;else _0x4eac37['push'](_0x4eac37['shift']());}catch(_0x29e299){_0x4eac37['push'](_0x4eac37['shift']());}}}(a164_0x36e9,0xac387));import{sendTraceLog}from'@lovrabet/otel-logger';function a164_0x5e09(_0x33259c,_0x4425ae){_0x33259c=_0x33259c-0x133;const _0x36e911=a164_0x36e9();let _0x5e0985=_0x36e911[_0x33259c];return _0x5e0985;}import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';import{getCliVersion}from'../utils/version.js';function a164_0x36e9(){const _0x51a286=['4336RrmWUC','396040gTgseM','11412910KdvYwb','33200qKvupP','spanName','version','6QQECYx','108UUzoam','6490386JzlIYi','manual','logData','traceparent','3477125hmkNmd','5426982NbkszF','traceName','rabetbase-cli','17145LtRooE'];a164_0x36e9=function(){return _0x51a286;};return a164_0x36e9();}const DEFAULT_TRACE_NAME=a164_0x2cbda3(0x135);export async function sendCliTraceLog(_0x304556){const _0x4d5d5b=a164_0x2cbda3;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x304556[_0x4d5d5b(0x134)]??DEFAULT_TRACE_NAME,'version':_0x304556[_0x4d5d5b(0x13c)]??getCliVersion(),'spanName':_0x304556[_0x4d5d5b(0x13b)],'eventType':_0x4d5d5b(0x140),'logData':_0x304556[_0x4d5d5b(0x141)],..._0x304556[_0x4d5d5b(0x142)]&&{'traceparent':_0x304556[_0x4d5d5b(0x142)]}});}
1
+ function a164_0x33e4(){const _0x498fe5=['traceName','rabetbase-cli','1001912ugmjRD','74694MUCdYF','manual','logData','traceparent','version','3307241JFBLOD','14LJWFcD','252DhwzEc','258KRQAcH','1722260UmNRnH','17785oWFThr','731599uoqNMN','18TcvCyx','spanName','415144UHHhyc','6mHLtUT'];a164_0x33e4=function(){return _0x498fe5;};return a164_0x33e4();}const a164_0x557f37=a164_0x4731;(function(_0x3971bb,_0x17fd42){const _0x49a20a=a164_0x4731,_0x43527a=_0x3971bb();while(!![]){try{const _0xb685cb=-parseInt(_0x49a20a(0x160))/0x1*(parseInt(_0x49a20a(0x166))/0x2)+parseInt(_0x49a20a(0x16f))/0x3*(-parseInt(_0x49a20a(0x16e))/0x4)+-parseInt(_0x49a20a(0x16a))/0x5*(-parseInt(_0x49a20a(0x168))/0x6)+-parseInt(_0x49a20a(0x165))/0x7+parseInt(_0x49a20a(0x172))/0x8*(-parseInt(_0x49a20a(0x16c))/0x9)+parseInt(_0x49a20a(0x169))/0xa+parseInt(_0x49a20a(0x16b))/0xb*(parseInt(_0x49a20a(0x167))/0xc);if(_0xb685cb===_0x17fd42)break;else _0x43527a['push'](_0x43527a['shift']());}catch(_0x1a6c40){_0x43527a['push'](_0x43527a['shift']());}}}(a164_0x33e4,0x418cf));import{sendTraceLog}from'@lovrabet/otel-logger';import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';function a164_0x4731(_0x140638,_0x5b9340){_0x140638=_0x140638-0x160;const _0x33e4f4=a164_0x33e4();let _0x4731e1=_0x33e4f4[_0x140638];return _0x4731e1;}import{getCliVersion}from'../utils/version.js';const DEFAULT_TRACE_NAME=a164_0x557f37(0x171);export async function sendCliTraceLog(_0x41995e){const _0x4abb22=a164_0x557f37;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x41995e[_0x4abb22(0x170)]??DEFAULT_TRACE_NAME,'version':_0x41995e[_0x4abb22(0x164)]??getCliVersion(),'spanName':_0x41995e[_0x4abb22(0x16d)],'eventType':_0x4abb22(0x161),'logData':_0x41995e[_0x4abb22(0x162)],..._0x41995e[_0x4abb22(0x163)]&&{'traceparent':_0x41995e[_0x4abb22(0x163)]}});}
@@ -1 +1 @@
1
- const a166_0x25dd6d=a166_0x11ed;(function(_0x2de92c,_0x41fe1a){const _0xdf6afa=a166_0x11ed,_0x911c47=_0x2de92c();while(!![]){try{const _0x17f877=-parseInt(_0xdf6afa(0x1f7))/0x1+parseInt(_0xdf6afa(0x1ec))/0x2*(-parseInt(_0xdf6afa(0x1f0))/0x3)+parseInt(_0xdf6afa(0x200))/0x4*(-parseInt(_0xdf6afa(0x1ea))/0x5)+parseInt(_0xdf6afa(0x1f1))/0x6+-parseInt(_0xdf6afa(0x1f8))/0x7+-parseInt(_0xdf6afa(0x203))/0x8+-parseInt(_0xdf6afa(0x1fa))/0x9*(-parseInt(_0xdf6afa(0x1f5))/0xa);if(_0x17f877===_0x41fe1a)break;else _0x911c47['push'](_0x911c47['shift']());}catch(_0x334afe){_0x911c47['push'](_0x911c47['shift']());}}}(a166_0x3550,0xbdd59));export const CORE_IDE_CONFIGS={'cursor':{'name':a166_0x25dd6d(0x1d3),'description':a166_0x25dd6d(0x1dd),'folders':[a166_0x25dd6d(0x1e4),a166_0x25dd6d(0x201)],'files':[{'type':'file','path':a166_0x25dd6d(0x1e9),'template':a166_0x25dd6d(0x1de)}]},'windsurf':{'name':a166_0x25dd6d(0x1f2),'description':a166_0x25dd6d(0x1fc),'folders':[a166_0x25dd6d(0x1d0)],'files':[{'type':a166_0x25dd6d(0x1d9),'path':'.windsurf/workflows/rabetbase.md','template':a166_0x25dd6d(0x1de)}]},'claude':{'name':'Claude\x20Code','description':a166_0x25dd6d(0x1eb),'folders':[a166_0x25dd6d(0x1d8)],'files':[{'type':a166_0x25dd6d(0x1d9),'path':a166_0x25dd6d(0x1ee),'template':a166_0x25dd6d(0x1de)}]},'cline':{'name':a166_0x25dd6d(0x1fb),'description':a166_0x25dd6d(0x1fe),'folders':['.cline'],'files':[{'type':a166_0x25dd6d(0x1d9),'path':a166_0x25dd6d(0x1d1),'template':a166_0x25dd6d(0x1de)}]},'codex':{'name':'Codex','description':a166_0x25dd6d(0x1ff),'folders':['.codex'],'files':[{'type':a166_0x25dd6d(0x1d9),'path':a166_0x25dd6d(0x1ed),'template':a166_0x25dd6d(0x1de)}]},'opencode':{'name':a166_0x25dd6d(0x1f3),'description':a166_0x25dd6d(0x1d4),'folders':['.opencode'],'files':[{'type':a166_0x25dd6d(0x1d9),'path':a166_0x25dd6d(0x1e3),'template':'SKILL.md.tpl'}]},'qoder':{'name':a166_0x25dd6d(0x1dc),'description':'Qoder\x20IDE','folders':['.qoder'],'files':[{'type':a166_0x25dd6d(0x1d9),'path':a166_0x25dd6d(0x1d2),'template':a166_0x25dd6d(0x1de)},{'type':a166_0x25dd6d(0x1d9),'path':a166_0x25dd6d(0x1d6),'template':a166_0x25dd6d(0x1de)}]},'codebuddy':{'name':a166_0x25dd6d(0x1ce),'description':a166_0x25dd6d(0x1e5),'folders':[a166_0x25dd6d(0x1e1)],'files':[{'type':'file','path':a166_0x25dd6d(0x202),'template':a166_0x25dd6d(0x1de)}]},'trae':{'name':a166_0x25dd6d(0x1fd),'description':a166_0x25dd6d(0x1e6),'folders':[a166_0x25dd6d(0x1f6)],'files':[{'type':'file','path':'.trae/skills/lovrabet/SKILL.md','template':a166_0x25dd6d(0x1de)}]}};function a166_0x3550(){const _0x46a541=['4XnGeVm','.cursor','.codebuddy/skills/lovrabet/SKILL.md','3047840QcIEIJ','codex','.agent','CodeBuddy','通用模板\x20-\x20兜底方案','.windsurf','.cline/skills/lovrabet/SKILL.md','.qoder/rules/rabetbase.md','Cursor','OpenCode\x20IDE','claude','.qoder/skills/lovrabet/SKILL.md','windsurf','.claude','file','qoder','Antigravity\x20IDE','Qoder','Cursor\x20IDE','SKILL.md.tpl','opencode','Antigravity','.codebuddy','agent','.opencode/skills/lovrabet/SKILL.md','.cursorrules','CodeBuddy\x20IDE','Trae\x20IDE','cursor','codebuddy','.cursor/skills/rabetbase.md','300350yDIIgU','Claude\x20Code','116bQdWru','.codex/skills/lovrabet/SKILL.md','.claude/skills/lovrabet/SKILL.md','antigravity','3351RfVQQb','4689102ccsPhi','Windsurf','OpenCode','cline','1065660WsHpno','.trae','1493666pbuutY','7664076TxoCzL','trae','261fwmzKN','Cline','Windsurf\x20IDE','Trae','Cline\x20IDE','Codex\x20IDE'];a166_0x3550=function(){return _0x46a541;};return a166_0x3550();}export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':'其他\x20(通用模板)','description':a166_0x25dd6d(0x1cf),'folders':[a166_0x25dd6d(0x205)],'files':[{'type':a166_0x25dd6d(0x1d9),'path':'.agent/skills/lovrabet/SKILL.md','template':'SKILL.md.tpl'}]},'antigravity':{'name':a166_0x25dd6d(0x1e0),'description':a166_0x25dd6d(0x1db),'folders':[a166_0x25dd6d(0x205)],'files':[{'type':'file','path':'.agent/skills/lovrabet/SKILL.md','template':a166_0x25dd6d(0x1de)}]}};export const CORE_IDE_LIST=[a166_0x25dd6d(0x1d5),'cline',a166_0x25dd6d(0x1e8),a166_0x25dd6d(0x204),a166_0x25dd6d(0x1e7),'opencode','qoder',a166_0x25dd6d(0x1f9),a166_0x25dd6d(0x1d7)];function a166_0x11ed(_0x5baf9e,_0x46c4c2){_0x5baf9e=_0x5baf9e-0x1ce;const _0x3550dc=a166_0x3550();let _0x11ed2c=_0x3550dc[_0x5baf9e];return _0x11ed2c;}export const IDE_LIST=[a166_0x25dd6d(0x1ef),a166_0x25dd6d(0x1d5),'cline','codebuddy',a166_0x25dd6d(0x204),'cursor',a166_0x25dd6d(0x1df),a166_0x25dd6d(0x1da),a166_0x25dd6d(0x1f9),a166_0x25dd6d(0x1d7),a166_0x25dd6d(0x1e2)];export const ALL_CORE_IDES=[a166_0x25dd6d(0x1e7),a166_0x25dd6d(0x1d7),a166_0x25dd6d(0x1d5),a166_0x25dd6d(0x1f4),a166_0x25dd6d(0x204),a166_0x25dd6d(0x1df),a166_0x25dd6d(0x1da),'codebuddy',a166_0x25dd6d(0x1f9)];
1
+ function a166_0x3125(){const _0x3dc49b=['3198425pDjMes','.claude/skills/lovrabet/SKILL.md','.cline/skills/lovrabet/SKILL.md','2086KrlsmF','8294391chlnoJ','Codex\x20IDE','.qoder/skills/lovrabet/SKILL.md','windsurf','Claude\x20Code','SKILL.md.tpl','.codebuddy','.qoder','Antigravity','.cursor','1688929LnkpGa','antigravity','4urhPkh','80xrAxBd','codex','.opencode/skills/lovrabet/SKILL.md','codebuddy','.agent','.agent/skills/lovrabet/SKILL.md','.cline','Qoder','32TGjNEg','其他\x20(通用模板)','.claude','.windsurf/workflows/rabetbase.md','trae','26319qXekSz','.opencode','.trae/skills/lovrabet/SKILL.md','Windsurf\x20IDE','qoder','Trae\x20IDE','claude','.cursorrules','Cursor\x20IDE','file','Cursor','21848YYOOLI','7217442hPBxtH','cline','Windsurf','Codex','Antigravity\x20IDE','CodeBuddy','Cline','opencode','Trae','3439503gXnapa','.codex','.codebuddy/skills/lovrabet/SKILL.md','agent'];a166_0x3125=function(){return _0x3dc49b;};return a166_0x3125();}const a166_0x45af8c=a166_0x4a10;(function(_0xa622b3,_0x32c448){const _0x15e6be=a166_0x4a10,_0x50ac50=_0xa622b3();while(!![]){try{const _0x5c1b88=parseInt(_0x15e6be(0x15f))/0x1*(parseInt(_0x15e6be(0x15a))/0x2)+parseInt(_0x15e6be(0x174))/0x3*(-parseInt(_0x15e6be(0x151))/0x4)+parseInt(_0x15e6be(0x141))/0x5+parseInt(_0x15e6be(0x16b))/0x6+-parseInt(_0x15e6be(0x144))/0x7*(parseInt(_0x15e6be(0x16a))/0x8)+-parseInt(_0x15e6be(0x145))/0x9+-parseInt(_0x15e6be(0x152))/0xa*(-parseInt(_0x15e6be(0x14f))/0xb);if(_0x5c1b88===_0x32c448)break;else _0x50ac50['push'](_0x50ac50['shift']());}catch(_0x364434){_0x50ac50['push'](_0x50ac50['shift']());}}}(a166_0x3125,0x94f16));function a166_0x4a10(_0x5007c6,_0x390475){_0x5007c6=_0x5007c6-0x141;const _0x312553=a166_0x3125();let _0x4a10dd=_0x312553[_0x5007c6];return _0x4a10dd;}export const CORE_IDE_CONFIGS={'cursor':{'name':a166_0x45af8c(0x169),'description':a166_0x45af8c(0x167),'folders':[a166_0x45af8c(0x166),a166_0x45af8c(0x14e)],'files':[{'type':a166_0x45af8c(0x168),'path':'.cursor/skills/rabetbase.md','template':a166_0x45af8c(0x14a)}]},'windsurf':{'name':a166_0x45af8c(0x16d),'description':a166_0x45af8c(0x162),'folders':['.windsurf'],'files':[{'type':a166_0x45af8c(0x168),'path':a166_0x45af8c(0x15d),'template':a166_0x45af8c(0x14a)}]},'claude':{'name':a166_0x45af8c(0x149),'description':a166_0x45af8c(0x149),'folders':[a166_0x45af8c(0x15c)],'files':[{'type':a166_0x45af8c(0x168),'path':a166_0x45af8c(0x142),'template':a166_0x45af8c(0x14a)}]},'cline':{'name':a166_0x45af8c(0x171),'description':'Cline\x20IDE','folders':[a166_0x45af8c(0x158)],'files':[{'type':'file','path':a166_0x45af8c(0x143),'template':a166_0x45af8c(0x14a)}]},'codex':{'name':a166_0x45af8c(0x16e),'description':a166_0x45af8c(0x146),'folders':[a166_0x45af8c(0x175)],'files':[{'type':a166_0x45af8c(0x168),'path':'.codex/skills/lovrabet/SKILL.md','template':a166_0x45af8c(0x14a)}]},'opencode':{'name':'OpenCode','description':'OpenCode\x20IDE','folders':[a166_0x45af8c(0x160)],'files':[{'type':'file','path':a166_0x45af8c(0x154),'template':'SKILL.md.tpl'}]},'qoder':{'name':a166_0x45af8c(0x159),'description':'Qoder\x20IDE','folders':[a166_0x45af8c(0x14c)],'files':[{'type':a166_0x45af8c(0x168),'path':'.qoder/rules/rabetbase.md','template':a166_0x45af8c(0x14a)},{'type':a166_0x45af8c(0x168),'path':a166_0x45af8c(0x147),'template':'SKILL.md.tpl'}]},'codebuddy':{'name':a166_0x45af8c(0x170),'description':'CodeBuddy\x20IDE','folders':[a166_0x45af8c(0x14b)],'files':[{'type':'file','path':a166_0x45af8c(0x176),'template':'SKILL.md.tpl'}]},'trae':{'name':a166_0x45af8c(0x173),'description':a166_0x45af8c(0x164),'folders':['.trae'],'files':[{'type':a166_0x45af8c(0x168),'path':a166_0x45af8c(0x161),'template':a166_0x45af8c(0x14a)}]}};export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':a166_0x45af8c(0x15b),'description':'通用模板\x20-\x20兜底方案','folders':[a166_0x45af8c(0x156)],'files':[{'type':'file','path':a166_0x45af8c(0x157),'template':a166_0x45af8c(0x14a)}]},'antigravity':{'name':a166_0x45af8c(0x14d),'description':a166_0x45af8c(0x16f),'folders':['.agent'],'files':[{'type':a166_0x45af8c(0x168),'path':'.agent/skills/lovrabet/SKILL.md','template':'SKILL.md.tpl'}]}};export const CORE_IDE_LIST=[a166_0x45af8c(0x165),a166_0x45af8c(0x16c),a166_0x45af8c(0x155),a166_0x45af8c(0x153),'cursor',a166_0x45af8c(0x172),a166_0x45af8c(0x163),'trae',a166_0x45af8c(0x148)];export const IDE_LIST=[a166_0x45af8c(0x150),a166_0x45af8c(0x165),a166_0x45af8c(0x16c),a166_0x45af8c(0x155),a166_0x45af8c(0x153),'cursor',a166_0x45af8c(0x172),a166_0x45af8c(0x163),a166_0x45af8c(0x15e),a166_0x45af8c(0x148),a166_0x45af8c(0x177)];export const ALL_CORE_IDES=['cursor','windsurf',a166_0x45af8c(0x165),a166_0x45af8c(0x16c),a166_0x45af8c(0x153),a166_0x45af8c(0x172),a166_0x45af8c(0x163),a166_0x45af8c(0x155),a166_0x45af8c(0x15e)];
@@ -1 +1 @@
1
- function a167_0x4b70(){const _0x5484c6=['881040Ieglaq','2776291ZCmHvc','99807uPqLiZ','2ttJXkQ','2977011RjCRKw','6Qdwtyj','1704170KZsTVX','542284CSkPHY','903786viHxIE'];a167_0x4b70=function(){return _0x5484c6;};return a167_0x4b70();}(function(_0x10914d,_0x59c925){const _0x2000f2=a167_0x14db,_0xd0ce5=_0x10914d();while(!![]){try{const _0x51191d=parseInt(_0x2000f2(0x98))/0x1+parseInt(_0x2000f2(0x90))/0x2*(-parseInt(_0x2000f2(0x95))/0x3)+parseInt(_0x2000f2(0x94))/0x4+-parseInt(_0x2000f2(0x93))/0x5+parseInt(_0x2000f2(0x92))/0x6*(parseInt(_0x2000f2(0x97))/0x7)+-parseInt(_0x2000f2(0x96))/0x8+parseInt(_0x2000f2(0x91))/0x9;if(_0x51191d===_0x59c925)break;else _0xd0ce5['push'](_0xd0ce5['shift']());}catch(_0x4e5a4a){_0xd0ce5['push'](_0xd0ce5['shift']());}}}(a167_0x4b70,0x33670));function a167_0x14db(_0x60b662,_0x4e11d7){_0x60b662=_0x60b662-0x90;const _0x4b70d4=a167_0x4b70();let _0x14db10=_0x4b70d4[_0x60b662];return _0x14db10;}import{createJqFilter}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors);
1
+ (function(_0xbed33a,_0x649564){const _0x15e3a0=a167_0x125e,_0x14f22f=_0xbed33a();while(!![]){try{const _0xc17064=parseInt(_0x15e3a0(0x1db))/0x1*(parseInt(_0x15e3a0(0x1dc))/0x2)+parseInt(_0x15e3a0(0x1d8))/0x3+-parseInt(_0x15e3a0(0x1de))/0x4+-parseInt(_0x15e3a0(0x1d9))/0x5+parseInt(_0x15e3a0(0x1dd))/0x6+-parseInt(_0x15e3a0(0x1d7))/0x7+parseInt(_0x15e3a0(0x1da))/0x8;if(_0xc17064===_0x649564)break;else _0x14f22f['push'](_0x14f22f['shift']());}catch(_0xfcca84){_0x14f22f['push'](_0x14f22f['shift']());}}}(a167_0x478d,0x6cf39));import{createJqFilter}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors);function a167_0x125e(_0x4ffe42,_0x5b086b){_0x4ffe42=_0x4ffe42-0x1d7;const _0x478d92=a167_0x478d();let _0x125e0a=_0x478d92[_0x4ffe42];return _0x125e0a;}function a167_0x478d(){const _0x571331=['186wAKRJK','3467736QcAoOh','1979208ZeRDaA','5543573yKRzja','23754MZXxYJ','3616480AFzPHh','12784248uxDodO','2929qaxcqU'];a167_0x478d=function(){return _0x571331;};return a167_0x478d();}
@@ -1 +1 @@
1
- (function(_0x237186,_0x10917){const _0x8898ec=a168_0x445c,_0x27dd57=_0x237186();while(!![]){try{const _0x14832d=-parseInt(_0x8898ec(0xb9))/0x1*(parseInt(_0x8898ec(0xb6))/0x2)+parseInt(_0x8898ec(0xbb))/0x3+-parseInt(_0x8898ec(0xb8))/0x4+-parseInt(_0x8898ec(0xb0))/0x5*(parseInt(_0x8898ec(0xb4))/0x6)+-parseInt(_0x8898ec(0xb2))/0x7+parseInt(_0x8898ec(0xb1))/0x8*(parseInt(_0x8898ec(0xba))/0x9)+parseInt(_0x8898ec(0xbf))/0xa*(parseInt(_0x8898ec(0xbe))/0xb);if(_0x14832d===_0x10917)break;else _0x27dd57['push'](_0x27dd57['shift']());}catch(_0x6cf828){_0x27dd57['push'](_0x27dd57['shift']());}}}(a168_0x2576,0x8c45c));import{getTemplateBaseUrl}from'../utils/config.js';export async function fetchCdnConfig(){const _0x33155f=a168_0x445c,_0x16c1ae=getTemplateBaseUrl(),_0x25e97b=[_0x16c1ae+_0x33155f(0xaf),_0x16c1ae+_0x33155f(0xb3)];for(const _0x218930 of _0x25e97b){try{const _0x3f2c75=await fetch(_0x218930,{'headers':{'Accept':'application/json'}});if(!_0x3f2c75['ok'])continue;const _0x39ffdc=await _0x3f2c75[_0x33155f(0xb5)]();if(!_0x39ffdc['cli']?.[_0x33155f(0xbd)]||!_0x39ffdc['sdk']?.[_0x33155f(0xbc)]?.[_0x33155f(0xbd)])continue;return _0x39ffdc;}catch{}}return null;}let cachedConfig=null,cacheTime=0x0;const CACHE_TTL=0x5*0x3c*0x3e8,FAILURE_CACHE_TTL=0x3c*0x3e8;let hasCachedConfig=![];export async function getCdnConfig(){const _0x2908f2=a168_0x445c,_0x2379af=Date[_0x2908f2(0xb7)]();if(hasCachedConfig){const _0x3ab28b=cachedConfig?CACHE_TTL:FAILURE_CACHE_TTL;if(_0x2379af-cacheTime<_0x3ab28b)return cachedConfig;}const _0x5d1f6c=await fetchCdnConfig();return cachedConfig=_0x5d1f6c,cacheTime=_0x2379af,hasCachedConfig=!![],_0x5d1f6c;}function a168_0x2576(){const _0x572992=['stableVersion','3710311IWdFcv','40fcbhIJ','/config.json','32255vvWlbL','919736HuRtvU','1242493JdIYoC','/config/index.json','570SoEbut','json','2950cdfaEw','now','676464uaWEPj','694AOncRB','63yqHRiw','1211079MDVIHH','node'];a168_0x2576=function(){return _0x572992;};return a168_0x2576();}function a168_0x445c(_0x3a1181,_0x471a07){_0x3a1181=_0x3a1181-0xaf;const _0x257656=a168_0x2576();let _0x445cda=_0x257656[_0x3a1181];return _0x445cda;}export function clearCdnConfigCache(){cachedConfig=null,cacheTime=0x0,hasCachedConfig=![];}
1
+ (function(_0x335785,_0x21735c){const _0x50bc15=a168_0x437d,_0x4c079e=_0x335785();while(!![]){try{const _0x123211=parseInt(_0x50bc15(0x91))/0x1*(parseInt(_0x50bc15(0x98))/0x2)+parseInt(_0x50bc15(0x92))/0x3+parseInt(_0x50bc15(0x8f))/0x4+parseInt(_0x50bc15(0x9e))/0x5*(parseInt(_0x50bc15(0x94))/0x6)+parseInt(_0x50bc15(0x9d))/0x7+parseInt(_0x50bc15(0x97))/0x8+-parseInt(_0x50bc15(0x93))/0x9*(parseInt(_0x50bc15(0x8e))/0xa);if(_0x123211===_0x21735c)break;else _0x4c079e['push'](_0x4c079e['shift']());}catch(_0x50f6bd){_0x4c079e['push'](_0x4c079e['shift']());}}}(a168_0x6e78,0xc7fda));import{getTemplateBaseUrl}from'../utils/config.js';export async function fetchCdnConfig(){const _0x1a9533=a168_0x437d,_0x527a1c=getTemplateBaseUrl(),_0x597403=[_0x527a1c+_0x1a9533(0x8d),_0x527a1c+_0x1a9533(0x90)];for(const _0x142415 of _0x597403){try{const _0x5a7731=await fetch(_0x142415,{'headers':{'Accept':_0x1a9533(0x96)}});if(!_0x5a7731['ok'])continue;const _0x2b3cda=await _0x5a7731['json']();if(!_0x2b3cda[_0x1a9533(0x9a)]?.[_0x1a9533(0x95)]||!_0x2b3cda[_0x1a9533(0x9c)]?.[_0x1a9533(0x99)]?.['stableVersion'])continue;return _0x2b3cda;}catch{}}return null;}function a168_0x437d(_0x37951c,_0x3b6838){_0x37951c=_0x37951c-0x8d;const _0x6e7865=a168_0x6e78();let _0x437d7c=_0x6e7865[_0x37951c];return _0x437d7c;}let cachedConfig=null,cacheTime=0x0;const CACHE_TTL=0x5*0x3c*0x3e8,FAILURE_CACHE_TTL=0x3c*0x3e8;let hasCachedConfig=![];export async function getCdnConfig(){const _0x59c2ae=a168_0x437d,_0x3cd6cc=Date[_0x59c2ae(0x9b)]();if(hasCachedConfig){const _0x2a44ce=cachedConfig?CACHE_TTL:FAILURE_CACHE_TTL;if(_0x3cd6cc-cacheTime<_0x2a44ce)return cachedConfig;}const _0x312710=await fetchCdnConfig();return cachedConfig=_0x312710,cacheTime=_0x3cd6cc,hasCachedConfig=!![],_0x312710;}function a168_0x6e78(){const _0x5c2355=['42nUnVXB','stableVersion','application/json','4530760NhAgTA','74AjuOfh','node','cli','now','sdk','7938056RuMgdP','97015zLTlCG','/config.json','1930BXjnEI','4561032PSGpos','/config/index.json','18586VVKiME','3588825chLMlf','188451cCIPIB'];a168_0x6e78=function(){return _0x5c2355;};return a168_0x6e78();}export function clearCdnConfigCache(){cachedConfig=null,cacheTime=0x0,hasCachedConfig=![];}