@lovrabet/lovrabet-cli 2.3.11-beta.1 → 2.3.12-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (187) 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/approval/index.js +1 -1
  12. package/lib/commands/artifact/index.d.ts +13 -1
  13. package/lib/commands/artifact/index.js +1 -1
  14. package/lib/commands/auth/device.js +1 -1
  15. package/lib/commands/auth/index.js +1 -1
  16. package/lib/commands/auth/prompt.js +1 -1
  17. package/lib/commands/bff/detail.js +1 -1
  18. package/lib/commands/bff/exec.js +1 -1
  19. package/lib/commands/bff/index.js +1 -1
  20. package/lib/commands/cli-skill/index.js +1 -1
  21. package/lib/commands/common/config-policy.js +1 -1
  22. package/lib/commands/common/constraints.js +1 -1
  23. package/lib/commands/common/flags.js +1 -1
  24. package/lib/commands/common/local-file.js +1 -1
  25. package/lib/commands/config/definitions.js +1 -1
  26. package/lib/commands/config/init.js +1 -1
  27. package/lib/commands/config/shared.js +1 -1
  28. package/lib/commands/data/import-excel.js +1 -1
  29. package/lib/commands/data/index.js +1 -1
  30. package/lib/commands/dataset/detail.js +1 -1
  31. package/lib/commands/dataset/index.js +1 -1
  32. package/lib/commands/dataset/list.js +1 -1
  33. package/lib/commands/dataset/sdk-doc.js +1 -1
  34. package/lib/commands/doctor.js +1 -1
  35. package/lib/commands/file/index.js +1 -1
  36. package/lib/commands/init.js +1 -1
  37. package/lib/commands/issue/context.js +1 -1
  38. package/lib/commands/issue/index.js +1 -1
  39. package/lib/commands/issue/report.js +1 -1
  40. package/lib/commands/kb/index.js +1 -1
  41. package/lib/commands/logs/index.js +1 -1
  42. package/lib/commands/notification/config-list.js +1 -1
  43. package/lib/commands/notification/index.js +1 -1
  44. package/lib/commands/notification/shared.js +1 -1
  45. package/lib/commands/ocr/index.js +1 -1
  46. package/lib/commands/permit/dataset-get.js +1 -1
  47. package/lib/commands/permit/dataset-set.js +1 -1
  48. package/lib/commands/permit/index.js +1 -1
  49. package/lib/commands/permit/page-get.js +1 -1
  50. package/lib/commands/permit/page-set.js +1 -1
  51. package/lib/commands/permit/role-menus-set.js +1 -1
  52. package/lib/commands/permit/role-menus.js +1 -1
  53. package/lib/commands/permit/shared.js +1 -1
  54. package/lib/commands/personal-bff/index.js +1 -1
  55. package/lib/commands/registry.js +1 -1
  56. package/lib/commands/role/create.js +1 -1
  57. package/lib/commands/role/delete.js +1 -1
  58. package/lib/commands/role/detail.js +1 -1
  59. package/lib/commands/role/index.js +1 -1
  60. package/lib/commands/role/list.js +1 -1
  61. package/lib/commands/role/shared.js +1 -1
  62. package/lib/commands/role/update.js +1 -1
  63. package/lib/commands/role/user-add.js +1 -1
  64. package/lib/commands/role/user-remove.js +1 -1
  65. package/lib/commands/schedule/index.js +1 -1
  66. package/lib/commands/schema.js +1 -1
  67. package/lib/commands/service/dynamic.js +1 -1
  68. package/lib/commands/service/function-name-adapter.js +1 -1
  69. package/lib/commands/service/index.js +1 -1
  70. package/lib/commands/service/registry.js +1 -1
  71. package/lib/commands/skill/commands/create.js +1 -1
  72. package/lib/commands/skill/commands/diagram.js +1 -1
  73. package/lib/commands/skill/commands/install.js +1 -1
  74. package/lib/commands/skill/commands/list.js +1 -1
  75. package/lib/commands/skill/commands/push.js +1 -1
  76. package/lib/commands/skill/commands/validate.js +1 -1
  77. package/lib/commands/skill/diagram.js +1 -1
  78. package/lib/commands/skill/flags.js +1 -1
  79. package/lib/commands/skill/index.js +1 -1
  80. package/lib/commands/skill/manifest-helpers.js +1 -1
  81. package/lib/commands/skill/push-execute.js +1 -1
  82. package/lib/commands/skill/push-flow-helpers.js +1 -1
  83. package/lib/commands/skill/push-retarget.js +1 -1
  84. package/lib/commands/skill/scopes.js +1 -1
  85. package/lib/commands/skill/summary.js +1 -1
  86. package/lib/commands/skill/templates.js +1 -1
  87. package/lib/commands/skill/validate.js +1 -1
  88. package/lib/commands/sql/detail.js +1 -1
  89. package/lib/commands/sql/exec.js +1 -1
  90. package/lib/commands/sql/index.js +1 -1
  91. package/lib/commands/update.js +1 -1
  92. package/lib/commands/user-account/bind.js +1 -1
  93. package/lib/commands/user-account/index.js +1 -1
  94. package/lib/commands/workspace/index.js +1 -1
  95. package/lib/config/domain-config.js +1 -1
  96. package/lib/config/schema.js +1 -1
  97. package/lib/constant/app.js +1 -1
  98. package/lib/constant/auth-mode.js +1 -1
  99. package/lib/constant/cli.js +1 -1
  100. package/lib/constant/defaults.js +1 -1
  101. package/lib/constant/distribution.js +1 -1
  102. package/lib/constant/domain.js +1 -1
  103. package/lib/constant/env.js +1 -1
  104. package/lib/constant/output.js +1 -1
  105. package/lib/constant/product.js +1 -1
  106. package/lib/constant/region.js +1 -1
  107. package/lib/constant/risk.js +1 -1
  108. package/lib/constant/url.js +1 -1
  109. package/lib/context.js +1 -1
  110. package/lib/core/api-client.d.ts +3 -2
  111. package/lib/core/api-client.js +1 -1
  112. package/lib/core/db-resolver.js +1 -1
  113. package/lib/core/kb-management-client.js +1 -1
  114. package/lib/core/kb-sdk-errors.js +1 -1
  115. package/lib/core/kb-search-client.js +1 -1
  116. package/lib/core/sdk-client.js +1 -1
  117. package/lib/errors.js +1 -1
  118. package/lib/framework/access-error.js +1 -1
  119. package/lib/framework/build-all-flags.js +1 -1
  120. package/lib/framework/dryrun.js +1 -1
  121. package/lib/framework/flags.js +1 -1
  122. package/lib/framework/help.js +1 -1
  123. package/lib/framework/index.js +1 -1
  124. package/lib/framework/output.js +1 -1
  125. package/lib/framework/preparse.js +1 -1
  126. package/lib/framework/rate-limit.js +1 -1
  127. package/lib/framework/raw-flags.js +1 -1
  128. package/lib/framework/response.js +1 -1
  129. package/lib/framework/runner-confirmation.js +1 -1
  130. package/lib/framework/runner-error.js +1 -1
  131. package/lib/framework/runner.js +1 -1
  132. package/lib/framework/schema-export.js +1 -1
  133. package/lib/framework/service-order.js +1 -1
  134. package/lib/framework/types.js +1 -1
  135. package/lib/generated/build-info.d.ts +4 -4
  136. package/lib/generated/build-info.js +1 -1
  137. package/lib/generated/official-routing.js +1 -1
  138. package/lib/generated/routing-contract.js +1 -1
  139. package/lib/help.js +1 -1
  140. package/lib/postinstall.js +1 -1
  141. package/lib/runtime/confirmation.js +1 -1
  142. package/lib/runtime/event.js +1 -1
  143. package/lib/runtime/index.js +1 -1
  144. package/lib/runtime/queue.js +1 -1
  145. package/lib/runtime/resolve.js +1 -1
  146. package/lib/services/dataset-import/auto-id-runner.js +1 -1
  147. package/lib/services/dataset-import/excel-reader.js +1 -1
  148. package/lib/services/dataset-import/image-bytes.js +1 -1
  149. package/lib/services/dataset-import/image-ooxml.js +1 -1
  150. package/lib/services/dataset-import/image-runner.js +1 -1
  151. package/lib/services/dataset-import/metadata.js +1 -1
  152. package/lib/services/dataset-import/preview.js +1 -1
  153. package/lib/services/dataset-import/runner.js +1 -1
  154. package/lib/skills/builtin-skill.js +1 -1
  155. package/lib/skills/npx-skills-add.js +1 -1
  156. package/lib/skills/runtime-skill-sync/constants.js +1 -1
  157. package/lib/skills/runtime-skill-sync/fs-utils.js +1 -1
  158. package/lib/skills/runtime-skill-sync/hashing.js +1 -1
  159. package/lib/skills/runtime-skill-sync/install-target.js +1 -1
  160. package/lib/skills/runtime-skill-sync/links.js +1 -1
  161. package/lib/skills/runtime-skill-sync/list-local.js +1 -1
  162. package/lib/skills/runtime-skill-sync/local-files.js +1 -1
  163. package/lib/skills/runtime-skill-sync/materialize.js +1 -1
  164. package/lib/skills/runtime-skill-sync/metadata.js +1 -1
  165. package/lib/skills/runtime-skill-sync/paths.js +1 -1
  166. package/lib/skills/runtime-skill-sync/push.js +1 -1
  167. package/lib/skills/runtime-skill-sync/scopes.js +1 -1
  168. package/lib/skills/runtime-skill-sync/zip-codec.js +1 -1
  169. package/lib/skills/runtime-skill-sync/zip-package.js +1 -1
  170. package/lib/skills/runtime-skill-sync.js +1 -1
  171. package/lib/skills/skill-presence.js +1 -1
  172. package/lib/utils/access-key-redaction.js +1 -1
  173. package/lib/utils/apply-jq-filter.js +1 -1
  174. package/lib/utils/cli-version-check.js +1 -1
  175. package/lib/utils/cli-version-policy.js +1 -1
  176. package/lib/utils/logger.js +1 -1
  177. package/lib/utils/lossless-json.js +1 -1
  178. package/lib/utils/params.js +1 -1
  179. package/lib/utils/positive-safe-integer.js +1 -1
  180. package/lib/utils/redaction.js +1 -1
  181. package/lib/utils/runtime-user-id.js +1 -1
  182. package/lib/utils/update-notice.js +1 -1
  183. package/lib/utils/version.js +1 -1
  184. package/lib/utils/write-cli-side-channel.js +1 -1
  185. package/package.json +1 -1
  186. package/skills/lovrabet/SKILL.md +1 -1
  187. package/skills/lovrabet.manifest.json +3 -3
@@ -1 +1 @@
1
- const a94_0x44a907=a94_0x5037;(function(_0x202b19,_0xd56fa){const _0x356763=a94_0x5037,_0x2a9c6c=_0x202b19();while(!![]){try{const _0x2196f5=-parseInt(_0x356763(0x81))/0x1+parseInt(_0x356763(0x7a))/0x2*(-parseInt(_0x356763(0x87))/0x3)+parseInt(_0x356763(0x79))/0x4*(parseInt(_0x356763(0x78))/0x5)+-parseInt(_0x356763(0x8d))/0x6+parseInt(_0x356763(0x8e))/0x7*(-parseInt(_0x356763(0x7b))/0x8)+-parseInt(_0x356763(0x93))/0x9*(-parseInt(_0x356763(0x73))/0xa)+-parseInt(_0x356763(0x7d))/0xb*(-parseInt(_0x356763(0x77))/0xc);if(_0x2196f5===_0xd56fa)break;else _0x2a9c6c['push'](_0x2a9c6c['shift']());}catch(_0x1f4c3a){_0x2a9c6c['push'](_0x2a9c6c['shift']());}}}(a94_0x24a5,0xe05dc));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{RUNTIME_ENV_VALUES}from'../constant/env.js';import{OUTPUT_FORMAT_VALUES}from'../constant/output.js';function a94_0x24a5(){const _0x206a52=['toLowerCase','enumValues','Override\x20user\x20domain','1830iWTCNl','Target\x20environment','filter','defaultValue','3718284VOhqRI','905ADZEpb','22468mcSqpy','214YdPnZv','1768hAEHTy','Versioned\x20enterprise\x20routing\x20manifest','77xGYWNU','Override\x20KB\x20Service\x20domain','env','Default\x20output\x20format','1124609mmyoCn','Risk\x20level','importable','Lovrabet\x20region','map','zh-CN','9192UThKDp',';\x20local\x20alias:\x20apps.<alias>.appcode','nativeToolAvailable','join','format','riskLevel','3091980OAKoJs','27314vIYFYN','en-US','entries','legacyCompatOnly','cliSettableTopLevel','27711gqMCNW','Override\x20Harness\x20domain','has','App\x20locale\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)','Override\x20SkillHub\x20domain','Override\x20runtime\x20domain','Default\x20page\x20size'];a94_0x24a5=function(){return _0x206a52;};return a94_0x24a5();}import{DEFAULT_LOVRABET_REGION,ENABLED_LOVRABET_REGION_VALUES}from'../constant/region.js';export const CONFIG_FIELD_SCHEMAS={'routing':{'description':a94_0x44a907(0x7c),'topLevel':!![]},'region':{'description':a94_0x44a907(0x84),'topLevel':!![],'cliSettableTopLevel':!![],'enumValues':ENABLED_LOVRABET_REGION_VALUES,'defaultValue':DEFAULT_LOVRABET_REGION,'importable':!![]},'env':{'description':a94_0x44a907(0x74),'topLevel':!![],'cliSettableTopLevel':!![],'enumValues':RUNTIME_ENV_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES[a94_0x44a907(0x7f)],'importable':!![]},'format':{'description':a94_0x44a907(0x80),'topLevel':!![],'cliSettableTopLevel':!![],'enumValues':OUTPUT_FORMAT_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES[a94_0x44a907(0x8b)],'importable':!![]},'pageSize':{'description':a94_0x44a907(0x6f),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'apiDomain':{'description':'Override\x20API\x20domain','topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'userDomain':{'description':a94_0x44a907(0x72),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'runtimeDomain':{'description':a94_0x44a907(0x6e),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'skillDomain':{'description':a94_0x44a907(0x6d),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'kbServiceDomain':{'description':a94_0x44a907(0x7e),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'harnessDomain':{'description':a94_0x44a907(0x94),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'accessKey':{'description':'Access\x20key\x20(client-ak\x20auth)','topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'riskLevel':{'description':a94_0x44a907(0x82),'topLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES[a94_0x44a907(0x8c)],'importable':!![]},'nativeToolAvailable':{'description':'Native\x20Lovrabet\x20tool\x20availability\x20in\x20the\x20current\x20execution\x20host','topLevel':!![],'defaultValue':![]},'locale':{'description':a94_0x44a907(0x96),'topLevel':!![],'cliSettableTopLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES['locale'],'importable':!![]}};export const TOP_LEVEL_CONFIG_KEYS=new Set(Object[a94_0x44a907(0x90)](CONFIG_FIELD_SCHEMAS)[a94_0x44a907(0x75)](([,_0x1ef85b])=>_0x1ef85b[a94_0x44a907(0x92)])[a94_0x44a907(0x85)](([_0x282765])=>_0x282765));export const CLI_PROTECTED_CONFIG_KEYS=new Set([a94_0x44a907(0x8c),a94_0x44a907(0x89)]);function a94_0x5037(_0x202025,_0xb6adc4){_0x202025=_0x202025-0x6d;const _0x24a5d2=a94_0x24a5();let _0x5037b4=_0x24a5d2[_0x202025];return _0x5037b4;}export const CONFIG_ENUM_VALUES=Object['fromEntries'](Object[a94_0x44a907(0x90)](CONFIG_FIELD_SCHEMAS)[a94_0x44a907(0x75)](([,_0x4ed276])=>_0x4ed276[a94_0x44a907(0x71)])[a94_0x44a907(0x85)](([_0x8cb82,_0x3c29b1])=>[_0x8cb82,[..._0x3c29b1[a94_0x44a907(0x71)]||[]]]));export const IMPORTABLE_RUNTIME_CONFIG_KEYS=Object['entries'](CONFIG_FIELD_SCHEMAS)[a94_0x44a907(0x75)](([,_0x3ad98f])=>_0x3ad98f[a94_0x44a907(0x83)])['map'](([_0x4327a5])=>_0x4327a5);export function getConfigFieldSchema(_0x7124cf){return CONFIG_FIELD_SCHEMAS[_0x7124cf];}export function getConfigEnumValues(_0x3b4bf6){return getConfigFieldSchema(_0x3b4bf6)?.['enumValues'];}export function getConfigDefaultValue(_0x234f31){const _0x241db8=a94_0x44a907;return getConfigFieldSchema(_0x234f31)?.[_0x241db8(0x76)];}export function isTopLevelConfigKey(_0x2be2e0){return TOP_LEVEL_CONFIG_KEYS['has'](_0x2be2e0);}export function isCliProtectedConfigKey(_0x32af06){const _0x66f0ab=a94_0x44a907;return CLI_PROTECTED_CONFIG_KEYS[_0x66f0ab(0x95)](_0x32af06);}const LOCALE_MAP={'zh':a94_0x44a907(0x86),'zh-cn':a94_0x44a907(0x86),'zh_cn':a94_0x44a907(0x86),'en':a94_0x44a907(0x8f),'en-us':a94_0x44a907(0x8f),'en_us':a94_0x44a907(0x8f)};export function normalizeLocale(_0x1a5f04){const _0x190073=a94_0x44a907;if(!_0x1a5f04)return null;return LOCALE_MAP[_0x1a5f04[_0x190073(0x70)]()]??null;}export function isLegacyCompatConfigKey(_0x10966c){const _0xabd5f6=a94_0x44a907;return getConfigFieldSchema(_0x10966c)?.[_0xabd5f6(0x91)]===!![];}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function formatConfigKeyList(_0x2a2029){const _0x57dd92=a94_0x44a907;return[..._0x2a2029][_0x57dd92(0x8a)](',\x20');}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x1288a1=a94_0x44a907;return'Config\x20key.\x20Top-level:\x20'+getTopLevelConfigKeySummary()+_0x1288a1(0x88);}export function buildAppProfileListFields(_0x3c3654){return{'env':_0x3c3654,'hasAccessKey':![],'format':null,'pageSize':null,'riskLevel':null,'locale':null};}
1
+ const a94_0x5a79e3=a94_0x45bf;(function(_0x14efac,_0x4a0565){const _0x62bbe=a94_0x45bf,_0x5ecdde=_0x14efac();while(!![]){try{const _0x301616=parseInt(_0x62bbe(0xde))/0x1*(parseInt(_0x62bbe(0xd8))/0x2)+-parseInt(_0x62bbe(0xe4))/0x3+parseInt(_0x62bbe(0xed))/0x4*(parseInt(_0x62bbe(0xe1))/0x5)+parseInt(_0x62bbe(0xcd))/0x6+parseInt(_0x62bbe(0xec))/0x7+-parseInt(_0x62bbe(0xd0))/0x8+parseInt(_0x62bbe(0xdb))/0x9*(-parseInt(_0x62bbe(0xcf))/0xa);if(_0x301616===_0x4a0565)break;else _0x5ecdde['push'](_0x5ecdde['shift']());}catch(_0x12d135){_0x5ecdde['push'](_0x5ecdde['shift']());}}}(a94_0x3dd9,0xb8326));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{RUNTIME_ENV_VALUES}from'../constant/env.js';import{OUTPUT_FORMAT_VALUES}from'../constant/output.js';import{DEFAULT_LOVRABET_REGION,ENABLED_LOVRABET_REGION_VALUES}from'../constant/region.js';export const CONFIG_FIELD_SCHEMAS={'routing':{'description':'Versioned\x20enterprise\x20routing\x20manifest','topLevel':!![]},'region':{'description':a94_0x5a79e3(0xe5),'topLevel':!![],'cliSettableTopLevel':!![],'enumValues':ENABLED_LOVRABET_REGION_VALUES,'defaultValue':DEFAULT_LOVRABET_REGION,'importable':!![]},'env':{'description':a94_0x5a79e3(0xf2),'topLevel':!![],'cliSettableTopLevel':!![],'enumValues':RUNTIME_ENV_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES['env'],'importable':!![]},'format':{'description':a94_0x5a79e3(0xd1),'topLevel':!![],'cliSettableTopLevel':!![],'enumValues':OUTPUT_FORMAT_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES[a94_0x5a79e3(0xda)],'importable':!![]},'pageSize':{'description':a94_0x5a79e3(0xd4),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'apiDomain':{'description':a94_0x5a79e3(0xdc),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'userDomain':{'description':a94_0x5a79e3(0xee),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'runtimeDomain':{'description':a94_0x5a79e3(0xd2),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'skillDomain':{'description':a94_0x5a79e3(0xe6),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'kbServiceDomain':{'description':a94_0x5a79e3(0xd7),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'harnessDomain':{'description':'Override\x20Harness\x20domain','topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'accessKey':{'description':a94_0x5a79e3(0xf1),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'riskLevel':{'description':'Risk\x20level','topLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES['riskLevel'],'importable':!![]},'nativeToolAvailable':{'description':'Native\x20Lovrabet\x20tool\x20availability\x20in\x20the\x20current\x20execution\x20host','topLevel':!![],'defaultValue':![]},'locale':{'description':a94_0x5a79e3(0xe8),'topLevel':!![],'cliSettableTopLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES[a94_0x5a79e3(0xf4)],'importable':!![]}};function a94_0x45bf(_0x596121,_0x221376){_0x596121=_0x596121-0xcd;const _0x3dd947=a94_0x3dd9();let _0x45bfe3=_0x3dd947[_0x596121];return _0x45bfe3;}export const TOP_LEVEL_CONFIG_KEYS=new Set(Object[a94_0x5a79e3(0xe0)](CONFIG_FIELD_SCHEMAS)['filter'](([,_0x3fec59])=>_0x3fec59['cliSettableTopLevel'])['map'](([_0x2271f7])=>_0x2271f7));export const CLI_PROTECTED_CONFIG_KEYS=new Set([a94_0x5a79e3(0xe2),a94_0x5a79e3(0xd9)]);export const CONFIG_ENUM_VALUES=Object[a94_0x5a79e3(0xce)](Object[a94_0x5a79e3(0xe0)](CONFIG_FIELD_SCHEMAS)[a94_0x5a79e3(0xdf)](([,_0xc034b])=>_0xc034b[a94_0x5a79e3(0xd5)])[a94_0x5a79e3(0xd6)](([_0x2955f8,_0x4110a2])=>[_0x2955f8,[..._0x4110a2[a94_0x5a79e3(0xd5)]||[]]]));export const IMPORTABLE_RUNTIME_CONFIG_KEYS=Object[a94_0x5a79e3(0xe0)](CONFIG_FIELD_SCHEMAS)['filter'](([,_0x19fccc])=>_0x19fccc[a94_0x5a79e3(0xd3)])['map'](([_0x1d2c2c])=>_0x1d2c2c);export function getConfigFieldSchema(_0x1e8452){return CONFIG_FIELD_SCHEMAS[_0x1e8452];}export function getConfigEnumValues(_0x8c1777){const _0x408163=a94_0x5a79e3;return getConfigFieldSchema(_0x8c1777)?.[_0x408163(0xd5)];}export function getConfigDefaultValue(_0x5c0d04){const _0x265a9f=a94_0x5a79e3;return getConfigFieldSchema(_0x5c0d04)?.[_0x265a9f(0xe9)];}export function isTopLevelConfigKey(_0x56c0a7){return TOP_LEVEL_CONFIG_KEYS['has'](_0x56c0a7);}export function isCliProtectedConfigKey(_0xcf5b24){const _0x40c308=a94_0x5a79e3;return CLI_PROTECTED_CONFIG_KEYS[_0x40c308(0xe7)](_0xcf5b24);}const LOCALE_MAP={'zh':a94_0x5a79e3(0xf3),'zh-cn':a94_0x5a79e3(0xf3),'zh_cn':a94_0x5a79e3(0xf3),'en':'en-US','en-us':a94_0x5a79e3(0xea),'en_us':a94_0x5a79e3(0xea)};export function normalizeLocale(_0x58a380){const _0x16be71=a94_0x5a79e3;if(!_0x58a380)return null;return LOCALE_MAP[_0x58a380[_0x16be71(0xe3)]()]??null;}export function isLegacyCompatConfigKey(_0x4e97ce){const _0x48163f=a94_0x5a79e3;return getConfigFieldSchema(_0x4e97ce)?.[_0x48163f(0xeb)]===!![];}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function formatConfigKeyList(_0x2932a9){const _0x56d041=a94_0x5a79e3;return[..._0x2932a9][_0x56d041(0xef)](',\x20');}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0xe86d89=a94_0x5a79e3;return _0xe86d89(0xf0)+getTopLevelConfigKeySummary()+_0xe86d89(0xdd);}function a94_0x3dd9(){const _0x4fd1c1=['133443ZyDJoO','Override\x20API\x20domain',';\x20local\x20alias:\x20apps.<alias>.appcode','11494cSCxAD','filter','entries','90KUmaDM','riskLevel','toLowerCase','347823sVsNhJ','Lovrabet\x20region','Override\x20SkillHub\x20domain','has','App\x20locale\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)','defaultValue','en-US','legacyCompatOnly','5089546mTZYvy','40596ByRegW','Override\x20user\x20domain','join','Config\x20key.\x20Top-level:\x20','Access\x20key\x20(client-ak\x20auth)','Target\x20environment','zh-CN','locale','1404870sLZPgN','fromEntries','580OToWOb','549488vEmjzJ','Default\x20output\x20format','Override\x20runtime\x20domain','importable','Default\x20page\x20size','enumValues','map','Override\x20KB\x20Service\x20domain','114VaYWWH','nativeToolAvailable','format'];a94_0x3dd9=function(){return _0x4fd1c1;};return a94_0x3dd9();}export function buildAppProfileListFields(_0x3e16b5){return{'env':_0x3e16b5,'hasAccessKey':![],'format':null,'pageSize':null,'riskLevel':null,'locale':null};}
@@ -1 +1 @@
1
- const a95_0x443462=a95_0x3d72;function a95_0x3d72(_0x375219,_0x4dc5d7){_0x375219=_0x375219-0xdf;const _0x2a996c=a95_0x2a99();let _0x3d72a6=_0x2a996c[_0x375219];return _0x3d72a6;}(function(_0x5be4af,_0x1d02bb){const _0x488164=a95_0x3d72,_0x3bcb16=_0x5be4af();while(!![]){try{const _0x4e2970=-parseInt(_0x488164(0xe4))/0x1+-parseInt(_0x488164(0xe9))/0x2*(parseInt(_0x488164(0xe8))/0x3)+parseInt(_0x488164(0xe6))/0x4*(-parseInt(_0x488164(0xe0))/0x5)+-parseInt(_0x488164(0xe1))/0x6+parseInt(_0x488164(0xe3))/0x7+-parseInt(_0x488164(0xe7))/0x8+parseInt(_0x488164(0xdf))/0x9;if(_0x4e2970===_0x1d02bb)break;else _0x3bcb16['push'](_0x3bcb16['shift']());}catch(_0x578da6){_0x3bcb16['push'](_0x3bcb16['shift']());}}}(a95_0x2a99,0x347d8));export const APP_PUBLISH_STATUS={'Published':'PUBLISHED','Unpublished':a95_0x443462(0xe2)};export const RUNTIME_ACCESSIBLE_APP_STATUS=APP_PUBLISH_STATUS[a95_0x443462(0xe5)];function a95_0x2a99(){const _0x42039e=['Published','4kfDiet','1967272IfUaoA','363fxLEyg','2828RDcOyU','6767811shXMVS','242800GhNMRH','2037834LcZeOB','UNPUBLISH','2402463njSmhc','74986WCQmXM'];a95_0x2a99=function(){return _0x42039e;};return a95_0x2a99();}
1
+ const a95_0xa327b7=a95_0x3be1;(function(_0xed1159,_0x133788){const _0x5e0886=a95_0x3be1,_0x40a1a6=_0xed1159();while(!![]){try{const _0x17171d=-parseInt(_0x5e0886(0x17f))/0x1+-parseInt(_0x5e0886(0x180))/0x2+-parseInt(_0x5e0886(0x184))/0x3*(parseInt(_0x5e0886(0x18a))/0x4)+parseInt(_0x5e0886(0x186))/0x5*(parseInt(_0x5e0886(0x189))/0x6)+-parseInt(_0x5e0886(0x187))/0x7*(parseInt(_0x5e0886(0x181))/0x8)+parseInt(_0x5e0886(0x183))/0x9*(parseInt(_0x5e0886(0x188))/0xa)+parseInt(_0x5e0886(0x17e))/0xb;if(_0x17171d===_0x133788)break;else _0x40a1a6['push'](_0x40a1a6['shift']());}catch(_0x276685){_0x40a1a6['push'](_0x40a1a6['shift']());}}}(a95_0x4081,0x2c8ce));export const APP_PUBLISH_STATUS={'Published':a95_0xa327b7(0x182),'Unpublished':'UNPUBLISH'};export const RUNTIME_ACCESSIBLE_APP_STATUS=APP_PUBLISH_STATUS[a95_0xa327b7(0x185)];function a95_0x3be1(_0xd1a1cd,_0x264067){_0xd1a1cd=_0xd1a1cd-0x17e;const _0x4081ee=a95_0x4081();let _0x3be1ab=_0x4081ee[_0xd1a1cd];return _0x3be1ab;}function a95_0x4081(){const _0x51d6ac=['171gxTxqh','354801sTFopo','Published','35QgkHEu','147IOrJaG','148900QNwlIz','188652TIRBzY','8DRdNtg','3951079OOeZGy','115969FvJiBc','226696VYhvDr','81472kEsBqF','PUBLISHED'];a95_0x4081=function(){return _0x51d6ac;};return a95_0x4081();}
@@ -1 +1 @@
1
- (function(_0x1d44a9,_0x410ed0){const _0x3dc29d=a96_0x22a5,_0x1884c1=_0x1d44a9();while(!![]){try{const _0x1dc600=-parseInt(_0x3dc29d(0x132))/0x1+parseInt(_0x3dc29d(0x131))/0x2+-parseInt(_0x3dc29d(0x130))/0x3+-parseInt(_0x3dc29d(0x12f))/0x4+-parseInt(_0x3dc29d(0x12c))/0x5*(-parseInt(_0x3dc29d(0x12e))/0x6)+-parseInt(_0x3dc29d(0x12d))/0x7*(-parseInt(_0x3dc29d(0x12b))/0x8)+parseInt(_0x3dc29d(0x12a))/0x9;if(_0x1dc600===_0x410ed0)break;else _0x1884c1['push'](_0x1884c1['shift']());}catch(_0x45db2c){_0x1884c1['push'](_0x1884c1['shift']());}}}(a96_0x41e9,0xc3721));function a96_0x41e9(){const _0x1eb611=['4906105ECRRnW','77rhfNQl','6Tmyyls','2003924UMIUkj','2708049eUrRod','73062mMgGYg','1549671lWNKcU','19270143CJtLBZ','432728icixuQ'];a96_0x41e9=function(){return _0x1eb611;};return a96_0x41e9();}export const AUTH_MODE={'ClientAk':'client-ak'};function a96_0x22a5(_0x54b9ff,_0xc832b3){_0x54b9ff=_0x54b9ff-0x12a;const _0x41e9fc=a96_0x41e9();let _0x22a54a=_0x41e9fc[_0x54b9ff];return _0x22a54a;}export function isAuthMode(_0x475a5c){return _0x475a5c===AUTH_MODE['ClientAk'];}
1
+ const a96_0xb32889=a96_0x2b82;(function(_0x36b729,_0x465df3){const _0xa5e0cb=a96_0x2b82,_0x578a08=_0x36b729();while(!![]){try{const _0x11c362=parseInt(_0xa5e0cb(0xda))/0x1+parseInt(_0xa5e0cb(0xd2))/0x2+-parseInt(_0xa5e0cb(0xd6))/0x3*(parseInt(_0xa5e0cb(0xd9))/0x4)+-parseInt(_0xa5e0cb(0xd7))/0x5*(parseInt(_0xa5e0cb(0xd3))/0x6)+-parseInt(_0xa5e0cb(0xdd))/0x7*(-parseInt(_0xa5e0cb(0xde))/0x8)+parseInt(_0xa5e0cb(0xd5))/0x9+-parseInt(_0xa5e0cb(0xd8))/0xa*(parseInt(_0xa5e0cb(0xdc))/0xb);if(_0x11c362===_0x465df3)break;else _0x578a08['push'](_0x578a08['shift']());}catch(_0x4c6474){_0x578a08['push'](_0x578a08['shift']());}}}(a96_0x3830,0x5636e));function a96_0x2b82(_0x52bcfa,_0x316825){_0x52bcfa=_0x52bcfa-0xd2;const _0x383068=a96_0x3830();let _0x2b82a9=_0x383068[_0x52bcfa];return _0x2b82a9;}function a96_0x3830(){const _0x3d8f01=['3083479tjghAc','8ahtpxo','941736WZaLyV','25128AELgei','ClientAk','3792447jnTcfD','137031DZpkXZ','370ldSvvS','872150xqlZXn','16hnAhhI','646801VquLaK','client-ak','143iJNsZf'];a96_0x3830=function(){return _0x3d8f01;};return a96_0x3830();}export const AUTH_MODE={'ClientAk':a96_0xb32889(0xdb)};export function isAuthMode(_0xa13b87){const _0x318cc8=a96_0xb32889;return _0xa13b87===AUTH_MODE[_0x318cc8(0xd4)];}
@@ -1 +1 @@
1
- const a97_0x55301a=a97_0x3836;(function(_0x12ea11,_0x22d793){const _0x4ab908=a97_0x3836,_0x543346=_0x12ea11();while(!![]){try{const _0x3cc159=-parseInt(_0x4ab908(0x1b4))/0x1*(-parseInt(_0x4ab908(0x185))/0x2)+parseInt(_0x4ab908(0x1b7))/0x3*(parseInt(_0x4ab908(0x18c))/0x4)+-parseInt(_0x4ab908(0x18b))/0x5*(parseInt(_0x4ab908(0x1b0))/0x6)+parseInt(_0x4ab908(0x1ac))/0x7+parseInt(_0x4ab908(0x18a))/0x8*(parseInt(_0x4ab908(0x19d))/0x9)+-parseInt(_0x4ab908(0x1a2))/0xa+parseInt(_0x4ab908(0x1b5))/0xb*(parseInt(_0x4ab908(0x19c))/0xc);if(_0x3cc159===_0x22d793)break;else _0x543346['push'](_0x543346['shift']());}catch(_0x37b560){_0x543346['push'](_0x543346['shift']());}}}(a97_0x2bec,0x58857));import{PRODUCT_CONFIG}from'../constant/product.js';import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';export const CLI_BIN_NAME=PRODUCT_CONFIG[a97_0x55301a(0x19f)];export const CLI_DISPLAY_NAME=PRODUCT_CONFIG[a97_0x55301a(0x194)];export const NPM_PACKAGE_NAME=LOVRABET_NPM_PACKAGE_NAME;function a97_0x2bec(){const _0x19b15e=['Clear\x20output','Environment','appcode','dry-run','params','cliDisplayName','meowKey','name','clear','Alias\x20for\x20--non-interactive','Select\x20app\x20profile\x20by\x20name','type','Force\x20non-interactive\x20mode\x20(CI)','59604psKTUV','78381SJRWtp','format','cliBinName','<expr>','yes','1778870eSEnNU','sqlcode','Use\x20global\x20config\x20scope','non-interactive','json\x20|\x20pretty\x20|\x20compress','string','Skip\x20confirmation\x20for\x20high-risk\x20writes','Name\x20filter','SQL\x20query\x20code','nonInteractive','1615005MAgvuR','fromEntries','Show\x20help','global','48SmoWRl','<code>','app','JSON\x20params\x20for\x20execute\x20commands','92UTAMeg','319dHxGYO','boolean','42uNmMFr','Output\x20format','verbose','2946NEGhAr','Preview\x20operation\x20without\x20executing','help','production\x20|\x20development\x20|\x20daily','env','16UIaqbb','304870MscYDn','143020hMVbOF','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20implies\x20--format\x20json\x20when\x20current\x20format\x20is\x20pretty)','Override\x20appcode'];a97_0x2bec=function(){return _0x19b15e;};return a97_0x2bec();}export const GLOBAL_FLAGS=[{'name':a97_0x55301a(0x191),'meowKey':a97_0x55301a(0x191),'type':a97_0x55301a(0x1a7),'description':a97_0x55301a(0x18e),'hint':a97_0x55301a(0x1b1)},{'name':a97_0x55301a(0x1b2),'meowKey':a97_0x55301a(0x1b2),'type':a97_0x55301a(0x1a7),'description':a97_0x55301a(0x199),'hint':'<name>'},{'name':a97_0x55301a(0x189),'meowKey':a97_0x55301a(0x189),'type':a97_0x55301a(0x1a7),'description':a97_0x55301a(0x190),'hint':a97_0x55301a(0x188)},{'name':a97_0x55301a(0x19e),'meowKey':a97_0x55301a(0x19e),'type':a97_0x55301a(0x1a7),'description':a97_0x55301a(0x183),'hint':a97_0x55301a(0x1a6)},{'name':'jq','meowKey':'jq','type':a97_0x55301a(0x1a7),'description':a97_0x55301a(0x18d),'hint':a97_0x55301a(0x1a0)},{'name':'dry-run','meowKey':'dryRun','type':'boolean','description':a97_0x55301a(0x186)},{'name':a97_0x55301a(0x1a1),'meowKey':a97_0x55301a(0x1a1),'type':a97_0x55301a(0x1b6),'description':a97_0x55301a(0x1a8)},{'name':a97_0x55301a(0x1a5),'meowKey':a97_0x55301a(0x1ab),'type':'boolean','description':a97_0x55301a(0x19b)},{'name':a97_0x55301a(0x1af),'meowKey':a97_0x55301a(0x1af),'type':'boolean','description':a97_0x55301a(0x1a4)},{'name':'ci','meowKey':'ci','type':'boolean','description':a97_0x55301a(0x198),'hidden':!![]},{'name':a97_0x55301a(0x187),'meowKey':a97_0x55301a(0x187),'type':'boolean','description':a97_0x55301a(0x1ae)},{'name':'id','meowKey':'id','type':a97_0x55301a(0x1a7),'description':'Record\x20ID','hidden':!![]},{'name':a97_0x55301a(0x196),'meowKey':'name','type':a97_0x55301a(0x1a7),'description':a97_0x55301a(0x1a9),'hidden':!![]},{'name':a97_0x55301a(0x1a3),'meowKey':a97_0x55301a(0x1a3),'type':'string','description':a97_0x55301a(0x1aa),'hidden':!![]},{'name':a97_0x55301a(0x193),'meowKey':a97_0x55301a(0x193),'type':'string','description':a97_0x55301a(0x1b3),'hidden':!![]},{'name':'verbose','meowKey':a97_0x55301a(0x184),'type':a97_0x55301a(0x1b6),'description':'Verbose\x20output','hidden':!![]},{'name':a97_0x55301a(0x197),'meowKey':a97_0x55301a(0x197),'type':a97_0x55301a(0x1b6),'description':a97_0x55301a(0x18f),'hidden':!![]}];function a97_0x3836(_0x56245b,_0x5f2831){_0x56245b=_0x56245b-0x183;const _0x2bec0d=a97_0x2bec();let _0x383662=_0x2bec0d[_0x56245b];return _0x383662;}export const PIPELINE_FLAG_NAMES=new Set([a97_0x55301a(0x191),a97_0x55301a(0x1b2),a97_0x55301a(0x189),a97_0x55301a(0x19e),'jq',a97_0x55301a(0x192),a97_0x55301a(0x1a1),a97_0x55301a(0x1a5),'ci']);export function buildMeowFlags(){const _0xac3747=a97_0x55301a;return Object[_0xac3747(0x1ad)](GLOBAL_FLAGS['map'](_0x531100=>[_0x531100[_0xac3747(0x195)],{'type':_0x531100[_0xac3747(0x19a)]}]));}
1
+ const a97_0xa4ae63=a97_0x4692;(function(_0x4fe7cc,_0x4fad82){const _0x10d06a=a97_0x4692,_0x463177=_0x4fe7cc();while(!![]){try{const _0x37aedb=-parseInt(_0x10d06a(0x184))/0x1*(-parseInt(_0x10d06a(0x181))/0x2)+-parseInt(_0x10d06a(0x169))/0x3+-parseInt(_0x10d06a(0x177))/0x4+-parseInt(_0x10d06a(0x17f))/0x5*(parseInt(_0x10d06a(0x186))/0x6)+parseInt(_0x10d06a(0x16e))/0x7*(parseInt(_0x10d06a(0x167))/0x8)+-parseInt(_0x10d06a(0x18d))/0x9+-parseInt(_0x10d06a(0x173))/0xa*(-parseInt(_0x10d06a(0x183))/0xb);if(_0x37aedb===_0x4fad82)break;else _0x463177['push'](_0x463177['shift']());}catch(_0x2d2329){_0x463177['push'](_0x463177['shift']());}}}(a97_0x53a5,0x757c3));import{PRODUCT_CONFIG}from'../constant/product.js';function a97_0x53a5(){const _0x2a54e4=['dryRun','JSON\x20params\x20for\x20execute\x20commands','app','clear','888SMktUM','Clear\x20output','742698KaECCr','Override\x20appcode','Environment','type','<expr>','49462vSJLbR','appcode','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20implies\x20--format\x20json\x20when\x20current\x20format\x20is\x20pretty)','production\x20|\x20development\x20|\x20daily','Name\x20filter','610930XoDvBP','name','format','yes','3307024RaPbYo','string','params','<code>','boolean','non-interactive','verbose','global','10BYqosZ','meowKey','4568qfmtSF','Force\x20non-interactive\x20mode\x20(CI)','77wetglN','237CBeAul','Skip\x20confirmation\x20for\x20high-risk\x20writes','206784pfnBPu','help','sqlcode','env','cliBinName','SQL\x20query\x20code','Preview\x20operation\x20without\x20executing','1159344aKrYLs','map','Verbose\x20output','dry-run','Record\x20ID','<name>','cliDisplayName','json\x20|\x20pretty\x20|\x20compress'];a97_0x53a5=function(){return _0x2a54e4;};return a97_0x53a5();}import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';export const CLI_BIN_NAME=PRODUCT_CONFIG[a97_0xa4ae63(0x18a)];export const CLI_DISPLAY_NAME=PRODUCT_CONFIG[a97_0xa4ae63(0x193)];export const NPM_PACKAGE_NAME=LOVRABET_NPM_PACKAGE_NAME;export const GLOBAL_FLAGS=[{'name':a97_0xa4ae63(0x16f),'meowKey':'appcode','type':a97_0xa4ae63(0x178),'description':a97_0xa4ae63(0x16a),'hint':a97_0xa4ae63(0x17a)},{'name':a97_0xa4ae63(0x197),'meowKey':a97_0xa4ae63(0x197),'type':a97_0xa4ae63(0x178),'description':'Select\x20app\x20profile\x20by\x20name','hint':a97_0xa4ae63(0x192)},{'name':a97_0xa4ae63(0x189),'meowKey':a97_0xa4ae63(0x189),'type':a97_0xa4ae63(0x178),'description':a97_0xa4ae63(0x16b),'hint':a97_0xa4ae63(0x171)},{'name':a97_0xa4ae63(0x175),'meowKey':a97_0xa4ae63(0x175),'type':a97_0xa4ae63(0x178),'description':'Output\x20format','hint':a97_0xa4ae63(0x194)},{'name':'jq','meowKey':'jq','type':a97_0xa4ae63(0x178),'description':a97_0xa4ae63(0x170),'hint':a97_0xa4ae63(0x16d)},{'name':a97_0xa4ae63(0x190),'meowKey':a97_0xa4ae63(0x195),'type':'boolean','description':a97_0xa4ae63(0x18c)},{'name':a97_0xa4ae63(0x176),'meowKey':a97_0xa4ae63(0x176),'type':a97_0xa4ae63(0x17b),'description':a97_0xa4ae63(0x185)},{'name':a97_0xa4ae63(0x17c),'meowKey':'nonInteractive','type':'boolean','description':a97_0xa4ae63(0x182)},{'name':a97_0xa4ae63(0x17e),'meowKey':'global','type':a97_0xa4ae63(0x17b),'description':'Use\x20global\x20config\x20scope'},{'name':'ci','meowKey':'ci','type':'boolean','description':'Alias\x20for\x20--non-interactive','hidden':!![]},{'name':'help','meowKey':a97_0xa4ae63(0x187),'type':a97_0xa4ae63(0x17b),'description':'Show\x20help'},{'name':'id','meowKey':'id','type':a97_0xa4ae63(0x178),'description':a97_0xa4ae63(0x191),'hidden':!![]},{'name':a97_0xa4ae63(0x174),'meowKey':'name','type':'string','description':a97_0xa4ae63(0x172),'hidden':!![]},{'name':'sqlcode','meowKey':a97_0xa4ae63(0x188),'type':a97_0xa4ae63(0x178),'description':a97_0xa4ae63(0x18b),'hidden':!![]},{'name':'params','meowKey':a97_0xa4ae63(0x179),'type':a97_0xa4ae63(0x178),'description':a97_0xa4ae63(0x196),'hidden':!![]},{'name':a97_0xa4ae63(0x17d),'meowKey':a97_0xa4ae63(0x17d),'type':a97_0xa4ae63(0x17b),'description':a97_0xa4ae63(0x18f),'hidden':!![]},{'name':a97_0xa4ae63(0x166),'meowKey':a97_0xa4ae63(0x166),'type':a97_0xa4ae63(0x17b),'description':a97_0xa4ae63(0x168),'hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a97_0xa4ae63(0x16f),a97_0xa4ae63(0x197),a97_0xa4ae63(0x189),a97_0xa4ae63(0x175),'jq',a97_0xa4ae63(0x190),'yes',a97_0xa4ae63(0x17c),'ci']);function a97_0x4692(_0x313c86,_0x46ba8f){_0x313c86=_0x313c86-0x166;const _0x53a521=a97_0x53a5();let _0x469293=_0x53a521[_0x313c86];return _0x469293;}export function buildMeowFlags(){const _0x398234=a97_0xa4ae63;return Object['fromEntries'](GLOBAL_FLAGS[_0x398234(0x18e)](_0x12bade=>[_0x12bade[_0x398234(0x180)],{'type':_0x12bade[_0x398234(0x16c)]}]));}
@@ -1 +1 @@
1
- const a98_0x73ca7a=a98_0x5e88;(function(_0x4fd9d4,_0x5d1485){const _0x122954=a98_0x5e88,_0x1ce511=_0x4fd9d4();while(!![]){try{const _0x2ab617=parseInt(_0x122954(0x10f))/0x1*(parseInt(_0x122954(0x109))/0x2)+-parseInt(_0x122954(0x10d))/0x3*(parseInt(_0x122954(0x10a))/0x4)+-parseInt(_0x122954(0x102))/0x5+parseInt(_0x122954(0x10b))/0x6*(parseInt(_0x122954(0x10e))/0x7)+-parseInt(_0x122954(0x104))/0x8+-parseInt(_0x122954(0x106))/0x9*(parseInt(_0x122954(0x103))/0xa)+parseInt(_0x122954(0x101))/0xb*(parseInt(_0x122954(0x107))/0xc);if(_0x2ab617===_0x5d1485)break;else _0x1ce511['push'](_0x1ce511['shift']());}catch(_0x5213b1){_0x1ce511['push'](_0x1ce511['shift']());}}}(a98_0x409e,0x31218));function a98_0x5e88(_0x2492f6,_0x565eaf){_0x2492f6=_0x2492f6-0x101;const _0x409e30=a98_0x409e();let _0x5e8850=_0x409e30[_0x2492f6];return _0x5e8850;}function a98_0x409e(){const _0x35b114=['3OwACLc','8834XsBBGb','4DPdbBt','en-US','6435473ZknadS','1903485MIFyXm','10HBDhth','1750584cQsema','production','492795ElVGkN','24DZuWni','write','20626jOaLZQ','1534348AIkXiJ','132RfkHwv','compress'];a98_0x409e=function(){return _0x35b114;};return a98_0x409e();}export const DEFAULT_APP_PROFILE_NAME='main';export const DEFAULT_CONFIG_VALUES={'env':a98_0x73ca7a(0x105),'format':a98_0x73ca7a(0x10c),'locale':a98_0x73ca7a(0x110),'riskLevel':a98_0x73ca7a(0x108)};export const DEFAULT_COMMAND_OUTPUT_FORMAT=a98_0x73ca7a(0x10c);
1
+ const a98_0x3ef8e0=a98_0x2f07;function a98_0x454f(){const _0x30e102=['1565354ZPnHKO','main','441004eQoHIU','en-US','581679bxnFyQ','5uiFweC','273588Fagqhj','1248804QPrbWt','write','8pzDHom','4044078nalplw','compress','production','177068jaWIMD'];a98_0x454f=function(){return _0x30e102;};return a98_0x454f();}(function(_0x24b434,_0x2839a7){const _0x1ee207=a98_0x2f07,_0x5df008=_0x24b434();while(!![]){try{const _0x3ed843=parseInt(_0x1ee207(0x7b))/0x1+parseInt(_0x1ee207(0x7e))/0x2+-parseInt(_0x1ee207(0x72))/0x3+parseInt(_0x1ee207(0x74))/0x4*(-parseInt(_0x1ee207(0x73))/0x5)+-parseInt(_0x1ee207(0x75))/0x6+-parseInt(_0x1ee207(0x7c))/0x7+parseInt(_0x1ee207(0x77))/0x8*(parseInt(_0x1ee207(0x78))/0x9);if(_0x3ed843===_0x2839a7)break;else _0x5df008['push'](_0x5df008['shift']());}catch(_0x5b798e){_0x5df008['push'](_0x5df008['shift']());}}}(a98_0x454f,0x25522));export const DEFAULT_APP_PROFILE_NAME=a98_0x3ef8e0(0x7d);export const DEFAULT_CONFIG_VALUES={'env':a98_0x3ef8e0(0x7a),'format':'compress','locale':a98_0x3ef8e0(0x7f),'riskLevel':a98_0x3ef8e0(0x76)};function a98_0x2f07(_0x5c7839,_0x477c88){_0x5c7839=_0x5c7839-0x72;const _0x454fbf=a98_0x454f();let _0x2f07d6=_0x454fbf[_0x5c7839];return _0x2f07d6;}export const DEFAULT_COMMAND_OUTPUT_FORMAT=a98_0x3ef8e0(0x79);
@@ -1 +1 @@
1
- const a99_0x3b714e=a99_0x5820;(function(_0x4ef2ca,_0x27c00e){const _0x4b6b85=a99_0x5820,_0x1adc3e=_0x4ef2ca();while(!![]){try{const _0x3c136e=parseInt(_0x4b6b85(0xd6))/0x1*(parseInt(_0x4b6b85(0xd7))/0x2)+parseInt(_0x4b6b85(0xdd))/0x3*(parseInt(_0x4b6b85(0xd5))/0x4)+parseInt(_0x4b6b85(0xdc))/0x5+-parseInt(_0x4b6b85(0xdb))/0x6+-parseInt(_0x4b6b85(0xd3))/0x7*(parseInt(_0x4b6b85(0xd1))/0x8)+parseInt(_0x4b6b85(0xd9))/0x9*(parseInt(_0x4b6b85(0xd2))/0xa)+-parseInt(_0x4b6b85(0xd4))/0xb;if(_0x3c136e===_0x27c00e)break;else _0x1adc3e['push'](_0x1adc3e['shift']());}catch(_0x1aed39){_0x1adc3e['push'](_0x1adc3e['shift']());}}}(a99_0x4966,0x4461b));function a99_0x4966(){const _0x8df3be=['703978nAQniR','112mFljgV','2DsNZfP','192278rMfHsJ','/dist/lovrabet-cli/config/index.json','27sysmfM','cliCdnBaseUrl','2238504dmsTjK','1191415dkXmNu','34428yYTRFh','npmRegistryBaseUrl','npmPackageName','435576JfMmDZ','610240VFuOCN','28edguth'];a99_0x4966=function(){return _0x8df3be;};return a99_0x4966();}import{PRODUCT_CONFIG}from'../constant/product.js';export const LOVRABET_NPM_PACKAGE_NAME=PRODUCT_CONFIG[a99_0x3b714e(0xd0)];export const LOVRABET_SKILL_SOURCE=PRODUCT_CONFIG['skillSource'];export const NPM_REGISTRY_BASE_URL=PRODUCT_CONFIG[a99_0x3b714e(0xcf)];function a99_0x5820(_0x2af210,_0xd31eb6){_0x2af210=_0x2af210-0xcf;const _0x4966e2=a99_0x4966();let _0x5820b6=_0x4966e2[_0x2af210];return _0x5820b6;}export const LOVRABET_CLI_CDN_BASE_URL=PRODUCT_CONFIG[a99_0x3b714e(0xda)];export const LOVRABET_CLI_VERSION_POLICY_URL=LOVRABET_CLI_CDN_BASE_URL+a99_0x3b714e(0xd8);
1
+ const a99_0x16008d=a99_0x1742;function a99_0x51d4(){const _0x4c4c0e=['cliCdnBaseUrl','760624JPdPVR','1529888IxSFVx','706430EBWpGy','16KyGnuq','/dist/lovrabet-cli/config/index.json','8590tixKjB','npmRegistryBaseUrl','82050HLRMwF','1665shAqvz','8008264hExAJz','1odFqWQ','30486CBoxaN','49NPVIVD','skillSource','npmPackageName'];a99_0x51d4=function(){return _0x4c4c0e;};return a99_0x51d4();}(function(_0x4b5471,_0x166ca3){const _0x59f184=a99_0x1742,_0x49b84b=_0x4b5471();while(!![]){try{const _0x50b46e=-parseInt(_0x59f184(0x158))/0x1*(-parseInt(_0x59f184(0x15e))/0x2)+parseInt(_0x59f184(0x159))/0x3+-parseInt(_0x59f184(0x161))/0x4*(-parseInt(_0x59f184(0x160))/0x5)+parseInt(_0x59f184(0x155))/0x6*(-parseInt(_0x59f184(0x15a))/0x7)+parseInt(_0x59f184(0x15f))/0x8+parseInt(_0x59f184(0x156))/0x9*(parseInt(_0x59f184(0x163))/0xa)+-parseInt(_0x59f184(0x157))/0xb;if(_0x50b46e===_0x166ca3)break;else _0x49b84b['push'](_0x49b84b['shift']());}catch(_0x5427ab){_0x49b84b['push'](_0x49b84b['shift']());}}}(a99_0x51d4,0x75ae4));import{PRODUCT_CONFIG}from'../constant/product.js';export const LOVRABET_NPM_PACKAGE_NAME=PRODUCT_CONFIG[a99_0x16008d(0x15c)];export const LOVRABET_SKILL_SOURCE=PRODUCT_CONFIG[a99_0x16008d(0x15b)];export const NPM_REGISTRY_BASE_URL=PRODUCT_CONFIG[a99_0x16008d(0x164)];export const LOVRABET_CLI_CDN_BASE_URL=PRODUCT_CONFIG[a99_0x16008d(0x15d)];function a99_0x1742(_0x296753,_0x2e8a23){_0x296753=_0x296753-0x155;const _0x51d40c=a99_0x51d4();let _0x1742d1=_0x51d40c[_0x296753];return _0x1742d1;}export const LOVRABET_CLI_VERSION_POLICY_URL=LOVRABET_CLI_CDN_BASE_URL+a99_0x16008d(0x162);
@@ -1 +1 @@
1
- const a100_0x2d8fe7=a100_0x92dc;function a100_0x3c26(){const _0x335e55=['5581440zfYPsT','region','4DGboMu','kbService','Configure\x20a\x20trusted\x20harnessDomain\x20HTTPS\x20origin\x20in\x20the\x20connection\x20settings.','38615RghKen','2xyKFOt','user','validation','Harness\x20is\x20not\x20configured.','3830388kYWucl','harnessDomain','runtimeDomain','1110BUvfyI','2397516mxVMwf','16ReyCBm','126266oUXdce','serviceDomains','apiDomain','6204582cRtRcp','2431541oiUQCE','runtime','skillDomain','36RoAcGq'];a100_0x3c26=function(){return _0x335e55;};return a100_0x3c26();}(function(_0x266d97,_0xa3f685){const _0x4bf9d1=a100_0x92dc,_0x1d9de5=_0x266d97();while(!![]){try{const _0x8448c2=parseInt(_0x4bf9d1(0x19d))/0x1*(-parseInt(_0x4bf9d1(0x1a7))/0x2)+parseInt(_0x4bf9d1(0x1a1))/0x3*(parseInt(_0x4bf9d1(0x199))/0x4)+-parseInt(_0x4bf9d1(0x19c))/0x5*(-parseInt(_0x4bf9d1(0x1a4))/0x6)+-parseInt(_0x4bf9d1(0x1ab))/0x7+-parseInt(_0x4bf9d1(0x1a6))/0x8*(parseInt(_0x4bf9d1(0x1aa))/0x9)+parseInt(_0x4bf9d1(0x197))/0xa+-parseInt(_0x4bf9d1(0x1a5))/0xb*(parseInt(_0x4bf9d1(0x1ae))/0xc);if(_0x8448c2===_0xa3f685)break;else _0x1d9de5['push'](_0x1d9de5['shift']());}catch(_0xc091c0){_0x1d9de5['push'](_0x1d9de5['shift']());}}}(a100_0x3c26,0xb8e9a));import{CliErrors}from'../errors.js';import{getEnv,isProduction}from'../constant/env.js';import{OFFICIAL_ROUTING_PROFILES}from'../generated/official-routing.js';import{DEFAULT_LOVRABET_REGION}from'../constant/region.js';let customApiDomain,customUserDomain,customRuntimeDomain,customSkillDomain,customKbServiceDomain,customHarnessDomain,activeRegion=DEFAULT_LOVRABET_REGION;function a100_0x92dc(_0x19ded8,_0xb3f19a){_0x19ded8=_0x19ded8-0x197;const _0x3c26f0=a100_0x3c26();let _0x92dced=_0x3c26f0[_0x19ded8];return _0x92dced;}export function initDomains(_0x36c5d1){const _0x19e6e3=a100_0x92dc;customApiDomain=_0x36c5d1?.[_0x19e6e3(0x1a9)],customUserDomain=_0x36c5d1?.['userDomain'],customRuntimeDomain=_0x36c5d1?.[_0x19e6e3(0x1a3)],customSkillDomain=_0x36c5d1?.[_0x19e6e3(0x1ad)],customKbServiceDomain=_0x36c5d1?.['kbServiceDomain'],customHarnessDomain=_0x36c5d1?.[_0x19e6e3(0x1a2)],activeRegion=_0x36c5d1?.[_0x19e6e3(0x198)]??DEFAULT_LOVRABET_REGION;}const getActiveRegionDomains=()=>{const _0x5dd1da=a100_0x92dc,_0x32bb05=OFFICIAL_ROUTING_PROFILES[activeRegion][_0x5dd1da(0x1a8)];return isProduction(getEnv())?_0x32bb05['production']:'daily'in _0x32bb05?_0x32bb05['daily']:_0x32bb05['production'];};export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()[a100_0x2d8fe7(0x19e)];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()['api'];export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()[a100_0x2d8fe7(0x1ac)];export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()['skill'];export const getKbServiceDomain=()=>{const _0x241b25=a100_0x2d8fe7;if(customKbServiceDomain)return customKbServiceDomain;const _0x548ef6=getActiveRegionDomains();return _0x241b25(0x19a)in _0x548ef6?_0x548ef6[_0x241b25(0x19a)]:undefined;};export const getHarnessDomain=()=>{if(customHarnessDomain)return customHarnessDomain;const _0x800dbb=getActiveRegionDomains();return'harness'in _0x800dbb?_0x800dbb['harness']:undefined;};export function requireHarnessDomain(){const _0xbc9700=a100_0x2d8fe7,_0x2f284c=getHarnessDomain();if(!_0x2f284c)throw CliErrors[_0xbc9700(0x19f)](_0xbc9700(0x1a0),_0xbc9700(0x19b));return _0x2f284c;}
1
+ const a100_0x13a913=a100_0x2d25;(function(_0x52e4c6,_0x745f55){const _0xbd466b=a100_0x2d25,_0x12bf29=_0x52e4c6();while(!![]){try{const _0x34d2e9=-parseInt(_0xbd466b(0x76))/0x1*(-parseInt(_0xbd466b(0x77))/0x2)+parseInt(_0xbd466b(0x68))/0x3*(-parseInt(_0xbd466b(0x71))/0x4)+parseInt(_0xbd466b(0x7c))/0x5+-parseInt(_0xbd466b(0x6c))/0x6*(-parseInt(_0xbd466b(0x72))/0x7)+parseInt(_0xbd466b(0x6a))/0x8+parseInt(_0xbd466b(0x74))/0x9+parseInt(_0xbd466b(0x70))/0xa*(-parseInt(_0xbd466b(0x73))/0xb);if(_0x34d2e9===_0x745f55)break;else _0x12bf29['push'](_0x12bf29['shift']());}catch(_0x2f0556){_0x12bf29['push'](_0x12bf29['shift']());}}}(a100_0x50ea,0x8fc03));import{CliErrors}from'../errors.js';import{getEnv,isProduction}from'../constant/env.js';import{OFFICIAL_ROUTING_PROFILES}from'../generated/official-routing.js';function a100_0x50ea(){const _0x69dc01=['daily','3QoegMT','serviceDomains','2632936upaEXL','runtime','1591776qdZDFB','kbServiceDomain','kbService','runtimeDomain','10rFCIdm','57372GNDYCP','14rklVvX','29682961jfEQXK','5239701nudECm','user','2CdeWDd','929218LdRtTc','apiDomain','skillDomain','api','validation','4652405ppADhd','userDomain','region','Configure\x20a\x20trusted\x20harnessDomain\x20HTTPS\x20origin\x20in\x20the\x20connection\x20settings.','production'];a100_0x50ea=function(){return _0x69dc01;};return a100_0x50ea();}import{DEFAULT_LOVRABET_REGION}from'../constant/region.js';let customApiDomain,customUserDomain,customRuntimeDomain,customSkillDomain,customKbServiceDomain,customHarnessDomain,activeRegion=DEFAULT_LOVRABET_REGION;export function initDomains(_0x120cf1){const _0x42b2c9=a100_0x2d25;customApiDomain=_0x120cf1?.[_0x42b2c9(0x78)],customUserDomain=_0x120cf1?.[_0x42b2c9(0x7d)],customRuntimeDomain=_0x120cf1?.[_0x42b2c9(0x6f)],customSkillDomain=_0x120cf1?.[_0x42b2c9(0x79)],customKbServiceDomain=_0x120cf1?.[_0x42b2c9(0x6d)],customHarnessDomain=_0x120cf1?.['harnessDomain'],activeRegion=_0x120cf1?.[_0x42b2c9(0x64)]??DEFAULT_LOVRABET_REGION;}const getActiveRegionDomains=()=>{const _0x3d3b9f=a100_0x2d25,_0x1c6ac3=OFFICIAL_ROUTING_PROFILES[activeRegion][_0x3d3b9f(0x69)];return isProduction(getEnv())?_0x1c6ac3['production']:'daily'in _0x1c6ac3?_0x1c6ac3[_0x3d3b9f(0x67)]:_0x1c6ac3[_0x3d3b9f(0x66)];};export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()[a100_0x13a913(0x75)];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()[a100_0x13a913(0x7a)];export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()[a100_0x13a913(0x6b)];export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()['skill'];function a100_0x2d25(_0x22ae76,_0x594e17){_0x22ae76=_0x22ae76-0x64;const _0x50eae1=a100_0x50ea();let _0x2d25eb=_0x50eae1[_0x22ae76];return _0x2d25eb;}export const getKbServiceDomain=()=>{const _0x300f81=a100_0x13a913;if(customKbServiceDomain)return customKbServiceDomain;const _0x4ff90c=getActiveRegionDomains();return'kbService'in _0x4ff90c?_0x4ff90c[_0x300f81(0x6e)]:undefined;};export const getHarnessDomain=()=>{if(customHarnessDomain)return customHarnessDomain;const _0x1a70e6=getActiveRegionDomains();return'harness'in _0x1a70e6?_0x1a70e6['harness']:undefined;};export function requireHarnessDomain(){const _0x2b28e8=a100_0x13a913,_0x1151c3=getHarnessDomain();if(!_0x1151c3)throw CliErrors[_0x2b28e8(0x7b)]('Harness\x20is\x20not\x20configured.',_0x2b28e8(0x65));return _0x1151c3;}
@@ -1 +1 @@
1
- const a101_0x4014ee=a101_0x35a8;(function(_0x3b355c,_0x2594c2){const _0x14c55c=a101_0x35a8,_0xfff089=_0x3b355c();while(!![]){try{const _0x67af35=parseInt(_0x14c55c(0xdf))/0x1+-parseInt(_0x14c55c(0xe0))/0x2*(-parseInt(_0x14c55c(0xd6))/0x3)+parseInt(_0x14c55c(0xd2))/0x4*(-parseInt(_0x14c55c(0xd8))/0x5)+-parseInt(_0x14c55c(0xd4))/0x6*(parseInt(_0x14c55c(0xda))/0x7)+parseInt(_0x14c55c(0xdb))/0x8+-parseInt(_0x14c55c(0xde))/0x9+parseInt(_0x14c55c(0xdd))/0xa;if(_0x67af35===_0x2594c2)break;else _0xfff089['push'](_0xfff089['shift']());}catch(_0xc4d084){_0xfff089['push'](_0xfff089['shift']());}}}(a101_0x3d57,0x1b9e4));import{productEnv}from'../constant/product.js';function a101_0x35a8(_0x3c9ad5,_0x3e7918){_0x3c9ad5=_0x3c9ad5-0xd2;const _0x3d57ee=a101_0x3d57();let _0x35a8c7=_0x3d57ee[_0x3c9ad5];return _0x35a8c7;}export const RUNTIME_ENV_VALUES=[a101_0x4014ee(0xd5),a101_0x4014ee(0xd7),a101_0x4014ee(0xd3)];function a101_0x3d57(){const _0x115845=['14cBircM','946648BhjeND','dev','3730150KIXkDS','1710657FrdBsy','44745WfWeka','2qXMiIF','4aEIAuF','daily','673194VuLEcn','production','371121hljZir','development','661015HzsFpA','online'];a101_0x3d57=function(){return _0x115845;};return a101_0x3d57();}export function normalizeEnv(_0x2d32d9){const _0x4df85f=a101_0x4014ee;return _0x2d32d9===_0x4df85f(0xd9)||_0x2d32d9==='prod'?_0x4df85f(0xd5):_0x2d32d9;}export function isProduction(_0x1991d4){const _0x5f195d=a101_0x4014ee;return normalizeEnv(_0x1991d4)===_0x5f195d(0xd5);}export function isDaily(_0x3c8a4a){return normalizeEnv(_0x3c8a4a)==='daily';}export function isDev(_0x18e542){const _0x309aee=a101_0x4014ee,_0x155de9=normalizeEnv(_0x18e542);return _0x155de9===_0x309aee(0xd7)||_0x155de9===_0x309aee(0xdc);}let env=normalizeEnv(productEnv('ENV')||a101_0x4014ee(0xd5));export function getEnv(){return env;}export function initEnv(_0x484c2d){env=normalizeEnv(_0x484c2d);}
1
+ const a101_0x145b50=a101_0x22a1;(function(_0xe8e5f,_0x2a1300){const _0x86c7e3=a101_0x22a1,_0x11c425=_0xe8e5f();while(!![]){try{const _0x2e2e43=parseInt(_0x86c7e3(0x78))/0x1*(parseInt(_0x86c7e3(0x70))/0x2)+-parseInt(_0x86c7e3(0x6f))/0x3*(parseInt(_0x86c7e3(0x72))/0x4)+-parseInt(_0x86c7e3(0x68))/0x5*(parseInt(_0x86c7e3(0x77))/0x6)+parseInt(_0x86c7e3(0x67))/0x7+parseInt(_0x86c7e3(0x6e))/0x8*(parseInt(_0x86c7e3(0x6c))/0x9)+-parseInt(_0x86c7e3(0x6a))/0xa*(-parseInt(_0x86c7e3(0x69))/0xb)+-parseInt(_0x86c7e3(0x6d))/0xc;if(_0x2e2e43===_0x2a1300)break;else _0x11c425['push'](_0x11c425['shift']());}catch(_0x4c5c9c){_0x11c425['push'](_0x11c425['shift']());}}}(a101_0x385b,0x99402));import{productEnv}from'../constant/product.js';export const RUNTIME_ENV_VALUES=[a101_0x145b50(0x74),a101_0x145b50(0x75),'daily'];export function normalizeEnv(_0x566591){const _0x3a89dc=a101_0x145b50;return _0x566591===_0x3a89dc(0x76)||_0x566591===_0x3a89dc(0x73)?'production':_0x566591;}function a101_0x385b(){const _0x539139=['6YlztRg','866993qdjZys','dev','6860273ZfMyQa','1279310XnoqKR','1256409OYLWix','70ETAeBB','daily','2185695mYvodi','24548976THOuMb','16FkIxtl','237bacscp','2YRAkfd','ENV','10276kptilz','prod','production','development','online'];a101_0x385b=function(){return _0x539139;};return a101_0x385b();}export function isProduction(_0x463ba2){return normalizeEnv(_0x463ba2)==='production';}export function isDaily(_0x3e21d6){const _0x1c6df6=a101_0x145b50;return normalizeEnv(_0x3e21d6)===_0x1c6df6(0x6b);}export function isDev(_0x1541e9){const _0x2c1b48=a101_0x145b50,_0x237b54=normalizeEnv(_0x1541e9);return _0x237b54===_0x2c1b48(0x75)||_0x237b54===_0x2c1b48(0x79);}let env=normalizeEnv(productEnv(a101_0x145b50(0x71))||'production');function a101_0x22a1(_0x49b809,_0x18aa7){_0x49b809=_0x49b809-0x67;const _0x385b85=a101_0x385b();let _0x22a1c3=_0x385b85[_0x49b809];return _0x22a1c3;}export function getEnv(){return env;}export function initEnv(_0x18ed77){env=normalizeEnv(_0x18ed77);}
@@ -1 +1 @@
1
- const a102_0x4cbaf6=a102_0x59e9;(function(_0x441ff8,_0x487c1a){const _0x138c35=a102_0x59e9,_0x4ccc95=_0x441ff8();while(!![]){try{const _0x30b6f6=parseInt(_0x138c35(0x166))/0x1+parseInt(_0x138c35(0x162))/0x2*(parseInt(_0x138c35(0x15f))/0x3)+-parseInt(_0x138c35(0x160))/0x4+-parseInt(_0x138c35(0x161))/0x5*(parseInt(_0x138c35(0x165))/0x6)+-parseInt(_0x138c35(0x169))/0x7*(-parseInt(_0x138c35(0x163))/0x8)+parseInt(_0x138c35(0x168))/0x9*(parseInt(_0x138c35(0x164))/0xa)+-parseInt(_0x138c35(0x16c))/0xb;if(_0x30b6f6===_0x487c1a)break;else _0x4ccc95['push'](_0x4ccc95['shift']());}catch(_0x29e3e0){_0x4ccc95['push'](_0x4ccc95['shift']());}}}(a102_0x321b,0x7d255));function a102_0x59e9(_0x4b4e0f,_0x5504ba){_0x4b4e0f=_0x4b4e0f-0x15f;const _0x321bd2=a102_0x321b();let _0x59e9fc=_0x321bd2[_0x4b4e0f];return _0x59e9fc;}function a102_0x321b(){const _0x519c2f=['6tHHEFk','1013183WuUxUb','compress','86013TdnzlB','1134pCsIQr','json','pretty','14414466hkoOtE','173091OVTLQP','1493644qtxzQR','1076645ovIais','6QRnUdw','31728VtTrSn','610SCHrCz'];a102_0x321b=function(){return _0x519c2f;};return a102_0x321b();}export const OUTPUT_FORMAT_VALUES=[a102_0x4cbaf6(0x16a),a102_0x4cbaf6(0x16b),a102_0x4cbaf6(0x167)];
1
+ const a102_0x1b60ef=a102_0x39c4;(function(_0x5a3bf0,_0x14836d){const _0x5957ad=a102_0x39c4,_0xf305fb=_0x5a3bf0();while(!![]){try{const _0x675505=-parseInt(_0x5957ad(0x13a))/0x1*(parseInt(_0x5957ad(0x133))/0x2)+parseInt(_0x5957ad(0x132))/0x3+parseInt(_0x5957ad(0x12d))/0x4*(parseInt(_0x5957ad(0x139))/0x5)+-parseInt(_0x5957ad(0x135))/0x6*(parseInt(_0x5957ad(0x130))/0x7)+parseInt(_0x5957ad(0x138))/0x8*(-parseInt(_0x5957ad(0x136))/0x9)+-parseInt(_0x5957ad(0x12e))/0xa*(parseInt(_0x5957ad(0x13b))/0xb)+-parseInt(_0x5957ad(0x137))/0xc*(parseInt(_0x5957ad(0x131))/0xd);if(_0x675505===_0x14836d)break;else _0xf305fb['push'](_0xf305fb['shift']());}catch(_0x96fc4a){_0xf305fb['push'](_0xf305fb['shift']());}}}(a102_0x1467,0xabff3));function a102_0x39c4(_0x1a2e44,_0x2aa4a5){_0x1a2e44=_0x1a2e44-0x12d;const _0x146737=a102_0x1467();let _0x39c465=_0x146737[_0x1a2e44];return _0x39c465;}function a102_0x1467(){const _0x279083=['compress','7uSQoLL','9438kkjjDg','4023936LSnaQl','1018FGkWnZ','pretty','3456786odpvZt','44856jArMiB','1344psQqrT','440QuXELh','6370670DzstqW','5TotKTE','3581743WqDRUO','4dFGFBS','30GUcrlP'];a102_0x1467=function(){return _0x279083;};return a102_0x1467();}export const OUTPUT_FORMAT_VALUES=['json',a102_0x1b60ef(0x134),a102_0x1b60ef(0x12f)];
@@ -1 +1 @@
1
- const a103_0x134c85=a103_0x1d36;(function(_0x2daa0b,_0x5bff06){const _0x18e392=a103_0x1d36,_0x4082e0=_0x2daa0b();while(!![]){try{const _0x503b0e=-parseInt(_0x18e392(0x186))/0x1*(-parseInt(_0x18e392(0x196))/0x2)+-parseInt(_0x18e392(0x194))/0x3+parseInt(_0x18e392(0x18d))/0x4+parseInt(_0x18e392(0x197))/0x5*(-parseInt(_0x18e392(0x18a))/0x6)+-parseInt(_0x18e392(0x198))/0x7*(-parseInt(_0x18e392(0x191))/0x8)+parseInt(_0x18e392(0x181))/0x9+parseInt(_0x18e392(0x18e))/0xa*(-parseInt(_0x18e392(0x189))/0xb);if(_0x503b0e===_0x5bff06)break;else _0x4082e0['push'](_0x4082e0['shift']());}catch(_0x4a41aa){_0x4082e0['push'](_0x4082e0['shift']());}}}(a103_0x24c1,0x38bd1));export const PRODUCT_CONFIG={'cliBinName':'lovrabet','cliDisplayName':a103_0x134c85(0x193),'npmPackageName':a103_0x134c85(0x199),'skillSource':a103_0x134c85(0x192),'internalSkillSource':a103_0x134c85(0x19b),'globalSkillName':a103_0x134c85(0x183),'npmRegistryBaseUrl':'https://registry.npmjs.org','cliCdnBaseUrl':'https://g.lovrabet.com','envPrefix':a103_0x134c85(0x185),'legacyEnvPrefixes':[a103_0x134c85(0x182)],'configFileNames':[a103_0x134c85(0x190)],'newConfigFileName':a103_0x134c85(0x190),'homeDirName':a103_0x134c85(0x184),'logFileName':a103_0x134c85(0x18f),'invokeSource':a103_0x134c85(0x195),'userCenterDisplayName':a103_0x134c85(0x187),'skipNpxSkillsEnvSuffix':'SKIP_NPX_SKILLS','accessKeyCreatePath':a103_0x134c85(0x18b)};function a103_0x1d36(_0x1810bd,_0x1987cd){_0x1810bd=_0x1810bd-0x181;const _0x24c148=a103_0x24c1();let _0x1d3661=_0x24c148[_0x1810bd];return _0x1d3661;}export function productEnvName(_0x13a57c){const _0x1a6a7c=a103_0x134c85;return PRODUCT_CONFIG[_0x1a6a7c(0x19a)]+'_'+_0x13a57c;}function a103_0x24c1(){const _0x5f355e=['envPrefix','git@codeup.aliyun.com:yuntoo/open/lovrabet-runtime-cli.git','1366659NSrmGB','RABETBASE','lovrabet','.lovrabet','LOVRABET','18193lgLvrJ','Lovrabet\x20User\x20Center','map','10835LhsShm','193848rwmGZm','/user/ak','legacyEnvPrefixes','101168oiIlit','1450SRrfVU','.lovrabet-runtime.log','.lovrabet.json','18504VUdmNW','lovrabet/lovrabet-cli','Lovrabet\x20Runtime\x20CLI','841926NqSooV','cli:lovrabet-runtime','46aAgwyn','10UqBUCa','378xigcrX','@lovrabet/lovrabet-cli'];a103_0x24c1=function(){return _0x5f355e;};return a103_0x24c1();}export function productEnvNames(_0xe64301){const _0x4352fd=a103_0x134c85;return[productEnvName(_0xe64301),...PRODUCT_CONFIG[_0x4352fd(0x18c)][_0x4352fd(0x188)](_0x2575f9=>_0x2575f9+'_'+_0xe64301)];}export function productEnv(_0x13b566){for(const _0x5141c2 of productEnvNames(_0x13b566)){const _0x11d742=process.env[_0x5141c2];if(_0x11d742!==undefined)return _0x11d742;}return undefined;}
1
+ const a103_0x22a8e7=a103_0x4e9e;function a103_0x2652(){const _0x25bac2=['envPrefix','lovrabet','https://g.lovrabet.com','4OfsMNR','.lovrabet-runtime.log','cli:lovrabet-runtime','570846pZHVVx','map','Lovrabet\x20Runtime\x20CLI','git@codeup.aliyun.com:yuntoo/open/lovrabet-runtime-cli.git','LOVRABET','.lovrabet','492587IUmlDH','lovrabet/lovrabet-cli','/user/ak','legacyEnvPrefixes','582136nuOqNy','.lovrabet.json','1568995ZenjUD','985187LKNdrh','72mEMncq','6KTsvip','2542560OEssJo','279782tTrwMg','@lovrabet/lovrabet-cli','Lovrabet\x20User\x20Center','https://registry.npmjs.org'];a103_0x2652=function(){return _0x25bac2;};return a103_0x2652();}(function(_0x2ed7ac,_0x1d88b2){const _0x2b2c03=a103_0x4e9e,_0x2692bc=_0x2ed7ac();while(!![]){try{const _0x3dd022=parseInt(_0x2b2c03(0x1b4))/0x1+parseInt(_0x2b2c03(0x1bf))/0x2+parseInt(_0x2b2c03(0x1c9))/0x3*(parseInt(_0x2b2c03(0x1c6))/0x4)+-parseInt(_0x2b2c03(0x1ba))/0x5*(parseInt(_0x2b2c03(0x1bd))/0x6)+-parseInt(_0x2b2c03(0x1bb))/0x7+parseInt(_0x2b2c03(0x1b8))/0x8*(parseInt(_0x2b2c03(0x1bc))/0x9)+-parseInt(_0x2b2c03(0x1be))/0xa;if(_0x3dd022===_0x1d88b2)break;else _0x2692bc['push'](_0x2692bc['shift']());}catch(_0x5dac33){_0x2692bc['push'](_0x2692bc['shift']());}}}(a103_0x2652,0xa9f24));export const PRODUCT_CONFIG={'cliBinName':a103_0x22a8e7(0x1c4),'cliDisplayName':a103_0x22a8e7(0x1cb),'npmPackageName':a103_0x22a8e7(0x1c0),'skillSource':a103_0x22a8e7(0x1b5),'internalSkillSource':a103_0x22a8e7(0x1cc),'globalSkillName':a103_0x22a8e7(0x1c4),'npmRegistryBaseUrl':a103_0x22a8e7(0x1c2),'cliCdnBaseUrl':a103_0x22a8e7(0x1c5),'envPrefix':a103_0x22a8e7(0x1cd),'legacyEnvPrefixes':['RABETBASE'],'configFileNames':[a103_0x22a8e7(0x1b9)],'newConfigFileName':a103_0x22a8e7(0x1b9),'homeDirName':a103_0x22a8e7(0x1b3),'logFileName':a103_0x22a8e7(0x1c7),'invokeSource':a103_0x22a8e7(0x1c8),'userCenterDisplayName':a103_0x22a8e7(0x1c1),'skipNpxSkillsEnvSuffix':'SKIP_NPX_SKILLS','accessKeyCreatePath':a103_0x22a8e7(0x1b6)};export function productEnvName(_0x30042d){const _0x3e3c18=a103_0x22a8e7;return PRODUCT_CONFIG[_0x3e3c18(0x1c3)]+'_'+_0x30042d;}export function productEnvNames(_0x12cb78){const _0x3887a2=a103_0x22a8e7;return[productEnvName(_0x12cb78),...PRODUCT_CONFIG[_0x3887a2(0x1b7)][_0x3887a2(0x1ca)](_0x35bd81=>_0x35bd81+'_'+_0x12cb78)];}function a103_0x4e9e(_0xb8ad0c,_0xaec130){_0xb8ad0c=_0xb8ad0c-0x1b3;const _0x2652cb=a103_0x2652();let _0x4e9e33=_0x2652cb[_0xb8ad0c];return _0x4e9e33;}export function productEnv(_0x4f3499){for(const _0xafd924 of productEnvNames(_0x4f3499)){const _0x1649b8=process.env[_0xafd924];if(_0x1649b8!==undefined)return _0x1649b8;}return undefined;}
@@ -1 +1 @@
1
- (function(_0x448378,_0xf09dbb){const _0x22efef=a104_0x471c,_0xbc3b0f=_0x448378();while(!![]){try{const _0x21c9ac=-parseInt(_0x22efef(0x1d5))/0x1*(-parseInt(_0x22efef(0x1db))/0x2)+parseInt(_0x22efef(0x1cf))/0x3+-parseInt(_0x22efef(0x1ce))/0x4+-parseInt(_0x22efef(0x1d6))/0x5*(parseInt(_0x22efef(0x1d1))/0x6)+parseInt(_0x22efef(0x1de))/0x7+parseInt(_0x22efef(0x1dc))/0x8+parseInt(_0x22efef(0x1d2))/0x9*(-parseInt(_0x22efef(0x1da))/0xa);if(_0x21c9ac===_0xf09dbb)break;else _0xbc3b0f['push'](_0xbc3b0f['shift']());}catch(_0x108f2f){_0xbc3b0f['push'](_0xbc3b0f['shift']());}}}(a104_0x3450,0x9309c));import{DEFAULT_REGION,ENABLED_REGION_VALUES,REGION_ALIASES,REGION_VALUES}from'../generated/official-routing.js';function a104_0x471c(_0x51a683,_0x48b9d4){_0x51a683=_0x51a683-0x1ce;const _0x345063=a104_0x3450();let _0x471c4d=_0x345063[_0x51a683];return _0x471c4d;}import{CliErrors}from'../errors.js';export const LOVRABET_REGION_VALUES=REGION_VALUES;export const ENABLED_LOVRABET_REGION_VALUES=ENABLED_REGION_VALUES;export const DEFAULT_LOVRABET_REGION=DEFAULT_REGION;function a104_0x3450(){const _0x2f36f6=['117eKgjRP','Region\x20\x22','join','16afAWfC','5htCNUI','includes','validation','Run\x20`lovrabet\x20config\x20init`\x20to\x20restore\x20the\x20global\x20country/region\x20configuration.','1167450mIoern','99174dQJzat','8516584wevRDA','string','5678302zgIeNX','Available\x20regions:\x20','\x22\x20is\x20not\x20currently\x20available.','.\x20Run\x20`lovrabet\x20config\x20init`\x20to\x20repair\x20the\x20global\x20configuration.','836256cauJue','479535gdOhgS','Invalid\x20region\x20value:\x20expected\x20a\x20string,\x20received\x20','2999874VLQhkm'];a104_0x3450=function(){return _0x2f36f6;};return a104_0x3450();}export function isLovrabetRegion(_0x4d85be){const _0x480b9e=a104_0x471c;return typeof _0x4d85be===_0x480b9e(0x1dd)&&LOVRABET_REGION_VALUES[_0x480b9e(0x1d7)](_0x4d85be);}export function isEnabledLovrabetRegion(_0x5d5cd4){const _0x2735c8=a104_0x471c;return typeof _0x5d5cd4===_0x2735c8(0x1dd)&&ENABLED_LOVRABET_REGION_VALUES[_0x2735c8(0x1d7)](_0x5d5cd4);}export function normalizeLovrabetRegion(_0x143d2){const _0x518e9f=a104_0x471c;if(_0x143d2===undefined||_0x143d2===null||_0x143d2==='')return DEFAULT_LOVRABET_REGION;if(typeof _0x143d2!==_0x518e9f(0x1dd))throw CliErrors[_0x518e9f(0x1d8)](_0x518e9f(0x1d0)+typeof _0x143d2+'.',_0x518e9f(0x1d9));const _0x20c8e9=REGION_ALIASES[_0x143d2]??_0x143d2;if(isEnabledLovrabetRegion(_0x20c8e9))return _0x20c8e9;throw CliErrors[_0x518e9f(0x1d8)](_0x518e9f(0x1d3)+_0x143d2+_0x518e9f(0x1e0),_0x518e9f(0x1df)+ENABLED_LOVRABET_REGION_VALUES[_0x518e9f(0x1d4)](',\x20')+_0x518e9f(0x1e1));}
1
+ function a104_0x2969(){const _0x33c241=['6112656FcOfkV','validation','\x22\x20is\x20not\x20currently\x20available.','549464YSaWZI','string','Region\x20\x22','557544vkOdIE','66457qnNiFw','138103szGoOf','includes','Available\x20regions:\x20','Run\x20`lovrabet\x20config\x20init`\x20to\x20restore\x20the\x20global\x20country/region\x20configuration.','Invalid\x20region\x20value:\x20expected\x20a\x20string,\x20received\x20','4HcevMd','1640748jzqUwz','9vUyvJQ','.\x20Run\x20`lovrabet\x20config\x20init`\x20to\x20repair\x20the\x20global\x20configuration.','join','17439070kxviOz','5iVSDmy'];a104_0x2969=function(){return _0x33c241;};return a104_0x2969();}(function(_0xe4dc27,_0x51ca28){const _0x2f88fe=a104_0x31b4,_0x1381df=_0xe4dc27();while(!![]){try{const _0x32499e=-parseInt(_0x2f88fe(0xcf))/0x1*(-parseInt(_0x2f88fe(0xd5))/0x2)+parseInt(_0x2f88fe(0xce))/0x3+-parseInt(_0x2f88fe(0xd6))/0x4+parseInt(_0x2f88fe(0xc7))/0x5*(-parseInt(_0x2f88fe(0xc8))/0x6)+-parseInt(_0x2f88fe(0xd0))/0x7+-parseInt(_0x2f88fe(0xcb))/0x8+parseInt(_0x2f88fe(0xc3))/0x9*(parseInt(_0x2f88fe(0xc6))/0xa);if(_0x32499e===_0x51ca28)break;else _0x1381df['push'](_0x1381df['shift']());}catch(_0x1de831){_0x1381df['push'](_0x1381df['shift']());}}}(a104_0x2969,0x8520e));import{DEFAULT_REGION,ENABLED_REGION_VALUES,REGION_ALIASES,REGION_VALUES}from'../generated/official-routing.js';import{CliErrors}from'../errors.js';export const LOVRABET_REGION_VALUES=REGION_VALUES;export const ENABLED_LOVRABET_REGION_VALUES=ENABLED_REGION_VALUES;export const DEFAULT_LOVRABET_REGION=DEFAULT_REGION;function a104_0x31b4(_0x40139e,_0x5475b0){_0x40139e=_0x40139e-0xc3;const _0x2969e4=a104_0x2969();let _0x31b415=_0x2969e4[_0x40139e];return _0x31b415;}export function isLovrabetRegion(_0x2e60e1){const _0x2458f9=a104_0x31b4;return typeof _0x2e60e1==='string'&&LOVRABET_REGION_VALUES[_0x2458f9(0xd1)](_0x2e60e1);}export function isEnabledLovrabetRegion(_0x229e1b){const _0x2203e4=a104_0x31b4;return typeof _0x229e1b===_0x2203e4(0xcc)&&ENABLED_LOVRABET_REGION_VALUES[_0x2203e4(0xd1)](_0x229e1b);}export function normalizeLovrabetRegion(_0x2fa43e){const _0x165688=a104_0x31b4;if(_0x2fa43e===undefined||_0x2fa43e===null||_0x2fa43e==='')return DEFAULT_LOVRABET_REGION;if(typeof _0x2fa43e!==_0x165688(0xcc))throw CliErrors['validation'](_0x165688(0xd4)+typeof _0x2fa43e+'.',_0x165688(0xd3));const _0x5aee32=REGION_ALIASES[_0x2fa43e]??_0x2fa43e;if(isEnabledLovrabetRegion(_0x5aee32))return _0x5aee32;throw CliErrors[_0x165688(0xc9)](_0x165688(0xcd)+_0x2fa43e+_0x165688(0xca),_0x165688(0xd2)+ENABLED_LOVRABET_REGION_VALUES[_0x165688(0xc5)](',\x20')+_0x165688(0xc4));}
@@ -1 +1 @@
1
- const a105_0x6494e2=a105_0x5a40;(function(_0x458908,_0x341312){const _0x22090f=a105_0x5a40,_0x462865=_0x458908();while(!![]){try{const _0x204e89=parseInt(_0x22090f(0x6f))/0x1+parseInt(_0x22090f(0x69))/0x2*(parseInt(_0x22090f(0x68))/0x3)+-parseInt(_0x22090f(0x64))/0x4+-parseInt(_0x22090f(0x6b))/0x5*(parseInt(_0x22090f(0x65))/0x6)+-parseInt(_0x22090f(0x6d))/0x7*(-parseInt(_0x22090f(0x6a))/0x8)+parseInt(_0x22090f(0x6e))/0x9+parseInt(_0x22090f(0x6c))/0xa*(-parseInt(_0x22090f(0x66))/0xb);if(_0x204e89===_0x341312)break;else _0x462865['push'](_0x462865['shift']());}catch(_0x590a55){_0x462865['push'](_0x462865['shift']());}}}(a105_0x1bc9,0x1b7b7));function a105_0x5a40(_0x129b6a,_0x13142a){_0x129b6a=_0x129b6a-0x64;const _0x1bc975=a105_0x1bc9();let _0x5a4023=_0x1bc975[_0x129b6a];return _0x5a4023;}export const RISK_LEVEL_VALUES=[a105_0x6494e2(0x67),a105_0x6494e2(0x70),'high-risk-write'];function a105_0x1bc9(){const _0x56e042=['220deowOb','45464YmbtNI','65AlieKu','2480xxyKaa','245ZOAhPd','1506474hnhhRy','174347grwHdY','write','819384MeJewM','76470OBfeoI','11110HPslqS','read','5262yYceLw'];a105_0x1bc9=function(){return _0x56e042;};return a105_0x1bc9();}
1
+ const a105_0x4217ba=a105_0x11a1;function a105_0x3c78(){const _0x4980d0=['6blSpTg','27097202WuufDZ','7sdkedE','3384930VrYRIY','5529608TkCgYf','7177304FeraAi','high-risk-write','1BxKCax','498114UyDOXQ','read','260RlOLOb','106712GWEsng','1605072dVxTIa'];a105_0x3c78=function(){return _0x4980d0;};return a105_0x3c78();}(function(_0x775ce5,_0x2155a7){const _0x387e5d=a105_0x11a1,_0x2241fe=_0x775ce5();while(!![]){try{const _0x1c43f8=parseInt(_0x387e5d(0x196))/0x1*(parseInt(_0x387e5d(0x19a))/0x2)+-parseInt(_0x387e5d(0x19b))/0x3+-parseInt(_0x387e5d(0x1a0))/0x4+parseInt(_0x387e5d(0x19f))/0x5*(parseInt(_0x387e5d(0x19c))/0x6)+parseInt(_0x387e5d(0x19e))/0x7*(parseInt(_0x387e5d(0x1a1))/0x8)+parseInt(_0x387e5d(0x197))/0x9*(-parseInt(_0x387e5d(0x199))/0xa)+parseInt(_0x387e5d(0x19d))/0xb;if(_0x1c43f8===_0x2155a7)break;else _0x2241fe['push'](_0x2241fe['shift']());}catch(_0x38e1e3){_0x2241fe['push'](_0x2241fe['shift']());}}}(a105_0x3c78,0xb3501));function a105_0x11a1(_0x1fcbbd,_0x586a97){_0x1fcbbd=_0x1fcbbd-0x195;const _0x3c78f5=a105_0x3c78();let _0x11a192=_0x3c78f5[_0x1fcbbd];return _0x11a192;}export const RISK_LEVEL_VALUES=[a105_0x4217ba(0x198),'write',a105_0x4217ba(0x195)];
@@ -1 +1 @@
1
- function a106_0x2d90(_0x197214,_0x323dfe){_0x197214=_0x197214-0x77;const _0x2980a1=a106_0x2980();let _0x2d90c0=_0x2980a1[_0x197214];return _0x2d90c0;}(function(_0x47dba7,_0x49d7a7){const _0x5078bf=a106_0x2d90,_0x5cf4ae=_0x47dba7();while(!![]){try{const _0x69f85f=parseInt(_0x5078bf(0x81))/0x1*(parseInt(_0x5078bf(0x7b))/0x2)+parseInt(_0x5078bf(0x7f))/0x3*(parseInt(_0x5078bf(0x78))/0x4)+parseInt(_0x5078bf(0x7d))/0x5*(-parseInt(_0x5078bf(0x7c))/0x6)+parseInt(_0x5078bf(0x80))/0x7+-parseInt(_0x5078bf(0x79))/0x8+parseInt(_0x5078bf(0x7a))/0x9+-parseInt(_0x5078bf(0x7e))/0xa;if(_0x69f85f===_0x49d7a7)break;else _0x5cf4ae['push'](_0x5cf4ae['shift']());}catch(_0xe13e3e){_0x5cf4ae['push'](_0x5cf4ae['shift']());}}}(a106_0x2980,0xc96c8));import{PRODUCT_CONFIG}from'../constant/product.js';import{OFFICIAL_ROUTING_PROFILES}from'../generated/official-routing.js';import{DEFAULT_LOVRABET_REGION}from'../constant/region.js';function a106_0x2980(){const _0xd61096=['1614dLQwaV','14265tvlkDn','12179610nRjxWx','362352SdmVXj','8297513zQcLEj','102359TZqDmO','user','28UnuCkS','4358112DKaFQw','9155610iPGazI','6ZliYWP'];a106_0x2980=function(){return _0xd61096;};return a106_0x2980();}export function getUserAccessKeyCreateUrl(_0x53fc6b=DEFAULT_LOVRABET_REGION){const _0x3a2ea3=a106_0x2d90,_0x45a3e3=OFFICIAL_ROUTING_PROFILES[_0x53fc6b]['serviceDomains']['production'][_0x3a2ea3(0x77)];return''+_0x45a3e3+PRODUCT_CONFIG['accessKeyCreatePath'];}export const USER_ACCESS_KEY_CREATE_URL=getUserAccessKeyCreateUrl();
1
+ (function(_0x5ef809,_0x1b011d){const _0x929b63=a106_0x4651,_0x37e551=_0x5ef809();while(!![]){try{const _0x18a47e=parseInt(_0x929b63(0x13b))/0x1+-parseInt(_0x929b63(0x13a))/0x2+parseInt(_0x929b63(0x144))/0x3+parseInt(_0x929b63(0x142))/0x4+parseInt(_0x929b63(0x143))/0x5*(parseInt(_0x929b63(0x138))/0x6)+parseInt(_0x929b63(0x140))/0x7*(parseInt(_0x929b63(0x13e))/0x8)+parseInt(_0x929b63(0x13c))/0x9*(-parseInt(_0x929b63(0x139))/0xa);if(_0x18a47e===_0x1b011d)break;else _0x37e551['push'](_0x37e551['shift']());}catch(_0x18c06d){_0x37e551['push'](_0x37e551['shift']());}}}(a106_0x4155,0xb392a));function a106_0x4651(_0x38a32a,_0x35ad44){_0x38a32a=_0x38a32a-0x138;const _0x415525=a106_0x4155();let _0x465173=_0x415525[_0x38a32a];return _0x465173;}import{PRODUCT_CONFIG}from'../constant/product.js';import{OFFICIAL_ROUTING_PROFILES}from'../generated/official-routing.js';function a106_0x4155(){const _0x28be78=['production','1788588RJowsJ','27015oSmSLb','622578MgBaia','1038YNnyfD','10cdzzTW','271950VEZFzz','12546bYDvWV','16183161pJogeD','accessKeyCreatePath','128JMBegM','user','467117RTRBTc'];a106_0x4155=function(){return _0x28be78;};return a106_0x4155();}import{DEFAULT_LOVRABET_REGION}from'../constant/region.js';export function getUserAccessKeyCreateUrl(_0x452ce6=DEFAULT_LOVRABET_REGION){const _0x37fd53=a106_0x4651,_0x51ea0a=OFFICIAL_ROUTING_PROFILES[_0x452ce6]['serviceDomains'][_0x37fd53(0x141)][_0x37fd53(0x13f)];return''+_0x51ea0a+PRODUCT_CONFIG[_0x37fd53(0x13d)];}export const USER_ACCESS_KEY_CREATE_URL=getUserAccessKeyCreateUrl();
package/lib/context.js CHANGED
@@ -1 +1 @@
1
- const a107_0x4c9b4b=a107_0x121d;(function(_0x345b00,_0x5ba453){const _0x4d59cd=a107_0x121d,_0x263c3c=_0x345b00();while(!![]){try{const _0x2de604=parseInt(_0x4d59cd(0x15b))/0x1*(parseInt(_0x4d59cd(0x13d))/0x2)+-parseInt(_0x4d59cd(0x14e))/0x3*(parseInt(_0x4d59cd(0x13b))/0x4)+parseInt(_0x4d59cd(0x160))/0x5*(-parseInt(_0x4d59cd(0x17c))/0x6)+-parseInt(_0x4d59cd(0x13a))/0x7+parseInt(_0x4d59cd(0x177))/0x8+-parseInt(_0x4d59cd(0x173))/0x9+-parseInt(_0x4d59cd(0x169))/0xa*(-parseInt(_0x4d59cd(0x15e))/0xb);if(_0x2de604===_0x5ba453)break;else _0x263c3c['push'](_0x263c3c['shift']());}catch(_0x4b7aa9){_0x263c3c['push'](_0x263c3c['shift']());}}}(a107_0x2de3,0xd58e0));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{redactCommandArgv}from'./utils/redaction.js';import{CliErrors}from'./errors.js';import{CLI_BIN_NAME}from'./constant/cli.js';import{PRODUCT_CONFIG,productEnv,productEnvNames}from'./constant/product.js';import{DEFAULT_CONFIG_VALUES}from'./constant/defaults.js';import{normalizeEnv,isDaily,isDev}from'./constant/env.js';import{normalizeLegacyOutputFormat}from'./framework/types.js';import{resolveCachedAppCode}from'./commands/app/cache.js';import{normalizeLovrabetRegion}from'./constant/region.js';import{normalizeDomainOrigin,resolveEnterpriseRoutingConfig}from'./config/domain-config.js';export{AUTH_MODE,isAuthMode}from'./constant/auth-mode.js';const CONFIG_NAMES=PRODUCT_CONFIG['configFileNames'];export const NEW_CONFIG_NAME=PRODUCT_CONFIG[a107_0x4c9b4b(0x138)];function resolveConfigPath(_0x838c9c){for(const _0x5e2e90 of CONFIG_NAMES){const _0x199a7=resolve(_0x838c9c,_0x5e2e90);if(existsSync(_0x199a7))return _0x199a7;}return undefined;}function a107_0x121d(_0x4d7934,_0x12690a){_0x4d7934=_0x4d7934-0x12a;const _0x2de34f=a107_0x2de3();let _0x121d0a=_0x2de34f[_0x4d7934];return _0x121d0a;}export function resolveWriteConfigPath(_0x25f87e){const _0x22ed64=a107_0x4c9b4b,_0x4ed8ff=_0x25f87e==='project'?process[_0x22ed64(0x12e)]():homedir(),_0x91f152=resolveConfigPath(_0x4ed8ff);return _0x91f152??resolve(_0x4ed8ff,NEW_CONFIG_NAME);}export function readConfigFile(_0x133e8d){const _0x12220c=a107_0x4c9b4b;try{if(existsSync(_0x133e8d)){const _0x413600=readFileSync(_0x133e8d,{'encoding':_0x12220c(0x157)});if(_0x413600){const _0x482d3c=JSON[_0x12220c(0x145)](_0x413600);return migrateOnlineEnv(_0x133e8d,_0x482d3c),_0x482d3c;}}}catch{}return{};}function migrateOnlineEnv(_0x39c64c,_0x2cf8e1){const _0x399aa9=a107_0x4c9b4b;let _0x5e887e=![];_0x2cf8e1[_0x399aa9(0x151)]==='online'&&(_0x2cf8e1[_0x399aa9(0x151)]=_0x399aa9(0x172),_0x5e887e=!![]);if(_0x2cf8e1[_0x399aa9(0x156)]&&typeof _0x2cf8e1[_0x399aa9(0x156)]===_0x399aa9(0x163))for(const _0x285a6c of Object[_0x399aa9(0x14f)](_0x2cf8e1[_0x399aa9(0x156)])){_0x285a6c&&_0x285a6c['env']===_0x399aa9(0x171)&&(_0x285a6c[_0x399aa9(0x151)]='production',_0x5e887e=!![]);}if(_0x5e887e)try{writeConfigFile(_0x39c64c,_0x2cf8e1);}catch{}}export function writeConfigFile(_0x32b33,_0x371a12){const _0x443b31=a107_0x4c9b4b,_0x29ccf5=dirname(_0x32b33);!existsSync(_0x29ccf5)&&mkdirSync(_0x29ccf5,{'recursive':!![]});const _0x5ade3e=_0x32b33+_0x443b31(0x150);try{writeFileSync(_0x5ade3e,JSON[_0x443b31(0x175)](_0x371a12,null,0x2)+'\x0a',{'encoding':_0x443b31(0x157),'mode':0x180});try{renameSync(_0x5ade3e,_0x32b33);}catch(_0x740b2c){if(_0x740b2c['code']===_0x443b31(0x135)||_0x740b2c[_0x443b31(0x161)]===_0x443b31(0x14b)||_0x740b2c[_0x443b31(0x161)]===_0x443b31(0x130)){writeFileSync(_0x32b33,JSON['stringify'](_0x371a12,null,0x2)+'\x0a',{'encoding':_0x443b31(0x157)});try{unlinkSync(_0x5ade3e);}catch{}}else throw _0x740b2c;}}catch(_0x4e24d4){try{unlinkSync(_0x5ade3e);}catch{}throw _0x4e24d4;}}export function isNonInteractiveMode(_0x251290){const _0x135b76=a107_0x4c9b4b;return!!(_0x251290['nonInteractive']||_0x251290['ci']||productEnvNames('CI')[_0x135b76(0x12d)](_0x1b98c9=>process.env[_0x1b98c9]===_0x135b76(0x154))||process.env.CI==='true'||!process[_0x135b76(0x17f)][_0x135b76(0x17b)]||!isStdinRawModeSupported());}function isStdinRawModeSupported(){const _0x51db29=a107_0x4c9b4b;if(!process['stdin'][_0x51db29(0x17b)])return![];try{const _0x6cde2a=process['stdin'][_0x51db29(0x16a)];return process['stdin'][_0x51db29(0x16b)](!![]),process[_0x51db29(0x149)][_0x51db29(0x16b)](_0x6cde2a??![]),!![];}catch{return![];}}function a107_0x2de3(){const _0xa0ee63=['platformDomain','apps','utf8','nativeToolAvailable','runtimeDomain','authRequired','7fpByEg','string','explicit','44tgMXjm','local-alias','7690BUrRZY','code','app','object','./constant/domain.js','global','projectConfig','appcode','read','5155370yQWyCo','isRaw','setRawMode','project','skillDomain','skillHubDomain','format','argv','online','production','11242008zDdJkt','daily','stringify','harnessDomain','7700984UknShH','globalConfig','message','PAGE_SIZE','isTTY','1164abnlqX','FORMAT','trim','stdout','kbServiceDomain','global\x20config','development','some','cwd','write','EACCES','host','inherit','locale','ACCESS_KEY','EPERM','error','accessKey','newConfigFileName','slice','6914110xtDMQb','24vkbmYg','find','458386wVEyZk','./constant/env.js','join','riskLevel','raw','high-risk-write','missing','ENV','parse','agentDomain','apiDomain','setRawCommand','stdin','appCode','EXDEV','userDomain','empty','609594yvRqHp','values','.tmp','env','pageSize','defaultApp','true'];a107_0x2de3=function(){return _0xa0ee63;};return a107_0x2de3();}export async function createContext(_0x2bc6dc){const _0xf9996=a107_0x4c9b4b,_0x368035=buildConfigFromFlags(_0x2bc6dc);await initGlobalEnvironment(_0x368035);const {getUserDomain:_0x2bbd5d,getApiDomain:_0x2d4f0d}=await import('./constant/domain.js'),_0x145166={'apiDomain':_0x2d4f0d(),'userDomain':_0x2bbd5d()},_0x5e4d9f=await buildAuth(_0x368035);logger['setLogPath'](process[_0xf9996(0x12e)]());const _0x1f0bdd=(CLI_BIN_NAME+'\x20'+redactCommandArgv(process[_0xf9996(0x170)][_0xf9996(0x139)](0x2))[_0xf9996(0x13f)]('\x20'))[_0xf9996(0x17e)]();logger[_0xf9996(0x148)](_0x1f0bdd);const _0x1799bf=isNonInteractiveMode(_0x2bc6dc);return{'config':_0x368035,'auth':_0x5e4d9f,'logger':logger,'env':_0x145166,'nonInteractive':_0x1799bf};}export function buildConfigFromFlags(_0x456095){return buildConfig(loadRawConfigLayers(),_0x456095);}export function getLocalAppAliases(_0x4521df){const _0x334ea5=a107_0x4c9b4b;return _0x4521df['apps']&&typeof _0x4521df[_0x334ea5(0x156)]===_0x334ea5(0x163)?_0x4521df[_0x334ea5(0x156)]:{};}export function resolveLocalAppAliasCode(_0x2d4196,_0x192896){const _0x4ab857=a107_0x4c9b4b;if(!_0x192896)return undefined;const _0x586021=getLocalAppAliases(_0x2d4196)[_0x192896],_0x1f283a=_0x586021?.['appcode'];return typeof _0x1f283a===_0x4ab857(0x15c)&&_0x1f283a['trim']()?_0x1f283a[_0x4ab857(0x17e)]():undefined;}export function readAppCodeFromConfig(){const _0x3aa246=a107_0x4c9b4b;return buildConfigFromFlags({})[_0x3aa246(0x14a)];}export function readScopedConfig(_0x1c9405){const _0x3582b9=a107_0x4c9b4b,_0x5dd328=_0x1c9405['global']?_0x3582b9(0x165):_0x3582b9(0x16c);return readConfigFile(resolveWriteConfigPath(_0x5dd328));}export function writeScopedConfig(_0x104c59,_0x31b16a){const _0x3b85aa=a107_0x4c9b4b,_0x7f0b3=_0x31b16a[_0x3b85aa(0x165)]?'global':_0x3b85aa(0x16c);writeConfigFile(resolveWriteConfigPath(_0x7f0b3),_0x104c59);}export async function initGlobalEnvironment(_0x1a1095){const _0x2f283f=a107_0x4c9b4b,{initEnv:_0x35bcea}=await import(_0x2f283f(0x13e));_0x35bcea(_0x1a1095[_0x2f283f(0x151)]);const {initDomains:_0x42e741}=await import(_0x2f283f(0x164)),_0x34c54d=resolveEnterpriseRoutingConfig(_0x1a1095[_0x2f283f(0x141)]['routing']);_0x42e741({'apiDomain':_0x34c54d?_0x34c54d[_0x2f283f(0x147)]:_0x1a1095['raw'][_0x2f283f(0x147)]||_0x1a1095[_0x2f283f(0x141)][_0x2f283f(0x131)]||undefined,'userDomain':_0x34c54d?_0x34c54d['userDomain']:_0x1a1095[_0x2f283f(0x141)][_0x2f283f(0x14c)]||undefined,'runtimeDomain':_0x34c54d?_0x34c54d[_0x2f283f(0x159)]:_0x1a1095[_0x2f283f(0x141)][_0x2f283f(0x159)]||undefined,'skillDomain':_0x34c54d?_0x34c54d[_0x2f283f(0x16d)]:_0x1a1095['raw'][_0x2f283f(0x16d)]||_0x1a1095[_0x2f283f(0x141)][_0x2f283f(0x16e)]||_0x1a1095['raw'][_0x2f283f(0x146)]||_0x1a1095['raw'][_0x2f283f(0x155)]||undefined,'kbServiceDomain':_0x34c54d?_0x34c54d[_0x2f283f(0x12a)]:typeof _0x1a1095[_0x2f283f(0x141)]['kbServiceDomain']===_0x2f283f(0x15c)&&_0x1a1095['raw']['kbServiceDomain'][_0x2f283f(0x17e)]()?_0x1a1095[_0x2f283f(0x141)][_0x2f283f(0x12a)]:undefined,'harnessDomain':_0x34c54d?_0x34c54d[_0x2f283f(0x176)]:_0x1a1095[_0x2f283f(0x141)]['harnessDomain']===undefined?undefined:normalizeDomainOrigin(_0x2f283f(0x176),_0x1a1095[_0x2f283f(0x141)]['harnessDomain']),'region':normalizeLovrabetRegion(_0x1a1095[_0x2f283f(0x141)]['region'])});}export function getProjectConfigPath(){const _0x4045ec=a107_0x4c9b4b;return resolveConfigPath(process[_0x4045ec(0x12e)]());}export function getGlobalConfigPath(){return resolveConfigPath(homedir());}export function inspectCliConfigJsonFile(_0x977236){const _0x3bbb7b=a107_0x4c9b4b;if(!existsSync(_0x977236))return{'status':_0x3bbb7b(0x143)};try{const _0x4f64dd=readFileSync(_0x977236,{'encoding':_0x3bbb7b(0x157)});if(!_0x4f64dd?.['trim']())return{'status':_0x3bbb7b(0x14d)};const _0x1fe4d0=JSON['parse'](_0x4f64dd);return{'status':'ok','data':_0x1fe4d0};}catch(_0x54389e){return{'status':_0x3bbb7b(0x136),'message':_0x54389e instanceof Error?_0x54389e[_0x3bbb7b(0x179)]:String(_0x54389e)};}}export function loadRawConfigLayers(_0x18a155){const _0x223278=a107_0x4c9b4b;let _0xc50894={},_0x24830a={},_0x1e8749,_0x4df00c;try{_0x1e8749=resolveConfigPath(homedir());if(_0x1e8749){const _0x47a18d=readFileSync(_0x1e8749,{'encoding':_0x223278(0x157)});if(_0x47a18d)_0xc50894=JSON[_0x223278(0x145)](_0x47a18d);}}catch{}try{const _0x48fc9d=_0x18a155||process[_0x223278(0x12e)]();_0x4df00c=resolveConfigPath(_0x48fc9d);if(_0x4df00c){const _0x2c138c=readFileSync(_0x4df00c,{'encoding':_0x223278(0x157)});if(_0x2c138c)_0x24830a=JSON['parse'](_0x2c138c);}}catch{}return{'globalPath':_0x1e8749,'projectPath':_0x4df00c,'globalConfig':_0xc50894,'projectConfig':_0x24830a};}function mergeRawConfigLayers(_0x327e38){const _0x27b169=a107_0x4c9b4b,{globalConfig:_0x7b0682,projectConfig:_0x268ccd}=_0x327e38,_0x419f5b={..._0x7b0682,..._0x268ccd};delete _0x419f5b[_0x27b169(0x132)];if(_0x27b169(0x153)in _0x268ccd)_0x419f5b[_0x27b169(0x153)]=_0x268ccd[_0x27b169(0x153)];else _0x7b0682[_0x27b169(0x153)]&&(_0x419f5b[_0x27b169(0x153)]=_0x7b0682[_0x27b169(0x153)]);return _0x419f5b;}export function isInProject(){return!!getProjectConfigPath();}export function readRawConfig(_0x1964ce){return mergeRawConfigLayers(loadRawConfigLayers(_0x1964ce));}export function readRawConfigWithLayers(_0x2a583a){const _0x50318e=loadRawConfigLayers(_0x2a583a);return{'config':mergeRawConfigLayers(_0x50318e),'layers':_0x50318e};}export function resolveDefaultAppSource(_0x14f031){const _0x1b37b9=a107_0x4c9b4b;if(_0x1b37b9(0x153)in _0x14f031[_0x1b37b9(0x166)])return _0x1b37b9(0x16c);if(_0x14f031[_0x1b37b9(0x178)][_0x1b37b9(0x153)])return _0x1b37b9(0x165);return null;}function buildConfig(_0x1e6d76,_0x5ad926){const _0xbaab59=a107_0x4c9b4b,_0x3e04e6=mergeRawConfigLayers(_0x1e6d76),{projectConfig:_0x57e879}=_0x1e6d76,_0x115253=_0x3e04e6[_0xbaab59(0x153)]||undefined,_0x2fa1b2=typeof _0x5ad926[_0xbaab59(0x167)]===_0xbaab59(0x15c)?_0x5ad926[_0xbaab59(0x167)]:undefined,_0x1832a9=_0x57e879[_0xbaab59(0x167)]||_0x57e879['app'],_0x39a867=!_0x2fa1b2&&!_0x5ad926[_0xbaab59(0x162)]&&!_0x1832a9&&!_0x57e879[_0xbaab59(0x153)],_0x4e36bc=_0x39a867?env('APPCODE'):undefined,_0x5f19c9=_0x5ad926['app']||(_0x39a867&&!_0x4e36bc?env('APP'):undefined),_0x53abb8=_0x5f19c9||_0x115253||undefined,_0x3820c3=_0x5f19c9||_0x4e36bc?undefined:_0x1832a9||(_0x57e879[_0xbaab59(0x153)]?undefined:_0x3e04e6[_0xbaab59(0x167)]||_0x3e04e6[_0xbaab59(0x162)]||undefined),_0x203348=_0x5f19c9||(_0x3820c3?undefined:_0x115253),_0x22bc58=resolveLocalAppAliasCode(_0x3e04e6,_0x203348),_0x4a3186=productEnvNames(_0xbaab59(0x134))[_0xbaab59(0x13c)](_0x50d376=>process.env[_0x50d376]!==undefined),_0x52d75d=_0x4a3186?process.env[_0x4a3186]:undefined,_0x188588=_0x57e879[_0xbaab59(0x137)]||_0x52d75d||_0x3e04e6['accessKey']||undefined,_0x3eda11=_0x57e879[_0xbaab59(0x137)]?'project\x20config':_0x52d75d?_0x4a3186:_0x3e04e6[_0xbaab59(0x137)]?_0xbaab59(0x12b):undefined,_0x46abd6=_0x5ad926[_0xbaab59(0x151)]||_0x3e04e6[_0xbaab59(0x151)]||env(_0xbaab59(0x144))||DEFAULT_CONFIG_VALUES[_0xbaab59(0x151)],_0x4fff45=normalizeEnv(String(_0x46abd6)),_0x188d8d=isDaily(_0x4fff45)?_0xbaab59(0x174):isDev(_0x4fff45)?_0xbaab59(0x12c):_0xbaab59(0x172),_0x839f55=_0x2fa1b2||_0x4e36bc||_0x3820c3||_0x22bc58?undefined:resolveCachedAppCode(_0x203348,_0x188d8d,_0x188588),_0x4f0354=_0x2fa1b2||_0x4e36bc||_0x3820c3||_0x22bc58||_0x839f55||undefined,_0x300e39=_0x2fa1b2?_0xbaab59(0x15d):_0x4e36bc?_0xbaab59(0x151):_0x3820c3?'top-level':_0x22bc58?_0xbaab59(0x15f):_0x839f55?'cache':undefined,_0x5d6df3=_0x3e04e6[_0xbaab59(0x133)]||DEFAULT_CONFIG_VALUES[_0xbaab59(0x133)],_0x35ef3d=undefined,_0x156b15=_0x5ad926['format']||env(_0xbaab59(0x17d))||_0x3e04e6[_0xbaab59(0x16f)],_0x1ca997=normalizeLegacyOutputFormat(_0x156b15),_0x5bb8e9=env(_0xbaab59(0x17a))||_0x3e04e6[_0xbaab59(0x152)],_0x41c742=_0x5bb8e9?Number(_0x5bb8e9)||undefined:undefined,_0xd898f4=_0x3e04e6[_0xbaab59(0x140)],_0x65b11=_0xd898f4===_0xbaab59(0x168)||_0xd898f4===_0xbaab59(0x12f)||_0xd898f4===_0xbaab59(0x142)?_0xd898f4:DEFAULT_CONFIG_VALUES[_0xbaab59(0x140)],_0x42c0d6=_0x3e04e6[_0xbaab59(0x158)]===!![],_0x5dd010=env('VERBOSE'),_0x1c24ac=_0x5dd010==='1'||_0x5dd010===_0xbaab59(0x154);return{'appCode':typeof _0x4f0354===_0xbaab59(0x15c)&&_0x4f0354['trim']()?_0x4f0354['trim']():undefined,'appCodeSource':_0x300e39,'env':_0x188d8d,'locale':_0x5d6df3,'cookie':_0x35ef3d,'accessKey':_0x188588,'accessKeySource':_0x3eda11,'format':_0x1ca997,'pageSize':_0x41c742,'riskLevel':_0x65b11,'nativeToolAvailable':_0x42c0d6,'verbose':_0x1c24ac,'defaultApp':_0x115253,'currentApp':typeof _0x53abb8===_0xbaab59(0x15c)?_0x53abb8:undefined,'raw':_0x3e04e6};}function env(_0x287993){return productEnv(_0x287993);}async function buildAuth(_0x2c3330){const _0x2e14d5=a107_0x4c9b4b,_0x3709d7='',_0x7b6867=!!_0x2c3330[_0x2e14d5(0x137)];return{'cookie':_0x3709d7,'isLoggedIn':_0x7b6867,async 'getOrLogin'(){const _0x936368=_0x2e14d5;if(_0x7b6867)return _0x3709d7;throw CliErrors[_0x936368(0x15a)]();}};}
1
+ const a107_0x2477f2=a107_0x3bba;(function(_0xaf4d3a,_0x32212e){const _0x12aff0=a107_0x3bba,_0x5802b0=_0xaf4d3a();while(!![]){try{const _0x44c816=parseInt(_0x12aff0(0x9c))/0x1*(parseInt(_0x12aff0(0x90))/0x2)+parseInt(_0x12aff0(0xc0))/0x3+-parseInt(_0x12aff0(0xb6))/0x4*(-parseInt(_0x12aff0(0xc7))/0x5)+-parseInt(_0x12aff0(0x93))/0x6+parseInt(_0x12aff0(0xc6))/0x7*(parseInt(_0x12aff0(0xb4))/0x8)+-parseInt(_0x12aff0(0x8a))/0x9*(-parseInt(_0x12aff0(0xb2))/0xa)+-parseInt(_0x12aff0(0x95))/0xb;if(_0x44c816===_0x32212e)break;else _0x5802b0['push'](_0x5802b0['shift']());}catch(_0x3dac){_0x5802b0['push'](_0x5802b0['shift']());}}}(a107_0xefb6,0x4f614));import{readFileSync,existsSync,mkdirSync,renameSync,unlinkSync,writeFileSync}from'node:fs';import{resolve,dirname}from'node:path';function a107_0x3bba(_0x476d7c,_0x4bc80c){_0x476d7c=_0x476d7c-0x7f;const _0xefb625=a107_0xefb6();let _0x3bba24=_0xefb625[_0x476d7c];return _0x3bba24;}import{homedir}from'node:os';import{logger}from'./utils/logger.js';import{redactCommandArgv}from'./utils/redaction.js';import{CliErrors}from'./errors.js';import{CLI_BIN_NAME}from'./constant/cli.js';import{PRODUCT_CONFIG,productEnv,productEnvNames}from'./constant/product.js';import{DEFAULT_CONFIG_VALUES}from'./constant/defaults.js';import{normalizeEnv,isDaily,isDev}from'./constant/env.js';function a107_0xefb6(){const _0x457836=['EPERM','EXDEV','app','./constant/env.js','isTTY','values','join','runtimeDomain','8901aUdMAn','configFileNames','stdin','object','nonInteractive','error','1215512jHaeAc','trim','pageSize','881532UmOskQ','online','25528151zUkUdH','write','skillHubDomain','message','accessKey','userDomain','harnessDomain','1sjgsZJ','riskLevel','raw','routing','global','missing','locale','apps','production','skillDomain','parse','utf8','cwd','explicit','defaultApp','kbServiceDomain','projectConfig','setRawMode','string','isRaw','format','globalConfig','5410YpcuML','apiDomain','144RTPmkR','local-alias','4652nhJabS','stdout','.tmp','true','PAGE_SIZE','empty','nativeToolAvailable','platformDomain','host','stringify','1663515vOaOvj','cache','ENV','project','agentDomain','env','250089GDCxVW','1945FdTZjY','find','high-risk-write','appCode','setLogPath','code','slice','appcode','./constant/domain.js','development','setRawCommand'];a107_0xefb6=function(){return _0x457836;};return a107_0xefb6();}import{normalizeLegacyOutputFormat}from'./framework/types.js';import{resolveCachedAppCode}from'./commands/app/cache.js';import{normalizeLovrabetRegion}from'./constant/region.js';import{normalizeDomainOrigin,resolveEnterpriseRoutingConfig}from'./config/domain-config.js';export{AUTH_MODE,isAuthMode}from'./constant/auth-mode.js';const CONFIG_NAMES=PRODUCT_CONFIG[a107_0x2477f2(0x8b)];export const NEW_CONFIG_NAME=PRODUCT_CONFIG['newConfigFileName'];function resolveConfigPath(_0x398e84){for(const _0x3067a6 of CONFIG_NAMES){const _0x242e48=resolve(_0x398e84,_0x3067a6);if(existsSync(_0x242e48))return _0x242e48;}return undefined;}export function resolveWriteConfigPath(_0x2f4a29){const _0xeaf3e1=a107_0x2477f2,_0x490e1a=_0x2f4a29===_0xeaf3e1(0xc3)?process[_0xeaf3e1(0xa8)]():homedir(),_0x56a2c1=resolveConfigPath(_0x490e1a);return _0x56a2c1??resolve(_0x490e1a,NEW_CONFIG_NAME);}export function readConfigFile(_0x49006c){const _0x21e0d7=a107_0x2477f2;try{if(existsSync(_0x49006c)){const _0x1509b7=readFileSync(_0x49006c,{'encoding':_0x21e0d7(0xa7)});if(_0x1509b7){const _0x1c25c5=JSON['parse'](_0x1509b7);return migrateOnlineEnv(_0x49006c,_0x1c25c5),_0x1c25c5;}}}catch{}return{};}function migrateOnlineEnv(_0x4617d0,_0x1c930b){const _0x4069d7=a107_0x2477f2;let _0x7a1105=![];_0x1c930b[_0x4069d7(0xc5)]===_0x4069d7(0x94)&&(_0x1c930b[_0x4069d7(0xc5)]=_0x4069d7(0xa4),_0x7a1105=!![]);if(_0x1c930b['apps']&&typeof _0x1c930b[_0x4069d7(0xa3)]===_0x4069d7(0x8d))for(const _0x23c315 of Object[_0x4069d7(0x87)](_0x1c930b[_0x4069d7(0xa3)])){_0x23c315&&_0x23c315['env']==='online'&&(_0x23c315[_0x4069d7(0xc5)]='production',_0x7a1105=!![]);}if(_0x7a1105)try{writeConfigFile(_0x4617d0,_0x1c930b);}catch{}}export function writeConfigFile(_0x25dc6a,_0x34573e){const _0x2d2845=a107_0x2477f2,_0xaa8688=dirname(_0x25dc6a);!existsSync(_0xaa8688)&&mkdirSync(_0xaa8688,{'recursive':!![]});const _0x3ec359=_0x25dc6a+_0x2d2845(0xb8);try{writeFileSync(_0x3ec359,JSON['stringify'](_0x34573e,null,0x2)+'\x0a',{'encoding':_0x2d2845(0xa7),'mode':0x180});try{renameSync(_0x3ec359,_0x25dc6a);}catch(_0x3c7f73){if(_0x3c7f73[_0x2d2845(0xcc)]===_0x2d2845(0x82)||_0x3c7f73['code']===_0x2d2845(0x83)||_0x3c7f73[_0x2d2845(0xcc)]==='EACCES'){writeFileSync(_0x25dc6a,JSON[_0x2d2845(0xbf)](_0x34573e,null,0x2)+'\x0a',{'encoding':_0x2d2845(0xa7)});try{unlinkSync(_0x3ec359);}catch{}}else throw _0x3c7f73;}}catch(_0x46a6a4){try{unlinkSync(_0x3ec359);}catch{}throw _0x46a6a4;}}export function isNonInteractiveMode(_0x294c96){const _0x4a826f=a107_0x2477f2;return!!(_0x294c96[_0x4a826f(0x8e)]||_0x294c96['ci']||productEnvNames('CI')['some'](_0x5ded2b=>process.env[_0x5ded2b]===_0x4a826f(0xb9))||process.env.CI==='true'||!process[_0x4a826f(0xb7)][_0x4a826f(0x86)]||!isStdinRawModeSupported());}function isStdinRawModeSupported(){const _0xbf8622=a107_0x2477f2;if(!process[_0xbf8622(0x8c)][_0xbf8622(0x86)])return![];try{const _0x58d82e=process[_0xbf8622(0x8c)][_0xbf8622(0xaf)];return process['stdin'][_0xbf8622(0xad)](!![]),process[_0xbf8622(0x8c)][_0xbf8622(0xad)](_0x58d82e??![]),!![];}catch{return![];}}export async function createContext(_0x3d0dad){const _0xcbc421=a107_0x2477f2,_0x3f178a=buildConfigFromFlags(_0x3d0dad);await initGlobalEnvironment(_0x3f178a);const {getUserDomain:_0x154729,getApiDomain:_0xc42829}=await import(_0xcbc421(0x7f)),_0x26b6de={'apiDomain':_0xc42829(),'userDomain':_0x154729()},_0x276600=await buildAuth(_0x3f178a);logger[_0xcbc421(0xcb)](process[_0xcbc421(0xa8)]());const _0x30a00b=(CLI_BIN_NAME+'\x20'+redactCommandArgv(process['argv'][_0xcbc421(0xcd)](0x2))[_0xcbc421(0x88)]('\x20'))[_0xcbc421(0x91)]();logger[_0xcbc421(0x81)](_0x30a00b);const _0x190a03=isNonInteractiveMode(_0x3d0dad);return{'config':_0x3f178a,'auth':_0x276600,'logger':logger,'env':_0x26b6de,'nonInteractive':_0x190a03};}export function buildConfigFromFlags(_0x59c9f7){return buildConfig(loadRawConfigLayers(),_0x59c9f7);}export function getLocalAppAliases(_0x4ccff8){const _0x50366=a107_0x2477f2;return _0x4ccff8[_0x50366(0xa3)]&&typeof _0x4ccff8[_0x50366(0xa3)]===_0x50366(0x8d)?_0x4ccff8[_0x50366(0xa3)]:{};}export function resolveLocalAppAliasCode(_0x2413d2,_0x367b47){const _0x1fb66f=a107_0x2477f2;if(!_0x367b47)return undefined;const _0x428645=getLocalAppAliases(_0x2413d2)[_0x367b47],_0xa85a30=_0x428645?.[_0x1fb66f(0xce)];return typeof _0xa85a30===_0x1fb66f(0xae)&&_0xa85a30[_0x1fb66f(0x91)]()?_0xa85a30['trim']():undefined;}export function readAppCodeFromConfig(){const _0x30091c=a107_0x2477f2;return buildConfigFromFlags({})[_0x30091c(0xca)];}export function readScopedConfig(_0x30fc86){const _0x1c5222=a107_0x2477f2,_0x2a907a=_0x30fc86['global']?_0x1c5222(0xa0):_0x1c5222(0xc3);return readConfigFile(resolveWriteConfigPath(_0x2a907a));}export function writeScopedConfig(_0x32ca88,_0x10695b){const _0x3bbbc0=a107_0x2477f2,_0x1018f2=_0x10695b['global']?'global':_0x3bbbc0(0xc3);writeConfigFile(resolveWriteConfigPath(_0x1018f2),_0x32ca88);}export async function initGlobalEnvironment(_0x5ba5e4){const _0x38e37a=a107_0x2477f2,{initEnv:_0x2459ac}=await import(_0x38e37a(0x85));_0x2459ac(_0x5ba5e4[_0x38e37a(0xc5)]);const {initDomains:_0x5ac3b2}=await import(_0x38e37a(0x7f)),_0x488588=resolveEnterpriseRoutingConfig(_0x5ba5e4[_0x38e37a(0x9e)][_0x38e37a(0x9f)]);_0x5ac3b2({'apiDomain':_0x488588?_0x488588[_0x38e37a(0xb3)]:_0x5ba5e4['raw'][_0x38e37a(0xb3)]||_0x5ba5e4['raw'][_0x38e37a(0xbe)]||undefined,'userDomain':_0x488588?_0x488588['userDomain']:_0x5ba5e4[_0x38e37a(0x9e)][_0x38e37a(0x9a)]||undefined,'runtimeDomain':_0x488588?_0x488588[_0x38e37a(0x89)]:_0x5ba5e4[_0x38e37a(0x9e)][_0x38e37a(0x89)]||undefined,'skillDomain':_0x488588?_0x488588['skillDomain']:_0x5ba5e4['raw'][_0x38e37a(0xa5)]||_0x5ba5e4[_0x38e37a(0x9e)][_0x38e37a(0x97)]||_0x5ba5e4[_0x38e37a(0x9e)][_0x38e37a(0xc4)]||_0x5ba5e4[_0x38e37a(0x9e)][_0x38e37a(0xbd)]||undefined,'kbServiceDomain':_0x488588?_0x488588[_0x38e37a(0xab)]:typeof _0x5ba5e4[_0x38e37a(0x9e)]['kbServiceDomain']===_0x38e37a(0xae)&&_0x5ba5e4[_0x38e37a(0x9e)]['kbServiceDomain']['trim']()?_0x5ba5e4[_0x38e37a(0x9e)][_0x38e37a(0xab)]:undefined,'harnessDomain':_0x488588?_0x488588['harnessDomain']:_0x5ba5e4[_0x38e37a(0x9e)]['harnessDomain']===undefined?undefined:normalizeDomainOrigin('harnessDomain',_0x5ba5e4[_0x38e37a(0x9e)][_0x38e37a(0x9b)]),'region':normalizeLovrabetRegion(_0x5ba5e4[_0x38e37a(0x9e)]['region'])});}export function getProjectConfigPath(){const _0x4b46e1=a107_0x2477f2;return resolveConfigPath(process[_0x4b46e1(0xa8)]());}export function getGlobalConfigPath(){return resolveConfigPath(homedir());}export function inspectCliConfigJsonFile(_0x3691f9){const _0x5ddec7=a107_0x2477f2;if(!existsSync(_0x3691f9))return{'status':_0x5ddec7(0xa1)};try{const _0xc975ec=readFileSync(_0x3691f9,{'encoding':_0x5ddec7(0xa7)});if(!_0xc975ec?.[_0x5ddec7(0x91)]())return{'status':_0x5ddec7(0xbb)};const _0x21b123=JSON[_0x5ddec7(0xa6)](_0xc975ec);return{'status':'ok','data':_0x21b123};}catch(_0x2ef2f1){return{'status':_0x5ddec7(0x8f),'message':_0x2ef2f1 instanceof Error?_0x2ef2f1[_0x5ddec7(0x98)]:String(_0x2ef2f1)};}}export function loadRawConfigLayers(_0x197144){const _0x2197aa=a107_0x2477f2;let _0x271aa7={},_0x5f20cb={},_0x28b01b,_0x8cda97;try{_0x28b01b=resolveConfigPath(homedir());if(_0x28b01b){const _0x4823c3=readFileSync(_0x28b01b,{'encoding':_0x2197aa(0xa7)});if(_0x4823c3)_0x271aa7=JSON[_0x2197aa(0xa6)](_0x4823c3);}}catch{}try{const _0x5eec75=_0x197144||process[_0x2197aa(0xa8)]();_0x8cda97=resolveConfigPath(_0x5eec75);if(_0x8cda97){const _0x85ad1e=readFileSync(_0x8cda97,{'encoding':_0x2197aa(0xa7)});if(_0x85ad1e)_0x5f20cb=JSON['parse'](_0x85ad1e);}}catch{}return{'globalPath':_0x28b01b,'projectPath':_0x8cda97,'globalConfig':_0x271aa7,'projectConfig':_0x5f20cb};}function mergeRawConfigLayers(_0x3827bc){const _0x286f42=a107_0x2477f2,{globalConfig:_0xb936b1,projectConfig:_0x1e7a53}=_0x3827bc,_0x57656c={..._0xb936b1,..._0x1e7a53};delete _0x57656c['inherit'];if(_0x286f42(0xaa)in _0x1e7a53)_0x57656c[_0x286f42(0xaa)]=_0x1e7a53[_0x286f42(0xaa)];else _0xb936b1[_0x286f42(0xaa)]&&(_0x57656c[_0x286f42(0xaa)]=_0xb936b1[_0x286f42(0xaa)]);return _0x57656c;}export function isInProject(){return!!getProjectConfigPath();}export function readRawConfig(_0x21a2a5){return mergeRawConfigLayers(loadRawConfigLayers(_0x21a2a5));}export function readRawConfigWithLayers(_0x41c735){const _0xd93784=loadRawConfigLayers(_0x41c735);return{'config':mergeRawConfigLayers(_0xd93784),'layers':_0xd93784};}export function resolveDefaultAppSource(_0x569c4d){const _0x2eafb4=a107_0x2477f2;if('defaultApp'in _0x569c4d[_0x2eafb4(0xac)])return'project';if(_0x569c4d[_0x2eafb4(0xb1)]['defaultApp'])return _0x2eafb4(0xa0);return null;}function buildConfig(_0x57bf03,_0x44a57b){const _0x36242f=a107_0x2477f2,_0x40bab4=mergeRawConfigLayers(_0x57bf03),{projectConfig:_0x3cff0c}=_0x57bf03,_0x42f0cb=_0x40bab4[_0x36242f(0xaa)]||undefined,_0x2b2cfc=typeof _0x44a57b['appcode']===_0x36242f(0xae)?_0x44a57b['appcode']:undefined,_0x5116cd=_0x3cff0c['appcode']||_0x3cff0c[_0x36242f(0x84)],_0xce8da5=!_0x2b2cfc&&!_0x44a57b[_0x36242f(0x84)]&&!_0x5116cd&&!_0x3cff0c[_0x36242f(0xaa)],_0x2767ea=_0xce8da5?env('APPCODE'):undefined,_0x303e14=_0x44a57b[_0x36242f(0x84)]||(_0xce8da5&&!_0x2767ea?env('APP'):undefined),_0x3a8415=_0x303e14||_0x42f0cb||undefined,_0x41427e=_0x303e14||_0x2767ea?undefined:_0x5116cd||(_0x3cff0c['defaultApp']?undefined:_0x40bab4[_0x36242f(0xce)]||_0x40bab4[_0x36242f(0x84)]||undefined),_0x486ad9=_0x303e14||(_0x41427e?undefined:_0x42f0cb),_0x419450=resolveLocalAppAliasCode(_0x40bab4,_0x486ad9),_0x5eae5e=productEnvNames('ACCESS_KEY')[_0x36242f(0xc8)](_0x279560=>process.env[_0x279560]!==undefined),_0x522ee2=_0x5eae5e?process.env[_0x5eae5e]:undefined,_0x57eee4=_0x3cff0c['accessKey']||_0x522ee2||_0x40bab4[_0x36242f(0x99)]||undefined,_0x317471=_0x3cff0c['accessKey']?'project\x20config':_0x522ee2?_0x5eae5e:_0x40bab4['accessKey']?'global\x20config':undefined,_0x2a55f7=_0x44a57b[_0x36242f(0xc5)]||_0x40bab4['env']||env(_0x36242f(0xc2))||DEFAULT_CONFIG_VALUES[_0x36242f(0xc5)],_0x47eb90=normalizeEnv(String(_0x2a55f7)),_0x194653=isDaily(_0x47eb90)?'daily':isDev(_0x47eb90)?_0x36242f(0x80):_0x36242f(0xa4),_0x42aff4=_0x2b2cfc||_0x2767ea||_0x41427e||_0x419450?undefined:resolveCachedAppCode(_0x486ad9,_0x194653,_0x57eee4),_0x139df5=_0x2b2cfc||_0x2767ea||_0x41427e||_0x419450||_0x42aff4||undefined,_0x50190c=_0x2b2cfc?_0x36242f(0xa9):_0x2767ea?_0x36242f(0xc5):_0x41427e?'top-level':_0x419450?_0x36242f(0xb5):_0x42aff4?_0x36242f(0xc1):undefined,_0x57a54b=_0x40bab4['locale']||DEFAULT_CONFIG_VALUES[_0x36242f(0xa2)],_0x2a9377=undefined,_0x23fd05=_0x44a57b[_0x36242f(0xb0)]||env('FORMAT')||_0x40bab4[_0x36242f(0xb0)],_0x15d4cd=normalizeLegacyOutputFormat(_0x23fd05),_0x4bde6b=env(_0x36242f(0xba))||_0x40bab4[_0x36242f(0x92)],_0x5375ff=_0x4bde6b?Number(_0x4bde6b)||undefined:undefined,_0x20cbfe=_0x40bab4[_0x36242f(0x9d)],_0x33567c=_0x20cbfe==='read'||_0x20cbfe===_0x36242f(0x96)||_0x20cbfe===_0x36242f(0xc9)?_0x20cbfe:DEFAULT_CONFIG_VALUES['riskLevel'],_0x9a1dc7=_0x40bab4[_0x36242f(0xbc)]===!![],_0x3997bd=env('VERBOSE'),_0x3215a9=_0x3997bd==='1'||_0x3997bd===_0x36242f(0xb9);return{'appCode':typeof _0x139df5===_0x36242f(0xae)&&_0x139df5[_0x36242f(0x91)]()?_0x139df5[_0x36242f(0x91)]():undefined,'appCodeSource':_0x50190c,'env':_0x194653,'locale':_0x57a54b,'cookie':_0x2a9377,'accessKey':_0x57eee4,'accessKeySource':_0x317471,'format':_0x15d4cd,'pageSize':_0x5375ff,'riskLevel':_0x33567c,'nativeToolAvailable':_0x9a1dc7,'verbose':_0x3215a9,'defaultApp':_0x42f0cb,'currentApp':typeof _0x3a8415===_0x36242f(0xae)?_0x3a8415:undefined,'raw':_0x40bab4};}function env(_0x66492b){return productEnv(_0x66492b);}async function buildAuth(_0x319186){const _0x28c023=a107_0x2477f2,_0x4b3402='',_0x48b31c=!!_0x319186[_0x28c023(0x99)];return{'cookie':_0x4b3402,'isLoggedIn':_0x48b31c,async 'getOrLogin'(){if(_0x48b31c)return _0x4b3402;throw CliErrors['authRequired']();}};}
@@ -33,8 +33,9 @@ export type SqlListResult = DataList<SqlQuery>;
33
33
  * handle both shapes.
34
34
  */
35
35
  export declare function getSqlQueryInfo(appCode: string, sqlCode: string): Promise<SqlQuery>;
36
+ export type RuntimeArtifactType = "react_module" | "react_page";
36
37
  export interface RuntimeArtifactUpsertInput {
37
- artifactType: "react_module";
38
+ artifactType: RuntimeArtifactType;
38
39
  name?: string;
39
40
  content: string;
40
41
  metadata?: Record<string, unknown>;
@@ -330,7 +331,7 @@ export type NotificationChannelType = "EMAIL" | "FEISHU" | "DINGTALK" | "WECOM"
330
331
  /** Lists app-level notification configs without using the development Cookie flow. */
331
332
  export declare function listNotificationChannelConfigs(appCode: string, channelType: NotificationChannelType): Promise<NotificationChannelConfigItem[]>;
332
333
  export declare function listRuntimeArtifacts(appCode: string, options?: {
333
- artifactType?: string;
334
+ artifactType?: RuntimeArtifactType;
334
335
  source?: string;
335
336
  favorite?: boolean;
336
337
  }): Promise<RuntimeArtifactItem[]>;