@lovrabet/lovrabet-cli 2.3.10-beta.2 → 2.3.10

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_0x3cc282=a94_0x5410;(function(_0x6f78d0,_0x43d335){const _0x2a68d=a94_0x5410,_0x3e6069=_0x6f78d0();while(!![]){try{const _0x592551=-parseInt(_0x2a68d(0x195))/0x1*(-parseInt(_0x2a68d(0x1a2))/0x2)+-parseInt(_0x2a68d(0x1a7))/0x3*(parseInt(_0x2a68d(0x199))/0x4)+parseInt(_0x2a68d(0x185))/0x5*(parseInt(_0x2a68d(0x188))/0x6)+parseInt(_0x2a68d(0x19d))/0x7*(-parseInt(_0x2a68d(0x18e))/0x8)+parseInt(_0x2a68d(0x197))/0x9*(-parseInt(_0x2a68d(0x19e))/0xa)+-parseInt(_0x2a68d(0x18c))/0xb*(-parseInt(_0x2a68d(0x184))/0xc)+-parseInt(_0x2a68d(0x18f))/0xd;if(_0x592551===_0x43d335)break;else _0x3e6069['push'](_0x3e6069['shift']());}catch(_0x120c4b){_0x3e6069['push'](_0x3e6069['shift']());}}}(a94_0x5143,0x85bf6));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{RUNTIME_ENV_VALUES}from'../constant/env.js';import{OUTPUT_FORMAT_VALUES}from'../constant/output.js';import{DEFAULT_LOVRABET_REGION,ENABLED_LOVRABET_REGION_VALUES}from'../constant/region.js';export const CONFIG_FIELD_SCHEMAS={'routing':{'description':'Versioned\x20enterprise\x20routing\x20manifest','topLevel':!![]},'region':{'description':a94_0x3cc282(0x189),'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_0x3cc282(0x17e)],'importable':!![]},'format':{'description':a94_0x3cc282(0x18b),'topLevel':!![],'cliSettableTopLevel':!![],'enumValues':OUTPUT_FORMAT_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES['format'],'importable':!![]},'pageSize':{'description':a94_0x3cc282(0x17d),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'apiDomain':{'description':a94_0x3cc282(0x1a6),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'userDomain':{'description':a94_0x3cc282(0x192),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'runtimeDomain':{'description':a94_0x3cc282(0x17c),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'skillDomain':{'description':a94_0x3cc282(0x17f),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'kbServiceDomain':{'description':a94_0x3cc282(0x190),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'harnessDomain':{'description':a94_0x3cc282(0x19f),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'accessKey':{'description':'Access\x20key\x20(client-ak\x20auth)','topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'riskLevel':{'description':a94_0x3cc282(0x18a),'topLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES['riskLevel'],'importable':!![]},'nativeToolAvailable':{'description':a94_0x3cc282(0x183),'topLevel':!![],'defaultValue':![]},'locale':{'description':a94_0x3cc282(0x181),'topLevel':!![],'cliSettableTopLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES[a94_0x3cc282(0x1a1)],'importable':!![]}};export const TOP_LEVEL_CONFIG_KEYS=new Set(Object[a94_0x3cc282(0x180)](CONFIG_FIELD_SCHEMAS)[a94_0x3cc282(0x198)](([,_0x119100])=>_0x119100[a94_0x3cc282(0x187)])[a94_0x3cc282(0x196)](([_0x183da6])=>_0x183da6));export const CLI_PROTECTED_CONFIG_KEYS=new Set([a94_0x3cc282(0x1a4),a94_0x3cc282(0x186)]);export const CONFIG_ENUM_VALUES=Object[a94_0x3cc282(0x193)](Object[a94_0x3cc282(0x180)](CONFIG_FIELD_SCHEMAS)['filter'](([,_0x2d134c])=>_0x2d134c['enumValues'])[a94_0x3cc282(0x196)](([_0x20bf82,_0x238392])=>[_0x20bf82,[..._0x238392[a94_0x3cc282(0x182)]||[]]]));function a94_0x5143(){const _0x36724c=['legacyCompatOnly','riskLevel','zh-CN','Override\x20API\x20domain','199269RSjPdK','Override\x20runtime\x20domain','Default\x20page\x20size','env','Override\x20SkillHub\x20domain','entries','App\x20locale\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)','enumValues','Native\x20Lovrabet\x20tool\x20availability\x20in\x20the\x20current\x20execution\x20host','525864FGlaSX','5jvuGbT','nativeToolAvailable','cliSettableTopLevel','5909196jIRZHo','Lovrabet\x20region','Risk\x20level','Default\x20output\x20format','187EMFoam','has','3664vzZeWj','4288934ViTeik','Override\x20KB\x20Service\x20domain',';\x20local\x20alias:\x20apps.<alias>.appcode','Override\x20user\x20domain','fromEntries','join','126135IIundQ','map','43218DkJRpC','filter','12XWwHke','toLowerCase','importable','defaultValue','6587vrdNkE','1250pniHth','Override\x20Harness\x20domain','en-US','locale','6kIkXPi'];a94_0x5143=function(){return _0x36724c;};return a94_0x5143();}export const IMPORTABLE_RUNTIME_CONFIG_KEYS=Object[a94_0x3cc282(0x180)](CONFIG_FIELD_SCHEMAS)[a94_0x3cc282(0x198)](([,_0x4ce2e2])=>_0x4ce2e2[a94_0x3cc282(0x19b)])[a94_0x3cc282(0x196)](([_0x346e4b])=>_0x346e4b);export function getConfigFieldSchema(_0x556f67){return CONFIG_FIELD_SCHEMAS[_0x556f67];}export function getConfigEnumValues(_0x3b4d53){const _0x3f709c=a94_0x3cc282;return getConfigFieldSchema(_0x3b4d53)?.[_0x3f709c(0x182)];}function a94_0x5410(_0x3e6c97,_0x13c72d){_0x3e6c97=_0x3e6c97-0x17c;const _0x514350=a94_0x5143();let _0x54100b=_0x514350[_0x3e6c97];return _0x54100b;}export function getConfigDefaultValue(_0x319913){const _0x9b2506=a94_0x3cc282;return getConfigFieldSchema(_0x319913)?.[_0x9b2506(0x19c)];}export function isTopLevelConfigKey(_0x32b3a7){const _0x4c631b=a94_0x3cc282;return TOP_LEVEL_CONFIG_KEYS[_0x4c631b(0x18d)](_0x32b3a7);}export function isCliProtectedConfigKey(_0x13f6a1){const _0x1ddf76=a94_0x3cc282;return CLI_PROTECTED_CONFIG_KEYS[_0x1ddf76(0x18d)](_0x13f6a1);}const LOCALE_MAP={'zh':a94_0x3cc282(0x1a5),'zh-cn':a94_0x3cc282(0x1a5),'zh_cn':a94_0x3cc282(0x1a5),'en':a94_0x3cc282(0x1a0),'en-us':a94_0x3cc282(0x1a0),'en_us':a94_0x3cc282(0x1a0)};export function normalizeLocale(_0x494dc0){const _0x4bc128=a94_0x3cc282;if(!_0x494dc0)return null;return LOCALE_MAP[_0x494dc0[_0x4bc128(0x19a)]()]??null;}export function isLegacyCompatConfigKey(_0x2099d0){const _0x239d7b=a94_0x3cc282;return getConfigFieldSchema(_0x2099d0)?.[_0x239d7b(0x1a3)]===!![];}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function formatConfigKeyList(_0x455da5){const _0x57cc7a=a94_0x3cc282;return[..._0x455da5][_0x57cc7a(0x194)](',\x20');}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x253baf=a94_0x3cc282;return'Config\x20key.\x20Top-level:\x20'+getTopLevelConfigKeySummary()+_0x253baf(0x191);}export function buildAppProfileListFields(_0x5bc4a6){return{'env':_0x5bc4a6,'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_0x430ba4=a95_0x3384;(function(_0x51ae06,_0x2a68ce){const _0x4ff934=a95_0x3384,_0x45e297=_0x51ae06();while(!![]){try{const _0x340fdf=parseInt(_0x4ff934(0xfd))/0x1+-parseInt(_0x4ff934(0x102))/0x2+-parseInt(_0x4ff934(0xfe))/0x3+-parseInt(_0x4ff934(0xfc))/0x4+parseInt(_0x4ff934(0x100))/0x5+-parseInt(_0x4ff934(0x101))/0x6+parseInt(_0x4ff934(0xfb))/0x7;if(_0x340fdf===_0x2a68ce)break;else _0x45e297['push'](_0x45e297['shift']());}catch(_0x1cd765){_0x45e297['push'](_0x45e297['shift']());}}}(a95_0x33f8,0x5297e));export const APP_PUBLISH_STATUS={'Published':a95_0x430ba4(0xfa),'Unpublished':'UNPUBLISH'};function a95_0x3384(_0x13f7d1,_0x4d0e37){_0x13f7d1=_0x13f7d1-0xfa;const _0x33f83a=a95_0x33f8();let _0x33849b=_0x33f83a[_0x13f7d1];return _0x33849b;}function a95_0x33f8(){const _0x4c32d5=['2545284PdtMdv','39424pHZwFw','1982025sOjQfj','Published','969665CYHaiD','1750776AHPipg','417838PPSDOE','PUBLISHED','13318592giYgQk'];a95_0x33f8=function(){return _0x4c32d5;};return a95_0x33f8();}export const RUNTIME_ACCESSIBLE_APP_STATUS=APP_PUBLISH_STATUS[a95_0x430ba4(0xff)];
@@ -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
+ const a96_0x4052f7=a96_0x3dc8;(function(_0x6f3173,_0x5a46a1){const _0x1675b2=a96_0x3dc8,_0x58c4f0=_0x6f3173();while(!![]){try{const _0x32b182=parseInt(_0x1675b2(0x191))/0x1*(-parseInt(_0x1675b2(0x197))/0x2)+-parseInt(_0x1675b2(0x196))/0x3+-parseInt(_0x1675b2(0x18d))/0x4*(-parseInt(_0x1675b2(0x18c))/0x5)+parseInt(_0x1675b2(0x193))/0x6+-parseInt(_0x1675b2(0x192))/0x7+-parseInt(_0x1675b2(0x18f))/0x8*(parseInt(_0x1675b2(0x190))/0x9)+parseInt(_0x1675b2(0x195))/0xa;if(_0x32b182===_0x5a46a1)break;else _0x58c4f0['push'](_0x58c4f0['shift']());}catch(_0x58c638){_0x58c4f0['push'](_0x58c4f0['shift']());}}}(a96_0x18d1,0x449bd));function a96_0x3dc8(_0x45f0b0,_0x4cd8f0){_0x45f0b0=_0x45f0b0-0x18c;const _0x18d186=a96_0x18d1();let _0x3dc860=_0x18d186[_0x45f0b0];return _0x3dc860;}function a96_0x18d1(){const _0x5f2f17=['ClientAk','8wdvQRb','4656933nJKTjZ','566jpvdpa','1399167HUOcBn','314082jQKRKM','client-ak','16620870CjLaiB','1127229tffsLg','1486rbZKkJ','5jQfKzw','320744NgyciA'];a96_0x18d1=function(){return _0x5f2f17;};return a96_0x18d1();}export const AUTH_MODE={'ClientAk':a96_0x4052f7(0x194)};export function isAuthMode(_0x3cc598){const _0x1bfe87=a96_0x4052f7;return _0x3cc598===AUTH_MODE[_0x1bfe87(0x18e)];}
@@ -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
+ const a97_0x70c0ee=a97_0x2c87;(function(_0x17f081,_0x4f2199){const _0x4a1683=a97_0x2c87,_0x26f003=_0x17f081();while(!![]){try{const _0x1f9202=-parseInt(_0x4a1683(0x1ad))/0x1+-parseInt(_0x4a1683(0x1a1))/0x2+-parseInt(_0x4a1683(0x197))/0x3*(-parseInt(_0x4a1683(0x1bb))/0x4)+parseInt(_0x4a1683(0x1a0))/0x5*(parseInt(_0x4a1683(0x1be))/0x6)+parseInt(_0x4a1683(0x1c0))/0x7+-parseInt(_0x4a1683(0x1a3))/0x8*(parseInt(_0x4a1683(0x1b0))/0x9)+parseInt(_0x4a1683(0x1bf))/0xa;if(_0x1f9202===_0x4f2199)break;else _0x26f003['push'](_0x26f003['shift']());}catch(_0x1a4957){_0x26f003['push'](_0x26f003['shift']());}}}(a97_0x4840,0xa7158));function a97_0x4840(){const _0x34a66d=['<code>','yes','Alias\x20for\x20--non-interactive','map','boolean','appcode','verbose','Select\x20app\x20profile\x20by\x20name','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20implies\x20--format\x20json\x20when\x20current\x20format\x20is\x20pretty)','548572ZDsdmA','params','Clear\x20output','1068idgeCQ','1399570gsNolh','5810805HbqrTQ','sqlcode','cliBinName','format','Verbose\x20output','15TSOKqA','Output\x20format','JSON\x20params\x20for\x20execute\x20commands','non-interactive','Force\x20non-interactive\x20mode\x20(CI)','SQL\x20query\x20code','string','Name\x20filter','Skip\x20confirmation\x20for\x20high-risk\x20writes','28465PwgPeC','1039636JLpBEx','Record\x20ID','160712mGGLpB','cliDisplayName','meowKey','help','Environment','fromEntries','<expr>','clear','env','Preview\x20operation\x20without\x20executing','621209lFyAPH','dry-run','<name>','378FmpkXx','app'];a97_0x4840=function(){return _0x34a66d;};return a97_0x4840();}import{PRODUCT_CONFIG}from'../constant/product.js';function a97_0x2c87(_0xfb767,_0x15613e){_0xfb767=_0xfb767-0x193;const _0x48409e=a97_0x4840();let _0x2c8772=_0x48409e[_0xfb767];return _0x2c8772;}import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';export const CLI_BIN_NAME=PRODUCT_CONFIG[a97_0x70c0ee(0x194)];export const CLI_DISPLAY_NAME=PRODUCT_CONFIG[a97_0x70c0ee(0x1a4)];export const NPM_PACKAGE_NAME=LOVRABET_NPM_PACKAGE_NAME;export const GLOBAL_FLAGS=[{'name':a97_0x70c0ee(0x1b7),'meowKey':a97_0x70c0ee(0x1b7),'type':'string','description':'Override\x20appcode','hint':a97_0x70c0ee(0x1b2)},{'name':a97_0x70c0ee(0x1b1),'meowKey':a97_0x70c0ee(0x1b1),'type':a97_0x70c0ee(0x19d),'description':a97_0x70c0ee(0x1b9),'hint':a97_0x70c0ee(0x1af)},{'name':a97_0x70c0ee(0x1ab),'meowKey':a97_0x70c0ee(0x1ab),'type':a97_0x70c0ee(0x19d),'description':a97_0x70c0ee(0x1a7),'hint':'production\x20|\x20development\x20|\x20daily'},{'name':a97_0x70c0ee(0x195),'meowKey':'format','type':'string','description':a97_0x70c0ee(0x198),'hint':'json\x20|\x20pretty\x20|\x20compress'},{'name':'jq','meowKey':'jq','type':'string','description':a97_0x70c0ee(0x1ba),'hint':a97_0x70c0ee(0x1a9)},{'name':'dry-run','meowKey':'dryRun','type':a97_0x70c0ee(0x1b6),'description':a97_0x70c0ee(0x1ac)},{'name':a97_0x70c0ee(0x1b3),'meowKey':a97_0x70c0ee(0x1b3),'type':a97_0x70c0ee(0x1b6),'description':a97_0x70c0ee(0x19f)},{'name':a97_0x70c0ee(0x19a),'meowKey':'nonInteractive','type':a97_0x70c0ee(0x1b6),'description':a97_0x70c0ee(0x19b)},{'name':'global','meowKey':'global','type':a97_0x70c0ee(0x1b6),'description':'Use\x20global\x20config\x20scope'},{'name':'ci','meowKey':'ci','type':a97_0x70c0ee(0x1b6),'description':a97_0x70c0ee(0x1b4),'hidden':!![]},{'name':a97_0x70c0ee(0x1a6),'meowKey':a97_0x70c0ee(0x1a6),'type':a97_0x70c0ee(0x1b6),'description':'Show\x20help'},{'name':'id','meowKey':'id','type':'string','description':a97_0x70c0ee(0x1a2),'hidden':!![]},{'name':'name','meowKey':'name','type':a97_0x70c0ee(0x19d),'description':a97_0x70c0ee(0x19e),'hidden':!![]},{'name':a97_0x70c0ee(0x193),'meowKey':'sqlcode','type':a97_0x70c0ee(0x19d),'description':a97_0x70c0ee(0x19c),'hidden':!![]},{'name':'params','meowKey':a97_0x70c0ee(0x1bc),'type':a97_0x70c0ee(0x19d),'description':a97_0x70c0ee(0x199),'hidden':!![]},{'name':a97_0x70c0ee(0x1b8),'meowKey':a97_0x70c0ee(0x1b8),'type':'boolean','description':a97_0x70c0ee(0x196),'hidden':!![]},{'name':a97_0x70c0ee(0x1aa),'meowKey':'clear','type':a97_0x70c0ee(0x1b6),'description':a97_0x70c0ee(0x1bd),'hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set(['appcode',a97_0x70c0ee(0x1b1),a97_0x70c0ee(0x1ab),a97_0x70c0ee(0x195),'jq',a97_0x70c0ee(0x1ae),'yes',a97_0x70c0ee(0x19a),'ci']);export function buildMeowFlags(){const _0x5b744=a97_0x70c0ee;return Object[_0x5b744(0x1a8)](GLOBAL_FLAGS[_0x5b744(0x1b5)](_0x1ef381=>[_0x1ef381[_0x5b744(0x1a5)],{'type':_0x1ef381['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_0x54e069=a98_0x240f;(function(_0x354021,_0x29ee53){const _0x57d46b=a98_0x240f,_0x4679e1=_0x354021();while(!![]){try{const _0x278bcc=-parseInt(_0x57d46b(0x163))/0x1*(-parseInt(_0x57d46b(0x168))/0x2)+-parseInt(_0x57d46b(0x16a))/0x3+parseInt(_0x57d46b(0x167))/0x4+parseInt(_0x57d46b(0x15e))/0x5+parseInt(_0x57d46b(0x15f))/0x6*(parseInt(_0x57d46b(0x16b))/0x7)+parseInt(_0x57d46b(0x161))/0x8*(-parseInt(_0x57d46b(0x16c))/0x9)+-parseInt(_0x57d46b(0x164))/0xa*(parseInt(_0x57d46b(0x160))/0xb);if(_0x278bcc===_0x29ee53)break;else _0x4679e1['push'](_0x4679e1['shift']());}catch(_0x2afbb0){_0x4679e1['push'](_0x4679e1['shift']());}}}(a98_0x2207,0x8aaf9));function a98_0x240f(_0x3a92b5,_0x15c3e0){_0x3a92b5=_0x3a92b5-0x15d;const _0x2207cf=a98_0x2207();let _0x240f1a=_0x2207cf[_0x3a92b5];return _0x240f1a;}function a98_0x2207(){const _0x320db3=['4720600XppZyA','30696ncyfzO','13673154DIGQeh','8GVxZaj','write','389309PhKtJh','10tSBsJG','en-US','main','2900348tmwkUF','2uCWfde','production','1693770MAmxRj','1253pKionp','5387571wjZStF','compress'];a98_0x2207=function(){return _0x320db3;};return a98_0x2207();}export const DEFAULT_APP_PROFILE_NAME=a98_0x54e069(0x166);export const DEFAULT_CONFIG_VALUES={'env':a98_0x54e069(0x169),'format':a98_0x54e069(0x15d),'locale':a98_0x54e069(0x165),'riskLevel':a98_0x54e069(0x162)};export const DEFAULT_COMMAND_OUTPUT_FORMAT='compress';
@@ -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_0x54f35a=a99_0x459a;function a99_0x5e50(){const _0x15e0c9=['npmPackageName','1242728Omimez','109974EflZFB','skillSource','7XeqnYA','124832VKDmMq','445dcUIHO','50238uqsSaz','730998bAsmOV','505050igZNbD','8084tteKvJ'];a99_0x5e50=function(){return _0x15e0c9;};return a99_0x5e50();}(function(_0x7a1328,_0x15ec2e){const _0x3ef046=a99_0x459a,_0x286a6d=_0x7a1328();while(!![]){try{const _0x702190=parseInt(_0x3ef046(0x1a8))/0x1+-parseInt(_0x3ef046(0x1a5))/0x2+parseInt(_0x3ef046(0x1aa))/0x3+-parseInt(_0x3ef046(0x1ad))/0x4*(-parseInt(_0x3ef046(0x1a9))/0x5)+parseInt(_0x3ef046(0x1ac))/0x6+-parseInt(_0x3ef046(0x1a7))/0x7*(parseInt(_0x3ef046(0x1a4))/0x8)+-parseInt(_0x3ef046(0x1ab))/0x9;if(_0x702190===_0x15ec2e)break;else _0x286a6d['push'](_0x286a6d['shift']());}catch(_0x1af454){_0x286a6d['push'](_0x286a6d['shift']());}}}(a99_0x5e50,0x1bd98));function a99_0x459a(_0x3017c6,_0x491fa8){_0x3017c6=_0x3017c6-0x1a4;const _0x5e50d9=a99_0x5e50();let _0x459a0b=_0x5e50d9[_0x3017c6];return _0x459a0b;}import{PRODUCT_CONFIG}from'../constant/product.js';export const LOVRABET_NPM_PACKAGE_NAME=PRODUCT_CONFIG[a99_0x54f35a(0x1ae)];export const LOVRABET_SKILL_SOURCE=PRODUCT_CONFIG[a99_0x54f35a(0x1a6)];export const NPM_REGISTRY_BASE_URL=PRODUCT_CONFIG['npmRegistryBaseUrl'];export const LOVRABET_CLI_CDN_BASE_URL=PRODUCT_CONFIG['cliCdnBaseUrl'];export const LOVRABET_CLI_VERSION_POLICY_URL=LOVRABET_CLI_CDN_BASE_URL+'/dist/lovrabet-cli/config/index.json';
@@ -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_0x19fc8f=a100_0x32fd;(function(_0x3cfc38,_0x2e58f8){const _0xba829f=a100_0x32fd,_0x214ad1=_0x3cfc38();while(!![]){try{const _0x3e07bd=-parseInt(_0xba829f(0x1d8))/0x1+parseInt(_0xba829f(0x1e7))/0x2+-parseInt(_0xba829f(0x1dc))/0x3+-parseInt(_0xba829f(0x1e9))/0x4+parseInt(_0xba829f(0x1e8))/0x5*(-parseInt(_0xba829f(0x1e2))/0x6)+-parseInt(_0xba829f(0x1df))/0x7+parseInt(_0xba829f(0x1e0))/0x8*(parseInt(_0xba829f(0x1e3))/0x9);if(_0x3e07bd===_0x2e58f8)break;else _0x214ad1['push'](_0x214ad1['shift']());}catch(_0x1270f0){_0x214ad1['push'](_0x214ad1['shift']());}}}(a100_0x4c35,0x356d9));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';function a100_0x32fd(_0x3f66ed,_0x4734ef){_0x3f66ed=_0x3f66ed-0x1d4;const _0x4c35e4=a100_0x4c35();let _0x32fde1=_0x4c35e4[_0x3f66ed];return _0x32fde1;}let customApiDomain,customUserDomain,customRuntimeDomain,customSkillDomain,customKbServiceDomain,customHarnessDomain,activeRegion=DEFAULT_LOVRABET_REGION;export function initDomains(_0x3d5039){const _0x3dc794=a100_0x32fd;customApiDomain=_0x3d5039?.[_0x3dc794(0x1d6)],customUserDomain=_0x3d5039?.[_0x3dc794(0x1ea)],customRuntimeDomain=_0x3d5039?.[_0x3dc794(0x1e6)],customSkillDomain=_0x3d5039?.[_0x3dc794(0x1eb)],customKbServiceDomain=_0x3d5039?.[_0x3dc794(0x1db)],customHarnessDomain=_0x3d5039?.[_0x3dc794(0x1e5)],activeRegion=_0x3d5039?.[_0x3dc794(0x1d9)]??DEFAULT_LOVRABET_REGION;}const getActiveRegionDomains=()=>{const _0x19a7ed=a100_0x32fd,_0x4cbd4=OFFICIAL_ROUTING_PROFILES[activeRegion][_0x19a7ed(0x1d5)];return isProduction(getEnv())?_0x4cbd4[_0x19a7ed(0x1de)]:_0x19a7ed(0x1da)in _0x4cbd4?_0x4cbd4[_0x19a7ed(0x1da)]:_0x4cbd4[_0x19a7ed(0x1de)];};export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()[a100_0x19fc8f(0x1e4)];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()['api'];export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()['runtime'];export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()[a100_0x19fc8f(0x1e1)];export const getKbServiceDomain=()=>{const _0xa520b4=a100_0x19fc8f;if(customKbServiceDomain)return customKbServiceDomain;const _0x1e3fcc=getActiveRegionDomains();return _0xa520b4(0x1d4)in _0x1e3fcc?_0x1e3fcc[_0xa520b4(0x1d4)]:undefined;};function a100_0x4c35(){const _0x3f7bda=['219088rbqIZc','region','daily','kbServiceDomain','297294XIRatE','harness','production','1555064rBjQAb','648HQuKfJ','skill','27612xnHAWF','112833JpSQZS','user','harnessDomain','runtimeDomain','510452ZAYwOa','395esFXqF','591944tsiAUj','userDomain','skillDomain','kbService','serviceDomains','apiDomain','validation'];a100_0x4c35=function(){return _0x3f7bda;};return a100_0x4c35();}export const getHarnessDomain=()=>{const _0x1da18c=a100_0x19fc8f;if(customHarnessDomain)return customHarnessDomain;const _0x263342=getActiveRegionDomains();return _0x1da18c(0x1dd)in _0x263342?_0x263342[_0x1da18c(0x1dd)]:undefined;};export function requireHarnessDomain(){const _0x39d6b6=a100_0x19fc8f,_0x4a6186=getHarnessDomain();if(!_0x4a6186)throw CliErrors[_0x39d6b6(0x1d7)]('Harness\x20is\x20not\x20configured.','Configure\x20a\x20trusted\x20harnessDomain\x20HTTPS\x20origin\x20in\x20the\x20connection\x20settings.');return _0x4a6186;}
@@ -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
+ function a101_0x538f(){const _0x97eeff=['ENV','1041672gHbEbw','1745024IpVFRa','3519789LEThma','production','development','daily','35094bpZoMo','1673704wQzDCZ','11579274vPvROE','58309SINmtc','2GJlwID','online','55BOpMhE'];a101_0x538f=function(){return _0x97eeff;};return a101_0x538f();}const a101_0x2252d4=a101_0x3b4a;(function(_0x37f261,_0x4ba1d0){const _0x5c3fb1=a101_0x3b4a,_0x3604db=_0x37f261();while(!![]){try{const _0x81c664=parseInt(_0x5c3fb1(0xe0))/0x1*(parseInt(_0x5c3fb1(0xd3))/0x2)+parseInt(_0x5c3fb1(0xd7))/0x3+parseInt(_0x5c3fb1(0xd8))/0x4+-parseInt(_0x5c3fb1(0xd5))/0x5*(-parseInt(_0x5c3fb1(0xdd))/0x6)+parseInt(_0x5c3fb1(0xd9))/0x7+parseInt(_0x5c3fb1(0xde))/0x8+-parseInt(_0x5c3fb1(0xdf))/0x9;if(_0x81c664===_0x4ba1d0)break;else _0x3604db['push'](_0x3604db['shift']());}catch(_0x3ef5c2){_0x3604db['push'](_0x3604db['shift']());}}}(a101_0x538f,0x50f3e));import{productEnv}from'../constant/product.js';export const RUNTIME_ENV_VALUES=[a101_0x2252d4(0xda),a101_0x2252d4(0xdb),a101_0x2252d4(0xdc)];export function normalizeEnv(_0x42db13){const _0x14d41c=a101_0x2252d4;return _0x42db13===_0x14d41c(0xd4)||_0x42db13==='prod'?_0x14d41c(0xda):_0x42db13;}export function isProduction(_0x4fbcb7){const _0x52d364=a101_0x2252d4;return normalizeEnv(_0x4fbcb7)===_0x52d364(0xda);}export function isDaily(_0x39d200){const _0x512e09=a101_0x2252d4;return normalizeEnv(_0x39d200)===_0x512e09(0xdc);}export function isDev(_0x596152){const _0x103f51=a101_0x2252d4,_0x4af04c=normalizeEnv(_0x596152);return _0x4af04c===_0x103f51(0xdb)||_0x4af04c==='dev';}let env=normalizeEnv(productEnv(a101_0x2252d4(0xd6))||a101_0x2252d4(0xda));function a101_0x3b4a(_0x333af4,_0x341708){_0x333af4=_0x333af4-0xd3;const _0x538f8c=a101_0x538f();let _0x3b4ac0=_0x538f8c[_0x333af4];return _0x3b4ac0;}export function getEnv(){return env;}export function initEnv(_0x498da6){env=normalizeEnv(_0x498da6);}
@@ -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
+ const a102_0xdf718b=a102_0x502b;(function(_0x1416f4,_0x51657f){const _0x2bdba6=a102_0x502b,_0x331733=_0x1416f4();while(!![]){try{const _0x193561=-parseInt(_0x2bdba6(0x1e9))/0x1+parseInt(_0x2bdba6(0x1f2))/0x2+-parseInt(_0x2bdba6(0x1ef))/0x3*(-parseInt(_0x2bdba6(0x1f3))/0x4)+parseInt(_0x2bdba6(0x1eb))/0x5+-parseInt(_0x2bdba6(0x1ec))/0x6+-parseInt(_0x2bdba6(0x1ea))/0x7+parseInt(_0x2bdba6(0x1ed))/0x8*(parseInt(_0x2bdba6(0x1f1))/0x9);if(_0x193561===_0x51657f)break;else _0x331733['push'](_0x331733['shift']());}catch(_0x3d3f8c){_0x331733['push'](_0x331733['shift']());}}}(a102_0x49f1,0xef58a));function a102_0x502b(_0x273894,_0x3e17ee){_0x273894=_0x273894-0x1e8;const _0x49f112=a102_0x49f1();let _0x502b79=_0x49f112[_0x273894];return _0x502b79;}export const OUTPUT_FORMAT_VALUES=[a102_0xdf718b(0x1e8),a102_0xdf718b(0x1ee),a102_0xdf718b(0x1f0)];function a102_0x49f1(){const _0x55885e=['403947haCczO','1619430OqbhDb','4VrArFW','json','1286150oCdByu','1330392LvZZEM','8099900kCfqlc','10099722BbWCqs','48JsybjI','pretty','4322586pVjaez','compress'];a102_0x49f1=function(){return _0x55885e;};return a102_0x49f1();}
@@ -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_0x1e0820=a103_0xf470;(function(_0x4dbbcd,_0x240d14){const _0x2590f2=a103_0xf470,_0x5e2428=_0x4dbbcd();while(!![]){try{const _0x163490=-parseInt(_0x2590f2(0xff))/0x1+parseInt(_0x2590f2(0xfb))/0x2*(parseInt(_0x2590f2(0xf9))/0x3)+parseInt(_0x2590f2(0x104))/0x4*(-parseInt(_0x2590f2(0x106))/0x5)+parseInt(_0x2590f2(0xf7))/0x6+parseInt(_0x2590f2(0xfe))/0x7*(-parseInt(_0x2590f2(0x102))/0x8)+parseInt(_0x2590f2(0xfc))/0x9*(-parseInt(_0x2590f2(0x105))/0xa)+parseInt(_0x2590f2(0x10c))/0xb*(parseInt(_0x2590f2(0xfa))/0xc);if(_0x163490===_0x240d14)break;else _0x5e2428['push'](_0x5e2428['shift']());}catch(_0x3ec29d){_0x5e2428['push'](_0x5e2428['shift']());}}}(a103_0x11ad,0x78d2e));export const PRODUCT_CONFIG={'cliBinName':a103_0x1e0820(0x109),'cliDisplayName':'Lovrabet\x20Runtime\x20CLI','npmPackageName':a103_0x1e0820(0x10a),'skillSource':'lovrabet/lovrabet-cli','internalSkillSource':a103_0x1e0820(0x10d),'globalSkillName':a103_0x1e0820(0x109),'npmRegistryBaseUrl':'https://registry.npmjs.org','cliCdnBaseUrl':a103_0x1e0820(0x10b),'envPrefix':a103_0x1e0820(0xf5),'legacyEnvPrefixes':[a103_0x1e0820(0x107)],'configFileNames':[a103_0x1e0820(0x100)],'newConfigFileName':a103_0x1e0820(0x100),'homeDirName':'.lovrabet','logFileName':'.lovrabet-runtime.log','invokeSource':a103_0x1e0820(0xfd),'userCenterDisplayName':a103_0x1e0820(0x108),'skipNpxSkillsEnvSuffix':'SKIP_NPX_SKILLS','accessKeyCreatePath':a103_0x1e0820(0xf6)};function a103_0x11ad(){const _0x2b291c=['4211260fiIXlp','RABETBASE','Lovrabet\x20User\x20Center','lovrabet','@lovrabet/lovrabet-cli','https://g.lovrabet.com','26323rsGroj','git@codeup.aliyun.com:yuntoo/open/lovrabet-runtime-cli.git','LOVRABET','/user/ak','1589844SWbjAd','legacyEnvPrefixes','25494MRIbGy','11952RcOZjy','46ElXaOj','9DvSgJe','cli:lovrabet-runtime','7jcmaPj','396900ocMrqU','.lovrabet.json','envPrefix','5520232wWUtYF','map','4fUTFJy','4197810rTqYPu'];a103_0x11ad=function(){return _0x2b291c;};return a103_0x11ad();}export function productEnvName(_0xf34510){const _0x1cc2de=a103_0x1e0820;return PRODUCT_CONFIG[_0x1cc2de(0x101)]+'_'+_0xf34510;}export function productEnvNames(_0x21a7a5){const _0x35a98a=a103_0x1e0820;return[productEnvName(_0x21a7a5),...PRODUCT_CONFIG[_0x35a98a(0xf8)][_0x35a98a(0x103)](_0x11b656=>_0x11b656+'_'+_0x21a7a5)];}function a103_0xf470(_0x49448c,_0xc8624d){_0x49448c=_0x49448c-0xf5;const _0x11ad3c=a103_0x11ad();let _0xf470c4=_0x11ad3c[_0x49448c];return _0xf470c4;}export function productEnv(_0x5bba01){for(const _0x359c55 of productEnvNames(_0x5bba01)){const _0x47ee05=process.env[_0x359c55];if(_0x47ee05!==undefined)return _0x47ee05;}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 a104_0x34cf(){const _0x3132b9=['Available\x20regions:\x20','386007Tdmenq','2939986ripKRP','3838464QQyEiR','Run\x20`lovrabet\x20config\x20init`\x20to\x20restore\x20the\x20global\x20country/region\x20configuration.','\x22\x20is\x20not\x20currently\x20available.','Invalid\x20region\x20value:\x20expected\x20a\x20string,\x20received\x20','.\x20Run\x20`lovrabet\x20config\x20init`\x20to\x20repair\x20the\x20global\x20configuration.','41843813MohUdb','Region\x20\x22','1117505WFisMQ','join','4mBeTPv','10wXxbjz','381PsBwYy','string','includes','11309850objCLT','validation','24qxVKoJ','1644uWMFhD'];a104_0x34cf=function(){return _0x3132b9;};return a104_0x34cf();}(function(_0xac10e6,_0x490e21){const _0x5a7fc3=a104_0x2a07,_0x2212e8=_0xac10e6();while(!![]){try{const _0x546f02=parseInt(_0x5a7fc3(0x17a))/0x1+parseInt(_0x5a7fc3(0x178))/0x2*(-parseInt(_0x5a7fc3(0x172))/0x3)+parseInt(_0x5a7fc3(0x170))/0x4*(-parseInt(_0x5a7fc3(0x16e))/0x5)+-parseInt(_0x5a7fc3(0x17c))/0x6+parseInt(_0x5a7fc3(0x17b))/0x7*(-parseInt(_0x5a7fc3(0x177))/0x8)+-parseInt(_0x5a7fc3(0x175))/0x9*(parseInt(_0x5a7fc3(0x171))/0xa)+parseInt(_0x5a7fc3(0x16c))/0xb;if(_0x546f02===_0x490e21)break;else _0x2212e8['push'](_0x2212e8['shift']());}catch(_0x15fff5){_0x2212e8['push'](_0x2212e8['shift']());}}}(a104_0x34cf,0xac4ab));import{DEFAULT_REGION,ENABLED_REGION_VALUES,REGION_ALIASES,REGION_VALUES}from'../generated/official-routing.js';import{CliErrors}from'../errors.js';export const LOVRABET_REGION_VALUES=REGION_VALUES;export const ENABLED_LOVRABET_REGION_VALUES=ENABLED_REGION_VALUES;export const DEFAULT_LOVRABET_REGION=DEFAULT_REGION;export function isLovrabetRegion(_0x202314){const _0x3cc0b1=a104_0x2a07;return typeof _0x202314===_0x3cc0b1(0x173)&&LOVRABET_REGION_VALUES[_0x3cc0b1(0x174)](_0x202314);}export function isEnabledLovrabetRegion(_0x27bb3e){const _0x55f508=a104_0x2a07;return typeof _0x27bb3e===_0x55f508(0x173)&&ENABLED_LOVRABET_REGION_VALUES['includes'](_0x27bb3e);}function a104_0x2a07(_0x5dae05,_0xc0504b){_0x5dae05=_0x5dae05-0x16c;const _0x34cf4a=a104_0x34cf();let _0x2a078a=_0x34cf4a[_0x5dae05];return _0x2a078a;}export function normalizeLovrabetRegion(_0x933111){const _0x4e700e=a104_0x2a07;if(_0x933111===undefined||_0x933111===null||_0x933111==='')return DEFAULT_LOVRABET_REGION;if(typeof _0x933111!==_0x4e700e(0x173))throw CliErrors['validation'](_0x4e700e(0x17f)+typeof _0x933111+'.',_0x4e700e(0x17d));const _0x13ffc5=REGION_ALIASES[_0x933111]??_0x933111;if(isEnabledLovrabetRegion(_0x13ffc5))return _0x13ffc5;throw CliErrors[_0x4e700e(0x176)](_0x4e700e(0x16d)+_0x933111+_0x4e700e(0x17e),_0x4e700e(0x179)+ENABLED_LOVRABET_REGION_VALUES[_0x4e700e(0x16f)](',\x20')+_0x4e700e(0x180));}
@@ -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(_0x4a2899,_0x4b3f9c){const _0x274a63=a105_0x5cd6,_0x4dfca4=_0x4a2899();while(!![]){try{const _0x197545=-parseInt(_0x274a63(0xab))/0x1+-parseInt(_0x274a63(0xac))/0x2+-parseInt(_0x274a63(0xb1))/0x3+parseInt(_0x274a63(0xb0))/0x4*(parseInt(_0x274a63(0xa9))/0x5)+parseInt(_0x274a63(0xaf))/0x6+parseInt(_0x274a63(0xaa))/0x7+-parseInt(_0x274a63(0xad))/0x8*(parseInt(_0x274a63(0xae))/0x9);if(_0x197545===_0x4b3f9c)break;else _0x4dfca4['push'](_0x4dfca4['shift']());}catch(_0xfd6354){_0x4dfca4['push'](_0x4dfca4['shift']());}}}(a105_0x60a0,0x2f999));function a105_0x5cd6(_0x17a4a7,_0x444b7f){_0x17a4a7=_0x17a4a7-0xa9;const _0x60a0af=a105_0x60a0();let _0x5cd657=_0x60a0af[_0x17a4a7];return _0x5cd657;}function a105_0x60a0(){const _0x3f3edf=['741181heXlBd','11127FAjwYO','431884koyfGR','1152488htZDuu','9MHktnB','1009074OFDVUS','52vdyxwK','155010YPYpBO','132195WWyJeC'];a105_0x60a0=function(){return _0x3f3edf;};return a105_0x60a0();}export const RISK_LEVEL_VALUES=['read','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(_0x14a463,_0x487fd8){const _0x237d3b=a106_0x5360,_0x2dfebe=_0x14a463();while(!![]){try{const _0x36643e=-parseInt(_0x237d3b(0x168))/0x1+parseInt(_0x237d3b(0x165))/0x2*(parseInt(_0x237d3b(0x166))/0x3)+parseInt(_0x237d3b(0x160))/0x4+-parseInt(_0x237d3b(0x162))/0x5+-parseInt(_0x237d3b(0x16a))/0x6+-parseInt(_0x237d3b(0x163))/0x7+-parseInt(_0x237d3b(0x167))/0x8*(-parseInt(_0x237d3b(0x169))/0x9);if(_0x36643e===_0x487fd8)break;else _0x2dfebe['push'](_0x2dfebe['shift']());}catch(_0xf90ef9){_0x2dfebe['push'](_0x2dfebe['shift']());}}}(a106_0x277a,0xcc564));function a106_0x5360(_0x3a1242,_0x12b45c){_0x3a1242=_0x3a1242-0x15e;const _0x277a25=a106_0x277a();let _0x536013=_0x277a25[_0x3a1242];return _0x536013;}import{PRODUCT_CONFIG}from'../constant/product.js';import{OFFICIAL_ROUTING_PROFILES}from'../generated/official-routing.js';import{DEFAULT_LOVRABET_REGION}from'../constant/region.js';export function getUserAccessKeyCreateUrl(_0x481cb9=DEFAULT_LOVRABET_REGION){const _0x9ae270=a106_0x5360,_0x5b7e99=OFFICIAL_ROUTING_PROFILES[_0x481cb9][_0x9ae270(0x15e)][_0x9ae270(0x164)][_0x9ae270(0x15f)];return''+_0x5b7e99+PRODUCT_CONFIG[_0x9ae270(0x161)];}export const USER_ACCESS_KEY_CREATE_URL=getUserAccessKeyCreateUrl();function a106_0x277a(){const _0xa26416=['10836651RGvlHu','production','12oHjhYd','250053XYJnkD','346312eTGWEN','1511578erRywA','981FWRsdm','7905870UBkLqo','serviceDomains','user','4460604cmHGQN','accessKeyCreatePath','5597390xxwjVm'];a106_0x277a=function(){return _0xa26416;};return a106_0x277a();}
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_0x39fe48=a107_0x26fc;(function(_0x39a5b0,_0x17ff9a){const _0x36f00f=a107_0x26fc,_0x4863df=_0x39a5b0();while(!![]){try{const _0x154f87=-parseInt(_0x36f00f(0x1df))/0x1+-parseInt(_0x36f00f(0x1ec))/0x2*(-parseInt(_0x36f00f(0x200))/0x3)+-parseInt(_0x36f00f(0x1e3))/0x4*(-parseInt(_0x36f00f(0x1af))/0x5)+parseInt(_0x36f00f(0x1e9))/0x6*(parseInt(_0x36f00f(0x1e2))/0x7)+parseInt(_0x36f00f(0x1f6))/0x8+-parseInt(_0x36f00f(0x1ba))/0x9*(-parseInt(_0x36f00f(0x1c8))/0xa)+-parseInt(_0x36f00f(0x205))/0xb;if(_0x154f87===_0x17ff9a)break;else _0x4863df['push'](_0x4863df['shift']());}catch(_0x3da8b2){_0x4863df['push'](_0x4863df['shift']());}}}(a107_0x1d88,0x891f7));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_0x39fe48(0x1f2)];export const NEW_CONFIG_NAME=PRODUCT_CONFIG[a107_0x39fe48(0x1b3)];function resolveConfigPath(_0x59f885){for(const _0x1c2fe7 of CONFIG_NAMES){const _0x509210=resolve(_0x59f885,_0x1c2fe7);if(existsSync(_0x509210))return _0x509210;}return undefined;}export function resolveWriteConfigPath(_0x39aa2a){const _0x37fd21=a107_0x39fe48,_0x2adeb3=_0x39aa2a===_0x37fd21(0x1e6)?process[_0x37fd21(0x1d3)]():homedir(),_0x309221=resolveConfigPath(_0x2adeb3);return _0x309221??resolve(_0x2adeb3,NEW_CONFIG_NAME);}export function readConfigFile(_0x1b3f8c){const _0x2000af=a107_0x39fe48;try{if(existsSync(_0x1b3f8c)){const _0x2da954=readFileSync(_0x1b3f8c,{'encoding':_0x2000af(0x1da)});if(_0x2da954){const _0x399746=JSON[_0x2000af(0x1cb)](_0x2da954);return migrateOnlineEnv(_0x1b3f8c,_0x399746),_0x399746;}}}catch{}return{};}function migrateOnlineEnv(_0x557585,_0x5a5297){const _0x347d45=a107_0x39fe48;let _0x49ff57=![];_0x5a5297['env']===_0x347d45(0x1e8)&&(_0x5a5297[_0x347d45(0x1c4)]=_0x347d45(0x1c0),_0x49ff57=!![]);if(_0x5a5297[_0x347d45(0x1ea)]&&typeof _0x5a5297[_0x347d45(0x1ea)]==='object')for(const _0x5f10b5 of Object[_0x347d45(0x1fc)](_0x5a5297[_0x347d45(0x1ea)])){_0x5f10b5&&_0x5f10b5[_0x347d45(0x1c4)]===_0x347d45(0x1e8)&&(_0x5f10b5[_0x347d45(0x1c4)]='production',_0x49ff57=!![]);}if(_0x49ff57)try{writeConfigFile(_0x557585,_0x5a5297);}catch{}}export function writeConfigFile(_0x33849b,_0x27aab4){const _0x205c3a=a107_0x39fe48,_0x298d1a=dirname(_0x33849b);!existsSync(_0x298d1a)&&mkdirSync(_0x298d1a,{'recursive':!![]});const _0x22e738=_0x33849b+_0x205c3a(0x1fb);try{writeFileSync(_0x22e738,JSON['stringify'](_0x27aab4,null,0x2)+'\x0a',{'encoding':'utf8','mode':0x180});try{renameSync(_0x22e738,_0x33849b);}catch(_0x4de958){if(_0x4de958[_0x205c3a(0x1ce)]===_0x205c3a(0x1c6)||_0x4de958[_0x205c3a(0x1ce)]===_0x205c3a(0x1b2)||_0x4de958[_0x205c3a(0x1ce)]===_0x205c3a(0x1ef)){writeFileSync(_0x33849b,JSON[_0x205c3a(0x1fd)](_0x27aab4,null,0x2)+'\x0a',{'encoding':_0x205c3a(0x1da)});try{unlinkSync(_0x22e738);}catch{}}else throw _0x4de958;}}catch(_0x5d6eda){try{unlinkSync(_0x22e738);}catch{}throw _0x5d6eda;}}export function isNonInteractiveMode(_0x9396c6){const _0x4a877f=a107_0x39fe48;return!!(_0x9396c6['nonInteractive']||_0x9396c6['ci']||productEnvNames('CI')[_0x4a877f(0x1ed)](_0x5d89cb=>process.env[_0x5d89cb]===_0x4a877f(0x201))||process.env.CI===_0x4a877f(0x201)||!process['stdout'][_0x4a877f(0x1eb)]||!isStdinRawModeSupported());}function isStdinRawModeSupported(){const _0x1c4b78=a107_0x39fe48;if(!process[_0x1c4b78(0x1ca)][_0x1c4b78(0x1eb)])return![];try{const _0x2ac28d=process[_0x1c4b78(0x1ca)][_0x1c4b78(0x1c7)];return process[_0x1c4b78(0x1ca)][_0x1c4b78(0x1b1)](!![]),process[_0x1c4b78(0x1ca)]['setRawMode'](_0x2ac28d??![]),!![];}catch{return![];}}export async function createContext(_0xfd5f30){const _0x30f2c3=a107_0x39fe48,_0x17086e=buildConfigFromFlags(_0xfd5f30);await initGlobalEnvironment(_0x17086e);const {getUserDomain:_0xf1b789,getApiDomain:_0x54322c}=await import(_0x30f2c3(0x1f8)),_0x284192={'apiDomain':_0x54322c(),'userDomain':_0xf1b789()},_0x53930b=await buildAuth(_0x17086e);logger[_0x30f2c3(0x1bd)](process[_0x30f2c3(0x1d3)]());const _0x19d809=(CLI_BIN_NAME+'\x20'+redactCommandArgv(process[_0x30f2c3(0x1cf)][_0x30f2c3(0x204)](0x2))[_0x30f2c3(0x1e7)]('\x20'))[_0x30f2c3(0x1d6)]();logger[_0x30f2c3(0x1f7)](_0x19d809);const _0x324582=isNonInteractiveMode(_0xfd5f30);return{'config':_0x17086e,'auth':_0x53930b,'logger':logger,'env':_0x284192,'nonInteractive':_0x324582};}export function buildConfigFromFlags(_0x2a0faa){return buildConfig(loadRawConfigLayers(),_0x2a0faa);}export function getLocalAppAliases(_0x5b166f){const _0x1e5578=a107_0x39fe48;return _0x5b166f[_0x1e5578(0x1ea)]&&typeof _0x5b166f[_0x1e5578(0x1ea)]==='object'?_0x5b166f[_0x1e5578(0x1ea)]:{};}export function resolveLocalAppAliasCode(_0x3a6655,_0x3ee8fb){const _0x311136=a107_0x39fe48;if(!_0x3ee8fb)return undefined;const _0x6d3990=getLocalAppAliases(_0x3a6655)[_0x3ee8fb],_0x5b1038=_0x6d3990?.[_0x311136(0x1db)];return typeof _0x5b1038===_0x311136(0x1de)&&_0x5b1038['trim']()?_0x5b1038['trim']():undefined;}export function readAppCodeFromConfig(){const _0x55a3cb=a107_0x39fe48;return buildConfigFromFlags({})[_0x55a3cb(0x1b4)];}export function readScopedConfig(_0x18742c){const _0x5d734c=a107_0x39fe48,_0x143081=_0x18742c[_0x5d734c(0x1b7)]?_0x5d734c(0x1b7):_0x5d734c(0x1e6);return readConfigFile(resolveWriteConfigPath(_0x143081));}export function writeScopedConfig(_0x54b1ab,_0x350168){const _0x24c5ce=a107_0x39fe48,_0xb09286=_0x350168['global']?_0x24c5ce(0x1b7):_0x24c5ce(0x1e6);writeConfigFile(resolveWriteConfigPath(_0xb09286),_0x54b1ab);}export async function initGlobalEnvironment(_0xa09992){const _0x1f3ade=a107_0x39fe48,{initEnv:_0xf0a157}=await import(_0x1f3ade(0x1d4));_0xf0a157(_0xa09992[_0x1f3ade(0x1c4)]);const {initDomains:_0x3d16f7}=await import(_0x1f3ade(0x1f8)),_0x122c1b=resolveEnterpriseRoutingConfig(_0xa09992[_0x1f3ade(0x1b5)][_0x1f3ade(0x1b8)]);_0x3d16f7({'apiDomain':_0x122c1b?_0x122c1b[_0x1f3ade(0x1c9)]:_0xa09992[_0x1f3ade(0x1b5)]['apiDomain']||_0xa09992['raw'][_0x1f3ade(0x1c2)]||undefined,'userDomain':_0x122c1b?_0x122c1b[_0x1f3ade(0x1d2)]:_0xa09992[_0x1f3ade(0x1b5)][_0x1f3ade(0x1d2)]||undefined,'runtimeDomain':_0x122c1b?_0x122c1b[_0x1f3ade(0x1c3)]:_0xa09992[_0x1f3ade(0x1b5)][_0x1f3ade(0x1c3)]||undefined,'skillDomain':_0x122c1b?_0x122c1b[_0x1f3ade(0x1c1)]:_0xa09992[_0x1f3ade(0x1b5)][_0x1f3ade(0x1c1)]||_0xa09992[_0x1f3ade(0x1b5)][_0x1f3ade(0x1f3)]||_0xa09992['raw'][_0x1f3ade(0x1f5)]||_0xa09992[_0x1f3ade(0x1b5)][_0x1f3ade(0x1c5)]||undefined,'kbServiceDomain':_0x122c1b?_0x122c1b[_0x1f3ade(0x1fa)]:typeof _0xa09992[_0x1f3ade(0x1b5)][_0x1f3ade(0x1fa)]==='string'&&_0xa09992[_0x1f3ade(0x1b5)][_0x1f3ade(0x1fa)][_0x1f3ade(0x1d6)]()?_0xa09992['raw'][_0x1f3ade(0x1fa)]:undefined,'harnessDomain':_0x122c1b?_0x122c1b[_0x1f3ade(0x1e5)]:_0xa09992[_0x1f3ade(0x1b5)]['harnessDomain']===undefined?undefined:normalizeDomainOrigin('harnessDomain',_0xa09992['raw'][_0x1f3ade(0x1e5)]),'region':normalizeLovrabetRegion(_0xa09992[_0x1f3ade(0x1b5)][_0x1f3ade(0x202)])});}export function getProjectConfigPath(){const _0x5303e7=a107_0x39fe48;return resolveConfigPath(process[_0x5303e7(0x1d3)]());}export function getGlobalConfigPath(){return resolveConfigPath(homedir());}export function inspectCliConfigJsonFile(_0x340bb7){const _0x51d025=a107_0x39fe48;if(!existsSync(_0x340bb7))return{'status':_0x51d025(0x1ff)};try{const _0x7f72ec=readFileSync(_0x340bb7,{'encoding':_0x51d025(0x1da)});if(!_0x7f72ec?.[_0x51d025(0x1d6)]())return{'status':_0x51d025(0x1d9)};const _0xb8fbd1=JSON['parse'](_0x7f72ec);return{'status':'ok','data':_0xb8fbd1};}catch(_0x15b8b4){return{'status':_0x51d025(0x1b6),'message':_0x15b8b4 instanceof Error?_0x15b8b4['message']:String(_0x15b8b4)};}}export function loadRawConfigLayers(_0x1923b9){const _0x252a6e=a107_0x39fe48;let _0x457194={},_0x429fa0={},_0x3359ce,_0x331d17;try{_0x3359ce=resolveConfigPath(homedir());if(_0x3359ce){const _0x5480d6=readFileSync(_0x3359ce,{'encoding':_0x252a6e(0x1da)});if(_0x5480d6)_0x457194=JSON[_0x252a6e(0x1cb)](_0x5480d6);}}catch{}try{const _0x394de5=_0x1923b9||process['cwd']();_0x331d17=resolveConfigPath(_0x394de5);if(_0x331d17){const _0x4ee4a8=readFileSync(_0x331d17,{'encoding':_0x252a6e(0x1da)});if(_0x4ee4a8)_0x429fa0=JSON[_0x252a6e(0x1cb)](_0x4ee4a8);}}catch{}return{'globalPath':_0x3359ce,'projectPath':_0x331d17,'globalConfig':_0x457194,'projectConfig':_0x429fa0};}function mergeRawConfigLayers(_0x4a8a5b){const _0x16a88c=a107_0x39fe48,{globalConfig:_0x5960c8,projectConfig:_0x2eff95}=_0x4a8a5b,_0x4fd9fa={..._0x5960c8,..._0x2eff95};delete _0x4fd9fa[_0x16a88c(0x203)];if('defaultApp'in _0x2eff95)_0x4fd9fa['defaultApp']=_0x2eff95['defaultApp'];else _0x5960c8[_0x16a88c(0x1d8)]&&(_0x4fd9fa[_0x16a88c(0x1d8)]=_0x5960c8[_0x16a88c(0x1d8)]);return _0x4fd9fa;}export function isInProject(){return!!getProjectConfigPath();}function a107_0x1d88(){const _0x29bc30=['appcode','development','APP','string','1056814yALmFM','globalConfig','riskLevel','728203ByRADK','64hGtMif','accessKey','harnessDomain','project','join','online','48kuWGsk','apps','isTTY','2241366KSoCzM','some','ENV','EACCES','high-risk-write','format','configFileNames','skillHubDomain','locale','agentDomain','6884808QLBDYZ','setRawCommand','./constant/domain.js','nativeToolAvailable','kbServiceDomain','.tmp','values','stringify','APPCODE','missing','3biSGjl','true','region','inherit','slice','18433393udvles','explicit','86015IsLpxE','global\x20config','setRawMode','EXDEV','newConfigFileName','appCode','raw','error','global','routing','find','1849212dJDHHS','cache','local-alias','setLogPath','VERBOSE','authRequired','production','skillDomain','host','runtimeDomain','env','platformDomain','EPERM','isRaw','10ljPMVX','apiDomain','stdin','parse','FORMAT','top-level','code','argv','write','daily','userDomain','cwd','./constant/env.js','projectConfig','trim','app','defaultApp','empty','utf8'];a107_0x1d88=function(){return _0x29bc30;};return a107_0x1d88();}function a107_0x26fc(_0x523e70,_0x33394b){_0x523e70=_0x523e70-0x1ae;const _0x1d88b0=a107_0x1d88();let _0x26fcac=_0x1d88b0[_0x523e70];return _0x26fcac;}export function readRawConfig(_0xe524b4){return mergeRawConfigLayers(loadRawConfigLayers(_0xe524b4));}export function readRawConfigWithLayers(_0x58e95f){const _0x1bcad4=loadRawConfigLayers(_0x58e95f);return{'config':mergeRawConfigLayers(_0x1bcad4),'layers':_0x1bcad4};}export function resolveDefaultAppSource(_0x3f249e){const _0x3c355d=a107_0x39fe48;if(_0x3c355d(0x1d8)in _0x3f249e[_0x3c355d(0x1d5)])return _0x3c355d(0x1e6);if(_0x3f249e[_0x3c355d(0x1e0)][_0x3c355d(0x1d8)])return _0x3c355d(0x1b7);return null;}function buildConfig(_0x9654c1,_0x1a77b0){const _0x364f0a=a107_0x39fe48,_0x3a78bf=mergeRawConfigLayers(_0x9654c1),{projectConfig:_0x22f054}=_0x9654c1,_0x12aadb=_0x3a78bf['defaultApp']||undefined,_0x57571a=typeof _0x1a77b0[_0x364f0a(0x1db)]===_0x364f0a(0x1de)?_0x1a77b0[_0x364f0a(0x1db)]:undefined,_0x48acb8=_0x22f054['appcode']||_0x22f054[_0x364f0a(0x1d7)],_0x578b15=!_0x57571a&&!_0x1a77b0[_0x364f0a(0x1d7)]&&!_0x48acb8&&!_0x22f054[_0x364f0a(0x1d8)],_0x5c9095=_0x578b15?env(_0x364f0a(0x1fe)):undefined,_0x54970d=_0x1a77b0[_0x364f0a(0x1d7)]||(_0x578b15&&!_0x5c9095?env(_0x364f0a(0x1dd)):undefined),_0x38685f=_0x54970d||_0x12aadb||undefined,_0x1e170c=_0x54970d||_0x5c9095?undefined:_0x48acb8||(_0x22f054[_0x364f0a(0x1d8)]?undefined:_0x3a78bf[_0x364f0a(0x1db)]||_0x3a78bf['app']||undefined),_0x24d749=_0x54970d||(_0x1e170c?undefined:_0x12aadb),_0xe77858=resolveLocalAppAliasCode(_0x3a78bf,_0x24d749),_0x24dcec=productEnvNames('ACCESS_KEY')[_0x364f0a(0x1b9)](_0xac940b=>process.env[_0xac940b]!==undefined),_0xf2e94f=_0x24dcec?process.env[_0x24dcec]:undefined,_0x200610=_0x22f054['accessKey']||_0xf2e94f||_0x3a78bf[_0x364f0a(0x1e4)]||undefined,_0x34c6db=_0x22f054['accessKey']?'project\x20config':_0xf2e94f?_0x24dcec:_0x3a78bf[_0x364f0a(0x1e4)]?_0x364f0a(0x1b0):undefined,_0x332f51=_0x1a77b0[_0x364f0a(0x1c4)]||_0x3a78bf[_0x364f0a(0x1c4)]||env(_0x364f0a(0x1ee))||DEFAULT_CONFIG_VALUES[_0x364f0a(0x1c4)],_0x52c4d7=normalizeEnv(String(_0x332f51)),_0x4333c2=isDaily(_0x52c4d7)?_0x364f0a(0x1d1):isDev(_0x52c4d7)?_0x364f0a(0x1dc):_0x364f0a(0x1c0),_0x151548=_0x57571a||_0x5c9095||_0x1e170c||_0xe77858?undefined:resolveCachedAppCode(_0x24d749,_0x4333c2,_0x200610),_0x1ffb90=_0x57571a||_0x5c9095||_0x1e170c||_0xe77858||_0x151548||undefined,_0x28b59f=_0x57571a?_0x364f0a(0x1ae):_0x5c9095?_0x364f0a(0x1c4):_0x1e170c?_0x364f0a(0x1cd):_0xe77858?_0x364f0a(0x1bc):_0x151548?_0x364f0a(0x1bb):undefined,_0x400352=_0x3a78bf[_0x364f0a(0x1f4)]||DEFAULT_CONFIG_VALUES[_0x364f0a(0x1f4)],_0x19dd4c=undefined,_0x1177d4=_0x1a77b0[_0x364f0a(0x1f1)]||env(_0x364f0a(0x1cc))||_0x3a78bf['format'],_0x4873e2=normalizeLegacyOutputFormat(_0x1177d4),_0x704304=env('PAGE_SIZE')||_0x3a78bf['pageSize'],_0x351a71=_0x704304?Number(_0x704304)||undefined:undefined,_0x19fb2b=_0x3a78bf[_0x364f0a(0x1e1)],_0xc88d2c=_0x19fb2b==='read'||_0x19fb2b===_0x364f0a(0x1d0)||_0x19fb2b===_0x364f0a(0x1f0)?_0x19fb2b:DEFAULT_CONFIG_VALUES[_0x364f0a(0x1e1)],_0x5f2df3=_0x3a78bf[_0x364f0a(0x1f9)]===!![],_0x21f152=env(_0x364f0a(0x1be)),_0x1bb8a7=_0x21f152==='1'||_0x21f152===_0x364f0a(0x201);return{'appCode':typeof _0x1ffb90===_0x364f0a(0x1de)&&_0x1ffb90['trim']()?_0x1ffb90['trim']():undefined,'appCodeSource':_0x28b59f,'env':_0x4333c2,'locale':_0x400352,'cookie':_0x19dd4c,'accessKey':_0x200610,'accessKeySource':_0x34c6db,'format':_0x4873e2,'pageSize':_0x351a71,'riskLevel':_0xc88d2c,'nativeToolAvailable':_0x5f2df3,'verbose':_0x1bb8a7,'defaultApp':_0x12aadb,'currentApp':typeof _0x38685f===_0x364f0a(0x1de)?_0x38685f:undefined,'raw':_0x3a78bf};}function env(_0x305657){return productEnv(_0x305657);}async function buildAuth(_0x52425d){const _0x5a1d8c=a107_0x39fe48,_0x5157ce='',_0x2a3e64=!!_0x52425d[_0x5a1d8c(0x1e4)];return{'cookie':_0x5157ce,'isLoggedIn':_0x2a3e64,async 'getOrLogin'(){const _0x55ed05=_0x5a1d8c;if(_0x2a3e64)return _0x5157ce;throw CliErrors[_0x55ed05(0x1bf)]();}};}