@lovrabet/lovrabet-cli 2.3.10-beta.1 → 2.3.10-beta.3

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 (195) 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.js +1 -1
  13. package/lib/commands/auth/device.js +1 -1
  14. package/lib/commands/auth/index.js +1 -1
  15. package/lib/commands/auth/prompt.js +1 -1
  16. package/lib/commands/bff/detail.js +1 -1
  17. package/lib/commands/bff/exec.js +1 -1
  18. package/lib/commands/bff/index.js +1 -1
  19. package/lib/commands/cli-skill/index.js +1 -1
  20. package/lib/commands/common/config-policy.js +1 -1
  21. package/lib/commands/common/constraints.js +1 -1
  22. package/lib/commands/common/flags.js +1 -1
  23. package/lib/commands/common/local-file.js +1 -1
  24. package/lib/commands/config/definitions.js +1 -1
  25. package/lib/commands/config/init.d.ts +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.d.ts +1 -1
  96. package/lib/config/domain-config.js +1 -1
  97. package/lib/config/schema.d.ts +1 -1
  98. package/lib/config/schema.js +1 -1
  99. package/lib/constant/app.js +1 -1
  100. package/lib/constant/auth-mode.js +1 -1
  101. package/lib/constant/cli.js +1 -1
  102. package/lib/constant/defaults.js +1 -1
  103. package/lib/constant/distribution.js +1 -1
  104. package/lib/constant/domain.d.ts +5 -1
  105. package/lib/constant/domain.js +1 -1
  106. package/lib/constant/env.js +1 -1
  107. package/lib/constant/output.js +1 -1
  108. package/lib/constant/product.js +1 -1
  109. package/lib/constant/region.js +1 -1
  110. package/lib/constant/risk.js +1 -1
  111. package/lib/constant/url.js +1 -1
  112. package/lib/context.js +1 -1
  113. package/lib/core/api-client.js +1 -1
  114. package/lib/core/db-resolver.js +1 -1
  115. package/lib/core/kb-management-client.js +1 -1
  116. package/lib/core/kb-sdk-errors.js +1 -1
  117. package/lib/core/kb-search-client.js +1 -1
  118. package/lib/core/sdk-client.js +1 -1
  119. package/lib/errors.js +1 -1
  120. package/lib/framework/access-error.js +1 -1
  121. package/lib/framework/build-all-flags.js +1 -1
  122. package/lib/framework/dryrun.js +1 -1
  123. package/lib/framework/flags.js +1 -1
  124. package/lib/framework/help.js +1 -1
  125. package/lib/framework/index.js +1 -1
  126. package/lib/framework/output.js +1 -1
  127. package/lib/framework/preparse.js +1 -1
  128. package/lib/framework/rate-limit.js +1 -1
  129. package/lib/framework/raw-flags.js +1 -1
  130. package/lib/framework/response.js +1 -1
  131. package/lib/framework/runner-confirmation.js +1 -1
  132. package/lib/framework/runner-error.js +1 -1
  133. package/lib/framework/runner.js +1 -1
  134. package/lib/framework/schema-export.js +1 -1
  135. package/lib/framework/service-order.js +1 -1
  136. package/lib/framework/types.js +1 -1
  137. package/lib/generated/build-info.d.ts +4 -4
  138. package/lib/generated/build-info.js +1 -1
  139. package/lib/generated/official-routing.d.ts +6 -1
  140. package/lib/generated/official-routing.js +1 -1
  141. package/lib/generated/routing-contract.d.ts +3 -3
  142. package/lib/generated/routing-contract.js +1 -1
  143. package/lib/help.js +1 -1
  144. package/lib/postinstall.js +1 -1
  145. package/lib/runtime/confirmation.js +1 -1
  146. package/lib/runtime/event.js +1 -1
  147. package/lib/runtime/index.js +1 -1
  148. package/lib/runtime/queue.js +1 -1
  149. package/lib/runtime/resolve.js +1 -1
  150. package/lib/services/dataset-import/auto-id-runner.js +1 -1
  151. package/lib/services/dataset-import/excel-reader.js +1 -1
  152. package/lib/services/dataset-import/image-bytes.js +1 -1
  153. package/lib/services/dataset-import/image-ooxml.js +1 -1
  154. package/lib/services/dataset-import/image-runner.js +1 -1
  155. package/lib/services/dataset-import/metadata.js +1 -1
  156. package/lib/services/dataset-import/preview.js +1 -1
  157. package/lib/services/dataset-import/runner.js +1 -1
  158. package/lib/skills/builtin-skill.js +1 -1
  159. package/lib/skills/npx-skills-add.js +1 -1
  160. package/lib/skills/runtime-skill-sync/constants.js +1 -1
  161. package/lib/skills/runtime-skill-sync/fs-utils.js +1 -1
  162. package/lib/skills/runtime-skill-sync/hashing.js +1 -1
  163. package/lib/skills/runtime-skill-sync/install-target.js +1 -1
  164. package/lib/skills/runtime-skill-sync/links.js +1 -1
  165. package/lib/skills/runtime-skill-sync/list-local.js +1 -1
  166. package/lib/skills/runtime-skill-sync/local-files.js +1 -1
  167. package/lib/skills/runtime-skill-sync/materialize.js +1 -1
  168. package/lib/skills/runtime-skill-sync/metadata.js +1 -1
  169. package/lib/skills/runtime-skill-sync/paths.js +1 -1
  170. package/lib/skills/runtime-skill-sync/push.js +1 -1
  171. package/lib/skills/runtime-skill-sync/scopes.js +1 -1
  172. package/lib/skills/runtime-skill-sync/zip-codec.js +1 -1
  173. package/lib/skills/runtime-skill-sync/zip-package.js +1 -1
  174. package/lib/skills/runtime-skill-sync.js +1 -1
  175. package/lib/skills/skill-presence.js +1 -1
  176. package/lib/utils/access-key-redaction.js +1 -1
  177. package/lib/utils/apply-jq-filter.js +1 -1
  178. package/lib/utils/cli-version-check.js +1 -1
  179. package/lib/utils/cli-version-policy.js +1 -1
  180. package/lib/utils/logger.js +1 -1
  181. package/lib/utils/lossless-json.js +1 -1
  182. package/lib/utils/params.js +1 -1
  183. package/lib/utils/positive-safe-integer.js +1 -1
  184. package/lib/utils/redaction.js +1 -1
  185. package/lib/utils/runtime-user-id.js +1 -1
  186. package/lib/utils/update-notice.js +1 -1
  187. package/lib/utils/version.js +1 -1
  188. package/lib/utils/write-cli-side-channel.js +1 -1
  189. package/package.json +1 -1
  190. package/skills/lovrabet/SKILL.md +1 -1
  191. package/skills/lovrabet/references/lovrabet-config-commands.md +17 -33
  192. package/skills/lovrabet/references/lovrabet-config.md +11 -3
  193. package/skills/lovrabet/references/lovrabet-doctor.md +1 -1
  194. package/skills/lovrabet/references/lovrabet-kb-workflow.md +4 -4
  195. package/skills/lovrabet.manifest.json +3 -3
@@ -1 +1 @@
1
- const a94_0x3ec0c5=a94_0x274c;(function(_0x238eee,_0xd8cdc6){const _0x45ecc0=a94_0x274c,_0x1ada29=_0x238eee();while(!![]){try{const _0x2fc29a=parseInt(_0x45ecc0(0x120))/0x1+parseInt(_0x45ecc0(0x11f))/0x2+parseInt(_0x45ecc0(0x139))/0x3+-parseInt(_0x45ecc0(0x128))/0x4+-parseInt(_0x45ecc0(0x125))/0x5*(parseInt(_0x45ecc0(0x11e))/0x6)+parseInt(_0x45ecc0(0x12d))/0x7+-parseInt(_0x45ecc0(0x130))/0x8*(parseInt(_0x45ecc0(0x132))/0x9);if(_0x2fc29a===_0xd8cdc6)break;else _0x1ada29['push'](_0x1ada29['shift']());}catch(_0x3524f7){_0x1ada29['push'](_0x1ada29['shift']());}}}(a94_0x2e50,0xe17d6));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_0x3ec0c5(0x115),'topLevel':!![],'cliSettableTopLevel':!![],'enumValues':ENABLED_LOVRABET_REGION_VALUES,'defaultValue':DEFAULT_LOVRABET_REGION,'importable':!![]},'env':{'description':a94_0x3ec0c5(0x121),'topLevel':!![],'cliSettableTopLevel':!![],'enumValues':RUNTIME_ENV_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES[a94_0x3ec0c5(0x11a)],'importable':!![]},'format':{'description':'Default\x20output\x20format','topLevel':!![],'cliSettableTopLevel':!![],'enumValues':OUTPUT_FORMAT_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES[a94_0x3ec0c5(0x136)],'importable':!![]},'pageSize':{'description':a94_0x3ec0c5(0x116),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'apiDomain':{'description':a94_0x3ec0c5(0x12b),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'userDomain':{'description':a94_0x3ec0c5(0x118),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'runtimeDomain':{'description':a94_0x3ec0c5(0x12f),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'skillDomain':{'description':a94_0x3ec0c5(0x117),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'kbServiceDomain':{'description':a94_0x3ec0c5(0x13b),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'accessKey':{'description':a94_0x3ec0c5(0x11b),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'riskLevel':{'description':a94_0x3ec0c5(0x137),'topLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES[a94_0x3ec0c5(0x138)],'importable':!![]},'nativeToolAvailable':{'description':a94_0x3ec0c5(0x12a),'topLevel':!![],'defaultValue':![]},'locale':{'description':a94_0x3ec0c5(0x11d),'topLevel':!![],'cliSettableTopLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES['locale'],'importable':!![]}};export const TOP_LEVEL_CONFIG_KEYS=new Set(Object[a94_0x3ec0c5(0x13a)](CONFIG_FIELD_SCHEMAS)[a94_0x3ec0c5(0x11c)](([,_0x2e18e6])=>_0x2e18e6[a94_0x3ec0c5(0x119)])['map'](([_0x3b2c73])=>_0x3b2c73));export const CLI_PROTECTED_CONFIG_KEYS=new Set([a94_0x3ec0c5(0x138),a94_0x3ec0c5(0x12e)]);function a94_0x2e50(){const _0x3937e3=['Target\x20environment','Config\x20key.\x20Top-level:\x20','join',';\x20local\x20alias:\x20apps.<alias>.appcode','41980qFZpJX','fromEntries','legacyCompatOnly','848612MNSiTT','en-US','Native\x20Lovrabet\x20tool\x20availability\x20in\x20the\x20current\x20execution\x20host','Override\x20API\x20domain','toLowerCase','5112387AesRiW','nativeToolAvailable','Override\x20runtime\x20domain','532872kWPzWD','map','189uOHrrY','enumValues','has','zh-CN','format','Risk\x20level','riskLevel','79932bAqTod','entries','Override\x20KB\x20Service\x20domain','Lovrabet\x20region','Default\x20page\x20size','Override\x20SkillHub\x20domain','Override\x20user\x20domain','cliSettableTopLevel','env','Access\x20key\x20(client-ak\x20auth)','filter','App\x20locale\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)','1224umokkm','3341670twKRoY','1819512CBzHek'];a94_0x2e50=function(){return _0x3937e3;};return a94_0x2e50();}export const CONFIG_ENUM_VALUES=Object[a94_0x3ec0c5(0x126)](Object['entries'](CONFIG_FIELD_SCHEMAS)[a94_0x3ec0c5(0x11c)](([,_0x427196])=>_0x427196[a94_0x3ec0c5(0x133)])[a94_0x3ec0c5(0x131)](([_0x3587b6,_0x5d397c])=>[_0x3587b6,[..._0x5d397c[a94_0x3ec0c5(0x133)]||[]]]));export const IMPORTABLE_RUNTIME_CONFIG_KEYS=Object['entries'](CONFIG_FIELD_SCHEMAS)[a94_0x3ec0c5(0x11c)](([,_0x3a8c1a])=>_0x3a8c1a['importable'])['map'](([_0x226093])=>_0x226093);function a94_0x274c(_0x3114f0,_0x49df5f){_0x3114f0=_0x3114f0-0x115;const _0x2e507d=a94_0x2e50();let _0x274c74=_0x2e507d[_0x3114f0];return _0x274c74;}export function getConfigFieldSchema(_0x4ea4bf){return CONFIG_FIELD_SCHEMAS[_0x4ea4bf];}export function getConfigEnumValues(_0x242309){const _0x3b528d=a94_0x3ec0c5;return getConfigFieldSchema(_0x242309)?.[_0x3b528d(0x133)];}export function getConfigDefaultValue(_0x28831e){return getConfigFieldSchema(_0x28831e)?.['defaultValue'];}export function isTopLevelConfigKey(_0x19fb70){const _0x5d0114=a94_0x3ec0c5;return TOP_LEVEL_CONFIG_KEYS[_0x5d0114(0x134)](_0x19fb70);}export function isCliProtectedConfigKey(_0x5db1af){const _0x4f2ffa=a94_0x3ec0c5;return CLI_PROTECTED_CONFIG_KEYS[_0x4f2ffa(0x134)](_0x5db1af);}const LOCALE_MAP={'zh':a94_0x3ec0c5(0x135),'zh-cn':'zh-CN','zh_cn':a94_0x3ec0c5(0x135),'en':a94_0x3ec0c5(0x129),'en-us':'en-US','en_us':'en-US'};export function normalizeLocale(_0x4d25d0){const _0x1c5a77=a94_0x3ec0c5;if(!_0x4d25d0)return null;return LOCALE_MAP[_0x4d25d0[_0x1c5a77(0x12c)]()]??null;}export function isLegacyCompatConfigKey(_0x25b67d){const _0x5def29=a94_0x3ec0c5;return getConfigFieldSchema(_0x25b67d)?.[_0x5def29(0x127)]===!![];}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function formatConfigKeyList(_0x8c3176){const _0x5590ef=a94_0x3ec0c5;return[..._0x8c3176][_0x5590ef(0x123)](',\x20');}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x45c538=a94_0x3ec0c5;return _0x45c538(0x122)+getTopLevelConfigKeySummary()+_0x45c538(0x124);}export function buildAppProfileListFields(_0x547a30){return{'env':_0x547a30,'hasAccessKey':![],'format':null,'pageSize':null,'riskLevel':null,'locale':null};}
1
+ const a94_0x36a1a3=a94_0x3f23;(function(_0x3701e9,_0x1a4643){const _0x5a8aee=a94_0x3f23,_0x4d4bcc=_0x3701e9();while(!![]){try{const _0xe20076=-parseInt(_0x5a8aee(0x1af))/0x1*(parseInt(_0x5a8aee(0x1a0))/0x2)+parseInt(_0x5a8aee(0x1c3))/0x3*(-parseInt(_0x5a8aee(0x1a3))/0x4)+-parseInt(_0x5a8aee(0x1b9))/0x5*(parseInt(_0x5a8aee(0x1b5))/0x6)+-parseInt(_0x5a8aee(0x1b7))/0x7*(parseInt(_0x5a8aee(0x1b2))/0x8)+parseInt(_0x5a8aee(0x19f))/0x9*(-parseInt(_0x5a8aee(0x19e))/0xa)+-parseInt(_0x5a8aee(0x1a1))/0xb+parseInt(_0x5a8aee(0x1bc))/0xc;if(_0xe20076===_0x1a4643)break;else _0x4d4bcc['push'](_0x4d4bcc['shift']());}catch(_0xc6eab){_0x4d4bcc['push'](_0x4d4bcc['shift']());}}}(a94_0xfe91,0x90039));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':a94_0x36a1a3(0x1a5),'topLevel':!![]},'region':{'description':a94_0x36a1a3(0x1a9),'topLevel':!![],'cliSettableTopLevel':!![],'enumValues':ENABLED_LOVRABET_REGION_VALUES,'defaultValue':DEFAULT_LOVRABET_REGION,'importable':!![]},'env':{'description':'Target\x20environment','topLevel':!![],'cliSettableTopLevel':!![],'enumValues':RUNTIME_ENV_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES[a94_0x36a1a3(0x1ad)],'importable':!![]},'format':{'description':a94_0x36a1a3(0x1b8),'topLevel':!![],'cliSettableTopLevel':!![],'enumValues':OUTPUT_FORMAT_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES[a94_0x36a1a3(0x1c2)],'importable':!![]},'pageSize':{'description':a94_0x36a1a3(0x1a6),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'apiDomain':{'description':a94_0x36a1a3(0x1b4),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'userDomain':{'description':a94_0x36a1a3(0x1c1),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'runtimeDomain':{'description':'Override\x20runtime\x20domain','topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'skillDomain':{'description':a94_0x36a1a3(0x1a4),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'kbServiceDomain':{'description':a94_0x36a1a3(0x1a2),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'harnessDomain':{'description':a94_0x36a1a3(0x1bf),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'accessKey':{'description':a94_0x36a1a3(0x1b1),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'riskLevel':{'description':a94_0x36a1a3(0x1b3),'topLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES['riskLevel'],'importable':!![]},'nativeToolAvailable':{'description':a94_0x36a1a3(0x1a8),'topLevel':!![],'defaultValue':![]},'locale':{'description':a94_0x36a1a3(0x1ae),'topLevel':!![],'cliSettableTopLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES['locale'],'importable':!![]}};export const TOP_LEVEL_CONFIG_KEYS=new Set(Object[a94_0x36a1a3(0x1a7)](CONFIG_FIELD_SCHEMAS)['filter'](([,_0x2beca3])=>_0x2beca3['cliSettableTopLevel'])[a94_0x36a1a3(0x19d)](([_0x278dec])=>_0x278dec));function a94_0x3f23(_0x266484,_0x5c3e8d){_0x266484=_0x266484-0x19d;const _0xfe9155=a94_0xfe91();let _0x3f23fc=_0xfe9155[_0x266484];return _0x3f23fc;}function a94_0xfe91(){const _0x111f2f=['env','App\x20locale\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)','1XWFAaK','Config\x20key.\x20Top-level:\x20','Access\x20key\x20(client-ak\x20auth)','826728UeEvLi','Risk\x20level','Override\x20API\x20domain','785496ndIbYG','nativeToolAvailable','14LHRClf','Default\x20output\x20format','40qIGxBP',';\x20local\x20alias:\x20apps.<alias>.appcode','join','45857448SPxmNJ','filter','en-US','Override\x20Harness\x20domain','enumValues','Override\x20user\x20domain','format','3EltaQt','zh-CN','map','50NaXLWL','748989aokusj','424780AbNdWX','6389383EdBuEx','Override\x20KB\x20Service\x20domain','3072860NDWidD','Override\x20SkillHub\x20domain','Versioned\x20enterprise\x20routing\x20manifest','Default\x20page\x20size','entries','Native\x20Lovrabet\x20tool\x20availability\x20in\x20the\x20current\x20execution\x20host','Lovrabet\x20region','riskLevel','toLowerCase','has'];a94_0xfe91=function(){return _0x111f2f;};return a94_0xfe91();}export const CLI_PROTECTED_CONFIG_KEYS=new Set([a94_0x36a1a3(0x1aa),a94_0x36a1a3(0x1b6)]);export const CONFIG_ENUM_VALUES=Object['fromEntries'](Object[a94_0x36a1a3(0x1a7)](CONFIG_FIELD_SCHEMAS)[a94_0x36a1a3(0x1bd)](([,_0x483157])=>_0x483157[a94_0x36a1a3(0x1c0)])['map'](([_0x451c91,_0x56a7c1])=>[_0x451c91,[..._0x56a7c1['enumValues']||[]]]));export const IMPORTABLE_RUNTIME_CONFIG_KEYS=Object['entries'](CONFIG_FIELD_SCHEMAS)[a94_0x36a1a3(0x1bd)](([,_0x527e97])=>_0x527e97['importable'])['map'](([_0x59cec7])=>_0x59cec7);export function getConfigFieldSchema(_0x3338ac){return CONFIG_FIELD_SCHEMAS[_0x3338ac];}export function getConfigEnumValues(_0x280112){const _0xa4b502=a94_0x36a1a3;return getConfigFieldSchema(_0x280112)?.[_0xa4b502(0x1c0)];}export function getConfigDefaultValue(_0x22f757){return getConfigFieldSchema(_0x22f757)?.['defaultValue'];}export function isTopLevelConfigKey(_0x33be1b){const _0x161fd6=a94_0x36a1a3;return TOP_LEVEL_CONFIG_KEYS[_0x161fd6(0x1ac)](_0x33be1b);}export function isCliProtectedConfigKey(_0xf16ea7){const _0x41f31a=a94_0x36a1a3;return CLI_PROTECTED_CONFIG_KEYS[_0x41f31a(0x1ac)](_0xf16ea7);}const LOCALE_MAP={'zh':a94_0x36a1a3(0x1c4),'zh-cn':a94_0x36a1a3(0x1c4),'zh_cn':'zh-CN','en':a94_0x36a1a3(0x1be),'en-us':a94_0x36a1a3(0x1be),'en_us':a94_0x36a1a3(0x1be)};export function normalizeLocale(_0x57e45d){const _0x4550f3=a94_0x36a1a3;if(!_0x57e45d)return null;return LOCALE_MAP[_0x57e45d[_0x4550f3(0x1ab)]()]??null;}export function isLegacyCompatConfigKey(_0x4f8b85){return getConfigFieldSchema(_0x4f8b85)?.['legacyCompatOnly']===!![];}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function formatConfigKeyList(_0x59a158){const _0x412c2d=a94_0x36a1a3;return[..._0x59a158][_0x412c2d(0x1bb)](',\x20');}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x4c0496=a94_0x36a1a3;return _0x4c0496(0x1b0)+getTopLevelConfigKeySummary()+_0x4c0496(0x1ba);}export function buildAppProfileListFields(_0x5d09ad){return{'env':_0x5d09ad,'hasAccessKey':![],'format':null,'pageSize':null,'riskLevel':null,'locale':null};}
@@ -1 +1 @@
1
- function a95_0x5bda(_0x33c995,_0x4629bb){_0x33c995=_0x33c995-0x1ac;const _0x82d227=a95_0x82d2();let _0x5bdaf8=_0x82d227[_0x33c995];return _0x5bdaf8;}const a95_0x20a24f=a95_0x5bda;(function(_0x328f19,_0x48c3cc){const _0x1126e9=a95_0x5bda,_0x470f95=_0x328f19();while(!![]){try{const _0x1b811c=parseInt(_0x1126e9(0x1ad))/0x1+-parseInt(_0x1126e9(0x1ac))/0x2*(parseInt(_0x1126e9(0x1af))/0x3)+parseInt(_0x1126e9(0x1b7))/0x4*(parseInt(_0x1126e9(0x1b5))/0x5)+parseInt(_0x1126e9(0x1b4))/0x6+parseInt(_0x1126e9(0x1b6))/0x7*(-parseInt(_0x1126e9(0x1b1))/0x8)+parseInt(_0x1126e9(0x1b3))/0x9+parseInt(_0x1126e9(0x1b0))/0xa;if(_0x1b811c===_0x48c3cc)break;else _0x470f95['push'](_0x470f95['shift']());}catch(_0x5fc165){_0x470f95['push'](_0x470f95['shift']());}}}(a95_0x82d2,0xd0014));function a95_0x82d2(){const _0x3341a8=['6471240GLCkyq','208QSoxYr','PUBLISHED','11981583tZzflJ','3137682eGKsqt','16295DigUnm','452263OOVDDm','568UKKEDz','228fmHybZ','1114894emCDrc','UNPUBLISH','40716cArVKN'];a95_0x82d2=function(){return _0x3341a8;};return a95_0x82d2();}export const APP_PUBLISH_STATUS={'Published':a95_0x20a24f(0x1b2),'Unpublished':a95_0x20a24f(0x1ae)};export const RUNTIME_ACCESSIBLE_APP_STATUS=APP_PUBLISH_STATUS['Published'];
1
+ const a95_0x4fbe53=a95_0x223a;(function(_0x36af7c,_0x43c6f1){const _0x2ba163=a95_0x223a,_0xcfe9b1=_0x36af7c();while(!![]){try{const _0x2862b1=-parseInt(_0x2ba163(0x1bb))/0x1+parseInt(_0x2ba163(0x1b9))/0x2+-parseInt(_0x2ba163(0x1b3))/0x3*(parseInt(_0x2ba163(0x1ba))/0x4)+parseInt(_0x2ba163(0x1bc))/0x5+parseInt(_0x2ba163(0x1b7))/0x6+parseInt(_0x2ba163(0x1bd))/0x7*(parseInt(_0x2ba163(0x1b5))/0x8)+-parseInt(_0x2ba163(0x1b2))/0x9;if(_0x2862b1===_0x43c6f1)break;else _0xcfe9b1['push'](_0xcfe9b1['shift']());}catch(_0x2f8ef7){_0xcfe9b1['push'](_0xcfe9b1['shift']());}}}(a95_0x3414,0x9f5bb));export const APP_PUBLISH_STATUS={'Published':a95_0x4fbe53(0x1b4),'Unpublished':a95_0x4fbe53(0x1b6)};function a95_0x223a(_0x56d82e,_0x3e3ebe){_0x56d82e=_0x56d82e-0x1b2;const _0x341408=a95_0x3414();let _0x223a3e=_0x341408[_0x56d82e];return _0x223a3e;}export const RUNTIME_ACCESSIBLE_APP_STATUS=APP_PUBLISH_STATUS[a95_0x4fbe53(0x1b8)];function a95_0x3414(){const _0x1e32b9=['Published','2551748YfMGRc','36728DjODbi','823054UMyaQX','167885LgnzNV','46214EGzkef','2512044jKSwKM','228eaSrON','PUBLISHED','416hImrPq','UNPUBLISH','4799868WAivaO'];a95_0x3414=function(){return _0x1e32b9;};return a95_0x3414();}
@@ -1 +1 @@
1
- const a96_0x34830f=a96_0x20e3;function a96_0x20e3(_0x31474a,_0x1e9863){_0x31474a=_0x31474a-0x94;const _0x32880a=a96_0x3288();let _0x20e3b0=_0x32880a[_0x31474a];return _0x20e3b0;}(function(_0x23f45d,_0x236131){const _0x56bfdb=a96_0x20e3,_0x301ccf=_0x23f45d();while(!![]){try{const _0x115882=-parseInt(_0x56bfdb(0x98))/0x1+parseInt(_0x56bfdb(0x9c))/0x2*(-parseInt(_0x56bfdb(0x9f))/0x3)+parseInt(_0x56bfdb(0x9e))/0x4+parseInt(_0x56bfdb(0x9b))/0x5*(-parseInt(_0x56bfdb(0x94))/0x6)+-parseInt(_0x56bfdb(0xa0))/0x7*(-parseInt(_0x56bfdb(0x95))/0x8)+parseInt(_0x56bfdb(0x99))/0x9*(parseInt(_0x56bfdb(0x9d))/0xa)+parseInt(_0x56bfdb(0x96))/0xb;if(_0x115882===_0x236131)break;else _0x301ccf['push'](_0x301ccf['shift']());}catch(_0x4eac47){_0x301ccf['push'](_0x301ccf['shift']());}}}(a96_0x3288,0x512dd));export const AUTH_MODE={'ClientAk':a96_0x34830f(0x9a)};function a96_0x3288(){const _0x35ca81=['ClientAk','420830NQyPkz','909OTmbDp','client-ak','15OkRFxe','626uPlZkg','11870QRbXft','1529152vzGYsI','2913VvDyxm','9793fNDGac','1192206XdRGSk','1888kkByfU','9031286KpQvOz'];a96_0x3288=function(){return _0x35ca81;};return a96_0x3288();}export function isAuthMode(_0x36b742){const _0x26339d=a96_0x34830f;return _0x36b742===AUTH_MODE[_0x26339d(0x97)];}
1
+ function a96_0x2ddc(){const _0x34a293=['279654kkacub','6bVykyb','8462041pVZDeP','1648RpVLdz','ClientAk','45nIqwJs','client-ak','21325760ReSvBQ','163160qcNlOv','127427RXLDrR','2338824XKxkik','20187ksSrSH'];a96_0x2ddc=function(){return _0x34a293;};return a96_0x2ddc();}const a96_0x11bbbb=a96_0x47c6;function a96_0x47c6(_0x45c742,_0x55236e){_0x45c742=_0x45c742-0x6d;const _0x2ddc50=a96_0x2ddc();let _0x47c6a6=_0x2ddc50[_0x45c742];return _0x47c6a6;}(function(_0x743e85,_0x3ba09e){const _0x3d6c9b=a96_0x47c6,_0x2135b7=_0x743e85();while(!![]){try{const _0x13d7af=-parseInt(_0x3d6c9b(0x75))/0x1+parseInt(_0x3d6c9b(0x74))/0x2*(parseInt(_0x3d6c9b(0x6d))/0x3)+parseInt(_0x3d6c9b(0x76))/0x4+parseInt(_0x3d6c9b(0x71))/0x5*(-parseInt(_0x3d6c9b(0x78))/0x6)+-parseInt(_0x3d6c9b(0x6e))/0x7+parseInt(_0x3d6c9b(0x6f))/0x8*(-parseInt(_0x3d6c9b(0x77))/0x9)+parseInt(_0x3d6c9b(0x73))/0xa;if(_0x13d7af===_0x3ba09e)break;else _0x2135b7['push'](_0x2135b7['shift']());}catch(_0x6c8a57){_0x2135b7['push'](_0x2135b7['shift']());}}}(a96_0x2ddc,0xa1c55));export const AUTH_MODE={'ClientAk':a96_0x11bbbb(0x72)};export function isAuthMode(_0x5062fa){const _0x187294=a96_0x11bbbb;return _0x5062fa===AUTH_MODE[_0x187294(0x70)];}
@@ -1 +1 @@
1
- const a97_0x904786=a97_0x3a5a;(function(_0xd5e45a,_0x14aae0){const _0x1f504b=a97_0x3a5a,_0x5a0513=_0xd5e45a();while(!![]){try{const _0x307b9a=parseInt(_0x1f504b(0xf8))/0x1+parseInt(_0x1f504b(0xfb))/0x2+parseInt(_0x1f504b(0xd6))/0x3*(parseInt(_0x1f504b(0xe8))/0x4)+-parseInt(_0x1f504b(0xee))/0x5+parseInt(_0x1f504b(0xd0))/0x6*(parseInt(_0x1f504b(0xf0))/0x7)+-parseInt(_0x1f504b(0xe1))/0x8*(parseInt(_0x1f504b(0xfd))/0x9)+-parseInt(_0x1f504b(0xdd))/0xa;if(_0x307b9a===_0x14aae0)break;else _0x5a0513['push'](_0x5a0513['shift']());}catch(_0xf67a86){_0x5a0513['push'](_0x5a0513['shift']());}}}(a97_0xdef0,0xe920d));function a97_0xdef0(){const _0x1a4c4d=['params','format','boolean','type','17163720xdJsJl','help','SQL\x20query\x20code','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20implies\x20--format\x20json\x20when\x20current\x20format\x20is\x20pretty)','32NavgZO','Skip\x20confirmation\x20for\x20high-risk\x20writes','global','<expr>','clear','meowKey','dry-run','1485956vBEdcb','verbose','production\x20|\x20development\x20|\x20daily','fromEntries','<code>','Use\x20global\x20config\x20scope','9539290Atejcn','Clear\x20output','2531487UqJTeK','Show\x20help','json\x20|\x20pretty\x20|\x20compress','yes','dryRun','app','env','Record\x20ID','1870819PQtFTM','non-interactive','JSON\x20params\x20for\x20execute\x20commands','3430722hJCNxX','string','251271vQltlA','map','nonInteractive','sqlcode','6MrQBbf','<name>','Verbose\x20output','cliDisplayName','Output\x20format','name','6xIgAGN','appcode','Preview\x20operation\x20without\x20executing'];a97_0xdef0=function(){return _0x1a4c4d;};return a97_0xdef0();}import{PRODUCT_CONFIG}from'../constant/product.js';import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';function a97_0x3a5a(_0x31bda9,_0x2d5e47){_0x31bda9=_0x31bda9-0xcd;const _0xdef07b=a97_0xdef0();let _0x3a5a61=_0xdef07b[_0x31bda9];return _0x3a5a61;}export const CLI_BIN_NAME=PRODUCT_CONFIG['cliBinName'];export const CLI_DISPLAY_NAME=PRODUCT_CONFIG[a97_0x904786(0xd3)];export const NPM_PACKAGE_NAME=LOVRABET_NPM_PACKAGE_NAME;export const GLOBAL_FLAGS=[{'name':a97_0x904786(0xd7),'meowKey':'appcode','type':'string','description':'Override\x20appcode','hint':a97_0x904786(0xec)},{'name':a97_0x904786(0xf5),'meowKey':a97_0x904786(0xf5),'type':a97_0x904786(0xfc),'description':'Select\x20app\x20profile\x20by\x20name','hint':a97_0x904786(0xd1)},{'name':a97_0x904786(0xf6),'meowKey':a97_0x904786(0xf6),'type':'string','description':'Environment','hint':a97_0x904786(0xea)},{'name':a97_0x904786(0xda),'meowKey':'format','type':'string','description':a97_0x904786(0xd4),'hint':a97_0x904786(0xf2)},{'name':'jq','meowKey':'jq','type':a97_0x904786(0xfc),'description':a97_0x904786(0xe0),'hint':a97_0x904786(0xe4)},{'name':a97_0x904786(0xe7),'meowKey':a97_0x904786(0xf4),'type':a97_0x904786(0xdb),'description':a97_0x904786(0xd8)},{'name':a97_0x904786(0xf3),'meowKey':a97_0x904786(0xf3),'type':'boolean','description':a97_0x904786(0xe2)},{'name':'non-interactive','meowKey':a97_0x904786(0xce),'type':a97_0x904786(0xdb),'description':'Force\x20non-interactive\x20mode\x20(CI)'},{'name':a97_0x904786(0xe3),'meowKey':a97_0x904786(0xe3),'type':a97_0x904786(0xdb),'description':a97_0x904786(0xed)},{'name':'ci','meowKey':'ci','type':a97_0x904786(0xdb),'description':'Alias\x20for\x20--non-interactive','hidden':!![]},{'name':'help','meowKey':a97_0x904786(0xde),'type':a97_0x904786(0xdb),'description':a97_0x904786(0xf1)},{'name':'id','meowKey':'id','type':a97_0x904786(0xfc),'description':a97_0x904786(0xf7),'hidden':!![]},{'name':a97_0x904786(0xd5),'meowKey':'name','type':a97_0x904786(0xfc),'description':'Name\x20filter','hidden':!![]},{'name':a97_0x904786(0xcf),'meowKey':a97_0x904786(0xcf),'type':a97_0x904786(0xfc),'description':a97_0x904786(0xdf),'hidden':!![]},{'name':a97_0x904786(0xd9),'meowKey':a97_0x904786(0xd9),'type':a97_0x904786(0xfc),'description':a97_0x904786(0xfa),'hidden':!![]},{'name':a97_0x904786(0xe9),'meowKey':'verbose','type':'boolean','description':a97_0x904786(0xd2),'hidden':!![]},{'name':a97_0x904786(0xe5),'meowKey':'clear','type':a97_0x904786(0xdb),'description':a97_0x904786(0xef),'hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set(['appcode','app',a97_0x904786(0xf6),'format','jq',a97_0x904786(0xe7),a97_0x904786(0xf3),a97_0x904786(0xf9),'ci']);export function buildMeowFlags(){const _0x2a9939=a97_0x904786;return Object[_0x2a9939(0xeb)](GLOBAL_FLAGS[_0x2a9939(0xcd)](_0xd3313b=>[_0xd3313b[_0x2a9939(0xe6)],{'type':_0xd3313b[_0x2a9939(0xdc)]}]));}
1
+ function a97_0x1e18(_0x43b517,_0x1233c5){_0x43b517=_0x43b517-0xf4;const _0x46e286=a97_0x46e2();let _0x1e1875=_0x46e286[_0x43b517];return _0x1e1875;}const a97_0x4a891b=a97_0x1e18;(function(_0x11109e,_0x1a5d79){const _0x363b4d=a97_0x1e18,_0x115640=_0x11109e();while(!![]){try{const _0x43549c=-parseInt(_0x363b4d(0xfc))/0x1+-parseInt(_0x363b4d(0x11f))/0x2+-parseInt(_0x363b4d(0x102))/0x3*(-parseInt(_0x363b4d(0xfd))/0x4)+parseInt(_0x363b4d(0x118))/0x5+parseInt(_0x363b4d(0x11a))/0x6+-parseInt(_0x363b4d(0xfb))/0x7*(parseInt(_0x363b4d(0x111))/0x8)+parseInt(_0x363b4d(0x116))/0x9;if(_0x43549c===_0x1a5d79)break;else _0x115640['push'](_0x115640['shift']());}catch(_0x1f450a){_0x115640['push'](_0x115640['shift']());}}}(a97_0x46e2,0x67147));import{PRODUCT_CONFIG}from'../constant/product.js';function a97_0x46e2(){const _0x5543a2=['SQL\x20query\x20code','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20implies\x20--format\x20json\x20when\x20current\x20format\x20is\x20pretty)','dryRun','app','appcode','string','5537apEAdJ','405999LODjXS','33832eIJkcT','Verbose\x20output','yes','Select\x20app\x20profile\x20by\x20name','help','108WyfTIF','global','non-interactive','JSON\x20params\x20for\x20execute\x20commands','sqlcode','Alias\x20for\x20--non-interactive','verbose','boolean','cliBinName','<name>','env','dry-run','cliDisplayName','production\x20|\x20development\x20|\x20daily','Preview\x20operation\x20without\x20executing','5896ZxBRTB','<expr>','Skip\x20confirmation\x20for\x20high-risk\x20writes','nonInteractive','Name\x20filter','9972243tGorbc','<code>','1938040QCKQEE','clear','866034salqep','Record\x20ID','Show\x20help','fromEntries','format','1066562phCVne','name','json\x20|\x20pretty\x20|\x20compress'];a97_0x46e2=function(){return _0x5543a2;};return a97_0x46e2();}import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';export const CLI_BIN_NAME=PRODUCT_CONFIG[a97_0x4a891b(0x10a)];export const CLI_DISPLAY_NAME=PRODUCT_CONFIG[a97_0x4a891b(0x10e)];export const NPM_PACKAGE_NAME=LOVRABET_NPM_PACKAGE_NAME;export const GLOBAL_FLAGS=[{'name':a97_0x4a891b(0xf9),'meowKey':'appcode','type':a97_0x4a891b(0xfa),'description':'Override\x20appcode','hint':a97_0x4a891b(0x117)},{'name':a97_0x4a891b(0xf8),'meowKey':a97_0x4a891b(0xf8),'type':'string','description':a97_0x4a891b(0x100),'hint':a97_0x4a891b(0x10b)},{'name':a97_0x4a891b(0x10c),'meowKey':'env','type':a97_0x4a891b(0xfa),'description':'Environment','hint':a97_0x4a891b(0x10f)},{'name':a97_0x4a891b(0x11e),'meowKey':a97_0x4a891b(0x11e),'type':a97_0x4a891b(0xfa),'description':'Output\x20format','hint':a97_0x4a891b(0xf4)},{'name':'jq','meowKey':'jq','type':a97_0x4a891b(0xfa),'description':a97_0x4a891b(0xf6),'hint':a97_0x4a891b(0x112)},{'name':'dry-run','meowKey':a97_0x4a891b(0xf7),'type':a97_0x4a891b(0x109),'description':a97_0x4a891b(0x110)},{'name':'yes','meowKey':a97_0x4a891b(0xff),'type':a97_0x4a891b(0x109),'description':a97_0x4a891b(0x113)},{'name':a97_0x4a891b(0x104),'meowKey':a97_0x4a891b(0x114),'type':a97_0x4a891b(0x109),'description':'Force\x20non-interactive\x20mode\x20(CI)'},{'name':'global','meowKey':a97_0x4a891b(0x103),'type':a97_0x4a891b(0x109),'description':'Use\x20global\x20config\x20scope'},{'name':'ci','meowKey':'ci','type':a97_0x4a891b(0x109),'description':a97_0x4a891b(0x107),'hidden':!![]},{'name':'help','meowKey':a97_0x4a891b(0x101),'type':a97_0x4a891b(0x109),'description':a97_0x4a891b(0x11c)},{'name':'id','meowKey':'id','type':a97_0x4a891b(0xfa),'description':a97_0x4a891b(0x11b),'hidden':!![]},{'name':a97_0x4a891b(0x120),'meowKey':a97_0x4a891b(0x120),'type':a97_0x4a891b(0xfa),'description':a97_0x4a891b(0x115),'hidden':!![]},{'name':a97_0x4a891b(0x106),'meowKey':'sqlcode','type':a97_0x4a891b(0xfa),'description':a97_0x4a891b(0xf5),'hidden':!![]},{'name':'params','meowKey':'params','type':a97_0x4a891b(0xfa),'description':a97_0x4a891b(0x105),'hidden':!![]},{'name':a97_0x4a891b(0x108),'meowKey':a97_0x4a891b(0x108),'type':a97_0x4a891b(0x109),'description':a97_0x4a891b(0xfe),'hidden':!![]},{'name':'clear','meowKey':a97_0x4a891b(0x119),'type':'boolean','description':'Clear\x20output','hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a97_0x4a891b(0xf9),a97_0x4a891b(0xf8),a97_0x4a891b(0x10c),a97_0x4a891b(0x11e),'jq',a97_0x4a891b(0x10d),'yes',a97_0x4a891b(0x104),'ci']);export function buildMeowFlags(){const _0x163dd8=a97_0x4a891b;return Object[_0x163dd8(0x11d)](GLOBAL_FLAGS['map'](_0x4a4f6c=>[_0x4a4f6c['meowKey'],{'type':_0x4a4f6c['type']}]));}
@@ -1 +1 @@
1
- const a98_0x37189c=a98_0x145b;(function(_0x4bac1e,_0x8f4b9e){const _0x4eb85c=a98_0x145b,_0x474e82=_0x4bac1e();while(!![]){try{const _0x35f67e=-parseInt(_0x4eb85c(0x104))/0x1*(-parseInt(_0x4eb85c(0xff))/0x2)+parseInt(_0x4eb85c(0xfc))/0x3+-parseInt(_0x4eb85c(0x105))/0x4*(-parseInt(_0x4eb85c(0x100))/0x5)+-parseInt(_0x4eb85c(0xfd))/0x6+parseInt(_0x4eb85c(0x101))/0x7*(parseInt(_0x4eb85c(0xfe))/0x8)+-parseInt(_0x4eb85c(0x10a))/0x9+-parseInt(_0x4eb85c(0x108))/0xa*(-parseInt(_0x4eb85c(0x106))/0xb);if(_0x35f67e===_0x8f4b9e)break;else _0x474e82['push'](_0x474e82['shift']());}catch(_0x2cd2f7){_0x474e82['push'](_0x474e82['shift']());}}}(a98_0xabdd,0x711b4));function a98_0x145b(_0x3ec745,_0xdc2b37){_0x3ec745=_0x3ec745-0xfc;const _0xabddad=a98_0xabdd();let _0x145b54=_0xabddad[_0x3ec745];return _0x145b54;}export const DEFAULT_APP_PROFILE_NAME=a98_0x37189c(0x102);export const DEFAULT_CONFIG_VALUES={'env':a98_0x37189c(0x109),'format':a98_0x37189c(0x107),'locale':'en-US','riskLevel':a98_0x37189c(0x103)};function a98_0xabdd(){const _0x12a825=['1787394vXsVaI','401608ibadMK','104ovhUUZ','5NgXYQw','14lqKvDk','main','write','9475SbqeIO','381764PdWrqF','11zcKMxc','compress','1967320ePAWNg','production','3876750zweTZq','919974PuuNbN'];a98_0xabdd=function(){return _0x12a825;};return a98_0xabdd();}export const DEFAULT_COMMAND_OUTPUT_FORMAT=a98_0x37189c(0x107);
1
+ const a98_0x46d585=a98_0x2d14;function a98_0x2d14(_0x4645e0,_0x3ecdb0){_0x4645e0=_0x4645e0-0x87;const _0x27f302=a98_0x27f3();let _0x2d1475=_0x27f302[_0x4645e0];return _0x2d1475;}(function(_0x3f6209,_0x4930e4){const _0x57953b=a98_0x2d14,_0x1caef6=_0x3f6209();while(!![]){try{const _0x2e3eda=-parseInt(_0x57953b(0x88))/0x1*(-parseInt(_0x57953b(0x8b))/0x2)+parseInt(_0x57953b(0x8d))/0x3*(parseInt(_0x57953b(0x8a))/0x4)+-parseInt(_0x57953b(0x92))/0x5*(-parseInt(_0x57953b(0x8c))/0x6)+parseInt(_0x57953b(0x87))/0x7*(parseInt(_0x57953b(0x8e))/0x8)+-parseInt(_0x57953b(0x94))/0x9+parseInt(_0x57953b(0x90))/0xa*(-parseInt(_0x57953b(0x95))/0xb)+parseInt(_0x57953b(0x89))/0xc;if(_0x2e3eda===_0x4930e4)break;else _0x1caef6['push'](_0x1caef6['shift']());}catch(_0x4e2ce8){_0x1caef6['push'](_0x1caef6['shift']());}}}(a98_0x27f3,0x7128f));function a98_0x27f3(){const _0x2fdc6b=['166mbnfmQ','2730ZPcMxR','1011LhnjII','224qMXoAT','compress','10pdtFXf','main','6590rksVEy','production','6963381FsfVED','9404527rFNqEy','28973vqnOBw','7716GbjPMJ','5182176LJpPVA','3612NCzLhg'];a98_0x27f3=function(){return _0x2fdc6b;};return a98_0x27f3();}export const DEFAULT_APP_PROFILE_NAME=a98_0x46d585(0x91);export const DEFAULT_CONFIG_VALUES={'env':a98_0x46d585(0x93),'format':a98_0x46d585(0x8f),'locale':'en-US','riskLevel':'write'};export const DEFAULT_COMMAND_OUTPUT_FORMAT=a98_0x46d585(0x8f);
@@ -1 +1 @@
1
- const a99_0x183971=a99_0x4b51;function a99_0x1133(){const _0x3b39ae=['6779232jNdgUs','skillSource','5046876qcWPzn','5NoLcMO','npmRegistryBaseUrl','9eoMXhX','npmPackageName','2535394YVbFxp','3927090XhqmFO','/dist/lovrabet-cli/config/index.json','5669852TqKXzZ','14oacXrk','46735940WSAyMr','1008024HTZYHi'];a99_0x1133=function(){return _0x3b39ae;};return a99_0x1133();}(function(_0x57cbb1,_0x39b180){const _0x22c02b=a99_0x4b51,_0x3688c3=_0x57cbb1();while(!![]){try{const _0x5dcbb9=-parseInt(_0x22c02b(0x1d7))/0x1+parseInt(_0x22c02b(0x1d1))/0x2+parseInt(_0x22c02b(0x1cc))/0x3+parseInt(_0x22c02b(0x1d4))/0x4*(parseInt(_0x22c02b(0x1cd))/0x5)+parseInt(_0x22c02b(0x1d2))/0x6*(parseInt(_0x22c02b(0x1d5))/0x7)+parseInt(_0x22c02b(0x1d8))/0x8+-parseInt(_0x22c02b(0x1cf))/0x9*(parseInt(_0x22c02b(0x1d6))/0xa);if(_0x5dcbb9===_0x39b180)break;else _0x3688c3['push'](_0x3688c3['shift']());}catch(_0x555e37){_0x3688c3['push'](_0x3688c3['shift']());}}}(a99_0x1133,0xcda1c));import{PRODUCT_CONFIG}from'../constant/product.js';export const LOVRABET_NPM_PACKAGE_NAME=PRODUCT_CONFIG[a99_0x183971(0x1d0)];export const LOVRABET_SKILL_SOURCE=PRODUCT_CONFIG[a99_0x183971(0x1cb)];function a99_0x4b51(_0x19c672,_0x135e4e){_0x19c672=_0x19c672-0x1cb;const _0x11336d=a99_0x1133();let _0x4b5180=_0x11336d[_0x19c672];return _0x4b5180;}export const NPM_REGISTRY_BASE_URL=PRODUCT_CONFIG[a99_0x183971(0x1ce)];export const LOVRABET_CLI_CDN_BASE_URL=PRODUCT_CONFIG['cliCdnBaseUrl'];export const LOVRABET_CLI_VERSION_POLICY_URL=LOVRABET_CLI_CDN_BASE_URL+a99_0x183971(0x1d3);
1
+ const a99_0x41ed5c=a99_0x54f1;(function(_0xd32e29,_0x101b64){const _0x5b39b3=a99_0x54f1,_0xd48c2a=_0xd32e29();while(!![]){try{const _0x293ab4=parseInt(_0x5b39b3(0x16c))/0x1*(-parseInt(_0x5b39b3(0x174))/0x2)+parseInt(_0x5b39b3(0x16a))/0x3*(parseInt(_0x5b39b3(0x16e))/0x4)+parseInt(_0x5b39b3(0x16b))/0x5*(-parseInt(_0x5b39b3(0x171))/0x6)+-parseInt(_0x5b39b3(0x169))/0x7*(-parseInt(_0x5b39b3(0x167))/0x8)+-parseInt(_0x5b39b3(0x175))/0x9+-parseInt(_0x5b39b3(0x16f))/0xa+parseInt(_0x5b39b3(0x16d))/0xb;if(_0x293ab4===_0x101b64)break;else _0xd48c2a['push'](_0xd48c2a['shift']());}catch(_0x32b056){_0xd48c2a['push'](_0xd48c2a['shift']());}}}(a99_0x23ae,0xb989f));function a99_0x23ae(){const _0x44f1b1=['npmRegistryBaseUrl','9840GrFrEL','cliCdnBaseUrl','7175bsoQxF','3EzlFnc','1056145BdDFGx','417194kdgzQb','15719814BGecwl','757524TlKrfS','7929590xGVzWb','/dist/lovrabet-cli/config/index.json','12dhnyxv','skillSource','npmPackageName','4SYbtqf','624897bIsJQH'];a99_0x23ae=function(){return _0x44f1b1;};return a99_0x23ae();}import{PRODUCT_CONFIG}from'../constant/product.js';export const LOVRABET_NPM_PACKAGE_NAME=PRODUCT_CONFIG[a99_0x41ed5c(0x173)];export const LOVRABET_SKILL_SOURCE=PRODUCT_CONFIG[a99_0x41ed5c(0x172)];export const NPM_REGISTRY_BASE_URL=PRODUCT_CONFIG[a99_0x41ed5c(0x176)];export const LOVRABET_CLI_CDN_BASE_URL=PRODUCT_CONFIG[a99_0x41ed5c(0x168)];function a99_0x54f1(_0x51793b,_0x3694a7){_0x51793b=_0x51793b-0x167;const _0x23ae33=a99_0x23ae();let _0x54f1e6=_0x23ae33[_0x51793b];return _0x54f1e6;}export const LOVRABET_CLI_VERSION_POLICY_URL=LOVRABET_CLI_CDN_BASE_URL+a99_0x41ed5c(0x170);
@@ -31,7 +31,7 @@ export declare function initDomains(domains?: {
31
31
  runtimeDomain?: string;
32
32
  skillDomain?: string;
33
33
  kbServiceDomain?: string;
34
- allowOfficialKbServiceDefault?: boolean;
34
+ harnessDomain?: string;
35
35
  region?: LovrabetRegion;
36
36
  }): void;
37
37
  /**
@@ -63,3 +63,7 @@ export declare const getRuntimeDomain: () => string;
63
63
  export declare const getSkillDomain: () => string;
64
64
  /** Returns the independently routed KB Service origin, when configured. */
65
65
  export declare const getKbServiceDomain: () => string | undefined;
66
+ /** Uses an explicit Harness origin or the active region/environment default, including enterprise deployments. */
67
+ export declare const getHarnessDomain: () => string | undefined;
68
+ /** Requires Harness routing before app discovery or request dispatch can perform network I/O. */
69
+ export declare function requireHarnessDomain(): string;
@@ -1 +1 @@
1
- const a100_0x22d381=a100_0x4074;(function(_0x465b30,_0x47db70){const _0x23e751=a100_0x4074,_0x3936f6=_0x465b30();while(!![]){try{const _0xaecb47=-parseInt(_0x23e751(0x193))/0x1+-parseInt(_0x23e751(0x19b))/0x2+-parseInt(_0x23e751(0x1a1))/0x3*(parseInt(_0x23e751(0x19a))/0x4)+parseInt(_0x23e751(0x1a0))/0x5*(parseInt(_0x23e751(0x19d))/0x6)+-parseInt(_0x23e751(0x197))/0x7+-parseInt(_0x23e751(0x192))/0x8+parseInt(_0x23e751(0x194))/0x9;if(_0xaecb47===_0x47db70)break;else _0x3936f6['push'](_0x3936f6['shift']());}catch(_0x2e6be2){_0x3936f6['push'](_0x3936f6['shift']());}}}(a100_0x12c5,0x5aadb));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,allowOfficialKbServiceDefault=!![],activeRegion=DEFAULT_LOVRABET_REGION;export function initDomains(_0x19af12){const _0x21e77f=a100_0x4074;customApiDomain=_0x19af12?.[_0x21e77f(0x196)],customUserDomain=_0x19af12?.[_0x21e77f(0x1a3)],customRuntimeDomain=_0x19af12?.[_0x21e77f(0x198)],customSkillDomain=_0x19af12?.[_0x21e77f(0x1a2)],customKbServiceDomain=_0x19af12?.['kbServiceDomain'],allowOfficialKbServiceDefault=_0x19af12?.[_0x21e77f(0x195)]??!![],activeRegion=_0x19af12?.[_0x21e77f(0x19c)]??DEFAULT_LOVRABET_REGION;}const getActiveRegionDomains=()=>{const _0x4482ae=a100_0x4074,_0x19fad=OFFICIAL_ROUTING_PROFILES[activeRegion]['serviceDomains'];return isProduction(getEnv())?_0x19fad[_0x4482ae(0x19f)]:_0x4482ae(0x19e)in _0x19fad?_0x19fad[_0x4482ae(0x19e)]:_0x19fad[_0x4482ae(0x19f)];};function a100_0x4074(_0x25ff02,_0x3eab85){_0x25ff02=_0x25ff02-0x192;const _0x12c571=a100_0x12c5();let _0x407488=_0x12c571[_0x25ff02];return _0x407488;}export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()[a100_0x22d381(0x199)];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()[a100_0x22d381(0x1a4)];export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()['runtime'];function a100_0x12c5(){const _0x3f2242=['apiDomain','2002910ZBIUKH','runtimeDomain','user','184312DgsBQZ','489674SzJNbx','region','8550KWcpLy','daily','production','1375pXAnyw','3uveDfK','skillDomain','userDomain','api','kbService','640368RyFPbW','148504DjnNfv','7066251GygaER','allowOfficialKbServiceDefault'];a100_0x12c5=function(){return _0x3f2242;};return a100_0x12c5();}export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()['skill'];export const getKbServiceDomain=()=>{const _0x507fcd=a100_0x22d381;if(customKbServiceDomain)return customKbServiceDomain;if(!allowOfficialKbServiceDefault)return undefined;const _0x41ea58=getActiveRegionDomains();return _0x507fcd(0x1a5)in _0x41ea58?_0x41ea58[_0x507fcd(0x1a5)]:undefined;};
1
+ const a100_0x47232c=a100_0x533a;(function(_0x579a40,_0x27a3d6){const _0x1186c6=a100_0x533a,_0xce21d5=_0x579a40();while(!![]){try{const _0x47e7a3=parseInt(_0x1186c6(0x9b))/0x1*(parseInt(_0x1186c6(0x93))/0x2)+parseInt(_0x1186c6(0x95))/0x3+parseInt(_0x1186c6(0x8b))/0x4+-parseInt(_0x1186c6(0x99))/0x5+parseInt(_0x1186c6(0x8d))/0x6+parseInt(_0x1186c6(0x8e))/0x7*(parseInt(_0x1186c6(0xa0))/0x8)+-parseInt(_0x1186c6(0x9c))/0x9;if(_0x47e7a3===_0x27a3d6)break;else _0xce21d5['push'](_0xce21d5['shift']());}catch(_0x371723){_0xce21d5['push'](_0xce21d5['shift']());}}}(a100_0x268a,0xecd95));import{CliErrors}from'../errors.js';import{getEnv,isProduction}from'../constant/env.js';function a100_0x268a(){const _0x5151de=['harness','999969HJGJpV','skillDomain','kbServiceDomain','harnessDomain','1491405FCcDNO','Harness\x20is\x20not\x20configured.','1168133cPZWXq','37305126PqOOnK','validation','userDomain','user','1244048QINUsB','kbService','6714216EQAYuY','daily','2204076DvNbtE','84AhHAMw','apiDomain','serviceDomains','production','api','2jMrnzx'];a100_0x268a=function(){return _0x5151de;};return a100_0x268a();}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_0x533a(_0x268961,_0x389d54){_0x268961=_0x268961-0x8b;const _0x268aac=a100_0x268a();let _0x533a20=_0x268aac[_0x268961];return _0x533a20;}export function initDomains(_0x5b632f){const _0x48d019=a100_0x533a;customApiDomain=_0x5b632f?.[_0x48d019(0x8f)],customUserDomain=_0x5b632f?.[_0x48d019(0x9e)],customRuntimeDomain=_0x5b632f?.['runtimeDomain'],customSkillDomain=_0x5b632f?.[_0x48d019(0x96)],customKbServiceDomain=_0x5b632f?.[_0x48d019(0x97)],customHarnessDomain=_0x5b632f?.[_0x48d019(0x98)],activeRegion=_0x5b632f?.['region']??DEFAULT_LOVRABET_REGION;}const getActiveRegionDomains=()=>{const _0x45896e=a100_0x533a,_0x2a542f=OFFICIAL_ROUTING_PROFILES[activeRegion][_0x45896e(0x90)];return isProduction(getEnv())?_0x2a542f[_0x45896e(0x91)]:'daily'in _0x2a542f?_0x2a542f[_0x45896e(0x8c)]:_0x2a542f['production'];};export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()[a100_0x47232c(0x9f)];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()[a100_0x47232c(0x92)];export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()['runtime'];export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()['skill'];export const getKbServiceDomain=()=>{const _0x53822e=a100_0x47232c;if(customKbServiceDomain)return customKbServiceDomain;const _0x4dcbc1=getActiveRegionDomains();return _0x53822e(0xa1)in _0x4dcbc1?_0x4dcbc1[_0x53822e(0xa1)]:undefined;};export const getHarnessDomain=()=>{const _0x1ed406=a100_0x47232c;if(customHarnessDomain)return customHarnessDomain;const _0x24aa38=getActiveRegionDomains();return _0x1ed406(0x94)in _0x24aa38?_0x24aa38[_0x1ed406(0x94)]:undefined;};export function requireHarnessDomain(){const _0x199456=a100_0x47232c,_0x526b70=getHarnessDomain();if(!_0x526b70)throw CliErrors[_0x199456(0x9d)](_0x199456(0x9a),'Configure\x20a\x20trusted\x20harnessDomain\x20HTTPS\x20origin\x20in\x20the\x20connection\x20settings.');return _0x526b70;}
@@ -1 +1 @@
1
- const a101_0x29bd9d=a101_0x2acc;(function(_0x5482e4,_0x1382aa){const _0x49a265=a101_0x2acc,_0x200ba1=_0x5482e4();while(!![]){try{const _0x151982=parseInt(_0x49a265(0x79))/0x1+parseInt(_0x49a265(0x7a))/0x2+-parseInt(_0x49a265(0x7c))/0x3+parseInt(_0x49a265(0x82))/0x4*(parseInt(_0x49a265(0x78))/0x5)+-parseInt(_0x49a265(0x7f))/0x6+-parseInt(_0x49a265(0x77))/0x7+parseInt(_0x49a265(0x80))/0x8*(-parseInt(_0x49a265(0x75))/0x9);if(_0x151982===_0x1382aa)break;else _0x200ba1['push'](_0x200ba1['shift']());}catch(_0x1d776d){_0x200ba1['push'](_0x200ba1['shift']());}}}(a101_0x5913,0xa92c2));import{productEnv}from'../constant/product.js';export const RUNTIME_ENV_VALUES=[a101_0x29bd9d(0x7b),a101_0x29bd9d(0x73),a101_0x29bd9d(0x81)];export function normalizeEnv(_0x195749){const _0x58eada=a101_0x29bd9d;return _0x195749===_0x58eada(0x74)||_0x195749===_0x58eada(0x76)?_0x58eada(0x7b):_0x195749;}export function isProduction(_0x28db17){const _0x2f3253=a101_0x29bd9d;return normalizeEnv(_0x28db17)===_0x2f3253(0x7b);}export function isDaily(_0x493f49){return normalizeEnv(_0x493f49)==='daily';}function a101_0x2acc(_0x6613a6,_0x4a8a02){_0x6613a6=_0x6613a6-0x73;const _0x5913c7=a101_0x5913();let _0x2acc79=_0x5913c7[_0x6613a6];return _0x2acc79;}export function isDev(_0x42d22d){const _0x2b311e=a101_0x29bd9d,_0x4c0289=normalizeEnv(_0x42d22d);return _0x4c0289===_0x2b311e(0x73)||_0x4c0289===_0x2b311e(0x7d);}let env=normalizeEnv(productEnv(a101_0x29bd9d(0x7e))||a101_0x29bd9d(0x7b));export function getEnv(){return env;}export function initEnv(_0x10dc84){env=normalizeEnv(_0x10dc84);}function a101_0x5913(){const _0x2f7110=['online','954zVwHDJ','prod','2342011xGHkzE','40SvKxyd','1301149KyfERE','1348948gVhAvK','production','2460330oUjUNv','dev','ENV','3149112fBUxYv','65752mtSkvu','daily','634028KKyTQx','development'];a101_0x5913=function(){return _0x2f7110;};return a101_0x5913();}
1
+ const a101_0x84bca6=a101_0x3065;(function(_0x360003,_0x20715a){const _0x485270=a101_0x3065,_0x5c14ad=_0x360003();while(!![]){try{const _0x46bc29=parseInt(_0x485270(0x1f3))/0x1+-parseInt(_0x485270(0x1f6))/0x2+parseInt(_0x485270(0x1f0))/0x3*(parseInt(_0x485270(0x1f1))/0x4)+-parseInt(_0x485270(0x1fb))/0x5*(-parseInt(_0x485270(0x1fd))/0x6)+-parseInt(_0x485270(0x1f9))/0x7*(-parseInt(_0x485270(0x1f5))/0x8)+-parseInt(_0x485270(0x1f8))/0x9+parseInt(_0x485270(0x1f2))/0xa;if(_0x46bc29===_0x20715a)break;else _0x5c14ad['push'](_0x5c14ad['shift']());}catch(_0x48b6b4){_0x5c14ad['push'](_0x5c14ad['shift']());}}}(a101_0x1f1f,0x25b4e));import{productEnv}from'../constant/product.js';export const RUNTIME_ENV_VALUES=[a101_0x84bca6(0x1f7),a101_0x84bca6(0x1fc),a101_0x84bca6(0x1fa)];export function normalizeEnv(_0x5b25c7){const _0x70d5c8=a101_0x84bca6;return _0x5b25c7==='online'||_0x5b25c7==='prod'?_0x70d5c8(0x1f7):_0x5b25c7;}function a101_0x3065(_0x3f6a82,_0xa6d221){_0x3f6a82=_0x3f6a82-0x1f0;const _0x1f1f6a=a101_0x1f1f();let _0x306550=_0x1f1f6a[_0x3f6a82];return _0x306550;}export function isProduction(_0x29d34e){const _0x3aaf7a=a101_0x84bca6;return normalizeEnv(_0x29d34e)===_0x3aaf7a(0x1f7);}export function isDaily(_0x37c990){return normalizeEnv(_0x37c990)==='daily';}export function isDev(_0x582953){const _0x106068=a101_0x84bca6,_0x2bb10a=normalizeEnv(_0x582953);return _0x2bb10a==='development'||_0x2bb10a===_0x106068(0x1f4);}let env=normalizeEnv(productEnv('ENV')||a101_0x84bca6(0x1f7));function a101_0x1f1f(){const _0x22f339=['76484Qppxgi','dev','268168ujzZdQ','584908qikwAK','production','1269738fnCDKV','21lWhaGN','daily','146290SrwWAW','development','54Rukspk','1251QrcNGM','820GLXOAq','621280qYdUwW'];a101_0x1f1f=function(){return _0x22f339;};return a101_0x1f1f();}export function getEnv(){return env;}export function initEnv(_0x104a58){env=normalizeEnv(_0x104a58);}
@@ -1 +1 @@
1
- const a102_0x122859=a102_0x1fe4;(function(_0x373d53,_0x261ddd){const _0x3bf501=a102_0x1fe4,_0x435cab=_0x373d53();while(!![]){try{const _0x362e85=parseInt(_0x3bf501(0x86))/0x1+parseInt(_0x3bf501(0x89))/0x2*(-parseInt(_0x3bf501(0x81))/0x3)+parseInt(_0x3bf501(0x8a))/0x4+parseInt(_0x3bf501(0x88))/0x5+-parseInt(_0x3bf501(0x8b))/0x6*(-parseInt(_0x3bf501(0x82))/0x7)+-parseInt(_0x3bf501(0x87))/0x8+-parseInt(_0x3bf501(0x85))/0x9;if(_0x362e85===_0x261ddd)break;else _0x435cab['push'](_0x435cab['shift']());}catch(_0x55f19b){_0x435cab['push'](_0x435cab['shift']());}}}(a102_0x4f47,0x7c659));export const OUTPUT_FORMAT_VALUES=[a102_0x122859(0x83),a102_0x122859(0x84),'compress'];function a102_0x1fe4(_0xcf587d,_0x25dea2){_0xcf587d=_0xcf587d-0x81;const _0x4f477e=a102_0x4f47();let _0x1fe47e=_0x4f477e[_0xcf587d];return _0x1fe47e;}function a102_0x4f47(){const _0x3c493f=['912OPRCRa','1702389eQzQmu','28007BZipdm','json','pretty','4540896FMiVIp','780186ecSLFi','6661232nlFfXU','1862950uwnXLk','2hjjCAr','2613048JdcOhw'];a102_0x4f47=function(){return _0x3c493f;};return a102_0x4f47();}
1
+ function a102_0x1f2b(_0xc6c7b,_0x3c5b7e){_0xc6c7b=_0xc6c7b-0x9c;const _0x4a1784=a102_0x4a17();let _0x1f2be0=_0x4a1784[_0xc6c7b];return _0x1f2be0;}const a102_0x1f4e9f=a102_0x1f2b;(function(_0x5e9247,_0x236088){const _0x322929=a102_0x1f2b,_0x32aed3=_0x5e9247();while(!![]){try{const _0x4b2566=parseInt(_0x322929(0xa3))/0x1*(-parseInt(_0x322929(0x9d))/0x2)+parseInt(_0x322929(0xa2))/0x3+parseInt(_0x322929(0x9f))/0x4+parseInt(_0x322929(0xa4))/0x5+parseInt(_0x322929(0xa8))/0x6*(-parseInt(_0x322929(0xa1))/0x7)+parseInt(_0x322929(0xa7))/0x8*(-parseInt(_0x322929(0xa0))/0x9)+-parseInt(_0x322929(0x9c))/0xa*(-parseInt(_0x322929(0x9e))/0xb);if(_0x4b2566===_0x236088)break;else _0x32aed3['push'](_0x32aed3['shift']());}catch(_0x1c478e){_0x32aed3['push'](_0x32aed3['shift']());}}}(a102_0x4a17,0x2117a));export const OUTPUT_FORMAT_VALUES=['json',a102_0x1f4e9f(0xa5),a102_0x1f4e9f(0xa6)];function a102_0x4a17(){const _0x2ec34e=['385623UjQZDn','56tZhncs','256989NWGnXR','237118GGjdij','68010eXrdpv','pretty','compress','40bShwzv','99852zeioLY','290rmbgBY','2EfTnWQ','163471WkgJHI','759204YOOOMY'];a102_0x4a17=function(){return _0x2ec34e;};return a102_0x4a17();}
@@ -1 +1 @@
1
- const a103_0x262d9a=a103_0x1b8a;function a103_0x5ebf(){const _0x25d526=['SKIP_NPX_SKILLS','998368ybngaR','691025DfxgNM','LOVRABET','@lovrabet/lovrabet-cli','.lovrabet-runtime.log','89419aPwqbU','Lovrabet\x20User\x20Center','174528kOhRmA','git@codeup.aliyun.com:yuntoo/open/lovrabet-runtime-cli.git','Lovrabet\x20Runtime\x20CLI','30638853gBUolt','/user/ak','168xoUTCY','262938VQAYps','cli:lovrabet-runtime','.lovrabet.json','envPrefix','8VLHxzq','RABETBASE','legacyEnvPrefixes','1874991LrWDoX'];a103_0x5ebf=function(){return _0x25d526;};return a103_0x5ebf();}(function(_0x204960,_0xc1b096){const _0x58970e=a103_0x1b8a,_0x507d8d=_0x204960();while(!![]){try{const _0x7d91cb=-parseInt(_0x58970e(0xaa))/0x1+-parseInt(_0x58970e(0xa5))/0x2+-parseInt(_0x58970e(0xa3))/0x3*(parseInt(_0x58970e(0xa0))/0x4)+parseInt(_0x58970e(0xa6))/0x5+-parseInt(_0x58970e(0x9c))/0x6*(parseInt(_0x58970e(0x9b))/0x7)+parseInt(_0x58970e(0xac))/0x8+parseInt(_0x58970e(0x99))/0x9;if(_0x7d91cb===_0xc1b096)break;else _0x507d8d['push'](_0x507d8d['shift']());}catch(_0x4774d4){_0x507d8d['push'](_0x507d8d['shift']());}}}(a103_0x5ebf,0xa48c5));export const PRODUCT_CONFIG={'cliBinName':'lovrabet','cliDisplayName':a103_0x262d9a(0x98),'npmPackageName':a103_0x262d9a(0xa8),'skillSource':'lovrabet/lovrabet-cli','internalSkillSource':a103_0x262d9a(0x97),'globalSkillName':'lovrabet','npmRegistryBaseUrl':'https://registry.npmjs.org','cliCdnBaseUrl':'https://g.lovrabet.com','envPrefix':a103_0x262d9a(0xa7),'legacyEnvPrefixes':[a103_0x262d9a(0xa1)],'configFileNames':[a103_0x262d9a(0x9e)],'newConfigFileName':a103_0x262d9a(0x9e),'homeDirName':'.lovrabet','logFileName':a103_0x262d9a(0xa9),'invokeSource':a103_0x262d9a(0x9d),'userCenterDisplayName':a103_0x262d9a(0xab),'skipNpxSkillsEnvSuffix':a103_0x262d9a(0xa4),'accessKeyCreatePath':a103_0x262d9a(0x9a)};export function productEnvName(_0x3e25b7){const _0xfde8c6=a103_0x262d9a;return PRODUCT_CONFIG[_0xfde8c6(0x9f)]+'_'+_0x3e25b7;}function a103_0x1b8a(_0x2fe210,_0x5758ce){_0x2fe210=_0x2fe210-0x97;const _0x5ebf4a=a103_0x5ebf();let _0x1b8a71=_0x5ebf4a[_0x2fe210];return _0x1b8a71;}export function productEnvNames(_0x535735){const _0x41a0c5=a103_0x262d9a;return[productEnvName(_0x535735),...PRODUCT_CONFIG[_0x41a0c5(0xa2)]['map'](_0x5a10ba=>_0x5a10ba+'_'+_0x535735)];}export function productEnv(_0x3243b5){for(const _0x3fdb0d of productEnvNames(_0x3243b5)){const _0x33eefb=process.env[_0x3fdb0d];if(_0x33eefb!==undefined)return _0x33eefb;}return undefined;}
1
+ const a103_0x4e0c60=a103_0x5005;(function(_0x45b50c,_0x1826f0){const _0x34ddaf=a103_0x5005,_0x583dab=_0x45b50c();while(!![]){try{const _0x1b0cfd=-parseInt(_0x34ddaf(0x143))/0x1*(-parseInt(_0x34ddaf(0x145))/0x2)+parseInt(_0x34ddaf(0x13b))/0x3+-parseInt(_0x34ddaf(0x134))/0x4*(parseInt(_0x34ddaf(0x146))/0x5)+-parseInt(_0x34ddaf(0x14f))/0x6*(parseInt(_0x34ddaf(0x14d))/0x7)+-parseInt(_0x34ddaf(0x149))/0x8*(parseInt(_0x34ddaf(0x13a))/0x9)+parseInt(_0x34ddaf(0x14e))/0xa+parseInt(_0x34ddaf(0x138))/0xb*(parseInt(_0x34ddaf(0x13e))/0xc);if(_0x1b0cfd===_0x1826f0)break;else _0x583dab['push'](_0x583dab['shift']());}catch(_0x215b59){_0x583dab['push'](_0x583dab['shift']());}}}(a103_0x40f1,0xb8903));export const PRODUCT_CONFIG={'cliBinName':a103_0x4e0c60(0x14c),'cliDisplayName':'Lovrabet\x20Runtime\x20CLI','npmPackageName':a103_0x4e0c60(0x142),'skillSource':a103_0x4e0c60(0x13f),'internalSkillSource':a103_0x4e0c60(0x144),'globalSkillName':a103_0x4e0c60(0x14c),'npmRegistryBaseUrl':a103_0x4e0c60(0x147),'cliCdnBaseUrl':a103_0x4e0c60(0x14a),'envPrefix':'LOVRABET','legacyEnvPrefixes':[a103_0x4e0c60(0x13d)],'configFileNames':[a103_0x4e0c60(0x140)],'newConfigFileName':'.lovrabet.json','homeDirName':'.lovrabet','logFileName':a103_0x4e0c60(0x14b),'invokeSource':a103_0x4e0c60(0x13c),'userCenterDisplayName':a103_0x4e0c60(0x139),'skipNpxSkillsEnvSuffix':a103_0x4e0c60(0x141),'accessKeyCreatePath':a103_0x4e0c60(0x136)};function a103_0x5005(_0x21dcfa,_0x27d408){_0x21dcfa=_0x21dcfa-0x134;const _0x40f15e=a103_0x40f1();let _0x50054e=_0x40f15e[_0x21dcfa];return _0x50054e;}export function productEnvName(_0x3df344){const _0x724418=a103_0x4e0c60;return PRODUCT_CONFIG[_0x724418(0x135)]+'_'+_0x3df344;}function a103_0x40f1(){const _0x1ba77c=['RABETBASE','12gzleeE','lovrabet/lovrabet-cli','.lovrabet.json','SKIP_NPX_SKILLS','@lovrabet/lovrabet-cli','92WTkOxf','git@codeup.aliyun.com:yuntoo/open/lovrabet-runtime-cli.git','17590JUyHfJ','316570pzcjok','https://registry.npmjs.org','map','8BlLieS','https://g.lovrabet.com','.lovrabet-runtime.log','lovrabet','56Dnxbvd','1449170PNJDCJ','1106688nyKMyp','4cbYEiN','envPrefix','/user/ak','legacyEnvPrefixes','26557828DZNwkh','Lovrabet\x20User\x20Center','9908226tkySKV','82134lTzNib','cli:lovrabet-runtime'];a103_0x40f1=function(){return _0x1ba77c;};return a103_0x40f1();}export function productEnvNames(_0x1190e2){const _0x3d0fa6=a103_0x4e0c60;return[productEnvName(_0x1190e2),...PRODUCT_CONFIG[_0x3d0fa6(0x137)][_0x3d0fa6(0x148)](_0x4b16f8=>_0x4b16f8+'_'+_0x1190e2)];}export function productEnv(_0x14f0e0){for(const _0x33e9c7 of productEnvNames(_0x14f0e0)){const _0x43ff48=process.env[_0x33e9c7];if(_0x43ff48!==undefined)return _0x43ff48;}return undefined;}
@@ -1 +1 @@
1
- (function(_0x1d5cac,_0x47b13f){const _0x564085=a104_0x4918,_0x813902=_0x1d5cac();while(!![]){try{const _0x152781=parseInt(_0x564085(0x93))/0x1+-parseInt(_0x564085(0x9b))/0x2+-parseInt(_0x564085(0x8f))/0x3*(-parseInt(_0x564085(0x94))/0x4)+parseInt(_0x564085(0x98))/0x5+parseInt(_0x564085(0x8d))/0x6*(-parseInt(_0x564085(0x8c))/0x7)+parseInt(_0x564085(0x95))/0x8+parseInt(_0x564085(0x99))/0x9*(-parseInt(_0x564085(0x9d))/0xa);if(_0x152781===_0x47b13f)break;else _0x813902['push'](_0x813902['shift']());}catch(_0x3c220a){_0x813902['push'](_0x813902['shift']());}}}(a104_0x4378,0x56b1a));import{DEFAULT_REGION,ENABLED_REGION_VALUES,REGION_ALIASES,REGION_VALUES}from'../generated/official-routing.js';import{CliErrors}from'../errors.js';function a104_0x4918(_0x287c52,_0x37367e){_0x287c52=_0x287c52-0x8b;const _0x43787b=a104_0x4378();let _0x491816=_0x43787b[_0x287c52];return _0x491816;}export const LOVRABET_REGION_VALUES=REGION_VALUES;function a104_0x4378(){const _0x1d3e67=['Region\x20\x22','650030fptacE','Run\x20`lovrabet\x20config\x20init`\x20to\x20restore\x20the\x20global\x20country/region\x20configuration.','299089XJoCAk','90TzsKfS','.\x20Run\x20`lovrabet\x20config\x20init`\x20to\x20repair\x20the\x20global\x20configuration.','18eJZQdI','Invalid\x20region\x20value:\x20expected\x20a\x20string,\x20received\x20','includes','validation','465241BkkZaQ','422912oJrzli','4994144InHHdH','string','\x22\x20is\x20not\x20currently\x20available.','3482270lUMlsv','171iByQBI','join','378542KoNikn'];a104_0x4378=function(){return _0x1d3e67;};return a104_0x4378();}export const ENABLED_LOVRABET_REGION_VALUES=ENABLED_REGION_VALUES;export const DEFAULT_LOVRABET_REGION=DEFAULT_REGION;export function isLovrabetRegion(_0x2a7fd7){const _0x11688=a104_0x4918;return typeof _0x2a7fd7===_0x11688(0x96)&&LOVRABET_REGION_VALUES[_0x11688(0x91)](_0x2a7fd7);}export function isEnabledLovrabetRegion(_0x4c3657){const _0x435d86=a104_0x4918;return typeof _0x4c3657===_0x435d86(0x96)&&ENABLED_LOVRABET_REGION_VALUES['includes'](_0x4c3657);}export function normalizeLovrabetRegion(_0xbb43f7){const _0x194def=a104_0x4918;if(_0xbb43f7===undefined||_0xbb43f7===null||_0xbb43f7==='')return DEFAULT_LOVRABET_REGION;if(typeof _0xbb43f7!==_0x194def(0x96))throw CliErrors[_0x194def(0x92)](_0x194def(0x90)+typeof _0xbb43f7+'.',_0x194def(0x8b));const _0x279666=REGION_ALIASES[_0xbb43f7]??_0xbb43f7;if(isEnabledLovrabetRegion(_0x279666))return _0x279666;throw CliErrors['validation'](_0x194def(0x9c)+_0xbb43f7+_0x194def(0x97),'Available\x20regions:\x20'+ENABLED_LOVRABET_REGION_VALUES[_0x194def(0x9a)](',\x20')+_0x194def(0x8e));}
1
+ (function(_0xf84b45,_0x514617){const _0x937769=a104_0xcb16,_0x46056f=_0xf84b45();while(!![]){try{const _0x191d8b=parseInt(_0x937769(0x15b))/0x1+-parseInt(_0x937769(0x15c))/0x2*(parseInt(_0x937769(0x15f))/0x3)+-parseInt(_0x937769(0x166))/0x4+parseInt(_0x937769(0x15e))/0x5*(-parseInt(_0x937769(0x158))/0x6)+parseInt(_0x937769(0x16a))/0x7*(-parseInt(_0x937769(0x15d))/0x8)+-parseInt(_0x937769(0x162))/0x9*(parseInt(_0x937769(0x165))/0xa)+parseInt(_0x937769(0x168))/0xb;if(_0x191d8b===_0x514617)break;else _0x46056f['push'](_0x46056f['shift']());}catch(_0x28d00f){_0x46056f['push'](_0x46056f['shift']());}}}(a104_0x1998,0x4470a));import{DEFAULT_REGION,ENABLED_REGION_VALUES,REGION_ALIASES,REGION_VALUES}from'../generated/official-routing.js';import{CliErrors}from'../errors.js';function a104_0xcb16(_0x481d35,_0x361651){_0x481d35=_0x481d35-0x158;const _0x199835=a104_0x1998();let _0xcb16b5=_0x199835[_0x481d35];return _0xcb16b5;}export const LOVRABET_REGION_VALUES=REGION_VALUES;export const ENABLED_LOVRABET_REGION_VALUES=ENABLED_REGION_VALUES;export const DEFAULT_LOVRABET_REGION=DEFAULT_REGION;export function isLovrabetRegion(_0x4b1b7e){const _0x5d4890=a104_0xcb16;return typeof _0x4b1b7e===_0x5d4890(0x159)&&LOVRABET_REGION_VALUES[_0x5d4890(0x169)](_0x4b1b7e);}function a104_0x1998(){const _0x5908aa=['192544vLSqYd','\x22\x20is\x20not\x20currently\x20available.','14953708MhvqqZ','includes','1064672zgZQuH','667686GWXTOU','string','join','296917lqTUOT','2kdwFtk','24QMCJoo','15DhaJEk','1284693zKLCZD','Region\x20\x22','Available\x20regions:\x20','9thZJBL','Run\x20`lovrabet\x20config\x20init`\x20to\x20restore\x20the\x20global\x20country/region\x20configuration.','validation','1095170JIrgMZ'];a104_0x1998=function(){return _0x5908aa;};return a104_0x1998();}export function isEnabledLovrabetRegion(_0x4bba24){const _0x100861=a104_0xcb16;return typeof _0x4bba24===_0x100861(0x159)&&ENABLED_LOVRABET_REGION_VALUES[_0x100861(0x169)](_0x4bba24);}export function normalizeLovrabetRegion(_0x26a658){const _0xb45ebb=a104_0xcb16;if(_0x26a658===undefined||_0x26a658===null||_0x26a658==='')return DEFAULT_LOVRABET_REGION;if(typeof _0x26a658!==_0xb45ebb(0x159))throw CliErrors[_0xb45ebb(0x164)]('Invalid\x20region\x20value:\x20expected\x20a\x20string,\x20received\x20'+typeof _0x26a658+'.',_0xb45ebb(0x163));const _0x3fbf60=REGION_ALIASES[_0x26a658]??_0x26a658;if(isEnabledLovrabetRegion(_0x3fbf60))return _0x3fbf60;throw CliErrors[_0xb45ebb(0x164)](_0xb45ebb(0x160)+_0x26a658+_0xb45ebb(0x167),_0xb45ebb(0x161)+ENABLED_LOVRABET_REGION_VALUES[_0xb45ebb(0x15a)](',\x20')+'.\x20Run\x20`lovrabet\x20config\x20init`\x20to\x20repair\x20the\x20global\x20configuration.');}
@@ -1 +1 @@
1
- const a105_0x347dd6=a105_0x243c;(function(_0x57bd0d,_0x17c18c){const _0x1eb0a4=a105_0x243c,_0x579b13=_0x57bd0d();while(!![]){try{const _0x297b81=-parseInt(_0x1eb0a4(0x1e8))/0x1+-parseInt(_0x1eb0a4(0x1e4))/0x2+-parseInt(_0x1eb0a4(0x1ea))/0x3*(parseInt(_0x1eb0a4(0x1e7))/0x4)+-parseInt(_0x1eb0a4(0x1eb))/0x5+parseInt(_0x1eb0a4(0x1e2))/0x6+-parseInt(_0x1eb0a4(0x1e3))/0x7+parseInt(_0x1eb0a4(0x1e6))/0x8;if(_0x297b81===_0x17c18c)break;else _0x579b13['push'](_0x579b13['shift']());}catch(_0x4e4a2b){_0x579b13['push'](_0x579b13['shift']());}}}(a105_0x4203,0x3b83a));function a105_0x4203(){const _0x5130f1=['945620zXwzXZ','high-risk-write','1029120lPkvVZ','833896LWOlWt','515762VVyfdl','write','12518672iPxMzt','52bXruRf','450196qKwiux','read','109905Xdkplq'];a105_0x4203=function(){return _0x5130f1;};return a105_0x4203();}function a105_0x243c(_0x4a7373,_0x219ec1){_0x4a7373=_0x4a7373-0x1e2;const _0x42034f=a105_0x4203();let _0x243c53=_0x42034f[_0x4a7373];return _0x243c53;}export const RISK_LEVEL_VALUES=[a105_0x347dd6(0x1e9),a105_0x347dd6(0x1e5),a105_0x347dd6(0x1ec)];
1
+ function a105_0x4c3f(){const _0x4c802f=['12BtDdSe','2582482TxLlUp','read','279585IzRqHI','1110615VtTcMT','39874vqtSUs','506730kVEHlB','102ypdCJQ','5301YdHpGJ','22jdXqHv','5176VHXWiQ','204XHhTgG','4YedXRI','28938fOWvdx'];a105_0x4c3f=function(){return _0x4c802f;};return a105_0x4c3f();}const a105_0x61426=a105_0x3a6f;function a105_0x3a6f(_0xbbd9a0,_0xeb9fd4){_0xbbd9a0=_0xbbd9a0-0x1d6;const _0x4c3f81=a105_0x4c3f();let _0x3a6f72=_0x4c3f81[_0xbbd9a0];return _0x3a6f72;}(function(_0x43ce12,_0xdd315c){const _0x35b788=a105_0x3a6f,_0x1f698d=_0x43ce12();while(!![]){try{const _0x59fe49=-parseInt(_0x35b788(0x1da))/0x1+-parseInt(_0x35b788(0x1dc))/0x2*(-parseInt(_0x35b788(0x1de))/0x3)+parseInt(_0x35b788(0x1e3))/0x4*(-parseInt(_0x35b788(0x1db))/0x5)+-parseInt(_0x35b788(0x1d7))/0x6*(-parseInt(_0x35b788(0x1d8))/0x7)+parseInt(_0x35b788(0x1e1))/0x8*(-parseInt(_0x35b788(0x1df))/0x9)+-parseInt(_0x35b788(0x1dd))/0xa*(parseInt(_0x35b788(0x1e0))/0xb)+-parseInt(_0x35b788(0x1e2))/0xc*(parseInt(_0x35b788(0x1d6))/0xd);if(_0x59fe49===_0xdd315c)break;else _0x1f698d['push'](_0x1f698d['shift']());}catch(_0x544fb2){_0x1f698d['push'](_0x1f698d['shift']());}}}(a105_0x4c3f,0x60203));export const RISK_LEVEL_VALUES=[a105_0x61426(0x1d9),'write','high-risk-write'];
@@ -1 +1 @@
1
- (function(_0x61ea88,_0x3784be){const _0x2507c0=a106_0x32b3,_0x414157=_0x61ea88();while(!![]){try{const _0x725b13=-parseInt(_0x2507c0(0x1ac))/0x1*(-parseInt(_0x2507c0(0x1ae))/0x2)+-parseInt(_0x2507c0(0x1b3))/0x3+parseInt(_0x2507c0(0x1b6))/0x4*(parseInt(_0x2507c0(0x1ad))/0x5)+-parseInt(_0x2507c0(0x1b5))/0x6+-parseInt(_0x2507c0(0x1b0))/0x7+-parseInt(_0x2507c0(0x1a9))/0x8*(parseInt(_0x2507c0(0x1b2))/0x9)+parseInt(_0x2507c0(0x1b1))/0xa;if(_0x725b13===_0x3784be)break;else _0x414157['push'](_0x414157['shift']());}catch(_0x3614df){_0x414157['push'](_0x414157['shift']());}}}(a106_0x349b,0xd3c00));import{PRODUCT_CONFIG}from'../constant/product.js';import{OFFICIAL_ROUTING_PROFILES}from'../generated/official-routing.js';import{DEFAULT_LOVRABET_REGION}from'../constant/region.js';export function getUserAccessKeyCreateUrl(_0x4a8409=DEFAULT_LOVRABET_REGION){const _0x43d743=a106_0x32b3,_0xc8f698=OFFICIAL_ROUTING_PROFILES[_0x4a8409][_0x43d743(0x1af)][_0x43d743(0x1aa)][_0x43d743(0x1b4)];return''+_0xc8f698+PRODUCT_CONFIG[_0x43d743(0x1ab)];}export const USER_ACCESS_KEY_CREATE_URL=getUserAccessKeyCreateUrl();function a106_0x32b3(_0x3f6878,_0x13c3a3){_0x3f6878=_0x3f6878-0x1a9;const _0x349bac=a106_0x349b();let _0x32b314=_0x349bac[_0x3f6878];return _0x32b314;}function a106_0x349b(){const _0x2d821c=['accessKeyCreatePath','1HQcTzT','5RAVVns','1659596tmdOYn','serviceDomains','940415jtFkOI','15957990iUZLbP','34119WIorJj','501573DJcZVz','user','3467898badBzR','3896504hrAxYY','3488QUFbtu','production'];a106_0x349b=function(){return _0x2d821c;};return a106_0x349b();}
1
+ (function(_0x463871,_0x1e1a1a){const _0x4a4586=a106_0x1936,_0x46c41b=_0x463871();while(!![]){try{const _0x2a28c7=-parseInt(_0x4a4586(0x80))/0x1+-parseInt(_0x4a4586(0x85))/0x2*(parseInt(_0x4a4586(0x83))/0x3)+-parseInt(_0x4a4586(0x87))/0x4*(-parseInt(_0x4a4586(0x86))/0x5)+parseInt(_0x4a4586(0x7e))/0x6+parseInt(_0x4a4586(0x8a))/0x7+parseInt(_0x4a4586(0x89))/0x8+-parseInt(_0x4a4586(0x84))/0x9*(parseInt(_0x4a4586(0x8b))/0xa);if(_0x2a28c7===_0x1e1a1a)break;else _0x46c41b['push'](_0x46c41b['shift']());}catch(_0x19e9e1){_0x46c41b['push'](_0x46c41b['shift']());}}}(a106_0x4359,0x57156));import{PRODUCT_CONFIG}from'../constant/product.js';import{OFFICIAL_ROUTING_PROFILES}from'../generated/official-routing.js';function a106_0x4359(){const _0x4af293=['52ZpJVoc','263020oozsap','12aPYZmq','serviceDomains','3921768xCdPbv','2961196giYokN','39390NCHJKb','3174396OgeStT','user','106336BfOUXv','accessKeyCreatePath','production','68937lWwKYn','1233EQoSDo'];a106_0x4359=function(){return _0x4af293;};return a106_0x4359();}import{DEFAULT_LOVRABET_REGION}from'../constant/region.js';export function getUserAccessKeyCreateUrl(_0x714bee=DEFAULT_LOVRABET_REGION){const _0xf2f8=a106_0x1936,_0x2cabbe=OFFICIAL_ROUTING_PROFILES[_0x714bee][_0xf2f8(0x88)][_0xf2f8(0x82)][_0xf2f8(0x7f)];return''+_0x2cabbe+PRODUCT_CONFIG[_0xf2f8(0x81)];}function a106_0x1936(_0xb71d3c,_0x2f3be3){_0xb71d3c=_0xb71d3c-0x7e;const _0x43592a=a106_0x4359();let _0x1936ae=_0x43592a[_0xb71d3c];return _0x1936ae;}export const USER_ACCESS_KEY_CREATE_URL=getUserAccessKeyCreateUrl();
package/lib/context.js CHANGED
@@ -1 +1 @@
1
- (function(_0x242c76,_0x4acd4f){const _0x25a74b=a107_0x445c,_0x3ae2a4=_0x242c76();while(!![]){try{const _0x57253d=-parseInt(_0x25a74b(0xbc))/0x1+parseInt(_0x25a74b(0xf1))/0x2+parseInt(_0x25a74b(0xe9))/0x3*(-parseInt(_0x25a74b(0xb8))/0x4)+parseInt(_0x25a74b(0xdf))/0x5*(-parseInt(_0x25a74b(0xac))/0x6)+parseInt(_0x25a74b(0xdb))/0x7+parseInt(_0x25a74b(0xd1))/0x8+-parseInt(_0x25a74b(0xc8))/0x9*(parseInt(_0x25a74b(0xb4))/0xa);if(_0x57253d===_0x4acd4f)break;else _0x3ae2a4['push'](_0x3ae2a4['shift']());}catch(_0x27f5d1){_0x3ae2a4['push'](_0x3ae2a4['shift']());}}}(a107_0x5907,0x354bf));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{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['newConfigFileName'];function resolveConfigPath(_0x182920){for(const _0x3a480a of CONFIG_NAMES){const _0x468190=resolve(_0x182920,_0x3a480a);if(existsSync(_0x468190))return _0x468190;}return undefined;}export function resolveWriteConfigPath(_0x5bf8eb){const _0x1dbea4=a107_0x445c,_0x438a4c=_0x5bf8eb==='project'?process[_0x1dbea4(0xf2)]():homedir(),_0x2fe2b0=resolveConfigPath(_0x438a4c);return _0x2fe2b0??resolve(_0x438a4c,NEW_CONFIG_NAME);}export function readConfigFile(_0x45a5eb){const _0x1ab691=a107_0x445c;try{if(existsSync(_0x45a5eb)){const _0x412255=readFileSync(_0x45a5eb,{'encoding':_0x1ab691(0xb0)});if(_0x412255){const _0x238e9f=JSON[_0x1ab691(0xb6)](_0x412255);return migrateOnlineEnv(_0x45a5eb,_0x238e9f),_0x238e9f;}}}catch{}return{};}function migrateOnlineEnv(_0x497c62,_0xd02858){const _0x19eb0c=a107_0x445c;let _0x47770d=![];_0xd02858['env']===_0x19eb0c(0xc3)&&(_0xd02858[_0x19eb0c(0xbb)]=_0x19eb0c(0xe1),_0x47770d=!![]);if(_0xd02858[_0x19eb0c(0xe8)]&&typeof _0xd02858[_0x19eb0c(0xe8)]===_0x19eb0c(0xce))for(const _0x213df6 of Object[_0x19eb0c(0xf6)](_0xd02858[_0x19eb0c(0xe8)])){_0x213df6&&_0x213df6['env']===_0x19eb0c(0xc3)&&(_0x213df6[_0x19eb0c(0xbb)]=_0x19eb0c(0xe1),_0x47770d=!![]);}if(_0x47770d)try{writeConfigFile(_0x497c62,_0xd02858);}catch{}}function a107_0x5907(){const _0x5937ee=['riskLevel','stdout','format','5070maviMF','host','production','isRaw','app','global','top-level','stringify','find','apps','438612buMmzA','code','inherit','kbServiceDomain','runtimeDomain','project','userDomain','.tmp','858734QdRspc','cwd','defaultApp','routing','hasOwnProperty','values','raw','prototype','accessKey','EACCES','APPCODE','./constant/domain.js','skillDomain','696GjqYCH','project\x20config','locale','EPERM','utf8','./constant/env.js','read','pageSize','1338630GsCYWq','slice','parse','cache','4qfuLIP','isTTY','write','env','98680dbOLwF','argv','setRawMode','setRawCommand','apiDomain','appCode','kbDomain','online','call','string','message','true','36fSzJHF','trim','setLogPath','region','daily','empty','object','VERBOSE','appcode','2120776BzViIV','local-alias','platformDomain','explicit','high-risk-write','some','skillHubDomain','projectConfig','nativeToolAvailable','stdin','2952593eyxQFG'];a107_0x5907=function(){return _0x5937ee;};return a107_0x5907();}export function writeConfigFile(_0x83dcca,_0x4633e){const _0x5adc8d=a107_0x445c,_0x3e7d93=dirname(_0x83dcca);!existsSync(_0x3e7d93)&&mkdirSync(_0x3e7d93,{'recursive':!![]});const _0x48c791=_0x83dcca+_0x5adc8d(0xf0);try{writeFileSync(_0x48c791,JSON[_0x5adc8d(0xe6)](_0x4633e,null,0x2)+'\x0a',{'encoding':_0x5adc8d(0xb0),'mode':0x180});try{renameSync(_0x48c791,_0x83dcca);}catch(_0x630870){if(_0x630870[_0x5adc8d(0xea)]===_0x5adc8d(0xaf)||_0x630870[_0x5adc8d(0xea)]==='EXDEV'||_0x630870[_0x5adc8d(0xea)]===_0x5adc8d(0xfa)){writeFileSync(_0x83dcca,JSON[_0x5adc8d(0xe6)](_0x4633e,null,0x2)+'\x0a',{'encoding':_0x5adc8d(0xb0)});try{unlinkSync(_0x48c791);}catch{}}else throw _0x630870;}}catch(_0x1548ed){try{unlinkSync(_0x48c791);}catch{}throw _0x1548ed;}}export function isNonInteractiveMode(_0xcd61ef){const _0x1952af=a107_0x445c;return!!(_0xcd61ef['nonInteractive']||_0xcd61ef['ci']||productEnvNames('CI')[_0x1952af(0xd6)](_0x306de0=>process.env[_0x306de0]===_0x1952af(0xc7))||process.env.CI==='true'||!process[_0x1952af(0xdd)]['isTTY']||!isStdinRawModeSupported());}function isStdinRawModeSupported(){const _0x3f4a11=a107_0x445c;if(!process[_0x3f4a11(0xda)][_0x3f4a11(0xb9)])return![];try{const _0x3b415e=process[_0x3f4a11(0xda)][_0x3f4a11(0xe2)];return process[_0x3f4a11(0xda)][_0x3f4a11(0xbe)](!![]),process[_0x3f4a11(0xda)][_0x3f4a11(0xbe)](_0x3b415e??![]),!![];}catch{return![];}}export async function createContext(_0x4c1fc1){const _0x42ef57=a107_0x445c,_0x59fe2a=buildConfigFromFlags(_0x4c1fc1);await initGlobalEnvironment(_0x59fe2a);const {getUserDomain:_0x3f7b99,getApiDomain:_0x22772a}=await import(_0x42ef57(0xfc)),_0x14b598={'apiDomain':_0x22772a(),'userDomain':_0x3f7b99()},_0x2a0885=await buildAuth(_0x59fe2a);logger[_0x42ef57(0xca)](process[_0x42ef57(0xf2)]());const _0x105d30=(CLI_BIN_NAME+'\x20'+redactCommandArgv(process[_0x42ef57(0xbd)][_0x42ef57(0xb5)](0x2))['join']('\x20'))[_0x42ef57(0xc9)]();logger[_0x42ef57(0xbf)](_0x105d30);const _0x4f64c2=isNonInteractiveMode(_0x4c1fc1);return{'config':_0x59fe2a,'auth':_0x2a0885,'logger':logger,'env':_0x14b598,'nonInteractive':_0x4f64c2};}export function buildConfigFromFlags(_0x15dfdf){return buildConfig(loadRawConfigLayers(),_0x15dfdf);}export function getLocalAppAliases(_0x491a0b){const _0x4ae39b=a107_0x445c;return _0x491a0b['apps']&&typeof _0x491a0b[_0x4ae39b(0xe8)]===_0x4ae39b(0xce)?_0x491a0b[_0x4ae39b(0xe8)]:{};}function a107_0x445c(_0x474850,_0x3f4f44){_0x474850=_0x474850-0xac;const _0x5907f7=a107_0x5907();let _0x445cd6=_0x5907f7[_0x474850];return _0x445cd6;}export function resolveLocalAppAliasCode(_0x2ebca6,_0x3a311e){const _0x17167b=a107_0x445c;if(!_0x3a311e)return undefined;const _0x12d892=getLocalAppAliases(_0x2ebca6)[_0x3a311e],_0x30f4a5=_0x12d892?.[_0x17167b(0xd0)];return typeof _0x30f4a5===_0x17167b(0xc5)&&_0x30f4a5[_0x17167b(0xc9)]()?_0x30f4a5[_0x17167b(0xc9)]():undefined;}export function readAppCodeFromConfig(){const _0x58b679=a107_0x445c;return buildConfigFromFlags({})[_0x58b679(0xc1)];}export function readScopedConfig(_0x1582a1){const _0x4c0a70=a107_0x445c,_0x1eee50=_0x1582a1['global']?_0x4c0a70(0xe4):'project';return readConfigFile(resolveWriteConfigPath(_0x1eee50));}export function writeScopedConfig(_0x26bbe3,_0x51216f){const _0x3ef56e=a107_0x445c,_0x4ba298=_0x51216f[_0x3ef56e(0xe4)]?_0x3ef56e(0xe4):_0x3ef56e(0xee);writeConfigFile(resolveWriteConfigPath(_0x4ba298),_0x26bbe3);}export async function initGlobalEnvironment(_0x2f3ae9){const _0x5353db=a107_0x445c,{initEnv:_0x2c3210}=await import(_0x5353db(0xb1));_0x2c3210(_0x2f3ae9[_0x5353db(0xbb)]);const {initDomains:_0x41aa77}=await import(_0x5353db(0xfc)),_0x2eb709=resolveEnterpriseRoutingConfig(_0x2f3ae9[_0x5353db(0xf7)][_0x5353db(0xf4)]),_0x3f792b=[_0x5353db(0xc0),_0x5353db(0xe0),_0x5353db(0xef),_0x5353db(0xed),_0x5353db(0xfd),_0x5353db(0xd7),'agentDomain',_0x5353db(0xd3),_0x5353db(0xc2),_0x5353db(0xec)],_0x453e8f=_0x2eb709!==undefined||_0x3f792b[_0x5353db(0xd6)](_0x18db0c=>Object[_0x5353db(0xf8)][_0x5353db(0xf5)][_0x5353db(0xc4)](_0x2f3ae9[_0x5353db(0xf7)],_0x18db0c));_0x41aa77({'apiDomain':_0x2eb709?_0x2eb709[_0x5353db(0xc0)]:_0x2f3ae9['raw'][_0x5353db(0xc0)]||_0x2f3ae9[_0x5353db(0xf7)][_0x5353db(0xe0)]||undefined,'userDomain':_0x2eb709?_0x2eb709[_0x5353db(0xef)]:_0x2f3ae9[_0x5353db(0xf7)][_0x5353db(0xef)]||undefined,'runtimeDomain':_0x2eb709?_0x2eb709[_0x5353db(0xed)]:_0x2f3ae9['raw'][_0x5353db(0xed)]||undefined,'skillDomain':_0x2eb709?_0x2eb709[_0x5353db(0xfd)]:_0x2f3ae9[_0x5353db(0xf7)]['skillDomain']||_0x2f3ae9['raw'][_0x5353db(0xd7)]||_0x2f3ae9[_0x5353db(0xf7)]['agentDomain']||_0x2f3ae9['raw'][_0x5353db(0xd3)]||undefined,'kbServiceDomain':_0x2eb709?_0x2eb709[_0x5353db(0xec)]:typeof _0x2f3ae9[_0x5353db(0xf7)]['kbServiceDomain']==='string'&&_0x2f3ae9[_0x5353db(0xf7)][_0x5353db(0xec)][_0x5353db(0xc9)]()?_0x2f3ae9[_0x5353db(0xf7)][_0x5353db(0xec)]:undefined,'allowOfficialKbServiceDefault':!_0x453e8f,'region':normalizeLovrabetRegion(_0x2f3ae9[_0x5353db(0xf7)][_0x5353db(0xcb)])});}export function getProjectConfigPath(){const _0x1614d9=a107_0x445c;return resolveConfigPath(process[_0x1614d9(0xf2)]());}export function getGlobalConfigPath(){return resolveConfigPath(homedir());}export function inspectCliConfigJsonFile(_0x6f9146){const _0x2f6208=a107_0x445c;if(!existsSync(_0x6f9146))return{'status':'missing'};try{const _0x54af02=readFileSync(_0x6f9146,{'encoding':_0x2f6208(0xb0)});if(!_0x54af02?.[_0x2f6208(0xc9)]())return{'status':_0x2f6208(0xcd)};const _0x3ecf9e=JSON[_0x2f6208(0xb6)](_0x54af02);return{'status':'ok','data':_0x3ecf9e};}catch(_0x548eb3){return{'status':'error','message':_0x548eb3 instanceof Error?_0x548eb3[_0x2f6208(0xc6)]:String(_0x548eb3)};}}export function loadRawConfigLayers(_0x3451f2){const _0x6b3208=a107_0x445c;let _0x197673={},_0x5be2ed={},_0x584dde,_0x206bce;try{_0x584dde=resolveConfigPath(homedir());if(_0x584dde){const _0x201a1c=readFileSync(_0x584dde,{'encoding':_0x6b3208(0xb0)});if(_0x201a1c)_0x197673=JSON['parse'](_0x201a1c);}}catch{}try{const _0xfcd2e5=_0x3451f2||process['cwd']();_0x206bce=resolveConfigPath(_0xfcd2e5);if(_0x206bce){const _0x3a2e2d=readFileSync(_0x206bce,{'encoding':'utf8'});if(_0x3a2e2d)_0x5be2ed=JSON[_0x6b3208(0xb6)](_0x3a2e2d);}}catch{}return{'globalPath':_0x584dde,'projectPath':_0x206bce,'globalConfig':_0x197673,'projectConfig':_0x5be2ed};}function mergeRawConfigLayers(_0x523681){const _0x19b5c2=a107_0x445c,{globalConfig:_0x5c8ee1,projectConfig:_0x5ece78}=_0x523681,_0x55bff6={..._0x5c8ee1,..._0x5ece78};delete _0x55bff6[_0x19b5c2(0xeb)];if(_0x19b5c2(0xf3)in _0x5ece78)_0x55bff6[_0x19b5c2(0xf3)]=_0x5ece78['defaultApp'];else _0x5c8ee1[_0x19b5c2(0xf3)]&&(_0x55bff6[_0x19b5c2(0xf3)]=_0x5c8ee1[_0x19b5c2(0xf3)]);return _0x55bff6;}export function isInProject(){return!!getProjectConfigPath();}export function readRawConfig(_0x9e964c){return mergeRawConfigLayers(loadRawConfigLayers(_0x9e964c));}export function readRawConfigWithLayers(_0x4bc556){const _0x4dda29=loadRawConfigLayers(_0x4bc556);return{'config':mergeRawConfigLayers(_0x4dda29),'layers':_0x4dda29};}export function resolveDefaultAppSource(_0x466f06){const _0x267e62=a107_0x445c;if(_0x267e62(0xf3)in _0x466f06[_0x267e62(0xd8)])return _0x267e62(0xee);if(_0x466f06['globalConfig']['defaultApp'])return'global';return null;}function buildConfig(_0x1b6150,_0x2da30c){const _0x2bbfaf=a107_0x445c,_0xd99854=mergeRawConfigLayers(_0x1b6150),{projectConfig:_0x55e5af}=_0x1b6150,_0x332334=_0xd99854[_0x2bbfaf(0xf3)]||undefined,_0x3ece36=typeof _0x2da30c[_0x2bbfaf(0xd0)]==='string'?_0x2da30c['appcode']:undefined,_0x2abbde=_0x55e5af[_0x2bbfaf(0xd0)]||_0x55e5af[_0x2bbfaf(0xe3)],_0x216efc=!_0x3ece36&&!_0x2da30c[_0x2bbfaf(0xe3)]&&!_0x2abbde&&!_0x55e5af['defaultApp'],_0x5c0414=_0x216efc?env(_0x2bbfaf(0xfb)):undefined,_0x21438a=_0x2da30c[_0x2bbfaf(0xe3)]||(_0x216efc&&!_0x5c0414?env('APP'):undefined),_0x3adaf3=_0x21438a||_0x332334||undefined,_0x28c166=_0x21438a||_0x5c0414?undefined:_0x2abbde||(_0x55e5af[_0x2bbfaf(0xf3)]?undefined:_0xd99854['appcode']||_0xd99854['app']||undefined),_0x3d067b=_0x21438a||(_0x28c166?undefined:_0x332334),_0x26389a=resolveLocalAppAliasCode(_0xd99854,_0x3d067b),_0x14dfbf=productEnvNames('ACCESS_KEY')[_0x2bbfaf(0xe7)](_0x250e43=>process.env[_0x250e43]!==undefined),_0x8ad22c=_0x14dfbf?process.env[_0x14dfbf]:undefined,_0x2360eb=_0x55e5af[_0x2bbfaf(0xf9)]||_0x8ad22c||_0xd99854['accessKey']||undefined,_0x3a827a=_0x55e5af[_0x2bbfaf(0xf9)]?_0x2bbfaf(0xad):_0x8ad22c?_0x14dfbf:_0xd99854['accessKey']?'global\x20config':undefined,_0x27a984=_0x2da30c[_0x2bbfaf(0xbb)]||_0xd99854[_0x2bbfaf(0xbb)]||env('ENV')||DEFAULT_CONFIG_VALUES[_0x2bbfaf(0xbb)],_0x304353=normalizeEnv(String(_0x27a984)),_0x7f5c4a=isDaily(_0x304353)?_0x2bbfaf(0xcc):isDev(_0x304353)?'development':_0x2bbfaf(0xe1),_0x1eb0ab=_0x3ece36||_0x5c0414||_0x28c166||_0x26389a?undefined:resolveCachedAppCode(_0x3d067b,_0x7f5c4a,_0x2360eb),_0x20e393=_0x3ece36||_0x5c0414||_0x28c166||_0x26389a||_0x1eb0ab||undefined,_0x176867=_0x3ece36?_0x2bbfaf(0xd4):_0x5c0414?_0x2bbfaf(0xbb):_0x28c166?_0x2bbfaf(0xe5):_0x26389a?_0x2bbfaf(0xd2):_0x1eb0ab?_0x2bbfaf(0xb7):undefined,_0x494cfc=_0xd99854[_0x2bbfaf(0xae)]||DEFAULT_CONFIG_VALUES[_0x2bbfaf(0xae)],_0xceb05c=undefined,_0x2a0a0f=_0x2da30c[_0x2bbfaf(0xde)]||env('FORMAT')||_0xd99854['format'],_0x2cdf32=normalizeLegacyOutputFormat(_0x2a0a0f),_0x4d8fca=env('PAGE_SIZE')||_0xd99854[_0x2bbfaf(0xb3)],_0x2114d2=_0x4d8fca?Number(_0x4d8fca)||undefined:undefined,_0x1b3718=_0xd99854[_0x2bbfaf(0xdc)],_0x929ec8=_0x1b3718===_0x2bbfaf(0xb2)||_0x1b3718===_0x2bbfaf(0xba)||_0x1b3718===_0x2bbfaf(0xd5)?_0x1b3718:DEFAULT_CONFIG_VALUES[_0x2bbfaf(0xdc)],_0x4c5503=_0xd99854[_0x2bbfaf(0xd9)]===!![],_0x39c37b=env(_0x2bbfaf(0xcf)),_0x52116e=_0x39c37b==='1'||_0x39c37b===_0x2bbfaf(0xc7);return{'appCode':typeof _0x20e393===_0x2bbfaf(0xc5)&&_0x20e393[_0x2bbfaf(0xc9)]()?_0x20e393['trim']():undefined,'appCodeSource':_0x176867,'env':_0x7f5c4a,'locale':_0x494cfc,'cookie':_0xceb05c,'accessKey':_0x2360eb,'accessKeySource':_0x3a827a,'format':_0x2cdf32,'pageSize':_0x2114d2,'riskLevel':_0x929ec8,'nativeToolAvailable':_0x4c5503,'verbose':_0x52116e,'defaultApp':_0x332334,'currentApp':typeof _0x3adaf3===_0x2bbfaf(0xc5)?_0x3adaf3:undefined,'raw':_0xd99854};}function env(_0x10a6b3){return productEnv(_0x10a6b3);}async function buildAuth(_0x2a62ce){const _0x4e6aa4=a107_0x445c,_0x4006ea='',_0x56f97b=!!_0x2a62ce[_0x4e6aa4(0xf9)];return{'cookie':_0x4006ea,'isLoggedIn':_0x56f97b,async 'getOrLogin'(){if(_0x56f97b)return _0x4006ea;throw CliErrors['authRequired']();}};}
1
+ const a107_0x5e3852=a107_0x1bc2;(function(_0x1427aa,_0x746b3f){const _0x18a2a2=a107_0x1bc2,_0x40e133=_0x1427aa();while(!![]){try{const _0x19b06b=-parseInt(_0x18a2a2(0xad))/0x1+parseInt(_0x18a2a2(0xb2))/0x2*(-parseInt(_0x18a2a2(0x8b))/0x3)+-parseInt(_0x18a2a2(0xae))/0x4*(-parseInt(_0x18a2a2(0x7c))/0x5)+-parseInt(_0x18a2a2(0x75))/0x6+parseInt(_0x18a2a2(0x88))/0x7+parseInt(_0x18a2a2(0x80))/0x8*(parseInt(_0x18a2a2(0xbb))/0x9)+parseInt(_0x18a2a2(0x96))/0xa;if(_0x19b06b===_0x746b3f)break;else _0x40e133['push'](_0x40e133['shift']());}catch(_0x523631){_0x40e133['push'](_0x40e133['shift']());}}}(a107_0x37f2,0x7e80a));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';function a107_0x37f2(){const _0x36558d=['pageSize','stdin','string','setRawCommand','production','10772090quqJTn','write','inherit','APPCODE','setRawMode','daily','setLogPath','utf8','global','kbServiceDomain','values','agentDomain','missing','projectConfig','object','app','top-level','locale','isRaw','empty','raw','argv','EPERM','915825IWfMci','28WQyWAk','message','appcode','configFileNames','323462Ksbhes','PAGE_SIZE','routing','true','harnessDomain','parse','format','online','ACCESS_KEY','1017KCItdG','nonInteractive','EXDEV','appCode','platformDomain','globalConfig','development','cache','explicit','read','slice','isTTY','defaultApp','trim','skillDomain','apiDomain','env','userDomain','5695146iQAnWO','code','skillHubDomain','cwd','region','join','APP','570835OlXaPf','project','./constant/domain.js','EACCES','9656xeDMTK','runtimeDomain','global\x20config','stdout','VERBOSE','authRequired','stringify','apps','3724924qOOTvy','accessKey','local-alias','3aHZGBM','nativeToolAvailable','high-risk-write','project\x20config','riskLevel','newConfigFileName'];a107_0x37f2=function(){return _0x36558d;};return a107_0x37f2();}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[a107_0x5e3852(0xb1)];export const NEW_CONFIG_NAME=PRODUCT_CONFIG[a107_0x5e3852(0x90)];function resolveConfigPath(_0x32ff46){for(const _0x38cb2d of CONFIG_NAMES){const _0x57145b=resolve(_0x32ff46,_0x38cb2d);if(existsSync(_0x57145b))return _0x57145b;}return undefined;}export function resolveWriteConfigPath(_0x175b70){const _0x5063e4=a107_0x5e3852,_0x20ba52=_0x175b70==='project'?process[_0x5063e4(0x78)]():homedir(),_0xb4e1e4=resolveConfigPath(_0x20ba52);return _0xb4e1e4??resolve(_0x20ba52,NEW_CONFIG_NAME);}export function readConfigFile(_0x38f4fe){const _0x2d7ed7=a107_0x5e3852;try{if(existsSync(_0x38f4fe)){const _0x1a435c=readFileSync(_0x38f4fe,{'encoding':_0x2d7ed7(0x9d)});if(_0x1a435c){const _0x1718e5=JSON[_0x2d7ed7(0xb7)](_0x1a435c);return migrateOnlineEnv(_0x38f4fe,_0x1718e5),_0x1718e5;}}}catch{}return{};}function migrateOnlineEnv(_0x11898a,_0x5c6638){const _0x4adbd0=a107_0x5e3852;let _0x446810=![];_0x5c6638['env']===_0x4adbd0(0xb9)&&(_0x5c6638['env']=_0x4adbd0(0x95),_0x446810=!![]);if(_0x5c6638[_0x4adbd0(0x87)]&&typeof _0x5c6638[_0x4adbd0(0x87)]===_0x4adbd0(0xa4))for(const _0x4c2ae6 of Object[_0x4adbd0(0xa0)](_0x5c6638[_0x4adbd0(0x87)])){_0x4c2ae6&&_0x4c2ae6[_0x4adbd0(0x73)]==='online'&&(_0x4c2ae6['env']='production',_0x446810=!![]);}if(_0x446810)try{writeConfigFile(_0x11898a,_0x5c6638);}catch{}}export function writeConfigFile(_0x125562,_0x43a284){const _0x1821bf=a107_0x5e3852,_0x355aeb=dirname(_0x125562);!existsSync(_0x355aeb)&&mkdirSync(_0x355aeb,{'recursive':!![]});const _0x101dbc=_0x125562+'.tmp';try{writeFileSync(_0x101dbc,JSON[_0x1821bf(0x86)](_0x43a284,null,0x2)+'\x0a',{'encoding':_0x1821bf(0x9d),'mode':0x180});try{renameSync(_0x101dbc,_0x125562);}catch(_0x4cb6a9){if(_0x4cb6a9[_0x1821bf(0x76)]===_0x1821bf(0xac)||_0x4cb6a9['code']===_0x1821bf(0xbd)||_0x4cb6a9[_0x1821bf(0x76)]===_0x1821bf(0x7f)){writeFileSync(_0x125562,JSON[_0x1821bf(0x86)](_0x43a284,null,0x2)+'\x0a',{'encoding':_0x1821bf(0x9d)});try{unlinkSync(_0x101dbc);}catch{}}else throw _0x4cb6a9;}}catch(_0x1773c4){try{unlinkSync(_0x101dbc);}catch{}throw _0x1773c4;}}export function isNonInteractiveMode(_0x2d3778){const _0x29d9b1=a107_0x5e3852;return!!(_0x2d3778[_0x29d9b1(0xbc)]||_0x2d3778['ci']||productEnvNames('CI')['some'](_0x3ee10f=>process.env[_0x3ee10f]===_0x29d9b1(0xb5))||process.env.CI===_0x29d9b1(0xb5)||!process[_0x29d9b1(0x83)][_0x29d9b1(0xc6)]||!isStdinRawModeSupported());}function isStdinRawModeSupported(){const _0x9e5a9f=a107_0x5e3852;if(!process[_0x9e5a9f(0x92)][_0x9e5a9f(0xc6)])return![];try{const _0x162e35=process[_0x9e5a9f(0x92)][_0x9e5a9f(0xa8)];return process['stdin'][_0x9e5a9f(0x9a)](!![]),process[_0x9e5a9f(0x92)]['setRawMode'](_0x162e35??![]),!![];}catch{return![];}}export async function createContext(_0x491461){const _0x3dd713=a107_0x5e3852,_0x27c975=buildConfigFromFlags(_0x491461);await initGlobalEnvironment(_0x27c975);const {getUserDomain:_0x24b476,getApiDomain:_0x5ce411}=await import(_0x3dd713(0x7e)),_0x33b2b3={'apiDomain':_0x5ce411(),'userDomain':_0x24b476()},_0x69be7b=await buildAuth(_0x27c975);logger[_0x3dd713(0x9c)](process[_0x3dd713(0x78)]());const _0x5da480=(CLI_BIN_NAME+'\x20'+redactCommandArgv(process[_0x3dd713(0xab)][_0x3dd713(0xc5)](0x2))[_0x3dd713(0x7a)]('\x20'))[_0x3dd713(0x70)]();logger[_0x3dd713(0x94)](_0x5da480);const _0x2e9ccb=isNonInteractiveMode(_0x491461);return{'config':_0x27c975,'auth':_0x69be7b,'logger':logger,'env':_0x33b2b3,'nonInteractive':_0x2e9ccb};}export function buildConfigFromFlags(_0x10f4ae){return buildConfig(loadRawConfigLayers(),_0x10f4ae);}export function getLocalAppAliases(_0x2f7c7a){const _0x579d2d=a107_0x5e3852;return _0x2f7c7a['apps']&&typeof _0x2f7c7a[_0x579d2d(0x87)]===_0x579d2d(0xa4)?_0x2f7c7a[_0x579d2d(0x87)]:{};}export function resolveLocalAppAliasCode(_0x1464c7,_0x4ee18c){const _0x2cea8b=a107_0x5e3852;if(!_0x4ee18c)return undefined;const _0x294b66=getLocalAppAliases(_0x1464c7)[_0x4ee18c],_0x2c8302=_0x294b66?.[_0x2cea8b(0xb0)];return typeof _0x2c8302==='string'&&_0x2c8302[_0x2cea8b(0x70)]()?_0x2c8302[_0x2cea8b(0x70)]():undefined;}export function readAppCodeFromConfig(){const _0x3dbcbb=a107_0x5e3852;return buildConfigFromFlags({})[_0x3dbcbb(0xbe)];}export function readScopedConfig(_0x146593){const _0x36d51c=a107_0x5e3852,_0x505618=_0x146593[_0x36d51c(0x9e)]?_0x36d51c(0x9e):_0x36d51c(0x7d);return readConfigFile(resolveWriteConfigPath(_0x505618));}export function writeScopedConfig(_0x2bed68,_0xace569){const _0x593673=a107_0x5e3852,_0x252abc=_0xace569[_0x593673(0x9e)]?_0x593673(0x9e):_0x593673(0x7d);writeConfigFile(resolveWriteConfigPath(_0x252abc),_0x2bed68);}export async function initGlobalEnvironment(_0x11dfb9){const _0x16526e=a107_0x5e3852,{initEnv:_0x54347d}=await import('./constant/env.js');_0x54347d(_0x11dfb9[_0x16526e(0x73)]);const {initDomains:_0x4dfda1}=await import(_0x16526e(0x7e)),_0xb2a94e=resolveEnterpriseRoutingConfig(_0x11dfb9['raw'][_0x16526e(0xb4)]);_0x4dfda1({'apiDomain':_0xb2a94e?_0xb2a94e['apiDomain']:_0x11dfb9[_0x16526e(0xaa)][_0x16526e(0x72)]||_0x11dfb9[_0x16526e(0xaa)]['host']||undefined,'userDomain':_0xb2a94e?_0xb2a94e[_0x16526e(0x74)]:_0x11dfb9['raw']['userDomain']||undefined,'runtimeDomain':_0xb2a94e?_0xb2a94e[_0x16526e(0x81)]:_0x11dfb9[_0x16526e(0xaa)]['runtimeDomain']||undefined,'skillDomain':_0xb2a94e?_0xb2a94e[_0x16526e(0x71)]:_0x11dfb9[_0x16526e(0xaa)][_0x16526e(0x71)]||_0x11dfb9[_0x16526e(0xaa)][_0x16526e(0x77)]||_0x11dfb9['raw'][_0x16526e(0xa1)]||_0x11dfb9[_0x16526e(0xaa)][_0x16526e(0xbf)]||undefined,'kbServiceDomain':_0xb2a94e?_0xb2a94e[_0x16526e(0x9f)]:typeof _0x11dfb9[_0x16526e(0xaa)][_0x16526e(0x9f)]===_0x16526e(0x93)&&_0x11dfb9['raw'][_0x16526e(0x9f)]['trim']()?_0x11dfb9[_0x16526e(0xaa)][_0x16526e(0x9f)]:undefined,'harnessDomain':_0xb2a94e?_0xb2a94e[_0x16526e(0xb6)]:_0x11dfb9[_0x16526e(0xaa)][_0x16526e(0xb6)]===undefined?undefined:normalizeDomainOrigin(_0x16526e(0xb6),_0x11dfb9[_0x16526e(0xaa)][_0x16526e(0xb6)]),'region':normalizeLovrabetRegion(_0x11dfb9['raw'][_0x16526e(0x79)])});}export function getProjectConfigPath(){const _0x3118cc=a107_0x5e3852;return resolveConfigPath(process[_0x3118cc(0x78)]());}export function getGlobalConfigPath(){return resolveConfigPath(homedir());}function a107_0x1bc2(_0x267430,_0x24ec71){_0x267430=_0x267430-0x70;const _0x37f296=a107_0x37f2();let _0x1bc2c2=_0x37f296[_0x267430];return _0x1bc2c2;}export function inspectCliConfigJsonFile(_0x96c440){const _0x29174e=a107_0x5e3852;if(!existsSync(_0x96c440))return{'status':_0x29174e(0xa2)};try{const _0x4dfaf9=readFileSync(_0x96c440,{'encoding':'utf8'});if(!_0x4dfaf9?.[_0x29174e(0x70)]())return{'status':_0x29174e(0xa9)};const _0x13623f=JSON[_0x29174e(0xb7)](_0x4dfaf9);return{'status':'ok','data':_0x13623f};}catch(_0x4cc20e){return{'status':'error','message':_0x4cc20e instanceof Error?_0x4cc20e[_0x29174e(0xaf)]:String(_0x4cc20e)};}}export function loadRawConfigLayers(_0x6ad925){const _0x4cb58c=a107_0x5e3852;let _0x2c016d={},_0x921f5a={},_0x365d04,_0x51a147;try{_0x365d04=resolveConfigPath(homedir());if(_0x365d04){const _0x994bf3=readFileSync(_0x365d04,{'encoding':_0x4cb58c(0x9d)});if(_0x994bf3)_0x2c016d=JSON[_0x4cb58c(0xb7)](_0x994bf3);}}catch{}try{const _0x5846da=_0x6ad925||process[_0x4cb58c(0x78)]();_0x51a147=resolveConfigPath(_0x5846da);if(_0x51a147){const _0x92ff4c=readFileSync(_0x51a147,{'encoding':_0x4cb58c(0x9d)});if(_0x92ff4c)_0x921f5a=JSON[_0x4cb58c(0xb7)](_0x92ff4c);}}catch{}return{'globalPath':_0x365d04,'projectPath':_0x51a147,'globalConfig':_0x2c016d,'projectConfig':_0x921f5a};}function mergeRawConfigLayers(_0x38282f){const _0x5c71e8=a107_0x5e3852,{globalConfig:_0x124ffb,projectConfig:_0x4ca86d}=_0x38282f,_0x263771={..._0x124ffb,..._0x4ca86d};delete _0x263771[_0x5c71e8(0x98)];if(_0x5c71e8(0xc7)in _0x4ca86d)_0x263771[_0x5c71e8(0xc7)]=_0x4ca86d[_0x5c71e8(0xc7)];else _0x124ffb[_0x5c71e8(0xc7)]&&(_0x263771[_0x5c71e8(0xc7)]=_0x124ffb[_0x5c71e8(0xc7)]);return _0x263771;}export function isInProject(){return!!getProjectConfigPath();}export function readRawConfig(_0x1bdd8f){return mergeRawConfigLayers(loadRawConfigLayers(_0x1bdd8f));}export function readRawConfigWithLayers(_0x870e2e){const _0x44ce4=loadRawConfigLayers(_0x870e2e);return{'config':mergeRawConfigLayers(_0x44ce4),'layers':_0x44ce4};}export function resolveDefaultAppSource(_0x109a76){const _0x445c8a=a107_0x5e3852;if(_0x445c8a(0xc7)in _0x109a76[_0x445c8a(0xa3)])return _0x445c8a(0x7d);if(_0x109a76[_0x445c8a(0xc0)]['defaultApp'])return _0x445c8a(0x9e);return null;}function buildConfig(_0x4d1cde,_0x33bd28){const _0x5f3595=a107_0x5e3852,_0x4aea39=mergeRawConfigLayers(_0x4d1cde),{projectConfig:_0x35de23}=_0x4d1cde,_0x297e1c=_0x4aea39['defaultApp']||undefined,_0x391e6a=typeof _0x33bd28[_0x5f3595(0xb0)]===_0x5f3595(0x93)?_0x33bd28['appcode']:undefined,_0x22898b=_0x35de23[_0x5f3595(0xb0)]||_0x35de23['app'],_0x514f7b=!_0x391e6a&&!_0x33bd28[_0x5f3595(0xa5)]&&!_0x22898b&&!_0x35de23[_0x5f3595(0xc7)],_0x585e0e=_0x514f7b?env(_0x5f3595(0x99)):undefined,_0xf1a1ef=_0x33bd28[_0x5f3595(0xa5)]||(_0x514f7b&&!_0x585e0e?env(_0x5f3595(0x7b)):undefined),_0x472cc5=_0xf1a1ef||_0x297e1c||undefined,_0x502d6c=_0xf1a1ef||_0x585e0e?undefined:_0x22898b||(_0x35de23[_0x5f3595(0xc7)]?undefined:_0x4aea39[_0x5f3595(0xb0)]||_0x4aea39[_0x5f3595(0xa5)]||undefined),_0x14c45a=_0xf1a1ef||(_0x502d6c?undefined:_0x297e1c),_0x1afaeb=resolveLocalAppAliasCode(_0x4aea39,_0x14c45a),_0xcb4d9f=productEnvNames(_0x5f3595(0xba))['find'](_0x411aa2=>process.env[_0x411aa2]!==undefined),_0x22f81d=_0xcb4d9f?process.env[_0xcb4d9f]:undefined,_0x34e7bb=_0x35de23['accessKey']||_0x22f81d||_0x4aea39[_0x5f3595(0x89)]||undefined,_0x9191d=_0x35de23['accessKey']?_0x5f3595(0x8e):_0x22f81d?_0xcb4d9f:_0x4aea39[_0x5f3595(0x89)]?_0x5f3595(0x82):undefined,_0x4fef08=_0x33bd28[_0x5f3595(0x73)]||_0x4aea39[_0x5f3595(0x73)]||env('ENV')||DEFAULT_CONFIG_VALUES[_0x5f3595(0x73)],_0xed6a03=normalizeEnv(String(_0x4fef08)),_0x5e1190=isDaily(_0xed6a03)?_0x5f3595(0x9b):isDev(_0xed6a03)?_0x5f3595(0xc1):_0x5f3595(0x95),_0x44ff6c=_0x391e6a||_0x585e0e||_0x502d6c||_0x1afaeb?undefined:resolveCachedAppCode(_0x14c45a,_0x5e1190,_0x34e7bb),_0x43ce96=_0x391e6a||_0x585e0e||_0x502d6c||_0x1afaeb||_0x44ff6c||undefined,_0x23bda3=_0x391e6a?_0x5f3595(0xc3):_0x585e0e?_0x5f3595(0x73):_0x502d6c?_0x5f3595(0xa6):_0x1afaeb?_0x5f3595(0x8a):_0x44ff6c?_0x5f3595(0xc2):undefined,_0x4bca7c=_0x4aea39[_0x5f3595(0xa7)]||DEFAULT_CONFIG_VALUES[_0x5f3595(0xa7)],_0x13ca08=undefined,_0x4d10d9=_0x33bd28[_0x5f3595(0xb8)]||env('FORMAT')||_0x4aea39[_0x5f3595(0xb8)],_0x225775=normalizeLegacyOutputFormat(_0x4d10d9),_0x32c156=env(_0x5f3595(0xb3))||_0x4aea39[_0x5f3595(0x91)],_0x173880=_0x32c156?Number(_0x32c156)||undefined:undefined,_0x31b5fb=_0x4aea39[_0x5f3595(0x8f)],_0x506cae=_0x31b5fb===_0x5f3595(0xc4)||_0x31b5fb===_0x5f3595(0x97)||_0x31b5fb===_0x5f3595(0x8d)?_0x31b5fb:DEFAULT_CONFIG_VALUES['riskLevel'],_0x28b777=_0x4aea39[_0x5f3595(0x8c)]===!![],_0x21bbb2=env(_0x5f3595(0x84)),_0x33c57d=_0x21bbb2==='1'||_0x21bbb2===_0x5f3595(0xb5);return{'appCode':typeof _0x43ce96==='string'&&_0x43ce96[_0x5f3595(0x70)]()?_0x43ce96[_0x5f3595(0x70)]():undefined,'appCodeSource':_0x23bda3,'env':_0x5e1190,'locale':_0x4bca7c,'cookie':_0x13ca08,'accessKey':_0x34e7bb,'accessKeySource':_0x9191d,'format':_0x225775,'pageSize':_0x173880,'riskLevel':_0x506cae,'nativeToolAvailable':_0x28b777,'verbose':_0x33c57d,'defaultApp':_0x297e1c,'currentApp':typeof _0x472cc5==='string'?_0x472cc5:undefined,'raw':_0x4aea39};}function env(_0x37661b){return productEnv(_0x37661b);}async function buildAuth(_0x29af03){const _0x2501d8=a107_0x5e3852,_0x66f72e='',_0x16780d=!!_0x29af03[_0x2501d8(0x89)];return{'cookie':_0x66f72e,'isLoggedIn':_0x16780d,async 'getOrLogin'(){const _0x533209=_0x2501d8;if(_0x16780d)return _0x66f72e;throw CliErrors[_0x533209(0x85)]();}};}