@lovrabet/lovrabet-cli 2.3.10-beta.2 → 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 (192) 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.js +1 -1
  26. package/lib/commands/config/shared.js +1 -1
  27. package/lib/commands/data/import-excel.js +1 -1
  28. package/lib/commands/data/index.js +1 -1
  29. package/lib/commands/dataset/detail.js +1 -1
  30. package/lib/commands/dataset/index.js +1 -1
  31. package/lib/commands/dataset/list.js +1 -1
  32. package/lib/commands/dataset/sdk-doc.js +1 -1
  33. package/lib/commands/doctor.js +1 -1
  34. package/lib/commands/file/index.js +1 -1
  35. package/lib/commands/init.js +1 -1
  36. package/lib/commands/issue/context.js +1 -1
  37. package/lib/commands/issue/index.js +1 -1
  38. package/lib/commands/issue/report.js +1 -1
  39. package/lib/commands/kb/index.js +1 -1
  40. package/lib/commands/logs/index.js +1 -1
  41. package/lib/commands/notification/config-list.js +1 -1
  42. package/lib/commands/notification/index.js +1 -1
  43. package/lib/commands/notification/shared.js +1 -1
  44. package/lib/commands/ocr/index.js +1 -1
  45. package/lib/commands/permit/dataset-get.js +1 -1
  46. package/lib/commands/permit/dataset-set.js +1 -1
  47. package/lib/commands/permit/index.js +1 -1
  48. package/lib/commands/permit/page-get.js +1 -1
  49. package/lib/commands/permit/page-set.js +1 -1
  50. package/lib/commands/permit/role-menus-set.js +1 -1
  51. package/lib/commands/permit/role-menus.js +1 -1
  52. package/lib/commands/permit/shared.js +1 -1
  53. package/lib/commands/personal-bff/index.js +1 -1
  54. package/lib/commands/registry.js +1 -1
  55. package/lib/commands/role/create.js +1 -1
  56. package/lib/commands/role/delete.js +1 -1
  57. package/lib/commands/role/detail.js +1 -1
  58. package/lib/commands/role/index.js +1 -1
  59. package/lib/commands/role/list.js +1 -1
  60. package/lib/commands/role/shared.js +1 -1
  61. package/lib/commands/role/update.js +1 -1
  62. package/lib/commands/role/user-add.js +1 -1
  63. package/lib/commands/role/user-remove.js +1 -1
  64. package/lib/commands/schedule/index.js +1 -1
  65. package/lib/commands/schema.js +1 -1
  66. package/lib/commands/service/dynamic.js +1 -1
  67. package/lib/commands/service/function-name-adapter.js +1 -1
  68. package/lib/commands/service/index.js +1 -1
  69. package/lib/commands/service/registry.js +1 -1
  70. package/lib/commands/skill/commands/create.js +1 -1
  71. package/lib/commands/skill/commands/diagram.js +1 -1
  72. package/lib/commands/skill/commands/install.js +1 -1
  73. package/lib/commands/skill/commands/list.js +1 -1
  74. package/lib/commands/skill/commands/push.js +1 -1
  75. package/lib/commands/skill/commands/validate.js +1 -1
  76. package/lib/commands/skill/diagram.js +1 -1
  77. package/lib/commands/skill/flags.js +1 -1
  78. package/lib/commands/skill/index.js +1 -1
  79. package/lib/commands/skill/manifest-helpers.js +1 -1
  80. package/lib/commands/skill/push-execute.js +1 -1
  81. package/lib/commands/skill/push-flow-helpers.js +1 -1
  82. package/lib/commands/skill/push-retarget.js +1 -1
  83. package/lib/commands/skill/scopes.js +1 -1
  84. package/lib/commands/skill/summary.js +1 -1
  85. package/lib/commands/skill/templates.js +1 -1
  86. package/lib/commands/skill/validate.js +1 -1
  87. package/lib/commands/sql/detail.js +1 -1
  88. package/lib/commands/sql/exec.js +1 -1
  89. package/lib/commands/sql/index.js +1 -1
  90. package/lib/commands/update.js +1 -1
  91. package/lib/commands/user-account/bind.js +1 -1
  92. package/lib/commands/user-account/index.js +1 -1
  93. package/lib/commands/workspace/index.js +1 -1
  94. package/lib/config/domain-config.js +1 -1
  95. package/lib/config/schema.js +1 -1
  96. package/lib/constant/app.js +1 -1
  97. package/lib/constant/auth-mode.js +1 -1
  98. package/lib/constant/cli.js +1 -1
  99. package/lib/constant/defaults.js +1 -1
  100. package/lib/constant/distribution.js +1 -1
  101. package/lib/constant/domain.d.ts +1 -3
  102. package/lib/constant/domain.js +1 -1
  103. package/lib/constant/env.js +1 -1
  104. package/lib/constant/output.js +1 -1
  105. package/lib/constant/product.js +1 -1
  106. package/lib/constant/region.js +1 -1
  107. package/lib/constant/risk.js +1 -1
  108. package/lib/constant/url.js +1 -1
  109. package/lib/context.js +1 -1
  110. package/lib/core/api-client.js +1 -1
  111. package/lib/core/db-resolver.js +1 -1
  112. package/lib/core/kb-management-client.js +1 -1
  113. package/lib/core/kb-sdk-errors.js +1 -1
  114. package/lib/core/kb-search-client.js +1 -1
  115. package/lib/core/sdk-client.js +1 -1
  116. package/lib/errors.js +1 -1
  117. package/lib/framework/access-error.js +1 -1
  118. package/lib/framework/build-all-flags.js +1 -1
  119. package/lib/framework/dryrun.js +1 -1
  120. package/lib/framework/flags.js +1 -1
  121. package/lib/framework/help.js +1 -1
  122. package/lib/framework/index.js +1 -1
  123. package/lib/framework/output.js +1 -1
  124. package/lib/framework/preparse.js +1 -1
  125. package/lib/framework/rate-limit.js +1 -1
  126. package/lib/framework/raw-flags.js +1 -1
  127. package/lib/framework/response.js +1 -1
  128. package/lib/framework/runner-confirmation.js +1 -1
  129. package/lib/framework/runner-error.js +1 -1
  130. package/lib/framework/runner.js +1 -1
  131. package/lib/framework/schema-export.js +1 -1
  132. package/lib/framework/service-order.js +1 -1
  133. package/lib/framework/types.js +1 -1
  134. package/lib/generated/build-info.d.ts +4 -4
  135. package/lib/generated/build-info.js +1 -1
  136. package/lib/generated/official-routing.d.ts +4 -1
  137. package/lib/generated/official-routing.js +1 -1
  138. package/lib/generated/routing-contract.d.ts +2 -2
  139. package/lib/generated/routing-contract.js +1 -1
  140. package/lib/help.js +1 -1
  141. package/lib/postinstall.js +1 -1
  142. package/lib/runtime/confirmation.js +1 -1
  143. package/lib/runtime/event.js +1 -1
  144. package/lib/runtime/index.js +1 -1
  145. package/lib/runtime/queue.js +1 -1
  146. package/lib/runtime/resolve.js +1 -1
  147. package/lib/services/dataset-import/auto-id-runner.js +1 -1
  148. package/lib/services/dataset-import/excel-reader.js +1 -1
  149. package/lib/services/dataset-import/image-bytes.js +1 -1
  150. package/lib/services/dataset-import/image-ooxml.js +1 -1
  151. package/lib/services/dataset-import/image-runner.js +1 -1
  152. package/lib/services/dataset-import/metadata.js +1 -1
  153. package/lib/services/dataset-import/preview.js +1 -1
  154. package/lib/services/dataset-import/runner.js +1 -1
  155. package/lib/skills/builtin-skill.js +1 -1
  156. package/lib/skills/npx-skills-add.js +1 -1
  157. package/lib/skills/runtime-skill-sync/constants.js +1 -1
  158. package/lib/skills/runtime-skill-sync/fs-utils.js +1 -1
  159. package/lib/skills/runtime-skill-sync/hashing.js +1 -1
  160. package/lib/skills/runtime-skill-sync/install-target.js +1 -1
  161. package/lib/skills/runtime-skill-sync/links.js +1 -1
  162. package/lib/skills/runtime-skill-sync/list-local.js +1 -1
  163. package/lib/skills/runtime-skill-sync/local-files.js +1 -1
  164. package/lib/skills/runtime-skill-sync/materialize.js +1 -1
  165. package/lib/skills/runtime-skill-sync/metadata.js +1 -1
  166. package/lib/skills/runtime-skill-sync/paths.js +1 -1
  167. package/lib/skills/runtime-skill-sync/push.js +1 -1
  168. package/lib/skills/runtime-skill-sync/scopes.js +1 -1
  169. package/lib/skills/runtime-skill-sync/zip-codec.js +1 -1
  170. package/lib/skills/runtime-skill-sync/zip-package.js +1 -1
  171. package/lib/skills/runtime-skill-sync.js +1 -1
  172. package/lib/skills/skill-presence.js +1 -1
  173. package/lib/utils/access-key-redaction.js +1 -1
  174. package/lib/utils/apply-jq-filter.js +1 -1
  175. package/lib/utils/cli-version-check.js +1 -1
  176. package/lib/utils/cli-version-policy.js +1 -1
  177. package/lib/utils/logger.js +1 -1
  178. package/lib/utils/lossless-json.js +1 -1
  179. package/lib/utils/params.js +1 -1
  180. package/lib/utils/positive-safe-integer.js +1 -1
  181. package/lib/utils/redaction.js +1 -1
  182. package/lib/utils/runtime-user-id.js +1 -1
  183. package/lib/utils/update-notice.js +1 -1
  184. package/lib/utils/version.js +1 -1
  185. package/lib/utils/write-cli-side-channel.js +1 -1
  186. package/package.json +1 -1
  187. package/skills/lovrabet/SKILL.md +1 -1
  188. package/skills/lovrabet/references/lovrabet-config-commands.md +17 -33
  189. package/skills/lovrabet/references/lovrabet-config.md +11 -3
  190. package/skills/lovrabet/references/lovrabet-doctor.md +1 -1
  191. package/skills/lovrabet/references/lovrabet-kb-workflow.md +4 -4
  192. package/skills/lovrabet.manifest.json +3 -3
@@ -1 +1 @@
1
- const a94_0x17bbad=a94_0x2fa6;(function(_0x2ccc05,_0x280f67){const _0x4a2054=a94_0x2fa6,_0x1255dc=_0x2ccc05();while(!![]){try{const _0x30d27e=parseInt(_0x4a2054(0x1b9))/0x1+parseInt(_0x4a2054(0x1a7))/0x2+-parseInt(_0x4a2054(0x1b0))/0x3+-parseInt(_0x4a2054(0x1b2))/0x4*(-parseInt(_0x4a2054(0x1ae))/0x5)+-parseInt(_0x4a2054(0x1a6))/0x6*(-parseInt(_0x4a2054(0x1ad))/0x7)+-parseInt(_0x4a2054(0x1ab))/0x8+-parseInt(_0x4a2054(0x1a9))/0x9;if(_0x30d27e===_0x280f67)break;else _0x1255dc['push'](_0x1255dc['shift']());}catch(_0x384843){_0x1255dc['push'](_0x1255dc['shift']());}}}(a94_0x29ab,0xbb504));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':'Lovrabet\x20region','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_0x17bbad(0x1ba)],'importable':!![]},'format':{'description':'Default\x20output\x20format','topLevel':!![],'cliSettableTopLevel':!![],'enumValues':OUTPUT_FORMAT_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES[a94_0x17bbad(0x1a5)],'importable':!![]},'pageSize':{'description':a94_0x17bbad(0x1af),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'apiDomain':{'description':'Override\x20API\x20domain','topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'userDomain':{'description':a94_0x17bbad(0x1bc),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'runtimeDomain':{'description':a94_0x17bbad(0x1b7),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'skillDomain':{'description':a94_0x17bbad(0x1ac),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'kbServiceDomain':{'description':a94_0x17bbad(0x1a2),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'harnessDomain':{'description':a94_0x17bbad(0x19e),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'accessKey':{'description':'Access\x20key\x20(client-ak\x20auth)','topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'riskLevel':{'description':'Risk\x20level','topLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES[a94_0x17bbad(0x1aa)],'importable':!![]},'nativeToolAvailable':{'description':'Native\x20Lovrabet\x20tool\x20availability\x20in\x20the\x20current\x20execution\x20host','topLevel':!![],'defaultValue':![]},'locale':{'description':a94_0x17bbad(0x1a4),'topLevel':!![],'cliSettableTopLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES[a94_0x17bbad(0x1b6)],'importable':!![]}};export const TOP_LEVEL_CONFIG_KEYS=new Set(Object['entries'](CONFIG_FIELD_SCHEMAS)['filter'](([,_0x49d3b5])=>_0x49d3b5['cliSettableTopLevel'])[a94_0x17bbad(0x19f)](([_0x15c10c])=>_0x15c10c));function a94_0x2fa6(_0x45f8c0,_0x18ce60){_0x45f8c0=_0x45f8c0-0x19e;const _0x29ab61=a94_0x29ab();let _0x2fa66a=_0x29ab61[_0x45f8c0];return _0x2fa66a;}export const CLI_PROTECTED_CONFIG_KEYS=new Set([a94_0x17bbad(0x1aa),'nativeToolAvailable']);export const CONFIG_ENUM_VALUES=Object[a94_0x17bbad(0x1b5)](Object[a94_0x17bbad(0x1a3)](CONFIG_FIELD_SCHEMAS)[a94_0x17bbad(0x1b4)](([,_0x51dfc4])=>_0x51dfc4['enumValues'])[a94_0x17bbad(0x19f)](([_0x5f3763,_0x425c6c])=>[_0x5f3763,[..._0x425c6c[a94_0x17bbad(0x1be)]||[]]]));function a94_0x29ab(){const _0x424d5b=['importable','filter','fromEntries','locale','Override\x20runtime\x20domain','has','1448343Ejizah','env','Config\x20key.\x20Top-level:\x20','Override\x20user\x20domain','en-US','enumValues','Override\x20Harness\x20domain','map',';\x20local\x20alias:\x20apps.<alias>.appcode','toLowerCase','Override\x20KB\x20Service\x20domain','entries','App\x20locale\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)','format','234rdtAci','111422wFoOVy','legacyCompatOnly','5098833FBUnce','riskLevel','1123176jDHbUo','Override\x20SkillHub\x20domain','91077lGtYsv','225ESuCnt','Default\x20page\x20size','2257644xPFHoX','zh-CN','19132ChBZAa'];a94_0x29ab=function(){return _0x424d5b;};return a94_0x29ab();}export const IMPORTABLE_RUNTIME_CONFIG_KEYS=Object[a94_0x17bbad(0x1a3)](CONFIG_FIELD_SCHEMAS)[a94_0x17bbad(0x1b4)](([,_0x339ca6])=>_0x339ca6[a94_0x17bbad(0x1b3)])['map'](([_0x52ffac])=>_0x52ffac);export function getConfigFieldSchema(_0x2b62ee){return CONFIG_FIELD_SCHEMAS[_0x2b62ee];}export function getConfigEnumValues(_0x134971){const _0x2a1dc4=a94_0x17bbad;return getConfigFieldSchema(_0x134971)?.[_0x2a1dc4(0x1be)];}export function getConfigDefaultValue(_0xbb0b51){return getConfigFieldSchema(_0xbb0b51)?.['defaultValue'];}export function isTopLevelConfigKey(_0x41125d){return TOP_LEVEL_CONFIG_KEYS['has'](_0x41125d);}export function isCliProtectedConfigKey(_0xb5f306){const _0x160f04=a94_0x17bbad;return CLI_PROTECTED_CONFIG_KEYS[_0x160f04(0x1b8)](_0xb5f306);}const LOCALE_MAP={'zh':'zh-CN','zh-cn':a94_0x17bbad(0x1b1),'zh_cn':a94_0x17bbad(0x1b1),'en':a94_0x17bbad(0x1bd),'en-us':'en-US','en_us':a94_0x17bbad(0x1bd)};export function normalizeLocale(_0x38052d){const _0x555a85=a94_0x17bbad;if(!_0x38052d)return null;return LOCALE_MAP[_0x38052d[_0x555a85(0x1a1)]()]??null;}export function isLegacyCompatConfigKey(_0x5e1517){const _0x1023b5=a94_0x17bbad;return getConfigFieldSchema(_0x5e1517)?.[_0x1023b5(0x1a8)]===!![];}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function formatConfigKeyList(_0xcd489b){return[..._0xcd489b]['join'](',\x20');}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x17df22=a94_0x17bbad;return _0x17df22(0x1bb)+getTopLevelConfigKeySummary()+_0x17df22(0x1a0);}export function buildAppProfileListFields(_0x5aedbb){return{'env':_0x5aedbb,'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_0xc0bc(){const _0x38a838=['43879FolJMP','116XEYLgk','1vXDHLj','81SgZqYj','2248716OYdEIh','846352ZNrZJr','Published','47555SoTbOn','83139IqAiFG','11325310nzRpIL','1129466vgeiNM','11904DAiCBe','498qroVOm','UNPUBLISH'];a95_0xc0bc=function(){return _0x38a838;};return a95_0xc0bc();}const a95_0x55527f=a95_0x7964;(function(_0x4b93d4,_0x2445d9){const _0x4eb7f2=a95_0x7964,_0x3a81a8=_0x4b93d4();while(!![]){try{const _0x1c0008=-parseInt(_0x4eb7f2(0x136))/0x1*(-parseInt(_0x4eb7f2(0x13e))/0x2)+-parseInt(_0x4eb7f2(0x138))/0x3+-parseInt(_0x4eb7f2(0x135))/0x4*(-parseInt(_0x4eb7f2(0x13b))/0x5)+-parseInt(_0x4eb7f2(0x132))/0x6*(parseInt(_0x4eb7f2(0x13c))/0x7)+parseInt(_0x4eb7f2(0x139))/0x8*(-parseInt(_0x4eb7f2(0x137))/0x9)+-parseInt(_0x4eb7f2(0x13d))/0xa+parseInt(_0x4eb7f2(0x134))/0xb*(parseInt(_0x4eb7f2(0x13f))/0xc);if(_0x1c0008===_0x2445d9)break;else _0x3a81a8['push'](_0x3a81a8['shift']());}catch(_0x1775ee){_0x3a81a8['push'](_0x3a81a8['shift']());}}}(a95_0xc0bc,0xeeac0));export const APP_PUBLISH_STATUS={'Published':'PUBLISHED','Unpublished':a95_0x55527f(0x133)};function a95_0x7964(_0x555b63,_0x1896c1){_0x555b63=_0x555b63-0x132;const _0xc0bc3b=a95_0xc0bc();let _0x79641b=_0xc0bc3b[_0x555b63];return _0x79641b;}export const RUNTIME_ACCESSIBLE_APP_STATUS=APP_PUBLISH_STATUS[a95_0x55527f(0x13a)];
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_0xc5ff07=a96_0x59f4;function a96_0x59f4(_0x5b74b0,_0x16d9af){_0x5b74b0=_0x5b74b0-0xc8;const _0x4f0a34=a96_0x4f0a();let _0x59f40b=_0x4f0a34[_0x5b74b0];return _0x59f40b;}function a96_0x4f0a(){const _0x51bcff=['2583216AHJEtm','10aRQlxv','500226LQdylU','4866984xTpche','1188725QpEjIt','ClientAk','8dOevrG','5968098XLOrLb','4905922ajNnvq','client-ak','67931GLVDSx'];a96_0x4f0a=function(){return _0x51bcff;};return a96_0x4f0a();}(function(_0x1a8266,_0x503f5d){const _0x7e2edd=a96_0x59f4,_0x327466=_0x1a8266();while(!![]){try{const _0x2b56e8=parseInt(_0x7e2edd(0xcd))/0x1*(-parseInt(_0x7e2edd(0xcf))/0x2)+parseInt(_0x7e2edd(0xd0))/0x3*(-parseInt(_0x7e2edd(0xc9))/0x4)+-parseInt(_0x7e2edd(0xd2))/0x5+parseInt(_0x7e2edd(0xd1))/0x6+parseInt(_0x7e2edd(0xcb))/0x7+-parseInt(_0x7e2edd(0xce))/0x8+parseInt(_0x7e2edd(0xca))/0x9;if(_0x2b56e8===_0x503f5d)break;else _0x327466['push'](_0x327466['shift']());}catch(_0x34f30b){_0x327466['push'](_0x327466['shift']());}}}(a96_0x4f0a,0xe5d22));export const AUTH_MODE={'ClientAk':a96_0xc5ff07(0xcc)};export function isAuthMode(_0x161825){const _0x29acc3=a96_0xc5ff07;return _0x161825===AUTH_MODE[_0x29acc3(0xc8)];}
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
- function a97_0x5ded(_0x5c2a44,_0x42ba88){_0x5c2a44=_0x5c2a44-0xa9;const _0x231c37=a97_0x231c();let _0x5dedc1=_0x231c37[_0x5c2a44];return _0x5dedc1;}const a97_0x3499ba=a97_0x5ded;(function(_0x5eae76,_0x40f27f){const _0x2a9930=a97_0x5ded,_0xc744e7=_0x5eae76();while(!![]){try{const _0x1e5562=-parseInt(_0x2a9930(0xcd))/0x1+parseInt(_0x2a9930(0xd3))/0x2*(-parseInt(_0x2a9930(0xd1))/0x3)+-parseInt(_0x2a9930(0xb8))/0x4+parseInt(_0x2a9930(0xbd))/0x5*(parseInt(_0x2a9930(0xc6))/0x6)+-parseInt(_0x2a9930(0xb9))/0x7+-parseInt(_0x2a9930(0xaa))/0x8*(-parseInt(_0x2a9930(0xcb))/0x9)+parseInt(_0x2a9930(0xad))/0xa;if(_0x1e5562===_0x40f27f)break;else _0xc744e7['push'](_0xc744e7['shift']());}catch(_0x2bf9b2){_0xc744e7['push'](_0xc744e7['shift']());}}}(a97_0x231c,0x59bb0));import{PRODUCT_CONFIG}from'../constant/product.js';import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';export const CLI_BIN_NAME=PRODUCT_CONFIG[a97_0x3499ba(0xd4)];export const CLI_DISPLAY_NAME=PRODUCT_CONFIG[a97_0x3499ba(0xbe)];function a97_0x231c(){const _0x496294=['name','21151700rNYsRk','clear','appcode','help','Environment','Preview\x20operation\x20without\x20executing','meowKey','json\x20|\x20pretty\x20|\x20compress','sqlcode','format','params','2887256AJxxrO','1718248DjOfas','non-interactive','global','yes','970wtSlUx','cliDisplayName','<code>','string','<expr>','map','Use\x20global\x20config\x20scope','production\x20|\x20development\x20|\x20daily','Output\x20format','3270siuEnF','boolean','env','type','dryRun','7173dhPQnE','Select\x20app\x20profile\x20by\x20name','541547ANyvmt','app','SQL\x20query\x20code','fromEntries','2078484pvQCmT','dry-run','2cvUXCi','cliBinName','Clear\x20output','3496cChqpz','Override\x20appcode'];a97_0x231c=function(){return _0x496294;};return a97_0x231c();}export const NPM_PACKAGE_NAME=LOVRABET_NPM_PACKAGE_NAME;export const GLOBAL_FLAGS=[{'name':'appcode','meowKey':a97_0x3499ba(0xaf),'type':a97_0x3499ba(0xc0),'description':a97_0x3499ba(0xab),'hint':a97_0x3499ba(0xbf)},{'name':a97_0x3499ba(0xce),'meowKey':a97_0x3499ba(0xce),'type':a97_0x3499ba(0xc0),'description':a97_0x3499ba(0xcc),'hint':'<name>'},{'name':a97_0x3499ba(0xc8),'meowKey':a97_0x3499ba(0xc8),'type':a97_0x3499ba(0xc0),'description':a97_0x3499ba(0xb1),'hint':a97_0x3499ba(0xc4)},{'name':a97_0x3499ba(0xb6),'meowKey':a97_0x3499ba(0xb6),'type':'string','description':a97_0x3499ba(0xc5),'hint':a97_0x3499ba(0xb4)},{'name':'jq','meowKey':'jq','type':a97_0x3499ba(0xc0),'description':'Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20implies\x20--format\x20json\x20when\x20current\x20format\x20is\x20pretty)','hint':a97_0x3499ba(0xc1)},{'name':a97_0x3499ba(0xd2),'meowKey':a97_0x3499ba(0xca),'type':'boolean','description':a97_0x3499ba(0xb2)},{'name':a97_0x3499ba(0xbc),'meowKey':a97_0x3499ba(0xbc),'type':a97_0x3499ba(0xc7),'description':'Skip\x20confirmation\x20for\x20high-risk\x20writes'},{'name':a97_0x3499ba(0xba),'meowKey':'nonInteractive','type':'boolean','description':'Force\x20non-interactive\x20mode\x20(CI)'},{'name':a97_0x3499ba(0xbb),'meowKey':a97_0x3499ba(0xbb),'type':a97_0x3499ba(0xc7),'description':a97_0x3499ba(0xc3)},{'name':'ci','meowKey':'ci','type':a97_0x3499ba(0xc7),'description':'Alias\x20for\x20--non-interactive','hidden':!![]},{'name':a97_0x3499ba(0xb0),'meowKey':a97_0x3499ba(0xb0),'type':a97_0x3499ba(0xc7),'description':'Show\x20help'},{'name':'id','meowKey':'id','type':a97_0x3499ba(0xc0),'description':'Record\x20ID','hidden':!![]},{'name':a97_0x3499ba(0xac),'meowKey':a97_0x3499ba(0xac),'type':a97_0x3499ba(0xc0),'description':'Name\x20filter','hidden':!![]},{'name':a97_0x3499ba(0xb5),'meowKey':a97_0x3499ba(0xb5),'type':a97_0x3499ba(0xc0),'description':a97_0x3499ba(0xcf),'hidden':!![]},{'name':a97_0x3499ba(0xb7),'meowKey':'params','type':a97_0x3499ba(0xc0),'description':'JSON\x20params\x20for\x20execute\x20commands','hidden':!![]},{'name':'verbose','meowKey':'verbose','type':a97_0x3499ba(0xc7),'description':'Verbose\x20output','hidden':!![]},{'name':a97_0x3499ba(0xae),'meowKey':'clear','type':a97_0x3499ba(0xc7),'description':a97_0x3499ba(0xa9),'hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a97_0x3499ba(0xaf),'app','env',a97_0x3499ba(0xb6),'jq',a97_0x3499ba(0xd2),a97_0x3499ba(0xbc),a97_0x3499ba(0xba),'ci']);export function buildMeowFlags(){const _0x20885e=a97_0x3499ba;return Object[_0x20885e(0xd0)](GLOBAL_FLAGS[_0x20885e(0xc2)](_0x10d135=>[_0x10d135[_0x20885e(0xb3)],{'type':_0x10d135[_0x20885e(0xc9)]}]));}
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_0x1b0161=a98_0x7c4c;function a98_0x7c4c(_0x11b09f,_0x37d788){_0x11b09f=_0x11b09f-0x9e;const _0x18d833=a98_0x18d8();let _0x7c4c2a=_0x18d833[_0x11b09f];return _0x7c4c2a;}(function(_0x4372f5,_0x381f5f){const _0x4676b5=a98_0x7c4c,_0x1230a5=_0x4372f5();while(!![]){try{const _0x187e60=parseInt(_0x4676b5(0xa9))/0x1+-parseInt(_0x4676b5(0xa6))/0x2*(parseInt(_0x4676b5(0x9f))/0x3)+-parseInt(_0x4676b5(0xa4))/0x4*(-parseInt(_0x4676b5(0xa7))/0x5)+-parseInt(_0x4676b5(0xa0))/0x6*(parseInt(_0x4676b5(0xa2))/0x7)+-parseInt(_0x4676b5(0xa5))/0x8+parseInt(_0x4676b5(0xa8))/0x9+parseInt(_0x4676b5(0xaa))/0xa;if(_0x187e60===_0x381f5f)break;else _0x1230a5['push'](_0x1230a5['shift']());}catch(_0x5af1f4){_0x1230a5['push'](_0x1230a5['shift']());}}}(a98_0x18d8,0x9aa22));export const DEFAULT_APP_PROFILE_NAME='main';export const DEFAULT_CONFIG_VALUES={'env':a98_0x1b0161(0xa3),'format':a98_0x1b0161(0xab),'locale':a98_0x1b0161(0xa1),'riskLevel':a98_0x1b0161(0x9e)};export const DEFAULT_COMMAND_OUTPUT_FORMAT=a98_0x1b0161(0xab);function a98_0x18d8(){const _0xbd616f=['write','417dhwUwX','24VnwwUd','en-US','66871DJTwxu','production','44972deSQXv','6138592GsORRU','6986HjyFdq','310NkWpAS','3959658qOIpMm','666532WoKjhs','1208810IpAclv','compress'];a98_0x18d8=function(){return _0xbd616f;};return a98_0x18d8();}
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_0x22f001=a99_0x119a;(function(_0x5d3000,_0x428919){const _0x203842=a99_0x119a,_0x6dbc70=_0x5d3000();while(!![]){try{const _0x325032=parseInt(_0x203842(0x119))/0x1+-parseInt(_0x203842(0x118))/0x2+-parseInt(_0x203842(0x11b))/0x3*(-parseInt(_0x203842(0x111))/0x4)+-parseInt(_0x203842(0x10f))/0x5+-parseInt(_0x203842(0x117))/0x6*(-parseInt(_0x203842(0x11c))/0x7)+-parseInt(_0x203842(0x112))/0x8*(parseInt(_0x203842(0x11a))/0x9)+-parseInt(_0x203842(0x114))/0xa*(-parseInt(_0x203842(0x110))/0xb);if(_0x325032===_0x428919)break;else _0x6dbc70['push'](_0x6dbc70['shift']());}catch(_0x225579){_0x6dbc70['push'](_0x6dbc70['shift']());}}}(a99_0x3b30,0x2aba3));import{PRODUCT_CONFIG}from'../constant/product.js';export const LOVRABET_NPM_PACKAGE_NAME=PRODUCT_CONFIG[a99_0x22f001(0x113)];export const LOVRABET_SKILL_SOURCE=PRODUCT_CONFIG[a99_0x22f001(0x115)];function a99_0x3b30(){const _0x22c36c=['/dist/lovrabet-cli/config/index.json','984155WOzBKx','209jCKLpO','4LSmpPf','9128LGEBXp','npmPackageName','107780CyBSXN','skillSource','npmRegistryBaseUrl','90UxGLIq','195850HZXLgs','227476gmaYyz','1557ecXCDI','631041SlrHJd','11459bIRDec'];a99_0x3b30=function(){return _0x22c36c;};return a99_0x3b30();}function a99_0x119a(_0x4b9a29,_0x3a8b6f){_0x4b9a29=_0x4b9a29-0x10f;const _0x3b30d4=a99_0x3b30();let _0x119a09=_0x3b30d4[_0x4b9a29];return _0x119a09;}export const NPM_REGISTRY_BASE_URL=PRODUCT_CONFIG[a99_0x22f001(0x116)];export const LOVRABET_CLI_CDN_BASE_URL=PRODUCT_CONFIG['cliCdnBaseUrl'];export const LOVRABET_CLI_VERSION_POLICY_URL=LOVRABET_CLI_CDN_BASE_URL+a99_0x22f001(0x11d);
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,9 +31,7 @@ export declare function initDomains(domains?: {
31
31
  runtimeDomain?: string;
32
32
  skillDomain?: string;
33
33
  kbServiceDomain?: string;
34
- allowOfficialKbServiceDefault?: boolean;
35
34
  harnessDomain?: string;
36
- allowOfficialHarnessDefault?: boolean;
37
35
  region?: LovrabetRegion;
38
36
  }): void;
39
37
  /**
@@ -65,7 +63,7 @@ export declare const getRuntimeDomain: () => string;
65
63
  export declare const getSkillDomain: () => string;
66
64
  /** Returns the independently routed KB Service origin, when configured. */
67
65
  export declare const getKbServiceDomain: () => string | undefined;
68
- /** Returns the independent Harness origin; missing configuration only disables Harness capabilities. */
66
+ /** Uses an explicit Harness origin or the active region/environment default, including enterprise deployments. */
69
67
  export declare const getHarnessDomain: () => string | undefined;
70
68
  /** Requires Harness routing before app discovery or request dispatch can perform network I/O. */
71
69
  export declare function requireHarnessDomain(): string;
@@ -1 +1 @@
1
- const a100_0x371ce5=a100_0x1df3;(function(_0x4a3254,_0x56d906){const _0x879fe2=a100_0x1df3,_0x4dc5d9=_0x4a3254();while(!![]){try{const _0x1f8e2b=parseInt(_0x879fe2(0xce))/0x1*(-parseInt(_0x879fe2(0xde))/0x2)+parseInt(_0x879fe2(0xcf))/0x3*(-parseInt(_0x879fe2(0xd0))/0x4)+parseInt(_0x879fe2(0xdb))/0x5+-parseInt(_0x879fe2(0xe0))/0x6+-parseInt(_0x879fe2(0xd7))/0x7*(parseInt(_0x879fe2(0xd4))/0x8)+-parseInt(_0x879fe2(0xd2))/0x9*(parseInt(_0x879fe2(0xc9))/0xa)+parseInt(_0x879fe2(0xd5))/0xb*(parseInt(_0x879fe2(0xe1))/0xc);if(_0x1f8e2b===_0x56d906)break;else _0x4dc5d9['push'](_0x4dc5d9['shift']());}catch(_0x207ae2){_0x4dc5d9['push'](_0x4dc5d9['shift']());}}}(a100_0x12e4,0xcf02d));function a100_0x12e4(){const _0x35362b=['skill','2643965HZvOzh','skillDomain','harness','2WlovQc','Harness\x20is\x20not\x20configured.','1649082taUNRk','22212UMjEVd','kbService','10tLxjgV','userDomain','runtime','allowOfficialKbServiceDefault','runtimeDomain','621472XJSSAa','153kFKMKy','114428hwqBTs','validation','12756339hsLJMU','apiDomain','4478336bzecTI','27643uGBuCk','serviceDomains','7hGzndp','production','api'];a100_0x12e4=function(){return _0x35362b;};return a100_0x12e4();}import{CliErrors}from'../errors.js';import{getEnv,isProduction}from'../constant/env.js';import{OFFICIAL_ROUTING_PROFILES}from'../generated/official-routing.js';import{DEFAULT_LOVRABET_REGION}from'../constant/region.js';let customApiDomain,customUserDomain,customRuntimeDomain,customSkillDomain,customKbServiceDomain,allowOfficialKbServiceDefault=!![],customHarnessDomain,allowOfficialHarnessDefault=!![],activeRegion=DEFAULT_LOVRABET_REGION;export function initDomains(_0x605212){const _0x12d47b=a100_0x1df3;customApiDomain=_0x605212?.[_0x12d47b(0xd3)],customUserDomain=_0x605212?.[_0x12d47b(0xca)],customRuntimeDomain=_0x605212?.[_0x12d47b(0xcd)],customSkillDomain=_0x605212?.[_0x12d47b(0xdc)],customKbServiceDomain=_0x605212?.['kbServiceDomain'],allowOfficialKbServiceDefault=_0x605212?.[_0x12d47b(0xcc)]??!![],customHarnessDomain=_0x605212?.['harnessDomain'],allowOfficialHarnessDefault=_0x605212?.['allowOfficialHarnessDefault']??!![],activeRegion=_0x605212?.['region']??DEFAULT_LOVRABET_REGION;}const getActiveRegionDomains=()=>{const _0x4c28b1=a100_0x1df3,_0x10eb83=OFFICIAL_ROUTING_PROFILES[activeRegion][_0x4c28b1(0xd6)];return isProduction(getEnv())?_0x10eb83['production']:'daily'in _0x10eb83?_0x10eb83['daily']:_0x10eb83[_0x4c28b1(0xd8)];};function a100_0x1df3(_0x265816,_0x1b3fb7){_0x265816=_0x265816-0xc9;const _0x12e49e=a100_0x12e4();let _0x1df356=_0x12e49e[_0x265816];return _0x1df356;}export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()['user'];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()[a100_0x371ce5(0xd9)];export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()[a100_0x371ce5(0xcb)];export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()[a100_0x371ce5(0xda)];export const getKbServiceDomain=()=>{const _0x1d0af2=a100_0x371ce5;if(customKbServiceDomain)return customKbServiceDomain;if(!allowOfficialKbServiceDefault)return undefined;const _0xac8835=getActiveRegionDomains();return _0x1d0af2(0xe2)in _0xac8835?_0xac8835[_0x1d0af2(0xe2)]:undefined;};export const getHarnessDomain=()=>{const _0x5496de=a100_0x371ce5;if(customHarnessDomain)return customHarnessDomain;if(!allowOfficialHarnessDefault)return undefined;const _0x426ecc=getActiveRegionDomains();return _0x5496de(0xdd)in _0x426ecc?_0x426ecc[_0x5496de(0xdd)]:undefined;};export function requireHarnessDomain(){const _0x4e1893=a100_0x371ce5,_0x1b1828=getHarnessDomain();if(!_0x1b1828)throw CliErrors[_0x4e1893(0xd1)](_0x4e1893(0xdf),'Configure\x20a\x20trusted\x20harnessDomain\x20HTTPS\x20origin\x20in\x20the\x20connection\x20settings.');return _0x1b1828;}
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_0x359157=a101_0x2a7c;function a101_0x3910(){const _0x138681=['3523491wbziBy','dev','32nJfoRI','36055LQBsoA','70872XKjLPd','development','online','production','761085UcaJkG','2513595tsLxZU','26012egtJzr','60pzUPUP','1729328VPzIed','daily'];a101_0x3910=function(){return _0x138681;};return a101_0x3910();}(function(_0x33bbc7,_0x1c319b){const _0x16678a=a101_0x2a7c,_0x2a7122=_0x33bbc7();while(!![]){try{const _0x4300f0=parseInt(_0x16678a(0x1c5))/0x1*(parseInt(_0x16678a(0x1bf))/0x2)+-parseInt(_0x16678a(0x1cb))/0x3+parseInt(_0x16678a(0x1c0))/0x4*(-parseInt(_0x16678a(0x1c6))/0x5)+-parseInt(_0x16678a(0x1c7))/0x6+-parseInt(_0x16678a(0x1cc))/0x7+parseInt(_0x16678a(0x1c1))/0x8+parseInt(_0x16678a(0x1c3))/0x9;if(_0x4300f0===_0x1c319b)break;else _0x2a7122['push'](_0x2a7122['shift']());}catch(_0xffd608){_0x2a7122['push'](_0x2a7122['shift']());}}}(a101_0x3910,0x4711c));import{productEnv}from'../constant/product.js';export const RUNTIME_ENV_VALUES=[a101_0x359157(0x1ca),a101_0x359157(0x1c8),a101_0x359157(0x1c2)];export function normalizeEnv(_0x14ff9b){const _0x3c4ab9=a101_0x359157;return _0x14ff9b===_0x3c4ab9(0x1c9)||_0x14ff9b==='prod'?_0x3c4ab9(0x1ca):_0x14ff9b;}function a101_0x2a7c(_0x551821,_0x1ee32f){_0x551821=_0x551821-0x1bf;const _0x3910ce=a101_0x3910();let _0x2a7ca0=_0x3910ce[_0x551821];return _0x2a7ca0;}export function isProduction(_0x2b8f7e){return normalizeEnv(_0x2b8f7e)==='production';}export function isDaily(_0x44b583){const _0xceb333=a101_0x359157;return normalizeEnv(_0x44b583)===_0xceb333(0x1c2);}export function isDev(_0x5e6179){const _0x7b029c=a101_0x359157,_0x8107f6=normalizeEnv(_0x5e6179);return _0x8107f6===_0x7b029c(0x1c8)||_0x8107f6===_0x7b029c(0x1c4);}let env=normalizeEnv(productEnv('ENV')||a101_0x359157(0x1ca));export function getEnv(){return env;}export function initEnv(_0x986690){env=normalizeEnv(_0x986690);}
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_0x5f5391=a102_0x4d22;(function(_0x4492ed,_0x4c3d1a){const _0x3a5590=a102_0x4d22,_0x38527d=_0x4492ed();while(!![]){try{const _0x49dee7=parseInt(_0x3a5590(0x114))/0x1*(-parseInt(_0x3a5590(0x107))/0x2)+parseInt(_0x3a5590(0x115))/0x3+-parseInt(_0x3a5590(0x10c))/0x4*(-parseInt(_0x3a5590(0x10e))/0x5)+parseInt(_0x3a5590(0x109))/0x6*(parseInt(_0x3a5590(0x10d))/0x7)+parseInt(_0x3a5590(0x108))/0x8*(-parseInt(_0x3a5590(0x112))/0x9)+-parseInt(_0x3a5590(0x113))/0xa+parseInt(_0x3a5590(0x111))/0xb*(-parseInt(_0x3a5590(0x110))/0xc);if(_0x49dee7===_0x4c3d1a)break;else _0x38527d['push'](_0x38527d['shift']());}catch(_0x28ff5e){_0x38527d['push'](_0x38527d['shift']());}}}(a102_0x2e9b,0x45a96));function a102_0x2e9b(){const _0x24eb89=['json','compress','1708684aeRnNP','89635hUdOvE','5WAWSyA','pretty','12tcnuUs','1428988OLofPc','225jibvJc','361720YERDfz','100765RrdEEx','1154229MJwyQp','4kRqQlF','54968aTrCcl','6pqTomu'];a102_0x2e9b=function(){return _0x24eb89;};return a102_0x2e9b();}function a102_0x4d22(_0x5c1e66,_0xd68f4d){_0x5c1e66=_0x5c1e66-0x107;const _0x2e9b06=a102_0x2e9b();let _0x4d22e4=_0x2e9b06[_0x5c1e66];return _0x4d22e4;}export const OUTPUT_FORMAT_VALUES=[a102_0x5f5391(0x10a),a102_0x5f5391(0x10f),a102_0x5f5391(0x10b)];
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_0xac259f=a103_0x3970;function a103_0x3970(_0x87f34d,_0x1f83b6){_0x87f34d=_0x87f34d-0xd9;const _0x3b5a0e=a103_0x3b5a();let _0x39706f=_0x3b5a0e[_0x87f34d];return _0x39706f;}(function(_0x4791fd,_0x26343a){const _0x4d8234=a103_0x3970,_0x49e9ce=_0x4791fd();while(!![]){try{const _0x3e0968=parseInt(_0x4d8234(0xe6))/0x1*(parseInt(_0x4d8234(0xe2))/0x2)+-parseInt(_0x4d8234(0xe8))/0x3*(-parseInt(_0x4d8234(0xec))/0x4)+-parseInt(_0x4d8234(0xed))/0x5+parseInt(_0x4d8234(0xee))/0x6+parseInt(_0x4d8234(0xea))/0x7*(parseInt(_0x4d8234(0xe9))/0x8)+-parseInt(_0x4d8234(0xda))/0x9*(-parseInt(_0x4d8234(0xdc))/0xa)+-parseInt(_0x4d8234(0xde))/0xb;if(_0x3e0968===_0x26343a)break;else _0x49e9ce['push'](_0x49e9ce['shift']());}catch(_0x23e326){_0x49e9ce['push'](_0x49e9ce['shift']());}}}(a103_0x3b5a,0x5b986));export const PRODUCT_CONFIG={'cliBinName':a103_0xac259f(0xdb),'cliDisplayName':a103_0xac259f(0xe7),'npmPackageName':a103_0xac259f(0xf0),'skillSource':a103_0xac259f(0xeb),'internalSkillSource':a103_0xac259f(0xef),'globalSkillName':a103_0xac259f(0xdb),'npmRegistryBaseUrl':'https://registry.npmjs.org','cliCdnBaseUrl':a103_0xac259f(0xe0),'envPrefix':'LOVRABET','legacyEnvPrefixes':['RABETBASE'],'configFileNames':[a103_0xac259f(0xe1)],'newConfigFileName':a103_0xac259f(0xe1),'homeDirName':a103_0xac259f(0xe4),'logFileName':'.lovrabet-runtime.log','invokeSource':a103_0xac259f(0xdf),'userCenterDisplayName':a103_0xac259f(0xd9),'skipNpxSkillsEnvSuffix':a103_0xac259f(0xe3),'accessKeyCreatePath':'/user/ak'};function a103_0x3b5a(){const _0x277131=['10VhsTeI','legacyEnvPrefixes','5065192fAUlNc','cli:lovrabet-runtime','https://g.lovrabet.com','.lovrabet.json','2MRTsYP','SKIP_NPX_SKILLS','.lovrabet','envPrefix','331921ftveSh','Lovrabet\x20Runtime\x20CLI','6711PGiKxY','24WBEnKf','347669PvBcDA','lovrabet/lovrabet-cli','652eWIaqE','2091775dkmgVt','994326DqOdWE','git@codeup.aliyun.com:yuntoo/open/lovrabet-runtime-cli.git','@lovrabet/lovrabet-cli','Lovrabet\x20User\x20Center','2184543GpuLuu','lovrabet'];a103_0x3b5a=function(){return _0x277131;};return a103_0x3b5a();}export function productEnvName(_0x25a283){const _0x17341a=a103_0xac259f;return PRODUCT_CONFIG[_0x17341a(0xe5)]+'_'+_0x25a283;}export function productEnvNames(_0x238674){const _0x2954fb=a103_0xac259f;return[productEnvName(_0x238674),...PRODUCT_CONFIG[_0x2954fb(0xdd)]['map'](_0x2e53ca=>_0x2e53ca+'_'+_0x238674)];}export function productEnv(_0x2d833b){for(const _0x477075 of productEnvNames(_0x2d833b)){const _0x348a81=process.env[_0x477075];if(_0x348a81!==undefined)return _0x348a81;}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(_0x1ca453,_0x168bd9){const _0x33b85e=a104_0xea96,_0x513db4=_0x1ca453();while(!![]){try{const _0x5534a8=parseInt(_0x33b85e(0x145))/0x1+-parseInt(_0x33b85e(0x136))/0x2*(-parseInt(_0x33b85e(0x13c))/0x3)+parseInt(_0x33b85e(0x13a))/0x4*(-parseInt(_0x33b85e(0x144))/0x5)+parseInt(_0x33b85e(0x13f))/0x6+parseInt(_0x33b85e(0x135))/0x7+-parseInt(_0x33b85e(0x139))/0x8*(-parseInt(_0x33b85e(0x141))/0x9)+-parseInt(_0x33b85e(0x134))/0xa*(parseInt(_0x33b85e(0x13b))/0xb);if(_0x5534a8===_0x168bd9)break;else _0x513db4['push'](_0x513db4['shift']());}catch(_0x5bb0c4){_0x513db4['push'](_0x513db4['shift']());}}}(a104_0x22c9,0x92fd7));function a104_0xea96(_0x175a26,_0x4df6fc){_0x175a26=_0x175a26-0x134;const _0x22c9b9=a104_0x22c9();let _0xea96ec=_0x22c9b9[_0x175a26];return _0xea96ec;}import{DEFAULT_REGION,ENABLED_REGION_VALUES,REGION_ALIASES,REGION_VALUES}from'../generated/official-routing.js';import{CliErrors}from'../errors.js';export const LOVRABET_REGION_VALUES=REGION_VALUES;function a104_0x22c9(){const _0x5b521a=['6421548BTJRqP','7438sXsoBf','Available\x20regions:\x20','validation','440GnWoNN','20Cnstak','22yiqyrE','51uHlbJM','join','\x22\x20is\x20not\x20currently\x20available.','29148Tymmkt','Invalid\x20region\x20value:\x20expected\x20a\x20string,\x20received\x20','145926qjKHFE','includes','Region\x20\x22','93535FEUaVk','203593qWHFdJ','string','6926010zCLCDq'];a104_0x22c9=function(){return _0x5b521a;};return a104_0x22c9();}export const ENABLED_LOVRABET_REGION_VALUES=ENABLED_REGION_VALUES;export const DEFAULT_LOVRABET_REGION=DEFAULT_REGION;export function isLovrabetRegion(_0x69b281){const _0x8bea8e=a104_0xea96;return typeof _0x69b281===_0x8bea8e(0x146)&&LOVRABET_REGION_VALUES[_0x8bea8e(0x142)](_0x69b281);}export function isEnabledLovrabetRegion(_0x3dc6ea){const _0x311a00=a104_0xea96;return typeof _0x3dc6ea===_0x311a00(0x146)&&ENABLED_LOVRABET_REGION_VALUES[_0x311a00(0x142)](_0x3dc6ea);}export function normalizeLovrabetRegion(_0x4f6bf8){const _0x36d7a3=a104_0xea96;if(_0x4f6bf8===undefined||_0x4f6bf8===null||_0x4f6bf8==='')return DEFAULT_LOVRABET_REGION;if(typeof _0x4f6bf8!=='string')throw CliErrors[_0x36d7a3(0x138)](_0x36d7a3(0x140)+typeof _0x4f6bf8+'.','Run\x20`lovrabet\x20config\x20init`\x20to\x20restore\x20the\x20global\x20country/region\x20configuration.');const _0x406088=REGION_ALIASES[_0x4f6bf8]??_0x4f6bf8;if(isEnabledLovrabetRegion(_0x406088))return _0x406088;throw CliErrors[_0x36d7a3(0x138)](_0x36d7a3(0x143)+_0x4f6bf8+_0x36d7a3(0x13e),_0x36d7a3(0x137)+ENABLED_LOVRABET_REGION_VALUES[_0x36d7a3(0x13d)](',\x20')+'.\x20Run\x20`lovrabet\x20config\x20init`\x20to\x20repair\x20the\x20global\x20configuration.');}
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
- function a105_0x52a1(_0x4c2bf9,_0x46f3eb){_0x4c2bf9=_0x4c2bf9-0x136;const _0x1ef3e9=a105_0x1ef3();let _0x52a1d3=_0x1ef3e9[_0x4c2bf9];return _0x52a1d3;}function a105_0x1ef3(){const _0x23680c=['high-risk-write','6PlvhGK','2146018yvDxTH','5837076jbojxp','6665545prFoPP','236703iXoFrB','44ZAbQEO','6928397FfMvOt','24586760VUdqHW','8pOcQGn','1441920wPHcxN','1nijIkL'];a105_0x1ef3=function(){return _0x23680c;};return a105_0x1ef3();}const a105_0x32dc0e=a105_0x52a1;(function(_0x19bd14,_0xa60cf8){const _0x189d8e=a105_0x52a1,_0x5b45b1=_0x19bd14();while(!![]){try{const _0x55a9c8=-parseInt(_0x189d8e(0x141))/0x1*(-parseInt(_0x189d8e(0x138))/0x2)+parseInt(_0x189d8e(0x13b))/0x3*(parseInt(_0x189d8e(0x13c))/0x4)+parseInt(_0x189d8e(0x13a))/0x5+parseInt(_0x189d8e(0x137))/0x6*(-parseInt(_0x189d8e(0x13d))/0x7)+-parseInt(_0x189d8e(0x13f))/0x8*(-parseInt(_0x189d8e(0x139))/0x9)+parseInt(_0x189d8e(0x140))/0xa+-parseInt(_0x189d8e(0x13e))/0xb;if(_0x55a9c8===_0xa60cf8)break;else _0x5b45b1['push'](_0x5b45b1['shift']());}catch(_0x46188d){_0x5b45b1['push'](_0x5b45b1['shift']());}}}(a105_0x1ef3,0xcd87e));export const RISK_LEVEL_VALUES=['read','write',a105_0x32dc0e(0x136)];
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(_0x5aaf22,_0x34e4fe){const _0x519da6=a106_0xcf79,_0x70cbd=_0x5aaf22();while(!![]){try{const _0x16741d=-parseInt(_0x519da6(0x65))/0x1+parseInt(_0x519da6(0x71))/0x2*(parseInt(_0x519da6(0x66))/0x3)+-parseInt(_0x519da6(0x70))/0x4+parseInt(_0x519da6(0x6e))/0x5*(-parseInt(_0x519da6(0x69))/0x6)+parseInt(_0x519da6(0x6f))/0x7*(-parseInt(_0x519da6(0x6c))/0x8)+-parseInt(_0x519da6(0x6d))/0x9+-parseInt(_0x519da6(0x67))/0xa*(-parseInt(_0x519da6(0x68))/0xb);if(_0x16741d===_0x34e4fe)break;else _0x70cbd['push'](_0x70cbd['shift']());}catch(_0x4122a9){_0x70cbd['push'](_0x70cbd['shift']());}}}(a106_0x108e,0x6e9f6));function a106_0xcf79(_0x7fd0c3,_0x2c0b9c){_0x7fd0c3=_0x7fd0c3-0x65;const _0x108e04=a106_0x108e();let _0xcf7930=_0x108e04[_0x7fd0c3];return _0xcf7930;}import{PRODUCT_CONFIG}from'../constant/product.js';function a106_0x108e(){const _0x3df831=['user','serviceDomains','55192wzvAOh','3788118jPzhwO','973365uyALzW','469IKdaxI','3030072eSEkQQ','16914DrEMGP','393742LylwOT','213pyZzzb','10cIeQWp','22899041LokpId','6jrRNAV'];a106_0x108e=function(){return _0x3df831;};return a106_0x108e();}import{OFFICIAL_ROUTING_PROFILES}from'../generated/official-routing.js';import{DEFAULT_LOVRABET_REGION}from'../constant/region.js';export function getUserAccessKeyCreateUrl(_0x5ed770=DEFAULT_LOVRABET_REGION){const _0x379e8d=a106_0xcf79,_0xafb5c7=OFFICIAL_ROUTING_PROFILES[_0x5ed770][_0x379e8d(0x6b)]['production'][_0x379e8d(0x6a)];return''+_0xafb5c7+PRODUCT_CONFIG['accessKeyCreatePath'];}export const USER_ACCESS_KEY_CREATE_URL=getUserAccessKeyCreateUrl();
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
- const a107_0x1f043d=a107_0xa032;(function(_0x13a8da,_0x192a82){const _0x479fb8=a107_0xa032,_0x4b034e=_0x13a8da();while(!![]){try{const _0x348a02=parseInt(_0x479fb8(0x218))/0x1+-parseInt(_0x479fb8(0x1fd))/0x2*(-parseInt(_0x479fb8(0x23f))/0x3)+-parseInt(_0x479fb8(0x21a))/0x4*(-parseInt(_0x479fb8(0x24b))/0x5)+parseInt(_0x479fb8(0x212))/0x6*(-parseInt(_0x479fb8(0x219))/0x7)+-parseInt(_0x479fb8(0x21e))/0x8*(-parseInt(_0x479fb8(0x220))/0x9)+parseInt(_0x479fb8(0x22d))/0xa*(-parseInt(_0x479fb8(0x200))/0xb)+-parseInt(_0x479fb8(0x23c))/0xc;if(_0x348a02===_0x192a82)break;else _0x4b034e['push'](_0x4b034e['shift']());}catch(_0x492058){_0x4b034e['push'](_0x4b034e['shift']());}}}(a107_0x41e1,0xa74f2));import{readFileSync,existsSync,mkdirSync,renameSync,unlinkSync,writeFileSync}from'node:fs';import{resolve,dirname}from'node:path';import{homedir}from'node:os';import{logger}from'./utils/logger.js';import{redactCommandArgv}from'./utils/redaction.js';import{CliErrors}from'./errors.js';import{CLI_BIN_NAME}from'./constant/cli.js';import{PRODUCT_CONFIG,productEnv,productEnvNames}from'./constant/product.js';import{DEFAULT_CONFIG_VALUES}from'./constant/defaults.js';import{normalizeEnv,isDaily,isDev}from'./constant/env.js';import{normalizeLegacyOutputFormat}from'./framework/types.js';import{resolveCachedAppCode}from'./commands/app/cache.js';import{normalizeLovrabetRegion}from'./constant/region.js';import{normalizeDomainOrigin,resolveEnterpriseRoutingConfig}from'./config/domain-config.js';export{AUTH_MODE,isAuthMode}from'./constant/auth-mode.js';const CONFIG_NAMES=PRODUCT_CONFIG[a107_0x1f043d(0x233)];export const NEW_CONFIG_NAME=PRODUCT_CONFIG['newConfigFileName'];function resolveConfigPath(_0x2fc34c){for(const _0xd73bdf of CONFIG_NAMES){const _0x515060=resolve(_0x2fc34c,_0xd73bdf);if(existsSync(_0x515060))return _0x515060;}return undefined;}export function resolveWriteConfigPath(_0x40bd0e){const _0x54e66e=a107_0x1f043d,_0x535883=_0x40bd0e===_0x54e66e(0x20f)?process[_0x54e66e(0x213)]():homedir(),_0x36d500=resolveConfigPath(_0x535883);return _0x36d500??resolve(_0x535883,NEW_CONFIG_NAME);}function a107_0xa032(_0x21f4f3,_0x2664b3){_0x21f4f3=_0x21f4f3-0x1f3;const _0x41e1d5=a107_0x41e1();let _0xa032c4=_0x41e1d5[_0x21f4f3];return _0xa032c4;}export function readConfigFile(_0x556a92){const _0x197f47=a107_0x1f043d;try{if(existsSync(_0x556a92)){const _0x53d3c5=readFileSync(_0x556a92,{'encoding':'utf8'});if(_0x53d3c5){const _0x2cc74e=JSON[_0x197f47(0x223)](_0x53d3c5);return migrateOnlineEnv(_0x556a92,_0x2cc74e),_0x2cc74e;}}}catch{}return{};}function migrateOnlineEnv(_0x3c3278,_0x428a1c){const _0x4c0bfb=a107_0x1f043d;let _0x2cfd0d=![];_0x428a1c[_0x4c0bfb(0x225)]==='online'&&(_0x428a1c[_0x4c0bfb(0x225)]=_0x4c0bfb(0x229),_0x2cfd0d=!![]);if(_0x428a1c['apps']&&typeof _0x428a1c[_0x4c0bfb(0x23d)]===_0x4c0bfb(0x216))for(const _0x128dca of Object[_0x4c0bfb(0x22a)](_0x428a1c[_0x4c0bfb(0x23d)])){_0x128dca&&_0x128dca[_0x4c0bfb(0x225)]===_0x4c0bfb(0x22f)&&(_0x128dca[_0x4c0bfb(0x225)]=_0x4c0bfb(0x229),_0x2cfd0d=!![]);}if(_0x2cfd0d)try{writeConfigFile(_0x3c3278,_0x428a1c);}catch{}}export function writeConfigFile(_0x505c1d,_0x469bef){const _0x542ae9=a107_0x1f043d,_0x2b1488=dirname(_0x505c1d);!existsSync(_0x2b1488)&&mkdirSync(_0x2b1488,{'recursive':!![]});const _0x43781e=_0x505c1d+_0x542ae9(0x236);try{writeFileSync(_0x43781e,JSON[_0x542ae9(0x238)](_0x469bef,null,0x2)+'\x0a',{'encoding':_0x542ae9(0x1fa),'mode':0x180});try{renameSync(_0x43781e,_0x505c1d);}catch(_0x43b123){if(_0x43b123[_0x542ae9(0x245)]===_0x542ae9(0x23e)||_0x43b123['code']===_0x542ae9(0x231)||_0x43b123[_0x542ae9(0x245)]===_0x542ae9(0x217)){writeFileSync(_0x505c1d,JSON[_0x542ae9(0x238)](_0x469bef,null,0x2)+'\x0a',{'encoding':_0x542ae9(0x1fa)});try{unlinkSync(_0x43781e);}catch{}}else throw _0x43b123;}}catch(_0x429c04){try{unlinkSync(_0x43781e);}catch{}throw _0x429c04;}}export function isNonInteractiveMode(_0x1e5f09){const _0x1778ba=a107_0x1f043d;return!!(_0x1e5f09['nonInteractive']||_0x1e5f09['ci']||productEnvNames('CI')[_0x1778ba(0x1f4)](_0x4ef93c=>process.env[_0x4ef93c]===_0x1778ba(0x239))||process.env.CI===_0x1778ba(0x239)||!process['stdout'][_0x1778ba(0x249)]||!isStdinRawModeSupported());}function isStdinRawModeSupported(){const _0x37ddde=a107_0x1f043d;if(!process['stdin'][_0x37ddde(0x249)])return![];try{const _0x5f3ae8=process[_0x37ddde(0x208)][_0x37ddde(0x204)];return process[_0x37ddde(0x208)][_0x37ddde(0x246)](!![]),process[_0x37ddde(0x208)][_0x37ddde(0x246)](_0x5f3ae8??![]),!![];}catch{return![];}}export async function createContext(_0xcb815c){const _0x19281b=a107_0x1f043d,_0x32e898=buildConfigFromFlags(_0xcb815c);await initGlobalEnvironment(_0x32e898);const {getUserDomain:_0x59f7e7,getApiDomain:_0x3393e1}=await import(_0x19281b(0x243)),_0xa76d36={'apiDomain':_0x3393e1(),'userDomain':_0x59f7e7()},_0x58725d=await buildAuth(_0x32e898);logger[_0x19281b(0x21b)](process[_0x19281b(0x213)]());const _0x16c5c1=(CLI_BIN_NAME+'\x20'+redactCommandArgv(process[_0x19281b(0x1f3)][_0x19281b(0x1f5)](0x2))[_0x19281b(0x226)]('\x20'))['trim']();logger['setRawCommand'](_0x16c5c1);const _0x16866e=isNonInteractiveMode(_0xcb815c);return{'config':_0x32e898,'auth':_0x58725d,'logger':logger,'env':_0xa76d36,'nonInteractive':_0x16866e};}export function buildConfigFromFlags(_0x258e8b){return buildConfig(loadRawConfigLayers(),_0x258e8b);}export function getLocalAppAliases(_0x4479c9){const _0x3af26b=a107_0x1f043d;return _0x4479c9['apps']&&typeof _0x4479c9['apps']==='object'?_0x4479c9[_0x3af26b(0x23d)]:{};}export function resolveLocalAppAliasCode(_0x381f4b,_0x62dda1){const _0xe667f=a107_0x1f043d;if(!_0x62dda1)return undefined;const _0xf9f096=getLocalAppAliases(_0x381f4b)[_0x62dda1],_0x4bdfd6=_0xf9f096?.['appcode'];return typeof _0x4bdfd6==='string'&&_0x4bdfd6[_0xe667f(0x210)]()?_0x4bdfd6[_0xe667f(0x210)]():undefined;}export function readAppCodeFromConfig(){const _0xc86626=a107_0x1f043d;return buildConfigFromFlags({})[_0xc86626(0x20e)];}export function readScopedConfig(_0x3d713c){const _0x538455=a107_0x1f043d,_0x12daf1=_0x3d713c[_0x538455(0x211)]?_0x538455(0x211):_0x538455(0x20f);return readConfigFile(resolveWriteConfigPath(_0x12daf1));}export function writeScopedConfig(_0x2358ed,_0x4b1a97){const _0x539fa5=a107_0x1f043d,_0x19b5c6=_0x4b1a97['global']?_0x539fa5(0x211):_0x539fa5(0x20f);writeConfigFile(resolveWriteConfigPath(_0x19b5c6),_0x2358ed);}export async function initGlobalEnvironment(_0x2d7cde){const _0xae42af=a107_0x1f043d,{initEnv:_0x4561d2}=await import(_0xae42af(0x1fb));_0x4561d2(_0x2d7cde[_0xae42af(0x225)]);const {initDomains:_0x5a4c41}=await import(_0xae42af(0x243)),_0x129c18=resolveEnterpriseRoutingConfig(_0x2d7cde[_0xae42af(0x215)][_0xae42af(0x24d)]),_0x183728=[_0xae42af(0x222),_0xae42af(0x24c),'userDomain',_0xae42af(0x221),'skillDomain',_0xae42af(0x205),_0xae42af(0x23b),_0xae42af(0x232),_0xae42af(0x22e),_0xae42af(0x206),_0xae42af(0x202)],_0x9dc403=_0x129c18!==undefined||_0x183728['some'](_0x97644c=>Object[_0xae42af(0x203)][_0xae42af(0x240)][_0xae42af(0x228)](_0x2d7cde[_0xae42af(0x215)],_0x97644c));_0x5a4c41({'apiDomain':_0x129c18?_0x129c18[_0xae42af(0x222)]:_0x2d7cde['raw'][_0xae42af(0x222)]||_0x2d7cde[_0xae42af(0x215)][_0xae42af(0x24c)]||undefined,'userDomain':_0x129c18?_0x129c18[_0xae42af(0x24a)]:_0x2d7cde['raw'][_0xae42af(0x24a)]||undefined,'runtimeDomain':_0x129c18?_0x129c18[_0xae42af(0x221)]:_0x2d7cde[_0xae42af(0x215)][_0xae42af(0x221)]||undefined,'skillDomain':_0x129c18?_0x129c18['skillDomain']:_0x2d7cde[_0xae42af(0x215)][_0xae42af(0x22c)]||_0x2d7cde[_0xae42af(0x215)][_0xae42af(0x205)]||_0x2d7cde[_0xae42af(0x215)][_0xae42af(0x23b)]||_0x2d7cde[_0xae42af(0x215)][_0xae42af(0x232)]||undefined,'kbServiceDomain':_0x129c18?_0x129c18[_0xae42af(0x206)]:typeof _0x2d7cde[_0xae42af(0x215)]['kbServiceDomain']===_0xae42af(0x1f9)&&_0x2d7cde[_0xae42af(0x215)][_0xae42af(0x206)]['trim']()?_0x2d7cde['raw'][_0xae42af(0x206)]:undefined,'allowOfficialKbServiceDefault':!_0x9dc403,'harnessDomain':_0x129c18?_0x129c18[_0xae42af(0x202)]:_0x2d7cde[_0xae42af(0x215)]['harnessDomain']===undefined?undefined:normalizeDomainOrigin('harnessDomain',_0x2d7cde[_0xae42af(0x215)][_0xae42af(0x202)]),'allowOfficialHarnessDefault':!_0x9dc403,'region':normalizeLovrabetRegion(_0x2d7cde[_0xae42af(0x215)][_0xae42af(0x1ff)])});}export function getProjectConfigPath(){const _0x1e0904=a107_0x1f043d;return resolveConfigPath(process[_0x1e0904(0x213)]());}export function getGlobalConfigPath(){return resolveConfigPath(homedir());}function a107_0x41e1(){const _0x58292a=['values','ENV','skillDomain','4511080ZcfOgn','kbDomain','online','accessKey','EXDEV','platformDomain','configFileNames','nativeToolAvailable','authRequired','.tmp','format','stringify','true','find','agentDomain','19163604JEdJOz','apps','EPERM','2187087Cegqnf','hasOwnProperty','appcode','daily','./constant/domain.js','pageSize','code','setRawMode','development','write','isTTY','userDomain','105700HbGMnT','host','routing','argv','some','slice','locale','read','empty','string','utf8','./constant/env.js','VERBOSE','2lvSLyo','global\x20config','region','22ybMyrv','high-risk-write','harnessDomain','prototype','isRaw','skillHubDomain','kbServiceDomain','app','stdin','explicit','cache','defaultApp','globalConfig','project\x20config','appCode','project','trim','global','10662UMAEAs','cwd','missing','raw','object','EACCES','822429EOMnoj','609VZboQZ','236MtDvpj','setLogPath','PAGE_SIZE','error','187952bfRVaW','FORMAT','207Dotrkj','runtimeDomain','apiDomain','parse','top-level','env','join','APPCODE','call','production'];a107_0x41e1=function(){return _0x58292a;};return a107_0x41e1();}export function inspectCliConfigJsonFile(_0x52aa2f){const _0x2f97fd=a107_0x1f043d;if(!existsSync(_0x52aa2f))return{'status':_0x2f97fd(0x214)};try{const _0x5dc6d3=readFileSync(_0x52aa2f,{'encoding':_0x2f97fd(0x1fa)});if(!_0x5dc6d3?.[_0x2f97fd(0x210)]())return{'status':_0x2f97fd(0x1f8)};const _0xa31608=JSON[_0x2f97fd(0x223)](_0x5dc6d3);return{'status':'ok','data':_0xa31608};}catch(_0x44543a){return{'status':_0x2f97fd(0x21d),'message':_0x44543a instanceof Error?_0x44543a['message']:String(_0x44543a)};}}export function loadRawConfigLayers(_0x47074b){const _0x1c153d=a107_0x1f043d;let _0x52544c={},_0x1c874f={},_0x240e6e,_0xb6364c;try{_0x240e6e=resolveConfigPath(homedir());if(_0x240e6e){const _0x2a8c33=readFileSync(_0x240e6e,{'encoding':_0x1c153d(0x1fa)});if(_0x2a8c33)_0x52544c=JSON[_0x1c153d(0x223)](_0x2a8c33);}}catch{}try{const _0x18f703=_0x47074b||process[_0x1c153d(0x213)]();_0xb6364c=resolveConfigPath(_0x18f703);if(_0xb6364c){const _0xc62e35=readFileSync(_0xb6364c,{'encoding':_0x1c153d(0x1fa)});if(_0xc62e35)_0x1c874f=JSON[_0x1c153d(0x223)](_0xc62e35);}}catch{}return{'globalPath':_0x240e6e,'projectPath':_0xb6364c,'globalConfig':_0x52544c,'projectConfig':_0x1c874f};}function mergeRawConfigLayers(_0x12c6b9){const _0x5be747=a107_0x1f043d,{globalConfig:_0x32b598,projectConfig:_0x9caf9c}=_0x12c6b9,_0x5177d1={..._0x32b598,..._0x9caf9c};delete _0x5177d1['inherit'];if(_0x5be747(0x20b)in _0x9caf9c)_0x5177d1['defaultApp']=_0x9caf9c[_0x5be747(0x20b)];else _0x32b598[_0x5be747(0x20b)]&&(_0x5177d1[_0x5be747(0x20b)]=_0x32b598[_0x5be747(0x20b)]);return _0x5177d1;}export function isInProject(){return!!getProjectConfigPath();}export function readRawConfig(_0x2647f9){return mergeRawConfigLayers(loadRawConfigLayers(_0x2647f9));}export function readRawConfigWithLayers(_0x2ffef0){const _0xc97537=loadRawConfigLayers(_0x2ffef0);return{'config':mergeRawConfigLayers(_0xc97537),'layers':_0xc97537};}export function resolveDefaultAppSource(_0x5e4d53){const _0x50b19e=a107_0x1f043d;if(_0x50b19e(0x20b)in _0x5e4d53['projectConfig'])return _0x50b19e(0x20f);if(_0x5e4d53[_0x50b19e(0x20c)][_0x50b19e(0x20b)])return _0x50b19e(0x211);return null;}function buildConfig(_0x36857a,_0x2a6cf2){const _0x58a55b=a107_0x1f043d,_0x3d1bac=mergeRawConfigLayers(_0x36857a),{projectConfig:_0x4aa433}=_0x36857a,_0x620075=_0x3d1bac[_0x58a55b(0x20b)]||undefined,_0x1a8d49=typeof _0x2a6cf2['appcode']===_0x58a55b(0x1f9)?_0x2a6cf2[_0x58a55b(0x241)]:undefined,_0x2ac7df=_0x4aa433['appcode']||_0x4aa433['app'],_0x4a5b45=!_0x1a8d49&&!_0x2a6cf2['app']&&!_0x2ac7df&&!_0x4aa433[_0x58a55b(0x20b)],_0x1b2fb9=_0x4a5b45?env(_0x58a55b(0x227)):undefined,_0x55ffdd=_0x2a6cf2[_0x58a55b(0x207)]||(_0x4a5b45&&!_0x1b2fb9?env('APP'):undefined),_0x5b09ad=_0x55ffdd||_0x620075||undefined,_0x176f82=_0x55ffdd||_0x1b2fb9?undefined:_0x2ac7df||(_0x4aa433[_0x58a55b(0x20b)]?undefined:_0x3d1bac['appcode']||_0x3d1bac[_0x58a55b(0x207)]||undefined),_0x18db5d=_0x55ffdd||(_0x176f82?undefined:_0x620075),_0x5c3d43=resolveLocalAppAliasCode(_0x3d1bac,_0x18db5d),_0x5482b6=productEnvNames('ACCESS_KEY')[_0x58a55b(0x23a)](_0x4bf5a6=>process.env[_0x4bf5a6]!==undefined),_0x252f34=_0x5482b6?process.env[_0x5482b6]:undefined,_0x243aba=_0x4aa433[_0x58a55b(0x230)]||_0x252f34||_0x3d1bac[_0x58a55b(0x230)]||undefined,_0xca25b5=_0x4aa433[_0x58a55b(0x230)]?_0x58a55b(0x20d):_0x252f34?_0x5482b6:_0x3d1bac['accessKey']?_0x58a55b(0x1fe):undefined,_0x36585b=_0x2a6cf2['env']||_0x3d1bac['env']||env(_0x58a55b(0x22b))||DEFAULT_CONFIG_VALUES['env'],_0x931abc=normalizeEnv(String(_0x36585b)),_0x298b46=isDaily(_0x931abc)?_0x58a55b(0x242):isDev(_0x931abc)?_0x58a55b(0x247):'production',_0x4c36d2=_0x1a8d49||_0x1b2fb9||_0x176f82||_0x5c3d43?undefined:resolveCachedAppCode(_0x18db5d,_0x298b46,_0x243aba),_0x1cea85=_0x1a8d49||_0x1b2fb9||_0x176f82||_0x5c3d43||_0x4c36d2||undefined,_0x2ea1dc=_0x1a8d49?_0x58a55b(0x209):_0x1b2fb9?_0x58a55b(0x225):_0x176f82?_0x58a55b(0x224):_0x5c3d43?'local-alias':_0x4c36d2?_0x58a55b(0x20a):undefined,_0xbdcaa9=_0x3d1bac[_0x58a55b(0x1f6)]||DEFAULT_CONFIG_VALUES[_0x58a55b(0x1f6)],_0x52fba8=undefined,_0x2e5972=_0x2a6cf2['format']||env(_0x58a55b(0x21f))||_0x3d1bac[_0x58a55b(0x237)],_0x4cac31=normalizeLegacyOutputFormat(_0x2e5972),_0x365a61=env(_0x58a55b(0x21c))||_0x3d1bac[_0x58a55b(0x244)],_0x540a6c=_0x365a61?Number(_0x365a61)||undefined:undefined,_0x50c101=_0x3d1bac['riskLevel'],_0x399ada=_0x50c101===_0x58a55b(0x1f7)||_0x50c101===_0x58a55b(0x248)||_0x50c101===_0x58a55b(0x201)?_0x50c101:DEFAULT_CONFIG_VALUES['riskLevel'],_0x5b69b2=_0x3d1bac[_0x58a55b(0x234)]===!![],_0xfac5cb=env(_0x58a55b(0x1fc)),_0x261986=_0xfac5cb==='1'||_0xfac5cb==='true';return{'appCode':typeof _0x1cea85===_0x58a55b(0x1f9)&&_0x1cea85[_0x58a55b(0x210)]()?_0x1cea85[_0x58a55b(0x210)]():undefined,'appCodeSource':_0x2ea1dc,'env':_0x298b46,'locale':_0xbdcaa9,'cookie':_0x52fba8,'accessKey':_0x243aba,'accessKeySource':_0xca25b5,'format':_0x4cac31,'pageSize':_0x540a6c,'riskLevel':_0x399ada,'nativeToolAvailable':_0x5b69b2,'verbose':_0x261986,'defaultApp':_0x620075,'currentApp':typeof _0x5b09ad==='string'?_0x5b09ad:undefined,'raw':_0x3d1bac};}function env(_0x223426){return productEnv(_0x223426);}async function buildAuth(_0x1e9c45){const _0x430511='',_0x19931c=!!_0x1e9c45['accessKey'];return{'cookie':_0x430511,'isLoggedIn':_0x19931c,async 'getOrLogin'(){const _0x1ebe60=a107_0xa032;if(_0x19931c)return _0x430511;throw CliErrors[_0x1ebe60(0x235)]();}};}
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)]();}};}