@lovrabet/lovrabet-cli 2.3.2-beta.2 → 2.3.2-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/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/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.js +1 -1
- package/lib/core/db-resolver.js +1 -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.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/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/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 +1 -1
- package/skills/lovrabet.manifest.json +3 -3
package/lib/framework/help.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x544e9b,_0x328fba){const _0x2de2d3=a111_0x46b0,_0xbf99f5=_0x544e9b();while(!![]){try{const _0x1c39bb=parseInt(_0x2de2d3(0x12a))/0x1+-parseInt(_0x2de2d3(0x128))/0x2*(-parseInt(_0x2de2d3(0x11c))/0x3)+-parseInt(_0x2de2d3(0x121))/0x4*(parseInt(_0x2de2d3(0x11f))/0x5)+-parseInt(_0x2de2d3(0x12c))/0x6*(-parseInt(_0x2de2d3(0x11d))/0x7)+parseInt(_0x2de2d3(0x127))/0x8+parseInt(_0x2de2d3(0x11b))/0x9*(-parseInt(_0x2de2d3(0x122))/0xa)+-parseInt(_0x2de2d3(0x129))/0xb;if(_0x1c39bb===_0x328fba)break;else _0xbf99f5['push'](_0xbf99f5['shift']());}catch(_0x5e69f6){_0xbf99f5['push'](_0xbf99f5['shift']());}}}(a111_0x5d6f,0x1acbc));import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';function a111_0x5d6f(){const _0x4a275e=['68010McteXh','service','9mjCxbx','39VnMjit','133QYSXYc','filter','677170UnUxLz','map','4tVkJnV','543210YNoiWi','Requires\x20appcode\x20(set\x20via\x20','\x20or\x20--appcode).','has','generateCommandHelp','1563376ulqecy','29782dTdkIH','4600750cjvljc','113391qKXkcR','generateFullHelp'];a111_0x5d6f=function(){return _0x4a275e;};return a111_0x5d6f();}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 a111_0x46b0(_0xb3ea1e,_0x17598c){_0xb3ea1e=_0xb3ea1e-0x11b;const _0x5d6f41=a111_0x5d6f();let _0x46b051=_0x5d6f41[_0xb3ea1e];return _0x46b051;}import{PRODUCT_CONFIG}from'../constant/product.js';function createGenerators(){const _0x394273=a111_0x46b0;return createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':insertDynamicServicesAfterServiceTree(serviceRegistry,safeListDynamicServiceEntries()),'getServiceEntry':getAnyServiceEntry,'getServiceDefinitions':getAnyServiceDefinitions,'buildAllFlags':buildAllFlags,'appPrerequisiteText':_0x394273(0x123)+PRODUCT_CONFIG['newConfigFileName']+_0x394273(0x124)});}export function generateCommandHelp(_0x87220e){const _0xa17ba4=a111_0x46b0;return createGenerators()[_0xa17ba4(0x126)](_0x87220e);}export function generateServiceHelp(_0x5028cf){return createGenerators()['generateServiceHelp'](_0x5028cf);}export function generateFullHelp(){const _0x5655f1=a111_0x46b0;return createGenerators()[_0x5655f1(0x12b)]();}function getAnyServiceEntry(_0x2267dd){const _0x8c25da=getServiceEntry(_0x2267dd);if(_0x8c25da)return _0x8c25da;try{return getDynamicServiceEntry(_0x2267dd);}catch{return undefined;}}function getAnyServiceDefinitions(_0x1387cc){const _0x1f54bd=serviceGroups['get'](_0x1387cc);if(_0x1f54bd)return _0x1f54bd;try{return getDynamicServiceDefinitions(_0x1387cc);}catch{return undefined;}}function safeListDynamicServiceEntries(){const _0x4420cd=a111_0x46b0,_0x4d3949=new Set(serviceRegistry[_0x4420cd(0x120)](_0x240add=>_0x240add[_0x4420cd(0x12d)]));try{return listDynamicServiceEntries()[_0x4420cd(0x11e)](_0x1cfa58=>!_0x4d3949[_0x4420cd(0x125)](_0x1cfa58[_0x4420cd(0x12d)]));}catch{return[];}}
|
package/lib/framework/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a112_0x505a(_0x502087,_0x96f983){_0x502087=_0x502087-0x108;var _0x1133d3=a112_0x1133();var _0x505ae1=_0x1133d3[_0x502087];return _0x505ae1;}(function(_0x3eae12,_0x148635){var _0x4e5fae=a112_0x505a,_0x4ea86a=_0x3eae12();while(!![]){try{var _0x3ec802=parseInt(_0x4e5fae(0x10b))/0x1*(parseInt(_0x4e5fae(0x10e))/0x2)+parseInt(_0x4e5fae(0x10c))/0x3+parseInt(_0x4e5fae(0x111))/0x4+-parseInt(_0x4e5fae(0x10a))/0x5+-parseInt(_0x4e5fae(0x108))/0x6*(-parseInt(_0x4e5fae(0x109))/0x7)+-parseInt(_0x4e5fae(0x10f))/0x8+-parseInt(_0x4e5fae(0x10d))/0x9*(-parseInt(_0x4e5fae(0x110))/0xa);if(_0x3ec802===_0x148635)break;else _0x4ea86a['push'](_0x4ea86a['shift']());}catch(_0x44e23f){_0x4ea86a['push'](_0x4ea86a['shift']());}}}(a112_0x1133,0x25477));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';function a112_0x1133(){var _0x8414e5=['368044IbzXfh','6EPxzka','1250767BoAbRi','1178480ncDXmT','35JhUknc','827883ftlvhW','313299MXhQNI','4376KkPFCX','2435712FwwUId','20KhhdTl'];a112_0x1133=function(){return _0x8414e5;};return a112_0x1133();}export{extractList,extractPaging}from'../framework/response.js';export{dryRun}from'../framework/dryrun.js';export{riskLevelOrder,isValidFormat}from'../framework/types.js';
|
package/lib/framework/output.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x3e8987,_0x216673){const _0x27733c=a113_0x51f4,_0x3c4124=_0x3e8987();while(!![]){try{const _0x2f5b9d=parseInt(_0x27733c(0xc1))/0x1*(-parseInt(_0x27733c(0xbd))/0x2)+parseInt(_0x27733c(0xc6))/0x3*(parseInt(_0x27733c(0xc5))/0x4)+parseInt(_0x27733c(0xc0))/0x5+parseInt(_0x27733c(0xcc))/0x6*(parseInt(_0x27733c(0xc9))/0x7)+parseInt(_0x27733c(0xc7))/0x8*(parseInt(_0x27733c(0xc8))/0x9)+-parseInt(_0x27733c(0xcb))/0xa*(parseInt(_0x27733c(0xc3))/0xb)+-parseInt(_0x27733c(0xbf))/0xc;if(_0x2f5b9d===_0x216673)break;else _0x3c4124['push'](_0x3c4124['shift']());}catch(_0x3450d2){_0x3c4124['push'](_0x3c4124['shift']());}}}(a113_0x4923,0x21367));function a113_0x4923(){const _0x80f1d1=['846615CZcdbb','245747SQYfaQ','_notice','2033471WihePA','update','644596VYlTSP','3iRzbJf','171592grUZeS','54GaHuHA','125447JFeTCE','error','10ZtZdrw','42aNCPSW','url','message','format','2XtddTC','pretty','215592MSXaCr'];a113_0x4923=function(){return _0x80f1d1;};return a113_0x4923();}function a113_0x51f4(_0x13649f,_0x11f269){_0x13649f=_0x13649f-0xbc;const _0x49237c=a113_0x4923();let _0x51f44c=_0x49237c[_0x13649f];return _0x51f44c;}import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';const baseFormatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});export function formatOutput(_0x2521cb,_0x104717){const _0xda965b=a113_0x51f4,_0x1aaa99=_0x2521cb[_0xda965b(0xc2)],{_notice:_0x16d7f6,..._0x5601f9}=_0x2521cb;void _0x16d7f6,baseFormatOutput(_0x5601f9,_0x104717),_0x104717[_0xda965b(0xbc)]===_0xda965b(0xbe)&&printPrettyNotice(_0x1aaa99);}function printPrettyNotice(_0x21858d){const _0xba6ddf=a113_0x51f4;if(!_0x21858d?.[_0xba6ddf(0xc4)])return;console[_0xba6ddf(0xca)](_0x21858d[_0xba6ddf(0xc4)][_0xba6ddf(0xce)]+'\x20('+_0x21858d[_0xba6ddf(0xc4)][_0xba6ddf(0xcd)]+')');}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a114_0xe73c(){const _0x566442=['3062940ySmMZN','entries','1422115YUXtiR','keys','replace','dryRun','yes','set','8031YHIlXG','slice','alias','7gWJlXT','appcode','string','has','original','34520WhTPRF','188901VNcDdD','nonInteractive','96TjLhYa','456JIcQKO','458910CNPtyy','name','355092tEPmHC','length','dry-run','version','env','app','indexOf','add','boolean','non-interactive','global','type','toLowerCase','number','push','toUpperCase','get'];a114_0xe73c=function(){return _0x566442;};return a114_0xe73c();}(function(_0x2ee557,_0x189936){const _0x5239ee=a114_0x2edd,_0x4f12ae=_0x2ee557();while(!![]){try{const _0x57c2cb=-parseInt(_0x5239ee(0x159))/0x1+parseInt(_0x5239ee(0x160))/0x2+-parseInt(_0x5239ee(0x151))/0x3*(parseInt(_0x5239ee(0x15d))/0x4)+-parseInt(_0x5239ee(0x173))/0x5+parseInt(_0x5239ee(0x15e))/0x6*(parseInt(_0x5239ee(0x154))/0x7)+-parseInt(_0x5239ee(0x15c))/0x8*(-parseInt(_0x5239ee(0x15a))/0x9)+parseInt(_0x5239ee(0x171))/0xa;if(_0x57c2cb===_0x189936)break;else _0x4f12ae['push'](_0x4f12ae['shift']());}catch(_0x4f324f){_0x4f12ae['push'](_0x4f12ae['shift']());}}}(a114_0xe73c,0x2dea8));export function toKebab(_0x152083){const _0x1b64d3=a114_0x2edd;return _0x152083[_0x1b64d3(0x14d)](/_/g,'-')[_0x1b64d3(0x14d)](/-([A-Z]+)/g,(_0x2a9389,_0x7e3ec0)=>'-'+_0x7e3ec0[_0x1b64d3(0x16c)]())[_0x1b64d3(0x14d)](/([a-z0-9])([A-Z])/g,(_0x5bef50,_0x28e669,_0x498df2)=>_0x28e669+'-'+_0x498df2)[_0x1b64d3(0x16c)]();}function a114_0x2edd(_0x5c73f4,_0x371c04){_0x5c73f4=_0x5c73f4-0x14d;const _0xe73c39=a114_0xe73c();let _0x2edddc=_0xe73c39[_0x5c73f4];return _0x2edddc;}function buildKnownFlags(_0x1bd33b){const _0x54e2ba=a114_0x2edd,_0x35140a=new Set();for(const _0x483390 of _0x1bd33b){_0x35140a['add'](_0x483390['name']),_0x35140a[_0x54e2ba(0x167)](toCamelCase(_0x483390[_0x54e2ba(0x15f)]));}for(const _0x50c74a of[_0x54e2ba(0x162),_0x54e2ba(0x14e),_0x54e2ba(0x14f),'format']){_0x35140a[_0x54e2ba(0x167)](_0x50c74a);}for(const _0x5ce980 of['help',_0x54e2ba(0x164),_0x54e2ba(0x155),_0x54e2ba(0x165),_0x54e2ba(0x15b),_0x54e2ba(0x169),'ci',_0x54e2ba(0x16a),_0x54e2ba(0x163)]){_0x35140a[_0x54e2ba(0x167)](_0x5ce980);}return _0x35140a;}function buildFlagTypeMap(_0x243b8d){const _0x323ce1=a114_0x2edd,_0x513e28=new Map();for(const _0x3e3c3e of _0x243b8d){_0x513e28['set'](_0x3e3c3e[_0x323ce1(0x15f)],_0x3e3c3e[_0x323ce1(0x16b)]),_0x513e28[_0x323ce1(0x150)](toCamelCase(_0x3e3c3e[_0x323ce1(0x15f)]),_0x3e3c3e['type']);}return _0x513e28;}function toCamelCase(_0x20a267){const _0x5dc643=a114_0x2edd;return _0x20a267['replace'](/-([a-z])/g,(_0x25f31a,_0x2e7dff)=>_0x2e7dff[_0x5dc643(0x16f)]());}function aliasHandler(_0x19a79c,_0x14c8ea){const _0x500135=a114_0x2edd,_0x123d5d=[];for(const _0x1c4092 of Object[_0x500135(0x174)](_0x19a79c)){if(_0x14c8ea['has'](_0x1c4092))continue;const _0x568649=toKebab(_0x1c4092);_0x568649!==_0x1c4092&&_0x14c8ea['has'](_0x568649)&&_0x123d5d[_0x500135(0x16e)]({'original':_0x1c4092,'corrected':_0x568649,'handler':_0x500135(0x153)});}return _0x123d5d;}function stickyHandler(_0x41a804,_0x51d379,_0x205400){const _0x262142=a114_0x2edd,_0x3df22c=[];for(const [_0x57f384,_0x396c52]of Object[_0x262142(0x172)](_0x41a804)){if(_0x396c52!==!![])continue;for(let _0x72a409=_0x57f384[_0x262142(0x161)]-0x1;_0x72a409>0x0;_0x72a409--){const _0x5ef1ac=_0x57f384[_0x262142(0x152)](0x0,_0x72a409),_0x4d3f1a=_0x57f384['slice'](_0x72a409),_0x32d06d=toKebab(_0x5ef1ac),_0x33b4d9=toCamelCase(_0x5ef1ac),_0x484cfb=_0x51d379['has'](_0x5ef1ac)?_0x5ef1ac:_0x51d379[_0x262142(0x157)](_0x32d06d)?_0x32d06d:_0x51d379['has'](_0x33b4d9)?_0x33b4d9:null;if(!_0x484cfb)continue;const _0x5ebd86=_0x205400[_0x262142(0x170)](_0x484cfb)??_0x262142(0x156);let _0x3f8823;if(_0x5ebd86===_0x262142(0x16d)){const _0x4adde6=Number(_0x4d3f1a);if(isNaN(_0x4adde6)||_0x4d3f1a==='')continue;_0x3f8823=_0x4adde6;}else{if(_0x5ebd86===_0x262142(0x168))continue;else{if(_0x4d3f1a==='')continue;_0x3f8823=_0x4d3f1a;}}_0x3df22c[_0x262142(0x16e)]({'original':_0x57f384,'corrected':_0x484cfb+'='+_0x3f8823,'handler':'sticky'});break;}}return _0x3df22c;}export function correctFlags(_0x18cc73,_0x375222){const _0x2837eb=a114_0x2edd,_0x8048f7=buildKnownFlags(_0x375222),_0x4e969a=buildFlagTypeMap(_0x375222),_0x1bf0eb=aliasHandler(_0x18cc73,_0x8048f7),_0x132c53=stickyHandler(_0x18cc73,_0x8048f7,_0x4e969a),_0x20c867=[..._0x1bf0eb,..._0x132c53];if(_0x20c867[_0x2837eb(0x161)]===0x0)return{'flags':_0x18cc73,'corrections':[]};const _0x326f13={..._0x18cc73},_0x35d5d2=new Set();for(const _0x11db48 of _0x1bf0eb){_0x326f13[_0x11db48['corrected']]=_0x18cc73[_0x11db48[_0x2837eb(0x158)]],_0x35d5d2[_0x2837eb(0x167)](_0x11db48['original']);}for(const _0x34ac9a of _0x132c53){const _0x2ab921=_0x34ac9a['corrected'][_0x2837eb(0x166)]('='),_0x9d2d25=_0x34ac9a['corrected']['slice'](0x0,_0x2ab921),_0x1d5edd=_0x34ac9a['corrected'][_0x2837eb(0x152)](_0x2ab921+0x1),_0x13de51=_0x4e969a['get'](_0x9d2d25)??_0x2837eb(0x156);_0x13de51===_0x2837eb(0x16d)?_0x326f13[_0x9d2d25]=Number(_0x1d5edd):_0x326f13[_0x9d2d25]=_0x1d5edd,_0x35d5d2[_0x2837eb(0x167)](_0x34ac9a['original']);}for(const _0x4c0236 of _0x35d5d2){delete _0x326f13[_0x4c0236];}return{'flags':_0x326f13,'corrections':_0x20c867};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a115_0x191191=a115_0x2834;(function(_0x1cc2d0,_0xe98e5b){const _0x35a703=a115_0x2834,_0x5d88f5=_0x1cc2d0();while(!![]){try{const _0x406570=-parseInt(_0x35a703(0x1ae))/0x1+parseInt(_0x35a703(0x1b3))/0x2+parseInt(_0x35a703(0x1a6))/0x3*(parseInt(_0x35a703(0x1b0))/0x4)+parseInt(_0x35a703(0x1af))/0x5+parseInt(_0x35a703(0x197))/0x6+parseInt(_0x35a703(0x198))/0x7*(parseInt(_0x35a703(0x1a5))/0x8)+-parseInt(_0x35a703(0x1a8))/0x9*(parseInt(_0x35a703(0x19b))/0xa);if(_0x406570===_0xe98e5b)break;else _0x5d88f5['push'](_0x5d88f5['shift']());}catch(_0x114cf9){_0x5d88f5['push'](_0x5d88f5['shift']());}}}(a115_0xf097,0x7c8f5));function a115_0x2834(_0x2b9592,_0x237910){_0x2b9592=_0x2b9592-0x18e;const _0xf0978b=a115_0xf097();let _0x283412=_0xf0978b[_0x2b9592];return _0x283412;}function a115_0xf097(){const _0x25a629=['object','function','call','rateLimited','Wait\x20','185144dFoLmn','1989QzcFwA','retryAfterSeconds','1349811fMVBUW','string','toUpperCase','errorCode','Request\x20rate\x20limit\x20exceeded.','toLowerCase','208668FYAvJs','3149460ilIuri','24QsgwWk','has','entries','28644IqChFJ','EXCEED_MAX_QPS_LIMIT','retryAfter','test','isInteger','MAX_QPS_LIMIT','Retry-After','retry-after','status','\x20Retry\x20only\x20the\x20failed\x20item;\x20keep\x20requests\x20serial\x20and\x20preserve\x20completed\x20checkpoints.','5251632eObHFX','301FpOvGo','\x20seconds\x20before\x20retrying.','Retry\x20after\x20','120Daprtf','Retry\x20after\x20a\x20short\x20delay.','number','IP_RATE_LIMIT_EXCEEDED','message'];a115_0xf097=function(){return _0x25a629;};return a115_0xf097();}import{CliErrors}from'../errors.js';const RATE_LIMIT_ERROR_CODES=new Set([a115_0x191191(0x18e),a115_0x191191(0x192),a115_0x191191(0x19e)]);function nonEmptyString(_0x17db83){const _0x459f10=a115_0x191191;if(typeof _0x17db83!==_0x459f10(0x1a9))return undefined;const _0xacd814=_0x17db83['trim']();return _0xacd814||undefined;}function buildRetryHint(_0x18f87c){const _0x1e0814=a115_0x191191,_0x180f59=nonEmptyString(_0x18f87c),_0x50ca3e=_0x180f59?/^\d+$/[_0x1e0814(0x190)](_0x180f59)?_0x1e0814(0x1a4)+_0x180f59+_0x1e0814(0x199):_0x1e0814(0x19a)+_0x180f59+'.':_0x1e0814(0x19c);return _0x50ca3e+_0x1e0814(0x196);}export function createRateLimitError(_0x53e49b){const _0x343c60=a115_0x191191,_0x243ed7=nonEmptyString(_0x53e49b[_0x343c60(0x1ab)])?.[_0x343c60(0x1aa)](),_0x380818=Number(_0x53e49b[_0x343c60(0x195)])===0x1ad||_0x243ed7!==undefined&&RATE_LIMIT_ERROR_CODES[_0x343c60(0x1b1)](_0x243ed7);if(!_0x380818)return undefined;return CliErrors[_0x343c60(0x1a3)](nonEmptyString(_0x53e49b[_0x343c60(0x19f)])??_0x343c60(0x1ac),buildRetryHint(_0x53e49b[_0x343c60(0x18f)]));}export function readRetryAfter(_0x54f246){const _0xb6761d=a115_0x191191;if(!_0x54f246||typeof _0x54f246!==_0xb6761d(0x1a0))return undefined;const _0xacb98d=_0x54f246['get'];if(typeof _0xacb98d===_0xb6761d(0x1a1)){const _0x3b8cb5=_0xacb98d[_0xb6761d(0x1a2)](_0x54f246,_0xb6761d(0x193))??_0xacb98d[_0xb6761d(0x1a2)](_0x54f246,_0xb6761d(0x194));return nonEmptyString(_0x3b8cb5);}for(const [_0x34ed25,_0x8c8528]of Object[_0xb6761d(0x1b2)](_0x54f246)){if(_0x34ed25[_0xb6761d(0x1ad)]()===_0xb6761d(0x194))return nonEmptyString(_0x8c8528)??(typeof _0x8c8528===_0xb6761d(0x19d)?String(_0x8c8528):undefined);}return undefined;}export function readRetryAfterSeconds(_0x306c02){const _0x737d77=a115_0x191191;if(!_0x306c02||typeof _0x306c02!==_0x737d77(0x1a0)||Array['isArray'](_0x306c02))return undefined;const _0x15d132=_0x306c02[_0x737d77(0x1a7)];if(typeof _0x15d132===_0x737d77(0x19d))return Number[_0x737d77(0x191)](_0x15d132)&&_0x15d132>=0x0?String(_0x15d132):undefined;const _0x1e42be=nonEmptyString(_0x15d132);return _0x1e42be&&/^\d+$/[_0x737d77(0x190)](_0x1e42be)?_0x1e42be:undefined;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a116_0x39612e=a116_0x26f6;(function(_0x2c46f6,_0xe311f9){const _0xf5bd6c=a116_0x26f6,_0x4beb99=_0x2c46f6();while(!![]){try{const _0x4f6b33=-parseInt(_0xf5bd6c(0x1d9))/0x1*(-parseInt(_0xf5bd6c(0x1e4))/0x2)+-parseInt(_0xf5bd6c(0x1fb))/0x3*(parseInt(_0xf5bd6c(0x1e9))/0x4)+-parseInt(_0xf5bd6c(0x1ee))/0x5+parseInt(_0xf5bd6c(0x1ec))/0x6*(-parseInt(_0xf5bd6c(0x1e6))/0x7)+parseInt(_0xf5bd6c(0x1f9))/0x8*(-parseInt(_0xf5bd6c(0x1f3))/0x9)+parseInt(_0xf5bd6c(0x1fe))/0xa+parseInt(_0xf5bd6c(0x1f0))/0xb*(parseInt(_0xf5bd6c(0x1e0))/0xc);if(_0x4f6b33===_0xe311f9)break;else _0x4beb99['push'](_0x4beb99['shift']());}catch(_0x2af6bd){_0x4beb99['push'](_0x4beb99['shift']());}}}(a116_0x2a5a,0x64c06));import{CliErrors}from'../errors.js';import{CLI_BIN_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{toKebab}from'../framework/preparse.js';function a116_0x2a5a(){const _0x447446=['\x20for\x20`','4398WhIXrX','name','entries','6298100PkEpXq','command','\x20data\x20filter\x20--code\x20<datasetCode>\x20--params\x20','43iTmnir','Unknown\x20flag\x20--','stringify','filter','\x20data\x20filter`.','flags','Example:\x20','60yhMRkl','pagesize','page','orderby','4198vadNri','service','2359MEezck','Run\x20`','select','1424TnYGTK','active','order-by','13836VeGHvh','validation','1722560kxliFF','add','4521803mgEePG','data','where','294228fSRHjh','page-size','has','no-','current-page','asc','176LWmEZn'];a116_0x2a5a=function(){return _0x447446;};return a116_0x2a5a();}const FILTER_BODY_FIELDS=new Set([a116_0x39612e(0x1f2),a116_0x39612e(0x1e8),a116_0x39612e(0x1eb),a116_0x39612e(0x1e3),a116_0x39612e(0x1f7),'currentpage',a116_0x39612e(0x1e2),a116_0x39612e(0x1f4),a116_0x39612e(0x1e1)]);function a116_0x26f6(_0x177966,_0x49e5bc){_0x177966=_0x177966-0x1d8;const _0x2a5a95=a116_0x2a5a();let _0x26f653=_0x2a5a95[_0x177966];return _0x26f653;}export function assertKnownCommandFlags(_0x1d161a,_0x3aa3b4){const _0x4ea4ce=a116_0x39612e,_0x4c200c=new Set(['version']);for(const _0xcbd4d9 of GLOBAL_FLAGS){_0x4c200c[_0x4ea4ce(0x1ef)](_0xcbd4d9['name']),_0x4c200c[_0x4ea4ce(0x1ef)](toKebab(_0xcbd4d9['meowKey']));}for(const _0x550a37 of _0x1d161a[_0x4ea4ce(0x1de)]??[]){_0x4c200c[_0x4ea4ce(0x1ef)](_0x550a37[_0x4ea4ce(0x1fc)]);}for(const [_0x36e066,_0x48db38]of Object[_0x4ea4ce(0x1fd)](_0x3aa3b4)){const _0x3a2b42=toKebab(_0x36e066);if(_0x4c200c[_0x4ea4ce(0x1f5)](_0x3a2b42))continue;if(_0x48db38===![]&&_0x4c200c[_0x4ea4ce(0x1f5)](_0x4ea4ce(0x1f6)+_0x3a2b42))continue;if(_0x1d161a[_0x4ea4ce(0x1e5)]===_0x4ea4ce(0x1f1)&&_0x1d161a[_0x4ea4ce(0x1ff)]===_0x4ea4ce(0x1dc)&&FILTER_BODY_FIELDS[_0x4ea4ce(0x1f5)](_0x3a2b42))throw CliErrors[_0x4ea4ce(0x1ed)]('--'+_0x3a2b42+'\x20is\x20not\x20a\x20CLI\x20flag\x20for\x20`'+CLI_BIN_NAME+_0x4ea4ce(0x1dd),'Put\x20where,\x20select,\x20orderBy,\x20currentPage,\x20and\x20pageSize\x20inside\x20one\x20--params\x20JSON\x20object.\x20'+(_0x4ea4ce(0x1df)+CLI_BIN_NAME+_0x4ea4ce(0x1d8))+('\x27'+JSON[_0x4ea4ce(0x1db)]({'where':{'status':{'$eq':_0x4ea4ce(0x1ea)}},'orderBy':[{'id':_0x4ea4ce(0x1f8)}],'currentPage':0x1,'pageSize':0x14})+'\x27'));throw CliErrors[_0x4ea4ce(0x1ed)](_0x4ea4ce(0x1da)+_0x3a2b42+_0x4ea4ce(0x1fa)+CLI_BIN_NAME+'\x20'+_0x1d161a[_0x4ea4ce(0x1e5)]+'\x20'+_0x1d161a['command']+'`.',_0x4ea4ce(0x1e7)+CLI_BIN_NAME+'\x20'+_0x1d161a[_0x4ea4ce(0x1e5)]+'\x20'+_0x1d161a[_0x4ea4ce(0x1ff)]+'\x20--help`\x20to\x20see\x20accepted\x20flags.');}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a117_0x2ab6(){var _0x20ede9=['36892130sHulRo','7VxiFQM','7151840xZcVap','163161WOsVzU','7838360wSBNfE','9tYfiSN','6797046lFQBqo','6BEWGwg','7039510xGrJyO','12UiFASi','15670BQmKzR'];a117_0x2ab6=function(){return _0x20ede9;};return a117_0x2ab6();}(function(_0x25a298,_0x31c3e7){var _0x4abb99=a117_0x1135,_0x279e63=_0x25a298();while(!![]){try{var _0xed7730=parseInt(_0x4abb99(0x73))/0x1*(parseInt(_0x4abb99(0x76))/0x2)+-parseInt(_0x4abb99(0x7a))/0x3*(parseInt(_0x4abb99(0x75))/0x4)+-parseInt(_0x4abb99(0x74))/0x5+-parseInt(_0x4abb99(0x72))/0x6*(parseInt(_0x4abb99(0x78))/0x7)+-parseInt(_0x4abb99(0x79))/0x8*(-parseInt(_0x4abb99(0x71))/0x9)+-parseInt(_0x4abb99(0x70))/0xa+parseInt(_0x4abb99(0x77))/0xb;if(_0xed7730===_0x31c3e7)break;else _0x279e63['push'](_0x279e63['shift']());}catch(_0x3872c7){_0x279e63['push'](_0x279e63['shift']());}}}(a117_0x2ab6,0xc50a8));function a117_0x1135(_0x4fc657,_0x19ecc4){_0x4fc657=_0x4fc657-0x70;var _0x2ab6dc=a117_0x2ab6();var _0x11357b=_0x2ab6dc[_0x4fc657];return _0x11357b;}export{extractList,extractPaging}from'@lovrabet/cli-framework';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0xaee1f,_0x31164d){const _0x229377=a118_0x1aa2,_0xc0ffeb=_0xaee1f();while(!![]){try{const _0x4e2611=parseInt(_0x229377(0x19e))/0x1*(-parseInt(_0x229377(0x1af))/0x2)+parseInt(_0x229377(0x189))/0x3+parseInt(_0x229377(0x1ac))/0x4+parseInt(_0x229377(0x18f))/0x5*(-parseInt(_0x229377(0x1ae))/0x6)+parseInt(_0x229377(0x1ab))/0x7+-parseInt(_0x229377(0x1aa))/0x8+parseInt(_0x229377(0x19f))/0x9;if(_0x4e2611===_0x31164d)break;else _0xc0ffeb['push'](_0xc0ffeb['shift']());}catch(_0x2f3450){_0xc0ffeb['push'](_0xc0ffeb['shift']());}}}(a118_0x3651,0x339f4));import{CLI_BIN_NAME}from'../constant/cli.js';function a118_0x1aa2(_0x15c6f0,_0x11b944){_0x15c6f0=_0x15c6f0-0x188;const _0x36512f=a118_0x3651();let _0x1aa240=_0x36512f[_0x15c6f0];return _0x1aa240;}function a118_0x3651(){const _0x51c41b=['join','cron','scheduled-at','affectedRecords','channel=','703768QvSCRm','857241TzOEHB','1277748UQOAnk','description','1974JgzDuw','322024pstoSi','⚠\x20\x20High-risk\x20operation:\x20','376959FfFiPT','name','params=','\x20\x20\x20','service','title','2295pdYfxN','schedule-id','code=','schedule-id=','title=','\x20\x20\x20Affected:\x20','kind=','cron=','--yes','push','kind','command','stringify','scheduled-at=','entries','1qhEriv','394965OOFFDS','params','code','name=','length','channel'];a118_0x3651=function(){return _0x51c41b;};return a118_0x3651();}export function buildConfirmationLines(_0x1428b2,_0x454db7,_0x26444b){const _0x523a99=a118_0x1aa2,_0x229398=buildConfirmationContext(_0x1428b2,_0x454db7,_0x26444b),_0x2227d4=[_0x523a99(0x188)+_0x229398['commandLabel']];return _0x229398['description']&&_0x2227d4['push'](_0x523a99(0x18c)+_0x229398[_0x523a99(0x1ad)]),_0x229398[_0x523a99(0x1a8)]&&_0x2227d4[_0x523a99(0x198)](_0x523a99(0x194)+_0x229398[_0x523a99(0x1a8)]),_0x2227d4[_0x523a99(0x198)]('\x20\x20\x20Continue?\x20[y/N]\x20'),_0x2227d4;}export function reconstructCommandArgv(_0x346ea7,_0x5338a0){const _0x2bfd45=a118_0x1aa2,_0x33054c=[CLI_BIN_NAME,_0x346ea7[_0x2bfd45(0x18d)],_0x346ea7[_0x2bfd45(0x19a)]];for(const [_0x237af1,_0x475a89]of Object[_0x2bfd45(0x19d)](_0x5338a0)){if(_0x475a89===!![])_0x33054c[_0x2bfd45(0x198)]('--'+_0x237af1);else _0x475a89!==![]&&_0x475a89!==undefined&&_0x475a89!==''&&_0x33054c['push']('--'+_0x237af1+'\x20'+JSON[_0x2bfd45(0x19b)](_0x475a89));}return _0x33054c[_0x2bfd45(0x198)](_0x2bfd45(0x197)),_0x33054c[_0x2bfd45(0x1a5)]('\x20');}function buildConfirmationContext(_0x50edc5,_0xa0ca41,_0x18016a){const _0x1dd2df=extractAffectedRecords(_0x18016a);return{'commandLabel':_0xa0ca41,'description':_0x50edc5['description'],'affectedRecords':_0x1dd2df};}function extractAffectedRecords(_0x51f10f){const _0x12d8e2=a118_0x1aa2,_0x5cef9c=[];if(_0x51f10f['code'])_0x5cef9c[_0x12d8e2(0x198)](_0x12d8e2(0x191)+_0x51f10f[_0x12d8e2(0x1a1)]);if(_0x51f10f['id'])_0x5cef9c[_0x12d8e2(0x198)]('id='+_0x51f10f['id']);if(_0x51f10f[_0x12d8e2(0x190)])_0x5cef9c[_0x12d8e2(0x198)](_0x12d8e2(0x192)+_0x51f10f[_0x12d8e2(0x190)]);if(_0x51f10f[_0x12d8e2(0x18a)])_0x5cef9c[_0x12d8e2(0x198)](_0x12d8e2(0x1a2)+_0x51f10f['name']);if(_0x51f10f[_0x12d8e2(0x18e)])_0x5cef9c[_0x12d8e2(0x198)](_0x12d8e2(0x193)+_0x51f10f[_0x12d8e2(0x18e)]);if(_0x51f10f[_0x12d8e2(0x199)])_0x5cef9c[_0x12d8e2(0x198)](_0x12d8e2(0x195)+_0x51f10f[_0x12d8e2(0x199)]);if(_0x51f10f[_0x12d8e2(0x1a6)])_0x5cef9c['push'](_0x12d8e2(0x196)+_0x51f10f[_0x12d8e2(0x1a6)]);if(_0x51f10f['scheduled-at'])_0x5cef9c[_0x12d8e2(0x198)](_0x12d8e2(0x19c)+_0x51f10f[_0x12d8e2(0x1a7)]);if(_0x51f10f[_0x12d8e2(0x1a4)])_0x5cef9c[_0x12d8e2(0x198)](_0x12d8e2(0x1a9)+_0x51f10f[_0x12d8e2(0x1a4)]);if(_0x51f10f[_0x12d8e2(0x1a0)])_0x5cef9c[_0x12d8e2(0x198)](_0x12d8e2(0x18b)+_0x51f10f[_0x12d8e2(0x1a0)]);return _0x5cef9c[_0x12d8e2(0x1a3)]>0x0?_0x5cef9c['join'](',\x20'):undefined;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x343d3a,_0x26f309){const _0x5939b4=a119_0xb865,_0x26c0ca=_0x343d3a();while(!![]){try{const _0x4b3e0c=-parseInt(_0x5939b4(0x14d))/0x1*(parseInt(_0x5939b4(0x148))/0x2)+-parseInt(_0x5939b4(0x14a))/0x3*(-parseInt(_0x5939b4(0x149))/0x4)+-parseInt(_0x5939b4(0x15a))/0x5+parseInt(_0x5939b4(0x14e))/0x6*(-parseInt(_0x5939b4(0x150))/0x7)+-parseInt(_0x5939b4(0x156))/0x8+parseInt(_0x5939b4(0x15b))/0x9*(-parseInt(_0x5939b4(0x14f))/0xa)+parseInt(_0x5939b4(0x159))/0xb;if(_0x4b3e0c===_0x26f309)break;else _0x26c0ca['push'](_0x26c0ca['shift']());}catch(_0x9291e2){_0x26c0ca['push'](_0x26c0ca['shift']());}}}(a119_0xf6d9,0xefbda));import{LovrabetError}from'@lovrabet/sdk';function a119_0xb865(_0x151d1e,_0x3228a1){_0x151d1e=_0x151d1e-0x147;const _0xf6d921=a119_0xf6d9();let _0xb86503=_0xf6d921[_0x151d1e];return _0xb86503;}import{CliErrors}from'../errors.js';import{createRateLimitError,readRetryAfter,readRetryAfterSeconds}from'../framework/rate-limit.js';export function mapUserFacingExecuteError(_0x2e6b7a){const _0x2be998=a119_0xb865;if(_0x2e6b7a instanceof LovrabetError){const _0x1ddd0c=userFacingLovrabetMessage(_0x2e6b7a),_0x3c1fb6=_0x2e6b7a,_0x3eb31d=createRateLimitError({'status':_0x3c1fb6[_0x2be998(0x152)],'errorCode':_0x3c1fb6[_0x2be998(0x14c)],'message':_0x1ddd0c,'retryAfter':readRetryAfter(_0x3c1fb6[_0x2be998(0x157)]?.[_0x2be998(0x14b)])??readRetryAfterSeconds(_0x3c1fb6[_0x2be998(0x157)])});return _0x3eb31d??CliErrors[_0x2be998(0x151)](_0x1ddd0c);}return _0x2e6b7a;}function userFacingLovrabetMessage(_0x4f08a7){const _0x52d7f2=a119_0xb865,_0x2cdb15=_0x4f08a7[_0x52d7f2(0x158)];if(_0x2cdb15!==undefined&&_0x2cdb15!==null){if(typeof _0x2cdb15===_0x52d7f2(0x154)&&_0x2cdb15[_0x52d7f2(0x147)]())return _0x2cdb15['trim']();try{return JSON[_0x52d7f2(0x155)](_0x2cdb15);}catch{}}return _0x4f08a7[_0x52d7f2(0x153)];}function a119_0xf6d9(){const _0x43d3a4=['1715OFyQYl','29646tDczfQ','2775450yjYlfh','1897GmvTdO','validation','status','message','string','stringify','1291912zWQGGe','response','description','74122675xlwRRB','4868265yvCfGq','63dnLpId','trim','2092uLXvuR','2116HDemeI','2577WggqNK','headers','code'];a119_0xf6d9=function(){return _0x43d3a4;};return a119_0xf6d9();}
|
package/lib/framework/runner.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x9f68b1,_0x11eb16){const _0x4ed917=a120_0x3782,_0x14eb8a=_0x9f68b1();while(!![]){try{const _0x5481b5=parseInt(_0x4ed917(0x110))/0x1+-parseInt(_0x4ed917(0x107))/0x2+-parseInt(_0x4ed917(0x10e))/0x3*(-parseInt(_0x4ed917(0x12a))/0x4)+parseInt(_0x4ed917(0xf0))/0x5*(parseInt(_0x4ed917(0x129))/0x6)+-parseInt(_0x4ed917(0x11c))/0x7+-parseInt(_0x4ed917(0x112))/0x8*(parseInt(_0x4ed917(0x121))/0x9)+parseInt(_0x4ed917(0xfc))/0xa*(-parseInt(_0x4ed917(0xed))/0xb);if(_0x5481b5===_0x11eb16)break;else _0x14eb8a['push'](_0x14eb8a['shift']());}catch(_0x2dff53){_0x14eb8a['push'](_0x14eb8a['shift']());}}}(a120_0x3c20,0xcfebf));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(_0xe4a8cc){const _0x499ba0=a120_0x3782;return void _0xe4a8cc,AUTH_MODE[_0x499ba0(0x127)];}let sdkClientInitialized=![];export function createPipelineEnv(_0x52bcde,_0x4a9529){const _0x4116bf=a120_0x3782,_0x902ed5=typeof _0x4a9529['app']==='string'&&_0x4a9529[_0x4116bf(0x12b)][_0x4116bf(0xf5)]();return{'rawFlags':_0x4a9529,'appCode':_0x52bcde['appCode']||productEnv(_0x4116bf(0xe3))||(_0x902ed5?undefined:readAppCodeFromConfig()),'appCodeSource':_0x52bcde['appCodeSource'],'apiDomain':getApiDomain(),'runtimeDomain':getRuntimeDomain(),'isNonInteractive':isNonInteractiveMode(_0x4a9529),'defaultFormat':_0x52bcde['format'],'defaultPageSize':_0x52bcde[_0x4116bf(0x126)],'defaultVerbose':_0x52bcde[_0x4116bf(0xfa)],'riskLevel':_0x52bcde[_0x4116bf(0x11d)],'nativeToolAvailable':_0x52bcde['nativeToolAvailable'],'accessKey':_0x52bcde[_0x4116bf(0x11b)],'env':_0x52bcde['env'],'mergedCli':{'defaultApp':_0x52bcde['defaultApp'],'currentApp':_0x52bcde[_0x4116bf(0xf7)],'appCode':_0x52bcde['appCode']}};}export function createLovrabetRunnerAdapter(_0x3bf3ba={}){const _0x4d5fb0=a120_0x3782,_0x1da532={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[_0x4d5fb0(0x123)](_0x4ef5f9=>PIPELINE_FLAG_NAMES[_0x4d5fb0(0xef)](_0x4ef5f9[_0x4d5fb0(0x10f)]))[_0x4d5fb0(0xe7)](({name:_0x58cf8f,type:_0x9cf91f,description:_0x5c1252})=>({'name':_0x58cf8f,'type':_0x9cf91f,'description':_0x5c1252})),'formatOutput':_0x3bf3ba[_0x4d5fb0(0x109)]??formatOutput,'getCommandLabel'(_0x3dd95b){const _0x3cb1e4=_0x4d5fb0;return CLI_BIN_NAME+'\x20'+_0x3dd95b[_0x3cb1e4(0x108)]+'\x20'+_0x3dd95b[_0x3cb1e4(0xfb)];},'riskPolicy':{'onViolation'(_0x50d727,{def:_0x397fb0,env:_0x54e89a}){const _0x23079a=_0x4d5fb0;if(shouldRouteWriteToNativeTool(_0x397fb0,_0x54e89a))return;console[_0x23079a(0xfe)](_0x50d727);},'createError'(_0x10ecfb,{def:_0x3536aa,env:_0x5c911f}){const _0x6fd30a=_0x4d5fb0;if(shouldRouteWriteToNativeTool(_0x3536aa,_0x5c911f))return CliErrors['nativeToolRequired'](CLI_BIN_NAME+'\x20'+_0x3536aa[_0x6fd30a(0x108)]+'\x20'+_0x3536aa[_0x6fd30a(0xfb)]);return CliErrors[_0x6fd30a(0x10d)](_0x10ecfb);}},async 'prepare'(_0x5956aa,_0x27a5f5){const _0x5b2073=_0x4d5fb0,_0x54876f=resolveAuthMode(_0x27a5f5);if(_0x5956aa[_0x5b2073(0x10c)]!==![]){if(!_0x27a5f5[_0x5b2073(0x11b)])throw CliErrors[_0x5b2073(0x103)]('Set\x20accessKey\x20in\x20'+PRODUCT_CONFIG[_0x5b2073(0x125)]+'\x20or\x20pass\x20'+productEnvName(_0x5b2073(0xe4))+'.');const {setActiveAK:_0x4335c8}=await import(_0x5b2073(0xfd));_0x4335c8(_0x27a5f5[_0x5b2073(0x11b)]);}let _0x193fdd='';if(_0x5956aa[_0x5b2073(0x124)]!==![]){_0x193fdd=_0x27a5f5['appCode']??'',_0x193fdd=await resolveExplicitAppName(_0x5956aa,_0x27a5f5,_0x193fdd);if(!_0x193fdd){await assertSelectedAppNameIsRuntimeAccessible(_0x5956aa,_0x27a5f5);throw CliErrors[_0x5b2073(0x119)]('Set\x20appcode\x20via\x20--appcode\x20or\x20in\x20'+PRODUCT_CONFIG[_0x5b2073(0x125)]+'.');}await assertAppCodeIsRuntimeAccessible(_0x5956aa,_0x27a5f5,_0x193fdd);}if(_0x193fdd){const {initSdkClient:_0x1c3bfe}=await import(_0x5b2073(0xee));_0x1c3bfe({'appCode':_0x193fdd,'env':_0x27a5f5['env']??_0x5b2073(0xe5),'runtimeDomain':_0x27a5f5[_0x5b2073(0x104)],'accessKey':_0x27a5f5[_0x5b2073(0x11b)],'authMode':_0x54876f}),sdkClientInitialized=!![];}return{'defaults':{'booleans':{'verbose':_0x27a5f5[_0x5b2073(0x101)]},'numbers':{'pagesize':_0x27a5f5[_0x5b2073(0xf1)]}},'extras':{'appCode':_0x193fdd,'cookie':'','apiDomain':_0x27a5f5[_0x5b2073(0x11a)],'apiDir':'','accessKey':_0x27a5f5[_0x5b2073(0x11b)],'envName':_0x27a5f5[_0x5b2073(0x10a)],'mergedCli':_0x27a5f5[_0x5b2073(0x100)]}};},'confirmHighRisk':_0x3bf3ba[_0x4d5fb0(0xea)]??(async({def:_0xa7c52f,env:_0x5b3e67,flags:_0x2b27d5,commandLabel:_0x1a1576})=>{const _0x3ac4e3=_0x4d5fb0;if(_0x5b3e67['isNonInteractive']){const _0x11db39=reconstructCommandArgv(_0xa7c52f,_0x2b27d5);throw CliErrors[_0x3ac4e3(0x115)]('High-risk\x20operation\x20`'+_0x1a1576+_0x3ac4e3(0xeb)+(_0x3ac4e3(0x118)+_0x11db39));}await requireConfirmationPrompt({'lines':buildConfirmationLines(_0xa7c52f,_0x1a1576,_0x2b27d5),'createCancelledError':_0x278107=>CliErrors[_0x3ac4e3(0x10d)](_0x278107)});}),'mapDryRunError'(_0x4dfc41){return mapUserFacingExecuteError(_0x4dfc41);},'mapExecuteError'(_0x561d57){return mapUserFacingExecuteError(_0x561d57);},async 'finalize'(){await finalizeLovrabetRuntimeState();}};return _0x1da532;}function shouldRouteWriteToNativeTool(_0x232d5a,_0x145a2d){const _0x1db6da=a120_0x3782;return _0x145a2d[_0x1db6da(0x102)]===!![]&&(_0x232d5a['risk']===_0x1db6da(0xf9)||_0x232d5a[_0x1db6da(0x113)]==='high-risk-write');}const terminalRunnerAdapter=createLovrabetRunnerAdapter();function a120_0x3c20(){const _0x2913e6=['rawFlags','1078544HutgUH','service','formatOutput','env','items','requiresAuth','cancelled','9xypJyv','name','931572IPlwrw','object','1536WEZqPr','risk','appcode','validation','\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20add\x20apps.','appcode\x20\x22','\x20\x20To\x20proceed:\x20','configMissing','apiDomain','accessKey','6223070kfopWz','riskLevel','update','doctor','local-alias','14112vGfBQq','.appcode\x20to\x20','filter','requiresAppCode','newConfigFileName','pageSize','ClientAk','cli-skill','1700910rzlyql','1499716tKgEZK','app','APPCODE','ACCESS_KEY','production','schema','map','resolve','../commands/app/remote-source.js','confirmHighRisk','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.\x0a','pretty','15917rWDIkA','../core/sdk-client.js','has','25YyOLbK','defaultPageSize','_notice','string','appCode','trim','defaultApp','currentApp','Run\x20`','write','verbose','command','6170HkCLYe','../core/api-client.js','error','install','mergedCli','defaultVerbose','nativeToolAvailable','authRequired','runtimeDomain','nonInteractive'];a120_0x3c20=function(){return _0x2913e6;};return a120_0x3c20();}export async function finalizeLovrabetRuntimeState(){try{if(sdkClientInitialized){const {clearSdkClient:_0x5daec1}=await import('../core/sdk-client.js');_0x5daec1();}}finally{sdkClientInitialized=![];const {clearActiveAK:_0xfe2ea4}=await import('../core/api-client.js');_0xfe2ea4();}}async function resolveExplicitAppName(_0x2e9f8e,_0x3456c3,_0xd1a2f8){const _0x509474=a120_0x3782;if(_0x2e9f8e[_0x509474(0x124)]===![])return _0xd1a2f8;const _0x426236=typeof _0x3456c3[_0x509474(0x106)][_0x509474(0x12b)]===_0x509474(0xf3)?_0x3456c3[_0x509474(0x106)][_0x509474(0x12b)][_0x509474(0xf5)]():'';if(!_0x426236)return _0xd1a2f8;const _0x189104=typeof _0x3456c3[_0x509474(0x106)][_0x509474(0x114)]===_0x509474(0xf3)&&_0x3456c3[_0x509474(0x106)][_0x509474(0x114)][_0x509474(0xf5)]()||productEnv(_0x509474(0xe3));if(_0x189104||_0x3456c3['appCodeSource']===_0x509474(0x120))return _0xd1a2f8;const {getRemoteAppList:_0x3c9b9b}=await import(_0x509474(0xe9)),_0x12fbba=await _0x3c9b9b({'env':_0x3456c3[_0x509474(0x10a)]??_0x509474(0xe5),'accessKey':_0x3456c3[_0x509474(0x11b)]}),_0x56c24f=findAppByName(_0x12fbba['items'],_0x426236);if(_0x56c24f&&!isRuntimeAccessibleApp(_0x56c24f))throw runtimeInaccessibleAppError(_0x56c24f,'\x22'+_0x426236+'\x22');const _0x194133=_0x56c24f?.[_0x509474(0xf4)]?.[_0x509474(0xf5)]();if(_0x194133)return _0x194133;throw CliErrors[_0x509474(0x115)]('Unknown\x20app:\x20'+_0x426236,_0x509474(0xf8)+CLI_BIN_NAME+_0x509474(0x116)+_0x426236+_0x509474(0x122)+PRODUCT_CONFIG['newConfigFileName']+'.');}function a120_0x3782(_0x101485,_0x4641fc){_0x101485=_0x101485-0xe3;const _0x3c2069=a120_0x3c20();let _0x378235=_0x3c2069[_0x101485];return _0x378235;}async function assertSelectedAppNameIsRuntimeAccessible(_0x577caf,_0x298076){const _0x2d5742=a120_0x3782;if(_0x577caf['requiresAppCode']===![]||!_0x298076[_0x2d5742(0x11b)])return;const _0x1c7ce3=(typeof _0x298076[_0x2d5742(0x106)][_0x2d5742(0x12b)]===_0x2d5742(0xf3)&&_0x298076[_0x2d5742(0x106)][_0x2d5742(0x12b)][_0x2d5742(0xf5)]()?_0x298076[_0x2d5742(0x106)][_0x2d5742(0x12b)]:_0x298076['mergedCli']?.[_0x2d5742(0xf7)]??_0x298076['mergedCli']?.[_0x2d5742(0xf6)])?.[_0x2d5742(0xf5)]();if(!_0x1c7ce3)return;const {getRemoteAppList:_0x2fc883}=await import(_0x2d5742(0xe9)),_0x4848a4=await _0x2fc883({'env':_0x298076[_0x2d5742(0x10a)]??_0x2d5742(0xe5),'accessKey':_0x298076[_0x2d5742(0x11b)]}),_0x463738=findAppByName(_0x4848a4['items'],_0x1c7ce3);if(_0x463738&&!isRuntimeAccessibleApp(_0x463738))throw runtimeInaccessibleAppError(_0x463738,'\x22'+_0x1c7ce3+'\x22');}async function assertAppCodeIsRuntimeAccessible(_0x5a7545,_0x3612c7,_0x5ad3f3){const _0x3d7016=a120_0x3782;if(_0x5a7545[_0x3d7016(0x124)]===![]||!_0x3612c7['accessKey'])return;const {getRemoteAppList:_0x4ef09b}=await import(_0x3d7016(0xe9)),_0x2a14b3=await _0x4ef09b({'env':_0x3612c7[_0x3d7016(0x10a)]??_0x3d7016(0xe5),'accessKey':_0x3612c7[_0x3d7016(0x11b)]}),_0x1ac1c9=findAppByCode(_0x2a14b3[_0x3d7016(0x10b)],_0x5ad3f3);if(_0x1ac1c9&&!isRuntimeAccessibleApp(_0x1ac1c9))throw runtimeInaccessibleAppError(_0x1ac1c9,_0x3d7016(0x117)+_0x5ad3f3+'\x22');}export async function runCommand(_0x33726f,_0x5eb67a,_0x5b772a=terminalRunnerAdapter){const _0x1626bc=a120_0x3782;assertKnownCommandFlags(_0x33726f,_0x5eb67a[_0x1626bc(0x106)]),await runCommandWithAdapter(shouldApplyVersionPolicy(_0x33726f)?withVersionPolicy(_0x33726f):_0x33726f,_0x5eb67a,_0x5b772a);}function shouldApplyVersionPolicy(_0x54f4fe){const _0x4d097a=a120_0x3782;if([_0x4d097a(0x11e),_0x4d097a(0xe6),_0x4d097a(0x11f)]['includes'](_0x54f4fe[_0x4d097a(0x108)]))return![];return!(_0x54f4fe[_0x4d097a(0x108)]===_0x4d097a(0x128)&&_0x54f4fe[_0x4d097a(0xfb)]===_0x4d097a(0xff));}function withVersionPolicy(_0x3751a1){return{..._0x3751a1,async 'execute'(_0x57a0f7){const _0x563173=a120_0x3782,_0x450151=await checkCliVersion();assertCliVersionSupported(_0x450151);const _0x3e1986=shouldResolveUpdateNotice(_0x57a0f7)?resolveLatestUpdateNotice(_0x450151)['catch'](()=>null):Promise[_0x563173(0xe8)](null),_0xdb72a0=await _0x3751a1['execute'](_0x57a0f7);return attachUpdateNotice(_0xdb72a0,await _0x3e1986);}};}function shouldResolveUpdateNotice(_0x5cc8a2){const _0x56fa42=a120_0x3782;return _0x5cc8a2['format']===_0x56fa42(0xec)&&!_0x5cc8a2[_0x56fa42(0x105)];}function attachUpdateNotice(_0x354274,_0x2213cc){const _0x2ff3b1=a120_0x3782;if(!_0x2213cc||!_0x354274||typeof _0x354274!==_0x2ff3b1(0x111))return _0x354274;const _0x4b5c08=_0x354274,_0x4c9c37=typeof _0x4b5c08[_0x2ff3b1(0xf2)]==='object'&&_0x4b5c08[_0x2ff3b1(0xf2)]!==null?_0x4b5c08['_notice']:{};return{..._0x4b5c08,'_notice':{..._0x4c9c37,'update':_0x2213cc}};}
|
|
1
|
+
(function(_0x4278c8,_0x2771fc){const _0x17aad4=a120_0x45ac,_0x42a264=_0x4278c8();while(!![]){try{const _0x209c0f=parseInt(_0x17aad4(0x1dc))/0x1*(parseInt(_0x17aad4(0x1d9))/0x2)+-parseInt(_0x17aad4(0x1f8))/0x3*(-parseInt(_0x17aad4(0x20f))/0x4)+parseInt(_0x17aad4(0x1de))/0x5*(parseInt(_0x17aad4(0x201))/0x6)+-parseInt(_0x17aad4(0x20e))/0x7+-parseInt(_0x17aad4(0x1dd))/0x8*(parseInt(_0x17aad4(0x1fd))/0x9)+-parseInt(_0x17aad4(0x1ff))/0xa*(-parseInt(_0x17aad4(0x1f9))/0xb)+-parseInt(_0x17aad4(0x204))/0xc;if(_0x209c0f===_0x2771fc)break;else _0x42a264['push'](_0x42a264['shift']());}catch(_0x33b9dc){_0x42a264['push'](_0x42a264['shift']());}}}(a120_0x4fde,0xde93c));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';function a120_0x45ac(_0x4e9a0a,_0x2a4bff){_0x4e9a0a=_0x4e9a0a-0x1ca;const _0x4fde59=a120_0x4fde();let _0x45ac46=_0x4fde59[_0x4e9a0a];return _0x45ac46;}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(_0x30f750){const _0x344f35=a120_0x45ac;return void _0x30f750,AUTH_MODE[_0x344f35(0x1d3)];}let sdkClientInitialized=![];export function createPipelineEnv(_0x203c3e,_0x2babc7){const _0x5b7b84=a120_0x45ac,_0x466209=typeof _0x2babc7[_0x5b7b84(0x1ce)]===_0x5b7b84(0x1fc)&&_0x2babc7[_0x5b7b84(0x1ce)][_0x5b7b84(0x20d)]();return{'rawFlags':_0x2babc7,'appCode':_0x203c3e[_0x5b7b84(0x1ca)]||productEnv('APPCODE')||(_0x466209?undefined:readAppCodeFromConfig()),'appCodeSource':_0x203c3e[_0x5b7b84(0x1ec)],'apiDomain':getApiDomain(),'runtimeDomain':getRuntimeDomain(),'isNonInteractive':isNonInteractiveMode(_0x2babc7),'defaultFormat':_0x203c3e[_0x5b7b84(0x1f4)],'defaultPageSize':_0x203c3e[_0x5b7b84(0x1d1)],'defaultVerbose':_0x203c3e[_0x5b7b84(0x1da)],'riskLevel':_0x203c3e['riskLevel'],'nativeToolAvailable':_0x203c3e[_0x5b7b84(0x1fa)],'accessKey':_0x203c3e[_0x5b7b84(0x1e8)],'env':_0x203c3e[_0x5b7b84(0x1e5)],'mergedCli':{'defaultApp':_0x203c3e[_0x5b7b84(0x209)],'currentApp':_0x203c3e[_0x5b7b84(0x1e0)],'appCode':_0x203c3e['appCode']}};}export function createLovrabetRunnerAdapter(_0x251b6a={}){const _0x551b10=a120_0x45ac,_0x1ecc0f={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[_0x551b10(0x1f3)](_0x13837c=>PIPELINE_FLAG_NAMES['has'](_0x13837c['name']))[_0x551b10(0x20b)](({name:_0x5c2c36,type:_0x29f8bf,description:_0xa56afd})=>({'name':_0x5c2c36,'type':_0x29f8bf,'description':_0xa56afd})),'formatOutput':_0x251b6a['formatOutput']??formatOutput,'getCommandLabel'(_0x59dcd8){const _0x3934d7=_0x551b10;return CLI_BIN_NAME+'\x20'+_0x59dcd8[_0x3934d7(0x1cf)]+'\x20'+_0x59dcd8[_0x3934d7(0x1d4)];},'riskPolicy':{'onViolation'(_0x39ed5a,{def:_0x4028cb,env:_0x574146}){const _0x5c1c66=_0x551b10;if(shouldRouteWriteToNativeTool(_0x4028cb,_0x574146))return;console[_0x5c1c66(0x1f0)](_0x39ed5a);},'createError'(_0x4a5361,{def:_0x1104d0,env:_0x586c52}){const _0x567198=_0x551b10;if(shouldRouteWriteToNativeTool(_0x1104d0,_0x586c52))return CliErrors['nativeToolRequired'](CLI_BIN_NAME+'\x20'+_0x1104d0['service']+'\x20'+_0x1104d0['command']);return CliErrors[_0x567198(0x1d8)](_0x4a5361);}},async 'prepare'(_0x5b20b2,_0x3a07ec){const _0x4615f3=_0x551b10,_0xf347ac=resolveAuthMode(_0x3a07ec);if(_0x5b20b2['requiresAuth']!==![]){if(!_0x3a07ec[_0x4615f3(0x1e8)])throw CliErrors[_0x4615f3(0x1fe)](_0x4615f3(0x206)+PRODUCT_CONFIG[_0x4615f3(0x1e7)]+_0x4615f3(0x1d0)+productEnvName(_0x4615f3(0x1d7))+'.');const {setActiveAK:_0x1fe32d}=await import(_0x4615f3(0x207));_0x1fe32d(_0x3a07ec[_0x4615f3(0x1e8)]);}let _0x5a3d68='';if(_0x5b20b2[_0x4615f3(0x20c)]!==![]){_0x5a3d68=_0x3a07ec[_0x4615f3(0x1ca)]??'',_0x5a3d68=await resolveExplicitAppName(_0x5b20b2,_0x3a07ec,_0x5a3d68);if(!_0x5a3d68){await assertSelectedAppNameIsRuntimeAccessible(_0x5b20b2,_0x3a07ec);throw CliErrors[_0x4615f3(0x1ed)](_0x4615f3(0x1e3)+PRODUCT_CONFIG[_0x4615f3(0x1e7)]+'.');}await assertAppCodeIsRuntimeAccessible(_0x5b20b2,_0x3a07ec,_0x5a3d68);}if(_0x5a3d68){const {initSdkClient:_0x310d72}=await import(_0x4615f3(0x1d6));_0x310d72({'appCode':_0x5a3d68,'env':_0x3a07ec[_0x4615f3(0x1e5)]??_0x4615f3(0x208),'runtimeDomain':_0x3a07ec['runtimeDomain'],'accessKey':_0x3a07ec['accessKey'],'authMode':_0xf347ac}),sdkClientInitialized=!![];}return{'defaults':{'booleans':{'verbose':_0x3a07ec[_0x4615f3(0x1f2)]},'numbers':{'pagesize':_0x3a07ec[_0x4615f3(0x202)]}},'extras':{'appCode':_0x5a3d68,'cookie':'','apiDomain':_0x3a07ec[_0x4615f3(0x1e9)],'apiDir':'','accessKey':_0x3a07ec[_0x4615f3(0x1e8)],'envName':_0x3a07ec['env'],'mergedCli':_0x3a07ec['mergedCli']}};},'confirmHighRisk':_0x251b6a[_0x551b10(0x1f7)]??(async({def:_0x19c65f,env:_0xede58a,flags:_0x13c1fd,commandLabel:_0x2dbca3})=>{const _0x2e0e9b=_0x551b10;if(_0xede58a[_0x2e0e9b(0x1ea)]){const _0x4ad632=reconstructCommandArgv(_0x19c65f,_0x13c1fd);throw CliErrors[_0x2e0e9b(0x1f6)](_0x2e0e9b(0x1df)+_0x2dbca3+_0x2e0e9b(0x1fb)+(_0x2e0e9b(0x1f1)+_0x4ad632));}await requireConfirmationPrompt({'lines':buildConfirmationLines(_0x19c65f,_0x2dbca3,_0x13c1fd),'createCancelledError':_0x32f6=>CliErrors[_0x2e0e9b(0x1d8)](_0x32f6)});}),'mapDryRunError'(_0x4ad441){return mapUserFacingExecuteError(_0x4ad441);},'mapExecuteError'(_0x2fcc6c){return mapUserFacingExecuteError(_0x2fcc6c);},async 'finalize'(){await finalizeLovrabetRuntimeState();}};return _0x1ecc0f;}function shouldRouteWriteToNativeTool(_0xe3013d,_0x31bbbd){const _0x4a7135=a120_0x45ac;return _0x31bbbd['nativeToolAvailable']===!![]&&(_0xe3013d[_0x4a7135(0x1e4)]===_0x4a7135(0x20a)||_0xe3013d[_0x4a7135(0x1e4)]==='high-risk-write');}const terminalRunnerAdapter=createLovrabetRunnerAdapter();export async function finalizeLovrabetRuntimeState(){const _0x26e53e=a120_0x45ac;try{if(sdkClientInitialized){const {clearSdkClient:_0x394f6a}=await import(_0x26e53e(0x1d6));_0x394f6a();}}finally{sdkClientInitialized=![];const {clearActiveAK:_0x378a00}=await import(_0x26e53e(0x207));_0x378a00();}}async function resolveExplicitAppName(_0x5a03bb,_0x5320da,_0x402355){const _0x5ec035=a120_0x45ac;if(_0x5a03bb[_0x5ec035(0x20c)]===![])return _0x402355;const _0x51c28f=typeof _0x5320da['rawFlags'][_0x5ec035(0x1ce)]==='string'?_0x5320da[_0x5ec035(0x1e1)][_0x5ec035(0x1ce)]['trim']():'';if(!_0x51c28f)return _0x402355;const _0x553666=typeof _0x5320da['rawFlags']['appcode']===_0x5ec035(0x1fc)&&_0x5320da[_0x5ec035(0x1e1)]['appcode'][_0x5ec035(0x20d)]()||productEnv(_0x5ec035(0x1cc));if(_0x553666||_0x5320da[_0x5ec035(0x1ec)]==='local-alias')return _0x402355;const {getRemoteAppList:_0x1da785}=await import('../commands/app/remote-source.js'),_0x224a1e=await _0x1da785({'env':_0x5320da['env']??_0x5ec035(0x208),'accessKey':_0x5320da['accessKey']}),_0x16a6a1=findAppByName(_0x224a1e[_0x5ec035(0x210)],_0x51c28f);if(_0x16a6a1&&!isRuntimeAccessibleApp(_0x16a6a1))throw runtimeInaccessibleAppError(_0x16a6a1,'\x22'+_0x51c28f+'\x22');const _0x52612b=_0x16a6a1?.[_0x5ec035(0x1ca)]?.[_0x5ec035(0x20d)]();if(_0x52612b)return _0x52612b;throw CliErrors[_0x5ec035(0x1f6)](_0x5ec035(0x1ef)+_0x51c28f,_0x5ec035(0x1eb)+CLI_BIN_NAME+'\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20add\x20apps.'+_0x51c28f+'.appcode\x20to\x20'+PRODUCT_CONFIG[_0x5ec035(0x1e7)]+'.');}async function assertSelectedAppNameIsRuntimeAccessible(_0x3e2eaf,_0x541c12){const _0x158d6d=a120_0x45ac;if(_0x3e2eaf[_0x158d6d(0x20c)]===![]||!_0x541c12['accessKey'])return;const _0x127041=(typeof _0x541c12[_0x158d6d(0x1e1)][_0x158d6d(0x1ce)]==='string'&&_0x541c12['rawFlags'][_0x158d6d(0x1ce)][_0x158d6d(0x20d)]()?_0x541c12[_0x158d6d(0x1e1)][_0x158d6d(0x1ce)]:_0x541c12[_0x158d6d(0x1cb)]?.[_0x158d6d(0x1e0)]??_0x541c12['mergedCli']?.['defaultApp'])?.[_0x158d6d(0x20d)]();if(!_0x127041)return;const {getRemoteAppList:_0x167d79}=await import(_0x158d6d(0x1ee)),_0x3b3a4d=await _0x167d79({'env':_0x541c12[_0x158d6d(0x1e5)]??_0x158d6d(0x208),'accessKey':_0x541c12['accessKey']}),_0x406db6=findAppByName(_0x3b3a4d[_0x158d6d(0x210)],_0x127041);if(_0x406db6&&!isRuntimeAccessibleApp(_0x406db6))throw runtimeInaccessibleAppError(_0x406db6,'\x22'+_0x127041+'\x22');}function a120_0x4fde(){const _0x2ff72e=['ClientAk','command','resolve','../core/sdk-client.js','ACCESS_KEY','cancelled','965506BmjLaJ','verbose','nonInteractive','1yxVslz','8tiotGf','25EUWUHx','High-risk\x20operation\x20`','currentApp','rawFlags','object','Set\x20appcode\x20via\x20--appcode\x20or\x20in\x20','risk','env','cli-skill','newConfigFileName','accessKey','apiDomain','isNonInteractive','Run\x20`','appCodeSource','configMissing','../commands/app/remote-source.js','Unknown\x20app:\x20','error','\x20\x20To\x20proceed:\x20','defaultVerbose','filter','format','includes','validation','confirmHighRisk','3030ZnlGvw','11Ywuuak','nativeToolAvailable','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.\x0a','string','5794776QNkGkN','authRequired','12418310XlAVen','install','775752yjxbjX','defaultPageSize','pretty','18948072GqXxmW','update','Set\x20accessKey\x20in\x20','../core/api-client.js','production','defaultApp','write','map','requiresAppCode','trim','2906176HkXMds','4668CTRDag','items','appCode','mergedCli','APPCODE','schema','app','service','\x20or\x20pass\x20','pageSize','_notice'];a120_0x4fde=function(){return _0x2ff72e;};return a120_0x4fde();}async function assertAppCodeIsRuntimeAccessible(_0x1908ff,_0x4e95c6,_0x4954ae){const _0x3697e0=a120_0x45ac;if(_0x1908ff[_0x3697e0(0x20c)]===![]||!_0x4e95c6['accessKey'])return;const {getRemoteAppList:_0x529a81}=await import('../commands/app/remote-source.js'),_0x82d977=await _0x529a81({'env':_0x4e95c6[_0x3697e0(0x1e5)]??_0x3697e0(0x208),'accessKey':_0x4e95c6[_0x3697e0(0x1e8)]}),_0xb3e5dc=findAppByCode(_0x82d977[_0x3697e0(0x210)],_0x4954ae);if(_0xb3e5dc&&!isRuntimeAccessibleApp(_0xb3e5dc))throw runtimeInaccessibleAppError(_0xb3e5dc,'appcode\x20\x22'+_0x4954ae+'\x22');}export async function runCommand(_0x44aa63,_0x16c490,_0x2f83c5=terminalRunnerAdapter){const _0x17b167=a120_0x45ac;assertKnownCommandFlags(_0x44aa63,_0x16c490[_0x17b167(0x1e1)]),await runCommandWithAdapter(shouldApplyVersionPolicy(_0x44aa63)?withVersionPolicy(_0x44aa63):_0x44aa63,_0x16c490,_0x2f83c5);}function shouldApplyVersionPolicy(_0xcf66f4){const _0x4bb537=a120_0x45ac;if([_0x4bb537(0x205),_0x4bb537(0x1cd),'doctor'][_0x4bb537(0x1f5)](_0xcf66f4[_0x4bb537(0x1cf)]))return![];return!(_0xcf66f4[_0x4bb537(0x1cf)]===_0x4bb537(0x1e6)&&_0xcf66f4[_0x4bb537(0x1d4)]===_0x4bb537(0x200));}function withVersionPolicy(_0x4d6b50){return{..._0x4d6b50,async 'execute'(_0x3bc288){const _0x24a9d1=a120_0x45ac,_0x5c0b6a=await checkCliVersion();assertCliVersionSupported(_0x5c0b6a);const _0x2a1d4c=shouldResolveUpdateNotice(_0x3bc288)?resolveLatestUpdateNotice(_0x5c0b6a)['catch'](()=>null):Promise[_0x24a9d1(0x1d5)](null),_0x700eb=await _0x4d6b50['execute'](_0x3bc288);return attachUpdateNotice(_0x700eb,await _0x2a1d4c);}};}function shouldResolveUpdateNotice(_0x164ff8){const _0x2a319e=a120_0x45ac;return _0x164ff8[_0x2a319e(0x1f4)]===_0x2a319e(0x203)&&!_0x164ff8[_0x2a319e(0x1db)];}function attachUpdateNotice(_0x1cc786,_0x13f440){const _0x1bab9b=a120_0x45ac;if(!_0x13f440||!_0x1cc786||typeof _0x1cc786!=='object')return _0x1cc786;const _0x4b2463=_0x1cc786,_0x157512=typeof _0x4b2463[_0x1bab9b(0x1d2)]===_0x1bab9b(0x1e2)&&_0x4b2463[_0x1bab9b(0x1d2)]!==null?_0x4b2463[_0x1bab9b(0x1d2)]:{};return{..._0x4b2463,'_notice':{..._0x157512,'update':_0x13f440}};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x44d349,_0x3d4fb6){const _0x4ad514=a121_0x5de7,_0x2a72d9=_0x44d349();while(!![]){try{const _0x35b0d0=parseInt(_0x4ad514(0x19c))/0x1+parseInt(_0x4ad514(0x1ab))/0x2+-parseInt(_0x4ad514(0x1a8))/0x3*(-parseInt(_0x4ad514(0x1a6))/0x4)+-parseInt(_0x4ad514(0x19d))/0x5+-parseInt(_0x4ad514(0x19f))/0x6+-parseInt(_0x4ad514(0x1a2))/0x7*(parseInt(_0x4ad514(0x1a4))/0x8)+parseInt(_0x4ad514(0x1a3))/0x9;if(_0x35b0d0===_0x3d4fb6)break;else _0x2a72d9['push'](_0x2a72d9['shift']());}catch(_0x8db1a9){_0x2a72d9['push'](_0x2a72d9['shift']());}}}(a121_0x1cbe,0xa4003));import{buildSchemaPayload as a121_0x1bf02b}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{findDynamicServiceDefinition,listDynamicServiceEntries}from'../commands/service/dynamic.js';import{insertDynamicServicesAfterServiceTree}from'../framework/service-order.js';function a121_0x1cbe(){const _0x506f8c=['commands','268420wXNYKv','services','274474sugYnY','4527730ODqVrs','service','3378210APsQEG','filter','map','35wpoGwM','20769426XeggaQ','1096976zqsPjl','none','40YkFlgO','../commands/registry.js','32862AgoOQY','auth'];a121_0x1cbe=function(){return _0x506f8c;};return a121_0x1cbe();}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 _0x298c4e=a121_0x5de7,{serviceRegistry:_0x5925a,findDefinition:_0x2e504d}=await import(_0x298c4e(0x1a7)),_0x150886=new Set(_0x5925a[_0x298c4e(0x1a1)](_0x386366=>_0x386366['service'])),_0x5537cc=listDynamicServiceEntries()[_0x298c4e(0x1a0)](_0x585a74=>!_0x150886['has'](_0x585a74[_0x298c4e(0x19e)])),_0x7ed9ad=a121_0x1bf02b({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':getCliGitCommit(),'globalFlags':GLOBAL_FLAGS,'serviceRegistry':insertDynamicServicesAfterServiceTree(_0x5925a,_0x5537cc),'buildAllFlags':buildAllFlags,'findDefinition':(_0x908fb8,_0x1016ea)=>_0x2e504d(_0x908fb8,_0x1016ea)??findDynamicServiceDefinition(_0x908fb8,_0x1016ea)});return normalizeSchemaPayload(_0x7ed9ad);}function normalizeSchemaPayload(_0x4dcc0d){const _0x2dd643=a121_0x5de7;return{..._0x4dcc0d,'schemaVersion':0x2,'services':_0x4dcc0d[_0x2dd643(0x19b)]['map'](_0x175b20=>({..._0x175b20,'commands':_0x175b20[_0x2dd643(0x1aa)][_0x2dd643(0x1a1)](normalizeSchemaCommand)}))};}function a121_0x5de7(_0x46e86c,_0x30622e){_0x46e86c=_0x46e86c-0x19b;const _0x1cbe77=a121_0x1cbe();let _0x5de793=_0x1cbe77[_0x46e86c];return _0x5de793;}function normalizeSchemaCommand(_0x37b887){const _0x5f496a=a121_0x5de7,_0x128fd1=_0x37b887;return{..._0x37b887,'auth':_0x128fd1[_0x5f496a(0x1a9)]??(_0x37b887['requiresAuth']?'required':_0x5f496a(0x1a5))};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x1c3f9b,_0x192cad){const _0x28936e=a122_0x5621,_0x28533c=_0x1c3f9b();while(!![]){try{const _0xeb70f9=parseInt(_0x28936e(0x135))/0x1+-parseInt(_0x28936e(0x136))/0x2+-parseInt(_0x28936e(0x137))/0x3+parseInt(_0x28936e(0x132))/0x4*(parseInt(_0x28936e(0x134))/0x5)+parseInt(_0x28936e(0x13c))/0x6*(-parseInt(_0x28936e(0x133))/0x7)+-parseInt(_0x28936e(0x13b))/0x8+parseInt(_0x28936e(0x138))/0x9;if(_0xeb70f9===_0x192cad)break;else _0x28533c['push'](_0x28533c['shift']());}catch(_0xd4605a){_0x28533c['push'](_0x28533c['shift']());}}}(a122_0x3f26,0x38cfb));export function insertDynamicServicesAfterServiceTree(_0x34fda4,_0x423242){const _0x438233=a122_0x5621;if(_0x423242[_0x438233(0x13d)]===0x0)return[..._0x34fda4];const _0xb24d0a=_0x34fda4[_0x438233(0x13a)](_0x58feac=>_0x58feac['service']===_0x438233(0x139));if(_0xb24d0a<0x0)return[..._0x34fda4,..._0x423242];return[..._0x34fda4[_0x438233(0x13e)](0x0,_0xb24d0a+0x1),..._0x423242,..._0x34fda4[_0x438233(0x13e)](_0xb24d0a+0x1)];}function a122_0x5621(_0x233e1d,_0x51414d){_0x233e1d=_0x233e1d-0x132;const _0x3f26c6=a122_0x3f26();let _0x56213b=_0x3f26c6[_0x233e1d];return _0x56213b;}function a122_0x3f26(){const _0x5407d1=['12678NaGCHK','length','slice','4hwPDAO','14nzipJr','796615CVxXKk','211838ShHxZb','679914vOZBSg','1276782GItdwe','6575634PNbgCY','service','findIndex','794488QvzZVH'];a122_0x3f26=function(){return _0x5407d1;};return a122_0x3f26();}
|
package/lib/framework/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a123_0x2649(_0x1a8520,_0x3aa2ea){_0x1a8520=_0x1a8520-0x1ee;var _0x5b6d13=a123_0x5b6d();var _0x2649c9=_0x5b6d13[_0x1a8520];return _0x2649c9;}(function(_0x349f04,_0x2c366f){var _0x6f3baf=a123_0x2649,_0x2250fe=_0x349f04();while(!![]){try{var _0x73d1b=parseInt(_0x6f3baf(0x1ef))/0x1+parseInt(_0x6f3baf(0x1f5))/0x2+parseInt(_0x6f3baf(0x1f6))/0x3*(parseInt(_0x6f3baf(0x1f4))/0x4)+-parseInt(_0x6f3baf(0x1f3))/0x5*(parseInt(_0x6f3baf(0x1f0))/0x6)+-parseInt(_0x6f3baf(0x1f2))/0x7+-parseInt(_0x6f3baf(0x1f1))/0x8+parseInt(_0x6f3baf(0x1ee))/0x9;if(_0x73d1b===_0x2c366f)break;else _0x2250fe['push'](_0x2250fe['shift']());}catch(_0x3c1d62){_0x2250fe['push'](_0x2250fe['shift']());}}}(a123_0x5b6d,0xd8c15));function a123_0x5b6d(){var _0x1e6e1f=['10915296wFtmSf','2223263hkiaVK','5GmnXuY','1575084GsRvwM','667522yWbXQK','6SCFxJn','6562278zmRbbJ','1042800dRzIFI','1940370GryAFR'];a123_0x5b6d=function(){return _0x1e6e1f;};return a123_0x5b6d();}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const VERSION = "2.3.2-beta.
|
|
2
|
-
export declare const GIT_TAG = "v2.3.2-beta.
|
|
3
|
-
export declare const GIT_COMMIT = "
|
|
4
|
-
export declare const BUILD_TIME = "2026-09-
|
|
1
|
+
export declare const VERSION = "2.3.2-beta.3";
|
|
2
|
+
export declare const GIT_TAG = "v2.3.2-beta.3";
|
|
3
|
+
export declare const GIT_COMMIT = "02124de";
|
|
4
|
+
export declare const BUILD_TIME = "2026-09-04T10:01:15.516Z";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a124_0x5344(_0x9d8da5,_0x442803){_0x9d8da5=_0x9d8da5-0x168;const _0x526faf=a124_0x526f();let _0x5344ff=_0x526faf[_0x9d8da5];return _0x5344ff;}function a124_0x526f(){const _0x595af8=['240PotziC','317900REFHHc','6698514SGkMWV','v2.3.2-beta.3','2026-09-04T10:01:15.516Z','5468288aWgYyg','23626ECjGqV','16dVLSGa','321038HYdhao','12594798kviFfC','1830320EQyEkv','2.3.2-beta.3'];a124_0x526f=function(){return _0x595af8;};return a124_0x526f();}const a124_0x3a402a=a124_0x5344;(function(_0x109798,_0x22574b){const _0x2cca1c=a124_0x5344,_0x316791=_0x109798();while(!![]){try{const _0x3e5faf=-parseInt(_0x2cca1c(0x173))/0x1+-parseInt(_0x2cca1c(0x171))/0x2*(-parseInt(_0x2cca1c(0x16b))/0x3)+-parseInt(_0x2cca1c(0x172))/0x4*(-parseInt(_0x2cca1c(0x16c))/0x5)+-parseInt(_0x2cca1c(0x16d))/0x6+-parseInt(_0x2cca1c(0x170))/0x7+parseInt(_0x2cca1c(0x169))/0x8+parseInt(_0x2cca1c(0x168))/0x9;if(_0x3e5faf===_0x22574b)break;else _0x316791['push'](_0x316791['shift']());}catch(_0x17e778){_0x316791['push'](_0x316791['shift']());}}}(a124_0x526f,0x94aa3));export const VERSION=a124_0x3a402a(0x16a);export const GIT_TAG=a124_0x3a402a(0x16e);export const GIT_COMMIT='02124de';export const BUILD_TIME=a124_0x3a402a(0x16f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a125_0x3fed5f=a125_0xa176;(function(_0x382f1e,_0x50dafd){const _0x1476e9=a125_0xa176,_0x148167=_0x382f1e();while(!![]){try{const _0x15744=-parseInt(_0x1476e9(0x17d))/0x1*(parseInt(_0x1476e9(0x16a))/0x2)+parseInt(_0x1476e9(0x172))/0x3+parseInt(_0x1476e9(0x17c))/0x4+parseInt(_0x1476e9(0x183))/0x5*(parseInt(_0x1476e9(0x178))/0x6)+-parseInt(_0x1476e9(0x16d))/0x7+-parseInt(_0x1476e9(0x17f))/0x8*(parseInt(_0x1476e9(0x174))/0x9)+parseInt(_0x1476e9(0x171))/0xa;if(_0x15744===_0x50dafd)break;else _0x148167['push'](_0x148167['shift']());}catch(_0x4a142d){_0x148167['push'](_0x148167['shift']());}}}(a125_0x373a,0x294c2));export const ROUTING_CATALOG_DIGEST=a125_0x3fed5f(0x16c);export const DEFAULT_REGION='cn';export const REGION_VALUES=['cn','id',a125_0x3fed5f(0x17e)];export const ENABLED_REGION_VALUES=['cn','id'];function a125_0xa176(_0x5d6730,_0x5d5e8b){_0x5d6730=_0x5d6730-0x16a;const _0x373a72=a125_0x373a();let _0xa1763e=_0x373a72[_0x5d6730];return _0xa1763e;}function a125_0x373a(){const _0x537f9e=['1228320hTVqhk','6pyBCTf','global','8EaztOK','https://skills.lovrabet.com','Global','https://runtime.lovrabet.com','5zeFVQH','https://runtime.lovrabet.id','indonesia','https://api.lovrabet.com','https://runtime.lovrabet.ai','258eYDjQR','china','41caa63f2eaa9f96327376df380668b835ef80916584dc754147daf394c2c513','2070845idOVNa','https://skills.lovrabet.id','https://user-daily.lovrabet.com','https://skills.lovrabet.ai','1944320OpIMgj','50751KhDTaa','https://user.lovrabet.ai','2168181LzFUHm','https://skills-daily.lovrabet.com','https://api.lovrabet.id','https://user.lovrabet.com','1129458kkNsaI','https://daily-api.lovrabet.com','https://user.lovrabet.id','https://daily-runtime.lovrabet.com'];a125_0x373a=function(){return _0x537f9e;};return a125_0x373a();}export const OFFICIAL_ROUTING_PROFILES={'cn':{'enabled':!![],'label':'Mainland\x20China','aliases':[a125_0x3fed5f(0x16b)],'serviceDomains':{'production':{'user':a125_0x3fed5f(0x177),'api':a125_0x3fed5f(0x186),'runtime':a125_0x3fed5f(0x182),'skill':a125_0x3fed5f(0x180)},'daily':{'user':a125_0x3fed5f(0x16f),'api':a125_0x3fed5f(0x179),'runtime':a125_0x3fed5f(0x17b),'skill':a125_0x3fed5f(0x175)}}},'id':{'enabled':!![],'label':'Indonesia','aliases':[a125_0x3fed5f(0x185)],'serviceDomains':{'production':{'user':a125_0x3fed5f(0x17a),'api':a125_0x3fed5f(0x176),'runtime':a125_0x3fed5f(0x184),'skill':a125_0x3fed5f(0x16e)}}},'global':{'enabled':![],'label':a125_0x3fed5f(0x181),'aliases':[],'serviceDomains':{'production':{'user':a125_0x3fed5f(0x173),'api':'https://api.lovrabet.ai','runtime':a125_0x3fed5f(0x187),'skill':a125_0x3fed5f(0x170)}}}};export const REGION_ALIASES={'china':'cn','indonesia':'id'};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a126_0x4f5e(_0x3411fd,_0x3a2cd1){_0x3411fd=_0x3411fd-0x8d;const _0x4dd81a=a126_0x4dd8();let _0x4f5e55=_0x4dd81a[_0x3411fd];return _0x4f5e55;}const a126_0x153ffc=a126_0x4f5e;(function(_0x3903b4,_0x199568){const _0x120645=a126_0x4f5e,_0x211fdc=_0x3903b4();while(!![]){try{const _0x45289f=parseInt(_0x120645(0x8d))/0x1+parseInt(_0x120645(0x93))/0x2+parseInt(_0x120645(0x91))/0x3*(parseInt(_0x120645(0x8f))/0x4)+parseInt(_0x120645(0x9b))/0x5*(-parseInt(_0x120645(0x9c))/0x6)+parseInt(_0x120645(0x9a))/0x7*(-parseInt(_0x120645(0x94))/0x8)+parseInt(_0x120645(0x90))/0x9+-parseInt(_0x120645(0x96))/0xa*(-parseInt(_0x120645(0x8e))/0xb);if(_0x45289f===_0x199568)break;else _0x211fdc['push'](_0x211fdc['shift']());}catch(_0x3a49c5){_0x211fdc['push'](_0x211fdc['shift']());}}}(a126_0x4dd8,0x81f8e));export const ENTERPRISE_ROUTING_SCHEMA_DIGEST=a126_0x153ffc(0x97);export const ENTERPRISE_ROUTING_PROTOCOL=a126_0x153ffc(0x92);export const ENTERPRISE_ROUTING_KIND='enterprise';function a126_0x4dd8(){const _0x2e895f=['51e352a2636c432b76d331cc9ff81c215d7cbe3d1d07ab7bd7bedb7bdb91631c','apiDomain','userDomain','34139azkGBg','5178905MRAcyu','6PMEXfr','runtimeDomain','800407lZNrdl','110ZPdxJN','4KChOqw','4049496paNJZY','2441349bdRpgM','lovrabet-routing/v1','777132dmEYCq','1592rKhbCK','skillDomain','85970edSLLy'];a126_0x4dd8=function(){return _0x2e895f;};return a126_0x4dd8();}export const ENTERPRISE_ROUTING_DOMAIN_FIELDS=['userDomain',a126_0x153ffc(0x98),a126_0x153ffc(0x9d),a126_0x153ffc(0x95)];export const REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS=[a126_0x153ffc(0x99),a126_0x153ffc(0x98),a126_0x153ffc(0x9d),a126_0x153ffc(0x95)];
|
package/lib/help.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a127_0x3e8f(_0x2eb84f,_0x449eb4){_0x2eb84f=_0x2eb84f-0x16e;const _0x218660=a127_0x2186();let _0x3e8f7e=_0x218660[_0x2eb84f];return _0x3e8f7e;}(function(_0x44c618,_0x67ebf7){const _0x4ed97b=a127_0x3e8f,_0x483d7d=_0x44c618();while(!![]){try{const _0x54f1d1=-parseInt(_0x4ed97b(0x175))/0x1*(parseInt(_0x4ed97b(0x173))/0x2)+-parseInt(_0x4ed97b(0x170))/0x3+parseInt(_0x4ed97b(0x16f))/0x4*(-parseInt(_0x4ed97b(0x176))/0x5)+parseInt(_0x4ed97b(0x17b))/0x6+-parseInt(_0x4ed97b(0x17a))/0x7*(-parseInt(_0x4ed97b(0x177))/0x8)+-parseInt(_0x4ed97b(0x178))/0x9+parseInt(_0x4ed97b(0x171))/0xa*(parseInt(_0x4ed97b(0x179))/0xb);if(_0x54f1d1===_0x67ebf7)break;else _0x483d7d['push'](_0x483d7d['shift']());}catch(_0x14c498){_0x483d7d['push'](_0x483d7d['shift']());}}}(a127_0x2186,0xb474c));import{jsx as a127_0x59ec7c,jsxs as a127_0x322b2a}from'react/jsx-runtime';import{useEffect}from'react';function a127_0x2186(){const _0x270789=['33WSjEiG','725767arerGc','3891498uEjDul','\x20--help','297812HtWWvA','3527841bdrpnv','8319380eOBKAv','green','14tBZlOP','column','129522VrJMqJ','25tRbbfQ','8sakMnQ','486576AynFwB'];a127_0x2186=function(){return _0x270789;};return a127_0x2186();}import{Box,Text,useApp}from'ink';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function Help(){const _0x4f5b37=a127_0x3e8f,{exit:_0x1665e0}=useApp();return useEffect(()=>{_0x1665e0();},[_0x1665e0]),a127_0x322b2a(Box,{'flexDirection':_0x4f5b37(0x174),'marginTop':0x1,'marginBottom':0x1,'children':[a127_0x59ec7c(Box,{'children':a127_0x59ec7c(Text,{'bold':!![],'color':_0x4f5b37(0x172),'children':'\x20\x20'+CLI_DISPLAY_NAME})}),a127_0x322b2a(Box,{'marginTop':0x1,'children':[a127_0x59ec7c(Text,{'dimColor':!![],'children':'\x20\x20Use\x20'}),a127_0x59ec7c(Text,{'bold':!![],'color':_0x4f5b37(0x172),'children':CLI_BIN_NAME+_0x4f5b37(0x16e)}),a127_0x59ec7c(Text,{'dimColor':!![],'children':'\x20to\x20view\x20available\x20commands.'})]})]});}
|
package/lib/postinstall.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a128_0x41bc(){const _0x56e874=['1767334akKFnx','already\x20current','\x20via\x20skills@latest','changed','error','3kNOUEu','Repair\x20with:\x20','repairCommand','3441402TJqPCB','SOURCE_INVALID','77LnGAyP','log','5CdtPSO','installedPath','7391000BYsEsx','291768BDaEDK','42VxNpZW','installed','645715WTXUXK','Lovrabet\x20Built-in\x20Skill\x20','warn','code','16PnTtvt','4167116UaPLqX','588036bgnvfb','Installation\x20failed'];a128_0x41bc=function(){return _0x56e874;};return a128_0x41bc();}(function(_0x5d64d5,_0x3b1c26){const _0x72adc6=a128_0x4b60,_0x562f10=_0x5d64d5();while(!![]){try{const _0x10bbc6=-parseInt(_0x72adc6(0xdb))/0x1+parseInt(_0x72adc6(0xe3))/0x2*(parseInt(_0x72adc6(0xe8))/0x3)+-parseInt(_0x72adc6(0xe0))/0x4*(parseInt(_0x72adc6(0xd5))/0x5)+parseInt(_0x72adc6(0xd8))/0x6*(parseInt(_0x72adc6(0xd9))/0x7)+parseInt(_0x72adc6(0xdf))/0x8*(parseInt(_0x72adc6(0xeb))/0x9)+parseInt(_0x72adc6(0xd7))/0xa+-parseInt(_0x72adc6(0xed))/0xb*(parseInt(_0x72adc6(0xe1))/0xc);if(_0x10bbc6===_0x3b1c26)break;else _0x562f10['push'](_0x562f10['shift']());}catch(_0x49c9d0){_0x562f10['push'](_0x562f10['shift']());}}}(a128_0x41bc,0x9e648));function a128_0x4b60(_0x43cccb,_0x58d4e2){_0x43cccb=_0x43cccb-0xd5;const _0x41bc42=a128_0x41bc();let _0x4b60a9=_0x41bc42[_0x43cccb];return _0x4b60a9;}import{installBuiltinSkill}from'./skills/builtin-skill.js';export async function runPostinstall(_0x7efdf1={}){const _0x2b0103=a128_0x4b60,_0x152f87=installBuiltinSkill(_0x7efdf1);if(_0x152f87['ok']){const _0x2ff582=_0x152f87[_0x2b0103(0xe6)]?_0x2b0103(0xda):_0x2b0103(0xe4),_0x55a2ec=_0x152f87[_0x2b0103(0xd6)]?'\x20at\x20'+_0x152f87[_0x2b0103(0xd6)]:_0x2b0103(0xe5);return console[_0x2b0103(0xee)](_0x2b0103(0xdc)+_0x152f87['skillVersion']+'\x20'+_0x2ff582+_0x55a2ec),_0x152f87;}const _0x487145='[BUILTIN_SKILL_INSTALL_'+(_0x152f87[_0x2b0103(0xde)]??'FAILED')+']\x20'+(_0x152f87[_0x2b0103(0xe7)]??_0x2b0103(0xe2))+'.\x20'+(_0x2b0103(0xe9)+_0x152f87[_0x2b0103(0xea)]);if(_0x152f87['code']===_0x2b0103(0xec))throw new Error(_0x487145);return console[_0x2b0103(0xdd)](_0x487145),_0x152f87;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x4d90b3,_0x410b48){const _0x315cc6=a129_0x2f1c,_0x1526c2=_0x4d90b3();while(!![]){try{const _0x4454a5=parseInt(_0x315cc6(0x1d0))/0x1+parseInt(_0x315cc6(0x1de))/0x2*(parseInt(_0x315cc6(0x1d3))/0x3)+parseInt(_0x315cc6(0x1d9))/0x4*(-parseInt(_0x315cc6(0x1dc))/0x5)+parseInt(_0x315cc6(0x1dd))/0x6*(parseInt(_0x315cc6(0x1db))/0x7)+-parseInt(_0x315cc6(0x1e0))/0x8+-parseInt(_0x315cc6(0x1d5))/0x9+parseInt(_0x315cc6(0x1d8))/0xa;if(_0x4454a5===_0x410b48)break;else _0x1526c2['push'](_0x1526c2['shift']());}catch(_0x41edab){_0x1526c2['push'](_0x1526c2['shift']());}}}(a129_0x9eb6,0x23976));const DESCRIPTION_MAX_LENGTH=0x1f4;function a129_0x9eb6(){const _0x5a8bd8=['2894NrUHru','confirmationDescription','1520312MqMboM','144342gWqqKG','risk','slice','195bZLuOF','high-risk-write','2212002koGBfa','Lovrabet\x20confirmation\x20requires\x20a\x20write\x20command.','replace','3631680NDsAYe','8XOhIlx','description','7203xMytTY','394630iMQXoo','804tjwgMv'];a129_0x9eb6=function(){return _0x5a8bd8;};return a129_0x9eb6();}function a129_0x2f1c(_0x4548c7,_0x109ec1){_0x4548c7=_0x4548c7-0x1d0;const _0x9eb6a=a129_0x9eb6();let _0x2f1cd6=_0x9eb6a[_0x4548c7];return _0x2f1cd6;}export function buildLovrabetConfirmationRequest(_0x3b2586,_0x428958,_0x3a6079){const _0x462521=a129_0x2f1c,_0x33ad73=normalizeText(_0x3b2586[_0x462521(0x1df)],DESCRIPTION_MAX_LENGTH),_0x14405d=normalizeText(_0x3b2586[_0x462521(0x1da)],DESCRIPTION_MAX_LENGTH);return{'operation':_0x428958,'risk':requireWriteRisk(_0x3b2586),'description':_0x33ad73||_0x14405d||'Run\x20this\x20write\x20operation',..._0x3a6079?{'signal':_0x3a6079}:{}};}function requireWriteRisk(_0x1807a){const _0x11c218=a129_0x2f1c;if(_0x1807a[_0x11c218(0x1d1)]==='write'||_0x1807a[_0x11c218(0x1d1)]===_0x11c218(0x1d4))return _0x1807a[_0x11c218(0x1d1)];throw new Error(_0x11c218(0x1d6));}function normalizeText(_0x1506f6,_0x1db15b){const _0x450868=a129_0x2f1c;if(typeof _0x1506f6!=='string')return'';return _0x1506f6[_0x450868(0x1d7)](/[\u0000-\u001f\u007f]+/g,'\x20')[_0x450868(0x1d7)](/\s+/g,'\x20')['trim']()[_0x450868(0x1d2)](0x0,_0x1db15b);}
|
package/lib/runtime/event.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a130_0x4f16(_0x103928,_0x518776){_0x103928=_0x103928-0xdf;const _0x56d93c=a130_0x56d9();let _0x4f165c=_0x56d93c[_0x103928];return _0x4f165c;}(function(_0xa9c71f,_0x3b497c){const _0x2f2ade=a130_0x4f16,_0x22d28c=_0xa9c71f();while(!![]){try{const _0x3212a8=parseInt(_0x2f2ade(0xeb))/0x1+parseInt(_0x2f2ade(0xe6))/0x2+parseInt(_0x2f2ade(0xe1))/0x3*(-parseInt(_0x2f2ade(0xe4))/0x4)+-parseInt(_0x2f2ade(0xe8))/0x5*(parseInt(_0x2f2ade(0xe7))/0x6)+-parseInt(_0x2f2ade(0xea))/0x7*(parseInt(_0x2f2ade(0xed))/0x8)+parseInt(_0x2f2ade(0xdf))/0x9+parseInt(_0x2f2ade(0xf0))/0xa;if(_0x3212a8===_0x3b497c)break;else _0x22d28c['push'](_0x22d28c['shift']());}catch(_0x266aa8){_0x22d28c['push'](_0x22d28c['shift']());}}}(a130_0x56d9,0x342b4));export function canonicalLovrabetOperation(_0x33c68a){const _0x304f23=a130_0x4f16;return[_0x33c68a[_0x304f23(0xe0)],..._0x33c68a['command']['trim']()[_0x304f23(0xe9)](/\s+/)][_0x304f23(0xe3)](Boolean)[_0x304f23(0xef)]('.');}export function createLovrabetWriteMetadata(_0x271cd8,_0x192419,_0x58ebc2,_0x4c0e06){const _0x3665ac=a130_0x4f16;if(_0x4c0e06||_0x58ebc2['ok']!==!![]||_0x271cd8['risk']!==_0x3665ac(0xec)&&_0x271cd8['risk']!==_0x3665ac(0xe5))return undefined;const _0x6c693b=_0x271cd8[_0x3665ac(0xee)]?.(_0x58ebc2),_0x3706dc={'type':'lovrabet.write.completed','operation':_0x192419,'risk':_0x271cd8[_0x3665ac(0xe2)],..._0x6c693b?{'subject':_0x6c693b}:{}};return{'lovrabet':{'schemaVersion':0x1,'event':_0x3706dc}};}function a130_0x56d9(){const _0x3717be=['1902KprJNq','5165sZWXRb','split','17129JAnQRz','409322RqtspF','write','336HNlyZc','writeEventSubject','join','1546400HVpZUJ','2280312ERhgJr','service','637683kkVKvx','risk','filter','4MljncN','high-risk-write','78300LsmJQJ'];a130_0x56d9=function(){return _0x3717be;};return a130_0x56d9();}
|
package/lib/runtime/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0xb9a9a5,_0x1b1e72){const _0x1e8552=a131_0x1467,_0x119ef=_0xb9a9a5();while(!![]){try{const _0x135591=-parseInt(_0x1e8552(0xd4))/0x1*(-parseInt(_0x1e8552(0xe7))/0x2)+parseInt(_0x1e8552(0xd1))/0x3+parseInt(_0x1e8552(0xde))/0x4*(-parseInt(_0x1e8552(0xe4))/0x5)+-parseInt(_0x1e8552(0xd6))/0x6+-parseInt(_0x1e8552(0xd8))/0x7*(-parseInt(_0x1e8552(0xea))/0x8)+-parseInt(_0x1e8552(0xd5))/0x9+parseInt(_0x1e8552(0xda))/0xa*(parseInt(_0x1e8552(0xcd))/0xb);if(_0x135591===_0x1b1e72)break;else _0x119ef['push'](_0x119ef['shift']());}catch(_0x249a86){_0x119ef['push'](_0x119ef['shift']());}}}(a131_0x1e89,0x7e3df));import{buildConfigFromFlags,initGlobalEnvironment}from'../context.js';import{createLovrabetRunnerAdapter,createPipelineEnv,finalizeLovrabetRuntimeState,runCommand}from'../framework/runner.js';import{canonicalLovrabetOperation,createLovrabetWriteMetadata}from'../runtime/event.js';function a131_0x1e89(){const _0x2df9bd=['1781989yadycR','args','data','high-risk-write','2962221RHmmIa','definition','confirmation','20yUkfoQ','7242678JbXzos','2699700BHDsGl','risk','19754VCBQFK','write','10KAObqd','aborted','format','present','4dnLsdw','dry-run','rawFlags','presentation','command','dryRun','3858505DnSlHz','result','Lovrabet\x20invocation\x20aborted.','95102ENzVEm','confirm','reason','1256WqBeXN','execute','signal','yes','riskLevel','message'];a131_0x1e89=function(){return _0x2df9bd;};return a131_0x1e89();}import{buildLovrabetConfirmationRequest}from'../runtime/confirmation.js';function a131_0x1467(_0x2eedf5,_0x883aae){_0x2eedf5=_0x2eedf5-0xcb;const _0x1e898d=a131_0x1e89();let _0x14677f=_0x1e898d[_0x2eedf5];return _0x14677f;}import{resolveLovrabetInvocation}from'../runtime/resolve.js';import{runSerialized}from'../runtime/queue.js';const defaultPresentation={'present'({result:_0x28b500,command:_0x26fb49,risk:_0x1b2027,dryRun:_0x523006}){const _0xe21aa2=a131_0x1467;return JSON['stringify']({'ok':_0x28b500['ok'],'command':_0x26fb49,'risk':_0x1b2027,..._0x523006?{'dryRun':!![]}:{},..._0x28b500[_0xe21aa2(0xcf)]!==undefined?{'data':_0x28b500[_0xe21aa2(0xcf)]}:{},..._0x28b500[_0xe21aa2(0xcc)]?{'message':_0x28b500[_0xe21aa2(0xcc)]}:{}});}};export async function invokeLovrabet(_0x38a7f2,_0x4e03c9){const _0x33b773=a131_0x1467;throwIfAborted(_0x4e03c9[_0x33b773(0xec)]);const _0x3d9e42=await resolveLovrabetInvocation(_0x38a7f2),_0x520caa=canonicalLovrabetOperation(_0x3d9e42['definition']);return await confirmWriteBeforeQueue(_0x3d9e42[_0x33b773(0xd2)],_0x3d9e42[_0x33b773(0xe0)],_0x520caa,_0x4e03c9),runSerialized(async()=>{const _0x306c2d=_0x33b773;throwIfAborted(_0x4e03c9[_0x306c2d(0xec)]);const _0x456f29={},_0x1206a3=buildConfigFromFlags(_0x3d9e42[_0x306c2d(0xe0)]);await initGlobalEnvironment(_0x1206a3);const _0x17004b=createPipelineEnv(_0x1206a3,{..._0x3d9e42[_0x306c2d(0xe0)],'yes':_0x3d9e42[_0x306c2d(0xd2)][_0x306c2d(0xd7)]===_0x306c2d(0xd0)?!![]:_0x3d9e42['rawFlags'][_0x306c2d(0xed)],'nonInteractive':!![]});_0x17004b['args']=_0x3d9e42[_0x306c2d(0xce)],_0x17004b['isNonInteractive']=!![],_0x17004b[_0x306c2d(0xcb)]=_0x306c2d(0xd0);const _0x329b70=withAbortSignal(_0x3d9e42[_0x306c2d(0xd2)],_0x4e03c9[_0x306c2d(0xec)]),_0x17a554=createLovrabetRunnerAdapter({'formatOutput'(_0x456d48,_0x4cf74d){const _0x2167df=_0x306c2d;_0x456f29[_0x2167df(0xe5)]=_0x456d48,_0x456f29[_0x2167df(0xe2)]=_0x4cf74d['command'],_0x456f29[_0x2167df(0xd7)]=_0x4cf74d[_0x2167df(0xd7)],_0x456f29[_0x2167df(0xdc)]=_0x4cf74d[_0x2167df(0xdc)],_0x456f29[_0x2167df(0xe3)]=_0x4cf74d[_0x2167df(0xe3)]===!![];},async 'confirmHighRisk'(){throw new Error('Embedded\x20Lovrabet\x20confirmation\x20must\x20run\x20inside\x20execute.');}});try{await runCommand(_0x329b70,_0x17004b,_0x17a554);if(!_0x456f29[_0x306c2d(0xe5)]||!_0x456f29[_0x306c2d(0xe2)]||!_0x456f29[_0x306c2d(0xd7)]||!_0x456f29[_0x306c2d(0xdc)])throw new Error('Lovrabet\x20invocation\x20completed\x20without\x20a\x20captured\x20command\x20result.');const _0x505513=_0x4e03c9[_0x306c2d(0xe1)]??defaultPresentation,_0x1df510=_0x456f29['dryRun']===!![],_0x35f386={'result':_0x456f29[_0x306c2d(0xe5)],'command':_0x456f29[_0x306c2d(0xe2)],'operation':_0x520caa,'risk':_0x456f29['risk'],'format':_0x456f29[_0x306c2d(0xdc)],'dryRun':_0x1df510},_0x3767db=createLovrabetWriteMetadata(_0x3d9e42['definition'],_0x520caa,_0x456f29[_0x306c2d(0xe5)],_0x1df510);let _0x443375;try{_0x443375=await _0x505513[_0x306c2d(0xdd)](_0x35f386);}catch(_0x57cf23){if(!_0x3767db||_0x505513===defaultPresentation)throw _0x57cf23;_0x443375=await defaultPresentation['present'](_0x35f386);}return{'operation':_0x520caa,'risk':_0x456f29['risk'],'mode':_0x1df510?_0x306c2d(0xdf):_0x306c2d(0xeb),'result':_0x456f29[_0x306c2d(0xe5)],'output':_0x443375,..._0x3767db?{'metadata':_0x3767db}:{}};}finally{await finalizeLovrabetRuntimeState();}});}async function confirmWriteBeforeQueue(_0x43a92b,_0x580b8e,_0x4616b5,_0xa603f6){const _0x392501=a131_0x1467;if(_0x580b8e[_0x392501(0xe3)]===!![]||_0x43a92b[_0x392501(0xd7)]!==_0x392501(0xd9)&&_0x43a92b['risk']!=='high-risk-write')return;await _0xa603f6[_0x392501(0xd3)][_0x392501(0xe8)](buildLovrabetConfirmationRequest(_0x43a92b,_0x4616b5,_0xa603f6[_0x392501(0xec)]));}function withAbortSignal(_0x28e8c4,_0x58a909){return{..._0x28e8c4,async 'execute'(_0x39c980){const _0x179aad=a131_0x1467;return throwIfAborted(_0x58a909),_0x28e8c4[_0x179aad(0xeb)]({..._0x39c980,'signal':_0x58a909});}};}function throwIfAborted(_0x145c45){const _0x26e573=a131_0x1467;if(_0x145c45?.[_0x26e573(0xdb)])throw _0x145c45[_0x26e573(0xe9)]instanceof Error?_0x145c45[_0x26e573(0xe9)]:new DOMException(_0x26e573(0xe6),'AbortError');}
|
package/lib/runtime/queue.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
const a132_0x373c33=a132_0x1e2a;function a132_0x2ce5(){const _0x53e294=['11365pPJpSN','13574475KJtfEU','2858116gMvhyt','12255740HGtMJD','resolve','2382sIXtiL','22WEvbTP','142275hEpjDd','40MnBwIM','5700344kSBbJZ','7RFulhf','17058igThUl'];a132_0x2ce5=function(){return _0x53e294;};return a132_0x2ce5();}function a132_0x1e2a(_0x1b0fe1,_0x38acce){_0x1b0fe1=_0x1b0fe1-0x18f;const _0x2ce5b9=a132_0x2ce5();let _0x1e2a01=_0x2ce5b9[_0x1b0fe1];return _0x1e2a01;}(function(_0x427eb6,_0x2cd3a4){const _0x58b46a=a132_0x1e2a,_0x5555fb=_0x427eb6();while(!![]){try{const _0x14e542=-parseInt(_0x58b46a(0x194))/0x1+-parseInt(_0x58b46a(0x18f))/0x2+parseInt(_0x58b46a(0x198))/0x3*(-parseInt(_0x58b46a(0x195))/0x4)+parseInt(_0x58b46a(0x199))/0x5*(parseInt(_0x58b46a(0x192))/0x6)+-parseInt(_0x58b46a(0x197))/0x7*(-parseInt(_0x58b46a(0x196))/0x8)+-parseInt(_0x58b46a(0x19a))/0x9+-parseInt(_0x58b46a(0x190))/0xa*(-parseInt(_0x58b46a(0x193))/0xb);if(_0x14e542===_0x2cd3a4)break;else _0x5555fb['push'](_0x5555fb['shift']());}catch(_0x3982e8){_0x5555fb['push'](_0x5555fb['shift']());}}}(a132_0x2ce5,0xe2f44));let tail=Promise[a132_0x373c33(0x191)]();export async function runSerialized(_0x32987f){const _0x42ba1b=tail;let _0x26a73d;tail=new Promise(_0x55b622=>{_0x26a73d=_0x55b622;}),await _0x42ba1b['catch'](()=>undefined);try{return await _0x32987f();}finally{_0x26a73d();}}
|