@lovrabet/lovrabet-cli 2.1.22 → 2.1.23-beta.1

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 (133) hide show
  1. package/lib/cli.js +1 -1
  2. package/lib/commands/api-doc/index.js +1 -1
  3. package/lib/commands/app/cache.js +1 -1
  4. package/lib/commands/app/definitions.js +1 -1
  5. package/lib/commands/app/eligibility.js +1 -1
  6. package/lib/commands/app/mock-loader.js +1 -1
  7. package/lib/commands/app/remote-source.js +1 -1
  8. package/lib/commands/app/shared.js +1 -1
  9. package/lib/commands/app-config/get.js +1 -1
  10. package/lib/commands/app-config/index.js +1 -1
  11. package/lib/commands/artifact/index.js +1 -1
  12. package/lib/commands/auth/device.js +1 -1
  13. package/lib/commands/auth/index.js +1 -1
  14. package/lib/commands/auth/prompt.js +1 -1
  15. package/lib/commands/bff/detail.js +1 -1
  16. package/lib/commands/bff/exec.js +1 -1
  17. package/lib/commands/bff/index.js +1 -1
  18. package/lib/commands/cli-skill/index.js +1 -1
  19. package/lib/commands/common/config-policy.js +1 -1
  20. package/lib/commands/common/constraints.js +1 -1
  21. package/lib/commands/common/flags.js +1 -1
  22. package/lib/commands/common/local-file.js +1 -1
  23. package/lib/commands/config/definitions.js +1 -1
  24. package/lib/commands/config/shared.js +1 -1
  25. package/lib/commands/data/index.js +1 -1
  26. package/lib/commands/dataset/detail.js +1 -1
  27. package/lib/commands/dataset/index.js +1 -1
  28. package/lib/commands/dataset/list.js +1 -1
  29. package/lib/commands/dataset/sdk-doc.js +1 -1
  30. package/lib/commands/doctor.js +1 -1
  31. package/lib/commands/file/index.js +1 -1
  32. package/lib/commands/init.js +1 -1
  33. package/lib/commands/kb/index.js +1 -1
  34. package/lib/commands/logs/index.js +1 -1
  35. package/lib/commands/ocr/index.js +1 -1
  36. package/lib/commands/personal-bff/index.js +1 -1
  37. package/lib/commands/registry.js +1 -1
  38. package/lib/commands/schedule/index.js +1 -1
  39. package/lib/commands/schema.js +1 -1
  40. package/lib/commands/service/dynamic.js +1 -1
  41. package/lib/commands/service/function-name-adapter.js +1 -1
  42. package/lib/commands/service/index.js +1 -1
  43. package/lib/commands/service/registry.js +1 -1
  44. package/lib/commands/skill/commands/create.js +1 -1
  45. package/lib/commands/skill/commands/diagram.js +1 -1
  46. package/lib/commands/skill/commands/install.js +1 -1
  47. package/lib/commands/skill/commands/list.js +1 -1
  48. package/lib/commands/skill/commands/push.js +1 -1
  49. package/lib/commands/skill/commands/validate.js +1 -1
  50. package/lib/commands/skill/diagram.js +1 -1
  51. package/lib/commands/skill/flags.js +1 -1
  52. package/lib/commands/skill/index.js +1 -1
  53. package/lib/commands/skill/manifest-helpers.js +1 -1
  54. package/lib/commands/skill/push-execute.js +1 -1
  55. package/lib/commands/skill/push-flow-helpers.js +1 -1
  56. package/lib/commands/skill/push-retarget.js +1 -1
  57. package/lib/commands/skill/scopes.js +1 -1
  58. package/lib/commands/skill/summary.js +1 -1
  59. package/lib/commands/skill/templates.js +1 -1
  60. package/lib/commands/skill/validate.js +1 -1
  61. package/lib/commands/sql/detail.js +1 -1
  62. package/lib/commands/sql/exec.js +1 -1
  63. package/lib/commands/sql/index.js +1 -1
  64. package/lib/commands/update.js +1 -1
  65. package/lib/commands/workspace/index.js +1 -1
  66. package/lib/config/schema.js +1 -1
  67. package/lib/constant/app.js +1 -1
  68. package/lib/constant/auth-mode.js +1 -1
  69. package/lib/constant/cli.js +1 -1
  70. package/lib/constant/defaults.js +1 -1
  71. package/lib/constant/distribution.js +1 -1
  72. package/lib/constant/domain.js +1 -1
  73. package/lib/constant/env.js +1 -1
  74. package/lib/constant/output.js +1 -1
  75. package/lib/constant/product.js +1 -1
  76. package/lib/constant/risk.js +1 -1
  77. package/lib/constant/url.js +1 -1
  78. package/lib/context.js +1 -1
  79. package/lib/core/api-client.js +1 -1
  80. package/lib/core/db-resolver.js +1 -1
  81. package/lib/core/sdk-client.js +1 -1
  82. package/lib/errors.js +1 -1
  83. package/lib/framework/build-all-flags.js +1 -1
  84. package/lib/framework/dryrun.js +1 -1
  85. package/lib/framework/flags.js +1 -1
  86. package/lib/framework/help.js +1 -1
  87. package/lib/framework/index.js +1 -1
  88. package/lib/framework/output.js +1 -1
  89. package/lib/framework/preparse.js +1 -1
  90. package/lib/framework/rate-limit.js +1 -1
  91. package/lib/framework/raw-flags.js +1 -1
  92. package/lib/framework/response.js +1 -1
  93. package/lib/framework/runner-confirmation.js +1 -1
  94. package/lib/framework/runner-error.js +1 -1
  95. package/lib/framework/runner.js +1 -1
  96. package/lib/framework/schema-export.js +1 -1
  97. package/lib/framework/service-order.js +1 -1
  98. package/lib/framework/types.js +1 -1
  99. package/lib/generated/build-info.d.ts +4 -4
  100. package/lib/generated/build-info.js +1 -1
  101. package/lib/help.js +1 -1
  102. package/lib/runtime/confirmation.js +1 -1
  103. package/lib/runtime/event.js +1 -1
  104. package/lib/runtime/index.d.ts +1 -1
  105. package/lib/runtime/index.js +1 -1
  106. package/lib/runtime/queue.d.ts +2 -1
  107. package/lib/runtime/queue.js +1 -1
  108. package/lib/runtime/resolve.js +1 -1
  109. package/lib/skills/npx-skills-add.js +1 -1
  110. package/lib/skills/runtime-skill-sync/constants.js +1 -1
  111. package/lib/skills/runtime-skill-sync/fs-utils.js +1 -1
  112. package/lib/skills/runtime-skill-sync/hashing.js +1 -1
  113. package/lib/skills/runtime-skill-sync/install-target.js +1 -1
  114. package/lib/skills/runtime-skill-sync/links.js +1 -1
  115. package/lib/skills/runtime-skill-sync/list-local.js +1 -1
  116. package/lib/skills/runtime-skill-sync/local-files.js +1 -1
  117. package/lib/skills/runtime-skill-sync/materialize.js +1 -1
  118. package/lib/skills/runtime-skill-sync/metadata.js +1 -1
  119. package/lib/skills/runtime-skill-sync/paths.js +1 -1
  120. package/lib/skills/runtime-skill-sync/push.js +1 -1
  121. package/lib/skills/runtime-skill-sync/scopes.js +1 -1
  122. package/lib/skills/runtime-skill-sync/zip-codec.js +1 -1
  123. package/lib/skills/runtime-skill-sync/zip-package.js +1 -1
  124. package/lib/skills/runtime-skill-sync.js +1 -1
  125. package/lib/utils/apply-jq-filter.js +1 -1
  126. package/lib/utils/logger.js +1 -1
  127. package/lib/utils/lossless-json.js +1 -1
  128. package/lib/utils/params.js +1 -1
  129. package/lib/utils/platform.js +1 -1
  130. package/lib/utils/update-notice.js +1 -1
  131. package/lib/utils/version.js +1 -1
  132. package/lib/utils/write-cli-side-channel.js +1 -1
  133. package/package.json +1 -1
@@ -1 +1 @@
1
- function a64_0x5894(){const _0x7b3bca=['Compatibility\x20flag;\x20workspace\x20config\x20updates\x20are\x20non-interactive','57HSFxSA','Target\x20environment','1490363OvcOIS','boolean','env','length','\x22.\x20Allowed:\x20','appName','App\x20name\x20to\x20bind\x20as\x20the\x20current\x20workspace\x20default','isArray','defaultApp','12zvpYVa','\x0aEnv:\x20','workspace','为当前工作目录初始化应用上下文','为当前工作目录设置应用上下文','241828pWkDlE','App\x20\x22','app','\x20--appcode\x20<code>\x20[--env\x20daily]','string','Missing\x20workspace\x20app\x20selector.','filter','180QTlIBN','16xDSCwg','appcode','project','20djHcog','\x0aDefault\x20app:\x20','41702iTXNxO','from','yes','authRequired','items','../../core/api-client.js','shouldWriteEnv','120335MvIiSr','trim','Resolving\x20--app\x20requires\x20accessKey.\x20Pass\x20--appcode\x20directly,\x20or\x20set\x20accessKey\x20before\x20running\x20','envName','init','Available\x20apps:\x20','1750311rAkFQw','use','\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20pass\x20--appcode\x20directly.','includes','validation','apps','map','36KUteSJ','\x20workspace\x20','str','workspace\x20','\x20--app\x20<name>\x20[--env\x20daily]\x20or\x20','accessKey','write','App\x20code\x20to\x20bind\x20directly','2488024zPBWjF','object','Workspace\x20configured.\x0aConfig\x20file:\x20','36982361JOXZNX','Run\x20`'];a64_0x5894=function(){return _0x7b3bca;};return a64_0x5894();}const a64_0x2bf25c=a64_0x365c;(function(_0xefb50,_0x45c768){const _0x2b7d4b=a64_0x365c,_0x4dc16a=_0xefb50();while(!![]){try{const _0x1105ae=-parseInt(_0x2b7d4b(0x10c))/0x1*(parseInt(_0x2b7d4b(0x137))/0x2)+-parseInt(_0x2b7d4b(0x11a))/0x3*(parseInt(_0x2b7d4b(0x12a))/0x4)+parseInt(_0x2b7d4b(0x13e))/0x5*(parseInt(_0x2b7d4b(0x131))/0x6)+-parseInt(_0x2b7d4b(0x11c))/0x7+parseInt(_0x2b7d4b(0x132))/0x8*(-parseInt(_0x2b7d4b(0x144))/0x9)+parseInt(_0x2b7d4b(0x135))/0xa*(-parseInt(_0x2b7d4b(0x114))/0xb)+parseInt(_0x2b7d4b(0x125))/0xc*(parseInt(_0x2b7d4b(0x117))/0xd);if(_0x1105ae===_0x45c768)break;else _0x4dc16a['push'](_0x4dc16a['shift']());}catch(_0x389be6){_0x4dc16a['push'](_0x4dc16a['shift']());}}}(a64_0x5894,0x95b85));import{CLI_BIN_NAME}from'../../constant/cli.js';import{DEFAULT_CONFIG_VALUES}from'../../constant/defaults.js';import{RUNTIME_ENV_VALUES}from'../../constant/env.js';import{CliErrors}from'../../errors.js';import{readConfigFile,resolveWriteConfigPath,writeConfigFile}from'../../context.js';import{findAppByName,isRuntimeAccessibleApp,runtimeInaccessibleAppError}from'../../commands/app/eligibility.js';const WORKSPACE_USE_FLAGS=[{'name':'app','type':a64_0x2bf25c(0x12e),'description':a64_0x2bf25c(0x122)},{'name':a64_0x2bf25c(0x133),'type':a64_0x2bf25c(0x12e),'description':a64_0x2bf25c(0x113)},{'name':a64_0x2bf25c(0x11e),'type':'string','description':a64_0x2bf25c(0x11b),'enum':[...RUNTIME_ENV_VALUES]},{'name':a64_0x2bf25c(0x139),'type':a64_0x2bf25c(0x11d),'description':a64_0x2bf25c(0x119),'default':![]}];async function executeWorkspaceUse(_0x2df4a2,_0x234940){const _0x29b3c6=a64_0x2bf25c,_0x4b0909=_0x2df4a2['str'](_0x29b3c6(0x12c))[_0x29b3c6(0x13f)](),_0x1b358a=_0x2df4a2[_0x29b3c6(0x10e)](_0x29b3c6(0x133))['trim'](),_0x2f091a=_0x2df4a2[_0x29b3c6(0x10e)](_0x29b3c6(0x11e))[_0x29b3c6(0x13f)](),_0x21b67e=resolveWorkspaceEnv(_0x2f091a||_0x2df4a2[_0x29b3c6(0x141)]||DEFAULT_CONFIG_VALUES[_0x29b3c6(0x11e)]);if(!_0x4b0909&&!_0x1b358a)throw CliErrors[_0x29b3c6(0x148)](_0x29b3c6(0x12f),'Usage:\x20'+CLI_BIN_NAME+_0x29b3c6(0x10d)+_0x234940+_0x29b3c6(0x110)+CLI_BIN_NAME+'\x20workspace\x20'+_0x234940+_0x29b3c6(0x12d));const _0x2a7b45=_0x1b358a||await resolveRemoteAppCode({'command':_0x234940,'appName':_0x4b0909,'env':_0x21b67e,'accessKey':_0x2df4a2['accessKey']}),_0x1bcfd1=writeWorkspaceConfig({'command':_0x234940,'appName':_0x4b0909,'appcode':_0x2a7b45,'env':_0x21b67e,'shouldWriteEnv':!!_0x2f091a,'accessKey':_0x2df4a2[_0x29b3c6(0x111)]});return{'ok':!![],'data':{'configPath':_0x1bcfd1,'app':_0x4b0909||null,'appcode':_0x2a7b45,'env':_0x2f091a?_0x21b67e:null,'accessKeyWritten':![],'command':_0x29b3c6(0x10f)+_0x234940},'message':buildWorkspaceMessage(_0x1bcfd1,_0x4b0909,_0x2a7b45,_0x2f091a?_0x21b67e:undefined)};}async function resolveRemoteAppCode(_0x4e7c74){const _0xc52688=a64_0x2bf25c;if(!_0x4e7c74[_0xc52688(0x111)])throw CliErrors[_0xc52688(0x13a)](_0xc52688(0x140)+CLI_BIN_NAME+_0xc52688(0x10d)+_0x4e7c74['command']+'.');const {setActiveAK:_0x40ebd2}=await import(_0xc52688(0x13c)),{getRemoteAppList:_0x3b2824}=await import('../../commands/app/remote-source.js');_0x40ebd2(_0x4e7c74['accessKey']);const _0x48af60=await _0x3b2824({'env':_0x4e7c74['env'],'accessKey':_0x4e7c74[_0xc52688(0x111)],'noCache':![]}),_0x193b24=findAppByName(_0x48af60[_0xc52688(0x13b)],_0x4e7c74['appName']);if(_0x193b24&&!isRuntimeAccessibleApp(_0x193b24))throw runtimeInaccessibleAppError(_0x193b24,'\x22'+_0x4e7c74['appName']+'\x22');const _0x337208=_0x193b24?.['appCode']?.['trim']();if(_0x337208)return _0x337208;const _0x253716=_0x48af60[_0xc52688(0x13b)][_0xc52688(0x10b)](_0x1b669b=>_0x1b669b['appName'])[_0xc52688(0x130)](Boolean),_0x5d8767=_0x253716[_0xc52688(0x11f)]?_0xc52688(0x143)+Array[_0xc52688(0x138)](new Set(_0x253716))['join'](',\x20')+'.':_0xc52688(0x118)+CLI_BIN_NAME+_0xc52688(0x146);throw CliErrors[_0xc52688(0x148)](_0xc52688(0x12b)+_0x4e7c74['appName']+'\x22\x20not\x20found.',_0x5d8767);}function writeWorkspaceConfig(_0x10b31a){const _0x4b3cdd=a64_0x2bf25c,_0x3239a5=resolveWriteConfigPath(_0x4b3cdd(0x134)),_0x76b7e1=readConfigFile(_0x3239a5);_0x10b31a[_0x4b3cdd(0x13d)]&&(_0x76b7e1['env']=_0x10b31a[_0x4b3cdd(0x11e)]);if(_0x10b31a[_0x4b3cdd(0x121)]){const _0x354d66=isRecord(_0x76b7e1[_0x4b3cdd(0x10a)])?{..._0x76b7e1[_0x4b3cdd(0x10a)]}:{},_0x59125f=isRecord(_0x354d66[_0x10b31a['appName']])?_0x354d66[_0x10b31a[_0x4b3cdd(0x121)]]:{};_0x354d66[_0x10b31a['appName']]={..._0x59125f,'appcode':_0x10b31a[_0x4b3cdd(0x133)]},_0x76b7e1[_0x4b3cdd(0x10a)]=_0x354d66,_0x76b7e1[_0x4b3cdd(0x124)]=_0x10b31a[_0x4b3cdd(0x121)];if(_0x76b7e1['app'])delete _0x76b7e1[_0x4b3cdd(0x12c)];return writeAndReturn(_0x3239a5,_0x76b7e1);}_0x76b7e1[_0x4b3cdd(0x133)]=_0x10b31a[_0x4b3cdd(0x133)];if(_0x76b7e1[_0x4b3cdd(0x12c)])delete _0x76b7e1[_0x4b3cdd(0x12c)];return writeAndReturn(_0x3239a5,_0x76b7e1);}function writeAndReturn(_0x5706ec,_0x51c202){return writeConfigFile(_0x5706ec,_0x51c202),_0x5706ec;}function resolveWorkspaceEnv(_0x2e94c9){const _0x51d962=a64_0x2bf25c;if(RUNTIME_ENV_VALUES[_0x51d962(0x147)](_0x2e94c9))return _0x2e94c9;throw CliErrors[_0x51d962(0x148)]('Invalid\x20env\x20\x22'+_0x2e94c9+_0x51d962(0x120)+RUNTIME_ENV_VALUES['join'](',\x20'));}function a64_0x365c(_0x1468bb,_0xf7951){_0x1468bb=_0x1468bb-0x10a;const _0x58948a=a64_0x5894();let _0x365c94=_0x58948a[_0x1468bb];return _0x365c94;}function buildWorkspaceMessage(_0x9e048b,_0x1c3785,_0x340214,_0x43cfab){const _0x435d3b=a64_0x2bf25c,_0x3191e4=_0x1c3785?_0x1c3785+'\x20('+_0x340214+')':_0x340214,_0x595106=_0x43cfab?_0x435d3b(0x126)+_0x43cfab:'';return _0x435d3b(0x116)+_0x9e048b+_0x435d3b(0x136)+_0x3191e4+_0x595106+'\x0aAccessKey:\x20not\x20written';}function isRecord(_0x57c36d){const _0x5b748b=a64_0x2bf25c;return typeof _0x57c36d===_0x5b748b(0x115)&&_0x57c36d!==null&&!Array[_0x5b748b(0x123)](_0x57c36d);}function makeWorkspaceCommand(_0x4c8540){const _0x5e6e2c=a64_0x2bf25c;return{'service':_0x5e6e2c(0x127),'command':_0x4c8540,'description':_0x4c8540===_0x5e6e2c(0x142)?_0x5e6e2c(0x128):_0x5e6e2c(0x129),'risk':_0x5e6e2c(0x112),'confirmationDescription':_0x4c8540==='init'?'将在当前工作目录写入\x20Lovrabet\x20项目配置,并把所选应用设为该目录的默认应用;不会写入\x20AccessKey。':'将更新当前工作目录的\x20Lovrabet\x20项目配置,并把所选应用设为该目录的默认应用;不会写入\x20AccessKey。','requiresAuth':![],'requiresAppCode':![],'hasFormat':!![],'flags':WORKSPACE_USE_FLAGS,async 'execute'(_0x31cebe){return executeWorkspaceUse(_0x31cebe,_0x4c8540);}};}export const workspaceDefinitions=[makeWorkspaceCommand(a64_0x2bf25c(0x142)),makeWorkspaceCommand(a64_0x2bf25c(0x145))];
1
+ const a64_0x69be76=a64_0x4cb3;(function(_0x440a0a,_0x4b8dda){const _0x121763=a64_0x4cb3,_0x20003e=_0x440a0a();while(!![]){try{const _0x1c9dcf=-parseInt(_0x121763(0x1d4))/0x1+parseInt(_0x121763(0x1f6))/0x2+parseInt(_0x121763(0x1f8))/0x3+parseInt(_0x121763(0x1f3))/0x4*(parseInt(_0x121763(0x1d8))/0x5)+parseInt(_0x121763(0x205))/0x6*(parseInt(_0x121763(0x1e1))/0x7)+parseInt(_0x121763(0x208))/0x8+parseInt(_0x121763(0x1d9))/0x9*(-parseInt(_0x121763(0x1d2))/0xa);if(_0x1c9dcf===_0x4b8dda)break;else _0x20003e['push'](_0x20003e['shift']());}catch(_0x52b450){_0x20003e['push'](_0x20003e['shift']());}}}(a64_0x2c5a,0xd2144));function a64_0x4cb3(_0x2e566d,_0x1007bd){_0x2e566d=_0x2e566d-0x1d1;const _0x2c5ae6=a64_0x2c5a();let _0x4cb3db=_0x2c5ae6[_0x2e566d];return _0x4cb3db;}import{CLI_BIN_NAME}from'../../constant/cli.js';import{DEFAULT_CONFIG_VALUES}from'../../constant/defaults.js';import{RUNTIME_ENV_VALUES}from'../../constant/env.js';import{CliErrors}from'../../errors.js';import{readConfigFile,resolveWriteConfigPath,writeConfigFile}from'../../context.js';import{findAppByName,isRuntimeAccessibleApp,runtimeInaccessibleAppError}from'../../commands/app/eligibility.js';const WORKSPACE_USE_FLAGS=[{'name':a64_0x69be76(0x20c),'type':a64_0x69be76(0x1f2),'description':a64_0x69be76(0x1ec)},{'name':a64_0x69be76(0x204),'type':a64_0x69be76(0x1f2),'description':a64_0x69be76(0x1f1)},{'name':a64_0x69be76(0x1fd),'type':a64_0x69be76(0x1f2),'description':a64_0x69be76(0x1e3),'enum':[...RUNTIME_ENV_VALUES]},{'name':a64_0x69be76(0x1f0),'type':'boolean','description':a64_0x69be76(0x1ff),'default':![]}];async function executeWorkspaceUse(_0x238182,_0x1b27fe){const _0x9c660c=a64_0x69be76,_0x581787=_0x238182[_0x9c660c(0x209)](_0x9c660c(0x20c))[_0x9c660c(0x1d7)](),_0x28a53c=_0x238182[_0x9c660c(0x209)](_0x9c660c(0x204))[_0x9c660c(0x1d7)](),_0x140462=_0x238182[_0x9c660c(0x209)](_0x9c660c(0x1fd))[_0x9c660c(0x1d7)](),_0x4274c0=resolveWorkspaceEnv(_0x140462||_0x238182[_0x9c660c(0x1ee)]||DEFAULT_CONFIG_VALUES[_0x9c660c(0x1fd)]);if(!_0x581787&&!_0x28a53c)throw CliErrors[_0x9c660c(0x1e8)](_0x9c660c(0x200),'Usage:\x20'+CLI_BIN_NAME+_0x9c660c(0x1fe)+_0x1b27fe+_0x9c660c(0x20a)+CLI_BIN_NAME+_0x9c660c(0x1fe)+_0x1b27fe+_0x9c660c(0x20b));const _0x2b831e=_0x28a53c||await resolveRemoteAppCode({'command':_0x1b27fe,'appName':_0x581787,'env':_0x4274c0,'accessKey':_0x238182[_0x9c660c(0x20e)]}),_0xc306d3=writeWorkspaceConfig({'command':_0x1b27fe,'appName':_0x581787,'appcode':_0x2b831e,'env':_0x4274c0,'shouldWriteEnv':!!_0x140462,'accessKey':_0x238182[_0x9c660c(0x20e)]});return{'ok':!![],'data':{'configPath':_0xc306d3,'app':_0x581787||null,'appcode':_0x2b831e,'env':_0x140462?_0x4274c0:null,'accessKeyWritten':![],'command':_0x9c660c(0x1d3)+_0x1b27fe},'message':buildWorkspaceMessage(_0xc306d3,_0x581787,_0x2b831e,_0x140462?_0x4274c0:undefined)};}async function resolveRemoteAppCode(_0xc04331){const _0x3cd80a=a64_0x69be76;if(!_0xc04331[_0x3cd80a(0x20e)])throw CliErrors[_0x3cd80a(0x1e6)](_0x3cd80a(0x203)+CLI_BIN_NAME+'\x20workspace\x20'+_0xc04331[_0x3cd80a(0x1e7)]+'.');const {setActiveAK:_0x3fa38a}=await import(_0x3cd80a(0x20d)),{getRemoteAppList:_0x20abc8}=await import(_0x3cd80a(0x1dc));_0x3fa38a(_0xc04331[_0x3cd80a(0x20e)]);const _0xb0408a=await _0x20abc8({'env':_0xc04331[_0x3cd80a(0x1fd)],'accessKey':_0xc04331[_0x3cd80a(0x20e)],'noCache':![]}),_0x54aad3=findAppByName(_0xb0408a['items'],_0xc04331[_0x3cd80a(0x1df)]);if(_0x54aad3&&!isRuntimeAccessibleApp(_0x54aad3))throw runtimeInaccessibleAppError(_0x54aad3,'\x22'+_0xc04331[_0x3cd80a(0x1df)]+'\x22');const _0x38bd8e=_0x54aad3?.[_0x3cd80a(0x1d5)]?.['trim']();if(_0x38bd8e)return _0x38bd8e;const _0x31af16=_0xb0408a[_0x3cd80a(0x1eb)][_0x3cd80a(0x1f5)](_0x40bf07=>_0x40bf07[_0x3cd80a(0x1df)])[_0x3cd80a(0x206)](Boolean),_0x30b922=_0x31af16[_0x3cd80a(0x1ef)]?_0x3cd80a(0x1e2)+Array['from'](new Set(_0x31af16))[_0x3cd80a(0x1f9)](',\x20')+'.':_0x3cd80a(0x1de)+CLI_BIN_NAME+_0x3cd80a(0x1f7);throw CliErrors[_0x3cd80a(0x1e8)]('App\x20\x22'+_0xc04331[_0x3cd80a(0x1df)]+_0x3cd80a(0x207),_0x30b922);}function writeWorkspaceConfig(_0x53e420){const _0x3c1564=a64_0x69be76,_0x532bd3=resolveWriteConfigPath(_0x3c1564(0x1ea)),_0x6c08c4=readConfigFile(_0x532bd3);_0x53e420[_0x3c1564(0x1ed)]&&(_0x6c08c4[_0x3c1564(0x1fd)]=_0x53e420[_0x3c1564(0x1fd)]);if(_0x53e420['appName']){const _0x2dfe38=isRecord(_0x6c08c4[_0x3c1564(0x1fa)])?{..._0x6c08c4[_0x3c1564(0x1fa)]}:{},_0x56c886=isRecord(_0x2dfe38[_0x53e420[_0x3c1564(0x1df)]])?_0x2dfe38[_0x53e420[_0x3c1564(0x1df)]]:{};_0x2dfe38[_0x53e420[_0x3c1564(0x1df)]]={..._0x56c886,'appcode':_0x53e420[_0x3c1564(0x204)]},_0x6c08c4[_0x3c1564(0x1fa)]=_0x2dfe38,_0x6c08c4[_0x3c1564(0x1d1)]=_0x53e420[_0x3c1564(0x1df)];if(_0x6c08c4[_0x3c1564(0x20c)])delete _0x6c08c4['app'];return writeAndReturn(_0x532bd3,_0x6c08c4);}_0x6c08c4[_0x3c1564(0x204)]=_0x53e420[_0x3c1564(0x204)];if(_0x6c08c4['app'])delete _0x6c08c4[_0x3c1564(0x20c)];return writeAndReturn(_0x532bd3,_0x6c08c4);}function writeAndReturn(_0x1f7f75,_0x448598){return writeConfigFile(_0x1f7f75,_0x448598),_0x1f7f75;}function a64_0x2c5a(){const _0x25425e=['yes','App\x20code\x20to\x20bind\x20directly','string','556USibxa','为当前工作目录初始化应用上下文','map','530648CfqraS','\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20pass\x20--appcode\x20directly.','284958ohFpKR','join','apps','\x0aEnv:\x20','includes','env','\x20workspace\x20','Compatibility\x20flag;\x20workspace\x20config\x20updates\x20are\x20non-interactive','Missing\x20workspace\x20app\x20selector.','为当前工作目录设置应用上下文','Workspace\x20configured.\x0aConfig\x20file:\x20','Resolving\x20--app\x20requires\x20accessKey.\x20Pass\x20--appcode\x20directly,\x20or\x20set\x20accessKey\x20before\x20running\x20','appcode','228ezaqWx','filter','\x22\x20not\x20found.','7269688Lwolmr','str','\x20--app\x20<name>\x20[--env\x20daily]\x20or\x20','\x20--appcode\x20<code>\x20[--env\x20daily]','app','../../core/api-client.js','accessKey','defaultApp','779830UYympF','workspace\x20','601973QVlbpj','appCode','use','trim','61395oaZsCb','189gBCZSb','\x0aAccessKey:\x20not\x20written','init','../../commands/app/remote-source.js','\x22.\x20Allowed:\x20','Run\x20`','appName','isArray','22897DOfieF','Available\x20apps:\x20','Target\x20environment','Invalid\x20env\x20\x22','object','authRequired','command','validation','将更新当前工作目录的\x20Lovrabet\x20项目配置,并把所选应用设为该目录的默认应用;不会写入\x20AccessKey。','project','items','App\x20name\x20to\x20bind\x20as\x20the\x20current\x20workspace\x20default','shouldWriteEnv','envName','length'];a64_0x2c5a=function(){return _0x25425e;};return a64_0x2c5a();}function resolveWorkspaceEnv(_0x96e27b){const _0x502abe=a64_0x69be76;if(RUNTIME_ENV_VALUES[_0x502abe(0x1fc)](_0x96e27b))return _0x96e27b;throw CliErrors[_0x502abe(0x1e8)](_0x502abe(0x1e4)+_0x96e27b+_0x502abe(0x1dd)+RUNTIME_ENV_VALUES[_0x502abe(0x1f9)](',\x20'));}function buildWorkspaceMessage(_0x175e94,_0x36dc8b,_0x311a17,_0x14a62e){const _0x26f311=a64_0x69be76,_0x5e3529=_0x36dc8b?_0x36dc8b+'\x20('+_0x311a17+')':_0x311a17,_0x59c827=_0x14a62e?_0x26f311(0x1fb)+_0x14a62e:'';return _0x26f311(0x202)+_0x175e94+'\x0aDefault\x20app:\x20'+_0x5e3529+_0x59c827+_0x26f311(0x1da);}function isRecord(_0x57cf51){const _0x115648=a64_0x69be76;return typeof _0x57cf51===_0x115648(0x1e5)&&_0x57cf51!==null&&!Array[_0x115648(0x1e0)](_0x57cf51);}function makeWorkspaceCommand(_0x166cf1){const _0xbc70f=a64_0x69be76;return{'service':'workspace','command':_0x166cf1,'description':_0x166cf1===_0xbc70f(0x1db)?_0xbc70f(0x1f4):_0xbc70f(0x201),'risk':'write','confirmationDescription':_0x166cf1===_0xbc70f(0x1db)?'将在当前工作目录写入\x20Lovrabet\x20项目配置,并把所选应用设为该目录的默认应用;不会写入\x20AccessKey。':_0xbc70f(0x1e9),'requiresAuth':![],'requiresAppCode':![],'hasFormat':!![],'flags':WORKSPACE_USE_FLAGS,async 'execute'(_0x2ca79a){return executeWorkspaceUse(_0x2ca79a,_0x166cf1);}};}export const workspaceDefinitions=[makeWorkspaceCommand(a64_0x69be76(0x1db)),makeWorkspaceCommand(a64_0x69be76(0x1d6))];
@@ -1 +1 @@
1
- const a65_0x37efc4=a65_0x4e2a;(function(_0x2ac1d7,_0x3e8746){const _0x91e6a0=a65_0x4e2a,_0x319cff=_0x2ac1d7();while(!![]){try{const _0x2628a4=-parseInt(_0x91e6a0(0x152))/0x1*(parseInt(_0x91e6a0(0x141))/0x2)+parseInt(_0x91e6a0(0x145))/0x3+-parseInt(_0x91e6a0(0x157))/0x4+parseInt(_0x91e6a0(0x150))/0x5+-parseInt(_0x91e6a0(0x158))/0x6+-parseInt(_0x91e6a0(0x14e))/0x7*(-parseInt(_0x91e6a0(0x14f))/0x8)+-parseInt(_0x91e6a0(0x13a))/0x9*(-parseInt(_0x91e6a0(0x13c))/0xa);if(_0x2628a4===_0x3e8746)break;else _0x319cff['push'](_0x319cff['shift']());}catch(_0x32018b){_0x319cff['push'](_0x319cff['shift']());}}}(a65_0xe5b6,0x53c85));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{RUNTIME_ENV_VALUES}from'../constant/env.js';import{OUTPUT_FORMAT_VALUES}from'../constant/output.js';export const CONFIG_FIELD_SCHEMAS={'env':{'description':a65_0x37efc4(0x13e),'topLevel':!![],'cliSettableTopLevel':!![],'enumValues':RUNTIME_ENV_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES['env'],'importable':!![]},'format':{'description':a65_0x37efc4(0x149),'topLevel':!![],'cliSettableTopLevel':!![],'enumValues':OUTPUT_FORMAT_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES['format'],'importable':!![]},'pageSize':{'description':a65_0x37efc4(0x147),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'apiDomain':{'description':a65_0x37efc4(0x13b),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'userDomain':{'description':a65_0x37efc4(0x143),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'runtimeDomain':{'description':a65_0x37efc4(0x154),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'skillHubDomain':{'description':a65_0x37efc4(0x14d),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'accessKey':{'description':'Access\x20key\x20(client-ak\x20auth)','topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'riskLevel':{'description':a65_0x37efc4(0x142),'topLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES[a65_0x37efc4(0x14a)],'importable':!![]},'locale':{'description':'Locale','topLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES[a65_0x37efc4(0x146)],'importable':!![],'legacyCompatOnly':!![]}};export const TOP_LEVEL_CONFIG_KEYS=new Set(Object[a65_0x37efc4(0x140)](CONFIG_FIELD_SCHEMAS)[a65_0x37efc4(0x139)](([,_0x561922])=>_0x561922[a65_0x37efc4(0x14c)])['map'](([_0x28a678])=>_0x28a678));export const CONFIG_ENUM_VALUES=Object[a65_0x37efc4(0x153)](Object[a65_0x37efc4(0x140)](CONFIG_FIELD_SCHEMAS)[a65_0x37efc4(0x139)](([,_0x5c8d55])=>_0x5c8d55['enumValues'])[a65_0x37efc4(0x148)](([_0x57c0e2,_0x3026af])=>[_0x57c0e2,[..._0x3026af[a65_0x37efc4(0x14b)]||[]]]));function a65_0xe5b6(){const _0x2cc360=['Default\x20output\x20format','riskLevel','enumValues','cliSettableTopLevel','Override\x20SkillHub\x20domain','98uaOSnM','56896svYelq','1926830guFmED','has','1ksSNTK','fromEntries','Override\x20runtime\x20domain',';\x20local\x20alias:\x20apps.<alias>.appcode','Config\x20key.\x20Top-level:\x20','1751112nbslcL','1910604qhoyna','filter','9APHnHU','Override\x20API\x20domain','11228710kYtuNk','defaultValue','Target\x20environment','join','entries','1347530YEQTiO','Risk\x20level','Override\x20user\x20domain','legacyCompatOnly','496035MrAoNR','locale','Default\x20page\x20size','map'];a65_0xe5b6=function(){return _0x2cc360;};return a65_0xe5b6();}export const IMPORTABLE_RUNTIME_CONFIG_KEYS=Object[a65_0x37efc4(0x140)](CONFIG_FIELD_SCHEMAS)[a65_0x37efc4(0x139)](([,_0x20a900])=>_0x20a900['importable'])['map'](([_0x149f12])=>_0x149f12);export function getConfigFieldSchema(_0x589b53){return CONFIG_FIELD_SCHEMAS[_0x589b53];}function a65_0x4e2a(_0x22fc28,_0x1d51d5){_0x22fc28=_0x22fc28-0x139;const _0xe5b631=a65_0xe5b6();let _0x4e2a64=_0xe5b631[_0x22fc28];return _0x4e2a64;}export function getConfigEnumValues(_0x3113a6){return getConfigFieldSchema(_0x3113a6)?.['enumValues'];}export function getConfigDefaultValue(_0x5710f9){const _0x39e807=a65_0x37efc4;return getConfigFieldSchema(_0x5710f9)?.[_0x39e807(0x13d)];}export function isTopLevelConfigKey(_0x504f32){const _0xbd7f3b=a65_0x37efc4;return TOP_LEVEL_CONFIG_KEYS[_0xbd7f3b(0x151)](_0x504f32);}export function isLegacyCompatConfigKey(_0x2dd100){const _0x1e950e=a65_0x37efc4;return getConfigFieldSchema(_0x2dd100)?.[_0x1e950e(0x144)]===!![];}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function formatConfigKeyList(_0x47024b){const _0x45a10a=a65_0x37efc4;return[..._0x47024b][_0x45a10a(0x13f)](',\x20');}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x5a5c54=a65_0x37efc4;return _0x5a5c54(0x156)+getTopLevelConfigKeySummary()+_0x5a5c54(0x155);}export function buildAppProfileListFields(_0x15ad43){return{'env':_0x15ad43,'hasAccessKey':![],'format':null,'pageSize':null,'riskLevel':null,'locale':null};}
1
+ const a65_0x278b2d=a65_0x5359;(function(_0x41a41f,_0x4c6376){const _0x5c1be5=a65_0x5359,_0x2a1d29=_0x41a41f();while(!![]){try{const _0x4745de=parseInt(_0x5c1be5(0x1d9))/0x1+parseInt(_0x5c1be5(0x1d8))/0x2+parseInt(_0x5c1be5(0x1c5))/0x3*(-parseInt(_0x5c1be5(0x1c1))/0x4)+parseInt(_0x5c1be5(0x1d1))/0x5*(-parseInt(_0x5c1be5(0x1dc))/0x6)+parseInt(_0x5c1be5(0x1cc))/0x7*(parseInt(_0x5c1be5(0x1c8))/0x8)+parseInt(_0x5c1be5(0x1cf))/0x9+-parseInt(_0x5c1be5(0x1d2))/0xa;if(_0x4745de===_0x4c6376)break;else _0x2a1d29['push'](_0x2a1d29['shift']());}catch(_0x54ac20){_0x2a1d29['push'](_0x2a1d29['shift']());}}}(a65_0x34aa,0x3cb80));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{RUNTIME_ENV_VALUES}from'../constant/env.js';import{OUTPUT_FORMAT_VALUES}from'../constant/output.js';function a65_0x5359(_0x8e3eca,_0x120743){_0x8e3eca=_0x8e3eca-0x1bc;const _0x34aaba=a65_0x34aa();let _0x535926=_0x34aaba[_0x8e3eca];return _0x535926;}export const CONFIG_FIELD_SCHEMAS={'env':{'description':a65_0x278b2d(0x1d4),'topLevel':!![],'cliSettableTopLevel':!![],'enumValues':RUNTIME_ENV_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES[a65_0x278b2d(0x1cd)],'importable':!![]},'format':{'description':a65_0x278b2d(0x1cb),'topLevel':!![],'cliSettableTopLevel':!![],'enumValues':OUTPUT_FORMAT_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES[a65_0x278b2d(0x1ca)],'importable':!![]},'pageSize':{'description':a65_0x278b2d(0x1da),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'apiDomain':{'description':a65_0x278b2d(0x1d5),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'userDomain':{'description':'Override\x20user\x20domain','topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'runtimeDomain':{'description':a65_0x278b2d(0x1c0),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'skillHubDomain':{'description':a65_0x278b2d(0x1db),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'accessKey':{'description':a65_0x278b2d(0x1c3),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'riskLevel':{'description':a65_0x278b2d(0x1ce),'topLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES[a65_0x278b2d(0x1d3)],'importable':!![]},'locale':{'description':a65_0x278b2d(0x1c4),'topLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES[a65_0x278b2d(0x1c2)],'importable':!![],'legacyCompatOnly':!![]}};export const TOP_LEVEL_CONFIG_KEYS=new Set(Object['entries'](CONFIG_FIELD_SCHEMAS)[a65_0x278b2d(0x1c6)](([,_0x59b925])=>_0x59b925[a65_0x278b2d(0x1bc)])[a65_0x278b2d(0x1bf)](([_0x4f6340])=>_0x4f6340));export const CONFIG_ENUM_VALUES=Object[a65_0x278b2d(0x1c7)](Object[a65_0x278b2d(0x1bd)](CONFIG_FIELD_SCHEMAS)[a65_0x278b2d(0x1c6)](([,_0x2e72d1])=>_0x2e72d1[a65_0x278b2d(0x1c9)])['map'](([_0x56b279,_0x43e6cd])=>[_0x56b279,[..._0x43e6cd[a65_0x278b2d(0x1c9)]||[]]]));export const IMPORTABLE_RUNTIME_CONFIG_KEYS=Object[a65_0x278b2d(0x1bd)](CONFIG_FIELD_SCHEMAS)[a65_0x278b2d(0x1c6)](([,_0x5b1eb0])=>_0x5b1eb0['importable'])[a65_0x278b2d(0x1bf)](([_0x1cc93c])=>_0x1cc93c);export function getConfigFieldSchema(_0x4bd09c){return CONFIG_FIELD_SCHEMAS[_0x4bd09c];}export function getConfigEnumValues(_0x45339e){const _0x3d9e68=a65_0x278b2d;return getConfigFieldSchema(_0x45339e)?.[_0x3d9e68(0x1c9)];}export function getConfigDefaultValue(_0x4eaa6b){const _0xe6dc7=a65_0x278b2d;return getConfigFieldSchema(_0x4eaa6b)?.[_0xe6dc7(0x1d7)];}export function isTopLevelConfigKey(_0x1c9dd1){return TOP_LEVEL_CONFIG_KEYS['has'](_0x1c9dd1);}export function isLegacyCompatConfigKey(_0x236eb2){const _0x442a35=a65_0x278b2d;return getConfigFieldSchema(_0x236eb2)?.[_0x442a35(0x1be)]===!![];}function a65_0x34aa(){const _0x357376=['format','Default\x20output\x20format','285502SKaAuI','env','Risk\x20level','4024494RRumfA','Config\x20key.\x20Top-level:\x20','85GzIlgy','4591070FIbRpN','riskLevel','Target\x20environment','Override\x20API\x20domain',';\x20local\x20alias:\x20apps.<alias>.appcode','defaultValue','471584HhYrvn','70267snkIeF','Default\x20page\x20size','Override\x20SkillHub\x20domain','64572erFSBp','cliSettableTopLevel','entries','legacyCompatOnly','map','Override\x20runtime\x20domain','9920yHSOmV','locale','Access\x20key\x20(client-ak\x20auth)','Locale','327DKmcFj','filter','fromEntries','80PJDJeC','enumValues'];a65_0x34aa=function(){return _0x357376;};return a65_0x34aa();}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function formatConfigKeyList(_0x2789c3){return[..._0x2789c3]['join'](',\x20');}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x44ebd9=a65_0x278b2d;return _0x44ebd9(0x1d0)+getTopLevelConfigKeySummary()+_0x44ebd9(0x1d6);}export function buildAppProfileListFields(_0x23892a){return{'env':_0x23892a,'hasAccessKey':![],'format':null,'pageSize':null,'riskLevel':null,'locale':null};}
@@ -1 +1 @@
1
- const a66_0x3ad486=a66_0x4786;function a66_0x4786(_0x19076d,_0x150a68){_0x19076d=_0x19076d-0x8a;const _0x531c49=a66_0x531c();let _0x4786cb=_0x531c49[_0x19076d];return _0x4786cb;}(function(_0x2df989,_0x501e65){const _0x11c190=a66_0x4786,_0x5c5e03=_0x2df989();while(!![]){try{const _0x53a3e3=-parseInt(_0x11c190(0x97))/0x1*(parseInt(_0x11c190(0x93))/0x2)+parseInt(_0x11c190(0x90))/0x3+-parseInt(_0x11c190(0x96))/0x4*(-parseInt(_0x11c190(0x95))/0x5)+parseInt(_0x11c190(0x94))/0x6+-parseInt(_0x11c190(0x8a))/0x7*(parseInt(_0x11c190(0x8b))/0x8)+parseInt(_0x11c190(0x92))/0x9*(-parseInt(_0x11c190(0x8d))/0xa)+parseInt(_0x11c190(0x8e))/0xb;if(_0x53a3e3===_0x501e65)break;else _0x5c5e03['push'](_0x5c5e03['shift']());}catch(_0x151d02){_0x5c5e03['push'](_0x5c5e03['shift']());}}}(a66_0x531c,0x90f21));export const APP_PUBLISH_STATUS={'Published':a66_0x3ad486(0x91),'Unpublished':a66_0x3ad486(0x8f)};export const RUNTIME_ACCESSIBLE_APP_STATUS=APP_PUBLISH_STATUS[a66_0x3ad486(0x8c)];function a66_0x531c(){const _0x50c55a=['62884BtRjaZ','404843HtpZrK','329HWYiqE','48064boLnRC','Published','1760QaMywL','1659768xtxIpS','UNPUBLISH','672321tCXZzB','PUBLISHED','31410NUVdXd','2VmhJIm','6196860vLoutN','155fPBQrs'];a66_0x531c=function(){return _0x50c55a;};return a66_0x531c();}
1
+ const a66_0x4ae0b2=a66_0x284c;(function(_0x5df954,_0x3cc079){const _0x102938=a66_0x284c,_0x3504b3=_0x5df954();while(!![]){try{const _0xa58534=-parseInt(_0x102938(0xc5))/0x1*(-parseInt(_0x102938(0xcc))/0x2)+-parseInt(_0x102938(0xcb))/0x3*(parseInt(_0x102938(0xcf))/0x4)+parseInt(_0x102938(0xca))/0x5+-parseInt(_0x102938(0xc7))/0x6*(parseInt(_0x102938(0xc6))/0x7)+parseInt(_0x102938(0xd1))/0x8+-parseInt(_0x102938(0xd0))/0x9+parseInt(_0x102938(0xc9))/0xa;if(_0xa58534===_0x3cc079)break;else _0x3504b3['push'](_0x3504b3['shift']());}catch(_0x2a29ad){_0x3504b3['push'](_0x3504b3['shift']());}}}(a66_0x4c0f,0xce7b6));function a66_0x4c0f(){const _0x5ac944=['UNPUBLISH','PUBLISHED','21832MfHvav','11454678kLIEsI','6650432UQyVGN','537114bcFbQe','2089857PgxYym','30OPLjzd','Published','11695790rxinab','7538300ubBiWt','534HokXPX','4rcUTea'];a66_0x4c0f=function(){return _0x5ac944;};return a66_0x4c0f();}function a66_0x284c(_0x158dfe,_0x3446fe){_0x158dfe=_0x158dfe-0xc5;const _0x4c0f0b=a66_0x4c0f();let _0x284c49=_0x4c0f0b[_0x158dfe];return _0x284c49;}export const APP_PUBLISH_STATUS={'Published':a66_0x4ae0b2(0xce),'Unpublished':a66_0x4ae0b2(0xcd)};export const RUNTIME_ACCESSIBLE_APP_STATUS=APP_PUBLISH_STATUS[a66_0x4ae0b2(0xc8)];
@@ -1 +1 @@
1
- function a67_0x47a6(){const _0x5838b8=['467351dRywEY','3702024tqtHlB','ClientAk','3546186oIuFFA','5lURcAB','3277536ItMaje','340970YaRNuN','1497910LTkQvB','client-ak','1408566QufEHm'];a67_0x47a6=function(){return _0x5838b8;};return a67_0x47a6();}function a67_0x2e0c(_0x3816b9,_0x5dd399){_0x3816b9=_0x3816b9-0x1c8;const _0x47a697=a67_0x47a6();let _0x2e0c48=_0x47a697[_0x3816b9];return _0x2e0c48;}const a67_0x385d6b=a67_0x2e0c;(function(_0x438e9f,_0x54886c){const _0x1d1830=a67_0x2e0c,_0x3dcdc3=_0x438e9f();while(!![]){try{const _0x7ca8a2=-parseInt(_0x1d1830(0x1c9))/0x1+parseInt(_0x1d1830(0x1d0))/0x2+-parseInt(_0x1d1830(0x1c8))/0x3+parseInt(_0x1d1830(0x1ce))/0x4+-parseInt(_0x1d1830(0x1cd))/0x5*(parseInt(_0x1d1830(0x1cc))/0x6)+-parseInt(_0x1d1830(0x1cf))/0x7+parseInt(_0x1d1830(0x1ca))/0x8;if(_0x7ca8a2===_0x54886c)break;else _0x3dcdc3['push'](_0x3dcdc3['shift']());}catch(_0x383a0f){_0x3dcdc3['push'](_0x3dcdc3['shift']());}}}(a67_0x47a6,0x6ef4e));export const AUTH_MODE={'ClientAk':a67_0x385d6b(0x1d1)};export function isAuthMode(_0x4813ec){const _0x1877be=a67_0x385d6b;return _0x4813ec===AUTH_MODE[_0x1877be(0x1cb)];}
1
+ const a67_0x34054e=a67_0x3633;function a67_0x3633(_0x55b30f,_0x141194){_0x55b30f=_0x55b30f-0x1e5;const _0x365230=a67_0x3652();let _0x363338=_0x365230[_0x55b30f];return _0x363338;}(function(_0x321904,_0x148034){const _0x3137e9=a67_0x3633,_0x34d1eb=_0x321904();while(!![]){try{const _0x2ce612=parseInt(_0x3137e9(0x1ec))/0x1*(parseInt(_0x3137e9(0x1e7))/0x2)+-parseInt(_0x3137e9(0x1f0))/0x3*(-parseInt(_0x3137e9(0x1ee))/0x4)+-parseInt(_0x3137e9(0x1f1))/0x5+-parseInt(_0x3137e9(0x1e6))/0x6+parseInt(_0x3137e9(0x1ef))/0x7*(-parseInt(_0x3137e9(0x1f2))/0x8)+-parseInt(_0x3137e9(0x1ea))/0x9*(-parseInt(_0x3137e9(0x1eb))/0xa)+-parseInt(_0x3137e9(0x1e5))/0xb*(-parseInt(_0x3137e9(0x1e8))/0xc);if(_0x2ce612===_0x148034)break;else _0x34d1eb['push'](_0x34d1eb['shift']());}catch(_0x550604){_0x34d1eb['push'](_0x34d1eb['shift']());}}}(a67_0x3652,0x1cf49));export const AUTH_MODE={'ClientAk':a67_0x34054e(0x1e9)};function a67_0x3652(){const _0x168e7c=['7sMFQWv','ClientAk','17564NPOOwO','7063IXmqBw','3yOxfwS','660615mDCmjG','1616XopAbj','3127058QxNJMn','696060MxypRA','58068SbWkkp','12IqxzbT','client-ak','6615MMhYEU','1070GFvddV'];a67_0x3652=function(){return _0x168e7c;};return a67_0x3652();}export function isAuthMode(_0x3b556d){const _0x3e10f7=a67_0x34054e;return _0x3b556d===AUTH_MODE[_0x3e10f7(0x1ed)];}
@@ -1 +1 @@
1
- function a68_0x1639(){const _0x5c1891=['Verbose\x20output','28497CFIxcv','Use\x20global\x20config\x20scope','<expr>','env','cliDisplayName','params','JSON\x20params\x20for\x20execute\x20commands','dry-run','1773900SCpLmb','SQL\x20query\x20code','Show\x20help','json\x20|\x20pretty\x20|\x20compress','2088117dIboFQ','map','string','meowKey','production\x20|\x20development\x20|\x20daily','help','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20implies\x20--format\x20json\x20when\x20current\x20format\x20is\x20pretty)','clear','8uUoTbD','boolean','verbose','cliBinName','Preview\x20operation\x20without\x20executing','format','Override\x20appcode','Force\x20non-interactive\x20mode\x20(CI)','Select\x20app\x20profile\x20by\x20name','Name\x20filter','app','84CNtcIL','name','Clear\x20output','<code>','type','dryRun','Alias\x20for\x20--non-interactive','249062nDaCjj','fromEntries','appcode','global','708010YOILYg','2719213iUnCtL','Environment','206438ocYaif','non-interactive','Record\x20ID'];a68_0x1639=function(){return _0x5c1891;};return a68_0x1639();}const a68_0x13c53d=a68_0x2a63;(function(_0x4ce59e,_0x209087){const _0x294507=a68_0x2a63,_0x4a085d=_0x4ce59e();while(!![]){try{const _0x48bff3=parseInt(_0x294507(0xb9))/0x1+parseInt(_0x294507(0xb2))/0x2+parseInt(_0x294507(0xbd))/0x3*(parseInt(_0x294507(0xab))/0x4)+parseInt(_0x294507(0xb6))/0x5+-parseInt(_0x294507(0xc5))/0x6+-parseInt(_0x294507(0xb7))/0x7+-parseInt(_0x294507(0xd1))/0x8*(-parseInt(_0x294507(0xc9))/0x9);if(_0x48bff3===_0x209087)break;else _0x4a085d['push'](_0x4a085d['shift']());}catch(_0x46d143){_0x4a085d['push'](_0x4a085d['shift']());}}}(a68_0x1639,0x35b32));import{PRODUCT_CONFIG}from'../constant/product.js';import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';export const CLI_BIN_NAME=PRODUCT_CONFIG[a68_0x13c53d(0xa3)];export const CLI_DISPLAY_NAME=PRODUCT_CONFIG[a68_0x13c53d(0xc1)];export const NPM_PACKAGE_NAME=LOVRABET_NPM_PACKAGE_NAME;function a68_0x2a63(_0x5dd101,_0x5eef70){_0x5dd101=_0x5dd101-0xa3;const _0x163953=a68_0x1639();let _0x2a637d=_0x163953[_0x5dd101];return _0x2a637d;}export const GLOBAL_FLAGS=[{'name':a68_0x13c53d(0xb4),'meowKey':a68_0x13c53d(0xb4),'type':a68_0x13c53d(0xcb),'description':a68_0x13c53d(0xa6),'hint':a68_0x13c53d(0xae)},{'name':a68_0x13c53d(0xaa),'meowKey':'app','type':'string','description':a68_0x13c53d(0xa8),'hint':'<name>'},{'name':a68_0x13c53d(0xc0),'meowKey':'env','type':a68_0x13c53d(0xcb),'description':a68_0x13c53d(0xb8),'hint':a68_0x13c53d(0xcd)},{'name':'format','meowKey':a68_0x13c53d(0xa5),'type':'string','description':'Output\x20format','hint':a68_0x13c53d(0xc8)},{'name':'jq','meowKey':'jq','type':a68_0x13c53d(0xcb),'description':a68_0x13c53d(0xcf),'hint':a68_0x13c53d(0xbf)},{'name':a68_0x13c53d(0xc4),'meowKey':a68_0x13c53d(0xb0),'type':a68_0x13c53d(0xd2),'description':a68_0x13c53d(0xa4)},{'name':'yes','meowKey':'yes','type':'boolean','description':'Skip\x20confirmation\x20for\x20high-risk\x20writes'},{'name':'non-interactive','meowKey':'nonInteractive','type':'boolean','description':a68_0x13c53d(0xa7)},{'name':'global','meowKey':a68_0x13c53d(0xb5),'type':a68_0x13c53d(0xd2),'description':a68_0x13c53d(0xbe)},{'name':'ci','meowKey':'ci','type':a68_0x13c53d(0xd2),'description':a68_0x13c53d(0xb1),'hidden':!![]},{'name':'help','meowKey':a68_0x13c53d(0xce),'type':a68_0x13c53d(0xd2),'description':a68_0x13c53d(0xc7)},{'name':'id','meowKey':'id','type':a68_0x13c53d(0xcb),'description':a68_0x13c53d(0xbb),'hidden':!![]},{'name':a68_0x13c53d(0xac),'meowKey':a68_0x13c53d(0xac),'type':a68_0x13c53d(0xcb),'description':a68_0x13c53d(0xa9),'hidden':!![]},{'name':'sqlcode','meowKey':'sqlcode','type':a68_0x13c53d(0xcb),'description':a68_0x13c53d(0xc6),'hidden':!![]},{'name':a68_0x13c53d(0xc2),'meowKey':a68_0x13c53d(0xc2),'type':'string','description':a68_0x13c53d(0xc3),'hidden':!![]},{'name':a68_0x13c53d(0xd3),'meowKey':'verbose','type':a68_0x13c53d(0xd2),'description':a68_0x13c53d(0xbc),'hidden':!![]},{'name':a68_0x13c53d(0xd0),'meowKey':a68_0x13c53d(0xd0),'type':'boolean','description':a68_0x13c53d(0xad),'hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a68_0x13c53d(0xb4),a68_0x13c53d(0xaa),a68_0x13c53d(0xc0),a68_0x13c53d(0xa5),'jq',a68_0x13c53d(0xc4),'yes',a68_0x13c53d(0xba),'ci']);export function buildMeowFlags(){const _0x367fa5=a68_0x13c53d;return Object[_0x367fa5(0xb3)](GLOBAL_FLAGS[_0x367fa5(0xca)](_0x55d393=>[_0x55d393[_0x367fa5(0xcc)],{'type':_0x55d393[_0x367fa5(0xaf)]}]));}
1
+ const a68_0x51665e=a68_0xb534;(function(_0x3aa53f,_0x75e643){const _0x4e21bc=a68_0xb534,_0x4cd303=_0x3aa53f();while(!![]){try{const _0x237615=parseInt(_0x4e21bc(0xf5))/0x1*(-parseInt(_0x4e21bc(0xf8))/0x2)+parseInt(_0x4e21bc(0xdf))/0x3+-parseInt(_0x4e21bc(0xd5))/0x4+-parseInt(_0x4e21bc(0xec))/0x5+-parseInt(_0x4e21bc(0xe3))/0x6*(-parseInt(_0x4e21bc(0xea))/0x7)+-parseInt(_0x4e21bc(0xf6))/0x8*(-parseInt(_0x4e21bc(0xe1))/0x9)+parseInt(_0x4e21bc(0xce))/0xa*(parseInt(_0x4e21bc(0xd1))/0xb);if(_0x237615===_0x75e643)break;else _0x4cd303['push'](_0x4cd303['shift']());}catch(_0x15a3f1){_0x4cd303['push'](_0x4cd303['shift']());}}}(a68_0x3c89,0x649d7));import{PRODUCT_CONFIG}from'../constant/product.js';import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';export const CLI_BIN_NAME=PRODUCT_CONFIG[a68_0x51665e(0xfa)];export const CLI_DISPLAY_NAME=PRODUCT_CONFIG[a68_0x51665e(0xe9)];function a68_0xb534(_0x4ffa5b,_0x51823b){_0x4ffa5b=_0x4ffa5b-0xc9;const _0x3c89ba=a68_0x3c89();let _0xb53461=_0x3c89ba[_0x4ffa5b];return _0xb53461;}export const NPM_PACKAGE_NAME=LOVRABET_NPM_PACKAGE_NAME;export const GLOBAL_FLAGS=[{'name':'appcode','meowKey':a68_0x51665e(0xe5),'type':a68_0x51665e(0xd3),'description':a68_0x51665e(0xe7),'hint':a68_0x51665e(0xdd)},{'name':a68_0x51665e(0xcf),'meowKey':a68_0x51665e(0xcf),'type':a68_0x51665e(0xd3),'description':a68_0x51665e(0xc9),'hint':a68_0x51665e(0xe0)},{'name':'env','meowKey':'env','type':'string','description':a68_0x51665e(0xde),'hint':a68_0x51665e(0xf2)},{'name':a68_0x51665e(0xf7),'meowKey':'format','type':a68_0x51665e(0xd3),'description':'Output\x20format','hint':a68_0x51665e(0xd8)},{'name':'jq','meowKey':'jq','type':a68_0x51665e(0xd3),'description':a68_0x51665e(0xe2),'hint':a68_0x51665e(0xeb)},{'name':'dry-run','meowKey':a68_0x51665e(0xcd),'type':a68_0x51665e(0xf3),'description':a68_0x51665e(0xca)},{'name':a68_0x51665e(0xf1),'meowKey':a68_0x51665e(0xf1),'type':a68_0x51665e(0xf3),'description':a68_0x51665e(0xd9)},{'name':'non-interactive','meowKey':'nonInteractive','type':a68_0x51665e(0xf3),'description':a68_0x51665e(0xf9)},{'name':a68_0x51665e(0xef),'meowKey':a68_0x51665e(0xef),'type':'boolean','description':a68_0x51665e(0xd7)},{'name':'ci','meowKey':'ci','type':'boolean','description':'Alias\x20for\x20--non-interactive','hidden':!![]},{'name':a68_0x51665e(0xda),'meowKey':a68_0x51665e(0xda),'type':a68_0x51665e(0xf3),'description':a68_0x51665e(0xd0)},{'name':'id','meowKey':'id','type':'string','description':a68_0x51665e(0xdb),'hidden':!![]},{'name':a68_0x51665e(0xee),'meowKey':a68_0x51665e(0xee),'type':a68_0x51665e(0xd3),'description':a68_0x51665e(0xd2),'hidden':!![]},{'name':a68_0x51665e(0xd6),'meowKey':a68_0x51665e(0xd6),'type':'string','description':a68_0x51665e(0xcc),'hidden':!![]},{'name':a68_0x51665e(0xcb),'meowKey':a68_0x51665e(0xcb),'type':a68_0x51665e(0xd3),'description':'JSON\x20params\x20for\x20execute\x20commands','hidden':!![]},{'name':a68_0x51665e(0xd4),'meowKey':a68_0x51665e(0xd4),'type':a68_0x51665e(0xf3),'description':a68_0x51665e(0xfb),'hidden':!![]},{'name':a68_0x51665e(0xed),'meowKey':a68_0x51665e(0xed),'type':a68_0x51665e(0xf3),'description':a68_0x51665e(0xdc),'hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a68_0x51665e(0xe5),'app',a68_0x51665e(0xe4),'format','jq',a68_0x51665e(0xe8),a68_0x51665e(0xf1),a68_0x51665e(0xf0),'ci']);export function buildMeowFlags(){const _0x1c4995=a68_0x51665e;return Object['fromEntries'](GLOBAL_FLAGS['map'](_0x4b0971=>[_0x4b0971[_0x1c4995(0xf4)],{'type':_0x4b0971[_0x1c4995(0xe6)]}]));}function a68_0x3c89(){const _0x14d076=['Skip\x20confirmation\x20for\x20high-risk\x20writes','help','Record\x20ID','Clear\x20output','<code>','Environment','1749915pLLFHF','<name>','2323251epCyDX','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20implies\x20--format\x20json\x20when\x20current\x20format\x20is\x20pretty)','14622hbzSTs','env','appcode','type','Override\x20appcode','dry-run','cliDisplayName','378XfaFNa','<expr>','2833955ekDhTi','clear','name','global','non-interactive','yes','production\x20|\x20development\x20|\x20daily','boolean','meowKey','68769coVVDd','24zBHjOm','format','20mnHibH','Force\x20non-interactive\x20mode\x20(CI)','cliBinName','Verbose\x20output','Select\x20app\x20profile\x20by\x20name','Preview\x20operation\x20without\x20executing','params','SQL\x20query\x20code','dryRun','60hexaPf','app','Show\x20help','889526AnxPeR','Name\x20filter','string','verbose','1231664LVTfvB','sqlcode','Use\x20global\x20config\x20scope','json\x20|\x20pretty\x20|\x20compress'];a68_0x3c89=function(){return _0x14d076;};return a68_0x3c89();}
@@ -1 +1 @@
1
- const a69_0x3b9132=a69_0x4f0c;function a69_0x155c(){const _0x2fb0a6=['9KzKYEk','365iZlEXa','6UDnHBO','5636640BzqHwA','61988KpmpVR','6054NuDHdd','5699589ADEkYO','140FNMgNp','36cETDxJ','14789827foQKBO','1157203tiXaSZ','main','1352ZtqMIX','compress','1044461DniSQU'];a69_0x155c=function(){return _0x2fb0a6;};return a69_0x155c();}(function(_0x1ec1da,_0x2f05bb){const _0x145921=a69_0x4f0c,_0x2df0fe=_0x1ec1da();while(!![]){try{const _0x59151d=parseInt(_0x145921(0x161))/0x1+-parseInt(_0x145921(0x163))/0x2*(-parseInt(_0x145921(0x15c))/0x3)+parseInt(_0x145921(0x15b))/0x4*(-parseInt(_0x145921(0x158))/0x5)+-parseInt(_0x145921(0x159))/0x6*(-parseInt(_0x145921(0x15d))/0x7)+-parseInt(_0x145921(0x15a))/0x8*(-parseInt(_0x145921(0x157))/0x9)+-parseInt(_0x145921(0x15e))/0xa*(-parseInt(_0x145921(0x165))/0xb)+-parseInt(_0x145921(0x15f))/0xc*(parseInt(_0x145921(0x160))/0xd);if(_0x59151d===_0x2f05bb)break;else _0x2df0fe['push'](_0x2df0fe['shift']());}catch(_0x5dc2ce){_0x2df0fe['push'](_0x2df0fe['shift']());}}}(a69_0x155c,0xc9756));export const DEFAULT_APP_PROFILE_NAME=a69_0x3b9132(0x162);export const DEFAULT_CONFIG_VALUES={'env':'production','format':'compress','locale':'en-US','riskLevel':'write'};function a69_0x4f0c(_0x30e9ec,_0x1fe456){_0x30e9ec=_0x30e9ec-0x157;const _0x155caa=a69_0x155c();let _0x4f0c70=_0x155caa[_0x30e9ec];return _0x4f0c70;}export const DEFAULT_COMMAND_OUTPUT_FORMAT=a69_0x3b9132(0x164);
1
+ const a69_0x4ec87a=a69_0x1c3d;(function(_0x3362b1,_0x296ff7){const _0x52a5bf=a69_0x1c3d,_0x451351=_0x3362b1();while(!![]){try{const _0x59419a=-parseInt(_0x52a5bf(0x16c))/0x1*(-parseInt(_0x52a5bf(0x179))/0x2)+-parseInt(_0x52a5bf(0x17a))/0x3+-parseInt(_0x52a5bf(0x174))/0x4*(parseInt(_0x52a5bf(0x16e))/0x5)+-parseInt(_0x52a5bf(0x177))/0x6*(parseInt(_0x52a5bf(0x175))/0x7)+-parseInt(_0x52a5bf(0x170))/0x8*(-parseInt(_0x52a5bf(0x173))/0x9)+parseInt(_0x52a5bf(0x176))/0xa*(-parseInt(_0x52a5bf(0x16a))/0xb)+parseInt(_0x52a5bf(0x16f))/0xc;if(_0x59419a===_0x296ff7)break;else _0x451351['push'](_0x451351['shift']());}catch(_0x510eae){_0x451351['push'](_0x451351['shift']());}}}(a69_0x4e81,0x7b4d0));export const DEFAULT_APP_PROFILE_NAME=a69_0x4ec87a(0x171);function a69_0x1c3d(_0x18c5d9,_0x26ccde){_0x18c5d9=_0x18c5d9-0x16a;const _0x4e81c6=a69_0x4e81();let _0x1c3d09=_0x4e81c6[_0x18c5d9];return _0x1c3d09;}function a69_0x4e81(){const _0x165c90=['4659941CTzLLR','en-US','1bKxTEL','compress','8065KDhtat','4018776QwsbVj','56DZWRXS','main','production','1216161rdIjND','932zgvkSR','7vkcXPQ','10wQpjHU','3479460DNHAcz','write','1780514jSFORL','859944xKKAdT'];a69_0x4e81=function(){return _0x165c90;};return a69_0x4e81();}export const DEFAULT_CONFIG_VALUES={'env':a69_0x4ec87a(0x172),'format':'compress','locale':a69_0x4ec87a(0x16b),'riskLevel':a69_0x4ec87a(0x178)};export const DEFAULT_COMMAND_OUTPUT_FORMAT=a69_0x4ec87a(0x16d);
@@ -1 +1 @@
1
- function a70_0x499b(_0x24827d,_0x53c02c){_0x24827d=_0x24827d-0xa3;const _0x41590c=a70_0x4159();let _0x499b6d=_0x41590c[_0x24827d];return _0x499b6d;}const a70_0x2328f1=a70_0x499b;(function(_0x2a4210,_0x25d5f5){const _0x52aa31=a70_0x499b,_0x559a60=_0x2a4210();while(!![]){try{const _0x974240=-parseInt(_0x52aa31(0xa9))/0x1+parseInt(_0x52aa31(0xae))/0x2+-parseInt(_0x52aa31(0xad))/0x3+-parseInt(_0x52aa31(0xa6))/0x4*(parseInt(_0x52aa31(0xaf))/0x5)+-parseInt(_0x52aa31(0xab))/0x6*(-parseInt(_0x52aa31(0xac))/0x7)+-parseInt(_0x52aa31(0xa8))/0x8*(parseInt(_0x52aa31(0xa7))/0x9)+parseInt(_0x52aa31(0xa3))/0xa;if(_0x974240===_0x25d5f5)break;else _0x559a60['push'](_0x559a60['shift']());}catch(_0x34364b){_0x559a60['push'](_0x559a60['shift']());}}}(a70_0x4159,0x290a6));import{PRODUCT_CONFIG}from'../constant/product.js';function a70_0x4159(){const _0x5a5f82=['167419HXHWKM','skillSource','48oqudls','62111nnwuGM','935364rKmaDy','119208tIjiqg','290GuckoO','8635640sKuDXd','npmPackageName','npmRegistryBaseUrl','14316mbVtTw','423qgSmQZ','23704MFbbIh'];a70_0x4159=function(){return _0x5a5f82;};return a70_0x4159();}export const LOVRABET_NPM_PACKAGE_NAME=PRODUCT_CONFIG[a70_0x2328f1(0xa4)];export const LOVRABET_SKILL_SOURCE=PRODUCT_CONFIG[a70_0x2328f1(0xaa)];export const NPM_REGISTRY_BASE_URL=PRODUCT_CONFIG[a70_0x2328f1(0xa5)];
1
+ function a70_0x4e74(_0xe0ce69,_0x4e54dd){_0xe0ce69=_0xe0ce69-0x17f;const _0xd6c519=a70_0xd6c5();let _0x4e746b=_0xd6c519[_0xe0ce69];return _0x4e746b;}function a70_0xd6c5(){const _0x19b47d=['23375638CAXIXy','558Mbeedh','201304myssny','208554WcpjKx','skillSource','119QWfgqw','1291goBYEA','3546EiqadO','296181LekwET','190vubSHA','7270XuCnKQ','npmRegistryBaseUrl','96468rghIIF'];a70_0xd6c5=function(){return _0x19b47d;};return a70_0xd6c5();}const a70_0x35c024=a70_0x4e74;(function(_0x3b61e8,_0x10b8d4){const _0x408fc3=a70_0x4e74,_0x13e8e2=_0x3b61e8();while(!![]){try{const _0x87ce2d=parseInt(_0x408fc3(0x180))/0x1*(-parseInt(_0x408fc3(0x188))/0x2)+parseInt(_0x408fc3(0x18a))/0x3+parseInt(_0x408fc3(0x186))/0x4+-parseInt(_0x408fc3(0x184))/0x5*(parseInt(_0x408fc3(0x181))/0x6)+parseInt(_0x408fc3(0x17f))/0x7*(parseInt(_0x408fc3(0x189))/0x8)+-parseInt(_0x408fc3(0x182))/0x9*(parseInt(_0x408fc3(0x183))/0xa)+parseInt(_0x408fc3(0x187))/0xb;if(_0x87ce2d===_0x10b8d4)break;else _0x13e8e2['push'](_0x13e8e2['shift']());}catch(_0x564d22){_0x13e8e2['push'](_0x13e8e2['shift']());}}}(a70_0xd6c5,0xc3b9a));import{PRODUCT_CONFIG}from'../constant/product.js';export const LOVRABET_NPM_PACKAGE_NAME=PRODUCT_CONFIG['npmPackageName'];export const LOVRABET_SKILL_SOURCE=PRODUCT_CONFIG[a70_0x35c024(0x18b)];export const NPM_REGISTRY_BASE_URL=PRODUCT_CONFIG[a70_0x35c024(0x185)];
@@ -1 +1 @@
1
- const a71_0x1b02c6=a71_0x1277;(function(_0x54f8b0,_0x40bef7){const _0x573eb8=a71_0x1277,_0x5b3c46=_0x54f8b0();while(!![]){try{const _0x382087=parseInt(_0x573eb8(0x1e8))/0x1+-parseInt(_0x573eb8(0x1e6))/0x2*(parseInt(_0x573eb8(0x1ec))/0x3)+-parseInt(_0x573eb8(0x1ed))/0x4+parseInt(_0x573eb8(0x1e0))/0x5+parseInt(_0x573eb8(0x1e3))/0x6*(-parseInt(_0x573eb8(0x1e1))/0x7)+parseInt(_0x573eb8(0x1e5))/0x8+parseInt(_0x573eb8(0x1ee))/0x9;if(_0x382087===_0x40bef7)break;else _0x5b3c46['push'](_0x5b3c46['shift']());}catch(_0x1cc2b8){_0x5b3c46['push'](_0x5b3c46['shift']());}}}(a71_0x404b,0x92bf6));function a71_0x404b(){const _0x331ed7=['apiDomain','runtime','userDomain','2118425ajTwjj','917xHZokZ','runtimeDomain','26610BlfHye','nonProduction','5713792WAKKPP','196fUIBKw','production','449609VVYgLr','skillHubDomain','api','domains','11541gPhiSh','2366296RDNLXW','5068125dmOhpv'];a71_0x404b=function(){return _0x331ed7;};return a71_0x404b();}import{getEnv,isProduction}from'../constant/env.js';import{PRODUCT_CONFIG}from'../constant/product.js';let customApiDomain,customUserDomain,customRuntimeDomain,customSkillHubDomain;function a71_0x1277(_0x520895,_0x5d08f6){_0x520895=_0x520895-0x1e0;const _0x404b82=a71_0x404b();let _0x12775a=_0x404b82[_0x520895];return _0x12775a;}export function initDomains(_0x41ed26){const _0x335db1=a71_0x1277;customApiDomain=_0x41ed26?.[_0x335db1(0x1ef)],customUserDomain=_0x41ed26?.[_0x335db1(0x1f1)],customRuntimeDomain=_0x41ed26?.[_0x335db1(0x1e2)],customSkillHubDomain=_0x41ed26?.[_0x335db1(0x1e9)];}export const getUserDomain=()=>customUserDomain||(isProduction(getEnv())?PRODUCT_CONFIG['domains'][a71_0x1b02c6(0x1e7)]['user']:PRODUCT_CONFIG[a71_0x1b02c6(0x1eb)][a71_0x1b02c6(0x1e4)]['user']);export const getApiDomain=()=>customApiDomain||(isProduction(getEnv())?PRODUCT_CONFIG[a71_0x1b02c6(0x1eb)][a71_0x1b02c6(0x1e7)][a71_0x1b02c6(0x1ea)]:PRODUCT_CONFIG[a71_0x1b02c6(0x1eb)][a71_0x1b02c6(0x1e4)][a71_0x1b02c6(0x1ea)]);export const getRuntimeDomain=()=>customRuntimeDomain||(isProduction(getEnv())?PRODUCT_CONFIG[a71_0x1b02c6(0x1eb)][a71_0x1b02c6(0x1e7)][a71_0x1b02c6(0x1f0)]:PRODUCT_CONFIG[a71_0x1b02c6(0x1eb)][a71_0x1b02c6(0x1e4)][a71_0x1b02c6(0x1f0)]);export const getSkillHubDomain=()=>customSkillHubDomain||(isProduction(getEnv())?PRODUCT_CONFIG[a71_0x1b02c6(0x1eb)]['production']['skillhub']:PRODUCT_CONFIG[a71_0x1b02c6(0x1eb)][a71_0x1b02c6(0x1e4)]['skillhub']);
1
+ const a71_0x1affa9=a71_0x3c66;(function(_0x286895,_0x51a56a){const _0x56a695=a71_0x3c66,_0x3fa5ed=_0x286895();while(!![]){try{const _0xc7309b=parseInt(_0x56a695(0x1ad))/0x1*(-parseInt(_0x56a695(0x1b9))/0x2)+-parseInt(_0x56a695(0x1bc))/0x3*(parseInt(_0x56a695(0x1b8))/0x4)+parseInt(_0x56a695(0x1b1))/0x5+-parseInt(_0x56a695(0x1b2))/0x6+parseInt(_0x56a695(0x1ae))/0x7+-parseInt(_0x56a695(0x1b6))/0x8+parseInt(_0x56a695(0x1b7))/0x9;if(_0xc7309b===_0x51a56a)break;else _0x3fa5ed['push'](_0x3fa5ed['shift']());}catch(_0x3c4d2a){_0x3fa5ed['push'](_0x3fa5ed['shift']());}}}(a71_0x13d6,0x704f8));import{getEnv,isProduction}from'../constant/env.js';function a71_0x13d6(){const _0x476a90=['2376168HpmHAR','user','userDomain','skillHubDomain','678592sEfHYt','5711571fzZMzp','276592TIvbWF','79126KJDmWx','runtimeDomain','production','30PHLfQs','runtime','api','5lWiBGE','3989622ilnfAf','nonProduction','domains','3128030ffskdi'];a71_0x13d6=function(){return _0x476a90;};return a71_0x13d6();}import{PRODUCT_CONFIG}from'../constant/product.js';let customApiDomain,customUserDomain,customRuntimeDomain,customSkillHubDomain;export function initDomains(_0x21d161){const _0x46a099=a71_0x3c66;customApiDomain=_0x21d161?.['apiDomain'],customUserDomain=_0x21d161?.[_0x46a099(0x1b4)],customRuntimeDomain=_0x21d161?.[_0x46a099(0x1ba)],customSkillHubDomain=_0x21d161?.[_0x46a099(0x1b5)];}export const getUserDomain=()=>customUserDomain||(isProduction(getEnv())?PRODUCT_CONFIG[a71_0x1affa9(0x1b0)]['production'][a71_0x1affa9(0x1b3)]:PRODUCT_CONFIG[a71_0x1affa9(0x1b0)][a71_0x1affa9(0x1af)]['user']);function a71_0x3c66(_0x47de1b,_0x39a112){_0x47de1b=_0x47de1b-0x1ad;const _0x13d6b6=a71_0x13d6();let _0x3c6609=_0x13d6b6[_0x47de1b];return _0x3c6609;}export const getApiDomain=()=>customApiDomain||(isProduction(getEnv())?PRODUCT_CONFIG[a71_0x1affa9(0x1b0)][a71_0x1affa9(0x1bb)][a71_0x1affa9(0x1be)]:PRODUCT_CONFIG[a71_0x1affa9(0x1b0)][a71_0x1affa9(0x1af)][a71_0x1affa9(0x1be)]);export const getRuntimeDomain=()=>customRuntimeDomain||(isProduction(getEnv())?PRODUCT_CONFIG[a71_0x1affa9(0x1b0)][a71_0x1affa9(0x1bb)][a71_0x1affa9(0x1bd)]:PRODUCT_CONFIG[a71_0x1affa9(0x1b0)][a71_0x1affa9(0x1af)][a71_0x1affa9(0x1bd)]);export const getSkillHubDomain=()=>customSkillHubDomain||(isProduction(getEnv())?PRODUCT_CONFIG[a71_0x1affa9(0x1b0)]['production']['skillhub']:PRODUCT_CONFIG['domains'][a71_0x1affa9(0x1af)]['skillhub']);
@@ -1 +1 @@
1
- function a72_0x1cf8(){const _0x5598ba=['28UKsBVd','2583506uBJPHk','10539240ZavcMF','dev','2208144DblpNR','52200vpukiV','production','ENV','development','6446036QjTMUt','1808RhvBZL','804nxHlFf','4713495zkHwFu','1cYodzh','5AbbEgP','178013cQBpAg','daily'];a72_0x1cf8=function(){return _0x5598ba;};return a72_0x1cf8();}const a72_0x2d5212=a72_0xfbd5;function a72_0xfbd5(_0x21dd62,_0x300547){_0x21dd62=_0x21dd62-0xc2;const _0x1cf832=a72_0x1cf8();let _0xfbd50c=_0x1cf832[_0x21dd62];return _0xfbd50c;}(function(_0x136edd,_0x139e89){const _0x38c1fb=a72_0xfbd5,_0xd66d1f=_0x136edd();while(!![]){try{const _0x5ed772=-parseInt(_0x38c1fb(0xc6))/0x1*(-parseInt(_0x38c1fb(0xcb))/0x2)+-parseInt(_0x38c1fb(0xc5))/0x3+parseInt(_0x38c1fb(0xc2))/0x4*(-parseInt(_0x38c1fb(0xc7))/0x5)+parseInt(_0x38c1fb(0xce))/0x6*(parseInt(_0x38c1fb(0xca))/0x7)+parseInt(_0x38c1fb(0xc3))/0x8*(parseInt(_0x38c1fb(0xcf))/0x9)+-parseInt(_0x38c1fb(0xcc))/0xa+parseInt(_0x38c1fb(0xc8))/0xb*(parseInt(_0x38c1fb(0xc4))/0xc);if(_0x5ed772===_0x139e89)break;else _0xd66d1f['push'](_0xd66d1f['shift']());}catch(_0x3b8c4d){_0xd66d1f['push'](_0xd66d1f['shift']());}}}(a72_0x1cf8,0xe12c8));import{productEnv}from'../constant/product.js';export const RUNTIME_ENV_VALUES=[a72_0x2d5212(0xd0),a72_0x2d5212(0xd2),'daily'];export function normalizeEnv(_0x2768f8){const _0x4885a4=a72_0x2d5212;return _0x2768f8==='online'?_0x4885a4(0xd0):_0x2768f8;}export function isProduction(_0x2ad41a){const _0x58ebdc=a72_0x2d5212;return normalizeEnv(_0x2ad41a)===_0x58ebdc(0xd0);}export function isDaily(_0x285dc0){const _0x2c37ed=a72_0x2d5212;return normalizeEnv(_0x285dc0)===_0x2c37ed(0xc9);}export function isDev(_0x5dcb62){const _0x2ed42c=a72_0x2d5212,_0xab4245=normalizeEnv(_0x5dcb62);return _0xab4245===_0x2ed42c(0xd2)||_0xab4245===_0x2ed42c(0xcd);}let env=normalizeEnv(productEnv(a72_0x2d5212(0xd1))||a72_0x2d5212(0xd0));export function getEnv(){return env;}export function initEnv(_0x1f513c){env=normalizeEnv(_0x1f513c);}
1
+ const a72_0x33ada6=a72_0x1816;(function(_0x263cd6,_0x1767f9){const _0x43e026=a72_0x1816,_0x3156f5=_0x263cd6();while(!![]){try{const _0x200b15=parseInt(_0x43e026(0x7c))/0x1*(parseInt(_0x43e026(0x71))/0x2)+parseInt(_0x43e026(0x72))/0x3+-parseInt(_0x43e026(0x74))/0x4*(parseInt(_0x43e026(0x6f))/0x5)+parseInt(_0x43e026(0x7b))/0x6*(-parseInt(_0x43e026(0x73))/0x7)+-parseInt(_0x43e026(0x6d))/0x8+parseInt(_0x43e026(0x79))/0x9*(-parseInt(_0x43e026(0x77))/0xa)+parseInt(_0x43e026(0x6e))/0xb;if(_0x200b15===_0x1767f9)break;else _0x3156f5['push'](_0x3156f5['shift']());}catch(_0x514c5c){_0x3156f5['push'](_0x3156f5['shift']());}}}(a72_0x3551,0x51c8a));import{productEnv}from'../constant/product.js';export const RUNTIME_ENV_VALUES=['production',a72_0x33ada6(0x75),'daily'];export function normalizeEnv(_0x328c42){const _0x4616f4=a72_0x33ada6;return _0x328c42===_0x4616f4(0x7a)?_0x4616f4(0x70):_0x328c42;}function a72_0x1816(_0x401133,_0x53cdd6){_0x401133=_0x401133-0x6d;const _0x3551fc=a72_0x3551();let _0x1816ff=_0x3551fc[_0x401133];return _0x1816ff;}export function isProduction(_0x3f1435){const _0x2d4c8c=a72_0x33ada6;return normalizeEnv(_0x3f1435)===_0x2d4c8c(0x70);}export function isDaily(_0x1b74b1){const _0x42b377=a72_0x33ada6;return normalizeEnv(_0x1b74b1)===_0x42b377(0x76);}export function isDev(_0x287cd6){const _0x57a7d4=normalizeEnv(_0x287cd6);return _0x57a7d4==='development'||_0x57a7d4==='dev';}let env=normalizeEnv(productEnv(a72_0x33ada6(0x78))||'production');export function getEnv(){return env;}export function initEnv(_0x28dd57){env=normalizeEnv(_0x28dd57);}function a72_0x3551(){const _0x12559f=['136605tkpGLL','production','9336CWZvoG','10377vVUYYc','7HwtBsA','28mINBst','development','daily','43070Gwskmy','ENV','441jvqHVb','online','3729666RCfdmT','3zMtbxi','3409936TjZIHL','19444326AyDNnL'];a72_0x3551=function(){return _0x12559f;};return a72_0x3551();}
@@ -1 +1 @@
1
- function a73_0x33c7(){const _0x30b162=['17178uVrDVI','1494IKPpVp','4677SctULX','66610mczXZm','7498088OFVace','72299326XLZWiH','137222CSEktM','4424aCaAQH','2468QvdKOO','7611025DEOonU','pretty','18QJFFWU','compress'];a73_0x33c7=function(){return _0x30b162;};return a73_0x33c7();}const a73_0x340f4e=a73_0x2890;function a73_0x2890(_0x133286,_0x6e67c2){_0x133286=_0x133286-0x1d4;const _0x33c745=a73_0x33c7();let _0x2890b9=_0x33c745[_0x133286];return _0x2890b9;}(function(_0x28765b,_0x47f4f6){const _0x1e288d=a73_0x2890,_0xba9d49=_0x28765b();while(!![]){try{const _0x3e90c5=-parseInt(_0x1e288d(0x1d5))/0x1*(-parseInt(_0x1e288d(0x1dd))/0x2)+parseInt(_0x1e288d(0x1d9))/0x3*(parseInt(_0x1e288d(0x1df))/0x4)+parseInt(_0x1e288d(0x1e0))/0x5+parseInt(_0x1e288d(0x1d7))/0x6*(parseInt(_0x1e288d(0x1de))/0x7)+parseInt(_0x1e288d(0x1db))/0x8+-parseInt(_0x1e288d(0x1d8))/0x9*(-parseInt(_0x1e288d(0x1da))/0xa)+-parseInt(_0x1e288d(0x1dc))/0xb;if(_0x3e90c5===_0x47f4f6)break;else _0xba9d49['push'](_0xba9d49['shift']());}catch(_0x1e99c8){_0xba9d49['push'](_0xba9d49['shift']());}}}(a73_0x33c7,0xf3dbb));export const OUTPUT_FORMAT_VALUES=['json',a73_0x340f4e(0x1d4),a73_0x340f4e(0x1d6)];
1
+ const a73_0x1d6025=a73_0x2a7a;function a73_0x2a7a(_0x45c061,_0x40f5a2){_0x45c061=_0x45c061-0xef;const _0x3b5d0a=a73_0x3b5d();let _0x2a7a0a=_0x3b5d0a[_0x45c061];return _0x2a7a0a;}function a73_0x3b5d(){const _0x73a7ef=['862062uydsMB','892210bXvtOa','1552dcEWbf','json','1718090oDMWGX','pretty','1168132frMkQg','21hFHwjH','30LwISvL','8UdhVnl','137105geTvbt','933ArxbmC','166851orvSuD'];a73_0x3b5d=function(){return _0x73a7ef;};return a73_0x3b5d();}(function(_0x5311b8,_0xeadd53){const _0x3fab83=a73_0x2a7a,_0x4f646a=_0x5311b8();while(!![]){try{const _0x20b2ab=-parseInt(_0x3fab83(0xf9))/0x1+parseInt(_0x3fab83(0xf1))/0x2*(parseInt(_0x3fab83(0xfa))/0x3)+parseInt(_0x3fab83(0xf5))/0x4+-parseInt(_0x3fab83(0xf0))/0x5+parseInt(_0x3fab83(0xef))/0x6*(-parseInt(_0x3fab83(0xf6))/0x7)+-parseInt(_0x3fab83(0xf8))/0x8*(parseInt(_0x3fab83(0xfb))/0x9)+parseInt(_0x3fab83(0xf7))/0xa*(parseInt(_0x3fab83(0xf3))/0xb);if(_0x20b2ab===_0xeadd53)break;else _0x4f646a['push'](_0x4f646a['shift']());}catch(_0x36af89){_0x4f646a['push'](_0x4f646a['shift']());}}}(a73_0x3b5d,0x39d16));export const OUTPUT_FORMAT_VALUES=[a73_0x1d6025(0xf2),a73_0x1d6025(0xf4),'compress'];
@@ -1 +1 @@
1
- const a74_0x34d16f=a74_0x9084;function a74_0x9084(_0x1ff6ed,_0x7f17ec){_0x1ff6ed=_0x1ff6ed-0x1c1;const _0x59c143=a74_0x59c1();let _0x90846e=_0x59c143[_0x1ff6ed];return _0x90846e;}(function(_0x2431a1,_0xff8f38){const _0x5e87d5=a74_0x9084,_0xeacb09=_0x2431a1();while(!![]){try{const _0x3ff87a=parseInt(_0x5e87d5(0x1ce))/0x1*(-parseInt(_0x5e87d5(0x1cc))/0x2)+parseInt(_0x5e87d5(0x1e1))/0x3+parseInt(_0x5e87d5(0x1e3))/0x4*(-parseInt(_0x5e87d5(0x1c3))/0x5)+-parseInt(_0x5e87d5(0x1cd))/0x6*(parseInt(_0x5e87d5(0x1c5))/0x7)+-parseInt(_0x5e87d5(0x1da))/0x8+parseInt(_0x5e87d5(0x1df))/0x9*(parseInt(_0x5e87d5(0x1c4))/0xa)+parseInt(_0x5e87d5(0x1db))/0xb*(parseInt(_0x5e87d5(0x1ca))/0xc);if(_0x3ff87a===_0xff8f38)break;else _0xeacb09['push'](_0xeacb09['shift']());}catch(_0x4c909d){_0xeacb09['push'](_0xeacb09['shift']());}}}(a74_0x59c1,0xa2f88));export const PRODUCT_CONFIG={'cliBinName':a74_0x34d16f(0x1e2),'cliDisplayName':a74_0x34d16f(0x1cb),'npmPackageName':a74_0x34d16f(0x1d9),'skillSource':a74_0x34d16f(0x1d0),'npmRegistryBaseUrl':'https://registry.npmjs.org','envPrefix':a74_0x34d16f(0x1c8),'legacyEnvPrefixes':[a74_0x34d16f(0x1d1)],'configFileNames':[a74_0x34d16f(0x1de),a74_0x34d16f(0x1cf)],'newConfigFileName':'.lovrabet.json','homeDirName':'.lovrabet','logFileName':a74_0x34d16f(0x1d2),'invokeSource':a74_0x34d16f(0x1c6),'userCenterDisplayName':'Lovrabet\x20User\x20Center','skipNpxSkillsEnvSuffix':a74_0x34d16f(0x1e0),'domains':{'production':{'user':a74_0x34d16f(0x1c2),'api':a74_0x34d16f(0x1d3),'runtime':a74_0x34d16f(0x1c9),'skillhub':a74_0x34d16f(0x1dd)},'nonProduction':{'user':a74_0x34d16f(0x1d4),'api':a74_0x34d16f(0x1d7),'runtime':a74_0x34d16f(0x1d8),'skillhub':a74_0x34d16f(0x1c1)}},'accessKeyCreatePath':a74_0x34d16f(0x1d6)};export function productEnvName(_0x12189f){const _0x171912=a74_0x34d16f;return PRODUCT_CONFIG[_0x171912(0x1dc)]+'_'+_0x12189f;}export function productEnvNames(_0x1d5409){const _0x17abc4=a74_0x34d16f;return[productEnvName(_0x1d5409),...PRODUCT_CONFIG[_0x17abc4(0x1c7)][_0x17abc4(0x1d5)](_0x11a78a=>_0x11a78a+'_'+_0x1d5409)];}export function productEnv(_0x3a0bc4){for(const _0x53a617 of productEnvNames(_0x3a0bc4)){const _0x454e51=process.env[_0x53a617];if(_0x454e51!==undefined)return _0x454e51;}return undefined;}function a74_0x59c1(){const _0x492a62=['792082WbYyqC','24PIZhuB','1pcXEor','.lovrabetrc','lovrabet/lovrabet-cli','RABETBASE','.lovrabet-runtime.log','https://api.lovrabet.com','https://user-daily.lovrabet.com','map','/user/ak','https://daily-api.lovrabet.com','https://daily-runtime.lovrabet.com','@lovrabet/lovrabet-cli','510984xZUyFx','2919037pfQoHX','envPrefix','https://skills.lovrabet.com','.lovrabet.json','18auiMNQ','SKIP_NPX_SKILLS','3411084aVQExh','lovrabet','4auzFoR','https://skills-daily.lovrabet.com','https://user.lovrabet.com','5767535MtOiVa','4585230ZZUYkv','67361pUXwgo','cli:lovrabet-runtime','legacyEnvPrefixes','LOVRABET','https://runtime.lovrabet.com','12sGAQLJ','Lovrabet\x20Runtime\x20CLI'];a74_0x59c1=function(){return _0x492a62;};return a74_0x59c1();}
1
+ const a74_0x3a4c64=a74_0x2202;(function(_0x55949a,_0xa0e75){const _0xab1929=a74_0x2202,_0x559081=_0x55949a();while(!![]){try{const _0x3f9aec=parseInt(_0xab1929(0x1c1))/0x1+-parseInt(_0xab1929(0x1af))/0x2*(parseInt(_0xab1929(0x1c2))/0x3)+-parseInt(_0xab1929(0x1c0))/0x4*(parseInt(_0xab1929(0x1b7))/0x5)+-parseInt(_0xab1929(0x1b2))/0x6+-parseInt(_0xab1929(0x1bd))/0x7*(parseInt(_0xab1929(0x1b0))/0x8)+-parseInt(_0xab1929(0x1c6))/0x9*(parseInt(_0xab1929(0x1ac))/0xa)+-parseInt(_0xab1929(0x1ba))/0xb*(-parseInt(_0xab1929(0x1ae))/0xc);if(_0x3f9aec===_0xa0e75)break;else _0x559081['push'](_0x559081['shift']());}catch(_0x468621){_0x559081['push'](_0x559081['shift']());}}}(a74_0x5069,0xd54b5));export const PRODUCT_CONFIG={'cliBinName':a74_0x3a4c64(0x1be),'cliDisplayName':a74_0x3a4c64(0x1b1),'npmPackageName':a74_0x3a4c64(0x1bb),'skillSource':'lovrabet/lovrabet-cli','npmRegistryBaseUrl':'https://registry.npmjs.org','envPrefix':a74_0x3a4c64(0x1b8),'legacyEnvPrefixes':[a74_0x3a4c64(0x1b4)],'configFileNames':[a74_0x3a4c64(0x1bf),'.lovrabetrc'],'newConfigFileName':a74_0x3a4c64(0x1bf),'homeDirName':'.lovrabet','logFileName':'.lovrabet-runtime.log','invokeSource':a74_0x3a4c64(0x1b3),'userCenterDisplayName':a74_0x3a4c64(0x1aa),'skipNpxSkillsEnvSuffix':a74_0x3a4c64(0x1c4),'domains':{'production':{'user':'https://user.lovrabet.com','api':a74_0x3a4c64(0x1ab),'runtime':'https://runtime.lovrabet.com','skillhub':a74_0x3a4c64(0x1b6)},'nonProduction':{'user':a74_0x3a4c64(0x1b5),'api':'https://daily-api.lovrabet.com','runtime':a74_0x3a4c64(0x1c3),'skillhub':a74_0x3a4c64(0x1bc)}},'accessKeyCreatePath':a74_0x3a4c64(0x1c5)};function a74_0x2202(_0x246579,_0xd9bf78){_0x246579=_0x246579-0x1aa;const _0x5069ad=a74_0x5069();let _0x220213=_0x5069ad[_0x246579];return _0x220213;}export function productEnvName(_0x2223b4){return PRODUCT_CONFIG['envPrefix']+'_'+_0x2223b4;}export function productEnvNames(_0x10b2ea){const _0x27a121=a74_0x3a4c64;return[productEnvName(_0x10b2ea),...PRODUCT_CONFIG[_0x27a121(0x1ad)][_0x27a121(0x1b9)](_0x49a113=>_0x49a113+'_'+_0x10b2ea)];}function a74_0x5069(){const _0x372346=['RABETBASE','https://user-daily.lovrabet.com','https://skills.lovrabet.com','195KEAYhf','LOVRABET','map','44JfxPPO','@lovrabet/lovrabet-cli','https://skills-daily.lovrabet.com','7wMfTtD','lovrabet','.lovrabet.json','86200qmOHec','209168xXFBQR','957UIaZLG','https://daily-runtime.lovrabet.com','SKIP_NPX_SKILLS','/user/ak','45BMKRsa','Lovrabet\x20User\x20Center','https://api.lovrabet.com','516750ypEnXD','legacyEnvPrefixes','11209104sNPxqz','3166MnKfmr','11596768LTeGnh','Lovrabet\x20Runtime\x20CLI','110910cJygwH','cli:lovrabet-runtime'];a74_0x5069=function(){return _0x372346;};return a74_0x5069();}export function productEnv(_0x587260){for(const _0x3b8a2e of productEnvNames(_0x587260)){const _0x3c7e62=process.env[_0x3b8a2e];if(_0x3c7e62!==undefined)return _0x3c7e62;}return undefined;}
@@ -1 +1 @@
1
- function a75_0x5383(_0x513c67,_0x1b2060){_0x513c67=_0x513c67-0x110;const _0x2bc0f6=a75_0x2bc0();let _0x538396=_0x2bc0f6[_0x513c67];return _0x538396;}function a75_0x2bc0(){const _0x40c645=['14LsXgBA','high-risk-write','778416XpzDfR','3330825vOYHEX','read','6971532orCGRW','1682790IhKXjq','18134FtgaqB','1456636SGufhJ','40650tabByL','9855cJPovF','89LeURkZ'];a75_0x2bc0=function(){return _0x40c645;};return a75_0x2bc0();}const a75_0x2b7294=a75_0x5383;(function(_0x231caa,_0x3df714){const _0x16aacd=a75_0x5383,_0x403f36=_0x231caa();while(!![]){try{const _0x123281=-parseInt(_0x16aacd(0x119))/0x1*(parseInt(_0x16aacd(0x115))/0x2)+-parseInt(_0x16aacd(0x114))/0x3+-parseInt(_0x16aacd(0x116))/0x4+-parseInt(_0x16aacd(0x111))/0x5+-parseInt(_0x16aacd(0x113))/0x6+parseInt(_0x16aacd(0x11a))/0x7*(-parseInt(_0x16aacd(0x110))/0x8)+parseInt(_0x16aacd(0x118))/0x9*(parseInt(_0x16aacd(0x117))/0xa);if(_0x123281===_0x3df714)break;else _0x403f36['push'](_0x403f36['shift']());}catch(_0x2a96e0){_0x403f36['push'](_0x403f36['shift']());}}}(a75_0x2bc0,0xaa070));export const RISK_LEVEL_VALUES=[a75_0x2b7294(0x112),'write',a75_0x2b7294(0x11b)];
1
+ function a75_0x4166(_0x1b957c,_0x2a004a){_0x1b957c=_0x1b957c-0x1c6;const _0x5dace5=a75_0x5dac();let _0x416677=_0x5dace5[_0x1b957c];return _0x416677;}const a75_0x1a7796=a75_0x4166;(function(_0x30d850,_0x355421){const _0x3228a0=a75_0x4166,_0x2e39db=_0x30d850();while(!![]){try{const _0x202abd=parseInt(_0x3228a0(0x1cf))/0x1*(parseInt(_0x3228a0(0x1cc))/0x2)+parseInt(_0x3228a0(0x1c7))/0x3*(-parseInt(_0x3228a0(0x1d0))/0x4)+parseInt(_0x3228a0(0x1c6))/0x5*(parseInt(_0x3228a0(0x1c8))/0x6)+parseInt(_0x3228a0(0x1cd))/0x7+parseInt(_0x3228a0(0x1ca))/0x8*(parseInt(_0x3228a0(0x1ce))/0x9)+-parseInt(_0x3228a0(0x1c9))/0xa*(-parseInt(_0x3228a0(0x1d4))/0xb)+-parseInt(_0x3228a0(0x1cb))/0xc;if(_0x202abd===_0x355421)break;else _0x2e39db['push'](_0x2e39db['shift']());}catch(_0x112f1c){_0x2e39db['push'](_0x2e39db['shift']());}}}(a75_0x5dac,0x5af25));export const RISK_LEVEL_VALUES=[a75_0x1a7796(0x1d3),a75_0x1a7796(0x1d2),a75_0x1a7796(0x1d1)];function a75_0x5dac(){const _0x469fb6=['high-risk-write','write','read','1056VtHFHB','1637975lZWxPb','39VgTzUE','12vPofYB','8590YwdzQz','179368VjojSL','12170784EKAULC','29096vJajgb','1481284dyeLhr','72fSAsGU','26EoPuYs','36964XUYDJz'];a75_0x5dac=function(){return _0x469fb6;};return a75_0x5dac();}
@@ -1 +1 @@
1
- const a76_0x39510c=a76_0x2497;(function(_0x4fb90f,_0x5f2ef2){const _0x4c9241=a76_0x2497,_0x1a35ed=_0x4fb90f();while(!![]){try{const _0x665955=-parseInt(_0x4c9241(0x1d2))/0x1+-parseInt(_0x4c9241(0x1db))/0x2*(-parseInt(_0x4c9241(0x1ce))/0x3)+-parseInt(_0x4c9241(0x1d3))/0x4+parseInt(_0x4c9241(0x1d4))/0x5*(-parseInt(_0x4c9241(0x1d0))/0x6)+parseInt(_0x4c9241(0x1d5))/0x7+-parseInt(_0x4c9241(0x1d8))/0x8*(parseInt(_0x4c9241(0x1da))/0x9)+parseInt(_0x4c9241(0x1cf))/0xa;if(_0x665955===_0x5f2ef2)break;else _0x1a35ed['push'](_0x1a35ed['shift']());}catch(_0x518ce5){_0x1a35ed['push'](_0x1a35ed['shift']());}}}(a76_0x15fe,0xf3d1a));function a76_0x15fe(){const _0x272478=['6xabqeF','13518590ZPIDXm','6TIaJfU','user','609833EhsbDx','3687080KGllRg','725330KGhHqg','1562988lnwWsF','accessKeyCreatePath','production','172712wbvrEa','domains','90eDYQCW','1316098vXVMgy'];a76_0x15fe=function(){return _0x272478;};return a76_0x15fe();}function a76_0x2497(_0x44033d,_0x10be5b){_0x44033d=_0x44033d-0x1ce;const _0x15fe4b=a76_0x15fe();let _0x2497f6=_0x15fe4b[_0x44033d];return _0x2497f6;}import{PRODUCT_CONFIG}from'../constant/product.js';export const USER_ACCESS_KEY_CREATE_URL=''+PRODUCT_CONFIG[a76_0x39510c(0x1d9)][a76_0x39510c(0x1d7)][a76_0x39510c(0x1d1)]+PRODUCT_CONFIG[a76_0x39510c(0x1d6)];
1
+ const a76_0x350bba=a76_0x4ab6;(function(_0x5c2658,_0x6eb3c3){const _0x2764ec=a76_0x4ab6,_0x5ecba3=_0x5c2658();while(!![]){try{const _0x274744=-parseInt(_0x2764ec(0xd1))/0x1+-parseInt(_0x2764ec(0xcb))/0x2+parseInt(_0x2764ec(0xc7))/0x3+-parseInt(_0x2764ec(0xc9))/0x4*(-parseInt(_0x2764ec(0xd0))/0x5)+-parseInt(_0x2764ec(0xca))/0x6+-parseInt(_0x2764ec(0xc8))/0x7*(-parseInt(_0x2764ec(0xcd))/0x8)+parseInt(_0x2764ec(0xce))/0x9*(parseInt(_0x2764ec(0xc6))/0xa);if(_0x274744===_0x6eb3c3)break;else _0x5ecba3['push'](_0x5ecba3['shift']());}catch(_0x45baa3){_0x5ecba3['push'](_0x5ecba3['shift']());}}}(a76_0x429c,0xe7c2f));import{PRODUCT_CONFIG}from'../constant/product.js';function a76_0x429c(){const _0x50beeb=['accessKeyCreatePath','60MFEqfR','1673622VbUJpb','130dyhAcE','455838QHSUNN','10913ABiOrM','598884ftMwLz','6729990TMhsqA','3386608AfeSOc','user','5432ijXjYw','1682811jJXNVM'];a76_0x429c=function(){return _0x50beeb;};return a76_0x429c();}function a76_0x4ab6(_0x46f597,_0x69526e){_0x46f597=_0x46f597-0xc6;const _0x429c2c=a76_0x429c();let _0x4ab62a=_0x429c2c[_0x46f597];return _0x4ab62a;}export const USER_ACCESS_KEY_CREATE_URL=''+PRODUCT_CONFIG['domains']['production'][a76_0x350bba(0xcc)]+PRODUCT_CONFIG[a76_0x350bba(0xcf)];
package/lib/context.js CHANGED
@@ -1 +1 @@
1
- const a77_0x3efaaa=a77_0x504a;(function(_0x2b5370,_0x3b462d){const _0x16f9fc=a77_0x504a,_0x411704=_0x2b5370();while(!![]){try{const _0x411bed=parseInt(_0x16f9fc(0x181))/0x1+-parseInt(_0x16f9fc(0x1a6))/0x2+parseInt(_0x16f9fc(0x1ab))/0x3*(parseInt(_0x16f9fc(0x189))/0x4)+parseInt(_0x16f9fc(0x1b7))/0x5*(-parseInt(_0x16f9fc(0x18c))/0x6)+-parseInt(_0x16f9fc(0x1a2))/0x7*(-parseInt(_0x16f9fc(0x1ad))/0x8)+-parseInt(_0x16f9fc(0x1b8))/0x9*(parseInt(_0x16f9fc(0x1ba))/0xa)+-parseInt(_0x16f9fc(0x18a))/0xb*(-parseInt(_0x16f9fc(0x191))/0xc);if(_0x411bed===_0x3b462d)break;else _0x411704['push'](_0x411704['shift']());}catch(_0x4aae93){_0x411704['push'](_0x411704['shift']());}}}(a77_0x5bde,0x805c7));import{readFileSync,existsSync,mkdirSync,renameSync,unlinkSync,writeFileSync}from'node:fs';import{resolve,dirname}from'node:path';import{homedir}from'node:os';import{logger}from'./utils/logger.js';import{CliErrors}from'./errors.js';import{CLI_BIN_NAME}from'./constant/cli.js';import{PRODUCT_CONFIG,productEnv,productEnvNames}from'./constant/product.js';import{DEFAULT_CONFIG_VALUES}from'./constant/defaults.js';import{normalizeEnv,isDaily,isDev}from'./constant/env.js';import{normalizeLegacyOutputFormat}from'./framework/types.js';import{resolveCachedAppCode}from'./commands/app/cache.js';export{AUTH_MODE,isAuthMode}from'./constant/auth-mode.js';const CONFIG_NAMES=PRODUCT_CONFIG[a77_0x3efaaa(0x1bd)];export const NEW_CONFIG_NAME=PRODUCT_CONFIG[a77_0x3efaaa(0x1a3)];function a77_0x5bde(){const _0x40deb5=['globalConfig','local-alias','string','cwd','missing','ACCESS_KEY','4DITKwH','319gEpyGv','global','132OaNbPS','message','code','project','setRawCommand','208188jcyouY','defaultApp','utf8','trim','find','env','FORMAT','EPERM','daily','APP','parse','stdin','accessKey','apiDomain','.tmp','raw','development','14WhVjvh','newConfigFileName','./constant/domain.js','error','335638REKOQD','riskLevel','argv','runtimeDomain','isRaw','1878117JLpGNa','inherit','1568872tnCrbU','EXDEV','locale','slice','values','appcode','explicit','stringify','isTTY','skillHubDomain','236245ryfXmZ','117mtPELp','app','541870DUBAtl','VERBOSE','apps','configFileNames','format','high-risk-write','true','cache','object','nonInteractive','join','setRawMode','PAGE_SIZE','916117YColyk','production'];a77_0x5bde=function(){return _0x40deb5;};return a77_0x5bde();}function resolveConfigPath(_0x32bc82){for(const _0x3dad8b of CONFIG_NAMES){const _0x33f391=resolve(_0x32bc82,_0x3dad8b);if(existsSync(_0x33f391))return _0x33f391;}return undefined;}export function resolveWriteConfigPath(_0x184a7a){const _0x57665a=a77_0x3efaaa,_0x3f268d=_0x184a7a===_0x57665a(0x18f)?process['cwd']():homedir(),_0x8854fa=resolveConfigPath(_0x3f268d);return _0x8854fa??resolve(_0x3f268d,NEW_CONFIG_NAME);}export function readConfigFile(_0x1d9e79){const _0x1044f1=a77_0x3efaaa;try{if(existsSync(_0x1d9e79)){const _0x488e56=readFileSync(_0x1d9e79,{'encoding':_0x1044f1(0x193)});if(_0x488e56){const _0x2d489a=JSON['parse'](_0x488e56);return migrateOnlineEnv(_0x1d9e79,_0x2d489a),_0x2d489a;}}}catch{}return{};}function migrateOnlineEnv(_0x35e25c,_0x5dce64){const _0x4e1988=a77_0x3efaaa;let _0x27d456=![];_0x5dce64[_0x4e1988(0x196)]==='online'&&(_0x5dce64[_0x4e1988(0x196)]='production',_0x27d456=!![]);if(_0x5dce64['apps']&&typeof _0x5dce64['apps']===_0x4e1988(0x1c2))for(const _0x1316be of Object[_0x4e1988(0x1b1)](_0x5dce64[_0x4e1988(0x1bc)])){_0x1316be&&_0x1316be[_0x4e1988(0x196)]==='online'&&(_0x1316be[_0x4e1988(0x196)]=_0x4e1988(0x182),_0x27d456=!![]);}if(_0x27d456)try{writeConfigFile(_0x35e25c,_0x5dce64);}catch{}}export function writeConfigFile(_0x3009da,_0x2c2d63){const _0x4c5cd7=a77_0x3efaaa,_0x1a20b6=dirname(_0x3009da);!existsSync(_0x1a20b6)&&mkdirSync(_0x1a20b6,{'recursive':!![]});const _0x494414=_0x3009da+_0x4c5cd7(0x19f);try{writeFileSync(_0x494414,JSON[_0x4c5cd7(0x1b4)](_0x2c2d63,null,0x2)+'\x0a',{'encoding':_0x4c5cd7(0x193),'mode':0x180});try{renameSync(_0x494414,_0x3009da);}catch(_0x5cd8a5){if(_0x5cd8a5[_0x4c5cd7(0x18e)]===_0x4c5cd7(0x198)||_0x5cd8a5[_0x4c5cd7(0x18e)]===_0x4c5cd7(0x1ae)||_0x5cd8a5[_0x4c5cd7(0x18e)]==='EACCES'){writeFileSync(_0x3009da,JSON[_0x4c5cd7(0x1b4)](_0x2c2d63,null,0x2)+'\x0a',{'encoding':'utf8'});try{unlinkSync(_0x494414);}catch{}}else throw _0x5cd8a5;}}catch(_0x31f7d3){try{unlinkSync(_0x494414);}catch{}throw _0x31f7d3;}}export function isNonInteractiveMode(_0xd2b7ab){const _0x3c754f=a77_0x3efaaa;return!!(_0xd2b7ab[_0x3c754f(0x17d)]||_0xd2b7ab['ci']||productEnvNames('CI')['some'](_0xe42be4=>process.env[_0xe42be4]===_0x3c754f(0x1c0))||process.env.CI===_0x3c754f(0x1c0)||!process['stdout']['isTTY']||!isStdinRawModeSupported());}function isStdinRawModeSupported(){const _0x2f5cf9=a77_0x3efaaa;if(!process['stdin'][_0x2f5cf9(0x1b5)])return![];try{const _0x44a575=process['stdin'][_0x2f5cf9(0x1aa)];return process[_0x2f5cf9(0x19c)][_0x2f5cf9(0x17f)](!![]),process[_0x2f5cf9(0x19c)][_0x2f5cf9(0x17f)](_0x44a575??![]),!![];}catch{return![];}}export async function createContext(_0x27b0c9){const _0x4deba9=a77_0x3efaaa,_0x1ce201=readRawConfig(),_0x110c9c=buildConfig(_0x1ce201,_0x27b0c9);await initGlobalEnvironment(_0x110c9c);const {getUserDomain:_0x40069c,getApiDomain:_0x1fb19f}=await import(_0x4deba9(0x1a4)),_0xa91aa8={'apiDomain':_0x1fb19f(),'userDomain':_0x40069c()},_0x1cfd15=await buildAuth(_0x110c9c);logger['setLogPath'](process['cwd']());const _0x31cc2e=(CLI_BIN_NAME+'\x20'+process[_0x4deba9(0x1a8)][_0x4deba9(0x1b0)](0x2)[_0x4deba9(0x17e)]('\x20'))[_0x4deba9(0x194)]();logger[_0x4deba9(0x190)](_0x31cc2e);const _0x1e9179=isNonInteractiveMode(_0x27b0c9);return{'config':_0x110c9c,'auth':_0x1cfd15,'logger':logger,'env':_0xa91aa8,'nonInteractive':_0x1e9179};}export function buildConfigFromFlags(_0x59f751){return buildConfig(readRawConfig(),_0x59f751);}export function getLocalAppAliases(_0x4d41b3){const _0x511cf9=a77_0x3efaaa;return _0x4d41b3[_0x511cf9(0x1bc)]&&typeof _0x4d41b3[_0x511cf9(0x1bc)]===_0x511cf9(0x1c2)?_0x4d41b3['apps']:{};}export function resolveLocalAppAliasCode(_0x1fd0be,_0x23dd09){const _0x13500b=a77_0x3efaaa;if(!_0x23dd09)return undefined;const _0x48bcdb=getLocalAppAliases(_0x1fd0be)[_0x23dd09],_0x1a7b21=_0x48bcdb?.[_0x13500b(0x1b2)];return typeof _0x1a7b21==='string'&&_0x1a7b21[_0x13500b(0x194)]()?_0x1a7b21['trim']():undefined;}export function readAppCodeFromConfig(){const _0x5be503=a77_0x3efaaa,_0x17bd17=readRawConfig(),_0x8f45d9=_0x17bd17[_0x5be503(0x1b2)]??_0x17bd17[_0x5be503(0x1b9)];if(typeof _0x8f45d9==='string'&&_0x8f45d9[_0x5be503(0x194)]())return _0x8f45d9[_0x5be503(0x194)]();const _0x366c9e=resolveLocalAppAliasCode(_0x17bd17,typeof _0x17bd17[_0x5be503(0x192)]==='string'?_0x17bd17[_0x5be503(0x192)]:undefined);if(_0x366c9e)return _0x366c9e;const _0xf559b1=normalizeEnv(String(_0x17bd17[_0x5be503(0x196)]||_0x5be503(0x182))),_0x1e9d68=isDaily(_0xf559b1)?_0x5be503(0x199):isDev(_0xf559b1)?_0x5be503(0x1a1):_0x5be503(0x182),_0x1b1e25=resolveCachedAppCode(typeof _0x17bd17[_0x5be503(0x192)]===_0x5be503(0x185)?_0x17bd17[_0x5be503(0x192)]:undefined,_0x1e9d68,typeof _0x17bd17['accessKey']==='string'?_0x17bd17['accessKey']:undefined);if(_0x1b1e25)return _0x1b1e25;const _0x285cf7=Object[_0x5be503(0x1b1)](getLocalAppAliases(_0x17bd17))[_0x5be503(0x195)](_0x1cae0b=>_0x1cae0b?.[_0x5be503(0x1b2)]);return typeof _0x285cf7?.[_0x5be503(0x1b2)]===_0x5be503(0x185)&&_0x285cf7[_0x5be503(0x1b2)][_0x5be503(0x194)]()?_0x285cf7[_0x5be503(0x1b2)]['trim']():undefined;}function a77_0x504a(_0x26866e,_0x2dbebe){_0x26866e=_0x26866e-0x17d;const _0x5bdee2=a77_0x5bde();let _0x504a7f=_0x5bdee2[_0x26866e];return _0x504a7f;}export function readScopedConfig(_0x539132){const _0x1198e0=a77_0x3efaaa,_0x6b1f22=_0x539132['global']?_0x1198e0(0x18b):'project';return readConfigFile(resolveWriteConfigPath(_0x6b1f22));}export function writeScopedConfig(_0x84d135,_0x21911b){const _0x556050=a77_0x3efaaa,_0x9ef236=_0x21911b[_0x556050(0x18b)]?_0x556050(0x18b):_0x556050(0x18f);writeConfigFile(resolveWriteConfigPath(_0x9ef236),_0x84d135);}export async function initGlobalEnvironment(_0x376173){const _0x59e80c=a77_0x3efaaa,{initEnv:_0x3dcceb}=await import('./constant/env.js');_0x3dcceb(_0x376173[_0x59e80c(0x196)]);const {initDomains:_0x3c848c}=await import(_0x59e80c(0x1a4));_0x3c848c({'apiDomain':_0x376173[_0x59e80c(0x1a0)][_0x59e80c(0x19e)]||_0x376173['raw']['host']||undefined,'userDomain':_0x376173[_0x59e80c(0x1a0)]['userDomain']||undefined,'runtimeDomain':_0x376173[_0x59e80c(0x1a0)][_0x59e80c(0x1a9)]||undefined,'skillHubDomain':_0x376173[_0x59e80c(0x1a0)][_0x59e80c(0x1b6)]||undefined});}export function getProjectConfigPath(){const _0x1edfba=a77_0x3efaaa;return resolveConfigPath(process[_0x1edfba(0x186)]());}export function getGlobalConfigPath(){return resolveConfigPath(homedir());}export function inspectCliConfigJsonFile(_0x187c10){const _0x3dc545=a77_0x3efaaa;if(!existsSync(_0x187c10))return{'status':_0x3dc545(0x187)};try{const _0x4f4fe5=readFileSync(_0x187c10,{'encoding':_0x3dc545(0x193)});if(!_0x4f4fe5?.[_0x3dc545(0x194)]())return{'status':'empty'};const _0x17a87c=JSON[_0x3dc545(0x19b)](_0x4f4fe5);return{'status':'ok','data':_0x17a87c};}catch(_0x56a987){return{'status':_0x3dc545(0x1a5),'message':_0x56a987 instanceof Error?_0x56a987[_0x3dc545(0x18d)]:String(_0x56a987)};}}export function loadRawConfigLayers(_0x2ac0dd){const _0x2373f3=a77_0x3efaaa;let _0x15e2df={},_0x34667e={},_0x3d84f4,_0x4b6de5;try{_0x3d84f4=resolveConfigPath(homedir());if(_0x3d84f4){const _0x2fb4ab=readFileSync(_0x3d84f4,{'encoding':_0x2373f3(0x193)});if(_0x2fb4ab)_0x15e2df=JSON['parse'](_0x2fb4ab);}}catch{}try{const _0x229176=_0x2ac0dd||process[_0x2373f3(0x186)]();_0x4b6de5=resolveConfigPath(_0x229176);if(_0x4b6de5){const _0x29501c=readFileSync(_0x4b6de5,{'encoding':_0x2373f3(0x193)});if(_0x29501c)_0x34667e=JSON[_0x2373f3(0x19b)](_0x29501c);}}catch{}return{'globalPath':_0x3d84f4,'projectPath':_0x4b6de5,'globalConfig':_0x15e2df,'projectConfig':_0x34667e};}function mergeRawConfigLayers(_0x3bf536){const _0x51aa46=a77_0x3efaaa,{globalConfig:_0x215548,projectConfig:_0x7444b3}=_0x3bf536;if(_0x7444b3['inherit']===![]){const _0x44efcd={..._0x7444b3};return delete _0x44efcd[_0x51aa46(0x1ac)],_0x44efcd;}const _0x43c40f={..._0x215548,..._0x7444b3};if(_0x51aa46(0x192)in _0x7444b3)_0x43c40f[_0x51aa46(0x192)]=_0x7444b3[_0x51aa46(0x192)];else _0x215548[_0x51aa46(0x192)]&&(_0x43c40f[_0x51aa46(0x192)]=_0x215548[_0x51aa46(0x192)]);return _0x43c40f;}export function isInProject(){return!!getProjectConfigPath();}export function readRawConfig(_0x2b9ec7){return mergeRawConfigLayers(loadRawConfigLayers(_0x2b9ec7));}export function readRawConfigWithLayers(_0x236aa0){const _0x43fb15=loadRawConfigLayers(_0x236aa0);return{'config':mergeRawConfigLayers(_0x43fb15),'layers':_0x43fb15};}export function resolveDefaultAppSource(_0x2c071b){const _0x33c0bf=a77_0x3efaaa;if(_0x33c0bf(0x192)in _0x2c071b['projectConfig'])return _0x33c0bf(0x18f);if(_0x2c071b['projectConfig'][_0x33c0bf(0x1ac)]===![])return null;if(_0x2c071b[_0x33c0bf(0x183)][_0x33c0bf(0x192)])return'global';return null;}function buildConfig(_0x30582f,_0x3a8bf6){const _0x8bfbad=a77_0x3efaaa,_0x46530f=_0x30582f[_0x8bfbad(0x192)]||undefined,_0x663be0=_0x3a8bf6[_0x8bfbad(0x1b9)]||env(_0x8bfbad(0x19a))||undefined,_0x4e2ab2=_0x663be0||_0x46530f||undefined,_0xf60137=env(_0x8bfbad(0x188))||_0x30582f[_0x8bfbad(0x19d)]||undefined,_0x51d32a=_0x3a8bf6[_0x8bfbad(0x196)]||env('ENV')||_0x30582f[_0x8bfbad(0x196)]||DEFAULT_CONFIG_VALUES[_0x8bfbad(0x196)],_0x25635e=normalizeEnv(String(_0x51d32a)),_0x56b659=isDaily(_0x25635e)?'daily':isDev(_0x25635e)?_0x8bfbad(0x1a1):_0x8bfbad(0x182),_0x5a71fc=typeof _0x3a8bf6['appcode']===_0x8bfbad(0x185)?_0x3a8bf6[_0x8bfbad(0x1b2)]:undefined,_0x28c076=env('APPCODE'),_0x2d4117=_0x663be0?undefined:_0x30582f[_0x8bfbad(0x1b2)]||_0x30582f[_0x8bfbad(0x1b9)]||undefined,_0x308338=_0x663be0||(_0x2d4117?undefined:_0x46530f),_0x4d99da=resolveLocalAppAliasCode(_0x30582f,_0x308338),_0x1693b7=resolveCachedAppCode(_0x308338,_0x56b659,_0xf60137),_0x26246e=_0x5a71fc||_0x28c076||_0x2d4117||_0x4d99da||_0x1693b7||undefined,_0x199665=_0x5a71fc?_0x8bfbad(0x1b3):_0x28c076?'env':_0x2d4117?'top-level':_0x4d99da?_0x8bfbad(0x184):_0x1693b7?_0x8bfbad(0x1c1):undefined,_0xb5a31c=_0x30582f[_0x8bfbad(0x1af)]||DEFAULT_CONFIG_VALUES[_0x8bfbad(0x1af)],_0x1d8416=undefined,_0x21ed56=_0x3a8bf6[_0x8bfbad(0x1be)]||env(_0x8bfbad(0x197))||_0x30582f[_0x8bfbad(0x1be)],_0x23a986=normalizeLegacyOutputFormat(_0x21ed56),_0x275266=env(_0x8bfbad(0x180))||_0x30582f['pageSize'],_0x48d78e=_0x275266?Number(_0x275266)||undefined:undefined,_0x25cb7a=_0x30582f[_0x8bfbad(0x1a7)]||_0x30582f['maxRisk'],_0x196f6e=_0x25cb7a==='read'||_0x25cb7a==='write'||_0x25cb7a===_0x8bfbad(0x1bf)?_0x25cb7a:DEFAULT_CONFIG_VALUES[_0x8bfbad(0x1a7)],_0x147c10=env(_0x8bfbad(0x1bb)),_0x286f3e=_0x147c10==='1'||_0x147c10==='true';return{'appCode':typeof _0x26246e===_0x8bfbad(0x185)&&_0x26246e[_0x8bfbad(0x194)]()?_0x26246e[_0x8bfbad(0x194)]():undefined,'appCodeSource':_0x199665,'env':_0x56b659,'locale':_0xb5a31c,'cookie':_0x1d8416,'accessKey':_0xf60137,'format':_0x23a986,'pageSize':_0x48d78e,'riskLevel':_0x196f6e,'verbose':_0x286f3e,'defaultApp':_0x46530f,'currentApp':typeof _0x4e2ab2===_0x8bfbad(0x185)?_0x4e2ab2:undefined,'raw':_0x30582f};}function env(_0x26c23b){return productEnv(_0x26c23b);}async function buildAuth(_0x2044d2){const _0x5ce917=a77_0x3efaaa,_0x40a870='',_0x42cc69=!!_0x2044d2[_0x5ce917(0x19d)];return{'cookie':_0x40a870,'isLoggedIn':_0x42cc69,async 'getOrLogin'(){if(_0x42cc69)return _0x40a870;throw CliErrors['authRequired']();}};}
1
+ const a77_0x2b3658=a77_0x4297;(function(_0x5297f8,_0x3acb2b){const _0xdcb001=a77_0x4297,_0x210215=_0x5297f8();while(!![]){try{const _0x5d9142=-parseInt(_0xdcb001(0xab))/0x1+-parseInt(_0xdcb001(0x7e))/0x2+-parseInt(_0xdcb001(0xbc))/0x3*(parseInt(_0xdcb001(0x7b))/0x4)+-parseInt(_0xdcb001(0xae))/0x5+parseInt(_0xdcb001(0x76))/0x6*(parseInt(_0xdcb001(0xa9))/0x7)+parseInt(_0xdcb001(0xb9))/0x8+parseInt(_0xdcb001(0x94))/0x9;if(_0x5d9142===_0x3acb2b)break;else _0x210215['push'](_0x210215['shift']());}catch(_0x42feaf){_0x210215['push'](_0x210215['shift']());}}}(a77_0x3b06,0xc3ffb));import{readFileSync,existsSync,mkdirSync,renameSync,unlinkSync,writeFileSync}from'node:fs';import{resolve,dirname}from'node:path';import{homedir}from'node:os';import{logger}from'./utils/logger.js';import{CliErrors}from'./errors.js';import{CLI_BIN_NAME}from'./constant/cli.js';import{PRODUCT_CONFIG,productEnv,productEnvNames}from'./constant/product.js';import{DEFAULT_CONFIG_VALUES}from'./constant/defaults.js';import{normalizeEnv,isDaily,isDev}from'./constant/env.js';import{normalizeLegacyOutputFormat}from'./framework/types.js';import{resolveCachedAppCode}from'./commands/app/cache.js';export{AUTH_MODE,isAuthMode}from'./constant/auth-mode.js';const CONFIG_NAMES=PRODUCT_CONFIG[a77_0x2b3658(0xba)];export const NEW_CONFIG_NAME=PRODUCT_CONFIG['newConfigFileName'];function resolveConfigPath(_0x4488a1){for(const _0x8cf9d4 of CONFIG_NAMES){const _0x11e6c2=resolve(_0x4488a1,_0x8cf9d4);if(existsSync(_0x11e6c2))return _0x11e6c2;}return undefined;}export function resolveWriteConfigPath(_0x435235){const _0x513fff=a77_0x2b3658,_0x173df4=_0x435235===_0x513fff(0x90)?process['cwd']():homedir(),_0x35179=resolveConfigPath(_0x173df4);return _0x35179??resolve(_0x173df4,NEW_CONFIG_NAME);}export function readConfigFile(_0x286404){const _0x5e11e6=a77_0x2b3658;try{if(existsSync(_0x286404)){const _0x194ecf=readFileSync(_0x286404,{'encoding':'utf8'});if(_0x194ecf){const _0x1833cc=JSON[_0x5e11e6(0x99)](_0x194ecf);return migrateOnlineEnv(_0x286404,_0x1833cc),_0x1833cc;}}}catch{}return{};}function migrateOnlineEnv(_0x573ce6,_0xefd405){const _0x5a0f1c=a77_0x2b3658;let _0x15a633=![];_0xefd405['env']===_0x5a0f1c(0xb4)&&(_0xefd405[_0x5a0f1c(0x8f)]=_0x5a0f1c(0x9f),_0x15a633=!![]);if(_0xefd405['apps']&&typeof _0xefd405[_0x5a0f1c(0x91)]===_0x5a0f1c(0x7f))for(const _0x6d1512 of Object[_0x5a0f1c(0x84)](_0xefd405[_0x5a0f1c(0x91)])){_0x6d1512&&_0x6d1512[_0x5a0f1c(0x8f)]===_0x5a0f1c(0xb4)&&(_0x6d1512[_0x5a0f1c(0x8f)]=_0x5a0f1c(0x9f),_0x15a633=!![]);}if(_0x15a633)try{writeConfigFile(_0x573ce6,_0xefd405);}catch{}}export function writeConfigFile(_0x497db8,_0x54a40b){const _0xec20a7=a77_0x2b3658,_0x4d449d=dirname(_0x497db8);!existsSync(_0x4d449d)&&mkdirSync(_0x4d449d,{'recursive':!![]});const _0xf81bd7=_0x497db8+_0xec20a7(0xa3);try{writeFileSync(_0xf81bd7,JSON['stringify'](_0x54a40b,null,0x2)+'\x0a',{'encoding':'utf8','mode':0x180});try{renameSync(_0xf81bd7,_0x497db8);}catch(_0x4a58a){if(_0x4a58a[_0xec20a7(0xaf)]===_0xec20a7(0x8a)||_0x4a58a['code']===_0xec20a7(0x95)||_0x4a58a[_0xec20a7(0xaf)]==='EACCES'){writeFileSync(_0x497db8,JSON['stringify'](_0x54a40b,null,0x2)+'\x0a',{'encoding':_0xec20a7(0xaa)});try{unlinkSync(_0xf81bd7);}catch{}}else throw _0x4a58a;}}catch(_0xed8f4f){try{unlinkSync(_0xf81bd7);}catch{}throw _0xed8f4f;}}export function isNonInteractiveMode(_0x11ddde){const _0x284a4f=a77_0x2b3658;return!!(_0x11ddde[_0x284a4f(0xa5)]||_0x11ddde['ci']||productEnvNames('CI')[_0x284a4f(0x7c)](_0x48bfda=>process.env[_0x48bfda]==='true')||process.env.CI===_0x284a4f(0xa0)||!process[_0x284a4f(0xa2)][_0x284a4f(0xb5)]||!isStdinRawModeSupported());}function isStdinRawModeSupported(){const _0x43437d=a77_0x2b3658;if(!process[_0x43437d(0x93)][_0x43437d(0xb5)])return![];try{const _0x22db87=process['stdin'][_0x43437d(0x88)];return process['stdin']['setRawMode'](!![]),process['stdin']['setRawMode'](_0x22db87??![]),!![];}catch{return![];}}export async function createContext(_0x5a6267){const _0x3e6abb=a77_0x2b3658,_0x3dd2ff=readRawConfig(),_0x47d06e=buildConfig(_0x3dd2ff,_0x5a6267);await initGlobalEnvironment(_0x47d06e);const {getUserDomain:_0xabb432,getApiDomain:_0x45416c}=await import(_0x3e6abb(0x8e)),_0x12a8bb={'apiDomain':_0x45416c(),'userDomain':_0xabb432()},_0x104d28=await buildAuth(_0x47d06e);logger[_0x3e6abb(0x89)](process['cwd']());const _0x18f087=(CLI_BIN_NAME+'\x20'+process[_0x3e6abb(0x83)][_0x3e6abb(0x97)](0x2)[_0x3e6abb(0xb1)]('\x20'))['trim']();logger[_0x3e6abb(0xbb)](_0x18f087);const _0x59b57e=isNonInteractiveMode(_0x5a6267);return{'config':_0x47d06e,'auth':_0x104d28,'logger':logger,'env':_0x12a8bb,'nonInteractive':_0x59b57e};}export function buildConfigFromFlags(_0x1b1e8a){return buildConfig(readRawConfig(),_0x1b1e8a);}export function getLocalAppAliases(_0x46f08d){const _0x1d5ac3=a77_0x2b3658;return _0x46f08d['apps']&&typeof _0x46f08d[_0x1d5ac3(0x91)]===_0x1d5ac3(0x7f)?_0x46f08d[_0x1d5ac3(0x91)]:{};}export function resolveLocalAppAliasCode(_0x6b6ded,_0x1c295e){const _0x2ed428=a77_0x2b3658;if(!_0x1c295e)return undefined;const _0x4fbb01=getLocalAppAliases(_0x6b6ded)[_0x1c295e],_0x3dba75=_0x4fbb01?.[_0x2ed428(0x87)];return typeof _0x3dba75===_0x2ed428(0x7a)&&_0x3dba75['trim']()?_0x3dba75[_0x2ed428(0x7d)]():undefined;}export function readAppCodeFromConfig(){const _0x33c233=a77_0x2b3658,_0x447584=readRawConfig(),_0x42ae65=_0x447584[_0x33c233(0x87)]??_0x447584[_0x33c233(0x8d)];if(typeof _0x42ae65==='string'&&_0x42ae65[_0x33c233(0x7d)]())return _0x42ae65[_0x33c233(0x7d)]();const _0x8210a4=resolveLocalAppAliasCode(_0x447584,typeof _0x447584[_0x33c233(0x80)]===_0x33c233(0x7a)?_0x447584[_0x33c233(0x80)]:undefined);if(_0x8210a4)return _0x8210a4;const _0x373ea0=normalizeEnv(String(_0x447584[_0x33c233(0x8f)]||_0x33c233(0x9f))),_0x50fbf6=isDaily(_0x373ea0)?_0x33c233(0x9d):isDev(_0x373ea0)?_0x33c233(0x82):_0x33c233(0x9f),_0x218b38=resolveCachedAppCode(typeof _0x447584[_0x33c233(0x80)]==='string'?_0x447584[_0x33c233(0x80)]:undefined,_0x50fbf6,typeof _0x447584[_0x33c233(0x81)]===_0x33c233(0x7a)?_0x447584['accessKey']:undefined);if(_0x218b38)return _0x218b38;const _0x1f8c4b=Object[_0x33c233(0x84)](getLocalAppAliases(_0x447584))['find'](_0x13e1ee=>_0x13e1ee?.['appcode']);return typeof _0x1f8c4b?.['appcode']===_0x33c233(0x7a)&&_0x1f8c4b['appcode'][_0x33c233(0x7d)]()?_0x1f8c4b['appcode']['trim']():undefined;}export function readScopedConfig(_0x38d3ff){const _0x38c2ac=a77_0x2b3658,_0x27f08b=_0x38d3ff[_0x38c2ac(0xb0)]?_0x38c2ac(0xb0):_0x38c2ac(0x90);return readConfigFile(resolveWriteConfigPath(_0x27f08b));}export function writeScopedConfig(_0x2f88f1,_0x49bd43){const _0x1ba51c=a77_0x2b3658,_0x3d8b5b=_0x49bd43[_0x1ba51c(0xb0)]?_0x1ba51c(0xb0):_0x1ba51c(0x90);writeConfigFile(resolveWriteConfigPath(_0x3d8b5b),_0x2f88f1);}export async function initGlobalEnvironment(_0x5039a3){const _0x1eb48e=a77_0x2b3658,{initEnv:_0x2ea6b3}=await import('./constant/env.js');_0x2ea6b3(_0x5039a3[_0x1eb48e(0x8f)]);const {initDomains:_0x1e667e}=await import(_0x1eb48e(0x8e));_0x1e667e({'apiDomain':_0x5039a3[_0x1eb48e(0xa7)]['apiDomain']||_0x5039a3['raw'][_0x1eb48e(0x9a)]||undefined,'userDomain':_0x5039a3[_0x1eb48e(0xa7)][_0x1eb48e(0x9e)]||undefined,'runtimeDomain':_0x5039a3[_0x1eb48e(0xa7)]['runtimeDomain']||undefined,'skillHubDomain':_0x5039a3['raw']['skillHubDomain']||undefined});}export function getProjectConfigPath(){const _0x395fba=a77_0x2b3658;return resolveConfigPath(process[_0x395fba(0xac)]());}export function getGlobalConfigPath(){return resolveConfigPath(homedir());}export function inspectCliConfigJsonFile(_0x4a81f8){const _0x178cec=a77_0x2b3658;if(!existsSync(_0x4a81f8))return{'status':_0x178cec(0xad)};try{const _0x2a24f8=readFileSync(_0x4a81f8,{'encoding':'utf8'});if(!_0x2a24f8?.[_0x178cec(0x7d)]())return{'status':_0x178cec(0x78)};const _0x24f61d=JSON[_0x178cec(0x99)](_0x2a24f8);return{'status':'ok','data':_0x24f61d};}catch(_0x564a83){return{'status':_0x178cec(0xa6),'message':_0x564a83 instanceof Error?_0x564a83['message']:String(_0x564a83)};}}export function loadRawConfigLayers(_0xa1d562){const _0x31ffea=a77_0x2b3658;let _0x1564ca={},_0x56d920={},_0x256544,_0x4ed053;try{_0x256544=resolveConfigPath(homedir());if(_0x256544){const _0x151c9f=readFileSync(_0x256544,{'encoding':'utf8'});if(_0x151c9f)_0x1564ca=JSON['parse'](_0x151c9f);}}catch{}try{const _0x1a1b37=_0xa1d562||process[_0x31ffea(0xac)]();_0x4ed053=resolveConfigPath(_0x1a1b37);if(_0x4ed053){const _0x33541d=readFileSync(_0x4ed053,{'encoding':'utf8'});if(_0x33541d)_0x56d920=JSON[_0x31ffea(0x99)](_0x33541d);}}catch{}return{'globalPath':_0x256544,'projectPath':_0x4ed053,'globalConfig':_0x1564ca,'projectConfig':_0x56d920};}function mergeRawConfigLayers(_0x238282){const _0x3f3ba3=a77_0x2b3658,{globalConfig:_0x134834,projectConfig:_0x4acedd}=_0x238282;if(_0x4acedd[_0x3f3ba3(0xb2)]===![]){const _0x7de08b={..._0x4acedd};return delete _0x7de08b['inherit'],_0x7de08b;}const _0x283772={..._0x134834,..._0x4acedd};if('defaultApp'in _0x4acedd)_0x283772[_0x3f3ba3(0x80)]=_0x4acedd[_0x3f3ba3(0x80)];else _0x134834[_0x3f3ba3(0x80)]&&(_0x283772[_0x3f3ba3(0x80)]=_0x134834[_0x3f3ba3(0x80)]);return _0x283772;}export function isInProject(){return!!getProjectConfigPath();}function a77_0x4297(_0x50491f,_0x216914){_0x50491f=_0x50491f-0x76;const _0x3b0674=a77_0x3b06();let _0x429773=_0x3b0674[_0x50491f];return _0x429773;}export function readRawConfig(_0xc2f1ef){return mergeRawConfigLayers(loadRawConfigLayers(_0xc2f1ef));}export function readRawConfigWithLayers(_0x2d018d){const _0x1a333a=loadRawConfigLayers(_0x2d018d);return{'config':mergeRawConfigLayers(_0x1a333a),'layers':_0x1a333a};}export function resolveDefaultAppSource(_0x43b4ae){const _0x537d14=a77_0x2b3658;if(_0x537d14(0x80)in _0x43b4ae['projectConfig'])return _0x537d14(0x90);if(_0x43b4ae[_0x537d14(0x9c)][_0x537d14(0xb2)]===![])return null;if(_0x43b4ae[_0x537d14(0x92)]['defaultApp'])return'global';return null;}function buildConfig(_0x21f3e5,_0x5371d6){const _0x17d2ba=a77_0x2b3658,_0x29ef54=_0x21f3e5[_0x17d2ba(0x80)]||undefined,_0x2a7f5d=_0x5371d6[_0x17d2ba(0x8d)]||env(_0x17d2ba(0x77))||undefined,_0xc49d6f=_0x2a7f5d||_0x29ef54||undefined,_0x2cf66e=env(_0x17d2ba(0x8c))||_0x21f3e5[_0x17d2ba(0x81)]||undefined,_0x2fd4e9=_0x5371d6[_0x17d2ba(0x8f)]||env(_0x17d2ba(0xa4))||_0x21f3e5['env']||DEFAULT_CONFIG_VALUES[_0x17d2ba(0x8f)],_0xcae594=normalizeEnv(String(_0x2fd4e9)),_0x1a683b=isDaily(_0xcae594)?_0x17d2ba(0x9d):isDev(_0xcae594)?_0x17d2ba(0x82):'production',_0x1b669c=typeof _0x5371d6[_0x17d2ba(0x87)]==='string'?_0x5371d6[_0x17d2ba(0x87)]:undefined,_0x1ad392=env(_0x17d2ba(0x96)),_0x31caa5=_0x2a7f5d?undefined:_0x21f3e5['appcode']||_0x21f3e5[_0x17d2ba(0x8d)]||undefined,_0x6ed84a=_0x2a7f5d||(_0x31caa5?undefined:_0x29ef54),_0x44eee2=resolveLocalAppAliasCode(_0x21f3e5,_0x6ed84a),_0x2e4974=resolveCachedAppCode(_0x6ed84a,_0x1a683b,_0x2cf66e),_0x164b68=_0x1b669c||_0x1ad392||_0x31caa5||_0x44eee2||_0x2e4974||undefined,_0x107882=_0x1b669c?_0x17d2ba(0xb7):_0x1ad392?_0x17d2ba(0x8f):_0x31caa5?'top-level':_0x44eee2?_0x17d2ba(0x9b):_0x2e4974?_0x17d2ba(0x85):undefined,_0x1ddba1=_0x21f3e5[_0x17d2ba(0x86)]||DEFAULT_CONFIG_VALUES['locale'],_0x18b2f9=undefined,_0x8bd490=_0x5371d6['format']||env(_0x17d2ba(0xb6))||_0x21f3e5[_0x17d2ba(0xa8)],_0x336f33=normalizeLegacyOutputFormat(_0x8bd490),_0x1d571d=env(_0x17d2ba(0xb8))||_0x21f3e5['pageSize'],_0x46c41a=_0x1d571d?Number(_0x1d571d)||undefined:undefined,_0x538ecc=_0x21f3e5[_0x17d2ba(0x79)]||_0x21f3e5[_0x17d2ba(0x98)],_0x3697c4=_0x538ecc==='read'||_0x538ecc===_0x17d2ba(0xb3)||_0x538ecc==='high-risk-write'?_0x538ecc:DEFAULT_CONFIG_VALUES[_0x17d2ba(0x79)],_0x3183ad=env(_0x17d2ba(0xa1)),_0x133491=_0x3183ad==='1'||_0x3183ad==='true';return{'appCode':typeof _0x164b68===_0x17d2ba(0x7a)&&_0x164b68[_0x17d2ba(0x7d)]()?_0x164b68[_0x17d2ba(0x7d)]():undefined,'appCodeSource':_0x107882,'env':_0x1a683b,'locale':_0x1ddba1,'cookie':_0x18b2f9,'accessKey':_0x2cf66e,'format':_0x336f33,'pageSize':_0x46c41a,'riskLevel':_0x3697c4,'verbose':_0x133491,'defaultApp':_0x29ef54,'currentApp':typeof _0xc49d6f===_0x17d2ba(0x7a)?_0xc49d6f:undefined,'raw':_0x21f3e5};}function a77_0x3b06(){const _0x2f05f9=['6606085QrzJWu','code','global','join','inherit','write','online','isTTY','FORMAT','explicit','PAGE_SIZE','639856htfIWN','configFileNames','setRawCommand','2553IwomKn','1626cFtXxu','APP','empty','riskLevel','string','6648OggqZh','some','trim','650862DLhmFg','object','defaultApp','accessKey','development','argv','values','cache','locale','appcode','isRaw','setLogPath','EPERM','authRequired','ACCESS_KEY','app','./constant/domain.js','env','project','apps','globalConfig','stdin','32653053MyVNoV','EXDEV','APPCODE','slice','maxRisk','parse','host','local-alias','projectConfig','daily','userDomain','production','true','VERBOSE','stdout','.tmp','ENV','nonInteractive','error','raw','format','17395NEdNVr','utf8','517713QGPUYk','cwd','missing'];a77_0x3b06=function(){return _0x2f05f9;};return a77_0x3b06();}function env(_0x24cab5){return productEnv(_0x24cab5);}async function buildAuth(_0xccc854){const _0x5e4842=a77_0x2b3658,_0x400ead='',_0x4cad42=!!_0xccc854[_0x5e4842(0x81)];return{'cookie':_0x400ead,'isLoggedIn':_0x4cad42,async 'getOrLogin'(){const _0x59df8c=_0x5e4842;if(_0x4cad42)return _0x400ead;throw CliErrors[_0x59df8c(0x8b)]();}};}