@lovrabet/lovrabet-cli 2.3.3 → 2.3.4-beta.2
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.
- package/README.md +16 -3
- package/lib/cli.js +1 -1
- package/lib/commands/api-doc/index.js +1 -1
- package/lib/commands/app/cache.js +1 -1
- package/lib/commands/app/definitions.js +1 -1
- package/lib/commands/app/eligibility.js +1 -1
- package/lib/commands/app/mock-loader.js +1 -1
- package/lib/commands/app/remote-source.js +1 -1
- package/lib/commands/app/shared.js +1 -1
- package/lib/commands/app-config/get.js +1 -1
- package/lib/commands/app-config/index.js +1 -1
- package/lib/commands/approval/index.js +1 -1
- package/lib/commands/artifact/index.js +1 -1
- package/lib/commands/auth/device.js +1 -1
- package/lib/commands/auth/index.js +1 -1
- package/lib/commands/auth/prompt.js +1 -1
- package/lib/commands/bff/detail.js +1 -1
- package/lib/commands/bff/exec.js +1 -1
- package/lib/commands/bff/index.js +1 -1
- package/lib/commands/cli-skill/index.js +1 -1
- package/lib/commands/common/config-policy.js +1 -1
- package/lib/commands/common/constraints.js +1 -1
- package/lib/commands/common/flags.js +1 -1
- package/lib/commands/common/local-file.js +1 -1
- package/lib/commands/config/definitions.js +1 -1
- package/lib/commands/config/init.d.ts +1 -1
- package/lib/commands/config/init.js +1 -1
- package/lib/commands/config/shared.js +1 -1
- package/lib/commands/data/index.js +1 -1
- package/lib/commands/dataset/detail.js +1 -1
- package/lib/commands/dataset/index.js +1 -1
- package/lib/commands/dataset/list.js +1 -1
- package/lib/commands/dataset/sdk-doc.js +1 -1
- package/lib/commands/doctor.js +1 -1
- package/lib/commands/file/index.js +1 -1
- package/lib/commands/init.js +1 -1
- package/lib/commands/kb/index.js +1 -1
- package/lib/commands/logs/index.js +1 -1
- package/lib/commands/notification/config-list.js +1 -1
- package/lib/commands/notification/index.js +1 -1
- package/lib/commands/notification/shared.js +1 -1
- package/lib/commands/ocr/index.js +1 -1
- package/lib/commands/permit/dataset-get.js +1 -1
- package/lib/commands/permit/dataset-set.js +1 -1
- package/lib/commands/permit/index.js +1 -1
- package/lib/commands/permit/page-get.js +1 -1
- package/lib/commands/permit/page-set.js +1 -1
- package/lib/commands/permit/role-menus-set.js +1 -1
- package/lib/commands/permit/role-menus.js +1 -1
- package/lib/commands/permit/shared.js +1 -1
- package/lib/commands/personal-bff/index.js +1 -1
- package/lib/commands/registry.js +1 -1
- package/lib/commands/role/create.js +1 -1
- package/lib/commands/role/delete.js +1 -1
- package/lib/commands/role/detail.js +1 -1
- package/lib/commands/role/index.js +1 -1
- package/lib/commands/role/list.js +1 -1
- package/lib/commands/role/shared.js +1 -1
- package/lib/commands/role/update.js +1 -1
- package/lib/commands/role/user-add.js +1 -1
- package/lib/commands/role/user-remove.js +1 -1
- package/lib/commands/schedule/index.js +1 -1
- package/lib/commands/schema.js +1 -1
- package/lib/commands/service/dynamic.js +1 -1
- package/lib/commands/service/function-name-adapter.js +1 -1
- package/lib/commands/service/index.js +1 -1
- package/lib/commands/service/registry.js +1 -1
- package/lib/commands/skill/commands/create.js +1 -1
- package/lib/commands/skill/commands/diagram.js +1 -1
- package/lib/commands/skill/commands/install.js +1 -1
- package/lib/commands/skill/commands/list.js +1 -1
- package/lib/commands/skill/commands/push.js +1 -1
- package/lib/commands/skill/commands/validate.js +1 -1
- package/lib/commands/skill/diagram.js +1 -1
- package/lib/commands/skill/flags.js +1 -1
- package/lib/commands/skill/index.js +1 -1
- package/lib/commands/skill/manifest-helpers.js +1 -1
- package/lib/commands/skill/push-execute.js +1 -1
- package/lib/commands/skill/push-flow-helpers.js +1 -1
- package/lib/commands/skill/push-retarget.js +1 -1
- package/lib/commands/skill/scopes.js +1 -1
- package/lib/commands/skill/summary.js +1 -1
- package/lib/commands/skill/templates.js +1 -1
- package/lib/commands/skill/validate.js +1 -1
- package/lib/commands/sql/detail.js +1 -1
- package/lib/commands/sql/exec.js +1 -1
- package/lib/commands/sql/index.js +1 -1
- package/lib/commands/update.js +1 -1
- package/lib/commands/user-account/bind.js +1 -1
- package/lib/commands/user-account/index.js +1 -1
- package/lib/commands/workspace/index.js +1 -1
- package/lib/config/domain-config.d.ts +2 -2
- package/lib/config/domain-config.js +1 -1
- package/lib/config/schema.d.ts +1 -1
- package/lib/config/schema.js +1 -1
- package/lib/constant/app.js +1 -1
- package/lib/constant/auth-mode.js +1 -1
- package/lib/constant/cli.js +1 -1
- package/lib/constant/defaults.js +1 -1
- package/lib/constant/distribution.js +1 -1
- package/lib/constant/domain.d.ts +4 -0
- package/lib/constant/domain.js +1 -1
- package/lib/constant/env.js +1 -1
- package/lib/constant/output.js +1 -1
- package/lib/constant/product.js +1 -1
- package/lib/constant/region.d.ts +1 -1
- package/lib/constant/region.js +1 -1
- package/lib/constant/risk.js +1 -1
- package/lib/constant/url.js +1 -1
- package/lib/context.js +1 -1
- package/lib/core/api-client.js +1 -1
- package/lib/core/db-resolver.js +1 -1
- package/lib/core/kb-search-client.d.ts +7 -1
- package/lib/core/kb-search-client.js +1 -1
- package/lib/core/sdk-client.js +1 -1
- package/lib/errors.js +1 -1
- package/lib/framework/build-all-flags.js +1 -1
- package/lib/framework/dryrun.js +1 -1
- package/lib/framework/flags.js +1 -1
- package/lib/framework/help.js +1 -1
- package/lib/framework/index.js +1 -1
- package/lib/framework/output.js +1 -1
- package/lib/framework/preparse.js +1 -1
- package/lib/framework/rate-limit.js +1 -1
- package/lib/framework/raw-flags.js +1 -1
- package/lib/framework/response.js +1 -1
- package/lib/framework/runner-confirmation.js +1 -1
- package/lib/framework/runner-error.js +1 -1
- package/lib/framework/runner.js +1 -1
- package/lib/framework/schema-export.js +1 -1
- package/lib/framework/service-order.js +1 -1
- package/lib/framework/types.js +1 -1
- package/lib/generated/build-info.d.ts +4 -4
- package/lib/generated/build-info.js +1 -1
- package/lib/generated/official-routing.d.ts +12 -3
- package/lib/generated/official-routing.js +1 -1
- package/lib/generated/routing-contract.d.ts +2 -2
- package/lib/generated/routing-contract.js +1 -1
- package/lib/help.js +1 -1
- package/lib/postinstall.js +1 -1
- package/lib/runtime/confirmation.js +1 -1
- package/lib/runtime/event.js +1 -1
- package/lib/runtime/index.js +1 -1
- package/lib/runtime/queue.js +1 -1
- package/lib/runtime/resolve.js +1 -1
- package/lib/skills/builtin-skill.js +1 -1
- package/lib/skills/npx-skills-add.d.ts +5 -0
- package/lib/skills/npx-skills-add.js +1 -1
- package/lib/skills/runtime-skill-sync/constants.js +1 -1
- package/lib/skills/runtime-skill-sync/fs-utils.js +1 -1
- package/lib/skills/runtime-skill-sync/hashing.js +1 -1
- package/lib/skills/runtime-skill-sync/install-target.js +1 -1
- package/lib/skills/runtime-skill-sync/links.js +1 -1
- package/lib/skills/runtime-skill-sync/list-local.js +1 -1
- package/lib/skills/runtime-skill-sync/local-files.js +1 -1
- package/lib/skills/runtime-skill-sync/materialize.js +1 -1
- package/lib/skills/runtime-skill-sync/metadata.js +1 -1
- package/lib/skills/runtime-skill-sync/paths.js +1 -1
- package/lib/skills/runtime-skill-sync/push.js +1 -1
- package/lib/skills/runtime-skill-sync/scopes.js +1 -1
- package/lib/skills/runtime-skill-sync/zip-codec.js +1 -1
- package/lib/skills/runtime-skill-sync/zip-package.js +1 -1
- package/lib/skills/runtime-skill-sync.js +1 -1
- package/lib/skills/skill-presence.js +1 -1
- package/lib/utils/access-key-redaction.js +1 -1
- package/lib/utils/apply-jq-filter.js +1 -1
- package/lib/utils/cli-version-check.js +1 -1
- package/lib/utils/cli-version-policy.js +1 -1
- package/lib/utils/logger.js +1 -1
- package/lib/utils/lossless-json.js +1 -1
- package/lib/utils/params.js +1 -1
- package/lib/utils/positive-safe-integer.js +1 -1
- package/lib/utils/redaction.js +1 -1
- package/lib/utils/update-notice.js +1 -1
- package/lib/utils/version.js +1 -1
- package/lib/utils/write-cli-side-channel.js +1 -1
- package/package.json +1 -1
- package/skills/lovrabet/SKILL.md +4 -2
- package/skills/lovrabet/guides/troubleshooting.md +1 -1
- package/skills/lovrabet/references/lovrabet-config-commands.md +8 -7
- package/skills/lovrabet/references/lovrabet-config.md +4 -3
- package/skills/lovrabet/references/lovrabet-doctor.md +1 -1
- package/skills/lovrabet/references/lovrabet-kb-workflow.md +14 -2
- package/skills/lovrabet/references/lovrabet-service-tree.md +1 -1
- package/skills/lovrabet.manifest.json +3 -3
package/lib/core/sdk-client.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x474579,_0xc69827){const _0x394b03=a107_0x1349,_0x198354=_0x474579();while(!![]){try{const _0x5523cd=-parseInt(_0x394b03(0x12d))/0x1+parseInt(_0x394b03(0x12e))/0x2+parseInt(_0x394b03(0x137))/0x3*(-parseInt(_0x394b03(0x125))/0x4)+-parseInt(_0x394b03(0x127))/0x5+parseInt(_0x394b03(0x128))/0x6+-parseInt(_0x394b03(0x110))/0x7*(parseInt(_0x394b03(0x11e))/0x8)+parseInt(_0x394b03(0x123))/0x9*(parseInt(_0x394b03(0x118))/0xa);if(_0x5523cd===_0xc69827)break;else _0x198354['push'](_0x198354['shift']());}catch(_0x196761){_0x198354['push'](_0x198354['shift']());}}}(a107_0x1469,0x6ba5f));import{createClient}from'@lovrabet/sdk';function a107_0x1469(){const _0x25598e=['update','delete\x20requires\x20\x22id\x22\x20in\x20--params,\x20e.g.\x20\x27{\x22id\x22:123}\x27','data\x20aggregate\x20--params.aggregate\x20must\x20be\x20an\x20array.','delete','480380zDhsWK','216202yXMDvd','object','appCode','SDK\x20model\x20does\x20not\x20support\x20operation\x20\x22',']\x20requires\x20\x22column\x22;\x20\x22field\x22\x20is\x20accepted\x20only\x20as\x20a\x20deprecated\x20alias.','isArray','trim','bff','column','18AXcKqw',']\x20must\x20be\x20an\x20object.','getOne','data\x20aggregate\x20--params.aggregate[','SDK\x20client\x20not\x20initialized.\x20Call\x20initSdkClient()\x20first.','7VoruVw','function','validation','field','accessKey','dataset_','\x22.\x20','map','1782110EfWIiW','batchCreate','runtimeDomain','getOne\x20requires\x20\x22id\x22\x20in\x20--params,\x20e.g.\x20\x27{\x22id\x22:123}\x27','string','execute','282696sTIrtS','aggregate','update\x20requires\x20\x22id\x22\x20in\x20--params,\x20e.g.\x20\x27{\x22id\x22:123,\x22name\x22:\x22new\x22}\x27\x20or\x20\x27{\x22id\x22:[1,2,3],\x22name\x22:\x22new\x22}\x27','sql','env','99tmddrb','invokeSource','507760yzfUzf','authMode','2583955TXmBVH','999918GZKKSx'];a107_0x1469=function(){return _0x25598e;};return a107_0x1469();}import{PRODUCT_CONFIG}from'../constant/product.js';import{CliErrors}from'../errors.js';function a107_0x1349(_0x3b41ff,_0xe4f82c){_0x3b41ff=_0x3b41ff-0x110;const _0x146934=a107_0x1469();let _0x13498b=_0x146934[_0x3b41ff];return _0x13498b;}import{parseBatchCreateItemsFromParams}from'../utils/params.js';import{installLosslessJsonResponseParser}from'../utils/lossless-json.js';let _client,restoreResponseJsonParser;export function initSdkClient(_0x371d4f){const _0x1759c8=a107_0x1349;restoreResponseJsonParser??=installLosslessJsonResponseParser();try{_client=createClient({'appCode':_0x371d4f[_0x1759c8(0x130)],'env':_0x371d4f[_0x1759c8(0x122)],'runtimeDomain':_0x371d4f[_0x1759c8(0x11a)],'authMode':_0x371d4f[_0x1759c8(0x126)],..._0x371d4f[_0x1759c8(0x114)]?{'accessKey':_0x371d4f[_0x1759c8(0x114)]}:{},'options':{'timeout':0x7530,'headers':{'X-Invoke-Source':PRODUCT_CONFIG[_0x1759c8(0x124)]}}});}catch(_0x424b42){clearSdkClient();throw _0x424b42;}}export function clearSdkClient(){_client=undefined,restoreResponseJsonParser?.(),restoreResponseJsonParser=undefined;}function ensureClient(){const _0x235ec5=a107_0x1349;if(!_client)throw new Error(_0x235ec5(0x13b));return _client;}function normalizeAggregateParams(_0x2709a1){const _0x174a36=a107_0x1349,_0x3f57bf=_0x2709a1[_0x174a36(0x11f)];if(_0x3f57bf===undefined)return _0x2709a1;if(!Array[_0x174a36(0x133)](_0x3f57bf))throw CliErrors[_0x174a36(0x112)](_0x174a36(0x12b));return{..._0x2709a1,'aggregate':_0x3f57bf[_0x174a36(0x117)]((_0x3cde6b,_0x2b7fce)=>{const _0x593936=_0x174a36;if(!_0x3cde6b||typeof _0x3cde6b!==_0x593936(0x12f)||Array[_0x593936(0x133)](_0x3cde6b))throw CliErrors['validation']('data\x20aggregate\x20--params.aggregate['+_0x2b7fce+_0x593936(0x138));const _0x520f32=_0x3cde6b[_0x593936(0x136)]??_0x3cde6b['field'];if(typeof _0x520f32!==_0x593936(0x11c)||_0x520f32[_0x593936(0x134)]()==='')throw CliErrors[_0x593936(0x112)](_0x593936(0x13a)+_0x2b7fce+_0x593936(0x132));const _0xc71ee9={..._0x3cde6b,'column':_0x520f32};return delete _0xc71ee9[_0x593936(0x113)],_0xc71ee9;})};}export async function executeData(_0x1b0be2,_0x4de928,_0x2bded4){const _0x4aeba8=a107_0x1349,_0x33c4b3=ensureClient(),_0x1a3314=_0x4aeba8(0x115)+_0x1b0be2,_0x38ecd3=_0x33c4b3['models'][_0x1a3314];if(!_0x38ecd3||typeof _0x38ecd3[_0x4de928]!==_0x4aeba8(0x111))throw new Error(_0x4aeba8(0x131)+_0x4de928+_0x4aeba8(0x116)+'Available:\x20filter,\x20getOne,\x20create,\x20batchCreate,\x20update,\x20delete,\x20aggregate.');if(_0x4de928===_0x4aeba8(0x119))return _0x38ecd3[_0x4aeba8(0x119)](parseBatchCreateItemsFromParams(_0x2bded4));const _0x4f1ddc=_0x2bded4!==undefined&&_0x2bded4!==null&&!Array['isArray'](_0x2bded4)?_0x2bded4:{};switch(_0x4de928){case _0x4aeba8(0x139):{const _0x51ccc6=_0x4f1ddc['id'];if(_0x51ccc6===undefined||_0x51ccc6===null)throw new Error(_0x4aeba8(0x11b));return _0x38ecd3[_0x4aeba8(0x139)](_0x51ccc6);}case _0x4aeba8(0x129):{const {id:_0x205b6b,..._0x3b2c4e}=_0x4f1ddc;if(_0x205b6b===undefined||_0x205b6b===null)throw new Error(_0x4aeba8(0x120));return _0x38ecd3['update'](_0x205b6b,_0x3b2c4e);}case _0x4aeba8(0x12c):{const _0x38275d=_0x4f1ddc['id'];if(_0x38275d===undefined||_0x38275d===null)throw new Error(_0x4aeba8(0x12a));return _0x38ecd3[_0x4aeba8(0x12c)](_0x38275d);}case _0x4aeba8(0x11f):return _0x38ecd3['aggregate'](normalizeAggregateParams(_0x4f1ddc));default:return _0x38ecd3[_0x4de928](_0x4f1ddc);}}export async function executeSdkSql(_0x1d286b,_0x359f1b){const _0x51335a=a107_0x1349,_0x56e470=ensureClient();return _0x56e470[_0x51335a(0x121)][_0x51335a(0x11d)]({'sqlCode':_0x1d286b,'params':_0x359f1b});}export async function executeSdkBff(_0xefe6d0,_0x16ae23){const _0x57a303=a107_0x1349,_0x15842b=ensureClient();return _0x15842b[_0x57a303(0x135)][_0x57a303(0x11d)]({'scriptName':_0xefe6d0,'params':_0x16ae23});}
|
package/lib/errors.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a108_0x55c5(){const _0xad3abe=['\x20or\x20run\x20`','\x20auth\x20login`.','\x20file.','18739ERftAw','`\x20cannot\x20run\x20through\x20the\x20shell\x20CLI\x20because\x20this\x20execution\x20host\x20delegates\x20Lovrabet\x20writes\x20to\x20the\x20native\x20tool.','Set\x20appcode\x20via\x20--appcode\x20or\x20','rate_limited','native_tool_required','2866308nNHxDx','18010WknYfH','Run\x20this\x20command\x20inside\x20a\x20directory\x20with\x20a\x20','Command\x20`','2390700jopdcg','1172119SpijLD','newConfigFileName','1866090TpTztj','10179cMwuRR','984ahoFEh','2mshFeW','1363900sNgIwj'];a108_0x55c5=function(){return _0xad3abe;};return a108_0x55c5();}const a108_0x2bda5a=a108_0x31ec;(function(_0x426ad4,_0x5acca6){const _0x37f422=a108_0x31ec,_0x56c119=_0x426ad4();while(!![]){try{const _0x2bc8e7=parseInt(_0x37f422(0x1ed))/0x1*(-parseInt(_0x37f422(0x1f2))/0x2)+parseInt(_0x37f422(0x1ef))/0x3+-parseInt(_0x37f422(0x1e8))/0x4+parseInt(_0x37f422(0x1f3))/0x5+-parseInt(_0x37f422(0x1ec))/0x6+-parseInt(_0x37f422(0x1e3))/0x7*(-parseInt(_0x37f422(0x1f1))/0x8)+parseInt(_0x37f422(0x1f0))/0x9*(parseInt(_0x37f422(0x1e9))/0xa);if(_0x2bc8e7===_0x5acca6)break;else _0x56c119['push'](_0x56c119['shift']());}catch(_0x527f00){_0x56c119['push'](_0x56c119['shift']());}}}(a108_0x55c5,0xedc2a));import{CliError,createCliErrors}from'@lovrabet/cli-framework';function a108_0x31ec(_0x20f367,_0x2438d4){_0x20f367=_0x20f367-0x1e0;const _0x55c509=a108_0x55c5();let _0x31ec15=_0x55c509[_0x20f367];return _0x31ec15;}import{CLI_BIN_NAME}from'./constant/cli.js';import{PRODUCT_CONFIG}from'./constant/product.js';export{CliError};const baseCliErrors=createCliErrors({'cliBinName':CLI_BIN_NAME,'authRequiredHint':'Configure\x20accessKey\x20in\x20'+PRODUCT_CONFIG[a108_0x2bda5a(0x1ee)]+a108_0x2bda5a(0x1e0)+CLI_BIN_NAME+a108_0x2bda5a(0x1e1),'configMissingHint':a108_0x2bda5a(0x1e5)+PRODUCT_CONFIG[a108_0x2bda5a(0x1ee)]+'.','notInProjectHint':a108_0x2bda5a(0x1ea)+PRODUCT_CONFIG[a108_0x2bda5a(0x1ee)]+a108_0x2bda5a(0x1e2)});export const CliErrors={...baseCliErrors,'rateLimited':(_0x3e9c69,_0x6bc2dc)=>new CliError(a108_0x2bda5a(0x1e6),0x2,_0x3e9c69,_0x6bc2dc),'nativeToolRequired':_0x3e7173=>new CliError(a108_0x2bda5a(0x1e7),0x1,a108_0x2bda5a(0x1eb)+_0x3e7173+a108_0x2bda5a(0x1e4),'Use\x20the\x20native\x20`lovrabet`\x20tool\x20with\x20argv\x20containing\x20only\x20the\x20tokens\x20after\x20`lovrabet`;\x20do\x20not\x20raise\x20riskLevel\x20or\x20retry\x20through\x20bash.')};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x45956f,_0x324d2f){var _0xfba4d0=a109_0x49fa,_0x19e0cd=_0x45956f();while(!![]){try{var _0xff40f1=parseInt(_0xfba4d0(0x1f8))/0x1+-parseInt(_0xfba4d0(0x1f4))/0x2+parseInt(_0xfba4d0(0x1f3))/0x3+-parseInt(_0xfba4d0(0x1f6))/0x4+-parseInt(_0xfba4d0(0x1f9))/0x5+-parseInt(_0xfba4d0(0x1fa))/0x6*(parseInt(_0xfba4d0(0x1f7))/0x7)+parseInt(_0xfba4d0(0x1f5))/0x8*(parseInt(_0xfba4d0(0x1f2))/0x9);if(_0xff40f1===_0x324d2f)break;else _0x19e0cd['push'](_0x19e0cd['shift']());}catch(_0x25f4bc){_0x19e0cd['push'](_0x19e0cd['shift']());}}}(a109_0x3aed,0xa5821));import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';import{buildAllFlags as a109_0x169fdb}from'@lovrabet/cli-framework';function a109_0x49fa(_0x3b6c3e,_0x141fc9){_0x3b6c3e=_0x3b6c3e-0x1f2;var _0x3aed86=a109_0x3aed();var _0x49faa5=_0x3aed86[_0x3b6c3e];return _0x49faa5;}function a109_0x3aed(){var _0x5504d4=['554948enFrte','56tUrlYS','906108BmqIKl','2952621QOQEVK','1189358thoJdi','5296080mHyWpu','6aQImhc','958788euWiGb','2183577ErhZku'];a109_0x3aed=function(){return _0x5504d4;};return a109_0x3aed();}export function buildAllFlags(_0xe8cfa1){return a109_0x169fdb(_0xe8cfa1,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});}
|
package/lib/framework/dryrun.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a110_0x1254(){const _0x4bd3d9=['2072TxyQWI','22166KcSKZZ','1431exNEve','21156HBCreC','1326300wQhSjD','3418701fdMntj','3640152qmoJCs','10399170ozJKjj','description','95jUUxHx','18632GMcCvW','body'];a110_0x1254=function(){return _0x4bd3d9;};return a110_0x1254();}function a110_0x412e(_0x2a628f,_0x3fc726){_0x2a628f=_0x2a628f-0x1ec;const _0x1254cb=a110_0x1254();let _0x412e12=_0x1254cb[_0x2a628f];return _0x412e12;}(function(_0x348996,_0x11728b){const _0x714bae=a110_0x412e,_0x45e26a=_0x348996();while(!![]){try{const _0x3b0037=-parseInt(_0x714bae(0x1f3))/0x1*(-parseInt(_0x714bae(0x1f7))/0x2)+parseInt(_0x714bae(0x1ef))/0x3+-parseInt(_0x714bae(0x1f0))/0x4+-parseInt(_0x714bae(0x1ee))/0x5+parseInt(_0x714bae(0x1ed))/0x6*(parseInt(_0x714bae(0x1f6))/0x7)+-parseInt(_0x714bae(0x1f4))/0x8*(parseInt(_0x714bae(0x1ec))/0x9)+-parseInt(_0x714bae(0x1f1))/0xa;if(_0x3b0037===_0x11728b)break;else _0x45e26a['push'](_0x45e26a['shift']());}catch(_0x2c2815){_0x45e26a['push'](_0x45e26a['shift']());}}}(a110_0x1254,0x9ed7e));export function dryRun(_0xe2450f,_0x5403a5){const _0xd2e39c={'method':_0xe2450f,'url':_0x5403a5},_0x45a111={'body'(_0x42a96a){const _0x3a2f48=a110_0x412e;return _0xd2e39c[_0x3a2f48(0x1f5)]=_0x42a96a,_0x45a111;},'description'(_0x53af89){const _0x12e97f=a110_0x412e;return _0xd2e39c[_0x12e97f(0x1f2)]=_0x53af89,_0x45a111;},'build'(){return{..._0xd2e39c};}};return _0x45a111;}
|
package/lib/framework/flags.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a111_0x10b1(){const _0x10bebb=['validateFlags','2414766CrQWyQ','548800yvYSEN','1448pbocXO','2sggzRp','10yeSVqN','5574604SEljBu','30344AzVRDc','583lxEAFY','3280410fymlwP','36225kjtySf','3670308umLJsd','parseFlags'];a111_0x10b1=function(){return _0x10bebb;};return a111_0x10b1();}function a111_0x3b2b(_0x596a9e,_0x4520e5){_0x596a9e=_0x596a9e-0xae;const _0x10b12a=a111_0x10b1();let _0x3b2bc9=_0x10b12a[_0x596a9e];return _0x3b2bc9;}const a111_0x4d66af=a111_0x3b2b;(function(_0x50210d,_0xee9531){const _0x13bed8=a111_0x3b2b,_0x15b763=_0x50210d();while(!![]){try{const _0x546c44=parseInt(_0x13bed8(0xaf))/0x1*(-parseInt(_0x13bed8(0xb2))/0x2)+parseInt(_0x13bed8(0xb6))/0x3+-parseInt(_0x13bed8(0xb1))/0x4+-parseInt(_0x13bed8(0xb0))/0x5*(parseInt(_0x13bed8(0xb9))/0x6)+-parseInt(_0x13bed8(0xb4))/0x7+parseInt(_0x13bed8(0xae))/0x8*(-parseInt(_0x13bed8(0xb5))/0x9)+-parseInt(_0x13bed8(0xba))/0xa*(-parseInt(_0x13bed8(0xb3))/0xb);if(_0x546c44===_0xee9531)break;else _0x15b763['push'](_0x15b763['shift']());}catch(_0x3c3e09){_0x15b763['push'](_0x15b763['shift']());}}}(a111_0x10b1,0xac5d4));import{createFlagHelpers}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers[a111_0x4d66af(0xb7)];export const validateFlags=helpers[a111_0x4d66af(0xb8)];
|
package/lib/framework/help.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x2eb1a1,_0x35e83f){const _0xd55435=a112_0x5c13,_0x26e51b=_0x2eb1a1();while(!![]){try{const _0x124401=-parseInt(_0xd55435(0xb8))/0x1+-parseInt(_0xd55435(0xba))/0x2*(-parseInt(_0xd55435(0xc5))/0x3)+parseInt(_0xd55435(0xc3))/0x4+-parseInt(_0xd55435(0xc9))/0x5*(-parseInt(_0xd55435(0xbe))/0x6)+parseInt(_0xd55435(0xc0))/0x7+parseInt(_0xd55435(0xbc))/0x8+-parseInt(_0xd55435(0xbf))/0x9*(parseInt(_0xd55435(0xc7))/0xa);if(_0x124401===_0x35e83f)break;else _0x26e51b['push'](_0x26e51b['shift']());}catch(_0x1784a9){_0x26e51b['push'](_0x26e51b['shift']());}}}(a112_0xa99d,0xa21fb));import{createHelpGenerators}from'@lovrabet/cli-framework';function a112_0x5c13(_0x8568ff,_0x476a49){_0x8568ff=_0x8568ff-0xb7;const _0xa99def=a112_0xa99d();let _0x5c13fc=_0xa99def[_0x8568ff];return _0x5c13fc;}import{buildAllFlags}from'../framework/build-all-flags.js';import{insertDynamicServicesAfterServiceTree}from'../framework/service-order.js';import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';import{getDynamicServiceDefinitions,getDynamicServiceEntry,listDynamicServiceEntries}from'../commands/service/dynamic.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';function a112_0xa99d(){const _0x2797f2=['service','152628OUXbPH','filter','19343680LpmgwB','newConfigFileName','2150IZzLtl','Requires\x20appcode\x20(set\x20via\x20','1001240xGrAAD','generateCommandHelp','28iuoJGB','generateServiceHelp','6242648bSGEZG','get','7488EiowJe','9uSZzoj','7778638NTtEoF','generateFullHelp','\x20or\x20--appcode).','1836792asBRhP'];a112_0xa99d=function(){return _0x2797f2;};return a112_0xa99d();}import{PRODUCT_CONFIG}from'../constant/product.js';function createGenerators(){const _0x1d004d=a112_0x5c13;return createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':insertDynamicServicesAfterServiceTree(serviceRegistry,safeListDynamicServiceEntries()),'getServiceEntry':getAnyServiceEntry,'getServiceDefinitions':getAnyServiceDefinitions,'buildAllFlags':buildAllFlags,'appPrerequisiteText':_0x1d004d(0xb7)+PRODUCT_CONFIG[_0x1d004d(0xc8)]+_0x1d004d(0xc2)});}export function generateCommandHelp(_0x169cd9){const _0x7eca02=a112_0x5c13;return createGenerators()[_0x7eca02(0xb9)](_0x169cd9);}export function generateServiceHelp(_0x4a4c08){const _0x55f371=a112_0x5c13;return createGenerators()[_0x55f371(0xbb)](_0x4a4c08);}export function generateFullHelp(){const _0x48105d=a112_0x5c13;return createGenerators()[_0x48105d(0xc1)]();}function getAnyServiceEntry(_0x667d0){const _0x14eb1b=getServiceEntry(_0x667d0);if(_0x14eb1b)return _0x14eb1b;try{return getDynamicServiceEntry(_0x667d0);}catch{return undefined;}}function getAnyServiceDefinitions(_0x33b64a){const _0x12eb80=a112_0x5c13,_0x2afaa9=serviceGroups[_0x12eb80(0xbd)](_0x33b64a);if(_0x2afaa9)return _0x2afaa9;try{return getDynamicServiceDefinitions(_0x33b64a);}catch{return undefined;}}function safeListDynamicServiceEntries(){const _0x3c0fbe=a112_0x5c13,_0x2fcf23=new Set(serviceRegistry['map'](_0x3bcef7=>_0x3bcef7['service']));try{return listDynamicServiceEntries()[_0x3c0fbe(0xc6)](_0x74fa5=>!_0x2fcf23['has'](_0x74fa5[_0x3c0fbe(0xc4)]));}catch{return[];}}
|
package/lib/framework/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x5abc4d,_0x3b3a37){var _0x5bfa13=a113_0x12a3,_0x2cfef6=_0x5abc4d();while(!![]){try{var _0x4f2d66=-parseInt(_0x5bfa13(0x14a))/0x1+parseInt(_0x5bfa13(0x149))/0x2*(-parseInt(_0x5bfa13(0x14d))/0x3)+parseInt(_0x5bfa13(0x14e))/0x4+-parseInt(_0x5bfa13(0x148))/0x5+-parseInt(_0x5bfa13(0x14f))/0x6+-parseInt(_0x5bfa13(0x14b))/0x7+parseInt(_0x5bfa13(0x14c))/0x8;if(_0x4f2d66===_0x3b3a37)break;else _0x2cfef6['push'](_0x2cfef6['shift']());}catch(_0x59fb7a){_0x2cfef6['push'](_0x2cfef6['shift']());}}}(a113_0x2704,0x26f40));function a113_0x12a3(_0x4b8039,_0x139fcd){_0x4b8039=_0x4b8039-0x148;var _0x270489=a113_0x2704();var _0x12a34d=_0x270489[_0x4b8039];return _0x12a34d;}export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';function a113_0x2704(){var _0x469c03=['139564wiaiVN','1795738fjDcNg','4143816NomuhH','6lZraQe','1040488GEldSf','270888tuoDFz','205795tRDugU','136142mDpiIY'];a113_0x2704=function(){return _0x469c03;};return a113_0x2704();}export{dryRun}from'../framework/dryrun.js';export{riskLevelOrder,isValidFormat}from'../framework/types.js';
|
package/lib/framework/output.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x594f3a,_0x337933){const _0x2c1d02=a114_0x4022,_0x2d5432=_0x594f3a();while(!![]){try{const _0x3c0ea3=-parseInt(_0x2c1d02(0x9b))/0x1+-parseInt(_0x2c1d02(0x9c))/0x2*(-parseInt(_0x2c1d02(0x96))/0x3)+parseInt(_0x2c1d02(0x9f))/0x4+parseInt(_0x2c1d02(0x91))/0x5*(-parseInt(_0x2c1d02(0x93))/0x6)+-parseInt(_0x2c1d02(0x90))/0x7*(-parseInt(_0x2c1d02(0x99))/0x8)+-parseInt(_0x2c1d02(0x95))/0x9*(parseInt(_0x2c1d02(0x98))/0xa)+parseInt(_0x2c1d02(0x97))/0xb;if(_0x3c0ea3===_0x337933)break;else _0x2d5432['push'](_0x2d5432['shift']());}catch(_0x2c0cab){_0x2d5432['push'](_0x2d5432['shift']());}}}(a114_0x7b16,0x92233));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';const baseFormatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});export function formatOutput(_0x401196,_0x69451c){const _0x158ec1=a114_0x4022,_0x4d5977=_0x401196[_0x158ec1(0x94)],{_notice:_0x23fba9,..._0x3a36fd}=_0x401196;void _0x23fba9,baseFormatOutput(_0x3a36fd,_0x69451c),_0x69451c['format']===_0x158ec1(0x92)&&printPrettyNotice(_0x4d5977);}function a114_0x4022(_0x58f808,_0x24e92e){_0x58f808=_0x58f808-0x90;const _0x7b1651=a114_0x7b16();let _0x40227a=_0x7b1651[_0x58f808];return _0x40227a;}function a114_0x7b16(){const _0x4fbe53=['6kaAWYh','_notice','340182LyPIcv','1173747vvyevl','2356343JYYbDk','250aAmkkm','808NCGvSL','error','727855BZpzqh','4FlHkol','update','url','3130196mBLWDC','49959rqXSnF','1143565NcumqC','pretty'];a114_0x7b16=function(){return _0x4fbe53;};return a114_0x7b16();}function printPrettyNotice(_0x9a9f79){const _0x3622fc=a114_0x4022;if(!_0x9a9f79?.[_0x3622fc(0x9d)])return;console[_0x3622fc(0x9a)](_0x9a9f79['update']['message']+'\x20('+_0x9a9f79[_0x3622fc(0x9d)][_0x3622fc(0x9e)]+')');}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x10a361,_0x2a5779){const _0x1878a0=a115_0x230f,_0x3f00ea=_0x10a361();while(!![]){try{const _0x3114d9=-parseInt(_0x1878a0(0x144))/0x1+-parseInt(_0x1878a0(0x150))/0x2*(parseInt(_0x1878a0(0x149))/0x3)+-parseInt(_0x1878a0(0x140))/0x4+parseInt(_0x1878a0(0x14a))/0x5+parseInt(_0x1878a0(0x152))/0x6*(parseInt(_0x1878a0(0x151))/0x7)+parseInt(_0x1878a0(0x14d))/0x8*(-parseInt(_0x1878a0(0x14e))/0x9)+parseInt(_0x1878a0(0x13e))/0xa*(parseInt(_0x1878a0(0x13b))/0xb);if(_0x3114d9===_0x2a5779)break;else _0x3f00ea['push'](_0x3f00ea['shift']());}catch(_0x80e26c){_0x3f00ea['push'](_0x3f00ea['shift']());}}}(a115_0x160c,0x7424c));export function toKebab(_0x201275){const _0xbb9042=a115_0x230f;return _0x201275[_0xbb9042(0x153)](/_/g,'-')[_0xbb9042(0x153)](/-([A-Z]+)/g,(_0x5755ac,_0x3df113)=>'-'+_0x3df113[_0xbb9042(0x133)]())[_0xbb9042(0x153)](/([a-z0-9])([A-Z])/g,(_0x3d7beb,_0x1999b6,_0x42c3a2)=>_0x1999b6+'-'+_0x42c3a2)[_0xbb9042(0x133)]();}function buildKnownFlags(_0xc2e4d8){const _0x10e936=a115_0x230f,_0x34b3a7=new Set();for(const _0x2f012a of _0xc2e4d8){_0x34b3a7['add'](_0x2f012a[_0x10e936(0x142)]),_0x34b3a7[_0x10e936(0x145)](toCamelCase(_0x2f012a['name']));}for(const _0x23a433 of[_0x10e936(0x13f),'dryRun',_0x10e936(0x13c),_0x10e936(0x155)]){_0x34b3a7[_0x10e936(0x145)](_0x23a433);}for(const _0x2c5747 of['help',_0x10e936(0x137),_0x10e936(0x13d),_0x10e936(0x135),'nonInteractive','non-interactive','ci',_0x10e936(0x134),'version']){_0x34b3a7[_0x10e936(0x145)](_0x2c5747);}return _0x34b3a7;}function buildFlagTypeMap(_0x40f2a7){const _0x31e124=a115_0x230f,_0xa74b48=new Map();for(const _0x24a2f1 of _0x40f2a7){_0xa74b48[_0x31e124(0x13a)](_0x24a2f1[_0x31e124(0x142)],_0x24a2f1[_0x31e124(0x146)]),_0xa74b48['set'](toCamelCase(_0x24a2f1[_0x31e124(0x142)]),_0x24a2f1[_0x31e124(0x146)]);}return _0xa74b48;}function toCamelCase(_0x8eba69){const _0x542ec1=a115_0x230f;return _0x8eba69['replace'](/-([a-z])/g,(_0x5532b4,_0x2a0925)=>_0x2a0925[_0x542ec1(0x148)]());}function a115_0x160c(){const _0x1ecdcb=['2351476HbOmEQ','number','name','original','805104KoppdP','add','type','corrected','toUpperCase','21WjDQkJ','2039245YfELCy','alias','boolean','1107384loSvlN','54JtKXcv','push','226308BOSjFx','4445TKgMZr','3126OSitpm','replace','has','format','length','string','toLowerCase','global','app','slice','env','get','entries','set','30278919bTHVtA','yes','appcode','10AqLzKG','dry-run'];a115_0x160c=function(){return _0x1ecdcb;};return a115_0x160c();}function aliasHandler(_0x497fee,_0x526cae){const _0x24a9b9=a115_0x230f,_0x1bb028=[];for(const _0x57e359 of Object['keys'](_0x497fee)){if(_0x526cae['has'](_0x57e359))continue;const _0x366bcd=toKebab(_0x57e359);_0x366bcd!==_0x57e359&&_0x526cae['has'](_0x366bcd)&&_0x1bb028[_0x24a9b9(0x14f)]({'original':_0x57e359,'corrected':_0x366bcd,'handler':_0x24a9b9(0x14b)});}return _0x1bb028;}function a115_0x230f(_0x4a02f,_0x5a624a){_0x4a02f=_0x4a02f-0x133;const _0x160c91=a115_0x160c();let _0x230ff2=_0x160c91[_0x4a02f];return _0x230ff2;}function stickyHandler(_0x3164ac,_0x4b02ae,_0x5238a9){const _0x1209ad=a115_0x230f,_0xb78be3=[];for(const [_0x2419d6,_0x2bdfa3]of Object[_0x1209ad(0x139)](_0x3164ac)){if(_0x2bdfa3!==!![])continue;for(let _0x5e0b1c=_0x2419d6[_0x1209ad(0x156)]-0x1;_0x5e0b1c>0x0;_0x5e0b1c--){const _0x31266c=_0x2419d6['slice'](0x0,_0x5e0b1c),_0xb1da45=_0x2419d6[_0x1209ad(0x136)](_0x5e0b1c),_0x5e39d3=toKebab(_0x31266c),_0x220510=toCamelCase(_0x31266c),_0x19904b=_0x4b02ae[_0x1209ad(0x154)](_0x31266c)?_0x31266c:_0x4b02ae[_0x1209ad(0x154)](_0x5e39d3)?_0x5e39d3:_0x4b02ae[_0x1209ad(0x154)](_0x220510)?_0x220510:null;if(!_0x19904b)continue;const _0x175acf=_0x5238a9[_0x1209ad(0x138)](_0x19904b)??_0x1209ad(0x157);let _0x125bf8;if(_0x175acf===_0x1209ad(0x141)){const _0x5ed4a6=Number(_0xb1da45);if(isNaN(_0x5ed4a6)||_0xb1da45==='')continue;_0x125bf8=_0x5ed4a6;}else{if(_0x175acf===_0x1209ad(0x14c))continue;else{if(_0xb1da45==='')continue;_0x125bf8=_0xb1da45;}}_0xb78be3['push']({'original':_0x2419d6,'corrected':_0x19904b+'='+_0x125bf8,'handler':'sticky'});break;}}return _0xb78be3;}export function correctFlags(_0x7ef928,_0x2e6c67){const _0x4effa2=a115_0x230f,_0x20da47=buildKnownFlags(_0x2e6c67),_0x5d1b7d=buildFlagTypeMap(_0x2e6c67),_0x3c4464=aliasHandler(_0x7ef928,_0x20da47),_0x588c52=stickyHandler(_0x7ef928,_0x20da47,_0x5d1b7d),_0x4e1a91=[..._0x3c4464,..._0x588c52];if(_0x4e1a91['length']===0x0)return{'flags':_0x7ef928,'corrections':[]};const _0x324e2d={..._0x7ef928},_0x11aeae=new Set();for(const _0x31deb6 of _0x3c4464){_0x324e2d[_0x31deb6[_0x4effa2(0x147)]]=_0x7ef928[_0x31deb6['original']],_0x11aeae['add'](_0x31deb6[_0x4effa2(0x143)]);}for(const _0x8ee88b of _0x588c52){const _0x2439c6=_0x8ee88b[_0x4effa2(0x147)]['indexOf']('='),_0xc585e3=_0x8ee88b[_0x4effa2(0x147)][_0x4effa2(0x136)](0x0,_0x2439c6),_0x1f8f9f=_0x8ee88b[_0x4effa2(0x147)][_0x4effa2(0x136)](_0x2439c6+0x1),_0x49aa68=_0x5d1b7d[_0x4effa2(0x138)](_0xc585e3)??_0x4effa2(0x157);_0x49aa68===_0x4effa2(0x141)?_0x324e2d[_0xc585e3]=Number(_0x1f8f9f):_0x324e2d[_0xc585e3]=_0x1f8f9f,_0x11aeae[_0x4effa2(0x145)](_0x8ee88b['original']);}for(const _0x401ebf of _0x11aeae){delete _0x324e2d[_0x401ebf];}return{'flags':_0x324e2d,'corrections':_0x4e1a91};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a116_0x3d34d6=a116_0x4562;function a116_0x4ed4(){const _0x9f727d=['Request\x20rate\x20limit\x20exceeded.','750234NnEnnI','5918460OZDYiG','6871xgDnFt','trim','14SWykrK','retry-after','toLowerCase','15366175PsytAV','9XSWeIR','Wait\x20','\x20Retry\x20only\x20the\x20failed\x20item;\x20keep\x20requests\x20serial\x20and\x20preserve\x20completed\x20checkpoints.','call','2304015ygZaPh','318Cahmkb','entries','4vziFeO','IP_RATE_LIMIT_EXCEEDED','Retry\x20after\x20','MAX_QPS_LIMIT','4210808Frehlm','string','function','4612835NDdiWu','number','toUpperCase','isInteger','status','isArray','errorCode','test','has','Retry-After','object','Retry\x20after\x20a\x20short\x20delay.'];a116_0x4ed4=function(){return _0x9f727d;};return a116_0x4ed4();}(function(_0x7f0042,_0x5d3740){const _0x3c4f81=a116_0x4562,_0x5cf1bc=_0x7f0042();while(!![]){try{const _0x1cd2f8=-parseInt(_0x3c4f81(0xde))/0x1*(-parseInt(_0x3c4f81(0xe9))/0x2)+parseInt(_0x3c4f81(0xe8))/0x3+-parseInt(_0x3c4f81(0xeb))/0x4*(parseInt(_0x3c4f81(0xcf))/0x5)+-parseInt(_0x3c4f81(0xdc))/0x6+-parseInt(_0x3c4f81(0xe0))/0x7*(parseInt(_0x3c4f81(0xcc))/0x8)+-parseInt(_0x3c4f81(0xe4))/0x9*(parseInt(_0x3c4f81(0xdd))/0xa)+parseInt(_0x3c4f81(0xe3))/0xb;if(_0x1cd2f8===_0x5d3740)break;else _0x5cf1bc['push'](_0x5cf1bc['shift']());}catch(_0x5a30e4){_0x5cf1bc['push'](_0x5cf1bc['shift']());}}}(a116_0x4ed4,0x8a011));import{CliErrors}from'../errors.js';function a116_0x4562(_0xd4dde3,_0x58717c){_0xd4dde3=_0xd4dde3-0xcc;const _0x4ed485=a116_0x4ed4();let _0x45626e=_0x4ed485[_0xd4dde3];return _0x45626e;}const RATE_LIMIT_ERROR_CODES=new Set(['EXCEED_MAX_QPS_LIMIT',a116_0x3d34d6(0xee),a116_0x3d34d6(0xec)]);function nonEmptyString(_0x2dfc05){const _0x3d239f=a116_0x3d34d6;if(typeof _0x2dfc05!==_0x3d239f(0xcd))return undefined;const _0x12399b=_0x2dfc05[_0x3d239f(0xdf)]();return _0x12399b||undefined;}function buildRetryHint(_0x27bd0d){const _0x40271c=a116_0x3d34d6,_0x164e1f=nonEmptyString(_0x27bd0d),_0x3de812=_0x164e1f?/^\d+$/[_0x40271c(0xd6)](_0x164e1f)?_0x40271c(0xe5)+_0x164e1f+'\x20seconds\x20before\x20retrying.':_0x40271c(0xed)+_0x164e1f+'.':_0x40271c(0xda);return _0x3de812+_0x40271c(0xe6);}export function createRateLimitError(_0x4bd159){const _0x3fc466=a116_0x3d34d6,_0x3ff55b=nonEmptyString(_0x4bd159[_0x3fc466(0xd5)])?.[_0x3fc466(0xd1)](),_0x36236e=Number(_0x4bd159[_0x3fc466(0xd3)])===0x1ad||_0x3ff55b!==undefined&&RATE_LIMIT_ERROR_CODES[_0x3fc466(0xd7)](_0x3ff55b);if(!_0x36236e)return undefined;return CliErrors['rateLimited'](nonEmptyString(_0x4bd159['message'])??_0x3fc466(0xdb),buildRetryHint(_0x4bd159['retryAfter']));}export function readRetryAfter(_0x233cfa){const _0x12c850=a116_0x3d34d6;if(!_0x233cfa||typeof _0x233cfa!==_0x12c850(0xd9))return undefined;const _0x54e092=_0x233cfa['get'];if(typeof _0x54e092===_0x12c850(0xce)){const _0x3ae966=_0x54e092[_0x12c850(0xe7)](_0x233cfa,_0x12c850(0xd8))??_0x54e092[_0x12c850(0xe7)](_0x233cfa,_0x12c850(0xe1));return nonEmptyString(_0x3ae966);}for(const [_0x477f9e,_0x538110]of Object[_0x12c850(0xea)](_0x233cfa)){if(_0x477f9e[_0x12c850(0xe2)]()===_0x12c850(0xe1))return nonEmptyString(_0x538110)??(typeof _0x538110===_0x12c850(0xd0)?String(_0x538110):undefined);}return undefined;}export function readRetryAfterSeconds(_0x55d595){const _0x4de0de=a116_0x3d34d6;if(!_0x55d595||typeof _0x55d595!==_0x4de0de(0xd9)||Array[_0x4de0de(0xd4)](_0x55d595))return undefined;const _0xd354c1=_0x55d595['retryAfterSeconds'];if(typeof _0xd354c1===_0x4de0de(0xd0))return Number[_0x4de0de(0xd2)](_0xd354c1)&&_0xd354c1>=0x0?String(_0xd354c1):undefined;const _0x3f717a=nonEmptyString(_0xd354c1);return _0x3f717a&&/^\d+$/[_0x4de0de(0xd6)](_0x3f717a)?_0x3f717a:undefined;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a117_0x26b504=a117_0x1e37;(function(_0x11893e,_0x54cda0){const _0x516945=a117_0x1e37,_0x3450b3=_0x11893e();while(!![]){try{const _0x419c82=-parseInt(_0x516945(0x1aa))/0x1*(parseInt(_0x516945(0x1ae))/0x2)+-parseInt(_0x516945(0x1b7))/0x3*(-parseInt(_0x516945(0x1a9))/0x4)+-parseInt(_0x516945(0x1a2))/0x5*(parseInt(_0x516945(0x1be))/0x6)+-parseInt(_0x516945(0x1ad))/0x7+parseInt(_0x516945(0x1b1))/0x8+-parseInt(_0x516945(0x1b5))/0x9+parseInt(_0x516945(0x1bd))/0xa;if(_0x419c82===_0x54cda0)break;else _0x3450b3['push'](_0x3450b3['shift']());}catch(_0x2ebcfd){_0x3450b3['push'](_0x3450b3['shift']());}}}(a117_0x4eb0,0xbb8e3));import{CliErrors}from'../errors.js';function a117_0x1e37(_0x24e7fa,_0x460d59){_0x24e7fa=_0x24e7fa-0x1a0;const _0x4eb0a9=a117_0x4eb0();let _0x1e3763=_0x4eb0a9[_0x24e7fa];return _0x1e3763;}import{CLI_BIN_NAME,GLOBAL_FLAGS}from'../constant/cli.js';function a117_0x4eb0(){const _0x14c9a8=['Unknown\x20flag\x20--','where','40947390uUKIyA','84RqQvGg','\x20is\x20not\x20a\x20CLI\x20flag\x20for\x20`','command','\x20for\x20`','Example:\x20','version','currentpage','219200jPTrGR','current-page','\x20--help`\x20to\x20see\x20accepted\x20flags.','\x20data\x20filter`.','\x20data\x20filter\x20--code\x20<datasetCode>\x20--params\x20','order-by','no-','52QGfePo','1385490UqTVfk','validation','filter','8354738kTimgh','2zDyEry','flags','Run\x20`','5153968nTQBkV','Put\x20where,\x20select,\x20orderBy,\x20currentPage,\x20and\x20pageSize\x20inside\x20one\x20--params\x20JSON\x20object.\x20','service','add','13256352MNKDjb','has','160374IvVRXN','pagesize','stringify','name'];a117_0x4eb0=function(){return _0x14c9a8;};return a117_0x4eb0();}import{toKebab}from'../framework/preparse.js';const FILTER_BODY_FIELDS=new Set([a117_0x26b504(0x1bc),'select',a117_0x26b504(0x1a7),'orderby',a117_0x26b504(0x1a3),a117_0x26b504(0x1a1),'page','page-size',a117_0x26b504(0x1b8)]);export function assertKnownCommandFlags(_0x553674,_0x1929b5){const _0x4e38ff=a117_0x26b504,_0x4309d2=new Set([_0x4e38ff(0x1a0)]);for(const _0x34e0e2 of GLOBAL_FLAGS){_0x4309d2[_0x4e38ff(0x1b4)](_0x34e0e2['name']),_0x4309d2[_0x4e38ff(0x1b4)](toKebab(_0x34e0e2['meowKey']));}for(const _0x396ff7 of _0x553674[_0x4e38ff(0x1af)]??[]){_0x4309d2[_0x4e38ff(0x1b4)](_0x396ff7[_0x4e38ff(0x1ba)]);}for(const [_0x5ed49b,_0x9a178f]of Object['entries'](_0x1929b5)){const _0x5162c1=toKebab(_0x5ed49b);if(_0x4309d2[_0x4e38ff(0x1b6)](_0x5162c1))continue;if(_0x9a178f===![]&&_0x4309d2[_0x4e38ff(0x1b6)](_0x4e38ff(0x1a8)+_0x5162c1))continue;if(_0x553674['service']==='data'&&_0x553674[_0x4e38ff(0x1c0)]===_0x4e38ff(0x1ac)&&FILTER_BODY_FIELDS[_0x4e38ff(0x1b6)](_0x5162c1))throw CliErrors['validation']('--'+_0x5162c1+_0x4e38ff(0x1bf)+CLI_BIN_NAME+_0x4e38ff(0x1a5),_0x4e38ff(0x1b2)+(_0x4e38ff(0x1c2)+CLI_BIN_NAME+_0x4e38ff(0x1a6))+('\x27'+JSON[_0x4e38ff(0x1b9)]({'where':{'status':{'$eq':'active'}},'orderBy':[{'id':'asc'}],'currentPage':0x1,'pageSize':0x14})+'\x27'));throw CliErrors[_0x4e38ff(0x1ab)](_0x4e38ff(0x1bb)+_0x5162c1+_0x4e38ff(0x1c1)+CLI_BIN_NAME+'\x20'+_0x553674[_0x4e38ff(0x1b3)]+'\x20'+_0x553674[_0x4e38ff(0x1c0)]+'`.',_0x4e38ff(0x1b0)+CLI_BIN_NAME+'\x20'+_0x553674['service']+'\x20'+_0x553674[_0x4e38ff(0x1c0)]+_0x4e38ff(0x1a4));}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0xb0a0df,_0x4262e9){var _0x5bc6e9=a118_0xde8c,_0x34ee07=_0xb0a0df();while(!![]){try{var _0x32c557=-parseInt(_0x5bc6e9(0x194))/0x1+parseInt(_0x5bc6e9(0x196))/0x2+parseInt(_0x5bc6e9(0x193))/0x3*(-parseInt(_0x5bc6e9(0x198))/0x4)+-parseInt(_0x5bc6e9(0x195))/0x5+parseInt(_0x5bc6e9(0x199))/0x6+parseInt(_0x5bc6e9(0x197))/0x7*(parseInt(_0x5bc6e9(0x19a))/0x8)+parseInt(_0x5bc6e9(0x19b))/0x9;if(_0x32c557===_0x4262e9)break;else _0x34ee07['push'](_0x34ee07['shift']());}catch(_0x556ddd){_0x34ee07['push'](_0x34ee07['shift']());}}}(a118_0x9cca,0x6f9a1));function a118_0xde8c(_0x5b266a,_0x103c9f){_0x5b266a=_0x5b266a-0x193;var _0x9ccad9=a118_0x9cca();var _0xde8c34=_0x9ccad9[_0x5b266a];return _0xde8c34;}export{extractList,extractPaging}from'@lovrabet/cli-framework';function a118_0x9cca(){var _0x26f75e=['14fIFWhY','619984BoIzjv','88368znlsuz','669304GRfpOk','15977583jNPJvD','6uAVKio','668077WGoBNt','4073815LrrHIC','585224LbrYRg'];a118_0x9cca=function(){return _0x26f75e;};return a118_0x9cca();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x57ba00,_0x415fb6){const _0xc5fe05=a119_0xac7f,_0x25722a=_0x57ba00();while(!![]){try{const _0x2494ef=parseInt(_0xc5fe05(0x75))/0x1*(parseInt(_0xc5fe05(0x82))/0x2)+-parseInt(_0xc5fe05(0x8a))/0x3+parseInt(_0xc5fe05(0x7e))/0x4*(-parseInt(_0xc5fe05(0x90))/0x5)+-parseInt(_0xc5fe05(0x8d))/0x6*(-parseInt(_0xc5fe05(0x86))/0x7)+-parseInt(_0xc5fe05(0x77))/0x8+-parseInt(_0xc5fe05(0x8c))/0x9*(parseInt(_0xc5fe05(0x8b))/0xa)+-parseInt(_0xc5fe05(0x74))/0xb*(-parseInt(_0xc5fe05(0x7d))/0xc);if(_0x2494ef===_0x415fb6)break;else _0x25722a['push'](_0x25722a['shift']());}catch(_0x496593){_0x25722a['push'](_0x25722a['shift']());}}}(a119_0x2087,0x780db));function a119_0x2087(){const _0x592740=['description','length','channel=','1111tdVSrq','122755hTtAku','channel','1356024nfLASU','title','title=','scheduled-at','--yes','affectedRecords','286224tmKEkx','30620USCzdr','stringify','entries','kind=','10MrluBW','kind','cron','cron=','35Eyjycf','params','id=','push','1275147JsnOke','1399830RWJCTS','63EqcLnZ','27822sFVQiW','join','name=','640AvXOeX','code=','code','service','schedule-id'];a119_0x2087=function(){return _0x592740;};return a119_0x2087();}import{CLI_BIN_NAME}from'../constant/cli.js';import{isSensitiveFlagName}from'../utils/redaction.js';export function buildConfirmationLines(_0x2bca0a,_0x37e42b,_0x4a7d3d){const _0x1ca736=a119_0xac7f,_0x1109e9=buildConfirmationContext(_0x2bca0a,_0x37e42b,_0x4a7d3d),_0x2c6769=['⚠\x20\x20High-risk\x20operation:\x20'+_0x1109e9['commandLabel']];return _0x1109e9[_0x1ca736(0x95)]&&_0x2c6769['push']('\x20\x20\x20'+_0x1109e9[_0x1ca736(0x95)]),_0x1109e9[_0x1ca736(0x7c)]&&_0x2c6769[_0x1ca736(0x89)]('\x20\x20\x20Affected:\x20'+_0x1109e9[_0x1ca736(0x7c)]),_0x2c6769[_0x1ca736(0x89)]('\x20\x20\x20Continue?\x20[y/N]\x20'),_0x2c6769;}export function reconstructCommandArgv(_0x1c7a37,_0x50c562){const _0x3593c6=a119_0xac7f,_0x2176a6=[CLI_BIN_NAME,_0x1c7a37[_0x3593c6(0x93)],_0x1c7a37['command']];for(const [_0x32a172,_0x26778d]of Object[_0x3593c6(0x80)](_0x50c562)){if(_0x26778d===!![])_0x2176a6['push']('--'+_0x32a172);else{if(isSensitiveFlagName(_0x32a172)&&_0x26778d!==![]&&_0x26778d!==undefined&&_0x26778d!=='')_0x2176a6[_0x3593c6(0x89)]('--'+_0x32a172+'\x20[REDACTED]');else _0x26778d!==![]&&_0x26778d!==undefined&&_0x26778d!==''&&_0x2176a6['push']('--'+_0x32a172+'\x20'+JSON[_0x3593c6(0x7f)](_0x26778d));}}return _0x2176a6[_0x3593c6(0x89)](_0x3593c6(0x7b)),_0x2176a6[_0x3593c6(0x8e)]('\x20');}function buildConfirmationContext(_0x445406,_0x2568b6,_0x184ed6){const _0x5c9875=a119_0xac7f,_0x2c97c2=extractAffectedRecords(_0x184ed6);return{'commandLabel':_0x2568b6,'description':_0x445406[_0x5c9875(0x95)],'affectedRecords':_0x2c97c2};}function a119_0xac7f(_0x11fc8e,_0x1dbed3){_0x11fc8e=_0x11fc8e-0x73;const _0x2087a4=a119_0x2087();let _0xac7f7e=_0x2087a4[_0x11fc8e];return _0xac7f7e;}function extractAffectedRecords(_0x3bbe0d){const _0x4f4435=a119_0xac7f,_0x486748=[];if(_0x3bbe0d[_0x4f4435(0x92)])_0x486748[_0x4f4435(0x89)](_0x4f4435(0x91)+_0x3bbe0d['code']);if(_0x3bbe0d['id'])_0x486748[_0x4f4435(0x89)](_0x4f4435(0x88)+_0x3bbe0d['id']);if(_0x3bbe0d[_0x4f4435(0x94)])_0x486748['push']('schedule-id='+_0x3bbe0d[_0x4f4435(0x94)]);if(_0x3bbe0d['name'])_0x486748['push'](_0x4f4435(0x8f)+_0x3bbe0d['name']);if(_0x3bbe0d['title'])_0x486748['push'](_0x4f4435(0x79)+_0x3bbe0d[_0x4f4435(0x78)]);if(_0x3bbe0d[_0x4f4435(0x83)])_0x486748[_0x4f4435(0x89)](_0x4f4435(0x81)+_0x3bbe0d[_0x4f4435(0x83)]);if(_0x3bbe0d[_0x4f4435(0x84)])_0x486748[_0x4f4435(0x89)](_0x4f4435(0x85)+_0x3bbe0d[_0x4f4435(0x84)]);if(_0x3bbe0d[_0x4f4435(0x7a)])_0x486748[_0x4f4435(0x89)]('scheduled-at='+_0x3bbe0d['scheduled-at']);if(_0x3bbe0d[_0x4f4435(0x76)])_0x486748['push'](_0x4f4435(0x73)+_0x3bbe0d[_0x4f4435(0x76)]);if(_0x3bbe0d[_0x4f4435(0x87)])_0x486748[_0x4f4435(0x89)]('params='+_0x3bbe0d[_0x4f4435(0x87)]);return _0x486748[_0x4f4435(0x96)]>0x0?_0x486748[_0x4f4435(0x8e)](',\x20'):undefined;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x464a0e,_0x4decb8){const _0x2fe272=a120_0x26f8,_0x358996=_0x464a0e();while(!![]){try{const _0x5067f4=parseInt(_0x2fe272(0x110))/0x1+-parseInt(_0x2fe272(0x10d))/0x2+-parseInt(_0x2fe272(0x10f))/0x3+-parseInt(_0x2fe272(0x11a))/0x4*(parseInt(_0x2fe272(0x10e))/0x5)+-parseInt(_0x2fe272(0x118))/0x6*(parseInt(_0x2fe272(0x116))/0x7)+-parseInt(_0x2fe272(0x113))/0x8*(parseInt(_0x2fe272(0x112))/0x9)+-parseInt(_0x2fe272(0x11c))/0xa*(-parseInt(_0x2fe272(0x11b))/0xb);if(_0x5067f4===_0x4decb8)break;else _0x358996['push'](_0x358996['shift']());}catch(_0x19199e){_0x358996['push'](_0x358996['shift']());}}}(a120_0x5409,0x949fb));import{LovrabetError}from'@lovrabet/sdk';function a120_0x26f8(_0x459ce9,_0x202564){_0x459ce9=_0x459ce9-0x10b;const _0x540939=a120_0x5409();let _0x26f88a=_0x540939[_0x459ce9];return _0x26f88a;}import{CliErrors}from'../errors.js';function a120_0x5409(){const _0x2d9705=['headers','171BpttGI','372304gdxrIm','validation','code','14xJeaYU','trim','1991364ByYWNs','description','68QtZyuC','42265289sxJExJ','10frJImc','response','status','2170134JprnED','195655fePDVF','2063091kTfXrb','752465kElRAe'];a120_0x5409=function(){return _0x2d9705;};return a120_0x5409();}import{createRateLimitError,readRetryAfter,readRetryAfterSeconds}from'../framework/rate-limit.js';export function mapUserFacingExecuteError(_0x5b94ce){const _0x56c840=a120_0x26f8;if(_0x5b94ce instanceof LovrabetError){const _0x28b136=userFacingLovrabetMessage(_0x5b94ce),_0x34619d=_0x5b94ce,_0x1b1ab1=createRateLimitError({'status':_0x34619d[_0x56c840(0x10c)],'errorCode':_0x34619d[_0x56c840(0x115)],'message':_0x28b136,'retryAfter':readRetryAfter(_0x34619d[_0x56c840(0x10b)]?.[_0x56c840(0x111)])??readRetryAfterSeconds(_0x34619d[_0x56c840(0x10b)])});return _0x1b1ab1??CliErrors[_0x56c840(0x114)](_0x28b136);}return _0x5b94ce;}function userFacingLovrabetMessage(_0x40a95b){const _0x4a2ad9=a120_0x26f8,_0x16747c=_0x40a95b[_0x4a2ad9(0x119)];if(_0x16747c!==undefined&&_0x16747c!==null){if(typeof _0x16747c==='string'&&_0x16747c[_0x4a2ad9(0x117)]())return _0x16747c[_0x4a2ad9(0x117)]();try{return JSON['stringify'](_0x16747c);}catch{}}return _0x40a95b['message'];}
|
package/lib/framework/runner.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x29c173,_0x3fcc78){const _0xb3f441=a121_0x4cf3,_0x2787d9=_0x29c173();while(!![]){try{const _0x62c9aa=-parseInt(_0xb3f441(0xb9))/0x1*(parseInt(_0xb3f441(0x93))/0x2)+-parseInt(_0xb3f441(0x97))/0x3*(parseInt(_0xb3f441(0xa0))/0x4)+-parseInt(_0xb3f441(0x89))/0x5*(parseInt(_0xb3f441(0xb3))/0x6)+parseInt(_0xb3f441(0xc8))/0x7+parseInt(_0xb3f441(0xb8))/0x8+-parseInt(_0xb3f441(0x8d))/0x9*(-parseInt(_0xb3f441(0xa1))/0xa)+-parseInt(_0xb3f441(0xa2))/0xb*(-parseInt(_0xb3f441(0x8b))/0xc);if(_0x62c9aa===_0x3fcc78)break;else _0x2787d9['push'](_0x2787d9['shift']());}catch(_0x4db997){_0x2787d9['push'](_0x2787d9['shift']());}}}(a121_0x23d9,0x3f60c));function a121_0x23d9(){const _0xac12ba=['doctor','trim','pretty','schema','Set\x20appcode\x20via\x20--appcode\x20or\x20in\x20','validation','\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20add\x20apps.','69676hreGMW','10qtjKQE','33PDKGKl','_notice','newConfigFileName','nativeToolAvailable','requiresAuth','nativeToolRequired','appCode','items','command','execute','cli-skill','cancelled','resolve','../core/api-client.js','mergedCli','appcode\x20\x22','\x20or\x20pass\x20','413844zKadpk','install','defaultApp','has','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.\x0a','1287240atrnoj','1EpDSby','ClientAk','appcode','verbose','Unknown\x20app:\x20','name','apiDomain','string','\x20\x20To\x20proceed:\x20','high-risk-write','../commands/app/remote-source.js','write','runtimeDomain','defaultPageSize','formatOutput','1968694RKUjsZ','map','app','defaultVerbose','.appcode\x20to\x20','appCodeSource','format','APPCODE','authRequired','risk','currentApp','service','includes','production','requiresAppCode','35BijceL','configMissing','1206948ghmqQZ','env','1758357RKnCjN','error','accessKey','update','nonInteractive','local-alias','114982ZGsDXa','object','isNonInteractive','rawFlags','24rnqHQQ','pageSize'];a121_0x23d9=function(){return _0xac12ba;};return a121_0x23d9();}import{runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{PRODUCT_CONFIG,productEnv,productEnvName}from'../constant/product.js';import{isNonInteractiveMode,readAppCodeFromConfig}from'../context.js';import{AUTH_MODE}from'../constant/auth-mode.js';import{getApiDomain,getRuntimeDomain}from'../constant/domain.js';import{buildConfirmationLines,reconstructCommandArgv}from'../framework/runner-confirmation.js';import{mapUserFacingExecuteError}from'../framework/runner-error.js';import{assertKnownCommandFlags}from'../framework/raw-flags.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';import{assertCliVersionSupported,checkCliVersion}from'../utils/cli-version-check.js';import{findAppByCode,findAppByName,isRuntimeAccessibleApp,runtimeInaccessibleAppError}from'../commands/app/eligibility.js';export function resolveAuthMode(_0x515998){const _0x4483e6=a121_0x4cf3;return void _0x515998,AUTH_MODE[_0x4483e6(0xba)];}let sdkClientInitialized=![];export function createPipelineEnv(_0x2eff64,_0x52a9dd){const _0x21358e=a121_0x4cf3,_0x3502fe=typeof _0x52a9dd[_0x21358e(0xca)]===_0x21358e(0xc0)&&_0x52a9dd['app']['trim']();return{'rawFlags':_0x52a9dd,'appCode':_0x2eff64[_0x21358e(0xa8)]||productEnv(_0x21358e(0xcf))||(_0x3502fe?undefined:readAppCodeFromConfig()),'appCodeSource':_0x2eff64[_0x21358e(0xcd)],'apiDomain':getApiDomain(),'runtimeDomain':getRuntimeDomain(),'isNonInteractive':isNonInteractiveMode(_0x52a9dd),'defaultFormat':_0x2eff64[_0x21358e(0xce)],'defaultPageSize':_0x2eff64[_0x21358e(0x98)],'defaultVerbose':_0x2eff64[_0x21358e(0xbc)],'riskLevel':_0x2eff64['riskLevel'],'nativeToolAvailable':_0x2eff64['nativeToolAvailable'],'accessKey':_0x2eff64['accessKey'],'env':_0x2eff64[_0x21358e(0x8c)],'mergedCli':{'defaultApp':_0x2eff64[_0x21358e(0xb5)],'currentApp':_0x2eff64[_0x21358e(0xd2)],'appCode':_0x2eff64[_0x21358e(0xa8)]}};}export function createLovrabetRunnerAdapter(_0x58ef7c={}){const _0x59f3fc=a121_0x4cf3,_0xdbc405={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS['filter'](_0x4e1d21=>PIPELINE_FLAG_NAMES[_0x59f3fc(0xb6)](_0x4e1d21[_0x59f3fc(0xbe)]))[_0x59f3fc(0xc9)](({name:_0x585697,type:_0x24aa52,description:_0x4571dc})=>({'name':_0x585697,'type':_0x24aa52,'description':_0x4571dc})),'formatOutput':_0x58ef7c[_0x59f3fc(0xc7)]??formatOutput,'getCommandLabel'(_0x306253){const _0x5e8f25=_0x59f3fc;return CLI_BIN_NAME+'\x20'+_0x306253[_0x5e8f25(0x85)]+'\x20'+_0x306253[_0x5e8f25(0xaa)];},'riskPolicy':{'onViolation'(_0x331759,{def:_0x43166f,env:_0xc58328}){const _0x18cde9=_0x59f3fc;if(shouldRouteWriteToNativeTool(_0x43166f,_0xc58328))return;console[_0x18cde9(0x8e)](_0x331759);},'createError'(_0x54e544,{def:_0x114c31,env:_0x5d8ce8}){const _0x4f94a3=_0x59f3fc;if(shouldRouteWriteToNativeTool(_0x114c31,_0x5d8ce8))return CliErrors[_0x4f94a3(0xa7)](CLI_BIN_NAME+'\x20'+_0x114c31['service']+'\x20'+_0x114c31[_0x4f94a3(0xaa)]);return CliErrors['cancelled'](_0x54e544);}},async 'prepare'(_0x2e4b27,_0x24c740){const _0x4d8a76=_0x59f3fc,_0x15f1d9=resolveAuthMode(_0x24c740);if(_0x2e4b27[_0x4d8a76(0xa6)]!==![]){if(!_0x24c740[_0x4d8a76(0x8f)])throw CliErrors[_0x4d8a76(0xd0)]('Set\x20accessKey\x20in\x20'+PRODUCT_CONFIG[_0x4d8a76(0xa4)]+_0x4d8a76(0xb2)+productEnvName('ACCESS_KEY')+'.');const {setActiveAK:_0x271a4b}=await import(_0x4d8a76(0xaf));_0x271a4b(_0x24c740[_0x4d8a76(0x8f)]);}let _0x436be6='';if(_0x2e4b27['requiresAppCode']!==![]){_0x436be6=_0x24c740[_0x4d8a76(0xa8)]??'',_0x436be6=await resolveExplicitAppName(_0x2e4b27,_0x24c740,_0x436be6);if(!_0x436be6){await assertSelectedAppNameIsRuntimeAccessible(_0x2e4b27,_0x24c740);throw CliErrors[_0x4d8a76(0x8a)](_0x4d8a76(0x9d)+PRODUCT_CONFIG[_0x4d8a76(0xa4)]+'.');}await assertAppCodeIsRuntimeAccessible(_0x2e4b27,_0x24c740,_0x436be6);}if(_0x436be6){const {initSdkClient:_0x727774}=await import('../core/sdk-client.js');_0x727774({'appCode':_0x436be6,'env':_0x24c740[_0x4d8a76(0x8c)]??'production','runtimeDomain':_0x24c740[_0x4d8a76(0xc5)],'accessKey':_0x24c740[_0x4d8a76(0x8f)],'authMode':_0x15f1d9}),sdkClientInitialized=!![];}return{'defaults':{'booleans':{'verbose':_0x24c740[_0x4d8a76(0xcb)]},'numbers':{'pagesize':_0x24c740[_0x4d8a76(0xc6)]}},'extras':{'appCode':_0x436be6,'cookie':'','apiDomain':_0x24c740[_0x4d8a76(0xbf)],'apiDir':'','accessKey':_0x24c740[_0x4d8a76(0x8f)],'envName':_0x24c740[_0x4d8a76(0x8c)],'mergedCli':_0x24c740[_0x4d8a76(0xb0)]}};},'confirmHighRisk':_0x58ef7c['confirmHighRisk']??(async({def:_0x3a33f4,env:_0x129482,flags:_0x49a100,commandLabel:_0x4af068})=>{const _0x2c612f=_0x59f3fc;if(_0x129482[_0x2c612f(0x95)]){const _0x190587=reconstructCommandArgv(_0x3a33f4,_0x49a100);throw CliErrors[_0x2c612f(0x9e)]('High-risk\x20operation\x20`'+_0x4af068+_0x2c612f(0xb7)+(_0x2c612f(0xc1)+_0x190587));}await requireConfirmationPrompt({'lines':buildConfirmationLines(_0x3a33f4,_0x4af068,_0x49a100),'createCancelledError':_0x1deb7b=>CliErrors[_0x2c612f(0xad)](_0x1deb7b)});}),'mapDryRunError'(_0x22f877){return mapUserFacingExecuteError(_0x22f877);},'mapExecuteError'(_0xecdcfc){return mapUserFacingExecuteError(_0xecdcfc);},async 'finalize'(){await finalizeLovrabetRuntimeState();}};return _0xdbc405;}function shouldRouteWriteToNativeTool(_0x232216,_0x199157){const _0x4940e6=a121_0x4cf3;return _0x199157[_0x4940e6(0xa5)]===!![]&&(_0x232216['risk']===_0x4940e6(0xc4)||_0x232216[_0x4940e6(0xd1)]===_0x4940e6(0xc2));}const terminalRunnerAdapter=createLovrabetRunnerAdapter();export async function finalizeLovrabetRuntimeState(){const _0x490622=a121_0x4cf3;try{if(sdkClientInitialized){const {clearSdkClient:_0x2ac920}=await import('../core/sdk-client.js');_0x2ac920();}}finally{sdkClientInitialized=![];const {clearActiveAK:_0x184c85}=await import(_0x490622(0xaf));_0x184c85();}}async function resolveExplicitAppName(_0x9a39ca,_0x28abf0,_0x37613d){const _0x58df96=a121_0x4cf3;if(_0x9a39ca[_0x58df96(0x88)]===![])return _0x37613d;const _0x348104=typeof _0x28abf0[_0x58df96(0x96)][_0x58df96(0xca)]===_0x58df96(0xc0)?_0x28abf0['rawFlags'][_0x58df96(0xca)][_0x58df96(0x9a)]():'';if(!_0x348104)return _0x37613d;const _0x1488c7=typeof _0x28abf0['rawFlags'][_0x58df96(0xbb)]===_0x58df96(0xc0)&&_0x28abf0['rawFlags'][_0x58df96(0xbb)][_0x58df96(0x9a)]()||productEnv(_0x58df96(0xcf));if(_0x1488c7||_0x28abf0['appCodeSource']===_0x58df96(0x92))return _0x37613d;const {getRemoteAppList:_0x3fdc38}=await import(_0x58df96(0xc3)),_0x2c73db=await _0x3fdc38({'env':_0x28abf0['env']??_0x58df96(0x87),'accessKey':_0x28abf0[_0x58df96(0x8f)]}),_0x403ed7=findAppByName(_0x2c73db[_0x58df96(0xa9)],_0x348104);if(_0x403ed7&&!isRuntimeAccessibleApp(_0x403ed7))throw runtimeInaccessibleAppError(_0x403ed7,'\x22'+_0x348104+'\x22');const _0x10f924=_0x403ed7?.['appCode']?.[_0x58df96(0x9a)]();if(_0x10f924)return _0x10f924;throw CliErrors[_0x58df96(0x9e)](_0x58df96(0xbd)+_0x348104,'Run\x20`'+CLI_BIN_NAME+_0x58df96(0x9f)+_0x348104+_0x58df96(0xcc)+PRODUCT_CONFIG['newConfigFileName']+'.');}async function assertSelectedAppNameIsRuntimeAccessible(_0x14df5a,_0x9fb640){const _0x3d9418=a121_0x4cf3;if(_0x14df5a[_0x3d9418(0x88)]===![]||!_0x9fb640[_0x3d9418(0x8f)])return;const _0x3069c0=(typeof _0x9fb640[_0x3d9418(0x96)][_0x3d9418(0xca)]===_0x3d9418(0xc0)&&_0x9fb640[_0x3d9418(0x96)]['app'][_0x3d9418(0x9a)]()?_0x9fb640[_0x3d9418(0x96)][_0x3d9418(0xca)]:_0x9fb640['mergedCli']?.[_0x3d9418(0xd2)]??_0x9fb640['mergedCli']?.[_0x3d9418(0xb5)])?.['trim']();if(!_0x3069c0)return;const {getRemoteAppList:_0x2a0e08}=await import(_0x3d9418(0xc3)),_0x393aa2=await _0x2a0e08({'env':_0x9fb640[_0x3d9418(0x8c)]??'production','accessKey':_0x9fb640[_0x3d9418(0x8f)]}),_0x2e3725=findAppByName(_0x393aa2[_0x3d9418(0xa9)],_0x3069c0);if(_0x2e3725&&!isRuntimeAccessibleApp(_0x2e3725))throw runtimeInaccessibleAppError(_0x2e3725,'\x22'+_0x3069c0+'\x22');}function a121_0x4cf3(_0x2b649e,_0x1482a8){_0x2b649e=_0x2b649e-0x85;const _0x23d930=a121_0x23d9();let _0x4cf3ad=_0x23d930[_0x2b649e];return _0x4cf3ad;}async function assertAppCodeIsRuntimeAccessible(_0x32efed,_0x181165,_0x172cac){const _0x483da9=a121_0x4cf3;if(_0x32efed['requiresAppCode']===![]||!_0x181165['accessKey'])return;const {getRemoteAppList:_0x380d4f}=await import(_0x483da9(0xc3)),_0x515997=await _0x380d4f({'env':_0x181165[_0x483da9(0x8c)]??_0x483da9(0x87),'accessKey':_0x181165[_0x483da9(0x8f)]}),_0xc6211c=findAppByCode(_0x515997[_0x483da9(0xa9)],_0x172cac);if(_0xc6211c&&!isRuntimeAccessibleApp(_0xc6211c))throw runtimeInaccessibleAppError(_0xc6211c,_0x483da9(0xb1)+_0x172cac+'\x22');}export async function runCommand(_0x49e93b,_0x324111,_0x23c8be=terminalRunnerAdapter){const _0x3c9225=a121_0x4cf3;assertKnownCommandFlags(_0x49e93b,_0x324111[_0x3c9225(0x96)]),await runCommandWithAdapter(shouldApplyVersionPolicy(_0x49e93b)?withVersionPolicy(_0x49e93b):_0x49e93b,_0x324111,_0x23c8be);}function shouldApplyVersionPolicy(_0x2e46e6){const _0x1718ef=a121_0x4cf3;if([_0x1718ef(0x90),_0x1718ef(0x9c),_0x1718ef(0x99)][_0x1718ef(0x86)](_0x2e46e6['service']))return![];return!(_0x2e46e6['service']===_0x1718ef(0xac)&&_0x2e46e6[_0x1718ef(0xaa)]===_0x1718ef(0xb4));}function withVersionPolicy(_0x1c4504){return{..._0x1c4504,async 'execute'(_0x184c73){const _0x1bc31c=a121_0x4cf3,_0x4b858f=await checkCliVersion();assertCliVersionSupported(_0x4b858f);const _0x43cd31=shouldResolveUpdateNotice(_0x184c73)?resolveLatestUpdateNotice(_0x4b858f)['catch'](()=>null):Promise[_0x1bc31c(0xae)](null),_0x398c0b=await _0x1c4504[_0x1bc31c(0xab)](_0x184c73);return attachUpdateNotice(_0x398c0b,await _0x43cd31);}};}function shouldResolveUpdateNotice(_0x5790db){const _0x5149ac=a121_0x4cf3;return _0x5790db[_0x5149ac(0xce)]===_0x5149ac(0x9b)&&!_0x5790db[_0x5149ac(0x91)];}function attachUpdateNotice(_0x7a9b37,_0x3a55d7){const _0x3f4e1e=a121_0x4cf3;if(!_0x3a55d7||!_0x7a9b37||typeof _0x7a9b37!==_0x3f4e1e(0x94))return _0x7a9b37;const _0x4e097d=_0x7a9b37,_0x373e2e=typeof _0x4e097d[_0x3f4e1e(0xa3)]===_0x3f4e1e(0x94)&&_0x4e097d[_0x3f4e1e(0xa3)]!==null?_0x4e097d['_notice']:{};return{..._0x4e097d,'_notice':{..._0x373e2e,'update':_0x3a55d7}};}
|
|
1
|
+
(function(_0x34c104,_0xc1a8dc){const _0x32ebf4=a121_0x18b4,_0xfa713a=_0x34c104();while(!![]){try{const _0x3487c6=-parseInt(_0x32ebf4(0x179))/0x1+-parseInt(_0x32ebf4(0x175))/0x2+parseInt(_0x32ebf4(0x188))/0x3*(parseInt(_0x32ebf4(0x189))/0x4)+parseInt(_0x32ebf4(0x178))/0x5+-parseInt(_0x32ebf4(0x190))/0x6+-parseInt(_0x32ebf4(0x17a))/0x7*(-parseInt(_0x32ebf4(0x180))/0x8)+parseInt(_0x32ebf4(0x19e))/0x9*(parseInt(_0x32ebf4(0x19d))/0xa);if(_0x3487c6===_0xc1a8dc)break;else _0xfa713a['push'](_0xfa713a['shift']());}catch(_0x433532){_0xfa713a['push'](_0xfa713a['shift']());}}}(a121_0x47b6,0xa467d));import{runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';function a121_0x47b6(){const _0x2a623a=['../commands/app/remote-source.js','appcode\x20\x22','Unknown\x20app:\x20','4994676uymbTq','../core/api-client.js','update','risk','catch','runtimeDomain','service','../core/sdk-client.js','doctor','apiDomain','Set\x20accessKey\x20in\x20','.appcode\x20to\x20','error','6135330lmTDBQ','9iSJrAg','appCodeSource','cancelled','requiresAuth','app','configMissing','mergedCli','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.\x0a','string','requiresAppCode','currentApp','ACCESS_KEY','command','nativeToolRequired','defaultApp','defaultVerbose','pageSize','trim','format','install','isNonInteractive','cli-skill','nonInteractive','object','validation','name','_notice','1978262rHQhlb','Set\x20appcode\x20via\x20--appcode\x20or\x20in\x20','Run\x20`','6498415REJHcy','926545hZuWZv','665119BHcbDs','APPCODE','riskLevel','resolve','appcode','env','64kPJakA','production','items','confirmHighRisk','appCode','newConfigFileName','rawFlags','High-risk\x20operation\x20`','3SMnFaw','2992700ScYePM','accessKey','map','\x20\x20To\x20proceed:\x20'];a121_0x47b6=function(){return _0x2a623a;};return a121_0x47b6();}import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{PRODUCT_CONFIG,productEnv,productEnvName}from'../constant/product.js';import{isNonInteractiveMode,readAppCodeFromConfig}from'../context.js';import{AUTH_MODE}from'../constant/auth-mode.js';import{getApiDomain,getRuntimeDomain}from'../constant/domain.js';import{buildConfirmationLines,reconstructCommandArgv}from'../framework/runner-confirmation.js';import{mapUserFacingExecuteError}from'../framework/runner-error.js';import{assertKnownCommandFlags}from'../framework/raw-flags.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';import{assertCliVersionSupported,checkCliVersion}from'../utils/cli-version-check.js';import{findAppByCode,findAppByName,isRuntimeAccessibleApp,runtimeInaccessibleAppError}from'../commands/app/eligibility.js';export function resolveAuthMode(_0x189efd){return void _0x189efd,AUTH_MODE['ClientAk'];}let sdkClientInitialized=![];export function createPipelineEnv(_0x40ffbd,_0x423058){const _0x5ba0c5=a121_0x18b4,_0x3b58df=typeof _0x423058[_0x5ba0c5(0x15e)]==='string'&&_0x423058['app'][_0x5ba0c5(0x16b)]();return{'rawFlags':_0x423058,'appCode':_0x40ffbd[_0x5ba0c5(0x184)]||productEnv(_0x5ba0c5(0x17b))||(_0x3b58df?undefined:readAppCodeFromConfig()),'appCodeSource':_0x40ffbd['appCodeSource'],'apiDomain':getApiDomain(),'runtimeDomain':getRuntimeDomain(),'isNonInteractive':isNonInteractiveMode(_0x423058),'defaultFormat':_0x40ffbd['format'],'defaultPageSize':_0x40ffbd[_0x5ba0c5(0x16a)],'defaultVerbose':_0x40ffbd['verbose'],'riskLevel':_0x40ffbd[_0x5ba0c5(0x17c)],'nativeToolAvailable':_0x40ffbd['nativeToolAvailable'],'accessKey':_0x40ffbd[_0x5ba0c5(0x18a)],'env':_0x40ffbd[_0x5ba0c5(0x17f)],'mergedCli':{'defaultApp':_0x40ffbd[_0x5ba0c5(0x168)],'currentApp':_0x40ffbd[_0x5ba0c5(0x164)],'appCode':_0x40ffbd[_0x5ba0c5(0x184)]}};}export function createLovrabetRunnerAdapter(_0x502692={}){const _0x2f5c5d=a121_0x18b4,_0x12757c={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS['filter'](_0x44008a=>PIPELINE_FLAG_NAMES['has'](_0x44008a[_0x2f5c5d(0x173)]))[_0x2f5c5d(0x18b)](({name:_0x4403c6,type:_0x23a1f9,description:_0x503383})=>({'name':_0x4403c6,'type':_0x23a1f9,'description':_0x503383})),'formatOutput':_0x502692['formatOutput']??formatOutput,'getCommandLabel'(_0x3db1ff){return CLI_BIN_NAME+'\x20'+_0x3db1ff['service']+'\x20'+_0x3db1ff['command'];},'riskPolicy':{'onViolation'(_0x213579,{def:_0x3d5080,env:_0x2a507c}){const _0x4e3f10=_0x2f5c5d;if(shouldRouteWriteToNativeTool(_0x3d5080,_0x2a507c))return;console[_0x4e3f10(0x19c)](_0x213579);},'createError'(_0x328458,{def:_0x33bdd5,env:_0x1e99f8}){const _0x49d2c2=_0x2f5c5d;if(shouldRouteWriteToNativeTool(_0x33bdd5,_0x1e99f8))return CliErrors[_0x49d2c2(0x167)](CLI_BIN_NAME+'\x20'+_0x33bdd5[_0x49d2c2(0x196)]+'\x20'+_0x33bdd5[_0x49d2c2(0x166)]);return CliErrors[_0x49d2c2(0x1a0)](_0x328458);}},async 'prepare'(_0x1703d,_0xdae4c){const _0x2098a3=_0x2f5c5d,_0x536027=resolveAuthMode(_0xdae4c);if(_0x1703d[_0x2098a3(0x15d)]!==![]){if(!_0xdae4c[_0x2098a3(0x18a)])throw CliErrors['authRequired'](_0x2098a3(0x19a)+PRODUCT_CONFIG[_0x2098a3(0x185)]+'\x20or\x20pass\x20'+productEnvName(_0x2098a3(0x165))+'.');const {setActiveAK:_0x564c01}=await import(_0x2098a3(0x191));_0x564c01(_0xdae4c[_0x2098a3(0x18a)]);}let _0x5eb0e4='';if(_0x1703d[_0x2098a3(0x163)]!==![]){_0x5eb0e4=_0xdae4c[_0x2098a3(0x184)]??'',_0x5eb0e4=await resolveExplicitAppName(_0x1703d,_0xdae4c,_0x5eb0e4);if(!_0x5eb0e4){await assertSelectedAppNameIsRuntimeAccessible(_0x1703d,_0xdae4c);throw CliErrors[_0x2098a3(0x15f)](_0x2098a3(0x176)+PRODUCT_CONFIG[_0x2098a3(0x185)]+'.');}await assertAppCodeIsRuntimeAccessible(_0x1703d,_0xdae4c,_0x5eb0e4);}if(_0x5eb0e4){const {initSdkClient:_0x1a33d3}=await import(_0x2098a3(0x197));_0x1a33d3({'appCode':_0x5eb0e4,'env':_0xdae4c[_0x2098a3(0x17f)]??_0x2098a3(0x181),'runtimeDomain':_0xdae4c[_0x2098a3(0x195)],'accessKey':_0xdae4c[_0x2098a3(0x18a)],'authMode':_0x536027}),sdkClientInitialized=!![];}return{'defaults':{'booleans':{'verbose':_0xdae4c[_0x2098a3(0x169)]},'numbers':{'pagesize':_0xdae4c['defaultPageSize']}},'extras':{'appCode':_0x5eb0e4,'cookie':'','apiDomain':_0xdae4c[_0x2098a3(0x199)],'apiDir':'','accessKey':_0xdae4c[_0x2098a3(0x18a)],'envName':_0xdae4c[_0x2098a3(0x17f)],'mergedCli':_0xdae4c[_0x2098a3(0x160)]}};},'confirmHighRisk':_0x502692[_0x2f5c5d(0x183)]??(async({def:_0x4733ff,env:_0x38126d,flags:_0x510f69,commandLabel:_0x19c73d})=>{const _0x447fab=_0x2f5c5d;if(_0x38126d[_0x447fab(0x16e)]){const _0x54d42f=reconstructCommandArgv(_0x4733ff,_0x510f69);throw CliErrors['validation'](_0x447fab(0x187)+_0x19c73d+_0x447fab(0x161)+(_0x447fab(0x18c)+_0x54d42f));}await requireConfirmationPrompt({'lines':buildConfirmationLines(_0x4733ff,_0x19c73d,_0x510f69),'createCancelledError':_0x103498=>CliErrors[_0x447fab(0x1a0)](_0x103498)});}),'mapDryRunError'(_0x1da4e2){return mapUserFacingExecuteError(_0x1da4e2);},'mapExecuteError'(_0x33285b){return mapUserFacingExecuteError(_0x33285b);},async 'finalize'(){await finalizeLovrabetRuntimeState();}};return _0x12757c;}function a121_0x18b4(_0x3588c4,_0x246060){_0x3588c4=_0x3588c4-0x15d;const _0x47b6dd=a121_0x47b6();let _0x18b4c3=_0x47b6dd[_0x3588c4];return _0x18b4c3;}function shouldRouteWriteToNativeTool(_0x39a1fa,_0x5b9381){const _0x4e1a38=a121_0x18b4;return _0x5b9381['nativeToolAvailable']===!![]&&(_0x39a1fa['risk']==='write'||_0x39a1fa[_0x4e1a38(0x193)]==='high-risk-write');}const terminalRunnerAdapter=createLovrabetRunnerAdapter();export async function finalizeLovrabetRuntimeState(){const _0x23d163=a121_0x18b4;try{if(sdkClientInitialized){const {clearSdkClient:_0x390fbb}=await import('../core/sdk-client.js');_0x390fbb();}}finally{sdkClientInitialized=![];const {clearActiveAK:_0x280699}=await import(_0x23d163(0x191));_0x280699();}}async function resolveExplicitAppName(_0x3b85c2,_0x4adf40,_0x37fa37){const _0x336546=a121_0x18b4;if(_0x3b85c2[_0x336546(0x163)]===![])return _0x37fa37;const _0x3b56e3=typeof _0x4adf40['rawFlags'][_0x336546(0x15e)]===_0x336546(0x162)?_0x4adf40[_0x336546(0x186)][_0x336546(0x15e)][_0x336546(0x16b)]():'';if(!_0x3b56e3)return _0x37fa37;const _0xaafaa=typeof _0x4adf40[_0x336546(0x186)][_0x336546(0x17e)]==='string'&&_0x4adf40['rawFlags']['appcode']['trim']()||productEnv('APPCODE');if(_0xaafaa||_0x4adf40[_0x336546(0x19f)]==='local-alias')return _0x37fa37;const {getRemoteAppList:_0x35fa2e}=await import('../commands/app/remote-source.js'),_0x5ac894=await _0x35fa2e({'env':_0x4adf40[_0x336546(0x17f)]??_0x336546(0x181),'accessKey':_0x4adf40[_0x336546(0x18a)]}),_0x1b59a2=findAppByName(_0x5ac894[_0x336546(0x182)],_0x3b56e3);if(_0x1b59a2&&!isRuntimeAccessibleApp(_0x1b59a2))throw runtimeInaccessibleAppError(_0x1b59a2,'\x22'+_0x3b56e3+'\x22');const _0x53b197=_0x1b59a2?.['appCode']?.[_0x336546(0x16b)]();if(_0x53b197)return _0x53b197;throw CliErrors[_0x336546(0x172)](_0x336546(0x18f)+_0x3b56e3,_0x336546(0x177)+CLI_BIN_NAME+'\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20add\x20apps.'+_0x3b56e3+_0x336546(0x19b)+PRODUCT_CONFIG['newConfigFileName']+'.');}async function assertSelectedAppNameIsRuntimeAccessible(_0x20c80e,_0x12d0fe){const _0x6ff2a1=a121_0x18b4;if(_0x20c80e[_0x6ff2a1(0x163)]===![]||!_0x12d0fe[_0x6ff2a1(0x18a)])return;const _0x1fb8d0=(typeof _0x12d0fe[_0x6ff2a1(0x186)]['app']===_0x6ff2a1(0x162)&&_0x12d0fe['rawFlags'][_0x6ff2a1(0x15e)][_0x6ff2a1(0x16b)]()?_0x12d0fe['rawFlags'][_0x6ff2a1(0x15e)]:_0x12d0fe[_0x6ff2a1(0x160)]?.[_0x6ff2a1(0x164)]??_0x12d0fe[_0x6ff2a1(0x160)]?.['defaultApp'])?.['trim']();if(!_0x1fb8d0)return;const {getRemoteAppList:_0xcf800e}=await import(_0x6ff2a1(0x18d)),_0x415b7f=await _0xcf800e({'env':_0x12d0fe[_0x6ff2a1(0x17f)]??_0x6ff2a1(0x181),'accessKey':_0x12d0fe[_0x6ff2a1(0x18a)]}),_0x26d430=findAppByName(_0x415b7f[_0x6ff2a1(0x182)],_0x1fb8d0);if(_0x26d430&&!isRuntimeAccessibleApp(_0x26d430))throw runtimeInaccessibleAppError(_0x26d430,'\x22'+_0x1fb8d0+'\x22');}async function assertAppCodeIsRuntimeAccessible(_0x47d344,_0x49459f,_0x3bee5d){const _0x1aafca=a121_0x18b4;if(_0x47d344[_0x1aafca(0x163)]===![]||!_0x49459f[_0x1aafca(0x18a)])return;const {getRemoteAppList:_0x579593}=await import('../commands/app/remote-source.js'),_0x2296b6=await _0x579593({'env':_0x49459f[_0x1aafca(0x17f)]??'production','accessKey':_0x49459f[_0x1aafca(0x18a)]}),_0x2459e2=findAppByCode(_0x2296b6[_0x1aafca(0x182)],_0x3bee5d);if(_0x2459e2&&!isRuntimeAccessibleApp(_0x2459e2))throw runtimeInaccessibleAppError(_0x2459e2,_0x1aafca(0x18e)+_0x3bee5d+'\x22');}export async function runCommand(_0x530093,_0x4a9ae5,_0x13ff36=terminalRunnerAdapter){const _0x350558=a121_0x18b4;assertKnownCommandFlags(_0x530093,_0x4a9ae5[_0x350558(0x186)]),await runCommandWithAdapter(shouldApplyVersionPolicy(_0x530093)?withVersionPolicy(_0x530093):_0x530093,_0x4a9ae5,_0x13ff36);}function shouldApplyVersionPolicy(_0x415715){const _0x353728=a121_0x18b4;if([_0x353728(0x192),'schema',_0x353728(0x198)]['includes'](_0x415715[_0x353728(0x196)]))return![];return!(_0x415715[_0x353728(0x196)]===_0x353728(0x16f)&&_0x415715[_0x353728(0x166)]===_0x353728(0x16d));}function withVersionPolicy(_0x1de18c){return{..._0x1de18c,async 'execute'(_0x412c0b){const _0x5791f0=a121_0x18b4,_0x304bc1=await checkCliVersion();assertCliVersionSupported(_0x304bc1);const _0xd41660=shouldResolveUpdateNotice(_0x412c0b)?resolveLatestUpdateNotice(_0x304bc1)[_0x5791f0(0x194)](()=>null):Promise[_0x5791f0(0x17d)](null),_0xb14c52=await _0x1de18c['execute'](_0x412c0b);return attachUpdateNotice(_0xb14c52,await _0xd41660);}};}function shouldResolveUpdateNotice(_0x417828){const _0x20723f=a121_0x18b4;return _0x417828[_0x20723f(0x16c)]==='pretty'&&!_0x417828[_0x20723f(0x170)];}function attachUpdateNotice(_0x483fa6,_0x1dcde0){const _0x381f2f=a121_0x18b4;if(!_0x1dcde0||!_0x483fa6||typeof _0x483fa6!==_0x381f2f(0x171))return _0x483fa6;const _0x3cc7b9=_0x483fa6,_0xccbc42=typeof _0x3cc7b9[_0x381f2f(0x174)]===_0x381f2f(0x171)&&_0x3cc7b9[_0x381f2f(0x174)]!==null?_0x3cc7b9['_notice']:{};return{..._0x3cc7b9,'_notice':{..._0xccbc42,'update':_0x1dcde0}};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x4d3653,_0x38b0a5){const _0x3892eb=a122_0x5d39,_0x3d0ebd=_0x4d3653();while(!![]){try{const _0x56e70f=parseInt(_0x3892eb(0xfd))/0x1+parseInt(_0x3892eb(0xf9))/0x2+-parseInt(_0x3892eb(0xf2))/0x3*(parseInt(_0x3892eb(0xf1))/0x4)+-parseInt(_0x3892eb(0x103))/0x5*(parseInt(_0x3892eb(0x101))/0x6)+parseInt(_0x3892eb(0xf4))/0x7+-parseInt(_0x3892eb(0xfb))/0x8*(parseInt(_0x3892eb(0xf6))/0x9)+-parseInt(_0x3892eb(0xfc))/0xa;if(_0x56e70f===_0x38b0a5)break;else _0x3d0ebd['push'](_0x3d0ebd['shift']());}catch(_0x7eb9b){_0x3d0ebd['push'](_0x3d0ebd['shift']());}}}(a122_0x2f7f,0x1dfd1));import{buildSchemaPayload as a122_0x768d85}from'@lovrabet/cli-framework';function a122_0x5d39(_0xb723ce,_0x5c93ad){_0xb723ce=_0xb723ce-0xf0;const _0x2f7f1e=a122_0x2f7f();let _0x5d3943=_0x2f7f1e[_0xb723ce];return _0x5d3943;}import{buildAllFlags}from'../framework/build-all-flags.js';import{findDynamicServiceDefinition,listDynamicServiceEntries}from'../commands/service/dynamic.js';import{insertDynamicServicesAfterServiceTree}from'../framework/service-order.js';function a122_0x2f7f(){const _0x21ce40=['142452xQuekS','filter','760eCXVXC','226210uCKBwv','221119kJZroo','commands','services','required','73158uyqDlI','map','35Ptylvm','auth','none','1684qbPOoE','1188JNeaPt','service','1383277pcuYAF','../commands/registry.js','8757tSPYIf','requiresAuth','has'];a122_0x2f7f=function(){return _0x21ce40;};return a122_0x2f7f();}import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliGitCommit,getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x147530=a122_0x5d39,{serviceRegistry:_0xd5af1d,findDefinition:_0x409dc2}=await import(_0x147530(0xf5)),_0xeb2c03=new Set(_0xd5af1d[_0x147530(0x102)](_0x4ee19b=>_0x4ee19b[_0x147530(0xf3)])),_0x4ab7b4=listDynamicServiceEntries()[_0x147530(0xfa)](_0x2b11db=>!_0xeb2c03[_0x147530(0xf8)](_0x2b11db[_0x147530(0xf3)])),_0xeb5e8b=a122_0x768d85({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':getCliGitCommit(),'globalFlags':GLOBAL_FLAGS,'serviceRegistry':insertDynamicServicesAfterServiceTree(_0xd5af1d,_0x4ab7b4),'buildAllFlags':buildAllFlags,'findDefinition':(_0x392efe,_0x29db51)=>_0x409dc2(_0x392efe,_0x29db51)??findDynamicServiceDefinition(_0x392efe,_0x29db51)});return normalizeSchemaPayload(_0xeb5e8b);}function normalizeSchemaPayload(_0x55b7be){const _0x199130=a122_0x5d39;return{..._0x55b7be,'schemaVersion':0x2,'services':_0x55b7be[_0x199130(0xff)][_0x199130(0x102)](_0x333da2=>({..._0x333da2,'commands':_0x333da2[_0x199130(0xfe)][_0x199130(0x102)](normalizeSchemaCommand)}))};}function normalizeSchemaCommand(_0x4068ea){const _0x29ee2e=a122_0x5d39,_0x221897=_0x4068ea;return{..._0x4068ea,'auth':_0x221897[_0x29ee2e(0x104)]??(_0x4068ea[_0x29ee2e(0xf7)]?_0x29ee2e(0x100):_0x29ee2e(0xf0))};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a123_0x3157(_0x14c8d7,_0x79fb6c){_0x14c8d7=_0x14c8d7-0x1e9;const _0x346bdc=a123_0x346b();let _0x3157ea=_0x346bdc[_0x14c8d7];return _0x3157ea;}(function(_0x361c34,_0x30c004){const _0x43e68b=a123_0x3157,_0x7bb71a=_0x361c34();while(!![]){try{const _0x552cda=-parseInt(_0x43e68b(0x1f0))/0x1+parseInt(_0x43e68b(0x1eb))/0x2+parseInt(_0x43e68b(0x1ef))/0x3+-parseInt(_0x43e68b(0x1ee))/0x4*(-parseInt(_0x43e68b(0x1f2))/0x5)+-parseInt(_0x43e68b(0x1f4))/0x6+parseInt(_0x43e68b(0x1f5))/0x7+parseInt(_0x43e68b(0x1ed))/0x8*(-parseInt(_0x43e68b(0x1e9))/0x9);if(_0x552cda===_0x30c004)break;else _0x7bb71a['push'](_0x7bb71a['shift']());}catch(_0x370cc6){_0x7bb71a['push'](_0x7bb71a['shift']());}}}(a123_0x346b,0x822f3));function a123_0x346b(){const _0x3a81af=['645788SySrGH','service','6005HJBQly','findIndex','4350768qBthzP','6180202UfHZkg','11745234XnoeKT','slice','1048542cWByBH','length','8zKCFqp','2996HQnxIq','2707413hFaAdV'];a123_0x346b=function(){return _0x3a81af;};return a123_0x346b();}export function insertDynamicServicesAfterServiceTree(_0x4468b0,_0x109515){const _0x286860=a123_0x3157;if(_0x109515[_0x286860(0x1ec)]===0x0)return[..._0x4468b0];const _0x43b4bb=_0x4468b0[_0x286860(0x1f3)](_0x2e7187=>_0x2e7187[_0x286860(0x1f1)]==='service');if(_0x43b4bb<0x0)return[..._0x4468b0,..._0x109515];return[..._0x4468b0['slice'](0x0,_0x43b4bb+0x1),..._0x109515,..._0x4468b0[_0x286860(0x1ea)](_0x43b4bb+0x1)];}
|
package/lib/framework/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x12382d,_0x1128ab){var _0x1b5c75=a124_0x7ce2,_0x1d8032=_0x12382d();while(!![]){try{var _0x3fe7ba=-parseInt(_0x1b5c75(0xdc))/0x1+-parseInt(_0x1b5c75(0xe0))/0x2+-parseInt(_0x1b5c75(0xdd))/0x3*(parseInt(_0x1b5c75(0xdf))/0x4)+parseInt(_0x1b5c75(0xde))/0x5+parseInt(_0x1b5c75(0xe2))/0x6+-parseInt(_0x1b5c75(0xdb))/0x7+-parseInt(_0x1b5c75(0xe1))/0x8*(-parseInt(_0x1b5c75(0xe3))/0x9);if(_0x3fe7ba===_0x1128ab)break;else _0x1d8032['push'](_0x1d8032['shift']());}catch(_0x27f2c2){_0x1d8032['push'](_0x1d8032['shift']());}}}(a124_0xc239,0xdc7c9));function a124_0x7ce2(_0x48be33,_0x45c523){_0x48be33=_0x48be33-0xdb;var _0xc239e1=a124_0xc239();var _0x7ce208=_0xc239e1[_0x48be33];return _0x7ce208;}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';function a124_0xc239(){var _0x5529ed=['9ZTIrJz','6796146zHoiBb','799496xuWTll','1322865UzvEzT','3211150tElPca','12rcfutM','2438238vzfpvT','28073600jUjJQq','6384246PxUzyK'];a124_0xc239=function(){return _0x5529ed;};return a124_0xc239();}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const VERSION = "2.3.
|
|
2
|
-
export declare const GIT_TAG = "v2.3.
|
|
3
|
-
export declare const GIT_COMMIT = "
|
|
4
|
-
export declare const BUILD_TIME = "2026-09-
|
|
1
|
+
export declare const VERSION = "2.3.4-beta.2";
|
|
2
|
+
export declare const GIT_TAG = "v2.3.4-beta.2";
|
|
3
|
+
export declare const GIT_COMMIT = "2d31e72";
|
|
4
|
+
export declare const BUILD_TIME = "2026-09-21T09:45:58.127Z";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a125_0x59ff17=a125_0x2737;function a125_0x2737(_0x1c13ba,_0x1ab8a4){_0x1c13ba=_0x1c13ba-0x1c7;const _0x28caf3=a125_0x28ca();let _0x273798=_0x28caf3[_0x1c13ba];return _0x273798;}(function(_0x2c51b3,_0xcd8681){const _0x4b8aca=a125_0x2737,_0xbd91b9=_0x2c51b3();while(!![]){try{const _0x46e46c=-parseInt(_0x4b8aca(0x1d2))/0x1+parseInt(_0x4b8aca(0x1cc))/0x2*(-parseInt(_0x4b8aca(0x1ce))/0x3)+-parseInt(_0x4b8aca(0x1ca))/0x4*(parseInt(_0x4b8aca(0x1cb))/0x5)+parseInt(_0x4b8aca(0x1d3))/0x6*(parseInt(_0x4b8aca(0x1c7))/0x7)+parseInt(_0x4b8aca(0x1c8))/0x8*(parseInt(_0x4b8aca(0x1d1))/0x9)+parseInt(_0x4b8aca(0x1c9))/0xa+parseInt(_0x4b8aca(0x1d0))/0xb;if(_0x46e46c===_0xcd8681)break;else _0xbd91b9['push'](_0xbd91b9['shift']());}catch(_0x1c7e2a){_0xbd91b9['push'](_0xbd91b9['shift']());}}}(a125_0x28ca,0x1bf04));export const VERSION=a125_0x59ff17(0x1cf);export const GIT_TAG='v2.3.4-beta.2';export const GIT_COMMIT=a125_0x59ff17(0x1d4);function a125_0x28ca(){const _0x4804ff=['76077YvakqK','206740ZrOcFc','6SQUhGd','2d31e72','864647MypLDK','40msGcNh','402100ulMybC','52cgYaTU','69380aXBADR','2kaVwCD','2026-09-21T09:45:58.127Z','227082MUYtTH','2.3.4-beta.2','4083882bjRvGT'];a125_0x28ca=function(){return _0x4804ff;};return a125_0x28ca();}export const BUILD_TIME=a125_0x59ff17(0x1cd);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare const ROUTING_CATALOG_DIGEST: "
|
|
1
|
+
export declare const ROUTING_CATALOG_DIGEST: "886843ef89aa4ff2b36d612e8fbd1b6c1840b37728916fba5699be34129ef579";
|
|
2
2
|
export declare const DEFAULT_REGION: "cn";
|
|
3
3
|
export declare const REGION_VALUES: readonly ["cn", "id", "global"];
|
|
4
|
-
export declare const ENABLED_REGION_VALUES: readonly ["cn", "id"];
|
|
4
|
+
export declare const ENABLED_REGION_VALUES: readonly ["cn", "id", "global"];
|
|
5
5
|
export declare const OFFICIAL_ROUTING_PROFILES: {
|
|
6
6
|
readonly cn: {
|
|
7
7
|
readonly enabled: true;
|
|
@@ -13,12 +13,14 @@ export declare const OFFICIAL_ROUTING_PROFILES: {
|
|
|
13
13
|
readonly api: "https://api.lovrabet.com";
|
|
14
14
|
readonly runtime: "https://runtime.lovrabet.com";
|
|
15
15
|
readonly skill: "https://skills.lovrabet.com";
|
|
16
|
+
readonly kbService: "https://kb-service.lovrabet.com";
|
|
16
17
|
};
|
|
17
18
|
readonly daily: {
|
|
18
19
|
readonly user: "https://user-daily.lovrabet.com";
|
|
19
20
|
readonly api: "https://daily-api.lovrabet.com";
|
|
20
21
|
readonly runtime: "https://daily-runtime.lovrabet.com";
|
|
21
22
|
readonly skill: "https://skills-daily.lovrabet.com";
|
|
23
|
+
readonly kbService: "https://kb-service-daily.lovrabet.com";
|
|
22
24
|
};
|
|
23
25
|
};
|
|
24
26
|
};
|
|
@@ -32,11 +34,12 @@ export declare const OFFICIAL_ROUTING_PROFILES: {
|
|
|
32
34
|
readonly api: "https://api.lovrabet.id";
|
|
33
35
|
readonly runtime: "https://runtime.lovrabet.id";
|
|
34
36
|
readonly skill: "https://skills.lovrabet.id";
|
|
37
|
+
readonly kbService: "https://kb-service.lovrabet.id";
|
|
35
38
|
};
|
|
36
39
|
};
|
|
37
40
|
};
|
|
38
41
|
readonly global: {
|
|
39
|
-
readonly enabled:
|
|
42
|
+
readonly enabled: true;
|
|
40
43
|
readonly label: "Global";
|
|
41
44
|
readonly aliases: readonly [];
|
|
42
45
|
readonly serviceDomains: {
|
|
@@ -46,6 +49,12 @@ export declare const OFFICIAL_ROUTING_PROFILES: {
|
|
|
46
49
|
readonly runtime: "https://runtime.lovrabet.ai";
|
|
47
50
|
readonly skill: "https://skills.lovrabet.ai";
|
|
48
51
|
};
|
|
52
|
+
readonly daily: {
|
|
53
|
+
readonly user: "https://user-daily.lovrabet.ai";
|
|
54
|
+
readonly api: "https://daily-api.lovrabet.ai";
|
|
55
|
+
readonly runtime: "https://daily-runtime.lovrabet.ai";
|
|
56
|
+
readonly skill: "https://skills-daily.lovrabet.ai";
|
|
57
|
+
};
|
|
49
58
|
};
|
|
50
59
|
};
|
|
51
60
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a126_0x10b1da=a126_0x4372;function a126_0x4372(_0x3c5e1c,_0x2f1c9b){_0x3c5e1c=_0x3c5e1c-0xf1;const _0x327ab0=a126_0x327a();let _0x4372e3=_0x327ab0[_0x3c5e1c];return _0x4372e3;}function a126_0x327a(){const _0x1a58fd=['424Dlbirf','https://daily-api.lovrabet.com','998320JFINIm','https://user.lovrabet.com','44640zhUeiX','https://skills.lovrabet.id','https://user.lovrabet.ai','162MPFftI','china','https://api.lovrabet.ai','https://skills-daily.lovrabet.ai','global','1728055Gmvzxb','Indonesia','159mdhVnW','1108340ILpSAx','https://skills-daily.lovrabet.com','https://api.lovrabet.id','https://user-daily.lovrabet.com','Global','indonesia','https://daily-runtime.lovrabet.com','https://runtime.lovrabet.com','1314297NOhPgd','457iUYjor','https://user-daily.lovrabet.ai','886843ef89aa4ff2b36d612e8fbd1b6c1840b37728916fba5699be34129ef579','https://daily-runtime.lovrabet.ai','https://user.lovrabet.id','https://kb-service-daily.lovrabet.com','5520lMdXmj','https://api.lovrabet.com','https://skills.lovrabet.com','https://skills.lovrabet.ai','https://runtime.lovrabet.ai','Mainland\x20China'];a126_0x327a=function(){return _0x1a58fd;};return a126_0x327a();}(function(_0x5af0ec,_0x3c4fe5){const _0x1bb52b=a126_0x4372,_0x456884=_0x5af0ec();while(!![]){try{const _0x30748e=-parseInt(_0x1bb52b(0xfb))/0x1*(-parseInt(_0x1bb52b(0x107))/0x2)+-parseInt(_0x1bb52b(0xf1))/0x3*(parseInt(_0x1bb52b(0x101))/0x4)+-parseInt(_0x1bb52b(0x10b))/0x5*(-parseInt(_0x1bb52b(0x10e))/0x6)+parseInt(_0x1bb52b(0x113))/0x7+-parseInt(_0x1bb52b(0x109))/0x8+-parseInt(_0x1bb52b(0xfa))/0x9+-parseInt(_0x1bb52b(0xf2))/0xa;if(_0x30748e===_0x3c4fe5)break;else _0x456884['push'](_0x456884['shift']());}catch(_0x5659a8){_0x456884['push'](_0x456884['shift']());}}}(a126_0x327a,0x1fbd8));export const ROUTING_CATALOG_DIGEST=a126_0x10b1da(0xfd);export const DEFAULT_REGION='cn';export const REGION_VALUES=['cn','id','global'];export const ENABLED_REGION_VALUES=['cn','id',a126_0x10b1da(0x112)];export const OFFICIAL_ROUTING_PROFILES={'cn':{'enabled':!![],'label':a126_0x10b1da(0x106),'aliases':[a126_0x10b1da(0x10f)],'serviceDomains':{'production':{'user':a126_0x10b1da(0x10a),'api':a126_0x10b1da(0x102),'runtime':a126_0x10b1da(0xf9),'skill':a126_0x10b1da(0x103),'kbService':'https://kb-service.lovrabet.com'},'daily':{'user':a126_0x10b1da(0xf5),'api':a126_0x10b1da(0x108),'runtime':a126_0x10b1da(0xf8),'skill':a126_0x10b1da(0xf3),'kbService':a126_0x10b1da(0x100)}}},'id':{'enabled':!![],'label':a126_0x10b1da(0x114),'aliases':[a126_0x10b1da(0xf7)],'serviceDomains':{'production':{'user':a126_0x10b1da(0xff),'api':a126_0x10b1da(0xf4),'runtime':'https://runtime.lovrabet.id','skill':a126_0x10b1da(0x10c),'kbService':'https://kb-service.lovrabet.id'}}},'global':{'enabled':!![],'label':a126_0x10b1da(0xf6),'aliases':[],'serviceDomains':{'production':{'user':a126_0x10b1da(0x10d),'api':a126_0x10b1da(0x110),'runtime':a126_0x10b1da(0x105),'skill':a126_0x10b1da(0x104)},'daily':{'user':a126_0x10b1da(0xfc),'api':'https://daily-api.lovrabet.ai','runtime':a126_0x10b1da(0xfe),'skill':a126_0x10b1da(0x111)}}}};export const REGION_ALIASES={'china':'cn','indonesia':'id'};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const ENTERPRISE_ROUTING_SCHEMA_DIGEST: "
|
|
1
|
+
export declare const ENTERPRISE_ROUTING_SCHEMA_DIGEST: "e3423cad71c22edb18a8481be7bdb733ff2d4136c31aa3ae6da56271e32cced7";
|
|
2
2
|
export declare const ENTERPRISE_ROUTING_PROTOCOL: "lovrabet-routing/v1";
|
|
3
3
|
export declare const ENTERPRISE_ROUTING_KIND: "enterprise";
|
|
4
|
-
export declare const ENTERPRISE_ROUTING_DOMAIN_FIELDS: readonly ["userDomain", "apiDomain", "runtimeDomain", "skillDomain"];
|
|
4
|
+
export declare const ENTERPRISE_ROUTING_DOMAIN_FIELDS: readonly ["userDomain", "apiDomain", "runtimeDomain", "skillDomain", "kbServiceDomain"];
|
|
5
5
|
export declare const REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS: readonly ["userDomain", "apiDomain", "runtimeDomain", "skillDomain"];
|