@lovrabet/lovrabet-cli 2.1.22-beta.2 → 2.1.22-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) 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/event.js +1 -1
  103. package/lib/runtime/index.js +1 -1
  104. package/lib/runtime/queue.js +1 -1
  105. package/lib/runtime/resolve.js +1 -1
  106. package/lib/skills/npx-skills-add.js +1 -1
  107. package/lib/skills/runtime-skill-sync/constants.js +1 -1
  108. package/lib/skills/runtime-skill-sync/fs-utils.js +1 -1
  109. package/lib/skills/runtime-skill-sync/hashing.js +1 -1
  110. package/lib/skills/runtime-skill-sync/install-target.js +1 -1
  111. package/lib/skills/runtime-skill-sync/links.js +1 -1
  112. package/lib/skills/runtime-skill-sync/list-local.js +1 -1
  113. package/lib/skills/runtime-skill-sync/local-files.js +1 -1
  114. package/lib/skills/runtime-skill-sync/materialize.js +1 -1
  115. package/lib/skills/runtime-skill-sync/metadata.js +1 -1
  116. package/lib/skills/runtime-skill-sync/paths.js +1 -1
  117. package/lib/skills/runtime-skill-sync/push.js +1 -1
  118. package/lib/skills/runtime-skill-sync/scopes.js +1 -1
  119. package/lib/skills/runtime-skill-sync/zip-codec.js +1 -1
  120. package/lib/skills/runtime-skill-sync/zip-package.js +1 -1
  121. package/lib/skills/runtime-skill-sync.js +1 -1
  122. package/lib/utils/apply-jq-filter.js +1 -1
  123. package/lib/utils/logger.js +1 -1
  124. package/lib/utils/lossless-json.js +1 -1
  125. package/lib/utils/params.js +1 -1
  126. package/lib/utils/platform.js +1 -1
  127. package/lib/utils/update-notice.js +1 -1
  128. package/lib/utils/version.js +1 -1
  129. package/lib/utils/write-cli-side-channel.js +1 -1
  130. package/package.json +1 -1
@@ -1 +1 @@
1
- const a64_0x3ca195=a64_0x1abc;(function(_0x48ccdd,_0x250716){const _0x2b3e5c=a64_0x1abc,_0x50a2e7=_0x48ccdd();while(!![]){try{const _0x4444b8=parseInt(_0x2b3e5c(0xa7))/0x1*(parseInt(_0x2b3e5c(0x90))/0x2)+-parseInt(_0x2b3e5c(0xb9))/0x3+-parseInt(_0x2b3e5c(0x94))/0x4+parseInt(_0x2b3e5c(0x96))/0x5*(-parseInt(_0x2b3e5c(0xb0))/0x6)+-parseInt(_0x2b3e5c(0xbf))/0x7+-parseInt(_0x2b3e5c(0x9b))/0x8*(parseInt(_0x2b3e5c(0xba))/0x9)+-parseInt(_0x2b3e5c(0xab))/0xa*(-parseInt(_0x2b3e5c(0x93))/0xb);if(_0x4444b8===_0x250716)break;else _0x50a2e7['push'](_0x50a2e7['shift']());}catch(_0x512053){_0x50a2e7['push'](_0x50a2e7['shift']());}}}(a64_0x57ee,0x7bb36));import{CLI_BIN_NAME}from'../../constant/cli.js';function a64_0x57ee(){const _0x516319=['str','Set\x20app\x20context\x20for\x20the\x20current\x20workspace','\x0aEnv:\x20','Resolving\x20--app\x20requires\x20accessKey.\x20Pass\x20--appcode\x20directly,\x20or\x20set\x20accessKey\x20before\x20running\x20','shouldWriteEnv','boolean','yes','items','17958SihvyM','string','appName','11TmxYPS','3793868XfHAQC','app','5975ZVxLQq','trim','Usage:\x20','isArray','\x0aAccessKey:\x20not\x20written','40njMNAR','workspace\x20','command','includes','\x22\x20not\x20found.','Invalid\x20env\x20\x22','\x20workspace\x20','../../commands/app/remote-source.js','Available\x20apps:\x20','env','join','Missing\x20workspace\x20app\x20selector.','31letaBU','App\x20code\x20to\x20bind\x20directly','authRequired','appcode','29670280gJqjgl','project','apps','Target\x20environment','Run\x20`','2676pFJQID','envName','appCode','\x20--appcode\x20<code>\x20[--env\x20daily]','length','accessKey','validation','defaultApp','use','491706FzHuvP','1541655bsLamN','\x0aDefault\x20app:\x20','map','\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20pass\x20--appcode\x20directly.','workspace','1658195eBaGKY'];a64_0x57ee=function(){return _0x516319;};return a64_0x57ee();}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';function a64_0x1abc(_0x215510,_0x207775){_0x215510=_0x215510-0x88;const _0x57ee2f=a64_0x57ee();let _0x1abc58=_0x57ee2f[_0x215510];return _0x1abc58;}import{findAppByName,isRuntimeAccessibleApp,runtimeInaccessibleAppError}from'../../commands/app/eligibility.js';const WORKSPACE_USE_FLAGS=[{'name':'app','type':a64_0x3ca195(0x91),'description':'App\x20name\x20to\x20bind\x20as\x20the\x20current\x20workspace\x20default'},{'name':a64_0x3ca195(0xaa),'type':a64_0x3ca195(0x91),'description':a64_0x3ca195(0xa8)},{'name':a64_0x3ca195(0xa4),'type':a64_0x3ca195(0x91),'description':a64_0x3ca195(0xae),'enum':[...RUNTIME_ENV_VALUES]},{'name':a64_0x3ca195(0x8e),'type':a64_0x3ca195(0x8d),'description':'Compatibility\x20flag;\x20workspace\x20config\x20updates\x20are\x20non-interactive','default':![]}];async function executeWorkspaceUse(_0x101bca,_0x2113e9){const _0x15b283=a64_0x3ca195,_0x4828f2=_0x101bca[_0x15b283(0x88)](_0x15b283(0x95))[_0x15b283(0x97)](),_0x328bd1=_0x101bca['str'](_0x15b283(0xaa))['trim'](),_0x36ab52=_0x101bca[_0x15b283(0x88)](_0x15b283(0xa4))['trim'](),_0x1c525c=resolveWorkspaceEnv(_0x36ab52||_0x101bca[_0x15b283(0xb1)]||DEFAULT_CONFIG_VALUES[_0x15b283(0xa4)]);if(!_0x4828f2&&!_0x328bd1)throw CliErrors[_0x15b283(0xb6)](_0x15b283(0xa6),_0x15b283(0x98)+CLI_BIN_NAME+_0x15b283(0xa1)+_0x2113e9+'\x20--app\x20<name>\x20[--env\x20daily]\x20or\x20'+CLI_BIN_NAME+_0x15b283(0xa1)+_0x2113e9+_0x15b283(0xb3));const _0x464a2d=_0x328bd1||await resolveRemoteAppCode({'command':_0x2113e9,'appName':_0x4828f2,'env':_0x1c525c,'accessKey':_0x101bca[_0x15b283(0xb5)]}),_0x65d326=writeWorkspaceConfig({'command':_0x2113e9,'appName':_0x4828f2,'appcode':_0x464a2d,'env':_0x1c525c,'shouldWriteEnv':!!_0x36ab52,'accessKey':_0x101bca['accessKey']});return{'ok':!![],'data':{'configPath':_0x65d326,'app':_0x4828f2||null,'appcode':_0x464a2d,'env':_0x36ab52?_0x1c525c:null,'accessKeyWritten':![],'command':_0x15b283(0x9c)+_0x2113e9},'message':buildWorkspaceMessage(_0x65d326,_0x4828f2,_0x464a2d,_0x36ab52?_0x1c525c:undefined)};}async function resolveRemoteAppCode(_0x215550){const _0x1c0d6b=a64_0x3ca195;if(!_0x215550[_0x1c0d6b(0xb5)])throw CliErrors[_0x1c0d6b(0xa9)](_0x1c0d6b(0x8b)+CLI_BIN_NAME+_0x1c0d6b(0xa1)+_0x215550[_0x1c0d6b(0x9d)]+'.');const {setActiveAK:_0x17eeab}=await import('../../core/api-client.js'),{getRemoteAppList:_0x385a8a}=await import(_0x1c0d6b(0xa2));_0x17eeab(_0x215550[_0x1c0d6b(0xb5)]);const _0x3ee830=await _0x385a8a({'env':_0x215550[_0x1c0d6b(0xa4)],'accessKey':_0x215550['accessKey'],'noCache':![]}),_0x210358=findAppByName(_0x3ee830[_0x1c0d6b(0x8f)],_0x215550[_0x1c0d6b(0x92)]);if(_0x210358&&!isRuntimeAccessibleApp(_0x210358))throw runtimeInaccessibleAppError(_0x210358,'\x22'+_0x215550['appName']+'\x22');const _0x30ceca=_0x210358?.[_0x1c0d6b(0xb2)]?.[_0x1c0d6b(0x97)]();if(_0x30ceca)return _0x30ceca;const _0x1eac8e=_0x3ee830[_0x1c0d6b(0x8f)][_0x1c0d6b(0xbc)](_0x1c52e3=>_0x1c52e3[_0x1c0d6b(0x92)])['filter'](Boolean),_0x5e56ae=_0x1eac8e[_0x1c0d6b(0xb4)]?_0x1c0d6b(0xa3)+Array['from'](new Set(_0x1eac8e))[_0x1c0d6b(0xa5)](',\x20')+'.':_0x1c0d6b(0xaf)+CLI_BIN_NAME+_0x1c0d6b(0xbd);throw CliErrors[_0x1c0d6b(0xb6)]('App\x20\x22'+_0x215550[_0x1c0d6b(0x92)]+_0x1c0d6b(0x9f),_0x5e56ae);}function writeWorkspaceConfig(_0x2d303d){const _0x56239e=a64_0x3ca195,_0x431feb=resolveWriteConfigPath(_0x56239e(0xac)),_0x26a114=readConfigFile(_0x431feb);_0x2d303d[_0x56239e(0x8c)]&&(_0x26a114[_0x56239e(0xa4)]=_0x2d303d['env']);if(_0x2d303d[_0x56239e(0x92)]){const _0x10d5ba=isRecord(_0x26a114[_0x56239e(0xad)])?{..._0x26a114[_0x56239e(0xad)]}:{},_0x2ea90c=isRecord(_0x10d5ba[_0x2d303d[_0x56239e(0x92)]])?_0x10d5ba[_0x2d303d[_0x56239e(0x92)]]:{};_0x10d5ba[_0x2d303d[_0x56239e(0x92)]]={..._0x2ea90c,'appcode':_0x2d303d[_0x56239e(0xaa)]},_0x26a114['apps']=_0x10d5ba,_0x26a114[_0x56239e(0xb7)]=_0x2d303d[_0x56239e(0x92)];if(_0x26a114[_0x56239e(0x95)])delete _0x26a114[_0x56239e(0x95)];return writeAndReturn(_0x431feb,_0x26a114);}_0x26a114[_0x56239e(0xaa)]=_0x2d303d[_0x56239e(0xaa)];if(_0x26a114[_0x56239e(0x95)])delete _0x26a114[_0x56239e(0x95)];return writeAndReturn(_0x431feb,_0x26a114);}function writeAndReturn(_0x559221,_0xf141bb){return writeConfigFile(_0x559221,_0xf141bb),_0x559221;}function resolveWorkspaceEnv(_0x1a7c33){const _0x303793=a64_0x3ca195;if(RUNTIME_ENV_VALUES[_0x303793(0x9e)](_0x1a7c33))return _0x1a7c33;throw CliErrors['validation'](_0x303793(0xa0)+_0x1a7c33+'\x22.\x20Allowed:\x20'+RUNTIME_ENV_VALUES[_0x303793(0xa5)](',\x20'));}function buildWorkspaceMessage(_0x445a36,_0x29b129,_0x52f931,_0x6a5a1c){const _0xf93bc7=a64_0x3ca195,_0x599470=_0x29b129?_0x29b129+'\x20('+_0x52f931+')':_0x52f931,_0x409d3e=_0x6a5a1c?_0xf93bc7(0x8a)+_0x6a5a1c:'';return'Workspace\x20configured.\x0aConfig\x20file:\x20'+_0x445a36+_0xf93bc7(0xbb)+_0x599470+_0x409d3e+_0xf93bc7(0x9a);}function isRecord(_0x14c29){const _0x168dc6=a64_0x3ca195;return typeof _0x14c29==='object'&&_0x14c29!==null&&!Array[_0x168dc6(0x99)](_0x14c29);}function makeWorkspaceCommand(_0x177975){const _0x327e8d=a64_0x3ca195;return{'service':_0x327e8d(0xbe),'command':_0x177975,'description':_0x177975==='init'?'Initialize\x20app\x20context\x20for\x20the\x20current\x20workspace':_0x327e8d(0x89),'risk':'write','requiresAuth':![],'requiresAppCode':![],'hasFormat':!![],'flags':WORKSPACE_USE_FLAGS,async 'execute'(_0x4273ae){return executeWorkspaceUse(_0x4273ae,_0x177975);}};}export const workspaceDefinitions=[makeWorkspaceCommand('init'),makeWorkspaceCommand(a64_0x3ca195(0xb8))];
1
+ const a64_0x2e8103=a64_0x37b2;(function(_0x309849,_0x30d746){const _0x3185da=a64_0x37b2,_0x131255=_0x309849();while(!![]){try{const _0x371f9e=parseInt(_0x3185da(0x1dd))/0x1+-parseInt(_0x3185da(0x1d0))/0x2*(parseInt(_0x3185da(0x1e7))/0x3)+-parseInt(_0x3185da(0x1e8))/0x4*(-parseInt(_0x3185da(0x1fe))/0x5)+parseInt(_0x3185da(0x1ef))/0x6+parseInt(_0x3185da(0x1d7))/0x7*(parseInt(_0x3185da(0x1d3))/0x8)+-parseInt(_0x3185da(0x1e5))/0x9+-parseInt(_0x3185da(0x1f1))/0xa;if(_0x371f9e===_0x30d746)break;else _0x131255['push'](_0x131255['shift']());}catch(_0x3d15c9){_0x131255['push'](_0x131255['shift']());}}}(a64_0x58f1,0xacb52));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':'string','description':'App\x20name\x20to\x20bind\x20as\x20the\x20current\x20workspace\x20default'},{'name':a64_0x2e8103(0x1d8),'type':'string','description':a64_0x2e8103(0x1c9)},{'name':a64_0x2e8103(0x1dc),'type':'string','description':'Target\x20environment','enum':[...RUNTIME_ENV_VALUES]},{'name':a64_0x2e8103(0x1d4),'type':a64_0x2e8103(0x1cd),'description':'Compatibility\x20flag;\x20workspace\x20config\x20updates\x20are\x20non-interactive','default':![]}];async function executeWorkspaceUse(_0x1c64c7,_0x4d019c){const _0x44d0f5=a64_0x2e8103,_0xe3d640=_0x1c64c7[_0x44d0f5(0x1d1)](_0x44d0f5(0x1ed))[_0x44d0f5(0x1d2)](),_0x5de24c=_0x1c64c7['str'](_0x44d0f5(0x1d8))['trim'](),_0x24b8c7=_0x1c64c7[_0x44d0f5(0x1d1)](_0x44d0f5(0x1dc))[_0x44d0f5(0x1d2)](),_0x1a7af1=resolveWorkspaceEnv(_0x24b8c7||_0x1c64c7[_0x44d0f5(0x1f7)]||DEFAULT_CONFIG_VALUES[_0x44d0f5(0x1dc)]);if(!_0xe3d640&&!_0x5de24c)throw CliErrors[_0x44d0f5(0x1fd)](_0x44d0f5(0x1fb),_0x44d0f5(0x1d6)+CLI_BIN_NAME+_0x44d0f5(0x1cc)+_0x4d019c+'\x20--app\x20<name>\x20[--env\x20daily]\x20or\x20'+CLI_BIN_NAME+_0x44d0f5(0x1cc)+_0x4d019c+'\x20--appcode\x20<code>\x20[--env\x20daily]');const _0x2eb4e4=_0x5de24c||await resolveRemoteAppCode({'command':_0x4d019c,'appName':_0xe3d640,'env':_0x1a7af1,'accessKey':_0x1c64c7[_0x44d0f5(0x1f6)]}),_0x11922b=writeWorkspaceConfig({'command':_0x4d019c,'appName':_0xe3d640,'appcode':_0x2eb4e4,'env':_0x1a7af1,'shouldWriteEnv':!!_0x24b8c7,'accessKey':_0x1c64c7[_0x44d0f5(0x1f6)]});return{'ok':!![],'data':{'configPath':_0x11922b,'app':_0xe3d640||null,'appcode':_0x2eb4e4,'env':_0x24b8c7?_0x1a7af1:null,'accessKeyWritten':![],'command':_0x44d0f5(0x1fc)+_0x4d019c},'message':buildWorkspaceMessage(_0x11922b,_0xe3d640,_0x2eb4e4,_0x24b8c7?_0x1a7af1:undefined)};}function a64_0x58f1(){const _0x126651=['join','env','768969JXuXZd','appName','map','Initialize\x20app\x20context\x20for\x20the\x20current\x20workspace','appCode','use','init','App\x20\x22','9146403AegIPN','shouldWriteEnv','1329fhXcVH','337684GuFrxP','object','../../commands/app/remote-source.js','length','\x0aAccessKey:\x20not\x20written','app','includes','4118988aCugMf','defaultApp','5681280xPzhEA','\x22\x20not\x20found.','\x22.\x20Allowed:\x20','isArray','items','accessKey','envName','Run\x20`','workspace','apps','Missing\x20workspace\x20app\x20selector.','workspace\x20','validation','20GTjSEI','filter','App\x20code\x20to\x20bind\x20directly','\x0aEnv:\x20','\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20pass\x20--appcode\x20directly.','\x20workspace\x20','boolean','write','command','2274GXMKkX','str','trim','24tEuYXK','yes','../../core/api-client.js','Usage:\x20','2338805vLafAg','appcode','Invalid\x20env\x20\x22','\x0aDefault\x20app:\x20'];a64_0x58f1=function(){return _0x126651;};return a64_0x58f1();}async function resolveRemoteAppCode(_0x231cc7){const _0x5480d6=a64_0x2e8103;if(!_0x231cc7['accessKey'])throw CliErrors['authRequired']('Resolving\x20--app\x20requires\x20accessKey.\x20Pass\x20--appcode\x20directly,\x20or\x20set\x20accessKey\x20before\x20running\x20'+CLI_BIN_NAME+_0x5480d6(0x1cc)+_0x231cc7[_0x5480d6(0x1cf)]+'.');const {setActiveAK:_0x298038}=await import(_0x5480d6(0x1d5)),{getRemoteAppList:_0x3c2a26}=await import(_0x5480d6(0x1ea));_0x298038(_0x231cc7['accessKey']);const _0x76d6d=await _0x3c2a26({'env':_0x231cc7[_0x5480d6(0x1dc)],'accessKey':_0x231cc7[_0x5480d6(0x1f6)],'noCache':![]}),_0x491fe8=findAppByName(_0x76d6d['items'],_0x231cc7[_0x5480d6(0x1de)]);if(_0x491fe8&&!isRuntimeAccessibleApp(_0x491fe8))throw runtimeInaccessibleAppError(_0x491fe8,'\x22'+_0x231cc7[_0x5480d6(0x1de)]+'\x22');const _0x22962b=_0x491fe8?.[_0x5480d6(0x1e1)]?.['trim']();if(_0x22962b)return _0x22962b;const _0x2b2dd5=_0x76d6d[_0x5480d6(0x1f5)][_0x5480d6(0x1df)](_0x410983=>_0x410983[_0x5480d6(0x1de)])[_0x5480d6(0x1ff)](Boolean),_0x1b565e=_0x2b2dd5[_0x5480d6(0x1eb)]?'Available\x20apps:\x20'+Array['from'](new Set(_0x2b2dd5))[_0x5480d6(0x1db)](',\x20')+'.':_0x5480d6(0x1f8)+CLI_BIN_NAME+_0x5480d6(0x1cb);throw CliErrors['validation'](_0x5480d6(0x1e4)+_0x231cc7[_0x5480d6(0x1de)]+_0x5480d6(0x1f2),_0x1b565e);}function a64_0x37b2(_0x2b57e2,_0x113407){_0x2b57e2=_0x2b57e2-0x1c9;const _0x58f1d7=a64_0x58f1();let _0x37b2da=_0x58f1d7[_0x2b57e2];return _0x37b2da;}function writeWorkspaceConfig(_0x2f7677){const _0x45baf7=a64_0x2e8103,_0x1fd262=resolveWriteConfigPath('project'),_0x184d5a=readConfigFile(_0x1fd262);_0x2f7677[_0x45baf7(0x1e6)]&&(_0x184d5a[_0x45baf7(0x1dc)]=_0x2f7677[_0x45baf7(0x1dc)]);if(_0x2f7677[_0x45baf7(0x1de)]){const _0x42e0be=isRecord(_0x184d5a[_0x45baf7(0x1fa)])?{..._0x184d5a[_0x45baf7(0x1fa)]}:{},_0x2c27d1=isRecord(_0x42e0be[_0x2f7677[_0x45baf7(0x1de)]])?_0x42e0be[_0x2f7677[_0x45baf7(0x1de)]]:{};_0x42e0be[_0x2f7677[_0x45baf7(0x1de)]]={..._0x2c27d1,'appcode':_0x2f7677[_0x45baf7(0x1d8)]},_0x184d5a[_0x45baf7(0x1fa)]=_0x42e0be,_0x184d5a[_0x45baf7(0x1f0)]=_0x2f7677[_0x45baf7(0x1de)];if(_0x184d5a[_0x45baf7(0x1ed)])delete _0x184d5a['app'];return writeAndReturn(_0x1fd262,_0x184d5a);}_0x184d5a[_0x45baf7(0x1d8)]=_0x2f7677[_0x45baf7(0x1d8)];if(_0x184d5a[_0x45baf7(0x1ed)])delete _0x184d5a[_0x45baf7(0x1ed)];return writeAndReturn(_0x1fd262,_0x184d5a);}function writeAndReturn(_0x2a03cc,_0x1b84eb){return writeConfigFile(_0x2a03cc,_0x1b84eb),_0x2a03cc;}function resolveWorkspaceEnv(_0x3be03a){const _0x23cab9=a64_0x2e8103;if(RUNTIME_ENV_VALUES[_0x23cab9(0x1ee)](_0x3be03a))return _0x3be03a;throw CliErrors[_0x23cab9(0x1fd)](_0x23cab9(0x1d9)+_0x3be03a+_0x23cab9(0x1f3)+RUNTIME_ENV_VALUES[_0x23cab9(0x1db)](',\x20'));}function buildWorkspaceMessage(_0xf78faa,_0x1150f9,_0x440447,_0x470f17){const _0x2c625d=a64_0x2e8103,_0x560f30=_0x1150f9?_0x1150f9+'\x20('+_0x440447+')':_0x440447,_0x578e6d=_0x470f17?_0x2c625d(0x1ca)+_0x470f17:'';return'Workspace\x20configured.\x0aConfig\x20file:\x20'+_0xf78faa+_0x2c625d(0x1da)+_0x560f30+_0x578e6d+_0x2c625d(0x1ec);}function isRecord(_0x5aabd8){const _0x576d74=a64_0x2e8103;return typeof _0x5aabd8===_0x576d74(0x1e9)&&_0x5aabd8!==null&&!Array[_0x576d74(0x1f4)](_0x5aabd8);}function makeWorkspaceCommand(_0x7d1fee){const _0x2b5bc6=a64_0x2e8103;return{'service':_0x2b5bc6(0x1f9),'command':_0x7d1fee,'description':_0x7d1fee==='init'?_0x2b5bc6(0x1e0):'Set\x20app\x20context\x20for\x20the\x20current\x20workspace','risk':_0x2b5bc6(0x1ce),'requiresAuth':![],'requiresAppCode':![],'hasFormat':!![],'flags':WORKSPACE_USE_FLAGS,async 'execute'(_0x594abd){return executeWorkspaceUse(_0x594abd,_0x7d1fee);}};}export const workspaceDefinitions=[makeWorkspaceCommand(a64_0x2e8103(0x1e3)),makeWorkspaceCommand(a64_0x2e8103(0x1e2))];
@@ -1 +1 @@
1
- const a65_0xb800af=a65_0x26d9;(function(_0x3d1c1a,_0x1e6483){const _0x55697b=a65_0x26d9,_0x9d1f69=_0x3d1c1a();while(!![]){try{const _0x414dbe=parseInt(_0x55697b(0x9e))/0x1+-parseInt(_0x55697b(0x86))/0x2+-parseInt(_0x55697b(0x95))/0x3+-parseInt(_0x55697b(0x96))/0x4+-parseInt(_0x55697b(0x9d))/0x5+-parseInt(_0x55697b(0x97))/0x6*(parseInt(_0x55697b(0x8d))/0x7)+parseInt(_0x55697b(0x8b))/0x8;if(_0x414dbe===_0x1e6483)break;else _0x9d1f69['push'](_0x9d1f69['shift']());}catch(_0x553623){_0x9d1f69['push'](_0x9d1f69['shift']());}}}(a65_0x3246,0x51b03));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_0xb800af(0x91),'topLevel':!![],'cliSettableTopLevel':!![],'enumValues':RUNTIME_ENV_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES['env'],'importable':!![]},'format':{'description':a65_0xb800af(0x9c),'topLevel':!![],'cliSettableTopLevel':!![],'enumValues':OUTPUT_FORMAT_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES[a65_0xb800af(0x92)],'importable':!![]},'pageSize':{'description':'Default\x20page\x20size','topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'apiDomain':{'description':a65_0xb800af(0x89),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'userDomain':{'description':a65_0xb800af(0x8e),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'runtimeDomain':{'description':a65_0xb800af(0xa1),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'skillHubDomain':{'description':a65_0xb800af(0x99),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'accessKey':{'description':'Access\x20key\x20(client-ak\x20auth)','topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'riskLevel':{'description':a65_0xb800af(0x87),'topLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES[a65_0xb800af(0xa0)],'importable':!![]},'locale':{'description':a65_0xb800af(0x98),'topLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES[a65_0xb800af(0x93)],'importable':!![],'legacyCompatOnly':!![]}};export const TOP_LEVEL_CONFIG_KEYS=new Set(Object[a65_0xb800af(0x90)](CONFIG_FIELD_SCHEMAS)['filter'](([,_0x506f9c])=>_0x506f9c[a65_0xb800af(0x9a)])['map'](([_0x19ece3])=>_0x19ece3));export const CONFIG_ENUM_VALUES=Object['fromEntries'](Object[a65_0xb800af(0x90)](CONFIG_FIELD_SCHEMAS)[a65_0xb800af(0x94)](([,_0x2563eb])=>_0x2563eb[a65_0xb800af(0x8a)])[a65_0xb800af(0x8f)](([_0x650763,_0x2902b8])=>[_0x650763,[..._0x2902b8[a65_0xb800af(0x8a)]||[]]]));export const IMPORTABLE_RUNTIME_CONFIG_KEYS=Object[a65_0xb800af(0x90)](CONFIG_FIELD_SCHEMAS)[a65_0xb800af(0x94)](([,_0x26c66f])=>_0x26c66f[a65_0xb800af(0x9b)])[a65_0xb800af(0x8f)](([_0x3faeac])=>_0x3faeac);export function getConfigFieldSchema(_0x5ebfc3){return CONFIG_FIELD_SCHEMAS[_0x5ebfc3];}export function getConfigEnumValues(_0x13fd21){return getConfigFieldSchema(_0x13fd21)?.['enumValues'];}function a65_0x26d9(_0x410b14,_0x127fe2){_0x410b14=_0x410b14-0x85;const _0x324612=a65_0x3246();let _0x26d984=_0x324612[_0x410b14];return _0x26d984;}export function getConfigDefaultValue(_0x3c82d4){const _0x307cd5=a65_0xb800af;return getConfigFieldSchema(_0x3c82d4)?.[_0x307cd5(0xa2)];}export function isTopLevelConfigKey(_0x400306){return TOP_LEVEL_CONFIG_KEYS['has'](_0x400306);}export function isLegacyCompatConfigKey(_0x4ce11b){const _0x4c9415=a65_0xb800af;return getConfigFieldSchema(_0x4ce11b)?.[_0x4c9415(0x8c)]===!![];}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function formatConfigKeyList(_0x2308a3){const _0x46fec1=a65_0xb800af;return[..._0x2308a3][_0x46fec1(0x9f)](',\x20');}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x171c73=a65_0xb800af;return _0x171c73(0x88)+getTopLevelConfigKeySummary()+_0x171c73(0x85);}function a65_0x3246(){const _0x118511=['Default\x20output\x20format','2857850yaEzAZ','542839BrKGGT','join','riskLevel','Override\x20runtime\x20domain','defaultValue',';\x20local\x20alias:\x20apps.<alias>.appcode','1092308gyXBPJ','Risk\x20level','Config\x20key.\x20Top-level:\x20','Override\x20API\x20domain','enumValues','10396712KlRLxT','legacyCompatOnly','56YfdnTg','Override\x20user\x20domain','map','entries','Target\x20environment','format','locale','filter','1023795WYHtMv','81904BMbIjd','21276dSQNXI','Locale','Override\x20SkillHub\x20domain','cliSettableTopLevel','importable'];a65_0x3246=function(){return _0x118511;};return a65_0x3246();}export function buildAppProfileListFields(_0x2fca78){return{'env':_0x2fca78,'hasAccessKey':![],'format':null,'pageSize':null,'riskLevel':null,'locale':null};}
1
+ const a65_0x529b37=a65_0x251b;(function(_0x4663ab,_0x27f477){const _0x5c2a16=a65_0x251b,_0x5176c7=_0x4663ab();while(!![]){try{const _0x14aa4d=parseInt(_0x5c2a16(0x8d))/0x1*(parseInt(_0x5c2a16(0xa5))/0x2)+-parseInt(_0x5c2a16(0x97))/0x3*(-parseInt(_0x5c2a16(0x93))/0x4)+parseInt(_0x5c2a16(0xa4))/0x5*(parseInt(_0x5c2a16(0x9c))/0x6)+parseInt(_0x5c2a16(0xa6))/0x7*(parseInt(_0x5c2a16(0x98))/0x8)+-parseInt(_0x5c2a16(0x9e))/0x9*(-parseInt(_0x5c2a16(0x8a))/0xa)+-parseInt(_0x5c2a16(0x92))/0xb*(parseInt(_0x5c2a16(0x95))/0xc)+parseInt(_0x5c2a16(0x9f))/0xd*(-parseInt(_0x5c2a16(0xa2))/0xe);if(_0x14aa4d===_0x27f477)break;else _0x5176c7['push'](_0x5176c7['shift']());}catch(_0xf2056b){_0x5176c7['push'](_0x5176c7['shift']());}}}(a65_0x7d4c,0x386b9));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{RUNTIME_ENV_VALUES}from'../constant/env.js';function a65_0x7d4c(){const _0x194d81=['Target\x20environment','Override\x20API\x20domain','Default\x20output\x20format','riskLevel','2083301xKyRew','28crRSTJ','defaultValue','24SziHTk','Override\x20SkillHub\x20domain','16197hotHJT','452792WWUjIJ','fromEntries','entries','map','576mdcAQq','format','1487268INaPqa','13ULqzOO','has','importable','1157506TMwedG','filter','9335uGmRkN','4780FdVKme','7rdQwvZ','enumValues','legacyCompatOnly','Override\x20user\x20domain','Risk\x20level','Default\x20page\x20size','20QBzbET','Override\x20runtime\x20domain','Config\x20key.\x20Top-level:\x20','37qXZgMK'];a65_0x7d4c=function(){return _0x194d81;};return a65_0x7d4c();}import{OUTPUT_FORMAT_VALUES}from'../constant/output.js';export const CONFIG_FIELD_SCHEMAS={'env':{'description':a65_0x529b37(0x8e),'topLevel':!![],'cliSettableTopLevel':!![],'enumValues':RUNTIME_ENV_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES['env'],'importable':!![]},'format':{'description':a65_0x529b37(0x90),'topLevel':!![],'cliSettableTopLevel':!![],'enumValues':OUTPUT_FORMAT_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES[a65_0x529b37(0x9d)],'importable':!![]},'pageSize':{'description':a65_0x529b37(0xab),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'apiDomain':{'description':a65_0x529b37(0x8f),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'userDomain':{'description':a65_0x529b37(0xa9),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'runtimeDomain':{'description':a65_0x529b37(0x8b),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'skillHubDomain':{'description':a65_0x529b37(0x96),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'accessKey':{'description':'Access\x20key\x20(client-ak\x20auth)','topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'riskLevel':{'description':a65_0x529b37(0xaa),'topLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES[a65_0x529b37(0x91)],'importable':!![]},'locale':{'description':'Locale','topLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES['locale'],'importable':!![],'legacyCompatOnly':!![]}};export const TOP_LEVEL_CONFIG_KEYS=new Set(Object[a65_0x529b37(0x9a)](CONFIG_FIELD_SCHEMAS)[a65_0x529b37(0xa3)](([,_0x13b5f3])=>_0x13b5f3['cliSettableTopLevel'])[a65_0x529b37(0x9b)](([_0x747159])=>_0x747159));export const CONFIG_ENUM_VALUES=Object[a65_0x529b37(0x99)](Object['entries'](CONFIG_FIELD_SCHEMAS)[a65_0x529b37(0xa3)](([,_0xf2794e])=>_0xf2794e['enumValues'])['map'](([_0x553694,_0x4acf8d])=>[_0x553694,[..._0x4acf8d['enumValues']||[]]]));export const IMPORTABLE_RUNTIME_CONFIG_KEYS=Object[a65_0x529b37(0x9a)](CONFIG_FIELD_SCHEMAS)[a65_0x529b37(0xa3)](([,_0x668eb0])=>_0x668eb0[a65_0x529b37(0xa1)])[a65_0x529b37(0x9b)](([_0x1101fd])=>_0x1101fd);export function getConfigFieldSchema(_0xa47474){return CONFIG_FIELD_SCHEMAS[_0xa47474];}export function getConfigEnumValues(_0x5c4e8a){const _0x1be4b3=a65_0x529b37;return getConfigFieldSchema(_0x5c4e8a)?.[_0x1be4b3(0xa7)];}export function getConfigDefaultValue(_0x406162){const _0x325ed1=a65_0x529b37;return getConfigFieldSchema(_0x406162)?.[_0x325ed1(0x94)];}export function isTopLevelConfigKey(_0x1c7e1e){const _0x263fc0=a65_0x529b37;return TOP_LEVEL_CONFIG_KEYS[_0x263fc0(0xa0)](_0x1c7e1e);}export function isLegacyCompatConfigKey(_0x4ccb9f){const _0x2a1b22=a65_0x529b37;return getConfigFieldSchema(_0x4ccb9f)?.[_0x2a1b22(0xa8)]===!![];}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function formatConfigKeyList(_0xee1bcf){return[..._0xee1bcf]['join'](',\x20');}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}function a65_0x251b(_0x2432f0,_0x236f8b){_0x2432f0=_0x2432f0-0x8a;const _0x7d4cbf=a65_0x7d4c();let _0x251ba8=_0x7d4cbf[_0x2432f0];return _0x251ba8;}export function getConfigCommandKeyDescription(){const _0x27fea5=a65_0x529b37;return _0x27fea5(0x8c)+getTopLevelConfigKeySummary()+';\x20local\x20alias:\x20apps.<alias>.appcode';}export function buildAppProfileListFields(_0xe5e506){return{'env':_0xe5e506,'hasAccessKey':![],'format':null,'pageSize':null,'riskLevel':null,'locale':null};}
@@ -1 +1 @@
1
- const a66_0x5bfef2=a66_0x5c0f;function a66_0x2426(){const _0x1b0c94=['PUBLISHED','1354362rmxiEw','23350668vyhZkv','3773112BfyrDI','10QDEDov','2115489DodCjl','5KJLDXA','2dOMaIS','3624dpWdrg','9833152cpKMEO','3618954PmXgFt','10503ZgkQPY'];a66_0x2426=function(){return _0x1b0c94;};return a66_0x2426();}function a66_0x5c0f(_0x36918b,_0x58f1cf){_0x36918b=_0x36918b-0x1cb;const _0x2426f7=a66_0x2426();let _0x5c0fd6=_0x2426f7[_0x36918b];return _0x5c0fd6;}(function(_0x5a215a,_0x5e4f0d){const _0x19b8f9=a66_0x5c0f,_0x4ac291=_0x5a215a();while(!![]){try{const _0x1ff7be=parseInt(_0x19b8f9(0x1cd))/0x1+parseInt(_0x19b8f9(0x1d3))/0x2*(parseInt(_0x19b8f9(0x1d1))/0x3)+-parseInt(_0x19b8f9(0x1cf))/0x4+-parseInt(_0x19b8f9(0x1d2))/0x5*(parseInt(_0x19b8f9(0x1d6))/0x6)+-parseInt(_0x19b8f9(0x1d5))/0x7+parseInt(_0x19b8f9(0x1d4))/0x8*(-parseInt(_0x19b8f9(0x1cb))/0x9)+-parseInt(_0x19b8f9(0x1d0))/0xa*(-parseInt(_0x19b8f9(0x1ce))/0xb);if(_0x1ff7be===_0x5e4f0d)break;else _0x4ac291['push'](_0x4ac291['shift']());}catch(_0x5938d5){_0x4ac291['push'](_0x4ac291['shift']());}}}(a66_0x2426,0xab819));export const APP_PUBLISH_STATUS={'Published':a66_0x5bfef2(0x1cc),'Unpublished':'UNPUBLISH'};export const RUNTIME_ACCESSIBLE_APP_STATUS=APP_PUBLISH_STATUS['Published'];
1
+ const a66_0x478624=a66_0x1550;(function(_0x275a17,_0x408977){const _0x347f6a=a66_0x1550,_0x1bb5ed=_0x275a17();while(!![]){try{const _0x574d7f=-parseInt(_0x347f6a(0x1fe))/0x1*(-parseInt(_0x347f6a(0x1f4))/0x2)+parseInt(_0x347f6a(0x1fb))/0x3+parseInt(_0x347f6a(0x1fc))/0x4+parseInt(_0x347f6a(0x1fd))/0x5*(parseInt(_0x347f6a(0x1f6))/0x6)+-parseInt(_0x347f6a(0x201))/0x7*(parseInt(_0x347f6a(0x1f9))/0x8)+parseInt(_0x347f6a(0x1f5))/0x9*(-parseInt(_0x347f6a(0x1f3))/0xa)+parseInt(_0x347f6a(0x1fa))/0xb*(parseInt(_0x347f6a(0x1ff))/0xc);if(_0x574d7f===_0x408977)break;else _0x1bb5ed['push'](_0x1bb5ed['shift']());}catch(_0x4f99d4){_0x1bb5ed['push'](_0x1bb5ed['shift']());}}}(a66_0x499a,0x20e3d));export const APP_PUBLISH_STATUS={'Published':a66_0x478624(0x1f7),'Unpublished':a66_0x478624(0x200)};export const RUNTIME_ACCESSIBLE_APP_STATUS=APP_PUBLISH_STATUS[a66_0x478624(0x1f8)];function a66_0x1550(_0x36a061,_0x543ca1){_0x36a061=_0x36a061-0x1f3;const _0x499a63=a66_0x499a();let _0x1550d4=_0x499a63[_0x36a061];return _0x1550d4;}function a66_0x499a(){const _0x5da639=['UNPUBLISH','7fvwuJl','2125610lqBJas','18SKjTfu','9doUWBl','24258wBjKBJ','PUBLISHED','Published','607816OgpHDU','118239rbHeuK','125427luVzFN','611448mlzPVG','125txyzoB','1030XfgkXs','132kBMeQj'];a66_0x499a=function(){return _0x5da639;};return a66_0x499a();}
@@ -1 +1 @@
1
- function a67_0xd21b(_0x9a5539,_0x3fabe8){_0x9a5539=_0x9a5539-0xf1;const _0x86e20c=a67_0x86e2();let _0xd21b93=_0x86e20c[_0x9a5539];return _0xd21b93;}(function(_0xc42a73,_0x4fd8df){const _0x13eceb=a67_0xd21b,_0x41f533=_0xc42a73();while(!![]){try{const _0x24fa77=parseInt(_0x13eceb(0xf5))/0x1*(-parseInt(_0x13eceb(0xf2))/0x2)+parseInt(_0x13eceb(0xf8))/0x3*(parseInt(_0x13eceb(0xf6))/0x4)+parseInt(_0x13eceb(0xf4))/0x5+parseInt(_0x13eceb(0xf3))/0x6+parseInt(_0x13eceb(0xf1))/0x7+parseInt(_0x13eceb(0xf9))/0x8+-parseInt(_0x13eceb(0xf7))/0x9;if(_0x24fa77===_0x4fd8df)break;else _0x41f533['push'](_0x41f533['shift']());}catch(_0x3cae7f){_0x41f533['push'](_0x41f533['shift']());}}}(a67_0x86e2,0x21e31));export const AUTH_MODE={'ClientAk':'client-ak'};export function isAuthMode(_0x179462){return _0x179462===AUTH_MODE['ClientAk'];}function a67_0x86e2(){const _0x2c3394=['43630YhcMYS','7039yQIcYo','4SrgaJu','2169306mhHiXK','501801UYtocf','1165760UewPsD','955549dCdUdH','62WkSOlU','838944snsAth'];a67_0x86e2=function(){return _0x2c3394;};return a67_0x86e2();}
1
+ function a67_0x7bf7(_0xa9676f,_0x1b8d57){_0xa9676f=_0xa9676f-0x174;const _0x509686=a67_0x5096();let _0x7bf7ba=_0x509686[_0xa9676f];return _0x7bf7ba;}const a67_0x3ae6e4=a67_0x7bf7;function a67_0x5096(){const _0x46d1b9=['1749080AsflIo','509360EUKYgL','338TuCWpt','1658713HydPyV','1593iEMXuX','13627953QeAfzh','ClientAk','12oNdYWE','3911952OgioHF','1885584qrjxyO','client-ak'];a67_0x5096=function(){return _0x46d1b9;};return a67_0x5096();}(function(_0x1edef6,_0x5e9e08){const _0x262409=a67_0x7bf7,_0x79ece2=_0x1edef6();while(!![]){try{const _0x247d64=-parseInt(_0x262409(0x17d))/0x1+parseInt(_0x262409(0x17e))/0x2*(parseInt(_0x262409(0x175))/0x3)+-parseInt(_0x262409(0x17a))/0x4+-parseInt(_0x262409(0x17c))/0x5+parseInt(_0x262409(0x178))/0x6*(-parseInt(_0x262409(0x174))/0x7)+parseInt(_0x262409(0x179))/0x8+parseInt(_0x262409(0x176))/0x9;if(_0x247d64===_0x5e9e08)break;else _0x79ece2['push'](_0x79ece2['shift']());}catch(_0x585d45){_0x79ece2['push'](_0x79ece2['shift']());}}}(a67_0x5096,0x466cc));export const AUTH_MODE={'ClientAk':a67_0x3ae6e4(0x17b)};export function isAuthMode(_0x2d1bba){const _0x3c7cfc=a67_0x3ae6e4;return _0x2d1bba===AUTH_MODE[_0x3c7cfc(0x177)];}
@@ -1 +1 @@
1
- const a68_0x3c88f8=a68_0x35ab;(function(_0x3a67d3,_0x413f1c){const _0x1a0997=a68_0x35ab,_0x457ed3=_0x3a67d3();while(!![]){try{const _0x3aa4c1=-parseInt(_0x1a0997(0xb1))/0x1+parseInt(_0x1a0997(0xa5))/0x2+-parseInt(_0x1a0997(0xab))/0x3+parseInt(_0x1a0997(0xc5))/0x4*(parseInt(_0x1a0997(0x9f))/0x5)+-parseInt(_0x1a0997(0xc8))/0x6*(parseInt(_0x1a0997(0xba))/0x7)+parseInt(_0x1a0997(0xa8))/0x8+parseInt(_0x1a0997(0xb7))/0x9*(parseInt(_0x1a0997(0xae))/0xa);if(_0x3aa4c1===_0x413f1c)break;else _0x457ed3['push'](_0x457ed3['shift']());}catch(_0x1041dc){_0x457ed3['push'](_0x457ed3['shift']());}}}(a68_0x8a57,0x234db));import{PRODUCT_CONFIG}from'../constant/product.js';import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';export const CLI_BIN_NAME=PRODUCT_CONFIG['cliBinName'];export const CLI_DISPLAY_NAME=PRODUCT_CONFIG[a68_0x3c88f8(0xa0)];function a68_0x35ab(_0x179f88,_0x12c628){_0x179f88=_0x179f88-0x9b;const _0x8a576b=a68_0x8a57();let _0x35ab92=_0x8a576b[_0x179f88];return _0x35ab92;}export const NPM_PACKAGE_NAME=LOVRABET_NPM_PACKAGE_NAME;export const GLOBAL_FLAGS=[{'name':a68_0x3c88f8(0xa9),'meowKey':a68_0x3c88f8(0xa9),'type':'string','description':a68_0x3c88f8(0xc2),'hint':a68_0x3c88f8(0xb8)},{'name':a68_0x3c88f8(0xa1),'meowKey':a68_0x3c88f8(0xa1),'type':a68_0x3c88f8(0xac),'description':a68_0x3c88f8(0xc4),'hint':a68_0x3c88f8(0x9d)},{'name':'env','meowKey':a68_0x3c88f8(0xb2),'type':a68_0x3c88f8(0xac),'description':a68_0x3c88f8(0xbe),'hint':'production\x20|\x20development\x20|\x20daily'},{'name':a68_0x3c88f8(0xa7),'meowKey':a68_0x3c88f8(0xa7),'type':a68_0x3c88f8(0xac),'description':a68_0x3c88f8(0xb6),'hint':'json\x20|\x20pretty\x20|\x20compress'},{'name':'jq','meowKey':'jq','type':a68_0x3c88f8(0xac),'description':'Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20implies\x20--format\x20json\x20when\x20current\x20format\x20is\x20pretty)','hint':a68_0x3c88f8(0xc1)},{'name':'dry-run','meowKey':a68_0x3c88f8(0xb3),'type':a68_0x3c88f8(0x9e),'description':a68_0x3c88f8(0xb9)},{'name':a68_0x3c88f8(0xa4),'meowKey':a68_0x3c88f8(0xa4),'type':a68_0x3c88f8(0x9e),'description':a68_0x3c88f8(0xa2)},{'name':a68_0x3c88f8(0xc3),'meowKey':a68_0x3c88f8(0xbd),'type':a68_0x3c88f8(0x9e),'description':a68_0x3c88f8(0xa3)},{'name':a68_0x3c88f8(0xad),'meowKey':a68_0x3c88f8(0xad),'type':a68_0x3c88f8(0x9e),'description':a68_0x3c88f8(0xaa)},{'name':'ci','meowKey':'ci','type':a68_0x3c88f8(0x9e),'description':a68_0x3c88f8(0xbc),'hidden':!![]},{'name':a68_0x3c88f8(0x9c),'meowKey':a68_0x3c88f8(0x9c),'type':a68_0x3c88f8(0x9e),'description':a68_0x3c88f8(0xc6)},{'name':'id','meowKey':'id','type':a68_0x3c88f8(0xac),'description':'Record\x20ID','hidden':!![]},{'name':a68_0x3c88f8(0xa6),'meowKey':a68_0x3c88f8(0xa6),'type':'string','description':a68_0x3c88f8(0xc7),'hidden':!![]},{'name':a68_0x3c88f8(0xc0),'meowKey':a68_0x3c88f8(0xc0),'type':'string','description':'SQL\x20query\x20code','hidden':!![]},{'name':a68_0x3c88f8(0xbb),'meowKey':a68_0x3c88f8(0xbb),'type':a68_0x3c88f8(0xac),'description':a68_0x3c88f8(0xc9),'hidden':!![]},{'name':a68_0x3c88f8(0x9b),'meowKey':a68_0x3c88f8(0x9b),'type':a68_0x3c88f8(0x9e),'description':a68_0x3c88f8(0xbf),'hidden':!![]},{'name':a68_0x3c88f8(0xb0),'meowKey':'clear','type':'boolean','description':'Clear\x20output','hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a68_0x3c88f8(0xa9),'app',a68_0x3c88f8(0xb2),a68_0x3c88f8(0xa7),'jq',a68_0x3c88f8(0xb5),'yes',a68_0x3c88f8(0xc3),'ci']);function a68_0x8a57(){const _0x23e472=['459254RVVNfw','name','format','2098176xGNYuY','appcode','Use\x20global\x20config\x20scope','412293crnnYj','string','global','10ocFLlS','fromEntries','clear','188615xtvpJu','env','dryRun','map','dry-run','Output\x20format','1761543PYjdbR','<code>','Preview\x20operation\x20without\x20executing','14bHIXWk','params','Alias\x20for\x20--non-interactive','nonInteractive','Environment','Verbose\x20output','sqlcode','<expr>','Override\x20appcode','non-interactive','Select\x20app\x20profile\x20by\x20name','580FyrvSf','Show\x20help','Name\x20filter','740106FZjtTq','JSON\x20params\x20for\x20execute\x20commands','meowKey','verbose','help','<name>','boolean','1025UEdnqc','cliDisplayName','app','Skip\x20confirmation\x20for\x20high-risk\x20writes','Force\x20non-interactive\x20mode\x20(CI)','yes'];a68_0x8a57=function(){return _0x23e472;};return a68_0x8a57();}export function buildMeowFlags(){const _0xc7b71d=a68_0x3c88f8;return Object[_0xc7b71d(0xaf)](GLOBAL_FLAGS[_0xc7b71d(0xb4)](_0x5c9c68=>[_0x5c9c68[_0xc7b71d(0xca)],{'type':_0x5c9c68['type']}]));}
1
+ const a68_0x5d0a22=a68_0x49ba;(function(_0x1bd546,_0x945f62){const _0xe7b730=a68_0x49ba,_0x549ef8=_0x1bd546();while(!![]){try{const _0x48776d=-parseInt(_0xe7b730(0x143))/0x1+-parseInt(_0xe7b730(0x164))/0x2*(-parseInt(_0xe7b730(0x14a))/0x3)+-parseInt(_0xe7b730(0x14e))/0x4*(-parseInt(_0xe7b730(0x168))/0x5)+parseInt(_0xe7b730(0x158))/0x6+-parseInt(_0xe7b730(0x152))/0x7*(parseInt(_0xe7b730(0x146))/0x8)+-parseInt(_0xe7b730(0x15e))/0x9+-parseInt(_0xe7b730(0x153))/0xa*(-parseInt(_0xe7b730(0x15b))/0xb);if(_0x48776d===_0x945f62)break;else _0x549ef8['push'](_0x549ef8['shift']());}catch(_0x4041a7){_0x549ef8['push'](_0x549ef8['shift']());}}}(a68_0x7488,0x399f0));import{PRODUCT_CONFIG}from'../constant/product.js';import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';export const CLI_BIN_NAME=PRODUCT_CONFIG[a68_0x5d0a22(0x144)];export const CLI_DISPLAY_NAME=PRODUCT_CONFIG['cliDisplayName'];export const NPM_PACKAGE_NAME=LOVRABET_NPM_PACKAGE_NAME;function a68_0x7488(){const _0x527c20=['Output\x20format','production\x20|\x20development\x20|\x20daily','139746AyYsqr','sqlcode','boolean','88IeDSHK','Skip\x20confirmation\x20for\x20high-risk\x20writes','format','2600127ISrbYN','<code>','name','help','fromEntries','Verbose\x20output','82rHSrWi','dry-run','verbose','type','170NgTytf','Clear\x20output','app','Preview\x20operation\x20without\x20executing','Alias\x20for\x20--non-interactive','Force\x20non-interactive\x20mode\x20(CI)','global','dryRun','79080joYwTg','cliBinName','yes','1704STeWoa','Select\x20app\x20profile\x20by\x20name','json\x20|\x20pretty\x20|\x20compress','<name>','3921XkKUZa','env','JSON\x20params\x20for\x20execute\x20commands','string','25448pVbpon','SQL\x20query\x20code','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20implies\x20--format\x20json\x20when\x20current\x20format\x20is\x20pretty)','params','5537fyJYld','599120JFkmAe','appcode','non-interactive'];a68_0x7488=function(){return _0x527c20;};return a68_0x7488();}function a68_0x49ba(_0x8bf975,_0x367564){_0x8bf975=_0x8bf975-0x140;const _0x7488eb=a68_0x7488();let _0x49ba46=_0x7488eb[_0x8bf975];return _0x49ba46;}export const GLOBAL_FLAGS=[{'name':a68_0x5d0a22(0x154),'meowKey':a68_0x5d0a22(0x154),'type':'string','description':'Override\x20appcode','hint':a68_0x5d0a22(0x15f)},{'name':a68_0x5d0a22(0x16a),'meowKey':a68_0x5d0a22(0x16a),'type':a68_0x5d0a22(0x14d),'description':a68_0x5d0a22(0x147),'hint':a68_0x5d0a22(0x149)},{'name':a68_0x5d0a22(0x14b),'meowKey':'env','type':a68_0x5d0a22(0x14d),'description':'Environment','hint':a68_0x5d0a22(0x157)},{'name':'format','meowKey':'format','type':'string','description':a68_0x5d0a22(0x156),'hint':a68_0x5d0a22(0x148)},{'name':'jq','meowKey':'jq','type':a68_0x5d0a22(0x14d),'description':a68_0x5d0a22(0x150),'hint':'<expr>'},{'name':a68_0x5d0a22(0x165),'meowKey':a68_0x5d0a22(0x142),'type':a68_0x5d0a22(0x15a),'description':a68_0x5d0a22(0x16b)},{'name':'yes','meowKey':a68_0x5d0a22(0x145),'type':a68_0x5d0a22(0x15a),'description':a68_0x5d0a22(0x15c)},{'name':a68_0x5d0a22(0x155),'meowKey':'nonInteractive','type':a68_0x5d0a22(0x15a),'description':a68_0x5d0a22(0x140)},{'name':a68_0x5d0a22(0x141),'meowKey':a68_0x5d0a22(0x141),'type':a68_0x5d0a22(0x15a),'description':'Use\x20global\x20config\x20scope'},{'name':'ci','meowKey':'ci','type':a68_0x5d0a22(0x15a),'description':a68_0x5d0a22(0x16c),'hidden':!![]},{'name':'help','meowKey':a68_0x5d0a22(0x161),'type':a68_0x5d0a22(0x15a),'description':'Show\x20help'},{'name':'id','meowKey':'id','type':a68_0x5d0a22(0x14d),'description':'Record\x20ID','hidden':!![]},{'name':a68_0x5d0a22(0x160),'meowKey':a68_0x5d0a22(0x160),'type':a68_0x5d0a22(0x14d),'description':'Name\x20filter','hidden':!![]},{'name':a68_0x5d0a22(0x159),'meowKey':a68_0x5d0a22(0x159),'type':a68_0x5d0a22(0x14d),'description':a68_0x5d0a22(0x14f),'hidden':!![]},{'name':'params','meowKey':a68_0x5d0a22(0x151),'type':a68_0x5d0a22(0x14d),'description':a68_0x5d0a22(0x14c),'hidden':!![]},{'name':a68_0x5d0a22(0x166),'meowKey':a68_0x5d0a22(0x166),'type':a68_0x5d0a22(0x15a),'description':a68_0x5d0a22(0x163),'hidden':!![]},{'name':'clear','meowKey':'clear','type':a68_0x5d0a22(0x15a),'description':a68_0x5d0a22(0x169),'hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set(['appcode',a68_0x5d0a22(0x16a),a68_0x5d0a22(0x14b),a68_0x5d0a22(0x15d),'jq',a68_0x5d0a22(0x165),a68_0x5d0a22(0x145),a68_0x5d0a22(0x155),'ci']);export function buildMeowFlags(){const _0x3f6e59=a68_0x5d0a22;return Object[_0x3f6e59(0x162)](GLOBAL_FLAGS['map'](_0x3ccdee=>[_0x3ccdee['meowKey'],{'type':_0x3ccdee[_0x3f6e59(0x167)]}]));}
@@ -1 +1 @@
1
- function a69_0x471a(){const _0xdb46f9=['3990690MlnhhK','16FMKkmT','1569522KsycNv','en-US','388pFKcSK','compress','main','production','139110EOnmJo','163827LJkRyl','875469HHiRpB','262339xRfTdV','858MugPSj','12mIIQEp','write'];a69_0x471a=function(){return _0xdb46f9;};return a69_0x471a();}const a69_0x451988=a69_0x9f02;(function(_0x39d576,_0x221aa2){const _0xf1e186=a69_0x9f02,_0x6dd380=_0x39d576();while(!![]){try{const _0x260365=-parseInt(_0xf1e186(0x17c))/0x1+parseInt(_0xf1e186(0x175))/0x2*(-parseInt(_0xf1e186(0x17d))/0x3)+parseInt(_0xf1e186(0x17e))/0x4*(parseInt(_0xf1e186(0x179))/0x5)+-parseInt(_0xf1e186(0x182))/0x6+parseInt(_0xf1e186(0x17b))/0x7*(parseInt(_0xf1e186(0x181))/0x8)+-parseInt(_0xf1e186(0x17a))/0x9+parseInt(_0xf1e186(0x180))/0xa;if(_0x260365===_0x221aa2)break;else _0x6dd380['push'](_0x6dd380['shift']());}catch(_0x54bd3a){_0x6dd380['push'](_0x6dd380['shift']());}}}(a69_0x471a,0x20f90));function a69_0x9f02(_0x1e083d,_0x35f133){_0x1e083d=_0x1e083d-0x175;const _0x471ac0=a69_0x471a();let _0x9f02a5=_0x471ac0[_0x1e083d];return _0x9f02a5;}export const DEFAULT_APP_PROFILE_NAME=a69_0x451988(0x177);export const DEFAULT_CONFIG_VALUES={'env':a69_0x451988(0x178),'format':a69_0x451988(0x176),'locale':a69_0x451988(0x183),'riskLevel':a69_0x451988(0x17f)};export const DEFAULT_COMMAND_OUTPUT_FORMAT='compress';
1
+ function a69_0x51ef(_0x23821f,_0xdd1e30){_0x23821f=_0x23821f-0x17b;const _0x198ee1=a69_0x198e();let _0x51efe8=_0x198ee1[_0x23821f];return _0x51efe8;}const a69_0x3bac55=a69_0x51ef;(function(_0x1f7c70,_0x21f46c){const _0x4df56b=a69_0x51ef,_0x57a99b=_0x1f7c70();while(!![]){try{const _0x109ae1=-parseInt(_0x4df56b(0x183))/0x1*(parseInt(_0x4df56b(0x17e))/0x2)+-parseInt(_0x4df56b(0x17b))/0x3*(parseInt(_0x4df56b(0x17f))/0x4)+parseInt(_0x4df56b(0x185))/0x5+-parseInt(_0x4df56b(0x17d))/0x6*(-parseInt(_0x4df56b(0x182))/0x7)+-parseInt(_0x4df56b(0x188))/0x8+-parseInt(_0x4df56b(0x17c))/0x9*(parseInt(_0x4df56b(0x181))/0xa)+parseInt(_0x4df56b(0x180))/0xb;if(_0x109ae1===_0x21f46c)break;else _0x57a99b['push'](_0x57a99b['shift']());}catch(_0x120ab3){_0x57a99b['push'](_0x57a99b['shift']());}}}(a69_0x198e,0x991d3));export const DEFAULT_APP_PROFILE_NAME=a69_0x3bac55(0x186);export const DEFAULT_CONFIG_VALUES={'env':a69_0x3bac55(0x184),'format':a69_0x3bac55(0x189),'locale':a69_0x3bac55(0x187),'riskLevel':a69_0x3bac55(0x18a)};export const DEFAULT_COMMAND_OUTPUT_FORMAT=a69_0x3bac55(0x189);function a69_0x198e(){const _0x528be5=['32493164oMNbYn','20dQzeQb','1386BTAgnR','17SLiFoG','production','5301420oDpwdY','main','en-US','4993304VWpHjX','compress','write','6hwSMyJ','3680811BmcfnI','8064LBvgBc','137308GszreU','2087852WkrnNx'];a69_0x198e=function(){return _0x528be5;};return a69_0x198e();}
@@ -1 +1 @@
1
- const a70_0x4cbba1=a70_0x3b71;(function(_0x4ff909,_0x48a866){const _0x457016=a70_0x3b71,_0x4831d3=_0x4ff909();while(!![]){try{const _0x5d2555=-parseInt(_0x457016(0x9e))/0x1+parseInt(_0x457016(0xa4))/0x2+-parseInt(_0x457016(0xa1))/0x3*(parseInt(_0x457016(0xa5))/0x4)+-parseInt(_0x457016(0xa2))/0x5*(parseInt(_0x457016(0xa3))/0x6)+parseInt(_0x457016(0x9c))/0x7+parseInt(_0x457016(0xa7))/0x8+-parseInt(_0x457016(0x9d))/0x9*(-parseInt(_0x457016(0xa0))/0xa);if(_0x5d2555===_0x48a866)break;else _0x4831d3['push'](_0x4831d3['shift']());}catch(_0x4cbcbe){_0x4831d3['push'](_0x4831d3['shift']());}}}(a70_0x57f6,0x49bce));function a70_0x57f6(){const _0x330461=['skillSource','2424107aDRazE','349047sGIilF','241969VIpqOa','npmPackageName','20xqOQLX','195QaeeJD','1323015SkqtcE','6myQNJz','660496oXmviF','20480TtkdpZ','npmRegistryBaseUrl','3098296HBRqwV'];a70_0x57f6=function(){return _0x330461;};return a70_0x57f6();}import{PRODUCT_CONFIG}from'../constant/product.js';export const LOVRABET_NPM_PACKAGE_NAME=PRODUCT_CONFIG[a70_0x4cbba1(0x9f)];export const LOVRABET_SKILL_SOURCE=PRODUCT_CONFIG[a70_0x4cbba1(0x9b)];function a70_0x3b71(_0x1adf31,_0x52c662){_0x1adf31=_0x1adf31-0x9b;const _0x57f60c=a70_0x57f6();let _0x3b71c3=_0x57f60c[_0x1adf31];return _0x3b71c3;}export const NPM_REGISTRY_BASE_URL=PRODUCT_CONFIG[a70_0x4cbba1(0xa6)];
1
+ const a70_0x3a2224=a70_0x1acf;function a70_0x4a44(){const _0x68aa7=['81145IRBCBe','5132754CPaguQ','3989718epqQWX','7nnoesG','5660184JJTEhH','404989QqaNsM','542367BbSkTK','npmRegistryBaseUrl','4732510TdbKhT','4DhbmFk','80BEQqwi'];a70_0x4a44=function(){return _0x68aa7;};return a70_0x4a44();}(function(_0x24697f,_0x50990c){const _0x31590c=a70_0x1acf,_0x46a929=_0x24697f();while(!![]){try{const _0x5413a0=-parseInt(_0x31590c(0xf4))/0x1*(-parseInt(_0x31590c(0xed))/0x2)+parseInt(_0x31590c(0xea))/0x3+parseInt(_0x31590c(0xee))/0x4*(-parseInt(_0x31590c(0xef))/0x5)+-parseInt(_0x31590c(0xf1))/0x6+parseInt(_0x31590c(0xf2))/0x7*(parseInt(_0x31590c(0xf3))/0x8)+-parseInt(_0x31590c(0xf0))/0x9+parseInt(_0x31590c(0xec))/0xa;if(_0x5413a0===_0x50990c)break;else _0x46a929['push'](_0x46a929['shift']());}catch(_0x315497){_0x46a929['push'](_0x46a929['shift']());}}}(a70_0x4a44,0x95576));import{PRODUCT_CONFIG}from'../constant/product.js';export const LOVRABET_NPM_PACKAGE_NAME=PRODUCT_CONFIG['npmPackageName'];export const LOVRABET_SKILL_SOURCE=PRODUCT_CONFIG['skillSource'];function a70_0x1acf(_0x19420c,_0xa5b552){_0x19420c=_0x19420c-0xea;const _0x4a448c=a70_0x4a44();let _0x1acfb1=_0x4a448c[_0x19420c];return _0x1acfb1;}export const NPM_REGISTRY_BASE_URL=PRODUCT_CONFIG[a70_0x3a2224(0xeb)];
@@ -1 +1 @@
1
- const a71_0x30cf14=a71_0x3d33;(function(_0x1586b7,_0x28c8eb){const _0xe2bd16=a71_0x3d33,_0x31852b=_0x1586b7();while(!![]){try{const _0x41a1e9=-parseInt(_0xe2bd16(0x10f))/0x1*(-parseInt(_0xe2bd16(0x103))/0x2)+-parseInt(_0xe2bd16(0x10c))/0x3+parseInt(_0xe2bd16(0xfd))/0x4+parseInt(_0xe2bd16(0x10e))/0x5+parseInt(_0xe2bd16(0x10a))/0x6+-parseInt(_0xe2bd16(0x108))/0x7+-parseInt(_0xe2bd16(0x106))/0x8*(parseInt(_0xe2bd16(0xff))/0x9);if(_0x41a1e9===_0x28c8eb)break;else _0x31852b['push'](_0x31852b['shift']());}catch(_0x489d65){_0x31852b['push'](_0x31852b['shift']());}}}(a71_0x5f27,0x8f687));import{getEnv,isProduction}from'../constant/env.js';function a71_0x5f27(){const _0x14e541=['166MsevKR','domains','api','8exdbqR','runtime','4431294fMsBzU','apiDomain','7024740lJopTW','skillHubDomain','293154BfIUUs','runtimeDomain','5224565ymsjbE','1309mPzZNb','nonProduction','3194920yVCZDw','skillhub','16244289qwhXHY','user','production','userDomain'];a71_0x5f27=function(){return _0x14e541;};return a71_0x5f27();}import{PRODUCT_CONFIG}from'../constant/product.js';let customApiDomain,customUserDomain,customRuntimeDomain,customSkillHubDomain;export function initDomains(_0x14f355){const _0x2a2f86=a71_0x3d33;customApiDomain=_0x14f355?.[_0x2a2f86(0x109)],customUserDomain=_0x14f355?.[_0x2a2f86(0x102)],customRuntimeDomain=_0x14f355?.[_0x2a2f86(0x10d)],customSkillHubDomain=_0x14f355?.[_0x2a2f86(0x10b)];}export const getUserDomain=()=>customUserDomain||(isProduction(getEnv())?PRODUCT_CONFIG['domains'][a71_0x30cf14(0x101)][a71_0x30cf14(0x100)]:PRODUCT_CONFIG[a71_0x30cf14(0x104)][a71_0x30cf14(0xfc)][a71_0x30cf14(0x100)]);function a71_0x3d33(_0x2e97ff,_0x3ee7f1){_0x2e97ff=_0x2e97ff-0xfc;const _0x5f278d=a71_0x5f27();let _0x3d3330=_0x5f278d[_0x2e97ff];return _0x3d3330;}export const getApiDomain=()=>customApiDomain||(isProduction(getEnv())?PRODUCT_CONFIG[a71_0x30cf14(0x104)][a71_0x30cf14(0x101)][a71_0x30cf14(0x105)]:PRODUCT_CONFIG[a71_0x30cf14(0x104)][a71_0x30cf14(0xfc)][a71_0x30cf14(0x105)]);export const getRuntimeDomain=()=>customRuntimeDomain||(isProduction(getEnv())?PRODUCT_CONFIG[a71_0x30cf14(0x104)][a71_0x30cf14(0x101)][a71_0x30cf14(0x107)]:PRODUCT_CONFIG[a71_0x30cf14(0x104)][a71_0x30cf14(0xfc)][a71_0x30cf14(0x107)]);export const getSkillHubDomain=()=>customSkillHubDomain||(isProduction(getEnv())?PRODUCT_CONFIG[a71_0x30cf14(0x104)][a71_0x30cf14(0x101)][a71_0x30cf14(0xfe)]:PRODUCT_CONFIG['domains'][a71_0x30cf14(0xfc)][a71_0x30cf14(0xfe)]);
1
+ const a71_0x4534d9=a71_0x49fa;(function(_0x3b472d,_0x1406fb){const _0x4acf94=a71_0x49fa,_0x3596f3=_0x3b472d();while(!![]){try{const _0x4c1c8c=-parseInt(_0x4acf94(0x196))/0x1*(parseInt(_0x4acf94(0x195))/0x2)+parseInt(_0x4acf94(0x19d))/0x3*(-parseInt(_0x4acf94(0x19a))/0x4)+-parseInt(_0x4acf94(0x1a4))/0x5+-parseInt(_0x4acf94(0x197))/0x6*(-parseInt(_0x4acf94(0x1a0))/0x7)+parseInt(_0x4acf94(0x19c))/0x8*(parseInt(_0x4acf94(0x1a3))/0x9)+-parseInt(_0x4acf94(0x19f))/0xa*(parseInt(_0x4acf94(0x1a1))/0xb)+parseInt(_0x4acf94(0x1a5))/0xc*(parseInt(_0x4acf94(0x198))/0xd);if(_0x4c1c8c===_0x1406fb)break;else _0x3596f3['push'](_0x3596f3['shift']());}catch(_0x277a35){_0x3596f3['push'](_0x3596f3['shift']());}}}(a71_0x271f,0xd7e54));import{getEnv,isProduction}from'../constant/env.js';import{PRODUCT_CONFIG}from'../constant/product.js';let customApiDomain,customUserDomain,customRuntimeDomain,customSkillHubDomain;function a71_0x49fa(_0x203ad7,_0xb48351){_0x203ad7=_0x203ad7-0x18f;const _0x271f3d=a71_0x271f();let _0x49fa04=_0x271f3d[_0x203ad7];return _0x49fa04;}export function initDomains(_0x54118c){const _0x1ae482=a71_0x49fa;customApiDomain=_0x54118c?.[_0x1ae482(0x18f)],customUserDomain=_0x54118c?.[_0x1ae482(0x192)],customRuntimeDomain=_0x54118c?.[_0x1ae482(0x19b)],customSkillHubDomain=_0x54118c?.[_0x1ae482(0x199)];}export const getUserDomain=()=>customUserDomain||(isProduction(getEnv())?PRODUCT_CONFIG[a71_0x4534d9(0x194)][a71_0x4534d9(0x19e)][a71_0x4534d9(0x191)]:PRODUCT_CONFIG[a71_0x4534d9(0x194)][a71_0x4534d9(0x1a2)]['user']);export const getApiDomain=()=>customApiDomain||(isProduction(getEnv())?PRODUCT_CONFIG[a71_0x4534d9(0x194)][a71_0x4534d9(0x19e)]['api']:PRODUCT_CONFIG[a71_0x4534d9(0x194)][a71_0x4534d9(0x1a2)][a71_0x4534d9(0x193)]);function a71_0x271f(){const _0x262bf1=['879050yyQJvL','24Puohwj','skillhub','apiDomain','runtime','user','userDomain','api','domains','58GGfATP','44151yymjqq','66cXKXlx','18835336oIgHCk','skillHubDomain','14888IuzaGK','runtimeDomain','6104KYsOti','1239qsSHIw','production','829090tVyZIa','640913rodcIT','11PbApMt','nonProduction','657PHiJOs'];a71_0x271f=function(){return _0x262bf1;};return a71_0x271f();}export const getRuntimeDomain=()=>customRuntimeDomain||(isProduction(getEnv())?PRODUCT_CONFIG[a71_0x4534d9(0x194)]['production'][a71_0x4534d9(0x190)]:PRODUCT_CONFIG[a71_0x4534d9(0x194)][a71_0x4534d9(0x1a2)][a71_0x4534d9(0x190)]);export const getSkillHubDomain=()=>customSkillHubDomain||(isProduction(getEnv())?PRODUCT_CONFIG[a71_0x4534d9(0x194)]['production']['skillhub']:PRODUCT_CONFIG[a71_0x4534d9(0x194)]['nonProduction'][a71_0x4534d9(0x1a6)]);
@@ -1 +1 @@
1
- const a72_0x29c52b=a72_0x4257;(function(_0x4aba68,_0x59cc9e){const _0x2486f4=a72_0x4257,_0xb94031=_0x4aba68();while(!![]){try{const _0x109fd9=parseInt(_0x2486f4(0x19b))/0x1*(-parseInt(_0x2486f4(0x19e))/0x2)+parseInt(_0x2486f4(0x196))/0x3*(-parseInt(_0x2486f4(0x199))/0x4)+-parseInt(_0x2486f4(0x1a3))/0x5*(parseInt(_0x2486f4(0x1a2))/0x6)+-parseInt(_0x2486f4(0x19d))/0x7*(parseInt(_0x2486f4(0x195))/0x8)+parseInt(_0x2486f4(0x1a1))/0x9+-parseInt(_0x2486f4(0x197))/0xa+parseInt(_0x2486f4(0x19a))/0xb*(parseInt(_0x2486f4(0x198))/0xc);if(_0x109fd9===_0x59cc9e)break;else _0xb94031['push'](_0xb94031['shift']());}catch(_0x96248){_0xb94031['push'](_0xb94031['shift']());}}}(a72_0x4af6,0xad20b));import{productEnv}from'../constant/product.js';function a72_0x4257(_0x440ae4,_0x5e850f){_0x440ae4=_0x440ae4-0x194;const _0x4af659=a72_0x4af6();let _0x42576d=_0x4af659[_0x440ae4];return _0x42576d;}export const RUNTIME_ENV_VALUES=[a72_0x29c52b(0x1a0),'development',a72_0x29c52b(0x19f)];function a72_0x4af6(){const _0x28403a=['dev','257992lOCKVt','1831898wxTVlV','daily','production','6330294TwUpHm','4864170OdWdXx','5wHsXyM','online','304ubCxpa','1717197TXgHHg','1404480wvJyve','83604cnuHbI','4xPiXeb','6072YehTYM','1FLbZxq'];a72_0x4af6=function(){return _0x28403a;};return a72_0x4af6();}export function normalizeEnv(_0xc13f7b){const _0x3fd911=a72_0x29c52b;return _0xc13f7b===_0x3fd911(0x194)?_0x3fd911(0x1a0):_0xc13f7b;}export function isProduction(_0x3d95bc){const _0x58c484=a72_0x29c52b;return normalizeEnv(_0x3d95bc)===_0x58c484(0x1a0);}export function isDaily(_0x193735){return normalizeEnv(_0x193735)==='daily';}export function isDev(_0xb3d236){const _0x308f5a=a72_0x29c52b,_0x2f76fd=normalizeEnv(_0xb3d236);return _0x2f76fd==='development'||_0x2f76fd===_0x308f5a(0x19c);}let env=normalizeEnv(productEnv('ENV')||a72_0x29c52b(0x1a0));export function getEnv(){return env;}export function initEnv(_0x6f4a8b){env=normalizeEnv(_0x6f4a8b);}
1
+ function a72_0x39a8(_0x141ddd,_0xa7c27c){_0x141ddd=_0x141ddd-0x123;const _0x6b6b91=a72_0x6b6b();let _0x39a8e6=_0x6b6b91[_0x141ddd];return _0x39a8e6;}const a72_0x330d94=a72_0x39a8;(function(_0x2bbb63,_0x422e03){const _0x455ae2=a72_0x39a8,_0x29bf00=_0x2bbb63();while(!![]){try{const _0x5b5bfd=parseInt(_0x455ae2(0x129))/0x1+-parseInt(_0x455ae2(0x125))/0x2*(-parseInt(_0x455ae2(0x12f))/0x3)+parseInt(_0x455ae2(0x123))/0x4+parseInt(_0x455ae2(0x12e))/0x5+-parseInt(_0x455ae2(0x128))/0x6+parseInt(_0x455ae2(0x12b))/0x7*(parseInt(_0x455ae2(0x12d))/0x8)+-parseInt(_0x455ae2(0x124))/0x9;if(_0x5b5bfd===_0x422e03)break;else _0x29bf00['push'](_0x29bf00['shift']());}catch(_0x3af1f4){_0x29bf00['push'](_0x29bf00['shift']());}}}(a72_0x6b6b,0x366ad));import{productEnv}from'../constant/product.js';function a72_0x6b6b(){const _0xadca4b=['development','1671901nUzZEQ','dev','8EuXfPf','1427125QHsMTH','9QRrfwg','production','750632FoGHgM','4226922wFezeU','122336gYWzzL','online','daily','2647200SZurJq','238321xVGYRB'];a72_0x6b6b=function(){return _0xadca4b;};return a72_0x6b6b();}export const RUNTIME_ENV_VALUES=[a72_0x330d94(0x130),a72_0x330d94(0x12a),a72_0x330d94(0x127)];export function normalizeEnv(_0x4da789){const _0x30ea32=a72_0x330d94;return _0x4da789===_0x30ea32(0x126)?'production':_0x4da789;}export function isProduction(_0x58e709){const _0x42edde=a72_0x330d94;return normalizeEnv(_0x58e709)===_0x42edde(0x130);}export function isDaily(_0x1225da){return normalizeEnv(_0x1225da)==='daily';}export function isDev(_0xbd2b57){const _0x509ce0=a72_0x330d94,_0x1c0981=normalizeEnv(_0xbd2b57);return _0x1c0981==='development'||_0x1c0981===_0x509ce0(0x12c);}let env=normalizeEnv(productEnv('ENV')||'production');export function getEnv(){return env;}export function initEnv(_0x40caca){env=normalizeEnv(_0x40caca);}
@@ -1 +1 @@
1
- function a73_0x2045(_0x3f7baf,_0x54e1af){_0x3f7baf=_0x3f7baf-0x1ab;const _0x2ccdcd=a73_0x2ccd();let _0x20451b=_0x2ccdcd[_0x3f7baf];return _0x20451b;}function a73_0x2ccd(){const _0x1eabf1=['18wzQaCp','4usqLMt','209076qqeFNw','5471630mVgslx','368unVWpo','109377TDKaXh','json','40119830eupyYL','compress','7918602xSHrIe','439324MQAGjk','5962082GXQpVE'];a73_0x2ccd=function(){return _0x1eabf1;};return a73_0x2ccd();}const a73_0x1c4439=a73_0x2045;(function(_0x405fe0,_0x4bfa77){const _0x4e7836=a73_0x2045,_0x4b0470=_0x405fe0();while(!![]){try{const _0x1313dc=parseInt(_0x4e7836(0x1b2))/0x1+parseInt(_0x4e7836(0x1ae))/0x2*(-parseInt(_0x4e7836(0x1b0))/0x3)+-parseInt(_0x4e7836(0x1b1))/0x4*(parseInt(_0x4e7836(0x1b3))/0x5)+-parseInt(_0x4e7836(0x1ad))/0x6+parseInt(_0x4e7836(0x1af))/0x7+parseInt(_0x4e7836(0x1b4))/0x8*(-parseInt(_0x4e7836(0x1b5))/0x9)+parseInt(_0x4e7836(0x1ab))/0xa;if(_0x1313dc===_0x4bfa77)break;else _0x4b0470['push'](_0x4b0470['shift']());}catch(_0x3c66e7){_0x4b0470['push'](_0x4b0470['shift']());}}}(a73_0x2ccd,0xbed72));export const OUTPUT_FORMAT_VALUES=[a73_0x1c4439(0x1b6),'pretty',a73_0x1c4439(0x1ac)];
1
+ const a73_0x3d5c6e=a73_0x41eb;function a73_0x41eb(_0xc261e3,_0x1f51cc){_0xc261e3=_0xc261e3-0x107;const _0x4f79d9=a73_0x4f79();let _0x41eb98=_0x4f79d9[_0xc261e3];return _0x41eb98;}(function(_0x5eb435,_0x59f0e5){const _0x3533ae=a73_0x41eb,_0x3ed5cf=_0x5eb435();while(!![]){try{const _0x52f8ca=-parseInt(_0x3533ae(0x113))/0x1+-parseInt(_0x3533ae(0x109))/0x2*(parseInt(_0x3533ae(0x110))/0x3)+parseInt(_0x3533ae(0x108))/0x4+parseInt(_0x3533ae(0x107))/0x5*(-parseInt(_0x3533ae(0x114))/0x6)+-parseInt(_0x3533ae(0x10d))/0x7+parseInt(_0x3533ae(0x10c))/0x8*(parseInt(_0x3533ae(0x10e))/0x9)+parseInt(_0x3533ae(0x10b))/0xa*(parseInt(_0x3533ae(0x10a))/0xb);if(_0x52f8ca===_0x59f0e5)break;else _0x3ed5cf['push'](_0x3ed5cf['shift']());}catch(_0x2a3d9c){_0x3ed5cf['push'](_0x3ed5cf['shift']());}}}(a73_0x4f79,0xc99ab));export const OUTPUT_FORMAT_VALUES=[a73_0x3d5c6e(0x10f),a73_0x3d5c6e(0x111),a73_0x3d5c6e(0x112)];function a73_0x4f79(){const _0x3c3728=['compress','175846tLQjKb','80526rlZdkC','215UjfxcO','4864360mfSbqJ','1917424pXXCPd','55nWKgIp','777710ryNLyx','277840uNoTNX','4655651pimCpI','414crBIej','json','3YgBIcx','pretty'];a73_0x4f79=function(){return _0x3c3728;};return a73_0x4f79();}
@@ -1 +1 @@
1
- function a74_0x1d31(_0x45093d,_0x2b1b60){_0x45093d=_0x45093d-0x73;const _0x3adac7=a74_0x3ada();let _0x1d3170=_0x3adac7[_0x45093d];return _0x1d3170;}const a74_0x41b05c=a74_0x1d31;(function(_0x24ecba,_0x8eb26f){const _0x458422=a74_0x1d31,_0x4a6ae3=_0x24ecba();while(!![]){try{const _0xce6605=parseInt(_0x458422(0x88))/0x1*(-parseInt(_0x458422(0x80))/0x2)+-parseInt(_0x458422(0x89))/0x3+parseInt(_0x458422(0x74))/0x4*(parseInt(_0x458422(0x7c))/0x5)+parseInt(_0x458422(0x78))/0x6+parseInt(_0x458422(0x85))/0x7+parseInt(_0x458422(0x79))/0x8+parseInt(_0x458422(0x82))/0x9*(-parseInt(_0x458422(0x8c))/0xa);if(_0xce6605===_0x8eb26f)break;else _0x4a6ae3['push'](_0x4a6ae3['shift']());}catch(_0xc8de26){_0x4a6ae3['push'](_0x4a6ae3['shift']());}}}(a74_0x3ada,0x9fceb));export const PRODUCT_CONFIG={'cliBinName':a74_0x41b05c(0x8a),'cliDisplayName':a74_0x41b05c(0x7f),'npmPackageName':'@lovrabet/lovrabet-cli','skillSource':a74_0x41b05c(0x7b),'npmRegistryBaseUrl':a74_0x41b05c(0x83),'envPrefix':'LOVRABET','legacyEnvPrefixes':['RABETBASE'],'configFileNames':[a74_0x41b05c(0x81),a74_0x41b05c(0x77)],'newConfigFileName':a74_0x41b05c(0x81),'homeDirName':'.lovrabet','logFileName':a74_0x41b05c(0x8b),'invokeSource':a74_0x41b05c(0x87),'userCenterDisplayName':a74_0x41b05c(0x8d),'skipNpxSkillsEnvSuffix':a74_0x41b05c(0x73),'domains':{'production':{'user':'https://user.lovrabet.com','api':a74_0x41b05c(0x7d),'runtime':a74_0x41b05c(0x7e),'skillhub':a74_0x41b05c(0x84)},'nonProduction':{'user':'https://user-daily.lovrabet.com','api':'https://daily-api.lovrabet.com','runtime':a74_0x41b05c(0x7a),'skillhub':a74_0x41b05c(0x86)}},'accessKeyCreatePath':'/user/ak'};export function productEnvName(_0x1d9012){const _0x3e377f=a74_0x41b05c;return PRODUCT_CONFIG[_0x3e377f(0x76)]+'_'+_0x1d9012;}export function productEnvNames(_0x3e3526){const _0x5a7754=a74_0x41b05c;return[productEnvName(_0x3e3526),...PRODUCT_CONFIG['legacyEnvPrefixes'][_0x5a7754(0x75)](_0x127e20=>_0x127e20+'_'+_0x3e3526)];}export function productEnv(_0x5cc736){for(const _0x2106c6 of productEnvNames(_0x5cc736)){const _0x1023c6=process.env[_0x2106c6];if(_0x1023c6!==undefined)return _0x1023c6;}return undefined;}function a74_0x3ada(){const _0x46eb45=['https://api.lovrabet.com','https://runtime.lovrabet.com','Lovrabet\x20Runtime\x20CLI','372qdxktK','.lovrabet.json','9XUWlwW','https://registry.npmjs.org','https://skills.lovrabet.com','6138748PKVaoq','https://skills-daily.lovrabet.com','cli:lovrabet-runtime','5651ToqTCq','2943603RthiDR','lovrabet','.lovrabet-runtime.log','1636620ZHERYE','Lovrabet\x20User\x20Center','SKIP_NPX_SKILLS','4JWBAmT','map','envPrefix','.lovrabetrc','3184488BVNpGw','9329912TkApdI','https://daily-runtime.lovrabet.com','lovrabet/lovrabet-cli','1382845rMIwvz'];a74_0x3ada=function(){return _0x46eb45;};return a74_0x3ada();}
1
+ const a74_0x3ce5dd=a74_0x2072;(function(_0x12a584,_0xc7a5cc){const _0x4e7860=a74_0x2072,_0x214566=_0x12a584();while(!![]){try{const _0x5d151c=-parseInt(_0x4e7860(0x14f))/0x1+parseInt(_0x4e7860(0x152))/0x2*(-parseInt(_0x4e7860(0x141))/0x3)+parseInt(_0x4e7860(0x147))/0x4+-parseInt(_0x4e7860(0x150))/0x5*(parseInt(_0x4e7860(0x14c))/0x6)+-parseInt(_0x4e7860(0x144))/0x7+parseInt(_0x4e7860(0x148))/0x8*(-parseInt(_0x4e7860(0x13c))/0x9)+-parseInt(_0x4e7860(0x149))/0xa*(-parseInt(_0x4e7860(0x142))/0xb);if(_0x5d151c===_0xc7a5cc)break;else _0x214566['push'](_0x214566['shift']());}catch(_0x5acadc){_0x214566['push'](_0x214566['shift']());}}}(a74_0x48b4,0xf2677));export const PRODUCT_CONFIG={'cliBinName':'lovrabet','cliDisplayName':'Lovrabet\x20Runtime\x20CLI','npmPackageName':a74_0x3ce5dd(0x13d),'skillSource':'lovrabet/lovrabet-cli','npmRegistryBaseUrl':a74_0x3ce5dd(0x14d),'envPrefix':a74_0x3ce5dd(0x13f),'legacyEnvPrefixes':[a74_0x3ce5dd(0x13e)],'configFileNames':[a74_0x3ce5dd(0x146),a74_0x3ce5dd(0x14e)],'newConfigFileName':a74_0x3ce5dd(0x146),'homeDirName':'.lovrabet','logFileName':a74_0x3ce5dd(0x14a),'invokeSource':a74_0x3ce5dd(0x13b),'userCenterDisplayName':'Lovrabet\x20User\x20Center','skipNpxSkillsEnvSuffix':a74_0x3ce5dd(0x145),'domains':{'production':{'user':a74_0x3ce5dd(0x140),'api':a74_0x3ce5dd(0x153),'runtime':a74_0x3ce5dd(0x156),'skillhub':a74_0x3ce5dd(0x143)},'nonProduction':{'user':'https://user-daily.lovrabet.com','api':a74_0x3ce5dd(0x151),'runtime':a74_0x3ce5dd(0x14b),'skillhub':a74_0x3ce5dd(0x154)}},'accessKeyCreatePath':'/user/ak'};export function productEnvName(_0x48f5ef){const _0x37f44e=a74_0x3ce5dd;return PRODUCT_CONFIG[_0x37f44e(0x155)]+'_'+_0x48f5ef;}export function productEnvNames(_0x479f7d){const _0x40cca6=a74_0x3ce5dd;return[productEnvName(_0x479f7d),...PRODUCT_CONFIG[_0x40cca6(0x157)][_0x40cca6(0x13a)](_0x4f5bf1=>_0x4f5bf1+'_'+_0x479f7d)];}export function productEnv(_0x2199d3){for(const _0x534c38 of productEnvNames(_0x2199d3)){const _0x15ab9f=process.env[_0x534c38];if(_0x15ab9f!==undefined)return _0x15ab9f;}return undefined;}function a74_0x2072(_0x44fcc4,_0x5ca259){_0x44fcc4=_0x44fcc4-0x13a;const _0x48b456=a74_0x48b4();let _0x207208=_0x48b456[_0x44fcc4];return _0x207208;}function a74_0x48b4(){const _0x50ede4=['SKIP_NPX_SKILLS','.lovrabet.json','4384136ucIoAv','8opqzdS','7630SeLOYe','.lovrabet-runtime.log','https://daily-runtime.lovrabet.com','4915686UKZqHQ','https://registry.npmjs.org','.lovrabetrc','1273421smurYA','10DTUlVu','https://daily-api.lovrabet.com','400HiPqVo','https://api.lovrabet.com','https://skills-daily.lovrabet.com','envPrefix','https://runtime.lovrabet.com','legacyEnvPrefixes','map','cli:lovrabet-runtime','11856690UTkxpx','@lovrabet/lovrabet-cli','RABETBASE','LOVRABET','https://user.lovrabet.com','25386AiBeWb','102773Mkpzvv','https://skills.lovrabet.com','9170441SQNEda'];a74_0x48b4=function(){return _0x50ede4;};return a74_0x48b4();}
@@ -1 +1 @@
1
- function a75_0x3dfc(_0xb433da,_0x310fc6){_0xb433da=_0xb433da-0x18d;const _0x1dacba=a75_0x1dac();let _0x3dfc49=_0x1dacba[_0xb433da];return _0x3dfc49;}const a75_0x5970a4=a75_0x3dfc;(function(_0xc57071,_0x59fcda){const _0x27aec7=a75_0x3dfc,_0x1c2c02=_0xc57071();while(!![]){try{const _0x292794=parseInt(_0x27aec7(0x18f))/0x1+-parseInt(_0x27aec7(0x190))/0x2+parseInt(_0x27aec7(0x193))/0x3*(-parseInt(_0x27aec7(0x195))/0x4)+-parseInt(_0x27aec7(0x192))/0x5*(-parseInt(_0x27aec7(0x18e))/0x6)+parseInt(_0x27aec7(0x194))/0x7+-parseInt(_0x27aec7(0x197))/0x8+parseInt(_0x27aec7(0x18d))/0x9;if(_0x292794===_0x59fcda)break;else _0x1c2c02['push'](_0x1c2c02['shift']());}catch(_0xb591c4){_0x1c2c02['push'](_0x1c2c02['shift']());}}}(a75_0x1dac,0xce079));export const RISK_LEVEL_VALUES=[a75_0x5970a4(0x191),a75_0x5970a4(0x196),'high-risk-write'];function a75_0x1dac(){const _0x46f937=['868dwcqnu','write','8574952LOrEDp','9918396vIlmYE','534NDBPNd','246035cmwvJs','1878630OTNezw','read','49805znnNwN','8913HlNwZd','8856260bdojpg'];a75_0x1dac=function(){return _0x46f937;};return a75_0x1dac();}
1
+ const a75_0x1f8a22=a75_0x52d5;function a75_0x52d5(_0x48e1e4,_0x1cf55f){_0x48e1e4=_0x48e1e4-0x1c4;const _0x4c253e=a75_0x4c25();let _0x52d534=_0x4c253e[_0x48e1e4];return _0x52d534;}function a75_0x4c25(){const _0xc68799=['1386988dhTccz','5167210MHvCJi','write','9uwBwds','902262qSNWqQ','6GDUqok','high-risk-write','read','2963010YQLBNR','1515768VADYFt','3651540bKQawj','1hvhyOc','52143vnZcOk'];a75_0x4c25=function(){return _0xc68799;};return a75_0x4c25();}(function(_0x3620c8,_0xa055c){const _0x175639=a75_0x52d5,_0x37341e=_0x3620c8();while(!![]){try{const _0x4d245b=-parseInt(_0x175639(0x1d0))/0x1*(-parseInt(_0x175639(0x1c9))/0x2)+-parseInt(_0x175639(0x1ca))/0x3*(parseInt(_0x175639(0x1c5))/0x4)+parseInt(_0x175639(0x1cd))/0x5+-parseInt(_0x175639(0x1cf))/0x6+-parseInt(_0x175639(0x1c4))/0x7+parseInt(_0x175639(0x1ce))/0x8+parseInt(_0x175639(0x1c8))/0x9*(parseInt(_0x175639(0x1c6))/0xa);if(_0x4d245b===_0xa055c)break;else _0x37341e['push'](_0x37341e['shift']());}catch(_0x275534){_0x37341e['push'](_0x37341e['shift']());}}}(a75_0x4c25,0x6b848));export const RISK_LEVEL_VALUES=[a75_0x1f8a22(0x1cc),a75_0x1f8a22(0x1c7),a75_0x1f8a22(0x1cb)];
@@ -1 +1 @@
1
- function a76_0x2ef2(_0x5a3cd6,_0x23ee8b){_0x5a3cd6=_0x5a3cd6-0xb0;const _0x23b92a=a76_0x23b9();let _0x2ef230=_0x23b92a[_0x5a3cd6];return _0x2ef230;}const a76_0x5753a6=a76_0x2ef2;(function(_0x2d80ab,_0x36bc5c){const _0x3d4976=a76_0x2ef2,_0x3c0dfe=_0x2d80ab();while(!![]){try{const _0x4116a0=parseInt(_0x3d4976(0xbd))/0x1*(-parseInt(_0x3d4976(0xb9))/0x2)+-parseInt(_0x3d4976(0xb3))/0x3*(parseInt(_0x3d4976(0xb5))/0x4)+parseInt(_0x3d4976(0xbc))/0x5+parseInt(_0x3d4976(0xb1))/0x6+-parseInt(_0x3d4976(0xb2))/0x7+parseInt(_0x3d4976(0xb8))/0x8+parseInt(_0x3d4976(0xb0))/0x9*(-parseInt(_0x3d4976(0xb7))/0xa);if(_0x4116a0===_0x36bc5c)break;else _0x3c0dfe['push'](_0x3c0dfe['shift']());}catch(_0x39c48d){_0x3c0dfe['push'](_0x3c0dfe['shift']());}}}(a76_0x23b9,0x18d60));function a76_0x23b9(){const _0x30a920=['accessKeyCreatePath','4zfyUmO','production','20oQTXas','1209264GUTmsL','2GYmHMv','domains','user','748605hOOxCP','37537VnnBEF','1114119EBxLan','1190406KAiQNk','235158jlPIPF','236517VivVTt'];a76_0x23b9=function(){return _0x30a920;};return a76_0x23b9();}import{PRODUCT_CONFIG}from'../constant/product.js';export const USER_ACCESS_KEY_CREATE_URL=''+PRODUCT_CONFIG[a76_0x5753a6(0xba)][a76_0x5753a6(0xb6)][a76_0x5753a6(0xbb)]+PRODUCT_CONFIG[a76_0x5753a6(0xb4)];
1
+ function a76_0x2668(){const _0x3b5b45=['419587WLTPWX','2167995gkJYdE','43089eAIuYu','production','358440wlwMgk','accessKeyCreatePath','706052JJyhfF','domains','117ZedIwa','553712PaccFO','377412dYoYsC','7ESIUuI'];a76_0x2668=function(){return _0x3b5b45;};return a76_0x2668();}function a76_0x13c3(_0x3f1eed,_0x5207ad){_0x3f1eed=_0x3f1eed-0x12c;const _0x2668e1=a76_0x2668();let _0x13c3fe=_0x2668e1[_0x3f1eed];return _0x13c3fe;}const a76_0x218161=a76_0x13c3;(function(_0x43cbca,_0x59e4d3){const _0x147007=a76_0x13c3,_0x36922b=_0x43cbca();while(!![]){try{const _0x4fa038=-parseInt(_0x147007(0x135))/0x1+parseInt(_0x147007(0x12f))/0x2+-parseInt(_0x147007(0x137))/0x3+parseInt(_0x147007(0x12d))/0x4+-parseInt(_0x147007(0x136))/0x5+parseInt(_0x147007(0x133))/0x6*(-parseInt(_0x147007(0x134))/0x7)+-parseInt(_0x147007(0x132))/0x8*(-parseInt(_0x147007(0x131))/0x9);if(_0x4fa038===_0x59e4d3)break;else _0x36922b['push'](_0x36922b['shift']());}catch(_0x4daa44){_0x36922b['push'](_0x36922b['shift']());}}}(a76_0x2668,0x6493f));import{PRODUCT_CONFIG}from'../constant/product.js';export const USER_ACCESS_KEY_CREATE_URL=''+PRODUCT_CONFIG[a76_0x218161(0x130)][a76_0x218161(0x12c)]['user']+PRODUCT_CONFIG[a76_0x218161(0x12e)];
package/lib/context.js CHANGED
@@ -1 +1 @@
1
- const a77_0xa8dd1e=a77_0x2d4a;(function(_0x44cbf3,_0x80a5d5){const _0x3efbf0=a77_0x2d4a,_0x2a8386=_0x44cbf3();while(!![]){try{const _0x1a1a2f=-parseInt(_0x3efbf0(0x1cb))/0x1*(parseInt(_0x3efbf0(0x1d1))/0x2)+-parseInt(_0x3efbf0(0x1aa))/0x3*(-parseInt(_0x3efbf0(0x1b1))/0x4)+parseInt(_0x3efbf0(0x1e7))/0x5*(parseInt(_0x3efbf0(0x1e3))/0x6)+parseInt(_0x3efbf0(0x1ce))/0x7+-parseInt(_0x3efbf0(0x1c7))/0x8*(-parseInt(_0x3efbf0(0x1bf))/0x9)+parseInt(_0x3efbf0(0x1ea))/0xa*(parseInt(_0x3efbf0(0x1b3))/0xb)+-parseInt(_0x3efbf0(0x1d8))/0xc;if(_0x1a1a2f===_0x80a5d5)break;else _0x2a8386['push'](_0x2a8386['shift']());}catch(_0x293284){_0x2a8386['push'](_0x2a8386['shift']());}}}(a77_0x23ee,0x57c0f));import{readFileSync,existsSync,mkdirSync,renameSync,unlinkSync,writeFileSync}from'node:fs';function a77_0x23ee(){const _0x40fda1=['EPERM','stringify','4209037teoVuz','appcode','host','35254WokMMw','empty','slice','format','project','inherit','EXDEV','9409716yxZVRl','cache','some','cwd','apiDomain','authRequired','VERBOSE','env','top-level','riskLevel','true','36gnZRVM','global','utf8','app','144140mxaMNu','missing','userDomain','21190tNqUCz','isRaw','locale','APP','setLogPath','ENV','online','development','nonInteractive','stdin','ACCESS_KEY','values','read','12621BOpQBa','apps','high-risk-write','projectConfig','explicit','raw','setRawMode','92oVobiH','production','3421FfDFnP','accessKey','globalConfig','EACCES','write','trim','error','daily','isTTY','defaultApp','argv','newConfigFileName','329409cQGkNF','PAGE_SIZE','FORMAT','code','object','message','string','pageSize','8RdTPtJ','.tmp','./constant/domain.js','setRawCommand','24AglvIB'];a77_0x23ee=function(){return _0x40fda1;};return a77_0x23ee();}import{resolve,dirname}from'node:path';import{homedir}from'node:os';import{logger}from'./utils/logger.js';function a77_0x2d4a(_0x4ddab5,_0x22f993){_0x4ddab5=_0x4ddab5-0x19f;const _0x23eea3=a77_0x23ee();let _0x2d4ac2=_0x23eea3[_0x4ddab5];return _0x2d4ac2;}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['configFileNames'];export const NEW_CONFIG_NAME=PRODUCT_CONFIG[a77_0xa8dd1e(0x1be)];function resolveConfigPath(_0x16c63b){for(const _0x1d68ff of CONFIG_NAMES){const _0x29d62f=resolve(_0x16c63b,_0x1d68ff);if(existsSync(_0x29d62f))return _0x29d62f;}return undefined;}export function resolveWriteConfigPath(_0x3769d8){const _0x1ce755=a77_0xa8dd1e,_0x55df93=_0x3769d8==='project'?process[_0x1ce755(0x1db)]():homedir(),_0x5b9d96=resolveConfigPath(_0x55df93);return _0x5b9d96??resolve(_0x55df93,NEW_CONFIG_NAME);}export function readConfigFile(_0x4582bd){const _0xcca81a=a77_0xa8dd1e;try{if(existsSync(_0x4582bd)){const _0x141ab8=readFileSync(_0x4582bd,{'encoding':_0xcca81a(0x1e5)});if(_0x141ab8){const _0x253ef3=JSON['parse'](_0x141ab8);return migrateOnlineEnv(_0x4582bd,_0x253ef3),_0x253ef3;}}}catch{}return{};}function migrateOnlineEnv(_0xdbd6a8,_0x1d91b1){const _0x8752b2=a77_0xa8dd1e;let _0x47b177=![];_0x1d91b1['env']===_0x8752b2(0x1a3)&&(_0x1d91b1[_0x8752b2(0x1df)]='production',_0x47b177=!![]);if(_0x1d91b1['apps']&&typeof _0x1d91b1[_0x8752b2(0x1ab)]===_0x8752b2(0x1c3))for(const _0x3fcdf8 of Object[_0x8752b2(0x1a8)](_0x1d91b1[_0x8752b2(0x1ab)])){_0x3fcdf8&&_0x3fcdf8[_0x8752b2(0x1df)]===_0x8752b2(0x1a3)&&(_0x3fcdf8[_0x8752b2(0x1df)]=_0x8752b2(0x1b2),_0x47b177=!![]);}if(_0x47b177)try{writeConfigFile(_0xdbd6a8,_0x1d91b1);}catch{}}export function writeConfigFile(_0x15a781,_0x31956c){const _0x3219c3=a77_0xa8dd1e,_0x4f8733=dirname(_0x15a781);!existsSync(_0x4f8733)&&mkdirSync(_0x4f8733,{'recursive':!![]});const _0x533789=_0x15a781+_0x3219c3(0x1c8);try{writeFileSync(_0x533789,JSON[_0x3219c3(0x1cd)](_0x31956c,null,0x2)+'\x0a',{'encoding':'utf8','mode':0x180});try{renameSync(_0x533789,_0x15a781);}catch(_0x5e793c){if(_0x5e793c[_0x3219c3(0x1c2)]===_0x3219c3(0x1cc)||_0x5e793c[_0x3219c3(0x1c2)]===_0x3219c3(0x1d7)||_0x5e793c[_0x3219c3(0x1c2)]===_0x3219c3(0x1b6)){writeFileSync(_0x15a781,JSON['stringify'](_0x31956c,null,0x2)+'\x0a',{'encoding':_0x3219c3(0x1e5)});try{unlinkSync(_0x533789);}catch{}}else throw _0x5e793c;}}catch(_0x18e13e){try{unlinkSync(_0x533789);}catch{}throw _0x18e13e;}}export function isNonInteractiveMode(_0x4e56a){const _0x413409=a77_0xa8dd1e;return!!(_0x4e56a[_0x413409(0x1a5)]||_0x4e56a['ci']||productEnvNames('CI')[_0x413409(0x1da)](_0x120b7c=>process.env[_0x120b7c]===_0x413409(0x1e2))||process.env.CI==='true'||!process['stdout'][_0x413409(0x1bb)]||!isStdinRawModeSupported());}function isStdinRawModeSupported(){const _0x28bcf6=a77_0xa8dd1e;if(!process[_0x28bcf6(0x1a6)][_0x28bcf6(0x1bb)])return![];try{const _0xcb52c1=process['stdin'][_0x28bcf6(0x1eb)];return process['stdin'][_0x28bcf6(0x1b0)](!![]),process[_0x28bcf6(0x1a6)][_0x28bcf6(0x1b0)](_0xcb52c1??![]),!![];}catch{return![];}}export async function createContext(_0x4a15f0){const _0x140438=a77_0xa8dd1e,_0x1bd6c8=readRawConfig(),_0x365ab9=buildConfig(_0x1bd6c8,_0x4a15f0);await initGlobalEnvironment(_0x365ab9);const {getUserDomain:_0x240b9d,getApiDomain:_0x1d6c35}=await import('./constant/domain.js'),_0x14a9ec={'apiDomain':_0x1d6c35(),'userDomain':_0x240b9d()},_0xabb4ab=await buildAuth(_0x365ab9);logger[_0x140438(0x1a1)](process[_0x140438(0x1db)]());const _0x40d90d=(CLI_BIN_NAME+'\x20'+process[_0x140438(0x1bd)][_0x140438(0x1d3)](0x2)['join']('\x20'))[_0x140438(0x1b8)]();logger[_0x140438(0x1ca)](_0x40d90d);const _0x22a307=isNonInteractiveMode(_0x4a15f0);return{'config':_0x365ab9,'auth':_0xabb4ab,'logger':logger,'env':_0x14a9ec,'nonInteractive':_0x22a307};}export function buildConfigFromFlags(_0x547f67){return buildConfig(readRawConfig(),_0x547f67);}export function getLocalAppAliases(_0x43526f){const _0x743fc1=a77_0xa8dd1e;return _0x43526f['apps']&&typeof _0x43526f[_0x743fc1(0x1ab)]===_0x743fc1(0x1c3)?_0x43526f[_0x743fc1(0x1ab)]:{};}export function resolveLocalAppAliasCode(_0x16caba,_0x3194f5){const _0x2aa3d9=a77_0xa8dd1e;if(!_0x3194f5)return undefined;const _0xa858b1=getLocalAppAliases(_0x16caba)[_0x3194f5],_0x3dcf5f=_0xa858b1?.[_0x2aa3d9(0x1cf)];return typeof _0x3dcf5f===_0x2aa3d9(0x1c5)&&_0x3dcf5f[_0x2aa3d9(0x1b8)]()?_0x3dcf5f[_0x2aa3d9(0x1b8)]():undefined;}export function readAppCodeFromConfig(){const _0x5980b5=a77_0xa8dd1e,_0x292829=readRawConfig(),_0x1f9c84=_0x292829[_0x5980b5(0x1cf)]??_0x292829[_0x5980b5(0x1e6)];if(typeof _0x1f9c84===_0x5980b5(0x1c5)&&_0x1f9c84[_0x5980b5(0x1b8)]())return _0x1f9c84[_0x5980b5(0x1b8)]();const _0x3cac47=resolveLocalAppAliasCode(_0x292829,typeof _0x292829[_0x5980b5(0x1bc)]===_0x5980b5(0x1c5)?_0x292829[_0x5980b5(0x1bc)]:undefined);if(_0x3cac47)return _0x3cac47;const _0x36395c=normalizeEnv(String(_0x292829[_0x5980b5(0x1df)]||_0x5980b5(0x1b2))),_0xb83a00=isDaily(_0x36395c)?_0x5980b5(0x1ba):isDev(_0x36395c)?_0x5980b5(0x1a4):_0x5980b5(0x1b2),_0x479993=resolveCachedAppCode(typeof _0x292829[_0x5980b5(0x1bc)]===_0x5980b5(0x1c5)?_0x292829[_0x5980b5(0x1bc)]:undefined,_0xb83a00,typeof _0x292829['accessKey']===_0x5980b5(0x1c5)?_0x292829[_0x5980b5(0x1b4)]:undefined);if(_0x479993)return _0x479993;const _0x367265=Object[_0x5980b5(0x1a8)](getLocalAppAliases(_0x292829))['find'](_0x4bd8f0=>_0x4bd8f0?.[_0x5980b5(0x1cf)]);return typeof _0x367265?.[_0x5980b5(0x1cf)]===_0x5980b5(0x1c5)&&_0x367265[_0x5980b5(0x1cf)][_0x5980b5(0x1b8)]()?_0x367265[_0x5980b5(0x1cf)]['trim']():undefined;}export function readScopedConfig(_0x5282b5){const _0xda4243=a77_0xa8dd1e,_0x360b12=_0x5282b5[_0xda4243(0x1e4)]?_0xda4243(0x1e4):_0xda4243(0x1d5);return readConfigFile(resolveWriteConfigPath(_0x360b12));}export function writeScopedConfig(_0x1deaf1,_0x114fe9){const _0x41ec4d=a77_0xa8dd1e,_0x25fd92=_0x114fe9[_0x41ec4d(0x1e4)]?_0x41ec4d(0x1e4):'project';writeConfigFile(resolveWriteConfigPath(_0x25fd92),_0x1deaf1);}export async function initGlobalEnvironment(_0x1c8233){const _0x42fb1d=a77_0xa8dd1e,{initEnv:_0x83f69c}=await import('./constant/env.js');_0x83f69c(_0x1c8233[_0x42fb1d(0x1df)]);const {initDomains:_0x266289}=await import(_0x42fb1d(0x1c9));_0x266289({'apiDomain':_0x1c8233[_0x42fb1d(0x1af)][_0x42fb1d(0x1dc)]||_0x1c8233[_0x42fb1d(0x1af)][_0x42fb1d(0x1d0)]||undefined,'userDomain':_0x1c8233[_0x42fb1d(0x1af)][_0x42fb1d(0x1e9)]||undefined,'runtimeDomain':_0x1c8233['raw']['runtimeDomain']||undefined,'skillHubDomain':_0x1c8233[_0x42fb1d(0x1af)]['skillHubDomain']||undefined});}export function getProjectConfigPath(){const _0x1eb633=a77_0xa8dd1e;return resolveConfigPath(process[_0x1eb633(0x1db)]());}export function getGlobalConfigPath(){return resolveConfigPath(homedir());}export function inspectCliConfigJsonFile(_0x2cf509){const _0x1ec6ca=a77_0xa8dd1e;if(!existsSync(_0x2cf509))return{'status':_0x1ec6ca(0x1e8)};try{const _0x1d7cb5=readFileSync(_0x2cf509,{'encoding':'utf8'});if(!_0x1d7cb5?.[_0x1ec6ca(0x1b8)]())return{'status':_0x1ec6ca(0x1d2)};const _0x323329=JSON['parse'](_0x1d7cb5);return{'status':'ok','data':_0x323329};}catch(_0x573c00){return{'status':_0x1ec6ca(0x1b9),'message':_0x573c00 instanceof Error?_0x573c00[_0x1ec6ca(0x1c4)]:String(_0x573c00)};}}export function loadRawConfigLayers(_0x2a12ea){const _0x25d5a1=a77_0xa8dd1e;let _0x5e5358={},_0x536ebb={},_0x1a5a57,_0x2b8d74;try{_0x1a5a57=resolveConfigPath(homedir());if(_0x1a5a57){const _0x3fd38a=readFileSync(_0x1a5a57,{'encoding':_0x25d5a1(0x1e5)});if(_0x3fd38a)_0x5e5358=JSON['parse'](_0x3fd38a);}}catch{}try{const _0x178603=_0x2a12ea||process[_0x25d5a1(0x1db)]();_0x2b8d74=resolveConfigPath(_0x178603);if(_0x2b8d74){const _0x5656be=readFileSync(_0x2b8d74,{'encoding':'utf8'});if(_0x5656be)_0x536ebb=JSON['parse'](_0x5656be);}}catch{}return{'globalPath':_0x1a5a57,'projectPath':_0x2b8d74,'globalConfig':_0x5e5358,'projectConfig':_0x536ebb};}function mergeRawConfigLayers(_0x16c686){const _0x290159=a77_0xa8dd1e,{globalConfig:_0x29e080,projectConfig:_0x3a7858}=_0x16c686;if(_0x3a7858['inherit']===![]){const _0x298912={..._0x3a7858};return delete _0x298912[_0x290159(0x1d6)],_0x298912;}const _0x33cec4={..._0x29e080,..._0x3a7858};if(_0x290159(0x1bc)in _0x3a7858)_0x33cec4[_0x290159(0x1bc)]=_0x3a7858[_0x290159(0x1bc)];else _0x29e080[_0x290159(0x1bc)]&&(_0x33cec4[_0x290159(0x1bc)]=_0x29e080[_0x290159(0x1bc)]);return _0x33cec4;}export function isInProject(){return!!getProjectConfigPath();}export function readRawConfig(_0x5a4609){return mergeRawConfigLayers(loadRawConfigLayers(_0x5a4609));}export function readRawConfigWithLayers(_0x1cff28){const _0x5c47fc=loadRawConfigLayers(_0x1cff28);return{'config':mergeRawConfigLayers(_0x5c47fc),'layers':_0x5c47fc};}export function resolveDefaultAppSource(_0x265ad5){const _0x9decd6=a77_0xa8dd1e;if(_0x9decd6(0x1bc)in _0x265ad5[_0x9decd6(0x1ad)])return _0x9decd6(0x1d5);if(_0x265ad5[_0x9decd6(0x1ad)][_0x9decd6(0x1d6)]===![])return null;if(_0x265ad5[_0x9decd6(0x1b5)][_0x9decd6(0x1bc)])return _0x9decd6(0x1e4);return null;}function buildConfig(_0x7e2281,_0x5de7a0){const _0x474a4e=a77_0xa8dd1e,_0x5840ff=_0x7e2281[_0x474a4e(0x1bc)]||undefined,_0x160f3f=_0x5de7a0[_0x474a4e(0x1e6)]||env(_0x474a4e(0x1a0))||undefined,_0x55db6e=_0x160f3f||_0x5840ff||undefined,_0x4e94ff=env(_0x474a4e(0x1a7))||_0x7e2281[_0x474a4e(0x1b4)]||undefined,_0x535da1=_0x5de7a0[_0x474a4e(0x1df)]||env(_0x474a4e(0x1a2))||_0x7e2281[_0x474a4e(0x1df)]||DEFAULT_CONFIG_VALUES[_0x474a4e(0x1df)],_0x48116b=normalizeEnv(String(_0x535da1)),_0x9d0ae4=isDaily(_0x48116b)?_0x474a4e(0x1ba):isDev(_0x48116b)?'development':_0x474a4e(0x1b2),_0x57a2c6=typeof _0x5de7a0[_0x474a4e(0x1cf)]===_0x474a4e(0x1c5)?_0x5de7a0[_0x474a4e(0x1cf)]:undefined,_0x28fc33=env('APPCODE'),_0x796a96=_0x160f3f?undefined:_0x7e2281[_0x474a4e(0x1cf)]||_0x7e2281['app']||undefined,_0x44884e=_0x160f3f||(_0x796a96?undefined:_0x5840ff),_0x140956=resolveLocalAppAliasCode(_0x7e2281,_0x44884e),_0x978195=resolveCachedAppCode(_0x44884e,_0x9d0ae4,_0x4e94ff),_0x55eeb9=_0x57a2c6||_0x28fc33||_0x796a96||_0x140956||_0x978195||undefined,_0x3b924d=_0x57a2c6?_0x474a4e(0x1ae):_0x28fc33?_0x474a4e(0x1df):_0x796a96?_0x474a4e(0x1e0):_0x140956?'local-alias':_0x978195?_0x474a4e(0x1d9):undefined,_0x6c9bad=_0x7e2281[_0x474a4e(0x19f)]||DEFAULT_CONFIG_VALUES['locale'],_0x825ef0=undefined,_0xcd2ac7=_0x5de7a0[_0x474a4e(0x1d4)]||env(_0x474a4e(0x1c1))||_0x7e2281[_0x474a4e(0x1d4)],_0xea8bba=normalizeLegacyOutputFormat(_0xcd2ac7),_0x19b15a=env(_0x474a4e(0x1c0))||_0x7e2281[_0x474a4e(0x1c6)],_0x2c1aed=_0x19b15a?Number(_0x19b15a)||undefined:undefined,_0x4a3175=_0x7e2281[_0x474a4e(0x1e1)]||_0x7e2281['maxRisk'],_0x484f77=_0x4a3175===_0x474a4e(0x1a9)||_0x4a3175===_0x474a4e(0x1b7)||_0x4a3175===_0x474a4e(0x1ac)?_0x4a3175:DEFAULT_CONFIG_VALUES[_0x474a4e(0x1e1)],_0x5dfe70=env(_0x474a4e(0x1de)),_0x1458d5=_0x5dfe70==='1'||_0x5dfe70==='true';return{'appCode':typeof _0x55eeb9===_0x474a4e(0x1c5)&&_0x55eeb9[_0x474a4e(0x1b8)]()?_0x55eeb9[_0x474a4e(0x1b8)]():undefined,'appCodeSource':_0x3b924d,'env':_0x9d0ae4,'locale':_0x6c9bad,'cookie':_0x825ef0,'accessKey':_0x4e94ff,'format':_0xea8bba,'pageSize':_0x2c1aed,'riskLevel':_0x484f77,'verbose':_0x1458d5,'defaultApp':_0x5840ff,'currentApp':typeof _0x55db6e===_0x474a4e(0x1c5)?_0x55db6e:undefined,'raw':_0x7e2281};}function env(_0x49babf){return productEnv(_0x49babf);}async function buildAuth(_0x2e39e3){const _0x1e8972='',_0xd24c4=!!_0x2e39e3['accessKey'];return{'cookie':_0x1e8972,'isLoggedIn':_0xd24c4,async 'getOrLogin'(){const _0x205504=a77_0x2d4a;if(_0xd24c4)return _0x1e8972;throw CliErrors[_0x205504(0x1dd)]();}};}
1
+ const a77_0x4e0dc1=a77_0x837d;(function(_0x11ce30,_0x1adb8e){const _0x5502c1=a77_0x837d,_0xb9c443=_0x11ce30();while(!![]){try{const _0x2ccfe7=-parseInt(_0x5502c1(0xd6))/0x1*(-parseInt(_0x5502c1(0xd0))/0x2)+-parseInt(_0x5502c1(0x10d))/0x3*(-parseInt(_0x5502c1(0xe3))/0x4)+parseInt(_0x5502c1(0xf9))/0x5+parseInt(_0x5502c1(0x106))/0x6+parseInt(_0x5502c1(0xfd))/0x7+-parseInt(_0x5502c1(0xfb))/0x8*(-parseInt(_0x5502c1(0xcb))/0x9)+-parseInt(_0x5502c1(0xc8))/0xa;if(_0x2ccfe7===_0x1adb8e)break;else _0xb9c443['push'](_0xb9c443['shift']());}catch(_0x2c08b8){_0xb9c443['push'](_0xb9c443['shift']());}}}(a77_0x2ed6,0x762d4));function a77_0x837d(_0x53ac7b,_0x5c4a08){_0x53ac7b=_0x53ac7b-0xc1;const _0x2ed6de=a77_0x2ed6();let _0x837dfc=_0x2ed6de[_0x53ac7b];return _0x837dfc;}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';function a77_0x2ed6(){const _0x4cce6d=['true','EXDEV','45bFXQOf','missing','format','high-risk-write','projectConfig','8AytgzO','stdin','stdout','APPCODE','defaultApp','setRawCommand','57586sgELAI','setRawMode','./constant/env.js','riskLevel','globalConfig','locale','online','find','global','nonInteractive','production','EACCES','write','744uNeRkR','argv','development','error','EPERM','FORMAT','pageSize','project','raw','object','read','PAGE_SIZE','slice','apiDomain','authRequired','local-alias','empty','.tmp','ENV','skillHubDomain','VERBOSE','top-level','1801730CPTVAX','env','873128OnkQcY','trim','1792161iXaJVP','apps','cwd','inherit','join','userDomain','app','utf8','maxRisk','446610cyKWjX','appcode','stringify','code','./constant/domain.js','parse','configFileNames','14958juxROH','newConfigFileName','values','isTTY','accessKey','daily','string','explicit','19101970lHzHWf'];a77_0x2ed6=function(){return _0x4cce6d;};return a77_0x2ed6();}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_0x4e0dc1(0x10c)];export const NEW_CONFIG_NAME=PRODUCT_CONFIG[a77_0x4e0dc1(0xc1)];function resolveConfigPath(_0x315a96){for(const _0xaae0ab of CONFIG_NAMES){const _0x3fd65b=resolve(_0x315a96,_0xaae0ab);if(existsSync(_0x3fd65b))return _0x3fd65b;}return undefined;}export function resolveWriteConfigPath(_0x2aeefc){const _0x1c73ab=a77_0x4e0dc1,_0x3414ca=_0x2aeefc==='project'?process[_0x1c73ab(0xff)]():homedir(),_0x43d91a=resolveConfigPath(_0x3414ca);return _0x43d91a??resolve(_0x3414ca,NEW_CONFIG_NAME);}export function readConfigFile(_0x33e808){const _0x11cb8d=a77_0x4e0dc1;try{if(existsSync(_0x33e808)){const _0x4ad47e=readFileSync(_0x33e808,{'encoding':_0x11cb8d(0x104)});if(_0x4ad47e){const _0x32608d=JSON['parse'](_0x4ad47e);return migrateOnlineEnv(_0x33e808,_0x32608d),_0x32608d;}}}catch{}return{};}function migrateOnlineEnv(_0x54ce5c,_0xa7ff68){const _0x5e5d45=a77_0x4e0dc1;let _0x207d16=![];_0xa7ff68[_0x5e5d45(0xfa)]===_0x5e5d45(0xdc)&&(_0xa7ff68[_0x5e5d45(0xfa)]=_0x5e5d45(0xe0),_0x207d16=!![]);if(_0xa7ff68[_0x5e5d45(0xfe)]&&typeof _0xa7ff68[_0x5e5d45(0xfe)]==='object')for(const _0x1be2c6 of Object[_0x5e5d45(0xc2)](_0xa7ff68[_0x5e5d45(0xfe)])){_0x1be2c6&&_0x1be2c6['env']===_0x5e5d45(0xdc)&&(_0x1be2c6[_0x5e5d45(0xfa)]='production',_0x207d16=!![]);}if(_0x207d16)try{writeConfigFile(_0x54ce5c,_0xa7ff68);}catch{}}export function writeConfigFile(_0x3ce133,_0x2c566f){const _0x616bcb=a77_0x4e0dc1,_0x159453=dirname(_0x3ce133);!existsSync(_0x159453)&&mkdirSync(_0x159453,{'recursive':!![]});const _0x2cd0ea=_0x3ce133+_0x616bcb(0xf4);try{writeFileSync(_0x2cd0ea,JSON[_0x616bcb(0x108)](_0x2c566f,null,0x2)+'\x0a',{'encoding':_0x616bcb(0x104),'mode':0x180});try{renameSync(_0x2cd0ea,_0x3ce133);}catch(_0xa96864){if(_0xa96864[_0x616bcb(0x109)]===_0x616bcb(0xe7)||_0xa96864[_0x616bcb(0x109)]===_0x616bcb(0xca)||_0xa96864[_0x616bcb(0x109)]===_0x616bcb(0xe1)){writeFileSync(_0x3ce133,JSON[_0x616bcb(0x108)](_0x2c566f,null,0x2)+'\x0a',{'encoding':_0x616bcb(0x104)});try{unlinkSync(_0x2cd0ea);}catch{}}else throw _0xa96864;}}catch(_0x55b196){try{unlinkSync(_0x2cd0ea);}catch{}throw _0x55b196;}}export function isNonInteractiveMode(_0x5d06af){const _0x4a6c56=a77_0x4e0dc1;return!!(_0x5d06af[_0x4a6c56(0xdf)]||_0x5d06af['ci']||productEnvNames('CI')['some'](_0x3dc516=>process.env[_0x3dc516]===_0x4a6c56(0xc9))||process.env.CI===_0x4a6c56(0xc9)||!process[_0x4a6c56(0xd2)][_0x4a6c56(0xc3)]||!isStdinRawModeSupported());}function isStdinRawModeSupported(){const _0x514174=a77_0x4e0dc1;if(!process['stdin'][_0x514174(0xc3)])return![];try{const _0x5440f9=process[_0x514174(0xd1)]['isRaw'];return process[_0x514174(0xd1)][_0x514174(0xd7)](!![]),process['stdin'][_0x514174(0xd7)](_0x5440f9??![]),!![];}catch{return![];}}export async function createContext(_0x5eb6f4){const _0x1aee7f=a77_0x4e0dc1,_0x16eef0=readRawConfig(),_0x453d6f=buildConfig(_0x16eef0,_0x5eb6f4);await initGlobalEnvironment(_0x453d6f);const {getUserDomain:_0x304661,getApiDomain:_0x5cbae0}=await import('./constant/domain.js'),_0x4eae99={'apiDomain':_0x5cbae0(),'userDomain':_0x304661()},_0x59bdb9=await buildAuth(_0x453d6f);logger['setLogPath'](process[_0x1aee7f(0xff)]());const _0x49ad41=(CLI_BIN_NAME+'\x20'+process[_0x1aee7f(0xe4)][_0x1aee7f(0xef)](0x2)[_0x1aee7f(0x101)]('\x20'))[_0x1aee7f(0xfc)]();logger[_0x1aee7f(0xd5)](_0x49ad41);const _0x20de22=isNonInteractiveMode(_0x5eb6f4);return{'config':_0x453d6f,'auth':_0x59bdb9,'logger':logger,'env':_0x4eae99,'nonInteractive':_0x20de22};}export function buildConfigFromFlags(_0x4027b1){return buildConfig(readRawConfig(),_0x4027b1);}export function getLocalAppAliases(_0x37b69a){const _0x20a6cc=a77_0x4e0dc1;return _0x37b69a[_0x20a6cc(0xfe)]&&typeof _0x37b69a['apps']===_0x20a6cc(0xec)?_0x37b69a[_0x20a6cc(0xfe)]:{};}export function resolveLocalAppAliasCode(_0x484ab1,_0x5b2747){const _0x5765df=a77_0x4e0dc1;if(!_0x5b2747)return undefined;const _0x3c04c5=getLocalAppAliases(_0x484ab1)[_0x5b2747],_0x3b811f=_0x3c04c5?.[_0x5765df(0x107)];return typeof _0x3b811f===_0x5765df(0xc6)&&_0x3b811f[_0x5765df(0xfc)]()?_0x3b811f['trim']():undefined;}export function readAppCodeFromConfig(){const _0x51030f=a77_0x4e0dc1,_0x505883=readRawConfig(),_0x41d924=_0x505883[_0x51030f(0x107)]??_0x505883[_0x51030f(0x103)];if(typeof _0x41d924===_0x51030f(0xc6)&&_0x41d924[_0x51030f(0xfc)]())return _0x41d924[_0x51030f(0xfc)]();const _0x4d94a5=resolveLocalAppAliasCode(_0x505883,typeof _0x505883[_0x51030f(0xd4)]===_0x51030f(0xc6)?_0x505883[_0x51030f(0xd4)]:undefined);if(_0x4d94a5)return _0x4d94a5;const _0x39cb89=normalizeEnv(String(_0x505883[_0x51030f(0xfa)]||_0x51030f(0xe0))),_0x48abde=isDaily(_0x39cb89)?_0x51030f(0xc5):isDev(_0x39cb89)?_0x51030f(0xe5):_0x51030f(0xe0),_0x43c2a3=resolveCachedAppCode(typeof _0x505883[_0x51030f(0xd4)]===_0x51030f(0xc6)?_0x505883[_0x51030f(0xd4)]:undefined,_0x48abde,typeof _0x505883['accessKey']===_0x51030f(0xc6)?_0x505883[_0x51030f(0xc4)]:undefined);if(_0x43c2a3)return _0x43c2a3;const _0x45e44d=Object[_0x51030f(0xc2)](getLocalAppAliases(_0x505883))[_0x51030f(0xdd)](_0x5c7538=>_0x5c7538?.[_0x51030f(0x107)]);return typeof _0x45e44d?.[_0x51030f(0x107)]===_0x51030f(0xc6)&&_0x45e44d[_0x51030f(0x107)][_0x51030f(0xfc)]()?_0x45e44d[_0x51030f(0x107)][_0x51030f(0xfc)]():undefined;}export function readScopedConfig(_0x1ccd4b){const _0x22a311=a77_0x4e0dc1,_0x1ec17=_0x1ccd4b[_0x22a311(0xde)]?_0x22a311(0xde):_0x22a311(0xea);return readConfigFile(resolveWriteConfigPath(_0x1ec17));}export function writeScopedConfig(_0x2680be,_0x4912a3){const _0x3ee212=a77_0x4e0dc1,_0x133850=_0x4912a3[_0x3ee212(0xde)]?'global':_0x3ee212(0xea);writeConfigFile(resolveWriteConfigPath(_0x133850),_0x2680be);}export async function initGlobalEnvironment(_0x268ca3){const _0x39b221=a77_0x4e0dc1,{initEnv:_0x1043d1}=await import(_0x39b221(0xd8));_0x1043d1(_0x268ca3[_0x39b221(0xfa)]);const {initDomains:_0x24cc3d}=await import(_0x39b221(0x10a));_0x24cc3d({'apiDomain':_0x268ca3['raw'][_0x39b221(0xf0)]||_0x268ca3[_0x39b221(0xeb)]['host']||undefined,'userDomain':_0x268ca3[_0x39b221(0xeb)][_0x39b221(0x102)]||undefined,'runtimeDomain':_0x268ca3[_0x39b221(0xeb)]['runtimeDomain']||undefined,'skillHubDomain':_0x268ca3[_0x39b221(0xeb)][_0x39b221(0xf6)]||undefined});}export function getProjectConfigPath(){return resolveConfigPath(process['cwd']());}export function getGlobalConfigPath(){return resolveConfigPath(homedir());}export function inspectCliConfigJsonFile(_0x2e2fe3){const _0x350135=a77_0x4e0dc1;if(!existsSync(_0x2e2fe3))return{'status':_0x350135(0xcc)};try{const _0x2880e2=readFileSync(_0x2e2fe3,{'encoding':_0x350135(0x104)});if(!_0x2880e2?.['trim']())return{'status':_0x350135(0xf3)};const _0x2a470d=JSON[_0x350135(0x10b)](_0x2880e2);return{'status':'ok','data':_0x2a470d};}catch(_0x39efd2){return{'status':_0x350135(0xe6),'message':_0x39efd2 instanceof Error?_0x39efd2['message']:String(_0x39efd2)};}}export function loadRawConfigLayers(_0x541262){const _0x144fd3=a77_0x4e0dc1;let _0x4b8438={},_0x29ca48={},_0xf163a,_0x4ec371;try{_0xf163a=resolveConfigPath(homedir());if(_0xf163a){const _0x5dda1a=readFileSync(_0xf163a,{'encoding':_0x144fd3(0x104)});if(_0x5dda1a)_0x4b8438=JSON[_0x144fd3(0x10b)](_0x5dda1a);}}catch{}try{const _0x31c012=_0x541262||process[_0x144fd3(0xff)]();_0x4ec371=resolveConfigPath(_0x31c012);if(_0x4ec371){const _0x286370=readFileSync(_0x4ec371,{'encoding':'utf8'});if(_0x286370)_0x29ca48=JSON[_0x144fd3(0x10b)](_0x286370);}}catch{}return{'globalPath':_0xf163a,'projectPath':_0x4ec371,'globalConfig':_0x4b8438,'projectConfig':_0x29ca48};}function mergeRawConfigLayers(_0x1a09b0){const _0x61136b=a77_0x4e0dc1,{globalConfig:_0x283453,projectConfig:_0x5ccb4b}=_0x1a09b0;if(_0x5ccb4b[_0x61136b(0x100)]===![]){const _0x279d11={..._0x5ccb4b};return delete _0x279d11[_0x61136b(0x100)],_0x279d11;}const _0x57ba00={..._0x283453,..._0x5ccb4b};if(_0x61136b(0xd4)in _0x5ccb4b)_0x57ba00[_0x61136b(0xd4)]=_0x5ccb4b[_0x61136b(0xd4)];else _0x283453[_0x61136b(0xd4)]&&(_0x57ba00[_0x61136b(0xd4)]=_0x283453[_0x61136b(0xd4)]);return _0x57ba00;}export function isInProject(){return!!getProjectConfigPath();}export function readRawConfig(_0x5c0f44){return mergeRawConfigLayers(loadRawConfigLayers(_0x5c0f44));}export function readRawConfigWithLayers(_0x46ba68){const _0x89253b=loadRawConfigLayers(_0x46ba68);return{'config':mergeRawConfigLayers(_0x89253b),'layers':_0x89253b};}export function resolveDefaultAppSource(_0x7f5e63){const _0x46fe64=a77_0x4e0dc1;if(_0x46fe64(0xd4)in _0x7f5e63[_0x46fe64(0xcf)])return'project';if(_0x7f5e63[_0x46fe64(0xcf)]['inherit']===![])return null;if(_0x7f5e63[_0x46fe64(0xda)][_0x46fe64(0xd4)])return _0x46fe64(0xde);return null;}function buildConfig(_0x1fb027,_0x37fde1){const _0x11d438=a77_0x4e0dc1,_0x2f55f5=_0x1fb027[_0x11d438(0xd4)]||undefined,_0x35888e=_0x37fde1[_0x11d438(0x103)]||env('APP')||undefined,_0x24d233=_0x35888e||_0x2f55f5||undefined,_0x2f9a9f=env('ACCESS_KEY')||_0x1fb027[_0x11d438(0xc4)]||undefined,_0x1fc5c8=_0x37fde1['env']||env(_0x11d438(0xf5))||_0x1fb027['env']||DEFAULT_CONFIG_VALUES[_0x11d438(0xfa)],_0x50a2b8=normalizeEnv(String(_0x1fc5c8)),_0x1932ce=isDaily(_0x50a2b8)?_0x11d438(0xc5):isDev(_0x50a2b8)?_0x11d438(0xe5):_0x11d438(0xe0),_0x293400=typeof _0x37fde1['appcode']===_0x11d438(0xc6)?_0x37fde1[_0x11d438(0x107)]:undefined,_0x1dfce6=env(_0x11d438(0xd3)),_0x583299=_0x35888e?undefined:_0x1fb027['appcode']||_0x1fb027['app']||undefined,_0x522de3=_0x35888e||(_0x583299?undefined:_0x2f55f5),_0x40b5d1=resolveLocalAppAliasCode(_0x1fb027,_0x522de3),_0x2c50a5=resolveCachedAppCode(_0x522de3,_0x1932ce,_0x2f9a9f),_0x268d7d=_0x293400||_0x1dfce6||_0x583299||_0x40b5d1||_0x2c50a5||undefined,_0x448de5=_0x293400?_0x11d438(0xc7):_0x1dfce6?_0x11d438(0xfa):_0x583299?_0x11d438(0xf8):_0x40b5d1?_0x11d438(0xf2):_0x2c50a5?'cache':undefined,_0x39f20f=_0x1fb027[_0x11d438(0xdb)]||DEFAULT_CONFIG_VALUES['locale'],_0x12bcaf=undefined,_0x3b965a=_0x37fde1[_0x11d438(0xcd)]||env(_0x11d438(0xe8))||_0x1fb027[_0x11d438(0xcd)],_0x1f7739=normalizeLegacyOutputFormat(_0x3b965a),_0x3d3a57=env(_0x11d438(0xee))||_0x1fb027[_0x11d438(0xe9)],_0x1ddb53=_0x3d3a57?Number(_0x3d3a57)||undefined:undefined,_0x30fd29=_0x1fb027[_0x11d438(0xd9)]||_0x1fb027[_0x11d438(0x105)],_0x29bd6b=_0x30fd29===_0x11d438(0xed)||_0x30fd29===_0x11d438(0xe2)||_0x30fd29===_0x11d438(0xce)?_0x30fd29:DEFAULT_CONFIG_VALUES['riskLevel'],_0x5f2607=env(_0x11d438(0xf7)),_0x276c99=_0x5f2607==='1'||_0x5f2607===_0x11d438(0xc9);return{'appCode':typeof _0x268d7d===_0x11d438(0xc6)&&_0x268d7d[_0x11d438(0xfc)]()?_0x268d7d[_0x11d438(0xfc)]():undefined,'appCodeSource':_0x448de5,'env':_0x1932ce,'locale':_0x39f20f,'cookie':_0x12bcaf,'accessKey':_0x2f9a9f,'format':_0x1f7739,'pageSize':_0x1ddb53,'riskLevel':_0x29bd6b,'verbose':_0x276c99,'defaultApp':_0x2f55f5,'currentApp':typeof _0x24d233==='string'?_0x24d233:undefined,'raw':_0x1fb027};}function env(_0x5f553d){return productEnv(_0x5f553d);}async function buildAuth(_0xc50b6a){const _0x4eb491=a77_0x4e0dc1,_0x3eb4f2='',_0x15c9c0=!!_0xc50b6a[_0x4eb491(0xc4)];return{'cookie':_0x3eb4f2,'isLoggedIn':_0x15c9c0,async 'getOrLogin'(){const _0x8f088f=_0x4eb491;if(_0x15c9c0)return _0x3eb4f2;throw CliErrors[_0x8f088f(0xf1)]();}};}