@lovrabet/lovrabet-cli 2.3.2-beta.3 → 2.3.3-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/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.d.ts +15 -0
- package/lib/commands/approval/index.js +1 -0
- 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.d.ts +83 -0
- 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/positive-safe-integer.d.ts +5 -0
- package/lib/utils/positive-safe-integer.js +1 -0
- package/lib/utils/redaction.d.ts +17 -0
- package/lib/utils/redaction.js +1 -0
- 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 +3 -2
- package/skills/lovrabet/references/lovrabet-approval-workflow.md +73 -0
- package/skills/lovrabet.manifest.json +4 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a106_0x4655(){const _0x5d15bf=['no-store','isFinite','split','12RnMUpT','score','documentId','schemaVersion','sort','query','hits','name','Knowledge\x20search\x20appCode\x20is\x20required.','authRequired','data','title','tags','chunkId','number','profile','apiError','scoreKind','1880334MgdCPr','response','344cHCbKi','toLowerCase','timingsMs','isArray','personal','/client/knowledge-base/search','POST','478cPAyIX','12235949dGZwif','headers','some','keys','scope','Runtime\x20knowledge\x20search\x20failed.','signal','isSafeInteger','9016eYCOVb','total','company','4468FlYjso','string','Runtime\x20knowledge\x20search\x20request\x20failed.','public','2286mWlvIe','strategyFingerprint','accessKey','test','hits[','entries','trim','\x20contract.','Knowledge\x20search\x20topK\x20must\x20be\x20an\x20integer\x20from\x201\x20through\x2050.','Runtime\x20knowledge\x20search\x20failed\x20(HTTP\x20','networkError','finalScore','6328gTnddd','text','Runtime\x20knowledge\x20search\x20returned\x20an\x20invalid\x20','rank','get','Runtime\x20knowledge\x20search\x20response\x20is\x20missing\x20Cache-Control:\x20no-store.','content-type','9132rlpjSD','includes','cache-control','success','23630LLLUay','rawScore','status','response\x20envelope','2642955SLYaMp','Runtime\x20knowledge\x20search\x20returned\x20invalid\x20JSON.','validation','runtime','topK','length','revision'];a106_0x4655=function(){return _0x5d15bf;};return a106_0x4655();}function a106_0xe263(_0x5cc680,_0x43ff44){_0x5cc680=_0x5cc680-0x1a3;const _0x465537=a106_0x4655();let _0xe2631c=_0x465537[_0x5cc680];return _0xe2631c;}const a106_0x1898c9=a106_0xe263;(function(_0x5c0d64,_0x44655d){const _0x4fa777=a106_0xe263,_0x5ad4c7=_0x5c0d64();while(!![]){try{const _0x23b7c7=parseInt(_0x4fa777(0x1ef))/0x1*(parseInt(_0x4fa777(0x1ab))/0x2)+parseInt(_0x4fa777(0x1c2))/0x3*(parseInt(_0x4fa777(0x1e8))/0x4)+parseInt(_0x4fa777(0x1ca))/0x5+-parseInt(_0x4fa777(0x1e6))/0x6+-parseInt(_0x4fa777(0x1a8))/0x7*(-parseInt(_0x4fa777(0x1bb))/0x8)+-parseInt(_0x4fa777(0x1af))/0x9*(parseInt(_0x4fa777(0x1c6))/0xa)+-parseInt(_0x4fa777(0x1f0))/0xb*(parseInt(_0x4fa777(0x1d4))/0xc);if(_0x23b7c7===_0x44655d)break;else _0x5ad4c7['push'](_0x5ad4c7['shift']());}catch(_0x42a374){_0x5ad4c7['push'](_0x5ad4c7['shift']());}}}(a106_0x4655,0xcfc8d));import{getRuntimeDomain}from'../constant/domain.js';import{CliError,CliErrors}from'../errors.js';const RESPONSE_KEYS=[a106_0x1898c9(0x1d7),a106_0x1898c9(0x1e3),a106_0x1898c9(0x1a9),a106_0x1898c9(0x1da),a106_0x1898c9(0x1b0),a106_0x1898c9(0x1ea)],HIT_KEYS=['documentId','revision',a106_0x1898c9(0x1e1),'scope',a106_0x1898c9(0x1df),a106_0x1898c9(0x1bc),a106_0x1898c9(0x1e0),a106_0x1898c9(0x1be),a106_0x1898c9(0x1c7),a106_0x1898c9(0x1ba),'scoreKind'];export async function searchRuntimeKnowledge(_0x34c489){const _0x211fc5=a106_0x1898c9,_0x489e27=_0x34c489['appCode']['trim'](),_0x21a63f=_0x34c489[_0x211fc5(0x1d9)][_0x211fc5(0x1b5)]();if(!_0x489e27)throw CliErrors['validation'](_0x211fc5(0x1dc));if(!_0x34c489[_0x211fc5(0x1b1)][_0x211fc5(0x1b5)]())throw CliErrors[_0x211fc5(0x1dd)]();if(!_0x21a63f)throw CliErrors[_0x211fc5(0x1cc)]('Knowledge\x20search\x20query\x20is\x20required.');validateTopK(_0x34c489[_0x211fc5(0x1ce)]);const _0x2c137b=getRuntimeDomain()+_0x211fc5(0x1ed);let _0x472c04;try{_0x472c04=await fetch(_0x2c137b,{'method':_0x211fc5(0x1ee),'headers':{'Content-Type':'application/json','X-User-AK':_0x34c489[_0x211fc5(0x1b1)],'X-Invoke-Source':'cli:lovrabet'},'body':JSON['stringify']({'appCode':_0x489e27,'query':_0x21a63f,..._0x34c489[_0x211fc5(0x1ce)]!==undefined?{'topK':_0x34c489[_0x211fc5(0x1ce)]}:{}}),'signal':_0x34c489[_0x211fc5(0x1a6)]});}catch(_0x3f9d3a){if(_0x3f9d3a instanceof CliError)throw _0x3f9d3a;if(_0x3f9d3a instanceof Error&&_0x3f9d3a[_0x211fc5(0x1db)]==='AbortError')throw _0x3f9d3a;throw CliErrors[_0x211fc5(0x1b9)](_0x211fc5(0x1ad));}if(!hasNoStore(_0x472c04[_0x211fc5(0x1f1)]))throw CliErrors['apiError'](_0x211fc5(0x1c0));if(_0x472c04[_0x211fc5(0x1c8)]===0x191)throw CliErrors['authRequired']();if(!_0x472c04['ok'])throw CliErrors[_0x211fc5(0x1e4)](_0x211fc5(0x1b8)+_0x472c04[_0x211fc5(0x1c8)]+').');if(!(_0x472c04[_0x211fc5(0x1f1)][_0x211fc5(0x1bf)](_0x211fc5(0x1c1))??'')[_0x211fc5(0x1e9)]()[_0x211fc5(0x1c3)]('application/json'))throw CliErrors[_0x211fc5(0x1e4)]('Runtime\x20knowledge\x20search\x20returned\x20a\x20non-JSON\x20content\x20type.');let _0x23b4a0;try{_0x23b4a0=await _0x472c04['json']();}catch{throw CliErrors[_0x211fc5(0x1e4)](_0x211fc5(0x1cb));}return parseRuntimeSearchResponse(readEnvelopeData(_0x23b4a0),_0x34c489[_0x211fc5(0x1ce)]);}function readEnvelopeData(_0x2d8e51){const _0x321049=a106_0x1898c9,_0x166b65=requireRecord(_0x2d8e51,_0x321049(0x1c9));if(_0x166b65[_0x321049(0x1c5)]===![])throw CliErrors[_0x321049(0x1e4)](_0x321049(0x1a5));if(!(_0x321049(0x1de)in _0x166b65))throw invalidContract(_0x321049(0x1c9));return _0x166b65[_0x321049(0x1de)];}function validateTopK(_0x14d766){const _0x5cec4b=a106_0x1898c9;if(_0x14d766!==undefined&&(!Number[_0x5cec4b(0x1a7)](_0x14d766)||_0x14d766<0x1||_0x14d766>0x32))throw CliErrors[_0x5cec4b(0x1cc)](_0x5cec4b(0x1b7));}function hasNoStore(_0x4e9f06){const _0x34dc0a=a106_0x1898c9;return(_0x4e9f06['get'](_0x34dc0a(0x1c4))??'')[_0x34dc0a(0x1d3)](',')[_0x34dc0a(0x1f2)](_0x459af7=>_0x459af7[_0x34dc0a(0x1b5)]()[_0x34dc0a(0x1e9)]()===_0x34dc0a(0x1d1));}function parseRuntimeSearchResponse(_0x3a5d93,_0x7fb7f3){const _0x3deb88=a106_0x1898c9,_0x324242=requireExactRecord(_0x3a5d93,RESPONSE_KEYS,_0x3deb88(0x1e7));if(_0x324242['schemaVersion']!==0x2||_0x324242[_0x3deb88(0x1e3)]!==_0x3deb88(0x1cd))throw invalidContract(_0x3deb88(0x1e3));if(!Array[_0x3deb88(0x1eb)](_0x324242[_0x3deb88(0x1da)])||_0x324242[_0x3deb88(0x1da)][_0x3deb88(0x1cf)]>(_0x7fb7f3??0x32))throw invalidContract(_0x3deb88(0x1da));if(typeof _0x324242[_0x3deb88(0x1b0)]!==_0x3deb88(0x1ac)||!/^sha256:[0-9a-f]{64}$/[_0x3deb88(0x1b2)](_0x324242[_0x3deb88(0x1b0)]))throw invalidContract(_0x3deb88(0x1b0));const _0x15c924=requireRecord(_0x324242[_0x3deb88(0x1ea)],_0x3deb88(0x1ea)),_0x41ebb9={};for(const [_0x486db7,_0x20aa99]of Object[_0x3deb88(0x1b4)](_0x15c924)){if(!/^[A-Za-z][A-Za-z0-9]*$/[_0x3deb88(0x1b2)](_0x486db7)||typeof _0x20aa99!==_0x3deb88(0x1e2)||!Number[_0x3deb88(0x1d2)](_0x20aa99)||_0x20aa99<0x0)throw invalidContract('timingsMs');_0x41ebb9[_0x486db7]=_0x20aa99;}const _0x1068f4=_0x324242['hits']['map']((_0x4da555,_0x874041)=>parseHit(_0x4da555,_0x874041));if(!Number[_0x3deb88(0x1a7)](_0x324242[_0x3deb88(0x1a9)])||_0x324242[_0x3deb88(0x1a9)]!==_0x1068f4[_0x3deb88(0x1cf)])throw invalidContract(_0x3deb88(0x1a9));return{'schemaVersion':_0x324242[_0x3deb88(0x1d7)],'profile':_0x324242['profile'],'total':_0x324242[_0x3deb88(0x1a9)],'strategyFingerprint':_0x324242['strategyFingerprint'],'timingsMs':_0x41ebb9,'hits':_0x1068f4};}function parseHit(_0x10a0ed,_0x282f0c){const _0x1f8a5a=a106_0x1898c9,_0x5ea53a=requireExactRecord(_0x10a0ed,HIT_KEYS,_0x1f8a5a(0x1b3)+_0x282f0c+']'),_0x19f036=_0x4dfb16=>{const _0x225ec4=_0x1f8a5a,_0x4f14bd=_0x5ea53a[_0x4dfb16];if(typeof _0x4f14bd!==_0x225ec4(0x1ac)||!_0x4f14bd)throw invalidContract(_0x4dfb16);return _0x4f14bd;};if(!Number['isSafeInteger'](_0x5ea53a['revision'])||_0x5ea53a['revision']<0x1)throw invalidContract('revision');if(_0x5ea53a['scope']!==_0x1f8a5a(0x1ae)&&_0x5ea53a[_0x1f8a5a(0x1a4)]!==_0x1f8a5a(0x1aa)&&_0x5ea53a[_0x1f8a5a(0x1a4)]!==_0x1f8a5a(0x1ec))throw invalidContract('scope');if(typeof _0x5ea53a[_0x1f8a5a(0x1df)]!==_0x1f8a5a(0x1ac)||typeof _0x5ea53a['text']!==_0x1f8a5a(0x1ac))throw invalidContract(_0x1f8a5a(0x1bc));if(!Array[_0x1f8a5a(0x1eb)](_0x5ea53a[_0x1f8a5a(0x1e0)])||_0x5ea53a['tags']['some'](_0x3f69f7=>typeof _0x3f69f7!==_0x1f8a5a(0x1ac)))throw invalidContract(_0x1f8a5a(0x1e0));if(!Number[_0x1f8a5a(0x1a7)](_0x5ea53a[_0x1f8a5a(0x1be)])||_0x5ea53a[_0x1f8a5a(0x1be)]!==_0x282f0c+0x1)throw invalidContract(_0x1f8a5a(0x1be));if(!isFiniteNumber(_0x5ea53a[_0x1f8a5a(0x1c7)])||!isFiniteNumber(_0x5ea53a[_0x1f8a5a(0x1ba)]))throw invalidContract(_0x1f8a5a(0x1d5));return{'documentId':_0x19f036(_0x1f8a5a(0x1d6)),'revision':_0x5ea53a[_0x1f8a5a(0x1d0)],'chunkId':_0x19f036('chunkId'),'scope':_0x5ea53a[_0x1f8a5a(0x1a4)],'title':_0x5ea53a[_0x1f8a5a(0x1df)],'text':_0x5ea53a['text'],'tags':[..._0x5ea53a[_0x1f8a5a(0x1e0)]],'rank':_0x5ea53a['rank'],'rawScore':_0x5ea53a[_0x1f8a5a(0x1c7)],'finalScore':_0x5ea53a['finalScore'],'scoreKind':_0x19f036(_0x1f8a5a(0x1e5))};}function requireExactRecord(_0x14c0f7,_0x26a265,_0xfa238d){const _0x229b3a=a106_0x1898c9,_0x40b126=requireRecord(_0x14c0f7,_0xfa238d),_0x453215=Object[_0x229b3a(0x1a3)](_0x40b126)[_0x229b3a(0x1d8)](),_0x53f60b=[..._0x26a265][_0x229b3a(0x1d8)]();if(_0x453215[_0x229b3a(0x1cf)]!==_0x53f60b[_0x229b3a(0x1cf)]||_0x453215['some']((_0x3b8bfa,_0x1eb082)=>_0x3b8bfa!==_0x53f60b[_0x1eb082]))throw invalidContract(_0xfa238d);return _0x40b126;}function requireRecord(_0x16dda7,_0x1f5ea2){if(!_0x16dda7||typeof _0x16dda7!=='object'||Array['isArray'](_0x16dda7))throw invalidContract(_0x1f5ea2);return _0x16dda7;}function isFiniteNumber(_0x3f9340){const _0x4761b5=a106_0x1898c9;return typeof _0x3f9340==='number'&&Number[_0x4761b5(0x1d2)](_0x3f9340);}function invalidContract(_0x3a5aa5){const _0x4a4738=a106_0x1898c9;return CliErrors[_0x4a4738(0x1e4)](_0x4a4738(0x1bd)+_0x3a5aa5+_0x4a4738(0x1b6));}
|
package/lib/core/sdk-client.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x1b717f,_0x55dbad){const _0x34ed6e=a107_0x579a,_0xd481b6=_0x1b717f();while(!![]){try{const _0x142d9d=parseInt(_0x34ed6e(0x1f4))/0x1*(-parseInt(_0x34ed6e(0x1f3))/0x2)+-parseInt(_0x34ed6e(0x1e4))/0x3*(parseInt(_0x34ed6e(0x1f2))/0x4)+parseInt(_0x34ed6e(0x1d6))/0x5*(-parseInt(_0x34ed6e(0x1ef))/0x6)+-parseInt(_0x34ed6e(0x1cf))/0x7+parseInt(_0x34ed6e(0x1e2))/0x8*(-parseInt(_0x34ed6e(0x1de))/0x9)+parseInt(_0x34ed6e(0x1e0))/0xa*(-parseInt(_0x34ed6e(0x1ec))/0xb)+-parseInt(_0x34ed6e(0x1f0))/0xc*(-parseInt(_0x34ed6e(0x1ea))/0xd);if(_0x142d9d===_0x55dbad)break;else _0xd481b6['push'](_0xd481b6['shift']());}catch(_0x4f185a){_0xd481b6['push'](_0xd481b6['shift']());}}}(a107_0x115f,0x92bc7));import{createClient}from'@lovrabet/sdk';import{PRODUCT_CONFIG}from'../constant/product.js';function a107_0x579a(_0x3f25c2,_0x5be18e){_0x3f25c2=_0x3f25c2-0x1cf;const _0x115ff4=a107_0x115f();let _0x579a70=_0x115ff4[_0x3f25c2];return _0x579a70;}import{CliErrors}from'../errors.js';import{parseBatchCreateItemsFromParams}from'../utils/params.js';import{installLosslessJsonResponseParser}from'../utils/lossless-json.js';let _client,restoreResponseJsonParser;export function initSdkClient(_0x488e8b){const _0x283206=a107_0x579a;restoreResponseJsonParser??=installLosslessJsonResponseParser();try{_client=createClient({'appCode':_0x488e8b['appCode'],'env':_0x488e8b[_0x283206(0x1f1)],'runtimeDomain':_0x488e8b[_0x283206(0x1d1)],'authMode':_0x488e8b[_0x283206(0x1dc)],..._0x488e8b[_0x283206(0x1da)]?{'accessKey':_0x488e8b[_0x283206(0x1da)]}:{},'options':{'timeout':0x7530,'headers':{'X-Invoke-Source':PRODUCT_CONFIG[_0x283206(0x1e9)]}}});}catch(_0x4b9d5f){clearSdkClient();throw _0x4b9d5f;}}export function clearSdkClient(){_client=undefined,restoreResponseJsonParser?.(),restoreResponseJsonParser=undefined;}function ensureClient(){if(!_client)throw new Error('SDK\x20client\x20not\x20initialized.\x20Call\x20initSdkClient()\x20first.');return _client;}function a107_0x115f(){const _0xab63fb=['data\x20aggregate\x20--params.aggregate[','bff','492hmPdID','12AEusml','env','2260928nxjawV','21342aNWqtn','83LGhhjn','trim','296779eLoHjm','aggregate','runtimeDomain','Available:\x20filter,\x20getOne,\x20create,\x20batchCreate,\x20update,\x20delete,\x20aggregate.','getOne','field','validation','3250qEVoKt','execute','isArray','column','accessKey','update','authMode','sql','1715409SkmDzD','\x22.\x20','50KNZFjz','object','16iazJuP','map','6OFDEeS','delete','batchCreate','delete\x20requires\x20\x22id\x22\x20in\x20--params,\x20e.g.\x20\x27{\x22id\x22:123}\x27',']\x20requires\x20\x22column\x22;\x20\x22field\x22\x20is\x20accepted\x20only\x20as\x20a\x20deprecated\x20alias.','invokeSource','42642886qXuyPb','update\x20requires\x20\x22id\x22\x20in\x20--params,\x20e.g.\x20\x27{\x22id\x22:123,\x22name\x22:\x22new\x22}\x27\x20or\x20\x27{\x22id\x22:[1,2,3],\x22name\x22:\x22new\x22}\x27','409497YTynVo'];a107_0x115f=function(){return _0xab63fb;};return a107_0x115f();}function normalizeAggregateParams(_0x1a03d7){const _0x233fa3=a107_0x579a,_0x1d705d=_0x1a03d7[_0x233fa3(0x1d0)];if(_0x1d705d===undefined)return _0x1a03d7;if(!Array['isArray'](_0x1d705d))throw CliErrors[_0x233fa3(0x1d5)]('data\x20aggregate\x20--params.aggregate\x20must\x20be\x20an\x20array.');return{..._0x1a03d7,'aggregate':_0x1d705d[_0x233fa3(0x1e3)]((_0x23a206,_0x3a3836)=>{const _0x1a1754=_0x233fa3;if(!_0x23a206||typeof _0x23a206!==_0x1a1754(0x1e1)||Array['isArray'](_0x23a206))throw CliErrors[_0x1a1754(0x1d5)](_0x1a1754(0x1ed)+_0x3a3836+']\x20must\x20be\x20an\x20object.');const _0x3285d2=_0x23a206[_0x1a1754(0x1d9)]??_0x23a206[_0x1a1754(0x1d4)];if(typeof _0x3285d2!=='string'||_0x3285d2[_0x1a1754(0x1f5)]()==='')throw CliErrors[_0x1a1754(0x1d5)](_0x1a1754(0x1ed)+_0x3a3836+_0x1a1754(0x1e8));const _0x3c3751={..._0x23a206,'column':_0x3285d2};return delete _0x3c3751['field'],_0x3c3751;})};}export async function executeData(_0x57ce77,_0x1e0b72,_0x3443e6){const _0xd2b41b=a107_0x579a,_0x280351=ensureClient(),_0x11e0f4='dataset_'+_0x57ce77,_0xcb26a0=_0x280351['models'][_0x11e0f4];if(!_0xcb26a0||typeof _0xcb26a0[_0x1e0b72]!=='function')throw new Error('SDK\x20model\x20does\x20not\x20support\x20operation\x20\x22'+_0x1e0b72+_0xd2b41b(0x1df)+_0xd2b41b(0x1d2));if(_0x1e0b72==='batchCreate')return _0xcb26a0[_0xd2b41b(0x1e6)](parseBatchCreateItemsFromParams(_0x3443e6));const _0x3ff688=_0x3443e6!==undefined&&_0x3443e6!==null&&!Array[_0xd2b41b(0x1d8)](_0x3443e6)?_0x3443e6:{};switch(_0x1e0b72){case _0xd2b41b(0x1d3):{const _0x3aceb0=_0x3ff688['id'];if(_0x3aceb0===undefined||_0x3aceb0===null)throw new Error('getOne\x20requires\x20\x22id\x22\x20in\x20--params,\x20e.g.\x20\x27{\x22id\x22:123}\x27');return _0xcb26a0[_0xd2b41b(0x1d3)](_0x3aceb0);}case _0xd2b41b(0x1db):{const {id:_0x3144ff,..._0x168971}=_0x3ff688;if(_0x3144ff===undefined||_0x3144ff===null)throw new Error(_0xd2b41b(0x1eb));return _0xcb26a0[_0xd2b41b(0x1db)](_0x3144ff,_0x168971);}case _0xd2b41b(0x1e5):{const _0x1dc4f4=_0x3ff688['id'];if(_0x1dc4f4===undefined||_0x1dc4f4===null)throw new Error(_0xd2b41b(0x1e7));return _0xcb26a0['delete'](_0x1dc4f4);}case _0xd2b41b(0x1d0):return _0xcb26a0['aggregate'](normalizeAggregateParams(_0x3ff688));default:return _0xcb26a0[_0x1e0b72](_0x3ff688);}}export async function executeSdkSql(_0xdfa673,_0x255a35){const _0xd80dc8=a107_0x579a,_0x3fd25c=ensureClient();return _0x3fd25c[_0xd80dc8(0x1dd)][_0xd80dc8(0x1d7)]({'sqlCode':_0xdfa673,'params':_0x255a35});}export async function executeSdkBff(_0x5cca9a,_0x39f976){const _0x39cf46=a107_0x579a,_0xa42845=ensureClient();return _0xa42845[_0x39cf46(0x1ee)]['execute']({'scriptName':_0x5cca9a,'params':_0x39f976});}
|
package/lib/errors.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a108_0x3220(){const _0x2d699a=['1ZxLhfj','20SWDjOm','150DEiUnS','`\x20cannot\x20run\x20through\x20the\x20shell\x20CLI\x20because\x20this\x20execution\x20host\x20delegates\x20Lovrabet\x20writes\x20to\x20the\x20native\x20tool.','8909197yfHJAy','\x20file.','\x20auth\x20login`.','native_tool_required','2874640iNFEEW','Configure\x20accessKey\x20in\x20','4145481OixPrM','Command\x20`','2731774pxfaLN','newConfigFileName','88602mLvglt','1093400bkYCnl','8NnFUuN','51190gnxzkh','\x20or\x20run\x20`'];a108_0x3220=function(){return _0x2d699a;};return a108_0x3220();}const a108_0x36f78a=a108_0x81da;(function(_0x24361b,_0x3f73e8){const _0x3521a8=a108_0x81da,_0x57042a=_0x24361b();while(!![]){try{const _0x4b5081=parseInt(_0x3521a8(0x1cf))/0x1*(parseInt(_0x3521a8(0x1c8))/0x2)+-parseInt(_0x3521a8(0x1ca))/0x3*(parseInt(_0x3521a8(0x1d0))/0x4)+-parseInt(_0x3521a8(0x1cd))/0x5*(parseInt(_0x3521a8(0x1d1))/0x6)+-parseInt(_0x3521a8(0x1cb))/0x7+parseInt(_0x3521a8(0x1cc))/0x8*(parseInt(_0x3521a8(0x1d9))/0x9)+parseInt(_0x3521a8(0x1d7))/0xa+-parseInt(_0x3521a8(0x1d3))/0xb;if(_0x4b5081===_0x3f73e8)break;else _0x57042a['push'](_0x57042a['shift']());}catch(_0x55a316){_0x57042a['push'](_0x57042a['shift']());}}}(a108_0x3220,0xb5b15));import{CliError,createCliErrors}from'@lovrabet/cli-framework';import{CLI_BIN_NAME}from'./constant/cli.js';import{PRODUCT_CONFIG}from'./constant/product.js';function a108_0x81da(_0x4a1add,_0x273075){_0x4a1add=_0x4a1add-0x1c7;const _0x322028=a108_0x3220();let _0x81da70=_0x322028[_0x4a1add];return _0x81da70;}export{CliError};const baseCliErrors=createCliErrors({'cliBinName':CLI_BIN_NAME,'authRequiredHint':a108_0x36f78a(0x1d8)+PRODUCT_CONFIG['newConfigFileName']+a108_0x36f78a(0x1ce)+CLI_BIN_NAME+a108_0x36f78a(0x1d5),'configMissingHint':'Set\x20appcode\x20via\x20--appcode\x20or\x20'+PRODUCT_CONFIG[a108_0x36f78a(0x1c9)]+'.','notInProjectHint':'Run\x20this\x20command\x20inside\x20a\x20directory\x20with\x20a\x20'+PRODUCT_CONFIG['newConfigFileName']+a108_0x36f78a(0x1d4)});export const CliErrors={...baseCliErrors,'rateLimited':(_0x1a2339,_0x37a204)=>new CliError('rate_limited',0x2,_0x1a2339,_0x37a204),'nativeToolRequired':_0x1ec8b2=>new CliError(a108_0x36f78a(0x1d6),0x1,a108_0x36f78a(0x1c7)+_0x1ec8b2+a108_0x36f78a(0x1d2),'Use\x20the\x20native\x20`lovrabet`\x20tool\x20with\x20argv\x20containing\x20only\x20the\x20tokens\x20after\x20`lovrabet`;\x20do\x20not\x20raise\x20riskLevel\x20or\x20retry\x20through\x20bash.')};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x3c09d5,_0x178710){var _0x40ae5a=a109_0x2c52,_0xeda100=_0x3c09d5();while(!![]){try{var _0x4536db=parseInt(_0x40ae5a(0x1f4))/0x1+-parseInt(_0x40ae5a(0x1f8))/0x2+parseInt(_0x40ae5a(0x1f9))/0x3+-parseInt(_0x40ae5a(0x1f6))/0x4+parseInt(_0x40ae5a(0x1f7))/0x5+parseInt(_0x40ae5a(0x1fa))/0x6+parseInt(_0x40ae5a(0x1f5))/0x7;if(_0x4536db===_0x178710)break;else _0xeda100['push'](_0xeda100['shift']());}catch(_0x45cd82){_0xeda100['push'](_0xeda100['shift']());}}}(a109_0x45bc,0xd995f));function a109_0x45bc(){var _0x57ef41=['411320AYKWZG','6464094Iouqcw','4887296TctrzT','2371700XfuVIv','3465596LEelFK','2456304PVxSYU','7307898XChaJY'];a109_0x45bc=function(){return _0x57ef41;};return a109_0x45bc();}function a109_0x2c52(_0x33b04e,_0x3923b3){_0x33b04e=_0x33b04e-0x1f4;var _0x45bc55=a109_0x45bc();var _0x2c527e=_0x45bc55[_0x33b04e];return _0x2c527e;}import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';import{buildAllFlags as a109_0x5c26d6}from'@lovrabet/cli-framework';export function buildAllFlags(_0x37c1c7){return a109_0x5c26d6(_0x37c1c7,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});}
|
package/lib/framework/dryrun.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a110_0x4b07(_0x27b24d,_0x4eb9b1){_0x27b24d=_0x27b24d-0x126;const _0x27afc0=a110_0x27af();let _0x4b07da=_0x27afc0[_0x27b24d];return _0x4b07da;}(function(_0x3b1b97,_0x3159cb){const _0x54d6bc=a110_0x4b07,_0x1f494a=_0x3b1b97();while(!![]){try{const _0x1bd982=parseInt(_0x54d6bc(0x12a))/0x1+parseInt(_0x54d6bc(0x12d))/0x2*(parseInt(_0x54d6bc(0x128))/0x3)+-parseInt(_0x54d6bc(0x12b))/0x4*(parseInt(_0x54d6bc(0x126))/0x5)+parseInt(_0x54d6bc(0x127))/0x6+parseInt(_0x54d6bc(0x129))/0x7*(parseInt(_0x54d6bc(0x12f))/0x8)+-parseInt(_0x54d6bc(0x12c))/0x9+-parseInt(_0x54d6bc(0x12e))/0xa;if(_0x1bd982===_0x3159cb)break;else _0x1f494a['push'](_0x1f494a['shift']());}catch(_0x49703c){_0x1f494a['push'](_0x1f494a['shift']());}}}(a110_0x27af,0x6438a));export function dryRun(_0x251aaa,_0x2edbc5){const _0x3382c0={'method':_0x251aaa,'url':_0x2edbc5},_0x2acb77={'body'(_0xff6643){return _0x3382c0['body']=_0xff6643,_0x2acb77;},'description'(_0x172e36){return _0x3382c0['description']=_0x172e36,_0x2acb77;},'build'(){return{..._0x3382c0};}};return _0x2acb77;}function a110_0x27af(){const _0x3d54fd=['20412SsqLiq','517647TPBwav','193808WkzfUd','5486706bbdcUE','79726DvzJlq','8420960LJZTle','2104BksnPJ','40XafhzS','4117536Otxhaw','21ufkTLu'];a110_0x27af=function(){return _0x3d54fd;};return a110_0x27af();}
|
package/lib/framework/flags.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a111_0x2a1100=a111_0xa2af;(function(_0x595539,_0x4d7e22){const _0x26bde3=a111_0xa2af,_0x1da6df=_0x595539();while(!![]){try{const _0x336920=parseInt(_0x26bde3(0x119))/0x1*(parseInt(_0x26bde3(0x113))/0x2)+-parseInt(_0x26bde3(0x118))/0x3+parseInt(_0x26bde3(0x116))/0x4+parseInt(_0x26bde3(0x112))/0x5+-parseInt(_0x26bde3(0x110))/0x6+-parseInt(_0x26bde3(0x117))/0x7+-parseInt(_0x26bde3(0x114))/0x8*(-parseInt(_0x26bde3(0x111))/0x9);if(_0x336920===_0x4d7e22)break;else _0x1da6df['push'](_0x1da6df['shift']());}catch(_0x26ad4f){_0x1da6df['push'](_0x1da6df['shift']());}}}(a111_0x4e40,0x5df9e));import{createFlagHelpers}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);function a111_0xa2af(_0x79440a,_0x170072){_0x79440a=_0x79440a-0x110;const _0x4e4015=a111_0x4e40();let _0xa2af40=_0x4e4015[_0x79440a];return _0xa2af40;}function a111_0x4e40(){const _0x208a64=['823176gmxOAD','2hVhfFM','1359522aCloWU','297eTwEAQ','322250kRIFpu','284186VBOWDn','53400KruFaI','validateFlags','2692592cMgyPP','2493078KtJSyq'];a111_0x4e40=function(){return _0x208a64;};return a111_0x4e40();}export const parseFlags=helpers['parseFlags'];export const validateFlags=helpers[a111_0x2a1100(0x115)];
|
package/lib/framework/help.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x1c7b20,_0x430483){const _0x523068=a112_0x5c0d,_0x1580ef=_0x1c7b20();while(!![]){try{const _0x3f506e=parseInt(_0x523068(0x1f2))/0x1+-parseInt(_0x523068(0x1e7))/0x2*(-parseInt(_0x523068(0x1eb))/0x3)+parseInt(_0x523068(0x1f5))/0x4+parseInt(_0x523068(0x1f0))/0x5*(-parseInt(_0x523068(0x1ea))/0x6)+parseInt(_0x523068(0x1f1))/0x7*(-parseInt(_0x523068(0x1ec))/0x8)+parseInt(_0x523068(0x1e8))/0x9*(-parseInt(_0x523068(0x1ed))/0xa)+parseInt(_0x523068(0x1e9))/0xb;if(_0x3f506e===_0x430483)break;else _0x1580ef['push'](_0x1580ef['shift']());}catch(_0x28ee87){_0x1580ef['push'](_0x1580ef['shift']());}}}(a112_0x426c,0x3d515));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 _0x3fdea8=a112_0x5c0d;return createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':insertDynamicServicesAfterServiceTree(serviceRegistry,safeListDynamicServiceEntries()),'getServiceEntry':getAnyServiceEntry,'getServiceDefinitions':getAnyServiceDefinitions,'buildAllFlags':buildAllFlags,'appPrerequisiteText':_0x3fdea8(0x1ee)+PRODUCT_CONFIG['newConfigFileName']+_0x3fdea8(0x1f3)});}function a112_0x426c(){const _0x20e42a=['service','212614vYaZqM','112599VlWLVm','2725580YNbSnw','96mZJjIO','9RWqJbL','184CCpScF','100upgACR','Requires\x20appcode\x20(set\x20via\x20','generateServiceHelp','78035bKrbXm','146524IeekBw','210153GsxEMu','\x20or\x20--appcode).','filter','1322244ZbaIqq','has'];a112_0x426c=function(){return _0x20e42a;};return a112_0x426c();}export function generateCommandHelp(_0x831d84){return createGenerators()['generateCommandHelp'](_0x831d84);}function a112_0x5c0d(_0x24837e,_0xcb8ce2){_0x24837e=_0x24837e-0x1e5;const _0x426c82=a112_0x426c();let _0x5c0daa=_0x426c82[_0x24837e];return _0x5c0daa;}export function generateServiceHelp(_0xb435f3){const _0x4107cd=a112_0x5c0d;return createGenerators()[_0x4107cd(0x1ef)](_0xb435f3);}export function generateFullHelp(){return createGenerators()['generateFullHelp']();}function getAnyServiceEntry(_0x183c4b){const _0x81316b=getServiceEntry(_0x183c4b);if(_0x81316b)return _0x81316b;try{return getDynamicServiceEntry(_0x183c4b);}catch{return undefined;}}function getAnyServiceDefinitions(_0x26ea05){const _0x4affc1=serviceGroups['get'](_0x26ea05);if(_0x4affc1)return _0x4affc1;try{return getDynamicServiceDefinitions(_0x26ea05);}catch{return undefined;}}function safeListDynamicServiceEntries(){const _0x3886eb=a112_0x5c0d,_0x262cad=new Set(serviceRegistry['map'](_0x346648=>_0x346648[_0x3886eb(0x1e6)]));try{return listDynamicServiceEntries()[_0x3886eb(0x1f4)](_0x5ba2dc=>!_0x262cad[_0x3886eb(0x1e5)](_0x5ba2dc[_0x3886eb(0x1e6)]));}catch{return[];}}
|
package/lib/framework/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x37cd52,_0x5496a7){var _0xcdf630=a113_0x1acf,_0x47b314=_0x37cd52();while(!![]){try{var _0x185441=parseInt(_0xcdf630(0x170))/0x1+parseInt(_0xcdf630(0x174))/0x2*(-parseInt(_0xcdf630(0x16d))/0x3)+-parseInt(_0xcdf630(0x16f))/0x4+-parseInt(_0xcdf630(0x175))/0x5+-parseInt(_0xcdf630(0x16e))/0x6*(-parseInt(_0xcdf630(0x171))/0x7)+-parseInt(_0xcdf630(0x172))/0x8*(parseInt(_0xcdf630(0x173))/0x9)+parseInt(_0xcdf630(0x176))/0xa;if(_0x185441===_0x5496a7)break;else _0x47b314['push'](_0x47b314['shift']());}catch(_0x34481){_0x47b314['push'](_0x47b314['shift']());}}}(a113_0x1f0d,0xbc717));function a113_0x1f0d(){var _0xa93637=['4239304dQowLG','997175myCvuB','442813dvWcSQ','21848KbLqMN','4419YsloDZ','4IhdZNZ','675300VOwrAF','30272960deiYeU','1739421WGdVNQ','42OiArqF'];a113_0x1f0d=function(){return _0xa93637;};return a113_0x1f0d();}export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';function a113_0x1acf(_0x19043f,_0x4f82b8){_0x19043f=_0x19043f-0x16d;var _0x1f0dbf=a113_0x1f0d();var _0x1acfff=_0x1f0dbf[_0x19043f];return _0x1acfff;}export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';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
|
-
(function(
|
|
1
|
+
(function(_0x268259,_0x11a434){const _0xfbbe02=a114_0x3ca6,_0x10fa87=_0x268259();while(!![]){try{const _0x3cccb9=-parseInt(_0xfbbe02(0x1c5))/0x1*(-parseInt(_0xfbbe02(0x1be))/0x2)+parseInt(_0xfbbe02(0x1bf))/0x3*(parseInt(_0xfbbe02(0x1c4))/0x4)+parseInt(_0xfbbe02(0x1c6))/0x5+-parseInt(_0xfbbe02(0x1c3))/0x6*(-parseInt(_0xfbbe02(0x1c7))/0x7)+-parseInt(_0xfbbe02(0x1bc))/0x8+parseInt(_0xfbbe02(0x1c2))/0x9*(-parseInt(_0xfbbe02(0x1bb))/0xa)+-parseInt(_0xfbbe02(0x1c0))/0xb;if(_0x3cccb9===_0x11a434)break;else _0x10fa87['push'](_0x10fa87['shift']());}catch(_0x509c72){_0x10fa87['push'](_0x10fa87['shift']());}}}(a114_0x1658,0x98a71));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a114_0x3ca6(_0x452320,_0x28f9a3){_0x452320=_0x452320-0x1ba;const _0x16584b=a114_0x1658();let _0x3ca6ed=_0x16584b[_0x452320];return _0x3ca6ed;}const baseFormatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});function a114_0x1658(){const _0x1a4561=['error','220HbRtEd','8220088AjNSsl','_notice','2998ACpvWR','35301ZgGNGc','13784419qAPtKj','url','322533AuikbQ','6gfzviw','404ChmIBt','602DYGLQZ','5794410zESlXG','3112004QmSVGz','pretty'];a114_0x1658=function(){return _0x1a4561;};return a114_0x1658();}export function formatOutput(_0x1f69c6,_0x12aa60){const _0x3b97c9=a114_0x3ca6,_0x47732e=_0x1f69c6[_0x3b97c9(0x1bd)],{_notice:_0xc1ef6f,..._0x204659}=_0x1f69c6;void _0xc1ef6f,baseFormatOutput(_0x204659,_0x12aa60),_0x12aa60['format']===_0x3b97c9(0x1c8)&&printPrettyNotice(_0x47732e);}function printPrettyNotice(_0x3de1fa){const _0x835148=a114_0x3ca6;if(!_0x3de1fa?.['update'])return;console[_0x835148(0x1ba)](_0x3de1fa['update']['message']+'\x20('+_0x3de1fa['update'][_0x835148(0x1c1)]+')');}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x480cca,_0x284722){const _0x27861d=a115_0x3e14,_0x14f057=_0x480cca();while(!![]){try{const _0x473f8a=-parseInt(_0x27861d(0xa0))/0x1+parseInt(_0x27861d(0xa7))/0x2*(-parseInt(_0x27861d(0xac))/0x3)+parseInt(_0x27861d(0xc3))/0x4*(parseInt(_0x27861d(0xc4))/0x5)+-parseInt(_0x27861d(0xb1))/0x6+-parseInt(_0x27861d(0xbb))/0x7*(-parseInt(_0x27861d(0xb9))/0x8)+parseInt(_0x27861d(0xa2))/0x9*(-parseInt(_0x27861d(0xbe))/0xa)+-parseInt(_0x27861d(0xc1))/0xb;if(_0x473f8a===_0x284722)break;else _0x14f057['push'](_0x14f057['shift']());}catch(_0x34a74d){_0x14f057['push'](_0x14f057['shift']());}}}(a115_0x5a84,0xefb47));export function toKebab(_0x5368af){const _0x3a21fa=a115_0x3e14;return _0x5368af[_0x3a21fa(0xa1)](/_/g,'-')[_0x3a21fa(0xa1)](/-([A-Z]+)/g,(_0x5ac9c4,_0x49b07b)=>'-'+_0x49b07b[_0x3a21fa(0xaf)]())[_0x3a21fa(0xa1)](/([a-z0-9])([A-Z])/g,(_0x1b9580,_0x23737e,_0x5d7166)=>_0x23737e+'-'+_0x5d7166)[_0x3a21fa(0xaf)]();}function buildKnownFlags(_0x765c9c){const _0x176ab4=a115_0x3e14,_0x12e95a=new Set();for(const _0x43ccb7 of _0x765c9c){_0x12e95a[_0x176ab4(0xbd)](_0x43ccb7[_0x176ab4(0xb2)]),_0x12e95a['add'](toCamelCase(_0x43ccb7[_0x176ab4(0xb2)]));}for(const _0x52ea89 of[_0x176ab4(0xbf),'dryRun',_0x176ab4(0xbc),_0x176ab4(0xb0)]){_0x12e95a['add'](_0x52ea89);}for(const _0x33d833 of[_0x176ab4(0xc2),_0x176ab4(0xa4),_0x176ab4(0xad),_0x176ab4(0xc0),'nonInteractive','non-interactive','ci','global',_0x176ab4(0xb7)]){_0x12e95a[_0x176ab4(0xbd)](_0x33d833);}return _0x12e95a;}function buildFlagTypeMap(_0x54cf6b){const _0x4ef090=a115_0x3e14,_0x4c7fd7=new Map();for(const _0x4ff81f of _0x54cf6b){_0x4c7fd7['set'](_0x4ff81f[_0x4ef090(0xb2)],_0x4ff81f['type']),_0x4c7fd7[_0x4ef090(0xba)](toCamelCase(_0x4ff81f[_0x4ef090(0xb2)]),_0x4ff81f[_0x4ef090(0xab)]);}return _0x4c7fd7;}function a115_0x3e14(_0x3f8e86,_0x5996d){_0x3f8e86=_0x3f8e86-0xa0;const _0x5a8480=a115_0x5a84();let _0x3e1434=_0x5a8480[_0x3f8e86];return _0x3e1434;}function toCamelCase(_0x297dd2){return _0x297dd2['replace'](/-([a-z])/g,(_0x1e980c,_0x2f8203)=>_0x2f8203['toUpperCase']());}function aliasHandler(_0x33df7a,_0x4efebd){const _0x565d1b=a115_0x3e14,_0x26b4ed=[];for(const _0x25352e of Object[_0x565d1b(0xa8)](_0x33df7a)){if(_0x4efebd[_0x565d1b(0xa3)](_0x25352e))continue;const _0x173406=toKebab(_0x25352e);_0x173406!==_0x25352e&&_0x4efebd[_0x565d1b(0xa3)](_0x173406)&&_0x26b4ed[_0x565d1b(0xa6)]({'original':_0x25352e,'corrected':_0x173406,'handler':'alias'});}return _0x26b4ed;}function stickyHandler(_0x1ea044,_0x57fc07,_0x5d90ae){const _0x682143=a115_0x3e14,_0x317f6d=[];for(const [_0x3d3acd,_0x3b4ddd]of Object['entries'](_0x1ea044)){if(_0x3b4ddd!==!![])continue;for(let _0x1a6f6a=_0x3d3acd['length']-0x1;_0x1a6f6a>0x0;_0x1a6f6a--){const _0x5e06ea=_0x3d3acd['slice'](0x0,_0x1a6f6a),_0x565150=_0x3d3acd['slice'](_0x1a6f6a),_0x4bd119=toKebab(_0x5e06ea),_0x3db687=toCamelCase(_0x5e06ea),_0x3a22d6=_0x57fc07[_0x682143(0xa3)](_0x5e06ea)?_0x5e06ea:_0x57fc07[_0x682143(0xa3)](_0x4bd119)?_0x4bd119:_0x57fc07[_0x682143(0xa3)](_0x3db687)?_0x3db687:null;if(!_0x3a22d6)continue;const _0x4b3875=_0x5d90ae[_0x682143(0xb3)](_0x3a22d6)??_0x682143(0xb5);let _0x4141a9;if(_0x4b3875===_0x682143(0xb8)){const _0x58cf64=Number(_0x565150);if(isNaN(_0x58cf64)||_0x565150==='')continue;_0x4141a9=_0x58cf64;}else{if(_0x4b3875===_0x682143(0xb6))continue;else{if(_0x565150==='')continue;_0x4141a9=_0x565150;}}_0x317f6d[_0x682143(0xa6)]({'original':_0x3d3acd,'corrected':_0x3a22d6+'='+_0x4141a9,'handler':_0x682143(0xa5)});break;}}return _0x317f6d;}function a115_0x5a84(){const _0x5def23=['corrected','string','boolean','version','number','2145464VljMKW','set','49eKFAOB','yes','add','920NzTgix','dry-run','app','5178030PNPnqT','help','2099308npyKfg','15CoxrPj','259190CKVwxP','replace','118467dSqLqq','has','env','sticky','push','46SKhvIl','keys','length','original','type','66243KnFoOL','appcode','slice','toLowerCase','format','126912sXbtyW','name','get'];a115_0x5a84=function(){return _0x5def23;};return a115_0x5a84();}export function correctFlags(_0x1db8b2,_0x4d2b3a){const _0x5d28fa=a115_0x3e14,_0x3aa996=buildKnownFlags(_0x4d2b3a),_0x3e6c66=buildFlagTypeMap(_0x4d2b3a),_0x4d83b6=aliasHandler(_0x1db8b2,_0x3aa996),_0xb0abf4=stickyHandler(_0x1db8b2,_0x3aa996,_0x3e6c66),_0x1c551f=[..._0x4d83b6,..._0xb0abf4];if(_0x1c551f[_0x5d28fa(0xa9)]===0x0)return{'flags':_0x1db8b2,'corrections':[]};const _0x4dfdc9={..._0x1db8b2},_0x3e43a7=new Set();for(const _0x2a3238 of _0x4d83b6){_0x4dfdc9[_0x2a3238[_0x5d28fa(0xb4)]]=_0x1db8b2[_0x2a3238[_0x5d28fa(0xaa)]],_0x3e43a7['add'](_0x2a3238['original']);}for(const _0x4a5e83 of _0xb0abf4){const _0x4cfd2e=_0x4a5e83[_0x5d28fa(0xb4)]['indexOf']('='),_0x143ad2=_0x4a5e83[_0x5d28fa(0xb4)][_0x5d28fa(0xae)](0x0,_0x4cfd2e),_0x4c0c77=_0x4a5e83[_0x5d28fa(0xb4)][_0x5d28fa(0xae)](_0x4cfd2e+0x1),_0x254a31=_0x3e6c66[_0x5d28fa(0xb3)](_0x143ad2)??_0x5d28fa(0xb5);_0x254a31===_0x5d28fa(0xb8)?_0x4dfdc9[_0x143ad2]=Number(_0x4c0c77):_0x4dfdc9[_0x143ad2]=_0x4c0c77,_0x3e43a7[_0x5d28fa(0xbd)](_0x4a5e83[_0x5d28fa(0xaa)]);}for(const _0x5908cf of _0x3e43a7){delete _0x4dfdc9[_0x5908cf];}return{'flags':_0x4dfdc9,'corrections':_0x1c551f};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a116_0x4f05(_0x554c80,_0x461c55){_0x554c80=_0x554c80-0xb0;const _0x171297=a116_0x1712();let _0x4f0576=_0x171297[_0x554c80];return _0x4f0576;}const a116_0x52999=a116_0x4f05;(function(_0x3d4de4,_0x1c2399){const _0x2ca296=a116_0x4f05,_0x4c04ba=_0x3d4de4();while(!![]){try{const _0x33a639=parseInt(_0x2ca296(0xd3))/0x1+parseInt(_0x2ca296(0xd2))/0x2*(parseInt(_0x2ca296(0xc9))/0x3)+-parseInt(_0x2ca296(0xcc))/0x4+parseInt(_0x2ca296(0xb2))/0x5*(-parseInt(_0x2ca296(0xc3))/0x6)+-parseInt(_0x2ca296(0xb3))/0x7*(-parseInt(_0x2ca296(0xc6))/0x8)+-parseInt(_0x2ca296(0xb1))/0x9*(-parseInt(_0x2ca296(0xce))/0xa)+-parseInt(_0x2ca296(0xc5))/0xb;if(_0x33a639===_0x1c2399)break;else _0x4c04ba['push'](_0x4c04ba['shift']());}catch(_0x457ef2){_0x4c04ba['push'](_0x4c04ba['shift']());}}}(a116_0x1712,0xe9c52));import{CliErrors}from'../errors.js';function a116_0x1712(){const _0x1cda02=['12MIkoGX','\x20seconds\x20before\x20retrying.','18012643TRMMIv','56Rhcpnz','function','number','79113KpBZcF','object','call','733936Wwczgd','toLowerCase','910990wrXcMi','isArray','message','rateLimited','4UNTYzM','1318179JfBaJv','Retry-After','Retry\x20after\x20a\x20short\x20delay.','9KdZMQJ','1051465RayhMW','1737085PMgLBH','Retry\x20after\x20','\x20Retry\x20only\x20the\x20failed\x20item;\x20keep\x20requests\x20serial\x20and\x20preserve\x20completed\x20checkpoints.','retry-after','string','retryAfter','get','test','toUpperCase','trim','has','EXCEED_MAX_QPS_LIMIT','Request\x20rate\x20limit\x20exceeded.','errorCode','IP_RATE_LIMIT_EXCEEDED','status'];a116_0x1712=function(){return _0x1cda02;};return a116_0x1712();}const RATE_LIMIT_ERROR_CODES=new Set([a116_0x52999(0xbe),'MAX_QPS_LIMIT',a116_0x52999(0xc1)]);function nonEmptyString(_0x531443){const _0x3c15f6=a116_0x52999;if(typeof _0x531443!==_0x3c15f6(0xb7))return undefined;const _0x4e58d5=_0x531443[_0x3c15f6(0xbc)]();return _0x4e58d5||undefined;}function buildRetryHint(_0x31855d){const _0x13b3ef=a116_0x52999,_0x5d1422=nonEmptyString(_0x31855d),_0x531923=_0x5d1422?/^\d+$/[_0x13b3ef(0xba)](_0x5d1422)?'Wait\x20'+_0x5d1422+_0x13b3ef(0xc4):_0x13b3ef(0xb4)+_0x5d1422+'.':_0x13b3ef(0xb0);return _0x531923+_0x13b3ef(0xb5);}export function createRateLimitError(_0x45250f){const _0x1edd37=a116_0x52999,_0x4ce6af=nonEmptyString(_0x45250f[_0x1edd37(0xc0)])?.[_0x1edd37(0xbb)](),_0x5988cc=Number(_0x45250f[_0x1edd37(0xc2)])===0x1ad||_0x4ce6af!==undefined&&RATE_LIMIT_ERROR_CODES[_0x1edd37(0xbd)](_0x4ce6af);if(!_0x5988cc)return undefined;return CliErrors[_0x1edd37(0xd1)](nonEmptyString(_0x45250f[_0x1edd37(0xd0)])??_0x1edd37(0xbf),buildRetryHint(_0x45250f[_0x1edd37(0xb8)]));}export function readRetryAfter(_0x5f2d24){const _0x3ef420=a116_0x52999;if(!_0x5f2d24||typeof _0x5f2d24!==_0x3ef420(0xca))return undefined;const _0x35e06f=_0x5f2d24[_0x3ef420(0xb9)];if(typeof _0x35e06f===_0x3ef420(0xc7)){const _0x22aa4a=_0x35e06f[_0x3ef420(0xcb)](_0x5f2d24,_0x3ef420(0xd4))??_0x35e06f[_0x3ef420(0xcb)](_0x5f2d24,'retry-after');return nonEmptyString(_0x22aa4a);}for(const [_0x40876d,_0x25b7e5]of Object['entries'](_0x5f2d24)){if(_0x40876d[_0x3ef420(0xcd)]()===_0x3ef420(0xb6))return nonEmptyString(_0x25b7e5)??(typeof _0x25b7e5===_0x3ef420(0xc8)?String(_0x25b7e5):undefined);}return undefined;}export function readRetryAfterSeconds(_0x143966){const _0x412045=a116_0x52999;if(!_0x143966||typeof _0x143966!==_0x412045(0xca)||Array[_0x412045(0xcf)](_0x143966))return undefined;const _0x1782ad=_0x143966['retryAfterSeconds'];if(typeof _0x1782ad===_0x412045(0xc8))return Number['isInteger'](_0x1782ad)&&_0x1782ad>=0x0?String(_0x1782ad):undefined;const _0x50272f=nonEmptyString(_0x1782ad);return _0x50272f&&/^\d+$/[_0x412045(0xba)](_0x50272f)?_0x50272f:undefined;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a117_0x8a4c0d=a117_0x5afc;function a117_0x532b(){const _0x195603=['page-size','Run\x20`','asc','2643819olhnxv','orderby','page','\x20data\x20filter\x20--code\x20<datasetCode>\x20--params\x20','4953935YthuGS','Put\x20where,\x20select,\x20orderBy,\x20currentPage,\x20and\x20pageSize\x20inside\x20one\x20--params\x20JSON\x20object.\x20','has','111176YzSUeO','2194576LBqLPf','\x20data\x20filter`.','pagesize','validation','add','data','command','\x20is\x20not\x20a\x20CLI\x20flag\x20for\x20`','current-page','873qXdwiG','stringify','name','Example:\x20','no-','3473180koJVKQ','8545362GfAfAK','where','service','currentpage','version','4EAflAi','71728zsqEZx','\x20--help`\x20to\x20see\x20accepted\x20flags.','entries'];a117_0x532b=function(){return _0x195603;};return a117_0x532b();}(function(_0x45dfa2,_0x3b25d0){const _0x3d1e91=a117_0x5afc,_0x469eaa=_0x45dfa2();while(!![]){try{const _0x7088f6=-parseInt(_0x3d1e91(0x14f))/0x1+parseInt(_0x3d1e91(0x150))/0x2+parseInt(_0x3d1e91(0x148))/0x3*(-parseInt(_0x3d1e91(0x141))/0x4)+parseInt(_0x3d1e91(0x13b))/0x5+-parseInt(_0x3d1e91(0x13c))/0x6+parseInt(_0x3d1e91(0x14c))/0x7+-parseInt(_0x3d1e91(0x142))/0x8*(-parseInt(_0x3d1e91(0x136))/0x9);if(_0x7088f6===_0x3b25d0)break;else _0x469eaa['push'](_0x469eaa['shift']());}catch(_0x4380cd){_0x469eaa['push'](_0x469eaa['shift']());}}}(a117_0x532b,0xe894f));import{CliErrors}from'../errors.js';import{CLI_BIN_NAME,GLOBAL_FLAGS}from'../constant/cli.js';function a117_0x5afc(_0x24a5d6,_0x1c495f){_0x24a5d6=_0x24a5d6-0x136;const _0x532b61=a117_0x532b();let _0x5afc2=_0x532b61[_0x24a5d6];return _0x5afc2;}import{toKebab}from'../framework/preparse.js';const FILTER_BODY_FIELDS=new Set([a117_0x8a4c0d(0x13d),'select','order-by',a117_0x8a4c0d(0x149),a117_0x8a4c0d(0x158),a117_0x8a4c0d(0x13f),a117_0x8a4c0d(0x14a),a117_0x8a4c0d(0x145),a117_0x8a4c0d(0x152)]);export function assertKnownCommandFlags(_0x3b5b26,_0x120ce6){const _0x43b575=a117_0x8a4c0d,_0x2df09a=new Set([_0x43b575(0x140)]);for(const _0x311f20 of GLOBAL_FLAGS){_0x2df09a[_0x43b575(0x154)](_0x311f20[_0x43b575(0x138)]),_0x2df09a[_0x43b575(0x154)](toKebab(_0x311f20['meowKey']));}for(const _0xf928e6 of _0x3b5b26['flags']??[]){_0x2df09a[_0x43b575(0x154)](_0xf928e6[_0x43b575(0x138)]);}for(const [_0x2c3d39,_0x74be1d]of Object[_0x43b575(0x144)](_0x120ce6)){const _0x38fe97=toKebab(_0x2c3d39);if(_0x2df09a[_0x43b575(0x14e)](_0x38fe97))continue;if(_0x74be1d===![]&&_0x2df09a[_0x43b575(0x14e)](_0x43b575(0x13a)+_0x38fe97))continue;if(_0x3b5b26[_0x43b575(0x13e)]===_0x43b575(0x155)&&_0x3b5b26[_0x43b575(0x156)]==='filter'&&FILTER_BODY_FIELDS[_0x43b575(0x14e)](_0x38fe97))throw CliErrors[_0x43b575(0x153)]('--'+_0x38fe97+_0x43b575(0x157)+CLI_BIN_NAME+_0x43b575(0x151),_0x43b575(0x14d)+(_0x43b575(0x139)+CLI_BIN_NAME+_0x43b575(0x14b))+('\x27'+JSON[_0x43b575(0x137)]({'where':{'status':{'$eq':'active'}},'orderBy':[{'id':_0x43b575(0x147)}],'currentPage':0x1,'pageSize':0x14})+'\x27'));throw CliErrors[_0x43b575(0x153)]('Unknown\x20flag\x20--'+_0x38fe97+'\x20for\x20`'+CLI_BIN_NAME+'\x20'+_0x3b5b26[_0x43b575(0x13e)]+'\x20'+_0x3b5b26[_0x43b575(0x156)]+'`.',_0x43b575(0x146)+CLI_BIN_NAME+'\x20'+_0x3b5b26[_0x43b575(0x13e)]+'\x20'+_0x3b5b26['command']+_0x43b575(0x143));}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a118_0x34d7(_0x5be253,_0x4e937d){_0x5be253=_0x5be253-0x155;var _0x4918f4=a118_0x4918();var _0x34d745=_0x4918f4[_0x5be253];return _0x34d745;}(function(_0x6e82ac,_0x561fa6){var _0x2cef64=a118_0x34d7,_0x359f20=_0x6e82ac();while(!![]){try{var _0x4df81b=parseInt(_0x2cef64(0x15e))/0x1+-parseInt(_0x2cef64(0x156))/0x2+parseInt(_0x2cef64(0x15d))/0x3*(parseInt(_0x2cef64(0x159))/0x4)+parseInt(_0x2cef64(0x155))/0x5+-parseInt(_0x2cef64(0x158))/0x6*(parseInt(_0x2cef64(0x15b))/0x7)+parseInt(_0x2cef64(0x157))/0x8*(parseInt(_0x2cef64(0x15a))/0x9)+-parseInt(_0x2cef64(0x15c))/0xa;if(_0x4df81b===_0x561fa6)break;else _0x359f20['push'](_0x359f20['shift']());}catch(_0x36163e){_0x359f20['push'](_0x359f20['shift']());}}}(a118_0x4918,0x4aab2));export{extractList,extractPaging}from'@lovrabet/cli-framework';function a118_0x4918(){var _0x44562f=['2379Eivacf','413304zeVxZf','201560RGtAyC','1021886cOqvXx','8hYwjkI','6crTjeP','1636WzlOSc','5367753ZwRfaZ','3410365FhqRor','703900jneqXy'];a118_0x4918=function(){return _0x44562f;};return a118_0x4918();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x2fde72,_0x477a30){const _0x42eee1=a119_0x2aa5,_0x52038a=_0x2fde72();while(!![]){try{const _0x14d2c2=-parseInt(_0x42eee1(0xf5))/0x1+-parseInt(_0x42eee1(0xf7))/0x2*(parseInt(_0x42eee1(0xde))/0x3)+-parseInt(_0x42eee1(0xda))/0x4*(-parseInt(_0x42eee1(0xdb))/0x5)+parseInt(_0x42eee1(0xfd))/0x6+-parseInt(_0x42eee1(0xdd))/0x7*(-parseInt(_0x42eee1(0xe5))/0x8)+-parseInt(_0x42eee1(0xe6))/0x9+parseInt(_0x42eee1(0xdc))/0xa;if(_0x14d2c2===_0x477a30)break;else _0x52038a['push'](_0x52038a['shift']());}catch(_0x5f440a){_0x52038a['push'](_0x52038a['shift']());}}}(a119_0x34ec,0xf3b10));import{CLI_BIN_NAME}from'../constant/cli.js';import{isSensitiveFlagName}from'../utils/redaction.js';export function buildConfirmationLines(_0x2d6ed8,_0x2321fe,_0x49c33b){const _0x1912f6=a119_0x2aa5,_0x4a882c=buildConfirmationContext(_0x2d6ed8,_0x2321fe,_0x49c33b),_0x3e743d=[_0x1912f6(0xf0)+_0x4a882c[_0x1912f6(0xe1)]];return _0x4a882c['description']&&_0x3e743d[_0x1912f6(0xea)](_0x1912f6(0xf2)+_0x4a882c[_0x1912f6(0xef)]),_0x4a882c[_0x1912f6(0xe8)]&&_0x3e743d[_0x1912f6(0xea)](_0x1912f6(0xf6)+_0x4a882c[_0x1912f6(0xe8)]),_0x3e743d[_0x1912f6(0xea)](_0x1912f6(0xf4)),_0x3e743d;}export function reconstructCommandArgv(_0x5c837d,_0x234767){const _0x5bd1b2=a119_0x2aa5,_0x4ed7df=[CLI_BIN_NAME,_0x5c837d[_0x5bd1b2(0xfc)],_0x5c837d[_0x5bd1b2(0xe3)]];for(const [_0x17f5dc,_0x4b2608]of Object[_0x5bd1b2(0xd9)](_0x234767)){if(_0x4b2608===!![])_0x4ed7df['push']('--'+_0x17f5dc);else{if(isSensitiveFlagName(_0x17f5dc)&&_0x4b2608!==![]&&_0x4b2608!==undefined&&_0x4b2608!=='')_0x4ed7df[_0x5bd1b2(0xea)]('--'+_0x17f5dc+'\x20[REDACTED]');else _0x4b2608!==![]&&_0x4b2608!==undefined&&_0x4b2608!==''&&_0x4ed7df[_0x5bd1b2(0xea)]('--'+_0x17f5dc+'\x20'+JSON['stringify'](_0x4b2608));}}return _0x4ed7df[_0x5bd1b2(0xea)](_0x5bd1b2(0xfb)),_0x4ed7df[_0x5bd1b2(0xf1)]('\x20');}function a119_0x34ec(){const _0x2db13a=['cron','--yes','service','10023774DBXxnG','length','params=','schedule-id','entries','12396BUYjia','875cZWODo','12604540vMOJLS','203oapyEQ','87wBkREq','title=','kind=','commandLabel','cron=','command','scheduled-at=','35680HpnZKv','6936750hbTYtO','params','affectedRecords','id=','push','kind','code=','scheduled-at','channel=','description','⚠\x20\x20High-risk\x20operation:\x20','join','\x20\x20\x20','code','\x20\x20\x20Continue?\x20[y/N]\x20','567263RNXmtd','\x20\x20\x20Affected:\x20','87350oMdmmz','channel','title'];a119_0x34ec=function(){return _0x2db13a;};return a119_0x34ec();}function a119_0x2aa5(_0x4b5f76,_0x28dbcf){_0x4b5f76=_0x4b5f76-0xd7;const _0x34ec19=a119_0x34ec();let _0x2aa526=_0x34ec19[_0x4b5f76];return _0x2aa526;}function buildConfirmationContext(_0x7bfa40,_0x41b510,_0x3ead8d){const _0x3c6c2f=a119_0x2aa5,_0x26c15e=extractAffectedRecords(_0x3ead8d);return{'commandLabel':_0x41b510,'description':_0x7bfa40[_0x3c6c2f(0xef)],'affectedRecords':_0x26c15e};}function extractAffectedRecords(_0x311611){const _0x10f790=a119_0x2aa5,_0x4de982=[];if(_0x311611[_0x10f790(0xf3)])_0x4de982[_0x10f790(0xea)](_0x10f790(0xec)+_0x311611[_0x10f790(0xf3)]);if(_0x311611['id'])_0x4de982['push'](_0x10f790(0xe9)+_0x311611['id']);if(_0x311611[_0x10f790(0xd8)])_0x4de982[_0x10f790(0xea)]('schedule-id='+_0x311611[_0x10f790(0xd8)]);if(_0x311611['name'])_0x4de982[_0x10f790(0xea)]('name='+_0x311611['name']);if(_0x311611[_0x10f790(0xf9)])_0x4de982[_0x10f790(0xea)](_0x10f790(0xdf)+_0x311611[_0x10f790(0xf9)]);if(_0x311611[_0x10f790(0xeb)])_0x4de982[_0x10f790(0xea)](_0x10f790(0xe0)+_0x311611['kind']);if(_0x311611[_0x10f790(0xfa)])_0x4de982['push'](_0x10f790(0xe2)+_0x311611[_0x10f790(0xfa)]);if(_0x311611[_0x10f790(0xed)])_0x4de982[_0x10f790(0xea)](_0x10f790(0xe4)+_0x311611['scheduled-at']);if(_0x311611[_0x10f790(0xf8)])_0x4de982[_0x10f790(0xea)](_0x10f790(0xee)+_0x311611[_0x10f790(0xf8)]);if(_0x311611[_0x10f790(0xe7)])_0x4de982[_0x10f790(0xea)](_0x10f790(0xd7)+_0x311611[_0x10f790(0xe7)]);return _0x4de982[_0x10f790(0xfe)]>0x0?_0x4de982[_0x10f790(0xf1)](',\x20'):undefined;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a120_0x21ca(){const _0x2f5175=['1956755QYtElI','598086EXoFFU','7QEAIIp','string','47402JxkMPF','response','trim','validation','stringify','headers','2228452rMSYtJ','message','4149448OGCrbY','515457gyDcyu','295435Vuytfg'];a120_0x21ca=function(){return _0x2f5175;};return a120_0x21ca();}(function(_0x223f13,_0x225ab4){const _0x46f2f=a120_0x499e,_0x404baf=_0x223f13();while(!![]){try{const _0xa0874a=parseInt(_0x46f2f(0x91))/0x1*(parseInt(_0x46f2f(0x93))/0x2)+-parseInt(_0x46f2f(0x8d))/0x3+parseInt(_0x46f2f(0x8a))/0x4+parseInt(_0x46f2f(0x8f))/0x5+-parseInt(_0x46f2f(0x90))/0x6+parseInt(_0x46f2f(0x8e))/0x7+-parseInt(_0x46f2f(0x8c))/0x8;if(_0xa0874a===_0x225ab4)break;else _0x404baf['push'](_0x404baf['shift']());}catch(_0x5b8f11){_0x404baf['push'](_0x404baf['shift']());}}}(a120_0x21ca,0x5973b));import{LovrabetError}from'@lovrabet/sdk';function a120_0x499e(_0x589b69,_0x2cf17f){_0x589b69=_0x589b69-0x89;const _0x21ca9c=a120_0x21ca();let _0x499e91=_0x21ca9c[_0x589b69];return _0x499e91;}import{CliErrors}from'../errors.js';import{createRateLimitError,readRetryAfter,readRetryAfterSeconds}from'../framework/rate-limit.js';export function mapUserFacingExecuteError(_0xc23aa6){const _0x3832a3=a120_0x499e;if(_0xc23aa6 instanceof LovrabetError){const _0x26ef35=userFacingLovrabetMessage(_0xc23aa6),_0x3b9f0b=_0xc23aa6,_0x32bab0=createRateLimitError({'status':_0x3b9f0b['status'],'errorCode':_0x3b9f0b['code'],'message':_0x26ef35,'retryAfter':readRetryAfter(_0x3b9f0b[_0x3832a3(0x94)]?.[_0x3832a3(0x89)])??readRetryAfterSeconds(_0x3b9f0b[_0x3832a3(0x94)])});return _0x32bab0??CliErrors[_0x3832a3(0x96)](_0x26ef35);}return _0xc23aa6;}function userFacingLovrabetMessage(_0x96db30){const _0x406bc4=a120_0x499e,_0x58e8bf=_0x96db30['description'];if(_0x58e8bf!==undefined&&_0x58e8bf!==null){if(typeof _0x58e8bf===_0x406bc4(0x92)&&_0x58e8bf[_0x406bc4(0x95)]())return _0x58e8bf[_0x406bc4(0x95)]();try{return JSON[_0x406bc4(0x97)](_0x58e8bf);}catch{}}return _0x96db30[_0x406bc4(0x8b)];}
|
package/lib/framework/runner.js
CHANGED
|
@@ -1 +1 @@
|
|
|
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
|
+
(function(_0x21a99a,_0x335939){const _0x25ee95=a121_0x4410,_0x4e6fbb=_0x21a99a();while(!![]){try{const _0x303324=parseInt(_0x25ee95(0x134))/0x1*(-parseInt(_0x25ee95(0x11d))/0x2)+parseInt(_0x25ee95(0x121))/0x3+-parseInt(_0x25ee95(0x125))/0x4+-parseInt(_0x25ee95(0x144))/0x5*(parseInt(_0x25ee95(0x11f))/0x6)+parseInt(_0x25ee95(0x13e))/0x7*(parseInt(_0x25ee95(0x12b))/0x8)+-parseInt(_0x25ee95(0x143))/0x9*(-parseInt(_0x25ee95(0x114))/0xa)+parseInt(_0x25ee95(0x135))/0xb;if(_0x303324===_0x335939)break;else _0x4e6fbb['push'](_0x4e6fbb['shift']());}catch(_0x3761b8){_0x4e6fbb['push'](_0x4e6fbb['shift']());}}}(a121_0x2b24,0x8d8e7));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';function a121_0x2b24(){const _0x457786=['`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.\x0a','APPCODE','verbose','riskLevel','ClientAk','mergedCli','Run\x20`','27130EQAOZh','defaultPageSize','env','Set\x20accessKey\x20in\x20','items','update','command','execute','../core/sdk-client.js','639602ezVtxa','runtimeDomain','6873198QCPyyP','authRequired','708633kQotxH','error','write','map','1335984smgMvc','newConfigFileName','has','defaultVerbose','high-risk-write','formatOutput','7399976KQGokF','nativeToolAvailable','appCodeSource','.appcode\x20to\x20','Unknown\x20app:\x20','pretty','appCode','service','accessKey','1ylAaDu','5757499BnOINk','resolve','currentApp','configMissing','../core/api-client.js','requiresAuth','High-risk\x20operation\x20`','ACCESS_KEY','../commands/app/remote-source.js','7LAiyIa','requiresAppCode','name','trim','defaultApp','2304sZlaOn','5VnebWS','nonInteractive','object','local-alias','\x20or\x20pass\x20','install','cancelled','string','rawFlags','app','production','format','includes','validation','doctor','risk','\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20add\x20apps.','_notice','catch','appcode'];a121_0x2b24=function(){return _0x457786;};return a121_0x2b24();}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';function a121_0x4410(_0x208649,_0x40c16f){_0x208649=_0x208649-0x111;const _0x2b243c=a121_0x2b24();let _0x4410d6=_0x2b243c[_0x208649];return _0x4410d6;}export function resolveAuthMode(_0x59d813){const _0x4d5275=a121_0x4410;return void _0x59d813,AUTH_MODE[_0x4d5275(0x111)];}let sdkClientInitialized=![];export function createPipelineEnv(_0x1aa7c4,_0x32b458){const _0x586d42=a121_0x4410,_0x2c20f7=typeof _0x32b458[_0x586d42(0x14d)]===_0x586d42(0x14b)&&_0x32b458['app'][_0x586d42(0x141)]();return{'rawFlags':_0x32b458,'appCode':_0x1aa7c4[_0x586d42(0x131)]||productEnv(_0x586d42(0x159))||(_0x2c20f7?undefined:readAppCodeFromConfig()),'appCodeSource':_0x1aa7c4[_0x586d42(0x12d)],'apiDomain':getApiDomain(),'runtimeDomain':getRuntimeDomain(),'isNonInteractive':isNonInteractiveMode(_0x32b458),'defaultFormat':_0x1aa7c4[_0x586d42(0x14f)],'defaultPageSize':_0x1aa7c4['pageSize'],'defaultVerbose':_0x1aa7c4[_0x586d42(0x15a)],'riskLevel':_0x1aa7c4[_0x586d42(0x15b)],'nativeToolAvailable':_0x1aa7c4[_0x586d42(0x12c)],'accessKey':_0x1aa7c4[_0x586d42(0x133)],'env':_0x1aa7c4[_0x586d42(0x116)],'mergedCli':{'defaultApp':_0x1aa7c4[_0x586d42(0x142)],'currentApp':_0x1aa7c4[_0x586d42(0x137)],'appCode':_0x1aa7c4['appCode']}};}export function createLovrabetRunnerAdapter(_0x35895d={}){const _0x378957=a121_0x4410,_0x470ee9={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS['filter'](_0x2bb289=>PIPELINE_FLAG_NAMES[_0x378957(0x127)](_0x2bb289[_0x378957(0x140)]))[_0x378957(0x124)](({name:_0x3d2362,type:_0x43136c,description:_0x5e3342})=>({'name':_0x3d2362,'type':_0x43136c,'description':_0x5e3342})),'formatOutput':_0x35895d[_0x378957(0x12a)]??formatOutput,'getCommandLabel'(_0x5383d8){const _0x27156d=_0x378957;return CLI_BIN_NAME+'\x20'+_0x5383d8['service']+'\x20'+_0x5383d8[_0x27156d(0x11a)];},'riskPolicy':{'onViolation'(_0x39f6d7,{def:_0x54e1c6,env:_0x365b3e}){const _0x5c44ca=_0x378957;if(shouldRouteWriteToNativeTool(_0x54e1c6,_0x365b3e))return;console[_0x5c44ca(0x122)](_0x39f6d7);},'createError'(_0x4c8cd9,{def:_0x2fe3ed,env:_0x20e146}){const _0x510143=_0x378957;if(shouldRouteWriteToNativeTool(_0x2fe3ed,_0x20e146))return CliErrors['nativeToolRequired'](CLI_BIN_NAME+'\x20'+_0x2fe3ed['service']+'\x20'+_0x2fe3ed['command']);return CliErrors[_0x510143(0x14a)](_0x4c8cd9);}},async 'prepare'(_0x555134,_0x3ab963){const _0x384e34=_0x378957,_0x181635=resolveAuthMode(_0x3ab963);if(_0x555134[_0x384e34(0x13a)]!==![]){if(!_0x3ab963[_0x384e34(0x133)])throw CliErrors[_0x384e34(0x120)](_0x384e34(0x117)+PRODUCT_CONFIG[_0x384e34(0x126)]+_0x384e34(0x148)+productEnvName(_0x384e34(0x13c))+'.');const {setActiveAK:_0x1b73a2}=await import(_0x384e34(0x139));_0x1b73a2(_0x3ab963['accessKey']);}let _0x384804='';if(_0x555134[_0x384e34(0x13f)]!==![]){_0x384804=_0x3ab963[_0x384e34(0x131)]??'',_0x384804=await resolveExplicitAppName(_0x555134,_0x3ab963,_0x384804);if(!_0x384804){await assertSelectedAppNameIsRuntimeAccessible(_0x555134,_0x3ab963);throw CliErrors[_0x384e34(0x138)]('Set\x20appcode\x20via\x20--appcode\x20or\x20in\x20'+PRODUCT_CONFIG[_0x384e34(0x126)]+'.');}await assertAppCodeIsRuntimeAccessible(_0x555134,_0x3ab963,_0x384804);}if(_0x384804){const {initSdkClient:_0x270e0f}=await import('../core/sdk-client.js');_0x270e0f({'appCode':_0x384804,'env':_0x3ab963[_0x384e34(0x116)]??_0x384e34(0x14e),'runtimeDomain':_0x3ab963[_0x384e34(0x11e)],'accessKey':_0x3ab963[_0x384e34(0x133)],'authMode':_0x181635}),sdkClientInitialized=!![];}return{'defaults':{'booleans':{'verbose':_0x3ab963[_0x384e34(0x128)]},'numbers':{'pagesize':_0x3ab963[_0x384e34(0x115)]}},'extras':{'appCode':_0x384804,'cookie':'','apiDomain':_0x3ab963['apiDomain'],'apiDir':'','accessKey':_0x3ab963[_0x384e34(0x133)],'envName':_0x3ab963[_0x384e34(0x116)],'mergedCli':_0x3ab963[_0x384e34(0x112)]}};},'confirmHighRisk':_0x35895d['confirmHighRisk']??(async({def:_0x894a91,env:_0x1b45cc,flags:_0x2cd88b,commandLabel:_0x2fd64c})=>{const _0x2d1b7a=_0x378957;if(_0x1b45cc['isNonInteractive']){const _0x1bf059=reconstructCommandArgv(_0x894a91,_0x2cd88b);throw CliErrors[_0x2d1b7a(0x151)](_0x2d1b7a(0x13b)+_0x2fd64c+_0x2d1b7a(0x158)+('\x20\x20To\x20proceed:\x20'+_0x1bf059));}await requireConfirmationPrompt({'lines':buildConfirmationLines(_0x894a91,_0x2fd64c,_0x2cd88b),'createCancelledError':_0x30aa45=>CliErrors[_0x2d1b7a(0x14a)](_0x30aa45)});}),'mapDryRunError'(_0xc83690){return mapUserFacingExecuteError(_0xc83690);},'mapExecuteError'(_0x4d0877){return mapUserFacingExecuteError(_0x4d0877);},async 'finalize'(){await finalizeLovrabetRuntimeState();}};return _0x470ee9;}function shouldRouteWriteToNativeTool(_0x5bee25,_0x45b691){const _0x44ea45=a121_0x4410;return _0x45b691['nativeToolAvailable']===!![]&&(_0x5bee25[_0x44ea45(0x153)]===_0x44ea45(0x123)||_0x5bee25[_0x44ea45(0x153)]===_0x44ea45(0x129));}const terminalRunnerAdapter=createLovrabetRunnerAdapter();export async function finalizeLovrabetRuntimeState(){const _0x986b6b=a121_0x4410;try{if(sdkClientInitialized){const {clearSdkClient:_0x27e4c2}=await import(_0x986b6b(0x11c));_0x27e4c2();}}finally{sdkClientInitialized=![];const {clearActiveAK:_0x1294a3}=await import('../core/api-client.js');_0x1294a3();}}async function resolveExplicitAppName(_0x21e3fa,_0x2d0bc0,_0xa410c){const _0x3fb0b0=a121_0x4410;if(_0x21e3fa[_0x3fb0b0(0x13f)]===![])return _0xa410c;const _0xce8212=typeof _0x2d0bc0[_0x3fb0b0(0x14c)][_0x3fb0b0(0x14d)]===_0x3fb0b0(0x14b)?_0x2d0bc0[_0x3fb0b0(0x14c)][_0x3fb0b0(0x14d)][_0x3fb0b0(0x141)]():'';if(!_0xce8212)return _0xa410c;const _0x1fd64e=typeof _0x2d0bc0[_0x3fb0b0(0x14c)][_0x3fb0b0(0x157)]===_0x3fb0b0(0x14b)&&_0x2d0bc0[_0x3fb0b0(0x14c)][_0x3fb0b0(0x157)][_0x3fb0b0(0x141)]()||productEnv(_0x3fb0b0(0x159));if(_0x1fd64e||_0x2d0bc0[_0x3fb0b0(0x12d)]===_0x3fb0b0(0x147))return _0xa410c;const {getRemoteAppList:_0x13f5b9}=await import(_0x3fb0b0(0x13d)),_0x11f48f=await _0x13f5b9({'env':_0x2d0bc0[_0x3fb0b0(0x116)]??_0x3fb0b0(0x14e),'accessKey':_0x2d0bc0[_0x3fb0b0(0x133)]}),_0x50e76e=findAppByName(_0x11f48f[_0x3fb0b0(0x118)],_0xce8212);if(_0x50e76e&&!isRuntimeAccessibleApp(_0x50e76e))throw runtimeInaccessibleAppError(_0x50e76e,'\x22'+_0xce8212+'\x22');const _0x3c8415=_0x50e76e?.['appCode']?.[_0x3fb0b0(0x141)]();if(_0x3c8415)return _0x3c8415;throw CliErrors[_0x3fb0b0(0x151)](_0x3fb0b0(0x12f)+_0xce8212,_0x3fb0b0(0x113)+CLI_BIN_NAME+_0x3fb0b0(0x154)+_0xce8212+_0x3fb0b0(0x12e)+PRODUCT_CONFIG[_0x3fb0b0(0x126)]+'.');}async function assertSelectedAppNameIsRuntimeAccessible(_0x18aaa7,_0x34ccc1){const _0x5e3def=a121_0x4410;if(_0x18aaa7[_0x5e3def(0x13f)]===![]||!_0x34ccc1[_0x5e3def(0x133)])return;const _0x51aa3b=(typeof _0x34ccc1[_0x5e3def(0x14c)][_0x5e3def(0x14d)]==='string'&&_0x34ccc1['rawFlags']['app'][_0x5e3def(0x141)]()?_0x34ccc1[_0x5e3def(0x14c)][_0x5e3def(0x14d)]:_0x34ccc1[_0x5e3def(0x112)]?.[_0x5e3def(0x137)]??_0x34ccc1[_0x5e3def(0x112)]?.[_0x5e3def(0x142)])?.[_0x5e3def(0x141)]();if(!_0x51aa3b)return;const {getRemoteAppList:_0x522f34}=await import('../commands/app/remote-source.js'),_0x543e7f=await _0x522f34({'env':_0x34ccc1[_0x5e3def(0x116)]??_0x5e3def(0x14e),'accessKey':_0x34ccc1['accessKey']}),_0x54cda6=findAppByName(_0x543e7f[_0x5e3def(0x118)],_0x51aa3b);if(_0x54cda6&&!isRuntimeAccessibleApp(_0x54cda6))throw runtimeInaccessibleAppError(_0x54cda6,'\x22'+_0x51aa3b+'\x22');}async function assertAppCodeIsRuntimeAccessible(_0x1c7310,_0x26a77c,_0x186f40){const _0x58bebd=a121_0x4410;if(_0x1c7310['requiresAppCode']===![]||!_0x26a77c[_0x58bebd(0x133)])return;const {getRemoteAppList:_0x27d6a3}=await import(_0x58bebd(0x13d)),_0x27a4fc=await _0x27d6a3({'env':_0x26a77c[_0x58bebd(0x116)]??'production','accessKey':_0x26a77c[_0x58bebd(0x133)]}),_0x8d8dec=findAppByCode(_0x27a4fc[_0x58bebd(0x118)],_0x186f40);if(_0x8d8dec&&!isRuntimeAccessibleApp(_0x8d8dec))throw runtimeInaccessibleAppError(_0x8d8dec,'appcode\x20\x22'+_0x186f40+'\x22');}export async function runCommand(_0x468215,_0x49e739,_0x1f53c6=terminalRunnerAdapter){const _0x18c44d=a121_0x4410;assertKnownCommandFlags(_0x468215,_0x49e739[_0x18c44d(0x14c)]),await runCommandWithAdapter(shouldApplyVersionPolicy(_0x468215)?withVersionPolicy(_0x468215):_0x468215,_0x49e739,_0x1f53c6);}function shouldApplyVersionPolicy(_0x12344b){const _0x3a2960=a121_0x4410;if([_0x3a2960(0x119),'schema',_0x3a2960(0x152)][_0x3a2960(0x150)](_0x12344b['service']))return![];return!(_0x12344b[_0x3a2960(0x132)]==='cli-skill'&&_0x12344b[_0x3a2960(0x11a)]===_0x3a2960(0x149));}function withVersionPolicy(_0x259358){return{..._0x259358,async 'execute'(_0x3471b6){const _0x483c3c=a121_0x4410,_0x3405c8=await checkCliVersion();assertCliVersionSupported(_0x3405c8);const _0x5caa29=shouldResolveUpdateNotice(_0x3471b6)?resolveLatestUpdateNotice(_0x3405c8)[_0x483c3c(0x156)](()=>null):Promise[_0x483c3c(0x136)](null),_0x5eb24b=await _0x259358[_0x483c3c(0x11b)](_0x3471b6);return attachUpdateNotice(_0x5eb24b,await _0x5caa29);}};}function shouldResolveUpdateNotice(_0x3ec800){const _0x5944df=a121_0x4410;return _0x3ec800[_0x5944df(0x14f)]===_0x5944df(0x130)&&!_0x3ec800[_0x5944df(0x145)];}function attachUpdateNotice(_0x12bfff,_0x1cd55a){const _0x371669=a121_0x4410;if(!_0x1cd55a||!_0x12bfff||typeof _0x12bfff!=='object')return _0x12bfff;const _0x43dd87=_0x12bfff,_0x3e8142=typeof _0x43dd87[_0x371669(0x155)]===_0x371669(0x146)&&_0x43dd87[_0x371669(0x155)]!==null?_0x43dd87[_0x371669(0x155)]:{};return{..._0x43dd87,'_notice':{..._0x3e8142,'update':_0x1cd55a}};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x5585ab,_0x5b379b){const _0x3b7e1a=a122_0x40eb,_0x284a48=_0x5585ab();while(!![]){try{const _0x2760e4=-parseInt(_0x3b7e1a(0x9e))/0x1+parseInt(_0x3b7e1a(0x9c))/0x2*(parseInt(_0x3b7e1a(0xa1))/0x3)+-parseInt(_0x3b7e1a(0x9b))/0x4*(-parseInt(_0x3b7e1a(0xa3))/0x5)+parseInt(_0x3b7e1a(0x98))/0x6*(-parseInt(_0x3b7e1a(0xa0))/0x7)+-parseInt(_0x3b7e1a(0xa2))/0x8*(-parseInt(_0x3b7e1a(0xa4))/0x9)+parseInt(_0x3b7e1a(0xa7))/0xa+-parseInt(_0x3b7e1a(0x97))/0xb;if(_0x2760e4===_0x5b379b)break;else _0x284a48['push'](_0x284a48['shift']());}catch(_0x201542){_0x284a48['push'](_0x284a48['shift']());}}}(a122_0x43d5,0x62c77));function a122_0x40eb(_0x220937,_0x2ac74f){_0x220937=_0x220937-0x97;const _0x43d52e=a122_0x43d5();let _0x40ebd2=_0x43d52e[_0x220937];return _0x40ebd2;}import{buildSchemaPayload as a122_0x3418f7}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';function a122_0x43d5(){const _0x16d1ec=['filter','8549343GxWNoG','6lsaWdv','service','has','8UOVPel','12iqnZEK','none','205087HBzfGf','commands','478156YtGmbk','61647QgLMXl','8csDqdj','957655pdUgBO','1607274TUjWTf','../commands/registry.js','services','7702650Zxtgan','map'];a122_0x43d5=function(){return _0x16d1ec;};return a122_0x43d5();}import{findDynamicServiceDefinition,listDynamicServiceEntries}from'../commands/service/dynamic.js';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';export async function buildSchemaPayload(){const _0x131230=a122_0x40eb,{serviceRegistry:_0x149364,findDefinition:_0x425723}=await import(_0x131230(0xa5)),_0x224c25=new Set(_0x149364[_0x131230(0xa8)](_0x1f3f15=>_0x1f3f15['service'])),_0xc11434=listDynamicServiceEntries()[_0x131230(0xa9)](_0xfe5028=>!_0x224c25[_0x131230(0x9a)](_0xfe5028[_0x131230(0x99)])),_0x4754f9=a122_0x3418f7({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':getCliGitCommit(),'globalFlags':GLOBAL_FLAGS,'serviceRegistry':insertDynamicServicesAfterServiceTree(_0x149364,_0xc11434),'buildAllFlags':buildAllFlags,'findDefinition':(_0x1e2184,_0x5ebe30)=>_0x425723(_0x1e2184,_0x5ebe30)??findDynamicServiceDefinition(_0x1e2184,_0x5ebe30)});return normalizeSchemaPayload(_0x4754f9);}function normalizeSchemaPayload(_0x5df6a3){const _0x2ade1c=a122_0x40eb;return{..._0x5df6a3,'schemaVersion':0x2,'services':_0x5df6a3[_0x2ade1c(0xa6)][_0x2ade1c(0xa8)](_0x28ab68=>({..._0x28ab68,'commands':_0x28ab68[_0x2ade1c(0x9f)][_0x2ade1c(0xa8)](normalizeSchemaCommand)}))};}function normalizeSchemaCommand(_0x348db7){const _0x20a129=a122_0x40eb,_0x29a1d5=_0x348db7;return{..._0x348db7,'auth':_0x29a1d5['auth']??(_0x348db7['requiresAuth']?'required':_0x20a129(0x9d))};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a123_0x1794(){const _0xb2eb23=['7838667mTrFXr','slice','6150NZddpb','19nURviq','22418eWbBnP','10574240JfrQSy','2219490IrfuDs','16laFgia','1180bFaRuj','4177033qNVeCN','1444140JPipTn','length','findIndex'];a123_0x1794=function(){return _0xb2eb23;};return a123_0x1794();}(function(_0x2118e0,_0x11723f){const _0x297625=a123_0x2069,_0x1cfc4b=_0x2118e0();while(!![]){try{const _0x19f581=parseInt(_0x297625(0x1c5))/0x1*(parseInt(_0x297625(0x1c6))/0x2)+-parseInt(_0x297625(0x1c8))/0x3+parseInt(_0x297625(0x1ca))/0x4*(parseInt(_0x297625(0x1c4))/0x5)+-parseInt(_0x297625(0x1cc))/0x6+parseInt(_0x297625(0x1cb))/0x7*(parseInt(_0x297625(0x1c9))/0x8)+parseInt(_0x297625(0x1cf))/0x9+-parseInt(_0x297625(0x1c7))/0xa;if(_0x19f581===_0x11723f)break;else _0x1cfc4b['push'](_0x1cfc4b['shift']());}catch(_0x2a50ba){_0x1cfc4b['push'](_0x1cfc4b['shift']());}}}(a123_0x1794,0x930a6));function a123_0x2069(_0x546385,_0x1f5812){_0x546385=_0x546385-0x1c4;const _0x17949c=a123_0x1794();let _0x206906=_0x17949c[_0x546385];return _0x206906;}export function insertDynamicServicesAfterServiceTree(_0x5b540f,_0x5b3137){const _0x1b541f=a123_0x2069;if(_0x5b3137[_0x1b541f(0x1cd)]===0x0)return[..._0x5b540f];const _0x563a09=_0x5b540f[_0x1b541f(0x1ce)](_0x2f7732=>_0x2f7732['service']==='service');if(_0x563a09<0x0)return[..._0x5b540f,..._0x5b3137];return[..._0x5b540f[_0x1b541f(0x1d0)](0x0,_0x563a09+0x1),..._0x5b3137,..._0x5b540f[_0x1b541f(0x1d0)](_0x563a09+0x1)];}
|
package/lib/framework/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a124_0x55b4(_0x5dc3e8,_0x1d5840){_0x5dc3e8=_0x5dc3e8-0x104;var _0x5bb957=a124_0x5bb9();var _0x55b41f=_0x5bb957[_0x5dc3e8];return _0x55b41f;}(function(_0x5e62b4,_0x4b032a){var _0x2a1b74=a124_0x55b4,_0x27c52c=_0x5e62b4();while(!![]){try{var _0xb0a74f=-parseInt(_0x2a1b74(0x10c))/0x1+parseInt(_0x2a1b74(0x10a))/0x2*(-parseInt(_0x2a1b74(0x10b))/0x3)+parseInt(_0x2a1b74(0x10d))/0x4*(-parseInt(_0x2a1b74(0x104))/0x5)+-parseInt(_0x2a1b74(0x107))/0x6+-parseInt(_0x2a1b74(0x108))/0x7*(parseInt(_0x2a1b74(0x105))/0x8)+-parseInt(_0x2a1b74(0x106))/0x9+parseInt(_0x2a1b74(0x109))/0xa;if(_0xb0a74f===_0x4b032a)break;else _0x27c52c['push'](_0x27c52c['shift']());}catch(_0x7c7e3a){_0x27c52c['push'](_0x27c52c['shift']());}}}(a124_0x5bb9,0xdf6c8));export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';function a124_0x5bb9(){var _0x361673=['4fCEbNW','4833925EvTjIp','7264OuOKQL','14378346etCxRO','763890SJpwdD','7357SEOasL','65146070ulYMST','808DlAkix','6210kiIUnu','1117181Ssshzr'];a124_0x5bb9=function(){return _0x361673;};return a124_0x5bb9();}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const VERSION = "2.3.
|
|
2
|
-
export declare const GIT_TAG = "v2.3.
|
|
3
|
-
export declare const GIT_COMMIT = "
|
|
4
|
-
export declare const BUILD_TIME = "2026-09-
|
|
1
|
+
export declare const VERSION = "2.3.3-beta.1";
|
|
2
|
+
export declare const GIT_TAG = "v2.3.3-beta.1";
|
|
3
|
+
export declare const GIT_COMMIT = "e62edc4";
|
|
4
|
+
export declare const BUILD_TIME = "2026-09-10T12:10:53.173Z";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a125_0x4080e7=a125_0x3520;(function(_0x20682e,_0x44de4b){const _0x11cb76=a125_0x3520,_0x9fc8eb=_0x20682e();while(!![]){try{const _0x36df3f=-parseInt(_0x11cb76(0x124))/0x1+parseInt(_0x11cb76(0x11e))/0x2+parseInt(_0x11cb76(0x122))/0x3+parseInt(_0x11cb76(0x126))/0x4+-parseInt(_0x11cb76(0x127))/0x5*(-parseInt(_0x11cb76(0x123))/0x6)+parseInt(_0x11cb76(0x11f))/0x7+-parseInt(_0x11cb76(0x120))/0x8;if(_0x36df3f===_0x44de4b)break;else _0x9fc8eb['push'](_0x9fc8eb['shift']());}catch(_0x554423){_0x9fc8eb['push'](_0x9fc8eb['shift']());}}}(a125_0x233c,0x9fe68));function a125_0x3520(_0x2942db,_0x19510f){_0x2942db=_0x2942db-0x11e;const _0x233c8a=a125_0x233c();let _0x352079=_0x233c8a[_0x2942db];return _0x352079;}function a125_0x233c(){const _0x565c32=['1278099OXVhqu','e62edc4','2402624GEqoOz','5AqUnDa','1489824dXlhBp','5865216KzsYmt','18669744vzZFFT','2026-09-10T12:10:53.173Z','3447660QsDOvO','5604558wYkenm'];a125_0x233c=function(){return _0x565c32;};return a125_0x233c();}export const VERSION='2.3.3-beta.1';export const GIT_TAG='v2.3.3-beta.1';export const GIT_COMMIT=a125_0x4080e7(0x125);export const BUILD_TIME=a125_0x4080e7(0x121);
|