@lovrabet/lovrabet-cli 2.3.6-beta.3 → 2.3.7-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -11
- 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.js +1 -1
- package/lib/commands/config/shared.js +1 -1
- package/lib/commands/data/import-excel.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.js +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.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.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.d.ts +6 -6
- package/lib/core/api-client.js +1 -1
- package/lib/core/db-resolver.js +1 -1
- package/lib/core/kb-management-client.d.ts +5 -3
- package/lib/core/kb-management-client.js +1 -1
- package/lib/core/kb-search-client.d.ts +6 -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/access-error.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.js +1 -1
- 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/services/dataset-import/auto-id-runner.js +1 -1
- package/lib/services/dataset-import/excel-reader.js +1 -1
- package/lib/services/dataset-import/image-bytes.js +1 -1
- package/lib/services/dataset-import/image-ooxml.js +1 -1
- package/lib/services/dataset-import/image-runner.js +1 -1
- package/lib/services/dataset-import/metadata.js +1 -1
- package/lib/services/dataset-import/preview.js +1 -1
- package/lib/services/dataset-import/runner.js +1 -1
- package/lib/skills/builtin-skill.js +1 -1
- 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 +2 -2
- package/skills/lovrabet/references/lovrabet-kb-workflow.md +9 -5
- package/skills/lovrabet.manifest.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x308b6f,_0x5e380b){var _0x588d9c=a112_0xa607,_0x35cf0c=_0x308b6f();while(!![]){try{var _0x5ec7d7=parseInt(_0x588d9c(0xb4))/0x1*(parseInt(_0x588d9c(0xb9))/0x2)+parseInt(_0x588d9c(0xbb))/0x3+-parseInt(_0x588d9c(0xbd))/0x4+parseInt(_0x588d9c(0xba))/0x5+parseInt(_0x588d9c(0xb6))/0x6*(-parseInt(_0x588d9c(0xbe))/0x7)+parseInt(_0x588d9c(0xb5))/0x8*(-parseInt(_0x588d9c(0xb7))/0x9)+parseInt(_0x588d9c(0xbc))/0xa*(parseInt(_0x588d9c(0xb8))/0xb);if(_0x5ec7d7===_0x5e380b)break;else _0x35cf0c['push'](_0x35cf0c['shift']());}catch(_0x3b15d2){_0x35cf0c['push'](_0x35cf0c['shift']());}}}(a112_0x4e1b,0xdc2fe));import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';import{buildAllFlags as a112_0xe89c34}from'@lovrabet/cli-framework';export function buildAllFlags(_0x580154){return a112_0xe89c34(_0x580154,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});}function a112_0xa607(_0x35f865,_0x4fd79b){_0x35f865=_0x35f865-0xb4;var _0x4e1b27=a112_0x4e1b();var _0xa607e6=_0x4e1b27[_0x35f865];return _0xa607e6;}function a112_0x4e1b(){var _0x24c972=['7799ujcXBO','1988312erWzDg','2058000JhBtZt','1065384sIBxnv','14290sUlpWz','4362216cAQJgL','592529mdmpsN','1qxWvGk','5575664Orfgvh','6pXDnzJ','9lRSKld'];a112_0x4e1b=function(){return _0x24c972;};return a112_0x4e1b();}
|
package/lib/framework/dryrun.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x3dc8b9,_0x5b3a58){const _0x8222a8=a113_0x1cfd,_0x15cc39=_0x3dc8b9();while(!![]){try{const _0x11ff31=parseInt(_0x8222a8(0x1a3))/0x1+-parseInt(_0x8222a8(0x1ab))/0x2+-parseInt(_0x8222a8(0x1a6))/0x3*(parseInt(_0x8222a8(0x1a4))/0x4)+parseInt(_0x8222a8(0x1a0))/0x5*(parseInt(_0x8222a8(0x1a8))/0x6)+parseInt(_0x8222a8(0x1a1))/0x7*(parseInt(_0x8222a8(0x1a2))/0x8)+parseInt(_0x8222a8(0x1a5))/0x9*(parseInt(_0x8222a8(0x19f))/0xa)+-parseInt(_0x8222a8(0x1a9))/0xb;if(_0x11ff31===_0x5b3a58)break;else _0x15cc39['push'](_0x15cc39['shift']());}catch(_0x170c54){_0x15cc39['push'](_0x15cc39['shift']());}}}(a113_0x1f5a,0x8811d));export function dryRun(_0x18db2c,_0x9c4570){const _0x39353b={'method':_0x18db2c,'url':_0x9c4570},_0xd4199={'body'(_0x1ef42b){const _0x9d3fc8=a113_0x1cfd;return _0x39353b[_0x9d3fc8(0x1a7)]=_0x1ef42b,_0xd4199;},'description'(_0x59d26d){const _0x2060f8=a113_0x1cfd;return _0x39353b[_0x2060f8(0x1aa)]=_0x59d26d,_0xd4199;},'build'(){return{..._0x39353b};}};return _0xd4199;}function a113_0x1cfd(_0x4b4476,_0x3a2ece){_0x4b4476=_0x4b4476-0x19f;const _0x1f5ab4=a113_0x1f5a();let _0x1cfde2=_0x1f5ab4[_0x4b4476];return _0x1cfde2;}function a113_0x1f5a(){const _0x4bf0d2=['3183790CoJYgt','46790cQUOrV','362110ZUahnW','40uMdyuW','162256hZMbnq','493592AoqbUM','18KkutXV','12ANlWjM','body','378dpKyEm','6437893XGydkd','description','22044oHIyMj'];a113_0x1f5a=function(){return _0x4bf0d2;};return a113_0x1f5a();}
|
package/lib/framework/flags.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a114_0x4c0d(){const _0x3d4750=['1650224VrBelI','1605618eRxRTg','parseFlags','15LWlcQv','18NbURWP','413995oxmWxd','157140AuMpcC','validateFlags','181172OLJWfv','264691HncUhu','150336evicPd'];a114_0x4c0d=function(){return _0x3d4750;};return a114_0x4c0d();}const a114_0x1b832c=a114_0x4c6d;(function(_0x10b114,_0x278af9){const _0x15b7a5=a114_0x4c6d,_0x4f8c30=_0x10b114();while(!![]){try{const _0x41687f=-parseInt(_0x15b7a5(0xd4))/0x1+-parseInt(_0x15b7a5(0xdb))/0x2+-parseInt(_0x15b7a5(0xd8))/0x3*(-parseInt(_0x15b7a5(0xd2))/0x4)+parseInt(_0x15b7a5(0xda))/0x5+parseInt(_0x15b7a5(0xd9))/0x6*(parseInt(_0x15b7a5(0xd3))/0x7)+-parseInt(_0x15b7a5(0xd5))/0x8+parseInt(_0x15b7a5(0xd6))/0x9;if(_0x41687f===_0x278af9)break;else _0x4f8c30['push'](_0x4f8c30['shift']());}catch(_0x1402b7){_0x4f8c30['push'](_0x4f8c30['shift']());}}}(a114_0x4c0d,0x28821));import{createFlagHelpers}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);function a114_0x4c6d(_0x16630c,_0x39109b){_0x16630c=_0x16630c-0xd2;const _0x4c0d28=a114_0x4c0d();let _0x4c6d45=_0x4c0d28[_0x16630c];return _0x4c6d45;}export const parseFlags=helpers[a114_0x1b832c(0xd7)];export const validateFlags=helpers[a114_0x1b832c(0xdc)];
|
package/lib/framework/help.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a115_0x13ee(_0x327450,_0x256de5){_0x327450=_0x327450-0x113;const _0x55f6b8=a115_0x55f6();let _0x13ee4d=_0x55f6b8[_0x327450];return _0x13ee4d;}(function(_0x7d6bbf,_0x15a24d){const _0xdb49ef=a115_0x13ee,_0x2b34eb=_0x7d6bbf();while(!![]){try{const _0x2fe23d=parseInt(_0xdb49ef(0x120))/0x1+parseInt(_0xdb49ef(0x117))/0x2*(-parseInt(_0xdb49ef(0x11f))/0x3)+-parseInt(_0xdb49ef(0x11a))/0x4+parseInt(_0xdb49ef(0x123))/0x5+-parseInt(_0xdb49ef(0x11b))/0x6+parseInt(_0xdb49ef(0x121))/0x7*(parseInt(_0xdb49ef(0x118))/0x8)+parseInt(_0xdb49ef(0x11c))/0x9;if(_0x2fe23d===_0x15a24d)break;else _0x2b34eb['push'](_0x2b34eb['shift']());}catch(_0xd3dca){_0x2b34eb['push'](_0x2b34eb['shift']());}}}(a115_0x55f6,0x39797));import{createHelpGenerators}from'@lovrabet/cli-framework';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';import{PRODUCT_CONFIG}from'../constant/product.js';function createGenerators(){const _0x186da8=a115_0x13ee;return createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':insertDynamicServicesAfterServiceTree(serviceRegistry,safeListDynamicServiceEntries()),'getServiceEntry':getAnyServiceEntry,'getServiceDefinitions':getAnyServiceDefinitions,'buildAllFlags':buildAllFlags,'appPrerequisiteText':_0x186da8(0x115)+PRODUCT_CONFIG['newConfigFileName']+_0x186da8(0x113)});}export function generateCommandHelp(_0xfac492){const _0x5ce9c0=a115_0x13ee;return createGenerators()[_0x5ce9c0(0x114)](_0xfac492);}export function generateServiceHelp(_0x2199ea){return createGenerators()['generateServiceHelp'](_0x2199ea);}export function generateFullHelp(){const _0x3115a3=a115_0x13ee;return createGenerators()[_0x3115a3(0x116)]();}function getAnyServiceEntry(_0x478ba9){const _0x1c0ab8=getServiceEntry(_0x478ba9);if(_0x1c0ab8)return _0x1c0ab8;try{return getDynamicServiceEntry(_0x478ba9);}catch{return undefined;}}function getAnyServiceDefinitions(_0x39bc95){const _0x581989=a115_0x13ee,_0x2d2366=serviceGroups[_0x581989(0x122)](_0x39bc95);if(_0x2d2366)return _0x2d2366;try{return getDynamicServiceDefinitions(_0x39bc95);}catch{return undefined;}}function safeListDynamicServiceEntries(){const _0x391c85=a115_0x13ee,_0xddb0d4=new Set(serviceRegistry[_0x391c85(0x11d)](_0xbf5435=>_0xbf5435[_0x391c85(0x119)]));try{return listDynamicServiceEntries()['filter'](_0x229f6b=>!_0xddb0d4[_0x391c85(0x11e)](_0x229f6b[_0x391c85(0x119)]));}catch{return[];}}function a115_0x55f6(){const _0x48af5c=['8qwndrb','service','1562768SxVAAD','1730100uFDfXw','3833928xUHPkD','map','has','219wFVKXB','469542cgyqHI','1402541WjjwOa','get','288175dkfrBS','\x20or\x20--appcode).','generateCommandHelp','Requires\x20appcode\x20(set\x20via\x20','generateFullHelp','6550bIasCD'];a115_0x55f6=function(){return _0x48af5c;};return a115_0x55f6();}
|
package/lib/framework/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x169654,_0x137799){var _0x5f2ad2=a116_0x54b1,_0x865677=_0x169654();while(!![]){try{var _0x15e9d6=parseInt(_0x5f2ad2(0xf2))/0x1*(parseInt(_0x5f2ad2(0xf1))/0x2)+-parseInt(_0x5f2ad2(0xf7))/0x3+-parseInt(_0x5f2ad2(0xf6))/0x4+-parseInt(_0x5f2ad2(0xf0))/0x5*(-parseInt(_0x5f2ad2(0xf4))/0x6)+parseInt(_0x5f2ad2(0xf3))/0x7*(parseInt(_0x5f2ad2(0xf8))/0x8)+-parseInt(_0x5f2ad2(0xf5))/0x9+parseInt(_0x5f2ad2(0xef))/0xa;if(_0x15e9d6===_0x137799)break;else _0x865677['push'](_0x865677['shift']());}catch(_0x3e8844){_0x865677['push'](_0x865677['shift']());}}}(a116_0x26ea,0xd7559));function a116_0x54b1(_0x19ffe0,_0xdfc6ab){_0x19ffe0=_0x19ffe0-0xef;var _0x26eaaa=a116_0x26ea();var _0x54b1db=_0x26eaaa[_0x19ffe0];return _0x54b1db;}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';export{dryRun}from'../framework/dryrun.js';function a116_0x26ea(){var _0x4f82ef=['4051623VBLnEi','8iAClbo','5484690IWYAAJ','1625395ZqJCVH','398yYQWQh','6878ilGczj','614579eVHDYH','24YKzpee','5129091hdvRUI','2011420OuIXCZ'];a116_0x26ea=function(){return _0x4f82ef;};return a116_0x26ea();}export{riskLevelOrder,isValidFormat}from'../framework/types.js';
|
package/lib/framework/output.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x14e57f,_0x27c711){const _0x5e57f8=a117_0x559b,_0xd3685a=_0x14e57f();while(!![]){try{const _0x2165ac=-parseInt(_0x5e57f8(0x16e))/0x1*(-parseInt(_0x5e57f8(0x16c))/0x2)+-parseInt(_0x5e57f8(0x175))/0x3*(-parseInt(_0x5e57f8(0x167))/0x4)+parseInt(_0x5e57f8(0x16f))/0x5+-parseInt(_0x5e57f8(0x16a))/0x6+parseInt(_0x5e57f8(0x16d))/0x7*(parseInt(_0x5e57f8(0x168))/0x8)+-parseInt(_0x5e57f8(0x169))/0x9*(-parseInt(_0x5e57f8(0x170))/0xa)+-parseInt(_0x5e57f8(0x173))/0xb*(parseInt(_0x5e57f8(0x166))/0xc);if(_0x2165ac===_0x27c711)break;else _0xd3685a['push'](_0xd3685a['shift']());}catch(_0x45893b){_0xd3685a['push'](_0xd3685a['shift']());}}}(a117_0x58e0,0x4d03f));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a117_0x58e0(){const _0x1ca3c0=['72976rAJtsv','54aLaDnx','3100626fsuOIN','error','586xVbERw','42NlNXGf','1119mXdPwU','1004000yfnicw','684680NmXKWT','message','update','6628281KbeDTy','_notice','132177poCAvb','pretty','12oFhNIn','40eJcRVO'];a117_0x58e0=function(){return _0x1ca3c0;};return a117_0x58e0();}const baseFormatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});export function formatOutput(_0x47556f,_0x4c59cf){const _0x300b2e=a117_0x559b,_0x4e0674=_0x47556f[_0x300b2e(0x174)],{_notice:_0x186fb7,..._0x4cf684}=_0x47556f;void _0x186fb7,baseFormatOutput(_0x4cf684,_0x4c59cf),_0x4c59cf['format']===_0x300b2e(0x176)&&printPrettyNotice(_0x4e0674);}function a117_0x559b(_0x34425a,_0x53a615){_0x34425a=_0x34425a-0x166;const _0x58e008=a117_0x58e0();let _0x559bec=_0x58e008[_0x34425a];return _0x559bec;}function printPrettyNotice(_0x338bde){const _0x548bea=a117_0x559b;if(!_0x338bde?.[_0x548bea(0x172)])return;console[_0x548bea(0x16b)](_0x338bde['update'][_0x548bea(0x171)]+'\x20('+_0x338bde[_0x548bea(0x172)]['url']+')');}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x271555,_0xf9cd41){const _0x52a371=a118_0x4fba,_0x506d4b=_0x271555();while(!![]){try{const _0x21798e=-parseInt(_0x52a371(0xb4))/0x1*(parseInt(_0x52a371(0x9e))/0x2)+parseInt(_0x52a371(0xa5))/0x3+-parseInt(_0x52a371(0xbb))/0x4*(parseInt(_0x52a371(0xb3))/0x5)+-parseInt(_0x52a371(0xa6))/0x6+-parseInt(_0x52a371(0xae))/0x7+parseInt(_0x52a371(0xba))/0x8*(-parseInt(_0x52a371(0xa1))/0x9)+parseInt(_0x52a371(0xbe))/0xa;if(_0x21798e===_0xf9cd41)break;else _0x506d4b['push'](_0x506d4b['shift']());}catch(_0x1ca817){_0x506d4b['push'](_0x506d4b['shift']());}}}(a118_0x4e02,0x29f20));export function toKebab(_0x4d5524){const _0x5c1262=a118_0x4fba;return _0x4d5524[_0x5c1262(0xb8)](/_/g,'-')[_0x5c1262(0xb8)](/-([A-Z]+)/g,(_0x52bff2,_0x3ba842)=>'-'+_0x3ba842[_0x5c1262(0xbd)]())[_0x5c1262(0xb8)](/([a-z0-9])([A-Z])/g,(_0x2a5f7e,_0x1488ee,_0x57f4b8)=>_0x1488ee+'-'+_0x57f4b8)['toLowerCase']();}function buildKnownFlags(_0x696688){const _0x3e888d=a118_0x4fba,_0x5d7f01=new Set();for(const _0xeb78f2 of _0x696688){_0x5d7f01[_0x3e888d(0x9d)](_0xeb78f2['name']),_0x5d7f01[_0x3e888d(0x9d)](toCamelCase(_0xeb78f2[_0x3e888d(0xb1)]));}for(const _0x11dc20 of['dry-run',_0x3e888d(0xbc),'yes','format']){_0x5d7f01['add'](_0x11dc20);}for(const _0xd340cb of[_0x3e888d(0xa0),_0x3e888d(0xb0),_0x3e888d(0xac),_0x3e888d(0xbf),_0x3e888d(0xc2),_0x3e888d(0x9f),'ci',_0x3e888d(0xc0),_0x3e888d(0xaa)]){_0x5d7f01[_0x3e888d(0x9d)](_0xd340cb);}return _0x5d7f01;}function a118_0x4fba(_0x3ffd9f,_0x4d20ae){_0x3ffd9f=_0x3ffd9f-0x9b;const _0x4e0259=a118_0x4e02();let _0x4fba=_0x4e0259[_0x3ffd9f];return _0x4fba;}function a118_0x4e02(){const _0x4d6cee=['replace','number','416KbPgYu','4vaVzxS','dryRun','toLowerCase','10139030XmHbcN','app','global','toUpperCase','nonInteractive','indexOf','keys','add','49314rMZCiZ','non-interactive','help','41418kGvFdb','string','alias','entries','140373zUlsNq','1882686OWbvOf','push','corrected','boolean','version','get','appcode','type','1985067rgdytf','original','env','name','set','14530uDBJAA','2GGiaKW','has','slice','sticky'];a118_0x4e02=function(){return _0x4d6cee;};return a118_0x4e02();}function buildFlagTypeMap(_0x6a3d2a){const _0x196115=a118_0x4fba,_0x1d1f0d=new Map();for(const _0x45fbe4 of _0x6a3d2a){_0x1d1f0d['set'](_0x45fbe4[_0x196115(0xb1)],_0x45fbe4[_0x196115(0xad)]),_0x1d1f0d[_0x196115(0xb2)](toCamelCase(_0x45fbe4[_0x196115(0xb1)]),_0x45fbe4[_0x196115(0xad)]);}return _0x1d1f0d;}function toCamelCase(_0x1cfcd0){const _0x3ad27f=a118_0x4fba;return _0x1cfcd0['replace'](/-([a-z])/g,(_0x3ae749,_0x16afc8)=>_0x16afc8[_0x3ad27f(0xc1)]());}function aliasHandler(_0x1742fd,_0x190740){const _0xa34d6a=a118_0x4fba,_0x15fba8=[];for(const _0x51f0b1 of Object[_0xa34d6a(0x9c)](_0x1742fd)){if(_0x190740[_0xa34d6a(0xb5)](_0x51f0b1))continue;const _0x32f64d=toKebab(_0x51f0b1);_0x32f64d!==_0x51f0b1&&_0x190740[_0xa34d6a(0xb5)](_0x32f64d)&&_0x15fba8[_0xa34d6a(0xa7)]({'original':_0x51f0b1,'corrected':_0x32f64d,'handler':_0xa34d6a(0xa3)});}return _0x15fba8;}function stickyHandler(_0x50a765,_0x2393e7,_0x152d15){const _0x141291=a118_0x4fba,_0xb704d8=[];for(const [_0x15c938,_0x1ae2f9]of Object[_0x141291(0xa4)](_0x50a765)){if(_0x1ae2f9!==!![])continue;for(let _0x506d41=_0x15c938['length']-0x1;_0x506d41>0x0;_0x506d41--){const _0x2f7c10=_0x15c938['slice'](0x0,_0x506d41),_0x552b5f=_0x15c938[_0x141291(0xb6)](_0x506d41),_0x290b26=toKebab(_0x2f7c10),_0x169b91=toCamelCase(_0x2f7c10),_0x2c65ee=_0x2393e7[_0x141291(0xb5)](_0x2f7c10)?_0x2f7c10:_0x2393e7[_0x141291(0xb5)](_0x290b26)?_0x290b26:_0x2393e7['has'](_0x169b91)?_0x169b91:null;if(!_0x2c65ee)continue;const _0x33185b=_0x152d15[_0x141291(0xab)](_0x2c65ee)??_0x141291(0xa2);let _0x1604eb;if(_0x33185b===_0x141291(0xb9)){const _0x35293e=Number(_0x552b5f);if(isNaN(_0x35293e)||_0x552b5f==='')continue;_0x1604eb=_0x35293e;}else{if(_0x33185b===_0x141291(0xa9))continue;else{if(_0x552b5f==='')continue;_0x1604eb=_0x552b5f;}}_0xb704d8[_0x141291(0xa7)]({'original':_0x15c938,'corrected':_0x2c65ee+'='+_0x1604eb,'handler':_0x141291(0xb7)});break;}}return _0xb704d8;}export function correctFlags(_0x3138ec,_0x2df5fa){const _0x3dbbae=a118_0x4fba,_0x4682a0=buildKnownFlags(_0x2df5fa),_0x2d051f=buildFlagTypeMap(_0x2df5fa),_0xa23b57=aliasHandler(_0x3138ec,_0x4682a0),_0x5a2bdb=stickyHandler(_0x3138ec,_0x4682a0,_0x2d051f),_0x145ebe=[..._0xa23b57,..._0x5a2bdb];if(_0x145ebe['length']===0x0)return{'flags':_0x3138ec,'corrections':[]};const _0x3b476c={..._0x3138ec},_0x512034=new Set();for(const _0xcf0167 of _0xa23b57){_0x3b476c[_0xcf0167[_0x3dbbae(0xa8)]]=_0x3138ec[_0xcf0167[_0x3dbbae(0xaf)]],_0x512034[_0x3dbbae(0x9d)](_0xcf0167[_0x3dbbae(0xaf)]);}for(const _0x32146b of _0x5a2bdb){const _0x2c4059=_0x32146b['corrected'][_0x3dbbae(0x9b)]('='),_0x22b927=_0x32146b[_0x3dbbae(0xa8)][_0x3dbbae(0xb6)](0x0,_0x2c4059),_0x2b8630=_0x32146b[_0x3dbbae(0xa8)][_0x3dbbae(0xb6)](_0x2c4059+0x1),_0x381ad5=_0x2d051f[_0x3dbbae(0xab)](_0x22b927)??_0x3dbbae(0xa2);_0x381ad5==='number'?_0x3b476c[_0x22b927]=Number(_0x2b8630):_0x3b476c[_0x22b927]=_0x2b8630,_0x512034[_0x3dbbae(0x9d)](_0x32146b[_0x3dbbae(0xaf)]);}for(const _0x11c7b8 of _0x512034){delete _0x3b476c[_0x11c7b8];}return{'flags':_0x3b476c,'corrections':_0x145ebe};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a119_0x202e1b=a119_0x4738;(function(_0x575ac3,_0x4277fe){const _0x131318=a119_0x4738,_0x576518=_0x575ac3();while(!![]){try{const _0xe95354=parseInt(_0x131318(0x20a))/0x1*(parseInt(_0x131318(0x1fb))/0x2)+parseInt(_0x131318(0x1f7))/0x3*(parseInt(_0x131318(0x209))/0x4)+-parseInt(_0x131318(0x1fc))/0x5*(-parseInt(_0x131318(0x1f6))/0x6)+parseInt(_0x131318(0x1f8))/0x7+parseInt(_0x131318(0x1ff))/0x8+-parseInt(_0x131318(0x1fa))/0x9*(parseInt(_0x131318(0x20b))/0xa)+-parseInt(_0x131318(0x207))/0xb*(parseInt(_0x131318(0x20e))/0xc);if(_0xe95354===_0x4277fe)break;else _0x576518['push'](_0x576518['shift']());}catch(_0x321dcd){_0x576518['push'](_0x576518['shift']());}}}(a119_0x4c40,0x46114));import{CliErrors}from'../errors.js';const RATE_LIMIT_ERROR_CODES=new Set([a119_0x202e1b(0x208),'MAX_QPS_LIMIT',a119_0x202e1b(0x205)]);function a119_0x4c40(){const _0x1b9095=['437440VblUji','2740ATsXGn','retryAfter','status','858036QVcDdK','retry-after','Retry-After','object','isArray','test','\x20seconds\x20before\x20retrying.','entries','Request\x20rate\x20limit\x20exceeded.','toUpperCase','Retry\x20after\x20a\x20short\x20delay.','6VDUIgm','3NUgTaJ','1502627KcWNDK','errorCode','13518roKdjR','2QeQsCV','798585hjntLH','number','toLowerCase','3788016UYDEMi','call','\x20Retry\x20only\x20the\x20failed\x20item;\x20keep\x20requests\x20serial\x20and\x20preserve\x20completed\x20checkpoints.','message','retryAfterSeconds','Retry\x20after\x20','IP_RATE_LIMIT_EXCEEDED','Wait\x20','99XHTmbF','EXCEED_MAX_QPS_LIMIT','227004cJwHZf'];a119_0x4c40=function(){return _0x1b9095;};return a119_0x4c40();}function nonEmptyString(_0x336804){if(typeof _0x336804!=='string')return undefined;const _0x14a120=_0x336804['trim']();return _0x14a120||undefined;}function buildRetryHint(_0x3de172){const _0x4399ea=a119_0x202e1b,_0x185a7c=nonEmptyString(_0x3de172),_0x553634=_0x185a7c?/^\d+$/[_0x4399ea(0x1f0)](_0x185a7c)?_0x4399ea(0x206)+_0x185a7c+_0x4399ea(0x1f1):_0x4399ea(0x204)+_0x185a7c+'.':_0x4399ea(0x1f5);return _0x553634+_0x4399ea(0x201);}export function createRateLimitError(_0x4fd41d){const _0x44438a=a119_0x202e1b,_0x34e118=nonEmptyString(_0x4fd41d[_0x44438a(0x1f9)])?.[_0x44438a(0x1f4)](),_0xff8437=Number(_0x4fd41d[_0x44438a(0x20d)])===0x1ad||_0x34e118!==undefined&&RATE_LIMIT_ERROR_CODES['has'](_0x34e118);if(!_0xff8437)return undefined;return CliErrors['rateLimited'](nonEmptyString(_0x4fd41d[_0x44438a(0x202)])??_0x44438a(0x1f3),buildRetryHint(_0x4fd41d[_0x44438a(0x20c)]));}function a119_0x4738(_0xfe13,_0x5d0136){_0xfe13=_0xfe13-0x1f0;const _0x4c4061=a119_0x4c40();let _0x473815=_0x4c4061[_0xfe13];return _0x473815;}export function readRetryAfter(_0x17c14a){const _0x3cd501=a119_0x202e1b;if(!_0x17c14a||typeof _0x17c14a!==_0x3cd501(0x211))return undefined;const _0x2b0ff3=_0x17c14a['get'];if(typeof _0x2b0ff3==='function'){const _0x33d802=_0x2b0ff3['call'](_0x17c14a,_0x3cd501(0x210))??_0x2b0ff3[_0x3cd501(0x200)](_0x17c14a,'retry-after');return nonEmptyString(_0x33d802);}for(const [_0x7519fa,_0x3ec039]of Object[_0x3cd501(0x1f2)](_0x17c14a)){if(_0x7519fa[_0x3cd501(0x1fe)]()===_0x3cd501(0x20f))return nonEmptyString(_0x3ec039)??(typeof _0x3ec039===_0x3cd501(0x1fd)?String(_0x3ec039):undefined);}return undefined;}export function readRetryAfterSeconds(_0x539f73){const _0x5c836e=a119_0x202e1b;if(!_0x539f73||typeof _0x539f73!==_0x5c836e(0x211)||Array[_0x5c836e(0x212)](_0x539f73))return undefined;const _0x5bbae0=_0x539f73[_0x5c836e(0x203)];if(typeof _0x5bbae0===_0x5c836e(0x1fd))return Number['isInteger'](_0x5bbae0)&&_0x5bbae0>=0x0?String(_0x5bbae0):undefined;const _0x12699a=nonEmptyString(_0x5bbae0);return _0x12699a&&/^\d+$/[_0x5c836e(0x1f0)](_0x12699a)?_0x12699a:undefined;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a120_0x4d4b35=a120_0xe89e;(function(_0x57d70c,_0x4c0806){const _0x434f42=a120_0xe89e,_0x575148=_0x57d70c();while(!![]){try{const _0xbf16cd=parseInt(_0x434f42(0x11e))/0x1+-parseInt(_0x434f42(0x111))/0x2+parseInt(_0x434f42(0x116))/0x3*(parseInt(_0x434f42(0x127))/0x4)+parseInt(_0x434f42(0x115))/0x5*(parseInt(_0x434f42(0x117))/0x6)+-parseInt(_0x434f42(0x108))/0x7*(parseInt(_0x434f42(0x121))/0x8)+-parseInt(_0x434f42(0x124))/0x9+-parseInt(_0x434f42(0x10f))/0xa;if(_0xbf16cd===_0x4c0806)break;else _0x575148['push'](_0x575148['shift']());}catch(_0x38348b){_0x575148['push'](_0x575148['shift']());}}}(a120_0x4d6b,0x28270));import{CliErrors}from'../errors.js';import{CLI_BIN_NAME,GLOBAL_FLAGS}from'../constant/cli.js';function a120_0x4d6b(){const _0x3ede91=['\x20data\x20filter`.','meowKey','page-size','currentpage','order-by','157462rGeyaW','command','version','968hQMntT','validation','\x20for\x20`','572562FoHldm','pagesize','stringify','8AguJnq','current-page','entries','Unknown\x20flag\x20--','filter','11333TmRiZx','has','Run\x20`','data','no-','\x20data\x20filter\x20--code\x20<datasetCode>\x20--params\x20','active','676510bPQtwT','service','243978rPMzGG','add','select','Put\x20where,\x20select,\x20orderBy,\x20currentPage,\x20and\x20pageSize\x20inside\x20one\x20--params\x20JSON\x20object.\x20','5flpTkm','375567xHIAYX','1234686ESTTEa','\x20--help`\x20to\x20see\x20accepted\x20flags.'];a120_0x4d6b=function(){return _0x3ede91;};return a120_0x4d6b();}import{toKebab}from'../framework/preparse.js';function a120_0xe89e(_0x561dc4,_0x341247){_0x561dc4=_0x561dc4-0x108;const _0x4d6bc1=a120_0x4d6b();let _0xe89e19=_0x4d6bc1[_0x561dc4];return _0xe89e19;}const FILTER_BODY_FIELDS=new Set(['where',a120_0x4d4b35(0x113),a120_0x4d4b35(0x11d),'orderby',a120_0x4d4b35(0x128),a120_0x4d4b35(0x11c),'page',a120_0x4d4b35(0x11b),a120_0x4d4b35(0x125)]);export function assertKnownCommandFlags(_0x1c6608,_0x1d9b67){const _0xf9ef01=a120_0x4d4b35,_0x55591d=new Set([_0xf9ef01(0x120)]);for(const _0xadcc14 of GLOBAL_FLAGS){_0x55591d[_0xf9ef01(0x112)](_0xadcc14['name']),_0x55591d[_0xf9ef01(0x112)](toKebab(_0xadcc14[_0xf9ef01(0x11a)]));}for(const _0x4b8241 of _0x1c6608['flags']??[]){_0x55591d['add'](_0x4b8241['name']);}for(const [_0x57140e,_0x485c4c]of Object[_0xf9ef01(0x129)](_0x1d9b67)){const _0x3e1f1f=toKebab(_0x57140e);if(_0x55591d['has'](_0x3e1f1f))continue;if(_0x485c4c===![]&&_0x55591d[_0xf9ef01(0x109)](_0xf9ef01(0x10c)+_0x3e1f1f))continue;if(_0x1c6608[_0xf9ef01(0x110)]===_0xf9ef01(0x10b)&&_0x1c6608['command']===_0xf9ef01(0x12b)&&FILTER_BODY_FIELDS[_0xf9ef01(0x109)](_0x3e1f1f))throw CliErrors[_0xf9ef01(0x122)]('--'+_0x3e1f1f+'\x20is\x20not\x20a\x20CLI\x20flag\x20for\x20`'+CLI_BIN_NAME+_0xf9ef01(0x119),_0xf9ef01(0x114)+('Example:\x20'+CLI_BIN_NAME+_0xf9ef01(0x10d))+('\x27'+JSON[_0xf9ef01(0x126)]({'where':{'status':{'$eq':_0xf9ef01(0x10e)}},'orderBy':[{'id':'asc'}],'currentPage':0x1,'pageSize':0x14})+'\x27'));throw CliErrors[_0xf9ef01(0x122)](_0xf9ef01(0x12a)+_0x3e1f1f+_0xf9ef01(0x123)+CLI_BIN_NAME+'\x20'+_0x1c6608[_0xf9ef01(0x110)]+'\x20'+_0x1c6608[_0xf9ef01(0x11f)]+'`.',_0xf9ef01(0x10a)+CLI_BIN_NAME+'\x20'+_0x1c6608[_0xf9ef01(0x110)]+'\x20'+_0x1c6608[_0xf9ef01(0x11f)]+_0xf9ef01(0x118));}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a121_0x25b1(){var _0x311e0f=['439410DaOQoG','1037531EPVEPI','56fEGmQY','28210koyvTM','2470BAWWgd','2550390EWhtVY','76spXoqo','4365FQefoh','60179UCFEmh','22118ZaYYDL','15aKOeDW'];a121_0x25b1=function(){return _0x311e0f;};return a121_0x25b1();}(function(_0x353ffa,_0x1f39a4){var _0x5f716f=a121_0x3a46,_0x10893f=_0x353ffa();while(!![]){try{var _0x3ed632=parseInt(_0x5f716f(0xce))/0x1+parseInt(_0x5f716f(0xd7))/0x2*(parseInt(_0x5f716f(0xcd))/0x3)+parseInt(_0x5f716f(0xd4))/0x4*(-parseInt(_0x5f716f(0xd1))/0x5)+-parseInt(_0x5f716f(0xd3))/0x6+-parseInt(_0x5f716f(0xd6))/0x7*(-parseInt(_0x5f716f(0xd0))/0x8)+parseInt(_0x5f716f(0xd5))/0x9*(parseInt(_0x5f716f(0xd2))/0xa)+parseInt(_0x5f716f(0xcf))/0xb;if(_0x3ed632===_0x1f39a4)break;else _0x10893f['push'](_0x10893f['shift']());}catch(_0x208e7b){_0x10893f['push'](_0x10893f['shift']());}}}(a121_0x25b1,0x39cc1));function a121_0x3a46(_0x18f2eb,_0x9bdca1){_0x18f2eb=_0x18f2eb-0xcd;var _0x25b14b=a121_0x25b1();var _0x3a46da=_0x25b14b[_0x18f2eb];return _0x3a46da;}export{extractList,extractPaging}from'@lovrabet/cli-framework';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x29b844,_0x16af78){const _0x150f02=a122_0x6eca,_0x3e4424=_0x29b844();while(!![]){try{const _0x14412e=parseInt(_0x150f02(0x1a0))/0x1+parseInt(_0x150f02(0x183))/0x2+parseInt(_0x150f02(0x198))/0x3*(-parseInt(_0x150f02(0x18b))/0x4)+parseInt(_0x150f02(0x189))/0x5+-parseInt(_0x150f02(0x18f))/0x6*(-parseInt(_0x150f02(0x1a7))/0x7)+parseInt(_0x150f02(0x199))/0x8*(-parseInt(_0x150f02(0x18d))/0x9)+parseInt(_0x150f02(0x195))/0xa*(parseInt(_0x150f02(0x186))/0xb);if(_0x14412e===_0x16af78)break;else _0x3e4424['push'](_0x3e4424['shift']());}catch(_0x5cd098){_0x3e4424['push'](_0x3e4424['shift']());}}}(a122_0x3af5,0xa16ac));import{CLI_BIN_NAME}from'../constant/cli.js';import{isSensitiveFlagName}from'../utils/redaction.js';function a122_0x6eca(_0xef8b9e,_0x2e1bba){_0xef8b9e=_0xef8b9e-0x181;const _0x3af51a=a122_0x3af5();let _0x6eca5d=_0x3af51a[_0xef8b9e];return _0x6eca5d;}export function buildConfirmationLines(_0x30841d,_0x417ef1,_0xc4f53e){const _0x1379c5=a122_0x6eca,_0x538664=buildConfirmationContext(_0x30841d,_0x417ef1,_0xc4f53e),_0x55380a=['⚠\x20\x20High-risk\x20operation:\x20'+_0x538664[_0x1379c5(0x192)]];return _0x538664['description']&&_0x55380a[_0x1379c5(0x18e)](_0x1379c5(0x1a2)+_0x538664[_0x1379c5(0x1a5)]),_0x538664[_0x1379c5(0x184)]&&_0x55380a[_0x1379c5(0x18e)](_0x1379c5(0x193)+_0x538664[_0x1379c5(0x184)]),_0x55380a[_0x1379c5(0x18e)]('\x20\x20\x20Continue?\x20[y/N]\x20'),_0x55380a;}function a122_0x3af5(){const _0x1db1f0=['16PqGraZ','title','command','params','service','channel=','schedule-id','242975RPPWcl','scheduled-at=','\x20\x20\x20','code=','title=','description','channel','5299CJobNb','entries','schedule-id=','2124178pJyfPq','affectedRecords','name','218812YTbikz','scheduled-at','join','518265dPkZeh','stringify','69592DJxPyB','code','3852054paXdvV','push','1230lfvmXn','cron=','cron','commandLabel','\x20\x20\x20Affected:\x20','name=','580usXIga','length','kind','207YIxERh'];a122_0x3af5=function(){return _0x1db1f0;};return a122_0x3af5();}export function reconstructCommandArgv(_0x48ec80,_0x4fd15f){const _0x7f2cdb=a122_0x6eca,_0x44fdd7=[CLI_BIN_NAME,_0x48ec80[_0x7f2cdb(0x19d)],_0x48ec80[_0x7f2cdb(0x19b)]];for(const [_0x2601d6,_0x19efa6]of Object[_0x7f2cdb(0x181)](_0x4fd15f)){if(_0x19efa6===!![])_0x44fdd7['push']('--'+_0x2601d6);else{if(isSensitiveFlagName(_0x2601d6)&&_0x19efa6!==![]&&_0x19efa6!==undefined&&_0x19efa6!=='')_0x44fdd7[_0x7f2cdb(0x18e)]('--'+_0x2601d6+'\x20[REDACTED]');else _0x19efa6!==![]&&_0x19efa6!==undefined&&_0x19efa6!==''&&_0x44fdd7[_0x7f2cdb(0x18e)]('--'+_0x2601d6+'\x20'+JSON[_0x7f2cdb(0x18a)](_0x19efa6));}}return _0x44fdd7[_0x7f2cdb(0x18e)]('--yes'),_0x44fdd7['join']('\x20');}function buildConfirmationContext(_0x57f4fb,_0x4c1e57,_0x25b07e){const _0x3cd6dd=a122_0x6eca,_0x209785=extractAffectedRecords(_0x25b07e);return{'commandLabel':_0x4c1e57,'description':_0x57f4fb[_0x3cd6dd(0x1a5)],'affectedRecords':_0x209785};}function extractAffectedRecords(_0x4c4ccf){const _0x5d5aaf=a122_0x6eca,_0x2e5004=[];if(_0x4c4ccf[_0x5d5aaf(0x18c)])_0x2e5004[_0x5d5aaf(0x18e)](_0x5d5aaf(0x1a3)+_0x4c4ccf[_0x5d5aaf(0x18c)]);if(_0x4c4ccf['id'])_0x2e5004[_0x5d5aaf(0x18e)]('id='+_0x4c4ccf['id']);if(_0x4c4ccf[_0x5d5aaf(0x19f)])_0x2e5004[_0x5d5aaf(0x18e)](_0x5d5aaf(0x182)+_0x4c4ccf[_0x5d5aaf(0x19f)]);if(_0x4c4ccf[_0x5d5aaf(0x185)])_0x2e5004[_0x5d5aaf(0x18e)](_0x5d5aaf(0x194)+_0x4c4ccf[_0x5d5aaf(0x185)]);if(_0x4c4ccf['title'])_0x2e5004[_0x5d5aaf(0x18e)](_0x5d5aaf(0x1a4)+_0x4c4ccf[_0x5d5aaf(0x19a)]);if(_0x4c4ccf[_0x5d5aaf(0x197)])_0x2e5004['push']('kind='+_0x4c4ccf['kind']);if(_0x4c4ccf[_0x5d5aaf(0x191)])_0x2e5004[_0x5d5aaf(0x18e)](_0x5d5aaf(0x190)+_0x4c4ccf['cron']);if(_0x4c4ccf['scheduled-at'])_0x2e5004[_0x5d5aaf(0x18e)](_0x5d5aaf(0x1a1)+_0x4c4ccf[_0x5d5aaf(0x187)]);if(_0x4c4ccf[_0x5d5aaf(0x1a6)])_0x2e5004['push'](_0x5d5aaf(0x19e)+_0x4c4ccf['channel']);if(_0x4c4ccf['params'])_0x2e5004[_0x5d5aaf(0x18e)]('params='+_0x4c4ccf[_0x5d5aaf(0x19c)]);return _0x2e5004[_0x5d5aaf(0x196)]>0x0?_0x2e5004[_0x5d5aaf(0x188)](',\x20'):undefined;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x187529,_0x4f805b){const _0x1abacd=a123_0x4b1f,_0x3ea585=_0x187529();while(!![]){try{const _0xdc5690=parseInt(_0x1abacd(0x10c))/0x1+parseInt(_0x1abacd(0x115))/0x2*(-parseInt(_0x1abacd(0x104))/0x3)+parseInt(_0x1abacd(0x107))/0x4*(parseInt(_0x1abacd(0x10a))/0x5)+-parseInt(_0x1abacd(0x108))/0x6+parseInt(_0x1abacd(0x114))/0x7+parseInt(_0x1abacd(0x113))/0x8*(-parseInt(_0x1abacd(0x10f))/0x9)+parseInt(_0x1abacd(0x103))/0xa;if(_0xdc5690===_0x4f805b)break;else _0x3ea585['push'](_0x3ea585['shift']());}catch(_0x45ff17){_0x3ea585['push'](_0x3ea585['shift']());}}}(a123_0xd1cd,0x5248e));import{LovrabetError}from'@lovrabet/sdk';function a123_0xd1cd(){const _0x5e51e2=['stringify','headers','validation','12296680NzSaNU','33tbYpOr','string','apiError','161292ldZZgO','2205498aNwIRI','code','15vUjbjk','trim','180427PMrYwY','message','response','749718bNUSBy','description','The\x20response\x20does\x20not\x20identify\x20whether\x20authentication\x20or\x20permission\x20checks\x20failed.','Request\x20rejected\x20(HTTP\x20401).','40RHvMRO','1315188yyfuQh','108694gmMBLA'];a123_0xd1cd=function(){return _0x5e51e2;};return a123_0xd1cd();}import{CliErrors}from'../errors.js';import{createAccessError}from'../framework/access-error.js';function a123_0x4b1f(_0x4c8e44,_0x39ea0c){_0x4c8e44=_0x4c8e44-0x100;const _0xd1cd60=a123_0xd1cd();let _0x4b1ff4=_0xd1cd60[_0x4c8e44];return _0x4b1ff4;}import{createRateLimitError,readRetryAfter,readRetryAfterSeconds}from'../framework/rate-limit.js';export function mapUserFacingExecuteError(_0x4620b0){const _0x4c7169=a123_0x4b1f;if(_0x4620b0 instanceof LovrabetError){const _0x237127=userFacingLovrabetMessage(_0x4620b0),_0x2b65c4=_0x4620b0,_0xdb38c8=createRateLimitError({'status':_0x2b65c4['status'],'errorCode':_0x2b65c4[_0x4c7169(0x109)],'message':_0x237127,'retryAfter':readRetryAfter(_0x2b65c4[_0x4c7169(0x10e)]?.[_0x4c7169(0x101)])??readRetryAfterSeconds(_0x2b65c4[_0x4c7169(0x10e)])});return createAccessError(_0x2b65c4['response'],_0x2b65c4[_0x4c7169(0x109)])??_0xdb38c8??(Number(_0x2b65c4['status'])===0x191?CliErrors[_0x4c7169(0x106)](_0x4c7169(0x112),_0x4c7169(0x111)):CliErrors[_0x4c7169(0x102)](_0x237127));}return _0x4620b0;}function userFacingLovrabetMessage(_0x1c3480){const _0x3adc14=a123_0x4b1f,_0x1df9e0=_0x1c3480[_0x3adc14(0x110)];if(_0x1df9e0!==undefined&&_0x1df9e0!==null){if(typeof _0x1df9e0===_0x3adc14(0x105)&&_0x1df9e0[_0x3adc14(0x10b)]())return _0x1df9e0[_0x3adc14(0x10b)]();try{return JSON[_0x3adc14(0x100)](_0x1df9e0);}catch{}}return _0x1c3480[_0x3adc14(0x10d)];}
|
package/lib/framework/runner.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x26d420,_0x78223c){const _0x4d3cc8=a124_0x2088,_0x3ade29=_0x26d420();while(!![]){try{const _0x1fc252=parseInt(_0x4d3cc8(0x19f))/0x1+-parseInt(_0x4d3cc8(0x195))/0x2+parseInt(_0x4d3cc8(0x178))/0x3*(-parseInt(_0x4d3cc8(0x1b8))/0x4)+-parseInt(_0x4d3cc8(0x17a))/0x5*(-parseInt(_0x4d3cc8(0x179))/0x6)+parseInt(_0x4d3cc8(0x18b))/0x7+-parseInt(_0x4d3cc8(0x184))/0x8*(parseInt(_0x4d3cc8(0x18e))/0x9)+-parseInt(_0x4d3cc8(0x185))/0xa*(parseInt(_0x4d3cc8(0x1b2))/0xb);if(_0x1fc252===_0x78223c)break;else _0x3ade29['push'](_0x3ade29['shift']());}catch(_0x1f15be){_0x3ade29['push'](_0x3ade29['shift']());}}}(a124_0x33f3,0x72893));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';function a124_0x33f3(){const _0x3e8434=['service','risk','confirmHighRisk','isNonInteractive','authRequired','newConfigFileName','runtimeDomain','../core/api-client.js','Run\x20`','cancelled','646987ELAIVZ','accessKey','_notice','trim','schema','Set\x20accessKey\x20in\x20','328036nkuouN','appCodeSource','object','verbose','format','error','Unknown\x20app:\x20','30YQMWSO','6hBjVaW','2671730GWCWqu','apiDomain','ACCESS_KEY','filter','../core/sdk-client.js','high-risk-write','local-alias','env','rawFlags','\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20add\x20apps.','1792568VBmKCJ','30msFpKm','items','requiresAuth','command','nonInteractive','update','4350913DCwJOC','has','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.\x0a','9GFibyr','app','Set\x20appcode\x20via\x20--appcode\x20or\x20in\x20','nativeToolRequired','includes','currentApp','requiresAppCode','324394FsYdFm','mergedCli','\x20\x20To\x20proceed:\x20','appCode','defaultVerbose','High-risk\x20operation\x20`','nativeToolAvailable','string','defaultApp','../commands/app/remote-source.js','696043OKbxEE','APPCODE','.appcode\x20to\x20','defaultPageSize','resolve','cli-skill','production','validation','riskLevel'];a124_0x33f3=function(){return _0x3e8434;};return a124_0x33f3();}import{assertCliVersionSupported,checkCliVersion}from'../utils/cli-version-check.js';import{findAppByCode,findAppByName,isRuntimeAccessibleApp,runtimeInaccessibleAppError}from'../commands/app/eligibility.js';export function resolveAuthMode(_0x5e4b88){return void _0x5e4b88,AUTH_MODE['ClientAk'];}let sdkClientInitialized=![];export function createPipelineEnv(_0x402557,_0x1c3c9e){const _0x595a73=a124_0x2088,_0x34ea3f=typeof _0x1c3c9e[_0x595a73(0x18f)]===_0x595a73(0x19c)&&_0x1c3c9e['app'][_0x595a73(0x1b5)]();return{'rawFlags':_0x1c3c9e,'appCode':_0x402557['appCode']||productEnv(_0x595a73(0x1a0))||(_0x34ea3f?undefined:readAppCodeFromConfig()),'appCodeSource':_0x402557['appCodeSource'],'apiDomain':getApiDomain(),'runtimeDomain':getRuntimeDomain(),'isNonInteractive':isNonInteractiveMode(_0x1c3c9e),'defaultFormat':_0x402557[_0x595a73(0x1bc)],'defaultPageSize':_0x402557['pageSize'],'defaultVerbose':_0x402557[_0x595a73(0x1bb)],'riskLevel':_0x402557[_0x595a73(0x1a7)],'nativeToolAvailable':_0x402557['nativeToolAvailable'],'accessKey':_0x402557['accessKey'],'env':_0x402557['env'],'mergedCli':{'defaultApp':_0x402557[_0x595a73(0x19d)],'currentApp':_0x402557[_0x595a73(0x193)],'appCode':_0x402557[_0x595a73(0x198)]}};}function a124_0x2088(_0x324f84,_0x4b6c67){_0x324f84=_0x324f84-0x176;const _0x33f3f8=a124_0x33f3();let _0x208810=_0x33f3f8[_0x324f84];return _0x208810;}export function createLovrabetRunnerAdapter(_0x4514d0={}){const _0x4c090a=a124_0x2088,_0x548228={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[_0x4c090a(0x17d)](_0x43c33d=>PIPELINE_FLAG_NAMES[_0x4c090a(0x18c)](_0x43c33d['name']))['map'](({name:_0x119309,type:_0x4755d2,description:_0x35bc9a})=>({'name':_0x119309,'type':_0x4755d2,'description':_0x35bc9a})),'formatOutput':_0x4514d0['formatOutput']??formatOutput,'getCommandLabel'(_0x371159){const _0x28392d=_0x4c090a;return CLI_BIN_NAME+'\x20'+_0x371159[_0x28392d(0x1a8)]+'\x20'+_0x371159['command'];},'riskPolicy':{'onViolation'(_0x512eef,{def:_0x4507de,env:_0x521c8c}){const _0x1dd968=_0x4c090a;if(shouldRouteWriteToNativeTool(_0x4507de,_0x521c8c))return;console[_0x1dd968(0x176)](_0x512eef);},'createError'(_0x5c0f6f,{def:_0x3578e9,env:_0x2b79de}){const _0x5c3dc8=_0x4c090a;if(shouldRouteWriteToNativeTool(_0x3578e9,_0x2b79de))return CliErrors[_0x5c3dc8(0x191)](CLI_BIN_NAME+'\x20'+_0x3578e9['service']+'\x20'+_0x3578e9[_0x5c3dc8(0x188)]);return CliErrors[_0x5c3dc8(0x1b1)](_0x5c0f6f);}},async 'prepare'(_0x238531,_0x8af9d9){const _0x1fa02e=_0x4c090a,_0x493094=resolveAuthMode(_0x8af9d9);if(_0x238531[_0x1fa02e(0x187)]!==![]){if(!_0x8af9d9[_0x1fa02e(0x1b3)])throw CliErrors[_0x1fa02e(0x1ac)](_0x1fa02e(0x1b7)+PRODUCT_CONFIG['newConfigFileName']+'\x20or\x20pass\x20'+productEnvName(_0x1fa02e(0x17c))+'.');const {setActiveAK:_0x49d730}=await import(_0x1fa02e(0x1af));_0x49d730(_0x8af9d9[_0x1fa02e(0x1b3)]);}let _0x36dc87='';if(_0x238531[_0x1fa02e(0x194)]!==![]){_0x36dc87=_0x8af9d9[_0x1fa02e(0x198)]??'',_0x36dc87=await resolveExplicitAppName(_0x238531,_0x8af9d9,_0x36dc87);if(!_0x36dc87){await assertSelectedAppNameIsRuntimeAccessible(_0x238531,_0x8af9d9);throw CliErrors['configMissing'](_0x1fa02e(0x190)+PRODUCT_CONFIG[_0x1fa02e(0x1ad)]+'.');}await assertAppCodeIsRuntimeAccessible(_0x238531,_0x8af9d9,_0x36dc87);}if(_0x36dc87){const {initSdkClient:_0x59b965}=await import(_0x1fa02e(0x17e));_0x59b965({'appCode':_0x36dc87,'env':_0x8af9d9[_0x1fa02e(0x181)]??_0x1fa02e(0x1a5),'runtimeDomain':_0x8af9d9[_0x1fa02e(0x1ae)],'accessKey':_0x8af9d9[_0x1fa02e(0x1b3)],'authMode':_0x493094}),sdkClientInitialized=!![];}return{'defaults':{'booleans':{'verbose':_0x8af9d9[_0x1fa02e(0x199)]},'numbers':{'pagesize':_0x8af9d9[_0x1fa02e(0x1a2)]}},'extras':{'appCode':_0x36dc87,'cookie':'','apiDomain':_0x8af9d9[_0x1fa02e(0x17b)],'apiDir':'','accessKey':_0x8af9d9[_0x1fa02e(0x1b3)],'envName':_0x8af9d9[_0x1fa02e(0x181)],'mergedCli':_0x8af9d9['mergedCli']}};},'confirmHighRisk':_0x4514d0[_0x4c090a(0x1aa)]??(async({def:_0x349f35,env:_0xd5c61,flags:_0x552535,commandLabel:_0x373c7d})=>{const _0xbd7e61=_0x4c090a;if(_0xd5c61[_0xbd7e61(0x1ab)]){const _0x26e4c5=reconstructCommandArgv(_0x349f35,_0x552535);throw CliErrors[_0xbd7e61(0x1a6)](_0xbd7e61(0x19a)+_0x373c7d+_0xbd7e61(0x18d)+(_0xbd7e61(0x197)+_0x26e4c5));}await requireConfirmationPrompt({'lines':buildConfirmationLines(_0x349f35,_0x373c7d,_0x552535),'createCancelledError':_0x3b409e=>CliErrors[_0xbd7e61(0x1b1)](_0x3b409e)});}),'mapDryRunError'(_0x4f43dc){return mapUserFacingExecuteError(_0x4f43dc);},'mapExecuteError'(_0xec79fc){return mapUserFacingExecuteError(_0xec79fc);},async 'finalize'(){await finalizeLovrabetRuntimeState();}};return _0x548228;}function shouldRouteWriteToNativeTool(_0x1775d9,_0x2c00d7){const _0x59677b=a124_0x2088;return _0x2c00d7[_0x59677b(0x19b)]===!![]&&(_0x1775d9['risk']==='write'||_0x1775d9[_0x59677b(0x1a9)]===_0x59677b(0x17f));}const terminalRunnerAdapter=createLovrabetRunnerAdapter();export async function finalizeLovrabetRuntimeState(){try{if(sdkClientInitialized){const {clearSdkClient:_0x4e3219}=await import('../core/sdk-client.js');_0x4e3219();}}finally{sdkClientInitialized=![];const {clearActiveAK:_0x26771e}=await import('../core/api-client.js');_0x26771e();}}async function resolveExplicitAppName(_0x55c317,_0x3af21d,_0x5516a5){const _0x190b8a=a124_0x2088;if(_0x55c317[_0x190b8a(0x194)]===![])return _0x5516a5;const _0x2817d0=typeof _0x3af21d['rawFlags'][_0x190b8a(0x18f)]===_0x190b8a(0x19c)?_0x3af21d[_0x190b8a(0x182)]['app'][_0x190b8a(0x1b5)]():'';if(!_0x2817d0)return _0x5516a5;const _0x1a7dbf=typeof _0x3af21d[_0x190b8a(0x182)]['appcode']===_0x190b8a(0x19c)&&_0x3af21d[_0x190b8a(0x182)]['appcode']['trim']()||productEnv(_0x190b8a(0x1a0));if(_0x1a7dbf||_0x3af21d[_0x190b8a(0x1b9)]===_0x190b8a(0x180))return _0x5516a5;const {getRemoteAppList:_0x5f42a6}=await import(_0x190b8a(0x19e)),_0x500889=await _0x5f42a6({'env':_0x3af21d[_0x190b8a(0x181)]??_0x190b8a(0x1a5),'accessKey':_0x3af21d['accessKey']}),_0x407b7b=findAppByName(_0x500889[_0x190b8a(0x186)],_0x2817d0);if(_0x407b7b&&!isRuntimeAccessibleApp(_0x407b7b))throw runtimeInaccessibleAppError(_0x407b7b,'\x22'+_0x2817d0+'\x22');const _0x2385ac=_0x407b7b?.[_0x190b8a(0x198)]?.['trim']();if(_0x2385ac)return _0x2385ac;throw CliErrors['validation'](_0x190b8a(0x177)+_0x2817d0,_0x190b8a(0x1b0)+CLI_BIN_NAME+_0x190b8a(0x183)+_0x2817d0+_0x190b8a(0x1a1)+PRODUCT_CONFIG['newConfigFileName']+'.');}async function assertSelectedAppNameIsRuntimeAccessible(_0x31a14c,_0x2b0508){const _0x94cea6=a124_0x2088;if(_0x31a14c[_0x94cea6(0x194)]===![]||!_0x2b0508[_0x94cea6(0x1b3)])return;const _0x1e3847=(typeof _0x2b0508['rawFlags']['app']===_0x94cea6(0x19c)&&_0x2b0508[_0x94cea6(0x182)][_0x94cea6(0x18f)][_0x94cea6(0x1b5)]()?_0x2b0508['rawFlags'][_0x94cea6(0x18f)]:_0x2b0508[_0x94cea6(0x196)]?.[_0x94cea6(0x193)]??_0x2b0508[_0x94cea6(0x196)]?.[_0x94cea6(0x19d)])?.[_0x94cea6(0x1b5)]();if(!_0x1e3847)return;const {getRemoteAppList:_0x9ec932}=await import(_0x94cea6(0x19e)),_0x306248=await _0x9ec932({'env':_0x2b0508[_0x94cea6(0x181)]??'production','accessKey':_0x2b0508[_0x94cea6(0x1b3)]}),_0x409dd7=findAppByName(_0x306248['items'],_0x1e3847);if(_0x409dd7&&!isRuntimeAccessibleApp(_0x409dd7))throw runtimeInaccessibleAppError(_0x409dd7,'\x22'+_0x1e3847+'\x22');}async function assertAppCodeIsRuntimeAccessible(_0x9c64f2,_0x4923d8,_0x39f61b){const _0x3df1eb=a124_0x2088;if(_0x9c64f2['requiresAppCode']===![]||!_0x4923d8[_0x3df1eb(0x1b3)])return;const {getRemoteAppList:_0x31d087}=await import(_0x3df1eb(0x19e)),_0x17aaf0=await _0x31d087({'env':_0x4923d8[_0x3df1eb(0x181)]??_0x3df1eb(0x1a5),'accessKey':_0x4923d8['accessKey']}),_0x5dd733=findAppByCode(_0x17aaf0[_0x3df1eb(0x186)],_0x39f61b);if(_0x5dd733&&!isRuntimeAccessibleApp(_0x5dd733))throw runtimeInaccessibleAppError(_0x5dd733,'appcode\x20\x22'+_0x39f61b+'\x22');}export async function runCommand(_0x1f2bc9,_0x24b863,_0x346e1e=terminalRunnerAdapter){const _0x576895=a124_0x2088;assertKnownCommandFlags(_0x1f2bc9,_0x24b863[_0x576895(0x182)]),await runCommandWithAdapter(shouldApplyVersionPolicy(_0x1f2bc9)?withVersionPolicy(_0x1f2bc9):_0x1f2bc9,_0x24b863,_0x346e1e);}function shouldApplyVersionPolicy(_0x5bd0de){const _0x18634a=a124_0x2088;if([_0x18634a(0x18a),_0x18634a(0x1b6),'doctor'][_0x18634a(0x192)](_0x5bd0de[_0x18634a(0x1a8)]))return![];return!(_0x5bd0de['service']===_0x18634a(0x1a4)&&_0x5bd0de[_0x18634a(0x188)]==='install');}function withVersionPolicy(_0x1b59ed){return{..._0x1b59ed,async 'execute'(_0x22ca8c){const _0x2c5a4d=a124_0x2088,_0x56ae94=await checkCliVersion();assertCliVersionSupported(_0x56ae94);const _0x46af46=shouldResolveUpdateNotice(_0x22ca8c)?resolveLatestUpdateNotice(_0x56ae94)['catch'](()=>null):Promise[_0x2c5a4d(0x1a3)](null),_0x10ba58=await _0x1b59ed['execute'](_0x22ca8c);return attachUpdateNotice(_0x10ba58,await _0x46af46);}};}function shouldResolveUpdateNotice(_0x3915f1){const _0x459850=a124_0x2088;return _0x3915f1[_0x459850(0x1bc)]==='pretty'&&!_0x3915f1[_0x459850(0x189)];}function attachUpdateNotice(_0x1c4177,_0x3151b6){const _0x418697=a124_0x2088;if(!_0x3151b6||!_0x1c4177||typeof _0x1c4177!==_0x418697(0x1ba))return _0x1c4177;const _0x10ab0b=_0x1c4177,_0x2d8aef=typeof _0x10ab0b[_0x418697(0x1b4)]==='object'&&_0x10ab0b[_0x418697(0x1b4)]!==null?_0x10ab0b['_notice']:{};return{..._0x10ab0b,'_notice':{..._0x2d8aef,'update':_0x3151b6}};}
|
|
1
|
+
(function(_0x594dc9,_0x2b7687){const _0x4ed0f7=a124_0x52ca,_0x3232e8=_0x594dc9();while(!![]){try{const _0x46df3e=-parseInt(_0x4ed0f7(0x11b))/0x1+-parseInt(_0x4ed0f7(0xef))/0x2*(-parseInt(_0x4ed0f7(0xd6))/0x3)+-parseInt(_0x4ed0f7(0xfa))/0x4*(-parseInt(_0x4ed0f7(0xcf))/0x5)+parseInt(_0x4ed0f7(0xd3))/0x6*(-parseInt(_0x4ed0f7(0x105))/0x7)+-parseInt(_0x4ed0f7(0x10c))/0x8*(-parseInt(_0x4ed0f7(0xda))/0x9)+parseInt(_0x4ed0f7(0x103))/0xa*(-parseInt(_0x4ed0f7(0xed))/0xb)+parseInt(_0x4ed0f7(0xe8))/0xc*(parseInt(_0x4ed0f7(0xd4))/0xd);if(_0x46df3e===_0x2b7687)break;else _0x3232e8['push'](_0x3232e8['shift']());}catch(_0x53eabe){_0x3232e8['push'](_0x3232e8['shift']());}}}(a124_0x25d5,0x64fe6));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';function a124_0x52ca(_0x24e524,_0x5d25d7){_0x24e524=_0x24e524-0xcf;const _0x25d546=a124_0x25d5();let _0x52cabd=_0x25d546[_0x24e524];return _0x52cabd;}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(_0xbbff5e){const _0x22a9b0=a124_0x52ca;return void _0xbbff5e,AUTH_MODE[_0x22a9b0(0x117)];}function a124_0x25d5(){const _0x57b2bf=['items','requiresAuth','Set\x20appcode\x20via\x20--appcode\x20or\x20in\x20','app','128gjKycO','object','High-risk\x20operation\x20`','has','pageSize','nativeToolRequired','accessKey','riskLevel','nativeToolAvailable','error','confirmHighRisk','ClientAk','risk','rawFlags','catch','282556RVLSuR','2041145NekVOe','env','resolve','authRequired','12OplnjT','2808cnFbCL','local-alias','15aoSAkU','validation','\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20add\x20apps.','pretty','232182rXjfso','currentApp','../commands/app/remote-source.js','\x20\x20To\x20proceed:\x20','Run\x20`','apiDomain','Set\x20accessKey\x20in\x20','APPCODE','defaultPageSize','command','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.\x0a','mergedCli','Unknown\x20app:\x20','appCodeSource','32484xHAIZr','execute','write','string','appcode','1628lKQNGc','update','113956FYYGWR','isNonInteractive','appcode\x20\x22','service','ACCESS_KEY','appCode','newConfigFileName','nonInteractive','defaultApp','trim','format','8gfLBhe','formatOutput','../core/api-client.js','configMissing','../core/sdk-client.js','schema','includes','production','cancelled','54870KaKUjL','requiresAppCode','2066841qRZUWv','doctor','name'];a124_0x25d5=function(){return _0x57b2bf;};return a124_0x25d5();}let sdkClientInitialized=![];export function createPipelineEnv(_0x4084b2,_0x5e6822){const _0xd15576=a124_0x52ca,_0x473277=typeof _0x5e6822[_0xd15576(0x10b)]==='string'&&_0x5e6822['app']['trim']();return{'rawFlags':_0x5e6822,'appCode':_0x4084b2[_0xd15576(0xf4)]||productEnv(_0xd15576(0xe1))||(_0x473277?undefined:readAppCodeFromConfig()),'appCodeSource':_0x4084b2[_0xd15576(0xe7)],'apiDomain':getApiDomain(),'runtimeDomain':getRuntimeDomain(),'isNonInteractive':isNonInteractiveMode(_0x5e6822),'defaultFormat':_0x4084b2[_0xd15576(0xf9)],'defaultPageSize':_0x4084b2[_0xd15576(0x110)],'defaultVerbose':_0x4084b2['verbose'],'riskLevel':_0x4084b2[_0xd15576(0x113)],'nativeToolAvailable':_0x4084b2['nativeToolAvailable'],'accessKey':_0x4084b2[_0xd15576(0x112)],'env':_0x4084b2['env'],'mergedCli':{'defaultApp':_0x4084b2[_0xd15576(0xf7)],'currentApp':_0x4084b2[_0xd15576(0xdb)],'appCode':_0x4084b2[_0xd15576(0xf4)]}};}export function createLovrabetRunnerAdapter(_0x19d78c={}){const _0x155060=a124_0x52ca,_0x7a0f4c={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS['filter'](_0x3cfb94=>PIPELINE_FLAG_NAMES[_0x155060(0x10f)](_0x3cfb94[_0x155060(0x107)]))['map'](({name:_0x377c5f,type:_0x74aad6,description:_0x33c834})=>({'name':_0x377c5f,'type':_0x74aad6,'description':_0x33c834})),'formatOutput':_0x19d78c[_0x155060(0xfb)]??formatOutput,'getCommandLabel'(_0x5a4d65){const _0x1efd9c=_0x155060;return CLI_BIN_NAME+'\x20'+_0x5a4d65[_0x1efd9c(0xf2)]+'\x20'+_0x5a4d65[_0x1efd9c(0xe3)];},'riskPolicy':{'onViolation'(_0x26c21b,{def:_0x43c401,env:_0xae6e79}){const _0xa9848d=_0x155060;if(shouldRouteWriteToNativeTool(_0x43c401,_0xae6e79))return;console[_0xa9848d(0x115)](_0x26c21b);},'createError'(_0x1969b5,{def:_0x804f16,env:_0x30eeae}){const _0xa0e549=_0x155060;if(shouldRouteWriteToNativeTool(_0x804f16,_0x30eeae))return CliErrors[_0xa0e549(0x111)](CLI_BIN_NAME+'\x20'+_0x804f16[_0xa0e549(0xf2)]+'\x20'+_0x804f16['command']);return CliErrors[_0xa0e549(0x102)](_0x1969b5);}},async 'prepare'(_0x4fc098,_0x1d46d1){const _0x1fa98f=_0x155060,_0x18f4b9=resolveAuthMode(_0x1d46d1);if(_0x4fc098[_0x1fa98f(0x109)]!==![]){if(!_0x1d46d1[_0x1fa98f(0x112)])throw CliErrors[_0x1fa98f(0xd2)](_0x1fa98f(0xe0)+PRODUCT_CONFIG[_0x1fa98f(0xf5)]+'\x20or\x20pass\x20'+productEnvName(_0x1fa98f(0xf3))+'.');const {setActiveAK:_0x5ab83e}=await import(_0x1fa98f(0xfc));_0x5ab83e(_0x1d46d1[_0x1fa98f(0x112)]);}let _0x26f954='';if(_0x4fc098[_0x1fa98f(0x104)]!==![]){_0x26f954=_0x1d46d1[_0x1fa98f(0xf4)]??'',_0x26f954=await resolveExplicitAppName(_0x4fc098,_0x1d46d1,_0x26f954);if(!_0x26f954){await assertSelectedAppNameIsRuntimeAccessible(_0x4fc098,_0x1d46d1);throw CliErrors[_0x1fa98f(0xfd)](_0x1fa98f(0x10a)+PRODUCT_CONFIG[_0x1fa98f(0xf5)]+'.');}await assertAppCodeIsRuntimeAccessible(_0x4fc098,_0x1d46d1,_0x26f954);}if(_0x26f954){const {initSdkClient:_0x3270da}=await import(_0x1fa98f(0xfe));_0x3270da({'appCode':_0x26f954,'env':_0x1d46d1[_0x1fa98f(0xd0)]??'production','runtimeDomain':_0x1d46d1['runtimeDomain'],'accessKey':_0x1d46d1[_0x1fa98f(0x112)],'authMode':_0x18f4b9}),sdkClientInitialized=!![];}return{'defaults':{'booleans':{'verbose':_0x1d46d1['defaultVerbose']},'numbers':{'pagesize':_0x1d46d1[_0x1fa98f(0xe2)]}},'extras':{'appCode':_0x26f954,'cookie':'','apiDomain':_0x1d46d1[_0x1fa98f(0xdf)],'apiDir':'','accessKey':_0x1d46d1['accessKey'],'envName':_0x1d46d1[_0x1fa98f(0xd0)],'mergedCli':_0x1d46d1[_0x1fa98f(0xe5)]}};},'confirmHighRisk':_0x19d78c[_0x155060(0x116)]??(async({def:_0x2a6e9a,env:_0x3202cb,flags:_0x504b99,commandLabel:_0x3a3bdb})=>{const _0x24cfdc=_0x155060;if(_0x3202cb[_0x24cfdc(0xf0)]){const _0x167335=reconstructCommandArgv(_0x2a6e9a,_0x504b99);throw CliErrors[_0x24cfdc(0xd7)](_0x24cfdc(0x10e)+_0x3a3bdb+_0x24cfdc(0xe4)+(_0x24cfdc(0xdd)+_0x167335));}await requireConfirmationPrompt({'lines':buildConfirmationLines(_0x2a6e9a,_0x3a3bdb,_0x504b99),'createCancelledError':_0x45a6a6=>CliErrors[_0x24cfdc(0x102)](_0x45a6a6)});}),'mapDryRunError'(_0x1e5e3e){return mapUserFacingExecuteError(_0x1e5e3e);},'mapExecuteError'(_0x330a56){return mapUserFacingExecuteError(_0x330a56);},async 'finalize'(){await finalizeLovrabetRuntimeState();}};return _0x7a0f4c;}function shouldRouteWriteToNativeTool(_0x3cb31c,_0x203a94){const _0x14b28d=a124_0x52ca;return _0x203a94[_0x14b28d(0x114)]===!![]&&(_0x3cb31c[_0x14b28d(0x118)]===_0x14b28d(0xea)||_0x3cb31c[_0x14b28d(0x118)]==='high-risk-write');}const terminalRunnerAdapter=createLovrabetRunnerAdapter();export async function finalizeLovrabetRuntimeState(){const _0x1df45d=a124_0x52ca;try{if(sdkClientInitialized){const {clearSdkClient:_0x21f12d}=await import(_0x1df45d(0xfe));_0x21f12d();}}finally{sdkClientInitialized=![];const {clearActiveAK:_0x1bc45a}=await import(_0x1df45d(0xfc));_0x1bc45a();}}async function resolveExplicitAppName(_0x5d1172,_0x6e361d,_0x1e0d79){const _0x51e810=a124_0x52ca;if(_0x5d1172['requiresAppCode']===![])return _0x1e0d79;const _0x2e695b=typeof _0x6e361d['rawFlags'][_0x51e810(0x10b)]===_0x51e810(0xeb)?_0x6e361d[_0x51e810(0x119)]['app'][_0x51e810(0xf8)]():'';if(!_0x2e695b)return _0x1e0d79;const _0x3b9ac2=typeof _0x6e361d[_0x51e810(0x119)][_0x51e810(0xec)]===_0x51e810(0xeb)&&_0x6e361d['rawFlags'][_0x51e810(0xec)]['trim']()||productEnv(_0x51e810(0xe1));if(_0x3b9ac2||_0x6e361d['appCodeSource']===_0x51e810(0xd5))return _0x1e0d79;const {getRemoteAppList:_0x5f2493}=await import('../commands/app/remote-source.js'),_0xccaf39=await _0x5f2493({'env':_0x6e361d['env']??_0x51e810(0x101),'accessKey':_0x6e361d[_0x51e810(0x112)]}),_0x438576=findAppByName(_0xccaf39[_0x51e810(0x108)],_0x2e695b);if(_0x438576&&!isRuntimeAccessibleApp(_0x438576))throw runtimeInaccessibleAppError(_0x438576,'\x22'+_0x2e695b+'\x22');const _0x452e92=_0x438576?.[_0x51e810(0xf4)]?.[_0x51e810(0xf8)]();if(_0x452e92)return _0x452e92;throw CliErrors[_0x51e810(0xd7)](_0x51e810(0xe6)+_0x2e695b,_0x51e810(0xde)+CLI_BIN_NAME+_0x51e810(0xd8)+_0x2e695b+'.appcode\x20to\x20'+PRODUCT_CONFIG[_0x51e810(0xf5)]+'.');}async function assertSelectedAppNameIsRuntimeAccessible(_0x4e5d16,_0x5e7f49){const _0x32536b=a124_0x52ca;if(_0x4e5d16[_0x32536b(0x104)]===![]||!_0x5e7f49['accessKey'])return;const _0x5cf7bc=(typeof _0x5e7f49[_0x32536b(0x119)][_0x32536b(0x10b)]===_0x32536b(0xeb)&&_0x5e7f49['rawFlags']['app'][_0x32536b(0xf8)]()?_0x5e7f49[_0x32536b(0x119)][_0x32536b(0x10b)]:_0x5e7f49[_0x32536b(0xe5)]?.[_0x32536b(0xdb)]??_0x5e7f49[_0x32536b(0xe5)]?.['defaultApp'])?.[_0x32536b(0xf8)]();if(!_0x5cf7bc)return;const {getRemoteAppList:_0x5b9ae6}=await import(_0x32536b(0xdc)),_0x3cd99d=await _0x5b9ae6({'env':_0x5e7f49[_0x32536b(0xd0)]??_0x32536b(0x101),'accessKey':_0x5e7f49[_0x32536b(0x112)]}),_0xfbd1a4=findAppByName(_0x3cd99d[_0x32536b(0x108)],_0x5cf7bc);if(_0xfbd1a4&&!isRuntimeAccessibleApp(_0xfbd1a4))throw runtimeInaccessibleAppError(_0xfbd1a4,'\x22'+_0x5cf7bc+'\x22');}async function assertAppCodeIsRuntimeAccessible(_0x41689a,_0x34a812,_0x374543){const _0x59ce9a=a124_0x52ca;if(_0x41689a[_0x59ce9a(0x104)]===![]||!_0x34a812[_0x59ce9a(0x112)])return;const {getRemoteAppList:_0x2b449f}=await import(_0x59ce9a(0xdc)),_0xec8558=await _0x2b449f({'env':_0x34a812['env']??_0x59ce9a(0x101),'accessKey':_0x34a812[_0x59ce9a(0x112)]}),_0xd73641=findAppByCode(_0xec8558[_0x59ce9a(0x108)],_0x374543);if(_0xd73641&&!isRuntimeAccessibleApp(_0xd73641))throw runtimeInaccessibleAppError(_0xd73641,_0x59ce9a(0xf1)+_0x374543+'\x22');}export async function runCommand(_0xc9165e,_0xa9a874,_0x5a5e7e=terminalRunnerAdapter){assertKnownCommandFlags(_0xc9165e,_0xa9a874['rawFlags']),await runCommandWithAdapter(shouldApplyVersionPolicy(_0xc9165e)?withVersionPolicy(_0xc9165e):_0xc9165e,_0xa9a874,_0x5a5e7e);}function shouldApplyVersionPolicy(_0x4819ed){const _0x2d4193=a124_0x52ca;if([_0x2d4193(0xee),_0x2d4193(0xff),_0x2d4193(0x106)][_0x2d4193(0x100)](_0x4819ed[_0x2d4193(0xf2)]))return![];return!(_0x4819ed['service']==='cli-skill'&&_0x4819ed[_0x2d4193(0xe3)]==='install');}function withVersionPolicy(_0xebf61e){return{..._0xebf61e,async 'execute'(_0x989cfa){const _0x170584=a124_0x52ca,_0x4ccfdb=await checkCliVersion();assertCliVersionSupported(_0x4ccfdb);const _0x3e7985=shouldResolveUpdateNotice(_0x989cfa)?resolveLatestUpdateNotice(_0x4ccfdb)[_0x170584(0x11a)](()=>null):Promise[_0x170584(0xd1)](null),_0x1f1889=await _0xebf61e[_0x170584(0xe9)](_0x989cfa);return attachUpdateNotice(_0x1f1889,await _0x3e7985);}};}function shouldResolveUpdateNotice(_0x26248d){const _0x3d01b2=a124_0x52ca;return _0x26248d[_0x3d01b2(0xf9)]===_0x3d01b2(0xd9)&&!_0x26248d[_0x3d01b2(0xf6)];}function attachUpdateNotice(_0x51d925,_0x34813f){const _0x3f6855=a124_0x52ca;if(!_0x34813f||!_0x51d925||typeof _0x51d925!==_0x3f6855(0x10d))return _0x51d925;const _0x318f34=_0x51d925,_0x583950=typeof _0x318f34['_notice']===_0x3f6855(0x10d)&&_0x318f34['_notice']!==null?_0x318f34['_notice']:{};return{..._0x318f34,'_notice':{..._0x583950,'update':_0x34813f}};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x5373e5,_0x4d4ccb){const _0x8e0937=a125_0x1534,_0x199878=_0x5373e5();while(!![]){try{const _0x2780f6=parseInt(_0x8e0937(0x77))/0x1*(-parseInt(_0x8e0937(0x72))/0x2)+parseInt(_0x8e0937(0x70))/0x3+parseInt(_0x8e0937(0x75))/0x4+-parseInt(_0x8e0937(0x74))/0x5*(-parseInt(_0x8e0937(0x6b))/0x6)+parseInt(_0x8e0937(0x7c))/0x7*(parseInt(_0x8e0937(0x7b))/0x8)+-parseInt(_0x8e0937(0x6c))/0x9*(-parseInt(_0x8e0937(0x69))/0xa)+parseInt(_0x8e0937(0x6f))/0xb*(-parseInt(_0x8e0937(0x71))/0xc);if(_0x2780f6===_0x4d4ccb)break;else _0x199878['push'](_0x199878['shift']());}catch(_0x36c21d){_0x199878['push'](_0x199878['shift']());}}}(a125_0x306b,0x9bd26));import{buildSchemaPayload as a125_0x3bff20}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{findDynamicServiceDefinition,listDynamicServiceEntries}from'../commands/service/dynamic.js';function a125_0x1534(_0xc636af,_0x290d6b){_0xc636af=_0xc636af-0x69;const _0x306bac=a125_0x306b();let _0x153476=_0x306bac[_0xc636af];return _0x153476;}import{insertDynamicServicesAfterServiceTree}from'../framework/service-order.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliGitCommit,getCliVersion}from'../utils/version.js';function a125_0x306b(){const _0x302b79=['12ewUdeS','622XCJHth','filter','5yUSlzZ','4823584qYtIjq','auth','263fBYlpC','service','requiresAuth','map','8tVsOws','1795451IKEEUP','services','6880FKeeFT','none','469494AohNzo','9999ILaDGu','../commands/registry.js','commands','20847739wfPnEw','930846EXmWWP'];a125_0x306b=function(){return _0x302b79;};return a125_0x306b();}export async function buildSchemaPayload(){const _0x198207=a125_0x1534,{serviceRegistry:_0x266f4c,findDefinition:_0x2e75ee}=await import(_0x198207(0x6d)),_0x3fc467=new Set(_0x266f4c[_0x198207(0x7a)](_0x47c7ad=>_0x47c7ad['service'])),_0x40d41b=listDynamicServiceEntries()[_0x198207(0x73)](_0x47fef1=>!_0x3fc467['has'](_0x47fef1[_0x198207(0x78)])),_0x30392c=a125_0x3bff20({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':getCliGitCommit(),'globalFlags':GLOBAL_FLAGS,'serviceRegistry':insertDynamicServicesAfterServiceTree(_0x266f4c,_0x40d41b),'buildAllFlags':buildAllFlags,'findDefinition':(_0x56a99f,_0x5ce97f)=>_0x2e75ee(_0x56a99f,_0x5ce97f)??findDynamicServiceDefinition(_0x56a99f,_0x5ce97f)});return normalizeSchemaPayload(_0x30392c);}function normalizeSchemaPayload(_0x9ab391){const _0x117bb8=a125_0x1534;return{..._0x9ab391,'schemaVersion':0x2,'services':_0x9ab391[_0x117bb8(0x7d)][_0x117bb8(0x7a)](_0x321640=>({..._0x321640,'commands':_0x321640[_0x117bb8(0x6e)]['map'](normalizeSchemaCommand)}))};}function normalizeSchemaCommand(_0x2759f7){const _0x3ac8da=a125_0x1534,_0x2acb7c=_0x2759f7;return{..._0x2759f7,'auth':_0x2acb7c[_0x3ac8da(0x76)]??(_0x2759f7[_0x3ac8da(0x79)]?'required':_0x3ac8da(0x6a))};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a126_0x593b(){const _0x5f4930=['service','13aNvCQu','1293259HHteCU','9LzbtVk','findIndex','42GZZUih','487794xxGxqo','slice','4194204vmdnUF','16792SbxTkJ','8849424BXIlbV','length','7hilgsT','3750176sCeAsK','207660NdKDdu','30RuBKLr','5eGgXed'];a126_0x593b=function(){return _0x5f4930;};return a126_0x593b();}(function(_0x364fe0,_0x4afe04){const _0x2c2f65=a126_0x2fe2,_0x16d6a5=_0x364fe0();while(!![]){try{const _0x16de1a=parseInt(_0x2c2f65(0x117))/0x1*(parseInt(_0x2c2f65(0x119))/0x2)+parseInt(_0x2c2f65(0x121))/0x3*(parseInt(_0x2c2f65(0x114))/0x4)+-parseInt(_0x2c2f65(0x11b))/0x5*(parseInt(_0x2c2f65(0x111))/0x6)+parseInt(_0x2c2f65(0x113))/0x7+parseInt(_0x2c2f65(0x118))/0x8*(parseInt(_0x2c2f65(0x11f))/0x9)+parseInt(_0x2c2f65(0x11a))/0xa*(-parseInt(_0x2c2f65(0x11e))/0xb)+-parseInt(_0x2c2f65(0x115))/0xc*(parseInt(_0x2c2f65(0x11d))/0xd);if(_0x16de1a===_0x4afe04)break;else _0x16d6a5['push'](_0x16d6a5['shift']());}catch(_0x144f80){_0x16d6a5['push'](_0x16d6a5['shift']());}}}(a126_0x593b,0xa6854));function a126_0x2fe2(_0x573aa3,_0x3bbdaa){_0x573aa3=_0x573aa3-0x111;const _0x593bbc=a126_0x593b();let _0x2fe226=_0x593bbc[_0x573aa3];return _0x2fe226;}export function insertDynamicServicesAfterServiceTree(_0x2850c0,_0x1ab993){const _0x2e97c5=a126_0x2fe2;if(_0x1ab993[_0x2e97c5(0x116)]===0x0)return[..._0x2850c0];const _0x53b107=_0x2850c0[_0x2e97c5(0x120)](_0x4e6a4a=>_0x4e6a4a['service']===_0x2e97c5(0x11c));if(_0x53b107<0x0)return[..._0x2850c0,..._0x1ab993];return[..._0x2850c0[_0x2e97c5(0x112)](0x0,_0x53b107+0x1),..._0x1ab993,..._0x2850c0['slice'](_0x53b107+0x1)];}
|
package/lib/framework/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a127_0x135c(_0x1f0b05,_0x34b288){_0x1f0b05=_0x1f0b05-0x1cc;var _0x3af152=a127_0x3af1();var _0x135c3d=_0x3af152[_0x1f0b05];return _0x135c3d;}(function(_0x43bbd8,_0x5bedd8){var _0x2a306a=a127_0x135c,_0x121987=_0x43bbd8();while(!![]){try{var _0x55ba29=parseInt(_0x2a306a(0x1d0))/0x1+-parseInt(_0x2a306a(0x1cf))/0x2*(-parseInt(_0x2a306a(0x1cc))/0x3)+-parseInt(_0x2a306a(0x1d6))/0x4+parseInt(_0x2a306a(0x1d4))/0x5+-parseInt(_0x2a306a(0x1d1))/0x6*(parseInt(_0x2a306a(0x1d5))/0x7)+parseInt(_0x2a306a(0x1ce))/0x8*(-parseInt(_0x2a306a(0x1d2))/0x9)+-parseInt(_0x2a306a(0x1cd))/0xa*(parseInt(_0x2a306a(0x1d3))/0xb);if(_0x55ba29===_0x5bedd8)break;else _0x121987['push'](_0x121987['shift']());}catch(_0x65a57a){_0x121987['push'](_0x121987['shift']());}}}(a127_0x3af1,0x2d0b0));function a127_0x3af1(){var _0x4d806f=['1025832BoYWnJ','17289ZwtroS','10wKPXoU','40wkvfPY','110Rucmxe','360814ykJsMm','12umNSdl','471843aVDirW','3125166NrQMhG','1616060btHkzM','48286WqFtIg'];a127_0x3af1=function(){return _0x4d806f;};return a127_0x3af1();}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';
|
|
@@ -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-10-
|
|
1
|
+
export declare const VERSION = "2.3.7-beta.1";
|
|
2
|
+
export declare const GIT_TAG = "v2.3.7-beta.1";
|
|
3
|
+
export declare const GIT_COMMIT = "3cf3750";
|
|
4
|
+
export declare const BUILD_TIME = "2026-10-27T16:05:20.425Z";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a128_0x44af79=a128_0x519f;(function(_0x555a5a,_0x508ff1){const _0x505def=a128_0x519f,_0x36b71d=_0x555a5a();while(!![]){try{const _0x5777bd=-parseInt(_0x505def(0x9a))/0x1*(parseInt(_0x505def(0x9b))/0x2)+-parseInt(_0x505def(0x95))/0x3+parseInt(_0x505def(0x9c))/0x4+parseInt(_0x505def(0x92))/0x5*(-parseInt(_0x505def(0x93))/0x6)+parseInt(_0x505def(0x9d))/0x7+parseInt(_0x505def(0x99))/0x8+parseInt(_0x505def(0x96))/0x9;if(_0x5777bd===_0x508ff1)break;else _0x36b71d['push'](_0x36b71d['shift']());}catch(_0x530697){_0x36b71d['push'](_0x36b71d['shift']());}}}(a128_0x1a1d,0x6e88a));function a128_0x1a1d(){const _0x318704=['11207178sDRVlG','3cf3750','v2.3.7-beta.1','430120uSzMjk','742535cnaUab','2WyxRYz','293312oiZICX','882847blmUts','2026-10-27T16:05:20.425Z','55pzdDRL','88314luuvjP','2.3.7-beta.1','423798NgeaSN'];a128_0x1a1d=function(){return _0x318704;};return a128_0x1a1d();}export const VERSION=a128_0x44af79(0x94);function a128_0x519f(_0x224c7e,_0x106a4c){_0x224c7e=_0x224c7e-0x91;const _0x1a1dc8=a128_0x1a1d();let _0x519f12=_0x1a1dc8[_0x224c7e];return _0x519f12;}export const GIT_TAG=a128_0x44af79(0x98);export const GIT_COMMIT=a128_0x44af79(0x97);export const BUILD_TIME=a128_0x44af79(0x91);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a129_0x59ca76=a129_0x3b40;(function(_0x4e3257,_0x5a338d){const _0x5c20ef=a129_0x3b40,_0x5008c4=_0x4e3257();while(!![]){try{const _0x3f6026=parseInt(_0x5c20ef(0x147))/0x1+parseInt(_0x5c20ef(0x141))/0x2+parseInt(_0x5c20ef(0x130))/0x3*(-parseInt(_0x5c20ef(0x135))/0x4)+-parseInt(_0x5c20ef(0x139))/0x5+-parseInt(_0x5c20ef(0x13c))/0x6+parseInt(_0x5c20ef(0x12a))/0x7*(-parseInt(_0x5c20ef(0x146))/0x8)+parseInt(_0x5c20ef(0x142))/0x9*(parseInt(_0x5c20ef(0x145))/0xa);if(_0x3f6026===_0x5a338d)break;else _0x5008c4['push'](_0x5008c4['shift']());}catch(_0x5ff2a6){_0x5008c4['push'](_0x5008c4['shift']());}}}(a129_0x298a,0xb8ccd));function a129_0x298a(){const _0x5906c7=['10RIxRfn','232uUhGzw','1404536AveOla','https://user.lovrabet.ai','https://daily-api.lovrabet.com','https://daily-api.lovrabet.ai','185479EVkizW','Indonesia','https://skills-daily.lovrabet.com','global','https://api.lovrabet.ai','https://runtime.lovrabet.com','9jKjdvW','https://skills.lovrabet.id','Mainland\x20China','https://skills.lovrabet.com','https://kb-service.lovrabet.com','1566172tRFUSU','https://daily-runtime.lovrabet.com','https://skills-daily.lovrabet.ai','https://kb-service-daily.lovrabet.com','7161500PqWoBz','Global','https://user-daily.lovrabet.com','3244824VjEKsj','https://kb-service.lovrabet.id','https://api.lovrabet.com','indonesia','886843ef89aa4ff2b36d612e8fbd1b6c1840b37728916fba5699be34129ef579','3011684BzLwvV','15864381skUEbx','https://skills.lovrabet.ai','https://api.lovrabet.id'];a129_0x298a=function(){return _0x5906c7;};return a129_0x298a();}export const ROUTING_CATALOG_DIGEST=a129_0x59ca76(0x140);function a129_0x3b40(_0x269468,_0x3ed14b){_0x269468=_0x269468-0x128;const _0x298a76=a129_0x298a();let _0x3b40d3=_0x298a76[_0x269468];return _0x3b40d3;}export const DEFAULT_REGION='cn';export const REGION_VALUES=['cn','id','global'];export const ENABLED_REGION_VALUES=['cn','id',a129_0x59ca76(0x12d)];export const OFFICIAL_ROUTING_PROFILES={'cn':{'enabled':!![],'label':a129_0x59ca76(0x132),'aliases':['china'],'serviceDomains':{'production':{'user':'https://user.lovrabet.com','api':a129_0x59ca76(0x13e),'runtime':a129_0x59ca76(0x12f),'skill':a129_0x59ca76(0x133),'kbService':a129_0x59ca76(0x134)},'daily':{'user':a129_0x59ca76(0x13b),'api':a129_0x59ca76(0x128),'runtime':a129_0x59ca76(0x136),'skill':a129_0x59ca76(0x12c),'kbService':a129_0x59ca76(0x138)}}},'id':{'enabled':!![],'label':a129_0x59ca76(0x12b),'aliases':[a129_0x59ca76(0x13f)],'serviceDomains':{'production':{'user':'https://user.lovrabet.id','api':a129_0x59ca76(0x144),'runtime':'https://runtime.lovrabet.id','skill':a129_0x59ca76(0x131),'kbService':a129_0x59ca76(0x13d)}}},'global':{'enabled':!![],'label':a129_0x59ca76(0x13a),'aliases':[],'serviceDomains':{'production':{'user':a129_0x59ca76(0x148),'api':a129_0x59ca76(0x12e),'runtime':'https://runtime.lovrabet.ai','skill':a129_0x59ca76(0x143)},'daily':{'user':'https://user-daily.lovrabet.ai','api':a129_0x59ca76(0x129),'runtime':'https://daily-runtime.lovrabet.ai','skill':a129_0x59ca76(0x137)}}}};export const REGION_ALIASES={'china':'cn','indonesia':'id'};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a130_0x4c2d(){const _0x406dc4=['apiDomain','3sDUfCu','userDomain','687cZnHvo','410qdNYYL','946564DHUKTT','106576TEHvPE','skillDomain','10254iHZKcI','lovrabet-routing/v1','26gjXvyQ','238vXlXSi','15750oJqexr','800qUGKWS','3545412zRubva','386EQPNtR','7303945KhmoXs','runtimeDomain'];a130_0x4c2d=function(){return _0x406dc4;};return a130_0x4c2d();}const a130_0x58a950=a130_0x3332;(function(_0x2edbd5,_0x1eaf33){const _0x4164dc=a130_0x3332,_0x46b5ba=_0x2edbd5();while(!![]){try{const _0x3d4776=parseInt(_0x4164dc(0x115))/0x1*(-parseInt(_0x4164dc(0x121))/0x2)+-parseInt(_0x4164dc(0x113))/0x3*(-parseInt(_0x4164dc(0x117))/0x4)+-parseInt(_0x4164dc(0x116))/0x5*(parseInt(_0x4164dc(0x11a))/0x6)+-parseInt(_0x4164dc(0x11d))/0x7*(-parseInt(_0x4164dc(0x118))/0x8)+-parseInt(_0x4164dc(0x11e))/0x9*(parseInt(_0x4164dc(0x11f))/0xa)+parseInt(_0x4164dc(0x122))/0xb+-parseInt(_0x4164dc(0x120))/0xc*(parseInt(_0x4164dc(0x11c))/0xd);if(_0x3d4776===_0x1eaf33)break;else _0x46b5ba['push'](_0x46b5ba['shift']());}catch(_0x14310e){_0x46b5ba['push'](_0x46b5ba['shift']());}}}(a130_0x4c2d,0x55701));export const ENTERPRISE_ROUTING_SCHEMA_DIGEST='e3423cad71c22edb18a8481be7bdb733ff2d4136c31aa3ae6da56271e32cced7';function a130_0x3332(_0x391a46,_0x1e8fb4){_0x391a46=_0x391a46-0x112;const _0x4c2d9c=a130_0x4c2d();let _0x333296=_0x4c2d9c[_0x391a46];return _0x333296;}export const ENTERPRISE_ROUTING_PROTOCOL=a130_0x58a950(0x11b);export const ENTERPRISE_ROUTING_KIND='enterprise';export const ENTERPRISE_ROUTING_DOMAIN_FIELDS=['userDomain',a130_0x58a950(0x112),a130_0x58a950(0x123),a130_0x58a950(0x119),'kbServiceDomain'];export const REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS=[a130_0x58a950(0x114),'apiDomain','runtimeDomain',a130_0x58a950(0x119)];
|
package/lib/help.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a131_0x1488(){const _0x29540e=['green','45396593lyXVel','1227828GPAQYc','3420432GGqdwm','10PhSjbN','63694zHaGaE','7515dapYoC','\x20--help','40lmeQoa','1988SLvcXa','\x20\x20Use\x20','21xxGeAa','column','5075975fzSEKb','8847864eChtAR'];a131_0x1488=function(){return _0x29540e;};return a131_0x1488();}(function(_0x4a47f0,_0x341cc8){const _0x25bf18=a131_0x4f09,_0x3a7180=_0x4a47f0();while(!![]){try{const _0x4f042f=-parseInt(_0x25bf18(0x99))/0x1*(parseInt(_0x25bf18(0x9c))/0x2)+parseInt(_0x25bf18(0x9a))/0x3*(-parseInt(_0x25bf18(0x9d))/0x4)+-parseInt(_0x25bf18(0xa1))/0x5+-parseInt(_0x25bf18(0xa5))/0x6+parseInt(_0x25bf18(0x9f))/0x7*(parseInt(_0x25bf18(0x97))/0x8)+-parseInt(_0x25bf18(0xa2))/0x9+parseInt(_0x25bf18(0x98))/0xa*(parseInt(_0x25bf18(0xa4))/0xb);if(_0x4f042f===_0x341cc8)break;else _0x3a7180['push'](_0x3a7180['shift']());}catch(_0x9b2daf){_0x3a7180['push'](_0x3a7180['shift']());}}}(a131_0x1488,0xa7ed7));function a131_0x4f09(_0x1101a2,_0x58edc4){_0x1101a2=_0x1101a2-0x97;const _0x1488c6=a131_0x1488();let _0x4f097f=_0x1488c6[_0x1101a2];return _0x4f097f;}import{jsx as a131_0x5f16f6,jsxs as a131_0x50a45d}from'react/jsx-runtime';import{useEffect}from'react';import{Box,Text,useApp}from'ink';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function Help(){const _0xc57263=a131_0x4f09,{exit:_0x4f53e7}=useApp();return useEffect(()=>{_0x4f53e7();},[_0x4f53e7]),a131_0x50a45d(Box,{'flexDirection':_0xc57263(0xa0),'marginTop':0x1,'marginBottom':0x1,'children':[a131_0x5f16f6(Box,{'children':a131_0x5f16f6(Text,{'bold':!![],'color':'green','children':'\x20\x20'+CLI_DISPLAY_NAME})}),a131_0x50a45d(Box,{'marginTop':0x1,'children':[a131_0x5f16f6(Text,{'dimColor':!![],'children':_0xc57263(0x9e)}),a131_0x5f16f6(Text,{'bold':!![],'color':_0xc57263(0xa3),'children':CLI_BIN_NAME+_0xc57263(0x9b)}),a131_0x5f16f6(Text,{'dimColor':!![],'children':'\x20to\x20view\x20available\x20commands.'})]})]});}
|
package/lib/postinstall.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x1e3ad6,_0x1f81e7){const _0x54ef1a=a132_0x304c,_0x4ad078=_0x1e3ad6();while(!![]){try{const _0x6bc2df=parseInt(_0x54ef1a(0xde))/0x1+-parseInt(_0x54ef1a(0xd6))/0x2*(-parseInt(_0x54ef1a(0xe7))/0x3)+parseInt(_0x54ef1a(0xd9))/0x4*(-parseInt(_0x54ef1a(0xd8))/0x5)+parseInt(_0x54ef1a(0xec))/0x6*(-parseInt(_0x54ef1a(0xe2))/0x7)+parseInt(_0x54ef1a(0xdc))/0x8*(-parseInt(_0x54ef1a(0xe6))/0x9)+-parseInt(_0x54ef1a(0xdd))/0xa+parseInt(_0x54ef1a(0xe3))/0xb;if(_0x6bc2df===_0x1f81e7)break;else _0x4ad078['push'](_0x4ad078['shift']());}catch(_0x18526b){_0x4ad078['push'](_0x4ad078['shift']());}}}(a132_0x5b59,0x37f3f));function a132_0x304c(_0xfb7b91,_0xcdacaf){_0xfb7b91=_0xfb7b91-0xd6;const _0x5b5920=a132_0x5b59();let _0x304c0b=_0x5b5920[_0xfb7b91];return _0x304c0b;}import{installBuiltinSkill}from'./skills/builtin-skill.js';export async function runPostinstall(_0x5c6941={}){const _0x5a592c=a132_0x304c,_0x156a27=installBuiltinSkill(_0x5c6941);if(_0x156a27['ok']){const _0x32f28b=_0x156a27[_0x5a592c(0xe0)]?_0x5a592c(0xe5):_0x5a592c(0xda),_0x18a012=_0x156a27[_0x5a592c(0xdf)]?_0x5a592c(0xe9)+_0x156a27['installedPath']:_0x5a592c(0xeb);return console['log'](_0x5a592c(0xee)+_0x156a27[_0x5a592c(0xe1)]+'\x20'+_0x32f28b+_0x18a012),_0x156a27;}const _0x40f57d='[BUILTIN_SKILL_INSTALL_'+(_0x156a27[_0x5a592c(0xed)]??_0x5a592c(0xea))+']\x20'+(_0x156a27[_0x5a592c(0xef)]??_0x5a592c(0xe4))+'.\x20'+(_0x5a592c(0xd7)+_0x156a27[_0x5a592c(0xe8)]);if(_0x156a27[_0x5a592c(0xed)]===_0x5a592c(0xdb))throw new Error(_0x40f57d);return console['warn'](_0x40f57d),_0x156a27;}function a132_0x5b59(){const _0xd67413=['2169295nVXHHv','4dxdUwB','already\x20current','SOURCE_INVALID','678584PYetbq','2166780FDdObe','85429iiCVpn','installedPath','changed','skillVersion','77RHHfEj','12847703JEvUIN','Installation\x20failed','installed','27XAGXNy','3KIMynP','repairCommand','\x20at\x20','FAILED','\x20via\x20skills@latest','80394xtAlll','code','Lovrabet\x20Built-in\x20Skill\x20','error','56352gxWtaH','Repair\x20with:\x20'];a132_0x5b59=function(){return _0xd67413;};return a132_0x5b59();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x286ef4,_0x5c6224){const _0x122c6c=a133_0x368f,_0x546ef9=_0x286ef4();while(!![]){try{const _0x543f17=parseInt(_0x122c6c(0x1eb))/0x1+-parseInt(_0x122c6c(0x1e1))/0x2+-parseInt(_0x122c6c(0x1e5))/0x3*(parseInt(_0x122c6c(0x1e9))/0x4)+-parseInt(_0x122c6c(0x1f0))/0x5+parseInt(_0x122c6c(0x1e2))/0x6+-parseInt(_0x122c6c(0x1e4))/0x7*(-parseInt(_0x122c6c(0x1e6))/0x8)+parseInt(_0x122c6c(0x1ed))/0x9*(-parseInt(_0x122c6c(0x1df))/0xa);if(_0x543f17===_0x5c6224)break;else _0x546ef9['push'](_0x546ef9['shift']());}catch(_0x590256){_0x546ef9['push'](_0x546ef9['shift']());}}}(a133_0x15c7,0x75ebf));function a133_0x15c7(){const _0x9131b2=['high-risk-write','46341ryUwzr','risk','Lovrabet\x20confirmation\x20requires\x20a\x20write\x20command.','2084030IfhabY','description','2080ZPDvzN','string','190216ZURCQk','5395536PIcpyn','replace','2627877nRDLFt','1059eKFCFl','16ymcGAD','write','Run\x20this\x20write\x20operation','852MYJbLw','trim','491024ObhFMd'];a133_0x15c7=function(){return _0x9131b2;};return a133_0x15c7();}const DESCRIPTION_MAX_LENGTH=0x1f4;export function buildLovrabetConfirmationRequest(_0x1828e2,_0x492c39,_0x5b8b4d){const _0x3e2699=a133_0x368f,_0x5c4b2a=normalizeText(_0x1828e2['confirmationDescription'],DESCRIPTION_MAX_LENGTH),_0x284887=normalizeText(_0x1828e2[_0x3e2699(0x1f1)],DESCRIPTION_MAX_LENGTH);return{'operation':_0x492c39,'risk':requireWriteRisk(_0x1828e2),'description':_0x5c4b2a||_0x284887||_0x3e2699(0x1e8),..._0x5b8b4d?{'signal':_0x5b8b4d}:{}};}function a133_0x368f(_0x567843,_0x4a0a6d){_0x567843=_0x567843-0x1df;const _0x15c72c=a133_0x15c7();let _0x368f29=_0x15c72c[_0x567843];return _0x368f29;}function requireWriteRisk(_0x29ebb8){const _0x4d0716=a133_0x368f;if(_0x29ebb8[_0x4d0716(0x1ee)]===_0x4d0716(0x1e7)||_0x29ebb8[_0x4d0716(0x1ee)]===_0x4d0716(0x1ec))return _0x29ebb8['risk'];throw new Error(_0x4d0716(0x1ef));}function normalizeText(_0x41f69f,_0xa4836f){const _0xf3e318=a133_0x368f;if(typeof _0x41f69f!==_0xf3e318(0x1e0))return'';return _0x41f69f[_0xf3e318(0x1e3)](/[\u0000-\u001f\u007f]+/g,'\x20')[_0xf3e318(0x1e3)](/\s+/g,'\x20')[_0xf3e318(0x1ea)]()['slice'](0x0,_0xa4836f);}
|
package/lib/runtime/event.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x42a034,_0x4e5dda){const _0x9c540=a134_0x540e,_0x81df77=_0x42a034();while(!![]){try{const _0xe4ea53=-parseInt(_0x9c540(0x7b))/0x1*(-parseInt(_0x9c540(0x7c))/0x2)+-parseInt(_0x9c540(0x86))/0x3+parseInt(_0x9c540(0x78))/0x4+parseInt(_0x9c540(0x80))/0x5+-parseInt(_0x9c540(0x7f))/0x6*(parseInt(_0x9c540(0x83))/0x7)+parseInt(_0x9c540(0x85))/0x8+parseInt(_0x9c540(0x82))/0x9;if(_0xe4ea53===_0x4e5dda)break;else _0x81df77['push'](_0x81df77['shift']());}catch(_0x241a2c){_0x81df77['push'](_0x81df77['shift']());}}}(a134_0xe943,0xc1e9f));function a134_0xe943(){const _0x2715d8=['filter','576QiiVWA','52cbJOde','command','service','288oFENkR','417585VlHKdf','write','3292623QpVTid','82726ubTGLS','join','6508840RwKvPa','2614179YyUQSq','writeEventSubject','high-risk-write','trim','lovrabet.write.completed','3819932Kpdiqd','risk'];a134_0xe943=function(){return _0x2715d8;};return a134_0xe943();}export function canonicalLovrabetOperation(_0xdd0893){const _0x48c19c=a134_0x540e;return[_0xdd0893[_0x48c19c(0x7e)],..._0xdd0893[_0x48c19c(0x7d)][_0x48c19c(0x76)]()['split'](/\s+/)][_0x48c19c(0x7a)](Boolean)[_0x48c19c(0x84)]('.');}function a134_0x540e(_0x5d2f90,_0x3434f6){_0x5d2f90=_0x5d2f90-0x76;const _0xe943b6=a134_0xe943();let _0x540e23=_0xe943b6[_0x5d2f90];return _0x540e23;}export function createLovrabetWriteMetadata(_0x14f94a,_0xa8fd80,_0xb51aeb,_0x100d59){const _0x5981dd=a134_0x540e;if(_0x100d59||_0xb51aeb['ok']!==!![]||_0x14f94a[_0x5981dd(0x79)]!==_0x5981dd(0x81)&&_0x14f94a[_0x5981dd(0x79)]!==_0x5981dd(0x88))return undefined;const _0x93f949=_0x14f94a[_0x5981dd(0x87)]?.(_0xb51aeb),_0x2d5308={'type':_0x5981dd(0x77),'operation':_0xa8fd80,'risk':_0x14f94a[_0x5981dd(0x79)],..._0x93f949?{'subject':_0x93f949}:{}};return{'lovrabet':{'schemaVersion':0x1,'event':_0x2d5308}};}
|