@lovrabet/rabetbase-cli 2.0.12 → 2.0.13

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 (140) 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/logout.js +1 -1
  11. package/lib/cli-flags.js +1 -1
  12. package/lib/cli.js +1 -1
  13. package/lib/commands/api/doc.js +1 -1
  14. package/lib/commands/api/index.js +1 -1
  15. package/lib/commands/api/list.js +1 -1
  16. package/lib/commands/api/pull.js +1 -1
  17. package/lib/commands/api/shared.js +1 -1
  18. package/lib/commands/app/add.js +1 -1
  19. package/lib/commands/app/index.js +1 -1
  20. package/lib/commands/app/list.js +1 -1
  21. package/lib/commands/app/remote.js +1 -1
  22. package/lib/commands/app/remove.js +1 -1
  23. package/lib/commands/app/shared.js +1 -1
  24. package/lib/commands/app/use.js +1 -1
  25. package/lib/commands/auth/index.js +1 -1
  26. package/lib/commands/bff/delete.js +1 -1
  27. package/lib/commands/bff/detail.js +1 -1
  28. package/lib/commands/bff/index.js +1 -1
  29. package/lib/commands/bff/list.js +1 -1
  30. package/lib/commands/bff/new.js +1 -1
  31. package/lib/commands/bff/pull.js +1 -1
  32. package/lib/commands/bff/push.js +1 -1
  33. package/lib/commands/bff/status.js +1 -1
  34. package/lib/commands/cli-update.js +1 -1
  35. package/lib/commands/codegen/index.js +1 -1
  36. package/lib/commands/codegen/sdk.js +1 -1
  37. package/lib/commands/codegen/sql.js +1 -1
  38. package/lib/commands/common/app-selector.js +1 -1
  39. package/lib/commands/common/flags.js +1 -1
  40. package/lib/commands/common/validate.js +1 -1
  41. package/lib/commands/config/get.js +1 -1
  42. package/lib/commands/config/index.js +1 -1
  43. package/lib/commands/config/list.js +1 -1
  44. package/lib/commands/config/set.js +1 -1
  45. package/lib/commands/config/shared.js +1 -1
  46. package/lib/commands/dataset/detail.js +1 -1
  47. package/lib/commands/dataset/index.js +1 -1
  48. package/lib/commands/dataset/links.js +1 -1
  49. package/lib/commands/dataset/list.js +1 -1
  50. package/lib/commands/dataset/operations.js +1 -1
  51. package/lib/commands/doctor.js +1 -1
  52. package/lib/commands/init/index.js +1 -1
  53. package/lib/commands/logs/index.js +1 -1
  54. package/lib/commands/menu/index.js +1 -1
  55. package/lib/commands/menu/shared/compare-table.js +1 -1
  56. package/lib/commands/menu/shared/index.js +1 -1
  57. package/lib/commands/menu/shared/inquirer.js +1 -1
  58. package/lib/commands/menu/shared/local-pages.js +1 -1
  59. package/lib/commands/menu/shared/logic.js +1 -1
  60. package/lib/commands/menu/shared/service.js +1 -1
  61. package/lib/commands/menu/shared/sync-core.js +1 -1
  62. package/lib/commands/menu/shared/update-core.js +1 -1
  63. package/lib/commands/menu/shared/valid-url.js +1 -1
  64. package/lib/commands/menu/sync.js +1 -1
  65. package/lib/commands/menu/update.js +1 -1
  66. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  67. package/lib/commands/project/create/format-elapsed.js +1 -1
  68. package/lib/commands/project/create/main.js +1 -1
  69. package/lib/commands/project/create/non-interactive.js +1 -1
  70. package/lib/commands/project/create/project-template-path.js +1 -1
  71. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  72. package/lib/commands/project/create/use-format-code.js +1 -1
  73. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  74. package/lib/commands/project/index.js +1 -1
  75. package/lib/commands/project/init.js +1 -1
  76. package/lib/commands/project/upgrade.js +1 -1
  77. package/lib/commands/registry.js +1 -1
  78. package/lib/commands/run/index.js +1 -1
  79. package/lib/commands/schema.js +1 -1
  80. package/lib/commands/skill/index.js +1 -1
  81. package/lib/commands/sql/detail.js +1 -1
  82. package/lib/commands/sql/exec.js +1 -1
  83. package/lib/commands/sql/index.js +1 -1
  84. package/lib/commands/sql/list.js +1 -1
  85. package/lib/commands/sql/pull.js +1 -0
  86. package/lib/commands/sql/save.js +1 -1
  87. package/lib/commands/sql/shared.js +1 -0
  88. package/lib/commands/sql/validate.js +1 -1
  89. package/lib/constant/cli.js +1 -1
  90. package/lib/constant/domain.js +1 -1
  91. package/lib/constant/env.js +1 -1
  92. package/lib/constant/paths.js +1 -1
  93. package/lib/context.js +1 -1
  94. package/lib/core/alias-resolver.js +1 -1
  95. package/lib/core/api-client.js +1 -1
  96. package/lib/core/bff/config.js +1 -1
  97. package/lib/core/bff/file-system.js +1 -1
  98. package/lib/core/bff/hash.js +1 -1
  99. package/lib/core/bff/lock.js +1 -1
  100. package/lib/core/bff/utils.js +1 -1
  101. package/lib/core/db-resolver.js +1 -1
  102. package/lib/core/sql-validator.js +1 -1
  103. package/lib/errors.js +1 -1
  104. package/lib/framework/build-all-flags.js +1 -1
  105. package/lib/framework/flags.js +1 -1
  106. package/lib/framework/help.js +1 -1
  107. package/lib/framework/index.js +1 -1
  108. package/lib/framework/output.js +1 -1
  109. package/lib/framework/response.js +1 -1
  110. package/lib/framework/runner.js +1 -1
  111. package/lib/framework/schema-export.js +1 -1
  112. package/lib/framework/types.js +1 -1
  113. package/lib/generated/build-info.js +1 -1
  114. package/lib/help.js +1 -1
  115. package/lib/skills/main.js +1 -1
  116. package/lib/skills/npx-skills-add.js +1 -1
  117. package/lib/telemetry/cli-command-trace.js +1 -1
  118. package/lib/telemetry/cli-help-trace.js +1 -1
  119. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  120. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  121. package/lib/telemetry/send-cli-trace-log.js +1 -1
  122. package/lib/utils/ai_config.js +1 -1
  123. package/lib/utils/apply-jq-filter.js +1 -1
  124. package/lib/utils/cdn-config.js +1 -1
  125. package/lib/utils/check-sdk-version.js +1 -1
  126. package/lib/utils/cli-version-check.js +1 -1
  127. package/lib/utils/config.js +1 -1
  128. package/lib/utils/copy-directory.js +1 -1
  129. package/lib/utils/file-utils.js +1 -1
  130. package/lib/utils/guides-cdn.js +1 -1
  131. package/lib/utils/http-client.js +1 -1
  132. package/lib/utils/is-non-interactive.js +1 -1
  133. package/lib/utils/logger.js +1 -1
  134. package/lib/utils/platform.js +1 -1
  135. package/lib/utils/rules-cdn.js +1 -1
  136. package/lib/utils/sleep.js +1 -1
  137. package/lib/utils/template-replacer.js +1 -1
  138. package/lib/utils/version.js +1 -1
  139. package/lib/utils/with-active-cookie.js +1 -1
  140. package/package.json +1 -1
@@ -1 +1 @@
1
- function a109_0x1181(_0x4721b3,_0x47ef49){_0x4721b3=_0x4721b3-0xd2;const _0x170702=a109_0x1707();let _0x1181e8=_0x170702[_0x4721b3];return _0x1181e8;}(function(_0x5d5e0f,_0x5ee881){const _0x4ec97b=a109_0x1181,_0x4fddd0=_0x5d5e0f();while(!![]){try{const _0x2245d1=parseInt(_0x4ec97b(0xfd))/0x1*(-parseInt(_0x4ec97b(0xfa))/0x2)+parseInt(_0x4ec97b(0xec))/0x3+parseInt(_0x4ec97b(0xf4))/0x4+-parseInt(_0x4ec97b(0x118))/0x5+-parseInt(_0x4ec97b(0xfe))/0x6+-parseInt(_0x4ec97b(0xe4))/0x7*(-parseInt(_0x4ec97b(0x117))/0x8)+parseInt(_0x4ec97b(0x112))/0x9;if(_0x2245d1===_0x5ee881)break;else _0x4fddd0['push'](_0x4fddd0['shift']());}catch(_0xef370a){_0x4fddd0['push'](_0x4fddd0['shift']());}}}(a109_0x1707,0x616a2));import{riskLevelOrder,normalizeLegacyOutputFormat}from'../framework/types.js';import{parseFlags,validateFlags}from'../framework/flags.js';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';function a109_0x1707(){const _0x122828=['join','verbose','resolveApiDomain','service','dryRun','string','5386869gxoWtN','format','stderr','number','yes','12352giXoYX','1299555aJaTKK','nonInteractive','authRequired','cancelled','json','\x22.\x20','resolveCookie','isNonInteractive','close','map','pretty','pagesize','.\x20Run\x20`','resolveAppCode','execute','Set\x20appcode\x20via\x20`','selectedAppName','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','\x22.\x0a','args','some','Operation\x20cancelled\x20by\x20user.','requiresAuth','`\x20has\x20risk\x20level\x20\x22','trim','1400oTGWWB','validation','Available\x20aliases:\x20','requiresAppCode','Unknown\x20alias\x20\x22','\x22.\x20visit\x20https://qizhiyuntu.feishu.cn/docx/JTiOdxQlXo2dQLxXVu6ctutcnme\x20for\x20more\x20information.','question','Command\x20`','348642vtHZVI','hasFormat','command','flags','length','\x0a\x20\x20\x20Continue?\x20[y/N]\x20','validate','type','2340464QrTLYn','apiDir','node:readline','defaultPageSize','riskLevel','⚠\x20\x20High-risk\x20operation:\x20','675258fjmjNt','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','configMissing','1KISCMS','3672726YgvFrK','dry-run','appCode','risk','toLowerCase','defaultVerbose','defaultFormat','alias','\x20api\x20pull`\x20first.','code','\x22,\x20which\x20exceeds\x20the\x20configured\x20riskLevel\x20\x22','--jq\x20only\x20applies\x20with\x20--format\x20json\x20or\x20--format\x20compress\x20(current:\x20','`\x20requires\x20either\x20--code\x20or\x20--alias.','defaultOutputFormat'];a109_0x1707=function(){return _0x122828;};return a109_0x1707();}import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';import{DEFAULT_API_DIR}from'../constant/paths.js';export async function runCommand(_0x535693,_0x1fad61){const _0x42ecb5=a109_0x1181,_0x541cad=CLI_BIN_NAME+'\x20'+_0x535693[_0x42ecb5(0x10f)]+'\x20'+_0x535693[_0x42ecb5(0xee)],_0x26efa3=parseFlags(_0x535693[_0x42ecb5(0xef)],_0x1fad61['rawFlags']);validateFlags(_0x535693[_0x42ecb5(0xef)],_0x26efa3,_0x541cad);if(!_0x26efa3[_0x42ecb5(0xff)]&&_0x1fad61['riskLevel']&&riskLevelOrder(_0x535693[_0x42ecb5(0x101)])>riskLevelOrder(_0x1fad61[_0x42ecb5(0xf8)])){if(_0x1fad61[_0x42ecb5(0xd2)])throw CliErrors[_0x42ecb5(0xe5)](_0x42ecb5(0xeb)+_0x541cad+_0x42ecb5(0xe2)+_0x535693[_0x42ecb5(0x101)]+_0x42ecb5(0x108)+_0x1fad61['riskLevel']+'\x22.');throw CliErrors[_0x42ecb5(0xe5)](_0x42ecb5(0xeb)+_0x541cad+_0x42ecb5(0xe2)+_0x535693['risk']+_0x42ecb5(0x108)+_0x1fad61[_0x42ecb5(0xf8)]+_0x42ecb5(0xdd)+('\x20\x20Edit\x20the\x20config\x20file\x20manually\x20and\x20set\x20riskLevel\x20to\x20\x22'+_0x535693[_0x42ecb5(0x101)]+_0x42ecb5(0xe9)));}const _0x35ba21=_0x1fad61['apiDir']||DEFAULT_API_DIR;resolveAliasToCode(_0x535693,_0x26efa3,_0x35ba21,_0x541cad);let _0x511b9a='';if(_0x535693[_0x42ecb5(0xe1)]!==![]){_0x511b9a=_0x1fad61[_0x42ecb5(0x11e)]();if(!_0x511b9a)throw CliErrors[_0x42ecb5(0x11a)]();const {setActiveCookie:_0x2b525a}=await import('../core/api-client.js');_0x2b525a(_0x511b9a);}let _0x108294='';if(_0x535693[_0x42ecb5(0xe7)]!==![]){_0x108294=_0x1fad61[_0x42ecb5(0xd8)]()??'';if(!_0x108294)throw CliErrors[_0x42ecb5(0xfc)](_0x42ecb5(0xda)+CLI_BIN_NAME+_0x42ecb5(0xfb));}let _0x560ae3=resolveFormat(_0x26efa3,_0x535693,_0x1fad61[_0x42ecb5(0x104)]);const _0xda2488=resolveJqFilter(_0x26efa3);_0xda2488&&_0x560ae3===_0x42ecb5(0xd5)&&(_0x560ae3=_0x42ecb5(0x11c));if(_0xda2488&&_0x560ae3!=='json'&&_0x560ae3!=='compress')throw CliErrors[_0x42ecb5(0xe5)](_0x42ecb5(0x109)+_0x560ae3+').');const _0x111b7a=buildRuntimeContext({'appCode':_0x108294,'cookie':_0x511b9a,'apiDomain':_0x1fad61[_0x42ecb5(0x10e)](),'format':_0x560ae3,'jqFilter':_0xda2488,'flags':_0x26efa3,'def':_0x535693,'nonInteractive':_0x1fad61[_0x42ecb5(0xd2)],'defaultPageSize':_0x1fad61['defaultPageSize'],'defaultVerbose':_0x1fad61[_0x42ecb5(0x103)],'apiDir':_0x35ba21,'selectedAppName':_0x1fad61['selectedAppName'],'args':_0x1fad61[_0x42ecb5(0xde)]??[]});_0x535693[_0x42ecb5(0xf2)]&&await _0x535693[_0x42ecb5(0xf2)](_0x111b7a);if(_0x26efa3[_0x42ecb5(0xff)]){if(!_0x535693['dryRun'])throw CliErrors[_0x42ecb5(0xe5)]('--dry-run\x20is\x20not\x20supported\x20for\x20`'+_0x541cad+'`.');const _0x53b469=await _0x535693[_0x42ecb5(0x110)](_0x111b7a);formatOutput({'ok':!![],'data':_0x53b469},{'command':_0x541cad,'risk':_0x535693['risk'],'format':_0x560ae3,'dryRun':!![],'jqFilter':_0xda2488});return;}if(_0x535693[_0x42ecb5(0x101)]==='high-risk-write'&&!_0x26efa3['yes']){if(_0x1fad61[_0x42ecb5(0xd2)])throw CliErrors[_0x42ecb5(0xe5)]('High-risk\x20operation\x20`'+_0x541cad+_0x42ecb5(0xdc));await requireConfirmation(_0x541cad);}const _0x3b7b0a=await _0x535693[_0x42ecb5(0xd9)](_0x111b7a);formatOutput(_0x3b7b0a,{'command':_0x541cad,'risk':_0x535693['risk'],'format':_0x560ae3,'jqFilter':_0xda2488});}function buildRuntimeContext(_0x3bbf62){const _0x246acf=a109_0x1181,{flags:_0x52bd7c,def:_0x1adc56}=_0x3bbf62,_0x55668c=CLI_BIN_NAME+'\x20'+_0x1adc56['service']+'\x20'+_0x1adc56[_0x246acf(0xee)];return{'appCode':_0x3bbf62[_0x246acf(0x100)],'cookie':_0x3bbf62['cookie'],'apiDomain':_0x3bbf62['apiDomain'],'format':_0x3bbf62['format'],'nonInteractive':_0x3bbf62[_0x246acf(0x119)],'apiDir':_0x3bbf62[_0x246acf(0xf5)],'selectedAppName':_0x3bbf62[_0x246acf(0xdb)],'args':_0x3bbf62['args'],'str'(_0x391120){return String(_0x52bd7c[_0x391120]??'');},'bool'(_0x104de1){const _0x5e63c6=_0x246acf;if(_0x52bd7c[_0x104de1]===!![])return!![];if(_0x104de1===_0x5e63c6(0x10d)&&_0x3bbf62[_0x5e63c6(0x103)])return!![];return![];},'num'(_0x47667e,_0x4faead){const _0x8f61d0=_0x246acf,_0x57d38c=_0x52bd7c[_0x47667e];if(typeof _0x57d38c===_0x8f61d0(0x115))return _0x57d38c;if(_0x47667e===_0x8f61d0(0xd6)&&_0x3bbf62[_0x8f61d0(0xf7)]!=null)return _0x3bbf62[_0x8f61d0(0xf7)];return _0x4faead??0x0;},'flag'(_0xf5b855){return _0x52bd7c[_0xf5b855];},'output'(_0x1b5b1d){const _0x217da4=_0x246acf;formatOutput(_0x1b5b1d,{'command':_0x55668c,'risk':_0x1adc56[_0x217da4(0x101)],'format':_0x3bbf62[_0x217da4(0x113)],'jqFilter':_0x3bbf62['jqFilter']});}};}function resolveJqFilter(_0x3d1a2d){const _0x3fa80b=a109_0x1181,_0x88bc68=_0x3d1a2d['jq'];if(_0x88bc68===undefined||_0x88bc68===null)return undefined;const _0x20f0ba=String(_0x88bc68)[_0x3fa80b(0xe3)]();return _0x20f0ba===''?undefined:_0x20f0ba;}function resolveFormat(_0xc5fc19,_0x352ab8,_0x4005d2){const _0x10a034=a109_0x1181;if(_0x352ab8[_0x10a034(0xed)]===![])return'pretty';const _0x1a3ba0=normalizeLegacyOutputFormat(_0xc5fc19[_0x10a034(0x113)]);if(_0x1a3ba0)return _0x1a3ba0;const _0x31a427=normalizeLegacyOutputFormat(_0x4005d2);if(_0x31a427)return _0x31a427;const _0x2c8842=normalizeLegacyOutputFormat(_0x352ab8[_0x10a034(0x10b)]);if(_0x2c8842)return _0x2c8842;return _0x10a034(0xd5);}async function requireConfirmation(_0x597e58){const _0x2799e3=a109_0x1181,_0x8961ab=await import(_0x2799e3(0xf6)),_0x2eb965=_0x8961ab['createInterface']({'input':process['stdin'],'output':process[_0x2799e3(0x114)]});return new Promise((_0x5f3c37,_0x305410)=>{const _0xd34f8a=_0x2799e3;_0x2eb965[_0xd34f8a(0xea)](_0xd34f8a(0xf9)+_0x597e58+_0xd34f8a(0xf1),_0x289f7d=>{const _0xc08faa=_0xd34f8a;_0x2eb965[_0xc08faa(0xd3)](),_0x289f7d[_0xc08faa(0x102)]()==='y'||_0x289f7d[_0xc08faa(0x102)]()===_0xc08faa(0x116)?_0x5f3c37():_0x305410(CliErrors[_0xc08faa(0x11b)](_0xc08faa(0xe0)));});});}function resolveAliasToCode(_0x2c7d47,_0x598666,_0x4599dc,_0x228df8){const _0x4c7e55=a109_0x1181,_0x6188c0=_0x2c7d47[_0x4c7e55(0xef)][_0x4c7e55(0xdf)](_0x5a4c94=>_0x5a4c94['name']===_0x4c7e55(0x107)&&_0x5a4c94[_0x4c7e55(0xf3)]===_0x4c7e55(0x111)),_0x39e9d1=_0x2c7d47['flags']['some'](_0x24c86a=>_0x24c86a['name']===_0x4c7e55(0x105)&&_0x24c86a[_0x4c7e55(0xf3)]==='string');if(!_0x6188c0||!_0x39e9d1)return;const _0x28cd12=_0x598666[_0x4c7e55(0x107)]?String(_0x598666[_0x4c7e55(0x107)]):'',_0x20c025=_0x598666[_0x4c7e55(0x105)]?String(_0x598666[_0x4c7e55(0x105)]):'';if(!_0x28cd12&&!_0x20c025)throw CliErrors['validation']('`'+_0x228df8+_0x4c7e55(0x10a));if(_0x20c025&&!_0x28cd12){const _0xe5bf49=resolveAlias(_0x4599dc,_0x20c025);if(!_0xe5bf49){const _0x27fad5=listAliases(_0x4599dc)[_0x4c7e55(0xd4)](_0x3f521d=>_0x3f521d[_0x4c7e55(0x105)]),_0x16fdbb=_0x27fad5[_0x4c7e55(0xf0)]?_0x4c7e55(0xe6)+_0x27fad5[_0x4c7e55(0x10c)](',\x20'):'No\x20api.ts\x20found\x20in\x20'+_0x4599dc+_0x4c7e55(0xd7)+CLI_BIN_NAME+_0x4c7e55(0x106);throw CliErrors['validation'](_0x4c7e55(0xe8)+_0x20c025+_0x4c7e55(0x11d)+_0x16fdbb);}_0x598666[_0x4c7e55(0x107)]=_0xe5bf49;}}
1
+ function a111_0x38f6(_0x4072b3,_0x54ec2c){_0x4072b3=_0x4072b3-0xcb;const _0x5b7a40=a111_0x5b7a();let _0x38f62f=_0x5b7a40[_0x4072b3];return _0x38f62f;}(function(_0x8a923b,_0x4c22e3){const _0x5b5fc3=a111_0x38f6,_0x433a60=_0x8a923b();while(!![]){try{const _0x5b6d96=-parseInt(_0x5b5fc3(0x115))/0x1*(parseInt(_0x5b5fc3(0x103))/0x2)+-parseInt(_0x5b5fc3(0x109))/0x3+parseInt(_0x5b5fc3(0x106))/0x4*(parseInt(_0x5b5fc3(0xd0))/0x5)+-parseInt(_0x5b5fc3(0xe8))/0x6+parseInt(_0x5b5fc3(0xee))/0x7+-parseInt(_0x5b5fc3(0xe5))/0x8+parseInt(_0x5b5fc3(0xf5))/0x9;if(_0x5b6d96===_0x4c22e3)break;else _0x433a60['push'](_0x433a60['shift']());}catch(_0x253f87){_0x433a60['push'](_0x433a60['shift']());}}}(a111_0x5b7a,0xad5e7));import{riskLevelOrder,normalizeLegacyOutputFormat}from'../framework/types.js';import{parseFlags,validateFlags}from'../framework/flags.js';import{formatOutput}from'../framework/output.js';function a111_0x5b7a(){const _0xb76f7=['\x0a\x20\x20\x20Continue?\x20[y/N]\x20','toLowerCase','`\x20requires\x20either\x20--code\x20or\x20--alias.','202sKVAuL','stdin','requiresAuth','1432MIvvjr','compress','dry-run','1469883AuPyta','defaultVerbose','trim','authRequired','args','cancelled','\x22.\x20visit\x20https://qizhiyuntu.feishu.cn/docx/JTiOdxQlXo2dQLxXVu6ctutcnme\x20for\x20more\x20information.','verbose','Set\x20appcode\x20via\x20`','map','number','flags','12363zbqYeb','high-risk-write','`\x20has\x20risk\x20level\x20\x22','\x22.\x0a','code','node:readline','apiDomain','question','configMissing','17365Mvmujh','High-risk\x20operation\x20`','service','No\x20api.ts\x20found\x20in\x20','Operation\x20cancelled\x20by\x20user.','command','Command\x20`','jqFilter','format','risk','apiDir','some','close','pretty','yes','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','defaultPageSize','Unknown\x20alias\x20\x22','\x20api\x20pull`\x20first.','\x22.\x20','resolveCookie','3970616vdwWvt','../core/api-client.js','resolveApiDomain','1804314mUXstu','hasFormat','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','cookie','--jq\x20only\x20applies\x20with\x20--format\x20json\x20or\x20--format\x20compress\x20(current:\x20','name','8722413gJZLNF','validate','length','type','resolveAppCode','alias','execute','6807564OybxRp','\x22,\x20which\x20exceeds\x20the\x20configured\x20riskLevel\x20\x22','isNonInteractive','--dry-run\x20is\x20not\x20supported\x20for\x20`','selectedAppName','rawFlags','dryRun','riskLevel','string','json','validation'];a111_0x5b7a=function(){return _0xb76f7;};return a111_0x5b7a();}import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';import{DEFAULT_API_DIR}from'../constant/paths.js';export async function runCommand(_0xd8a141,_0x1e31a9){const _0x1f6da2=a111_0x38f6,_0x3d2b78=CLI_BIN_NAME+'\x20'+_0xd8a141[_0x1f6da2(0xd2)]+'\x20'+_0xd8a141[_0x1f6da2(0xd5)],_0x517e38=parseFlags(_0xd8a141['flags'],_0x1e31a9[_0x1f6da2(0xfa)]);validateFlags(_0xd8a141[_0x1f6da2(0x114)],_0x517e38,_0x3d2b78);if(!_0x517e38[_0x1f6da2(0x108)]&&_0x1e31a9[_0x1f6da2(0xfc)]&&riskLevelOrder(_0xd8a141[_0x1f6da2(0xd9)])>riskLevelOrder(_0x1e31a9[_0x1f6da2(0xfc)])){if(_0x1e31a9['isNonInteractive'])throw CliErrors[_0x1f6da2(0xff)](_0x1f6da2(0xd6)+_0x3d2b78+_0x1f6da2(0x117)+_0xd8a141[_0x1f6da2(0xd9)]+_0x1f6da2(0xf6)+_0x1e31a9[_0x1f6da2(0xfc)]+'\x22.');throw CliErrors[_0x1f6da2(0xff)](_0x1f6da2(0xd6)+_0x3d2b78+'`\x20has\x20risk\x20level\x20\x22'+_0xd8a141[_0x1f6da2(0xd9)]+_0x1f6da2(0xf6)+_0x1e31a9[_0x1f6da2(0xfc)]+_0x1f6da2(0x118)+('\x20\x20Edit\x20the\x20config\x20file\x20manually\x20and\x20set\x20riskLevel\x20to\x20\x22'+_0xd8a141[_0x1f6da2(0xd9)]+_0x1f6da2(0x10f)));}const _0x1b93f2=_0x1e31a9[_0x1f6da2(0xda)]||DEFAULT_API_DIR;resolveAliasToCode(_0xd8a141,_0x517e38,_0x1b93f2,_0x3d2b78);let _0x4aebc9='';if(_0xd8a141[_0x1f6da2(0x105)]!==![]){_0x4aebc9=_0x1e31a9[_0x1f6da2(0xe4)]();if(!_0x4aebc9)throw CliErrors[_0x1f6da2(0x10c)]();const {setActiveCookie:_0x143200}=await import(_0x1f6da2(0xe6));_0x143200(_0x4aebc9);}let _0xb769bb='';if(_0xd8a141['requiresAppCode']!==![]){_0xb769bb=_0x1e31a9[_0x1f6da2(0xf2)]()??'';if(!_0xb769bb)throw CliErrors[_0x1f6da2(0xcf)](_0x1f6da2(0x111)+CLI_BIN_NAME+_0x1f6da2(0xea));}let _0x2791b8=resolveFormat(_0x517e38,_0xd8a141,_0x1e31a9['defaultFormat']);const _0x5a3be4=resolveJqFilter(_0x517e38);_0x5a3be4&&_0x2791b8==='pretty'&&(_0x2791b8=_0x1f6da2(0xfe));if(_0x5a3be4&&_0x2791b8!=='json'&&_0x2791b8!==_0x1f6da2(0x107))throw CliErrors[_0x1f6da2(0xff)](_0x1f6da2(0xec)+_0x2791b8+').');const _0xc7335b=buildRuntimeContext({'appCode':_0xb769bb,'cookie':_0x4aebc9,'apiDomain':_0x1e31a9[_0x1f6da2(0xe7)](),'format':_0x2791b8,'jqFilter':_0x5a3be4,'flags':_0x517e38,'def':_0xd8a141,'nonInteractive':_0x1e31a9['isNonInteractive'],'defaultPageSize':_0x1e31a9[_0x1f6da2(0xe0)],'defaultVerbose':_0x1e31a9[_0x1f6da2(0x10a)],'apiDir':_0x1b93f2,'selectedAppName':_0x1e31a9[_0x1f6da2(0xf9)],'args':_0x1e31a9[_0x1f6da2(0x10d)]??[]});_0xd8a141[_0x1f6da2(0xef)]&&await _0xd8a141[_0x1f6da2(0xef)](_0xc7335b);if(_0x517e38[_0x1f6da2(0x108)]){if(!_0xd8a141[_0x1f6da2(0xfb)])throw CliErrors[_0x1f6da2(0xff)](_0x1f6da2(0xf8)+_0x3d2b78+'`.');const _0x30cf57=await _0xd8a141[_0x1f6da2(0xfb)](_0xc7335b);formatOutput({'ok':!![],'data':_0x30cf57},{'command':_0x3d2b78,'risk':_0xd8a141[_0x1f6da2(0xd9)],'format':_0x2791b8,'dryRun':!![],'jqFilter':_0x5a3be4});return;}if(_0xd8a141[_0x1f6da2(0xd9)]===_0x1f6da2(0x116)&&!_0x517e38['yes']){if(_0x1e31a9[_0x1f6da2(0xf7)])throw CliErrors[_0x1f6da2(0xff)](_0x1f6da2(0xd1)+_0x3d2b78+_0x1f6da2(0xdf));await requireConfirmation(_0x3d2b78);}const _0x1a5f35=await _0xd8a141[_0x1f6da2(0xf4)](_0xc7335b);formatOutput(_0x1a5f35,{'command':_0x3d2b78,'risk':_0xd8a141[_0x1f6da2(0xd9)],'format':_0x2791b8,'jqFilter':_0x5a3be4});}function buildRuntimeContext(_0x341b39){const _0x3d16f9=a111_0x38f6,{flags:_0xa818fe,def:_0x3628aa}=_0x341b39,_0x5c1efc=CLI_BIN_NAME+'\x20'+_0x3628aa['service']+'\x20'+_0x3628aa['command'];return{'appCode':_0x341b39['appCode'],'cookie':_0x341b39[_0x3d16f9(0xeb)],'apiDomain':_0x341b39[_0x3d16f9(0xcd)],'format':_0x341b39[_0x3d16f9(0xd8)],'nonInteractive':_0x341b39['nonInteractive'],'apiDir':_0x341b39[_0x3d16f9(0xda)],'selectedAppName':_0x341b39['selectedAppName'],'args':_0x341b39[_0x3d16f9(0x10d)],'str'(_0x46fb9a){return String(_0xa818fe[_0x46fb9a]??'');},'bool'(_0x430884){const _0x3a987e=_0x3d16f9;if(_0xa818fe[_0x430884]===!![])return!![];if(_0x430884===_0x3a987e(0x110)&&_0x341b39[_0x3a987e(0x10a)])return!![];return![];},'num'(_0x3f2469,_0x4028d7){const _0x2f48b1=_0x3d16f9,_0x3bdc00=_0xa818fe[_0x3f2469];if(typeof _0x3bdc00===_0x2f48b1(0x113))return _0x3bdc00;if(_0x3f2469==='pagesize'&&_0x341b39[_0x2f48b1(0xe0)]!=null)return _0x341b39[_0x2f48b1(0xe0)];return _0x4028d7??0x0;},'flag'(_0x427012){return _0xa818fe[_0x427012];},'output'(_0x464fa3){const _0x28f394=_0x3d16f9;formatOutput(_0x464fa3,{'command':_0x5c1efc,'risk':_0x3628aa['risk'],'format':_0x341b39[_0x28f394(0xd8)],'jqFilter':_0x341b39[_0x28f394(0xd7)]});}};}function resolveJqFilter(_0x5f2405){const _0x174d58=a111_0x38f6,_0x59d862=_0x5f2405['jq'];if(_0x59d862===undefined||_0x59d862===null)return undefined;const _0x1b5777=String(_0x59d862)[_0x174d58(0x10b)]();return _0x1b5777===''?undefined:_0x1b5777;}function resolveFormat(_0x10bdea,_0x413553,_0x5dfb31){const _0x3ed11f=a111_0x38f6;if(_0x413553[_0x3ed11f(0xe9)]===![])return _0x3ed11f(0xdd);const _0x31f296=normalizeLegacyOutputFormat(_0x10bdea[_0x3ed11f(0xd8)]);if(_0x31f296)return _0x31f296;const _0x42d510=normalizeLegacyOutputFormat(_0x5dfb31);if(_0x42d510)return _0x42d510;const _0xb38540=normalizeLegacyOutputFormat(_0x413553['defaultOutputFormat']);if(_0xb38540)return _0xb38540;return _0x3ed11f(0xdd);}async function requireConfirmation(_0x2222d4){const _0x3c2c4c=a111_0x38f6,_0x420c9d=await import(_0x3c2c4c(0xcc)),_0x224e53=_0x420c9d['createInterface']({'input':process[_0x3c2c4c(0x104)],'output':process['stderr']});return new Promise((_0x55a8d0,_0x3e3192)=>{const _0x5b6d5f=_0x3c2c4c;_0x224e53[_0x5b6d5f(0xce)]('⚠\x20\x20High-risk\x20operation:\x20'+_0x2222d4+_0x5b6d5f(0x100),_0xb555df=>{const _0x9d9bf8=_0x5b6d5f;_0x224e53[_0x9d9bf8(0xdc)](),_0xb555df[_0x9d9bf8(0x101)]()==='y'||_0xb555df[_0x9d9bf8(0x101)]()===_0x9d9bf8(0xde)?_0x55a8d0():_0x3e3192(CliErrors[_0x9d9bf8(0x10e)](_0x9d9bf8(0xd4)));});});}function resolveAliasToCode(_0x5f577d,_0x38e97d,_0x45c656,_0x386c4c){const _0x42ef23=a111_0x38f6,_0x1a0bab=_0x5f577d[_0x42ef23(0x114)][_0x42ef23(0xdb)](_0xa2c514=>_0xa2c514[_0x42ef23(0xed)]===_0x42ef23(0xcb)&&_0xa2c514[_0x42ef23(0xf1)]===_0x42ef23(0xfd)),_0x1b6af6=_0x5f577d[_0x42ef23(0x114)][_0x42ef23(0xdb)](_0x3ea081=>_0x3ea081['name']==='alias'&&_0x3ea081['type']===_0x42ef23(0xfd));if(!_0x1a0bab||!_0x1b6af6)return;const _0xc609b=_0x38e97d[_0x42ef23(0xcb)]?String(_0x38e97d[_0x42ef23(0xcb)]):'',_0x13562=_0x38e97d[_0x42ef23(0xf3)]?String(_0x38e97d[_0x42ef23(0xf3)]):'';if(!_0xc609b&&!_0x13562)throw CliErrors[_0x42ef23(0xff)]('`'+_0x386c4c+_0x42ef23(0x102));if(_0x13562&&!_0xc609b){const _0x2182fa=resolveAlias(_0x45c656,_0x13562);if(!_0x2182fa){const _0x24fb81=listAliases(_0x45c656)[_0x42ef23(0x112)](_0x570cd1=>_0x570cd1['alias']),_0x3c59b7=_0x24fb81[_0x42ef23(0xf0)]?'Available\x20aliases:\x20'+_0x24fb81['join'](',\x20'):_0x42ef23(0xd3)+_0x45c656+'.\x20Run\x20`'+CLI_BIN_NAME+_0x42ef23(0xe2);throw CliErrors[_0x42ef23(0xff)](_0x42ef23(0xe1)+_0x13562+_0x42ef23(0xe3)+_0x3c59b7);}_0x38e97d[_0x42ef23(0xcb)]=_0x2182fa;}}
@@ -1 +1 @@
1
- (function(_0x5026af,_0x434cd9){const _0x545f1c=a110_0x1371,_0x7bef46=_0x5026af();while(!![]){try{const _0x48eccd=-parseInt(_0x545f1c(0x1e6))/0x1*(-parseInt(_0x545f1c(0x1e7))/0x2)+parseInt(_0x545f1c(0x1ce))/0x3*(-parseInt(_0x545f1c(0x1d2))/0x4)+-parseInt(_0x545f1c(0x1d7))/0x5+parseInt(_0x545f1c(0x1d4))/0x6*(parseInt(_0x545f1c(0x1d6))/0x7)+-parseInt(_0x545f1c(0x1c3))/0x8*(-parseInt(_0x545f1c(0x1ca))/0x9)+-parseInt(_0x545f1c(0x1eb))/0xa+parseInt(_0x545f1c(0x1da))/0xb;if(_0x48eccd===_0x434cd9)break;else _0x7bef46['push'](_0x7bef46['shift']());}catch(_0x378185){_0x7bef46['push'](_0x7bef46['shift']());}}}(a110_0x4279,0x1ec2d));import{buildAllFlags}from'../framework/build-all-flags.js';function a110_0x4279(){const _0xac24ed=['risk','helpExtra','tag','enum','hint','../commands/registry.js','trim','default','wildcardDef','source','5958aazeih','48kDmLRk','description','hasFormat','isSingleCommand','316780oueqhg','1018800WNSQpD','type','hidden','alias','name','required','regex','9kOVmIU','push','args','map','2313UOeAuX','requiresAuth','command','requiresAppCode','252LHKVEQ','<script>','50574QRLfYw','service','91wYlhQw','936225PVRczh','pattern','label','149314grJFEm','length'];a110_0x4279=function(){return _0xac24ed;};return a110_0x4279();}import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{VERSION,GIT_COMMIT}from'../generated/build-info.js';function a110_0x1371(_0x1f2ea4,_0x236e33){_0x1f2ea4=_0x1f2ea4-0x1c3;const _0x427935=a110_0x4279();let _0x137111=_0x427935[_0x1f2ea4];return _0x137111;}function serializeFlag(_0x51ccf7){const _0x86313c=a110_0x1371,_0x3cb9d1={'name':_0x51ccf7[_0x86313c(0x1c7)],'type':_0x51ccf7[_0x86313c(0x1c4)],'description':_0x51ccf7[_0x86313c(0x1e8)]};if(_0x51ccf7[_0x86313c(0x1c8)]!==undefined)_0x3cb9d1[_0x86313c(0x1c8)]=_0x51ccf7[_0x86313c(0x1c8)];if(_0x51ccf7[_0x86313c(0x1e3)]!==undefined)_0x3cb9d1['default']=_0x51ccf7['default'];if(_0x51ccf7[_0x86313c(0x1df)]&&_0x51ccf7['enum']['length']>0x0)_0x3cb9d1['enum']=_0x51ccf7[_0x86313c(0x1df)];if(_0x51ccf7['alias'])_0x3cb9d1['alias']=_0x51ccf7[_0x86313c(0x1c6)];if(_0x51ccf7[_0x86313c(0x1c5)])_0x3cb9d1[_0x86313c(0x1c5)]=_0x51ccf7[_0x86313c(0x1c5)];return _0x51ccf7['pattern']&&(_0x3cb9d1[_0x86313c(0x1d8)]={'source':_0x51ccf7[_0x86313c(0x1d8)][_0x86313c(0x1c9)][_0x86313c(0x1e5)],'flags':_0x51ccf7[_0x86313c(0x1d8)][_0x86313c(0x1c9)]['flags'],'description':_0x51ccf7[_0x86313c(0x1d8)][_0x86313c(0x1e8)]}),_0x3cb9d1;}function serializeHelpExtra(_0x4027d2){const _0x1bef68=a110_0x1371;if(_0x4027d2[_0x1bef68(0x1dd)]===undefined)return undefined;if(typeof _0x4027d2[_0x1bef68(0x1dd)]==='function')return{'dynamic':!![]};return _0x4027d2[_0x1bef68(0x1dd)];}function serializeCommand(_0x2b0b0a,_0x4e5156){const _0x4d1547=a110_0x1371,_0x2b5d09=_0x2b0b0a[_0x4d1547(0x1cf)]!==![],_0x318b2c=_0x2b0b0a[_0x4d1547(0x1d1)]!==![],_0x4810ea=_0x2b0b0a[_0x4d1547(0x1e9)]!==![],_0x1f91ae=serializeHelpExtra(_0x2b0b0a);return{'command':_0x4e5156[_0x4d1547(0x1d0)],'description':_0x4e5156['description'],..._0x4e5156[_0x4d1547(0x1de)]?{'tag':_0x4e5156[_0x4d1547(0x1de)][_0x4d1547(0x1e2)]()}:{},'risk':_0x2b0b0a[_0x4d1547(0x1dc)],'requiresAuth':_0x2b5d09,'requiresAppCode':_0x318b2c,'hasFormat':_0x4810ea,'supportsDryRun':Boolean(_0x2b0b0a['dryRun']),..._0x2b0b0a[_0x4d1547(0x1cc)]&&_0x2b0b0a['args'][_0x4d1547(0x1db)]>0x0?{'args':_0x2b0b0a[_0x4d1547(0x1cc)]}:{},'flags':buildAllFlags(_0x2b0b0a)[_0x4d1547(0x1cd)](serializeFlag),..._0x1f91ae!==undefined?{'helpExtra':_0x1f91ae}:{}};}export async function buildSchemaPayload(){const _0x2f5275=a110_0x1371,{serviceRegistry:_0x2be31a,findDefinition:_0x1183f8}=await import(_0x2f5275(0x1e1)),_0x32f71e=[];for(const _0x19ea36 of _0x2be31a){const _0x678549=[];for(const _0x493c34 of _0x19ea36['commands']){const _0x459127=_0x493c34[_0x2f5275(0x1d0)]===_0x2f5275(0x1d3)&&_0x19ea36['wildcardDef']?_0x19ea36[_0x2f5275(0x1e4)]:_0x1183f8(_0x19ea36[_0x2f5275(0x1d5)],_0x493c34[_0x2f5275(0x1d0)]);if(!_0x459127)continue;_0x678549[_0x2f5275(0x1cb)](serializeCommand(_0x459127,_0x493c34));}_0x32f71e[_0x2f5275(0x1cb)]({'service':_0x19ea36[_0x2f5275(0x1d5)],'label':_0x19ea36[_0x2f5275(0x1d9)],..._0x19ea36[_0x2f5275(0x1ea)]?{'isSingleCommand':!![]}:{},..._0x19ea36['defaultCommand']?{'defaultCommand':_0x19ea36['defaultCommand']}:{},'hasWildcard':Boolean(_0x19ea36[_0x2f5275(0x1e4)]),'commands':_0x678549});}return{'schemaVersion':0x1,'cli':{'bin':CLI_BIN_NAME,'displayName':CLI_DISPLAY_NAME,'version':VERSION,'gitCommit':GIT_COMMIT},'globalFlags':GLOBAL_FLAGS['map'](_0x2661c8=>({'name':_0x2661c8[_0x2f5275(0x1c7)],'type':_0x2661c8[_0x2f5275(0x1c4)],'description':_0x2661c8[_0x2f5275(0x1e8)],..._0x2661c8[_0x2f5275(0x1e0)]?{'hint':_0x2661c8[_0x2f5275(0x1e0)]}:{},..._0x2661c8[_0x2f5275(0x1c5)]?{'hidden':!![]}:{}})),'services':_0x32f71e};}
1
+ (function(_0x48aded,_0x18f982){const _0x2fffc8=a112_0x37f2,_0x2352f4=_0x48aded();while(!![]){try{const _0x169b44=-parseInt(_0x2fffc8(0xb5))/0x1+parseInt(_0x2fffc8(0x91))/0x2+-parseInt(_0x2fffc8(0x9b))/0x3+-parseInt(_0x2fffc8(0xa3))/0x4+-parseInt(_0x2fffc8(0x8d))/0x5+-parseInt(_0x2fffc8(0xb0))/0x6+-parseInt(_0x2fffc8(0x9d))/0x7*(-parseInt(_0x2fffc8(0x9c))/0x8);if(_0x169b44===_0x18f982)break;else _0x2352f4['push'](_0x2352f4['shift']());}catch(_0x57dafd){_0x2352f4['push'](_0x2352f4['shift']());}}}(a112_0x11ba,0x9e803));import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{VERSION,GIT_COMMIT}from'../generated/build-info.js';function a112_0x37f2(_0x3e10df,_0x2526b8){_0x3e10df=_0x3e10df-0x8d;const _0x11ba04=a112_0x11ba();let _0x37f2ef=_0x11ba04[_0x3e10df];return _0x37f2ef;}function serializeFlag(_0x3bf7ea){const _0x439cd7=a112_0x37f2,_0x485408={'name':_0x3bf7ea['name'],'type':_0x3bf7ea['type'],'description':_0x3bf7ea[_0x439cd7(0xa1)]};if(_0x3bf7ea['required']!==undefined)_0x485408['required']=_0x3bf7ea[_0x439cd7(0xa7)];if(_0x3bf7ea[_0x439cd7(0x93)]!==undefined)_0x485408[_0x439cd7(0x93)]=_0x3bf7ea[_0x439cd7(0x93)];if(_0x3bf7ea[_0x439cd7(0x90)]&&_0x3bf7ea[_0x439cd7(0x90)][_0x439cd7(0x96)]>0x0)_0x485408['enum']=_0x3bf7ea[_0x439cd7(0x90)];if(_0x3bf7ea[_0x439cd7(0xb4)])_0x485408[_0x439cd7(0xb4)]=_0x3bf7ea[_0x439cd7(0xb4)];if(_0x3bf7ea[_0x439cd7(0x98)])_0x485408[_0x439cd7(0x98)]=_0x3bf7ea[_0x439cd7(0x98)];return _0x3bf7ea[_0x439cd7(0xa9)]&&(_0x485408[_0x439cd7(0xa9)]={'source':_0x3bf7ea[_0x439cd7(0xa9)][_0x439cd7(0x99)][_0x439cd7(0xa2)],'flags':_0x3bf7ea[_0x439cd7(0xa9)][_0x439cd7(0x99)][_0x439cd7(0xa6)],'description':_0x3bf7ea[_0x439cd7(0xa9)][_0x439cd7(0xa1)]}),_0x485408;}function a112_0x11ba(){const _0x5a745c=['source','5154728PUhgLS','requiresAppCode','args','flags','required','hint','pattern','map','<script>','hasFormat','tag','function','label','2274426ZAngqf','../commands/registry.js','requiresAuth','dryRun','alias','288403FWCYhE','2829295WNFKcW','commands','helpExtra','enum','707782SVbQKB','service','default','push','name','length','trim','hidden','regex','command','961479KQzbWc','482744JNcAYN','364JhVNwI','wildcardDef','defaultCommand','type','description'];a112_0x11ba=function(){return _0x5a745c;};return a112_0x11ba();}function serializeHelpExtra(_0x37c9aa){const _0x513107=a112_0x37f2;if(_0x37c9aa[_0x513107(0x8f)]===undefined)return undefined;if(typeof _0x37c9aa[_0x513107(0x8f)]===_0x513107(0xae))return{'dynamic':!![]};return _0x37c9aa[_0x513107(0x8f)];}function serializeCommand(_0xe172cf,_0x2e575e){const _0x3bdce9=a112_0x37f2,_0x2b1c8f=_0xe172cf[_0x3bdce9(0xb2)]!==![],_0x7f8864=_0xe172cf[_0x3bdce9(0xa4)]!==![],_0x3571c9=_0xe172cf[_0x3bdce9(0xac)]!==![],_0x4ad020=serializeHelpExtra(_0xe172cf);return{'command':_0x2e575e['command'],'description':_0x2e575e['description'],..._0x2e575e[_0x3bdce9(0xad)]?{'tag':_0x2e575e['tag'][_0x3bdce9(0x97)]()}:{},'risk':_0xe172cf['risk'],'requiresAuth':_0x2b1c8f,'requiresAppCode':_0x7f8864,'hasFormat':_0x3571c9,'supportsDryRun':Boolean(_0xe172cf[_0x3bdce9(0xb3)]),..._0xe172cf['args']&&_0xe172cf[_0x3bdce9(0xa5)][_0x3bdce9(0x96)]>0x0?{'args':_0xe172cf[_0x3bdce9(0xa5)]}:{},'flags':buildAllFlags(_0xe172cf)[_0x3bdce9(0xaa)](serializeFlag),..._0x4ad020!==undefined?{'helpExtra':_0x4ad020}:{}};}export async function buildSchemaPayload(){const _0x1ac21d=a112_0x37f2,{serviceRegistry:_0x11300f,findDefinition:_0x1d0c65}=await import(_0x1ac21d(0xb1)),_0x467599=[];for(const _0x550b0c of _0x11300f){const _0x3bce71=[];for(const _0x196784 of _0x550b0c[_0x1ac21d(0x8e)]){const _0x14c707=_0x196784[_0x1ac21d(0x9a)]===_0x1ac21d(0xab)&&_0x550b0c[_0x1ac21d(0x9e)]?_0x550b0c[_0x1ac21d(0x9e)]:_0x1d0c65(_0x550b0c[_0x1ac21d(0x92)],_0x196784[_0x1ac21d(0x9a)]);if(!_0x14c707)continue;_0x3bce71[_0x1ac21d(0x94)](serializeCommand(_0x14c707,_0x196784));}_0x467599['push']({'service':_0x550b0c[_0x1ac21d(0x92)],'label':_0x550b0c[_0x1ac21d(0xaf)],..._0x550b0c['isSingleCommand']?{'isSingleCommand':!![]}:{},..._0x550b0c['defaultCommand']?{'defaultCommand':_0x550b0c[_0x1ac21d(0x9f)]}:{},'hasWildcard':Boolean(_0x550b0c[_0x1ac21d(0x9e)]),'commands':_0x3bce71});}return{'schemaVersion':0x1,'cli':{'bin':CLI_BIN_NAME,'displayName':CLI_DISPLAY_NAME,'version':VERSION,'gitCommit':GIT_COMMIT},'globalFlags':GLOBAL_FLAGS[_0x1ac21d(0xaa)](_0x3f6fa0=>({'name':_0x3f6fa0[_0x1ac21d(0x95)],'type':_0x3f6fa0[_0x1ac21d(0xa0)],'description':_0x3f6fa0['description'],..._0x3f6fa0[_0x1ac21d(0xa8)]?{'hint':_0x3f6fa0[_0x1ac21d(0xa8)]}:{},..._0x3f6fa0[_0x1ac21d(0x98)]?{'hidden':!![]}:{}})),'services':_0x467599};}
@@ -1 +1 @@
1
- function a111_0x1735(){const _0x20ea8e=['compress','1328369djpTJI','pretty','12553542BRXYGk','8872UKBifl','read','233883rvGCkl','38xRyTcf','116MtRveJ','36305Xwepki','40380930lLJSkd','3220zljzqM','568914GQFaij'];a111_0x1735=function(){return _0x20ea8e;};return a111_0x1735();}(function(_0x1e148c,_0x480132){const _0x18f259=a111_0x17d2,_0x1b7633=_0x1e148c();while(!![]){try{const _0x5bb8d7=parseInt(_0x18f259(0x9b))/0x1+parseInt(_0x18f259(0xa1))/0x2*(parseInt(_0x18f259(0xa0))/0x3)+-parseInt(_0x18f259(0xa2))/0x4*(-parseInt(_0x18f259(0xa3))/0x5)+-parseInt(_0x18f259(0x99))/0x6+parseInt(_0x18f259(0xa5))/0x7*(parseInt(_0x18f259(0x9e))/0x8)+parseInt(_0x18f259(0x9d))/0x9+-parseInt(_0x18f259(0xa4))/0xa;if(_0x5bb8d7===_0x480132)break;else _0x1b7633['push'](_0x1b7633['shift']());}catch(_0x725e83){_0x1b7633['push'](_0x1b7633['shift']());}}}(a111_0x1735,0xc16c7));function a111_0x17d2(_0x3c8383,_0x55fa98){_0x3c8383=_0x3c8383-0x99;const _0x17359b=a111_0x1735();let _0x17d243=_0x17359b[_0x3c8383];return _0x17d243;}export function riskLevelOrder(_0x14b9b0){const _0x444014=a111_0x17d2,_0x5a938f={'read':0x0,'write':0x1,'high-risk-write':0x2};return _0x5a938f[_0x14b9b0??_0x444014(0x9f)]??0x0;}export function isValidFormat(_0x804048){const _0x544747=a111_0x17d2;return _0x804048==='json'||_0x804048===_0x544747(0x9c)||_0x804048===_0x544747(0x9a);}export function normalizeLegacyOutputFormat(_0x1ca405){if(_0x1ca405==='table')return'pretty';if(isValidFormat(_0x1ca405))return _0x1ca405;return undefined;}
1
+ (function(_0x3d643b,_0x512a41){const _0x3cb87c=a113_0x20ff,_0x392d1a=_0x3d643b();while(!![]){try{const _0x229eff=-parseInt(_0x3cb87c(0xb1))/0x1+parseInt(_0x3cb87c(0xad))/0x2+parseInt(_0x3cb87c(0xab))/0x3+parseInt(_0x3cb87c(0xb0))/0x4+parseInt(_0x3cb87c(0xb4))/0x5+-parseInt(_0x3cb87c(0xb2))/0x6+-parseInt(_0x3cb87c(0xae))/0x7;if(_0x229eff===_0x512a41)break;else _0x392d1a['push'](_0x392d1a['shift']());}catch(_0x5f2b1e){_0x392d1a['push'](_0x392d1a['shift']());}}}(a113_0x4be5,0x24bad));function a113_0x4be5(){const _0x2b7711=['table','272415QoohpT','869367NfUeYT','json','255284vbHtIn','2836120aTKDDT','pretty','1012976WfJQxf','17752iOCJpc','910806TlNvzr'];a113_0x4be5=function(){return _0x2b7711;};return a113_0x4be5();}export function riskLevelOrder(_0x259acc){const _0x5a7601={'read':0x0,'write':0x1,'high-risk-write':0x2};return _0x5a7601[_0x259acc??'read']??0x0;}export function isValidFormat(_0x235855){const _0x32d7a5=a113_0x20ff;return _0x235855===_0x32d7a5(0xac)||_0x235855===_0x32d7a5(0xaf)||_0x235855==='compress';}function a113_0x20ff(_0x4557cb,_0x3fbcfc){_0x4557cb=_0x4557cb-0xab;const _0x4be505=a113_0x4be5();let _0x20ffe6=_0x4be505[_0x4557cb];return _0x20ffe6;}export function normalizeLegacyOutputFormat(_0x5a0f51){const _0x44b641=a113_0x20ff;if(_0x5a0f51===_0x44b641(0xb3))return _0x44b641(0xaf);if(isValidFormat(_0x5a0f51))return _0x5a0f51;return undefined;}
@@ -1 +1 @@
1
- function a112_0x2b9f(){const _0x107a59=['30d1fa1','5961753Gqjdbs','820IEvhZu','v2.0.12','47984qRbwow','2774781UpVHiL','41239sQJIdA','2.0.12','115NODoti','171NGzPrc','22027476QYyfYk','2026-04-06T15:02:49.005Z','162032agLNyo','8804xKAmmC','6uATOzd','23sAvCYw'];a112_0x2b9f=function(){return _0x107a59;};return a112_0x2b9f();}const a112_0xdb3828=a112_0x5ec6;(function(_0x3cb248,_0x46235a){const _0x29bd59=a112_0x5ec6,_0x42e81d=_0x3cb248();while(!![]){try{const _0xe6bc06=parseInt(_0x29bd59(0x1c6))/0x1*(parseInt(_0x29bd59(0x1cb))/0x2)+-parseInt(_0x29bd59(0x1cc))/0x3+-parseInt(_0x29bd59(0x1c4))/0x4*(parseInt(_0x29bd59(0x1cf))/0x5)+-parseInt(_0x29bd59(0x1c5))/0x6*(parseInt(_0x29bd59(0x1c8))/0x7)+parseInt(_0x29bd59(0x1c3))/0x8*(-parseInt(_0x29bd59(0x1d0))/0x9)+parseInt(_0x29bd59(0x1c9))/0xa*(parseInt(_0x29bd59(0x1cd))/0xb)+parseInt(_0x29bd59(0x1d1))/0xc;if(_0xe6bc06===_0x46235a)break;else _0x42e81d['push'](_0x42e81d['shift']());}catch(_0x44f0a0){_0x42e81d['push'](_0x42e81d['shift']());}}}(a112_0x2b9f,0x75df2));function a112_0x5ec6(_0x5e1691,_0x49479f){_0x5e1691=_0x5e1691-0x1c3;const _0x2b9fe1=a112_0x2b9f();let _0x5ec620=_0x2b9fe1[_0x5e1691];return _0x5ec620;}export const VERSION=a112_0xdb3828(0x1ce);export const GIT_TAG=a112_0xdb3828(0x1ca);export const GIT_COMMIT=a112_0xdb3828(0x1c7);export const BUILD_TIME=a112_0xdb3828(0x1d2);
1
+ const a114_0x498ace=a114_0x3267;function a114_0x3267(_0x394601,_0xb4279c){_0x394601=_0x394601-0x7a;const _0xbcc792=a114_0xbcc7();let _0x3267f4=_0xbcc792[_0x394601];return _0x3267f4;}(function(_0x5b1fb4,_0x2be7be){const _0x3ffb39=a114_0x3267,_0xffbcbe=_0x5b1fb4();while(!![]){try{const _0x39edd8=-parseInt(_0x3ffb39(0x80))/0x1+-parseInt(_0x3ffb39(0x81))/0x2*(-parseInt(_0x3ffb39(0x7f))/0x3)+-parseInt(_0x3ffb39(0x83))/0x4+-parseInt(_0x3ffb39(0x7b))/0x5+parseInt(_0x3ffb39(0x85))/0x6+-parseInt(_0x3ffb39(0x7d))/0x7+parseInt(_0x3ffb39(0x7a))/0x8*(parseInt(_0x3ffb39(0x7c))/0x9);if(_0x39edd8===_0x2be7be)break;else _0xffbcbe['push'](_0xffbcbe['shift']());}catch(_0x2ff60a){_0xffbcbe['push'](_0xffbcbe['shift']());}}}(a114_0xbcc7,0xd9e36));function a114_0xbcc7(){const _0xd221d5=['1341wHJfTD','6254836BiRbPj','2026-04-06T15:47:55.152Z','19914yDJUid','718149DMgtqv','90xJDxru','e8301dd','5118400Jccjof','2.0.13','3775764QqBeIS','v2.0.13','164352vnrZdb','1026465QobQsn'];a114_0xbcc7=function(){return _0xd221d5;};return a114_0xbcc7();}export const VERSION=a114_0x498ace(0x84);export const GIT_TAG=a114_0x498ace(0x86);export const GIT_COMMIT=a114_0x498ace(0x82);export const BUILD_TIME=a114_0x498ace(0x7e);
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- function a113_0x9b37(_0x4f24e6,_0x436cc6){_0x4f24e6=_0x4f24e6-0x76;var _0x56fded=a113_0x56fd();var _0x9b37cc=_0x56fded[_0x4f24e6];return _0x9b37cc;}(function(_0x4b91f6,_0xf6d45e){var _0x486230=a113_0x9b37,_0x6cd731=_0x4b91f6();while(!![]){try{var _0x40568f=parseInt(_0x486230(0x77))/0x1+-parseInt(_0x486230(0x7d))/0x2*(parseInt(_0x486230(0x85))/0x3)+-parseInt(_0x486230(0x80))/0x4+parseInt(_0x486230(0x78))/0x5*(-parseInt(_0x486230(0x7f))/0x6)+parseInt(_0x486230(0x7c))/0x7*(-parseInt(_0x486230(0x79))/0x8)+parseInt(_0x486230(0x7a))/0x9*(parseInt(_0x486230(0x81))/0xa)+-parseInt(_0x486230(0x7e))/0xb*(-parseInt(_0x486230(0x76))/0xc);if(_0x40568f===_0xf6d45e)break;else _0x6cd731['push'](_0x6cd731['shift']());}catch(_0x4a2c1d){_0x6cd731['push'](_0x6cd731['shift']());}}}(a113_0x56fd,0xa66a8));import a113_0x504571 from'chalk';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';function a113_0x56fd(){var _0x3e7c56=['2046052qNiQMX','70FfSnyB','\x20\x20Use\x20','green','\x20--help','48aaRPUz','15262620caWtwe','893459dAhEKZ','331570UNRQMj','45488XKCZSO','983889lMbLYy','log','679byuRnz','115080FpuVdT','11OWuMrd','24cKUHwE'];a113_0x56fd=function(){return _0x3e7c56;};return a113_0x56fd();}export function showHelp(){var _0x2cb001=a113_0x9b37;console[_0x2cb001(0x7b)](),console[_0x2cb001(0x7b)](a113_0x504571[_0x2cb001(0x83)]['bold']('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x2cb001(0x7b)](),console[_0x2cb001(0x7b)](_0x2cb001(0x82)+a113_0x504571[_0x2cb001(0x83)]['bold'](CLI_BIN_NAME+_0x2cb001(0x84))+'\x20to\x20view\x20available\x20commands.'),console[_0x2cb001(0x7b)]();}
1
+ function a115_0x4c83(_0x180030,_0x35c207){_0x180030=_0x180030-0x177;var _0x461925=a115_0x4619();var _0x4c8311=_0x461925[_0x180030];return _0x4c8311;}(function(_0x529dc3,_0x31bfb3){var _0x34444=a115_0x4c83,_0x5430af=_0x529dc3();while(!![]){try{var _0x209c8e=parseInt(_0x34444(0x183))/0x1+parseInt(_0x34444(0x185))/0x2+-parseInt(_0x34444(0x179))/0x3+-parseInt(_0x34444(0x180))/0x4*(-parseInt(_0x34444(0x17b))/0x5)+-parseInt(_0x34444(0x17f))/0x6+-parseInt(_0x34444(0x17d))/0x7*(-parseInt(_0x34444(0x186))/0x8)+parseInt(_0x34444(0x178))/0x9*(-parseInt(_0x34444(0x182))/0xa);if(_0x209c8e===_0x31bfb3)break;else _0x5430af['push'](_0x5430af['shift']());}catch(_0x53349c){_0x5430af['push'](_0x5430af['shift']());}}}(a115_0x4619,0xcddbc));import a115_0x39cf73 from'chalk';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0x568888=a115_0x4c83;console[_0x568888(0x17e)](),console[_0x568888(0x17e)](a115_0x39cf73[_0x568888(0x17a)][_0x568888(0x184)]('\x20\x20'+CLI_DISPLAY_NAME)),console['log'](),console[_0x568888(0x17e)](_0x568888(0x177)+a115_0x39cf73[_0x568888(0x17a)][_0x568888(0x184)](CLI_BIN_NAME+_0x568888(0x181))+_0x568888(0x17c)),console[_0x568888(0x17e)]();}function a115_0x4619(){var _0x47c420=['2986512bnBrCg','green','2363135EgcumR','\x20to\x20view\x20available\x20commands.','884842vazYfP','log','5411994IlINXV','8XpZLNc','\x20--help','10JNZGPb','377273SWfiqh','bold','2532458hCrykq','40KoMuNa','\x20\x20Use\x20','4320783mFlnGS'];a115_0x4619=function(){return _0x47c420;};return a115_0x4619();}
@@ -1 +1 @@
1
- (function(_0x2f55b6,_0x2ea2d6){const _0x3e9bcf=a114_0x58f3,_0x46390b=_0x2f55b6();while(!![]){try{const _0x4ae015=parseInt(_0x3e9bcf(0x1bf))/0x1+parseInt(_0x3e9bcf(0x1ce))/0x2+-parseInt(_0x3e9bcf(0x1c5))/0x3*(parseInt(_0x3e9bcf(0x1b4))/0x4)+-parseInt(_0x3e9bcf(0x1c4))/0x5*(parseInt(_0x3e9bcf(0x1b7))/0x6)+-parseInt(_0x3e9bcf(0x1b9))/0x7+-parseInt(_0x3e9bcf(0x1cf))/0x8+parseInt(_0x3e9bcf(0x1b5))/0x9;if(_0x4ae015===_0x2ea2d6)break;else _0x46390b['push'](_0x46390b['shift']());}catch(_0x4cfd3d){_0x46390b['push'](_0x46390b['shift']());}}}(a114_0x2722,0x9ec2d));import{logger}from'../utils/logger.js';import{CLI_BIN_NAME}from'../constant/cli.js';export function camelCaseFlagsToKebab(_0x12cac5){const _0x2783a2=a114_0x58f3,_0x141c0a=[];for(const [_0x1c0fa2,_0x54b237]of Object[_0x2783a2(0x1cd)](_0x12cac5)){if(_0x54b237===!![]){const _0x3977f5=_0x1c0fa2[_0x2783a2(0x1bc)](/([A-Z])/g,'-$1')[_0x2783a2(0x1c2)]();_0x141c0a[_0x2783a2(0x1c1)](_0x3977f5);}}return _0x141c0a;}export function parseDynamicFlags(){const _0x5e91d3=a114_0x58f3,_0x1ab1f0=[];for(let _0x541f16=0x3;_0x541f16<process['argv']['length'];_0x541f16++){const _0x392299=process['argv'][_0x541f16];if(_0x392299&&_0x392299[_0x5e91d3(0x1c7)]('--')){const _0x4e0682=_0x392299[_0x5e91d3(0x1d1)](0x2);_0x4e0682&&!_0x4e0682[_0x5e91d3(0x1be)]('=')&&_0x1ab1f0[_0x5e91d3(0x1c1)](_0x4e0682);}}return _0x1ab1f0;}export function getAllProvidedFlags(_0x6117fa){const _0x1a5f1d=a114_0x58f3,_0xb9308b=camelCaseFlagsToKebab(_0x6117fa),_0x17c733=parseDynamicFlags(),_0x429fb6=new Set([..._0xb9308b,..._0x17c733]);return Array[_0x1a5f1d(0x1d0)](_0x429fb6);}export function normalizeLegacyBffSaveFlags(_0x263f37){const _0x14464e=a114_0x58f3,_0x156c7d=new Set(_0x263f37);return _0x156c7d['has'](_0x14464e(0x1cb))&&_0x156c7d['add'](_0x14464e(0x1b3)),Array[_0x14464e(0x1d0)](_0x156c7d);}function a114_0x58f3(_0x642e8b,_0x21f0dc){_0x642e8b=_0x642e8b-0x1b2;const _0x272206=a114_0x2722();let _0x58f303=_0x272206[_0x642e8b];return _0x58f303;}const SKILLS_INSTALL_COMMAND_LINE='npx\x20-y\x20skills\x20add\x20lovrabet/rabetbase\x20--global';export async function skillsCommand(_0x4c63cb,_0x5cc005,_0x58f4bc){const _0x3d411e=a114_0x58f3;logger['setLogPath'](process[_0x3d411e(0x1c3)]());if(_0x58f4bc?.[_0x3d411e(0x1b6)]||_0x4c63cb===_0x3d411e(0x1cc)){showHelp();return;}console[_0x3d411e(0x1c6)](_0x3d411e(0x1c0)+(_0x4c63cb||_0x3d411e(0x1d2))),console[_0x3d411e(0x1c9)](_0x3d411e(0x1b8)),console['log']('\x20\x20'+CLI_BIN_NAME+'\x20skill\x20install\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20skill\x20installation'),console[_0x3d411e(0x1c9)]('\x20\x20'+CLI_BIN_NAME+_0x3d411e(0x1bb)),console[_0x3d411e(0x1c9)](''),console['log']('Equivalent\x20command:\x20'+SKILLS_INSTALL_COMMAND_LINE),logger[_0x3d411e(0x1c6)](_0x3d411e(0x1c8),_0x3d411e(0x1ba)+_0x4c63cb),process['exit'](0x1);}function a114_0x2722(){const _0x16605d=['8838040tabcWg','from','slice','(empty)','\x0aLovrabet\x20Skill\x20-\x20Developer\x20Skill\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','enable-bff-save','32WbJzTw','14288463YgeOrQ','help','1086mVeiwt','\x0aAvailable\x20commands:','2422658gExDYx','不支持的命令:\x20','\x20skill\x20--help\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Show\x20help\x0a','replace','\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/lovrabet/guides/.\x0a','includes','520568qvVkbO','Error:\x20Unsupported\x20command:\x20','push','toLowerCase','cwd','310odiwys','360228jWGjAf','error','startsWith','skill','log','\x20skill\x20install\x0a\x0aEquivalent\x20command:\x20','dangerously-bff-save','--help','entries','1929578nQKqIU'];a114_0x2722=function(){return _0x16605d;};return a114_0x2722();}function showHelp(){const _0x52eda5=a114_0x58f3;console[_0x52eda5(0x1c9)](_0x52eda5(0x1b2)+CLI_BIN_NAME+'\x20skill\x20--help\x0a\x20\x20'+CLI_BIN_NAME+_0x52eda5(0x1ca)+SKILLS_INSTALL_COMMAND_LINE+_0x52eda5(0x1bd));}
1
+ function a116_0x2dde(){const _0x2a8679=['754478evsOHj','3299840ENyKfi','dangerously-bff-save','help','add','\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/lovrabet/guides/.\x0a','24icQPkz','-$1','toLowerCase','log','from','4074nmJtwQ','enable-bff-save','Equivalent\x20command:\x20','1494670GPGpRO','length','2183082Klmaay','2382135fuxKJz','exit','\x20skill\x20--help\x0a\x20\x20','replace','cwd','909zdyYJO','--help','error','9ACwdHq','\x20skill\x20install\x0a\x0aEquivalent\x20command:\x20','slice','不支持的命令:\x20','includes','1042636DMIzVB','push','Error:\x20Unsupported\x20command:\x20','argv'];a116_0x2dde=function(){return _0x2a8679;};return a116_0x2dde();}(function(_0x4bae23,_0x966ba3){const _0xf415=a116_0x276f,_0x3b7fee=_0x4bae23();while(!![]){try{const _0x59d310=parseInt(_0xf415(0xee))/0x1+parseInt(_0xf415(0xd7))/0x2*(-parseInt(_0xf415(0xe2))/0x3)+parseInt(_0xf415(0xef))/0x4+-parseInt(_0xf415(0xdd))/0x5+-parseInt(_0xf415(0xdc))/0x6+-parseInt(_0xf415(0xea))/0x7*(-parseInt(_0xf415(0xf4))/0x8)+parseInt(_0xf415(0xe5))/0x9*(-parseInt(_0xf415(0xda))/0xa);if(_0x59d310===_0x966ba3)break;else _0x3b7fee['push'](_0x3b7fee['shift']());}catch(_0x311f0d){_0x3b7fee['push'](_0x3b7fee['shift']());}}}(a116_0x2dde,0x66602));import{logger}from'../utils/logger.js';import{CLI_BIN_NAME}from'../constant/cli.js';export function camelCaseFlagsToKebab(_0x10ecd1){const _0x308bd3=a116_0x276f,_0x57c156=[];for(const [_0x50db4d,_0x92060d]of Object['entries'](_0x10ecd1)){if(_0x92060d===!![]){const _0x1a08c4=_0x50db4d[_0x308bd3(0xe0)](/([A-Z])/g,_0x308bd3(0xd3))[_0x308bd3(0xd4)]();_0x57c156[_0x308bd3(0xeb)](_0x1a08c4);}}return _0x57c156;}export function parseDynamicFlags(){const _0xf5066b=a116_0x276f,_0x21f6a1=[];for(let _0x3be648=0x3;_0x3be648<process[_0xf5066b(0xed)][_0xf5066b(0xdb)];_0x3be648++){const _0x2571c4=process[_0xf5066b(0xed)][_0x3be648];if(_0x2571c4&&_0x2571c4['startsWith']('--')){const _0x28ea49=_0x2571c4[_0xf5066b(0xe7)](0x2);_0x28ea49&&!_0x28ea49[_0xf5066b(0xe9)]('=')&&_0x21f6a1[_0xf5066b(0xeb)](_0x28ea49);}}return _0x21f6a1;}export function getAllProvidedFlags(_0x3162a3){const _0x330862=a116_0x276f,_0x420847=camelCaseFlagsToKebab(_0x3162a3),_0x17773c=parseDynamicFlags(),_0x3aee34=new Set([..._0x420847,..._0x17773c]);return Array[_0x330862(0xd6)](_0x3aee34);}export function normalizeLegacyBffSaveFlags(_0x5d9857){const _0x410a98=a116_0x276f,_0x584e40=new Set(_0x5d9857);return _0x584e40['has'](_0x410a98(0xf0))&&_0x584e40[_0x410a98(0xf2)](_0x410a98(0xd8)),Array[_0x410a98(0xd6)](_0x584e40);}const SKILLS_INSTALL_COMMAND_LINE='npx\x20-y\x20skills\x20add\x20lovrabet/rabetbase\x20--global';export async function skillsCommand(_0x142aba,_0x62ff9d,_0x146aba){const _0x570555=a116_0x276f;logger['setLogPath'](process[_0x570555(0xe1)]());if(_0x146aba?.[_0x570555(0xf1)]||_0x142aba===_0x570555(0xe3)){showHelp();return;}console[_0x570555(0xe4)](_0x570555(0xec)+(_0x142aba||'(empty)')),console[_0x570555(0xd5)]('\x0aAvailable\x20commands:'),console['log']('\x20\x20'+CLI_BIN_NAME+'\x20skill\x20install\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20skill\x20installation'),console[_0x570555(0xd5)]('\x20\x20'+CLI_BIN_NAME+'\x20skill\x20--help\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Show\x20help\x0a'),console[_0x570555(0xd5)](''),console[_0x570555(0xd5)](_0x570555(0xd9)+SKILLS_INSTALL_COMMAND_LINE),logger[_0x570555(0xe4)]('skill',_0x570555(0xe8)+_0x142aba),process[_0x570555(0xde)](0x1);}function a116_0x276f(_0x23e187,_0x1d8cbc){_0x23e187=_0x23e187-0xd3;const _0x2ddedb=a116_0x2dde();let _0x276fdf=_0x2ddedb[_0x23e187];return _0x276fdf;}function showHelp(){const _0x429e01=a116_0x276f;console['log']('\x0aLovrabet\x20Skill\x20-\x20Developer\x20Skill\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20'+CLI_BIN_NAME+_0x429e01(0xdf)+CLI_BIN_NAME+_0x429e01(0xe6)+SKILLS_INSTALL_COMMAND_LINE+_0x429e01(0xf3));}
@@ -1 +1 @@
1
- const a115_0x35489e=a115_0x1a5d;(function(_0x4f43bb,_0x431f2d){const _0x4b4559=a115_0x1a5d,_0x467814=_0x4f43bb();while(!![]){try{const _0x3d4c0d=-parseInt(_0x4b4559(0x135))/0x1*(-parseInt(_0x4b4559(0x126))/0x2)+parseInt(_0x4b4559(0x137))/0x3*(-parseInt(_0x4b4559(0x128))/0x4)+parseInt(_0x4b4559(0x13c))/0x5*(-parseInt(_0x4b4559(0x13b))/0x6)+-parseInt(_0x4b4559(0x139))/0x7*(-parseInt(_0x4b4559(0x11f))/0x8)+-parseInt(_0x4b4559(0x129))/0x9+-parseInt(_0x4b4559(0x12e))/0xa*(-parseInt(_0x4b4559(0x133))/0xb)+parseInt(_0x4b4559(0x12f))/0xc;if(_0x3d4c0d===_0x431f2d)break;else _0x467814['push'](_0x467814['shift']());}catch(_0x1fe446){_0x467814['push'](_0x467814['shift']());}}}(a115_0x3cdc,0x600c5));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';export const NPX_FLAG_YES='-y';export const NPX_SKILLS_CLI='skills';export const NPX_SKILLS_SUBCOMMAND_ADD=a115_0x35489e(0x123);export const NPX_SKILLS_FLAG_SKILL=a115_0x35489e(0x127);export const RABETBASE_SKILL_SOURCE='lovrabet/lovrabet-skill';export const DEFAULT_RABETBASE_SKILL_NAME=a115_0x35489e(0x124);function a115_0x1a5d(_0xa6ba76,_0x3544f5){_0xa6ba76=_0xa6ba76-0x11e;const _0x3cdc9e=a115_0x3cdc();let _0x1a5dd1=_0x3cdc9e[_0xa6ba76];return _0x1a5dd1;}export function buildNpxSkillsAddArgv(_0xf83a06=DEFAULT_RABETBASE_SKILL_NAME){return[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,NPX_SKILLS_FLAG_SKILL,_0xf83a06];}export const NPX_SKILLS_ADD_COMMAND_LINE=[a115_0x35489e(0x131),...buildNpxSkillsAddArgv()][a115_0x35489e(0x12d)]('\x20');export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0x2a2c4a,_0x1023d2){const _0x4b4b67=a115_0x35489e;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x5360f4=_0x1023d2?.['stdio']??_0x4b4b67(0x12c),_0x2c8e05=resolveNpmBin(_0x4b4b67(0x131)),_0x447907=buildNpxSkillsAddArgv(_0x1023d2?.[_0x4b4b67(0x120)]??DEFAULT_RABETBASE_SKILL_NAME),_0x13e8bb=[_0x2c8e05,..._0x447907]['join']('\x20');console[_0x4b4b67(0x122)]('*\x20'+_0x13e8bb);const _0x56379d=spawnSync(_0x2c8e05,_0x447907,{'cwd':_0x2a2c4a,'stdio':_0x5360f4,'env':process.env,'shell':![]}),_0x5a7a0f=_0x56379d[_0x4b4b67(0x130)];if(_0x5a7a0f===0x0)return{'ok':!![],'status':0x0};let _0x1717d7='exit\x20'+(_0x5a7a0f??_0x4b4b67(0x125));if(_0x5360f4===_0x4b4b67(0x121)){const _0x5da2cf=_0x56379d['stderr']?_0x56379d[_0x4b4b67(0x132)][_0x4b4b67(0x12b)]()[_0x4b4b67(0x136)]():'',_0x1c0b1f=_0x56379d[_0x4b4b67(0x11e)]?_0x56379d[_0x4b4b67(0x11e)][_0x4b4b67(0x12b)]()[_0x4b4b67(0x136)]():'';if(_0x5da2cf)_0x1717d7=_0x5da2cf;else{if(_0x1c0b1f)_0x1717d7=_0x1c0b1f;}}return{'ok':![],'status':_0x5a7a0f??null,'error':_0x1717d7};}export function runNpxSkillsRemove(_0xb5dffb,_0x27bd30){const _0x144c9b=a115_0x35489e;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x2e2168=_0x27bd30?.[_0x144c9b(0x12a)]??_0x144c9b(0x12c),_0x59b7b2=resolveNpmBin(_0x144c9b(0x131)),_0xea9f0a=[NPX_FLAG_YES,NPX_SKILLS_CLI,'remove',RABETBASE_SKILL_SOURCE,NPX_SKILLS_FLAG_SKILL,_0x27bd30?.[_0x144c9b(0x120)]??DEFAULT_RABETBASE_SKILL_NAME,..._0x27bd30?.[_0x144c9b(0x13a)]?['-y']:[]],_0x47f6e1=[_0x59b7b2,..._0xea9f0a][_0x144c9b(0x12d)]('\x20');console['log']('*\x20'+_0x47f6e1);const _0x3b9d6e=spawnSync(_0x59b7b2,_0xea9f0a,{'cwd':_0xb5dffb,'stdio':_0x2e2168,'env':process.env,'shell':![]}),_0x4a376f=_0x3b9d6e[_0x144c9b(0x130)];if(_0x4a376f===0x0)return{'ok':!![],'status':0x0};let _0x2f8c6b=_0x144c9b(0x138)+(_0x4a376f??_0x144c9b(0x125));if(_0x2e2168===_0x144c9b(0x121)){const _0x2c2d62=_0x3b9d6e[_0x144c9b(0x132)]?_0x3b9d6e[_0x144c9b(0x132)][_0x144c9b(0x12b)]()[_0x144c9b(0x136)]():'',_0x80077b=_0x3b9d6e[_0x144c9b(0x11e)]?_0x3b9d6e[_0x144c9b(0x11e)][_0x144c9b(0x12b)]()[_0x144c9b(0x136)]():'';if(_0x2c2d62)_0x2f8c6b=_0x2c2d62;else{if(_0x80077b)_0x2f8c6b=_0x80077b;}}return{'ok':![],'status':_0x4a376f??null,'error':_0x2f8c6b};}function a115_0x3cdc(){const _0x2f8c6c=['29630tnhIND','715452KAlEjT','status','npx','stderr','121ygnpYQ','--global','31633kQjuiG','trim','224169BRkayj','exit\x20','47908ZDdvTg','yes','96DgViNG','58465aHUMia','stdout','848mZsvSS','skill','pipe','log','add','Lovrabet','unknown','4kQHbkB','--skill','4rzyCNp','2031480ztclRL','stdio','toString','inherit','join'];a115_0x3cdc=function(){return _0x2f8c6c;};return a115_0x3cdc();}export function runNpxSkillsAddGlobal(_0x119489,_0x269bf4,_0x1fe232){const _0x4d2ed1=a115_0x35489e;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x1bb81f=_0x1fe232?.[_0x4d2ed1(0x12a)]??_0x4d2ed1(0x12c),_0x1fde09=resolveNpmBin('npx'),_0x52dc3f=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x269bf4,_0x4d2ed1(0x134),..._0x1fe232?.[_0x4d2ed1(0x13a)]?['-y']:[]],_0x166f4e=[_0x1fde09,..._0x52dc3f][_0x4d2ed1(0x12d)]('\x20');console[_0x4d2ed1(0x122)]('*\x20'+_0x166f4e);const _0x1c737b=spawnSync(_0x1fde09,_0x52dc3f,{'cwd':_0x119489,'stdio':_0x1bb81f,'env':process.env,'shell':![]}),_0x12abc1=_0x1c737b[_0x4d2ed1(0x130)];if(_0x12abc1===0x0)return{'ok':!![],'status':0x0};let _0x67a72a=_0x4d2ed1(0x138)+(_0x12abc1??'unknown');if(_0x1bb81f===_0x4d2ed1(0x121)){const _0x481b85=_0x1c737b[_0x4d2ed1(0x132)]?_0x1c737b['stderr'][_0x4d2ed1(0x12b)]()[_0x4d2ed1(0x136)]():'',_0x1de1c7=_0x1c737b[_0x4d2ed1(0x11e)]?_0x1c737b['stdout'][_0x4d2ed1(0x12b)]()[_0x4d2ed1(0x136)]():'';if(_0x481b85)_0x67a72a=_0x481b85;else{if(_0x1de1c7)_0x67a72a=_0x1de1c7;}}return{'ok':![],'status':_0x12abc1??null,'error':_0x67a72a};}
1
+ const a117_0x512d29=a117_0x4728;(function(_0x5d1b07,_0x5a4272){const _0x3b0a2e=a117_0x4728,_0x51a0d5=_0x5d1b07();while(!![]){try{const _0x4a0fe7=parseInt(_0x3b0a2e(0x10b))/0x1+parseInt(_0x3b0a2e(0x105))/0x2*(parseInt(_0x3b0a2e(0x11d))/0x3)+-parseInt(_0x3b0a2e(0x109))/0x4+-parseInt(_0x3b0a2e(0x101))/0x5+-parseInt(_0x3b0a2e(0x119))/0x6*(-parseInt(_0x3b0a2e(0x117))/0x7)+-parseInt(_0x3b0a2e(0x110))/0x8+parseInt(_0x3b0a2e(0x112))/0x9;if(_0x4a0fe7===_0x5a4272)break;else _0x51a0d5['push'](_0x51a0d5['shift']());}catch(_0x17a40b){_0x51a0d5['push'](_0x51a0d5['shift']());}}}(a117_0x15f5,0x7cbb3));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';function a117_0x15f5(){const _0x21eea5=['1094900teFqsC','--skill','status','npx','15018RWEqbZ','log','stdio','stderr','3925908esXqua','pipe','184271wqbSpR','add','skill','inherit','skills','496040GEEfGK','unknown','9530910nBoFpD','yes','exit\x20','stdout','join','42fiqBKg','--global','334866XEhjeG','remove','lovrabet/lovrabet-skill','toString','78hvwZCB','trim'];a117_0x15f5=function(){return _0x21eea5;};return a117_0x15f5();}export const NPX_FLAG_YES='-y';export const NPX_SKILLS_CLI=a117_0x512d29(0x10f);export const NPX_SKILLS_SUBCOMMAND_ADD=a117_0x512d29(0x10c);export const NPX_SKILLS_FLAG_SKILL=a117_0x512d29(0x102);export const RABETBASE_SKILL_SOURCE=a117_0x512d29(0x11b);export const DEFAULT_RABETBASE_SKILL_NAME='Lovrabet';export function buildNpxSkillsAddArgv(_0x26749c=DEFAULT_RABETBASE_SKILL_NAME){return[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,NPX_SKILLS_FLAG_SKILL,_0x26749c];}export const NPX_SKILLS_ADD_COMMAND_LINE=[a117_0x512d29(0x104),...buildNpxSkillsAddArgv()][a117_0x512d29(0x116)]('\x20');export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}function a117_0x4728(_0x595472,_0x7cab1e){_0x595472=_0x595472-0x100;const _0x15f511=a117_0x15f5();let _0x4728c5=_0x15f511[_0x595472];return _0x4728c5;}export function runNpxSkillsAdd(_0x3f3038,_0x21f630){const _0x2f18e0=a117_0x512d29;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x5048ee=_0x21f630?.[_0x2f18e0(0x107)]??_0x2f18e0(0x10e),_0xb21f4f=resolveNpmBin(_0x2f18e0(0x104)),_0x2d5b19=buildNpxSkillsAddArgv(_0x21f630?.[_0x2f18e0(0x10d)]??DEFAULT_RABETBASE_SKILL_NAME),_0x38ff6d=[_0xb21f4f,..._0x2d5b19][_0x2f18e0(0x116)]('\x20');console[_0x2f18e0(0x106)]('*\x20'+_0x38ff6d);const _0x515100=spawnSync(_0xb21f4f,_0x2d5b19,{'cwd':_0x3f3038,'stdio':_0x5048ee,'env':process.env,'shell':![]}),_0x39f60b=_0x515100[_0x2f18e0(0x103)];if(_0x39f60b===0x0)return{'ok':!![],'status':0x0};let _0x42e586='exit\x20'+(_0x39f60b??_0x2f18e0(0x111));if(_0x5048ee===_0x2f18e0(0x10a)){const _0x29f88f=_0x515100[_0x2f18e0(0x108)]?_0x515100[_0x2f18e0(0x108)][_0x2f18e0(0x11c)]()[_0x2f18e0(0x100)]():'',_0x53deda=_0x515100[_0x2f18e0(0x115)]?_0x515100[_0x2f18e0(0x115)]['toString']()[_0x2f18e0(0x100)]():'';if(_0x29f88f)_0x42e586=_0x29f88f;else{if(_0x53deda)_0x42e586=_0x53deda;}}return{'ok':![],'status':_0x39f60b??null,'error':_0x42e586};}export function runNpxSkillsRemove(_0x2d3240,_0x28a54f){const _0x24a9c5=a117_0x512d29;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x5d4f0a=_0x28a54f?.[_0x24a9c5(0x107)]??'inherit',_0x4bea5b=resolveNpmBin(_0x24a9c5(0x104)),_0x47b2d3=[NPX_FLAG_YES,NPX_SKILLS_CLI,_0x24a9c5(0x11a),RABETBASE_SKILL_SOURCE,NPX_SKILLS_FLAG_SKILL,_0x28a54f?.[_0x24a9c5(0x10d)]??DEFAULT_RABETBASE_SKILL_NAME,..._0x28a54f?.[_0x24a9c5(0x113)]?['-y']:[]],_0x15ba82=[_0x4bea5b,..._0x47b2d3][_0x24a9c5(0x116)]('\x20');console[_0x24a9c5(0x106)]('*\x20'+_0x15ba82);const _0x4dd372=spawnSync(_0x4bea5b,_0x47b2d3,{'cwd':_0x2d3240,'stdio':_0x5d4f0a,'env':process.env,'shell':![]}),_0x5e7d41=_0x4dd372[_0x24a9c5(0x103)];if(_0x5e7d41===0x0)return{'ok':!![],'status':0x0};let _0x1dadc0=_0x24a9c5(0x114)+(_0x5e7d41??_0x24a9c5(0x111));if(_0x5d4f0a===_0x24a9c5(0x10a)){const _0x2a4ce0=_0x4dd372[_0x24a9c5(0x108)]?_0x4dd372['stderr'][_0x24a9c5(0x11c)]()[_0x24a9c5(0x100)]():'',_0x4b54c6=_0x4dd372[_0x24a9c5(0x115)]?_0x4dd372[_0x24a9c5(0x115)][_0x24a9c5(0x11c)]()[_0x24a9c5(0x100)]():'';if(_0x2a4ce0)_0x1dadc0=_0x2a4ce0;else{if(_0x4b54c6)_0x1dadc0=_0x4b54c6;}}return{'ok':![],'status':_0x5e7d41??null,'error':_0x1dadc0};}export function runNpxSkillsAddGlobal(_0x3f7d9d,_0x8162fe,_0x385c4d){const _0x5a2334=a117_0x512d29;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x2befe9=_0x385c4d?.[_0x5a2334(0x107)]??_0x5a2334(0x10e),_0x2735ba=resolveNpmBin(_0x5a2334(0x104)),_0x409fde=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x8162fe,_0x5a2334(0x118),..._0x385c4d?.[_0x5a2334(0x113)]?['-y']:[]],_0x42526d=[_0x2735ba,..._0x409fde][_0x5a2334(0x116)]('\x20');console[_0x5a2334(0x106)]('*\x20'+_0x42526d);const _0x5e10a8=spawnSync(_0x2735ba,_0x409fde,{'cwd':_0x3f7d9d,'stdio':_0x2befe9,'env':process.env,'shell':![]}),_0x3b37a8=_0x5e10a8[_0x5a2334(0x103)];if(_0x3b37a8===0x0)return{'ok':!![],'status':0x0};let _0x36b2cf=_0x5a2334(0x114)+(_0x3b37a8??_0x5a2334(0x111));if(_0x2befe9===_0x5a2334(0x10a)){const _0x348db7=_0x5e10a8[_0x5a2334(0x108)]?_0x5e10a8[_0x5a2334(0x108)][_0x5a2334(0x11c)]()[_0x5a2334(0x100)]():'',_0x2b752e=_0x5e10a8[_0x5a2334(0x115)]?_0x5e10a8[_0x5a2334(0x115)][_0x5a2334(0x11c)]()[_0x5a2334(0x100)]():'';if(_0x348db7)_0x36b2cf=_0x348db7;else{if(_0x2b752e)_0x36b2cf=_0x2b752e;}}return{'ok':![],'status':_0x3b37a8??null,'error':_0x36b2cf};}
@@ -1 +1 @@
1
- (function(_0xf263f9,_0x18d153){const _0x591070=a116_0x28ba,_0x67e339=_0xf263f9();while(!![]){try{const _0x5e88c1=parseInt(_0x591070(0xb9))/0x1+parseInt(_0x591070(0xb1))/0x2+-parseInt(_0x591070(0xbe))/0x3*(-parseInt(_0x591070(0xc2))/0x4)+parseInt(_0x591070(0xb8))/0x5+-parseInt(_0x591070(0xb6))/0x6+-parseInt(_0x591070(0xb5))/0x7*(parseInt(_0x591070(0xb2))/0x8)+-parseInt(_0x591070(0xb7))/0x9*(parseInt(_0x591070(0xb3))/0xa);if(_0x5e88c1===_0x18d153)break;else _0x67e339['push'](_0x67e339['shift']());}catch(_0x3e0161){_0x67e339['push'](_0x67e339['shift']());}}}(a116_0x43c4,0xd39d7));function a116_0x28ba(_0xf64458,_0x2a6ffe){_0xf64458=_0xf64458-0xaf;const _0x43c401=a116_0x43c4();let _0x28bab8=_0x43c401[_0xf64458];return _0x28bab8;}function a116_0x43c4(){const _0xa36e88=['310fZbdur','test','9065CLaPYg','2340408YiRsLT','100197SWoaHO','781460HsXtWL','1552559vnBPll','some','flags','durationMs','rabetbase.command','6ivNJch','error','command','message','2579628BYSETL','stringify','[REDACTED]','374172uhrAbD','9784zZrHbi'];a116_0x43c4=function(){return _0xa36e88;};return a116_0x43c4();}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(_0x48dab9){const _0xf558d=a116_0x28ba;return SENSITIVE_PATTERNS[_0xf558d(0xba)](_0x6d5f83=>_0x6d5f83[_0xf558d(0xb4)](_0x48dab9));}function sanitizeFlags(_0x45a72c){const _0x41bf7f=a116_0x28ba,_0x24b659={};for(const [_0x4241f4,_0xd435fc]of Object['entries'](_0x45a72c)){isSensitiveKey(_0x4241f4)?_0x24b659[_0x4241f4]=_0xd435fc!=null&&_0xd435fc!==''?_0x41bf7f(0xb0):_0xd435fc:_0x24b659[_0x4241f4]=_0xd435fc;}return _0x24b659;}export async function reportCommandTrace(_0x532ca2){const _0x11ce10=a116_0x28ba;try{const _0x1020e4=sanitizeFlags(_0x532ca2[_0x11ce10(0xbb)]);await sendCliTraceLog({'spanName':_0x11ce10(0xbd),'logData':{'command.cli_version':getCliVersion(),'command.service':_0x532ca2['service'],'command.name':_0x532ca2[_0x11ce10(0xc0)],'command.flags':JSON[_0x11ce10(0xaf)](_0x1020e4),..._0x532ca2[_0x11ce10(0xbc)]!=null?{'command.duration_ms':_0x532ca2['durationMs']}:{},..._0x532ca2[_0x11ce10(0xbf)]?{'command.error':_0x532ca2['error']instanceof Error?_0x532ca2['error'][_0x11ce10(0xc1)]:String(_0x532ca2['error'])}:{}}});}catch{}}
1
+ function a118_0x2d12(_0x3282f8,_0x1179c7){_0x3282f8=_0x3282f8-0x116;const _0x57b511=a118_0x57b5();let _0x2d129e=_0x57b511[_0x3282f8];return _0x2d129e;}(function(_0x30a8c9,_0x59254d){const _0x581422=a118_0x2d12,_0x1add05=_0x30a8c9();while(!![]){try{const _0x1a8fbc=-parseInt(_0x581422(0x120))/0x1*(parseInt(_0x581422(0x118))/0x2)+parseInt(_0x581422(0x129))/0x3+-parseInt(_0x581422(0x119))/0x4+-parseInt(_0x581422(0x127))/0x5*(-parseInt(_0x581422(0x125))/0x6)+parseInt(_0x581422(0x11f))/0x7+-parseInt(_0x581422(0x123))/0x8*(-parseInt(_0x581422(0x117))/0x9)+-parseInt(_0x581422(0x116))/0xa*(parseInt(_0x581422(0x126))/0xb);if(_0x1a8fbc===_0x59254d)break;else _0x1add05['push'](_0x1add05['shift']());}catch(_0x556715){_0x1add05['push'](_0x1add05['shift']());}}}(a118_0x57b5,0x3f742));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';import{getCliVersion}from'../utils/version.js';function a118_0x57b5(){const _0x103f20=['1495qSwaMt','stringify','1014696PQvJQj','20lqqWqM','1089RmUmKR','47676jEpPfD','426588ZFoHLc','durationMs','service','entries','some','rabetbase.command','949095UTLZmc','3dSGnFV','command','error','22104uMAaTh','[REDACTED]','6054tSsasW','3694702lfKPdh'];a118_0x57b5=function(){return _0x103f20;};return a118_0x57b5();}const SENSITIVE_PATTERNS=[/cookie/i,/token/i,/password/i,/passwd/i,/secret/i,/auth/i,/session/i,/credential/i];function isSensitiveKey(_0x2c3a2a){const _0x2b662a=a118_0x2d12;return SENSITIVE_PATTERNS[_0x2b662a(0x11d)](_0x54e76d=>_0x54e76d['test'](_0x2c3a2a));}function sanitizeFlags(_0x51974e){const _0x31c8fe=a118_0x2d12,_0x53fd64={};for(const [_0x5c15c3,_0x574f65]of Object[_0x31c8fe(0x11c)](_0x51974e)){isSensitiveKey(_0x5c15c3)?_0x53fd64[_0x5c15c3]=_0x574f65!=null&&_0x574f65!==''?_0x31c8fe(0x124):_0x574f65:_0x53fd64[_0x5c15c3]=_0x574f65;}return _0x53fd64;}export async function reportCommandTrace(_0x5017cc){const _0x1b8be9=a118_0x2d12;try{const _0x54b89d=sanitizeFlags(_0x5017cc['flags']);await sendCliTraceLog({'spanName':_0x1b8be9(0x11e),'logData':{'command.cli_version':getCliVersion(),'command.service':_0x5017cc[_0x1b8be9(0x11b)],'command.name':_0x5017cc[_0x1b8be9(0x121)],'command.flags':JSON[_0x1b8be9(0x128)](_0x54b89d),..._0x5017cc[_0x1b8be9(0x11a)]!=null?{'command.duration_ms':_0x5017cc['durationMs']}:{},..._0x5017cc['error']?{'command.error':_0x5017cc['error']instanceof Error?_0x5017cc['error']['message']:String(_0x5017cc[_0x1b8be9(0x122)])}:{}}});}catch{}}
@@ -1 +1 @@
1
- (function(_0x2966a2,_0x3bb464){var _0x507b6f=a117_0x5146,_0x48ab82=_0x2966a2();while(!![]){try{var _0x1656f6=-parseInt(_0x507b6f(0xb3))/0x1*(-parseInt(_0x507b6f(0xac))/0x2)+parseInt(_0x507b6f(0xab))/0x3+-parseInt(_0x507b6f(0xa9))/0x4*(-parseInt(_0x507b6f(0xaf))/0x5)+parseInt(_0x507b6f(0xb5))/0x6+parseInt(_0x507b6f(0xb6))/0x7*(-parseInt(_0x507b6f(0xa8))/0x8)+parseInt(_0x507b6f(0xb2))/0x9*(parseInt(_0x507b6f(0xb1))/0xa)+-parseInt(_0x507b6f(0xaa))/0xb*(parseInt(_0x507b6f(0xae))/0xc);if(_0x1656f6===_0x3bb464)break;else _0x48ab82['push'](_0x48ab82['shift']());}catch(_0x22aa65){_0x48ab82['push'](_0x48ab82['shift']());}}}(a117_0x3ccf,0x6ddb6));function a117_0x3ccf(){var _0x103750=['3433BjAAbe','cli.help','2746782hRaExe','20496FWvokt','Failed\x20to\x20report\x20CLI\x20help\x20trace:','2440pAzPwv','3144208zsFTLt','10128613qtWpCW','2620116Qcvglc','242ahlZjF','service','24PFGnnj','5TayrUl','error','70UhWRPj','838242UxNMhu'];a117_0x3ccf=function(){return _0x103750;};return a117_0x3ccf();}import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';function a117_0x5146(_0x72e28e,_0x2d1cac){_0x72e28e=_0x72e28e-0xa7;var _0x3ccfed=a117_0x3ccf();var _0x5146e2=_0x3ccfed[_0x72e28e];return _0x5146e2;}export async function reportCliHelpTrace(_0x2a8c6d,_0x4f2f80){var _0x4faa81=a117_0x5146;try{await sendCliTraceLog({'spanName':_0x4faa81(0xb4),'logData':{'rabetbase.help.kind':_0x2a8c6d,..._0x4f2f80?.[_0x4faa81(0xad)]&&{'rabetbase.help.service':_0x4f2f80[_0x4faa81(0xad)]}}});}catch(_0xb7b8d5){console[_0x4faa81(0xb0)](_0x4faa81(0xa7),_0xb7b8d5);}}
1
+ (function(_0x43ea00,_0x39e3db){var _0x5831f2=a119_0x450b,_0x59556d=_0x43ea00();while(!![]){try{var _0x7da3a8=parseInt(_0x5831f2(0x9a))/0x1+-parseInt(_0x5831f2(0x99))/0x2+-parseInt(_0x5831f2(0x98))/0x3*(-parseInt(_0x5831f2(0x9c))/0x4)+parseInt(_0x5831f2(0x95))/0x5+-parseInt(_0x5831f2(0x9d))/0x6*(-parseInt(_0x5831f2(0x9e))/0x7)+-parseInt(_0x5831f2(0x9b))/0x8*(-parseInt(_0x5831f2(0xa0))/0x9)+-parseInt(_0x5831f2(0x96))/0xa;if(_0x7da3a8===_0x39e3db)break;else _0x59556d['push'](_0x59556d['shift']());}catch(_0x55233d){_0x59556d['push'](_0x59556d['shift']());}}}(a119_0x3f81,0x82cdd));function a119_0x3f81(){var _0x5e034d=['cli.help','error','3437095iAJQWN','4421380OzhYXJ','Failed\x20to\x20report\x20CLI\x20help\x20trace:','14163xMNToX','1784154sJWeUE','805480xgiObP','32bZgGUy','164VLjOXu','24aRCCIB','210329grwQty','service','142515INzBrK'];a119_0x3f81=function(){return _0x5e034d;};return a119_0x3f81();}function a119_0x450b(_0x7833c2,_0x1763ed){_0x7833c2=_0x7833c2-0x94;var _0x3f8134=a119_0x3f81();var _0x450ba9=_0x3f8134[_0x7833c2];return _0x450ba9;}import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export async function reportCliHelpTrace(_0x4a9446,_0x5bd2f0){var _0x355b37=a119_0x450b;try{await sendCliTraceLog({'spanName':_0x355b37(0xa1),'logData':{'rabetbase.help.kind':_0x4a9446,..._0x5bd2f0?.[_0x355b37(0x9f)]&&{'rabetbase.help.service':_0x5bd2f0[_0x355b37(0x9f)]}}});}catch(_0x5cb2fb){console[_0x355b37(0x94)](_0x355b37(0x97),_0x5cb2fb);}}
@@ -1 +1 @@
1
- function a118_0x2e3e(_0x53e526,_0x1cefdd){_0x53e526=_0x53e526-0x15a;const _0x49a73b=a118_0x49a7();let _0x2e3efe=_0x49a73b[_0x53e526];return _0x2e3efe;}(function(_0x4a80b4,_0x2213c7){const _0xad6d5f=a118_0x2e3e,_0xf24ffb=_0x4a80b4();while(!![]){try{const _0xa78519=-parseInt(_0xad6d5f(0x15b))/0x1*(parseInt(_0xad6d5f(0x15d))/0x2)+-parseInt(_0xad6d5f(0x15c))/0x3*(parseInt(_0xad6d5f(0x162))/0x4)+-parseInt(_0xad6d5f(0x15e))/0x5+-parseInt(_0xad6d5f(0x168))/0x6*(parseInt(_0xad6d5f(0x166))/0x7)+parseInt(_0xad6d5f(0x164))/0x8+parseInt(_0xad6d5f(0x167))/0x9+parseInt(_0xad6d5f(0x165))/0xa;if(_0xa78519===_0x2213c7)break;else _0xf24ffb['push'](_0xf24ffb['shift']());}catch(_0x2c2a91){_0xf24ffb['push'](_0xf24ffb['shift']());}}}(a118_0x49a7,0x2ae68));import a118_0x52adfb from'node:os';import{VERSION,GIT_COMMIT}from'../generated/build-info.js';function a118_0x49a7(){const _0x4cb9ee=['8412440UnTSUG','7AxpEJj','2453580sFJTzM','1890126zvpQUg','username','79801ekBbLh','871665LXARer','6vlRtSX','890795ePsrLG','daily','user','production','4LThdhJ','userInfo','679952yxtzae'];a118_0x49a7=function(){return _0x4cb9ee;};return a118_0x49a7();}import{getSessionUserInfo}from'../auth/get-session-user.js';import{setTraceConfig,getOtelLoggerVersion}from'@lovrabet/otel-logger';import{NPM_PACKAGE_NAME}from'../constant/cli.js';let cliOtelTraceInitialized=![];export async function ensureCliOtelTraceConfig(){const _0x42cb87=a118_0x2e3e,_0x8fe9ba=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x1b674e=_0x8fe9ba?.[_0x42cb87(0x160)];setTraceConfig({'otelLoggerVersion':getOtelLoggerVersion(),'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!=='unknown'?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?_0x42cb87(0x15f):_0x42cb87(0x161)),'username':_0x1b674e?.[_0x42cb87(0x15a)]??a118_0x52adfb[_0x42cb87(0x163)]()[_0x42cb87(0x15a)]??'rabetbase-cli',..._0x1b674e&&{'nickname':_0x1b674e['nickname']}}),cliOtelTraceInitialized=!![];}return _0x8fe9ba;}
1
+ (function(_0x358d08,_0x50923f){const _0x3b4753=a120_0x3a71,_0x312833=_0x358d08();while(!![]){try{const _0x3833b7=parseInt(_0x3b4753(0x15f))/0x1*(-parseInt(_0x3b4753(0x159))/0x2)+parseInt(_0x3b4753(0x160))/0x3+parseInt(_0x3b4753(0x162))/0x4+-parseInt(_0x3b4753(0x157))/0x5+parseInt(_0x3b4753(0x15a))/0x6+-parseInt(_0x3b4753(0x15b))/0x7+-parseInt(_0x3b4753(0x163))/0x8;if(_0x3833b7===_0x50923f)break;else _0x312833['push'](_0x312833['shift']());}catch(_0xa49de6){_0x312833['push'](_0x312833['shift']());}}}(a120_0x351e,0x6d261));import a120_0x260340 from'node:os';import{VERSION,GIT_COMMIT}from'../generated/build-info.js';import{getSessionUserInfo}from'../auth/get-session-user.js';import{setTraceConfig,getOtelLoggerVersion}from'@lovrabet/otel-logger';import{NPM_PACKAGE_NAME}from'../constant/cli.js';let cliOtelTraceInitialized=![];export async function ensureCliOtelTraceConfig(){const _0xfd906f=a120_0x3a71,_0x14f77d=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x5dfb1c=_0x14f77d?.[_0xfd906f(0x15e)];setTraceConfig({'otelLoggerVersion':getOtelLoggerVersion(),'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!==_0xfd906f(0x164)?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?_0xfd906f(0x15c):'production'),'username':_0x5dfb1c?.[_0xfd906f(0x15d)]??a120_0x260340[_0xfd906f(0x161)]()[_0xfd906f(0x15d)]??_0xfd906f(0x158),..._0x5dfb1c&&{'nickname':_0x5dfb1c[_0xfd906f(0x165)]}}),cliOtelTraceInitialized=!![];}return _0x14f77d;}function a120_0x3a71(_0x439e1a,_0xd8fa5e){_0x439e1a=_0x439e1a-0x157;const _0x351ec7=a120_0x351e();let _0x3a71ce=_0x351ec7[_0x439e1a];return _0x3a71ce;}function a120_0x351e(){const _0x54e992=['rabetbase-cli','2NKvcFU','1690530qeXhIe','1865962JomHqQ','daily','username','user','103601MwLgKw','2657820DIdpVt','userInfo','2824836Tsqebw','1893280lttsfP','unknown','nickname','4100020jkzubB'];a120_0x351e=function(){return _0x54e992;};return a120_0x351e();}
@@ -1 +1 @@
1
- (function(_0x1845f5,_0x1b7714){const _0x55a02=a119_0x13ef,_0x15f408=_0x1845f5();while(!![]){try{const _0x48d26a=-parseInt(_0x55a02(0x182))/0x1*(-parseInt(_0x55a02(0x189))/0x2)+-parseInt(_0x55a02(0x186))/0x3+parseInt(_0x55a02(0x188))/0x4*(-parseInt(_0x55a02(0x18a))/0x5)+-parseInt(_0x55a02(0x183))/0x6+-parseInt(_0x55a02(0x18b))/0x7+parseInt(_0x55a02(0x180))/0x8*(parseInt(_0x55a02(0x185))/0x9)+parseInt(_0x55a02(0x181))/0xa;if(_0x48d26a===_0x1b7714)break;else _0x15f408['push'](_0x15f408['shift']());}catch(_0x9e452a){_0x15f408['push'](_0x15f408['shift']());}}}(a119_0x3658,0xeb089));import{shutdownTraces}from'@lovrabet/otel-logger';function a119_0x3658(){const _0xd0adb0=['SIGTERM','4700JpbmAz','886VQusWv','5285PwbZig','13002577aFOTEA','exit','once','8fZyZaa','41175790QDwnbp','2405RViavQ','6253026SJcCPC','beforeExit','10674135snBZip','3793965SFwhZD'];a119_0x3658=function(){return _0xd0adb0;};return a119_0x3658();}function a119_0x13ef(_0x49bcbe,_0x1b8c09){_0x49bcbe=_0x49bcbe-0x17e;const _0x365868=a119_0x3658();let _0x13ef6f=_0x365868[_0x49bcbe];return _0x13ef6f;}let shutdownPromise=null;export async function flushOtelNodeIfUsed(){if(shutdownPromise)return shutdownPromise;return shutdownPromise=((async()=>{try{await shutdownTraces();}catch{}})()),shutdownPromise;}export function registerOtelShutdownOnExit(){const _0x4b44dd=a119_0x13ef;process[_0x4b44dd(0x17f)](_0x4b44dd(0x184),()=>{void flushOtelNodeIfUsed();});const _0x353cdd=()=>{const _0x591b46=_0x4b44dd;void flushOtelNodeIfUsed()['then'](()=>process[_0x591b46(0x17e)](0x0));};process[_0x4b44dd(0x17f)]('SIGINT',_0x353cdd),process[_0x4b44dd(0x17f)](_0x4b44dd(0x187),_0x353cdd);}export async function exitWithOtelShutdown(_0x29c087){const _0x2ac40a=a119_0x13ef;await flushOtelNodeIfUsed(),process[_0x2ac40a(0x17e)](_0x29c087);}
1
+ function a121_0x28bd(_0x30373b,_0x1fef00){_0x30373b=_0x30373b-0xca;const _0x5bfc84=a121_0x5bfc();let _0x28bd73=_0x5bfc84[_0x30373b];return _0x28bd73;}(function(_0x9d5f8,_0x333857){const _0x433cfd=a121_0x28bd,_0x3ffa65=_0x9d5f8();while(!![]){try{const _0x568831=parseInt(_0x433cfd(0xd1))/0x1+parseInt(_0x433cfd(0xd7))/0x2*(parseInt(_0x433cfd(0xd4))/0x3)+parseInt(_0x433cfd(0xd5))/0x4*(-parseInt(_0x433cfd(0xd6))/0x5)+-parseInt(_0x433cfd(0xd3))/0x6*(-parseInt(_0x433cfd(0xcd))/0x7)+parseInt(_0x433cfd(0xcc))/0x8*(parseInt(_0x433cfd(0xce))/0x9)+parseInt(_0x433cfd(0xd9))/0xa+-parseInt(_0x433cfd(0xcb))/0xb;if(_0x568831===_0x333857)break;else _0x3ffa65['push'](_0x3ffa65['shift']());}catch(_0x4bc7f1){_0x3ffa65['push'](_0x3ffa65['shift']());}}}(a121_0x5bfc,0xbd901));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 _0x29862f=a121_0x28bd;process['once'](_0x29862f(0xca),()=>{void flushOtelNodeIfUsed();});const _0x1383dc=()=>{const _0x2dc600=_0x29862f;void flushOtelNodeIfUsed()[_0x2dc600(0xd0)](()=>process[_0x2dc600(0xd8)](0x0));};process[_0x29862f(0xd2)]('SIGINT',_0x1383dc),process[_0x29862f(0xd2)](_0x29862f(0xcf),_0x1383dc);}function a121_0x5bfc(){const _0x1d9595=['2mrFccO','exit','5732550ICPVtl','beforeExit','39908429wHvMSq','3664xsjbVd','35OXjclc','26379jARbvw','SIGTERM','then','889296mFASxj','once','1419930tFQSHg','1461501paKwCz','4OFLGuR','354515LQsjmL'];a121_0x5bfc=function(){return _0x1d9595;};return a121_0x5bfc();}export async function exitWithOtelShutdown(_0x195224){const _0x24946b=a121_0x28bd;await flushOtelNodeIfUsed(),process[_0x24946b(0xd8)](_0x195224);}
@@ -1 +1 @@
1
- function a120_0x4e77(){const _0x46c76e=['version','487267IWhFoj','traceparent','manual','4hCdBSN','43893396NpbJFD','2048963jzRYHH','340tYYqDq','5427425bBimZs','3zVQYnM','272QqvziM','traceName','125901pxVexT','logData','2294450nNJDeu','353816QByHJf','24hCdNkq'];a120_0x4e77=function(){return _0x46c76e;};return a120_0x4e77();}(function(_0x4730e0,_0x2451ba){const _0x58216d=a120_0x3352,_0x58c023=_0x4730e0();while(!![]){try{const _0x149929=parseInt(_0x58216d(0xde))/0x1+parseInt(_0x58216d(0xdd))/0x2*(-parseInt(_0x58216d(0xd8))/0x3)+-parseInt(_0x58216d(0xd3))/0x4*(-parseInt(_0x58216d(0xd7))/0x5)+parseInt(_0x58216d(0xdf))/0x6*(-parseInt(_0x58216d(0xd5))/0x7)+-parseInt(_0x58216d(0xd9))/0x8*(parseInt(_0x58216d(0xdb))/0x9)+-parseInt(_0x58216d(0xd6))/0xa*(parseInt(_0x58216d(0xe1))/0xb)+parseInt(_0x58216d(0xd4))/0xc;if(_0x149929===_0x2451ba)break;else _0x58c023['push'](_0x58c023['shift']());}catch(_0x331549){_0x58c023['push'](_0x58c023['shift']());}}}(a120_0x4e77,0xc2a73));import{sendTraceLog}from'@lovrabet/otel-logger';import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';import{getCliVersion}from'../utils/version.js';function a120_0x3352(_0x1c0e65,_0x1931e7){_0x1c0e65=_0x1c0e65-0xd2;const _0x4e77a7=a120_0x4e77();let _0x335217=_0x4e77a7[_0x1c0e65];return _0x335217;}const DEFAULT_TRACE_NAME='rabetbase-cli';export async function sendCliTraceLog(_0xefdada){const _0x3191c3=a120_0x3352;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0xefdada[_0x3191c3(0xda)]??DEFAULT_TRACE_NAME,'version':_0xefdada[_0x3191c3(0xe0)]??getCliVersion(),'spanName':_0xefdada['spanName'],'eventType':_0x3191c3(0xd2),'logData':_0xefdada[_0x3191c3(0xdc)],..._0xefdada[_0x3191c3(0xe2)]&&{'traceparent':_0xefdada[_0x3191c3(0xe2)]}});}
1
+ const a122_0x7ea34b=a122_0x49b1;(function(_0xfca245,_0xd4470e){const _0x50442d=a122_0x49b1,_0x3c3daa=_0xfca245();while(!![]){try{const _0x55d433=parseInt(_0x50442d(0x130))/0x1*(parseInt(_0x50442d(0x12a))/0x2)+parseInt(_0x50442d(0x12c))/0x3*(parseInt(_0x50442d(0x138))/0x4)+parseInt(_0x50442d(0x132))/0x5+parseInt(_0x50442d(0x131))/0x6+parseInt(_0x50442d(0x12e))/0x7+parseInt(_0x50442d(0x133))/0x8+-parseInt(_0x50442d(0x12d))/0x9;if(_0x55d433===_0xd4470e)break;else _0x3c3daa['push'](_0x3c3daa['shift']());}catch(_0x50f7ed){_0x3c3daa['push'](_0x3c3daa['shift']());}}}(a122_0x507a,0x7efba));function a122_0x507a(){const _0x5fbbcd=['logData','15460KkyYAV','traceName','34kMZGVD','traceparent','591QQBRrX','20675682SHpjEy','1100995QkMMCq','manual','4603PwtPRL','4032462ifPFmK','3436950YqKuHX','3688096TnhsNi','version','rabetbase-cli','spanName'];a122_0x507a=function(){return _0x5fbbcd;};return a122_0x507a();}import{sendTraceLog}from'@lovrabet/otel-logger';import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';function a122_0x49b1(_0x4c5124,_0x2aafae){_0x4c5124=_0x4c5124-0x12a;const _0x507afb=a122_0x507a();let _0x49b143=_0x507afb[_0x4c5124];return _0x49b143;}import{getCliVersion}from'../utils/version.js';const DEFAULT_TRACE_NAME=a122_0x7ea34b(0x135);export async function sendCliTraceLog(_0x5d442e){const _0x455ae2=a122_0x7ea34b;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x5d442e[_0x455ae2(0x139)]??DEFAULT_TRACE_NAME,'version':_0x5d442e[_0x455ae2(0x134)]??getCliVersion(),'spanName':_0x5d442e[_0x455ae2(0x136)],'eventType':_0x455ae2(0x12f),'logData':_0x5d442e[_0x455ae2(0x137)],..._0x5d442e[_0x455ae2(0x12b)]&&{'traceparent':_0x5d442e['traceparent']}});}
@@ -1 +1 @@
1
- const a122_0x5b8f4a=a122_0x1195;function a122_0x1195(_0x3dca60,_0x2c9808){_0x3dca60=_0x3dca60-0xf2;const _0x14387a=a122_0x1438();let _0x1195ef=_0x14387a[_0x3dca60];return _0x1195ef;}function a122_0x1438(){const _0x367ca6=['Claude\x20Code','windsurf','.windsurf','.trae/skills/lovrabet/SKILL.md','file','8ugHVfP','agent','Qoder\x20IDE','OpenCode\x20IDE','codex','133731hVZtwQ','10388JnHfcP','.cursorrules','Windsurf','Codex\x20IDE','codebuddy','.claude/skills/lovrabet/SKILL.md','opencode','SKILL.md.tpl','OpenCode','.opencode','.codex','.cline','6358140hjTkJW','claude','通用模板\x20-\x20兜底方案','Antigravity','133557URVrgF','trae','.qoder/skills/lovrabet/SKILL.md','.cursor/skills/rabetbase.md','cursor','cline','Codex','Windsurf\x20IDE','.cline/skills/lovrabet/SKILL.md','2286sFmpTC','Antigravity\x20IDE','716429ziuFty','8248760ewCCiL','qoder','.agent','.codebuddy/skills/lovrabet/SKILL.md','.qoder/rules/rabetbase.md','其他\x20(通用模板)','.opencode/skills/lovrabet/SKILL.md','530qxUfcB','CodeBuddy\x20IDE','2106dtLUJx','.trae'];a122_0x1438=function(){return _0x367ca6;};return a122_0x1438();}(function(_0x581a0d,_0x30fe01){const _0xcaec1f=a122_0x1195,_0xdbd49e=_0x581a0d();while(!![]){try{const _0x15ee32=-parseInt(_0xcaec1f(0xfd))/0x1+parseInt(_0xcaec1f(0x112))/0x2*(parseInt(_0xcaec1f(0x106))/0x3)+parseInt(_0xcaec1f(0x11f))/0x4*(parseInt(_0xcaec1f(0x110))/0x5)+-parseInt(_0xcaec1f(0xf9))/0x6+parseInt(_0xcaec1f(0x108))/0x7*(-parseInt(_0xcaec1f(0x119))/0x8)+-parseInt(_0xcaec1f(0x11e))/0x9+parseInt(_0xcaec1f(0x109))/0xa;if(_0x15ee32===_0x30fe01)break;else _0xdbd49e['push'](_0xdbd49e['shift']());}catch(_0x5278d5){_0xdbd49e['push'](_0xdbd49e['shift']());}}}(a122_0x1438,0x908db));export const CORE_IDE_CONFIGS={'cursor':{'name':'Cursor','description':'Cursor\x20IDE','folders':[a122_0x5b8f4a(0x120),'.cursor'],'files':[{'type':a122_0x5b8f4a(0x118),'path':a122_0x5b8f4a(0x100),'template':'SKILL.md.tpl'}]},'windsurf':{'name':a122_0x5b8f4a(0x121),'description':a122_0x5b8f4a(0x104),'folders':[a122_0x5b8f4a(0x116)],'files':[{'type':a122_0x5b8f4a(0x118),'path':'.windsurf/workflows/rabetbase.md','template':'SKILL.md.tpl'}]},'claude':{'name':'Claude\x20Code','description':a122_0x5b8f4a(0x114),'folders':['.claude'],'files':[{'type':a122_0x5b8f4a(0x118),'path':a122_0x5b8f4a(0xf2),'template':a122_0x5b8f4a(0xf4)}]},'cline':{'name':'Cline','description':'Cline\x20IDE','folders':[a122_0x5b8f4a(0xf8)],'files':[{'type':a122_0x5b8f4a(0x118),'path':a122_0x5b8f4a(0x105),'template':'SKILL.md.tpl'}]},'codex':{'name':a122_0x5b8f4a(0x103),'description':a122_0x5b8f4a(0x122),'folders':[a122_0x5b8f4a(0xf7)],'files':[{'type':a122_0x5b8f4a(0x118),'path':'.codex/skills/lovrabet/SKILL.md','template':a122_0x5b8f4a(0xf4)}]},'opencode':{'name':a122_0x5b8f4a(0xf5),'description':a122_0x5b8f4a(0x11c),'folders':[a122_0x5b8f4a(0xf6)],'files':[{'type':a122_0x5b8f4a(0x118),'path':a122_0x5b8f4a(0x10f),'template':'SKILL.md.tpl'}]},'qoder':{'name':'Qoder','description':a122_0x5b8f4a(0x11b),'folders':['.qoder'],'files':[{'type':a122_0x5b8f4a(0x118),'path':a122_0x5b8f4a(0x10d),'template':a122_0x5b8f4a(0xf4)},{'type':a122_0x5b8f4a(0x118),'path':a122_0x5b8f4a(0xff),'template':a122_0x5b8f4a(0xf4)}]},'codebuddy':{'name':'CodeBuddy','description':a122_0x5b8f4a(0x111),'folders':['.codebuddy'],'files':[{'type':a122_0x5b8f4a(0x118),'path':a122_0x5b8f4a(0x10c),'template':'SKILL.md.tpl'}]},'trae':{'name':'Trae','description':'Trae\x20IDE','folders':[a122_0x5b8f4a(0x113)],'files':[{'type':a122_0x5b8f4a(0x118),'path':a122_0x5b8f4a(0x117),'template':a122_0x5b8f4a(0xf4)}]}};export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':a122_0x5b8f4a(0x10e),'description':a122_0x5b8f4a(0xfb),'folders':[a122_0x5b8f4a(0x10b)],'files':[{'type':a122_0x5b8f4a(0x118),'path':'.agent/skills/lovrabet/SKILL.md','template':a122_0x5b8f4a(0xf4)}]},'antigravity':{'name':a122_0x5b8f4a(0xfc),'description':a122_0x5b8f4a(0x107),'folders':[a122_0x5b8f4a(0x10b)],'files':[{'type':a122_0x5b8f4a(0x118),'path':'.agent/skills/lovrabet/SKILL.md','template':a122_0x5b8f4a(0xf4)}]}};export const CORE_IDE_LIST=[a122_0x5b8f4a(0xfa),a122_0x5b8f4a(0x102),a122_0x5b8f4a(0x123),a122_0x5b8f4a(0x11d),a122_0x5b8f4a(0x101),a122_0x5b8f4a(0xf3),'qoder',a122_0x5b8f4a(0xfe),a122_0x5b8f4a(0x115)];export const IDE_LIST=['antigravity',a122_0x5b8f4a(0xfa),a122_0x5b8f4a(0x102),'codebuddy',a122_0x5b8f4a(0x11d),a122_0x5b8f4a(0x101),'opencode',a122_0x5b8f4a(0x10a),'trae',a122_0x5b8f4a(0x115),a122_0x5b8f4a(0x11a)];export const ALL_CORE_IDES=[a122_0x5b8f4a(0x101),a122_0x5b8f4a(0x115),a122_0x5b8f4a(0xfa),'cline',a122_0x5b8f4a(0x11d),a122_0x5b8f4a(0xf3),a122_0x5b8f4a(0x10a),'codebuddy',a122_0x5b8f4a(0xfe)];
1
+ const a124_0x3845b7=a124_0x5384;(function(_0x5cec44,_0x1fe398){const _0x34f161=a124_0x5384,_0x4cfb23=_0x5cec44();while(!![]){try{const _0x4bdf79=parseInt(_0x34f161(0x14a))/0x1*(-parseInt(_0x34f161(0x14c))/0x2)+parseInt(_0x34f161(0x16f))/0x3+parseInt(_0x34f161(0x166))/0x4+-parseInt(_0x34f161(0x16e))/0x5*(-parseInt(_0x34f161(0x147))/0x6)+parseInt(_0x34f161(0x16b))/0x7*(-parseInt(_0x34f161(0x15e))/0x8)+parseInt(_0x34f161(0x154))/0x9*(parseInt(_0x34f161(0x170))/0xa)+parseInt(_0x34f161(0x14b))/0xb;if(_0x4bdf79===_0x1fe398)break;else _0x4cfb23['push'](_0x4cfb23['shift']());}catch(_0x2ca274){_0x4cfb23['push'](_0x4cfb23['shift']());}}}(a124_0x3701,0x8e448));function a124_0x3701(){const _0x209837=['SKILL.md.tpl','.cursor','windsurf','.codebuddy','Windsurf\x20IDE','.cline','Cline','codebuddy','1001418OKUGnE','.windsurf','.claude','537qWwUOn','1713426TnkMuz','2606HqLEUz','Cursor\x20IDE','.opencode/skills/lovrabet/SKILL.md','trae','Codex','.claude/skills/lovrabet/SKILL.md','codex','CodeBuddy','9ZpbiOo','cline','.agent/skills/lovrabet/SKILL.md','agent','Cursor','.qoder/rules/rabetbase.md','Trae','cursor','.windsurf/workflows/rabetbase.md','其他\x20(通用模板)','32NMqOKl','Antigravity\x20IDE','opencode','通用模板\x20-\x20兜底方案','.codex/skills/lovrabet/SKILL.md','claude','Antigravity','Cline\x20IDE','2782404PucJQE','qoder','OpenCode\x20IDE','.trae/skills/lovrabet/SKILL.md','Codex\x20IDE','1337819JxEyKe','.agent','file','10TWscGR','1097580UupkXg','4958740VDfUCz','Claude\x20Code','.cursor/skills/rabetbase.md','.trae','.cline/skills/lovrabet/SKILL.md'];a124_0x3701=function(){return _0x209837;};return a124_0x3701();}export const CORE_IDE_CONFIGS={'cursor':{'name':a124_0x3845b7(0x158),'description':a124_0x3845b7(0x14d),'folders':['.cursorrules',a124_0x3845b7(0x140)],'files':[{'type':'file','path':a124_0x3845b7(0x13c),'template':'SKILL.md.tpl'}]},'windsurf':{'name':'Windsurf','description':a124_0x3845b7(0x143),'folders':[a124_0x3845b7(0x148)],'files':[{'type':a124_0x3845b7(0x16d),'path':a124_0x3845b7(0x15c),'template':a124_0x3845b7(0x13f)}]},'claude':{'name':'Claude\x20Code','description':a124_0x3845b7(0x13b),'folders':[a124_0x3845b7(0x149)],'files':[{'type':a124_0x3845b7(0x16d),'path':a124_0x3845b7(0x151),'template':a124_0x3845b7(0x13f)}]},'cline':{'name':a124_0x3845b7(0x145),'description':a124_0x3845b7(0x165),'folders':[a124_0x3845b7(0x144)],'files':[{'type':a124_0x3845b7(0x16d),'path':a124_0x3845b7(0x13e),'template':'SKILL.md.tpl'}]},'codex':{'name':a124_0x3845b7(0x150),'description':a124_0x3845b7(0x16a),'folders':['.codex'],'files':[{'type':a124_0x3845b7(0x16d),'path':a124_0x3845b7(0x162),'template':a124_0x3845b7(0x13f)}]},'opencode':{'name':'OpenCode','description':a124_0x3845b7(0x168),'folders':['.opencode'],'files':[{'type':'file','path':a124_0x3845b7(0x14e),'template':a124_0x3845b7(0x13f)}]},'qoder':{'name':'Qoder','description':'Qoder\x20IDE','folders':['.qoder'],'files':[{'type':a124_0x3845b7(0x16d),'path':a124_0x3845b7(0x159),'template':a124_0x3845b7(0x13f)},{'type':a124_0x3845b7(0x16d),'path':'.qoder/skills/lovrabet/SKILL.md','template':'SKILL.md.tpl'}]},'codebuddy':{'name':a124_0x3845b7(0x153),'description':'CodeBuddy\x20IDE','folders':[a124_0x3845b7(0x142)],'files':[{'type':a124_0x3845b7(0x16d),'path':'.codebuddy/skills/lovrabet/SKILL.md','template':'SKILL.md.tpl'}]},'trae':{'name':a124_0x3845b7(0x15a),'description':'Trae\x20IDE','folders':[a124_0x3845b7(0x13d)],'files':[{'type':a124_0x3845b7(0x16d),'path':a124_0x3845b7(0x169),'template':a124_0x3845b7(0x13f)}]}};export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':a124_0x3845b7(0x15d),'description':a124_0x3845b7(0x161),'folders':[a124_0x3845b7(0x16c)],'files':[{'type':a124_0x3845b7(0x16d),'path':a124_0x3845b7(0x156),'template':a124_0x3845b7(0x13f)}]},'antigravity':{'name':a124_0x3845b7(0x164),'description':a124_0x3845b7(0x15f),'folders':[a124_0x3845b7(0x16c)],'files':[{'type':a124_0x3845b7(0x16d),'path':'.agent/skills/lovrabet/SKILL.md','template':a124_0x3845b7(0x13f)}]}};export const CORE_IDE_LIST=[a124_0x3845b7(0x163),a124_0x3845b7(0x155),a124_0x3845b7(0x146),a124_0x3845b7(0x152),a124_0x3845b7(0x15b),a124_0x3845b7(0x160),a124_0x3845b7(0x167),a124_0x3845b7(0x14f),a124_0x3845b7(0x141)];export const IDE_LIST=['antigravity',a124_0x3845b7(0x163),a124_0x3845b7(0x155),a124_0x3845b7(0x146),a124_0x3845b7(0x152),a124_0x3845b7(0x15b),a124_0x3845b7(0x160),'qoder',a124_0x3845b7(0x14f),'windsurf',a124_0x3845b7(0x157)];function a124_0x5384(_0x360495,_0x48791d){_0x360495=_0x360495-0x13b;const _0x3701e5=a124_0x3701();let _0x53846b=_0x3701e5[_0x360495];return _0x53846b;}export const ALL_CORE_IDES=['cursor',a124_0x3845b7(0x141),a124_0x3845b7(0x163),'cline',a124_0x3845b7(0x152),a124_0x3845b7(0x160),'qoder',a124_0x3845b7(0x146),a124_0x3845b7(0x14f)];
@@ -1 +1 @@
1
- (function(_0x5460a1,_0x53b214){const _0x306359=a123_0x16b3,_0x2befd4=_0x5460a1();while(!![]){try{const _0x5975a3=-parseInt(_0x306359(0x1af))/0x1+-parseInt(_0x306359(0x1a4))/0x2*(-parseInt(_0x306359(0x1ab))/0x3)+-parseInt(_0x306359(0x1b0))/0x4*(-parseInt(_0x306359(0x19c))/0x5)+-parseInt(_0x306359(0x198))/0x6*(-parseInt(_0x306359(0x1a0))/0x7)+parseInt(_0x306359(0x1aa))/0x8*(-parseInt(_0x306359(0x1ad))/0x9)+-parseInt(_0x306359(0x194))/0xa+parseInt(_0x306359(0x19e))/0xb*(-parseInt(_0x306359(0x195))/0xc);if(_0x5975a3===_0x53b214)break;else _0x2befd4['push'](_0x2befd4['shift']());}catch(_0x56456c){_0x2befd4['push'](_0x2befd4['shift']());}}}(a123_0x56ec,0x717d8));function a123_0x16b3(_0x307d4e,_0x914877){_0x307d4e=_0x307d4e-0x194;const _0x56ecae=a123_0x56ec();let _0x16b3bc=_0x56ecae[_0x307d4e];return _0x16b3bc;}import{execFileSync}from'node:child_process';import{existsSync}from'node:fs';import{createRequire}from'node:module';import a123_0x2e4ee7 from'node:path';import{CliErrors}from'../errors.js';function a123_0x56ec(){const _0x1ab81f=['message','platform','535jDXWgd','jq.exe','1460129feoLHn','bin','49Jwdyvo','code','validation','pipe','32xLdUvo','stderr','trim','--jq\x20needs\x20a\x20jq\x20binary.\x20Bundled\x20path\x20(from\x20node-jq)\x20was\x20not\x20found\x20and\x20`jq`\x20is\x20not\x20on\x20PATH.\x20Reinstall\x20dependencies\x20(allow\x20install\x20scripts),\x20set\x20JQ_PATH\x20to\x20a\x20jq\x20executable,\x20or\x20install\x20jq:\x20https://jqlang.org/','e.g.\x20brew\x20install\x20jq\x20—\x20or\x20npm\x20install\x20with\x20scripts\x20enabled\x20so\x20node-jq\x20can\x20download\x20jq','win32','1912hBwdeh','112395smeSNw','jq:\x20','18HJOrIF','dirname','531287TkMhfe','33772sVjzND','2879280BgiFKK','60wJzEBt','ENOENT','join','381774VquZMN','resolve'];a123_0x56ec=function(){return _0x1ab81f;};return a123_0x56ec();}const MAX_BUFFER=0x32*0x400*0x400;function resolveJqBinary(){const _0x3dbbae=a123_0x16b3;try{const _0x1359bb=createRequire(import.meta.url),_0x3f0cc3=a123_0x2e4ee7[_0x3dbbae(0x1ae)](_0x1359bb[_0x3dbbae(0x199)]('node-jq/package.json')),_0x4a1c86=a123_0x2e4ee7[_0x3dbbae(0x197)](_0x3f0cc3,_0x3dbbae(0x19f)),_0x5e21a3=process[_0x3dbbae(0x19b)]===_0x3dbbae(0x1a9)?_0x3dbbae(0x19d):'jq',_0x1cc164=a123_0x2e4ee7['join'](_0x4a1c86,_0x5e21a3);if(existsSync(_0x1cc164))return _0x1cc164;}catch{}return'jq';}export function applyJqFilter(_0x1d77cd,_0xd7189f){const _0x2e95cb=a123_0x16b3,_0x41170c=resolveJqBinary();try{return execFileSync(_0x41170c,[_0xd7189f],{'input':_0x1d77cd,'encoding':'utf8','maxBuffer':MAX_BUFFER,'stdio':[_0x2e95cb(0x1a3),_0x2e95cb(0x1a3),'pipe']});}catch(_0x425e56){const _0xb8eadb=_0x425e56;if(_0xb8eadb[_0x2e95cb(0x1a1)]===_0x2e95cb(0x196))throw CliErrors[_0x2e95cb(0x1a2)](_0x2e95cb(0x1a7),_0x2e95cb(0x1a8));const _0x1dc6b5=_0xb8eadb[_0x2e95cb(0x1a5)]?.['toString']?.()[_0x2e95cb(0x1a6)]()??'',_0x529a52=(_0xb8eadb[_0x2e95cb(0x19a)]??String(_0x425e56))[_0x2e95cb(0x1a6)](),_0x476d5f=_0x1dc6b5||_0x529a52,_0x5bd40b=/^\s*jq:/i['test'](_0x476d5f)?_0x476d5f:_0x2e95cb(0x1ac)+_0x476d5f;throw CliErrors[_0x2e95cb(0x1a2)](_0x5bd40b);}}
1
+ (function(_0x46773d,_0x4df769){const _0x377b67=a125_0x3cfa,_0x261bc1=_0x46773d();while(!![]){try{const _0x4b1598=parseInt(_0x377b67(0xa3))/0x1+parseInt(_0x377b67(0x9d))/0x2*(-parseInt(_0x377b67(0xa9))/0x3)+parseInt(_0x377b67(0x9f))/0x4*(-parseInt(_0x377b67(0xaf))/0x5)+parseInt(_0x377b67(0xab))/0x6+parseInt(_0x377b67(0xae))/0x7+-parseInt(_0x377b67(0xac))/0x8+parseInt(_0x377b67(0x9e))/0x9;if(_0x4b1598===_0x4df769)break;else _0x261bc1['push'](_0x261bc1['shift']());}catch(_0x5341bd){_0x261bc1['push'](_0x261bc1['shift']());}}}(a125_0x3aee,0xe70e3));import{execFileSync}from'node:child_process';function a125_0x3aee(){const _0x88bcc0=['dirname','jq.exe','1014122YmBONS','261036BZkXif','12SgsKoH','message','--jq\x20needs\x20a\x20jq\x20binary.\x20Bundled\x20path\x20(from\x20node-jq)\x20was\x20not\x20found\x20and\x20`jq`\x20is\x20not\x20on\x20PATH.\x20Reinstall\x20dependencies\x20(allow\x20install\x20scripts),\x20set\x20JQ_PATH\x20to\x20a\x20jq\x20executable,\x20or\x20install\x20jq:\x20https://jqlang.org/','join','1439611xQcokD','trim','jq:\x20','test','pipe','win32','3dBpLie','bin','5132238UzPSgs','777992HbKxQn','stderr','3410414NipFrO','2100795kwNqEQ','ENOENT','e.g.\x20brew\x20install\x20jq\x20—\x20or\x20npm\x20install\x20with\x20scripts\x20enabled\x20so\x20node-jq\x20can\x20download\x20jq','toString','node-jq/package.json','resolve'];a125_0x3aee=function(){return _0x88bcc0;};return a125_0x3aee();}import{existsSync}from'node:fs';import{createRequire}from'node:module';import a125_0x2279b9 from'node:path';import{CliErrors}from'../errors.js';const MAX_BUFFER=0x32*0x400*0x400;function resolveJqBinary(){const _0x14f9d9=a125_0x3cfa;try{const _0x181058=createRequire(import.meta.url),_0x4c379c=a125_0x2279b9[_0x14f9d9(0x9b)](_0x181058[_0x14f9d9(0x9a)](_0x14f9d9(0x99))),_0x53a733=a125_0x2279b9[_0x14f9d9(0xa2)](_0x4c379c,_0x14f9d9(0xaa)),_0x5b84a3=process['platform']===_0x14f9d9(0xa8)?_0x14f9d9(0x9c):'jq',_0x3fbf68=a125_0x2279b9[_0x14f9d9(0xa2)](_0x53a733,_0x5b84a3);if(existsSync(_0x3fbf68))return _0x3fbf68;}catch{}return'jq';}function a125_0x3cfa(_0x5e3a8b,_0x471e81){_0x5e3a8b=_0x5e3a8b-0x99;const _0x3aeee5=a125_0x3aee();let _0x3cfa0a=_0x3aeee5[_0x5e3a8b];return _0x3cfa0a;}export function applyJqFilter(_0x90edbb,_0x432e05){const _0x3ef19b=a125_0x3cfa,_0x4961bf=resolveJqBinary();try{return execFileSync(_0x4961bf,[_0x432e05],{'input':_0x90edbb,'encoding':'utf8','maxBuffer':MAX_BUFFER,'stdio':[_0x3ef19b(0xa7),_0x3ef19b(0xa7),_0x3ef19b(0xa7)]});}catch(_0xee2822){const _0x5778de=_0xee2822;if(_0x5778de['code']===_0x3ef19b(0xb0))throw CliErrors['validation'](_0x3ef19b(0xa1),_0x3ef19b(0xb1));const _0x1bf9db=_0x5778de[_0x3ef19b(0xad)]?.[_0x3ef19b(0xb2)]?.()['trim']()??'',_0x463078=(_0x5778de[_0x3ef19b(0xa0)]??String(_0xee2822))[_0x3ef19b(0xa4)](),_0x3d75fe=_0x1bf9db||_0x463078,_0x35d8a2=/^\s*jq:/i[_0x3ef19b(0xa6)](_0x3d75fe)?_0x3d75fe:_0x3ef19b(0xa5)+_0x3d75fe;throw CliErrors['validation'](_0x35d8a2);}}
@@ -1 +1 @@
1
- (function(_0x198367,_0x57c1f6){const _0x2b9254=a124_0x26bf,_0x2fb7cd=_0x198367();while(!![]){try{const _0x33fc1b=-parseInt(_0x2b9254(0x82))/0x1*(parseInt(_0x2b9254(0x8e))/0x2)+-parseInt(_0x2b9254(0x87))/0x3*(parseInt(_0x2b9254(0x8c))/0x4)+parseInt(_0x2b9254(0x94))/0x5*(-parseInt(_0x2b9254(0x86))/0x6)+-parseInt(_0x2b9254(0x88))/0x7+parseInt(_0x2b9254(0x90))/0x8+-parseInt(_0x2b9254(0x84))/0x9*(-parseInt(_0x2b9254(0x93))/0xa)+-parseInt(_0x2b9254(0x92))/0xb*(-parseInt(_0x2b9254(0x8f))/0xc);if(_0x33fc1b===_0x57c1f6)break;else _0x2fb7cd['push'](_0x2fb7cd['shift']());}catch(_0xecd65b){_0x2fb7cd['push'](_0x2fb7cd['shift']());}}}(a124_0xdb83,0x78c44));import{getTemplateBaseUrl}from'../utils/config.js';export async function fetchCdnConfig(){const _0x44a8a6=a124_0x26bf;try{const _0x27be03=getTemplateBaseUrl(),_0x381b46=_0x27be03+_0x44a8a6(0x85),_0xf6f006=await fetch(_0x381b46,{'headers':{'Accept':_0x44a8a6(0x89)}});if(!_0xf6f006['ok'])return null;const _0x2dc96f=await _0xf6f006[_0x44a8a6(0x8d)]();if(!_0x2dc96f[_0x44a8a6(0x8b)]?.[_0x44a8a6(0x91)]||!_0x2dc96f[_0x44a8a6(0x83)]?.['node']?.['stableVersion'])return null;return _0x2dc96f;}catch{return null;}}let cachedConfig=null,cacheTime=0x0;const CACHE_TTL=0x5*0x3c*0x3e8;export async function getCdnConfig(){const _0x1d1440=a124_0x26bf,_0x171750=Date[_0x1d1440(0x8a)]();if(cachedConfig&&_0x171750-cacheTime<CACHE_TTL)return cachedConfig;const _0x30937c=await fetchCdnConfig();return _0x30937c&&(cachedConfig=_0x30937c,cacheTime=_0x171750),_0x30937c;}function a124_0x26bf(_0x587a44,_0x59c31f){_0x587a44=_0x587a44-0x82;const _0xdb8365=a124_0xdb83();let _0x26bf8e=_0xdb8365[_0x587a44];return _0x26bf8e;}export function clearCdnConfigCache(){cachedConfig=null,cacheTime=0x0;}function a124_0xdb83(){const _0x2c3af4=['cli','4296RZkRxj','json','270Ojmjnf','36WJNRAR','238568aHrjqC','stableVersion','7942847AJgLVp','12340cXzitD','1694935JsZYLU','877tiSeUT','sdk','3186VxAwcy','/config.json','6HcSNhE','2103lfGKTh','6495804ZYAHML','application/json','now'];a124_0xdb83=function(){return _0x2c3af4;};return a124_0xdb83();}
1
+ (function(_0xa86c1c,_0x8c3689){const _0x4c4cbc=a126_0x34ed,_0x265090=_0xa86c1c();while(!![]){try{const _0x2ee4ac=parseInt(_0x4c4cbc(0x1cb))/0x1*(parseInt(_0x4c4cbc(0x1ca))/0x2)+-parseInt(_0x4c4cbc(0x1c1))/0x3*(parseInt(_0x4c4cbc(0x1c9))/0x4)+parseInt(_0x4c4cbc(0x1c5))/0x5+parseInt(_0x4c4cbc(0x1c8))/0x6*(-parseInt(_0x4c4cbc(0x1cd))/0x7)+parseInt(_0x4c4cbc(0x1c6))/0x8+parseInt(_0x4c4cbc(0x1bf))/0x9+-parseInt(_0x4c4cbc(0x1c0))/0xa;if(_0x2ee4ac===_0x8c3689)break;else _0x265090['push'](_0x265090['shift']());}catch(_0x20beff){_0x265090['push'](_0x265090['shift']());}}}(a126_0x5d08,0x76cd1));function a126_0x34ed(_0x123b96,_0x559b7f){_0x123b96=_0x123b96-0x1be;const _0x5d08a4=a126_0x5d08();let _0x34ed9c=_0x5d08a4[_0x123b96];return _0x34ed9c;}import{getTemplateBaseUrl}from'../utils/config.js';export async function fetchCdnConfig(){const _0xaaf1e5=a126_0x34ed;try{const _0xa67a71=getTemplateBaseUrl(),_0x229c05=_0xa67a71+'/config.json',_0x47b89b=await fetch(_0x229c05,{'headers':{'Accept':'application/json'}});if(!_0x47b89b['ok'])return null;const _0xc86d67=await _0x47b89b[_0xaaf1e5(0x1c7)]();if(!_0xc86d67[_0xaaf1e5(0x1c3)]?.[_0xaaf1e5(0x1c2)]||!_0xc86d67[_0xaaf1e5(0x1c4)]?.[_0xaaf1e5(0x1cc)]?.[_0xaaf1e5(0x1c2)])return null;return _0xc86d67;}catch{return null;}}let cachedConfig=null,cacheTime=0x0;const CACHE_TTL=0x5*0x3c*0x3e8;function a126_0x5d08(){const _0x12316c=['1899BVZNmx','stableVersion','cli','sdk','1547175qwCmdL','6560536FZUFrF','json','2188122DAMcWV','1864crMYPV','1240574uuRpoh','1YuZskK','node','14kFuowv','now','7236225NQCzJw','10428530nKmSQe'];a126_0x5d08=function(){return _0x12316c;};return a126_0x5d08();}export async function getCdnConfig(){const _0x251224=a126_0x34ed,_0x40cbeb=Date[_0x251224(0x1be)]();if(cachedConfig&&_0x40cbeb-cacheTime<CACHE_TTL)return cachedConfig;const _0x3a90ea=await fetchCdnConfig();return _0x3a90ea&&(cachedConfig=_0x3a90ea,cacheTime=_0x40cbeb),_0x3a90ea;}export function clearCdnConfigCache(){cachedConfig=null,cacheTime=0x0;}
@@ -1 +1 @@
1
- const a125_0x2cc2c4=a125_0x9ac6;function a125_0x3f40(){const _0x3ae0b5=['node','stableVersion','some','join','\x1b[0m','minVersion','605025uZoMcV','↪\x20SDK\x20update\x20available','packageName','dependencies','all','\x20\x20\x20Stable\x20version:\x20','\x1b[1m','\x1b[33m','sdk','@lovrabet/sdk','package.json','needsUpgrade','node_modules','log','readFileSync','\x20\x20\x20Current\x20version:\x20','456810iBqvtx','devDependencies','coerce','utf8','npm\x20install\x20','5itKuQa','1163808YpUnQy','1.2.0','parse','existsSync','56040kLhFnu','test','304194bUoNOg','2313BRtylF','2104095ZsViop','utf-8','206YaOFTP','version'];a125_0x3f40=function(){return _0x3ae0b5;};return a125_0x3f40();}(function(_0xf1874c,_0x4ac71b){const _0x4f9d59=a125_0x9ac6,_0x305329=_0xf1874c();while(!![]){try{const _0x253a35=-parseInt(_0x4f9d59(0x209))/0x1*(-parseInt(_0x4f9d59(0x1e4))/0x2)+-parseInt(_0x4f9d59(0x208))/0x3+parseInt(_0x4f9d59(0x206))/0x4+-parseInt(_0x4f9d59(0x201))/0x5*(parseInt(_0x4f9d59(0x1fc))/0x6)+parseInt(_0x4f9d59(0x20a))/0x7+-parseInt(_0x4f9d59(0x202))/0x8+-parseInt(_0x4f9d59(0x1ec))/0x9;if(_0x253a35===_0x4ac71b)break;else _0x305329['push'](_0x305329['shift']());}catch(_0xa7309e){_0x305329['push'](_0x305329['shift']());}}}(a125_0x3f40,0x27b28));import a125_0x225ff4 from'node:fs';import a125_0x589c88 from'node:path';import a125_0x257be3 from'semver';import{getCdnConfig}from'../utils/cdn-config.js';function a125_0x9ac6(_0x420718,_0x3d0bbb){_0x420718=_0x420718-0x1e3;const _0x3f4016=a125_0x3f40();let _0x9ac64c=_0x3f4016[_0x420718];return _0x9ac64c;}const FALLBACK_MIN_SDK_VERSION=a125_0x2cc2c4(0x203);function isNonNumericVersion(_0x32c501){const _0x54dedc=a125_0x2cc2c4,_0x4f10f4=[/^latest$/i,/^beta$/i,/^alpha$/i,/^canary$/i,/^\*$/,/^x$/];return _0x4f10f4[_0x54dedc(0x1e8)](_0x157d42=>_0x157d42[_0x54dedc(0x207)](_0x32c501));}function getInstalledVersion(_0x538630,_0x35f479){const _0x392e56=a125_0x2cc2c4;try{const _0x5dca27=a125_0x589c88[_0x392e56(0x1e9)](_0x538630,_0x392e56(0x1f8),_0x35f479,'package.json');if(a125_0x225ff4['existsSync'](_0x5dca27)){const _0x4f0076=JSON['parse'](a125_0x225ff4[_0x392e56(0x1fa)](_0x5dca27,_0x392e56(0x1e3)));return _0x4f0076[_0x392e56(0x1e5)]||null;}}catch{}return null;}async function getSdkStableVersion(){const _0x26e59e=a125_0x2cc2c4;try{const _0x324825=await getCdnConfig();return _0x324825?.[_0x26e59e(0x1f4)]?.[_0x26e59e(0x1e6)]?.[_0x26e59e(0x1e7)]||null;}catch{return null;}}async function getSdkPackageName(){const _0x52ac5e=a125_0x2cc2c4;try{const _0x1fe2df=await getCdnConfig();return _0x1fe2df?.[_0x52ac5e(0x1f4)]?.[_0x52ac5e(0x1e6)]?.[_0x52ac5e(0x1ee)]||_0x52ac5e(0x1f5);}catch{return _0x52ac5e(0x1f5);}}export async function checkSdkVersion(_0xf6c250){const _0x3fd0e2=a125_0x2cc2c4,_0x521c3c=a125_0x589c88[_0x3fd0e2(0x1e9)](_0xf6c250,_0x3fd0e2(0x1f6)),[_0x5d2e7f,_0x3a40c0]=await Promise[_0x3fd0e2(0x1f0)]([getSdkStableVersion(),getSdkPackageName()]),_0x44baf7=_0x5d2e7f||FALLBACK_MIN_SDK_VERSION;if(!a125_0x225ff4[_0x3fd0e2(0x205)](_0x521c3c))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x44baf7,'packageName':_0x3a40c0,'stableVersion':_0x5d2e7f};try{const _0x405557=JSON[_0x3fd0e2(0x204)](a125_0x225ff4['readFileSync'](_0x521c3c,'utf8')),_0x219ead=_0x405557[_0x3fd0e2(0x1ef)]||{},_0x3a6054=_0x405557[_0x3fd0e2(0x1fd)]||{},_0x39b8f3=_0x219ead[_0x3a40c0]||_0x3a6054[_0x3a40c0];if(!_0x39b8f3)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x44baf7,'packageName':_0x3a40c0,'stableVersion':_0x5d2e7f};let _0x2591d8=getInstalledVersion(_0xf6c250,_0x3a40c0);!_0x2591d8&&(_0x2591d8=_0x39b8f3);if(isNonNumericVersion(_0x39b8f3))return{'installed':!![],'version':_0x2591d8,'needsUpgrade':![],'minVersion':_0x44baf7,'packageName':_0x3a40c0,'stableVersion':_0x5d2e7f};const _0x219e81=a125_0x257be3[_0x3fd0e2(0x1fe)](_0x2591d8),_0x4f43ab=a125_0x257be3[_0x3fd0e2(0x1fe)](_0x44baf7),_0x3f9557=_0x219e81&&_0x4f43ab?a125_0x257be3['lt'](_0x219e81,_0x4f43ab):![];return{'installed':!![],'version':_0x2591d8,'needsUpgrade':_0x3f9557,'minVersion':_0x44baf7,'packageName':_0x3a40c0,'stableVersion':_0x5d2e7f};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x44baf7,'packageName':_0x3a40c0,'stableVersion':_0x5d2e7f};}}export function checkSdkVersionSync(_0x3927f8){const _0x3bb81d=a125_0x2cc2c4,_0x2caa01=a125_0x589c88[_0x3bb81d(0x1e9)](_0x3927f8,'package.json'),_0x252569=_0x3bb81d(0x1f5);if(!a125_0x225ff4[_0x3bb81d(0x205)](_0x2caa01))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x252569,'stableVersion':null};try{const _0x52e4cc=JSON[_0x3bb81d(0x204)](a125_0x225ff4[_0x3bb81d(0x1fa)](_0x2caa01,_0x3bb81d(0x1ff))),_0x5c710b=_0x52e4cc['dependencies']||{},_0xe19c6a=_0x52e4cc['devDependencies']||{},_0x348528=_0x5c710b[_0x252569]||_0xe19c6a[_0x252569];if(!_0x348528)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x252569,'stableVersion':null};let _0x283080=getInstalledVersion(_0x3927f8,_0x252569);!_0x283080&&(_0x283080=_0x348528);if(isNonNumericVersion(_0x348528))return{'installed':!![],'version':_0x283080,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x252569,'stableVersion':null};const _0x4b8311=a125_0x257be3['coerce'](_0x283080),_0x2bdebf=_0x4b8311?a125_0x257be3['lt'](_0x4b8311,FALLBACK_MIN_SDK_VERSION):![];return{'installed':!![],'version':_0x283080,'needsUpgrade':_0x2bdebf,'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x252569,'stableVersion':null};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x252569,'stableVersion':null};}}export function printSdkUpgradeWarning(_0x40a9aa){const _0x17b650=a125_0x2cc2c4;if(!_0x40a9aa[_0x17b650(0x1f7)])return;const _0x20a869=_0x17b650(0x1f3),_0x510a67=_0x17b650(0x1ea),_0x39e1f9=_0x17b650(0x1f2),_0x5b92e3=_0x40a9aa[_0x17b650(0x1ee)]||_0x17b650(0x1f5),_0x3b2329=_0x40a9aa[_0x17b650(0x1e7)]||_0x40a9aa[_0x17b650(0x1eb)],_0x1a57ab=_0x17b650(0x200)+_0x5b92e3+'@'+(_0x3b2329||'latest');console[_0x17b650(0x1f9)](),console[_0x17b650(0x1f9)](''+_0x20a869+_0x39e1f9+_0x17b650(0x1ed)+_0x510a67),console[_0x17b650(0x1f9)](_0x20a869+_0x17b650(0x1fb)+_0x5b92e3+'@'+_0x40a9aa['version']+_0x510a67),console[_0x17b650(0x1f9)](_0x20a869+_0x17b650(0x1f1)+_0x3b2329+_0x510a67),console[_0x17b650(0x1f9)](_0x20a869+'\x20\x20\x20Upgrade\x20command:\x20'+_0x1a57ab+_0x510a67),console[_0x17b650(0x1f9)]();}
1
+ function a127_0x16e5(){const _0x52a220=['log','\x20\x20\x20Upgrade\x20command:\x20','utf8','join','\x20\x20\x20Current\x20version:\x20','@lovrabet/sdk','\x20\x20\x20Stable\x20version:\x20','sdk','node_modules','929276GEzmkn','49fOoDhS','1823528garpGP','packageName','139974XALEIi','npm\x20install\x20','3754345fYjsZa','readFileSync','coerce','stableVersion','940981MOIQIM','latest','\x1b[1m','node','parse','↪\x20SDK\x20update\x20available','package.json','dependencies','370030yDVRlh','existsSync','15OfSmsk','version','devDependencies','needsUpgrade','some','567fmxeXZ','552434KsJXVa'];a127_0x16e5=function(){return _0x52a220;};return a127_0x16e5();}(function(_0x367cdc,_0x946344){const _0x4b64c5=a127_0x4ef4,_0x11107b=_0x367cdc();while(!![]){try{const _0x394350=parseInt(_0x4b64c5(0x1fa))/0x1+-parseInt(_0x4b64c5(0x1e6))/0x2+-parseInt(_0x4b64c5(0x1e0))/0x3*(parseInt(_0x4b64c5(0x1f0))/0x4)+-parseInt(_0x4b64c5(0x1f6))/0x5+parseInt(_0x4b64c5(0x1f4))/0x6*(-parseInt(_0x4b64c5(0x1f1))/0x7)+-parseInt(_0x4b64c5(0x1f2))/0x8+-parseInt(_0x4b64c5(0x1e5))/0x9*(-parseInt(_0x4b64c5(0x1de))/0xa);if(_0x394350===_0x946344)break;else _0x11107b['push'](_0x11107b['shift']());}catch(_0x400744){_0x11107b['push'](_0x11107b['shift']());}}}(a127_0x16e5,0xa9015));import a127_0x46aa81 from'node:fs';import a127_0x58711a from'node:path';import a127_0x436481 from'semver';import{getCdnConfig}from'../utils/cdn-config.js';const FALLBACK_MIN_SDK_VERSION='1.2.0';function isNonNumericVersion(_0x39a8f6){const _0x14f458=a127_0x4ef4,_0x377009=[/^latest$/i,/^beta$/i,/^alpha$/i,/^canary$/i,/^\*$/,/^x$/];return _0x377009[_0x14f458(0x1e4)](_0x71eae0=>_0x71eae0['test'](_0x39a8f6));}function a127_0x4ef4(_0xdb48a5,_0x5601e4){_0xdb48a5=_0xdb48a5-0x1d8;const _0x16e5ef=a127_0x16e5();let _0x4ef401=_0x16e5ef[_0xdb48a5];return _0x4ef401;}function getInstalledVersion(_0x5999bb,_0x395f96){const _0x2c88f2=a127_0x4ef4;try{const _0x1f1b5a=a127_0x58711a[_0x2c88f2(0x1ea)](_0x5999bb,_0x2c88f2(0x1ef),_0x395f96,_0x2c88f2(0x1dc));if(a127_0x46aa81[_0x2c88f2(0x1df)](_0x1f1b5a)){const _0x26a128=JSON['parse'](a127_0x46aa81[_0x2c88f2(0x1f7)](_0x1f1b5a,'utf-8'));return _0x26a128[_0x2c88f2(0x1e1)]||null;}}catch{}return null;}async function getSdkStableVersion(){const _0x2a741a=a127_0x4ef4;try{const _0x5e56d0=await getCdnConfig();return _0x5e56d0?.[_0x2a741a(0x1ee)]?.[_0x2a741a(0x1d9)]?.['stableVersion']||null;}catch{return null;}}async function getSdkPackageName(){const _0x2bfcd4=a127_0x4ef4;try{const _0x3e3f7f=await getCdnConfig();return _0x3e3f7f?.[_0x2bfcd4(0x1ee)]?.[_0x2bfcd4(0x1d9)]?.[_0x2bfcd4(0x1f3)]||'@lovrabet/sdk';}catch{return _0x2bfcd4(0x1ec);}}export async function checkSdkVersion(_0x2f9598){const _0x3ad9eb=a127_0x4ef4,_0x1423d0=a127_0x58711a[_0x3ad9eb(0x1ea)](_0x2f9598,_0x3ad9eb(0x1dc)),[_0x330a08,_0x48b8e7]=await Promise['all']([getSdkStableVersion(),getSdkPackageName()]),_0x14ad12=_0x330a08||FALLBACK_MIN_SDK_VERSION;if(!a127_0x46aa81['existsSync'](_0x1423d0))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x14ad12,'packageName':_0x48b8e7,'stableVersion':_0x330a08};try{const _0xd62536=JSON['parse'](a127_0x46aa81[_0x3ad9eb(0x1f7)](_0x1423d0,_0x3ad9eb(0x1e9))),_0x987fe6=_0xd62536['dependencies']||{},_0x50cf28=_0xd62536[_0x3ad9eb(0x1e2)]||{},_0x4e8d9a=_0x987fe6[_0x48b8e7]||_0x50cf28[_0x48b8e7];if(!_0x4e8d9a)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x14ad12,'packageName':_0x48b8e7,'stableVersion':_0x330a08};let _0x8f82e5=getInstalledVersion(_0x2f9598,_0x48b8e7);!_0x8f82e5&&(_0x8f82e5=_0x4e8d9a);if(isNonNumericVersion(_0x4e8d9a))return{'installed':!![],'version':_0x8f82e5,'needsUpgrade':![],'minVersion':_0x14ad12,'packageName':_0x48b8e7,'stableVersion':_0x330a08};const _0x3fbdb8=a127_0x436481['coerce'](_0x8f82e5),_0x3e451f=a127_0x436481['coerce'](_0x14ad12),_0x19515d=_0x3fbdb8&&_0x3e451f?a127_0x436481['lt'](_0x3fbdb8,_0x3e451f):![];return{'installed':!![],'version':_0x8f82e5,'needsUpgrade':_0x19515d,'minVersion':_0x14ad12,'packageName':_0x48b8e7,'stableVersion':_0x330a08};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x14ad12,'packageName':_0x48b8e7,'stableVersion':_0x330a08};}}export function checkSdkVersionSync(_0x4695b1){const _0x7e8cce=a127_0x4ef4,_0x2aa39d=a127_0x58711a[_0x7e8cce(0x1ea)](_0x4695b1,_0x7e8cce(0x1dc)),_0x16b39f='@lovrabet/sdk';if(!a127_0x46aa81['existsSync'](_0x2aa39d))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x16b39f,'stableVersion':null};try{const _0x38608e=JSON[_0x7e8cce(0x1da)](a127_0x46aa81[_0x7e8cce(0x1f7)](_0x2aa39d,'utf8')),_0x17c294=_0x38608e[_0x7e8cce(0x1dd)]||{},_0x2ea196=_0x38608e[_0x7e8cce(0x1e2)]||{},_0x4020e5=_0x17c294[_0x16b39f]||_0x2ea196[_0x16b39f];if(!_0x4020e5)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x16b39f,'stableVersion':null};let _0x1ceab2=getInstalledVersion(_0x4695b1,_0x16b39f);!_0x1ceab2&&(_0x1ceab2=_0x4020e5);if(isNonNumericVersion(_0x4020e5))return{'installed':!![],'version':_0x1ceab2,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x16b39f,'stableVersion':null};const _0x1e722b=a127_0x436481[_0x7e8cce(0x1f8)](_0x1ceab2),_0x50430c=_0x1e722b?a127_0x436481['lt'](_0x1e722b,FALLBACK_MIN_SDK_VERSION):![];return{'installed':!![],'version':_0x1ceab2,'needsUpgrade':_0x50430c,'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x16b39f,'stableVersion':null};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x16b39f,'stableVersion':null};}}export function printSdkUpgradeWarning(_0x470254){const _0xfb4c45=a127_0x4ef4;if(!_0x470254[_0xfb4c45(0x1e3)])return;const _0x50d655='\x1b[33m',_0x25a803='\x1b[0m',_0x58cc87=_0xfb4c45(0x1d8),_0x4086c7=_0x470254['packageName']||_0xfb4c45(0x1ec),_0x339595=_0x470254[_0xfb4c45(0x1f9)]||_0x470254['minVersion'],_0x29fb14=_0xfb4c45(0x1f5)+_0x4086c7+'@'+(_0x339595||_0xfb4c45(0x1fb));console[_0xfb4c45(0x1e7)](),console[_0xfb4c45(0x1e7)](''+_0x50d655+_0x58cc87+_0xfb4c45(0x1db)+_0x25a803),console[_0xfb4c45(0x1e7)](_0x50d655+_0xfb4c45(0x1eb)+_0x4086c7+'@'+_0x470254['version']+_0x25a803),console[_0xfb4c45(0x1e7)](_0x50d655+_0xfb4c45(0x1ed)+_0x339595+_0x25a803),console[_0xfb4c45(0x1e7)](_0x50d655+_0xfb4c45(0x1e8)+_0x29fb14+_0x25a803),console[_0xfb4c45(0x1e7)]();}
@@ -1 +1 @@
1
- (function(_0x1e8349,_0x2abe56){const _0x2d9b11=a126_0xbe0a,_0x255e0d=_0x1e8349();while(!![]){try{const _0xbe938c=parseInt(_0x2d9b11(0x107))/0x1*(parseInt(_0x2d9b11(0x10e))/0x2)+parseInt(_0x2d9b11(0x112))/0x3+parseInt(_0x2d9b11(0x11a))/0x4*(-parseInt(_0x2d9b11(0x10a))/0x5)+parseInt(_0x2d9b11(0x110))/0x6+parseInt(_0x2d9b11(0x119))/0x7+-parseInt(_0x2d9b11(0x113))/0x8+-parseInt(_0x2d9b11(0x10d))/0x9;if(_0xbe938c===_0x2abe56)break;else _0x255e0d['push'](_0x255e0d['shift']());}catch(_0x4ff732){_0x255e0d['push'](_0x255e0d['shift']());}}}(a126_0x7b74,0xd37ff));function a126_0x7b74(){const _0x111077=['9713061gtBEhS','10LuHwZn','version','7540764VltPmU','\x1b[1m','2742255yDIOfA','9623000GlcSrC','\x20\x20\x20Current\x20CLI\x20version:\x20','currentVersion','\x1b[0m','needsUpgrade','utf-8','8325023tBtivS','13752rNinJK','coerce','npm\x20install\x20-g\x20','test','\x20\x20\x20Upgrade\x20command:\x20','stableVersion','↪\x20New\x20version\x20available','24345gjHZZX','\x20\x20\x20Stable\x20version:\x20','log','485hzqmNR','1.0.0','some'];a126_0x7b74=function(){return _0x111077;};return a126_0x7b74();}import{readFileSync}from'node:fs';function a126_0xbe0a(_0x55552a,_0x37ebce){_0x55552a=_0x55552a-0x102;const _0x7b7448=a126_0x7b74();let _0xbe0afb=_0x7b7448[_0x55552a];return _0xbe0afb;}import{resolve,dirname}from'node:path';import{fileURLToPath}from'node:url';import a126_0xb98d17 from'semver';import{getCdnConfig}from'../utils/cdn-config.js';import{NPM_PACKAGE_NAME}from'../constant/cli.js';function getCurrentCliVersion(){const _0x54ce5e=a126_0xbe0a;try{const _0x2db1d0=fileURLToPath(import.meta.url),_0x2dfbf2=resolve(dirname(_0x2db1d0),'../..'),_0x48d289=resolve(_0x2dfbf2,'package.json'),_0x13e7f7=JSON['parse'](readFileSync(_0x48d289,_0x54ce5e(0x118)));return _0x13e7f7[_0x54ce5e(0x10f)]||_0x54ce5e(0x10b);}catch{return'1.0.0';}}function isNonNumericVersion(_0x576bde){const _0x6d9313=a126_0xbe0a,_0x57348e=[/^latest$/i,/^beta$/i,/^alpha$/i,/^canary$/i,/^\^/,/^~/,/^>/,/^</,/^\*/,/^x$/];return _0x57348e[_0x6d9313(0x10c)](_0x31ca41=>_0x31ca41[_0x6d9313(0x103)](_0x576bde));}export async function checkCliVersion(){const _0x332ff9=a126_0xbe0a,_0x49a7e4=getCurrentCliVersion(),_0x5e68f7=await getCdnConfig(),_0x2016cd=_0x5e68f7?.['cli']?.[_0x332ff9(0x105)]||null;let _0x24c598=![];if(_0x2016cd)try{const _0x1db9d0=a126_0xb98d17[_0x332ff9(0x11b)](_0x49a7e4),_0x5f4fae=a126_0xb98d17[_0x332ff9(0x11b)](_0x2016cd);_0x1db9d0&&_0x5f4fae&&(_0x24c598=a126_0xb98d17['lt'](_0x1db9d0,_0x5f4fae));}catch{_0x24c598=![];}return{'currentVersion':_0x49a7e4,'stableVersion':_0x2016cd,'needsUpgrade':_0x24c598,'isPreRelease':![]};}export function printCliUpgradeWarning(_0x36e66f){const _0x29d86b=a126_0xbe0a;if(!_0x36e66f[_0x29d86b(0x117)])return;const _0x365373='\x1b[33m',_0x34816d=_0x29d86b(0x116),_0x93fa62=_0x29d86b(0x111),_0x106eaf=_0x29d86b(0x102)+NPM_PACKAGE_NAME+'@latest';console[_0x29d86b(0x109)](),console['log'](''+_0x365373+_0x93fa62+_0x29d86b(0x106)+_0x34816d),console[_0x29d86b(0x109)](_0x365373+_0x29d86b(0x114)+_0x36e66f[_0x29d86b(0x115)]+_0x34816d),console[_0x29d86b(0x109)](_0x365373+_0x29d86b(0x108)+_0x36e66f['stableVersion']+_0x34816d),console[_0x29d86b(0x109)](_0x365373+_0x29d86b(0x104)+_0x106eaf+_0x34816d),console[_0x29d86b(0x109)]();}
1
+ (function(_0x398237,_0x436eb8){const _0x31dc89=a128_0x5a45,_0x59787d=_0x398237();while(!![]){try{const _0x53c3e9=-parseInt(_0x31dc89(0x16b))/0x1+parseInt(_0x31dc89(0x16c))/0x2*(parseInt(_0x31dc89(0x17c))/0x3)+-parseInt(_0x31dc89(0x168))/0x4+parseInt(_0x31dc89(0x171))/0x5*(parseInt(_0x31dc89(0x164))/0x6)+parseInt(_0x31dc89(0x17b))/0x7+-parseInt(_0x31dc89(0x172))/0x8+parseInt(_0x31dc89(0x169))/0x9*(parseInt(_0x31dc89(0x170))/0xa);if(_0x53c3e9===_0x436eb8)break;else _0x59787d['push'](_0x59787d['shift']());}catch(_0x55693d){_0x59787d['push'](_0x59787d['shift']());}}}(a128_0x229f,0x75619));import{readFileSync}from'node:fs';import{resolve,dirname}from'node:path';import{fileURLToPath}from'node:url';import a128_0x2d1248 from'semver';function a128_0x229f(){const _0x1ea71=['log','coerce','1.0.0','387856bZjiQu','10353aIIpEk','@latest','needsUpgrade','\x1b[0m','6LPHpwu','\x20\x20\x20Current\x20CLI\x20version:\x20','↪\x20New\x20version\x20available','version','3421376JkoCNd','1814625cHhCPK','npm\x20install\x20-g\x20','953449cfdUPB','404XAJmZU','utf-8','\x1b[1m','parse','100pXonUW','764465UEnifV','5056536jVXEPk','\x1b[33m','stableVersion','package.json','\x20\x20\x20Upgrade\x20command:\x20','some'];a128_0x229f=function(){return _0x1ea71;};return a128_0x229f();}import{getCdnConfig}from'../utils/cdn-config.js';import{NPM_PACKAGE_NAME}from'../constant/cli.js';function a128_0x5a45(_0x2d96cd,_0x2297ad){_0x2d96cd=_0x2d96cd-0x164;const _0x229f3f=a128_0x229f();let _0x5a4597=_0x229f3f[_0x2d96cd];return _0x5a4597;}function getCurrentCliVersion(){const _0x566508=a128_0x5a45;try{const _0x43d776=fileURLToPath(import.meta.url),_0x528481=resolve(dirname(_0x43d776),'../..'),_0x1c0a6e=resolve(_0x528481,_0x566508(0x175)),_0x196323=JSON[_0x566508(0x16f)](readFileSync(_0x1c0a6e,_0x566508(0x16d)));return _0x196323[_0x566508(0x167)]||_0x566508(0x17a);}catch{return _0x566508(0x17a);}}function isNonNumericVersion(_0x172cdf){const _0x338317=a128_0x5a45,_0x45cb0b=[/^latest$/i,/^beta$/i,/^alpha$/i,/^canary$/i,/^\^/,/^~/,/^>/,/^</,/^\*/,/^x$/];return _0x45cb0b[_0x338317(0x177)](_0x125d9c=>_0x125d9c['test'](_0x172cdf));}export async function checkCliVersion(){const _0x23d065=a128_0x5a45,_0x563e35=getCurrentCliVersion(),_0x201a51=await getCdnConfig(),_0x47878a=_0x201a51?.['cli']?.[_0x23d065(0x174)]||null;let _0x3a8fdf=![];if(_0x47878a)try{const _0x2c492e=a128_0x2d1248[_0x23d065(0x179)](_0x563e35),_0x5baa9e=a128_0x2d1248[_0x23d065(0x179)](_0x47878a);_0x2c492e&&_0x5baa9e&&(_0x3a8fdf=a128_0x2d1248['lt'](_0x2c492e,_0x5baa9e));}catch{_0x3a8fdf=![];}return{'currentVersion':_0x563e35,'stableVersion':_0x47878a,'needsUpgrade':_0x3a8fdf,'isPreRelease':![]};}export function printCliUpgradeWarning(_0x5cdd44){const _0x3207e3=a128_0x5a45;if(!_0x5cdd44[_0x3207e3(0x17e)])return;const _0x49b4f2=_0x3207e3(0x173),_0x5e596f=_0x3207e3(0x17f),_0x448fcc=_0x3207e3(0x16e),_0x4724b7=_0x3207e3(0x16a)+NPM_PACKAGE_NAME+_0x3207e3(0x17d);console['log'](),console[_0x3207e3(0x178)](''+_0x49b4f2+_0x448fcc+_0x3207e3(0x166)+_0x5e596f),console[_0x3207e3(0x178)](_0x49b4f2+_0x3207e3(0x165)+_0x5cdd44['currentVersion']+_0x5e596f),console['log'](_0x49b4f2+'\x20\x20\x20Stable\x20version:\x20'+_0x5cdd44[_0x3207e3(0x174)]+_0x5e596f),console[_0x3207e3(0x178)](_0x49b4f2+_0x3207e3(0x176)+_0x4724b7+_0x5e596f),console[_0x3207e3(0x178)]();}
@@ -1 +1 @@
1
- function a127_0x5182(){const _0x4d4895=['projectConfig','apiDir','values','8HFJOGZ','5154304cAJlcG','env','14JzhZdD','entries','apps','573985BHsGbg','https://g.lovrabet.com/dist/lovrabet-skill','3820bBgMdh','merged','17303BATcDI','12555405purCSZ','6573372HYwOCv','project','map','1685OwRYxt','3446487XleAkR','appcode','object','cookie','defaultApp','keys','length','1718XxKZrx','trim','string','template_base_url','app'];a127_0x5182=function(){return _0x4d4895;};return a127_0x5182();}const a127_0x57471b=a127_0x375e;(function(_0x5fcee,_0x2a3161){const _0x43cfa5=a127_0x375e,_0x3926f8=_0x5fcee();while(!![]){try{const _0xfb9ff7=parseInt(_0x43cfa5(0x18f))/0x1*(parseInt(_0x43cfa5(0x178))/0x2)+parseInt(_0x43cfa5(0x190))/0x3+-parseInt(_0x43cfa5(0x180))/0x4*(parseInt(_0x43cfa5(0x186))/0x5)+-parseInt(_0x43cfa5(0x18c))/0x6+parseInt(_0x43cfa5(0x183))/0x7*(-parseInt(_0x43cfa5(0x181))/0x8)+parseInt(_0x43cfa5(0x18b))/0x9+-parseInt(_0x43cfa5(0x188))/0xa*(parseInt(_0x43cfa5(0x18a))/0xb);if(_0xfb9ff7===_0x2a3161)break;else _0x3926f8['push'](_0x3926f8['shift']());}catch(_0x273678){_0x3926f8['push'](_0x3926f8['shift']());}}}(a127_0x5182,0xbd9df));import{initEnv}from'../constant/env.js';import{readRawConfig,loadRawConfigLayers}from'../context.js';export{getProjectConfigPath,getGlobalConfigPath}from'../context.js';function a127_0x375e(_0x12bcb3,_0x3fc88a){_0x12bcb3=_0x12bcb3-0x172;const _0x5182f0=a127_0x5182();let _0x375ea8=_0x5182f0[_0x12bcb3];return _0x375ea8;}export{isInProject}from'../context.js';export function readConfig(_0x15a20e){const _0x4f47a1=a127_0x375e,_0x4a9089=readRawConfig(_0x15a20e);return _0x4a9089['env']&&typeof _0x4a9089[_0x4f47a1(0x182)]===_0x4f47a1(0x17a)&&initEnv(_0x4a9089[_0x4f47a1(0x182)]),_0x4a9089;}export function getConfigAppCode(){const _0x396dfe=a127_0x375e,_0x475d23=readRawConfig();if(_0x475d23[_0x396dfe(0x185)]&&typeof _0x475d23[_0x396dfe(0x185)]==='object'){const _0x53453d=_0x475d23[_0x396dfe(0x175)];if(_0x53453d&&_0x475d23['apps'][_0x53453d]?.['appcode'])return String(_0x475d23['apps'][_0x53453d][_0x396dfe(0x172)])['trim']();const _0x39d714=Object[_0x396dfe(0x17f)](_0x475d23[_0x396dfe(0x185)])[0x0];if(_0x39d714?.[_0x396dfe(0x172)])return String(_0x39d714['appcode'])[_0x396dfe(0x179)]();}const _0x30d86c=_0x475d23[_0x396dfe(0x172)]||_0x475d23[_0x396dfe(0x17c)];if(typeof _0x30d86c!=='string'||_0x30d86c[_0x396dfe(0x179)]()==='')return undefined;return _0x30d86c[_0x396dfe(0x179)]();}export function getMultiAppConfigs(_0x434871=a127_0x57471b(0x18d)){const _0x566574=a127_0x57471b,_0x1cfe36=_0x434871===_0x566574(0x189)?readRawConfig():loadRawConfigLayers()[_0x566574(0x17d)],_0x3dd428=_0x1cfe36['apps'];if(!_0x3dd428||typeof _0x3dd428!==_0x566574(0x173)||Object[_0x566574(0x176)](_0x3dd428)[_0x566574(0x177)]===0x0)return null;const _0x429c0c=_0x1cfe36[_0x566574(0x175)];return Object[_0x566574(0x184)](_0x3dd428)[_0x566574(0x18e)](([_0x4678ba,_0x20bd75])=>({'name':_0x4678ba,'appcode':_0x20bd75?.[_0x566574(0x172)]||'','isDefault':_0x4678ba===_0x429c0c,'env':_0x20bd75?.['env'],'apiDir':_0x20bd75?.[_0x566574(0x17e)],'cookie':_0x20bd75?.[_0x566574(0x174)]||undefined}))['filter'](_0x2cd2e7=>_0x2cd2e7['appcode']);}export function getTemplateBaseUrl(){const _0x172e6f=a127_0x57471b,_0x2514a0=readRawConfig();if(_0x2514a0['template_base_url']&&typeof _0x2514a0[_0x172e6f(0x17b)]===_0x172e6f(0x17a))return _0x2514a0[_0x172e6f(0x17b)]['replace'](/\/$/,'');return _0x172e6f(0x187);}
1
+ const a129_0x2f63f9=a129_0xe00b;function a129_0xe00b(_0x562bfb,_0x1cdf80){_0x562bfb=_0x562bfb-0xca;const _0x45f0fb=a129_0x45f0();let _0xe00b06=_0x45f0fb[_0x562bfb];return _0xe00b06;}(function(_0x1bd28a,_0x33c5ac){const _0x4ea7b8=a129_0xe00b,_0x5b0def=_0x1bd28a();while(!![]){try{const _0x1b3b7e=parseInt(_0x4ea7b8(0xda))/0x1*(parseInt(_0x4ea7b8(0xcf))/0x2)+-parseInt(_0x4ea7b8(0xce))/0x3+-parseInt(_0x4ea7b8(0xcb))/0x4+-parseInt(_0x4ea7b8(0xd2))/0x5+parseInt(_0x4ea7b8(0xd7))/0x6+parseInt(_0x4ea7b8(0xcc))/0x7+parseInt(_0x4ea7b8(0xdb))/0x8*(-parseInt(_0x4ea7b8(0xe0))/0x9);if(_0x1b3b7e===_0x33c5ac)break;else _0x5b0def['push'](_0x5b0def['shift']());}catch(_0x4cd1e7){_0x5b0def['push'](_0x5b0def['shift']());}}}(a129_0x45f0,0x8efee));import{initEnv}from'../constant/env.js';import{readRawConfig,loadRawConfigLayers}from'../context.js';export{getProjectConfigPath,getGlobalConfigPath}from'../context.js';export{isInProject}from'../context.js';export function readConfig(_0x5f00d3){const _0x1505c7=a129_0xe00b,_0x3a34af=readRawConfig(_0x5f00d3);return _0x3a34af['env']&&typeof _0x3a34af['env']===_0x1505c7(0xe3)&&initEnv(_0x3a34af[_0x1505c7(0xde)]),_0x3a34af;}export function getConfigAppCode(){const _0x1f7128=a129_0xe00b,_0x16a7cb=readRawConfig();if(_0x16a7cb[_0x1f7128(0xe1)]&&typeof _0x16a7cb[_0x1f7128(0xe1)]===_0x1f7128(0xd6)){const _0x2df1b6=_0x16a7cb[_0x1f7128(0xd4)];if(_0x2df1b6&&_0x16a7cb[_0x1f7128(0xe1)][_0x2df1b6]?.[_0x1f7128(0xd5)])return String(_0x16a7cb['apps'][_0x2df1b6][_0x1f7128(0xd5)])[_0x1f7128(0xd1)]();const _0x48e33e=Object[_0x1f7128(0xca)](_0x16a7cb['apps'])[0x0];if(_0x48e33e?.[_0x1f7128(0xd5)])return String(_0x48e33e['appcode'])['trim']();}const _0x1f96d3=_0x16a7cb[_0x1f7128(0xd5)]||_0x16a7cb[_0x1f7128(0xd0)];if(typeof _0x1f96d3!==_0x1f7128(0xe3)||_0x1f96d3['trim']()==='')return undefined;return _0x1f96d3[_0x1f7128(0xd1)]();}export function getMultiAppConfigs(_0x2c076d=a129_0x2f63f9(0xdd)){const _0x309de7=a129_0x2f63f9,_0x56d994=_0x2c076d==='merged'?readRawConfig():loadRawConfigLayers()[_0x309de7(0xd3)],_0x4e1b73=_0x56d994['apps'];if(!_0x4e1b73||typeof _0x4e1b73!==_0x309de7(0xd6)||Object[_0x309de7(0xdc)](_0x4e1b73)[_0x309de7(0xcd)]===0x0)return null;const _0x502e00=_0x56d994['defaultApp'];return Object['entries'](_0x4e1b73)['map'](([_0x56e6c7,_0x286442])=>({'name':_0x56e6c7,'appcode':_0x286442?.[_0x309de7(0xd5)]||'','isDefault':_0x56e6c7===_0x502e00,'env':_0x286442?.['env'],'apiDir':_0x286442?.[_0x309de7(0xd8)],'cookie':_0x286442?.[_0x309de7(0xe2)]||undefined}))[_0x309de7(0xd9)](_0x989720=>_0x989720[_0x309de7(0xd5)]);}function a129_0x45f0(){const _0x395561=['projectConfig','defaultApp','appcode','object','3658866wRnPWX','apiDir','filter','905189NVKueX','136BQtJBr','keys','project','env','template_base_url','23643zKTErg','apps','cookie','string','values','1825688ZOnedF','4701935fkzIXs','length','623787arGyyW','2xYsXMz','app','trim','4459925IKfzQZ'];a129_0x45f0=function(){return _0x395561;};return a129_0x45f0();}export function getTemplateBaseUrl(){const _0x5ab5d4=a129_0x2f63f9,_0x36abe2=readRawConfig();if(_0x36abe2[_0x5ab5d4(0xdf)]&&typeof _0x36abe2[_0x5ab5d4(0xdf)]===_0x5ab5d4(0xe3))return _0x36abe2[_0x5ab5d4(0xdf)]['replace'](/\/$/,'');return'https://g.lovrabet.com/dist/lovrabet-skill';}
@@ -1 +1 @@
1
- function a128_0x256f(){const _0x1645ed=['2979078szBMuc','error','7944490ToZUlj','841244wjqRfL','448378fubtXh','36LCFXSE','复制目录时出错:','isDirectory','3GeWtSj','5338484aYMZtK','30126618CZIWDX','copyFileSync','join','9200944AToAns','mkdirSync','name'];a128_0x256f=function(){return _0x1645ed;};return a128_0x256f();}(function(_0x24ad2b,_0x1cf644){const _0x2117b5=a128_0x3c89,_0x26a7c1=_0x24ad2b();while(!![]){try{const _0xd04900=-parseInt(_0x2117b5(0x1ec))/0x1*(parseInt(_0x2117b5(0x1e7))/0x2)+parseInt(_0x2117b5(0x1e4))/0x3+parseInt(_0x2117b5(0x1ed))/0x4+parseInt(_0x2117b5(0x1e6))/0x5+-parseInt(_0x2117b5(0x1e9))/0x6*(-parseInt(_0x2117b5(0x1e8))/0x7)+parseInt(_0x2117b5(0x1f1))/0x8+-parseInt(_0x2117b5(0x1ee))/0x9;if(_0xd04900===_0x1cf644)break;else _0x26a7c1['push'](_0x26a7c1['shift']());}catch(_0x396c66){_0x26a7c1['push'](_0x26a7c1['shift']());}}}(a128_0x256f,0xcd7f7));function a128_0x3c89(_0x41849f,_0x261a95){_0x41849f=_0x41849f-0x1e3;const _0x256f8b=a128_0x256f();let _0x3c8982=_0x256f8b[_0x41849f];return _0x3c8982;}import a128_0x25cb62 from'node:path';import a128_0x2e88c2 from'node:fs';export async function copyDirectory(_0x689036,_0x44fdc7){const _0x4359dc=a128_0x3c89;try{const _0x29507b=a128_0x2e88c2['readdirSync'](_0x689036,{'withFileTypes':!![]});a128_0x2e88c2[_0x4359dc(0x1f2)](_0x44fdc7,{'recursive':!![]});for(const _0x1dfd46 of _0x29507b){const _0x36709a=a128_0x25cb62[_0x4359dc(0x1f0)](_0x689036,_0x1dfd46[_0x4359dc(0x1e3)]),_0x598a0b=a128_0x25cb62[_0x4359dc(0x1f0)](_0x44fdc7,_0x1dfd46['name']);_0x1dfd46[_0x4359dc(0x1eb)]()?await copyDirectory(_0x36709a,_0x598a0b):a128_0x2e88c2[_0x4359dc(0x1ef)](_0x36709a,_0x598a0b);}}catch(_0x8eac47){console[_0x4359dc(0x1e5)](_0x4359dc(0x1ea),_0x8eac47);}}
1
+ (function(_0xeddd30,_0x10460e){const _0x4748d9=a130_0x1c3a,_0x494d3b=_0xeddd30();while(!![]){try{const _0x50b5e8=-parseInt(_0x4748d9(0x156))/0x1*(-parseInt(_0x4748d9(0x14a))/0x2)+-parseInt(_0x4748d9(0x159))/0x3+-parseInt(_0x4748d9(0x154))/0x4+parseInt(_0x4748d9(0x14c))/0x5*(-parseInt(_0x4748d9(0x152))/0x6)+parseInt(_0x4748d9(0x14f))/0x7*(parseInt(_0x4748d9(0x14e))/0x8)+-parseInt(_0x4748d9(0x14d))/0x9+parseInt(_0x4748d9(0x157))/0xa;if(_0x50b5e8===_0x10460e)break;else _0x494d3b['push'](_0x494d3b['shift']());}catch(_0x4ae4c6){_0x494d3b['push'](_0x494d3b['shift']());}}}(a130_0x3441,0x32a4a));function a130_0x3441(){const _0xc19f96=['1672KXfjAK','2471dkQmkd','copyFileSync','isDirectory','2274LpDzWp','复制目录时出错:','1449904daeZNL','join','2TeBImY','7964330XHKaCi','readdirSync','2043HIozsX','name','230636mJoSTH','mkdirSync','3145ZncXVq','2626776WSVJve'];a130_0x3441=function(){return _0xc19f96;};return a130_0x3441();}import a130_0x3f3fff from'node:path';import a130_0x37f6fd from'node:fs';function a130_0x1c3a(_0x31061d,_0x4e1ea5){_0x31061d=_0x31061d-0x149;const _0x344121=a130_0x3441();let _0x1c3a37=_0x344121[_0x31061d];return _0x1c3a37;}export async function copyDirectory(_0x6b89a8,_0x1b5892){const _0x4bbdf9=a130_0x1c3a;try{const _0x28bba5=a130_0x37f6fd[_0x4bbdf9(0x158)](_0x6b89a8,{'withFileTypes':!![]});a130_0x37f6fd[_0x4bbdf9(0x14b)](_0x1b5892,{'recursive':!![]});for(const _0x2055e0 of _0x28bba5){const _0x41ee98=a130_0x3f3fff[_0x4bbdf9(0x155)](_0x6b89a8,_0x2055e0['name']),_0x294ce1=a130_0x3f3fff[_0x4bbdf9(0x155)](_0x1b5892,_0x2055e0[_0x4bbdf9(0x149)]);_0x2055e0[_0x4bbdf9(0x151)]()?await copyDirectory(_0x41ee98,_0x294ce1):a130_0x37f6fd[_0x4bbdf9(0x150)](_0x41ee98,_0x294ce1);}}catch(_0x1a0af3){console['error'](_0x4bbdf9(0x153),_0x1a0af3);}}