@lovrabet/rabetbase-cli 2.1.10-beta.3 → 2.1.11

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 (198) hide show
  1. package/lib/api/api-doc.js +1 -1
  2. package/lib/api/fetch-model-list.js +1 -1
  3. package/lib/api/generate-api-file.js +1 -1
  4. package/lib/auth/auth-server-ui.js +1 -1
  5. package/lib/auth/auth-server.js +1 -1
  6. package/lib/auth/constant.js +1 -1
  7. package/lib/auth/get-cookie.js +1 -1
  8. package/lib/auth/get-session-user.js +1 -1
  9. package/lib/auth/is-session-valid.js +1 -1
  10. package/lib/auth/login-success-html.js +1 -1
  11. package/lib/auth/logout.js +1 -1
  12. package/lib/cli-flags.js +1 -1
  13. package/lib/cli.js +1 -1
  14. package/lib/commands/api/generate.js +1 -1
  15. package/lib/commands/api/index.js +1 -1
  16. package/lib/commands/api/list.js +1 -1
  17. package/lib/commands/api/pull.js +1 -1
  18. package/lib/commands/api/shared.js +1 -1
  19. package/lib/commands/app/add.js +1 -1
  20. package/lib/commands/app/discover.js +1 -1
  21. package/lib/commands/app/index.js +1 -1
  22. package/lib/commands/app/list.js +1 -1
  23. package/lib/commands/app/remove.js +1 -1
  24. package/lib/commands/app/shared.js +1 -1
  25. package/lib/commands/app/use.js +1 -1
  26. package/lib/commands/auth/index.js +1 -1
  27. package/lib/commands/bff/create.js +1 -1
  28. package/lib/commands/bff/delete.js +1 -1
  29. package/lib/commands/bff/detail.js +1 -1
  30. package/lib/commands/bff/index.js +1 -1
  31. package/lib/commands/bff/list.js +1 -1
  32. package/lib/commands/bff/pull.js +1 -1
  33. package/lib/commands/bff/push.js +1 -1
  34. package/lib/commands/bff/status.js +1 -1
  35. package/lib/commands/cli-update.js +1 -1
  36. package/lib/commands/codegen/index.js +1 -1
  37. package/lib/commands/codegen/sdk.js +1 -1
  38. package/lib/commands/codegen/sql.js +1 -1
  39. package/lib/commands/common/app-selector.js +1 -1
  40. package/lib/commands/common/flags.js +1 -1
  41. package/lib/commands/common/validate.js +1 -1
  42. package/lib/commands/config/get.js +1 -1
  43. package/lib/commands/config/index.js +1 -1
  44. package/lib/commands/config/list.js +1 -1
  45. package/lib/commands/config/set.js +1 -1
  46. package/lib/commands/config/shared.js +1 -1
  47. package/lib/commands/data/filter.js +1 -1
  48. package/lib/commands/data/getOne.js +1 -1
  49. package/lib/commands/data/index.js +1 -1
  50. package/lib/commands/data/shared.js +1 -1
  51. package/lib/commands/dataset/capability.js +1 -1
  52. package/lib/commands/dataset/delete.js +1 -1
  53. package/lib/commands/dataset/detail.js +1 -1
  54. package/lib/commands/dataset/field-update.js +1 -1
  55. package/lib/commands/dataset/index.js +1 -1
  56. package/lib/commands/dataset/link-create.js +1 -1
  57. package/lib/commands/dataset/link-delete.js +1 -1
  58. package/lib/commands/dataset/link-shared.js +1 -1
  59. package/lib/commands/dataset/link-update.js +1 -1
  60. package/lib/commands/dataset/links.js +1 -1
  61. package/lib/commands/dataset/list.js +1 -1
  62. package/lib/commands/dataset/operations.js +1 -1
  63. package/lib/commands/db/analyze-cancel.js +1 -1
  64. package/lib/commands/db/analyze-start.js +1 -1
  65. package/lib/commands/db/analyze-status.js +1 -1
  66. package/lib/commands/db/create.js +1 -1
  67. package/lib/commands/db/delete.js +1 -1
  68. package/lib/commands/db/detail.js +1 -1
  69. package/lib/commands/db/diff.js +1 -1
  70. package/lib/commands/db/index.js +1 -1
  71. package/lib/commands/db/list.js +1 -1
  72. package/lib/commands/db/shared.js +1 -1
  73. package/lib/commands/db/tables.js +1 -1
  74. package/lib/commands/db/test.js +1 -1
  75. package/lib/commands/db/update.js +1 -1
  76. package/lib/commands/doctor.js +1 -1
  77. package/lib/commands/init/index.js +1 -1
  78. package/lib/commands/issue/index.js +1 -1
  79. package/lib/commands/issue/report.js +1 -1
  80. package/lib/commands/logs/index.js +1 -1
  81. package/lib/commands/menu/index.js +1 -1
  82. package/lib/commands/menu/shared/compare-table.js +1 -1
  83. package/lib/commands/menu/shared/index.js +1 -1
  84. package/lib/commands/menu/shared/inquirer.js +1 -1
  85. package/lib/commands/menu/shared/local-pages.js +1 -1
  86. package/lib/commands/menu/shared/logic.js +1 -1
  87. package/lib/commands/menu/shared/service.js +1 -1
  88. package/lib/commands/menu/shared/sync-core.js +1 -1
  89. package/lib/commands/menu/shared/update-core.js +1 -1
  90. package/lib/commands/menu/shared/valid-url.js +1 -1
  91. package/lib/commands/menu/sync.js +1 -1
  92. package/lib/commands/menu/update.js +1 -1
  93. package/lib/commands/page/generate-start.js +1 -1
  94. package/lib/commands/page/generate-status.js +1 -1
  95. package/lib/commands/page/index.js +1 -1
  96. package/lib/commands/page/pull.js +1 -1
  97. package/lib/commands/page/push.js +1 -1
  98. package/lib/commands/page/shared.js +1 -1
  99. package/lib/commands/page/standard-page-status.js +1 -1
  100. package/lib/commands/page/sync.js +1 -1
  101. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  102. package/lib/commands/project/create/format-elapsed.js +1 -1
  103. package/lib/commands/project/create/main.js +1 -1
  104. package/lib/commands/project/create/non-interactive.js +1 -1
  105. package/lib/commands/project/create/project-template-path.js +1 -1
  106. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  107. package/lib/commands/project/create/use-format-code.js +1 -1
  108. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  109. package/lib/commands/project/index.js +1 -1
  110. package/lib/commands/project/init.js +1 -1
  111. package/lib/commands/project/upgrade.js +1 -1
  112. package/lib/commands/registry.js +1 -1
  113. package/lib/commands/run/index.js +1 -1
  114. package/lib/commands/schema.js +1 -1
  115. package/lib/commands/skill/index.js +1 -1
  116. package/lib/commands/sql/create.js +1 -1
  117. package/lib/commands/sql/delete.js +1 -1
  118. package/lib/commands/sql/detail.js +1 -1
  119. package/lib/commands/sql/exec.js +1 -1
  120. package/lib/commands/sql/index.js +1 -1
  121. package/lib/commands/sql/list.js +1 -1
  122. package/lib/commands/sql/pull.js +1 -1
  123. package/lib/commands/sql/push.js +1 -1
  124. package/lib/commands/sql/save.js +1 -1
  125. package/lib/commands/sql/shared.js +1 -1
  126. package/lib/commands/sql/status.js +1 -1
  127. package/lib/commands/sql/validate.js +1 -1
  128. package/lib/config/schema.js +1 -1
  129. package/lib/constant/cdn.js +1 -1
  130. package/lib/constant/cli.js +1 -1
  131. package/lib/constant/defaults.js +1 -1
  132. package/lib/constant/domain.js +1 -1
  133. package/lib/constant/env.js +1 -1
  134. package/lib/constant/output.js +1 -1
  135. package/lib/constant/paths.js +1 -1
  136. package/lib/constant/risk.js +1 -1
  137. package/lib/context.js +1 -1
  138. package/lib/core/alias-resolver.js +1 -1
  139. package/lib/core/api-client.js +1 -1
  140. package/lib/core/bff/config.js +1 -1
  141. package/lib/core/bff/file-system.js +1 -1
  142. package/lib/core/bff/hash.js +1 -1
  143. package/lib/core/bff/lock.js +1 -1
  144. package/lib/core/bff/utils.js +1 -1
  145. package/lib/core/db-resolver.js +1 -1
  146. package/lib/core/page/file-system.js +1 -1
  147. package/lib/core/page/hash.js +1 -1
  148. package/lib/core/page/lock.js +1 -1
  149. package/lib/core/sql-sync/config.js +1 -1
  150. package/lib/core/sql-sync/file-system.js +1 -1
  151. package/lib/core/sql-sync/hash.js +1 -1
  152. package/lib/core/sql-sync/lock.js +1 -1
  153. package/lib/core/sql-sync/utils.js +1 -1
  154. package/lib/core/sql-validator.js +1 -1
  155. package/lib/errors.js +1 -1
  156. package/lib/framework/build-all-flags.js +1 -1
  157. package/lib/framework/flags.js +1 -1
  158. package/lib/framework/help.js +1 -1
  159. package/lib/framework/index.js +1 -1
  160. package/lib/framework/output.js +1 -1
  161. package/lib/framework/response.js +1 -1
  162. package/lib/framework/runner-alias.js +1 -1
  163. package/lib/framework/runner.js +1 -1
  164. package/lib/framework/schema-export.js +1 -1
  165. package/lib/framework/types.js +1 -1
  166. package/lib/generated/build-info.js +1 -1
  167. package/lib/help.js +1 -1
  168. package/lib/skills/main.js +1 -1
  169. package/lib/skills/npx-skills-add.js +1 -1
  170. package/lib/telemetry/cli-command-trace.js +1 -1
  171. package/lib/telemetry/cli-help-trace.js +1 -1
  172. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  173. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  174. package/lib/telemetry/send-cli-trace-log.js +1 -1
  175. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  176. package/lib/utils/ai_config.js +1 -1
  177. package/lib/utils/apply-jq-filter.js +1 -1
  178. package/lib/utils/cdn-config.js +1 -1
  179. package/lib/utils/check-sdk-version.js +1 -1
  180. package/lib/utils/cli-version-check.js +1 -1
  181. package/lib/utils/cli-version-policy.js +1 -1
  182. package/lib/utils/config.js +1 -1
  183. package/lib/utils/copy-directory.js +1 -1
  184. package/lib/utils/entity-with-id.js +1 -1
  185. package/lib/utils/file-utils.js +1 -1
  186. package/lib/utils/guides-cdn.js +1 -1
  187. package/lib/utils/http-client.js +1 -1
  188. package/lib/utils/is-non-interactive.js +1 -1
  189. package/lib/utils/logger.js +1 -1
  190. package/lib/utils/params.js +1 -1
  191. package/lib/utils/platform.js +1 -1
  192. package/lib/utils/rules-cdn.js +1 -1
  193. package/lib/utils/sleep.js +1 -1
  194. package/lib/utils/template-replacer.js +1 -1
  195. package/lib/utils/version.js +1 -1
  196. package/lib/utils/with-active-cookie.js +1 -1
  197. package/lib/utils/write-cli-side-channel.js +1 -1
  198. package/package.json +1 -2
@@ -1 +1 @@
1
- (function(_0x19ca45,_0x5d7120){const _0x1e3dd9=a152_0x562e,_0x2be891=_0x19ca45();while(!![]){try{const _0x34f41e=parseInt(_0x1e3dd9(0x1ed))/0x1+-parseInt(_0x1e3dd9(0x1ec))/0x2*(parseInt(_0x1e3dd9(0x1d6))/0x3)+parseInt(_0x1e3dd9(0x1ef))/0x4*(-parseInt(_0x1e3dd9(0x1eb))/0x5)+-parseInt(_0x1e3dd9(0x1e9))/0x6*(-parseInt(_0x1e3dd9(0x1d2))/0x7)+-parseInt(_0x1e3dd9(0x1f1))/0x8+parseInt(_0x1e3dd9(0x1e5))/0x9*(-parseInt(_0x1e3dd9(0x1d7))/0xa)+parseInt(_0x1e3dd9(0x1d5))/0xb;if(_0x34f41e===_0x5d7120)break;else _0x2be891['push'](_0x2be891['shift']());}catch(_0x11c289){_0x2be891['push'](_0x2be891['shift']());}}}(a152_0x295f,0x9d73e));import{readdir,stat}from'node:fs/promises';import{extname,join,relative}from'node:path';import{buildDefaultSqlFileName,buildSqlRelativePath}from'./utils.js';function extensionToMode(_0x1a1c81){const _0x3f1959=a152_0x562e;if(_0x1a1c81===_0x3f1959(0x1db))return _0x3f1959(0x1e0);if(_0x1a1c81===_0x3f1959(0x1d1))return _0x3f1959(0x1e1);return undefined;}function a152_0x562e(_0x3a7bbb,_0x50aa52){_0x3a7bbb=_0x3a7bbb-0x1d1;const _0x295fe5=a152_0x295f();let _0x562ee1=_0x295fe5[_0x3a7bbb];return _0x562ee1;}async function scanSqlFilesRecursively(_0xff156,_0x4682e6){const _0x4aacc4=a152_0x562e,_0x4d38dc=[];try{const _0x58bf5f=await readdir(_0xff156,{'withFileTypes':!![]});for(const _0x50ef9f of _0x58bf5f){const _0x4a61cb=join(_0xff156,_0x50ef9f[_0x4aacc4(0x1e2)]);if(_0x50ef9f[_0x4aacc4(0x1d8)]()){_0x4d38dc[_0x4aacc4(0x1e4)](...await scanSqlFilesRecursively(_0x4a61cb,_0x4682e6));continue;}if(!_0x50ef9f[_0x4aacc4(0x1e8)]())continue;const _0x313c71=extname(_0x50ef9f['name'])[_0x4aacc4(0x1d4)](),_0x1141de=extensionToMode(_0x313c71);if(!_0x1141de)continue;const _0x3940c4=relative(_0x4682e6,_0x4a61cb)['replace'](/\\/g,'/'),_0x540f00=_0x3940c4['split']('/')[_0x4aacc4(0x1f0)](Boolean),_0x138406=parseSqlPath(_0x540f00,_0x50ef9f['name'],_0x313c71);if(!_0x138406)continue;_0x4d38dc['push']({'sqlCode':_0x138406[_0x4aacc4(0x1df)],'sqlName':_0x138406[_0x4aacc4(0x1de)],'dbDirectory':_0x540f00[0x0],'filePath':_0x4a61cb,'relativePath':_0x3940c4,'lockKey':_0x138406[_0x4aacc4(0x1df)],'mode':_0x1141de});}}catch(_0x5af18e){if(_0x5af18e[_0x4aacc4(0x1e6)]!==_0x4aacc4(0x1dc))throw _0x5af18e;}return _0x4d38dc;}export async function scanLocalSqlQueries(_0x147433){const _0x2eafa7=a152_0x562e;return scanSqlFilesRecursively(_0x147433[_0x2eafa7(0x1e7)],_0x147433[_0x2eafa7(0x1e7)]);}export function resolveLocalSqlFilePath(_0x580290,_0x1c9437,_0xe4e5e8){const _0x331c98=a152_0x562e,_0x21f40e=_0xe4e5e8?.[_0x331c98(0x1da)]||(_0xe4e5e8?.['sqlName']||_0xe4e5e8?.[_0x331c98(0x1e3)]?buildSqlRelativePath(_0x1c9437,_0xe4e5e8?.[_0x331c98(0x1de)],_0xe4e5e8?.[_0x331c98(0x1e3)],_0xe4e5e8?.[_0x331c98(0x1dd)]||'sql',_0xe4e5e8?.[_0x331c98(0x1d3)]):buildDefaultSqlFileName(_0x1c9437,_0xe4e5e8?.[_0x331c98(0x1dd)]||'sql'));return join(_0x580290[_0x331c98(0x1e7)],_0x21f40e);}export async function directoryExists(_0x4187e2){const _0x2caf1a=a152_0x562e;try{const _0x206eea=await stat(_0x4187e2);return _0x206eea[_0x2caf1a(0x1d8)]();}catch{return![];}}function parseSqlPath(_0x28f4d1,_0x29e51c,_0x26fc5a){const _0x5893e6=a152_0x562e,_0x5311e0=_0x29e51c['slice'](0x0,-_0x26fc5a['length']);if(_0x28f4d1['length']<0x2)return null;const _0x59d4cf=_0x5311e0['indexOf']('_');if(_0x59d4cf<=0x0||_0x59d4cf>=_0x5311e0[_0x5893e6(0x1ea)]-0x1)return null;const _0x45e976=_0x5311e0[_0x5893e6(0x1d9)](0x0,_0x59d4cf);if(!isLikelySqlCode(_0x45e976))return null;return{'sqlCode':_0x45e976,'sqlName':_0x5311e0[_0x5893e6(0x1d9)](_0x59d4cf+0x1)};}function a152_0x295f(){const _0x4e810c=['sqlName','sqlCode','sql','mybatisXml','name','dbName','push','3654GlebyX','code','sqlRootDir','isFile','1650BhqqTX','length','1310NBscWW','134VBDptZ','761627EaisRz','test','14996NIUPkG','filter','1942040lahBXM','.xml','4697jwpeLv','dbId','toLowerCase','13729210QpByyc','7233hvWoaW','4010iqQiIx','isDirectory','slice','path','.sql','ENOENT','mode'];a152_0x295f=function(){return _0x4e810c;};return a152_0x295f();}function isLikelySqlCode(_0x25fa7f){const _0x1dfa90=a152_0x562e;return/^[A-Za-z0-9-]+-[A-Za-z0-9-]+$/[_0x1dfa90(0x1ee)](_0x25fa7f);}
1
+ (function(_0x1adab2,_0x326fad){const _0x30cb58=a152_0x2bed,_0x435d39=_0x1adab2();while(!![]){try{const _0xfc128f=parseInt(_0x30cb58(0x13a))/0x1*(-parseInt(_0x30cb58(0x133))/0x2)+-parseInt(_0x30cb58(0x127))/0x3+parseInt(_0x30cb58(0x131))/0x4+parseInt(_0x30cb58(0x132))/0x5+parseInt(_0x30cb58(0x12f))/0x6+parseInt(_0x30cb58(0x12e))/0x7+-parseInt(_0x30cb58(0x125))/0x8;if(_0xfc128f===_0x326fad)break;else _0x435d39['push'](_0x435d39['shift']());}catch(_0x176b5f){_0x435d39['push'](_0x435d39['shift']());}}}(a152_0x3a7e,0xdaa83));import{readdir,stat}from'node:fs/promises';import{extname,join,relative}from'node:path';function a152_0x3a7e(){const _0x567526=['7189880uOdlDh','sqlCode','2023953OQAvGc','sqlName','length','ENOENT','toLowerCase','path','slice','7935711LYFQyx','5032368trEFKx','push','6516600JSUxRV','2464060CYEMaz','4gcnkCw','filter','name','indexOf','replace','code','mode','812679XGmmvV','sql','sqlRootDir','isFile','isDirectory'];a152_0x3a7e=function(){return _0x567526;};return a152_0x3a7e();}import{buildDefaultSqlFileName,buildSqlRelativePath}from'./utils.js';function extensionToMode(_0x4e140d){if(_0x4e140d==='.sql')return'sql';if(_0x4e140d==='.xml')return'mybatisXml';return undefined;}async function scanSqlFilesRecursively(_0x16e9f6,_0x58845e){const _0x18cbc4=a152_0x2bed,_0x177f63=[];try{const _0x43b7a2=await readdir(_0x16e9f6,{'withFileTypes':!![]});for(const _0x241b0b of _0x43b7a2){const _0x5ad9d3=join(_0x16e9f6,_0x241b0b[_0x18cbc4(0x135)]);if(_0x241b0b[_0x18cbc4(0x124)]()){_0x177f63[_0x18cbc4(0x130)](...await scanSqlFilesRecursively(_0x5ad9d3,_0x58845e));continue;}if(!_0x241b0b[_0x18cbc4(0x123)]())continue;const _0x48be58=extname(_0x241b0b[_0x18cbc4(0x135)])[_0x18cbc4(0x12b)](),_0x3c91cf=extensionToMode(_0x48be58);if(!_0x3c91cf)continue;const _0x147bbb=relative(_0x58845e,_0x5ad9d3)[_0x18cbc4(0x137)](/\\/g,'/'),_0x23889a=_0x147bbb['split']('/')[_0x18cbc4(0x134)](Boolean),_0x8a08ad=parseSqlPath(_0x23889a,_0x241b0b[_0x18cbc4(0x135)],_0x48be58);if(!_0x8a08ad)continue;_0x177f63[_0x18cbc4(0x130)]({'sqlCode':_0x8a08ad['sqlCode'],'sqlName':_0x8a08ad[_0x18cbc4(0x128)],'dbDirectory':_0x23889a[0x0],'filePath':_0x5ad9d3,'relativePath':_0x147bbb,'lockKey':_0x8a08ad[_0x18cbc4(0x126)],'mode':_0x3c91cf});}}catch(_0x4e4ba5){if(_0x4e4ba5[_0x18cbc4(0x138)]!==_0x18cbc4(0x12a))throw _0x4e4ba5;}return _0x177f63;}export async function scanLocalSqlQueries(_0x5399e4){const _0x2abe7e=a152_0x2bed;return scanSqlFilesRecursively(_0x5399e4[_0x2abe7e(0x122)],_0x5399e4[_0x2abe7e(0x122)]);}export function resolveLocalSqlFilePath(_0x22c3a0,_0x5689b4,_0x3a0533){const _0x148084=a152_0x2bed,_0xa038b5=_0x3a0533?.[_0x148084(0x12c)]||(_0x3a0533?.['sqlName']||_0x3a0533?.['dbName']?buildSqlRelativePath(_0x5689b4,_0x3a0533?.[_0x148084(0x128)],_0x3a0533?.['dbName'],_0x3a0533?.[_0x148084(0x139)]||_0x148084(0x121),_0x3a0533?.['dbId']):buildDefaultSqlFileName(_0x5689b4,_0x3a0533?.[_0x148084(0x139)]||_0x148084(0x121)));return join(_0x22c3a0['sqlRootDir'],_0xa038b5);}function a152_0x2bed(_0x1c90e3,_0x309ea9){_0x1c90e3=_0x1c90e3-0x121;const _0x3a7e0d=a152_0x3a7e();let _0x2bed34=_0x3a7e0d[_0x1c90e3];return _0x2bed34;}export async function directoryExists(_0x1cf444){try{const _0x23877c=await stat(_0x1cf444);return _0x23877c['isDirectory']();}catch{return![];}}function parseSqlPath(_0x5e7956,_0x599fa7,_0x59aa1f){const _0xf66e94=a152_0x2bed,_0x16d44e=_0x599fa7[_0xf66e94(0x12d)](0x0,-_0x59aa1f[_0xf66e94(0x129)]);if(_0x5e7956[_0xf66e94(0x129)]<0x2)return null;const _0x493f1a=_0x16d44e[_0xf66e94(0x136)]('_');if(_0x493f1a<=0x0||_0x493f1a>=_0x16d44e[_0xf66e94(0x129)]-0x1)return null;const _0x2488d7=_0x16d44e[_0xf66e94(0x12d)](0x0,_0x493f1a);if(!isLikelySqlCode(_0x2488d7))return null;return{'sqlCode':_0x2488d7,'sqlName':_0x16d44e[_0xf66e94(0x12d)](_0x493f1a+0x1)};}function isLikelySqlCode(_0x27eeac){return/^[A-Za-z0-9-]+-[A-Za-z0-9-]+$/['test'](_0x27eeac);}
@@ -1 +1 @@
1
- (function(_0x44b4f3,_0x5b5854){const _0x4d6251=a153_0x38ee,_0x3dab4d=_0x44b4f3();while(!![]){try{const _0x10c2b3=parseInt(_0x4d6251(0xfe))/0x1*(-parseInt(_0x4d6251(0xf9))/0x2)+-parseInt(_0x4d6251(0xf5))/0x3+parseInt(_0x4d6251(0xfa))/0x4+parseInt(_0x4d6251(0xfc))/0x5*(parseInt(_0x4d6251(0x100))/0x6)+parseInt(_0x4d6251(0xf6))/0x7*(parseInt(_0x4d6251(0xf4))/0x8)+parseInt(_0x4d6251(0xfb))/0x9+parseInt(_0x4d6251(0xf2))/0xa*(-parseInt(_0x4d6251(0xf3))/0xb);if(_0x10c2b3===_0x5b5854)break;else _0x3dab4d['push'](_0x3dab4d['shift']());}catch(_0x19034b){_0x3dab4d['push'](_0x3dab4d['shift']());}}}(a153_0x4f8d,0x67197));import{readFile}from'node:fs/promises';function a153_0x38ee(_0xe05f7,_0x11842a){_0xe05f7=_0xe05f7-0xf2;const _0x4f8d62=a153_0x4f8d();let _0x38ee50=_0x4f8d62[_0xe05f7];return _0x38ee50;}import a153_0x21efdd from'node:crypto';function a153_0x4f8d(){const _0x288e0d=['838670VsJnCG','121dLglwy','16oTtFOl','1372509vApEio','1252412sNvIoU','digest','update','18252EaWauH','3004872HrOVpt','4213926pqRGOa','535355saJzlu','utf8','34TyWKWT','createHash','30ROkEVN'];a153_0x4f8d=function(){return _0x288e0d;};return a153_0x4f8d();}export function computeSqlContentHash(_0xa55dab){const _0x544707=a153_0x38ee;return a153_0x21efdd[_0x544707(0xff)]('md5')[_0x544707(0xf8)](_0xa55dab)[_0x544707(0xf7)]('hex');}export async function computeSqlFileHash(_0x96def2){const _0x1c2507=a153_0x38ee,_0x25dab5=await readFile(_0x96def2,_0x1c2507(0xfd));return computeSqlContentHash(_0x25dab5);}
1
+ (function(_0x2d7afb,_0x84ad32){const _0x5a04fd=a153_0x232b,_0x82bf4=_0x2d7afb();while(!![]){try{const _0x2af4ce=-parseInt(_0x5a04fd(0x1f6))/0x1+parseInt(_0x5a04fd(0x1f8))/0x2*(-parseInt(_0x5a04fd(0x1ef))/0x3)+parseInt(_0x5a04fd(0x1f2))/0x4+-parseInt(_0x5a04fd(0x1fa))/0x5*(parseInt(_0x5a04fd(0x1f3))/0x6)+-parseInt(_0x5a04fd(0x1f9))/0x7*(parseInt(_0x5a04fd(0x1fb))/0x8)+-parseInt(_0x5a04fd(0x1fd))/0x9+parseInt(_0x5a04fd(0x1fe))/0xa*(parseInt(_0x5a04fd(0x1f5))/0xb);if(_0x2af4ce===_0x84ad32)break;else _0x82bf4['push'](_0x82bf4['shift']());}catch(_0x1a2522){_0x82bf4['push'](_0x82bf4['shift']());}}}(a153_0x3a1d,0x8bbff));function a153_0x3a1d(){const _0xdc0083=['643699xONMPI','145JJSJvT','56fLPOcg','update','3964644rnzpCY','20TJFHUA','18ZtAtKP','utf8','md5','3103848wxwRCw','37008UWAYTY','createHash','12651529EvkZOR','1090972uvvTnX','hex','49922EQeyNo'];a153_0x3a1d=function(){return _0xdc0083;};return a153_0x3a1d();}function a153_0x232b(_0x2d6582,_0x2b96a2){_0x2d6582=_0x2d6582-0x1ef;const _0x3a1da4=a153_0x3a1d();let _0x232baf=_0x3a1da4[_0x2d6582];return _0x232baf;}import{readFile}from'node:fs/promises';import a153_0x12f834 from'node:crypto';export function computeSqlContentHash(_0x38b136){const _0x261435=a153_0x232b;return a153_0x12f834[_0x261435(0x1f4)](_0x261435(0x1f1))[_0x261435(0x1fc)](_0x38b136)['digest'](_0x261435(0x1f7));}export async function computeSqlFileHash(_0x12bd22){const _0x4ebdc3=a153_0x232b,_0x1b293d=await readFile(_0x12bd22,_0x4ebdc3(0x1f0));return computeSqlContentHash(_0x1b293d);}
@@ -1 +1 @@
1
- (function(_0xb31c30,_0x17d934){const _0xa8215=a154_0x47ce,_0xddf508=_0xb31c30();while(!![]){try{const _0x23569c=parseInt(_0xa8215(0x89))/0x1*(-parseInt(_0xa8215(0x95))/0x2)+parseInt(_0xa8215(0x94))/0x3+parseInt(_0xa8215(0x96))/0x4*(-parseInt(_0xa8215(0x97))/0x5)+parseInt(_0xa8215(0x91))/0x6+parseInt(_0xa8215(0x92))/0x7*(-parseInt(_0xa8215(0x8f))/0x8)+-parseInt(_0xa8215(0x8e))/0x9+parseInt(_0xa8215(0x87))/0xa*(parseInt(_0xa8215(0x8b))/0xb);if(_0x23569c===_0x17d934)break;else _0xddf508['push'](_0xddf508['shift']());}catch(_0xc51b9e){_0xddf508['push'](_0xddf508['shift']());}}}(a154_0x35b1,0xce327));import{mkdir,readFile,writeFile}from'node:fs/promises';import{dirname}from'node:path';export function createEmptySqlLock(){return{'apps':{}};}export function ensureSqlLockScope(_0x1b71f6,_0x243a43,_0x3623bf,_0x7d5a59){const _0xd32838=a154_0x47ce,_0x2cd60e=_0x1b71f6??createEmptySqlLock();let _0x167819=_0x2cd60e['apps'][_0x243a43];if(!_0x167819)return _0x167819={'sqlRoot':_0x3623bf,'lastSync':'','sqls':{}},_0x2cd60e[_0xd32838(0x8d)][_0x243a43]=_0x167819,{'lockData':_0x2cd60e,'appLock':_0x167819};if(!_0x167819[_0xd32838(0x86)])_0x167819[_0xd32838(0x86)]=_0x3623bf;else{if(_0x167819[_0xd32838(0x86)]!==_0x3623bf)throw new Error(_0x7d5a59+_0xd32838(0x93)+_0x3623bf+_0xd32838(0x8c)+_0x167819['sqlRoot']+'\x22.\x20'+'Check\x20.rabetbase/sql.lock.json\x20or\x20operate\x20from\x20the\x20correct\x20project\x20directory.');}return!_0x167819[_0xd32838(0x98)]&&(_0x167819[_0xd32838(0x98)]={}),!_0x167819[_0xd32838(0x90)]&&(_0x167819[_0xd32838(0x90)]=''),{'lockData':_0x2cd60e,'appLock':_0x167819};}function a154_0x47ce(_0x5af316,_0x56e20e){_0x5af316=_0x5af316-0x86;const _0x35b1b1=a154_0x35b1();let _0x47ce1a=_0x35b1b1[_0x5af316];return _0x47ce1a;}export async function readSqlLockFile(_0x34fe2e){const _0x3293db=a154_0x47ce;try{const _0x964b30=await readFile(_0x34fe2e,'utf8');return JSON['parse'](_0x964b30);}catch(_0xe32110){if(_0xe32110[_0x3293db(0x8a)]==='ENOENT')return null;throw new Error(_0x3293db(0x88)+String(_0xe32110));}}export async function writeSqlLockFile(_0x47dcc5,_0x2b9cb3){const _0x4ebd64=a154_0x47ce;await mkdir(dirname(_0x47dcc5),{'recursive':!![]}),await writeFile(_0x47dcc5,JSON['stringify'](_0x2b9cb3,null,0x2),_0x4ebd64(0x99));}function a154_0x35b1(){const _0x2ed081=['\x22\x20vs\x20lock\x20\x22','apps','15042114ClDuyR','1585136ZtlEGC','lastSync','3943872rUloBI','14laFNIS',':\x20sqlRoot\x20mismatch\x20—\x20current\x20\x22','3291909HmLAYw','67258zVJSRV','2063676HfNLMs','5FWisoU','sqls','utf8','sqlRoot','10waqirW','Failed\x20to\x20read\x20SQL\x20lock\x20file:\x20','10tXwtZH','code','22107877UuyWBY'];a154_0x35b1=function(){return _0x2ed081;};return a154_0x35b1();}
1
+ (function(_0x3b1b3f,_0x15456e){const _0x45a15e=a154_0x13c5,_0x29f748=_0x3b1b3f();while(!![]){try{const _0x353e5c=-parseInt(_0x45a15e(0x1f1))/0x1+parseInt(_0x45a15e(0x1e4))/0x2*(parseInt(_0x45a15e(0x1ed))/0x3)+parseInt(_0x45a15e(0x1ef))/0x4+parseInt(_0x45a15e(0x1df))/0x5+parseInt(_0x45a15e(0x1e5))/0x6*(parseInt(_0x45a15e(0x1e3))/0x7)+-parseInt(_0x45a15e(0x1e0))/0x8+parseInt(_0x45a15e(0x1f3))/0x9*(-parseInt(_0x45a15e(0x1f2))/0xa);if(_0x353e5c===_0x15456e)break;else _0x29f748['push'](_0x29f748['shift']());}catch(_0x2b03f7){_0x29f748['push'](_0x29f748['shift']());}}}(a154_0x1468,0x625d7));function a154_0x1468(){const _0xf8f3c6=['utf8','stringify','parse','code','Failed\x20to\x20read\x20SQL\x20lock\x20file:\x20','sqls','lastSync','189fhWmWA','sqlRoot','509048pAlryL',':\x20sqlRoot\x20mismatch\x20—\x20current\x20\x22','473959JcRKni','60BKqulX','336861KBgDQP','\x22\x20vs\x20lock\x20\x22','2734885MCPeRF','1503560LHcncb','\x22.\x20','apps','1022BMrJkA','3904hBVSZK','20226ZsVUJR'];a154_0x1468=function(){return _0xf8f3c6;};return a154_0x1468();}import{mkdir,readFile,writeFile}from'node:fs/promises';import{dirname}from'node:path';function a154_0x13c5(_0x3c7c22,_0x4cd4f1){_0x3c7c22=_0x3c7c22-0x1df;const _0x146847=a154_0x1468();let _0x13c5e7=_0x146847[_0x3c7c22];return _0x13c5e7;}export function createEmptySqlLock(){return{'apps':{}};}export function ensureSqlLockScope(_0x351645,_0x420f39,_0x5448d4,_0x91e663){const _0x2d86d3=a154_0x13c5,_0x1cba3f=_0x351645??createEmptySqlLock();let _0x2afdfc=_0x1cba3f[_0x2d86d3(0x1e2)][_0x420f39];if(!_0x2afdfc)return _0x2afdfc={'sqlRoot':_0x5448d4,'lastSync':'','sqls':{}},_0x1cba3f[_0x2d86d3(0x1e2)][_0x420f39]=_0x2afdfc,{'lockData':_0x1cba3f,'appLock':_0x2afdfc};if(!_0x2afdfc[_0x2d86d3(0x1ee)])_0x2afdfc['sqlRoot']=_0x5448d4;else{if(_0x2afdfc[_0x2d86d3(0x1ee)]!==_0x5448d4)throw new Error(_0x91e663+_0x2d86d3(0x1f0)+_0x5448d4+_0x2d86d3(0x1f4)+_0x2afdfc[_0x2d86d3(0x1ee)]+_0x2d86d3(0x1e1)+'Check\x20.rabetbase/sql.lock.json\x20or\x20operate\x20from\x20the\x20correct\x20project\x20directory.');}return!_0x2afdfc[_0x2d86d3(0x1eb)]&&(_0x2afdfc[_0x2d86d3(0x1eb)]={}),!_0x2afdfc[_0x2d86d3(0x1ec)]&&(_0x2afdfc[_0x2d86d3(0x1ec)]=''),{'lockData':_0x1cba3f,'appLock':_0x2afdfc};}export async function readSqlLockFile(_0x5ef197){const _0x3a0c0d=a154_0x13c5;try{const _0x2cfd2c=await readFile(_0x5ef197,_0x3a0c0d(0x1e6));return JSON[_0x3a0c0d(0x1e8)](_0x2cfd2c);}catch(_0x35af56){if(_0x35af56[_0x3a0c0d(0x1e9)]==='ENOENT')return null;throw new Error(_0x3a0c0d(0x1ea)+String(_0x35af56));}}export async function writeSqlLockFile(_0x3ccf38,_0x1e0738){const _0x5c843a=a154_0x13c5;await mkdir(dirname(_0x3ccf38),{'recursive':!![]}),await writeFile(_0x3ccf38,JSON[_0x5c843a(0x1e7)](_0x1e0738,null,0x2),_0x5c843a(0x1e6));}
@@ -1 +1 @@
1
- (function(_0x36c013,_0x1f96f6){const _0x403f32=a156_0x113a,_0x32af76=_0x36c013();while(!![]){try{const _0x512aad=parseInt(_0x403f32(0x152))/0x1+parseInt(_0x403f32(0x143))/0x2*(parseInt(_0x403f32(0x14c))/0x3)+parseInt(_0x403f32(0x147))/0x4+-parseInt(_0x403f32(0x145))/0x5+parseInt(_0x403f32(0x150))/0x6*(parseInt(_0x403f32(0x148))/0x7)+-parseInt(_0x403f32(0x14b))/0x8+-parseInt(_0x403f32(0x146))/0x9;if(_0x512aad===_0x1f96f6)break;else _0x32af76['push'](_0x32af76['shift']());}catch(_0x391d0a){_0x32af76['push'](_0x32af76['shift']());}}}(a156_0x35b0,0x94b34));export function detectSqlMode(_0x53d4d7){const _0x19d559=a156_0x113a,_0x598101=_0x53d4d7[_0x19d559(0x149)]();if(/^<(select|insert|update|delete)\b/i['test'](_0x598101))return _0x19d559(0x14a);return _0x19d559(0x151);}function a156_0x113a(_0x142587,_0x2ef5b1){_0x142587=_0x142587-0x143;const _0x35b04e=a156_0x35b0();let _0x113a5a=_0x35b04e[_0x142587];return _0x113a5a;}export function getSqlFileExtension(_0x2dc1b9){const _0x264af7=a156_0x113a;return _0x2dc1b9===_0x264af7(0x14a)?_0x264af7(0x14d):'.sql';}export function buildDefaultSqlFileName(_0x34ecf0,_0x5d2c80){return''+_0x34ecf0+getSqlFileExtension(_0x5d2c80);}export function sanitizeSqlPathSegment(_0x1262af,_0x346993){const _0x20430a=a156_0x113a,_0x28c649=String(_0x1262af??'')[_0x20430a(0x144)](),_0xb6ae69=_0x28c649[_0x20430a(0x14e)](/[<>:"/\\|?*\u0000-\u001F]/g,'-')[_0x20430a(0x14e)](/\s+/g,'-')[_0x20430a(0x14e)](/-+/g,'-')[_0x20430a(0x14e)](/^\.+/,'')[_0x20430a(0x14e)](/\.+$/,'')[_0x20430a(0x14e)](/^-+/,'')[_0x20430a(0x14e)](/-+$/,'');return _0xb6ae69||_0x346993;}function a156_0x35b0(){const _0x2d2e2e=['mybatisXml','5555384fRTkJt','6QDYYll','.xml','replace','unknown-sql','1650774qDFEpy','sql','347942pwVfpb','db-','1115930YKHRjo','trim','3909215ZtsGyL','10091646ttnnVD','3669508CGkvyl','21FEitjl','trimStart'];a156_0x35b0=function(){return _0x2d2e2e;};return a156_0x35b0();}export function buildDbDirectoryName(_0x2b62de,_0x1acee6){const _0x8d2781=a156_0x113a;return sanitizeSqlPathSegment(_0x2b62de,_0x1acee6!=null?_0x8d2781(0x153)+_0x1acee6:'unknown-db');}export function buildSqlRelativePath(_0x557565,_0x3cca9a,_0x2bfdad,_0x48818f,_0xbd2a8e){const _0x19bb5f=a156_0x113a,_0xab5448=buildDbDirectoryName(_0x2bfdad,_0xbd2a8e),_0x3a03fc=sanitizeSqlPathSegment(_0x557565,_0x19bb5f(0x14f)),_0x577b7b=sanitizeSqlPathSegment(_0x3cca9a,_0x3a03fc);return _0xab5448+'/'+_0x3a03fc+'_'+_0x577b7b+getSqlFileExtension(_0x48818f);}
1
+ (function(_0xfd249,_0x351002){const _0x47485e=a156_0x2f28,_0x151217=_0xfd249();while(!![]){try{const _0x124227=-parseInt(_0x47485e(0x111))/0x1+parseInt(_0x47485e(0x10d))/0x2*(-parseInt(_0x47485e(0x110))/0x3)+parseInt(_0x47485e(0x10f))/0x4+parseInt(_0x47485e(0x118))/0x5*(-parseInt(_0x47485e(0x10b))/0x6)+parseInt(_0x47485e(0x11c))/0x7+-parseInt(_0x47485e(0x115))/0x8+-parseInt(_0x47485e(0x114))/0x9*(-parseInt(_0x47485e(0x10c))/0xa);if(_0x124227===_0x351002)break;else _0x151217['push'](_0x151217['shift']());}catch(_0x545859){_0x151217['push'](_0x151217['shift']());}}}(a156_0x31c1,0x987f8));export function detectSqlMode(_0x33a9d7){const _0x3b676f=a156_0x2f28,_0x522c47=_0x33a9d7['trimStart']();if(/^<(select|insert|update|delete)\b/i[_0x3b676f(0x10e)](_0x522c47))return _0x3b676f(0x117);return _0x3b676f(0x11a);}export function getSqlFileExtension(_0xb3360e){const _0x1f666=a156_0x2f28;return _0xb3360e==='mybatisXml'?_0x1f666(0x113):_0x1f666(0x119);}export function buildDefaultSqlFileName(_0x26c9b8,_0x32d297){return''+_0x26c9b8+getSqlFileExtension(_0x32d297);}function a156_0x31c1(){const _0x25199d=['445236yzVgOx','trim','.xml','9TWkyQK','9944072OFyvMD','db-','mybatisXml','6995rZZarf','.sql','sql','replace','5691665aoWKxD','636IdJOan','12228890GpsIHb','974hGOHql','test','2076712KDOSvf','579OJoipm'];a156_0x31c1=function(){return _0x25199d;};return a156_0x31c1();}function a156_0x2f28(_0x1e8397,_0x3b7315){_0x1e8397=_0x1e8397-0x10b;const _0x31c1af=a156_0x31c1();let _0x2f285c=_0x31c1af[_0x1e8397];return _0x2f285c;}export function sanitizeSqlPathSegment(_0x4c0d18,_0x3b7e1f){const _0x45fcfd=a156_0x2f28,_0x2e22b6=String(_0x4c0d18??'')[_0x45fcfd(0x112)](),_0x57f287=_0x2e22b6['replace'](/[<>:"/\\|?*\u0000-\u001F]/g,'-')['replace'](/\s+/g,'-')[_0x45fcfd(0x11b)](/-+/g,'-')[_0x45fcfd(0x11b)](/^\.+/,'')[_0x45fcfd(0x11b)](/\.+$/,'')[_0x45fcfd(0x11b)](/^-+/,'')['replace'](/-+$/,'');return _0x57f287||_0x3b7e1f;}export function buildDbDirectoryName(_0x395aca,_0x83b436){const _0x583479=a156_0x2f28;return sanitizeSqlPathSegment(_0x395aca,_0x83b436!=null?_0x583479(0x116)+_0x83b436:'unknown-db');}export function buildSqlRelativePath(_0x1201bf,_0x4df802,_0x4a787a,_0xab6ecd,_0x3e669f){const _0x43ee95=buildDbDirectoryName(_0x4a787a,_0x3e669f),_0x30be23=sanitizeSqlPathSegment(_0x1201bf,'unknown-sql'),_0x8d42c2=sanitizeSqlPathSegment(_0x4df802,_0x30be23);return _0x43ee95+'/'+_0x30be23+'_'+_0x8d42c2+getSqlFileExtension(_0xab6ecd);}
@@ -1 +1 @@
1
- function a157_0x2aba(){const _0x50ede8=['join','length','59434JEitEz','1333323yXDyff','matchAll','startsWith','type','\x20query\x20targeting\x20','from','split','DELETE\x20statements\x20are\x20blocked\x20from\x20auto-save','UNKNOWN','test','push','2WNpFOb','DELETE','\x20statements\x20cannot\x20be\x20auto-saved.\x20Please\x20operate\x20manually\x20on\x20the\x20platform.','UPDATE','reason','476YARPKP','isDangerous','26984rKkzcB','SELECT','unknown\x20table(s)','DDL','match','Unable\x20to\x20detect\x20SQL\x20type.\x20Please\x20check\x20the\x20SQL\x20content.','INSERT','587316iZAMpd','471027WpOMiT','45240HbmwMT','10LZAyQm','add','1573722chOIAt','76zExKps','toUpperCase','replace','11bBDxgo','includes','trim','SQL\x20contains\x20modification\x20statements\x20alongside\x20SELECT'];a157_0x2aba=function(){return _0x50ede8;};return a157_0x2aba();}(function(_0x369fd6,_0x3cb963){const _0x4c6dc5=a157_0x1172,_0x3184ad=_0x369fd6();while(!![]){try{const _0x2c2dca=parseInt(_0x4c6dc5(0x170))/0x1+parseInt(_0x4c6dc5(0x17c))/0x2*(-parseInt(_0x4c6dc5(0x162))/0x3)+parseInt(_0x4c6dc5(0x167))/0x4*(parseInt(_0x4c6dc5(0x163))/0x5)+-parseInt(_0x4c6dc5(0x166))/0x6+-parseInt(_0x4c6dc5(0x158))/0x7*(-parseInt(_0x4c6dc5(0x15a))/0x8)+-parseInt(_0x4c6dc5(0x171))/0x9*(-parseInt(_0x4c6dc5(0x164))/0xa)+-parseInt(_0x4c6dc5(0x16a))/0xb*(parseInt(_0x4c6dc5(0x161))/0xc);if(_0x2c2dca===_0x3cb963)break;else _0x3184ad['push'](_0x3184ad['shift']());}catch(_0x4966b3){_0x3184ad['push'](_0x3184ad['shift']());}}}(a157_0x2aba,0x2254a));function a157_0x1172(_0x345f48,_0x2b84c0){_0x345f48=_0x345f48-0x154;const _0x2aba80=a157_0x2aba();let _0x1172c9=_0x2aba80[_0x345f48];return _0x1172c9;}export function detectSqlType(_0x4123d2){const _0x13d33c=a157_0x1172;if(!_0x4123d2?.[_0x13d33c(0x16c)]())return{'type':'UNKNOWN','isSelectOnly':![],'isDangerous':![],'reason':'SQL\x20content\x20is\x20empty'};const _0xa93e54=_0x4123d2[_0x13d33c(0x169)](/#\{[^}]*\}/g,'?')['replace'](/\$\{[^}]*\}/g,'?')['replace'](/@[^(\s]+(\([^)]*\))?/g,'')['replace'](/\/\*[\s\S]*?\*\//g,'')[_0x13d33c(0x16c)](),_0x331416=_0xa93e54[_0x13d33c(0x177)]('\x0a');let _0x371e18='';for(const _0x24947e of _0x331416){const _0x505b75=_0x24947e[_0x13d33c(0x16c)]();if(!_0x505b75||_0x505b75[_0x13d33c(0x173)]('--')||_0x505b75[_0x13d33c(0x173)]('/*'))continue;_0x371e18=_0x505b75;break;}const _0x587127=_0x371e18[_0x13d33c(0x168)]();if(_0x587127['startsWith']('SELECT')||_0x587127[_0x13d33c(0x173)]('WITH')){const _0xfc9ce7=/\b(INSERT|UPDATE|DELETE|DROP|ALTER|CREATE|TRUNCATE)\b/i[_0x13d33c(0x17a)](_0xa93e54);return{'type':_0x13d33c(0x15b),'isSelectOnly':!_0xfc9ce7,'isDangerous':_0xfc9ce7,'reason':_0xfc9ce7?_0x13d33c(0x16d):undefined};}if(_0x587127[_0x13d33c(0x173)](_0x13d33c(0x160)))return{'type':_0x13d33c(0x160),'isSelectOnly':![],'isDangerous':![]};if(_0x587127['startsWith'](_0x13d33c(0x156)))return{'type':'UPDATE','isSelectOnly':![],'isDangerous':![]};if(_0x587127[_0x13d33c(0x173)](_0x13d33c(0x154)))return{'type':'DELETE','isSelectOnly':![],'isDangerous':!![],'reason':_0x13d33c(0x178)};if(/^(CREATE|ALTER|DROP|TRUNCATE)/i[_0x13d33c(0x17a)](_0x587127))return{'type':_0x13d33c(0x15d),'isSelectOnly':![],'isDangerous':!![],'reason':'DDL\x20statements\x20are\x20blocked\x20from\x20auto-save'};return{'type':_0x13d33c(0x179),'isSelectOnly':![],'isDangerous':![]};}function extractTables(_0x563753){const _0x3f03df=a157_0x1172,_0x4e8644=_0x563753[_0x3f03df(0x169)](/#\{[^}]*\}/g,'?')[_0x3f03df(0x169)](/\$\{[^}]*\}/g,'?')['replace'](/'[^']*'/g,'\x27\x27')[_0x3f03df(0x169)](/--.*$/gm,'')[_0x3f03df(0x169)](/\/\*[\s\S]*?\*\//g,''),_0xfd3a76=[],_0x188807=_0x4e8644[_0x3f03df(0x15e)](/FROM\s+([^\s,)(]+)/i);if(_0x188807?.[0x1])_0xfd3a76[_0x3f03df(0x17b)](_0x188807[0x1][_0x3f03df(0x169)](/[`"]/g,''));for(const _0x594e5b of _0x4e8644[_0x3f03df(0x172)](/(?:INNER|LEFT|RIGHT|FULL|CROSS)?\s*JOIN\s+([^\s,)(]+)/gi)){const _0xc9bfb1=_0x594e5b[0x1]?.[_0x3f03df(0x169)](/[`"]/g,'');if(_0xc9bfb1&&!_0xfd3a76['includes'](_0xc9bfb1))_0xfd3a76[_0x3f03df(0x17b)](_0xc9bfb1);}const _0x83ebbf=_0x4e8644['match'](/INTO\s+([^\s(]+)/i);if(_0x83ebbf?.[0x1]){const _0x5bfa56=_0x83ebbf[0x1][_0x3f03df(0x169)](/[`"]/g,'');if(!_0xfd3a76[_0x3f03df(0x16b)](_0x5bfa56))_0xfd3a76[_0x3f03df(0x17b)](_0x5bfa56);}const _0x31af5f=_0x4e8644[_0x3f03df(0x15e)](/UPDATE\s+([^\s,)(]+)/i);if(_0x31af5f?.[0x1]){const _0x50dbca=_0x31af5f[0x1][_0x3f03df(0x169)](/[`"]/g,'');if(!_0xfd3a76[_0x3f03df(0x16b)](_0x50dbca))_0xfd3a76['push'](_0x50dbca);}return _0xfd3a76;}function extractParameters(_0x168707){const _0xbc3e8c=a157_0x1172,_0xeedfd3=new Set();for(const _0x54b52f of _0x168707[_0xbc3e8c(0x172)](/#\{(\w+)\}/g))if(_0x54b52f[0x1])_0xeedfd3[_0xbc3e8c(0x165)](_0x54b52f[0x1]);for(const _0x10e49b of _0x168707['matchAll'](/\$\{(\w+)\}/g))if(_0x10e49b[0x1])_0xeedfd3[_0xbc3e8c(0x165)](_0x10e49b[0x1]);return Array[_0xbc3e8c(0x176)](_0xeedfd3);}export function validateSql(_0x1facc3){const _0x2f8de9=a157_0x1172,_0x1d5a6e=detectSqlType(_0x1facc3),_0x546d5e=extractTables(_0x1facc3),_0x3e6397=extractParameters(_0x1facc3);if(_0x1d5a6e[_0x2f8de9(0x159)])return{'valid':![],'sqlType':_0x1d5a6e,'tables':_0x546d5e,'parameters':_0x3e6397,'message':_0x1d5a6e[_0x2f8de9(0x157)]||_0x1d5a6e[_0x2f8de9(0x174)]+_0x2f8de9(0x155)};if(_0x1d5a6e[_0x2f8de9(0x174)]===_0x2f8de9(0x179))return{'valid':![],'sqlType':_0x1d5a6e,'tables':_0x546d5e,'parameters':_0x3e6397,'message':_0x2f8de9(0x15f)};return{'valid':!![],'sqlType':_0x1d5a6e,'tables':_0x546d5e,'parameters':_0x3e6397,'message':_0x1d5a6e[_0x2f8de9(0x174)]+_0x2f8de9(0x175)+(_0x546d5e[_0x2f8de9(0x16f)]?_0x546d5e[_0x2f8de9(0x16e)](',\x20'):_0x2f8de9(0x15c))+(_0x3e6397[_0x2f8de9(0x16f)]?'\x20with\x20parameters:\x20'+_0x3e6397['join'](',\x20'):'')};}
1
+ (function(_0x5a61cf,_0x1d9c27){const _0x1c4a3c=a157_0x4d68,_0x1bc6e4=_0x5a61cf();while(!![]){try{const _0x24021a=parseInt(_0x1c4a3c(0x11f))/0x1+parseInt(_0x1c4a3c(0x119))/0x2*(-parseInt(_0x1c4a3c(0x105))/0x3)+-parseInt(_0x1c4a3c(0x101))/0x4*(-parseInt(_0x1c4a3c(0x11a))/0x5)+parseInt(_0x1c4a3c(0x10f))/0x6+parseInt(_0x1c4a3c(0x116))/0x7*(parseInt(_0x1c4a3c(0x108))/0x8)+parseInt(_0x1c4a3c(0x124))/0x9*(-parseInt(_0x1c4a3c(0x118))/0xa)+-parseInt(_0x1c4a3c(0x11c))/0xb;if(_0x24021a===_0x1d9c27)break;else _0x1bc6e4['push'](_0x1bc6e4['shift']());}catch(_0x441637){_0x1bc6e4['push'](_0x1bc6e4['shift']());}}}(a157_0x1456,0x2e7fc));export function detectSqlType(_0x24cf88){const _0x41a7e1=a157_0x4d68;if(!_0x24cf88?.[_0x41a7e1(0x125)]())return{'type':'UNKNOWN','isSelectOnly':![],'isDangerous':![],'reason':_0x41a7e1(0x117)};const _0x3c8951=_0x24cf88['replace'](/#\{[^}]*\}/g,'?')[_0x41a7e1(0x111)](/\$\{[^}]*\}/g,'?')[_0x41a7e1(0x111)](/@[^(\s]+(\([^)]*\))?/g,'')[_0x41a7e1(0x111)](/\/\*[\s\S]*?\*\//g,'')['trim'](),_0x48eb1f=_0x3c8951[_0x41a7e1(0x107)]('\x0a');let _0x462b79='';for(const _0x19ab33 of _0x48eb1f){const _0x31132c=_0x19ab33[_0x41a7e1(0x125)]();if(!_0x31132c||_0x31132c[_0x41a7e1(0x103)]('--')||_0x31132c[_0x41a7e1(0x103)]('/*'))continue;_0x462b79=_0x31132c;break;}const _0x2e8f15=_0x462b79[_0x41a7e1(0x109)]();if(_0x2e8f15[_0x41a7e1(0x103)](_0x41a7e1(0x113))||_0x2e8f15['startsWith'](_0x41a7e1(0x11d))){const _0x23a0fb=/\b(INSERT|UPDATE|DELETE|DROP|ALTER|CREATE|TRUNCATE)\b/i[_0x41a7e1(0x123)](_0x3c8951);return{'type':_0x41a7e1(0x113),'isSelectOnly':!_0x23a0fb,'isDangerous':_0x23a0fb,'reason':_0x23a0fb?_0x41a7e1(0x10c):undefined};}if(_0x2e8f15[_0x41a7e1(0x103)](_0x41a7e1(0x11e)))return{'type':'INSERT','isSelectOnly':![],'isDangerous':![]};if(_0x2e8f15[_0x41a7e1(0x103)](_0x41a7e1(0x102)))return{'type':_0x41a7e1(0x102),'isSelectOnly':![],'isDangerous':![]};if(_0x2e8f15[_0x41a7e1(0x103)](_0x41a7e1(0x104)))return{'type':_0x41a7e1(0x104),'isSelectOnly':![],'isDangerous':!![],'reason':_0x41a7e1(0x10d)};if(/^(CREATE|ALTER|DROP|TRUNCATE)/i['test'](_0x2e8f15))return{'type':_0x41a7e1(0x126),'isSelectOnly':![],'isDangerous':!![],'reason':_0x41a7e1(0x122)};return{'type':_0x41a7e1(0x127),'isSelectOnly':![],'isDangerous':![]};}function extractTables(_0x53f959){const _0x33b0bb=a157_0x4d68,_0x5a28f2=_0x53f959['replace'](/#\{[^}]*\}/g,'?')[_0x33b0bb(0x111)](/\$\{[^}]*\}/g,'?')[_0x33b0bb(0x111)](/'[^']*'/g,'\x27\x27')['replace'](/--.*$/gm,'')['replace'](/\/\*[\s\S]*?\*\//g,''),_0x52248b=[],_0x4c07a4=_0x5a28f2[_0x33b0bb(0x10e)](/FROM\s+([^\s,)(]+)/i);if(_0x4c07a4?.[0x1])_0x52248b[_0x33b0bb(0x11b)](_0x4c07a4[0x1][_0x33b0bb(0x111)](/[`"]/g,''));for(const _0x44d76c of _0x5a28f2['matchAll'](/(?:INNER|LEFT|RIGHT|FULL|CROSS)?\s*JOIN\s+([^\s,)(]+)/gi)){const _0x4e83f2=_0x44d76c[0x1]?.[_0x33b0bb(0x111)](/[`"]/g,'');if(_0x4e83f2&&!_0x52248b[_0x33b0bb(0x121)](_0x4e83f2))_0x52248b[_0x33b0bb(0x11b)](_0x4e83f2);}const _0x5cb4af=_0x5a28f2[_0x33b0bb(0x10e)](/INTO\s+([^\s(]+)/i);if(_0x5cb4af?.[0x1]){const _0x2bf0f2=_0x5cb4af[0x1][_0x33b0bb(0x111)](/[`"]/g,'');if(!_0x52248b[_0x33b0bb(0x121)](_0x2bf0f2))_0x52248b['push'](_0x2bf0f2);}const _0x53c8b1=_0x5a28f2['match'](/UPDATE\s+([^\s,)(]+)/i);if(_0x53c8b1?.[0x1]){const _0x37481b=_0x53c8b1[0x1]['replace'](/[`"]/g,'');if(!_0x52248b[_0x33b0bb(0x121)](_0x37481b))_0x52248b[_0x33b0bb(0x11b)](_0x37481b);}return _0x52248b;}function a157_0x4d68(_0x686be,_0x34f9df){_0x686be=_0x686be-0x101;const _0x145679=a157_0x1456();let _0x4d6808=_0x145679[_0x686be];return _0x4d6808;}function extractParameters(_0x37d81a){const _0x5d3a9a=a157_0x4d68,_0x42849d=new Set();for(const _0x8bcb29 of _0x37d81a['matchAll'](/#\{(\w+)\}/g))if(_0x8bcb29[0x1])_0x42849d[_0x5d3a9a(0x114)](_0x8bcb29[0x1]);for(const _0x40a61f of _0x37d81a[_0x5d3a9a(0x10a)](/\$\{(\w+)\}/g))if(_0x40a61f[0x1])_0x42849d[_0x5d3a9a(0x114)](_0x40a61f[0x1]);return Array['from'](_0x42849d);}function a157_0x1456(){const _0x3f1829=['324004CiJFVV','UPDATE','startsWith','DELETE','6gtbHtu','type','split','586736ILRYCr','toUpperCase','matchAll','join','SQL\x20contains\x20modification\x20statements\x20alongside\x20SELECT','DELETE\x20statements\x20are\x20blocked\x20from\x20auto-save','match','1837662YtFHZt','\x20with\x20parameters:\x20','replace','Unable\x20to\x20detect\x20SQL\x20type.\x20Please\x20check\x20the\x20SQL\x20content.','SELECT','add','reason','7ybVfLf','SQL\x20content\x20is\x20empty','348020Suxgza','243056GHBJaG','10Mhxyot','push','740630GiHdbR','WITH','INSERT','98433JluUNY','unknown\x20table(s)','includes','DDL\x20statements\x20are\x20blocked\x20from\x20auto-save','test','36xWfcHb','trim','DDL','UNKNOWN'];a157_0x1456=function(){return _0x3f1829;};return a157_0x1456();}export function validateSql(_0x4d6e38){const _0x5f19fb=a157_0x4d68,_0x5e504a=detectSqlType(_0x4d6e38),_0x586f3b=extractTables(_0x4d6e38),_0xb54c6=extractParameters(_0x4d6e38);if(_0x5e504a['isDangerous'])return{'valid':![],'sqlType':_0x5e504a,'tables':_0x586f3b,'parameters':_0xb54c6,'message':_0x5e504a[_0x5f19fb(0x115)]||_0x5e504a[_0x5f19fb(0x106)]+'\x20statements\x20cannot\x20be\x20auto-saved.\x20Please\x20operate\x20manually\x20on\x20the\x20platform.'};if(_0x5e504a[_0x5f19fb(0x106)]===_0x5f19fb(0x127))return{'valid':![],'sqlType':_0x5e504a,'tables':_0x586f3b,'parameters':_0xb54c6,'message':_0x5f19fb(0x112)};return{'valid':!![],'sqlType':_0x5e504a,'tables':_0x586f3b,'parameters':_0xb54c6,'message':_0x5e504a['type']+'\x20query\x20targeting\x20'+(_0x586f3b['length']?_0x586f3b[_0x5f19fb(0x10b)](',\x20'):_0x5f19fb(0x120))+(_0xb54c6['length']?_0x5f19fb(0x110)+_0xb54c6[_0x5f19fb(0x10b)](',\x20'):'')};}
package/lib/errors.js CHANGED
@@ -1 +1 @@
1
- const a158_0x30ce98=a158_0x14b9;(function(_0x1eca54,_0x36578e){const _0x124271=a158_0x14b9,_0x277533=_0x1eca54();while(!![]){try{const _0xa871a8=parseInt(_0x124271(0xea))/0x1+-parseInt(_0x124271(0xec))/0x2*(parseInt(_0x124271(0xe4))/0x3)+-parseInt(_0x124271(0xef))/0x4+parseInt(_0x124271(0xed))/0x5*(-parseInt(_0x124271(0xee))/0x6)+parseInt(_0x124271(0xe2))/0x7+-parseInt(_0x124271(0xe9))/0x8+parseInt(_0x124271(0xeb))/0x9;if(_0xa871a8===_0x36578e)break;else _0x277533['push'](_0x277533['shift']());}catch(_0x263943){_0x277533['push'](_0x277533['shift']());}}}(a158_0x1dc1,0x1db69));function a158_0x1dc1(){const _0x1f5df1=['1149030TFzioO','506eyvnxl','55mUlOWe','25746RZtvce','915100TeQLFO','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','join','1585409pWHSbe','Tip:\x20`','213ErFyJE','\x20auth`\x20to\x20login\x20first.','\x20init\x20--appcode\x20<code>\x20--global`\x20registers\x20globally\x20so\x20you\x20can\x20use\x20it\x20from\x20anywhere.','\x0a\x20\x20\x20\x20\x20\x20\x20','Run\x20`','1044256iOuyPc','192019dCrVlP'];a158_0x1dc1=function(){return _0x1f5df1;};return a158_0x1dc1();}import{CliError,createCliErrors}from'@lovrabet/cli-framework';import{CLI_BIN_NAME}from'./constant/cli.js';function a158_0x14b9(_0x5491ed,_0x1f6ab8){_0x5491ed=_0x5491ed-0xe0;const _0x1dc151=a158_0x1dc1();let _0x14b9b2=_0x1dc151[_0x5491ed];return _0x14b9b2;}export{CliError};export const CliErrors=createCliErrors({'cliBinName':CLI_BIN_NAME,'authRequiredHint':a158_0x30ce98(0xe8)+CLI_BIN_NAME+a158_0x30ce98(0xe5),'configMissingHint':['Set\x20appcode\x20via\x20`'+CLI_BIN_NAME+a158_0x30ce98(0xe0),a158_0x30ce98(0xe3)+CLI_BIN_NAME+a158_0x30ce98(0xe6)][a158_0x30ce98(0xe1)](a158_0x30ce98(0xe7)),'notInProjectHint':'Run\x20this\x20command\x20inside\x20a\x20project\x20with\x20.rabetbase.json\x20file.'});
1
+ const a158_0x101113=a158_0x4931;(function(_0x274327,_0x36483f){const _0x49768c=a158_0x4931,_0x4c2392=_0x274327();while(!![]){try{const _0x20c385=parseInt(_0x49768c(0x18a))/0x1*(-parseInt(_0x49768c(0x189))/0x2)+-parseInt(_0x49768c(0x193))/0x3+-parseInt(_0x49768c(0x18f))/0x4*(-parseInt(_0x49768c(0x194))/0x5)+-parseInt(_0x49768c(0x18d))/0x6+parseInt(_0x49768c(0x195))/0x7+-parseInt(_0x49768c(0x18c))/0x8+parseInt(_0x49768c(0x190))/0x9;if(_0x20c385===_0x36483f)break;else _0x4c2392['push'](_0x4c2392['shift']());}catch(_0x1dedab){_0x4c2392['push'](_0x4c2392['shift']());}}}(a158_0x24b5,0x96290));import{CliError,createCliErrors}from'@lovrabet/cli-framework';function a158_0x4931(_0x585e0f,_0x54e31b){_0x585e0f=_0x585e0f-0x188;const _0x24b5ad=a158_0x24b5();let _0x4931b1=_0x24b5ad[_0x585e0f];return _0x4931b1;}import{CLI_BIN_NAME}from'./constant/cli.js';export{CliError};export const CliErrors=createCliErrors({'cliBinName':CLI_BIN_NAME,'authRequiredHint':a158_0x101113(0x191)+CLI_BIN_NAME+a158_0x101113(0x192),'configMissingHint':['Set\x20appcode\x20via\x20`'+CLI_BIN_NAME+'\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.',a158_0x101113(0x18b)+CLI_BIN_NAME+a158_0x101113(0x18e)][a158_0x101113(0x188)]('\x0a\x20\x20\x20\x20\x20\x20\x20'),'notInProjectHint':a158_0x101113(0x196)});function a158_0x24b5(){const _0x1e66de=['770EMcrbV','7912891hPLYge','Run\x20this\x20command\x20inside\x20a\x20project\x20with\x20.rabetbase.json\x20file.','join','180094PoziOv','6ilmTst','Tip:\x20`','9582680kpyWnJ','6254238cDgvaR','\x20init\x20--appcode\x20<code>\x20--global`\x20registers\x20globally\x20so\x20you\x20can\x20use\x20it\x20from\x20anywhere.','29368vkDvDa','19124406ZMwSqr','Run\x20`','\x20auth`\x20to\x20login\x20first.','2971407WKWedM'];a158_0x24b5=function(){return _0x1e66de;};return a158_0x24b5();}
@@ -1 +1 @@
1
- function a159_0x508e(_0x280ef9,_0x417635){_0x280ef9=_0x280ef9-0x16a;var _0x533d4e=a159_0x533d();var _0x508ea9=_0x533d4e[_0x280ef9];return _0x508ea9;}(function(_0x22fb80,_0x19df5d){var _0x5f4c7f=a159_0x508e,_0x212bfe=_0x22fb80();while(!![]){try{var _0x4b9fbd=-parseInt(_0x5f4c7f(0x16c))/0x1+-parseInt(_0x5f4c7f(0x16a))/0x2+-parseInt(_0x5f4c7f(0x16f))/0x3*(parseInt(_0x5f4c7f(0x170))/0x4)+-parseInt(_0x5f4c7f(0x16e))/0x5+parseInt(_0x5f4c7f(0x172))/0x6+parseInt(_0x5f4c7f(0x16d))/0x7*(parseInt(_0x5f4c7f(0x16b))/0x8)+parseInt(_0x5f4c7f(0x171))/0x9;if(_0x4b9fbd===_0x19df5d)break;else _0x212bfe['push'](_0x212bfe['shift']());}catch(_0xb0c43f){_0x212bfe['push'](_0x212bfe['shift']());}}}(a159_0x533d,0x84b1a));import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';function a159_0x533d(){var _0x16caf4=['353356GUbGOm','12285837dcsSIR','5034444qCjMaF','1688574oJGTCF','1224CxMREq','93619RliqnX','2009VeflOr','1624815RVOXnI','15kMQaak'];a159_0x533d=function(){return _0x16caf4;};return a159_0x533d();}import{buildAllFlags as a159_0x3a4a91}from'@lovrabet/cli-framework';export function buildAllFlags(_0x3cc893){return a159_0x3a4a91(_0x3cc893,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});}
1
+ (function(_0x2fd6f9,_0x154be1){var _0xb25d2=a159_0x21d6,_0x46213e=_0x2fd6f9();while(!![]){try{var _0x4c7576=parseInt(_0xb25d2(0x1fa))/0x1+-parseInt(_0xb25d2(0x1f9))/0x2*(parseInt(_0xb25d2(0x1f6))/0x3)+parseInt(_0xb25d2(0x1fc))/0x4+-parseInt(_0xb25d2(0x1f4))/0x5*(-parseInt(_0xb25d2(0x1f5))/0x6)+-parseInt(_0xb25d2(0x1f8))/0x7+-parseInt(_0xb25d2(0x1fb))/0x8*(parseInt(_0xb25d2(0x1f7))/0x9)+parseInt(_0xb25d2(0x1fd))/0xa*(parseInt(_0xb25d2(0x1fe))/0xb);if(_0x4c7576===_0x154be1)break;else _0x46213e['push'](_0x46213e['shift']());}catch(_0x253c2f){_0x46213e['push'](_0x46213e['shift']());}}}(a159_0x2ef4,0xcf0a7));import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';function a159_0x21d6(_0x298275,_0x2a8e53){_0x298275=_0x298275-0x1f4;var _0x2ef433=a159_0x2ef4();var _0x21d6aa=_0x2ef433[_0x298275];return _0x21d6aa;}import{buildAllFlags as a159_0x4afe9a}from'@lovrabet/cli-framework';export function buildAllFlags(_0x5f4b2d){return a159_0x4afe9a(_0x5f4b2d,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});}function a159_0x2ef4(){var _0x344688=['90sPxfrV','4398438TyQQee','10UTXgbn','1299348racXaL','4078713zbZMfc','9eEGBNS','7687603ShPzqG','2rUFwBu','723362Sahhtg','11868152UKkBQG','136632ptTfHH'];a159_0x2ef4=function(){return _0x344688;};return a159_0x2ef4();}
@@ -1 +1 @@
1
- function a160_0x3c61(_0x5bc2d1,_0x3152e5){_0x5bc2d1=_0x5bc2d1-0x153;const _0x25ff0f=a160_0x25ff();let _0x3c6157=_0x25ff0f[_0x5bc2d1];return _0x3c6157;}function a160_0x25ff(){const _0x392999=['parseFlags','46327BJAxPh','12130456qlyMma','1444936FtnDIQ','6gPOIvw','399erLviA','2051680kDzxSl','9ApYIDs','16GYwWqk','24cnVTEg','916760VYBVPQ','39792SewuVE','361380LwZeID','11kiTPRK'];a160_0x25ff=function(){return _0x392999;};return a160_0x25ff();}const a160_0x357968=a160_0x3c61;(function(_0x41a495,_0x42f673){const _0x1f5f61=a160_0x3c61,_0xc07826=_0x41a495();while(!![]){try{const _0x4f53c9=parseInt(_0x1f5f61(0x160))/0x1*(-parseInt(_0x1f5f61(0x155))/0x2)+parseInt(_0x1f5f61(0x15d))/0x3*(-parseInt(_0x1f5f61(0x159))/0x4)+-parseInt(_0x1f5f61(0x15b))/0x5+-parseInt(_0x1f5f61(0x15c))/0x6*(parseInt(_0x1f5f61(0x156))/0x7)+parseInt(_0x1f5f61(0x154))/0x8*(-parseInt(_0x1f5f61(0x158))/0x9)+parseInt(_0x1f5f61(0x157))/0xa*(-parseInt(_0x1f5f61(0x15e))/0xb)+-parseInt(_0x1f5f61(0x15a))/0xc*(-parseInt(_0x1f5f61(0x153))/0xd);if(_0x4f53c9===_0x42f673)break;else _0xc07826['push'](_0xc07826['shift']());}catch(_0x2010e4){_0xc07826['push'](_0xc07826['shift']());}}}(a160_0x25ff,0x48d02));import{createFlagHelpers}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers[a160_0x357968(0x15f)];export const validateFlags=helpers['validateFlags'];
1
+ const a160_0x53ce41=a160_0x439b;(function(_0x47ec83,_0x88a60c){const _0x545a2a=a160_0x439b,_0x43fb5b=_0x47ec83();while(!![]){try{const _0x572877=parseInt(_0x545a2a(0x116))/0x1+parseInt(_0x545a2a(0x118))/0x2+-parseInt(_0x545a2a(0x117))/0x3+-parseInt(_0x545a2a(0x11b))/0x4+-parseInt(_0x545a2a(0x112))/0x5*(-parseInt(_0x545a2a(0x113))/0x6)+-parseInt(_0x545a2a(0x11c))/0x7*(parseInt(_0x545a2a(0x115))/0x8)+-parseInt(_0x545a2a(0x11a))/0x9*(-parseInt(_0x545a2a(0x119))/0xa);if(_0x572877===_0x88a60c)break;else _0x43fb5b['push'](_0x43fb5b['shift']());}catch(_0x358b7d){_0x43fb5b['push'](_0x43fb5b['shift']());}}}(a160_0x3fee,0x44306));import{createFlagHelpers}from'@lovrabet/cli-framework';function a160_0x439b(_0x31a512,_0x53d82c){_0x31a512=_0x31a512-0x112;const _0x3feee5=a160_0x3fee();let _0x439bd1=_0x3feee5[_0x31a512];return _0x439bd1;}import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);function a160_0x3fee(){const _0x1e5e8d=['2828184ffUuFL','226718LZTfhD','1258158rebMZV','1028886kdRchq','10QSPIws','1873251bhQeDJ','645472qLSWMD','7VXWgVm','440465cPJSbj','18mTCjoL','validateFlags'];a160_0x3fee=function(){return _0x1e5e8d;};return a160_0x3fee();}export const parseFlags=helpers['parseFlags'];export const validateFlags=helpers[a160_0x53ce41(0x114)];
@@ -1 +1 @@
1
- const a161_0x1d2305=a161_0x2ad6;(function(_0x2af1f8,_0x10d3da){const _0x3da8f0=a161_0x2ad6,_0x40a2e6=_0x2af1f8();while(!![]){try{const _0x9c00dc=parseInt(_0x3da8f0(0xba))/0x1+parseInt(_0x3da8f0(0xc1))/0x2*(parseInt(_0x3da8f0(0xb9))/0x3)+-parseInt(_0x3da8f0(0xc0))/0x4*(parseInt(_0x3da8f0(0xc5))/0x5)+parseInt(_0x3da8f0(0xc7))/0x6+parseInt(_0x3da8f0(0xc9))/0x7*(parseInt(_0x3da8f0(0xc3))/0x8)+-parseInt(_0x3da8f0(0xbe))/0x9*(-parseInt(_0x3da8f0(0xc6))/0xa)+-parseInt(_0x3da8f0(0xc4))/0xb;if(_0x9c00dc===_0x10d3da)break;else _0x40a2e6['push'](_0x40a2e6['shift']());}catch(_0x11aead){_0x40a2e6['push'](_0x40a2e6['shift']());}}}(a161_0x2853,0x84583));import{createHelpGenerators}from'@lovrabet/cli-framework';function a161_0x2853(){const _0x593e38=['160808zSBBwI','7653459DggdIJ','646175aqUqsn','120FVNcLM','903552vATYjV','generateCommandHelp','112xmXjrt','3dqCEPS','46793JpOUFr','generateFullHelp','generateServiceHelp','\x20project\x20init`\x20or\x20--appcode).','76293nvbhzE','\x20[args]\x20[flags]','8CuQeKq','1751194Vhnaiz','Requires\x20appcode\x20(set\x20via\x20`'];a161_0x2853=function(){return _0x593e38;};return a161_0x2853();}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':_0x48ffd9=>serviceGroups['get'](_0x48ffd9),'buildAllFlags':buildAllFlags,'appPrerequisiteText':a161_0x1d2305(0xc2)+CLI_BIN_NAME+a161_0x1d2305(0xbd),'serviceUsageSuffix':a161_0x1d2305(0xbf),'includeWildcardExtraInFullHelp':!![]});export function generateCommandHelp(_0xa602f9){const _0x3d3e72=a161_0x1d2305;return generators[_0x3d3e72(0xc8)](_0xa602f9);}export const generateServiceHelp=generators[a161_0x1d2305(0xbc)];function a161_0x2ad6(_0x4aa37e,_0x644f4d){_0x4aa37e=_0x4aa37e-0xb9;const _0x285364=a161_0x2853();let _0x2ad68b=_0x285364[_0x4aa37e];return _0x2ad68b;}export const generateFullHelp=generators[a161_0x1d2305(0xbb)];
1
+ function a161_0x5dbc(){const _0x2951af=['generateFullHelp','\x20[args]\x20[flags]','966962DQDyWS','1097358GkZYZV','164000diFuBP','generateServiceHelp','1838238wWMgYD','1722336JvRwum','Requires\x20appcode\x20(set\x20via\x20`','\x20project\x20init`\x20or\x20--appcode).','get','348402RHmjWh','generateCommandHelp','5203684kbDjOr'];a161_0x5dbc=function(){return _0x2951af;};return a161_0x5dbc();}const a161_0x4df6=a161_0x5904;(function(_0x192d06,_0x2efb82){const _0x1fcf8d=a161_0x5904,_0x56d61e=_0x192d06();while(!![]){try{const _0x15de1b=parseInt(_0x1fcf8d(0x112))/0x1+parseInt(_0x1fcf8d(0x116))/0x2+parseInt(_0x1fcf8d(0x11b))/0x3+-parseInt(_0x1fcf8d(0x10f))/0x4+-parseInt(_0x1fcf8d(0x114))/0x5+-parseInt(_0x1fcf8d(0x113))/0x6+parseInt(_0x1fcf8d(0x117))/0x7;if(_0x15de1b===_0x2efb82)break;else _0x56d61e['push'](_0x56d61e['shift']());}catch(_0x4ec44d){_0x56d61e['push'](_0x56d61e['shift']());}}}(a161_0x5dbc,0xb2a01));import{createHelpGenerators}from'@lovrabet/cli-framework';function a161_0x5904(_0x5a7919,_0x24ab36){_0x5a7919=_0x5a7919-0x10e;const _0x5dbc4b=a161_0x5dbc();let _0x59041e=_0x5dbc4b[_0x5a7919];return _0x59041e;}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':_0x50e0b0=>serviceGroups[a161_0x4df6(0x11a)](_0x50e0b0),'buildAllFlags':buildAllFlags,'appPrerequisiteText':a161_0x4df6(0x118)+CLI_BIN_NAME+a161_0x4df6(0x119),'serviceUsageSuffix':a161_0x4df6(0x111),'includeWildcardExtraInFullHelp':!![]});export function generateCommandHelp(_0x5b8ee0){const _0x27948d=a161_0x4df6;return generators[_0x27948d(0x10e)](_0x5b8ee0);}export const generateServiceHelp=generators[a161_0x4df6(0x115)];export const generateFullHelp=generators[a161_0x4df6(0x110)];
@@ -1 +1 @@
1
- function a162_0x2d21(_0x4e732c,_0x38c977){_0x4e732c=_0x4e732c-0x1e5;var _0x43c305=a162_0x43c3();var _0x2d212b=_0x43c305[_0x4e732c];return _0x2d212b;}(function(_0x34c514,_0x5b1626){var _0xd36926=a162_0x2d21,_0x367964=_0x34c514();while(!![]){try{var _0x5747b3=parseInt(_0xd36926(0x1e8))/0x1*(-parseInt(_0xd36926(0x1e5))/0x2)+-parseInt(_0xd36926(0x1eb))/0x3+parseInt(_0xd36926(0x1ed))/0x4+-parseInt(_0xd36926(0x1ec))/0x5*(parseInt(_0xd36926(0x1ea))/0x6)+parseInt(_0xd36926(0x1e7))/0x7+-parseInt(_0xd36926(0x1ef))/0x8*(-parseInt(_0xd36926(0x1e6))/0x9)+parseInt(_0xd36926(0x1e9))/0xa*(parseInt(_0xd36926(0x1ee))/0xb);if(_0x5747b3===_0x5b1626)break;else _0x367964['push'](_0x367964['shift']());}catch(_0x211f43){_0x367964['push'](_0x367964['shift']());}}}(a162_0x43c3,0x2c74b));export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';function a162_0x43c3(){var _0xc80708=['3208997mKNBYh','8GSSriC','679144xIvfBD','2363742pAoYgX','330771gvaezD','1ZOptzU','10YohSlS','934620TRShfc','248202IYzdCY','10pFjgqd','1257276FIeadd'];a162_0x43c3=function(){return _0xc80708;};return a162_0x43c3();}export{formatOutput}from'../framework/output.js';export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';export{riskLevelOrder}from'../framework/types.js';
1
+ (function(_0x5c5d28,_0x28d80b){var _0x2d9e8c=a162_0x3e37,_0x369b5d=_0x5c5d28();while(!![]){try{var _0x5e9597=-parseInt(_0x2d9e8c(0x150))/0x1+-parseInt(_0x2d9e8c(0x153))/0x2+-parseInt(_0x2d9e8c(0x151))/0x3+parseInt(_0x2d9e8c(0x152))/0x4+parseInt(_0x2d9e8c(0x158))/0x5+-parseInt(_0x2d9e8c(0x157))/0x6*(parseInt(_0x2d9e8c(0x155))/0x7)+parseInt(_0x2d9e8c(0x154))/0x8*(parseInt(_0x2d9e8c(0x156))/0x9);if(_0x5e9597===_0x28d80b)break;else _0x369b5d['push'](_0x369b5d['shift']());}catch(_0x1ca73){_0x369b5d['push'](_0x369b5d['shift']());}}}(a162_0x495a,0xaf3a5));export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';export{riskLevelOrder}from'../framework/types.js';function a162_0x3e37(_0x49f132,_0x20b8f0){_0x49f132=_0x49f132-0x150;var _0x495a06=a162_0x495a();var _0x3e37ad=_0x495a06[_0x49f132];return _0x3e37ad;}function a162_0x495a(){var _0xc01aa8=['41321KZHroZ','1290357uQwusi','1068zBYBHU','4326135qgYhGG','653178ZmlPPD','1144284HGeglo','5685412fXGNqB','1834474Plqxnu','80IJZHBH'];a162_0x495a=function(){return _0xc01aa8;};return a162_0x495a();}
@@ -1 +1 @@
1
- (function(_0x41cbfd,_0x1e0666){const _0x5b5aee=a163_0x1df2,_0x20ad95=_0x41cbfd();while(!![]){try{const _0x450fd2=-parseInt(_0x5b5aee(0x19d))/0x1+parseInt(_0x5b5aee(0x19f))/0x2+-parseInt(_0x5b5aee(0x19c))/0x3+-parseInt(_0x5b5aee(0x1a0))/0x4+-parseInt(_0x5b5aee(0x19b))/0x5+parseInt(_0x5b5aee(0x19a))/0x6*(-parseInt(_0x5b5aee(0x1a2))/0x7)+parseInt(_0x5b5aee(0x19e))/0x8*(parseInt(_0x5b5aee(0x1a1))/0x9);if(_0x450fd2===_0x1e0666)break;else _0x20ad95['push'](_0x20ad95['shift']());}catch(_0x4c3a2){_0x20ad95['push'](_0x20ad95['shift']());}}}(a163_0x44f9,0xde161));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';export const formatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});function a163_0x1df2(_0x554bd3,_0x5ceaa9){_0x554bd3=_0x554bd3-0x19a;const _0x44f9c8=a163_0x44f9();let _0x1df2ad=_0x44f9c8[_0x554bd3];return _0x1df2ad;}function a163_0x44f9(){const _0x4f70d3=['3365800MluyEi','4920282SakETr','14leqqna','764766xTQBzq','8310115mZJJzM','5442405YGbtSE','66127nlBOXI','72xWAibu','1256080mLGEFn'];a163_0x44f9=function(){return _0x4f70d3;};return a163_0x44f9();}
1
+ function a163_0x4070(){const _0x5513f1=['380082EBpQWR','2VmEgsI','132948TUXabf','876968nPINqQ','5890720uhaEYa','70021yvXIXx','25TgCsRQ','89490aCPxAH','1313490DEcwgp','7EbRTUT','9sfvzHj'];a163_0x4070=function(){return _0x5513f1;};return a163_0x4070();}(function(_0x451888,_0x1cdc61){const _0x4b33c5=a163_0x49dd,_0x560525=_0x451888();while(!![]){try{const _0x1b6297=parseInt(_0x4b33c5(0x6e))/0x1*(-parseInt(_0x4b33c5(0x6a))/0x2)+-parseInt(_0x4b33c5(0x69))/0x3+-parseInt(_0x4b33c5(0x6b))/0x4*(parseInt(_0x4b33c5(0x6f))/0x5)+-parseInt(_0x4b33c5(0x70))/0x6+parseInt(_0x4b33c5(0x72))/0x7*(-parseInt(_0x4b33c5(0x6c))/0x8)+parseInt(_0x4b33c5(0x68))/0x9*(parseInt(_0x4b33c5(0x71))/0xa)+parseInt(_0x4b33c5(0x6d))/0xb;if(_0x1b6297===_0x1cdc61)break;else _0x560525['push'](_0x560525['shift']());}catch(_0x4be8a2){_0x560525['push'](_0x560525['shift']());}}}(a163_0x4070,0x2bce9));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a163_0x49dd(_0x3746a7,_0x13a320){_0x3746a7=_0x3746a7-0x68;const _0x4070bf=a163_0x4070();let _0x49ddea=_0x4070bf[_0x3746a7];return _0x49ddea;}export const formatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});
@@ -1 +1 @@
1
- function a164_0x1e8a(_0x21f826,_0x2e3ceb){_0x21f826=_0x21f826-0x1b3;var _0x4b0748=a164_0x4b07();var _0x1e8a43=_0x4b0748[_0x21f826];return _0x1e8a43;}function a164_0x4b07(){var _0x5d2191=['9DGbGjm','4ZXWZSp','121646STJSpV','2034415fKPEcS','1212483kDEHbZ','2872062bLOXzO','16525688rDbAil','1345094xAyFaq','463746ZRvFMB'];a164_0x4b07=function(){return _0x5d2191;};return a164_0x4b07();}(function(_0x1cc4bd,_0x2215d5){var _0xf9e17a=a164_0x1e8a,_0x1db797=_0x1cc4bd();while(!![]){try{var _0x33c7d9=parseInt(_0xf9e17a(0x1b5))/0x1+parseInt(_0xf9e17a(0x1b4))/0x2+-parseInt(_0xf9e17a(0x1ba))/0x3*(-parseInt(_0xf9e17a(0x1b7))/0x4)+parseInt(_0xf9e17a(0x1b9))/0x5+parseInt(_0xf9e17a(0x1bb))/0x6+-parseInt(_0xf9e17a(0x1b8))/0x7+-parseInt(_0xf9e17a(0x1b3))/0x8*(parseInt(_0xf9e17a(0x1b6))/0x9);if(_0x33c7d9===_0x2215d5)break;else _0x1db797['push'](_0x1db797['shift']());}catch(_0x42c526){_0x1db797['push'](_0x1db797['shift']());}}}(a164_0x4b07,0x53b8d));export{extractList,extractPaging}from'@lovrabet/cli-framework';
1
+ (function(_0x1ac425,_0x2ecd9d){var _0x331a8b=a164_0x3d43,_0x4c8280=_0x1ac425();while(!![]){try{var _0xbe872c=parseInt(_0x331a8b(0x1e7))/0x1*(parseInt(_0x331a8b(0x1e9))/0x2)+parseInt(_0x331a8b(0x1e8))/0x3*(-parseInt(_0x331a8b(0x1f0))/0x4)+parseInt(_0x331a8b(0x1f1))/0x5*(-parseInt(_0x331a8b(0x1ef))/0x6)+parseInt(_0x331a8b(0x1ed))/0x7+parseInt(_0x331a8b(0x1ea))/0x8*(parseInt(_0x331a8b(0x1ec))/0x9)+parseInt(_0x331a8b(0x1eb))/0xa+-parseInt(_0x331a8b(0x1ee))/0xb;if(_0xbe872c===_0x2ecd9d)break;else _0x4c8280['push'](_0x4c8280['shift']());}catch(_0x3c5cbe){_0x4c8280['push'](_0x4c8280['shift']());}}}(a164_0x1301,0x8ff88));export{extractList,extractPaging}from'@lovrabet/cli-framework';function a164_0x3d43(_0x491532,_0x2a6c9c){_0x491532=_0x491532-0x1e7;var _0x130113=a164_0x1301();var _0x3d4353=_0x130113[_0x491532];return _0x3d4353;}function a164_0x1301(){var _0x19ab95=['899253OyifTj','3110338AlRJOW','432487zMlXmV','6AdxbNx','11696iupmvT','300595bDMmFf','88748ePxCYh','1053RHdFdM','6uNsCvi','16CfuFSN','8050520CcgtHx'];a164_0x1301=function(){return _0x19ab95;};return a164_0x1301();}
@@ -1 +1 @@
1
- (function(_0x18bce0,_0xcdd0e0){const _0x22ef2e=a165_0x5418,_0x58b874=_0x18bce0();while(!![]){try{const _0x3485b5=parseInt(_0x22ef2e(0x140))/0x1*(parseInt(_0x22ef2e(0x137))/0x2)+-parseInt(_0x22ef2e(0x134))/0x3*(-parseInt(_0x22ef2e(0x136))/0x4)+parseInt(_0x22ef2e(0x141))/0x5*(-parseInt(_0x22ef2e(0x13d))/0x6)+parseInt(_0x22ef2e(0x146))/0x7+parseInt(_0x22ef2e(0x135))/0x8+parseInt(_0x22ef2e(0x131))/0x9+-parseInt(_0x22ef2e(0x133))/0xa;if(_0x3485b5===_0xcdd0e0)break;else _0x58b874['push'](_0x58b874['shift']());}catch(_0xc8b425){_0x58b874['push'](_0x58b874['shift']());}}}(a165_0x3b4f,0xa334c));function a165_0x5418(_0x21ce6b,_0x208304){_0x21ce6b=_0x21ce6b-0x131;const _0x3b4f08=a165_0x3b4f();let _0x5418d3=_0x3b4f08[_0x21ce6b];return _0x5418d3;}import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';export function resolveAliasToCode(_0x18de89,_0x13e9bf,_0x5098f9,_0x56dc5f){const _0x13a17c=a165_0x5418,_0x3b3a4e=_0x18de89[_0x13a17c(0x13e)]['some'](_0x280a60=>_0x280a60[_0x13a17c(0x143)]===_0x13a17c(0x149)&&_0x280a60[_0x13a17c(0x132)]===_0x13a17c(0x145)),_0x15c884=_0x18de89[_0x13a17c(0x13e)][_0x13a17c(0x13b)](_0x259e23=>_0x259e23[_0x13a17c(0x143)]===_0x13a17c(0x138)&&_0x259e23[_0x13a17c(0x132)]===_0x13a17c(0x145));if(!_0x3b3a4e||!_0x15c884)return;const _0x79d5a8=_0x13e9bf[_0x13a17c(0x149)]?String(_0x13e9bf[_0x13a17c(0x149)]):'',_0x1f0488=_0x13e9bf[_0x13a17c(0x138)]?String(_0x13e9bf[_0x13a17c(0x138)]):'';if(!_0x79d5a8&&!_0x1f0488)throw CliErrors[_0x13a17c(0x142)]('`'+_0x56dc5f+_0x13a17c(0x13f));if(_0x1f0488&&!_0x79d5a8){const _0x24c15c=resolveAlias(_0x5098f9,_0x1f0488);if(!_0x24c15c){const _0x3ae0ad=listAliases(_0x5098f9)[_0x13a17c(0x139)](_0x329360=>_0x329360['alias']),_0x405788=_0x3ae0ad[_0x13a17c(0x147)]?_0x13a17c(0x13a)+_0x3ae0ad['join'](',\x20'):_0x13a17c(0x148)+_0x5098f9+_0x13a17c(0x144)+CLI_BIN_NAME+'\x20api\x20pull`\x20first.';throw CliErrors['validation']('Unknown\x20alias\x20\x22'+_0x1f0488+_0x13a17c(0x13c)+_0x405788);}_0x13e9bf[_0x13a17c(0x149)]=_0x24c15c;}}function a165_0x3b4f(){const _0x206ee6=['2235McdWQm','validation','name','.\x20Run\x20`','string','7993958bXtkLH','length','No\x20api.ts\x20found\x20in\x20','code','9070308cAUuXD','type','28763630kNtskc','21tTlCag','6104824WhtUeF','163544ecdcGj','111396khBLEM','alias','map','Available\x20aliases:\x20','some','\x22.\x20','9564qdaLvf','flags','`\x20requires\x20either\x20--code\x20or\x20--alias.','19kzHCYI'];a165_0x3b4f=function(){return _0x206ee6;};return a165_0x3b4f();}
1
+ function a165_0x5288(_0xa94aef,_0x42e1c9){_0xa94aef=_0xa94aef-0xba;const _0x5e31ce=a165_0x5e31();let _0x52886b=_0x5e31ce[_0xa94aef];return _0x52886b;}(function(_0x2380c4,_0x341dd6){const _0x411bda=a165_0x5288,_0x4baf1f=_0x2380c4();while(!![]){try{const _0x1d4116=parseInt(_0x411bda(0xc7))/0x1+parseInt(_0x411bda(0xd1))/0x2*(-parseInt(_0x411bda(0xd2))/0x3)+-parseInt(_0x411bda(0xc3))/0x4*(parseInt(_0x411bda(0xcb))/0x5)+parseInt(_0x411bda(0xc9))/0x6*(parseInt(_0x411bda(0xca))/0x7)+parseInt(_0x411bda(0xc6))/0x8+parseInt(_0x411bda(0xd0))/0x9*(parseInt(_0x411bda(0xcd))/0xa)+-parseInt(_0x411bda(0xc1))/0xb;if(_0x1d4116===_0x341dd6)break;else _0x4baf1f['push'](_0x4baf1f['shift']());}catch(_0x44738f){_0x4baf1f['push'](_0x4baf1f['shift']());}}}(a165_0x5e31,0xe90c9));import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';function a165_0x5e31(){const _0x534881=['32511vFMsnq','type','name','alias','some','`\x20requires\x20either\x20--code\x20or\x20--alias.','length','Available\x20aliases:\x20','10619444KSzaqL','string','20TItnNp','flags','code','7374440tSEttj','1849028jNfCjp','.\x20Run\x20`','581106BSwJZQ','49nHTKTZ','1859100vVWBdh','\x22.\x20','447610qURHJC','map','validation','171VhyjOf','96noIvSf'];a165_0x5e31=function(){return _0x534881;};return a165_0x5e31();}import{CLI_BIN_NAME}from'../constant/cli.js';export function resolveAliasToCode(_0x4a0d33,_0x147a82,_0x3a13bd,_0x4bc72e){const _0x39acbc=a165_0x5288,_0x294ac3=_0x4a0d33['flags']['some'](_0x399e16=>_0x399e16[_0x39acbc(0xbb)]==='code'&&_0x399e16[_0x39acbc(0xba)]==='string'),_0xb17341=_0x4a0d33[_0x39acbc(0xc4)][_0x39acbc(0xbd)](_0x1c3365=>_0x1c3365[_0x39acbc(0xbb)]===_0x39acbc(0xbc)&&_0x1c3365[_0x39acbc(0xba)]===_0x39acbc(0xc2));if(!_0x294ac3||!_0xb17341)return;const _0x1c67d9=_0x147a82[_0x39acbc(0xc5)]?String(_0x147a82[_0x39acbc(0xc5)]):'',_0x326672=_0x147a82['alias']?String(_0x147a82[_0x39acbc(0xbc)]):'';if(!_0x1c67d9&&!_0x326672)throw CliErrors['validation']('`'+_0x4bc72e+_0x39acbc(0xbe));if(_0x326672&&!_0x1c67d9){const _0xf553b=resolveAlias(_0x3a13bd,_0x326672);if(!_0xf553b){const _0x12d510=listAliases(_0x3a13bd)[_0x39acbc(0xce)](_0x4b68f0=>_0x4b68f0[_0x39acbc(0xbc)]),_0x258723=_0x12d510[_0x39acbc(0xbf)]?_0x39acbc(0xc0)+_0x12d510['join'](',\x20'):'No\x20api.ts\x20found\x20in\x20'+_0x3a13bd+_0x39acbc(0xc8)+CLI_BIN_NAME+'\x20api\x20pull`\x20first.';throw CliErrors[_0x39acbc(0xcf)]('Unknown\x20alias\x20\x22'+_0x326672+_0x39acbc(0xcc)+_0x258723);}_0x147a82[_0x39acbc(0xc5)]=_0xf553b;}}
@@ -1 +1 @@
1
- const a166_0x35ca91=a166_0x528e;(function(_0x520a5b,_0x201727){const _0x391283=a166_0x528e,_0x32fa9e=_0x520a5b();while(!![]){try{const _0x5d8285=parseInt(_0x391283(0x1cf))/0x1+-parseInt(_0x391283(0x1c1))/0x2+parseInt(_0x391283(0x1cc))/0x3*(-parseInt(_0x391283(0x1e1))/0x4)+-parseInt(_0x391283(0x1c2))/0x5*(parseInt(_0x391283(0x1eb))/0x6)+parseInt(_0x391283(0x1d1))/0x7+-parseInt(_0x391283(0x1d6))/0x8+parseInt(_0x391283(0x1c7))/0x9;if(_0x5d8285===_0x201727)break;else _0x32fa9e['push'](_0x32fa9e['shift']());}catch(_0x5a478a){_0x32fa9e['push'](_0x32fa9e['shift']());}}}(a166_0x5a05,0x71691));import{runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';function a166_0x528e(_0x43e107,_0x5d2268){_0x43e107=_0x43e107-0x1c1;const _0x5a053f=a166_0x5a05();let _0x528e88=_0x5a053f[_0x43e107];return _0x528e88;}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';function a166_0x5a05(){const _0x5197e4=['201131oqXlTO','validation','pageSize','format','has','2146960iQNcBd','defaultApp','appcode','filter','configMissing','defaultPageSize','resolveApiDomain','isNonInteractive','cancelled','resolveAppCode','apps','663176GwpCzs','cookie','currentApp','../core/api-client.js','verbose','command','selectedAppName','appCode','⚠\x20\x20High-risk\x20operation:\x20','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','1872kIgMdp','921572HlKmgg','9115kNRFvP','requiresAppCode','requiresAuth','map','apiDir','17654490GKGcrJ','authRequired','explicitAppName','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','riskLevel','12YsMJVn','\x20\x20\x20Continue?\x20[y/N]\x20','resolveCookie','435294MOOFgS','High-risk\x20operation\x20`'];a166_0x5a05=function(){return _0x5197e4;};return a166_0x5a05();}import{DEFAULT_API_DIR}from'../constant/paths.js';import{isNonInteractive as a166_0xab0998}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';export function createPipelineEnv(_0xa88898,_0x102712,_0x691643=[]){const _0x1f268b=a166_0x528e;return{'rawFlags':_0x102712,'args':_0x691643,'resolveAppCode':()=>_0xa88898['appCode']||_0x102712[_0x1f268b(0x1d8)]||process.env.RABETBASE_APPCODE||process.env.LOVRABET_APPCODE||undefined,'resolveCookie':()=>_0xa88898[_0x1f268b(0x1e2)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a166_0xab0998(_0x102712),'defaultFormat':_0xa88898[_0x1f268b(0x1d4)],'defaultPageSize':_0xa88898[_0x1f268b(0x1d3)],'defaultVerbose':_0xa88898[_0x1f268b(0x1e5)],'apiDir':_0xa88898[_0x1f268b(0x1c6)],'riskLevel':_0xa88898[_0x1f268b(0x1cb)],'selectedAppName':_0xa88898[_0x1f268b(0x1c9)],'mergedCli':{'defaultApp':_0xa88898[_0x1f268b(0x1d7)],'currentApp':_0xa88898[_0x1f268b(0x1e3)],'appCode':_0xa88898[_0x1f268b(0x1e8)],'apps':_0xa88898[_0x1f268b(0x1e0)]}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[a166_0x35ca91(0x1d9)](_0x243999=>PIPELINE_FLAG_NAMES[a166_0x35ca91(0x1d5)](_0x243999['name']))[a166_0x35ca91(0x1c5)](({name:_0x5610c5,type:_0x5e4e28,description:_0x2aa1bc})=>({'name':_0x5610c5,'type':_0x5e4e28,'description':_0x2aa1bc})),'formatOutput':formatOutput,'getCommandLabel'(_0x9ae624){const _0x2f137e=a166_0x35ca91;return CLI_BIN_NAME+'\x20'+_0x9ae624['service']+'\x20'+_0x9ae624[_0x2f137e(0x1e6)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x15fecd){const _0x1505fb=a166_0x35ca91;return CliErrors[_0x1505fb(0x1d2)](_0x15fecd);}},async 'prepare'(_0x113a01,_0xab5ccd,_0x57c8e1,_0x58ab6b){const _0x2cd970=a166_0x35ca91,_0xc75927=_0xab5ccd[_0x2cd970(0x1c6)]||DEFAULT_API_DIR;resolveAliasToCode(_0x113a01,_0x57c8e1,_0xc75927,_0x58ab6b);let _0x52e3af='';if(_0x113a01[_0x2cd970(0x1c4)]!==![]){_0x52e3af=_0xab5ccd[_0x2cd970(0x1ce)]();if(!_0x52e3af)throw CliErrors[_0x2cd970(0x1c8)]();const {setActiveCookie:_0x5f4156}=await import(_0x2cd970(0x1e4));_0x5f4156(_0x52e3af);}const _0x4caf9b=_0xab5ccd[_0x2cd970(0x1df)]()??'';if(_0x113a01[_0x2cd970(0x1c3)]!==![]){if(!_0x4caf9b)throw CliErrors[_0x2cd970(0x1da)]('Set\x20appcode\x20via\x20`'+CLI_BIN_NAME+_0x2cd970(0x1ca));}return{'defaults':{'booleans':{'verbose':_0xab5ccd['defaultVerbose']},'numbers':{'pagesize':_0xab5ccd[_0x2cd970(0x1db)]}},'extras':{'appCode':_0x4caf9b,'cookie':_0x52e3af,'apiDomain':_0xab5ccd[_0x2cd970(0x1dc)](),'apiDir':_0xc75927,'selectedAppName':_0xab5ccd[_0x2cd970(0x1e7)],'mergedCli':_0xab5ccd['mergedCli']}};},async 'confirmHighRisk'({env:_0x1bbfe0,commandLabel:_0x58434c}){const _0x3da078=a166_0x35ca91;if(_0x1bbfe0[_0x3da078(0x1dd)])throw CliErrors[_0x3da078(0x1d2)](_0x3da078(0x1d0)+_0x58434c+_0x3da078(0x1ea));await requireConfirmationPrompt({'lines':[_0x3da078(0x1e9)+_0x58434c,_0x3da078(0x1cd)],'createCancelledError':_0x237bc2=>CliErrors[_0x3da078(0x1de)](_0x237bc2)});},async 'finalize'(){const {clearActiveCookie:_0x5a19bb}=await import('../core/api-client.js');_0x5a19bb();}};export async function runCommand(_0x24b1d1,_0x3ca93f){await runCommandWithAdapter(_0x24b1d1,_0x3ca93f,runnerAdapter);}
1
+ function a166_0x5c07(_0x5b40c1,_0x101626){_0x5b40c1=_0x5b40c1-0x68;const _0x2b8381=a166_0x2b83();let _0x5c073a=_0x2b8381[_0x5b40c1];return _0x5c073a;}const a166_0x5ae40c=a166_0x5c07;(function(_0x297f2b,_0x4132d5){const _0x45ce24=a166_0x5c07,_0x383424=_0x297f2b();while(!![]){try{const _0x4e8912=parseInt(_0x45ce24(0x83))/0x1+parseInt(_0x45ce24(0x8b))/0x2+-parseInt(_0x45ce24(0x72))/0x3*(-parseInt(_0x45ce24(0x88))/0x4)+parseInt(_0x45ce24(0x68))/0x5*(-parseInt(_0x45ce24(0x7f))/0x6)+parseInt(_0x45ce24(0x7b))/0x7+-parseInt(_0x45ce24(0x6b))/0x8*(-parseInt(_0x45ce24(0x87))/0x9)+-parseInt(_0x45ce24(0x7c))/0xa;if(_0x4e8912===_0x4132d5)break;else _0x383424['push'](_0x383424['shift']());}catch(_0x564741){_0x383424['push'](_0x383424['shift']());}}}(a166_0x2b83,0x30418));function a166_0x2b83(){const _0x581867=['verbose','format','defaultApp','riskLevel','defaultVerbose','1619275Nkccmw','6064080ahnkwk','resolveApiDomain','../core/api-client.js','6wwVNCo','filter','mergedCli','service','386288ZgWLEa','pageSize','isNonInteractive','appCode','117DmAqYr','88304vlijgD','currentApp','validation','699038cWGShp','⚠\x20\x20High-risk\x20operation:\x20','appcode','1835005rJiNad','map','configMissing','111912bQBwNK','resolveCookie','resolveAppCode','apps','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','apiDir','cookie','3iLhtsZ','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','command','defaultPageSize'];a166_0x2b83=function(){return _0x581867;};return a166_0x2b83();}import{runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';import{getCookie}from'../auth/get-cookie.js';import{getApiDomain}from'../constant/domain.js';import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{DEFAULT_API_DIR}from'../constant/paths.js';import{isNonInteractive as a166_0x24f0d5}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';export function createPipelineEnv(_0xc44cd7,_0x5101a7,_0x294463=[]){const _0x13bb42=a166_0x5c07;return{'rawFlags':_0x5101a7,'args':_0x294463,'resolveAppCode':()=>_0xc44cd7[_0x13bb42(0x86)]||_0x5101a7[_0x13bb42(0x8d)]||process.env.RABETBASE_APPCODE||process.env.LOVRABET_APPCODE||undefined,'resolveCookie':()=>_0xc44cd7[_0x13bb42(0x71)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a166_0x24f0d5(_0x5101a7),'defaultFormat':_0xc44cd7[_0x13bb42(0x77)],'defaultPageSize':_0xc44cd7[_0x13bb42(0x84)],'defaultVerbose':_0xc44cd7[_0x13bb42(0x76)],'apiDir':_0xc44cd7[_0x13bb42(0x70)],'riskLevel':_0xc44cd7[_0x13bb42(0x79)],'selectedAppName':_0xc44cd7['explicitAppName'],'mergedCli':{'defaultApp':_0xc44cd7[_0x13bb42(0x78)],'currentApp':_0xc44cd7[_0x13bb42(0x89)],'appCode':_0xc44cd7[_0x13bb42(0x86)],'apps':_0xc44cd7[_0x13bb42(0x6e)]}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[a166_0x5ae40c(0x80)](_0x33873b=>PIPELINE_FLAG_NAMES['has'](_0x33873b['name']))[a166_0x5ae40c(0x69)](({name:_0x439b1f,type:_0x2c75c1,description:_0x5d00e8})=>({'name':_0x439b1f,'type':_0x2c75c1,'description':_0x5d00e8})),'formatOutput':formatOutput,'getCommandLabel'(_0x2e5668){const _0x26d32d=a166_0x5ae40c;return CLI_BIN_NAME+'\x20'+_0x2e5668[_0x26d32d(0x82)]+'\x20'+_0x2e5668[_0x26d32d(0x74)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0xa4ca62){const _0x207118=a166_0x5ae40c;return CliErrors[_0x207118(0x8a)](_0xa4ca62);}},async 'prepare'(_0x14eb38,_0x9487ba,_0x3932d0,_0x314382){const _0x5da13b=a166_0x5ae40c,_0x242664=_0x9487ba[_0x5da13b(0x70)]||DEFAULT_API_DIR;resolveAliasToCode(_0x14eb38,_0x3932d0,_0x242664,_0x314382);let _0x334e28='';if(_0x14eb38['requiresAuth']!==![]){_0x334e28=_0x9487ba[_0x5da13b(0x6c)]();if(!_0x334e28)throw CliErrors['authRequired']();const {setActiveCookie:_0x47c632}=await import(_0x5da13b(0x7e));_0x47c632(_0x334e28);}const _0x4c8bbf=_0x9487ba[_0x5da13b(0x6d)]()??'';if(_0x14eb38['requiresAppCode']!==![]){if(!_0x4c8bbf)throw CliErrors[_0x5da13b(0x6a)]('Set\x20appcode\x20via\x20`'+CLI_BIN_NAME+_0x5da13b(0x73));}return{'defaults':{'booleans':{'verbose':_0x9487ba[_0x5da13b(0x7a)]},'numbers':{'pagesize':_0x9487ba[_0x5da13b(0x75)]}},'extras':{'appCode':_0x4c8bbf,'cookie':_0x334e28,'apiDomain':_0x9487ba[_0x5da13b(0x7d)](),'apiDir':_0x242664,'selectedAppName':_0x9487ba['selectedAppName'],'mergedCli':_0x9487ba[_0x5da13b(0x81)]}};},async 'confirmHighRisk'({env:_0x28d983,commandLabel:_0x98d2bd}){const _0x574a16=a166_0x5ae40c;if(_0x28d983[_0x574a16(0x85)])throw CliErrors[_0x574a16(0x8a)]('High-risk\x20operation\x20`'+_0x98d2bd+_0x574a16(0x6f));await requireConfirmationPrompt({'lines':[_0x574a16(0x8c)+_0x98d2bd,'\x20\x20\x20Continue?\x20[y/N]\x20'],'createCancelledError':_0x126984=>CliErrors['cancelled'](_0x126984)});},async 'finalize'(){const {clearActiveCookie:_0x114257}=await import('../core/api-client.js');_0x114257();}};export async function runCommand(_0x5a09d6,_0x3694d3){await runCommandWithAdapter(_0x5a09d6,_0x3694d3,runnerAdapter);}
@@ -1 +1 @@
1
- (function(_0x4c99eb,_0x455b41){const _0x181bcd=a167_0x5476,_0x19e5c6=_0x4c99eb();while(!![]){try{const _0x1b347f=-parseInt(_0x181bcd(0x1d2))/0x1+parseInt(_0x181bcd(0x1d7))/0x2+parseInt(_0x181bcd(0x1d8))/0x3*(-parseInt(_0x181bcd(0x1d3))/0x4)+parseInt(_0x181bcd(0x1d5))/0x5*(-parseInt(_0x181bcd(0x1d6))/0x6)+parseInt(_0x181bcd(0x1cf))/0x7+-parseInt(_0x181bcd(0x1ce))/0x8+parseInt(_0x181bcd(0x1d0))/0x9*(parseInt(_0x181bcd(0x1d4))/0xa);if(_0x1b347f===_0x455b41)break;else _0x19e5c6['push'](_0x19e5c6['shift']());}catch(_0x3883a1){_0x19e5c6['push'](_0x19e5c6['shift']());}}}(a167_0x1c2b,0x975eb));import{buildSchemaPayload as a167_0x2e6e4f}from'@lovrabet/cli-framework';function a167_0x5476(_0x3fde7f,_0x45ffff){_0x3fde7f=_0x3fde7f-0x1ce;const _0x1c2bf1=a167_0x1c2b();let _0x54762d=_0x1c2bf1[_0x3fde7f];return _0x54762d;}import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';function a167_0x1c2b(){const _0x3f6dbf=['3052600yvzpLF','177160FduHuB','8650vtuTit','2904NOyHrF','485216ogLhlq','3xwwnzz','4239512TDbJiJ','4821915VxBmiV','1116ZbkyaK','../commands/registry.js','377817mdElxg'];a167_0x1c2b=function(){return _0x3f6dbf;};return a167_0x1c2b();}import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x4d8a55=a167_0x5476,{serviceRegistry:_0x8db544,findDefinition:_0x4e34cc}=await import(_0x4d8a55(0x1d1));return a167_0x2e6e4f({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x8db544,'buildAllFlags':buildAllFlags,'findDefinition':_0x4e34cc});}
1
+ function a167_0x2aa2(){const _0x1c8177=['3149556VNDFmG','339335xOGDqD','11484016tBBumk','2005272FojTBd','18PHuMpM','1535026jliRMM','../commands/registry.js','114LmndUc','9369675ipiIgl','3447753eJrILO'];a167_0x2aa2=function(){return _0x1c8177;};return a167_0x2aa2();}(function(_0x24c726,_0x22bca2){const _0x3a03e0=a167_0x5e10,_0x4ec5e9=_0x24c726();while(!![]){try{const _0x2eb89f=parseInt(_0x3a03e0(0xd0))/0x1+-parseInt(_0x3a03e0(0xd5))/0x2+parseInt(_0x3a03e0(0xd4))/0x3+-parseInt(_0x3a03e0(0xd8))/0x4+parseInt(_0x3a03e0(0xd6))/0x5*(-parseInt(_0x3a03e0(0xd2))/0x6)+-parseInt(_0x3a03e0(0xd3))/0x7+parseInt(_0x3a03e0(0xd7))/0x8*(parseInt(_0x3a03e0(0xcf))/0x9);if(_0x2eb89f===_0x22bca2)break;else _0x4ec5e9['push'](_0x4ec5e9['shift']());}catch(_0x183b66){_0x4ec5e9['push'](_0x4ec5e9['shift']());}}}(a167_0x2aa2,0xcfcf3));import{buildSchemaPayload as a167_0x196f96}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';function a167_0x5e10(_0x1c661d,_0x1c1c59){_0x1c661d=_0x1c661d-0xcf;const _0x2aa27f=a167_0x2aa2();let _0x5e106f=_0x2aa27f[_0x1c661d];return _0x5e106f;}import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x1c55b5=a167_0x5e10,{serviceRegistry:_0x11a246,findDefinition:_0x32d2f4}=await import(_0x1c55b5(0xd1));return a167_0x196f96({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x11a246,'buildAllFlags':buildAllFlags,'findDefinition':_0x32d2f4});}
@@ -1 +1 @@
1
- function a168_0x2253(){var _0x641501=['167KNPVaA','5667MWkizO','8480780FcSrQn','6TUXuyz','6287346iDyTWo','2538805wdmBNr','6199536LzMXvN','778dKTnzR','8028344YgoGhU','956ixZDPm'];a168_0x2253=function(){return _0x641501;};return a168_0x2253();}(function(_0x775c0f,_0x215011){var _0x1d6d80=a168_0x52ee,_0x5e1531=_0x775c0f();while(!![]){try{var _0x27fbe9=-parseInt(_0x1d6d80(0xab))/0x1*(-parseInt(_0x1d6d80(0xb2))/0x2)+-parseInt(_0x1d6d80(0xac))/0x3*(parseInt(_0x1d6d80(0xaa))/0x4)+-parseInt(_0x1d6d80(0xb0))/0x5*(parseInt(_0x1d6d80(0xae))/0x6)+parseInt(_0x1d6d80(0xb1))/0x7+-parseInt(_0x1d6d80(0xa9))/0x8+parseInt(_0x1d6d80(0xaf))/0x9+parseInt(_0x1d6d80(0xad))/0xa;if(_0x27fbe9===_0x215011)break;else _0x5e1531['push'](_0x5e1531['shift']());}catch(_0x56b669){_0x5e1531['push'](_0x5e1531['shift']());}}}(a168_0x2253,0x827ec));function a168_0x52ee(_0x2ee555,_0x65b3ad){_0x2ee555=_0x2ee555-0xa9;var _0x22539d=a168_0x2253();var _0x52ee36=_0x22539d[_0x2ee555];return _0x52ee36;}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';
1
+ function a168_0x5213(){var _0xa4cacb=['2344EWtSIx','74902OvcZFY','37512QgwrCq','631761jviLBH','556730UELcSU','53199zQloUO','795CVwntV','319uQaqvZ','6388760BQlCAS','1031876LzQeru','102LYDCZc'];a168_0x5213=function(){return _0xa4cacb;};return a168_0x5213();}(function(_0x4306b6,_0x3897c0){var _0x2d19f0=a168_0x2db9,_0x82ef2a=_0x4306b6();while(!![]){try{var _0x2342d1=parseInt(_0x2d19f0(0x1d2))/0x1+parseInt(_0x2d19f0(0x1db))/0x2*(-parseInt(_0x2d19f0(0x1d9))/0x3)+-parseInt(_0x2d19f0(0x1d8))/0x4+parseInt(_0x2d19f0(0x1d5))/0x5*(parseInt(_0x2d19f0(0x1dc))/0x6)+parseInt(_0x2d19f0(0x1d7))/0x7+parseInt(_0x2d19f0(0x1da))/0x8*(-parseInt(_0x2d19f0(0x1d4))/0x9)+parseInt(_0x2d19f0(0x1d3))/0xa*(parseInt(_0x2d19f0(0x1d6))/0xb);if(_0x2342d1===_0x3897c0)break;else _0x82ef2a['push'](_0x82ef2a['shift']());}catch(_0x26afcc){_0x82ef2a['push'](_0x82ef2a['shift']());}}}(a168_0x5213,0xd93c8));function a168_0x2db9(_0x4dfb6f,_0xd2649a){_0x4dfb6f=_0x4dfb6f-0x1d2;var _0x5213d6=a168_0x5213();var _0x2db947=_0x5213d6[_0x4dfb6f];return _0x2db947;}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';
@@ -1 +1 @@
1
- const a169_0x5635c1=a169_0x299b;function a169_0x53f9(){const _0x3d0f13=['933185Rulijc','4154913evNUKr','4255FNltKp','v2.1.10-beta.3','6673224VPFtDG','27514250Sqcczq','16368cf','147732qdehEx','2XWdlCt','5132PBBuaR','7zCXdOP','3661674WnAcXI','2026-05-13T11:23:06.364Z','2.1.10-beta.3'];a169_0x53f9=function(){return _0x3d0f13;};return a169_0x53f9();}(function(_0x325101,_0x564936){const _0x220ec5=a169_0x299b,_0x5e55ae=_0x325101();while(!![]){try{const _0x4f78ae=-parseInt(_0x220ec5(0x7a))/0x1+-parseInt(_0x220ec5(0x74))/0x2*(-parseInt(_0x220ec5(0x77))/0x3)+-parseInt(_0x220ec5(0x75))/0x4*(parseInt(_0x220ec5(0x6e))/0x5)+parseInt(_0x220ec5(0x73))/0x6*(-parseInt(_0x220ec5(0x76))/0x7)+-parseInt(_0x220ec5(0x70))/0x8+-parseInt(_0x220ec5(0x7b))/0x9+parseInt(_0x220ec5(0x71))/0xa;if(_0x4f78ae===_0x564936)break;else _0x5e55ae['push'](_0x5e55ae['shift']());}catch(_0x36d757){_0x5e55ae['push'](_0x5e55ae['shift']());}}}(a169_0x53f9,0x98f65));export const VERSION=a169_0x5635c1(0x79);export const GIT_TAG=a169_0x5635c1(0x6f);export const GIT_COMMIT=a169_0x5635c1(0x72);function a169_0x299b(_0x233aba,_0x241aa8){_0x233aba=_0x233aba-0x6e;const _0x53f9ac=a169_0x53f9();let _0x299ba5=_0x53f9ac[_0x233aba];return _0x299ba5;}export const BUILD_TIME=a169_0x5635c1(0x78);
1
+ function a169_0x5793(_0x365b10,_0x171b60){_0x365b10=_0x365b10-0x1ae;const _0x1257dd=a169_0x1257();let _0x57935f=_0x1257dd[_0x365b10];return _0x57935f;}const a169_0xb9f253=a169_0x5793;function a169_0x1257(){const _0x3d1fb5=['15VVPpGN','777588GYCWDz','4422950iNxEzx','206535maqGFq','2de47f8','1272YcBMQo','258WSLDTO','2026-05-14T02:50:11.301Z','2.1.11','280388OlcsET','1434HGcAcp','v2.1.11','74622zeFcWV','13779PMBIuB'];a169_0x1257=function(){return _0x3d1fb5;};return a169_0x1257();}(function(_0x58ef61,_0x1aa9e7){const _0x9758a3=a169_0x5793,_0x3366aa=_0x58ef61();while(!![]){try{const _0x2f2e57=parseInt(_0x9758a3(0x1b8))/0x1+parseInt(_0x9758a3(0x1b1))/0x2*(parseInt(_0x9758a3(0x1bb))/0x3)+-parseInt(_0x9758a3(0x1b0))/0x4+-parseInt(_0x9758a3(0x1b5))/0x5*(-parseInt(_0x9758a3(0x1b3))/0x6)+parseInt(_0x9758a3(0x1b6))/0x7+parseInt(_0x9758a3(0x1ba))/0x8*(parseInt(_0x9758a3(0x1b4))/0x9)+-parseInt(_0x9758a3(0x1b7))/0xa;if(_0x2f2e57===_0x1aa9e7)break;else _0x3366aa['push'](_0x3366aa['shift']());}catch(_0x57e029){_0x3366aa['push'](_0x3366aa['shift']());}}}(a169_0x1257,0x240ad));export const VERSION=a169_0xb9f253(0x1af);export const GIT_TAG=a169_0xb9f253(0x1b2);export const GIT_COMMIT=a169_0xb9f253(0x1b9);export const BUILD_TIME=a169_0xb9f253(0x1ae);
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- (function(_0x10718b,_0x53c037){var _0x2e6f58=a170_0x2a8a,_0x1b3e63=_0x10718b();while(!![]){try{var _0x15a6c0=-parseInt(_0x2e6f58(0x1d0))/0x1+parseInt(_0x2e6f58(0x1ca))/0x2*(parseInt(_0x2e6f58(0x1ce))/0x3)+-parseInt(_0x2e6f58(0x1d2))/0x4*(-parseInt(_0x2e6f58(0x1d1))/0x5)+-parseInt(_0x2e6f58(0x1cf))/0x6*(-parseInt(_0x2e6f58(0x1c8))/0x7)+-parseInt(_0x2e6f58(0x1cd))/0x8+-parseInt(_0x2e6f58(0x1c9))/0x9+parseInt(_0x2e6f58(0x1cc))/0xa;if(_0x15a6c0===_0x53c037)break;else _0x1b3e63['push'](_0x1b3e63['shift']());}catch(_0x449ef2){_0x1b3e63['push'](_0x1b3e63['shift']());}}}(a170_0x480e,0xc8557));import a170_0x3eb6b2 from'chalk';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';function a170_0x480e(){var _0x4aeb01=['819965fXOHMU','225KgSehQ','72692nwrzfp','green','bold','log','182jnOIPC','6968277sUpggP','1436pxpNHz','\x20\x20Use\x20','23284550zseJgg','9333544UgIRbf','24eqmgAi','99114tDRzlJ'];a170_0x480e=function(){return _0x4aeb01;};return a170_0x480e();}function a170_0x2a8a(_0x39d258,_0x2927be){_0x39d258=_0x39d258-0x1c7;var _0x480eab=a170_0x480e();var _0x2a8aa5=_0x480eab[_0x39d258];return _0x2a8aa5;}export function showHelp(){var _0x29c26e=a170_0x2a8a;console[_0x29c26e(0x1c7)](),console[_0x29c26e(0x1c7)](a170_0x3eb6b2[_0x29c26e(0x1d3)]['bold']('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x29c26e(0x1c7)](),console[_0x29c26e(0x1c7)](_0x29c26e(0x1cb)+a170_0x3eb6b2[_0x29c26e(0x1d3)][_0x29c26e(0x1d4)](CLI_BIN_NAME+'\x20--help')+'\x20to\x20view\x20available\x20commands.'),console['log']();}
1
+ function a170_0x121a(_0x47104d,_0x48b5fa){_0x47104d=_0x47104d-0x1d9;var _0x17f9fa=a170_0x17f9();var _0x121a40=_0x17f9fa[_0x47104d];return _0x121a40;}function a170_0x17f9(){var _0x412570=['654073MQHiyW','bold','2899140kcYnta','311346jMYfel','\x20to\x20view\x20available\x20commands.','1166812aSpwKV','1824366sPhJkC','\x20--help','20LNlrRa','32DBlKFw','366736cbeOBh','18435492lkRvJy','green','log'];a170_0x17f9=function(){return _0x412570;};return a170_0x17f9();}(function(_0x54b0aa,_0x4b8adf){var _0x469200=a170_0x121a,_0x4bf748=_0x54b0aa();while(!![]){try{var _0x3e6546=-parseInt(_0x469200(0x1e1))/0x1+-parseInt(_0x469200(0x1de))/0x2+parseInt(_0x469200(0x1e2))/0x3+-parseInt(_0x469200(0x1e6))/0x4*(-parseInt(_0x469200(0x1e4))/0x5)+-parseInt(_0x469200(0x1df))/0x6+parseInt(_0x469200(0x1dc))/0x7*(parseInt(_0x469200(0x1e5))/0x8)+parseInt(_0x469200(0x1d9))/0x9;if(_0x3e6546===_0x4b8adf)break;else _0x4bf748['push'](_0x4bf748['shift']());}catch(_0x4e0870){_0x4bf748['push'](_0x4bf748['shift']());}}}(a170_0x17f9,0xb1e99));import a170_0x3ce10f from'chalk';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0x96464=a170_0x121a;console[_0x96464(0x1db)](),console['log'](a170_0x3ce10f[_0x96464(0x1da)][_0x96464(0x1dd)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x96464(0x1db)](),console['log']('\x20\x20Use\x20'+a170_0x3ce10f['green'][_0x96464(0x1dd)](CLI_BIN_NAME+_0x96464(0x1e3))+_0x96464(0x1e0)),console[_0x96464(0x1db)]();}
@@ -1 +1 @@
1
- (function(_0x3443c4,_0x23e986){const _0x535f36=a171_0xcdbb,_0x3d7c80=_0x3443c4();while(!![]){try{const _0x1304ce=parseInt(_0x535f36(0x70))/0x1+parseInt(_0x535f36(0x6d))/0x2+-parseInt(_0x535f36(0x75))/0x3*(-parseInt(_0x535f36(0x7c))/0x4)+parseInt(_0x535f36(0x72))/0x5*(parseInt(_0x535f36(0x76))/0x6)+-parseInt(_0x535f36(0x85))/0x7+-parseInt(_0x535f36(0x80))/0x8+parseInt(_0x535f36(0x82))/0x9;if(_0x1304ce===_0x23e986)break;else _0x3d7c80['push'](_0x3d7c80['shift']());}catch(_0x261943){_0x3d7c80['push'](_0x3d7c80['shift']());}}}(a171_0x3a21,0x43338));import{logger}from'../utils/logger.js';import{CLI_BIN_NAME}from'../constant/cli.js';import{NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE}from'../skills/npx-skills-add.js';export function camelCaseFlagsToKebab(_0x221c2d){const _0x21c872=a171_0xcdbb,_0x151b49=[];for(const [_0x10622a,_0x38f018]of Object['entries'](_0x221c2d)){if(_0x38f018===!![]){const _0xf0ee72=_0x10622a[_0x21c872(0x71)](/([A-Z])/g,_0x21c872(0x6f))[_0x21c872(0x73)]();_0x151b49[_0x21c872(0x6c)](_0xf0ee72);}}return _0x151b49;}export function parseDynamicFlags(){const _0x28a824=a171_0xcdbb,_0x1915f3=[];for(let _0x284fc1=0x3;_0x284fc1<process[_0x28a824(0x74)][_0x28a824(0x79)];_0x284fc1++){const _0x124b26=process[_0x28a824(0x74)][_0x284fc1];if(_0x124b26&&_0x124b26[_0x28a824(0x8a)]('--')){const _0x171e84=_0x124b26[_0x28a824(0x7f)](0x2);_0x171e84&&!_0x171e84[_0x28a824(0x6e)]('=')&&_0x1915f3[_0x28a824(0x6c)](_0x171e84);}}return _0x1915f3;}export function getAllProvidedFlags(_0x4aa4b5){const _0x3ee0cf=a171_0xcdbb,_0x21d411=camelCaseFlagsToKebab(_0x4aa4b5),_0x2a1afb=parseDynamicFlags(),_0xe23432=new Set([..._0x21d411,..._0x2a1afb]);return Array[_0x3ee0cf(0x7e)](_0xe23432);}function a171_0x3a21(){const _0xd0ec82=['Error:\x20Unsupported\x20command:\x20','722841InrjKJ','Equivalent\x20command:\x20','\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/lovrabet/guides/.\x0a','exit','error','startsWith','\x0aLovrabet\x20Skill\x20-\x20Developer\x20Skill\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','--help','push','412258UlVnzT','includes','-$1','22232ycADTZ','replace','20Lnyrmj','toLowerCase','argv','487698rSDMAR','107862YYcBTp','\x0aAvailable\x20commands:','\x20skill\x20--help\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Show\x20help\x0a','length','enable-bff-save','\x20skill\x20install\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20skill\x20installation','12wWSTlE','help','from','slice','4230584AEShaQ','不支持的命令:\x20','1074375lvsdmO','log'];a171_0x3a21=function(){return _0xd0ec82;};return a171_0x3a21();}function a171_0xcdbb(_0x490644,_0x404ee7){_0x490644=_0x490644-0x6c;const _0x3a21e0=a171_0x3a21();let _0xcdbb60=_0x3a21e0[_0x490644];return _0xcdbb60;}export function normalizeLegacyBffSaveFlags(_0x356164){const _0x138578=a171_0xcdbb,_0x147994=new Set(_0x356164);return _0x147994['has']('dangerously-bff-save')&&_0x147994['add'](_0x138578(0x7a)),Array['from'](_0x147994);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;export async function skillsCommand(_0x57b929,_0x3d4224,_0x2d4445){const _0x87e933=a171_0xcdbb;logger['setLogPath'](process['cwd']());if(_0x2d4445?.[_0x87e933(0x7d)]||_0x57b929===_0x87e933(0x8c)){showHelp();return;}console[_0x87e933(0x89)](_0x87e933(0x84)+(_0x57b929||'(empty)')),console[_0x87e933(0x83)](_0x87e933(0x77)),console['log']('\x20\x20'+CLI_BIN_NAME+_0x87e933(0x7b)),console[_0x87e933(0x83)]('\x20\x20'+CLI_BIN_NAME+_0x87e933(0x78)),console['log'](''),console['log'](_0x87e933(0x86)+SKILLS_INSTALL_COMMAND_LINE),logger['error']('skill',_0x87e933(0x81)+_0x57b929),process[_0x87e933(0x88)](0x1);}function showHelp(){const _0x54f418=a171_0xcdbb;console[_0x54f418(0x83)](_0x54f418(0x8b)+CLI_BIN_NAME+'\x20skill\x20--help\x0a\x20\x20'+CLI_BIN_NAME+'\x20skill\x20install\x0a\x0aEquivalent\x20command:\x20'+SKILLS_INSTALL_COMMAND_LINE+_0x54f418(0x87));}
1
+ function a171_0x3369(){const _0x492f59=['415OcrBBS','help','12819200nEnkRp','3HlyRiY','不支持的命令:\x20','(empty)','argv','-$1','includes','9843183ndbFin','4287588OvlFtI','--help','log','983368vsoRki','length','has','add','entries','23634kNAkCJ','toLowerCase','\x20skill\x20--help\x0a\x20\x20','exit','\x0aAvailable\x20commands:','dangerously-bff-save','startsWith','57483888lkfTLC','slice','\x20skill\x20--help\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Show\x20help\x0a','error','946442TKZDDJ','9XDgRtV','Equivalent\x20command:\x20','push','cwd','replace','2COeOWh','skill','setLogPath'];a171_0x3369=function(){return _0x492f59;};return a171_0x3369();}(function(_0x542553,_0x74e003){const _0x511fc9=a171_0x33ba,_0x6cae96=_0x542553();while(!![]){try{const _0x7674cf=-parseInt(_0x511fc9(0x9b))/0x1*(parseInt(_0x511fc9(0xa1))/0x2)+parseInt(_0x511fc9(0x81))/0x3*(-parseInt(_0x511fc9(0x88))/0x4)+-parseInt(_0x511fc9(0x7e))/0x5*(-parseInt(_0x511fc9(0x90))/0x6)+-parseInt(_0x511fc9(0x87))/0x7+parseInt(_0x511fc9(0x8b))/0x8*(-parseInt(_0x511fc9(0x9c))/0x9)+-parseInt(_0x511fc9(0x80))/0xa+parseInt(_0x511fc9(0x97))/0xb;if(_0x7674cf===_0x74e003)break;else _0x6cae96['push'](_0x6cae96['shift']());}catch(_0x123f46){_0x6cae96['push'](_0x6cae96['shift']());}}}(a171_0x3369,0xb09c4));import{logger}from'../utils/logger.js';import{CLI_BIN_NAME}from'../constant/cli.js';import{NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE}from'../skills/npx-skills-add.js';export function camelCaseFlagsToKebab(_0x18b464){const _0x11ab63=a171_0x33ba,_0x1f0725=[];for(const [_0x489800,_0xbca1e4]of Object[_0x11ab63(0x8f)](_0x18b464)){if(_0xbca1e4===!![]){const _0x269b16=_0x489800[_0x11ab63(0xa0)](/([A-Z])/g,_0x11ab63(0x85))[_0x11ab63(0x91)]();_0x1f0725[_0x11ab63(0x9e)](_0x269b16);}}return _0x1f0725;}export function parseDynamicFlags(){const _0x49e376=a171_0x33ba,_0x14be8c=[];for(let _0x3c36c0=0x3;_0x3c36c0<process[_0x49e376(0x84)][_0x49e376(0x8c)];_0x3c36c0++){const _0x10df2b=process[_0x49e376(0x84)][_0x3c36c0];if(_0x10df2b&&_0x10df2b[_0x49e376(0x96)]('--')){const _0x5dc973=_0x10df2b[_0x49e376(0x98)](0x2);_0x5dc973&&!_0x5dc973[_0x49e376(0x86)]('=')&&_0x14be8c['push'](_0x5dc973);}}return _0x14be8c;}function a171_0x33ba(_0x1c16e1,_0x4a1857){_0x1c16e1=_0x1c16e1-0x7e;const _0x336915=a171_0x3369();let _0x33ba63=_0x336915[_0x1c16e1];return _0x33ba63;}export function getAllProvidedFlags(_0x2b2a1e){const _0x245e4f=camelCaseFlagsToKebab(_0x2b2a1e),_0x3151cd=parseDynamicFlags(),_0x1d07e3=new Set([..._0x245e4f,..._0x3151cd]);return Array['from'](_0x1d07e3);}export function normalizeLegacyBffSaveFlags(_0x525834){const _0x40a65b=a171_0x33ba,_0x77e366=new Set(_0x525834);return _0x77e366[_0x40a65b(0x8d)](_0x40a65b(0x95))&&_0x77e366[_0x40a65b(0x8e)]('enable-bff-save'),Array['from'](_0x77e366);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;export async function skillsCommand(_0x37fffe,_0x2672e3,_0x264859){const _0x18ebb9=a171_0x33ba;logger[_0x18ebb9(0xa3)](process[_0x18ebb9(0x9f)]());if(_0x264859?.[_0x18ebb9(0x7f)]||_0x37fffe===_0x18ebb9(0x89)){showHelp();return;}console[_0x18ebb9(0x9a)]('Error:\x20Unsupported\x20command:\x20'+(_0x37fffe||_0x18ebb9(0x83))),console[_0x18ebb9(0x8a)](_0x18ebb9(0x94)),console[_0x18ebb9(0x8a)]('\x20\x20'+CLI_BIN_NAME+'\x20skill\x20install\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20skill\x20installation'),console['log']('\x20\x20'+CLI_BIN_NAME+_0x18ebb9(0x99)),console['log'](''),console[_0x18ebb9(0x8a)](_0x18ebb9(0x9d)+SKILLS_INSTALL_COMMAND_LINE),logger[_0x18ebb9(0x9a)](_0x18ebb9(0xa2),_0x18ebb9(0x82)+_0x37fffe),process[_0x18ebb9(0x93)](0x1);}function showHelp(){const _0x4731cd=a171_0x33ba;console['log']('\x0aLovrabet\x20Skill\x20-\x20Developer\x20Skill\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20'+CLI_BIN_NAME+_0x4731cd(0x92)+CLI_BIN_NAME+'\x20skill\x20install\x0a\x0aEquivalent\x20command:\x20'+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 a172_0x3aeda0=a172_0x298a;(function(_0x672de7,_0x5970e0){const _0x13a021=a172_0x298a,_0x2cf9dc=_0x672de7();while(!![]){try{const _0x1ebddd=-parseInt(_0x13a021(0xcf))/0x1*(parseInt(_0x13a021(0xde))/0x2)+parseInt(_0x13a021(0xe5))/0x3*(parseInt(_0x13a021(0xcc))/0x4)+parseInt(_0x13a021(0xed))/0x5+-parseInt(_0x13a021(0xdd))/0x6*(parseInt(_0x13a021(0xd8))/0x7)+parseInt(_0x13a021(0xdb))/0x8*(parseInt(_0x13a021(0xd5))/0x9)+parseInt(_0x13a021(0xd0))/0xa*(parseInt(_0x13a021(0xe2))/0xb)+-parseInt(_0x13a021(0xe8))/0xc*(parseInt(_0x13a021(0xec))/0xd);if(_0x1ebddd===_0x5970e0)break;else _0x2cf9dc['push'](_0x2cf9dc['shift']());}catch(_0x347c3c){_0x2cf9dc['push'](_0x2cf9dc['shift']());}}}(a172_0x2797,0x66889));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';export const NPX_FLAG_YES='-y';export const SKILLS_FLAG_GLOBAL='-g';function a172_0x2797(){const _0x45b9b0=['2pOvOAb','1130HIDKxT','trim','skill','unknown','stdout','80874wkqLiP','stderr','yes','26551BvvlYI','inherit','stdio','224hLmftR','remove','1086UjSEAl','220138WMhvUt','lovrabet/rabetbase','exit\x20','lovrabet/lovrabet-skill','17347OPnYei','npx','status','3uZMPhJ','log','toString','7836ssldGh','skills','--skill','join','3471CpFfDw','2327430AmKGxe','Lovrabet','push','2422816RDzQPs','pipe','add'];a172_0x2797=function(){return _0x45b9b0;};return a172_0x2797();}export const SKILLS_FLAG_YES='-y';export const NPX_SKILLS_CLI=a172_0x3aeda0(0xe9);export const NPX_SKILLS_SUBCOMMAND_ADD=a172_0x3aeda0(0xce);export const NPX_SKILLS_FLAG_SKILL=a172_0x3aeda0(0xea);export const RABETBASE_SKILL_SOURCE=a172_0x3aeda0(0xdf);export const LEGACY_RABETBASE_SKILL_SOURCE=a172_0x3aeda0(0xe1);export const DEFAULT_RABETBASE_SKILL_NAME=a172_0x3aeda0(0xee);export function buildNpxSkillsAddArgv(_0xedcac6){const _0x5c32ab=a172_0x3aeda0,_0x19ff55=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE];return _0xedcac6&&_0x19ff55[_0x5c32ab(0xcb)](NPX_SKILLS_FLAG_SKILL,_0xedcac6),_0x19ff55;}export const NPX_SKILLS_ADD_COMMAND_LINE=['npx',...buildNpxSkillsAddArgv()][a172_0x3aeda0(0xeb)]('\x20');export const NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE=[a172_0x3aeda0(0xe3),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][a172_0x3aeda0(0xeb)]('\x20');export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}function a172_0x298a(_0x183f45,_0x9d2a2c){_0x183f45=_0x183f45-0xcb;const _0x27970b=a172_0x2797();let _0x298a42=_0x27970b[_0x183f45];return _0x298a42;}export function runNpxSkillsAdd(_0xa53166,_0x5ebd2a){const _0x523480=a172_0x3aeda0;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x3dc1f4=_0x5ebd2a?.[_0x523480(0xda)]??'inherit',_0x42797d=resolveNpmBin(_0x523480(0xe3)),_0x200e1e=buildNpxSkillsAddArgv(_0x5ebd2a?.[_0x523480(0xd2)]),_0x21d116=[_0x523480(0xe3),..._0x200e1e][_0x523480(0xeb)]('\x20');console[_0x523480(0xe6)]('*\x20'+_0x21d116);const _0x485a2f=spawnSync(_0x42797d,_0x200e1e,{'cwd':_0xa53166,'stdio':_0x3dc1f4,'env':process.env,'shell':![]}),_0x475791=_0x485a2f['status'];if(_0x475791===0x0)return{'ok':!![],'status':0x0};let _0x5745d6=_0x523480(0xe0)+(_0x475791??_0x523480(0xd3));if(_0x3dc1f4===_0x523480(0xcd)){const _0x5e6efa=_0x485a2f[_0x523480(0xd6)]?_0x485a2f[_0x523480(0xd6)][_0x523480(0xe7)]()[_0x523480(0xd1)]():'',_0x588bbc=_0x485a2f[_0x523480(0xd4)]?_0x485a2f[_0x523480(0xd4)][_0x523480(0xe7)]()['trim']():'';if(_0x5e6efa)_0x5745d6=_0x5e6efa;else{if(_0x588bbc)_0x5745d6=_0x588bbc;}}return{'ok':![],'status':_0x475791??null,'error':_0x5745d6};}export function runNpxSkillsRemove(_0x53ceff,_0x4ef9f7,_0x14289d=LEGACY_RABETBASE_SKILL_SOURCE){const _0x3c8e46=a172_0x3aeda0;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0xda72c9=_0x4ef9f7?.[_0x3c8e46(0xda)]??'inherit',_0xf9ea8a=resolveNpmBin(_0x3c8e46(0xe3)),_0x5a42f4=[NPX_FLAG_YES,NPX_SKILLS_CLI,_0x3c8e46(0xdc),_0x14289d,NPX_SKILLS_FLAG_SKILL,_0x4ef9f7?.[_0x3c8e46(0xd2)]??DEFAULT_RABETBASE_SKILL_NAME,..._0x4ef9f7?.[_0x3c8e46(0xd7)]?['-y']:[]],_0x238a52=[_0xf9ea8a,..._0x5a42f4][_0x3c8e46(0xeb)]('\x20');console[_0x3c8e46(0xe6)]('*\x20'+_0x238a52);const _0x20b107=spawnSync(_0xf9ea8a,_0x5a42f4,{'cwd':_0x53ceff,'stdio':_0xda72c9,'env':process.env,'shell':![]}),_0x185b21=_0x20b107[_0x3c8e46(0xe4)];if(_0x185b21===0x0)return{'ok':!![],'status':0x0};let _0x5440f6=_0x3c8e46(0xe0)+(_0x185b21??_0x3c8e46(0xd3));if(_0xda72c9===_0x3c8e46(0xcd)){const _0x143e12=_0x20b107['stderr']?_0x20b107[_0x3c8e46(0xd6)][_0x3c8e46(0xe7)]()[_0x3c8e46(0xd1)]():'',_0x1d3c5d=_0x20b107['stdout']?_0x20b107[_0x3c8e46(0xd4)][_0x3c8e46(0xe7)]()['trim']():'';if(_0x143e12)_0x5440f6=_0x143e12;else{if(_0x1d3c5d)_0x5440f6=_0x1d3c5d;}}return{'ok':![],'status':_0x185b21??null,'error':_0x5440f6};}export function runNpxSkillsAddGlobal(_0x38d55b,_0x94a605,_0x3bfa2d){const _0xeb41ad=a172_0x3aeda0;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x11416c=_0x3bfa2d?.[_0xeb41ad(0xda)]??_0xeb41ad(0xd9),_0x3e6a09=resolveNpmBin(_0xeb41ad(0xe3)),_0x21937c=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x94a605,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES],_0x5dba34=[_0xeb41ad(0xe3),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x94a605,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][_0xeb41ad(0xeb)]('\x20');console[_0xeb41ad(0xe6)]('*\x20'+_0x5dba34);const _0x424147=spawnSync(_0x3e6a09,_0x21937c,{'cwd':_0x38d55b,'stdio':_0x11416c,'env':process.env,'shell':![]}),_0x54f271=_0x424147['status'];if(_0x54f271===0x0)return{'ok':!![],'status':0x0};let _0x4286e8=_0xeb41ad(0xe0)+(_0x54f271??_0xeb41ad(0xd3));if(_0x11416c===_0xeb41ad(0xcd)){const _0x454f9d=_0x424147[_0xeb41ad(0xd6)]?_0x424147[_0xeb41ad(0xd6)]['toString']()[_0xeb41ad(0xd1)]():'',_0x447511=_0x424147[_0xeb41ad(0xd4)]?_0x424147[_0xeb41ad(0xd4)][_0xeb41ad(0xe7)]()['trim']():'';if(_0x454f9d)_0x4286e8=_0x454f9d;else{if(_0x447511)_0x4286e8=_0x447511;}}return{'ok':![],'status':_0x54f271??null,'error':_0x4286e8};}
1
+ const a172_0x4c92b1=a172_0x3a9c;(function(_0x1bcc18,_0x53c968){const _0x2f8f43=a172_0x3a9c,_0x4ee4aa=_0x1bcc18();while(!![]){try{const _0xf93152=-parseInt(_0x2f8f43(0xd7))/0x1*(-parseInt(_0x2f8f43(0xdd))/0x2)+parseInt(_0x2f8f43(0xc7))/0x3+parseInt(_0x2f8f43(0xd3))/0x4+parseInt(_0x2f8f43(0xdf))/0x5*(parseInt(_0x2f8f43(0xd4))/0x6)+-parseInt(_0x2f8f43(0xd8))/0x7+parseInt(_0x2f8f43(0xcf))/0x8+-parseInt(_0x2f8f43(0xd0))/0x9;if(_0xf93152===_0x53c968)break;else _0x4ee4aa['push'](_0x4ee4aa['shift']());}catch(_0x545feb){_0x4ee4aa['push'](_0x4ee4aa['shift']());}}}(a172_0x5cd5,0x4aaf5));function a172_0x3a9c(_0xdf8443,_0x42c400){_0xdf8443=_0xdf8443-0xc3;const _0x5cd5c9=a172_0x5cd5();let _0x3a9cdb=_0x5cd5c9[_0xdf8443];return _0x3a9cdb;}import{spawnSync}from'node:child_process';function a172_0x5cd5(){const _0x4bc261=['1759980pShBqJ','add','status','log','npx','yes','lovrabet/rabetbase','inherit','4597704ryRPqy','16997787efrbvM','toString','trim','2319428XIMYsC','529062KdmYIE','skill','unknown','1uOAnNS','1903979hOcYRq','Lovrabet','exit\x20','lovrabet/lovrabet-skill','pipe','1097930Awxlsd','push','10iVSmJV','stdout','skills','stderr','join'];a172_0x5cd5=function(){return _0x4bc261;};return a172_0x5cd5();}import{resolveNpmBin}from'../utils/platform.js';export const NPX_FLAG_YES='-y';export const SKILLS_FLAG_GLOBAL='-g';export const SKILLS_FLAG_YES='-y';export const NPX_SKILLS_CLI=a172_0x4c92b1(0xc4);export const NPX_SKILLS_SUBCOMMAND_ADD=a172_0x4c92b1(0xc8);export const NPX_SKILLS_FLAG_SKILL='--skill';export const RABETBASE_SKILL_SOURCE=a172_0x4c92b1(0xcd);export const LEGACY_RABETBASE_SKILL_SOURCE=a172_0x4c92b1(0xdb);export const DEFAULT_RABETBASE_SKILL_NAME=a172_0x4c92b1(0xd9);export function buildNpxSkillsAddArgv(_0xfdea82){const _0x49cdcc=a172_0x4c92b1,_0x6b0811=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE];return _0xfdea82&&_0x6b0811[_0x49cdcc(0xde)](NPX_SKILLS_FLAG_SKILL,_0xfdea82),_0x6b0811;}export const NPX_SKILLS_ADD_COMMAND_LINE=[a172_0x4c92b1(0xcb),...buildNpxSkillsAddArgv()]['join']('\x20');export const NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE=[a172_0x4c92b1(0xcb),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][a172_0x4c92b1(0xc6)]('\x20');export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0x4ea687,_0x17dba7){const _0x21f338=a172_0x4c92b1;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x9e44c1=_0x17dba7?.['stdio']??_0x21f338(0xce),_0xb64d80=resolveNpmBin(_0x21f338(0xcb)),_0x5bd147=buildNpxSkillsAddArgv(_0x17dba7?.[_0x21f338(0xd5)]),_0x1d4934=['npx',..._0x5bd147][_0x21f338(0xc6)]('\x20');console[_0x21f338(0xca)]('*\x20'+_0x1d4934);const _0x3b3408=spawnSync(_0xb64d80,_0x5bd147,{'cwd':_0x4ea687,'stdio':_0x9e44c1,'env':process.env,'shell':![]}),_0x547942=_0x3b3408[_0x21f338(0xc9)];if(_0x547942===0x0)return{'ok':!![],'status':0x0};let _0xcb3dd6='exit\x20'+(_0x547942??_0x21f338(0xd6));if(_0x9e44c1===_0x21f338(0xdc)){const _0x556e3d=_0x3b3408[_0x21f338(0xc5)]?_0x3b3408[_0x21f338(0xc5)][_0x21f338(0xd1)]()[_0x21f338(0xd2)]():'',_0x4dd534=_0x3b3408[_0x21f338(0xc3)]?_0x3b3408[_0x21f338(0xc3)][_0x21f338(0xd1)]()[_0x21f338(0xd2)]():'';if(_0x556e3d)_0xcb3dd6=_0x556e3d;else{if(_0x4dd534)_0xcb3dd6=_0x4dd534;}}return{'ok':![],'status':_0x547942??null,'error':_0xcb3dd6};}export function runNpxSkillsRemove(_0x2625d6,_0x388712,_0x3b3cc1=LEGACY_RABETBASE_SKILL_SOURCE){const _0x54ddde=a172_0x4c92b1;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x2217d5=_0x388712?.['stdio']??_0x54ddde(0xce),_0x5f3741=resolveNpmBin(_0x54ddde(0xcb)),_0xdfe744=[NPX_FLAG_YES,NPX_SKILLS_CLI,'remove',_0x3b3cc1,NPX_SKILLS_FLAG_SKILL,_0x388712?.[_0x54ddde(0xd5)]??DEFAULT_RABETBASE_SKILL_NAME,..._0x388712?.[_0x54ddde(0xcc)]?['-y']:[]],_0x37114c=[_0x5f3741,..._0xdfe744][_0x54ddde(0xc6)]('\x20');console[_0x54ddde(0xca)]('*\x20'+_0x37114c);const _0x3f743e=spawnSync(_0x5f3741,_0xdfe744,{'cwd':_0x2625d6,'stdio':_0x2217d5,'env':process.env,'shell':![]}),_0x4ebd46=_0x3f743e['status'];if(_0x4ebd46===0x0)return{'ok':!![],'status':0x0};let _0x54997a=_0x54ddde(0xda)+(_0x4ebd46??_0x54ddde(0xd6));if(_0x2217d5===_0x54ddde(0xdc)){const _0x3657be=_0x3f743e[_0x54ddde(0xc5)]?_0x3f743e['stderr'][_0x54ddde(0xd1)]()[_0x54ddde(0xd2)]():'',_0x5ab3ff=_0x3f743e[_0x54ddde(0xc3)]?_0x3f743e[_0x54ddde(0xc3)]['toString']()['trim']():'';if(_0x3657be)_0x54997a=_0x3657be;else{if(_0x5ab3ff)_0x54997a=_0x5ab3ff;}}return{'ok':![],'status':_0x4ebd46??null,'error':_0x54997a};}export function runNpxSkillsAddGlobal(_0x2347e2,_0x5d19c9,_0x2408d9){const _0x6c2265=a172_0x4c92b1;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x260f36=_0x2408d9?.['stdio']??_0x6c2265(0xce),_0xe2c336=resolveNpmBin(_0x6c2265(0xcb)),_0x46c783=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x5d19c9,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES],_0x8b7cbb=[_0x6c2265(0xcb),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x5d19c9,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][_0x6c2265(0xc6)]('\x20');console[_0x6c2265(0xca)]('*\x20'+_0x8b7cbb);const _0x25bef1=spawnSync(_0xe2c336,_0x46c783,{'cwd':_0x2347e2,'stdio':_0x260f36,'env':process.env,'shell':![]}),_0x26f992=_0x25bef1[_0x6c2265(0xc9)];if(_0x26f992===0x0)return{'ok':!![],'status':0x0};let _0x4e83cc=_0x6c2265(0xda)+(_0x26f992??'unknown');if(_0x260f36===_0x6c2265(0xdc)){const _0x1fed80=_0x25bef1['stderr']?_0x25bef1['stderr'][_0x6c2265(0xd1)]()['trim']():'',_0x5f4f8c=_0x25bef1[_0x6c2265(0xc3)]?_0x25bef1[_0x6c2265(0xc3)][_0x6c2265(0xd1)]()[_0x6c2265(0xd2)]():'';if(_0x1fed80)_0x4e83cc=_0x1fed80;else{if(_0x5f4f8c)_0x4e83cc=_0x5f4f8c;}}return{'ok':![],'status':_0x26f992??null,'error':_0x4e83cc};}
@@ -1 +1 @@
1
- (function(_0xfe37a2,_0x20a9b7){const _0x35b75d=a173_0xcc3c,_0x279616=_0xfe37a2();while(!![]){try{const _0x485067=parseInt(_0x35b75d(0x180))/0x1+-parseInt(_0x35b75d(0x178))/0x2+parseInt(_0x35b75d(0x17d))/0x3+-parseInt(_0x35b75d(0x17f))/0x4*(-parseInt(_0x35b75d(0x170))/0x5)+parseInt(_0x35b75d(0x17c))/0x6*(-parseInt(_0x35b75d(0x172))/0x7)+parseInt(_0x35b75d(0x17a))/0x8+-parseInt(_0x35b75d(0x176))/0x9;if(_0x485067===_0x20a9b7)break;else _0x279616['push'](_0x279616['shift']());}catch(_0x52a1ef){_0x279616['push'](_0x279616['shift']());}}}(a173_0x129f,0x7d8f4));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';import{getCliVersion}from'../utils/version.js';function a173_0x129f(){const _0x44377e=['6jQDJll','412767PeHYUF','some','1649632cprKUK','480993uZnNyZ','durationMs','rabetbase.command','10thssYG','error','1708147QWleHH','message','entries','service','2227860fhTMSU','flags','1093604LUoHTv','test','874056cAJJuk','command'];a173_0x129f=function(){return _0x44377e;};return a173_0x129f();}const SENSITIVE_PATTERNS=[/cookie/i,/token/i,/password/i,/passwd/i,/secret/i,/auth/i,/session/i,/credential/i];function isSensitiveKey(_0x2dfb5d){const _0x16eb89=a173_0xcc3c;return SENSITIVE_PATTERNS[_0x16eb89(0x17e)](_0x14e415=>_0x14e415[_0x16eb89(0x179)](_0x2dfb5d));}function sanitizeFlags(_0x4ec7a1){const _0x558f18=a173_0xcc3c,_0x7df71b={};for(const [_0x4d7d24,_0x2cf44f]of Object[_0x558f18(0x174)](_0x4ec7a1)){isSensitiveKey(_0x4d7d24)?_0x7df71b[_0x4d7d24]=_0x2cf44f!=null&&_0x2cf44f!==''?'[REDACTED]':_0x2cf44f:_0x7df71b[_0x4d7d24]=_0x2cf44f;}return _0x7df71b;}function a173_0xcc3c(_0x284ff0,_0x5376fd){_0x284ff0=_0x284ff0-0x16f;const _0x129fe2=a173_0x129f();let _0xcc3c58=_0x129fe2[_0x284ff0];return _0xcc3c58;}export async function reportCommandTrace(_0x4583db){const _0x46fdc2=a173_0xcc3c;try{const _0x2550c7=sanitizeFlags(_0x4583db[_0x46fdc2(0x177)]);await sendCliTraceLog({'spanName':_0x46fdc2(0x16f),'logData':{'command.cli_version':getCliVersion(),'command.service':_0x4583db[_0x46fdc2(0x175)],'command.name':_0x4583db[_0x46fdc2(0x17b)],'command.flags':JSON['stringify'](_0x2550c7),..._0x4583db[_0x46fdc2(0x181)]!=null?{'command.duration_ms':_0x4583db[_0x46fdc2(0x181)]}:{},..._0x4583db[_0x46fdc2(0x171)]?{'command.error':_0x4583db[_0x46fdc2(0x171)]instanceof Error?_0x4583db['error'][_0x46fdc2(0x173)]:String(_0x4583db[_0x46fdc2(0x171)])}:{}}});}catch{}}
1
+ (function(_0x4fa5f7,_0x29f386){const _0x534459=a173_0x2783,_0x723bde=_0x4fa5f7();while(!![]){try{const _0x5af845=-parseInt(_0x534459(0x17e))/0x1+-parseInt(_0x534459(0x181))/0x2*(-parseInt(_0x534459(0x184))/0x3)+parseInt(_0x534459(0x189))/0x4*(parseInt(_0x534459(0x186))/0x5)+-parseInt(_0x534459(0x185))/0x6*(parseInt(_0x534459(0x18a))/0x7)+parseInt(_0x534459(0x188))/0x8*(parseInt(_0x534459(0x18b))/0x9)+parseInt(_0x534459(0x17b))/0xa*(parseInt(_0x534459(0x17d))/0xb)+-parseInt(_0x534459(0x17c))/0xc;if(_0x5af845===_0x29f386)break;else _0x723bde['push'](_0x723bde['shift']());}catch(_0x5aadb8){_0x723bde['push'](_0x723bde['shift']());}}}(a173_0x11f8,0xe86ab));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';function a173_0x11f8(){const _0x1da965=['10thgyxa','8634828olsTOl','13597903OIKJTI','134456wVcOvE','test','error','20IAfhVb','command','rabetbase.command','213171ppLehq','12BJorRw','161390iZIiLT','stringify','8FUmXPd','96LTVbrH','3734598kmwoME','1364553GTZbrC','durationMs','[REDACTED]'];a173_0x11f8=function(){return _0x1da965;};return a173_0x11f8();}function a173_0x2783(_0x35a74e,_0x113cad){_0x35a74e=_0x35a74e-0x179;const _0x11f8fe=a173_0x11f8();let _0x27835c=_0x11f8fe[_0x35a74e];return _0x27835c;}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(_0x2261cb){const _0x49c26b=a173_0x2783;return SENSITIVE_PATTERNS['some'](_0x3a1eb7=>_0x3a1eb7[_0x49c26b(0x17f)](_0x2261cb));}function sanitizeFlags(_0x9e89c8){const _0x13d266=a173_0x2783,_0x1e33f8={};for(const [_0x2e3242,_0x595bbe]of Object['entries'](_0x9e89c8)){isSensitiveKey(_0x2e3242)?_0x1e33f8[_0x2e3242]=_0x595bbe!=null&&_0x595bbe!==''?_0x13d266(0x17a):_0x595bbe:_0x1e33f8[_0x2e3242]=_0x595bbe;}return _0x1e33f8;}export async function reportCommandTrace(_0xd791aa){const _0x75388e=a173_0x2783;try{const _0x2e35a5=sanitizeFlags(_0xd791aa['flags']);await sendCliTraceLog({'spanName':_0x75388e(0x183),'logData':{'command.cli_version':getCliVersion(),'command.service':_0xd791aa['service'],'command.name':_0xd791aa[_0x75388e(0x182)],'command.flags':JSON[_0x75388e(0x187)](_0x2e35a5),..._0xd791aa[_0x75388e(0x179)]!=null?{'command.duration_ms':_0xd791aa['durationMs']}:{},..._0xd791aa[_0x75388e(0x180)]?{'command.error':_0xd791aa[_0x75388e(0x180)]instanceof Error?_0xd791aa[_0x75388e(0x180)]['message']:String(_0xd791aa['error'])}:{}}});}catch{}}
@@ -1 +1 @@
1
- function a174_0x3016(_0x596f58,_0x11d1dd){_0x596f58=_0x596f58-0x198;var _0x2e344b=a174_0x2e34();var _0x3016dd=_0x2e344b[_0x596f58];return _0x3016dd;}(function(_0x1c0048,_0x2bac73){var _0x4a4d3d=a174_0x3016,_0x438c12=_0x1c0048();while(!![]){try{var _0x466c9f=parseInt(_0x4a4d3d(0x19f))/0x1*(-parseInt(_0x4a4d3d(0x19d))/0x2)+parseInt(_0x4a4d3d(0x19c))/0x3*(parseInt(_0x4a4d3d(0x1a2))/0x4)+parseInt(_0x4a4d3d(0x198))/0x5+parseInt(_0x4a4d3d(0x19a))/0x6+-parseInt(_0x4a4d3d(0x1a5))/0x7*(parseInt(_0x4a4d3d(0x1a4))/0x8)+-parseInt(_0x4a4d3d(0x1a3))/0x9+parseInt(_0x4a4d3d(0x1a0))/0xa*(parseInt(_0x4a4d3d(0x1a1))/0xb);if(_0x466c9f===_0x2bac73)break;else _0x438c12['push'](_0x438c12['shift']());}catch(_0x5dc572){_0x438c12['push'](_0x438c12['shift']());}}}(a174_0x2e34,0xae53c));function a174_0x2e34(){var _0x21a256=['11349027icJHPh','4840152QrgZpu','14SWgphC','cli.help','2944185zjMggG','Failed\x20to\x20report\x20CLI\x20help\x20trace:','389460NWyYxI','service','507TQgCSL','10LQKhxG','error','24604RSRbXZ','38650rtLRVO','5555jdCIPZ','16628ktuMIL'];a174_0x2e34=function(){return _0x21a256;};return a174_0x2e34();}import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export async function reportCliHelpTrace(_0xb160a7,_0x451cb6){var _0x3716d5=a174_0x3016;try{await sendCliTraceLog({'spanName':_0x3716d5(0x1a6),'logData':{'rabetbase.help.kind':_0xb160a7,..._0x451cb6?.[_0x3716d5(0x19b)]&&{'rabetbase.help.service':_0x451cb6['service']}}});}catch(_0x3a774b){console[_0x3716d5(0x19e)](_0x3716d5(0x199),_0x3a774b);}}
1
+ function a174_0xdbe6(){var _0x48cfcf=['1120306KcGJIH','service','4762536ilTaFx','155aIqTop','7eNBZll','806416DKEHIQ','error','Failed\x20to\x20report\x20CLI\x20help\x20trace:','2310uVueSX','45873rMAkkK','3000832vCSLct','2586432hnwYEY','cli.help','142698pXQWxD'];a174_0xdbe6=function(){return _0x48cfcf;};return a174_0xdbe6();}(function(_0x88bc7f,_0x18c031){var _0xcf2d7b=a174_0x7cbf,_0x8f5183=_0x88bc7f();while(!![]){try{var _0x3d9f7f=parseInt(_0xcf2d7b(0x17f))/0x1+parseInt(_0xcf2d7b(0x184))/0x2+parseInt(_0xcf2d7b(0x17c))/0x3+-parseInt(_0xcf2d7b(0x17b))/0x4+parseInt(_0xcf2d7b(0x182))/0x5*(parseInt(_0xcf2d7b(0x17e))/0x6)+-parseInt(_0xcf2d7b(0x183))/0x7*(parseInt(_0xcf2d7b(0x181))/0x8)+-parseInt(_0xcf2d7b(0x188))/0x9*(parseInt(_0xcf2d7b(0x187))/0xa);if(_0x3d9f7f===_0x18c031)break;else _0x8f5183['push'](_0x8f5183['shift']());}catch(_0x215473){_0x8f5183['push'](_0x8f5183['shift']());}}}(a174_0xdbe6,0x927bf));function a174_0x7cbf(_0x4078f2,_0x13c3c){_0x4078f2=_0x4078f2-0x17b;var _0xdbe660=a174_0xdbe6();var _0x7cbf73=_0xdbe660[_0x4078f2];return _0x7cbf73;}import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export async function reportCliHelpTrace(_0x26fdf4,_0x20fcfe){var _0x166833=a174_0x7cbf;try{await sendCliTraceLog({'spanName':_0x166833(0x17d),'logData':{'rabetbase.help.kind':_0x26fdf4,..._0x20fcfe?.[_0x166833(0x180)]&&{'rabetbase.help.service':_0x20fcfe[_0x166833(0x180)]}}});}catch(_0x2a67f7){console[_0x166833(0x185)](_0x166833(0x186),_0x2a67f7);}}
@@ -1 +1 @@
1
- (function(_0x2c8b5d,_0x39c5fe){const _0x253ee8=a175_0x2387,_0xd94dfd=_0x2c8b5d();while(!![]){try{const _0x1f12ec=-parseInt(_0x253ee8(0xb7))/0x1+parseInt(_0x253ee8(0xbf))/0x2*(parseInt(_0x253ee8(0xc6))/0x3)+-parseInt(_0x253ee8(0xc5))/0x4*(-parseInt(_0x253ee8(0xb8))/0x5)+parseInt(_0x253ee8(0xbd))/0x6+-parseInt(_0x253ee8(0xb6))/0x7+parseInt(_0x253ee8(0xc3))/0x8*(-parseInt(_0x253ee8(0xba))/0x9)+parseInt(_0x253ee8(0xb9))/0xa;if(_0x1f12ec===_0x39c5fe)break;else _0xd94dfd['push'](_0xd94dfd['shift']());}catch(_0x11fb6d){_0xd94dfd['push'](_0xd94dfd['shift']());}}}(a175_0x5d1f,0xd9e2e));import a175_0x2aed99 from'node:os';import{VERSION,GIT_COMMIT}from'../generated/build-info.js';import{getSessionUserInfo}from'../auth/get-session-user.js';import{setTraceConfig,getOtelLoggerVersion}from'@lovrabet/otel-logger';import{NPM_PACKAGE_NAME}from'../constant/cli.js';function a175_0x5d1f(){const _0x18434b=['5HmhMpk','6538280sCkMcx','9oTbCFC','production','nickname','633612LVYRwr','unknown','33842nSlgkq','username','rabetbase-cli','userInfo','1403848JrYnhN','daily','979116lDywdM','291RMbHrn','8612303FwxNVs','347274ZdDXSa'];a175_0x5d1f=function(){return _0x18434b;};return a175_0x5d1f();}function a175_0x2387(_0x510fb8,_0x327735){_0x510fb8=_0x510fb8-0xb6;const _0x5d1f29=a175_0x5d1f();let _0x2387a0=_0x5d1f29[_0x510fb8];return _0x2387a0;}let cliOtelTraceInitialized=![];export async function ensureCliOtelTraceConfig(){const _0x248c2c=a175_0x2387,_0x3404b7=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x45ebdd=_0x3404b7?.['user'];setTraceConfig({'otelLoggerVersion':getOtelLoggerVersion(),'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!==_0x248c2c(0xbe)?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?_0x248c2c(0xc4):_0x248c2c(0xbb)),'username':_0x45ebdd?.[_0x248c2c(0xc0)]??a175_0x2aed99[_0x248c2c(0xc2)]()[_0x248c2c(0xc0)]??_0x248c2c(0xc1),..._0x45ebdd&&{'nickname':_0x45ebdd[_0x248c2c(0xbc)]}}),cliOtelTraceInitialized=!![];}return _0x3404b7;}
1
+ (function(_0x327d2e,_0x259494){const _0x4d4ee9=a175_0x3b50,_0x13a0b2=_0x327d2e();while(!![]){try{const _0x12350b=-parseInt(_0x4d4ee9(0x76))/0x1+-parseInt(_0x4d4ee9(0x7b))/0x2+parseInt(_0x4d4ee9(0x80))/0x3*(-parseInt(_0x4d4ee9(0x71))/0x4)+-parseInt(_0x4d4ee9(0x7e))/0x5+-parseInt(_0x4d4ee9(0x74))/0x6*(-parseInt(_0x4d4ee9(0x6f))/0x7)+parseInt(_0x4d4ee9(0x79))/0x8*(-parseInt(_0x4d4ee9(0x70))/0x9)+-parseInt(_0x4d4ee9(0x7c))/0xa*(-parseInt(_0x4d4ee9(0x78))/0xb);if(_0x12350b===_0x259494)break;else _0x13a0b2['push'](_0x13a0b2['shift']());}catch(_0x14040a){_0x13a0b2['push'](_0x13a0b2['shift']());}}}(a175_0x414c,0xef26a));function a175_0x3b50(_0x57108e,_0x2b2027){_0x57108e=_0x57108e-0x6f;const _0x414cbf=a175_0x414c();let _0x3b50c1=_0x414cbf[_0x57108e];return _0x3b50c1;}import a175_0x5ea21b from'node:os';import{VERSION,GIT_COMMIT}from'../generated/build-info.js';import{getSessionUserInfo}from'../auth/get-session-user.js';import{setTraceConfig,getOtelLoggerVersion}from'@lovrabet/otel-logger';import{NPM_PACKAGE_NAME}from'../constant/cli.js';let cliOtelTraceInitialized=![];function a175_0x414c(){const _0x1b495c=['user','1239256FvrFum','rabetbase-cli','187847PZGkEf','28040cQXMwm','userInfo','3210944buVzaP','3770nxjqpj','daily','5369675nOAQnf','username','2612607eguMOC','700aCGVXh','3123hIjPwo','4rWTjWh','unknown','production','32838JusPCf'];a175_0x414c=function(){return _0x1b495c;};return a175_0x414c();}export async function ensureCliOtelTraceConfig(){const _0x22192b=a175_0x3b50,_0xc9197f=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0xfcd70c=_0xc9197f?.[_0x22192b(0x75)];setTraceConfig({'otelLoggerVersion':getOtelLoggerVersion(),'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!==_0x22192b(0x72)?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?_0x22192b(0x7d):_0x22192b(0x73)),'username':_0xfcd70c?.[_0x22192b(0x7f)]??a175_0x5ea21b[_0x22192b(0x7a)]()['username']??_0x22192b(0x77),..._0xfcd70c&&{'nickname':_0xfcd70c['nickname']}}),cliOtelTraceInitialized=!![];}return _0xc9197f;}
@@ -1 +1 @@
1
- (function(_0x2b8d1a,_0x18f412){const _0x13e536=a176_0x5888,_0xa4f57c=_0x2b8d1a();while(!![]){try{const _0x39f594=-parseInt(_0x13e536(0x9a))/0x1*(-parseInt(_0x13e536(0x9d))/0x2)+parseInt(_0x13e536(0x9c))/0x3*(-parseInt(_0x13e536(0x9e))/0x4)+parseInt(_0x13e536(0xa7))/0x5+parseInt(_0x13e536(0xa1))/0x6+-parseInt(_0x13e536(0xa4))/0x7+-parseInt(_0x13e536(0x9b))/0x8+parseInt(_0x13e536(0xa2))/0x9;if(_0x39f594===_0x18f412)break;else _0xa4f57c['push'](_0xa4f57c['shift']());}catch(_0x386303){_0xa4f57c['push'](_0xa4f57c['shift']());}}}(a176_0x14fb,0x3858f));import{shutdownTraces}from'@lovrabet/otel-logger';let shutdownPromise=null;function a176_0x5888(_0x42b362,_0xf3134d){_0x42b362=_0x42b362-0x9a;const _0x14fb9a=a176_0x14fb();let _0x58883c=_0x14fb9a[_0x42b362];return _0x58883c;}export async function flushOtelNodeIfUsed(){if(shutdownPromise)return shutdownPromise;return shutdownPromise=((async()=>{try{await shutdownTraces();}catch{}})()),shutdownPromise;}function a176_0x14fb(){const _0x255bd7=['4hoRnUD','842464ZMixpl','147804ImJleh','27646BTpIsX','20dVtTgA','SIGTERM','beforeExit','2443878QdbBAM','4065948MjAfLu','SIGINT','2829757OHsxPX','once','then','361605MZlDLx'];a176_0x14fb=function(){return _0x255bd7;};return a176_0x14fb();}export function registerOtelShutdownOnExit(){const _0x3670d7=a176_0x5888;process[_0x3670d7(0xa5)](_0x3670d7(0xa0),()=>{void flushOtelNodeIfUsed();});const _0x1094bd=()=>{const _0x2cae19=_0x3670d7;void flushOtelNodeIfUsed()[_0x2cae19(0xa6)](()=>process['exit'](0x0));};process[_0x3670d7(0xa5)](_0x3670d7(0xa3),_0x1094bd),process[_0x3670d7(0xa5)](_0x3670d7(0x9f),_0x1094bd);}export async function exitWithOtelShutdown(_0x5502f5){await flushOtelNodeIfUsed(),process['exit'](_0x5502f5);}
1
+ (function(_0x554523,_0x1a3bbf){const _0x1033e6=a176_0x3ee0,_0x39148f=_0x554523();while(!![]){try{const _0x5b4ac3=parseInt(_0x1033e6(0x182))/0x1+-parseInt(_0x1033e6(0x183))/0x2+-parseInt(_0x1033e6(0x186))/0x3*(-parseInt(_0x1033e6(0x181))/0x4)+-parseInt(_0x1033e6(0x184))/0x5+-parseInt(_0x1033e6(0x185))/0x6+-parseInt(_0x1033e6(0x187))/0x7+parseInt(_0x1033e6(0x180))/0x8;if(_0x5b4ac3===_0x1a3bbf)break;else _0x39148f['push'](_0x39148f['shift']());}catch(_0x1bd8b2){_0x39148f['push'](_0x39148f['shift']());}}}(a176_0xfddc,0x63944));import{shutdownTraces}from'@lovrabet/otel-logger';function a176_0xfddc(){const _0x3607fd=['2601705FVeHak','4683174lBcgWI','3jYuBJm','4890963AyRwag','once','SIGTERM','beforeExit','then','14152728uypgep','2317476gceAJB','603103oCKmFO','1088216IxYxBg'];a176_0xfddc=function(){return _0x3607fd;};return a176_0xfddc();}function a176_0x3ee0(_0x56ff9f,_0x5f4af2){_0x56ff9f=_0x56ff9f-0x180;const _0xfddcd6=a176_0xfddc();let _0x3ee0be=_0xfddcd6[_0x56ff9f];return _0x3ee0be;}let shutdownPromise=null;export async function flushOtelNodeIfUsed(){if(shutdownPromise)return shutdownPromise;return shutdownPromise=((async()=>{try{await shutdownTraces();}catch{}})()),shutdownPromise;}export function registerOtelShutdownOnExit(){const _0x2fda2b=a176_0x3ee0;process['once'](_0x2fda2b(0x18a),()=>{void flushOtelNodeIfUsed();});const _0x34c9fc=()=>{const _0x4a36c0=_0x2fda2b;void flushOtelNodeIfUsed()[_0x4a36c0(0x18b)](()=>process['exit'](0x0));};process[_0x2fda2b(0x188)]('SIGINT',_0x34c9fc),process[_0x2fda2b(0x188)](_0x2fda2b(0x189),_0x34c9fc);}export async function exitWithOtelShutdown(_0x1e2d3d){await flushOtelNodeIfUsed(),process['exit'](_0x1e2d3d);}
@@ -1 +1 @@
1
- const a177_0xccbdbc=a177_0x5b6d;(function(_0x5e88a4,_0x2cba38){const _0x557622=a177_0x5b6d,_0x1bbb43=_0x5e88a4();while(!![]){try{const _0x206d12=parseInt(_0x557622(0x1a9))/0x1+parseInt(_0x557622(0x1a7))/0x2+-parseInt(_0x557622(0x1a6))/0x3+parseInt(_0x557622(0x1a8))/0x4*(-parseInt(_0x557622(0x1a4))/0x5)+-parseInt(_0x557622(0x1a0))/0x6+-parseInt(_0x557622(0x19f))/0x7+-parseInt(_0x557622(0x1a5))/0x8*(-parseInt(_0x557622(0x1ac))/0x9);if(_0x206d12===_0x2cba38)break;else _0x1bbb43['push'](_0x1bbb43['shift']());}catch(_0x299302){_0x1bbb43['push'](_0x1bbb43['shift']());}}}(a177_0x3be9,0xef5db));function a177_0x3be9(){const _0x5b7ab1=['traceName','logData','7484553wbxEaM','5218297rKSBom','11642436hHdAFV','traceparent','rabetbase-cli','version','5jxjBRf','40nFUDsZ','511158vuWmKH','757042zVsPQb','4201332tWNfZk','350433aICmrv'];a177_0x3be9=function(){return _0x5b7ab1;};return a177_0x3be9();}import{sendTraceLog}from'@lovrabet/otel-logger';function a177_0x5b6d(_0x457bbd,_0x218f1c){_0x457bbd=_0x457bbd-0x19f;const _0x3be965=a177_0x3be9();let _0x5b6d75=_0x3be965[_0x457bbd];return _0x5b6d75;}import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';import{getCliVersion}from'../utils/version.js';const DEFAULT_TRACE_NAME=a177_0xccbdbc(0x1a2);export async function sendCliTraceLog(_0xf1d429){const _0x18e676=a177_0xccbdbc;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0xf1d429[_0x18e676(0x1aa)]??DEFAULT_TRACE_NAME,'version':_0xf1d429[_0x18e676(0x1a3)]??getCliVersion(),'spanName':_0xf1d429['spanName'],'eventType':'manual','logData':_0xf1d429[_0x18e676(0x1ab)],..._0xf1d429[_0x18e676(0x1a1)]&&{'traceparent':_0xf1d429['traceparent']}});}
1
+ function a177_0x3696(_0x2be72a,_0x43eb7f){_0x2be72a=_0x2be72a-0x115;const _0x16e20a=a177_0x16e2();let _0x36962d=_0x16e20a[_0x2be72a];return _0x36962d;}const a177_0x295c55=a177_0x3696;(function(_0x2a7245,_0x565da1){const _0x186222=a177_0x3696,_0x3dc52c=_0x2a7245();while(!![]){try{const _0x40d73c=parseInt(_0x186222(0x120))/0x1+parseInt(_0x186222(0x115))/0x2*(-parseInt(_0x186222(0x11d))/0x3)+parseInt(_0x186222(0x116))/0x4+-parseInt(_0x186222(0x118))/0x5*(parseInt(_0x186222(0x11e))/0x6)+-parseInt(_0x186222(0x11a))/0x7*(parseInt(_0x186222(0x11c))/0x8)+parseInt(_0x186222(0x117))/0x9+parseInt(_0x186222(0x119))/0xa;if(_0x40d73c===_0x565da1)break;else _0x3dc52c['push'](_0x3dc52c['shift']());}catch(_0x31e89a){_0x3dc52c['push'](_0x3dc52c['shift']());}}}(a177_0x16e2,0x998f4));import{sendTraceLog}from'@lovrabet/otel-logger';function a177_0x16e2(){const _0x32bd64=['11743310rEraPe','110733AtwPkT','rabetbase-cli','320nwVDSq','201ULULrV','5993172xLqDFr','manual','207358fdSgzr','version','logData','traceparent','34252jrUCwg','3094812IBftaF','11273868eQPYcP','5sUzHGT'];a177_0x16e2=function(){return _0x32bd64;};return a177_0x16e2();}import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';import{getCliVersion}from'../utils/version.js';const DEFAULT_TRACE_NAME=a177_0x295c55(0x11b);export async function sendCliTraceLog(_0x4af5a2){const _0x3548f1=a177_0x295c55;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x4af5a2['traceName']??DEFAULT_TRACE_NAME,'version':_0x4af5a2[_0x3548f1(0x121)]??getCliVersion(),'spanName':_0x4af5a2['spanName'],'eventType':_0x3548f1(0x11f),'logData':_0x4af5a2[_0x3548f1(0x122)],..._0x4af5a2[_0x3548f1(0x123)]&&{'traceparent':_0x4af5a2[_0x3548f1(0x123)]}});}
@@ -1 +1 @@
1
- const a178_0x5def2b=a178_0x5d7c;(function(_0x4f0314,_0x22e2c4){const _0x5d6951=a178_0x5d7c,_0x4a934c=_0x4f0314();while(!![]){try{const _0x1cad61=parseInt(_0x5d6951(0x191))/0x1*(parseInt(_0x5d6951(0x197))/0x2)+-parseInt(_0x5d6951(0x195))/0x3*(-parseInt(_0x5d6951(0x18e))/0x4)+parseInt(_0x5d6951(0x196))/0x5*(-parseInt(_0x5d6951(0x19b))/0x6)+parseInt(_0x5d6951(0x18f))/0x7+-parseInt(_0x5d6951(0x193))/0x8*(parseInt(_0x5d6951(0x192))/0x9)+parseInt(_0x5d6951(0x199))/0xa+-parseInt(_0x5d6951(0x194))/0xb;if(_0x1cad61===_0x22e2c4)break;else _0x4a934c['push'](_0x4a934c['shift']());}catch(_0x445f37){_0x4a934c['push'](_0x4a934c['shift']());}}}(a178_0x405d,0x74283));function a178_0x405d(){const _0x434c16=['260VoDONz','4818373wXqwdM','title','3508lBFODB','18cMhzel','1551896ehtctL','5094804xrcqtj','33807cTJYCv','170fYFDni','4ltXzWT','platform-issue-log-collect','2590350HCXEGz','issue.log.collect','63522KxmjvZ','description'];a178_0x405d=function(){return _0x434c16;};return a178_0x405d();}function a178_0x5d7c(_0x2bea17,_0x1f22e4){_0x2bea17=_0x2bea17-0x18e;const _0x405d75=a178_0x405d();let _0x5d7cee=_0x405d75[_0x2bea17];return _0x5d7cee;}import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export const PLATFORM_ISSUE_TRACE_NAME=a178_0x5def2b(0x198);export const PLATFORM_ISSUE_SPAN_NAME=a178_0x5def2b(0x19a);export async function sendPlatformIssueCollectLog(_0xa510ef){const _0x9e510f=a178_0x5def2b;await sendCliTraceLog({'traceName':PLATFORM_ISSUE_TRACE_NAME,'spanName':PLATFORM_ISSUE_SPAN_NAME,'logData':{'issue.title':_0xa510ef[_0x9e510f(0x190)],'issue.description':_0xa510ef[_0x9e510f(0x19c)]}});}
1
+ const a178_0x72880c=a178_0x1555;(function(_0x418955,_0x4347b3){const _0x29c9fa=a178_0x1555,_0xac46de=_0x418955();while(!![]){try{const _0x182c37=parseInt(_0x29c9fa(0xde))/0x1*(parseInt(_0x29c9fa(0xd9))/0x2)+parseInt(_0x29c9fa(0xe5))/0x3*(-parseInt(_0x29c9fa(0xe7))/0x4)+parseInt(_0x29c9fa(0xda))/0x5*(-parseInt(_0x29c9fa(0xe1))/0x6)+parseInt(_0x29c9fa(0xdd))/0x7+parseInt(_0x29c9fa(0xe8))/0x8*(parseInt(_0x29c9fa(0xe3))/0x9)+parseInt(_0x29c9fa(0xdf))/0xa*(parseInt(_0x29c9fa(0xe0))/0xb)+-parseInt(_0x29c9fa(0xdb))/0xc;if(_0x182c37===_0x4347b3)break;else _0xac46de['push'](_0xac46de['shift']());}catch(_0x46b442){_0xac46de['push'](_0xac46de['shift']());}}}(a178_0x4a78,0xea452));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export const PLATFORM_ISSUE_TRACE_NAME=a178_0x72880c(0xe4);function a178_0x4a78(){const _0x2ec9d1=['900567xDMFPw','platform-issue-log-collect','39FOuMOR','description','202180nOyBLV','152iAHQcL','3102JaQeNv','90HZjrPQ','6296748WIFdfd','issue.log.collect','1264389eAozzy','583rZsgfG','130XnKfRO','22187bsYnts','290298ietAiz','title'];a178_0x4a78=function(){return _0x2ec9d1;};return a178_0x4a78();}function a178_0x1555(_0x554dc7,_0x1a3484){_0x554dc7=_0x554dc7-0xd9;const _0x4a789f=a178_0x4a78();let _0x1555bd=_0x4a789f[_0x554dc7];return _0x1555bd;}export const PLATFORM_ISSUE_SPAN_NAME=a178_0x72880c(0xdc);export async function sendPlatformIssueCollectLog(_0x269f07){const _0x512527=a178_0x72880c;await sendCliTraceLog({'traceName':PLATFORM_ISSUE_TRACE_NAME,'spanName':PLATFORM_ISSUE_SPAN_NAME,'logData':{'issue.title':_0x269f07[_0x512527(0xe2)],'issue.description':_0x269f07[_0x512527(0xe6)]}});}