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

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 (187) 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 -0
  28. package/lib/commands/bff/delete.js +1 -1
  29. package/lib/commands/bff/detail.js +1 -1
  30. package/lib/commands/bff/index.js +1 -1
  31. package/lib/commands/bff/list.js +1 -1
  32. package/lib/commands/bff/pull.js +1 -1
  33. package/lib/commands/bff/push.js +1 -1
  34. package/lib/commands/bff/status.js +1 -1
  35. package/lib/commands/cli-update.js +1 -1
  36. package/lib/commands/codegen/index.js +1 -1
  37. package/lib/commands/codegen/sdk.js +1 -1
  38. package/lib/commands/codegen/sql.js +1 -1
  39. package/lib/commands/common/app-selector.js +1 -1
  40. package/lib/commands/common/flags.js +1 -1
  41. package/lib/commands/common/validate.js +1 -1
  42. package/lib/commands/config/get.js +1 -1
  43. package/lib/commands/config/index.js +1 -1
  44. package/lib/commands/config/list.js +1 -1
  45. package/lib/commands/config/set.js +1 -1
  46. package/lib/commands/config/shared.js +1 -1
  47. package/lib/commands/dataset/detail.js +1 -1
  48. package/lib/commands/dataset/index.js +1 -1
  49. package/lib/commands/dataset/links.js +1 -1
  50. package/lib/commands/dataset/list.js +1 -1
  51. package/lib/commands/dataset/operations.js +1 -1
  52. package/lib/commands/db/analyze-cancel.js +1 -1
  53. package/lib/commands/db/analyze-start.js +1 -1
  54. package/lib/commands/db/analyze-status.js +1 -1
  55. package/lib/commands/db/create.js +1 -1
  56. package/lib/commands/db/delete.js +1 -1
  57. package/lib/commands/db/detail.js +1 -1
  58. package/lib/commands/db/diff.js +1 -1
  59. package/lib/commands/db/index.js +1 -1
  60. package/lib/commands/db/list.js +1 -1
  61. package/lib/commands/db/shared.js +1 -1
  62. package/lib/commands/db/tables.js +1 -1
  63. package/lib/commands/db/test.js +1 -1
  64. package/lib/commands/db/update.js +1 -1
  65. package/lib/commands/doctor.js +1 -1
  66. package/lib/commands/init/index.js +1 -1
  67. package/lib/commands/logs/index.js +1 -1
  68. package/lib/commands/menu/index.js +1 -1
  69. package/lib/commands/menu/shared/compare-table.js +1 -1
  70. package/lib/commands/menu/shared/index.js +1 -1
  71. package/lib/commands/menu/shared/inquirer.js +1 -1
  72. package/lib/commands/menu/shared/local-pages.js +1 -1
  73. package/lib/commands/menu/shared/logic.js +1 -1
  74. package/lib/commands/menu/shared/service.js +1 -1
  75. package/lib/commands/menu/shared/sync-core.js +1 -1
  76. package/lib/commands/menu/shared/update-core.js +1 -1
  77. package/lib/commands/menu/shared/valid-url.js +1 -1
  78. package/lib/commands/menu/sync.js +1 -1
  79. package/lib/commands/menu/update.js +1 -1
  80. package/lib/commands/page/generate-start.js +1 -0
  81. package/lib/commands/page/generate-status.js +1 -0
  82. package/lib/commands/page/index.js +1 -0
  83. package/lib/commands/page/pull.js +1 -0
  84. package/lib/commands/page/push.js +1 -0
  85. package/lib/commands/page/shared.js +1 -0
  86. package/lib/commands/page/standard-page-status.js +1 -0
  87. package/lib/commands/page/sync.js +1 -0
  88. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  89. package/lib/commands/project/create/format-elapsed.js +1 -1
  90. package/lib/commands/project/create/main.js +1 -1
  91. package/lib/commands/project/create/non-interactive.js +1 -1
  92. package/lib/commands/project/create/project-template-path.js +1 -1
  93. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  94. package/lib/commands/project/create/use-format-code.js +1 -1
  95. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  96. package/lib/commands/project/index.js +1 -1
  97. package/lib/commands/project/init.js +1 -1
  98. package/lib/commands/project/upgrade.js +1 -1
  99. package/lib/commands/registry.js +1 -1
  100. package/lib/commands/run/index.js +1 -1
  101. package/lib/commands/schema.js +1 -1
  102. package/lib/commands/skill/index.js +1 -1
  103. package/lib/commands/sql/create.js +1 -0
  104. package/lib/commands/sql/delete.js +1 -0
  105. package/lib/commands/sql/detail.js +1 -1
  106. package/lib/commands/sql/exec.js +1 -1
  107. package/lib/commands/sql/index.js +1 -1
  108. package/lib/commands/sql/list.js +1 -1
  109. package/lib/commands/sql/pull.js +1 -1
  110. package/lib/commands/sql/push.js +1 -0
  111. package/lib/commands/sql/save.js +1 -1
  112. package/lib/commands/sql/shared.js +1 -1
  113. package/lib/commands/sql/status.js +1 -0
  114. package/lib/commands/sql/validate.js +1 -1
  115. package/lib/config/schema.js +1 -1
  116. package/lib/constant/cdn.js +1 -0
  117. package/lib/constant/cli.js +1 -1
  118. package/lib/constant/defaults.js +1 -1
  119. package/lib/constant/domain.js +1 -1
  120. package/lib/constant/env.js +1 -1
  121. package/lib/constant/output.js +1 -1
  122. package/lib/constant/paths.js +1 -1
  123. package/lib/constant/risk.js +1 -1
  124. package/lib/context.js +1 -1
  125. package/lib/core/alias-resolver.js +1 -1
  126. package/lib/core/api-client.js +1 -1
  127. package/lib/core/bff/config.js +1 -1
  128. package/lib/core/bff/file-system.js +1 -1
  129. package/lib/core/bff/hash.js +1 -1
  130. package/lib/core/bff/lock.js +1 -1
  131. package/lib/core/bff/utils.js +1 -1
  132. package/lib/core/db-resolver.js +1 -1
  133. package/lib/core/page/file-system.js +1 -0
  134. package/lib/core/page/hash.js +1 -0
  135. package/lib/core/page/lock.js +1 -0
  136. package/lib/core/page/types.js +1 -0
  137. package/lib/core/sql-sync/config.js +1 -0
  138. package/lib/core/sql-sync/file-system.js +1 -0
  139. package/lib/core/sql-sync/hash.js +1 -0
  140. package/lib/core/sql-sync/lock.js +1 -0
  141. package/lib/core/sql-sync/types.js +1 -0
  142. package/lib/core/sql-sync/utils.js +1 -0
  143. package/lib/core/sql-validator.js +1 -1
  144. package/lib/errors.js +1 -1
  145. package/lib/framework/build-all-flags.js +1 -1
  146. package/lib/framework/flags.js +1 -1
  147. package/lib/framework/help.js +1 -1
  148. package/lib/framework/index.js +1 -1
  149. package/lib/framework/output.js +1 -1
  150. package/lib/framework/response.js +1 -1
  151. package/lib/framework/runner-alias.js +1 -1
  152. package/lib/framework/runner.js +1 -1
  153. package/lib/framework/schema-export.js +1 -1
  154. package/lib/framework/types.js +1 -1
  155. package/lib/generated/build-info.js +1 -1
  156. package/lib/help.js +1 -1
  157. package/lib/skills/main.js +1 -1
  158. package/lib/skills/npx-skills-add.js +1 -1
  159. package/lib/telemetry/cli-command-trace.js +1 -1
  160. package/lib/telemetry/cli-help-trace.js +1 -1
  161. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  162. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  163. package/lib/telemetry/send-cli-trace-log.js +1 -1
  164. package/lib/utils/ai_config.js +1 -1
  165. package/lib/utils/apply-jq-filter.js +1 -1
  166. package/lib/utils/cdn-config.js +1 -1
  167. package/lib/utils/check-sdk-version.js +1 -1
  168. package/lib/utils/cli-version-check.js +1 -1
  169. package/lib/utils/cli-version-policy.js +1 -0
  170. package/lib/utils/config.js +1 -1
  171. package/lib/utils/copy-directory.js +1 -1
  172. package/lib/utils/entity-with-id.js +1 -1
  173. package/lib/utils/file-utils.js +1 -1
  174. package/lib/utils/guides-cdn.js +1 -1
  175. package/lib/utils/http-client.js +1 -1
  176. package/lib/utils/is-non-interactive.js +1 -1
  177. package/lib/utils/logger.js +1 -1
  178. package/lib/utils/platform.js +1 -1
  179. package/lib/utils/rules-cdn.js +1 -1
  180. package/lib/utils/sleep.js +1 -1
  181. package/lib/utils/template-replacer.js +1 -1
  182. package/lib/utils/version.js +1 -1
  183. package/lib/utils/with-active-cookie.js +1 -1
  184. package/lib/utils/write-cli-side-channel.js +1 -1
  185. package/package.json +3 -2
  186. package/templates/skill/SKILL.md.tpl +1 -1
  187. package/lib/commands/bff/new.js +0 -1
@@ -1 +1 @@
1
- function a156_0x384c(_0x347b55,_0x120c6e){_0x347b55=_0x347b55-0x9d;const _0x4d08ff=a156_0x4d08();let _0x384cdd=_0x4d08ff[_0x347b55];return _0x384cdd;}(function(_0x17bec4,_0x57c697){const _0xb3155c=a156_0x384c,_0x575551=_0x17bec4();while(!![]){try{const _0x4b008d=-parseInt(_0xb3155c(0xb0))/0x1+-parseInt(_0xb3155c(0xae))/0x2*(-parseInt(_0xb3155c(0xa1))/0x3)+parseInt(_0xb3155c(0xbc))/0x4*(-parseInt(_0xb3155c(0xa8))/0x5)+-parseInt(_0xb3155c(0xbd))/0x6*(parseInt(_0xb3155c(0xa5))/0x7)+-parseInt(_0xb3155c(0xa4))/0x8+-parseInt(_0xb3155c(0xc2))/0x9*(-parseInt(_0xb3155c(0xaa))/0xa)+parseInt(_0xb3155c(0xbe))/0xb*(-parseInt(_0xb3155c(0xbf))/0xc);if(_0x4b008d===_0x57c697)break;else _0x575551['push'](_0x575551['shift']());}catch(_0x3f2b53){_0x575551['push'](_0x575551['shift']());}}}(a156_0x4d08,0x7d2bb));function a156_0x4d08(){const _0x3fd58f=['isDangerous','288juUNxi','add','from','DDL','match','push','3FRLnRH','length','join','2105424CuwUly','2096549iskCKn','includes','unknown\x20table(s)','288485hRSGTh','DELETE','223160gevFbl','SQL\x20content\x20is\x20empty','Unable\x20to\x20detect\x20SQL\x20type.\x20Please\x20check\x20the\x20SQL\x20content.','trim','1990100BBkoPO','UNKNOWN','350987sXNfXM','INSERT','type','DELETE\x20statements\x20are\x20blocked\x20from\x20auto-save','WITH','test','\x20with\x20parameters:\x20','startsWith','SELECT','\x20statements\x20cannot\x20be\x20auto-saved.\x20Please\x20operate\x20manually\x20on\x20the\x20platform.','replace','\x20query\x20targeting\x20','4hndDzQ','6UYMiwb','2476034LFkjmA','12fxduXb','matchAll'];a156_0x4d08=function(){return _0x3fd58f;};return a156_0x4d08();}export function detectSqlType(_0x1d9d75){const _0x510aad=a156_0x384c;if(!_0x1d9d75?.['trim']())return{'type':'UNKNOWN','isSelectOnly':![],'isDangerous':![],'reason':_0x510aad(0xab)};const _0x3cb7e6=_0x1d9d75[_0x510aad(0xba)](/#\{[^}]*\}/g,'?')[_0x510aad(0xba)](/\$\{[^}]*\}/g,'?')[_0x510aad(0xba)](/@[^(\s]+(\([^)]*\))?/g,'')[_0x510aad(0xba)](/\/\*[\s\S]*?\*\//g,'')[_0x510aad(0xad)](),_0x2cd698=_0x3cb7e6['split']('\x0a');let _0xe7b2a2='';for(const _0x5ac07f of _0x2cd698){const _0x16ec6a=_0x5ac07f[_0x510aad(0xad)]();if(!_0x16ec6a||_0x16ec6a[_0x510aad(0xb7)]('--')||_0x16ec6a[_0x510aad(0xb7)]('/*'))continue;_0xe7b2a2=_0x16ec6a;break;}const _0x46620f=_0xe7b2a2['toUpperCase']();if(_0x46620f['startsWith'](_0x510aad(0xb8))||_0x46620f[_0x510aad(0xb7)](_0x510aad(0xb4))){const _0x539a6f=/\b(INSERT|UPDATE|DELETE|DROP|ALTER|CREATE|TRUNCATE)\b/i[_0x510aad(0xb5)](_0x3cb7e6);return{'type':_0x510aad(0xb8),'isSelectOnly':!_0x539a6f,'isDangerous':_0x539a6f,'reason':_0x539a6f?'SQL\x20contains\x20modification\x20statements\x20alongside\x20SELECT':undefined};}if(_0x46620f[_0x510aad(0xb7)](_0x510aad(0xb1)))return{'type':_0x510aad(0xb1),'isSelectOnly':![],'isDangerous':![]};if(_0x46620f[_0x510aad(0xb7)]('UPDATE'))return{'type':'UPDATE','isSelectOnly':![],'isDangerous':![]};if(_0x46620f[_0x510aad(0xb7)](_0x510aad(0xa9)))return{'type':_0x510aad(0xa9),'isSelectOnly':![],'isDangerous':!![],'reason':_0x510aad(0xb3)};if(/^(CREATE|ALTER|DROP|TRUNCATE)/i[_0x510aad(0xb5)](_0x46620f))return{'type':_0x510aad(0x9e),'isSelectOnly':![],'isDangerous':!![],'reason':'DDL\x20statements\x20are\x20blocked\x20from\x20auto-save'};return{'type':_0x510aad(0xaf),'isSelectOnly':![],'isDangerous':![]};}function extractTables(_0x41e68f){const _0x989898=a156_0x384c,_0x2dc704=_0x41e68f['replace'](/#\{[^}]*\}/g,'?')[_0x989898(0xba)](/\$\{[^}]*\}/g,'?')['replace'](/'[^']*'/g,'\x27\x27')['replace'](/--.*$/gm,'')[_0x989898(0xba)](/\/\*[\s\S]*?\*\//g,''),_0x34ac81=[],_0x24d72d=_0x2dc704[_0x989898(0x9f)](/FROM\s+([^\s,)(]+)/i);if(_0x24d72d?.[0x1])_0x34ac81[_0x989898(0xa0)](_0x24d72d[0x1]['replace'](/[`"]/g,''));for(const _0x41830d of _0x2dc704[_0x989898(0xc0)](/(?:INNER|LEFT|RIGHT|FULL|CROSS)?\s*JOIN\s+([^\s,)(]+)/gi)){const _0x48ef63=_0x41830d[0x1]?.[_0x989898(0xba)](/[`"]/g,'');if(_0x48ef63&&!_0x34ac81['includes'](_0x48ef63))_0x34ac81[_0x989898(0xa0)](_0x48ef63);}const _0x5a4122=_0x2dc704[_0x989898(0x9f)](/INTO\s+([^\s(]+)/i);if(_0x5a4122?.[0x1]){const _0x3a39ea=_0x5a4122[0x1][_0x989898(0xba)](/[`"]/g,'');if(!_0x34ac81[_0x989898(0xa6)](_0x3a39ea))_0x34ac81[_0x989898(0xa0)](_0x3a39ea);}const _0xa43b53=_0x2dc704['match'](/UPDATE\s+([^\s,)(]+)/i);if(_0xa43b53?.[0x1]){const _0x27822a=_0xa43b53[0x1][_0x989898(0xba)](/[`"]/g,'');if(!_0x34ac81['includes'](_0x27822a))_0x34ac81[_0x989898(0xa0)](_0x27822a);}return _0x34ac81;}function extractParameters(_0x1eeb2a){const _0x810589=a156_0x384c,_0x13c6aa=new Set();for(const _0x3987f7 of _0x1eeb2a[_0x810589(0xc0)](/#\{(\w+)\}/g))if(_0x3987f7[0x1])_0x13c6aa[_0x810589(0xc3)](_0x3987f7[0x1]);for(const _0x2604bf of _0x1eeb2a[_0x810589(0xc0)](/\$\{(\w+)\}/g))if(_0x2604bf[0x1])_0x13c6aa[_0x810589(0xc3)](_0x2604bf[0x1]);return Array[_0x810589(0x9d)](_0x13c6aa);}export function validateSql(_0x244f6f){const _0x3d01a4=a156_0x384c,_0x1f0482=detectSqlType(_0x244f6f),_0xf40678=extractTables(_0x244f6f),_0x13267d=extractParameters(_0x244f6f);if(_0x1f0482[_0x3d01a4(0xc1)])return{'valid':![],'sqlType':_0x1f0482,'tables':_0xf40678,'parameters':_0x13267d,'message':_0x1f0482['reason']||_0x1f0482[_0x3d01a4(0xb2)]+_0x3d01a4(0xb9)};if(_0x1f0482['type']===_0x3d01a4(0xaf))return{'valid':![],'sqlType':_0x1f0482,'tables':_0xf40678,'parameters':_0x13267d,'message':_0x3d01a4(0xac)};return{'valid':!![],'sqlType':_0x1f0482,'tables':_0xf40678,'parameters':_0x13267d,'message':_0x1f0482[_0x3d01a4(0xb2)]+_0x3d01a4(0xbb)+(_0xf40678['length']?_0xf40678[_0x3d01a4(0xa3)](',\x20'):_0x3d01a4(0xa7))+(_0x13267d[_0x3d01a4(0xa2)]?_0x3d01a4(0xb6)+_0x13267d[_0x3d01a4(0xa3)](',\x20'):'')};}
1
+ (function(_0x2fbc18,_0x4dca97){const _0x4c23ce=a144_0x51d9,_0x37f746=_0x2fbc18();while(!![]){try{const _0x41e386=parseInt(_0x4c23ce(0x184))/0x1+-parseInt(_0x4c23ce(0x16b))/0x2*(parseInt(_0x4c23ce(0x17c))/0x3)+-parseInt(_0x4c23ce(0x167))/0x4+-parseInt(_0x4c23ce(0x165))/0x5*(-parseInt(_0x4c23ce(0x18a))/0x6)+-parseInt(_0x4c23ce(0x187))/0x7+-parseInt(_0x4c23ce(0x177))/0x8*(parseInt(_0x4c23ce(0x179))/0x9)+parseInt(_0x4c23ce(0x183))/0xa*(parseInt(_0x4c23ce(0x16d))/0xb);if(_0x41e386===_0x4dca97)break;else _0x37f746['push'](_0x37f746['shift']());}catch(_0x14119b){_0x37f746['push'](_0x37f746['shift']());}}}(a144_0x5ba2,0x9aa22));export function detectSqlType(_0x415d01){const _0x576d7c=a144_0x51d9;if(!_0x415d01?.[_0x576d7c(0x164)]())return{'type':'UNKNOWN','isSelectOnly':![],'isDangerous':![],'reason':_0x576d7c(0x181)};const _0x37113d=_0x415d01[_0x576d7c(0x186)](/#\{[^}]*\}/g,'?')['replace'](/\$\{[^}]*\}/g,'?')[_0x576d7c(0x186)](/@[^(\s]+(\([^)]*\))?/g,'')[_0x576d7c(0x186)](/\/\*[\s\S]*?\*\//g,'')[_0x576d7c(0x164)](),_0x10f049=_0x37113d[_0x576d7c(0x174)]('\x0a');let _0x58d994='';for(const _0x1bcce8 of _0x10f049){const _0x406bee=_0x1bcce8[_0x576d7c(0x164)]();if(!_0x406bee||_0x406bee[_0x576d7c(0x169)]('--')||_0x406bee[_0x576d7c(0x169)]('/*'))continue;_0x58d994=_0x406bee;break;}const _0x403f6a=_0x58d994[_0x576d7c(0x182)]();if(_0x403f6a[_0x576d7c(0x169)]('SELECT')||_0x403f6a['startsWith'](_0x576d7c(0x173))){const _0x217f57=/\b(INSERT|UPDATE|DELETE|DROP|ALTER|CREATE|TRUNCATE)\b/i[_0x576d7c(0x16c)](_0x37113d);return{'type':_0x576d7c(0x18b),'isSelectOnly':!_0x217f57,'isDangerous':_0x217f57,'reason':_0x217f57?_0x576d7c(0x16e):undefined};}if(_0x403f6a[_0x576d7c(0x169)](_0x576d7c(0x16f)))return{'type':_0x576d7c(0x16f),'isSelectOnly':![],'isDangerous':![]};if(_0x403f6a[_0x576d7c(0x169)]('UPDATE'))return{'type':_0x576d7c(0x168),'isSelectOnly':![],'isDangerous':![]};if(_0x403f6a[_0x576d7c(0x169)]('DELETE'))return{'type':_0x576d7c(0x171),'isSelectOnly':![],'isDangerous':!![],'reason':_0x576d7c(0x175)};if(/^(CREATE|ALTER|DROP|TRUNCATE)/i[_0x576d7c(0x16c)](_0x403f6a))return{'type':_0x576d7c(0x18c),'isSelectOnly':![],'isDangerous':!![],'reason':_0x576d7c(0x189)};return{'type':_0x576d7c(0x163),'isSelectOnly':![],'isDangerous':![]};}function a144_0x5ba2(){const _0x36480a=['1035512gQSWaf','test','209WbQDCd','SQL\x20contains\x20modification\x20statements\x20alongside\x20SELECT','INSERT','matchAll','DELETE','push','WITH','split','DELETE\x20statements\x20are\x20blocked\x20from\x20auto-save','add','32SSSMoA','unknown\x20table(s)','2492037BrshYF','\x20query\x20targeting\x20','match','3PEKBxk','length','isDangerous','\x20statements\x20cannot\x20be\x20auto-saved.\x20Please\x20operate\x20manually\x20on\x20the\x20platform.','includes','SQL\x20content\x20is\x20empty','toUpperCase','765910MZahxQ','898754qZofEQ','type','replace','5388866aTQhwo','from','DDL\x20statements\x20are\x20blocked\x20from\x20auto-save','18KCqlwL','SELECT','DDL','join','UNKNOWN','trim','2023815WSxovP','Unable\x20to\x20detect\x20SQL\x20type.\x20Please\x20check\x20the\x20SQL\x20content.','2158912LefTgZ','UPDATE','startsWith','\x20with\x20parameters:\x20'];a144_0x5ba2=function(){return _0x36480a;};return a144_0x5ba2();}function extractTables(_0x289299){const _0x513377=a144_0x51d9,_0x439221=_0x289299[_0x513377(0x186)](/#\{[^}]*\}/g,'?')[_0x513377(0x186)](/\$\{[^}]*\}/g,'?')[_0x513377(0x186)](/'[^']*'/g,'\x27\x27')[_0x513377(0x186)](/--.*$/gm,'')[_0x513377(0x186)](/\/\*[\s\S]*?\*\//g,''),_0x4e3c56=[],_0x42b7be=_0x439221[_0x513377(0x17b)](/FROM\s+([^\s,)(]+)/i);if(_0x42b7be?.[0x1])_0x4e3c56[_0x513377(0x172)](_0x42b7be[0x1][_0x513377(0x186)](/[`"]/g,''));for(const _0x417367 of _0x439221[_0x513377(0x170)](/(?:INNER|LEFT|RIGHT|FULL|CROSS)?\s*JOIN\s+([^\s,)(]+)/gi)){const _0x1248a5=_0x417367[0x1]?.['replace'](/[`"]/g,'');if(_0x1248a5&&!_0x4e3c56['includes'](_0x1248a5))_0x4e3c56[_0x513377(0x172)](_0x1248a5);}const _0x2fc6c0=_0x439221[_0x513377(0x17b)](/INTO\s+([^\s(]+)/i);if(_0x2fc6c0?.[0x1]){const _0x1f03e1=_0x2fc6c0[0x1]['replace'](/[`"]/g,'');if(!_0x4e3c56[_0x513377(0x180)](_0x1f03e1))_0x4e3c56[_0x513377(0x172)](_0x1f03e1);}const _0x46503f=_0x439221[_0x513377(0x17b)](/UPDATE\s+([^\s,)(]+)/i);if(_0x46503f?.[0x1]){const _0x33b4b9=_0x46503f[0x1][_0x513377(0x186)](/[`"]/g,'');if(!_0x4e3c56['includes'](_0x33b4b9))_0x4e3c56[_0x513377(0x172)](_0x33b4b9);}return _0x4e3c56;}function extractParameters(_0x1d1346){const _0x319b1a=a144_0x51d9,_0x29d9ea=new Set();for(const _0x2e6cdd of _0x1d1346[_0x319b1a(0x170)](/#\{(\w+)\}/g))if(_0x2e6cdd[0x1])_0x29d9ea[_0x319b1a(0x176)](_0x2e6cdd[0x1]);for(const _0x110c96 of _0x1d1346['matchAll'](/\$\{(\w+)\}/g))if(_0x110c96[0x1])_0x29d9ea[_0x319b1a(0x176)](_0x110c96[0x1]);return Array[_0x319b1a(0x188)](_0x29d9ea);}function a144_0x51d9(_0x48bbcf,_0x27c9ac){_0x48bbcf=_0x48bbcf-0x162;const _0x5ba2a8=a144_0x5ba2();let _0x51d992=_0x5ba2a8[_0x48bbcf];return _0x51d992;}export function validateSql(_0x133cdb){const _0x4ffaed=a144_0x51d9,_0x4cfa22=detectSqlType(_0x133cdb),_0x4ab068=extractTables(_0x133cdb),_0x1da3b9=extractParameters(_0x133cdb);if(_0x4cfa22[_0x4ffaed(0x17e)])return{'valid':![],'sqlType':_0x4cfa22,'tables':_0x4ab068,'parameters':_0x1da3b9,'message':_0x4cfa22['reason']||_0x4cfa22['type']+_0x4ffaed(0x17f)};if(_0x4cfa22[_0x4ffaed(0x185)]===_0x4ffaed(0x163))return{'valid':![],'sqlType':_0x4cfa22,'tables':_0x4ab068,'parameters':_0x1da3b9,'message':_0x4ffaed(0x166)};return{'valid':!![],'sqlType':_0x4cfa22,'tables':_0x4ab068,'parameters':_0x1da3b9,'message':_0x4cfa22[_0x4ffaed(0x185)]+_0x4ffaed(0x17a)+(_0x4ab068[_0x4ffaed(0x17d)]?_0x4ab068[_0x4ffaed(0x162)](',\x20'):_0x4ffaed(0x178))+(_0x1da3b9[_0x4ffaed(0x17d)]?_0x4ffaed(0x16a)+_0x1da3b9['join'](',\x20'):'')};}
package/lib/errors.js CHANGED
@@ -1 +1 @@
1
- const a147_0x48c60b=a147_0xa6ba;function a147_0xa6ba(_0x3a8a46,_0x2a7168){_0x3a8a46=_0x3a8a46-0xbd;const _0x33ce36=a147_0x33ce();let _0xa6baac=_0x33ce36[_0x3a8a46];return _0xa6baac;}(function(_0x496fba,_0x23886d){const _0x2a5a3a=a147_0xa6ba,_0x2629c2=_0x496fba();while(!![]){try{const _0x5e0ce6=parseInt(_0x2a5a3a(0xcd))/0x1+parseInt(_0x2a5a3a(0xbd))/0x2*(parseInt(_0x2a5a3a(0xc3))/0x3)+parseInt(_0x2a5a3a(0xc7))/0x4*(parseInt(_0x2a5a3a(0xcb))/0x5)+-parseInt(_0x2a5a3a(0xc9))/0x6*(-parseInt(_0x2a5a3a(0xbf))/0x7)+parseInt(_0x2a5a3a(0xbe))/0x8+-parseInt(_0x2a5a3a(0xc8))/0x9*(parseInt(_0x2a5a3a(0xcc))/0xa)+-parseInt(_0x2a5a3a(0xc0))/0xb;if(_0x5e0ce6===_0x23886d)break;else _0x2629c2['push'](_0x2629c2['shift']());}catch(_0x21013b){_0x2629c2['push'](_0x2629c2['shift']());}}}(a147_0x33ce,0xb82b6));import{CliError,createCliErrors}from'@lovrabet/cli-framework';import{CLI_BIN_NAME}from'./constant/cli.js';function a147_0x33ce(){const _0x3c48d6=['4suVsfV','5525216sGQViV','258636bqgPWJ','20244708UkEloX','Run\x20this\x20command\x20inside\x20a\x20project\x20with\x20.rabetbase.json\x20file.','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','1716609VyxBrF','\x20init\x20--appcode\x20<code>\x20--global`\x20registers\x20globally\x20so\x20you\x20can\x20use\x20it\x20from\x20anywhere.','\x20auth`\x20to\x20login\x20first.','Tip:\x20`','4BSMfbJ','18JVFLhz','36BJQkxN','Set\x20appcode\x20via\x20`','5646675pZMRQp','4024190pJKYNo','213543iUSSjP'];a147_0x33ce=function(){return _0x3c48d6;};return a147_0x33ce();}export{CliError};export const CliErrors=createCliErrors({'cliBinName':CLI_BIN_NAME,'authRequiredHint':'Run\x20`'+CLI_BIN_NAME+a147_0x48c60b(0xc5),'configMissingHint':[a147_0x48c60b(0xca)+CLI_BIN_NAME+a147_0x48c60b(0xc2),a147_0x48c60b(0xc6)+CLI_BIN_NAME+a147_0x48c60b(0xc4)]['join']('\x0a\x20\x20\x20\x20\x20\x20\x20'),'notInProjectHint':a147_0x48c60b(0xc1)});
1
+ const a145_0x4da130=a145_0x4fe7;function a145_0x4fe7(_0x2904bc,_0x21fa5d){_0x2904bc=_0x2904bc-0x1d1;const _0x2bcfc3=a145_0x2bcf();let _0x4fe755=_0x2bcfc3[_0x2904bc];return _0x4fe755;}(function(_0x523a39,_0xb11f7e){const _0x40c0ee=a145_0x4fe7,_0x2dba9d=_0x523a39();while(!![]){try{const _0x132930=parseInt(_0x40c0ee(0x1d1))/0x1+parseInt(_0x40c0ee(0x1d8))/0x2*(-parseInt(_0x40c0ee(0x1dc))/0x3)+parseInt(_0x40c0ee(0x1da))/0x4+-parseInt(_0x40c0ee(0x1d4))/0x5*(parseInt(_0x40c0ee(0x1db))/0x6)+-parseInt(_0x40c0ee(0x1d6))/0x7+parseInt(_0x40c0ee(0x1d9))/0x8+parseInt(_0x40c0ee(0x1d3))/0x9;if(_0x132930===_0xb11f7e)break;else _0x2dba9d['push'](_0x2dba9d['shift']());}catch(_0x232e97){_0x2dba9d['push'](_0x2dba9d['shift']());}}}(a145_0x2bcf,0xf1604));import{CliError,createCliErrors}from'@lovrabet/cli-framework';import{CLI_BIN_NAME}from'./constant/cli.js';export{CliError};function a145_0x2bcf(){const _0x34ace1=['1173828fqPHds','18OubRpv','6uyaaeK','1373630BWliUe','join','11942235EWTbzm','2401585OXYvSt','Run\x20`','2905238iPkdDl','Run\x20this\x20command\x20inside\x20a\x20project\x20with\x20.rabetbase.json\x20file.','552746LSryAx','3227240wHsTrz'];a145_0x2bcf=function(){return _0x34ace1;};return a145_0x2bcf();}export const CliErrors=createCliErrors({'cliBinName':CLI_BIN_NAME,'authRequiredHint':a145_0x4da130(0x1d5)+CLI_BIN_NAME+'\x20auth`\x20to\x20login\x20first.','configMissingHint':['Set\x20appcode\x20via\x20`'+CLI_BIN_NAME+'\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','Tip:\x20`'+CLI_BIN_NAME+'\x20init\x20--appcode\x20<code>\x20--global`\x20registers\x20globally\x20so\x20you\x20can\x20use\x20it\x20from\x20anywhere.'][a145_0x4da130(0x1d2)]('\x0a\x20\x20\x20\x20\x20\x20\x20'),'notInProjectHint':a145_0x4da130(0x1d7)});
@@ -1 +1 @@
1
- (function(_0x3f91ee,_0x3a98e7){var _0x2ebfb4=a46_0x229c,_0x152b60=_0x3f91ee();while(!![]){try{var _0x4b1372=-parseInt(_0x2ebfb4(0x1b7))/0x1*(parseInt(_0x2ebfb4(0x1bc))/0x2)+parseInt(_0x2ebfb4(0x1b4))/0x3+parseInt(_0x2ebfb4(0x1bb))/0x4+-parseInt(_0x2ebfb4(0x1ba))/0x5+parseInt(_0x2ebfb4(0x1b9))/0x6+parseInt(_0x2ebfb4(0x1b6))/0x7*(parseInt(_0x2ebfb4(0x1b5))/0x8)+-parseInt(_0x2ebfb4(0x1b8))/0x9*(parseInt(_0x2ebfb4(0x1bd))/0xa);if(_0x4b1372===_0x3a98e7)break;else _0x152b60['push'](_0x152b60['shift']());}catch(_0x4f3ea9){_0x152b60['push'](_0x152b60['shift']());}}}(a46_0x330e,0xcf61f));function a46_0x330e(){var _0x310965=['28142SvaRUw','54KjkTtW','188172rejiLg','7082620usEiav','5443780HmQsSI','38XYkTTt','1538300FblNIR','4295142eycTDH','248JvvAvC','203140eAnNvw'];a46_0x330e=function(){return _0x310965;};return a46_0x330e();}import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';import{buildAllFlags as a46_0x1a2071}from'@lovrabet/cli-framework';function a46_0x229c(_0x12b1e9,_0x54d24f){_0x12b1e9=_0x12b1e9-0x1b4;var _0x330e14=a46_0x330e();var _0x229cbe=_0x330e14[_0x12b1e9];return _0x229cbe;}export function buildAllFlags(_0x1703f9){return a46_0x1a2071(_0x1703f9,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});}
1
+ function a146_0x4dec(){var _0x494fe6=['3876808ERsuNs','31559016EXCbDG','24oESpmb','7078960gEDuOm','4232895YKoZaE','2313542RcfXPx','775063sQRWTz','3374328GzFZVf'];a146_0x4dec=function(){return _0x494fe6;};return a146_0x4dec();}function a146_0x48b2(_0x2bb162,_0x59698c){_0x2bb162=_0x2bb162-0xf7;var _0x4dec02=a146_0x4dec();var _0x48b2fa=_0x4dec02[_0x2bb162];return _0x48b2fa;}(function(_0x35e42c,_0x4872ea){var _0x56fe1c=a146_0x48b2,_0x26325c=_0x35e42c();while(!![]){try{var _0x219918=-parseInt(_0x56fe1c(0xfe))/0x1+-parseInt(_0x56fe1c(0xf7))/0x2+-parseInt(_0x56fe1c(0xfc))/0x3+parseInt(_0x56fe1c(0xf8))/0x4+-parseInt(_0x56fe1c(0xfb))/0x5+parseInt(_0x56fe1c(0xfa))/0x6*(parseInt(_0x56fe1c(0xfd))/0x7)+parseInt(_0x56fe1c(0xf9))/0x8;if(_0x219918===_0x4872ea)break;else _0x26325c['push'](_0x26325c['shift']());}catch(_0x4f2342){_0x26325c['push'](_0x26325c['shift']());}}}(a146_0x4dec,0xe73af));import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';import{buildAllFlags as a146_0x310c2d}from'@lovrabet/cli-framework';export function buildAllFlags(_0x1abd41){return a146_0x310c2d(_0x1abd41,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});}
@@ -1 +1 @@
1
- const a45_0x3b5e5d=a45_0x5f47;(function(_0x44983b,_0x38557c){const _0x3c2114=a45_0x5f47,_0x4dc0cf=_0x44983b();while(!![]){try{const _0x2b19b6=-parseInt(_0x3c2114(0x1a9))/0x1*(-parseInt(_0x3c2114(0x1aa))/0x2)+parseInt(_0x3c2114(0x1a7))/0x3+parseInt(_0x3c2114(0x1a1))/0x4*(-parseInt(_0x3c2114(0x1a6))/0x5)+-parseInt(_0x3c2114(0x1ab))/0x6+-parseInt(_0x3c2114(0x1a2))/0x7*(parseInt(_0x3c2114(0x1a4))/0x8)+parseInt(_0x3c2114(0x1ac))/0x9+-parseInt(_0x3c2114(0x1a8))/0xa*(-parseInt(_0x3c2114(0x1a3))/0xb);if(_0x2b19b6===_0x38557c)break;else _0x4dc0cf['push'](_0x4dc0cf['shift']());}catch(_0x3642cc){_0x4dc0cf['push'](_0x4dc0cf['shift']());}}}(a45_0x1f6c,0xcd1bd));import{createFlagHelpers}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);function a45_0x5f47(_0x2e4fef,_0x3a9d10){_0x2e4fef=_0x2e4fef-0x1a1;const _0x1f6cc8=a45_0x1f6c();let _0x5f4744=_0x1f6cc8[_0x2e4fef];return _0x5f4744;}export const parseFlags=helpers[a45_0x3b5e5d(0x1a5)];export const validateFlags=helpers['validateFlags'];function a45_0x1f6c(){const _0x2a4bfb=['83026FfxXWL','8730822pgFVfE','10253151aadxAn','4VpTmys','10790619ccRQkb','11OYbiJx','8LYgtBJ','parseFlags','6604915LKlMFj','3469791tyJFHa','18241010pxmVzM','25XfJOTl'];a45_0x1f6c=function(){return _0x2a4bfb;};return a45_0x1f6c();}
1
+ const a147_0x1d1d9b=a147_0x2ef5;(function(_0x4e4b10,_0x292a20){const _0x5c97e4=a147_0x2ef5,_0x45b1db=_0x4e4b10();while(!![]){try{const _0x4fe1b9=parseInt(_0x5c97e4(0x12f))/0x1*(parseInt(_0x5c97e4(0x133))/0x2)+parseInt(_0x5c97e4(0x136))/0x3*(parseInt(_0x5c97e4(0x135))/0x4)+-parseInt(_0x5c97e4(0x132))/0x5*(-parseInt(_0x5c97e4(0x138))/0x6)+-parseInt(_0x5c97e4(0x130))/0x7+-parseInt(_0x5c97e4(0x131))/0x8*(-parseInt(_0x5c97e4(0x12e))/0x9)+parseInt(_0x5c97e4(0x139))/0xa*(-parseInt(_0x5c97e4(0x134))/0xb)+-parseInt(_0x5c97e4(0x13a))/0xc;if(_0x4fe1b9===_0x292a20)break;else _0x45b1db['push'](_0x45b1db['shift']());}catch(_0x2769c4){_0x45b1db['push'](_0x45b1db['shift']());}}}(a147_0x1ded,0x68d45));import{createFlagHelpers}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a147_0x2ef5(_0x1d2d54,_0x52e5c0){_0x1d2d54=_0x1d2d54-0x12e;const _0x1ded2e=a147_0x1ded();let _0x2ef55c=_0x1ded2e[_0x1d2d54];return _0x2ef55c;}const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers[a147_0x1d1d9b(0x137)];export const validateFlags=helpers['validateFlags'];function a147_0x1ded(){const _0x39b2b5=['6369pGnnQb','1468KtBGiS','4791WCKKgf','parseFlags','204054XhXLyI','6260ujAUsX','2786376BaNsHw','74691ALqrlu','56075CiBwHY','2126145lwYPmi','520KVrvAb','5xuoocP','6VBvkVI'];a147_0x1ded=function(){return _0x39b2b5;};return a147_0x1ded();}
@@ -1 +1 @@
1
- function a42_0x5d80(){const _0x5e5af0=['\x20[args]\x20[flags]','get','generateFullHelp','197655nEtpPh','2333436HkLOKE','3590255bupAyS','15523000ZUFvAi','22142150jovEEn','Requires\x20appcode\x20(set\x20via\x20`','5753538kCuZFR','generateCommandHelp','6XvpRap','52uMORCe','6bEjRYV','\x20project\x20init`\x20or\x20--appcode).','415683YRLfqM'];a42_0x5d80=function(){return _0x5e5af0;};return a42_0x5d80();}const a42_0x238889=a42_0x2545;(function(_0x48788d,_0x366b0e){const _0x2c0f52=a42_0x2545,_0x9941bd=_0x48788d();while(!![]){try{const _0x2227ac=parseInt(_0x2c0f52(0xbf))/0x1*(parseInt(_0x2c0f52(0xc7))/0x2)+parseInt(_0x2c0f52(0xbb))/0x3*(parseInt(_0x2c0f52(0xc8))/0x4)+-parseInt(_0x2c0f52(0xc1))/0x5*(parseInt(_0x2c0f52(0xc9))/0x6)+-parseInt(_0x2c0f52(0xc0))/0x7+-parseInt(_0x2c0f52(0xc2))/0x8+-parseInt(_0x2c0f52(0xc5))/0x9+parseInt(_0x2c0f52(0xc3))/0xa;if(_0x2227ac===_0x366b0e)break;else _0x9941bd['push'](_0x9941bd['shift']());}catch(_0x26b5ce){_0x9941bd['push'](_0x9941bd['shift']());}}}(a42_0x5d80,0xeea09));import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';const generators=createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x283add=>serviceGroups[a42_0x238889(0xbd)](_0x283add),'buildAllFlags':buildAllFlags,'appPrerequisiteText':a42_0x238889(0xc4)+CLI_BIN_NAME+a42_0x238889(0xba),'serviceUsageSuffix':a42_0x238889(0xbc),'includeWildcardExtraInFullHelp':!![]});export function generateCommandHelp(_0x47e940){const _0x6bcfff=a42_0x238889;return generators[_0x6bcfff(0xc6)](_0x47e940);}function a42_0x2545(_0x4d7aed,_0x3aa5bd){_0x4d7aed=_0x4d7aed-0xba;const _0x5d80f2=a42_0x5d80();let _0x254555=_0x5d80f2[_0x4d7aed];return _0x254555;}export const generateServiceHelp=generators['generateServiceHelp'];export const generateFullHelp=generators[a42_0x238889(0xbe)];
1
+ function a148_0x2ecb(){const _0x18c9eb=['4395380EInZJh','\x20project\x20init`\x20or\x20--appcode).','46738449QZYXoP','467018dcFpcU','19112hiEoEm','9253860UTHqpJ','774WXkvYS','generateFullHelp','13352QMlSZe','Requires\x20appcode\x20(set\x20via\x20`','4424lutyJI','1129580rrjlnV','generateCommandHelp','\x20[args]\x20[flags]'];a148_0x2ecb=function(){return _0x18c9eb;};return a148_0x2ecb();}const a148_0x54945d=a148_0x3211;function a148_0x3211(_0x184196,_0x26efd0){_0x184196=_0x184196-0x15a;const _0x2ecbad=a148_0x2ecb();let _0x321135=_0x2ecbad[_0x184196];return _0x321135;}(function(_0x405b7b,_0x3a65ca){const _0xa9acb5=a148_0x3211,_0x590a17=_0x405b7b();while(!![]){try{const _0x1a70fe=parseInt(_0xa9acb5(0x15d))/0x1+parseInt(_0xa9acb5(0x163))/0x2+-parseInt(_0xa9acb5(0x166))/0x3*(-parseInt(_0xa9acb5(0x15a))/0x4)+parseInt(_0xa9acb5(0x160))/0x5+parseInt(_0xa9acb5(0x165))/0x6+-parseInt(_0xa9acb5(0x15c))/0x7*(-parseInt(_0xa9acb5(0x164))/0x8)+-parseInt(_0xa9acb5(0x162))/0x9;if(_0x1a70fe===_0x3a65ca)break;else _0x590a17['push'](_0x590a17['shift']());}catch(_0x3f3269){_0x590a17['push'](_0x590a17['shift']());}}}(a148_0x2ecb,0xeaf3e));import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';const generators=createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x32b027=>serviceGroups['get'](_0x32b027),'buildAllFlags':buildAllFlags,'appPrerequisiteText':a148_0x54945d(0x15b)+CLI_BIN_NAME+a148_0x54945d(0x161),'serviceUsageSuffix':a148_0x54945d(0x15f),'includeWildcardExtraInFullHelp':!![]});export function generateCommandHelp(_0x456a5e){const _0x79e978=a148_0x54945d;return generators[_0x79e978(0x15e)](_0x456a5e);}export const generateServiceHelp=generators['generateServiceHelp'];export const generateFullHelp=generators[a148_0x54945d(0x167)];
@@ -1 +1 @@
1
- (function(_0x13cd5f,_0xc78c2f){var _0x2925fa=a44_0x5021,_0x44b572=_0x13cd5f();while(!![]){try{var _0xc7e09f=parseInt(_0x2925fa(0x193))/0x1*(-parseInt(_0x2925fa(0x197))/0x2)+-parseInt(_0x2925fa(0x19b))/0x3+parseInt(_0x2925fa(0x192))/0x4*(-parseInt(_0x2925fa(0x194))/0x5)+-parseInt(_0x2925fa(0x199))/0x6+parseInt(_0x2925fa(0x198))/0x7+-parseInt(_0x2925fa(0x196))/0x8+parseInt(_0x2925fa(0x195))/0x9*(parseInt(_0x2925fa(0x19a))/0xa);if(_0xc7e09f===_0xc78c2f)break;else _0x44b572['push'](_0x44b572['shift']());}catch(_0x351366){_0x44b572['push'](_0x44b572['shift']());}}}(a44_0x2e87,0xace76));function a44_0x5021(_0x30031d,_0x2bcb20){_0x30031d=_0x30031d-0x192;var _0x2e87ed=a44_0x2e87();var _0x50216e=_0x2e87ed[_0x30031d];return _0x50216e;}export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';function a44_0x2e87(){var _0x59e7d5=['65490eJdmGq','298782MqXuVG','4FSeZit','4qCEZky','742345jbxGAc','3951MzNdfY','4642936FNFrCh','327274eVQBgR','2896460YDiqYr','6585594ZzISlw'];a44_0x2e87=function(){return _0x59e7d5;};return a44_0x2e87();}export{extractList,extractPaging}from'../framework/response.js';export{riskLevelOrder}from'../framework/types.js';
1
+ (function(_0x263872,_0x19fb72){var _0x3ca8a8=a149_0xfebc,_0x5cb695=_0x263872();while(!![]){try{var _0x27edc0=-parseInt(_0x3ca8a8(0x6b))/0x1*(parseInt(_0x3ca8a8(0x6d))/0x2)+parseInt(_0x3ca8a8(0x71))/0x3+-parseInt(_0x3ca8a8(0x6c))/0x4+-parseInt(_0x3ca8a8(0x68))/0x5*(-parseInt(_0x3ca8a8(0x67))/0x6)+parseInt(_0x3ca8a8(0x69))/0x7*(parseInt(_0x3ca8a8(0x70))/0x8)+-parseInt(_0x3ca8a8(0x6e))/0x9+parseInt(_0x3ca8a8(0x6a))/0xa*(parseInt(_0x3ca8a8(0x6f))/0xb);if(_0x27edc0===_0x19fb72)break;else _0x5cb695['push'](_0x5cb695['shift']());}catch(_0x6f0277){_0x5cb695['push'](_0x5cb695['shift']());}}}(a149_0x21da,0x78c2d));function a149_0xfebc(_0x3c2489,_0x3735b4){_0x3c2489=_0x3c2489-0x67;var _0x21da5e=a149_0x21da();var _0xfebc9=_0x21da5e[_0x3c2489];return _0xfebc9;}export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';function a149_0x21da(){var _0x3d6930=['5PWzXgP','3342356DGUtQe','314758HAvWtu','2570706OfBKCw','110WghPUP','8ysLdZn','1881237kUAmhO','6hDSMCL','2422430ONIUit','4932060UuNyiA','586610HEVbkQ'];a149_0x21da=function(){return _0x3d6930;};return a149_0x21da();}export{extractList,extractPaging}from'../framework/response.js';export{riskLevelOrder}from'../framework/types.js';
@@ -1 +1 @@
1
- function a48_0x45f0(){var _0x384c5d=['4014717akErsO','25dXIzve','481658rFBgaE','648790lwbche','34491237krsqIR','6iCBNEV','12161368IUhaPM','3306751VHyRoA','6EubuKP','609772XhfxIX','144QCDNXy'];a48_0x45f0=function(){return _0x384c5d;};return a48_0x45f0();}(function(_0x50aca2,_0x36c4ed){var _0x53a2ed=a48_0x5974,_0xad2f01=_0x50aca2();while(!![]){try{var _0x1ca907=-parseInt(_0x53a2ed(0x80))/0x1*(-parseInt(_0x53a2ed(0x86))/0x2)+-parseInt(_0x53a2ed(0x89))/0x3+parseInt(_0x53a2ed(0x87))/0x4*(parseInt(_0x53a2ed(0x7f))/0x5)+-parseInt(_0x53a2ed(0x83))/0x6*(-parseInt(_0x53a2ed(0x85))/0x7)+parseInt(_0x53a2ed(0x84))/0x8+parseInt(_0x53a2ed(0x88))/0x9*(parseInt(_0x53a2ed(0x81))/0xa)+-parseInt(_0x53a2ed(0x82))/0xb;if(_0x1ca907===_0x36c4ed)break;else _0xad2f01['push'](_0xad2f01['shift']());}catch(_0x5c8218){_0xad2f01['push'](_0xad2f01['shift']());}}}(a48_0x45f0,0xba86b));function a48_0x5974(_0x32b068,_0x16e433){_0x32b068=_0x32b068-0x7f;var _0x45f0e7=a48_0x45f0();var _0x597490=_0x45f0e7[_0x32b068];return _0x597490;}export{formatOutput}from'@lovrabet/cli-framework';
1
+ (function(_0x4e49a0,_0x183f13){var _0x11c172=a150_0x293f,_0x53aa89=_0x4e49a0();while(!![]){try{var _0x56da06=parseInt(_0x11c172(0x198))/0x1*(parseInt(_0x11c172(0x197))/0x2)+-parseInt(_0x11c172(0x194))/0x3+parseInt(_0x11c172(0x193))/0x4+parseInt(_0x11c172(0x19b))/0x5+parseInt(_0x11c172(0x195))/0x6*(parseInt(_0x11c172(0x199))/0x7)+parseInt(_0x11c172(0x196))/0x8+-parseInt(_0x11c172(0x19a))/0x9;if(_0x56da06===_0x183f13)break;else _0x53aa89['push'](_0x53aa89['shift']());}catch(_0x180a80){_0x53aa89['push'](_0x53aa89['shift']());}}}(a150_0x1849,0xa4e7e));export{formatOutput}from'@lovrabet/cli-framework';function a150_0x293f(_0x2643ac,_0x1f9606){_0x2643ac=_0x2643ac-0x193;var _0x1849c4=a150_0x1849();var _0x293fc0=_0x1849c4[_0x2643ac];return _0x293fc0;}function a150_0x1849(){var _0x23b428=['892332ZcQoYq','518844gjdexG','4919952qEOQmM','711714ADMOvo','2IhlGOM','91pyWTBy','21160593aXLgOQ','1851085KiteAk','2011952uIrCZT'];a150_0x1849=function(){return _0x23b428;};return a150_0x1849();}
@@ -1 +1 @@
1
- (function(_0x185c6e,_0xcecaae){var _0x89b6ea=a40_0x3a59,_0xf52163=_0x185c6e();while(!![]){try{var _0x14663c=parseInt(_0x89b6ea(0xa7))/0x1+-parseInt(_0x89b6ea(0xab))/0x2*(-parseInt(_0x89b6ea(0xa5))/0x3)+-parseInt(_0x89b6ea(0xa9))/0x4*(-parseInt(_0x89b6ea(0xad))/0x5)+parseInt(_0x89b6ea(0xaa))/0x6+-parseInt(_0x89b6ea(0xaf))/0x7*(parseInt(_0x89b6ea(0xac))/0x8)+parseInt(_0x89b6ea(0xae))/0x9+parseInt(_0x89b6ea(0xa6))/0xa*(-parseInt(_0x89b6ea(0xa8))/0xb);if(_0x14663c===_0xcecaae)break;else _0xf52163['push'](_0xf52163['shift']());}catch(_0x285c80){_0xf52163['push'](_0xf52163['shift']());}}}(a40_0x5deb,0xbcf22));function a40_0x3a59(_0x2afe70,_0x53d49f){_0x2afe70=_0x2afe70-0xa5;var _0x5deb3d=a40_0x5deb();var _0x3a59a7=_0x5deb3d[_0x2afe70];return _0x3a59a7;}function a40_0x5deb(){var _0x543456=['3820920fMOXBU','2oKAfvi','10616LrJaew','415oQyxXN','5104998vUZccy','5663pdlFxV','572853OmXQtD','10WDvfcB','1233922WQkBfT','16236847mxfXhy','33476IwrqSE'];a40_0x5deb=function(){return _0x543456;};return a40_0x5deb();}export{extractList,extractPaging}from'@lovrabet/cli-framework';
1
+ function a151_0x28ab(){var _0x48ef63=['7225893ndnDAq','927OLWbuR','31650KyaROg','299217aBcQku','44iGnUGx','2465199yLPYQH','1660fuPhGh','6734090ybOtSH','1972ONdgNu','504arfCKF','39347RerpYa'];a151_0x28ab=function(){return _0x48ef63;};return a151_0x28ab();}function a151_0xd673(_0x1f6104,_0x14fe7f){_0x1f6104=_0x1f6104-0x164;var _0x28ab60=a151_0x28ab();var _0xd673ec=_0x28ab60[_0x1f6104];return _0xd673ec;}(function(_0x5c4002,_0x36a2a4){var _0x2f3357=a151_0xd673,_0x504fd7=_0x5c4002();while(!![]){try{var _0x391d50=parseInt(_0x2f3357(0x16c))/0x1*(parseInt(_0x2f3357(0x168))/0x2)+parseInt(_0x2f3357(0x16e))/0x3*(parseInt(_0x2f3357(0x164))/0x4)+parseInt(_0x2f3357(0x166))/0x5*(-parseInt(_0x2f3357(0x16d))/0x6)+parseInt(_0x2f3357(0x16a))/0x7*(parseInt(_0x2f3357(0x169))/0x8)+parseInt(_0x2f3357(0x16b))/0x9+-parseInt(_0x2f3357(0x167))/0xa+parseInt(_0x2f3357(0x165))/0xb;if(_0x391d50===_0x36a2a4)break;else _0x504fd7['push'](_0x504fd7['shift']());}catch(_0x46fb7e){_0x504fd7['push'](_0x504fd7['shift']());}}}(a151_0x28ab,0xec37f));export{extractList,extractPaging}from'@lovrabet/cli-framework';
@@ -1 +1 @@
1
- (function(_0x1f9b77,_0x1de7c5){const _0x4f00ec=a47_0x4b2e,_0x4360a3=_0x1f9b77();while(!![]){try{const _0x502cb0=parseInt(_0x4f00ec(0x13a))/0x1*(parseInt(_0x4f00ec(0x12b))/0x2)+-parseInt(_0x4f00ec(0x120))/0x3*(-parseInt(_0x4f00ec(0x128))/0x4)+-parseInt(_0x4f00ec(0x134))/0x5*(parseInt(_0x4f00ec(0x136))/0x6)+parseInt(_0x4f00ec(0x125))/0x7*(parseInt(_0x4f00ec(0x123))/0x8)+-parseInt(_0x4f00ec(0x12f))/0x9*(parseInt(_0x4f00ec(0x11e))/0xa)+parseInt(_0x4f00ec(0x132))/0xb*(-parseInt(_0x4f00ec(0x137))/0xc)+parseInt(_0x4f00ec(0x138))/0xd;if(_0x502cb0===_0x1de7c5)break;else _0x4360a3['push'](_0x4360a3['shift']());}catch(_0x5e8680){_0x4360a3['push'](_0x4360a3['shift']());}}}(a47_0x55b0,0x93c89));function a47_0x4b2e(_0xd20673,_0x269d09){_0xd20673=_0xd20673-0x11d;const _0x55b0d2=a47_0x55b0();let _0x4b2e61=_0x55b0d2[_0xd20673];return _0x4b2e61;}import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';export function resolveAliasToCode(_0x48df48,_0x3a1402,_0x42a5b3,_0x4a6b06){const _0x3ddffa=a47_0x4b2e,_0x1df9c2=_0x48df48[_0x3ddffa(0x122)]['some'](_0x49bfa6=>_0x49bfa6[_0x3ddffa(0x139)]===_0x3ddffa(0x12d)&&_0x49bfa6[_0x3ddffa(0x121)]===_0x3ddffa(0x124)),_0x52b9bf=_0x48df48['flags'][_0x3ddffa(0x126)](_0x5954c1=>_0x5954c1[_0x3ddffa(0x139)]===_0x3ddffa(0x11d)&&_0x5954c1[_0x3ddffa(0x121)]===_0x3ddffa(0x124));if(!_0x1df9c2||!_0x52b9bf)return;const _0xeee471=_0x3a1402[_0x3ddffa(0x12d)]?String(_0x3a1402[_0x3ddffa(0x12d)]):'',_0x3f908d=_0x3a1402[_0x3ddffa(0x11d)]?String(_0x3a1402['alias']):'';if(!_0xeee471&&!_0x3f908d)throw CliErrors[_0x3ddffa(0x12a)]('`'+_0x4a6b06+_0x3ddffa(0x130));if(_0x3f908d&&!_0xeee471){const _0x451ade=resolveAlias(_0x42a5b3,_0x3f908d);if(!_0x451ade){const _0x2c7ac9=listAliases(_0x42a5b3)['map'](_0x53e27f=>_0x53e27f[_0x3ddffa(0x11d)]),_0x18adef=_0x2c7ac9[_0x3ddffa(0x133)]?_0x3ddffa(0x12e)+_0x2c7ac9[_0x3ddffa(0x11f)](',\x20'):_0x3ddffa(0x12c)+_0x42a5b3+_0x3ddffa(0x129)+CLI_BIN_NAME+_0x3ddffa(0x131);throw CliErrors[_0x3ddffa(0x12a)](_0x3ddffa(0x135)+_0x3f908d+_0x3ddffa(0x127)+_0x18adef);}_0x3a1402[_0x3ddffa(0x12d)]=_0x451ade;}}function a47_0x55b0(){const _0x339b13=['758760ojTlmJ','type','flags','106304SdNrGx','string','140gwvyWf','some','\x22.\x20','4QzoCrz','.\x20Run\x20`','validation','2CQnxTx','No\x20api.ts\x20found\x20in\x20','code','Available\x20aliases:\x20','9Iqpbxv','`\x20requires\x20either\x20--code\x20or\x20--alias.','\x20api\x20pull`\x20first.','77rLdZDZ','length','5TCFuoE','Unknown\x20alias\x20\x22','4888254xiGeir','847272ECEdsS','25981020mUaRtw','name','198626PkIscd','alias','8015740XgeGsg','join'];a47_0x55b0=function(){return _0x339b13;};return a47_0x55b0();}
1
+ (function(_0x2d2c51,_0x110732){const _0x4b7574=a152_0x1fb7,_0x133426=_0x2d2c51();while(!![]){try{const _0x369793=-parseInt(_0x4b7574(0x17f))/0x1+-parseInt(_0x4b7574(0x183))/0x2*(-parseInt(_0x4b7574(0x17e))/0x3)+parseInt(_0x4b7574(0x173))/0x4*(parseInt(_0x4b7574(0x17a))/0x5)+parseInt(_0x4b7574(0x178))/0x6*(parseInt(_0x4b7574(0x185))/0x7)+parseInt(_0x4b7574(0x171))/0x8*(-parseInt(_0x4b7574(0x187))/0x9)+-parseInt(_0x4b7574(0x186))/0xa+-parseInt(_0x4b7574(0x17c))/0xb;if(_0x369793===_0x110732)break;else _0x133426['push'](_0x133426['shift']());}catch(_0x22576){_0x133426['push'](_0x133426['shift']());}}}(a152_0x88d8,0x9cbd0));import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';function a152_0x88d8(){const _0x557747=['.\x20Run\x20`','2872MPhLAP','\x22.\x20','4NKSsOb','flags','No\x20api.ts\x20found\x20in\x20','code','some','2214DrypLR','type','3606710txQulY','string','2538272UQUVaX','map','15aTsVKq','1110339fVxsgc','length','\x20api\x20pull`\x20first.','Available\x20aliases:\x20','339662mZTeTm','alias','10178sqYQBc','553630TjsgzK','1719UakUCT','name'];a152_0x88d8=function(){return _0x557747;};return a152_0x88d8();}function a152_0x1fb7(_0x13a6fc,_0x64d1ec){_0x13a6fc=_0x13a6fc-0x170;const _0x88d804=a152_0x88d8();let _0x1fb7f1=_0x88d804[_0x13a6fc];return _0x1fb7f1;}export function resolveAliasToCode(_0x1b4114,_0x36eebb,_0x42f79f,_0x4850cf){const _0x4e2def=a152_0x1fb7,_0xb69893=_0x1b4114['flags'][_0x4e2def(0x177)](_0x1717d8=>_0x1717d8[_0x4e2def(0x188)]===_0x4e2def(0x176)&&_0x1717d8['type']===_0x4e2def(0x17b)),_0x184e66=_0x1b4114[_0x4e2def(0x174)]['some'](_0x581c50=>_0x581c50[_0x4e2def(0x188)]===_0x4e2def(0x184)&&_0x581c50[_0x4e2def(0x179)]==='string');if(!_0xb69893||!_0x184e66)return;const _0x522ca9=_0x36eebb[_0x4e2def(0x176)]?String(_0x36eebb[_0x4e2def(0x176)]):'',_0x31008e=_0x36eebb[_0x4e2def(0x184)]?String(_0x36eebb[_0x4e2def(0x184)]):'';if(!_0x522ca9&&!_0x31008e)throw CliErrors['validation']('`'+_0x4850cf+'`\x20requires\x20either\x20--code\x20or\x20--alias.');if(_0x31008e&&!_0x522ca9){const _0x38f8e0=resolveAlias(_0x42f79f,_0x31008e);if(!_0x38f8e0){const _0x3399f3=listAliases(_0x42f79f)[_0x4e2def(0x17d)](_0x4ee429=>_0x4ee429['alias']),_0x5228=_0x3399f3[_0x4e2def(0x180)]?_0x4e2def(0x182)+_0x3399f3['join'](',\x20'):_0x4e2def(0x175)+_0x42f79f+_0x4e2def(0x170)+CLI_BIN_NAME+_0x4e2def(0x181);throw CliErrors['validation']('Unknown\x20alias\x20\x22'+_0x31008e+_0x4e2def(0x172)+_0x5228);}_0x36eebb[_0x4e2def(0x176)]=_0x38f8e0;}}
@@ -1 +1 @@
1
- const a43_0x38d461=a43_0x67c6;(function(_0x71e77b,_0x7e3e6d){const _0x3328f2=a43_0x67c6,_0x3e6e29=_0x71e77b();while(!![]){try{const _0x57c412=parseInt(_0x3328f2(0x1b6))/0x1+parseInt(_0x3328f2(0x1ad))/0x2*(parseInt(_0x3328f2(0x19d))/0x3)+-parseInt(_0x3328f2(0x193))/0x4*(parseInt(_0x3328f2(0x1af))/0x5)+-parseInt(_0x3328f2(0x198))/0x6*(-parseInt(_0x3328f2(0x1a1))/0x7)+parseInt(_0x3328f2(0x19a))/0x8*(parseInt(_0x3328f2(0x199))/0x9)+parseInt(_0x3328f2(0x1ae))/0xa+-parseInt(_0x3328f2(0x1b2))/0xb;if(_0x57c412===_0x7e3e6d)break;else _0x3e6e29['push'](_0x3e6e29['shift']());}catch(_0x21ec65){_0x3e6e29['push'](_0x3e6e29['shift']());}}}(a43_0x30f2,0x4b6d4));import{runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';function a43_0x30f2(){const _0x1bac21=['\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','\x20\x20\x20Continue?\x20[y/N]\x20','60wnhelm','3540530bEjqbU','20gnSMhe','map','resolveCookie','6830296qySReS','defaultPageSize','Set\x20appcode\x20via\x20`','authRequired','151578UKKkGg','High-risk\x20operation\x20`','requiresAppCode','apiDir','appCode','validation','531928yHvZZC','format','../core/api-client.js','appcode','⚠\x20\x20High-risk\x20operation:\x20','12MsvuMV','117KjyeQn','170312DNDehq','pageSize','mergedCli','51807SSFqWT','selectedAppName','cookie','apps','564739DPYjGo','name','cancelled','verbose','configMissing','currentApp','isNonInteractive','service','filter','resolveAppCode'];a43_0x30f2=function(){return _0x1bac21;};return a43_0x30f2();}import{getCookie}from'../auth/get-cookie.js';function a43_0x67c6(_0x37542c,_0x10263a){_0x37542c=_0x37542c-0x191;const _0x30f2aa=a43_0x30f2();let _0x67c60e=_0x30f2aa[_0x37542c];return _0x67c60e;}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 a43_0x215958}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';export function createPipelineEnv(_0x33825d,_0x1f1390,_0x56cb07=[]){const _0x46618a=a43_0x67c6;return{'rawFlags':_0x1f1390,'args':_0x56cb07,'resolveAppCode':()=>_0x33825d[_0x46618a(0x191)]||_0x1f1390[_0x46618a(0x196)]||process.env.RABETBASE_APPCODE||process.env.LOVRABET_APPCODE||undefined,'resolveCookie':()=>_0x33825d[_0x46618a(0x19f)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a43_0x215958(_0x1f1390),'defaultFormat':_0x33825d[_0x46618a(0x194)],'defaultPageSize':_0x33825d[_0x46618a(0x19b)],'defaultVerbose':_0x33825d[_0x46618a(0x1a4)],'apiDir':_0x33825d[_0x46618a(0x1b9)],'riskLevel':_0x33825d['riskLevel'],'selectedAppName':_0x33825d['explicitAppName'],'mergedCli':{'defaultApp':_0x33825d['defaultApp'],'currentApp':_0x33825d[_0x46618a(0x1a6)],'appCode':_0x33825d['appCode'],'apps':_0x33825d[_0x46618a(0x1a0)]}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[a43_0x38d461(0x1a9)](_0x431439=>PIPELINE_FLAG_NAMES['has'](_0x431439[a43_0x38d461(0x1a2)]))[a43_0x38d461(0x1b0)](({name:_0x21255d,type:_0x82a04d,description:_0x3f6d9d})=>({'name':_0x21255d,'type':_0x82a04d,'description':_0x3f6d9d})),'formatOutput':formatOutput,'getCommandLabel'(_0x4ce048){const _0x54af2a=a43_0x38d461;return CLI_BIN_NAME+'\x20'+_0x4ce048[_0x54af2a(0x1a8)]+'\x20'+_0x4ce048['command'];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x4f6e3b){const _0x559093=a43_0x38d461;return CliErrors[_0x559093(0x192)](_0x4f6e3b);}},async 'prepare'(_0x33461b,_0x2a49ee,_0x5430ee,_0x540b48){const _0x36813d=a43_0x38d461,_0x4ad3ae=_0x2a49ee[_0x36813d(0x1b9)]||DEFAULT_API_DIR;resolveAliasToCode(_0x33461b,_0x5430ee,_0x4ad3ae,_0x540b48);let _0x253abf='';if(_0x33461b['requiresAuth']!==![]){_0x253abf=_0x2a49ee[_0x36813d(0x1b1)]();if(!_0x253abf)throw CliErrors[_0x36813d(0x1b5)]();const {setActiveCookie:_0x5e71fb}=await import(_0x36813d(0x195));_0x5e71fb(_0x253abf);}let _0x14fba8='';if(_0x33461b[_0x36813d(0x1b8)]!==![]){_0x14fba8=_0x2a49ee[_0x36813d(0x1aa)]()??'';if(!_0x14fba8)throw CliErrors[_0x36813d(0x1a5)](_0x36813d(0x1b4)+CLI_BIN_NAME+_0x36813d(0x1ab));}return{'defaults':{'booleans':{'verbose':_0x2a49ee['defaultVerbose']},'numbers':{'pagesize':_0x2a49ee[_0x36813d(0x1b3)]}},'extras':{'appCode':_0x14fba8,'cookie':_0x253abf,'apiDomain':_0x2a49ee['resolveApiDomain'](),'apiDir':_0x4ad3ae,'selectedAppName':_0x2a49ee[_0x36813d(0x19e)],'mergedCli':_0x2a49ee[_0x36813d(0x19c)]}};},async 'confirmHighRisk'({env:_0x43a058,commandLabel:_0x2ec540}){const _0xdd8cce=a43_0x38d461;if(_0x43a058[_0xdd8cce(0x1a7)])throw CliErrors[_0xdd8cce(0x192)](_0xdd8cce(0x1b7)+_0x2ec540+'`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.');await requireConfirmationPrompt({'lines':[_0xdd8cce(0x197)+_0x2ec540,_0xdd8cce(0x1ac)],'createCancelledError':_0x5a9d1a=>CliErrors[_0xdd8cce(0x1a3)](_0x5a9d1a)});},async 'finalize'(){const {clearActiveCookie:_0x437430}=await import('../core/api-client.js');_0x437430();}};export async function runCommand(_0x34b4c1,_0x31d0e5){await runCommandWithAdapter(_0x34b4c1,_0x31d0e5,runnerAdapter);}
1
+ const a153_0x342adc=a153_0x1a09;(function(_0x2a9f6f,_0x5ad567){const _0x500aa9=a153_0x1a09,_0x3b05ba=_0x2a9f6f();while(!![]){try{const _0x165353=parseInt(_0x500aa9(0xc8))/0x1*(parseInt(_0x500aa9(0xc5))/0x2)+-parseInt(_0x500aa9(0xd2))/0x3*(parseInt(_0x500aa9(0xed))/0x4)+parseInt(_0x500aa9(0xce))/0x5*(-parseInt(_0x500aa9(0xeb))/0x6)+parseInt(_0x500aa9(0xe0))/0x7+parseInt(_0x500aa9(0xd6))/0x8+-parseInt(_0x500aa9(0xdf))/0x9+parseInt(_0x500aa9(0xe2))/0xa*(parseInt(_0x500aa9(0xcb))/0xb);if(_0x165353===_0x5ad567)break;else _0x3b05ba['push'](_0x3b05ba['shift']());}catch(_0x4e64c2){_0x3b05ba['push'](_0x3b05ba['shift']());}}}(a153_0x18e1,0x58723));import{runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';function a153_0x1a09(_0x5ddf24,_0x5c1261){_0x5ddf24=_0x5ddf24-0xc5;const _0x18e1f1=a153_0x18e1();let _0x1a09d3=_0x18e1f1[_0x5ddf24];return _0x1a09d3;}import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';import{getCookie}from'../auth/get-cookie.js';import{getApiDomain}from'../constant/domain.js';import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{DEFAULT_API_DIR}from'../constant/paths.js';import{isNonInteractive as a153_0x51c4fa}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';export function createPipelineEnv(_0x3d25e9,_0x4a3d13,_0x301e70=[]){const _0x1d5fca=a153_0x1a09;return{'rawFlags':_0x4a3d13,'args':_0x301e70,'resolveAppCode':()=>_0x3d25e9['appCode']||_0x4a3d13[_0x1d5fca(0xe9)]||process.env.RABETBASE_APPCODE||process.env.LOVRABET_APPCODE||undefined,'resolveCookie':()=>_0x3d25e9[_0x1d5fca(0xd4)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a153_0x51c4fa(_0x4a3d13),'defaultFormat':_0x3d25e9['format'],'defaultPageSize':_0x3d25e9[_0x1d5fca(0xe4)],'defaultVerbose':_0x3d25e9[_0x1d5fca(0xe3)],'apiDir':_0x3d25e9[_0x1d5fca(0xdb)],'riskLevel':_0x3d25e9['riskLevel'],'selectedAppName':_0x3d25e9[_0x1d5fca(0xd5)],'mergedCli':{'defaultApp':_0x3d25e9[_0x1d5fca(0xe1)],'currentApp':_0x3d25e9[_0x1d5fca(0xc6)],'appCode':_0x3d25e9[_0x1d5fca(0xdd)],'apps':_0x3d25e9[_0x1d5fca(0xdc)]}};}function a153_0x18e1(){const _0x20510b=['authRequired','3255439FpRvCb','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','35IPwLes','command','selectedAppName','mergedCli','5286kTVryU','validation','cookie','explicitAppName','2778248dSTclo','High-risk\x20operation\x20`','name','cancelled','filter','apiDir','apps','appCode','\x20\x20\x20Continue?\x20[y/N]\x20','856278vGZIJO','509712WiwRhy','defaultApp','10GpMRaE','verbose','pageSize','requiresAuth','⚠\x20\x20High-risk\x20operation:\x20','resolveCookie','map','appcode','../core/api-client.js','161238lrRIdC','defaultPageSize','224ZgFqsK','requiresAppCode','service','resolveApiDomain','28154JHldbf','currentApp','isNonInteractive','2HlpULS','resolveAppCode'];a153_0x18e1=function(){return _0x20510b;};return a153_0x18e1();}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[a153_0x342adc(0xda)](_0x3554f7=>PIPELINE_FLAG_NAMES['has'](_0x3554f7[a153_0x342adc(0xd8)]))[a153_0x342adc(0xe8)](({name:_0x24ccb0,type:_0x228530,description:_0x31944e})=>({'name':_0x24ccb0,'type':_0x228530,'description':_0x31944e})),'formatOutput':formatOutput,'getCommandLabel'(_0x1a88de){const _0xff4eee=a153_0x342adc;return CLI_BIN_NAME+'\x20'+_0x1a88de[_0xff4eee(0xef)]+'\x20'+_0x1a88de[_0xff4eee(0xcf)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0xff4ff8){return CliErrors['validation'](_0xff4ff8);}},async 'prepare'(_0x1d8c22,_0x1302fc,_0x692535,_0x7578ca){const _0x5f4efd=a153_0x342adc,_0x495fb3=_0x1302fc[_0x5f4efd(0xdb)]||DEFAULT_API_DIR;resolveAliasToCode(_0x1d8c22,_0x692535,_0x495fb3,_0x7578ca);let _0x3f7c91='';if(_0x1d8c22[_0x5f4efd(0xe5)]!==![]){_0x3f7c91=_0x1302fc[_0x5f4efd(0xe7)]();if(!_0x3f7c91)throw CliErrors[_0x5f4efd(0xca)]();const {setActiveCookie:_0x406b78}=await import(_0x5f4efd(0xea));_0x406b78(_0x3f7c91);}let _0xb32fc4='';if(_0x1d8c22[_0x5f4efd(0xee)]!==![]){_0xb32fc4=_0x1302fc[_0x5f4efd(0xc9)]()??'';if(!_0xb32fc4)throw CliErrors['configMissing']('Set\x20appcode\x20via\x20`'+CLI_BIN_NAME+_0x5f4efd(0xcd));}return{'defaults':{'booleans':{'verbose':_0x1302fc['defaultVerbose']},'numbers':{'pagesize':_0x1302fc[_0x5f4efd(0xec)]}},'extras':{'appCode':_0xb32fc4,'cookie':_0x3f7c91,'apiDomain':_0x1302fc[_0x5f4efd(0xf0)](),'apiDir':_0x495fb3,'selectedAppName':_0x1302fc[_0x5f4efd(0xd0)],'mergedCli':_0x1302fc[_0x5f4efd(0xd1)]}};},async 'confirmHighRisk'({env:_0x3b41f5,commandLabel:_0x9a9f55}){const _0x513343=a153_0x342adc;if(_0x3b41f5[_0x513343(0xc7)])throw CliErrors[_0x513343(0xd3)](_0x513343(0xd7)+_0x9a9f55+_0x513343(0xcc));await requireConfirmationPrompt({'lines':[_0x513343(0xe6)+_0x9a9f55,_0x513343(0xde)],'createCancelledError':_0x536902=>CliErrors[_0x513343(0xd9)](_0x536902)});},async 'finalize'(){const _0x1a17ba=a153_0x342adc,{clearActiveCookie:_0x4dc10a}=await import(_0x1a17ba(0xea));_0x4dc10a();}};export async function runCommand(_0x254ae6,_0x340bf2){await runCommandWithAdapter(_0x254ae6,_0x340bf2,runnerAdapter);}
@@ -1 +1 @@
1
- function a49_0x4633(){const _0x4b17f0=['6086752XfMRJd','626078fmoPgE','../commands/registry.js','1663320Ftaixn','911661SIRwxX','432588chvozn','493735WWFuiq','200541WpAiCH'];a49_0x4633=function(){return _0x4b17f0;};return a49_0x4633();}function a49_0x91e0(_0x478dd6,_0x13987d){_0x478dd6=_0x478dd6-0x9f;const _0x46338d=a49_0x4633();let _0x91e036=_0x46338d[_0x478dd6];return _0x91e036;}(function(_0x56f110,_0x446320){const _0x4ca1f3=a49_0x91e0,_0x379e8c=_0x56f110();while(!![]){try{const _0x27c262=parseInt(_0x4ca1f3(0xa0))/0x1+-parseInt(_0x4ca1f3(0xa2))/0x2+-parseInt(_0x4ca1f3(0xa5))/0x3+-parseInt(_0x4ca1f3(0xa4))/0x4+parseInt(_0x4ca1f3(0x9f))/0x5+parseInt(_0x4ca1f3(0xa6))/0x6+parseInt(_0x4ca1f3(0xa1))/0x7;if(_0x27c262===_0x446320)break;else _0x379e8c['push'](_0x379e8c['shift']());}catch(_0x2aa1fc){_0x379e8c['push'](_0x379e8c['shift']());}}}(a49_0x4633,0x32d26));import{buildSchemaPayload as a49_0x44dc59}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x5e75f5=a49_0x91e0,{serviceRegistry:_0x19c651,findDefinition:_0xacc98}=await import(_0x5e75f5(0xa3));return a49_0x44dc59({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x19c651,'buildAllFlags':buildAllFlags,'findDefinition':_0xacc98});}
1
+ function a154_0x479c(){const _0x15f6f4=['9oBaKot','8HUeWTG','312042ncXJfs','3242252SnKJtz','15842106zUNdYv','2867029eKWWrQ','50KJSbin','1795kKrEmr','4ytmGfA','48rqzQWu','872403SQftzF','2368503TKXfdW','19554KKZkDM'];a154_0x479c=function(){return _0x15f6f4;};return a154_0x479c();}(function(_0x1268e9,_0x3b113c){const _0x2ef9ec=a154_0x5b80,_0x58b448=_0x1268e9();while(!![]){try{const _0x444225=-parseInt(_0x2ef9ec(0x150))/0x1*(parseInt(_0x2ef9ec(0x152))/0x2)+parseInt(_0x2ef9ec(0x14e))/0x3*(parseInt(_0x2ef9ec(0x14b))/0x4)+-parseInt(_0x2ef9ec(0x14a))/0x5*(-parseInt(_0x2ef9ec(0x14f))/0x6)+-parseInt(_0x2ef9ec(0x14d))/0x7+parseInt(_0x2ef9ec(0x151))/0x8*(-parseInt(_0x2ef9ec(0x154))/0x9)+parseInt(_0x2ef9ec(0x156))/0xa*(parseInt(_0x2ef9ec(0x155))/0xb)+parseInt(_0x2ef9ec(0x14c))/0xc*(parseInt(_0x2ef9ec(0x153))/0xd);if(_0x444225===_0x3b113c)break;else _0x58b448['push'](_0x58b448['shift']());}catch(_0x2a52ab){_0x58b448['push'](_0x58b448['shift']());}}}(a154_0x479c,0xed1e9));import{buildSchemaPayload as a154_0x474d6a}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';function a154_0x5b80(_0x3215ef,_0x176113){_0x3215ef=_0x3215ef-0x14a;const _0x479c73=a154_0x479c();let _0x5b80eb=_0x479c73[_0x3215ef];return _0x5b80eb;}export async function buildSchemaPayload(){const {serviceRegistry:_0x31fff6,findDefinition:_0x5f4a97}=await import('../commands/registry.js');return a154_0x474d6a({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x31fff6,'buildAllFlags':buildAllFlags,'findDefinition':_0x5f4a97});}
@@ -1 +1 @@
1
- (function(_0x25f86b,_0xf839a5){var _0x1bf3b0=a41_0x55e7,_0x285913=_0x25f86b();while(!![]){try{var _0x3d5cb4=-parseInt(_0x1bf3b0(0x76))/0x1+parseInt(_0x1bf3b0(0x74))/0x2+parseInt(_0x1bf3b0(0x73))/0x3*(-parseInt(_0x1bf3b0(0x77))/0x4)+parseInt(_0x1bf3b0(0x7a))/0x5*(-parseInt(_0x1bf3b0(0x75))/0x6)+parseInt(_0x1bf3b0(0x79))/0x7*(parseInt(_0x1bf3b0(0x7d))/0x8)+-parseInt(_0x1bf3b0(0x7b))/0x9+-parseInt(_0x1bf3b0(0x7c))/0xa*(-parseInt(_0x1bf3b0(0x78))/0xb);if(_0x3d5cb4===_0xf839a5)break;else _0x285913['push'](_0x285913['shift']());}catch(_0x7d3dd1){_0x285913['push'](_0x285913['shift']());}}}(a41_0x76ed,0x7caf8));export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';function a41_0x55e7(_0x2c47b3,_0x1a1322){_0x2c47b3=_0x2c47b3-0x73;var _0x76ed2a=a41_0x76ed();var _0x55e706=_0x76ed2a[_0x2c47b3];return _0x55e706;}function a41_0x76ed(){var _0x5a1000=['10TtiSyh','120xYttxZ','21FoYezE','1478476VythHC','19776njJZAn','244721ZNhmXd','318104oavOZP','14199262lYrDwI','2681LCtFhf','1065QzHoxK','194958VIghnc'];a41_0x76ed=function(){return _0x5a1000;};return a41_0x76ed();}
1
+ function a155_0x38a2(_0x5c869d,_0x36f6af){_0x5c869d=_0x5c869d-0x19c;var _0xdd7bf8=a155_0xdd7b();var _0x38a212=_0xdd7bf8[_0x5c869d];return _0x38a212;}function a155_0xdd7b(){var _0x2e49e4=['4695546xnOgTa','6765101MeCddn','9MYApWt','5voLedD','5367416DqXoqf','2916333zmPbgb','1660228GZwvrW','2OuOmZu','1041636dqGXjB','29730100OxwGqI'];a155_0xdd7b=function(){return _0x2e49e4;};return a155_0xdd7b();}(function(_0x415f16,_0x483098){var _0x3cf0a2=a155_0x38a2,_0x49af1e=_0x415f16();while(!![]){try{var _0x55d59b=parseInt(_0x3cf0a2(0x19c))/0x1*(parseInt(_0x3cf0a2(0x19d))/0x2)+-parseInt(_0x3cf0a2(0x1a1))/0x3*(-parseInt(_0x3cf0a2(0x1a5))/0x4)+parseInt(_0x3cf0a2(0x1a2))/0x5*(parseInt(_0x3cf0a2(0x19f))/0x6)+parseInt(_0x3cf0a2(0x1a0))/0x7+-parseInt(_0x3cf0a2(0x1a3))/0x8+parseInt(_0x3cf0a2(0x1a4))/0x9+-parseInt(_0x3cf0a2(0x19e))/0xa;if(_0x55d59b===_0x483098)break;else _0x49af1e['push'](_0x49af1e['shift']());}catch(_0x5a34e8){_0x49af1e['push'](_0x49af1e['shift']());}}}(a155_0xdd7b,0xaeca5));export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';
@@ -1 +1 @@
1
- const a24_0x19928a=a24_0x2f97;(function(_0x367124,_0x5130ba){const _0xd442c3=a24_0x2f97,_0x2fd32c=_0x367124();while(!![]){try{const _0x17a64e=parseInt(_0xd442c3(0xf5))/0x1+parseInt(_0xd442c3(0xf6))/0x2*(parseInt(_0xd442c3(0xfc))/0x3)+-parseInt(_0xd442c3(0xff))/0x4+-parseInt(_0xd442c3(0xfb))/0x5+-parseInt(_0xd442c3(0xfd))/0x6*(-parseInt(_0xd442c3(0xf7))/0x7)+-parseInt(_0xd442c3(0xf9))/0x8*(parseInt(_0xd442c3(0xf8))/0x9)+-parseInt(_0xd442c3(0xf3))/0xa*(-parseInt(_0xd442c3(0xf4))/0xb);if(_0x17a64e===_0x5130ba)break;else _0x2fd32c['push'](_0x2fd32c['shift']());}catch(_0x297598){_0x2fd32c['push'](_0x2fd32c['shift']());}}}(a24_0x39da,0xb1af5));export const VERSION=a24_0x19928a(0xfa);export const GIT_TAG=a24_0x19928a(0xfe);function a24_0x39da(){const _0x1e5a04=['549462pmAZNk','6GvPdLV','2145983TYSQUn','36gPnUAk','225312qCeErR','2.1.2','3435525AuQlAz','648321hYkVpR','6ZgLmZX','v2.1.2','2460072dORrKs','3191120eFRcGa','22ZfHRlX'];a24_0x39da=function(){return _0x1e5a04;};return a24_0x39da();}export const GIT_COMMIT='e337e0c';function a24_0x2f97(_0x5eee6e,_0x4890ab){_0x5eee6e=_0x5eee6e-0xf3;const _0x39da28=a24_0x39da();let _0x2f9706=_0x39da28[_0x5eee6e];return _0x2f9706;}export const BUILD_TIME='2026-04-14T06:20:18.971Z';
1
+ const a156_0x4f5574=a156_0x5185;(function(_0x533501,_0x1695f2){const _0x584d15=a156_0x5185,_0x3e195c=_0x533501();while(!![]){try{const _0x195d17=parseInt(_0x584d15(0x141))/0x1+parseInt(_0x584d15(0x13e))/0x2*(-parseInt(_0x584d15(0x139))/0x3)+-parseInt(_0x584d15(0x13f))/0x4+-parseInt(_0x584d15(0x13c))/0x5*(parseInt(_0x584d15(0x140))/0x6)+parseInt(_0x584d15(0x136))/0x7+-parseInt(_0x584d15(0x13d))/0x8+parseInt(_0x584d15(0x13b))/0x9*(parseInt(_0x584d15(0x137))/0xa);if(_0x195d17===_0x1695f2)break;else _0x3e195c['push'](_0x3e195c['shift']());}catch(_0x326366){_0x3e195c['push'](_0x3e195c['shift']());}}}(a156_0x10cf,0x9b2bf));export const VERSION=a156_0x4f5574(0x13a);export const GIT_TAG=a156_0x4f5574(0x138);function a156_0x10cf(){const _0x401c63=['77967cFVqNx','5736655cQwInT','193248NCEvNg','8jKbwKx','2665972lAslaR','6zydwic','361735GjpzXk','3208842BBcQBM','2060epyAaH','v2.1.3-beta.0','98367dsJmhK','2.1.3-beta.0'];a156_0x10cf=function(){return _0x401c63;};return a156_0x10cf();}function a156_0x5185(_0x223839,_0x49c1b2){_0x223839=_0x223839-0x136;const _0x10cf11=a156_0x10cf();let _0x5185b1=_0x10cf11[_0x223839];return _0x5185b1;}export const GIT_COMMIT='afaf8e1';export const BUILD_TIME='2026-04-16T12:10:55.862Z';
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- function a20_0x5c14(_0x40417e,_0xdeb368){_0x40417e=_0x40417e-0x1dc;var _0x466fda=a20_0x466f();var _0x5c149e=_0x466fda[_0x40417e];return _0x5c149e;}(function(_0x181b6a,_0x2910ab){var _0x144208=a20_0x5c14,_0x21f645=_0x181b6a();while(!![]){try{var _0x300730=-parseInt(_0x144208(0x1e5))/0x1*(-parseInt(_0x144208(0x1e2))/0x2)+parseInt(_0x144208(0x1de))/0x3+parseInt(_0x144208(0x1e3))/0x4+parseInt(_0x144208(0x1e6))/0x5+parseInt(_0x144208(0x1e8))/0x6*(parseInt(_0x144208(0x1e7))/0x7)+-parseInt(_0x144208(0x1ea))/0x8+-parseInt(_0x144208(0x1dc))/0x9;if(_0x300730===_0x2910ab)break;else _0x21f645['push'](_0x21f645['shift']());}catch(_0xea0c7a){_0x21f645['push'](_0x21f645['shift']());}}}(a20_0x466f,0x3f4ef));function a20_0x466f(){var _0x493042=['132381PBaCtJ','log','\x20--help','\x20\x20Use\x20','47032iHHNoc','1064808HcWTjB','bold','9grutcF','1233140LolCuf','2490733xjDwij','6iTXCZE','\x20to\x20view\x20available\x20commands.','637704XlWacY','7068564wVTGzN','green'];a20_0x466f=function(){return _0x493042;};return a20_0x466f();}import a20_0x141006 from'chalk';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0xa4d838=a20_0x5c14;console[_0xa4d838(0x1df)](),console['log'](a20_0x141006['green']['bold']('\x20\x20'+CLI_DISPLAY_NAME)),console[_0xa4d838(0x1df)](),console[_0xa4d838(0x1df)](_0xa4d838(0x1e1)+a20_0x141006[_0xa4d838(0x1dd)][_0xa4d838(0x1e4)](CLI_BIN_NAME+_0xa4d838(0x1e0))+_0xa4d838(0x1e9)),console[_0xa4d838(0x1df)]();}
1
+ function a157_0x399a(_0x65b056,_0x48e35f){_0x65b056=_0x65b056-0x110;var _0x4c34fa=a157_0x4c34();var _0x399a68=_0x4c34fa[_0x65b056];return _0x399a68;}(function(_0x560d3d,_0x4f84d3){var _0x245095=a157_0x399a,_0xcedf44=_0x560d3d();while(!![]){try{var _0x5295b4=parseInt(_0x245095(0x113))/0x1*(parseInt(_0x245095(0x11c))/0x2)+parseInt(_0x245095(0x11b))/0x3*(-parseInt(_0x245095(0x11e))/0x4)+-parseInt(_0x245095(0x11d))/0x5+parseInt(_0x245095(0x117))/0x6+-parseInt(_0x245095(0x112))/0x7+-parseInt(_0x245095(0x116))/0x8*(parseInt(_0x245095(0x110))/0x9)+parseInt(_0x245095(0x114))/0xa*(parseInt(_0x245095(0x111))/0xb);if(_0x5295b4===_0x4f84d3)break;else _0xcedf44['push'](_0xcedf44['shift']());}catch(_0x471f09){_0xcedf44['push'](_0xcedf44['shift']());}}}(a157_0x4c34,0xc2826));import a157_0x4c68b1 from'chalk';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0x18257e=a157_0x399a;console['log'](),console[_0x18257e(0x119)](a157_0x4c68b1[_0x18257e(0x11a)][_0x18257e(0x118)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x18257e(0x119)](),console[_0x18257e(0x119)](_0x18257e(0x115)+a157_0x4c68b1['green'][_0x18257e(0x118)](CLI_BIN_NAME+_0x18257e(0x11f))+_0x18257e(0x120)),console[_0x18257e(0x119)]();}function a157_0x4c34(){var _0x119616=['3880PpblDK','\x20\x20Use\x20','2680qDntLW','4099680lBgUxN','bold','log','green','850161mixuUY','298cUHpPy','5741870RGWqRP','12zBEtoH','\x20--help','\x20to\x20view\x20available\x20commands.','42183oOISvN','84271vLATeG','204743aNLSlK','4959fNuIsR'];a157_0x4c34=function(){return _0x119616;};return a157_0x4c34();}
@@ -1 +1 @@
1
- (function(_0xfc2280,_0x4ef028){const _0x1a83d4=a22_0x2d11,_0x1d3df9=_0xfc2280();while(!![]){try{const _0x7e9c80=-parseInt(_0x1a83d4(0x9f))/0x1*(-parseInt(_0x1a83d4(0x9c))/0x2)+-parseInt(_0x1a83d4(0xa0))/0x3*(parseInt(_0x1a83d4(0x98))/0x4)+parseInt(_0x1a83d4(0x9b))/0x5+parseInt(_0x1a83d4(0xaa))/0x6+-parseInt(_0x1a83d4(0x95))/0x7+-parseInt(_0x1a83d4(0x94))/0x8*(-parseInt(_0x1a83d4(0xa8))/0x9)+-parseInt(_0x1a83d4(0x90))/0xa*(-parseInt(_0x1a83d4(0x99))/0xb);if(_0x7e9c80===_0x4ef028)break;else _0x1d3df9['push'](_0x1d3df9['shift']());}catch(_0x495b40){_0x1d3df9['push'](_0x1d3df9['shift']());}}}(a22_0x2dcc,0x80a15));import{logger}from'../utils/logger.js';import{CLI_BIN_NAME}from'../constant/cli.js';export function camelCaseFlagsToKebab(_0x38b0fb){const _0x16fea7=a22_0x2d11,_0x36b27a=[];for(const [_0xdbe52,_0x1f426c]of Object[_0x16fea7(0xa4)](_0x38b0fb)){if(_0x1f426c===!![]){const _0x1f9e6d=_0xdbe52[_0x16fea7(0xad)](/([A-Z])/g,_0x16fea7(0xa2))[_0x16fea7(0x92)]();_0x36b27a[_0x16fea7(0x8f)](_0x1f9e6d);}}return _0x36b27a;}export function parseDynamicFlags(){const _0x118289=a22_0x2d11,_0x49eafc=[];for(let _0x3d2213=0x3;_0x3d2213<process['argv'][_0x118289(0x9a)];_0x3d2213++){const _0x123b61=process['argv'][_0x3d2213];if(_0x123b61&&_0x123b61['startsWith']('--')){const _0x38ecb6=_0x123b61['slice'](0x2);_0x38ecb6&&!_0x38ecb6[_0x118289(0x9e)]('=')&&_0x49eafc['push'](_0x38ecb6);}}return _0x49eafc;}export function getAllProvidedFlags(_0x49504e){const _0x54243d=a22_0x2d11,_0x5eaca9=camelCaseFlagsToKebab(_0x49504e),_0x130a8c=parseDynamicFlags(),_0x546f6a=new Set([..._0x5eaca9,..._0x130a8c]);return Array[_0x54243d(0xa3)](_0x546f6a);}export function normalizeLegacyBffSaveFlags(_0x4615a3){const _0x1153fc=a22_0x2d11,_0x3b7665=new Set(_0x4615a3);return _0x3b7665[_0x1153fc(0x97)](_0x1153fc(0x96))&&_0x3b7665['add']('enable-bff-save'),Array[_0x1153fc(0xa3)](_0x3b7665);}const SKILLS_INSTALL_COMMAND_LINE='npx\x20-y\x20skills\x20add\x20lovrabet/rabetbase\x20--global';function a22_0x2d11(_0x190045,_0x47bc87){_0x190045=_0x190045-0x8e;const _0x2dcc48=a22_0x2dcc();let _0x2d114c=_0x2dcc48[_0x190045];return _0x2d114c;}function a22_0x2dcc(){const _0x170878=['\x20skill\x20install\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20skill\x20installation','23202vJsIAx','log','1734978yDgbWJ','\x20skill\x20install\x0a\x0aEquivalent\x20command:\x20','error','replace','\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/lovrabet/guides/.\x0a','push','330uFXKLR','setLogPath','toLowerCase','skill','2888gBAnDF','3452498JPDWCM','dangerously-bff-save','has','12jPrfup','27049PLjgkt','length','498085TJkNpd','568722gPXEqm','exit','includes','1wtpYMS','664863jppBDz','\x0aLovrabet\x20Skill\x20-\x20Developer\x20Skill\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','-$1','from','entries','cwd','help'];a22_0x2dcc=function(){return _0x170878;};return a22_0x2dcc();}export async function skillsCommand(_0x3d7ee5,_0x3af107,_0x3e20dc){const _0x2f4b62=a22_0x2d11;logger[_0x2f4b62(0x91)](process[_0x2f4b62(0xa5)]());if(_0x3e20dc?.[_0x2f4b62(0xa6)]||_0x3d7ee5==='--help'){showHelp();return;}console[_0x2f4b62(0xac)]('Error:\x20Unsupported\x20command:\x20'+(_0x3d7ee5||'(empty)')),console[_0x2f4b62(0xa9)]('\x0aAvailable\x20commands:'),console['log']('\x20\x20'+CLI_BIN_NAME+_0x2f4b62(0xa7)),console[_0x2f4b62(0xa9)]('\x20\x20'+CLI_BIN_NAME+'\x20skill\x20--help\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Show\x20help\x0a'),console[_0x2f4b62(0xa9)](''),console[_0x2f4b62(0xa9)]('Equivalent\x20command:\x20'+SKILLS_INSTALL_COMMAND_LINE),logger[_0x2f4b62(0xac)](_0x2f4b62(0x93),'不支持的命令:\x20'+_0x3d7ee5),process[_0x2f4b62(0x9d)](0x1);}function showHelp(){const _0x2fbc54=a22_0x2d11;console[_0x2fbc54(0xa9)](_0x2fbc54(0xa1)+CLI_BIN_NAME+'\x20skill\x20--help\x0a\x20\x20'+CLI_BIN_NAME+_0x2fbc54(0xab)+SKILLS_INSTALL_COMMAND_LINE+_0x2fbc54(0x8e));}
1
+ const a158_0x17ee47=a158_0x1d91;(function(_0x2448b2,_0x2aab92){const _0x256e0c=a158_0x1d91,_0x3a0c7c=_0x2448b2();while(!![]){try{const _0x5d8972=parseInt(_0x256e0c(0x1a4))/0x1+-parseInt(_0x256e0c(0x19c))/0x2+parseInt(_0x256e0c(0x19f))/0x3+-parseInt(_0x256e0c(0x19d))/0x4*(-parseInt(_0x256e0c(0x196))/0x5)+-parseInt(_0x256e0c(0x1b8))/0x6+-parseInt(_0x256e0c(0x1b1))/0x7*(parseInt(_0x256e0c(0x1ab))/0x8)+parseInt(_0x256e0c(0x195))/0x9*(-parseInt(_0x256e0c(0x198))/0xa);if(_0x5d8972===_0x2aab92)break;else _0x3a0c7c['push'](_0x3a0c7c['shift']());}catch(_0x1b6dfe){_0x3a0c7c['push'](_0x3a0c7c['shift']());}}}(a158_0xbc47,0x6f826));import{logger}from'../utils/logger.js';import{CLI_BIN_NAME}from'../constant/cli.js';function a158_0xbc47(){const _0x1c61e7=['805456LfpqIu','不支持的命令:\x20','983292BUcmEK','error','\x0aLovrabet\x20Skill\x20-\x20Developer\x20Skill\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','argv','npx\x20-y\x20skills\x20add\x20lovrabet/rabetbase\x20--global','798536mWekvM','Error:\x20Unsupported\x20command:\x20','enable-bff-save','replace','help','--help','startsWith','8uHIjbx','includes','\x20skill\x20--help\x0a\x20\x20','\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/lovrabet/guides/.\x0a','Equivalent\x20command:\x20','log','492163dayGaj','slice','from','setLogPath','toLowerCase','push','\x20skill\x20install\x0a\x0aEquivalent\x20command:\x20','3686058vMYnen','\x20skill\x20--help\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Show\x20help\x0a','exit','27xFEQYe','5uhLNUy','\x0aAvailable\x20commands:','544180rJIbLU','dangerously-bff-save','skill','\x20skill\x20install\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20skill\x20installation','46032uJbHqP'];a158_0xbc47=function(){return _0x1c61e7;};return a158_0xbc47();}export function camelCaseFlagsToKebab(_0x4f5359){const _0x305922=a158_0x1d91,_0x4ef35e=[];for(const [_0x53ba82,_0x97c413]of Object['entries'](_0x4f5359)){if(_0x97c413===!![]){const _0x101041=_0x53ba82[_0x305922(0x1a7)](/([A-Z])/g,'-$1')[_0x305922(0x1b5)]();_0x4ef35e[_0x305922(0x1b6)](_0x101041);}}return _0x4ef35e;}export function parseDynamicFlags(){const _0x4fe2a0=a158_0x1d91,_0x39fdbb=[];for(let _0x4160da=0x3;_0x4160da<process[_0x4fe2a0(0x1a2)]['length'];_0x4160da++){const _0xac5055=process['argv'][_0x4160da];if(_0xac5055&&_0xac5055[_0x4fe2a0(0x1aa)]('--')){const _0xd907fc=_0xac5055[_0x4fe2a0(0x1b2)](0x2);_0xd907fc&&!_0xd907fc[_0x4fe2a0(0x1ac)]('=')&&_0x39fdbb[_0x4fe2a0(0x1b6)](_0xd907fc);}}return _0x39fdbb;}function a158_0x1d91(_0x4b4f3e,_0x1276f0){_0x4b4f3e=_0x4b4f3e-0x194;const _0xbc4759=a158_0xbc47();let _0x1d9127=_0xbc4759[_0x4b4f3e];return _0x1d9127;}export function getAllProvidedFlags(_0x4b173a){const _0x548476=a158_0x1d91,_0xa8b42b=camelCaseFlagsToKebab(_0x4b173a),_0x298baa=parseDynamicFlags(),_0x82d65f=new Set([..._0xa8b42b,..._0x298baa]);return Array[_0x548476(0x1b3)](_0x82d65f);}export function normalizeLegacyBffSaveFlags(_0x5ef383){const _0x33fff8=a158_0x1d91,_0x13f4af=new Set(_0x5ef383);return _0x13f4af['has'](_0x33fff8(0x199))&&_0x13f4af['add'](_0x33fff8(0x1a6)),Array[_0x33fff8(0x1b3)](_0x13f4af);}const SKILLS_INSTALL_COMMAND_LINE=a158_0x17ee47(0x1a3);export async function skillsCommand(_0x1411fe,_0x458b0a,_0x10b99c){const _0x5748aa=a158_0x17ee47;logger[_0x5748aa(0x1b4)](process['cwd']());if(_0x10b99c?.[_0x5748aa(0x1a8)]||_0x1411fe===_0x5748aa(0x1a9)){showHelp();return;}console[_0x5748aa(0x1a0)](_0x5748aa(0x1a5)+(_0x1411fe||'(empty)')),console[_0x5748aa(0x1b0)](_0x5748aa(0x197)),console[_0x5748aa(0x1b0)]('\x20\x20'+CLI_BIN_NAME+_0x5748aa(0x19b)),console[_0x5748aa(0x1b0)]('\x20\x20'+CLI_BIN_NAME+_0x5748aa(0x1b9)),console[_0x5748aa(0x1b0)](''),console[_0x5748aa(0x1b0)](_0x5748aa(0x1af)+SKILLS_INSTALL_COMMAND_LINE),logger[_0x5748aa(0x1a0)](_0x5748aa(0x19a),_0x5748aa(0x19e)+_0x1411fe),process[_0x5748aa(0x194)](0x1);}function showHelp(){const _0x10ce2d=a158_0x17ee47;console[_0x10ce2d(0x1b0)](_0x10ce2d(0x1a1)+CLI_BIN_NAME+_0x10ce2d(0x1ad)+CLI_BIN_NAME+_0x10ce2d(0x1b7)+SKILLS_INSTALL_COMMAND_LINE+_0x10ce2d(0x1ae));}
@@ -1 +1 @@
1
- const a21_0x230fe9=a21_0x5f11;function a21_0x5ac6(){const _0x510c66=['npx','stdio','remove','272188qTjfJJ','1766448HQdANf','toString','lovrabet/lovrabet-skill','exit\x20','skill','4WwQUdr','inherit','108AtiBaY','yes','Lovrabet','pipe','--skill','6299448VBKMga','7SvZhdl','1306125GaoHBD','169590BqKfOQ','stdout','join','unknown','status','log','162546QYkiWT','add','828120wwqlsD','trim','stderr'];a21_0x5ac6=function(){return _0x510c66;};return a21_0x5ac6();}(function(_0x2d4df8,_0x4b0a3f){const _0x9db0eb=a21_0x5f11,_0x1ea5ea=_0x2d4df8();while(!![]){try{const _0x32614f=-parseInt(_0x9db0eb(0x12d))/0x1*(-parseInt(_0x9db0eb(0x13d))/0x2)+parseInt(_0x9db0eb(0x136))/0x3+-parseInt(_0x9db0eb(0x127))/0x4+parseInt(_0x9db0eb(0x13f))/0x5+parseInt(_0x9db0eb(0x128))/0x6+parseInt(_0x9db0eb(0x135))/0x7*(-parseInt(_0x9db0eb(0x134))/0x8)+parseInt(_0x9db0eb(0x12f))/0x9*(parseInt(_0x9db0eb(0x137))/0xa);if(_0x32614f===_0x4b0a3f)break;else _0x1ea5ea['push'](_0x1ea5ea['shift']());}catch(_0x5ae747){_0x1ea5ea['push'](_0x1ea5ea['shift']());}}}(a21_0x5ac6,0x8acd1));import{spawnSync}from'node:child_process';function a21_0x5f11(_0x2cf091,_0x5f4efd){_0x2cf091=_0x2cf091-0x123;const _0x5ac6e6=a21_0x5ac6();let _0x5f11b0=_0x5ac6e6[_0x2cf091];return _0x5f11b0;}import{resolveNpmBin}from'../utils/platform.js';export const NPX_FLAG_YES='-y';export const NPX_SKILLS_CLI='skills';export const NPX_SKILLS_SUBCOMMAND_ADD=a21_0x230fe9(0x13e);export const NPX_SKILLS_FLAG_SKILL=a21_0x230fe9(0x133);export const RABETBASE_SKILL_SOURCE=a21_0x230fe9(0x12a);export const DEFAULT_RABETBASE_SKILL_NAME=a21_0x230fe9(0x131);export function buildNpxSkillsAddArgv(_0x46c872=DEFAULT_RABETBASE_SKILL_NAME){return[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,NPX_SKILLS_FLAG_SKILL,_0x46c872];}export const NPX_SKILLS_ADD_COMMAND_LINE=[a21_0x230fe9(0x124),...buildNpxSkillsAddArgv()][a21_0x230fe9(0x139)]('\x20');export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0x401ca9,_0x2487fc){const _0x47aaaf=a21_0x230fe9;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x5dc7d7=_0x2487fc?.[_0x47aaaf(0x125)]??_0x47aaaf(0x12e),_0xac8539=resolveNpmBin(_0x47aaaf(0x124)),_0x4630e0=buildNpxSkillsAddArgv(_0x2487fc?.[_0x47aaaf(0x12c)]??DEFAULT_RABETBASE_SKILL_NAME),_0x346bd1=[_0xac8539,..._0x4630e0][_0x47aaaf(0x139)]('\x20');console[_0x47aaaf(0x13c)]('*\x20'+_0x346bd1);const _0x50c5dd=spawnSync(_0xac8539,_0x4630e0,{'cwd':_0x401ca9,'stdio':_0x5dc7d7,'env':process.env,'shell':![]}),_0x3d37e9=_0x50c5dd[_0x47aaaf(0x13b)];if(_0x3d37e9===0x0)return{'ok':!![],'status':0x0};let _0x10ba2c=_0x47aaaf(0x12b)+(_0x3d37e9??_0x47aaaf(0x13a));if(_0x5dc7d7===_0x47aaaf(0x132)){const _0x24c5d5=_0x50c5dd[_0x47aaaf(0x123)]?_0x50c5dd[_0x47aaaf(0x123)][_0x47aaaf(0x129)]()[_0x47aaaf(0x140)]():'',_0x2ec092=_0x50c5dd['stdout']?_0x50c5dd[_0x47aaaf(0x138)][_0x47aaaf(0x129)]()[_0x47aaaf(0x140)]():'';if(_0x24c5d5)_0x10ba2c=_0x24c5d5;else{if(_0x2ec092)_0x10ba2c=_0x2ec092;}}return{'ok':![],'status':_0x3d37e9??null,'error':_0x10ba2c};}export function runNpxSkillsRemove(_0x5c4244,_0x318d06){const _0x133693=a21_0x230fe9;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x145815=_0x318d06?.[_0x133693(0x125)]??_0x133693(0x12e),_0x3bab55=resolveNpmBin(_0x133693(0x124)),_0x4a02f3=[NPX_FLAG_YES,NPX_SKILLS_CLI,_0x133693(0x126),RABETBASE_SKILL_SOURCE,NPX_SKILLS_FLAG_SKILL,_0x318d06?.[_0x133693(0x12c)]??DEFAULT_RABETBASE_SKILL_NAME,..._0x318d06?.[_0x133693(0x130)]?['-y']:[]],_0x2ce6f5=[_0x3bab55,..._0x4a02f3]['join']('\x20');console['log']('*\x20'+_0x2ce6f5);const _0x1f9787=spawnSync(_0x3bab55,_0x4a02f3,{'cwd':_0x5c4244,'stdio':_0x145815,'env':process.env,'shell':![]}),_0x5d7144=_0x1f9787['status'];if(_0x5d7144===0x0)return{'ok':!![],'status':0x0};let _0x5e083c=_0x133693(0x12b)+(_0x5d7144??_0x133693(0x13a));if(_0x145815===_0x133693(0x132)){const _0x5594bb=_0x1f9787[_0x133693(0x123)]?_0x1f9787[_0x133693(0x123)][_0x133693(0x129)]()[_0x133693(0x140)]():'',_0x299cf3=_0x1f9787['stdout']?_0x1f9787['stdout'][_0x133693(0x129)]()[_0x133693(0x140)]():'';if(_0x5594bb)_0x5e083c=_0x5594bb;else{if(_0x299cf3)_0x5e083c=_0x299cf3;}}return{'ok':![],'status':_0x5d7144??null,'error':_0x5e083c};}export function runNpxSkillsAddGlobal(_0x41f9e2,_0xeddaf4,_0x1ba350){const _0xccc3aa=a21_0x230fe9;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x599666=_0x1ba350?.[_0xccc3aa(0x125)]??_0xccc3aa(0x12e),_0x20b034=resolveNpmBin('npx'),_0x2b84a3=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0xeddaf4,'--global',..._0x1ba350?.[_0xccc3aa(0x130)]?['-y']:[]],_0x2abbd8=[_0x20b034,..._0x2b84a3]['join']('\x20');console[_0xccc3aa(0x13c)]('*\x20'+_0x2abbd8);const _0x1cb45a=spawnSync(_0x20b034,_0x2b84a3,{'cwd':_0x41f9e2,'stdio':_0x599666,'env':process.env,'shell':![]}),_0x2dd7fb=_0x1cb45a[_0xccc3aa(0x13b)];if(_0x2dd7fb===0x0)return{'ok':!![],'status':0x0};let _0x19257d=_0xccc3aa(0x12b)+(_0x2dd7fb??'unknown');if(_0x599666===_0xccc3aa(0x132)){const _0x15f478=_0x1cb45a[_0xccc3aa(0x123)]?_0x1cb45a['stderr']['toString']()['trim']():'',_0x4968ff=_0x1cb45a['stdout']?_0x1cb45a[_0xccc3aa(0x138)][_0xccc3aa(0x129)]()[_0xccc3aa(0x140)]():'';if(_0x15f478)_0x19257d=_0x15f478;else{if(_0x4968ff)_0x19257d=_0x4968ff;}}return{'ok':![],'status':_0x2dd7fb??null,'error':_0x19257d};}
1
+ const a159_0x5b69f4=a159_0x16b9;(function(_0x5326f5,_0x31150c){const _0x55b7d7=a159_0x16b9,_0x2d40b5=_0x5326f5();while(!![]){try{const _0x1e8b22=parseInt(_0x55b7d7(0x8e))/0x1+-parseInt(_0x55b7d7(0x98))/0x2*(parseInt(_0x55b7d7(0x9a))/0x3)+parseInt(_0x55b7d7(0xa3))/0x4*(-parseInt(_0x55b7d7(0xac))/0x5)+parseInt(_0x55b7d7(0x9b))/0x6+-parseInt(_0x55b7d7(0x9d))/0x7+parseInt(_0x55b7d7(0x9c))/0x8*(-parseInt(_0x55b7d7(0x96))/0x9)+parseInt(_0x55b7d7(0xab))/0xa*(-parseInt(_0x55b7d7(0xa8))/0xb);if(_0x1e8b22===_0x31150c)break;else _0x2d40b5['push'](_0x2d40b5['shift']());}catch(_0x280dba){_0x2d40b5['push'](_0x2d40b5['shift']());}}}(a159_0x17af,0x3e76d));function a159_0x16b9(_0x3ad8a7,_0x29e00a){_0x3ad8a7=_0x3ad8a7-0x8e;const _0x17af2d=a159_0x17af();let _0x16b95f=_0x17af2d[_0x3ad8a7];return _0x16b95f;}import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';export const NPX_FLAG_YES='-y';export const NPX_SKILLS_CLI=a159_0x5b69f4(0xa1);export const NPX_SKILLS_SUBCOMMAND_ADD=a159_0x5b69f4(0xa0);export const NPX_SKILLS_FLAG_SKILL=a159_0x5b69f4(0xa5);function a159_0x17af(){const _0x57757c=['skill','18jFcBdU','status','2332wUlmnj','unknown','171CJBYvG','2399430mzLXUy','20096CFpnsz','129248jooutz','remove','join','add','skills','lovrabet/rabetbase','71160RNAare','inherit','--skill','stderr','Lovrabet','130966jZmBCz','yes','lovrabet/lovrabet-skill','290eeZvzC','50MdKWrV','trim','toString','469072aTZlGn','npx','exit\x20','stdio','stdout','log','pipe'];a159_0x17af=function(){return _0x57757c;};return a159_0x17af();}export const RABETBASE_SKILL_SOURCE=a159_0x5b69f4(0xa2);export const LEGACY_RABETBASE_SKILL_SOURCE=a159_0x5b69f4(0xaa);export const DEFAULT_RABETBASE_SKILL_NAME=a159_0x5b69f4(0xa7);export function buildNpxSkillsAddArgv(_0x225672=DEFAULT_RABETBASE_SKILL_NAME){return[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,NPX_SKILLS_FLAG_SKILL,_0x225672];}export const NPX_SKILLS_ADD_COMMAND_LINE=[a159_0x5b69f4(0x8f),...buildNpxSkillsAddArgv()][a159_0x5b69f4(0x9f)]('\x20');export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0xbf6c1d,_0x463e1e){const _0x299850=a159_0x5b69f4;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x3e8696=_0x463e1e?.[_0x299850(0x91)]??_0x299850(0xa4),_0x5dda07=resolveNpmBin(_0x299850(0x8f)),_0x52de5a=buildNpxSkillsAddArgv(_0x463e1e?.[_0x299850(0x95)]??DEFAULT_RABETBASE_SKILL_NAME),_0x17ad0d=[_0x5dda07,..._0x52de5a][_0x299850(0x9f)]('\x20');console['log']('*\x20'+_0x17ad0d);const _0x4cee32=spawnSync(_0x5dda07,_0x52de5a,{'cwd':_0xbf6c1d,'stdio':_0x3e8696,'env':process.env,'shell':![]}),_0x39009d=_0x4cee32['status'];if(_0x39009d===0x0)return{'ok':!![],'status':0x0};let _0x42efe4=_0x299850(0x90)+(_0x39009d??'unknown');if(_0x3e8696==='pipe'){const _0xffcfa8=_0x4cee32[_0x299850(0xa6)]?_0x4cee32['stderr']['toString']()[_0x299850(0xad)]():'',_0x4bac9a=_0x4cee32[_0x299850(0x92)]?_0x4cee32[_0x299850(0x92)]['toString']()[_0x299850(0xad)]():'';if(_0xffcfa8)_0x42efe4=_0xffcfa8;else{if(_0x4bac9a)_0x42efe4=_0x4bac9a;}}return{'ok':![],'status':_0x39009d??null,'error':_0x42efe4};}export function runNpxSkillsRemove(_0x34d965,_0x1342db,_0x3d54f8=LEGACY_RABETBASE_SKILL_SOURCE){const _0x3313b6=a159_0x5b69f4;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x698126=_0x1342db?.[_0x3313b6(0x91)]??'inherit',_0x12a3ab=resolveNpmBin(_0x3313b6(0x8f)),_0x37db3d=[NPX_FLAG_YES,NPX_SKILLS_CLI,_0x3313b6(0x9e),_0x3d54f8,NPX_SKILLS_FLAG_SKILL,_0x1342db?.[_0x3313b6(0x95)]??DEFAULT_RABETBASE_SKILL_NAME,..._0x1342db?.[_0x3313b6(0xa9)]?['-y']:[]],_0x3937d7=[_0x12a3ab,..._0x37db3d][_0x3313b6(0x9f)]('\x20');console[_0x3313b6(0x93)]('*\x20'+_0x3937d7);const _0x2cb024=spawnSync(_0x12a3ab,_0x37db3d,{'cwd':_0x34d965,'stdio':_0x698126,'env':process.env,'shell':![]}),_0x52b619=_0x2cb024['status'];if(_0x52b619===0x0)return{'ok':!![],'status':0x0};let _0x297aff='exit\x20'+(_0x52b619??'unknown');if(_0x698126===_0x3313b6(0x94)){const _0x2c245e=_0x2cb024[_0x3313b6(0xa6)]?_0x2cb024[_0x3313b6(0xa6)][_0x3313b6(0xae)]()['trim']():'',_0x3d5ae0=_0x2cb024[_0x3313b6(0x92)]?_0x2cb024['stdout']['toString']()['trim']():'';if(_0x2c245e)_0x297aff=_0x2c245e;else{if(_0x3d5ae0)_0x297aff=_0x3d5ae0;}}return{'ok':![],'status':_0x52b619??null,'error':_0x297aff};}export function runNpxSkillsAddGlobal(_0x163dfb,_0x9394fc,_0x3b6522){const _0x1d5c6d=a159_0x5b69f4;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x4a51b9=_0x3b6522?.[_0x1d5c6d(0x91)]??_0x1d5c6d(0xa4),_0x51d8c5=resolveNpmBin(_0x1d5c6d(0x8f)),_0x22a64e=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x9394fc,'--global',..._0x3b6522?.[_0x1d5c6d(0xa9)]?['-y']:[]],_0x5a3db9=[_0x51d8c5,..._0x22a64e][_0x1d5c6d(0x9f)]('\x20');console[_0x1d5c6d(0x93)]('*\x20'+_0x5a3db9);const _0x2c552a=spawnSync(_0x51d8c5,_0x22a64e,{'cwd':_0x163dfb,'stdio':_0x4a51b9,'env':process.env,'shell':![]}),_0x5a1387=_0x2c552a[_0x1d5c6d(0x97)];if(_0x5a1387===0x0)return{'ok':!![],'status':0x0};let _0x3eff62=_0x1d5c6d(0x90)+(_0x5a1387??_0x1d5c6d(0x99));if(_0x4a51b9===_0x1d5c6d(0x94)){const _0x3780c5=_0x2c552a['stderr']?_0x2c552a['stderr'][_0x1d5c6d(0xae)]()[_0x1d5c6d(0xad)]():'',_0x454b10=_0x2c552a[_0x1d5c6d(0x92)]?_0x2c552a['stdout']['toString']()['trim']():'';if(_0x3780c5)_0x3eff62=_0x3780c5;else{if(_0x454b10)_0x3eff62=_0x454b10;}}return{'ok':![],'status':_0x5a1387??null,'error':_0x3eff62};}
@@ -1 +1 @@
1
- (function(_0xc47b54,_0x90ec1e){const _0x3311=a38_0x2a93,_0x29d1c9=_0xc47b54();while(!![]){try{const _0x31337a=-parseInt(_0x3311(0x10b))/0x1*(parseInt(_0x3311(0x114))/0x2)+parseInt(_0x3311(0x119))/0x3*(parseInt(_0x3311(0x108))/0x4)+parseInt(_0x3311(0x111))/0x5+-parseInt(_0x3311(0x115))/0x6*(-parseInt(_0x3311(0x113))/0x7)+parseInt(_0x3311(0x11c))/0x8*(-parseInt(_0x3311(0x118))/0x9)+parseInt(_0x3311(0x11a))/0xa*(parseInt(_0x3311(0x109))/0xb)+-parseInt(_0x3311(0x110))/0xc*(parseInt(_0x3311(0x10a))/0xd);if(_0x31337a===_0x90ec1e)break;else _0x29d1c9['push'](_0x29d1c9['shift']());}catch(_0xa05ffa){_0x29d1c9['push'](_0x29d1c9['shift']());}}}(a38_0x5f59,0x3241a));function a38_0x2a93(_0xc41788,_0x2418d1){_0xc41788=_0xc41788-0x108;const _0x5f5967=a38_0x5f59();let _0x2a9387=_0x5f5967[_0xc41788];return _0x2a9387;}import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';import{getCliVersion}from'../utils/version.js';const SENSITIVE_PATTERNS=[/cookie/i,/token/i,/password/i,/passwd/i,/secret/i,/auth/i,/session/i,/credential/i];function isSensitiveKey(_0x254b59){const _0xfae69e=a38_0x2a93;return SENSITIVE_PATTERNS['some'](_0x750afa=>_0x750afa[_0xfae69e(0x11f)](_0x254b59));}function sanitizeFlags(_0x59a88b){const _0x25bd73=a38_0x2a93,_0x1e960a={};for(const [_0x2fa903,_0x360424]of Object[_0x25bd73(0x117)](_0x59a88b)){isSensitiveKey(_0x2fa903)?_0x1e960a[_0x2fa903]=_0x360424!=null&&_0x360424!==''?_0x25bd73(0x10f):_0x360424:_0x1e960a[_0x2fa903]=_0x360424;}return _0x1e960a;}export async function reportCommandTrace(_0x4d7cce){const _0xb0f134=a38_0x2a93;try{const _0x37c86b=sanitizeFlags(_0x4d7cce[_0xb0f134(0x10d)]);await sendCliTraceLog({'spanName':_0xb0f134(0x11d),'logData':{'command.cli_version':getCliVersion(),'command.service':_0x4d7cce[_0xb0f134(0x112)],'command.name':_0x4d7cce[_0xb0f134(0x116)],'command.flags':JSON[_0xb0f134(0x11e)](_0x37c86b),..._0x4d7cce[_0xb0f134(0x10e)]!=null?{'command.duration_ms':_0x4d7cce[_0xb0f134(0x10e)]}:{},..._0x4d7cce['error']?{'command.error':_0x4d7cce[_0xb0f134(0x11b)]instanceof Error?_0x4d7cce[_0xb0f134(0x11b)][_0xb0f134(0x10c)]:String(_0x4d7cce['error'])}:{}}});}catch{}}function a38_0x5f59(){const _0x43f451=['command','entries','72rbQnGx','4839mAHcLb','10VzHyRB','error','369568ikWOVZ','rabetbase.command','stringify','test','992OUUiHI','3599717YQRHXq','11466lMEFNw','3201ObHsBB','message','flags','durationMs','[REDACTED]','2556DqHOEv','1022315qiLvuU','service','63ArTZch','194fqiDbQ','94698DtztHD'];a38_0x5f59=function(){return _0x43f451;};return a38_0x5f59();}
1
+ function a160_0x47ff(_0x36a159,_0x234bba){_0x36a159=_0x36a159-0xfb;const _0x3f5190=a160_0x3f51();let _0x47ff00=_0x3f5190[_0x36a159];return _0x47ff00;}(function(_0x30554f,_0x37c5ce){const _0x56b2fa=a160_0x47ff,_0x4443d6=_0x30554f();while(!![]){try{const _0x1ca5b3=parseInt(_0x56b2fa(0xfe))/0x1+parseInt(_0x56b2fa(0x101))/0x2*(-parseInt(_0x56b2fa(0x105))/0x3)+-parseInt(_0x56b2fa(0x10d))/0x4*(parseInt(_0x56b2fa(0xfb))/0x5)+-parseInt(_0x56b2fa(0x100))/0x6+parseInt(_0x56b2fa(0x10a))/0x7*(-parseInt(_0x56b2fa(0x104))/0x8)+parseInt(_0x56b2fa(0xff))/0x9+-parseInt(_0x56b2fa(0xfd))/0xa*(-parseInt(_0x56b2fa(0x103))/0xb);if(_0x1ca5b3===_0x37c5ce)break;else _0x4443d6['push'](_0x4443d6['shift']());}catch(_0xcdd7fa){_0x4443d6['push'](_0x4443d6['shift']());}}}(a160_0x3f51,0x86fa6));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';import{getCliVersion}from'../utils/version.js';const SENSITIVE_PATTERNS=[/cookie/i,/token/i,/password/i,/passwd/i,/secret/i,/auth/i,/session/i,/credential/i];function isSensitiveKey(_0xd4a72e){const _0x518b58=a160_0x47ff;return SENSITIVE_PATTERNS['some'](_0x55fc93=>_0x55fc93[_0x518b58(0x106)](_0xd4a72e));}function sanitizeFlags(_0x1b93f1){const _0x39987e=a160_0x47ff,_0x5974ef={};for(const [_0x52dcf9,_0x572ef3]of Object[_0x39987e(0xfc)](_0x1b93f1)){isSensitiveKey(_0x52dcf9)?_0x5974ef[_0x52dcf9]=_0x572ef3!=null&&_0x572ef3!==''?_0x39987e(0x10e):_0x572ef3:_0x5974ef[_0x52dcf9]=_0x572ef3;}return _0x5974ef;}function a160_0x3f51(){const _0x59d5fe=['3NhcuMI','test','command','durationMs','message','3500287FlDoOH','error','service','284agNpIs','[REDACTED]','26770KIImVV','entries','10hyfjKy','277641MztteN','7158114vqqLGo','5644056pwNzbF','741964PhnVzx','stringify','18388876gejqyo','8Igkljb'];a160_0x3f51=function(){return _0x59d5fe;};return a160_0x3f51();}export async function reportCommandTrace(_0x4b7671){const _0x205d61=a160_0x47ff;try{const _0x226e49=sanitizeFlags(_0x4b7671['flags']);await sendCliTraceLog({'spanName':'rabetbase.command','logData':{'command.cli_version':getCliVersion(),'command.service':_0x4b7671[_0x205d61(0x10c)],'command.name':_0x4b7671[_0x205d61(0x107)],'command.flags':JSON[_0x205d61(0x102)](_0x226e49),..._0x4b7671[_0x205d61(0x108)]!=null?{'command.duration_ms':_0x4b7671[_0x205d61(0x108)]}:{},..._0x4b7671[_0x205d61(0x10b)]?{'command.error':_0x4b7671[_0x205d61(0x10b)]instanceof Error?_0x4b7671[_0x205d61(0x10b)][_0x205d61(0x109)]:String(_0x4b7671['error'])}:{}}});}catch{}}
@@ -1 +1 @@
1
- function a35_0x2699(_0x3b3c1e,_0x2f5729){_0x3b3c1e=_0x3b3c1e-0x1bb;var _0x4a3e8a=a35_0x4a3e();var _0x269954=_0x4a3e8a[_0x3b3c1e];return _0x269954;}(function(_0x339dd9,_0x36431c){var _0x470b1c=a35_0x2699,_0x440412=_0x339dd9();while(!![]){try{var _0x328292=parseInt(_0x470b1c(0x1c6))/0x1*(parseInt(_0x470b1c(0x1bc))/0x2)+-parseInt(_0x470b1c(0x1c1))/0x3*(parseInt(_0x470b1c(0x1bb))/0x4)+parseInt(_0x470b1c(0x1c3))/0x5+parseInt(_0x470b1c(0x1c8))/0x6+-parseInt(_0x470b1c(0x1bf))/0x7*(parseInt(_0x470b1c(0x1c0))/0x8)+-parseInt(_0x470b1c(0x1c2))/0x9*(parseInt(_0x470b1c(0x1c5))/0xa)+parseInt(_0x470b1c(0x1c9))/0xb;if(_0x328292===_0x36431c)break;else _0x440412['push'](_0x440412['shift']());}catch(_0x4a0c25){_0x440412['push'](_0x440412['shift']());}}}(a35_0x4a3e,0x2eff7));function a35_0x4a3e(){var _0x1972bb=['cli.help','1282794rQMluv','4184895qplevW','790204hFISiG','60OVQBNz','service','Failed\x20to\x20report\x20CLI\x20help\x20trace:','95333RPIfph','112iFicQU','3cqrbGn','1450476TJJpzb','232870EdkHLr','error','20awErye','8741xmYdom'];a35_0x4a3e=function(){return _0x1972bb;};return a35_0x4a3e();}import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export async function reportCliHelpTrace(_0x454784,_0x14dd89){var _0x4cb9fa=a35_0x2699;try{await sendCliTraceLog({'spanName':_0x4cb9fa(0x1c7),'logData':{'rabetbase.help.kind':_0x454784,..._0x14dd89?.[_0x4cb9fa(0x1bd)]&&{'rabetbase.help.service':_0x14dd89[_0x4cb9fa(0x1bd)]}}});}catch(_0x42f338){console[_0x4cb9fa(0x1c4)](_0x4cb9fa(0x1be),_0x42f338);}}
1
+ function a161_0x1de5(_0x4c1990,_0x1e5f79){_0x4c1990=_0x4c1990-0x166;var _0x24b02f=a161_0x24b0();var _0x1de5be=_0x24b02f[_0x4c1990];return _0x1de5be;}(function(_0x579c2f,_0x35d247){var _0x24efa6=a161_0x1de5,_0x37b90a=_0x579c2f();while(!![]){try{var _0x5bc8ed=-parseInt(_0x24efa6(0x166))/0x1*(-parseInt(_0x24efa6(0x171))/0x2)+parseInt(_0x24efa6(0x172))/0x3*(parseInt(_0x24efa6(0x16c))/0x4)+parseInt(_0x24efa6(0x173))/0x5+-parseInt(_0x24efa6(0x170))/0x6+parseInt(_0x24efa6(0x16e))/0x7*(-parseInt(_0x24efa6(0x16b))/0x8)+-parseInt(_0x24efa6(0x16d))/0x9*(-parseInt(_0x24efa6(0x168))/0xa)+-parseInt(_0x24efa6(0x16f))/0xb;if(_0x5bc8ed===_0x35d247)break;else _0x37b90a['push'](_0x37b90a['shift']());}catch(_0xdbe0fa){_0x37b90a['push'](_0x37b90a['shift']());}}}(a161_0x24b0,0x7ac80));function a161_0x24b0(){var _0xa59aed=['926390THtYWq','1NlPYkX','cli.help','11570PQABhG','service','error','312kYsYrD','8xAqqAm','7578ClHVTA','132251tDShTY','7632064emUBWO','2136PBzitB','352718vmoVjc','897132rtlvjD'];a161_0x24b0=function(){return _0xa59aed;};return a161_0x24b0();}import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export async function reportCliHelpTrace(_0x10647f,_0x230542){var _0x57b4f3=a161_0x1de5;try{await sendCliTraceLog({'spanName':_0x57b4f3(0x167),'logData':{'rabetbase.help.kind':_0x10647f,..._0x230542?.[_0x57b4f3(0x169)]&&{'rabetbase.help.service':_0x230542[_0x57b4f3(0x169)]}}});}catch(_0x1aa48b){console[_0x57b4f3(0x16a)]('Failed\x20to\x20report\x20CLI\x20help\x20trace:',_0x1aa48b);}}
@@ -1 +1 @@
1
- function a39_0x2818(_0x5eecda,_0x485e84){_0x5eecda=_0x5eecda-0x14e;const _0x5496af=a39_0x5496();let _0x281841=_0x5496af[_0x5eecda];return _0x281841;}(function(_0x1c188b,_0x312ffa){const _0x3b0015=a39_0x2818,_0x295455=_0x1c188b();while(!![]){try{const _0x39359e=-parseInt(_0x3b0015(0x15b))/0x1*(parseInt(_0x3b0015(0x158))/0x2)+-parseInt(_0x3b0015(0x151))/0x3+-parseInt(_0x3b0015(0x156))/0x4+parseInt(_0x3b0015(0x15a))/0x5+-parseInt(_0x3b0015(0x15c))/0x6+parseInt(_0x3b0015(0x159))/0x7*(-parseInt(_0x3b0015(0x152))/0x8)+parseInt(_0x3b0015(0x154))/0x9;if(_0x39359e===_0x312ffa)break;else _0x295455['push'](_0x295455['shift']());}catch(_0x54ee13){_0x295455['push'](_0x295455['shift']());}}}(a39_0x5496,0x6421c));import a39_0x5ecd18 from'node:os';import{VERSION,GIT_COMMIT}from'../generated/build-info.js';import{getSessionUserInfo}from'../auth/get-session-user.js';function a39_0x5496(){const _0x4dc1a7=['12XkLARd','1428vrpaLI','561600MRjWhG','69413uPDcKK','1317900zRztsJ','daily','unknown','user','rabetbase-cli','948294LDgoBd','6552XiYRNV','username','15077637qTHxzm','production','1032684IYVceJ','userInfo'];a39_0x5496=function(){return _0x4dc1a7;};return a39_0x5496();}import{setTraceConfig,getOtelLoggerVersion}from'@lovrabet/otel-logger';import{NPM_PACKAGE_NAME}from'../constant/cli.js';let cliOtelTraceInitialized=![];export async function ensureCliOtelTraceConfig(){const _0x47b2cb=a39_0x2818,_0xa1a79d=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x2909cb=_0xa1a79d?.[_0x47b2cb(0x14f)];setTraceConfig({'otelLoggerVersion':getOtelLoggerVersion(),'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!==_0x47b2cb(0x14e)?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?_0x47b2cb(0x15d):_0x47b2cb(0x155)),'username':_0x2909cb?.[_0x47b2cb(0x153)]??a39_0x5ecd18[_0x47b2cb(0x157)]()[_0x47b2cb(0x153)]??_0x47b2cb(0x150),..._0x2909cb&&{'nickname':_0x2909cb['nickname']}}),cliOtelTraceInitialized=!![];}return _0xa1a79d;}
1
+ function a162_0x3345(){const _0x244519=['userInfo','808946fvUljA','6sfzXaW','unknown','production','1067000wdOLYL','username','user','3537422qIjhpU','1111221TUJplf','nickname','rabetbase-cli','daily','2113828zjvIFl','1582145mhLVkr','6CzyDYP','84669OpLbBg'];a162_0x3345=function(){return _0x244519;};return a162_0x3345();}(function(_0x57280c,_0x3209c6){const _0x23c1ee=a162_0x136e,_0x7fc430=_0x57280c();while(!![]){try{const _0x1a50b2=parseInt(_0x23c1ee(0x18d))/0x1+-parseInt(_0x23c1ee(0x18f))/0x2+-parseInt(_0x23c1ee(0x190))/0x3*(-parseInt(_0x23c1ee(0x18a))/0x4)+parseInt(_0x23c1ee(0x18b))/0x5*(parseInt(_0x23c1ee(0x18c))/0x6)+-parseInt(_0x23c1ee(0x196))/0x7+parseInt(_0x23c1ee(0x193))/0x8+-parseInt(_0x23c1ee(0x197))/0x9;if(_0x1a50b2===_0x3209c6)break;else _0x7fc430['push'](_0x7fc430['shift']());}catch(_0x3cc349){_0x7fc430['push'](_0x7fc430['shift']());}}}(a162_0x3345,0x88413));import a162_0x4a2625 from'node:os';import{VERSION,GIT_COMMIT}from'../generated/build-info.js';import{getSessionUserInfo}from'../auth/get-session-user.js';function a162_0x136e(_0x513e49,_0x12ba2d){_0x513e49=_0x513e49-0x18a;const _0x334528=a162_0x3345();let _0x136e99=_0x334528[_0x513e49];return _0x136e99;}import{setTraceConfig,getOtelLoggerVersion}from'@lovrabet/otel-logger';import{NPM_PACKAGE_NAME}from'../constant/cli.js';let cliOtelTraceInitialized=![];export async function ensureCliOtelTraceConfig(){const _0x10b593=a162_0x136e,_0x1791ea=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x3741e9=_0x1791ea?.[_0x10b593(0x195)];setTraceConfig({'otelLoggerVersion':getOtelLoggerVersion(),'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!==_0x10b593(0x191)?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?_0x10b593(0x19a):_0x10b593(0x192)),'username':_0x3741e9?.[_0x10b593(0x194)]??a162_0x4a2625[_0x10b593(0x18e)]()[_0x10b593(0x194)]??_0x10b593(0x199),..._0x3741e9&&{'nickname':_0x3741e9[_0x10b593(0x198)]}}),cliOtelTraceInitialized=!![];}return _0x1791ea;}
@@ -1 +1 @@
1
- (function(_0x3be254,_0x354d34){const _0x3f02c7=a36_0x277d,_0x266d42=_0x3be254();while(!![]){try{const _0x22f6c2=-parseInt(_0x3f02c7(0x10d))/0x1*(parseInt(_0x3f02c7(0x10a))/0x2)+-parseInt(_0x3f02c7(0x105))/0x3+parseInt(_0x3f02c7(0x111))/0x4*(-parseInt(_0x3f02c7(0x108))/0x5)+-parseInt(_0x3f02c7(0x109))/0x6*(-parseInt(_0x3f02c7(0x107))/0x7)+-parseInt(_0x3f02c7(0x106))/0x8*(-parseInt(_0x3f02c7(0x10b))/0x9)+parseInt(_0x3f02c7(0x112))/0xa*(parseInt(_0x3f02c7(0x114))/0xb)+parseInt(_0x3f02c7(0x113))/0xc;if(_0x22f6c2===_0x354d34)break;else _0x266d42['push'](_0x266d42['shift']());}catch(_0x549e7c){_0x266d42['push'](_0x266d42['shift']());}}}(a36_0x3c2a,0x92204));function a36_0x277d(_0x26f19f,_0x4329ff){_0x26f19f=_0x26f19f-0x105;const _0x3c2aab=a36_0x3c2a();let _0x277dee=_0x3c2aab[_0x26f19f];return _0x277dee;}import{shutdownTraces}from'@lovrabet/otel-logger';let shutdownPromise=null;export async function flushOtelNodeIfUsed(){if(shutdownPromise)return shutdownPromise;return shutdownPromise=((async()=>{try{await shutdownTraces();}catch{}})()),shutdownPromise;}export function registerOtelShutdownOnExit(){const _0x5dc82d=a36_0x277d;process[_0x5dc82d(0x10e)]('beforeExit',()=>{void flushOtelNodeIfUsed();});const _0x132c27=()=>{const _0x5c27a3=_0x5dc82d;void flushOtelNodeIfUsed()[_0x5c27a3(0x110)](()=>process[_0x5c27a3(0x10f)](0x0));};process[_0x5dc82d(0x10e)](_0x5dc82d(0x10c),_0x132c27),process[_0x5dc82d(0x10e)](_0x5dc82d(0x115),_0x132c27);}export async function exitWithOtelShutdown(_0x52483b){await flushOtelNodeIfUsed(),process['exit'](_0x52483b);}function a36_0x3c2a(){const _0x38ceed=['SIGINT','155kOWjuS','once','exit','then','444rwejTD','30nzjEyS','8638668mSczaV','3032909FRynFH','SIGTERM','78543aQHfCx','8iQJULM','16163MuOLGX','8715CPJeKI','192hIgYjq','15202uMdgqJ','3378663TdwCCU'];a36_0x3c2a=function(){return _0x38ceed;};return a36_0x3c2a();}
1
+ function a163_0x3c3c(){const _0x424cd0=['beforeExit','4682840GipiIH','144VmFsvd','1388410sfmSUi','147420bmiXYP','345684ahfgbM','exit','11zTgdqp','90KqIHXM','564514lKuNHM','369apktqx','20409dRtbGu','SIGINT','once','4mgwEHc','27128EJFGfx'];a163_0x3c3c=function(){return _0x424cd0;};return a163_0x3c3c();}(function(_0x2f0176,_0x5780f5){const _0x310c10=a163_0x2ebf,_0x31bdbe=_0x2f0176();while(!![]){try{const _0x4bdc65=parseInt(_0x310c10(0x12a))/0x1+parseInt(_0x310c10(0x129))/0x2*(-parseInt(_0x310c10(0x12c))/0x3)+parseInt(_0x310c10(0x12f))/0x4*(parseInt(_0x310c10(0x134))/0x5)+-parseInt(_0x310c10(0x133))/0x6*(parseInt(_0x310c10(0x135))/0x7)+parseInt(_0x310c10(0x130))/0x8*(-parseInt(_0x310c10(0x12b))/0x9)+parseInt(_0x310c10(0x132))/0xa+-parseInt(_0x310c10(0x128))/0xb*(parseInt(_0x310c10(0x136))/0xc);if(_0x4bdc65===_0x5780f5)break;else _0x31bdbe['push'](_0x31bdbe['shift']());}catch(_0x3d1235){_0x31bdbe['push'](_0x31bdbe['shift']());}}}(a163_0x3c3c,0x50d3b));import{shutdownTraces}from'@lovrabet/otel-logger';let shutdownPromise=null;function a163_0x2ebf(_0xdfd625,_0x27ef19){_0xdfd625=_0xdfd625-0x127;const _0x3c3c65=a163_0x3c3c();let _0x2ebfa3=_0x3c3c65[_0xdfd625];return _0x2ebfa3;}export async function flushOtelNodeIfUsed(){if(shutdownPromise)return shutdownPromise;return shutdownPromise=((async()=>{try{await shutdownTraces();}catch{}})()),shutdownPromise;}export function registerOtelShutdownOnExit(){const _0x1be9eb=a163_0x2ebf;process[_0x1be9eb(0x12e)](_0x1be9eb(0x131),()=>{void flushOtelNodeIfUsed();});const _0x31dae0=()=>{void flushOtelNodeIfUsed()['then'](()=>process['exit'](0x0));};process[_0x1be9eb(0x12e)](_0x1be9eb(0x12d),_0x31dae0),process[_0x1be9eb(0x12e)]('SIGTERM',_0x31dae0);}export async function exitWithOtelShutdown(_0x3ba689){const _0x1051bf=a163_0x2ebf;await flushOtelNodeIfUsed(),process[_0x1051bf(0x127)](_0x3ba689);}
@@ -1 +1 @@
1
- const a37_0x15be70=a37_0x42f1;(function(_0x3043ec,_0x53ba0f){const _0x2e763b=a37_0x42f1,_0x1128cc=_0x3043ec();while(!![]){try{const _0x4f6086=-parseInt(_0x2e763b(0x103))/0x1+-parseInt(_0x2e763b(0x106))/0x2*(-parseInt(_0x2e763b(0x107))/0x3)+parseInt(_0x2e763b(0x104))/0x4+-parseInt(_0x2e763b(0x110))/0x5*(-parseInt(_0x2e763b(0x10c))/0x6)+-parseInt(_0x2e763b(0x111))/0x7+-parseInt(_0x2e763b(0x10f))/0x8*(parseInt(_0x2e763b(0x10e))/0x9)+parseInt(_0x2e763b(0x109))/0xa*(parseInt(_0x2e763b(0x114))/0xb);if(_0x4f6086===_0x53ba0f)break;else _0x1128cc['push'](_0x1128cc['shift']());}catch(_0xe4bc67){_0x1128cc['push'](_0x1128cc['shift']());}}}(a37_0xf288,0xe889d));function a37_0xf288(){const _0x5f0c85=['9470TFWQyR','traceName','spanName','24fSBSAO','logData','468NuutZi','37744QijBrJ','1840190DlYQRQ','7559454ZrLTts','manual','rabetbase-cli','9768dARIUO','1872826JyodWT','1706220QdoYFH','traceparent','12bWsIix','705459EyLBuJ','version'];a37_0xf288=function(){return _0x5f0c85;};return a37_0xf288();}import{sendTraceLog}from'@lovrabet/otel-logger';function a37_0x42f1(_0xefeaee,_0xf36c4d){_0xefeaee=_0xefeaee-0x103;const _0xf28897=a37_0xf288();let _0x42f113=_0xf28897[_0xefeaee];return _0x42f113;}import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';import{getCliVersion}from'../utils/version.js';const DEFAULT_TRACE_NAME=a37_0x15be70(0x113);export async function sendCliTraceLog(_0x4d7c49){const _0x52d0a2=a37_0x15be70;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x4d7c49[_0x52d0a2(0x10a)]??DEFAULT_TRACE_NAME,'version':_0x4d7c49[_0x52d0a2(0x108)]??getCliVersion(),'spanName':_0x4d7c49[_0x52d0a2(0x10b)],'eventType':_0x52d0a2(0x112),'logData':_0x4d7c49[_0x52d0a2(0x10d)],..._0x4d7c49['traceparent']&&{'traceparent':_0x4d7c49[_0x52d0a2(0x105)]}});}
1
+ const a164_0x2cbda3=a164_0x5e09;(function(_0x2a07e1,_0xe1ad41){const _0x2ea7b1=a164_0x5e09,_0x4eac37=_0x2a07e1();while(!![]){try{const _0x4c04d1=-parseInt(_0x2ea7b1(0x138))/0x1*(-parseInt(_0x2ea7b1(0x13d))/0x2)+-parseInt(_0x2ea7b1(0x13e))/0x3*(-parseInt(_0x2ea7b1(0x13a))/0x4)+-parseInt(_0x2ea7b1(0x143))/0x5+-parseInt(_0x2ea7b1(0x133))/0x6+parseInt(_0x2ea7b1(0x13f))/0x7+-parseInt(_0x2ea7b1(0x137))/0x8*(-parseInt(_0x2ea7b1(0x136))/0x9)+-parseInt(_0x2ea7b1(0x139))/0xa;if(_0x4c04d1===_0xe1ad41)break;else _0x4eac37['push'](_0x4eac37['shift']());}catch(_0x29e299){_0x4eac37['push'](_0x4eac37['shift']());}}}(a164_0x36e9,0xac387));import{sendTraceLog}from'@lovrabet/otel-logger';function a164_0x5e09(_0x33259c,_0x4425ae){_0x33259c=_0x33259c-0x133;const _0x36e911=a164_0x36e9();let _0x5e0985=_0x36e911[_0x33259c];return _0x5e0985;}import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';import{getCliVersion}from'../utils/version.js';function a164_0x36e9(){const _0x51a286=['4336RrmWUC','396040gTgseM','11412910KdvYwb','33200qKvupP','spanName','version','6QQECYx','108UUzoam','6490386JzlIYi','manual','logData','traceparent','3477125hmkNmd','5426982NbkszF','traceName','rabetbase-cli','17145LtRooE'];a164_0x36e9=function(){return _0x51a286;};return a164_0x36e9();}const DEFAULT_TRACE_NAME=a164_0x2cbda3(0x135);export async function sendCliTraceLog(_0x304556){const _0x4d5d5b=a164_0x2cbda3;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x304556[_0x4d5d5b(0x134)]??DEFAULT_TRACE_NAME,'version':_0x304556[_0x4d5d5b(0x13c)]??getCliVersion(),'spanName':_0x304556[_0x4d5d5b(0x13b)],'eventType':_0x4d5d5b(0x140),'logData':_0x304556[_0x4d5d5b(0x141)],..._0x304556[_0x4d5d5b(0x142)]&&{'traceparent':_0x304556[_0x4d5d5b(0x142)]}});}
@@ -1 +1 @@
1
- const a1_0x30d109=a1_0x3a6d;function a1_0x9237(){const _0x116929=['Trae\x20IDE','Windsurf','cline','.trae/skills/lovrabet/SKILL.md','cursor','trae','opencode','5091888pftzMf','7087815EtDXnm','Windsurf\x20IDE','Claude\x20Code','qoder','395994mkeOCO','.agent/skills/lovrabet/SKILL.md','Trae','.windsurf','claude','OpenCode','Codex','Qoder\x20IDE','.cline/skills/lovrabet/SKILL.md','.codex/skills/lovrabet/SKILL.md','通用模板\x20-\x20兜底方案','codex','.opencode/skills/lovrabet/SKILL.md','file','codebuddy','CodeBuddy','Antigravity\x20IDE','.claude/skills/lovrabet/SKILL.md','4339120BsmbKd','5997YdFfTb','.opencode','.codebuddy','.cursor','35dzDgRw','19914QSBXqc','.agent','Antigravity','1028TPULQn','windsurf','.qoder/skills/lovrabet/SKILL.md','1695606BbtyyR','agent','SKILL.md.tpl','.claude','antigravity','Qoder','其他\x20(通用模板)','Codex\x20IDE','.codebuddy/skills/lovrabet/SKILL.md','.windsurf/workflows/rabetbase.md'];a1_0x9237=function(){return _0x116929;};return a1_0x9237();}(function(_0x49824e,_0x4b173b){const _0x553f32=a1_0x3a6d,_0x3179c0=_0x49824e();while(!![]){try{const _0x31a5ca=-parseInt(_0x553f32(0x96))/0x1+parseInt(_0x553f32(0x80))/0x2+parseInt(_0x553f32(0x75))/0x3*(-parseInt(_0x553f32(0x7d))/0x4)+-parseInt(_0x553f32(0x74))/0x5+parseInt(_0x553f32(0x7a))/0x6*(parseInt(_0x553f32(0x79))/0x7)+parseInt(_0x553f32(0x91))/0x8+parseInt(_0x553f32(0x92))/0x9;if(_0x31a5ca===_0x4b173b)break;else _0x3179c0['push'](_0x3179c0['shift']());}catch(_0x32d87a){_0x3179c0['push'](_0x3179c0['shift']());}}}(a1_0x9237,0x7cb8a));export const CORE_IDE_CONFIGS={'cursor':{'name':'Cursor','description':'Cursor\x20IDE','folders':['.cursorrules',a1_0x30d109(0x78)],'files':[{'type':a1_0x30d109(0x6f),'path':'.cursor/skills/rabetbase.md','template':a1_0x30d109(0x82)}]},'windsurf':{'name':a1_0x30d109(0x8b),'description':a1_0x30d109(0x93),'folders':[a1_0x30d109(0x99)],'files':[{'type':a1_0x30d109(0x6f),'path':a1_0x30d109(0x89),'template':a1_0x30d109(0x82)}]},'claude':{'name':a1_0x30d109(0x94),'description':a1_0x30d109(0x94),'folders':[a1_0x30d109(0x83)],'files':[{'type':a1_0x30d109(0x6f),'path':a1_0x30d109(0x73),'template':a1_0x30d109(0x82)}]},'cline':{'name':'Cline','description':'Cline\x20IDE','folders':['.cline'],'files':[{'type':a1_0x30d109(0x6f),'path':a1_0x30d109(0x9e),'template':a1_0x30d109(0x82)}]},'codex':{'name':a1_0x30d109(0x9c),'description':a1_0x30d109(0x87),'folders':['.codex'],'files':[{'type':'file','path':a1_0x30d109(0x9f),'template':a1_0x30d109(0x82)}]},'opencode':{'name':a1_0x30d109(0x9b),'description':'OpenCode\x20IDE','folders':[a1_0x30d109(0x76)],'files':[{'type':a1_0x30d109(0x6f),'path':a1_0x30d109(0x6e),'template':a1_0x30d109(0x82)}]},'qoder':{'name':a1_0x30d109(0x85),'description':a1_0x30d109(0x9d),'folders':['.qoder'],'files':[{'type':a1_0x30d109(0x6f),'path':'.qoder/rules/rabetbase.md','template':a1_0x30d109(0x82)},{'type':a1_0x30d109(0x6f),'path':a1_0x30d109(0x7f),'template':a1_0x30d109(0x82)}]},'codebuddy':{'name':a1_0x30d109(0x71),'description':'CodeBuddy\x20IDE','folders':[a1_0x30d109(0x77)],'files':[{'type':a1_0x30d109(0x6f),'path':a1_0x30d109(0x88),'template':a1_0x30d109(0x82)}]},'trae':{'name':a1_0x30d109(0x98),'description':a1_0x30d109(0x8a),'folders':['.trae'],'files':[{'type':a1_0x30d109(0x6f),'path':a1_0x30d109(0x8d),'template':a1_0x30d109(0x82)}]}};export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':a1_0x30d109(0x86),'description':a1_0x30d109(0x6c),'folders':[a1_0x30d109(0x7b)],'files':[{'type':a1_0x30d109(0x6f),'path':a1_0x30d109(0x97),'template':a1_0x30d109(0x82)}]},'antigravity':{'name':a1_0x30d109(0x7c),'description':a1_0x30d109(0x72),'folders':[a1_0x30d109(0x7b)],'files':[{'type':a1_0x30d109(0x6f),'path':'.agent/skills/lovrabet/SKILL.md','template':a1_0x30d109(0x82)}]}};export const CORE_IDE_LIST=[a1_0x30d109(0x9a),a1_0x30d109(0x8c),a1_0x30d109(0x70),a1_0x30d109(0x6d),a1_0x30d109(0x8e),'opencode','qoder','trae',a1_0x30d109(0x7e)];function a1_0x3a6d(_0x27e923,_0x42108e){_0x27e923=_0x27e923-0x6c;const _0x92370f=a1_0x9237();let _0x3a6d42=_0x92370f[_0x27e923];return _0x3a6d42;}export const IDE_LIST=[a1_0x30d109(0x84),a1_0x30d109(0x9a),'cline',a1_0x30d109(0x70),a1_0x30d109(0x6d),'cursor','opencode',a1_0x30d109(0x95),a1_0x30d109(0x8f),'windsurf',a1_0x30d109(0x81)];export const ALL_CORE_IDES=[a1_0x30d109(0x8e),'windsurf',a1_0x30d109(0x9a),a1_0x30d109(0x8c),a1_0x30d109(0x6d),a1_0x30d109(0x90),a1_0x30d109(0x95),'codebuddy',a1_0x30d109(0x8f)];
1
+ const a166_0x25dd6d=a166_0x11ed;(function(_0x2de92c,_0x41fe1a){const _0xdf6afa=a166_0x11ed,_0x911c47=_0x2de92c();while(!![]){try{const _0x17f877=-parseInt(_0xdf6afa(0x1f7))/0x1+parseInt(_0xdf6afa(0x1ec))/0x2*(-parseInt(_0xdf6afa(0x1f0))/0x3)+parseInt(_0xdf6afa(0x200))/0x4*(-parseInt(_0xdf6afa(0x1ea))/0x5)+parseInt(_0xdf6afa(0x1f1))/0x6+-parseInt(_0xdf6afa(0x1f8))/0x7+-parseInt(_0xdf6afa(0x203))/0x8+-parseInt(_0xdf6afa(0x1fa))/0x9*(-parseInt(_0xdf6afa(0x1f5))/0xa);if(_0x17f877===_0x41fe1a)break;else _0x911c47['push'](_0x911c47['shift']());}catch(_0x334afe){_0x911c47['push'](_0x911c47['shift']());}}}(a166_0x3550,0xbdd59));export const CORE_IDE_CONFIGS={'cursor':{'name':a166_0x25dd6d(0x1d3),'description':a166_0x25dd6d(0x1dd),'folders':[a166_0x25dd6d(0x1e4),a166_0x25dd6d(0x201)],'files':[{'type':'file','path':a166_0x25dd6d(0x1e9),'template':a166_0x25dd6d(0x1de)}]},'windsurf':{'name':a166_0x25dd6d(0x1f2),'description':a166_0x25dd6d(0x1fc),'folders':[a166_0x25dd6d(0x1d0)],'files':[{'type':a166_0x25dd6d(0x1d9),'path':'.windsurf/workflows/rabetbase.md','template':a166_0x25dd6d(0x1de)}]},'claude':{'name':'Claude\x20Code','description':a166_0x25dd6d(0x1eb),'folders':[a166_0x25dd6d(0x1d8)],'files':[{'type':a166_0x25dd6d(0x1d9),'path':a166_0x25dd6d(0x1ee),'template':a166_0x25dd6d(0x1de)}]},'cline':{'name':a166_0x25dd6d(0x1fb),'description':a166_0x25dd6d(0x1fe),'folders':['.cline'],'files':[{'type':a166_0x25dd6d(0x1d9),'path':a166_0x25dd6d(0x1d1),'template':a166_0x25dd6d(0x1de)}]},'codex':{'name':'Codex','description':a166_0x25dd6d(0x1ff),'folders':['.codex'],'files':[{'type':a166_0x25dd6d(0x1d9),'path':a166_0x25dd6d(0x1ed),'template':a166_0x25dd6d(0x1de)}]},'opencode':{'name':a166_0x25dd6d(0x1f3),'description':a166_0x25dd6d(0x1d4),'folders':['.opencode'],'files':[{'type':a166_0x25dd6d(0x1d9),'path':a166_0x25dd6d(0x1e3),'template':'SKILL.md.tpl'}]},'qoder':{'name':a166_0x25dd6d(0x1dc),'description':'Qoder\x20IDE','folders':['.qoder'],'files':[{'type':a166_0x25dd6d(0x1d9),'path':a166_0x25dd6d(0x1d2),'template':a166_0x25dd6d(0x1de)},{'type':a166_0x25dd6d(0x1d9),'path':a166_0x25dd6d(0x1d6),'template':a166_0x25dd6d(0x1de)}]},'codebuddy':{'name':a166_0x25dd6d(0x1ce),'description':a166_0x25dd6d(0x1e5),'folders':[a166_0x25dd6d(0x1e1)],'files':[{'type':'file','path':a166_0x25dd6d(0x202),'template':a166_0x25dd6d(0x1de)}]},'trae':{'name':a166_0x25dd6d(0x1fd),'description':a166_0x25dd6d(0x1e6),'folders':[a166_0x25dd6d(0x1f6)],'files':[{'type':'file','path':'.trae/skills/lovrabet/SKILL.md','template':a166_0x25dd6d(0x1de)}]}};function a166_0x3550(){const _0x46a541=['4XnGeVm','.cursor','.codebuddy/skills/lovrabet/SKILL.md','3047840QcIEIJ','codex','.agent','CodeBuddy','通用模板\x20-\x20兜底方案','.windsurf','.cline/skills/lovrabet/SKILL.md','.qoder/rules/rabetbase.md','Cursor','OpenCode\x20IDE','claude','.qoder/skills/lovrabet/SKILL.md','windsurf','.claude','file','qoder','Antigravity\x20IDE','Qoder','Cursor\x20IDE','SKILL.md.tpl','opencode','Antigravity','.codebuddy','agent','.opencode/skills/lovrabet/SKILL.md','.cursorrules','CodeBuddy\x20IDE','Trae\x20IDE','cursor','codebuddy','.cursor/skills/rabetbase.md','300350yDIIgU','Claude\x20Code','116bQdWru','.codex/skills/lovrabet/SKILL.md','.claude/skills/lovrabet/SKILL.md','antigravity','3351RfVQQb','4689102ccsPhi','Windsurf','OpenCode','cline','1065660WsHpno','.trae','1493666pbuutY','7664076TxoCzL','trae','261fwmzKN','Cline','Windsurf\x20IDE','Trae','Cline\x20IDE','Codex\x20IDE'];a166_0x3550=function(){return _0x46a541;};return a166_0x3550();}export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':'其他\x20(通用模板)','description':a166_0x25dd6d(0x1cf),'folders':[a166_0x25dd6d(0x205)],'files':[{'type':a166_0x25dd6d(0x1d9),'path':'.agent/skills/lovrabet/SKILL.md','template':'SKILL.md.tpl'}]},'antigravity':{'name':a166_0x25dd6d(0x1e0),'description':a166_0x25dd6d(0x1db),'folders':[a166_0x25dd6d(0x205)],'files':[{'type':'file','path':'.agent/skills/lovrabet/SKILL.md','template':a166_0x25dd6d(0x1de)}]}};export const CORE_IDE_LIST=[a166_0x25dd6d(0x1d5),'cline',a166_0x25dd6d(0x1e8),a166_0x25dd6d(0x204),a166_0x25dd6d(0x1e7),'opencode','qoder',a166_0x25dd6d(0x1f9),a166_0x25dd6d(0x1d7)];function a166_0x11ed(_0x5baf9e,_0x46c4c2){_0x5baf9e=_0x5baf9e-0x1ce;const _0x3550dc=a166_0x3550();let _0x11ed2c=_0x3550dc[_0x5baf9e];return _0x11ed2c;}export const IDE_LIST=[a166_0x25dd6d(0x1ef),a166_0x25dd6d(0x1d5),'cline','codebuddy',a166_0x25dd6d(0x204),'cursor',a166_0x25dd6d(0x1df),a166_0x25dd6d(0x1da),a166_0x25dd6d(0x1f9),a166_0x25dd6d(0x1d7),a166_0x25dd6d(0x1e2)];export const ALL_CORE_IDES=[a166_0x25dd6d(0x1e7),a166_0x25dd6d(0x1d7),a166_0x25dd6d(0x1d5),a166_0x25dd6d(0x1f4),a166_0x25dd6d(0x204),a166_0x25dd6d(0x1df),a166_0x25dd6d(0x1da),'codebuddy',a166_0x25dd6d(0x1f9)];
@@ -1 +1 @@
1
- (function(_0x350fef,_0x37c81e){const _0x196273=a12_0x255e,_0x5d708a=_0x350fef();while(!![]){try{const _0x52cedf=parseInt(_0x196273(0x116))/0x1*(-parseInt(_0x196273(0x112))/0x2)+-parseInt(_0x196273(0x10f))/0x3+parseInt(_0x196273(0x10e))/0x4+parseInt(_0x196273(0x114))/0x5*(-parseInt(_0x196273(0x115))/0x6)+-parseInt(_0x196273(0x110))/0x7+parseInt(_0x196273(0x111))/0x8+-parseInt(_0x196273(0x113))/0x9*(-parseInt(_0x196273(0x117))/0xa);if(_0x52cedf===_0x37c81e)break;else _0x5d708a['push'](_0x5d708a['shift']());}catch(_0x3992f9){_0x5d708a['push'](_0x5d708a['shift']());}}}(a12_0x5ef3,0x54844));function a12_0x255e(_0x53d8d2,_0x57db0d){_0x53d8d2=_0x53d8d2-0x10e;const _0x5ef386=a12_0x5ef3();let _0x255eb4=_0x5ef386[_0x53d8d2];return _0x255eb4;}import{createJqFilter}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors);function a12_0x5ef3(){const _0x4c0b7d=['45aDAJXJ','5RiWdpS','2284278nYVipx','35cbzten','210770lNaKNj','2301004LgpYPp','315579wNaQNk','1035391MxHEcQ','3699424OdCAfT','9318ZdKIxa'];a12_0x5ef3=function(){return _0x4c0b7d;};return a12_0x5ef3();}
1
+ function a167_0x4b70(){const _0x5484c6=['881040Ieglaq','2776291ZCmHvc','99807uPqLiZ','2ttJXkQ','2977011RjCRKw','6Qdwtyj','1704170KZsTVX','542284CSkPHY','903786viHxIE'];a167_0x4b70=function(){return _0x5484c6;};return a167_0x4b70();}(function(_0x10914d,_0x59c925){const _0x2000f2=a167_0x14db,_0xd0ce5=_0x10914d();while(!![]){try{const _0x51191d=parseInt(_0x2000f2(0x98))/0x1+parseInt(_0x2000f2(0x90))/0x2*(-parseInt(_0x2000f2(0x95))/0x3)+parseInt(_0x2000f2(0x94))/0x4+-parseInt(_0x2000f2(0x93))/0x5+parseInt(_0x2000f2(0x92))/0x6*(parseInt(_0x2000f2(0x97))/0x7)+-parseInt(_0x2000f2(0x96))/0x8+parseInt(_0x2000f2(0x91))/0x9;if(_0x51191d===_0x59c925)break;else _0xd0ce5['push'](_0xd0ce5['shift']());}catch(_0x4e5a4a){_0xd0ce5['push'](_0xd0ce5['shift']());}}}(a167_0x4b70,0x33670));function a167_0x14db(_0x60b662,_0x4e11d7){_0x60b662=_0x60b662-0x90;const _0x4b70d4=a167_0x4b70();let _0x14db10=_0x4b70d4[_0x60b662];return _0x14db10;}import{createJqFilter}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors);
@@ -1 +1 @@
1
- function a13_0x2c3b(_0x5798ba,_0x4c0518){_0x5798ba=_0x5798ba-0x1bb;const _0x17bcc7=a13_0x17bc();let _0x2c3b0f=_0x17bcc7[_0x5798ba];return _0x2c3b0f;}(function(_0x27e78c,_0x132d47){const _0x4ed5c1=a13_0x2c3b,_0x301c47=_0x27e78c();while(!![]){try{const _0x13f17c=-parseInt(_0x4ed5c1(0x1c7))/0x1+-parseInt(_0x4ed5c1(0x1c3))/0x2*(-parseInt(_0x4ed5c1(0x1c6))/0x3)+-parseInt(_0x4ed5c1(0x1c1))/0x4*(parseInt(_0x4ed5c1(0x1c5))/0x5)+-parseInt(_0x4ed5c1(0x1bd))/0x6*(parseInt(_0x4ed5c1(0x1cd))/0x7)+-parseInt(_0x4ed5c1(0x1bb))/0x8*(-parseInt(_0x4ed5c1(0x1c9))/0x9)+parseInt(_0x4ed5c1(0x1bc))/0xa*(-parseInt(_0x4ed5c1(0x1c0))/0xb)+parseInt(_0x4ed5c1(0x1ca))/0xc;if(_0x13f17c===_0x132d47)break;else _0x301c47['push'](_0x301c47['shift']());}catch(_0x500880){_0x301c47['push'](_0x301c47['shift']());}}}(a13_0x17bc,0x60589));import{getTemplateBaseUrl}from'../utils/config.js';export async function fetchCdnConfig(){const _0x27a3a9=a13_0x2c3b;try{const _0x2823b1=getTemplateBaseUrl(),_0x51ca1c=_0x2823b1+_0x27a3a9(0x1be),_0x4e2f63=await fetch(_0x51ca1c,{'headers':{'Accept':_0x27a3a9(0x1c4)}});if(!_0x4e2f63['ok'])return null;const _0x4ef203=await _0x4e2f63['json']();if(!_0x4ef203[_0x27a3a9(0x1c2)]?.[_0x27a3a9(0x1cb)]||!_0x4ef203[_0x27a3a9(0x1c8)]?.[_0x27a3a9(0x1bf)]?.[_0x27a3a9(0x1cb)])return null;return _0x4ef203;}catch{return null;}}let cachedConfig=null,cacheTime=0x0;function a13_0x17bc(){const _0x372d8f=['1167OHprhe','474372PCfqiu','sdk','52011WVjvWG','17174244BBpKVY','stableVersion','now','4907VsLXPm','504plsAMC','20tuzGYj','4278axdtmN','/config.json','node','2348929oGJFGG','4mGWpyo','cli','364jjhqKi','application/json','350830HuvYSp'];a13_0x17bc=function(){return _0x372d8f;};return a13_0x17bc();}const CACHE_TTL=0x5*0x3c*0x3e8;export async function getCdnConfig(){const _0x363df9=a13_0x2c3b,_0x19bee0=Date[_0x363df9(0x1cc)]();if(cachedConfig&&_0x19bee0-cacheTime<CACHE_TTL)return cachedConfig;const _0x1c7a08=await fetchCdnConfig();return _0x1c7a08&&(cachedConfig=_0x1c7a08,cacheTime=_0x19bee0),_0x1c7a08;}export function clearCdnConfigCache(){cachedConfig=null,cacheTime=0x0;}
1
+ (function(_0x237186,_0x10917){const _0x8898ec=a168_0x445c,_0x27dd57=_0x237186();while(!![]){try{const _0x14832d=-parseInt(_0x8898ec(0xb9))/0x1*(parseInt(_0x8898ec(0xb6))/0x2)+parseInt(_0x8898ec(0xbb))/0x3+-parseInt(_0x8898ec(0xb8))/0x4+-parseInt(_0x8898ec(0xb0))/0x5*(parseInt(_0x8898ec(0xb4))/0x6)+-parseInt(_0x8898ec(0xb2))/0x7+parseInt(_0x8898ec(0xb1))/0x8*(parseInt(_0x8898ec(0xba))/0x9)+parseInt(_0x8898ec(0xbf))/0xa*(parseInt(_0x8898ec(0xbe))/0xb);if(_0x14832d===_0x10917)break;else _0x27dd57['push'](_0x27dd57['shift']());}catch(_0x6cf828){_0x27dd57['push'](_0x27dd57['shift']());}}}(a168_0x2576,0x8c45c));import{getTemplateBaseUrl}from'../utils/config.js';export async function fetchCdnConfig(){const _0x33155f=a168_0x445c,_0x16c1ae=getTemplateBaseUrl(),_0x25e97b=[_0x16c1ae+_0x33155f(0xaf),_0x16c1ae+_0x33155f(0xb3)];for(const _0x218930 of _0x25e97b){try{const _0x3f2c75=await fetch(_0x218930,{'headers':{'Accept':'application/json'}});if(!_0x3f2c75['ok'])continue;const _0x39ffdc=await _0x3f2c75[_0x33155f(0xb5)]();if(!_0x39ffdc['cli']?.[_0x33155f(0xbd)]||!_0x39ffdc['sdk']?.[_0x33155f(0xbc)]?.[_0x33155f(0xbd)])continue;return _0x39ffdc;}catch{}}return null;}let cachedConfig=null,cacheTime=0x0;const CACHE_TTL=0x5*0x3c*0x3e8,FAILURE_CACHE_TTL=0x3c*0x3e8;let hasCachedConfig=![];export async function getCdnConfig(){const _0x2908f2=a168_0x445c,_0x2379af=Date[_0x2908f2(0xb7)]();if(hasCachedConfig){const _0x3ab28b=cachedConfig?CACHE_TTL:FAILURE_CACHE_TTL;if(_0x2379af-cacheTime<_0x3ab28b)return cachedConfig;}const _0x5d1f6c=await fetchCdnConfig();return cachedConfig=_0x5d1f6c,cacheTime=_0x2379af,hasCachedConfig=!![],_0x5d1f6c;}function a168_0x2576(){const _0x572992=['stableVersion','3710311IWdFcv','40fcbhIJ','/config.json','32255vvWlbL','919736HuRtvU','1242493JdIYoC','/config/index.json','570SoEbut','json','2950cdfaEw','now','676464uaWEPj','694AOncRB','63yqHRiw','1211079MDVIHH','node'];a168_0x2576=function(){return _0x572992;};return a168_0x2576();}function a168_0x445c(_0x3a1181,_0x471a07){_0x3a1181=_0x3a1181-0xaf;const _0x257656=a168_0x2576();let _0x445cda=_0x257656[_0x3a1181];return _0x445cda;}export function clearCdnConfigCache(){cachedConfig=null,cacheTime=0x0,hasCachedConfig=![];}